From 908181dea6c16b5fd8660a2e472de63a9a36ad5d Mon Sep 17 00:00:00 2001 From: doxa-maps-88655c70 <88627970+doxa-maps-88655c70@users.noreply.github.com> Date: Thu, 24 Sep 2026 02:26:14 +0000 Subject: [PATCH 01/18] Fiord: the MapLibre dark that actually looks like the map it replaces Applied after RENDERING the candidates side by side rather than reading a gallery. OpenFreeMap ships a blue-toned dark style this registry never used. At the band this product shows (30E 25N, z2.4), dark reads flat and muddy -- near-black land against near-black water -- while fiord separates land from sea and keeps labels legible in BOTH Latin and native script. Endpoint verified 200 keyless first, the same bar every URL here must meet. Note OpenFreeMap's documented '3d' style is NOT live at /styles/3d (404). It took the three dark entries whose MAPBOX counterpart is also blue-ish: midnight-glow (Standard@night), dusk (the entry literally says "blue hour"), wayfinder-night (navigation-night is a blue palette). ink pairs with near-black dark-v11 and its whole job is maximum pin contrast, so a lighter, bluer ground would eat exactly what it exists to provide -- it keeps dark, with a note saying so. AND THE FALLBACK HAD TO LEARN THE THEME, which the swap alone would not have fixed. A Standard-based profile names no registry style at all: bootStyle() hands back the raw mapbox:// URL and the DARKNESS lives in the config ({ basemap: { lightPreset: 'night' } }), a Mapbox-only mechanism. maplibreStyle() collapsed every mapbox:// style to one LIGHT constant, so flipping provider turned the dark research map into a light one -- found by screenshotting it, not by any error: both engines mount, both paint, both report success. Interoperability had "worked" while the product looked like a different product. It now reads the preset the Mapbox side would have applied, from the named entry or the boot config, so both engines tell the same story. VERIFIED: research map under ?provider=maplibre renders dark with the ember dots intact and correct attribution; research dashboard under maplibre renders the globe with all 2107 dots, greyscale choropleth, charts and table. CAP-4 interop harness 4/4 combinations PASS. check:facet-changes-map PASSES on mapbox (2107 -> 783 -> 2107 -> 1324, colour data-driven). 22/22 bundles, 7/7 pre, 18/18 post, browser sweep of five StackLayout consumers and all seven studio dashboards; mapbox/maplibre search-bar and legend geometry unchanged (56/104, NONE/58, 56/104). NOT shipped, and filed instead: check:facet-changes-map cannot measure the MapLibre engine at all -- it reads a private field that no MapLibre source keeps live. Two fix attempts made it worse (one failed BOTH engines, one called a node-side helper from page context) and were reverted; the gate is back at HEAD and passing. The real fix re-expresses it on the public querySourceFeatures(), which changes its reported counts and is a redesign, not a patch. --- library/composables/useMapInstance.js | 34 +++++++-- library/styles/registry.js | 23 ++++-- .../all-people-groups/all-people-groups.js | 38 +++++----- .../all-people-groups/index.html | 2 +- .../country-posters/countries-map/index.html | 2 +- .../country-poster-wall/index.html | 2 +- .../country-posters/country-posters.js | 72 +++++++++---------- .../dashboard-plus-grid.js | 48 ++++++------- .../dashboard-plus-grid/default/index.html | 2 +- .../dashboard-plus-grid/index.html | 2 +- public/doxa-maps/demo-map/demo-map.js | 38 +++++----- public/doxa-maps/demo-map/demo-map/index.html | 2 +- .../demo-map/demo-map/maplibre/index.html | 2 +- .../doxa-research-map/doxa-research-map.js | 70 +++++++++--------- .../doxa-research-map/research-map/index.html | 2 +- .../research-map/maplibre/index.html | 2 +- .../doxa-simple-map/doxa-simple-map.js | 56 +++++++-------- .../doxa-simple-map/adoption/index.html | 2 +- .../doxa-simple-map/engagement/index.html | 2 +- .../doxa-simple-map/index.html | 2 +- .../doxa-simple-map/prayer/index.html | 2 +- public/doxa-maps/index.html | 2 +- public/doxa-maps/manifest.json | 42 +++++------ .../prayer-walk-planner.js | 12 ++-- .../prayer-walk-planner/index.html | 2 +- .../region-dashboards/index.html | 2 +- .../regions-dashboard/regions-dashboard.js | 38 +++++----- .../regions-dashboard/regions-list/index.html | 2 +- .../regions-dashboard/regions-mfe/index.html | 2 +- .../research-dashboard/research-dashboard.js | 50 ++++++------- .../research-dashboard/index.html | 2 +- 31 files changed, 300 insertions(+), 259 deletions(-) diff --git a/library/composables/useMapInstance.js b/library/composables/useMapInstance.js index 9e16c2942..c42581479 100644 --- a/library/composables/useMapInstance.js +++ b/library/composables/useMapInstance.js @@ -67,6 +67,10 @@ const MAPBOX_CSS_URL = ENGINES.mapbox.css // Free basemap for MapLibre (no token). Deliberately NOT the hand-tuned Mapbox // style — see the provider notes; a MapLibre map looks different by design. const OPENFREEMAP_STYLE = 'https://tiles.openfreemap.org/styles/liberty' +// The dark counterpart. `fiord` rather than `dark`: side by side at world zoom, `dark` is +// near-black land against near-black water while fiord separates them and keeps labels legible +// in both Latin and native script — the same reasoning recorded in library/styles/registry.js. +const OPENFREEMAP_DARK_STYLE = 'https://tiles.openfreemap.org/styles/fiord' // Named styles: the 12-style pack. A profile-config style of 'ink' / // 'midnight-glow' / … resolves per engine here; raw URLs pass through. @@ -166,10 +170,22 @@ async function ensureEngineCSS(element, cssUrl) { /** * Effective style for the MapLibre engine. A mapbox:// style needs a token and * the Mapbox engine, so it is ignored here — an explicit http(s) style URL is - * honored, otherwise the free OpenFreeMap basemap is used. + * honored, otherwise a free OpenFreeMap basemap is used. + * + * ★ THE FALLBACK IS THEME-AWARE, AND IT HAS TO BE (2026-09-24). + * A Standard-based profile does not name a registry style at all: useMapTheme.bootStyle() hands + * back the raw `mapbox://styles/mapbox/standard` URL and the DARKNESS lives in the config + * ({ basemap: { lightPreset: 'night' } }), which is a Mapbox-only mechanism. This function used to + * collapse every mapbox:// style to ONE light constant, so flipping provider turned the research + * map from the dark map the Driver knows into a LIGHT one — MEASURED by screenshotting it, not by + * any error: both maps mount, both paint, both report success. Interoperability had "worked" while + * the product looked like a different product. + * Reading the preset the Mapbox side would have applied keeps the two engines telling the same + * story: night/dusk get `fiord` (blue-toned dark), everything else keeps liberty. */ -function maplibreStyle(style) { - return (typeof style === 'string' && /^https?:\/\//.test(style)) ? style : OPENFREEMAP_STYLE +function maplibreStyle(style, lightPreset) { + if (typeof style === 'string' && /^https?:\/\//.test(style)) return style + return (lightPreset === 'night' || lightPreset === 'dusk') ? OPENFREEMAP_DARK_STYLE : OPENFREEMAP_STYLE } // ─── Aspect-aware zoom-out floor (Feedback #2+#4 REDO) ─────────────────────── @@ -383,12 +399,22 @@ export function useMapInstance({ } const initialMinZoom = floorFor(el.clientWidth, el.clientHeight) + // Resolve the day/night hint ONCE, before the engine branch, so both engines read the same + // decision. `config` may be a function (re-evaluated per init, so a reload boots on the + // theme of that moment) — call it the same way the Mapbox branch does. + const _bootPreset = _named.lightPreset + || (() => { try { const c = typeof config === 'function' ? config() : config; return c?.basemap?.lightPreset } catch { return undefined } })() + if (isMaplibre) { // MapLibre branch — free OpenFreeMap basemap, NO access token. Shares the // GL-JS Map option surface; only the token/style differ from Mapbox. map.value = new gl.Map({ container: containerRef.value, // real DOM element — never a string ID in shadow DOM - style: maplibreStyle(effectiveStyle), + // The preset the MAPBOX side would have applied — from the named registry entry, else + // from the boot config a Standard profile passes. Either way it is the app's own + // day/night decision, not a guess made here. (Computed above the branch: the Mapbox + // branch's own `initialConfig` is scoped to that branch and is NOT visible here.) + style: maplibreStyle(effectiveStyle, _bootPreset), center, zoom, minZoom: initialMinZoom, diff --git a/library/styles/registry.js b/library/styles/registry.js index 26e7a6b7f..4d414b940 100644 --- a/library/styles/registry.js +++ b/library/styles/registry.js @@ -10,9 +10,20 @@ // day/dawn/dusk/night from ONE style doc — seamless theme flips, see // useMapTheme.js). `lightPreset` here is a HINT profiles may apply on load. // · maplibre side: FREE, no-key styles only — OpenFreeMap (liberty/bright/ -// positron/dark). No free satellite imagery exists for MapLibre, so imagery +// positron/dark/fiord). No free satellite imagery exists for MapLibre, so imagery // styles fall back to the closest free look (noted per entry). // +// ★ FIORD ADDED 2026-09-24, after RENDERING the candidates rather than reading a gallery. +// OpenFreeMap ships a blue-toned dark style this registry never used. Side by side at the +// band this product actually shows (30E 25N, z2.4), `dark` reads flat and muddy — near-black +// land against near-black water — while `fiord` separates land from sea, keeps labels legible +// in BOTH Latin and native script, and carries the blue cast the galaxy entry below already +// asks for in words. It took the three dark entries whose MAPBOX counterpart is also blue-ish +// (Standard@night, Standard@dusk, navigation-night); `ink` pairs with near-black dark-v11 and +// deliberately did not move — see the note there. +// Endpoint verified 200 keyless before the swap, same bar as every other URL here. Note that +// OpenFreeMap's documented '3d' style is NOT live at /styles/3d (404) — do not cite it. +// // ★ CARTO REMOVED 2026-09-22, and this is a rule, not a preference. Eight of these // twelve entries previously resolved to basemaps.cartocdn.com. Those URLs were keyless // *at the time* — verified live, a real style.json + a 275KB .mvt + a font .pbf all 200 @@ -37,7 +48,7 @@ export const STYLE_REGISTRY = [ { id: 'midnight-glow', label: 'Midnight Glow', mood: 'the prayer-map dark — pins glow like embers', mapbox: 'mapbox://styles/mapbox/standard', lightPreset: 'night', - maplibre: 'https://tiles.openfreemap.org/styles/dark', + maplibre: 'https://tiles.openfreemap.org/styles/fiord', bestFor: ['doxa-simple-map', 'my-upg-100-list'] }, { id: 'daylight', label: 'Daylight', mood: 'the same Standard world, lights on', mapbox: 'mapbox://styles/mapbox/standard', lightPreset: 'day', @@ -49,7 +60,7 @@ export const STYLE_REGISTRY = [ bestFor: ['doxa-simple-map'] }, { id: 'dusk', label: 'Dusk', mood: 'blue hour — calm contrast for bright pins', mapbox: 'mapbox://styles/mapbox/standard', lightPreset: 'dusk', - maplibre: 'https://tiles.openfreemap.org/styles/dark', + maplibre: 'https://tiles.openfreemap.org/styles/fiord', bestFor: ['my-upg-100-list'] }, { id: 'paper', label: 'Paper', mood: 'near-white minimal — data reads like print', mapbox: 'mapbox://styles/mapbox/light-v11', @@ -57,6 +68,10 @@ export const STYLE_REGISTRY = [ bestFor: ['research-dashboard', 'cities-internet'] }, { id: 'ink', label: 'Ink', mood: 'near-black minimal — maximum pin contrast', mapbox: 'mapbox://styles/mapbox/dark-v11', + // KEEPS `dark` ON PURPOSE while the other three dark entries moved to `fiord`. Ink pairs with + // mapbox dark-v11, which is NEAR-BLACK, and its whole job is maximum pin contrast. fiord is a + // BLUE-toned dark — better looking in isolation and wrong here, because a lighter, bluer ground + // eats exactly the contrast this entry exists to provide. Not an oversight; do not "finish" it. maplibre: 'https://tiles.openfreemap.org/styles/dark', bestFor: ['my-upg-100-list', 'cities-internet'] }, { id: 'streetlife', label: 'Street Life', mood: 'full street detail — city-scale work', @@ -81,7 +96,7 @@ export const STYLE_REGISTRY = [ bestFor: ['gospel-resources'] }, { id: 'wayfinder-night',label: 'Wayfinder Night',mood: 'dark navigation — dashboards at night', mapbox: 'mapbox://styles/mapbox/navigation-night-v1', - maplibre: 'https://tiles.openfreemap.org/styles/dark', + maplibre: 'https://tiles.openfreemap.org/styles/fiord', bestFor: ['research-dashboard'] }, // ── GALAXY — black ground, BLUE water ──────────────────────────────────────────────────── diff --git a/public/doxa-maps/all-people-groups/all-people-groups.js b/public/doxa-maps/all-people-groups/all-people-groups.js index 1691d6ddc..fdd12cf82 100644 --- a/public/doxa-maps/all-people-groups/all-people-groups.js +++ b/public/doxa-maps/all-people-groups/all-people-groups.js @@ -1,45 +1,45 @@ -(function(){"use strict";var oa=typeof document<"u"?document.currentScript:null;const vb="modulepreload",kb=function(e){return"/"+e},Tb={},Tc=function(t,n,o){let a=Promise.resolve();function s(i){const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=i,window.dispatchEvent(r),!r.defaultPrevented)throw i}return a.then(i=>{for(const r of i||[])r.status==="rejected"&&s(r.reason);return t().catch(s)})};/** +(function(){"use strict";var oa=typeof document<"u"?document.currentScript:null;const kb="modulepreload",Tb=function(e){return"/"+e},Eb={},Tc=function(t,n,o){let a=Promise.resolve();function s(i){const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=i,window.dispatchEvent(r),!r.defaultPrevented)throw i}return a.then(i=>{for(const r of i||[])r.status==="rejected"&&s(r.reason);return t().catch(s)})};/** * @vue/shared v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function aa(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const be={},un=[],ut=()=>{},Is=()=>!1,ao=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),so=e=>e.startsWith("onUpdate:"),Te=Object.assign,sa=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ec=Object.prototype.hasOwnProperty,ge=(e,t)=>Ec.call(e,t),Q=Array.isArray,jt=e=>wn(e)==="[object Map]",io=e=>wn(e)==="[object Set]",Rs=e=>wn(e)==="[object Date]",ne=e=>typeof e=="function",Se=e=>typeof e=="string",Je=e=>typeof e=="symbol",fe=e=>e!==null&&typeof e=="object",Ds=e=>(fe(e)||ne(e))&&ne(e.then)&&ne(e.catch),Fs=Object.prototype.toString,wn=e=>Fs.call(e),$c=e=>wn(e).slice(8,-1),ro=e=>wn(e)==="[object Object]",lo=e=>Se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Cn=aa(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),co=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Lc=/-\w/g,Ne=co(e=>e.replace(Lc,t=>t.slice(1).toUpperCase())),wc=/\B([A-Z])/g,Xe=co(e=>e.replace(wc,"-$1").toLowerCase()),uo=co(e=>e.charAt(0).toUpperCase()+e.slice(1)),ia=co(e=>e?`on${uo(e)}`:""),gt=(e,t)=>!Object.is(e,t),ra=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},Cc=e=>{const t=parseFloat(e);return isNaN(t)?e:t},xs=e=>{const t=Se(e)?Number(e):NaN;return isNaN(t)?e:t};let js;const go=()=>js||(js=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function fo(e){if(Q(e)){const t={};for(let n=0;n{if(n){const o=n.split(Pc);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Nn(e){let t="";if(Se(e))t=e;else if(Q(e))for(let n=0;n!!(e&&e.__v_isRef===!0),Qt=e=>Se(e)?e:e==null?"":Q(e)||fe(e)&&(e.toString===Fs||!ne(e.toString))?Us(e)?Qt(e.value):JSON.stringify(e,Gs,2):String(e),Gs=(e,t)=>Us(t)?Gs(e,t.value):jt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,a],s)=>(n[la(o,s)+" =>"]=a,n),{})}:io(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>la(n))}:Je(t)?la(t):fe(t)&&!Q(t)&&!ro(t)?String(t):t,la=(e,t="")=>{var n;return Je(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +**/function aa(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const _e={},un=[],gt=()=>{},Is=()=>!1,ao=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),so=e=>e.startsWith("onUpdate:"),Ee=Object.assign,sa=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ec=Object.prototype.hasOwnProperty,de=(e,t)=>Ec.call(e,t),Z=Array.isArray,jt=e=>wn(e)==="[object Map]",io=e=>wn(e)==="[object Set]",Rs=e=>wn(e)==="[object Date]",te=e=>typeof e=="function",ve=e=>typeof e=="string",Xe=e=>typeof e=="symbol",pe=e=>e!==null&&typeof e=="object",Ds=e=>(pe(e)||te(e))&&te(e.then)&&te(e.catch),Fs=Object.prototype.toString,wn=e=>Fs.call(e),$c=e=>wn(e).slice(8,-1),ro=e=>wn(e)==="[object Object]",lo=e=>ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Cn=aa(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),co=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Lc=/-\w/g,Pe=co(e=>e.replace(Lc,t=>t.slice(1).toUpperCase())),wc=/\B([A-Z])/g,Ze=co(e=>e.replace(wc,"-$1").toLowerCase()),uo=co(e=>e.charAt(0).toUpperCase()+e.slice(1)),ia=co(e=>e?`on${uo(e)}`:""),dt=(e,t)=>!Object.is(e,t),ra=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},Cc=e=>{const t=parseFloat(e);return isNaN(t)?e:t},xs=e=>{const t=ve(e)?Number(e):NaN;return isNaN(t)?e:t};let js;const go=()=>js||(js=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function fo(e){if(Z(e)){const t={};for(let n=0;n{if(n){const o=n.split(Pc);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Nn(e){let t="";if(ve(e))t=e;else if(Z(e))for(let n=0;n!!(e&&e.__v_isRef===!0),Qt=e=>ve(e)?e:e==null?"":Z(e)||pe(e)&&(e.toString===Fs||!te(e.toString))?Us(e)?Qt(e.value):JSON.stringify(e,Gs,2):String(e),Gs=(e,t)=>Us(t)?Gs(e,t.value):jt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,a],s)=>(n[la(o,s)+" =>"]=a,n),{})}:io(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>la(n))}:Xe(t)?la(t):pe(t)&&!Z(t)&&!ro(t)?String(t):t,la=(e,t="")=>{var n;return Xe(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Le;class zs{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&&Le&&(Le.active?(this.parent=Le,this.index=(Le.scopes||(Le.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const o=this.scopes.slice();for(t=0,n=o.length;t0&&--this._on===0){if(Le===this)Le=this.prevScope;else{let t=Le;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,o;for(n=0,o=this.effects.length;n0)return;if(Mn){let t=Mn;for(Mn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Pn;){let t=Pn;for(Pn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(o){e||(e=o)}t=n}}if(e)throw e}function Ys(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Js(e){let t,n=e.depsTail,o=n;for(;o;){const a=o.prevDep;o.version===-1?(o===n&&(n=a),pa(o),Oc(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=a}e.deps=t,e.depsTail=n}function fa(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Xs(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Xs(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===In)||(e.globalVersion=In,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!fa(e))))return;e.flags|=2;const t=e.dep,n=_e,o=ot;_e=e,ot=!0;try{Ys(e);const a=e.fn(e._value);(t.version===0||gt(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(a){throw t.version++,a}finally{_e=n,ot=o,Js(e),e.flags&=-3}}function pa(e,t=!1){const{dep:n,prevSub:o,nextSub:a}=e;if(o&&(o.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)pa(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Oc(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ot=!0;const Zs=[];function dt(){Zs.push(ot),ot=!1}function ft(){const e=Zs.pop();ot=e===void 0?!0:e}function Qs(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=_e;_e=void 0;try{t()}finally{_e=n}}}let In=0;class xc{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class ha{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(!_e||!ot||_e===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==_e)n=this.activeLink=new xc(_e,this),_e.deps?(n.prevDep=_e.depsTail,_e.depsTail.nextDep=n,_e.depsTail=n):_e.deps=_e.depsTail=n,ei(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const o=n.nextDep;o.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=o),n.prevDep=_e.depsTail,n.nextDep=void 0,_e.depsTail.nextDep=n,_e.depsTail=n,_e.deps===n&&(_e.deps=o)}return n}trigger(t){this.version++,In++,this.notify(t)}notify(t){ga();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{da()}}}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 o=t.deps;o;o=o.nextDep)ei(o)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ho=new WeakMap,en=Symbol(""),ma=Symbol(""),Rn=Symbol("");function Oe(e,t,n){if(ot&&_e){let o=ho.get(e);o||ho.set(e,o=new Map);let a=o.get(n);a||(o.set(n,a=new ha),a.map=o,a.key=n),a.track()}}function vt(e,t,n,o,a,s){const i=ho.get(e);if(!i){In++;return}const r=l=>{l&&l.trigger()};if(ga(),t==="clear")i.forEach(r);else{const l=Q(e),c=l&&lo(n);if(l&&n==="length"){const u=Number(o);i.forEach((f,m)=>{(m==="length"||m===Rn||!Je(m)&&m>=u)&&r(f)})}else switch((n!==void 0||i.has(void 0))&&r(i.get(n)),c&&r(i.get(Rn)),t){case"add":l?c&&r(i.get("length")):(r(i.get(en)),jt(e)&&r(i.get(ma)));break;case"delete":l||(r(i.get(en)),jt(e)&&r(i.get(ma)));break;case"set":jt(e)&&r(i.get(en));break}}da()}function jc(e,t){const n=ho.get(e);return n&&n.get(t)}function gn(e){const t=ce(e);return t===e?t:(Oe(t,"iterate",Rn),He(e)?t:t.map(at))}function mo(e){return Oe(e=ce(e),"iterate",Rn),e}function pt(e,t){return Et(e)?dn(Tt(e)?at(t):t):at(t)}const Bc={__proto__:null,[Symbol.iterator](){return ba(this,Symbol.iterator,e=>pt(this,e))},concat(...e){return gn(this).concat(...e.map(t=>Q(t)?gn(t):t))},entries(){return ba(this,"entries",e=>(e[1]=pt(this,e[1]),e))},every(e,t){return kt(this,"every",e,t,void 0,arguments)},filter(e,t){return kt(this,"filter",e,t,n=>n.map(o=>pt(this,o)),arguments)},find(e,t){return kt(this,"find",e,t,n=>pt(this,n),arguments)},findIndex(e,t){return kt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return kt(this,"findLast",e,t,n=>pt(this,n),arguments)},findLastIndex(e,t){return kt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return kt(this,"forEach",e,t,void 0,arguments)},includes(...e){return _a(this,"includes",e)},indexOf(...e){return _a(this,"indexOf",e)},join(e){return gn(this).join(e)},lastIndexOf(...e){return _a(this,"lastIndexOf",e)},map(e,t){return kt(this,"map",e,t,void 0,arguments)},pop(){return Dn(this,"pop")},push(...e){return Dn(this,"push",e)},reduce(e,...t){return ti(this,"reduce",e,t)},reduceRight(e,...t){return ti(this,"reduceRight",e,t)},shift(){return Dn(this,"shift")},some(e,t){return kt(this,"some",e,t,void 0,arguments)},splice(...e){return Dn(this,"splice",e)},toReversed(){return gn(this).toReversed()},toSorted(e){return gn(this).toSorted(e)},toSpliced(...e){return gn(this).toSpliced(...e)},unshift(...e){return Dn(this,"unshift",e)},values(){return ba(this,"values",e=>pt(this,e))}};function ba(e,t,n){const o=mo(e),a=o[t]();return o!==e&&!He(e)&&(a._next=a.next,a.next=()=>{const s=a._next();return s.done||(s.value=n(s.value)),s}),a}const Kc=Array.prototype;function kt(e,t,n,o,a,s){const i=mo(e),r=i!==e&&!He(e),l=i[t];if(l!==Kc[t]){const f=l.apply(e,s);return r?at(f):f}let c=n;i!==e&&(r?c=function(f,m){return n.call(this,pt(e,f),m,e)}:n.length>2&&(c=function(f,m){return n.call(this,f,m,e)}));const u=l.call(i,c,o);return r&&a?a(u):u}function ti(e,t,n,o){const a=mo(e),s=a!==e&&!He(e);let i=n,r=!1;a!==e&&(s?(r=o.length===0,i=function(c,u,f){return r&&(r=!1,c=pt(e,c)),n.call(this,c,pt(e,u),f,e)}):n.length>3&&(i=function(c,u,f){return n.call(this,c,u,f,e)}));const l=a[t](i,...o);return r?pt(e,l):l}function _a(e,t,n){const o=ce(e);Oe(o,"iterate",Rn);const a=o[t](...n);return(a===-1||a===!1)&&vo(n[0])?(n[0]=ce(n[0]),o[t](...n)):a}function Dn(e,t,n=[]){dt(),ga();const o=ce(e)[t].apply(e,n);return da(),ft(),o}const Uc=aa("__proto__,__v_isRef,__isVue"),ni=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Je));function Gc(e){Je(e)||(e=String(e));const t=ce(this);return Oe(t,"has",e),t.hasOwnProperty(e)}class oi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){if(n==="__v_skip")return t.__v_skip;const a=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!a;if(n==="__v_isReadonly")return a;if(n==="__v_isShallow")return s;if(n==="__v_raw")return o===(a?s?ci:li:s?ri:ii).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const i=Q(t);if(!a){let l;if(i&&(l=Bc[n]))return l;if(n==="hasOwnProperty")return Gc}const r=Reflect.get(t,n,ke(t)?t:o);if((Je(n)?ni.has(n):Uc(n))||(a||Oe(t,"get",n),s))return r;if(ke(r)){const l=i&&lo(n)?r:r.value;return a&&fe(l)?Aa(l):l}return fe(r)?a?Aa(r):Ao(r):r}}class ai extends oi{constructor(t=!1){super(!1,t)}set(t,n,o,a){let s=t[n];const i=Q(t)&&lo(n);if(!this._isShallow){const c=Et(s);if(!He(o)&&!Et(o)&&(s=ce(s),o=ce(o)),!i&&ke(s)&&!ke(o))return c||(s.value=o),!0}const r=i?Number(n)e,bo=e=>Reflect.getPrototypeOf(e);function Wc(e,t,n){return function(...o){const a=this.__v_raw,s=ce(a),i=jt(s),r=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=a[e](...o),u=n?ya:t?dn:at;return!t&&Oe(s,"iterate",l?ma:en),Te(Object.create(c),{next(){const{value:f,done:m}=c.next();return m?{value:f,done:m}:{value:r?[u(f[0]),u(f[1])]:u(f),done:m}}})}}function _o(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Yc(e,t){const n={get(a){const s=this.__v_raw,i=ce(s),r=ce(a);e||(gt(a,r)&&Oe(i,"get",a),Oe(i,"get",r));const{has:l}=bo(i),c=t?ya:e?dn:at;if(l.call(i,a))return c(s.get(a));if(l.call(i,r))return c(s.get(r));s!==i&&s.get(a)},get size(){const a=this.__v_raw;return!e&&Oe(ce(a),"iterate",en),a.size},has(a){const s=this.__v_raw,i=ce(s),r=ce(a);return e||(gt(a,r)&&Oe(i,"has",a),Oe(i,"has",r)),a===r?s.has(a):s.has(a)||s.has(r)},forEach(a,s){const i=this,r=i.__v_raw,l=ce(r),c=t?ya:e?dn:at;return!e&&Oe(l,"iterate",en),r.forEach((u,f)=>a.call(s,c(u),c(f),i))}};return Te(n,e?{add:_o("add"),set:_o("set"),delete:_o("delete"),clear:_o("clear")}:{add(a){const s=ce(this),i=bo(s),r=ce(a),l=!t&&!He(a)&&!Et(a)?r:a;return i.has.call(s,l)||gt(a,l)&&i.has.call(s,a)||gt(r,l)&&i.has.call(s,r)||(s.add(l),vt(s,"add",l,l)),this},set(a,s){!t&&!He(s)&&!Et(s)&&(s=ce(s));const i=ce(this),{has:r,get:l}=bo(i);let c=r.call(i,a);c||(a=ce(a),c=r.call(i,a));const u=l.call(i,a);return i.set(a,s),c?gt(s,u)&&vt(i,"set",a,s):vt(i,"add",a,s),this},delete(a){const s=ce(this),{has:i,get:r}=bo(s);let l=i.call(s,a);l||(a=ce(a),l=i.call(s,a)),r&&r.call(s,a);const c=s.delete(a);return l&&vt(s,"delete",a,void 0),c},clear(){const a=ce(this),s=a.size!==0,i=a.clear();return s&&vt(a,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(a=>{n[a]=Wc(a,e,t)}),n}function yo(e,t){const n=Yc(e,t);return(o,a,s)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?o:Reflect.get(ge(n,a)&&a in o?n:o,a,s)}const Jc={get:yo(!1,!1)},Xc={get:yo(!1,!0)},Zc={get:yo(!0,!1)},Qc={get:yo(!0,!0)},ii=new WeakMap,ri=new WeakMap,li=new WeakMap,ci=new WeakMap;function eu(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ao(e){return Et(e)?e:So(e,!1,zc,Jc,ii)}function tu(e){return So(e,!1,Hc,Xc,ri)}function Aa(e){return So(e,!0,qc,Zc,li)}function $b(e){return So(e,!0,Vc,Qc,ci)}function So(e,t,n,o,a){if(!fe(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const s=a.get(e);if(s)return s;const i=eu($c(e));if(i===0)return e;const r=new Proxy(e,i===2?o:n);return a.set(e,r),r}function Tt(e){return Et(e)?Tt(e.__v_raw):!!(e&&e.__v_isReactive)}function Et(e){return!!(e&&e.__v_isReadonly)}function He(e){return!!(e&&e.__v_isShallow)}function vo(e){return e?!!e.__v_raw:!1}function ce(e){const t=e&&e.__v_raw;return t?ce(t):e}function Fn(e){return!ge(e,"__v_skip")&&Object.isExtensible(e)&&Os(e,"__v_skip",!0),e}const at=e=>fe(e)?Ao(e):e,dn=e=>fe(e)?Aa(e):e;function ke(e){return e?e.__v_isRef===!0:!1}function pe(e){return ui(e,!1)}function Sa(e){return ui(e,!0)}function ui(e,t){return ke(e)?e:new nu(e,t)}class nu{constructor(t,n){this.dep=new ha,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ce(t),this._value=n?t:at(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,o=this.__v_isShallow||He(t)||Et(t);t=o?t:ce(t),gt(t,n)&&(this._rawValue=t,this._value=o?t:at(t),this.dep.trigger())}}function ko(e){return ke(e)?e.value:e}const ou={get:(e,t,n)=>t==="__v_raw"?e:ko(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const a=e[t];return ke(a)&&!ke(n)?(a.value=n,!0):Reflect.set(e,t,n,o)}};function gi(e){return Tt(e)?e:new Proxy(e,ou)}function au(e){const t=Q(e)?new Array(e.length):{};for(const n in e)t[n]=iu(e,n);return t}class su{constructor(t,n,o){this._object=t,this._defaultValue=o,this.__v_isRef=!0,this._value=void 0,this._key=Je(n)?n:String(n),this._raw=ce(t);let a=!0,s=t;if(!Q(t)||Je(this._key)||!lo(this._key))do a=!vo(s)||He(s);while(a&&(s=s.__v_raw));this._shallow=a}get value(){let t=this._object[this._key];return this._shallow&&(t=ko(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&ke(this._raw[this._key])){const n=this._object[this._key];if(ke(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return jc(this._raw,this._key)}}function iu(e,t,n){return new su(e,t,n)}class ru{constructor(t,n,o){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ha(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=In-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&_e!==this)return Ws(this,!0),!0}get value(){const t=this.dep.track();return Xs(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function lu(e,t,n=!1){let o,a;return ne(e)?o=e:(o=e.get,a=e.set),new ru(o,a,n)}const To={},Eo=new WeakMap;let tn;function cu(e,t=!1,n=tn){if(n){let o=Eo.get(n);o||Eo.set(n,o=[]),o.push(e)}}function uu(e,t,n=be){const{immediate:o,deep:a,once:s,scheduler:i,augmentJob:r,call:l}=n,c=b=>a?b:He(b)||a===!1||a===0?Bt(b,1):Bt(b);let u,f,m,k,N=!1,v=!1;if(ke(e)?(f=()=>e.value,N=He(e)):Tt(e)?(f=()=>c(e),N=!0):Q(e)?(v=!0,N=e.some(b=>Tt(b)||He(b)),f=()=>e.map(b=>{if(ke(b))return b.value;if(Tt(b))return c(b);if(ne(b))return l?l(b,2):b()})):ne(e)?t?f=l?()=>l(e,2):e:f=()=>{if(m){dt();try{m()}finally{ft()}}const b=tn;tn=u;try{return l?l(e,3,[k]):e(k)}finally{tn=b}}:f=ut,t&&a){const b=f,L=a===!0?1/0:a;f=()=>Bt(b(),L)}const $=qs(),P=()=>{u.stop(),$&&$.active&&sa($.effects,u)};if(s&&t){const b=t;t=(...L)=>{const A=b(...L);return P(),A}}let T=v?new Array(e.length).fill(To):To;const _=b=>{if(!(!(u.flags&1)||!u.dirty&&!b))if(t){const L=u.run();if(b||a||N||(v?L.some((A,C)=>gt(A,T[C])):gt(L,T))){m&&m();const A=tn;tn=u;try{const C=[L,T===To?void 0:v&&T[0]===To?[]:T,k];T=L,l?l(t,3,C):t(...C)}finally{tn=A}}}else u.run()};return r&&r(_),u=new Hs(f),u.scheduler=i?()=>i(_,!1):_,k=b=>cu(b,!1,u),m=u.onStop=()=>{const b=Eo.get(u);if(b){if(l)l(b,4);else for(const L of b)L();Eo.delete(u)}},t?o?_(!0):T=u.run():i?i(_.bind(null,!0),!0):u.run(),P.pause=u.pause.bind(u),P.resume=u.resume.bind(u),P.stop=P,P}function Bt(e,t=1/0,n){if(t<=0||!fe(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ke(e))Bt(e.value,t,n);else if(Q(e))for(let o=0;o{Bt(o,t,n)});else if(ro(e)){for(const o in e)Bt(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&Bt(e[o],t,n)}return e}/** +**/let Le;class zs{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&&Le&&(Le.active?(this.parent=Le,this.index=(Le.scopes||(Le.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const o=this.scopes.slice();for(t=0,n=o.length;t0&&--this._on===0){if(Le===this)Le=this.prevScope;else{let t=Le;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,o;for(n=0,o=this.effects.length;n0)return;if(Mn){let t=Mn;for(Mn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Pn;){let t=Pn;for(Pn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(o){e||(e=o)}t=n}}if(e)throw e}function Ys(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Js(e){let t,n=e.depsTail,o=n;for(;o;){const a=o.prevDep;o.version===-1?(o===n&&(n=a),pa(o),Oc(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=a}e.deps=t,e.depsTail=n}function fa(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Xs(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Xs(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===In)||(e.globalVersion=In,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!fa(e))))return;e.flags|=2;const t=e.dep,n=ye,o=at;ye=e,at=!0;try{Ys(e);const a=e.fn(e._value);(t.version===0||dt(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(a){throw t.version++,a}finally{ye=n,at=o,Js(e),e.flags&=-3}}function pa(e,t=!1){const{dep:n,prevSub:o,nextSub:a}=e;if(o&&(o.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)pa(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Oc(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let at=!0;const Zs=[];function ft(){Zs.push(at),at=!1}function pt(){const e=Zs.pop();at=e===void 0?!0:e}function Qs(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ye;ye=void 0;try{t()}finally{ye=n}}}let In=0;class xc{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class ha{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(!ye||!at||ye===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ye)n=this.activeLink=new xc(ye,this),ye.deps?(n.prevDep=ye.depsTail,ye.depsTail.nextDep=n,ye.depsTail=n):ye.deps=ye.depsTail=n,ei(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const o=n.nextDep;o.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=o),n.prevDep=ye.depsTail,n.nextDep=void 0,ye.depsTail.nextDep=n,ye.depsTail=n,ye.deps===n&&(ye.deps=o)}return n}trigger(t){this.version++,In++,this.notify(t)}notify(t){ga();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{da()}}}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 o=t.deps;o;o=o.nextDep)ei(o)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ho=new WeakMap,en=Symbol(""),ma=Symbol(""),Rn=Symbol("");function je(e,t,n){if(at&&ye){let o=ho.get(e);o||ho.set(e,o=new Map);let a=o.get(n);a||(o.set(n,a=new ha),a.map=o,a.key=n),a.track()}}function kt(e,t,n,o,a,s){const i=ho.get(e);if(!i){In++;return}const r=l=>{l&&l.trigger()};if(ga(),t==="clear")i.forEach(r);else{const l=Z(e),c=l&&lo(n);if(l&&n==="length"){const u=Number(o);i.forEach((f,m)=>{(m==="length"||m===Rn||!Xe(m)&&m>=u)&&r(f)})}else switch((n!==void 0||i.has(void 0))&&r(i.get(n)),c&&r(i.get(Rn)),t){case"add":l?c&&r(i.get("length")):(r(i.get(en)),jt(e)&&r(i.get(ma)));break;case"delete":l||(r(i.get(en)),jt(e)&&r(i.get(ma)));break;case"set":jt(e)&&r(i.get(en));break}}da()}function jc(e,t){const n=ho.get(e);return n&&n.get(t)}function gn(e){const t=ce(e);return t===e?t:(je(t,"iterate",Rn),He(e)?t:t.map(st))}function mo(e){return je(e=ce(e),"iterate",Rn),e}function ht(e,t){return $t(e)?dn(Et(e)?st(t):t):st(t)}const Bc={__proto__:null,[Symbol.iterator](){return ba(this,Symbol.iterator,e=>ht(this,e))},concat(...e){return gn(this).concat(...e.map(t=>Z(t)?gn(t):t))},entries(){return ba(this,"entries",e=>(e[1]=ht(this,e[1]),e))},every(e,t){return Tt(this,"every",e,t,void 0,arguments)},filter(e,t){return Tt(this,"filter",e,t,n=>n.map(o=>ht(this,o)),arguments)},find(e,t){return Tt(this,"find",e,t,n=>ht(this,n),arguments)},findIndex(e,t){return Tt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Tt(this,"findLast",e,t,n=>ht(this,n),arguments)},findLastIndex(e,t){return Tt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Tt(this,"forEach",e,t,void 0,arguments)},includes(...e){return _a(this,"includes",e)},indexOf(...e){return _a(this,"indexOf",e)},join(e){return gn(this).join(e)},lastIndexOf(...e){return _a(this,"lastIndexOf",e)},map(e,t){return Tt(this,"map",e,t,void 0,arguments)},pop(){return Dn(this,"pop")},push(...e){return Dn(this,"push",e)},reduce(e,...t){return ti(this,"reduce",e,t)},reduceRight(e,...t){return ti(this,"reduceRight",e,t)},shift(){return Dn(this,"shift")},some(e,t){return Tt(this,"some",e,t,void 0,arguments)},splice(...e){return Dn(this,"splice",e)},toReversed(){return gn(this).toReversed()},toSorted(e){return gn(this).toSorted(e)},toSpliced(...e){return gn(this).toSpliced(...e)},unshift(...e){return Dn(this,"unshift",e)},values(){return ba(this,"values",e=>ht(this,e))}};function ba(e,t,n){const o=mo(e),a=o[t]();return o!==e&&!He(e)&&(a._next=a.next,a.next=()=>{const s=a._next();return s.done||(s.value=n(s.value)),s}),a}const Kc=Array.prototype;function Tt(e,t,n,o,a,s){const i=mo(e),r=i!==e&&!He(e),l=i[t];if(l!==Kc[t]){const f=l.apply(e,s);return r?st(f):f}let c=n;i!==e&&(r?c=function(f,m){return n.call(this,ht(e,f),m,e)}:n.length>2&&(c=function(f,m){return n.call(this,f,m,e)}));const u=l.call(i,c,o);return r&&a?a(u):u}function ti(e,t,n,o){const a=mo(e),s=a!==e&&!He(e);let i=n,r=!1;a!==e&&(s?(r=o.length===0,i=function(c,u,f){return r&&(r=!1,c=ht(e,c)),n.call(this,c,ht(e,u),f,e)}):n.length>3&&(i=function(c,u,f){return n.call(this,c,u,f,e)}));const l=a[t](i,...o);return r?ht(e,l):l}function _a(e,t,n){const o=ce(e);je(o,"iterate",Rn);const a=o[t](...n);return(a===-1||a===!1)&&vo(n[0])?(n[0]=ce(n[0]),o[t](...n)):a}function Dn(e,t,n=[]){ft(),ga();const o=ce(e)[t].apply(e,n);return da(),pt(),o}const Uc=aa("__proto__,__v_isRef,__isVue"),ni=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Xe));function Gc(e){Xe(e)||(e=String(e));const t=ce(this);return je(t,"has",e),t.hasOwnProperty(e)}class oi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){if(n==="__v_skip")return t.__v_skip;const a=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!a;if(n==="__v_isReadonly")return a;if(n==="__v_isShallow")return s;if(n==="__v_raw")return o===(a?s?ci:li:s?ri:ii).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const i=Z(t);if(!a){let l;if(i&&(l=Bc[n]))return l;if(n==="hasOwnProperty")return Gc}const r=Reflect.get(t,n,Te(t)?t:o);if((Xe(n)?ni.has(n):Uc(n))||(a||je(t,"get",n),s))return r;if(Te(r)){const l=i&&lo(n)?r:r.value;return a&&pe(l)?Aa(l):l}return pe(r)?a?Aa(r):Ao(r):r}}class ai extends oi{constructor(t=!1){super(!1,t)}set(t,n,o,a){let s=t[n];const i=Z(t)&&lo(n);if(!this._isShallow){const c=$t(s);if(!He(o)&&!$t(o)&&(s=ce(s),o=ce(o)),!i&&Te(s)&&!Te(o))return c||(s.value=o),!0}const r=i?Number(n)e,bo=e=>Reflect.getPrototypeOf(e);function Wc(e,t,n){return function(...o){const a=this.__v_raw,s=ce(a),i=jt(s),r=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=a[e](...o),u=n?ya:t?dn:st;return!t&&je(s,"iterate",l?ma:en),Ee(Object.create(c),{next(){const{value:f,done:m}=c.next();return m?{value:f,done:m}:{value:r?[u(f[0]),u(f[1])]:u(f),done:m}}})}}function _o(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Yc(e,t){const n={get(a){const s=this.__v_raw,i=ce(s),r=ce(a);e||(dt(a,r)&&je(i,"get",a),je(i,"get",r));const{has:l}=bo(i),c=t?ya:e?dn:st;if(l.call(i,a))return c(s.get(a));if(l.call(i,r))return c(s.get(r));s!==i&&s.get(a)},get size(){const a=this.__v_raw;return!e&&je(ce(a),"iterate",en),a.size},has(a){const s=this.__v_raw,i=ce(s),r=ce(a);return e||(dt(a,r)&&je(i,"has",a),je(i,"has",r)),a===r?s.has(a):s.has(a)||s.has(r)},forEach(a,s){const i=this,r=i.__v_raw,l=ce(r),c=t?ya:e?dn:st;return!e&&je(l,"iterate",en),r.forEach((u,f)=>a.call(s,c(u),c(f),i))}};return Ee(n,e?{add:_o("add"),set:_o("set"),delete:_o("delete"),clear:_o("clear")}:{add(a){const s=ce(this),i=bo(s),r=ce(a),l=!t&&!He(a)&&!$t(a)?r:a;return i.has.call(s,l)||dt(a,l)&&i.has.call(s,a)||dt(r,l)&&i.has.call(s,r)||(s.add(l),kt(s,"add",l,l)),this},set(a,s){!t&&!He(s)&&!$t(s)&&(s=ce(s));const i=ce(this),{has:r,get:l}=bo(i);let c=r.call(i,a);c||(a=ce(a),c=r.call(i,a));const u=l.call(i,a);return i.set(a,s),c?dt(s,u)&&kt(i,"set",a,s):kt(i,"add",a,s),this},delete(a){const s=ce(this),{has:i,get:r}=bo(s);let l=i.call(s,a);l||(a=ce(a),l=i.call(s,a)),r&&r.call(s,a);const c=s.delete(a);return l&&kt(s,"delete",a,void 0),c},clear(){const a=ce(this),s=a.size!==0,i=a.clear();return s&&kt(a,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(a=>{n[a]=Wc(a,e,t)}),n}function yo(e,t){const n=Yc(e,t);return(o,a,s)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?o:Reflect.get(de(n,a)&&a in o?n:o,a,s)}const Jc={get:yo(!1,!1)},Xc={get:yo(!1,!0)},Zc={get:yo(!0,!1)},Qc={get:yo(!0,!0)},ii=new WeakMap,ri=new WeakMap,li=new WeakMap,ci=new WeakMap;function eu(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ao(e){return $t(e)?e:So(e,!1,zc,Jc,ii)}function tu(e){return So(e,!1,Hc,Xc,ri)}function Aa(e){return So(e,!0,qc,Zc,li)}function Lb(e){return So(e,!0,Vc,Qc,ci)}function So(e,t,n,o,a){if(!pe(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const s=a.get(e);if(s)return s;const i=eu($c(e));if(i===0)return e;const r=new Proxy(e,i===2?o:n);return a.set(e,r),r}function Et(e){return $t(e)?Et(e.__v_raw):!!(e&&e.__v_isReactive)}function $t(e){return!!(e&&e.__v_isReadonly)}function He(e){return!!(e&&e.__v_isShallow)}function vo(e){return e?!!e.__v_raw:!1}function ce(e){const t=e&&e.__v_raw;return t?ce(t):e}function Fn(e){return!de(e,"__v_skip")&&Object.isExtensible(e)&&Os(e,"__v_skip",!0),e}const st=e=>pe(e)?Ao(e):e,dn=e=>pe(e)?Aa(e):e;function Te(e){return e?e.__v_isRef===!0:!1}function he(e){return ui(e,!1)}function Sa(e){return ui(e,!0)}function ui(e,t){return Te(e)?e:new nu(e,t)}class nu{constructor(t,n){this.dep=new ha,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ce(t),this._value=n?t:st(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,o=this.__v_isShallow||He(t)||$t(t);t=o?t:ce(t),dt(t,n)&&(this._rawValue=t,this._value=o?t:st(t),this.dep.trigger())}}function ko(e){return Te(e)?e.value:e}const ou={get:(e,t,n)=>t==="__v_raw"?e:ko(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const a=e[t];return Te(a)&&!Te(n)?(a.value=n,!0):Reflect.set(e,t,n,o)}};function gi(e){return Et(e)?e:new Proxy(e,ou)}function au(e){const t=Z(e)?new Array(e.length):{};for(const n in e)t[n]=iu(e,n);return t}class su{constructor(t,n,o){this._object=t,this._defaultValue=o,this.__v_isRef=!0,this._value=void 0,this._key=Xe(n)?n:String(n),this._raw=ce(t);let a=!0,s=t;if(!Z(t)||Xe(this._key)||!lo(this._key))do a=!vo(s)||He(s);while(a&&(s=s.__v_raw));this._shallow=a}get value(){let t=this._object[this._key];return this._shallow&&(t=ko(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Te(this._raw[this._key])){const n=this._object[this._key];if(Te(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return jc(this._raw,this._key)}}function iu(e,t,n){return new su(e,t,n)}class ru{constructor(t,n,o){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ha(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=In-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&ye!==this)return Ws(this,!0),!0}get value(){const t=this.dep.track();return Xs(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function lu(e,t,n=!1){let o,a;return te(e)?o=e:(o=e.get,a=e.set),new ru(o,a,n)}const To={},Eo=new WeakMap;let tn;function cu(e,t=!1,n=tn){if(n){let o=Eo.get(n);o||Eo.set(n,o=[]),o.push(e)}}function uu(e,t,n=_e){const{immediate:o,deep:a,once:s,scheduler:i,augmentJob:r,call:l}=n,c=b=>a?b:He(b)||a===!1||a===0?Bt(b,1):Bt(b);let u,f,m,k,N=!1,v=!1;if(Te(e)?(f=()=>e.value,N=He(e)):Et(e)?(f=()=>c(e),N=!0):Z(e)?(v=!0,N=e.some(b=>Et(b)||He(b)),f=()=>e.map(b=>{if(Te(b))return b.value;if(Et(b))return c(b);if(te(b))return l?l(b,2):b()})):te(e)?t?f=l?()=>l(e,2):e:f=()=>{if(m){ft();try{m()}finally{pt()}}const b=tn;tn=u;try{return l?l(e,3,[k]):e(k)}finally{tn=b}}:f=gt,t&&a){const b=f,L=a===!0?1/0:a;f=()=>Bt(b(),L)}const $=qs(),P=()=>{u.stop(),$&&$.active&&sa($.effects,u)};if(s&&t){const b=t;t=(...L)=>{const A=b(...L);return P(),A}}let T=v?new Array(e.length).fill(To):To;const _=b=>{if(!(!(u.flags&1)||!u.dirty&&!b))if(t){const L=u.run();if(b||a||N||(v?L.some((A,C)=>dt(A,T[C])):dt(L,T))){m&&m();const A=tn;tn=u;try{const C=[L,T===To?void 0:v&&T[0]===To?[]:T,k];T=L,l?l(t,3,C):t(...C)}finally{tn=A}}}else u.run()};return r&&r(_),u=new Hs(f),u.scheduler=i?()=>i(_,!1):_,k=b=>cu(b,!1,u),m=u.onStop=()=>{const b=Eo.get(u);if(b){if(l)l(b,4);else for(const L of b)L();Eo.delete(u)}},t?o?_(!0):T=u.run():i?i(_.bind(null,!0),!0):u.run(),P.pause=u.pause.bind(u),P.resume=u.resume.bind(u),P.stop=P,P}function Bt(e,t=1/0,n){if(t<=0||!pe(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Te(e))Bt(e.value,t,n);else if(Z(e))for(let o=0;o{Bt(o,t,n)});else if(ro(e)){for(const o in e)Bt(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&Bt(e[o],t,n)}return e}/** * @vue/runtime-core v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const On=[];let va=!1;function Lb(e,...t){if(va)return;va=!0,dt();const n=On.length?On[On.length-1].component:null,o=n&&n.appContext.config.warnHandler,a=gu();if(o)fn(o,n,11,[e+t.map(s=>{var i,r;return(r=(i=s.toString)==null?void 0:i.call(s))!=null?r:JSON.stringify(s)}).join(""),n&&n.proxy,a.map(({vnode:s})=>`at <${lr(n,s.type)}>`).join(` +**/const On=[];let va=!1;function wb(e,...t){if(va)return;va=!0,ft();const n=On.length?On[On.length-1].component:null,o=n&&n.appContext.config.warnHandler,a=gu();if(o)fn(o,n,11,[e+t.map(s=>{var i,r;return(r=(i=s.toString)==null?void 0:i.call(s))!=null?r:JSON.stringify(s)}).join(""),n&&n.proxy,a.map(({vnode:s})=>`at <${lr(n,s.type)}>`).join(` `),a]);else{const s=[`[Vue warn]: ${e}`,...t];a.length&&s.push(` -`,...du(a)),console.warn(...s)}ft(),va=!1}function gu(){let e=On[On.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}function du(e){const t=[];return e.forEach((n,o)=>{t.push(...o===0?[]:[` -`],...fu(n))}),t}function fu({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,a=` at <${lr(e.component,e.type,o)}`,s=">"+n;return e.props?[a,...pu(e.props),s]:[a+s]}function pu(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(o=>{t.push(...di(o,e[o]))}),n.length>3&&t.push(" ..."),t}function di(e,t,n){return Se(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:ke(t)?(t=di(e,ce(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):ne(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=ce(t),n?t:[`${e}=`,t])}function fn(e,t,n,o){try{return o?e(...o):e()}catch(a){xn(a,t,n)}}function st(e,t,n,o){if(ne(e)){const a=fn(e,t,n,o);return a&&Ds(a)&&a.catch(s=>{xn(s,t,n)}),a}if(Q(e)){const a=[];for(let s=0;s>>1,a=xe[o],s=jn(a);s=jn(n)?xe.push(e):xe.splice(mu(t),0,e),e.flags|=1,pi()}}function pi(){$o||($o=fi.then(bi))}function bu(e){if(!Q(e))Kt&&e.id===-1?Kt.splice(hn+1,0,e):e.flags&1||(pn.push(e),e.flags|=1);else for(let t=0;tjn(n)-jn(o));if(pn.length=0,Kt){for(let n=0;ne.id==null?e.flags&2?-1:1/0:e.id;function bi(e){try{for(ht=0;ht{o._d&&xo(-1);const s=wo(t),i=sn.length;let r;try{r=e(...a)}finally{for(let l=sn.length;l>i;l--)er();wo(s),o._d&&xo(1)}return r};return o._n=!0,o._c=!0,o._d=!0,o}function nn(e,t,n,o){const a=e.dirs,s=t&&t.dirs;for(let i=0;i1)return n&&ne(t)?t.call(o&&o.proxy):t}}function yu(){return!!(Pt()||on)}const Au=Symbol.for("v-scx"),Su=()=>Ie(Au);function vu(e,t){return Ta(e,null,t)}function Ut(e,t,n){return Ta(e,t,n)}function Ta(e,t,n=be){const{immediate:o,deep:a,flush:s,once:i}=n,r=Te({},n),l=t&&o||!t&&s!=="post";let c;if(_n){if(s==="sync"){const k=Su();c=k.__watcherHandles||(k.__watcherHandles=[])}else if(!l){const k=()=>{};return k.stop=ut,k.resume=ut,k.pause=ut,k}}const u=Re;r.call=(k,N,v)=>st(k,u,N,v);let f=!1;s==="post"?r.scheduler=k=>{Ge(k,u&&u.suspense)}:s!=="sync"&&(f=!0,r.scheduler=(k,N)=>{N?k():ka(k)}),r.augmentJob=k=>{t&&(k.flags|=4),f&&(k.flags|=2,u&&(k.id=u.uid,k.i=u))};const m=uu(e,t,r);return _n&&(c?c.push(m):l&&m()),m}function ku(e,t,n){const o=this.proxy,a=Se(e)?e.includes(".")?yi(o,e):()=>o[e]:e.bind(o,o);let s;ne(t)?s=t:(s=t.handler,n=t);const i=Jn(this),r=Ta(a,s.bind(o),n);return i(),r}function yi(e,t){const n=t.split(".");return()=>{let o=e;for(let a=0;ae.__isTeleport,Ea=Symbol("_leaveCb");function Eu(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Lt){t=n;break}}return t}function Ai(e){if(!Mo(e))return Co(e.type)&&e.children?Eu(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ne(n.default))return n.default()}}function $a(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const n=e.component.subTree;$a(Co(n.type)&&Ai(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Bn(e,t){return ne(e)?Te({name:e.name},t,{setup:e}):e}function La(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Si(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const No=new WeakMap;function Kn(e,t,n,o,a=!1){if(Q(e)){e.forEach((v,$)=>Kn(v,t&&(Q(t)?t[$]:t),n,o,a));return}if(Un(o)&&!a){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&Kn(e,t,n,o.component.subTree);return}const s=o.shapeFlag&4?Oa(o.component):o.el,i=a?null:s,{i:r,r:l}=e,c=t&&t.r,u=r.refs===be?r.refs={}:r.refs,f=r.setupState,m=ce(f),k=f===be?Is:v=>Si(u,v)?!1:ge(m,v),N=(v,$)=>!($&&Si(u,$));if(c!=null&&c!==l){if(vi(t),Se(c))u[c]=null,k(c)&&(f[c]=null);else if(ke(c)){const v=t;N(c,v.k)&&(c.value=null),v.k&&(u[v.k]=null)}}if(ne(l))fn(l,r,12,[i,u]);else{const v=Se(l),$=ke(l);if(v||$){const P=()=>{if(e.f){const T=v?k(l)?f[l]:u[l]:N()||!e.k?l.value:u[e.k];if(a)Q(T)&&sa(T,s);else if(Q(T))T.includes(s)||T.push(s);else if(v)u[l]=[s],k(l)&&(f[l]=u[l]);else{const _=[s];N(l,e.k)&&(l.value=_),e.k&&(u[e.k]=_)}}else v?(u[l]=i,k(l)&&(f[l]=i)):$&&(N(l,e.k)&&(l.value=i),e.k&&(u[e.k]=i))};if(i){const T=()=>{P(),No.delete(e)};T.id=-1,No.set(e,T),Ge(T,n)}else vi(e),P()}}}function vi(e){const t=No.get(e);t&&(t.flags|=8,No.delete(e))}const ki=e=>e.nodeType===8;go().requestIdleCallback,go().cancelIdleCallback;function $u(e,t){if(ki(e)&&e.data==="["){let n=1,o=e.nextSibling;for(;o;){if(o.nodeType===1){if(t(o)===!1)break}else if(ki(o))if(o.data==="]"){if(--n===0)break}else o.data==="["&&n++;o=o.nextSibling}}else t(e)}const Un=e=>!!e.type.__asyncLoader;function Lu(e){ne(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:a=200,hydrate:s,timeout:i,suspensible:r=!0,onError:l}=e;let c=null,u,f=0;const m=()=>(f++,c=null,k()),k=()=>{let N;return c||(N=c=t().catch(v=>{if(v=v instanceof Error?v:new Error(String(v)),l)return new Promise(($,P)=>{l(v,()=>$(m()),()=>P(v),f+1)});throw v}).then(v=>N!==c&&c?c:(v&&(v.__esModule||v[Symbol.toStringTag]==="Module")&&(v=v.default),u=v,v)))};return Bn({name:"AsyncComponentWrapper",__asyncLoader:k,__asyncHydrate(N,v,$){const P=N.isConnected;let T=!1;(v.bu||(v.bu=[])).push(()=>T=!0);const _=()=>{T||!N.parentNode||P&&!N.isConnected||$()},b=s?()=>{const L=s(_,A=>$u(N,A));L&&(v.bum||(v.bum=[])).push(L)}:_;u?b():k().then(()=>!v.isUnmounted&&b())},get __asyncResolved(){return u},setup(){const N=Re;if(La(N),u)return()=>Po(u,N);const v=L=>{c=null,xn(L,N,13,!o)};if(r&&N.suspense||_n)return k().then(L=>()=>Po(L,N)).catch(L=>(v(L),()=>o?Pe(o,{error:L}):null));const $=pe(!1),P=pe(),T=pe(!!a);let _,b;return Do(()=>{_!=null&&clearTimeout(_),b!=null&&clearTimeout(b)}),a&&(b=setTimeout(()=>{N.isUnmounted||(T.value=!1)},a)),i!=null&&(_=setTimeout(()=>{if(!N.isUnmounted&&!$.value&&!P.value){const L=new Error(`Async component timed out after ${i}ms.`);v(L),P.value=L}},i)),k().then(()=>{N.isUnmounted||($.value=!0,N.parent&&Mo(N.parent.vnode)&&N.parent.update())}).catch(L=>{if(N.isUnmounted){c=null;return}v(L),P.value=L}),()=>{if($.value&&u)return Po(u,N);if(P.value&&o)return Pe(o,{error:P.value});if(n&&!T.value)return Po(n,N)}}})}function Po(e,t){const{ref:n,props:o,children:a,ce:s}=t.vnode,i=Pe(e,o,a);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const Mo=e=>e.type.__isKeepAlive;function wu(e,t){Ti(e,"a",t)}function Cu(e,t){Ti(e,"da",t)}function Ti(e,t,n=Re){const o=e.__wdc||(e.__wdc=()=>{let a=n;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(Io(t,o,n),n){let a=n.parent;for(;a&&a.parent;)Mo(a.parent.vnode)&&Nu(o,t,n,a),a=a.parent}}function Nu(e,t,n,o){const a=Io(t,e,o,!0);Do(()=>{sa(o[t],a)},n)}function Io(e,t,n=Re,o=!1){if(n){const a=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{dt();const r=Jn(n),l=st(t,n,e,i);return r(),ft(),l});return o?a.unshift(s):a.push(s),s}}const $t=e=>(t,n=Re)=>{(!_n||e==="sp")&&Io(e,(...o)=>t(...o),n)},Ei=$t("bm"),Gn=$t("m"),Pu=$t("bu"),Mu=$t("u"),Ro=$t("bum"),Do=$t("um"),Iu=$t("sp"),Ru=$t("rtg"),Du=$t("rtc");function Fu(e,t=Re){Io("ec",e,t)}const Ou="components",$i=Symbol.for("v-ndc");function Li(e){return Se(e)?xu(Ou,e,!1)||e:e||$i}function xu(e,t,n=!0,o=!1){const a=it||Re;if(a){const s=a.type;{const r=rr(s,!1);if(r&&(r===t||r===Ne(t)||r===uo(Ne(t))))return s}const i=wi(a[e]||s[e],t)||wi(a.appContext[e],t);return!i&&o?s:i}}function wi(e,t){return e&&(e[t]||e[Ne(t)]||e[uo(Ne(t))])}function ju(e,t,n,o){let a;const s=n,i=Q(e);if(i||Se(e)){const r=i&&Tt(e);let l=!1,c=!1;r&&(l=!He(e),c=Et(e),e=mo(e)),a=new Array(e.length);for(let u=0,f=e.length;ut(r,l,void 0,s));else{const r=Object.keys(e);a=new Array(r.length);for(let l=0,c=r.length;le?ar(e)?Oa(e):wa(e.parent):null,zn=Te(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=>wa(e.parent),$root:e=>wa(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Mi(e),$forceUpdate:e=>e.f||(e.f=()=>{ka(e.update)}),$nextTick:e=>e.n||(e.n=Lo.bind(e.proxy)),$watch:e=>ku.bind(e)}),Ca=(e,t)=>e!==be&&!e.__isScriptSetup&&ge(e,t),Bu={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:a,props:s,accessCache:i,type:r,appContext:l}=e;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return o[t];case 2:return a[t];case 4:return n[t];case 3:return s[t]}else{if(Ca(o,t))return i[t]=1,o[t];if(a!==be&&ge(a,t))return i[t]=2,a[t];if(ge(s,t))return i[t]=3,s[t];if(n!==be&&ge(n,t))return i[t]=4,n[t];Na&&(i[t]=0)}}const c=zn[t];let u,f;if(c)return t==="$attrs"&&Oe(e.attrs,"get",""),c(e);if((u=r.__cssModules)&&(u=u[t]))return u;if(n!==be&&ge(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,ge(f,t))return f[t]},set({_:e},t,n){const{data:o,setupState:a,ctx:s}=e;return Ca(a,t)?(a[t]=n,!0):o!==be&&ge(o,t)?(o[t]=n,!0):ge(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:a,props:s,type:i}},r){let l;return!!(n[r]||e!==be&&r[0]!=="$"&&ge(e,r)||Ca(t,r)||ge(s,r)||ge(o,r)||ge(zn,r)||ge(a.config.globalProperties,r)||(l=i.__cssModules)&&l[r])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ge(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ci(e){return Q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Na=!0;function Ku(e){const t=Mi(e),n=e.proxy,o=e.ctx;Na=!1,t.beforeCreate&&Ni(t.beforeCreate,e,"bc");const{data:a,computed:s,methods:i,watch:r,provide:l,inject:c,created:u,beforeMount:f,mounted:m,beforeUpdate:k,updated:N,activated:v,deactivated:$,beforeDestroy:P,beforeUnmount:T,destroyed:_,unmounted:b,render:L,renderTracked:A,renderTriggered:C,errorCaptured:D,serverPrefetch:S,expose:V,inheritAttrs:ae,components:z,directives:te,filters:Y}=t;if(c&&Uu(c,o,null),i)for(const q in i){const W=i[q];ne(W)&&(o[q]=W.bind(n))}if(a){const q=a.call(n,n);fe(q)&&(e.data=Ao(q))}if(Na=!0,s)for(const q in s){const W=s[q],Z=ne(W)?W.bind(n,n):ne(W.get)?W.get.bind(n,n):ut,ie=!ne(W)&&ne(W.set)?W.set.bind(n):ut,de=me({get:Z,set:ie});Object.defineProperty(o,q,{enumerable:!0,configurable:!0,get:()=>de.value,set:X=>de.value=X})}if(r)for(const q in r)Pi(r[q],o,n,q);if(l){const q=ne(l)?l.call(n):l;Reflect.ownKeys(q).forEach(W=>{mt(W,q[W])})}u&&Ni(u,e,"c");function j(q,W){Q(W)?W.forEach(Z=>q(Z.bind(n))):W&&q(W.bind(n))}if(j(Ei,f),j(Gn,m),j(Pu,k),j(Mu,N),j(wu,v),j(Cu,$),j(Fu,D),j(Du,A),j(Ru,C),j(Ro,T),j(Do,b),j(Iu,S),Q(V))if(V.length){const q=e.exposed||(e.exposed={});V.forEach(W=>{Object.defineProperty(q,W,{get:()=>n[W],set:Z=>n[W]=Z,enumerable:!0})})}else e.exposed||(e.exposed={});L&&e.render===ut&&(e.render=L),ae!=null&&(e.inheritAttrs=ae),z&&(e.components=z),te&&(e.directives=te),S&&La(e)}function Uu(e,t,n=ut){Q(e)&&(e=Pa(e));for(const o in e){const a=e[o];let s;fe(a)?"default"in a?s=Ie(a.from||o,a.default,!0):s=Ie(a.from||o):s=Ie(a),ke(s)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[o]=s}}function Ni(e,t,n){st(Q(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Pi(e,t,n,o){let a=o.includes(".")?yi(n,o):()=>n[o];if(Se(e)){const s=t[e];ne(s)&&Ut(a,s)}else if(ne(e))Ut(a,e.bind(n));else if(fe(e))if(Q(e))e.forEach(s=>Pi(s,t,n,o));else{const s=ne(e.handler)?e.handler.bind(n):t[e.handler];ne(s)&&Ut(a,s,e)}}function Mi(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:a,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,r=s.get(t);let l;return r?l=r:!a.length&&!n&&!o?l=t:(l={},a.length&&a.forEach(c=>Fo(l,c,i,!0)),Fo(l,t,i)),fe(t)&&s.set(t,l),l}function Fo(e,t,n,o=!1){const{mixins:a,extends:s}=t;s&&Fo(e,s,n,!0),a&&a.forEach(i=>Fo(e,i,n,!0));for(const i in t)if(!(o&&i==="expose")){const r=Gu[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}const Gu={data:Ii,props:Ri,emits:Ri,methods:qn,computed:qn,beforeCreate:je,created:je,beforeMount:je,mounted:je,beforeUpdate:je,updated:je,beforeDestroy:je,beforeUnmount:je,destroyed:je,unmounted:je,activated:je,deactivated:je,errorCaptured:je,serverPrefetch:je,components:qn,directives:qn,watch:qu,provide:Ii,inject:zu};function Ii(e,t){return t?e?function(){return Te(ne(e)?e.call(this,this):e,ne(t)?t.call(this,this):t)}:t:e}function zu(e,t){return qn(Pa(e),Pa(t))}function Pa(e){if(Q(e)){const t={};for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ne(t)}Modifiers`]||e[`${Xe(t)}Modifiers`];function Yu(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||be;let a=n;const s=t.startsWith("update:"),i=s&&Wu(o,t.slice(7));i&&(i.trim&&(a=n.map(u=>Se(u)?u.trim():u)),i.number&&(a=a.map(Cc)));let r,l=o[r=ia(t)]||o[r=ia(Ne(t))];!l&&s&&(l=o[r=ia(Xe(t))]),l&&st(l,e,6,a);const c=o[r+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[r])return;e.emitted[r]=!0,st(c,e,6,a)}}const Ju=new WeakMap;function Fi(e,t,n=!1){const o=n?Ju:t.emitsCache,a=o.get(e);if(a!==void 0)return a;const s=e.emits;let i={},r=!1;if(!ne(e)){const l=c=>{const u=Fi(c,t,!0);u&&(r=!0,Te(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!r?(fe(e)&&o.set(e,null),null):(Q(s)?s.forEach(l=>i[l]=null):Te(i,s),fe(e)&&o.set(e,i),i)}function Oo(e,t){return!e||!ao(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),ge(e,t[0].toLowerCase()+t.slice(1))||ge(e,Xe(t))||ge(e,t))}function wb(){}function Oi(e){const{type:t,vnode:n,proxy:o,withProxy:a,propsOptions:[s],slots:i,attrs:r,emit:l,render:c,renderCache:u,props:f,data:m,setupState:k,ctx:N,inheritAttrs:v}=e,$=wo(e);let P,T;try{if(n.shapeFlag&4){const b=a||o,L=b;P=bt(c.call(L,b,u,f,k,m,N)),T=r}else{const b=t;P=bt(b.length>1?b(f,{attrs:r,slots:i,emit:l}):b(f,null)),T=t.props?r:Xu(r)}}catch(b){sn.length=0,xn(b,e,1),P=Pe(Lt)}let _=P;if(T&&v!==!1){const b=Object.keys(T),{shapeFlag:L}=_;b.length&&L&7&&(s&&b.some(so)&&(T=Zu(T,s)),_=mn(_,T,!1,!0))}if(n.dirs&&(_=mn(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition){const b=Co(_.type)&&Ai(_)||_;$a(b,n.transition)}return P=_,wo($),P}const Xu=e=>{let t;for(const n in e)(n==="class"||n==="style"||ao(n))&&((t||(t={}))[n]=e[n]);return t},Zu=(e,t)=>{const n={};for(const o in e)(!so(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function Qu(e,t,n){const{props:o,children:a,component:s}=e,{props:i,children:r,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return o?xi(o,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;fObject.create(Bi),Ui=e=>Object.getPrototypeOf(e)===Bi;function tg(e,t,n,o=!1){const a={},s=Ki();e.propsDefaults=Object.create(null),Gi(e,t,a,s);for(const i in e.propsOptions[0])i in a||(a[i]=void 0);n?e.props=o?a:tu(a):e.type.props?e.props=a:e.props=s,e.attrs=s}function ng(e,t,n,o){const{props:a,attrs:s,vnode:{patchFlag:i}}=e,r=ce(a),[l]=e.propsOptions;let c=!1;if((o||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[m,k]=zi(f,t,!0);Te(i,m),k&&r.push(...k)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return fe(e)&&o.set(e,un),un;if(Q(s))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",Ra=e=>Q(e)?e.map(bt):[bt(e)],ag=(e,t,n)=>{if(t._n)return t;const o=_u((...a)=>Ra(t(...a)),n);return o._c=!1,o},Hi=(e,t,n)=>{const o=e._ctx;for(const a in e){if(Ia(a))continue;const s=e[a];if(ne(s))t[a]=ag(a,s,o);else if(s!=null){const i=Ra(s);t[a]=()=>i}}},Vi=(e,t)=>{const n=Ra(t);e.slots.default=()=>n},Wi=(e,t,n)=>{for(const o in t)(n||!Ia(o))&&(e[o]=t[o])},sg=(e,t,n)=>{const o=e.slots=Ki();if(e.vnode.shapeFlag&32){const a=t._;a?(Wi(o,t,n),n&&Os(o,"_",a,!0)):Hi(t,o)}else t&&Vi(e,t)},ig=(e,t,n)=>{const{vnode:o,slots:a}=e;let s=!0,i=be;if(o.shapeFlag&32){const r=t._;r?n&&r===1?s=!1:Wi(a,t,n):(s=!t.$stable,Hi(t,a)),i=t}else t&&(Vi(e,t),i={default:1});if(s)for(const r in a)!Ia(r)&&i[r]==null&&delete a[r]},Ge=gg;function rg(e){return lg(e)}function lg(e,t){const n=go();n.__VUE__=!0;const{insert:o,remove:a,patchProp:s,createElement:i,createText:r,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:m,setScopeId:k=ut,insertStaticContent:N}=e,v=(p,y,h,M=null,x=null,O=null,U=void 0,K=null,g=!!y.dynamicChildren)=>{if(p===y)return;p&&!Wn(p,y)&&(M=tt(p),X(p,x,O,!0),p=null),y.patchFlag===-2&&(g=!1,y.dynamicChildren=null);const{type:d,ref:w,shapeFlag:I}=y;switch(d){case Hn:$(p,y,h,M);break;case Lt:P(p,y,h,M);break;case Fa:p==null&&T(y,h,M,U);break;case Ze:z(p,y,h,M,x,O,U,K,g);break;default:I&1?L(p,y,h,M,x,O,U,K,g):I&6?te(p,y,h,M,x,O,U,K,g):(I&64||I&128)&&d.process(p,y,h,M,x,O,U,K,g,nt)}w!=null&&x?Kn(w,p&&p.ref,O,y||p,!y):w==null&&p&&p.ref!=null&&Kn(p.ref,null,O,p,!0)},$=(p,y,h,M)=>{if(p==null)o(y.el=r(y.children),h,M);else{const x=y.el=p.el;y.children!==p.children&&c(x,y.children)}},P=(p,y,h,M)=>{p==null?o(y.el=l(y.children||""),h,M):y.el=p.el},T=(p,y,h,M)=>{[p.el,p.anchor]=N(p.children,y,h,M,p.el,p.anchor)},_=({el:p,anchor:y},h,M)=>{let x;for(;p&&p!==y;)x=m(p),o(p,h,M),p=x;o(y,h,M)},b=({el:p,anchor:y})=>{let h;for(;p&&p!==y;)h=m(p),a(p),p=h;a(y)},L=(p,y,h,M,x,O,U,K,g)=>{if(y.type==="svg"?U="svg":y.type==="math"&&(U="mathml"),p==null)A(y,h,M,x,O,U,K,g);else{const d=p.el&&p.el._isVueCE?p.el:null;try{d&&d._beginPatch(),S(p,y,x,O,U,K,g)}finally{d&&d._endPatch()}}},A=(p,y,h,M,x,O,U,K)=>{let g,d;const{props:w,shapeFlag:I,transition:G,dirs:B}=p;if(g=p.el=i(p.type,O,w&&w.is,w),I&8?u(g,p.children):I&16&&D(p.children,g,null,M,x,Da(p,O),U,K),B&&nn(p,null,M,"created"),C(g,p,p.scopeId,U,M),w){for(const R in w)R!=="value"&&!Cn(R)&&s(g,R,null,w[R],O,M);"value"in w&&s(g,"value",null,w.value,O),(d=w.onVnodeBeforeMount)&&_t(d,M,p)}B&&nn(p,null,M,"beforeMount");const E=cg(x,G);E&&G.beforeEnter(g),o(g,y,h),((d=w&&w.onVnodeMounted)||E||B)&&Ge(()=>{try{d&&_t(d,M,p),E&&G.enter(g),B&&nn(p,null,M,"mounted")}finally{}},x)},C=(p,y,h,M,x)=>{if(h&&k(p,h),M)for(let O=0;O{for(let d=g;d{const K=y.el=p.el;let{patchFlag:g,dynamicChildren:d,dirs:w}=y;g|=p.patchFlag&16;const I=p.props||be,G=y.props||be;let B;if(h&&an(h,!1),(B=G.onVnodeBeforeUpdate)&&_t(B,h,y,p),w&&nn(y,p,h,"beforeUpdate"),h&&an(h,!0),d&&(!p.dynamicChildren||p.dynamicChildren.length!==d.length)&&(g=0,U=!1,d=null),(I.innerHTML&&G.innerHTML==null||I.textContent&&G.textContent==null)&&u(K,""),d?V(p.dynamicChildren,d,K,h,M,Da(y,x),O):U||W(p,y,K,null,h,M,Da(y,x),O,!1),g>0){if(g&16)ae(K,I,G,h,x);else if(g&2&&I.class!==G.class&&s(K,"class",null,G.class,x),g&4&&s(K,"style",I.style,G.style,x),g&8){const E=y.dynamicProps;for(let R=0;R{B&&_t(B,h,y,p),w&&nn(y,p,h,"updated")},M)},V=(p,y,h,M,x,O,U)=>{for(let K=0;K{if(y!==h){if(y!==be)for(const O in y)!Cn(O)&&!(O in h)&&s(p,O,y[O],null,x,M);for(const O in h){if(Cn(O))continue;const U=h[O],K=y[O];U!==K&&O!=="value"&&s(p,O,K,U,x,M)}"value"in h&&s(p,"value",y.value,h.value,x)}},z=(p,y,h,M,x,O,U,K,g)=>{const d=y.el=p?p.el:r(""),w=y.anchor=p?p.anchor:r("");let{patchFlag:I,dynamicChildren:G,slotScopeIds:B}=y;B&&(K=K?K.concat(B):B),p==null?(o(d,h,M),o(w,h,M),D(y.children||[],h,w,x,O,U,K,g)):I>0&&I&64&&G&&p.dynamicChildren&&p.dynamicChildren.length===G.length?(V(p.dynamicChildren,G,h,x,O,U,K),(y.key!=null||x&&y===x.subTree)&&Yi(p,y,!0)):W(p,y,h,w,x,O,U,K,g)},te=(p,y,h,M,x,O,U,K,g)=>{y.slotScopeIds=K,p==null?y.shapeFlag&512?x.ctx.activate(y,h,M,U,g):Y(y,h,M,x,O,U,g):F(p,y,g)},Y=(p,y,h,M,x,O,U)=>{const K=p.component=bg(p,M,x);if(Mo(p)&&(K.ctx.renderer=nt),_g(K,!1,U),K.asyncDep){if(x&&x.registerDep(K,j,U),!p.el){const g=K.subTree=Pe(Lt);P(null,g,y,h),p.placeholder=g.el}}else j(K,p,y,h,x,O,U)},F=(p,y,h)=>{const M=y.component=p.component;if(Qu(p,y,h))if(M.asyncDep&&!M.asyncResolved){q(M,y,h);return}else M.next=y,M.update();else y.el=p.el,M.vnode=y},j=(p,y,h,M,x,O,U)=>{const K=()=>{if(p.isMounted){let{next:I,bu:G,u:B,parent:E,vnode:R}=p;{const Fe=Ji(p);if(Fe){I&&(I.el=R.el,q(p,I,U)),Fe.asyncDep.then(()=>{Ge(()=>{p.isUnmounted||d()},x)});return}}let J=I,se;an(p,!1),I?(I.el=R.el,q(p,I,U)):I=R,G&&ra(G),(se=I.props&&I.props.onVnodeBeforeUpdate)&&_t(se,E,I,R),an(p,!0);const Ae=Oi(p),Ue=p.subTree;p.subTree=Ae,v(Ue,Ae,f(Ue.el),tt(Ue),p,x,O),I.el=Ae.el,J===null&&eg(p,Ae.el),B&&Ge(B,x),(se=I.props&&I.props.onVnodeUpdated)&&Ge(()=>_t(se,E,I,R),x)}else{let I;const{el:G,props:B}=y,{bm:E,m:R,parent:J,root:se,type:Ae}=p,Ue=Un(y);an(p,!1),E&&ra(E),!Ue&&(I=B&&B.onVnodeBeforeMount)&&_t(I,J,y),an(p,!0);{se.ce&&se.ce._hasShadowRoot()&&se.ce._injectChildStyle(Ae,p.parent?p.parent.type:void 0);const Fe=p.subTree=Oi(p);v(null,Fe,h,M,p,x,O),y.el=Fe.el}if(R&&Ge(R,x),!Ue&&(I=B&&B.onVnodeMounted)){const Fe=y;Ge(()=>_t(I,J,Fe),x)}(y.shapeFlag&256||J&&Un(J.vnode)&&J.vnode.shapeFlag&256)&&p.a&&Ge(p.a,x),p.isMounted=!0,y=h=M=null}};p.scope.on();const g=p.effect=new Hs(K);p.scope.off();const d=p.update=g.run.bind(g),w=p.job=g.runIfDirty.bind(g);w.i=p,w.id=p.uid,g.scheduler=()=>ka(w),an(p,!0),d()},q=(p,y,h)=>{y.component=p;const M=p.vnode.props;p.vnode=y,p.next=null,ng(p,y.props,M,h),ig(p,y.children,h),dt(),hi(p),ft()},W=(p,y,h,M,x,O,U,K,g=!1)=>{const d=p&&p.children,w=p?p.shapeFlag:0,I=y.children,{patchFlag:G,shapeFlag:B}=y;if(G>0){if(G&128){ie(d,I,h,M,x,O,U,K,g);return}else if(G&256){Z(d,I,h,M,x,O,U,K,g);return}}B&8?(w&16&&Ke(d,x,O),I!==d&&u(h,I)):w&16?B&16?ie(d,I,h,M,x,O,U,K,g):Ke(d,x,O,!0):(w&8&&u(h,""),B&16&&D(I,h,M,x,O,U,K,g))},Z=(p,y,h,M,x,O,U,K,g)=>{p=p||un,y=y||un;const d=p.length,w=y.length,I=Math.min(d,w);let G;for(G=0;Gw?Ke(p,x,O,!0,!1,I):D(y,h,M,x,O,U,K,g,I)},ie=(p,y,h,M,x,O,U,K,g)=>{let d=0;const w=y.length;let I=p.length-1,G=w-1;for(;d<=I&&d<=G;){const B=p[d],E=y[d]=g?Nt(y[d]):bt(y[d]);if(Wn(B,E))v(B,E,h,null,x,O,U,K,g);else break;d++}for(;d<=I&&d<=G;){const B=p[I],E=y[G]=g?Nt(y[G]):bt(y[G]);if(Wn(B,E))v(B,E,h,null,x,O,U,K,g);else break;I--,G--}if(d>I){if(d<=G){const B=G+1,E=BG)for(;d<=I;)X(p[d],x,O,!0),d++;else{const B=d,E=d,R=new Map;for(d=E;d<=G;d++){const Ye=y[d]=g?Nt(y[d]):bt(y[d]);Ye.key!=null&&R.set(Ye.key,d)}let J,se=0;const Ae=G-E+1;let Ue=!1,Fe=0;const cn=new Array(Ae);for(d=0;d=Ae){X(Ye,x,O,!0);continue}let St;if(Ye.key!=null)St=R.get(Ye.key);else for(J=E;J<=G;J++)if(cn[J-E]===0&&Wn(Ye,y[J])){St=J;break}St===void 0?X(Ye,x,O,!0):(cn[St-E]=d+1,St>=Fe?Fe=St:Ue=!0,v(Ye,y[St],h,null,x,O,U,K,g),se++)}const Ms=Ue?ug(cn):un;for(J=Ms.length-1,d=Ae-1;d>=0;d--){const Ye=E+d,St=y[Ye],vc=y[Ye+1],kc=Ye+1{const{el:O,type:U,transition:K,children:g,shapeFlag:d}=p;if(d&6){de(p.component.subTree,y,h,M);return}if(d&128){p.suspense.move(y,h,M);return}if(d&64){U.move(p,y,h,nt);return}if(U===Ze){o(O,y,h);for(let I=0;IK.enter(O),x));else{const{leave:I,delayLeave:G,afterLeave:B}=K,E=()=>{p.ctx.isUnmounted?a(O):o(O,y,h)},R=()=>{const J=O._isLeaving||!!O[Ea];O._isLeaving&&O[Ea](!0),K.persisted&&!J?E():I(O,()=>{E(),B&&B()})};G?G(O,E,R):R()}else o(O,y,h)},X=(p,y,h,M=!1,x=!1)=>{const{type:O,props:U,ref:K,children:g,dynamicChildren:d,shapeFlag:w,patchFlag:I,dirs:G,cacheIndex:B,memo:E}=p;if(I===-2&&(x=!1),K!=null&&(dt(),Kn(K,null,h,p,!0),ft()),B!=null&&(y.renderCache[B]=void 0),w&256){y.ctx.deactivate(p);return}const R=w&1&&G,J=!Un(p);let se;if(J&&(se=U&&U.onVnodeBeforeUnmount)&&_t(se,y,p),w&6)qe(p.component,h,M);else{if(w&128){p.suspense.unmount(h,M);return}R&&nn(p,null,y,"beforeUnmount"),w&64?p.type.remove(p,y,h,nt,M):d&&!d.hasOnce&&(O!==Ze||I>0&&I&64)?Ke(d,y,h,!1,!0):(O===Ze&&I&384||!x&&w&16)&&Ke(g,y,h),M&&re(p)}const Ae=E!=null&&B==null;(J&&(se=U&&U.onVnodeUnmounted)||R||Ae)&&Ge(()=>{se&&_t(se,y,p),R&&nn(p,null,y,"unmounted"),Ae&&(p.el=null)},h)},re=p=>{const{type:y,el:h,anchor:M,transition:x}=p;if(y===Ze){$e(h,M);return}if(y===Fa){b(p);return}const O=()=>{a(h),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(p.shapeFlag&1&&x&&!x.persisted){const{leave:U,delayLeave:K}=x,g=()=>U(h,O);K?K(p.el,O,g):g()}else O()},$e=(p,y)=>{let h;for(;p!==y;)h=m(p),a(p),p=h;a(y)},qe=(p,y,h)=>{const{bum:M,scope:x,job:O,subTree:U,um:K,m:g,a:d}=p;Xi(g),Xi(d),M&&ra(M),x.stop(),O&&(O.flags|=8,X(U,p,y,h)),K&&Ge(K,y),Ge(()=>{p.isUnmounted=!0},y)},Ke=(p,y,h,M=!1,x=!1,O=0)=>{for(let U=O;U{if(p.shapeFlag&6)return tt(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const y=m(p.anchor||p.el),h=y&&y[Tu];return h?m(h):y};let xt=!1;const Zt=(p,y,h)=>{let M;p==null?y._vnode&&(X(y._vnode,null,null,!0),M=y._vnode.component):v(y._vnode||null,p,y,null,null,null,h),y._vnode=p,xt||(xt=!0,hi(M),mi(),xt=!1)},nt={p:v,um:X,m:de,r:re,mt:Y,mc:D,pc:W,pbc:V,n:tt,o:e};return{render:Zt,hydrate:void 0,createApp:Vu(Zt)}}function Da({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function an({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function cg(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Yi(e,t,n=!1){const o=e.children,a=t.children;if(Q(o)&&Q(a))for(let s=0;s>1,e[n[r]]0&&(t[o]=n[s-1]),n[s]=o)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function Ji(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ji(t)}function Xi(e){if(e)for(let t=0;te.__isSuspense;function gg(e,t){t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):bu(e)}const Ze=Symbol.for("v-fgt"),Hn=Symbol.for("v-txt"),Lt=Symbol.for("v-cmt"),Fa=Symbol.for("v-stc"),sn=[];let Ve=null;function We(e=!1){sn.push(Ve=e?null:[])}function er(){sn.pop(),Ve=sn[sn.length-1]||null}let Vn=1;function xo(e,t=!1){Vn+=e,e<0&&Ve&&t&&(Ve.hasOnce=!0)}function tr(e){return e.dynamicChildren=Vn>0?Ve||un:null,er(),Vn>0&&Ve&&Ve.push(e),e}function wt(e,t,n,o,a,s){return tr(we(e,t,n,o,a,s,!0))}function jo(e,t,n,o,a){return tr(Pe(e,t,n,o,a,!0))}function Bo(e){return e?e.__v_isVNode===!0:!1}function Wn(e,t){return e.type===t.type&&e.key===t.key}const nr=({key:e})=>e??null,Ko=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Se(e)||ke(e)||ne(e)?{i:it,r:e,k:t,f:!!n}:e:null);function we(e,t=null,n=null,o=0,a=null,s=e===Ze?0:1,i=!1,r=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&nr(t),ref:t&&Ko(t),scopeId:_i,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:o,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:it};return r?(Uo(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=Se(n)?8:16),Vn>0&&!i&&Ve&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Ve.push(l),l}const Pe=dg;function dg(e,t=null,n=null,o=0,a=null,s=!1){if((!e||e===$i)&&(e=Lt),Bo(e)){const r=mn(e,t,!0);return n&&Uo(r,n),Vn>0&&!s&&Ve&&(r.shapeFlag&6?Ve[Ve.indexOf(e)]=r:Ve.push(r)),r.patchFlag=-2,r}if(Tg(e)&&(e=e.__vccOpts),t){t=fg(t);let{class:r,style:l}=t;r&&!Se(r)&&(t.class=Nn(r)),fe(l)&&(vo(l)&&!Q(l)&&(l=Te({},l)),t.style=fo(l))}const i=Se(e)?1:Qi(e)?128:Co(e)?64:fe(e)?4:ne(e)?2:0;return we(e,t,n,o,a,i,s,!0)}function fg(e){return e?vo(e)||Ui(e)?Te({},e):e:null}function mn(e,t,n=!1,o=!1){const{props:a,ref:s,patchFlag:i,children:r,transition:l}=e,c=t?pg(a||{},t):a,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&nr(c),ref:t&&t.ref?n&&s?Q(s)?s.concat(Ko(t)):[s,Ko(t)]:Ko(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ze?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&mn(e.ssContent),ssFallback:e.ssFallback&&mn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&o&&$a(u,l.clone(u)),u}function Ct(e=" ",t=0){return Pe(Hn,null,e,t)}function bn(e="",t=!1){return t?(We(),jo(Lt,null,e)):Pe(Lt,null,e)}function bt(e){return e==null||typeof e=="boolean"?Pe(Lt):Q(e)?Pe(Ze,null,e.slice()):Bo(e)?Nt(e):Pe(Hn,null,String(e))}function Nt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:mn(e)}function Uo(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(Q(t))n=16;else if(typeof t=="object")if(o&65){const a=t.default;a&&(a._c&&(a._d=!1),Uo(e,a()),a._c&&(a._d=!0));return}else{n=32;const a=t._;!a&&!Ui(t)?t._ctx=it:a===3&&it&&(it.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(ne(t)){if(o&65){Uo(e,{default:t});return}t={default:t,_ctx:it},n=32}else t=String(t),o&64?(n=16,t=[Ct(t)]):n=8;e.children=t,e.shapeFlag|=n}function pg(...e){const t={};for(let n=0;nRe||it;let Go,Yn;{const e=go(),t=(n,o)=>{let a;return(a=e[n])||(a=e[n]=[]),a.push(o),s=>{a.length>1?a.forEach(i=>i(s)):a[0](s)}};Go=t("__VUE_INSTANCE_SETTERS__",n=>Re=n),Yn=t("__VUE_SSR_SETTERS__",n=>_n=n)}const Jn=e=>{const t=Re;return Go(e),e.scope.on(),()=>{e.scope.off(),Go(t)}},or=()=>{Re&&Re.scope.off(),Go(null)};function ar(e){return e.vnode.shapeFlag&4}let _n=!1;function _g(e,t=!1,n=!1){t&&Yn(t);const{props:o,children:a}=e.vnode,s=ar(e);tg(e,o,s,t),sg(e,a,n||t);const i=s?yg(e,t):void 0;return t&&Yn(!1),i}function yg(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Bu);const{setup:o}=n;if(o){dt();const a=e.setupContext=o.length>1?Sg(e):null,s=Jn(e),i=fn(o,e,0,[e.props,a]),r=Ds(i);if(ft(),s(),(r||e.sp)&&!Un(e)&&La(e),r){if(i.then(or,or),t)return i.then(l=>{Yn(!0);try{sr(e,l,t)}finally{Yn(!1)}}).catch(l=>{xn(l,e,0)});e.asyncDep=i}else sr(e,i)}else ir(e)}function sr(e,t,n){ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:fe(t)&&(e.setupState=gi(t)),ir(e)}function ir(e,t,n){const o=e.type;e.render||(e.render=o.render||ut);{const a=Jn(e);dt();try{Ku(e)}finally{ft(),a()}}}const Ag={get(e,t){return Oe(e,"get",""),e[t]}};function Sg(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Ag),slots:e.slots,emit:e.emit,expose:t}}function Oa(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(gi(Fn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in zn)return zn[n](e)},has(t,n){return n in t||n in zn}})):e.proxy}const vg=/(?:^|[-_])\w/g,kg=e=>e.replace(vg,t=>t.toUpperCase()).replace(/[-_]/g,"");function rr(e,t=!0){return ne(e)?e.displayName||e.name:e.name||t&&e.__name}function lr(e,t,n=!1){let o=rr(t);if(!o&&t.__file){const a=t.__file.match(/([^/\\]+)\.\w+$/);a&&(o=a[1])}if(!o&&e){const a=s=>{for(const i in s)if(s[i]===t)return i};o=a(e.components)||e.parent&&a(e.parent.type.components)||a(e.appContext.components)}return o?kg(o):n?"App":"Anonymous"}function Tg(e){return ne(e)&&"__vccOpts"in e}const me=(e,t)=>lu(e,t,_n);function cr(e,t,n){try{xo(-1);const o=arguments.length;return o===2?fe(t)&&!Q(t)?Bo(t)?Pe(e,null,[t]):Pe(e,t):Pe(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Bo(n)&&(n=[n]),Pe(e,t,n))}finally{xo(1)}}const Eg="3.5.42";/** +`,...du(a)),console.warn(...s)}pt(),va=!1}function gu(){let e=On[On.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}function du(e){const t=[];return e.forEach((n,o)=>{t.push(...o===0?[]:[` +`],...fu(n))}),t}function fu({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,a=` at <${lr(e.component,e.type,o)}`,s=">"+n;return e.props?[a,...pu(e.props),s]:[a+s]}function pu(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(o=>{t.push(...di(o,e[o]))}),n.length>3&&t.push(" ..."),t}function di(e,t,n){return ve(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Te(t)?(t=di(e,ce(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):te(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=ce(t),n?t:[`${e}=`,t])}function fn(e,t,n,o){try{return o?e(...o):e()}catch(a){xn(a,t,n)}}function it(e,t,n,o){if(te(e)){const a=fn(e,t,n,o);return a&&Ds(a)&&a.catch(s=>{xn(s,t,n)}),a}if(Z(e)){const a=[];for(let s=0;s>>1,a=Be[o],s=jn(a);s=jn(n)?Be.push(e):Be.splice(mu(t),0,e),e.flags|=1,pi()}}function pi(){$o||($o=fi.then(bi))}function bu(e){if(!Z(e))Kt&&e.id===-1?Kt.splice(hn+1,0,e):e.flags&1||(pn.push(e),e.flags|=1);else for(let t=0;tjn(n)-jn(o));if(pn.length=0,Kt){for(let n=0;ne.id==null?e.flags&2?-1:1/0:e.id;function bi(e){try{for(mt=0;mt{o._d&&xo(-1);const s=wo(t),i=sn.length;let r;try{r=e(...a)}finally{for(let l=sn.length;l>i;l--)er();wo(s),o._d&&xo(1)}return r};return o._n=!0,o._c=!0,o._d=!0,o}function nn(e,t,n,o){const a=e.dirs,s=t&&t.dirs;for(let i=0;i1)return n&&te(t)?t.call(o&&o.proxy):t}}function yu(){return!!(Mt()||on)}const Au=Symbol.for("v-scx"),Su=()=>De(Au);function vu(e,t){return Ta(e,null,t)}function Ut(e,t,n){return Ta(e,t,n)}function Ta(e,t,n=_e){const{immediate:o,deep:a,flush:s,once:i}=n,r=Ee({},n),l=t&&o||!t&&s!=="post";let c;if(_n){if(s==="sync"){const k=Su();c=k.__watcherHandles||(k.__watcherHandles=[])}else if(!l){const k=()=>{};return k.stop=gt,k.resume=gt,k.pause=gt,k}}const u=Fe;r.call=(k,N,v)=>it(k,u,N,v);let f=!1;s==="post"?r.scheduler=k=>{ze(k,u&&u.suspense)}:s!=="sync"&&(f=!0,r.scheduler=(k,N)=>{N?k():ka(k)}),r.augmentJob=k=>{t&&(k.flags|=4),f&&(k.flags|=2,u&&(k.id=u.uid,k.i=u))};const m=uu(e,t,r);return _n&&(c?c.push(m):l&&m()),m}function ku(e,t,n){const o=this.proxy,a=ve(e)?e.includes(".")?yi(o,e):()=>o[e]:e.bind(o,o);let s;te(t)?s=t:(s=t.handler,n=t);const i=Jn(this),r=Ta(a,s.bind(o),n);return i(),r}function yi(e,t){const n=t.split(".");return()=>{let o=e;for(let a=0;ae.__isTeleport,Ea=Symbol("_leaveCb");function Eu(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==wt){t=n;break}}return t}function Ai(e){if(!Mo(e))return Co(e.type)&&e.children?Eu(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&te(n.default))return n.default()}}function $a(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const n=e.component.subTree;$a(Co(n.type)&&Ai(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Bn(e,t){return te(e)?Ee({name:e.name},t,{setup:e}):e}function La(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Si(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const No=new WeakMap;function Kn(e,t,n,o,a=!1){if(Z(e)){e.forEach((v,$)=>Kn(v,t&&(Z(t)?t[$]:t),n,o,a));return}if(Un(o)&&!a){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&Kn(e,t,n,o.component.subTree);return}const s=o.shapeFlag&4?Oa(o.component):o.el,i=a?null:s,{i:r,r:l}=e,c=t&&t.r,u=r.refs===_e?r.refs={}:r.refs,f=r.setupState,m=ce(f),k=f===_e?Is:v=>Si(u,v)?!1:de(m,v),N=(v,$)=>!($&&Si(u,$));if(c!=null&&c!==l){if(vi(t),ve(c))u[c]=null,k(c)&&(f[c]=null);else if(Te(c)){const v=t;N(c,v.k)&&(c.value=null),v.k&&(u[v.k]=null)}}if(te(l))fn(l,r,12,[i,u]);else{const v=ve(l),$=Te(l);if(v||$){const P=()=>{if(e.f){const T=v?k(l)?f[l]:u[l]:N()||!e.k?l.value:u[e.k];if(a)Z(T)&&sa(T,s);else if(Z(T))T.includes(s)||T.push(s);else if(v)u[l]=[s],k(l)&&(f[l]=u[l]);else{const _=[s];N(l,e.k)&&(l.value=_),e.k&&(u[e.k]=_)}}else v?(u[l]=i,k(l)&&(f[l]=i)):$&&(N(l,e.k)&&(l.value=i),e.k&&(u[e.k]=i))};if(i){const T=()=>{P(),No.delete(e)};T.id=-1,No.set(e,T),ze(T,n)}else vi(e),P()}}}function vi(e){const t=No.get(e);t&&(t.flags|=8,No.delete(e))}const ki=e=>e.nodeType===8;go().requestIdleCallback,go().cancelIdleCallback;function $u(e,t){if(ki(e)&&e.data==="["){let n=1,o=e.nextSibling;for(;o;){if(o.nodeType===1){if(t(o)===!1)break}else if(ki(o))if(o.data==="]"){if(--n===0)break}else o.data==="["&&n++;o=o.nextSibling}}else t(e)}const Un=e=>!!e.type.__asyncLoader;function Lu(e){te(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:a=200,hydrate:s,timeout:i,suspensible:r=!0,onError:l}=e;let c=null,u,f=0;const m=()=>(f++,c=null,k()),k=()=>{let N;return c||(N=c=t().catch(v=>{if(v=v instanceof Error?v:new Error(String(v)),l)return new Promise(($,P)=>{l(v,()=>$(m()),()=>P(v),f+1)});throw v}).then(v=>N!==c&&c?c:(v&&(v.__esModule||v[Symbol.toStringTag]==="Module")&&(v=v.default),u=v,v)))};return Bn({name:"AsyncComponentWrapper",__asyncLoader:k,__asyncHydrate(N,v,$){const P=N.isConnected;let T=!1;(v.bu||(v.bu=[])).push(()=>T=!0);const _=()=>{T||!N.parentNode||P&&!N.isConnected||$()},b=s?()=>{const L=s(_,A=>$u(N,A));L&&(v.bum||(v.bum=[])).push(L)}:_;u?b():k().then(()=>!v.isUnmounted&&b())},get __asyncResolved(){return u},setup(){const N=Fe;if(La(N),u)return()=>Po(u,N);const v=L=>{c=null,xn(L,N,13,!o)};if(r&&N.suspense||_n)return k().then(L=>()=>Po(L,N)).catch(L=>(v(L),()=>o?Me(o,{error:L}):null));const $=he(!1),P=he(),T=he(!!a);let _,b;return Do(()=>{_!=null&&clearTimeout(_),b!=null&&clearTimeout(b)}),a&&(b=setTimeout(()=>{N.isUnmounted||(T.value=!1)},a)),i!=null&&(_=setTimeout(()=>{if(!N.isUnmounted&&!$.value&&!P.value){const L=new Error(`Async component timed out after ${i}ms.`);v(L),P.value=L}},i)),k().then(()=>{N.isUnmounted||($.value=!0,N.parent&&Mo(N.parent.vnode)&&N.parent.update())}).catch(L=>{if(N.isUnmounted){c=null;return}v(L),P.value=L}),()=>{if($.value&&u)return Po(u,N);if(P.value&&o)return Me(o,{error:P.value});if(n&&!T.value)return Po(n,N)}}})}function Po(e,t){const{ref:n,props:o,children:a,ce:s}=t.vnode,i=Me(e,o,a);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const Mo=e=>e.type.__isKeepAlive;function wu(e,t){Ti(e,"a",t)}function Cu(e,t){Ti(e,"da",t)}function Ti(e,t,n=Fe){const o=e.__wdc||(e.__wdc=()=>{let a=n;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(Io(t,o,n),n){let a=n.parent;for(;a&&a.parent;)Mo(a.parent.vnode)&&Nu(o,t,n,a),a=a.parent}}function Nu(e,t,n,o){const a=Io(t,e,o,!0);Do(()=>{sa(o[t],a)},n)}function Io(e,t,n=Fe,o=!1){if(n){const a=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{ft();const r=Jn(n),l=it(t,n,e,i);return r(),pt(),l});return o?a.unshift(s):a.push(s),s}}const Lt=e=>(t,n=Fe)=>{(!_n||e==="sp")&&Io(e,(...o)=>t(...o),n)},Ei=Lt("bm"),Gn=Lt("m"),Pu=Lt("bu"),Mu=Lt("u"),Ro=Lt("bum"),Do=Lt("um"),Iu=Lt("sp"),Ru=Lt("rtg"),Du=Lt("rtc");function Fu(e,t=Fe){Io("ec",e,t)}const Ou="components",$i=Symbol.for("v-ndc");function Li(e){return ve(e)?xu(Ou,e,!1)||e:e||$i}function xu(e,t,n=!0,o=!1){const a=rt||Fe;if(a){const s=a.type;{const r=rr(s,!1);if(r&&(r===t||r===Pe(t)||r===uo(Pe(t))))return s}const i=wi(a[e]||s[e],t)||wi(a.appContext[e],t);return!i&&o?s:i}}function wi(e,t){return e&&(e[t]||e[Pe(t)]||e[uo(Pe(t))])}function ju(e,t,n,o){let a;const s=n,i=Z(e);if(i||ve(e)){const r=i&&Et(e);let l=!1,c=!1;r&&(l=!He(e),c=$t(e),e=mo(e)),a=new Array(e.length);for(let u=0,f=e.length;ut(r,l,void 0,s));else{const r=Object.keys(e);a=new Array(r.length);for(let l=0,c=r.length;le?ar(e)?Oa(e):wa(e.parent):null,zn=Ee(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=>wa(e.parent),$root:e=>wa(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Mi(e),$forceUpdate:e=>e.f||(e.f=()=>{ka(e.update)}),$nextTick:e=>e.n||(e.n=Lo.bind(e.proxy)),$watch:e=>ku.bind(e)}),Ca=(e,t)=>e!==_e&&!e.__isScriptSetup&&de(e,t),Bu={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:a,props:s,accessCache:i,type:r,appContext:l}=e;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return o[t];case 2:return a[t];case 4:return n[t];case 3:return s[t]}else{if(Ca(o,t))return i[t]=1,o[t];if(a!==_e&&de(a,t))return i[t]=2,a[t];if(de(s,t))return i[t]=3,s[t];if(n!==_e&&de(n,t))return i[t]=4,n[t];Na&&(i[t]=0)}}const c=zn[t];let u,f;if(c)return t==="$attrs"&&je(e.attrs,"get",""),c(e);if((u=r.__cssModules)&&(u=u[t]))return u;if(n!==_e&&de(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,de(f,t))return f[t]},set({_:e},t,n){const{data:o,setupState:a,ctx:s}=e;return Ca(a,t)?(a[t]=n,!0):o!==_e&&de(o,t)?(o[t]=n,!0):de(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:a,props:s,type:i}},r){let l;return!!(n[r]||e!==_e&&r[0]!=="$"&&de(e,r)||Ca(t,r)||de(s,r)||de(o,r)||de(zn,r)||de(a.config.globalProperties,r)||(l=i.__cssModules)&&l[r])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:de(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ci(e){return Z(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Na=!0;function Ku(e){const t=Mi(e),n=e.proxy,o=e.ctx;Na=!1,t.beforeCreate&&Ni(t.beforeCreate,e,"bc");const{data:a,computed:s,methods:i,watch:r,provide:l,inject:c,created:u,beforeMount:f,mounted:m,beforeUpdate:k,updated:N,activated:v,deactivated:$,beforeDestroy:P,beforeUnmount:T,destroyed:_,unmounted:b,render:L,renderTracked:A,renderTriggered:C,errorCaptured:D,serverPrefetch:S,expose:V,inheritAttrs:ae,components:z,directives:ee,filters:Y}=t;if(c&&Uu(c,o,null),i)for(const q in i){const W=i[q];te(W)&&(o[q]=W.bind(n))}if(a){const q=a.call(n,n);pe(q)&&(e.data=Ao(q))}if(Na=!0,s)for(const q in s){const W=s[q],X=te(W)?W.bind(n,n):te(W.get)?W.get.bind(n,n):gt,ge=!te(W)&&te(W.set)?W.set.bind(n):gt,ie=be({get:X,set:ge});Object.defineProperty(o,q,{enumerable:!0,configurable:!0,get:()=>ie.value,set:fe=>ie.value=fe})}if(r)for(const q in r)Pi(r[q],o,n,q);if(l){const q=te(l)?l.call(n):l;Reflect.ownKeys(q).forEach(W=>{bt(W,q[W])})}u&&Ni(u,e,"c");function j(q,W){Z(W)?W.forEach(X=>q(X.bind(n))):W&&q(W.bind(n))}if(j(Ei,f),j(Gn,m),j(Pu,k),j(Mu,N),j(wu,v),j(Cu,$),j(Fu,D),j(Du,A),j(Ru,C),j(Ro,T),j(Do,b),j(Iu,S),Z(V))if(V.length){const q=e.exposed||(e.exposed={});V.forEach(W=>{Object.defineProperty(q,W,{get:()=>n[W],set:X=>n[W]=X,enumerable:!0})})}else e.exposed||(e.exposed={});L&&e.render===gt&&(e.render=L),ae!=null&&(e.inheritAttrs=ae),z&&(e.components=z),ee&&(e.directives=ee),S&&La(e)}function Uu(e,t,n=gt){Z(e)&&(e=Pa(e));for(const o in e){const a=e[o];let s;pe(a)?"default"in a?s=De(a.from||o,a.default,!0):s=De(a.from||o):s=De(a),Te(s)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[o]=s}}function Ni(e,t,n){it(Z(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Pi(e,t,n,o){let a=o.includes(".")?yi(n,o):()=>n[o];if(ve(e)){const s=t[e];te(s)&&Ut(a,s)}else if(te(e))Ut(a,e.bind(n));else if(pe(e))if(Z(e))e.forEach(s=>Pi(s,t,n,o));else{const s=te(e.handler)?e.handler.bind(n):t[e.handler];te(s)&&Ut(a,s,e)}}function Mi(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:a,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,r=s.get(t);let l;return r?l=r:!a.length&&!n&&!o?l=t:(l={},a.length&&a.forEach(c=>Fo(l,c,i,!0)),Fo(l,t,i)),pe(t)&&s.set(t,l),l}function Fo(e,t,n,o=!1){const{mixins:a,extends:s}=t;s&&Fo(e,s,n,!0),a&&a.forEach(i=>Fo(e,i,n,!0));for(const i in t)if(!(o&&i==="expose")){const r=Gu[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}const Gu={data:Ii,props:Ri,emits:Ri,methods:qn,computed:qn,beforeCreate:Ke,created:Ke,beforeMount:Ke,mounted:Ke,beforeUpdate:Ke,updated:Ke,beforeDestroy:Ke,beforeUnmount:Ke,destroyed:Ke,unmounted:Ke,activated:Ke,deactivated:Ke,errorCaptured:Ke,serverPrefetch:Ke,components:qn,directives:qn,watch:qu,provide:Ii,inject:zu};function Ii(e,t){return t?e?function(){return Ee(te(e)?e.call(this,this):e,te(t)?t.call(this,this):t)}:t:e}function zu(e,t){return qn(Pa(e),Pa(t))}function Pa(e){if(Z(e)){const t={};for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Pe(t)}Modifiers`]||e[`${Ze(t)}Modifiers`];function Yu(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||_e;let a=n;const s=t.startsWith("update:"),i=s&&Wu(o,t.slice(7));i&&(i.trim&&(a=n.map(u=>ve(u)?u.trim():u)),i.number&&(a=a.map(Cc)));let r,l=o[r=ia(t)]||o[r=ia(Pe(t))];!l&&s&&(l=o[r=ia(Ze(t))]),l&&it(l,e,6,a);const c=o[r+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[r])return;e.emitted[r]=!0,it(c,e,6,a)}}const Ju=new WeakMap;function Fi(e,t,n=!1){const o=n?Ju:t.emitsCache,a=o.get(e);if(a!==void 0)return a;const s=e.emits;let i={},r=!1;if(!te(e)){const l=c=>{const u=Fi(c,t,!0);u&&(r=!0,Ee(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!r?(pe(e)&&o.set(e,null),null):(Z(s)?s.forEach(l=>i[l]=null):Ee(i,s),pe(e)&&o.set(e,i),i)}function Oo(e,t){return!e||!ao(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),de(e,t[0].toLowerCase()+t.slice(1))||de(e,Ze(t))||de(e,t))}function Cb(){}function Oi(e){const{type:t,vnode:n,proxy:o,withProxy:a,propsOptions:[s],slots:i,attrs:r,emit:l,render:c,renderCache:u,props:f,data:m,setupState:k,ctx:N,inheritAttrs:v}=e,$=wo(e);let P,T;try{if(n.shapeFlag&4){const b=a||o,L=b;P=_t(c.call(L,b,u,f,k,m,N)),T=r}else{const b=t;P=_t(b.length>1?b(f,{attrs:r,slots:i,emit:l}):b(f,null)),T=t.props?r:Xu(r)}}catch(b){sn.length=0,xn(b,e,1),P=Me(wt)}let _=P;if(T&&v!==!1){const b=Object.keys(T),{shapeFlag:L}=_;b.length&&L&7&&(s&&b.some(so)&&(T=Zu(T,s)),_=mn(_,T,!1,!0))}if(n.dirs&&(_=mn(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition){const b=Co(_.type)&&Ai(_)||_;$a(b,n.transition)}return P=_,wo($),P}const Xu=e=>{let t;for(const n in e)(n==="class"||n==="style"||ao(n))&&((t||(t={}))[n]=e[n]);return t},Zu=(e,t)=>{const n={};for(const o in e)(!so(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function Qu(e,t,n){const{props:o,children:a,component:s}=e,{props:i,children:r,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return o?xi(o,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;fObject.create(Bi),Ui=e=>Object.getPrototypeOf(e)===Bi;function tg(e,t,n,o=!1){const a={},s=Ki();e.propsDefaults=Object.create(null),Gi(e,t,a,s);for(const i in e.propsOptions[0])i in a||(a[i]=void 0);n?e.props=o?a:tu(a):e.type.props?e.props=a:e.props=s,e.attrs=s}function ng(e,t,n,o){const{props:a,attrs:s,vnode:{patchFlag:i}}=e,r=ce(a),[l]=e.propsOptions;let c=!1;if((o||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[m,k]=zi(f,t,!0);Ee(i,m),k&&r.push(...k)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return pe(e)&&o.set(e,un),un;if(Z(s))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",Ra=e=>Z(e)?e.map(_t):[_t(e)],ag=(e,t,n)=>{if(t._n)return t;const o=_u((...a)=>Ra(t(...a)),n);return o._c=!1,o},Hi=(e,t,n)=>{const o=e._ctx;for(const a in e){if(Ia(a))continue;const s=e[a];if(te(s))t[a]=ag(a,s,o);else if(s!=null){const i=Ra(s);t[a]=()=>i}}},Vi=(e,t)=>{const n=Ra(t);e.slots.default=()=>n},Wi=(e,t,n)=>{for(const o in t)(n||!Ia(o))&&(e[o]=t[o])},sg=(e,t,n)=>{const o=e.slots=Ki();if(e.vnode.shapeFlag&32){const a=t._;a?(Wi(o,t,n),n&&Os(o,"_",a,!0)):Hi(t,o)}else t&&Vi(e,t)},ig=(e,t,n)=>{const{vnode:o,slots:a}=e;let s=!0,i=_e;if(o.shapeFlag&32){const r=t._;r?n&&r===1?s=!1:Wi(a,t,n):(s=!t.$stable,Hi(t,a)),i=t}else t&&(Vi(e,t),i={default:1});if(s)for(const r in a)!Ia(r)&&i[r]==null&&delete a[r]},ze=gg;function rg(e){return lg(e)}function lg(e,t){const n=go();n.__VUE__=!0;const{insert:o,remove:a,patchProp:s,createElement:i,createText:r,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:m,setScopeId:k=gt,insertStaticContent:N}=e,v=(p,y,h,M=null,x=null,O=null,U=void 0,K=null,g=!!y.dynamicChildren)=>{if(p===y)return;p&&!Wn(p,y)&&(M=Ye(p),fe(p,x,O,!0),p=null),y.patchFlag===-2&&(g=!1,y.dynamicChildren=null);const{type:d,ref:w,shapeFlag:I}=y;switch(d){case Hn:$(p,y,h,M);break;case wt:P(p,y,h,M);break;case Fa:p==null&&T(y,h,M,U);break;case Qe:z(p,y,h,M,x,O,U,K,g);break;default:I&1?L(p,y,h,M,x,O,U,K,g):I&6?ee(p,y,h,M,x,O,U,K,g):(I&64||I&128)&&d.process(p,y,h,M,x,O,U,K,g,ot)}w!=null&&x?Kn(w,p&&p.ref,O,y||p,!y):w==null&&p&&p.ref!=null&&Kn(p.ref,null,O,p,!0)},$=(p,y,h,M)=>{if(p==null)o(y.el=r(y.children),h,M);else{const x=y.el=p.el;y.children!==p.children&&c(x,y.children)}},P=(p,y,h,M)=>{p==null?o(y.el=l(y.children||""),h,M):y.el=p.el},T=(p,y,h,M)=>{[p.el,p.anchor]=N(p.children,y,h,M,p.el,p.anchor)},_=({el:p,anchor:y},h,M)=>{let x;for(;p&&p!==y;)x=m(p),o(p,h,M),p=x;o(y,h,M)},b=({el:p,anchor:y})=>{let h;for(;p&&p!==y;)h=m(p),a(p),p=h;a(y)},L=(p,y,h,M,x,O,U,K,g)=>{if(y.type==="svg"?U="svg":y.type==="math"&&(U="mathml"),p==null)A(y,h,M,x,O,U,K,g);else{const d=p.el&&p.el._isVueCE?p.el:null;try{d&&d._beginPatch(),S(p,y,x,O,U,K,g)}finally{d&&d._endPatch()}}},A=(p,y,h,M,x,O,U,K)=>{let g,d;const{props:w,shapeFlag:I,transition:G,dirs:B}=p;if(g=p.el=i(p.type,O,w&&w.is,w),I&8?u(g,p.children):I&16&&D(p.children,g,null,M,x,Da(p,O),U,K),B&&nn(p,null,M,"created"),C(g,p,p.scopeId,U,M),w){for(const R in w)R!=="value"&&!Cn(R)&&s(g,R,null,w[R],O,M);"value"in w&&s(g,"value",null,w.value,O),(d=w.onVnodeBeforeMount)&&yt(d,M,p)}B&&nn(p,null,M,"beforeMount");const E=cg(x,G);E&&G.beforeEnter(g),o(g,y,h),((d=w&&w.onVnodeMounted)||E||B)&&ze(()=>{try{d&&yt(d,M,p),E&&G.enter(g),B&&nn(p,null,M,"mounted")}finally{}},x)},C=(p,y,h,M,x)=>{if(h&&k(p,h),M)for(let O=0;O{for(let d=g;d{const K=y.el=p.el;let{patchFlag:g,dynamicChildren:d,dirs:w}=y;g|=p.patchFlag&16;const I=p.props||_e,G=y.props||_e;let B;if(h&&an(h,!1),(B=G.onVnodeBeforeUpdate)&&yt(B,h,y,p),w&&nn(y,p,h,"beforeUpdate"),h&&an(h,!0),d&&(!p.dynamicChildren||p.dynamicChildren.length!==d.length)&&(g=0,U=!1,d=null),(I.innerHTML&&G.innerHTML==null||I.textContent&&G.textContent==null)&&u(K,""),d?V(p.dynamicChildren,d,K,h,M,Da(y,x),O):U||W(p,y,K,null,h,M,Da(y,x),O,!1),g>0){if(g&16)ae(K,I,G,h,x);else if(g&2&&I.class!==G.class&&s(K,"class",null,G.class,x),g&4&&s(K,"style",I.style,G.style,x),g&8){const E=y.dynamicProps;for(let R=0;R{B&&yt(B,h,y,p),w&&nn(y,p,h,"updated")},M)},V=(p,y,h,M,x,O,U)=>{for(let K=0;K{if(y!==h){if(y!==_e)for(const O in y)!Cn(O)&&!(O in h)&&s(p,O,y[O],null,x,M);for(const O in h){if(Cn(O))continue;const U=h[O],K=y[O];U!==K&&O!=="value"&&s(p,O,K,U,x,M)}"value"in h&&s(p,"value",y.value,h.value,x)}},z=(p,y,h,M,x,O,U,K,g)=>{const d=y.el=p?p.el:r(""),w=y.anchor=p?p.anchor:r("");let{patchFlag:I,dynamicChildren:G,slotScopeIds:B}=y;B&&(K=K?K.concat(B):B),p==null?(o(d,h,M),o(w,h,M),D(y.children||[],h,w,x,O,U,K,g)):I>0&&I&64&&G&&p.dynamicChildren&&p.dynamicChildren.length===G.length?(V(p.dynamicChildren,G,h,x,O,U,K),(y.key!=null||x&&y===x.subTree)&&Yi(p,y,!0)):W(p,y,h,w,x,O,U,K,g)},ee=(p,y,h,M,x,O,U,K,g)=>{y.slotScopeIds=K,p==null?y.shapeFlag&512?x.ctx.activate(y,h,M,U,g):Y(y,h,M,x,O,U,g):F(p,y,g)},Y=(p,y,h,M,x,O,U)=>{const K=p.component=bg(p,M,x);if(Mo(p)&&(K.ctx.renderer=ot),_g(K,!1,U),K.asyncDep){if(x&&x.registerDep(K,j,U),!p.el){const g=K.subTree=Me(wt);P(null,g,y,h),p.placeholder=g.el}}else j(K,p,y,h,x,O,U)},F=(p,y,h)=>{const M=y.component=p.component;if(Qu(p,y,h))if(M.asyncDep&&!M.asyncResolved){q(M,y,h);return}else M.next=y,M.update();else y.el=p.el,M.vnode=y},j=(p,y,h,M,x,O,U)=>{const K=()=>{if(p.isMounted){let{next:I,bu:G,u:B,parent:E,vnode:R}=p;{const xe=Ji(p);if(xe){I&&(I.el=R.el,q(p,I,U)),xe.asyncDep.then(()=>{ze(()=>{p.isUnmounted||d()},x)});return}}let J=I,se;an(p,!1),I?(I.el=R.el,q(p,I,U)):I=R,G&&ra(G),(se=I.props&&I.props.onVnodeBeforeUpdate)&&yt(se,E,I,R),an(p,!0);const Se=Oi(p),Ge=p.subTree;p.subTree=Se,v(Ge,Se,f(Ge.el),Ye(Ge),p,x,O),I.el=Se.el,J===null&&eg(p,Se.el),B&&ze(B,x),(se=I.props&&I.props.onVnodeUpdated)&&ze(()=>yt(se,E,I,R),x)}else{let I;const{el:G,props:B}=y,{bm:E,m:R,parent:J,root:se,type:Se}=p,Ge=Un(y);an(p,!1),E&&ra(E),!Ge&&(I=B&&B.onVnodeBeforeMount)&&yt(I,J,y),an(p,!0);{se.ce&&se.ce._hasShadowRoot()&&se.ce._injectChildStyle(Se,p.parent?p.parent.type:void 0);const xe=p.subTree=Oi(p);v(null,xe,h,M,p,x,O),y.el=xe.el}if(R&&ze(R,x),!Ge&&(I=B&&B.onVnodeMounted)){const xe=y;ze(()=>yt(I,J,xe),x)}(y.shapeFlag&256||J&&Un(J.vnode)&&J.vnode.shapeFlag&256)&&p.a&&ze(p.a,x),p.isMounted=!0,y=h=M=null}};p.scope.on();const g=p.effect=new Hs(K);p.scope.off();const d=p.update=g.run.bind(g),w=p.job=g.runIfDirty.bind(g);w.i=p,w.id=p.uid,g.scheduler=()=>ka(w),an(p,!0),d()},q=(p,y,h)=>{y.component=p;const M=p.vnode.props;p.vnode=y,p.next=null,ng(p,y.props,M,h),ig(p,y.children,h),ft(),hi(p),pt()},W=(p,y,h,M,x,O,U,K,g=!1)=>{const d=p&&p.children,w=p?p.shapeFlag:0,I=y.children,{patchFlag:G,shapeFlag:B}=y;if(G>0){if(G&128){ge(d,I,h,M,x,O,U,K,g);return}else if(G&256){X(d,I,h,M,x,O,U,K,g);return}}B&8?(w&16&&Re(d,x,O),I!==d&&u(h,I)):w&16?B&16?ge(d,I,h,M,x,O,U,K,g):Re(d,x,O,!0):(w&8&&u(h,""),B&16&&D(I,h,M,x,O,U,K,g))},X=(p,y,h,M,x,O,U,K,g)=>{p=p||un,y=y||un;const d=p.length,w=y.length,I=Math.min(d,w);let G;for(G=0;Gw?Re(p,x,O,!0,!1,I):D(y,h,M,x,O,U,K,g,I)},ge=(p,y,h,M,x,O,U,K,g)=>{let d=0;const w=y.length;let I=p.length-1,G=w-1;for(;d<=I&&d<=G;){const B=p[d],E=y[d]=g?Pt(y[d]):_t(y[d]);if(Wn(B,E))v(B,E,h,null,x,O,U,K,g);else break;d++}for(;d<=I&&d<=G;){const B=p[I],E=y[G]=g?Pt(y[G]):_t(y[G]);if(Wn(B,E))v(B,E,h,null,x,O,U,K,g);else break;I--,G--}if(d>I){if(d<=G){const B=G+1,E=BG)for(;d<=I;)fe(p[d],x,O,!0),d++;else{const B=d,E=d,R=new Map;for(d=E;d<=G;d++){const Je=y[d]=g?Pt(y[d]):_t(y[d]);Je.key!=null&&R.set(Je.key,d)}let J,se=0;const Se=G-E+1;let Ge=!1,xe=0;const cn=new Array(Se);for(d=0;d=Se){fe(Je,x,O,!0);continue}let vt;if(Je.key!=null)vt=R.get(Je.key);else for(J=E;J<=G;J++)if(cn[J-E]===0&&Wn(Je,y[J])){vt=J;break}vt===void 0?fe(Je,x,O,!0):(cn[vt-E]=d+1,vt>=xe?xe=vt:Ge=!0,v(Je,y[vt],h,null,x,O,U,K,g),se++)}const Ms=Ge?ug(cn):un;for(J=Ms.length-1,d=Se-1;d>=0;d--){const Je=E+d,vt=y[Je],vc=y[Je+1],kc=Je+1{const{el:O,type:U,transition:K,children:g,shapeFlag:d}=p;if(d&6){ie(p.component.subTree,y,h,M);return}if(d&128){p.suspense.move(y,h,M);return}if(d&64){U.move(p,y,h,ot);return}if(U===Qe){o(O,y,h);for(let I=0;IK.enter(O),x));else{const{leave:I,delayLeave:G,afterLeave:B}=K,E=()=>{p.ctx.isUnmounted?a(O):o(O,y,h)},R=()=>{const J=O._isLeaving||!!O[Ea];O._isLeaving&&O[Ea](!0),K.persisted&&!J?E():I(O,()=>{E(),B&&B()})};G?G(O,E,R):R()}else o(O,y,h)},fe=(p,y,h,M=!1,x=!1)=>{const{type:O,props:U,ref:K,children:g,dynamicChildren:d,shapeFlag:w,patchFlag:I,dirs:G,cacheIndex:B,memo:E}=p;if(I===-2&&(x=!1),K!=null&&(ft(),Kn(K,null,h,p,!0),pt()),B!=null&&(y.renderCache[B]=void 0),w&256){y.ctx.deactivate(p);return}const R=w&1&&G,J=!Un(p);let se;if(J&&(se=U&&U.onVnodeBeforeUnmount)&&yt(se,y,p),w&6)Ne(p.component,h,M);else{if(w&128){p.suspense.unmount(h,M);return}R&&nn(p,null,y,"beforeUnmount"),w&64?p.type.remove(p,y,h,ot,M):d&&!d.hasOnce&&(O!==Qe||I>0&&I&64)?Re(d,y,h,!1,!0):(O===Qe&&I&384||!x&&w&16)&&Re(g,y,h),M&&oe(p)}const Se=E!=null&&B==null;(J&&(se=U&&U.onVnodeUnmounted)||R||Se)&&ze(()=>{se&&yt(se,y,p),R&&nn(p,null,y,"unmounted"),Se&&(p.el=null)},h)},oe=p=>{const{type:y,el:h,anchor:M,transition:x}=p;if(y===Qe){le(h,M);return}if(y===Fa){b(p);return}const O=()=>{a(h),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(p.shapeFlag&1&&x&&!x.persisted){const{leave:U,delayLeave:K}=x,g=()=>U(h,O);K?K(p.el,O,g):g()}else O()},le=(p,y)=>{let h;for(;p!==y;)h=m(p),a(p),p=h;a(y)},Ne=(p,y,h)=>{const{bum:M,scope:x,job:O,subTree:U,um:K,m:g,a:d}=p;Xi(g),Xi(d),M&&ra(M),x.stop(),O&&(O.flags|=8,fe(U,p,y,h)),K&&ze(K,y),ze(()=>{p.isUnmounted=!0},y)},Re=(p,y,h,M=!1,x=!1,O=0)=>{for(let U=O;U{if(p.shapeFlag&6)return Ye(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const y=m(p.anchor||p.el),h=y&&y[Tu];return h?m(h):y};let nt=!1;const Zt=(p,y,h)=>{let M;p==null?y._vnode&&(fe(y._vnode,null,null,!0),M=y._vnode.component):v(y._vnode||null,p,y,null,null,null,h),y._vnode=p,nt||(nt=!0,hi(M),mi(),nt=!1)},ot={p:v,um:fe,m:ie,r:oe,mt:Y,mc:D,pc:W,pbc:V,n:Ye,o:e};return{render:Zt,hydrate:void 0,createApp:Vu(Zt)}}function Da({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function an({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function cg(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Yi(e,t,n=!1){const o=e.children,a=t.children;if(Z(o)&&Z(a))for(let s=0;s>1,e[n[r]]0&&(t[o]=n[s-1]),n[s]=o)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function Ji(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ji(t)}function Xi(e){if(e)for(let t=0;te.__isSuspense;function gg(e,t){t&&t.pendingBranch?Z(e)?t.effects.push(...e):t.effects.push(e):bu(e)}const Qe=Symbol.for("v-fgt"),Hn=Symbol.for("v-txt"),wt=Symbol.for("v-cmt"),Fa=Symbol.for("v-stc"),sn=[];let Ve=null;function We(e=!1){sn.push(Ve=e?null:[])}function er(){sn.pop(),Ve=sn[sn.length-1]||null}let Vn=1;function xo(e,t=!1){Vn+=e,e<0&&Ve&&t&&(Ve.hasOnce=!0)}function tr(e){return e.dynamicChildren=Vn>0?Ve||un:null,er(),Vn>0&&Ve&&Ve.push(e),e}function Ct(e,t,n,o,a,s){return tr(we(e,t,n,o,a,s,!0))}function jo(e,t,n,o,a){return tr(Me(e,t,n,o,a,!0))}function Bo(e){return e?e.__v_isVNode===!0:!1}function Wn(e,t){return e.type===t.type&&e.key===t.key}const nr=({key:e})=>e??null,Ko=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ve(e)||Te(e)||te(e)?{i:rt,r:e,k:t,f:!!n}:e:null);function we(e,t=null,n=null,o=0,a=null,s=e===Qe?0:1,i=!1,r=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&nr(t),ref:t&&Ko(t),scopeId:_i,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:o,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:rt};return r?(Uo(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=ve(n)?8:16),Vn>0&&!i&&Ve&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Ve.push(l),l}const Me=dg;function dg(e,t=null,n=null,o=0,a=null,s=!1){if((!e||e===$i)&&(e=wt),Bo(e)){const r=mn(e,t,!0);return n&&Uo(r,n),Vn>0&&!s&&Ve&&(r.shapeFlag&6?Ve[Ve.indexOf(e)]=r:Ve.push(r)),r.patchFlag=-2,r}if(Tg(e)&&(e=e.__vccOpts),t){t=fg(t);let{class:r,style:l}=t;r&&!ve(r)&&(t.class=Nn(r)),pe(l)&&(vo(l)&&!Z(l)&&(l=Ee({},l)),t.style=fo(l))}const i=ve(e)?1:Qi(e)?128:Co(e)?64:pe(e)?4:te(e)?2:0;return we(e,t,n,o,a,i,s,!0)}function fg(e){return e?vo(e)||Ui(e)?Ee({},e):e:null}function mn(e,t,n=!1,o=!1){const{props:a,ref:s,patchFlag:i,children:r,transition:l}=e,c=t?pg(a||{},t):a,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&nr(c),ref:t&&t.ref?n&&s?Z(s)?s.concat(Ko(t)):[s,Ko(t)]:Ko(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Qe?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&mn(e.ssContent),ssFallback:e.ssFallback&&mn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&o&&$a(u,l.clone(u)),u}function Nt(e=" ",t=0){return Me(Hn,null,e,t)}function bn(e="",t=!1){return t?(We(),jo(wt,null,e)):Me(wt,null,e)}function _t(e){return e==null||typeof e=="boolean"?Me(wt):Z(e)?Me(Qe,null,e.slice()):Bo(e)?Pt(e):Me(Hn,null,String(e))}function Pt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:mn(e)}function Uo(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(Z(t))n=16;else if(typeof t=="object")if(o&65){const a=t.default;a&&(a._c&&(a._d=!1),Uo(e,a()),a._c&&(a._d=!0));return}else{n=32;const a=t._;!a&&!Ui(t)?t._ctx=rt:a===3&&rt&&(rt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(te(t)){if(o&65){Uo(e,{default:t});return}t={default:t,_ctx:rt},n=32}else t=String(t),o&64?(n=16,t=[Nt(t)]):n=8;e.children=t,e.shapeFlag|=n}function pg(...e){const t={};for(let n=0;nFe||rt;let Go,Yn;{const e=go(),t=(n,o)=>{let a;return(a=e[n])||(a=e[n]=[]),a.push(o),s=>{a.length>1?a.forEach(i=>i(s)):a[0](s)}};Go=t("__VUE_INSTANCE_SETTERS__",n=>Fe=n),Yn=t("__VUE_SSR_SETTERS__",n=>_n=n)}const Jn=e=>{const t=Fe;return Go(e),e.scope.on(),()=>{e.scope.off(),Go(t)}},or=()=>{Fe&&Fe.scope.off(),Go(null)};function ar(e){return e.vnode.shapeFlag&4}let _n=!1;function _g(e,t=!1,n=!1){t&&Yn(t);const{props:o,children:a}=e.vnode,s=ar(e);tg(e,o,s,t),sg(e,a,n||t);const i=s?yg(e,t):void 0;return t&&Yn(!1),i}function yg(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Bu);const{setup:o}=n;if(o){ft();const a=e.setupContext=o.length>1?Sg(e):null,s=Jn(e),i=fn(o,e,0,[e.props,a]),r=Ds(i);if(pt(),s(),(r||e.sp)&&!Un(e)&&La(e),r){if(i.then(or,or),t)return i.then(l=>{Yn(!0);try{sr(e,l,t)}finally{Yn(!1)}}).catch(l=>{xn(l,e,0)});e.asyncDep=i}else sr(e,i)}else ir(e)}function sr(e,t,n){te(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pe(t)&&(e.setupState=gi(t)),ir(e)}function ir(e,t,n){const o=e.type;e.render||(e.render=o.render||gt);{const a=Jn(e);ft();try{Ku(e)}finally{pt(),a()}}}const Ag={get(e,t){return je(e,"get",""),e[t]}};function Sg(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Ag),slots:e.slots,emit:e.emit,expose:t}}function Oa(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(gi(Fn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in zn)return zn[n](e)},has(t,n){return n in t||n in zn}})):e.proxy}const vg=/(?:^|[-_])\w/g,kg=e=>e.replace(vg,t=>t.toUpperCase()).replace(/[-_]/g,"");function rr(e,t=!0){return te(e)?e.displayName||e.name:e.name||t&&e.__name}function lr(e,t,n=!1){let o=rr(t);if(!o&&t.__file){const a=t.__file.match(/([^/\\]+)\.\w+$/);a&&(o=a[1])}if(!o&&e){const a=s=>{for(const i in s)if(s[i]===t)return i};o=a(e.components)||e.parent&&a(e.parent.type.components)||a(e.appContext.components)}return o?kg(o):n?"App":"Anonymous"}function Tg(e){return te(e)&&"__vccOpts"in e}const be=(e,t)=>lu(e,t,_n);function cr(e,t,n){try{xo(-1);const o=arguments.length;return o===2?pe(t)&&!Z(t)?Bo(t)?Me(e,null,[t]):Me(e,t):Me(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Bo(n)&&(n=[n]),Me(e,t,n))}finally{xo(1)}}const Eg="3.5.42";/** * @vue/runtime-dom v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let xa;const ur=typeof window<"u"&&window.trustedTypes;if(ur)try{xa=ur.createPolicy("vue",{createHTML:e=>e})}catch{}const gr=xa?e=>xa.createHTML(e):e=>e,$g="http://www.w3.org/2000/svg",Lg="http://www.w3.org/1998/Math/MathML",Mt=typeof document<"u"?document:null,dr=Mt&&Mt.createElement("template"),wg={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const a=t==="svg"?Mt.createElementNS($g,e):t==="mathml"?Mt.createElementNS(Lg,e):n?Mt.createElement(e,{is:n}):Mt.createElement(e);return e==="select"&&o&&o.multiple!=null&&a.setAttribute("multiple",o.multiple),a},createText:e=>Mt.createTextNode(e),createComment:e=>Mt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Mt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,a,s){const i=n?n.previousSibling:t.lastChild;if(a&&(a===s||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),n),!(a===s||!(a=a.nextSibling)););else{dr.innerHTML=gr(o==="svg"?`${e}`:o==="mathml"?`${e}`:e);const r=dr.content;if(o==="svg"||o==="mathml"){const l=r.firstChild;for(;l.firstChild;)r.appendChild(l.firstChild);r.removeChild(l)}t.insertBefore(r,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Cg=Symbol("_vtc");function Ng(e,t,n){const o=e[Cg];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const fr=Symbol("_vod"),Pg=Symbol("_vsh"),Mg=Symbol(""),Ig=/(?:^|;)\s*display\s*:/;function Rg(e,t,n){const o=e.style,a=Se(n);let s=!1;if(n&&!a){if(t)if(Se(t))for(const i of t.split(";")){const r=i.slice(0,i.indexOf(":")).trim();n[r]==null&&Xn(o,r,"")}else for(const i in t)n[i]==null&&Xn(o,i,"");for(const i in n){i==="display"&&(s=!0);const r=n[i];r!=null?Fg(e,i,!Se(t)&&t?t[i]:void 0,r)||Xn(o,i,r):Xn(o,i,"")}}else if(a){if(t!==n){const i=o[Mg];i&&(n+=";"+i),o.cssText=n,s=Ig.test(n)}}else t&&e.removeAttribute("style");fr in e&&(e[fr]=s?o.display:"",e[Pg]&&(o.display="none"))}const zo=/\s*!important$/;function Xn(e,t,n){if(Q(n))n.forEach(o=>Xn(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))zo.test(n)?e.setProperty(t,n.replace(zo,""),"important"):e.setProperty(t,n);else{const o=Dg(e,t);zo.test(n)?e.setProperty(Xe(o),n.replace(zo,""),"important"):e[o]=n}}const pr=["Webkit","Moz","ms"],ja={};function Dg(e,t){const n=ja[t];if(n)return n;let o=Ne(t);if(o!=="filter"&&o in e)return ja[t]=o;o=uo(o);for(let a=0;aBa||(Gg.then(()=>Ba=0),Ba=Date.now());function qg(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;const a=n.value;if(Q(a)){const s=o.stopImmediatePropagation;o.stopImmediatePropagation=()=>{s.call(o),o._stopped=!0};const i=a.slice(),r=[o];for(let l=0;le.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Hg=(e,t,n,o,a,s)=>{const i=a==="svg";t==="class"?Ng(e,o,i):t==="style"?Rg(e,n,o):ao(t)?so(t)||jg(e,t,n,o,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Vg(e,t,o,i))?(br(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&mr(e,t,o,i,s,t!=="value")):e._isVueCE&&(Wg(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Se(o)))?br(e,Ne(t),o,s,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),mr(e,t,o,i))};function Vg(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&yr(t)&&ne(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return yr(t)&&Se(n)?!1:t in e}function Wg(e,t){const n=e._def.props;if(!n)return!1;const o=Ne(t);return Array.isArray(n)?n.some(a=>Ne(a)===o):Object.keys(n).some(a=>Ne(a)===o)}const Ar={};function Yg(e,t,n){let o=Bn(e,t);ro(o)&&(o=Te({},o,t));class a extends Ka{constructor(i){super(o,i,n)}}return a.def=o,a}const Jg=typeof HTMLElement<"u"?HTMLElement:class{};class Ka extends Jg{constructor(t,n={},o=kr){super(),this._def=t,this._props=n,this._createApp=o,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&o!==kr?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(Te({},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 Ka){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,Lo(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const n of t)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let o=0;o{this._resolved=!0,this._pendingResolve=void 0;const{props:s,styles:i}=o;let r;if(s&&!Q(s))for(const l in s){const c=s[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=xs(this._props[l])),(r||(r=Object.create(null)))[Ne(l)]=!0)}this._numberProps=r,this._resolveProps(o),this.shadowRoot&&this._applyStyles(i),this._mount(o)},n=this._def.__asyncLoader;if(n)return this._pendingResolve=n().then(o=>{o.configureApp=this._def.configureApp,t(this._def=o,!0)}),this._pendingResolve;t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const o in n)ge(this,o)||Object.defineProperty(this,o,{get:()=>ko(n[o])})}_resolveProps(t){const{props:n}=t,o=Q(n)?n:Object.keys(n||{});for(const a of Object.keys(this))a[0]!=="_"&&o.includes(a)&&this._setProp(a,this[a]);for(const a of o.map(Ne))Object.defineProperty(this,a,{get(){return this._getProp(a)},set(s){this._setProp(a,s,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let o=n?this.getAttribute(t):Ar;const a=Ne(t);n&&this._numberProps&&this._numberProps[a]&&(o=xs(o)),this._setProp(a,o,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,o=!0,a=!1){if(n!==this._props[t]&&(this._dirty=!0,n===Ar?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),a&&this._instance&&this._update(),o)){const s=this._ob;s&&(this._processMutations(s.takeRecords()),s.disconnect()),n===!0?this.setAttribute(Xe(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Xe(t),n+""):n||this.removeAttribute(Xe(t)),s&&s.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Zg(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=Pe(this._def,Te(t,this._props));return this._instance||(n.ce=o=>{this._instance=o,o.ce=this,o.isCE=!0;const a=(s,i)=>{this.dispatchEvent(new CustomEvent(s,ro(i[0])?Te({detail:i},i[0]):{detail:i}))};o.emit=(s,...i)=>{a(s,i),Xe(s)!==s&&a(Xe(s),i)},this._setParent()}),n}_applyStyles(t,n,o){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const a=this._nonce,s=this.shadowRoot,i=o?this._getStyleAnchor(o)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(s);let r=null;for(let l=t.length-1;l>=0;l--){const c=document.createElement("style");a&&c.setAttribute("nonce",a),c.textContent=t[l],s.insertBefore(c,r||i),r=c,l===0&&(o||this._styleAnchors.set(this._def,c),n&&this._styleAnchors.set(n,c))}}_getStyleAnchor(t){if(!t)return null;const n=this._styleAnchors.get(t);return n&&n.parentNode===this.shadowRoot?n:(n&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let n=0;n{vr().render(...e)},kr=(...e)=>{const t=vr().createApp(...e),{mount:n}=t;return t.mount=o=>{const a=ed(o);if(!a)return;const s=t._component;!ne(s)&&!s.render&&!s.template&&(s.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const i=n(a,!1,Qg(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),i},t};function Qg(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ed(e){return Se(e)?document.querySelector(e):e}/*! +**/let xa;const ur=typeof window<"u"&&window.trustedTypes;if(ur)try{xa=ur.createPolicy("vue",{createHTML:e=>e})}catch{}const gr=xa?e=>xa.createHTML(e):e=>e,$g="http://www.w3.org/2000/svg",Lg="http://www.w3.org/1998/Math/MathML",It=typeof document<"u"?document:null,dr=It&&It.createElement("template"),wg={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const a=t==="svg"?It.createElementNS($g,e):t==="mathml"?It.createElementNS(Lg,e):n?It.createElement(e,{is:n}):It.createElement(e);return e==="select"&&o&&o.multiple!=null&&a.setAttribute("multiple",o.multiple),a},createText:e=>It.createTextNode(e),createComment:e=>It.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>It.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,a,s){const i=n?n.previousSibling:t.lastChild;if(a&&(a===s||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),n),!(a===s||!(a=a.nextSibling)););else{dr.innerHTML=gr(o==="svg"?`${e}`:o==="mathml"?`${e}`:e);const r=dr.content;if(o==="svg"||o==="mathml"){const l=r.firstChild;for(;l.firstChild;)r.appendChild(l.firstChild);r.removeChild(l)}t.insertBefore(r,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Cg=Symbol("_vtc");function Ng(e,t,n){const o=e[Cg];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const fr=Symbol("_vod"),Pg=Symbol("_vsh"),Mg=Symbol(""),Ig=/(?:^|;)\s*display\s*:/;function Rg(e,t,n){const o=e.style,a=ve(n);let s=!1;if(n&&!a){if(t)if(ve(t))for(const i of t.split(";")){const r=i.slice(0,i.indexOf(":")).trim();n[r]==null&&Xn(o,r,"")}else for(const i in t)n[i]==null&&Xn(o,i,"");for(const i in n){i==="display"&&(s=!0);const r=n[i];r!=null?Fg(e,i,!ve(t)&&t?t[i]:void 0,r)||Xn(o,i,r):Xn(o,i,"")}}else if(a){if(t!==n){const i=o[Mg];i&&(n+=";"+i),o.cssText=n,s=Ig.test(n)}}else t&&e.removeAttribute("style");fr in e&&(e[fr]=s?o.display:"",e[Pg]&&(o.display="none"))}const zo=/\s*!important$/;function Xn(e,t,n){if(Z(n))n.forEach(o=>Xn(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))zo.test(n)?e.setProperty(t,n.replace(zo,""),"important"):e.setProperty(t,n);else{const o=Dg(e,t);zo.test(n)?e.setProperty(Ze(o),n.replace(zo,""),"important"):e[o]=n}}const pr=["Webkit","Moz","ms"],ja={};function Dg(e,t){const n=ja[t];if(n)return n;let o=Pe(t);if(o!=="filter"&&o in e)return ja[t]=o;o=uo(o);for(let a=0;aBa||(Gg.then(()=>Ba=0),Ba=Date.now());function qg(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;const a=n.value;if(Z(a)){const s=o.stopImmediatePropagation;o.stopImmediatePropagation=()=>{s.call(o),o._stopped=!0};const i=a.slice(),r=[o];for(let l=0;le.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Hg=(e,t,n,o,a,s)=>{const i=a==="svg";t==="class"?Ng(e,o,i):t==="style"?Rg(e,n,o):ao(t)?so(t)||jg(e,t,n,o,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Vg(e,t,o,i))?(br(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&mr(e,t,o,i,s,t!=="value")):e._isVueCE&&(Wg(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ve(o)))?br(e,Pe(t),o,s,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),mr(e,t,o,i))};function Vg(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&yr(t)&&te(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return yr(t)&&ve(n)?!1:t in e}function Wg(e,t){const n=e._def.props;if(!n)return!1;const o=Pe(t);return Array.isArray(n)?n.some(a=>Pe(a)===o):Object.keys(n).some(a=>Pe(a)===o)}const Ar={};function Yg(e,t,n){let o=Bn(e,t);ro(o)&&(o=Ee({},o,t));class a extends Ka{constructor(i){super(o,i,n)}}return a.def=o,a}const Jg=typeof HTMLElement<"u"?HTMLElement:class{};class Ka extends Jg{constructor(t,n={},o=kr){super(),this._def=t,this._props=n,this._createApp=o,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&o!==kr?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(Ee({},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 Ka){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,Lo(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const n of t)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let o=0;o{this._resolved=!0,this._pendingResolve=void 0;const{props:s,styles:i}=o;let r;if(s&&!Z(s))for(const l in s){const c=s[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=xs(this._props[l])),(r||(r=Object.create(null)))[Pe(l)]=!0)}this._numberProps=r,this._resolveProps(o),this.shadowRoot&&this._applyStyles(i),this._mount(o)},n=this._def.__asyncLoader;if(n)return this._pendingResolve=n().then(o=>{o.configureApp=this._def.configureApp,t(this._def=o,!0)}),this._pendingResolve;t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const o in n)de(this,o)||Object.defineProperty(this,o,{get:()=>ko(n[o])})}_resolveProps(t){const{props:n}=t,o=Z(n)?n:Object.keys(n||{});for(const a of Object.keys(this))a[0]!=="_"&&o.includes(a)&&this._setProp(a,this[a]);for(const a of o.map(Pe))Object.defineProperty(this,a,{get(){return this._getProp(a)},set(s){this._setProp(a,s,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let o=n?this.getAttribute(t):Ar;const a=Pe(t);n&&this._numberProps&&this._numberProps[a]&&(o=xs(o)),this._setProp(a,o,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,o=!0,a=!1){if(n!==this._props[t]&&(this._dirty=!0,n===Ar?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),a&&this._instance&&this._update(),o)){const s=this._ob;s&&(this._processMutations(s.takeRecords()),s.disconnect()),n===!0?this.setAttribute(Ze(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Ze(t),n+""):n||this.removeAttribute(Ze(t)),s&&s.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Zg(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=Me(this._def,Ee(t,this._props));return this._instance||(n.ce=o=>{this._instance=o,o.ce=this,o.isCE=!0;const a=(s,i)=>{this.dispatchEvent(new CustomEvent(s,ro(i[0])?Ee({detail:i},i[0]):{detail:i}))};o.emit=(s,...i)=>{a(s,i),Ze(s)!==s&&a(Ze(s),i)},this._setParent()}),n}_applyStyles(t,n,o){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const a=this._nonce,s=this.shadowRoot,i=o?this._getStyleAnchor(o)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(s);let r=null;for(let l=t.length-1;l>=0;l--){const c=document.createElement("style");a&&c.setAttribute("nonce",a),c.textContent=t[l],s.insertBefore(c,r||i),r=c,l===0&&(o||this._styleAnchors.set(this._def,c),n&&this._styleAnchors.set(n,c))}}_getStyleAnchor(t){if(!t)return null;const n=this._styleAnchors.get(t);return n&&n.parentNode===this.shadowRoot?n:(n&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let n=0;n{vr().render(...e)},kr=(...e)=>{const t=vr().createApp(...e),{mount:n}=t;return t.mount=o=>{const a=ed(o);if(!a)return;const s=t._component;!te(s)&&!s.render&&!s.template&&(s.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const i=n(a,!1,Qg(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),i},t};function Qg(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ed(e){return ve(e)?document.querySelector(e):e}/*! * pinia v2.3.1 * (c) 2025 Eduardo San Martin Morote * @license MIT - */let Tr;const qo=e=>Tr=e,Er=Symbol();function Ua(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Zn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Zn||(Zn={}));function td(){const e=ca(!0),t=e.run(()=>pe({}));let n=[],o=[];const a=Fn({install(s){qo(a),a._a=s,s.provide(Er,a),s.config.globalProperties.$pinia=a,o.forEach(i=>n.push(i)),o=[]},use(s){return this._a?n.push(s):o.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return a}const $r=()=>{};function Lr(e,t,n,o=$r){e.push(t);const a=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),o())};return!n&&qs()&&Fc(a),a}function yn(e,...t){e.slice().forEach(n=>{n(...t)})}const nd=e=>e(),wr=Symbol(),Ga=Symbol();function za(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,o)=>e.set(o,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],a=e[n];Ua(a)&&Ua(o)&&e.hasOwnProperty(n)&&!ke(o)&&!Tt(o)?e[n]=za(a,o):e[n]=o}return e}const od=Symbol();function ad(e){return!Ua(e)||!e.hasOwnProperty(od)}const{assign:Gt}=Object;function sd(e){return!!(ke(e)&&e.effect)}function id(e,t,n,o){const{state:a,actions:s,getters:i}=t,r=n.state.value[e];let l;function c(){r||(n.state.value[e]=a?a():{});const u=au(n.state.value[e]);return Gt(u,s,Object.keys(i||{}).reduce((f,m)=>(f[m]=Fn(me(()=>{qo(n);const k=n._s.get(e);return i[m].call(k,k)})),f),{}))}return l=Cr(e,c,t,n,o,!0),l}function Cr(e,t,n={},o,a,s){let i;const r=Gt({actions:{}},n),l={deep:!0};let c,u,f=[],m=[],k;const N=o.state.value[e];!s&&!N&&(o.state.value[e]={});let v;function $(D){let S;c=u=!1,typeof D=="function"?(D(o.state.value[e]),S={type:Zn.patchFunction,storeId:e,events:k}):(za(o.state.value[e],D),S={type:Zn.patchObject,payload:D,storeId:e,events:k});const V=v=Symbol();Lo().then(()=>{v===V&&(c=!0)}),u=!0,yn(f,S,o.state.value[e])}const P=s?function(){const{state:S}=n,V=S?S():{};this.$patch(ae=>{Gt(ae,V)})}:$r;function T(){i.stop(),f=[],m=[],o._s.delete(e)}const _=(D,S="")=>{if(wr in D)return D[Ga]=S,D;const V=function(){qo(o);const ae=Array.from(arguments),z=[],te=[];function Y(q){z.push(q)}function F(q){te.push(q)}yn(m,{args:ae,name:V[Ga],store:L,after:Y,onError:F});let j;try{j=D.apply(this&&this.$id===e?this:L,ae)}catch(q){throw yn(te,q),q}return j instanceof Promise?j.then(q=>(yn(z,q),q)).catch(q=>(yn(te,q),Promise.reject(q))):(yn(z,j),j)};return V[wr]=!0,V[Ga]=S,V},b={_p:o,$id:e,$onAction:Lr.bind(null,m),$patch:$,$reset:P,$subscribe(D,S={}){const V=Lr(f,D,S.detached,()=>ae()),ae=i.run(()=>Ut(()=>o.state.value[e],z=>{(S.flush==="sync"?u:c)&&D({storeId:e,type:Zn.direct,events:k},z)},Gt({},l,S)));return V},$dispose:T},L=Ao(b);o._s.set(e,L);const C=(o._a&&o._a.runWithContext||nd)(()=>o._e.run(()=>(i=ca()).run(()=>t({action:_}))));for(const D in C){const S=C[D];if(ke(S)&&!sd(S)||Tt(S))s||(N&&ad(S)&&(ke(S)?S.value=N[D]:za(S,N[D])),o.state.value[e][D]=S);else if(typeof S=="function"){const V=_(S,D);C[D]=V,r.actions[D]=S}}return Gt(L,C),Gt(ce(L),C),Object.defineProperty(L,"$state",{get:()=>o.state.value[e],set:D=>{$(S=>{Gt(S,D)})}}),o._p.forEach(D=>{Gt(L,i.run(()=>D({store:L,app:o._a,pinia:o,options:r})))}),N&&s&&n.hydrate&&n.hydrate(L.$state,N),c=!0,u=!0,L}/*! #__NO_SIDE_EFFECTS__ */function qa(e,t,n){let o,a;const s=typeof t=="function";typeof e=="string"?(o=e,a=s?n:t):(a=e,o=e.id);function i(r,l){const c=yu();return r=r||(c?Ie(Er,null):null),r&&qo(r),r=Tr,r._s.has(o)||(s?Cr(o,t,a,r):id(o,a,r)),r._s.get(o)}return i.$id=o,i}const Ha="__doxaMapToken",Va="doxa:map-token",Nr="__doxaMapTokenBridge",An=()=>{if(typeof window>"u")return"";const e=window[Ha];return typeof e=="string"?e:""};function Pr(e){if(typeof window>"u")return"";const t=typeof e=="string"?e.trim():"";if(!t||t===An())return An();window[Ha]=t;try{window.dispatchEvent(new CustomEvent(Va,{detail:t}))}catch{}return t}function rd(){if(typeof window>"u"||window[Nr])return;const e=typeof window.MAP_TOKEN=="string"?window.MAP_TOKEN:"";e&&!An()&&(window[Ha]=e);try{Object.defineProperty(window,"MAP_TOKEN",{configurable:!0,get(){return An()},set(t){Pr(t)}}),window[Nr]=!0}catch{}}function ld(){rd();const e=pe(An());if(typeof window<"u"){const t=()=>{e.value=An()};window.addEventListener(Va,t);try{Ro(()=>window.removeEventListener(Va,t))}catch{}}return e}function cd(e){return Lu({loader:e,onError(t,n,o,a){a<=3?setTimeout(n,a*500):o()}})}const ud={backToLegend:"العودة إلى المفتاح",closeDetailView:"إغلاق عرض التفاصيل"},gd={prayForThem:"صلِّ من أجلهم",adoptThem:"تبنَّهم",moreInfo:"مزيد من المعلومات",zoomIn:"تكبير",zoomOut:"تصغير",switchToLightMode:"التبديل إلى الوضع الفاتح",switchToDarkMode:"التبديل إلى الوضع الداكن",resetView:"إعادة تعيين العرض",toggleFullscreen:"تبديل ملء الشاشة",aboutThisMap:"حول هذه الخريطة",closeMenu:"إغلاق القائمة",reloadMap:"إعادة تحميل الخريطة",showClusters:"إظهار المجموعات",clusterSettings:"إعدادات المجموعات",startAutoFly:"بدء الطيران التلقائي",stopFlight:"إيقاف الطيران",speedLabel:"السرعة:",speedOption:{slow:"بطيء",normal:"عادي",fast:"سريع"},shareEmbed:"مشاركة وتضمين"},dd={labels:{country:"الدولة:",population:"السكان:",language:"اللغة:",religion:"الديانة:",languageFamily:"العائلة اللغوية:",peopleCommitted:"ملتزمون بالصلاة:"},messages:{noDescription:"لا يوجد وصف متاح."}},fd={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:"اللغات"}},pd={menuComingSoon:"القائمة قادمة قريباً"},hd={clusterByRegion:"حسب منطقة Doxa",clusterByLanguageFamily:"حسب العائلة اللغوية",clusterByGospelResource:"حسب مورد الإنجيل"},md={header:"دورة الصلاة الحالية",lap:"الدورة",upgs:"UUPGs",separator:" من "},bd={placeholder:"شعب، مكان، لغة، ديانة",labels:{people:"الشعب:",place:"المكان:",language:"اللغة:",religion:"الديانة:"},kinds:{people:"الشعب + الدولة",peopleGroup:"الشعب",bloc:"كتلة التقارب",cluster:"مجموعة شعوب",country:"الدولة",region:"المنطقة",family:"عائلة اللغة",languageKind:"اللغة",dialect:"اللهجة",religionKind:"الدين"}},_d={prayer:"الصلاة",adoption:"التبني",engagement:"المشاركة","affinity-blocks":"الشعوب",regions:"المناطق",countries:"الدول","language-families":"اللغات",religion:"الأديان",family:"عائلة اللغة",language:"اللغة",dialect:"اللهجة/التنوع",bloc:"كتلة التقارب",cluster:"المجموعة",group:"الشعب",pgic:"الشعب في الدولة",region:"منطقة WAGF",block:"كتلة WAGF",country:"الدولة"},yd={backToLegend:"Zurück zur Legende",closeDetailView:"Detailansicht schließen"},Ad={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"},Sd={labels:{country:"Land:",population:"Bevölkerung:",language:"Sprache:",religion:"Religion:",languageFamily:"Sprachfamilie:",peopleCommitted:"Zum Gebet verpflichtet:"},messages:{noDescription:"Keine Beschreibung verfügbar."}},vd={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"}},kd={menuComingSoon:"Menü folgt in Kürze"},Td={clusterByRegion:"Nach Doxa-Region",clusterByLanguageFamily:"Nach Sprachfamilie",clusterByGospelResource:"Nach Evangeliumsressource"},Ed={header:"AKTUELLE GEBETSRUNDE",lap:"Runde",upgs:"UUPGs",separator:" von "},$d={placeholder:"Volk, Ort, Sprache, Religion",labels:{people:"Volk:",place:"Ort:",language:"Sprache:",religion:"Religion:"},sections:{within:"Innerhalb {selection}",allData:"Alle DOXA-Daten"}},Ld={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"},wd={backToLegend:"Back to Legend",closeDetailView:"Close detail view"},Cd={prayForThem:"Pray for them",adoptThem:"Adopt",moreInfo:"More info",zoomIn:"Zoom in",zoomOut:"Zoom out",switchToLightMode:"Switch to light mode",switchToDarkMode:"Switch to dark mode",resetView:"Reset view",toggleFullscreen:"Toggle fullscreen",aboutThisMap:"About this map",closeMenu:"Close menu",reloadMap:"Reload Map",showClusters:"Show Clusters",clusterSettings:"Cluster Settings",startAutoFly:"Start Auto Fly",stopFlight:"Stop Flight",speedLabel:"Speed:",speedOption:{slow:"Slow",normal:"Normal",fast:"Fast"},shareEmbed:"Share & embed",shareSteps:["Embed this map on your site","Create a list of the websites in your city","Train them to embed it too","Train them to train others to embed it too","Multiply maps everywhere for Jesus!"],share:"Share"},Nd={labels:{country:"Country:",population:"Population:",language:"Language:",religion:"Religion:",languageFamily:"Language Family:",peopleCommitted:"Committed to pray:"},messages:{noDescription:"No description available."}},Pd={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"}},Md={menuComingSoon:"Menu coming soon"},Id={clusterByRegion:"By Doxa Region",clusterByLanguageFamily:"By Language Family",clusterByGospelResource:"By Gospel Resource"},Rd={country:{wagfRegion:"WAGF Region",wagfBlock:"WAGF Bloc",country:"Country",uupgCount:"UUPG Count"}},Dd={header:"CURRENT PRAYER LAP",lap:"Lap",upgs:"UUPGs",separator:" of "},Fd={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"}},Od={prayer:"Prayer",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"People Groups (Affinity)",regions:"Regions",countries:"Countries","language-families":"Languages",religion:"Religions",family:"Lang Family",language:"Language",dialect:"Dialect/Variety",bloc:"Affinity Block",cluster:"Cluster",group:"People Group",pgic:"PG in Country",region:"WAGF Region",block:"WAGF Bloc",country:"Country"},xd={backToLegend:"Volver a la leyenda",closeDetailView:"Cerrar vista de detalle"},jd={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"},Bd={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."}},Kd={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"}},Ud={menuComingSoon:"Menú próximamente"},Gd={clusterByRegion:"Por región Doxa",clusterByLanguageFamily:"Por familia lingüística",clusterByGospelResource:"Por recurso del Evangelio"},zd={header:"VUELTA DE ORACIÓN ACTUAL",lap:"Vuelta",upgs:"UUPGs",separator:" de "},qd={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"}},Hd={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"},Vd={backToLegend:"Retour à la légende",closeDetailView:"Fermer la vue détaillée"},Wd={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"},Yd={labels:{country:"Pays :",population:"Population :",language:"Langue :",religion:"Religion :",languageFamily:"Famille de langues :",peopleCommitted:"Engagés à prier :"},messages:{noDescription:"Aucune description disponible."}},Jd={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"}},Xd={menuComingSoon:"Menu bientôt disponible"},Zd={clusterByRegion:"Par région Doxa",clusterByLanguageFamily:"Par famille de langues",clusterByGospelResource:"Par ressource de l'Évangile"},Qd={country:{wagfRegion:"Région WAGF",wagfBlock:"Bloc WAGF",country:"Pays",uupgCount:"Nombre d'UUPG"}},ef={header:"TOUR DE PRIÈRE ACTUEL",lap:"Tour",upgs:"UUPGs",separator:" sur "},tf={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"}},nf={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"},of={backToLegend:"लेजेंड पर वापस जाएं",closeDetailView:"विवरण दृश्य बंद करें"},af={prayForThem:"उनके लिए प्रार्थना करें",adoptThem:"उन्हें गोद लें",moreInfo:"अधिक जानकारी",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",switchToLightMode:"लाइट मोड पर जाएं",switchToDarkMode:"डार्क मोड पर जाएं",resetView:"दृश्य रीसेट करें",toggleFullscreen:"फ़ुलस्क्रीन टॉगल करें",aboutThisMap:"इस मानचित्र के बारे में",closeMenu:"मेनू बंद करें",reloadMap:"मानचित्र पुनः लोड करें",showClusters:"क्लस्टर दिखाएं",clusterSettings:"क्लस्टर सेटिंग्स",startAutoFly:"ऑटो फ्लाई शुरू करें",stopFlight:"उड़ान रोकें",speedLabel:"गति:",speedOption:{slow:"धीमी",normal:"सामान्य",fast:"तेज़"},shareEmbed:"साझा करें और एम्बेड करें"},sf={labels:{country:"देश:",population:"जनसंख्या:",language:"भाषा:",religion:"धर्म:",languageFamily:"भाषा परिवार:",peopleCommitted:"प्रार्थना के लिए प्रतिबद्ध:"},messages:{noDescription:"कोई विवरण उपलब्ध नहीं है।"}},rf={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:"कुल"}},lf={menuComingSoon:"मेनू शीघ्र आ रहा है"},cf={clusterByRegion:"Doxa क्षेत्र के अनुसार",clusterByLanguageFamily:"भाषा परिवार के अनुसार",clusterByGospelResource:"सुसमाचार संसाधन के अनुसार"},uf={header:"वर्तमान प्रार्थना चक्र",lap:"चक्र",upgs:"UUPGs",separator:" में से "},gf={placeholder:"लोग, स्थान, भाषा, धर्म",labels:{people:"लोग:",place:"स्थान:",language:"भाषा:",religion:"धर्म:"}},df={backToLegend:"Torna alla legenda",closeDetailView:"Chiudi vista dettaglio"},ff={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."}},hf={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"}},mf={menuComingSoon:"Menu in arrivo"},bf={clusterByRegion:"Per regione Doxa",clusterByLanguageFamily:"Per famiglia linguistica",clusterByGospelResource:"Per risorsa del Vangelo"},_f={header:"GIRO DI PREGHIERA ATTUALE",lap:"Giro",upgs:"UUPGs",separator:" di "},yf={placeholder:"Popolo, luogo, lingua, religione",labels:{people:"Popolo:",place:"Luogo:",language:"Lingua:",religion:"Religione:"}},Af={backToLegend:"Voltar à legenda",closeDetailView:"Fechar vista de detalhe"},Sf={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"},vf={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."}},kf={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"}},Tf={menuComingSoon:"Menu em breve"},Ef={clusterByRegion:"Por região Doxa",clusterByLanguageFamily:"Por família linguística",clusterByGospelResource:"Por recurso do Evangelho"},$f={header:"VOLTA DE ORAÇÃO ATUAL",lap:"Volta",upgs:"UUPGs",separator:" de "},Lf={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"}},wf={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"},Cf={backToLegend:"Înapoi la legendă",closeDetailView:"Închide vizualizarea detaliată"},Nf={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ă"},Pf={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ă."}},Mf={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"}},If={menuComingSoon:"Meniu în curând"},Rf={clusterByRegion:"După regiune Doxa",clusterByLanguageFamily:"După familia de limbi",clusterByGospelResource:"După resursa Evangheliei"},Df={header:"TURUL DE RUGĂCIUNE CURENT",lap:"Tur",upgs:"UUPGs",separator:" din "},Ff={placeholder:"Popor, loc, limbă, religie",labels:{people:"Popor:",place:"Loc:",language:"Limbă:",religion:"Religie:"}},Of={backToLegend:"Назад к легенде",closeDetailView:"Закрыть подробный вид"},xf={prayForThem:"Молитесь о них",adoptThem:"Усыновите их",moreInfo:"Подробнее",zoomIn:"Приблизить",zoomOut:"Отдалить",switchToLightMode:"Переключить на светлый режим",switchToDarkMode:"Переключить на тёмный режим",resetView:"Сбросить вид",toggleFullscreen:"Полноэкранный режим",aboutThisMap:"Об этой карте",closeMenu:"Закрыть меню",reloadMap:"Перезагрузить карту",showClusters:"Показать кластеры",clusterSettings:"Настройки кластеров",startAutoFly:"Начать авто-полёт",stopFlight:"Остановить полёт",speedLabel:"Скорость:",speedOption:{slow:"Медленно",normal:"Нормально",fast:"Быстро"},shareEmbed:"Поделиться и встроить"},jf={labels:{country:"Страна:",population:"Население:",language:"Язык:",religion:"Религия:",languageFamily:"Языковая семья:",peopleCommitted:"Обязались молиться:"},messages:{noDescription:"Описание недоступно."}},Bf={title:{prayer:"Прогресс молитвы",engagement:"Прогресс вовлечённости",adoption:"Прогресс усыновления",languageFamilies:"Языковые семьи",doxaRegions:"Регионы Doxa",affinityBlocs:"Блоки родства",gospelResources:"Евангельские ресурсы"},header:{collapsed:"Условные обозначения",peopleGroupFallback:"Народная группа"},prayer:{needsPrayer:"Нуждается в молитве",hasPrayer:"Есть молитва",fullPrayerCoverage:"Полное молитвенное покрытие"},progress:{title:"Прогресс",covered:"{covered} из {total} народных групп охвачены молитвой · {pct}%",short:"{covered} из {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"Нуждается в вовлечённости",hasEngagement:"Есть вовлечённость"},adoption:{needsAdoption:"Нуждается в усыновлении",hasAdoption:"Есть усыновление"},columns:{upgs:"UUPGs",population:"Население",name:"Название"},footer:{total:"Всего"},sortByUpgs:"Сортировать по UUPG",sortByPop:"Сортировать по населению",colLabel:{religion:"Религии UUPG",prayer:"Статус молитвы",engagement:"Статус вовлечённости",adoption:"Статус усыновления",status:"Статус"},titleBar:{legend:"Легенда",peopleGroups:"Народы",wagfRegions:"Регионы WAGF",languages:"Языки"}},Kf={menuComingSoon:"Меню скоро появится"},Uf={clusterByRegion:"По региону Doxa",clusterByLanguageFamily:"По языковой семье",clusterByGospelResource:"По евангельскому ресурсу"},Gf={header:"ТЕКУЩИЙ КРУГ МОЛИТВЫ",lap:"Круг",upgs:"UUPGs",separator:" из "},zf={placeholder:"Народ, место, язык, религия",labels:{people:"Народ:",place:"Место:",language:"Язык:",religion:"Религия:"},kinds:{people:"Народ + страна",peopleGroup:"Народ",bloc:"Блок родства",cluster:"Кластер народов",country:"Страна",region:"Регион",family:"Языковая семья",languageKind:"Язык",dialect:"Диалект",religionKind:"Религия"}},qf={prayer:"Молитва",adoption:"Усыновление",engagement:"Вовлечённость","affinity-blocks":"Народы",regions:"Регионы",countries:"Страны","language-families":"Языки",religion:"Религии",family:"Языковая семья",language:"Язык",dialect:"Диалект/вариант",bloc:"Блок родства",cluster:"Кластер",group:"Народ",pgic:"Народ в стране",region:"Регион WAGF",block:"Блок WAGF",country:"Страна"},Hf={backToLegend:"返回图例",closeDetailView:"关闭详情视图"},Vf={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:"暂无描述。"}},Yf={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:"总计"}},Jf={menuComingSoon:"菜单即将推出"},Xf={clusterByRegion:"按 Doxa 区域",clusterByLanguageFamily:"按语系",clusterByGospelResource:"按福音资源"},Zf={header:"当前祷告轮次",lap:"第",upgs:"UUPGs",separator:" / "},Qf={placeholder:"民族、地点、语言、宗教",labels:{people:"民族:",place:"地点:",language:"语言:",religion:"宗教:"}};/*! + */let Tr;const qo=e=>Tr=e,Er=Symbol();function Ua(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Zn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Zn||(Zn={}));function td(){const e=ca(!0),t=e.run(()=>he({}));let n=[],o=[];const a=Fn({install(s){qo(a),a._a=s,s.provide(Er,a),s.config.globalProperties.$pinia=a,o.forEach(i=>n.push(i)),o=[]},use(s){return this._a?n.push(s):o.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return a}const $r=()=>{};function Lr(e,t,n,o=$r){e.push(t);const a=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),o())};return!n&&qs()&&Fc(a),a}function yn(e,...t){e.slice().forEach(n=>{n(...t)})}const nd=e=>e(),wr=Symbol(),Ga=Symbol();function za(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,o)=>e.set(o,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],a=e[n];Ua(a)&&Ua(o)&&e.hasOwnProperty(n)&&!Te(o)&&!Et(o)?e[n]=za(a,o):e[n]=o}return e}const od=Symbol();function ad(e){return!Ua(e)||!e.hasOwnProperty(od)}const{assign:Gt}=Object;function sd(e){return!!(Te(e)&&e.effect)}function id(e,t,n,o){const{state:a,actions:s,getters:i}=t,r=n.state.value[e];let l;function c(){r||(n.state.value[e]=a?a():{});const u=au(n.state.value[e]);return Gt(u,s,Object.keys(i||{}).reduce((f,m)=>(f[m]=Fn(be(()=>{qo(n);const k=n._s.get(e);return i[m].call(k,k)})),f),{}))}return l=Cr(e,c,t,n,o,!0),l}function Cr(e,t,n={},o,a,s){let i;const r=Gt({actions:{}},n),l={deep:!0};let c,u,f=[],m=[],k;const N=o.state.value[e];!s&&!N&&(o.state.value[e]={});let v;function $(D){let S;c=u=!1,typeof D=="function"?(D(o.state.value[e]),S={type:Zn.patchFunction,storeId:e,events:k}):(za(o.state.value[e],D),S={type:Zn.patchObject,payload:D,storeId:e,events:k});const V=v=Symbol();Lo().then(()=>{v===V&&(c=!0)}),u=!0,yn(f,S,o.state.value[e])}const P=s?function(){const{state:S}=n,V=S?S():{};this.$patch(ae=>{Gt(ae,V)})}:$r;function T(){i.stop(),f=[],m=[],o._s.delete(e)}const _=(D,S="")=>{if(wr in D)return D[Ga]=S,D;const V=function(){qo(o);const ae=Array.from(arguments),z=[],ee=[];function Y(q){z.push(q)}function F(q){ee.push(q)}yn(m,{args:ae,name:V[Ga],store:L,after:Y,onError:F});let j;try{j=D.apply(this&&this.$id===e?this:L,ae)}catch(q){throw yn(ee,q),q}return j instanceof Promise?j.then(q=>(yn(z,q),q)).catch(q=>(yn(ee,q),Promise.reject(q))):(yn(z,j),j)};return V[wr]=!0,V[Ga]=S,V},b={_p:o,$id:e,$onAction:Lr.bind(null,m),$patch:$,$reset:P,$subscribe(D,S={}){const V=Lr(f,D,S.detached,()=>ae()),ae=i.run(()=>Ut(()=>o.state.value[e],z=>{(S.flush==="sync"?u:c)&&D({storeId:e,type:Zn.direct,events:k},z)},Gt({},l,S)));return V},$dispose:T},L=Ao(b);o._s.set(e,L);const C=(o._a&&o._a.runWithContext||nd)(()=>o._e.run(()=>(i=ca()).run(()=>t({action:_}))));for(const D in C){const S=C[D];if(Te(S)&&!sd(S)||Et(S))s||(N&&ad(S)&&(Te(S)?S.value=N[D]:za(S,N[D])),o.state.value[e][D]=S);else if(typeof S=="function"){const V=_(S,D);C[D]=V,r.actions[D]=S}}return Gt(L,C),Gt(ce(L),C),Object.defineProperty(L,"$state",{get:()=>o.state.value[e],set:D=>{$(S=>{Gt(S,D)})}}),o._p.forEach(D=>{Gt(L,i.run(()=>D({store:L,app:o._a,pinia:o,options:r})))}),N&&s&&n.hydrate&&n.hydrate(L.$state,N),c=!0,u=!0,L}/*! #__NO_SIDE_EFFECTS__ */function qa(e,t,n){let o,a;const s=typeof t=="function";typeof e=="string"?(o=e,a=s?n:t):(a=e,o=e.id);function i(r,l){const c=yu();return r=r||(c?De(Er,null):null),r&&qo(r),r=Tr,r._s.has(o)||(s?Cr(o,t,a,r):id(o,a,r)),r._s.get(o)}return i.$id=o,i}const Ha="__doxaMapToken",Va="doxa:map-token",Nr="__doxaMapTokenBridge",An=()=>{if(typeof window>"u")return"";const e=window[Ha];return typeof e=="string"?e:""};function Pr(e){if(typeof window>"u")return"";const t=typeof e=="string"?e.trim():"";if(!t||t===An())return An();window[Ha]=t;try{window.dispatchEvent(new CustomEvent(Va,{detail:t}))}catch{}return t}function rd(){if(typeof window>"u"||window[Nr])return;const e=typeof window.MAP_TOKEN=="string"?window.MAP_TOKEN:"";e&&!An()&&(window[Ha]=e);try{Object.defineProperty(window,"MAP_TOKEN",{configurable:!0,get(){return An()},set(t){Pr(t)}}),window[Nr]=!0}catch{}}function ld(){rd();const e=he(An());if(typeof window<"u"){const t=()=>{e.value=An()};window.addEventListener(Va,t);try{Ro(()=>window.removeEventListener(Va,t))}catch{}}return e}function cd(e){return Lu({loader:e,onError(t,n,o,a){a<=3?setTimeout(n,a*500):o()}})}const ud={backToLegend:"العودة إلى المفتاح",closeDetailView:"إغلاق عرض التفاصيل"},gd={prayForThem:"صلِّ من أجلهم",adoptThem:"تبنَّهم",moreInfo:"مزيد من المعلومات",zoomIn:"تكبير",zoomOut:"تصغير",switchToLightMode:"التبديل إلى الوضع الفاتح",switchToDarkMode:"التبديل إلى الوضع الداكن",resetView:"إعادة تعيين العرض",toggleFullscreen:"تبديل ملء الشاشة",aboutThisMap:"حول هذه الخريطة",closeMenu:"إغلاق القائمة",reloadMap:"إعادة تحميل الخريطة",showClusters:"إظهار المجموعات",clusterSettings:"إعدادات المجموعات",startAutoFly:"بدء الطيران التلقائي",stopFlight:"إيقاف الطيران",speedLabel:"السرعة:",speedOption:{slow:"بطيء",normal:"عادي",fast:"سريع"},shareEmbed:"مشاركة وتضمين"},dd={labels:{country:"الدولة:",population:"السكان:",language:"اللغة:",religion:"الديانة:",languageFamily:"العائلة اللغوية:",peopleCommitted:"ملتزمون بالصلاة:"},messages:{noDescription:"لا يوجد وصف متاح."}},fd={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:"اللغات"}},pd={menuComingSoon:"القائمة قادمة قريباً"},hd={clusterByRegion:"حسب منطقة Doxa",clusterByLanguageFamily:"حسب العائلة اللغوية",clusterByGospelResource:"حسب مورد الإنجيل"},md={header:"دورة الصلاة الحالية",lap:"الدورة",upgs:"UUPGs",separator:" من "},bd={placeholder:"شعب، مكان، لغة، ديانة",labels:{people:"الشعب:",place:"المكان:",language:"اللغة:",religion:"الديانة:"},kinds:{people:"الشعب + الدولة",peopleGroup:"الشعب",bloc:"كتلة التقارب",cluster:"مجموعة شعوب",country:"الدولة",region:"المنطقة",family:"عائلة اللغة",languageKind:"اللغة",dialect:"اللهجة",religionKind:"الدين"}},_d={prayer:"الصلاة",adoption:"التبني",engagement:"المشاركة","affinity-blocks":"الشعوب",regions:"المناطق",countries:"الدول","language-families":"اللغات",religion:"الأديان",family:"عائلة اللغة",language:"اللغة",dialect:"اللهجة/التنوع",bloc:"كتلة التقارب",cluster:"المجموعة",group:"الشعب",pgic:"الشعب في الدولة",region:"منطقة WAGF",block:"كتلة WAGF",country:"الدولة"},yd={backToLegend:"Zurück zur Legende",closeDetailView:"Detailansicht schließen"},Ad={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"},Sd={labels:{country:"Land:",population:"Bevölkerung:",language:"Sprache:",religion:"Religion:",languageFamily:"Sprachfamilie:",peopleCommitted:"Zum Gebet verpflichtet:"},messages:{noDescription:"Keine Beschreibung verfügbar."}},vd={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"}},kd={menuComingSoon:"Menü folgt in Kürze"},Td={clusterByRegion:"Nach Doxa-Region",clusterByLanguageFamily:"Nach Sprachfamilie",clusterByGospelResource:"Nach Evangeliumsressource"},Ed={header:"AKTUELLE GEBETSRUNDE",lap:"Runde",upgs:"UUPGs",separator:" von "},$d={placeholder:"Volk, Ort, Sprache, Religion",labels:{people:"Volk:",place:"Ort:",language:"Sprache:",religion:"Religion:"},sections:{within:"Innerhalb {selection}",allData:"Alle DOXA-Daten"}},Ld={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"},wd={backToLegend:"Back to Legend",closeDetailView:"Close detail view"},Cd={prayForThem:"Pray for them",adoptThem:"Adopt",moreInfo:"More info",zoomIn:"Zoom in",zoomOut:"Zoom out",switchToLightMode:"Switch to light mode",switchToDarkMode:"Switch to dark mode",resetView:"Reset view",toggleFullscreen:"Toggle fullscreen",aboutThisMap:"About this map",closeMenu:"Close menu",reloadMap:"Reload Map",showClusters:"Show Clusters",clusterSettings:"Cluster Settings",startAutoFly:"Start Auto Fly",stopFlight:"Stop Flight",speedLabel:"Speed:",speedOption:{slow:"Slow",normal:"Normal",fast:"Fast"},shareEmbed:"Share & embed",shareSteps:["Embed this map on your site","Create a list of the websites in your city","Train them to embed it too","Train them to train others to embed it too","Multiply maps everywhere for Jesus!"],share:"Share"},Nd={labels:{country:"Country:",population:"Population:",language:"Language:",religion:"Religion:",languageFamily:"Language Family:",peopleCommitted:"Committed to pray:"},messages:{noDescription:"No description available."}},Pd={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"}},Md={menuComingSoon:"Menu coming soon"},Id={clusterByRegion:"By Doxa Region",clusterByLanguageFamily:"By Language Family",clusterByGospelResource:"By Gospel Resource"},Rd={country:{wagfRegion:"WAGF Region",wagfBlock:"WAGF Bloc",country:"Country",uupgCount:"UUPG Count"}},Dd={header:"CURRENT PRAYER LAP",lap:"Lap",upgs:"UUPGs",separator:" of "},Fd={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"}},Od={prayer:"Prayer",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"People Groups (Affinity)",regions:"Regions",countries:"Countries","language-families":"Languages",religion:"Religions",family:"Lang Family",language:"Language",dialect:"Dialect/Variety",bloc:"Affinity Block",cluster:"Cluster",group:"People Group",pgic:"PG in Country",region:"WAGF Region",block:"WAGF Bloc",country:"Country"},xd={backToLegend:"Volver a la leyenda",closeDetailView:"Cerrar vista de detalle"},jd={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"},Bd={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."}},Kd={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"}},Ud={menuComingSoon:"Menú próximamente"},Gd={clusterByRegion:"Por región Doxa",clusterByLanguageFamily:"Por familia lingüística",clusterByGospelResource:"Por recurso del Evangelio"},zd={header:"VUELTA DE ORACIÓN ACTUAL",lap:"Vuelta",upgs:"UUPGs",separator:" de "},qd={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"}},Hd={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"},Vd={backToLegend:"Retour à la légende",closeDetailView:"Fermer la vue détaillée"},Wd={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"},Yd={labels:{country:"Pays :",population:"Population :",language:"Langue :",religion:"Religion :",languageFamily:"Famille de langues :",peopleCommitted:"Engagés à prier :"},messages:{noDescription:"Aucune description disponible."}},Jd={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"}},Xd={menuComingSoon:"Menu bientôt disponible"},Zd={clusterByRegion:"Par région Doxa",clusterByLanguageFamily:"Par famille de langues",clusterByGospelResource:"Par ressource de l'Évangile"},Qd={country:{wagfRegion:"Région WAGF",wagfBlock:"Bloc WAGF",country:"Pays",uupgCount:"Nombre d'UUPG"}},ef={header:"TOUR DE PRIÈRE ACTUEL",lap:"Tour",upgs:"UUPGs",separator:" sur "},tf={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"}},nf={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"},of={backToLegend:"लेजेंड पर वापस जाएं",closeDetailView:"विवरण दृश्य बंद करें"},af={prayForThem:"उनके लिए प्रार्थना करें",adoptThem:"उन्हें गोद लें",moreInfo:"अधिक जानकारी",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",switchToLightMode:"लाइट मोड पर जाएं",switchToDarkMode:"डार्क मोड पर जाएं",resetView:"दृश्य रीसेट करें",toggleFullscreen:"फ़ुलस्क्रीन टॉगल करें",aboutThisMap:"इस मानचित्र के बारे में",closeMenu:"मेनू बंद करें",reloadMap:"मानचित्र पुनः लोड करें",showClusters:"क्लस्टर दिखाएं",clusterSettings:"क्लस्टर सेटिंग्स",startAutoFly:"ऑटो फ्लाई शुरू करें",stopFlight:"उड़ान रोकें",speedLabel:"गति:",speedOption:{slow:"धीमी",normal:"सामान्य",fast:"तेज़"},shareEmbed:"साझा करें और एम्बेड करें"},sf={labels:{country:"देश:",population:"जनसंख्या:",language:"भाषा:",religion:"धर्म:",languageFamily:"भाषा परिवार:",peopleCommitted:"प्रार्थना के लिए प्रतिबद्ध:"},messages:{noDescription:"कोई विवरण उपलब्ध नहीं है।"}},rf={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:"कुल"}},lf={menuComingSoon:"मेनू शीघ्र आ रहा है"},cf={clusterByRegion:"Doxa क्षेत्र के अनुसार",clusterByLanguageFamily:"भाषा परिवार के अनुसार",clusterByGospelResource:"सुसमाचार संसाधन के अनुसार"},uf={header:"वर्तमान प्रार्थना चक्र",lap:"चक्र",upgs:"UUPGs",separator:" में से "},gf={placeholder:"लोग, स्थान, भाषा, धर्म",labels:{people:"लोग:",place:"स्थान:",language:"भाषा:",religion:"धर्म:"}},df={backToLegend:"Torna alla legenda",closeDetailView:"Chiudi vista dettaglio"},ff={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."}},hf={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"}},mf={menuComingSoon:"Menu in arrivo"},bf={clusterByRegion:"Per regione Doxa",clusterByLanguageFamily:"Per famiglia linguistica",clusterByGospelResource:"Per risorsa del Vangelo"},_f={header:"GIRO DI PREGHIERA ATTUALE",lap:"Giro",upgs:"UUPGs",separator:" di "},yf={placeholder:"Popolo, luogo, lingua, religione",labels:{people:"Popolo:",place:"Luogo:",language:"Lingua:",religion:"Religione:"}},Af={backToLegend:"Voltar à legenda",closeDetailView:"Fechar vista de detalhe"},Sf={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"},vf={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."}},kf={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"}},Tf={menuComingSoon:"Menu em breve"},Ef={clusterByRegion:"Por região Doxa",clusterByLanguageFamily:"Por família linguística",clusterByGospelResource:"Por recurso do Evangelho"},$f={header:"VOLTA DE ORAÇÃO ATUAL",lap:"Volta",upgs:"UUPGs",separator:" de "},Lf={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"}},wf={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"},Cf={backToLegend:"Înapoi la legendă",closeDetailView:"Închide vizualizarea detaliată"},Nf={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ă"},Pf={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ă."}},Mf={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"}},If={menuComingSoon:"Meniu în curând"},Rf={clusterByRegion:"După regiune Doxa",clusterByLanguageFamily:"După familia de limbi",clusterByGospelResource:"După resursa Evangheliei"},Df={header:"TURUL DE RUGĂCIUNE CURENT",lap:"Tur",upgs:"UUPGs",separator:" din "},Ff={placeholder:"Popor, loc, limbă, religie",labels:{people:"Popor:",place:"Loc:",language:"Limbă:",religion:"Religie:"}},Of={backToLegend:"Назад к легенде",closeDetailView:"Закрыть подробный вид"},xf={prayForThem:"Молитесь о них",adoptThem:"Усыновите их",moreInfo:"Подробнее",zoomIn:"Приблизить",zoomOut:"Отдалить",switchToLightMode:"Переключить на светлый режим",switchToDarkMode:"Переключить на тёмный режим",resetView:"Сбросить вид",toggleFullscreen:"Полноэкранный режим",aboutThisMap:"Об этой карте",closeMenu:"Закрыть меню",reloadMap:"Перезагрузить карту",showClusters:"Показать кластеры",clusterSettings:"Настройки кластеров",startAutoFly:"Начать авто-полёт",stopFlight:"Остановить полёт",speedLabel:"Скорость:",speedOption:{slow:"Медленно",normal:"Нормально",fast:"Быстро"},shareEmbed:"Поделиться и встроить"},jf={labels:{country:"Страна:",population:"Население:",language:"Язык:",religion:"Религия:",languageFamily:"Языковая семья:",peopleCommitted:"Обязались молиться:"},messages:{noDescription:"Описание недоступно."}},Bf={title:{prayer:"Прогресс молитвы",engagement:"Прогресс вовлечённости",adoption:"Прогресс усыновления",languageFamilies:"Языковые семьи",doxaRegions:"Регионы Doxa",affinityBlocs:"Блоки родства",gospelResources:"Евангельские ресурсы"},header:{collapsed:"Условные обозначения",peopleGroupFallback:"Народная группа"},prayer:{needsPrayer:"Нуждается в молитве",hasPrayer:"Есть молитва",fullPrayerCoverage:"Полное молитвенное покрытие"},progress:{title:"Прогресс",covered:"{covered} из {total} народных групп охвачены молитвой · {pct}%",short:"{covered} из {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"Нуждается в вовлечённости",hasEngagement:"Есть вовлечённость"},adoption:{needsAdoption:"Нуждается в усыновлении",hasAdoption:"Есть усыновление"},columns:{upgs:"UUPGs",population:"Население",name:"Название"},footer:{total:"Всего"},sortByUpgs:"Сортировать по UUPG",sortByPop:"Сортировать по населению",colLabel:{religion:"Религии UUPG",prayer:"Статус молитвы",engagement:"Статус вовлечённости",adoption:"Статус усыновления",status:"Статус"},titleBar:{legend:"Легенда",peopleGroups:"Народы",wagfRegions:"Регионы WAGF",languages:"Языки"}},Kf={menuComingSoon:"Меню скоро появится"},Uf={clusterByRegion:"По региону Doxa",clusterByLanguageFamily:"По языковой семье",clusterByGospelResource:"По евангельскому ресурсу"},Gf={header:"ТЕКУЩИЙ КРУГ МОЛИТВЫ",lap:"Круг",upgs:"UUPGs",separator:" из "},zf={placeholder:"Народ, место, язык, религия",labels:{people:"Народ:",place:"Место:",language:"Язык:",religion:"Религия:"},kinds:{people:"Народ + страна",peopleGroup:"Народ",bloc:"Блок родства",cluster:"Кластер народов",country:"Страна",region:"Регион",family:"Языковая семья",languageKind:"Язык",dialect:"Диалект",religionKind:"Религия"}},qf={prayer:"Молитва",adoption:"Усыновление",engagement:"Вовлечённость","affinity-blocks":"Народы",regions:"Регионы",countries:"Страны","language-families":"Языки",religion:"Религии",family:"Языковая семья",language:"Язык",dialect:"Диалект/вариант",bloc:"Блок родства",cluster:"Кластер",group:"Народ",pgic:"Народ в стране",region:"Регион WAGF",block:"Блок WAGF",country:"Страна"},Hf={backToLegend:"返回图例",closeDetailView:"关闭详情视图"},Vf={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:"暂无描述。"}},Yf={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:"总计"}},Jf={menuComingSoon:"菜单即将推出"},Xf={clusterByRegion:"按 Doxa 区域",clusterByLanguageFamily:"按语系",clusterByGospelResource:"按福音资源"},Zf={header:"当前祷告轮次",lap:"第",upgs:"UUPGs",separator:" / "},Qf={placeholder:"民族、地点、语言、宗教",labels:{people:"民族:",place:"地点:",language:"语言:",religion:"宗教:"}};/*! * shared v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function ep(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ho=typeof window<"u",zt=(e,t=!1)=>t?Symbol.for(e):Symbol(e),tp=(e,t,n)=>np({l:e,k:t,s:n}),np=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ee=e=>typeof e=="number"&&isFinite(e),op=e=>Fr(e)==="[object Date]",qt=e=>Fr(e)==="[object RegExp]",Vo=e=>oe(e)&&Object.keys(e).length===0,De=Object.assign,ap=Object.create,he=(e=null)=>ap(e);let Mr;const It=()=>Mr||(Mr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:he());function Ir(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function Rr(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function sp(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(o,a,s)=>`${a}="${Rr(s)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(o,a,s)=>`${a}='${Rr(s)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(o=>{e=e.replace(o,"$1javascript:")}),e}const ip=Object.prototype.hasOwnProperty;function rt(e,t){return ip.call(e,t)}const ve=Array.isArray,ye=e=>typeof e=="function",H=e=>typeof e=="string",le=e=>typeof e=="boolean",ue=e=>e!==null&&typeof e=="object",rp=e=>ue(e)&&ye(e.then)&&ye(e.catch),Dr=Object.prototype.toString,Fr=e=>Dr.call(e),oe=e=>{if(!ue(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},lp=e=>e==null?"":ve(e)||oe(e)&&e.toString===Dr?JSON.stringify(e,null,2):String(e);function cp(e,t=""){return e.reduce((n,o,a)=>a===0?n+o:n+t+o,"")}function Wo(e){let t=e;return()=>++t}const Yo=e=>!ue(e)||ve(e);function Jo(e,t){if(Yo(e)||Yo(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:o,des:a}=n.pop();Object.keys(o).forEach(s=>{s!=="__proto__"&&(ue(o[s])&&!ue(a[s])&&(a[s]=Array.isArray(o[s])?[]:he()),Yo(a[s])||Yo(o[s])?a[s]=o[s]:n.push({src:o[s],des:a[s]}))})}}/*! + */function ep(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ho=typeof window<"u",zt=(e,t=!1)=>t?Symbol.for(e):Symbol(e),tp=(e,t,n)=>np({l:e,k:t,s:n}),np=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),$e=e=>typeof e=="number"&&isFinite(e),op=e=>Fr(e)==="[object Date]",qt=e=>Fr(e)==="[object RegExp]",Vo=e=>ne(e)&&Object.keys(e).length===0,Oe=Object.assign,ap=Object.create,me=(e=null)=>ap(e);let Mr;const Rt=()=>Mr||(Mr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:me());function Ir(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function Rr(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function sp(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(o,a,s)=>`${a}="${Rr(s)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(o,a,s)=>`${a}='${Rr(s)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(o=>{e=e.replace(o,"$1javascript:")}),e}const ip=Object.prototype.hasOwnProperty;function lt(e,t){return ip.call(e,t)}const ke=Array.isArray,Ae=e=>typeof e=="function",H=e=>typeof e=="string",re=e=>typeof e=="boolean",ue=e=>e!==null&&typeof e=="object",rp=e=>ue(e)&&Ae(e.then)&&Ae(e.catch),Dr=Object.prototype.toString,Fr=e=>Dr.call(e),ne=e=>{if(!ue(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},lp=e=>e==null?"":ke(e)||ne(e)&&e.toString===Dr?JSON.stringify(e,null,2):String(e);function cp(e,t=""){return e.reduce((n,o,a)=>a===0?n+o:n+t+o,"")}function Wo(e){let t=e;return()=>++t}const Yo=e=>!ue(e)||ke(e);function Jo(e,t){if(Yo(e)||Yo(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:o,des:a}=n.pop();Object.keys(o).forEach(s=>{s!=="__proto__"&&(ue(o[s])&&!ue(a[s])&&(a[s]=Array.isArray(o[s])?[]:me()),Yo(a[s])||Yo(o[s])?a[s]=o[s]:n.push({src:o[s],des:a[s]}))})}}/*! * message-compiler v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function up(e,t,n){return{line:e,column:t,offset:n}}function Xo(e,t,n){return{start:e,end:t}}const gp=/\{([0-9a-zA-Z]+)\}/g;function Or(e,...t){return t.length===1&&dp(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(gp,(n,o)=>t.hasOwnProperty(o)?t[o]:"")}const xr=Object.assign,jr=e=>typeof e=="string",dp=e=>e!==null&&typeof e=="object";function Br(e,t=""){return e.reduce((n,o,a)=>a===0?n+o:n+t+o,"")}const Wa={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},fp={[Wa.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function pp(e,t,...n){const o=Or(fp[e],...n||[]),a={message:String(o),code:e};return t&&(a.location=t),a}const ee={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},hp={[ee.EXPECTED_TOKEN]:"Expected token: '{0}'",[ee.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ee.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ee.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ee.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ee.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ee.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ee.EMPTY_PLACEHOLDER]:"Empty placeholder",[ee.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ee.INVALID_LINKED_FORMAT]:"Invalid linked format",[ee.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ee.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ee.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ee.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ee.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ee.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Sn(e,t,n={}){const{domain:o,messages:a,args:s}=n,i=Or((a||hp)[e]||"",...s||[]),r=new SyntaxError(String(i));return r.code=e,t&&(r.location=t),r.domain=o,r}function mp(e){throw e}const Rt=" ",bp="\r",Be=` -`,_p="\u2028",yp="\u2029";function Ap(e){const t=e;let n=0,o=1,a=1,s=0;const i=C=>t[C]===bp&&t[C+1]===Be,r=C=>t[C]===Be,l=C=>t[C]===yp,c=C=>t[C]===_p,u=C=>i(C)||r(C)||l(C)||c(C),f=()=>n,m=()=>o,k=()=>a,N=()=>s,v=C=>i(C)||l(C)||c(C)?Be:t[C],$=()=>v(n),P=()=>v(n+s);function T(){return s=0,u(n)&&(o++,a=0),i(n)&&n++,n++,a++,t[n]}function _(){return i(n+s)&&s++,s++,t[n+s]}function b(){n=0,o=1,a=1,s=0}function L(C=0){s=C}function A(){const C=n+s;for(;C!==n;)T();s=0}return{index:f,line:m,column:k,peekOffset:N,charAt:v,currentChar:$,currentPeek:P,next:T,peek:_,reset:b,resetPeek:L,skipToPeek:A}}const Ht=void 0,Sp=".",Kr="'",vp="tokenizer";function kp(e,t={}){const n=t.location!==!1,o=Ap(e),a=()=>o.index(),s=()=>up(o.line(),o.column(),o.index()),i=s(),r=a(),l={currentType:14,offset:r,startLoc:i,endLoc:i,lastType:14,lastOffset:r,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function f(g,d,w,...I){const G=c();if(d.column+=w,d.offset+=w,u){const B=n?Xo(G.startLoc,d):null,E=Sn(g,B,{domain:vp,args:I});u(E)}}function m(g,d,w){g.endLoc=s(),g.currentType=d;const I={type:d};return n&&(I.loc=Xo(g.startLoc,g.endLoc)),w!=null&&(I.value=w),I}const k=g=>m(g,14);function N(g,d){return g.currentChar()===d?(g.next(),d):(f(ee.EXPECTED_TOKEN,s(),0,d),"")}function v(g){let d="";for(;g.currentPeek()===Rt||g.currentPeek()===Be;)d+=g.currentPeek(),g.peek();return d}function $(g){const d=v(g);return g.skipToPeek(),d}function P(g){if(g===Ht)return!1;const d=g.charCodeAt(0);return d>=97&&d<=122||d>=65&&d<=90||d===95}function T(g){if(g===Ht)return!1;const d=g.charCodeAt(0);return d>=48&&d<=57}function _(g,d){const{currentType:w}=d;if(w!==2)return!1;v(g);const I=P(g.currentPeek());return g.resetPeek(),I}function b(g,d){const{currentType:w}=d;if(w!==2)return!1;v(g);const I=g.currentPeek()==="-"?g.peek():g.currentPeek(),G=T(I);return g.resetPeek(),G}function L(g,d){const{currentType:w}=d;if(w!==2)return!1;v(g);const I=g.currentPeek()===Kr;return g.resetPeek(),I}function A(g,d){const{currentType:w}=d;if(w!==8)return!1;v(g);const I=g.currentPeek()===".";return g.resetPeek(),I}function C(g,d){const{currentType:w}=d;if(w!==9)return!1;v(g);const I=P(g.currentPeek());return g.resetPeek(),I}function D(g,d){const{currentType:w}=d;if(!(w===8||w===12))return!1;v(g);const I=g.currentPeek()===":";return g.resetPeek(),I}function S(g,d){const{currentType:w}=d;if(w!==10)return!1;const I=()=>{const B=g.currentPeek();return B==="{"?P(g.peek()):B==="@"||B==="%"||B==="|"||B===":"||B==="."||B===Rt||!B?!1:B===Be?(g.peek(),I()):z(g,!1)},G=I();return g.resetPeek(),G}function V(g){v(g);const d=g.currentPeek()==="|";return g.resetPeek(),d}function ae(g){const d=v(g),w=g.currentPeek()==="%"&&g.peek()==="{";return g.resetPeek(),{isModulo:w,hasSpace:d.length>0}}function z(g,d=!0){const w=(G=!1,B="",E=!1)=>{const R=g.currentPeek();return R==="{"?B==="%"?!1:G:R==="@"||!R?B==="%"?!0:G:R==="%"?(g.peek(),w(G,"%",!0)):R==="|"?B==="%"||E?!0:!(B===Rt||B===Be):R===Rt?(g.peek(),w(!0,Rt,E)):R===Be?(g.peek(),w(!0,Be,E)):!0},I=w();return d&&g.resetPeek(),I}function te(g,d){const w=g.currentChar();return w===Ht?Ht:d(w)?(g.next(),w):null}function Y(g){const d=g.charCodeAt(0);return d>=97&&d<=122||d>=65&&d<=90||d>=48&&d<=57||d===95||d===36}function F(g){return te(g,Y)}function j(g){const d=g.charCodeAt(0);return d>=97&&d<=122||d>=65&&d<=90||d>=48&&d<=57||d===95||d===36||d===45}function q(g){return te(g,j)}function W(g){const d=g.charCodeAt(0);return d>=48&&d<=57}function Z(g){return te(g,W)}function ie(g){const d=g.charCodeAt(0);return d>=48&&d<=57||d>=65&&d<=70||d>=97&&d<=102}function de(g){return te(g,ie)}function X(g){let d="",w="";for(;d=Z(g);)w+=d;return w}function re(g){$(g);const d=g.currentChar();return d!=="%"&&f(ee.EXPECTED_TOKEN,s(),0,d),g.next(),"%"}function $e(g){let d="";for(;;){const w=g.currentChar();if(w==="{"||w==="}"||w==="@"||w==="|"||!w)break;if(w==="%")if(z(g))d+=w,g.next();else break;else if(w===Rt||w===Be)if(z(g))d+=w,g.next();else{if(V(g))break;d+=w,g.next()}else d+=w,g.next()}return d}function qe(g){$(g);let d="",w="";for(;d=q(g);)w+=d;return g.currentChar()===Ht&&f(ee.UNTERMINATED_CLOSING_BRACE,s(),0),w}function Ke(g){$(g);let d="";return g.currentChar()==="-"?(g.next(),d+=`-${X(g)}`):d+=X(g),g.currentChar()===Ht&&f(ee.UNTERMINATED_CLOSING_BRACE,s(),0),d}function tt(g){return g!==Kr&&g!==Be}function xt(g){$(g),N(g,"'");let d="",w="";for(;d=te(g,tt);)d==="\\"?w+=Zt(g):w+=d;const I=g.currentChar();return I===Be||I===Ht?(f(ee.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),I===Be&&(g.next(),N(g,"'")),w):(N(g,"'"),w)}function Zt(g){const d=g.currentChar();switch(d){case"\\":case"'":return g.next(),`\\${d}`;case"u":return nt(g,d,4);case"U":return nt(g,d,6);default:return f(ee.UNKNOWN_ESCAPE_SEQUENCE,s(),0,d),""}}function nt(g,d,w){N(g,d);let I="";for(let G=0;G{const I=g.currentChar();return I==="{"||I==="%"||I==="@"||I==="|"||I==="("||I===")"||!I||I===Rt?w:(w+=I,g.next(),d(w))};return d("")}function M(g){$(g);const d=N(g,"|");return $(g),d}function x(g,d){let w=null;switch(g.currentChar()){case"{":return d.braceNest>=1&&f(ee.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),g.next(),w=m(d,2,"{"),$(g),d.braceNest++,w;case"}":return d.braceNest>0&&d.currentType===2&&f(ee.EMPTY_PLACEHOLDER,s(),0),g.next(),w=m(d,3,"}"),d.braceNest--,d.braceNest>0&&$(g),d.inLinked&&d.braceNest===0&&(d.inLinked=!1),w;case"@":return d.braceNest>0&&f(ee.UNTERMINATED_CLOSING_BRACE,s(),0),w=O(g,d)||k(d),d.braceNest=0,w;default:{let G=!0,B=!0,E=!0;if(V(g))return d.braceNest>0&&f(ee.UNTERMINATED_CLOSING_BRACE,s(),0),w=m(d,1,M(g)),d.braceNest=0,d.inLinked=!1,w;if(d.braceNest>0&&(d.currentType===5||d.currentType===6||d.currentType===7))return f(ee.UNTERMINATED_CLOSING_BRACE,s(),0),d.braceNest=0,U(g,d);if(G=_(g,d))return w=m(d,5,qe(g)),$(g),w;if(B=b(g,d))return w=m(d,6,Ke(g)),$(g),w;if(E=L(g,d))return w=m(d,7,xt(g)),$(g),w;if(!G&&!B&&!E)return w=m(d,13,p(g)),f(ee.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,w.value),$(g),w;break}}return w}function O(g,d){const{currentType:w}=d;let I=null;const G=g.currentChar();switch((w===8||w===9||w===12||w===10)&&(G===Be||G===Rt)&&f(ee.INVALID_LINKED_FORMAT,s(),0),G){case"@":return g.next(),I=m(d,8,"@"),d.inLinked=!0,I;case".":return $(g),g.next(),m(d,9,".");case":":return $(g),g.next(),m(d,10,":");default:return V(g)?(I=m(d,1,M(g)),d.braceNest=0,d.inLinked=!1,I):A(g,d)||D(g,d)?($(g),O(g,d)):C(g,d)?($(g),m(d,12,y(g))):S(g,d)?($(g),G==="{"?x(g,d)||I:m(d,11,h(g))):(w===8&&f(ee.INVALID_LINKED_FORMAT,s(),0),d.braceNest=0,d.inLinked=!1,U(g,d))}}function U(g,d){let w={type:14};if(d.braceNest>0)return x(g,d)||k(d);if(d.inLinked)return O(g,d)||k(d);switch(g.currentChar()){case"{":return x(g,d)||k(d);case"}":return f(ee.UNBALANCED_CLOSING_BRACE,s(),0),g.next(),m(d,3,"}");case"@":return O(g,d)||k(d);default:{if(V(g))return w=m(d,1,M(g)),d.braceNest=0,d.inLinked=!1,w;const{isModulo:G,hasSpace:B}=ae(g);if(G)return B?m(d,0,$e(g)):m(d,4,re(g));if(z(g))return m(d,0,$e(g));break}}return w}function K(){const{currentType:g,offset:d,startLoc:w,endLoc:I}=l;return l.lastType=g,l.lastOffset=d,l.lastStartLoc=w,l.lastEndLoc=I,l.offset=a(),l.startLoc=s(),o.currentChar()===Ht?m(l,14):U(o,l)}return{nextToken:K,currentOffset:a,currentPosition:s,context:c}}const Tp="parser",Ep=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function $p(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function Lp(e={}){const t=e.location!==!1,{onError:n,onWarn:o}=e;function a(_,b,L,A,...C){const D=_.currentPosition();if(D.offset+=A,D.column+=A,n){const S=t?Xo(L,D):null,V=Sn(b,S,{domain:Tp,args:C});n(V)}}function s(_,b,L,A,...C){const D=_.currentPosition();if(D.offset+=A,D.column+=A,o){const S=t?Xo(L,D):null;o(pp(b,S,C))}}function i(_,b,L){const A={type:_};return t&&(A.start=b,A.end=b,A.loc={start:L,end:L}),A}function r(_,b,L,A){t&&(_.end=b,_.loc&&(_.loc.end=L))}function l(_,b){const L=_.context(),A=i(3,L.offset,L.startLoc);return A.value=b,r(A,_.currentOffset(),_.currentPosition()),A}function c(_,b){const L=_.context(),{lastOffset:A,lastStartLoc:C}=L,D=i(5,A,C);return D.index=parseInt(b,10),_.nextToken(),r(D,_.currentOffset(),_.currentPosition()),D}function u(_,b,L){const A=_.context(),{lastOffset:C,lastStartLoc:D}=A,S=i(4,C,D);return S.key=b,L===!0&&(S.modulo=!0),_.nextToken(),r(S,_.currentOffset(),_.currentPosition()),S}function f(_,b){const L=_.context(),{lastOffset:A,lastStartLoc:C}=L,D=i(9,A,C);return D.value=b.replace(Ep,$p),_.nextToken(),r(D,_.currentOffset(),_.currentPosition()),D}function m(_){const b=_.nextToken(),L=_.context(),{lastOffset:A,lastStartLoc:C}=L,D=i(8,A,C);return b.type!==12?(a(_,ee.UNEXPECTED_EMPTY_LINKED_MODIFIER,L.lastStartLoc,0),D.value="",r(D,A,C),{nextConsumeToken:b,node:D}):(b.value==null&&a(_,ee.UNEXPECTED_LEXICAL_ANALYSIS,L.lastStartLoc,0,lt(b)),D.value=b.value||"",r(D,_.currentOffset(),_.currentPosition()),{node:D})}function k(_,b){const L=_.context(),A=i(7,L.offset,L.startLoc);return A.value=b,r(A,_.currentOffset(),_.currentPosition()),A}function N(_){const b=_.context(),L=i(6,b.offset,b.startLoc);let A=_.nextToken();if(A.type===9){const C=m(_);L.modifier=C.node,A=C.nextConsumeToken||_.nextToken()}switch(A.type!==10&&a(_,ee.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,lt(A)),A=_.nextToken(),A.type===2&&(A=_.nextToken()),A.type){case 11:A.value==null&&a(_,ee.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,lt(A)),L.key=k(_,A.value||"");break;case 5:A.value==null&&a(_,ee.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,lt(A)),L.key=u(_,A.value||"");break;case 6:A.value==null&&a(_,ee.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,lt(A)),L.key=c(_,A.value||"");break;case 7:A.value==null&&a(_,ee.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,lt(A)),L.key=f(_,A.value||"");break;default:{a(_,ee.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const C=_.context(),D=i(7,C.offset,C.startLoc);return D.value="",r(D,C.offset,C.startLoc),L.key=D,r(L,C.offset,C.startLoc),{nextConsumeToken:A,node:L}}}return r(L,_.currentOffset(),_.currentPosition()),{node:L}}function v(_){const b=_.context(),L=b.currentType===1?_.currentOffset():b.offset,A=b.currentType===1?b.endLoc:b.startLoc,C=i(2,L,A);C.items=[];let D=null,S=null;do{const z=D||_.nextToken();switch(D=null,z.type){case 0:z.value==null&&a(_,ee.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,lt(z)),C.items.push(l(_,z.value||""));break;case 6:z.value==null&&a(_,ee.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,lt(z)),C.items.push(c(_,z.value||""));break;case 4:S=!0;break;case 5:z.value==null&&a(_,ee.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,lt(z)),C.items.push(u(_,z.value||"",!!S)),S&&(s(_,Wa.USE_MODULO_SYNTAX,b.lastStartLoc,0,lt(z)),S=null);break;case 7:z.value==null&&a(_,ee.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,lt(z)),C.items.push(f(_,z.value||""));break;case 8:{const te=N(_);C.items.push(te.node),D=te.nextConsumeToken||null;break}}}while(b.currentType!==14&&b.currentType!==1);const V=b.currentType===1?b.lastOffset:_.currentOffset(),ae=b.currentType===1?b.lastEndLoc:_.currentPosition();return r(C,V,ae),C}function $(_,b,L,A){const C=_.context();let D=A.items.length===0;const S=i(1,b,L);S.cases=[],S.cases.push(A);do{const V=v(_);D||(D=V.items.length===0),S.cases.push(V)}while(C.currentType!==14);return D&&a(_,ee.MUST_HAVE_MESSAGES_IN_PLURAL,L,0),r(S,_.currentOffset(),_.currentPosition()),S}function P(_){const b=_.context(),{offset:L,startLoc:A}=b,C=v(_);return b.currentType===14?C:$(_,L,A,C)}function T(_){const b=kp(_,xr({},e)),L=b.context(),A=i(0,L.offset,L.startLoc);return t&&A.loc&&(A.loc.source=_),A.body=P(b),e.onCacheKey&&(A.cacheKey=e.onCacheKey(_)),L.currentType!==14&&a(b,ee.UNEXPECTED_LEXICAL_ANALYSIS,L.lastStartLoc,0,_[L.offset]||""),r(A,b.currentOffset(),b.currentPosition()),A}return{parse:T}}function lt(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 wp(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function Ur(e,t){for(let n=0;nGr(n)),e}function Gr(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;ni;function l(v,$){i.code+=v}function c(v,$=!0){const P=$?o:"";l(a?P+" ".repeat(v):P)}function u(v=!0){const $=++i.indentLevel;v&&c($)}function f(v=!0){const $=--i.indentLevel;v&&c($)}function m(){c(i.indentLevel)}return{context:r,push:l,indent:u,deindent:f,newline:m,helper:v=>`_${v}`,needIndent:()=>i.needIndent}}function Rp(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),kn(e,t.key),t.modifier?(e.push(", "),kn(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Dp(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const a=t.items.length;for(let s=0;s1){e.push(`${n("plural")}([`),e.indent(o());const a=t.cases.length;for(let s=0;s{const n=jr(t.mode)?t.mode:"normal",o=jr(t.filename)?t.filename:"message.intl";t.sourceMap;const a=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` + */function up(e,t,n){return{line:e,column:t,offset:n}}function Xo(e,t,n){return{start:e,end:t}}const gp=/\{([0-9a-zA-Z]+)\}/g;function Or(e,...t){return t.length===1&&dp(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(gp,(n,o)=>t.hasOwnProperty(o)?t[o]:"")}const xr=Object.assign,jr=e=>typeof e=="string",dp=e=>e!==null&&typeof e=="object";function Br(e,t=""){return e.reduce((n,o,a)=>a===0?n+o:n+t+o,"")}const Wa={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},fp={[Wa.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function pp(e,t,...n){const o=Or(fp[e],...n||[]),a={message:String(o),code:e};return t&&(a.location=t),a}const Q={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},hp={[Q.EXPECTED_TOKEN]:"Expected token: '{0}'",[Q.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Q.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Q.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Q.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Q.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Q.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Q.EMPTY_PLACEHOLDER]:"Empty placeholder",[Q.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Q.INVALID_LINKED_FORMAT]:"Invalid linked format",[Q.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Q.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Q.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Q.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Q.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Q.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Sn(e,t,n={}){const{domain:o,messages:a,args:s}=n,i=Or((a||hp)[e]||"",...s||[]),r=new SyntaxError(String(i));return r.code=e,t&&(r.location=t),r.domain=o,r}function mp(e){throw e}const Dt=" ",bp="\r",Ue=` +`,_p="\u2028",yp="\u2029";function Ap(e){const t=e;let n=0,o=1,a=1,s=0;const i=C=>t[C]===bp&&t[C+1]===Ue,r=C=>t[C]===Ue,l=C=>t[C]===yp,c=C=>t[C]===_p,u=C=>i(C)||r(C)||l(C)||c(C),f=()=>n,m=()=>o,k=()=>a,N=()=>s,v=C=>i(C)||l(C)||c(C)?Ue:t[C],$=()=>v(n),P=()=>v(n+s);function T(){return s=0,u(n)&&(o++,a=0),i(n)&&n++,n++,a++,t[n]}function _(){return i(n+s)&&s++,s++,t[n+s]}function b(){n=0,o=1,a=1,s=0}function L(C=0){s=C}function A(){const C=n+s;for(;C!==n;)T();s=0}return{index:f,line:m,column:k,peekOffset:N,charAt:v,currentChar:$,currentPeek:P,next:T,peek:_,reset:b,resetPeek:L,skipToPeek:A}}const Ht=void 0,Sp=".",Kr="'",vp="tokenizer";function kp(e,t={}){const n=t.location!==!1,o=Ap(e),a=()=>o.index(),s=()=>up(o.line(),o.column(),o.index()),i=s(),r=a(),l={currentType:14,offset:r,startLoc:i,endLoc:i,lastType:14,lastOffset:r,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function f(g,d,w,...I){const G=c();if(d.column+=w,d.offset+=w,u){const B=n?Xo(G.startLoc,d):null,E=Sn(g,B,{domain:vp,args:I});u(E)}}function m(g,d,w){g.endLoc=s(),g.currentType=d;const I={type:d};return n&&(I.loc=Xo(g.startLoc,g.endLoc)),w!=null&&(I.value=w),I}const k=g=>m(g,14);function N(g,d){return g.currentChar()===d?(g.next(),d):(f(Q.EXPECTED_TOKEN,s(),0,d),"")}function v(g){let d="";for(;g.currentPeek()===Dt||g.currentPeek()===Ue;)d+=g.currentPeek(),g.peek();return d}function $(g){const d=v(g);return g.skipToPeek(),d}function P(g){if(g===Ht)return!1;const d=g.charCodeAt(0);return d>=97&&d<=122||d>=65&&d<=90||d===95}function T(g){if(g===Ht)return!1;const d=g.charCodeAt(0);return d>=48&&d<=57}function _(g,d){const{currentType:w}=d;if(w!==2)return!1;v(g);const I=P(g.currentPeek());return g.resetPeek(),I}function b(g,d){const{currentType:w}=d;if(w!==2)return!1;v(g);const I=g.currentPeek()==="-"?g.peek():g.currentPeek(),G=T(I);return g.resetPeek(),G}function L(g,d){const{currentType:w}=d;if(w!==2)return!1;v(g);const I=g.currentPeek()===Kr;return g.resetPeek(),I}function A(g,d){const{currentType:w}=d;if(w!==8)return!1;v(g);const I=g.currentPeek()===".";return g.resetPeek(),I}function C(g,d){const{currentType:w}=d;if(w!==9)return!1;v(g);const I=P(g.currentPeek());return g.resetPeek(),I}function D(g,d){const{currentType:w}=d;if(!(w===8||w===12))return!1;v(g);const I=g.currentPeek()===":";return g.resetPeek(),I}function S(g,d){const{currentType:w}=d;if(w!==10)return!1;const I=()=>{const B=g.currentPeek();return B==="{"?P(g.peek()):B==="@"||B==="%"||B==="|"||B===":"||B==="."||B===Dt||!B?!1:B===Ue?(g.peek(),I()):z(g,!1)},G=I();return g.resetPeek(),G}function V(g){v(g);const d=g.currentPeek()==="|";return g.resetPeek(),d}function ae(g){const d=v(g),w=g.currentPeek()==="%"&&g.peek()==="{";return g.resetPeek(),{isModulo:w,hasSpace:d.length>0}}function z(g,d=!0){const w=(G=!1,B="",E=!1)=>{const R=g.currentPeek();return R==="{"?B==="%"?!1:G:R==="@"||!R?B==="%"?!0:G:R==="%"?(g.peek(),w(G,"%",!0)):R==="|"?B==="%"||E?!0:!(B===Dt||B===Ue):R===Dt?(g.peek(),w(!0,Dt,E)):R===Ue?(g.peek(),w(!0,Ue,E)):!0},I=w();return d&&g.resetPeek(),I}function ee(g,d){const w=g.currentChar();return w===Ht?Ht:d(w)?(g.next(),w):null}function Y(g){const d=g.charCodeAt(0);return d>=97&&d<=122||d>=65&&d<=90||d>=48&&d<=57||d===95||d===36}function F(g){return ee(g,Y)}function j(g){const d=g.charCodeAt(0);return d>=97&&d<=122||d>=65&&d<=90||d>=48&&d<=57||d===95||d===36||d===45}function q(g){return ee(g,j)}function W(g){const d=g.charCodeAt(0);return d>=48&&d<=57}function X(g){return ee(g,W)}function ge(g){const d=g.charCodeAt(0);return d>=48&&d<=57||d>=65&&d<=70||d>=97&&d<=102}function ie(g){return ee(g,ge)}function fe(g){let d="",w="";for(;d=X(g);)w+=d;return w}function oe(g){$(g);const d=g.currentChar();return d!=="%"&&f(Q.EXPECTED_TOKEN,s(),0,d),g.next(),"%"}function le(g){let d="";for(;;){const w=g.currentChar();if(w==="{"||w==="}"||w==="@"||w==="|"||!w)break;if(w==="%")if(z(g))d+=w,g.next();else break;else if(w===Dt||w===Ue)if(z(g))d+=w,g.next();else{if(V(g))break;d+=w,g.next()}else d+=w,g.next()}return d}function Ne(g){$(g);let d="",w="";for(;d=q(g);)w+=d;return g.currentChar()===Ht&&f(Q.UNTERMINATED_CLOSING_BRACE,s(),0),w}function Re(g){$(g);let d="";return g.currentChar()==="-"?(g.next(),d+=`-${fe(g)}`):d+=fe(g),g.currentChar()===Ht&&f(Q.UNTERMINATED_CLOSING_BRACE,s(),0),d}function Ye(g){return g!==Kr&&g!==Ue}function nt(g){$(g),N(g,"'");let d="",w="";for(;d=ee(g,Ye);)d==="\\"?w+=Zt(g):w+=d;const I=g.currentChar();return I===Ue||I===Ht?(f(Q.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),I===Ue&&(g.next(),N(g,"'")),w):(N(g,"'"),w)}function Zt(g){const d=g.currentChar();switch(d){case"\\":case"'":return g.next(),`\\${d}`;case"u":return ot(g,d,4);case"U":return ot(g,d,6);default:return f(Q.UNKNOWN_ESCAPE_SEQUENCE,s(),0,d),""}}function ot(g,d,w){N(g,d);let I="";for(let G=0;G{const I=g.currentChar();return I==="{"||I==="%"||I==="@"||I==="|"||I==="("||I===")"||!I||I===Dt?w:(w+=I,g.next(),d(w))};return d("")}function M(g){$(g);const d=N(g,"|");return $(g),d}function x(g,d){let w=null;switch(g.currentChar()){case"{":return d.braceNest>=1&&f(Q.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),g.next(),w=m(d,2,"{"),$(g),d.braceNest++,w;case"}":return d.braceNest>0&&d.currentType===2&&f(Q.EMPTY_PLACEHOLDER,s(),0),g.next(),w=m(d,3,"}"),d.braceNest--,d.braceNest>0&&$(g),d.inLinked&&d.braceNest===0&&(d.inLinked=!1),w;case"@":return d.braceNest>0&&f(Q.UNTERMINATED_CLOSING_BRACE,s(),0),w=O(g,d)||k(d),d.braceNest=0,w;default:{let G=!0,B=!0,E=!0;if(V(g))return d.braceNest>0&&f(Q.UNTERMINATED_CLOSING_BRACE,s(),0),w=m(d,1,M(g)),d.braceNest=0,d.inLinked=!1,w;if(d.braceNest>0&&(d.currentType===5||d.currentType===6||d.currentType===7))return f(Q.UNTERMINATED_CLOSING_BRACE,s(),0),d.braceNest=0,U(g,d);if(G=_(g,d))return w=m(d,5,Ne(g)),$(g),w;if(B=b(g,d))return w=m(d,6,Re(g)),$(g),w;if(E=L(g,d))return w=m(d,7,nt(g)),$(g),w;if(!G&&!B&&!E)return w=m(d,13,p(g)),f(Q.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,w.value),$(g),w;break}}return w}function O(g,d){const{currentType:w}=d;let I=null;const G=g.currentChar();switch((w===8||w===9||w===12||w===10)&&(G===Ue||G===Dt)&&f(Q.INVALID_LINKED_FORMAT,s(),0),G){case"@":return g.next(),I=m(d,8,"@"),d.inLinked=!0,I;case".":return $(g),g.next(),m(d,9,".");case":":return $(g),g.next(),m(d,10,":");default:return V(g)?(I=m(d,1,M(g)),d.braceNest=0,d.inLinked=!1,I):A(g,d)||D(g,d)?($(g),O(g,d)):C(g,d)?($(g),m(d,12,y(g))):S(g,d)?($(g),G==="{"?x(g,d)||I:m(d,11,h(g))):(w===8&&f(Q.INVALID_LINKED_FORMAT,s(),0),d.braceNest=0,d.inLinked=!1,U(g,d))}}function U(g,d){let w={type:14};if(d.braceNest>0)return x(g,d)||k(d);if(d.inLinked)return O(g,d)||k(d);switch(g.currentChar()){case"{":return x(g,d)||k(d);case"}":return f(Q.UNBALANCED_CLOSING_BRACE,s(),0),g.next(),m(d,3,"}");case"@":return O(g,d)||k(d);default:{if(V(g))return w=m(d,1,M(g)),d.braceNest=0,d.inLinked=!1,w;const{isModulo:G,hasSpace:B}=ae(g);if(G)return B?m(d,0,le(g)):m(d,4,oe(g));if(z(g))return m(d,0,le(g));break}}return w}function K(){const{currentType:g,offset:d,startLoc:w,endLoc:I}=l;return l.lastType=g,l.lastOffset=d,l.lastStartLoc=w,l.lastEndLoc=I,l.offset=a(),l.startLoc=s(),o.currentChar()===Ht?m(l,14):U(o,l)}return{nextToken:K,currentOffset:a,currentPosition:s,context:c}}const Tp="parser",Ep=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function $p(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function Lp(e={}){const t=e.location!==!1,{onError:n,onWarn:o}=e;function a(_,b,L,A,...C){const D=_.currentPosition();if(D.offset+=A,D.column+=A,n){const S=t?Xo(L,D):null,V=Sn(b,S,{domain:Tp,args:C});n(V)}}function s(_,b,L,A,...C){const D=_.currentPosition();if(D.offset+=A,D.column+=A,o){const S=t?Xo(L,D):null;o(pp(b,S,C))}}function i(_,b,L){const A={type:_};return t&&(A.start=b,A.end=b,A.loc={start:L,end:L}),A}function r(_,b,L,A){t&&(_.end=b,_.loc&&(_.loc.end=L))}function l(_,b){const L=_.context(),A=i(3,L.offset,L.startLoc);return A.value=b,r(A,_.currentOffset(),_.currentPosition()),A}function c(_,b){const L=_.context(),{lastOffset:A,lastStartLoc:C}=L,D=i(5,A,C);return D.index=parseInt(b,10),_.nextToken(),r(D,_.currentOffset(),_.currentPosition()),D}function u(_,b,L){const A=_.context(),{lastOffset:C,lastStartLoc:D}=A,S=i(4,C,D);return S.key=b,L===!0&&(S.modulo=!0),_.nextToken(),r(S,_.currentOffset(),_.currentPosition()),S}function f(_,b){const L=_.context(),{lastOffset:A,lastStartLoc:C}=L,D=i(9,A,C);return D.value=b.replace(Ep,$p),_.nextToken(),r(D,_.currentOffset(),_.currentPosition()),D}function m(_){const b=_.nextToken(),L=_.context(),{lastOffset:A,lastStartLoc:C}=L,D=i(8,A,C);return b.type!==12?(a(_,Q.UNEXPECTED_EMPTY_LINKED_MODIFIER,L.lastStartLoc,0),D.value="",r(D,A,C),{nextConsumeToken:b,node:D}):(b.value==null&&a(_,Q.UNEXPECTED_LEXICAL_ANALYSIS,L.lastStartLoc,0,ct(b)),D.value=b.value||"",r(D,_.currentOffset(),_.currentPosition()),{node:D})}function k(_,b){const L=_.context(),A=i(7,L.offset,L.startLoc);return A.value=b,r(A,_.currentOffset(),_.currentPosition()),A}function N(_){const b=_.context(),L=i(6,b.offset,b.startLoc);let A=_.nextToken();if(A.type===9){const C=m(_);L.modifier=C.node,A=C.nextConsumeToken||_.nextToken()}switch(A.type!==10&&a(_,Q.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ct(A)),A=_.nextToken(),A.type===2&&(A=_.nextToken()),A.type){case 11:A.value==null&&a(_,Q.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ct(A)),L.key=k(_,A.value||"");break;case 5:A.value==null&&a(_,Q.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ct(A)),L.key=u(_,A.value||"");break;case 6:A.value==null&&a(_,Q.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ct(A)),L.key=c(_,A.value||"");break;case 7:A.value==null&&a(_,Q.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ct(A)),L.key=f(_,A.value||"");break;default:{a(_,Q.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const C=_.context(),D=i(7,C.offset,C.startLoc);return D.value="",r(D,C.offset,C.startLoc),L.key=D,r(L,C.offset,C.startLoc),{nextConsumeToken:A,node:L}}}return r(L,_.currentOffset(),_.currentPosition()),{node:L}}function v(_){const b=_.context(),L=b.currentType===1?_.currentOffset():b.offset,A=b.currentType===1?b.endLoc:b.startLoc,C=i(2,L,A);C.items=[];let D=null,S=null;do{const z=D||_.nextToken();switch(D=null,z.type){case 0:z.value==null&&a(_,Q.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ct(z)),C.items.push(l(_,z.value||""));break;case 6:z.value==null&&a(_,Q.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ct(z)),C.items.push(c(_,z.value||""));break;case 4:S=!0;break;case 5:z.value==null&&a(_,Q.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ct(z)),C.items.push(u(_,z.value||"",!!S)),S&&(s(_,Wa.USE_MODULO_SYNTAX,b.lastStartLoc,0,ct(z)),S=null);break;case 7:z.value==null&&a(_,Q.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ct(z)),C.items.push(f(_,z.value||""));break;case 8:{const ee=N(_);C.items.push(ee.node),D=ee.nextConsumeToken||null;break}}}while(b.currentType!==14&&b.currentType!==1);const V=b.currentType===1?b.lastOffset:_.currentOffset(),ae=b.currentType===1?b.lastEndLoc:_.currentPosition();return r(C,V,ae),C}function $(_,b,L,A){const C=_.context();let D=A.items.length===0;const S=i(1,b,L);S.cases=[],S.cases.push(A);do{const V=v(_);D||(D=V.items.length===0),S.cases.push(V)}while(C.currentType!==14);return D&&a(_,Q.MUST_HAVE_MESSAGES_IN_PLURAL,L,0),r(S,_.currentOffset(),_.currentPosition()),S}function P(_){const b=_.context(),{offset:L,startLoc:A}=b,C=v(_);return b.currentType===14?C:$(_,L,A,C)}function T(_){const b=kp(_,xr({},e)),L=b.context(),A=i(0,L.offset,L.startLoc);return t&&A.loc&&(A.loc.source=_),A.body=P(b),e.onCacheKey&&(A.cacheKey=e.onCacheKey(_)),L.currentType!==14&&a(b,Q.UNEXPECTED_LEXICAL_ANALYSIS,L.lastStartLoc,0,_[L.offset]||""),r(A,b.currentOffset(),b.currentPosition()),A}return{parse:T}}function ct(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 wp(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function Ur(e,t){for(let n=0;nGr(n)),e}function Gr(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;ni;function l(v,$){i.code+=v}function c(v,$=!0){const P=$?o:"";l(a?P+" ".repeat(v):P)}function u(v=!0){const $=++i.indentLevel;v&&c($)}function f(v=!0){const $=--i.indentLevel;v&&c($)}function m(){c(i.indentLevel)}return{context:r,push:l,indent:u,deindent:f,newline:m,helper:v=>`_${v}`,needIndent:()=>i.needIndent}}function Rp(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),kn(e,t.key),t.modifier?(e.push(", "),kn(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Dp(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const a=t.items.length;for(let s=0;s1){e.push(`${n("plural")}([`),e.indent(o());const a=t.cases.length;for(let s=0;s{const n=jr(t.mode)?t.mode:"normal",o=jr(t.filename)?t.filename:"message.intl";t.sourceMap;const a=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` `,s=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],r=Ip(e,{filename:o,breakLineCode:a,needIndent:s});r.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),r.indent(s),i.length>0&&(r.push(`const { ${Br(i.map(u=>`${u}: _${u}`),", ")} } = ctx`),r.newline()),r.push("return "),kn(r,e),r.deindent(s),r.push("}"),delete e.helpers;const{code:l,map:c}=r.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function jp(e,t={}){const n=xr({},t),o=!!n.jit,a=!!n.minify,s=n.optimize==null?!0:n.optimize,r=Lp(n).parse(e);return o?(s&&Np(r),a&&vn(r),{ast:r,code:""}):(Cp(r,n),xp(r,n))}/*! * core-base v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function Bp(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(It().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(It().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(It().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function yt(e){return ue(e)&&Ja(e)===0&&(rt(e,"b")||rt(e,"body"))}const zr=["b","body"];function Kp(e){return Vt(e,zr)}const qr=["c","cases"];function Up(e){return Vt(e,qr,[])}const Hr=["s","static"];function Gp(e){return Vt(e,Hr)}const Vr=["i","items"];function zp(e){return Vt(e,Vr,[])}const Wr=["t","type"];function Ja(e){return Vt(e,Wr)}const Yr=["v","value"];function Zo(e,t){const n=Vt(e,Yr);if(n!=null)return n;throw Qn(t)}const Jr=["m","modifier"];function qp(e){return Vt(e,Jr)}const Xr=["k","key"];function Hp(e){const t=Vt(e,Xr);if(t)return t;throw Qn(6)}function Vt(e,t,n){for(let o=0;o{i===void 0?i=r:i+=r},m[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},m[2]=()=>{m[0](),a++},m[3]=()=>{if(a>0)a--,o=4,m[0]();else{if(a=0,i===void 0||(i=Xp(i),i===!1))return!1;m[1]()}};function k(){const N=e[n+1];if(o===5&&N==="'"||o===6&&N==='"')return n++,r="\\"+N,m[0](),!0}for(;o!==null;)if(n++,s=e[n],!(s==="\\"&&k())){if(l=Jp(s),f=Wt[o],c=f[l]||f.l||8,c===8||(o=c[0],c[1]!==void 0&&(u=m[c[1]],u&&(r=s,u()===!1))))return;if(o===7)return t}}const Qr=new Map;function Qp(e,t){return ue(e)?e[t]:null}function eh(e,t){if(!ue(e))return null;let n=Qr.get(t);if(n||(n=Zp(t),n&&Qr.set(t,n)),!n)return null;const o=n.length;let a=e,s=0;for(;se,nh=e=>"",oh="text",ah=e=>e.length===0?"":cp(e),sh=lp;function el(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function ih(e){const t=Ee(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ee(e.named.count)||Ee(e.named.n))?Ee(e.named.count)?e.named.count:Ee(e.named.n)?e.named.n:t:t}function rh(e,t){t.count||(t.count=e),t.n||(t.n=e)}function lh(e={}){const t=e.locale,n=ih(e),o=ue(e.pluralRules)&&H(t)&&ye(e.pluralRules[t])?e.pluralRules[t]:el,a=ue(e.pluralRules)&&H(t)&&ye(e.pluralRules[t])?el:void 0,s=P=>P[o(n,P.length,a)],i=e.list||[],r=P=>i[P],l=e.named||he();Ee(e.pluralIndex)&&rh(n,l);const c=P=>l[P];function u(P){const T=ye(e.messages)?e.messages(P):ue(e.messages)?e.messages[P]:!1;return T||(e.parent?e.parent.message(P):nh)}const f=P=>e.modifiers?e.modifiers[P]:th,m=oe(e.processor)&&ye(e.processor.normalize)?e.processor.normalize:ah,k=oe(e.processor)&&ye(e.processor.interpolate)?e.processor.interpolate:sh,N=oe(e.processor)&&H(e.processor.type)?e.processor.type:oh,$={list:r,named:c,plural:s,linked:(P,...T)=>{const[_,b]=T;let L="text",A="";T.length===1?ue(_)?(A=_.modifier||A,L=_.type||L):H(_)&&(A=_||A):T.length===2&&(H(_)&&(A=_||A),H(b)&&(L=b||L));const C=u(P)($),D=L==="vnode"&&ve(C)&&A?C[0]:C;return A?f(A)(D,L):D},message:u,type:N,interpolate:k,normalize:m,values:De(he(),i,l)};return $}let eo=null;function ch(e){eo=e}function uh(e,t,n){eo&&eo.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const gh=dh("function:translate");function dh(e){return t=>eo&&eo.emit(e,t)}const fh=Wa.__EXTEND_POINT__,rn=Wo(fh),ph={FALLBACK_TO_TRANSLATE:rn(),CANNOT_FORMAT_NUMBER:rn(),FALLBACK_TO_NUMBER_FORMAT:rn(),CANNOT_FORMAT_DATE:rn(),FALLBACK_TO_DATE_FORMAT:rn(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:rn(),__EXTEND_POINT__:rn()},tl=ee.__EXTEND_POINT__,ln=Wo(tl),ct={INVALID_ARGUMENT:tl,INVALID_DATE_ARGUMENT:ln(),INVALID_ISO_DATE_ARGUMENT:ln(),NOT_SUPPORT_NON_STRING_MESSAGE:ln(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:ln(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:ln(),NOT_SUPPORT_LOCALE_TYPE:ln(),__EXTEND_POINT__:ln()};function At(e){return Sn(e,null,void 0)}function Xa(e,t){return t.locale!=null?nl(t.locale):nl(e.locale)}let Za;function nl(e){if(H(e))return e;if(ye(e)){if(e.resolvedOnce&&Za!=null)return Za;if(e.constructor.name==="Function"){const t=e();if(rp(t))throw At(ct.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Za=t}else throw At(ct.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw At(ct.NOT_SUPPORT_LOCALE_TYPE)}function hh(e,t,n){return[...new Set([n,...ve(t)?t:ue(t)?Object.keys(t):H(t)?[t]:[n]])]}function ol(e,t,n){const o=H(n)?n:Tn,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let s=a.__localeChainCache.get(o);if(!s){s=[];let i=[n];for(;ve(i);)i=al(s,i,t);const r=ve(t)||!oe(t)?t:t.default?t.default:null;i=H(r)?[r]:r,ve(i)&&al(s,i,!1),a.__localeChainCache.set(o,s)}return s}function al(e,t,n){let o=!0;for(let a=0;a`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function yh(){return{upper:(e,t)=>t==="text"&&H(e)?e.toUpperCase():t==="vnode"&&ue(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&H(e)?e.toLowerCase():t==="vnode"&&ue(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&H(e)?il(e):t==="vnode"&&ue(e)&&"__v_isVNode"in e?il(e.children):e}}let rl;function ll(e){rl=e}let cl;function Ah(e){cl=e}let ul;function Sh(e){ul=e}let gl=null;const vh=e=>{gl=e},kh=()=>gl;let dl=null;const fl=e=>{dl=e},Th=()=>dl;let pl=0;function Eh(e={}){const t=ye(e.onWarn)?e.onWarn:ep,n=H(e.version)?e.version:_h,o=H(e.locale)||ye(e.locale)?e.locale:Tn,a=ye(o)?Tn:o,s=ve(e.fallbackLocale)||oe(e.fallbackLocale)||H(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,i=oe(e.messages)?e.messages:Qa(a),r=oe(e.datetimeFormats)?e.datetimeFormats:Qa(a),l=oe(e.numberFormats)?e.numberFormats:Qa(a),c=De(he(),e.modifiers,yh()),u=e.pluralRules||he(),f=ye(e.missing)?e.missing:null,m=le(e.missingWarn)||qt(e.missingWarn)?e.missingWarn:!0,k=le(e.fallbackWarn)||qt(e.fallbackWarn)?e.fallbackWarn:!0,N=!!e.fallbackFormat,v=!!e.unresolving,$=ye(e.postTranslation)?e.postTranslation:null,P=oe(e.processor)?e.processor:null,T=le(e.warnHtmlMessage)?e.warnHtmlMessage:!0,_=!!e.escapeParameter,b=ye(e.messageCompiler)?e.messageCompiler:rl,L=ye(e.messageResolver)?e.messageResolver:cl||Qp,A=ye(e.localeFallbacker)?e.localeFallbacker:ul||hh,C=ue(e.fallbackContext)?e.fallbackContext:void 0,D=e,S=ue(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,V=ue(D.__numberFormatters)?D.__numberFormatters:new Map,ae=ue(D.__meta)?D.__meta:{};pl++;const z={version:n,cid:pl,locale:o,fallbackLocale:s,messages:i,modifiers:c,pluralRules:u,missing:f,missingWarn:m,fallbackWarn:k,fallbackFormat:N,unresolving:v,postTranslation:$,processor:P,warnHtmlMessage:T,escapeParameter:_,messageCompiler:b,messageResolver:L,localeFallbacker:A,fallbackContext:C,onWarn:t,__meta:ae};return z.datetimeFormats=r,z.numberFormats=l,z.__datetimeFormatters=S,z.__numberFormatters=V,__INTLIFY_PROD_DEVTOOLS__&&uh(z,n,ae),z}const Qa=e=>({[e]:he()});function es(e,t,n,o,a){const{missing:s,onWarn:i}=e;if(s!==null){const r=s(e,n,t,a);return H(r)?r:t}else return t}function to(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function $h(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Lh(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let o=n+1;owh(n,e)}function wh(e,t){const n=Kp(t);if(n==null)throw Qn(0);if(Ja(n)===1){const s=Up(n);return e.plural(s.reduce((i,r)=>[...i,hl(e,r)],[]))}else return hl(e,n)}function hl(e,t){const n=Gp(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const o=zp(t).reduce((a,s)=>[...a,ns(e,s)],[]);return e.normalize(o)}}function ns(e,t){const n=Ja(t);switch(n){case 3:return Zo(t,n);case 9:return Zo(t,n);case 4:{const o=t;if(rt(o,"k")&&o.k)return e.interpolate(e.named(o.k));if(rt(o,"key")&&o.key)return e.interpolate(e.named(o.key));throw Qn(n)}case 5:{const o=t;if(rt(o,"i")&&Ee(o.i))return e.interpolate(e.list(o.i));if(rt(o,"index")&&Ee(o.index))return e.interpolate(e.list(o.index));throw Qn(n)}case 6:{const o=t,a=qp(o),s=Hp(o);return e.linked(ns(e,s),a?ns(e,a):void 0,e.type)}case 7:return Zo(t,n);case 8:return Zo(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const ml=e=>e;let En=he();function bl(e,t={}){let n=!1;const o=t.onError||mp;return t.onError=a=>{n=!0,o(a)},{...jp(e,t),detectError:n}}const Ch=(e,t)=>{if(!H(e))throw At(ct.NOT_SUPPORT_NON_STRING_MESSAGE);{le(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||ml)(e),a=En[o];if(a)return a;const{code:s,detectError:i}=bl(e,t),r=new Function(`return ${s}`)();return i?r:En[o]=r}};function Nh(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&H(e)){le(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||ml)(e),a=En[o];if(a)return a;const{ast:s,detectError:i}=bl(e,{...t,location:!1,jit:!0}),r=ts(s);return i?r:En[o]=r}else{const n=e.cacheKey;if(n){const o=En[n];return o||(En[n]=ts(e))}else return ts(e)}}const _l=()=>"",Qe=e=>ye(e);function yl(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:a,messageCompiler:s,fallbackLocale:i,messages:r}=e,[l,c]=os(...t),u=le(c.missingWarn)?c.missingWarn:e.missingWarn,f=le(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,m=le(c.escapeParameter)?c.escapeParameter:e.escapeParameter,k=!!c.resolvedMessage,N=H(c.default)||le(c.default)?le(c.default)?s?l:()=>l:c.default:n?s?l:()=>l:"",v=n||N!=="",$=Xa(e,c);m&&Ph(c);let[P,T,_]=k?[l,$,r[$]||he()]:Al(e,l,$,i,f,u),b=P,L=l;if(!k&&!(H(b)||yt(b)||Qe(b))&&v&&(b=N,L=b),!k&&(!(H(b)||yt(b)||Qe(b))||!H(T)))return a?Qo:l;let A=!1;const C=()=>{A=!0},D=Qe(b)?b:Sl(e,l,T,b,L,C);if(A)return b;const S=Rh(e,T,_,c),V=lh(S),ae=Mh(e,D,V);let z=o?o(ae,l):ae;if(m&&H(z)&&(z=sp(z)),__INTLIFY_PROD_DEVTOOLS__){const te={timestamp:Date.now(),key:H(l)?l:Qe(b)?b.key:"",locale:T||(Qe(b)?b.locale:""),format:H(b)?b:Qe(b)?b.source:"",message:z};te.meta=De({},e.__meta,kh()||{}),gh(te)}return z}function Ph(e){ve(e.list)?e.list=e.list.map(t=>H(t)?Ir(t):t):ue(e.named)&&Object.keys(e.named).forEach(t=>{H(e.named[t])&&(e.named[t]=Ir(e.named[t]))})}function Al(e,t,n,o,a,s){const{messages:i,onWarn:r,messageResolver:l,localeFallbacker:c}=e,u=c(e,o,n);let f=he(),m,k=null;const N="translate";for(let v=0;vo;return c.locale=n,c.key=t,c}const l=i(o,Ih(e,n,a,o,r,s));return l.locale=n,l.key=t,l.source=o,l}function Mh(e,t,n){return t(n)}function os(...e){const[t,n,o]=e,a=he();if(!H(t)&&!Ee(t)&&!Qe(t)&&!yt(t))throw At(ct.INVALID_ARGUMENT);const s=Ee(t)?String(t):(Qe(t),t);return Ee(n)?a.plural=n:H(n)?a.default=n:oe(n)&&!Vo(n)?a.named=n:ve(n)&&(a.list=n),Ee(o)?a.plural=o:H(o)?a.default=o:oe(o)&&De(a,o),[s,a]}function Ih(e,t,n,o,a,s){return{locale:t,key:n,warnHtmlMessage:a,onError:i=>{throw s&&s(i),i},onCacheKey:i=>tp(t,n,i)}}function Rh(e,t,n,o){const{modifiers:a,pluralRules:s,messageResolver:i,fallbackLocale:r,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,m={locale:t,modifiers:a,pluralRules:s,messages:k=>{let N=i(n,k);if(N==null&&u){const[,,v]=Al(u,k,t,r,l,c);N=i(v,k)}if(H(N)||yt(N)){let v=!1;const P=Sl(e,k,t,N,k,()=>{v=!0});return v?_l:P}else return Qe(N)?N:_l}};return e.processor&&(m.processor=e.processor),o.list&&(m.list=o.list),o.named&&(m.named=o.named),Ee(o.plural)&&(m.pluralIndex=o.plural),m}function vl(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:a,onWarn:s,localeFallbacker:i}=e,{__datetimeFormatters:r}=e,[l,c,u,f]=as(...t),m=le(u.missingWarn)?u.missingWarn:e.missingWarn;le(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const k=!!u.part,N=Xa(e,u),v=i(e,a,N);if(!H(l)||l==="")return new Intl.DateTimeFormat(N,f).format(c);let $={},P,T=null;const _="datetime format";for(let A=0;A{kl.includes(l)?i[l]=n[l]:s[l]=n[l]}),H(o)?s.locale=o:oe(o)&&(i=o),oe(a)&&(i=a),[s.key||"",r,s,i]}function Tl(e,t,n){const o=e;for(const a in n){const s=`${t}__${a}`;o.__datetimeFormatters.has(s)&&o.__datetimeFormatters.delete(s)}}function El(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:a,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:r}=e,[l,c,u,f]=ss(...t),m=le(u.missingWarn)?u.missingWarn:e.missingWarn;le(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const k=!!u.part,N=Xa(e,u),v=i(e,a,N);if(!H(l)||l==="")return new Intl.NumberFormat(N,f).format(c);let $={},P,T=null;const _="number format";for(let A=0;A{$l.includes(l)?i[l]=n[l]:s[l]=n[l]}),H(o)?s.locale=o:oe(o)&&(i=o),oe(a)&&(i=a),[s.key||"",r,s,i]}function Ll(e,t,n){const o=e;for(const a in n){const s=`${t}__${a}`;o.__numberFormatters.has(s)&&o.__numberFormatters.delete(s)}}Bp();/*! + */function Bp(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Rt().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Rt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Rt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function At(e){return ue(e)&&Ja(e)===0&&(lt(e,"b")||lt(e,"body"))}const zr=["b","body"];function Kp(e){return Vt(e,zr)}const qr=["c","cases"];function Up(e){return Vt(e,qr,[])}const Hr=["s","static"];function Gp(e){return Vt(e,Hr)}const Vr=["i","items"];function zp(e){return Vt(e,Vr,[])}const Wr=["t","type"];function Ja(e){return Vt(e,Wr)}const Yr=["v","value"];function Zo(e,t){const n=Vt(e,Yr);if(n!=null)return n;throw Qn(t)}const Jr=["m","modifier"];function qp(e){return Vt(e,Jr)}const Xr=["k","key"];function Hp(e){const t=Vt(e,Xr);if(t)return t;throw Qn(6)}function Vt(e,t,n){for(let o=0;o{i===void 0?i=r:i+=r},m[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},m[2]=()=>{m[0](),a++},m[3]=()=>{if(a>0)a--,o=4,m[0]();else{if(a=0,i===void 0||(i=Xp(i),i===!1))return!1;m[1]()}};function k(){const N=e[n+1];if(o===5&&N==="'"||o===6&&N==='"')return n++,r="\\"+N,m[0](),!0}for(;o!==null;)if(n++,s=e[n],!(s==="\\"&&k())){if(l=Jp(s),f=Wt[o],c=f[l]||f.l||8,c===8||(o=c[0],c[1]!==void 0&&(u=m[c[1]],u&&(r=s,u()===!1))))return;if(o===7)return t}}const Qr=new Map;function Qp(e,t){return ue(e)?e[t]:null}function eh(e,t){if(!ue(e))return null;let n=Qr.get(t);if(n||(n=Zp(t),n&&Qr.set(t,n)),!n)return null;const o=n.length;let a=e,s=0;for(;se,nh=e=>"",oh="text",ah=e=>e.length===0?"":cp(e),sh=lp;function el(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function ih(e){const t=$e(e.pluralIndex)?e.pluralIndex:-1;return e.named&&($e(e.named.count)||$e(e.named.n))?$e(e.named.count)?e.named.count:$e(e.named.n)?e.named.n:t:t}function rh(e,t){t.count||(t.count=e),t.n||(t.n=e)}function lh(e={}){const t=e.locale,n=ih(e),o=ue(e.pluralRules)&&H(t)&&Ae(e.pluralRules[t])?e.pluralRules[t]:el,a=ue(e.pluralRules)&&H(t)&&Ae(e.pluralRules[t])?el:void 0,s=P=>P[o(n,P.length,a)],i=e.list||[],r=P=>i[P],l=e.named||me();$e(e.pluralIndex)&&rh(n,l);const c=P=>l[P];function u(P){const T=Ae(e.messages)?e.messages(P):ue(e.messages)?e.messages[P]:!1;return T||(e.parent?e.parent.message(P):nh)}const f=P=>e.modifiers?e.modifiers[P]:th,m=ne(e.processor)&&Ae(e.processor.normalize)?e.processor.normalize:ah,k=ne(e.processor)&&Ae(e.processor.interpolate)?e.processor.interpolate:sh,N=ne(e.processor)&&H(e.processor.type)?e.processor.type:oh,$={list:r,named:c,plural:s,linked:(P,...T)=>{const[_,b]=T;let L="text",A="";T.length===1?ue(_)?(A=_.modifier||A,L=_.type||L):H(_)&&(A=_||A):T.length===2&&(H(_)&&(A=_||A),H(b)&&(L=b||L));const C=u(P)($),D=L==="vnode"&&ke(C)&&A?C[0]:C;return A?f(A)(D,L):D},message:u,type:N,interpolate:k,normalize:m,values:Oe(me(),i,l)};return $}let eo=null;function ch(e){eo=e}function uh(e,t,n){eo&&eo.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const gh=dh("function:translate");function dh(e){return t=>eo&&eo.emit(e,t)}const fh=Wa.__EXTEND_POINT__,rn=Wo(fh),ph={FALLBACK_TO_TRANSLATE:rn(),CANNOT_FORMAT_NUMBER:rn(),FALLBACK_TO_NUMBER_FORMAT:rn(),CANNOT_FORMAT_DATE:rn(),FALLBACK_TO_DATE_FORMAT:rn(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:rn(),__EXTEND_POINT__:rn()},tl=Q.__EXTEND_POINT__,ln=Wo(tl),ut={INVALID_ARGUMENT:tl,INVALID_DATE_ARGUMENT:ln(),INVALID_ISO_DATE_ARGUMENT:ln(),NOT_SUPPORT_NON_STRING_MESSAGE:ln(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:ln(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:ln(),NOT_SUPPORT_LOCALE_TYPE:ln(),__EXTEND_POINT__:ln()};function St(e){return Sn(e,null,void 0)}function Xa(e,t){return t.locale!=null?nl(t.locale):nl(e.locale)}let Za;function nl(e){if(H(e))return e;if(Ae(e)){if(e.resolvedOnce&&Za!=null)return Za;if(e.constructor.name==="Function"){const t=e();if(rp(t))throw St(ut.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Za=t}else throw St(ut.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw St(ut.NOT_SUPPORT_LOCALE_TYPE)}function hh(e,t,n){return[...new Set([n,...ke(t)?t:ue(t)?Object.keys(t):H(t)?[t]:[n]])]}function ol(e,t,n){const o=H(n)?n:Tn,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let s=a.__localeChainCache.get(o);if(!s){s=[];let i=[n];for(;ke(i);)i=al(s,i,t);const r=ke(t)||!ne(t)?t:t.default?t.default:null;i=H(r)?[r]:r,ke(i)&&al(s,i,!1),a.__localeChainCache.set(o,s)}return s}function al(e,t,n){let o=!0;for(let a=0;a`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function yh(){return{upper:(e,t)=>t==="text"&&H(e)?e.toUpperCase():t==="vnode"&&ue(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&H(e)?e.toLowerCase():t==="vnode"&&ue(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&H(e)?il(e):t==="vnode"&&ue(e)&&"__v_isVNode"in e?il(e.children):e}}let rl;function ll(e){rl=e}let cl;function Ah(e){cl=e}let ul;function Sh(e){ul=e}let gl=null;const vh=e=>{gl=e},kh=()=>gl;let dl=null;const fl=e=>{dl=e},Th=()=>dl;let pl=0;function Eh(e={}){const t=Ae(e.onWarn)?e.onWarn:ep,n=H(e.version)?e.version:_h,o=H(e.locale)||Ae(e.locale)?e.locale:Tn,a=Ae(o)?Tn:o,s=ke(e.fallbackLocale)||ne(e.fallbackLocale)||H(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,i=ne(e.messages)?e.messages:Qa(a),r=ne(e.datetimeFormats)?e.datetimeFormats:Qa(a),l=ne(e.numberFormats)?e.numberFormats:Qa(a),c=Oe(me(),e.modifiers,yh()),u=e.pluralRules||me(),f=Ae(e.missing)?e.missing:null,m=re(e.missingWarn)||qt(e.missingWarn)?e.missingWarn:!0,k=re(e.fallbackWarn)||qt(e.fallbackWarn)?e.fallbackWarn:!0,N=!!e.fallbackFormat,v=!!e.unresolving,$=Ae(e.postTranslation)?e.postTranslation:null,P=ne(e.processor)?e.processor:null,T=re(e.warnHtmlMessage)?e.warnHtmlMessage:!0,_=!!e.escapeParameter,b=Ae(e.messageCompiler)?e.messageCompiler:rl,L=Ae(e.messageResolver)?e.messageResolver:cl||Qp,A=Ae(e.localeFallbacker)?e.localeFallbacker:ul||hh,C=ue(e.fallbackContext)?e.fallbackContext:void 0,D=e,S=ue(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,V=ue(D.__numberFormatters)?D.__numberFormatters:new Map,ae=ue(D.__meta)?D.__meta:{};pl++;const z={version:n,cid:pl,locale:o,fallbackLocale:s,messages:i,modifiers:c,pluralRules:u,missing:f,missingWarn:m,fallbackWarn:k,fallbackFormat:N,unresolving:v,postTranslation:$,processor:P,warnHtmlMessage:T,escapeParameter:_,messageCompiler:b,messageResolver:L,localeFallbacker:A,fallbackContext:C,onWarn:t,__meta:ae};return z.datetimeFormats=r,z.numberFormats=l,z.__datetimeFormatters=S,z.__numberFormatters=V,__INTLIFY_PROD_DEVTOOLS__&&uh(z,n,ae),z}const Qa=e=>({[e]:me()});function es(e,t,n,o,a){const{missing:s,onWarn:i}=e;if(s!==null){const r=s(e,n,t,a);return H(r)?r:t}else return t}function to(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function $h(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Lh(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let o=n+1;owh(n,e)}function wh(e,t){const n=Kp(t);if(n==null)throw Qn(0);if(Ja(n)===1){const s=Up(n);return e.plural(s.reduce((i,r)=>[...i,hl(e,r)],[]))}else return hl(e,n)}function hl(e,t){const n=Gp(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const o=zp(t).reduce((a,s)=>[...a,ns(e,s)],[]);return e.normalize(o)}}function ns(e,t){const n=Ja(t);switch(n){case 3:return Zo(t,n);case 9:return Zo(t,n);case 4:{const o=t;if(lt(o,"k")&&o.k)return e.interpolate(e.named(o.k));if(lt(o,"key")&&o.key)return e.interpolate(e.named(o.key));throw Qn(n)}case 5:{const o=t;if(lt(o,"i")&&$e(o.i))return e.interpolate(e.list(o.i));if(lt(o,"index")&&$e(o.index))return e.interpolate(e.list(o.index));throw Qn(n)}case 6:{const o=t,a=qp(o),s=Hp(o);return e.linked(ns(e,s),a?ns(e,a):void 0,e.type)}case 7:return Zo(t,n);case 8:return Zo(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const ml=e=>e;let En=me();function bl(e,t={}){let n=!1;const o=t.onError||mp;return t.onError=a=>{n=!0,o(a)},{...jp(e,t),detectError:n}}const Ch=(e,t)=>{if(!H(e))throw St(ut.NOT_SUPPORT_NON_STRING_MESSAGE);{re(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||ml)(e),a=En[o];if(a)return a;const{code:s,detectError:i}=bl(e,t),r=new Function(`return ${s}`)();return i?r:En[o]=r}};function Nh(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&H(e)){re(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||ml)(e),a=En[o];if(a)return a;const{ast:s,detectError:i}=bl(e,{...t,location:!1,jit:!0}),r=ts(s);return i?r:En[o]=r}else{const n=e.cacheKey;if(n){const o=En[n];return o||(En[n]=ts(e))}else return ts(e)}}const _l=()=>"",et=e=>Ae(e);function yl(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:a,messageCompiler:s,fallbackLocale:i,messages:r}=e,[l,c]=os(...t),u=re(c.missingWarn)?c.missingWarn:e.missingWarn,f=re(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,m=re(c.escapeParameter)?c.escapeParameter:e.escapeParameter,k=!!c.resolvedMessage,N=H(c.default)||re(c.default)?re(c.default)?s?l:()=>l:c.default:n?s?l:()=>l:"",v=n||N!=="",$=Xa(e,c);m&&Ph(c);let[P,T,_]=k?[l,$,r[$]||me()]:Al(e,l,$,i,f,u),b=P,L=l;if(!k&&!(H(b)||At(b)||et(b))&&v&&(b=N,L=b),!k&&(!(H(b)||At(b)||et(b))||!H(T)))return a?Qo:l;let A=!1;const C=()=>{A=!0},D=et(b)?b:Sl(e,l,T,b,L,C);if(A)return b;const S=Rh(e,T,_,c),V=lh(S),ae=Mh(e,D,V);let z=o?o(ae,l):ae;if(m&&H(z)&&(z=sp(z)),__INTLIFY_PROD_DEVTOOLS__){const ee={timestamp:Date.now(),key:H(l)?l:et(b)?b.key:"",locale:T||(et(b)?b.locale:""),format:H(b)?b:et(b)?b.source:"",message:z};ee.meta=Oe({},e.__meta,kh()||{}),gh(ee)}return z}function Ph(e){ke(e.list)?e.list=e.list.map(t=>H(t)?Ir(t):t):ue(e.named)&&Object.keys(e.named).forEach(t=>{H(e.named[t])&&(e.named[t]=Ir(e.named[t]))})}function Al(e,t,n,o,a,s){const{messages:i,onWarn:r,messageResolver:l,localeFallbacker:c}=e,u=c(e,o,n);let f=me(),m,k=null;const N="translate";for(let v=0;vo;return c.locale=n,c.key=t,c}const l=i(o,Ih(e,n,a,o,r,s));return l.locale=n,l.key=t,l.source=o,l}function Mh(e,t,n){return t(n)}function os(...e){const[t,n,o]=e,a=me();if(!H(t)&&!$e(t)&&!et(t)&&!At(t))throw St(ut.INVALID_ARGUMENT);const s=$e(t)?String(t):(et(t),t);return $e(n)?a.plural=n:H(n)?a.default=n:ne(n)&&!Vo(n)?a.named=n:ke(n)&&(a.list=n),$e(o)?a.plural=o:H(o)?a.default=o:ne(o)&&Oe(a,o),[s,a]}function Ih(e,t,n,o,a,s){return{locale:t,key:n,warnHtmlMessage:a,onError:i=>{throw s&&s(i),i},onCacheKey:i=>tp(t,n,i)}}function Rh(e,t,n,o){const{modifiers:a,pluralRules:s,messageResolver:i,fallbackLocale:r,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,m={locale:t,modifiers:a,pluralRules:s,messages:k=>{let N=i(n,k);if(N==null&&u){const[,,v]=Al(u,k,t,r,l,c);N=i(v,k)}if(H(N)||At(N)){let v=!1;const P=Sl(e,k,t,N,k,()=>{v=!0});return v?_l:P}else return et(N)?N:_l}};return e.processor&&(m.processor=e.processor),o.list&&(m.list=o.list),o.named&&(m.named=o.named),$e(o.plural)&&(m.pluralIndex=o.plural),m}function vl(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:a,onWarn:s,localeFallbacker:i}=e,{__datetimeFormatters:r}=e,[l,c,u,f]=as(...t),m=re(u.missingWarn)?u.missingWarn:e.missingWarn;re(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const k=!!u.part,N=Xa(e,u),v=i(e,a,N);if(!H(l)||l==="")return new Intl.DateTimeFormat(N,f).format(c);let $={},P,T=null;const _="datetime format";for(let A=0;A{kl.includes(l)?i[l]=n[l]:s[l]=n[l]}),H(o)?s.locale=o:ne(o)&&(i=o),ne(a)&&(i=a),[s.key||"",r,s,i]}function Tl(e,t,n){const o=e;for(const a in n){const s=`${t}__${a}`;o.__datetimeFormatters.has(s)&&o.__datetimeFormatters.delete(s)}}function El(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:a,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:r}=e,[l,c,u,f]=ss(...t),m=re(u.missingWarn)?u.missingWarn:e.missingWarn;re(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const k=!!u.part,N=Xa(e,u),v=i(e,a,N);if(!H(l)||l==="")return new Intl.NumberFormat(N,f).format(c);let $={},P,T=null;const _="number format";for(let A=0;A{$l.includes(l)?i[l]=n[l]:s[l]=n[l]}),H(o)?s.locale=o:ne(o)&&(i=o),ne(a)&&(i=a),[s.key||"",r,s,i]}function Ll(e,t,n){const o=e;for(const a in n){const s=`${t}__${a}`;o.__numberFormatters.has(s)&&o.__numberFormatters.delete(s)}}Bp();/*! * vue-i18n v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */const Dh="9.14.5";function Fh(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(It().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(It().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(It().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(It().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(It().__INTLIFY_PROD_DEVTOOLS__=!1)}const Oh=ph.__EXTEND_POINT__,Dt=Wo(Oh);Dt(),Dt(),Dt(),Dt(),Dt(),Dt(),Dt(),Dt(),Dt();const wl=ct.__EXTEND_POINT__,ze=Wo(wl),Ce={UNEXPECTED_RETURN_TYPE:wl,INVALID_ARGUMENT:ze(),MUST_BE_CALL_SETUP_TOP:ze(),NOT_INSTALLED:ze(),NOT_AVAILABLE_IN_LEGACY_MODE:ze(),REQUIRED_VALUE:ze(),INVALID_VALUE:ze(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:ze(),NOT_INSTALLED_WITH_PROVIDE:ze(),UNEXPECTED_ERROR:ze(),NOT_COMPATIBLE_LEGACY_VUE_I18N:ze(),BRIDGE_SUPPORT_VUE_2_ONLY:ze(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:ze(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:ze(),__EXTEND_POINT__:ze()};function Me(e,...t){return Sn(e,null,void 0)}const is=zt("__translateVNode"),rs=zt("__datetimeParts"),ls=zt("__numberParts"),Cl=zt("__setPluralRules"),Nl=zt("__injectWithOption"),cs=zt("__dispose");function no(e){if(!ue(e)||yt(e))return e;for(const t in e)if(rt(e,t))if(!t.includes("."))ue(e[t])&&no(e[t]);else{const n=t.split("."),o=n.length-1;let a=e,s=!1;for(let i=0;i{if("locale"in r&&"resource"in r){const{locale:l,resource:c}=r;l?(i[l]=i[l]||he(),Jo(c,i[l])):Jo(c,i)}else H(r)&&Jo(JSON.parse(r),i)}),a==null&&s)for(const r in i)rt(i,r)&&no(i[r]);return i}function Pl(e){return e.type}function Ml(e,t,n){let o=ue(t.messages)?t.messages:he();"__i18nGlobal"in n&&(o=ea(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const a=Object.keys(o);a.length&&a.forEach(s=>{e.mergeLocaleMessage(s,o[s])});{if(ue(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(ue(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Il(e){return Pe(Hn,null,e,0)}const Rl="__INTLIFY_META__",Dl=()=>[],xh=()=>!1;let Fl=0;function Ol(e){return(t,n,o,a)=>e(n,o,Pt()||void 0,a)}const jh=()=>{const e=Pt();let t=null;return e&&(t=Pl(e)[Rl])?{[Rl]:t}:null};function us(e={},t){const{__root:n,__injectWithOption:o}=e,a=n===void 0,s=e.flatJson,i=Ho?pe:Sa,r=!!e.translateExistCompatible;let l=le(e.inheritLocale)?e.inheritLocale:!0;const c=i(n&&l?n.locale.value:H(e.locale)?e.locale:Tn),u=i(n&&l?n.fallbackLocale.value:H(e.fallbackLocale)||ve(e.fallbackLocale)||oe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),f=i(ea(c.value,e)),m=i(oe(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),k=i(oe(e.numberFormats)?e.numberFormats:{[c.value]:{}});let N=n?n.missingWarn:le(e.missingWarn)||qt(e.missingWarn)?e.missingWarn:!0,v=n?n.fallbackWarn:le(e.fallbackWarn)||qt(e.fallbackWarn)?e.fallbackWarn:!0,$=n?n.fallbackRoot:le(e.fallbackRoot)?e.fallbackRoot:!0,P=!!e.fallbackFormat,T=ye(e.missing)?e.missing:null,_=ye(e.missing)?Ol(e.missing):null,b=ye(e.postTranslation)?e.postTranslation:null,L=n?n.warnHtmlMessage:le(e.warnHtmlMessage)?e.warnHtmlMessage:!0,A=!!e.escapeParameter;const C=n?n.modifiers:oe(e.modifiers)?e.modifiers:{};let D=e.pluralRules||n&&n.pluralRules,S;S=(()=>{a&&fl(null);const E={version:Dh,locale:c.value,fallbackLocale:u.value,messages:f.value,modifiers:C,pluralRules:D,missing:_===null?void 0:_,missingWarn:N,fallbackWarn:v,fallbackFormat:P,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:L,escapeParameter:A,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};E.datetimeFormats=m.value,E.numberFormats=k.value,E.__datetimeFormatters=oe(S)?S.__datetimeFormatters:void 0,E.__numberFormatters=oe(S)?S.__numberFormatters:void 0;const R=Eh(E);return a&&fl(R),R})(),to(S,c.value,u.value);function ae(){return[c.value,u.value,f.value,m.value,k.value]}const z=me({get:()=>c.value,set:E=>{c.value=E,S.locale=c.value}}),te=me({get:()=>u.value,set:E=>{u.value=E,S.fallbackLocale=u.value,to(S,c.value,E)}}),Y=me(()=>f.value),F=me(()=>m.value),j=me(()=>k.value);function q(){return ye(b)?b:null}function W(E){b=E,S.postTranslation=E}function Z(){return T}function ie(E){E!==null&&(_=Ol(E)),T=E,S.missing=_}const de=(E,R,J,se,Ae,Ue)=>{ae();let Fe;try{__INTLIFY_PROD_DEVTOOLS__,a||(S.fallbackContext=n?Th():void 0),Fe=E(S)}finally{__INTLIFY_PROD_DEVTOOLS__,a||(S.fallbackContext=void 0)}if(J!=="translate exists"&&Ee(Fe)&&Fe===Qo||J==="translate exists"&&!Fe){const[cn,Ms]=R();return n&&$?se(n):Ae(cn)}else{if(Ue(Fe))return Fe;throw Me(Ce.UNEXPECTED_RETURN_TYPE)}};function X(...E){return de(R=>Reflect.apply(yl,null,[R,...E]),()=>os(...E),"translate",R=>Reflect.apply(R.t,R,[...E]),R=>R,R=>H(R))}function re(...E){const[R,J,se]=E;if(se&&!ue(se))throw Me(Ce.INVALID_ARGUMENT);return X(R,J,De({resolvedMessage:!0},se||{}))}function $e(...E){return de(R=>Reflect.apply(vl,null,[R,...E]),()=>as(...E),"datetime format",R=>Reflect.apply(R.d,R,[...E]),()=>sl,R=>H(R))}function qe(...E){return de(R=>Reflect.apply(El,null,[R,...E]),()=>ss(...E),"number format",R=>Reflect.apply(R.n,R,[...E]),()=>sl,R=>H(R))}function Ke(E){return E.map(R=>H(R)||Ee(R)||le(R)?Il(String(R)):R)}const xt={normalize:Ke,interpolate:E=>E,type:"vnode"};function Zt(...E){return de(R=>{let J;const se=R;try{se.processor=xt,J=Reflect.apply(yl,null,[se,...E])}finally{se.processor=null}return J},()=>os(...E),"translate",R=>R[is](...E),R=>[Il(R)],R=>ve(R))}function nt(...E){return de(R=>Reflect.apply(El,null,[R,...E]),()=>ss(...E),"number format",R=>R[ls](...E),Dl,R=>H(R)||ve(R))}function Ln(...E){return de(R=>Reflect.apply(vl,null,[R,...E]),()=>as(...E),"datetime format",R=>R[rs](...E),Dl,R=>H(R)||ve(R))}function p(E){D=E,S.pluralRules=D}function y(E,R){return de(()=>{if(!E)return!1;const J=H(R)?R:c.value,se=x(J),Ae=S.messageResolver(se,E);return r?Ae!=null:yt(Ae)||Qe(Ae)||H(Ae)},()=>[E],"translate exists",J=>Reflect.apply(J.te,J,[E,R]),xh,J=>le(J))}function h(E){let R=null;const J=ol(S,u.value,c.value);for(let se=0;se{l&&(c.value=E,S.locale=E,to(S,c.value,u.value))}),Ut(n.fallbackLocale,E=>{l&&(u.value=E,S.fallbackLocale=E,to(S,c.value,u.value))}));const B={id:Fl,locale:z,fallbackLocale:te,get inheritLocale(){return l},set inheritLocale(E){l=E,E&&n&&(c.value=n.locale.value,u.value=n.fallbackLocale.value,to(S,c.value,u.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:Y,get modifiers(){return C},get pluralRules(){return D||{}},get isGlobal(){return a},get missingWarn(){return N},set missingWarn(E){N=E,S.missingWarn=N},get fallbackWarn(){return v},set fallbackWarn(E){v=E,S.fallbackWarn=v},get fallbackRoot(){return $},set fallbackRoot(E){$=E},get fallbackFormat(){return P},set fallbackFormat(E){P=E,S.fallbackFormat=P},get warnHtmlMessage(){return L},set warnHtmlMessage(E){L=E,S.warnHtmlMessage=E},get escapeParameter(){return A},set escapeParameter(E){A=E,S.escapeParameter=E},t:X,getLocaleMessage:x,setLocaleMessage:O,mergeLocaleMessage:U,getPostTranslationHandler:q,setPostTranslationHandler:W,getMissingHandler:Z,setMissingHandler:ie,[Cl]:p};return B.datetimeFormats=F,B.numberFormats=j,B.rt=re,B.te=y,B.tm=M,B.d=$e,B.n=qe,B.getDateTimeFormat=K,B.setDateTimeFormat=g,B.mergeDateTimeFormat=d,B.getNumberFormat=w,B.setNumberFormat=I,B.mergeNumberFormat=G,B[Nl]=o,B[is]=Zt,B[rs]=Ln,B[ls]=nt,B}function Bh(e){const t=H(e.locale)?e.locale:Tn,n=H(e.fallbackLocale)||ve(e.fallbackLocale)||oe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=ye(e.missing)?e.missing:void 0,a=le(e.silentTranslationWarn)||qt(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=le(e.silentFallbackWarn)||qt(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=le(e.fallbackRoot)?e.fallbackRoot:!0,r=!!e.formatFallbackMessages,l=oe(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=ye(e.postTranslation)?e.postTranslation:void 0,f=H(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,m=!!e.escapeParameterHtml,k=le(e.sync)?e.sync:!0;let N=e.messages;if(oe(e.sharedMessages)){const A=e.sharedMessages;N=Object.keys(A).reduce((D,S)=>{const V=D[S]||(D[S]={});return De(V,A[S]),D},N||{})}const{__i18n:v,__root:$,__injectWithOption:P}=e,T=e.datetimeFormats,_=e.numberFormats,b=e.flatJson,L=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:N,flatJson:b,datetimeFormats:T,numberFormats:_,missing:o,missingWarn:a,fallbackWarn:s,fallbackRoot:i,fallbackFormat:r,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:m,messageResolver:e.messageResolver,inheritLocale:k,translateExistCompatible:L,__i18n:v,__root:$,__injectWithOption:P}}function gs(e={},t){{const n=us(Bh(e)),{__extender:o}=e,a={id:n.id,get locale(){return n.locale.value},set locale(s){n.locale.value=s},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(s){n.fallbackLocale.value=s},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(s){},get missing(){return n.getMissingHandler()},set missing(s){n.setMissingHandler(s)},get silentTranslationWarn(){return le(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(s){n.missingWarn=le(s)?!s:s},get silentFallbackWarn(){return le(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(s){n.fallbackWarn=le(s)?!s:s},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(s){n.fallbackFormat=s},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(s){n.setPostTranslationHandler(s)},get sync(){return n.inheritLocale},set sync(s){n.inheritLocale=s},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){n.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(s){n.escapeParameter=s},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(s){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...s){const[i,r,l]=s,c={};let u=null,f=null;if(!H(i))throw Me(Ce.INVALID_ARGUMENT);const m=i;return H(r)?c.locale=r:ve(r)?u=r:oe(r)&&(f=r),ve(l)?u=l:oe(l)&&(f=l),Reflect.apply(n.t,n,[m,u||f||{},c])},rt(...s){return Reflect.apply(n.rt,n,[...s])},tc(...s){const[i,r,l]=s,c={plural:1};let u=null,f=null;if(!H(i))throw Me(Ce.INVALID_ARGUMENT);const m=i;return H(r)?c.locale=r:Ee(r)?c.plural=r:ve(r)?u=r:oe(r)&&(f=r),H(l)?c.locale=l:ve(l)?u=l:oe(l)&&(f=l),Reflect.apply(n.t,n,[m,u||f||{},c])},te(s,i){return n.te(s,i)},tm(s){return n.tm(s)},getLocaleMessage(s){return n.getLocaleMessage(s)},setLocaleMessage(s,i){n.setLocaleMessage(s,i)},mergeLocaleMessage(s,i){n.mergeLocaleMessage(s,i)},d(...s){return Reflect.apply(n.d,n,[...s])},getDateTimeFormat(s){return n.getDateTimeFormat(s)},setDateTimeFormat(s,i){n.setDateTimeFormat(s,i)},mergeDateTimeFormat(s,i){n.mergeDateTimeFormat(s,i)},n(...s){return Reflect.apply(n.n,n,[...s])},getNumberFormat(s){return n.getNumberFormat(s)},setNumberFormat(s,i){n.setNumberFormat(s,i)},mergeNumberFormat(s,i){n.mergeNumberFormat(s,i)},getChoiceIndex(s,i){return-1}};return a.__extender=o,a}}const ds={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Kh({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,a)=>[...o,...a.type===Ze?a.children:[a]],[]):t.reduce((n,o)=>{const a=e[o];return a&&(n[o]=a()),n},he())}function xl(e){return Ze}const jl=Bn({name:"i18n-t",props:De({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ee(e)||!isNaN(e)}},ds),setup(e,t){const{slots:n,attrs:o}=t,a=e.i18n||fs({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(f=>f!=="_"),i=he();e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=H(e.plural)?+e.plural:e.plural);const r=Kh(t,s),l=a[is](e.keypath,r,i),c=De(he(),o),u=H(e.tag)||ue(e.tag)?e.tag:xl();return cr(u,c,l)}}});function Uh(e){return ve(e)&&!H(e[0])}function Bl(e,t,n,o){const{slots:a,attrs:s}=t;return()=>{const i={part:!0};let r=he();e.locale&&(i.locale=e.locale),H(e.format)?i.key=e.format:ue(e.format)&&(H(e.format.key)&&(i.key=e.format.key),r=Object.keys(e.format).reduce((m,k)=>n.includes(k)?De(he(),m,{[k]:e.format[k]}):m,he()));const l=o(e.value,i,r);let c=[i.key];ve(l)?c=l.map((m,k)=>{const N=a[m.type],v=N?N({[m.type]:m.value,index:k,parts:l}):[m.value];return Uh(v)&&(v[0].key=`${m.type}-${k}`),v}):H(l)&&(c=[l]);const u=De(he(),s),f=H(e.tag)||ue(e.tag)?e.tag:xl();return cr(f,u,c)}}const Kl=Bn({name:"i18n-n",props:De({value:{type:Number,required:!0},format:{type:[String,Object]}},ds),setup(e,t){const n=e.i18n||fs({useScope:e.scope,__useComponent:!0});return Bl(e,t,$l,(...o)=>n[ls](...o))}}),Ul=Bn({name:"i18n-d",props:De({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ds),setup(e,t){const n=e.i18n||fs({useScope:e.scope,__useComponent:!0});return Bl(e,t,kl,(...o)=>n[rs](...o))}});function Gh(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function zh(e){const t=i=>{const{instance:r,modifiers:l,value:c}=i;if(!r||!r.$)throw Me(Ce.UNEXPECTED_ERROR);const u=Gh(e,r.$),f=Gl(c);return[Reflect.apply(u.t,u,[...zl(f)]),u]};return{created:(i,r)=>{const[l,c]=t(r);Ho&&e.global===c&&(i.__i18nWatcher=Ut(c.locale,()=>{r.instance&&r.instance.$forceUpdate()})),i.__composer=c,i.textContent=l},unmounted:i=>{Ho&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:r})=>{if(i.__composer){const l=i.__composer,c=Gl(r);i.textContent=Reflect.apply(l.t,l,[...zl(c)])}},getSSRProps:i=>{const[r]=t(i);return{textContent:r}}}}function Gl(e){if(H(e))return{path:e};if(oe(e)){if(!("path"in e))throw Me(Ce.REQUIRED_VALUE,"path");return e}else throw Me(Ce.INVALID_VALUE)}function zl(e){const{path:t,locale:n,args:o,choice:a,plural:s}=e,i={},r=o||{};return H(n)&&(i.locale=n),Ee(a)&&(i.plural=a),Ee(s)&&(i.plural=s),[t,r,i]}function qh(e,t,...n){const o=oe(n[0])?n[0]:{},a=!!o.useI18nComponentName;(le(o.globalInstall)?o.globalInstall:!0)&&([a?"i18n":jl.name,"I18nT"].forEach(i=>e.component(i,jl)),[Kl.name,"I18nN"].forEach(i=>e.component(i,Kl)),[Ul.name,"I18nD"].forEach(i=>e.component(i,Ul))),e.directive("t",zh(t))}function Hh(e,t,n){return{beforeCreate(){const o=Pt();if(!o)throw Me(Ce.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const s=a.i18n;if(a.__i18n&&(s.__i18n=a.__i18n),s.__root=t,this===this.$root)this.$i18n=ql(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=gs(s);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=ql(e,a);else{this.$i18n=gs({__i18n:a.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&Ml(t,a,a),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,i)=>this.$i18n.te(s,i),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),n.__setInstance(o,this.$i18n)},mounted(){},unmounted(){const o=Pt();if(!o)throw Me(Ce.UNEXPECTED_ERROR);const a=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),n.__deleteInstance(o),delete this.$i18n}}}function ql(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[Cl](t.pluralizationRules||e.pluralizationRules);const n=ea(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}const Vh=zt("global-vue-i18n");function Wh(e={},t){const n=__VUE_I18N_LEGACY_API__&&le(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=le(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,s=new Map,[i,r]=Yh(e,n),l=zt("");function c(m){return s.get(m)||null}function u(m,k){s.set(m,k)}function f(m){s.delete(m)}{const m={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return a},async install(k,...N){if(k.__VUE_I18N_SYMBOL__=l,k.provide(k.__VUE_I18N_SYMBOL__,m),oe(N[0])){const P=N[0];m.__composerExtend=P.__composerExtend,m.__vueI18nExtend=P.__vueI18nExtend}let v=null;!n&&o&&(v=am(k,m.global)),__VUE_I18N_FULL_INSTALL__&&qh(k,m,...N),__VUE_I18N_LEGACY_API__&&n&&k.mixin(Hh(r,r.__composer,m));const $=k.unmount;k.unmount=()=>{v&&v(),m.dispose(),$()}},get global(){return r},dispose(){i.stop()},__instances:s,__getInstance:c,__setInstance:u,__deleteInstance:f};return m}}function fs(e={}){const t=Pt();if(t==null)throw Me(Ce.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Me(Ce.NOT_INSTALLED);const n=Jh(t),o=Zh(n),a=Pl(t),s=Xh(e,a);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Me(Ce.NOT_AVAILABLE_IN_LEGACY_MODE);return nm(t,s,o,e)}if(s==="global")return Ml(o,e,a),o;if(s==="parent"){let l=Qh(n,t,e.__useComponent);return l==null&&(l=o),l}const i=n;let r=i.__getInstance(t);if(r==null){const l=De({},e);"__i18n"in a&&(l.__i18n=a.__i18n),o&&(l.__root=o),r=us(l),i.__composerExtend&&(r[cs]=i.__composerExtend(r)),tm(i,t,r),i.__setInstance(t,r)}return r}function Yh(e,t,n){const o=ca();{const a=__VUE_I18N_LEGACY_API__&&t?o.run(()=>gs(e)):o.run(()=>us(e));if(a==null)throw Me(Ce.UNEXPECTED_ERROR);return[o,a]}}function Jh(e){{const t=Ie(e.isCE?Vh:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Me(e.isCE?Ce.NOT_INSTALLED_WITH_PROVIDE:Ce.UNEXPECTED_ERROR);return t}}function Xh(e,t){return Vo(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Zh(e){return e.mode==="composition"?e.global:e.global.__composer}function Qh(e,t,n=!1){let o=null;const a=t.root;let s=em(t,n);for(;s!=null;){const i=e;if(e.mode==="composition")o=i.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const r=i.__getInstance(s);r!=null&&(o=r.__composer,n&&o&&!o[Nl]&&(o=null))}if(o!=null||a===s)break;s=s.parent}return o}function em(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function tm(e,t,n){Gn(()=>{},t),Do(()=>{const o=n;e.__deleteInstance(t);const a=o[cs];a&&(a(),delete o[cs])},t)}function nm(e,t,n,o={}){const a=t==="local",s=Sa(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Me(Ce.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=le(o.inheritLocale)?o.inheritLocale:!H(o.locale),r=pe(!a||i?n.locale.value:H(o.locale)?o.locale:Tn),l=pe(!a||i?n.fallbackLocale.value:H(o.fallbackLocale)||ve(o.fallbackLocale)||oe(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:r.value),c=pe(ea(r.value,o)),u=pe(oe(o.datetimeFormats)?o.datetimeFormats:{[r.value]:{}}),f=pe(oe(o.numberFormats)?o.numberFormats:{[r.value]:{}}),m=a?n.missingWarn:le(o.missingWarn)||qt(o.missingWarn)?o.missingWarn:!0,k=a?n.fallbackWarn:le(o.fallbackWarn)||qt(o.fallbackWarn)?o.fallbackWarn:!0,N=a?n.fallbackRoot:le(o.fallbackRoot)?o.fallbackRoot:!0,v=!!o.fallbackFormat,$=ye(o.missing)?o.missing:null,P=ye(o.postTranslation)?o.postTranslation:null,T=a?n.warnHtmlMessage:le(o.warnHtmlMessage)?o.warnHtmlMessage:!0,_=!!o.escapeParameter,b=a?n.modifiers:oe(o.modifiers)?o.modifiers:{},L=o.pluralRules||a&&n.pluralRules;function A(){return[r.value,l.value,c.value,u.value,f.value]}const C=me({get:()=>s.value?s.value.locale.value:r.value,set:h=>{s.value&&(s.value.locale.value=h),r.value=h}}),D=me({get:()=>s.value?s.value.fallbackLocale.value:l.value,set:h=>{s.value&&(s.value.fallbackLocale.value=h),l.value=h}}),S=me(()=>s.value?s.value.messages.value:c.value),V=me(()=>u.value),ae=me(()=>f.value);function z(){return s.value?s.value.getPostTranslationHandler():P}function te(h){s.value&&s.value.setPostTranslationHandler(h)}function Y(){return s.value?s.value.getMissingHandler():$}function F(h){s.value&&s.value.setMissingHandler(h)}function j(h){return A(),h()}function q(...h){return s.value?j(()=>Reflect.apply(s.value.t,null,[...h])):j(()=>"")}function W(...h){return s.value?Reflect.apply(s.value.rt,null,[...h]):""}function Z(...h){return s.value?j(()=>Reflect.apply(s.value.d,null,[...h])):j(()=>"")}function ie(...h){return s.value?j(()=>Reflect.apply(s.value.n,null,[...h])):j(()=>"")}function de(h){return s.value?s.value.tm(h):{}}function X(h,M){return s.value?s.value.te(h,M):!1}function re(h){return s.value?s.value.getLocaleMessage(h):{}}function $e(h,M){s.value&&(s.value.setLocaleMessage(h,M),c.value[h]=M)}function qe(h,M){s.value&&s.value.mergeLocaleMessage(h,M)}function Ke(h){return s.value?s.value.getDateTimeFormat(h):{}}function tt(h,M){s.value&&(s.value.setDateTimeFormat(h,M),u.value[h]=M)}function xt(h,M){s.value&&s.value.mergeDateTimeFormat(h,M)}function Zt(h){return s.value?s.value.getNumberFormat(h):{}}function nt(h,M){s.value&&(s.value.setNumberFormat(h,M),f.value[h]=M)}function Ln(h,M){s.value&&s.value.mergeNumberFormat(h,M)}const p={get id(){return s.value?s.value.id:-1},locale:C,fallbackLocale:D,messages:S,datetimeFormats:V,numberFormats:ae,get inheritLocale(){return s.value?s.value.inheritLocale:i},set inheritLocale(h){s.value&&(s.value.inheritLocale=h)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(c.value)},get modifiers(){return s.value?s.value.modifiers:b},get pluralRules(){return s.value?s.value.pluralRules:L},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:m},set missingWarn(h){s.value&&(s.value.missingWarn=h)},get fallbackWarn(){return s.value?s.value.fallbackWarn:k},set fallbackWarn(h){s.value&&(s.value.missingWarn=h)},get fallbackRoot(){return s.value?s.value.fallbackRoot:N},set fallbackRoot(h){s.value&&(s.value.fallbackRoot=h)},get fallbackFormat(){return s.value?s.value.fallbackFormat:v},set fallbackFormat(h){s.value&&(s.value.fallbackFormat=h)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:T},set warnHtmlMessage(h){s.value&&(s.value.warnHtmlMessage=h)},get escapeParameter(){return s.value?s.value.escapeParameter:_},set escapeParameter(h){s.value&&(s.value.escapeParameter=h)},t:q,getPostTranslationHandler:z,setPostTranslationHandler:te,getMissingHandler:Y,setMissingHandler:F,rt:W,d:Z,n:ie,tm:de,te:X,getLocaleMessage:re,setLocaleMessage:$e,mergeLocaleMessage:qe,getDateTimeFormat:Ke,setDateTimeFormat:tt,mergeDateTimeFormat:xt,getNumberFormat:Zt,setNumberFormat:nt,mergeNumberFormat:Ln};function y(h){h.locale.value=r.value,h.fallbackLocale.value=l.value,Object.keys(c.value).forEach(M=>{h.mergeLocaleMessage(M,c.value[M])}),Object.keys(u.value).forEach(M=>{h.mergeDateTimeFormat(M,u.value[M])}),Object.keys(f.value).forEach(M=>{h.mergeNumberFormat(M,f.value[M])}),h.escapeParameter=_,h.fallbackFormat=v,h.fallbackRoot=N,h.fallbackWarn=k,h.missingWarn=m,h.warnHtmlMessage=T}return Ei(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Me(Ce.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const h=s.value=e.proxy.$i18n.__composer;t==="global"?(r.value=h.locale.value,l.value=h.fallbackLocale.value,c.value=h.messages.value,u.value=h.datetimeFormats.value,f.value=h.numberFormats.value):a&&y(h)}),p}const om=["locale","fallbackLocale","availableLocales"],Hl=["t","rt","d","n","tm","te"];function am(e,t){const n=Object.create(null);return om.forEach(a=>{const s=Object.getOwnPropertyDescriptor(t,a);if(!s)throw Me(Ce.UNEXPECTED_ERROR);const i=ke(s.value)?{get(){return s.value.value},set(r){s.value.value=r}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,a,i)}),e.config.globalProperties.$i18n=n,Hl.forEach(a=>{const s=Object.getOwnPropertyDescriptor(t,a);if(!s||!s.value)throw Me(Ce.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,s)}),()=>{delete e.config.globalProperties.$i18n,Hl.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}if(Fh(),__INTLIFY_JIT_COMPILATION__?ll(Nh):ll(Ch),Ah(eh),Sh(ol),__INTLIFY_PROD_DEVTOOLS__){const e=It();e.__INTLIFY__=!0,ch(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const sm=Object.assign({"./locales/ar/aria.json":ud,"./locales/ar/buttons.json":gd,"./locales/ar/detail.json":dd,"./locales/ar/legend.json":fd,"./locales/ar/messages.json":pd,"./locales/ar/options.json":hd,"./locales/ar/prayerLaps.json":md,"./locales/ar/search.json":bd,"./locales/ar/tabs.json":_d,"./locales/de/aria.json":yd,"./locales/de/buttons.json":Ad,"./locales/de/detail.json":Sd,"./locales/de/legend.json":vd,"./locales/de/messages.json":kd,"./locales/de/options.json":Td,"./locales/de/prayerLaps.json":Ed,"./locales/de/search.json":$d,"./locales/de/tabs.json":Ld,"./locales/en/aria.json":wd,"./locales/en/buttons.json":Cd,"./locales/en/detail.json":Nd,"./locales/en/legend.json":Pd,"./locales/en/messages.json":Md,"./locales/en/options.json":Id,"./locales/en/popup.json":Rd,"./locales/en/prayerLaps.json":Dd,"./locales/en/search.json":Fd,"./locales/en/tabs.json":Od,"./locales/es/aria.json":xd,"./locales/es/buttons.json":jd,"./locales/es/detail.json":Bd,"./locales/es/legend.json":Kd,"./locales/es/messages.json":Ud,"./locales/es/options.json":Gd,"./locales/es/prayerLaps.json":zd,"./locales/es/search.json":qd,"./locales/es/tabs.json":Hd,"./locales/fr/aria.json":Vd,"./locales/fr/buttons.json":Wd,"./locales/fr/detail.json":Yd,"./locales/fr/legend.json":Jd,"./locales/fr/messages.json":Xd,"./locales/fr/options.json":Zd,"./locales/fr/popup.json":Qd,"./locales/fr/prayerLaps.json":ef,"./locales/fr/search.json":tf,"./locales/fr/tabs.json":nf,"./locales/hi/aria.json":of,"./locales/hi/buttons.json":af,"./locales/hi/detail.json":sf,"./locales/hi/legend.json":rf,"./locales/hi/messages.json":lf,"./locales/hi/options.json":cf,"./locales/hi/prayerLaps.json":uf,"./locales/hi/search.json":gf,"./locales/it/aria.json":df,"./locales/it/buttons.json":ff,"./locales/it/detail.json":pf,"./locales/it/legend.json":hf,"./locales/it/messages.json":mf,"./locales/it/options.json":bf,"./locales/it/prayerLaps.json":_f,"./locales/it/search.json":yf,"./locales/pt/aria.json":Af,"./locales/pt/buttons.json":Sf,"./locales/pt/detail.json":vf,"./locales/pt/legend.json":kf,"./locales/pt/messages.json":Tf,"./locales/pt/options.json":Ef,"./locales/pt/prayerLaps.json":$f,"./locales/pt/search.json":Lf,"./locales/pt/tabs.json":wf,"./locales/ro/aria.json":Cf,"./locales/ro/buttons.json":Nf,"./locales/ro/detail.json":Pf,"./locales/ro/legend.json":Mf,"./locales/ro/messages.json":If,"./locales/ro/options.json":Rf,"./locales/ro/prayerLaps.json":Df,"./locales/ro/search.json":Ff,"./locales/ru/aria.json":Of,"./locales/ru/buttons.json":xf,"./locales/ru/detail.json":jf,"./locales/ru/legend.json":Bf,"./locales/ru/messages.json":Kf,"./locales/ru/options.json":Uf,"./locales/ru/prayerLaps.json":Gf,"./locales/ru/search.json":zf,"./locales/ru/tabs.json":qf,"./locales/zh/aria.json":Hf,"./locales/zh/buttons.json":Vf,"./locales/zh/detail.json":Wf,"./locales/zh/legend.json":Yf,"./locales/zh/messages.json":Jf,"./locales/zh/options.json":Xf,"./locales/zh/prayerLaps.json":Zf,"./locales/zh/search.json":Qf}),oo={};for(const[e,t]of Object.entries(sm)){const n=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!n)continue;const[,o,a]=n;oo[o]??(oo[o]={}),oo[o][a]=t}const Vl=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"];function im(){var n;const t=(((n=document==null?void 0:document.documentElement)==null?void 0:n.lang)||"").split("-")[0].toLowerCase();return Vl.includes(t)?t:"en"}function rm(){return Wh({legacy:!1,globalInjection:!0,locale:im(),fallbackLocale:"en",messages:oo,missingWarn:!1,fallbackWarn:!1})}function Wl(e,t){const n=t||lm(e);Gn(()=>{var r;const o=Pt();if(!o)return;const a=(r=o.proxy)==null?void 0:r.$el;if(!a)return;const s=a.getRootNode();if(!(s instanceof ShadowRoot)||s.querySelector(`style[data-shadow-styles="${n}"]`))return;const i=document.createElement("style");i.setAttribute("data-shadow-styles",n),i.textContent=e,s.appendChild(i)})}function lm(e){let t=0;for(let n=0;n(t==null?void 0:t.theme)==="dark"),a=me(()=>{var $;return(($=n==null?void 0:n.value)==null?void 0:$.pinHintLabel)||"Tap a coloured dot — someone still needs prayer"}),s=pe(!1),i=pe(null);let r=null,l=null,c=null,u=null,f=null;function m(){s.value=!1}function k($,P){var _;let T=$==null?void 0:$.parentElement;for(let b=0;T&&b<12;b++,T=T.parentElement){if(T===P||(_=T.classList)!=null&&_.contains("profile-loader"))return null;let L="";try{L=getComputedStyle(T).position}catch{}if(L&&L!=="static"){const A=T.getBoundingClientRect();if(A.height>=120&&A.width>=160)return T}}return null}function N(){const $=i.value;if($)try{$.style.removeProperty("--pin-hint-lift");const P=$.getBoundingClientRect();if(!P.height)return;const T=Math.round(P.bottom-window.innerHeight);T>0&&$.style.setProperty("--pin-hint-lift",T+8+"px")}catch{}}function v($){const P=i.value;if(!P||!($!=null&&$.querySelector))return;let T=0;try{const b=$.querySelector(".mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-attrib, .mapboxgl-ctrl-bottom-right .doxa-attribution, .doxa-attribution");if(b){const L=b.getBoundingClientRect(),A=P.parentElement,C=A?A.getBoundingClientRect():null;if(T=C?Math.max(L.height||0,C.bottom-L.top):L.height||0,f!==b&&typeof ResizeObserver<"u"){if(c)try{c.disconnect()}catch{}f=b,c=new ResizeObserver(()=>v($)),c.observe(b)}}}catch{}const _=Math.min(Math.max(Math.ceil(T)||20,20),72);P.style.setProperty("--pin-hint-attrib-clear",_+"px"),N()}return Gn(()=>{var _,b,L;const $=Pt(),P=(L=(b=(_=$==null?void 0:$.proxy)==null?void 0:_.$el)==null?void 0:b.getRootNode)==null?void 0:L.call(b);if(!P||typeof P.querySelector!="function")return;let T=0;r=setInterval(()=>{T++;const A=P.querySelector("canvas");A?(clearInterval(r),r=null,s.value=!0,Lo(()=>{const C=k(A,P),D=i.value;if(C&&D&&D.parentElement!==C)try{C.appendChild(D),l=C}catch{}v(P),N();try{const S=i.value&&i.value.offsetParent||null;if(S&&typeof ResizeObserver<"u"){if(u)try{u.disconnect()}catch{}u=new ResizeObserver(()=>N()),u.observe(S)}}catch{}})):T>40&&(clearInterval(r),r=null)},300)}),Ro(()=>{var $;if(r&&clearInterval(r),c){try{c.disconnect()}catch{}c=null}if(f=null,u){try{u.disconnect()}catch{}u=null}if(l&&(($=i.value)==null?void 0:$.parentElement)===l)try{l.removeChild(i.value)}catch{}l=null}),Wl(` + */const Dh="9.14.5";function Fh(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Rt().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Rt().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Rt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Rt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Rt().__INTLIFY_PROD_DEVTOOLS__=!1)}const Oh=ph.__EXTEND_POINT__,Ft=Wo(Oh);Ft(),Ft(),Ft(),Ft(),Ft(),Ft(),Ft(),Ft(),Ft();const wl=ut.__EXTEND_POINT__,qe=Wo(wl),Ce={UNEXPECTED_RETURN_TYPE:wl,INVALID_ARGUMENT:qe(),MUST_BE_CALL_SETUP_TOP:qe(),NOT_INSTALLED:qe(),NOT_AVAILABLE_IN_LEGACY_MODE:qe(),REQUIRED_VALUE:qe(),INVALID_VALUE:qe(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:qe(),NOT_INSTALLED_WITH_PROVIDE:qe(),UNEXPECTED_ERROR:qe(),NOT_COMPATIBLE_LEGACY_VUE_I18N:qe(),BRIDGE_SUPPORT_VUE_2_ONLY:qe(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:qe(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:qe(),__EXTEND_POINT__:qe()};function Ie(e,...t){return Sn(e,null,void 0)}const is=zt("__translateVNode"),rs=zt("__datetimeParts"),ls=zt("__numberParts"),Cl=zt("__setPluralRules"),Nl=zt("__injectWithOption"),cs=zt("__dispose");function no(e){if(!ue(e)||At(e))return e;for(const t in e)if(lt(e,t))if(!t.includes("."))ue(e[t])&&no(e[t]);else{const n=t.split("."),o=n.length-1;let a=e,s=!1;for(let i=0;i{if("locale"in r&&"resource"in r){const{locale:l,resource:c}=r;l?(i[l]=i[l]||me(),Jo(c,i[l])):Jo(c,i)}else H(r)&&Jo(JSON.parse(r),i)}),a==null&&s)for(const r in i)lt(i,r)&&no(i[r]);return i}function Pl(e){return e.type}function Ml(e,t,n){let o=ue(t.messages)?t.messages:me();"__i18nGlobal"in n&&(o=ea(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const a=Object.keys(o);a.length&&a.forEach(s=>{e.mergeLocaleMessage(s,o[s])});{if(ue(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(ue(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Il(e){return Me(Hn,null,e,0)}const Rl="__INTLIFY_META__",Dl=()=>[],xh=()=>!1;let Fl=0;function Ol(e){return(t,n,o,a)=>e(n,o,Mt()||void 0,a)}const jh=()=>{const e=Mt();let t=null;return e&&(t=Pl(e)[Rl])?{[Rl]:t}:null};function us(e={},t){const{__root:n,__injectWithOption:o}=e,a=n===void 0,s=e.flatJson,i=Ho?he:Sa,r=!!e.translateExistCompatible;let l=re(e.inheritLocale)?e.inheritLocale:!0;const c=i(n&&l?n.locale.value:H(e.locale)?e.locale:Tn),u=i(n&&l?n.fallbackLocale.value:H(e.fallbackLocale)||ke(e.fallbackLocale)||ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),f=i(ea(c.value,e)),m=i(ne(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),k=i(ne(e.numberFormats)?e.numberFormats:{[c.value]:{}});let N=n?n.missingWarn:re(e.missingWarn)||qt(e.missingWarn)?e.missingWarn:!0,v=n?n.fallbackWarn:re(e.fallbackWarn)||qt(e.fallbackWarn)?e.fallbackWarn:!0,$=n?n.fallbackRoot:re(e.fallbackRoot)?e.fallbackRoot:!0,P=!!e.fallbackFormat,T=Ae(e.missing)?e.missing:null,_=Ae(e.missing)?Ol(e.missing):null,b=Ae(e.postTranslation)?e.postTranslation:null,L=n?n.warnHtmlMessage:re(e.warnHtmlMessage)?e.warnHtmlMessage:!0,A=!!e.escapeParameter;const C=n?n.modifiers:ne(e.modifiers)?e.modifiers:{};let D=e.pluralRules||n&&n.pluralRules,S;S=(()=>{a&&fl(null);const E={version:Dh,locale:c.value,fallbackLocale:u.value,messages:f.value,modifiers:C,pluralRules:D,missing:_===null?void 0:_,missingWarn:N,fallbackWarn:v,fallbackFormat:P,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:L,escapeParameter:A,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};E.datetimeFormats=m.value,E.numberFormats=k.value,E.__datetimeFormatters=ne(S)?S.__datetimeFormatters:void 0,E.__numberFormatters=ne(S)?S.__numberFormatters:void 0;const R=Eh(E);return a&&fl(R),R})(),to(S,c.value,u.value);function ae(){return[c.value,u.value,f.value,m.value,k.value]}const z=be({get:()=>c.value,set:E=>{c.value=E,S.locale=c.value}}),ee=be({get:()=>u.value,set:E=>{u.value=E,S.fallbackLocale=u.value,to(S,c.value,E)}}),Y=be(()=>f.value),F=be(()=>m.value),j=be(()=>k.value);function q(){return Ae(b)?b:null}function W(E){b=E,S.postTranslation=E}function X(){return T}function ge(E){E!==null&&(_=Ol(E)),T=E,S.missing=_}const ie=(E,R,J,se,Se,Ge)=>{ae();let xe;try{__INTLIFY_PROD_DEVTOOLS__,a||(S.fallbackContext=n?Th():void 0),xe=E(S)}finally{__INTLIFY_PROD_DEVTOOLS__,a||(S.fallbackContext=void 0)}if(J!=="translate exists"&&$e(xe)&&xe===Qo||J==="translate exists"&&!xe){const[cn,Ms]=R();return n&&$?se(n):Se(cn)}else{if(Ge(xe))return xe;throw Ie(Ce.UNEXPECTED_RETURN_TYPE)}};function fe(...E){return ie(R=>Reflect.apply(yl,null,[R,...E]),()=>os(...E),"translate",R=>Reflect.apply(R.t,R,[...E]),R=>R,R=>H(R))}function oe(...E){const[R,J,se]=E;if(se&&!ue(se))throw Ie(Ce.INVALID_ARGUMENT);return fe(R,J,Oe({resolvedMessage:!0},se||{}))}function le(...E){return ie(R=>Reflect.apply(vl,null,[R,...E]),()=>as(...E),"datetime format",R=>Reflect.apply(R.d,R,[...E]),()=>sl,R=>H(R))}function Ne(...E){return ie(R=>Reflect.apply(El,null,[R,...E]),()=>ss(...E),"number format",R=>Reflect.apply(R.n,R,[...E]),()=>sl,R=>H(R))}function Re(E){return E.map(R=>H(R)||$e(R)||re(R)?Il(String(R)):R)}const nt={normalize:Re,interpolate:E=>E,type:"vnode"};function Zt(...E){return ie(R=>{let J;const se=R;try{se.processor=nt,J=Reflect.apply(yl,null,[se,...E])}finally{se.processor=null}return J},()=>os(...E),"translate",R=>R[is](...E),R=>[Il(R)],R=>ke(R))}function ot(...E){return ie(R=>Reflect.apply(El,null,[R,...E]),()=>ss(...E),"number format",R=>R[ls](...E),Dl,R=>H(R)||ke(R))}function Ln(...E){return ie(R=>Reflect.apply(vl,null,[R,...E]),()=>as(...E),"datetime format",R=>R[rs](...E),Dl,R=>H(R)||ke(R))}function p(E){D=E,S.pluralRules=D}function y(E,R){return ie(()=>{if(!E)return!1;const J=H(R)?R:c.value,se=x(J),Se=S.messageResolver(se,E);return r?Se!=null:At(Se)||et(Se)||H(Se)},()=>[E],"translate exists",J=>Reflect.apply(J.te,J,[E,R]),xh,J=>re(J))}function h(E){let R=null;const J=ol(S,u.value,c.value);for(let se=0;se{l&&(c.value=E,S.locale=E,to(S,c.value,u.value))}),Ut(n.fallbackLocale,E=>{l&&(u.value=E,S.fallbackLocale=E,to(S,c.value,u.value))}));const B={id:Fl,locale:z,fallbackLocale:ee,get inheritLocale(){return l},set inheritLocale(E){l=E,E&&n&&(c.value=n.locale.value,u.value=n.fallbackLocale.value,to(S,c.value,u.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:Y,get modifiers(){return C},get pluralRules(){return D||{}},get isGlobal(){return a},get missingWarn(){return N},set missingWarn(E){N=E,S.missingWarn=N},get fallbackWarn(){return v},set fallbackWarn(E){v=E,S.fallbackWarn=v},get fallbackRoot(){return $},set fallbackRoot(E){$=E},get fallbackFormat(){return P},set fallbackFormat(E){P=E,S.fallbackFormat=P},get warnHtmlMessage(){return L},set warnHtmlMessage(E){L=E,S.warnHtmlMessage=E},get escapeParameter(){return A},set escapeParameter(E){A=E,S.escapeParameter=E},t:fe,getLocaleMessage:x,setLocaleMessage:O,mergeLocaleMessage:U,getPostTranslationHandler:q,setPostTranslationHandler:W,getMissingHandler:X,setMissingHandler:ge,[Cl]:p};return B.datetimeFormats=F,B.numberFormats=j,B.rt=oe,B.te=y,B.tm=M,B.d=le,B.n=Ne,B.getDateTimeFormat=K,B.setDateTimeFormat=g,B.mergeDateTimeFormat=d,B.getNumberFormat=w,B.setNumberFormat=I,B.mergeNumberFormat=G,B[Nl]=o,B[is]=Zt,B[rs]=Ln,B[ls]=ot,B}function Bh(e){const t=H(e.locale)?e.locale:Tn,n=H(e.fallbackLocale)||ke(e.fallbackLocale)||ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=Ae(e.missing)?e.missing:void 0,a=re(e.silentTranslationWarn)||qt(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=re(e.silentFallbackWarn)||qt(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=re(e.fallbackRoot)?e.fallbackRoot:!0,r=!!e.formatFallbackMessages,l=ne(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Ae(e.postTranslation)?e.postTranslation:void 0,f=H(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,m=!!e.escapeParameterHtml,k=re(e.sync)?e.sync:!0;let N=e.messages;if(ne(e.sharedMessages)){const A=e.sharedMessages;N=Object.keys(A).reduce((D,S)=>{const V=D[S]||(D[S]={});return Oe(V,A[S]),D},N||{})}const{__i18n:v,__root:$,__injectWithOption:P}=e,T=e.datetimeFormats,_=e.numberFormats,b=e.flatJson,L=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:N,flatJson:b,datetimeFormats:T,numberFormats:_,missing:o,missingWarn:a,fallbackWarn:s,fallbackRoot:i,fallbackFormat:r,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:m,messageResolver:e.messageResolver,inheritLocale:k,translateExistCompatible:L,__i18n:v,__root:$,__injectWithOption:P}}function gs(e={},t){{const n=us(Bh(e)),{__extender:o}=e,a={id:n.id,get locale(){return n.locale.value},set locale(s){n.locale.value=s},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(s){n.fallbackLocale.value=s},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(s){},get missing(){return n.getMissingHandler()},set missing(s){n.setMissingHandler(s)},get silentTranslationWarn(){return re(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(s){n.missingWarn=re(s)?!s:s},get silentFallbackWarn(){return re(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(s){n.fallbackWarn=re(s)?!s:s},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(s){n.fallbackFormat=s},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(s){n.setPostTranslationHandler(s)},get sync(){return n.inheritLocale},set sync(s){n.inheritLocale=s},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){n.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(s){n.escapeParameter=s},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(s){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...s){const[i,r,l]=s,c={};let u=null,f=null;if(!H(i))throw Ie(Ce.INVALID_ARGUMENT);const m=i;return H(r)?c.locale=r:ke(r)?u=r:ne(r)&&(f=r),ke(l)?u=l:ne(l)&&(f=l),Reflect.apply(n.t,n,[m,u||f||{},c])},rt(...s){return Reflect.apply(n.rt,n,[...s])},tc(...s){const[i,r,l]=s,c={plural:1};let u=null,f=null;if(!H(i))throw Ie(Ce.INVALID_ARGUMENT);const m=i;return H(r)?c.locale=r:$e(r)?c.plural=r:ke(r)?u=r:ne(r)&&(f=r),H(l)?c.locale=l:ke(l)?u=l:ne(l)&&(f=l),Reflect.apply(n.t,n,[m,u||f||{},c])},te(s,i){return n.te(s,i)},tm(s){return n.tm(s)},getLocaleMessage(s){return n.getLocaleMessage(s)},setLocaleMessage(s,i){n.setLocaleMessage(s,i)},mergeLocaleMessage(s,i){n.mergeLocaleMessage(s,i)},d(...s){return Reflect.apply(n.d,n,[...s])},getDateTimeFormat(s){return n.getDateTimeFormat(s)},setDateTimeFormat(s,i){n.setDateTimeFormat(s,i)},mergeDateTimeFormat(s,i){n.mergeDateTimeFormat(s,i)},n(...s){return Reflect.apply(n.n,n,[...s])},getNumberFormat(s){return n.getNumberFormat(s)},setNumberFormat(s,i){n.setNumberFormat(s,i)},mergeNumberFormat(s,i){n.mergeNumberFormat(s,i)},getChoiceIndex(s,i){return-1}};return a.__extender=o,a}}const ds={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Kh({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,a)=>[...o,...a.type===Qe?a.children:[a]],[]):t.reduce((n,o)=>{const a=e[o];return a&&(n[o]=a()),n},me())}function xl(e){return Qe}const jl=Bn({name:"i18n-t",props:Oe({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>$e(e)||!isNaN(e)}},ds),setup(e,t){const{slots:n,attrs:o}=t,a=e.i18n||fs({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(f=>f!=="_"),i=me();e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=H(e.plural)?+e.plural:e.plural);const r=Kh(t,s),l=a[is](e.keypath,r,i),c=Oe(me(),o),u=H(e.tag)||ue(e.tag)?e.tag:xl();return cr(u,c,l)}}});function Uh(e){return ke(e)&&!H(e[0])}function Bl(e,t,n,o){const{slots:a,attrs:s}=t;return()=>{const i={part:!0};let r=me();e.locale&&(i.locale=e.locale),H(e.format)?i.key=e.format:ue(e.format)&&(H(e.format.key)&&(i.key=e.format.key),r=Object.keys(e.format).reduce((m,k)=>n.includes(k)?Oe(me(),m,{[k]:e.format[k]}):m,me()));const l=o(e.value,i,r);let c=[i.key];ke(l)?c=l.map((m,k)=>{const N=a[m.type],v=N?N({[m.type]:m.value,index:k,parts:l}):[m.value];return Uh(v)&&(v[0].key=`${m.type}-${k}`),v}):H(l)&&(c=[l]);const u=Oe(me(),s),f=H(e.tag)||ue(e.tag)?e.tag:xl();return cr(f,u,c)}}const Kl=Bn({name:"i18n-n",props:Oe({value:{type:Number,required:!0},format:{type:[String,Object]}},ds),setup(e,t){const n=e.i18n||fs({useScope:e.scope,__useComponent:!0});return Bl(e,t,$l,(...o)=>n[ls](...o))}}),Ul=Bn({name:"i18n-d",props:Oe({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ds),setup(e,t){const n=e.i18n||fs({useScope:e.scope,__useComponent:!0});return Bl(e,t,kl,(...o)=>n[rs](...o))}});function Gh(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function zh(e){const t=i=>{const{instance:r,modifiers:l,value:c}=i;if(!r||!r.$)throw Ie(Ce.UNEXPECTED_ERROR);const u=Gh(e,r.$),f=Gl(c);return[Reflect.apply(u.t,u,[...zl(f)]),u]};return{created:(i,r)=>{const[l,c]=t(r);Ho&&e.global===c&&(i.__i18nWatcher=Ut(c.locale,()=>{r.instance&&r.instance.$forceUpdate()})),i.__composer=c,i.textContent=l},unmounted:i=>{Ho&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:r})=>{if(i.__composer){const l=i.__composer,c=Gl(r);i.textContent=Reflect.apply(l.t,l,[...zl(c)])}},getSSRProps:i=>{const[r]=t(i);return{textContent:r}}}}function Gl(e){if(H(e))return{path:e};if(ne(e)){if(!("path"in e))throw Ie(Ce.REQUIRED_VALUE,"path");return e}else throw Ie(Ce.INVALID_VALUE)}function zl(e){const{path:t,locale:n,args:o,choice:a,plural:s}=e,i={},r=o||{};return H(n)&&(i.locale=n),$e(a)&&(i.plural=a),$e(s)&&(i.plural=s),[t,r,i]}function qh(e,t,...n){const o=ne(n[0])?n[0]:{},a=!!o.useI18nComponentName;(re(o.globalInstall)?o.globalInstall:!0)&&([a?"i18n":jl.name,"I18nT"].forEach(i=>e.component(i,jl)),[Kl.name,"I18nN"].forEach(i=>e.component(i,Kl)),[Ul.name,"I18nD"].forEach(i=>e.component(i,Ul))),e.directive("t",zh(t))}function Hh(e,t,n){return{beforeCreate(){const o=Mt();if(!o)throw Ie(Ce.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const s=a.i18n;if(a.__i18n&&(s.__i18n=a.__i18n),s.__root=t,this===this.$root)this.$i18n=ql(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=gs(s);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=ql(e,a);else{this.$i18n=gs({__i18n:a.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&Ml(t,a,a),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,i)=>this.$i18n.te(s,i),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),n.__setInstance(o,this.$i18n)},mounted(){},unmounted(){const o=Mt();if(!o)throw Ie(Ce.UNEXPECTED_ERROR);const a=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),n.__deleteInstance(o),delete this.$i18n}}}function ql(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[Cl](t.pluralizationRules||e.pluralizationRules);const n=ea(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}const Vh=zt("global-vue-i18n");function Wh(e={},t){const n=__VUE_I18N_LEGACY_API__&&re(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=re(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,s=new Map,[i,r]=Yh(e,n),l=zt("");function c(m){return s.get(m)||null}function u(m,k){s.set(m,k)}function f(m){s.delete(m)}{const m={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return a},async install(k,...N){if(k.__VUE_I18N_SYMBOL__=l,k.provide(k.__VUE_I18N_SYMBOL__,m),ne(N[0])){const P=N[0];m.__composerExtend=P.__composerExtend,m.__vueI18nExtend=P.__vueI18nExtend}let v=null;!n&&o&&(v=am(k,m.global)),__VUE_I18N_FULL_INSTALL__&&qh(k,m,...N),__VUE_I18N_LEGACY_API__&&n&&k.mixin(Hh(r,r.__composer,m));const $=k.unmount;k.unmount=()=>{v&&v(),m.dispose(),$()}},get global(){return r},dispose(){i.stop()},__instances:s,__getInstance:c,__setInstance:u,__deleteInstance:f};return m}}function fs(e={}){const t=Mt();if(t==null)throw Ie(Ce.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Ie(Ce.NOT_INSTALLED);const n=Jh(t),o=Zh(n),a=Pl(t),s=Xh(e,a);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Ie(Ce.NOT_AVAILABLE_IN_LEGACY_MODE);return nm(t,s,o,e)}if(s==="global")return Ml(o,e,a),o;if(s==="parent"){let l=Qh(n,t,e.__useComponent);return l==null&&(l=o),l}const i=n;let r=i.__getInstance(t);if(r==null){const l=Oe({},e);"__i18n"in a&&(l.__i18n=a.__i18n),o&&(l.__root=o),r=us(l),i.__composerExtend&&(r[cs]=i.__composerExtend(r)),tm(i,t,r),i.__setInstance(t,r)}return r}function Yh(e,t,n){const o=ca();{const a=__VUE_I18N_LEGACY_API__&&t?o.run(()=>gs(e)):o.run(()=>us(e));if(a==null)throw Ie(Ce.UNEXPECTED_ERROR);return[o,a]}}function Jh(e){{const t=De(e.isCE?Vh:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Ie(e.isCE?Ce.NOT_INSTALLED_WITH_PROVIDE:Ce.UNEXPECTED_ERROR);return t}}function Xh(e,t){return Vo(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Zh(e){return e.mode==="composition"?e.global:e.global.__composer}function Qh(e,t,n=!1){let o=null;const a=t.root;let s=em(t,n);for(;s!=null;){const i=e;if(e.mode==="composition")o=i.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const r=i.__getInstance(s);r!=null&&(o=r.__composer,n&&o&&!o[Nl]&&(o=null))}if(o!=null||a===s)break;s=s.parent}return o}function em(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function tm(e,t,n){Gn(()=>{},t),Do(()=>{const o=n;e.__deleteInstance(t);const a=o[cs];a&&(a(),delete o[cs])},t)}function nm(e,t,n,o={}){const a=t==="local",s=Sa(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Ie(Ce.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=re(o.inheritLocale)?o.inheritLocale:!H(o.locale),r=he(!a||i?n.locale.value:H(o.locale)?o.locale:Tn),l=he(!a||i?n.fallbackLocale.value:H(o.fallbackLocale)||ke(o.fallbackLocale)||ne(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:r.value),c=he(ea(r.value,o)),u=he(ne(o.datetimeFormats)?o.datetimeFormats:{[r.value]:{}}),f=he(ne(o.numberFormats)?o.numberFormats:{[r.value]:{}}),m=a?n.missingWarn:re(o.missingWarn)||qt(o.missingWarn)?o.missingWarn:!0,k=a?n.fallbackWarn:re(o.fallbackWarn)||qt(o.fallbackWarn)?o.fallbackWarn:!0,N=a?n.fallbackRoot:re(o.fallbackRoot)?o.fallbackRoot:!0,v=!!o.fallbackFormat,$=Ae(o.missing)?o.missing:null,P=Ae(o.postTranslation)?o.postTranslation:null,T=a?n.warnHtmlMessage:re(o.warnHtmlMessage)?o.warnHtmlMessage:!0,_=!!o.escapeParameter,b=a?n.modifiers:ne(o.modifiers)?o.modifiers:{},L=o.pluralRules||a&&n.pluralRules;function A(){return[r.value,l.value,c.value,u.value,f.value]}const C=be({get:()=>s.value?s.value.locale.value:r.value,set:h=>{s.value&&(s.value.locale.value=h),r.value=h}}),D=be({get:()=>s.value?s.value.fallbackLocale.value:l.value,set:h=>{s.value&&(s.value.fallbackLocale.value=h),l.value=h}}),S=be(()=>s.value?s.value.messages.value:c.value),V=be(()=>u.value),ae=be(()=>f.value);function z(){return s.value?s.value.getPostTranslationHandler():P}function ee(h){s.value&&s.value.setPostTranslationHandler(h)}function Y(){return s.value?s.value.getMissingHandler():$}function F(h){s.value&&s.value.setMissingHandler(h)}function j(h){return A(),h()}function q(...h){return s.value?j(()=>Reflect.apply(s.value.t,null,[...h])):j(()=>"")}function W(...h){return s.value?Reflect.apply(s.value.rt,null,[...h]):""}function X(...h){return s.value?j(()=>Reflect.apply(s.value.d,null,[...h])):j(()=>"")}function ge(...h){return s.value?j(()=>Reflect.apply(s.value.n,null,[...h])):j(()=>"")}function ie(h){return s.value?s.value.tm(h):{}}function fe(h,M){return s.value?s.value.te(h,M):!1}function oe(h){return s.value?s.value.getLocaleMessage(h):{}}function le(h,M){s.value&&(s.value.setLocaleMessage(h,M),c.value[h]=M)}function Ne(h,M){s.value&&s.value.mergeLocaleMessage(h,M)}function Re(h){return s.value?s.value.getDateTimeFormat(h):{}}function Ye(h,M){s.value&&(s.value.setDateTimeFormat(h,M),u.value[h]=M)}function nt(h,M){s.value&&s.value.mergeDateTimeFormat(h,M)}function Zt(h){return s.value?s.value.getNumberFormat(h):{}}function ot(h,M){s.value&&(s.value.setNumberFormat(h,M),f.value[h]=M)}function Ln(h,M){s.value&&s.value.mergeNumberFormat(h,M)}const p={get id(){return s.value?s.value.id:-1},locale:C,fallbackLocale:D,messages:S,datetimeFormats:V,numberFormats:ae,get inheritLocale(){return s.value?s.value.inheritLocale:i},set inheritLocale(h){s.value&&(s.value.inheritLocale=h)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(c.value)},get modifiers(){return s.value?s.value.modifiers:b},get pluralRules(){return s.value?s.value.pluralRules:L},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:m},set missingWarn(h){s.value&&(s.value.missingWarn=h)},get fallbackWarn(){return s.value?s.value.fallbackWarn:k},set fallbackWarn(h){s.value&&(s.value.missingWarn=h)},get fallbackRoot(){return s.value?s.value.fallbackRoot:N},set fallbackRoot(h){s.value&&(s.value.fallbackRoot=h)},get fallbackFormat(){return s.value?s.value.fallbackFormat:v},set fallbackFormat(h){s.value&&(s.value.fallbackFormat=h)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:T},set warnHtmlMessage(h){s.value&&(s.value.warnHtmlMessage=h)},get escapeParameter(){return s.value?s.value.escapeParameter:_},set escapeParameter(h){s.value&&(s.value.escapeParameter=h)},t:q,getPostTranslationHandler:z,setPostTranslationHandler:ee,getMissingHandler:Y,setMissingHandler:F,rt:W,d:X,n:ge,tm:ie,te:fe,getLocaleMessage:oe,setLocaleMessage:le,mergeLocaleMessage:Ne,getDateTimeFormat:Re,setDateTimeFormat:Ye,mergeDateTimeFormat:nt,getNumberFormat:Zt,setNumberFormat:ot,mergeNumberFormat:Ln};function y(h){h.locale.value=r.value,h.fallbackLocale.value=l.value,Object.keys(c.value).forEach(M=>{h.mergeLocaleMessage(M,c.value[M])}),Object.keys(u.value).forEach(M=>{h.mergeDateTimeFormat(M,u.value[M])}),Object.keys(f.value).forEach(M=>{h.mergeNumberFormat(M,f.value[M])}),h.escapeParameter=_,h.fallbackFormat=v,h.fallbackRoot=N,h.fallbackWarn=k,h.missingWarn=m,h.warnHtmlMessage=T}return Ei(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Ie(Ce.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const h=s.value=e.proxy.$i18n.__composer;t==="global"?(r.value=h.locale.value,l.value=h.fallbackLocale.value,c.value=h.messages.value,u.value=h.datetimeFormats.value,f.value=h.numberFormats.value):a&&y(h)}),p}const om=["locale","fallbackLocale","availableLocales"],Hl=["t","rt","d","n","tm","te"];function am(e,t){const n=Object.create(null);return om.forEach(a=>{const s=Object.getOwnPropertyDescriptor(t,a);if(!s)throw Ie(Ce.UNEXPECTED_ERROR);const i=Te(s.value)?{get(){return s.value.value},set(r){s.value.value=r}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,a,i)}),e.config.globalProperties.$i18n=n,Hl.forEach(a=>{const s=Object.getOwnPropertyDescriptor(t,a);if(!s||!s.value)throw Ie(Ce.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,s)}),()=>{delete e.config.globalProperties.$i18n,Hl.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}if(Fh(),__INTLIFY_JIT_COMPILATION__?ll(Nh):ll(Ch),Ah(eh),Sh(ol),__INTLIFY_PROD_DEVTOOLS__){const e=Rt();e.__INTLIFY__=!0,ch(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const sm=Object.assign({"./locales/ar/aria.json":ud,"./locales/ar/buttons.json":gd,"./locales/ar/detail.json":dd,"./locales/ar/legend.json":fd,"./locales/ar/messages.json":pd,"./locales/ar/options.json":hd,"./locales/ar/prayerLaps.json":md,"./locales/ar/search.json":bd,"./locales/ar/tabs.json":_d,"./locales/de/aria.json":yd,"./locales/de/buttons.json":Ad,"./locales/de/detail.json":Sd,"./locales/de/legend.json":vd,"./locales/de/messages.json":kd,"./locales/de/options.json":Td,"./locales/de/prayerLaps.json":Ed,"./locales/de/search.json":$d,"./locales/de/tabs.json":Ld,"./locales/en/aria.json":wd,"./locales/en/buttons.json":Cd,"./locales/en/detail.json":Nd,"./locales/en/legend.json":Pd,"./locales/en/messages.json":Md,"./locales/en/options.json":Id,"./locales/en/popup.json":Rd,"./locales/en/prayerLaps.json":Dd,"./locales/en/search.json":Fd,"./locales/en/tabs.json":Od,"./locales/es/aria.json":xd,"./locales/es/buttons.json":jd,"./locales/es/detail.json":Bd,"./locales/es/legend.json":Kd,"./locales/es/messages.json":Ud,"./locales/es/options.json":Gd,"./locales/es/prayerLaps.json":zd,"./locales/es/search.json":qd,"./locales/es/tabs.json":Hd,"./locales/fr/aria.json":Vd,"./locales/fr/buttons.json":Wd,"./locales/fr/detail.json":Yd,"./locales/fr/legend.json":Jd,"./locales/fr/messages.json":Xd,"./locales/fr/options.json":Zd,"./locales/fr/popup.json":Qd,"./locales/fr/prayerLaps.json":ef,"./locales/fr/search.json":tf,"./locales/fr/tabs.json":nf,"./locales/hi/aria.json":of,"./locales/hi/buttons.json":af,"./locales/hi/detail.json":sf,"./locales/hi/legend.json":rf,"./locales/hi/messages.json":lf,"./locales/hi/options.json":cf,"./locales/hi/prayerLaps.json":uf,"./locales/hi/search.json":gf,"./locales/it/aria.json":df,"./locales/it/buttons.json":ff,"./locales/it/detail.json":pf,"./locales/it/legend.json":hf,"./locales/it/messages.json":mf,"./locales/it/options.json":bf,"./locales/it/prayerLaps.json":_f,"./locales/it/search.json":yf,"./locales/pt/aria.json":Af,"./locales/pt/buttons.json":Sf,"./locales/pt/detail.json":vf,"./locales/pt/legend.json":kf,"./locales/pt/messages.json":Tf,"./locales/pt/options.json":Ef,"./locales/pt/prayerLaps.json":$f,"./locales/pt/search.json":Lf,"./locales/pt/tabs.json":wf,"./locales/ro/aria.json":Cf,"./locales/ro/buttons.json":Nf,"./locales/ro/detail.json":Pf,"./locales/ro/legend.json":Mf,"./locales/ro/messages.json":If,"./locales/ro/options.json":Rf,"./locales/ro/prayerLaps.json":Df,"./locales/ro/search.json":Ff,"./locales/ru/aria.json":Of,"./locales/ru/buttons.json":xf,"./locales/ru/detail.json":jf,"./locales/ru/legend.json":Bf,"./locales/ru/messages.json":Kf,"./locales/ru/options.json":Uf,"./locales/ru/prayerLaps.json":Gf,"./locales/ru/search.json":zf,"./locales/ru/tabs.json":qf,"./locales/zh/aria.json":Hf,"./locales/zh/buttons.json":Vf,"./locales/zh/detail.json":Wf,"./locales/zh/legend.json":Yf,"./locales/zh/messages.json":Jf,"./locales/zh/options.json":Xf,"./locales/zh/prayerLaps.json":Zf,"./locales/zh/search.json":Qf}),oo={};for(const[e,t]of Object.entries(sm)){const n=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!n)continue;const[,o,a]=n;oo[o]??(oo[o]={}),oo[o][a]=t}const Vl=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"];function im(){var n;const t=(((n=document==null?void 0:document.documentElement)==null?void 0:n.lang)||"").split("-")[0].toLowerCase();return Vl.includes(t)?t:"en"}function rm(){return Wh({legacy:!1,globalInjection:!0,locale:im(),fallbackLocale:"en",messages:oo,missingWarn:!1,fallbackWarn:!1})}function Wl(e,t){const n=t||lm(e);Gn(()=>{var r;const o=Mt();if(!o)return;const a=(r=o.proxy)==null?void 0:r.$el;if(!a)return;const s=a.getRootNode();if(!(s instanceof ShadowRoot)||s.querySelector(`style[data-shadow-styles="${n}"]`))return;const i=document.createElement("style");i.setAttribute("data-shadow-styles",n),i.textContent=e,s.appendChild(i)})}function lm(e){let t=0;for(let n=0;n(t==null?void 0:t.theme)==="dark"),a=be(()=>{var $;return(($=n==null?void 0:n.value)==null?void 0:$.pinHintLabel)||"Tap a coloured dot — someone still needs prayer"}),s=he(!1),i=he(null);let r=null,l=null,c=null,u=null,f=null;function m(){s.value=!1}function k($,P){var _;let T=$==null?void 0:$.parentElement;for(let b=0;T&&b<12;b++,T=T.parentElement){if(T===P||(_=T.classList)!=null&&_.contains("profile-loader"))return null;let L="";try{L=getComputedStyle(T).position}catch{}if(L&&L!=="static"){const A=T.getBoundingClientRect();if(A.height>=120&&A.width>=160)return T}}return null}function N(){const $=i.value;if($)try{$.style.removeProperty("--pin-hint-lift");const P=$.getBoundingClientRect();if(!P.height)return;const T=Math.round(P.bottom-window.innerHeight);T>0&&$.style.setProperty("--pin-hint-lift",T+8+"px")}catch{}}function v($){const P=i.value;if(!P||!($!=null&&$.querySelector))return;let T=0;try{const b=$.querySelector(".mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-attrib, .mapboxgl-ctrl-bottom-right .doxa-attribution, .doxa-attribution");if(b){const L=b.getBoundingClientRect(),A=P.parentElement,C=A?A.getBoundingClientRect():null;if(T=C?Math.max(L.height||0,C.bottom-L.top):L.height||0,f!==b&&typeof ResizeObserver<"u"){if(c)try{c.disconnect()}catch{}f=b,c=new ResizeObserver(()=>v($)),c.observe(b)}}}catch{}const _=Math.min(Math.max(Math.ceil(T)||20,20),72);P.style.setProperty("--pin-hint-attrib-clear",_+"px"),N()}return Gn(()=>{var _,b,L;const $=Mt(),P=(L=(b=(_=$==null?void 0:$.proxy)==null?void 0:_.$el)==null?void 0:b.getRootNode)==null?void 0:L.call(b);if(!P||typeof P.querySelector!="function")return;let T=0;r=setInterval(()=>{T++;const A=P.querySelector("canvas");A?(clearInterval(r),r=null,s.value=!0,Lo(()=>{const C=k(A,P),D=i.value;if(C&&D&&D.parentElement!==C)try{C.appendChild(D),l=C}catch{}v(P),N();try{const S=i.value&&i.value.offsetParent||null;if(S&&typeof ResizeObserver<"u"){if(u)try{u.disconnect()}catch{}u=new ResizeObserver(()=>N()),u.observe(S)}}catch{}})):T>40&&(clearInterval(r),r=null)},300)}),Ro(()=>{var $;if(r&&clearInterval(r),c){try{c.disconnect()}catch{}c=null}if(f=null,u){try{u.disconnect()}catch{}u=null}if(l&&(($=i.value)==null?void 0:$.parentElement)===l)try{l.removeChild(i.value)}catch{}l=null}),Wl(` .pin-hint { position: absolute; left: 50%; bottom: calc(var(--pin-hint-attrib-clear, 20px) + 12px + var(--pin-hint-lift, 0px)); transform: translateX(-50%); z-index: 2147482000; pointer-events: none; @@ -68,9 +68,9 @@ @media (prefers-reduced-motion: reduce) { .pin-hint, .pin-hint-pill, .pin-hint-dot::after { animation: none !important; } } -`,"pin-hint"),($,P)=>s.value?(We(),wt("div",{key:0,ref_key:"hintEl",ref:i,class:Nn(["pin-hint",{dark:o.value}]),role:"status"},[we("span",cm,[P[0]||(P[0]=we("span",{class:"pin-hint-dot","aria-hidden":"true"},null,-1)),Ct(" "+Qt(a.value)+" ",1),we("button",{class:"pin-hint-x",type:"button","aria-label":"Dismiss hint",onClick:m},"×")])],2)):bn("",!0)}};let gm=0;const dm=qa("ui",{state:()=>({_storeInstanceId:++gm,theme:"light",colorScheme:"default",reducedMotion:!1,highContrast:!1,activeTab:"doxa-regions",sidebarCollapsed:!1,mobileMenuOpen:!1,legendState:"collapsed",_customLegendHeight:null,searchMode:!1,hamburgerMenuOpen:!1,legendMode:"prayer",prayerFilter:null,engagementFilter:null,adoptionFilter:null,religionFilter:null,selectedPeopleGroup:null,breakpoint:"desktop",windowSize:{width:window.innerWidth,height:window.innerHeight},toasts:[],nextToastId:1,toastDuration:5e3,openModals:[],modalData:new Map,isGlobalLoading:!1,globalLoadingMessage:"Loading...",loadingStates:new Map,interactionHistory:[],maxHistoryLength:20,keyboardShortcutsEnabled:!0,screenReaderAnnouncement:"",focusTrapActive:!1,debugMode:!1,showPerformanceOverlay:!1}),getters:{isDarkTheme:e=>!1,isMobile:e=>e.breakpoint==="mobile",isTablet:e=>e.breakpoint==="tablet",isDesktop:e=>e.breakpoint==="desktop"||e.breakpoint==="wide",legendHeight:e=>e._customLegendHeight?e._customLegendHeight:e.legendState==="collapsed"?"48px":e.legendState==="open"?"30%":e.legendState==="fullyOpen"?"calc(100% - 80px)":"48px",caretRotation:e=>e.legendState==="collapsed"?0:90,showPullTab:e=>e.legendState==="open"||e.legendState==="fullyOpen",getToastsByType:e=>t=>e.toasts.filter(n=>n.type===t),hasOpenModal:e=>e.openModals.length>0,topModal:e=>e.openModals.length===0?null:e.openModals[e.openModals.length-1],isModalOpen:e=>t=>e.openModals.includes(t),isAnyLoading:e=>e.isGlobalLoading||e.loadingStates.size>0,isLoading:e=>t=>e.loadingStates.get(t)||!1},actions:{setTheme(e){if(!["light","dark","auto"].includes(e))return;e="light",this.theme=e;const n=this.isDarkTheme;document.documentElement.setAttribute("data-theme",n?"dark":"light");try{localStorage.setItem("theme",e)}catch{}},toggleTheme(){const e=this.theme==="light"?"dark":"light";this.setTheme(e)},setColorScheme(e){this.colorScheme=e,document.documentElement.setAttribute("data-color-scheme",e)},toggleReducedMotion(){this.reducedMotion=!this.reducedMotion,document.documentElement.setAttribute("data-reduced-motion",this.reducedMotion)},toggleHighContrast(){this.highContrast=!this.highContrast,document.documentElement.setAttribute("data-high-contrast",this.highContrast)},setActiveTab(e){this.activeTab=e,this.addToHistory({type:"tab-change",tabId:e,timestamp:Date.now()})},toggleSidebar(){this.sidebarCollapsed=!this.sidebarCollapsed},openMobileMenu(){this.mobileMenuOpen=!0},closeMobileMenu(){this.mobileMenuOpen=!1},setLegendMode(e){["prayer","detail"].includes(e)&&(this.legendMode=e)},setPrayerFilter(e){[null,"noPrayer","hasPrayer","fullPrayer"].includes(e)&&(this.prayerFilter=e)},setEngagementFilter(e){[null,"notEngaged","hasEngagement"].includes(e)&&(this.engagementFilter=e)},setAdoptionFilter(e){[null,"notAdopted","hasAdoption"].includes(e)&&(this.adoptionFilter=e)},setReligionFilter(e){[null,"C","M","H","B","E","J","S","N","O","U"].includes(e)&&(this.religionFilter=e)},selectPeopleGroup(e){this.selectedPeopleGroup=e,e?(this._legendStateBeforeDetail=this.legendState,this.legendState="open",this._customLegendHeight=null,this.setLegendMode("detail")):(this.legendState=this._legendStateBeforeDetail||"open",this._customLegendHeight=null,this.setLegendMode("prayer"))},setLegendState(e){["collapsed","open","fullyOpen"].includes(e)&&(this.legendState=e)},toggleSearchMode(){this.searchMode=!this.searchMode},setSearchMode(e){this.searchMode=e},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},updateBreakpoint(e){let t;e<768?t="mobile":e<1024?t="tablet":e<1920?t="desktop":t="wide",t!==this.breakpoint&&(this.breakpoint=t)},updateWindowSize(e,t){this.windowSize.width=e,this.windowSize.height=t,this.updateBreakpoint(e)},showToast(e){const{message:t,type:n="info",duration:o=this.toastDuration,action:a=null,persistent:s=!1}=e,i={id:this.nextToastId++,message:t,type:n,duration:o,action:a,persistent:s,createdAt:Date.now()};return this.toasts.push(i),!s&&o>0&&setTimeout(()=>{this.removeToast(i.id)},o),i.id},showSuccess(e,t={}){return this.showToast({message:e,type:"success",...t})},showError(e,t={}){return this.showToast({message:e,type:"error",duration:7e3,...t})},showWarning(e,t={}){return this.showToast({message:e,type:"warning",...t})},showInfo(e,t={}){return this.showToast({message:e,type:"info",...t})},removeToast(e){const t=this.toasts.findIndex(n=>n.id===e);t!==-1&&this.toasts.splice(t,1)},clearAllToasts(){this.toasts=[]},openModal(e,t={}){this.openModals.includes(e)||(this.openModals.push(e),this.modalData.set(e,t),this.focusTrapActive=!0)},closeModal(e=null){if(e){const t=this.openModals.indexOf(e);t!==-1&&(this.openModals.splice(t,1),this.modalData.delete(e))}else{const t=this.openModals.pop();t&&this.modalData.delete(t)}this.openModals.length===0&&(this.focusTrapActive=!1)},closeAllModals(){this.openModals=[],this.modalData.clear(),this.focusTrapActive=!1},getModalData(e){return this.modalData.get(e)},showGlobalLoading(e="Loading..."){this.isGlobalLoading=!0,this.globalLoadingMessage=e},hideGlobalLoading(){this.isGlobalLoading=!1},setLoading(e,t=!0){t?this.loadingStates.set(e,!0):this.loadingStates.delete(e)},addToHistory(e){this.interactionHistory.push(e),this.interactionHistory.length>this.maxHistoryLength&&this.interactionHistory.shift()},clearHistory(){this.interactionHistory=[]},announce(e,t="polite"){this.screenReaderAnnouncement=e,setTimeout(()=>{this.screenReaderAnnouncement===e&&(this.screenReaderAnnouncement="")},1e3)},toggleKeyboardShortcuts(){this.keyboardShortcutsEnabled=!this.keyboardShortcutsEnabled},toggleDebugMode(){this.debugMode=!this.debugMode},togglePerformanceOverlay(){this.showPerformanceOverlay=!this.showPerformanceOverlay},toggleLegend(){this.legendState==="fullyOpen"?this.legendState="open":this.legendState==="open"?this.legendState="collapsed":this.legendState="open",this._customLegendHeight=null},openLegend(){this.legendState="open",this._customLegendHeight=null},fullyOpenLegend(){this.legendState="fullyOpen",this._customLegendHeight=null},collapseLegend(){this.legendState="collapsed",this._customLegendHeight=null},setLegendHeight(e){this._customLegendHeight=e},handleLegendItemClick(){this.legendState==="fullyOpen"&&(this.legendState="open")},enableSearchMode(){this.searchMode=!0},disableSearchMode(){this.searchMode=!1},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},openHamburgerMenu(){this.hamburgerMenuOpen=!0},closeHamburgerMenu(){this.hamburgerMenuOpen=!1},init(){let e=null;try{e=localStorage.getItem("theme")}catch{}e&&this.setTheme(e),new ResizeObserver(n=>{for(const o of n)this.updateWindowSize(o.contentRect.width,o.contentRect.height)}).observe(document.documentElement),window.matchMedia&&(window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",n=>{this.theme==="auto"&&document.documentElement.setAttribute("data-theme",n.matches?"dark":"light")}),window.matchMedia("(prefers-reduced-motion: reduce)").addEventListener("change",n=>{this.reducedMotion=n.matches,document.documentElement.setAttribute("data-reduced-motion",n.matches)}))}}}),fm=qa("map",{state:()=>({maps:{},activeMapId:null,selectedRegion:null,selectedFamily:null,selectedAffinityBlock:null,selectedLanguage:null,selectedDialect:null,activeLegendTab:"family",selectedResource:null,selectedPeopleGroup:null,selectedPinIds:[],globalFilters:{},searchQuery:"",autoFly:{isActive:!1,speed:1,interval:5e3,currentIndex:0,items:[],timerId:null},guidedTour:{isActive:!1,currentStep:0,steps:[]},showClusters:!1,clusterMode:"region",clusterFilterProperty:null,clusterFilterValue:null,flySpeed:"normal",fullscreenMapId:null,preferences:{theme:"light",defaultMapStyle:"streets",enableAnimations:!0,autoSavePreferences:!0}}),getters:{getMapById:e=>t=>e.maps[t],activeMap:e=>e.activeMapId?e.maps[e.activeMapId]:null,hasMap:e=>t=>t in e.maps,allMapIds:e=>Object.keys(e.maps),hasSelection:e=>!!(e.selectedRegion||e.selectedFamily||e.selectedAffinityBlock||e.selectedPeopleGroup),isAutoFlying:e=>e.autoFly.isActive,isGuidedTourActive:e=>e.guidedTour.isActive,isMapFullscreen:e=>t=>e.fullscreenMapId===t},actions:{registerMap(e,t,n={}){let o=1.5;n.zoom!==void 0?o=n.zoom:t&&typeof t.getZoom=="function"&&(o=t.getZoom());let a=[0,0];if(n.center)a=n.center;else if(t&&typeof t.getCenter=="function"){const s=t.getCenter();s&&(a=[s.lng,s.lat])}this.maps[e]={instance:t,config:n,isReady:!1,zoom:o,center:a,registeredAt:Date.now()},this.activeMapId||(this.activeMapId=e)},setMapReady(e){const t=this.maps[e];t&&(t.isReady=!0)},updateMapState(e,t){const n=this.maps[e];n&&Object.assign(n,t)},unregisterMap(e){if(delete this.maps[e],this.activeMapId===e){const t=this.allMapIds;this.activeMapId=t.length>0?t[0]:null}},setActiveMap(e){e in this.maps&&(this.activeMapId=e)},selectRegion(e){this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedRegion=e},selectFamily(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedFamily=e},setActiveLegendTab(e){this.activeLegendTab=e},selectLanguage(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedFamily=null,this.selectedDialect=null,this.selectedLanguage=e},selectDialect(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedDialect=e},selectAffinityBlock(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedPeopleGroup=null,this.selectedAffinityBlock=e},selectPeopleGroup(e){this.selectedPeopleGroup=e},selectResource(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedResource===e?this.selectedResource=null:this.selectedResource=e},clearSelections(){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedAffinityBlock=null,this.selectedResource=null,this.selectedPeopleGroup=null,this.selectedPinIds=[],this.showClusters=!1,this.clusterMode="region"},setSelectedPinIds(e){this.selectedPinIds=e||[]},setFilter(e,t){this.globalFilters[e]=t},removeFilter(e){delete this.globalFilters[e]},clearFilters(){this.globalFilters={},this.searchQuery=""},setSearchQuery(e){this.searchQuery=e},startAutoFly(e,t=1){this.stopAutoFly(),this.autoFly.isActive=!0,this.autoFly.speed=t,this.autoFly.items=e,this.autoFly.currentIndex=0},stopAutoFly(){this.autoFly.timerId&&(clearInterval(this.autoFly.timerId),this.autoFly.timerId=null),this.autoFly.isActive=!1,this.autoFly.currentIndex=0},setAutoFlySpeed(e){this.autoFly.speed=Math.max(.5,Math.min(2,e))},nextAutoFlyItem(){if(!this.autoFly.isActive||this.autoFly.items.length===0)return;this.autoFly.currentIndex=(this.autoFly.currentIndex+1)%this.autoFly.items.length;const e=this.autoFly.items[this.autoFly.currentIndex];e.type==="region"?this.selectRegion(e):e.type==="family"&&this.selectFamily(e)},toggleClusters(e){typeof e=="boolean"?this.showClusters=e:this.showClusters=!this.showClusters},setClusterMode(e){["region","language-family","affinity-block","mst","resource"].includes(e)&&(this.clusterMode=e)},setClusterFilter(e,t){this.clusterFilterProperty=e||null,this.clusterFilterValue=t||null},clearClusterFilter(){this.clusterFilterProperty=null,this.clusterFilterValue=null},setFlySpeed(e){["slow","normal","fast"].includes(e)&&(this.flySpeed=e)},setSelectedFamily(e){this.selectFamily(e)},clearSelectedFamily(){this.selectFamily(null)},setSelectedRegion(e){this.selectRegion(e)},clearSelectedRegion(){this.selectRegion(null)},clearSelectedResource(){this.selectResource(null)},clearSelectedLanguage(){this.selectLanguage(null)},clearSelectedDialect(){this.selectDialect(null)},toggleFullscreen(e){this.fullscreenMapId===e?this.fullscreenMapId=null:this.fullscreenMapId=e},loadPreferences(){try{const e=localStorage.getItem("mapUserPreferences");if(e){const t=JSON.parse(e);this.preferences={...this.preferences,...t}}}catch(e){console.error("[mapStore] Failed to load preferences:",e)}},savePreferences(){try{localStorage.setItem("mapUserPreferences",JSON.stringify(this.preferences))}catch(e){console.error("[mapStore] Failed to save preferences:",e)}},setPreference(e,t){this.preferences[e]=t,this.preferences.autoSavePreferences&&this.savePreferences()}}}),pm=qa("data",{state:()=>({sources:{},loadingStates:{}}),actions:{async load(e,t){if(!this.sources[e]){this.loadingStates[e]={isLoading:!0,error:null};try{const n=await t();this.sources[e]=Fn({features:n,timestamp:Date.now()}),this.loadingStates[e]={isLoading:!1,error:null}}catch(n){console.error(`[dataStore] Failed to load source "${e}":`,n),this.loadingStates[e]={isLoading:!1,error:n}}}},clearSource(e){delete this.sources[e],delete this.loadingStates[e]},cacheSourceData(e,t){this.sources[e]=Fn({features:t.normalizedData||[],timestamp:t.timestamp||Date.now()})},hasSourceData(e){return!!this.sources[e]},getSourceData(e){return this.sources[e]?{normalizedData:this.sources[e].features}:null}},getters:{getData:e=>t=>{var n;return((n=e.sources[t])==null?void 0:n.features)??null},isLoading:e=>t=>{var n;return((n=e.loadingStates[t])==null?void 0:n.isLoading)??!1},getError:e=>t=>{var n;return((n=e.loadingStates[t])==null?void 0:n.error)??null}}}),Yl={_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","imb_gsec","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}}},hm=".profile-loader[data-v-ba19fc13]{border-radius:var(--map-radius-corners, var(--map-radius, 0px));width:100%;height:100%;min-height:var(--profile-min-h, 100dvh);position:relative}.profile-error[data-v-ba19fc13]{padding:1rem;background:#fff3cd;border:1px solid #ffc107;border-radius:4px;font-family:monospace;font-size:13px}",mm=(e,t)=>{const n=e.__vccOpts||e;for(const[o,a]of t)n[o]=a;return n},bm={class:"profile-loader"},_m={key:0,class:"profile-error"},ym={key:1,class:"profile-error"},Am=mm({__name:"ProfileLoader",props:{profileConfig:{type:String,default:""}},setup(e){var L;const n=e,o=Ie("profileConfig",null),a=me(()=>{var C;if(!n.profileConfig)return null;let A;try{A=JSON.parse(n.profileConfig)}catch{return console.error("[ProfileLoader] Invalid profile-config JSON:",n.profileConfig),null}if(A&&A.assetsBase===void 0){const D=(C=o==null?void 0:o.value)==null?void 0:C.assetsBase;typeof D=="string"&&D&&(A.assetsBase=D)}return A}),s=me(()=>{var A;return((A=a.value)==null?void 0:A.profile)||null}),i=ld(),r=me(()=>{var C;const A=(C=a.value)==null?void 0:C.tk;return typeof A=="string"&&A?A:i.value||""});Ut(()=>{var A;return(A=a.value)==null?void 0:A.tk},A=>{typeof A=="string"&&A&&Pr(A)},{immediate:!0});const l=me(()=>{var A;return((A=a.value)==null?void 0:A.dataSource)||Yl.activeSource||"doxa-csv"}),c=me(()=>{var A;return((A=a.value)==null?void 0:A.colorSet)||"default"}),u=me(()=>!1),f=me(()=>{var A;return((A=a.value)==null?void 0:A.pinHint)!==!1}),m=me(()=>{var C,D;const A=(((C=a.value)==null?void 0:C.locale)||((D=a.value)==null?void 0:D.lang)||"").split("-")[0].toLowerCase();return Vl.includes(A)?A:""}),k=Ie("appI18n",null);vu(()=>{m.value&&k&&(k.global.locale.value=m.value)});const N=me(()=>{var A,C;return m.value||((C=(A=k==null?void 0:k.global)==null?void 0:A.locale)==null?void 0:C.value)||"en"}),v=me(()=>{var A;return((A=a.value)==null?void 0:A.instanceId)||"doxa-map-"+Math.random().toString(36).slice(2,9)}),$=Ie("profileModules",null);if(!$)throw new Error('[ProfileLoader] No profileModules provided. Bundle entry must `app.provide("profileModules", import.meta.glob("./*.vue"))`');const P=me(()=>{if(!s.value)return null;const A=`./${s.value}.vue`;return $[A]?cd($[A]):(console.error(`[ProfileLoader] Profile not found: "${s.value}". Available:`,Object.keys($)),null)});mt("mapboxToken",r),mt("dataSource",l),mt("colorSet",c),mt("profileConfig",a),mt("instanceId",v),mt("lang",N);const T=dm(),_=fm(),b=pm();try{const A=typeof localStorage<"u"?localStorage.getItem("theme"):null;A&&((L=T.setTheme)==null||L.call(T,A))}catch{}return mt("uiStore",T),mt("mapStore",_),mt("dataStore",b),(A,C)=>(We(),wt("div",bm,[a.value?P.value?(We(),jo(Li(P.value),{key:2})):(We(),wt("div",ym,[we("p",null,[C[1]||(C[1]=Ct("⚠️ Profile ",-1)),we("strong",null,'"'+Qt(s.value)+'"',1),C[2]||(C[2]=Ct(" not found.",-1))])])):(We(),wt("div",_m,[...C[0]||(C[0]=[we("p",null,[Ct("⚠️ "),we("strong",null,"doxa-map"),Ct(": missing or invalid "),we("code",null,"profile-config"),Ct(" prop.")],-1),we("p",null,[Ct("Example: "),we("code",null,`profile-config='{"profile":"example-map","tk":"pk.eyJ..."}'`)],-1)])])),P.value&&u.value?(We(),jo(Li(ko(null)),{key:3})):bn("",!0),P.value&&f.value?(We(),jo(um,{key:4})):bn("",!0)]))}},[["styles",[hm]],["__scopeId","data-v-ba19fc13"]]),Sm=Object.assign({"./all-people-groups.vue":()=>Tc(()=>Promise.resolve().then(()=>Sb),void 0)}),vm=Yg(Am,{configureApp(e){e.use(td());const t=rm();e.use(t),e.provide("appI18n",t),e.provide("profileModules",Sm)}});typeof customElements<"u"&&!customElements.get("all-people-groups")&&customElements.define("all-people-groups",vm);const km="rgba(120, 128, 134, 0.28)",Jl="36px",Xl=()=>{};function Tm(e,t={}){const{enabled:n=!0}=t;if(!n||!e)return Xl;const o=Array.from(e.querySelectorAll(".map-scroll-edge"));if(!o.length)return Xl;const a=T=>T.classList.contains("map-scroll-edge--left");for(const T of o)T.style.background=`linear-gradient(${a(T)?"to right":"to left"}, ${km} ${Jl}, transparent ${Jl})`,T.style.opacity="0",T.style.transition="opacity 0.16s ease",T.style.userSelect="none",T.style.webkitUserSelect="none";const s=T=>{T.style.opacity="1"},i=T=>{T.style.opacity="0"},r=()=>o.find(T=>!a(T))||null,l=new Set;let c=!1,u=null;const f=()=>{for(const T of o)l.has(T)||i(T)},m=()=>{const T=r();T&&(s(T),u&&clearTimeout(u),u=setTimeout(f,250))},k=()=>m(),N=T=>{if(!(T.touches&&T.touches.length===1))return;const _=T.target;_&&_.classList&&_.classList.contains("map-scroll-edge")||m()},v=()=>{u&&clearTimeout(u),f()};e.addEventListener("wheel",k,{passive:!0}),e.addEventListener("touchmove",N,{passive:!0}),e.addEventListener("touchend",v,{passive:!0}),e.addEventListener("touchcancel",v,{passive:!0});const $=()=>{c||m()};typeof window<"u"&&window.addEventListener("scroll",$,{passive:!0});const P=[];for(const T of o){const _=()=>{l.add(T),s(T)},b=()=>{l.delete(T),i(T)},L=()=>{c=!0,s(T)},A=()=>{c=!1,i(T)};T.addEventListener("mouseenter",_),T.addEventListener("mouseleave",b),T.addEventListener("touchstart",L,{passive:!0}),T.addEventListener("touchend",A,{passive:!0}),P.push(()=>{T.removeEventListener("mouseenter",_),T.removeEventListener("mouseleave",b),T.removeEventListener("touchstart",L),T.removeEventListener("touchend",A)})}return function(){u&&(clearTimeout(u),u=null),e.removeEventListener("wheel",k),e.removeEventListener("touchmove",N),e.removeEventListener("touchend",v),e.removeEventListener("touchcancel",v),typeof window<"u"&&window.removeEventListener("scroll",$);for(const _ of P)_();for(const _ of o)i(_)}}const Em=Object.fromEntries([{id:"midnight-glow",label:"Midnight Glow",mood:"the prayer-map dark — pins glow like embers",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"night",maplibre:"https://tiles.openfreemap.org/styles/dark",bestFor:["doxa-simple-map","my-upg-100-list"]},{id:"daylight",label:"Daylight",mood:"the same Standard world, lights on",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"day",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["doxa-research-map","gospel-resources"]},{id:"dawn",label:"Dawn",mood:"soft warm horizon — hopeful, quiet",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"dawn",maplibre:"https://tiles.openfreemap.org/styles/positron",bestFor:["doxa-simple-map"]},{id:"dusk",label:"Dusk",mood:"blue hour — calm contrast for bright pins",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"dusk",maplibre:"https://tiles.openfreemap.org/styles/dark",bestFor:["my-upg-100-list"]},{id:"paper",label:"Paper",mood:"near-white minimal — data reads like print",mapbox:"mapbox://styles/mapbox/light-v11",maplibre:"https://tiles.openfreemap.org/styles/positron",bestFor:["research-dashboard","cities-internet"]},{id:"ink",label:"Ink",mood:"near-black minimal — maximum pin contrast",mapbox:"mapbox://styles/mapbox/dark-v11",maplibre:"https://tiles.openfreemap.org/styles/dark",bestFor:["my-upg-100-list","cities-internet"]},{id:"streetlife",label:"Street Life",mood:"full street detail — city-scale work",mapbox:"mapbox://styles/mapbox/streets-v12",maplibre:"https://tiles.openfreemap.org/styles/bright",bestFor:["cities-internet","key-cities"]},{id:"terrain",label:"Terrain",mood:"relief + parks — where people actually live",mapbox:"mapbox://styles/mapbox/outdoors-v12",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["doxa-research-map","country-posters"]},{id:"satellite",label:"Satellite",mood:"imagery — the real ground",mapbox:"mapbox://styles/mapbox/satellite-v9",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["country-posters"]},{id:"hybrid",label:"Hybrid",mood:"imagery + labels — orientation without losing ground truth",mapbox:"mapbox://styles/mapbox/satellite-streets-v12",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["key-cities"]},{id:"wayfinder-day",label:"Wayfinder Day",mood:"high-legibility navigation palette",mapbox:"mapbox://styles/mapbox/navigation-day-v1",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["gospel-resources"]},{id:"wayfinder-night",label:"Wayfinder Night",mood:"dark navigation — dashboards at night",mapbox:"mapbox://styles/mapbox/navigation-night-v1",maplibre:"https://tiles.openfreemap.org/styles/dark",bestFor:["research-dashboard"]},{id:"galaxy",label:"Galaxy",mood:"the day side of Earth floating in space — normal land, blue oceans, black void behind the sphere",mapbox:"mapbox://styles/mapbox/standard",maplibre:"https://tiles.versatiles.org/assets/styles/colorful/style.json",bestFor:["research-dashboard","my-upg-100-list"]}].map(e=>[e.id,e]));function $m(e,t="mapbox"){if(typeof e!="string"||!e)return{style:void 0,lightPreset:void 0,paint:void 0};const n=Em[e];return n?t==="maplibre"?{style:n.maplibre,lightPreset:void 0,paint:n.paint}:{style:n.mapbox,lightPreset:n.lightPreset,paint:n.paint}:/^(mapbox:\/\/|https?:\/\/)/.test(e)?{style:e,lightPreset:void 0,paint:void 0}:{style:void 0,lightPreset:void 0,paint:void 0}}function Lm(e,t){if(!e||!Array.isArray(t))return[];const n=[];for(const o of t)if(!(!o||!o.layer||!o.prop))try{if(!e.getLayer(o.layer))continue;e.setPaintProperty(o.layer,o.prop,o.value),n.push(o.layer+"."+o.prop)}catch{}return n}const wm=["mapbox","maplibre"],Zl="mapbox";function Cm(e){return e&&typeof e=="object"&&"value"in e&&!("provider"in e)&&!("profile"in e)?e.value:e}function Ql(e){const t=Cm(e),n=t==null?void 0:t.provider,o=typeof location<"u"?new URLSearchParams(location.search).get("provider"):void 0,a=typeof window<"u"?window.MAP_PROVIDER:void 0,s=String(n||o||a||Zl).toLowerCase().trim();return wm.includes(s)?s:Zl}const $n={mapbox:{global:"mapboxgl",js:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.js",css:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.css"},maplibre:{global:"maplibregl",js:"https://cdn.jsdelivr.net/npm/maplibre-gl@5/dist/maplibre-gl.js",css:"https://cdn.jsdelivr.net/npm/maplibre-gl@5/dist/maplibre-gl.css"}};function ec(e){if(typeof window>"u")return;const t=window,n=()=>{try{const o=e.getContainer().querySelector(".mapboxgl-ctrl-logo, .maplibregl-ctrl-logo");o&&(o.style.display="none")}catch{}};if(t.__doxaLogoOwner&&t.__doxaLogoOwner!==e){e.once("load",n),n();return}t.__doxaLogoOwner=e,e.once("remove",()=>{t.__doxaLogoOwner===e&&(t.__doxaLogoOwner=null)})}const Nm=$n.mapbox.css,Pm="https://tiles.openfreemap.org/styles/liberty";function ps(e){var n;const t=((n=$n[e])==null?void 0:n.global)||$n.mapbox.global;return typeof window<"u"?window[t]:void 0}async function Mm(e){const t=$n[e]||$n.mapbox;if(ps(e)||typeof document>"u")return;if(!document.querySelector(`link[href="${t.css}"]`)){const o=document.createElement("link");o.rel="stylesheet",o.href=t.css,document.head.appendChild(o)}const n=document.querySelector(`script[src="${t.js}"]`);if(n){if(ps(e))return;await new Promise(o=>{n.addEventListener("load",o,{once:!0}),n.addEventListener("error",o,{once:!0})});return}await new Promise((o,a)=>{const s=document.createElement("script");s.src=t.js,s.async=!1,s.addEventListener("load",o,{once:!0}),s.addEventListener("error",()=>a(new Error(`[useMapInstance] Failed to load ${e} engine script`)),{once:!0}),document.head.appendChild(s)})}async function Im(e,t){const n=e.getRootNode();if(!(n instanceof ShadowRoot))return;const o=i=>new Promise(r=>setTimeout(r,i)),a=n.querySelector(`link[href="${t}"]`);if(a){if(a.sheet)return;await Promise.race([new Promise(i=>{a.addEventListener("load",i,{once:!0}),a.addEventListener("error",i,{once:!0})}),o(2e3)]);return}const s=document.createElement("link");s.rel="stylesheet",s.href=t,await Promise.race([new Promise(i=>{s.addEventListener("load",i,{once:!0}),s.addEventListener("error",i,{once:!0}),n.prepend(s)}),o(2e3)])}function Rm(e){return typeof e=="string"&&/^https?:\/\//.test(e)?e:Pm}const Dm=85.0511,hs=-2,Fm=0,Om=-60;function tc(e){return(1-Math.log(Math.tan(Math.PI/4+e*Math.PI/180/2))/Math.PI)/2}function xm(e,t,n,o){if(!e||e<=0||!t||t<=0)return Fm;const a=Math.log2(e/512),s=tc(o)-tc(Dm),i=Math.log2(t/(512*s)),r=Math.max(a,i);return Math.max(hs,Math.min(r,(n??18)-1))}function jm({containerRef:e,accessToken:t,style:n,config:o=void 0,provider:a=void 0,center:s=[20,10],zoom:i=2,minZoom:r=void 0,skipWorldFloor:l=!1,maxZoom:c=18,pitch:u=0,bearing:f=0,renderWorldCopies:m=!0,showEdgeBorders:k=!0,southCutoff:N=Om,maxBounds:v=void 0}){const $=Sa(null),P=pe(!1);let T=null,_=null,b=null,L=null;try{L=Ie("profileConfig",null)}catch{}a=a||Ql(L);const A=a==="maplibre";async function C(){var de;const S=$m(n,a),V=S.style||n;if(!e.value){console.error("containerRef.value is null — call initializeMap() inside onMounted()");return}await Mm(a);const ae=ps(a);if(!ae){console.error(`[useMapInstance] ${A?"maplibregl":"mapboxgl"} is not available. Add the ${A?"MapLibre":"Mapbox"} GL JS script to your page.`);return}if(!A){if(!t&&typeof window<"u"&&typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN&&(t=window.MAP_TOKEN),!t){console.error('No Mapbox access token provided. Pass "tk" in profile-config JSON or set window.MAP_TOKEN.');return}if(!t.startsWith("pk.")){console.error('Mapbox token looks invalid (expected "pk." prefix). Got:',t.slice(0,10)+"...");return}}await Im(e.value,A?$n.maplibre.css:Nm),await new Promise(X=>requestAnimationFrame(X));const z=e.value,te=z.clientWidth,Y=z.clientHeight;if(te===0||Y===0){console.error(`[useMapInstance] Container has ZERO dimensions (${te}×${Y}). Map will be invisible. Check that parent elements have CSS sizing.`);let X=z.parentElement,re=0;for(;X&&re<5;)X=X.parentElement,re++}const F=t;A||(ae.accessToken=F);const j=()=>typeof window<"u"&&window.innerWidth>=1024,q=(X,re)=>{if(l)return typeof r=="number"?r:hs;if(!j())return hs;const $e=xm(X,re,c,N);return typeof r=="number"?Math.max(r,$e):$e},W=q(z.clientWidth,z.clientHeight);if(A){$.value=new ae.Map({container:e.value,style:Rm(V),center:s,zoom:i,minZoom:W,maxZoom:c,pitch:u,bearing:f,dragRotate:!1,renderWorldCopies:m,...v?{maxBounds:v}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),ec($.value);try{e.value.__doxaMap=$.value}catch{}}else{const X=typeof o=="function"?o():o;$.value=new ae.Map({accessToken:F,container:e.value,style:V,...X?{config:X}:{},center:s,zoom:i,minZoom:W,maxZoom:c,pitch:u,bearing:f,dragRotate:!1,touchPitch:!1,renderWorldCopies:m,...v?{maxBounds:v}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),ec($.value);try{e.value.__doxaMap=$.value}catch{}}try{let X=!1;$.value.on("error",re=>{var Ke,tt;const $e=((Ke=re==null?void 0:re.error)==null?void 0:Ke.status)??(re==null?void 0:re.status),qe=String(((tt=re==null?void 0:re.error)==null?void 0:tt.url)||(re==null?void 0:re.sourceId)||"");$e!==401&&$e!==403||X||(X=!0,console.error(`[doxa-maps] Mapbox returned ${$e} for a TILE request while the style loaded fine. That is a URL RESTRICTION on the access token, not a bad token and not a bug in this map. Add this page's origin (${typeof location<"u"?location.origin:"this origin"}) to the token's URL restrictions in the Mapbox account. The map will keep its data layer and stay blank underneath until then.`+(qe?` First failing request: ${qe.slice(0,120)}`:"")))})}catch{}try{$.value.touchZoomRotate.disableRotation()}catch{}b=Tm(((de=e.value)==null?void 0:de.parentElement)||null,{enabled:k});let Z=W,ie=null;T=()=>{const X=$.value;if(!X)return;const re=q(z.clientWidth,z.clientHeight);re!==Z&&(Z=re,X.setMinZoom(re)),X.getZoom(){ie=null;const $e=$.value;if(!$e)return;const qe=q(z.clientWidth,z.clientHeight);if($e.getZoom(){ie&&(clearTimeout(ie),ie=null)},$.value.on("resize",T),typeof window<"u"&&(window.addEventListener("resize",T),window.addEventListener("orientationchange",T)),$.value.on("style.load",()=>{if(S.paint&&$.value){const X=Lm($.value,S.paint);console.info("[useMapInstance] style paint applied ("+a+"):",X.join(", ")||"NONE MATCHED")}requestAnimationFrame(()=>{var X;(X=$.value)==null||X.resize(),$.value&&$.value.setMinZoom(q(z.clientWidth,z.clientHeight)),P.value=!0})})}function D(){if($.value){if(T&&($.value.off("resize",T),typeof window<"u"&&(window.removeEventListener("resize",T),window.removeEventListener("orientationchange",T)),T=null),_){try{_()}catch{}_=null}b&&(b(),b=null),$.value.remove(),$.value=null,P.value=!1}}return{map:$,isMapReady:P,initializeMap:C,destroy:D}}const nc="doxa-prayed-local",Bm=7*24*60*60*1e3;function Km(){try{const e=localStorage.getItem(nc);if(!e)return{};const t=JSON.parse(e);return t&&typeof t=="object"?t:{}}catch{return{}}}function Um(e){try{localStorage.setItem(nc,JSON.stringify(e))}catch{}}function Gm(){const e=Date.now(),t=Km();let n=!1;for(const[o,a]of Object.entries(t))(typeof a!="number"||e-a>Bm)&&(delete t[o],n=!0);return n&&Um(t),new Set(Object.keys(t))}function zm(e){const t=Gm();return!t.size||!Array.isArray(e)?e:e.map(n=>(Number(n&&n.peoplePraying)||0)>0||!n||!t.has(n.slug)?n:{...n,peoplePraying:1})}const Yt={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"},oc={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"},ms="languageFamily",qm="#000000",Jt={"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","Atlantic-Congo":"#7D3C98",Mande:"#B9770E","Sign Language":"#212121",Creole:"#9575cd","Mixed language":"#a1887f","Language isolate":"#90a4ae",Unknown:"#000000"},Hm=Jt;function bs(e){return Jt[e]||qm}const Vm=(()=>{const e=n=>String(n||"").toLowerCase().trim(),t={};for(const n of Object.keys(Jt))t[e(n)]=n;return t})(),Wm={"tai-kadai":"Kra-Dai",none:"Unknown"};function _s(e){if(!e)return"Unknown";const t=String(e).trim(),n=t.toLowerCase();return Wm[n]||Vm[n]||t}function ac(e){var t;return bs(e.languageFamily||((t=e._normalized)==null?void 0:t.languageFamily))}function ys(){const e=["match",["get",ms]];return Object.entries(Jt).forEach(([t,n])=>{e.push(t,n)}),e.push("#95a5a6"),e}const sc=ys,Ym=Object.freeze(Object.defineProperty({__proto__:null,LANGUAGE_FAMILY_COLORS:Hm,PALETTE:Jt,PROPERTY_KEY:ms,applyColor:ys,buildColorExpression:sc,canonicalFamilyName:_s,default:{name:"Language Family",propertyKey:ms,palette:Jt,colors:Jt,getColor:ac,applyColor:ys,buildColorExpression:sc,getLanguageFamilyColor:bs,canonicalFamilyName:_s},defaultFamilyColor:"#95a5a6",getColor:ac,getLanguageFamilyColor:bs,languageFamilyColors:Jt},Symbol.toStringTag,{value:"Module"})),ic="adoptionStatus",Ft={notAdopted:"#f03b2d",hasAdoption:"#22c55e"},Jm=Ft,As={notAdopted:"Needs Adoption",hasAdopted:"Has Adoption"},Xm=As;function rc(e){var o;const t=e.adoptionStatus??((o=e._raw)==null?void 0:o.adopted_by_churches);return t===!0||t===1||typeof t=="number"&&t>0||typeof t=="object"&&(t==null?void 0:t.value)?Ft.hasAdoption:Ft.notAdopted}function Ss({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","adoptionStatus"]:["get","adoptionStatus"];return["case",["==",t,!0],Ft.hasAdoption,["==",t,1],Ft.hasAdoption,Ft.notAdopted]}const lc=Ss,Zm=Object.freeze(Object.defineProperty({__proto__:null,ADOPTION_COLORS:Jm,ADOPTION_LABELS:Xm,LABELS:As,PALETTE:Ft,PROPERTY_KEY:ic,applyColor:Ss,buildColorExpression:lc,default:{name:"Adoption Progress",propertyKey:ic,palette:Ft,colors:Ft,labels:As,getColor:rc,applyColor:Ss,buildColorExpression:lc},getColor:rc},Symbol.toStringTag,{value:"Module"})),cc="engagementStatus",Ot={notEngaged:"#f03b2d",hasEngagement:"#22c55e"},Qm=Ot,vs={notEngaged:"Unengaged",hasEngagement:"Engaged"},eb=vs;function uc(e){var o;const t=e.engagementStatus??((o=e._raw)==null?void 0:o.people_committed);return t===!0||t===1||typeof t=="number"&&t>0||typeof t=="object"&&(t==null?void 0:t.value)?Ot.hasEngagement:Ot.notEngaged}function ks({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","engagementStatus"]:["get","engagementStatus"];return["case",["==",t,!0],Ot.hasEngagement,["==",t,1],Ot.hasEngagement,Ot.notEngaged]}const gc=ks,tb=Object.freeze(Object.defineProperty({__proto__:null,ENGAGEMENT_COLORS:Qm,ENGAGEMENT_LABELS:eb,LABELS:vs,PALETTE:Ot,PROPERTY_KEY:cc,applyColor:ks,buildColorExpression:gc,default:{name:"Engagement Progress",propertyKey:cc,palette:Ot,colors:Ot,labels:vs,getColor:uc,applyColor:ks,buildColorExpression:gc},getColor:uc},Symbol.toStringTag,{value:"Module"})),dc="peoplePraying",ta=144,Xt={noPrayer:"#f03b2d",hasPrayer:"#f0c64a",fullPrayer:"#22c55e"},nb=Xt,Ts={noPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayer:"Has Full Prayer Coverage"},ob=Ts;function na(e){var o;const t=(e==null?void 0:e.peoplePraying)??((o=e==null?void 0:e._raw)==null?void 0:o.people_praying)??null,n=Number(t)||0;return n>=ta?"fullPrayer":n>0?"hasPrayer":"noPrayer"}function Es(e){return Xt[na(e)]}function fc(e){var n;const t=(e==null?void 0:e.peoplePraying)??((n=e==null?void 0:e._raw)==null?void 0:n.people_praying)??null;return t!==null&&t>0}function pc(e){return na(e)==="fullPrayer"}function hc(e){return Es(e)}function $s({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","peoplePraying"]:["get","peoplePraying"];return["case",[">=",t,ta],Xt.fullPrayer,[">",t,0],Xt.hasPrayer,Xt.noPrayer]}const mc=$s,ab=Object.freeze(Object.defineProperty({__proto__:null,FULL_PRAYER_THRESHOLD:ta,LABELS:Ts,PALETTE:Xt,PRAYER_COLORS:nb,PRAYER_LABELS:ob,PROPERTY_KEY:dc,applyColor:$s,buildColorExpression:mc,checkHasFullPrayer:pc,checkHasPrayer:fc,default:{name:"Prayer Progress",propertyKey:dc,palette:Xt,colors:Xt,labels:Ts,threshold:ta,getColor:hc,applyColor:$s,buildColorExpression:mc,getPrayerLevel:na,getPrayerColor:Es,checkHasPrayer:fc,checkHasFullPrayer:pc},getColor:hc,getPrayerColor:Es,getPrayerLevel:na},Symbol.toStringTag,{value:"Module"})),bc="religion",Ls="#94a3b8",ws={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 _c(e){if(!e||typeof e!="string")return"U";const t=e.charAt(0).toUpperCase();return ws[t]?t:"U"}function yc(e){var n,o,a;const t=(e==null?void 0:e.religion)||((o=(n=e==null?void 0:e._raw)==null?void 0:n.religion)==null?void 0:o.value)||((a=e==null?void 0:e._raw)==null?void 0:a.religion);return et[_c(t)]||Ls}function Cs(){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,Ls]}const Ac=Cs,sb=Object.assign({"./adoption.js":Zm,"./engagement.js":tb,"./language-family.js":Ym,"./prayer-progress.js":ab,"./religion.js":Object.freeze(Object.defineProperty({__proto__:null,PALETTE:et,PROPERTY_KEY:bc,RELIGION_FAMILIES:ws,applyColor:Cs,buildColorExpression:Ac,default:{name:"Religion",propertyKey:bc,palette:et,families:ws,getColor:yc,applyColor:Cs,buildColorExpression:Ac,fallback:Ls},getColor:yc,getReligionFamily:_c},Symbol.toStringTag,{value:"Module"}))}),ib=e=>e.replace(/-([a-z0-9])/g,(t,n)=>n.toUpperCase()),rb=e=>e.replace(/-/g,"_").toUpperCase(),lb={...{STATUS:"status",CUSTOM:"custom"}};function cb(e){for(const t of Object.keys(e).sort()){const n=t.split("/").pop().replace(/\.js$/,"");if(n.startsWith("_")||n.startsWith(".")||!e[t].default)continue;const a=ib(n);lb[rb(n)]=a}}cb(sb);function Ns(e){return e==null?"":typeof e=="object"?e.label||e.value||"":String(e)}const ub=[[/ sign language$/i,"Sign Language"]];function gb(e){var r,l;const t=Ns(e.languageFamily);if(t)return t;const n=String(((l=(r=e._raw)==null?void 0:r.primary_language)==null?void 0:l.value)||(e.language&&typeof e.language=="object"?e.language.value:"")||"").trim().toLowerCase();if(n&&oc[n])return oc[n];const o=Ns(e.language||e.primary_language);if(!o||typeof o!="string")return"";const a=o.trim(),s=a.split(",").map(c=>c.trim()).filter(Boolean);if(s.length>=2){const c=[...s].reverse().join(" ");if(Yt[c])return Yt[c];if(s.length>=3){const u=[s[1],s[0]].join(" ");if(Yt[u])return Yt[u]}}if(Yt[a])return Yt[a];const i=a.replace(/\s*\(.*?\)\s*$/,"").trim();if(i!==a&&Yt[i])return Yt[i];for(const[c,u]of ub)if(c.test(a))return u;return""}function db(e){const{mapId:t="unknown",dataSourceId:n="doxa-csv",dataSourceManager:o=null,dataStore:a=null,markRaw:s=C=>C}=e;o||console.error("useMapData: dataSourceManager is required!");const i=pe(!1),r=pe(null),l=pe(!1),c=pe([]),u=pe([]),f=pe(null),m=pe([]),k=pe([]),N=pe([]),v=pe(null);async function $(){if(!o)throw new Error("dataSourceManager is required for useMapData");i.value=!0,r.value=null;try{if(await o.init(),a&&a.hasSourceData&&a.hasSourceData(n)){const F=a.getSourceData(n);u.value=s(F.normalizedData||[])}else{const F=await o.setActiveSource(n);for(const j of F){const q=Ns(j.language||j.primary_language);q&&(j.language=q);const W=gb(j);j.languageFamily=_s(W)}u.value=s(F),a&&a.cacheSourceData&&a.cacheSourceData(n,{normalizedData:F,timestamp:Date.now()})}c.value=s(zm(u.value.map(F=>({id:F.uniqueId,slug:F.slug||"",rop3:F.peopleGroupId,peopleId3:F.peopleId3,name:F.name,language:F.language,languageFamily:F.languageFamily,country:F.country,population:F.population,status:F.engagementStatus||F.status,latitude:F.latitude,longitude:F.longitude,lng:F.longitude,lat:F.latitude,description:F.description,imageUrl:F.imageUrl,doxaRegion:F.doxaRegion||F.wagfRegion||"",peoplePraying:F.peoplePraying??null,_normalized:F}))));const C=o.getDataByLanguageFamily();m.value=Object.entries(C).map(([F,j])=>{const q=j.reduce((W,Z)=>{const ie=parseInt(Z.population)||0;return W+ie},0);return{name:F,count:j.length,peopleGroupCount:j.length,population:q,groups:j}}).sort((F,j)=>j.count-F.count);const D=o.getDataByRegion();k.value=Object.entries(D).map(([F,j])=>{const q=j.reduce((W,Z)=>{const ie=parseInt(Z.population)||0;return W+ie},0);return{name:F,count:j.length,peopleGroupCount:j.length,population:q,groups:j}}).sort((F,j)=>F.name.localeCompare(j.name));const S={bible:{count:0,population:0,groups:[]},jesusFilm:{count:0,population:0,groups:[]},radio:{count:0,population:0,groups:[]},gospel:{count:0,population:0,groups:[]},audio:{count:0,population:0,groups:[]},stories:{count:0,population:0,groups:[]},hasResources:{count:0,population:0,groups:[]},noResources:{count:0,population:0,groups:[]}};u.value.forEach(F=>{const j=parseInt(F.population)||0;let q=!1;F.bible==="Available"&&(S.bible.count++,S.bible.population+=j,S.bible.groups.push(F),q=!0),F.jesusFilm==="Available"&&(S.jesusFilm.count++,S.jesusFilm.population+=j,S.jesusFilm.groups.push(F),q=!0),F.radio==="Available"&&(S.radio.count++,S.radio.population+=j,S.radio.groups.push(F),q=!0),F.gospel==="Available"&&(S.gospel.count++,S.gospel.population+=j,S.gospel.groups.push(F),q=!0),F.audio==="Available"&&(S.audio.count++,S.audio.population+=j,S.audio.groups.push(F),q=!0),F.stories==="Available"&&(S.stories.count++,S.stories.population+=j,S.stories.groups.push(F),q=!0),q?(S.hasResources.count++,S.hasResources.population+=j,S.hasResources.groups.push(F)):(S.noResources.count++,S.noResources.population+=j,S.noResources.groups.push(F))});const V=u.value.length,ae=u.value.reduce((F,j)=>F+(parseInt(j.population)||0),0),z={bible:"Bible",jesusFilm:"Jesus Film",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",hasResources:"Has Resources",noResources:"No Resources"},te={bible:{count:V-S.bible.count,population:ae-S.bible.population},jesusFilm:{count:V-S.jesusFilm.count,population:ae-S.jesusFilm.population},radio:{count:V-S.radio.count,population:ae-S.radio.population},gospel:{count:V-S.gospel.count,population:ae-S.gospel.population},audio:{count:V-S.audio.count,population:ae-S.audio.population},stories:{count:V-S.stories.count,population:ae-S.stories.population}},Y="#2c3e50";return N.value=[{name:z.bible,key:"bible",count:S.bible.count,population:S.bible.population,isParent:!0,children:[{name:"No Bible",key:"noBible",count:te.bible.count,population:te.bible.population,color:Y}]},{name:z.jesusFilm,key:"jesusFilm",count:S.jesusFilm.count,population:S.jesusFilm.population,isParent:!0,children:[{name:"No Jesus Film",key:"noJesusFilm",count:te.jesusFilm.count,population:te.jesusFilm.population,color:Y}]},{name:z.radio,key:"radio",count:S.radio.count,population:S.radio.population,isParent:!0,children:[{name:"No Radio",key:"noRadio",count:te.radio.count,population:te.radio.population,color:Y}]},{name:z.gospel,key:"gospel",count:S.gospel.count,population:S.gospel.population,isParent:!0,children:[{name:"No Gospel",key:"noGospel",count:te.gospel.count,population:te.gospel.population,color:Y}]},{name:z.audio,key:"audio",count:S.audio.count,population:S.audio.population,isParent:!0,children:[{name:"No Audio",key:"noAudio",count:te.audio.count,population:te.audio.population,color:Y}]},{name:z.stories,key:"stories",count:S.stories.count,population:S.stories.population,isParent:!0,children:[{name:"No Stories",key:"noStories",count:te.stories.count,population:te.stories.population,color:Y}]},{name:z.hasResources,key:"hasResources",count:S.hasResources.count,population:S.hasResources.population,isParent:!0,children:[{name:z.noResources,key:"noResources",count:S.noResources.count,population:S.noResources.population,color:Y}]}],v.value=o.getStats(),l.value=!0,{peopleGroups:c.value,normalizedPeopleGroups:u.value,languageFamiliesData:m.value,doxaRegionsData:k.value,resourcesData:N.value,stats:v.value}}catch(C){throw console.error(`Failed to load data for map "${t}":`,C),r.value=C.message||"Failed to load data",C}finally{i.value=!1}}async function P(){var C,D,S;try{const V={},ae=u.value||[];for(const z of ae){const te=z.countryIso||((D=(C=z._raw)==null?void 0:C.country_code)==null?void 0:D.value)||"",Y=(S=z._raw)==null?void 0:S.wagf_region,F=z.doxaRegion||z.wagfRegion||(Y&&typeof Y=="object"?Y.value:"")||"";te&&F&&!V[te]&&(V[te]=F)}return f.value={isoToRegion:V},f.value}catch(V){throw console.error(`Error building regions data for map "${t}":`,V),r.value=V.message||"Failed to build regions",V}}function T(){return o?o.getDataByLanguageFamily():{}}function _(){return o?o.getDataByRegion():{}}function b(C){return T()[C]||[]}function L(C){return _()[C]||[]}function A(){c.value=[],u.value=[],f.value=null,m.value=[],k.value=[],N.value=[],v.value=null,l.value=!1,r.value=null}return{isLoading:i,isInitialized:l,error:r,peopleGroups:c,normalizedPeopleGroups:u,regionsData:f,languageFamiliesData:m,doxaRegionsData:k,resourcesData:N,stats:v,loadData:$,loadRegionsData:P,getDataByLanguageFamily:T,getDataByRegion:_,getPeopleGroupsByFamily:b,getPeopleGroupsByRegion:L,clearData:A}}const Ps={};function fb(){return typeof window<"u"&&window.MAP_APP_API_URL||typeof{url:oa&&oa.tagName.toUpperCase()==="SCRIPT"&&oa.src||new URL("all-people-groups.js",document.baseURI).href}<"u"&&(Ps==null?void 0:Ps.VITE_API_BASE_URL)||""}class Sc{constructor(t={}){this.sourcesConfig=null,this.activeSource=null,this.rawData=[],this.normalizedData=[],this.dataByUniqueId=new Map,this.baseUrl=typeof window<"u"&&window.MAP_APP_BASE_URL||"./",this.locale=t.locale||null,this.cache=new Map,this.cacheEnabled=!0,this.cacheTTL=5*60*1e3}async init(){return this.sourcesConfig=Yl,this.sourcesConfig}getActiveSourceId(){var t;return((t=this.sourcesConfig)==null?void 0:t.activeSource)||"doxa-csv"}getSourceConfig(t){var n,o;return(o=(n=this.sourcesConfig)==null?void 0:n.sources)==null?void 0:o[t]}async setActiveSource(t){const n=this.getSourceConfig(t);if(!n)throw new Error(`Source not found: ${t}`);if(this.activeSource=n,this.cacheEnabled&&this.cache.has(t)){const o=this.cache.get(t);return this.normalizedData=o.normalizedData,this.dataByUniqueId=o.dataByUniqueId,this.normalizedData}return n.type==="csv"?await this.loadCSVData(n):n.type==="api"?await this.loadAPIData(n):n.type==="rest-api"&&await this.loadRestApiData(n),this.cacheEnabled&&this.cache.set(t,{normalizedData:this.normalizedData,dataByUniqueId:this.dataByUniqueId,timestamp:Date.now()}),this.normalizedData}clearCache(t=null){t?this.cache.delete(t):this.cache.clear()}isCached(t){return this.cache.has(t)}async loadActiveSource(){return this.sourcesConfig||await this.init(),this.setActiveSource(this.getActiveSourceId())}parseCSV(t){const n=[],o=[];let a="",s=!1,i=[],r=!0;for(let l=0;ls.value?(We(),Ct("div",{key:0,ref_key:"hintEl",ref:i,class:Nn(["pin-hint",{dark:o.value}]),role:"status"},[we("span",cm,[P[0]||(P[0]=we("span",{class:"pin-hint-dot","aria-hidden":"true"},null,-1)),Nt(" "+Qt(a.value)+" ",1),we("button",{class:"pin-hint-x",type:"button","aria-label":"Dismiss hint",onClick:m},"×")])],2)):bn("",!0)}};let gm=0;const dm=qa("ui",{state:()=>({_storeInstanceId:++gm,theme:"light",colorScheme:"default",reducedMotion:!1,highContrast:!1,activeTab:"doxa-regions",sidebarCollapsed:!1,mobileMenuOpen:!1,legendState:"collapsed",_customLegendHeight:null,searchMode:!1,hamburgerMenuOpen:!1,legendMode:"prayer",prayerFilter:null,engagementFilter:null,adoptionFilter:null,religionFilter:null,selectedPeopleGroup:null,breakpoint:"desktop",windowSize:{width:window.innerWidth,height:window.innerHeight},toasts:[],nextToastId:1,toastDuration:5e3,openModals:[],modalData:new Map,isGlobalLoading:!1,globalLoadingMessage:"Loading...",loadingStates:new Map,interactionHistory:[],maxHistoryLength:20,keyboardShortcutsEnabled:!0,screenReaderAnnouncement:"",focusTrapActive:!1,debugMode:!1,showPerformanceOverlay:!1}),getters:{isDarkTheme:e=>!1,isMobile:e=>e.breakpoint==="mobile",isTablet:e=>e.breakpoint==="tablet",isDesktop:e=>e.breakpoint==="desktop"||e.breakpoint==="wide",legendHeight:e=>e._customLegendHeight?e._customLegendHeight:e.legendState==="collapsed"?"48px":e.legendState==="open"?"30%":e.legendState==="fullyOpen"?"calc(100% - 80px)":"48px",caretRotation:e=>e.legendState==="collapsed"?0:90,showPullTab:e=>e.legendState==="open"||e.legendState==="fullyOpen",getToastsByType:e=>t=>e.toasts.filter(n=>n.type===t),hasOpenModal:e=>e.openModals.length>0,topModal:e=>e.openModals.length===0?null:e.openModals[e.openModals.length-1],isModalOpen:e=>t=>e.openModals.includes(t),isAnyLoading:e=>e.isGlobalLoading||e.loadingStates.size>0,isLoading:e=>t=>e.loadingStates.get(t)||!1},actions:{setTheme(e){if(!["light","dark","auto"].includes(e))return;e="light",this.theme=e;const n=this.isDarkTheme;document.documentElement.setAttribute("data-theme",n?"dark":"light");try{localStorage.setItem("theme",e)}catch{}},toggleTheme(){const e=this.theme==="light"?"dark":"light";this.setTheme(e)},setColorScheme(e){this.colorScheme=e,document.documentElement.setAttribute("data-color-scheme",e)},toggleReducedMotion(){this.reducedMotion=!this.reducedMotion,document.documentElement.setAttribute("data-reduced-motion",this.reducedMotion)},toggleHighContrast(){this.highContrast=!this.highContrast,document.documentElement.setAttribute("data-high-contrast",this.highContrast)},setActiveTab(e){this.activeTab=e,this.addToHistory({type:"tab-change",tabId:e,timestamp:Date.now()})},toggleSidebar(){this.sidebarCollapsed=!this.sidebarCollapsed},openMobileMenu(){this.mobileMenuOpen=!0},closeMobileMenu(){this.mobileMenuOpen=!1},setLegendMode(e){["prayer","detail"].includes(e)&&(this.legendMode=e)},setPrayerFilter(e){[null,"noPrayer","hasPrayer","fullPrayer"].includes(e)&&(this.prayerFilter=e)},setEngagementFilter(e){[null,"notEngaged","hasEngagement"].includes(e)&&(this.engagementFilter=e)},setAdoptionFilter(e){[null,"notAdopted","hasAdoption"].includes(e)&&(this.adoptionFilter=e)},setReligionFilter(e){[null,"C","M","H","B","E","J","S","N","O","U"].includes(e)&&(this.religionFilter=e)},selectPeopleGroup(e){this.selectedPeopleGroup=e,e?(this._legendStateBeforeDetail=this.legendState,this.legendState="open",this._customLegendHeight=null,this.setLegendMode("detail")):(this.legendState=this._legendStateBeforeDetail||"open",this._customLegendHeight=null,this.setLegendMode("prayer"))},setLegendState(e){["collapsed","open","fullyOpen"].includes(e)&&(this.legendState=e)},toggleSearchMode(){this.searchMode=!this.searchMode},setSearchMode(e){this.searchMode=e},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},updateBreakpoint(e){let t;e<768?t="mobile":e<1024?t="tablet":e<1920?t="desktop":t="wide",t!==this.breakpoint&&(this.breakpoint=t)},updateWindowSize(e,t){this.windowSize.width=e,this.windowSize.height=t,this.updateBreakpoint(e)},showToast(e){const{message:t,type:n="info",duration:o=this.toastDuration,action:a=null,persistent:s=!1}=e,i={id:this.nextToastId++,message:t,type:n,duration:o,action:a,persistent:s,createdAt:Date.now()};return this.toasts.push(i),!s&&o>0&&setTimeout(()=>{this.removeToast(i.id)},o),i.id},showSuccess(e,t={}){return this.showToast({message:e,type:"success",...t})},showError(e,t={}){return this.showToast({message:e,type:"error",duration:7e3,...t})},showWarning(e,t={}){return this.showToast({message:e,type:"warning",...t})},showInfo(e,t={}){return this.showToast({message:e,type:"info",...t})},removeToast(e){const t=this.toasts.findIndex(n=>n.id===e);t!==-1&&this.toasts.splice(t,1)},clearAllToasts(){this.toasts=[]},openModal(e,t={}){this.openModals.includes(e)||(this.openModals.push(e),this.modalData.set(e,t),this.focusTrapActive=!0)},closeModal(e=null){if(e){const t=this.openModals.indexOf(e);t!==-1&&(this.openModals.splice(t,1),this.modalData.delete(e))}else{const t=this.openModals.pop();t&&this.modalData.delete(t)}this.openModals.length===0&&(this.focusTrapActive=!1)},closeAllModals(){this.openModals=[],this.modalData.clear(),this.focusTrapActive=!1},getModalData(e){return this.modalData.get(e)},showGlobalLoading(e="Loading..."){this.isGlobalLoading=!0,this.globalLoadingMessage=e},hideGlobalLoading(){this.isGlobalLoading=!1},setLoading(e,t=!0){t?this.loadingStates.set(e,!0):this.loadingStates.delete(e)},addToHistory(e){this.interactionHistory.push(e),this.interactionHistory.length>this.maxHistoryLength&&this.interactionHistory.shift()},clearHistory(){this.interactionHistory=[]},announce(e,t="polite"){this.screenReaderAnnouncement=e,setTimeout(()=>{this.screenReaderAnnouncement===e&&(this.screenReaderAnnouncement="")},1e3)},toggleKeyboardShortcuts(){this.keyboardShortcutsEnabled=!this.keyboardShortcutsEnabled},toggleDebugMode(){this.debugMode=!this.debugMode},togglePerformanceOverlay(){this.showPerformanceOverlay=!this.showPerformanceOverlay},toggleLegend(){this.legendState==="fullyOpen"?this.legendState="open":this.legendState==="open"?this.legendState="collapsed":this.legendState="open",this._customLegendHeight=null},openLegend(){this.legendState="open",this._customLegendHeight=null},fullyOpenLegend(){this.legendState="fullyOpen",this._customLegendHeight=null},collapseLegend(){this.legendState="collapsed",this._customLegendHeight=null},setLegendHeight(e){this._customLegendHeight=e},handleLegendItemClick(){this.legendState==="fullyOpen"&&(this.legendState="open")},enableSearchMode(){this.searchMode=!0},disableSearchMode(){this.searchMode=!1},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},openHamburgerMenu(){this.hamburgerMenuOpen=!0},closeHamburgerMenu(){this.hamburgerMenuOpen=!1},init(){let e=null;try{e=localStorage.getItem("theme")}catch{}e&&this.setTheme(e),new ResizeObserver(n=>{for(const o of n)this.updateWindowSize(o.contentRect.width,o.contentRect.height)}).observe(document.documentElement),window.matchMedia&&(window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",n=>{this.theme==="auto"&&document.documentElement.setAttribute("data-theme",n.matches?"dark":"light")}),window.matchMedia("(prefers-reduced-motion: reduce)").addEventListener("change",n=>{this.reducedMotion=n.matches,document.documentElement.setAttribute("data-reduced-motion",n.matches)}))}}}),fm=qa("map",{state:()=>({maps:{},activeMapId:null,selectedRegion:null,selectedFamily:null,selectedAffinityBlock:null,selectedLanguage:null,selectedDialect:null,activeLegendTab:"family",selectedResource:null,selectedPeopleGroup:null,selectedPinIds:[],globalFilters:{},searchQuery:"",autoFly:{isActive:!1,speed:1,interval:5e3,currentIndex:0,items:[],timerId:null},guidedTour:{isActive:!1,currentStep:0,steps:[]},showClusters:!1,clusterMode:"region",clusterFilterProperty:null,clusterFilterValue:null,flySpeed:"normal",fullscreenMapId:null,preferences:{theme:"light",defaultMapStyle:"streets",enableAnimations:!0,autoSavePreferences:!0}}),getters:{getMapById:e=>t=>e.maps[t],activeMap:e=>e.activeMapId?e.maps[e.activeMapId]:null,hasMap:e=>t=>t in e.maps,allMapIds:e=>Object.keys(e.maps),hasSelection:e=>!!(e.selectedRegion||e.selectedFamily||e.selectedAffinityBlock||e.selectedPeopleGroup),isAutoFlying:e=>e.autoFly.isActive,isGuidedTourActive:e=>e.guidedTour.isActive,isMapFullscreen:e=>t=>e.fullscreenMapId===t},actions:{registerMap(e,t,n={}){let o=1.5;n.zoom!==void 0?o=n.zoom:t&&typeof t.getZoom=="function"&&(o=t.getZoom());let a=[0,0];if(n.center)a=n.center;else if(t&&typeof t.getCenter=="function"){const s=t.getCenter();s&&(a=[s.lng,s.lat])}this.maps[e]={instance:t,config:n,isReady:!1,zoom:o,center:a,registeredAt:Date.now()},this.activeMapId||(this.activeMapId=e)},setMapReady(e){const t=this.maps[e];t&&(t.isReady=!0)},updateMapState(e,t){const n=this.maps[e];n&&Object.assign(n,t)},unregisterMap(e){if(delete this.maps[e],this.activeMapId===e){const t=this.allMapIds;this.activeMapId=t.length>0?t[0]:null}},setActiveMap(e){e in this.maps&&(this.activeMapId=e)},selectRegion(e){this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedRegion=e},selectFamily(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedFamily=e},setActiveLegendTab(e){this.activeLegendTab=e},selectLanguage(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedFamily=null,this.selectedDialect=null,this.selectedLanguage=e},selectDialect(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedDialect=e},selectAffinityBlock(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedPeopleGroup=null,this.selectedAffinityBlock=e},selectPeopleGroup(e){this.selectedPeopleGroup=e},selectResource(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedResource===e?this.selectedResource=null:this.selectedResource=e},clearSelections(){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedAffinityBlock=null,this.selectedResource=null,this.selectedPeopleGroup=null,this.selectedPinIds=[],this.showClusters=!1,this.clusterMode="region"},setSelectedPinIds(e){this.selectedPinIds=e||[]},setFilter(e,t){this.globalFilters[e]=t},removeFilter(e){delete this.globalFilters[e]},clearFilters(){this.globalFilters={},this.searchQuery=""},setSearchQuery(e){this.searchQuery=e},startAutoFly(e,t=1){this.stopAutoFly(),this.autoFly.isActive=!0,this.autoFly.speed=t,this.autoFly.items=e,this.autoFly.currentIndex=0},stopAutoFly(){this.autoFly.timerId&&(clearInterval(this.autoFly.timerId),this.autoFly.timerId=null),this.autoFly.isActive=!1,this.autoFly.currentIndex=0},setAutoFlySpeed(e){this.autoFly.speed=Math.max(.5,Math.min(2,e))},nextAutoFlyItem(){if(!this.autoFly.isActive||this.autoFly.items.length===0)return;this.autoFly.currentIndex=(this.autoFly.currentIndex+1)%this.autoFly.items.length;const e=this.autoFly.items[this.autoFly.currentIndex];e.type==="region"?this.selectRegion(e):e.type==="family"&&this.selectFamily(e)},toggleClusters(e){typeof e=="boolean"?this.showClusters=e:this.showClusters=!this.showClusters},setClusterMode(e){["region","language-family","affinity-block","mst","resource"].includes(e)&&(this.clusterMode=e)},setClusterFilter(e,t){this.clusterFilterProperty=e||null,this.clusterFilterValue=t||null},clearClusterFilter(){this.clusterFilterProperty=null,this.clusterFilterValue=null},setFlySpeed(e){["slow","normal","fast"].includes(e)&&(this.flySpeed=e)},setSelectedFamily(e){this.selectFamily(e)},clearSelectedFamily(){this.selectFamily(null)},setSelectedRegion(e){this.selectRegion(e)},clearSelectedRegion(){this.selectRegion(null)},clearSelectedResource(){this.selectResource(null)},clearSelectedLanguage(){this.selectLanguage(null)},clearSelectedDialect(){this.selectDialect(null)},toggleFullscreen(e){this.fullscreenMapId===e?this.fullscreenMapId=null:this.fullscreenMapId=e},loadPreferences(){try{const e=localStorage.getItem("mapUserPreferences");if(e){const t=JSON.parse(e);this.preferences={...this.preferences,...t}}}catch(e){console.error("[mapStore] Failed to load preferences:",e)}},savePreferences(){try{localStorage.setItem("mapUserPreferences",JSON.stringify(this.preferences))}catch(e){console.error("[mapStore] Failed to save preferences:",e)}},setPreference(e,t){this.preferences[e]=t,this.preferences.autoSavePreferences&&this.savePreferences()}}}),pm=qa("data",{state:()=>({sources:{},loadingStates:{}}),actions:{async load(e,t){if(!this.sources[e]){this.loadingStates[e]={isLoading:!0,error:null};try{const n=await t();this.sources[e]=Fn({features:n,timestamp:Date.now()}),this.loadingStates[e]={isLoading:!1,error:null}}catch(n){console.error(`[dataStore] Failed to load source "${e}":`,n),this.loadingStates[e]={isLoading:!1,error:n}}}},clearSource(e){delete this.sources[e],delete this.loadingStates[e]},cacheSourceData(e,t){this.sources[e]=Fn({features:t.normalizedData||[],timestamp:t.timestamp||Date.now()})},hasSourceData(e){return!!this.sources[e]},getSourceData(e){return this.sources[e]?{normalizedData:this.sources[e].features}:null}},getters:{getData:e=>t=>{var n;return((n=e.sources[t])==null?void 0:n.features)??null},isLoading:e=>t=>{var n;return((n=e.loadingStates[t])==null?void 0:n.isLoading)??!1},getError:e=>t=>{var n;return((n=e.loadingStates[t])==null?void 0:n.error)??null}}}),Yl={_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","imb_gsec","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}}},hm=".profile-loader[data-v-ba19fc13]{border-radius:var(--map-radius-corners, var(--map-radius, 0px));width:100%;height:100%;min-height:var(--profile-min-h, 100dvh);position:relative}.profile-error[data-v-ba19fc13]{padding:1rem;background:#fff3cd;border:1px solid #ffc107;border-radius:4px;font-family:monospace;font-size:13px}",mm=(e,t)=>{const n=e.__vccOpts||e;for(const[o,a]of t)n[o]=a;return n},bm={class:"profile-loader"},_m={key:0,class:"profile-error"},ym={key:1,class:"profile-error"},Am=mm({__name:"ProfileLoader",props:{profileConfig:{type:String,default:""}},setup(e){var L;const n=e,o=De("profileConfig",null),a=be(()=>{var C;if(!n.profileConfig)return null;let A;try{A=JSON.parse(n.profileConfig)}catch{return console.error("[ProfileLoader] Invalid profile-config JSON:",n.profileConfig),null}if(A&&A.assetsBase===void 0){const D=(C=o==null?void 0:o.value)==null?void 0:C.assetsBase;typeof D=="string"&&D&&(A.assetsBase=D)}return A}),s=be(()=>{var A;return((A=a.value)==null?void 0:A.profile)||null}),i=ld(),r=be(()=>{var C;const A=(C=a.value)==null?void 0:C.tk;return typeof A=="string"&&A?A:i.value||""});Ut(()=>{var A;return(A=a.value)==null?void 0:A.tk},A=>{typeof A=="string"&&A&&Pr(A)},{immediate:!0});const l=be(()=>{var A;return((A=a.value)==null?void 0:A.dataSource)||Yl.activeSource||"doxa-csv"}),c=be(()=>{var A;return((A=a.value)==null?void 0:A.colorSet)||"default"}),u=be(()=>!1),f=be(()=>{var A;return((A=a.value)==null?void 0:A.pinHint)!==!1}),m=be(()=>{var C,D;const A=(((C=a.value)==null?void 0:C.locale)||((D=a.value)==null?void 0:D.lang)||"").split("-")[0].toLowerCase();return Vl.includes(A)?A:""}),k=De("appI18n",null);vu(()=>{m.value&&k&&(k.global.locale.value=m.value)});const N=be(()=>{var A,C;return m.value||((C=(A=k==null?void 0:k.global)==null?void 0:A.locale)==null?void 0:C.value)||"en"}),v=be(()=>{var A;return((A=a.value)==null?void 0:A.instanceId)||"doxa-map-"+Math.random().toString(36).slice(2,9)}),$=De("profileModules",null);if(!$)throw new Error('[ProfileLoader] No profileModules provided. Bundle entry must `app.provide("profileModules", import.meta.glob("./*.vue"))`');const P=be(()=>{if(!s.value)return null;const A=`./${s.value}.vue`;return $[A]?cd($[A]):(console.error(`[ProfileLoader] Profile not found: "${s.value}". Available:`,Object.keys($)),null)});bt("mapboxToken",r),bt("dataSource",l),bt("colorSet",c),bt("profileConfig",a),bt("instanceId",v),bt("lang",N);const T=dm(),_=fm(),b=pm();try{const A=typeof localStorage<"u"?localStorage.getItem("theme"):null;A&&((L=T.setTheme)==null||L.call(T,A))}catch{}return bt("uiStore",T),bt("mapStore",_),bt("dataStore",b),(A,C)=>(We(),Ct("div",bm,[a.value?P.value?(We(),jo(Li(P.value),{key:2})):(We(),Ct("div",ym,[we("p",null,[C[1]||(C[1]=Nt("⚠️ Profile ",-1)),we("strong",null,'"'+Qt(s.value)+'"',1),C[2]||(C[2]=Nt(" not found.",-1))])])):(We(),Ct("div",_m,[...C[0]||(C[0]=[we("p",null,[Nt("⚠️ "),we("strong",null,"doxa-map"),Nt(": missing or invalid "),we("code",null,"profile-config"),Nt(" prop.")],-1),we("p",null,[Nt("Example: "),we("code",null,`profile-config='{"profile":"example-map","tk":"pk.eyJ..."}'`)],-1)])])),P.value&&u.value?(We(),jo(Li(ko(null)),{key:3})):bn("",!0),P.value&&f.value?(We(),jo(um,{key:4})):bn("",!0)]))}},[["styles",[hm]],["__scopeId","data-v-ba19fc13"]]),Sm=Object.assign({"./all-people-groups.vue":()=>Tc(()=>Promise.resolve().then(()=>vb),void 0)}),vm=Yg(Am,{configureApp(e){e.use(td());const t=rm();e.use(t),e.provide("appI18n",t),e.provide("profileModules",Sm)}});typeof customElements<"u"&&!customElements.get("all-people-groups")&&customElements.define("all-people-groups",vm);const km="rgba(120, 128, 134, 0.28)",Jl="36px",Xl=()=>{};function Tm(e,t={}){const{enabled:n=!0}=t;if(!n||!e)return Xl;const o=Array.from(e.querySelectorAll(".map-scroll-edge"));if(!o.length)return Xl;const a=T=>T.classList.contains("map-scroll-edge--left");for(const T of o)T.style.background=`linear-gradient(${a(T)?"to right":"to left"}, ${km} ${Jl}, transparent ${Jl})`,T.style.opacity="0",T.style.transition="opacity 0.16s ease",T.style.userSelect="none",T.style.webkitUserSelect="none";const s=T=>{T.style.opacity="1"},i=T=>{T.style.opacity="0"},r=()=>o.find(T=>!a(T))||null,l=new Set;let c=!1,u=null;const f=()=>{for(const T of o)l.has(T)||i(T)},m=()=>{const T=r();T&&(s(T),u&&clearTimeout(u),u=setTimeout(f,250))},k=()=>m(),N=T=>{if(!(T.touches&&T.touches.length===1))return;const _=T.target;_&&_.classList&&_.classList.contains("map-scroll-edge")||m()},v=()=>{u&&clearTimeout(u),f()};e.addEventListener("wheel",k,{passive:!0}),e.addEventListener("touchmove",N,{passive:!0}),e.addEventListener("touchend",v,{passive:!0}),e.addEventListener("touchcancel",v,{passive:!0});const $=()=>{c||m()};typeof window<"u"&&window.addEventListener("scroll",$,{passive:!0});const P=[];for(const T of o){const _=()=>{l.add(T),s(T)},b=()=>{l.delete(T),i(T)},L=()=>{c=!0,s(T)},A=()=>{c=!1,i(T)};T.addEventListener("mouseenter",_),T.addEventListener("mouseleave",b),T.addEventListener("touchstart",L,{passive:!0}),T.addEventListener("touchend",A,{passive:!0}),P.push(()=>{T.removeEventListener("mouseenter",_),T.removeEventListener("mouseleave",b),T.removeEventListener("touchstart",L),T.removeEventListener("touchend",A)})}return function(){u&&(clearTimeout(u),u=null),e.removeEventListener("wheel",k),e.removeEventListener("touchmove",N),e.removeEventListener("touchend",v),e.removeEventListener("touchcancel",v),typeof window<"u"&&window.removeEventListener("scroll",$);for(const _ of P)_();for(const _ of o)i(_)}}const Em=Object.fromEntries([{id:"midnight-glow",label:"Midnight Glow",mood:"the prayer-map dark — pins glow like embers",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"night",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["doxa-simple-map","my-upg-100-list"]},{id:"daylight",label:"Daylight",mood:"the same Standard world, lights on",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"day",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["doxa-research-map","gospel-resources"]},{id:"dawn",label:"Dawn",mood:"soft warm horizon — hopeful, quiet",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"dawn",maplibre:"https://tiles.openfreemap.org/styles/positron",bestFor:["doxa-simple-map"]},{id:"dusk",label:"Dusk",mood:"blue hour — calm contrast for bright pins",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"dusk",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["my-upg-100-list"]},{id:"paper",label:"Paper",mood:"near-white minimal — data reads like print",mapbox:"mapbox://styles/mapbox/light-v11",maplibre:"https://tiles.openfreemap.org/styles/positron",bestFor:["research-dashboard","cities-internet"]},{id:"ink",label:"Ink",mood:"near-black minimal — maximum pin contrast",mapbox:"mapbox://styles/mapbox/dark-v11",maplibre:"https://tiles.openfreemap.org/styles/dark",bestFor:["my-upg-100-list","cities-internet"]},{id:"streetlife",label:"Street Life",mood:"full street detail — city-scale work",mapbox:"mapbox://styles/mapbox/streets-v12",maplibre:"https://tiles.openfreemap.org/styles/bright",bestFor:["cities-internet","key-cities"]},{id:"terrain",label:"Terrain",mood:"relief + parks — where people actually live",mapbox:"mapbox://styles/mapbox/outdoors-v12",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["doxa-research-map","country-posters"]},{id:"satellite",label:"Satellite",mood:"imagery — the real ground",mapbox:"mapbox://styles/mapbox/satellite-v9",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["country-posters"]},{id:"hybrid",label:"Hybrid",mood:"imagery + labels — orientation without losing ground truth",mapbox:"mapbox://styles/mapbox/satellite-streets-v12",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["key-cities"]},{id:"wayfinder-day",label:"Wayfinder Day",mood:"high-legibility navigation palette",mapbox:"mapbox://styles/mapbox/navigation-day-v1",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["gospel-resources"]},{id:"wayfinder-night",label:"Wayfinder Night",mood:"dark navigation — dashboards at night",mapbox:"mapbox://styles/mapbox/navigation-night-v1",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["research-dashboard"]},{id:"galaxy",label:"Galaxy",mood:"the day side of Earth floating in space — normal land, blue oceans, black void behind the sphere",mapbox:"mapbox://styles/mapbox/standard",maplibre:"https://tiles.versatiles.org/assets/styles/colorful/style.json",bestFor:["research-dashboard","my-upg-100-list"]}].map(e=>[e.id,e]));function $m(e,t="mapbox"){if(typeof e!="string"||!e)return{style:void 0,lightPreset:void 0,paint:void 0};const n=Em[e];return n?t==="maplibre"?{style:n.maplibre,lightPreset:void 0,paint:n.paint}:{style:n.mapbox,lightPreset:n.lightPreset,paint:n.paint}:/^(mapbox:\/\/|https?:\/\/)/.test(e)?{style:e,lightPreset:void 0,paint:void 0}:{style:void 0,lightPreset:void 0,paint:void 0}}function Lm(e,t){if(!e||!Array.isArray(t))return[];const n=[];for(const o of t)if(!(!o||!o.layer||!o.prop))try{if(!e.getLayer(o.layer))continue;e.setPaintProperty(o.layer,o.prop,o.value),n.push(o.layer+"."+o.prop)}catch{}return n}const wm=["mapbox","maplibre"],Zl="mapbox";function Cm(e){return e&&typeof e=="object"&&"value"in e&&!("provider"in e)&&!("profile"in e)?e.value:e}function Ql(e){const t=Cm(e),n=t==null?void 0:t.provider,o=typeof location<"u"?new URLSearchParams(location.search).get("provider"):void 0,a=typeof window<"u"?window.MAP_PROVIDER:void 0,s=String(n||o||a||Zl).toLowerCase().trim();return wm.includes(s)?s:Zl}const $n={mapbox:{global:"mapboxgl",js:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.js",css:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.css"},maplibre:{global:"maplibregl",js:"https://cdn.jsdelivr.net/npm/maplibre-gl@5/dist/maplibre-gl.js",css:"https://cdn.jsdelivr.net/npm/maplibre-gl@5/dist/maplibre-gl.css"}};function ec(e){if(typeof window>"u")return;const t=window,n=()=>{try{const o=e.getContainer().querySelector(".mapboxgl-ctrl-logo, .maplibregl-ctrl-logo");o&&(o.style.display="none")}catch{}};if(t.__doxaLogoOwner&&t.__doxaLogoOwner!==e){e.once("load",n),n();return}t.__doxaLogoOwner=e,e.once("remove",()=>{t.__doxaLogoOwner===e&&(t.__doxaLogoOwner=null)})}const Nm=$n.mapbox.css,Pm="https://tiles.openfreemap.org/styles/liberty",Mm="https://tiles.openfreemap.org/styles/fiord";function ps(e){var n;const t=((n=$n[e])==null?void 0:n.global)||$n.mapbox.global;return typeof window<"u"?window[t]:void 0}async function Im(e){const t=$n[e]||$n.mapbox;if(ps(e)||typeof document>"u")return;if(!document.querySelector(`link[href="${t.css}"]`)){const o=document.createElement("link");o.rel="stylesheet",o.href=t.css,document.head.appendChild(o)}const n=document.querySelector(`script[src="${t.js}"]`);if(n){if(ps(e))return;await new Promise(o=>{n.addEventListener("load",o,{once:!0}),n.addEventListener("error",o,{once:!0})});return}await new Promise((o,a)=>{const s=document.createElement("script");s.src=t.js,s.async=!1,s.addEventListener("load",o,{once:!0}),s.addEventListener("error",()=>a(new Error(`[useMapInstance] Failed to load ${e} engine script`)),{once:!0}),document.head.appendChild(s)})}async function Rm(e,t){const n=e.getRootNode();if(!(n instanceof ShadowRoot))return;const o=i=>new Promise(r=>setTimeout(r,i)),a=n.querySelector(`link[href="${t}"]`);if(a){if(a.sheet)return;await Promise.race([new Promise(i=>{a.addEventListener("load",i,{once:!0}),a.addEventListener("error",i,{once:!0})}),o(2e3)]);return}const s=document.createElement("link");s.rel="stylesheet",s.href=t,await Promise.race([new Promise(i=>{s.addEventListener("load",i,{once:!0}),s.addEventListener("error",i,{once:!0}),n.prepend(s)}),o(2e3)])}function Dm(e,t){return typeof e=="string"&&/^https?:\/\//.test(e)?e:t==="night"||t==="dusk"?Mm:Pm}const Fm=85.0511,hs=-2,Om=0,xm=-60;function tc(e){return(1-Math.log(Math.tan(Math.PI/4+e*Math.PI/180/2))/Math.PI)/2}function jm(e,t,n,o){if(!e||e<=0||!t||t<=0)return Om;const a=Math.log2(e/512),s=tc(o)-tc(Fm),i=Math.log2(t/(512*s)),r=Math.max(a,i);return Math.max(hs,Math.min(r,(n??18)-1))}function Bm({containerRef:e,accessToken:t,style:n,config:o=void 0,provider:a=void 0,center:s=[20,10],zoom:i=2,minZoom:r=void 0,skipWorldFloor:l=!1,maxZoom:c=18,pitch:u=0,bearing:f=0,renderWorldCopies:m=!0,showEdgeBorders:k=!0,southCutoff:N=xm,maxBounds:v=void 0}){const $=Sa(null),P=he(!1);let T=null,_=null,b=null,L=null;try{L=De("profileConfig",null)}catch{}a=a||Ql(L);const A=a==="maplibre";async function C(){var fe;const S=$m(n,a),V=S.style||n;if(!e.value){console.error("containerRef.value is null — call initializeMap() inside onMounted()");return}await Im(a);const ae=ps(a);if(!ae){console.error(`[useMapInstance] ${A?"maplibregl":"mapboxgl"} is not available. Add the ${A?"MapLibre":"Mapbox"} GL JS script to your page.`);return}if(!A){if(!t&&typeof window<"u"&&typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN&&(t=window.MAP_TOKEN),!t){console.error('No Mapbox access token provided. Pass "tk" in profile-config JSON or set window.MAP_TOKEN.');return}if(!t.startsWith("pk.")){console.error('Mapbox token looks invalid (expected "pk." prefix). Got:',t.slice(0,10)+"...");return}}await Rm(e.value,A?$n.maplibre.css:Nm),await new Promise(oe=>requestAnimationFrame(oe));const z=e.value,ee=z.clientWidth,Y=z.clientHeight;if(ee===0||Y===0){console.error(`[useMapInstance] Container has ZERO dimensions (${ee}×${Y}). Map will be invisible. Check that parent elements have CSS sizing.`);let oe=z.parentElement,le=0;for(;oe&&le<5;)oe=oe.parentElement,le++}const F=t;A||(ae.accessToken=F);const j=()=>typeof window<"u"&&window.innerWidth>=1024,q=(oe,le)=>{if(l)return typeof r=="number"?r:hs;if(!j())return hs;const Ne=jm(oe,le,c,N);return typeof r=="number"?Math.max(r,Ne):Ne},W=q(z.clientWidth,z.clientHeight),X=S.lightPreset||(()=>{var oe;try{const le=typeof o=="function"?o():o;return(oe=le==null?void 0:le.basemap)==null?void 0:oe.lightPreset}catch{return}})();if(A){$.value=new ae.Map({container:e.value,style:Dm(V,X),center:s,zoom:i,minZoom:W,maxZoom:c,pitch:u,bearing:f,dragRotate:!1,renderWorldCopies:m,...v?{maxBounds:v}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),ec($.value);try{e.value.__doxaMap=$.value}catch{}}else{const oe=typeof o=="function"?o():o;$.value=new ae.Map({accessToken:F,container:e.value,style:V,...oe?{config:oe}:{},center:s,zoom:i,minZoom:W,maxZoom:c,pitch:u,bearing:f,dragRotate:!1,touchPitch:!1,renderWorldCopies:m,...v?{maxBounds:v}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),ec($.value);try{e.value.__doxaMap=$.value}catch{}}try{let oe=!1;$.value.on("error",le=>{var Ye,nt;const Ne=((Ye=le==null?void 0:le.error)==null?void 0:Ye.status)??(le==null?void 0:le.status),Re=String(((nt=le==null?void 0:le.error)==null?void 0:nt.url)||(le==null?void 0:le.sourceId)||"");Ne!==401&&Ne!==403||oe||(oe=!0,console.error(`[doxa-maps] Mapbox returned ${Ne} for a TILE request while the style loaded fine. That is a URL RESTRICTION on the access token, not a bad token and not a bug in this map. Add this page's origin (${typeof location<"u"?location.origin:"this origin"}) to the token's URL restrictions in the Mapbox account. The map will keep its data layer and stay blank underneath until then.`+(Re?` First failing request: ${Re.slice(0,120)}`:"")))})}catch{}try{$.value.touchZoomRotate.disableRotation()}catch{}b=Tm(((fe=e.value)==null?void 0:fe.parentElement)||null,{enabled:k});let ge=W,ie=null;T=()=>{const oe=$.value;if(!oe)return;const le=q(z.clientWidth,z.clientHeight);le!==ge&&(ge=le,oe.setMinZoom(le)),oe.getZoom(){ie=null;const Ne=$.value;if(!Ne)return;const Re=q(z.clientWidth,z.clientHeight);if(Ne.getZoom(){ie&&(clearTimeout(ie),ie=null)},$.value.on("resize",T),typeof window<"u"&&(window.addEventListener("resize",T),window.addEventListener("orientationchange",T)),$.value.on("style.load",()=>{if(S.paint&&$.value){const oe=Lm($.value,S.paint);console.info("[useMapInstance] style paint applied ("+a+"):",oe.join(", ")||"NONE MATCHED")}requestAnimationFrame(()=>{var oe;(oe=$.value)==null||oe.resize(),$.value&&$.value.setMinZoom(q(z.clientWidth,z.clientHeight)),P.value=!0})})}function D(){if($.value){if(T&&($.value.off("resize",T),typeof window<"u"&&(window.removeEventListener("resize",T),window.removeEventListener("orientationchange",T)),T=null),_){try{_()}catch{}_=null}b&&(b(),b=null),$.value.remove(),$.value=null,P.value=!1}}return{map:$,isMapReady:P,initializeMap:C,destroy:D}}const nc="doxa-prayed-local",Km=7*24*60*60*1e3;function Um(){try{const e=localStorage.getItem(nc);if(!e)return{};const t=JSON.parse(e);return t&&typeof t=="object"?t:{}}catch{return{}}}function Gm(e){try{localStorage.setItem(nc,JSON.stringify(e))}catch{}}function zm(){const e=Date.now(),t=Um();let n=!1;for(const[o,a]of Object.entries(t))(typeof a!="number"||e-a>Km)&&(delete t[o],n=!0);return n&&Gm(t),new Set(Object.keys(t))}function qm(e){const t=zm();return!t.size||!Array.isArray(e)?e:e.map(n=>(Number(n&&n.peoplePraying)||0)>0||!n||!t.has(n.slug)?n:{...n,peoplePraying:1})}const Yt={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"},oc={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"},ms="languageFamily",Hm="#000000",Jt={"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","Atlantic-Congo":"#7D3C98",Mande:"#B9770E","Sign Language":"#212121",Creole:"#9575cd","Mixed language":"#a1887f","Language isolate":"#90a4ae",Unknown:"#000000"},Vm=Jt;function bs(e){return Jt[e]||Hm}const Wm=(()=>{const e=n=>String(n||"").toLowerCase().trim(),t={};for(const n of Object.keys(Jt))t[e(n)]=n;return t})(),Ym={"tai-kadai":"Kra-Dai",none:"Unknown"};function _s(e){if(!e)return"Unknown";const t=String(e).trim(),n=t.toLowerCase();return Ym[n]||Wm[n]||t}function ac(e){var t;return bs(e.languageFamily||((t=e._normalized)==null?void 0:t.languageFamily))}function ys(){const e=["match",["get",ms]];return Object.entries(Jt).forEach(([t,n])=>{e.push(t,n)}),e.push("#95a5a6"),e}const sc=ys,Jm=Object.freeze(Object.defineProperty({__proto__:null,LANGUAGE_FAMILY_COLORS:Vm,PALETTE:Jt,PROPERTY_KEY:ms,applyColor:ys,buildColorExpression:sc,canonicalFamilyName:_s,default:{name:"Language Family",propertyKey:ms,palette:Jt,colors:Jt,getColor:ac,applyColor:ys,buildColorExpression:sc,getLanguageFamilyColor:bs,canonicalFamilyName:_s},defaultFamilyColor:"#95a5a6",getColor:ac,getLanguageFamilyColor:bs,languageFamilyColors:Jt},Symbol.toStringTag,{value:"Module"})),ic="adoptionStatus",Ot={notAdopted:"#f03b2d",hasAdoption:"#22c55e"},Xm=Ot,As={notAdopted:"Needs Adoption",hasAdopted:"Has Adoption"},Zm=As;function rc(e){var o;const t=e.adoptionStatus??((o=e._raw)==null?void 0:o.adopted_by_churches);return t===!0||t===1||typeof t=="number"&&t>0||typeof t=="object"&&(t==null?void 0:t.value)?Ot.hasAdoption:Ot.notAdopted}function Ss({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","adoptionStatus"]:["get","adoptionStatus"];return["case",["==",t,!0],Ot.hasAdoption,["==",t,1],Ot.hasAdoption,Ot.notAdopted]}const lc=Ss,Qm=Object.freeze(Object.defineProperty({__proto__:null,ADOPTION_COLORS:Xm,ADOPTION_LABELS:Zm,LABELS:As,PALETTE:Ot,PROPERTY_KEY:ic,applyColor:Ss,buildColorExpression:lc,default:{name:"Adoption Progress",propertyKey:ic,palette:Ot,colors:Ot,labels:As,getColor:rc,applyColor:Ss,buildColorExpression:lc},getColor:rc},Symbol.toStringTag,{value:"Module"})),cc="engagementStatus",xt={notEngaged:"#f03b2d",hasEngagement:"#22c55e"},eb=xt,vs={notEngaged:"Unengaged",hasEngagement:"Engaged"},tb=vs;function uc(e){var o;const t=e.engagementStatus??((o=e._raw)==null?void 0:o.people_committed);return t===!0||t===1||typeof t=="number"&&t>0||typeof t=="object"&&(t==null?void 0:t.value)?xt.hasEngagement:xt.notEngaged}function ks({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","engagementStatus"]:["get","engagementStatus"];return["case",["==",t,!0],xt.hasEngagement,["==",t,1],xt.hasEngagement,xt.notEngaged]}const gc=ks,nb=Object.freeze(Object.defineProperty({__proto__:null,ENGAGEMENT_COLORS:eb,ENGAGEMENT_LABELS:tb,LABELS:vs,PALETTE:xt,PROPERTY_KEY:cc,applyColor:ks,buildColorExpression:gc,default:{name:"Engagement Progress",propertyKey:cc,palette:xt,colors:xt,labels:vs,getColor:uc,applyColor:ks,buildColorExpression:gc},getColor:uc},Symbol.toStringTag,{value:"Module"})),dc="peoplePraying",ta=144,Xt={noPrayer:"#f03b2d",hasPrayer:"#f0c64a",fullPrayer:"#22c55e"},ob=Xt,Ts={noPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayer:"Has Full Prayer Coverage"},ab=Ts;function na(e){var o;const t=(e==null?void 0:e.peoplePraying)??((o=e==null?void 0:e._raw)==null?void 0:o.people_praying)??null,n=Number(t)||0;return n>=ta?"fullPrayer":n>0?"hasPrayer":"noPrayer"}function Es(e){return Xt[na(e)]}function fc(e){var n;const t=(e==null?void 0:e.peoplePraying)??((n=e==null?void 0:e._raw)==null?void 0:n.people_praying)??null;return t!==null&&t>0}function pc(e){return na(e)==="fullPrayer"}function hc(e){return Es(e)}function $s({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","peoplePraying"]:["get","peoplePraying"];return["case",[">=",t,ta],Xt.fullPrayer,[">",t,0],Xt.hasPrayer,Xt.noPrayer]}const mc=$s,sb=Object.freeze(Object.defineProperty({__proto__:null,FULL_PRAYER_THRESHOLD:ta,LABELS:Ts,PALETTE:Xt,PRAYER_COLORS:ob,PRAYER_LABELS:ab,PROPERTY_KEY:dc,applyColor:$s,buildColorExpression:mc,checkHasFullPrayer:pc,checkHasPrayer:fc,default:{name:"Prayer Progress",propertyKey:dc,palette:Xt,colors:Xt,labels:Ts,threshold:ta,getColor:hc,applyColor:$s,buildColorExpression:mc,getPrayerLevel:na,getPrayerColor:Es,checkHasPrayer:fc,checkHasFullPrayer:pc},getColor:hc,getPrayerColor:Es,getPrayerLevel:na},Symbol.toStringTag,{value:"Module"})),bc="religion",Ls="#94a3b8",ws={C:"Christianity",M:"Islam",H:"Hinduism",B:"Buddhism",E:"Ethnoreligion",J:"Judaism",S:"Sikhism",N:"Unaffiliated",O:"Other",U:"Unknown"},tt={C:"#3b82f6",M:"#ef4444",H:"#f59e0b",B:"#facc15",E:"#84cc16",J:"#a855f7",S:"#ec4899",N:"#71717a",O:"#ff6b2b",U:"#94a3b8"};function _c(e){if(!e||typeof e!="string")return"U";const t=e.charAt(0).toUpperCase();return ws[t]?t:"U"}function yc(e){var n,o,a;const t=(e==null?void 0:e.religion)||((o=(n=e==null?void 0:e._raw)==null?void 0:n.religion)==null?void 0:o.value)||((a=e==null?void 0:e._raw)==null?void 0:a.religion);return tt[_c(t)]||Ls}function Cs(){return["match",["slice",["coalesce",["get","religion"],""],0,1],"C",tt.C,"M",tt.M,"H",tt.H,"B",tt.B,"E",tt.E,"J",tt.J,"S",tt.S,"N",tt.N,"O",tt.O,Ls]}const Ac=Cs,ib=Object.assign({"./adoption.js":Qm,"./engagement.js":nb,"./language-family.js":Jm,"./prayer-progress.js":sb,"./religion.js":Object.freeze(Object.defineProperty({__proto__:null,PALETTE:tt,PROPERTY_KEY:bc,RELIGION_FAMILIES:ws,applyColor:Cs,buildColorExpression:Ac,default:{name:"Religion",propertyKey:bc,palette:tt,families:ws,getColor:yc,applyColor:Cs,buildColorExpression:Ac,fallback:Ls},getColor:yc,getReligionFamily:_c},Symbol.toStringTag,{value:"Module"}))}),rb=e=>e.replace(/-([a-z0-9])/g,(t,n)=>n.toUpperCase()),lb=e=>e.replace(/-/g,"_").toUpperCase(),cb={...{STATUS:"status",CUSTOM:"custom"}};function ub(e){for(const t of Object.keys(e).sort()){const n=t.split("/").pop().replace(/\.js$/,"");if(n.startsWith("_")||n.startsWith(".")||!e[t].default)continue;const a=rb(n);cb[lb(n)]=a}}ub(ib);function Ns(e){return e==null?"":typeof e=="object"?e.label||e.value||"":String(e)}const gb=[[/ sign language$/i,"Sign Language"]];function db(e){var r,l;const t=Ns(e.languageFamily);if(t)return t;const n=String(((l=(r=e._raw)==null?void 0:r.primary_language)==null?void 0:l.value)||(e.language&&typeof e.language=="object"?e.language.value:"")||"").trim().toLowerCase();if(n&&oc[n])return oc[n];const o=Ns(e.language||e.primary_language);if(!o||typeof o!="string")return"";const a=o.trim(),s=a.split(",").map(c=>c.trim()).filter(Boolean);if(s.length>=2){const c=[...s].reverse().join(" ");if(Yt[c])return Yt[c];if(s.length>=3){const u=[s[1],s[0]].join(" ");if(Yt[u])return Yt[u]}}if(Yt[a])return Yt[a];const i=a.replace(/\s*\(.*?\)\s*$/,"").trim();if(i!==a&&Yt[i])return Yt[i];for(const[c,u]of gb)if(c.test(a))return u;return""}function fb(e){const{mapId:t="unknown",dataSourceId:n="doxa-csv",dataSourceManager:o=null,dataStore:a=null,markRaw:s=C=>C}=e;o||console.error("useMapData: dataSourceManager is required!");const i=he(!1),r=he(null),l=he(!1),c=he([]),u=he([]),f=he(null),m=he([]),k=he([]),N=he([]),v=he(null);async function $(){if(!o)throw new Error("dataSourceManager is required for useMapData");i.value=!0,r.value=null;try{if(await o.init(),a&&a.hasSourceData&&a.hasSourceData(n)){const F=a.getSourceData(n);u.value=s(F.normalizedData||[])}else{const F=await o.setActiveSource(n);for(const j of F){const q=Ns(j.language||j.primary_language);q&&(j.language=q);const W=db(j);j.languageFamily=_s(W)}u.value=s(F),a&&a.cacheSourceData&&a.cacheSourceData(n,{normalizedData:F,timestamp:Date.now()})}c.value=s(qm(u.value.map(F=>({id:F.uniqueId,slug:F.slug||"",rop3:F.peopleGroupId,peopleId3:F.peopleId3,name:F.name,language:F.language,languageFamily:F.languageFamily,country:F.country,population:F.population,status:F.engagementStatus||F.status,latitude:F.latitude,longitude:F.longitude,lng:F.longitude,lat:F.latitude,description:F.description,imageUrl:F.imageUrl,doxaRegion:F.doxaRegion||F.wagfRegion||"",peoplePraying:F.peoplePraying??null,_normalized:F}))));const C=o.getDataByLanguageFamily();m.value=Object.entries(C).map(([F,j])=>{const q=j.reduce((W,X)=>{const ge=parseInt(X.population)||0;return W+ge},0);return{name:F,count:j.length,peopleGroupCount:j.length,population:q,groups:j}}).sort((F,j)=>j.count-F.count);const D=o.getDataByRegion();k.value=Object.entries(D).map(([F,j])=>{const q=j.reduce((W,X)=>{const ge=parseInt(X.population)||0;return W+ge},0);return{name:F,count:j.length,peopleGroupCount:j.length,population:q,groups:j}}).sort((F,j)=>F.name.localeCompare(j.name));const S={bible:{count:0,population:0,groups:[]},jesusFilm:{count:0,population:0,groups:[]},radio:{count:0,population:0,groups:[]},gospel:{count:0,population:0,groups:[]},audio:{count:0,population:0,groups:[]},stories:{count:0,population:0,groups:[]},hasResources:{count:0,population:0,groups:[]},noResources:{count:0,population:0,groups:[]}};u.value.forEach(F=>{const j=parseInt(F.population)||0;let q=!1;F.bible==="Available"&&(S.bible.count++,S.bible.population+=j,S.bible.groups.push(F),q=!0),F.jesusFilm==="Available"&&(S.jesusFilm.count++,S.jesusFilm.population+=j,S.jesusFilm.groups.push(F),q=!0),F.radio==="Available"&&(S.radio.count++,S.radio.population+=j,S.radio.groups.push(F),q=!0),F.gospel==="Available"&&(S.gospel.count++,S.gospel.population+=j,S.gospel.groups.push(F),q=!0),F.audio==="Available"&&(S.audio.count++,S.audio.population+=j,S.audio.groups.push(F),q=!0),F.stories==="Available"&&(S.stories.count++,S.stories.population+=j,S.stories.groups.push(F),q=!0),q?(S.hasResources.count++,S.hasResources.population+=j,S.hasResources.groups.push(F)):(S.noResources.count++,S.noResources.population+=j,S.noResources.groups.push(F))});const V=u.value.length,ae=u.value.reduce((F,j)=>F+(parseInt(j.population)||0),0),z={bible:"Bible",jesusFilm:"Jesus Film",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",hasResources:"Has Resources",noResources:"No Resources"},ee={bible:{count:V-S.bible.count,population:ae-S.bible.population},jesusFilm:{count:V-S.jesusFilm.count,population:ae-S.jesusFilm.population},radio:{count:V-S.radio.count,population:ae-S.radio.population},gospel:{count:V-S.gospel.count,population:ae-S.gospel.population},audio:{count:V-S.audio.count,population:ae-S.audio.population},stories:{count:V-S.stories.count,population:ae-S.stories.population}},Y="#2c3e50";return N.value=[{name:z.bible,key:"bible",count:S.bible.count,population:S.bible.population,isParent:!0,children:[{name:"No Bible",key:"noBible",count:ee.bible.count,population:ee.bible.population,color:Y}]},{name:z.jesusFilm,key:"jesusFilm",count:S.jesusFilm.count,population:S.jesusFilm.population,isParent:!0,children:[{name:"No Jesus Film",key:"noJesusFilm",count:ee.jesusFilm.count,population:ee.jesusFilm.population,color:Y}]},{name:z.radio,key:"radio",count:S.radio.count,population:S.radio.population,isParent:!0,children:[{name:"No Radio",key:"noRadio",count:ee.radio.count,population:ee.radio.population,color:Y}]},{name:z.gospel,key:"gospel",count:S.gospel.count,population:S.gospel.population,isParent:!0,children:[{name:"No Gospel",key:"noGospel",count:ee.gospel.count,population:ee.gospel.population,color:Y}]},{name:z.audio,key:"audio",count:S.audio.count,population:S.audio.population,isParent:!0,children:[{name:"No Audio",key:"noAudio",count:ee.audio.count,population:ee.audio.population,color:Y}]},{name:z.stories,key:"stories",count:S.stories.count,population:S.stories.population,isParent:!0,children:[{name:"No Stories",key:"noStories",count:ee.stories.count,population:ee.stories.population,color:Y}]},{name:z.hasResources,key:"hasResources",count:S.hasResources.count,population:S.hasResources.population,isParent:!0,children:[{name:z.noResources,key:"noResources",count:S.noResources.count,population:S.noResources.population,color:Y}]}],v.value=o.getStats(),l.value=!0,{peopleGroups:c.value,normalizedPeopleGroups:u.value,languageFamiliesData:m.value,doxaRegionsData:k.value,resourcesData:N.value,stats:v.value}}catch(C){throw console.error(`Failed to load data for map "${t}":`,C),r.value=C.message||"Failed to load data",C}finally{i.value=!1}}async function P(){var C,D,S;try{const V={},ae=u.value||[];for(const z of ae){const ee=z.countryIso||((D=(C=z._raw)==null?void 0:C.country_code)==null?void 0:D.value)||"",Y=(S=z._raw)==null?void 0:S.wagf_region,F=z.doxaRegion||z.wagfRegion||(Y&&typeof Y=="object"?Y.value:"")||"";ee&&F&&!V[ee]&&(V[ee]=F)}return f.value={isoToRegion:V},f.value}catch(V){throw console.error(`Error building regions data for map "${t}":`,V),r.value=V.message||"Failed to build regions",V}}function T(){return o?o.getDataByLanguageFamily():{}}function _(){return o?o.getDataByRegion():{}}function b(C){return T()[C]||[]}function L(C){return _()[C]||[]}function A(){c.value=[],u.value=[],f.value=null,m.value=[],k.value=[],N.value=[],v.value=null,l.value=!1,r.value=null}return{isLoading:i,isInitialized:l,error:r,peopleGroups:c,normalizedPeopleGroups:u,regionsData:f,languageFamiliesData:m,doxaRegionsData:k,resourcesData:N,stats:v,loadData:$,loadRegionsData:P,getDataByLanguageFamily:T,getDataByRegion:_,getPeopleGroupsByFamily:b,getPeopleGroupsByRegion:L,clearData:A}}const Ps={};function pb(){return typeof window<"u"&&window.MAP_APP_API_URL||typeof{url:oa&&oa.tagName.toUpperCase()==="SCRIPT"&&oa.src||new URL("all-people-groups.js",document.baseURI).href}<"u"&&(Ps==null?void 0:Ps.VITE_API_BASE_URL)||""}class Sc{constructor(t={}){this.sourcesConfig=null,this.activeSource=null,this.rawData=[],this.normalizedData=[],this.dataByUniqueId=new Map,this.baseUrl=typeof window<"u"&&window.MAP_APP_BASE_URL||"./",this.locale=t.locale||null,this.cache=new Map,this.cacheEnabled=!0,this.cacheTTL=5*60*1e3}async init(){return this.sourcesConfig=Yl,this.sourcesConfig}getActiveSourceId(){var t;return((t=this.sourcesConfig)==null?void 0:t.activeSource)||"doxa-csv"}getSourceConfig(t){var n,o;return(o=(n=this.sourcesConfig)==null?void 0:n.sources)==null?void 0:o[t]}async setActiveSource(t){const n=this.getSourceConfig(t);if(!n)throw new Error(`Source not found: ${t}`);if(this.activeSource=n,this.cacheEnabled&&this.cache.has(t)){const o=this.cache.get(t);return this.normalizedData=o.normalizedData,this.dataByUniqueId=o.dataByUniqueId,this.normalizedData}return n.type==="csv"?await this.loadCSVData(n):n.type==="api"?await this.loadAPIData(n):n.type==="rest-api"&&await this.loadRestApiData(n),this.cacheEnabled&&this.cache.set(t,{normalizedData:this.normalizedData,dataByUniqueId:this.dataByUniqueId,timestamp:Date.now()}),this.normalizedData}clearCache(t=null){t?this.cache.delete(t):this.cache.clear()}isCached(t){return this.cache.has(t)}async loadActiveSource(){return this.sourcesConfig||await this.init(),this.setActiveSource(this.getActiveSourceId())}parseCSV(t){const n=[],o=[];let a="",s=!1,i=[],r=!0;for(let l=0;l0){if(i.push(a.trim()),a="",r)o.push(...i),r=!1;else if(i.length>1){const f={};o.forEach((m,k)=>{f[m]=i[k]||""}),n.push(f)}i=[]}}else a+=c}if((a||i.length>0)&&(i.push(a.trim()),!r&&i.length>1)){const l={};o.forEach((c,u)=>{l[c]=i[u]||""}),n.push(l)}return{headers:o,data:n}}async loadCSVData(t){try{const o=await(await fetch(this.baseUrl+t.path)).text(),{headers:a,data:s}=this.parseCSV(o);return this.rawData=s,this.validateFieldMappings(t.fieldMappings,a,t.name),this.normalizeData(t),this.normalizedData}catch(n){throw console.error("Failed to load CSV data:",n),n}}validateFieldMappings(t,n,o){const a=new Set(n.map(i=>i.trim())),s=[];for(const[i,r]of Object.entries(t||{}))if(Array.isArray(r))for(const l of r)a.has(l)||s.push({systemField:i,sourceField:l,isComposite:!0});else r&&!a.has(r)&&s.push({systemField:i,sourceField:r,isComposite:!1});s.length>0&&console.warn(`[DataSourceManager] ${o}: missing CSV columns:`,s)}async loadAPIData(t){try{const o=await(await fetch(t.url||t.endpoint)).json();return this.rawData=Array.isArray(o)?o:o.posts||o.data||o.peopleGroups||o.results||[],this.normalizeData(t),this.normalizedData}catch(n){throw console.error("Failed to load API data:",n),n}}async loadRestApiData(t){var l,c;const n=fb(),o=((l=t.endpoints)==null?void 0:l.bulk)||"/api/people-groups/list",a=((c=t.defaultFields)==null?void 0:c.join(","))||"",s=[];a&&s.push(`fields=${a}`);const i={...t.queryParams||{}};this.locale&&(i.lang=this.locale);for(const[u,f]of Object.entries(i))s.push(`${u}=${encodeURIComponent(f)}`);const r=`${n}${o}?${s.join("&")}`;try{const u=await fetch(r);if(!u.ok)throw new Error(`HTTP ${u.status}: ${u.statusText}`);const f=u.headers.get("content-type")||"";if(!f.includes("application/json"))throw new Error(`API returned "${f}" instead of JSON. Server at ${n} may be down or misconfigured.`);const m=await u.json();return this.rawData=Array.isArray(m)?m:m.posts||m.data||m.results||[],this.normalizeData(t),this.normalizedData}catch(u){throw console.error(`[rest-api] Failed to load from ${t.id}:`,u),u}}normalizeData(t){const n=t.fieldMappings||{};this.normalizedData=[],this.dataByUniqueId=new Map;for(const o of this.rawData){const a={};for(const[l,c]of Object.entries(n))if(Array.isArray(c)){const u=c.map(f=>this.getFieldValue(o,f));a[l]=u.join("_")}else a[l]=this.getFieldValue(o,c);if(a.latitude=parseFloat(a.latitude)||0,a.longitude=parseFloat(a.longitude)||0,a.latitude===0&&a.longitude===0)continue;a.populationNum=this.parsePopulation(a.population),a.imageUrl=this.getImageUrl(a,t.imageConfig);const s=a.engagementStatus;s!=null&&(typeof s=="object"&&"value"in s?(a.engagementStatusLabel=s.label||s.value,a.engagementStatus=s.value==="engaged"):a.engagementStatus=s===!0||s===1||s==="1"||s==="true"||typeof s=="number"&&s>0||typeof s=="string"&&parseInt(s,10)>0);const i=a.adoptionStatus;i!=null&&(a.adoptionStatus=i===!0||i===1||i==="1"||i==="true"||typeof i=="object"&&!!(i!=null&&i.value)||typeof i=="number"&&i>0||typeof i=="string"&&parseInt(i,10)>0);const r=["doxaRegion","wagfRegion","wagfBlock","wagfMember","affinityBlock","cluster","peopleGroup","countryIso","religion","religionCode"];for(const l of r){const c=a[l];c!=null&&typeof c=="object"&&"value"in c?(a[l+"Label"]=c.label||c.value,a[l]=c.value):c!=null&&typeof c=="string"&&c!==""&&(a[l+"Label"]||(a[l+"Label"]=c))}a.countryName=a.countryIsoLabel||a.country||a.countryIso||"",a.religionName=a.religionLabel||a.religion||"",a._raw=o,this.normalizedData.push(a),this.dataByUniqueId.set(a.uniqueId,a)}this.rawData=null}getFieldValue(t,n){if(!n)return"";if(t[n]!==void 0)return t[n];const o=n.trim();if(t[o]!==void 0)return t[o];for(const a of Object.keys(t))if(a.trim()===o||a.includes(o)||o.includes(a.trim()))return t[a];return""}parsePopulation(t){if(!t)return 0;const n=String(t).replace(/,/g,"").trim(),o=parseInt(n,10);return isNaN(o)?0:o}getImageUrl(t,n){if(!n)return"";const o=n.placeholderUrl||"",a=t[n.useField];return a&&String(a).trim()&&!String(a).includes("NoImageAvailable")?a:o}getData(){return this.normalizedData}getByUniqueId(t){return this.dataByUniqueId.get(t)}getByCoordinates(t,n,o=1e-4){return this.normalizedData.find(a=>Math.abs(a.latitude-t)n.peopleGroupId===t)}getLanguageFamilies(){const t=new Set;return this.normalizedData.forEach(n=>{n.languageFamily&&t.add(n.languageFamily)}),Array.from(t).sort()}getDataByLanguageFamily(){const t={};return this.normalizedData.forEach(n=>{const o=n.languageFamily||"Unknown";t[o]||(t[o]=[]),t[o].push(n)}),t}getDataByRegion(){const t={};return this.normalizedData.forEach(n=>{const o=n.doxaRegion||"Unknown";t[o]||(t[o]=[]),t[o].push(n)}),t}getStats(){return{totalRecords:this.normalizedData.length,withPeopleId3:this.normalizedData.filter(t=>t.peopleId3).length,withPhotos:this.normalizedData.filter(t=>t.imageUrl&&!String(t.imageUrl).includes("NoImageAvailable")).length,languageFamilies:this.getLanguageFamilies().length,countries:new Set(this.normalizedData.map(t=>t.country)).size,regions:Object.keys(this.getDataByRegion()).length}}}new Sc;const pb={class:"apg-root"},hb={key:0,class:"apg-loading"},mb={key:1,class:"apg-error"},bb={key:2,class:"apg-legend"},_b={class:"apg-legend-sub"},yb=["onClick"],Ab={class:"apg-count"},Sb=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"all-people-groups",setup(e){var te;Wl(` +`&&l++,a||i.length>0){if(i.push(a.trim()),a="",r)o.push(...i),r=!1;else if(i.length>1){const f={};o.forEach((m,k)=>{f[m]=i[k]||""}),n.push(f)}i=[]}}else a+=c}if((a||i.length>0)&&(i.push(a.trim()),!r&&i.length>1)){const l={};o.forEach((c,u)=>{l[c]=i[u]||""}),n.push(l)}return{headers:o,data:n}}async loadCSVData(t){try{const o=await(await fetch(this.baseUrl+t.path)).text(),{headers:a,data:s}=this.parseCSV(o);return this.rawData=s,this.validateFieldMappings(t.fieldMappings,a,t.name),this.normalizeData(t),this.normalizedData}catch(n){throw console.error("Failed to load CSV data:",n),n}}validateFieldMappings(t,n,o){const a=new Set(n.map(i=>i.trim())),s=[];for(const[i,r]of Object.entries(t||{}))if(Array.isArray(r))for(const l of r)a.has(l)||s.push({systemField:i,sourceField:l,isComposite:!0});else r&&!a.has(r)&&s.push({systemField:i,sourceField:r,isComposite:!1});s.length>0&&console.warn(`[DataSourceManager] ${o}: missing CSV columns:`,s)}async loadAPIData(t){try{const o=await(await fetch(t.url||t.endpoint)).json();return this.rawData=Array.isArray(o)?o:o.posts||o.data||o.peopleGroups||o.results||[],this.normalizeData(t),this.normalizedData}catch(n){throw console.error("Failed to load API data:",n),n}}async loadRestApiData(t){var l,c;const n=pb(),o=((l=t.endpoints)==null?void 0:l.bulk)||"/api/people-groups/list",a=((c=t.defaultFields)==null?void 0:c.join(","))||"",s=[];a&&s.push(`fields=${a}`);const i={...t.queryParams||{}};this.locale&&(i.lang=this.locale);for(const[u,f]of Object.entries(i))s.push(`${u}=${encodeURIComponent(f)}`);const r=`${n}${o}?${s.join("&")}`;try{const u=await fetch(r);if(!u.ok)throw new Error(`HTTP ${u.status}: ${u.statusText}`);const f=u.headers.get("content-type")||"";if(!f.includes("application/json"))throw new Error(`API returned "${f}" instead of JSON. Server at ${n} may be down or misconfigured.`);const m=await u.json();return this.rawData=Array.isArray(m)?m:m.posts||m.data||m.results||[],this.normalizeData(t),this.normalizedData}catch(u){throw console.error(`[rest-api] Failed to load from ${t.id}:`,u),u}}normalizeData(t){const n=t.fieldMappings||{};this.normalizedData=[],this.dataByUniqueId=new Map;for(const o of this.rawData){const a={};for(const[l,c]of Object.entries(n))if(Array.isArray(c)){const u=c.map(f=>this.getFieldValue(o,f));a[l]=u.join("_")}else a[l]=this.getFieldValue(o,c);if(a.latitude=parseFloat(a.latitude)||0,a.longitude=parseFloat(a.longitude)||0,a.latitude===0&&a.longitude===0)continue;a.populationNum=this.parsePopulation(a.population),a.imageUrl=this.getImageUrl(a,t.imageConfig);const s=a.engagementStatus;s!=null&&(typeof s=="object"&&"value"in s?(a.engagementStatusLabel=s.label||s.value,a.engagementStatus=s.value==="engaged"):a.engagementStatus=s===!0||s===1||s==="1"||s==="true"||typeof s=="number"&&s>0||typeof s=="string"&&parseInt(s,10)>0);const i=a.adoptionStatus;i!=null&&(a.adoptionStatus=i===!0||i===1||i==="1"||i==="true"||typeof i=="object"&&!!(i!=null&&i.value)||typeof i=="number"&&i>0||typeof i=="string"&&parseInt(i,10)>0);const r=["doxaRegion","wagfRegion","wagfBlock","wagfMember","affinityBlock","cluster","peopleGroup","countryIso","religion","religionCode"];for(const l of r){const c=a[l];c!=null&&typeof c=="object"&&"value"in c?(a[l+"Label"]=c.label||c.value,a[l]=c.value):c!=null&&typeof c=="string"&&c!==""&&(a[l+"Label"]||(a[l+"Label"]=c))}a.countryName=a.countryIsoLabel||a.country||a.countryIso||"",a.religionName=a.religionLabel||a.religion||"",a._raw=o,this.normalizedData.push(a),this.dataByUniqueId.set(a.uniqueId,a)}this.rawData=null}getFieldValue(t,n){if(!n)return"";if(t[n]!==void 0)return t[n];const o=n.trim();if(t[o]!==void 0)return t[o];for(const a of Object.keys(t))if(a.trim()===o||a.includes(o)||o.includes(a.trim()))return t[a];return""}parsePopulation(t){if(!t)return 0;const n=String(t).replace(/,/g,"").trim(),o=parseInt(n,10);return isNaN(o)?0:o}getImageUrl(t,n){if(!n)return"";const o=n.placeholderUrl||"",a=t[n.useField];return a&&String(a).trim()&&!String(a).includes("NoImageAvailable")?a:o}getData(){return this.normalizedData}getByUniqueId(t){return this.dataByUniqueId.get(t)}getByCoordinates(t,n,o=1e-4){return this.normalizedData.find(a=>Math.abs(a.latitude-t)n.peopleGroupId===t)}getLanguageFamilies(){const t=new Set;return this.normalizedData.forEach(n=>{n.languageFamily&&t.add(n.languageFamily)}),Array.from(t).sort()}getDataByLanguageFamily(){const t={};return this.normalizedData.forEach(n=>{const o=n.languageFamily||"Unknown";t[o]||(t[o]=[]),t[o].push(n)}),t}getDataByRegion(){const t={};return this.normalizedData.forEach(n=>{const o=n.doxaRegion||"Unknown";t[o]||(t[o]=[]),t[o].push(n)}),t}getStats(){return{totalRecords:this.normalizedData.length,withPeopleId3:this.normalizedData.filter(t=>t.peopleId3).length,withPhotos:this.normalizedData.filter(t=>t.imageUrl&&!String(t.imageUrl).includes("NoImageAvailable")).length,languageFamilies:this.getLanguageFamilies().length,countries:new Set(this.normalizedData.map(t=>t.country)).size,regions:Object.keys(this.getDataByRegion()).length}}}new Sc;const hb={class:"apg-root"},mb={key:0,class:"apg-loading"},bb={key:1,class:"apg-error"},_b={key:2,class:"apg-legend"},yb={class:"apg-legend-sub"},Ab=["onClick"],Sb={class:"apg-count"},vb=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"all-people-groups",setup(e){var ee;Wl(` .apg-root { position:absolute;inset:0;overflow:hidden; font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif; } .apg-canvas { position:absolute;inset:0; } @@ -101,10 +101,10 @@ .apg-pop .meta { color:#4b5563;margin-top:4px; } .apg-pop a { display:inline-block;margin-top:7px;font-weight:700;color:#b45309;text-decoration:none; } .apg-pop a:hover { text-decoration:underline; } -`,"all-people-groups");const t=Ie("profileConfig"),n=Ie("mapboxToken"),o=Ie("dataSource"),a=Ie("dataStore"),s=Ie("mapStore"),i=Ql(t),r=me(()=>{var Y;return String(((Y=t==null?void 0:t.value)==null?void 0:Y.assetsBase)||"/assets").replace(/\/+$/,"")}),l=[{id:"doxa",label:"DOXA people groups",color:"#111827"},{id:"frontier",label:"Frontier — nothing started",color:"#e74c3c"},{id:"unreached",label:"Unreached — work beginning",color:"#f1c40f"},{id:"reached",label:"Reached — church is there",color:"#2ecc71"}],c=Object.fromEntries(l.map(Y=>[Y.id,Y.color])),u=pe({doxa:0,frontier:0,unreached:0,reached:0});function f(Y,F){if(F.has(String(Y.ROP3Code||"")))return"doxa";const j=Number(Y.GSEC);return!Number.isFinite(j)||j<=1?"frontier":j<=3?"unreached":"reached"}function m(){var j;let Y="";try{Y=new URLSearchParams(window.location.search).get("utm_source")||""}catch{}const F=(j=t==null?void 0:t.value)==null?void 0:j.utmSource;return encodeURIComponent(String(Y||F||"agwm"))}const k=pe(null),N=pe(!1),v=pe(null),{map:$,initializeMap:P,destroy:T}=jm({containerRef:k,accessToken:n.value,provider:i,style:((te=t==null?void 0:t.value)==null?void 0:te.style)??"ink",center:[20,12],zoom:1.6}),_=new Sc,b=db({mapId:"all-people-groups",dataSourceId:o.value,dataSourceManager:_,dataStore:a,markRaw:Y=>Y});let L=[],A=new Map;function C(Y){return String(Y??"").replace(/[&<>"']/g,F=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[F])}async function D(){const[Y,F]=await Promise.all([fetch(`${r.value}/people-groups/people-groups-slim.json`).then(Z=>{if(!Z.ok)throw new Error(`people-groups-slim.json ${Z.status}`);return Z.json()}),b.loadData().then(()=>b.normalizedPeopleGroups.value||[]).catch(Z=>(console.warn("[all-people-groups] DOXA overlay unavailable (map still renders by GSEC):",Z),[]))]),j=new Set;for(const Z of F){const ie=String(Z.peopleGroupId||Z.rop3||"");ie&&(j.add(ie),A.has(ie)||A.set(ie,{slug:Z.slug||"",name:Z.name||""}))}const q=[],W={doxa:0,frontier:0,unreached:0,reached:0};for(const Z of Y.rows||[]){const ie=Number(Z.Lat),de=Number(Z.Long);if(!Number.isFinite(ie)||!Number.isFinite(de)||ie===0&&de===0)continue;const X=f(Z,j);W[X]++,q.push({type:"Feature",geometry:{type:"Point",coordinates:[de,ie]},properties:{name:Z.Name||"",country:Z.CountryName||"",population:Number(Z.Population)||0,gsec:Z.GSEC,evangelical:Z.EvangelicalLevel||"",language:Z.LanguageName||"",religion:Z.ReligionName||"",rop3:String(Z.ROP3Code||""),category:X}})}return u.value=W,L=q,{type:"FeatureCollection",features:q}}function S(Y){const F=$.value;F.addSource("apg",{type:"geojson",data:Y}),F.addLayer({id:"apg-pins",type:"circle",source:"apg",paint:{"circle-color":["match",["get","category"],"doxa",c.doxa,"frontier",c.frontier,"unreached",c.unreached,c.reached],"circle-stroke-color":"#ffffff","circle-stroke-width":["interpolate",["linear"],["zoom"],0,.4,6,.8,12,1.1],"circle-stroke-opacity":.85,"circle-radius":["interpolate",["linear"],["zoom"],0,2.2,4,3.4,8,6,12,9],"circle-opacity":.92,"circle-sort-key":["match",["get","category"],"doxa",4,"frontier",3,"unreached",2,1]}}),F.on("mouseenter","apg-pins",()=>{F.getCanvas().style.cursor="pointer"}),F.on("mouseleave","apg-pins",()=>{F.getCanvas().style.cursor=""}),F.on("click","apg-pins",j=>{const q=j.features&&j.features[0];if(!q)return;const W=q.properties,Z=W.category==="doxa"?A.get(W.rop3):null,ie=l.find(re=>re.id===W.category),de=Z&&Z.slug?`Pray for them →`:"",X=i==="maplibre"?window.maplibregl:window.mapboxgl;new X.Popup({closeButton:!0,maxWidth:"290px"}).setLngLat(j.lngLat).setHTML(`
- ${C(W.name)} ${C(ie.label.split(" — ")[0])} +`,"all-people-groups");const t=De("profileConfig"),n=De("mapboxToken"),o=De("dataSource"),a=De("dataStore"),s=De("mapStore"),i=Ql(t),r=be(()=>{var Y;return String(((Y=t==null?void 0:t.value)==null?void 0:Y.assetsBase)||"/assets").replace(/\/+$/,"")}),l=[{id:"doxa",label:"DOXA people groups",color:"#111827"},{id:"frontier",label:"Frontier — nothing started",color:"#e74c3c"},{id:"unreached",label:"Unreached — work beginning",color:"#f1c40f"},{id:"reached",label:"Reached — church is there",color:"#2ecc71"}],c=Object.fromEntries(l.map(Y=>[Y.id,Y.color])),u=he({doxa:0,frontier:0,unreached:0,reached:0});function f(Y,F){if(F.has(String(Y.ROP3Code||"")))return"doxa";const j=Number(Y.GSEC);return!Number.isFinite(j)||j<=1?"frontier":j<=3?"unreached":"reached"}function m(){var j;let Y="";try{Y=new URLSearchParams(window.location.search).get("utm_source")||""}catch{}const F=(j=t==null?void 0:t.value)==null?void 0:j.utmSource;return encodeURIComponent(String(Y||F||"agwm"))}const k=he(null),N=he(!1),v=he(null),{map:$,initializeMap:P,destroy:T}=Bm({containerRef:k,accessToken:n.value,provider:i,style:((ee=t==null?void 0:t.value)==null?void 0:ee.style)??"ink",center:[20,12],zoom:1.6}),_=new Sc,b=fb({mapId:"all-people-groups",dataSourceId:o.value,dataSourceManager:_,dataStore:a,markRaw:Y=>Y});let L=[],A=new Map;function C(Y){return String(Y??"").replace(/[&<>"']/g,F=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[F])}async function D(){const[Y,F]=await Promise.all([fetch(`${r.value}/people-groups/people-groups-slim.json`).then(X=>{if(!X.ok)throw new Error(`people-groups-slim.json ${X.status}`);return X.json()}),b.loadData().then(()=>b.normalizedPeopleGroups.value||[]).catch(X=>(console.warn("[all-people-groups] DOXA overlay unavailable (map still renders by GSEC):",X),[]))]),j=new Set;for(const X of F){const ge=String(X.peopleGroupId||X.rop3||"");ge&&(j.add(ge),A.has(ge)||A.set(ge,{slug:X.slug||"",name:X.name||""}))}const q=[],W={doxa:0,frontier:0,unreached:0,reached:0};for(const X of Y.rows||[]){const ge=Number(X.Lat),ie=Number(X.Long);if(!Number.isFinite(ge)||!Number.isFinite(ie)||ge===0&&ie===0)continue;const fe=f(X,j);W[fe]++,q.push({type:"Feature",geometry:{type:"Point",coordinates:[ie,ge]},properties:{name:X.Name||"",country:X.CountryName||"",population:Number(X.Population)||0,gsec:X.GSEC,evangelical:X.EvangelicalLevel||"",language:X.LanguageName||"",religion:X.ReligionName||"",rop3:String(X.ROP3Code||""),category:fe}})}return u.value=W,L=q,{type:"FeatureCollection",features:q}}function S(Y){const F=$.value;F.addSource("apg",{type:"geojson",data:Y}),F.addLayer({id:"apg-pins",type:"circle",source:"apg",paint:{"circle-color":["match",["get","category"],"doxa",c.doxa,"frontier",c.frontier,"unreached",c.unreached,c.reached],"circle-stroke-color":"#ffffff","circle-stroke-width":["interpolate",["linear"],["zoom"],0,.4,6,.8,12,1.1],"circle-stroke-opacity":.85,"circle-radius":["interpolate",["linear"],["zoom"],0,2.2,4,3.4,8,6,12,9],"circle-opacity":.92,"circle-sort-key":["match",["get","category"],"doxa",4,"frontier",3,"unreached",2,1]}}),F.on("mouseenter","apg-pins",()=>{F.getCanvas().style.cursor="pointer"}),F.on("mouseleave","apg-pins",()=>{F.getCanvas().style.cursor=""}),F.on("click","apg-pins",j=>{const q=j.features&&j.features[0];if(!q)return;const W=q.properties,X=W.category==="doxa"?A.get(W.rop3):null,ge=l.find(oe=>oe.id===W.category),ie=X&&X.slug?`Pray for them →`:"",fe=i==="maplibre"?window.maplibregl:window.mapboxgl;new fe.Popup({closeButton:!0,maxWidth:"290px"}).setLngLat(j.lngLat).setHTML(`
+ ${C(W.name)} ${C(ge.label.split(" — ")[0])}
${C(W.country)} · pop ${Number(W.population).toLocaleString()}
${C(W.evangelical||"GSEC "+W.gsec)}
${C(W.language)}${W.religion?" · "+C(W.religion):""}
- ${de} -
`).addTo(F)})}const V=pe(null);function ae(Y){const F=$.value;if(!F||!F.getLayer("apg-pins"))return;if(V.value===Y){V.value=null,F.setFilter("apg-pins",null),F.fitBounds([[-170,-55],[179,72]],{padding:20,duration:900});return}V.value=Y,F.setFilter("apg-pins",["==",["get","category"],Y]);let j=180,q=85,W=-180,Z=-85,ie=0;for(const de of L){if(de.properties.category!==Y)continue;const[X,re]=de.geometry.coordinates;XW&&(W=X),reZ&&(Z=re),ie++}ie&&F.fitBounds([[j,q],[W,Z]],{padding:60,duration:900,maxZoom:6})}Gn(async()=>{const Y=D().catch(F=>(v.value=String((F==null?void 0:F.message)||F),null));try{await P()}catch(F){v.value=String((F==null?void 0:F.message)||F);return}if(!$.value){v.value="Map failed to initialize — check token and container";return}$.value.once("style.load",async()=>{var F;try{const j=await Y;if(!j)return;try{$.value.setProjection("mercator")}catch{}S(j),(F=s==null?void 0:s.registerMap)==null||F.call(s,"all-people-groups",$.value),N.value=!0}catch(j){v.value=String((j==null?void 0:j.message)||j)}})}),Ro(()=>{var Y;(Y=s==null?void 0:s.unregisterMap)==null||Y.call(s,"all-people-groups"),T()});const z=me(()=>u.value.doxa+u.value.frontier+u.value.unreached+u.value.reached);return(Y,F)=>(We(),wt("div",pb,[!N.value&&!v.value?(We(),wt("div",hb,"Loading every people group…")):bn("",!0),v.value?(We(),wt("div",mb,"The map could not be loaded. "+Qt(v.value),1)):bn("",!0),we("div",{ref_key:"mapContainer",ref:k,class:"apg-canvas"},null,512),N.value?(We(),wt("div",bb,[F[0]||(F[0]=we("div",{class:"apg-legend-title"},"All People Groups",-1)),we("div",_b,Qt(z.value.toLocaleString())+" group–country locations",1),(We(),wt(Ze,null,ju(l,j=>we("div",{key:j.id,class:Nn(["apg-row",{active:V.value===j.id}]),onClick:q=>ae(j.id)},[we("span",{class:"apg-dot",style:fo({background:j.color})},null,4),Ct(" "+Qt(j.label)+" ",1),we("span",Ab,Qt((u.value[j.id]||0).toLocaleString()),1)],10,yb)),64)),F[1]||(F[1]=we("div",{class:"apg-hint"},"Click a row to see all of them · click again for everything",-1))])):bn("",!0)]))}}},Symbol.toStringTag,{value:"Module"}))})(); + ${ie} +
`).addTo(F)})}const V=he(null);function ae(Y){const F=$.value;if(!F||!F.getLayer("apg-pins"))return;if(V.value===Y){V.value=null,F.setFilter("apg-pins",null),F.fitBounds([[-170,-55],[179,72]],{padding:20,duration:900});return}V.value=Y,F.setFilter("apg-pins",["==",["get","category"],Y]);let j=180,q=85,W=-180,X=-85,ge=0;for(const ie of L){if(ie.properties.category!==Y)continue;const[fe,oe]=ie.geometry.coordinates;feW&&(W=fe),oeX&&(X=oe),ge++}ge&&F.fitBounds([[j,q],[W,X]],{padding:60,duration:900,maxZoom:6})}Gn(async()=>{const Y=D().catch(F=>(v.value=String((F==null?void 0:F.message)||F),null));try{await P()}catch(F){v.value=String((F==null?void 0:F.message)||F);return}if(!$.value){v.value="Map failed to initialize — check token and container";return}$.value.once("style.load",async()=>{var F;try{const j=await Y;if(!j)return;try{$.value.setProjection("mercator")}catch{}S(j),(F=s==null?void 0:s.registerMap)==null||F.call(s,"all-people-groups",$.value),N.value=!0}catch(j){v.value=String((j==null?void 0:j.message)||j)}})}),Ro(()=>{var Y;(Y=s==null?void 0:s.unregisterMap)==null||Y.call(s,"all-people-groups"),T()});const z=be(()=>u.value.doxa+u.value.frontier+u.value.unreached+u.value.reached);return(Y,F)=>(We(),Ct("div",hb,[!N.value&&!v.value?(We(),Ct("div",mb,"Loading every people group…")):bn("",!0),v.value?(We(),Ct("div",bb,"The map could not be loaded. "+Qt(v.value),1)):bn("",!0),we("div",{ref_key:"mapContainer",ref:k,class:"apg-canvas"},null,512),N.value?(We(),Ct("div",_b,[F[0]||(F[0]=we("div",{class:"apg-legend-title"},"All People Groups",-1)),we("div",yb,Qt(z.value.toLocaleString())+" group–country locations",1),(We(),Ct(Qe,null,ju(l,j=>we("div",{key:j.id,class:Nn(["apg-row",{active:V.value===j.id}]),onClick:q=>ae(j.id)},[we("span",{class:"apg-dot",style:fo({background:j.color})},null,4),Nt(" "+Qt(j.label)+" ",1),we("span",Sb,Qt((u.value[j.id]||0).toLocaleString()),1)],10,Ab)),64)),F[1]||(F[1]=we("div",{class:"apg-hint"},"Click a row to see all of them · click again for everything",-1))])):bn("",!0)]))}}},Symbol.toStringTag,{value:"Module"}))})(); diff --git a/public/doxa-maps/all-people-groups/all-people-groups/index.html b/public/doxa-maps/all-people-groups/all-people-groups/index.html index 201c5389e..734cf1a9b 100644 --- a/public/doxa-maps/all-people-groups/all-people-groups/index.html +++ b/public/doxa-maps/all-people-groups/all-people-groups/index.html @@ -29,7 +29,7 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + + window.FORGE.manifest = {"schema":"doxa-maps-manifest@1","generatedFrom":"plugin-designs/*/*.vue","embedBase":".","bundleCount":21,"profileCount":32,"bundles":[{"bundle":"all-people-groups","scriptUrl":"./all-people-groups/all-people-groups.js","output":"doxa-maps/all-people-groups/all-people-groups.js","integrity":"sha384-euKnTYjtIyND2Ddqz1s3gX5zyMSTFGRjX0P0TnzedZLc/OX0Y1Cuuv6KECxpnTdg","elements":["all-people-groups"],"profiles":[{"profile":"all-people-groups","file":"all-people-groups.vue","description":"All 12,379 people groups (peoplegroups.org) in four colors — reached,","element":"all-people-groups","type":"single","isMap":true,"iframeUrl":"./all-people-groups/all-people-groups/index.html","scriptUrl":"./all-people-groups/all-people-groups.js","embed":{"iframe":"\u003ciframe src=\"./all-people-groups/all-people-groups/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./all-people-groups/all-people-groups.js\" integrity=\"sha384-euKnTYjtIyND2Ddqz1s3gX5zyMSTFGRjX0P0TnzedZLc/OX0Y1Cuuv6KECxpnTdg\" crossorigin=\"anonymous\">\u003c/script>\n\u003call-people-groups profile-config='{\"profile\":\"all-people-groups\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/all-people-groups>"},"bundle":"all-people-groups"}]},{"bundle":"big-picture","scriptUrl":"./big-picture/big-picture.js","output":"doxa-maps/big-picture/big-picture.js","integrity":"sha384-v0b+aZ7TBxmgUIBBLdKEm6HzwjY3jAGyOFNsKeKCKY4EIRpiWRTcNLavAitHRt8h","elements":["bp-big-picture","bp-research-header","people-groups-grid"],"composes":["bp-research-header","people-groups-grid"],"profiles":[{"profile":"big-picture","file":"big-picture.vue","description":"The Cat-4 composite that PAIRS the two real capability elements of the","element":"bp-big-picture","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./big-picture/big-picture/index.html","scriptUrl":"./big-picture/big-picture.js","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./big-picture/big-picture.js\" integrity=\"sha384-v0b+aZ7TBxmgUIBBLdKEm6HzwjY3jAGyOFNsKeKCKY4EIRpiWRTcNLavAitHRt8h\" crossorigin=\"anonymous\">\u003c/script>\n\u003cbp-big-picture profile-config='{\"profile\":\"big-picture\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/bp-big-picture>"},"instances":[{"id":"big-picture","title":"Big Picture — research header ↔ people-groups grid (composite)","apiBaseUrl":"","props":{"profile":"big-picture","provider":"maplibre","instanceId":"bp-big-picture"},"element":"bp-big-picture","iframeUrl":"./big-picture/big-picture/big-picture/index.html","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/big-picture/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"frontier","title":"Big Picture — frontier accent","apiBaseUrl":"","props":{"profile":"big-picture","provider":"maplibre","instanceId":"bp-big-picture-frontier","accent":"#22d3ee","title":"Big Picture — Frontier Focus"},"element":"bp-big-picture","iframeUrl":"./big-picture/big-picture/frontier/index.html","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/frontier/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"big-picture"}]},{"bundle":"cities-internet","scriptUrl":"./cities-internet/cities-internet.js","output":"doxa-maps/cities-internet/cities-internet.js","integrity":"sha384-VfbtDah7CcZdh9U1LNojwqD50sWSZIzYogPohoATgibTn1s00jLOdq4/98uSfsi+","elements":["cities-internet-map"],"profiles":[{"profile":"connectivity-list","file":"connectivity-list.vue","description":"Countries where DX people groups live, grouped by region, showing measured internet penetration","element":"cities-internet-map","type":"single","isMap":false,"iframeUrl":"./cities-internet/connectivity-list/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/connectivity-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-VfbtDah7CcZdh9U1LNojwqD50sWSZIzYogPohoATgibTn1s00jLOdq4/98uSfsi+\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"connectivity-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}},{"profile":"connectivity-map","file":"connectivity-map.vue","description":"Every country shaded by measured internet penetration, with its named carriers and dominant","element":"cities-internet-map","type":"single","isMap":true,"iframeUrl":"./cities-internet/connectivity-map/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/connectivity-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-VfbtDah7CcZdh9U1LNojwqD50sWSZIzYogPohoATgibTn1s00jLOdq4/98uSfsi+\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"connectivity-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}},{"profile":"data-tables","file":"data-tables.vue","description":"Four validated research tables, one tab each, with sortable and filterable columns, CSV and JSON","element":"cities-internet-map","type":"single","isMap":false,"iframeUrl":"./cities-internet/data-tables/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/data-tables/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-VfbtDah7CcZdh9U1LNojwqD50sWSZIzYogPohoATgibTn1s00jLOdq4/98uSfsi+\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"data-tables\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}}]},{"bundle":"country-posters","scriptUrl":"./country-posters/country-posters.js","output":"doxa-maps/country-posters/country-posters.js","integrity":"sha384-we0q/Lynt6lZt961TyIob0IYnRlQI+oyOdmK7j2DHpB/FCPaIeYKwmsJPJtGRRoY","elements":["country-posters-map"],"profiles":[{"profile":"countries-map","file":"countries-map.vue","description":"The researcher's workbench retargeted from people groups to COUNTRIES — region","element":"country-posters-map","type":"single","isMap":true,"iframeUrl":"./country-posters/countries-map/index.html","scriptUrl":"./country-posters/country-posters.js","embed":{"iframe":"\u003ciframe src=\"./country-posters/countries-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./country-posters/country-posters.js\" integrity=\"sha384-we0q/Lynt6lZt961TyIob0IYnRlQI+oyOdmK7j2DHpB/FCPaIeYKwmsJPJtGRRoY\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccountry-posters-map profile-config='{\"profile\":\"countries-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/country-posters-map>"}},{"profile":"country-poster-wall","file":"country-poster-wall.vue","description":"One printable card per country, grouped into COLLAPSIBLE regional sections so the","element":"country-posters-map","type":"single","isMap":false,"iframeUrl":"./country-posters/country-poster-wall/index.html","scriptUrl":"./country-posters/country-posters.js","embed":{"iframe":"\u003ciframe src=\"./country-posters/country-poster-wall/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./country-posters/country-posters.js\" integrity=\"sha384-we0q/Lynt6lZt961TyIob0IYnRlQI+oyOdmK7j2DHpB/FCPaIeYKwmsJPJtGRRoY\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccountry-posters-map profile-config='{\"profile\":\"country-poster-wall\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/country-posters-map>"}}]},{"bundle":"dashboard-plus-grid","scriptUrl":"./dashboard-plus-grid/dashboard-plus-grid.js","output":"doxa-maps/dashboard-plus-grid/dashboard-plus-grid.js","integrity":"sha384-P0edqxp6+FLOiF2rzzR7Ytmjz3h2fNP6BEgNzWKacqWhD01c0ZWPrVKn44X2JQ8O","elements":["dashboard-plus-grid"],"composes":["research-dashboard","people-groups-grid"],"profiles":[{"profile":"dashboard-plus-grid","file":"dashboard-plus-grid.vue","description":"Both children are IMPORTED DIRECTLY (compiled into this ONE bundle — no runtime bundle","element":"dashboard-plus-grid","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./dashboard-plus-grid/dashboard-plus-grid/index.html","scriptUrl":"./dashboard-plus-grid/dashboard-plus-grid.js","embed":{"iframe":"\u003ciframe src=\"./dashboard-plus-grid/dashboard-plus-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./dashboard-plus-grid/dashboard-plus-grid.js\" integrity=\"sha384-P0edqxp6+FLOiF2rzzR7Ytmjz3h2fNP6BEgNzWKacqWhD01c0ZWPrVKn44X2JQ8O\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdashboard-plus-grid profile-config='{\"profile\":\"dashboard-plus-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/dashboard-plus-grid>"},"instances":[{"id":"default","title":"default","apiBaseUrl":"","props":{"profile":"dashboard-plus-grid"},"element":"dashboard-plus-grid","iframeUrl":"./dashboard-plus-grid/dashboard-plus-grid/default/index.html","embed":{"iframe":"\u003ciframe src=\"./dashboard-plus-grid/dashboard-plus-grid/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"demo-map","scriptUrl":"./demo-map/demo-map.js","output":"doxa-maps/demo-map/demo-map.js","integrity":"sha384-rJKc4nfmyGRg1jLQ0z1oHkdzh327riWrR31KonyK4YCEx12t16lwv6pUFE7qrZ7R","elements":["demo-map"],"profiles":[{"profile":"demo-map","file":"demo-map.vue","description":"Simple two-tab demo map. Tab 1 colors pins by religion (shared","element":"demo-map","type":"parameterized","isMap":true,"iframeUrl":"./demo-map/demo-map/index.html","scriptUrl":"./demo-map/demo-map.js","embed":{"iframe":"\u003ciframe src=\"./demo-map/demo-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./demo-map/demo-map.js\" integrity=\"sha384-rJKc4nfmyGRg1jLQ0z1oHkdzh327riWrR31KonyK4YCEx12t16lwv6pUFE7qrZ7R\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdemo-map profile-config='{\"profile\":\"demo-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/demo-map>"},"instances":[{"id":"maplibre","title":"Demo map — MapLibre (token-free)","apiBaseUrl":"","props":{"profile":"demo-map","provider":"maplibre","instanceId":"demo-maplibre"},"element":"demo-map","iframeUrl":"./demo-map/demo-map/maplibre/index.html","embed":{"iframe":"\u003ciframe src=\"./demo-map/demo-map/maplibre/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"demo-map"}]},{"bundle":"doxa-maps-spa","scriptUrl":"./doxa-maps-spa/doxa-maps-spa.js","output":"doxa-maps/doxa-maps-spa/doxa-maps-spa.js","integrity":"sha384-Ce+DKsLgwfej+rgoWeaWFuMMbR3Y4H+8io/lVL+lQfX0O3iGKwDLf4remDkHGCrP","elements":["doxa-maps-spa"],"composes":["bp-big-picture","doxa-research-map","doxa-simple-map","cities-internet-map","gospel-resources-map","my-upg-100-list-map"],"profiles":[{"profile":"doxa-maps-spa","file":"doxa-maps-spa.vue","description":"The DX-maps app itself: one element whose vertical-tab rail nests every other","element":"doxa-maps-spa","type":"nested-mfe-spa","isMap":false,"iframeUrl":"./doxa-maps-spa/doxa-maps-spa/index.html","scriptUrl":"./doxa-maps-spa/doxa-maps-spa.js","embed":{"iframe":"\u003ciframe src=\"./doxa-maps-spa/doxa-maps-spa/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-maps-spa/doxa-maps-spa.js\" integrity=\"sha384-Ce+DKsLgwfej+rgoWeaWFuMMbR3Y4H+8io/lVL+lQfX0O3iGKwDLf4remDkHGCrP\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-maps-spa profile-config='{\"profile\":\"doxa-maps-spa\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-maps-spa>"},"instances":[{"id":"app","title":"DX-Maps SPA — Big Picture + every research map (app-shell)","apiBaseUrl":"","props":{"profile":"doxa-maps-spa","provider":"maplibre","instanceId":"doxa-maps-spa-app","title":"DX-Maps"},"element":"doxa-maps-spa","iframeUrl":"./doxa-maps-spa/doxa-maps-spa/app/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-maps-spa/doxa-maps-spa/app/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-research-map","scriptUrl":"./doxa-research-map/doxa-research-map.js","output":"doxa-maps/doxa-research-map/doxa-research-map.js","integrity":"sha384-TaralB6CTdy7PGGyPQgxcrhw2GMxWvOB+YVScRguQzTkbmbj3N6Luc78ZNeHzx+R","elements":["doxa-research-map"],"profiles":[{"profile":"research-map","file":"research-map.vue","description":"The researcher's workbench: every piece a missiologist, demographer or","element":"doxa-research-map","type":"monolithic","isMap":true,"iframeUrl":"./doxa-research-map/research-map/index.html","scriptUrl":"./doxa-research-map/doxa-research-map.js","embed":{"iframe":"\u003ciframe src=\"./doxa-research-map/research-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-research-map/doxa-research-map.js\" integrity=\"sha384-TaralB6CTdy7PGGyPQgxcrhw2GMxWvOB+YVScRguQzTkbmbj3N6Luc78ZNeHzx+R\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-research-map profile-config='{\"profile\":\"research-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-research-map>"},"instances":[{"id":"maplibre","title":"Research map — MapLibre (token-free, no search bar)","apiBaseUrl":"","props":{"profile":"research-map","provider":"maplibre","instanceId":"research-map-maplibre"},"element":"doxa-research-map","iframeUrl":"./doxa-research-map/research-map/maplibre/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-research-map/research-map/maplibre/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-simple-map","scriptUrl":"./doxa-simple-map/doxa-simple-map.js","output":"doxa-maps/doxa-simple-map/doxa-simple-map.js","integrity":"sha384-bJZCO07WgqJdkss8wVF2wSfaDUFQqNonFatNPJOvW/9/UK2mlWhTHsic0t6ivz6W","elements":["doxa-map","doxa-simple-map"],"profiles":[{"profile":"doxa-simple-map","file":"doxa-simple-map.vue","description":"The simple world map, shipped as three presets off ONE prop table —","element":"doxa-map","type":"parameterized","isMap":true,"iframeUrl":"./doxa-simple-map/doxa-simple-map/index.html","scriptUrl":"./doxa-simple-map/doxa-simple-map.js","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-simple-map/doxa-simple-map.js\" integrity=\"sha384-bJZCO07WgqJdkss8wVF2wSfaDUFQqNonFatNPJOvW/9/UK2mlWhTHsic0t6ivz6W\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-map profile-config='{\"profile\":\"doxa-simple-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-map>"},"instances":[{"id":"prayer","title":"Prayer Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-prayer","dataSource":"pray-tools","tabs":[{"id":"prayer","colorStrategy":"prayer","legend":"prayer","popup":"prayer"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/prayer/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/prayer/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"engagement","title":"Engagement Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-engagement","dataSource":"pray-tools","tabs":[{"id":"engagement","colorStrategy":"engagement","legend":"engagement","popup":"engagement"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/engagement/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/engagement/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"adoption","title":"Adoption Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-adoption","dataSource":"pray-tools","tabs":[{"id":"adoption","colorStrategy":"adoption","legend":"adoption","popup":"adoption"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/adoption/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/adoption/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-vision-card","scriptUrl":"./doxa-vision-card/doxa-vision-card.js","output":"doxa-maps/doxa-vision-card/doxa-vision-card.js","integrity":"sha384-2mza3cltN5LQQIrlENG/IVL6Icd9zzcFve3E8R8VWuCdYOGW9uGKFvxcbu6eFfwn","elements":["doxa-vision-card"],"profiles":[{"profile":"doxa-vision-card","file":"doxa-vision-card.vue","description":"The Capability-1 example: ONE folder -> ONE bundle -> ONE element.","element":"doxa-vision-card","type":"parameterized","isMap":false,"iframeUrl":"./doxa-vision-card/doxa-vision-card/index.html","scriptUrl":"./doxa-vision-card/doxa-vision-card.js","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-vision-card/doxa-vision-card.js\" integrity=\"sha384-2mza3cltN5LQQIrlENG/IVL6Icd9zzcFve3E8R8VWuCdYOGW9uGKFvxcbu6eFfwn\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-vision-card profile-config='{\"profile\":\"doxa-vision-card\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-vision-card>"},"instances":[{"id":"default","title":"Vision card — reach at a glance","apiBaseUrl":"","props":{"profile":"doxa-vision-card","provider":"maplibre","instanceId":"vision-card-default"},"element":"doxa-vision-card","iframeUrl":"./doxa-vision-card/doxa-vision-card/default/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"frontier","title":"Vision card — frontier accent","apiBaseUrl":"","props":{"profile":"doxa-vision-card","provider":"maplibre","instanceId":"vision-card-frontier","accent":"#22d3ee","title":"The last frontier of the gospel.","tagline":"Frontier people groups — where fewer than one in a thousand follow Jesus.","stats":[{"value":"1,910","label":"Frontier groups","note":"under 0.1% believers"},{"value":"2.1B","label":"People","note":"living in frontier settings"},{"value":"0.1%","label":"Christian","note":"or fewer, in each group"}]},"element":"doxa-vision-card","iframeUrl":"./doxa-vision-card/doxa-vision-card/frontier/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/frontier/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"doxa-vision-card"}]},{"bundle":"golden-path-check","scriptUrl":"./golden-path-check/golden-path-check.js","output":"doxa-maps/golden-path-check/golden-path-check.js","integrity":"sha384-1V/sT5SkV0U9yTCK9ELIOFfU1ZIJkInIF6nG3UllJ4dxax3RsEAupSGLJEFK6e14","elements":["golden-path-check"],"profiles":[{"profile":"golden-path-check","file":"golden-path-check.vue","description":"A live self-test of the develop-a-plugin-and-see-it-live path: it reads the built","element":"golden-path-check","type":"single","isMap":false,"iframeUrl":"./golden-path-check/golden-path-check/index.html","scriptUrl":"./golden-path-check/golden-path-check.js","embed":{"iframe":"\u003ciframe src=\"./golden-path-check/golden-path-check/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./golden-path-check/golden-path-check.js\" integrity=\"sha384-1V/sT5SkV0U9yTCK9ELIOFfU1ZIJkInIF6nG3UllJ4dxax3RsEAupSGLJEFK6e14\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgolden-path-check profile-config='{\"profile\":\"golden-path-check\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/golden-path-check>"}}]},{"bundle":"gospel-resources","scriptUrl":"./gospel-resources/gospel-resources.js","output":"doxa-maps/gospel-resources/gospel-resources.js","integrity":"sha384-VXjJ4Se+3vtAs3dnqQoWelPf88U32RffjhrVy3usV5m9HHm2fL/CfUq2maQVKhzj","elements":["gospel-resources-map"],"profiles":[{"profile":"charts","file":"charts.vue","description":"The gap by LANGUAGE (ISO 639-3) rather than by people group — because one translation serves every","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/charts/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/charts/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-VXjJ4Se+3vtAs3dnqQoWelPf88U32RffjhrVy3usV5m9HHm2fL/CfUq2maQVKhzj\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"charts\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"data-tables","file":"data-tables.vue","description":"Two validated tables: what resources exist per people group, and whether that access is keeping","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/data-tables/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/data-tables/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-VXjJ4Se+3vtAs3dnqQoWelPf88U32RffjhrVy3usV5m9HHm2fL/CfUq2maQVKhzj\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"data-tables\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"resources-list","file":"resources-list.vue","description":"Which DX people groups have scripture in their own language, and which have none. The zero-resource","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/resources-list/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/resources-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-VXjJ4Se+3vtAs3dnqQoWelPf88U32RffjhrVy3usV5m9HHm2fL/CfUq2maQVKhzj\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"resources-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"resources-map","file":"resources-map.vue","description":"Every country shaded by how much of its unengaged population has NO gospel resource in their own","element":"gospel-resources-map","type":"single","isMap":true,"iframeUrl":"./gospel-resources/resources-map/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/resources-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-VXjJ4Se+3vtAs3dnqQoWelPf88U32RffjhrVy3usV5m9HHm2fL/CfUq2maQVKhzj\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"resources-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}}]},{"bundle":"my-upg-100-list","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","output":"doxa-maps/my-upg-100-list/my-upg-100-list.js","integrity":"sha384-FsLKnc68f9jkTo/nVZ4lJ68Yugie7i+BeqoSM0CLiILe7YzlRJOmhZ2HUW0UslBr","elements":["my-upg-100-list-map"],"composes":["my-upg-100-list/upg-100-list","my-upg-100-list/poster-wall"],"profiles":[{"profile":"poster-wall","file":"poster-wall.vue","description":"A wall of printable poster cards, one per 100-list entry, each with a \"Show on map\" action that","element":"my-upg-100-list-map","type":"single","isMap":true,"iframeUrl":"./my-upg-100-list/poster-wall/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/poster-wall/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-FsLKnc68f9jkTo/nVZ4lJ68Yugie7i+BeqoSM0CLiILe7YzlRJOmhZ2HUW0UslBr\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"poster-wall\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}},{"profile":"upg-100-list","file":"upg-100-list.vue","description":"A personal unreached-people-groups list painted as true boundary polygons —","element":"my-upg-100-list-map","type":"single","isMap":true,"iframeUrl":"./my-upg-100-list/upg-100-list/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/upg-100-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-FsLKnc68f9jkTo/nVZ4lJ68Yugie7i+BeqoSM0CLiILe7YzlRJOmhZ2HUW0UslBr\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"upg-100-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}},{"profile":"upg-100-mfe","file":"upg-100-mfe.vue","description":"The standalone, shareable and embeddable composite of the my-upg-100-list family — it nests the map","element":"my-upg-100-list-map","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./my-upg-100-list/upg-100-mfe/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/upg-100-mfe/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-FsLKnc68f9jkTo/nVZ4lJ68Yugie7i+BeqoSM0CLiILe7YzlRJOmhZ2HUW0UslBr\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"upg-100-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}}]},{"bundle":"people-groups-grid","scriptUrl":"./people-groups-grid/people-groups-grid.js","output":"doxa-maps/people-groups-grid/people-groups-grid.js","integrity":"sha384-wyfAzVfoufR5FaDoo3DSivtV33qOexc7PhDYZkXlYmru5FqZgncuUos3nN0kkMJL","elements":["people-groups-grid"],"profiles":[{"profile":"people-groups-grid","file":"people-groups-grid.vue","description":"The people-groups grid as an owned custom element: card list, search and four","element":"people-groups-grid","type":"parameterized","isMap":false,"iframeUrl":"./people-groups-grid/people-groups-grid/index.html","scriptUrl":"./people-groups-grid/people-groups-grid.js","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./people-groups-grid/people-groups-grid.js\" integrity=\"sha384-wyfAzVfoufR5FaDoo3DSivtV33qOexc7PhDYZkXlYmru5FqZgncuUos3nN0kkMJL\" crossorigin=\"anonymous\">\u003c/script>\n\u003cpeople-groups-grid profile-config='{\"profile\":\"people-groups-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/people-groups-grid>"},"instances":[{"id":"people-groups-grid","title":"People Groups Grid — standalone (own search + 4 dropdowns)","apiBaseUrl":"","props":{"profile":"people-groups-grid","provider":"maplibre","instanceId":"people-groups-grid","pray-base-url":"https://pray.doxa.life"},"element":"people-groups-grid","iframeUrl":"./people-groups-grid/people-groups-grid/people-groups-grid/index.html","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/people-groups-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"driven","title":"People Groups Grid — externally driven (controls off, props/events)","apiBaseUrl":"","props":{"profile":"people-groups-grid","provider":"maplibre","instanceId":"people-groups-grid-driven","pray-base-url":"https://pray.doxa.life","show-search":"false","show-filters":"false"},"element":"people-groups-grid","iframeUrl":"./people-groups-grid/people-groups-grid/driven/index.html","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/driven/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"plugin-studio","scriptUrl":"./plugin-studio/plugin-studio.js","output":"doxa-maps/plugin-studio/plugin-studio.js","integrity":"sha384-2RlLFRU2XdjBN7w+FPguj8INgj57JFg4IFT2AmdefGnR9QQLehbiiAffV45LcsFH","elements":["plugin-studio"],"composes":["bp-big-picture","people-groups-grid","doxa-research-map","doxa-simple-map","cities-internet-map","gospel-resources-map","my-upg-100-list-map","doxa-vision-card","all-people-groups","research-dashboard"],"profiles":[{"profile":"plugin-studio","file":"plugin-studio.vue","description":"The developer's viewing surface: a sidebar that is the composability ladder","element":"plugin-studio","type":"nested-mfe-spa","isMap":false,"iframeUrl":"./plugin-studio/plugin-studio/index.html","scriptUrl":"./plugin-studio/plugin-studio.js","embed":{"iframe":"\u003ciframe src=\"./plugin-studio/plugin-studio/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./plugin-studio/plugin-studio.js\" integrity=\"sha384-2RlLFRU2XdjBN7w+FPguj8INgj57JFg4IFT2AmdefGnR9QQLehbiiAffV45LcsFH\" crossorigin=\"anonymous\">\u003c/script>\n\u003cplugin-studio profile-config='{\"profile\":\"plugin-studio\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/plugin-studio>"},"instances":[{"id":"studio","title":"Plugin Studio — every element by capability 5 -> 1 (developer studio)","apiBaseUrl":"","props":{"profile":"plugin-studio","provider":"maplibre","instanceId":"plugin-studio","title":"Plugin Studio"},"element":"plugin-studio","iframeUrl":"./plugin-studio/plugin-studio/studio/index.html","embed":{"iframe":"\u003ciframe src=\"./plugin-studio/plugin-studio/studio/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"prayer-walk-planner","scriptUrl":"./prayer-walk-planner/prayer-walk-planner.js","output":"doxa-maps/prayer-walk-planner/prayer-walk-planner.js","integrity":"sha384-F0+r4avX8xkXp0hBpU5EBPU0InMRCObIn2Ieh9HJNn1r2amk8/qHmJ68WuNfsirC","elements":["prayer-walk-planner"],"profiles":[{"profile":"prayer-walk-planner","file":"prayer-walk-planner.vue","description":"A simple polygon-drawing tool for planning prayer-walking routes.","element":"prayer-walk-planner","type":"single","isMap":true,"iframeUrl":"./prayer-walk-planner/prayer-walk-planner/index.html","scriptUrl":"./prayer-walk-planner/prayer-walk-planner.js","embed":{"iframe":"\u003ciframe src=\"./prayer-walk-planner/prayer-walk-planner/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./prayer-walk-planner/prayer-walk-planner.js\" integrity=\"sha384-F0+r4avX8xkXp0hBpU5EBPU0InMRCObIn2Ieh9HJNn1r2amk8/qHmJ68WuNfsirC\" crossorigin=\"anonymous\">\u003c/script>\n\u003cprayer-walk-planner profile-config='{\"profile\":\"prayer-walk-planner\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/prayer-walk-planner>"}}]},{"bundle":"regions-dashboard","scriptUrl":"./regions-dashboard/regions-dashboard.js","output":"doxa-maps/regions-dashboard/regions-dashboard.js","integrity":"sha384-i4nwGKn5E2cEC5nbLTrIjro7ojM0JfCz51+/dtgQmM7k7G13gyHV/K1WOFYUFbYr","elements":["regions-dashboard"],"composes":["regions-dashboard/regions-list","regions-dashboard/region-dashboards"],"profiles":[{"profile":"region-dashboards","file":"region-dashboards.vue","description":"The dashboard half of the Driver's 2-tab Regions element: given a region (or a","element":"regions-dashboard","type":"single","isMap":true,"iframeUrl":"./regions-dashboard/region-dashboards/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/region-dashboards/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-i4nwGKn5E2cEC5nbLTrIjro7ojM0JfCz51+/dtgQmM7k7G13gyHV/K1WOFYUFbYr\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"region-dashboards\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}},{"profile":"regions-list","file":"regions-list.vue","description":"A refactor of DX-life's /regions index page (app/pages/regions/index.vue) into","element":"regions-dashboard","type":"single","isMap":true,"iframeUrl":"./regions-dashboard/regions-list/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/regions-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-i4nwGKn5E2cEC5nbLTrIjro7ojM0JfCz51+/dtgQmM7k7G13gyHV/K1WOFYUFbYr\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"regions-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}},{"profile":"regions-mfe","file":"regions-mfe.vue","description":"The composite the Driver asked for: ONE element carrying the SELECT VIEW switcher","element":"regions-dashboard","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./regions-dashboard/regions-mfe/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/regions-mfe/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-i4nwGKn5E2cEC5nbLTrIjro7ojM0JfCz51+/dtgQmM7k7G13gyHV/K1WOFYUFbYr\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"regions-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}}]},{"bundle":"research-dashboard","scriptUrl":"./research-dashboard/research-dashboard.js","output":"doxa-maps/research-dashboard/research-dashboard.js","integrity":"sha384-fcOV0Am4svYx+S+fN8NSDa5H9Zyaw2fsJB6rRuH06oQ8aeEIDTLY4I9YlLmbcSlD","elements":["research-dashboard-map"],"profiles":[{"profile":"research-dashboard","file":"research-dashboard.vue","description":"Coordinated-Multiple-Views research dashboard for 10/40-window UPGs (live pray.doxa.life): docked facet rail + map-as-hero + linked table/charts, brushing-and-linking over one in-memory store.","element":"research-dashboard-map","type":"monolithic","isMap":true,"iframeUrl":"./research-dashboard/research-dashboard/index.html","scriptUrl":"./research-dashboard/research-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./research-dashboard/research-dashboard/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./research-dashboard/research-dashboard.js\" integrity=\"sha384-fcOV0Am4svYx+S+fN8NSDa5H9Zyaw2fsJB6rRuH06oQ8aeEIDTLY4I9YlLmbcSlD\" crossorigin=\"anonymous\">\u003c/script>\n\u003cresearch-dashboard-map profile-config='{\"profile\":\"research-dashboard\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/research-dashboard-map>"},"bundle":"research-dashboard"}]},{"bundle":"research-map-plus-grid","scriptUrl":"./research-map-plus-grid/research-map-plus-grid.js","output":"doxa-maps/research-map-plus-grid/research-map-plus-grid.js","integrity":"sha384-sOkaMV0UFr2uNXfoJpRvaD+gHD6xFlkmpR7MzEwwFdarYdid8aN9Nj1Y8TqQJuFo","elements":["research-map-plus-grid"],"composes":["doxa-research-map","people-groups-grid"],"profiles":[{"profile":"research-map-plus-grid","file":"research-map-plus-grid.vue","description":"The monolithic 7-tab research map (cap-3) on top, the People Groups grid beneath,","element":"research-map-plus-grid","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./research-map-plus-grid/research-map-plus-grid/index.html","scriptUrl":"./research-map-plus-grid/research-map-plus-grid.js","embed":{"iframe":"\u003ciframe src=\"./research-map-plus-grid/research-map-plus-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./research-map-plus-grid/research-map-plus-grid.js\" integrity=\"sha384-sOkaMV0UFr2uNXfoJpRvaD+gHD6xFlkmpR7MzEwwFdarYdid8aN9Nj1Y8TqQJuFo\" crossorigin=\"anonymous\">\u003c/script>\n\u003cresearch-map-plus-grid profile-config='{\"profile\":\"research-map-plus-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/research-map-plus-grid>"},"instances":[{"id":"default","title":"default","apiBaseUrl":"","props":{"profile":"research-map-plus-grid"},"element":"research-map-plus-grid","iframeUrl":"./research-map-plus-grid/research-map-plus-grid/default/index.html","embed":{"iframe":"\u003ciframe src=\"./research-map-plus-grid/research-map-plus-grid/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"stack-demo","scriptUrl":"./stack-demo/stack-demo.js","output":"doxa-maps/stack-demo/stack-demo.js","integrity":"sha384-gnwM6s+puf1K60Nl7crQcC2QC+9BxwpkaTx4OepLZ8VUCraZc+aRlWpsb6nj6Gyf","elements":["stack-demo"],"composes":["research-dashboard-map","people-groups-grid"],"profiles":[{"profile":"stack-demo","file":"stack-demo.vue","description":"Groups TWO independent elements TOP-TO-BOTTOM so you can embed the pair on a page and","element":"stack-demo","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./stack-demo/stack-demo/index.html","scriptUrl":"./stack-demo/stack-demo.js","embed":{"iframe":"\u003ciframe src=\"./stack-demo/stack-demo/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./stack-demo/stack-demo.js\" integrity=\"sha384-gnwM6s+puf1K60Nl7crQcC2QC+9BxwpkaTx4OepLZ8VUCraZc+aRlWpsb6nj6Gyf\" crossorigin=\"anonymous\">\u003c/script>\n\u003cstack-demo profile-config='{\"profile\":\"stack-demo\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/stack-demo>"},"instances":[{"id":"pair","title":"pair","apiBaseUrl":"","props":{"profile":"stack-demo"},"element":"stack-demo","iframeUrl":"./stack-demo/stack-demo/pair/index.html","embed":{"iframe":"\u003ciframe src=\"./stack-demo/stack-demo/pair/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"template-bundle","scriptUrl":"./template-bundle/template-bundle.js","output":"doxa-maps/template-bundle/template-bundle.js","integrity":"sha384-L0FkVYzlQATU9b0Ah8f089YyKz29G6Y58/44DkV+TMS5WbpeO2Jq014VzVAmpTMS","elements":["template-bundle"],"profiles":[{"profile":"template-map-a","file":"template-map-a.vue","description":"Minimal example profile A — a colored placeholder, no Mapbox or data.","element":"template-bundle","type":"single","isMap":false,"iframeUrl":"./template-bundle/template-map-a/index.html","scriptUrl":"./template-bundle/template-bundle.js","embed":{"iframe":"\u003ciframe src=\"./template-bundle/template-map-a/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./template-bundle/template-bundle.js\" integrity=\"sha384-L0FkVYzlQATU9b0Ah8f089YyKz29G6Y58/44DkV+TMS5WbpeO2Jq014VzVAmpTMS\" crossorigin=\"anonymous\">\u003c/script>\n\u003ctemplate-bundle profile-config='{\"profile\":\"template-map-a\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/template-bundle>"},"bundle":"template-bundle"},{"profile":"template-map-b","file":"template-map-b.vue","description":"Minimal example profile B — a second profile in the same bundle.","element":"template-bundle","type":"single","isMap":false,"iframeUrl":"./template-bundle/template-map-b/index.html","scriptUrl":"./template-bundle/template-bundle.js","embed":{"iframe":"\u003ciframe src=\"./template-bundle/template-map-b/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./template-bundle/template-bundle.js\" integrity=\"sha384-L0FkVYzlQATU9b0Ah8f089YyKz29G6Y58/44DkV+TMS5WbpeO2Jq014VzVAmpTMS\" crossorigin=\"anonymous\">\u003c/script>\n\u003ctemplate-bundle profile-config='{\"profile\":\"template-map-b\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/template-bundle>"},"bundle":"template-bundle"}]}]}; \n\n" + "script": "\n\n" }, "bundle": "all-people-groups" } @@ -154,7 +154,7 @@ "bundle": "country-posters", "scriptUrl": "./country-posters/country-posters.js", "output": "doxa-maps/country-posters/country-posters.js", - "integrity": "sha384-XVF2t6ecN5IIl9qocMK2FRd96NhAhdT4iO6qth4CpAWjvnzZdh0RYrHpnjuYSxru", + "integrity": "sha384-we0q/Lynt6lZt961TyIob0IYnRlQI+oyOdmK7j2DHpB/FCPaIeYKwmsJPJtGRRoY", "elements": [ "country-posters-map" ], @@ -170,7 +170,7 @@ "scriptUrl": "./country-posters/country-posters.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -184,7 +184,7 @@ "scriptUrl": "./country-posters/country-posters.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } } ] @@ -193,7 +193,7 @@ "bundle": "dashboard-plus-grid", "scriptUrl": "./dashboard-plus-grid/dashboard-plus-grid.js", "output": "doxa-maps/dashboard-plus-grid/dashboard-plus-grid.js", - "integrity": "sha384-Ba+P2cFNlunEDgs+vOBLJraFBOD+Pw7snZJYzWB1pNErHHapOPZj20/xyRa1omZ6", + "integrity": "sha384-P0edqxp6+FLOiF2rzzR7Ytmjz3h2fNP6BEgNzWKacqWhD01c0ZWPrVKn44X2JQ8O", "elements": [ "dashboard-plus-grid" ], @@ -213,7 +213,7 @@ "scriptUrl": "./dashboard-plus-grid/dashboard-plus-grid.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" }, "instances": [ { @@ -237,7 +237,7 @@ "bundle": "demo-map", "scriptUrl": "./demo-map/demo-map.js", "output": "doxa-maps/demo-map/demo-map.js", - "integrity": "sha384-V2YEXG4I8H76LdmFUKxZexTh5LV+7uPhUsxWqvVcX1Lq8WNbwO/a/E3h7pOlMTMY", + "integrity": "sha384-rJKc4nfmyGRg1jLQ0z1oHkdzh327riWrR31KonyK4YCEx12t16lwv6pUFE7qrZ7R", "elements": [ "demo-map" ], @@ -253,7 +253,7 @@ "scriptUrl": "./demo-map/demo-map.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" }, "instances": [ { @@ -331,7 +331,7 @@ "bundle": "doxa-research-map", "scriptUrl": "./doxa-research-map/doxa-research-map.js", "output": "doxa-maps/doxa-research-map/doxa-research-map.js", - "integrity": "sha384-wPisP4Zwa8acLC/C/bg6n3TXcsmuL1ct2ovDvXtGUFuDiJWLB4zgXuzQMajKHeoV", + "integrity": "sha384-TaralB6CTdy7PGGyPQgxcrhw2GMxWvOB+YVScRguQzTkbmbj3N6Luc78ZNeHzx+R", "elements": [ "doxa-research-map" ], @@ -347,7 +347,7 @@ "scriptUrl": "./doxa-research-map/doxa-research-map.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" }, "instances": [ { @@ -373,7 +373,7 @@ "bundle": "doxa-simple-map", "scriptUrl": "./doxa-simple-map/doxa-simple-map.js", "output": "doxa-maps/doxa-simple-map/doxa-simple-map.js", - "integrity": "sha384-S0p0NMpR43h6c4L9RvWRr3GqaLSJ3x0q9wGHu2LSWYKY8E9aE/qglSto1L45Q3eC", + "integrity": "sha384-bJZCO07WgqJdkss8wVF2wSfaDUFQqNonFatNPJOvW/9/UK2mlWhTHsic0t6ivz6W", "elements": [ "doxa-map", "doxa-simple-map" @@ -390,7 +390,7 @@ "scriptUrl": "./doxa-simple-map/doxa-simple-map.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" }, "instances": [ { @@ -813,7 +813,7 @@ "bundle": "prayer-walk-planner", "scriptUrl": "./prayer-walk-planner/prayer-walk-planner.js", "output": "doxa-maps/prayer-walk-planner/prayer-walk-planner.js", - "integrity": "sha384-7jWlo1ERAkJVmIj2zvbUfDXHANMfT5MolW1AV6ex76fxP0rll9PgtoK8CH876uYH", + "integrity": "sha384-F0+r4avX8xkXp0hBpU5EBPU0InMRCObIn2Ieh9HJNn1r2amk8/qHmJ68WuNfsirC", "elements": [ "prayer-walk-planner" ], @@ -829,7 +829,7 @@ "scriptUrl": "./prayer-walk-planner/prayer-walk-planner.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } } ] @@ -838,7 +838,7 @@ "bundle": "regions-dashboard", "scriptUrl": "./regions-dashboard/regions-dashboard.js", "output": "doxa-maps/regions-dashboard/regions-dashboard.js", - "integrity": "sha384-1kO4NXVmgGZNazhhoYUveT739kCaFlWrJOPBdQYVtpZnwV7ueGo0iRzg6y4Cgtik", + "integrity": "sha384-i4nwGKn5E2cEC5nbLTrIjro7ojM0JfCz51+/dtgQmM7k7G13gyHV/K1WOFYUFbYr", "elements": [ "regions-dashboard" ], @@ -858,7 +858,7 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -872,7 +872,7 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -886,7 +886,7 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } } ] @@ -895,7 +895,7 @@ "bundle": "research-dashboard", "scriptUrl": "./research-dashboard/research-dashboard.js", "output": "doxa-maps/research-dashboard/research-dashboard.js", - "integrity": "sha384-K8I36S+jJvwOmnJ4Zoulz8T+4fFF1X4hg2Pu8BCNkBjtbgK8eEmIhBsQi7KZQS9V", + "integrity": "sha384-fcOV0Am4svYx+S+fN8NSDa5H9Zyaw2fsJB6rRuH06oQ8aeEIDTLY4I9YlLmbcSlD", "elements": [ "research-dashboard-map" ], @@ -911,7 +911,7 @@ "scriptUrl": "./research-dashboard/research-dashboard.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" }, "bundle": "research-dashboard" } diff --git a/public/doxa-maps/prayer-walk-planner/prayer-walk-planner.js b/public/doxa-maps/prayer-walk-planner/prayer-walk-planner.js index 6a80ba322..2666fe4a1 100644 --- a/public/doxa-maps/prayer-walk-planner/prayer-walk-planner.js +++ b/public/doxa-maps/prayer-walk-planner/prayer-walk-planner.js @@ -2,19 +2,19 @@ * @vue/shared v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function Cn(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const q={},gt=[],Oe=()=>{},ys=()=>!1,Jt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Zt=e=>e.startsWith("onUpdate:"),ee=Object.assign,Tn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},vo=Object.prototype.hasOwnProperty,V=(e,t)=>vo.call(e,t),F=Array.isArray,tt=e=>Et(e)==="[object Map]",Xt=e=>Et(e)==="[object Set]",_s=e=>Et(e)==="[object Date]",k=e=>typeof e=="function",Z=e=>typeof e=="string",Re=e=>typeof e=="symbol",G=e=>e!==null&&typeof e=="object",vs=e=>(G(e)||k(e))&&k(e.then)&&k(e.catch),ws=Object.prototype.toString,Et=e=>ws.call(e),wo=e=>Et(e).slice(8,-1),Qt=e=>Et(e)==="[object Object]",An=e=>Z(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ct=Cn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),en=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},xo=/-\w/g,he=en(e=>e.replace(xo,t=>t.slice(1).toUpperCase())),So=/\B([A-Z])/g,ye=en(e=>e.replace(So,"-$1").toLowerCase()),xs=en(e=>e.charAt(0).toUpperCase()+e.slice(1)),Mn=en(e=>e?`on${xs(e)}`:""),Le=(e,t)=>!Object.is(e,t),On=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Po=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ps=e=>{const t=Z(e)?Number(e):NaN;return isNaN(t)?e:t};let Es;const tn=()=>Es||(Es=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Rn(e){if(F(e)){const t={};for(let n=0;n{if(n){const s=n.split(Co);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Tt(e){let t="";if(Z(e))t=e;else if(F(e))for(let n=0;n!!(e&&e.__v_isRef===!0),lt=e=>Z(e)?e:e==null?"":F(e)||G(e)&&(e.toString===ws||!k(e.toString))?As(e)?lt(e.value):JSON.stringify(e,Ms,2):String(e),Ms=(e,t)=>As(t)?Ms(e,t.value):tt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i],o)=>(n[Ln(s,o)+" =>"]=i,n),{})}:Xt(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ln(n))}:Re(t)?Ln(t):G(t)&&!F(t)&&!Qt(t)?String(t):t,Ln=(e,t="")=>{var n;return Re(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +**/function Cn(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const q={},mt=[],Oe=()=>{},ys=()=>!1,Jt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Zt=e=>e.startsWith("onUpdate:"),ee=Object.assign,Tn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},vo=Object.prototype.hasOwnProperty,V=(e,t)=>vo.call(e,t),F=Array.isArray,tt=e=>Ct(e)==="[object Map]",Xt=e=>Ct(e)==="[object Set]",_s=e=>Ct(e)==="[object Date]",k=e=>typeof e=="function",Z=e=>typeof e=="string",Re=e=>typeof e=="symbol",G=e=>e!==null&&typeof e=="object",vs=e=>(G(e)||k(e))&&k(e.then)&&k(e.catch),ws=Object.prototype.toString,Ct=e=>ws.call(e),wo=e=>Ct(e).slice(8,-1),Qt=e=>Ct(e)==="[object Object]",An=e=>Z(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Tt=Cn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),en=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},xo=/-\w/g,ge=en(e=>e.replace(xo,t=>t.slice(1).toUpperCase())),So=/\B([A-Z])/g,ve=en(e=>e.replace(So,"-$1").toLowerCase()),xs=en(e=>e.charAt(0).toUpperCase()+e.slice(1)),Mn=en(e=>e?`on${xs(e)}`:""),Le=(e,t)=>!Object.is(e,t),On=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Po=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ps=e=>{const t=Z(e)?Number(e):NaN;return isNaN(t)?e:t};let Es;const tn=()=>Es||(Es=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Rn(e){if(F(e)){const t={};for(let n=0;n{if(n){const s=n.split(Co);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function At(e){let t="";if(Z(e))t=e;else if(F(e))for(let n=0;n!!(e&&e.__v_isRef===!0),ct=e=>Z(e)?e:e==null?"":F(e)||G(e)&&(e.toString===ws||!k(e.toString))?As(e)?ct(e.value):JSON.stringify(e,Ms,2):String(e),Ms=(e,t)=>As(t)?Ms(e,t.value):tt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i],o)=>(n[Ln(s,o)+" =>"]=i,n),{})}:Xt(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ln(n))}:Re(t)?Ln(t):G(t)&&!F(t)&&!Qt(t)?String(t):t,Ln=(e,t="")=>{var n;return Re(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let ie;class Ro{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&&ie&&(ie.active?(this.parent=ie,this.index=(ie.scopes||(ie.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const s=this.scopes.slice();for(t=0,n=s.length;t0&&--this._on===0){if(ie===this)ie=this.prevScope;else{let t=ie;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n0)return;if(Mt){let t=Mt;for(Mt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;At;){let t=At;for(At=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Is(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Fs(e){let t,n=e.depsTail,s=n;for(;s;){const i=s.prevDep;s.version===-1?(s===n&&(n=i),Nn(s),Io(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=i}e.deps=t,e.depsTail=n}function Dn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ks(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ks(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ot)||(e.globalVersion=Ot,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Dn(e))))return;e.flags|=2;const t=e.dep,n=Y,s=Ce;Y=e,Ce=!0;try{Is(e);const i=e.fn(e._value);(t.version===0||Le(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{Y=n,Ce=s,Fs(e),e.flags&=-3}}function Nn(e,t=!1){const{dep:n,prevSub:s,nextSub:i}=e;if(s&&(s.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Nn(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Io(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ce=!0;const Ds=[];function Ie(){Ds.push(Ce),Ce=!1}function Fe(){const e=Ds.pop();Ce=e===void 0?!0:e}function Ns(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Y;Y=void 0;try{t()}finally{Y=n}}}let Ot=0;class Fo{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class jn{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(!Y||!Ce||Y===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Y)n=this.activeLink=new Fo(Y,this),Y.deps?(n.prevDep=Y.depsTail,Y.depsTail.nextDep=n,Y.depsTail=n):Y.deps=Y.depsTail=n,js(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=Y.depsTail,n.nextDep=void 0,Y.depsTail.nextDep=n,Y.depsTail=n,Y.deps===n&&(Y.deps=s)}return n}trigger(t){this.version++,Ot++,this.notify(t)}notify(t){Fn();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{kn()}}}function js(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)js(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const $n=new WeakMap,ct=Symbol(""),Hn=Symbol(""),Rt=Symbol("");function re(e,t,n){if(Ce&&Y){let s=$n.get(e);s||$n.set(e,s=new Map);let i=s.get(n);i||(s.set(n,i=new jn),i.map=s,i.key=n),i.track()}}function ze(e,t,n,s,i,o){const r=$n.get(e);if(!r){Ot++;return}const l=c=>{c&&c.trigger()};if(Fn(),t==="clear")r.forEach(l);else{const c=F(e),h=c&&An(n);if(c&&n==="length"){const d=Number(s);r.forEach((y,S)=>{(S==="length"||S===Rt||!Re(S)&&S>=d)&&l(y)})}else switch((n!==void 0||r.has(void 0))&&l(r.get(n)),h&&l(r.get(Rt)),t){case"add":c?h&&l(r.get("length")):(l(r.get(ct)),tt(e)&&l(r.get(Hn)));break;case"delete":c||(l(r.get(ct)),tt(e)&&l(r.get(Hn)));break;case"set":tt(e)&&l(r.get(ct));break}}kn()}function mt(e){const t=K(e);return t===e?t:(re(t,"iterate",Rt),Pe(e)?t:t.map(Te))}function sn(e){return re(e=K(e),"iterate",Rt),e}function ke(e,t){return qe(e)?bt(at(e)?Te(t):t):Te(t)}const ko={__proto__:null,[Symbol.iterator](){return Wn(this,Symbol.iterator,e=>ke(this,e))},concat(...e){return mt(this).concat(...e.map(t=>F(t)?mt(t):t))},entries(){return Wn(this,"entries",e=>(e[1]=ke(this,e[1]),e))},every(e,t){return Ge(this,"every",e,t,void 0,arguments)},filter(e,t){return Ge(this,"filter",e,t,n=>n.map(s=>ke(this,s)),arguments)},find(e,t){return Ge(this,"find",e,t,n=>ke(this,n),arguments)},findIndex(e,t){return Ge(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ge(this,"findLast",e,t,n=>ke(this,n),arguments)},findLastIndex(e,t){return Ge(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ge(this,"forEach",e,t,void 0,arguments)},includes(...e){return Kn(this,"includes",e)},indexOf(...e){return Kn(this,"indexOf",e)},join(e){return mt(this).join(e)},lastIndexOf(...e){return Kn(this,"lastIndexOf",e)},map(e,t){return Ge(this,"map",e,t,void 0,arguments)},pop(){return Lt(this,"pop")},push(...e){return Lt(this,"push",e)},reduce(e,...t){return $s(this,"reduce",e,t)},reduceRight(e,...t){return $s(this,"reduceRight",e,t)},shift(){return Lt(this,"shift")},some(e,t){return Ge(this,"some",e,t,void 0,arguments)},splice(...e){return Lt(this,"splice",e)},toReversed(){return mt(this).toReversed()},toSorted(e){return mt(this).toSorted(e)},toSpliced(...e){return mt(this).toSpliced(...e)},unshift(...e){return Lt(this,"unshift",e)},values(){return Wn(this,"values",e=>ke(this,e))}};function Wn(e,t,n){const s=sn(e),i=s[t]();return s!==e&&!Pe(e)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.done||(o.value=n(o.value)),o}),i}const Do=Array.prototype;function Ge(e,t,n,s,i,o){const r=sn(e),l=r!==e&&!Pe(e),c=r[t];if(c!==Do[t]){const y=c.apply(e,o);return l?Te(y):y}let h=n;r!==e&&(l?h=function(y,S){return n.call(this,ke(e,y),S,e)}:n.length>2&&(h=function(y,S){return n.call(this,y,S,e)}));const d=c.call(r,h,s);return l&&i?i(d):d}function $s(e,t,n,s){const i=sn(e),o=i!==e&&!Pe(e);let r=n,l=!1;i!==e&&(o?(l=s.length===0,r=function(h,d,y){return l&&(l=!1,h=ke(e,h)),n.call(this,h,ke(e,d),y,e)}):n.length>3&&(r=function(h,d,y){return n.call(this,h,d,y,e)}));const c=i[t](r,...s);return l?ke(e,c):c}function Kn(e,t,n){const s=K(e);re(s,"iterate",Rt);const i=s[t](...n);return(i===-1||i===!1)&&Bn(n[0])?(n[0]=K(n[0]),s[t](...n)):i}function Lt(e,t,n=[]){Ie(),Fn();const s=K(e)[t].apply(e,n);return kn(),Fe(),s}const No=Cn("__proto__,__v_isRef,__isVue"),Hs=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Re));function jo(e){Re(e)||(e=String(e));const t=K(this);return re(t,"has",e),t.hasOwnProperty(e)}class Ws{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(i?o?Gs:zs:o?Bs:Vs).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const r=F(t);if(!i){let c;if(r&&(c=ko[n]))return c;if(n==="hasOwnProperty")return jo}const l=Reflect.get(t,n,oe(t)?t:s);if((Re(n)?Hs.has(n):No(n))||(i||re(t,"get",n),o))return l;if(oe(l)){const c=r&&An(n)?l:l.value;return i&&G(c)?Vn(c):c}return G(l)?i?Vn(l):cn(l):l}}class Ks extends Ws{constructor(t=!1){super(!1,t)}set(t,n,s,i){let o=t[n];const r=F(t)&&An(n);if(!this._isShallow){const h=qe(o);if(!Pe(s)&&!qe(s)&&(o=K(o),s=K(s)),!r&&oe(o)&&!oe(s))return h||(o.value=s),!0}const l=r?Number(n)e,on=e=>Reflect.getPrototypeOf(e);function Uo(e,t,n){return function(...s){const i=this.__v_raw,o=K(i),r=tt(o),l=e==="entries"||e===Symbol.iterator&&r,c=e==="keys"&&r,h=i[e](...s),d=n?Un:t?bt:Te;return!t&&re(o,"iterate",c?Hn:ct),ee(Object.create(h),{next(){const{value:y,done:S}=h.next();return S?{value:y,done:S}:{value:l?[d(y[0]),d(y[1])]:d(y),done:S}}})}}function rn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Vo(e,t){const n={get(i){const o=this.__v_raw,r=K(o),l=K(i);e||(Le(i,l)&&re(r,"get",i),re(r,"get",l));const{has:c}=on(r),h=t?Un:e?bt:Te;if(c.call(r,i))return h(o.get(i));if(c.call(r,l))return h(o.get(l));o!==r&&o.get(i)},get size(){const i=this.__v_raw;return!e&&re(K(i),"iterate",ct),i.size},has(i){const o=this.__v_raw,r=K(o),l=K(i);return e||(Le(i,l)&&re(r,"has",i),re(r,"has",l)),i===l?o.has(i):o.has(i)||o.has(l)},forEach(i,o){const r=this,l=r.__v_raw,c=K(l),h=t?Un:e?bt:Te;return!e&&re(c,"iterate",ct),l.forEach((d,y)=>i.call(o,h(d),h(y),r))}};return ee(n,e?{add:rn("add"),set:rn("set"),delete:rn("delete"),clear:rn("clear")}:{add(i){const o=K(this),r=on(o),l=K(i),c=!t&&!Pe(i)&&!qe(i)?l:i;return r.has.call(o,c)||Le(i,c)&&r.has.call(o,i)||Le(l,c)&&r.has.call(o,l)||(o.add(c),ze(o,"add",c,c)),this},set(i,o){!t&&!Pe(o)&&!qe(o)&&(o=K(o));const r=K(this),{has:l,get:c}=on(r);let h=l.call(r,i);h||(i=K(i),h=l.call(r,i));const d=c.call(r,i);return r.set(i,o),h?Le(o,d)&&ze(r,"set",i,o):ze(r,"add",i,o),this},delete(i){const o=K(this),{has:r,get:l}=on(o);let c=r.call(o,i);c||(i=K(i),c=r.call(o,i)),l&&l.call(o,i);const h=o.delete(i);return c&&ze(o,"delete",i,void 0),h},clear(){const i=K(this),o=i.size!==0,r=i.clear();return o&&ze(i,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Uo(i,e,t)}),n}function ln(e,t){const n=Vo(e,t);return(s,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(V(n,i)&&i in s?n:s,i,o)}const Bo={get:ln(!1,!1)},zo={get:ln(!1,!0)},Go={get:ln(!0,!1)},qo={get:ln(!0,!0)},Vs=new WeakMap,Bs=new WeakMap,zs=new WeakMap,Gs=new WeakMap;function Yo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function cn(e){return qe(e)?e:an(e,!1,$o,Bo,Vs)}function Jo(e){return an(e,!1,Wo,zo,Bs)}function Vn(e){return an(e,!0,Ho,Go,zs)}function Wc(e){return an(e,!0,Ko,qo,Gs)}function an(e,t,n,s,i){if(!G(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const o=i.get(e);if(o)return o;const r=Yo(wo(e));if(r===0)return e;const l=new Proxy(e,r===2?s:n);return i.set(e,l),l}function at(e){return qe(e)?at(e.__v_raw):!!(e&&e.__v_isReactive)}function qe(e){return!!(e&&e.__v_isReadonly)}function Pe(e){return!!(e&&e.__v_isShallow)}function Bn(e){return e?!!e.__v_raw:!1}function K(e){const t=e&&e.__v_raw;return t?K(t):e}function Zo(e){return!V(e,"__v_skip")&&Object.isExtensible(e)&&Ss(e,"__v_skip",!0),e}const Te=e=>G(e)?cn(e):e,bt=e=>G(e)?Vn(e):e;function oe(e){return e?e.__v_isRef===!0:!1}function yt(e){return qs(e,!1)}function Xo(e){return qs(e,!0)}function qs(e,t){return oe(e)?e:new Qo(e,t)}class Qo{constructor(t,n){this.dep=new jn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:K(t),this._value=n?t:Te(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Pe(t)||qe(t);t=s?t:K(t),Le(t,n)&&(this._rawValue=t,this._value=s?t:Te(t),this.dep.trigger())}}function Ys(e){return oe(e)?e.value:e}const er={get:(e,t,n)=>t==="__v_raw"?e:Ys(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return oe(i)&&!oe(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function Js(e){return at(e)?e:new Proxy(e,er)}class tr{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new jn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ot-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Y!==this)return Ls(this,!0),!0}get value(){const t=this.dep.track();return ks(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function nr(e,t,n=!1){let s,i;return k(e)?s=e:(s=e.get,i=e.set),new tr(s,i,n)}const fn={},un=new WeakMap;let ft;function sr(e,t=!1,n=ft){if(n){let s=un.get(n);s||un.set(n,s=[]),s.push(e)}}function ir(e,t,n=q){const{immediate:s,deep:i,once:o,scheduler:r,augmentJob:l,call:c}=n,h=T=>i?T:Pe(T)||i===!1||i===0?nt(T,1):nt(T);let d,y,S,E,C=!1,R=!1;if(oe(e)?(y=()=>e.value,C=Pe(e)):at(e)?(y=()=>h(e),C=!0):F(e)?(R=!0,C=e.some(T=>at(T)||Pe(T)),y=()=>e.map(T=>{if(oe(T))return T.value;if(at(T))return h(T);if(k(T))return c?c(T,2):T()})):k(e)?t?y=c?()=>c(e,2):e:y=()=>{if(S){Ie();try{S()}finally{Fe()}}const T=ft;ft=d;try{return c?c(e,3,[E]):e(E)}finally{ft=T}}:y=Oe,t&&i){const T=y,j=i===!0?1/0:i;y=()=>nt(T(),j)}const L=Lo(),$=()=>{d.stop(),L&&L.active&&Tn(L.effects,d)};if(o&&t){const T=t;t=(...j)=>{const Q=T(...j);return $(),Q}}let _=R?new Array(e.length).fill(fn):fn;const I=T=>{if(!(!(d.flags&1)||!d.dirty&&!T))if(t){const j=d.run();if(T||i||C||(R?j.some((Q,le)=>Le(Q,_[le])):Le(j,_))){S&&S();const Q=ft;ft=d;try{const le=[j,_===fn?void 0:R&&_[0]===fn?[]:_,E];_=j,c?c(t,3,le):t(...le)}finally{ft=Q}}}else d.run()};return l&&l(I),d=new Os(y),d.scheduler=r?()=>r(I,!1):I,E=T=>sr(T,!1,d),S=d.onStop=()=>{const T=un.get(d);if(T){if(c)c(T,4);else for(const j of T)j();un.delete(d)}},t?s?I(!0):_=d.run():r?r(I.bind(null,!0),!0):d.run(),$.pause=d.pause.bind(d),$.resume=d.resume.bind(d),$.stop=$,$}function nt(e,t=1/0,n){if(t<=0||!G(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,oe(e))nt(e.value,t,n);else if(F(e))for(let s=0;s{nt(s,t,n)});else if(Qt(e)){for(const s in e)nt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&nt(e[s],t,n)}return e}/** +**/let ie;class Ro{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&&ie&&(ie.active?(this.parent=ie,this.index=(ie.scopes||(ie.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const s=this.scopes.slice();for(t=0,n=s.length;t0&&--this._on===0){if(ie===this)ie=this.prevScope;else{let t=ie;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n0)return;if(Ot){let t=Ot;for(Ot=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Mt;){let t=Mt;for(Mt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Is(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Fs(e){let t,n=e.depsTail,s=n;for(;s;){const i=s.prevDep;s.version===-1?(s===n&&(n=i),Nn(s),Io(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=i}e.deps=t,e.depsTail=n}function Dn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ks(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ks(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Rt)||(e.globalVersion=Rt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Dn(e))))return;e.flags|=2;const t=e.dep,n=Y,s=Te;Y=e,Te=!0;try{Is(e);const i=e.fn(e._value);(t.version===0||Le(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{Y=n,Te=s,Fs(e),e.flags&=-3}}function Nn(e,t=!1){const{dep:n,prevSub:s,nextSub:i}=e;if(s&&(s.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Nn(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Io(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Te=!0;const Ds=[];function Ie(){Ds.push(Te),Te=!1}function Fe(){const e=Ds.pop();Te=e===void 0?!0:e}function Ns(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Y;Y=void 0;try{t()}finally{Y=n}}}let Rt=0;class Fo{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class jn{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(!Y||!Te||Y===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Y)n=this.activeLink=new Fo(Y,this),Y.deps?(n.prevDep=Y.depsTail,Y.depsTail.nextDep=n,Y.depsTail=n):Y.deps=Y.depsTail=n,js(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=Y.depsTail,n.nextDep=void 0,Y.depsTail.nextDep=n,Y.depsTail=n,Y.deps===n&&(Y.deps=s)}return n}trigger(t){this.version++,Rt++,this.notify(t)}notify(t){Fn();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{kn()}}}function js(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)js(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const $n=new WeakMap,at=Symbol(""),Hn=Symbol(""),Lt=Symbol("");function re(e,t,n){if(Te&&Y){let s=$n.get(e);s||$n.set(e,s=new Map);let i=s.get(n);i||(s.set(n,i=new jn),i.map=s,i.key=n),i.track()}}function Ge(e,t,n,s,i,o){const r=$n.get(e);if(!r){Rt++;return}const l=c=>{c&&c.trigger()};if(Fn(),t==="clear")r.forEach(l);else{const c=F(e),h=c&&An(n);if(c&&n==="length"){const d=Number(s);r.forEach((y,S)=>{(S==="length"||S===Lt||!Re(S)&&S>=d)&&l(y)})}else switch((n!==void 0||r.has(void 0))&&l(r.get(n)),h&&l(r.get(Lt)),t){case"add":c?h&&l(r.get("length")):(l(r.get(at)),tt(e)&&l(r.get(Hn)));break;case"delete":c||(l(r.get(at)),tt(e)&&l(r.get(Hn)));break;case"set":tt(e)&&l(r.get(at));break}}kn()}function bt(e){const t=K(e);return t===e?t:(re(t,"iterate",Lt),Ee(e)?t:t.map(Ae))}function sn(e){return re(e=K(e),"iterate",Lt),e}function ke(e,t){return Ye(e)?yt(ft(e)?Ae(t):t):Ae(t)}const ko={__proto__:null,[Symbol.iterator](){return Wn(this,Symbol.iterator,e=>ke(this,e))},concat(...e){return bt(this).concat(...e.map(t=>F(t)?bt(t):t))},entries(){return Wn(this,"entries",e=>(e[1]=ke(this,e[1]),e))},every(e,t){return qe(this,"every",e,t,void 0,arguments)},filter(e,t){return qe(this,"filter",e,t,n=>n.map(s=>ke(this,s)),arguments)},find(e,t){return qe(this,"find",e,t,n=>ke(this,n),arguments)},findIndex(e,t){return qe(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return qe(this,"findLast",e,t,n=>ke(this,n),arguments)},findLastIndex(e,t){return qe(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return qe(this,"forEach",e,t,void 0,arguments)},includes(...e){return Kn(this,"includes",e)},indexOf(...e){return Kn(this,"indexOf",e)},join(e){return bt(this).join(e)},lastIndexOf(...e){return Kn(this,"lastIndexOf",e)},map(e,t){return qe(this,"map",e,t,void 0,arguments)},pop(){return It(this,"pop")},push(...e){return It(this,"push",e)},reduce(e,...t){return $s(this,"reduce",e,t)},reduceRight(e,...t){return $s(this,"reduceRight",e,t)},shift(){return It(this,"shift")},some(e,t){return qe(this,"some",e,t,void 0,arguments)},splice(...e){return It(this,"splice",e)},toReversed(){return bt(this).toReversed()},toSorted(e){return bt(this).toSorted(e)},toSpliced(...e){return bt(this).toSpliced(...e)},unshift(...e){return It(this,"unshift",e)},values(){return Wn(this,"values",e=>ke(this,e))}};function Wn(e,t,n){const s=sn(e),i=s[t]();return s!==e&&!Ee(e)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.done||(o.value=n(o.value)),o}),i}const Do=Array.prototype;function qe(e,t,n,s,i,o){const r=sn(e),l=r!==e&&!Ee(e),c=r[t];if(c!==Do[t]){const y=c.apply(e,o);return l?Ae(y):y}let h=n;r!==e&&(l?h=function(y,S){return n.call(this,ke(e,y),S,e)}:n.length>2&&(h=function(y,S){return n.call(this,y,S,e)}));const d=c.call(r,h,s);return l&&i?i(d):d}function $s(e,t,n,s){const i=sn(e),o=i!==e&&!Ee(e);let r=n,l=!1;i!==e&&(o?(l=s.length===0,r=function(h,d,y){return l&&(l=!1,h=ke(e,h)),n.call(this,h,ke(e,d),y,e)}):n.length>3&&(r=function(h,d,y){return n.call(this,h,d,y,e)}));const c=i[t](r,...s);return l?ke(e,c):c}function Kn(e,t,n){const s=K(e);re(s,"iterate",Lt);const i=s[t](...n);return(i===-1||i===!1)&&Bn(n[0])?(n[0]=K(n[0]),s[t](...n)):i}function It(e,t,n=[]){Ie(),Fn();const s=K(e)[t].apply(e,n);return kn(),Fe(),s}const No=Cn("__proto__,__v_isRef,__isVue"),Hs=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Re));function jo(e){Re(e)||(e=String(e));const t=K(this);return re(t,"has",e),t.hasOwnProperty(e)}class Ws{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(i?o?Gs:zs:o?Bs:Vs).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const r=F(t);if(!i){let c;if(r&&(c=ko[n]))return c;if(n==="hasOwnProperty")return jo}const l=Reflect.get(t,n,oe(t)?t:s);if((Re(n)?Hs.has(n):No(n))||(i||re(t,"get",n),o))return l;if(oe(l)){const c=r&&An(n)?l:l.value;return i&&G(c)?Vn(c):c}return G(l)?i?Vn(l):cn(l):l}}class Ks extends Ws{constructor(t=!1){super(!1,t)}set(t,n,s,i){let o=t[n];const r=F(t)&&An(n);if(!this._isShallow){const h=Ye(o);if(!Ee(s)&&!Ye(s)&&(o=K(o),s=K(s)),!r&&oe(o)&&!oe(s))return h||(o.value=s),!0}const l=r?Number(n)e,on=e=>Reflect.getPrototypeOf(e);function Uo(e,t,n){return function(...s){const i=this.__v_raw,o=K(i),r=tt(o),l=e==="entries"||e===Symbol.iterator&&r,c=e==="keys"&&r,h=i[e](...s),d=n?Un:t?yt:Ae;return!t&&re(o,"iterate",c?Hn:at),ee(Object.create(h),{next(){const{value:y,done:S}=h.next();return S?{value:y,done:S}:{value:l?[d(y[0]),d(y[1])]:d(y),done:S}}})}}function rn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Vo(e,t){const n={get(i){const o=this.__v_raw,r=K(o),l=K(i);e||(Le(i,l)&&re(r,"get",i),re(r,"get",l));const{has:c}=on(r),h=t?Un:e?yt:Ae;if(c.call(r,i))return h(o.get(i));if(c.call(r,l))return h(o.get(l));o!==r&&o.get(i)},get size(){const i=this.__v_raw;return!e&&re(K(i),"iterate",at),i.size},has(i){const o=this.__v_raw,r=K(o),l=K(i);return e||(Le(i,l)&&re(r,"has",i),re(r,"has",l)),i===l?o.has(i):o.has(i)||o.has(l)},forEach(i,o){const r=this,l=r.__v_raw,c=K(l),h=t?Un:e?yt:Ae;return!e&&re(c,"iterate",at),l.forEach((d,y)=>i.call(o,h(d),h(y),r))}};return ee(n,e?{add:rn("add"),set:rn("set"),delete:rn("delete"),clear:rn("clear")}:{add(i){const o=K(this),r=on(o),l=K(i),c=!t&&!Ee(i)&&!Ye(i)?l:i;return r.has.call(o,c)||Le(i,c)&&r.has.call(o,i)||Le(l,c)&&r.has.call(o,l)||(o.add(c),Ge(o,"add",c,c)),this},set(i,o){!t&&!Ee(o)&&!Ye(o)&&(o=K(o));const r=K(this),{has:l,get:c}=on(r);let h=l.call(r,i);h||(i=K(i),h=l.call(r,i));const d=c.call(r,i);return r.set(i,o),h?Le(o,d)&&Ge(r,"set",i,o):Ge(r,"add",i,o),this},delete(i){const o=K(this),{has:r,get:l}=on(o);let c=r.call(o,i);c||(i=K(i),c=r.call(o,i)),l&&l.call(o,i);const h=o.delete(i);return c&&Ge(o,"delete",i,void 0),h},clear(){const i=K(this),o=i.size!==0,r=i.clear();return o&&Ge(i,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Uo(i,e,t)}),n}function ln(e,t){const n=Vo(e,t);return(s,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(V(n,i)&&i in s?n:s,i,o)}const Bo={get:ln(!1,!1)},zo={get:ln(!1,!0)},Go={get:ln(!0,!1)},qo={get:ln(!0,!0)},Vs=new WeakMap,Bs=new WeakMap,zs=new WeakMap,Gs=new WeakMap;function Yo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function cn(e){return Ye(e)?e:an(e,!1,$o,Bo,Vs)}function Jo(e){return an(e,!1,Wo,zo,Bs)}function Vn(e){return an(e,!0,Ho,Go,zs)}function Kc(e){return an(e,!0,Ko,qo,Gs)}function an(e,t,n,s,i){if(!G(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const o=i.get(e);if(o)return o;const r=Yo(wo(e));if(r===0)return e;const l=new Proxy(e,r===2?s:n);return i.set(e,l),l}function ft(e){return Ye(e)?ft(e.__v_raw):!!(e&&e.__v_isReactive)}function Ye(e){return!!(e&&e.__v_isReadonly)}function Ee(e){return!!(e&&e.__v_isShallow)}function Bn(e){return e?!!e.__v_raw:!1}function K(e){const t=e&&e.__v_raw;return t?K(t):e}function Zo(e){return!V(e,"__v_skip")&&Object.isExtensible(e)&&Ss(e,"__v_skip",!0),e}const Ae=e=>G(e)?cn(e):e,yt=e=>G(e)?Vn(e):e;function oe(e){return e?e.__v_isRef===!0:!1}function _t(e){return qs(e,!1)}function Xo(e){return qs(e,!0)}function qs(e,t){return oe(e)?e:new Qo(e,t)}class Qo{constructor(t,n){this.dep=new jn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:K(t),this._value=n?t:Ae(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ee(t)||Ye(t);t=s?t:K(t),Le(t,n)&&(this._rawValue=t,this._value=s?t:Ae(t),this.dep.trigger())}}function Ys(e){return oe(e)?e.value:e}const er={get:(e,t,n)=>t==="__v_raw"?e:Ys(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return oe(i)&&!oe(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function Js(e){return ft(e)?e:new Proxy(e,er)}class tr{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new jn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Rt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Y!==this)return Ls(this,!0),!0}get value(){const t=this.dep.track();return ks(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function nr(e,t,n=!1){let s,i;return k(e)?s=e:(s=e.get,i=e.set),new tr(s,i,n)}const fn={},un=new WeakMap;let ut;function sr(e,t=!1,n=ut){if(n){let s=un.get(n);s||un.set(n,s=[]),s.push(e)}}function ir(e,t,n=q){const{immediate:s,deep:i,once:o,scheduler:r,augmentJob:l,call:c}=n,h=T=>i?T:Ee(T)||i===!1||i===0?nt(T,1):nt(T);let d,y,S,E,C=!1,R=!1;if(oe(e)?(y=()=>e.value,C=Ee(e)):ft(e)?(y=()=>h(e),C=!0):F(e)?(R=!0,C=e.some(T=>ft(T)||Ee(T)),y=()=>e.map(T=>{if(oe(T))return T.value;if(ft(T))return h(T);if(k(T))return c?c(T,2):T()})):k(e)?t?y=c?()=>c(e,2):e:y=()=>{if(S){Ie();try{S()}finally{Fe()}}const T=ut;ut=d;try{return c?c(e,3,[E]):e(E)}finally{ut=T}}:y=Oe,t&&i){const T=y,N=i===!0?1/0:i;y=()=>nt(T(),N)}const L=Lo(),$=()=>{d.stop(),L&&L.active&&Tn(L.effects,d)};if(o&&t){const T=t;t=(...N)=>{const Q=T(...N);return $(),Q}}let _=R?new Array(e.length).fill(fn):fn;const I=T=>{if(!(!(d.flags&1)||!d.dirty&&!T))if(t){const N=d.run();if(T||i||C||(R?N.some((Q,le)=>Le(Q,_[le])):Le(N,_))){S&&S();const Q=ut;ut=d;try{const le=[N,_===fn?void 0:R&&_[0]===fn?[]:_,E];_=N,c?c(t,3,le):t(...le)}finally{ut=Q}}}else d.run()};return l&&l(I),d=new Os(y),d.scheduler=r?()=>r(I,!1):I,E=T=>sr(T,!1,d),S=d.onStop=()=>{const T=un.get(d);if(T){if(c)c(T,4);else for(const N of T)N();un.delete(d)}},t?s?I(!0):_=d.run():r?r(I.bind(null,!0),!0):d.run(),$.pause=d.pause.bind(d),$.resume=d.resume.bind(d),$.stop=$,$}function nt(e,t=1/0,n){if(t<=0||!G(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,oe(e))nt(e.value,t,n);else if(F(e))for(let s=0;s{nt(s,t,n)});else if(Qt(e)){for(const s in e)nt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&nt(e[s],t,n)}return e}/** * @vue/runtime-core v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const It=[];let zn=!1;function Kc(e,...t){if(zn)return;zn=!0,Ie();const n=It.length?It[It.length-1].component:null,s=n&&n.appContext.config.warnHandler,i=or();if(s)_t(s,n,11,[e+t.map(o=>{var r,l;return(l=(r=o.toString)==null?void 0:r.call(o))!=null?l:JSON.stringify(o)}).join(""),n&&n.proxy,i.map(({vnode:o})=>`at <${qi(n,o.type)}>`).join(` +**/const Ft=[];let zn=!1;function Uc(e,...t){if(zn)return;zn=!0,Ie();const n=Ft.length?Ft[Ft.length-1].component:null,s=n&&n.appContext.config.warnHandler,i=or();if(s)vt(s,n,11,[e+t.map(o=>{var r,l;return(l=(r=o.toString)==null?void 0:r.call(o))!=null?l:JSON.stringify(o)}).join(""),n&&n.proxy,i.map(({vnode:o})=>`at <${qi(n,o.type)}>`).join(` `),i]);else{const o=[`[Vue warn]: ${e}`,...t];i.length&&o.push(` -`,...rr(i)),console.warn(...o)}Fe(),zn=!1}function or(){let e=It[It.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const s=e.component&&e.component.parent;e=s&&s.vnode}return t}function rr(e){const t=[];return e.forEach((n,s)=>{t.push(...s===0?[]:[` -`],...lr(n))}),t}function lr({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,i=` at <${qi(e.component,e.type,s)}`,o=">"+n;return e.props?[i,...cr(e.props),o]:[i+o]}function cr(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...Zs(s,e[s]))}),n.length>3&&t.push(" ..."),t}function Zs(e,t,n){return Z(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:oe(t)?(t=Zs(e,K(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):k(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=K(t),n?t:[`${e}=`,t])}function _t(e,t,n,s){try{return s?e(...s):e()}catch(i){dn(i,t,n)}}function Ae(e,t,n,s){if(k(e)){const i=_t(e,t,n,s);return i&&vs(i)&&i.catch(o=>{dn(o,t,n)}),i}if(F(e)){const i=[];for(let o=0;o>>1,i=ae[s],o=Ft(i);o=Ft(n)?ae.push(e):ae.splice(fr(t),0,e),e.flags|=1,Qs()}}function Qs(){pn||(pn=Xs.then(ni))}function ur(e){if(!F(e))st&&e.id===-1?st.splice(wt+1,0,e):e.flags&1||(vt.push(e),e.flags|=1);else for(let t=0;tFt(n)-Ft(s));if(vt.length=0,st){for(let n=0;ne.id==null?e.flags&2?-1:1/0:e.id;function ni(e){try{for(De=0;De{s._d&&$i(-1);const o=hn(t),r=pt.length;let l;try{l=e(...i)}finally{for(let c=pt.length;c>r;c--)ji();hn(o),s._d&&$i(1)}return l};return s._n=!0,s._c=!0,s._d=!0,s}function ut(e,t,n,s){const i=e.dirs,o=t&&t.dirs;for(let r=0;r1)return n&&k(t)?t.call(s&&s.proxy):t}}const hr=Symbol.for("v-scx"),gr=()=>kt(hr);function Yn(e,t,n){return ii(e,t,n)}function ii(e,t,n=q){const{immediate:s,deep:i,flush:o,once:r}=n,l=ee({},n),c=t&&s||!t&&o!=="post";let h;if(Vt){if(o==="sync"){const E=gr();h=E.__watcherHandles||(E.__watcherHandles=[])}else if(!c){const E=()=>{};return E.stop=Oe,E.resume=Oe,E.pause=Oe,E}}const d=de;l.call=(E,C,R)=>Ae(E,d,C,R);let y=!1;o==="post"?l.scheduler=E=>{ge(E,d&&d.suspense)}:o!=="sync"&&(y=!0,l.scheduler=(E,C)=>{C?E():qn(E)}),l.augmentJob=E=>{t&&(E.flags|=4),y&&(E.flags|=2,d&&(E.id=d.uid,E.i=d))};const S=ir(e,t,l);return Vt&&(h?h.push(S):c&&S()),S}function mr(e,t,n){const s=this.proxy,i=Z(e)?e.includes(".")?oi(s,e):()=>s[e]:e.bind(s,s);let o;k(t)?o=t:(o=t.handler,n=t);const r=Ut(this),l=ii(i,o.bind(s),n);return r(),l}function oi(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;ie.__isTeleport,Jn=Symbol("_leaveCb");function yr(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Je){t=n;break}}return t}function ri(e){if(!Xn(e))return gn(e.type)&&e.children?yr(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&k(n.default))return n.default()}}function Zn(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const n=e.component.subTree;Zn(gn(n.type)&&ri(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function _r(e,t){return k(e)?ee({name:e.name},t,{setup:e}):e}function li(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ci(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const mn=new WeakMap;function Dt(e,t,n,s,i=!1){if(F(e)){e.forEach((R,L)=>Dt(R,t&&(F(t)?t[L]:t),n,s,i));return}if(Nt(s)&&!i){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Dt(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?fs(s.component):s.el,r=i?null:o,{i:l,r:c}=e,h=t&&t.r,d=l.refs===q?l.refs={}:l.refs,y=l.setupState,S=K(y),E=y===q?ys:R=>ci(d,R)?!1:V(S,R),C=(R,L)=>!(L&&ci(d,L));if(h!=null&&h!==c){if(ai(t),Z(h))d[h]=null,E(h)&&(y[h]=null);else if(oe(h)){const R=t;C(h,R.k)&&(h.value=null),R.k&&(d[R.k]=null)}}if(k(c))_t(c,l,12,[r,d]);else{const R=Z(c),L=oe(c);if(R||L){const $=()=>{if(e.f){const _=R?E(c)?y[c]:d[c]:C()||!e.k?c.value:d[e.k];if(i)F(_)&&Tn(_,o);else if(F(_))_.includes(o)||_.push(o);else if(R)d[c]=[o],E(c)&&(y[c]=d[c]);else{const I=[o];C(c,e.k)&&(c.value=I),e.k&&(d[e.k]=I)}}else R?(d[c]=r,E(c)&&(y[c]=r)):L&&(C(c,e.k)&&(c.value=r),e.k&&(d[e.k]=r))};if(r){const _=()=>{$(),mn.delete(e)};_.id=-1,mn.set(e,_),ge(_,n)}else ai(e),$()}}}function ai(e){const t=mn.get(e);t&&(t.flags|=8,mn.delete(e))}tn().requestIdleCallback,tn().cancelIdleCallback;const Nt=e=>!!e.type.__asyncLoader,Xn=e=>e.type.__isKeepAlive;function vr(e,t){fi(e,"a",t)}function wr(e,t){fi(e,"da",t)}function fi(e,t,n=de){const s=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(bn(t,s,n),n){let i=n.parent;for(;i&&i.parent;)Xn(i.parent.vnode)&&xr(s,t,n,i),i=i.parent}}function xr(e,t,n,s){const i=bn(t,e,s,!0);di(()=>{Tn(s[t],i)},n)}function bn(e,t,n=de,s=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...r)=>{Ie();const l=Ut(n),c=Ae(t,n,e,r);return l(),Fe(),c});return s?i.unshift(o):i.push(o),o}}const Ye=e=>(t,n=de)=>{(!Vt||e==="sp")&&bn(e,(...s)=>t(...s),n)},Sr=Ye("bm"),Qn=Ye("m"),Pr=Ye("bu"),Er=Ye("u"),ui=Ye("bum"),di=Ye("um"),Cr=Ye("sp"),Tr=Ye("rtg"),Ar=Ye("rtc");function Mr(e,t=de){bn("ec",e,t)}const Or=Symbol.for("v-ndc");function Rr(e,t,n,s){let i;const o=n,r=F(e);if(r||Z(e)){const l=r&&at(e);let c=!1,h=!1;l&&(c=!Pe(e),h=qe(e),e=sn(e)),i=new Array(e.length);for(let d=0,y=e.length;dt(l,c,void 0,o));else{const l=Object.keys(e);i=new Array(l.length);for(let c=0,h=l.length;ce?Bi(e)?fs(e):es(e.parent):null,jt=ee(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=>es(e.parent),$root:e=>es(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>mi(e),$forceUpdate:e=>e.f||(e.f=()=>{qn(e.update)}),$nextTick:e=>e.n||(e.n=Gn.bind(e.proxy)),$watch:e=>mr.bind(e)}),ts=(e,t)=>e!==q&&!e.__isScriptSetup&&V(e,t),Lr={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:o,accessCache:r,type:l,appContext:c}=e;if(t[0]!=="$"){const S=r[t];if(S!==void 0)switch(S){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(ts(s,t))return r[t]=1,s[t];if(i!==q&&V(i,t))return r[t]=2,i[t];if(V(o,t))return r[t]=3,o[t];if(n!==q&&V(n,t))return r[t]=4,n[t];ns&&(r[t]=0)}}const h=jt[t];let d,y;if(h)return t==="$attrs"&&re(e.attrs,"get",""),h(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==q&&V(n,t))return r[t]=4,n[t];if(y=c.config.globalProperties,V(y,t))return y[t]},set({_:e},t,n){const{data:s,setupState:i,ctx:o}=e;return ts(i,t)?(i[t]=n,!0):s!==q&&V(s,t)?(s[t]=n,!0):V(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,props:o,type:r}},l){let c;return!!(n[l]||e!==q&&l[0]!=="$"&&V(e,l)||ts(t,l)||V(o,l)||V(s,l)||V(jt,l)||V(i.config.globalProperties,l)||(c=r.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:V(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function pi(e){return F(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ns=!0;function Ir(e){const t=mi(e),n=e.proxy,s=e.ctx;ns=!1,t.beforeCreate&&hi(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:r,watch:l,provide:c,inject:h,created:d,beforeMount:y,mounted:S,beforeUpdate:E,updated:C,activated:R,deactivated:L,beforeDestroy:$,beforeUnmount:_,destroyed:I,unmounted:T,render:j,renderTracked:Q,renderTriggered:le,errorCaptured:me,serverPrefetch:Ee,expose:ve,inheritAttrs:be,components:te,directives:Ke,filters:ot}=t;if(h&&Fr(h,s,null),r)for(const B in r){const H=r[B];k(H)&&(s[B]=H.bind(n))}if(i){const B=i.call(n,n);G(B)&&(e.data=cn(B))}if(ns=!0,o)for(const B in o){const H=o[B],we=k(H)?H.bind(n,n):k(H.get)?H.get.bind(n,n):Oe,se=!k(H)&&k(H.set)?H.set.bind(n):Oe,xe=Yi({get:we,set:se});Object.defineProperty(s,B,{enumerable:!0,configurable:!0,get:()=>xe.value,set:N=>xe.value=N})}if(l)for(const B in l)gi(l[B],s,n,B);if(c){const B=k(c)?c.call(n):c;Reflect.ownKeys(B).forEach(H=>{pr(H,B[H])})}d&&hi(d,e,"c");function ne(B,H){F(H)?H.forEach(we=>B(we.bind(n))):H&&B(H.bind(n))}if(ne(Sr,y),ne(Qn,S),ne(Pr,E),ne(Er,C),ne(vr,R),ne(wr,L),ne(Mr,me),ne(Ar,Q),ne(Tr,le),ne(ui,_),ne(di,T),ne(Cr,Ee),F(ve))if(ve.length){const B=e.exposed||(e.exposed={});ve.forEach(H=>{Object.defineProperty(B,H,{get:()=>n[H],set:we=>n[H]=we,enumerable:!0})})}else e.exposed||(e.exposed={});j&&e.render===Oe&&(e.render=j),be!=null&&(e.inheritAttrs=be),te&&(e.components=te),Ke&&(e.directives=Ke),Ee&&li(e)}function Fr(e,t,n=Oe){F(e)&&(e=ss(e));for(const s in e){const i=e[s];let o;G(i)?"default"in i?o=kt(i.from||s,i.default,!0):o=kt(i.from||s):o=kt(i),oe(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):t[s]=o}}function hi(e,t,n){Ae(F(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function gi(e,t,n,s){let i=s.includes(".")?oi(n,s):()=>n[s];if(Z(e)){const o=t[e];k(o)&&Yn(i,o)}else if(k(e))Yn(i,e.bind(n));else if(G(e))if(F(e))e.forEach(o=>gi(o,t,n,s));else{const o=k(e.handler)?e.handler.bind(n):t[e.handler];k(o)&&Yn(i,o,e)}}function mi(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:r}}=e.appContext,l=o.get(t);let c;return l?c=l:!i.length&&!n&&!s?c=t:(c={},i.length&&i.forEach(h=>yn(c,h,r,!0)),yn(c,t,r)),G(t)&&o.set(t,c),c}function yn(e,t,n,s=!1){const{mixins:i,extends:o}=t;o&&yn(e,o,n,!0),i&&i.forEach(r=>yn(e,r,n,!0));for(const r in t)if(!(s&&r==="expose")){const l=kr[r]||n&&n[r];e[r]=l?l(e[r],t[r]):t[r]}return e}const kr={data:bi,props:yi,emits:yi,methods:$t,computed:$t,beforeCreate:fe,created:fe,beforeMount:fe,mounted:fe,beforeUpdate:fe,updated:fe,beforeDestroy:fe,beforeUnmount:fe,destroyed:fe,unmounted:fe,activated:fe,deactivated:fe,errorCaptured:fe,serverPrefetch:fe,components:$t,directives:$t,watch:Nr,provide:bi,inject:Dr};function bi(e,t){return t?e?function(){return ee(k(e)?e.call(this,this):e,k(t)?t.call(this,this):t)}:t:e}function Dr(e,t){return $t(ss(e),ss(t))}function ss(e){if(F(e)){const t={};for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${he(t)}Modifiers`]||e[`${ye(t)}Modifiers`];function Wr(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||q;let i=n;const o=t.startsWith("update:"),r=o&&Hr(s,t.slice(7));r&&(r.trim&&(i=n.map(d=>Z(d)?d.trim():d)),r.number&&(i=i.map(Po)));let l,c=s[l=Mn(t)]||s[l=Mn(he(t))];!c&&o&&(c=s[l=Mn(ye(t))]),c&&Ae(c,e,6,i);const h=s[l+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ae(h,e,6,i)}}const Kr=new WeakMap;function vi(e,t,n=!1){const s=n?Kr:t.emitsCache,i=s.get(e);if(i!==void 0)return i;const o=e.emits;let r={},l=!1;if(!k(e)){const c=h=>{const d=vi(h,t,!0);d&&(l=!0,ee(r,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(G(e)&&s.set(e,null),null):(F(o)?o.forEach(c=>r[c]=null):ee(r,o),G(e)&&s.set(e,r),r)}function _n(e,t){return!e||!Jt(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),V(e,t[0].toLowerCase()+t.slice(1))||V(e,ye(t))||V(e,t))}function Uc(){}function wi(e){const{type:t,vnode:n,proxy:s,withProxy:i,propsOptions:[o],slots:r,attrs:l,emit:c,render:h,renderCache:d,props:y,data:S,setupState:E,ctx:C,inheritAttrs:R}=e,L=hn(e);let $,_;try{if(n.shapeFlag&4){const T=i||s,j=T;$=He(h.call(j,T,d,y,E,S,C)),_=l}else{const T=t;$=He(T.length>1?T(y,{attrs:l,slots:r,emit:c}):T(y,null)),_=t.props?l:Ur(l)}}catch(T){pt.length=0,dn(T,e,1),$=$e(Je)}let I=$;if(_&&R!==!1){const T=Object.keys(_),{shapeFlag:j}=I;T.length&&j&7&&(o&&T.some(Zt)&&(_=Vr(_,o)),I=St(I,_,!1,!0))}if(n.dirs&&(I=St(I,null,!1,!0),I.dirs=I.dirs?I.dirs.concat(n.dirs):n.dirs),n.transition){const T=gn(I.type)&&ri(I)||I;Zn(T,n.transition)}return $=I,hn(L),$}const Ur=e=>{let t;for(const n in e)(n==="class"||n==="style"||Jt(n))&&((t||(t={}))[n]=e[n]);return t},Vr=(e,t)=>{const n={};for(const s in e)(!Zt(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Br(e,t,n){const{props:s,children:i,component:o}=e,{props:r,children:l,patchFlag:c}=t,h=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?xi(s,r,h):!!r;if(c&8){const d=t.dynamicProps;for(let y=0;yObject.create(Pi),Ci=e=>Object.getPrototypeOf(e)===Pi;function Gr(e,t,n,s=!1){const i={},o=Ei();e.propsDefaults=Object.create(null),Ti(e,t,i,o);for(const r in e.propsOptions[0])r in i||(i[r]=void 0);n?e.props=s?i:Jo(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function qr(e,t,n,s){const{props:i,attrs:o,vnode:{patchFlag:r}}=e,l=K(i),[c]=e.propsOptions;let h=!1;if((s||r>0)&&!(r&16)){if(r&8){const d=e.vnode.dynamicProps;for(let y=0;y{c=!0;const[S,E]=Ai(y,t,!0);ee(r,S),E&&l.push(...E)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!c)return G(e)&&s.set(e,gt),gt;if(F(o))for(let d=0;de==="_"||e==="_ctx"||e==="$stable",rs=e=>F(e)?e.map(He):[He(e)],Jr=(e,t,n)=>{if(t._n)return t;const s=dr((...i)=>rs(t(...i)),n);return s._c=!1,s},Oi=(e,t,n)=>{const s=e._ctx;for(const i in e){if(os(i))continue;const o=e[i];if(k(o))t[i]=Jr(i,o,s);else if(o!=null){const r=rs(o);t[i]=()=>r}}},Ri=(e,t)=>{const n=rs(t);e.slots.default=()=>n},Li=(e,t,n)=>{for(const s in t)(n||!os(s))&&(e[s]=t[s])},Zr=(e,t,n)=>{const s=e.slots=Ei();if(e.vnode.shapeFlag&32){const i=t._;i?(Li(s,t,n),n&&Ss(s,"_",i,!0)):Oi(t,s)}else t&&Ri(e,t)},Xr=(e,t,n)=>{const{vnode:s,slots:i}=e;let o=!0,r=q;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Li(i,t,n):(o=!t.$stable,Oi(t,i)),r=t}else t&&(Ri(e,t),r={default:1});if(o)for(const l in i)!os(l)&&r[l]==null&&delete i[l]},ge=sl;function Qr(e){return el(e)}function el(e,t){const n=tn();n.__VUE__=!0;const{insert:s,remove:i,patchProp:o,createElement:r,createText:l,createComment:c,setText:h,setElementText:d,parentNode:y,nextSibling:S,setScopeId:E=Oe,insertStaticContent:C}=e,R=(a,u,f,p=null,g=null,m=null,v=void 0,w=null,x=!!u.dynamicChildren)=>{if(a===u)return;a&&!Wt(a,u)&&(p=et(a),N(a,g,m,!0),a=null),u.patchFlag===-2&&(x=!1,u.dynamicChildren=null);const{type:b,ref:O,shapeFlag:P}=u;switch(b){case vn:L(a,u,f,p);break;case Je:$(a,u,f,p);break;case cs:a==null&&_(u,f,p,v);break;case je:te(a,u,f,p,g,m,v,w,x);break;default:P&1?j(a,u,f,p,g,m,v,w,x):P&6?Ke(a,u,f,p,g,m,v,w,x):(P&64||P&128)&&b.process(a,u,f,p,g,m,v,w,x,ht)}O!=null&&g?Dt(O,a&&a.ref,m,u||a,!u):O==null&&a&&a.ref!=null&&Dt(a.ref,null,m,a,!0)},L=(a,u,f,p)=>{if(a==null)s(u.el=l(u.children),f,p);else{const g=u.el=a.el;u.children!==a.children&&h(g,u.children)}},$=(a,u,f,p)=>{a==null?s(u.el=c(u.children||""),f,p):u.el=a.el},_=(a,u,f,p)=>{[a.el,a.anchor]=C(a.children,u,f,p,a.el,a.anchor)},I=({el:a,anchor:u},f,p)=>{let g;for(;a&&a!==u;)g=S(a),s(a,f,p),a=g;s(u,f,p)},T=({el:a,anchor:u})=>{let f;for(;a&&a!==u;)f=S(a),i(a),a=f;i(u)},j=(a,u,f,p,g,m,v,w,x)=>{if(u.type==="svg"?v="svg":u.type==="math"&&(v="mathml"),a==null)Q(u,f,p,g,m,v,w,x);else{const b=a.el&&a.el._isVueCE?a.el:null;try{b&&b._beginPatch(),Ee(a,u,g,m,v,w,x)}finally{b&&b._endPatch()}}},Q=(a,u,f,p,g,m,v,w)=>{let x,b;const{props:O,shapeFlag:P,transition:M,dirs:A}=a;if(x=a.el=r(a.type,m,O&&O.is,O),P&8?d(x,a.children):P&16&&me(a.children,x,null,p,g,ls(a,m),v,w),A&&ut(a,null,p,"created"),le(x,a,a.scopeId,v,p),O){for(const W in O)W!=="value"&&!Ct(W)&&o(x,W,null,O[W],m,p);"value"in O&&o(x,"value",null,O.value,m),(b=O.onVnodeBeforeMount)&&We(b,p,a)}A&&ut(a,null,p,"beforeMount");const D=tl(g,M);D&&M.beforeEnter(x),s(x,u,f),((b=O&&O.onVnodeMounted)||D||A)&&ge(()=>{try{b&&We(b,p,a),D&&M.enter(x),A&&ut(a,null,p,"mounted")}finally{}},g)},le=(a,u,f,p,g)=>{if(f&&E(a,f),p)for(let m=0;m{for(let b=x;b{const w=u.el=a.el;let{patchFlag:x,dynamicChildren:b,dirs:O}=u;x|=a.patchFlag&16;const P=a.props||q,M=u.props||q;let A;if(f&&dt(f,!1),(A=M.onVnodeBeforeUpdate)&&We(A,f,u,a),O&&ut(u,a,f,"beforeUpdate"),f&&dt(f,!0),b&&(!a.dynamicChildren||a.dynamicChildren.length!==b.length)&&(x=0,v=!1,b=null),(P.innerHTML&&M.innerHTML==null||P.textContent&&M.textContent==null)&&d(w,""),b?ve(a.dynamicChildren,b,w,f,p,ls(u,g),m):v||H(a,u,w,null,f,p,ls(u,g),m,!1),x>0){if(x&16)be(w,P,M,f,g);else if(x&2&&P.class!==M.class&&o(w,"class",null,M.class,g),x&4&&o(w,"style",P.style,M.style,g),x&8){const D=u.dynamicProps;for(let W=0;W{A&&We(A,f,u,a),O&&ut(u,a,f,"updated")},p)},ve=(a,u,f,p,g,m,v)=>{for(let w=0;w{if(u!==f){if(u!==q)for(const m in u)!Ct(m)&&!(m in f)&&o(a,m,u[m],null,g,p);for(const m in f){if(Ct(m))continue;const v=f[m],w=u[m];v!==w&&m!=="value"&&o(a,m,w,v,g,p)}"value"in f&&o(a,"value",u.value,f.value,g)}},te=(a,u,f,p,g,m,v,w,x)=>{const b=u.el=a?a.el:l(""),O=u.anchor=a?a.anchor:l("");let{patchFlag:P,dynamicChildren:M,slotScopeIds:A}=u;A&&(w=w?w.concat(A):A),a==null?(s(b,f,p),s(O,f,p),me(u.children||[],f,O,g,m,v,w,x)):P>0&&P&64&&M&&a.dynamicChildren&&a.dynamicChildren.length===M.length?(ve(a.dynamicChildren,M,f,g,m,v,w),(u.key!=null||g&&u===g.subTree)&&Ii(a,u,!0)):H(a,u,f,O,g,m,v,w,x)},Ke=(a,u,f,p,g,m,v,w,x)=>{u.slotScopeIds=w,a==null?u.shapeFlag&512?g.ctx.activate(u,f,p,v,x):ot(u,f,p,g,m,v,x):rt(a,u,x)},ot=(a,u,f,p,g,m,v)=>{const w=a.component=ul(a,p,g);if(Xn(a)&&(w.ctx.renderer=ht),dl(w,!1,v),w.asyncDep){if(g&&g.registerDep(w,ne,v),!a.el){const x=w.subTree=$e(Je);$(null,x,u,f),a.placeholder=x.el}}else ne(w,a,u,f,g,m,v)},rt=(a,u,f)=>{const p=u.component=a.component;if(Br(a,u,f))if(p.asyncDep&&!p.asyncResolved){B(p,u,f);return}else p.next=u,p.update();else u.el=a.el,p.vnode=u},ne=(a,u,f,p,g,m,v)=>{const w=()=>{if(a.isMounted){let{next:P,bu:M,u:A,parent:D,vnode:W}=a;{const Ve=Fi(a);if(Ve){P&&(P.el=W.el,B(a,P,v)),Ve.asyncDep.then(()=>{ge(()=>{a.isUnmounted||b()},g)});return}}let U=P,X;dt(a,!1),P?(P.el=W.el,B(a,P,v)):P=W,M&&On(M),(X=P.props&&P.props.onVnodeBeforeUpdate)&&We(X,D,P,W),dt(a,!0);const J=wi(a),ce=a.subTree;a.subTree=J,R(ce,J,y(ce.el),et(ce),a,g,m),P.el=J.el,U===null&&zr(a,J.el),A&&ge(A,g),(X=P.props&&P.props.onVnodeUpdated)&&ge(()=>We(X,D,P,W),g)}else{let P;const{el:M,props:A}=u,{bm:D,m:W,parent:U,root:X,type:J}=a,ce=Nt(u);dt(a,!1),D&&On(D),!ce&&(P=A&&A.onVnodeBeforeMount)&&We(P,U,u),dt(a,!0);{X.ce&&X.ce._hasShadowRoot()&&X.ce._injectChildStyle(J,a.parent?a.parent.type:void 0);const Ve=a.subTree=wi(a);R(null,Ve,f,p,a,g,m),u.el=Ve.el}if(W&&ge(W,g),!ce&&(P=A&&A.onVnodeMounted)){const Ve=u;ge(()=>We(P,U,Ve),g)}(u.shapeFlag&256||U&&Nt(U.vnode)&&U.vnode.shapeFlag&256)&&a.a&&ge(a.a,g),a.isMounted=!0,u=f=p=null}};a.scope.on();const x=a.effect=new Os(w);a.scope.off();const b=a.update=x.run.bind(x),O=a.job=x.runIfDirty.bind(x);O.i=a,O.id=a.uid,x.scheduler=()=>qn(O),dt(a,!0),b()},B=(a,u,f)=>{u.component=a;const p=a.vnode.props;a.vnode=u,a.next=null,qr(a,u.props,p,f),Xr(a,u.children,f),Ie(),ei(a),Fe()},H=(a,u,f,p,g,m,v,w,x=!1)=>{const b=a&&a.children,O=a?a.shapeFlag:0,P=u.children,{patchFlag:M,shapeFlag:A}=u;if(M>0){if(M&128){se(b,P,f,p,g,m,v,w,x);return}else if(M&256){we(b,P,f,p,g,m,v,w,x);return}}A&8?(O&16&&Me(b,g,m),P!==b&&d(f,P)):O&16?A&16?se(b,P,f,p,g,m,v,w,x):Me(b,g,m,!0):(O&8&&d(f,""),A&16&&me(P,f,p,g,m,v,w,x))},we=(a,u,f,p,g,m,v,w,x)=>{a=a||gt,u=u||gt;const b=a.length,O=u.length,P=Math.min(b,O);let M;for(M=0;MO?Me(a,g,m,!0,!1,P):me(u,f,p,g,m,v,w,x,P)},se=(a,u,f,p,g,m,v,w,x)=>{let b=0;const O=u.length;let P=a.length-1,M=O-1;for(;b<=P&&b<=M;){const A=a[b],D=u[b]=x?Xe(u[b]):He(u[b]);if(Wt(A,D))R(A,D,f,null,g,m,v,w,x);else break;b++}for(;b<=P&&b<=M;){const A=a[P],D=u[M]=x?Xe(u[M]):He(u[M]);if(Wt(A,D))R(A,D,f,null,g,m,v,w,x);else break;P--,M--}if(b>P){if(b<=M){const A=M+1,D=AM)for(;b<=P;)N(a[b],g,m,!0),b++;else{const A=b,D=b,W=new Map;for(b=D;b<=M;b++){const Se=u[b]=x?Xe(u[b]):He(u[b]);Se.key!=null&&W.set(Se.key,b)}let U,X=0;const J=M-D+1;let ce=!1,Ve=0;const Yt=new Array(J);for(b=0;b=J){N(Se,g,m,!0);continue}let Be;if(Se.key!=null)Be=W.get(Se.key);else for(U=D;U<=M;U++)if(Yt[U-D]===0&&Wt(Se,u[U])){Be=U;break}Be===void 0?N(Se,g,m,!0):(Yt[Be-D]=b+1,Be>=Ve?Ve=Be:ce=!0,R(Se,u[Be],f,null,g,m,v,w,x),X++)}const bo=ce?nl(Yt):gt;for(U=bo.length-1,b=J-1;b>=0;b--){const Se=D+b,Be=u[Se],yo=u[Se+1],_o=Se+1{const{el:m,type:v,transition:w,children:x,shapeFlag:b}=a;if(b&6){xe(a.component.subTree,u,f,p);return}if(b&128){a.suspense.move(u,f,p);return}if(b&64){v.move(a,u,f,ht);return}if(v===je){s(m,u,f);for(let P=0;Pw.enter(m),g));else{const{leave:P,delayLeave:M,afterLeave:A}=w,D=()=>{a.ctx.isUnmounted?i(m):s(m,u,f)},W=()=>{const U=m._isLeaving||!!m[Jn];m._isLeaving&&m[Jn](!0),w.persisted&&!U?D():P(m,()=>{D(),A&&A()})};M?M(m,D,W):W()}else s(m,u,f)},N=(a,u,f,p=!1,g=!1)=>{const{type:m,props:v,ref:w,children:x,dynamicChildren:b,shapeFlag:O,patchFlag:P,dirs:M,cacheIndex:A,memo:D}=a;if(P===-2&&(g=!1),w!=null&&(Ie(),Dt(w,null,f,a,!0),Fe()),A!=null&&(u.renderCache[A]=void 0),O&256){u.ctx.deactivate(a);return}const W=O&1&&M,U=!Nt(a);let X;if(U&&(X=v&&v.onVnodeBeforeUnmount)&&We(X,u,a),O&6)Ue(a.component,f,p);else{if(O&128){a.suspense.unmount(f,p);return}W&&ut(a,null,u,"beforeUnmount"),O&64?a.type.remove(a,u,f,ht,p):b&&!b.hasOnce&&(m!==je||P>0&&P&64)?Me(b,u,f,!1,!0):(m===je&&P&384||!g&&O&16)&&Me(x,u,f),p&&z(a)}const J=D!=null&&A==null;(U&&(X=v&&v.onVnodeUnmounted)||W||J)&&ge(()=>{X&&We(X,u,a),W&&ut(a,null,u,"unmounted"),J&&(a.el=null)},f)},z=a=>{const{type:u,el:f,anchor:p,transition:g}=a;if(u===je){pe(f,p);return}if(u===cs){T(a);return}const m=()=>{i(f),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(a.shapeFlag&1&&g&&!g.persisted){const{leave:v,delayLeave:w}=g,x=()=>v(f,m);w?w(a.el,m,x):x()}else m()},pe=(a,u)=>{let f;for(;a!==u;)f=S(a),i(a),a=f;i(u)},Ue=(a,u,f)=>{const{bum:p,scope:g,job:m,subTree:v,um:w,m:x,a:b}=a;ki(x),ki(b),p&&On(p),g.stop(),m&&(m.flags|=8,N(v,a,u,f)),w&&ge(w,u),ge(()=>{a.isUnmounted=!0},u)},Me=(a,u,f,p=!1,g=!1,m=0)=>{for(let v=m;v{if(a.shapeFlag&6)return et(a.component.subTree);if(a.shapeFlag&128)return a.suspense.next();const u=S(a.anchor||a.el),f=u&&u[br];return f?S(f):u};let qt=!1;const En=(a,u,f)=>{let p;a==null?u._vnode&&(N(u._vnode,null,null,!0),p=u._vnode.component):R(u._vnode||null,a,u,null,null,null,f),u._vnode=a,qt||(qt=!0,ei(p),ti(),qt=!1)},ht={p:R,um:N,m:xe,r:z,mt:ot,mc:me,pc:H,pbc:ve,n:et,o:e};return{render:En,hydrate:void 0,createApp:$r(En)}}function ls({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function dt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function tl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ii(e,t,n=!1){const s=e.children,i=t.children;if(F(s)&&F(i))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,r=n[o-1];o-- >0;)n[o]=r,r=t[r];return n}function Fi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Fi(t)}function ki(e){if(e)for(let t=0;te.__isSuspense;function sl(e,t){t&&t.pendingBranch?F(e)?t.effects.push(...e):t.effects.push(e):ur(e)}const je=Symbol.for("v-fgt"),vn=Symbol.for("v-txt"),Je=Symbol.for("v-cmt"),cs=Symbol.for("v-stc"),pt=[];let _e=null;function Ze(e=!1){pt.push(_e=e?null:[])}function ji(){pt.pop(),_e=pt[pt.length-1]||null}let Ht=1;function $i(e,t=!1){Ht+=e,e<0&&_e&&t&&(_e.hasOnce=!0)}function Hi(e){return e.dynamicChildren=Ht>0?_e||gt:null,ji(),Ht>0&&_e&&_e.push(e),e}function it(e,t,n,s,i,o){return Hi(ue(e,t,n,s,i,o,!0))}function il(e,t,n,s,i){return Hi($e(e,t,n,s,i,!0))}function Wi(e){return e?e.__v_isVNode===!0:!1}function Wt(e,t){return e.type===t.type&&e.key===t.key}const Ki=({key:e})=>e??null,wn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Z(e)||oe(e)||k(e)?{i:Ne,r:e,k:t,f:!!n}:e:null);function ue(e,t=null,n=null,s=0,i=null,o=e===je?0:1,r=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ki(t),ref:t&&wn(t),scopeId:si,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Ne};return l?(xn(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=Z(n)?8:16),Ht>0&&!r&&_e&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&_e.push(c),c}const $e=ol;function ol(e,t=null,n=null,s=0,i=null,o=!1){if((!e||e===Or)&&(e=Je),Wi(e)){const l=St(e,t,!0);return n&&xn(l,n),Ht>0&&!o&&_e&&(l.shapeFlag&6?_e[_e.indexOf(e)]=l:_e.push(l)),l.patchFlag=-2,l}if(_l(e)&&(e=e.__vccOpts),t){t=rl(t);let{class:l,style:c}=t;l&&!Z(l)&&(t.class=Tt(l)),G(c)&&(Bn(c)&&!F(c)&&(c=ee({},c)),t.style=Rn(c))}const r=Z(e)?1:Ni(e)?128:gn(e)?64:G(e)?4:k(e)?2:0;return ue(e,t,n,s,i,r,o,!0)}function rl(e){return e?Bn(e)||Ci(e)?ee({},e):e:null}function St(e,t,n=!1,s=!1){const{props:i,ref:o,patchFlag:r,children:l,transition:c}=e,h=t?cl(i||{},t):i,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:h,key:h&&Ki(h),ref:t&&t.ref?n&&o?F(o)?o.concat(wn(t)):[o,wn(t)]:wn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==je?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&St(e.ssContent),ssFallback:e.ssFallback&&St(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Zn(d,c.clone(d)),d}function ll(e=" ",t=0){return $e(vn,null,e,t)}function as(e="",t=!1){return t?(Ze(),il(Je,null,e)):$e(Je,null,e)}function He(e){return e==null||typeof e=="boolean"?$e(Je):F(e)?$e(je,null,e.slice()):Wi(e)?Xe(e):$e(vn,null,String(e))}function Xe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:St(e)}function xn(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(F(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),xn(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!Ci(t)?t._ctx=Ne:i===3&&Ne&&(Ne.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(k(t)){if(s&65){xn(e,{default:t});return}t={default:t,_ctx:Ne},n=32}else t=String(t),s&64?(n=16,t=[ll(t)]):n=8;e.children=t,e.shapeFlag|=n}function cl(...e){const t={};for(let n=0;nde||Ne;let Sn,Kt;{const e=tn(),t=(n,s)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(s),o=>{i.length>1?i.forEach(r=>r(o)):i[0](o)}};Sn=t("__VUE_INSTANCE_SETTERS__",n=>de=n),Kt=t("__VUE_SSR_SETTERS__",n=>Vt=n)}const Ut=e=>{const t=de;return Sn(e),e.scope.on(),()=>{e.scope.off(),Sn(t)}},Vi=()=>{de&&de.scope.off(),Sn(null)};function Bi(e){return e.vnode.shapeFlag&4}let Vt=!1;function dl(e,t=!1,n=!1){t&&Kt(t);const{props:s,children:i}=e.vnode,o=Bi(e);Gr(e,s,o,t),Zr(e,i,n||t);const r=o?pl(e,t):void 0;return t&&Kt(!1),r}function pl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Lr);const{setup:s}=n;if(s){Ie();const i=e.setupContext=s.length>1?gl(e):null,o=Ut(e),r=_t(s,e,0,[e.props,i]),l=vs(r);if(Fe(),o(),(l||e.sp)&&!Nt(e)&&li(e),l){if(r.then(Vi,Vi),t)return r.then(c=>{Kt(!0);try{zi(e,c,t)}finally{Kt(!1)}}).catch(c=>{dn(c,e,0)});e.asyncDep=r}else zi(e,r)}else Gi(e)}function zi(e,t,n){k(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:G(t)&&(e.setupState=Js(t)),Gi(e)}function Gi(e,t,n){const s=e.type;e.render||(e.render=s.render||Oe);{const i=Ut(e);Ie();try{Ir(e)}finally{Fe(),i()}}}const hl={get(e,t){return re(e,"get",""),e[t]}};function gl(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,hl),slots:e.slots,emit:e.emit,expose:t}}function fs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Js(Zo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in jt)return jt[n](e)},has(t,n){return n in t||n in jt}})):e.proxy}const ml=/(?:^|[-_])\w/g,bl=e=>e.replace(ml,t=>t.toUpperCase()).replace(/[-_]/g,"");function yl(e,t=!0){return k(e)?e.displayName||e.name:e.name||t&&e.__name}function qi(e,t,n=!1){let s=yl(t);if(!s&&t.__file){const i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(s=i[1])}if(!s&&e){const i=o=>{for(const r in o)if(o[r]===t)return r};s=i(e.components)||e.parent&&i(e.parent.type.components)||i(e.appContext.components)}return s?bl(s):n?"App":"Anonymous"}function _l(e){return k(e)&&"__vccOpts"in e}const Yi=(e,t)=>nr(e,t,Vt),vl="3.5.42";/** +`,...rr(i)),console.warn(...o)}Fe(),zn=!1}function or(){let e=Ft[Ft.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const s=e.component&&e.component.parent;e=s&&s.vnode}return t}function rr(e){const t=[];return e.forEach((n,s)=>{t.push(...s===0?[]:[` +`],...lr(n))}),t}function lr({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,i=` at <${qi(e.component,e.type,s)}`,o=">"+n;return e.props?[i,...cr(e.props),o]:[i+o]}function cr(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...Zs(s,e[s]))}),n.length>3&&t.push(" ..."),t}function Zs(e,t,n){return Z(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:oe(t)?(t=Zs(e,K(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):k(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=K(t),n?t:[`${e}=`,t])}function vt(e,t,n,s){try{return s?e(...s):e()}catch(i){dn(i,t,n)}}function Me(e,t,n,s){if(k(e)){const i=vt(e,t,n,s);return i&&vs(i)&&i.catch(o=>{dn(o,t,n)}),i}if(F(e)){const i=[];for(let o=0;o>>1,i=fe[s],o=kt(i);o=kt(n)?fe.push(e):fe.splice(fr(t),0,e),e.flags|=1,Qs()}}function Qs(){pn||(pn=Xs.then(ni))}function ur(e){if(!F(e))st&&e.id===-1?st.splice(xt+1,0,e):e.flags&1||(wt.push(e),e.flags|=1);else for(let t=0;tkt(n)-kt(s));if(wt.length=0,st){for(let n=0;ne.id==null?e.flags&2?-1:1/0:e.id;function ni(e){try{for(De=0;De{s._d&&$i(-1);const o=hn(t),r=ht.length;let l;try{l=e(...i)}finally{for(let c=ht.length;c>r;c--)ji();hn(o),s._d&&$i(1)}return l};return s._n=!0,s._c=!0,s._d=!0,s}function dt(e,t,n,s){const i=e.dirs,o=t&&t.dirs;for(let r=0;r1)return n&&k(t)?t.call(s&&s.proxy):t}}const hr=Symbol.for("v-scx"),gr=()=>Dt(hr);function Yn(e,t,n){return ii(e,t,n)}function ii(e,t,n=q){const{immediate:s,deep:i,flush:o,once:r}=n,l=ee({},n),c=t&&s||!t&&o!=="post";let h;if(Bt){if(o==="sync"){const E=gr();h=E.__watcherHandles||(E.__watcherHandles=[])}else if(!c){const E=()=>{};return E.stop=Oe,E.resume=Oe,E.pause=Oe,E}}const d=pe;l.call=(E,C,R)=>Me(E,d,C,R);let y=!1;o==="post"?l.scheduler=E=>{me(E,d&&d.suspense)}:o!=="sync"&&(y=!0,l.scheduler=(E,C)=>{C?E():qn(E)}),l.augmentJob=E=>{t&&(E.flags|=4),y&&(E.flags|=2,d&&(E.id=d.uid,E.i=d))};const S=ir(e,t,l);return Bt&&(h?h.push(S):c&&S()),S}function mr(e,t,n){const s=this.proxy,i=Z(e)?e.includes(".")?oi(s,e):()=>s[e]:e.bind(s,s);let o;k(t)?o=t:(o=t.handler,n=t);const r=Vt(this),l=ii(i,o.bind(s),n);return r(),l}function oi(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;ie.__isTeleport,Jn=Symbol("_leaveCb");function yr(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ze){t=n;break}}return t}function ri(e){if(!Xn(e))return gn(e.type)&&e.children?yr(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&k(n.default))return n.default()}}function Zn(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const n=e.component.subTree;Zn(gn(n.type)&&ri(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function _r(e,t){return k(e)?ee({name:e.name},t,{setup:e}):e}function li(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ci(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const mn=new WeakMap;function Nt(e,t,n,s,i=!1){if(F(e)){e.forEach((R,L)=>Nt(R,t&&(F(t)?t[L]:t),n,s,i));return}if(jt(s)&&!i){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Nt(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?fs(s.component):s.el,r=i?null:o,{i:l,r:c}=e,h=t&&t.r,d=l.refs===q?l.refs={}:l.refs,y=l.setupState,S=K(y),E=y===q?ys:R=>ci(d,R)?!1:V(S,R),C=(R,L)=>!(L&&ci(d,L));if(h!=null&&h!==c){if(ai(t),Z(h))d[h]=null,E(h)&&(y[h]=null);else if(oe(h)){const R=t;C(h,R.k)&&(h.value=null),R.k&&(d[R.k]=null)}}if(k(c))vt(c,l,12,[r,d]);else{const R=Z(c),L=oe(c);if(R||L){const $=()=>{if(e.f){const _=R?E(c)?y[c]:d[c]:C()||!e.k?c.value:d[e.k];if(i)F(_)&&Tn(_,o);else if(F(_))_.includes(o)||_.push(o);else if(R)d[c]=[o],E(c)&&(y[c]=d[c]);else{const I=[o];C(c,e.k)&&(c.value=I),e.k&&(d[e.k]=I)}}else R?(d[c]=r,E(c)&&(y[c]=r)):L&&(C(c,e.k)&&(c.value=r),e.k&&(d[e.k]=r))};if(r){const _=()=>{$(),mn.delete(e)};_.id=-1,mn.set(e,_),me(_,n)}else ai(e),$()}}}function ai(e){const t=mn.get(e);t&&(t.flags|=8,mn.delete(e))}tn().requestIdleCallback,tn().cancelIdleCallback;const jt=e=>!!e.type.__asyncLoader,Xn=e=>e.type.__isKeepAlive;function vr(e,t){fi(e,"a",t)}function wr(e,t){fi(e,"da",t)}function fi(e,t,n=pe){const s=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(bn(t,s,n),n){let i=n.parent;for(;i&&i.parent;)Xn(i.parent.vnode)&&xr(s,t,n,i),i=i.parent}}function xr(e,t,n,s){const i=bn(t,e,s,!0);di(()=>{Tn(s[t],i)},n)}function bn(e,t,n=pe,s=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...r)=>{Ie();const l=Vt(n),c=Me(t,n,e,r);return l(),Fe(),c});return s?i.unshift(o):i.push(o),o}}const Je=e=>(t,n=pe)=>{(!Bt||e==="sp")&&bn(e,(...s)=>t(...s),n)},Sr=Je("bm"),Qn=Je("m"),Pr=Je("bu"),Er=Je("u"),ui=Je("bum"),di=Je("um"),Cr=Je("sp"),Tr=Je("rtg"),Ar=Je("rtc");function Mr(e,t=pe){bn("ec",e,t)}const Or=Symbol.for("v-ndc");function Rr(e,t,n,s){let i;const o=n,r=F(e);if(r||Z(e)){const l=r&&ft(e);let c=!1,h=!1;l&&(c=!Ee(e),h=Ye(e),e=sn(e)),i=new Array(e.length);for(let d=0,y=e.length;dt(l,c,void 0,o));else{const l=Object.keys(e);i=new Array(l.length);for(let c=0,h=l.length;ce?Bi(e)?fs(e):es(e.parent):null,$t=ee(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=>es(e.parent),$root:e=>es(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>mi(e),$forceUpdate:e=>e.f||(e.f=()=>{qn(e.update)}),$nextTick:e=>e.n||(e.n=Gn.bind(e.proxy)),$watch:e=>mr.bind(e)}),ts=(e,t)=>e!==q&&!e.__isScriptSetup&&V(e,t),Lr={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:o,accessCache:r,type:l,appContext:c}=e;if(t[0]!=="$"){const S=r[t];if(S!==void 0)switch(S){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(ts(s,t))return r[t]=1,s[t];if(i!==q&&V(i,t))return r[t]=2,i[t];if(V(o,t))return r[t]=3,o[t];if(n!==q&&V(n,t))return r[t]=4,n[t];ns&&(r[t]=0)}}const h=$t[t];let d,y;if(h)return t==="$attrs"&&re(e.attrs,"get",""),h(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==q&&V(n,t))return r[t]=4,n[t];if(y=c.config.globalProperties,V(y,t))return y[t]},set({_:e},t,n){const{data:s,setupState:i,ctx:o}=e;return ts(i,t)?(i[t]=n,!0):s!==q&&V(s,t)?(s[t]=n,!0):V(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,props:o,type:r}},l){let c;return!!(n[l]||e!==q&&l[0]!=="$"&&V(e,l)||ts(t,l)||V(o,l)||V(s,l)||V($t,l)||V(i.config.globalProperties,l)||(c=r.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:V(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function pi(e){return F(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ns=!0;function Ir(e){const t=mi(e),n=e.proxy,s=e.ctx;ns=!1,t.beforeCreate&&hi(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:r,watch:l,provide:c,inject:h,created:d,beforeMount:y,mounted:S,beforeUpdate:E,updated:C,activated:R,deactivated:L,beforeDestroy:$,beforeUnmount:_,destroyed:I,unmounted:T,render:N,renderTracked:Q,renderTriggered:le,errorCaptured:be,serverPrefetch:xe,expose:Se,inheritAttrs:ye,components:ne,directives:Ke,filters:ot}=t;if(h&&Fr(h,s,null),r)for(const B in r){const H=r[B];k(H)&&(s[B]=H.bind(n))}if(i){const B=i.call(n,n);G(B)&&(e.data=cn(B))}if(ns=!0,o)for(const B in o){const H=o[B],Ce=k(H)?H.bind(n,n):k(H.get)?H.get.bind(n,n):Oe,Ue=!k(H)&&k(H.set)?H.set.bind(n):Oe,te=Yi({get:Ce,set:Ue});Object.defineProperty(s,B,{enumerable:!0,configurable:!0,get:()=>te.value,set:ce=>te.value=ce})}if(l)for(const B in l)gi(l[B],s,n,B);if(c){const B=k(c)?c.call(n):c;Reflect.ownKeys(B).forEach(H=>{pr(H,B[H])})}d&&hi(d,e,"c");function se(B,H){F(H)?H.forEach(Ce=>B(Ce.bind(n))):H&&B(H.bind(n))}if(se(Sr,y),se(Qn,S),se(Pr,E),se(Er,C),se(vr,R),se(wr,L),se(Mr,be),se(Ar,Q),se(Tr,le),se(ui,_),se(di,T),se(Cr,xe),F(Se))if(Se.length){const B=e.exposed||(e.exposed={});Se.forEach(H=>{Object.defineProperty(B,H,{get:()=>n[H],set:Ce=>n[H]=Ce,enumerable:!0})})}else e.exposed||(e.exposed={});N&&e.render===Oe&&(e.render=N),ye!=null&&(e.inheritAttrs=ye),ne&&(e.components=ne),Ke&&(e.directives=Ke),xe&&li(e)}function Fr(e,t,n=Oe){F(e)&&(e=ss(e));for(const s in e){const i=e[s];let o;G(i)?"default"in i?o=Dt(i.from||s,i.default,!0):o=Dt(i.from||s):o=Dt(i),oe(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):t[s]=o}}function hi(e,t,n){Me(F(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function gi(e,t,n,s){let i=s.includes(".")?oi(n,s):()=>n[s];if(Z(e)){const o=t[e];k(o)&&Yn(i,o)}else if(k(e))Yn(i,e.bind(n));else if(G(e))if(F(e))e.forEach(o=>gi(o,t,n,s));else{const o=k(e.handler)?e.handler.bind(n):t[e.handler];k(o)&&Yn(i,o,e)}}function mi(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:r}}=e.appContext,l=o.get(t);let c;return l?c=l:!i.length&&!n&&!s?c=t:(c={},i.length&&i.forEach(h=>yn(c,h,r,!0)),yn(c,t,r)),G(t)&&o.set(t,c),c}function yn(e,t,n,s=!1){const{mixins:i,extends:o}=t;o&&yn(e,o,n,!0),i&&i.forEach(r=>yn(e,r,n,!0));for(const r in t)if(!(s&&r==="expose")){const l=kr[r]||n&&n[r];e[r]=l?l(e[r],t[r]):t[r]}return e}const kr={data:bi,props:yi,emits:yi,methods:Ht,computed:Ht,beforeCreate:ue,created:ue,beforeMount:ue,mounted:ue,beforeUpdate:ue,updated:ue,beforeDestroy:ue,beforeUnmount:ue,destroyed:ue,unmounted:ue,activated:ue,deactivated:ue,errorCaptured:ue,serverPrefetch:ue,components:Ht,directives:Ht,watch:Nr,provide:bi,inject:Dr};function bi(e,t){return t?e?function(){return ee(k(e)?e.call(this,this):e,k(t)?t.call(this,this):t)}:t:e}function Dr(e,t){return Ht(ss(e),ss(t))}function ss(e){if(F(e)){const t={};for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ge(t)}Modifiers`]||e[`${ve(t)}Modifiers`];function Wr(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||q;let i=n;const o=t.startsWith("update:"),r=o&&Hr(s,t.slice(7));r&&(r.trim&&(i=n.map(d=>Z(d)?d.trim():d)),r.number&&(i=i.map(Po)));let l,c=s[l=Mn(t)]||s[l=Mn(ge(t))];!c&&o&&(c=s[l=Mn(ve(t))]),c&&Me(c,e,6,i);const h=s[l+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Me(h,e,6,i)}}const Kr=new WeakMap;function vi(e,t,n=!1){const s=n?Kr:t.emitsCache,i=s.get(e);if(i!==void 0)return i;const o=e.emits;let r={},l=!1;if(!k(e)){const c=h=>{const d=vi(h,t,!0);d&&(l=!0,ee(r,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(G(e)&&s.set(e,null),null):(F(o)?o.forEach(c=>r[c]=null):ee(r,o),G(e)&&s.set(e,r),r)}function _n(e,t){return!e||!Jt(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),V(e,t[0].toLowerCase()+t.slice(1))||V(e,ve(t))||V(e,t))}function Vc(){}function wi(e){const{type:t,vnode:n,proxy:s,withProxy:i,propsOptions:[o],slots:r,attrs:l,emit:c,render:h,renderCache:d,props:y,data:S,setupState:E,ctx:C,inheritAttrs:R}=e,L=hn(e);let $,_;try{if(n.shapeFlag&4){const T=i||s,N=T;$=He(h.call(N,T,d,y,E,S,C)),_=l}else{const T=t;$=He(T.length>1?T(y,{attrs:l,slots:r,emit:c}):T(y,null)),_=t.props?l:Ur(l)}}catch(T){ht.length=0,dn(T,e,1),$=$e(Ze)}let I=$;if(_&&R!==!1){const T=Object.keys(_),{shapeFlag:N}=I;T.length&&N&7&&(o&&T.some(Zt)&&(_=Vr(_,o)),I=Pt(I,_,!1,!0))}if(n.dirs&&(I=Pt(I,null,!1,!0),I.dirs=I.dirs?I.dirs.concat(n.dirs):n.dirs),n.transition){const T=gn(I.type)&&ri(I)||I;Zn(T,n.transition)}return $=I,hn(L),$}const Ur=e=>{let t;for(const n in e)(n==="class"||n==="style"||Jt(n))&&((t||(t={}))[n]=e[n]);return t},Vr=(e,t)=>{const n={};for(const s in e)(!Zt(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Br(e,t,n){const{props:s,children:i,component:o}=e,{props:r,children:l,patchFlag:c}=t,h=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?xi(s,r,h):!!r;if(c&8){const d=t.dynamicProps;for(let y=0;yObject.create(Pi),Ci=e=>Object.getPrototypeOf(e)===Pi;function Gr(e,t,n,s=!1){const i={},o=Ei();e.propsDefaults=Object.create(null),Ti(e,t,i,o);for(const r in e.propsOptions[0])r in i||(i[r]=void 0);n?e.props=s?i:Jo(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function qr(e,t,n,s){const{props:i,attrs:o,vnode:{patchFlag:r}}=e,l=K(i),[c]=e.propsOptions;let h=!1;if((s||r>0)&&!(r&16)){if(r&8){const d=e.vnode.dynamicProps;for(let y=0;y{c=!0;const[S,E]=Ai(y,t,!0);ee(r,S),E&&l.push(...E)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!c)return G(e)&&s.set(e,mt),mt;if(F(o))for(let d=0;de==="_"||e==="_ctx"||e==="$stable",rs=e=>F(e)?e.map(He):[He(e)],Jr=(e,t,n)=>{if(t._n)return t;const s=dr((...i)=>rs(t(...i)),n);return s._c=!1,s},Oi=(e,t,n)=>{const s=e._ctx;for(const i in e){if(os(i))continue;const o=e[i];if(k(o))t[i]=Jr(i,o,s);else if(o!=null){const r=rs(o);t[i]=()=>r}}},Ri=(e,t)=>{const n=rs(t);e.slots.default=()=>n},Li=(e,t,n)=>{for(const s in t)(n||!os(s))&&(e[s]=t[s])},Zr=(e,t,n)=>{const s=e.slots=Ei();if(e.vnode.shapeFlag&32){const i=t._;i?(Li(s,t,n),n&&Ss(s,"_",i,!0)):Oi(t,s)}else t&&Ri(e,t)},Xr=(e,t,n)=>{const{vnode:s,slots:i}=e;let o=!0,r=q;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Li(i,t,n):(o=!t.$stable,Oi(t,i)),r=t}else t&&(Ri(e,t),r={default:1});if(o)for(const l in i)!os(l)&&r[l]==null&&delete i[l]},me=sl;function Qr(e){return el(e)}function el(e,t){const n=tn();n.__VUE__=!0;const{insert:s,remove:i,patchProp:o,createElement:r,createText:l,createComment:c,setText:h,setElementText:d,parentNode:y,nextSibling:S,setScopeId:E=Oe,insertStaticContent:C}=e,R=(a,u,f,p=null,g=null,m=null,v=void 0,w=null,x=!!u.dynamicChildren)=>{if(a===u)return;a&&!Kt(a,u)&&(p=Ve(a),ce(a,g,m,!0),a=null),u.patchFlag===-2&&(x=!1,u.dynamicChildren=null);const{type:b,ref:O,shapeFlag:P}=u;switch(b){case vn:L(a,u,f,p);break;case Ze:$(a,u,f,p);break;case cs:a==null&&_(u,f,p,v);break;case je:ne(a,u,f,p,g,m,v,w,x);break;default:P&1?N(a,u,f,p,g,m,v,w,x):P&6?Ke(a,u,f,p,g,m,v,w,x):(P&64||P&128)&&b.process(a,u,f,p,g,m,v,w,x,gt)}O!=null&&g?Nt(O,a&&a.ref,m,u||a,!u):O==null&&a&&a.ref!=null&&Nt(a.ref,null,m,a,!0)},L=(a,u,f,p)=>{if(a==null)s(u.el=l(u.children),f,p);else{const g=u.el=a.el;u.children!==a.children&&h(g,u.children)}},$=(a,u,f,p)=>{a==null?s(u.el=c(u.children||""),f,p):u.el=a.el},_=(a,u,f,p)=>{[a.el,a.anchor]=C(a.children,u,f,p,a.el,a.anchor)},I=({el:a,anchor:u},f,p)=>{let g;for(;a&&a!==u;)g=S(a),s(a,f,p),a=g;s(u,f,p)},T=({el:a,anchor:u})=>{let f;for(;a&&a!==u;)f=S(a),i(a),a=f;i(u)},N=(a,u,f,p,g,m,v,w,x)=>{if(u.type==="svg"?v="svg":u.type==="math"&&(v="mathml"),a==null)Q(u,f,p,g,m,v,w,x);else{const b=a.el&&a.el._isVueCE?a.el:null;try{b&&b._beginPatch(),xe(a,u,g,m,v,w,x)}finally{b&&b._endPatch()}}},Q=(a,u,f,p,g,m,v,w)=>{let x,b;const{props:O,shapeFlag:P,transition:M,dirs:A}=a;if(x=a.el=r(a.type,m,O&&O.is,O),P&8?d(x,a.children):P&16&&be(a.children,x,null,p,g,ls(a,m),v,w),A&&dt(a,null,p,"created"),le(x,a,a.scopeId,v,p),O){for(const W in O)W!=="value"&&!Tt(W)&&o(x,W,null,O[W],m,p);"value"in O&&o(x,"value",null,O.value,m),(b=O.onVnodeBeforeMount)&&We(b,p,a)}A&&dt(a,null,p,"beforeMount");const D=tl(g,M);D&&M.beforeEnter(x),s(x,u,f),((b=O&&O.onVnodeMounted)||D||A)&&me(()=>{try{b&&We(b,p,a),D&&M.enter(x),A&&dt(a,null,p,"mounted")}finally{}},g)},le=(a,u,f,p,g)=>{if(f&&E(a,f),p)for(let m=0;m{for(let b=x;b{const w=u.el=a.el;let{patchFlag:x,dynamicChildren:b,dirs:O}=u;x|=a.patchFlag&16;const P=a.props||q,M=u.props||q;let A;if(f&&pt(f,!1),(A=M.onVnodeBeforeUpdate)&&We(A,f,u,a),O&&dt(u,a,f,"beforeUpdate"),f&&pt(f,!0),b&&(!a.dynamicChildren||a.dynamicChildren.length!==b.length)&&(x=0,v=!1,b=null),(P.innerHTML&&M.innerHTML==null||P.textContent&&M.textContent==null)&&d(w,""),b?Se(a.dynamicChildren,b,w,f,p,ls(u,g),m):v||H(a,u,w,null,f,p,ls(u,g),m,!1),x>0){if(x&16)ye(w,P,M,f,g);else if(x&2&&P.class!==M.class&&o(w,"class",null,M.class,g),x&4&&o(w,"style",P.style,M.style,g),x&8){const D=u.dynamicProps;for(let W=0;W{A&&We(A,f,u,a),O&&dt(u,a,f,"updated")},p)},Se=(a,u,f,p,g,m,v)=>{for(let w=0;w{if(u!==f){if(u!==q)for(const m in u)!Tt(m)&&!(m in f)&&o(a,m,u[m],null,g,p);for(const m in f){if(Tt(m))continue;const v=f[m],w=u[m];v!==w&&m!=="value"&&o(a,m,w,v,g,p)}"value"in f&&o(a,"value",u.value,f.value,g)}},ne=(a,u,f,p,g,m,v,w,x)=>{const b=u.el=a?a.el:l(""),O=u.anchor=a?a.anchor:l("");let{patchFlag:P,dynamicChildren:M,slotScopeIds:A}=u;A&&(w=w?w.concat(A):A),a==null?(s(b,f,p),s(O,f,p),be(u.children||[],f,O,g,m,v,w,x)):P>0&&P&64&&M&&a.dynamicChildren&&a.dynamicChildren.length===M.length?(Se(a.dynamicChildren,M,f,g,m,v,w),(u.key!=null||g&&u===g.subTree)&&Ii(a,u,!0)):H(a,u,f,O,g,m,v,w,x)},Ke=(a,u,f,p,g,m,v,w,x)=>{u.slotScopeIds=w,a==null?u.shapeFlag&512?g.ctx.activate(u,f,p,v,x):ot(u,f,p,g,m,v,x):rt(a,u,x)},ot=(a,u,f,p,g,m,v)=>{const w=a.component=ul(a,p,g);if(Xn(a)&&(w.ctx.renderer=gt),dl(w,!1,v),w.asyncDep){if(g&&g.registerDep(w,se,v),!a.el){const x=w.subTree=$e(Ze);$(null,x,u,f),a.placeholder=x.el}}else se(w,a,u,f,g,m,v)},rt=(a,u,f)=>{const p=u.component=a.component;if(Br(a,u,f))if(p.asyncDep&&!p.asyncResolved){B(p,u,f);return}else p.next=u,p.update();else u.el=a.el,p.vnode=u},se=(a,u,f,p,g,m,v)=>{const w=()=>{if(a.isMounted){let{next:P,bu:M,u:A,parent:D,vnode:W}=a;{const Be=Fi(a);if(Be){P&&(P.el=W.el,B(a,P,v)),Be.asyncDep.then(()=>{me(()=>{a.isUnmounted||b()},g)});return}}let U=P,X;pt(a,!1),P?(P.el=W.el,B(a,P,v)):P=W,M&&On(M),(X=P.props&&P.props.onVnodeBeforeUpdate)&&We(X,D,P,W),pt(a,!0);const J=wi(a),ae=a.subTree;a.subTree=J,R(ae,J,y(ae.el),Ve(ae),a,g,m),P.el=J.el,U===null&&zr(a,J.el),A&&me(A,g),(X=P.props&&P.props.onVnodeUpdated)&&me(()=>We(X,D,P,W),g)}else{let P;const{el:M,props:A}=u,{bm:D,m:W,parent:U,root:X,type:J}=a,ae=jt(u);pt(a,!1),D&&On(D),!ae&&(P=A&&A.onVnodeBeforeMount)&&We(P,U,u),pt(a,!0);{X.ce&&X.ce._hasShadowRoot()&&X.ce._injectChildStyle(J,a.parent?a.parent.type:void 0);const Be=a.subTree=wi(a);R(null,Be,f,p,a,g,m),u.el=Be.el}if(W&&me(W,g),!ae&&(P=A&&A.onVnodeMounted)){const Be=u;me(()=>We(P,U,Be),g)}(u.shapeFlag&256||U&&jt(U.vnode)&&U.vnode.shapeFlag&256)&&a.a&&me(a.a,g),a.isMounted=!0,u=f=p=null}};a.scope.on();const x=a.effect=new Os(w);a.scope.off();const b=a.update=x.run.bind(x),O=a.job=x.runIfDirty.bind(x);O.i=a,O.id=a.uid,x.scheduler=()=>qn(O),pt(a,!0),b()},B=(a,u,f)=>{u.component=a;const p=a.vnode.props;a.vnode=u,a.next=null,qr(a,u.props,p,f),Xr(a,u.children,f),Ie(),ei(a),Fe()},H=(a,u,f,p,g,m,v,w,x=!1)=>{const b=a&&a.children,O=a?a.shapeFlag:0,P=u.children,{patchFlag:M,shapeFlag:A}=u;if(M>0){if(M&128){Ue(b,P,f,p,g,m,v,w,x);return}else if(M&256){Ce(b,P,f,p,g,m,v,w,x);return}}A&8?(O&16&&_e(b,g,m),P!==b&&d(f,P)):O&16?A&16?Ue(b,P,f,p,g,m,v,w,x):_e(b,g,m,!0):(O&8&&d(f,""),A&16&&be(P,f,p,g,m,v,w,x))},Ce=(a,u,f,p,g,m,v,w,x)=>{a=a||mt,u=u||mt;const b=a.length,O=u.length,P=Math.min(b,O);let M;for(M=0;MO?_e(a,g,m,!0,!1,P):be(u,f,p,g,m,v,w,x,P)},Ue=(a,u,f,p,g,m,v,w,x)=>{let b=0;const O=u.length;let P=a.length-1,M=O-1;for(;b<=P&&b<=M;){const A=a[b],D=u[b]=x?Qe(u[b]):He(u[b]);if(Kt(A,D))R(A,D,f,null,g,m,v,w,x);else break;b++}for(;b<=P&&b<=M;){const A=a[P],D=u[M]=x?Qe(u[M]):He(u[M]);if(Kt(A,D))R(A,D,f,null,g,m,v,w,x);else break;P--,M--}if(b>P){if(b<=M){const A=M+1,D=AM)for(;b<=P;)ce(a[b],g,m,!0),b++;else{const A=b,D=b,W=new Map;for(b=D;b<=M;b++){const Pe=u[b]=x?Qe(u[b]):He(u[b]);Pe.key!=null&&W.set(Pe.key,b)}let U,X=0;const J=M-D+1;let ae=!1,Be=0;const Yt=new Array(J);for(b=0;b=J){ce(Pe,g,m,!0);continue}let ze;if(Pe.key!=null)ze=W.get(Pe.key);else for(U=D;U<=M;U++)if(Yt[U-D]===0&&Kt(Pe,u[U])){ze=U;break}ze===void 0?ce(Pe,g,m,!0):(Yt[ze-D]=b+1,ze>=Be?Be=ze:ae=!0,R(Pe,u[ze],f,null,g,m,v,w,x),X++)}const bo=ae?nl(Yt):mt;for(U=bo.length-1,b=J-1;b>=0;b--){const Pe=D+b,ze=u[Pe],yo=u[Pe+1],_o=Pe+1{const{el:m,type:v,transition:w,children:x,shapeFlag:b}=a;if(b&6){te(a.component.subTree,u,f,p);return}if(b&128){a.suspense.move(u,f,p);return}if(b&64){v.move(a,u,f,gt);return}if(v===je){s(m,u,f);for(let P=0;Pw.enter(m),g));else{const{leave:P,delayLeave:M,afterLeave:A}=w,D=()=>{a.ctx.isUnmounted?i(m):s(m,u,f)},W=()=>{const U=m._isLeaving||!!m[Jn];m._isLeaving&&m[Jn](!0),w.persisted&&!U?D():P(m,()=>{D(),A&&A()})};M?M(m,D,W):W()}else s(m,u,f)},ce=(a,u,f,p=!1,g=!1)=>{const{type:m,props:v,ref:w,children:x,dynamicChildren:b,shapeFlag:O,patchFlag:P,dirs:M,cacheIndex:A,memo:D}=a;if(P===-2&&(g=!1),w!=null&&(Ie(),Nt(w,null,f,a,!0),Fe()),A!=null&&(u.renderCache[A]=void 0),O&256){u.ctx.deactivate(a);return}const W=O&1&&M,U=!jt(a);let X;if(U&&(X=v&&v.onVnodeBeforeUnmount)&&We(X,u,a),O&6)he(a.component,f,p);else{if(O&128){a.suspense.unmount(f,p);return}W&&dt(a,null,u,"beforeUnmount"),O&64?a.type.remove(a,u,f,gt,p):b&&!b.hasOnce&&(m!==je||P>0&&P&64)?_e(b,u,f,!1,!0):(m===je&&P&384||!g&&O&16)&&_e(x,u,f),p&&j(a)}const J=D!=null&&A==null;(U&&(X=v&&v.onVnodeUnmounted)||W||J)&&me(()=>{X&&We(X,u,a),W&&dt(a,null,u,"unmounted"),J&&(a.el=null)},f)},j=a=>{const{type:u,el:f,anchor:p,transition:g}=a;if(u===je){z(f,p);return}if(u===cs){T(a);return}const m=()=>{i(f),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(a.shapeFlag&1&&g&&!g.persisted){const{leave:v,delayLeave:w}=g,x=()=>v(f,m);w?w(a.el,m,x):x()}else m()},z=(a,u)=>{let f;for(;a!==u;)f=S(a),i(a),a=f;i(u)},he=(a,u,f)=>{const{bum:p,scope:g,job:m,subTree:v,um:w,m:x,a:b}=a;ki(x),ki(b),p&&On(p),g.stop(),m&&(m.flags|=8,ce(v,a,u,f)),w&&me(w,u),me(()=>{a.isUnmounted=!0},u)},_e=(a,u,f,p=!1,g=!1,m=0)=>{for(let v=m;v{if(a.shapeFlag&6)return Ve(a.component.subTree);if(a.shapeFlag&128)return a.suspense.next();const u=S(a.anchor||a.el),f=u&&u[br];return f?S(f):u};let lt=!1;const En=(a,u,f)=>{let p;a==null?u._vnode&&(ce(u._vnode,null,null,!0),p=u._vnode.component):R(u._vnode||null,a,u,null,null,null,f),u._vnode=a,lt||(lt=!0,ei(p),ti(),lt=!1)},gt={p:R,um:ce,m:te,r:j,mt:ot,mc:be,pc:H,pbc:Se,n:Ve,o:e};return{render:En,hydrate:void 0,createApp:$r(En)}}function ls({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function pt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function tl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ii(e,t,n=!1){const s=e.children,i=t.children;if(F(s)&&F(i))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,r=n[o-1];o-- >0;)n[o]=r,r=t[r];return n}function Fi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Fi(t)}function ki(e){if(e)for(let t=0;te.__isSuspense;function sl(e,t){t&&t.pendingBranch?F(e)?t.effects.push(...e):t.effects.push(e):ur(e)}const je=Symbol.for("v-fgt"),vn=Symbol.for("v-txt"),Ze=Symbol.for("v-cmt"),cs=Symbol.for("v-stc"),ht=[];let we=null;function Xe(e=!1){ht.push(we=e?null:[])}function ji(){ht.pop(),we=ht[ht.length-1]||null}let Wt=1;function $i(e,t=!1){Wt+=e,e<0&&we&&t&&(we.hasOnce=!0)}function Hi(e){return e.dynamicChildren=Wt>0?we||mt:null,ji(),Wt>0&&we&&we.push(e),e}function it(e,t,n,s,i,o){return Hi(de(e,t,n,s,i,o,!0))}function il(e,t,n,s,i){return Hi($e(e,t,n,s,i,!0))}function Wi(e){return e?e.__v_isVNode===!0:!1}function Kt(e,t){return e.type===t.type&&e.key===t.key}const Ki=({key:e})=>e??null,wn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Z(e)||oe(e)||k(e)?{i:Ne,r:e,k:t,f:!!n}:e:null);function de(e,t=null,n=null,s=0,i=null,o=e===je?0:1,r=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ki(t),ref:t&&wn(t),scopeId:si,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Ne};return l?(xn(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=Z(n)?8:16),Wt>0&&!r&&we&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&we.push(c),c}const $e=ol;function ol(e,t=null,n=null,s=0,i=null,o=!1){if((!e||e===Or)&&(e=Ze),Wi(e)){const l=Pt(e,t,!0);return n&&xn(l,n),Wt>0&&!o&&we&&(l.shapeFlag&6?we[we.indexOf(e)]=l:we.push(l)),l.patchFlag=-2,l}if(_l(e)&&(e=e.__vccOpts),t){t=rl(t);let{class:l,style:c}=t;l&&!Z(l)&&(t.class=At(l)),G(c)&&(Bn(c)&&!F(c)&&(c=ee({},c)),t.style=Rn(c))}const r=Z(e)?1:Ni(e)?128:gn(e)?64:G(e)?4:k(e)?2:0;return de(e,t,n,s,i,r,o,!0)}function rl(e){return e?Bn(e)||Ci(e)?ee({},e):e:null}function Pt(e,t,n=!1,s=!1){const{props:i,ref:o,patchFlag:r,children:l,transition:c}=e,h=t?cl(i||{},t):i,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:h,key:h&&Ki(h),ref:t&&t.ref?n&&o?F(o)?o.concat(wn(t)):[o,wn(t)]:wn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==je?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Pt(e.ssContent),ssFallback:e.ssFallback&&Pt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Zn(d,c.clone(d)),d}function ll(e=" ",t=0){return $e(vn,null,e,t)}function as(e="",t=!1){return t?(Xe(),il(Ze,null,e)):$e(Ze,null,e)}function He(e){return e==null||typeof e=="boolean"?$e(Ze):F(e)?$e(je,null,e.slice()):Wi(e)?Qe(e):$e(vn,null,String(e))}function Qe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Pt(e)}function xn(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(F(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),xn(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!Ci(t)?t._ctx=Ne:i===3&&Ne&&(Ne.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(k(t)){if(s&65){xn(e,{default:t});return}t={default:t,_ctx:Ne},n=32}else t=String(t),s&64?(n=16,t=[ll(t)]):n=8;e.children=t,e.shapeFlag|=n}function cl(...e){const t={};for(let n=0;npe||Ne;let Sn,Ut;{const e=tn(),t=(n,s)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(s),o=>{i.length>1?i.forEach(r=>r(o)):i[0](o)}};Sn=t("__VUE_INSTANCE_SETTERS__",n=>pe=n),Ut=t("__VUE_SSR_SETTERS__",n=>Bt=n)}const Vt=e=>{const t=pe;return Sn(e),e.scope.on(),()=>{e.scope.off(),Sn(t)}},Vi=()=>{pe&&pe.scope.off(),Sn(null)};function Bi(e){return e.vnode.shapeFlag&4}let Bt=!1;function dl(e,t=!1,n=!1){t&&Ut(t);const{props:s,children:i}=e.vnode,o=Bi(e);Gr(e,s,o,t),Zr(e,i,n||t);const r=o?pl(e,t):void 0;return t&&Ut(!1),r}function pl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Lr);const{setup:s}=n;if(s){Ie();const i=e.setupContext=s.length>1?gl(e):null,o=Vt(e),r=vt(s,e,0,[e.props,i]),l=vs(r);if(Fe(),o(),(l||e.sp)&&!jt(e)&&li(e),l){if(r.then(Vi,Vi),t)return r.then(c=>{Ut(!0);try{zi(e,c,t)}finally{Ut(!1)}}).catch(c=>{dn(c,e,0)});e.asyncDep=r}else zi(e,r)}else Gi(e)}function zi(e,t,n){k(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:G(t)&&(e.setupState=Js(t)),Gi(e)}function Gi(e,t,n){const s=e.type;e.render||(e.render=s.render||Oe);{const i=Vt(e);Ie();try{Ir(e)}finally{Fe(),i()}}}const hl={get(e,t){return re(e,"get",""),e[t]}};function gl(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,hl),slots:e.slots,emit:e.emit,expose:t}}function fs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Js(Zo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in $t)return $t[n](e)},has(t,n){return n in t||n in $t}})):e.proxy}const ml=/(?:^|[-_])\w/g,bl=e=>e.replace(ml,t=>t.toUpperCase()).replace(/[-_]/g,"");function yl(e,t=!0){return k(e)?e.displayName||e.name:e.name||t&&e.__name}function qi(e,t,n=!1){let s=yl(t);if(!s&&t.__file){const i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(s=i[1])}if(!s&&e){const i=o=>{for(const r in o)if(o[r]===t)return r};s=i(e.components)||e.parent&&i(e.parent.type.components)||i(e.appContext.components)}return s?bl(s):n?"App":"Anonymous"}function _l(e){return k(e)&&"__vccOpts"in e}const Yi=(e,t)=>nr(e,t,Bt),vl="3.5.42";/** * @vue/runtime-dom v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let us;const Ji=typeof window<"u"&&window.trustedTypes;if(Ji)try{us=Ji.createPolicy("vue",{createHTML:e=>e})}catch{}const Zi=us?e=>us.createHTML(e):e=>e,wl="http://www.w3.org/2000/svg",xl="http://www.w3.org/1998/Math/MathML",Qe=typeof document<"u"?document:null,Xi=Qe&&Qe.createElement("template"),Sl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const i=t==="svg"?Qe.createElementNS(wl,e):t==="mathml"?Qe.createElementNS(xl,e):n?Qe.createElement(e,{is:n}):Qe.createElement(e);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:e=>Qe.createTextNode(e),createComment:e=>Qe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Qe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,i,o){const r=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{Xi.innerHTML=Zi(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=Xi.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Pl=Symbol("_vtc");function El(e,t,n){const s=e[Pl];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Qi=Symbol("_vod"),Cl=Symbol("_vsh"),Tl=Symbol(""),Al=/(?:^|;)\s*display\s*:/;function Ml(e,t,n){const s=e.style,i=Z(n);let o=!1;if(n&&!i){if(t)if(Z(t))for(const r of t.split(";")){const l=r.slice(0,r.indexOf(":")).trim();n[l]==null&&Bt(s,l,"")}else for(const r in t)n[r]==null&&Bt(s,r,"");for(const r in n){r==="display"&&(o=!0);const l=n[r];l!=null?Rl(e,r,!Z(t)&&t?t[r]:void 0,l)||Bt(s,r,l):Bt(s,r,"")}}else if(i){if(t!==n){const r=s[Tl];r&&(n+=";"+r),s.cssText=n,o=Al.test(n)}}else t&&e.removeAttribute("style");Qi in e&&(e[Qi]=o?s.display:"",e[Cl]&&(s.display="none"))}const Pn=/\s*!important$/;function Bt(e,t,n){if(F(n))n.forEach(s=>Bt(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))Pn.test(n)?e.setProperty(t,n.replace(Pn,""),"important"):e.setProperty(t,n);else{const s=Ol(e,t);Pn.test(n)?e.setProperty(ye(s),n.replace(Pn,""),"important"):e[s]=n}}const eo=["Webkit","Moz","ms"],ds={};function Ol(e,t){const n=ds[t];if(n)return n;let s=he(t);if(s!=="filter"&&s in e)return ds[t]=s;s=xs(s);for(let i=0;ips||(jl.then(()=>ps=0),ps=Date.now());function Hl(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const i=n.value;if(F(i)){const o=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{o.call(s),s._stopped=!0};const r=i.slice(),l=[s];for(let c=0;ce.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Wl=(e,t,n,s,i,o)=>{const r=i==="svg";t==="class"?El(e,s,r):t==="style"?Ml(e,n,s):Jt(t)?Zt(t)||Fl(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Kl(e,t,s,r))?(so(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&no(e,t,s,r,o,t!=="value")):e._isVueCE&&(Ul(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Z(s)))?so(e,he(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),no(e,t,s,r))};function Kl(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&oo(t)&&k(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return oo(t)&&Z(n)?!1:t in e}function Ul(e,t){const n=e._def.props;if(!n)return!1;const s=he(t);return Array.isArray(n)?n.some(i=>he(i)===s):Object.keys(n).some(i=>he(i)===s)}const ro={};function Vl(e,t,n){let s=_r(e,t);Qt(s)&&(s=ee({},s,t));class i extends hs{constructor(r){super(s,r,n)}}return i.def=s,i}const Bl=typeof HTMLElement<"u"?HTMLElement:class{};class hs extends Bl{constructor(t,n={},s=ao){super(),this._def=t,this._props=n,this._createApp=s,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&&s!==ao?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(ee({},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 hs){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,Gn(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const n of t)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let s=0;s{this._resolved=!0,this._pendingResolve=void 0;const{props:o,styles:r}=s;let l;if(o&&!F(o))for(const c in o){const h=o[c];(h===Number||h&&h.type===Number)&&(c in this._props&&(this._props[c]=Ps(this._props[c])),(l||(l=Object.create(null)))[he(c)]=!0)}this._numberProps=l,this._resolveProps(s),this.shadowRoot&&this._applyStyles(r),this._mount(s)},n=this._def.__asyncLoader;if(n)return this._pendingResolve=n().then(s=>{s.configureApp=this._def.configureApp,t(this._def=s,!0)}),this._pendingResolve;t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const s in n)V(this,s)||Object.defineProperty(this,s,{get:()=>Ys(n[s])})}_resolveProps(t){const{props:n}=t,s=F(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&s.includes(i)&&this._setProp(i,this[i]);for(const i of s.map(he))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(o){this._setProp(i,o,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let s=n?this.getAttribute(t):ro;const i=he(t);n&&this._numberProps&&this._numberProps[i]&&(s=Ps(s)),this._setProp(i,s,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,i=!1){if(n!==this._props[t]&&(this._dirty=!0,n===ro?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),i&&this._instance&&this._update(),s)){const o=this._ob;o&&(this._processMutations(o.takeRecords()),o.disconnect()),n===!0?this.setAttribute(ye(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(ye(t),n+""):n||this.removeAttribute(ye(t)),o&&o.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Zl(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=$e(this._def,ee(t,this._props));return this._instance||(n.ce=s=>{this._instance=s,s.ce=this,s.isCE=!0;const i=(o,r)=>{this.dispatchEvent(new CustomEvent(o,Qt(r[0])?ee({detail:r},r[0]):{detail:r}))};s.emit=(o,...r)=>{i(o,r),ye(o)!==o&&i(ye(o),r)},this._setParent()}),n}_applyStyles(t,n,s){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const i=this._nonce,o=this.shadowRoot,r=s?this._getStyleAnchor(s)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(o);let l=null;for(let c=t.length-1;c>=0;c--){const h=document.createElement("style");i&&h.setAttribute("nonce",i),h.textContent=t[c],o.insertBefore(h,l||r),l=h,c===0&&(s||this._styleAnchors.set(this._def,h),n&&this._styleAnchors.set(n,h))}}_getStyleAnchor(t){if(!t)return null;const n=this._styleAnchors.get(t);return n&&n.parentNode===this.shadowRoot?n:(n&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let n=0;ne.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)=>zl.some(n=>e[`${n}Key`]&&!t.includes(n))},gs=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(i,...o)=>{for(let r=0;r{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=i=>{if(!("key"in i))return;const o=ye(i.key);if(t.some(r=>r===o||ql[r]===o))return e(i)})},Jl=ee({patchProp:Wl},Sl);let lo;function co(){return lo||(lo=Qr(Jl))}const Zl=(...e)=>{co().render(...e)},ao=(...e)=>{const t=co().createApp(...e),{mount:n}=t;return t.mount=s=>{const i=Ql(s);if(!i)return;const o=t._component;!k(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const r=n(i,!1,Xl(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},t};function Xl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ql(e){return Z(e)?document.querySelector(e):e}const ec="rgba(120, 128, 134, 0.28)",fo="36px",uo=()=>{};function tc(e,t={}){const{enabled:n=!0}=t;if(!n||!e)return uo;const s=Array.from(e.querySelectorAll(".map-scroll-edge"));if(!s.length)return uo;const i=_=>_.classList.contains("map-scroll-edge--left");for(const _ of s)_.style.background=`linear-gradient(${i(_)?"to right":"to left"}, ${ec} ${fo}, transparent ${fo})`,_.style.opacity="0",_.style.transition="opacity 0.16s ease",_.style.userSelect="none",_.style.webkitUserSelect="none";const o=_=>{_.style.opacity="1"},r=_=>{_.style.opacity="0"},l=()=>s.find(_=>!i(_))||null,c=new Set;let h=!1,d=null;const y=()=>{for(const _ of s)c.has(_)||r(_)},S=()=>{const _=l();_&&(o(_),d&&clearTimeout(d),d=setTimeout(y,250))},E=()=>S(),C=_=>{if(!(_.touches&&_.touches.length===1))return;const I=_.target;I&&I.classList&&I.classList.contains("map-scroll-edge")||S()},R=()=>{d&&clearTimeout(d),y()};e.addEventListener("wheel",E,{passive:!0}),e.addEventListener("touchmove",C,{passive:!0}),e.addEventListener("touchend",R,{passive:!0}),e.addEventListener("touchcancel",R,{passive:!0});const L=()=>{h||S()};typeof window<"u"&&window.addEventListener("scroll",L,{passive:!0});const $=[];for(const _ of s){const I=()=>{c.add(_),o(_)},T=()=>{c.delete(_),r(_)},j=()=>{h=!0,o(_)},Q=()=>{h=!1,r(_)};_.addEventListener("mouseenter",I),_.addEventListener("mouseleave",T),_.addEventListener("touchstart",j,{passive:!0}),_.addEventListener("touchend",Q,{passive:!0}),$.push(()=>{_.removeEventListener("mouseenter",I),_.removeEventListener("mouseleave",T),_.removeEventListener("touchstart",j),_.removeEventListener("touchend",Q)})}return function(){d&&(clearTimeout(d),d=null),e.removeEventListener("wheel",E),e.removeEventListener("touchmove",C),e.removeEventListener("touchend",R),e.removeEventListener("touchcancel",R),typeof window<"u"&&window.removeEventListener("scroll",L);for(const I of $)I();for(const I of s)r(I)}}const nc=Object.fromEntries([{id:"midnight-glow",label:"Midnight Glow",mood:"the prayer-map dark — pins glow like embers",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"night",maplibre:"https://tiles.openfreemap.org/styles/dark",bestFor:["doxa-simple-map","my-upg-100-list"]},{id:"daylight",label:"Daylight",mood:"the same Standard world, lights on",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"day",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["doxa-research-map","gospel-resources"]},{id:"dawn",label:"Dawn",mood:"soft warm horizon — hopeful, quiet",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"dawn",maplibre:"https://tiles.openfreemap.org/styles/positron",bestFor:["doxa-simple-map"]},{id:"dusk",label:"Dusk",mood:"blue hour — calm contrast for bright pins",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"dusk",maplibre:"https://tiles.openfreemap.org/styles/dark",bestFor:["my-upg-100-list"]},{id:"paper",label:"Paper",mood:"near-white minimal — data reads like print",mapbox:"mapbox://styles/mapbox/light-v11",maplibre:"https://tiles.openfreemap.org/styles/positron",bestFor:["research-dashboard","cities-internet"]},{id:"ink",label:"Ink",mood:"near-black minimal — maximum pin contrast",mapbox:"mapbox://styles/mapbox/dark-v11",maplibre:"https://tiles.openfreemap.org/styles/dark",bestFor:["my-upg-100-list","cities-internet"]},{id:"streetlife",label:"Street Life",mood:"full street detail — city-scale work",mapbox:"mapbox://styles/mapbox/streets-v12",maplibre:"https://tiles.openfreemap.org/styles/bright",bestFor:["cities-internet","key-cities"]},{id:"terrain",label:"Terrain",mood:"relief + parks — where people actually live",mapbox:"mapbox://styles/mapbox/outdoors-v12",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["doxa-research-map","country-posters"]},{id:"satellite",label:"Satellite",mood:"imagery — the real ground",mapbox:"mapbox://styles/mapbox/satellite-v9",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["country-posters"]},{id:"hybrid",label:"Hybrid",mood:"imagery + labels — orientation without losing ground truth",mapbox:"mapbox://styles/mapbox/satellite-streets-v12",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["key-cities"]},{id:"wayfinder-day",label:"Wayfinder Day",mood:"high-legibility navigation palette",mapbox:"mapbox://styles/mapbox/navigation-day-v1",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["gospel-resources"]},{id:"wayfinder-night",label:"Wayfinder Night",mood:"dark navigation — dashboards at night",mapbox:"mapbox://styles/mapbox/navigation-night-v1",maplibre:"https://tiles.openfreemap.org/styles/dark",bestFor:["research-dashboard"]},{id:"galaxy",label:"Galaxy",mood:"the day side of Earth floating in space — normal land, blue oceans, black void behind the sphere",mapbox:"mapbox://styles/mapbox/standard",maplibre:"https://tiles.versatiles.org/assets/styles/colorful/style.json",bestFor:["research-dashboard","my-upg-100-list"]}].map(e=>[e.id,e]));function sc(e,t="mapbox"){const n=nc[e];return n?t==="maplibre"?{style:n.maplibre,lightPreset:void 0,paint:n.paint}:{style:n.mapbox,lightPreset:n.lightPreset,paint:n.paint}:/^(mapbox:\/\/|https?:\/\/)/.test(e)?{style:e,lightPreset:void 0,paint:void 0}:{style:void 0,lightPreset:void 0,paint:void 0}}function ic(e,t){if(!e||!Array.isArray(t))return[];const n=[];for(const s of t)if(!(!s||!s.layer||!s.prop))try{if(!e.getLayer(s.layer))continue;e.setPaintProperty(s.layer,s.prop,s.value),n.push(s.layer+"."+s.prop)}catch{}return n}const oc=["mapbox","maplibre"],po="mapbox";function rc(e){return e&&typeof e=="object"&&"value"in e&&!("provider"in e)&&!("profile"in e)?e.value:e}function lc(e){const t=rc(e),n=t==null?void 0:t.provider,s=typeof location<"u"?new URLSearchParams(location.search).get("provider"):void 0,i=typeof window<"u"?window.MAP_PROVIDER:void 0,o=String(n||s||i||po).toLowerCase().trim();return oc.includes(o)?o:po}const Pt={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 ho(e){if(typeof window>"u")return;const t=window,n=()=>{try{const s=e.getContainer().querySelector(".mapboxgl-ctrl-logo, .maplibregl-ctrl-logo");s&&(s.style.display="none")}catch{}};if(t.__doxaLogoOwner&&t.__doxaLogoOwner!==e){e.once("load",n),n();return}t.__doxaLogoOwner=e,e.once("remove",()=>{t.__doxaLogoOwner===e&&(t.__doxaLogoOwner=null)})}const cc=Pt.mapbox.css,ac="https://tiles.openfreemap.org/styles/liberty";function ms(e){var n;const t=((n=Pt[e])==null?void 0:n.global)||Pt.mapbox.global;return typeof window<"u"?window[t]:void 0}async function fc(e){const t=Pt[e]||Pt.mapbox;if(ms(e)||typeof document>"u")return;if(!document.querySelector(`link[href="${t.css}"]`)){const s=document.createElement("link");s.rel="stylesheet",s.href=t.css,document.head.appendChild(s)}const n=document.querySelector(`script[src="${t.js}"]`);if(n){if(ms(e))return;await new Promise(s=>{n.addEventListener("load",s,{once:!0}),n.addEventListener("error",s,{once:!0})});return}await new Promise((s,i)=>{const o=document.createElement("script");o.src=t.js,o.async=!1,o.addEventListener("load",s,{once:!0}),o.addEventListener("error",()=>i(new Error(`[useMapInstance] Failed to load ${e} engine script`)),{once:!0}),document.head.appendChild(o)})}async function uc(e,t){const n=e.getRootNode();if(!(n instanceof ShadowRoot))return;const s=r=>new Promise(l=>setTimeout(l,r)),i=n.querySelector(`link[href="${t}"]`);if(i){if(i.sheet)return;await Promise.race([new Promise(r=>{i.addEventListener("load",r,{once:!0}),i.addEventListener("error",r,{once:!0})}),s(2e3)]);return}const o=document.createElement("link");o.rel="stylesheet",o.href=t,await Promise.race([new Promise(r=>{o.addEventListener("load",r,{once:!0}),o.addEventListener("error",r,{once:!0}),n.prepend(o)}),s(2e3)])}function dc(e){return typeof e=="string"&&/^https?:\/\//.test(e)?e:ac}const pc=85.0511,bs=-2,hc=0,gc=-60;function go(e){return(1-Math.log(Math.tan(Math.PI/4+e*Math.PI/180/2))/Math.PI)/2}function mc(e,t,n,s){if(!e||e<=0||!t||t<=0)return hc;const i=Math.log2(e/512),o=go(s)-go(pc),r=Math.log2(t/(512*o)),l=Math.max(i,r);return Math.max(bs,Math.min(l,(n??18)-1))}function bc({containerRef:e,accessToken:t,style:n,config:s=void 0,provider:i=void 0,center:o=[20,10],zoom:r=2,minZoom:l=void 0,skipWorldFloor:c=!1,maxZoom:h=18,pitch:d=0,bearing:y=0,renderWorldCopies:S=!0,showEdgeBorders:E=!0,southCutoff:C=gc,maxBounds:R=void 0}){const L=Xo(null),$=yt(!1);let _=null,I=null,T=null,j=null;try{j=kt("profileConfig",null)}catch{}i=i||lc(j);const Q=i==="maplibre";async function le(){var xe;const Ee=sc(n,i),ve=Ee.style||n;if(!e.value){console.error("containerRef.value is null — call initializeMap() inside onMounted()");return}await fc(i);const be=ms(i);if(!be){console.error(`[useMapInstance] ${Q?"maplibregl":"mapboxgl"} is not available. Add the ${Q?"MapLibre":"Mapbox"} GL JS script to your page.`);return}if(!Q){if(!t&&typeof window<"u"&&typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN&&(t=window.MAP_TOKEN),!t){console.error('No Mapbox access token provided. Pass "tk" in profile-config JSON or set window.MAP_TOKEN.');return}if(!t.startsWith("pk.")){console.error('Mapbox token looks invalid (expected "pk." prefix). Got:',t.slice(0,10)+"...");return}}await uc(e.value,Q?Pt.maplibre.css:cc),await new Promise(N=>requestAnimationFrame(N));const te=e.value,Ke=te.clientWidth,ot=te.clientHeight;if(Ke===0||ot===0){console.error(`[useMapInstance] Container has ZERO dimensions (${Ke}×${ot}). Map will be invisible. Check that parent elements have CSS sizing.`);let N=te.parentElement,z=0;for(;N&&z<5;)N=N.parentElement,z++}const rt=t;Q||(be.accessToken=rt);const ne=()=>typeof window<"u"&&window.innerWidth>=1024,B=(N,z)=>{if(c)return typeof l=="number"?l:bs;if(!ne())return bs;const pe=mc(N,z,h,C);return typeof l=="number"?Math.max(l,pe):pe},H=B(te.clientWidth,te.clientHeight);if(Q){L.value=new be.Map({container:e.value,style:dc(ve),center:o,zoom:r,minZoom:H,maxZoom:h,pitch:d,bearing:y,dragRotate:!1,renderWorldCopies:S,...R?{maxBounds:R}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),ho(L.value);try{e.value.__doxaMap=L.value}catch{}}else{const N=typeof s=="function"?s():s;L.value=new be.Map({accessToken:rt,container:e.value,style:ve,...N?{config:N}:{},center:o,zoom:r,minZoom:H,maxZoom:h,pitch:d,bearing:y,dragRotate:!1,touchPitch:!1,renderWorldCopies:S,...R?{maxBounds:R}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),ho(L.value);try{e.value.__doxaMap=L.value}catch{}}try{let N=!1;L.value.on("error",z=>{var Me,et;const pe=((Me=z==null?void 0:z.error)==null?void 0:Me.status)??(z==null?void 0:z.status),Ue=String(((et=z==null?void 0:z.error)==null?void 0:et.url)||(z==null?void 0:z.sourceId)||"");pe!==401&&pe!==403||N||(N=!0,console.error(`[doxa-maps] Mapbox returned ${pe} for a TILE request while the style loaded fine. That is a URL RESTRICTION on the access token, not a bad token and not a bug in this map. Add this page's origin (${typeof location<"u"?location.origin:"this origin"}) to the token's URL restrictions in the Mapbox account. The map will keep its data layer and stay blank underneath until then.`+(Ue?` First failing request: ${Ue.slice(0,120)}`:"")))})}catch{}try{L.value.touchZoomRotate.disableRotation()}catch{}T=tc(((xe=e.value)==null?void 0:xe.parentElement)||null,{enabled:E});let we=H,se=null;_=()=>{const N=L.value;if(!N)return;const z=B(te.clientWidth,te.clientHeight);z!==we&&(we=z,N.setMinZoom(z)),N.getZoom(){se=null;const pe=L.value;if(!pe)return;const Ue=B(te.clientWidth,te.clientHeight);if(pe.getZoom(){se&&(clearTimeout(se),se=null)},L.value.on("resize",_),typeof window<"u"&&(window.addEventListener("resize",_),window.addEventListener("orientationchange",_)),L.value.on("style.load",()=>{if(Ee.paint&&L.value){const N=ic(L.value,Ee.paint);console.info("[useMapInstance] style paint applied ("+i+"):",N.join(", ")||"NONE MATCHED")}requestAnimationFrame(()=>{var N;(N=L.value)==null||N.resize(),L.value&&L.value.setMinZoom(B(te.clientWidth,te.clientHeight)),$.value=!0})})}function me(){if(L.value){if(_&&(L.value.off("resize",_),typeof window<"u"&&(window.removeEventListener("resize",_),window.removeEventListener("orientationchange",_)),_=null),I){try{I()}catch{}I=null}T&&(T(),T=null),L.value.remove(),L.value=null,$.value=!1}}return{map:L,isMapReady:$,initializeMap:le,destroy:me}}function yc(e,t){const n=_c(e);Qn(()=>{var l;const s=Ui();if(!s)return;const i=(l=s.proxy)==null?void 0:l.$el;if(!i)return;const o=i.getRootNode();if(!(o instanceof ShadowRoot)||o.querySelector(`style[data-shadow-styles="${n}"]`))return;const r=document.createElement("style");r.setAttribute("data-shadow-styles",n),r.textContent=e,o.appendChild(r)})}function _c(e){let t=0;for(let n=0;nwindow.addEventListener("load",function(){setTimeout(function(){window.focus();window.print()},150)})<\/script>'),s.close();const i=()=>{n.parentNode&&n.remove()};try{n.contentWindow.addEventListener("afterprint",()=>setTimeout(i,0))}catch{}return setTimeout(i,6e4),n.contentWindow}const wc={class:"pwp"},xc={class:"pwp-toolbar"},Sc=["aria-pressed"],Pc=["disabled"],Ec=["disabled"],Cc=["disabled"],Tc=["disabled"],Ac={class:"pwp-count"},Mc=["disabled"],Oc={key:0,class:"pwp-status"},Rc={class:"pwp-body"},Lc={class:"pwp-map"},Ic={class:"pwp-list"},Fc={key:0,class:"pwp-list-empty"},kc=["onClick"],Dc=["value","onKeydown","onBlur"],Nc=["onDblclick","title"],jc=["onClick","aria-label"],zt="pwp-draw",Gt="pwp-polygons",$c=Vl({__name:"prayer-walk-planner",props:{instanceId:{type:String,default:""}},setup(e,{expose:t}){const s=e.instanceId||"pwp-"+Math.random().toString(36).slice(2,10),i="prayer-walk-planner:v1:"+s,o=cn([]),r=yt(!1),l=yt([]),c=yt(""),h=yt(null),d=Yi(()=>o.filter(f=>f.selected).length);function y(){try{const f=window.localStorage.getItem(i);if(!f)return;const p=JSON.parse(f);Array.isArray(p)&&o.splice(0,o.length,...p.map(g=>({...g,selected:!1})))}catch(f){console.error("[prayer-walk-planner] failed to load localStorage:",f)}}function S(){try{const f=o.map(({selected:p,...g})=>g);window.localStorage.setItem(i,JSON.stringify(f))}catch(f){console.error("[prayer-walk-planner] failed to save localStorage:",f)}}const E=yt(null),{map:C,isMapReady:R,initializeMap:L,destroy:$}=bc({containerRef:E,provider:"maplibre",style:"daylight",center:[0,20],zoom:2,showEdgeBorders:!1});function _(f){if(f.length<3)return f;const[p,g]=f[0],[m,v]=f[f.length-1];return p===m&&g===v?f:[...f,f[0]]}function I(){return{type:"FeatureCollection",features:o.map(f=>({type:"Feature",id:f.id,properties:{id:f.id,title:f.title,selected:!!f.selected},geometry:{type:"Polygon",coordinates:[_(f.coords)]}}))}}function T(){const f=l.value;if(f.length===0)return{type:"FeatureCollection",features:[]};const p=[];return p.push({type:"Feature",geometry:{type:"MultiPoint",coordinates:f},properties:{}}),f.length>=2&&p.push({type:"Feature",geometry:{type:"LineString",coordinates:f},properties:{}}),f.length>=3&&p.push({type:"Feature",geometry:{type:"Polygon",coordinates:[_(f)]},properties:{preview:!0}}),{type:"FeatureCollection",features:p}}function j(){if(!C.value||!R.value)return;const f=C.value.getSource(Gt);f&&f.setData(I());const p=C.value.getSource(zt);p&&p.setData(T())}function Q(){C.value&&(C.value.addSource(Gt,{type:"geojson",data:I()}),C.value.addLayer({id:"pwp-polygons-fill",type:"fill",source:Gt,paint:{"fill-color":["case",["get","selected"],"#92b195","#6d766e"],"fill-opacity":["case",["get","selected"],.35,.18]}}),C.value.addLayer({id:"pwp-polygons-line",type:"line",source:Gt,paint:{"line-color":["case",["get","selected"],"#3b463d","#92b195"],"line-width":["case",["get","selected"],3,2]}}),C.value.addLayer({id:"pwp-polygons-label",type:"symbol",source:Gt,layout:{"text-field":["get","title"],"text-size":12,"text-anchor":"center"},paint:{"text-color":"#3b463d","text-halo-color":"#ffffff","text-halo-width":1.5}}),C.value.addSource(zt,{type:"geojson",data:T()}),C.value.addLayer({id:"pwp-draw-fill",type:"fill",source:zt,filter:["==","$type","Polygon"],paint:{"fill-color":"#92b195","fill-opacity":.25}}),C.value.addLayer({id:"pwp-draw-line",type:"line",source:zt,filter:["==","$type","LineString"],paint:{"line-color":"#3b463d","line-width":2,"line-dasharray":[2,1]}}),C.value.addLayer({id:"pwp-draw-points",type:"circle",source:zt,filter:["==","$type","Point"],paint:{"circle-radius":5,"circle-color":"#3b463d","circle-stroke-color":"#fff","circle-stroke-width":2}}),C.value.on("click","pwp-polygons-fill",f=>{var g,m,v;if(r.value)return;const p=(v=(m=(g=f.features)==null?void 0:g[0])==null?void 0:m.properties)==null?void 0:v.id;p!=null&&te(String(p))}),C.value.on("click",f=>{r.value&&(l.value=[...l.value,[f.lngLat.lng,f.lngLat.lat]],j())}),C.value.on("dblclick",()=>{r.value&&Ee()}))}function le(){r.value||(r.value=!0,l.value=[],c.value="Click to place points. Double-click (or Finish) to close the polygon.",C.value&&(C.value.getCanvas().style.cursor="crosshair"))}function me(){r.value=!1,l.value=[],c.value="",C.value&&(C.value.getCanvas().style.cursor=""),j()}function Ee(){if(l.value.length<3){c.value="Need at least 3 points to make a polygon.";return}const f=_(l.value),p="Zone "+(o.length+1);ve(f,p),r.value=!1,l.value=[],C.value&&(C.value.getCanvas().style.cursor=""),c.value="Polygon added.",setTimeout(()=>{c.value==="Polygon added."&&(c.value="")},2e3)}function ve(f,p){if(!Array.isArray(f)||f.length<3)throw new Error("[prayer-walk-planner] addPolygon needs at least 3 [lng,lat] points");const g="zone-"+Date.now().toString(36)+"-"+Math.random().toString(36).slice(2,7);return o.push({id:g,title:p||"Zone "+(o.length+1),coords:_(f),createdAt:new Date().toISOString(),selected:!1}),S(),j(),g}function be(f){const p=o.findIndex(g=>g.id===f);return p===-1?!1:(o.splice(p,1),S(),j(),!0)}function te(f,p){const g=o.find(m=>m.id===f);return g?(g.selected=p===void 0?!g.selected:!!p,j(),!0):!1}function Ke(){o.forEach(f=>{f.selected=!1}),j()}function ot(f){let p=0,g=0;const m=f.length;for(const[v,w]of f)p+=v,g+=w;return[p/m,g/m]}function rt(f,p){const g=p>=0?"N":"S",m=f>=0?"E":"W";return Math.abs(p).toFixed(5)+"°"+g+", "+Math.abs(f).toFixed(5)+"°"+m}async function ne(f){const p=f&&f.length?o.filter(b=>f.includes(b.id)):o.filter(b=>b.selected);if(p.length===0)return c.value="Select at least one polygon to print.",{opened:!1,count:0};const g=b=>String(b??"").replace(/[<>&]/g,O=>({"<":"<",">":">","&":"&"})[O]),m={};if(C.value){const b=C.value,O=b.getCenter(),P=b.getZoom(),M=()=>new Promise(A=>{b.once("idle",A),setTimeout(A,4e3)});for(const A of p)try{let D=1/0,W=1/0,U=-1/0,X=-1/0;for(const[J,ce]of A.coords)JU&&(U=J),ceX&&(X=ce);b.fitBounds([[D,W],[U,X]],{padding:72,duration:0,maxZoom:17}),await M(),m[A.id]=await new Promise(J=>{b.once("render",()=>{try{J(b.getCanvas().toDataURL("image/png"))}catch{J(null)}}),b.triggerRepaint()}),m[A.id]||delete m[A.id]}catch{}try{b.jumpTo({center:O,zoom:P})}catch{}}const v=p.map(b=>{const[O,P]=ot(b.coords),M=b.coords.slice(0,-1).map(([D,W])=>rt(D,W)).join("  ·  "),A=m[b.id];return'

'+g(b.title)+'

Prayer walking map · centre '+rt(O,P)+"

"+(A?'
Walking map of '+g(b.title)+'
':"")+'

Walk the streets of this zone and pray for the people who live, work and worship along them.

Zone corners

'+M+'

"}).join(""),w="Prayer Walking Plan — "+p.length+(p.length===1?" zone":" zones");return vc(''+g(w)+''+v+"",{autoprint:!0})?{opened:!0,count:p.length}:(c.value="Print frame unavailable in this host.",{opened:!1,count:0})}function B(f,p){return ve(f,p)}function H(f){return be(f)}function we(f,p=!0){return te(f,p)}function se(){Ke()}function xe(){return o.map(f=>({...f}))}function N(f){const p=o.find(g=>g.id===f);return p?{...p}:null}function z(f=null){return ne(f)}t({addPolygon:B,deletePolygon:H,selectPolygon:we,clearSelection:se,listPolygons:xe,getPolygon:N,print:z,startDrawing:le,stopDrawing:me,instanceId:s});function pe(){if(typeof window>"u")return;const f={addPolygon:B,deletePolygon:H,selectPolygon:we,clearSelection:se,listPolygons:xe,getPolygon:N,print:z,startDrawing:le,stopDrawing:me,instanceId:s};window.PrayerWalkPlanner=window.PrayerWalkPlanner||{instances:{}},window.PrayerWalkPlanner.instances[s]=f,window.PrayerWalkPlanner.first=()=>{const p=Object.keys(window.PrayerWalkPlanner.instances);return p.length?window.PrayerWalkPlanner.instances[p[0]]:null}}function Ue(){typeof window>"u"||!window.PrayerWalkPlanner||delete window.PrayerWalkPlanner.instances[s]}function Me(){r.value?me():le()}function et(){Ee()}function qt(){o.filter(p=>p.selected).map(p=>p.id).forEach(p=>be(p))}function En(){o.forEach(f=>{f.selected=!0}),j()}function ht(){Ke()}function mo(){ne(null)}function a(f){h.value=f}function u(f,p){const g=o.find(m=>m.id===f);g&&(g.title=(p||"").trim()||g.title,S(),j()),h.value=null}return Qn(async()=>{y(),pe(),await Gn();try{await L(),C.value&&C.value.on("load",()=>{Q(),j()})}catch(f){console.error("[prayer-walk-planner] map failed to initialize — polygon list, localStorage and print still work:",f),c.value="Map failed to load (no WebGL?) — drawing needs the map, but your saved zones and Print still work."}}),ui(()=>{Ue(),$()}),yc(":host{display:block;position:relative;width:100%;height:100%;min-height:420px}.pwp{position:absolute;inset:0;display:flex;flex-direction:column;background:#f3f3f1;color:#3b463d;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.pwp-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;background:#fff;border-bottom:1px solid #d1d4cd;z-index:5}.pwp-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:6px;border:1px solid #d1d4cd;background:#fff;color:#3b463d;font-size:13px;font-weight:600;cursor:pointer}.pwp-btn:hover{border-color:#92b195}.pwp-btn.is-active{background:#92b195;border-color:#92b195;color:#fff}.pwp-btn.is-accent{background:#92b195;border-color:#92b195;color:#fff}.pwp-btn.is-accent:hover{opacity:.9}.pwp-btn:disabled{opacity:.45;cursor:not-allowed}.pwp-btn.is-danger{color:#8a3b3b;border-color:#e0c4c4}.pwp-spacer{flex:1}.pwp-count{font-size:12px;color:#6d766e}.pwp-status{padding:6px 12px;font-size:12px;color:#6d766e;background:#fff;border-bottom:1px solid #d1d4cd}.pwp-body{position:relative;flex:1;min-height:0;display:flex}.pwp-map{position:relative;flex:1;min-width:0}.pwp-map-el{position:absolute;inset:0}.pwp-list{width:260px;flex-shrink:0;overflow-y:auto;background:#fff;border-left:1px solid #d1d4cd;padding:8px}.pwp-list-empty{padding:16px 10px;font-size:12px;color:#6d766e}.pwp-item{display:flex;align-items:center;gap:8px;padding:8px;border-radius:6px;margin-bottom:4px;border:1px solid transparent;cursor:pointer}.pwp-item:hover{background:#f3f3f1}.pwp-item.is-selected{background:rgba(146,177,149,.18);border-color:#92b195}.pwp-item-title{flex:1;font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pwp-item-title-input{flex:1;font-size:13px;font-weight:600;padding:2px 4px;border:1px solid #92b195;border-radius:4px}.pwp-item-del{border:none;background:transparent;color:#8a3b3b;cursor:pointer;font-size:14px;padding:2px 6px;border-radius:4px}.pwp-item-del:hover{background:rgba(138,59,59,.12)}@media (max-width:640px){.pwp-list{display:none}}"),(f,p)=>(Ze(),it("div",wc,[ue("div",xc,[ue("button",{type:"button",class:Tt(["pwp-btn",{"is-active":r.value}]),"aria-pressed":r.value,onClick:Me},lt(r.value?"Drawing… (click map)":"Draw polygon"),11,Sc),r.value?(Ze(),it("button",{key:0,type:"button",class:"pwp-btn is-accent",disabled:l.value.length<3,onClick:et}," Finish polygon ("+lt(l.value.length)+" pts) ",9,Pc)):as("",!0),ue("button",{type:"button",class:"pwp-btn is-danger",disabled:d.value===0,onClick:qt,"aria-label":"Delete selected polygons"}," Delete selected ",8,Ec),ue("button",{type:"button",class:"pwp-btn",disabled:o.length===0,onClick:En}," Select all ",8,Cc),ue("button",{type:"button",class:"pwp-btn",disabled:d.value===0,onClick:ht}," Clear selection ",8,Tc),p[1]||(p[1]=ue("div",{class:"pwp-spacer"},null,-1)),ue("span",Ac,lt(d.value)+" / "+lt(o.length)+" selected",1),ue("button",{type:"button",class:"pwp-btn is-accent",disabled:d.value===0,onClick:mo,"aria-label":"Print selected prayer-walking zones"}," Print selected ",8,Mc)]),c.value?(Ze(),it("div",Oc,lt(c.value),1)):as("",!0),ue("div",Rc,[ue("div",Lc,[ue("div",{ref_key:"mapContainer",ref:E,class:"pwp-map-el"},null,512)]),ue("div",Ic,[o.length===0?(Ze(),it("div",Fc," No zones yet — draw a polygon on the map to start a prayer-walking plan. ")):as("",!0),(Ze(!0),it(je,null,Rr(o,g=>(Ze(),it("div",{key:g.id,class:Tt(["pwp-item",{"is-selected":g.selected}]),onClick:m=>te(g.id)},[h.value===g.id?(Ze(),it("input",{key:0,class:"pwp-item-title-input",type:"text",value:g.title,onClick:p[0]||(p[0]=gs(()=>{},["stop"])),onKeydown:Yl(m=>u(g.id,m.target.value),["enter"]),onBlur:m=>u(g.id,m.target.value),autofocus:""},null,40,Dc)):(Ze(),it("span",{key:1,class:"pwp-item-title",onDblclick:gs(m=>a(g.id),["stop"]),title:g.title},lt(g.title),41,Nc)),ue("button",{type:"button",class:"pwp-item-del",onClick:gs(m=>be(g.id),["stop"]),"aria-label":"Delete "+g.title}," Delete ",8,jc)],10,kc))),128))])])]))}});typeof customElements<"u"&&!customElements.get("prayer-walk-planner")&&customElements.define("prayer-walk-planner",$c)})(); +**/let us;const Ji=typeof window<"u"&&window.trustedTypes;if(Ji)try{us=Ji.createPolicy("vue",{createHTML:e=>e})}catch{}const Zi=us?e=>us.createHTML(e):e=>e,wl="http://www.w3.org/2000/svg",xl="http://www.w3.org/1998/Math/MathML",et=typeof document<"u"?document:null,Xi=et&&et.createElement("template"),Sl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const i=t==="svg"?et.createElementNS(wl,e):t==="mathml"?et.createElementNS(xl,e):n?et.createElement(e,{is:n}):et.createElement(e);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:e=>et.createTextNode(e),createComment:e=>et.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>et.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,i,o){const r=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{Xi.innerHTML=Zi(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=Xi.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Pl=Symbol("_vtc");function El(e,t,n){const s=e[Pl];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Qi=Symbol("_vod"),Cl=Symbol("_vsh"),Tl=Symbol(""),Al=/(?:^|;)\s*display\s*:/;function Ml(e,t,n){const s=e.style,i=Z(n);let o=!1;if(n&&!i){if(t)if(Z(t))for(const r of t.split(";")){const l=r.slice(0,r.indexOf(":")).trim();n[l]==null&&zt(s,l,"")}else for(const r in t)n[r]==null&&zt(s,r,"");for(const r in n){r==="display"&&(o=!0);const l=n[r];l!=null?Rl(e,r,!Z(t)&&t?t[r]:void 0,l)||zt(s,r,l):zt(s,r,"")}}else if(i){if(t!==n){const r=s[Tl];r&&(n+=";"+r),s.cssText=n,o=Al.test(n)}}else t&&e.removeAttribute("style");Qi in e&&(e[Qi]=o?s.display:"",e[Cl]&&(s.display="none"))}const Pn=/\s*!important$/;function zt(e,t,n){if(F(n))n.forEach(s=>zt(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))Pn.test(n)?e.setProperty(t,n.replace(Pn,""),"important"):e.setProperty(t,n);else{const s=Ol(e,t);Pn.test(n)?e.setProperty(ve(s),n.replace(Pn,""),"important"):e[s]=n}}const eo=["Webkit","Moz","ms"],ds={};function Ol(e,t){const n=ds[t];if(n)return n;let s=ge(t);if(s!=="filter"&&s in e)return ds[t]=s;s=xs(s);for(let i=0;ips||(jl.then(()=>ps=0),ps=Date.now());function Hl(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const i=n.value;if(F(i)){const o=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{o.call(s),s._stopped=!0};const r=i.slice(),l=[s];for(let c=0;ce.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Wl=(e,t,n,s,i,o)=>{const r=i==="svg";t==="class"?El(e,s,r):t==="style"?Ml(e,n,s):Jt(t)?Zt(t)||Fl(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Kl(e,t,s,r))?(so(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&no(e,t,s,r,o,t!=="value")):e._isVueCE&&(Ul(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Z(s)))?so(e,ge(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),no(e,t,s,r))};function Kl(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&oo(t)&&k(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return oo(t)&&Z(n)?!1:t in e}function Ul(e,t){const n=e._def.props;if(!n)return!1;const s=ge(t);return Array.isArray(n)?n.some(i=>ge(i)===s):Object.keys(n).some(i=>ge(i)===s)}const ro={};function Vl(e,t,n){let s=_r(e,t);Qt(s)&&(s=ee({},s,t));class i extends hs{constructor(r){super(s,r,n)}}return i.def=s,i}const Bl=typeof HTMLElement<"u"?HTMLElement:class{};class hs extends Bl{constructor(t,n={},s=ao){super(),this._def=t,this._props=n,this._createApp=s,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&&s!==ao?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(ee({},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 hs){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,Gn(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const n of t)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let s=0;s{this._resolved=!0,this._pendingResolve=void 0;const{props:o,styles:r}=s;let l;if(o&&!F(o))for(const c in o){const h=o[c];(h===Number||h&&h.type===Number)&&(c in this._props&&(this._props[c]=Ps(this._props[c])),(l||(l=Object.create(null)))[ge(c)]=!0)}this._numberProps=l,this._resolveProps(s),this.shadowRoot&&this._applyStyles(r),this._mount(s)},n=this._def.__asyncLoader;if(n)return this._pendingResolve=n().then(s=>{s.configureApp=this._def.configureApp,t(this._def=s,!0)}),this._pendingResolve;t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const s in n)V(this,s)||Object.defineProperty(this,s,{get:()=>Ys(n[s])})}_resolveProps(t){const{props:n}=t,s=F(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&s.includes(i)&&this._setProp(i,this[i]);for(const i of s.map(ge))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(o){this._setProp(i,o,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let s=n?this.getAttribute(t):ro;const i=ge(t);n&&this._numberProps&&this._numberProps[i]&&(s=Ps(s)),this._setProp(i,s,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,i=!1){if(n!==this._props[t]&&(this._dirty=!0,n===ro?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),i&&this._instance&&this._update(),s)){const o=this._ob;o&&(this._processMutations(o.takeRecords()),o.disconnect()),n===!0?this.setAttribute(ve(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(ve(t),n+""):n||this.removeAttribute(ve(t)),o&&o.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Zl(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=$e(this._def,ee(t,this._props));return this._instance||(n.ce=s=>{this._instance=s,s.ce=this,s.isCE=!0;const i=(o,r)=>{this.dispatchEvent(new CustomEvent(o,Qt(r[0])?ee({detail:r},r[0]):{detail:r}))};s.emit=(o,...r)=>{i(o,r),ve(o)!==o&&i(ve(o),r)},this._setParent()}),n}_applyStyles(t,n,s){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const i=this._nonce,o=this.shadowRoot,r=s?this._getStyleAnchor(s)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(o);let l=null;for(let c=t.length-1;c>=0;c--){const h=document.createElement("style");i&&h.setAttribute("nonce",i),h.textContent=t[c],o.insertBefore(h,l||r),l=h,c===0&&(s||this._styleAnchors.set(this._def,h),n&&this._styleAnchors.set(n,h))}}_getStyleAnchor(t){if(!t)return null;const n=this._styleAnchors.get(t);return n&&n.parentNode===this.shadowRoot?n:(n&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let n=0;ne.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)=>zl.some(n=>e[`${n}Key`]&&!t.includes(n))},gs=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(i,...o)=>{for(let r=0;r{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=i=>{if(!("key"in i))return;const o=ve(i.key);if(t.some(r=>r===o||ql[r]===o))return e(i)})},Jl=ee({patchProp:Wl},Sl);let lo;function co(){return lo||(lo=Qr(Jl))}const Zl=(...e)=>{co().render(...e)},ao=(...e)=>{const t=co().createApp(...e),{mount:n}=t;return t.mount=s=>{const i=Ql(s);if(!i)return;const o=t._component;!k(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const r=n(i,!1,Xl(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},t};function Xl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ql(e){return Z(e)?document.querySelector(e):e}const ec="rgba(120, 128, 134, 0.28)",fo="36px",uo=()=>{};function tc(e,t={}){const{enabled:n=!0}=t;if(!n||!e)return uo;const s=Array.from(e.querySelectorAll(".map-scroll-edge"));if(!s.length)return uo;const i=_=>_.classList.contains("map-scroll-edge--left");for(const _ of s)_.style.background=`linear-gradient(${i(_)?"to right":"to left"}, ${ec} ${fo}, transparent ${fo})`,_.style.opacity="0",_.style.transition="opacity 0.16s ease",_.style.userSelect="none",_.style.webkitUserSelect="none";const o=_=>{_.style.opacity="1"},r=_=>{_.style.opacity="0"},l=()=>s.find(_=>!i(_))||null,c=new Set;let h=!1,d=null;const y=()=>{for(const _ of s)c.has(_)||r(_)},S=()=>{const _=l();_&&(o(_),d&&clearTimeout(d),d=setTimeout(y,250))},E=()=>S(),C=_=>{if(!(_.touches&&_.touches.length===1))return;const I=_.target;I&&I.classList&&I.classList.contains("map-scroll-edge")||S()},R=()=>{d&&clearTimeout(d),y()};e.addEventListener("wheel",E,{passive:!0}),e.addEventListener("touchmove",C,{passive:!0}),e.addEventListener("touchend",R,{passive:!0}),e.addEventListener("touchcancel",R,{passive:!0});const L=()=>{h||S()};typeof window<"u"&&window.addEventListener("scroll",L,{passive:!0});const $=[];for(const _ of s){const I=()=>{c.add(_),o(_)},T=()=>{c.delete(_),r(_)},N=()=>{h=!0,o(_)},Q=()=>{h=!1,r(_)};_.addEventListener("mouseenter",I),_.addEventListener("mouseleave",T),_.addEventListener("touchstart",N,{passive:!0}),_.addEventListener("touchend",Q,{passive:!0}),$.push(()=>{_.removeEventListener("mouseenter",I),_.removeEventListener("mouseleave",T),_.removeEventListener("touchstart",N),_.removeEventListener("touchend",Q)})}return function(){d&&(clearTimeout(d),d=null),e.removeEventListener("wheel",E),e.removeEventListener("touchmove",C),e.removeEventListener("touchend",R),e.removeEventListener("touchcancel",R),typeof window<"u"&&window.removeEventListener("scroll",L);for(const I of $)I();for(const I of s)r(I)}}const nc=Object.fromEntries([{id:"midnight-glow",label:"Midnight Glow",mood:"the prayer-map dark — pins glow like embers",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"night",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["doxa-simple-map","my-upg-100-list"]},{id:"daylight",label:"Daylight",mood:"the same Standard world, lights on",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"day",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["doxa-research-map","gospel-resources"]},{id:"dawn",label:"Dawn",mood:"soft warm horizon — hopeful, quiet",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"dawn",maplibre:"https://tiles.openfreemap.org/styles/positron",bestFor:["doxa-simple-map"]},{id:"dusk",label:"Dusk",mood:"blue hour — calm contrast for bright pins",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"dusk",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["my-upg-100-list"]},{id:"paper",label:"Paper",mood:"near-white minimal — data reads like print",mapbox:"mapbox://styles/mapbox/light-v11",maplibre:"https://tiles.openfreemap.org/styles/positron",bestFor:["research-dashboard","cities-internet"]},{id:"ink",label:"Ink",mood:"near-black minimal — maximum pin contrast",mapbox:"mapbox://styles/mapbox/dark-v11",maplibre:"https://tiles.openfreemap.org/styles/dark",bestFor:["my-upg-100-list","cities-internet"]},{id:"streetlife",label:"Street Life",mood:"full street detail — city-scale work",mapbox:"mapbox://styles/mapbox/streets-v12",maplibre:"https://tiles.openfreemap.org/styles/bright",bestFor:["cities-internet","key-cities"]},{id:"terrain",label:"Terrain",mood:"relief + parks — where people actually live",mapbox:"mapbox://styles/mapbox/outdoors-v12",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["doxa-research-map","country-posters"]},{id:"satellite",label:"Satellite",mood:"imagery — the real ground",mapbox:"mapbox://styles/mapbox/satellite-v9",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["country-posters"]},{id:"hybrid",label:"Hybrid",mood:"imagery + labels — orientation without losing ground truth",mapbox:"mapbox://styles/mapbox/satellite-streets-v12",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["key-cities"]},{id:"wayfinder-day",label:"Wayfinder Day",mood:"high-legibility navigation palette",mapbox:"mapbox://styles/mapbox/navigation-day-v1",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["gospel-resources"]},{id:"wayfinder-night",label:"Wayfinder Night",mood:"dark navigation — dashboards at night",mapbox:"mapbox://styles/mapbox/navigation-night-v1",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["research-dashboard"]},{id:"galaxy",label:"Galaxy",mood:"the day side of Earth floating in space — normal land, blue oceans, black void behind the sphere",mapbox:"mapbox://styles/mapbox/standard",maplibre:"https://tiles.versatiles.org/assets/styles/colorful/style.json",bestFor:["research-dashboard","my-upg-100-list"]}].map(e=>[e.id,e]));function sc(e,t="mapbox"){const n=nc[e];return n?t==="maplibre"?{style:n.maplibre,lightPreset:void 0,paint:n.paint}:{style:n.mapbox,lightPreset:n.lightPreset,paint:n.paint}:/^(mapbox:\/\/|https?:\/\/)/.test(e)?{style:e,lightPreset:void 0,paint:void 0}:{style:void 0,lightPreset:void 0,paint:void 0}}function ic(e,t){if(!e||!Array.isArray(t))return[];const n=[];for(const s of t)if(!(!s||!s.layer||!s.prop))try{if(!e.getLayer(s.layer))continue;e.setPaintProperty(s.layer,s.prop,s.value),n.push(s.layer+"."+s.prop)}catch{}return n}const oc=["mapbox","maplibre"],po="mapbox";function rc(e){return e&&typeof e=="object"&&"value"in e&&!("provider"in e)&&!("profile"in e)?e.value:e}function lc(e){const t=rc(e),n=t==null?void 0:t.provider,s=typeof location<"u"?new URLSearchParams(location.search).get("provider"):void 0,i=typeof window<"u"?window.MAP_PROVIDER:void 0,o=String(n||s||i||po).toLowerCase().trim();return oc.includes(o)?o:po}const Et={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 ho(e){if(typeof window>"u")return;const t=window,n=()=>{try{const s=e.getContainer().querySelector(".mapboxgl-ctrl-logo, .maplibregl-ctrl-logo");s&&(s.style.display="none")}catch{}};if(t.__doxaLogoOwner&&t.__doxaLogoOwner!==e){e.once("load",n),n();return}t.__doxaLogoOwner=e,e.once("remove",()=>{t.__doxaLogoOwner===e&&(t.__doxaLogoOwner=null)})}const cc=Et.mapbox.css,ac="https://tiles.openfreemap.org/styles/liberty",fc="https://tiles.openfreemap.org/styles/fiord";function ms(e){var n;const t=((n=Et[e])==null?void 0:n.global)||Et.mapbox.global;return typeof window<"u"?window[t]:void 0}async function uc(e){const t=Et[e]||Et.mapbox;if(ms(e)||typeof document>"u")return;if(!document.querySelector(`link[href="${t.css}"]`)){const s=document.createElement("link");s.rel="stylesheet",s.href=t.css,document.head.appendChild(s)}const n=document.querySelector(`script[src="${t.js}"]`);if(n){if(ms(e))return;await new Promise(s=>{n.addEventListener("load",s,{once:!0}),n.addEventListener("error",s,{once:!0})});return}await new Promise((s,i)=>{const o=document.createElement("script");o.src=t.js,o.async=!1,o.addEventListener("load",s,{once:!0}),o.addEventListener("error",()=>i(new Error(`[useMapInstance] Failed to load ${e} engine script`)),{once:!0}),document.head.appendChild(o)})}async function dc(e,t){const n=e.getRootNode();if(!(n instanceof ShadowRoot))return;const s=r=>new Promise(l=>setTimeout(l,r)),i=n.querySelector(`link[href="${t}"]`);if(i){if(i.sheet)return;await Promise.race([new Promise(r=>{i.addEventListener("load",r,{once:!0}),i.addEventListener("error",r,{once:!0})}),s(2e3)]);return}const o=document.createElement("link");o.rel="stylesheet",o.href=t,await Promise.race([new Promise(r=>{o.addEventListener("load",r,{once:!0}),o.addEventListener("error",r,{once:!0}),n.prepend(o)}),s(2e3)])}function pc(e,t){return typeof e=="string"&&/^https?:\/\//.test(e)?e:t==="night"||t==="dusk"?fc:ac}const hc=85.0511,bs=-2,gc=0,mc=-60;function go(e){return(1-Math.log(Math.tan(Math.PI/4+e*Math.PI/180/2))/Math.PI)/2}function bc(e,t,n,s){if(!e||e<=0||!t||t<=0)return gc;const i=Math.log2(e/512),o=go(s)-go(hc),r=Math.log2(t/(512*o)),l=Math.max(i,r);return Math.max(bs,Math.min(l,(n??18)-1))}function yc({containerRef:e,accessToken:t,style:n,config:s=void 0,provider:i=void 0,center:o=[20,10],zoom:r=2,minZoom:l=void 0,skipWorldFloor:c=!1,maxZoom:h=18,pitch:d=0,bearing:y=0,renderWorldCopies:S=!0,showEdgeBorders:E=!0,southCutoff:C=mc,maxBounds:R=void 0}){const L=Xo(null),$=_t(!1);let _=null,I=null,T=null,N=null;try{N=Dt("profileConfig",null)}catch{}i=i||lc(N);const Q=i==="maplibre";async function le(){var ce;const xe=sc(n,i),Se=xe.style||n;if(!e.value){console.error("containerRef.value is null — call initializeMap() inside onMounted()");return}await uc(i);const ye=ms(i);if(!ye){console.error(`[useMapInstance] ${Q?"maplibregl":"mapboxgl"} is not available. Add the ${Q?"MapLibre":"Mapbox"} GL JS script to your page.`);return}if(!Q){if(!t&&typeof window<"u"&&typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN&&(t=window.MAP_TOKEN),!t){console.error('No Mapbox access token provided. Pass "tk" in profile-config JSON or set window.MAP_TOKEN.');return}if(!t.startsWith("pk.")){console.error('Mapbox token looks invalid (expected "pk." prefix). Got:',t.slice(0,10)+"...");return}}await dc(e.value,Q?Et.maplibre.css:cc),await new Promise(j=>requestAnimationFrame(j));const ne=e.value,Ke=ne.clientWidth,ot=ne.clientHeight;if(Ke===0||ot===0){console.error(`[useMapInstance] Container has ZERO dimensions (${Ke}×${ot}). Map will be invisible. Check that parent elements have CSS sizing.`);let j=ne.parentElement,z=0;for(;j&&z<5;)j=j.parentElement,z++}const rt=t;Q||(ye.accessToken=rt);const se=()=>typeof window<"u"&&window.innerWidth>=1024,B=(j,z)=>{if(c)return typeof l=="number"?l:bs;if(!se())return bs;const he=bc(j,z,h,C);return typeof l=="number"?Math.max(l,he):he},H=B(ne.clientWidth,ne.clientHeight),Ce=xe.lightPreset||(()=>{var j;try{const z=typeof s=="function"?s():s;return(j=z==null?void 0:z.basemap)==null?void 0:j.lightPreset}catch{return}})();if(Q){L.value=new ye.Map({container:e.value,style:pc(Se,Ce),center:o,zoom:r,minZoom:H,maxZoom:h,pitch:d,bearing:y,dragRotate:!1,renderWorldCopies:S,...R?{maxBounds:R}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),ho(L.value);try{e.value.__doxaMap=L.value}catch{}}else{const j=typeof s=="function"?s():s;L.value=new ye.Map({accessToken:rt,container:e.value,style:Se,...j?{config:j}:{},center:o,zoom:r,minZoom:H,maxZoom:h,pitch:d,bearing:y,dragRotate:!1,touchPitch:!1,renderWorldCopies:S,...R?{maxBounds:R}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),ho(L.value);try{e.value.__doxaMap=L.value}catch{}}try{let j=!1;L.value.on("error",z=>{var Ve,lt;const he=((Ve=z==null?void 0:z.error)==null?void 0:Ve.status)??(z==null?void 0:z.status),_e=String(((lt=z==null?void 0:z.error)==null?void 0:lt.url)||(z==null?void 0:z.sourceId)||"");he!==401&&he!==403||j||(j=!0,console.error(`[doxa-maps] Mapbox returned ${he} for a TILE request while the style loaded fine. That is a URL RESTRICTION on the access token, not a bad token and not a bug in this map. Add this page's origin (${typeof location<"u"?location.origin:"this origin"}) to the token's URL restrictions in the Mapbox account. The map will keep its data layer and stay blank underneath until then.`+(_e?` First failing request: ${_e.slice(0,120)}`:"")))})}catch{}try{L.value.touchZoomRotate.disableRotation()}catch{}T=tc(((ce=e.value)==null?void 0:ce.parentElement)||null,{enabled:E});let Ue=H,te=null;_=()=>{const j=L.value;if(!j)return;const z=B(ne.clientWidth,ne.clientHeight);z!==Ue&&(Ue=z,j.setMinZoom(z)),j.getZoom(){te=null;const he=L.value;if(!he)return;const _e=B(ne.clientWidth,ne.clientHeight);if(he.getZoom()<_e)try{he.jumpTo({zoom:_e})}catch{he.setZoom(_e)}},150)):te&&(clearTimeout(te),te=null)},I=()=>{te&&(clearTimeout(te),te=null)},L.value.on("resize",_),typeof window<"u"&&(window.addEventListener("resize",_),window.addEventListener("orientationchange",_)),L.value.on("style.load",()=>{if(xe.paint&&L.value){const j=ic(L.value,xe.paint);console.info("[useMapInstance] style paint applied ("+i+"):",j.join(", ")||"NONE MATCHED")}requestAnimationFrame(()=>{var j;(j=L.value)==null||j.resize(),L.value&&L.value.setMinZoom(B(ne.clientWidth,ne.clientHeight)),$.value=!0})})}function be(){if(L.value){if(_&&(L.value.off("resize",_),typeof window<"u"&&(window.removeEventListener("resize",_),window.removeEventListener("orientationchange",_)),_=null),I){try{I()}catch{}I=null}T&&(T(),T=null),L.value.remove(),L.value=null,$.value=!1}}return{map:L,isMapReady:$,initializeMap:le,destroy:be}}function _c(e,t){const n=vc(e);Qn(()=>{var l;const s=Ui();if(!s)return;const i=(l=s.proxy)==null?void 0:l.$el;if(!i)return;const o=i.getRootNode();if(!(o instanceof ShadowRoot)||o.querySelector(`style[data-shadow-styles="${n}"]`))return;const r=document.createElement("style");r.setAttribute("data-shadow-styles",n),r.textContent=e,o.appendChild(r)})}function vc(e){let t=0;for(let n=0;nwindow.addEventListener("load",function(){setTimeout(function(){window.focus();window.print()},150)})<\/script>'),s.close();const i=()=>{n.parentNode&&n.remove()};try{n.contentWindow.addEventListener("afterprint",()=>setTimeout(i,0))}catch{}return setTimeout(i,6e4),n.contentWindow}const xc={class:"pwp"},Sc={class:"pwp-toolbar"},Pc=["aria-pressed"],Ec=["disabled"],Cc=["disabled"],Tc=["disabled"],Ac=["disabled"],Mc={class:"pwp-count"},Oc=["disabled"],Rc={key:0,class:"pwp-status"},Lc={class:"pwp-body"},Ic={class:"pwp-map"},Fc={class:"pwp-list"},kc={key:0,class:"pwp-list-empty"},Dc=["onClick"],Nc=["value","onKeydown","onBlur"],jc=["onDblclick","title"],$c=["onClick","aria-label"],Gt="pwp-draw",qt="pwp-polygons",Hc=Vl({__name:"prayer-walk-planner",props:{instanceId:{type:String,default:""}},setup(e,{expose:t}){const s=e.instanceId||"pwp-"+Math.random().toString(36).slice(2,10),i="prayer-walk-planner:v1:"+s,o=cn([]),r=_t(!1),l=_t([]),c=_t(""),h=_t(null),d=Yi(()=>o.filter(f=>f.selected).length);function y(){try{const f=window.localStorage.getItem(i);if(!f)return;const p=JSON.parse(f);Array.isArray(p)&&o.splice(0,o.length,...p.map(g=>({...g,selected:!1})))}catch(f){console.error("[prayer-walk-planner] failed to load localStorage:",f)}}function S(){try{const f=o.map(({selected:p,...g})=>g);window.localStorage.setItem(i,JSON.stringify(f))}catch(f){console.error("[prayer-walk-planner] failed to save localStorage:",f)}}const E=_t(null),{map:C,isMapReady:R,initializeMap:L,destroy:$}=yc({containerRef:E,provider:"maplibre",style:"daylight",center:[0,20],zoom:2,showEdgeBorders:!1});function _(f){if(f.length<3)return f;const[p,g]=f[0],[m,v]=f[f.length-1];return p===m&&g===v?f:[...f,f[0]]}function I(){return{type:"FeatureCollection",features:o.map(f=>({type:"Feature",id:f.id,properties:{id:f.id,title:f.title,selected:!!f.selected},geometry:{type:"Polygon",coordinates:[_(f.coords)]}}))}}function T(){const f=l.value;if(f.length===0)return{type:"FeatureCollection",features:[]};const p=[];return p.push({type:"Feature",geometry:{type:"MultiPoint",coordinates:f},properties:{}}),f.length>=2&&p.push({type:"Feature",geometry:{type:"LineString",coordinates:f},properties:{}}),f.length>=3&&p.push({type:"Feature",geometry:{type:"Polygon",coordinates:[_(f)]},properties:{preview:!0}}),{type:"FeatureCollection",features:p}}function N(){if(!C.value||!R.value)return;const f=C.value.getSource(qt);f&&f.setData(I());const p=C.value.getSource(Gt);p&&p.setData(T())}function Q(){C.value&&(C.value.addSource(qt,{type:"geojson",data:I()}),C.value.addLayer({id:"pwp-polygons-fill",type:"fill",source:qt,paint:{"fill-color":["case",["get","selected"],"#92b195","#6d766e"],"fill-opacity":["case",["get","selected"],.35,.18]}}),C.value.addLayer({id:"pwp-polygons-line",type:"line",source:qt,paint:{"line-color":["case",["get","selected"],"#3b463d","#92b195"],"line-width":["case",["get","selected"],3,2]}}),C.value.addLayer({id:"pwp-polygons-label",type:"symbol",source:qt,layout:{"text-field":["get","title"],"text-size":12,"text-anchor":"center"},paint:{"text-color":"#3b463d","text-halo-color":"#ffffff","text-halo-width":1.5}}),C.value.addSource(Gt,{type:"geojson",data:T()}),C.value.addLayer({id:"pwp-draw-fill",type:"fill",source:Gt,filter:["==","$type","Polygon"],paint:{"fill-color":"#92b195","fill-opacity":.25}}),C.value.addLayer({id:"pwp-draw-line",type:"line",source:Gt,filter:["==","$type","LineString"],paint:{"line-color":"#3b463d","line-width":2,"line-dasharray":[2,1]}}),C.value.addLayer({id:"pwp-draw-points",type:"circle",source:Gt,filter:["==","$type","Point"],paint:{"circle-radius":5,"circle-color":"#3b463d","circle-stroke-color":"#fff","circle-stroke-width":2}}),C.value.on("click","pwp-polygons-fill",f=>{var g,m,v;if(r.value)return;const p=(v=(m=(g=f.features)==null?void 0:g[0])==null?void 0:m.properties)==null?void 0:v.id;p!=null&&ne(String(p))}),C.value.on("click",f=>{r.value&&(l.value=[...l.value,[f.lngLat.lng,f.lngLat.lat]],N())}),C.value.on("dblclick",()=>{r.value&&xe()}))}function le(){r.value||(r.value=!0,l.value=[],c.value="Click to place points. Double-click (or Finish) to close the polygon.",C.value&&(C.value.getCanvas().style.cursor="crosshair"))}function be(){r.value=!1,l.value=[],c.value="",C.value&&(C.value.getCanvas().style.cursor=""),N()}function xe(){if(l.value.length<3){c.value="Need at least 3 points to make a polygon.";return}const f=_(l.value),p="Zone "+(o.length+1);Se(f,p),r.value=!1,l.value=[],C.value&&(C.value.getCanvas().style.cursor=""),c.value="Polygon added.",setTimeout(()=>{c.value==="Polygon added."&&(c.value="")},2e3)}function Se(f,p){if(!Array.isArray(f)||f.length<3)throw new Error("[prayer-walk-planner] addPolygon needs at least 3 [lng,lat] points");const g="zone-"+Date.now().toString(36)+"-"+Math.random().toString(36).slice(2,7);return o.push({id:g,title:p||"Zone "+(o.length+1),coords:_(f),createdAt:new Date().toISOString(),selected:!1}),S(),N(),g}function ye(f){const p=o.findIndex(g=>g.id===f);return p===-1?!1:(o.splice(p,1),S(),N(),!0)}function ne(f,p){const g=o.find(m=>m.id===f);return g?(g.selected=p===void 0?!g.selected:!!p,N(),!0):!1}function Ke(){o.forEach(f=>{f.selected=!1}),N()}function ot(f){let p=0,g=0;const m=f.length;for(const[v,w]of f)p+=v,g+=w;return[p/m,g/m]}function rt(f,p){const g=p>=0?"N":"S",m=f>=0?"E":"W";return Math.abs(p).toFixed(5)+"°"+g+", "+Math.abs(f).toFixed(5)+"°"+m}async function se(f){const p=f&&f.length?o.filter(b=>f.includes(b.id)):o.filter(b=>b.selected);if(p.length===0)return c.value="Select at least one polygon to print.",{opened:!1,count:0};const g=b=>String(b??"").replace(/[<>&]/g,O=>({"<":"<",">":">","&":"&"})[O]),m={};if(C.value){const b=C.value,O=b.getCenter(),P=b.getZoom(),M=()=>new Promise(A=>{b.once("idle",A),setTimeout(A,4e3)});for(const A of p)try{let D=1/0,W=1/0,U=-1/0,X=-1/0;for(const[J,ae]of A.coords)JU&&(U=J),aeX&&(X=ae);b.fitBounds([[D,W],[U,X]],{padding:72,duration:0,maxZoom:17}),await M(),m[A.id]=await new Promise(J=>{b.once("render",()=>{try{J(b.getCanvas().toDataURL("image/png"))}catch{J(null)}}),b.triggerRepaint()}),m[A.id]||delete m[A.id]}catch{}try{b.jumpTo({center:O,zoom:P})}catch{}}const v=p.map(b=>{const[O,P]=ot(b.coords),M=b.coords.slice(0,-1).map(([D,W])=>rt(D,W)).join("  ·  "),A=m[b.id];return'

'+g(b.title)+'

Prayer walking map · centre '+rt(O,P)+"

"+(A?'
Walking map of '+g(b.title)+'
':"")+'

Walk the streets of this zone and pray for the people who live, work and worship along them.

Zone corners

'+M+'

"}).join(""),w="Prayer Walking Plan — "+p.length+(p.length===1?" zone":" zones");return wc(''+g(w)+''+v+"",{autoprint:!0})?{opened:!0,count:p.length}:(c.value="Print frame unavailable in this host.",{opened:!1,count:0})}function B(f,p){return Se(f,p)}function H(f){return ye(f)}function Ce(f,p=!0){return ne(f,p)}function Ue(){Ke()}function te(){return o.map(f=>({...f}))}function ce(f){const p=o.find(g=>g.id===f);return p?{...p}:null}function j(f=null){return se(f)}t({addPolygon:B,deletePolygon:H,selectPolygon:Ce,clearSelection:Ue,listPolygons:te,getPolygon:ce,print:j,startDrawing:le,stopDrawing:be,instanceId:s});function z(){if(typeof window>"u")return;const f={addPolygon:B,deletePolygon:H,selectPolygon:Ce,clearSelection:Ue,listPolygons:te,getPolygon:ce,print:j,startDrawing:le,stopDrawing:be,instanceId:s};window.PrayerWalkPlanner=window.PrayerWalkPlanner||{instances:{}},window.PrayerWalkPlanner.instances[s]=f,window.PrayerWalkPlanner.first=()=>{const p=Object.keys(window.PrayerWalkPlanner.instances);return p.length?window.PrayerWalkPlanner.instances[p[0]]:null}}function he(){typeof window>"u"||!window.PrayerWalkPlanner||delete window.PrayerWalkPlanner.instances[s]}function _e(){r.value?be():le()}function Ve(){xe()}function lt(){o.filter(p=>p.selected).map(p=>p.id).forEach(p=>ye(p))}function En(){o.forEach(f=>{f.selected=!0}),N()}function gt(){Ke()}function mo(){se(null)}function a(f){h.value=f}function u(f,p){const g=o.find(m=>m.id===f);g&&(g.title=(p||"").trim()||g.title,S(),N()),h.value=null}return Qn(async()=>{y(),z(),await Gn();try{await L(),C.value&&C.value.on("load",()=>{Q(),N()})}catch(f){console.error("[prayer-walk-planner] map failed to initialize — polygon list, localStorage and print still work:",f),c.value="Map failed to load (no WebGL?) — drawing needs the map, but your saved zones and Print still work."}}),ui(()=>{he(),$()}),_c(":host{display:block;position:relative;width:100%;height:100%;min-height:420px}.pwp{position:absolute;inset:0;display:flex;flex-direction:column;background:#f3f3f1;color:#3b463d;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.pwp-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;background:#fff;border-bottom:1px solid #d1d4cd;z-index:5}.pwp-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:6px;border:1px solid #d1d4cd;background:#fff;color:#3b463d;font-size:13px;font-weight:600;cursor:pointer}.pwp-btn:hover{border-color:#92b195}.pwp-btn.is-active{background:#92b195;border-color:#92b195;color:#fff}.pwp-btn.is-accent{background:#92b195;border-color:#92b195;color:#fff}.pwp-btn.is-accent:hover{opacity:.9}.pwp-btn:disabled{opacity:.45;cursor:not-allowed}.pwp-btn.is-danger{color:#8a3b3b;border-color:#e0c4c4}.pwp-spacer{flex:1}.pwp-count{font-size:12px;color:#6d766e}.pwp-status{padding:6px 12px;font-size:12px;color:#6d766e;background:#fff;border-bottom:1px solid #d1d4cd}.pwp-body{position:relative;flex:1;min-height:0;display:flex}.pwp-map{position:relative;flex:1;min-width:0}.pwp-map-el{position:absolute;inset:0}.pwp-list{width:260px;flex-shrink:0;overflow-y:auto;background:#fff;border-left:1px solid #d1d4cd;padding:8px}.pwp-list-empty{padding:16px 10px;font-size:12px;color:#6d766e}.pwp-item{display:flex;align-items:center;gap:8px;padding:8px;border-radius:6px;margin-bottom:4px;border:1px solid transparent;cursor:pointer}.pwp-item:hover{background:#f3f3f1}.pwp-item.is-selected{background:rgba(146,177,149,.18);border-color:#92b195}.pwp-item-title{flex:1;font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pwp-item-title-input{flex:1;font-size:13px;font-weight:600;padding:2px 4px;border:1px solid #92b195;border-radius:4px}.pwp-item-del{border:none;background:transparent;color:#8a3b3b;cursor:pointer;font-size:14px;padding:2px 6px;border-radius:4px}.pwp-item-del:hover{background:rgba(138,59,59,.12)}@media (max-width:640px){.pwp-list{display:none}}"),(f,p)=>(Xe(),it("div",xc,[de("div",Sc,[de("button",{type:"button",class:At(["pwp-btn",{"is-active":r.value}]),"aria-pressed":r.value,onClick:_e},ct(r.value?"Drawing… (click map)":"Draw polygon"),11,Pc),r.value?(Xe(),it("button",{key:0,type:"button",class:"pwp-btn is-accent",disabled:l.value.length<3,onClick:Ve}," Finish polygon ("+ct(l.value.length)+" pts) ",9,Ec)):as("",!0),de("button",{type:"button",class:"pwp-btn is-danger",disabled:d.value===0,onClick:lt,"aria-label":"Delete selected polygons"}," Delete selected ",8,Cc),de("button",{type:"button",class:"pwp-btn",disabled:o.length===0,onClick:En}," Select all ",8,Tc),de("button",{type:"button",class:"pwp-btn",disabled:d.value===0,onClick:gt}," Clear selection ",8,Ac),p[1]||(p[1]=de("div",{class:"pwp-spacer"},null,-1)),de("span",Mc,ct(d.value)+" / "+ct(o.length)+" selected",1),de("button",{type:"button",class:"pwp-btn is-accent",disabled:d.value===0,onClick:mo,"aria-label":"Print selected prayer-walking zones"}," Print selected ",8,Oc)]),c.value?(Xe(),it("div",Rc,ct(c.value),1)):as("",!0),de("div",Lc,[de("div",Ic,[de("div",{ref_key:"mapContainer",ref:E,class:"pwp-map-el"},null,512)]),de("div",Fc,[o.length===0?(Xe(),it("div",kc," No zones yet — draw a polygon on the map to start a prayer-walking plan. ")):as("",!0),(Xe(!0),it(je,null,Rr(o,g=>(Xe(),it("div",{key:g.id,class:At(["pwp-item",{"is-selected":g.selected}]),onClick:m=>ne(g.id)},[h.value===g.id?(Xe(),it("input",{key:0,class:"pwp-item-title-input",type:"text",value:g.title,onClick:p[0]||(p[0]=gs(()=>{},["stop"])),onKeydown:Yl(m=>u(g.id,m.target.value),["enter"]),onBlur:m=>u(g.id,m.target.value),autofocus:""},null,40,Nc)):(Xe(),it("span",{key:1,class:"pwp-item-title",onDblclick:gs(m=>a(g.id),["stop"]),title:g.title},ct(g.title),41,jc)),de("button",{type:"button",class:"pwp-item-del",onClick:gs(m=>ye(g.id),["stop"]),"aria-label":"Delete "+g.title}," Delete ",8,$c)],10,Dc))),128))])])]))}});typeof customElements<"u"&&!customElements.get("prayer-walk-planner")&&customElements.define("prayer-walk-planner",Hc)})(); diff --git a/public/doxa-maps/prayer-walk-planner/prayer-walk-planner/index.html b/public/doxa-maps/prayer-walk-planner/prayer-walk-planner/index.html index 553f1ab7b..672af7e87 100644 --- a/public/doxa-maps/prayer-walk-planner/prayer-walk-planner/index.html +++ b/public/doxa-maps/prayer-walk-planner/prayer-walk-planner/index.html @@ -29,7 +29,7 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + window.FORGE.manifest = {"schema":"doxa-maps-manifest@1","generatedFrom":"plugin-designs/*/*.vue","embedBase":".","bundleCount":21,"profileCount":32,"bundles":[{"bundle":"all-people-groups","scriptUrl":"./all-people-groups/all-people-groups.js","output":"doxa-maps/all-people-groups/all-people-groups.js","integrity":"sha384-cqk7oshuPW5FdnbZ/DyfBBXN2FObAI+V1jrbxmZR2xzNiBtWG65PETQ5/w5PCDB2","elements":["all-people-groups"],"profiles":[{"profile":"all-people-groups","file":"all-people-groups.vue","description":"All 12,379 people groups (peoplegroups.org) in four colors — reached,","element":"all-people-groups","type":"single","isMap":true,"iframeUrl":"./all-people-groups/all-people-groups/index.html","scriptUrl":"./all-people-groups/all-people-groups.js","embed":{"iframe":"\u003ciframe src=\"./all-people-groups/all-people-groups/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./all-people-groups/all-people-groups.js\" integrity=\"sha384-cqk7oshuPW5FdnbZ/DyfBBXN2FObAI+V1jrbxmZR2xzNiBtWG65PETQ5/w5PCDB2\" crossorigin=\"anonymous\">\u003c/script>\n\u003call-people-groups profile-config='{\"profile\":\"all-people-groups\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/all-people-groups>"},"bundle":"all-people-groups"}]},{"bundle":"big-picture","scriptUrl":"./big-picture/big-picture.js","output":"doxa-maps/big-picture/big-picture.js","integrity":"sha384-v0b+aZ7TBxmgUIBBLdKEm6HzwjY3jAGyOFNsKeKCKY4EIRpiWRTcNLavAitHRt8h","elements":["bp-big-picture","bp-research-header","people-groups-grid"],"composes":["bp-research-header","people-groups-grid"],"profiles":[{"profile":"big-picture","file":"big-picture.vue","description":"The Cat-4 composite that PAIRS the two real capability elements of the","element":"bp-big-picture","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./big-picture/big-picture/index.html","scriptUrl":"./big-picture/big-picture.js","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./big-picture/big-picture.js\" integrity=\"sha384-v0b+aZ7TBxmgUIBBLdKEm6HzwjY3jAGyOFNsKeKCKY4EIRpiWRTcNLavAitHRt8h\" crossorigin=\"anonymous\">\u003c/script>\n\u003cbp-big-picture profile-config='{\"profile\":\"big-picture\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/bp-big-picture>"},"instances":[{"id":"big-picture","title":"Big Picture — research header ↔ people-groups grid (composite)","apiBaseUrl":"","props":{"profile":"big-picture","provider":"maplibre","instanceId":"bp-big-picture"},"element":"bp-big-picture","iframeUrl":"./big-picture/big-picture/big-picture/index.html","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/big-picture/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"frontier","title":"Big Picture — frontier accent","apiBaseUrl":"","props":{"profile":"big-picture","provider":"maplibre","instanceId":"bp-big-picture-frontier","accent":"#22d3ee","title":"Big Picture — Frontier Focus"},"element":"bp-big-picture","iframeUrl":"./big-picture/big-picture/frontier/index.html","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/frontier/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"big-picture"}]},{"bundle":"cities-internet","scriptUrl":"./cities-internet/cities-internet.js","output":"doxa-maps/cities-internet/cities-internet.js","integrity":"sha384-VfbtDah7CcZdh9U1LNojwqD50sWSZIzYogPohoATgibTn1s00jLOdq4/98uSfsi+","elements":["cities-internet-map"],"profiles":[{"profile":"connectivity-list","file":"connectivity-list.vue","description":"Countries where DX people groups live, grouped by region, showing measured internet penetration","element":"cities-internet-map","type":"single","isMap":false,"iframeUrl":"./cities-internet/connectivity-list/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/connectivity-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-VfbtDah7CcZdh9U1LNojwqD50sWSZIzYogPohoATgibTn1s00jLOdq4/98uSfsi+\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"connectivity-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}},{"profile":"connectivity-map","file":"connectivity-map.vue","description":"Every country shaded by measured internet penetration, with its named carriers and dominant","element":"cities-internet-map","type":"single","isMap":true,"iframeUrl":"./cities-internet/connectivity-map/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/connectivity-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-VfbtDah7CcZdh9U1LNojwqD50sWSZIzYogPohoATgibTn1s00jLOdq4/98uSfsi+\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"connectivity-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}},{"profile":"data-tables","file":"data-tables.vue","description":"Four validated research tables, one tab each, with sortable and filterable columns, CSV and JSON","element":"cities-internet-map","type":"single","isMap":false,"iframeUrl":"./cities-internet/data-tables/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/data-tables/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-VfbtDah7CcZdh9U1LNojwqD50sWSZIzYogPohoATgibTn1s00jLOdq4/98uSfsi+\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"data-tables\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}}]},{"bundle":"country-posters","scriptUrl":"./country-posters/country-posters.js","output":"doxa-maps/country-posters/country-posters.js","integrity":"sha384-kbTr53oyqrMpgr620HR4W8vLXxT4Ulo5EeCoHebbMjGns5rwNvJP2BLuPyo5XVJj","elements":["country-posters-map"],"profiles":[{"profile":"countries-map","file":"countries-map.vue","description":"The researcher's workbench retargeted from people groups to COUNTRIES — region","element":"country-posters-map","type":"single","isMap":true,"iframeUrl":"./country-posters/countries-map/index.html","scriptUrl":"./country-posters/country-posters.js","embed":{"iframe":"\u003ciframe src=\"./country-posters/countries-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./country-posters/country-posters.js\" integrity=\"sha384-kbTr53oyqrMpgr620HR4W8vLXxT4Ulo5EeCoHebbMjGns5rwNvJP2BLuPyo5XVJj\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccountry-posters-map profile-config='{\"profile\":\"countries-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/country-posters-map>"}},{"profile":"country-poster-wall","file":"country-poster-wall.vue","description":"One printable card per country, grouped into COLLAPSIBLE regional sections so the","element":"country-posters-map","type":"single","isMap":false,"iframeUrl":"./country-posters/country-poster-wall/index.html","scriptUrl":"./country-posters/country-posters.js","embed":{"iframe":"\u003ciframe src=\"./country-posters/country-poster-wall/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./country-posters/country-posters.js\" integrity=\"sha384-kbTr53oyqrMpgr620HR4W8vLXxT4Ulo5EeCoHebbMjGns5rwNvJP2BLuPyo5XVJj\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccountry-posters-map profile-config='{\"profile\":\"country-poster-wall\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/country-posters-map>"}}]},{"bundle":"dashboard-plus-grid","scriptUrl":"./dashboard-plus-grid/dashboard-plus-grid.js","output":"doxa-maps/dashboard-plus-grid/dashboard-plus-grid.js","integrity":"sha384-YbJgljynZ4t3/Ro44oHQy9ihl9/5o7j4IKts8MNRfA73Cb5cyD7U52DklXjzpLpG","elements":["dashboard-plus-grid"],"composes":["research-dashboard","people-groups-grid"],"profiles":[{"profile":"dashboard-plus-grid","file":"dashboard-plus-grid.vue","description":"Both children are IMPORTED DIRECTLY (compiled into this ONE bundle — no runtime bundle","element":"dashboard-plus-grid","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./dashboard-plus-grid/dashboard-plus-grid/index.html","scriptUrl":"./dashboard-plus-grid/dashboard-plus-grid.js","embed":{"iframe":"\u003ciframe src=\"./dashboard-plus-grid/dashboard-plus-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./dashboard-plus-grid/dashboard-plus-grid.js\" integrity=\"sha384-YbJgljynZ4t3/Ro44oHQy9ihl9/5o7j4IKts8MNRfA73Cb5cyD7U52DklXjzpLpG\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdashboard-plus-grid profile-config='{\"profile\":\"dashboard-plus-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/dashboard-plus-grid>"},"instances":[{"id":"default","title":"default","apiBaseUrl":"","props":{"profile":"dashboard-plus-grid"},"element":"dashboard-plus-grid","iframeUrl":"./dashboard-plus-grid/dashboard-plus-grid/default/index.html","embed":{"iframe":"\u003ciframe src=\"./dashboard-plus-grid/dashboard-plus-grid/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"demo-map","scriptUrl":"./demo-map/demo-map.js","output":"doxa-maps/demo-map/demo-map.js","integrity":"sha384-QiUJUgeFn27tiHKVhAYtJuIWo+1z5xsCUP1Nj4m1H4cFUV3vUA7ADTP58Ky3oVtQ","elements":["demo-map"],"profiles":[{"profile":"demo-map","file":"demo-map.vue","description":"Simple two-tab demo map. Tab 1 colors pins by religion (shared","element":"demo-map","type":"parameterized","isMap":true,"iframeUrl":"./demo-map/demo-map/index.html","scriptUrl":"./demo-map/demo-map.js","embed":{"iframe":"\u003ciframe src=\"./demo-map/demo-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./demo-map/demo-map.js\" integrity=\"sha384-QiUJUgeFn27tiHKVhAYtJuIWo+1z5xsCUP1Nj4m1H4cFUV3vUA7ADTP58Ky3oVtQ\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdemo-map profile-config='{\"profile\":\"demo-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/demo-map>"},"instances":[{"id":"maplibre","title":"Demo map — MapLibre (token-free)","apiBaseUrl":"","props":{"profile":"demo-map","provider":"maplibre","instanceId":"demo-maplibre"},"element":"demo-map","iframeUrl":"./demo-map/demo-map/maplibre/index.html","embed":{"iframe":"\u003ciframe src=\"./demo-map/demo-map/maplibre/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"demo-map"}]},{"bundle":"doxa-maps-spa","scriptUrl":"./doxa-maps-spa/doxa-maps-spa.js","output":"doxa-maps/doxa-maps-spa/doxa-maps-spa.js","integrity":"sha384-Ce+DKsLgwfej+rgoWeaWFuMMbR3Y4H+8io/lVL+lQfX0O3iGKwDLf4remDkHGCrP","elements":["doxa-maps-spa"],"composes":["bp-big-picture","doxa-research-map","doxa-simple-map","cities-internet-map","gospel-resources-map","my-upg-100-list-map"],"profiles":[{"profile":"doxa-maps-spa","file":"doxa-maps-spa.vue","description":"The DX-maps app itself: one element whose vertical-tab rail nests every other","element":"doxa-maps-spa","type":"nested-mfe-spa","isMap":false,"iframeUrl":"./doxa-maps-spa/doxa-maps-spa/index.html","scriptUrl":"./doxa-maps-spa/doxa-maps-spa.js","embed":{"iframe":"\u003ciframe src=\"./doxa-maps-spa/doxa-maps-spa/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-maps-spa/doxa-maps-spa.js\" integrity=\"sha384-Ce+DKsLgwfej+rgoWeaWFuMMbR3Y4H+8io/lVL+lQfX0O3iGKwDLf4remDkHGCrP\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-maps-spa profile-config='{\"profile\":\"doxa-maps-spa\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-maps-spa>"},"instances":[{"id":"app","title":"DX-Maps SPA — Big Picture + every research map (app-shell)","apiBaseUrl":"","props":{"profile":"doxa-maps-spa","provider":"maplibre","instanceId":"doxa-maps-spa-app","title":"DX-Maps"},"element":"doxa-maps-spa","iframeUrl":"./doxa-maps-spa/doxa-maps-spa/app/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-maps-spa/doxa-maps-spa/app/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-research-map","scriptUrl":"./doxa-research-map/doxa-research-map.js","output":"doxa-maps/doxa-research-map/doxa-research-map.js","integrity":"sha384-m4l+f0dtSiobgVmlkVLdbrLtQ1XwOTEmN2S++QZFqsYdTeEVuSDMl96aTudjoqB4","elements":["doxa-research-map"],"profiles":[{"profile":"research-map","file":"research-map.vue","description":"The researcher's workbench: every piece a missiologist, demographer or","element":"doxa-research-map","type":"monolithic","isMap":true,"iframeUrl":"./doxa-research-map/research-map/index.html","scriptUrl":"./doxa-research-map/doxa-research-map.js","embed":{"iframe":"\u003ciframe src=\"./doxa-research-map/research-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-research-map/doxa-research-map.js\" integrity=\"sha384-m4l+f0dtSiobgVmlkVLdbrLtQ1XwOTEmN2S++QZFqsYdTeEVuSDMl96aTudjoqB4\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-research-map profile-config='{\"profile\":\"research-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-research-map>"},"instances":[{"id":"maplibre","title":"Research map — MapLibre (token-free, no search bar)","apiBaseUrl":"","props":{"profile":"research-map","provider":"maplibre","instanceId":"research-map-maplibre"},"element":"doxa-research-map","iframeUrl":"./doxa-research-map/research-map/maplibre/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-research-map/research-map/maplibre/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-simple-map","scriptUrl":"./doxa-simple-map/doxa-simple-map.js","output":"doxa-maps/doxa-simple-map/doxa-simple-map.js","integrity":"sha384-hzEui48BqpW8VhRthz3daMgAdw4w4M3gtBre4ce4sXuAmS+39pMRW9reNAvpFb+W","elements":["doxa-map","doxa-simple-map"],"profiles":[{"profile":"doxa-simple-map","file":"doxa-simple-map.vue","description":"The simple world map, shipped as three presets off ONE prop table —","element":"doxa-map","type":"parameterized","isMap":true,"iframeUrl":"./doxa-simple-map/doxa-simple-map/index.html","scriptUrl":"./doxa-simple-map/doxa-simple-map.js","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-simple-map/doxa-simple-map.js\" integrity=\"sha384-hzEui48BqpW8VhRthz3daMgAdw4w4M3gtBre4ce4sXuAmS+39pMRW9reNAvpFb+W\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-map profile-config='{\"profile\":\"doxa-simple-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-map>"},"instances":[{"id":"prayer","title":"Prayer Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-prayer","dataSource":"pray-tools","tabs":[{"id":"prayer","colorStrategy":"prayer","legend":"prayer","popup":"prayer"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/prayer/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/prayer/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"engagement","title":"Engagement Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-engagement","dataSource":"pray-tools","tabs":[{"id":"engagement","colorStrategy":"engagement","legend":"engagement","popup":"engagement"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/engagement/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/engagement/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"adoption","title":"Adoption Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-adoption","dataSource":"pray-tools","tabs":[{"id":"adoption","colorStrategy":"adoption","legend":"adoption","popup":"adoption"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/adoption/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/adoption/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-vision-card","scriptUrl":"./doxa-vision-card/doxa-vision-card.js","output":"doxa-maps/doxa-vision-card/doxa-vision-card.js","integrity":"sha384-2mza3cltN5LQQIrlENG/IVL6Icd9zzcFve3E8R8VWuCdYOGW9uGKFvxcbu6eFfwn","elements":["doxa-vision-card"],"profiles":[{"profile":"doxa-vision-card","file":"doxa-vision-card.vue","description":"The Capability-1 example: ONE folder -> ONE bundle -> ONE element.","element":"doxa-vision-card","type":"parameterized","isMap":false,"iframeUrl":"./doxa-vision-card/doxa-vision-card/index.html","scriptUrl":"./doxa-vision-card/doxa-vision-card.js","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-vision-card/doxa-vision-card.js\" integrity=\"sha384-2mza3cltN5LQQIrlENG/IVL6Icd9zzcFve3E8R8VWuCdYOGW9uGKFvxcbu6eFfwn\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-vision-card profile-config='{\"profile\":\"doxa-vision-card\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-vision-card>"},"instances":[{"id":"default","title":"Vision card — reach at a glance","apiBaseUrl":"","props":{"profile":"doxa-vision-card","provider":"maplibre","instanceId":"vision-card-default"},"element":"doxa-vision-card","iframeUrl":"./doxa-vision-card/doxa-vision-card/default/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"frontier","title":"Vision card — frontier accent","apiBaseUrl":"","props":{"profile":"doxa-vision-card","provider":"maplibre","instanceId":"vision-card-frontier","accent":"#22d3ee","title":"The last frontier of the gospel.","tagline":"Frontier people groups — where fewer than one in a thousand follow Jesus.","stats":[{"value":"1,910","label":"Frontier groups","note":"under 0.1% believers"},{"value":"2.1B","label":"People","note":"living in frontier settings"},{"value":"0.1%","label":"Christian","note":"or fewer, in each group"}]},"element":"doxa-vision-card","iframeUrl":"./doxa-vision-card/doxa-vision-card/frontier/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/frontier/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"doxa-vision-card"}]},{"bundle":"golden-path-check","scriptUrl":"./golden-path-check/golden-path-check.js","output":"doxa-maps/golden-path-check/golden-path-check.js","integrity":"sha384-1V/sT5SkV0U9yTCK9ELIOFfU1ZIJkInIF6nG3UllJ4dxax3RsEAupSGLJEFK6e14","elements":["golden-path-check"],"profiles":[{"profile":"golden-path-check","file":"golden-path-check.vue","description":"A live self-test of the develop-a-plugin-and-see-it-live path: it reads the built","element":"golden-path-check","type":"single","isMap":false,"iframeUrl":"./golden-path-check/golden-path-check/index.html","scriptUrl":"./golden-path-check/golden-path-check.js","embed":{"iframe":"\u003ciframe src=\"./golden-path-check/golden-path-check/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./golden-path-check/golden-path-check.js\" integrity=\"sha384-1V/sT5SkV0U9yTCK9ELIOFfU1ZIJkInIF6nG3UllJ4dxax3RsEAupSGLJEFK6e14\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgolden-path-check profile-config='{\"profile\":\"golden-path-check\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/golden-path-check>"}}]},{"bundle":"gospel-resources","scriptUrl":"./gospel-resources/gospel-resources.js","output":"doxa-maps/gospel-resources/gospel-resources.js","integrity":"sha384-VXjJ4Se+3vtAs3dnqQoWelPf88U32RffjhrVy3usV5m9HHm2fL/CfUq2maQVKhzj","elements":["gospel-resources-map"],"profiles":[{"profile":"charts","file":"charts.vue","description":"The gap by LANGUAGE (ISO 639-3) rather than by people group — because one translation serves every","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/charts/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/charts/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-VXjJ4Se+3vtAs3dnqQoWelPf88U32RffjhrVy3usV5m9HHm2fL/CfUq2maQVKhzj\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"charts\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"data-tables","file":"data-tables.vue","description":"Two validated tables: what resources exist per people group, and whether that access is keeping","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/data-tables/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/data-tables/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-VXjJ4Se+3vtAs3dnqQoWelPf88U32RffjhrVy3usV5m9HHm2fL/CfUq2maQVKhzj\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"data-tables\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"resources-list","file":"resources-list.vue","description":"Which DX people groups have scripture in their own language, and which have none. The zero-resource","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/resources-list/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/resources-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-VXjJ4Se+3vtAs3dnqQoWelPf88U32RffjhrVy3usV5m9HHm2fL/CfUq2maQVKhzj\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"resources-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"resources-map","file":"resources-map.vue","description":"Every country shaded by how much of its unengaged population has NO gospel resource in their own","element":"gospel-resources-map","type":"single","isMap":true,"iframeUrl":"./gospel-resources/resources-map/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/resources-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-VXjJ4Se+3vtAs3dnqQoWelPf88U32RffjhrVy3usV5m9HHm2fL/CfUq2maQVKhzj\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"resources-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}}]},{"bundle":"my-upg-100-list","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","output":"doxa-maps/my-upg-100-list/my-upg-100-list.js","integrity":"sha384-wsI/kC7ernWrD4UZydHEUyyjK65h9NRs50CbZAWYAFMziSSuCdeIsTleezVVbsyV","elements":["my-upg-100-list-map"],"composes":["my-upg-100-list/upg-100-list","my-upg-100-list/poster-wall"],"profiles":[{"profile":"poster-wall","file":"poster-wall.vue","description":"A wall of printable poster cards, one per 100-list entry, each with a \"Show on map\" action that","element":"my-upg-100-list-map","type":"single","isMap":true,"iframeUrl":"./my-upg-100-list/poster-wall/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/poster-wall/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-wsI/kC7ernWrD4UZydHEUyyjK65h9NRs50CbZAWYAFMziSSuCdeIsTleezVVbsyV\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"poster-wall\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}},{"profile":"upg-100-list","file":"upg-100-list.vue","description":"A personal unreached-people-groups list painted as true boundary polygons —","element":"my-upg-100-list-map","type":"single","isMap":true,"iframeUrl":"./my-upg-100-list/upg-100-list/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/upg-100-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-wsI/kC7ernWrD4UZydHEUyyjK65h9NRs50CbZAWYAFMziSSuCdeIsTleezVVbsyV\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"upg-100-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}},{"profile":"upg-100-mfe","file":"upg-100-mfe.vue","description":"The standalone, shareable and embeddable composite of the my-upg-100-list family — it nests the map","element":"my-upg-100-list-map","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./my-upg-100-list/upg-100-mfe/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/upg-100-mfe/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-wsI/kC7ernWrD4UZydHEUyyjK65h9NRs50CbZAWYAFMziSSuCdeIsTleezVVbsyV\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"upg-100-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}}]},{"bundle":"people-groups-grid","scriptUrl":"./people-groups-grid/people-groups-grid.js","output":"doxa-maps/people-groups-grid/people-groups-grid.js","integrity":"sha384-wyfAzVfoufR5FaDoo3DSivtV33qOexc7PhDYZkXlYmru5FqZgncuUos3nN0kkMJL","elements":["people-groups-grid"],"profiles":[{"profile":"people-groups-grid","file":"people-groups-grid.vue","description":"The people-groups grid as an owned custom element: card list, search and four","element":"people-groups-grid","type":"parameterized","isMap":false,"iframeUrl":"./people-groups-grid/people-groups-grid/index.html","scriptUrl":"./people-groups-grid/people-groups-grid.js","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./people-groups-grid/people-groups-grid.js\" integrity=\"sha384-wyfAzVfoufR5FaDoo3DSivtV33qOexc7PhDYZkXlYmru5FqZgncuUos3nN0kkMJL\" crossorigin=\"anonymous\">\u003c/script>\n\u003cpeople-groups-grid profile-config='{\"profile\":\"people-groups-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/people-groups-grid>"},"instances":[{"id":"people-groups-grid","title":"People Groups Grid — standalone (own search + 4 dropdowns)","apiBaseUrl":"","props":{"profile":"people-groups-grid","provider":"maplibre","instanceId":"people-groups-grid","pray-base-url":"https://pray.doxa.life"},"element":"people-groups-grid","iframeUrl":"./people-groups-grid/people-groups-grid/people-groups-grid/index.html","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/people-groups-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"driven","title":"People Groups Grid — externally driven (controls off, props/events)","apiBaseUrl":"","props":{"profile":"people-groups-grid","provider":"maplibre","instanceId":"people-groups-grid-driven","pray-base-url":"https://pray.doxa.life","show-search":"false","show-filters":"false"},"element":"people-groups-grid","iframeUrl":"./people-groups-grid/people-groups-grid/driven/index.html","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/driven/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"plugin-studio","scriptUrl":"./plugin-studio/plugin-studio.js","output":"doxa-maps/plugin-studio/plugin-studio.js","integrity":"sha384-2RlLFRU2XdjBN7w+FPguj8INgj57JFg4IFT2AmdefGnR9QQLehbiiAffV45LcsFH","elements":["plugin-studio"],"composes":["bp-big-picture","people-groups-grid","doxa-research-map","doxa-simple-map","cities-internet-map","gospel-resources-map","my-upg-100-list-map","doxa-vision-card","all-people-groups","research-dashboard"],"profiles":[{"profile":"plugin-studio","file":"plugin-studio.vue","description":"The developer's viewing surface: a sidebar that is the composability ladder","element":"plugin-studio","type":"nested-mfe-spa","isMap":false,"iframeUrl":"./plugin-studio/plugin-studio/index.html","scriptUrl":"./plugin-studio/plugin-studio.js","embed":{"iframe":"\u003ciframe src=\"./plugin-studio/plugin-studio/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./plugin-studio/plugin-studio.js\" integrity=\"sha384-2RlLFRU2XdjBN7w+FPguj8INgj57JFg4IFT2AmdefGnR9QQLehbiiAffV45LcsFH\" crossorigin=\"anonymous\">\u003c/script>\n\u003cplugin-studio profile-config='{\"profile\":\"plugin-studio\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/plugin-studio>"},"instances":[{"id":"studio","title":"Plugin Studio — every element by capability 5 -> 1 (developer studio)","apiBaseUrl":"","props":{"profile":"plugin-studio","provider":"maplibre","instanceId":"plugin-studio","title":"Plugin Studio"},"element":"plugin-studio","iframeUrl":"./plugin-studio/plugin-studio/studio/index.html","embed":{"iframe":"\u003ciframe src=\"./plugin-studio/plugin-studio/studio/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"prayer-walk-planner","scriptUrl":"./prayer-walk-planner/prayer-walk-planner.js","output":"doxa-maps/prayer-walk-planner/prayer-walk-planner.js","integrity":"sha384-F0+r4avX8xkXp0hBpU5EBPU0InMRCObIn2Ieh9HJNn1r2amk8/qHmJ68WuNfsirC","elements":["prayer-walk-planner"],"profiles":[{"profile":"prayer-walk-planner","file":"prayer-walk-planner.vue","description":"A simple polygon-drawing tool for planning prayer-walking routes.","element":"prayer-walk-planner","type":"single","isMap":true,"iframeUrl":"./prayer-walk-planner/prayer-walk-planner/index.html","scriptUrl":"./prayer-walk-planner/prayer-walk-planner.js","embed":{"iframe":"\u003ciframe src=\"./prayer-walk-planner/prayer-walk-planner/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./prayer-walk-planner/prayer-walk-planner.js\" integrity=\"sha384-F0+r4avX8xkXp0hBpU5EBPU0InMRCObIn2Ieh9HJNn1r2amk8/qHmJ68WuNfsirC\" crossorigin=\"anonymous\">\u003c/script>\n\u003cprayer-walk-planner profile-config='{\"profile\":\"prayer-walk-planner\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/prayer-walk-planner>"}}]},{"bundle":"regions-dashboard","scriptUrl":"./regions-dashboard/regions-dashboard.js","output":"doxa-maps/regions-dashboard/regions-dashboard.js","integrity":"sha384-DCmfPJdlsSwflCxB7aJlhn12a8oSKWbRDEBj71DiqSxRFWGkMG11LgV73ksxur/i","elements":["regions-dashboard"],"composes":["regions-dashboard/regions-list","regions-dashboard/region-dashboards"],"profiles":[{"profile":"region-dashboards","file":"region-dashboards.vue","description":"The dashboard half of the Driver's 2-tab Regions element: given a region (or a","element":"regions-dashboard","type":"single","isMap":true,"iframeUrl":"./regions-dashboard/region-dashboards/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/region-dashboards/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-DCmfPJdlsSwflCxB7aJlhn12a8oSKWbRDEBj71DiqSxRFWGkMG11LgV73ksxur/i\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"region-dashboards\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}},{"profile":"regions-list","file":"regions-list.vue","description":"A refactor of DX-life's /regions index page (app/pages/regions/index.vue) into","element":"regions-dashboard","type":"single","isMap":true,"iframeUrl":"./regions-dashboard/regions-list/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/regions-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-DCmfPJdlsSwflCxB7aJlhn12a8oSKWbRDEBj71DiqSxRFWGkMG11LgV73ksxur/i\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"regions-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}},{"profile":"regions-mfe","file":"regions-mfe.vue","description":"The composite the Driver asked for: ONE element carrying the SELECT VIEW switcher","element":"regions-dashboard","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./regions-dashboard/regions-mfe/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/regions-mfe/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-DCmfPJdlsSwflCxB7aJlhn12a8oSKWbRDEBj71DiqSxRFWGkMG11LgV73ksxur/i\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"regions-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}}]},{"bundle":"research-dashboard","scriptUrl":"./research-dashboard/research-dashboard.js","output":"doxa-maps/research-dashboard/research-dashboard.js","integrity":"sha384-VvOYWBcDd7NtnB1eveECKX88ZHIpGnOf79tVdCUqGZzXLgoZPc+oTTPIC3ajaYsn","elements":["research-dashboard-map"],"profiles":[{"profile":"research-dashboard","file":"research-dashboard.vue","description":"Coordinated-Multiple-Views research dashboard for 10/40-window UPGs (live pray.doxa.life): docked facet rail + map-as-hero + linked table/charts, brushing-and-linking over one in-memory store.","element":"research-dashboard-map","type":"monolithic","isMap":true,"iframeUrl":"./research-dashboard/research-dashboard/index.html","scriptUrl":"./research-dashboard/research-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./research-dashboard/research-dashboard/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./research-dashboard/research-dashboard.js\" integrity=\"sha384-VvOYWBcDd7NtnB1eveECKX88ZHIpGnOf79tVdCUqGZzXLgoZPc+oTTPIC3ajaYsn\" crossorigin=\"anonymous\">\u003c/script>\n\u003cresearch-dashboard-map profile-config='{\"profile\":\"research-dashboard\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/research-dashboard-map>"},"bundle":"research-dashboard"}]},{"bundle":"research-map-plus-grid","scriptUrl":"./research-map-plus-grid/research-map-plus-grid.js","output":"doxa-maps/research-map-plus-grid/research-map-plus-grid.js","integrity":"sha384-sOkaMV0UFr2uNXfoJpRvaD+gHD6xFlkmpR7MzEwwFdarYdid8aN9Nj1Y8TqQJuFo","elements":["research-map-plus-grid"],"composes":["doxa-research-map","people-groups-grid"],"profiles":[{"profile":"research-map-plus-grid","file":"research-map-plus-grid.vue","description":"The monolithic 7-tab research map (cap-3) on top, the People Groups grid beneath,","element":"research-map-plus-grid","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./research-map-plus-grid/research-map-plus-grid/index.html","scriptUrl":"./research-map-plus-grid/research-map-plus-grid.js","embed":{"iframe":"\u003ciframe src=\"./research-map-plus-grid/research-map-plus-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./research-map-plus-grid/research-map-plus-grid.js\" integrity=\"sha384-sOkaMV0UFr2uNXfoJpRvaD+gHD6xFlkmpR7MzEwwFdarYdid8aN9Nj1Y8TqQJuFo\" crossorigin=\"anonymous\">\u003c/script>\n\u003cresearch-map-plus-grid profile-config='{\"profile\":\"research-map-plus-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/research-map-plus-grid>"},"instances":[{"id":"default","title":"default","apiBaseUrl":"","props":{"profile":"research-map-plus-grid"},"element":"research-map-plus-grid","iframeUrl":"./research-map-plus-grid/research-map-plus-grid/default/index.html","embed":{"iframe":"\u003ciframe src=\"./research-map-plus-grid/research-map-plus-grid/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"stack-demo","scriptUrl":"./stack-demo/stack-demo.js","output":"doxa-maps/stack-demo/stack-demo.js","integrity":"sha384-gnwM6s+puf1K60Nl7crQcC2QC+9BxwpkaTx4OepLZ8VUCraZc+aRlWpsb6nj6Gyf","elements":["stack-demo"],"composes":["research-dashboard-map","people-groups-grid"],"profiles":[{"profile":"stack-demo","file":"stack-demo.vue","description":"Groups TWO independent elements TOP-TO-BOTTOM so you can embed the pair on a page and","element":"stack-demo","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./stack-demo/stack-demo/index.html","scriptUrl":"./stack-demo/stack-demo.js","embed":{"iframe":"\u003ciframe src=\"./stack-demo/stack-demo/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./stack-demo/stack-demo.js\" integrity=\"sha384-gnwM6s+puf1K60Nl7crQcC2QC+9BxwpkaTx4OepLZ8VUCraZc+aRlWpsb6nj6Gyf\" crossorigin=\"anonymous\">\u003c/script>\n\u003cstack-demo profile-config='{\"profile\":\"stack-demo\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/stack-demo>"},"instances":[{"id":"pair","title":"pair","apiBaseUrl":"","props":{"profile":"stack-demo"},"element":"stack-demo","iframeUrl":"./stack-demo/stack-demo/pair/index.html","embed":{"iframe":"\u003ciframe src=\"./stack-demo/stack-demo/pair/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"template-bundle","scriptUrl":"./template-bundle/template-bundle.js","output":"doxa-maps/template-bundle/template-bundle.js","integrity":"sha384-k+G5UlkZ99QmuecCCWUrjz998JBJnQT3hsDG0A+IVmiX9F3CNswmHXXzYhjnUTDX","elements":["template-bundle"],"profiles":[{"profile":"template-map-a","file":"template-map-a.vue","description":"Minimal example profile A — a colored placeholder, no Mapbox or data.","element":"template-bundle","type":"single","isMap":false,"iframeUrl":"./template-bundle/template-map-a/index.html","scriptUrl":"./template-bundle/template-bundle.js","embed":{"iframe":"\u003ciframe src=\"./template-bundle/template-map-a/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./template-bundle/template-bundle.js\" integrity=\"sha384-k+G5UlkZ99QmuecCCWUrjz998JBJnQT3hsDG0A+IVmiX9F3CNswmHXXzYhjnUTDX\" crossorigin=\"anonymous\">\u003c/script>\n\u003ctemplate-bundle profile-config='{\"profile\":\"template-map-a\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/template-bundle>"},"bundle":"template-bundle"},{"profile":"template-map-b","file":"template-map-b.vue","description":"Minimal example profile B — a second profile in the same bundle.","element":"template-bundle","type":"single","isMap":false,"iframeUrl":"./template-bundle/template-map-b/index.html","scriptUrl":"./template-bundle/template-bundle.js","embed":{"iframe":"\u003ciframe src=\"./template-bundle/template-map-b/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./template-bundle/template-bundle.js\" integrity=\"sha384-k+G5UlkZ99QmuecCCWUrjz998JBJnQT3hsDG0A+IVmiX9F3CNswmHXXzYhjnUTDX\" crossorigin=\"anonymous\">\u003c/script>\n\u003ctemplate-bundle profile-config='{\"profile\":\"template-map-b\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/template-bundle>"},"bundle":"template-bundle"}]}]}; \n\n" + "script": "\n\n" }, "bundle": "all-people-groups" } @@ -154,7 +154,7 @@ "bundle": "country-posters", "scriptUrl": "./country-posters/country-posters.js", "output": "doxa-maps/country-posters/country-posters.js", - "integrity": "sha384-we0q/Lynt6lZt961TyIob0IYnRlQI+oyOdmK7j2DHpB/FCPaIeYKwmsJPJtGRRoY", + "integrity": "sha384-kbTr53oyqrMpgr620HR4W8vLXxT4Ulo5EeCoHebbMjGns5rwNvJP2BLuPyo5XVJj", "elements": [ "country-posters-map" ], @@ -170,7 +170,7 @@ "scriptUrl": "./country-posters/country-posters.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -184,7 +184,7 @@ "scriptUrl": "./country-posters/country-posters.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } } ] @@ -193,7 +193,7 @@ "bundle": "dashboard-plus-grid", "scriptUrl": "./dashboard-plus-grid/dashboard-plus-grid.js", "output": "doxa-maps/dashboard-plus-grid/dashboard-plus-grid.js", - "integrity": "sha384-P0edqxp6+FLOiF2rzzR7Ytmjz3h2fNP6BEgNzWKacqWhD01c0ZWPrVKn44X2JQ8O", + "integrity": "sha384-YbJgljynZ4t3/Ro44oHQy9ihl9/5o7j4IKts8MNRfA73Cb5cyD7U52DklXjzpLpG", "elements": [ "dashboard-plus-grid" ], @@ -213,7 +213,7 @@ "scriptUrl": "./dashboard-plus-grid/dashboard-plus-grid.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" }, "instances": [ { @@ -237,7 +237,7 @@ "bundle": "demo-map", "scriptUrl": "./demo-map/demo-map.js", "output": "doxa-maps/demo-map/demo-map.js", - "integrity": "sha384-rJKc4nfmyGRg1jLQ0z1oHkdzh327riWrR31KonyK4YCEx12t16lwv6pUFE7qrZ7R", + "integrity": "sha384-QiUJUgeFn27tiHKVhAYtJuIWo+1z5xsCUP1Nj4m1H4cFUV3vUA7ADTP58Ky3oVtQ", "elements": [ "demo-map" ], @@ -253,7 +253,7 @@ "scriptUrl": "./demo-map/demo-map.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" }, "instances": [ { @@ -331,7 +331,7 @@ "bundle": "doxa-research-map", "scriptUrl": "./doxa-research-map/doxa-research-map.js", "output": "doxa-maps/doxa-research-map/doxa-research-map.js", - "integrity": "sha384-TaralB6CTdy7PGGyPQgxcrhw2GMxWvOB+YVScRguQzTkbmbj3N6Luc78ZNeHzx+R", + "integrity": "sha384-m4l+f0dtSiobgVmlkVLdbrLtQ1XwOTEmN2S++QZFqsYdTeEVuSDMl96aTudjoqB4", "elements": [ "doxa-research-map" ], @@ -347,7 +347,7 @@ "scriptUrl": "./doxa-research-map/doxa-research-map.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" }, "instances": [ { @@ -373,7 +373,7 @@ "bundle": "doxa-simple-map", "scriptUrl": "./doxa-simple-map/doxa-simple-map.js", "output": "doxa-maps/doxa-simple-map/doxa-simple-map.js", - "integrity": "sha384-bJZCO07WgqJdkss8wVF2wSfaDUFQqNonFatNPJOvW/9/UK2mlWhTHsic0t6ivz6W", + "integrity": "sha384-hzEui48BqpW8VhRthz3daMgAdw4w4M3gtBre4ce4sXuAmS+39pMRW9reNAvpFb+W", "elements": [ "doxa-map", "doxa-simple-map" @@ -390,7 +390,7 @@ "scriptUrl": "./doxa-simple-map/doxa-simple-map.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" }, "instances": [ { @@ -640,7 +640,7 @@ "bundle": "my-upg-100-list", "scriptUrl": "./my-upg-100-list/my-upg-100-list.js", "output": "doxa-maps/my-upg-100-list/my-upg-100-list.js", - "integrity": "sha384-FsLKnc68f9jkTo/nVZ4lJ68Yugie7i+BeqoSM0CLiILe7YzlRJOmhZ2HUW0UslBr", + "integrity": "sha384-wsI/kC7ernWrD4UZydHEUyyjK65h9NRs50CbZAWYAFMziSSuCdeIsTleezVVbsyV", "elements": [ "my-upg-100-list-map" ], @@ -660,7 +660,7 @@ "scriptUrl": "./my-upg-100-list/my-upg-100-list.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -674,7 +674,7 @@ "scriptUrl": "./my-upg-100-list/my-upg-100-list.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -688,7 +688,7 @@ "scriptUrl": "./my-upg-100-list/my-upg-100-list.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } } ] @@ -895,7 +895,7 @@ "bundle": "research-dashboard", "scriptUrl": "./research-dashboard/research-dashboard.js", "output": "doxa-maps/research-dashboard/research-dashboard.js", - "integrity": "sha384-fcOV0Am4svYx+S+fN8NSDa5H9Zyaw2fsJB6rRuH06oQ8aeEIDTLY4I9YlLmbcSlD", + "integrity": "sha384-VvOYWBcDd7NtnB1eveECKX88ZHIpGnOf79tVdCUqGZzXLgoZPc+oTTPIC3ajaYsn", "elements": [ "research-dashboard-map" ], @@ -911,7 +911,7 @@ "scriptUrl": "./research-dashboard/research-dashboard.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" }, "bundle": "research-dashboard" } @@ -1009,7 +1009,7 @@ "bundle": "template-bundle", "scriptUrl": "./template-bundle/template-bundle.js", "output": "doxa-maps/template-bundle/template-bundle.js", - "integrity": "sha384-L0FkVYzlQATU9b0Ah8f089YyKz29G6Y58/44DkV+TMS5WbpeO2Jq014VzVAmpTMS", + "integrity": "sha384-k+G5UlkZ99QmuecCCWUrjz998JBJnQT3hsDG0A+IVmiX9F3CNswmHXXzYhjnUTDX", "elements": [ "template-bundle" ], @@ -1025,7 +1025,7 @@ "scriptUrl": "./template-bundle/template-bundle.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" }, "bundle": "template-bundle" }, @@ -1040,7 +1040,7 @@ "scriptUrl": "./template-bundle/template-bundle.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" }, "bundle": "template-bundle" } diff --git a/public/doxa-maps/my-upg-100-list/my-upg-100-list.js b/public/doxa-maps/my-upg-100-list/my-upg-100-list.js index efa46c6c4..247cabd75 100644 --- a/public/doxa-maps/my-upg-100-list/my-upg-100-list.js +++ b/public/doxa-maps/my-upg-100-list/my-upg-100-list.js @@ -1,46 +1,46 @@ -(function(){"use strict";var Md;var Qo=typeof document<"u"?document.currentScript:null;const Sw="modulepreload",Aw=function(e){return"/"+e},$w={},En=function(t,o,n){let a=Promise.resolve();function r(s){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s}return a.then(s=>{for(const i of s||[])i.status==="rejected"&&r(i.reason);return t().catch(r)})};/** +(function(){"use strict";var jd;var Qo=typeof document<"u"?document.currentScript:null;const Nw="modulepreload",Iw=function(e){return"/"+e},Rw={},En=function(t,o,n){let a=Promise.resolve();function r(s){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s}return a.then(s=>{for(const i of s||[])i.status==="rejected"&&r(i.reason);return t().catch(r)})};/** * @vue/shared v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function mr(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const ze={},en=[],qt=()=>{},di=()=>!1,ua=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),da=e=>e.startsWith("onUpdate:"),nt=Object.assign,br=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},Fd=Object.prototype.hasOwnProperty,Re=(e,t)=>Fd.call(e,t),ke=Array.isArray,Co=e=>Tn(e)==="[object Map]",pa=e=>Tn(e)==="[object Set]",pi=e=>Tn(e)==="[object Date]",xe=e=>typeof e=="function",Ve=e=>typeof e=="string",It=e=>typeof e=="symbol",je=e=>e!==null&&typeof e=="object",gi=e=>(je(e)||xe(e))&&xe(e.then)&&xe(e.catch),fi=Object.prototype.toString,Tn=e=>fi.call(e),Od=e=>Tn(e).slice(8,-1),ga=e=>Tn(e)==="[object Object]",fa=e=>Ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Pn=mr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ha=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},Dd=/-\w/g,gt=ha(e=>e.replace(Dd,t=>t.slice(1).toUpperCase())),Bd=/\B([A-Z])/g,Rt=ha(e=>e.replace(Bd,"-$1").toLowerCase()),ma=ha(e=>e.charAt(0).toUpperCase()+e.slice(1)),yr=ha(e=>e?`on${ma(e)}`:""),Jt=(e,t)=>!Object.is(e,t),ba=(e,...t)=>{for(let o=0;o{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},_r=e=>{const t=parseFloat(e);return isNaN(t)?e:t},mi=e=>{const t=Ve(e)?Number(e):NaN;return isNaN(t)?e:t};let bi;const ya=()=>bi||(bi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function et(e){if(ke(e)){const t={};for(let o=0;o{if(o){const n=o.split(Gd);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Le(e){let t="";if(Ve(e))t=e;else if(ke(e))for(let o=0;o!!(e&&e.__v_isRef===!0),ue=e=>Ve(e)?e:e==null?"":ke(e)||je(e)&&(e.toString===fi||!xe(e.toString))?vi(e)?ue(e.value):JSON.stringify(e,ki,2):String(e),ki=(e,t)=>vi(t)?ki(e,t.value):Co(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[n,a],r)=>(o[vr(n,r)+" =>"]=a,o),{})}:pa(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>vr(o))}:It(t)?vr(t):je(t)&&!ke(t)&&!ga(t)?String(t):t,vr=(e,t="")=>{var o;return It(e)?`Symbol(${(o=e.description)!=null?o:t})`:e};/** +**/function br(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const ze={},en=[],qt=()=>{},hi=()=>!1,da=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),pa=e=>e.startsWith("onUpdate:"),nt=Object.assign,yr=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},zd=Object.prototype.hasOwnProperty,Re=(e,t)=>zd.call(e,t),ke=Array.isArray,Co=e=>Tn(e)==="[object Map]",ga=e=>Tn(e)==="[object Set]",mi=e=>Tn(e)==="[object Date]",xe=e=>typeof e=="function",Ve=e=>typeof e=="string",It=e=>typeof e=="symbol",je=e=>e!==null&&typeof e=="object",bi=e=>(je(e)||xe(e))&&xe(e.then)&&xe(e.catch),yi=Object.prototype.toString,Tn=e=>yi.call(e),Hd=e=>Tn(e).slice(8,-1),fa=e=>Tn(e)==="[object Object]",ha=e=>Ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Pn=br(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ma=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},Vd=/-\w/g,gt=ma(e=>e.replace(Vd,t=>t.slice(1).toUpperCase())),Wd=/\B([A-Z])/g,Rt=ma(e=>e.replace(Wd,"-$1").toLowerCase()),ba=ma(e=>e.charAt(0).toUpperCase()+e.slice(1)),_r=ma(e=>e?`on${ba(e)}`:""),Jt=(e,t)=>!Object.is(e,t),ya=(e,...t)=>{for(let o=0;o{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},vr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},vi=e=>{const t=Ve(e)?Number(e):NaN;return isNaN(t)?e:t};let ki;const _a=()=>ki||(ki=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function et(e){if(ke(e)){const t={};for(let o=0;o{if(o){const n=o.split(qd);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Le(e){let t="";if(Ve(e))t=e;else if(ke(e))for(let o=0;o!!(e&&e.__v_isRef===!0),ue=e=>Ve(e)?e:e==null?"":ke(e)||je(e)&&(e.toString===yi||!xe(e.toString))?Si(e)?ue(e.value):JSON.stringify(e,Ai,2):String(e),Ai=(e,t)=>Si(t)?Ai(e,t.value):Co(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[n,a],r)=>(o[kr(n,r)+" =>"]=a,o),{})}:ga(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>kr(o))}:It(t)?kr(t):je(t)&&!ke(t)&&!fa(t)?String(t):t,kr=(e,t="")=>{var o;return It(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 ut;class wi{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&ut&&(ut.active?(this.parent=ut,this.index=(ut.scopes||(ut.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,o;if(this.scopes){const n=this.scopes.slice();for(t=0,o=n.length;t0&&--this._on===0){if(ut===this)ut=this.prevScope;else{let t=ut;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let o,n;for(o=0,n=this.effects.length;o0)return;if(Nn){let t=Nn;for(Nn=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;Mn;){let t=Mn;for(Mn=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 Li(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ci(e){let t,o=e.depsTail,n=o;for(;n;){const a=n.prevDep;n.version===-1?(n===o&&(o=a),$r(n),Wd(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=a}e.deps=t,e.depsTail=o}function Ar(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ei(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ei(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===In)||(e.globalVersion=In,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ar(e))))return;e.flags|=2;const t=e.dep,o=We,n=Ut;We=e,Ut=!0;try{Li(e);const a=e.fn(e._value);(t.version===0||Jt(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(a){throw t.version++,a}finally{We=o,Ut=n,Ci(e),e.flags&=-3}}function $r(e,t=!1){const{dep:o,prevSub:n,nextSub:a}=e;if(n&&(n.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=n,e.nextSub=void 0),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let r=o.computed.deps;r;r=r.nextDep)$r(r,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function Wd(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let Ut=!0;const Ti=[];function Zt(){Ti.push(Ut),Ut=!1}function Xt(){const e=Ti.pop();Ut=e===void 0?!0:e}function Pi(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=We;We=void 0;try{t()}finally{We=o}}}let In=0;class Yd{constructor(t,o){this.sub=t,this.dep=o,this.version=o.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Lr{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!We||!Ut||We===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==We)o=this.activeLink=new Yd(We,this),We.deps?(o.prevDep=We.depsTail,We.depsTail.nextDep=o,We.depsTail=o):We.deps=We.depsTail=o,Mi(o);else if(o.version===-1&&(o.version=this.version,o.nextDep)){const n=o.nextDep;n.prevDep=o.prevDep,o.prevDep&&(o.prevDep.nextDep=n),o.prevDep=We.depsTail,o.nextDep=void 0,We.depsTail.nextDep=o,We.depsTail=o,We.deps===o&&(We.deps=n)}return o}trigger(t){this.version++,In++,this.notify(t)}notify(t){xr();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{Sr()}}}function Mi(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)Mi(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const va=new WeakMap,Go=Symbol(""),Cr=Symbol(""),Rn=Symbol("");function xt(e,t,o){if(Ut&&We){let n=va.get(e);n||va.set(e,n=new Map);let a=n.get(o);a||(n.set(o,a=new Lr),a.map=n,a.key=o),a.track()}}function po(e,t,o,n,a,r){const s=va.get(e);if(!s){In++;return}const i=l=>{l&&l.trigger()};if(xr(),t==="clear")s.forEach(i);else{const l=ke(e),c=l&&fa(o);if(l&&o==="length"){const u=Number(n);s.forEach((p,g)=>{(g==="length"||g===Rn||!It(g)&&g>=u)&&i(p)})}else switch((o!==void 0||s.has(void 0))&&i(s.get(o)),c&&i(s.get(Rn)),t){case"add":l?c&&i(s.get("length")):(i(s.get(Go)),Co(e)&&i(s.get(Cr)));break;case"delete":l||(i(s.get(Go)),Co(e)&&i(s.get(Cr)));break;case"set":Co(e)&&i(s.get(Go));break}}Sr()}function qd(e,t){const o=va.get(e);return o&&o.get(t)}function tn(e){const t=Me(e);return t===e?t:(xt(t,"iterate",Rn),Ft(e)?t:t.map(Kt))}function ka(e){return xt(e=Me(e),"iterate",Rn),e}function Qt(e,t){return ho(e)?nn(fo(e)?Kt(t):t):Kt(t)}const Jd={__proto__:null,[Symbol.iterator](){return Er(this,Symbol.iterator,e=>Qt(this,e))},concat(...e){return tn(this).concat(...e.map(t=>ke(t)?tn(t):t))},entries(){return Er(this,"entries",e=>(e[1]=Qt(this,e[1]),e))},every(e,t){return go(this,"every",e,t,void 0,arguments)},filter(e,t){return go(this,"filter",e,t,o=>o.map(n=>Qt(this,n)),arguments)},find(e,t){return go(this,"find",e,t,o=>Qt(this,o),arguments)},findIndex(e,t){return go(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return go(this,"findLast",e,t,o=>Qt(this,o),arguments)},findLastIndex(e,t){return go(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return go(this,"forEach",e,t,void 0,arguments)},includes(...e){return Tr(this,"includes",e)},indexOf(...e){return Tr(this,"indexOf",e)},join(e){return tn(this).join(e)},lastIndexOf(...e){return Tr(this,"lastIndexOf",e)},map(e,t){return go(this,"map",e,t,void 0,arguments)},pop(){return Fn(this,"pop")},push(...e){return Fn(this,"push",e)},reduce(e,...t){return Ni(this,"reduce",e,t)},reduceRight(e,...t){return Ni(this,"reduceRight",e,t)},shift(){return Fn(this,"shift")},some(e,t){return go(this,"some",e,t,void 0,arguments)},splice(...e){return Fn(this,"splice",e)},toReversed(){return tn(this).toReversed()},toSorted(e){return tn(this).toSorted(e)},toSpliced(...e){return tn(this).toSpliced(...e)},unshift(...e){return Fn(this,"unshift",e)},values(){return Er(this,"values",e=>Qt(this,e))}};function Er(e,t,o){const n=ka(e),a=n[t]();return n!==e&&!Ft(e)&&(a._next=a.next,a.next=()=>{const r=a._next();return r.done||(r.value=o(r.value)),r}),a}const Zd=Array.prototype;function go(e,t,o,n,a,r){const s=ka(e),i=s!==e&&!Ft(e),l=s[t];if(l!==Zd[t]){const p=l.apply(e,r);return i?Kt(p):p}let c=o;s!==e&&(i?c=function(p,g){return o.call(this,Qt(e,p),g,e)}:o.length>2&&(c=function(p,g){return o.call(this,p,g,e)}));const u=l.call(s,c,n);return i&&a?a(u):u}function Ni(e,t,o,n){const a=ka(e),r=a!==e&&!Ft(e);let s=o,i=!1;a!==e&&(r?(i=n.length===0,s=function(c,u,p){return i&&(i=!1,c=Qt(e,c)),o.call(this,c,Qt(e,u),p,e)}):o.length>3&&(s=function(c,u,p){return o.call(this,c,u,p,e)}));const l=a[t](s,...n);return i?Qt(e,l):l}function Tr(e,t,o){const n=Me(e);xt(n,"iterate",Rn);const a=n[t](...o);return(a===-1||a===!1)&&$a(o[0])?(o[0]=Me(o[0]),n[t](...o)):a}function Fn(e,t,o=[]){Zt(),xr();const n=Me(e)[t].apply(e,o);return Sr(),Xt(),n}const Xd=mr("__proto__,__v_isRef,__isVue"),Ii=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(It));function Qd(e){It(e)||(e=String(e));const t=Me(this);return xt(t,"has",e),t.hasOwnProperty(e)}class Ri{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const a=this._isReadonly,r=this._isShallow;if(o==="__v_isReactive")return!a;if(o==="__v_isReadonly")return a;if(o==="__v_isShallow")return r;if(o==="__v_raw")return n===(a?r?Gi:ji:r?Bi:Di).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const s=ke(t);if(!a){let l;if(s&&(l=Jd[o]))return l;if(o==="hasOwnProperty")return Qd}const i=Reflect.get(t,o,Ze(t)?t:n);if((It(o)?Ii.has(o):Xd(o))||(a||xt(t,"get",o),r))return i;if(Ze(i)){const l=s&&fa(o)?i:i.value;return a&&je(l)?Mr(l):l}return je(i)?a?Mr(i):on(i):i}}class Fi extends Ri{constructor(t=!1){super(!1,t)}set(t,o,n,a){let r=t[o];const s=ke(t)&&fa(o);if(!this._isShallow){const c=ho(r);if(!Ft(n)&&!ho(n)&&(r=Me(r),n=Me(n)),!s&&Ze(r)&&!Ze(n))return c||(r.value=n),!0}const i=s?Number(o)e,wa=e=>Reflect.getPrototypeOf(e);function ap(e,t,o){return function(...n){const a=this.__v_raw,r=Me(a),s=Co(r),i=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,c=a[e](...n),u=o?Pr:t?nn:Kt;return!t&&xt(r,"iterate",l?Cr:Go),nt(Object.create(c),{next(){const{value:p,done:g}=c.next();return g?{value:p,done:g}:{value:i?[u(p[0]),u(p[1])]:u(p),done:g}}})}}function xa(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function rp(e,t){const o={get(a){const r=this.__v_raw,s=Me(r),i=Me(a);e||(Jt(a,i)&&xt(s,"get",a),xt(s,"get",i));const{has:l}=wa(s),c=t?Pr:e?nn:Kt;if(l.call(s,a))return c(r.get(a));if(l.call(s,i))return c(r.get(i));r!==s&&r.get(a)},get size(){const a=this.__v_raw;return!e&&xt(Me(a),"iterate",Go),a.size},has(a){const r=this.__v_raw,s=Me(r),i=Me(a);return e||(Jt(a,i)&&xt(s,"has",a),xt(s,"has",i)),a===i?r.has(a):r.has(a)||r.has(i)},forEach(a,r){const s=this,i=s.__v_raw,l=Me(i),c=t?Pr:e?nn:Kt;return!e&&xt(l,"iterate",Go),i.forEach((u,p)=>a.call(r,c(u),c(p),s))}};return nt(o,e?{add:xa("add"),set:xa("set"),delete:xa("delete"),clear:xa("clear")}:{add(a){const r=Me(this),s=wa(r),i=Me(a),l=!t&&!Ft(a)&&!ho(a)?i:a;return s.has.call(r,l)||Jt(a,l)&&s.has.call(r,a)||Jt(i,l)&&s.has.call(r,i)||(r.add(l),po(r,"add",l,l)),this},set(a,r){!t&&!Ft(r)&&!ho(r)&&(r=Me(r));const s=Me(this),{has:i,get:l}=wa(s);let c=i.call(s,a);c||(a=Me(a),c=i.call(s,a));const u=l.call(s,a);return s.set(a,r),c?Jt(r,u)&&po(s,"set",a,r):po(s,"add",a,r),this},delete(a){const r=Me(this),{has:s,get:i}=wa(r);let l=s.call(r,a);l||(a=Me(a),l=s.call(r,a)),i&&i.call(r,a);const c=r.delete(a);return l&&po(r,"delete",a,void 0),c},clear(){const a=Me(this),r=a.size!==0,s=a.clear();return r&&po(a,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(a=>{o[a]=ap(a,e,t)}),o}function Sa(e,t){const o=rp(e,t);return(n,a,r)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?n:Reflect.get(Re(o,a)&&a in n?o:n,a,r)}const sp={get:Sa(!1,!1)},ip={get:Sa(!1,!0)},lp={get:Sa(!0,!1)},cp={get:Sa(!0,!0)},Di=new WeakMap,Bi=new WeakMap,ji=new WeakMap,Gi=new WeakMap;function up(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function on(e){return ho(e)?e:Aa(e,!1,ep,sp,Di)}function dp(e){return Aa(e,!1,op,ip,Bi)}function Mr(e){return Aa(e,!0,tp,lp,ji)}function Cw(e){return Aa(e,!0,np,cp,Gi)}function Aa(e,t,o,n,a){if(!je(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const r=a.get(e);if(r)return r;const s=up(Od(e));if(s===0)return e;const i=new Proxy(e,s===2?n:o);return a.set(e,i),i}function fo(e){return ho(e)?fo(e.__v_raw):!!(e&&e.__v_isReactive)}function ho(e){return!!(e&&e.__v_isReadonly)}function Ft(e){return!!(e&&e.__v_isShallow)}function $a(e){return e?!!e.__v_raw:!1}function Me(e){const t=e&&e.__v_raw;return t?Me(t):e}function Uo(e){return!Re(e,"__v_skip")&&Object.isExtensible(e)&&hi(e,"__v_skip",!0),e}const Kt=e=>je(e)?on(e):e,nn=e=>je(e)?Mr(e):e;function Ze(e){return e?e.__v_isRef===!0:!1}function ce(e){return Ui(e,!1)}function an(e){return Ui(e,!0)}function Ui(e,t){return Ze(e)?e:new pp(e,t)}class pp{constructor(t,o){this.dep=new Lr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:Me(t),this._value=o?t:Kt(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||Ft(t)||ho(t);t=n?t:Me(t),Jt(t,o)&&(this._rawValue=t,this._value=n?t:Kt(t),this.dep.trigger())}}function ye(e){return Ze(e)?e.value:e}const gp={get:(e,t,o)=>t==="__v_raw"?e:ye(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const a=e[t];return Ze(a)&&!Ze(o)?(a.value=o,!0):Reflect.set(e,t,o,n)}};function Ki(e){return fo(e)?e:new Proxy(e,gp)}function fp(e){const t=ke(e)?new Array(e.length):{};for(const o in e)t[o]=zi(e,o);return t}class hp{constructor(t,o,n){this._object=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=It(o)?o:String(o),this._raw=Me(t);let a=!0,r=t;if(!ke(t)||It(this._key)||!fa(this._key))do a=!$a(r)||Ft(r);while(a&&(r=r.__v_raw));this._shallow=a}get value(){let t=this._object[this._key];return this._shallow&&(t=ye(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ze(this._raw[this._key])){const o=this._object[this._key];if(Ze(o)){o.value=t;return}}this._object[this._key]=t}get dep(){return qd(this._raw,this._key)}}class mp{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 bp(e,t,o){return Ze(e)?e:xe(e)?new mp(e):je(e)&&arguments.length>1?zi(e,t,o):ce(e)}function zi(e,t,o){return new hp(e,t,o)}class yp{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new Lr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=In-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&We!==this)return $i(this,!0),!0}get value(){const t=this.dep.track();return Ei(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function _p(e,t,o=!1){let n,a;return xe(e)?n=e:(n=e.get,a=e.set),new yp(n,a,o)}const La={},Ca=new WeakMap;let Ko;function vp(e,t=!1,o=Ko){if(o){let n=Ca.get(o);n||Ca.set(o,n=[]),n.push(e)}}function kp(e,t,o=ze){const{immediate:n,deep:a,once:r,scheduler:s,augmentJob:i,call:l}=o,c=b=>a?b:Ft(b)||a===!1||a===0?mo(b,1):mo(b);let u,p,g,k,w=!1,_=!1;if(Ze(e)?(p=()=>e.value,w=Ft(e)):fo(e)?(p=()=>c(e),w=!0):ke(e)?(_=!0,w=e.some(b=>fo(b)||Ft(b)),p=()=>e.map(b=>{if(Ze(b))return b.value;if(fo(b))return c(b);if(xe(b))return l?l(b,2):b()})):xe(e)?t?p=l?()=>l(e,2):e:p=()=>{if(g){Zt();try{g()}finally{Xt()}}const b=Ko;Ko=u;try{return l?l(e,3,[k]):e(k)}finally{Ko=b}}:p=qt,t&&a){const b=p,x=a===!0?1/0:a;p=()=>mo(b(),x)}const d=xi(),h=()=>{u.stop(),d&&d.active&&br(d.effects,u)};if(r&&t){const b=t;t=(...x)=>{const A=b(...x);return h(),A}}let y=_?new Array(e.length).fill(La):La;const v=b=>{if(!(!(u.flags&1)||!u.dirty&&!b))if(t){const x=u.run();if(b||a||w||(_?x.some((A,L)=>Jt(A,y[L])):Jt(x,y))){g&&g();const A=Ko;Ko=u;try{const L=[x,y===La?void 0:_&&y[0]===La?[]:y,k];y=x,l?l(t,3,L):t(...L)}finally{Ko=A}}}else u.run()};return i&&i(v),u=new Si(p),u.scheduler=s?()=>s(v,!1):v,k=b=>vp(b,!1,u),g=u.onStop=()=>{const b=Ca.get(u);if(b){if(l)l(b,4);else for(const x of b)x();Ca.delete(u)}},t?n?v(!0):y=u.run():s?s(v.bind(null,!0),!0):u.run(),h.pause=u.pause.bind(u),h.resume=u.resume.bind(u),h.stop=h,h}function mo(e,t=1/0,o){if(t<=0||!je(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,Ze(e))mo(e.value,t,o);else if(ke(e))for(let n=0;n{mo(n,t,o)});else if(ga(e)){for(const n in e)mo(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&mo(e[n],t,o)}return e}/** +**/let ut;class $i{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&ut&&(ut.active?(this.parent=ut,this.index=(ut.scopes||(ut.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,o;if(this.scopes){const n=this.scopes.slice();for(t=0,o=n.length;t0&&--this._on===0){if(ut===this)ut=this.prevScope;else{let t=ut;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let o,n;for(o=0,n=this.effects.length;o0)return;if(Nn){let t=Nn;for(Nn=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;Mn;){let t=Mn;for(Mn=void 0;t;){const o=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=o}}if(e)throw e}function Pi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Mi(e){let t,o=e.depsTail,n=o;for(;n;){const a=n.prevDep;n.version===-1?(n===o&&(o=a),Lr(n),tp(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=a}e.deps=t,e.depsTail=o}function $r(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ni(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ni(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===In)||(e.globalVersion=In,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!$r(e))))return;e.flags|=2;const t=e.dep,o=We,n=Ut;We=e,Ut=!0;try{Pi(e);const a=e.fn(e._value);(t.version===0||Jt(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(a){throw t.version++,a}finally{We=o,Ut=n,Mi(e),e.flags&=-3}}function Lr(e,t=!1){const{dep:o,prevSub:n,nextSub:a}=e;if(n&&(n.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=n,e.nextSub=void 0),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let r=o.computed.deps;r;r=r.nextDep)Lr(r,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function tp(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let Ut=!0;const Ii=[];function Zt(){Ii.push(Ut),Ut=!1}function Xt(){const e=Ii.pop();Ut=e===void 0?!0:e}function Ri(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=We;We=void 0;try{t()}finally{We=o}}}let In=0;class op{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 Cr{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!We||!Ut||We===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==We)o=this.activeLink=new op(We,this),We.deps?(o.prevDep=We.depsTail,We.depsTail.nextDep=o,We.depsTail=o):We.deps=We.depsTail=o,Fi(o);else if(o.version===-1&&(o.version=this.version,o.nextDep)){const n=o.nextDep;n.prevDep=o.prevDep,o.prevDep&&(o.prevDep.nextDep=n),o.prevDep=We.depsTail,o.nextDep=void 0,We.depsTail.nextDep=o,We.depsTail=o,We.deps===o&&(We.deps=n)}return o}trigger(t){this.version++,In++,this.notify(t)}notify(t){Sr();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{Ar()}}}function Fi(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)Fi(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const ka=new WeakMap,Go=Symbol(""),Er=Symbol(""),Rn=Symbol("");function xt(e,t,o){if(Ut&&We){let n=ka.get(e);n||ka.set(e,n=new Map);let a=n.get(o);a||(n.set(o,a=new Cr),a.map=n,a.key=o),a.track()}}function po(e,t,o,n,a,r){const s=ka.get(e);if(!s){In++;return}const i=l=>{l&&l.trigger()};if(Sr(),t==="clear")s.forEach(i);else{const l=ke(e),c=l&&ha(o);if(l&&o==="length"){const u=Number(n);s.forEach((p,g)=>{(g==="length"||g===Rn||!It(g)&&g>=u)&&i(p)})}else switch((o!==void 0||s.has(void 0))&&i(s.get(o)),c&&i(s.get(Rn)),t){case"add":l?c&&i(s.get("length")):(i(s.get(Go)),Co(e)&&i(s.get(Er)));break;case"delete":l||(i(s.get(Go)),Co(e)&&i(s.get(Er)));break;case"set":Co(e)&&i(s.get(Go));break}}Ar()}function np(e,t){const o=ka.get(e);return o&&o.get(t)}function tn(e){const t=Me(e);return t===e?t:(xt(t,"iterate",Rn),Ft(e)?t:t.map(Kt))}function wa(e){return xt(e=Me(e),"iterate",Rn),e}function Qt(e,t){return ho(e)?nn(fo(e)?Kt(t):t):Kt(t)}const ap={__proto__:null,[Symbol.iterator](){return Tr(this,Symbol.iterator,e=>Qt(this,e))},concat(...e){return tn(this).concat(...e.map(t=>ke(t)?tn(t):t))},entries(){return Tr(this,"entries",e=>(e[1]=Qt(this,e[1]),e))},every(e,t){return go(this,"every",e,t,void 0,arguments)},filter(e,t){return go(this,"filter",e,t,o=>o.map(n=>Qt(this,n)),arguments)},find(e,t){return go(this,"find",e,t,o=>Qt(this,o),arguments)},findIndex(e,t){return go(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return go(this,"findLast",e,t,o=>Qt(this,o),arguments)},findLastIndex(e,t){return go(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return go(this,"forEach",e,t,void 0,arguments)},includes(...e){return Pr(this,"includes",e)},indexOf(...e){return Pr(this,"indexOf",e)},join(e){return tn(this).join(e)},lastIndexOf(...e){return Pr(this,"lastIndexOf",e)},map(e,t){return go(this,"map",e,t,void 0,arguments)},pop(){return Fn(this,"pop")},push(...e){return Fn(this,"push",e)},reduce(e,...t){return Oi(this,"reduce",e,t)},reduceRight(e,...t){return Oi(this,"reduceRight",e,t)},shift(){return Fn(this,"shift")},some(e,t){return go(this,"some",e,t,void 0,arguments)},splice(...e){return Fn(this,"splice",e)},toReversed(){return tn(this).toReversed()},toSorted(e){return tn(this).toSorted(e)},toSpliced(...e){return tn(this).toSpliced(...e)},unshift(...e){return Fn(this,"unshift",e)},values(){return Tr(this,"values",e=>Qt(this,e))}};function Tr(e,t,o){const n=wa(e),a=n[t]();return n!==e&&!Ft(e)&&(a._next=a.next,a.next=()=>{const r=a._next();return r.done||(r.value=o(r.value)),r}),a}const rp=Array.prototype;function go(e,t,o,n,a,r){const s=wa(e),i=s!==e&&!Ft(e),l=s[t];if(l!==rp[t]){const p=l.apply(e,r);return i?Kt(p):p}let c=o;s!==e&&(i?c=function(p,g){return o.call(this,Qt(e,p),g,e)}:o.length>2&&(c=function(p,g){return o.call(this,p,g,e)}));const u=l.call(s,c,n);return i&&a?a(u):u}function Oi(e,t,o,n){const a=wa(e),r=a!==e&&!Ft(e);let s=o,i=!1;a!==e&&(r?(i=n.length===0,s=function(c,u,p){return i&&(i=!1,c=Qt(e,c)),o.call(this,c,Qt(e,u),p,e)}):o.length>3&&(s=function(c,u,p){return o.call(this,c,u,p,e)}));const l=a[t](s,...n);return i?Qt(e,l):l}function Pr(e,t,o){const n=Me(e);xt(n,"iterate",Rn);const a=n[t](...o);return(a===-1||a===!1)&&La(o[0])?(o[0]=Me(o[0]),n[t](...o)):a}function Fn(e,t,o=[]){Zt(),Sr();const n=Me(e)[t].apply(e,o);return Ar(),Xt(),n}const sp=br("__proto__,__v_isRef,__isVue"),Di=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(It));function ip(e){It(e)||(e=String(e));const t=Me(this);return xt(t,"has",e),t.hasOwnProperty(e)}class Bi{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const a=this._isReadonly,r=this._isShallow;if(o==="__v_isReactive")return!a;if(o==="__v_isReadonly")return a;if(o==="__v_isShallow")return r;if(o==="__v_raw")return n===(a?r?Hi:zi:r?Ki:Ui).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const s=ke(t);if(!a){let l;if(s&&(l=ap[o]))return l;if(o==="hasOwnProperty")return ip}const i=Reflect.get(t,o,Ze(t)?t:n);if((It(o)?Di.has(o):sp(o))||(a||xt(t,"get",o),r))return i;if(Ze(i)){const l=s&&ha(o)?i:i.value;return a&&je(l)?Nr(l):l}return je(i)?a?Nr(i):on(i):i}}class ji extends Bi{constructor(t=!1){super(!1,t)}set(t,o,n,a){let r=t[o];const s=ke(t)&&ha(o);if(!this._isShallow){const c=ho(r);if(!Ft(n)&&!ho(n)&&(r=Me(r),n=Me(n)),!s&&Ze(r)&&!Ze(n))return c||(r.value=n),!0}const i=s?Number(o)e,xa=e=>Reflect.getPrototypeOf(e);function pp(e,t,o){return function(...n){const a=this.__v_raw,r=Me(a),s=Co(r),i=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,c=a[e](...n),u=o?Mr:t?nn:Kt;return!t&&xt(r,"iterate",l?Er:Go),nt(Object.create(c),{next(){const{value:p,done:g}=c.next();return g?{value:p,done:g}:{value:i?[u(p[0]),u(p[1])]:u(p),done:g}}})}}function Sa(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function gp(e,t){const o={get(a){const r=this.__v_raw,s=Me(r),i=Me(a);e||(Jt(a,i)&&xt(s,"get",a),xt(s,"get",i));const{has:l}=xa(s),c=t?Mr:e?nn:Kt;if(l.call(s,a))return c(r.get(a));if(l.call(s,i))return c(r.get(i));r!==s&&r.get(a)},get size(){const a=this.__v_raw;return!e&&xt(Me(a),"iterate",Go),a.size},has(a){const r=this.__v_raw,s=Me(r),i=Me(a);return e||(Jt(a,i)&&xt(s,"has",a),xt(s,"has",i)),a===i?r.has(a):r.has(a)||r.has(i)},forEach(a,r){const s=this,i=s.__v_raw,l=Me(i),c=t?Mr:e?nn:Kt;return!e&&xt(l,"iterate",Go),i.forEach((u,p)=>a.call(r,c(u),c(p),s))}};return nt(o,e?{add:Sa("add"),set:Sa("set"),delete:Sa("delete"),clear:Sa("clear")}:{add(a){const r=Me(this),s=xa(r),i=Me(a),l=!t&&!Ft(a)&&!ho(a)?i:a;return s.has.call(r,l)||Jt(a,l)&&s.has.call(r,a)||Jt(i,l)&&s.has.call(r,i)||(r.add(l),po(r,"add",l,l)),this},set(a,r){!t&&!Ft(r)&&!ho(r)&&(r=Me(r));const s=Me(this),{has:i,get:l}=xa(s);let c=i.call(s,a);c||(a=Me(a),c=i.call(s,a));const u=l.call(s,a);return s.set(a,r),c?Jt(r,u)&&po(s,"set",a,r):po(s,"add",a,r),this},delete(a){const r=Me(this),{has:s,get:i}=xa(r);let l=s.call(r,a);l||(a=Me(a),l=s.call(r,a)),i&&i.call(r,a);const c=r.delete(a);return l&&po(r,"delete",a,void 0),c},clear(){const a=Me(this),r=a.size!==0,s=a.clear();return r&&po(a,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(a=>{o[a]=pp(a,e,t)}),o}function Aa(e,t){const o=gp(e,t);return(n,a,r)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?n:Reflect.get(Re(o,a)&&a in n?o:n,a,r)}const fp={get:Aa(!1,!1)},hp={get:Aa(!1,!0)},mp={get:Aa(!0,!1)},bp={get:Aa(!0,!0)},Ui=new WeakMap,Ki=new WeakMap,zi=new WeakMap,Hi=new WeakMap;function yp(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function on(e){return ho(e)?e:$a(e,!1,lp,fp,Ui)}function _p(e){return $a(e,!1,up,hp,Ki)}function Nr(e){return $a(e,!0,cp,mp,zi)}function Ow(e){return $a(e,!0,dp,bp,Hi)}function $a(e,t,o,n,a){if(!je(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const r=a.get(e);if(r)return r;const s=yp(Hd(e));if(s===0)return e;const i=new Proxy(e,s===2?n:o);return a.set(e,i),i}function fo(e){return ho(e)?fo(e.__v_raw):!!(e&&e.__v_isReactive)}function ho(e){return!!(e&&e.__v_isReadonly)}function Ft(e){return!!(e&&e.__v_isShallow)}function La(e){return e?!!e.__v_raw:!1}function Me(e){const t=e&&e.__v_raw;return t?Me(t):e}function Uo(e){return!Re(e,"__v_skip")&&Object.isExtensible(e)&&_i(e,"__v_skip",!0),e}const Kt=e=>je(e)?on(e):e,nn=e=>je(e)?Nr(e):e;function Ze(e){return e?e.__v_isRef===!0:!1}function ce(e){return Vi(e,!1)}function an(e){return Vi(e,!0)}function Vi(e,t){return Ze(e)?e:new vp(e,t)}class vp{constructor(t,o){this.dep=new Cr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:Me(t),this._value=o?t:Kt(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||Ft(t)||ho(t);t=n?t:Me(t),Jt(t,o)&&(this._rawValue=t,this._value=n?t:Kt(t),this.dep.trigger())}}function ye(e){return Ze(e)?e.value:e}const kp={get:(e,t,o)=>t==="__v_raw"?e:ye(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const a=e[t];return Ze(a)&&!Ze(o)?(a.value=o,!0):Reflect.set(e,t,o,n)}};function Wi(e){return fo(e)?e:new Proxy(e,kp)}function wp(e){const t=ke(e)?new Array(e.length):{};for(const o in e)t[o]=Yi(e,o);return t}class xp{constructor(t,o,n){this._object=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=It(o)?o:String(o),this._raw=Me(t);let a=!0,r=t;if(!ke(t)||It(this._key)||!ha(this._key))do a=!La(r)||Ft(r);while(a&&(r=r.__v_raw));this._shallow=a}get value(){let t=this._object[this._key];return this._shallow&&(t=ye(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ze(this._raw[this._key])){const o=this._object[this._key];if(Ze(o)){o.value=t;return}}this._object[this._key]=t}get dep(){return np(this._raw,this._key)}}class Sp{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 Ap(e,t,o){return Ze(e)?e:xe(e)?new Sp(e):je(e)&&arguments.length>1?Yi(e,t,o):ce(e)}function Yi(e,t,o){return new xp(e,t,o)}class $p{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new Cr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=In-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&We!==this)return Ti(this,!0),!0}get value(){const t=this.dep.track();return Ni(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Lp(e,t,o=!1){let n,a;return xe(e)?n=e:(n=e.get,a=e.set),new $p(n,a,o)}const Ca={},Ea=new WeakMap;let Ko;function Cp(e,t=!1,o=Ko){if(o){let n=Ea.get(o);n||Ea.set(o,n=[]),n.push(e)}}function Ep(e,t,o=ze){const{immediate:n,deep:a,once:r,scheduler:s,augmentJob:i,call:l}=o,c=b=>a?b:Ft(b)||a===!1||a===0?mo(b,1):mo(b);let u,p,g,k,w=!1,_=!1;if(Ze(e)?(p=()=>e.value,w=Ft(e)):fo(e)?(p=()=>c(e),w=!0):ke(e)?(_=!0,w=e.some(b=>fo(b)||Ft(b)),p=()=>e.map(b=>{if(Ze(b))return b.value;if(fo(b))return c(b);if(xe(b))return l?l(b,2):b()})):xe(e)?t?p=l?()=>l(e,2):e:p=()=>{if(g){Zt();try{g()}finally{Xt()}}const b=Ko;Ko=u;try{return l?l(e,3,[k]):e(k)}finally{Ko=b}}:p=qt,t&&a){const b=p,x=a===!0?1/0:a;p=()=>mo(b(),x)}const d=Li(),h=()=>{u.stop(),d&&d.active&&yr(d.effects,u)};if(r&&t){const b=t;t=(...x)=>{const A=b(...x);return h(),A}}let y=_?new Array(e.length).fill(Ca):Ca;const v=b=>{if(!(!(u.flags&1)||!u.dirty&&!b))if(t){const x=u.run();if(b||a||w||(_?x.some((A,L)=>Jt(A,y[L])):Jt(x,y))){g&&g();const A=Ko;Ko=u;try{const L=[x,y===Ca?void 0:_&&y[0]===Ca?[]:y,k];y=x,l?l(t,3,L):t(...L)}finally{Ko=A}}}else u.run()};return i&&i(v),u=new Ci(p),u.scheduler=s?()=>s(v,!1):v,k=b=>Cp(b,!1,u),g=u.onStop=()=>{const b=Ea.get(u);if(b){if(l)l(b,4);else for(const x of b)x();Ea.delete(u)}},t?n?v(!0):y=u.run():s?s(v.bind(null,!0),!0):u.run(),h.pause=u.pause.bind(u),h.resume=u.resume.bind(u),h.stop=h,h}function mo(e,t=1/0,o){if(t<=0||!je(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,Ze(e))mo(e.value,t,o);else if(ke(e))for(let n=0;n{mo(n,t,o)});else if(fa(e)){for(const n in e)mo(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&mo(e[n],t,o)}return e}/** * @vue/runtime-core v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const On=[];let Nr=!1;function Ew(e,...t){if(Nr)return;Nr=!0,Zt();const o=On.length?On[On.length-1].component:null,n=o&&o.appContext.config.warnHandler,a=wp();if(n)rn(n,o,11,[e+t.map(r=>{var s,i;return(i=(s=r.toString)==null?void 0:s.call(r))!=null?i:JSON.stringify(r)}).join(""),o&&o.proxy,a.map(({vnode:r})=>`at <${Kl(o,r.type)}>`).join(` +**/const On=[];let Ir=!1;function Dw(e,...t){if(Ir)return;Ir=!0,Zt();const o=On.length?On[On.length-1].component:null,n=o&&o.appContext.config.warnHandler,a=Tp();if(n)rn(n,o,11,[e+t.map(r=>{var s,i;return(i=(s=r.toString)==null?void 0:s.call(r))!=null?i:JSON.stringify(r)}).join(""),o&&o.proxy,a.map(({vnode:r})=>`at <${Wl(o,r.type)}>`).join(` `),a]);else{const r=[`[Vue warn]: ${e}`,...t];a.length&&r.push(` -`,...xp(a)),console.warn(...r)}Xt(),Nr=!1}function wp(){let e=On[On.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 xp(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[` -`],...Sp(o))}),t}function Sp({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,a=` at <${Kl(e.component,e.type,n)}`,r=">"+o;return e.props?[a,...Ap(e.props),r]:[a+r]}function Ap(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...Hi(n,e[n]))}),o.length>3&&t.push(" ..."),t}function Hi(e,t,o){return Ve(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:Ze(t)?(t=Hi(e,Me(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):xe(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Me(t),o?t:[`${e}=`,t])}function rn(e,t,o,n){try{return n?e(...n):e()}catch(a){Dn(a,t,o)}}function zt(e,t,o,n){if(xe(e)){const a=rn(e,t,o,n);return a&&gi(a)&&a.catch(r=>{Dn(r,t,o)}),a}if(ke(e)){const a=[];for(let r=0;r>>1,a=Lt[n],r=Bn(a);r=Bn(o)?Lt.push(e):Lt.splice(Lp(t),0,e),e.flags|=1,Wi()}}function Wi(){Ea||(Ea=Vi.then(Ji))}function Cp(e){if(!ke(e))Eo&&e.id===-1?Eo.splice(ln+1,0,e):e.flags&1||(sn.push(e),e.flags|=1);else for(let t=0;tBn(o)-Bn(n));if(sn.length=0,Eo){for(let o=0;oe.id==null?e.flags&2?-1:1/0:e.id;function Ji(e){try{for(eo=0;eo{n._d&&ja(-1);const r=Ta(t),s=_o.length;let i;try{i=e(...a)}finally{for(let l=_o.length;l>s;l--)Zr();Ta(r),n._d&&ja(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function Ep(e,t){if(_t===null)return e;const o=za(_t),n=e.dirs||(e.dirs=[]);for(let a=0;a1)return o&&xe(t)?t.call(n&&n.proxy):t}}function Tp(){return!!(ko()||Vo)}const Pp=Symbol.for("v-scx"),Mp=()=>Te(Pp);function Np(e,t){return Rr(e,null,t)}function tt(e,t,o){return Rr(e,t,o)}function Rr(e,t,o=ze){const{immediate:n,deep:a,flush:r,once:s}=o,i=nt({},o),l=t&&n||!t&&r!=="post";let c;if(pn){if(r==="sync"){const k=Mp();c=k.__watcherHandles||(k.__watcherHandles=[])}else if(!l){const k=()=>{};return k.stop=qt,k.resume=qt,k.pause=qt,k}}const u=vt;i.call=(k,w,_)=>zt(k,u,w,_);let p=!1;r==="post"?i.scheduler=k=>{Et(k,u&&u.suspense)}:r!=="sync"&&(p=!0,i.scheduler=(k,w)=>{w?k():Ir(k)}),i.augmentJob=k=>{t&&(k.flags|=4),p&&(k.flags|=2,u&&(k.id=u.uid,k.i=u))};const g=kp(e,t,i);return pn&&(c?c.push(g):l&&g()),g}function Ip(e,t,o){const n=this.proxy,a=Ve(e)?e.includes(".")?Xi(n,e):()=>n[e]:e.bind(n,n);let r;xe(t)?r=t:(r=t.handler,o=t);const s=Jn(this),i=Rr(a,r.bind(n),o);return s(),i}function Xi(e,t){const o=t.split(".");return()=>{let n=e;for(let a=0;ae.__isTeleport,Ho=e=>e&&(e.disabled||e.disabled===""),Rp=e=>e&&(e.defer||e.defer===""),el=e=>typeof SVGElement<"u"&&e instanceof SVGElement,tl=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Fr=(e,t)=>{const o=e&&e.to;return Ve(o)?t?t(o):null:o},Fp={name:"Teleport",__isTeleport:!0,process(e,t,o,n,a,r,s,i,l,c){const{mc:u,pc:p,pbc:g,o:{insert:k,querySelector:w,createText:_,createComment:d,parentNode:h}}=c,y=Ho(t.props);let{dynamicChildren:v}=t;const b=(L,M,P)=>{L.shapeFlag&16&&u(L.children,M,P,a,r,s,i,l)},x=(L=t)=>{const M=Ho(L.props),P=L.target=Fr(L.props,w),I=Or(P,L,_,k);P&&(s!=="svg"&&el(P)?s="svg":s!=="mathml"&&tl(P)&&(s="mathml"),a&&a.isCE&&(a.ce._teleportTargets||(a.ce._teleportTargets=new Set)).add(P),M||(b(L,P,I),jn(L,!1)))},A=L=>{const M=()=>{if(To.get(L)===M){if(To.delete(L),Ho(L.props)){const P=h(L.el)||o;b(L,P,L.anchor),jn(L,!0)}x(L)}};To.set(L,M),Et(M,r)};if(e==null){const L=t.el=_(""),M=t.anchor=_("");if(k(L,o,n),k(M,o,n),Rp(t.props)||r&&r.pendingBranch){A(t);return}y&&(b(t,o,M),jn(t,!0)),x()}else{t.el=e.el;const L=t.anchor=e.anchor,M=To.get(e);if(M){M.flags|=8,To.delete(e),A(t);return}t.targetStart=e.targetStart;const P=t.target=e.target,I=t.targetAnchor=e.targetAnchor,B=Ho(e.props),H=B?o:P,O=B?L:I;if(s==="svg"||el(P)?s="svg":(s==="mathml"||tl(P))&&(s="mathml"),v?(g(e.dynamicChildren,v,H,a,r,s,i),qr(e,t,!0)):l||p(e,t,H,O,a,r,s,i,!1),y)B?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ma(t,o,L,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const R=Fr(t.props,w);R&&(t.target=R,Ma(t,R,null,c,0))}else B&&Ma(t,P,I,c,1);jn(t,y)}},remove(e,t,o,{um:n,o:{remove:a}},r){const{shapeFlag:s,children:i,anchor:l,targetStart:c,targetAnchor:u,target:p,props:g}=e,k=Ho(g),w=r||!k,_=To.get(e);if(_&&(_.flags|=8,To.delete(e)),p&&(a(c),a(u)),r&&a(l),!_&&(k||p)&&s&16)for(let d=0;d1){for(const o of e)if(o.type!==no){t=o;break}}return t}function ol(e){if(!Ra(e))return Pa(e.type)&&e.children?Bp(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&&xe(o.default))return o.default()}}function Br(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const o=e.component.subTree;Br(Pa(o.type)&&ol(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 Gn(e,t){return xe(e)?nt({name:e.name},t,{setup:e}):e}function jr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function nl(e,t){let o;return!!((o=Object.getOwnPropertyDescriptor(e,t))&&!o.configurable)}const Na=new WeakMap;function Un(e,t,o,n,a=!1){if(ke(e)){e.forEach((_,d)=>Un(_,t&&(ke(t)?t[d]:t),o,n,a));return}if(cn(n)&&!a){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Un(e,t,o,n.component.subTree);return}const r=n.shapeFlag&4?za(n.component):n.el,s=a?null:r,{i,r:l}=e,c=t&&t.r,u=i.refs===ze?i.refs={}:i.refs,p=i.setupState,g=Me(p),k=p===ze?di:_=>nl(u,_)?!1:Re(g,_),w=(_,d)=>!(d&&nl(u,d));if(c!=null&&c!==l){if(al(t),Ve(c))u[c]=null,k(c)&&(p[c]=null);else if(Ze(c)){const _=t;w(c,_.k)&&(c.value=null),_.k&&(u[_.k]=null)}}if(xe(l))rn(l,i,12,[s,u]);else{const _=Ve(l),d=Ze(l);if(_||d){const h=()=>{if(e.f){const y=_?k(l)?p[l]:u[l]:w()||!e.k?l.value:u[e.k];if(a)ke(y)&&br(y,r);else if(ke(y))y.includes(r)||y.push(r);else if(_)u[l]=[r],k(l)&&(p[l]=u[l]);else{const v=[r];w(l,e.k)&&(l.value=v),e.k&&(u[e.k]=v)}}else _?(u[l]=s,k(l)&&(p[l]=s)):d&&(w(l,e.k)&&(l.value=s),e.k&&(u[e.k]=s))};if(s){const y=()=>{h(),Na.delete(e)};y.id=-1,Na.set(e,y),Et(y,o)}else al(e),h()}}}function al(e){const t=Na.get(e);t&&(t.flags|=8,Na.delete(e))}const rl=e=>e.nodeType===8;ya().requestIdleCallback,ya().cancelIdleCallback;function jp(e,t){if(rl(e)&&e.data==="["){let o=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(rl(n))if(n.data==="]"){if(--o===0)break}else n.data==="["&&o++;n=n.nextSibling}}else t(e)}const cn=e=>!!e.type.__asyncLoader;function Gp(e){xe(e)&&(e={loader:e});const{loader:t,loadingComponent:o,errorComponent:n,delay:a=200,hydrate:r,timeout:s,suspensible:i=!0,onError:l}=e;let c=null,u,p=0;const g=()=>(p++,c=null,k()),k=()=>{let w;return c||(w=c=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),l)return new Promise((d,h)=>{l(_,()=>d(g()),()=>h(_),p+1)});throw _}).then(_=>w!==c&&c?c:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),u=_,_)))};return Gn({name:"AsyncComponentWrapper",__asyncLoader:k,__asyncHydrate(w,_,d){const h=w.isConnected;let y=!1;(_.bu||(_.bu=[])).push(()=>y=!0);const v=()=>{y||!w.parentNode||h&&!w.isConnected||d()},b=r?()=>{const x=r(v,A=>jp(w,A));x&&(_.bum||(_.bum=[])).push(x)}:v;u?b():k().then(()=>!_.isUnmounted&&b())},get __asyncResolved(){return u},setup(){const w=vt;if(jr(w),u)return()=>Ia(u,w);const _=x=>{c=null,Dn(x,w,13,!n)};if(i&&w.suspense||pn)return k().then(x=>()=>Ia(x,w)).catch(x=>(_(x),()=>n?Ge(n,{error:x}):null));const d=ce(!1),h=ce(),y=ce(!!a);let v,b;return Oa(()=>{v!=null&&clearTimeout(v),b!=null&&clearTimeout(b)}),a&&(b=setTimeout(()=>{w.isUnmounted||(y.value=!1)},a)),s!=null&&(v=setTimeout(()=>{if(!w.isUnmounted&&!d.value&&!h.value){const x=new Error(`Async component timed out after ${s}ms.`);_(x),h.value=x}},s)),k().then(()=>{w.isUnmounted||(d.value=!0,w.parent&&Ra(w.parent.vnode)&&w.parent.update())}).catch(x=>{if(w.isUnmounted){c=null;return}_(x),h.value=x}),()=>{if(d.value&&u)return Ia(u,w);if(h.value&&n)return Ge(n,{error:h.value});if(o&&!y.value)return Ia(o,w)}}})}function Ia(e,t){const{ref:o,props:n,children:a,ce:r}=t.vnode,s=Ge(e,n,a);return s.ref=o,s.ce=r,delete t.vnode.ce,s}const Ra=e=>e.type.__isKeepAlive;function Up(e,t){sl(e,"a",t)}function Kp(e,t){sl(e,"da",t)}function sl(e,t,o=vt){const n=e.__wdc||(e.__wdc=()=>{let a=o;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(Fa(t,n,o),o){let a=o.parent;for(;a&&a.parent;)Ra(a.parent.vnode)&&zp(n,t,o,a),a=a.parent}}function zp(e,t,o,n){const a=Fa(t,e,n,!0);Oa(()=>{br(n[t],a)},o)}function Fa(e,t,o=vt,n=!1){if(o){const a=o[e]||(o[e]=[]),r=t.__weh||(t.__weh=(...s)=>{Zt();const i=Jn(o),l=zt(t,o,e,s);return i(),Xt(),l});return n?a.unshift(r):a.push(r),r}}const yo=e=>(t,o=vt)=>{(!pn||e==="sp")&&Fa(e,(...n)=>t(...n),o)},il=yo("bm"),to=yo("m"),Hp=yo("bu"),Vp=yo("u"),oo=yo("bum"),Oa=yo("um"),Wp=yo("sp"),Yp=yo("rtg"),qp=yo("rtc");function Jp(e,t=vt){Fa("ec",e,t)}const Zp="components",ll=Symbol.for("v-ndc");function cl(e){return Ve(e)?Xp(Zp,e,!1)||e:e||ll}function Xp(e,t,o=!0,n=!1){const a=_t||vt;if(a){const r=a.type;{const i=Ul(r,!1);if(i&&(i===t||i===gt(t)||i===ma(gt(t))))return r}const s=ul(a[e]||r[e],t)||ul(a.appContext[e],t);return!s&&n?r:s}}function ul(e,t){return e&&(e[t]||e[gt(t)]||e[ma(gt(t))])}function St(e,t,o,n){let a;const r=o,s=ke(e);if(s||Ve(e)){const i=s&&fo(e);let l=!1,c=!1;i&&(l=!Ft(e),c=ho(e),e=ka(e)),a=new Array(e.length);for(let u=0,p=e.length;ut(i,l,void 0,r));else{const i=Object.keys(e);a=new Array(i.length);for(let l=0,c=i.length;l0;return t!=="default"&&(c.name=t),W(),rt(Ce,null,[Ge("slot",c,n)],u?-2:64)}let s=e[t];s&&s._c&&(s._d=!1);const i=_o.length;W();let l;try{const c=s&&dl(s(o)),u=o.key||r||c&&c.key;l=rt(Ce,{key:(u&&!It(u)?u:`_${t}`)+(!c&&n?"_fb":"")},c||(n?n():[]),c&&e._===1?64:-2)}catch(c){for(let u=_o.length;u>i;u--)Zr();throw c}finally{s&&s._c&&(s._d=!0)}return!a&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function dl(e){return e.some(t=>Wn(t)?!(t.type===no||t.type===Ce&&!dl(t.children)):!0)?e:null}const Gr=e=>e?Bl(e)?za(e):Gr(e.parent):null,Kn=nt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Gr(e.parent),$root:e=>Gr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>hl(e),$forceUpdate:e=>e.f||(e.f=()=>{Ir(e.update)}),$nextTick:e=>e.n||(e.n=bo.bind(e.proxy)),$watch:e=>Ip.bind(e)}),Ur=(e,t)=>e!==ze&&!e.__isScriptSetup&&Re(e,t),Qp={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:a,props:r,accessCache:s,type:i,appContext:l}=e;if(t[0]!=="$"){const g=s[t];if(g!==void 0)switch(g){case 1:return n[t];case 2:return a[t];case 4:return o[t];case 3:return r[t]}else{if(Ur(n,t))return s[t]=1,n[t];if(a!==ze&&Re(a,t))return s[t]=2,a[t];if(Re(r,t))return s[t]=3,r[t];if(o!==ze&&Re(o,t))return s[t]=4,o[t];Kr&&(s[t]=0)}}const c=Kn[t];let u,p;if(c)return t==="$attrs"&&xt(e.attrs,"get",""),c(e);if((u=i.__cssModules)&&(u=u[t]))return u;if(o!==ze&&Re(o,t))return s[t]=4,o[t];if(p=l.config.globalProperties,Re(p,t))return p[t]},set({_:e},t,o){const{data:n,setupState:a,ctx:r}=e;return Ur(a,t)?(a[t]=o,!0):n!==ze&&Re(n,t)?(n[t]=o,!0):Re(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:a,props:r,type:s}},i){let l;return!!(o[i]||e!==ze&&i[0]!=="$"&&Re(e,i)||Ur(t,i)||Re(r,i)||Re(n,i)||Re(Kn,i)||Re(a.config.globalProperties,i)||(l=s.__cssModules)&&l[i])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:Re(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function pl(e){return ke(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let Kr=!0;function eg(e){const t=hl(e),o=e.proxy,n=e.ctx;Kr=!1,t.beforeCreate&&gl(t.beforeCreate,e,"bc");const{data:a,computed:r,methods:s,watch:i,provide:l,inject:c,created:u,beforeMount:p,mounted:g,beforeUpdate:k,updated:w,activated:_,deactivated:d,beforeDestroy:h,beforeUnmount:y,destroyed:v,unmounted:b,render:x,renderTracked:A,renderTriggered:L,errorCaptured:M,serverPrefetch:P,expose:I,inheritAttrs:B,components:H,directives:O,filters:R}=t;if(c&&tg(c,n,null),s)for(const C in s){const re=s[C];xe(re)&&(n[C]=re.bind(o))}if(a){const C=a.call(o,o);je(C)&&(e.data=on(C))}if(Kr=!0,r)for(const C in r){const re=r[C],_e=xe(re)?re.bind(o,o):xe(re.get)?re.get.bind(o,o):qt,ne=!xe(re)&&xe(re.set)?re.set.bind(o):qt,ge=Z({get:_e,set:ne});Object.defineProperty(n,C,{enumerable:!0,configurable:!0,get:()=>ge.value,set:fe=>ge.value=fe})}if(i)for(const C in i)fl(i[C],n,o,C);if(l){const C=xe(l)?l.call(o):l;Reflect.ownKeys(C).forEach(re=>{Pt(re,C[re])})}u&&gl(u,e,"c");function F(C,re){ke(re)?re.forEach(_e=>C(_e.bind(o))):re&&C(re.bind(o))}if(F(il,p),F(to,g),F(Hp,k),F(Vp,w),F(Up,_),F(Kp,d),F(Jp,M),F(qp,A),F(Yp,L),F(oo,y),F(Oa,b),F(Wp,P),ke(I))if(I.length){const C=e.exposed||(e.exposed={});I.forEach(re=>{Object.defineProperty(C,re,{get:()=>o[re],set:_e=>o[re]=_e,enumerable:!0})})}else e.exposed||(e.exposed={});x&&e.render===qt&&(e.render=x),B!=null&&(e.inheritAttrs=B),H&&(e.components=H),O&&(e.directives=O),P&&jr(e)}function tg(e,t,o=qt){ke(e)&&(e=zr(e));for(const n in e){const a=e[n];let r;je(a)?"default"in a?r=Te(a.from||n,a.default,!0):r=Te(a.from||n):r=Te(a),Ze(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:s=>r.value=s}):t[n]=r}}function gl(e,t,o){zt(ke(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function fl(e,t,o,n){let a=n.includes(".")?Xi(o,n):()=>o[n];if(Ve(e)){const r=t[e];xe(r)&&tt(a,r)}else if(xe(e))tt(a,e.bind(o));else if(je(e))if(ke(e))e.forEach(r=>fl(r,t,o,n));else{const r=xe(e.handler)?e.handler.bind(o):t[e.handler];xe(r)&&tt(a,r,e)}}function hl(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:a,optionsCache:r,config:{optionMergeStrategies:s}}=e.appContext,i=r.get(t);let l;return i?l=i:!a.length&&!o&&!n?l=t:(l={},a.length&&a.forEach(c=>Da(l,c,s,!0)),Da(l,t,s)),je(t)&&r.set(t,l),l}function Da(e,t,o,n=!1){const{mixins:a,extends:r}=t;r&&Da(e,r,o,!0),a&&a.forEach(s=>Da(e,s,o,!0));for(const s in t)if(!(n&&s==="expose")){const i=og[s]||o&&o[s];e[s]=i?i(e[s],t[s]):t[s]}return e}const og={data:ml,props:bl,emits:bl,methods:zn,computed:zn,beforeCreate:Ct,created:Ct,beforeMount:Ct,mounted:Ct,beforeUpdate:Ct,updated:Ct,beforeDestroy:Ct,beforeUnmount:Ct,destroyed:Ct,unmounted:Ct,activated:Ct,deactivated:Ct,errorCaptured:Ct,serverPrefetch:Ct,components:zn,directives:zn,watch:ag,provide:ml,inject:ng};function ml(e,t){return t?e?function(){return nt(xe(e)?e.call(this,this):e,xe(t)?t.call(this,this):t)}:t:e}function ng(e,t){return zn(zr(e),zr(t))}function zr(e){if(ke(e)){const t={};for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${gt(t)}Modifiers`]||e[`${Rt(t)}Modifiers`];function lg(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||ze;let a=o;const r=t.startsWith("update:"),s=r&&ig(n,t.slice(7));s&&(s.trim&&(a=o.map(u=>Ve(u)?u.trim():u)),s.number&&(a=a.map(_r)));let i,l=n[i=yr(t)]||n[i=yr(gt(t))];!l&&r&&(l=n[i=yr(Rt(t))]),l&&zt(l,e,6,a);const c=n[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,zt(c,e,6,a)}}const cg=new WeakMap;function _l(e,t,o=!1){const n=o?cg:t.emitsCache,a=n.get(e);if(a!==void 0)return a;const r=e.emits;let s={},i=!1;if(!xe(e)){const l=c=>{const u=_l(c,t,!0);u&&(i=!0,nt(s,u))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!i?(je(e)&&n.set(e,null),null):(ke(r)?r.forEach(l=>s[l]=null):nt(s,r),je(e)&&n.set(e,s),s)}function Ba(e,t){return!e||!ua(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),Re(e,t[0].toLowerCase()+t.slice(1))||Re(e,Rt(t))||Re(e,t))}function Tw(){}function vl(e){const{type:t,vnode:o,proxy:n,withProxy:a,propsOptions:[r],slots:s,attrs:i,emit:l,render:c,renderCache:u,props:p,data:g,setupState:k,ctx:w,inheritAttrs:_}=e,d=Ta(e);let h,y;try{if(o.shapeFlag&4){const b=a||n,x=b;h=ao(c.call(x,b,u,p,k,g,w)),y=i}else{const b=t;h=ao(b.length>1?b(p,{attrs:i,slots:s,emit:l}):b(p,null)),y=t.props?i:ug(i)}}catch(b){_o.length=0,Dn(b,e,1),h=Ge(no)}let v=h;if(y&&_!==!1){const b=Object.keys(y),{shapeFlag:x}=v;b.length&&x&7&&(r&&b.some(da)&&(y=dg(y,r)),v=dn(v,y,!1,!0))}if(o.dirs&&(v=dn(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(o.dirs):o.dirs),o.transition){const b=Pa(v.type)&&ol(v)||v;Br(b,o.transition)}return h=v,Ta(d),h}const ug=e=>{let t;for(const o in e)(o==="class"||o==="style"||ua(o))&&((t||(t={}))[o]=e[o]);return t},dg=(e,t)=>{const o={};for(const n in e)(!da(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function pg(e,t,o){const{props:n,children:a,component:r}=e,{props:s,children:i,patchFlag:l}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&l>=0){if(l&1024)return!0;if(l&16)return n?kl(n,s,c):!!s;if(l&8){const u=t.dynamicProps;for(let p=0;pObject.create(xl),Al=e=>Object.getPrototypeOf(e)===xl;function fg(e,t,o,n=!1){const a={},r=Sl();e.propsDefaults=Object.create(null),$l(e,t,a,r);for(const s in e.propsOptions[0])s in a||(a[s]=void 0);o?e.props=n?a:dp(a):e.type.props?e.props=a:e.props=r,e.attrs=r}function hg(e,t,o,n){const{props:a,attrs:r,vnode:{patchFlag:s}}=e,i=Me(a),[l]=e.propsOptions;let c=!1;if((n||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let p=0;p{l=!0;const[g,k]=Ll(p,t,!0);nt(s,g),k&&i.push(...k)};!o&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!l)return je(e)&&n.set(e,en),en;if(ke(r))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",Wr=e=>ke(e)?e.map(ao):[ao(e)],bg=(e,t,o)=>{if(t._n)return t;const n=jt((...a)=>Wr(t(...a)),o);return n._c=!1,n},El=(e,t,o)=>{const n=e._ctx;for(const a in e){if(Vr(a))continue;const r=e[a];if(xe(r))t[a]=bg(a,r,n);else if(r!=null){const s=Wr(r);t[a]=()=>s}}},Tl=(e,t)=>{const o=Wr(t);e.slots.default=()=>o},Pl=(e,t,o)=>{for(const n in t)(o||!Vr(n))&&(e[n]=t[n])},yg=(e,t,o)=>{const n=e.slots=Sl();if(e.vnode.shapeFlag&32){const a=t._;a?(Pl(n,t,o),o&&hi(n,"_",a,!0)):El(t,n)}else t&&Tl(e,t)},_g=(e,t,o)=>{const{vnode:n,slots:a}=e;let r=!0,s=ze;if(n.shapeFlag&32){const i=t._;i?o&&i===1?r=!1:Pl(a,t,o):(r=!t.$stable,El(t,a)),s=t}else t&&(Tl(e,t),s={default:1});if(r)for(const i in a)!Vr(i)&&s[i]==null&&delete a[i]},Et=Sg;function vg(e){return kg(e)}function kg(e,t){const o=ya();o.__VUE__=!0;const{insert:n,remove:a,patchProp:r,createElement:s,createText:i,createComment:l,setText:c,setElementText:u,parentNode:p,nextSibling:g,setScopeId:k=qt,insertStaticContent:w}=e,_=($,N,E,K=null,Y=null,X=null,Q=void 0,q=null,f=!!N.dynamicChildren)=>{if($===N)return;$&&!Yn($,N)&&(K=mt($),fe($,Y,X,!0),$=null),N.patchFlag===-2&&(f=!1,N.dynamicChildren=null);const{type:m,ref:j,shapeFlag:V}=N;switch(m){case Hn:d($,N,E,K);break;case no:h($,N,E,K);break;case Jr:$==null&&y(N,E,K,Q);break;case Ce:H($,N,E,K,Y,X,Q,q,f);break;default:V&1?x($,N,E,K,Y,X,Q,q,f):V&6?O($,N,E,K,Y,X,Q,q,f):(V&64||V&128)&&m.process($,N,E,K,Y,X,Q,q,f,qe)}j!=null&&Y?Un(j,$&&$.ref,X,N||$,!N):j==null&&$&&$.ref!=null&&Un($.ref,null,X,$,!0)},d=($,N,E,K)=>{if($==null)n(N.el=i(N.children),E,K);else{const Y=N.el=$.el;N.children!==$.children&&c(Y,N.children)}},h=($,N,E,K)=>{$==null?n(N.el=l(N.children||""),E,K):N.el=$.el},y=($,N,E,K)=>{[$.el,$.anchor]=w($.children,N,E,K,$.el,$.anchor)},v=({el:$,anchor:N},E,K)=>{let Y;for(;$&&$!==N;)Y=g($),n($,E,K),$=Y;n(N,E,K)},b=({el:$,anchor:N})=>{let E;for(;$&&$!==N;)E=g($),a($),$=E;a(N)},x=($,N,E,K,Y,X,Q,q,f)=>{if(N.type==="svg"?Q="svg":N.type==="math"&&(Q="mathml"),$==null)A(N,E,K,Y,X,Q,q,f);else{const m=$.el&&$.el._isVueCE?$.el:null;try{m&&m._beginPatch(),P($,N,Y,X,Q,q,f)}finally{m&&m._endPatch()}}},A=($,N,E,K,Y,X,Q,q)=>{let f,m;const{props:j,shapeFlag:V,transition:se,dirs:ae}=$;if(f=$.el=s($.type,X,j&&j.is,j),V&8?u(f,$.children):V&16&&M($.children,f,null,K,Y,Yr($,X),Q,q),ae&&zo($,null,K,"created"),L(f,$,$.scopeId,Q,K),j){for(const S in j)S!=="value"&&!Pn(S)&&r(f,S,null,j[S],X,K);"value"in j&&r(f,"value",null,j.value,X),(m=j.onVnodeBeforeMount)&&ro(m,K,$)}ae&&zo($,null,K,"beforeMount");const U=wg(Y,se);U&&se.beforeEnter(f),n(f,N,E),((m=j&&j.onVnodeMounted)||U||ae)&&Et(()=>{try{m&&ro(m,K,$),U&&se.enter(f),ae&&zo($,null,K,"mounted")}finally{}},Y)},L=($,N,E,K,Y)=>{if(E&&k($,E),K)for(let X=0;X{for(let m=f;m<$.length;m++){const j=$[m]=q?vo($[m]):ao($[m]);_(null,j,N,E,K,Y,X,Q,q)}},P=($,N,E,K,Y,X,Q)=>{const q=N.el=$.el;let{patchFlag:f,dynamicChildren:m,dirs:j}=N;f|=$.patchFlag&16;const V=$.props||ze,se=N.props||ze;let ae;if(E&&Wo(E,!1),(ae=se.onVnodeBeforeUpdate)&&ro(ae,E,N,$),j&&zo(N,$,E,"beforeUpdate"),E&&Wo(E,!0),m&&(!$.dynamicChildren||$.dynamicChildren.length!==m.length)&&(f=0,Q=!1,m=null),(V.innerHTML&&se.innerHTML==null||V.textContent&&se.textContent==null)&&u(q,""),m?I($.dynamicChildren,m,q,E,K,Yr(N,Y),X):Q||re($,N,q,null,E,K,Yr(N,Y),X,!1),f>0){if(f&16)B(q,V,se,E,Y);else if(f&2&&V.class!==se.class&&r(q,"class",null,se.class,Y),f&4&&r(q,"style",V.style,se.style,Y),f&8){const U=N.dynamicProps;for(let S=0;S{ae&&ro(ae,E,N,$),j&&zo(N,$,E,"updated")},K)},I=($,N,E,K,Y,X,Q)=>{for(let q=0;q{if(N!==E){if(N!==ze)for(const X in N)!Pn(X)&&!(X in E)&&r($,X,N[X],null,Y,K);for(const X in E){if(Pn(X))continue;const Q=E[X],q=N[X];Q!==q&&X!=="value"&&r($,X,q,Q,Y,K)}"value"in E&&r($,"value",N.value,E.value,Y)}},H=($,N,E,K,Y,X,Q,q,f)=>{const m=N.el=$?$.el:i(""),j=N.anchor=$?$.anchor:i("");let{patchFlag:V,dynamicChildren:se,slotScopeIds:ae}=N;ae&&(q=q?q.concat(ae):ae),$==null?(n(m,E,K),n(j,E,K),M(N.children||[],E,j,Y,X,Q,q,f)):V>0&&V&64&&se&&$.dynamicChildren&&$.dynamicChildren.length===se.length?(I($.dynamicChildren,se,E,Y,X,Q,q),(N.key!=null||Y&&N===Y.subTree)&&qr($,N,!0)):re($,N,E,j,Y,X,Q,q,f)},O=($,N,E,K,Y,X,Q,q,f)=>{N.slotScopeIds=q,$==null?N.shapeFlag&512?Y.ctx.activate(N,E,K,Q,f):R(N,E,K,Y,X,Q,f):G($,N,f)},R=($,N,E,K,Y,X,Q)=>{const q=$.component=Tg($,K,Y);if(Ra($)&&(q.ctx.renderer=qe),Pg(q,!1,Q),q.asyncDep){if(Y&&Y.registerDep(q,F,Q),!$.el){const f=q.subTree=Ge(no);h(null,f,N,E),$.placeholder=f.el}}else F(q,$,N,E,Y,X,Q)},G=($,N,E)=>{const K=N.component=$.component;if(pg($,N,E))if(K.asyncDep&&!K.asyncResolved){C(K,N,E);return}else K.next=N,K.update();else N.el=$.el,K.vnode=N},F=($,N,E,K,Y,X,Q)=>{const q=()=>{if($.isMounted){let{next:V,bu:se,u:ae,parent:U,vnode:S}=$;{const $e=Ml($);if($e){V&&(V.el=S.el,C($,V,Q)),$e.asyncDep.then(()=>{Et(()=>{$.isUnmounted||m()},Y)});return}}let D=V,oe;Wo($,!1),V?(V.el=S.el,C($,V,Q)):V=S,se&&ba(se),(oe=V.props&&V.props.onVnodeBeforeUpdate)&&ro(oe,U,V,S),Wo($,!0);const le=vl($),he=$.subTree;$.subTree=le,_(he,le,p(he.el),mt(he),$,Y,X),V.el=le.el,D===null&&gg($,le.el),ae&&Et(ae,Y),(oe=V.props&&V.props.onVnodeUpdated)&&Et(()=>ro(oe,U,V,S),Y)}else{let V;const{el:se,props:ae}=N,{bm:U,m:S,parent:D,root:oe,type:le}=$,he=cn(N);Wo($,!1),U&&ba(U),!he&&(V=ae&&ae.onVnodeBeforeMount)&&ro(V,D,N),Wo($,!0);{oe.ce&&oe.ce._hasShadowRoot()&&oe.ce._injectChildStyle(le,$.parent?$.parent.type:void 0);const $e=$.subTree=vl($);_(null,$e,E,K,$,Y,X),N.el=$e.el}if(S&&Et(S,Y),!he&&(V=ae&&ae.onVnodeMounted)){const $e=N;Et(()=>ro(V,D,$e),Y)}(N.shapeFlag&256||D&&cn(D.vnode)&&D.vnode.shapeFlag&256)&&$.a&&Et($.a,Y),$.isMounted=!0,N=E=K=null}};$.scope.on();const f=$.effect=new Si(q);$.scope.off();const m=$.update=f.run.bind(f),j=$.job=f.runIfDirty.bind(f);j.i=$,j.id=$.uid,f.scheduler=()=>Ir(j),Wo($,!0),m()},C=($,N,E)=>{N.component=$;const K=$.vnode.props;$.vnode=N,$.next=null,hg($,N.props,K,E),_g($,N.children,E),Zt(),Yi($),Xt()},re=($,N,E,K,Y,X,Q,q,f=!1)=>{const m=$&&$.children,j=$?$.shapeFlag:0,V=N.children,{patchFlag:se,shapeFlag:ae}=N;if(se>0){if(se&128){ne(m,V,E,K,Y,X,Q,q,f);return}else if(se&256){_e(m,V,E,K,Y,X,Q,q,f);return}}ae&8?(j&16&&Qe(m,Y,X),V!==m&&u(E,V)):j&16?ae&16?ne(m,V,E,K,Y,X,Q,q,f):Qe(m,Y,X,!0):(j&8&&u(E,""),ae&16&&M(V,E,K,Y,X,Q,q,f))},_e=($,N,E,K,Y,X,Q,q,f)=>{$=$||en,N=N||en;const m=$.length,j=N.length,V=Math.min(m,j);let se;for(se=0;sej?Qe($,Y,X,!0,!1,V):M(N,E,K,Y,X,Q,q,f,V)},ne=($,N,E,K,Y,X,Q,q,f)=>{let m=0;const j=N.length;let V=$.length-1,se=j-1;for(;m<=V&&m<=se;){const ae=$[m],U=N[m]=f?vo(N[m]):ao(N[m]);if(Yn(ae,U))_(ae,U,E,null,Y,X,Q,q,f);else break;m++}for(;m<=V&&m<=se;){const ae=$[V],U=N[se]=f?vo(N[se]):ao(N[se]);if(Yn(ae,U))_(ae,U,E,null,Y,X,Q,q,f);else break;V--,se--}if(m>V){if(m<=se){const ae=se+1,U=aese)for(;m<=V;)fe($[m],Y,X,!0),m++;else{const ae=m,U=m,S=new Map;for(m=U;m<=se;m++){const Oe=N[m]=f?vo(N[m]):ao(N[m]);Oe.key!=null&&S.set(Oe.key,m)}let D,oe=0;const le=se-U+1;let he=!1,$e=0;const ve=new Array(le);for(m=0;m=le){fe(Oe,Y,X,!0);continue}let ot;if(Oe.key!=null)ot=S.get(Oe.key);else for(D=U;D<=se;D++)if(ve[D-U]===0&&Yn(Oe,N[D])){ot=D;break}ot===void 0?fe(Oe,Y,X,!0):(ve[ot-U]=m+1,ot>=$e?$e=ot:he=!0,_(Oe,N[ot],E,null,Y,X,Q,q,f),oe++)}const ct=he?xg(ve):en;for(D=ct.length-1,m=le-1;m>=0;m--){const Oe=U+m,ot=N[Oe],co=N[Oe+1],hr=Oe+1{const{el:X,type:Q,transition:q,children:f,shapeFlag:m}=$;if(m&6){ge($.component.subTree,N,E,K);return}if(m&128){$.suspense.move(N,E,K);return}if(m&64){Q.move($,N,E,qe);return}if(Q===Ce){n(X,N,E);for(let V=0;Vq.enter(X),Y));else{const{leave:V,delayLeave:se,afterLeave:ae}=q,U=()=>{$.ctx.isUnmounted?a(X):n(X,N,E)},S=()=>{const D=X._isLeaving||!!X[Dr];X._isLeaving&&X[Dr](!0),q.persisted&&!D?U():V(X,()=>{U(),ae&&ae()})};se?se(X,U,S):S()}else n(X,N,E)},fe=($,N,E,K=!1,Y=!1)=>{const{type:X,props:Q,ref:q,children:f,dynamicChildren:m,shapeFlag:j,patchFlag:V,dirs:se,cacheIndex:ae,memo:U}=$;if(V===-2&&(Y=!1),q!=null&&(Zt(),Un(q,null,E,$,!0),Xt()),ae!=null&&(N.renderCache[ae]=void 0),j&256){N.ctx.deactivate($);return}const S=j&1&&se,D=!cn($);let oe;if(D&&(oe=Q&&Q.onVnodeBeforeUnmount)&&ro(oe,N,$),j&6)Fe($.component,E,K);else{if(j&128){$.suspense.unmount(E,K);return}S&&zo($,null,N,"beforeUnmount"),j&64?$.type.remove($,N,E,qe,K):m&&!m.hasOnce&&(X!==Ce||V>0&&V&64)?Qe(m,N,E,!1,!0):(X===Ce&&V&384||!Y&&j&16)&&Qe(f,N,E),K&&de($)}const le=U!=null&&ae==null;(D&&(oe=Q&&Q.onVnodeUnmounted)||S||le)&&Et(()=>{oe&&ro(oe,N,$),S&&zo($,null,N,"unmounted"),le&&($.el=null)},E)},de=$=>{const{type:N,el:E,anchor:K,transition:Y}=$;if(N===Ce){Ke(E,K);return}if(N===Jr){b($);return}const X=()=>{a(E),Y&&!Y.persisted&&Y.afterLeave&&Y.afterLeave()};if($.shapeFlag&1&&Y&&!Y.persisted){const{leave:Q,delayLeave:q}=Y,f=()=>Q(E,X);q?q($.el,X,f):f()}else X()},Ke=($,N)=>{let E;for(;$!==N;)E=g($),a($),$=E;a(N)},Fe=($,N,E)=>{const{bum:K,scope:Y,job:X,subTree:Q,um:q,m:f,a:m}=$;Nl(f),Nl(m),K&&ba(K),Y.stop(),X&&(X.flags|=8,fe(Q,$,N,E)),q&&Et(q,N),Et(()=>{$.isUnmounted=!0},N)},Qe=($,N,E,K=!1,Y=!1,X=0)=>{for(let Q=X;Q<$.length;Q++)fe($[Q],N,E,K,Y)},mt=$=>{if($.shapeFlag&6)return mt($.component.subTree);if($.shapeFlag&128)return $.suspense.next();const N=g($.anchor||$.el),E=N&&N[Qi];return E?g(E):N};let He=!1;const it=($,N,E)=>{let K;$==null?N._vnode&&(fe(N._vnode,null,null,!0),K=N._vnode.component):_(N._vnode||null,$,N,null,null,null,E),N._vnode=$,He||(He=!0,Yi(K),qi(),He=!1)},qe={p:_,um:fe,m:ge,r:de,mt:R,mc:M,pc:re,pbc:I,n:mt,o:e};return{render:it,hydrate:void 0,createApp:sg(it)}}function Yr({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 Wo({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function wg(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qr(e,t,o=!1){const n=e.children,a=t.children;if(ke(n)&&ke(a))for(let r=0;r>1,e[o[i]]0&&(t[n]=o[r-1]),o[r]=n)}}for(r=o.length,s=o[r-1];r-- >0;)o[r]=s,s=t[s];return o}function Ml(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ml(t)}function Nl(e){if(e)for(let t=0;te.__isSuspense;function Sg(e,t){t&&t.pendingBranch?ke(e)?t.effects.push(...e):t.effects.push(e):Cp(e)}const Ce=Symbol.for("v-fgt"),Hn=Symbol.for("v-txt"),no=Symbol.for("v-cmt"),Jr=Symbol.for("v-stc"),_o=[];let Ot=null;function W(e=!1){_o.push(Ot=e?null:[])}function Zr(){_o.pop(),Ot=_o[_o.length-1]||null}let Vn=1;function ja(e,t=!1){Vn+=e,e<0&&Ot&&t&&(Ot.hasOnce=!0)}function Fl(e){return e.dynamicChildren=Vn>0?Ot||en:null,Zr(),Vn>0&&Ot&&Ot.push(e),e}function ee(e,t,o,n,a,r){return Fl(T(e,t,o,n,a,r,!0))}function rt(e,t,o,n,a){return Fl(Ge(e,t,o,n,a,!0))}function Wn(e){return e?e.__v_isVNode===!0:!1}function Yn(e,t){return e.type===t.type&&e.key===t.key}const Ol=({key:e})=>e??null,Ga=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?Ve(e)||Ze(e)||xe(e)?{i:_t,r:e,k:t,f:!!o}:e:null);function T(e,t=null,o=null,n=0,a=null,r=e===Ce?0:1,s=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ol(t),ref:t&&Ga(t),scopeId:Zi,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:_t};return i?(Ua(l,o),r&128&&e.normalize(l)):o&&(l.shapeFlag|=Ve(o)?8:16),Vn>0&&!s&&Ot&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Ot.push(l),l}const Ge=Ag;function Ag(e,t=null,o=null,n=0,a=null,r=!1){if((!e||e===ll)&&(e=no),Wn(e)){const i=dn(e,t,!0);return o&&Ua(i,o),Vn>0&&!r&&Ot&&(i.shapeFlag&6?Ot[Ot.indexOf(e)]=i:Ot.push(i)),i.patchFlag=-2,i}if(Og(e)&&(e=e.__vccOpts),t){t=$g(t);let{class:i,style:l}=t;i&&!Ve(i)&&(t.class=Le(i)),je(l)&&($a(l)&&!ke(l)&&(l=nt({},l)),t.style=et(l))}const s=Ve(e)?1:Rl(e)?128:Pa(e)?64:je(e)?4:xe(e)?2:0;return T(e,t,o,n,a,s,r,!0)}function $g(e){return e?$a(e)||Al(e)?nt({},e):e:null}function dn(e,t,o=!1,n=!1){const{props:a,ref:r,patchFlag:s,children:i,transition:l}=e,c=t?Lg(a||{},t):a,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Ol(c),ref:t&&t.ref?o&&r?ke(r)?r.concat(Ga(t)):[r,Ga(t)]:Ga(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ce?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&dn(e.ssContent),ssFallback:e.ssFallback&&dn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&Br(u,l.clone(u)),u}function dt(e=" ",t=0){return Ge(Hn,null,e,t)}function be(e="",t=!1){return t?(W(),rt(no,null,e)):Ge(no,null,e)}function ao(e){return e==null||typeof e=="boolean"?Ge(no):ke(e)?Ge(Ce,null,e.slice()):Wn(e)?vo(e):Ge(Hn,null,String(e))}function vo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:dn(e)}function Ua(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(ke(t))o=16;else if(typeof t=="object")if(n&65){const a=t.default;a&&(a._c&&(a._d=!1),Ua(e,a()),a._c&&(a._d=!0));return}else{o=32;const a=t._;!a&&!Al(t)?t._ctx=_t:a===3&&_t&&(_t.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(xe(t)){if(n&65){Ua(e,{default:t});return}t={default:t,_ctx:_t},o=32}else t=String(t),n&64?(o=16,t=[dt(t)]):o=8;e.children=t,e.shapeFlag|=o}function Lg(...e){const t={};for(let o=0;ovt||_t;let Ka,qn;{const e=ya(),t=(o,n)=>{let a;return(a=e[o])||(a=e[o]=[]),a.push(n),r=>{a.length>1?a.forEach(s=>s(r)):a[0](r)}};Ka=t("__VUE_INSTANCE_SETTERS__",o=>vt=o),qn=t("__VUE_SSR_SETTERS__",o=>pn=o)}const Jn=e=>{const t=vt;return Ka(e),e.scope.on(),()=>{e.scope.off(),Ka(t)}},Dl=()=>{vt&&vt.scope.off(),Ka(null)};function Bl(e){return e.vnode.shapeFlag&4}let pn=!1;function Pg(e,t=!1,o=!1){t&&qn(t);const{props:n,children:a}=e.vnode,r=Bl(e);fg(e,n,r,t),yg(e,a,o||t);const s=r?Mg(e,t):void 0;return t&&qn(!1),s}function Mg(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Qp);const{setup:n}=o;if(n){Zt();const a=e.setupContext=n.length>1?Ig(e):null,r=Jn(e),s=rn(n,e,0,[e.props,a]),i=gi(s);if(Xt(),r(),(i||e.sp)&&!cn(e)&&jr(e),i){if(s.then(Dl,Dl),t)return s.then(l=>{qn(!0);try{jl(e,l,t)}finally{qn(!1)}}).catch(l=>{Dn(l,e,0)});e.asyncDep=s}else jl(e,s)}else Gl(e)}function jl(e,t,o){xe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:je(t)&&(e.setupState=Ki(t)),Gl(e)}function Gl(e,t,o){const n=e.type;e.render||(e.render=n.render||qt);{const a=Jn(e);Zt();try{eg(e)}finally{Xt(),a()}}}const Ng={get(e,t){return xt(e,"get",""),e[t]}};function Ig(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,Ng),slots:e.slots,emit:e.emit,expose:t}}function za(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ki(Uo(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in Kn)return Kn[o](e)},has(t,o){return o in t||o in Kn}})):e.proxy}const Rg=/(?:^|[-_])\w/g,Fg=e=>e.replace(Rg,t=>t.toUpperCase()).replace(/[-_]/g,"");function Ul(e,t=!0){return xe(e)?e.displayName||e.name:e.name||t&&e.__name}function Kl(e,t,o=!1){let n=Ul(t);if(!n&&t.__file){const a=t.__file.match(/([^/\\]+)\.\w+$/);a&&(n=a[1])}if(!n&&e){const a=r=>{for(const s in r)if(r[s]===t)return s};n=a(e.components)||e.parent&&a(e.parent.type.components)||a(e.appContext.components)}return n?Fg(n):o?"App":"Anonymous"}function Og(e){return xe(e)&&"__vccOpts"in e}const Z=(e,t)=>_p(e,t,pn);function zl(e,t,o){try{ja(-1);const n=arguments.length;return n===2?je(t)&&!ke(t)?Wn(t)?Ge(e,null,[t]):Ge(e,t):Ge(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&Wn(o)&&(o=[o]),Ge(e,t,o))}finally{ja(1)}}const Dg="3.5.42";/** +`,...Pp(a)),console.warn(...r)}Xt(),Ir=!1}function Tp(){let e=On[On.length-1];if(!e)return[];const t=[];for(;e;){const o=t[0];o&&o.vnode===e?o.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}function Pp(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[` +`],...Mp(o))}),t}function Mp({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,a=` at <${Wl(e.component,e.type,n)}`,r=">"+o;return e.props?[a,...Np(e.props),r]:[a+r]}function Np(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...qi(n,e[n]))}),o.length>3&&t.push(" ..."),t}function qi(e,t,o){return Ve(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:Ze(t)?(t=qi(e,Me(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):xe(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Me(t),o?t:[`${e}=`,t])}function rn(e,t,o,n){try{return n?e(...n):e()}catch(a){Dn(a,t,o)}}function zt(e,t,o,n){if(xe(e)){const a=rn(e,t,o,n);return a&&bi(a)&&a.catch(r=>{Dn(r,t,o)}),a}if(ke(e)){const a=[];for(let r=0;r>>1,a=Lt[n],r=Bn(a);r=Bn(o)?Lt.push(e):Lt.splice(Rp(t),0,e),e.flags|=1,Zi()}}function Zi(){Ta||(Ta=Ji.then(el))}function Fp(e){if(!ke(e))Eo&&e.id===-1?Eo.splice(ln+1,0,e):e.flags&1||(sn.push(e),e.flags|=1);else for(let t=0;tBn(o)-Bn(n));if(sn.length=0,Eo){for(let o=0;oe.id==null?e.flags&2?-1:1/0:e.id;function el(e){try{for(eo=0;eo{n._d&&Ga(-1);const r=Pa(t),s=_o.length;let i;try{i=e(...a)}finally{for(let l=_o.length;l>s;l--)Xr();Pa(r),n._d&&Ga(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function Op(e,t){if(_t===null)return e;const o=Ha(_t),n=e.dirs||(e.dirs=[]);for(let a=0;a1)return o&&xe(t)?t.call(n&&n.proxy):t}}function Dp(){return!!(ko()||Vo)}const Bp=Symbol.for("v-scx"),jp=()=>Te(Bp);function Gp(e,t){return Fr(e,null,t)}function tt(e,t,o){return Fr(e,t,o)}function Fr(e,t,o=ze){const{immediate:n,deep:a,flush:r,once:s}=o,i=nt({},o),l=t&&n||!t&&r!=="post";let c;if(pn){if(r==="sync"){const k=jp();c=k.__watcherHandles||(k.__watcherHandles=[])}else if(!l){const k=()=>{};return k.stop=qt,k.resume=qt,k.pause=qt,k}}const u=vt;i.call=(k,w,_)=>zt(k,u,w,_);let p=!1;r==="post"?i.scheduler=k=>{Et(k,u&&u.suspense)}:r!=="sync"&&(p=!0,i.scheduler=(k,w)=>{w?k():Rr(k)}),i.augmentJob=k=>{t&&(k.flags|=4),p&&(k.flags|=2,u&&(k.id=u.uid,k.i=u))};const g=Ep(e,t,i);return pn&&(c?c.push(g):l&&g()),g}function Up(e,t,o){const n=this.proxy,a=Ve(e)?e.includes(".")?ol(n,e):()=>n[e]:e.bind(n,n);let r;xe(t)?r=t:(r=t.handler,o=t);const s=Jn(this),i=Fr(a,r.bind(n),o);return s(),i}function ol(e,t){const o=t.split(".");return()=>{let n=e;for(let a=0;ae.__isTeleport,Ho=e=>e&&(e.disabled||e.disabled===""),Kp=e=>e&&(e.defer||e.defer===""),al=e=>typeof SVGElement<"u"&&e instanceof SVGElement,rl=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Or=(e,t)=>{const o=e&&e.to;return Ve(o)?t?t(o):null:o},zp={name:"Teleport",__isTeleport:!0,process(e,t,o,n,a,r,s,i,l,c){const{mc:u,pc:p,pbc:g,o:{insert:k,querySelector:w,createText:_,createComment:d,parentNode:h}}=c,y=Ho(t.props);let{dynamicChildren:v}=t;const b=(L,M,P)=>{L.shapeFlag&16&&u(L.children,M,P,a,r,s,i,l)},x=(L=t)=>{const M=Ho(L.props),P=L.target=Or(L.props,w),I=Dr(P,L,_,k);P&&(s!=="svg"&&al(P)?s="svg":s!=="mathml"&&rl(P)&&(s="mathml"),a&&a.isCE&&(a.ce._teleportTargets||(a.ce._teleportTargets=new Set)).add(P),M||(b(L,P,I),jn(L,!1)))},A=L=>{const M=()=>{if(To.get(L)===M){if(To.delete(L),Ho(L.props)){const P=h(L.el)||o;b(L,P,L.anchor),jn(L,!0)}x(L)}};To.set(L,M),Et(M,r)};if(e==null){const L=t.el=_(""),M=t.anchor=_("");if(k(L,o,n),k(M,o,n),Kp(t.props)||r&&r.pendingBranch){A(t);return}y&&(b(t,o,M),jn(t,!0)),x()}else{t.el=e.el;const L=t.anchor=e.anchor,M=To.get(e);if(M){M.flags|=8,To.delete(e),A(t);return}t.targetStart=e.targetStart;const P=t.target=e.target,I=t.targetAnchor=e.targetAnchor,B=Ho(e.props),H=B?o:P,O=B?L:I;if(s==="svg"||al(P)?s="svg":(s==="mathml"||rl(P))&&(s="mathml"),v?(g(e.dynamicChildren,v,H,a,r,s,i),Jr(e,t,!0)):l||p(e,t,H,O,a,r,s,i,!1),y)B?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Na(t,o,L,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const R=Or(t.props,w);R&&(t.target=R,Na(t,R,null,c,0))}else B&&Na(t,P,I,c,1);jn(t,y)}},remove(e,t,o,{um:n,o:{remove:a}},r){const{shapeFlag:s,children:i,anchor:l,targetStart:c,targetAnchor:u,target:p,props:g}=e,k=Ho(g),w=r||!k,_=To.get(e);if(_&&(_.flags|=8,To.delete(e)),p&&(a(c),a(u)),r&&a(l),!_&&(k||p)&&s&16)for(let d=0;d1){for(const o of e)if(o.type!==no){t=o;break}}return t}function sl(e){if(!Fa(e))return Ma(e.type)&&e.children?Wp(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&&xe(o.default))return o.default()}}function jr(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const o=e.component.subTree;jr(Ma(o.type)&&sl(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 Gn(e,t){return xe(e)?nt({name:e.name},t,{setup:e}):e}function Gr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function il(e,t){let o;return!!((o=Object.getOwnPropertyDescriptor(e,t))&&!o.configurable)}const Ia=new WeakMap;function Un(e,t,o,n,a=!1){if(ke(e)){e.forEach((_,d)=>Un(_,t&&(ke(t)?t[d]:t),o,n,a));return}if(cn(n)&&!a){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Un(e,t,o,n.component.subTree);return}const r=n.shapeFlag&4?Ha(n.component):n.el,s=a?null:r,{i,r:l}=e,c=t&&t.r,u=i.refs===ze?i.refs={}:i.refs,p=i.setupState,g=Me(p),k=p===ze?hi:_=>il(u,_)?!1:Re(g,_),w=(_,d)=>!(d&&il(u,d));if(c!=null&&c!==l){if(ll(t),Ve(c))u[c]=null,k(c)&&(p[c]=null);else if(Ze(c)){const _=t;w(c,_.k)&&(c.value=null),_.k&&(u[_.k]=null)}}if(xe(l))rn(l,i,12,[s,u]);else{const _=Ve(l),d=Ze(l);if(_||d){const h=()=>{if(e.f){const y=_?k(l)?p[l]:u[l]:w()||!e.k?l.value:u[e.k];if(a)ke(y)&&yr(y,r);else if(ke(y))y.includes(r)||y.push(r);else if(_)u[l]=[r],k(l)&&(p[l]=u[l]);else{const v=[r];w(l,e.k)&&(l.value=v),e.k&&(u[e.k]=v)}}else _?(u[l]=s,k(l)&&(p[l]=s)):d&&(w(l,e.k)&&(l.value=s),e.k&&(u[e.k]=s))};if(s){const y=()=>{h(),Ia.delete(e)};y.id=-1,Ia.set(e,y),Et(y,o)}else ll(e),h()}}}function ll(e){const t=Ia.get(e);t&&(t.flags|=8,Ia.delete(e))}const cl=e=>e.nodeType===8;_a().requestIdleCallback,_a().cancelIdleCallback;function Yp(e,t){if(cl(e)&&e.data==="["){let o=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(cl(n))if(n.data==="]"){if(--o===0)break}else n.data==="["&&o++;n=n.nextSibling}}else t(e)}const cn=e=>!!e.type.__asyncLoader;function qp(e){xe(e)&&(e={loader:e});const{loader:t,loadingComponent:o,errorComponent:n,delay:a=200,hydrate:r,timeout:s,suspensible:i=!0,onError:l}=e;let c=null,u,p=0;const g=()=>(p++,c=null,k()),k=()=>{let w;return c||(w=c=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),l)return new Promise((d,h)=>{l(_,()=>d(g()),()=>h(_),p+1)});throw _}).then(_=>w!==c&&c?c:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),u=_,_)))};return Gn({name:"AsyncComponentWrapper",__asyncLoader:k,__asyncHydrate(w,_,d){const h=w.isConnected;let y=!1;(_.bu||(_.bu=[])).push(()=>y=!0);const v=()=>{y||!w.parentNode||h&&!w.isConnected||d()},b=r?()=>{const x=r(v,A=>Yp(w,A));x&&(_.bum||(_.bum=[])).push(x)}:v;u?b():k().then(()=>!_.isUnmounted&&b())},get __asyncResolved(){return u},setup(){const w=vt;if(Gr(w),u)return()=>Ra(u,w);const _=x=>{c=null,Dn(x,w,13,!n)};if(i&&w.suspense||pn)return k().then(x=>()=>Ra(x,w)).catch(x=>(_(x),()=>n?Ge(n,{error:x}):null));const d=ce(!1),h=ce(),y=ce(!!a);let v,b;return Da(()=>{v!=null&&clearTimeout(v),b!=null&&clearTimeout(b)}),a&&(b=setTimeout(()=>{w.isUnmounted||(y.value=!1)},a)),s!=null&&(v=setTimeout(()=>{if(!w.isUnmounted&&!d.value&&!h.value){const x=new Error(`Async component timed out after ${s}ms.`);_(x),h.value=x}},s)),k().then(()=>{w.isUnmounted||(d.value=!0,w.parent&&Fa(w.parent.vnode)&&w.parent.update())}).catch(x=>{if(w.isUnmounted){c=null;return}_(x),h.value=x}),()=>{if(d.value&&u)return Ra(u,w);if(h.value&&n)return Ge(n,{error:h.value});if(o&&!y.value)return Ra(o,w)}}})}function Ra(e,t){const{ref:o,props:n,children:a,ce:r}=t.vnode,s=Ge(e,n,a);return s.ref=o,s.ce=r,delete t.vnode.ce,s}const Fa=e=>e.type.__isKeepAlive;function Jp(e,t){ul(e,"a",t)}function Zp(e,t){ul(e,"da",t)}function ul(e,t,o=vt){const n=e.__wdc||(e.__wdc=()=>{let a=o;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(Oa(t,n,o),o){let a=o.parent;for(;a&&a.parent;)Fa(a.parent.vnode)&&Xp(n,t,o,a),a=a.parent}}function Xp(e,t,o,n){const a=Oa(t,e,n,!0);Da(()=>{yr(n[t],a)},o)}function Oa(e,t,o=vt,n=!1){if(o){const a=o[e]||(o[e]=[]),r=t.__weh||(t.__weh=(...s)=>{Zt();const i=Jn(o),l=zt(t,o,e,s);return i(),Xt(),l});return n?a.unshift(r):a.push(r),r}}const yo=e=>(t,o=vt)=>{(!pn||e==="sp")&&Oa(e,(...n)=>t(...n),o)},dl=yo("bm"),to=yo("m"),Qp=yo("bu"),eg=yo("u"),oo=yo("bum"),Da=yo("um"),tg=yo("sp"),og=yo("rtg"),ng=yo("rtc");function ag(e,t=vt){Oa("ec",e,t)}const rg="components",pl=Symbol.for("v-ndc");function gl(e){return Ve(e)?sg(rg,e,!1)||e:e||pl}function sg(e,t,o=!0,n=!1){const a=_t||vt;if(a){const r=a.type;{const i=Vl(r,!1);if(i&&(i===t||i===gt(t)||i===ba(gt(t))))return r}const s=fl(a[e]||r[e],t)||fl(a.appContext[e],t);return!s&&n?r:s}}function fl(e,t){return e&&(e[t]||e[gt(t)]||e[ba(gt(t))])}function St(e,t,o,n){let a;const r=o,s=ke(e);if(s||Ve(e)){const i=s&&fo(e);let l=!1,c=!1;i&&(l=!Ft(e),c=ho(e),e=wa(e)),a=new Array(e.length);for(let u=0,p=e.length;ut(i,l,void 0,r));else{const i=Object.keys(e);a=new Array(i.length);for(let l=0,c=i.length;l0;return t!=="default"&&(c.name=t),W(),rt(Ce,null,[Ge("slot",c,n)],u?-2:64)}let s=e[t];s&&s._c&&(s._d=!1);const i=_o.length;W();let l;try{const c=s&&hl(s(o)),u=o.key||r||c&&c.key;l=rt(Ce,{key:(u&&!It(u)?u:`_${t}`)+(!c&&n?"_fb":"")},c||(n?n():[]),c&&e._===1?64:-2)}catch(c){for(let u=_o.length;u>i;u--)Xr();throw c}finally{s&&s._c&&(s._d=!0)}return!a&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function hl(e){return e.some(t=>Wn(t)?!(t.type===no||t.type===Ce&&!hl(t.children)):!0)?e:null}const Ur=e=>e?Kl(e)?Ha(e):Ur(e.parent):null,Kn=nt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ur(e.parent),$root:e=>Ur(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>_l(e),$forceUpdate:e=>e.f||(e.f=()=>{Rr(e.update)}),$nextTick:e=>e.n||(e.n=bo.bind(e.proxy)),$watch:e=>Up.bind(e)}),Kr=(e,t)=>e!==ze&&!e.__isScriptSetup&&Re(e,t),ig={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:a,props:r,accessCache:s,type:i,appContext:l}=e;if(t[0]!=="$"){const g=s[t];if(g!==void 0)switch(g){case 1:return n[t];case 2:return a[t];case 4:return o[t];case 3:return r[t]}else{if(Kr(n,t))return s[t]=1,n[t];if(a!==ze&&Re(a,t))return s[t]=2,a[t];if(Re(r,t))return s[t]=3,r[t];if(o!==ze&&Re(o,t))return s[t]=4,o[t];zr&&(s[t]=0)}}const c=Kn[t];let u,p;if(c)return t==="$attrs"&&xt(e.attrs,"get",""),c(e);if((u=i.__cssModules)&&(u=u[t]))return u;if(o!==ze&&Re(o,t))return s[t]=4,o[t];if(p=l.config.globalProperties,Re(p,t))return p[t]},set({_:e},t,o){const{data:n,setupState:a,ctx:r}=e;return Kr(a,t)?(a[t]=o,!0):n!==ze&&Re(n,t)?(n[t]=o,!0):Re(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:a,props:r,type:s}},i){let l;return!!(o[i]||e!==ze&&i[0]!=="$"&&Re(e,i)||Kr(t,i)||Re(r,i)||Re(n,i)||Re(Kn,i)||Re(a.config.globalProperties,i)||(l=s.__cssModules)&&l[i])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:Re(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function ml(e){return ke(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let zr=!0;function lg(e){const t=_l(e),o=e.proxy,n=e.ctx;zr=!1,t.beforeCreate&&bl(t.beforeCreate,e,"bc");const{data:a,computed:r,methods:s,watch:i,provide:l,inject:c,created:u,beforeMount:p,mounted:g,beforeUpdate:k,updated:w,activated:_,deactivated:d,beforeDestroy:h,beforeUnmount:y,destroyed:v,unmounted:b,render:x,renderTracked:A,renderTriggered:L,errorCaptured:M,serverPrefetch:P,expose:I,inheritAttrs:B,components:H,directives:O,filters:R}=t;if(c&&cg(c,n,null),s)for(const C in s){const re=s[C];xe(re)&&(n[C]=re.bind(o))}if(a){const C=a.call(o,o);je(C)&&(e.data=on(C))}if(zr=!0,r)for(const C in r){const re=r[C],_e=xe(re)?re.bind(o,o):xe(re.get)?re.get.bind(o,o):qt,ne=!xe(re)&&xe(re.set)?re.set.bind(o):qt,ge=Z({get:_e,set:ne});Object.defineProperty(n,C,{enumerable:!0,configurable:!0,get:()=>ge.value,set:fe=>ge.value=fe})}if(i)for(const C in i)yl(i[C],n,o,C);if(l){const C=xe(l)?l.call(o):l;Reflect.ownKeys(C).forEach(re=>{Pt(re,C[re])})}u&&bl(u,e,"c");function F(C,re){ke(re)?re.forEach(_e=>C(_e.bind(o))):re&&C(re.bind(o))}if(F(dl,p),F(to,g),F(Qp,k),F(eg,w),F(Jp,_),F(Zp,d),F(ag,M),F(ng,A),F(og,L),F(oo,y),F(Da,b),F(tg,P),ke(I))if(I.length){const C=e.exposed||(e.exposed={});I.forEach(re=>{Object.defineProperty(C,re,{get:()=>o[re],set:_e=>o[re]=_e,enumerable:!0})})}else e.exposed||(e.exposed={});x&&e.render===qt&&(e.render=x),B!=null&&(e.inheritAttrs=B),H&&(e.components=H),O&&(e.directives=O),P&&Gr(e)}function cg(e,t,o=qt){ke(e)&&(e=Hr(e));for(const n in e){const a=e[n];let r;je(a)?"default"in a?r=Te(a.from||n,a.default,!0):r=Te(a.from||n):r=Te(a),Ze(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:s=>r.value=s}):t[n]=r}}function bl(e,t,o){zt(ke(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function yl(e,t,o,n){let a=n.includes(".")?ol(o,n):()=>o[n];if(Ve(e)){const r=t[e];xe(r)&&tt(a,r)}else if(xe(e))tt(a,e.bind(o));else if(je(e))if(ke(e))e.forEach(r=>yl(r,t,o,n));else{const r=xe(e.handler)?e.handler.bind(o):t[e.handler];xe(r)&&tt(a,r,e)}}function _l(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:a,optionsCache:r,config:{optionMergeStrategies:s}}=e.appContext,i=r.get(t);let l;return i?l=i:!a.length&&!o&&!n?l=t:(l={},a.length&&a.forEach(c=>Ba(l,c,s,!0)),Ba(l,t,s)),je(t)&&r.set(t,l),l}function Ba(e,t,o,n=!1){const{mixins:a,extends:r}=t;r&&Ba(e,r,o,!0),a&&a.forEach(s=>Ba(e,s,o,!0));for(const s in t)if(!(n&&s==="expose")){const i=ug[s]||o&&o[s];e[s]=i?i(e[s],t[s]):t[s]}return e}const ug={data:vl,props:kl,emits:kl,methods:zn,computed:zn,beforeCreate:Ct,created:Ct,beforeMount:Ct,mounted:Ct,beforeUpdate:Ct,updated:Ct,beforeDestroy:Ct,beforeUnmount:Ct,destroyed:Ct,unmounted:Ct,activated:Ct,deactivated:Ct,errorCaptured:Ct,serverPrefetch:Ct,components:zn,directives:zn,watch:pg,provide:vl,inject:dg};function vl(e,t){return t?e?function(){return nt(xe(e)?e.call(this,this):e,xe(t)?t.call(this,this):t)}:t:e}function dg(e,t){return zn(Hr(e),Hr(t))}function Hr(e){if(ke(e)){const t={};for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${gt(t)}Modifiers`]||e[`${Rt(t)}Modifiers`];function mg(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||ze;let a=o;const r=t.startsWith("update:"),s=r&&hg(n,t.slice(7));s&&(s.trim&&(a=o.map(u=>Ve(u)?u.trim():u)),s.number&&(a=a.map(vr)));let i,l=n[i=_r(t)]||n[i=_r(gt(t))];!l&&r&&(l=n[i=_r(Rt(t))]),l&&zt(l,e,6,a);const c=n[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,zt(c,e,6,a)}}const bg=new WeakMap;function xl(e,t,o=!1){const n=o?bg:t.emitsCache,a=n.get(e);if(a!==void 0)return a;const r=e.emits;let s={},i=!1;if(!xe(e)){const l=c=>{const u=xl(c,t,!0);u&&(i=!0,nt(s,u))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!i?(je(e)&&n.set(e,null),null):(ke(r)?r.forEach(l=>s[l]=null):nt(s,r),je(e)&&n.set(e,s),s)}function ja(e,t){return!e||!da(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),Re(e,t[0].toLowerCase()+t.slice(1))||Re(e,Rt(t))||Re(e,t))}function Bw(){}function Sl(e){const{type:t,vnode:o,proxy:n,withProxy:a,propsOptions:[r],slots:s,attrs:i,emit:l,render:c,renderCache:u,props:p,data:g,setupState:k,ctx:w,inheritAttrs:_}=e,d=Pa(e);let h,y;try{if(o.shapeFlag&4){const b=a||n,x=b;h=ao(c.call(x,b,u,p,k,g,w)),y=i}else{const b=t;h=ao(b.length>1?b(p,{attrs:i,slots:s,emit:l}):b(p,null)),y=t.props?i:yg(i)}}catch(b){_o.length=0,Dn(b,e,1),h=Ge(no)}let v=h;if(y&&_!==!1){const b=Object.keys(y),{shapeFlag:x}=v;b.length&&x&7&&(r&&b.some(pa)&&(y=_g(y,r)),v=dn(v,y,!1,!0))}if(o.dirs&&(v=dn(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(o.dirs):o.dirs),o.transition){const b=Ma(v.type)&&sl(v)||v;jr(b,o.transition)}return h=v,Pa(d),h}const yg=e=>{let t;for(const o in e)(o==="class"||o==="style"||da(o))&&((t||(t={}))[o]=e[o]);return t},_g=(e,t)=>{const o={};for(const n in e)(!pa(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function vg(e,t,o){const{props:n,children:a,component:r}=e,{props:s,children:i,patchFlag:l}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&l>=0){if(l&1024)return!0;if(l&16)return n?Al(n,s,c):!!s;if(l&8){const u=t.dynamicProps;for(let p=0;pObject.create(Ll),El=e=>Object.getPrototypeOf(e)===Ll;function wg(e,t,o,n=!1){const a={},r=Cl();e.propsDefaults=Object.create(null),Tl(e,t,a,r);for(const s in e.propsOptions[0])s in a||(a[s]=void 0);o?e.props=n?a:_p(a):e.type.props?e.props=a:e.props=r,e.attrs=r}function xg(e,t,o,n){const{props:a,attrs:r,vnode:{patchFlag:s}}=e,i=Me(a),[l]=e.propsOptions;let c=!1;if((n||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let p=0;p{l=!0;const[g,k]=Pl(p,t,!0);nt(s,g),k&&i.push(...k)};!o&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!l)return je(e)&&n.set(e,en),en;if(ke(r))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",Yr=e=>ke(e)?e.map(ao):[ao(e)],Ag=(e,t,o)=>{if(t._n)return t;const n=jt((...a)=>Yr(t(...a)),o);return n._c=!1,n},Nl=(e,t,o)=>{const n=e._ctx;for(const a in e){if(Wr(a))continue;const r=e[a];if(xe(r))t[a]=Ag(a,r,n);else if(r!=null){const s=Yr(r);t[a]=()=>s}}},Il=(e,t)=>{const o=Yr(t);e.slots.default=()=>o},Rl=(e,t,o)=>{for(const n in t)(o||!Wr(n))&&(e[n]=t[n])},$g=(e,t,o)=>{const n=e.slots=Cl();if(e.vnode.shapeFlag&32){const a=t._;a?(Rl(n,t,o),o&&_i(n,"_",a,!0)):Nl(t,n)}else t&&Il(e,t)},Lg=(e,t,o)=>{const{vnode:n,slots:a}=e;let r=!0,s=ze;if(n.shapeFlag&32){const i=t._;i?o&&i===1?r=!1:Rl(a,t,o):(r=!t.$stable,Nl(t,a)),s=t}else t&&(Il(e,t),s={default:1});if(r)for(const i in a)!Wr(i)&&s[i]==null&&delete a[i]},Et=Mg;function Cg(e){return Eg(e)}function Eg(e,t){const o=_a();o.__VUE__=!0;const{insert:n,remove:a,patchProp:r,createElement:s,createText:i,createComment:l,setText:c,setElementText:u,parentNode:p,nextSibling:g,setScopeId:k=qt,insertStaticContent:w}=e,_=($,N,E,K=null,Y=null,X=null,Q=void 0,q=null,f=!!N.dynamicChildren)=>{if($===N)return;$&&!Yn($,N)&&(K=mt($),fe($,Y,X,!0),$=null),N.patchFlag===-2&&(f=!1,N.dynamicChildren=null);const{type:m,ref:j,shapeFlag:V}=N;switch(m){case Hn:d($,N,E,K);break;case no:h($,N,E,K);break;case Zr:$==null&&y(N,E,K,Q);break;case Ce:H($,N,E,K,Y,X,Q,q,f);break;default:V&1?x($,N,E,K,Y,X,Q,q,f):V&6?O($,N,E,K,Y,X,Q,q,f):(V&64||V&128)&&m.process($,N,E,K,Y,X,Q,q,f,qe)}j!=null&&Y?Un(j,$&&$.ref,X,N||$,!N):j==null&&$&&$.ref!=null&&Un($.ref,null,X,$,!0)},d=($,N,E,K)=>{if($==null)n(N.el=i(N.children),E,K);else{const Y=N.el=$.el;N.children!==$.children&&c(Y,N.children)}},h=($,N,E,K)=>{$==null?n(N.el=l(N.children||""),E,K):N.el=$.el},y=($,N,E,K)=>{[$.el,$.anchor]=w($.children,N,E,K,$.el,$.anchor)},v=({el:$,anchor:N},E,K)=>{let Y;for(;$&&$!==N;)Y=g($),n($,E,K),$=Y;n(N,E,K)},b=({el:$,anchor:N})=>{let E;for(;$&&$!==N;)E=g($),a($),$=E;a(N)},x=($,N,E,K,Y,X,Q,q,f)=>{if(N.type==="svg"?Q="svg":N.type==="math"&&(Q="mathml"),$==null)A(N,E,K,Y,X,Q,q,f);else{const m=$.el&&$.el._isVueCE?$.el:null;try{m&&m._beginPatch(),P($,N,Y,X,Q,q,f)}finally{m&&m._endPatch()}}},A=($,N,E,K,Y,X,Q,q)=>{let f,m;const{props:j,shapeFlag:V,transition:se,dirs:ae}=$;if(f=$.el=s($.type,X,j&&j.is,j),V&8?u(f,$.children):V&16&&M($.children,f,null,K,Y,qr($,X),Q,q),ae&&zo($,null,K,"created"),L(f,$,$.scopeId,Q,K),j){for(const S in j)S!=="value"&&!Pn(S)&&r(f,S,null,j[S],X,K);"value"in j&&r(f,"value",null,j.value,X),(m=j.onVnodeBeforeMount)&&ro(m,K,$)}ae&&zo($,null,K,"beforeMount");const U=Tg(Y,se);U&&se.beforeEnter(f),n(f,N,E),((m=j&&j.onVnodeMounted)||U||ae)&&Et(()=>{try{m&&ro(m,K,$),U&&se.enter(f),ae&&zo($,null,K,"mounted")}finally{}},Y)},L=($,N,E,K,Y)=>{if(E&&k($,E),K)for(let X=0;X{for(let m=f;m<$.length;m++){const j=$[m]=q?vo($[m]):ao($[m]);_(null,j,N,E,K,Y,X,Q,q)}},P=($,N,E,K,Y,X,Q)=>{const q=N.el=$.el;let{patchFlag:f,dynamicChildren:m,dirs:j}=N;f|=$.patchFlag&16;const V=$.props||ze,se=N.props||ze;let ae;if(E&&Wo(E,!1),(ae=se.onVnodeBeforeUpdate)&&ro(ae,E,N,$),j&&zo(N,$,E,"beforeUpdate"),E&&Wo(E,!0),m&&(!$.dynamicChildren||$.dynamicChildren.length!==m.length)&&(f=0,Q=!1,m=null),(V.innerHTML&&se.innerHTML==null||V.textContent&&se.textContent==null)&&u(q,""),m?I($.dynamicChildren,m,q,E,K,qr(N,Y),X):Q||re($,N,q,null,E,K,qr(N,Y),X,!1),f>0){if(f&16)B(q,V,se,E,Y);else if(f&2&&V.class!==se.class&&r(q,"class",null,se.class,Y),f&4&&r(q,"style",V.style,se.style,Y),f&8){const U=N.dynamicProps;for(let S=0;S{ae&&ro(ae,E,N,$),j&&zo(N,$,E,"updated")},K)},I=($,N,E,K,Y,X,Q)=>{for(let q=0;q{if(N!==E){if(N!==ze)for(const X in N)!Pn(X)&&!(X in E)&&r($,X,N[X],null,Y,K);for(const X in E){if(Pn(X))continue;const Q=E[X],q=N[X];Q!==q&&X!=="value"&&r($,X,q,Q,Y,K)}"value"in E&&r($,"value",N.value,E.value,Y)}},H=($,N,E,K,Y,X,Q,q,f)=>{const m=N.el=$?$.el:i(""),j=N.anchor=$?$.anchor:i("");let{patchFlag:V,dynamicChildren:se,slotScopeIds:ae}=N;ae&&(q=q?q.concat(ae):ae),$==null?(n(m,E,K),n(j,E,K),M(N.children||[],E,j,Y,X,Q,q,f)):V>0&&V&64&&se&&$.dynamicChildren&&$.dynamicChildren.length===se.length?(I($.dynamicChildren,se,E,Y,X,Q,q),(N.key!=null||Y&&N===Y.subTree)&&Jr($,N,!0)):re($,N,E,j,Y,X,Q,q,f)},O=($,N,E,K,Y,X,Q,q,f)=>{N.slotScopeIds=q,$==null?N.shapeFlag&512?Y.ctx.activate(N,E,K,Q,f):R(N,E,K,Y,X,Q,f):G($,N,f)},R=($,N,E,K,Y,X,Q)=>{const q=$.component=Dg($,K,Y);if(Fa($)&&(q.ctx.renderer=qe),Bg(q,!1,Q),q.asyncDep){if(Y&&Y.registerDep(q,F,Q),!$.el){const f=q.subTree=Ge(no);h(null,f,N,E),$.placeholder=f.el}}else F(q,$,N,E,Y,X,Q)},G=($,N,E)=>{const K=N.component=$.component;if(vg($,N,E))if(K.asyncDep&&!K.asyncResolved){C(K,N,E);return}else K.next=N,K.update();else N.el=$.el,K.vnode=N},F=($,N,E,K,Y,X,Q)=>{const q=()=>{if($.isMounted){let{next:V,bu:se,u:ae,parent:U,vnode:S}=$;{const $e=Fl($);if($e){V&&(V.el=S.el,C($,V,Q)),$e.asyncDep.then(()=>{Et(()=>{$.isUnmounted||m()},Y)});return}}let D=V,oe;Wo($,!1),V?(V.el=S.el,C($,V,Q)):V=S,se&&ya(se),(oe=V.props&&V.props.onVnodeBeforeUpdate)&&ro(oe,U,V,S),Wo($,!0);const le=Sl($),he=$.subTree;$.subTree=le,_(he,le,p(he.el),mt(he),$,Y,X),V.el=le.el,D===null&&kg($,le.el),ae&&Et(ae,Y),(oe=V.props&&V.props.onVnodeUpdated)&&Et(()=>ro(oe,U,V,S),Y)}else{let V;const{el:se,props:ae}=N,{bm:U,m:S,parent:D,root:oe,type:le}=$,he=cn(N);Wo($,!1),U&&ya(U),!he&&(V=ae&&ae.onVnodeBeforeMount)&&ro(V,D,N),Wo($,!0);{oe.ce&&oe.ce._hasShadowRoot()&&oe.ce._injectChildStyle(le,$.parent?$.parent.type:void 0);const $e=$.subTree=Sl($);_(null,$e,E,K,$,Y,X),N.el=$e.el}if(S&&Et(S,Y),!he&&(V=ae&&ae.onVnodeMounted)){const $e=N;Et(()=>ro(V,D,$e),Y)}(N.shapeFlag&256||D&&cn(D.vnode)&&D.vnode.shapeFlag&256)&&$.a&&Et($.a,Y),$.isMounted=!0,N=E=K=null}};$.scope.on();const f=$.effect=new Ci(q);$.scope.off();const m=$.update=f.run.bind(f),j=$.job=f.runIfDirty.bind(f);j.i=$,j.id=$.uid,f.scheduler=()=>Rr(j),Wo($,!0),m()},C=($,N,E)=>{N.component=$;const K=$.vnode.props;$.vnode=N,$.next=null,xg($,N.props,K,E),Lg($,N.children,E),Zt(),Xi($),Xt()},re=($,N,E,K,Y,X,Q,q,f=!1)=>{const m=$&&$.children,j=$?$.shapeFlag:0,V=N.children,{patchFlag:se,shapeFlag:ae}=N;if(se>0){if(se&128){ne(m,V,E,K,Y,X,Q,q,f);return}else if(se&256){_e(m,V,E,K,Y,X,Q,q,f);return}}ae&8?(j&16&&Qe(m,Y,X),V!==m&&u(E,V)):j&16?ae&16?ne(m,V,E,K,Y,X,Q,q,f):Qe(m,Y,X,!0):(j&8&&u(E,""),ae&16&&M(V,E,K,Y,X,Q,q,f))},_e=($,N,E,K,Y,X,Q,q,f)=>{$=$||en,N=N||en;const m=$.length,j=N.length,V=Math.min(m,j);let se;for(se=0;sej?Qe($,Y,X,!0,!1,V):M(N,E,K,Y,X,Q,q,f,V)},ne=($,N,E,K,Y,X,Q,q,f)=>{let m=0;const j=N.length;let V=$.length-1,se=j-1;for(;m<=V&&m<=se;){const ae=$[m],U=N[m]=f?vo(N[m]):ao(N[m]);if(Yn(ae,U))_(ae,U,E,null,Y,X,Q,q,f);else break;m++}for(;m<=V&&m<=se;){const ae=$[V],U=N[se]=f?vo(N[se]):ao(N[se]);if(Yn(ae,U))_(ae,U,E,null,Y,X,Q,q,f);else break;V--,se--}if(m>V){if(m<=se){const ae=se+1,U=aese)for(;m<=V;)fe($[m],Y,X,!0),m++;else{const ae=m,U=m,S=new Map;for(m=U;m<=se;m++){const Oe=N[m]=f?vo(N[m]):ao(N[m]);Oe.key!=null&&S.set(Oe.key,m)}let D,oe=0;const le=se-U+1;let he=!1,$e=0;const ve=new Array(le);for(m=0;m=le){fe(Oe,Y,X,!0);continue}let ot;if(Oe.key!=null)ot=S.get(Oe.key);else for(D=U;D<=se;D++)if(ve[D-U]===0&&Yn(Oe,N[D])){ot=D;break}ot===void 0?fe(Oe,Y,X,!0):(ve[ot-U]=m+1,ot>=$e?$e=ot:he=!0,_(Oe,N[ot],E,null,Y,X,Q,q,f),oe++)}const ct=he?Pg(ve):en;for(D=ct.length-1,m=le-1;m>=0;m--){const Oe=U+m,ot=N[Oe],co=N[Oe+1],mr=Oe+1{const{el:X,type:Q,transition:q,children:f,shapeFlag:m}=$;if(m&6){ge($.component.subTree,N,E,K);return}if(m&128){$.suspense.move(N,E,K);return}if(m&64){Q.move($,N,E,qe);return}if(Q===Ce){n(X,N,E);for(let V=0;Vq.enter(X),Y));else{const{leave:V,delayLeave:se,afterLeave:ae}=q,U=()=>{$.ctx.isUnmounted?a(X):n(X,N,E)},S=()=>{const D=X._isLeaving||!!X[Br];X._isLeaving&&X[Br](!0),q.persisted&&!D?U():V(X,()=>{U(),ae&&ae()})};se?se(X,U,S):S()}else n(X,N,E)},fe=($,N,E,K=!1,Y=!1)=>{const{type:X,props:Q,ref:q,children:f,dynamicChildren:m,shapeFlag:j,patchFlag:V,dirs:se,cacheIndex:ae,memo:U}=$;if(V===-2&&(Y=!1),q!=null&&(Zt(),Un(q,null,E,$,!0),Xt()),ae!=null&&(N.renderCache[ae]=void 0),j&256){N.ctx.deactivate($);return}const S=j&1&&se,D=!cn($);let oe;if(D&&(oe=Q&&Q.onVnodeBeforeUnmount)&&ro(oe,N,$),j&6)Fe($.component,E,K);else{if(j&128){$.suspense.unmount(E,K);return}S&&zo($,null,N,"beforeUnmount"),j&64?$.type.remove($,N,E,qe,K):m&&!m.hasOnce&&(X!==Ce||V>0&&V&64)?Qe(m,N,E,!1,!0):(X===Ce&&V&384||!Y&&j&16)&&Qe(f,N,E),K&&de($)}const le=U!=null&&ae==null;(D&&(oe=Q&&Q.onVnodeUnmounted)||S||le)&&Et(()=>{oe&&ro(oe,N,$),S&&zo($,null,N,"unmounted"),le&&($.el=null)},E)},de=$=>{const{type:N,el:E,anchor:K,transition:Y}=$;if(N===Ce){Ke(E,K);return}if(N===Zr){b($);return}const X=()=>{a(E),Y&&!Y.persisted&&Y.afterLeave&&Y.afterLeave()};if($.shapeFlag&1&&Y&&!Y.persisted){const{leave:Q,delayLeave:q}=Y,f=()=>Q(E,X);q?q($.el,X,f):f()}else X()},Ke=($,N)=>{let E;for(;$!==N;)E=g($),a($),$=E;a(N)},Fe=($,N,E)=>{const{bum:K,scope:Y,job:X,subTree:Q,um:q,m:f,a:m}=$;Ol(f),Ol(m),K&&ya(K),Y.stop(),X&&(X.flags|=8,fe(Q,$,N,E)),q&&Et(q,N),Et(()=>{$.isUnmounted=!0},N)},Qe=($,N,E,K=!1,Y=!1,X=0)=>{for(let Q=X;Q<$.length;Q++)fe($[Q],N,E,K,Y)},mt=$=>{if($.shapeFlag&6)return mt($.component.subTree);if($.shapeFlag&128)return $.suspense.next();const N=g($.anchor||$.el),E=N&&N[nl];return E?g(E):N};let He=!1;const it=($,N,E)=>{let K;$==null?N._vnode&&(fe(N._vnode,null,null,!0),K=N._vnode.component):_(N._vnode||null,$,N,null,null,null,E),N._vnode=$,He||(He=!0,Xi(K),Qi(),He=!1)},qe={p:_,um:fe,m:ge,r:de,mt:R,mc:M,pc:re,pbc:I,n:mt,o:e};return{render:it,hydrate:void 0,createApp:fg(it)}}function qr({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 Wo({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Tg(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Jr(e,t,o=!1){const n=e.children,a=t.children;if(ke(n)&&ke(a))for(let r=0;r>1,e[o[i]]0&&(t[n]=o[r-1]),o[r]=n)}}for(r=o.length,s=o[r-1];r-- >0;)o[r]=s,s=t[s];return o}function Fl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Fl(t)}function Ol(e){if(e)for(let t=0;te.__isSuspense;function Mg(e,t){t&&t.pendingBranch?ke(e)?t.effects.push(...e):t.effects.push(e):Fp(e)}const Ce=Symbol.for("v-fgt"),Hn=Symbol.for("v-txt"),no=Symbol.for("v-cmt"),Zr=Symbol.for("v-stc"),_o=[];let Ot=null;function W(e=!1){_o.push(Ot=e?null:[])}function Xr(){_o.pop(),Ot=_o[_o.length-1]||null}let Vn=1;function Ga(e,t=!1){Vn+=e,e<0&&Ot&&t&&(Ot.hasOnce=!0)}function jl(e){return e.dynamicChildren=Vn>0?Ot||en:null,Xr(),Vn>0&&Ot&&Ot.push(e),e}function ee(e,t,o,n,a,r){return jl(T(e,t,o,n,a,r,!0))}function rt(e,t,o,n,a){return jl(Ge(e,t,o,n,a,!0))}function Wn(e){return e?e.__v_isVNode===!0:!1}function Yn(e,t){return e.type===t.type&&e.key===t.key}const Gl=({key:e})=>e??null,Ua=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?Ve(e)||Ze(e)||xe(e)?{i:_t,r:e,k:t,f:!!o}:e:null);function T(e,t=null,o=null,n=0,a=null,r=e===Ce?0:1,s=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Gl(t),ref:t&&Ua(t),scopeId:tl,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:_t};return i?(Ka(l,o),r&128&&e.normalize(l)):o&&(l.shapeFlag|=Ve(o)?8:16),Vn>0&&!s&&Ot&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Ot.push(l),l}const Ge=Ng;function Ng(e,t=null,o=null,n=0,a=null,r=!1){if((!e||e===pl)&&(e=no),Wn(e)){const i=dn(e,t,!0);return o&&Ka(i,o),Vn>0&&!r&&Ot&&(i.shapeFlag&6?Ot[Ot.indexOf(e)]=i:Ot.push(i)),i.patchFlag=-2,i}if(Hg(e)&&(e=e.__vccOpts),t){t=Ig(t);let{class:i,style:l}=t;i&&!Ve(i)&&(t.class=Le(i)),je(l)&&(La(l)&&!ke(l)&&(l=nt({},l)),t.style=et(l))}const s=Ve(e)?1:Bl(e)?128:Ma(e)?64:je(e)?4:xe(e)?2:0;return T(e,t,o,n,a,s,r,!0)}function Ig(e){return e?La(e)||El(e)?nt({},e):e:null}function dn(e,t,o=!1,n=!1){const{props:a,ref:r,patchFlag:s,children:i,transition:l}=e,c=t?Rg(a||{},t):a,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Gl(c),ref:t&&t.ref?o&&r?ke(r)?r.concat(Ua(t)):[r,Ua(t)]:Ua(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ce?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&dn(e.ssContent),ssFallback:e.ssFallback&&dn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&jr(u,l.clone(u)),u}function dt(e=" ",t=0){return Ge(Hn,null,e,t)}function be(e="",t=!1){return t?(W(),rt(no,null,e)):Ge(no,null,e)}function ao(e){return e==null||typeof e=="boolean"?Ge(no):ke(e)?Ge(Ce,null,e.slice()):Wn(e)?vo(e):Ge(Hn,null,String(e))}function vo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:dn(e)}function Ka(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(ke(t))o=16;else if(typeof t=="object")if(n&65){const a=t.default;a&&(a._c&&(a._d=!1),Ka(e,a()),a._c&&(a._d=!0));return}else{o=32;const a=t._;!a&&!El(t)?t._ctx=_t:a===3&&_t&&(_t.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(xe(t)){if(n&65){Ka(e,{default:t});return}t={default:t,_ctx:_t},o=32}else t=String(t),n&64?(o=16,t=[dt(t)]):o=8;e.children=t,e.shapeFlag|=o}function Rg(...e){const t={};for(let o=0;ovt||_t;let za,qn;{const e=_a(),t=(o,n)=>{let a;return(a=e[o])||(a=e[o]=[]),a.push(n),r=>{a.length>1?a.forEach(s=>s(r)):a[0](r)}};za=t("__VUE_INSTANCE_SETTERS__",o=>vt=o),qn=t("__VUE_SSR_SETTERS__",o=>pn=o)}const Jn=e=>{const t=vt;return za(e),e.scope.on(),()=>{e.scope.off(),za(t)}},Ul=()=>{vt&&vt.scope.off(),za(null)};function Kl(e){return e.vnode.shapeFlag&4}let pn=!1;function Bg(e,t=!1,o=!1){t&&qn(t);const{props:n,children:a}=e.vnode,r=Kl(e);wg(e,n,r,t),$g(e,a,o||t);const s=r?jg(e,t):void 0;return t&&qn(!1),s}function jg(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ig);const{setup:n}=o;if(n){Zt();const a=e.setupContext=n.length>1?Ug(e):null,r=Jn(e),s=rn(n,e,0,[e.props,a]),i=bi(s);if(Xt(),r(),(i||e.sp)&&!cn(e)&&Gr(e),i){if(s.then(Ul,Ul),t)return s.then(l=>{qn(!0);try{zl(e,l,t)}finally{qn(!1)}}).catch(l=>{Dn(l,e,0)});e.asyncDep=s}else zl(e,s)}else Hl(e)}function zl(e,t,o){xe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:je(t)&&(e.setupState=Wi(t)),Hl(e)}function Hl(e,t,o){const n=e.type;e.render||(e.render=n.render||qt);{const a=Jn(e);Zt();try{lg(e)}finally{Xt(),a()}}}const Gg={get(e,t){return xt(e,"get",""),e[t]}};function Ug(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,Gg),slots:e.slots,emit:e.emit,expose:t}}function Ha(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Wi(Uo(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in Kn)return Kn[o](e)},has(t,o){return o in t||o in Kn}})):e.proxy}const Kg=/(?:^|[-_])\w/g,zg=e=>e.replace(Kg,t=>t.toUpperCase()).replace(/[-_]/g,"");function Vl(e,t=!0){return xe(e)?e.displayName||e.name:e.name||t&&e.__name}function Wl(e,t,o=!1){let n=Vl(t);if(!n&&t.__file){const a=t.__file.match(/([^/\\]+)\.\w+$/);a&&(n=a[1])}if(!n&&e){const a=r=>{for(const s in r)if(r[s]===t)return s};n=a(e.components)||e.parent&&a(e.parent.type.components)||a(e.appContext.components)}return n?zg(n):o?"App":"Anonymous"}function Hg(e){return xe(e)&&"__vccOpts"in e}const Z=(e,t)=>Lp(e,t,pn);function Yl(e,t,o){try{Ga(-1);const n=arguments.length;return n===2?je(t)&&!ke(t)?Wn(t)?Ge(e,null,[t]):Ge(e,t):Ge(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&Wn(o)&&(o=[o]),Ge(e,t,o))}finally{Ga(1)}}const Vg="3.5.42";/** * @vue/runtime-dom v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Xr;const Hl=typeof window<"u"&&window.trustedTypes;if(Hl)try{Xr=Hl.createPolicy("vue",{createHTML:e=>e})}catch{}const Vl=Xr?e=>Xr.createHTML(e):e=>e,Bg="http://www.w3.org/2000/svg",jg="http://www.w3.org/1998/Math/MathML",wo=typeof document<"u"?document:null,Wl=wo&&wo.createElement("template"),Gg={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 a=t==="svg"?wo.createElementNS(Bg,e):t==="mathml"?wo.createElementNS(jg,e):o?wo.createElement(e,{is:o}):wo.createElement(e);return e==="select"&&n&&n.multiple!=null&&a.setAttribute("multiple",n.multiple),a},createText:e=>wo.createTextNode(e),createComment:e=>wo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>wo.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,o,n,a,r){const s=o?o.previousSibling:t.lastChild;if(a&&(a===r||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),o),!(a===r||!(a=a.nextSibling)););else{Wl.innerHTML=Vl(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const i=Wl.content;if(n==="svg"||n==="mathml"){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,o)}return[s?s.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}},Ug=Symbol("_vtc");function Kg(e,t,o){const n=e[Ug];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const Yl=Symbol("_vod"),zg=Symbol("_vsh"),Hg=Symbol(""),Vg=/(?:^|;)\s*display\s*:/;function Wg(e,t,o){const n=e.style,a=Ve(o);let r=!1;if(o&&!a){if(t)if(Ve(t))for(const s of t.split(";")){const i=s.slice(0,s.indexOf(":")).trim();o[i]==null&&Zn(n,i,"")}else for(const s in t)o[s]==null&&Zn(n,s,"");for(const s in o){s==="display"&&(r=!0);const i=o[s];i!=null?qg(e,s,!Ve(t)&&t?t[s]:void 0,i)||Zn(n,s,i):Zn(n,s,"")}}else if(a){if(t!==o){const s=n[Hg];s&&(o+=";"+s),n.cssText=o,r=Vg.test(o)}}else t&&e.removeAttribute("style");Yl in e&&(e[Yl]=r?n.display:"",e[zg]&&(n.display="none"))}const Ha=/\s*!important$/;function Zn(e,t,o){if(ke(o))o.forEach(n=>Zn(e,t,n));else if(o==null&&(o=""),t.startsWith("--"))Ha.test(o)?e.setProperty(t,o.replace(Ha,""),"important"):e.setProperty(t,o);else{const n=Yg(e,t);Ha.test(o)?e.setProperty(Rt(n),o.replace(Ha,""),"important"):e[n]=o}}const ql=["Webkit","Moz","ms"],Qr={};function Yg(e,t){const o=Qr[t];if(o)return o;let n=gt(t);if(n!=="filter"&&n in e)return Qr[t]=n;n=ma(n);for(let a=0;aes||(tf.then(()=>es=0),es=Date.now());function nf(e,t){const o=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=o.attached)return;const a=o.value;if(ke(a)){const r=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0};const s=a.slice(),i=[n];for(let l=0;le.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,af=(e,t,o,n,a,r)=>{const s=a==="svg";t==="class"?Kg(e,n,s):t==="style"?Wg(e,o,n):ua(t)?da(t)||Zg(e,t,o,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):rf(e,t,n,s))?(Xl(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Zl(e,t,n,s,r,t!=="value")):e._isVueCE&&(sf(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ve(n)))?Xl(e,gt(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Zl(e,t,n,s))};function rf(e,t,o,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&ec(t)&&xe(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 a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return ec(t)&&Ve(o)?!1:t in e}function sf(e,t){const o=e._def.props;if(!o)return!1;const n=gt(t);return Array.isArray(o)?o.some(a=>gt(a)===n):Object.keys(o).some(a=>gt(a)===n)}const tc={};function lf(e,t,o){let n=Gn(e,t);ga(n)&&(n=nt({},n,t));class a extends ts{constructor(s){super(n,s,o)}}return a.def=n,a}const cf=typeof HTMLElement<"u"?HTMLElement:class{};class ts extends cf{constructor(t,o={},n=sc){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!==sc?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(nt({},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 ts){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,bo(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const o of t)this._setAttr(o.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let n=0;n{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:s}=n;let i;if(r&&!ke(r))for(const l in r){const c=r[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=mi(this._props[l])),(i||(i=Object.create(null)))[gt(l)]=!0)}this._numberProps=i,this._resolveProps(n),this.shadowRoot&&this._applyStyles(s),this._mount(n)},o=this._def.__asyncLoader;if(o)return this._pendingResolve=o().then(n=>{n.configureApp=this._def.configureApp,t(this._def=n,!0)}),this._pendingResolve;t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const o=this._instance&&this._instance.exposed;if(o)for(const n in o)Re(this,n)||Object.defineProperty(this,n,{get:()=>ye(o[n])})}_resolveProps(t){const{props:o}=t,n=ke(o)?o:Object.keys(o||{});for(const a of Object.keys(this))a[0]!=="_"&&n.includes(a)&&this._setProp(a,this[a]);for(const a of n.map(gt))Object.defineProperty(this,a,{get(){return this._getProp(a)},set(r){this._setProp(a,r,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const o=this.hasAttribute(t);let n=o?this.getAttribute(t):tc;const a=gt(t);o&&this._numberProps&&this._numberProps[a]&&(n=mi(n)),this._setProp(a,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,o,n=!0,a=!1){if(o!==this._props[t]&&(this._dirty=!0,o===tc?delete this._props[t]:(this._props[t]=o,t==="key"&&this._app&&(this._app._ceVNode.key=o)),a&&this._instance&&this._update(),n)){const r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),o===!0?this.setAttribute(Rt(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(Rt(t),o+""):o||this.removeAttribute(Rt(t)),r&&r.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),mf(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=Ge(this._def,nt(t,this._props));return this._instance||(o.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const a=(r,s)=>{this.dispatchEvent(new CustomEvent(r,ga(s[0])?nt({detail:s},s[0]):{detail:s}))};n.emit=(r,...s)=>{a(r,s),Rt(r)!==r&&a(Rt(r),s)},this._setParent()}),o}_applyStyles(t,o,n){if(!t)return;if(o){if(o===this._def||this._styleChildren.has(o))return;this._styleChildren.add(o)}const a=this._nonce,r=this.shadowRoot,s=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(r);let i=null;for(let l=t.length-1;l>=0;l--){const c=document.createElement("style");a&&c.setAttribute("nonce",a),c.textContent=t[l],r.insertBefore(c,i||s),i=c,l===0&&(n||this._styleAnchors.set(this._def,c),o&&this._styleAnchors.set(o,c))}}_getStyleAnchor(t){if(!t)return null;const o=this._styleAnchors.get(t);return o&&o.parentNode===this.shadowRoot?o:(o&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let o=0;o{const t=e.props["onUpdate:modelValue"]||!1;return ke(t)?o=>ba(t,o):t};function uf(e){e.target.composing=!0}function nc(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Va=Symbol("_assign"),Wa=Symbol("_initialValue");function os(e,t,o){return t&&(e=e.trim()),o&&(e=_r(e)),e}const df={created(e,{modifiers:{lazy:t,trim:o,number:n}},a){e.parentNode&&(e.type==="text"?e[Wa]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Wa]=e.defaultValue.replace(/\r\n?/g,` -`))),e[Va]=oc(a);const r=n||a.props&&a.props.type==="number";gn(e,t?"change":"input",s=>{s.target.composing||e[Va](os(e.value,o,r))}),(o||r)&&gn(e,"change",()=>{e.value=os(e.value,o,r)}),t||(gn(e,"compositionstart",uf),gn(e,"compositionend",nc),gn(e,"change",nc))},mounted(e,{value:t,modifiers:{trim:o,number:n}}){const a=t??"",r=e[Wa];delete e[Wa],r!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==r?e[Va](os(e.value,o,n)):e.value=a},beforeUpdate(e,{value:t,oldValue:o,modifiers:{lazy:n,trim:a,number:r}},s){if(e[Va]=oc(s),e.composing)return;const i=(r||e.type==="number")&&!/^0\d/.test(e.value)?_r(e.value):e.value,l=t??"";if(i===l)return;const c=e.getRootNode();(c instanceof Document||c instanceof ShadowRoot)&&c.activeElement===e&&e.type!=="range"&&(n&&t===o||a&&e.value.trim()===l)||(e.value=l)}},pf=["ctrl","shift","alt","meta"],gf={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>pf.some(o=>e[`${o}Key`]&&!t.includes(o))},Dt=(e,t)=>{if(!e)return e;const o=e._withMods||(e._withMods={}),n=t.join(".");return o[n]||(o[n]=(a,...r)=>{for(let s=0;s{const o=e._withKeys||(e._withKeys={}),n=t.join(".");return o[n]||(o[n]=a=>{if(!("key"in a))return;const r=Rt(a.key);if(t.some(s=>s===r||ff[s]===r))return e(a)})},hf=nt({patchProp:af},Gg);let ac;function rc(){return ac||(ac=vg(hf))}const mf=(...e)=>{rc().render(...e)},sc=(...e)=>{const t=rc().createApp(...e),{mount:o}=t;return t.mount=n=>{const a=yf(n);if(!a)return;const r=t._component;!xe(r)&&!r.render&&!r.template&&(r.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const s=o(a,!1,bf(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),s},t};function bf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function yf(e){return Ve(e)?document.querySelector(e):e}/*! +**/let Qr;const ql=typeof window<"u"&&window.trustedTypes;if(ql)try{Qr=ql.createPolicy("vue",{createHTML:e=>e})}catch{}const Jl=Qr?e=>Qr.createHTML(e):e=>e,Wg="http://www.w3.org/2000/svg",Yg="http://www.w3.org/1998/Math/MathML",wo=typeof document<"u"?document:null,Zl=wo&&wo.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 a=t==="svg"?wo.createElementNS(Wg,e):t==="mathml"?wo.createElementNS(Yg,e):o?wo.createElement(e,{is:o}):wo.createElement(e);return e==="select"&&n&&n.multiple!=null&&a.setAttribute("multiple",n.multiple),a},createText:e=>wo.createTextNode(e),createComment:e=>wo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>wo.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,o,n,a,r){const s=o?o.previousSibling:t.lastChild;if(a&&(a===r||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),o),!(a===r||!(a=a.nextSibling)););else{Zl.innerHTML=Jl(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const i=Zl.content;if(n==="svg"||n==="mathml"){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,o)}return[s?s.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}},Jg=Symbol("_vtc");function Zg(e,t,o){const n=e[Jg];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const Xl=Symbol("_vod"),Xg=Symbol("_vsh"),Qg=Symbol(""),ef=/(?:^|;)\s*display\s*:/;function tf(e,t,o){const n=e.style,a=Ve(o);let r=!1;if(o&&!a){if(t)if(Ve(t))for(const s of t.split(";")){const i=s.slice(0,s.indexOf(":")).trim();o[i]==null&&Zn(n,i,"")}else for(const s in t)o[s]==null&&Zn(n,s,"");for(const s in o){s==="display"&&(r=!0);const i=o[s];i!=null?nf(e,s,!Ve(t)&&t?t[s]:void 0,i)||Zn(n,s,i):Zn(n,s,"")}}else if(a){if(t!==o){const s=n[Qg];s&&(o+=";"+s),n.cssText=o,r=ef.test(o)}}else t&&e.removeAttribute("style");Xl in e&&(e[Xl]=r?n.display:"",e[Xg]&&(n.display="none"))}const Va=/\s*!important$/;function Zn(e,t,o){if(ke(o))o.forEach(n=>Zn(e,t,n));else if(o==null&&(o=""),t.startsWith("--"))Va.test(o)?e.setProperty(t,o.replace(Va,""),"important"):e.setProperty(t,o);else{const n=of(e,t);Va.test(o)?e.setProperty(Rt(n),o.replace(Va,""),"important"):e[n]=o}}const Ql=["Webkit","Moz","ms"],es={};function of(e,t){const o=es[t];if(o)return o;let n=gt(t);if(n!=="filter"&&n in e)return es[t]=n;n=ba(n);for(let a=0;ats||(uf.then(()=>ts=0),ts=Date.now());function pf(e,t){const o=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=o.attached)return;const a=o.value;if(ke(a)){const r=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0};const s=a.slice(),i=[n];for(let l=0;le.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,gf=(e,t,o,n,a,r)=>{const s=a==="svg";t==="class"?Zg(e,n,s):t==="style"?tf(e,o,n):da(t)?pa(t)||rf(e,t,o,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ff(e,t,n,s))?(oc(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&tc(e,t,n,s,r,t!=="value")):e._isVueCE&&(hf(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ve(n)))?oc(e,gt(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),tc(e,t,n,s))};function ff(e,t,o,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&ac(t)&&xe(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 a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return ac(t)&&Ve(o)?!1:t in e}function hf(e,t){const o=e._def.props;if(!o)return!1;const n=gt(t);return Array.isArray(o)?o.some(a=>gt(a)===n):Object.keys(o).some(a=>gt(a)===n)}const rc={};function mf(e,t,o){let n=Gn(e,t);fa(n)&&(n=nt({},n,t));class a extends os{constructor(s){super(n,s,o)}}return a.def=n,a}const bf=typeof HTMLElement<"u"?HTMLElement:class{};class os extends bf{constructor(t,o={},n=uc){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!==uc?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(nt({},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 os){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,bo(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const o of t)this._setAttr(o.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let n=0;n{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:s}=n;let i;if(r&&!ke(r))for(const l in r){const c=r[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=vi(this._props[l])),(i||(i=Object.create(null)))[gt(l)]=!0)}this._numberProps=i,this._resolveProps(n),this.shadowRoot&&this._applyStyles(s),this._mount(n)},o=this._def.__asyncLoader;if(o)return this._pendingResolve=o().then(n=>{n.configureApp=this._def.configureApp,t(this._def=n,!0)}),this._pendingResolve;t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const o=this._instance&&this._instance.exposed;if(o)for(const n in o)Re(this,n)||Object.defineProperty(this,n,{get:()=>ye(o[n])})}_resolveProps(t){const{props:o}=t,n=ke(o)?o:Object.keys(o||{});for(const a of Object.keys(this))a[0]!=="_"&&n.includes(a)&&this._setProp(a,this[a]);for(const a of n.map(gt))Object.defineProperty(this,a,{get(){return this._getProp(a)},set(r){this._setProp(a,r,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const o=this.hasAttribute(t);let n=o?this.getAttribute(t):rc;const a=gt(t);o&&this._numberProps&&this._numberProps[a]&&(n=vi(n)),this._setProp(a,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,o,n=!0,a=!1){if(o!==this._props[t]&&(this._dirty=!0,o===rc?delete this._props[t]:(this._props[t]=o,t==="key"&&this._app&&(this._app._ceVNode.key=o)),a&&this._instance&&this._update(),n)){const r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),o===!0?this.setAttribute(Rt(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(Rt(t),o+""):o||this.removeAttribute(Rt(t)),r&&r.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Sf(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=Ge(this._def,nt(t,this._props));return this._instance||(o.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const a=(r,s)=>{this.dispatchEvent(new CustomEvent(r,fa(s[0])?nt({detail:s},s[0]):{detail:s}))};n.emit=(r,...s)=>{a(r,s),Rt(r)!==r&&a(Rt(r),s)},this._setParent()}),o}_applyStyles(t,o,n){if(!t)return;if(o){if(o===this._def||this._styleChildren.has(o))return;this._styleChildren.add(o)}const a=this._nonce,r=this.shadowRoot,s=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(r);let i=null;for(let l=t.length-1;l>=0;l--){const c=document.createElement("style");a&&c.setAttribute("nonce",a),c.textContent=t[l],r.insertBefore(c,i||s),i=c,l===0&&(n||this._styleAnchors.set(this._def,c),o&&this._styleAnchors.set(o,c))}}_getStyleAnchor(t){if(!t)return null;const o=this._styleAnchors.get(t);return o&&o.parentNode===this.shadowRoot?o:(o&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let o=0;o{const t=e.props["onUpdate:modelValue"]||!1;return ke(t)?o=>ya(t,o):t};function yf(e){e.target.composing=!0}function ic(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Wa=Symbol("_assign"),Ya=Symbol("_initialValue");function ns(e,t,o){return t&&(e=e.trim()),o&&(e=vr(e)),e}const _f={created(e,{modifiers:{lazy:t,trim:o,number:n}},a){e.parentNode&&(e.type==="text"?e[Ya]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Ya]=e.defaultValue.replace(/\r\n?/g,` +`))),e[Wa]=sc(a);const r=n||a.props&&a.props.type==="number";gn(e,t?"change":"input",s=>{s.target.composing||e[Wa](ns(e.value,o,r))}),(o||r)&&gn(e,"change",()=>{e.value=ns(e.value,o,r)}),t||(gn(e,"compositionstart",yf),gn(e,"compositionend",ic),gn(e,"change",ic))},mounted(e,{value:t,modifiers:{trim:o,number:n}}){const a=t??"",r=e[Ya];delete e[Ya],r!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==r?e[Wa](ns(e.value,o,n)):e.value=a},beforeUpdate(e,{value:t,oldValue:o,modifiers:{lazy:n,trim:a,number:r}},s){if(e[Wa]=sc(s),e.composing)return;const i=(r||e.type==="number")&&!/^0\d/.test(e.value)?vr(e.value):e.value,l=t??"";if(i===l)return;const c=e.getRootNode();(c instanceof Document||c instanceof ShadowRoot)&&c.activeElement===e&&e.type!=="range"&&(n&&t===o||a&&e.value.trim()===l)||(e.value=l)}},vf=["ctrl","shift","alt","meta"],kf={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>vf.some(o=>e[`${o}Key`]&&!t.includes(o))},Dt=(e,t)=>{if(!e)return e;const o=e._withMods||(e._withMods={}),n=t.join(".");return o[n]||(o[n]=(a,...r)=>{for(let s=0;s{const o=e._withKeys||(e._withKeys={}),n=t.join(".");return o[n]||(o[n]=a=>{if(!("key"in a))return;const r=Rt(a.key);if(t.some(s=>s===r||wf[s]===r))return e(a)})},xf=nt({patchProp:gf},qg);let lc;function cc(){return lc||(lc=Cg(xf))}const Sf=(...e)=>{cc().render(...e)},uc=(...e)=>{const t=cc().createApp(...e),{mount:o}=t;return t.mount=n=>{const a=$f(n);if(!a)return;const r=t._component;!xe(r)&&!r.render&&!r.template&&(r.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const s=o(a,!1,Af(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),s},t};function Af(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function $f(e){return Ve(e)?document.querySelector(e):e}/*! * pinia v2.3.1 * (c) 2025 Eduardo San Martin Morote * @license MIT - */let ic;const Ya=e=>ic=e,lc=Symbol();function as(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Xn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Xn||(Xn={}));function _f(){const e=kr(!0),t=e.run(()=>ce({}));let o=[],n=[];const a=Uo({install(r){Ya(a),a._a=r,r.provide(lc,a),r.config.globalProperties.$pinia=a,n.forEach(s=>o.push(s)),n=[]},use(r){return this._a?o.push(r):n.push(r),this},_p:o,_a:null,_e:e,_s:new Map,state:t});return a}const cc=()=>{};function uc(e,t,o,n=cc){e.push(t);const a=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),n())};return!o&&xi()&&Vd(a),a}function fn(e,...t){e.slice().forEach(o=>{o(...t)})}const vf=e=>e(),dc=Symbol(),rs=Symbol();function ss(e,t){e instanceof Map&&t instanceof Map?t.forEach((o,n)=>e.set(n,o)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const o in t){if(!t.hasOwnProperty(o))continue;const n=t[o],a=e[o];as(a)&&as(n)&&e.hasOwnProperty(o)&&!Ze(n)&&!fo(n)?e[o]=ss(a,n):e[o]=n}return e}const kf=Symbol();function wf(e){return!as(e)||!e.hasOwnProperty(kf)}const{assign:Po}=Object;function xf(e){return!!(Ze(e)&&e.effect)}function Sf(e,t,o,n){const{state:a,actions:r,getters:s}=t,i=o.state.value[e];let l;function c(){i||(o.state.value[e]=a?a():{});const u=fp(o.state.value[e]);return Po(u,r,Object.keys(s||{}).reduce((p,g)=>(p[g]=Uo(Z(()=>{Ya(o);const k=o._s.get(e);return s[g].call(k,k)})),p),{}))}return l=pc(e,c,t,o,n,!0),l}function pc(e,t,o={},n,a,r){let s;const i=Po({actions:{}},o),l={deep:!0};let c,u,p=[],g=[],k;const w=n.state.value[e];!r&&!w&&(n.state.value[e]={});let _;function d(M){let P;c=u=!1,typeof M=="function"?(M(n.state.value[e]),P={type:Xn.patchFunction,storeId:e,events:k}):(ss(n.state.value[e],M),P={type:Xn.patchObject,payload:M,storeId:e,events:k});const I=_=Symbol();bo().then(()=>{_===I&&(c=!0)}),u=!0,fn(p,P,n.state.value[e])}const h=r?function(){const{state:P}=o,I=P?P():{};this.$patch(B=>{Po(B,I)})}:cc;function y(){s.stop(),p=[],g=[],n._s.delete(e)}const v=(M,P="")=>{if(dc in M)return M[rs]=P,M;const I=function(){Ya(n);const B=Array.from(arguments),H=[],O=[];function R(C){H.push(C)}function G(C){O.push(C)}fn(g,{args:B,name:I[rs],store:x,after:R,onError:G});let F;try{F=M.apply(this&&this.$id===e?this:x,B)}catch(C){throw fn(O,C),C}return F instanceof Promise?F.then(C=>(fn(H,C),C)).catch(C=>(fn(O,C),Promise.reject(C))):(fn(H,F),F)};return I[dc]=!0,I[rs]=P,I},b={_p:n,$id:e,$onAction:uc.bind(null,g),$patch:d,$reset:h,$subscribe(M,P={}){const I=uc(p,M,P.detached,()=>B()),B=s.run(()=>tt(()=>n.state.value[e],H=>{(P.flush==="sync"?u:c)&&M({storeId:e,type:Xn.direct,events:k},H)},Po({},l,P)));return I},$dispose:y},x=on(b);n._s.set(e,x);const L=(n._a&&n._a.runWithContext||vf)(()=>n._e.run(()=>(s=kr()).run(()=>t({action:v}))));for(const M in L){const P=L[M];if(Ze(P)&&!xf(P)||fo(P))r||(w&&wf(P)&&(Ze(P)?P.value=w[M]:ss(P,w[M])),n.state.value[e][M]=P);else if(typeof P=="function"){const I=v(P,M);L[M]=I,i.actions[M]=P}}return Po(x,L),Po(Me(x),L),Object.defineProperty(x,"$state",{get:()=>n.state.value[e],set:M=>{d(P=>{Po(P,M)})}}),n._p.forEach(M=>{Po(x,s.run(()=>M({store:x,app:n._a,pinia:n,options:i})))}),w&&r&&o.hydrate&&o.hydrate(x.$state,w),c=!0,u=!0,x}/*! #__NO_SIDE_EFFECTS__ */function is(e,t,o){let n,a;const r=typeof t=="function";typeof e=="string"?(n=e,a=r?o:t):(a=e,n=e.id);function s(i,l){const c=Tp();return i=i||(c?Te(lc,null):null),i&&Ya(i),i=ic,i._s.has(n)||(r?pc(n,t,a,i):Sf(n,a,i)),i._s.get(n)}return s.$id=n,s}const ls="__doxaMapToken",cs="doxa:map-token",gc="__doxaMapTokenBridge",hn=()=>{if(typeof window>"u")return"";const e=window[ls];return typeof e=="string"?e:""};function fc(e){if(typeof window>"u")return"";const t=typeof e=="string"?e.trim():"";if(!t||t===hn())return hn();window[ls]=t;try{window.dispatchEvent(new CustomEvent(cs,{detail:t}))}catch{}return t}function Af(){if(typeof window>"u"||window[gc])return;const e=typeof window.MAP_TOKEN=="string"?window.MAP_TOKEN:"";e&&!hn()&&(window[ls]=e);try{Object.defineProperty(window,"MAP_TOKEN",{configurable:!0,get(){return hn()},set(t){fc(t)}}),window[gc]=!0}catch{}}function $f(){Af();const e=ce(hn());if(typeof window<"u"){const t=()=>{e.value=hn()};window.addEventListener(cs,t);try{oo(()=>window.removeEventListener(cs,t))}catch{}}return e}function hc(e){return Gp({loader:e,onError(t,o,n,a){a<=3?setTimeout(o,a*500):n()}})}const Lf={backToLegend:"العودة إلى المفتاح",closeDetailView:"إغلاق عرض التفاصيل"},Cf={prayForThem:"صلِّ من أجلهم",adoptThem:"تبنَّهم",moreInfo:"مزيد من المعلومات",zoomIn:"تكبير",zoomOut:"تصغير",switchToLightMode:"التبديل إلى الوضع الفاتح",switchToDarkMode:"التبديل إلى الوضع الداكن",resetView:"إعادة تعيين العرض",toggleFullscreen:"تبديل ملء الشاشة",aboutThisMap:"حول هذه الخريطة",closeMenu:"إغلاق القائمة",reloadMap:"إعادة تحميل الخريطة",showClusters:"إظهار المجموعات",clusterSettings:"إعدادات المجموعات",startAutoFly:"بدء الطيران التلقائي",stopFlight:"إيقاف الطيران",speedLabel:"السرعة:",speedOption:{slow:"بطيء",normal:"عادي",fast:"سريع"},shareEmbed:"مشاركة وتضمين"},Ef={labels:{country:"الدولة:",population:"السكان:",language:"اللغة:",religion:"الديانة:",languageFamily:"العائلة اللغوية:",peopleCommitted:"ملتزمون بالصلاة:"},messages:{noDescription:"لا يوجد وصف متاح."}},Tf={title:{prayer:"تقدم الصلاة",engagement:"تقدم الانخراط",adoption:"تقدم التبني",languageFamilies:"العائلات اللغوية",doxaRegions:"مناطق Doxa",affinityBlocs:"كتل القرابة",gospelResources:"موارد الإنجيل"},header:{collapsed:"وسيلة الإيضاح",peopleGroupFallback:"مجموعة الشعب"},prayer:{needsPrayer:"يحتاج إلى صلاة",hasPrayer:"لديه صلاة",fullPrayerCoverage:"تغطية صلاة كاملة"},progress:{title:"التقدم",covered:"{covered} من {total} مجموعة شعبية مغطاة بالصلاة · {pct}%",short:"{covered} من {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"يحتاج إلى انخراط",hasEngagement:"لديه انخراط"},adoption:{needsAdoption:"يحتاج إلى تبني",hasAdoption:"لديه تبني"},columns:{upgs:"UUPGs",population:"السكان",name:"الاسم"},footer:{total:"الإجمالي"},sortByUpgs:"ترتيب حسب UUPG",sortByPop:"ترتيب حسب السكان",colLabel:{religion:"ديانات UUPG",prayer:"حالة الصلاة",engagement:"حالة المشاركة",adoption:"حالة التبني",status:"الحالة"},titleBar:{legend:"مفتاح الخريطة",peopleGroups:"الشعوب",wagfRegions:"مناطق WAGF",languages:"اللغات"}},Pf={menuComingSoon:"القائمة قادمة قريباً"},Mf={clusterByRegion:"حسب منطقة Doxa",clusterByLanguageFamily:"حسب العائلة اللغوية",clusterByGospelResource:"حسب مورد الإنجيل"},Nf={header:"دورة الصلاة الحالية",lap:"الدورة",upgs:"UUPGs",separator:" من "},If={placeholder:"شعب، مكان، لغة، ديانة",labels:{people:"الشعب:",place:"المكان:",language:"اللغة:",religion:"الديانة:"},kinds:{people:"الشعب + الدولة",peopleGroup:"الشعب",bloc:"كتلة التقارب",cluster:"مجموعة شعوب",country:"الدولة",region:"المنطقة",family:"عائلة اللغة",languageKind:"اللغة",dialect:"اللهجة",religionKind:"الدين"}},Rf={prayer:"الصلاة",adoption:"التبني",engagement:"المشاركة","affinity-blocks":"الشعوب",regions:"المناطق",countries:"الدول","language-families":"اللغات",religion:"الأديان",family:"عائلة اللغة",language:"اللغة",dialect:"اللهجة/التنوع",bloc:"كتلة التقارب",cluster:"المجموعة",group:"الشعب",pgic:"الشعب في الدولة",region:"منطقة WAGF",block:"كتلة WAGF",country:"الدولة"},Ff={backToLegend:"Zurück zur Legende",closeDetailView:"Detailansicht schließen"},Of={prayForThem:"Für sie beten",adoptThem:"Sie adoptieren",moreInfo:"Mehr Infos",zoomIn:"Vergrößern",zoomOut:"Verkleinern",switchToLightMode:"Zum hellen Modus wechseln",switchToDarkMode:"Zum dunklen Modus wechseln",resetView:"Ansicht zurücksetzen",toggleFullscreen:"Vollbild umschalten",aboutThisMap:"Über diese Karte",closeMenu:"Menü schließen",reloadMap:"Karte neu laden",showClusters:"Cluster anzeigen",clusterSettings:"Cluster-Einstellungen",startAutoFly:"Auto-Flug starten",stopFlight:"Flug stoppen",speedLabel:"Geschwindigkeit:",speedOption:{slow:"Langsam",normal:"Normal",fast:"Schnell"},shareEmbed:"Teilen und einbetten"},Df={labels:{country:"Land:",population:"Bevölkerung:",language:"Sprache:",religion:"Religion:",languageFamily:"Sprachfamilie:",peopleCommitted:"Zum Gebet verpflichtet:"},messages:{noDescription:"Keine Beschreibung verfügbar."}},Bf={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"}},jf={menuComingSoon:"Menü folgt in Kürze"},Gf={clusterByRegion:"Nach Doxa-Region",clusterByLanguageFamily:"Nach Sprachfamilie",clusterByGospelResource:"Nach Evangeliumsressource"},Uf={header:"AKTUELLE GEBETSRUNDE",lap:"Runde",upgs:"UUPGs",separator:" von "},Kf={placeholder:"Volk, Ort, Sprache, Religion",labels:{people:"Volk:",place:"Ort:",language:"Sprache:",religion:"Religion:"},sections:{within:"Innerhalb {selection}",allData:"Alle DOXA-Daten"}},zf={prayer:"Gebet",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"Volksgruppen",regions:"Regionen",countries:"Länder","language-families":"Sprachen",religion:"Religionen",family:"Sprachfamilie",language:"Sprache",dialect:"Dialekt/Varietät",bloc:"Affinitätsblock",cluster:"Cluster",group:"Volksgruppe",pgic:"Volksgruppe im Land",region:"WAGF-Region",block:"WAGF-Block",country:"Land"},Hf={backToLegend:"Back to Legend",closeDetailView:"Close detail view"},Vf={prayForThem:"Pray for them",adoptThem:"Adopt",moreInfo:"More info",zoomIn:"Zoom in",zoomOut:"Zoom out",switchToLightMode:"Switch to light mode",switchToDarkMode:"Switch to dark mode",resetView:"Reset view",toggleFullscreen:"Toggle fullscreen",aboutThisMap:"About this map",closeMenu:"Close menu",reloadMap:"Reload Map",showClusters:"Show Clusters",clusterSettings:"Cluster Settings",startAutoFly:"Start Auto Fly",stopFlight:"Stop Flight",speedLabel:"Speed:",speedOption:{slow:"Slow",normal:"Normal",fast:"Fast"},shareEmbed:"Share & embed",shareSteps:["Embed this map on your site","Create a list of the websites in your city","Train them to embed it too","Train them to train others to embed it too","Multiply maps everywhere for Jesus!"],share:"Share"},Wf={labels:{country:"Country:",population:"Population:",language:"Language:",religion:"Religion:",languageFamily:"Language Family:",peopleCommitted:"Committed to pray:"},messages:{noDescription:"No description available."}},Yf={title:{prayer:"Prayer Progress",engagement:"Engagement Progress",adoption:"Adoption Progress",languageFamilies:"Language Families",doxaRegions:"Doxa Regions",affinityBlocs:"Affinity Blocks",gospelResources:"Gospel Resources"},header:{default:"Legend",collapsed:"Legend",peopleGroupFallback:"People Group"},prayer:{needsPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayerCoverage:"Full Prayer Coverage"},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"}},qf={menuComingSoon:"Menu coming soon"},Jf={clusterByRegion:"By Doxa Region",clusterByLanguageFamily:"By Language Family",clusterByGospelResource:"By Gospel Resource"},Zf={country:{wagfRegion:"WAGF Region",wagfBlock:"WAGF Bloc",country:"Country",uupgCount:"UUPG Count"}},Xf={header:"CURRENT PRAYER LAP",lap:"Lap",upgs:"UUPGs",separator:" of "},Qf={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"}},eh={prayer:"Prayer",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"People Groups (Affinity)",regions:"Regions",countries:"Countries","language-families":"Languages",religion:"Religions",family:"Lang Family",language:"Language",dialect:"Dialect/Variety",bloc:"Affinity Block",cluster:"Cluster",group:"People Group",pgic:"PG in Country",region:"WAGF Region",block:"WAGF Bloc",country:"Country"},th={backToLegend:"Volver a la leyenda",closeDetailView:"Cerrar vista de detalle"},oh={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"},nh={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."}},ah={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"}},rh={menuComingSoon:"Menú próximamente"},sh={clusterByRegion:"Por región Doxa",clusterByLanguageFamily:"Por familia lingüística",clusterByGospelResource:"Por recurso del Evangelio"},ih={header:"VUELTA DE ORACIÓN ACTUAL",lap:"Vuelta",upgs:"UUPGs",separator:" de "},lh={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"}},ch={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"},uh={backToLegend:"Retour à la légende",closeDetailView:"Fermer la vue détaillée"},dh={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"},ph={labels:{country:"Pays :",population:"Population :",language:"Langue :",religion:"Religion :",languageFamily:"Famille de langues :",peopleCommitted:"Engagés à prier :"},messages:{noDescription:"Aucune description disponible."}},gh={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"}},fh={menuComingSoon:"Menu bientôt disponible"},hh={clusterByRegion:"Par région Doxa",clusterByLanguageFamily:"Par famille de langues",clusterByGospelResource:"Par ressource de l'Évangile"},mh={country:{wagfRegion:"Région WAGF",wagfBlock:"Bloc WAGF",country:"Pays",uupgCount:"Nombre d'UUPG"}},bh={header:"TOUR DE PRIÈRE ACTUEL",lap:"Tour",upgs:"UUPGs",separator:" sur "},yh={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"}},_h={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"},vh={backToLegend:"लेजेंड पर वापस जाएं",closeDetailView:"विवरण दृश्य बंद करें"},kh={prayForThem:"उनके लिए प्रार्थना करें",adoptThem:"उन्हें गोद लें",moreInfo:"अधिक जानकारी",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",switchToLightMode:"लाइट मोड पर जाएं",switchToDarkMode:"डार्क मोड पर जाएं",resetView:"दृश्य रीसेट करें",toggleFullscreen:"फ़ुलस्क्रीन टॉगल करें",aboutThisMap:"इस मानचित्र के बारे में",closeMenu:"मेनू बंद करें",reloadMap:"मानचित्र पुनः लोड करें",showClusters:"क्लस्टर दिखाएं",clusterSettings:"क्लस्टर सेटिंग्स",startAutoFly:"ऑटो फ्लाई शुरू करें",stopFlight:"उड़ान रोकें",speedLabel:"गति:",speedOption:{slow:"धीमी",normal:"सामान्य",fast:"तेज़"},shareEmbed:"साझा करें और एम्बेड करें"},wh={labels:{country:"देश:",population:"जनसंख्या:",language:"भाषा:",religion:"धर्म:",languageFamily:"भाषा परिवार:",peopleCommitted:"प्रार्थना के लिए प्रतिबद्ध:"},messages:{noDescription:"कोई विवरण उपलब्ध नहीं है।"}},xh={title:{prayer:"प्रार्थना प्रगति",engagement:"सहभागिता प्रगति",adoption:"गोद लेने की प्रगति",languageFamilies:"भाषा परिवार",doxaRegions:"Doxa क्षेत्र",affinityBlocs:"समानता समूह",gospelResources:"सुसमाचार संसाधन"},header:{collapsed:"किंवदंती",peopleGroupFallback:"जनजाति समूह"},prayer:{needsPrayer:"प्रार्थना चाहिए",hasPrayer:"प्रार्थना है",fullPrayerCoverage:"पूर्ण प्रार्थना कवरेज"},progress:{title:"प्रगति",covered:"{total} में से {covered} जनजाति समूह प्रार्थना में कवर · {pct}%",short:"{total} में से {covered} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"सहभागिता चाहिए",hasEngagement:"सहभागिता है"},adoption:{needsAdoption:"गोद लेना चाहिए",hasAdoption:"गोद लिया गया"},columns:{upgs:"UUPGs",population:"जनसंख्या"},footer:{total:"कुल"}},Sh={menuComingSoon:"मेनू शीघ्र आ रहा है"},Ah={clusterByRegion:"Doxa क्षेत्र के अनुसार",clusterByLanguageFamily:"भाषा परिवार के अनुसार",clusterByGospelResource:"सुसमाचार संसाधन के अनुसार"},$h={header:"वर्तमान प्रार्थना चक्र",lap:"चक्र",upgs:"UUPGs",separator:" में से "},Lh={placeholder:"लोग, स्थान, भाषा, धर्म",labels:{people:"लोग:",place:"स्थान:",language:"भाषा:",religion:"धर्म:"}},Ch={backToLegend:"Torna alla legenda",closeDetailView:"Chiudi vista dettaglio"},Eh={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"},Th={labels:{country:"Paese:",population:"Popolazione:",language:"Lingua:",religion:"Religione:",languageFamily:"Famiglia linguistica:",peopleCommitted:"Impegnati a pregare:"},messages:{noDescription:"Nessuna descrizione disponibile."}},Ph={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"}},Mh={menuComingSoon:"Menu in arrivo"},Nh={clusterByRegion:"Per regione Doxa",clusterByLanguageFamily:"Per famiglia linguistica",clusterByGospelResource:"Per risorsa del Vangelo"},Ih={header:"GIRO DI PREGHIERA ATTUALE",lap:"Giro",upgs:"UUPGs",separator:" di "},Rh={placeholder:"Popolo, luogo, lingua, religione",labels:{people:"Popolo:",place:"Luogo:",language:"Lingua:",religion:"Religione:"}},Fh={backToLegend:"Voltar à legenda",closeDetailView:"Fechar vista de detalhe"},Oh={prayForThem:"Ore por eles",adoptThem:"Adote-os",moreInfo:"Mais informações",zoomIn:"Ampliar",zoomOut:"Reduzir",switchToLightMode:"Mudar para modo claro",switchToDarkMode:"Mudar para modo escuro",resetView:"Repor vista",toggleFullscreen:"Alternar ecrã inteiro",aboutThisMap:"Sobre este mapa",closeMenu:"Fechar menu",reloadMap:"Recarregar mapa",showClusters:"Mostrar clusters",clusterSettings:"Definições de clusters",startAutoFly:"Iniciar voo automático",stopFlight:"Parar voo",speedLabel:"Velocidade:",speedOption:{slow:"Lenta",normal:"Normal",fast:"Rápida"},shareEmbed:"Partilhar e incorporar"},Dh={labels:{country:"País:",population:"População:",language:"Língua:",religion:"Religião:",languageFamily:"Família linguística:",peopleCommitted:"Comprometidos a orar:"},messages:{noDescription:"Sem descrição disponível."}},Bh={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"}},jh={menuComingSoon:"Menu em breve"},Gh={clusterByRegion:"Por região Doxa",clusterByLanguageFamily:"Por família linguística",clusterByGospelResource:"Por recurso do Evangelho"},Uh={header:"VOLTA DE ORAÇÃO ATUAL",lap:"Volta",upgs:"UUPGs",separator:" de "},Kh={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"}},zh={prayer:"Oração",adoption:"Adoção",engagement:"Engajamento","affinity-blocks":"Povos",regions:"Regiões",countries:"Países","language-families":"Idiomas",religion:"Religiões",family:"Família linguística",language:"Idioma",dialect:"Dialeto/Variedade",bloc:"Bloco de afinidade",cluster:"Agrupamento",group:"Povo",pgic:"Povo no país",region:"Região WAGF",block:"Bloco WAGF",country:"País"},Hh={backToLegend:"Înapoi la legendă",closeDetailView:"Închide vizualizarea detaliată"},Vh={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ă"},Wh={labels:{country:"Țară:",population:"Populație:",language:"Limbă:",religion:"Religie:",languageFamily:"Familie de limbi:",peopleCommitted:"Angajați să se roage:"},messages:{noDescription:"Nicio descriere disponibilă."}},Yh={title:{prayer:"Progresul rugăciunii",engagement:"Progresul implicării",adoption:"Progresul adopției",languageFamilies:"Familii de limbi",doxaRegions:"Regiuni Doxa",affinityBlocs:"Blocuri de afinitate",gospelResources:"Resurse ale Evangheliei"},header:{collapsed:"Legendă",peopleGroupFallback:"Grup de popoare"},prayer:{needsPrayer:"Necesită rugăciune",hasPrayer:"Are rugăciune",fullPrayerCoverage:"Acoperire completă de rugăciune"},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"}},qh={menuComingSoon:"Meniu în curând"},Jh={clusterByRegion:"După regiune Doxa",clusterByLanguageFamily:"După familia de limbi",clusterByGospelResource:"După resursa Evangheliei"},Zh={header:"TURUL DE RUGĂCIUNE CURENT",lap:"Tur",upgs:"UUPGs",separator:" din "},Xh={placeholder:"Popor, loc, limbă, religie",labels:{people:"Popor:",place:"Loc:",language:"Limbă:",religion:"Religie:"}},Qh={backToLegend:"Назад к легенде",closeDetailView:"Закрыть подробный вид"},em={prayForThem:"Молитесь о них",adoptThem:"Усыновите их",moreInfo:"Подробнее",zoomIn:"Приблизить",zoomOut:"Отдалить",switchToLightMode:"Переключить на светлый режим",switchToDarkMode:"Переключить на тёмный режим",resetView:"Сбросить вид",toggleFullscreen:"Полноэкранный режим",aboutThisMap:"Об этой карте",closeMenu:"Закрыть меню",reloadMap:"Перезагрузить карту",showClusters:"Показать кластеры",clusterSettings:"Настройки кластеров",startAutoFly:"Начать авто-полёт",stopFlight:"Остановить полёт",speedLabel:"Скорость:",speedOption:{slow:"Медленно",normal:"Нормально",fast:"Быстро"},shareEmbed:"Поделиться и встроить"},tm={labels:{country:"Страна:",population:"Население:",language:"Язык:",religion:"Религия:",languageFamily:"Языковая семья:",peopleCommitted:"Обязались молиться:"},messages:{noDescription:"Описание недоступно."}},om={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:"Языки"}},nm={menuComingSoon:"Меню скоро появится"},am={clusterByRegion:"По региону Doxa",clusterByLanguageFamily:"По языковой семье",clusterByGospelResource:"По евангельскому ресурсу"},rm={header:"ТЕКУЩИЙ КРУГ МОЛИТВЫ",lap:"Круг",upgs:"UUPGs",separator:" из "},sm={placeholder:"Народ, место, язык, религия",labels:{people:"Народ:",place:"Место:",language:"Язык:",religion:"Религия:"},kinds:{people:"Народ + страна",peopleGroup:"Народ",bloc:"Блок родства",cluster:"Кластер народов",country:"Страна",region:"Регион",family:"Языковая семья",languageKind:"Язык",dialect:"Диалект",religionKind:"Религия"}},im={prayer:"Молитва",adoption:"Усыновление",engagement:"Вовлечённость","affinity-blocks":"Народы",regions:"Регионы",countries:"Страны","language-families":"Языки",religion:"Религии",family:"Языковая семья",language:"Язык",dialect:"Диалект/вариант",bloc:"Блок родства",cluster:"Кластер",group:"Народ",pgic:"Народ в стране",region:"Регион WAGF",block:"Блок WAGF",country:"Страна"},lm={backToLegend:"返回图例",closeDetailView:"关闭详情视图"},cm={prayForThem:"为他们祷告",adoptThem:"认领他们",moreInfo:"更多信息",zoomIn:"放大",zoomOut:"缩小",switchToLightMode:"切换至浅色模式",switchToDarkMode:"切换至深色模式",resetView:"重置视图",toggleFullscreen:"切换全屏",aboutThisMap:"关于此地图",closeMenu:"关闭菜单",reloadMap:"重新加载地图",showClusters:"显示聚类",clusterSettings:"聚类设置",startAutoFly:"开始自动飞行",stopFlight:"停止飞行",speedLabel:"速度:",speedOption:{slow:"慢",normal:"正常",fast:"快"},shareEmbed:"分享与嵌入"},um={labels:{country:"国家:",population:"人口:",language:"语言:",religion:"宗教:",languageFamily:"语系:",peopleCommitted:"承诺祷告人数:"},messages:{noDescription:"暂无描述。"}},dm={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:"总计"}},pm={menuComingSoon:"菜单即将推出"},gm={clusterByRegion:"按 Doxa 区域",clusterByLanguageFamily:"按语系",clusterByGospelResource:"按福音资源"},fm={header:"当前祷告轮次",lap:"第",upgs:"UUPGs",separator:" / "},hm={placeholder:"民族、地点、语言、宗教",labels:{people:"民族:",place:"地点:",language:"语言:",religion:"宗教:"}};/*! + */let dc;const qa=e=>dc=e,pc=Symbol();function rs(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Xn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Xn||(Xn={}));function Lf(){const e=wr(!0),t=e.run(()=>ce({}));let o=[],n=[];const a=Uo({install(r){qa(a),a._a=r,r.provide(pc,a),r.config.globalProperties.$pinia=a,n.forEach(s=>o.push(s)),n=[]},use(r){return this._a?o.push(r):n.push(r),this},_p:o,_a:null,_e:e,_s:new Map,state:t});return a}const gc=()=>{};function fc(e,t,o,n=gc){e.push(t);const a=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),n())};return!o&&Li()&&ep(a),a}function fn(e,...t){e.slice().forEach(o=>{o(...t)})}const Cf=e=>e(),hc=Symbol(),ss=Symbol();function is(e,t){e instanceof Map&&t instanceof Map?t.forEach((o,n)=>e.set(n,o)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const o in t){if(!t.hasOwnProperty(o))continue;const n=t[o],a=e[o];rs(a)&&rs(n)&&e.hasOwnProperty(o)&&!Ze(n)&&!fo(n)?e[o]=is(a,n):e[o]=n}return e}const Ef=Symbol();function Tf(e){return!rs(e)||!e.hasOwnProperty(Ef)}const{assign:Po}=Object;function Pf(e){return!!(Ze(e)&&e.effect)}function Mf(e,t,o,n){const{state:a,actions:r,getters:s}=t,i=o.state.value[e];let l;function c(){i||(o.state.value[e]=a?a():{});const u=wp(o.state.value[e]);return Po(u,r,Object.keys(s||{}).reduce((p,g)=>(p[g]=Uo(Z(()=>{qa(o);const k=o._s.get(e);return s[g].call(k,k)})),p),{}))}return l=mc(e,c,t,o,n,!0),l}function mc(e,t,o={},n,a,r){let s;const i=Po({actions:{}},o),l={deep:!0};let c,u,p=[],g=[],k;const w=n.state.value[e];!r&&!w&&(n.state.value[e]={});let _;function d(M){let P;c=u=!1,typeof M=="function"?(M(n.state.value[e]),P={type:Xn.patchFunction,storeId:e,events:k}):(is(n.state.value[e],M),P={type:Xn.patchObject,payload:M,storeId:e,events:k});const I=_=Symbol();bo().then(()=>{_===I&&(c=!0)}),u=!0,fn(p,P,n.state.value[e])}const h=r?function(){const{state:P}=o,I=P?P():{};this.$patch(B=>{Po(B,I)})}:gc;function y(){s.stop(),p=[],g=[],n._s.delete(e)}const v=(M,P="")=>{if(hc in M)return M[ss]=P,M;const I=function(){qa(n);const B=Array.from(arguments),H=[],O=[];function R(C){H.push(C)}function G(C){O.push(C)}fn(g,{args:B,name:I[ss],store:x,after:R,onError:G});let F;try{F=M.apply(this&&this.$id===e?this:x,B)}catch(C){throw fn(O,C),C}return F instanceof Promise?F.then(C=>(fn(H,C),C)).catch(C=>(fn(O,C),Promise.reject(C))):(fn(H,F),F)};return I[hc]=!0,I[ss]=P,I},b={_p:n,$id:e,$onAction:fc.bind(null,g),$patch:d,$reset:h,$subscribe(M,P={}){const I=fc(p,M,P.detached,()=>B()),B=s.run(()=>tt(()=>n.state.value[e],H=>{(P.flush==="sync"?u:c)&&M({storeId:e,type:Xn.direct,events:k},H)},Po({},l,P)));return I},$dispose:y},x=on(b);n._s.set(e,x);const L=(n._a&&n._a.runWithContext||Cf)(()=>n._e.run(()=>(s=wr()).run(()=>t({action:v}))));for(const M in L){const P=L[M];if(Ze(P)&&!Pf(P)||fo(P))r||(w&&Tf(P)&&(Ze(P)?P.value=w[M]:is(P,w[M])),n.state.value[e][M]=P);else if(typeof P=="function"){const I=v(P,M);L[M]=I,i.actions[M]=P}}return Po(x,L),Po(Me(x),L),Object.defineProperty(x,"$state",{get:()=>n.state.value[e],set:M=>{d(P=>{Po(P,M)})}}),n._p.forEach(M=>{Po(x,s.run(()=>M({store:x,app:n._a,pinia:n,options:i})))}),w&&r&&o.hydrate&&o.hydrate(x.$state,w),c=!0,u=!0,x}/*! #__NO_SIDE_EFFECTS__ */function ls(e,t,o){let n,a;const r=typeof t=="function";typeof e=="string"?(n=e,a=r?o:t):(a=e,n=e.id);function s(i,l){const c=Dp();return i=i||(c?Te(pc,null):null),i&&qa(i),i=dc,i._s.has(n)||(r?mc(n,t,a,i):Mf(n,a,i)),i._s.get(n)}return s.$id=n,s}const cs="__doxaMapToken",us="doxa:map-token",bc="__doxaMapTokenBridge",hn=()=>{if(typeof window>"u")return"";const e=window[cs];return typeof e=="string"?e:""};function yc(e){if(typeof window>"u")return"";const t=typeof e=="string"?e.trim():"";if(!t||t===hn())return hn();window[cs]=t;try{window.dispatchEvent(new CustomEvent(us,{detail:t}))}catch{}return t}function Nf(){if(typeof window>"u"||window[bc])return;const e=typeof window.MAP_TOKEN=="string"?window.MAP_TOKEN:"";e&&!hn()&&(window[cs]=e);try{Object.defineProperty(window,"MAP_TOKEN",{configurable:!0,get(){return hn()},set(t){yc(t)}}),window[bc]=!0}catch{}}function If(){Nf();const e=ce(hn());if(typeof window<"u"){const t=()=>{e.value=hn()};window.addEventListener(us,t);try{oo(()=>window.removeEventListener(us,t))}catch{}}return e}function _c(e){return qp({loader:e,onError(t,o,n,a){a<=3?setTimeout(o,a*500):n()}})}const Rf={backToLegend:"العودة إلى المفتاح",closeDetailView:"إغلاق عرض التفاصيل"},Ff={prayForThem:"صلِّ من أجلهم",adoptThem:"تبنَّهم",moreInfo:"مزيد من المعلومات",zoomIn:"تكبير",zoomOut:"تصغير",switchToLightMode:"التبديل إلى الوضع الفاتح",switchToDarkMode:"التبديل إلى الوضع الداكن",resetView:"إعادة تعيين العرض",toggleFullscreen:"تبديل ملء الشاشة",aboutThisMap:"حول هذه الخريطة",closeMenu:"إغلاق القائمة",reloadMap:"إعادة تحميل الخريطة",showClusters:"إظهار المجموعات",clusterSettings:"إعدادات المجموعات",startAutoFly:"بدء الطيران التلقائي",stopFlight:"إيقاف الطيران",speedLabel:"السرعة:",speedOption:{slow:"بطيء",normal:"عادي",fast:"سريع"},shareEmbed:"مشاركة وتضمين"},Of={labels:{country:"الدولة:",population:"السكان:",language:"اللغة:",religion:"الديانة:",languageFamily:"العائلة اللغوية:",peopleCommitted:"ملتزمون بالصلاة:"},messages:{noDescription:"لا يوجد وصف متاح."}},Df={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:"اللغات"}},Bf={menuComingSoon:"القائمة قادمة قريباً"},jf={clusterByRegion:"حسب منطقة Doxa",clusterByLanguageFamily:"حسب العائلة اللغوية",clusterByGospelResource:"حسب مورد الإنجيل"},Gf={header:"دورة الصلاة الحالية",lap:"الدورة",upgs:"UUPGs",separator:" من "},Uf={placeholder:"شعب، مكان، لغة، ديانة",labels:{people:"الشعب:",place:"المكان:",language:"اللغة:",religion:"الديانة:"},kinds:{people:"الشعب + الدولة",peopleGroup:"الشعب",bloc:"كتلة التقارب",cluster:"مجموعة شعوب",country:"الدولة",region:"المنطقة",family:"عائلة اللغة",languageKind:"اللغة",dialect:"اللهجة",religionKind:"الدين"}},Kf={prayer:"الصلاة",adoption:"التبني",engagement:"المشاركة","affinity-blocks":"الشعوب",regions:"المناطق",countries:"الدول","language-families":"اللغات",religion:"الأديان",family:"عائلة اللغة",language:"اللغة",dialect:"اللهجة/التنوع",bloc:"كتلة التقارب",cluster:"المجموعة",group:"الشعب",pgic:"الشعب في الدولة",region:"منطقة WAGF",block:"كتلة WAGF",country:"الدولة"},zf={backToLegend:"Zurück zur Legende",closeDetailView:"Detailansicht schließen"},Hf={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"},Vf={labels:{country:"Land:",population:"Bevölkerung:",language:"Sprache:",religion:"Religion:",languageFamily:"Sprachfamilie:",peopleCommitted:"Zum Gebet verpflichtet:"},messages:{noDescription:"Keine Beschreibung verfügbar."}},Wf={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"}},Yf={menuComingSoon:"Menü folgt in Kürze"},qf={clusterByRegion:"Nach Doxa-Region",clusterByLanguageFamily:"Nach Sprachfamilie",clusterByGospelResource:"Nach Evangeliumsressource"},Jf={header:"AKTUELLE GEBETSRUNDE",lap:"Runde",upgs:"UUPGs",separator:" von "},Zf={placeholder:"Volk, Ort, Sprache, Religion",labels:{people:"Volk:",place:"Ort:",language:"Sprache:",religion:"Religion:"},sections:{within:"Innerhalb {selection}",allData:"Alle DOXA-Daten"}},Xf={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"},Qf={backToLegend:"Back to Legend",closeDetailView:"Close detail view"},eh={prayForThem:"Pray for them",adoptThem:"Adopt",moreInfo:"More info",zoomIn:"Zoom in",zoomOut:"Zoom out",switchToLightMode:"Switch to light mode",switchToDarkMode:"Switch to dark mode",resetView:"Reset view",toggleFullscreen:"Toggle fullscreen",aboutThisMap:"About this map",closeMenu:"Close menu",reloadMap:"Reload Map",showClusters:"Show Clusters",clusterSettings:"Cluster Settings",startAutoFly:"Start Auto Fly",stopFlight:"Stop Flight",speedLabel:"Speed:",speedOption:{slow:"Slow",normal:"Normal",fast:"Fast"},shareEmbed:"Share & embed",shareSteps:["Embed this map on your site","Create a list of the websites in your city","Train them to embed it too","Train them to train others to embed it too","Multiply maps everywhere for Jesus!"],share:"Share"},th={labels:{country:"Country:",population:"Population:",language:"Language:",religion:"Religion:",languageFamily:"Language Family:",peopleCommitted:"Committed to pray:"},messages:{noDescription:"No description available."}},oh={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"}},nh={menuComingSoon:"Menu coming soon"},ah={clusterByRegion:"By Doxa Region",clusterByLanguageFamily:"By Language Family",clusterByGospelResource:"By Gospel Resource"},rh={country:{wagfRegion:"WAGF Region",wagfBlock:"WAGF Bloc",country:"Country",uupgCount:"UUPG Count"}},sh={header:"CURRENT PRAYER LAP",lap:"Lap",upgs:"UUPGs",separator:" of "},ih={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"}},lh={prayer:"Prayer",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"People Groups (Affinity)",regions:"Regions",countries:"Countries","language-families":"Languages",religion:"Religions",family:"Lang Family",language:"Language",dialect:"Dialect/Variety",bloc:"Affinity Block",cluster:"Cluster",group:"People Group",pgic:"PG in Country",region:"WAGF Region",block:"WAGF Bloc",country:"Country"},ch={backToLegend:"Volver a la leyenda",closeDetailView:"Cerrar vista de detalle"},uh={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"},dh={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."}},ph={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"}},gh={menuComingSoon:"Menú próximamente"},fh={clusterByRegion:"Por región Doxa",clusterByLanguageFamily:"Por familia lingüística",clusterByGospelResource:"Por recurso del Evangelio"},hh={header:"VUELTA DE ORACIÓN ACTUAL",lap:"Vuelta",upgs:"UUPGs",separator:" de "},mh={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"}},bh={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"},yh={backToLegend:"Retour à la légende",closeDetailView:"Fermer la vue détaillée"},_h={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"},vh={labels:{country:"Pays :",population:"Population :",language:"Langue :",religion:"Religion :",languageFamily:"Famille de langues :",peopleCommitted:"Engagés à prier :"},messages:{noDescription:"Aucune description disponible."}},kh={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"}},wh={menuComingSoon:"Menu bientôt disponible"},xh={clusterByRegion:"Par région Doxa",clusterByLanguageFamily:"Par famille de langues",clusterByGospelResource:"Par ressource de l'Évangile"},Sh={country:{wagfRegion:"Région WAGF",wagfBlock:"Bloc WAGF",country:"Pays",uupgCount:"Nombre d'UUPG"}},Ah={header:"TOUR DE PRIÈRE ACTUEL",lap:"Tour",upgs:"UUPGs",separator:" sur "},$h={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"}},Lh={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"},Ch={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:"कोई विवरण उपलब्ध नहीं है।"}},Ph={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:"कुल"}},Mh={menuComingSoon:"मेनू शीघ्र आ रहा है"},Nh={clusterByRegion:"Doxa क्षेत्र के अनुसार",clusterByLanguageFamily:"भाषा परिवार के अनुसार",clusterByGospelResource:"सुसमाचार संसाधन के अनुसार"},Ih={header:"वर्तमान प्रार्थना चक्र",lap:"चक्र",upgs:"UUPGs",separator:" में से "},Rh={placeholder:"लोग, स्थान, भाषा, धर्म",labels:{people:"लोग:",place:"स्थान:",language:"भाषा:",religion:"धर्म:"}},Fh={backToLegend:"Torna alla legenda",closeDetailView:"Chiudi vista dettaglio"},Oh={prayForThem:"Prega per loro",adoptThem:"Adottali",moreInfo:"Più informazioni",zoomIn:"Ingrandisci",zoomOut:"Riduci",switchToLightMode:"Passa alla modalità chiara",switchToDarkMode:"Passa alla modalità scura",resetView:"Reimposta vista",toggleFullscreen:"Attiva/disattiva schermo intero",aboutThisMap:"Informazioni su questa mappa",closeMenu:"Chiudi menu",reloadMap:"Ricarica mappa",showClusters:"Mostra cluster",clusterSettings:"Impostazioni cluster",startAutoFly:"Avvia volo automatico",stopFlight:"Ferma volo",speedLabel:"Velocità:",speedOption:{slow:"Lenta",normal:"Normale",fast:"Veloce"},shareEmbed:"Condividi e incorpora"},Dh={labels:{country:"Paese:",population:"Popolazione:",language:"Lingua:",religion:"Religione:",languageFamily:"Famiglia linguistica:",peopleCommitted:"Impegnati a pregare:"},messages:{noDescription:"Nessuna descrizione disponibile."}},Bh={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"}},jh={menuComingSoon:"Menu in arrivo"},Gh={clusterByRegion:"Per regione Doxa",clusterByLanguageFamily:"Per famiglia linguistica",clusterByGospelResource:"Per risorsa del Vangelo"},Uh={header:"GIRO DI PREGHIERA ATTUALE",lap:"Giro",upgs:"UUPGs",separator:" di "},Kh={placeholder:"Popolo, luogo, lingua, religione",labels:{people:"Popolo:",place:"Luogo:",language:"Lingua:",religion:"Religione:"}},zh={backToLegend:"Voltar à legenda",closeDetailView:"Fechar vista de detalhe"},Hh={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"},Vh={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."}},Wh={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"}},Yh={menuComingSoon:"Menu em breve"},qh={clusterByRegion:"Por região Doxa",clusterByLanguageFamily:"Por família linguística",clusterByGospelResource:"Por recurso do Evangelho"},Jh={header:"VOLTA DE ORAÇÃO ATUAL",lap:"Volta",upgs:"UUPGs",separator:" de "},Zh={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"}},Xh={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"},Qh={backToLegend:"Înapoi la legendă",closeDetailView:"Închide vizualizarea detaliată"},em={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ă"},tm={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ă."}},om={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"}},nm={menuComingSoon:"Meniu în curând"},am={clusterByRegion:"După regiune Doxa",clusterByLanguageFamily:"După familia de limbi",clusterByGospelResource:"După resursa Evangheliei"},rm={header:"TURUL DE RUGĂCIUNE CURENT",lap:"Tur",upgs:"UUPGs",separator:" din "},sm={placeholder:"Popor, loc, limbă, religie",labels:{people:"Popor:",place:"Loc:",language:"Limbă:",religion:"Religie:"}},im={backToLegend:"Назад к легенде",closeDetailView:"Закрыть подробный вид"},lm={prayForThem:"Молитесь о них",adoptThem:"Усыновите их",moreInfo:"Подробнее",zoomIn:"Приблизить",zoomOut:"Отдалить",switchToLightMode:"Переключить на светлый режим",switchToDarkMode:"Переключить на тёмный режим",resetView:"Сбросить вид",toggleFullscreen:"Полноэкранный режим",aboutThisMap:"Об этой карте",closeMenu:"Закрыть меню",reloadMap:"Перезагрузить карту",showClusters:"Показать кластеры",clusterSettings:"Настройки кластеров",startAutoFly:"Начать авто-полёт",stopFlight:"Остановить полёт",speedLabel:"Скорость:",speedOption:{slow:"Медленно",normal:"Нормально",fast:"Быстро"},shareEmbed:"Поделиться и встроить"},cm={labels:{country:"Страна:",population:"Население:",language:"Язык:",religion:"Религия:",languageFamily:"Языковая семья:",peopleCommitted:"Обязались молиться:"},messages:{noDescription:"Описание недоступно."}},um={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:"Языки"}},dm={menuComingSoon:"Меню скоро появится"},pm={clusterByRegion:"По региону Doxa",clusterByLanguageFamily:"По языковой семье",clusterByGospelResource:"По евангельскому ресурсу"},gm={header:"ТЕКУЩИЙ КРУГ МОЛИТВЫ",lap:"Круг",upgs:"UUPGs",separator:" из "},fm={placeholder:"Народ, место, язык, религия",labels:{people:"Народ:",place:"Место:",language:"Язык:",religion:"Религия:"},kinds:{people:"Народ + страна",peopleGroup:"Народ",bloc:"Блок родства",cluster:"Кластер народов",country:"Страна",region:"Регион",family:"Языковая семья",languageKind:"Язык",dialect:"Диалект",religionKind:"Религия"}},hm={prayer:"Молитва",adoption:"Усыновление",engagement:"Вовлечённость","affinity-blocks":"Народы",regions:"Регионы",countries:"Страны","language-families":"Языки",religion:"Религии",family:"Языковая семья",language:"Язык",dialect:"Диалект/вариант",bloc:"Блок родства",cluster:"Кластер",group:"Народ",pgic:"Народ в стране",region:"Регион WAGF",block:"Блок WAGF",country:"Страна"},mm={backToLegend:"返回图例",closeDetailView:"关闭详情视图"},bm={prayForThem:"为他们祷告",adoptThem:"认领他们",moreInfo:"更多信息",zoomIn:"放大",zoomOut:"缩小",switchToLightMode:"切换至浅色模式",switchToDarkMode:"切换至深色模式",resetView:"重置视图",toggleFullscreen:"切换全屏",aboutThisMap:"关于此地图",closeMenu:"关闭菜单",reloadMap:"重新加载地图",showClusters:"显示聚类",clusterSettings:"聚类设置",startAutoFly:"开始自动飞行",stopFlight:"停止飞行",speedLabel:"速度:",speedOption:{slow:"慢",normal:"正常",fast:"快"},shareEmbed:"分享与嵌入"},ym={labels:{country:"国家:",population:"人口:",language:"语言:",religion:"宗教:",languageFamily:"语系:",peopleCommitted:"承诺祷告人数:"},messages:{noDescription:"暂无描述。"}},_m={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:"总计"}},vm={menuComingSoon:"菜单即将推出"},km={clusterByRegion:"按 Doxa 区域",clusterByLanguageFamily:"按语系",clusterByGospelResource:"按福音资源"},wm={header:"当前祷告轮次",lap:"第",upgs:"UUPGs",separator:" / "},xm={placeholder:"民族、地点、语言、宗教",labels:{people:"民族:",place:"地点:",language:"语言:",religion:"宗教:"}};/*! * shared v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function mm(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const qa=typeof window<"u",Mo=(e,t=!1)=>t?Symbol.for(e):Symbol(e),bm=(e,t,o)=>ym({l:e,k:t,s:o}),ym=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),st=e=>typeof e=="number"&&isFinite(e),_m=e=>vc(e)==="[object Date]",No=e=>vc(e)==="[object RegExp]",Ja=e=>Ae(e)&&Object.keys(e).length===0,kt=Object.assign,vm=Object.create,Ue=(e=null)=>vm(e);let mc;const xo=()=>mc||(mc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Ue());function bc(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function yc(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function km(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(n,a,r)=>`${a}="${yc(r)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(n,a,r)=>`${a}='${yc(r)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(n=>{e=e.replace(n,"$1javascript:")}),e}const wm=Object.prototype.hasOwnProperty;function Ht(e,t){return wm.call(e,t)}const Xe=Array.isArray,Ye=e=>typeof e=="function",pe=e=>typeof e=="string",Pe=e=>typeof e=="boolean",Ie=e=>e!==null&&typeof e=="object",xm=e=>Ie(e)&&Ye(e.then)&&Ye(e.catch),_c=Object.prototype.toString,vc=e=>_c.call(e),Ae=e=>{if(!Ie(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Sm=e=>e==null?"":Xe(e)||Ae(e)&&e.toString===_c?JSON.stringify(e,null,2):String(e);function Am(e,t=""){return e.reduce((o,n,a)=>a===0?o+n:o+t+n,"")}function Za(e){let t=e;return()=>++t}const Xa=e=>!Ie(e)||Xe(e);function Qa(e,t){if(Xa(e)||Xa(t))throw new Error("Invalid value");const o=[{src:e,des:t}];for(;o.length;){const{src:n,des:a}=o.pop();Object.keys(n).forEach(r=>{r!=="__proto__"&&(Ie(n[r])&&!Ie(a[r])&&(a[r]=Array.isArray(n[r])?[]:Ue()),Xa(a[r])||Xa(n[r])?a[r]=n[r]:o.push({src:n[r],des:a[r]}))})}}/*! + */function Sm(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ja=typeof window<"u",Mo=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Am=(e,t,o)=>$m({l:e,k:t,s:o}),$m=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),st=e=>typeof e=="number"&&isFinite(e),Lm=e=>Sc(e)==="[object Date]",No=e=>Sc(e)==="[object RegExp]",Za=e=>Ae(e)&&Object.keys(e).length===0,kt=Object.assign,Cm=Object.create,Ue=(e=null)=>Cm(e);let vc;const xo=()=>vc||(vc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Ue());function kc(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function wc(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Em(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(n,a,r)=>`${a}="${wc(r)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(n,a,r)=>`${a}='${wc(r)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(n=>{e=e.replace(n,"$1javascript:")}),e}const Tm=Object.prototype.hasOwnProperty;function Ht(e,t){return Tm.call(e,t)}const Xe=Array.isArray,Ye=e=>typeof e=="function",pe=e=>typeof e=="string",Pe=e=>typeof e=="boolean",Ie=e=>e!==null&&typeof e=="object",Pm=e=>Ie(e)&&Ye(e.then)&&Ye(e.catch),xc=Object.prototype.toString,Sc=e=>xc.call(e),Ae=e=>{if(!Ie(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Mm=e=>e==null?"":Xe(e)||Ae(e)&&e.toString===xc?JSON.stringify(e,null,2):String(e);function Nm(e,t=""){return e.reduce((o,n,a)=>a===0?o+n:o+t+n,"")}function Xa(e){let t=e;return()=>++t}const Qa=e=>!Ie(e)||Xe(e);function er(e,t){if(Qa(e)||Qa(t))throw new Error("Invalid value");const o=[{src:e,des:t}];for(;o.length;){const{src:n,des:a}=o.pop();Object.keys(n).forEach(r=>{r!=="__proto__"&&(Ie(n[r])&&!Ie(a[r])&&(a[r]=Array.isArray(n[r])?[]:Ue()),Qa(a[r])||Qa(n[r])?a[r]=n[r]:o.push({src:n[r],des:a[r]}))})}}/*! * message-compiler v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function $m(e,t,o){return{line:e,column:t,offset:o}}function er(e,t,o){return{start:e,end:t}}const Lm=/\{([0-9a-zA-Z]+)\}/g;function kc(e,...t){return t.length===1&&Cm(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Lm,(o,n)=>t.hasOwnProperty(n)?t[n]:"")}const wc=Object.assign,xc=e=>typeof e=="string",Cm=e=>e!==null&&typeof e=="object";function Sc(e,t=""){return e.reduce((o,n,a)=>a===0?o+n:o+t+n,"")}const us={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Em={[us.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function Tm(e,t,...o){const n=kc(Em[e],...o||[]),a={message:String(n),code:e};return t&&(a.location=t),a}const we={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},Pm={[we.EXPECTED_TOKEN]:"Expected token: '{0}'",[we.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[we.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[we.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[we.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[we.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[we.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[we.EMPTY_PLACEHOLDER]:"Empty placeholder",[we.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[we.INVALID_LINKED_FORMAT]:"Invalid linked format",[we.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[we.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[we.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[we.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[we.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[we.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function mn(e,t,o={}){const{domain:n,messages:a,args:r}=o,s=kc((a||Pm)[e]||"",...r||[]),i=new SyntaxError(String(s));return i.code=e,t&&(i.location=t),i.domain=n,i}function Mm(e){throw e}const So=" ",Nm="\r",Tt=` -`,Im="\u2028",Rm="\u2029";function Fm(e){const t=e;let o=0,n=1,a=1,r=0;const s=L=>t[L]===Nm&&t[L+1]===Tt,i=L=>t[L]===Tt,l=L=>t[L]===Rm,c=L=>t[L]===Im,u=L=>s(L)||i(L)||l(L)||c(L),p=()=>o,g=()=>n,k=()=>a,w=()=>r,_=L=>s(L)||l(L)||c(L)?Tt:t[L],d=()=>_(o),h=()=>_(o+r);function y(){return r=0,u(o)&&(n++,a=0),s(o)&&o++,o++,a++,t[o]}function v(){return s(o+r)&&r++,r++,t[o+r]}function b(){o=0,n=1,a=1,r=0}function x(L=0){r=L}function A(){const L=o+r;for(;L!==o;)y();r=0}return{index:p,line:g,column:k,peekOffset:w,charAt:_,currentChar:d,currentPeek:h,next:y,peek:v,reset:b,resetPeek:x,skipToPeek:A}}const Io=void 0,Om=".",Ac="'",Dm="tokenizer";function Bm(e,t={}){const o=t.location!==!1,n=Fm(e),a=()=>n.index(),r=()=>$m(n.line(),n.column(),n.index()),s=r(),i=a(),l={currentType:14,offset:i,startLoc:s,endLoc:s,lastType:14,lastOffset:i,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function p(f,m,j,...V){const se=c();if(m.column+=j,m.offset+=j,u){const ae=o?er(se.startLoc,m):null,U=mn(f,ae,{domain:Dm,args:V});u(U)}}function g(f,m,j){f.endLoc=r(),f.currentType=m;const V={type:m};return o&&(V.loc=er(f.startLoc,f.endLoc)),j!=null&&(V.value=j),V}const k=f=>g(f,14);function w(f,m){return f.currentChar()===m?(f.next(),m):(p(we.EXPECTED_TOKEN,r(),0,m),"")}function _(f){let m="";for(;f.currentPeek()===So||f.currentPeek()===Tt;)m+=f.currentPeek(),f.peek();return m}function d(f){const m=_(f);return f.skipToPeek(),m}function h(f){if(f===Io)return!1;const m=f.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m===95}function y(f){if(f===Io)return!1;const m=f.charCodeAt(0);return m>=48&&m<=57}function v(f,m){const{currentType:j}=m;if(j!==2)return!1;_(f);const V=h(f.currentPeek());return f.resetPeek(),V}function b(f,m){const{currentType:j}=m;if(j!==2)return!1;_(f);const V=f.currentPeek()==="-"?f.peek():f.currentPeek(),se=y(V);return f.resetPeek(),se}function x(f,m){const{currentType:j}=m;if(j!==2)return!1;_(f);const V=f.currentPeek()===Ac;return f.resetPeek(),V}function A(f,m){const{currentType:j}=m;if(j!==8)return!1;_(f);const V=f.currentPeek()===".";return f.resetPeek(),V}function L(f,m){const{currentType:j}=m;if(j!==9)return!1;_(f);const V=h(f.currentPeek());return f.resetPeek(),V}function M(f,m){const{currentType:j}=m;if(!(j===8||j===12))return!1;_(f);const V=f.currentPeek()===":";return f.resetPeek(),V}function P(f,m){const{currentType:j}=m;if(j!==10)return!1;const V=()=>{const ae=f.currentPeek();return ae==="{"?h(f.peek()):ae==="@"||ae==="%"||ae==="|"||ae===":"||ae==="."||ae===So||!ae?!1:ae===Tt?(f.peek(),V()):H(f,!1)},se=V();return f.resetPeek(),se}function I(f){_(f);const m=f.currentPeek()==="|";return f.resetPeek(),m}function B(f){const m=_(f),j=f.currentPeek()==="%"&&f.peek()==="{";return f.resetPeek(),{isModulo:j,hasSpace:m.length>0}}function H(f,m=!0){const j=(se=!1,ae="",U=!1)=>{const S=f.currentPeek();return S==="{"?ae==="%"?!1:se:S==="@"||!S?ae==="%"?!0:se:S==="%"?(f.peek(),j(se,"%",!0)):S==="|"?ae==="%"||U?!0:!(ae===So||ae===Tt):S===So?(f.peek(),j(!0,So,U)):S===Tt?(f.peek(),j(!0,Tt,U)):!0},V=j();return m&&f.resetPeek(),V}function O(f,m){const j=f.currentChar();return j===Io?Io:m(j)?(f.next(),j):null}function R(f){const m=f.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m>=48&&m<=57||m===95||m===36}function G(f){return O(f,R)}function F(f){const m=f.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m>=48&&m<=57||m===95||m===36||m===45}function C(f){return O(f,F)}function re(f){const m=f.charCodeAt(0);return m>=48&&m<=57}function _e(f){return O(f,re)}function ne(f){const m=f.charCodeAt(0);return m>=48&&m<=57||m>=65&&m<=70||m>=97&&m<=102}function ge(f){return O(f,ne)}function fe(f){let m="",j="";for(;m=_e(f);)j+=m;return j}function de(f){d(f);const m=f.currentChar();return m!=="%"&&p(we.EXPECTED_TOKEN,r(),0,m),f.next(),"%"}function Ke(f){let m="";for(;;){const j=f.currentChar();if(j==="{"||j==="}"||j==="@"||j==="|"||!j)break;if(j==="%")if(H(f))m+=j,f.next();else break;else if(j===So||j===Tt)if(H(f))m+=j,f.next();else{if(I(f))break;m+=j,f.next()}else m+=j,f.next()}return m}function Fe(f){d(f);let m="",j="";for(;m=C(f);)j+=m;return f.currentChar()===Io&&p(we.UNTERMINATED_CLOSING_BRACE,r(),0),j}function Qe(f){d(f);let m="";return f.currentChar()==="-"?(f.next(),m+=`-${fe(f)}`):m+=fe(f),f.currentChar()===Io&&p(we.UNTERMINATED_CLOSING_BRACE,r(),0),m}function mt(f){return f!==Ac&&f!==Tt}function He(f){d(f),w(f,"'");let m="",j="";for(;m=O(f,mt);)m==="\\"?j+=it(f):j+=m;const V=f.currentChar();return V===Tt||V===Io?(p(we.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),V===Tt&&(f.next(),w(f,"'")),j):(w(f,"'"),j)}function it(f){const m=f.currentChar();switch(m){case"\\":case"'":return f.next(),`\\${m}`;case"u":return qe(f,m,4);case"U":return qe(f,m,6);default:return p(we.UNKNOWN_ESCAPE_SEQUENCE,r(),0,m),""}}function qe(f,m,j){w(f,m);let V="";for(let se=0;se{const V=f.currentChar();return V==="{"||V==="%"||V==="@"||V==="|"||V==="("||V===")"||!V||V===So?j:(j+=V,f.next(),m(j))};return m("")}function K(f){d(f);const m=w(f,"|");return d(f),m}function Y(f,m){let j=null;switch(f.currentChar()){case"{":return m.braceNest>=1&&p(we.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),f.next(),j=g(m,2,"{"),d(f),m.braceNest++,j;case"}":return m.braceNest>0&&m.currentType===2&&p(we.EMPTY_PLACEHOLDER,r(),0),f.next(),j=g(m,3,"}"),m.braceNest--,m.braceNest>0&&d(f),m.inLinked&&m.braceNest===0&&(m.inLinked=!1),j;case"@":return m.braceNest>0&&p(we.UNTERMINATED_CLOSING_BRACE,r(),0),j=X(f,m)||k(m),m.braceNest=0,j;default:{let se=!0,ae=!0,U=!0;if(I(f))return m.braceNest>0&&p(we.UNTERMINATED_CLOSING_BRACE,r(),0),j=g(m,1,K(f)),m.braceNest=0,m.inLinked=!1,j;if(m.braceNest>0&&(m.currentType===5||m.currentType===6||m.currentType===7))return p(we.UNTERMINATED_CLOSING_BRACE,r(),0),m.braceNest=0,Q(f,m);if(se=v(f,m))return j=g(m,5,Fe(f)),d(f),j;if(ae=b(f,m))return j=g(m,6,Qe(f)),d(f),j;if(U=x(f,m))return j=g(m,7,He(f)),d(f),j;if(!se&&!ae&&!U)return j=g(m,13,$(f)),p(we.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,j.value),d(f),j;break}}return j}function X(f,m){const{currentType:j}=m;let V=null;const se=f.currentChar();switch((j===8||j===9||j===12||j===10)&&(se===Tt||se===So)&&p(we.INVALID_LINKED_FORMAT,r(),0),se){case"@":return f.next(),V=g(m,8,"@"),m.inLinked=!0,V;case".":return d(f),f.next(),g(m,9,".");case":":return d(f),f.next(),g(m,10,":");default:return I(f)?(V=g(m,1,K(f)),m.braceNest=0,m.inLinked=!1,V):A(f,m)||M(f,m)?(d(f),X(f,m)):L(f,m)?(d(f),g(m,12,N(f))):P(f,m)?(d(f),se==="{"?Y(f,m)||V:g(m,11,E(f))):(j===8&&p(we.INVALID_LINKED_FORMAT,r(),0),m.braceNest=0,m.inLinked=!1,Q(f,m))}}function Q(f,m){let j={type:14};if(m.braceNest>0)return Y(f,m)||k(m);if(m.inLinked)return X(f,m)||k(m);switch(f.currentChar()){case"{":return Y(f,m)||k(m);case"}":return p(we.UNBALANCED_CLOSING_BRACE,r(),0),f.next(),g(m,3,"}");case"@":return X(f,m)||k(m);default:{if(I(f))return j=g(m,1,K(f)),m.braceNest=0,m.inLinked=!1,j;const{isModulo:se,hasSpace:ae}=B(f);if(se)return ae?g(m,0,Ke(f)):g(m,4,de(f));if(H(f))return g(m,0,Ke(f));break}}return j}function q(){const{currentType:f,offset:m,startLoc:j,endLoc:V}=l;return l.lastType=f,l.lastOffset=m,l.lastStartLoc=j,l.lastEndLoc=V,l.offset=a(),l.startLoc=r(),n.currentChar()===Io?g(l,14):Q(n,l)}return{nextToken:q,currentOffset:a,currentPosition:r,context:c}}const jm="parser",Gm=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Um(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 Km(e={}){const t=e.location!==!1,{onError:o,onWarn:n}=e;function a(v,b,x,A,...L){const M=v.currentPosition();if(M.offset+=A,M.column+=A,o){const P=t?er(x,M):null,I=mn(b,P,{domain:jm,args:L});o(I)}}function r(v,b,x,A,...L){const M=v.currentPosition();if(M.offset+=A,M.column+=A,n){const P=t?er(x,M):null;n(Tm(b,P,L))}}function s(v,b,x){const A={type:v};return t&&(A.start=b,A.end=b,A.loc={start:x,end:x}),A}function i(v,b,x,A){t&&(v.end=b,v.loc&&(v.loc.end=x))}function l(v,b){const x=v.context(),A=s(3,x.offset,x.startLoc);return A.value=b,i(A,v.currentOffset(),v.currentPosition()),A}function c(v,b){const x=v.context(),{lastOffset:A,lastStartLoc:L}=x,M=s(5,A,L);return M.index=parseInt(b,10),v.nextToken(),i(M,v.currentOffset(),v.currentPosition()),M}function u(v,b,x){const A=v.context(),{lastOffset:L,lastStartLoc:M}=A,P=s(4,L,M);return P.key=b,x===!0&&(P.modulo=!0),v.nextToken(),i(P,v.currentOffset(),v.currentPosition()),P}function p(v,b){const x=v.context(),{lastOffset:A,lastStartLoc:L}=x,M=s(9,A,L);return M.value=b.replace(Gm,Um),v.nextToken(),i(M,v.currentOffset(),v.currentPosition()),M}function g(v){const b=v.nextToken(),x=v.context(),{lastOffset:A,lastStartLoc:L}=x,M=s(8,A,L);return b.type!==12?(a(v,we.UNEXPECTED_EMPTY_LINKED_MODIFIER,x.lastStartLoc,0),M.value="",i(M,A,L),{nextConsumeToken:b,node:M}):(b.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Vt(b)),M.value=b.value||"",i(M,v.currentOffset(),v.currentPosition()),{node:M})}function k(v,b){const x=v.context(),A=s(7,x.offset,x.startLoc);return A.value=b,i(A,v.currentOffset(),v.currentPosition()),A}function w(v){const b=v.context(),x=s(6,b.offset,b.startLoc);let A=v.nextToken();if(A.type===9){const L=g(v);x.modifier=L.node,A=L.nextConsumeToken||v.nextToken()}switch(A.type!==10&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(A)),A=v.nextToken(),A.type===2&&(A=v.nextToken()),A.type){case 11:A.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(A)),x.key=k(v,A.value||"");break;case 5:A.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(A)),x.key=u(v,A.value||"");break;case 6:A.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(A)),x.key=c(v,A.value||"");break;case 7:A.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(A)),x.key=p(v,A.value||"");break;default:{a(v,we.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const L=v.context(),M=s(7,L.offset,L.startLoc);return M.value="",i(M,L.offset,L.startLoc),x.key=M,i(x,L.offset,L.startLoc),{nextConsumeToken:A,node:x}}}return i(x,v.currentOffset(),v.currentPosition()),{node:x}}function _(v){const b=v.context(),x=b.currentType===1?v.currentOffset():b.offset,A=b.currentType===1?b.endLoc:b.startLoc,L=s(2,x,A);L.items=[];let M=null,P=null;do{const H=M||v.nextToken();switch(M=null,H.type){case 0:H.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(H)),L.items.push(l(v,H.value||""));break;case 6:H.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(H)),L.items.push(c(v,H.value||""));break;case 4:P=!0;break;case 5:H.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(H)),L.items.push(u(v,H.value||"",!!P)),P&&(r(v,us.USE_MODULO_SYNTAX,b.lastStartLoc,0,Vt(H)),P=null);break;case 7:H.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(H)),L.items.push(p(v,H.value||""));break;case 8:{const O=w(v);L.items.push(O.node),M=O.nextConsumeToken||null;break}}}while(b.currentType!==14&&b.currentType!==1);const I=b.currentType===1?b.lastOffset:v.currentOffset(),B=b.currentType===1?b.lastEndLoc:v.currentPosition();return i(L,I,B),L}function d(v,b,x,A){const L=v.context();let M=A.items.length===0;const P=s(1,b,x);P.cases=[],P.cases.push(A);do{const I=_(v);M||(M=I.items.length===0),P.cases.push(I)}while(L.currentType!==14);return M&&a(v,we.MUST_HAVE_MESSAGES_IN_PLURAL,x,0),i(P,v.currentOffset(),v.currentPosition()),P}function h(v){const b=v.context(),{offset:x,startLoc:A}=b,L=_(v);return b.currentType===14?L:d(v,x,A,L)}function y(v){const b=Bm(v,wc({},e)),x=b.context(),A=s(0,x.offset,x.startLoc);return t&&A.loc&&(A.loc.source=v),A.body=h(b),e.onCacheKey&&(A.cacheKey=e.onCacheKey(v)),x.currentType!==14&&a(b,we.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,v[x.offset]||""),i(A,b.currentOffset(),b.currentPosition()),A}return{parse:y}}function Vt(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function zm(e,t={}){const o={ast:e,helpers:new Set};return{context:()=>o,helper:r=>(o.helpers.add(r),r)}}function $c(e,t){for(let o=0;oLc(o)),e}function Lc(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let o=0;os;function l(_,d){s.code+=_}function c(_,d=!0){const h=d?n:"";l(a?h+" ".repeat(_):h)}function u(_=!0){const d=++s.indentLevel;_&&c(d)}function p(_=!0){const d=--s.indentLevel;_&&c(d)}function g(){c(s.indentLevel)}return{context:i,push:l,indent:u,deindent:p,newline:g,helper:_=>`_${_}`,needIndent:()=>s.needIndent}}function Jm(e,t){const{helper:o}=e;e.push(`${o("linked")}(`),yn(e,t.key),t.modifier?(e.push(", "),yn(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Zm(e,t){const{helper:o,needIndent:n}=e;e.push(`${o("normalize")}([`),e.indent(n());const a=t.items.length;for(let r=0;r1){e.push(`${o("plural")}([`),e.indent(n());const a=t.cases.length;for(let r=0;r{const o=xc(t.mode)?t.mode:"normal",n=xc(t.filename)?t.filename:"message.intl";t.sourceMap;const a=t.breakLineCode!=null?t.breakLineCode:o==="arrow"?";":` -`,r=t.needIndent?t.needIndent:o!=="arrow",s=e.helpers||[],i=qm(e,{filename:n,breakLineCode:a,needIndent:r});i.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(r),s.length>0&&(i.push(`const { ${Sc(s.map(u=>`${u}: _${u}`),", ")} } = ctx`),i.newline()),i.push("return "),yn(i,e),i.deindent(r),i.push("}"),delete e.helpers;const{code:l,map:c}=i.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function tb(e,t={}){const o=wc({},t),n=!!o.jit,a=!!o.minify,r=o.optimize==null?!0:o.optimize,i=Km(o).parse(e);return n?(r&&Vm(i),a&&bn(i),{ast:i,code:""}):(Hm(i,o),eb(i,o))}/*! + */function Im(e,t,o){return{line:e,column:t,offset:o}}function tr(e,t,o){return{start:e,end:t}}const Rm=/\{([0-9a-zA-Z]+)\}/g;function Ac(e,...t){return t.length===1&&Fm(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Rm,(o,n)=>t.hasOwnProperty(n)?t[n]:"")}const $c=Object.assign,Lc=e=>typeof e=="string",Fm=e=>e!==null&&typeof e=="object";function Cc(e,t=""){return e.reduce((o,n,a)=>a===0?o+n:o+t+n,"")}const ds={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Om={[ds.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function Dm(e,t,...o){const n=Ac(Om[e],...o||[]),a={message:String(n),code:e};return t&&(a.location=t),a}const we={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},Bm={[we.EXPECTED_TOKEN]:"Expected token: '{0}'",[we.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[we.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[we.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[we.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[we.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[we.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[we.EMPTY_PLACEHOLDER]:"Empty placeholder",[we.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[we.INVALID_LINKED_FORMAT]:"Invalid linked format",[we.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[we.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[we.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[we.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[we.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[we.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function mn(e,t,o={}){const{domain:n,messages:a,args:r}=o,s=Ac((a||Bm)[e]||"",...r||[]),i=new SyntaxError(String(s));return i.code=e,t&&(i.location=t),i.domain=n,i}function jm(e){throw e}const So=" ",Gm="\r",Tt=` +`,Um="\u2028",Km="\u2029";function zm(e){const t=e;let o=0,n=1,a=1,r=0;const s=L=>t[L]===Gm&&t[L+1]===Tt,i=L=>t[L]===Tt,l=L=>t[L]===Km,c=L=>t[L]===Um,u=L=>s(L)||i(L)||l(L)||c(L),p=()=>o,g=()=>n,k=()=>a,w=()=>r,_=L=>s(L)||l(L)||c(L)?Tt:t[L],d=()=>_(o),h=()=>_(o+r);function y(){return r=0,u(o)&&(n++,a=0),s(o)&&o++,o++,a++,t[o]}function v(){return s(o+r)&&r++,r++,t[o+r]}function b(){o=0,n=1,a=1,r=0}function x(L=0){r=L}function A(){const L=o+r;for(;L!==o;)y();r=0}return{index:p,line:g,column:k,peekOffset:w,charAt:_,currentChar:d,currentPeek:h,next:y,peek:v,reset:b,resetPeek:x,skipToPeek:A}}const Io=void 0,Hm=".",Ec="'",Vm="tokenizer";function Wm(e,t={}){const o=t.location!==!1,n=zm(e),a=()=>n.index(),r=()=>Im(n.line(),n.column(),n.index()),s=r(),i=a(),l={currentType:14,offset:i,startLoc:s,endLoc:s,lastType:14,lastOffset:i,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function p(f,m,j,...V){const se=c();if(m.column+=j,m.offset+=j,u){const ae=o?tr(se.startLoc,m):null,U=mn(f,ae,{domain:Vm,args:V});u(U)}}function g(f,m,j){f.endLoc=r(),f.currentType=m;const V={type:m};return o&&(V.loc=tr(f.startLoc,f.endLoc)),j!=null&&(V.value=j),V}const k=f=>g(f,14);function w(f,m){return f.currentChar()===m?(f.next(),m):(p(we.EXPECTED_TOKEN,r(),0,m),"")}function _(f){let m="";for(;f.currentPeek()===So||f.currentPeek()===Tt;)m+=f.currentPeek(),f.peek();return m}function d(f){const m=_(f);return f.skipToPeek(),m}function h(f){if(f===Io)return!1;const m=f.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m===95}function y(f){if(f===Io)return!1;const m=f.charCodeAt(0);return m>=48&&m<=57}function v(f,m){const{currentType:j}=m;if(j!==2)return!1;_(f);const V=h(f.currentPeek());return f.resetPeek(),V}function b(f,m){const{currentType:j}=m;if(j!==2)return!1;_(f);const V=f.currentPeek()==="-"?f.peek():f.currentPeek(),se=y(V);return f.resetPeek(),se}function x(f,m){const{currentType:j}=m;if(j!==2)return!1;_(f);const V=f.currentPeek()===Ec;return f.resetPeek(),V}function A(f,m){const{currentType:j}=m;if(j!==8)return!1;_(f);const V=f.currentPeek()===".";return f.resetPeek(),V}function L(f,m){const{currentType:j}=m;if(j!==9)return!1;_(f);const V=h(f.currentPeek());return f.resetPeek(),V}function M(f,m){const{currentType:j}=m;if(!(j===8||j===12))return!1;_(f);const V=f.currentPeek()===":";return f.resetPeek(),V}function P(f,m){const{currentType:j}=m;if(j!==10)return!1;const V=()=>{const ae=f.currentPeek();return ae==="{"?h(f.peek()):ae==="@"||ae==="%"||ae==="|"||ae===":"||ae==="."||ae===So||!ae?!1:ae===Tt?(f.peek(),V()):H(f,!1)},se=V();return f.resetPeek(),se}function I(f){_(f);const m=f.currentPeek()==="|";return f.resetPeek(),m}function B(f){const m=_(f),j=f.currentPeek()==="%"&&f.peek()==="{";return f.resetPeek(),{isModulo:j,hasSpace:m.length>0}}function H(f,m=!0){const j=(se=!1,ae="",U=!1)=>{const S=f.currentPeek();return S==="{"?ae==="%"?!1:se:S==="@"||!S?ae==="%"?!0:se:S==="%"?(f.peek(),j(se,"%",!0)):S==="|"?ae==="%"||U?!0:!(ae===So||ae===Tt):S===So?(f.peek(),j(!0,So,U)):S===Tt?(f.peek(),j(!0,Tt,U)):!0},V=j();return m&&f.resetPeek(),V}function O(f,m){const j=f.currentChar();return j===Io?Io:m(j)?(f.next(),j):null}function R(f){const m=f.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m>=48&&m<=57||m===95||m===36}function G(f){return O(f,R)}function F(f){const m=f.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m>=48&&m<=57||m===95||m===36||m===45}function C(f){return O(f,F)}function re(f){const m=f.charCodeAt(0);return m>=48&&m<=57}function _e(f){return O(f,re)}function ne(f){const m=f.charCodeAt(0);return m>=48&&m<=57||m>=65&&m<=70||m>=97&&m<=102}function ge(f){return O(f,ne)}function fe(f){let m="",j="";for(;m=_e(f);)j+=m;return j}function de(f){d(f);const m=f.currentChar();return m!=="%"&&p(we.EXPECTED_TOKEN,r(),0,m),f.next(),"%"}function Ke(f){let m="";for(;;){const j=f.currentChar();if(j==="{"||j==="}"||j==="@"||j==="|"||!j)break;if(j==="%")if(H(f))m+=j,f.next();else break;else if(j===So||j===Tt)if(H(f))m+=j,f.next();else{if(I(f))break;m+=j,f.next()}else m+=j,f.next()}return m}function Fe(f){d(f);let m="",j="";for(;m=C(f);)j+=m;return f.currentChar()===Io&&p(we.UNTERMINATED_CLOSING_BRACE,r(),0),j}function Qe(f){d(f);let m="";return f.currentChar()==="-"?(f.next(),m+=`-${fe(f)}`):m+=fe(f),f.currentChar()===Io&&p(we.UNTERMINATED_CLOSING_BRACE,r(),0),m}function mt(f){return f!==Ec&&f!==Tt}function He(f){d(f),w(f,"'");let m="",j="";for(;m=O(f,mt);)m==="\\"?j+=it(f):j+=m;const V=f.currentChar();return V===Tt||V===Io?(p(we.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),V===Tt&&(f.next(),w(f,"'")),j):(w(f,"'"),j)}function it(f){const m=f.currentChar();switch(m){case"\\":case"'":return f.next(),`\\${m}`;case"u":return qe(f,m,4);case"U":return qe(f,m,6);default:return p(we.UNKNOWN_ESCAPE_SEQUENCE,r(),0,m),""}}function qe(f,m,j){w(f,m);let V="";for(let se=0;se{const V=f.currentChar();return V==="{"||V==="%"||V==="@"||V==="|"||V==="("||V===")"||!V||V===So?j:(j+=V,f.next(),m(j))};return m("")}function K(f){d(f);const m=w(f,"|");return d(f),m}function Y(f,m){let j=null;switch(f.currentChar()){case"{":return m.braceNest>=1&&p(we.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),f.next(),j=g(m,2,"{"),d(f),m.braceNest++,j;case"}":return m.braceNest>0&&m.currentType===2&&p(we.EMPTY_PLACEHOLDER,r(),0),f.next(),j=g(m,3,"}"),m.braceNest--,m.braceNest>0&&d(f),m.inLinked&&m.braceNest===0&&(m.inLinked=!1),j;case"@":return m.braceNest>0&&p(we.UNTERMINATED_CLOSING_BRACE,r(),0),j=X(f,m)||k(m),m.braceNest=0,j;default:{let se=!0,ae=!0,U=!0;if(I(f))return m.braceNest>0&&p(we.UNTERMINATED_CLOSING_BRACE,r(),0),j=g(m,1,K(f)),m.braceNest=0,m.inLinked=!1,j;if(m.braceNest>0&&(m.currentType===5||m.currentType===6||m.currentType===7))return p(we.UNTERMINATED_CLOSING_BRACE,r(),0),m.braceNest=0,Q(f,m);if(se=v(f,m))return j=g(m,5,Fe(f)),d(f),j;if(ae=b(f,m))return j=g(m,6,Qe(f)),d(f),j;if(U=x(f,m))return j=g(m,7,He(f)),d(f),j;if(!se&&!ae&&!U)return j=g(m,13,$(f)),p(we.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,j.value),d(f),j;break}}return j}function X(f,m){const{currentType:j}=m;let V=null;const se=f.currentChar();switch((j===8||j===9||j===12||j===10)&&(se===Tt||se===So)&&p(we.INVALID_LINKED_FORMAT,r(),0),se){case"@":return f.next(),V=g(m,8,"@"),m.inLinked=!0,V;case".":return d(f),f.next(),g(m,9,".");case":":return d(f),f.next(),g(m,10,":");default:return I(f)?(V=g(m,1,K(f)),m.braceNest=0,m.inLinked=!1,V):A(f,m)||M(f,m)?(d(f),X(f,m)):L(f,m)?(d(f),g(m,12,N(f))):P(f,m)?(d(f),se==="{"?Y(f,m)||V:g(m,11,E(f))):(j===8&&p(we.INVALID_LINKED_FORMAT,r(),0),m.braceNest=0,m.inLinked=!1,Q(f,m))}}function Q(f,m){let j={type:14};if(m.braceNest>0)return Y(f,m)||k(m);if(m.inLinked)return X(f,m)||k(m);switch(f.currentChar()){case"{":return Y(f,m)||k(m);case"}":return p(we.UNBALANCED_CLOSING_BRACE,r(),0),f.next(),g(m,3,"}");case"@":return X(f,m)||k(m);default:{if(I(f))return j=g(m,1,K(f)),m.braceNest=0,m.inLinked=!1,j;const{isModulo:se,hasSpace:ae}=B(f);if(se)return ae?g(m,0,Ke(f)):g(m,4,de(f));if(H(f))return g(m,0,Ke(f));break}}return j}function q(){const{currentType:f,offset:m,startLoc:j,endLoc:V}=l;return l.lastType=f,l.lastOffset=m,l.lastStartLoc=j,l.lastEndLoc=V,l.offset=a(),l.startLoc=r(),n.currentChar()===Io?g(l,14):Q(n,l)}return{nextToken:q,currentOffset:a,currentPosition:r,context:c}}const Ym="parser",qm=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Jm(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 Zm(e={}){const t=e.location!==!1,{onError:o,onWarn:n}=e;function a(v,b,x,A,...L){const M=v.currentPosition();if(M.offset+=A,M.column+=A,o){const P=t?tr(x,M):null,I=mn(b,P,{domain:Ym,args:L});o(I)}}function r(v,b,x,A,...L){const M=v.currentPosition();if(M.offset+=A,M.column+=A,n){const P=t?tr(x,M):null;n(Dm(b,P,L))}}function s(v,b,x){const A={type:v};return t&&(A.start=b,A.end=b,A.loc={start:x,end:x}),A}function i(v,b,x,A){t&&(v.end=b,v.loc&&(v.loc.end=x))}function l(v,b){const x=v.context(),A=s(3,x.offset,x.startLoc);return A.value=b,i(A,v.currentOffset(),v.currentPosition()),A}function c(v,b){const x=v.context(),{lastOffset:A,lastStartLoc:L}=x,M=s(5,A,L);return M.index=parseInt(b,10),v.nextToken(),i(M,v.currentOffset(),v.currentPosition()),M}function u(v,b,x){const A=v.context(),{lastOffset:L,lastStartLoc:M}=A,P=s(4,L,M);return P.key=b,x===!0&&(P.modulo=!0),v.nextToken(),i(P,v.currentOffset(),v.currentPosition()),P}function p(v,b){const x=v.context(),{lastOffset:A,lastStartLoc:L}=x,M=s(9,A,L);return M.value=b.replace(qm,Jm),v.nextToken(),i(M,v.currentOffset(),v.currentPosition()),M}function g(v){const b=v.nextToken(),x=v.context(),{lastOffset:A,lastStartLoc:L}=x,M=s(8,A,L);return b.type!==12?(a(v,we.UNEXPECTED_EMPTY_LINKED_MODIFIER,x.lastStartLoc,0),M.value="",i(M,A,L),{nextConsumeToken:b,node:M}):(b.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Vt(b)),M.value=b.value||"",i(M,v.currentOffset(),v.currentPosition()),{node:M})}function k(v,b){const x=v.context(),A=s(7,x.offset,x.startLoc);return A.value=b,i(A,v.currentOffset(),v.currentPosition()),A}function w(v){const b=v.context(),x=s(6,b.offset,b.startLoc);let A=v.nextToken();if(A.type===9){const L=g(v);x.modifier=L.node,A=L.nextConsumeToken||v.nextToken()}switch(A.type!==10&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(A)),A=v.nextToken(),A.type===2&&(A=v.nextToken()),A.type){case 11:A.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(A)),x.key=k(v,A.value||"");break;case 5:A.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(A)),x.key=u(v,A.value||"");break;case 6:A.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(A)),x.key=c(v,A.value||"");break;case 7:A.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(A)),x.key=p(v,A.value||"");break;default:{a(v,we.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const L=v.context(),M=s(7,L.offset,L.startLoc);return M.value="",i(M,L.offset,L.startLoc),x.key=M,i(x,L.offset,L.startLoc),{nextConsumeToken:A,node:x}}}return i(x,v.currentOffset(),v.currentPosition()),{node:x}}function _(v){const b=v.context(),x=b.currentType===1?v.currentOffset():b.offset,A=b.currentType===1?b.endLoc:b.startLoc,L=s(2,x,A);L.items=[];let M=null,P=null;do{const H=M||v.nextToken();switch(M=null,H.type){case 0:H.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(H)),L.items.push(l(v,H.value||""));break;case 6:H.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(H)),L.items.push(c(v,H.value||""));break;case 4:P=!0;break;case 5:H.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(H)),L.items.push(u(v,H.value||"",!!P)),P&&(r(v,ds.USE_MODULO_SYNTAX,b.lastStartLoc,0,Vt(H)),P=null);break;case 7:H.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(H)),L.items.push(p(v,H.value||""));break;case 8:{const O=w(v);L.items.push(O.node),M=O.nextConsumeToken||null;break}}}while(b.currentType!==14&&b.currentType!==1);const I=b.currentType===1?b.lastOffset:v.currentOffset(),B=b.currentType===1?b.lastEndLoc:v.currentPosition();return i(L,I,B),L}function d(v,b,x,A){const L=v.context();let M=A.items.length===0;const P=s(1,b,x);P.cases=[],P.cases.push(A);do{const I=_(v);M||(M=I.items.length===0),P.cases.push(I)}while(L.currentType!==14);return M&&a(v,we.MUST_HAVE_MESSAGES_IN_PLURAL,x,0),i(P,v.currentOffset(),v.currentPosition()),P}function h(v){const b=v.context(),{offset:x,startLoc:A}=b,L=_(v);return b.currentType===14?L:d(v,x,A,L)}function y(v){const b=Wm(v,$c({},e)),x=b.context(),A=s(0,x.offset,x.startLoc);return t&&A.loc&&(A.loc.source=v),A.body=h(b),e.onCacheKey&&(A.cacheKey=e.onCacheKey(v)),x.currentType!==14&&a(b,we.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,v[x.offset]||""),i(A,b.currentOffset(),b.currentPosition()),A}return{parse:y}}function Vt(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Xm(e,t={}){const o={ast:e,helpers:new Set};return{context:()=>o,helper:r=>(o.helpers.add(r),r)}}function Tc(e,t){for(let o=0;oPc(o)),e}function Pc(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let o=0;os;function l(_,d){s.code+=_}function c(_,d=!0){const h=d?n:"";l(a?h+" ".repeat(_):h)}function u(_=!0){const d=++s.indentLevel;_&&c(d)}function p(_=!0){const d=--s.indentLevel;_&&c(d)}function g(){c(s.indentLevel)}return{context:i,push:l,indent:u,deindent:p,newline:g,helper:_=>`_${_}`,needIndent:()=>s.needIndent}}function ab(e,t){const{helper:o}=e;e.push(`${o("linked")}(`),yn(e,t.key),t.modifier?(e.push(", "),yn(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function rb(e,t){const{helper:o,needIndent:n}=e;e.push(`${o("normalize")}([`),e.indent(n());const a=t.items.length;for(let r=0;r1){e.push(`${o("plural")}([`),e.indent(n());const a=t.cases.length;for(let r=0;r{const o=Lc(t.mode)?t.mode:"normal",n=Lc(t.filename)?t.filename:"message.intl";t.sourceMap;const a=t.breakLineCode!=null?t.breakLineCode:o==="arrow"?";":` +`,r=t.needIndent?t.needIndent:o!=="arrow",s=e.helpers||[],i=nb(e,{filename:n,breakLineCode:a,needIndent:r});i.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(r),s.length>0&&(i.push(`const { ${Cc(s.map(u=>`${u}: _${u}`),", ")} } = ctx`),i.newline()),i.push("return "),yn(i,e),i.deindent(r),i.push("}"),delete e.helpers;const{code:l,map:c}=i.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function cb(e,t={}){const o=$c({},t),n=!!o.jit,a=!!o.minify,r=o.optimize==null?!0:o.optimize,i=Zm(o).parse(e);return n?(r&&eb(i),a&&bn(i),{ast:i,code:""}):(Qm(i,o),lb(i,o))}/*! * core-base v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function ob(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(xo().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(xo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(xo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function so(e){return Ie(e)&&ps(e)===0&&(Ht(e,"b")||Ht(e,"body"))}const Cc=["b","body"];function nb(e){return Ro(e,Cc)}const Ec=["c","cases"];function ab(e){return Ro(e,Ec,[])}const Tc=["s","static"];function rb(e){return Ro(e,Tc)}const Pc=["i","items"];function sb(e){return Ro(e,Pc,[])}const Mc=["t","type"];function ps(e){return Ro(e,Mc)}const Nc=["v","value"];function tr(e,t){const o=Ro(e,Nc);if(o!=null)return o;throw Qn(t)}const Ic=["m","modifier"];function ib(e){return Ro(e,Ic)}const Rc=["k","key"];function lb(e){const t=Ro(e,Rc);if(t)return t;throw Qn(6)}function Ro(e,t,o){for(let n=0;n{s===void 0?s=i:s+=i},g[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},g[2]=()=>{g[0](),a++},g[3]=()=>{if(a>0)a--,n=4,g[0]();else{if(a=0,s===void 0||(s=gb(s),s===!1))return!1;g[1]()}};function k(){const w=e[o+1];if(n===5&&w==="'"||n===6&&w==='"')return o++,i="\\"+w,g[0](),!0}for(;n!==null;)if(o++,r=e[o],!(r==="\\"&&k())){if(l=pb(r),p=Fo[n],c=p[l]||p.l||8,c===8||(n=c[0],c[1]!==void 0&&(u=g[c[1]],u&&(i=r,u()===!1))))return;if(n===7)return t}}const Oc=new Map;function hb(e,t){return Ie(e)?e[t]:null}function mb(e,t){if(!Ie(e))return null;let o=Oc.get(t);if(o||(o=fb(t),o&&Oc.set(t,o)),!o)return null;const n=o.length;let a=e,r=0;for(;re,yb=e=>"",_b="text",vb=e=>e.length===0?"":Am(e),kb=Sm;function Dc(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function wb(e){const t=st(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(st(e.named.count)||st(e.named.n))?st(e.named.count)?e.named.count:st(e.named.n)?e.named.n:t:t}function xb(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Sb(e={}){const t=e.locale,o=wb(e),n=Ie(e.pluralRules)&&pe(t)&&Ye(e.pluralRules[t])?e.pluralRules[t]:Dc,a=Ie(e.pluralRules)&&pe(t)&&Ye(e.pluralRules[t])?Dc:void 0,r=h=>h[n(o,h.length,a)],s=e.list||[],i=h=>s[h],l=e.named||Ue();st(e.pluralIndex)&&xb(o,l);const c=h=>l[h];function u(h){const y=Ye(e.messages)?e.messages(h):Ie(e.messages)?e.messages[h]:!1;return y||(e.parent?e.parent.message(h):yb)}const p=h=>e.modifiers?e.modifiers[h]:bb,g=Ae(e.processor)&&Ye(e.processor.normalize)?e.processor.normalize:vb,k=Ae(e.processor)&&Ye(e.processor.interpolate)?e.processor.interpolate:kb,w=Ae(e.processor)&&pe(e.processor.type)?e.processor.type:_b,d={list:i,named:c,plural:r,linked:(h,...y)=>{const[v,b]=y;let x="text",A="";y.length===1?Ie(v)?(A=v.modifier||A,x=v.type||x):pe(v)&&(A=v||A):y.length===2&&(pe(v)&&(A=v||A),pe(b)&&(x=b||x));const L=u(h)(d),M=x==="vnode"&&Xe(L)&&A?L[0]:L;return A?p(A)(M,x):M},message:u,type:w,interpolate:k,normalize:g,values:kt(Ue(),s,l)};return d}let ea=null;function Ab(e){ea=e}function $b(e,t,o){ea&&ea.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:o})}const Lb=Cb("function:translate");function Cb(e){return t=>ea&&ea.emit(e,t)}const Eb=us.__EXTEND_POINT__,Yo=Za(Eb),Tb={FALLBACK_TO_TRANSLATE:Yo(),CANNOT_FORMAT_NUMBER:Yo(),FALLBACK_TO_NUMBER_FORMAT:Yo(),CANNOT_FORMAT_DATE:Yo(),FALLBACK_TO_DATE_FORMAT:Yo(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Yo(),__EXTEND_POINT__:Yo()},Bc=we.__EXTEND_POINT__,qo=Za(Bc),Wt={INVALID_ARGUMENT:Bc,INVALID_DATE_ARGUMENT:qo(),INVALID_ISO_DATE_ARGUMENT:qo(),NOT_SUPPORT_NON_STRING_MESSAGE:qo(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:qo(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:qo(),NOT_SUPPORT_LOCALE_TYPE:qo(),__EXTEND_POINT__:qo()};function io(e){return mn(e,null,void 0)}function gs(e,t){return t.locale!=null?jc(t.locale):jc(e.locale)}let fs;function jc(e){if(pe(e))return e;if(Ye(e)){if(e.resolvedOnce&&fs!=null)return fs;if(e.constructor.name==="Function"){const t=e();if(xm(t))throw io(Wt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return fs=t}else throw io(Wt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw io(Wt.NOT_SUPPORT_LOCALE_TYPE)}function Pb(e,t,o){return[...new Set([o,...Xe(t)?t:Ie(t)?Object.keys(t):pe(t)?[t]:[o]])]}function Gc(e,t,o){const n=pe(o)?o:_n,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let r=a.__localeChainCache.get(n);if(!r){r=[];let s=[o];for(;Xe(s);)s=Uc(r,s,t);const i=Xe(t)||!Ae(t)?t:t.default?t.default:null;s=pe(i)?[i]:i,Xe(s)&&Uc(r,s,!1),a.__localeChainCache.set(n,r)}return r}function Uc(e,t,o){let n=!0;for(let a=0;a`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Rb(){return{upper:(e,t)=>t==="text"&&pe(e)?e.toUpperCase():t==="vnode"&&Ie(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&pe(e)?e.toLowerCase():t==="vnode"&&Ie(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&pe(e)?zc(e):t==="vnode"&&Ie(e)&&"__v_isVNode"in e?zc(e.children):e}}let Hc;function Vc(e){Hc=e}let Wc;function Fb(e){Wc=e}let Yc;function Ob(e){Yc=e}let qc=null;const Db=e=>{qc=e},Bb=()=>qc;let Jc=null;const Zc=e=>{Jc=e},jb=()=>Jc;let Xc=0;function Gb(e={}){const t=Ye(e.onWarn)?e.onWarn:mm,o=pe(e.version)?e.version:Ib,n=pe(e.locale)||Ye(e.locale)?e.locale:_n,a=Ye(n)?_n:n,r=Xe(e.fallbackLocale)||Ae(e.fallbackLocale)||pe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,s=Ae(e.messages)?e.messages:hs(a),i=Ae(e.datetimeFormats)?e.datetimeFormats:hs(a),l=Ae(e.numberFormats)?e.numberFormats:hs(a),c=kt(Ue(),e.modifiers,Rb()),u=e.pluralRules||Ue(),p=Ye(e.missing)?e.missing:null,g=Pe(e.missingWarn)||No(e.missingWarn)?e.missingWarn:!0,k=Pe(e.fallbackWarn)||No(e.fallbackWarn)?e.fallbackWarn:!0,w=!!e.fallbackFormat,_=!!e.unresolving,d=Ye(e.postTranslation)?e.postTranslation:null,h=Ae(e.processor)?e.processor:null,y=Pe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter,b=Ye(e.messageCompiler)?e.messageCompiler:Hc,x=Ye(e.messageResolver)?e.messageResolver:Wc||hb,A=Ye(e.localeFallbacker)?e.localeFallbacker:Yc||Pb,L=Ie(e.fallbackContext)?e.fallbackContext:void 0,M=e,P=Ie(M.__datetimeFormatters)?M.__datetimeFormatters:new Map,I=Ie(M.__numberFormatters)?M.__numberFormatters:new Map,B=Ie(M.__meta)?M.__meta:{};Xc++;const H={version:o,cid:Xc,locale:n,fallbackLocale:r,messages:s,modifiers:c,pluralRules:u,missing:p,missingWarn:g,fallbackWarn:k,fallbackFormat:w,unresolving:_,postTranslation:d,processor:h,warnHtmlMessage:y,escapeParameter:v,messageCompiler:b,messageResolver:x,localeFallbacker:A,fallbackContext:L,onWarn:t,__meta:B};return H.datetimeFormats=i,H.numberFormats=l,H.__datetimeFormatters=P,H.__numberFormatters=I,__INTLIFY_PROD_DEVTOOLS__&&$b(H,o,B),H}const hs=e=>({[e]:Ue()});function ms(e,t,o,n,a){const{missing:r,onWarn:s}=e;if(r!==null){const i=r(e,o,t,a);return pe(i)?i:t}else return t}function ta(e,t,o){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,o,t)}function Ub(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Kb(e,t){const o=t.indexOf(e);if(o===-1)return!1;for(let n=o+1;nzb(o,e)}function zb(e,t){const o=nb(t);if(o==null)throw Qn(0);if(ps(o)===1){const r=ab(o);return e.plural(r.reduce((s,i)=>[...s,Qc(e,i)],[]))}else return Qc(e,o)}function Qc(e,t){const o=rb(t);if(o!=null)return e.type==="text"?o:e.normalize([o]);{const n=sb(t).reduce((a,r)=>[...a,ys(e,r)],[]);return e.normalize(n)}}function ys(e,t){const o=ps(t);switch(o){case 3:return tr(t,o);case 9:return tr(t,o);case 4:{const n=t;if(Ht(n,"k")&&n.k)return e.interpolate(e.named(n.k));if(Ht(n,"key")&&n.key)return e.interpolate(e.named(n.key));throw Qn(o)}case 5:{const n=t;if(Ht(n,"i")&&st(n.i))return e.interpolate(e.list(n.i));if(Ht(n,"index")&&st(n.index))return e.interpolate(e.list(n.index));throw Qn(o)}case 6:{const n=t,a=ib(n),r=lb(n);return e.linked(ys(e,r),a?ys(e,a):void 0,e.type)}case 7:return tr(t,o);case 8:return tr(t,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const eu=e=>e;let vn=Ue();function tu(e,t={}){let o=!1;const n=t.onError||Mm;return t.onError=a=>{o=!0,n(a)},{...tb(e,t),detectError:o}}const Hb=(e,t)=>{if(!pe(e))throw io(Wt.NOT_SUPPORT_NON_STRING_MESSAGE);{Pe(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||eu)(e),a=vn[n];if(a)return a;const{code:r,detectError:s}=tu(e,t),i=new Function(`return ${r}`)();return s?i:vn[n]=i}};function Vb(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&pe(e)){Pe(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||eu)(e),a=vn[n];if(a)return a;const{ast:r,detectError:s}=tu(e,{...t,location:!1,jit:!0}),i=bs(r);return s?i:vn[n]=i}else{const o=e.cacheKey;if(o){const n=vn[o];return n||(vn[o]=bs(e))}else return bs(e)}}const ou=()=>"",Gt=e=>Ye(e);function nu(e,...t){const{fallbackFormat:o,postTranslation:n,unresolving:a,messageCompiler:r,fallbackLocale:s,messages:i}=e,[l,c]=_s(...t),u=Pe(c.missingWarn)?c.missingWarn:e.missingWarn,p=Pe(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,g=Pe(c.escapeParameter)?c.escapeParameter:e.escapeParameter,k=!!c.resolvedMessage,w=pe(c.default)||Pe(c.default)?Pe(c.default)?r?l:()=>l:c.default:o?r?l:()=>l:"",_=o||w!=="",d=gs(e,c);g&&Wb(c);let[h,y,v]=k?[l,d,i[d]||Ue()]:au(e,l,d,s,p,u),b=h,x=l;if(!k&&!(pe(b)||so(b)||Gt(b))&&_&&(b=w,x=b),!k&&(!(pe(b)||so(b)||Gt(b))||!pe(y)))return a?or:l;let A=!1;const L=()=>{A=!0},M=Gt(b)?b:ru(e,l,y,b,x,L);if(A)return b;const P=Jb(e,y,v,c),I=Sb(P),B=Yb(e,M,I);let H=n?n(B,l):B;if(g&&pe(H)&&(H=km(H)),__INTLIFY_PROD_DEVTOOLS__){const O={timestamp:Date.now(),key:pe(l)?l:Gt(b)?b.key:"",locale:y||(Gt(b)?b.locale:""),format:pe(b)?b:Gt(b)?b.source:"",message:H};O.meta=kt({},e.__meta,Bb()||{}),Lb(O)}return H}function Wb(e){Xe(e.list)?e.list=e.list.map(t=>pe(t)?bc(t):t):Ie(e.named)&&Object.keys(e.named).forEach(t=>{pe(e.named[t])&&(e.named[t]=bc(e.named[t]))})}function au(e,t,o,n,a,r){const{messages:s,onWarn:i,messageResolver:l,localeFallbacker:c}=e,u=c(e,n,o);let p=Ue(),g,k=null;const w="translate";for(let _=0;_n;return c.locale=o,c.key=t,c}const l=s(n,qb(e,o,a,n,i,r));return l.locale=o,l.key=t,l.source=n,l}function Yb(e,t,o){return t(o)}function _s(...e){const[t,o,n]=e,a=Ue();if(!pe(t)&&!st(t)&&!Gt(t)&&!so(t))throw io(Wt.INVALID_ARGUMENT);const r=st(t)?String(t):(Gt(t),t);return st(o)?a.plural=o:pe(o)?a.default=o:Ae(o)&&!Ja(o)?a.named=o:Xe(o)&&(a.list=o),st(n)?a.plural=n:pe(n)?a.default=n:Ae(n)&&kt(a,n),[r,a]}function qb(e,t,o,n,a,r){return{locale:t,key:o,warnHtmlMessage:a,onError:s=>{throw r&&r(s),s},onCacheKey:s=>bm(t,o,s)}}function Jb(e,t,o,n){const{modifiers:a,pluralRules:r,messageResolver:s,fallbackLocale:i,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,g={locale:t,modifiers:a,pluralRules:r,messages:k=>{let w=s(o,k);if(w==null&&u){const[,,_]=au(u,k,t,i,l,c);w=s(_,k)}if(pe(w)||so(w)){let _=!1;const h=ru(e,k,t,w,k,()=>{_=!0});return _?ou:h}else return Gt(w)?w:ou}};return e.processor&&(g.processor=e.processor),n.list&&(g.list=n.list),n.named&&(g.named=n.named),st(n.plural)&&(g.pluralIndex=n.plural),g}function su(e,...t){const{datetimeFormats:o,unresolving:n,fallbackLocale:a,onWarn:r,localeFallbacker:s}=e,{__datetimeFormatters:i}=e,[l,c,u,p]=vs(...t),g=Pe(u.missingWarn)?u.missingWarn:e.missingWarn;Pe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const k=!!u.part,w=gs(e,u),_=s(e,a,w);if(!pe(l)||l==="")return new Intl.DateTimeFormat(w,p).format(c);let d={},h,y=null;const v="datetime format";for(let A=0;A<_.length&&(h=_[A],d=o[h]||{},y=d[l],!Ae(y));A++)ms(e,l,h,g,v);if(!Ae(y)||!pe(h))return n?or:l;let b=`${h}__${l}`;Ja(p)||(b=`${b}__${JSON.stringify(p)}`);let x=i.get(b);return x||(x=new Intl.DateTimeFormat(h,kt({},y,p)),i.set(b,x)),k?x.formatToParts(c):x.format(c)}const iu=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function vs(...e){const[t,o,n,a]=e,r=Ue();let s=Ue(),i;if(pe(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw io(Wt.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();i=new Date(c);try{i.toISOString()}catch{throw io(Wt.INVALID_ISO_DATE_ARGUMENT)}}else if(_m(t)){if(isNaN(t.getTime()))throw io(Wt.INVALID_DATE_ARGUMENT);i=t}else if(st(t))i=t;else throw io(Wt.INVALID_ARGUMENT);return pe(o)?r.key=o:Ae(o)&&Object.keys(o).forEach(l=>{iu.includes(l)?s[l]=o[l]:r[l]=o[l]}),pe(n)?r.locale=n:Ae(n)&&(s=n),Ae(a)&&(s=a),[r.key||"",i,r,s]}function lu(e,t,o){const n=e;for(const a in o){const r=`${t}__${a}`;n.__datetimeFormatters.has(r)&&n.__datetimeFormatters.delete(r)}}function cu(e,...t){const{numberFormats:o,unresolving:n,fallbackLocale:a,onWarn:r,localeFallbacker:s}=e,{__numberFormatters:i}=e,[l,c,u,p]=ks(...t),g=Pe(u.missingWarn)?u.missingWarn:e.missingWarn;Pe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const k=!!u.part,w=gs(e,u),_=s(e,a,w);if(!pe(l)||l==="")return new Intl.NumberFormat(w,p).format(c);let d={},h,y=null;const v="number format";for(let A=0;A<_.length&&(h=_[A],d=o[h]||{},y=d[l],!Ae(y));A++)ms(e,l,h,g,v);if(!Ae(y)||!pe(h))return n?or:l;let b=`${h}__${l}`;Ja(p)||(b=`${b}__${JSON.stringify(p)}`);let x=i.get(b);return x||(x=new Intl.NumberFormat(h,kt({},y,p)),i.set(b,x)),k?x.formatToParts(c):x.format(c)}const uu=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function ks(...e){const[t,o,n,a]=e,r=Ue();let s=Ue();if(!st(t))throw io(Wt.INVALID_ARGUMENT);const i=t;return pe(o)?r.key=o:Ae(o)&&Object.keys(o).forEach(l=>{uu.includes(l)?s[l]=o[l]:r[l]=o[l]}),pe(n)?r.locale=n:Ae(n)&&(s=n),Ae(a)&&(s=a),[r.key||"",i,r,s]}function du(e,t,o){const n=e;for(const a in o){const r=`${t}__${a}`;n.__numberFormatters.has(r)&&n.__numberFormatters.delete(r)}}ob();/*! + */function ub(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(xo().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(xo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(xo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function so(e){return Ie(e)&&gs(e)===0&&(Ht(e,"b")||Ht(e,"body"))}const Mc=["b","body"];function db(e){return Ro(e,Mc)}const Nc=["c","cases"];function pb(e){return Ro(e,Nc,[])}const Ic=["s","static"];function gb(e){return Ro(e,Ic)}const Rc=["i","items"];function fb(e){return Ro(e,Rc,[])}const Fc=["t","type"];function gs(e){return Ro(e,Fc)}const Oc=["v","value"];function or(e,t){const o=Ro(e,Oc);if(o!=null)return o;throw Qn(t)}const Dc=["m","modifier"];function hb(e){return Ro(e,Dc)}const Bc=["k","key"];function mb(e){const t=Ro(e,Bc);if(t)return t;throw Qn(6)}function Ro(e,t,o){for(let n=0;n{s===void 0?s=i:s+=i},g[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},g[2]=()=>{g[0](),a++},g[3]=()=>{if(a>0)a--,n=4,g[0]();else{if(a=0,s===void 0||(s=kb(s),s===!1))return!1;g[1]()}};function k(){const w=e[o+1];if(n===5&&w==="'"||n===6&&w==='"')return o++,i="\\"+w,g[0](),!0}for(;n!==null;)if(o++,r=e[o],!(r==="\\"&&k())){if(l=vb(r),p=Fo[n],c=p[l]||p.l||8,c===8||(n=c[0],c[1]!==void 0&&(u=g[c[1]],u&&(i=r,u()===!1))))return;if(n===7)return t}}const Gc=new Map;function xb(e,t){return Ie(e)?e[t]:null}function Sb(e,t){if(!Ie(e))return null;let o=Gc.get(t);if(o||(o=wb(t),o&&Gc.set(t,o)),!o)return null;const n=o.length;let a=e,r=0;for(;re,$b=e=>"",Lb="text",Cb=e=>e.length===0?"":Nm(e),Eb=Mm;function Uc(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Tb(e){const t=st(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(st(e.named.count)||st(e.named.n))?st(e.named.count)?e.named.count:st(e.named.n)?e.named.n:t:t}function Pb(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Mb(e={}){const t=e.locale,o=Tb(e),n=Ie(e.pluralRules)&&pe(t)&&Ye(e.pluralRules[t])?e.pluralRules[t]:Uc,a=Ie(e.pluralRules)&&pe(t)&&Ye(e.pluralRules[t])?Uc:void 0,r=h=>h[n(o,h.length,a)],s=e.list||[],i=h=>s[h],l=e.named||Ue();st(e.pluralIndex)&&Pb(o,l);const c=h=>l[h];function u(h){const y=Ye(e.messages)?e.messages(h):Ie(e.messages)?e.messages[h]:!1;return y||(e.parent?e.parent.message(h):$b)}const p=h=>e.modifiers?e.modifiers[h]:Ab,g=Ae(e.processor)&&Ye(e.processor.normalize)?e.processor.normalize:Cb,k=Ae(e.processor)&&Ye(e.processor.interpolate)?e.processor.interpolate:Eb,w=Ae(e.processor)&&pe(e.processor.type)?e.processor.type:Lb,d={list:i,named:c,plural:r,linked:(h,...y)=>{const[v,b]=y;let x="text",A="";y.length===1?Ie(v)?(A=v.modifier||A,x=v.type||x):pe(v)&&(A=v||A):y.length===2&&(pe(v)&&(A=v||A),pe(b)&&(x=b||x));const L=u(h)(d),M=x==="vnode"&&Xe(L)&&A?L[0]:L;return A?p(A)(M,x):M},message:u,type:w,interpolate:k,normalize:g,values:kt(Ue(),s,l)};return d}let ea=null;function Nb(e){ea=e}function Ib(e,t,o){ea&&ea.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:o})}const Rb=Fb("function:translate");function Fb(e){return t=>ea&&ea.emit(e,t)}const Ob=ds.__EXTEND_POINT__,Yo=Xa(Ob),Db={FALLBACK_TO_TRANSLATE:Yo(),CANNOT_FORMAT_NUMBER:Yo(),FALLBACK_TO_NUMBER_FORMAT:Yo(),CANNOT_FORMAT_DATE:Yo(),FALLBACK_TO_DATE_FORMAT:Yo(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Yo(),__EXTEND_POINT__:Yo()},Kc=we.__EXTEND_POINT__,qo=Xa(Kc),Wt={INVALID_ARGUMENT:Kc,INVALID_DATE_ARGUMENT:qo(),INVALID_ISO_DATE_ARGUMENT:qo(),NOT_SUPPORT_NON_STRING_MESSAGE:qo(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:qo(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:qo(),NOT_SUPPORT_LOCALE_TYPE:qo(),__EXTEND_POINT__:qo()};function io(e){return mn(e,null,void 0)}function fs(e,t){return t.locale!=null?zc(t.locale):zc(e.locale)}let hs;function zc(e){if(pe(e))return e;if(Ye(e)){if(e.resolvedOnce&&hs!=null)return hs;if(e.constructor.name==="Function"){const t=e();if(Pm(t))throw io(Wt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return hs=t}else throw io(Wt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw io(Wt.NOT_SUPPORT_LOCALE_TYPE)}function Bb(e,t,o){return[...new Set([o,...Xe(t)?t:Ie(t)?Object.keys(t):pe(t)?[t]:[o]])]}function Hc(e,t,o){const n=pe(o)?o:_n,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let r=a.__localeChainCache.get(n);if(!r){r=[];let s=[o];for(;Xe(s);)s=Vc(r,s,t);const i=Xe(t)||!Ae(t)?t:t.default?t.default:null;s=pe(i)?[i]:i,Xe(s)&&Vc(r,s,!1),a.__localeChainCache.set(n,r)}return r}function Vc(e,t,o){let n=!0;for(let a=0;a`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Kb(){return{upper:(e,t)=>t==="text"&&pe(e)?e.toUpperCase():t==="vnode"&&Ie(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&pe(e)?e.toLowerCase():t==="vnode"&&Ie(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&pe(e)?Yc(e):t==="vnode"&&Ie(e)&&"__v_isVNode"in e?Yc(e.children):e}}let qc;function Jc(e){qc=e}let Zc;function zb(e){Zc=e}let Xc;function Hb(e){Xc=e}let Qc=null;const Vb=e=>{Qc=e},Wb=()=>Qc;let eu=null;const tu=e=>{eu=e},Yb=()=>eu;let ou=0;function qb(e={}){const t=Ye(e.onWarn)?e.onWarn:Sm,o=pe(e.version)?e.version:Ub,n=pe(e.locale)||Ye(e.locale)?e.locale:_n,a=Ye(n)?_n:n,r=Xe(e.fallbackLocale)||Ae(e.fallbackLocale)||pe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,s=Ae(e.messages)?e.messages:ms(a),i=Ae(e.datetimeFormats)?e.datetimeFormats:ms(a),l=Ae(e.numberFormats)?e.numberFormats:ms(a),c=kt(Ue(),e.modifiers,Kb()),u=e.pluralRules||Ue(),p=Ye(e.missing)?e.missing:null,g=Pe(e.missingWarn)||No(e.missingWarn)?e.missingWarn:!0,k=Pe(e.fallbackWarn)||No(e.fallbackWarn)?e.fallbackWarn:!0,w=!!e.fallbackFormat,_=!!e.unresolving,d=Ye(e.postTranslation)?e.postTranslation:null,h=Ae(e.processor)?e.processor:null,y=Pe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter,b=Ye(e.messageCompiler)?e.messageCompiler:qc,x=Ye(e.messageResolver)?e.messageResolver:Zc||xb,A=Ye(e.localeFallbacker)?e.localeFallbacker:Xc||Bb,L=Ie(e.fallbackContext)?e.fallbackContext:void 0,M=e,P=Ie(M.__datetimeFormatters)?M.__datetimeFormatters:new Map,I=Ie(M.__numberFormatters)?M.__numberFormatters:new Map,B=Ie(M.__meta)?M.__meta:{};ou++;const H={version:o,cid:ou,locale:n,fallbackLocale:r,messages:s,modifiers:c,pluralRules:u,missing:p,missingWarn:g,fallbackWarn:k,fallbackFormat:w,unresolving:_,postTranslation:d,processor:h,warnHtmlMessage:y,escapeParameter:v,messageCompiler:b,messageResolver:x,localeFallbacker:A,fallbackContext:L,onWarn:t,__meta:B};return H.datetimeFormats=i,H.numberFormats=l,H.__datetimeFormatters=P,H.__numberFormatters=I,__INTLIFY_PROD_DEVTOOLS__&&Ib(H,o,B),H}const ms=e=>({[e]:Ue()});function bs(e,t,o,n,a){const{missing:r,onWarn:s}=e;if(r!==null){const i=r(e,o,t,a);return pe(i)?i:t}else return t}function ta(e,t,o){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,o,t)}function Jb(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Zb(e,t){const o=t.indexOf(e);if(o===-1)return!1;for(let n=o+1;nXb(o,e)}function Xb(e,t){const o=db(t);if(o==null)throw Qn(0);if(gs(o)===1){const r=pb(o);return e.plural(r.reduce((s,i)=>[...s,nu(e,i)],[]))}else return nu(e,o)}function nu(e,t){const o=gb(t);if(o!=null)return e.type==="text"?o:e.normalize([o]);{const n=fb(t).reduce((a,r)=>[...a,_s(e,r)],[]);return e.normalize(n)}}function _s(e,t){const o=gs(t);switch(o){case 3:return or(t,o);case 9:return or(t,o);case 4:{const n=t;if(Ht(n,"k")&&n.k)return e.interpolate(e.named(n.k));if(Ht(n,"key")&&n.key)return e.interpolate(e.named(n.key));throw Qn(o)}case 5:{const n=t;if(Ht(n,"i")&&st(n.i))return e.interpolate(e.list(n.i));if(Ht(n,"index")&&st(n.index))return e.interpolate(e.list(n.index));throw Qn(o)}case 6:{const n=t,a=hb(n),r=mb(n);return e.linked(_s(e,r),a?_s(e,a):void 0,e.type)}case 7:return or(t,o);case 8:return or(t,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const au=e=>e;let vn=Ue();function ru(e,t={}){let o=!1;const n=t.onError||jm;return t.onError=a=>{o=!0,n(a)},{...cb(e,t),detectError:o}}const Qb=(e,t)=>{if(!pe(e))throw io(Wt.NOT_SUPPORT_NON_STRING_MESSAGE);{Pe(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||au)(e),a=vn[n];if(a)return a;const{code:r,detectError:s}=ru(e,t),i=new Function(`return ${r}`)();return s?i:vn[n]=i}};function ey(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&pe(e)){Pe(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||au)(e),a=vn[n];if(a)return a;const{ast:r,detectError:s}=ru(e,{...t,location:!1,jit:!0}),i=ys(r);return s?i:vn[n]=i}else{const o=e.cacheKey;if(o){const n=vn[o];return n||(vn[o]=ys(e))}else return ys(e)}}const su=()=>"",Gt=e=>Ye(e);function iu(e,...t){const{fallbackFormat:o,postTranslation:n,unresolving:a,messageCompiler:r,fallbackLocale:s,messages:i}=e,[l,c]=vs(...t),u=Pe(c.missingWarn)?c.missingWarn:e.missingWarn,p=Pe(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,g=Pe(c.escapeParameter)?c.escapeParameter:e.escapeParameter,k=!!c.resolvedMessage,w=pe(c.default)||Pe(c.default)?Pe(c.default)?r?l:()=>l:c.default:o?r?l:()=>l:"",_=o||w!=="",d=fs(e,c);g&&ty(c);let[h,y,v]=k?[l,d,i[d]||Ue()]:lu(e,l,d,s,p,u),b=h,x=l;if(!k&&!(pe(b)||so(b)||Gt(b))&&_&&(b=w,x=b),!k&&(!(pe(b)||so(b)||Gt(b))||!pe(y)))return a?nr:l;let A=!1;const L=()=>{A=!0},M=Gt(b)?b:cu(e,l,y,b,x,L);if(A)return b;const P=ay(e,y,v,c),I=Mb(P),B=oy(e,M,I);let H=n?n(B,l):B;if(g&&pe(H)&&(H=Em(H)),__INTLIFY_PROD_DEVTOOLS__){const O={timestamp:Date.now(),key:pe(l)?l:Gt(b)?b.key:"",locale:y||(Gt(b)?b.locale:""),format:pe(b)?b:Gt(b)?b.source:"",message:H};O.meta=kt({},e.__meta,Wb()||{}),Rb(O)}return H}function ty(e){Xe(e.list)?e.list=e.list.map(t=>pe(t)?kc(t):t):Ie(e.named)&&Object.keys(e.named).forEach(t=>{pe(e.named[t])&&(e.named[t]=kc(e.named[t]))})}function lu(e,t,o,n,a,r){const{messages:s,onWarn:i,messageResolver:l,localeFallbacker:c}=e,u=c(e,n,o);let p=Ue(),g,k=null;const w="translate";for(let _=0;_n;return c.locale=o,c.key=t,c}const l=s(n,ny(e,o,a,n,i,r));return l.locale=o,l.key=t,l.source=n,l}function oy(e,t,o){return t(o)}function vs(...e){const[t,o,n]=e,a=Ue();if(!pe(t)&&!st(t)&&!Gt(t)&&!so(t))throw io(Wt.INVALID_ARGUMENT);const r=st(t)?String(t):(Gt(t),t);return st(o)?a.plural=o:pe(o)?a.default=o:Ae(o)&&!Za(o)?a.named=o:Xe(o)&&(a.list=o),st(n)?a.plural=n:pe(n)?a.default=n:Ae(n)&&kt(a,n),[r,a]}function ny(e,t,o,n,a,r){return{locale:t,key:o,warnHtmlMessage:a,onError:s=>{throw r&&r(s),s},onCacheKey:s=>Am(t,o,s)}}function ay(e,t,o,n){const{modifiers:a,pluralRules:r,messageResolver:s,fallbackLocale:i,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,g={locale:t,modifiers:a,pluralRules:r,messages:k=>{let w=s(o,k);if(w==null&&u){const[,,_]=lu(u,k,t,i,l,c);w=s(_,k)}if(pe(w)||so(w)){let _=!1;const h=cu(e,k,t,w,k,()=>{_=!0});return _?su:h}else return Gt(w)?w:su}};return e.processor&&(g.processor=e.processor),n.list&&(g.list=n.list),n.named&&(g.named=n.named),st(n.plural)&&(g.pluralIndex=n.plural),g}function uu(e,...t){const{datetimeFormats:o,unresolving:n,fallbackLocale:a,onWarn:r,localeFallbacker:s}=e,{__datetimeFormatters:i}=e,[l,c,u,p]=ks(...t),g=Pe(u.missingWarn)?u.missingWarn:e.missingWarn;Pe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const k=!!u.part,w=fs(e,u),_=s(e,a,w);if(!pe(l)||l==="")return new Intl.DateTimeFormat(w,p).format(c);let d={},h,y=null;const v="datetime format";for(let A=0;A<_.length&&(h=_[A],d=o[h]||{},y=d[l],!Ae(y));A++)bs(e,l,h,g,v);if(!Ae(y)||!pe(h))return n?nr:l;let b=`${h}__${l}`;Za(p)||(b=`${b}__${JSON.stringify(p)}`);let x=i.get(b);return x||(x=new Intl.DateTimeFormat(h,kt({},y,p)),i.set(b,x)),k?x.formatToParts(c):x.format(c)}const du=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function ks(...e){const[t,o,n,a]=e,r=Ue();let s=Ue(),i;if(pe(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw io(Wt.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();i=new Date(c);try{i.toISOString()}catch{throw io(Wt.INVALID_ISO_DATE_ARGUMENT)}}else if(Lm(t)){if(isNaN(t.getTime()))throw io(Wt.INVALID_DATE_ARGUMENT);i=t}else if(st(t))i=t;else throw io(Wt.INVALID_ARGUMENT);return pe(o)?r.key=o:Ae(o)&&Object.keys(o).forEach(l=>{du.includes(l)?s[l]=o[l]:r[l]=o[l]}),pe(n)?r.locale=n:Ae(n)&&(s=n),Ae(a)&&(s=a),[r.key||"",i,r,s]}function pu(e,t,o){const n=e;for(const a in o){const r=`${t}__${a}`;n.__datetimeFormatters.has(r)&&n.__datetimeFormatters.delete(r)}}function gu(e,...t){const{numberFormats:o,unresolving:n,fallbackLocale:a,onWarn:r,localeFallbacker:s}=e,{__numberFormatters:i}=e,[l,c,u,p]=ws(...t),g=Pe(u.missingWarn)?u.missingWarn:e.missingWarn;Pe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const k=!!u.part,w=fs(e,u),_=s(e,a,w);if(!pe(l)||l==="")return new Intl.NumberFormat(w,p).format(c);let d={},h,y=null;const v="number format";for(let A=0;A<_.length&&(h=_[A],d=o[h]||{},y=d[l],!Ae(y));A++)bs(e,l,h,g,v);if(!Ae(y)||!pe(h))return n?nr:l;let b=`${h}__${l}`;Za(p)||(b=`${b}__${JSON.stringify(p)}`);let x=i.get(b);return x||(x=new Intl.NumberFormat(h,kt({},y,p)),i.set(b,x)),k?x.formatToParts(c):x.format(c)}const fu=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function ws(...e){const[t,o,n,a]=e,r=Ue();let s=Ue();if(!st(t))throw io(Wt.INVALID_ARGUMENT);const i=t;return pe(o)?r.key=o:Ae(o)&&Object.keys(o).forEach(l=>{fu.includes(l)?s[l]=o[l]:r[l]=o[l]}),pe(n)?r.locale=n:Ae(n)&&(s=n),Ae(a)&&(s=a),[r.key||"",i,r,s]}function hu(e,t,o){const n=e;for(const a in o){const r=`${t}__${a}`;n.__numberFormatters.has(r)&&n.__numberFormatters.delete(r)}}ub();/*! * vue-i18n v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */const Zb="9.14.5";function Xb(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(xo().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(xo().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(xo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(xo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(xo().__INTLIFY_PROD_DEVTOOLS__=!1)}const Qb=Tb.__EXTEND_POINT__,Ao=Za(Qb);Ao(),Ao(),Ao(),Ao(),Ao(),Ao(),Ao(),Ao(),Ao();const pu=Wt.__EXTEND_POINT__,Mt=Za(pu),pt={UNEXPECTED_RETURN_TYPE:pu,INVALID_ARGUMENT:Mt(),MUST_BE_CALL_SETUP_TOP:Mt(),NOT_INSTALLED:Mt(),NOT_AVAILABLE_IN_LEGACY_MODE:Mt(),REQUIRED_VALUE:Mt(),INVALID_VALUE:Mt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Mt(),NOT_INSTALLED_WITH_PROVIDE:Mt(),UNEXPECTED_ERROR:Mt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Mt(),BRIDGE_SUPPORT_VUE_2_ONLY:Mt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Mt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Mt(),__EXTEND_POINT__:Mt()};function ft(e,...t){return mn(e,null,void 0)}const ws=Mo("__translateVNode"),xs=Mo("__datetimeParts"),Ss=Mo("__numberParts"),gu=Mo("__setPluralRules"),fu=Mo("__injectWithOption"),As=Mo("__dispose");function oa(e){if(!Ie(e)||so(e))return e;for(const t in e)if(Ht(e,t))if(!t.includes("."))Ie(e[t])&&oa(e[t]);else{const o=t.split("."),n=o.length-1;let a=e,r=!1;for(let s=0;s{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(s[l]=s[l]||Ue(),Qa(c,s[l])):Qa(c,s)}else pe(i)&&Qa(JSON.parse(i),s)}),a==null&&r)for(const i in s)Ht(s,i)&&oa(s[i]);return s}function hu(e){return e.type}function mu(e,t,o){let n=Ie(t.messages)?t.messages:Ue();"__i18nGlobal"in o&&(n=nr(e.locale.value,{messages:n,__i18n:o.__i18nGlobal}));const a=Object.keys(n);a.length&&a.forEach(r=>{e.mergeLocaleMessage(r,n[r])});{if(Ie(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(Ie(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function bu(e){return Ge(Hn,null,e,0)}const yu="__INTLIFY_META__",_u=()=>[],ey=()=>!1;let vu=0;function ku(e){return(t,o,n,a)=>e(o,n,ko()||void 0,a)}const ty=()=>{const e=ko();let t=null;return e&&(t=hu(e)[yu])?{[yu]:t}:null};function $s(e={},t){const{__root:o,__injectWithOption:n}=e,a=o===void 0,r=e.flatJson,s=qa?ce:an,i=!!e.translateExistCompatible;let l=Pe(e.inheritLocale)?e.inheritLocale:!0;const c=s(o&&l?o.locale.value:pe(e.locale)?e.locale:_n),u=s(o&&l?o.fallbackLocale.value:pe(e.fallbackLocale)||Xe(e.fallbackLocale)||Ae(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),p=s(nr(c.value,e)),g=s(Ae(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),k=s(Ae(e.numberFormats)?e.numberFormats:{[c.value]:{}});let w=o?o.missingWarn:Pe(e.missingWarn)||No(e.missingWarn)?e.missingWarn:!0,_=o?o.fallbackWarn:Pe(e.fallbackWarn)||No(e.fallbackWarn)?e.fallbackWarn:!0,d=o?o.fallbackRoot:Pe(e.fallbackRoot)?e.fallbackRoot:!0,h=!!e.fallbackFormat,y=Ye(e.missing)?e.missing:null,v=Ye(e.missing)?ku(e.missing):null,b=Ye(e.postTranslation)?e.postTranslation:null,x=o?o.warnHtmlMessage:Pe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,A=!!e.escapeParameter;const L=o?o.modifiers:Ae(e.modifiers)?e.modifiers:{};let M=e.pluralRules||o&&o.pluralRules,P;P=(()=>{a&&Zc(null);const U={version:Zb,locale:c.value,fallbackLocale:u.value,messages:p.value,modifiers:L,pluralRules:M,missing:v===null?void 0:v,missingWarn:w,fallbackWarn:_,fallbackFormat:h,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:x,escapeParameter:A,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};U.datetimeFormats=g.value,U.numberFormats=k.value,U.__datetimeFormatters=Ae(P)?P.__datetimeFormatters:void 0,U.__numberFormatters=Ae(P)?P.__numberFormatters:void 0;const S=Gb(U);return a&&Zc(S),S})(),ta(P,c.value,u.value);function B(){return[c.value,u.value,p.value,g.value,k.value]}const H=Z({get:()=>c.value,set:U=>{c.value=U,P.locale=c.value}}),O=Z({get:()=>u.value,set:U=>{u.value=U,P.fallbackLocale=u.value,ta(P,c.value,U)}}),R=Z(()=>p.value),G=Z(()=>g.value),F=Z(()=>k.value);function C(){return Ye(b)?b:null}function re(U){b=U,P.postTranslation=U}function _e(){return y}function ne(U){U!==null&&(v=ku(U)),y=U,P.missing=v}const ge=(U,S,D,oe,le,he)=>{B();let $e;try{__INTLIFY_PROD_DEVTOOLS__,a||(P.fallbackContext=o?jb():void 0),$e=U(P)}finally{__INTLIFY_PROD_DEVTOOLS__,a||(P.fallbackContext=void 0)}if(D!=="translate exists"&&st($e)&&$e===or||D==="translate exists"&&!$e){const[ve,ct]=S();return o&&d?oe(o):le(ve)}else{if(he($e))return $e;throw ft(pt.UNEXPECTED_RETURN_TYPE)}};function fe(...U){return ge(S=>Reflect.apply(nu,null,[S,...U]),()=>_s(...U),"translate",S=>Reflect.apply(S.t,S,[...U]),S=>S,S=>pe(S))}function de(...U){const[S,D,oe]=U;if(oe&&!Ie(oe))throw ft(pt.INVALID_ARGUMENT);return fe(S,D,kt({resolvedMessage:!0},oe||{}))}function Ke(...U){return ge(S=>Reflect.apply(su,null,[S,...U]),()=>vs(...U),"datetime format",S=>Reflect.apply(S.d,S,[...U]),()=>Kc,S=>pe(S))}function Fe(...U){return ge(S=>Reflect.apply(cu,null,[S,...U]),()=>ks(...U),"number format",S=>Reflect.apply(S.n,S,[...U]),()=>Kc,S=>pe(S))}function Qe(U){return U.map(S=>pe(S)||st(S)||Pe(S)?bu(String(S)):S)}const He={normalize:Qe,interpolate:U=>U,type:"vnode"};function it(...U){return ge(S=>{let D;const oe=S;try{oe.processor=He,D=Reflect.apply(nu,null,[oe,...U])}finally{oe.processor=null}return D},()=>_s(...U),"translate",S=>S[ws](...U),S=>[bu(S)],S=>Xe(S))}function qe(...U){return ge(S=>Reflect.apply(cu,null,[S,...U]),()=>ks(...U),"number format",S=>S[Ss](...U),_u,S=>pe(S)||Xe(S))}function $t(...U){return ge(S=>Reflect.apply(su,null,[S,...U]),()=>vs(...U),"datetime format",S=>S[xs](...U),_u,S=>pe(S)||Xe(S))}function $(U){M=U,P.pluralRules=M}function N(U,S){return ge(()=>{if(!U)return!1;const D=pe(S)?S:c.value,oe=Y(D),le=P.messageResolver(oe,U);return i?le!=null:so(le)||Gt(le)||pe(le)},()=>[U],"translate exists",D=>Reflect.apply(D.te,D,[U,S]),ey,D=>Pe(D))}function E(U){let S=null;const D=Gc(P,u.value,c.value);for(let oe=0;oe{l&&(c.value=U,P.locale=U,ta(P,c.value,u.value))}),tt(o.fallbackLocale,U=>{l&&(u.value=U,P.fallbackLocale=U,ta(P,c.value,u.value))}));const ae={id:vu,locale:H,fallbackLocale:O,get inheritLocale(){return l},set inheritLocale(U){l=U,U&&o&&(c.value=o.locale.value,u.value=o.fallbackLocale.value,ta(P,c.value,u.value))},get availableLocales(){return Object.keys(p.value).sort()},messages:R,get modifiers(){return L},get pluralRules(){return M||{}},get isGlobal(){return a},get missingWarn(){return w},set missingWarn(U){w=U,P.missingWarn=w},get fallbackWarn(){return _},set fallbackWarn(U){_=U,P.fallbackWarn=_},get fallbackRoot(){return d},set fallbackRoot(U){d=U},get fallbackFormat(){return h},set fallbackFormat(U){h=U,P.fallbackFormat=h},get warnHtmlMessage(){return x},set warnHtmlMessage(U){x=U,P.warnHtmlMessage=U},get escapeParameter(){return A},set escapeParameter(U){A=U,P.escapeParameter=U},t:fe,getLocaleMessage:Y,setLocaleMessage:X,mergeLocaleMessage:Q,getPostTranslationHandler:C,setPostTranslationHandler:re,getMissingHandler:_e,setMissingHandler:ne,[gu]:$};return ae.datetimeFormats=G,ae.numberFormats=F,ae.rt=de,ae.te=N,ae.tm=K,ae.d=Ke,ae.n=Fe,ae.getDateTimeFormat=q,ae.setDateTimeFormat=f,ae.mergeDateTimeFormat=m,ae.getNumberFormat=j,ae.setNumberFormat=V,ae.mergeNumberFormat=se,ae[fu]=n,ae[ws]=it,ae[xs]=$t,ae[Ss]=qe,ae}function oy(e){const t=pe(e.locale)?e.locale:_n,o=pe(e.fallbackLocale)||Xe(e.fallbackLocale)||Ae(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=Ye(e.missing)?e.missing:void 0,a=Pe(e.silentTranslationWarn)||No(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=Pe(e.silentFallbackWarn)||No(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,s=Pe(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=Ae(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Ye(e.postTranslation)?e.postTranslation:void 0,p=pe(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,g=!!e.escapeParameterHtml,k=Pe(e.sync)?e.sync:!0;let w=e.messages;if(Ae(e.sharedMessages)){const A=e.sharedMessages;w=Object.keys(A).reduce((M,P)=>{const I=M[P]||(M[P]={});return kt(I,A[P]),M},w||{})}const{__i18n:_,__root:d,__injectWithOption:h}=e,y=e.datetimeFormats,v=e.numberFormats,b=e.flatJson,x=e.translateExistCompatible;return{locale:t,fallbackLocale:o,messages:w,flatJson:b,datetimeFormats:y,numberFormats:v,missing:n,missingWarn:a,fallbackWarn:r,fallbackRoot:s,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:p,escapeParameter:g,messageResolver:e.messageResolver,inheritLocale:k,translateExistCompatible:x,__i18n:_,__root:d,__injectWithOption:h}}function Ls(e={},t){{const o=$s(oy(e)),{__extender:n}=e,a={id:o.id,get locale(){return o.locale.value},set locale(r){o.locale.value=r},get fallbackLocale(){return o.fallbackLocale.value},set fallbackLocale(r){o.fallbackLocale.value=r},get messages(){return o.messages.value},get datetimeFormats(){return o.datetimeFormats.value},get numberFormats(){return o.numberFormats.value},get availableLocales(){return o.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(r){},get missing(){return o.getMissingHandler()},set missing(r){o.setMissingHandler(r)},get silentTranslationWarn(){return Pe(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(r){o.missingWarn=Pe(r)?!r:r},get silentFallbackWarn(){return Pe(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(r){o.fallbackWarn=Pe(r)?!r:r},get modifiers(){return o.modifiers},get formatFallbackMessages(){return o.fallbackFormat},set formatFallbackMessages(r){o.fallbackFormat=r},get postTranslation(){return o.getPostTranslationHandler()},set postTranslation(r){o.setPostTranslationHandler(r)},get sync(){return o.inheritLocale},set sync(r){o.inheritLocale=r},get warnHtmlInMessage(){return o.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){o.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return o.escapeParameter},set escapeParameterHtml(r){o.escapeParameter=r},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(r){},get pluralizationRules(){return o.pluralRules||{}},__composer:o,t(...r){const[s,i,l]=r,c={};let u=null,p=null;if(!pe(s))throw ft(pt.INVALID_ARGUMENT);const g=s;return pe(i)?c.locale=i:Xe(i)?u=i:Ae(i)&&(p=i),Xe(l)?u=l:Ae(l)&&(p=l),Reflect.apply(o.t,o,[g,u||p||{},c])},rt(...r){return Reflect.apply(o.rt,o,[...r])},tc(...r){const[s,i,l]=r,c={plural:1};let u=null,p=null;if(!pe(s))throw ft(pt.INVALID_ARGUMENT);const g=s;return pe(i)?c.locale=i:st(i)?c.plural=i:Xe(i)?u=i:Ae(i)&&(p=i),pe(l)?c.locale=l:Xe(l)?u=l:Ae(l)&&(p=l),Reflect.apply(o.t,o,[g,u||p||{},c])},te(r,s){return o.te(r,s)},tm(r){return o.tm(r)},getLocaleMessage(r){return o.getLocaleMessage(r)},setLocaleMessage(r,s){o.setLocaleMessage(r,s)},mergeLocaleMessage(r,s){o.mergeLocaleMessage(r,s)},d(...r){return Reflect.apply(o.d,o,[...r])},getDateTimeFormat(r){return o.getDateTimeFormat(r)},setDateTimeFormat(r,s){o.setDateTimeFormat(r,s)},mergeDateTimeFormat(r,s){o.mergeDateTimeFormat(r,s)},n(...r){return Reflect.apply(o.n,o,[...r])},getNumberFormat(r){return o.getNumberFormat(r)},setNumberFormat(r,s){o.setNumberFormat(r,s)},mergeNumberFormat(r,s){o.mergeNumberFormat(r,s)},getChoiceIndex(r,s){return-1}};return a.__extender=n,a}}const Cs={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function ny({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,a)=>[...n,...a.type===Ce?a.children:[a]],[]):t.reduce((o,n)=>{const a=e[n];return a&&(o[n]=a()),o},Ue())}function wu(e){return Ce}const xu=Gn({name:"i18n-t",props:kt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>st(e)||!isNaN(e)}},Cs),setup(e,t){const{slots:o,attrs:n}=t,a=e.i18n||wt({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(o).filter(p=>p!=="_"),s=Ue();e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=pe(e.plural)?+e.plural:e.plural);const i=ny(t,r),l=a[ws](e.keypath,i,s),c=kt(Ue(),n),u=pe(e.tag)||Ie(e.tag)?e.tag:wu();return zl(u,c,l)}}});function ay(e){return Xe(e)&&!pe(e[0])}function Su(e,t,o,n){const{slots:a,attrs:r}=t;return()=>{const s={part:!0};let i=Ue();e.locale&&(s.locale=e.locale),pe(e.format)?s.key=e.format:Ie(e.format)&&(pe(e.format.key)&&(s.key=e.format.key),i=Object.keys(e.format).reduce((g,k)=>o.includes(k)?kt(Ue(),g,{[k]:e.format[k]}):g,Ue()));const l=n(e.value,s,i);let c=[s.key];Xe(l)?c=l.map((g,k)=>{const w=a[g.type],_=w?w({[g.type]:g.value,index:k,parts:l}):[g.value];return ay(_)&&(_[0].key=`${g.type}-${k}`),_}):pe(l)&&(c=[l]);const u=kt(Ue(),r),p=pe(e.tag)||Ie(e.tag)?e.tag:wu();return zl(p,u,c)}}const Au=Gn({name:"i18n-n",props:kt({value:{type:Number,required:!0},format:{type:[String,Object]}},Cs),setup(e,t){const o=e.i18n||wt({useScope:e.scope,__useComponent:!0});return Su(e,t,uu,(...n)=>o[Ss](...n))}}),$u=Gn({name:"i18n-d",props:kt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Cs),setup(e,t){const o=e.i18n||wt({useScope:e.scope,__useComponent:!0});return Su(e,t,iu,(...n)=>o[xs](...n))}});function ry(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 sy(e){const t=s=>{const{instance:i,modifiers:l,value:c}=s;if(!i||!i.$)throw ft(pt.UNEXPECTED_ERROR);const u=ry(e,i.$),p=Lu(c);return[Reflect.apply(u.t,u,[...Cu(p)]),u]};return{created:(s,i)=>{const[l,c]=t(i);qa&&e.global===c&&(s.__i18nWatcher=tt(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),s.__composer=c,s.textContent=l},unmounted:s=>{qa&&s.__i18nWatcher&&(s.__i18nWatcher(),s.__i18nWatcher=void 0,delete s.__i18nWatcher),s.__composer&&(s.__composer=void 0,delete s.__composer)},beforeUpdate:(s,{value:i})=>{if(s.__composer){const l=s.__composer,c=Lu(i);s.textContent=Reflect.apply(l.t,l,[...Cu(c)])}},getSSRProps:s=>{const[i]=t(s);return{textContent:i}}}}function Lu(e){if(pe(e))return{path:e};if(Ae(e)){if(!("path"in e))throw ft(pt.REQUIRED_VALUE,"path");return e}else throw ft(pt.INVALID_VALUE)}function Cu(e){const{path:t,locale:o,args:n,choice:a,plural:r}=e,s={},i=n||{};return pe(o)&&(s.locale=o),st(a)&&(s.plural=a),st(r)&&(s.plural=r),[t,i,s]}function iy(e,t,...o){const n=Ae(o[0])?o[0]:{},a=!!n.useI18nComponentName;(Pe(n.globalInstall)?n.globalInstall:!0)&&([a?"i18n":xu.name,"I18nT"].forEach(s=>e.component(s,xu)),[Au.name,"I18nN"].forEach(s=>e.component(s,Au)),[$u.name,"I18nD"].forEach(s=>e.component(s,$u))),e.directive("t",sy(t))}function ly(e,t,o){return{beforeCreate(){const n=ko();if(!n)throw ft(pt.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const r=a.i18n;if(a.__i18n&&(r.__i18n=a.__i18n),r.__root=t,this===this.$root)this.$i18n=Eu(e,r);else{r.__injectWithOption=!0,r.__extender=o.__vueI18nExtend,this.$i18n=Ls(r);const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=Eu(e,a);else{this.$i18n=Ls({__i18n:a.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:t});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&mu(t,a,a),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,s)=>this.$i18n.te(r,s),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),o.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=ko();if(!n)throw ft(pt.UNEXPECTED_ERROR);const a=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),o.__deleteInstance(n),delete this.$i18n}}}function Eu(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[gu](t.pluralizationRules||e.pluralizationRules);const o=nr(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 cy=Mo("global-vue-i18n");function uy(e={},t){const o=__VUE_I18N_LEGACY_API__&&Pe(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=Pe(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&o?!!e.allowComposition:!0,r=new Map,[s,i]=dy(e,o),l=Mo("");function c(g){return r.get(g)||null}function u(g,k){r.set(g,k)}function p(g){r.delete(g)}{const g={get mode(){return __VUE_I18N_LEGACY_API__&&o?"legacy":"composition"},get allowComposition(){return a},async install(k,...w){if(k.__VUE_I18N_SYMBOL__=l,k.provide(k.__VUE_I18N_SYMBOL__,g),Ae(w[0])){const h=w[0];g.__composerExtend=h.__composerExtend,g.__vueI18nExtend=h.__vueI18nExtend}let _=null;!o&&n&&(_=vy(k,g.global)),__VUE_I18N_FULL_INSTALL__&&iy(k,g,...w),__VUE_I18N_LEGACY_API__&&o&&k.mixin(ly(i,i.__composer,g));const d=k.unmount;k.unmount=()=>{_&&_(),g.dispose(),d()}},get global(){return i},dispose(){s.stop()},__instances:r,__getInstance:c,__setInstance:u,__deleteInstance:p};return g}}function wt(e={}){const t=ko();if(t==null)throw ft(pt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ft(pt.NOT_INSTALLED);const o=py(t),n=fy(o),a=hu(t),r=gy(e,a);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!e.__useComponent){if(!o.allowComposition)throw ft(pt.NOT_AVAILABLE_IN_LEGACY_MODE);return yy(t,r,n,e)}if(r==="global")return mu(n,e,a),n;if(r==="parent"){let l=hy(o,t,e.__useComponent);return l==null&&(l=n),l}const s=o;let i=s.__getInstance(t);if(i==null){const l=kt({},e);"__i18n"in a&&(l.__i18n=a.__i18n),n&&(l.__root=n),i=$s(l),s.__composerExtend&&(i[As]=s.__composerExtend(i)),by(s,t,i),s.__setInstance(t,i)}return i}function dy(e,t,o){const n=kr();{const a=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Ls(e)):n.run(()=>$s(e));if(a==null)throw ft(pt.UNEXPECTED_ERROR);return[n,a]}}function py(e){{const t=Te(e.isCE?cy:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ft(e.isCE?pt.NOT_INSTALLED_WITH_PROVIDE:pt.UNEXPECTED_ERROR);return t}}function gy(e,t){return Ja(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function fy(e){return e.mode==="composition"?e.global:e.global.__composer}function hy(e,t,o=!1){let n=null;const a=t.root;let r=my(t,o);for(;r!=null;){const s=e;if(e.mode==="composition")n=s.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const i=s.__getInstance(r);i!=null&&(n=i.__composer,o&&n&&!n[fu]&&(n=null))}if(n!=null||a===r)break;r=r.parent}return n}function my(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function by(e,t,o){to(()=>{},t),Oa(()=>{const n=o;e.__deleteInstance(t);const a=n[As];a&&(a(),delete n[As])},t)}function yy(e,t,o,n={}){const a=t==="local",r=an(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw ft(pt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=Pe(n.inheritLocale)?n.inheritLocale:!pe(n.locale),i=ce(!a||s?o.locale.value:pe(n.locale)?n.locale:_n),l=ce(!a||s?o.fallbackLocale.value:pe(n.fallbackLocale)||Xe(n.fallbackLocale)||Ae(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i.value),c=ce(nr(i.value,n)),u=ce(Ae(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),p=ce(Ae(n.numberFormats)?n.numberFormats:{[i.value]:{}}),g=a?o.missingWarn:Pe(n.missingWarn)||No(n.missingWarn)?n.missingWarn:!0,k=a?o.fallbackWarn:Pe(n.fallbackWarn)||No(n.fallbackWarn)?n.fallbackWarn:!0,w=a?o.fallbackRoot:Pe(n.fallbackRoot)?n.fallbackRoot:!0,_=!!n.fallbackFormat,d=Ye(n.missing)?n.missing:null,h=Ye(n.postTranslation)?n.postTranslation:null,y=a?o.warnHtmlMessage:Pe(n.warnHtmlMessage)?n.warnHtmlMessage:!0,v=!!n.escapeParameter,b=a?o.modifiers:Ae(n.modifiers)?n.modifiers:{},x=n.pluralRules||a&&o.pluralRules;function A(){return[i.value,l.value,c.value,u.value,p.value]}const L=Z({get:()=>r.value?r.value.locale.value:i.value,set:E=>{r.value&&(r.value.locale.value=E),i.value=E}}),M=Z({get:()=>r.value?r.value.fallbackLocale.value:l.value,set:E=>{r.value&&(r.value.fallbackLocale.value=E),l.value=E}}),P=Z(()=>r.value?r.value.messages.value:c.value),I=Z(()=>u.value),B=Z(()=>p.value);function H(){return r.value?r.value.getPostTranslationHandler():h}function O(E){r.value&&r.value.setPostTranslationHandler(E)}function R(){return r.value?r.value.getMissingHandler():d}function G(E){r.value&&r.value.setMissingHandler(E)}function F(E){return A(),E()}function C(...E){return r.value?F(()=>Reflect.apply(r.value.t,null,[...E])):F(()=>"")}function re(...E){return r.value?Reflect.apply(r.value.rt,null,[...E]):""}function _e(...E){return r.value?F(()=>Reflect.apply(r.value.d,null,[...E])):F(()=>"")}function ne(...E){return r.value?F(()=>Reflect.apply(r.value.n,null,[...E])):F(()=>"")}function ge(E){return r.value?r.value.tm(E):{}}function fe(E,K){return r.value?r.value.te(E,K):!1}function de(E){return r.value?r.value.getLocaleMessage(E):{}}function Ke(E,K){r.value&&(r.value.setLocaleMessage(E,K),c.value[E]=K)}function Fe(E,K){r.value&&r.value.mergeLocaleMessage(E,K)}function Qe(E){return r.value?r.value.getDateTimeFormat(E):{}}function mt(E,K){r.value&&(r.value.setDateTimeFormat(E,K),u.value[E]=K)}function He(E,K){r.value&&r.value.mergeDateTimeFormat(E,K)}function it(E){return r.value?r.value.getNumberFormat(E):{}}function qe(E,K){r.value&&(r.value.setNumberFormat(E,K),p.value[E]=K)}function $t(E,K){r.value&&r.value.mergeNumberFormat(E,K)}const $={get id(){return r.value?r.value.id:-1},locale:L,fallbackLocale:M,messages:P,datetimeFormats:I,numberFormats:B,get inheritLocale(){return r.value?r.value.inheritLocale:s},set inheritLocale(E){r.value&&(r.value.inheritLocale=E)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(c.value)},get modifiers(){return r.value?r.value.modifiers:b},get pluralRules(){return r.value?r.value.pluralRules:x},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:g},set missingWarn(E){r.value&&(r.value.missingWarn=E)},get fallbackWarn(){return r.value?r.value.fallbackWarn:k},set fallbackWarn(E){r.value&&(r.value.missingWarn=E)},get fallbackRoot(){return r.value?r.value.fallbackRoot:w},set fallbackRoot(E){r.value&&(r.value.fallbackRoot=E)},get fallbackFormat(){return r.value?r.value.fallbackFormat:_},set fallbackFormat(E){r.value&&(r.value.fallbackFormat=E)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:y},set warnHtmlMessage(E){r.value&&(r.value.warnHtmlMessage=E)},get escapeParameter(){return r.value?r.value.escapeParameter:v},set escapeParameter(E){r.value&&(r.value.escapeParameter=E)},t:C,getPostTranslationHandler:H,setPostTranslationHandler:O,getMissingHandler:R,setMissingHandler:G,rt:re,d:_e,n:ne,tm:ge,te:fe,getLocaleMessage:de,setLocaleMessage:Ke,mergeLocaleMessage:Fe,getDateTimeFormat:Qe,setDateTimeFormat:mt,mergeDateTimeFormat:He,getNumberFormat:it,setNumberFormat:qe,mergeNumberFormat:$t};function N(E){E.locale.value=i.value,E.fallbackLocale.value=l.value,Object.keys(c.value).forEach(K=>{E.mergeLocaleMessage(K,c.value[K])}),Object.keys(u.value).forEach(K=>{E.mergeDateTimeFormat(K,u.value[K])}),Object.keys(p.value).forEach(K=>{E.mergeNumberFormat(K,p.value[K])}),E.escapeParameter=v,E.fallbackFormat=_,E.fallbackRoot=w,E.fallbackWarn=k,E.missingWarn=g,E.warnHtmlMessage=y}return il(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw ft(pt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const E=r.value=e.proxy.$i18n.__composer;t==="global"?(i.value=E.locale.value,l.value=E.fallbackLocale.value,c.value=E.messages.value,u.value=E.datetimeFormats.value,p.value=E.numberFormats.value):a&&N(E)}),$}const _y=["locale","fallbackLocale","availableLocales"],Tu=["t","rt","d","n","tm","te"];function vy(e,t){const o=Object.create(null);return _y.forEach(a=>{const r=Object.getOwnPropertyDescriptor(t,a);if(!r)throw ft(pt.UNEXPECTED_ERROR);const s=Ze(r.value)?{get(){return r.value.value},set(i){r.value.value=i}}:{get(){return r.get&&r.get()}};Object.defineProperty(o,a,s)}),e.config.globalProperties.$i18n=o,Tu.forEach(a=>{const r=Object.getOwnPropertyDescriptor(t,a);if(!r||!r.value)throw ft(pt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,r)}),()=>{delete e.config.globalProperties.$i18n,Tu.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}if(Xb(),__INTLIFY_JIT_COMPILATION__?Vc(Vb):Vc(Hb),Fb(mb),Ob(Gc),__INTLIFY_PROD_DEVTOOLS__){const e=xo();e.__INTLIFY__=!0,Ab(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const ky=Object.assign({"./locales/ar/aria.json":Lf,"./locales/ar/buttons.json":Cf,"./locales/ar/detail.json":Ef,"./locales/ar/legend.json":Tf,"./locales/ar/messages.json":Pf,"./locales/ar/options.json":Mf,"./locales/ar/prayerLaps.json":Nf,"./locales/ar/search.json":If,"./locales/ar/tabs.json":Rf,"./locales/de/aria.json":Ff,"./locales/de/buttons.json":Of,"./locales/de/detail.json":Df,"./locales/de/legend.json":Bf,"./locales/de/messages.json":jf,"./locales/de/options.json":Gf,"./locales/de/prayerLaps.json":Uf,"./locales/de/search.json":Kf,"./locales/de/tabs.json":zf,"./locales/en/aria.json":Hf,"./locales/en/buttons.json":Vf,"./locales/en/detail.json":Wf,"./locales/en/legend.json":Yf,"./locales/en/messages.json":qf,"./locales/en/options.json":Jf,"./locales/en/popup.json":Zf,"./locales/en/prayerLaps.json":Xf,"./locales/en/search.json":Qf,"./locales/en/tabs.json":eh,"./locales/es/aria.json":th,"./locales/es/buttons.json":oh,"./locales/es/detail.json":nh,"./locales/es/legend.json":ah,"./locales/es/messages.json":rh,"./locales/es/options.json":sh,"./locales/es/prayerLaps.json":ih,"./locales/es/search.json":lh,"./locales/es/tabs.json":ch,"./locales/fr/aria.json":uh,"./locales/fr/buttons.json":dh,"./locales/fr/detail.json":ph,"./locales/fr/legend.json":gh,"./locales/fr/messages.json":fh,"./locales/fr/options.json":hh,"./locales/fr/popup.json":mh,"./locales/fr/prayerLaps.json":bh,"./locales/fr/search.json":yh,"./locales/fr/tabs.json":_h,"./locales/hi/aria.json":vh,"./locales/hi/buttons.json":kh,"./locales/hi/detail.json":wh,"./locales/hi/legend.json":xh,"./locales/hi/messages.json":Sh,"./locales/hi/options.json":Ah,"./locales/hi/prayerLaps.json":$h,"./locales/hi/search.json":Lh,"./locales/it/aria.json":Ch,"./locales/it/buttons.json":Eh,"./locales/it/detail.json":Th,"./locales/it/legend.json":Ph,"./locales/it/messages.json":Mh,"./locales/it/options.json":Nh,"./locales/it/prayerLaps.json":Ih,"./locales/it/search.json":Rh,"./locales/pt/aria.json":Fh,"./locales/pt/buttons.json":Oh,"./locales/pt/detail.json":Dh,"./locales/pt/legend.json":Bh,"./locales/pt/messages.json":jh,"./locales/pt/options.json":Gh,"./locales/pt/prayerLaps.json":Uh,"./locales/pt/search.json":Kh,"./locales/pt/tabs.json":zh,"./locales/ro/aria.json":Hh,"./locales/ro/buttons.json":Vh,"./locales/ro/detail.json":Wh,"./locales/ro/legend.json":Yh,"./locales/ro/messages.json":qh,"./locales/ro/options.json":Jh,"./locales/ro/prayerLaps.json":Zh,"./locales/ro/search.json":Xh,"./locales/ru/aria.json":Qh,"./locales/ru/buttons.json":em,"./locales/ru/detail.json":tm,"./locales/ru/legend.json":om,"./locales/ru/messages.json":nm,"./locales/ru/options.json":am,"./locales/ru/prayerLaps.json":rm,"./locales/ru/search.json":sm,"./locales/ru/tabs.json":im,"./locales/zh/aria.json":lm,"./locales/zh/buttons.json":cm,"./locales/zh/detail.json":um,"./locales/zh/legend.json":dm,"./locales/zh/messages.json":pm,"./locales/zh/options.json":gm,"./locales/zh/prayerLaps.json":fm,"./locales/zh/search.json":hm}),na={};for(const[e,t]of Object.entries(ky)){const o=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!o)continue;const[,n,a]=o;na[n]??(na[n]={}),na[n][a]=t}const Pu=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"];function wy(){var o;const t=(((o=document==null?void 0:document.documentElement)==null?void 0:o.lang)||"").split("-")[0].toLowerCase();return Pu.includes(t)?t:"en"}function xy(){return uy({legacy:!1,globalInjection:!0,locale:wy(),fallbackLocale:"en",messages:na,missingWarn:!1,fallbackWarn:!1})}function ht(e,t){const o=t||Sy(e);to(()=>{var i;const n=ko();if(!n)return;const a=(i=n.proxy)==null?void 0:i.$el;if(!a)return;const r=a.getRootNode();if(!(r instanceof ShadowRoot)||r.querySelector(`style[data-shadow-styles="${o}"]`))return;const s=document.createElement("style");s.setAttribute("data-shadow-styles",o),s.textContent=e,r.appendChild(s)})}function Sy(e){let t=0;for(let o=0;o(t==null?void 0:t.theme)==="dark"),a=Z(()=>{var d;return((d=o==null?void 0:o.value)==null?void 0:d.pinHintLabel)||"Tap a coloured dot — someone still needs prayer"}),r=ce(!1),s=ce(null);let i=null,l=null,c=null,u=null,p=null;function g(){r.value=!1}function k(d,h){var v;let y=d==null?void 0:d.parentElement;for(let b=0;y&&b<12;b++,y=y.parentElement){if(y===h||(v=y.classList)!=null&&v.contains("profile-loader"))return null;let x="";try{x=getComputedStyle(y).position}catch{}if(x&&x!=="static"){const A=y.getBoundingClientRect();if(A.height>=120&&A.width>=160)return y}}return null}function w(){const d=s.value;if(d)try{d.style.removeProperty("--pin-hint-lift");const h=d.getBoundingClientRect();if(!h.height)return;const y=Math.round(h.bottom-window.innerHeight);y>0&&d.style.setProperty("--pin-hint-lift",y+8+"px")}catch{}}function _(d){const h=s.value;if(!h||!(d!=null&&d.querySelector))return;let y=0;try{const b=d.querySelector(".mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-attrib, .mapboxgl-ctrl-bottom-right .doxa-attribution, .doxa-attribution");if(b){const x=b.getBoundingClientRect(),A=h.parentElement,L=A?A.getBoundingClientRect():null;if(y=L?Math.max(x.height||0,L.bottom-x.top):x.height||0,p!==b&&typeof ResizeObserver<"u"){if(c)try{c.disconnect()}catch{}p=b,c=new ResizeObserver(()=>_(d)),c.observe(b)}}}catch{}const v=Math.min(Math.max(Math.ceil(y)||20,20),72);h.style.setProperty("--pin-hint-attrib-clear",v+"px"),w()}return to(()=>{var v,b,x;const d=ko(),h=(x=(b=(v=d==null?void 0:d.proxy)==null?void 0:v.$el)==null?void 0:b.getRootNode)==null?void 0:x.call(b);if(!h||typeof h.querySelector!="function")return;let y=0;i=setInterval(()=>{y++;const A=h.querySelector("canvas");A?(clearInterval(i),i=null,r.value=!0,bo(()=>{const L=k(A,h),M=s.value;if(L&&M&&M.parentElement!==L)try{L.appendChild(M),l=L}catch{}_(h),w();try{const P=s.value&&s.value.offsetParent||null;if(P&&typeof ResizeObserver<"u"){if(u)try{u.disconnect()}catch{}u=new ResizeObserver(()=>w()),u.observe(P)}}catch{}})):y>40&&(clearInterval(i),i=null)},300)}),oo(()=>{var d;if(i&&clearInterval(i),c){try{c.disconnect()}catch{}c=null}if(p=null,u){try{u.disconnect()}catch{}u=null}if(l&&((d=s.value)==null?void 0:d.parentElement)===l)try{l.removeChild(s.value)}catch{}l=null}),ht(` + */const ry="9.14.5";function sy(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(xo().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(xo().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(xo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(xo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(xo().__INTLIFY_PROD_DEVTOOLS__=!1)}const iy=Db.__EXTEND_POINT__,Ao=Xa(iy);Ao(),Ao(),Ao(),Ao(),Ao(),Ao(),Ao(),Ao(),Ao();const mu=Wt.__EXTEND_POINT__,Mt=Xa(mu),pt={UNEXPECTED_RETURN_TYPE:mu,INVALID_ARGUMENT:Mt(),MUST_BE_CALL_SETUP_TOP:Mt(),NOT_INSTALLED:Mt(),NOT_AVAILABLE_IN_LEGACY_MODE:Mt(),REQUIRED_VALUE:Mt(),INVALID_VALUE:Mt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Mt(),NOT_INSTALLED_WITH_PROVIDE:Mt(),UNEXPECTED_ERROR:Mt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Mt(),BRIDGE_SUPPORT_VUE_2_ONLY:Mt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Mt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Mt(),__EXTEND_POINT__:Mt()};function ft(e,...t){return mn(e,null,void 0)}const xs=Mo("__translateVNode"),Ss=Mo("__datetimeParts"),As=Mo("__numberParts"),bu=Mo("__setPluralRules"),yu=Mo("__injectWithOption"),$s=Mo("__dispose");function oa(e){if(!Ie(e)||so(e))return e;for(const t in e)if(Ht(e,t))if(!t.includes("."))Ie(e[t])&&oa(e[t]);else{const o=t.split("."),n=o.length-1;let a=e,r=!1;for(let s=0;s{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(s[l]=s[l]||Ue(),er(c,s[l])):er(c,s)}else pe(i)&&er(JSON.parse(i),s)}),a==null&&r)for(const i in s)Ht(s,i)&&oa(s[i]);return s}function _u(e){return e.type}function vu(e,t,o){let n=Ie(t.messages)?t.messages:Ue();"__i18nGlobal"in o&&(n=ar(e.locale.value,{messages:n,__i18n:o.__i18nGlobal}));const a=Object.keys(n);a.length&&a.forEach(r=>{e.mergeLocaleMessage(r,n[r])});{if(Ie(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(Ie(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function ku(e){return Ge(Hn,null,e,0)}const wu="__INTLIFY_META__",xu=()=>[],ly=()=>!1;let Su=0;function Au(e){return(t,o,n,a)=>e(o,n,ko()||void 0,a)}const cy=()=>{const e=ko();let t=null;return e&&(t=_u(e)[wu])?{[wu]:t}:null};function Ls(e={},t){const{__root:o,__injectWithOption:n}=e,a=o===void 0,r=e.flatJson,s=Ja?ce:an,i=!!e.translateExistCompatible;let l=Pe(e.inheritLocale)?e.inheritLocale:!0;const c=s(o&&l?o.locale.value:pe(e.locale)?e.locale:_n),u=s(o&&l?o.fallbackLocale.value:pe(e.fallbackLocale)||Xe(e.fallbackLocale)||Ae(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),p=s(ar(c.value,e)),g=s(Ae(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),k=s(Ae(e.numberFormats)?e.numberFormats:{[c.value]:{}});let w=o?o.missingWarn:Pe(e.missingWarn)||No(e.missingWarn)?e.missingWarn:!0,_=o?o.fallbackWarn:Pe(e.fallbackWarn)||No(e.fallbackWarn)?e.fallbackWarn:!0,d=o?o.fallbackRoot:Pe(e.fallbackRoot)?e.fallbackRoot:!0,h=!!e.fallbackFormat,y=Ye(e.missing)?e.missing:null,v=Ye(e.missing)?Au(e.missing):null,b=Ye(e.postTranslation)?e.postTranslation:null,x=o?o.warnHtmlMessage:Pe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,A=!!e.escapeParameter;const L=o?o.modifiers:Ae(e.modifiers)?e.modifiers:{};let M=e.pluralRules||o&&o.pluralRules,P;P=(()=>{a&&tu(null);const U={version:ry,locale:c.value,fallbackLocale:u.value,messages:p.value,modifiers:L,pluralRules:M,missing:v===null?void 0:v,missingWarn:w,fallbackWarn:_,fallbackFormat:h,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:x,escapeParameter:A,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};U.datetimeFormats=g.value,U.numberFormats=k.value,U.__datetimeFormatters=Ae(P)?P.__datetimeFormatters:void 0,U.__numberFormatters=Ae(P)?P.__numberFormatters:void 0;const S=qb(U);return a&&tu(S),S})(),ta(P,c.value,u.value);function B(){return[c.value,u.value,p.value,g.value,k.value]}const H=Z({get:()=>c.value,set:U=>{c.value=U,P.locale=c.value}}),O=Z({get:()=>u.value,set:U=>{u.value=U,P.fallbackLocale=u.value,ta(P,c.value,U)}}),R=Z(()=>p.value),G=Z(()=>g.value),F=Z(()=>k.value);function C(){return Ye(b)?b:null}function re(U){b=U,P.postTranslation=U}function _e(){return y}function ne(U){U!==null&&(v=Au(U)),y=U,P.missing=v}const ge=(U,S,D,oe,le,he)=>{B();let $e;try{__INTLIFY_PROD_DEVTOOLS__,a||(P.fallbackContext=o?Yb():void 0),$e=U(P)}finally{__INTLIFY_PROD_DEVTOOLS__,a||(P.fallbackContext=void 0)}if(D!=="translate exists"&&st($e)&&$e===nr||D==="translate exists"&&!$e){const[ve,ct]=S();return o&&d?oe(o):le(ve)}else{if(he($e))return $e;throw ft(pt.UNEXPECTED_RETURN_TYPE)}};function fe(...U){return ge(S=>Reflect.apply(iu,null,[S,...U]),()=>vs(...U),"translate",S=>Reflect.apply(S.t,S,[...U]),S=>S,S=>pe(S))}function de(...U){const[S,D,oe]=U;if(oe&&!Ie(oe))throw ft(pt.INVALID_ARGUMENT);return fe(S,D,kt({resolvedMessage:!0},oe||{}))}function Ke(...U){return ge(S=>Reflect.apply(uu,null,[S,...U]),()=>ks(...U),"datetime format",S=>Reflect.apply(S.d,S,[...U]),()=>Wc,S=>pe(S))}function Fe(...U){return ge(S=>Reflect.apply(gu,null,[S,...U]),()=>ws(...U),"number format",S=>Reflect.apply(S.n,S,[...U]),()=>Wc,S=>pe(S))}function Qe(U){return U.map(S=>pe(S)||st(S)||Pe(S)?ku(String(S)):S)}const He={normalize:Qe,interpolate:U=>U,type:"vnode"};function it(...U){return ge(S=>{let D;const oe=S;try{oe.processor=He,D=Reflect.apply(iu,null,[oe,...U])}finally{oe.processor=null}return D},()=>vs(...U),"translate",S=>S[xs](...U),S=>[ku(S)],S=>Xe(S))}function qe(...U){return ge(S=>Reflect.apply(gu,null,[S,...U]),()=>ws(...U),"number format",S=>S[As](...U),xu,S=>pe(S)||Xe(S))}function $t(...U){return ge(S=>Reflect.apply(uu,null,[S,...U]),()=>ks(...U),"datetime format",S=>S[Ss](...U),xu,S=>pe(S)||Xe(S))}function $(U){M=U,P.pluralRules=M}function N(U,S){return ge(()=>{if(!U)return!1;const D=pe(S)?S:c.value,oe=Y(D),le=P.messageResolver(oe,U);return i?le!=null:so(le)||Gt(le)||pe(le)},()=>[U],"translate exists",D=>Reflect.apply(D.te,D,[U,S]),ly,D=>Pe(D))}function E(U){let S=null;const D=Hc(P,u.value,c.value);for(let oe=0;oe{l&&(c.value=U,P.locale=U,ta(P,c.value,u.value))}),tt(o.fallbackLocale,U=>{l&&(u.value=U,P.fallbackLocale=U,ta(P,c.value,u.value))}));const ae={id:Su,locale:H,fallbackLocale:O,get inheritLocale(){return l},set inheritLocale(U){l=U,U&&o&&(c.value=o.locale.value,u.value=o.fallbackLocale.value,ta(P,c.value,u.value))},get availableLocales(){return Object.keys(p.value).sort()},messages:R,get modifiers(){return L},get pluralRules(){return M||{}},get isGlobal(){return a},get missingWarn(){return w},set missingWarn(U){w=U,P.missingWarn=w},get fallbackWarn(){return _},set fallbackWarn(U){_=U,P.fallbackWarn=_},get fallbackRoot(){return d},set fallbackRoot(U){d=U},get fallbackFormat(){return h},set fallbackFormat(U){h=U,P.fallbackFormat=h},get warnHtmlMessage(){return x},set warnHtmlMessage(U){x=U,P.warnHtmlMessage=U},get escapeParameter(){return A},set escapeParameter(U){A=U,P.escapeParameter=U},t:fe,getLocaleMessage:Y,setLocaleMessage:X,mergeLocaleMessage:Q,getPostTranslationHandler:C,setPostTranslationHandler:re,getMissingHandler:_e,setMissingHandler:ne,[bu]:$};return ae.datetimeFormats=G,ae.numberFormats=F,ae.rt=de,ae.te=N,ae.tm=K,ae.d=Ke,ae.n=Fe,ae.getDateTimeFormat=q,ae.setDateTimeFormat=f,ae.mergeDateTimeFormat=m,ae.getNumberFormat=j,ae.setNumberFormat=V,ae.mergeNumberFormat=se,ae[yu]=n,ae[xs]=it,ae[Ss]=$t,ae[As]=qe,ae}function uy(e){const t=pe(e.locale)?e.locale:_n,o=pe(e.fallbackLocale)||Xe(e.fallbackLocale)||Ae(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=Ye(e.missing)?e.missing:void 0,a=Pe(e.silentTranslationWarn)||No(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=Pe(e.silentFallbackWarn)||No(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,s=Pe(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=Ae(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Ye(e.postTranslation)?e.postTranslation:void 0,p=pe(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,g=!!e.escapeParameterHtml,k=Pe(e.sync)?e.sync:!0;let w=e.messages;if(Ae(e.sharedMessages)){const A=e.sharedMessages;w=Object.keys(A).reduce((M,P)=>{const I=M[P]||(M[P]={});return kt(I,A[P]),M},w||{})}const{__i18n:_,__root:d,__injectWithOption:h}=e,y=e.datetimeFormats,v=e.numberFormats,b=e.flatJson,x=e.translateExistCompatible;return{locale:t,fallbackLocale:o,messages:w,flatJson:b,datetimeFormats:y,numberFormats:v,missing:n,missingWarn:a,fallbackWarn:r,fallbackRoot:s,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:p,escapeParameter:g,messageResolver:e.messageResolver,inheritLocale:k,translateExistCompatible:x,__i18n:_,__root:d,__injectWithOption:h}}function Cs(e={},t){{const o=Ls(uy(e)),{__extender:n}=e,a={id:o.id,get locale(){return o.locale.value},set locale(r){o.locale.value=r},get fallbackLocale(){return o.fallbackLocale.value},set fallbackLocale(r){o.fallbackLocale.value=r},get messages(){return o.messages.value},get datetimeFormats(){return o.datetimeFormats.value},get numberFormats(){return o.numberFormats.value},get availableLocales(){return o.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(r){},get missing(){return o.getMissingHandler()},set missing(r){o.setMissingHandler(r)},get silentTranslationWarn(){return Pe(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(r){o.missingWarn=Pe(r)?!r:r},get silentFallbackWarn(){return Pe(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(r){o.fallbackWarn=Pe(r)?!r:r},get modifiers(){return o.modifiers},get formatFallbackMessages(){return o.fallbackFormat},set formatFallbackMessages(r){o.fallbackFormat=r},get postTranslation(){return o.getPostTranslationHandler()},set postTranslation(r){o.setPostTranslationHandler(r)},get sync(){return o.inheritLocale},set sync(r){o.inheritLocale=r},get warnHtmlInMessage(){return o.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){o.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return o.escapeParameter},set escapeParameterHtml(r){o.escapeParameter=r},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(r){},get pluralizationRules(){return o.pluralRules||{}},__composer:o,t(...r){const[s,i,l]=r,c={};let u=null,p=null;if(!pe(s))throw ft(pt.INVALID_ARGUMENT);const g=s;return pe(i)?c.locale=i:Xe(i)?u=i:Ae(i)&&(p=i),Xe(l)?u=l:Ae(l)&&(p=l),Reflect.apply(o.t,o,[g,u||p||{},c])},rt(...r){return Reflect.apply(o.rt,o,[...r])},tc(...r){const[s,i,l]=r,c={plural:1};let u=null,p=null;if(!pe(s))throw ft(pt.INVALID_ARGUMENT);const g=s;return pe(i)?c.locale=i:st(i)?c.plural=i:Xe(i)?u=i:Ae(i)&&(p=i),pe(l)?c.locale=l:Xe(l)?u=l:Ae(l)&&(p=l),Reflect.apply(o.t,o,[g,u||p||{},c])},te(r,s){return o.te(r,s)},tm(r){return o.tm(r)},getLocaleMessage(r){return o.getLocaleMessage(r)},setLocaleMessage(r,s){o.setLocaleMessage(r,s)},mergeLocaleMessage(r,s){o.mergeLocaleMessage(r,s)},d(...r){return Reflect.apply(o.d,o,[...r])},getDateTimeFormat(r){return o.getDateTimeFormat(r)},setDateTimeFormat(r,s){o.setDateTimeFormat(r,s)},mergeDateTimeFormat(r,s){o.mergeDateTimeFormat(r,s)},n(...r){return Reflect.apply(o.n,o,[...r])},getNumberFormat(r){return o.getNumberFormat(r)},setNumberFormat(r,s){o.setNumberFormat(r,s)},mergeNumberFormat(r,s){o.mergeNumberFormat(r,s)},getChoiceIndex(r,s){return-1}};return a.__extender=n,a}}const Es={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function dy({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,a)=>[...n,...a.type===Ce?a.children:[a]],[]):t.reduce((o,n)=>{const a=e[n];return a&&(o[n]=a()),o},Ue())}function $u(e){return Ce}const Lu=Gn({name:"i18n-t",props:kt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>st(e)||!isNaN(e)}},Es),setup(e,t){const{slots:o,attrs:n}=t,a=e.i18n||wt({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(o).filter(p=>p!=="_"),s=Ue();e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=pe(e.plural)?+e.plural:e.plural);const i=dy(t,r),l=a[xs](e.keypath,i,s),c=kt(Ue(),n),u=pe(e.tag)||Ie(e.tag)?e.tag:$u();return Yl(u,c,l)}}});function py(e){return Xe(e)&&!pe(e[0])}function Cu(e,t,o,n){const{slots:a,attrs:r}=t;return()=>{const s={part:!0};let i=Ue();e.locale&&(s.locale=e.locale),pe(e.format)?s.key=e.format:Ie(e.format)&&(pe(e.format.key)&&(s.key=e.format.key),i=Object.keys(e.format).reduce((g,k)=>o.includes(k)?kt(Ue(),g,{[k]:e.format[k]}):g,Ue()));const l=n(e.value,s,i);let c=[s.key];Xe(l)?c=l.map((g,k)=>{const w=a[g.type],_=w?w({[g.type]:g.value,index:k,parts:l}):[g.value];return py(_)&&(_[0].key=`${g.type}-${k}`),_}):pe(l)&&(c=[l]);const u=kt(Ue(),r),p=pe(e.tag)||Ie(e.tag)?e.tag:$u();return Yl(p,u,c)}}const Eu=Gn({name:"i18n-n",props:kt({value:{type:Number,required:!0},format:{type:[String,Object]}},Es),setup(e,t){const o=e.i18n||wt({useScope:e.scope,__useComponent:!0});return Cu(e,t,fu,(...n)=>o[As](...n))}}),Tu=Gn({name:"i18n-d",props:kt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Es),setup(e,t){const o=e.i18n||wt({useScope:e.scope,__useComponent:!0});return Cu(e,t,du,(...n)=>o[Ss](...n))}});function gy(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 fy(e){const t=s=>{const{instance:i,modifiers:l,value:c}=s;if(!i||!i.$)throw ft(pt.UNEXPECTED_ERROR);const u=gy(e,i.$),p=Pu(c);return[Reflect.apply(u.t,u,[...Mu(p)]),u]};return{created:(s,i)=>{const[l,c]=t(i);Ja&&e.global===c&&(s.__i18nWatcher=tt(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),s.__composer=c,s.textContent=l},unmounted:s=>{Ja&&s.__i18nWatcher&&(s.__i18nWatcher(),s.__i18nWatcher=void 0,delete s.__i18nWatcher),s.__composer&&(s.__composer=void 0,delete s.__composer)},beforeUpdate:(s,{value:i})=>{if(s.__composer){const l=s.__composer,c=Pu(i);s.textContent=Reflect.apply(l.t,l,[...Mu(c)])}},getSSRProps:s=>{const[i]=t(s);return{textContent:i}}}}function Pu(e){if(pe(e))return{path:e};if(Ae(e)){if(!("path"in e))throw ft(pt.REQUIRED_VALUE,"path");return e}else throw ft(pt.INVALID_VALUE)}function Mu(e){const{path:t,locale:o,args:n,choice:a,plural:r}=e,s={},i=n||{};return pe(o)&&(s.locale=o),st(a)&&(s.plural=a),st(r)&&(s.plural=r),[t,i,s]}function hy(e,t,...o){const n=Ae(o[0])?o[0]:{},a=!!n.useI18nComponentName;(Pe(n.globalInstall)?n.globalInstall:!0)&&([a?"i18n":Lu.name,"I18nT"].forEach(s=>e.component(s,Lu)),[Eu.name,"I18nN"].forEach(s=>e.component(s,Eu)),[Tu.name,"I18nD"].forEach(s=>e.component(s,Tu))),e.directive("t",fy(t))}function my(e,t,o){return{beforeCreate(){const n=ko();if(!n)throw ft(pt.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const r=a.i18n;if(a.__i18n&&(r.__i18n=a.__i18n),r.__root=t,this===this.$root)this.$i18n=Nu(e,r);else{r.__injectWithOption=!0,r.__extender=o.__vueI18nExtend,this.$i18n=Cs(r);const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=Nu(e,a);else{this.$i18n=Cs({__i18n:a.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:t});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&vu(t,a,a),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,s)=>this.$i18n.te(r,s),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),o.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=ko();if(!n)throw ft(pt.UNEXPECTED_ERROR);const a=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),o.__deleteInstance(n),delete this.$i18n}}}function Nu(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[bu](t.pluralizationRules||e.pluralizationRules);const o=ar(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 by=Mo("global-vue-i18n");function yy(e={},t){const o=__VUE_I18N_LEGACY_API__&&Pe(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=Pe(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&o?!!e.allowComposition:!0,r=new Map,[s,i]=_y(e,o),l=Mo("");function c(g){return r.get(g)||null}function u(g,k){r.set(g,k)}function p(g){r.delete(g)}{const g={get mode(){return __VUE_I18N_LEGACY_API__&&o?"legacy":"composition"},get allowComposition(){return a},async install(k,...w){if(k.__VUE_I18N_SYMBOL__=l,k.provide(k.__VUE_I18N_SYMBOL__,g),Ae(w[0])){const h=w[0];g.__composerExtend=h.__composerExtend,g.__vueI18nExtend=h.__vueI18nExtend}let _=null;!o&&n&&(_=Cy(k,g.global)),__VUE_I18N_FULL_INSTALL__&&hy(k,g,...w),__VUE_I18N_LEGACY_API__&&o&&k.mixin(my(i,i.__composer,g));const d=k.unmount;k.unmount=()=>{_&&_(),g.dispose(),d()}},get global(){return i},dispose(){s.stop()},__instances:r,__getInstance:c,__setInstance:u,__deleteInstance:p};return g}}function wt(e={}){const t=ko();if(t==null)throw ft(pt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ft(pt.NOT_INSTALLED);const o=vy(t),n=wy(o),a=_u(t),r=ky(e,a);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!e.__useComponent){if(!o.allowComposition)throw ft(pt.NOT_AVAILABLE_IN_LEGACY_MODE);return $y(t,r,n,e)}if(r==="global")return vu(n,e,a),n;if(r==="parent"){let l=xy(o,t,e.__useComponent);return l==null&&(l=n),l}const s=o;let i=s.__getInstance(t);if(i==null){const l=kt({},e);"__i18n"in a&&(l.__i18n=a.__i18n),n&&(l.__root=n),i=Ls(l),s.__composerExtend&&(i[$s]=s.__composerExtend(i)),Ay(s,t,i),s.__setInstance(t,i)}return i}function _y(e,t,o){const n=wr();{const a=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Cs(e)):n.run(()=>Ls(e));if(a==null)throw ft(pt.UNEXPECTED_ERROR);return[n,a]}}function vy(e){{const t=Te(e.isCE?by:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ft(e.isCE?pt.NOT_INSTALLED_WITH_PROVIDE:pt.UNEXPECTED_ERROR);return t}}function ky(e,t){return Za(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function wy(e){return e.mode==="composition"?e.global:e.global.__composer}function xy(e,t,o=!1){let n=null;const a=t.root;let r=Sy(t,o);for(;r!=null;){const s=e;if(e.mode==="composition")n=s.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const i=s.__getInstance(r);i!=null&&(n=i.__composer,o&&n&&!n[yu]&&(n=null))}if(n!=null||a===r)break;r=r.parent}return n}function Sy(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Ay(e,t,o){to(()=>{},t),Da(()=>{const n=o;e.__deleteInstance(t);const a=n[$s];a&&(a(),delete n[$s])},t)}function $y(e,t,o,n={}){const a=t==="local",r=an(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw ft(pt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=Pe(n.inheritLocale)?n.inheritLocale:!pe(n.locale),i=ce(!a||s?o.locale.value:pe(n.locale)?n.locale:_n),l=ce(!a||s?o.fallbackLocale.value:pe(n.fallbackLocale)||Xe(n.fallbackLocale)||Ae(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i.value),c=ce(ar(i.value,n)),u=ce(Ae(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),p=ce(Ae(n.numberFormats)?n.numberFormats:{[i.value]:{}}),g=a?o.missingWarn:Pe(n.missingWarn)||No(n.missingWarn)?n.missingWarn:!0,k=a?o.fallbackWarn:Pe(n.fallbackWarn)||No(n.fallbackWarn)?n.fallbackWarn:!0,w=a?o.fallbackRoot:Pe(n.fallbackRoot)?n.fallbackRoot:!0,_=!!n.fallbackFormat,d=Ye(n.missing)?n.missing:null,h=Ye(n.postTranslation)?n.postTranslation:null,y=a?o.warnHtmlMessage:Pe(n.warnHtmlMessage)?n.warnHtmlMessage:!0,v=!!n.escapeParameter,b=a?o.modifiers:Ae(n.modifiers)?n.modifiers:{},x=n.pluralRules||a&&o.pluralRules;function A(){return[i.value,l.value,c.value,u.value,p.value]}const L=Z({get:()=>r.value?r.value.locale.value:i.value,set:E=>{r.value&&(r.value.locale.value=E),i.value=E}}),M=Z({get:()=>r.value?r.value.fallbackLocale.value:l.value,set:E=>{r.value&&(r.value.fallbackLocale.value=E),l.value=E}}),P=Z(()=>r.value?r.value.messages.value:c.value),I=Z(()=>u.value),B=Z(()=>p.value);function H(){return r.value?r.value.getPostTranslationHandler():h}function O(E){r.value&&r.value.setPostTranslationHandler(E)}function R(){return r.value?r.value.getMissingHandler():d}function G(E){r.value&&r.value.setMissingHandler(E)}function F(E){return A(),E()}function C(...E){return r.value?F(()=>Reflect.apply(r.value.t,null,[...E])):F(()=>"")}function re(...E){return r.value?Reflect.apply(r.value.rt,null,[...E]):""}function _e(...E){return r.value?F(()=>Reflect.apply(r.value.d,null,[...E])):F(()=>"")}function ne(...E){return r.value?F(()=>Reflect.apply(r.value.n,null,[...E])):F(()=>"")}function ge(E){return r.value?r.value.tm(E):{}}function fe(E,K){return r.value?r.value.te(E,K):!1}function de(E){return r.value?r.value.getLocaleMessage(E):{}}function Ke(E,K){r.value&&(r.value.setLocaleMessage(E,K),c.value[E]=K)}function Fe(E,K){r.value&&r.value.mergeLocaleMessage(E,K)}function Qe(E){return r.value?r.value.getDateTimeFormat(E):{}}function mt(E,K){r.value&&(r.value.setDateTimeFormat(E,K),u.value[E]=K)}function He(E,K){r.value&&r.value.mergeDateTimeFormat(E,K)}function it(E){return r.value?r.value.getNumberFormat(E):{}}function qe(E,K){r.value&&(r.value.setNumberFormat(E,K),p.value[E]=K)}function $t(E,K){r.value&&r.value.mergeNumberFormat(E,K)}const $={get id(){return r.value?r.value.id:-1},locale:L,fallbackLocale:M,messages:P,datetimeFormats:I,numberFormats:B,get inheritLocale(){return r.value?r.value.inheritLocale:s},set inheritLocale(E){r.value&&(r.value.inheritLocale=E)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(c.value)},get modifiers(){return r.value?r.value.modifiers:b},get pluralRules(){return r.value?r.value.pluralRules:x},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:g},set missingWarn(E){r.value&&(r.value.missingWarn=E)},get fallbackWarn(){return r.value?r.value.fallbackWarn:k},set fallbackWarn(E){r.value&&(r.value.missingWarn=E)},get fallbackRoot(){return r.value?r.value.fallbackRoot:w},set fallbackRoot(E){r.value&&(r.value.fallbackRoot=E)},get fallbackFormat(){return r.value?r.value.fallbackFormat:_},set fallbackFormat(E){r.value&&(r.value.fallbackFormat=E)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:y},set warnHtmlMessage(E){r.value&&(r.value.warnHtmlMessage=E)},get escapeParameter(){return r.value?r.value.escapeParameter:v},set escapeParameter(E){r.value&&(r.value.escapeParameter=E)},t:C,getPostTranslationHandler:H,setPostTranslationHandler:O,getMissingHandler:R,setMissingHandler:G,rt:re,d:_e,n:ne,tm:ge,te:fe,getLocaleMessage:de,setLocaleMessage:Ke,mergeLocaleMessage:Fe,getDateTimeFormat:Qe,setDateTimeFormat:mt,mergeDateTimeFormat:He,getNumberFormat:it,setNumberFormat:qe,mergeNumberFormat:$t};function N(E){E.locale.value=i.value,E.fallbackLocale.value=l.value,Object.keys(c.value).forEach(K=>{E.mergeLocaleMessage(K,c.value[K])}),Object.keys(u.value).forEach(K=>{E.mergeDateTimeFormat(K,u.value[K])}),Object.keys(p.value).forEach(K=>{E.mergeNumberFormat(K,p.value[K])}),E.escapeParameter=v,E.fallbackFormat=_,E.fallbackRoot=w,E.fallbackWarn=k,E.missingWarn=g,E.warnHtmlMessage=y}return dl(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw ft(pt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const E=r.value=e.proxy.$i18n.__composer;t==="global"?(i.value=E.locale.value,l.value=E.fallbackLocale.value,c.value=E.messages.value,u.value=E.datetimeFormats.value,p.value=E.numberFormats.value):a&&N(E)}),$}const Ly=["locale","fallbackLocale","availableLocales"],Iu=["t","rt","d","n","tm","te"];function Cy(e,t){const o=Object.create(null);return Ly.forEach(a=>{const r=Object.getOwnPropertyDescriptor(t,a);if(!r)throw ft(pt.UNEXPECTED_ERROR);const s=Ze(r.value)?{get(){return r.value.value},set(i){r.value.value=i}}:{get(){return r.get&&r.get()}};Object.defineProperty(o,a,s)}),e.config.globalProperties.$i18n=o,Iu.forEach(a=>{const r=Object.getOwnPropertyDescriptor(t,a);if(!r||!r.value)throw ft(pt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,r)}),()=>{delete e.config.globalProperties.$i18n,Iu.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}if(sy(),__INTLIFY_JIT_COMPILATION__?Jc(ey):Jc(Qb),zb(Sb),Hb(Hc),__INTLIFY_PROD_DEVTOOLS__){const e=xo();e.__INTLIFY__=!0,Nb(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Ey=Object.assign({"./locales/ar/aria.json":Rf,"./locales/ar/buttons.json":Ff,"./locales/ar/detail.json":Of,"./locales/ar/legend.json":Df,"./locales/ar/messages.json":Bf,"./locales/ar/options.json":jf,"./locales/ar/prayerLaps.json":Gf,"./locales/ar/search.json":Uf,"./locales/ar/tabs.json":Kf,"./locales/de/aria.json":zf,"./locales/de/buttons.json":Hf,"./locales/de/detail.json":Vf,"./locales/de/legend.json":Wf,"./locales/de/messages.json":Yf,"./locales/de/options.json":qf,"./locales/de/prayerLaps.json":Jf,"./locales/de/search.json":Zf,"./locales/de/tabs.json":Xf,"./locales/en/aria.json":Qf,"./locales/en/buttons.json":eh,"./locales/en/detail.json":th,"./locales/en/legend.json":oh,"./locales/en/messages.json":nh,"./locales/en/options.json":ah,"./locales/en/popup.json":rh,"./locales/en/prayerLaps.json":sh,"./locales/en/search.json":ih,"./locales/en/tabs.json":lh,"./locales/es/aria.json":ch,"./locales/es/buttons.json":uh,"./locales/es/detail.json":dh,"./locales/es/legend.json":ph,"./locales/es/messages.json":gh,"./locales/es/options.json":fh,"./locales/es/prayerLaps.json":hh,"./locales/es/search.json":mh,"./locales/es/tabs.json":bh,"./locales/fr/aria.json":yh,"./locales/fr/buttons.json":_h,"./locales/fr/detail.json":vh,"./locales/fr/legend.json":kh,"./locales/fr/messages.json":wh,"./locales/fr/options.json":xh,"./locales/fr/popup.json":Sh,"./locales/fr/prayerLaps.json":Ah,"./locales/fr/search.json":$h,"./locales/fr/tabs.json":Lh,"./locales/hi/aria.json":Ch,"./locales/hi/buttons.json":Eh,"./locales/hi/detail.json":Th,"./locales/hi/legend.json":Ph,"./locales/hi/messages.json":Mh,"./locales/hi/options.json":Nh,"./locales/hi/prayerLaps.json":Ih,"./locales/hi/search.json":Rh,"./locales/it/aria.json":Fh,"./locales/it/buttons.json":Oh,"./locales/it/detail.json":Dh,"./locales/it/legend.json":Bh,"./locales/it/messages.json":jh,"./locales/it/options.json":Gh,"./locales/it/prayerLaps.json":Uh,"./locales/it/search.json":Kh,"./locales/pt/aria.json":zh,"./locales/pt/buttons.json":Hh,"./locales/pt/detail.json":Vh,"./locales/pt/legend.json":Wh,"./locales/pt/messages.json":Yh,"./locales/pt/options.json":qh,"./locales/pt/prayerLaps.json":Jh,"./locales/pt/search.json":Zh,"./locales/pt/tabs.json":Xh,"./locales/ro/aria.json":Qh,"./locales/ro/buttons.json":em,"./locales/ro/detail.json":tm,"./locales/ro/legend.json":om,"./locales/ro/messages.json":nm,"./locales/ro/options.json":am,"./locales/ro/prayerLaps.json":rm,"./locales/ro/search.json":sm,"./locales/ru/aria.json":im,"./locales/ru/buttons.json":lm,"./locales/ru/detail.json":cm,"./locales/ru/legend.json":um,"./locales/ru/messages.json":dm,"./locales/ru/options.json":pm,"./locales/ru/prayerLaps.json":gm,"./locales/ru/search.json":fm,"./locales/ru/tabs.json":hm,"./locales/zh/aria.json":mm,"./locales/zh/buttons.json":bm,"./locales/zh/detail.json":ym,"./locales/zh/legend.json":_m,"./locales/zh/messages.json":vm,"./locales/zh/options.json":km,"./locales/zh/prayerLaps.json":wm,"./locales/zh/search.json":xm}),na={};for(const[e,t]of Object.entries(Ey)){const o=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!o)continue;const[,n,a]=o;na[n]??(na[n]={}),na[n][a]=t}const Ru=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"];function Ty(){var o;const t=(((o=document==null?void 0:document.documentElement)==null?void 0:o.lang)||"").split("-")[0].toLowerCase();return Ru.includes(t)?t:"en"}function Py(){return yy({legacy:!1,globalInjection:!0,locale:Ty(),fallbackLocale:"en",messages:na,missingWarn:!1,fallbackWarn:!1})}function ht(e,t){const o=t||My(e);to(()=>{var i;const n=ko();if(!n)return;const a=(i=n.proxy)==null?void 0:i.$el;if(!a)return;const r=a.getRootNode();if(!(r instanceof ShadowRoot)||r.querySelector(`style[data-shadow-styles="${o}"]`))return;const s=document.createElement("style");s.setAttribute("data-shadow-styles",o),s.textContent=e,r.appendChild(s)})}function My(e){let t=0;for(let o=0;o(t==null?void 0:t.theme)==="dark"),a=Z(()=>{var d;return((d=o==null?void 0:o.value)==null?void 0:d.pinHintLabel)||"Tap a coloured dot — someone still needs prayer"}),r=ce(!1),s=ce(null);let i=null,l=null,c=null,u=null,p=null;function g(){r.value=!1}function k(d,h){var v;let y=d==null?void 0:d.parentElement;for(let b=0;y&&b<12;b++,y=y.parentElement){if(y===h||(v=y.classList)!=null&&v.contains("profile-loader"))return null;let x="";try{x=getComputedStyle(y).position}catch{}if(x&&x!=="static"){const A=y.getBoundingClientRect();if(A.height>=120&&A.width>=160)return y}}return null}function w(){const d=s.value;if(d)try{d.style.removeProperty("--pin-hint-lift");const h=d.getBoundingClientRect();if(!h.height)return;const y=Math.round(h.bottom-window.innerHeight);y>0&&d.style.setProperty("--pin-hint-lift",y+8+"px")}catch{}}function _(d){const h=s.value;if(!h||!(d!=null&&d.querySelector))return;let y=0;try{const b=d.querySelector(".mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-attrib, .mapboxgl-ctrl-bottom-right .doxa-attribution, .doxa-attribution");if(b){const x=b.getBoundingClientRect(),A=h.parentElement,L=A?A.getBoundingClientRect():null;if(y=L?Math.max(x.height||0,L.bottom-x.top):x.height||0,p!==b&&typeof ResizeObserver<"u"){if(c)try{c.disconnect()}catch{}p=b,c=new ResizeObserver(()=>_(d)),c.observe(b)}}}catch{}const v=Math.min(Math.max(Math.ceil(y)||20,20),72);h.style.setProperty("--pin-hint-attrib-clear",v+"px"),w()}return to(()=>{var v,b,x;const d=ko(),h=(x=(b=(v=d==null?void 0:d.proxy)==null?void 0:v.$el)==null?void 0:b.getRootNode)==null?void 0:x.call(b);if(!h||typeof h.querySelector!="function")return;let y=0;i=setInterval(()=>{y++;const A=h.querySelector("canvas");A?(clearInterval(i),i=null,r.value=!0,bo(()=>{const L=k(A,h),M=s.value;if(L&&M&&M.parentElement!==L)try{L.appendChild(M),l=L}catch{}_(h),w();try{const P=s.value&&s.value.offsetParent||null;if(P&&typeof ResizeObserver<"u"){if(u)try{u.disconnect()}catch{}u=new ResizeObserver(()=>w()),u.observe(P)}}catch{}})):y>40&&(clearInterval(i),i=null)},300)}),oo(()=>{var d;if(i&&clearInterval(i),c){try{c.disconnect()}catch{}c=null}if(p=null,u){try{u.disconnect()}catch{}u=null}if(l&&((d=s.value)==null?void 0:d.parentElement)===l)try{l.removeChild(s.value)}catch{}l=null}),ht(` .pin-hint { position: absolute; left: 50%; bottom: calc(var(--pin-hint-attrib-clear, 20px) + 12px + var(--pin-hint-lift, 0px)); transform: translateX(-50%); z-index: 2147482000; pointer-events: none; @@ -69,7 +69,7 @@ @media (prefers-reduced-motion: reduce) { .pin-hint, .pin-hint-pill, .pin-hint-dot::after { animation: none !important; } } -`,"pin-hint"),(d,h)=>r.value?(W(),ee("div",{key:0,ref_key:"hintEl",ref:s,class:Le(["pin-hint",{dark:n.value}]),role:"status"},[T("span",Ay,[h[0]||(h[0]=T("span",{class:"pin-hint-dot","aria-hidden":"true"},null,-1)),dt(" "+ue(a.value)+" ",1),T("button",{class:"pin-hint-x",type:"button","aria-label":"Dismiss hint",onClick:g},"×")])],2)):be("",!0)}},Ly=!1;let Cy=0;const Ey=is("ui",{state:()=>({_storeInstanceId:++Cy,theme:"light",colorScheme:"default",reducedMotion:!1,highContrast:!1,activeTab:"doxa-regions",sidebarCollapsed:!1,mobileMenuOpen:!1,legendState:"collapsed",_customLegendHeight:null,searchMode:!1,hamburgerMenuOpen:!1,legendMode:"prayer",prayerFilter:null,engagementFilter:null,adoptionFilter:null,religionFilter:null,selectedPeopleGroup:null,breakpoint:"desktop",windowSize:{width:window.innerWidth,height:window.innerHeight},toasts:[],nextToastId:1,toastDuration:5e3,openModals:[],modalData:new Map,isGlobalLoading:!1,globalLoadingMessage:"Loading...",loadingStates:new Map,interactionHistory:[],maxHistoryLength:20,keyboardShortcutsEnabled:!0,screenReaderAnnouncement:"",focusTrapActive:!1,debugMode:!1,showPerformanceOverlay:!1}),getters:{isDarkTheme:e=>!1,isMobile:e=>e.breakpoint==="mobile",isTablet:e=>e.breakpoint==="tablet",isDesktop:e=>e.breakpoint==="desktop"||e.breakpoint==="wide",legendHeight:e=>e._customLegendHeight?e._customLegendHeight:e.legendState==="collapsed"?"48px":e.legendState==="open"?"30%":e.legendState==="fullyOpen"?"calc(100% - 80px)":"48px",caretRotation:e=>e.legendState==="collapsed"?0:90,showPullTab:e=>e.legendState==="open"||e.legendState==="fullyOpen",getToastsByType:e=>t=>e.toasts.filter(o=>o.type===t),hasOpenModal:e=>e.openModals.length>0,topModal:e=>e.openModals.length===0?null:e.openModals[e.openModals.length-1],isModalOpen:e=>t=>e.openModals.includes(t),isAnyLoading:e=>e.isGlobalLoading||e.loadingStates.size>0,isLoading:e=>t=>e.loadingStates.get(t)||!1},actions:{setTheme(e){if(!["light","dark","auto"].includes(e))return;e="light",this.theme=e;const o=this.isDarkTheme;document.documentElement.setAttribute("data-theme",o?"dark":"light");try{localStorage.setItem("theme",e)}catch{}},toggleTheme(){const e=this.theme==="light"?"dark":"light";this.setTheme(e)},setColorScheme(e){this.colorScheme=e,document.documentElement.setAttribute("data-color-scheme",e)},toggleReducedMotion(){this.reducedMotion=!this.reducedMotion,document.documentElement.setAttribute("data-reduced-motion",this.reducedMotion)},toggleHighContrast(){this.highContrast=!this.highContrast,document.documentElement.setAttribute("data-high-contrast",this.highContrast)},setActiveTab(e){this.activeTab=e,this.addToHistory({type:"tab-change",tabId:e,timestamp:Date.now()})},toggleSidebar(){this.sidebarCollapsed=!this.sidebarCollapsed},openMobileMenu(){this.mobileMenuOpen=!0},closeMobileMenu(){this.mobileMenuOpen=!1},setLegendMode(e){["prayer","detail"].includes(e)&&(this.legendMode=e)},setPrayerFilter(e){[null,"noPrayer","hasPrayer","fullPrayer"].includes(e)&&(this.prayerFilter=e)},setEngagementFilter(e){[null,"notEngaged","hasEngagement"].includes(e)&&(this.engagementFilter=e)},setAdoptionFilter(e){[null,"notAdopted","hasAdoption"].includes(e)&&(this.adoptionFilter=e)},setReligionFilter(e){[null,"C","M","H","B","E","J","S","N","O","U"].includes(e)&&(this.religionFilter=e)},selectPeopleGroup(e){this.selectedPeopleGroup=e,e?(this._legendStateBeforeDetail=this.legendState,this.legendState="open",this._customLegendHeight=null,this.setLegendMode("detail")):(this.legendState=this._legendStateBeforeDetail||"open",this._customLegendHeight=null,this.setLegendMode("prayer"))},setLegendState(e){["collapsed","open","fullyOpen"].includes(e)&&(this.legendState=e)},toggleSearchMode(){this.searchMode=!this.searchMode},setSearchMode(e){this.searchMode=e},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},updateBreakpoint(e){let t;e<768?t="mobile":e<1024?t="tablet":e<1920?t="desktop":t="wide",t!==this.breakpoint&&(this.breakpoint=t)},updateWindowSize(e,t){this.windowSize.width=e,this.windowSize.height=t,this.updateBreakpoint(e)},showToast(e){const{message:t,type:o="info",duration:n=this.toastDuration,action:a=null,persistent:r=!1}=e,s={id:this.nextToastId++,message:t,type:o,duration:n,action:a,persistent:r,createdAt:Date.now()};return this.toasts.push(s),!r&&n>0&&setTimeout(()=>{this.removeToast(s.id)},n),s.id},showSuccess(e,t={}){return this.showToast({message:e,type:"success",...t})},showError(e,t={}){return this.showToast({message:e,type:"error",duration:7e3,...t})},showWarning(e,t={}){return this.showToast({message:e,type:"warning",...t})},showInfo(e,t={}){return this.showToast({message:e,type:"info",...t})},removeToast(e){const t=this.toasts.findIndex(o=>o.id===e);t!==-1&&this.toasts.splice(t,1)},clearAllToasts(){this.toasts=[]},openModal(e,t={}){this.openModals.includes(e)||(this.openModals.push(e),this.modalData.set(e,t),this.focusTrapActive=!0)},closeModal(e=null){if(e){const t=this.openModals.indexOf(e);t!==-1&&(this.openModals.splice(t,1),this.modalData.delete(e))}else{const t=this.openModals.pop();t&&this.modalData.delete(t)}this.openModals.length===0&&(this.focusTrapActive=!1)},closeAllModals(){this.openModals=[],this.modalData.clear(),this.focusTrapActive=!1},getModalData(e){return this.modalData.get(e)},showGlobalLoading(e="Loading..."){this.isGlobalLoading=!0,this.globalLoadingMessage=e},hideGlobalLoading(){this.isGlobalLoading=!1},setLoading(e,t=!0){t?this.loadingStates.set(e,!0):this.loadingStates.delete(e)},addToHistory(e){this.interactionHistory.push(e),this.interactionHistory.length>this.maxHistoryLength&&this.interactionHistory.shift()},clearHistory(){this.interactionHistory=[]},announce(e,t="polite"){this.screenReaderAnnouncement=e,setTimeout(()=>{this.screenReaderAnnouncement===e&&(this.screenReaderAnnouncement="")},1e3)},toggleKeyboardShortcuts(){this.keyboardShortcutsEnabled=!this.keyboardShortcutsEnabled},toggleDebugMode(){this.debugMode=!this.debugMode},togglePerformanceOverlay(){this.showPerformanceOverlay=!this.showPerformanceOverlay},toggleLegend(){this.legendState==="fullyOpen"?this.legendState="open":this.legendState==="open"?this.legendState="collapsed":this.legendState="open",this._customLegendHeight=null},openLegend(){this.legendState="open",this._customLegendHeight=null},fullyOpenLegend(){this.legendState="fullyOpen",this._customLegendHeight=null},collapseLegend(){this.legendState="collapsed",this._customLegendHeight=null},setLegendHeight(e){this._customLegendHeight=e},handleLegendItemClick(){this.legendState==="fullyOpen"&&(this.legendState="open")},enableSearchMode(){this.searchMode=!0},disableSearchMode(){this.searchMode=!1},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},openHamburgerMenu(){this.hamburgerMenuOpen=!0},closeHamburgerMenu(){this.hamburgerMenuOpen=!1},init(){let e=null;try{e=localStorage.getItem("theme")}catch{}e&&this.setTheme(e),new ResizeObserver(o=>{for(const n of o)this.updateWindowSize(n.contentRect.width,n.contentRect.height)}).observe(document.documentElement),window.matchMedia&&(window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",o=>{this.theme==="auto"&&document.documentElement.setAttribute("data-theme",o.matches?"dark":"light")}),window.matchMedia("(prefers-reduced-motion: reduce)").addEventListener("change",o=>{this.reducedMotion=o.matches,document.documentElement.setAttribute("data-reduced-motion",o.matches)}))}}}),Ty=is("map",{state:()=>({maps:{},activeMapId:null,selectedRegion:null,selectedFamily:null,selectedAffinityBlock:null,selectedLanguage:null,selectedDialect:null,activeLegendTab:"family",selectedResource:null,selectedPeopleGroup:null,selectedPinIds:[],globalFilters:{},searchQuery:"",autoFly:{isActive:!1,speed:1,interval:5e3,currentIndex:0,items:[],timerId:null},guidedTour:{isActive:!1,currentStep:0,steps:[]},showClusters:!1,clusterMode:"region",clusterFilterProperty:null,clusterFilterValue:null,flySpeed:"normal",fullscreenMapId:null,preferences:{theme:"light",defaultMapStyle:"streets",enableAnimations:!0,autoSavePreferences:!0}}),getters:{getMapById:e=>t=>e.maps[t],activeMap:e=>e.activeMapId?e.maps[e.activeMapId]:null,hasMap:e=>t=>t in e.maps,allMapIds:e=>Object.keys(e.maps),hasSelection:e=>!!(e.selectedRegion||e.selectedFamily||e.selectedAffinityBlock||e.selectedPeopleGroup),isAutoFlying:e=>e.autoFly.isActive,isGuidedTourActive:e=>e.guidedTour.isActive,isMapFullscreen:e=>t=>e.fullscreenMapId===t},actions:{registerMap(e,t,o={}){let n=1.5;o.zoom!==void 0?n=o.zoom:t&&typeof t.getZoom=="function"&&(n=t.getZoom());let a=[0,0];if(o.center)a=o.center;else if(t&&typeof t.getCenter=="function"){const r=t.getCenter();r&&(a=[r.lng,r.lat])}this.maps[e]={instance:t,config:o,isReady:!1,zoom:n,center:a,registeredAt:Date.now()},this.activeMapId||(this.activeMapId=e)},setMapReady(e){const t=this.maps[e];t&&(t.isReady=!0)},updateMapState(e,t){const o=this.maps[e];o&&Object.assign(o,t)},unregisterMap(e){if(delete this.maps[e],this.activeMapId===e){const t=this.allMapIds;this.activeMapId=t.length>0?t[0]:null}},setActiveMap(e){e in this.maps&&(this.activeMapId=e)},selectRegion(e){this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedRegion=e},selectFamily(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedFamily=e},setActiveLegendTab(e){this.activeLegendTab=e},selectLanguage(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedFamily=null,this.selectedDialect=null,this.selectedLanguage=e},selectDialect(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedDialect=e},selectAffinityBlock(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedPeopleGroup=null,this.selectedAffinityBlock=e},selectPeopleGroup(e){this.selectedPeopleGroup=e},selectResource(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedResource===e?this.selectedResource=null:this.selectedResource=e},clearSelections(){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedAffinityBlock=null,this.selectedResource=null,this.selectedPeopleGroup=null,this.selectedPinIds=[],this.showClusters=!1,this.clusterMode="region"},setSelectedPinIds(e){this.selectedPinIds=e||[]},setFilter(e,t){this.globalFilters[e]=t},removeFilter(e){delete this.globalFilters[e]},clearFilters(){this.globalFilters={},this.searchQuery=""},setSearchQuery(e){this.searchQuery=e},startAutoFly(e,t=1){this.stopAutoFly(),this.autoFly.isActive=!0,this.autoFly.speed=t,this.autoFly.items=e,this.autoFly.currentIndex=0},stopAutoFly(){this.autoFly.timerId&&(clearInterval(this.autoFly.timerId),this.autoFly.timerId=null),this.autoFly.isActive=!1,this.autoFly.currentIndex=0},setAutoFlySpeed(e){this.autoFly.speed=Math.max(.5,Math.min(2,e))},nextAutoFlyItem(){if(!this.autoFly.isActive||this.autoFly.items.length===0)return;this.autoFly.currentIndex=(this.autoFly.currentIndex+1)%this.autoFly.items.length;const e=this.autoFly.items[this.autoFly.currentIndex];e.type==="region"?this.selectRegion(e):e.type==="family"&&this.selectFamily(e)},toggleClusters(e){typeof e=="boolean"?this.showClusters=e:this.showClusters=!this.showClusters},setClusterMode(e){["region","language-family","affinity-block","mst","resource"].includes(e)&&(this.clusterMode=e)},setClusterFilter(e,t){this.clusterFilterProperty=e||null,this.clusterFilterValue=t||null},clearClusterFilter(){this.clusterFilterProperty=null,this.clusterFilterValue=null},setFlySpeed(e){["slow","normal","fast"].includes(e)&&(this.flySpeed=e)},setSelectedFamily(e){this.selectFamily(e)},clearSelectedFamily(){this.selectFamily(null)},setSelectedRegion(e){this.selectRegion(e)},clearSelectedRegion(){this.selectRegion(null)},clearSelectedResource(){this.selectResource(null)},clearSelectedLanguage(){this.selectLanguage(null)},clearSelectedDialect(){this.selectDialect(null)},toggleFullscreen(e){this.fullscreenMapId===e?this.fullscreenMapId=null:this.fullscreenMapId=e},loadPreferences(){try{const e=localStorage.getItem("mapUserPreferences");if(e){const t=JSON.parse(e);this.preferences={...this.preferences,...t}}}catch(e){console.error("[mapStore] Failed to load preferences:",e)}},savePreferences(){try{localStorage.setItem("mapUserPreferences",JSON.stringify(this.preferences))}catch(e){console.error("[mapStore] Failed to save preferences:",e)}},setPreference(e,t){this.preferences[e]=t,this.preferences.autoSavePreferences&&this.savePreferences()}}}),Py=is("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]=Uo({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]=Uo({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}}}),aa={_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","imb_gsec","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}}},My=".profile-loader[data-v-ba19fc13]{border-radius:var(--map-radius-corners, var(--map-radius, 0px));width:100%;height:100%;min-height:var(--profile-min-h, 100dvh);position:relative}.profile-error[data-v-ba19fc13]{padding:1rem;background:#fff3cd;border:1px solid #ffc107;border-radius:4px;font-family:monospace;font-size:13px}",kn=(e,t)=>{const o=e.__vccOpts||e;for(const[n,a]of t)o[n]=a;return o},Ny={class:"profile-loader"},Iy={key:0,class:"profile-error"},Ry={key:1,class:"profile-error"},Fy=kn({__name:"ProfileLoader",props:{profileConfig:{type:String,default:""}},setup(e){var x;const o=e,n=Te("profileConfig",null),a=Z(()=>{var L;if(!o.profileConfig)return null;let A;try{A=JSON.parse(o.profileConfig)}catch{return console.error("[ProfileLoader] Invalid profile-config JSON:",o.profileConfig),null}if(A&&A.assetsBase===void 0){const M=(L=n==null?void 0:n.value)==null?void 0:L.assetsBase;typeof M=="string"&&M&&(A.assetsBase=M)}return A}),r=Z(()=>{var A;return((A=a.value)==null?void 0:A.profile)||null}),s=$f(),i=Z(()=>{var L;const A=(L=a.value)==null?void 0:L.tk;return typeof A=="string"&&A?A:s.value||""});tt(()=>{var A;return(A=a.value)==null?void 0:A.tk},A=>{typeof A=="string"&&A&&fc(A)},{immediate:!0});const l=Z(()=>{var A;return((A=a.value)==null?void 0:A.dataSource)||aa.activeSource}),c=Z(()=>{var A;return((A=a.value)==null?void 0:A.colorSet)||"default"}),u=Z(()=>!1),p=Z(()=>{var A;return((A=a.value)==null?void 0:A.pinHint)!==!1}),g=Z(()=>{var L,M;const A=(((L=a.value)==null?void 0:L.locale)||((M=a.value)==null?void 0:M.lang)||"").split("-")[0].toLowerCase();return Pu.includes(A)?A:""}),k=Te("appI18n",null);Np(()=>{g.value&&k&&(k.global.locale.value=g.value)});const w=Z(()=>{var A,L;return g.value||((L=(A=k==null?void 0:k.global)==null?void 0:A.locale)==null?void 0:L.value)||"en"}),_=Z(()=>{var A;return((A=a.value)==null?void 0:A.instanceId)||"doxa-map-"+Math.random().toString(36).slice(2,9)}),d=Te("profileModules",null);if(!d)throw new Error('[ProfileLoader] No profileModules provided. Bundle entry must `app.provide("profileModules", import.meta.glob("./*.vue"))`');const h=Z(()=>{if(!r.value)return null;const A=`./${r.value}.vue`;return d[A]?hc(d[A]):(console.error(`[ProfileLoader] Profile not found: "${r.value}". Available:`,Object.keys(d)),null)});Pt("mapboxToken",i),Pt("dataSource",l),Pt("colorSet",c),Pt("profileConfig",a),Pt("instanceId",_),Pt("lang",w);const y=Ey(),v=Ty(),b=Py();try{const A=typeof localStorage<"u"?localStorage.getItem("theme"):null;A&&((x=y.setTheme)==null||x.call(y,A))}catch{}return Pt("uiStore",y),Pt("mapStore",v),Pt("dataStore",b),(A,L)=>(W(),ee("div",Ny,[a.value?h.value?(W(),rt(cl(h.value),{key:2})):(W(),ee("div",Ry,[T("p",null,[L[1]||(L[1]=dt("⚠️ Profile ",-1)),T("strong",null,'"'+ue(r.value)+'"',1),L[2]||(L[2]=dt(" not found.",-1))])])):(W(),ee("div",Iy,[...L[0]||(L[0]=[T("p",null,[dt("⚠️ "),T("strong",null,"doxa-map"),dt(": missing or invalid "),T("code",null,"profile-config"),dt(" prop.")],-1),T("p",null,[dt("Example: "),T("code",null,`profile-config='{"profile":"example-map","tk":"pk.eyJ..."}'`)],-1)])])),h.value&&u.value?(W(),rt(cl(ye(null)),{key:3})):be("",!0),h.value&&p.value?(W(),rt($y,{key:4})):be("",!0)]))}},[["styles",[My]],["__scopeId","data-v-ba19fc13"]]),Oy=Object.assign({"./poster-wall.vue":()=>En(()=>Promise.resolve().then(()=>y0),void 0),"./upg-100-list.vue":()=>En(()=>Promise.resolve().then(()=>Gk),void 0),"./upg-100-mfe.vue":()=>En(()=>Promise.resolve().then(()=>bw),void 0)});if(typeof window<"u"&&((Md=window.mapboxgl)!=null&&Md.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 Dy(){return lf(Fy,{configureApp(e){e.use(_f()),e.use(xy()),e.provide("profileModules",Oy)}})}const By=Dy();typeof customElements<"u"&&(customElements.get("my-upg-100-list-map")||customElements.define("my-upg-100-list-map",By));function jy(e){const t=(e==null?void 0:e.parentElement)||e;if(!t||!t.ownerDocument)return{x:0,y:0};const o=t.ownerDocument.createElement("div");o.style.cssText="position:fixed;top:0;left:0;width:0;height:0;pointer-events:none;opacity:0",t.appendChild(o);const n=o.getBoundingClientRect();return o.remove(),{x:n.left,y:n.top}}function Mu(e){const t=ce(null),o=an({position:"fixed",inset:"0"}),n=()=>{var u,p;const r=t.value;if(!r)return;const s=jy(r),i=r.ownerDocument||(typeof document<"u"?document:null),l=((u=i==null?void 0:i.documentElement)==null?void 0:u.clientWidth)||0,c=((p=i==null?void 0:i.documentElement)==null?void 0:p.clientHeight)||0;o.value={position:"fixed",top:`${-s.y}px`,left:`${-s.x}px`,right:"auto",bottom:"auto",width:`${l}px`,height:`${c}px`,boxSizing:"border-box"}};tt(e,r=>{r&&requestAnimationFrame(()=>{n(),requestAnimationFrame(n)})},{flush:"post"});const a=()=>{e.value&&n()};return typeof window<"u"&&window.addEventListener("resize",a),oo(()=>{typeof window<"u"&&window.removeEventListener("resize",a)}),{scrimRef:t,scrimStyle:o}}const Nu=[{id:"west-africa",label:"West Africa",count:118,selector:{type:"wagf_block",value:"west_africa"},bbox:[-21.3926,4.2189,27.2705,17.4735]},{id:"sudan",label:"Sudan",count:105,selector:{type:"country_code",value:"SDN"},bbox:[20.1672,9.0707,39.723,20.499]},{id:"brazil",label:"Brazil",count:103,selector:{type:"country_code",value:"BRA"},bbox:[-77.9152,-25.4802,-32.2913,7.3352]},{id:"east-africa",label:"East Africa",count:96,selector:{type:"wagf_block",value:"east_africa"},bbox:[22.3455,-14.3059,47.7947,20.0984]},{id:"laos",label:"Laos",count:95,selector:{type:"country_code",value:"LAO"},bbox:[99.8741,13.6759,108.2843,23.2186]},{id:"middle-east-core",label:"Middle East Core",count:71,selector:{type:"country_codes",values:["IRN","YEM","IRQ","OMN","SYR","LBN","PSE","QAT","SAU","JOR","BHR","ARE","KWT"]},bbox:[31.1468,9.3265,63.7915,42.0085]},{id:"andean-caribbean",label:"Andean + Caribbean",count:63,selector:{type:"country_codes",values:["COL","PER","VEN","ECU","BOL","PRY","PAN","CUB","SUR","ATG","ABW","BHS","BRB","CYM","CUW","GRD","JAM","LCA","SXM","TCA","VCT","GUY"]},bbox:[-85.7034,-31.2233,-51.7537,31.0655]},{id:"central-africa",label:"Central Africa",count:61,selector:{type:"wagf_block",value:"central_africa"},bbox:[.6063,-11.2806,32.2325,15.7303]},{id:"europe",label:"Europe",count:55,selector:{type:"wagf_region",value:"europe"},bbox:[-42.2659,-27.2213,168.5645,85]},{id:"oceania-indonesia",label:"Oceania + Indonesia",count:53,selector:{type:"union",selectors:[{type:"wagf_region",value:"oceania"},{type:"country_code",value:"IDN"}]},bbox:[83.9392,-43.091,-136.017,21.4266]},{id:"mainland-se-asia-philippines",label:"Mainland SE Asia + Philippines",count:50,selector:{type:"country_codes",values:["VNM","MYS","THA","MMR","BRN","KHM","PHL"]},bbox:[88.6434,.084,129.7854,26.789]},{id:"maghreb-egypt",label:"Maghreb + Egypt",count:47,selector:{type:"country_codes",values:["DZA","LBY","MAR","MRT","ESH","EGY","TUN"]},bbox:[-21.8716,14.0878,37.0339,39.1426]},{id:"southern-africa-islands",label:"Southern Africa + Islands of East Africa",count:39,selector:{type:"union",selectors:[{type:"wagf_block",value:"southern_africa"},{type:"wagf_block",value:"islands_of_east_africa"}]},bbox:[.638,-38.0929,63.5885,4.4534]}],Iu=[{id:"asia-india-rajasthan",label:"Northwest India",count:116,selector:{type:"pg_slugs",values:["arain-dogri","arain-punjabi","badi-marwari","bania-dogri","bania-kashmiri","baret","bargi","bhand-kashmiri","bhojki","bhopa","bhutta","bomba","brukpa","budhan","campa","cejara","chadwa","cheintz","chheepi","chobdar","chopan","chungar","cudigar","dadupanthi","damami","daoli","daule","dhaki","dhobi-dogri","dhola","dhyar","dokhpa","domal","dosali","gagra","galwan","ganz","gardi","ghihara","gorkun","gosain-kangri","gosain-rajasthani","gurru","hadi","hajjam-haryanvi","hajjam-kashmiri","hesi","hiranbaj","kawoj","khadim","kharol","khatik-chambeali","khatik-punjabi","kraal","kriyagar","kucband","lakhera-haryanvi","laskari","lohar-dogri","malaneese","mangnyar-muslims","manhas","manjygur-muslims","masku","moghol-dogri","moghol-marwari","mogia","mon-india","murhid","nagbansi-dogri","nagda","nai-mewari","najjar","namdagur","naqqas","nar","nicar","nyaria","pajabgar","pakhimara","pangwal-buddhists","pangwala","pinjara-punjabi","pohul","purig-pa","racband","rajkumhar","rajpurohit","ratal","rath","rehar","runwalas","sain","sanchia","sanhai","sansoi","santia","saraogi","sayyid-pahari","seok","shaksaz","shikari","shina-india","singiwala","sofi","sorgars","sudhan","sunga","swangla","tak","thavi","usta","van-baoriya","ved","vijabargiya","waza"]},bbox:[69.9484,22.3586,79.972,35.9424],provinceLabel:"Rājasthān + Haryāna + Himāchal Pradesh + Jammu and Kashmīr + Punjab + Chandīgarh + Ladākh"},{id:"asia-india-andhra-pradesh",label:"South-Central India",count:107,selector:{type:"pg_slugs",values:["accukattavandlu","aguru","aiyarakulu","andhra-vaisnawa","ansari-momin-telugu","arakala","are-bondili","are-kapu","are-katika","atollu","attagara","bandollu","bania-agarwal-telegu","bayita-kammara","berad","bhatrajulu","bhondari","bindla","bolla","budakukkala","cakketakare","camadollu","cippollu","cundollu","dammali","dasari","gandalla","gandla","gangireddula","ganta-sayebulu","garadi","gavara","godagali","godari","gosangi","guddi-eluguwallu","gurika","hajjam-telugu","hatgar","jains-telugu","jakkula","jandra","jethi","kachi","kaikali","karnam","karnibhakthulu","katipamula","khatik-telugu","kommu-dasari","konda-kammara","kuliya","kurakula","lakkamari-kapu","madiga-dasu","majjula","mala-masti","malis","mandula","manna-dhora","matangi","medari","mitha-ayyalavar","moghal-telugu","mondivogula","muchi-chamar","muli","musti-chenchu","nagavamsam","nakhasa","neyyala","ontaris","padigarajulu","pagativeshagallu","paky","pambala","pamidi","pamula","pancaratra-srivaisnavas-brahmans","pariki-muggula","patkars","rajannalu","reddi-dora","reddika","runjalavallu","sadaru","sadhu-chetty","sakunapaksollu","samayavallu","saradagallu","senapathi","silavantulu","sindhollu","swakulasali-koshti","tamboli-telugu","thogataveera-kshatriya","tirugatigantla","tolakari","udupula","uppara","vaikhanasa-brahmans","verra-musti","vipravinodulu","yata","yatagiri","yatla","yite"]},bbox:[76.462,12.5091,84.8294,19.785],provinceLabel:"Andhra Pradesh + Telangāna"},{id:"asia-india-odisha",label:"East India",count:88,selector:{type:"pg_slugs",values:["badhai-chhattisgarhi","baha-i","bairagi-chhattisgarhi","bairagi-odia","bangti","banka","bargah","bari-odia","bauti","bavuri","beldar-chhattisgarhi","bhangi-chhattisgarhi","bharewa","bharia-bhumia-chhattisgarhi","bhattra-bhatri","bhoi-odia","bhunjia","bondo","brahman-jyoti","candhai-maru","chaikwa","chatarkheya","cherua","citrakar","daitapati","damla","darji-odia","dhakad-halbi","dhera","didayi","dom-chhattisgarhi","eneti-dora","ghadwa","ghantarghada","ghogia","ghusuria","godra","gosain-chhattisgarhi","guna","irika","janughanta","jogi-halbi","jogi-odia","kachchi-alia","kalal-sadri","kamila","kapasiya","kasar-odia","khadura","khairwar-chhattisgarhi","khandwal","khati-odia","khatik-chhattisgarhi","kobari","kol-chhattisgarhi","koraga","kuda","kuli","kurunga","kusta","liari","maghia","mahuria","malia","markande-kanjia","mundapotta","munnewar","nai-odia","naksia","noliya","oriya","panara","pando","panka-odia","parenga","radhi","rana","sabakhia","samasi","sanei","sayyid-chhattisgarhi","sayyid-odia","sinduria","son-koli","suda","thanapati","tharua","tula-vina"]},bbox:[80.3325,17.5357,87.6538,23.9578],provinceLabel:"Odisha + Chhattīsgarh"},{id:"asia-india-gujarat",label:"West India",count:90,selector:{type:"pg_slugs",values:["agaria","agri","anjana-patel-gujarati","bafan","bairagi-gujarati","baloch","bamcha","banjania","barot","barthari","bhodala","borpi","caki","champta","cunara","dafer","dangasiya","dasnami-bawa","depala","dudhwala","gadhai","galiara","garmatan","garvi","gavli","ghantiya","golarana","gosain-gujarati","hajjam-gujarati","halaypotra","hingora","hingorza","jat-muslim","juneja","kahar-gujarati","kamalia","kambodia-bhagat","kapadi","kasar-gujarati","kasbati","kathi","ker","khalpa","khaskeli","khatik-gujarati","langa","machhiyara","majothi","makrani","mandali-muslims","mer","mir","miyana","moghol-gujarati","mujavar","muslim-khatri","muslim-lakhera","muslim-patel","mutwa","narsinghpura","nayak-muslims","node","padhar","panar","paradhi","patanwadia","patni-jamat","patni-vankars","pomla","rathodia","raysipotra","royma","sagar","sandhai-muslims","saranias","sayyid-gujarati","shravan","siddi","sompura-salat","tai","targala","theba","tirgar","turi-barot","vadi","vahivanca-barot","vayati","vyapari","wagheri","wandharo"]},bbox:[68.1752,20.1033,74.3448,24.7906],provinceLabel:"Gujarāt"},{id:"asia-india-karnataka",label:"Southwest India",count:86,selector:{type:"pg_slugs",values:["adiyan","agasa","ansari-momin-kannada","arasu","ayri","bagga","baira","balasantoshi","bandi","bania-kannada","bania-konkani","batada","bayil-kammara","bayil-pattar","bellara","bestha","chaptegar","charodi","chenna-dasar","dombi-dasa","durga-murga","gabit","galada-kokani","ganti-chores","gatti","gauli","ghadi","godda","gomantak-maratha","gond-kannada","gudikara","guraw","hajjam-kannada","halleer","harkantra","hasalaru","helawa","holeya-dasari","jatigar","jaweri","jogi-telugu","jogi-tulu","khakar","kolari","komara-panta","koosa","koraga-korra","kottari","koyava","kudiya","kudubi","kummara-kumbara","kurahina-setti","ladar","maila","malaikudi","maleru","manser","meda","mhalo","mith-gauda","mogaveera","mundala","nadors","nai-kannada","nairy","natua","nawaiyat","padarthis","padiyar","pambada","pattegar","pendar","pinjara-kannada","rachavar","raddi","rajapuri","raneyar","raval","raya-rawat","sapalyas","sayyid-kannada","soligaru","sudir","thammadi","vilyagaras"]},bbox:[73.2695,11.4418,78.7305,18.4466],provinceLabel:"Karnātaka + Goa"},{id:"asia-india-kerala",label:"Malabar Coast",count:78,selector:{type:"pg_slugs",values:["allar","ambalavasi","anthur-nair","arayavati","ayyanavar","bakuda","bania-malayalam","bowis-mogeyar","cakkala","cakkyar-nambiyar","chakkiyar","chamar-muchi-malayalam","chengazhi-nambiar","cingatanmar","dheevara","erawallan","ezhavathi","ilayatu","indo-french","indo-vietnamese","kakkalan","kalanadies","kalladi","kallattu-kurup","karimpalan","kavara","kavuthiyan","kidaran","kocu-wellan","kollan","kootan","kumar-kshatriya","kummara-kusuvan","kunduvadian","kurukkal","laccadive","malai-pandaram","malayalar","maran-nairs","marasari","mavilan","moger-malayalam","moothan","mukkari","musari","muttatu","nalkadaya","nambutiris","narsanna","nasuvan","nayadi","otans","padannan","palakad-tandans","pandithar","pathinaickans","pathiyan","pisaroti","poduval","pulisari","puspakan-unni","reddi","samanthan","sonavar","thachanad-moopan","tiyattunni","urindavan","vadugan","valinjiyar","vetan","vettalaikarans","vettiyan","vilkurup","visavan","wainadan-cetti","wainadan-kader","wainadan-pulayan","wayanad-pathiyan"]},bbox:[72.8992,7.9875,80.5765,13.0102],provinceLabel:"Kerala + Puducherry + Lakshadweep"},{id:"asia-india-tamil-nadu",label:"Southeast India + Andaman Islands",count:73,selector:{type:"pg_slugs",values:["alavan","andamanese","ansari-momin-tamil","anuppan","aranadan","baig","bhatu-andamani","bondili","brahmin-andamani","cekkala","chamar-muchi-tamil","chayakkaran","coorgi-andamanese","dasa-palanjika","dayare","dhobi-tamil","gangawar","great-andamanese","gudugudupandi","gurukkal","jains-tamil","jarawas","jati-pillai","kambalattan","kambar","kannada-naicker","kannada-saineegar","karaiyar","karlar","karna-sale","katesar","kattiakaran","kayalar","kepmari","koliyan","kongu-vaisnawa","kongu-vellala-gounder","kota","krishnavaka","kudumi","kuluvan","kummara-kummari","kunnuva-vellalar","malai-vellala","maleyan","maniyattikkaran","mudugar","nakkala","namdeo-maratha","nanjil-mudali","onge","pannadi","panniandi","parkavakulam","parvatarajakulam","pattanavan","perumkollar","salivahanam","savalakkarar","sayyid-tamil","semman","senaithalaivar","sentinelese","siviar","tambiran","telengi","tholuva-naicker","thoraiyar","tondman","uppillian","urikkar-naicker","vellaiyan-kuppam-padaiyaci","vettaikkaran"]},bbox:[74.7588,7.4577,94.7701,13.968],provinceLabel:"Tamil Nādu + Andaman and Nicobar Islands"},{id:"asia-india-madhya-pradesh",label:"Central India",count:88,selector:{type:"pg_slugs",values:["anjana","attar-saibulu","baharupi","banchada","baraua","barda","bari-hindi","bari-marathi","basudeva","berar","bhanumati","bharwad","bhoi-marathi","bhurtia","chari","chitari","citrakathi","dhawad","dhed","dom-marathi","gachha","garodi","garpagari","gondhali","gopal","hajjam-hindi","hardas","hatkar","jadam","jains-hindi","jhadi","kachchi-kushwaha","kachera-bagheli","kaghzi","kandera","kapewar","kasar-hindi","kasikapadi","kathar","kharvi","khatik-marathi","kokaniz","kolhati","kudimahan","ladia","ladsi","lahangir","lajjhar","lodha-marathi","lonar","mana","manbhav","mankar","mitna","mondiwar","muskhan","muslim-gond","muslim-kachera","nahal","naikpod","naita","namdeo","nandiwala","naoda","nat-bagheli","neeli","nema","nilkanth","pangul","phularis","pinjara-marathi","pochammalollu","prabhu-patane","rujjhar","sagharias","sahi","sais","sanghar","sarodi","sikligar","sisgars","soria","sutar-mistry","takari","velip","waidu","yelmar","zamral"]},bbox:[69.6832,14.969,83.1757,26.995],provinceLabel:"Madhya Pradesh + Mahārāshtra + Dādra and Nagar Haveli and Damān and Diu"},{id:"asia-india-uttarakhand",label:"North India + Nepal",count:92,selector:{type:"pg_slugs",values:["ahmadiya","anwal","arain-kannauji","badhik","badi","balahar","banpar","bargala","bargujar","bhuiyar","bisati","camma","charwaha","chaudangsi","dhamin","dhekaro","gadhia","gadihar","gandharv","habura","hijra","hindu-santarash","jadupetia","jains-maithili","jarkhandi-hajjam","jarkhandi-julaha","jharkhandi-nai","jimdar","jogi-angika","kadar","kankali","khangar-bundeli","khatbune","kuthliya-bora","modaks","mujavir","mukeri","nagbansi","nalband","pankhiya","patari","puran","putliwale","rai-bhat-muslims","rajdhop","raji-india","rastogi","rave","sahisia","sayyid-garhwali","sheikhzade","shershabadia","sukiyar","tagewale","thakurai","tikulhara","tilli","turuk-pasi","baniya","barae","bhand","bhediyar","bodo","byangsi","chidmar","churaute","dhobi","dhunia","dura","gangai","gyasumdoba","halkhor","haluwai","jaine","kaike","kamar","kanu","kayastha","lodha","makalu-sherpa","mali","mallah","marwadi","nurang","pahari-nagarkotis","puma","rajbhar","raji-nepal","shaikh-bhojpuri","sudhi","surel","tseku"]},extraCountryCodes:["NPL"],bbox:[76.0644,22.1727,88.8858,31.2428],adm0:["NPL"],provinces:["Uttarākhand","Uttar Pradesh","Bihār","Jhārkhand","Delhi"],provinceLabel:"North India + Nepal"},{id:"asia-india-west-bengal",label:"Northeast India + Bangladesh + Bhutan",count:87,selector:{type:"pg_slugs",values:["aiton","angarok","ansari-momin-bengali","bagti","baida","baisya","bajandar","banai","banik-bania","barua","bhakta","bhalla","bhujel","bilaspuri","byadh","chamar-assamese","chunari","dalu-india","dhal-kstriya","dhimal","ghazi","hajjam-assamese","hajjam-bengali","haluadas","jains-bengali","kakmara","kanda","kapuria","kasar-bengali","khairwar-bengali","khalifa","khamba","khamyang","khatik-bengali","khowa","koiren","kumhar-assamese","kurol","lois","mahisyadas","malakar","man","maria-muslims","matak","mirshikar","momba","mukhi","na","nai-assamese","namasudra-assamese","paharia","pangans","pinjara-dhunia-bengali","sabar","saha","serdukpen","shabdakar","siyalgar","sudra-das","sunuwar","sutradhar","taiphake","tamboli-bengali","teli-assamese","thanga","tripuri-kumhar","tripuri-namasudra","turun","yakha","yatibi","zakhrin","brokkat","chali","dalu-bangladesh","deaf-bhutanese","doya","dzalakha","gongduk","koda","kurtop","lakha","lunape","matpa","nupbi","nyenpa","ole","ushoi"]},extraCountryCodes:["BGD","BTN"],bbox:[84.6438,21.028,98.3478,29.4168],provinceLabel:"West Bengal + Sikkim + Meghālaya + Assam + Arunāchal Pradesh + Manipur + Tripura + Bangladesh + Bhutan",adm0:["BGD","BTN"]},{id:"asia-china-yunnan-province",label:"Southern China",count:109,selector:{type:"pg_slugs",values:["a-ou","ai-cham","akeu","aling","alu","angku","ani","aoka","apu","baonuo","beidongnuo","bit-china","black-thai","bugan","buyang","cai","changpao","chesu","dianbao","diao","doupo","eastern-samadu","eastern-xiangxi-miao","ga-mong","gao","gelao","guaigun","ha-li","hagei","hongjin-tai","hu","huishui-miao","jiamao-li","jiasou","jino","khmu","kong-ge","kucong","laba","labapo","laowu","lati-china","lawu","liang-e","linghua","liping-baheng","liude","liujia","longjia","lu","lupanshui-miao","mang-china","manmet","mashan-miao","meifu-li","mengwu","mishaba-laluo","mo","mosuo","mozhihei","muda","muzi","naheng","nanjingren","northern-awu","northern-dong","northern-muji","numao","palyu","panxian-nasu","pingdi-yao","popei","pubiao","puman","pusha","qanu","qiubei-zhuang","qixingmin","rao","rumai-de-ang","sanda","sanqiao","shenzhou","sichuan-mongols","ta-er","tagu","tai-lu","tai-pong","tulao","tusu","wenma-zhuang","western-gaisu","western-samadu","wopu","wunai","xi","xialusi","xiaoliangshan-nosu","xijima","xinping-lalu","xuzhang-lalu","ya","yanghuang","yerong","yizi","youmai","younuo-bunu","yunnan-mongol","yunnan-shui"]},bbox:[96.3204,17.3374,113.2066,29.9169],provinceLabel:"Yunnan Province + Guizhou Province + Guangxi Zhuang Autonomous Region + Hunan Province + Hainan Province",provinces:["Yunnan Province","Guizhou Province","Guangxi Zhuang Autonomous Region","Hunan Province","Hainan Province"]},{id:"asia-china-tibet-autonomous-region",label:"Mainland China + Mongolia",count:53,selector:{type:"pg_slugs",values:["adi","ainu-china","alxa-mongols","bogar-lhoba","bogol","boyu-tibetans","bunan","buryat","butuo-nosu","cona-monba","darang-deng","enger-yugur","ersu","geman-deng","heishui","henan-mongols","keji","kyrgyz","luzu","manyak","medog-monba","miguba","ming","minyak","naju","namuyi","nghari-tibetans","olot","ongkor","puroik","saman","saragh-yugur","sarikoli-tajiks","shixing","suodi-nosu","tongren-bonan","uzbeks","wakhi-china","western-xibe","wutun","yidu-lhoba","yinuo-nosu","za"]},extraCountryCodes:["MNG","PRK","JPN"],bbox:[69.2237,24.2385,130.4094,51.3865],provinceLabel:"Tibet Autonomous Region + Sichuan Province + Xinjiang Uyghur Autonomous Region + Gansu Province + Inner Mongolia Autonomous Region + Qinghai Province + Heilongjiang Province + Mongolia + Japan + North Korea",provinces:["Tibet Autonomous Region","Sichuan Province","Xinjiang Uyghur Autonomous Region","Gansu Province","Inner Mongolia Autonomous Region","Qinghai Province","Heilongjiang Province"],adm0:["MNG"]}],Ru=[{id:"uncovered-scatter",label:"Scattered / Diaspora",count:8,contiguous:!1,contiguityExempt:!0,flag:"allowed non-contiguous bucket (S5-D3) — diaspora/island/micro-territory strays + 2 unstamped CHN border PGs",selector:{type:"country_codes",values:["AND","CCK","GUF","USA"]},extra_slugs:["jing","pana-china"],bbox:[-150.7534,-18.855,123.4288,50.0639]},{id:"uncovered-nas-a",label:"Central Asia + Pakistan",count:55,contiguous:!0,contiguityExempt:!1,flag:"NAS-A real frontier zone (09b-asia-contiguity-v2 N-D6): MERGE of the former uncovered-sa-west (AFG+PAK) + uncovered-central-asia (AZE/KGZ/TJK/UZB) into ONE zone owning BOTH the legend count AND the ADM0 render coverage. AFG-PAK-UZB-TJK-KGZ form one contiguous land-border core; AZE is the flagged Caspian-separated near-member (S5-D2). KAZ stays deaf-only (its only PG is deaf-kazakhstanis). Target coverage 55 (design directive; uncovered coverage counts are carried through, not recomputable from admin-membership — NOTE-COUNT). ID kept in the uncovered-* family (NOT asia-frontier-nas-a) because zone-geometry.isAsiaZone() routes any asia-*-prefixed id down the ADM1 listId path — an asia-* id would resolve 0 ADM0 polys and render NOTHING. uncovered-* keeps it on the country_codes/ADM0 render path; re-prefixing is the render-layer's NEXT slice, not this one.",selector:{type:"country_codes",values:["AFG","AZE","KGZ","PAK","TJK","UZB"]},bbox:[42.6538,23.2204,79.3424,44.9954],provinceLabel:"Pakistan + Afghanistan + Uzbekistan + Tajikistan + Kyrgyzstan + Kazakhstan + Azerbaijan"}],Gy=Qo&&Qo.tagName.toUpperCase()==="SCRIPT"&&Qo.src||new URL("my-upg-100-list.js",document.baseURI).href,Oo=e=>String(e||"").trim().replace(/\/+$/,"");function Fu(){try{const t=String(Gy||"").split(/[?#]/)[0].match(/^(.*)\/([^/]+)\/([^/]+)\.js$/);return!t||t[2]!==t[3]?null:t[1]||null}catch{return null}}function Uy(e){const t=e==null?void 0:e.embedBaseUrl;if(typeof t=="string"&&t.trim())return Oo(t);if(typeof window<"u"){const o=window.MAP_EMBED_BASE_URL;if(typeof o=="string"&&o.trim())return Oo(o)}return Oo(Fu()||"")}function Es(e){const t=e==null?void 0:e.assetsBase;if(typeof t=="string"&&t.trim()){const n=Oo(t);if(/^https?:\/\//i.test(n)||n.startsWith("/"))return n}const o=Oo((e==null?void 0:e.treeBase)||"")||Oo(Fu()||"");if(o)try{const n=typeof document<"u"?document.baseURI:void 0;return Oo(new URL(o+"/../assets",n).href)}catch{return Oo(o.replace(/\/[^/]*$/,"")+"/assets")}return"./assets"}function Ky({shareUrl:e,embedPath:t,profileConfig:o}={}){const n=o||null,a=typeof window<"u",r=e||(n==null?void 0:n.shareUrl);if(typeof r=="string"&&r.trim())return r.trim();const s=String(t||(n==null?void 0:n.shareEmbedPath)||"").trim();if(s){if(/^https?:\/\//i.test(s))return s;if(s.startsWith("/"))return a?window.location.origin+s:s;const i=Uy(n),l=s.replace(/^\.\//,"");if(i)return i+"/"+l;if(typeof document<"u")try{return new URL(l,document.baseURI).href}catch{}return l}return a?window.location.origin+window.location.pathname:""}const zy=["country_code","wagf_region","wagf_block","primary_language","religion"];function Hy(e){return e==null?{value:null,label:null}:typeof e=="object"?{value:e.value??null,label:e.label??null}:{value:e,label:null}}function Vy(e){if(e==null||typeof e!="object")return e;const t={...e};for(const o of zy)if(o in t){const{value:n,label:a}=Hy(t[o]);t[o]=n,a!=null&&(t[`${o}_label`]=a)}return t}function Ts(e){return Array.isArray(e)?e.map(Vy):[]}function Ps(e){return Array.isArray(e)?e:e&&typeof e=="object"?e.posts||e.data||e.records||e.results||e.items||[]:[]}function wn(e){return e==null||typeof e!="object"?null:e.slug??null}function Ou(e){return typeof e=="string"&&e.toLowerCase().includes("deaf")}function Wy(e){const t=e==null?null:e.rop1;return t==null?null:typeof t=="object"?t.value??null:t}function xn(e,t){const o=new Set;if(e==null||typeof e!="object"||typeof e.type!="string")throw new Error(`selector-evaluator: malformed selector (expected an object with a string \`type\`), got: ${JSON.stringify(e)}`);const n=Array.isArray(t)?t:[];switch(e.type){case"country_code":{const a=e.value;for(const r of n)if(r&&r.country_code===a){const s=wn(r);s!=null&&o.add(s)}return o}case"country_codes":{const a=new Set(Array.isArray(e.values)?e.values:[]);for(const r of n)if(r&&a.has(r.country_code)){const s=wn(r);s!=null&&o.add(s)}return o}case"wagf_block":{const a=e.value;for(const r of n)if(r&&r.wagf_block===a){const s=wn(r);s!=null&&o.add(s)}return o}case"wagf_region":{const a=e.value;for(const r of n)if(r&&r.wagf_region===a){const s=wn(r);s!=null&&o.add(s)}return o}case"union":{const a=Array.isArray(e.selectors)?e.selectors:[];for(const r of a){const s=xn(r,n);for(const i of s)o.add(i)}return o}case"deaf_predicate":{const a=new Set(Array.isArray(e.regions)?e.regions:[]);for(const r of n){if(!r)continue;if((Ou(r.slug)||Ou(r.name))&&a.has(r.wagf_region)){const i=wn(r);i!=null&&o.add(i)}}return o}case"affinity_bloc":{const a=e.rop1;for(const r of n)if(r&&Wy(r)===a){const s=wn(r);s!=null&&o.add(s)}return o}default:throw new Error(`selector-evaluator: unknown selector type "${e.type}" (supported: country_code, country_codes, wagf_block, wagf_region, union, deaf_predicate, affinity_bloc)`)}}const Yy=Object.freeze(Object.defineProperty({__proto__:null,default:xn,evaluate:xn},Symbol.toStringTag,{value:"Module"})),qy={class:"sec-head"},Jy={class:"sec-name"},Zy={class:"sec-count"},Xy={class:"grid"},Qy=["data-list-id"],e0=["aria-label","onClick"],t0={class:"hcount"},o0={class:"main"},n0=["src","alt","title","onClick","onKeydown","onError"],a0={key:1,class:"ph"},r0={class:"ph-label"},s0={key:0,class:"ph-count"},i0={class:"tape pfs"},l0=["onClick","aria-label"],c0=["onClick","aria-label"],u0=["onClick","aria-label"],d0={class:"modal",role:"dialog","aria-live":"polite"},p0={class:"modal-kind"},g0={class:"modal-title"},f0={class:"modal-err"},h0={class:"modal-soon"},m0={class:"bar"},b0={class:"modal-phase"},y0=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"poster-wall",setup(e){const t={lists:Nu,asia_lists:Iu,uncovered_lists:Ru},o=Te("profileConfig",ce(null)),n=Z(()=>{var I;return((I=o.value)==null?void 0:I.instanceId)||"upg-100-wall"}),a=Z(()=>{var I;return((I=o.value)==null?void 0:I.isDark)===!0}),r=Z(()=>Es(o.value)),s=I=>`${r.value}/posters/${I}.webp`,i=typeof window<"u"&&window.MAP_APP_API_URL||void 0||"",l={"west-africa":"Africa",sudan:"Africa","east-africa":"Africa","central-africa":"Africa","southern-africa-islands":"Africa","maghreb-egypt":"Middle East","middle-east-core":"Middle East","uncovered-nas-a":"Central Asia",laos:"Southeast Asia + Oceania","oceania-indonesia":"Southeast Asia + Oceania","mainland-se-asia-philippines":"Southeast Asia + Oceania",brazil:"Americas","andean-caribbean":"Americas","uncovered-scatter":"Americas",europe:"Europe"},c=I=>l[I]?l[I]:I.startsWith("asia-india-")?"India":I.startsWith("asia-china-")?"China + Mongolia":"Other",u=Z(()=>[...t.lists||[],...t.asia_lists||[],...t.uncovered_lists||[]].filter(I=>I&&I.id)),p=Z(()=>{const I=new Map;for(const B of u.value){const H=c(B.id);I.has(H)||I.set(H,[]),I.get(H).push(B)}return[...I.entries()].map(([B,H])=>({name:B,items:H.slice().sort((O,R)=>(R.count||0)-(O.count||0)),total:H.reduce((O,R)=>O+(R.count||0),0)})).sort((B,H)=>H.total-B.total)}),g=ce(null);function k(I){const B=g.value===I.id;g.value=B?null:I.id,window.dispatchEvent(new CustomEvent("doxa-upg-100-list:show-on-map",{detail:{instanceId:n.value,listId:B?null:I.id,label:B?null:I.label}}))}const w=I=>`${r.value}/previews/${I}.webp`,_=ce({}),d=ce(null),{scrimRef:h,scrimStyle:y}=Mu(d);function v(I,B,{autoprint:H=!1}={}){const O=document.createElement("iframe");O.setAttribute("aria-hidden","true"),O.style.cssText="position:fixed;right:0;bottom:0;width:1px;height:1px;opacity:0;border:0",document.body.appendChild(O);const R=O.contentDocument;if(!R)return O.remove(),null;R.open(),R.write(B),H&&R.write(' - + - + - + - + - + - + + window.FORGE.manifest = {"schema":"doxa-maps-manifest@1","generatedFrom":"plugin-designs/*/*.vue","embedBase":".","bundleCount":21,"profileCount":32,"bundles":[{"bundle":"all-people-groups","scriptUrl":"./all-people-groups/all-people-groups.js","output":"doxa-maps/all-people-groups/all-people-groups.js","integrity":"sha384-cqk7oshuPW5FdnbZ/DyfBBXN2FObAI+V1jrbxmZR2xzNiBtWG65PETQ5/w5PCDB2","elements":["all-people-groups"],"profiles":[{"profile":"all-people-groups","file":"all-people-groups.vue","description":"All 12,379 people groups (peoplegroups.org) in four colors — reached,","element":"all-people-groups","type":"single","isMap":true,"iframeUrl":"./all-people-groups/all-people-groups/index.html","scriptUrl":"./all-people-groups/all-people-groups.js","embed":{"iframe":"\u003ciframe src=\"./all-people-groups/all-people-groups/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./all-people-groups/all-people-groups.js\" integrity=\"sha384-cqk7oshuPW5FdnbZ/DyfBBXN2FObAI+V1jrbxmZR2xzNiBtWG65PETQ5/w5PCDB2\" crossorigin=\"anonymous\">\u003c/script>\n\u003call-people-groups profile-config='{\"profile\":\"all-people-groups\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/all-people-groups>"},"bundle":"all-people-groups"}]},{"bundle":"big-picture","scriptUrl":"./big-picture/big-picture.js","output":"doxa-maps/big-picture/big-picture.js","integrity":"sha384-v0b+aZ7TBxmgUIBBLdKEm6HzwjY3jAGyOFNsKeKCKY4EIRpiWRTcNLavAitHRt8h","elements":["bp-big-picture","bp-research-header","people-groups-grid"],"composes":["bp-research-header","people-groups-grid"],"profiles":[{"profile":"big-picture","file":"big-picture.vue","description":"The Cat-4 composite that PAIRS the two real capability elements of the","element":"bp-big-picture","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./big-picture/big-picture/index.html","scriptUrl":"./big-picture/big-picture.js","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./big-picture/big-picture.js\" integrity=\"sha384-v0b+aZ7TBxmgUIBBLdKEm6HzwjY3jAGyOFNsKeKCKY4EIRpiWRTcNLavAitHRt8h\" crossorigin=\"anonymous\">\u003c/script>\n\u003cbp-big-picture profile-config='{\"profile\":\"big-picture\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/bp-big-picture>"},"instances":[{"id":"big-picture","title":"Big Picture — research header ↔ people-groups grid (composite)","apiBaseUrl":"","props":{"profile":"big-picture","provider":"maplibre","instanceId":"bp-big-picture"},"element":"bp-big-picture","iframeUrl":"./big-picture/big-picture/big-picture/index.html","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/big-picture/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"frontier","title":"Big Picture — frontier accent","apiBaseUrl":"","props":{"profile":"big-picture","provider":"maplibre","instanceId":"bp-big-picture-frontier","accent":"#22d3ee","title":"Big Picture — Frontier Focus"},"element":"bp-big-picture","iframeUrl":"./big-picture/big-picture/frontier/index.html","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/frontier/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"big-picture"}]},{"bundle":"cities-internet","scriptUrl":"./cities-internet/cities-internet.js","output":"doxa-maps/cities-internet/cities-internet.js","integrity":"sha384-VfbtDah7CcZdh9U1LNojwqD50sWSZIzYogPohoATgibTn1s00jLOdq4/98uSfsi+","elements":["cities-internet-map"],"profiles":[{"profile":"connectivity-list","file":"connectivity-list.vue","description":"Countries where DX people groups live, grouped by region, showing measured internet penetration","element":"cities-internet-map","type":"single","isMap":false,"iframeUrl":"./cities-internet/connectivity-list/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/connectivity-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-VfbtDah7CcZdh9U1LNojwqD50sWSZIzYogPohoATgibTn1s00jLOdq4/98uSfsi+\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"connectivity-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}},{"profile":"connectivity-map","file":"connectivity-map.vue","description":"Every country shaded by measured internet penetration, with its named carriers and dominant","element":"cities-internet-map","type":"single","isMap":true,"iframeUrl":"./cities-internet/connectivity-map/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/connectivity-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-VfbtDah7CcZdh9U1LNojwqD50sWSZIzYogPohoATgibTn1s00jLOdq4/98uSfsi+\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"connectivity-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}},{"profile":"data-tables","file":"data-tables.vue","description":"Four validated research tables, one tab each, with sortable and filterable columns, CSV and JSON","element":"cities-internet-map","type":"single","isMap":false,"iframeUrl":"./cities-internet/data-tables/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/data-tables/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-VfbtDah7CcZdh9U1LNojwqD50sWSZIzYogPohoATgibTn1s00jLOdq4/98uSfsi+\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"data-tables\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}}]},{"bundle":"country-posters","scriptUrl":"./country-posters/country-posters.js","output":"doxa-maps/country-posters/country-posters.js","integrity":"sha384-kbTr53oyqrMpgr620HR4W8vLXxT4Ulo5EeCoHebbMjGns5rwNvJP2BLuPyo5XVJj","elements":["country-posters-map"],"profiles":[{"profile":"countries-map","file":"countries-map.vue","description":"The researcher's workbench retargeted from people groups to COUNTRIES — region","element":"country-posters-map","type":"single","isMap":true,"iframeUrl":"./country-posters/countries-map/index.html","scriptUrl":"./country-posters/country-posters.js","embed":{"iframe":"\u003ciframe src=\"./country-posters/countries-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./country-posters/country-posters.js\" integrity=\"sha384-kbTr53oyqrMpgr620HR4W8vLXxT4Ulo5EeCoHebbMjGns5rwNvJP2BLuPyo5XVJj\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccountry-posters-map profile-config='{\"profile\":\"countries-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/country-posters-map>"}},{"profile":"country-poster-wall","file":"country-poster-wall.vue","description":"One printable card per country, grouped into COLLAPSIBLE regional sections so the","element":"country-posters-map","type":"single","isMap":false,"iframeUrl":"./country-posters/country-poster-wall/index.html","scriptUrl":"./country-posters/country-posters.js","embed":{"iframe":"\u003ciframe src=\"./country-posters/country-poster-wall/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./country-posters/country-posters.js\" integrity=\"sha384-kbTr53oyqrMpgr620HR4W8vLXxT4Ulo5EeCoHebbMjGns5rwNvJP2BLuPyo5XVJj\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccountry-posters-map profile-config='{\"profile\":\"country-poster-wall\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/country-posters-map>"}}]},{"bundle":"dashboard-plus-grid","scriptUrl":"./dashboard-plus-grid/dashboard-plus-grid.js","output":"doxa-maps/dashboard-plus-grid/dashboard-plus-grid.js","integrity":"sha384-YbJgljynZ4t3/Ro44oHQy9ihl9/5o7j4IKts8MNRfA73Cb5cyD7U52DklXjzpLpG","elements":["dashboard-plus-grid"],"composes":["research-dashboard","people-groups-grid"],"profiles":[{"profile":"dashboard-plus-grid","file":"dashboard-plus-grid.vue","description":"Both children are IMPORTED DIRECTLY (compiled into this ONE bundle — no runtime bundle","element":"dashboard-plus-grid","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./dashboard-plus-grid/dashboard-plus-grid/index.html","scriptUrl":"./dashboard-plus-grid/dashboard-plus-grid.js","embed":{"iframe":"\u003ciframe src=\"./dashboard-plus-grid/dashboard-plus-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./dashboard-plus-grid/dashboard-plus-grid.js\" integrity=\"sha384-YbJgljynZ4t3/Ro44oHQy9ihl9/5o7j4IKts8MNRfA73Cb5cyD7U52DklXjzpLpG\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdashboard-plus-grid profile-config='{\"profile\":\"dashboard-plus-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/dashboard-plus-grid>"},"instances":[{"id":"default","title":"default","apiBaseUrl":"","props":{"profile":"dashboard-plus-grid"},"element":"dashboard-plus-grid","iframeUrl":"./dashboard-plus-grid/dashboard-plus-grid/default/index.html","embed":{"iframe":"\u003ciframe src=\"./dashboard-plus-grid/dashboard-plus-grid/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"demo-map","scriptUrl":"./demo-map/demo-map.js","output":"doxa-maps/demo-map/demo-map.js","integrity":"sha384-QiUJUgeFn27tiHKVhAYtJuIWo+1z5xsCUP1Nj4m1H4cFUV3vUA7ADTP58Ky3oVtQ","elements":["demo-map"],"profiles":[{"profile":"demo-map","file":"demo-map.vue","description":"Simple two-tab demo map. Tab 1 colors pins by religion (shared","element":"demo-map","type":"parameterized","isMap":true,"iframeUrl":"./demo-map/demo-map/index.html","scriptUrl":"./demo-map/demo-map.js","embed":{"iframe":"\u003ciframe src=\"./demo-map/demo-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./demo-map/demo-map.js\" integrity=\"sha384-QiUJUgeFn27tiHKVhAYtJuIWo+1z5xsCUP1Nj4m1H4cFUV3vUA7ADTP58Ky3oVtQ\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdemo-map profile-config='{\"profile\":\"demo-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/demo-map>"},"instances":[{"id":"maplibre","title":"Demo map — MapLibre (token-free)","apiBaseUrl":"","props":{"profile":"demo-map","provider":"maplibre","instanceId":"demo-maplibre"},"element":"demo-map","iframeUrl":"./demo-map/demo-map/maplibre/index.html","embed":{"iframe":"\u003ciframe src=\"./demo-map/demo-map/maplibre/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"demo-map"}]},{"bundle":"doxa-maps-spa","scriptUrl":"./doxa-maps-spa/doxa-maps-spa.js","output":"doxa-maps/doxa-maps-spa/doxa-maps-spa.js","integrity":"sha384-Ce+DKsLgwfej+rgoWeaWFuMMbR3Y4H+8io/lVL+lQfX0O3iGKwDLf4remDkHGCrP","elements":["doxa-maps-spa"],"composes":["bp-big-picture","doxa-research-map","doxa-simple-map","cities-internet-map","gospel-resources-map","my-upg-100-list-map"],"profiles":[{"profile":"doxa-maps-spa","file":"doxa-maps-spa.vue","description":"The DX-maps app itself: one element whose vertical-tab rail nests every other","element":"doxa-maps-spa","type":"nested-mfe-spa","isMap":false,"iframeUrl":"./doxa-maps-spa/doxa-maps-spa/index.html","scriptUrl":"./doxa-maps-spa/doxa-maps-spa.js","embed":{"iframe":"\u003ciframe src=\"./doxa-maps-spa/doxa-maps-spa/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-maps-spa/doxa-maps-spa.js\" integrity=\"sha384-Ce+DKsLgwfej+rgoWeaWFuMMbR3Y4H+8io/lVL+lQfX0O3iGKwDLf4remDkHGCrP\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-maps-spa profile-config='{\"profile\":\"doxa-maps-spa\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-maps-spa>"},"instances":[{"id":"app","title":"DX-Maps SPA — Big Picture + every research map (app-shell)","apiBaseUrl":"","props":{"profile":"doxa-maps-spa","provider":"maplibre","instanceId":"doxa-maps-spa-app","title":"DX-Maps"},"element":"doxa-maps-spa","iframeUrl":"./doxa-maps-spa/doxa-maps-spa/app/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-maps-spa/doxa-maps-spa/app/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-research-map","scriptUrl":"./doxa-research-map/doxa-research-map.js","output":"doxa-maps/doxa-research-map/doxa-research-map.js","integrity":"sha384-m4l+f0dtSiobgVmlkVLdbrLtQ1XwOTEmN2S++QZFqsYdTeEVuSDMl96aTudjoqB4","elements":["doxa-research-map"],"profiles":[{"profile":"research-map","file":"research-map.vue","description":"The researcher's workbench: every piece a missiologist, demographer or","element":"doxa-research-map","type":"monolithic","isMap":true,"iframeUrl":"./doxa-research-map/research-map/index.html","scriptUrl":"./doxa-research-map/doxa-research-map.js","embed":{"iframe":"\u003ciframe src=\"./doxa-research-map/research-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-research-map/doxa-research-map.js\" integrity=\"sha384-m4l+f0dtSiobgVmlkVLdbrLtQ1XwOTEmN2S++QZFqsYdTeEVuSDMl96aTudjoqB4\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-research-map profile-config='{\"profile\":\"research-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-research-map>"},"instances":[{"id":"maplibre","title":"Research map — MapLibre (token-free, no search bar)","apiBaseUrl":"","props":{"profile":"research-map","provider":"maplibre","instanceId":"research-map-maplibre"},"element":"doxa-research-map","iframeUrl":"./doxa-research-map/research-map/maplibre/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-research-map/research-map/maplibre/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-simple-map","scriptUrl":"./doxa-simple-map/doxa-simple-map.js","output":"doxa-maps/doxa-simple-map/doxa-simple-map.js","integrity":"sha384-hzEui48BqpW8VhRthz3daMgAdw4w4M3gtBre4ce4sXuAmS+39pMRW9reNAvpFb+W","elements":["doxa-map","doxa-simple-map"],"profiles":[{"profile":"doxa-simple-map","file":"doxa-simple-map.vue","description":"The simple world map, shipped as three presets off ONE prop table —","element":"doxa-map","type":"parameterized","isMap":true,"iframeUrl":"./doxa-simple-map/doxa-simple-map/index.html","scriptUrl":"./doxa-simple-map/doxa-simple-map.js","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-simple-map/doxa-simple-map.js\" integrity=\"sha384-hzEui48BqpW8VhRthz3daMgAdw4w4M3gtBre4ce4sXuAmS+39pMRW9reNAvpFb+W\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-map profile-config='{\"profile\":\"doxa-simple-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-map>"},"instances":[{"id":"prayer","title":"Prayer Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-prayer","dataSource":"pray-tools","tabs":[{"id":"prayer","colorStrategy":"prayer","legend":"prayer","popup":"prayer"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/prayer/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/prayer/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"engagement","title":"Engagement Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-engagement","dataSource":"pray-tools","tabs":[{"id":"engagement","colorStrategy":"engagement","legend":"engagement","popup":"engagement"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/engagement/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/engagement/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"adoption","title":"Adoption Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-adoption","dataSource":"pray-tools","tabs":[{"id":"adoption","colorStrategy":"adoption","legend":"adoption","popup":"adoption"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/adoption/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/adoption/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-vision-card","scriptUrl":"./doxa-vision-card/doxa-vision-card.js","output":"doxa-maps/doxa-vision-card/doxa-vision-card.js","integrity":"sha384-2mza3cltN5LQQIrlENG/IVL6Icd9zzcFve3E8R8VWuCdYOGW9uGKFvxcbu6eFfwn","elements":["doxa-vision-card"],"profiles":[{"profile":"doxa-vision-card","file":"doxa-vision-card.vue","description":"The Capability-1 example: ONE folder -> ONE bundle -> ONE element.","element":"doxa-vision-card","type":"parameterized","isMap":false,"iframeUrl":"./doxa-vision-card/doxa-vision-card/index.html","scriptUrl":"./doxa-vision-card/doxa-vision-card.js","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-vision-card/doxa-vision-card.js\" integrity=\"sha384-2mza3cltN5LQQIrlENG/IVL6Icd9zzcFve3E8R8VWuCdYOGW9uGKFvxcbu6eFfwn\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-vision-card profile-config='{\"profile\":\"doxa-vision-card\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-vision-card>"},"instances":[{"id":"default","title":"Vision card — reach at a glance","apiBaseUrl":"","props":{"profile":"doxa-vision-card","provider":"maplibre","instanceId":"vision-card-default"},"element":"doxa-vision-card","iframeUrl":"./doxa-vision-card/doxa-vision-card/default/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"frontier","title":"Vision card — frontier accent","apiBaseUrl":"","props":{"profile":"doxa-vision-card","provider":"maplibre","instanceId":"vision-card-frontier","accent":"#22d3ee","title":"The last frontier of the gospel.","tagline":"Frontier people groups — where fewer than one in a thousand follow Jesus.","stats":[{"value":"1,910","label":"Frontier groups","note":"under 0.1% believers"},{"value":"2.1B","label":"People","note":"living in frontier settings"},{"value":"0.1%","label":"Christian","note":"or fewer, in each group"}]},"element":"doxa-vision-card","iframeUrl":"./doxa-vision-card/doxa-vision-card/frontier/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/frontier/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"doxa-vision-card"}]},{"bundle":"golden-path-check","scriptUrl":"./golden-path-check/golden-path-check.js","output":"doxa-maps/golden-path-check/golden-path-check.js","integrity":"sha384-1V/sT5SkV0U9yTCK9ELIOFfU1ZIJkInIF6nG3UllJ4dxax3RsEAupSGLJEFK6e14","elements":["golden-path-check"],"profiles":[{"profile":"golden-path-check","file":"golden-path-check.vue","description":"A live self-test of the develop-a-plugin-and-see-it-live path: it reads the built","element":"golden-path-check","type":"single","isMap":false,"iframeUrl":"./golden-path-check/golden-path-check/index.html","scriptUrl":"./golden-path-check/golden-path-check.js","embed":{"iframe":"\u003ciframe src=\"./golden-path-check/golden-path-check/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./golden-path-check/golden-path-check.js\" integrity=\"sha384-1V/sT5SkV0U9yTCK9ELIOFfU1ZIJkInIF6nG3UllJ4dxax3RsEAupSGLJEFK6e14\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgolden-path-check profile-config='{\"profile\":\"golden-path-check\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/golden-path-check>"}}]},{"bundle":"gospel-resources","scriptUrl":"./gospel-resources/gospel-resources.js","output":"doxa-maps/gospel-resources/gospel-resources.js","integrity":"sha384-VXjJ4Se+3vtAs3dnqQoWelPf88U32RffjhrVy3usV5m9HHm2fL/CfUq2maQVKhzj","elements":["gospel-resources-map"],"profiles":[{"profile":"charts","file":"charts.vue","description":"The gap by LANGUAGE (ISO 639-3) rather than by people group — because one translation serves every","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/charts/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/charts/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-VXjJ4Se+3vtAs3dnqQoWelPf88U32RffjhrVy3usV5m9HHm2fL/CfUq2maQVKhzj\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"charts\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"data-tables","file":"data-tables.vue","description":"Two validated tables: what resources exist per people group, and whether that access is keeping","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/data-tables/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/data-tables/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-VXjJ4Se+3vtAs3dnqQoWelPf88U32RffjhrVy3usV5m9HHm2fL/CfUq2maQVKhzj\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"data-tables\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"resources-list","file":"resources-list.vue","description":"Which DX people groups have scripture in their own language, and which have none. The zero-resource","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/resources-list/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/resources-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-VXjJ4Se+3vtAs3dnqQoWelPf88U32RffjhrVy3usV5m9HHm2fL/CfUq2maQVKhzj\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"resources-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"resources-map","file":"resources-map.vue","description":"Every country shaded by how much of its unengaged population has NO gospel resource in their own","element":"gospel-resources-map","type":"single","isMap":true,"iframeUrl":"./gospel-resources/resources-map/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/resources-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-VXjJ4Se+3vtAs3dnqQoWelPf88U32RffjhrVy3usV5m9HHm2fL/CfUq2maQVKhzj\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"resources-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}}]},{"bundle":"my-upg-100-list","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","output":"doxa-maps/my-upg-100-list/my-upg-100-list.js","integrity":"sha384-JhtuB6o4/AnwqNK5oJ7/pf95ao5S3mr66nLgJ1tpB0n1IJDFiyxHkUK+WXUm62Z4","elements":["my-upg-100-list-map"],"composes":["my-upg-100-list/upg-100-list","my-upg-100-list/poster-wall"],"profiles":[{"profile":"poster-wall","file":"poster-wall.vue","description":"A wall of printable poster cards, one per 100-list entry, each with a \"Show on map\" action that","element":"my-upg-100-list-map","type":"single","isMap":true,"iframeUrl":"./my-upg-100-list/poster-wall/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/poster-wall/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-JhtuB6o4/AnwqNK5oJ7/pf95ao5S3mr66nLgJ1tpB0n1IJDFiyxHkUK+WXUm62Z4\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"poster-wall\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}},{"profile":"upg-100-list","file":"upg-100-list.vue","description":"A personal unreached-people-groups list painted as true boundary polygons —","element":"my-upg-100-list-map","type":"single","isMap":true,"iframeUrl":"./my-upg-100-list/upg-100-list/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/upg-100-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-JhtuB6o4/AnwqNK5oJ7/pf95ao5S3mr66nLgJ1tpB0n1IJDFiyxHkUK+WXUm62Z4\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"upg-100-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}},{"profile":"upg-100-mfe","file":"upg-100-mfe.vue","description":"The standalone, shareable and embeddable composite of the my-upg-100-list family — it nests the map","element":"my-upg-100-list-map","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./my-upg-100-list/upg-100-mfe/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/upg-100-mfe/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-JhtuB6o4/AnwqNK5oJ7/pf95ao5S3mr66nLgJ1tpB0n1IJDFiyxHkUK+WXUm62Z4\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"upg-100-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}}]},{"bundle":"people-groups-grid","scriptUrl":"./people-groups-grid/people-groups-grid.js","output":"doxa-maps/people-groups-grid/people-groups-grid.js","integrity":"sha384-wyfAzVfoufR5FaDoo3DSivtV33qOexc7PhDYZkXlYmru5FqZgncuUos3nN0kkMJL","elements":["people-groups-grid"],"profiles":[{"profile":"people-groups-grid","file":"people-groups-grid.vue","description":"The people-groups grid as an owned custom element: card list, search and four","element":"people-groups-grid","type":"parameterized","isMap":false,"iframeUrl":"./people-groups-grid/people-groups-grid/index.html","scriptUrl":"./people-groups-grid/people-groups-grid.js","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./people-groups-grid/people-groups-grid.js\" integrity=\"sha384-wyfAzVfoufR5FaDoo3DSivtV33qOexc7PhDYZkXlYmru5FqZgncuUos3nN0kkMJL\" crossorigin=\"anonymous\">\u003c/script>\n\u003cpeople-groups-grid profile-config='{\"profile\":\"people-groups-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/people-groups-grid>"},"instances":[{"id":"people-groups-grid","title":"People Groups Grid — standalone (own search + 4 dropdowns)","apiBaseUrl":"","props":{"profile":"people-groups-grid","provider":"maplibre","instanceId":"people-groups-grid","pray-base-url":"https://pray.doxa.life"},"element":"people-groups-grid","iframeUrl":"./people-groups-grid/people-groups-grid/people-groups-grid/index.html","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/people-groups-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"driven","title":"People Groups Grid — externally driven (controls off, props/events)","apiBaseUrl":"","props":{"profile":"people-groups-grid","provider":"maplibre","instanceId":"people-groups-grid-driven","pray-base-url":"https://pray.doxa.life","show-search":"false","show-filters":"false"},"element":"people-groups-grid","iframeUrl":"./people-groups-grid/people-groups-grid/driven/index.html","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/driven/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"plugin-studio","scriptUrl":"./plugin-studio/plugin-studio.js","output":"doxa-maps/plugin-studio/plugin-studio.js","integrity":"sha384-2RlLFRU2XdjBN7w+FPguj8INgj57JFg4IFT2AmdefGnR9QQLehbiiAffV45LcsFH","elements":["plugin-studio"],"composes":["bp-big-picture","people-groups-grid","doxa-research-map","doxa-simple-map","cities-internet-map","gospel-resources-map","my-upg-100-list-map","doxa-vision-card","all-people-groups","research-dashboard"],"profiles":[{"profile":"plugin-studio","file":"plugin-studio.vue","description":"The developer's viewing surface: a sidebar that is the composability ladder","element":"plugin-studio","type":"nested-mfe-spa","isMap":false,"iframeUrl":"./plugin-studio/plugin-studio/index.html","scriptUrl":"./plugin-studio/plugin-studio.js","embed":{"iframe":"\u003ciframe src=\"./plugin-studio/plugin-studio/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./plugin-studio/plugin-studio.js\" integrity=\"sha384-2RlLFRU2XdjBN7w+FPguj8INgj57JFg4IFT2AmdefGnR9QQLehbiiAffV45LcsFH\" crossorigin=\"anonymous\">\u003c/script>\n\u003cplugin-studio profile-config='{\"profile\":\"plugin-studio\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/plugin-studio>"},"instances":[{"id":"studio","title":"Plugin Studio — every element by capability 5 -> 1 (developer studio)","apiBaseUrl":"","props":{"profile":"plugin-studio","provider":"maplibre","instanceId":"plugin-studio","title":"Plugin Studio"},"element":"plugin-studio","iframeUrl":"./plugin-studio/plugin-studio/studio/index.html","embed":{"iframe":"\u003ciframe src=\"./plugin-studio/plugin-studio/studio/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"prayer-walk-planner","scriptUrl":"./prayer-walk-planner/prayer-walk-planner.js","output":"doxa-maps/prayer-walk-planner/prayer-walk-planner.js","integrity":"sha384-F0+r4avX8xkXp0hBpU5EBPU0InMRCObIn2Ieh9HJNn1r2amk8/qHmJ68WuNfsirC","elements":["prayer-walk-planner"],"profiles":[{"profile":"prayer-walk-planner","file":"prayer-walk-planner.vue","description":"A simple polygon-drawing tool for planning prayer-walking routes.","element":"prayer-walk-planner","type":"single","isMap":true,"iframeUrl":"./prayer-walk-planner/prayer-walk-planner/index.html","scriptUrl":"./prayer-walk-planner/prayer-walk-planner.js","embed":{"iframe":"\u003ciframe src=\"./prayer-walk-planner/prayer-walk-planner/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./prayer-walk-planner/prayer-walk-planner.js\" integrity=\"sha384-F0+r4avX8xkXp0hBpU5EBPU0InMRCObIn2Ieh9HJNn1r2amk8/qHmJ68WuNfsirC\" crossorigin=\"anonymous\">\u003c/script>\n\u003cprayer-walk-planner profile-config='{\"profile\":\"prayer-walk-planner\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/prayer-walk-planner>"}}]},{"bundle":"regions-dashboard","scriptUrl":"./regions-dashboard/regions-dashboard.js","output":"doxa-maps/regions-dashboard/regions-dashboard.js","integrity":"sha384-DCmfPJdlsSwflCxB7aJlhn12a8oSKWbRDEBj71DiqSxRFWGkMG11LgV73ksxur/i","elements":["regions-dashboard"],"composes":["regions-dashboard/regions-list","regions-dashboard/region-dashboards"],"profiles":[{"profile":"region-dashboards","file":"region-dashboards.vue","description":"The dashboard half of the Driver's 2-tab Regions element: given a region (or a","element":"regions-dashboard","type":"single","isMap":true,"iframeUrl":"./regions-dashboard/region-dashboards/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/region-dashboards/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-DCmfPJdlsSwflCxB7aJlhn12a8oSKWbRDEBj71DiqSxRFWGkMG11LgV73ksxur/i\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"region-dashboards\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}},{"profile":"regions-list","file":"regions-list.vue","description":"A refactor of DX-life's /regions index page (app/pages/regions/index.vue) into","element":"regions-dashboard","type":"single","isMap":true,"iframeUrl":"./regions-dashboard/regions-list/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/regions-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-DCmfPJdlsSwflCxB7aJlhn12a8oSKWbRDEBj71DiqSxRFWGkMG11LgV73ksxur/i\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"regions-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}},{"profile":"regions-mfe","file":"regions-mfe.vue","description":"The composite the Driver asked for: ONE element carrying the SELECT VIEW switcher","element":"regions-dashboard","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./regions-dashboard/regions-mfe/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/regions-mfe/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-DCmfPJdlsSwflCxB7aJlhn12a8oSKWbRDEBj71DiqSxRFWGkMG11LgV73ksxur/i\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"regions-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}}]},{"bundle":"research-dashboard","scriptUrl":"./research-dashboard/research-dashboard.js","output":"doxa-maps/research-dashboard/research-dashboard.js","integrity":"sha384-VvOYWBcDd7NtnB1eveECKX88ZHIpGnOf79tVdCUqGZzXLgoZPc+oTTPIC3ajaYsn","elements":["research-dashboard-map"],"profiles":[{"profile":"research-dashboard","file":"research-dashboard.vue","description":"Coordinated-Multiple-Views research dashboard for 10/40-window UPGs (live pray.doxa.life): docked facet rail + map-as-hero + linked table/charts, brushing-and-linking over one in-memory store.","element":"research-dashboard-map","type":"monolithic","isMap":true,"iframeUrl":"./research-dashboard/research-dashboard/index.html","scriptUrl":"./research-dashboard/research-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./research-dashboard/research-dashboard/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./research-dashboard/research-dashboard.js\" integrity=\"sha384-VvOYWBcDd7NtnB1eveECKX88ZHIpGnOf79tVdCUqGZzXLgoZPc+oTTPIC3ajaYsn\" crossorigin=\"anonymous\">\u003c/script>\n\u003cresearch-dashboard-map profile-config='{\"profile\":\"research-dashboard\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/research-dashboard-map>"},"bundle":"research-dashboard"}]},{"bundle":"research-map-plus-grid","scriptUrl":"./research-map-plus-grid/research-map-plus-grid.js","output":"doxa-maps/research-map-plus-grid/research-map-plus-grid.js","integrity":"sha384-sOkaMV0UFr2uNXfoJpRvaD+gHD6xFlkmpR7MzEwwFdarYdid8aN9Nj1Y8TqQJuFo","elements":["research-map-plus-grid"],"composes":["doxa-research-map","people-groups-grid"],"profiles":[{"profile":"research-map-plus-grid","file":"research-map-plus-grid.vue","description":"The monolithic 7-tab research map (cap-3) on top, the People Groups grid beneath,","element":"research-map-plus-grid","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./research-map-plus-grid/research-map-plus-grid/index.html","scriptUrl":"./research-map-plus-grid/research-map-plus-grid.js","embed":{"iframe":"\u003ciframe src=\"./research-map-plus-grid/research-map-plus-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./research-map-plus-grid/research-map-plus-grid.js\" integrity=\"sha384-sOkaMV0UFr2uNXfoJpRvaD+gHD6xFlkmpR7MzEwwFdarYdid8aN9Nj1Y8TqQJuFo\" crossorigin=\"anonymous\">\u003c/script>\n\u003cresearch-map-plus-grid profile-config='{\"profile\":\"research-map-plus-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/research-map-plus-grid>"},"instances":[{"id":"default","title":"default","apiBaseUrl":"","props":{"profile":"research-map-plus-grid"},"element":"research-map-plus-grid","iframeUrl":"./research-map-plus-grid/research-map-plus-grid/default/index.html","embed":{"iframe":"\u003ciframe src=\"./research-map-plus-grid/research-map-plus-grid/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"stack-demo","scriptUrl":"./stack-demo/stack-demo.js","output":"doxa-maps/stack-demo/stack-demo.js","integrity":"sha384-gnwM6s+puf1K60Nl7crQcC2QC+9BxwpkaTx4OepLZ8VUCraZc+aRlWpsb6nj6Gyf","elements":["stack-demo"],"composes":["research-dashboard-map","people-groups-grid"],"profiles":[{"profile":"stack-demo","file":"stack-demo.vue","description":"Groups TWO independent elements TOP-TO-BOTTOM so you can embed the pair on a page and","element":"stack-demo","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./stack-demo/stack-demo/index.html","scriptUrl":"./stack-demo/stack-demo.js","embed":{"iframe":"\u003ciframe src=\"./stack-demo/stack-demo/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./stack-demo/stack-demo.js\" integrity=\"sha384-gnwM6s+puf1K60Nl7crQcC2QC+9BxwpkaTx4OepLZ8VUCraZc+aRlWpsb6nj6Gyf\" crossorigin=\"anonymous\">\u003c/script>\n\u003cstack-demo profile-config='{\"profile\":\"stack-demo\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/stack-demo>"},"instances":[{"id":"pair","title":"pair","apiBaseUrl":"","props":{"profile":"stack-demo"},"element":"stack-demo","iframeUrl":"./stack-demo/stack-demo/pair/index.html","embed":{"iframe":"\u003ciframe src=\"./stack-demo/stack-demo/pair/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"template-bundle","scriptUrl":"./template-bundle/template-bundle.js","output":"doxa-maps/template-bundle/template-bundle.js","integrity":"sha384-k+G5UlkZ99QmuecCCWUrjz998JBJnQT3hsDG0A+IVmiX9F3CNswmHXXzYhjnUTDX","elements":["template-bundle"],"profiles":[{"profile":"template-map-a","file":"template-map-a.vue","description":"Minimal example profile A — a colored placeholder, no Mapbox or data.","element":"template-bundle","type":"single","isMap":false,"iframeUrl":"./template-bundle/template-map-a/index.html","scriptUrl":"./template-bundle/template-bundle.js","embed":{"iframe":"\u003ciframe src=\"./template-bundle/template-map-a/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./template-bundle/template-bundle.js\" integrity=\"sha384-k+G5UlkZ99QmuecCCWUrjz998JBJnQT3hsDG0A+IVmiX9F3CNswmHXXzYhjnUTDX\" crossorigin=\"anonymous\">\u003c/script>\n\u003ctemplate-bundle profile-config='{\"profile\":\"template-map-a\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/template-bundle>"},"bundle":"template-bundle"},{"profile":"template-map-b","file":"template-map-b.vue","description":"Minimal example profile B — a second profile in the same bundle.","element":"template-bundle","type":"single","isMap":false,"iframeUrl":"./template-bundle/template-map-b/index.html","scriptUrl":"./template-bundle/template-bundle.js","embed":{"iframe":"\u003ciframe src=\"./template-bundle/template-map-b/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./template-bundle/template-bundle.js\" integrity=\"sha384-k+G5UlkZ99QmuecCCWUrjz998JBJnQT3hsDG0A+IVmiX9F3CNswmHXXzYhjnUTDX\" crossorigin=\"anonymous\">\u003c/script>\n\u003ctemplate-bundle profile-config='{\"profile\":\"template-map-b\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/template-bundle>"},"bundle":"template-bundle"}]}]}; \n\n" + "script": "\n\n" } }, { @@ -674,7 +674,7 @@ "scriptUrl": "./my-upg-100-list/my-upg-100-list.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -688,7 +688,7 @@ "scriptUrl": "./my-upg-100-list/my-upg-100-list.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } } ] diff --git a/public/doxa-maps/my-upg-100-list/my-upg-100-list.js b/public/doxa-maps/my-upg-100-list/my-upg-100-list.js index 247cabd75..f56f4d79b 100644 --- a/public/doxa-maps/my-upg-100-list/my-upg-100-list.js +++ b/public/doxa-maps/my-upg-100-list/my-upg-100-list.js @@ -1,46 +1,46 @@ -(function(){"use strict";var jd;var Qo=typeof document<"u"?document.currentScript:null;const Nw="modulepreload",Iw=function(e){return"/"+e},Rw={},En=function(t,o,n){let a=Promise.resolve();function r(s){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s}return a.then(s=>{for(const i of s||[])i.status==="rejected"&&r(i.reason);return t().catch(r)})};/** +(function(){"use strict";var zd;var Qo=typeof document<"u"?document.currentScript:null;const Hw="modulepreload",Vw=function(e){return"/"+e},Ww={},Cn=function(t,o,n){let a=Promise.resolve();function r(s){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s}return a.then(s=>{for(const i of s||[])i.status==="rejected"&&r(i.reason);return t().catch(r)})};/** * @vue/shared v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function br(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const ze={},en=[],qt=()=>{},hi=()=>!1,da=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),pa=e=>e.startsWith("onUpdate:"),nt=Object.assign,yr=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},zd=Object.prototype.hasOwnProperty,Re=(e,t)=>zd.call(e,t),ke=Array.isArray,Co=e=>Tn(e)==="[object Map]",ga=e=>Tn(e)==="[object Set]",mi=e=>Tn(e)==="[object Date]",xe=e=>typeof e=="function",Ve=e=>typeof e=="string",It=e=>typeof e=="symbol",je=e=>e!==null&&typeof e=="object",bi=e=>(je(e)||xe(e))&&xe(e.then)&&xe(e.catch),yi=Object.prototype.toString,Tn=e=>yi.call(e),Hd=e=>Tn(e).slice(8,-1),fa=e=>Tn(e)==="[object Object]",ha=e=>Ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Pn=br(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ma=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},Vd=/-\w/g,gt=ma(e=>e.replace(Vd,t=>t.slice(1).toUpperCase())),Wd=/\B([A-Z])/g,Rt=ma(e=>e.replace(Wd,"-$1").toLowerCase()),ba=ma(e=>e.charAt(0).toUpperCase()+e.slice(1)),_r=ma(e=>e?`on${ba(e)}`:""),Jt=(e,t)=>!Object.is(e,t),ya=(e,...t)=>{for(let o=0;o{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},vr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},vi=e=>{const t=Ve(e)?Number(e):NaN;return isNaN(t)?e:t};let ki;const _a=()=>ki||(ki=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function et(e){if(ke(e)){const t={};for(let o=0;o{if(o){const n=o.split(qd);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Le(e){let t="";if(Ve(e))t=e;else if(ke(e))for(let o=0;o!!(e&&e.__v_isRef===!0),ue=e=>Ve(e)?e:e==null?"":ke(e)||je(e)&&(e.toString===yi||!xe(e.toString))?Si(e)?ue(e.value):JSON.stringify(e,Ai,2):String(e),Ai=(e,t)=>Si(t)?Ai(e,t.value):Co(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[n,a],r)=>(o[kr(n,r)+" =>"]=a,o),{})}:ga(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>kr(o))}:It(t)?kr(t):je(t)&&!ke(t)&&!fa(t)?String(t):t,kr=(e,t="")=>{var o;return It(e)?`Symbol(${(o=e.description)!=null?o:t})`:e};/** +**/function _r(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const Ve={},en=[],qt=()=>{},yi=()=>!1,pa=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ga=e=>e.startsWith("onUpdate:"),ot=Object.assign,vr=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},Yd=Object.prototype.hasOwnProperty,Fe=(e,t)=>Yd.call(e,t),ke=Array.isArray,Lo=e=>Tn(e)==="[object Map]",fa=e=>Tn(e)==="[object Set]",_i=e=>Tn(e)==="[object Date]",xe=e=>typeof e=="function",We=e=>typeof e=="string",It=e=>typeof e=="symbol",Ge=e=>e!==null&&typeof e=="object",vi=e=>(Ge(e)||xe(e))&&xe(e.then)&&xe(e.catch),ki=Object.prototype.toString,Tn=e=>ki.call(e),qd=e=>Tn(e).slice(8,-1),ha=e=>Tn(e)==="[object Object]",ma=e=>We(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Pn=_r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ba=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},Jd=/-\w/g,gt=ba(e=>e.replace(Jd,t=>t.slice(1).toUpperCase())),Zd=/\B([A-Z])/g,Rt=ba(e=>e.replace(Zd,"-$1").toLowerCase()),ya=ba(e=>e.charAt(0).toUpperCase()+e.slice(1)),kr=ba(e=>e?`on${ya(e)}`:""),Jt=(e,t)=>!Object.is(e,t),_a=(e,...t)=>{for(let o=0;o{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},wr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},xi=e=>{const t=We(e)?Number(e):NaN;return isNaN(t)?e:t};let Si;const va=()=>Si||(Si=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function et(e){if(ke(e)){const t={};for(let o=0;o{if(o){const n=o.split(Qd);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Le(e){let t="";if(We(e))t=e;else if(ke(e))for(let o=0;o!!(e&&e.__v_isRef===!0),ce=e=>We(e)?e:e==null?"":ke(e)||Ge(e)&&(e.toString===ki||!xe(e.toString))?Li(e)?ce(e.value):JSON.stringify(e,Ei,2):String(e),Ei=(e,t)=>Li(t)?Ei(e,t.value):Lo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[n,a],r)=>(o[xr(n,r)+" =>"]=a,o),{})}:fa(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>xr(o))}:It(t)?xr(t):Ge(t)&&!ke(t)&&!ha(t)?String(t):t,xr=(e,t="")=>{var o;return It(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 ut;class $i{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&ut&&(ut.active?(this.parent=ut,this.index=(ut.scopes||(ut.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,o;if(this.scopes){const n=this.scopes.slice();for(t=0,o=n.length;t0&&--this._on===0){if(ut===this)ut=this.prevScope;else{let t=ut;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let o,n;for(o=0,n=this.effects.length;o0)return;if(Nn){let t=Nn;for(Nn=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;Mn;){let t=Mn;for(Mn=void 0;t;){const o=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=o}}if(e)throw e}function Pi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Mi(e){let t,o=e.depsTail,n=o;for(;n;){const a=n.prevDep;n.version===-1?(n===o&&(o=a),Lr(n),tp(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=a}e.deps=t,e.depsTail=o}function $r(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ni(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ni(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===In)||(e.globalVersion=In,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!$r(e))))return;e.flags|=2;const t=e.dep,o=We,n=Ut;We=e,Ut=!0;try{Pi(e);const a=e.fn(e._value);(t.version===0||Jt(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(a){throw t.version++,a}finally{We=o,Ut=n,Mi(e),e.flags&=-3}}function Lr(e,t=!1){const{dep:o,prevSub:n,nextSub:a}=e;if(n&&(n.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=n,e.nextSub=void 0),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let r=o.computed.deps;r;r=r.nextDep)Lr(r,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function tp(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let Ut=!0;const Ii=[];function Zt(){Ii.push(Ut),Ut=!1}function Xt(){const e=Ii.pop();Ut=e===void 0?!0:e}function Ri(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=We;We=void 0;try{t()}finally{We=o}}}let In=0;class op{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 Cr{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!We||!Ut||We===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==We)o=this.activeLink=new op(We,this),We.deps?(o.prevDep=We.depsTail,We.depsTail.nextDep=o,We.depsTail=o):We.deps=We.depsTail=o,Fi(o);else if(o.version===-1&&(o.version=this.version,o.nextDep)){const n=o.nextDep;n.prevDep=o.prevDep,o.prevDep&&(o.prevDep.nextDep=n),o.prevDep=We.depsTail,o.nextDep=void 0,We.depsTail.nextDep=o,We.depsTail=o,We.deps===o&&(We.deps=n)}return o}trigger(t){this.version++,In++,this.notify(t)}notify(t){Sr();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{Ar()}}}function Fi(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)Fi(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const ka=new WeakMap,Go=Symbol(""),Er=Symbol(""),Rn=Symbol("");function xt(e,t,o){if(Ut&&We){let n=ka.get(e);n||ka.set(e,n=new Map);let a=n.get(o);a||(n.set(o,a=new Cr),a.map=n,a.key=o),a.track()}}function po(e,t,o,n,a,r){const s=ka.get(e);if(!s){In++;return}const i=l=>{l&&l.trigger()};if(Sr(),t==="clear")s.forEach(i);else{const l=ke(e),c=l&&ha(o);if(l&&o==="length"){const u=Number(n);s.forEach((p,g)=>{(g==="length"||g===Rn||!It(g)&&g>=u)&&i(p)})}else switch((o!==void 0||s.has(void 0))&&i(s.get(o)),c&&i(s.get(Rn)),t){case"add":l?c&&i(s.get("length")):(i(s.get(Go)),Co(e)&&i(s.get(Er)));break;case"delete":l||(i(s.get(Go)),Co(e)&&i(s.get(Er)));break;case"set":Co(e)&&i(s.get(Go));break}}Ar()}function np(e,t){const o=ka.get(e);return o&&o.get(t)}function tn(e){const t=Me(e);return t===e?t:(xt(t,"iterate",Rn),Ft(e)?t:t.map(Kt))}function wa(e){return xt(e=Me(e),"iterate",Rn),e}function Qt(e,t){return ho(e)?nn(fo(e)?Kt(t):t):Kt(t)}const ap={__proto__:null,[Symbol.iterator](){return Tr(this,Symbol.iterator,e=>Qt(this,e))},concat(...e){return tn(this).concat(...e.map(t=>ke(t)?tn(t):t))},entries(){return Tr(this,"entries",e=>(e[1]=Qt(this,e[1]),e))},every(e,t){return go(this,"every",e,t,void 0,arguments)},filter(e,t){return go(this,"filter",e,t,o=>o.map(n=>Qt(this,n)),arguments)},find(e,t){return go(this,"find",e,t,o=>Qt(this,o),arguments)},findIndex(e,t){return go(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return go(this,"findLast",e,t,o=>Qt(this,o),arguments)},findLastIndex(e,t){return go(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return go(this,"forEach",e,t,void 0,arguments)},includes(...e){return Pr(this,"includes",e)},indexOf(...e){return Pr(this,"indexOf",e)},join(e){return tn(this).join(e)},lastIndexOf(...e){return Pr(this,"lastIndexOf",e)},map(e,t){return go(this,"map",e,t,void 0,arguments)},pop(){return Fn(this,"pop")},push(...e){return Fn(this,"push",e)},reduce(e,...t){return Oi(this,"reduce",e,t)},reduceRight(e,...t){return Oi(this,"reduceRight",e,t)},shift(){return Fn(this,"shift")},some(e,t){return go(this,"some",e,t,void 0,arguments)},splice(...e){return Fn(this,"splice",e)},toReversed(){return tn(this).toReversed()},toSorted(e){return tn(this).toSorted(e)},toSpliced(...e){return tn(this).toSpliced(...e)},unshift(...e){return Fn(this,"unshift",e)},values(){return Tr(this,"values",e=>Qt(this,e))}};function Tr(e,t,o){const n=wa(e),a=n[t]();return n!==e&&!Ft(e)&&(a._next=a.next,a.next=()=>{const r=a._next();return r.done||(r.value=o(r.value)),r}),a}const rp=Array.prototype;function go(e,t,o,n,a,r){const s=wa(e),i=s!==e&&!Ft(e),l=s[t];if(l!==rp[t]){const p=l.apply(e,r);return i?Kt(p):p}let c=o;s!==e&&(i?c=function(p,g){return o.call(this,Qt(e,p),g,e)}:o.length>2&&(c=function(p,g){return o.call(this,p,g,e)}));const u=l.call(s,c,n);return i&&a?a(u):u}function Oi(e,t,o,n){const a=wa(e),r=a!==e&&!Ft(e);let s=o,i=!1;a!==e&&(r?(i=n.length===0,s=function(c,u,p){return i&&(i=!1,c=Qt(e,c)),o.call(this,c,Qt(e,u),p,e)}):o.length>3&&(s=function(c,u,p){return o.call(this,c,u,p,e)}));const l=a[t](s,...n);return i?Qt(e,l):l}function Pr(e,t,o){const n=Me(e);xt(n,"iterate",Rn);const a=n[t](...o);return(a===-1||a===!1)&&La(o[0])?(o[0]=Me(o[0]),n[t](...o)):a}function Fn(e,t,o=[]){Zt(),Sr();const n=Me(e)[t].apply(e,o);return Ar(),Xt(),n}const sp=br("__proto__,__v_isRef,__isVue"),Di=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(It));function ip(e){It(e)||(e=String(e));const t=Me(this);return xt(t,"has",e),t.hasOwnProperty(e)}class Bi{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const a=this._isReadonly,r=this._isShallow;if(o==="__v_isReactive")return!a;if(o==="__v_isReadonly")return a;if(o==="__v_isShallow")return r;if(o==="__v_raw")return n===(a?r?Hi:zi:r?Ki:Ui).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const s=ke(t);if(!a){let l;if(s&&(l=ap[o]))return l;if(o==="hasOwnProperty")return ip}const i=Reflect.get(t,o,Ze(t)?t:n);if((It(o)?Di.has(o):sp(o))||(a||xt(t,"get",o),r))return i;if(Ze(i)){const l=s&&ha(o)?i:i.value;return a&&je(l)?Nr(l):l}return je(i)?a?Nr(i):on(i):i}}class ji extends Bi{constructor(t=!1){super(!1,t)}set(t,o,n,a){let r=t[o];const s=ke(t)&&ha(o);if(!this._isShallow){const c=ho(r);if(!Ft(n)&&!ho(n)&&(r=Me(r),n=Me(n)),!s&&Ze(r)&&!Ze(n))return c||(r.value=n),!0}const i=s?Number(o)e,xa=e=>Reflect.getPrototypeOf(e);function pp(e,t,o){return function(...n){const a=this.__v_raw,r=Me(a),s=Co(r),i=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,c=a[e](...n),u=o?Mr:t?nn:Kt;return!t&&xt(r,"iterate",l?Er:Go),nt(Object.create(c),{next(){const{value:p,done:g}=c.next();return g?{value:p,done:g}:{value:i?[u(p[0]),u(p[1])]:u(p),done:g}}})}}function Sa(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function gp(e,t){const o={get(a){const r=this.__v_raw,s=Me(r),i=Me(a);e||(Jt(a,i)&&xt(s,"get",a),xt(s,"get",i));const{has:l}=xa(s),c=t?Mr:e?nn:Kt;if(l.call(s,a))return c(r.get(a));if(l.call(s,i))return c(r.get(i));r!==s&&r.get(a)},get size(){const a=this.__v_raw;return!e&&xt(Me(a),"iterate",Go),a.size},has(a){const r=this.__v_raw,s=Me(r),i=Me(a);return e||(Jt(a,i)&&xt(s,"has",a),xt(s,"has",i)),a===i?r.has(a):r.has(a)||r.has(i)},forEach(a,r){const s=this,i=s.__v_raw,l=Me(i),c=t?Mr:e?nn:Kt;return!e&&xt(l,"iterate",Go),i.forEach((u,p)=>a.call(r,c(u),c(p),s))}};return nt(o,e?{add:Sa("add"),set:Sa("set"),delete:Sa("delete"),clear:Sa("clear")}:{add(a){const r=Me(this),s=xa(r),i=Me(a),l=!t&&!Ft(a)&&!ho(a)?i:a;return s.has.call(r,l)||Jt(a,l)&&s.has.call(r,a)||Jt(i,l)&&s.has.call(r,i)||(r.add(l),po(r,"add",l,l)),this},set(a,r){!t&&!Ft(r)&&!ho(r)&&(r=Me(r));const s=Me(this),{has:i,get:l}=xa(s);let c=i.call(s,a);c||(a=Me(a),c=i.call(s,a));const u=l.call(s,a);return s.set(a,r),c?Jt(r,u)&&po(s,"set",a,r):po(s,"add",a,r),this},delete(a){const r=Me(this),{has:s,get:i}=xa(r);let l=s.call(r,a);l||(a=Me(a),l=s.call(r,a)),i&&i.call(r,a);const c=r.delete(a);return l&&po(r,"delete",a,void 0),c},clear(){const a=Me(this),r=a.size!==0,s=a.clear();return r&&po(a,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(a=>{o[a]=pp(a,e,t)}),o}function Aa(e,t){const o=gp(e,t);return(n,a,r)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?n:Reflect.get(Re(o,a)&&a in n?o:n,a,r)}const fp={get:Aa(!1,!1)},hp={get:Aa(!1,!0)},mp={get:Aa(!0,!1)},bp={get:Aa(!0,!0)},Ui=new WeakMap,Ki=new WeakMap,zi=new WeakMap,Hi=new WeakMap;function yp(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function on(e){return ho(e)?e:$a(e,!1,lp,fp,Ui)}function _p(e){return $a(e,!1,up,hp,Ki)}function Nr(e){return $a(e,!0,cp,mp,zi)}function Ow(e){return $a(e,!0,dp,bp,Hi)}function $a(e,t,o,n,a){if(!je(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const r=a.get(e);if(r)return r;const s=yp(Hd(e));if(s===0)return e;const i=new Proxy(e,s===2?n:o);return a.set(e,i),i}function fo(e){return ho(e)?fo(e.__v_raw):!!(e&&e.__v_isReactive)}function ho(e){return!!(e&&e.__v_isReadonly)}function Ft(e){return!!(e&&e.__v_isShallow)}function La(e){return e?!!e.__v_raw:!1}function Me(e){const t=e&&e.__v_raw;return t?Me(t):e}function Uo(e){return!Re(e,"__v_skip")&&Object.isExtensible(e)&&_i(e,"__v_skip",!0),e}const Kt=e=>je(e)?on(e):e,nn=e=>je(e)?Nr(e):e;function Ze(e){return e?e.__v_isRef===!0:!1}function ce(e){return Vi(e,!1)}function an(e){return Vi(e,!0)}function Vi(e,t){return Ze(e)?e:new vp(e,t)}class vp{constructor(t,o){this.dep=new Cr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:Me(t),this._value=o?t:Kt(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||Ft(t)||ho(t);t=n?t:Me(t),Jt(t,o)&&(this._rawValue=t,this._value=n?t:Kt(t),this.dep.trigger())}}function ye(e){return Ze(e)?e.value:e}const kp={get:(e,t,o)=>t==="__v_raw"?e:ye(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const a=e[t];return Ze(a)&&!Ze(o)?(a.value=o,!0):Reflect.set(e,t,o,n)}};function Wi(e){return fo(e)?e:new Proxy(e,kp)}function wp(e){const t=ke(e)?new Array(e.length):{};for(const o in e)t[o]=Yi(e,o);return t}class xp{constructor(t,o,n){this._object=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=It(o)?o:String(o),this._raw=Me(t);let a=!0,r=t;if(!ke(t)||It(this._key)||!ha(this._key))do a=!La(r)||Ft(r);while(a&&(r=r.__v_raw));this._shallow=a}get value(){let t=this._object[this._key];return this._shallow&&(t=ye(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ze(this._raw[this._key])){const o=this._object[this._key];if(Ze(o)){o.value=t;return}}this._object[this._key]=t}get dep(){return np(this._raw,this._key)}}class Sp{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 Ap(e,t,o){return Ze(e)?e:xe(e)?new Sp(e):je(e)&&arguments.length>1?Yi(e,t,o):ce(e)}function Yi(e,t,o){return new xp(e,t,o)}class $p{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new Cr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=In-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&We!==this)return Ti(this,!0),!0}get value(){const t=this.dep.track();return Ni(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Lp(e,t,o=!1){let n,a;return xe(e)?n=e:(n=e.get,a=e.set),new $p(n,a,o)}const Ca={},Ea=new WeakMap;let Ko;function Cp(e,t=!1,o=Ko){if(o){let n=Ea.get(o);n||Ea.set(o,n=[]),n.push(e)}}function Ep(e,t,o=ze){const{immediate:n,deep:a,once:r,scheduler:s,augmentJob:i,call:l}=o,c=b=>a?b:Ft(b)||a===!1||a===0?mo(b,1):mo(b);let u,p,g,k,w=!1,_=!1;if(Ze(e)?(p=()=>e.value,w=Ft(e)):fo(e)?(p=()=>c(e),w=!0):ke(e)?(_=!0,w=e.some(b=>fo(b)||Ft(b)),p=()=>e.map(b=>{if(Ze(b))return b.value;if(fo(b))return c(b);if(xe(b))return l?l(b,2):b()})):xe(e)?t?p=l?()=>l(e,2):e:p=()=>{if(g){Zt();try{g()}finally{Xt()}}const b=Ko;Ko=u;try{return l?l(e,3,[k]):e(k)}finally{Ko=b}}:p=qt,t&&a){const b=p,x=a===!0?1/0:a;p=()=>mo(b(),x)}const d=Li(),h=()=>{u.stop(),d&&d.active&&yr(d.effects,u)};if(r&&t){const b=t;t=(...x)=>{const A=b(...x);return h(),A}}let y=_?new Array(e.length).fill(Ca):Ca;const v=b=>{if(!(!(u.flags&1)||!u.dirty&&!b))if(t){const x=u.run();if(b||a||w||(_?x.some((A,L)=>Jt(A,y[L])):Jt(x,y))){g&&g();const A=Ko;Ko=u;try{const L=[x,y===Ca?void 0:_&&y[0]===Ca?[]:y,k];y=x,l?l(t,3,L):t(...L)}finally{Ko=A}}}else u.run()};return i&&i(v),u=new Ci(p),u.scheduler=s?()=>s(v,!1):v,k=b=>Cp(b,!1,u),g=u.onStop=()=>{const b=Ea.get(u);if(b){if(l)l(b,4);else for(const x of b)x();Ea.delete(u)}},t?n?v(!0):y=u.run():s?s(v.bind(null,!0),!0):u.run(),h.pause=u.pause.bind(u),h.resume=u.resume.bind(u),h.stop=h,h}function mo(e,t=1/0,o){if(t<=0||!je(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,Ze(e))mo(e.value,t,o);else if(ke(e))for(let n=0;n{mo(n,t,o)});else if(fa(e)){for(const n in e)mo(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&mo(e[n],t,o)}return e}/** +**/let ct;class Ci{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&&ct&&(ct.active?(this.parent=ct,this.index=(ct.scopes||(ct.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(ct===this)ct=this.prevScope;else{let t=ct;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(Nn){let t=Nn;for(Nn=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;Mn;){let t=Mn;for(Mn=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 Ii(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ri(e){let t,o=e.depsTail,n=o;for(;n;){const a=n.prevDep;n.version===-1?(n===o&&(o=a),Cr(n),rp(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=a}e.deps=t,e.depsTail=o}function Er(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Fi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Fi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===In)||(e.globalVersion=In,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Er(e))))return;e.flags|=2;const t=e.dep,o=Ye,n=Ut;Ye=e,Ut=!0;try{Ii(e);const a=e.fn(e._value);(t.version===0||Jt(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(a){throw t.version++,a}finally{Ye=o,Ut=n,Ri(e),e.flags&=-3}}function Cr(e,t=!1){const{dep:o,prevSub:n,nextSub:a}=e;if(n&&(n.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=n,e.nextSub=void 0),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let r=o.computed.deps;r;r=r.nextDep)Cr(r,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function rp(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let Ut=!0;const Oi=[];function Zt(){Oi.push(Ut),Ut=!1}function Xt(){const e=Oi.pop();Ut=e===void 0?!0:e}function Di(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=Ye;Ye=void 0;try{t()}finally{Ye=o}}}let In=0;class sp{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 Tr{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(!Ye||!Ut||Ye===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==Ye)o=this.activeLink=new sp(Ye,this),Ye.deps?(o.prevDep=Ye.depsTail,Ye.depsTail.nextDep=o,Ye.depsTail=o):Ye.deps=Ye.depsTail=o,Bi(o);else if(o.version===-1&&(o.version=this.version,o.nextDep)){const n=o.nextDep;n.prevDep=o.prevDep,o.prevDep&&(o.prevDep.nextDep=n),o.prevDep=Ye.depsTail,o.nextDep=void 0,Ye.depsTail.nextDep=o,Ye.depsTail=o,Ye.deps===o&&(Ye.deps=n)}return o}trigger(t){this.version++,In++,this.notify(t)}notify(t){$r();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{Lr()}}}function Bi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)Bi(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const wa=new WeakMap,jo=Symbol(""),Pr=Symbol(""),Rn=Symbol("");function St(e,t,o){if(Ut&&Ye){let n=wa.get(e);n||wa.set(e,n=new Map);let a=n.get(o);a||(n.set(o,a=new Tr),a.map=n,a.key=o),a.track()}}function uo(e,t,o,n,a,r){const s=wa.get(e);if(!s){In++;return}const i=l=>{l&&l.trigger()};if($r(),t==="clear")s.forEach(i);else{const l=ke(e),u=l&&ma(o);if(l&&o==="length"){const c=Number(n);s.forEach((d,g)=>{(g==="length"||g===Rn||!It(g)&&g>=c)&&i(d)})}else switch((o!==void 0||s.has(void 0))&&i(s.get(o)),u&&i(s.get(Rn)),t){case"add":l?u&&i(s.get("length")):(i(s.get(jo)),Lo(e)&&i(s.get(Pr)));break;case"delete":l||(i(s.get(jo)),Lo(e)&&i(s.get(Pr)));break;case"set":Lo(e)&&i(s.get(jo));break}}Lr()}function ip(e,t){const o=wa.get(e);return o&&o.get(t)}function tn(e){const t=Me(e);return t===e?t:(St(t,"iterate",Rn),Ft(e)?t:t.map(Kt))}function xa(e){return St(e=Me(e),"iterate",Rn),e}function Qt(e,t){return fo(e)?nn(go(e)?Kt(t):t):Kt(t)}const lp={__proto__:null,[Symbol.iterator](){return Mr(this,Symbol.iterator,e=>Qt(this,e))},concat(...e){return tn(this).concat(...e.map(t=>ke(t)?tn(t):t))},entries(){return Mr(this,"entries",e=>(e[1]=Qt(this,e[1]),e))},every(e,t){return po(this,"every",e,t,void 0,arguments)},filter(e,t){return po(this,"filter",e,t,o=>o.map(n=>Qt(this,n)),arguments)},find(e,t){return po(this,"find",e,t,o=>Qt(this,o),arguments)},findIndex(e,t){return po(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return po(this,"findLast",e,t,o=>Qt(this,o),arguments)},findLastIndex(e,t){return po(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return po(this,"forEach",e,t,void 0,arguments)},includes(...e){return Nr(this,"includes",e)},indexOf(...e){return Nr(this,"indexOf",e)},join(e){return tn(this).join(e)},lastIndexOf(...e){return Nr(this,"lastIndexOf",e)},map(e,t){return po(this,"map",e,t,void 0,arguments)},pop(){return Fn(this,"pop")},push(...e){return Fn(this,"push",e)},reduce(e,...t){return ji(this,"reduce",e,t)},reduceRight(e,...t){return ji(this,"reduceRight",e,t)},shift(){return Fn(this,"shift")},some(e,t){return po(this,"some",e,t,void 0,arguments)},splice(...e){return Fn(this,"splice",e)},toReversed(){return tn(this).toReversed()},toSorted(e){return tn(this).toSorted(e)},toSpliced(...e){return tn(this).toSpliced(...e)},unshift(...e){return Fn(this,"unshift",e)},values(){return Mr(this,"values",e=>Qt(this,e))}};function Mr(e,t,o){const n=xa(e),a=n[t]();return n!==e&&!Ft(e)&&(a._next=a.next,a.next=()=>{const r=a._next();return r.done||(r.value=o(r.value)),r}),a}const cp=Array.prototype;function po(e,t,o,n,a,r){const s=xa(e),i=s!==e&&!Ft(e),l=s[t];if(l!==cp[t]){const d=l.apply(e,r);return i?Kt(d):d}let u=o;s!==e&&(i?u=function(d,g){return o.call(this,Qt(e,d),g,e)}:o.length>2&&(u=function(d,g){return o.call(this,d,g,e)}));const c=l.call(s,u,n);return i&&a?a(c):c}function ji(e,t,o,n){const a=xa(e),r=a!==e&&!Ft(e);let s=o,i=!1;a!==e&&(r?(i=n.length===0,s=function(u,c,d){return i&&(i=!1,u=Qt(e,u)),o.call(this,u,Qt(e,c),d,e)}):o.length>3&&(s=function(u,c,d){return o.call(this,u,c,d,e)}));const l=a[t](s,...n);return i?Qt(e,l):l}function Nr(e,t,o){const n=Me(e);St(n,"iterate",Rn);const a=n[t](...o);return(a===-1||a===!1)&&Ea(o[0])?(o[0]=Me(o[0]),n[t](...o)):a}function Fn(e,t,o=[]){Zt(),$r();const n=Me(e)[t].apply(e,o);return Lr(),Xt(),n}const up=_r("__proto__,__v_isRef,__isVue"),Gi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(It));function dp(e){It(e)||(e=String(e));const t=Me(this);return St(t,"has",e),t.hasOwnProperty(e)}class Ui{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const a=this._isReadonly,r=this._isShallow;if(o==="__v_isReactive")return!a;if(o==="__v_isReadonly")return a;if(o==="__v_isShallow")return r;if(o==="__v_raw")return n===(a?r?Yi:Wi:r?Vi:Hi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const s=ke(t);if(!a){let l;if(s&&(l=lp[o]))return l;if(o==="hasOwnProperty")return dp}const i=Reflect.get(t,o,Ze(t)?t:n);if((It(o)?Gi.has(o):up(o))||(a||St(t,"get",o),r))return i;if(Ze(i)){const l=s&&ma(o)?i:i.value;return a&&Ge(l)?Rr(l):l}return Ge(i)?a?Rr(i):on(i):i}}class Ki extends Ui{constructor(t=!1){super(!1,t)}set(t,o,n,a){let r=t[o];const s=ke(t)&&ma(o);if(!this._isShallow){const u=fo(r);if(!Ft(n)&&!fo(n)&&(r=Me(r),n=Me(n)),!s&&Ze(r)&&!Ze(n))return u||(r.value=n),!0}const i=s?Number(o)e,Sa=e=>Reflect.getPrototypeOf(e);function mp(e,t,o){return function(...n){const a=this.__v_raw,r=Me(a),s=Lo(r),i=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,u=a[e](...n),c=o?Ir:t?nn:Kt;return!t&&St(r,"iterate",l?Pr:jo),ot(Object.create(u),{next(){const{value:d,done:g}=u.next();return g?{value:d,done:g}:{value:i?[c(d[0]),c(d[1])]:c(d),done:g}}})}}function Aa(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function bp(e,t){const o={get(a){const r=this.__v_raw,s=Me(r),i=Me(a);e||(Jt(a,i)&&St(s,"get",a),St(s,"get",i));const{has:l}=Sa(s),u=t?Ir:e?nn:Kt;if(l.call(s,a))return u(r.get(a));if(l.call(s,i))return u(r.get(i));r!==s&&r.get(a)},get size(){const a=this.__v_raw;return!e&&St(Me(a),"iterate",jo),a.size},has(a){const r=this.__v_raw,s=Me(r),i=Me(a);return e||(Jt(a,i)&&St(s,"has",a),St(s,"has",i)),a===i?r.has(a):r.has(a)||r.has(i)},forEach(a,r){const s=this,i=s.__v_raw,l=Me(i),u=t?Ir:e?nn:Kt;return!e&&St(l,"iterate",jo),i.forEach((c,d)=>a.call(r,u(c),u(d),s))}};return ot(o,e?{add:Aa("add"),set:Aa("set"),delete:Aa("delete"),clear:Aa("clear")}:{add(a){const r=Me(this),s=Sa(r),i=Me(a),l=!t&&!Ft(a)&&!fo(a)?i:a;return s.has.call(r,l)||Jt(a,l)&&s.has.call(r,a)||Jt(i,l)&&s.has.call(r,i)||(r.add(l),uo(r,"add",l,l)),this},set(a,r){!t&&!Ft(r)&&!fo(r)&&(r=Me(r));const s=Me(this),{has:i,get:l}=Sa(s);let u=i.call(s,a);u||(a=Me(a),u=i.call(s,a));const c=l.call(s,a);return s.set(a,r),u?Jt(r,c)&&uo(s,"set",a,r):uo(s,"add",a,r),this},delete(a){const r=Me(this),{has:s,get:i}=Sa(r);let l=s.call(r,a);l||(a=Me(a),l=s.call(r,a)),i&&i.call(r,a);const u=r.delete(a);return l&&uo(r,"delete",a,void 0),u},clear(){const a=Me(this),r=a.size!==0,s=a.clear();return r&&uo(a,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(a=>{o[a]=mp(a,e,t)}),o}function $a(e,t){const o=bp(e,t);return(n,a,r)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?n:Reflect.get(Fe(o,a)&&a in n?o:n,a,r)}const yp={get:$a(!1,!1)},_p={get:$a(!1,!0)},vp={get:$a(!0,!1)},kp={get:$a(!0,!0)},Hi=new WeakMap,Vi=new WeakMap,Wi=new WeakMap,Yi=new WeakMap;function wp(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function on(e){return fo(e)?e:La(e,!1,pp,yp,Hi)}function xp(e){return La(e,!1,fp,_p,Vi)}function Rr(e){return La(e,!0,gp,vp,Wi)}function qw(e){return La(e,!0,hp,kp,Yi)}function La(e,t,o,n,a){if(!Ge(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const r=a.get(e);if(r)return r;const s=wp(qd(e));if(s===0)return e;const i=new Proxy(e,s===2?n:o);return a.set(e,i),i}function go(e){return fo(e)?go(e.__v_raw):!!(e&&e.__v_isReactive)}function fo(e){return!!(e&&e.__v_isReadonly)}function Ft(e){return!!(e&&e.__v_isShallow)}function Ea(e){return e?!!e.__v_raw:!1}function Me(e){const t=e&&e.__v_raw;return t?Me(t):e}function Go(e){return!Fe(e,"__v_skip")&&Object.isExtensible(e)&&wi(e,"__v_skip",!0),e}const Kt=e=>Ge(e)?on(e):e,nn=e=>Ge(e)?Rr(e):e;function Ze(e){return e?e.__v_isRef===!0:!1}function ie(e){return qi(e,!1)}function an(e){return qi(e,!0)}function qi(e,t){return Ze(e)?e:new Sp(e,t)}class Sp{constructor(t,o){this.dep=new Tr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:Me(t),this._value=o?t:Kt(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||Ft(t)||fo(t);t=n?t:Me(t),Jt(t,o)&&(this._rawValue=t,this._value=n?t:Kt(t),this.dep.trigger())}}function ye(e){return Ze(e)?e.value:e}const Ap={get:(e,t,o)=>t==="__v_raw"?e:ye(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const a=e[t];return Ze(a)&&!Ze(o)?(a.value=o,!0):Reflect.set(e,t,o,n)}};function Ji(e){return go(e)?e:new Proxy(e,Ap)}function $p(e){const t=ke(e)?new Array(e.length):{};for(const o in e)t[o]=Zi(e,o);return t}class Lp{constructor(t,o,n){this._object=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=It(o)?o:String(o),this._raw=Me(t);let a=!0,r=t;if(!ke(t)||It(this._key)||!ma(this._key))do a=!Ea(r)||Ft(r);while(a&&(r=r.__v_raw));this._shallow=a}get value(){let t=this._object[this._key];return this._shallow&&(t=ye(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ze(this._raw[this._key])){const o=this._object[this._key];if(Ze(o)){o.value=t;return}}this._object[this._key]=t}get dep(){return ip(this._raw,this._key)}}class Ep{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 Cp(e,t,o){return Ze(e)?e:xe(e)?new Ep(e):Ge(e)&&arguments.length>1?Zi(e,t,o):ie(e)}function Zi(e,t,o){return new Lp(e,t,o)}class Tp{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new Tr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=In-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&Ye!==this)return Ni(this,!0),!0}get value(){const t=this.dep.track();return Fi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Pp(e,t,o=!1){let n,a;return xe(e)?n=e:(n=e.get,a=e.set),new Tp(n,a,o)}const Ca={},Ta=new WeakMap;let Uo;function Mp(e,t=!1,o=Uo){if(o){let n=Ta.get(o);n||Ta.set(o,n=[]),n.push(e)}}function Np(e,t,o=Ve){const{immediate:n,deep:a,once:r,scheduler:s,augmentJob:i,call:l}=o,u=y=>a?y:Ft(y)||a===!1||a===0?ho(y,1):ho(y);let c,d,g,k,x=!1,_=!1;if(Ze(e)?(d=()=>e.value,x=Ft(e)):go(e)?(d=()=>u(e),x=!0):ke(e)?(_=!0,x=e.some(y=>go(y)||Ft(y)),d=()=>e.map(y=>{if(Ze(y))return y.value;if(go(y))return u(y);if(xe(y))return l?l(y,2):y()})):xe(e)?t?d=l?()=>l(e,2):e:d=()=>{if(g){Zt();try{g()}finally{Xt()}}const y=Uo;Uo=c;try{return l?l(e,3,[k]):e(k)}finally{Uo=y}}:d=qt,t&&a){const y=d,S=a===!0?1/0:a;d=()=>ho(y(),S)}const p=Ti(),h=()=>{c.stop(),p&&p.active&&vr(p.effects,c)};if(r&&t){const y=t;t=(...S)=>{const A=y(...S);return h(),A}}let v=_?new Array(e.length).fill(Ca):Ca;const b=y=>{if(!(!(c.flags&1)||!c.dirty&&!y))if(t){const S=c.run();if(y||a||x||(_?S.some((A,L)=>Jt(A,v[L])):Jt(S,v))){g&&g();const A=Uo;Uo=c;try{const L=[S,v===Ca?void 0:_&&v[0]===Ca?[]:v,k];v=S,l?l(t,3,L):t(...L)}finally{Uo=A}}}else c.run()};return i&&i(b),c=new Pi(d),c.scheduler=s?()=>s(b,!1):b,k=y=>Mp(y,!1,c),g=c.onStop=()=>{const y=Ta.get(c);if(y){if(l)l(y,4);else for(const S of y)S();Ta.delete(c)}},t?n?b(!0):v=c.run():s?s(b.bind(null,!0),!0):c.run(),h.pause=c.pause.bind(c),h.resume=c.resume.bind(c),h.stop=h,h}function ho(e,t=1/0,o){if(t<=0||!Ge(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,Ze(e))ho(e.value,t,o);else if(ke(e))for(let n=0;n{ho(n,t,o)});else if(ha(e)){for(const n in e)ho(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&ho(e[n],t,o)}return e}/** * @vue/runtime-core v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const On=[];let Ir=!1;function Dw(e,...t){if(Ir)return;Ir=!0,Zt();const o=On.length?On[On.length-1].component:null,n=o&&o.appContext.config.warnHandler,a=Tp();if(n)rn(n,o,11,[e+t.map(r=>{var s,i;return(i=(s=r.toString)==null?void 0:s.call(r))!=null?i:JSON.stringify(r)}).join(""),o&&o.proxy,a.map(({vnode:r})=>`at <${Wl(o,r.type)}>`).join(` +**/const On=[];let Fr=!1;function Jw(e,...t){if(Fr)return;Fr=!0,Zt();const o=On.length?On[On.length-1].component:null,n=o&&o.appContext.config.warnHandler,a=Ip();if(n)rn(n,o,11,[e+t.map(r=>{var s,i;return(i=(s=r.toString)==null?void 0:s.call(r))!=null?i:JSON.stringify(r)}).join(""),o&&o.proxy,a.map(({vnode:r})=>`at <${Jl(o,r.type)}>`).join(` `),a]);else{const r=[`[Vue warn]: ${e}`,...t];a.length&&r.push(` -`,...Pp(a)),console.warn(...r)}Xt(),Ir=!1}function Tp(){let e=On[On.length-1];if(!e)return[];const t=[];for(;e;){const o=t[0];o&&o.vnode===e?o.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}function Pp(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[` -`],...Mp(o))}),t}function Mp({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,a=` at <${Wl(e.component,e.type,n)}`,r=">"+o;return e.props?[a,...Np(e.props),r]:[a+r]}function Np(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...qi(n,e[n]))}),o.length>3&&t.push(" ..."),t}function qi(e,t,o){return Ve(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:Ze(t)?(t=qi(e,Me(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):xe(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Me(t),o?t:[`${e}=`,t])}function rn(e,t,o,n){try{return n?e(...n):e()}catch(a){Dn(a,t,o)}}function zt(e,t,o,n){if(xe(e)){const a=rn(e,t,o,n);return a&&bi(a)&&a.catch(r=>{Dn(r,t,o)}),a}if(ke(e)){const a=[];for(let r=0;r>>1,a=Lt[n],r=Bn(a);r=Bn(o)?Lt.push(e):Lt.splice(Rp(t),0,e),e.flags|=1,Zi()}}function Zi(){Ta||(Ta=Ji.then(el))}function Fp(e){if(!ke(e))Eo&&e.id===-1?Eo.splice(ln+1,0,e):e.flags&1||(sn.push(e),e.flags|=1);else for(let t=0;tBn(o)-Bn(n));if(sn.length=0,Eo){for(let o=0;oe.id==null?e.flags&2?-1:1/0:e.id;function el(e){try{for(eo=0;eo{n._d&&Ga(-1);const r=Pa(t),s=_o.length;let i;try{i=e(...a)}finally{for(let l=_o.length;l>s;l--)Xr();Pa(r),n._d&&Ga(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function Op(e,t){if(_t===null)return e;const o=Ha(_t),n=e.dirs||(e.dirs=[]);for(let a=0;a1)return o&&xe(t)?t.call(n&&n.proxy):t}}function Dp(){return!!(ko()||Vo)}const Bp=Symbol.for("v-scx"),jp=()=>Te(Bp);function Gp(e,t){return Fr(e,null,t)}function tt(e,t,o){return Fr(e,t,o)}function Fr(e,t,o=ze){const{immediate:n,deep:a,flush:r,once:s}=o,i=nt({},o),l=t&&n||!t&&r!=="post";let c;if(pn){if(r==="sync"){const k=jp();c=k.__watcherHandles||(k.__watcherHandles=[])}else if(!l){const k=()=>{};return k.stop=qt,k.resume=qt,k.pause=qt,k}}const u=vt;i.call=(k,w,_)=>zt(k,u,w,_);let p=!1;r==="post"?i.scheduler=k=>{Et(k,u&&u.suspense)}:r!=="sync"&&(p=!0,i.scheduler=(k,w)=>{w?k():Rr(k)}),i.augmentJob=k=>{t&&(k.flags|=4),p&&(k.flags|=2,u&&(k.id=u.uid,k.i=u))};const g=Ep(e,t,i);return pn&&(c?c.push(g):l&&g()),g}function Up(e,t,o){const n=this.proxy,a=Ve(e)?e.includes(".")?ol(n,e):()=>n[e]:e.bind(n,n);let r;xe(t)?r=t:(r=t.handler,o=t);const s=Jn(this),i=Fr(a,r.bind(n),o);return s(),i}function ol(e,t){const o=t.split(".");return()=>{let n=e;for(let a=0;ae.__isTeleport,Ho=e=>e&&(e.disabled||e.disabled===""),Kp=e=>e&&(e.defer||e.defer===""),al=e=>typeof SVGElement<"u"&&e instanceof SVGElement,rl=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Or=(e,t)=>{const o=e&&e.to;return Ve(o)?t?t(o):null:o},zp={name:"Teleport",__isTeleport:!0,process(e,t,o,n,a,r,s,i,l,c){const{mc:u,pc:p,pbc:g,o:{insert:k,querySelector:w,createText:_,createComment:d,parentNode:h}}=c,y=Ho(t.props);let{dynamicChildren:v}=t;const b=(L,M,P)=>{L.shapeFlag&16&&u(L.children,M,P,a,r,s,i,l)},x=(L=t)=>{const M=Ho(L.props),P=L.target=Or(L.props,w),I=Dr(P,L,_,k);P&&(s!=="svg"&&al(P)?s="svg":s!=="mathml"&&rl(P)&&(s="mathml"),a&&a.isCE&&(a.ce._teleportTargets||(a.ce._teleportTargets=new Set)).add(P),M||(b(L,P,I),jn(L,!1)))},A=L=>{const M=()=>{if(To.get(L)===M){if(To.delete(L),Ho(L.props)){const P=h(L.el)||o;b(L,P,L.anchor),jn(L,!0)}x(L)}};To.set(L,M),Et(M,r)};if(e==null){const L=t.el=_(""),M=t.anchor=_("");if(k(L,o,n),k(M,o,n),Kp(t.props)||r&&r.pendingBranch){A(t);return}y&&(b(t,o,M),jn(t,!0)),x()}else{t.el=e.el;const L=t.anchor=e.anchor,M=To.get(e);if(M){M.flags|=8,To.delete(e),A(t);return}t.targetStart=e.targetStart;const P=t.target=e.target,I=t.targetAnchor=e.targetAnchor,B=Ho(e.props),H=B?o:P,O=B?L:I;if(s==="svg"||al(P)?s="svg":(s==="mathml"||rl(P))&&(s="mathml"),v?(g(e.dynamicChildren,v,H,a,r,s,i),Jr(e,t,!0)):l||p(e,t,H,O,a,r,s,i,!1),y)B?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Na(t,o,L,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const R=Or(t.props,w);R&&(t.target=R,Na(t,R,null,c,0))}else B&&Na(t,P,I,c,1);jn(t,y)}},remove(e,t,o,{um:n,o:{remove:a}},r){const{shapeFlag:s,children:i,anchor:l,targetStart:c,targetAnchor:u,target:p,props:g}=e,k=Ho(g),w=r||!k,_=To.get(e);if(_&&(_.flags|=8,To.delete(e)),p&&(a(c),a(u)),r&&a(l),!_&&(k||p)&&s&16)for(let d=0;d1){for(const o of e)if(o.type!==no){t=o;break}}return t}function sl(e){if(!Fa(e))return Ma(e.type)&&e.children?Wp(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&&xe(o.default))return o.default()}}function jr(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const o=e.component.subTree;jr(Ma(o.type)&&sl(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 Gn(e,t){return xe(e)?nt({name:e.name},t,{setup:e}):e}function Gr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function il(e,t){let o;return!!((o=Object.getOwnPropertyDescriptor(e,t))&&!o.configurable)}const Ia=new WeakMap;function Un(e,t,o,n,a=!1){if(ke(e)){e.forEach((_,d)=>Un(_,t&&(ke(t)?t[d]:t),o,n,a));return}if(cn(n)&&!a){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Un(e,t,o,n.component.subTree);return}const r=n.shapeFlag&4?Ha(n.component):n.el,s=a?null:r,{i,r:l}=e,c=t&&t.r,u=i.refs===ze?i.refs={}:i.refs,p=i.setupState,g=Me(p),k=p===ze?hi:_=>il(u,_)?!1:Re(g,_),w=(_,d)=>!(d&&il(u,d));if(c!=null&&c!==l){if(ll(t),Ve(c))u[c]=null,k(c)&&(p[c]=null);else if(Ze(c)){const _=t;w(c,_.k)&&(c.value=null),_.k&&(u[_.k]=null)}}if(xe(l))rn(l,i,12,[s,u]);else{const _=Ve(l),d=Ze(l);if(_||d){const h=()=>{if(e.f){const y=_?k(l)?p[l]:u[l]:w()||!e.k?l.value:u[e.k];if(a)ke(y)&&yr(y,r);else if(ke(y))y.includes(r)||y.push(r);else if(_)u[l]=[r],k(l)&&(p[l]=u[l]);else{const v=[r];w(l,e.k)&&(l.value=v),e.k&&(u[e.k]=v)}}else _?(u[l]=s,k(l)&&(p[l]=s)):d&&(w(l,e.k)&&(l.value=s),e.k&&(u[e.k]=s))};if(s){const y=()=>{h(),Ia.delete(e)};y.id=-1,Ia.set(e,y),Et(y,o)}else ll(e),h()}}}function ll(e){const t=Ia.get(e);t&&(t.flags|=8,Ia.delete(e))}const cl=e=>e.nodeType===8;_a().requestIdleCallback,_a().cancelIdleCallback;function Yp(e,t){if(cl(e)&&e.data==="["){let o=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(cl(n))if(n.data==="]"){if(--o===0)break}else n.data==="["&&o++;n=n.nextSibling}}else t(e)}const cn=e=>!!e.type.__asyncLoader;function qp(e){xe(e)&&(e={loader:e});const{loader:t,loadingComponent:o,errorComponent:n,delay:a=200,hydrate:r,timeout:s,suspensible:i=!0,onError:l}=e;let c=null,u,p=0;const g=()=>(p++,c=null,k()),k=()=>{let w;return c||(w=c=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),l)return new Promise((d,h)=>{l(_,()=>d(g()),()=>h(_),p+1)});throw _}).then(_=>w!==c&&c?c:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),u=_,_)))};return Gn({name:"AsyncComponentWrapper",__asyncLoader:k,__asyncHydrate(w,_,d){const h=w.isConnected;let y=!1;(_.bu||(_.bu=[])).push(()=>y=!0);const v=()=>{y||!w.parentNode||h&&!w.isConnected||d()},b=r?()=>{const x=r(v,A=>Yp(w,A));x&&(_.bum||(_.bum=[])).push(x)}:v;u?b():k().then(()=>!_.isUnmounted&&b())},get __asyncResolved(){return u},setup(){const w=vt;if(Gr(w),u)return()=>Ra(u,w);const _=x=>{c=null,Dn(x,w,13,!n)};if(i&&w.suspense||pn)return k().then(x=>()=>Ra(x,w)).catch(x=>(_(x),()=>n?Ge(n,{error:x}):null));const d=ce(!1),h=ce(),y=ce(!!a);let v,b;return Da(()=>{v!=null&&clearTimeout(v),b!=null&&clearTimeout(b)}),a&&(b=setTimeout(()=>{w.isUnmounted||(y.value=!1)},a)),s!=null&&(v=setTimeout(()=>{if(!w.isUnmounted&&!d.value&&!h.value){const x=new Error(`Async component timed out after ${s}ms.`);_(x),h.value=x}},s)),k().then(()=>{w.isUnmounted||(d.value=!0,w.parent&&Fa(w.parent.vnode)&&w.parent.update())}).catch(x=>{if(w.isUnmounted){c=null;return}_(x),h.value=x}),()=>{if(d.value&&u)return Ra(u,w);if(h.value&&n)return Ge(n,{error:h.value});if(o&&!y.value)return Ra(o,w)}}})}function Ra(e,t){const{ref:o,props:n,children:a,ce:r}=t.vnode,s=Ge(e,n,a);return s.ref=o,s.ce=r,delete t.vnode.ce,s}const Fa=e=>e.type.__isKeepAlive;function Jp(e,t){ul(e,"a",t)}function Zp(e,t){ul(e,"da",t)}function ul(e,t,o=vt){const n=e.__wdc||(e.__wdc=()=>{let a=o;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(Oa(t,n,o),o){let a=o.parent;for(;a&&a.parent;)Fa(a.parent.vnode)&&Xp(n,t,o,a),a=a.parent}}function Xp(e,t,o,n){const a=Oa(t,e,n,!0);Da(()=>{yr(n[t],a)},o)}function Oa(e,t,o=vt,n=!1){if(o){const a=o[e]||(o[e]=[]),r=t.__weh||(t.__weh=(...s)=>{Zt();const i=Jn(o),l=zt(t,o,e,s);return i(),Xt(),l});return n?a.unshift(r):a.push(r),r}}const yo=e=>(t,o=vt)=>{(!pn||e==="sp")&&Oa(e,(...n)=>t(...n),o)},dl=yo("bm"),to=yo("m"),Qp=yo("bu"),eg=yo("u"),oo=yo("bum"),Da=yo("um"),tg=yo("sp"),og=yo("rtg"),ng=yo("rtc");function ag(e,t=vt){Oa("ec",e,t)}const rg="components",pl=Symbol.for("v-ndc");function gl(e){return Ve(e)?sg(rg,e,!1)||e:e||pl}function sg(e,t,o=!0,n=!1){const a=_t||vt;if(a){const r=a.type;{const i=Vl(r,!1);if(i&&(i===t||i===gt(t)||i===ba(gt(t))))return r}const s=fl(a[e]||r[e],t)||fl(a.appContext[e],t);return!s&&n?r:s}}function fl(e,t){return e&&(e[t]||e[gt(t)]||e[ba(gt(t))])}function St(e,t,o,n){let a;const r=o,s=ke(e);if(s||Ve(e)){const i=s&&fo(e);let l=!1,c=!1;i&&(l=!Ft(e),c=ho(e),e=wa(e)),a=new Array(e.length);for(let u=0,p=e.length;ut(i,l,void 0,r));else{const i=Object.keys(e);a=new Array(i.length);for(let l=0,c=i.length;l0;return t!=="default"&&(c.name=t),W(),rt(Ce,null,[Ge("slot",c,n)],u?-2:64)}let s=e[t];s&&s._c&&(s._d=!1);const i=_o.length;W();let l;try{const c=s&&hl(s(o)),u=o.key||r||c&&c.key;l=rt(Ce,{key:(u&&!It(u)?u:`_${t}`)+(!c&&n?"_fb":"")},c||(n?n():[]),c&&e._===1?64:-2)}catch(c){for(let u=_o.length;u>i;u--)Xr();throw c}finally{s&&s._c&&(s._d=!0)}return!a&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function hl(e){return e.some(t=>Wn(t)?!(t.type===no||t.type===Ce&&!hl(t.children)):!0)?e:null}const Ur=e=>e?Kl(e)?Ha(e):Ur(e.parent):null,Kn=nt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ur(e.parent),$root:e=>Ur(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>_l(e),$forceUpdate:e=>e.f||(e.f=()=>{Rr(e.update)}),$nextTick:e=>e.n||(e.n=bo.bind(e.proxy)),$watch:e=>Up.bind(e)}),Kr=(e,t)=>e!==ze&&!e.__isScriptSetup&&Re(e,t),ig={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:a,props:r,accessCache:s,type:i,appContext:l}=e;if(t[0]!=="$"){const g=s[t];if(g!==void 0)switch(g){case 1:return n[t];case 2:return a[t];case 4:return o[t];case 3:return r[t]}else{if(Kr(n,t))return s[t]=1,n[t];if(a!==ze&&Re(a,t))return s[t]=2,a[t];if(Re(r,t))return s[t]=3,r[t];if(o!==ze&&Re(o,t))return s[t]=4,o[t];zr&&(s[t]=0)}}const c=Kn[t];let u,p;if(c)return t==="$attrs"&&xt(e.attrs,"get",""),c(e);if((u=i.__cssModules)&&(u=u[t]))return u;if(o!==ze&&Re(o,t))return s[t]=4,o[t];if(p=l.config.globalProperties,Re(p,t))return p[t]},set({_:e},t,o){const{data:n,setupState:a,ctx:r}=e;return Kr(a,t)?(a[t]=o,!0):n!==ze&&Re(n,t)?(n[t]=o,!0):Re(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:a,props:r,type:s}},i){let l;return!!(o[i]||e!==ze&&i[0]!=="$"&&Re(e,i)||Kr(t,i)||Re(r,i)||Re(n,i)||Re(Kn,i)||Re(a.config.globalProperties,i)||(l=s.__cssModules)&&l[i])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:Re(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function ml(e){return ke(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let zr=!0;function lg(e){const t=_l(e),o=e.proxy,n=e.ctx;zr=!1,t.beforeCreate&&bl(t.beforeCreate,e,"bc");const{data:a,computed:r,methods:s,watch:i,provide:l,inject:c,created:u,beforeMount:p,mounted:g,beforeUpdate:k,updated:w,activated:_,deactivated:d,beforeDestroy:h,beforeUnmount:y,destroyed:v,unmounted:b,render:x,renderTracked:A,renderTriggered:L,errorCaptured:M,serverPrefetch:P,expose:I,inheritAttrs:B,components:H,directives:O,filters:R}=t;if(c&&cg(c,n,null),s)for(const C in s){const re=s[C];xe(re)&&(n[C]=re.bind(o))}if(a){const C=a.call(o,o);je(C)&&(e.data=on(C))}if(zr=!0,r)for(const C in r){const re=r[C],_e=xe(re)?re.bind(o,o):xe(re.get)?re.get.bind(o,o):qt,ne=!xe(re)&&xe(re.set)?re.set.bind(o):qt,ge=Z({get:_e,set:ne});Object.defineProperty(n,C,{enumerable:!0,configurable:!0,get:()=>ge.value,set:fe=>ge.value=fe})}if(i)for(const C in i)yl(i[C],n,o,C);if(l){const C=xe(l)?l.call(o):l;Reflect.ownKeys(C).forEach(re=>{Pt(re,C[re])})}u&&bl(u,e,"c");function F(C,re){ke(re)?re.forEach(_e=>C(_e.bind(o))):re&&C(re.bind(o))}if(F(dl,p),F(to,g),F(Qp,k),F(eg,w),F(Jp,_),F(Zp,d),F(ag,M),F(ng,A),F(og,L),F(oo,y),F(Da,b),F(tg,P),ke(I))if(I.length){const C=e.exposed||(e.exposed={});I.forEach(re=>{Object.defineProperty(C,re,{get:()=>o[re],set:_e=>o[re]=_e,enumerable:!0})})}else e.exposed||(e.exposed={});x&&e.render===qt&&(e.render=x),B!=null&&(e.inheritAttrs=B),H&&(e.components=H),O&&(e.directives=O),P&&Gr(e)}function cg(e,t,o=qt){ke(e)&&(e=Hr(e));for(const n in e){const a=e[n];let r;je(a)?"default"in a?r=Te(a.from||n,a.default,!0):r=Te(a.from||n):r=Te(a),Ze(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:s=>r.value=s}):t[n]=r}}function bl(e,t,o){zt(ke(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function yl(e,t,o,n){let a=n.includes(".")?ol(o,n):()=>o[n];if(Ve(e)){const r=t[e];xe(r)&&tt(a,r)}else if(xe(e))tt(a,e.bind(o));else if(je(e))if(ke(e))e.forEach(r=>yl(r,t,o,n));else{const r=xe(e.handler)?e.handler.bind(o):t[e.handler];xe(r)&&tt(a,r,e)}}function _l(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:a,optionsCache:r,config:{optionMergeStrategies:s}}=e.appContext,i=r.get(t);let l;return i?l=i:!a.length&&!o&&!n?l=t:(l={},a.length&&a.forEach(c=>Ba(l,c,s,!0)),Ba(l,t,s)),je(t)&&r.set(t,l),l}function Ba(e,t,o,n=!1){const{mixins:a,extends:r}=t;r&&Ba(e,r,o,!0),a&&a.forEach(s=>Ba(e,s,o,!0));for(const s in t)if(!(n&&s==="expose")){const i=ug[s]||o&&o[s];e[s]=i?i(e[s],t[s]):t[s]}return e}const ug={data:vl,props:kl,emits:kl,methods:zn,computed:zn,beforeCreate:Ct,created:Ct,beforeMount:Ct,mounted:Ct,beforeUpdate:Ct,updated:Ct,beforeDestroy:Ct,beforeUnmount:Ct,destroyed:Ct,unmounted:Ct,activated:Ct,deactivated:Ct,errorCaptured:Ct,serverPrefetch:Ct,components:zn,directives:zn,watch:pg,provide:vl,inject:dg};function vl(e,t){return t?e?function(){return nt(xe(e)?e.call(this,this):e,xe(t)?t.call(this,this):t)}:t:e}function dg(e,t){return zn(Hr(e),Hr(t))}function Hr(e){if(ke(e)){const t={};for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${gt(t)}Modifiers`]||e[`${Rt(t)}Modifiers`];function mg(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||ze;let a=o;const r=t.startsWith("update:"),s=r&&hg(n,t.slice(7));s&&(s.trim&&(a=o.map(u=>Ve(u)?u.trim():u)),s.number&&(a=a.map(vr)));let i,l=n[i=_r(t)]||n[i=_r(gt(t))];!l&&r&&(l=n[i=_r(Rt(t))]),l&&zt(l,e,6,a);const c=n[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,zt(c,e,6,a)}}const bg=new WeakMap;function xl(e,t,o=!1){const n=o?bg:t.emitsCache,a=n.get(e);if(a!==void 0)return a;const r=e.emits;let s={},i=!1;if(!xe(e)){const l=c=>{const u=xl(c,t,!0);u&&(i=!0,nt(s,u))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!i?(je(e)&&n.set(e,null),null):(ke(r)?r.forEach(l=>s[l]=null):nt(s,r),je(e)&&n.set(e,s),s)}function ja(e,t){return!e||!da(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),Re(e,t[0].toLowerCase()+t.slice(1))||Re(e,Rt(t))||Re(e,t))}function Bw(){}function Sl(e){const{type:t,vnode:o,proxy:n,withProxy:a,propsOptions:[r],slots:s,attrs:i,emit:l,render:c,renderCache:u,props:p,data:g,setupState:k,ctx:w,inheritAttrs:_}=e,d=Pa(e);let h,y;try{if(o.shapeFlag&4){const b=a||n,x=b;h=ao(c.call(x,b,u,p,k,g,w)),y=i}else{const b=t;h=ao(b.length>1?b(p,{attrs:i,slots:s,emit:l}):b(p,null)),y=t.props?i:yg(i)}}catch(b){_o.length=0,Dn(b,e,1),h=Ge(no)}let v=h;if(y&&_!==!1){const b=Object.keys(y),{shapeFlag:x}=v;b.length&&x&7&&(r&&b.some(pa)&&(y=_g(y,r)),v=dn(v,y,!1,!0))}if(o.dirs&&(v=dn(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(o.dirs):o.dirs),o.transition){const b=Ma(v.type)&&sl(v)||v;jr(b,o.transition)}return h=v,Pa(d),h}const yg=e=>{let t;for(const o in e)(o==="class"||o==="style"||da(o))&&((t||(t={}))[o]=e[o]);return t},_g=(e,t)=>{const o={};for(const n in e)(!pa(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function vg(e,t,o){const{props:n,children:a,component:r}=e,{props:s,children:i,patchFlag:l}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&l>=0){if(l&1024)return!0;if(l&16)return n?Al(n,s,c):!!s;if(l&8){const u=t.dynamicProps;for(let p=0;pObject.create(Ll),El=e=>Object.getPrototypeOf(e)===Ll;function wg(e,t,o,n=!1){const a={},r=Cl();e.propsDefaults=Object.create(null),Tl(e,t,a,r);for(const s in e.propsOptions[0])s in a||(a[s]=void 0);o?e.props=n?a:_p(a):e.type.props?e.props=a:e.props=r,e.attrs=r}function xg(e,t,o,n){const{props:a,attrs:r,vnode:{patchFlag:s}}=e,i=Me(a),[l]=e.propsOptions;let c=!1;if((n||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let p=0;p{l=!0;const[g,k]=Pl(p,t,!0);nt(s,g),k&&i.push(...k)};!o&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!l)return je(e)&&n.set(e,en),en;if(ke(r))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",Yr=e=>ke(e)?e.map(ao):[ao(e)],Ag=(e,t,o)=>{if(t._n)return t;const n=jt((...a)=>Yr(t(...a)),o);return n._c=!1,n},Nl=(e,t,o)=>{const n=e._ctx;for(const a in e){if(Wr(a))continue;const r=e[a];if(xe(r))t[a]=Ag(a,r,n);else if(r!=null){const s=Yr(r);t[a]=()=>s}}},Il=(e,t)=>{const o=Yr(t);e.slots.default=()=>o},Rl=(e,t,o)=>{for(const n in t)(o||!Wr(n))&&(e[n]=t[n])},$g=(e,t,o)=>{const n=e.slots=Cl();if(e.vnode.shapeFlag&32){const a=t._;a?(Rl(n,t,o),o&&_i(n,"_",a,!0)):Nl(t,n)}else t&&Il(e,t)},Lg=(e,t,o)=>{const{vnode:n,slots:a}=e;let r=!0,s=ze;if(n.shapeFlag&32){const i=t._;i?o&&i===1?r=!1:Rl(a,t,o):(r=!t.$stable,Nl(t,a)),s=t}else t&&(Il(e,t),s={default:1});if(r)for(const i in a)!Wr(i)&&s[i]==null&&delete a[i]},Et=Mg;function Cg(e){return Eg(e)}function Eg(e,t){const o=_a();o.__VUE__=!0;const{insert:n,remove:a,patchProp:r,createElement:s,createText:i,createComment:l,setText:c,setElementText:u,parentNode:p,nextSibling:g,setScopeId:k=qt,insertStaticContent:w}=e,_=($,N,E,K=null,Y=null,X=null,Q=void 0,q=null,f=!!N.dynamicChildren)=>{if($===N)return;$&&!Yn($,N)&&(K=mt($),fe($,Y,X,!0),$=null),N.patchFlag===-2&&(f=!1,N.dynamicChildren=null);const{type:m,ref:j,shapeFlag:V}=N;switch(m){case Hn:d($,N,E,K);break;case no:h($,N,E,K);break;case Zr:$==null&&y(N,E,K,Q);break;case Ce:H($,N,E,K,Y,X,Q,q,f);break;default:V&1?x($,N,E,K,Y,X,Q,q,f):V&6?O($,N,E,K,Y,X,Q,q,f):(V&64||V&128)&&m.process($,N,E,K,Y,X,Q,q,f,qe)}j!=null&&Y?Un(j,$&&$.ref,X,N||$,!N):j==null&&$&&$.ref!=null&&Un($.ref,null,X,$,!0)},d=($,N,E,K)=>{if($==null)n(N.el=i(N.children),E,K);else{const Y=N.el=$.el;N.children!==$.children&&c(Y,N.children)}},h=($,N,E,K)=>{$==null?n(N.el=l(N.children||""),E,K):N.el=$.el},y=($,N,E,K)=>{[$.el,$.anchor]=w($.children,N,E,K,$.el,$.anchor)},v=({el:$,anchor:N},E,K)=>{let Y;for(;$&&$!==N;)Y=g($),n($,E,K),$=Y;n(N,E,K)},b=({el:$,anchor:N})=>{let E;for(;$&&$!==N;)E=g($),a($),$=E;a(N)},x=($,N,E,K,Y,X,Q,q,f)=>{if(N.type==="svg"?Q="svg":N.type==="math"&&(Q="mathml"),$==null)A(N,E,K,Y,X,Q,q,f);else{const m=$.el&&$.el._isVueCE?$.el:null;try{m&&m._beginPatch(),P($,N,Y,X,Q,q,f)}finally{m&&m._endPatch()}}},A=($,N,E,K,Y,X,Q,q)=>{let f,m;const{props:j,shapeFlag:V,transition:se,dirs:ae}=$;if(f=$.el=s($.type,X,j&&j.is,j),V&8?u(f,$.children):V&16&&M($.children,f,null,K,Y,qr($,X),Q,q),ae&&zo($,null,K,"created"),L(f,$,$.scopeId,Q,K),j){for(const S in j)S!=="value"&&!Pn(S)&&r(f,S,null,j[S],X,K);"value"in j&&r(f,"value",null,j.value,X),(m=j.onVnodeBeforeMount)&&ro(m,K,$)}ae&&zo($,null,K,"beforeMount");const U=Tg(Y,se);U&&se.beforeEnter(f),n(f,N,E),((m=j&&j.onVnodeMounted)||U||ae)&&Et(()=>{try{m&&ro(m,K,$),U&&se.enter(f),ae&&zo($,null,K,"mounted")}finally{}},Y)},L=($,N,E,K,Y)=>{if(E&&k($,E),K)for(let X=0;X{for(let m=f;m<$.length;m++){const j=$[m]=q?vo($[m]):ao($[m]);_(null,j,N,E,K,Y,X,Q,q)}},P=($,N,E,K,Y,X,Q)=>{const q=N.el=$.el;let{patchFlag:f,dynamicChildren:m,dirs:j}=N;f|=$.patchFlag&16;const V=$.props||ze,se=N.props||ze;let ae;if(E&&Wo(E,!1),(ae=se.onVnodeBeforeUpdate)&&ro(ae,E,N,$),j&&zo(N,$,E,"beforeUpdate"),E&&Wo(E,!0),m&&(!$.dynamicChildren||$.dynamicChildren.length!==m.length)&&(f=0,Q=!1,m=null),(V.innerHTML&&se.innerHTML==null||V.textContent&&se.textContent==null)&&u(q,""),m?I($.dynamicChildren,m,q,E,K,qr(N,Y),X):Q||re($,N,q,null,E,K,qr(N,Y),X,!1),f>0){if(f&16)B(q,V,se,E,Y);else if(f&2&&V.class!==se.class&&r(q,"class",null,se.class,Y),f&4&&r(q,"style",V.style,se.style,Y),f&8){const U=N.dynamicProps;for(let S=0;S{ae&&ro(ae,E,N,$),j&&zo(N,$,E,"updated")},K)},I=($,N,E,K,Y,X,Q)=>{for(let q=0;q{if(N!==E){if(N!==ze)for(const X in N)!Pn(X)&&!(X in E)&&r($,X,N[X],null,Y,K);for(const X in E){if(Pn(X))continue;const Q=E[X],q=N[X];Q!==q&&X!=="value"&&r($,X,q,Q,Y,K)}"value"in E&&r($,"value",N.value,E.value,Y)}},H=($,N,E,K,Y,X,Q,q,f)=>{const m=N.el=$?$.el:i(""),j=N.anchor=$?$.anchor:i("");let{patchFlag:V,dynamicChildren:se,slotScopeIds:ae}=N;ae&&(q=q?q.concat(ae):ae),$==null?(n(m,E,K),n(j,E,K),M(N.children||[],E,j,Y,X,Q,q,f)):V>0&&V&64&&se&&$.dynamicChildren&&$.dynamicChildren.length===se.length?(I($.dynamicChildren,se,E,Y,X,Q,q),(N.key!=null||Y&&N===Y.subTree)&&Jr($,N,!0)):re($,N,E,j,Y,X,Q,q,f)},O=($,N,E,K,Y,X,Q,q,f)=>{N.slotScopeIds=q,$==null?N.shapeFlag&512?Y.ctx.activate(N,E,K,Q,f):R(N,E,K,Y,X,Q,f):G($,N,f)},R=($,N,E,K,Y,X,Q)=>{const q=$.component=Dg($,K,Y);if(Fa($)&&(q.ctx.renderer=qe),Bg(q,!1,Q),q.asyncDep){if(Y&&Y.registerDep(q,F,Q),!$.el){const f=q.subTree=Ge(no);h(null,f,N,E),$.placeholder=f.el}}else F(q,$,N,E,Y,X,Q)},G=($,N,E)=>{const K=N.component=$.component;if(vg($,N,E))if(K.asyncDep&&!K.asyncResolved){C(K,N,E);return}else K.next=N,K.update();else N.el=$.el,K.vnode=N},F=($,N,E,K,Y,X,Q)=>{const q=()=>{if($.isMounted){let{next:V,bu:se,u:ae,parent:U,vnode:S}=$;{const $e=Fl($);if($e){V&&(V.el=S.el,C($,V,Q)),$e.asyncDep.then(()=>{Et(()=>{$.isUnmounted||m()},Y)});return}}let D=V,oe;Wo($,!1),V?(V.el=S.el,C($,V,Q)):V=S,se&&ya(se),(oe=V.props&&V.props.onVnodeBeforeUpdate)&&ro(oe,U,V,S),Wo($,!0);const le=Sl($),he=$.subTree;$.subTree=le,_(he,le,p(he.el),mt(he),$,Y,X),V.el=le.el,D===null&&kg($,le.el),ae&&Et(ae,Y),(oe=V.props&&V.props.onVnodeUpdated)&&Et(()=>ro(oe,U,V,S),Y)}else{let V;const{el:se,props:ae}=N,{bm:U,m:S,parent:D,root:oe,type:le}=$,he=cn(N);Wo($,!1),U&&ya(U),!he&&(V=ae&&ae.onVnodeBeforeMount)&&ro(V,D,N),Wo($,!0);{oe.ce&&oe.ce._hasShadowRoot()&&oe.ce._injectChildStyle(le,$.parent?$.parent.type:void 0);const $e=$.subTree=Sl($);_(null,$e,E,K,$,Y,X),N.el=$e.el}if(S&&Et(S,Y),!he&&(V=ae&&ae.onVnodeMounted)){const $e=N;Et(()=>ro(V,D,$e),Y)}(N.shapeFlag&256||D&&cn(D.vnode)&&D.vnode.shapeFlag&256)&&$.a&&Et($.a,Y),$.isMounted=!0,N=E=K=null}};$.scope.on();const f=$.effect=new Ci(q);$.scope.off();const m=$.update=f.run.bind(f),j=$.job=f.runIfDirty.bind(f);j.i=$,j.id=$.uid,f.scheduler=()=>Rr(j),Wo($,!0),m()},C=($,N,E)=>{N.component=$;const K=$.vnode.props;$.vnode=N,$.next=null,xg($,N.props,K,E),Lg($,N.children,E),Zt(),Xi($),Xt()},re=($,N,E,K,Y,X,Q,q,f=!1)=>{const m=$&&$.children,j=$?$.shapeFlag:0,V=N.children,{patchFlag:se,shapeFlag:ae}=N;if(se>0){if(se&128){ne(m,V,E,K,Y,X,Q,q,f);return}else if(se&256){_e(m,V,E,K,Y,X,Q,q,f);return}}ae&8?(j&16&&Qe(m,Y,X),V!==m&&u(E,V)):j&16?ae&16?ne(m,V,E,K,Y,X,Q,q,f):Qe(m,Y,X,!0):(j&8&&u(E,""),ae&16&&M(V,E,K,Y,X,Q,q,f))},_e=($,N,E,K,Y,X,Q,q,f)=>{$=$||en,N=N||en;const m=$.length,j=N.length,V=Math.min(m,j);let se;for(se=0;sej?Qe($,Y,X,!0,!1,V):M(N,E,K,Y,X,Q,q,f,V)},ne=($,N,E,K,Y,X,Q,q,f)=>{let m=0;const j=N.length;let V=$.length-1,se=j-1;for(;m<=V&&m<=se;){const ae=$[m],U=N[m]=f?vo(N[m]):ao(N[m]);if(Yn(ae,U))_(ae,U,E,null,Y,X,Q,q,f);else break;m++}for(;m<=V&&m<=se;){const ae=$[V],U=N[se]=f?vo(N[se]):ao(N[se]);if(Yn(ae,U))_(ae,U,E,null,Y,X,Q,q,f);else break;V--,se--}if(m>V){if(m<=se){const ae=se+1,U=aese)for(;m<=V;)fe($[m],Y,X,!0),m++;else{const ae=m,U=m,S=new Map;for(m=U;m<=se;m++){const Oe=N[m]=f?vo(N[m]):ao(N[m]);Oe.key!=null&&S.set(Oe.key,m)}let D,oe=0;const le=se-U+1;let he=!1,$e=0;const ve=new Array(le);for(m=0;m=le){fe(Oe,Y,X,!0);continue}let ot;if(Oe.key!=null)ot=S.get(Oe.key);else for(D=U;D<=se;D++)if(ve[D-U]===0&&Yn(Oe,N[D])){ot=D;break}ot===void 0?fe(Oe,Y,X,!0):(ve[ot-U]=m+1,ot>=$e?$e=ot:he=!0,_(Oe,N[ot],E,null,Y,X,Q,q,f),oe++)}const ct=he?Pg(ve):en;for(D=ct.length-1,m=le-1;m>=0;m--){const Oe=U+m,ot=N[Oe],co=N[Oe+1],mr=Oe+1{const{el:X,type:Q,transition:q,children:f,shapeFlag:m}=$;if(m&6){ge($.component.subTree,N,E,K);return}if(m&128){$.suspense.move(N,E,K);return}if(m&64){Q.move($,N,E,qe);return}if(Q===Ce){n(X,N,E);for(let V=0;Vq.enter(X),Y));else{const{leave:V,delayLeave:se,afterLeave:ae}=q,U=()=>{$.ctx.isUnmounted?a(X):n(X,N,E)},S=()=>{const D=X._isLeaving||!!X[Br];X._isLeaving&&X[Br](!0),q.persisted&&!D?U():V(X,()=>{U(),ae&&ae()})};se?se(X,U,S):S()}else n(X,N,E)},fe=($,N,E,K=!1,Y=!1)=>{const{type:X,props:Q,ref:q,children:f,dynamicChildren:m,shapeFlag:j,patchFlag:V,dirs:se,cacheIndex:ae,memo:U}=$;if(V===-2&&(Y=!1),q!=null&&(Zt(),Un(q,null,E,$,!0),Xt()),ae!=null&&(N.renderCache[ae]=void 0),j&256){N.ctx.deactivate($);return}const S=j&1&&se,D=!cn($);let oe;if(D&&(oe=Q&&Q.onVnodeBeforeUnmount)&&ro(oe,N,$),j&6)Fe($.component,E,K);else{if(j&128){$.suspense.unmount(E,K);return}S&&zo($,null,N,"beforeUnmount"),j&64?$.type.remove($,N,E,qe,K):m&&!m.hasOnce&&(X!==Ce||V>0&&V&64)?Qe(m,N,E,!1,!0):(X===Ce&&V&384||!Y&&j&16)&&Qe(f,N,E),K&&de($)}const le=U!=null&&ae==null;(D&&(oe=Q&&Q.onVnodeUnmounted)||S||le)&&Et(()=>{oe&&ro(oe,N,$),S&&zo($,null,N,"unmounted"),le&&($.el=null)},E)},de=$=>{const{type:N,el:E,anchor:K,transition:Y}=$;if(N===Ce){Ke(E,K);return}if(N===Zr){b($);return}const X=()=>{a(E),Y&&!Y.persisted&&Y.afterLeave&&Y.afterLeave()};if($.shapeFlag&1&&Y&&!Y.persisted){const{leave:Q,delayLeave:q}=Y,f=()=>Q(E,X);q?q($.el,X,f):f()}else X()},Ke=($,N)=>{let E;for(;$!==N;)E=g($),a($),$=E;a(N)},Fe=($,N,E)=>{const{bum:K,scope:Y,job:X,subTree:Q,um:q,m:f,a:m}=$;Ol(f),Ol(m),K&&ya(K),Y.stop(),X&&(X.flags|=8,fe(Q,$,N,E)),q&&Et(q,N),Et(()=>{$.isUnmounted=!0},N)},Qe=($,N,E,K=!1,Y=!1,X=0)=>{for(let Q=X;Q<$.length;Q++)fe($[Q],N,E,K,Y)},mt=$=>{if($.shapeFlag&6)return mt($.component.subTree);if($.shapeFlag&128)return $.suspense.next();const N=g($.anchor||$.el),E=N&&N[nl];return E?g(E):N};let He=!1;const it=($,N,E)=>{let K;$==null?N._vnode&&(fe(N._vnode,null,null,!0),K=N._vnode.component):_(N._vnode||null,$,N,null,null,null,E),N._vnode=$,He||(He=!0,Xi(K),Qi(),He=!1)},qe={p:_,um:fe,m:ge,r:de,mt:R,mc:M,pc:re,pbc:I,n:mt,o:e};return{render:it,hydrate:void 0,createApp:fg(it)}}function qr({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 Wo({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Tg(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Jr(e,t,o=!1){const n=e.children,a=t.children;if(ke(n)&&ke(a))for(let r=0;r>1,e[o[i]]0&&(t[n]=o[r-1]),o[r]=n)}}for(r=o.length,s=o[r-1];r-- >0;)o[r]=s,s=t[s];return o}function Fl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Fl(t)}function Ol(e){if(e)for(let t=0;te.__isSuspense;function Mg(e,t){t&&t.pendingBranch?ke(e)?t.effects.push(...e):t.effects.push(e):Fp(e)}const Ce=Symbol.for("v-fgt"),Hn=Symbol.for("v-txt"),no=Symbol.for("v-cmt"),Zr=Symbol.for("v-stc"),_o=[];let Ot=null;function W(e=!1){_o.push(Ot=e?null:[])}function Xr(){_o.pop(),Ot=_o[_o.length-1]||null}let Vn=1;function Ga(e,t=!1){Vn+=e,e<0&&Ot&&t&&(Ot.hasOnce=!0)}function jl(e){return e.dynamicChildren=Vn>0?Ot||en:null,Xr(),Vn>0&&Ot&&Ot.push(e),e}function ee(e,t,o,n,a,r){return jl(T(e,t,o,n,a,r,!0))}function rt(e,t,o,n,a){return jl(Ge(e,t,o,n,a,!0))}function Wn(e){return e?e.__v_isVNode===!0:!1}function Yn(e,t){return e.type===t.type&&e.key===t.key}const Gl=({key:e})=>e??null,Ua=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?Ve(e)||Ze(e)||xe(e)?{i:_t,r:e,k:t,f:!!o}:e:null);function T(e,t=null,o=null,n=0,a=null,r=e===Ce?0:1,s=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Gl(t),ref:t&&Ua(t),scopeId:tl,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:_t};return i?(Ka(l,o),r&128&&e.normalize(l)):o&&(l.shapeFlag|=Ve(o)?8:16),Vn>0&&!s&&Ot&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Ot.push(l),l}const Ge=Ng;function Ng(e,t=null,o=null,n=0,a=null,r=!1){if((!e||e===pl)&&(e=no),Wn(e)){const i=dn(e,t,!0);return o&&Ka(i,o),Vn>0&&!r&&Ot&&(i.shapeFlag&6?Ot[Ot.indexOf(e)]=i:Ot.push(i)),i.patchFlag=-2,i}if(Hg(e)&&(e=e.__vccOpts),t){t=Ig(t);let{class:i,style:l}=t;i&&!Ve(i)&&(t.class=Le(i)),je(l)&&(La(l)&&!ke(l)&&(l=nt({},l)),t.style=et(l))}const s=Ve(e)?1:Bl(e)?128:Ma(e)?64:je(e)?4:xe(e)?2:0;return T(e,t,o,n,a,s,r,!0)}function Ig(e){return e?La(e)||El(e)?nt({},e):e:null}function dn(e,t,o=!1,n=!1){const{props:a,ref:r,patchFlag:s,children:i,transition:l}=e,c=t?Rg(a||{},t):a,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Gl(c),ref:t&&t.ref?o&&r?ke(r)?r.concat(Ua(t)):[r,Ua(t)]:Ua(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ce?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&dn(e.ssContent),ssFallback:e.ssFallback&&dn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&jr(u,l.clone(u)),u}function dt(e=" ",t=0){return Ge(Hn,null,e,t)}function be(e="",t=!1){return t?(W(),rt(no,null,e)):Ge(no,null,e)}function ao(e){return e==null||typeof e=="boolean"?Ge(no):ke(e)?Ge(Ce,null,e.slice()):Wn(e)?vo(e):Ge(Hn,null,String(e))}function vo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:dn(e)}function Ka(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(ke(t))o=16;else if(typeof t=="object")if(n&65){const a=t.default;a&&(a._c&&(a._d=!1),Ka(e,a()),a._c&&(a._d=!0));return}else{o=32;const a=t._;!a&&!El(t)?t._ctx=_t:a===3&&_t&&(_t.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(xe(t)){if(n&65){Ka(e,{default:t});return}t={default:t,_ctx:_t},o=32}else t=String(t),n&64?(o=16,t=[dt(t)]):o=8;e.children=t,e.shapeFlag|=o}function Rg(...e){const t={};for(let o=0;ovt||_t;let za,qn;{const e=_a(),t=(o,n)=>{let a;return(a=e[o])||(a=e[o]=[]),a.push(n),r=>{a.length>1?a.forEach(s=>s(r)):a[0](r)}};za=t("__VUE_INSTANCE_SETTERS__",o=>vt=o),qn=t("__VUE_SSR_SETTERS__",o=>pn=o)}const Jn=e=>{const t=vt;return za(e),e.scope.on(),()=>{e.scope.off(),za(t)}},Ul=()=>{vt&&vt.scope.off(),za(null)};function Kl(e){return e.vnode.shapeFlag&4}let pn=!1;function Bg(e,t=!1,o=!1){t&&qn(t);const{props:n,children:a}=e.vnode,r=Kl(e);wg(e,n,r,t),$g(e,a,o||t);const s=r?jg(e,t):void 0;return t&&qn(!1),s}function jg(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ig);const{setup:n}=o;if(n){Zt();const a=e.setupContext=n.length>1?Ug(e):null,r=Jn(e),s=rn(n,e,0,[e.props,a]),i=bi(s);if(Xt(),r(),(i||e.sp)&&!cn(e)&&Gr(e),i){if(s.then(Ul,Ul),t)return s.then(l=>{qn(!0);try{zl(e,l,t)}finally{qn(!1)}}).catch(l=>{Dn(l,e,0)});e.asyncDep=s}else zl(e,s)}else Hl(e)}function zl(e,t,o){xe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:je(t)&&(e.setupState=Wi(t)),Hl(e)}function Hl(e,t,o){const n=e.type;e.render||(e.render=n.render||qt);{const a=Jn(e);Zt();try{lg(e)}finally{Xt(),a()}}}const Gg={get(e,t){return xt(e,"get",""),e[t]}};function Ug(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,Gg),slots:e.slots,emit:e.emit,expose:t}}function Ha(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Wi(Uo(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in Kn)return Kn[o](e)},has(t,o){return o in t||o in Kn}})):e.proxy}const Kg=/(?:^|[-_])\w/g,zg=e=>e.replace(Kg,t=>t.toUpperCase()).replace(/[-_]/g,"");function Vl(e,t=!0){return xe(e)?e.displayName||e.name:e.name||t&&e.__name}function Wl(e,t,o=!1){let n=Vl(t);if(!n&&t.__file){const a=t.__file.match(/([^/\\]+)\.\w+$/);a&&(n=a[1])}if(!n&&e){const a=r=>{for(const s in r)if(r[s]===t)return s};n=a(e.components)||e.parent&&a(e.parent.type.components)||a(e.appContext.components)}return n?zg(n):o?"App":"Anonymous"}function Hg(e){return xe(e)&&"__vccOpts"in e}const Z=(e,t)=>Lp(e,t,pn);function Yl(e,t,o){try{Ga(-1);const n=arguments.length;return n===2?je(t)&&!ke(t)?Wn(t)?Ge(e,null,[t]):Ge(e,t):Ge(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&Wn(o)&&(o=[o]),Ge(e,t,o))}finally{Ga(1)}}const Vg="3.5.42";/** +`,...Rp(a)),console.warn(...r)}Xt(),Fr=!1}function Ip(){let e=On[On.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 Rp(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[` +`],...Fp(o))}),t}function Fp({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,a=` at <${Jl(e.component,e.type,n)}`,r=">"+o;return e.props?[a,...Op(e.props),r]:[a+r]}function Op(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...Xi(n,e[n]))}),o.length>3&&t.push(" ..."),t}function Xi(e,t,o){return We(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:Ze(t)?(t=Xi(e,Me(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):xe(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Me(t),o?t:[`${e}=`,t])}function rn(e,t,o,n){try{return n?e(...n):e()}catch(a){Dn(a,t,o)}}function zt(e,t,o,n){if(xe(e)){const a=rn(e,t,o,n);return a&&vi(a)&&a.catch(r=>{Dn(r,t,o)}),a}if(ke(e)){const a=[];for(let r=0;r>>1,a=Lt[n],r=Bn(a);r=Bn(o)?Lt.push(e):Lt.splice(Bp(t),0,e),e.flags|=1,el()}}function el(){Pa||(Pa=Qi.then(nl))}function jp(e){if(!ke(e))Eo&&e.id===-1?Eo.splice(ln+1,0,e):e.flags&1||(sn.push(e),e.flags|=1);else for(let t=0;tBn(o)-Bn(n));if(sn.length=0,Eo){for(let o=0;oe.id==null?e.flags&2?-1:1/0:e.id;function nl(e){try{for(eo=0;eo{n._d&&Ua(-1);const r=Ma(t),s=yo.length;let i;try{i=e(...a)}finally{for(let l=yo.length;l>s;l--)es();Ma(r),n._d&&Ua(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function Gp(e,t){if(vt===null)return e;const o=Va(vt),n=e.dirs||(e.dirs=[]);for(let a=0;a1)return o&&xe(t)?t.call(n&&n.proxy):t}}function Up(){return!!(vo()||Ho)}const Kp=Symbol.for("v-scx"),zp=()=>Te(Kp);function Hp(e,t){return Dr(e,null,t)}function tt(e,t,o){return Dr(e,t,o)}function Dr(e,t,o=Ve){const{immediate:n,deep:a,flush:r,once:s}=o,i=ot({},o),l=t&&n||!t&&r!=="post";let u;if(pn){if(r==="sync"){const k=zp();u=k.__watcherHandles||(k.__watcherHandles=[])}else if(!l){const k=()=>{};return k.stop=qt,k.resume=qt,k.pause=qt,k}}const c=kt;i.call=(k,x,_)=>zt(k,c,x,_);let d=!1;r==="post"?i.scheduler=k=>{Ct(k,c&&c.suspense)}:r!=="sync"&&(d=!0,i.scheduler=(k,x)=>{x?k():Or(k)}),i.augmentJob=k=>{t&&(k.flags|=4),d&&(k.flags|=2,c&&(k.id=c.uid,k.i=c))};const g=Np(e,t,i);return pn&&(u?u.push(g):l&&g()),g}function Vp(e,t,o){const n=this.proxy,a=We(e)?e.includes(".")?rl(n,e):()=>n[e]:e.bind(n,n);let r;xe(t)?r=t:(r=t.handler,o=t);const s=Jn(this),i=Dr(a,r.bind(n),o);return s(),i}function rl(e,t){const o=t.split(".");return()=>{let n=e;for(let a=0;ae.__isTeleport,zo=e=>e&&(e.disabled||e.disabled===""),Wp=e=>e&&(e.defer||e.defer===""),il=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ll=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Br=(e,t)=>{const o=e&&e.to;return We(o)?t?t(o):null:o},Yp={name:"Teleport",__isTeleport:!0,process(e,t,o,n,a,r,s,i,l,u){const{mc:c,pc:d,pbc:g,o:{insert:k,querySelector:x,createText:_,createComment:p,parentNode:h}}=u,v=zo(t.props);let{dynamicChildren:b}=t;const y=(L,E,P)=>{L.shapeFlag&16&&c(L.children,E,P,a,r,s,i,l)},S=(L=t)=>{const E=zo(L.props),P=L.target=Br(L.props,x),N=jr(P,L,_,k);P&&(s!=="svg"&&il(P)?s="svg":s!=="mathml"&&ll(P)&&(s="mathml"),a&&a.isCE&&(a.ce._teleportTargets||(a.ce._teleportTargets=new Set)).add(P),E||(y(L,P,N),jn(L,!1)))},A=L=>{const E=()=>{if(Co.get(L)===E){if(Co.delete(L),zo(L.props)){const P=h(L.el)||o;y(L,P,L.anchor),jn(L,!0)}S(L)}};Co.set(L,E),Ct(E,r)};if(e==null){const L=t.el=_(""),E=t.anchor=_("");if(k(L,o,n),k(E,o,n),Wp(t.props)||r&&r.pendingBranch){A(t);return}v&&(y(t,o,E),jn(t,!0)),S()}else{t.el=e.el;const L=t.anchor=e.anchor,E=Co.get(e);if(E){E.flags|=8,Co.delete(e),A(t);return}t.targetStart=e.targetStart;const P=t.target=e.target,N=t.targetAnchor=e.targetAnchor,j=zo(e.props),V=j?o:P,O=j?L:N;if(s==="svg"||il(P)?s="svg":(s==="mathml"||ll(P))&&(s="mathml"),b?(g(e.dynamicChildren,b,V,a,r,s,i),Xr(e,t,!0)):l||d(e,t,V,O,a,r,s,i,!1),v)j?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ia(t,o,L,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const I=Br(t.props,x);I&&(t.target=I,Ia(t,I,null,u,0))}else j&&Ia(t,P,N,u,1);jn(t,v)}},remove(e,t,o,{um:n,o:{remove:a}},r){const{shapeFlag:s,children:i,anchor:l,targetStart:u,targetAnchor:c,target:d,props:g}=e,k=zo(g),x=r||!k,_=Co.get(e);if(_&&(_.flags|=8,Co.delete(e)),d&&(a(u),a(c)),r&&a(l),!_&&(k||d)&&s&16)for(let p=0;p1){for(const o of e)if(o.type!==no){t=o;break}}return t}function cl(e){if(!Oa(e))return Na(e.type)&&e.children?Zp(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&&xe(o.default))return o.default()}}function Ur(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const o=e.component.subTree;Ur(Na(o.type)&&cl(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 Gn(e,t){return xe(e)?ot({name:e.name},t,{setup:e}):e}function Kr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ul(e,t){let o;return!!((o=Object.getOwnPropertyDescriptor(e,t))&&!o.configurable)}const Ra=new WeakMap;function Un(e,t,o,n,a=!1){if(ke(e)){e.forEach((_,p)=>Un(_,t&&(ke(t)?t[p]:t),o,n,a));return}if(cn(n)&&!a){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Un(e,t,o,n.component.subTree);return}const r=n.shapeFlag&4?Va(n.component):n.el,s=a?null:r,{i,r:l}=e,u=t&&t.r,c=i.refs===Ve?i.refs={}:i.refs,d=i.setupState,g=Me(d),k=d===Ve?yi:_=>ul(c,_)?!1:Fe(g,_),x=(_,p)=>!(p&&ul(c,p));if(u!=null&&u!==l){if(dl(t),We(u))c[u]=null,k(u)&&(d[u]=null);else if(Ze(u)){const _=t;x(u,_.k)&&(u.value=null),_.k&&(c[_.k]=null)}}if(xe(l))rn(l,i,12,[s,c]);else{const _=We(l),p=Ze(l);if(_||p){const h=()=>{if(e.f){const v=_?k(l)?d[l]:c[l]:x()||!e.k?l.value:c[e.k];if(a)ke(v)&&vr(v,r);else if(ke(v))v.includes(r)||v.push(r);else if(_)c[l]=[r],k(l)&&(d[l]=c[l]);else{const b=[r];x(l,e.k)&&(l.value=b),e.k&&(c[e.k]=b)}}else _?(c[l]=s,k(l)&&(d[l]=s)):p&&(x(l,e.k)&&(l.value=s),e.k&&(c[e.k]=s))};if(s){const v=()=>{h(),Ra.delete(e)};v.id=-1,Ra.set(e,v),Ct(v,o)}else dl(e),h()}}}function dl(e){const t=Ra.get(e);t&&(t.flags|=8,Ra.delete(e))}const pl=e=>e.nodeType===8;va().requestIdleCallback,va().cancelIdleCallback;function Xp(e,t){if(pl(e)&&e.data==="["){let o=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(pl(n))if(n.data==="]"){if(--o===0)break}else n.data==="["&&o++;n=n.nextSibling}}else t(e)}const cn=e=>!!e.type.__asyncLoader;function Qp(e){xe(e)&&(e={loader:e});const{loader:t,loadingComponent:o,errorComponent:n,delay:a=200,hydrate:r,timeout:s,suspensible:i=!0,onError:l}=e;let u=null,c,d=0;const g=()=>(d++,u=null,k()),k=()=>{let x;return u||(x=u=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),l)return new Promise((p,h)=>{l(_,()=>p(g()),()=>h(_),d+1)});throw _}).then(_=>x!==u&&u?u:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),c=_,_)))};return Gn({name:"AsyncComponentWrapper",__asyncLoader:k,__asyncHydrate(x,_,p){const h=x.isConnected;let v=!1;(_.bu||(_.bu=[])).push(()=>v=!0);const b=()=>{v||!x.parentNode||h&&!x.isConnected||p()},y=r?()=>{const S=r(b,A=>Xp(x,A));S&&(_.bum||(_.bum=[])).push(S)}:b;c?y():k().then(()=>!_.isUnmounted&&y())},get __asyncResolved(){return c},setup(){const x=kt;if(Kr(x),c)return()=>Fa(c,x);const _=S=>{u=null,Dn(S,x,13,!n)};if(i&&x.suspense||pn)return k().then(S=>()=>Fa(S,x)).catch(S=>(_(S),()=>n?Ue(n,{error:S}):null));const p=ie(!1),h=ie(),v=ie(!!a);let b,y;return Ba(()=>{b!=null&&clearTimeout(b),y!=null&&clearTimeout(y)}),a&&(y=setTimeout(()=>{x.isUnmounted||(v.value=!1)},a)),s!=null&&(b=setTimeout(()=>{if(!x.isUnmounted&&!p.value&&!h.value){const S=new Error(`Async component timed out after ${s}ms.`);_(S),h.value=S}},s)),k().then(()=>{x.isUnmounted||(p.value=!0,x.parent&&Oa(x.parent.vnode)&&x.parent.update())}).catch(S=>{if(x.isUnmounted){u=null;return}_(S),h.value=S}),()=>{if(p.value&&c)return Fa(c,x);if(h.value&&n)return Ue(n,{error:h.value});if(o&&!v.value)return Fa(o,x)}}})}function Fa(e,t){const{ref:o,props:n,children:a,ce:r}=t.vnode,s=Ue(e,n,a);return s.ref=o,s.ce=r,delete t.vnode.ce,s}const Oa=e=>e.type.__isKeepAlive;function eg(e,t){gl(e,"a",t)}function tg(e,t){gl(e,"da",t)}function gl(e,t,o=kt){const n=e.__wdc||(e.__wdc=()=>{let a=o;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(Da(t,n,o),o){let a=o.parent;for(;a&&a.parent;)Oa(a.parent.vnode)&&og(n,t,o,a),a=a.parent}}function og(e,t,o,n){const a=Da(t,e,n,!0);Ba(()=>{vr(n[t],a)},o)}function Da(e,t,o=kt,n=!1){if(o){const a=o[e]||(o[e]=[]),r=t.__weh||(t.__weh=(...s)=>{Zt();const i=Jn(o),l=zt(t,o,e,s);return i(),Xt(),l});return n?a.unshift(r):a.push(r),r}}const bo=e=>(t,o=kt)=>{(!pn||e==="sp")&&Da(e,(...n)=>t(...n),o)},fl=bo("bm"),to=bo("m"),ng=bo("bu"),ag=bo("u"),oo=bo("bum"),Ba=bo("um"),rg=bo("sp"),sg=bo("rtg"),ig=bo("rtc");function lg(e,t=kt){Da("ec",e,t)}const cg="components",hl=Symbol.for("v-ndc");function ml(e){return We(e)?ug(cg,e,!1)||e:e||hl}function ug(e,t,o=!0,n=!1){const a=vt||kt;if(a){const r=a.type;{const i=ql(r,!1);if(i&&(i===t||i===gt(t)||i===ya(gt(t))))return r}const s=bl(a[e]||r[e],t)||bl(a.appContext[e],t);return!s&&n?r:s}}function bl(e,t){return e&&(e[t]||e[gt(t)]||e[ya(gt(t))])}function At(e,t,o,n){let a;const r=o,s=ke(e);if(s||We(e)){const i=s&&go(e);let l=!1,u=!1;i&&(l=!Ft(e),u=fo(e),e=xa(e)),a=new Array(e.length);for(let c=0,d=e.length;ct(i,l,void 0,r));else{const i=Object.keys(e);a=new Array(i.length);for(let l=0,u=i.length;l0;return t!=="default"&&(u.name=t),W(),rt(Ee,null,[Ue("slot",u,n)],c?-2:64)}let s=e[t];s&&s._c&&(s._d=!1);const i=yo.length;W();let l;try{const u=s&&yl(s(o)),c=o.key||r||u&&u.key;l=rt(Ee,{key:(c&&!It(c)?c:`_${t}`)+(!u&&n?"_fb":"")},u||(n?n():[]),u&&e._===1?64:-2)}catch(u){for(let c=yo.length;c>i;c--)es();throw u}finally{s&&s._c&&(s._d=!0)}return!a&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function yl(e){return e.some(t=>Wn(t)?!(t.type===no||t.type===Ee&&!yl(t.children)):!0)?e:null}const zr=e=>e?Vl(e)?Va(e):zr(e.parent):null,Kn=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=>zr(e.parent),$root:e=>zr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>wl(e),$forceUpdate:e=>e.f||(e.f=()=>{Or(e.update)}),$nextTick:e=>e.n||(e.n=mo.bind(e.proxy)),$watch:e=>Vp.bind(e)}),Hr=(e,t)=>e!==Ve&&!e.__isScriptSetup&&Fe(e,t),dg={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:a,props:r,accessCache:s,type:i,appContext:l}=e;if(t[0]!=="$"){const g=s[t];if(g!==void 0)switch(g){case 1:return n[t];case 2:return a[t];case 4:return o[t];case 3:return r[t]}else{if(Hr(n,t))return s[t]=1,n[t];if(a!==Ve&&Fe(a,t))return s[t]=2,a[t];if(Fe(r,t))return s[t]=3,r[t];if(o!==Ve&&Fe(o,t))return s[t]=4,o[t];Vr&&(s[t]=0)}}const u=Kn[t];let c,d;if(u)return t==="$attrs"&&St(e.attrs,"get",""),u(e);if((c=i.__cssModules)&&(c=c[t]))return c;if(o!==Ve&&Fe(o,t))return s[t]=4,o[t];if(d=l.config.globalProperties,Fe(d,t))return d[t]},set({_:e},t,o){const{data:n,setupState:a,ctx:r}=e;return Hr(a,t)?(a[t]=o,!0):n!==Ve&&Fe(n,t)?(n[t]=o,!0):Fe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:a,props:r,type:s}},i){let l;return!!(o[i]||e!==Ve&&i[0]!=="$"&&Fe(e,i)||Hr(t,i)||Fe(r,i)||Fe(n,i)||Fe(Kn,i)||Fe(a.config.globalProperties,i)||(l=s.__cssModules)&&l[i])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:Fe(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function _l(e){return ke(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let Vr=!0;function pg(e){const t=wl(e),o=e.proxy,n=e.ctx;Vr=!1,t.beforeCreate&&vl(t.beforeCreate,e,"bc");const{data:a,computed:r,methods:s,watch:i,provide:l,inject:u,created:c,beforeMount:d,mounted:g,beforeUpdate:k,updated:x,activated:_,deactivated:p,beforeDestroy:h,beforeUnmount:v,destroyed:b,unmounted:y,render:S,renderTracked:A,renderTriggered:L,errorCaptured:E,serverPrefetch:P,expose:N,inheritAttrs:j,components:V,directives:O,filters:I}=t;if(u&&gg(u,n,null),s)for(const K in s){const le=s[K];xe(le)&&(n[K]=le.bind(o))}if(a){const K=a.call(o,o);Ge(K)&&(e.data=on(K))}if(Vr=!0,r)for(const K in r){const le=r[K],_e=xe(le)?le.bind(o,o):xe(le.get)?le.get.bind(o,o):qt,F=!xe(le)&&xe(le.set)?le.set.bind(o):qt,de=X({get:_e,set:F});Object.defineProperty(n,K,{enumerable:!0,configurable:!0,get:()=>de.value,set:fe=>de.value=fe})}if(i)for(const K in i)kl(i[K],n,o,K);if(l){const K=xe(l)?l.call(o):l;Reflect.ownKeys(K).forEach(le=>{Pt(le,K[le])})}c&&vl(c,e,"c");function R(K,le){ke(le)?le.forEach(_e=>K(_e.bind(o))):le&&K(le.bind(o))}if(R(fl,d),R(to,g),R(ng,k),R(ag,x),R(eg,_),R(tg,p),R(lg,E),R(ig,A),R(sg,L),R(oo,v),R(Ba,y),R(rg,P),ke(N))if(N.length){const K=e.exposed||(e.exposed={});N.forEach(le=>{Object.defineProperty(K,le,{get:()=>o[le],set:_e=>o[le]=_e,enumerable:!0})})}else e.exposed||(e.exposed={});S&&e.render===qt&&(e.render=S),j!=null&&(e.inheritAttrs=j),V&&(e.components=V),O&&(e.directives=O),P&&Kr(e)}function gg(e,t,o=qt){ke(e)&&(e=Wr(e));for(const n in e){const a=e[n];let r;Ge(a)?"default"in a?r=Te(a.from||n,a.default,!0):r=Te(a.from||n):r=Te(a),Ze(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:s=>r.value=s}):t[n]=r}}function vl(e,t,o){zt(ke(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function kl(e,t,o,n){let a=n.includes(".")?rl(o,n):()=>o[n];if(We(e)){const r=t[e];xe(r)&&tt(a,r)}else if(xe(e))tt(a,e.bind(o));else if(Ge(e))if(ke(e))e.forEach(r=>kl(r,t,o,n));else{const r=xe(e.handler)?e.handler.bind(o):t[e.handler];xe(r)&&tt(a,r,e)}}function wl(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:a,optionsCache:r,config:{optionMergeStrategies:s}}=e.appContext,i=r.get(t);let l;return i?l=i:!a.length&&!o&&!n?l=t:(l={},a.length&&a.forEach(u=>ja(l,u,s,!0)),ja(l,t,s)),Ge(t)&&r.set(t,l),l}function ja(e,t,o,n=!1){const{mixins:a,extends:r}=t;r&&ja(e,r,o,!0),a&&a.forEach(s=>ja(e,s,o,!0));for(const s in t)if(!(n&&s==="expose")){const i=fg[s]||o&&o[s];e[s]=i?i(e[s],t[s]):t[s]}return e}const fg={data:xl,props:Sl,emits:Sl,methods:zn,computed:zn,beforeCreate:Et,created:Et,beforeMount:Et,mounted:Et,beforeUpdate:Et,updated:Et,beforeDestroy:Et,beforeUnmount:Et,destroyed:Et,unmounted:Et,activated:Et,deactivated:Et,errorCaptured:Et,serverPrefetch:Et,components:zn,directives:zn,watch:mg,provide:xl,inject:hg};function xl(e,t){return t?e?function(){return ot(xe(e)?e.call(this,this):e,xe(t)?t.call(this,this):t)}:t:e}function hg(e,t){return zn(Wr(e),Wr(t))}function Wr(e){if(ke(e)){const t={};for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${gt(t)}Modifiers`]||e[`${Rt(t)}Modifiers`];function vg(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||Ve;let a=o;const r=t.startsWith("update:"),s=r&&_g(n,t.slice(7));s&&(s.trim&&(a=o.map(c=>We(c)?c.trim():c)),s.number&&(a=a.map(wr)));let i,l=n[i=kr(t)]||n[i=kr(gt(t))];!l&&r&&(l=n[i=kr(Rt(t))]),l&&zt(l,e,6,a);const u=n[i+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,zt(u,e,6,a)}}const kg=new WeakMap;function $l(e,t,o=!1){const n=o?kg:t.emitsCache,a=n.get(e);if(a!==void 0)return a;const r=e.emits;let s={},i=!1;if(!xe(e)){const l=u=>{const c=$l(u,t,!0);c&&(i=!0,ot(s,c))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!i?(Ge(e)&&n.set(e,null),null):(ke(r)?r.forEach(l=>s[l]=null):ot(s,r),Ge(e)&&n.set(e,s),s)}function Ga(e,t){return!e||!pa(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),Fe(e,t[0].toLowerCase()+t.slice(1))||Fe(e,Rt(t))||Fe(e,t))}function Zw(){}function Ll(e){const{type:t,vnode:o,proxy:n,withProxy:a,propsOptions:[r],slots:s,attrs:i,emit:l,render:u,renderCache:c,props:d,data:g,setupState:k,ctx:x,inheritAttrs:_}=e,p=Ma(e);let h,v;try{if(o.shapeFlag&4){const y=a||n,S=y;h=ao(u.call(S,y,c,d,k,g,x)),v=i}else{const y=t;h=ao(y.length>1?y(d,{attrs:i,slots:s,emit:l}):y(d,null)),v=t.props?i:wg(i)}}catch(y){yo.length=0,Dn(y,e,1),h=Ue(no)}let b=h;if(v&&_!==!1){const y=Object.keys(v),{shapeFlag:S}=b;y.length&&S&7&&(r&&y.some(ga)&&(v=xg(v,r)),b=dn(b,v,!1,!0))}if(o.dirs&&(b=dn(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(o.dirs):o.dirs),o.transition){const y=Na(b.type)&&cl(b)||b;Ur(y,o.transition)}return h=b,Ma(p),h}const wg=e=>{let t;for(const o in e)(o==="class"||o==="style"||pa(o))&&((t||(t={}))[o]=e[o]);return t},xg=(e,t)=>{const o={};for(const n in e)(!ga(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function Sg(e,t,o){const{props:n,children:a,component:r}=e,{props:s,children:i,patchFlag:l}=t,u=r.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&l>=0){if(l&1024)return!0;if(l&16)return n?El(n,s,u):!!s;if(l&8){const c=t.dynamicProps;for(let d=0;dObject.create(Tl),Ml=e=>Object.getPrototypeOf(e)===Tl;function $g(e,t,o,n=!1){const a={},r=Pl();e.propsDefaults=Object.create(null),Nl(e,t,a,r);for(const s in e.propsOptions[0])s in a||(a[s]=void 0);o?e.props=n?a:xp(a):e.type.props?e.props=a:e.props=r,e.attrs=r}function Lg(e,t,o,n){const{props:a,attrs:r,vnode:{patchFlag:s}}=e,i=Me(a),[l]=e.propsOptions;let u=!1;if((n||s>0)&&!(s&16)){if(s&8){const c=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[g,k]=Il(d,t,!0);ot(s,g),k&&i.push(...k)};!o&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!r&&!l)return Ge(e)&&n.set(e,en),en;if(ke(r))for(let c=0;ce==="_"||e==="_ctx"||e==="$stable",Jr=e=>ke(e)?e.map(ao):[ao(e)],Cg=(e,t,o)=>{if(t._n)return t;const n=jt((...a)=>Jr(t(...a)),o);return n._c=!1,n},Fl=(e,t,o)=>{const n=e._ctx;for(const a in e){if(qr(a))continue;const r=e[a];if(xe(r))t[a]=Cg(a,r,n);else if(r!=null){const s=Jr(r);t[a]=()=>s}}},Ol=(e,t)=>{const o=Jr(t);e.slots.default=()=>o},Dl=(e,t,o)=>{for(const n in t)(o||!qr(n))&&(e[n]=t[n])},Tg=(e,t,o)=>{const n=e.slots=Pl();if(e.vnode.shapeFlag&32){const a=t._;a?(Dl(n,t,o),o&&wi(n,"_",a,!0)):Fl(t,n)}else t&&Ol(e,t)},Pg=(e,t,o)=>{const{vnode:n,slots:a}=e;let r=!0,s=Ve;if(n.shapeFlag&32){const i=t._;i?o&&i===1?r=!1:Dl(a,t,o):(r=!t.$stable,Fl(t,a)),s=t}else t&&(Ol(e,t),s={default:1});if(r)for(const i in a)!qr(i)&&s[i]==null&&delete a[i]},Ct=Fg;function Mg(e){return Ng(e)}function Ng(e,t){const o=va();o.__VUE__=!0;const{insert:n,remove:a,patchProp:r,createElement:s,createText:i,createComment:l,setText:u,setElementText:c,parentNode:d,nextSibling:g,setScopeId:k=qt,insertStaticContent:x}=e,_=($,M,C,z=null,J=null,Q=null,ee=void 0,Z=null,f=!!M.dynamicChildren)=>{if($===M)return;$&&!Yn($,M)&&(z=mt($),fe($,J,Q,!0),$=null),M.patchFlag===-2&&(f=!1,M.dynamicChildren=null);const{type:m,ref:B,shapeFlag:Y}=M;switch(m){case Hn:p($,M,C,z);break;case no:h($,M,C,z);break;case Qr:$==null&&v(M,C,z,ee);break;case Ee:V($,M,C,z,J,Q,ee,Z,f);break;default:Y&1?S($,M,C,z,J,Q,ee,Z,f):Y&6?O($,M,C,z,J,Q,ee,Z,f):(Y&64||Y&128)&&m.process($,M,C,z,J,Q,ee,Z,f,Qe)}B!=null&&J?Un(B,$&&$.ref,Q,M||$,!M):B==null&&$&&$.ref!=null&&Un($.ref,null,Q,$,!0)},p=($,M,C,z)=>{if($==null)n(M.el=i(M.children),C,z);else{const J=M.el=$.el;M.children!==$.children&&u(J,M.children)}},h=($,M,C,z)=>{$==null?n(M.el=l(M.children||""),C,z):M.el=$.el},v=($,M,C,z)=>{[$.el,$.anchor]=x($.children,M,C,z,$.el,$.anchor)},b=({el:$,anchor:M},C,z)=>{let J;for(;$&&$!==M;)J=g($),n($,C,z),$=J;n(M,C,z)},y=({el:$,anchor:M})=>{let C;for(;$&&$!==M;)C=g($),a($),$=C;a(M)},S=($,M,C,z,J,Q,ee,Z,f)=>{if(M.type==="svg"?ee="svg":M.type==="math"&&(ee="mathml"),$==null)A(M,C,z,J,Q,ee,Z,f);else{const m=$.el&&$.el._isVueCE?$.el:null;try{m&&m._beginPatch(),P($,M,J,Q,ee,Z,f)}finally{m&&m._endPatch()}}},A=($,M,C,z,J,Q,ee,Z)=>{let f,m;const{props:B,shapeFlag:Y,transition:re,dirs:ae}=$;if(f=$.el=s($.type,Q,B&&B.is,B),Y&8?c(f,$.children):Y&16&&E($.children,f,null,z,J,Zr($,Q),ee,Z),ae&&Ko($,null,z,"created"),L(f,$,$.scopeId,ee,z),B){for(const w in B)w!=="value"&&!Pn(w)&&r(f,w,null,B[w],Q,z);"value"in B&&r(f,"value",null,B.value,Q),(m=B.onVnodeBeforeMount)&&ro(m,z,$)}ae&&Ko($,null,z,"beforeMount");const U=Ig(J,re);U&&re.beforeEnter(f),n(f,M,C),((m=B&&B.onVnodeMounted)||U||ae)&&Ct(()=>{try{m&&ro(m,z,$),U&&re.enter(f),ae&&Ko($,null,z,"mounted")}finally{}},J)},L=($,M,C,z,J)=>{if(C&&k($,C),z)for(let Q=0;Q{for(let m=f;m<$.length;m++){const B=$[m]=Z?_o($[m]):ao($[m]);_(null,B,M,C,z,J,Q,ee,Z)}},P=($,M,C,z,J,Q,ee)=>{const Z=M.el=$.el;let{patchFlag:f,dynamicChildren:m,dirs:B}=M;f|=$.patchFlag&16;const Y=$.props||Ve,re=M.props||Ve;let ae;if(C&&Vo(C,!1),(ae=re.onVnodeBeforeUpdate)&&ro(ae,C,M,$),B&&Ko(M,$,C,"beforeUpdate"),C&&Vo(C,!0),m&&(!$.dynamicChildren||$.dynamicChildren.length!==m.length)&&(f=0,ee=!1,m=null),(Y.innerHTML&&re.innerHTML==null||Y.textContent&&re.textContent==null)&&c(Z,""),m?N($.dynamicChildren,m,Z,C,z,Zr(M,J),Q):ee||le($,M,Z,null,C,z,Zr(M,J),Q,!1),f>0){if(f&16)j(Z,Y,re,C,J);else if(f&2&&Y.class!==re.class&&r(Z,"class",null,re.class,J),f&4&&r(Z,"style",Y.style,re.style,J),f&8){const U=M.dynamicProps;for(let w=0;w{ae&&ro(ae,C,M,$),B&&Ko(M,$,C,"updated")},z)},N=($,M,C,z,J,Q,ee)=>{for(let Z=0;Z{if(M!==C){if(M!==Ve)for(const Q in M)!Pn(Q)&&!(Q in C)&&r($,Q,M[Q],null,J,z);for(const Q in C){if(Pn(Q))continue;const ee=C[Q],Z=M[Q];ee!==Z&&Q!=="value"&&r($,Q,Z,ee,J,z)}"value"in C&&r($,"value",M.value,C.value,J)}},V=($,M,C,z,J,Q,ee,Z,f)=>{const m=M.el=$?$.el:i(""),B=M.anchor=$?$.anchor:i("");let{patchFlag:Y,dynamicChildren:re,slotScopeIds:ae}=M;ae&&(Z=Z?Z.concat(ae):ae),$==null?(n(m,C,z),n(B,C,z),E(M.children||[],C,B,J,Q,ee,Z,f)):Y>0&&Y&64&&re&&$.dynamicChildren&&$.dynamicChildren.length===re.length?(N($.dynamicChildren,re,C,J,Q,ee,Z),(M.key!=null||J&&M===J.subTree)&&Xr($,M,!0)):le($,M,C,B,J,Q,ee,Z,f)},O=($,M,C,z,J,Q,ee,Z,f)=>{M.slotScopeIds=Z,$==null?M.shapeFlag&512?J.ctx.activate(M,C,z,ee,f):I(M,C,z,J,Q,ee,f):G($,M,f)},I=($,M,C,z,J,Q,ee)=>{const Z=$.component=Ug($,z,J);if(Oa($)&&(Z.ctx.renderer=Qe),Kg(Z,!1,ee),Z.asyncDep){if(J&&J.registerDep(Z,R,ee),!$.el){const f=Z.subTree=Ue(no);h(null,f,M,C),$.placeholder=f.el}}else R(Z,$,M,C,J,Q,ee)},G=($,M,C)=>{const z=M.component=$.component;if(Sg($,M,C))if(z.asyncDep&&!z.asyncResolved){K(z,M,C);return}else z.next=M,z.update();else M.el=$.el,z.vnode=M},R=($,M,C,z,J,Q,ee)=>{const Z=()=>{if($.isMounted){let{next:Y,bu:re,u:ae,parent:U,vnode:w}=$;{const Ae=Bl($);if(Ae){Y&&(Y.el=w.el,K($,Y,ee)),Ae.asyncDep.then(()=>{Ct(()=>{$.isUnmounted||m()},J)});return}}let D=Y,ne;Vo($,!1),Y?(Y.el=w.el,K($,Y,ee)):Y=w,re&&_a(re),(ne=Y.props&&Y.props.onVnodeBeforeUpdate)&&ro(ne,U,Y,w),Vo($,!0);const ue=Ll($),he=$.subTree;$.subTree=ue,_(he,ue,d(he.el),mt(he),$,J,Q),Y.el=ue.el,D===null&&Ag($,ue.el),ae&&Ct(ae,J),(ne=Y.props&&Y.props.onVnodeUpdated)&&Ct(()=>ro(ne,U,Y,w),J)}else{let Y;const{el:re,props:ae}=M,{bm:U,m:w,parent:D,root:ne,type:ue}=$,he=cn(M);Vo($,!1),U&&_a(U),!he&&(Y=ae&&ae.onVnodeBeforeMount)&&ro(Y,D,M),Vo($,!0);{ne.ce&&ne.ce._hasShadowRoot()&&ne.ce._injectChildStyle(ue,$.parent?$.parent.type:void 0);const Ae=$.subTree=Ll($);_(null,Ae,C,z,$,J,Q),M.el=Ae.el}if(w&&Ct(w,J),!he&&(Y=ae&&ae.onVnodeMounted)){const Ae=M;Ct(()=>ro(Y,D,Ae),J)}(M.shapeFlag&256||D&&cn(D.vnode)&&D.vnode.shapeFlag&256)&&$.a&&Ct($.a,J),$.isMounted=!0,M=C=z=null}};$.scope.on();const f=$.effect=new Pi(Z);$.scope.off();const m=$.update=f.run.bind(f),B=$.job=f.runIfDirty.bind(f);B.i=$,B.id=$.uid,f.scheduler=()=>Or(B),Vo($,!0),m()},K=($,M,C)=>{M.component=$;const z=$.vnode.props;$.vnode=M,$.next=null,Lg($,M.props,z,C),Pg($,M.children,C),Zt(),tl($),Xt()},le=($,M,C,z,J,Q,ee,Z,f=!1)=>{const m=$&&$.children,B=$?$.shapeFlag:0,Y=M.children,{patchFlag:re,shapeFlag:ae}=M;if(re>0){if(re&128){F(m,Y,C,z,J,Q,ee,Z,f);return}else if(re&256){_e(m,Y,C,z,J,Q,ee,Z,f);return}}ae&8?(B&16&&ze(m,J,Q),Y!==m&&c(C,Y)):B&16?ae&16?F(m,Y,C,z,J,Q,ee,Z,f):ze(m,J,Q,!0):(B&8&&c(C,""),ae&16&&E(Y,C,z,J,Q,ee,Z,f))},_e=($,M,C,z,J,Q,ee,Z,f)=>{$=$||en,M=M||en;const m=$.length,B=M.length,Y=Math.min(m,B);let re;for(re=0;reB?ze($,J,Q,!0,!1,Y):E(M,C,z,J,Q,ee,Z,f,Y)},F=($,M,C,z,J,Q,ee,Z,f)=>{let m=0;const B=M.length;let Y=$.length-1,re=B-1;for(;m<=Y&&m<=re;){const ae=$[m],U=M[m]=f?_o(M[m]):ao(M[m]);if(Yn(ae,U))_(ae,U,C,null,J,Q,ee,Z,f);else break;m++}for(;m<=Y&&m<=re;){const ae=$[Y],U=M[re]=f?_o(M[re]):ao(M[re]);if(Yn(ae,U))_(ae,U,C,null,J,Q,ee,Z,f);else break;Y--,re--}if(m>Y){if(m<=re){const ae=re+1,U=aere)for(;m<=Y;)fe($[m],J,Q,!0),m++;else{const ae=m,U=m,w=new Map;for(m=U;m<=re;m++){const De=M[m]=f?_o(M[m]):ao(M[m]);De.key!=null&&w.set(De.key,m)}let D,ne=0;const ue=re-U+1;let he=!1,Ae=0;const ve=new Array(ue);for(m=0;m=ue){fe(De,J,Q,!0);continue}let He;if(De.key!=null)He=w.get(De.key);else for(D=U;D<=re;D++)if(ve[D-U]===0&&Yn(De,M[D])){He=D;break}He===void 0?fe(De,J,Q,!0):(ve[He-U]=m+1,He>=Ae?Ae=He:he=!0,_(De,M[He],C,null,J,Q,ee,Z,f),ne++)}const pt=he?Rg(ve):en;for(D=pt.length-1,m=ue-1;m>=0;m--){const De=U+m,He=M[De],Xo=M[De+1],yr=De+1{const{el:Q,type:ee,transition:Z,children:f,shapeFlag:m}=$;if(m&6){de($.component.subTree,M,C,z);return}if(m&128){$.suspense.move(M,C,z);return}if(m&64){ee.move($,M,C,Qe);return}if(ee===Ee){n(Q,M,C);for(let Y=0;YZ.enter(Q),J));else{const{leave:Y,delayLeave:re,afterLeave:ae}=Z,U=()=>{$.ctx.isUnmounted?a(Q):n(Q,M,C)},w=()=>{const D=Q._isLeaving||!!Q[Gr];Q._isLeaving&&Q[Gr](!0),Z.persisted&&!D?U():Y(Q,()=>{U(),ae&&ae()})};re?re(Q,U,w):w()}else n(Q,M,C)},fe=($,M,C,z=!1,J=!1)=>{const{type:Q,props:ee,ref:Z,children:f,dynamicChildren:m,shapeFlag:B,patchFlag:Y,dirs:re,cacheIndex:ae,memo:U}=$;if(Y===-2&&(J=!1),Z!=null&&(Zt(),Un(Z,null,C,$,!0),Xt()),ae!=null&&(M.renderCache[ae]=void 0),B&256){M.ctx.deactivate($);return}const w=B&1&&re,D=!cn($);let ne;if(D&&(ne=ee&&ee.onVnodeBeforeUnmount)&&ro(ne,M,$),B&6)Ne($.component,C,z);else{if(B&128){$.suspense.unmount(C,z);return}w&&Ko($,null,M,"beforeUnmount"),B&64?$.type.remove($,M,C,Qe,z):m&&!m.hasOnce&&(Q!==Ee||Y>0&&Y&64)?ze(m,M,C,!1,!0):(Q===Ee&&Y&384||!J&&B&16)&&ze(f,M,C),z&&pe($)}const ue=U!=null&&ae==null;(D&&(ne=ee&&ee.onVnodeUnmounted)||w||ue)&&Ct(()=>{ne&&ro(ne,M,$),w&&Ko($,null,M,"unmounted"),ue&&($.el=null)},C)},pe=$=>{const{type:M,el:C,anchor:z,transition:J}=$;if(M===Ee){Oe(C,z);return}if(M===Qr){y($);return}const Q=()=>{a(C),J&&!J.persisted&&J.afterLeave&&J.afterLeave()};if($.shapeFlag&1&&J&&!J.persisted){const{leave:ee,delayLeave:Z}=J,f=()=>ee(C,Q);Z?Z($.el,Q,f):f()}else Q()},Oe=($,M)=>{let C;for(;$!==M;)C=g($),a($),$=C;a(M)},Ne=($,M,C)=>{const{bum:z,scope:J,job:Q,subTree:ee,um:Z,m:f,a:m}=$;jl(f),jl(m),z&&_a(z),J.stop(),Q&&(Q.flags|=8,fe(ee,$,M,C)),Z&&Ct(Z,M),Ct(()=>{$.isUnmounted=!0},M)},ze=($,M,C,z=!1,J=!1,Q=0)=>{for(let ee=Q;ee<$.length;ee++)fe($[ee],M,C,z,J)},mt=$=>{if($.shapeFlag&6)return mt($.component.subTree);if($.shapeFlag&128)return $.suspense.next();const M=g($.anchor||$.el),C=M&&M[sl];return C?g(C):M};let nt=!1;const bt=($,M,C)=>{let z;$==null?M._vnode&&(fe(M._vnode,null,null,!0),z=M._vnode.component):_(M._vnode||null,$,M,null,null,null,C),M._vnode=$,nt||(nt=!0,tl(z),ol(),nt=!1)},Qe={p:_,um:fe,m:de,r:pe,mt:I,mc:E,pc:le,pbc:N,n:mt,o:e};return{render:bt,hydrate:void 0,createApp:yg(bt)}}function Zr({type:e,props:t},o){return o==="svg"&&e==="foreignObject"||o==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:o}function Vo({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ig(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Xr(e,t,o=!1){const n=e.children,a=t.children;if(ke(n)&&ke(a))for(let r=0;r>1,e[o[i]]0&&(t[n]=o[r-1]),o[r]=n)}}for(r=o.length,s=o[r-1];r-- >0;)o[r]=s,s=t[s];return o}function Bl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Bl(t)}function jl(e){if(e)for(let t=0;te.__isSuspense;function Fg(e,t){t&&t.pendingBranch?ke(e)?t.effects.push(...e):t.effects.push(e):jp(e)}const Ee=Symbol.for("v-fgt"),Hn=Symbol.for("v-txt"),no=Symbol.for("v-cmt"),Qr=Symbol.for("v-stc"),yo=[];let Ot=null;function W(e=!1){yo.push(Ot=e?null:[])}function es(){yo.pop(),Ot=yo[yo.length-1]||null}let Vn=1;function Ua(e,t=!1){Vn+=e,e<0&&Ot&&t&&(Ot.hasOnce=!0)}function Kl(e){return e.dynamicChildren=Vn>0?Ot||en:null,es(),Vn>0&&Ot&&Ot.push(e),e}function te(e,t,o,n,a,r){return Kl(T(e,t,o,n,a,r,!0))}function rt(e,t,o,n,a){return Kl(Ue(e,t,o,n,a,!0))}function Wn(e){return e?e.__v_isVNode===!0:!1}function Yn(e,t){return e.type===t.type&&e.key===t.key}const zl=({key:e})=>e??null,Ka=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?We(e)||Ze(e)||xe(e)?{i:vt,r:e,k:t,f:!!o}:e:null);function T(e,t=null,o=null,n=0,a=null,r=e===Ee?0:1,s=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&zl(t),ref:t&&Ka(t),scopeId:al,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:vt};return i?(za(l,o),r&128&&e.normalize(l)):o&&(l.shapeFlag|=We(o)?8:16),Vn>0&&!s&&Ot&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Ot.push(l),l}const Ue=Og;function Og(e,t=null,o=null,n=0,a=null,r=!1){if((!e||e===hl)&&(e=no),Wn(e)){const i=dn(e,t,!0);return o&&za(i,o),Vn>0&&!r&&Ot&&(i.shapeFlag&6?Ot[Ot.indexOf(e)]=i:Ot.push(i)),i.patchFlag=-2,i}if(qg(e)&&(e=e.__vccOpts),t){t=Dg(t);let{class:i,style:l}=t;i&&!We(i)&&(t.class=Le(i)),Ge(l)&&(Ea(l)&&!ke(l)&&(l=ot({},l)),t.style=et(l))}const s=We(e)?1:Ul(e)?128:Na(e)?64:Ge(e)?4:xe(e)?2:0;return T(e,t,o,n,a,s,r,!0)}function Dg(e){return e?Ea(e)||Ml(e)?ot({},e):e:null}function dn(e,t,o=!1,n=!1){const{props:a,ref:r,patchFlag:s,children:i,transition:l}=e,u=t?Bg(a||{},t):a,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&zl(u),ref:t&&t.ref?o&&r?ke(r)?r.concat(Ka(t)):[r,Ka(t)]:Ka(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ee?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&dn(e.ssContent),ssFallback:e.ssFallback&&dn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&Ur(c,l.clone(c)),c}function ut(e=" ",t=0){return Ue(Hn,null,e,t)}function be(e="",t=!1){return t?(W(),rt(no,null,e)):Ue(no,null,e)}function ao(e){return e==null||typeof e=="boolean"?Ue(no):ke(e)?Ue(Ee,null,e.slice()):Wn(e)?_o(e):Ue(Hn,null,String(e))}function _o(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:dn(e)}function za(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(ke(t))o=16;else if(typeof t=="object")if(n&65){const a=t.default;a&&(a._c&&(a._d=!1),za(e,a()),a._c&&(a._d=!0));return}else{o=32;const a=t._;!a&&!Ml(t)?t._ctx=vt:a===3&&vt&&(vt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(xe(t)){if(n&65){za(e,{default:t});return}t={default:t,_ctx:vt},o=32}else t=String(t),n&64?(o=16,t=[ut(t)]):o=8;e.children=t,e.shapeFlag|=o}function Bg(...e){const t={};for(let o=0;okt||vt;let Ha,qn;{const e=va(),t=(o,n)=>{let a;return(a=e[o])||(a=e[o]=[]),a.push(n),r=>{a.length>1?a.forEach(s=>s(r)):a[0](r)}};Ha=t("__VUE_INSTANCE_SETTERS__",o=>kt=o),qn=t("__VUE_SSR_SETTERS__",o=>pn=o)}const Jn=e=>{const t=kt;return Ha(e),e.scope.on(),()=>{e.scope.off(),Ha(t)}},Hl=()=>{kt&&kt.scope.off(),Ha(null)};function Vl(e){return e.vnode.shapeFlag&4}let pn=!1;function Kg(e,t=!1,o=!1){t&&qn(t);const{props:n,children:a}=e.vnode,r=Vl(e);$g(e,n,r,t),Tg(e,a,o||t);const s=r?zg(e,t):void 0;return t&&qn(!1),s}function zg(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,dg);const{setup:n}=o;if(n){Zt();const a=e.setupContext=n.length>1?Vg(e):null,r=Jn(e),s=rn(n,e,0,[e.props,a]),i=vi(s);if(Xt(),r(),(i||e.sp)&&!cn(e)&&Kr(e),i){if(s.then(Hl,Hl),t)return s.then(l=>{qn(!0);try{Wl(e,l,t)}finally{qn(!1)}}).catch(l=>{Dn(l,e,0)});e.asyncDep=s}else Wl(e,s)}else Yl(e)}function Wl(e,t,o){xe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ge(t)&&(e.setupState=Ji(t)),Yl(e)}function Yl(e,t,o){const n=e.type;e.render||(e.render=n.render||qt);{const a=Jn(e);Zt();try{pg(e)}finally{Xt(),a()}}}const Hg={get(e,t){return St(e,"get",""),e[t]}};function Vg(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,Hg),slots:e.slots,emit:e.emit,expose:t}}function Va(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ji(Go(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in Kn)return Kn[o](e)},has(t,o){return o in t||o in Kn}})):e.proxy}const Wg=/(?:^|[-_])\w/g,Yg=e=>e.replace(Wg,t=>t.toUpperCase()).replace(/[-_]/g,"");function ql(e,t=!0){return xe(e)?e.displayName||e.name:e.name||t&&e.__name}function Jl(e,t,o=!1){let n=ql(t);if(!n&&t.__file){const a=t.__file.match(/([^/\\]+)\.\w+$/);a&&(n=a[1])}if(!n&&e){const a=r=>{for(const s in r)if(r[s]===t)return s};n=a(e.components)||e.parent&&a(e.parent.type.components)||a(e.appContext.components)}return n?Yg(n):o?"App":"Anonymous"}function qg(e){return xe(e)&&"__vccOpts"in e}const X=(e,t)=>Pp(e,t,pn);function Zl(e,t,o){try{Ua(-1);const n=arguments.length;return n===2?Ge(t)&&!ke(t)?Wn(t)?Ue(e,null,[t]):Ue(e,t):Ue(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&Wn(o)&&(o=[o]),Ue(e,t,o))}finally{Ua(1)}}const Jg="3.5.42";/** * @vue/runtime-dom v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Qr;const ql=typeof window<"u"&&window.trustedTypes;if(ql)try{Qr=ql.createPolicy("vue",{createHTML:e=>e})}catch{}const Jl=Qr?e=>Qr.createHTML(e):e=>e,Wg="http://www.w3.org/2000/svg",Yg="http://www.w3.org/1998/Math/MathML",wo=typeof document<"u"?document:null,Zl=wo&&wo.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 a=t==="svg"?wo.createElementNS(Wg,e):t==="mathml"?wo.createElementNS(Yg,e):o?wo.createElement(e,{is:o}):wo.createElement(e);return e==="select"&&n&&n.multiple!=null&&a.setAttribute("multiple",n.multiple),a},createText:e=>wo.createTextNode(e),createComment:e=>wo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>wo.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,o,n,a,r){const s=o?o.previousSibling:t.lastChild;if(a&&(a===r||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),o),!(a===r||!(a=a.nextSibling)););else{Zl.innerHTML=Jl(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const i=Zl.content;if(n==="svg"||n==="mathml"){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,o)}return[s?s.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}},Jg=Symbol("_vtc");function Zg(e,t,o){const n=e[Jg];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const Xl=Symbol("_vod"),Xg=Symbol("_vsh"),Qg=Symbol(""),ef=/(?:^|;)\s*display\s*:/;function tf(e,t,o){const n=e.style,a=Ve(o);let r=!1;if(o&&!a){if(t)if(Ve(t))for(const s of t.split(";")){const i=s.slice(0,s.indexOf(":")).trim();o[i]==null&&Zn(n,i,"")}else for(const s in t)o[s]==null&&Zn(n,s,"");for(const s in o){s==="display"&&(r=!0);const i=o[s];i!=null?nf(e,s,!Ve(t)&&t?t[s]:void 0,i)||Zn(n,s,i):Zn(n,s,"")}}else if(a){if(t!==o){const s=n[Qg];s&&(o+=";"+s),n.cssText=o,r=ef.test(o)}}else t&&e.removeAttribute("style");Xl in e&&(e[Xl]=r?n.display:"",e[Xg]&&(n.display="none"))}const Va=/\s*!important$/;function Zn(e,t,o){if(ke(o))o.forEach(n=>Zn(e,t,n));else if(o==null&&(o=""),t.startsWith("--"))Va.test(o)?e.setProperty(t,o.replace(Va,""),"important"):e.setProperty(t,o);else{const n=of(e,t);Va.test(o)?e.setProperty(Rt(n),o.replace(Va,""),"important"):e[n]=o}}const Ql=["Webkit","Moz","ms"],es={};function of(e,t){const o=es[t];if(o)return o;let n=gt(t);if(n!=="filter"&&n in e)return es[t]=n;n=ba(n);for(let a=0;ats||(uf.then(()=>ts=0),ts=Date.now());function pf(e,t){const o=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=o.attached)return;const a=o.value;if(ke(a)){const r=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0};const s=a.slice(),i=[n];for(let l=0;le.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,gf=(e,t,o,n,a,r)=>{const s=a==="svg";t==="class"?Zg(e,n,s):t==="style"?tf(e,o,n):da(t)?pa(t)||rf(e,t,o,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ff(e,t,n,s))?(oc(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&tc(e,t,n,s,r,t!=="value")):e._isVueCE&&(hf(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ve(n)))?oc(e,gt(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),tc(e,t,n,s))};function ff(e,t,o,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&ac(t)&&xe(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 a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return ac(t)&&Ve(o)?!1:t in e}function hf(e,t){const o=e._def.props;if(!o)return!1;const n=gt(t);return Array.isArray(o)?o.some(a=>gt(a)===n):Object.keys(o).some(a=>gt(a)===n)}const rc={};function mf(e,t,o){let n=Gn(e,t);fa(n)&&(n=nt({},n,t));class a extends os{constructor(s){super(n,s,o)}}return a.def=n,a}const bf=typeof HTMLElement<"u"?HTMLElement:class{};class os extends bf{constructor(t,o={},n=uc){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!==uc?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(nt({},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 os){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,bo(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const o of t)this._setAttr(o.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let n=0;n{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:s}=n;let i;if(r&&!ke(r))for(const l in r){const c=r[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=vi(this._props[l])),(i||(i=Object.create(null)))[gt(l)]=!0)}this._numberProps=i,this._resolveProps(n),this.shadowRoot&&this._applyStyles(s),this._mount(n)},o=this._def.__asyncLoader;if(o)return this._pendingResolve=o().then(n=>{n.configureApp=this._def.configureApp,t(this._def=n,!0)}),this._pendingResolve;t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const o=this._instance&&this._instance.exposed;if(o)for(const n in o)Re(this,n)||Object.defineProperty(this,n,{get:()=>ye(o[n])})}_resolveProps(t){const{props:o}=t,n=ke(o)?o:Object.keys(o||{});for(const a of Object.keys(this))a[0]!=="_"&&n.includes(a)&&this._setProp(a,this[a]);for(const a of n.map(gt))Object.defineProperty(this,a,{get(){return this._getProp(a)},set(r){this._setProp(a,r,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const o=this.hasAttribute(t);let n=o?this.getAttribute(t):rc;const a=gt(t);o&&this._numberProps&&this._numberProps[a]&&(n=vi(n)),this._setProp(a,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,o,n=!0,a=!1){if(o!==this._props[t]&&(this._dirty=!0,o===rc?delete this._props[t]:(this._props[t]=o,t==="key"&&this._app&&(this._app._ceVNode.key=o)),a&&this._instance&&this._update(),n)){const r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),o===!0?this.setAttribute(Rt(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(Rt(t),o+""):o||this.removeAttribute(Rt(t)),r&&r.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Sf(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=Ge(this._def,nt(t,this._props));return this._instance||(o.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const a=(r,s)=>{this.dispatchEvent(new CustomEvent(r,fa(s[0])?nt({detail:s},s[0]):{detail:s}))};n.emit=(r,...s)=>{a(r,s),Rt(r)!==r&&a(Rt(r),s)},this._setParent()}),o}_applyStyles(t,o,n){if(!t)return;if(o){if(o===this._def||this._styleChildren.has(o))return;this._styleChildren.add(o)}const a=this._nonce,r=this.shadowRoot,s=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(r);let i=null;for(let l=t.length-1;l>=0;l--){const c=document.createElement("style");a&&c.setAttribute("nonce",a),c.textContent=t[l],r.insertBefore(c,i||s),i=c,l===0&&(n||this._styleAnchors.set(this._def,c),o&&this._styleAnchors.set(o,c))}}_getStyleAnchor(t){if(!t)return null;const o=this._styleAnchors.get(t);return o&&o.parentNode===this.shadowRoot?o:(o&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let o=0;o{const t=e.props["onUpdate:modelValue"]||!1;return ke(t)?o=>ya(t,o):t};function yf(e){e.target.composing=!0}function ic(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Wa=Symbol("_assign"),Ya=Symbol("_initialValue");function ns(e,t,o){return t&&(e=e.trim()),o&&(e=vr(e)),e}const _f={created(e,{modifiers:{lazy:t,trim:o,number:n}},a){e.parentNode&&(e.type==="text"?e[Ya]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Ya]=e.defaultValue.replace(/\r\n?/g,` -`))),e[Wa]=sc(a);const r=n||a.props&&a.props.type==="number";gn(e,t?"change":"input",s=>{s.target.composing||e[Wa](ns(e.value,o,r))}),(o||r)&&gn(e,"change",()=>{e.value=ns(e.value,o,r)}),t||(gn(e,"compositionstart",yf),gn(e,"compositionend",ic),gn(e,"change",ic))},mounted(e,{value:t,modifiers:{trim:o,number:n}}){const a=t??"",r=e[Ya];delete e[Ya],r!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==r?e[Wa](ns(e.value,o,n)):e.value=a},beforeUpdate(e,{value:t,oldValue:o,modifiers:{lazy:n,trim:a,number:r}},s){if(e[Wa]=sc(s),e.composing)return;const i=(r||e.type==="number")&&!/^0\d/.test(e.value)?vr(e.value):e.value,l=t??"";if(i===l)return;const c=e.getRootNode();(c instanceof Document||c instanceof ShadowRoot)&&c.activeElement===e&&e.type!=="range"&&(n&&t===o||a&&e.value.trim()===l)||(e.value=l)}},vf=["ctrl","shift","alt","meta"],kf={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>vf.some(o=>e[`${o}Key`]&&!t.includes(o))},Dt=(e,t)=>{if(!e)return e;const o=e._withMods||(e._withMods={}),n=t.join(".");return o[n]||(o[n]=(a,...r)=>{for(let s=0;s{const o=e._withKeys||(e._withKeys={}),n=t.join(".");return o[n]||(o[n]=a=>{if(!("key"in a))return;const r=Rt(a.key);if(t.some(s=>s===r||wf[s]===r))return e(a)})},xf=nt({patchProp:gf},qg);let lc;function cc(){return lc||(lc=Cg(xf))}const Sf=(...e)=>{cc().render(...e)},uc=(...e)=>{const t=cc().createApp(...e),{mount:o}=t;return t.mount=n=>{const a=$f(n);if(!a)return;const r=t._component;!xe(r)&&!r.render&&!r.template&&(r.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const s=o(a,!1,Af(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),s},t};function Af(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function $f(e){return Ve(e)?document.querySelector(e):e}/*! +**/let ts;const Xl=typeof window<"u"&&window.trustedTypes;if(Xl)try{ts=Xl.createPolicy("vue",{createHTML:e=>e})}catch{}const Ql=ts?e=>ts.createHTML(e):e=>e,Zg="http://www.w3.org/2000/svg",Xg="http://www.w3.org/1998/Math/MathML",ko=typeof document<"u"?document:null,ec=ko&&ko.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 a=t==="svg"?ko.createElementNS(Zg,e):t==="mathml"?ko.createElementNS(Xg,e):o?ko.createElement(e,{is:o}):ko.createElement(e);return e==="select"&&n&&n.multiple!=null&&a.setAttribute("multiple",n.multiple),a},createText:e=>ko.createTextNode(e),createComment:e=>ko.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ko.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,o,n,a,r){const s=o?o.previousSibling:t.lastChild;if(a&&(a===r||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),o),!(a===r||!(a=a.nextSibling)););else{ec.innerHTML=Ql(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const i=ec.content;if(n==="svg"||n==="mathml"){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,o)}return[s?s.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}},ef=Symbol("_vtc");function tf(e,t,o){const n=e[ef];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const tc=Symbol("_vod"),of=Symbol("_vsh"),nf=Symbol(""),af=/(?:^|;)\s*display\s*:/;function rf(e,t,o){const n=e.style,a=We(o);let r=!1;if(o&&!a){if(t)if(We(t))for(const s of t.split(";")){const i=s.slice(0,s.indexOf(":")).trim();o[i]==null&&Zn(n,i,"")}else for(const s in t)o[s]==null&&Zn(n,s,"");for(const s in o){s==="display"&&(r=!0);const i=o[s];i!=null?lf(e,s,!We(t)&&t?t[s]:void 0,i)||Zn(n,s,i):Zn(n,s,"")}}else if(a){if(t!==o){const s=n[nf];s&&(o+=";"+s),n.cssText=o,r=af.test(o)}}else t&&e.removeAttribute("style");tc in e&&(e[tc]=r?n.display:"",e[of]&&(n.display="none"))}const Wa=/\s*!important$/;function Zn(e,t,o){if(ke(o))o.forEach(n=>Zn(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=sf(e,t);Wa.test(o)?e.setProperty(Rt(n),o.replace(Wa,""),"important"):e[n]=o}}const oc=["Webkit","Moz","ms"],os={};function sf(e,t){const o=os[t];if(o)return o;let n=gt(t);if(n!=="filter"&&n in e)return os[t]=n;n=ya(n);for(let a=0;ans||(ff.then(()=>ns=0),ns=Date.now());function mf(e,t){const o=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=o.attached)return;const a=o.value;if(ke(a)){const r=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0};const s=a.slice(),i=[n];for(let l=0;le.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,bf=(e,t,o,n,a,r)=>{const s=a==="svg";t==="class"?tf(e,n,s):t==="style"?rf(e,o,n):pa(t)?ga(t)||uf(e,t,o,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):yf(e,t,n,s))?(rc(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ac(e,t,n,s,r,t!=="value")):e._isVueCE&&(_f(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!We(n)))?rc(e,gt(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),ac(e,t,n,s))};function yf(e,t,o,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&ic(t)&&xe(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 a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return ic(t)&&We(o)?!1:t in e}function _f(e,t){const o=e._def.props;if(!o)return!1;const n=gt(t);return Array.isArray(o)?o.some(a=>gt(a)===n):Object.keys(o).some(a=>gt(a)===n)}const lc={};function vf(e,t,o){let n=Gn(e,t);ha(n)&&(n=ot({},n,t));class a extends as{constructor(s){super(n,s,o)}}return a.def=n,a}const kf=typeof HTMLElement<"u"?HTMLElement:class{};class as extends kf{constructor(t,o={},n=gc){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!==gc?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 as){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,mo(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const o of t)this._setAttr(o.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let n=0;n{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:s}=n;let i;if(r&&!ke(r))for(const l in r){const u=r[l];(u===Number||u&&u.type===Number)&&(l in this._props&&(this._props[l]=xi(this._props[l])),(i||(i=Object.create(null)))[gt(l)]=!0)}this._numberProps=i,this._resolveProps(n),this.shadowRoot&&this._applyStyles(s),this._mount(n)},o=this._def.__asyncLoader;if(o)return this._pendingResolve=o().then(n=>{n.configureApp=this._def.configureApp,t(this._def=n,!0)}),this._pendingResolve;t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const o=this._instance&&this._instance.exposed;if(o)for(const n in o)Fe(this,n)||Object.defineProperty(this,n,{get:()=>ye(o[n])})}_resolveProps(t){const{props:o}=t,n=ke(o)?o:Object.keys(o||{});for(const a of Object.keys(this))a[0]!=="_"&&n.includes(a)&&this._setProp(a,this[a]);for(const a of n.map(gt))Object.defineProperty(this,a,{get(){return this._getProp(a)},set(r){this._setProp(a,r,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const o=this.hasAttribute(t);let n=o?this.getAttribute(t):lc;const a=gt(t);o&&this._numberProps&&this._numberProps[a]&&(n=xi(n)),this._setProp(a,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,o,n=!0,a=!1){if(o!==this._props[t]&&(this._dirty=!0,o===lc?delete this._props[t]:(this._props[t]=o,t==="key"&&this._app&&(this._app._ceVNode.key=o)),a&&this._instance&&this._update(),n)){const r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),o===!0?this.setAttribute(Rt(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(Rt(t),o+""):o||this.removeAttribute(Rt(t)),r&&r.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Ef(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=Ue(this._def,ot(t,this._props));return this._instance||(o.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const a=(r,s)=>{this.dispatchEvent(new CustomEvent(r,ha(s[0])?ot({detail:s},s[0]):{detail:s}))};n.emit=(r,...s)=>{a(r,s),Rt(r)!==r&&a(Rt(r),s)},this._setParent()}),o}_applyStyles(t,o,n){if(!t)return;if(o){if(o===this._def||this._styleChildren.has(o))return;this._styleChildren.add(o)}const a=this._nonce,r=this.shadowRoot,s=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(r);let i=null;for(let l=t.length-1;l>=0;l--){const u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=t[l],r.insertBefore(u,i||s),i=u,l===0&&(n||this._styleAnchors.set(this._def,u),o&&this._styleAnchors.set(o,u))}}_getStyleAnchor(t){if(!t)return null;const o=this._styleAnchors.get(t);return o&&o.parentNode===this.shadowRoot?o:(o&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let o=0;o{const t=e.props["onUpdate:modelValue"]||!1;return ke(t)?o=>_a(t,o):t};function wf(e){e.target.composing=!0}function uc(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ya=Symbol("_assign"),qa=Symbol("_initialValue");function rs(e,t,o){return t&&(e=e.trim()),o&&(e=wr(e)),e}const xf={created(e,{modifiers:{lazy:t,trim:o,number:n}},a){e.parentNode&&(e.type==="text"?e[qa]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[qa]=e.defaultValue.replace(/\r\n?/g,` +`))),e[Ya]=cc(a);const r=n||a.props&&a.props.type==="number";gn(e,t?"change":"input",s=>{s.target.composing||e[Ya](rs(e.value,o,r))}),(o||r)&&gn(e,"change",()=>{e.value=rs(e.value,o,r)}),t||(gn(e,"compositionstart",wf),gn(e,"compositionend",uc),gn(e,"change",uc))},mounted(e,{value:t,modifiers:{trim:o,number:n}}){const a=t??"",r=e[qa];delete e[qa],r!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==r?e[Ya](rs(e.value,o,n)):e.value=a},beforeUpdate(e,{value:t,oldValue:o,modifiers:{lazy:n,trim:a,number:r}},s){if(e[Ya]=cc(s),e.composing)return;const i=(r||e.type==="number")&&!/^0\d/.test(e.value)?wr(e.value):e.value,l=t??"";if(i===l)return;const u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!=="range"&&(n&&t===o||a&&e.value.trim()===l)||(e.value=l)}},Sf=["ctrl","shift","alt","meta"],Af={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Sf.some(o=>e[`${o}Key`]&&!t.includes(o))},Dt=(e,t)=>{if(!e)return e;const o=e._withMods||(e._withMods={}),n=t.join(".");return o[n]||(o[n]=(a,...r)=>{for(let s=0;s{const o=e._withKeys||(e._withKeys={}),n=t.join(".");return o[n]||(o[n]=a=>{if(!("key"in a))return;const r=Rt(a.key);if(t.some(s=>s===r||$f[s]===r))return e(a)})},Lf=ot({patchProp:bf},Qg);let dc;function pc(){return dc||(dc=Mg(Lf))}const Ef=(...e)=>{pc().render(...e)},gc=(...e)=>{const t=pc().createApp(...e),{mount:o}=t;return t.mount=n=>{const a=Tf(n);if(!a)return;const r=t._component;!xe(r)&&!r.render&&!r.template&&(r.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const s=o(a,!1,Cf(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),s},t};function Cf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Tf(e){return We(e)?document.querySelector(e):e}/*! * pinia v2.3.1 * (c) 2025 Eduardo San Martin Morote * @license MIT - */let dc;const qa=e=>dc=e,pc=Symbol();function rs(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Xn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Xn||(Xn={}));function Lf(){const e=wr(!0),t=e.run(()=>ce({}));let o=[],n=[];const a=Uo({install(r){qa(a),a._a=r,r.provide(pc,a),r.config.globalProperties.$pinia=a,n.forEach(s=>o.push(s)),n=[]},use(r){return this._a?o.push(r):n.push(r),this},_p:o,_a:null,_e:e,_s:new Map,state:t});return a}const gc=()=>{};function fc(e,t,o,n=gc){e.push(t);const a=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),n())};return!o&&Li()&&ep(a),a}function fn(e,...t){e.slice().forEach(o=>{o(...t)})}const Cf=e=>e(),hc=Symbol(),ss=Symbol();function is(e,t){e instanceof Map&&t instanceof Map?t.forEach((o,n)=>e.set(n,o)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const o in t){if(!t.hasOwnProperty(o))continue;const n=t[o],a=e[o];rs(a)&&rs(n)&&e.hasOwnProperty(o)&&!Ze(n)&&!fo(n)?e[o]=is(a,n):e[o]=n}return e}const Ef=Symbol();function Tf(e){return!rs(e)||!e.hasOwnProperty(Ef)}const{assign:Po}=Object;function Pf(e){return!!(Ze(e)&&e.effect)}function Mf(e,t,o,n){const{state:a,actions:r,getters:s}=t,i=o.state.value[e];let l;function c(){i||(o.state.value[e]=a?a():{});const u=wp(o.state.value[e]);return Po(u,r,Object.keys(s||{}).reduce((p,g)=>(p[g]=Uo(Z(()=>{qa(o);const k=o._s.get(e);return s[g].call(k,k)})),p),{}))}return l=mc(e,c,t,o,n,!0),l}function mc(e,t,o={},n,a,r){let s;const i=Po({actions:{}},o),l={deep:!0};let c,u,p=[],g=[],k;const w=n.state.value[e];!r&&!w&&(n.state.value[e]={});let _;function d(M){let P;c=u=!1,typeof M=="function"?(M(n.state.value[e]),P={type:Xn.patchFunction,storeId:e,events:k}):(is(n.state.value[e],M),P={type:Xn.patchObject,payload:M,storeId:e,events:k});const I=_=Symbol();bo().then(()=>{_===I&&(c=!0)}),u=!0,fn(p,P,n.state.value[e])}const h=r?function(){const{state:P}=o,I=P?P():{};this.$patch(B=>{Po(B,I)})}:gc;function y(){s.stop(),p=[],g=[],n._s.delete(e)}const v=(M,P="")=>{if(hc in M)return M[ss]=P,M;const I=function(){qa(n);const B=Array.from(arguments),H=[],O=[];function R(C){H.push(C)}function G(C){O.push(C)}fn(g,{args:B,name:I[ss],store:x,after:R,onError:G});let F;try{F=M.apply(this&&this.$id===e?this:x,B)}catch(C){throw fn(O,C),C}return F instanceof Promise?F.then(C=>(fn(H,C),C)).catch(C=>(fn(O,C),Promise.reject(C))):(fn(H,F),F)};return I[hc]=!0,I[ss]=P,I},b={_p:n,$id:e,$onAction:fc.bind(null,g),$patch:d,$reset:h,$subscribe(M,P={}){const I=fc(p,M,P.detached,()=>B()),B=s.run(()=>tt(()=>n.state.value[e],H=>{(P.flush==="sync"?u:c)&&M({storeId:e,type:Xn.direct,events:k},H)},Po({},l,P)));return I},$dispose:y},x=on(b);n._s.set(e,x);const L=(n._a&&n._a.runWithContext||Cf)(()=>n._e.run(()=>(s=wr()).run(()=>t({action:v}))));for(const M in L){const P=L[M];if(Ze(P)&&!Pf(P)||fo(P))r||(w&&Tf(P)&&(Ze(P)?P.value=w[M]:is(P,w[M])),n.state.value[e][M]=P);else if(typeof P=="function"){const I=v(P,M);L[M]=I,i.actions[M]=P}}return Po(x,L),Po(Me(x),L),Object.defineProperty(x,"$state",{get:()=>n.state.value[e],set:M=>{d(P=>{Po(P,M)})}}),n._p.forEach(M=>{Po(x,s.run(()=>M({store:x,app:n._a,pinia:n,options:i})))}),w&&r&&o.hydrate&&o.hydrate(x.$state,w),c=!0,u=!0,x}/*! #__NO_SIDE_EFFECTS__ */function ls(e,t,o){let n,a;const r=typeof t=="function";typeof e=="string"?(n=e,a=r?o:t):(a=e,n=e.id);function s(i,l){const c=Dp();return i=i||(c?Te(pc,null):null),i&&qa(i),i=dc,i._s.has(n)||(r?mc(n,t,a,i):Mf(n,a,i)),i._s.get(n)}return s.$id=n,s}const cs="__doxaMapToken",us="doxa:map-token",bc="__doxaMapTokenBridge",hn=()=>{if(typeof window>"u")return"";const e=window[cs];return typeof e=="string"?e:""};function yc(e){if(typeof window>"u")return"";const t=typeof e=="string"?e.trim():"";if(!t||t===hn())return hn();window[cs]=t;try{window.dispatchEvent(new CustomEvent(us,{detail:t}))}catch{}return t}function Nf(){if(typeof window>"u"||window[bc])return;const e=typeof window.MAP_TOKEN=="string"?window.MAP_TOKEN:"";e&&!hn()&&(window[cs]=e);try{Object.defineProperty(window,"MAP_TOKEN",{configurable:!0,get(){return hn()},set(t){yc(t)}}),window[bc]=!0}catch{}}function If(){Nf();const e=ce(hn());if(typeof window<"u"){const t=()=>{e.value=hn()};window.addEventListener(us,t);try{oo(()=>window.removeEventListener(us,t))}catch{}}return e}function _c(e){return qp({loader:e,onError(t,o,n,a){a<=3?setTimeout(o,a*500):n()}})}const Rf={backToLegend:"العودة إلى المفتاح",closeDetailView:"إغلاق عرض التفاصيل"},Ff={prayForThem:"صلِّ من أجلهم",adoptThem:"تبنَّهم",moreInfo:"مزيد من المعلومات",zoomIn:"تكبير",zoomOut:"تصغير",switchToLightMode:"التبديل إلى الوضع الفاتح",switchToDarkMode:"التبديل إلى الوضع الداكن",resetView:"إعادة تعيين العرض",toggleFullscreen:"تبديل ملء الشاشة",aboutThisMap:"حول هذه الخريطة",closeMenu:"إغلاق القائمة",reloadMap:"إعادة تحميل الخريطة",showClusters:"إظهار المجموعات",clusterSettings:"إعدادات المجموعات",startAutoFly:"بدء الطيران التلقائي",stopFlight:"إيقاف الطيران",speedLabel:"السرعة:",speedOption:{slow:"بطيء",normal:"عادي",fast:"سريع"},shareEmbed:"مشاركة وتضمين"},Of={labels:{country:"الدولة:",population:"السكان:",language:"اللغة:",religion:"الديانة:",languageFamily:"العائلة اللغوية:",peopleCommitted:"ملتزمون بالصلاة:"},messages:{noDescription:"لا يوجد وصف متاح."}},Df={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:"اللغات"}},Bf={menuComingSoon:"القائمة قادمة قريباً"},jf={clusterByRegion:"حسب منطقة Doxa",clusterByLanguageFamily:"حسب العائلة اللغوية",clusterByGospelResource:"حسب مورد الإنجيل"},Gf={header:"دورة الصلاة الحالية",lap:"الدورة",upgs:"UUPGs",separator:" من "},Uf={placeholder:"شعب، مكان، لغة، ديانة",labels:{people:"الشعب:",place:"المكان:",language:"اللغة:",religion:"الديانة:"},kinds:{people:"الشعب + الدولة",peopleGroup:"الشعب",bloc:"كتلة التقارب",cluster:"مجموعة شعوب",country:"الدولة",region:"المنطقة",family:"عائلة اللغة",languageKind:"اللغة",dialect:"اللهجة",religionKind:"الدين"}},Kf={prayer:"الصلاة",adoption:"التبني",engagement:"المشاركة","affinity-blocks":"الشعوب",regions:"المناطق",countries:"الدول","language-families":"اللغات",religion:"الأديان",family:"عائلة اللغة",language:"اللغة",dialect:"اللهجة/التنوع",bloc:"كتلة التقارب",cluster:"المجموعة",group:"الشعب",pgic:"الشعب في الدولة",region:"منطقة WAGF",block:"كتلة WAGF",country:"الدولة"},zf={backToLegend:"Zurück zur Legende",closeDetailView:"Detailansicht schließen"},Hf={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"},Vf={labels:{country:"Land:",population:"Bevölkerung:",language:"Sprache:",religion:"Religion:",languageFamily:"Sprachfamilie:",peopleCommitted:"Zum Gebet verpflichtet:"},messages:{noDescription:"Keine Beschreibung verfügbar."}},Wf={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"}},Yf={menuComingSoon:"Menü folgt in Kürze"},qf={clusterByRegion:"Nach Doxa-Region",clusterByLanguageFamily:"Nach Sprachfamilie",clusterByGospelResource:"Nach Evangeliumsressource"},Jf={header:"AKTUELLE GEBETSRUNDE",lap:"Runde",upgs:"UUPGs",separator:" von "},Zf={placeholder:"Volk, Ort, Sprache, Religion",labels:{people:"Volk:",place:"Ort:",language:"Sprache:",religion:"Religion:"},sections:{within:"Innerhalb {selection}",allData:"Alle DOXA-Daten"}},Xf={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"},Qf={backToLegend:"Back to Legend",closeDetailView:"Close detail view"},eh={prayForThem:"Pray for them",adoptThem:"Adopt",moreInfo:"More info",zoomIn:"Zoom in",zoomOut:"Zoom out",switchToLightMode:"Switch to light mode",switchToDarkMode:"Switch to dark mode",resetView:"Reset view",toggleFullscreen:"Toggle fullscreen",aboutThisMap:"About this map",closeMenu:"Close menu",reloadMap:"Reload Map",showClusters:"Show Clusters",clusterSettings:"Cluster Settings",startAutoFly:"Start Auto Fly",stopFlight:"Stop Flight",speedLabel:"Speed:",speedOption:{slow:"Slow",normal:"Normal",fast:"Fast"},shareEmbed:"Share & embed",shareSteps:["Embed this map on your site","Create a list of the websites in your city","Train them to embed it too","Train them to train others to embed it too","Multiply maps everywhere for Jesus!"],share:"Share"},th={labels:{country:"Country:",population:"Population:",language:"Language:",religion:"Religion:",languageFamily:"Language Family:",peopleCommitted:"Committed to pray:"},messages:{noDescription:"No description available."}},oh={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"}},nh={menuComingSoon:"Menu coming soon"},ah={clusterByRegion:"By Doxa Region",clusterByLanguageFamily:"By Language Family",clusterByGospelResource:"By Gospel Resource"},rh={country:{wagfRegion:"WAGF Region",wagfBlock:"WAGF Bloc",country:"Country",uupgCount:"UUPG Count"}},sh={header:"CURRENT PRAYER LAP",lap:"Lap",upgs:"UUPGs",separator:" of "},ih={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"}},lh={prayer:"Prayer",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"People Groups (Affinity)",regions:"Regions",countries:"Countries","language-families":"Languages",religion:"Religions",family:"Lang Family",language:"Language",dialect:"Dialect/Variety",bloc:"Affinity Block",cluster:"Cluster",group:"People Group",pgic:"PG in Country",region:"WAGF Region",block:"WAGF Bloc",country:"Country"},ch={backToLegend:"Volver a la leyenda",closeDetailView:"Cerrar vista de detalle"},uh={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"},dh={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."}},ph={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"}},gh={menuComingSoon:"Menú próximamente"},fh={clusterByRegion:"Por región Doxa",clusterByLanguageFamily:"Por familia lingüística",clusterByGospelResource:"Por recurso del Evangelio"},hh={header:"VUELTA DE ORACIÓN ACTUAL",lap:"Vuelta",upgs:"UUPGs",separator:" de "},mh={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"}},bh={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"},yh={backToLegend:"Retour à la légende",closeDetailView:"Fermer la vue détaillée"},_h={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"},vh={labels:{country:"Pays :",population:"Population :",language:"Langue :",religion:"Religion :",languageFamily:"Famille de langues :",peopleCommitted:"Engagés à prier :"},messages:{noDescription:"Aucune description disponible."}},kh={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"}},wh={menuComingSoon:"Menu bientôt disponible"},xh={clusterByRegion:"Par région Doxa",clusterByLanguageFamily:"Par famille de langues",clusterByGospelResource:"Par ressource de l'Évangile"},Sh={country:{wagfRegion:"Région WAGF",wagfBlock:"Bloc WAGF",country:"Pays",uupgCount:"Nombre d'UUPG"}},Ah={header:"TOUR DE PRIÈRE ACTUEL",lap:"Tour",upgs:"UUPGs",separator:" sur "},$h={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"}},Lh={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"},Ch={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:"कोई विवरण उपलब्ध नहीं है।"}},Ph={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:"कुल"}},Mh={menuComingSoon:"मेनू शीघ्र आ रहा है"},Nh={clusterByRegion:"Doxa क्षेत्र के अनुसार",clusterByLanguageFamily:"भाषा परिवार के अनुसार",clusterByGospelResource:"सुसमाचार संसाधन के अनुसार"},Ih={header:"वर्तमान प्रार्थना चक्र",lap:"चक्र",upgs:"UUPGs",separator:" में से "},Rh={placeholder:"लोग, स्थान, भाषा, धर्म",labels:{people:"लोग:",place:"स्थान:",language:"भाषा:",religion:"धर्म:"}},Fh={backToLegend:"Torna alla legenda",closeDetailView:"Chiudi vista dettaglio"},Oh={prayForThem:"Prega per loro",adoptThem:"Adottali",moreInfo:"Più informazioni",zoomIn:"Ingrandisci",zoomOut:"Riduci",switchToLightMode:"Passa alla modalità chiara",switchToDarkMode:"Passa alla modalità scura",resetView:"Reimposta vista",toggleFullscreen:"Attiva/disattiva schermo intero",aboutThisMap:"Informazioni su questa mappa",closeMenu:"Chiudi menu",reloadMap:"Ricarica mappa",showClusters:"Mostra cluster",clusterSettings:"Impostazioni cluster",startAutoFly:"Avvia volo automatico",stopFlight:"Ferma volo",speedLabel:"Velocità:",speedOption:{slow:"Lenta",normal:"Normale",fast:"Veloce"},shareEmbed:"Condividi e incorpora"},Dh={labels:{country:"Paese:",population:"Popolazione:",language:"Lingua:",religion:"Religione:",languageFamily:"Famiglia linguistica:",peopleCommitted:"Impegnati a pregare:"},messages:{noDescription:"Nessuna descrizione disponibile."}},Bh={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"}},jh={menuComingSoon:"Menu in arrivo"},Gh={clusterByRegion:"Per regione Doxa",clusterByLanguageFamily:"Per famiglia linguistica",clusterByGospelResource:"Per risorsa del Vangelo"},Uh={header:"GIRO DI PREGHIERA ATTUALE",lap:"Giro",upgs:"UUPGs",separator:" di "},Kh={placeholder:"Popolo, luogo, lingua, religione",labels:{people:"Popolo:",place:"Luogo:",language:"Lingua:",religion:"Religione:"}},zh={backToLegend:"Voltar à legenda",closeDetailView:"Fechar vista de detalhe"},Hh={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"},Vh={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."}},Wh={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"}},Yh={menuComingSoon:"Menu em breve"},qh={clusterByRegion:"Por região Doxa",clusterByLanguageFamily:"Por família linguística",clusterByGospelResource:"Por recurso do Evangelho"},Jh={header:"VOLTA DE ORAÇÃO ATUAL",lap:"Volta",upgs:"UUPGs",separator:" de "},Zh={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"}},Xh={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"},Qh={backToLegend:"Înapoi la legendă",closeDetailView:"Închide vizualizarea detaliată"},em={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ă"},tm={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ă."}},om={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"}},nm={menuComingSoon:"Meniu în curând"},am={clusterByRegion:"După regiune Doxa",clusterByLanguageFamily:"După familia de limbi",clusterByGospelResource:"După resursa Evangheliei"},rm={header:"TURUL DE RUGĂCIUNE CURENT",lap:"Tur",upgs:"UUPGs",separator:" din "},sm={placeholder:"Popor, loc, limbă, religie",labels:{people:"Popor:",place:"Loc:",language:"Limbă:",religion:"Religie:"}},im={backToLegend:"Назад к легенде",closeDetailView:"Закрыть подробный вид"},lm={prayForThem:"Молитесь о них",adoptThem:"Усыновите их",moreInfo:"Подробнее",zoomIn:"Приблизить",zoomOut:"Отдалить",switchToLightMode:"Переключить на светлый режим",switchToDarkMode:"Переключить на тёмный режим",resetView:"Сбросить вид",toggleFullscreen:"Полноэкранный режим",aboutThisMap:"Об этой карте",closeMenu:"Закрыть меню",reloadMap:"Перезагрузить карту",showClusters:"Показать кластеры",clusterSettings:"Настройки кластеров",startAutoFly:"Начать авто-полёт",stopFlight:"Остановить полёт",speedLabel:"Скорость:",speedOption:{slow:"Медленно",normal:"Нормально",fast:"Быстро"},shareEmbed:"Поделиться и встроить"},cm={labels:{country:"Страна:",population:"Население:",language:"Язык:",religion:"Религия:",languageFamily:"Языковая семья:",peopleCommitted:"Обязались молиться:"},messages:{noDescription:"Описание недоступно."}},um={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:"Языки"}},dm={menuComingSoon:"Меню скоро появится"},pm={clusterByRegion:"По региону Doxa",clusterByLanguageFamily:"По языковой семье",clusterByGospelResource:"По евангельскому ресурсу"},gm={header:"ТЕКУЩИЙ КРУГ МОЛИТВЫ",lap:"Круг",upgs:"UUPGs",separator:" из "},fm={placeholder:"Народ, место, язык, религия",labels:{people:"Народ:",place:"Место:",language:"Язык:",religion:"Религия:"},kinds:{people:"Народ + страна",peopleGroup:"Народ",bloc:"Блок родства",cluster:"Кластер народов",country:"Страна",region:"Регион",family:"Языковая семья",languageKind:"Язык",dialect:"Диалект",religionKind:"Религия"}},hm={prayer:"Молитва",adoption:"Усыновление",engagement:"Вовлечённость","affinity-blocks":"Народы",regions:"Регионы",countries:"Страны","language-families":"Языки",religion:"Религии",family:"Языковая семья",language:"Язык",dialect:"Диалект/вариант",bloc:"Блок родства",cluster:"Кластер",group:"Народ",pgic:"Народ в стране",region:"Регион WAGF",block:"Блок WAGF",country:"Страна"},mm={backToLegend:"返回图例",closeDetailView:"关闭详情视图"},bm={prayForThem:"为他们祷告",adoptThem:"认领他们",moreInfo:"更多信息",zoomIn:"放大",zoomOut:"缩小",switchToLightMode:"切换至浅色模式",switchToDarkMode:"切换至深色模式",resetView:"重置视图",toggleFullscreen:"切换全屏",aboutThisMap:"关于此地图",closeMenu:"关闭菜单",reloadMap:"重新加载地图",showClusters:"显示聚类",clusterSettings:"聚类设置",startAutoFly:"开始自动飞行",stopFlight:"停止飞行",speedLabel:"速度:",speedOption:{slow:"慢",normal:"正常",fast:"快"},shareEmbed:"分享与嵌入"},ym={labels:{country:"国家:",population:"人口:",language:"语言:",religion:"宗教:",languageFamily:"语系:",peopleCommitted:"承诺祷告人数:"},messages:{noDescription:"暂无描述。"}},_m={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:"总计"}},vm={menuComingSoon:"菜单即将推出"},km={clusterByRegion:"按 Doxa 区域",clusterByLanguageFamily:"按语系",clusterByGospelResource:"按福音资源"},wm={header:"当前祷告轮次",lap:"第",upgs:"UUPGs",separator:" / "},xm={placeholder:"民族、地点、语言、宗教",labels:{people:"民族:",place:"地点:",language:"语言:",religion:"宗教:"}};/*! + */let fc;const Ja=e=>fc=e,hc=Symbol();function is(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Xn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Xn||(Xn={}));function Pf(){const e=Sr(!0),t=e.run(()=>ie({}));let o=[],n=[];const a=Go({install(r){Ja(a),a._a=r,r.provide(hc,a),r.config.globalProperties.$pinia=a,n.forEach(s=>o.push(s)),n=[]},use(r){return this._a?o.push(r):n.push(r),this},_p:o,_a:null,_e:e,_s:new Map,state:t});return a}const mc=()=>{};function bc(e,t,o,n=mc){e.push(t);const a=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),n())};return!o&&Ti()&&ap(a),a}function fn(e,...t){e.slice().forEach(o=>{o(...t)})}const Mf=e=>e(),yc=Symbol(),ls=Symbol();function cs(e,t){e instanceof Map&&t instanceof Map?t.forEach((o,n)=>e.set(n,o)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const o in t){if(!t.hasOwnProperty(o))continue;const n=t[o],a=e[o];is(a)&&is(n)&&e.hasOwnProperty(o)&&!Ze(n)&&!go(n)?e[o]=cs(a,n):e[o]=n}return e}const Nf=Symbol();function If(e){return!is(e)||!e.hasOwnProperty(Nf)}const{assign:To}=Object;function Rf(e){return!!(Ze(e)&&e.effect)}function Ff(e,t,o,n){const{state:a,actions:r,getters:s}=t,i=o.state.value[e];let l;function u(){i||(o.state.value[e]=a?a():{});const c=$p(o.state.value[e]);return To(c,r,Object.keys(s||{}).reduce((d,g)=>(d[g]=Go(X(()=>{Ja(o);const k=o._s.get(e);return s[g].call(k,k)})),d),{}))}return l=_c(e,u,t,o,n,!0),l}function _c(e,t,o={},n,a,r){let s;const i=To({actions:{}},o),l={deep:!0};let u,c,d=[],g=[],k;const x=n.state.value[e];!r&&!x&&(n.state.value[e]={});let _;function p(E){let P;u=c=!1,typeof E=="function"?(E(n.state.value[e]),P={type:Xn.patchFunction,storeId:e,events:k}):(cs(n.state.value[e],E),P={type:Xn.patchObject,payload:E,storeId:e,events:k});const N=_=Symbol();mo().then(()=>{_===N&&(u=!0)}),c=!0,fn(d,P,n.state.value[e])}const h=r?function(){const{state:P}=o,N=P?P():{};this.$patch(j=>{To(j,N)})}:mc;function v(){s.stop(),d=[],g=[],n._s.delete(e)}const b=(E,P="")=>{if(yc in E)return E[ls]=P,E;const N=function(){Ja(n);const j=Array.from(arguments),V=[],O=[];function I(K){V.push(K)}function G(K){O.push(K)}fn(g,{args:j,name:N[ls],store:S,after:I,onError:G});let R;try{R=E.apply(this&&this.$id===e?this:S,j)}catch(K){throw fn(O,K),K}return R instanceof Promise?R.then(K=>(fn(V,K),K)).catch(K=>(fn(O,K),Promise.reject(K))):(fn(V,R),R)};return N[yc]=!0,N[ls]=P,N},y={_p:n,$id:e,$onAction:bc.bind(null,g),$patch:p,$reset:h,$subscribe(E,P={}){const N=bc(d,E,P.detached,()=>j()),j=s.run(()=>tt(()=>n.state.value[e],V=>{(P.flush==="sync"?c:u)&&E({storeId:e,type:Xn.direct,events:k},V)},To({},l,P)));return N},$dispose:v},S=on(y);n._s.set(e,S);const L=(n._a&&n._a.runWithContext||Mf)(()=>n._e.run(()=>(s=Sr()).run(()=>t({action:b}))));for(const E in L){const P=L[E];if(Ze(P)&&!Rf(P)||go(P))r||(x&&If(P)&&(Ze(P)?P.value=x[E]:cs(P,x[E])),n.state.value[e][E]=P);else if(typeof P=="function"){const N=b(P,E);L[E]=N,i.actions[E]=P}}return To(S,L),To(Me(S),L),Object.defineProperty(S,"$state",{get:()=>n.state.value[e],set:E=>{p(P=>{To(P,E)})}}),n._p.forEach(E=>{To(S,s.run(()=>E({store:S,app:n._a,pinia:n,options:i})))}),x&&r&&o.hydrate&&o.hydrate(S.$state,x),u=!0,c=!0,S}/*! #__NO_SIDE_EFFECTS__ */function us(e,t,o){let n,a;const r=typeof t=="function";typeof e=="string"?(n=e,a=r?o:t):(a=e,n=e.id);function s(i,l){const u=Up();return i=i||(u?Te(hc,null):null),i&&Ja(i),i=fc,i._s.has(n)||(r?_c(n,t,a,i):Ff(n,a,i)),i._s.get(n)}return s.$id=n,s}const ds="__doxaMapToken",ps="doxa:map-token",vc="__doxaMapTokenBridge",hn=()=>{if(typeof window>"u")return"";const e=window[ds];return typeof e=="string"?e:""};function kc(e){if(typeof window>"u")return"";const t=typeof e=="string"?e.trim():"";if(!t||t===hn())return hn();window[ds]=t;try{window.dispatchEvent(new CustomEvent(ps,{detail:t}))}catch{}return t}function Of(){if(typeof window>"u"||window[vc])return;const e=typeof window.MAP_TOKEN=="string"?window.MAP_TOKEN:"";e&&!hn()&&(window[ds]=e);try{Object.defineProperty(window,"MAP_TOKEN",{configurable:!0,get(){return hn()},set(t){kc(t)}}),window[vc]=!0}catch{}}function Df(){Of();const e=ie(hn());if(typeof window<"u"){const t=()=>{e.value=hn()};window.addEventListener(ps,t);try{oo(()=>window.removeEventListener(ps,t))}catch{}}return e}function wc(e){return Qp({loader:e,onError(t,o,n,a){a<=3?setTimeout(o,a*500):n()}})}const Bf={backToLegend:"العودة إلى المفتاح",closeDetailView:"إغلاق عرض التفاصيل"},jf={prayForThem:"صلِّ من أجلهم",adoptThem:"تبنَّهم",moreInfo:"مزيد من المعلومات",zoomIn:"تكبير",zoomOut:"تصغير",switchToLightMode:"التبديل إلى الوضع الفاتح",switchToDarkMode:"التبديل إلى الوضع الداكن",resetView:"إعادة تعيين العرض",toggleFullscreen:"تبديل ملء الشاشة",aboutThisMap:"حول هذه الخريطة",closeMenu:"إغلاق القائمة",reloadMap:"إعادة تحميل الخريطة",showClusters:"إظهار المجموعات",clusterSettings:"إعدادات المجموعات",startAutoFly:"بدء الطيران التلقائي",stopFlight:"إيقاف الطيران",speedLabel:"السرعة:",speedOption:{slow:"بطيء",normal:"عادي",fast:"سريع"},shareEmbed:"مشاركة وتضمين"},Gf={labels:{country:"الدولة:",population:"السكان:",language:"اللغة:",religion:"الديانة:",languageFamily:"العائلة اللغوية:",peopleCommitted:"ملتزمون بالصلاة:"},messages:{noDescription:"لا يوجد وصف متاح."}},Uf={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:"اللغات"}},Kf={menuComingSoon:"القائمة قادمة قريباً"},zf={clusterByRegion:"حسب منطقة Doxa",clusterByLanguageFamily:"حسب العائلة اللغوية",clusterByGospelResource:"حسب مورد الإنجيل"},Hf={header:"دورة الصلاة الحالية",lap:"الدورة",upgs:"UUPGs",separator:" من "},Vf={placeholder:"شعب، مكان، لغة، ديانة",labels:{people:"الشعب:",place:"المكان:",language:"اللغة:",religion:"الديانة:"},kinds:{people:"الشعب + الدولة",peopleGroup:"الشعب",bloc:"كتلة التقارب",cluster:"مجموعة شعوب",country:"الدولة",region:"المنطقة",family:"عائلة اللغة",languageKind:"اللغة",dialect:"اللهجة",religionKind:"الدين"}},Wf={prayer:"الصلاة",adoption:"التبني",engagement:"المشاركة","affinity-blocks":"الشعوب",regions:"المناطق",countries:"الدول","language-families":"اللغات",religion:"الأديان",family:"عائلة اللغة",language:"اللغة",dialect:"اللهجة/التنوع",bloc:"كتلة التقارب",cluster:"المجموعة",group:"الشعب",pgic:"الشعب في الدولة",region:"منطقة WAGF",block:"كتلة WAGF",country:"الدولة"},Yf={backToLegend:"Zurück zur Legende",closeDetailView:"Detailansicht schließen"},qf={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"},Jf={labels:{country:"Land:",population:"Bevölkerung:",language:"Sprache:",religion:"Religion:",languageFamily:"Sprachfamilie:",peopleCommitted:"Zum Gebet verpflichtet:"},messages:{noDescription:"Keine Beschreibung verfügbar."}},Zf={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"}},Xf={menuComingSoon:"Menü folgt in Kürze"},Qf={clusterByRegion:"Nach Doxa-Region",clusterByLanguageFamily:"Nach Sprachfamilie",clusterByGospelResource:"Nach Evangeliumsressource"},eh={header:"AKTUELLE GEBETSRUNDE",lap:"Runde",upgs:"UUPGs",separator:" von "},th={placeholder:"Volk, Ort, Sprache, Religion",labels:{people:"Volk:",place:"Ort:",language:"Sprache:",religion:"Religion:"},sections:{within:"Innerhalb {selection}",allData:"Alle DOXA-Daten"}},oh={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"},nh={backToLegend:"Back to Legend",closeDetailView:"Close detail view"},ah={prayForThem:"Pray for them",adoptThem:"Adopt",moreInfo:"More info",zoomIn:"Zoom in",zoomOut:"Zoom out",switchToLightMode:"Switch to light mode",switchToDarkMode:"Switch to dark mode",resetView:"Reset view",toggleFullscreen:"Toggle fullscreen",aboutThisMap:"About this map",closeMenu:"Close menu",reloadMap:"Reload Map",showClusters:"Show Clusters",clusterSettings:"Cluster Settings",startAutoFly:"Start Auto Fly",stopFlight:"Stop Flight",speedLabel:"Speed:",speedOption:{slow:"Slow",normal:"Normal",fast:"Fast"},shareEmbed:"Share & embed",shareSteps:["Embed this map on your site","Create a list of the websites in your city","Train them to embed it too","Train them to train others to embed it too","Multiply maps everywhere for Jesus!"],share:"Share"},rh={labels:{country:"Country:",population:"Population:",language:"Language:",religion:"Religion:",languageFamily:"Language Family:",peopleCommitted:"Committed to pray:"},messages:{noDescription:"No description available."}},sh={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"}},ih={menuComingSoon:"Menu coming soon"},lh={clusterByRegion:"By Doxa Region",clusterByLanguageFamily:"By Language Family",clusterByGospelResource:"By Gospel Resource"},ch={country:{wagfRegion:"WAGF Region",wagfBlock:"WAGF Bloc",country:"Country",uupgCount:"UUPG Count"}},uh={header:"CURRENT PRAYER LAP",lap:"Lap",upgs:"UUPGs",separator:" of "},dh={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"}},ph={prayer:"Prayer",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"People Groups (Affinity)",regions:"Regions",countries:"Countries","language-families":"Languages",religion:"Religions",family:"Lang Family",language:"Language",dialect:"Dialect/Variety",bloc:"Affinity Block",cluster:"Cluster",group:"People Group",pgic:"PG in Country",region:"WAGF Region",block:"WAGF Bloc",country:"Country"},gh={backToLegend:"Volver a la leyenda",closeDetailView:"Cerrar vista de detalle"},fh={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"},hh={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."}},mh={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"}},bh={menuComingSoon:"Menú próximamente"},yh={clusterByRegion:"Por región Doxa",clusterByLanguageFamily:"Por familia lingüística",clusterByGospelResource:"Por recurso del Evangelio"},_h={header:"VUELTA DE ORACIÓN ACTUAL",lap:"Vuelta",upgs:"UUPGs",separator:" de "},vh={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"}},kh={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"},wh={backToLegend:"Retour à la légende",closeDetailView:"Fermer la vue détaillée"},xh={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"},Sh={labels:{country:"Pays :",population:"Population :",language:"Langue :",religion:"Religion :",languageFamily:"Famille de langues :",peopleCommitted:"Engagés à prier :"},messages:{noDescription:"Aucune description disponible."}},Ah={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"}},$h={menuComingSoon:"Menu bientôt disponible"},Lh={clusterByRegion:"Par région Doxa",clusterByLanguageFamily:"Par famille de langues",clusterByGospelResource:"Par ressource de l'Évangile"},Eh={country:{wagfRegion:"Région WAGF",wagfBlock:"Bloc WAGF",country:"Pays",uupgCount:"Nombre d'UUPG"}},Ch={header:"TOUR DE PRIÈRE ACTUEL",lap:"Tour",upgs:"UUPGs",separator:" sur "},Th={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"}},Ph={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"},Mh={backToLegend:"लेजेंड पर वापस जाएं",closeDetailView:"विवरण दृश्य बंद करें"},Nh={prayForThem:"उनके लिए प्रार्थना करें",adoptThem:"उन्हें गोद लें",moreInfo:"अधिक जानकारी",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",switchToLightMode:"लाइट मोड पर जाएं",switchToDarkMode:"डार्क मोड पर जाएं",resetView:"दृश्य रीसेट करें",toggleFullscreen:"फ़ुलस्क्रीन टॉगल करें",aboutThisMap:"इस मानचित्र के बारे में",closeMenu:"मेनू बंद करें",reloadMap:"मानचित्र पुनः लोड करें",showClusters:"क्लस्टर दिखाएं",clusterSettings:"क्लस्टर सेटिंग्स",startAutoFly:"ऑटो फ्लाई शुरू करें",stopFlight:"उड़ान रोकें",speedLabel:"गति:",speedOption:{slow:"धीमी",normal:"सामान्य",fast:"तेज़"},shareEmbed:"साझा करें और एम्बेड करें"},Ih={labels:{country:"देश:",population:"जनसंख्या:",language:"भाषा:",religion:"धर्म:",languageFamily:"भाषा परिवार:",peopleCommitted:"प्रार्थना के लिए प्रतिबद्ध:"},messages:{noDescription:"कोई विवरण उपलब्ध नहीं है।"}},Rh={title:{prayer:"प्रार्थना प्रगति",engagement:"सहभागिता प्रगति",adoption:"गोद लेने की प्रगति",languageFamilies:"भाषा परिवार",doxaRegions:"Doxa क्षेत्र",affinityBlocs:"समानता समूह",gospelResources:"सुसमाचार संसाधन"},header:{collapsed:"किंवदंती",peopleGroupFallback:"जनजाति समूह"},prayer:{needsPrayer:"प्रार्थना चाहिए",hasPrayer:"प्रार्थना है",fullPrayerCoverage:"पूर्ण प्रार्थना कवरेज"},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:"कुल"}},Fh={menuComingSoon:"मेनू शीघ्र आ रहा है"},Oh={clusterByRegion:"Doxa क्षेत्र के अनुसार",clusterByLanguageFamily:"भाषा परिवार के अनुसार",clusterByGospelResource:"सुसमाचार संसाधन के अनुसार"},Dh={header:"वर्तमान प्रार्थना चक्र",lap:"चक्र",upgs:"UUPGs",separator:" में से "},Bh={placeholder:"लोग, स्थान, भाषा, धर्म",labels:{people:"लोग:",place:"स्थान:",language:"भाषा:",religion:"धर्म:"}},jh={backToLegend:"Torna alla legenda",closeDetailView:"Chiudi vista dettaglio"},Gh={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"},Uh={labels:{country:"Paese:",population:"Popolazione:",language:"Lingua:",religion:"Religione:",languageFamily:"Famiglia linguistica:",peopleCommitted:"Impegnati a pregare:"},messages:{noDescription:"Nessuna descrizione disponibile."}},Kh={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"}},zh={menuComingSoon:"Menu in arrivo"},Hh={clusterByRegion:"Per regione Doxa",clusterByLanguageFamily:"Per famiglia linguistica",clusterByGospelResource:"Per risorsa del Vangelo"},Vh={header:"GIRO DI PREGHIERA ATTUALE",lap:"Giro",upgs:"UUPGs",separator:" di "},Wh={placeholder:"Popolo, luogo, lingua, religione",labels:{people:"Popolo:",place:"Luogo:",language:"Lingua:",religion:"Religione:"}},Yh={backToLegend:"Voltar à legenda",closeDetailView:"Fechar vista de detalhe"},qh={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"},Jh={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."}},Zh={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"}},Xh={menuComingSoon:"Menu em breve"},Qh={clusterByRegion:"Por região Doxa",clusterByLanguageFamily:"Por família linguística",clusterByGospelResource:"Por recurso do Evangelho"},em={header:"VOLTA DE ORAÇÃO ATUAL",lap:"Volta",upgs:"UUPGs",separator:" de "},tm={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"}},om={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"},nm={backToLegend:"Înapoi la legendă",closeDetailView:"Închide vizualizarea detaliată"},am={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ă"},rm={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ă."}},sm={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"}},im={menuComingSoon:"Meniu în curând"},lm={clusterByRegion:"După regiune Doxa",clusterByLanguageFamily:"După familia de limbi",clusterByGospelResource:"După resursa Evangheliei"},cm={header:"TURUL DE RUGĂCIUNE CURENT",lap:"Tur",upgs:"UUPGs",separator:" din "},um={placeholder:"Popor, loc, limbă, religie",labels:{people:"Popor:",place:"Loc:",language:"Limbă:",religion:"Religie:"}},dm={backToLegend:"Назад к легенде",closeDetailView:"Закрыть подробный вид"},pm={prayForThem:"Молитесь о них",adoptThem:"Усыновите их",moreInfo:"Подробнее",zoomIn:"Приблизить",zoomOut:"Отдалить",switchToLightMode:"Переключить на светлый режим",switchToDarkMode:"Переключить на тёмный режим",resetView:"Сбросить вид",toggleFullscreen:"Полноэкранный режим",aboutThisMap:"Об этой карте",closeMenu:"Закрыть меню",reloadMap:"Перезагрузить карту",showClusters:"Показать кластеры",clusterSettings:"Настройки кластеров",startAutoFly:"Начать авто-полёт",stopFlight:"Остановить полёт",speedLabel:"Скорость:",speedOption:{slow:"Медленно",normal:"Нормально",fast:"Быстро"},shareEmbed:"Поделиться и встроить"},gm={labels:{country:"Страна:",population:"Население:",language:"Язык:",religion:"Религия:",languageFamily:"Языковая семья:",peopleCommitted:"Обязались молиться:"},messages:{noDescription:"Описание недоступно."}},fm={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:"Языки"}},hm={menuComingSoon:"Меню скоро появится"},mm={clusterByRegion:"По региону Doxa",clusterByLanguageFamily:"По языковой семье",clusterByGospelResource:"По евангельскому ресурсу"},bm={header:"ТЕКУЩИЙ КРУГ МОЛИТВЫ",lap:"Круг",upgs:"UUPGs",separator:" из "},ym={placeholder:"Народ, место, язык, религия",labels:{people:"Народ:",place:"Место:",language:"Язык:",religion:"Религия:"},kinds:{people:"Народ + страна",peopleGroup:"Народ",bloc:"Блок родства",cluster:"Кластер народов",country:"Страна",region:"Регион",family:"Языковая семья",languageKind:"Язык",dialect:"Диалект",religionKind:"Религия"}},_m={prayer:"Молитва",adoption:"Усыновление",engagement:"Вовлечённость","affinity-blocks":"Народы",regions:"Регионы",countries:"Страны","language-families":"Языки",religion:"Религии",family:"Языковая семья",language:"Язык",dialect:"Диалект/вариант",bloc:"Блок родства",cluster:"Кластер",group:"Народ",pgic:"Народ в стране",region:"Регион WAGF",block:"Блок WAGF",country:"Страна"},vm={backToLegend:"返回图例",closeDetailView:"关闭详情视图"},km={prayForThem:"为他们祷告",adoptThem:"认领他们",moreInfo:"更多信息",zoomIn:"放大",zoomOut:"缩小",switchToLightMode:"切换至浅色模式",switchToDarkMode:"切换至深色模式",resetView:"重置视图",toggleFullscreen:"切换全屏",aboutThisMap:"关于此地图",closeMenu:"关闭菜单",reloadMap:"重新加载地图",showClusters:"显示聚类",clusterSettings:"聚类设置",startAutoFly:"开始自动飞行",stopFlight:"停止飞行",speedLabel:"速度:",speedOption:{slow:"慢",normal:"正常",fast:"快"},shareEmbed:"分享与嵌入"},wm={labels:{country:"国家:",population:"人口:",language:"语言:",religion:"宗教:",languageFamily:"语系:",peopleCommitted:"承诺祷告人数:"},messages:{noDescription:"暂无描述。"}},xm={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:"总计"}},Sm={menuComingSoon:"菜单即将推出"},Am={clusterByRegion:"按 Doxa 区域",clusterByLanguageFamily:"按语系",clusterByGospelResource:"按福音资源"},$m={header:"当前祷告轮次",lap:"第",upgs:"UUPGs",separator:" / "},Lm={placeholder:"民族、地点、语言、宗教",labels:{people:"民族:",place:"地点:",language:"语言:",religion:"宗教:"}};/*! * shared v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function Sm(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ja=typeof window<"u",Mo=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Am=(e,t,o)=>$m({l:e,k:t,s:o}),$m=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),st=e=>typeof e=="number"&&isFinite(e),Lm=e=>Sc(e)==="[object Date]",No=e=>Sc(e)==="[object RegExp]",Za=e=>Ae(e)&&Object.keys(e).length===0,kt=Object.assign,Cm=Object.create,Ue=(e=null)=>Cm(e);let vc;const xo=()=>vc||(vc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Ue());function kc(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function wc(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Em(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(n,a,r)=>`${a}="${wc(r)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(n,a,r)=>`${a}='${wc(r)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(n=>{e=e.replace(n,"$1javascript:")}),e}const Tm=Object.prototype.hasOwnProperty;function Ht(e,t){return Tm.call(e,t)}const Xe=Array.isArray,Ye=e=>typeof e=="function",pe=e=>typeof e=="string",Pe=e=>typeof e=="boolean",Ie=e=>e!==null&&typeof e=="object",Pm=e=>Ie(e)&&Ye(e.then)&&Ye(e.catch),xc=Object.prototype.toString,Sc=e=>xc.call(e),Ae=e=>{if(!Ie(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Mm=e=>e==null?"":Xe(e)||Ae(e)&&e.toString===xc?JSON.stringify(e,null,2):String(e);function Nm(e,t=""){return e.reduce((o,n,a)=>a===0?o+n:o+t+n,"")}function Xa(e){let t=e;return()=>++t}const Qa=e=>!Ie(e)||Xe(e);function er(e,t){if(Qa(e)||Qa(t))throw new Error("Invalid value");const o=[{src:e,des:t}];for(;o.length;){const{src:n,des:a}=o.pop();Object.keys(n).forEach(r=>{r!=="__proto__"&&(Ie(n[r])&&!Ie(a[r])&&(a[r]=Array.isArray(n[r])?[]:Ue()),Qa(a[r])||Qa(n[r])?a[r]=n[r]:o.push({src:n[r],des:a[r]}))})}}/*! + */function Em(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Za=typeof window<"u",Po=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Cm=(e,t,o)=>Tm({l:e,k:t,s:o}),Tm=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),st=e=>typeof e=="number"&&isFinite(e),Pm=e=>Lc(e)==="[object Date]",Mo=e=>Lc(e)==="[object RegExp]",Xa=e=>$e(e)&&Object.keys(e).length===0,wt=Object.assign,Mm=Object.create,Ke=(e=null)=>Mm(e);let xc;const wo=()=>xc||(xc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Ke());function Sc(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function Ac(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Nm(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(n,a,r)=>`${a}="${Ac(r)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(n,a,r)=>`${a}='${Ac(r)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(n=>{e=e.replace(n,"$1javascript:")}),e}const Im=Object.prototype.hasOwnProperty;function Ht(e,t){return Im.call(e,t)}const Xe=Array.isArray,qe=e=>typeof e=="function",ge=e=>typeof e=="string",Pe=e=>typeof e=="boolean",Re=e=>e!==null&&typeof e=="object",Rm=e=>Re(e)&&qe(e.then)&&qe(e.catch),$c=Object.prototype.toString,Lc=e=>$c.call(e),$e=e=>{if(!Re(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Fm=e=>e==null?"":Xe(e)||$e(e)&&e.toString===$c?JSON.stringify(e,null,2):String(e);function Om(e,t=""){return e.reduce((o,n,a)=>a===0?o+n:o+t+n,"")}function Qa(e){let t=e;return()=>++t}const er=e=>!Re(e)||Xe(e);function tr(e,t){if(er(e)||er(t))throw new Error("Invalid value");const o=[{src:e,des:t}];for(;o.length;){const{src:n,des:a}=o.pop();Object.keys(n).forEach(r=>{r!=="__proto__"&&(Re(n[r])&&!Re(a[r])&&(a[r]=Array.isArray(n[r])?[]:Ke()),er(a[r])||er(n[r])?a[r]=n[r]:o.push({src:n[r],des:a[r]}))})}}/*! * message-compiler v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function Im(e,t,o){return{line:e,column:t,offset:o}}function tr(e,t,o){return{start:e,end:t}}const Rm=/\{([0-9a-zA-Z]+)\}/g;function Ac(e,...t){return t.length===1&&Fm(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Rm,(o,n)=>t.hasOwnProperty(n)?t[n]:"")}const $c=Object.assign,Lc=e=>typeof e=="string",Fm=e=>e!==null&&typeof e=="object";function Cc(e,t=""){return e.reduce((o,n,a)=>a===0?o+n:o+t+n,"")}const ds={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Om={[ds.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function Dm(e,t,...o){const n=Ac(Om[e],...o||[]),a={message:String(n),code:e};return t&&(a.location=t),a}const we={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},Bm={[we.EXPECTED_TOKEN]:"Expected token: '{0}'",[we.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[we.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[we.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[we.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[we.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[we.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[we.EMPTY_PLACEHOLDER]:"Empty placeholder",[we.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[we.INVALID_LINKED_FORMAT]:"Invalid linked format",[we.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[we.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[we.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[we.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[we.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[we.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function mn(e,t,o={}){const{domain:n,messages:a,args:r}=o,s=Ac((a||Bm)[e]||"",...r||[]),i=new SyntaxError(String(s));return i.code=e,t&&(i.location=t),i.domain=n,i}function jm(e){throw e}const So=" ",Gm="\r",Tt=` -`,Um="\u2028",Km="\u2029";function zm(e){const t=e;let o=0,n=1,a=1,r=0;const s=L=>t[L]===Gm&&t[L+1]===Tt,i=L=>t[L]===Tt,l=L=>t[L]===Km,c=L=>t[L]===Um,u=L=>s(L)||i(L)||l(L)||c(L),p=()=>o,g=()=>n,k=()=>a,w=()=>r,_=L=>s(L)||l(L)||c(L)?Tt:t[L],d=()=>_(o),h=()=>_(o+r);function y(){return r=0,u(o)&&(n++,a=0),s(o)&&o++,o++,a++,t[o]}function v(){return s(o+r)&&r++,r++,t[o+r]}function b(){o=0,n=1,a=1,r=0}function x(L=0){r=L}function A(){const L=o+r;for(;L!==o;)y();r=0}return{index:p,line:g,column:k,peekOffset:w,charAt:_,currentChar:d,currentPeek:h,next:y,peek:v,reset:b,resetPeek:x,skipToPeek:A}}const Io=void 0,Hm=".",Ec="'",Vm="tokenizer";function Wm(e,t={}){const o=t.location!==!1,n=zm(e),a=()=>n.index(),r=()=>Im(n.line(),n.column(),n.index()),s=r(),i=a(),l={currentType:14,offset:i,startLoc:s,endLoc:s,lastType:14,lastOffset:i,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function p(f,m,j,...V){const se=c();if(m.column+=j,m.offset+=j,u){const ae=o?tr(se.startLoc,m):null,U=mn(f,ae,{domain:Vm,args:V});u(U)}}function g(f,m,j){f.endLoc=r(),f.currentType=m;const V={type:m};return o&&(V.loc=tr(f.startLoc,f.endLoc)),j!=null&&(V.value=j),V}const k=f=>g(f,14);function w(f,m){return f.currentChar()===m?(f.next(),m):(p(we.EXPECTED_TOKEN,r(),0,m),"")}function _(f){let m="";for(;f.currentPeek()===So||f.currentPeek()===Tt;)m+=f.currentPeek(),f.peek();return m}function d(f){const m=_(f);return f.skipToPeek(),m}function h(f){if(f===Io)return!1;const m=f.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m===95}function y(f){if(f===Io)return!1;const m=f.charCodeAt(0);return m>=48&&m<=57}function v(f,m){const{currentType:j}=m;if(j!==2)return!1;_(f);const V=h(f.currentPeek());return f.resetPeek(),V}function b(f,m){const{currentType:j}=m;if(j!==2)return!1;_(f);const V=f.currentPeek()==="-"?f.peek():f.currentPeek(),se=y(V);return f.resetPeek(),se}function x(f,m){const{currentType:j}=m;if(j!==2)return!1;_(f);const V=f.currentPeek()===Ec;return f.resetPeek(),V}function A(f,m){const{currentType:j}=m;if(j!==8)return!1;_(f);const V=f.currentPeek()===".";return f.resetPeek(),V}function L(f,m){const{currentType:j}=m;if(j!==9)return!1;_(f);const V=h(f.currentPeek());return f.resetPeek(),V}function M(f,m){const{currentType:j}=m;if(!(j===8||j===12))return!1;_(f);const V=f.currentPeek()===":";return f.resetPeek(),V}function P(f,m){const{currentType:j}=m;if(j!==10)return!1;const V=()=>{const ae=f.currentPeek();return ae==="{"?h(f.peek()):ae==="@"||ae==="%"||ae==="|"||ae===":"||ae==="."||ae===So||!ae?!1:ae===Tt?(f.peek(),V()):H(f,!1)},se=V();return f.resetPeek(),se}function I(f){_(f);const m=f.currentPeek()==="|";return f.resetPeek(),m}function B(f){const m=_(f),j=f.currentPeek()==="%"&&f.peek()==="{";return f.resetPeek(),{isModulo:j,hasSpace:m.length>0}}function H(f,m=!0){const j=(se=!1,ae="",U=!1)=>{const S=f.currentPeek();return S==="{"?ae==="%"?!1:se:S==="@"||!S?ae==="%"?!0:se:S==="%"?(f.peek(),j(se,"%",!0)):S==="|"?ae==="%"||U?!0:!(ae===So||ae===Tt):S===So?(f.peek(),j(!0,So,U)):S===Tt?(f.peek(),j(!0,Tt,U)):!0},V=j();return m&&f.resetPeek(),V}function O(f,m){const j=f.currentChar();return j===Io?Io:m(j)?(f.next(),j):null}function R(f){const m=f.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m>=48&&m<=57||m===95||m===36}function G(f){return O(f,R)}function F(f){const m=f.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m>=48&&m<=57||m===95||m===36||m===45}function C(f){return O(f,F)}function re(f){const m=f.charCodeAt(0);return m>=48&&m<=57}function _e(f){return O(f,re)}function ne(f){const m=f.charCodeAt(0);return m>=48&&m<=57||m>=65&&m<=70||m>=97&&m<=102}function ge(f){return O(f,ne)}function fe(f){let m="",j="";for(;m=_e(f);)j+=m;return j}function de(f){d(f);const m=f.currentChar();return m!=="%"&&p(we.EXPECTED_TOKEN,r(),0,m),f.next(),"%"}function Ke(f){let m="";for(;;){const j=f.currentChar();if(j==="{"||j==="}"||j==="@"||j==="|"||!j)break;if(j==="%")if(H(f))m+=j,f.next();else break;else if(j===So||j===Tt)if(H(f))m+=j,f.next();else{if(I(f))break;m+=j,f.next()}else m+=j,f.next()}return m}function Fe(f){d(f);let m="",j="";for(;m=C(f);)j+=m;return f.currentChar()===Io&&p(we.UNTERMINATED_CLOSING_BRACE,r(),0),j}function Qe(f){d(f);let m="";return f.currentChar()==="-"?(f.next(),m+=`-${fe(f)}`):m+=fe(f),f.currentChar()===Io&&p(we.UNTERMINATED_CLOSING_BRACE,r(),0),m}function mt(f){return f!==Ec&&f!==Tt}function He(f){d(f),w(f,"'");let m="",j="";for(;m=O(f,mt);)m==="\\"?j+=it(f):j+=m;const V=f.currentChar();return V===Tt||V===Io?(p(we.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),V===Tt&&(f.next(),w(f,"'")),j):(w(f,"'"),j)}function it(f){const m=f.currentChar();switch(m){case"\\":case"'":return f.next(),`\\${m}`;case"u":return qe(f,m,4);case"U":return qe(f,m,6);default:return p(we.UNKNOWN_ESCAPE_SEQUENCE,r(),0,m),""}}function qe(f,m,j){w(f,m);let V="";for(let se=0;se{const V=f.currentChar();return V==="{"||V==="%"||V==="@"||V==="|"||V==="("||V===")"||!V||V===So?j:(j+=V,f.next(),m(j))};return m("")}function K(f){d(f);const m=w(f,"|");return d(f),m}function Y(f,m){let j=null;switch(f.currentChar()){case"{":return m.braceNest>=1&&p(we.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),f.next(),j=g(m,2,"{"),d(f),m.braceNest++,j;case"}":return m.braceNest>0&&m.currentType===2&&p(we.EMPTY_PLACEHOLDER,r(),0),f.next(),j=g(m,3,"}"),m.braceNest--,m.braceNest>0&&d(f),m.inLinked&&m.braceNest===0&&(m.inLinked=!1),j;case"@":return m.braceNest>0&&p(we.UNTERMINATED_CLOSING_BRACE,r(),0),j=X(f,m)||k(m),m.braceNest=0,j;default:{let se=!0,ae=!0,U=!0;if(I(f))return m.braceNest>0&&p(we.UNTERMINATED_CLOSING_BRACE,r(),0),j=g(m,1,K(f)),m.braceNest=0,m.inLinked=!1,j;if(m.braceNest>0&&(m.currentType===5||m.currentType===6||m.currentType===7))return p(we.UNTERMINATED_CLOSING_BRACE,r(),0),m.braceNest=0,Q(f,m);if(se=v(f,m))return j=g(m,5,Fe(f)),d(f),j;if(ae=b(f,m))return j=g(m,6,Qe(f)),d(f),j;if(U=x(f,m))return j=g(m,7,He(f)),d(f),j;if(!se&&!ae&&!U)return j=g(m,13,$(f)),p(we.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,j.value),d(f),j;break}}return j}function X(f,m){const{currentType:j}=m;let V=null;const se=f.currentChar();switch((j===8||j===9||j===12||j===10)&&(se===Tt||se===So)&&p(we.INVALID_LINKED_FORMAT,r(),0),se){case"@":return f.next(),V=g(m,8,"@"),m.inLinked=!0,V;case".":return d(f),f.next(),g(m,9,".");case":":return d(f),f.next(),g(m,10,":");default:return I(f)?(V=g(m,1,K(f)),m.braceNest=0,m.inLinked=!1,V):A(f,m)||M(f,m)?(d(f),X(f,m)):L(f,m)?(d(f),g(m,12,N(f))):P(f,m)?(d(f),se==="{"?Y(f,m)||V:g(m,11,E(f))):(j===8&&p(we.INVALID_LINKED_FORMAT,r(),0),m.braceNest=0,m.inLinked=!1,Q(f,m))}}function Q(f,m){let j={type:14};if(m.braceNest>0)return Y(f,m)||k(m);if(m.inLinked)return X(f,m)||k(m);switch(f.currentChar()){case"{":return Y(f,m)||k(m);case"}":return p(we.UNBALANCED_CLOSING_BRACE,r(),0),f.next(),g(m,3,"}");case"@":return X(f,m)||k(m);default:{if(I(f))return j=g(m,1,K(f)),m.braceNest=0,m.inLinked=!1,j;const{isModulo:se,hasSpace:ae}=B(f);if(se)return ae?g(m,0,Ke(f)):g(m,4,de(f));if(H(f))return g(m,0,Ke(f));break}}return j}function q(){const{currentType:f,offset:m,startLoc:j,endLoc:V}=l;return l.lastType=f,l.lastOffset=m,l.lastStartLoc=j,l.lastEndLoc=V,l.offset=a(),l.startLoc=r(),n.currentChar()===Io?g(l,14):Q(n,l)}return{nextToken:q,currentOffset:a,currentPosition:r,context:c}}const Ym="parser",qm=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Jm(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 Zm(e={}){const t=e.location!==!1,{onError:o,onWarn:n}=e;function a(v,b,x,A,...L){const M=v.currentPosition();if(M.offset+=A,M.column+=A,o){const P=t?tr(x,M):null,I=mn(b,P,{domain:Ym,args:L});o(I)}}function r(v,b,x,A,...L){const M=v.currentPosition();if(M.offset+=A,M.column+=A,n){const P=t?tr(x,M):null;n(Dm(b,P,L))}}function s(v,b,x){const A={type:v};return t&&(A.start=b,A.end=b,A.loc={start:x,end:x}),A}function i(v,b,x,A){t&&(v.end=b,v.loc&&(v.loc.end=x))}function l(v,b){const x=v.context(),A=s(3,x.offset,x.startLoc);return A.value=b,i(A,v.currentOffset(),v.currentPosition()),A}function c(v,b){const x=v.context(),{lastOffset:A,lastStartLoc:L}=x,M=s(5,A,L);return M.index=parseInt(b,10),v.nextToken(),i(M,v.currentOffset(),v.currentPosition()),M}function u(v,b,x){const A=v.context(),{lastOffset:L,lastStartLoc:M}=A,P=s(4,L,M);return P.key=b,x===!0&&(P.modulo=!0),v.nextToken(),i(P,v.currentOffset(),v.currentPosition()),P}function p(v,b){const x=v.context(),{lastOffset:A,lastStartLoc:L}=x,M=s(9,A,L);return M.value=b.replace(qm,Jm),v.nextToken(),i(M,v.currentOffset(),v.currentPosition()),M}function g(v){const b=v.nextToken(),x=v.context(),{lastOffset:A,lastStartLoc:L}=x,M=s(8,A,L);return b.type!==12?(a(v,we.UNEXPECTED_EMPTY_LINKED_MODIFIER,x.lastStartLoc,0),M.value="",i(M,A,L),{nextConsumeToken:b,node:M}):(b.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Vt(b)),M.value=b.value||"",i(M,v.currentOffset(),v.currentPosition()),{node:M})}function k(v,b){const x=v.context(),A=s(7,x.offset,x.startLoc);return A.value=b,i(A,v.currentOffset(),v.currentPosition()),A}function w(v){const b=v.context(),x=s(6,b.offset,b.startLoc);let A=v.nextToken();if(A.type===9){const L=g(v);x.modifier=L.node,A=L.nextConsumeToken||v.nextToken()}switch(A.type!==10&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(A)),A=v.nextToken(),A.type===2&&(A=v.nextToken()),A.type){case 11:A.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(A)),x.key=k(v,A.value||"");break;case 5:A.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(A)),x.key=u(v,A.value||"");break;case 6:A.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(A)),x.key=c(v,A.value||"");break;case 7:A.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(A)),x.key=p(v,A.value||"");break;default:{a(v,we.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const L=v.context(),M=s(7,L.offset,L.startLoc);return M.value="",i(M,L.offset,L.startLoc),x.key=M,i(x,L.offset,L.startLoc),{nextConsumeToken:A,node:x}}}return i(x,v.currentOffset(),v.currentPosition()),{node:x}}function _(v){const b=v.context(),x=b.currentType===1?v.currentOffset():b.offset,A=b.currentType===1?b.endLoc:b.startLoc,L=s(2,x,A);L.items=[];let M=null,P=null;do{const H=M||v.nextToken();switch(M=null,H.type){case 0:H.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(H)),L.items.push(l(v,H.value||""));break;case 6:H.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(H)),L.items.push(c(v,H.value||""));break;case 4:P=!0;break;case 5:H.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(H)),L.items.push(u(v,H.value||"",!!P)),P&&(r(v,ds.USE_MODULO_SYNTAX,b.lastStartLoc,0,Vt(H)),P=null);break;case 7:H.value==null&&a(v,we.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Vt(H)),L.items.push(p(v,H.value||""));break;case 8:{const O=w(v);L.items.push(O.node),M=O.nextConsumeToken||null;break}}}while(b.currentType!==14&&b.currentType!==1);const I=b.currentType===1?b.lastOffset:v.currentOffset(),B=b.currentType===1?b.lastEndLoc:v.currentPosition();return i(L,I,B),L}function d(v,b,x,A){const L=v.context();let M=A.items.length===0;const P=s(1,b,x);P.cases=[],P.cases.push(A);do{const I=_(v);M||(M=I.items.length===0),P.cases.push(I)}while(L.currentType!==14);return M&&a(v,we.MUST_HAVE_MESSAGES_IN_PLURAL,x,0),i(P,v.currentOffset(),v.currentPosition()),P}function h(v){const b=v.context(),{offset:x,startLoc:A}=b,L=_(v);return b.currentType===14?L:d(v,x,A,L)}function y(v){const b=Wm(v,$c({},e)),x=b.context(),A=s(0,x.offset,x.startLoc);return t&&A.loc&&(A.loc.source=v),A.body=h(b),e.onCacheKey&&(A.cacheKey=e.onCacheKey(v)),x.currentType!==14&&a(b,we.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,v[x.offset]||""),i(A,b.currentOffset(),b.currentPosition()),A}return{parse:y}}function Vt(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Xm(e,t={}){const o={ast:e,helpers:new Set};return{context:()=>o,helper:r=>(o.helpers.add(r),r)}}function Tc(e,t){for(let o=0;oPc(o)),e}function Pc(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let o=0;os;function l(_,d){s.code+=_}function c(_,d=!0){const h=d?n:"";l(a?h+" ".repeat(_):h)}function u(_=!0){const d=++s.indentLevel;_&&c(d)}function p(_=!0){const d=--s.indentLevel;_&&c(d)}function g(){c(s.indentLevel)}return{context:i,push:l,indent:u,deindent:p,newline:g,helper:_=>`_${_}`,needIndent:()=>s.needIndent}}function ab(e,t){const{helper:o}=e;e.push(`${o("linked")}(`),yn(e,t.key),t.modifier?(e.push(", "),yn(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function rb(e,t){const{helper:o,needIndent:n}=e;e.push(`${o("normalize")}([`),e.indent(n());const a=t.items.length;for(let r=0;r1){e.push(`${o("plural")}([`),e.indent(n());const a=t.cases.length;for(let r=0;r{const o=Lc(t.mode)?t.mode:"normal",n=Lc(t.filename)?t.filename:"message.intl";t.sourceMap;const a=t.breakLineCode!=null?t.breakLineCode:o==="arrow"?";":` -`,r=t.needIndent?t.needIndent:o!=="arrow",s=e.helpers||[],i=nb(e,{filename:n,breakLineCode:a,needIndent:r});i.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(r),s.length>0&&(i.push(`const { ${Cc(s.map(u=>`${u}: _${u}`),", ")} } = ctx`),i.newline()),i.push("return "),yn(i,e),i.deindent(r),i.push("}"),delete e.helpers;const{code:l,map:c}=i.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function cb(e,t={}){const o=$c({},t),n=!!o.jit,a=!!o.minify,r=o.optimize==null?!0:o.optimize,i=Zm(o).parse(e);return n?(r&&eb(i),a&&bn(i),{ast:i,code:""}):(Qm(i,o),lb(i,o))}/*! + */function Dm(e,t,o){return{line:e,column:t,offset:o}}function or(e,t,o){return{start:e,end:t}}const Bm=/\{([0-9a-zA-Z]+)\}/g;function Ec(e,...t){return t.length===1&&jm(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Bm,(o,n)=>t.hasOwnProperty(n)?t[n]:"")}const Cc=Object.assign,Tc=e=>typeof e=="string",jm=e=>e!==null&&typeof e=="object";function Pc(e,t=""){return e.reduce((o,n,a)=>a===0?o+n:o+t+n,"")}const gs={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Gm={[gs.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function Um(e,t,...o){const n=Ec(Gm[e],...o||[]),a={message:String(n),code:e};return t&&(a.location=t),a}const we={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},Km={[we.EXPECTED_TOKEN]:"Expected token: '{0}'",[we.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[we.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[we.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[we.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[we.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[we.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[we.EMPTY_PLACEHOLDER]:"Empty placeholder",[we.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[we.INVALID_LINKED_FORMAT]:"Invalid linked format",[we.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[we.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[we.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[we.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[we.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[we.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function mn(e,t,o={}){const{domain:n,messages:a,args:r}=o,s=Ec((a||Km)[e]||"",...r||[]),i=new SyntaxError(String(s));return i.code=e,t&&(i.location=t),i.domain=n,i}function zm(e){throw e}const xo=" ",Hm="\r",Tt=` +`,Vm="\u2028",Wm="\u2029";function Ym(e){const t=e;let o=0,n=1,a=1,r=0;const s=L=>t[L]===Hm&&t[L+1]===Tt,i=L=>t[L]===Tt,l=L=>t[L]===Wm,u=L=>t[L]===Vm,c=L=>s(L)||i(L)||l(L)||u(L),d=()=>o,g=()=>n,k=()=>a,x=()=>r,_=L=>s(L)||l(L)||u(L)?Tt:t[L],p=()=>_(o),h=()=>_(o+r);function v(){return r=0,c(o)&&(n++,a=0),s(o)&&o++,o++,a++,t[o]}function b(){return s(o+r)&&r++,r++,t[o+r]}function y(){o=0,n=1,a=1,r=0}function S(L=0){r=L}function A(){const L=o+r;for(;L!==o;)v();r=0}return{index:d,line:g,column:k,peekOffset:x,charAt:_,currentChar:p,currentPeek:h,next:v,peek:b,reset:y,resetPeek:S,skipToPeek:A}}const No=void 0,qm=".",Mc="'",Jm="tokenizer";function Zm(e,t={}){const o=t.location!==!1,n=Ym(e),a=()=>n.index(),r=()=>Dm(n.line(),n.column(),n.index()),s=r(),i=a(),l={currentType:14,offset:i,startLoc:s,endLoc:s,lastType:14,lastOffset:i,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:c}=t;function d(f,m,B,...Y){const re=u();if(m.column+=B,m.offset+=B,c){const ae=o?or(re.startLoc,m):null,U=mn(f,ae,{domain:Jm,args:Y});c(U)}}function g(f,m,B){f.endLoc=r(),f.currentType=m;const Y={type:m};return o&&(Y.loc=or(f.startLoc,f.endLoc)),B!=null&&(Y.value=B),Y}const k=f=>g(f,14);function x(f,m){return f.currentChar()===m?(f.next(),m):(d(we.EXPECTED_TOKEN,r(),0,m),"")}function _(f){let m="";for(;f.currentPeek()===xo||f.currentPeek()===Tt;)m+=f.currentPeek(),f.peek();return m}function p(f){const m=_(f);return f.skipToPeek(),m}function h(f){if(f===No)return!1;const m=f.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m===95}function v(f){if(f===No)return!1;const m=f.charCodeAt(0);return m>=48&&m<=57}function b(f,m){const{currentType:B}=m;if(B!==2)return!1;_(f);const Y=h(f.currentPeek());return f.resetPeek(),Y}function y(f,m){const{currentType:B}=m;if(B!==2)return!1;_(f);const Y=f.currentPeek()==="-"?f.peek():f.currentPeek(),re=v(Y);return f.resetPeek(),re}function S(f,m){const{currentType:B}=m;if(B!==2)return!1;_(f);const Y=f.currentPeek()===Mc;return f.resetPeek(),Y}function A(f,m){const{currentType:B}=m;if(B!==8)return!1;_(f);const Y=f.currentPeek()===".";return f.resetPeek(),Y}function L(f,m){const{currentType:B}=m;if(B!==9)return!1;_(f);const Y=h(f.currentPeek());return f.resetPeek(),Y}function E(f,m){const{currentType:B}=m;if(!(B===8||B===12))return!1;_(f);const Y=f.currentPeek()===":";return f.resetPeek(),Y}function P(f,m){const{currentType:B}=m;if(B!==10)return!1;const Y=()=>{const ae=f.currentPeek();return ae==="{"?h(f.peek()):ae==="@"||ae==="%"||ae==="|"||ae===":"||ae==="."||ae===xo||!ae?!1:ae===Tt?(f.peek(),Y()):V(f,!1)},re=Y();return f.resetPeek(),re}function N(f){_(f);const m=f.currentPeek()==="|";return f.resetPeek(),m}function j(f){const m=_(f),B=f.currentPeek()==="%"&&f.peek()==="{";return f.resetPeek(),{isModulo:B,hasSpace:m.length>0}}function V(f,m=!0){const B=(re=!1,ae="",U=!1)=>{const w=f.currentPeek();return w==="{"?ae==="%"?!1:re:w==="@"||!w?ae==="%"?!0:re:w==="%"?(f.peek(),B(re,"%",!0)):w==="|"?ae==="%"||U?!0:!(ae===xo||ae===Tt):w===xo?(f.peek(),B(!0,xo,U)):w===Tt?(f.peek(),B(!0,Tt,U)):!0},Y=B();return m&&f.resetPeek(),Y}function O(f,m){const B=f.currentChar();return B===No?No:m(B)?(f.next(),B):null}function I(f){const m=f.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m>=48&&m<=57||m===95||m===36}function G(f){return O(f,I)}function R(f){const m=f.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m>=48&&m<=57||m===95||m===36||m===45}function K(f){return O(f,R)}function le(f){const m=f.charCodeAt(0);return m>=48&&m<=57}function _e(f){return O(f,le)}function F(f){const m=f.charCodeAt(0);return m>=48&&m<=57||m>=65&&m<=70||m>=97&&m<=102}function de(f){return O(f,F)}function fe(f){let m="",B="";for(;m=_e(f);)B+=m;return B}function pe(f){p(f);const m=f.currentChar();return m!=="%"&&d(we.EXPECTED_TOKEN,r(),0,m),f.next(),"%"}function Oe(f){let m="";for(;;){const B=f.currentChar();if(B==="{"||B==="}"||B==="@"||B==="|"||!B)break;if(B==="%")if(V(f))m+=B,f.next();else break;else if(B===xo||B===Tt)if(V(f))m+=B,f.next();else{if(N(f))break;m+=B,f.next()}else m+=B,f.next()}return m}function Ne(f){p(f);let m="",B="";for(;m=K(f);)B+=m;return f.currentChar()===No&&d(we.UNTERMINATED_CLOSING_BRACE,r(),0),B}function ze(f){p(f);let m="";return f.currentChar()==="-"?(f.next(),m+=`-${fe(f)}`):m+=fe(f),f.currentChar()===No&&d(we.UNTERMINATED_CLOSING_BRACE,r(),0),m}function mt(f){return f!==Mc&&f!==Tt}function nt(f){p(f),x(f,"'");let m="",B="";for(;m=O(f,mt);)m==="\\"?B+=bt(f):B+=m;const Y=f.currentChar();return Y===Tt||Y===No?(d(we.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),Y===Tt&&(f.next(),x(f,"'")),B):(x(f,"'"),B)}function bt(f){const m=f.currentChar();switch(m){case"\\":case"'":return f.next(),`\\${m}`;case"u":return Qe(f,m,4);case"U":return Qe(f,m,6);default:return d(we.UNKNOWN_ESCAPE_SEQUENCE,r(),0,m),""}}function Qe(f,m,B){x(f,m);let Y="";for(let re=0;re{const Y=f.currentChar();return Y==="{"||Y==="%"||Y==="@"||Y==="|"||Y==="("||Y===")"||!Y||Y===xo?B:(B+=Y,f.next(),m(B))};return m("")}function z(f){p(f);const m=x(f,"|");return p(f),m}function J(f,m){let B=null;switch(f.currentChar()){case"{":return m.braceNest>=1&&d(we.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),f.next(),B=g(m,2,"{"),p(f),m.braceNest++,B;case"}":return m.braceNest>0&&m.currentType===2&&d(we.EMPTY_PLACEHOLDER,r(),0),f.next(),B=g(m,3,"}"),m.braceNest--,m.braceNest>0&&p(f),m.inLinked&&m.braceNest===0&&(m.inLinked=!1),B;case"@":return m.braceNest>0&&d(we.UNTERMINATED_CLOSING_BRACE,r(),0),B=Q(f,m)||k(m),m.braceNest=0,B;default:{let re=!0,ae=!0,U=!0;if(N(f))return m.braceNest>0&&d(we.UNTERMINATED_CLOSING_BRACE,r(),0),B=g(m,1,z(f)),m.braceNest=0,m.inLinked=!1,B;if(m.braceNest>0&&(m.currentType===5||m.currentType===6||m.currentType===7))return d(we.UNTERMINATED_CLOSING_BRACE,r(),0),m.braceNest=0,ee(f,m);if(re=b(f,m))return B=g(m,5,Ne(f)),p(f),B;if(ae=y(f,m))return B=g(m,6,ze(f)),p(f),B;if(U=S(f,m))return B=g(m,7,nt(f)),p(f),B;if(!re&&!ae&&!U)return B=g(m,13,$(f)),d(we.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,B.value),p(f),B;break}}return B}function Q(f,m){const{currentType:B}=m;let Y=null;const re=f.currentChar();switch((B===8||B===9||B===12||B===10)&&(re===Tt||re===xo)&&d(we.INVALID_LINKED_FORMAT,r(),0),re){case"@":return f.next(),Y=g(m,8,"@"),m.inLinked=!0,Y;case".":return p(f),f.next(),g(m,9,".");case":":return p(f),f.next(),g(m,10,":");default:return N(f)?(Y=g(m,1,z(f)),m.braceNest=0,m.inLinked=!1,Y):A(f,m)||E(f,m)?(p(f),Q(f,m)):L(f,m)?(p(f),g(m,12,M(f))):P(f,m)?(p(f),re==="{"?J(f,m)||Y:g(m,11,C(f))):(B===8&&d(we.INVALID_LINKED_FORMAT,r(),0),m.braceNest=0,m.inLinked=!1,ee(f,m))}}function ee(f,m){let B={type:14};if(m.braceNest>0)return J(f,m)||k(m);if(m.inLinked)return Q(f,m)||k(m);switch(f.currentChar()){case"{":return J(f,m)||k(m);case"}":return d(we.UNBALANCED_CLOSING_BRACE,r(),0),f.next(),g(m,3,"}");case"@":return Q(f,m)||k(m);default:{if(N(f))return B=g(m,1,z(f)),m.braceNest=0,m.inLinked=!1,B;const{isModulo:re,hasSpace:ae}=j(f);if(re)return ae?g(m,0,Oe(f)):g(m,4,pe(f));if(V(f))return g(m,0,Oe(f));break}}return B}function Z(){const{currentType:f,offset:m,startLoc:B,endLoc:Y}=l;return l.lastType=f,l.lastOffset=m,l.lastStartLoc=B,l.lastEndLoc=Y,l.offset=a(),l.startLoc=r(),n.currentChar()===No?g(l,14):ee(n,l)}return{nextToken:Z,currentOffset:a,currentPosition:r,context:u}}const Xm="parser",Qm=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function eb(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 tb(e={}){const t=e.location!==!1,{onError:o,onWarn:n}=e;function a(b,y,S,A,...L){const E=b.currentPosition();if(E.offset+=A,E.column+=A,o){const P=t?or(S,E):null,N=mn(y,P,{domain:Xm,args:L});o(N)}}function r(b,y,S,A,...L){const E=b.currentPosition();if(E.offset+=A,E.column+=A,n){const P=t?or(S,E):null;n(Um(y,P,L))}}function s(b,y,S){const A={type:b};return t&&(A.start=y,A.end=y,A.loc={start:S,end:S}),A}function i(b,y,S,A){t&&(b.end=y,b.loc&&(b.loc.end=S))}function l(b,y){const S=b.context(),A=s(3,S.offset,S.startLoc);return A.value=y,i(A,b.currentOffset(),b.currentPosition()),A}function u(b,y){const S=b.context(),{lastOffset:A,lastStartLoc:L}=S,E=s(5,A,L);return E.index=parseInt(y,10),b.nextToken(),i(E,b.currentOffset(),b.currentPosition()),E}function c(b,y,S){const A=b.context(),{lastOffset:L,lastStartLoc:E}=A,P=s(4,L,E);return P.key=y,S===!0&&(P.modulo=!0),b.nextToken(),i(P,b.currentOffset(),b.currentPosition()),P}function d(b,y){const S=b.context(),{lastOffset:A,lastStartLoc:L}=S,E=s(9,A,L);return E.value=y.replace(Qm,eb),b.nextToken(),i(E,b.currentOffset(),b.currentPosition()),E}function g(b){const y=b.nextToken(),S=b.context(),{lastOffset:A,lastStartLoc:L}=S,E=s(8,A,L);return y.type!==12?(a(b,we.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),E.value="",i(E,A,L),{nextConsumeToken:y,node:E}):(y.value==null&&a(b,we.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Vt(y)),E.value=y.value||"",i(E,b.currentOffset(),b.currentPosition()),{node:E})}function k(b,y){const S=b.context(),A=s(7,S.offset,S.startLoc);return A.value=y,i(A,b.currentOffset(),b.currentPosition()),A}function x(b){const y=b.context(),S=s(6,y.offset,y.startLoc);let A=b.nextToken();if(A.type===9){const L=g(b);S.modifier=L.node,A=L.nextConsumeToken||b.nextToken()}switch(A.type!==10&&a(b,we.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Vt(A)),A=b.nextToken(),A.type===2&&(A=b.nextToken()),A.type){case 11:A.value==null&&a(b,we.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Vt(A)),S.key=k(b,A.value||"");break;case 5:A.value==null&&a(b,we.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Vt(A)),S.key=c(b,A.value||"");break;case 6:A.value==null&&a(b,we.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Vt(A)),S.key=u(b,A.value||"");break;case 7:A.value==null&&a(b,we.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Vt(A)),S.key=d(b,A.value||"");break;default:{a(b,we.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const L=b.context(),E=s(7,L.offset,L.startLoc);return E.value="",i(E,L.offset,L.startLoc),S.key=E,i(S,L.offset,L.startLoc),{nextConsumeToken:A,node:S}}}return i(S,b.currentOffset(),b.currentPosition()),{node:S}}function _(b){const y=b.context(),S=y.currentType===1?b.currentOffset():y.offset,A=y.currentType===1?y.endLoc:y.startLoc,L=s(2,S,A);L.items=[];let E=null,P=null;do{const V=E||b.nextToken();switch(E=null,V.type){case 0:V.value==null&&a(b,we.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Vt(V)),L.items.push(l(b,V.value||""));break;case 6:V.value==null&&a(b,we.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Vt(V)),L.items.push(u(b,V.value||""));break;case 4:P=!0;break;case 5:V.value==null&&a(b,we.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Vt(V)),L.items.push(c(b,V.value||"",!!P)),P&&(r(b,gs.USE_MODULO_SYNTAX,y.lastStartLoc,0,Vt(V)),P=null);break;case 7:V.value==null&&a(b,we.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Vt(V)),L.items.push(d(b,V.value||""));break;case 8:{const O=x(b);L.items.push(O.node),E=O.nextConsumeToken||null;break}}}while(y.currentType!==14&&y.currentType!==1);const N=y.currentType===1?y.lastOffset:b.currentOffset(),j=y.currentType===1?y.lastEndLoc:b.currentPosition();return i(L,N,j),L}function p(b,y,S,A){const L=b.context();let E=A.items.length===0;const P=s(1,y,S);P.cases=[],P.cases.push(A);do{const N=_(b);E||(E=N.items.length===0),P.cases.push(N)}while(L.currentType!==14);return E&&a(b,we.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),i(P,b.currentOffset(),b.currentPosition()),P}function h(b){const y=b.context(),{offset:S,startLoc:A}=y,L=_(b);return y.currentType===14?L:p(b,S,A,L)}function v(b){const y=Zm(b,Cc({},e)),S=y.context(),A=s(0,S.offset,S.startLoc);return t&&A.loc&&(A.loc.source=b),A.body=h(y),e.onCacheKey&&(A.cacheKey=e.onCacheKey(b)),S.currentType!==14&&a(y,we.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,b[S.offset]||""),i(A,y.currentOffset(),y.currentPosition()),A}return{parse:v}}function Vt(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function ob(e,t={}){const o={ast:e,helpers:new Set};return{context:()=>o,helper:r=>(o.helpers.add(r),r)}}function Nc(e,t){for(let o=0;oIc(o)),e}function Ic(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let o=0;os;function l(_,p){s.code+=_}function u(_,p=!0){const h=p?n:"";l(a?h+" ".repeat(_):h)}function c(_=!0){const p=++s.indentLevel;_&&u(p)}function d(_=!0){const p=--s.indentLevel;_&&u(p)}function g(){u(s.indentLevel)}return{context:i,push:l,indent:c,deindent:d,newline:g,helper:_=>`_${_}`,needIndent:()=>s.needIndent}}function lb(e,t){const{helper:o}=e;e.push(`${o("linked")}(`),yn(e,t.key),t.modifier?(e.push(", "),yn(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function cb(e,t){const{helper:o,needIndent:n}=e;e.push(`${o("normalize")}([`),e.indent(n());const a=t.items.length;for(let r=0;r1){e.push(`${o("plural")}([`),e.indent(n());const a=t.cases.length;for(let r=0;r{const o=Tc(t.mode)?t.mode:"normal",n=Tc(t.filename)?t.filename:"message.intl";t.sourceMap;const a=t.breakLineCode!=null?t.breakLineCode:o==="arrow"?";":` +`,r=t.needIndent?t.needIndent:o!=="arrow",s=e.helpers||[],i=ib(e,{filename:n,breakLineCode:a,needIndent:r});i.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(r),s.length>0&&(i.push(`const { ${Pc(s.map(c=>`${c}: _${c}`),", ")} } = ctx`),i.newline()),i.push("return "),yn(i,e),i.deindent(r),i.push("}"),delete e.helpers;const{code:l,map:u}=i.context();return{ast:e,code:l,map:u?u.toJSON():void 0}};function gb(e,t={}){const o=Cc({},t),n=!!o.jit,a=!!o.minify,r=o.optimize==null?!0:o.optimize,i=tb(o).parse(e);return n?(r&&ab(i),a&&bn(i),{ast:i,code:""}):(nb(i,o),pb(i,o))}/*! * core-base v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function ub(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(xo().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(xo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(xo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function so(e){return Ie(e)&&gs(e)===0&&(Ht(e,"b")||Ht(e,"body"))}const Mc=["b","body"];function db(e){return Ro(e,Mc)}const Nc=["c","cases"];function pb(e){return Ro(e,Nc,[])}const Ic=["s","static"];function gb(e){return Ro(e,Ic)}const Rc=["i","items"];function fb(e){return Ro(e,Rc,[])}const Fc=["t","type"];function gs(e){return Ro(e,Fc)}const Oc=["v","value"];function or(e,t){const o=Ro(e,Oc);if(o!=null)return o;throw Qn(t)}const Dc=["m","modifier"];function hb(e){return Ro(e,Dc)}const Bc=["k","key"];function mb(e){const t=Ro(e,Bc);if(t)return t;throw Qn(6)}function Ro(e,t,o){for(let n=0;n{s===void 0?s=i:s+=i},g[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},g[2]=()=>{g[0](),a++},g[3]=()=>{if(a>0)a--,n=4,g[0]();else{if(a=0,s===void 0||(s=kb(s),s===!1))return!1;g[1]()}};function k(){const w=e[o+1];if(n===5&&w==="'"||n===6&&w==='"')return o++,i="\\"+w,g[0](),!0}for(;n!==null;)if(o++,r=e[o],!(r==="\\"&&k())){if(l=vb(r),p=Fo[n],c=p[l]||p.l||8,c===8||(n=c[0],c[1]!==void 0&&(u=g[c[1]],u&&(i=r,u()===!1))))return;if(n===7)return t}}const Gc=new Map;function xb(e,t){return Ie(e)?e[t]:null}function Sb(e,t){if(!Ie(e))return null;let o=Gc.get(t);if(o||(o=wb(t),o&&Gc.set(t,o)),!o)return null;const n=o.length;let a=e,r=0;for(;re,$b=e=>"",Lb="text",Cb=e=>e.length===0?"":Nm(e),Eb=Mm;function Uc(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Tb(e){const t=st(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(st(e.named.count)||st(e.named.n))?st(e.named.count)?e.named.count:st(e.named.n)?e.named.n:t:t}function Pb(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Mb(e={}){const t=e.locale,o=Tb(e),n=Ie(e.pluralRules)&&pe(t)&&Ye(e.pluralRules[t])?e.pluralRules[t]:Uc,a=Ie(e.pluralRules)&&pe(t)&&Ye(e.pluralRules[t])?Uc:void 0,r=h=>h[n(o,h.length,a)],s=e.list||[],i=h=>s[h],l=e.named||Ue();st(e.pluralIndex)&&Pb(o,l);const c=h=>l[h];function u(h){const y=Ye(e.messages)?e.messages(h):Ie(e.messages)?e.messages[h]:!1;return y||(e.parent?e.parent.message(h):$b)}const p=h=>e.modifiers?e.modifiers[h]:Ab,g=Ae(e.processor)&&Ye(e.processor.normalize)?e.processor.normalize:Cb,k=Ae(e.processor)&&Ye(e.processor.interpolate)?e.processor.interpolate:Eb,w=Ae(e.processor)&&pe(e.processor.type)?e.processor.type:Lb,d={list:i,named:c,plural:r,linked:(h,...y)=>{const[v,b]=y;let x="text",A="";y.length===1?Ie(v)?(A=v.modifier||A,x=v.type||x):pe(v)&&(A=v||A):y.length===2&&(pe(v)&&(A=v||A),pe(b)&&(x=b||x));const L=u(h)(d),M=x==="vnode"&&Xe(L)&&A?L[0]:L;return A?p(A)(M,x):M},message:u,type:w,interpolate:k,normalize:g,values:kt(Ue(),s,l)};return d}let ea=null;function Nb(e){ea=e}function Ib(e,t,o){ea&&ea.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:o})}const Rb=Fb("function:translate");function Fb(e){return t=>ea&&ea.emit(e,t)}const Ob=ds.__EXTEND_POINT__,Yo=Xa(Ob),Db={FALLBACK_TO_TRANSLATE:Yo(),CANNOT_FORMAT_NUMBER:Yo(),FALLBACK_TO_NUMBER_FORMAT:Yo(),CANNOT_FORMAT_DATE:Yo(),FALLBACK_TO_DATE_FORMAT:Yo(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Yo(),__EXTEND_POINT__:Yo()},Kc=we.__EXTEND_POINT__,qo=Xa(Kc),Wt={INVALID_ARGUMENT:Kc,INVALID_DATE_ARGUMENT:qo(),INVALID_ISO_DATE_ARGUMENT:qo(),NOT_SUPPORT_NON_STRING_MESSAGE:qo(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:qo(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:qo(),NOT_SUPPORT_LOCALE_TYPE:qo(),__EXTEND_POINT__:qo()};function io(e){return mn(e,null,void 0)}function fs(e,t){return t.locale!=null?zc(t.locale):zc(e.locale)}let hs;function zc(e){if(pe(e))return e;if(Ye(e)){if(e.resolvedOnce&&hs!=null)return hs;if(e.constructor.name==="Function"){const t=e();if(Pm(t))throw io(Wt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return hs=t}else throw io(Wt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw io(Wt.NOT_SUPPORT_LOCALE_TYPE)}function Bb(e,t,o){return[...new Set([o,...Xe(t)?t:Ie(t)?Object.keys(t):pe(t)?[t]:[o]])]}function Hc(e,t,o){const n=pe(o)?o:_n,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let r=a.__localeChainCache.get(n);if(!r){r=[];let s=[o];for(;Xe(s);)s=Vc(r,s,t);const i=Xe(t)||!Ae(t)?t:t.default?t.default:null;s=pe(i)?[i]:i,Xe(s)&&Vc(r,s,!1),a.__localeChainCache.set(n,r)}return r}function Vc(e,t,o){let n=!0;for(let a=0;a`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Kb(){return{upper:(e,t)=>t==="text"&&pe(e)?e.toUpperCase():t==="vnode"&&Ie(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&pe(e)?e.toLowerCase():t==="vnode"&&Ie(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&pe(e)?Yc(e):t==="vnode"&&Ie(e)&&"__v_isVNode"in e?Yc(e.children):e}}let qc;function Jc(e){qc=e}let Zc;function zb(e){Zc=e}let Xc;function Hb(e){Xc=e}let Qc=null;const Vb=e=>{Qc=e},Wb=()=>Qc;let eu=null;const tu=e=>{eu=e},Yb=()=>eu;let ou=0;function qb(e={}){const t=Ye(e.onWarn)?e.onWarn:Sm,o=pe(e.version)?e.version:Ub,n=pe(e.locale)||Ye(e.locale)?e.locale:_n,a=Ye(n)?_n:n,r=Xe(e.fallbackLocale)||Ae(e.fallbackLocale)||pe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,s=Ae(e.messages)?e.messages:ms(a),i=Ae(e.datetimeFormats)?e.datetimeFormats:ms(a),l=Ae(e.numberFormats)?e.numberFormats:ms(a),c=kt(Ue(),e.modifiers,Kb()),u=e.pluralRules||Ue(),p=Ye(e.missing)?e.missing:null,g=Pe(e.missingWarn)||No(e.missingWarn)?e.missingWarn:!0,k=Pe(e.fallbackWarn)||No(e.fallbackWarn)?e.fallbackWarn:!0,w=!!e.fallbackFormat,_=!!e.unresolving,d=Ye(e.postTranslation)?e.postTranslation:null,h=Ae(e.processor)?e.processor:null,y=Pe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter,b=Ye(e.messageCompiler)?e.messageCompiler:qc,x=Ye(e.messageResolver)?e.messageResolver:Zc||xb,A=Ye(e.localeFallbacker)?e.localeFallbacker:Xc||Bb,L=Ie(e.fallbackContext)?e.fallbackContext:void 0,M=e,P=Ie(M.__datetimeFormatters)?M.__datetimeFormatters:new Map,I=Ie(M.__numberFormatters)?M.__numberFormatters:new Map,B=Ie(M.__meta)?M.__meta:{};ou++;const H={version:o,cid:ou,locale:n,fallbackLocale:r,messages:s,modifiers:c,pluralRules:u,missing:p,missingWarn:g,fallbackWarn:k,fallbackFormat:w,unresolving:_,postTranslation:d,processor:h,warnHtmlMessage:y,escapeParameter:v,messageCompiler:b,messageResolver:x,localeFallbacker:A,fallbackContext:L,onWarn:t,__meta:B};return H.datetimeFormats=i,H.numberFormats=l,H.__datetimeFormatters=P,H.__numberFormatters=I,__INTLIFY_PROD_DEVTOOLS__&&Ib(H,o,B),H}const ms=e=>({[e]:Ue()});function bs(e,t,o,n,a){const{missing:r,onWarn:s}=e;if(r!==null){const i=r(e,o,t,a);return pe(i)?i:t}else return t}function ta(e,t,o){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,o,t)}function Jb(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Zb(e,t){const o=t.indexOf(e);if(o===-1)return!1;for(let n=o+1;nXb(o,e)}function Xb(e,t){const o=db(t);if(o==null)throw Qn(0);if(gs(o)===1){const r=pb(o);return e.plural(r.reduce((s,i)=>[...s,nu(e,i)],[]))}else return nu(e,o)}function nu(e,t){const o=gb(t);if(o!=null)return e.type==="text"?o:e.normalize([o]);{const n=fb(t).reduce((a,r)=>[...a,_s(e,r)],[]);return e.normalize(n)}}function _s(e,t){const o=gs(t);switch(o){case 3:return or(t,o);case 9:return or(t,o);case 4:{const n=t;if(Ht(n,"k")&&n.k)return e.interpolate(e.named(n.k));if(Ht(n,"key")&&n.key)return e.interpolate(e.named(n.key));throw Qn(o)}case 5:{const n=t;if(Ht(n,"i")&&st(n.i))return e.interpolate(e.list(n.i));if(Ht(n,"index")&&st(n.index))return e.interpolate(e.list(n.index));throw Qn(o)}case 6:{const n=t,a=hb(n),r=mb(n);return e.linked(_s(e,r),a?_s(e,a):void 0,e.type)}case 7:return or(t,o);case 8:return or(t,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const au=e=>e;let vn=Ue();function ru(e,t={}){let o=!1;const n=t.onError||jm;return t.onError=a=>{o=!0,n(a)},{...cb(e,t),detectError:o}}const Qb=(e,t)=>{if(!pe(e))throw io(Wt.NOT_SUPPORT_NON_STRING_MESSAGE);{Pe(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||au)(e),a=vn[n];if(a)return a;const{code:r,detectError:s}=ru(e,t),i=new Function(`return ${r}`)();return s?i:vn[n]=i}};function ey(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&pe(e)){Pe(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||au)(e),a=vn[n];if(a)return a;const{ast:r,detectError:s}=ru(e,{...t,location:!1,jit:!0}),i=ys(r);return s?i:vn[n]=i}else{const o=e.cacheKey;if(o){const n=vn[o];return n||(vn[o]=ys(e))}else return ys(e)}}const su=()=>"",Gt=e=>Ye(e);function iu(e,...t){const{fallbackFormat:o,postTranslation:n,unresolving:a,messageCompiler:r,fallbackLocale:s,messages:i}=e,[l,c]=vs(...t),u=Pe(c.missingWarn)?c.missingWarn:e.missingWarn,p=Pe(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,g=Pe(c.escapeParameter)?c.escapeParameter:e.escapeParameter,k=!!c.resolvedMessage,w=pe(c.default)||Pe(c.default)?Pe(c.default)?r?l:()=>l:c.default:o?r?l:()=>l:"",_=o||w!=="",d=fs(e,c);g&&ty(c);let[h,y,v]=k?[l,d,i[d]||Ue()]:lu(e,l,d,s,p,u),b=h,x=l;if(!k&&!(pe(b)||so(b)||Gt(b))&&_&&(b=w,x=b),!k&&(!(pe(b)||so(b)||Gt(b))||!pe(y)))return a?nr:l;let A=!1;const L=()=>{A=!0},M=Gt(b)?b:cu(e,l,y,b,x,L);if(A)return b;const P=ay(e,y,v,c),I=Mb(P),B=oy(e,M,I);let H=n?n(B,l):B;if(g&&pe(H)&&(H=Em(H)),__INTLIFY_PROD_DEVTOOLS__){const O={timestamp:Date.now(),key:pe(l)?l:Gt(b)?b.key:"",locale:y||(Gt(b)?b.locale:""),format:pe(b)?b:Gt(b)?b.source:"",message:H};O.meta=kt({},e.__meta,Wb()||{}),Rb(O)}return H}function ty(e){Xe(e.list)?e.list=e.list.map(t=>pe(t)?kc(t):t):Ie(e.named)&&Object.keys(e.named).forEach(t=>{pe(e.named[t])&&(e.named[t]=kc(e.named[t]))})}function lu(e,t,o,n,a,r){const{messages:s,onWarn:i,messageResolver:l,localeFallbacker:c}=e,u=c(e,n,o);let p=Ue(),g,k=null;const w="translate";for(let _=0;_n;return c.locale=o,c.key=t,c}const l=s(n,ny(e,o,a,n,i,r));return l.locale=o,l.key=t,l.source=n,l}function oy(e,t,o){return t(o)}function vs(...e){const[t,o,n]=e,a=Ue();if(!pe(t)&&!st(t)&&!Gt(t)&&!so(t))throw io(Wt.INVALID_ARGUMENT);const r=st(t)?String(t):(Gt(t),t);return st(o)?a.plural=o:pe(o)?a.default=o:Ae(o)&&!Za(o)?a.named=o:Xe(o)&&(a.list=o),st(n)?a.plural=n:pe(n)?a.default=n:Ae(n)&&kt(a,n),[r,a]}function ny(e,t,o,n,a,r){return{locale:t,key:o,warnHtmlMessage:a,onError:s=>{throw r&&r(s),s},onCacheKey:s=>Am(t,o,s)}}function ay(e,t,o,n){const{modifiers:a,pluralRules:r,messageResolver:s,fallbackLocale:i,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,g={locale:t,modifiers:a,pluralRules:r,messages:k=>{let w=s(o,k);if(w==null&&u){const[,,_]=lu(u,k,t,i,l,c);w=s(_,k)}if(pe(w)||so(w)){let _=!1;const h=cu(e,k,t,w,k,()=>{_=!0});return _?su:h}else return Gt(w)?w:su}};return e.processor&&(g.processor=e.processor),n.list&&(g.list=n.list),n.named&&(g.named=n.named),st(n.plural)&&(g.pluralIndex=n.plural),g}function uu(e,...t){const{datetimeFormats:o,unresolving:n,fallbackLocale:a,onWarn:r,localeFallbacker:s}=e,{__datetimeFormatters:i}=e,[l,c,u,p]=ks(...t),g=Pe(u.missingWarn)?u.missingWarn:e.missingWarn;Pe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const k=!!u.part,w=fs(e,u),_=s(e,a,w);if(!pe(l)||l==="")return new Intl.DateTimeFormat(w,p).format(c);let d={},h,y=null;const v="datetime format";for(let A=0;A<_.length&&(h=_[A],d=o[h]||{},y=d[l],!Ae(y));A++)bs(e,l,h,g,v);if(!Ae(y)||!pe(h))return n?nr:l;let b=`${h}__${l}`;Za(p)||(b=`${b}__${JSON.stringify(p)}`);let x=i.get(b);return x||(x=new Intl.DateTimeFormat(h,kt({},y,p)),i.set(b,x)),k?x.formatToParts(c):x.format(c)}const du=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function ks(...e){const[t,o,n,a]=e,r=Ue();let s=Ue(),i;if(pe(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw io(Wt.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();i=new Date(c);try{i.toISOString()}catch{throw io(Wt.INVALID_ISO_DATE_ARGUMENT)}}else if(Lm(t)){if(isNaN(t.getTime()))throw io(Wt.INVALID_DATE_ARGUMENT);i=t}else if(st(t))i=t;else throw io(Wt.INVALID_ARGUMENT);return pe(o)?r.key=o:Ae(o)&&Object.keys(o).forEach(l=>{du.includes(l)?s[l]=o[l]:r[l]=o[l]}),pe(n)?r.locale=n:Ae(n)&&(s=n),Ae(a)&&(s=a),[r.key||"",i,r,s]}function pu(e,t,o){const n=e;for(const a in o){const r=`${t}__${a}`;n.__datetimeFormatters.has(r)&&n.__datetimeFormatters.delete(r)}}function gu(e,...t){const{numberFormats:o,unresolving:n,fallbackLocale:a,onWarn:r,localeFallbacker:s}=e,{__numberFormatters:i}=e,[l,c,u,p]=ws(...t),g=Pe(u.missingWarn)?u.missingWarn:e.missingWarn;Pe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const k=!!u.part,w=fs(e,u),_=s(e,a,w);if(!pe(l)||l==="")return new Intl.NumberFormat(w,p).format(c);let d={},h,y=null;const v="number format";for(let A=0;A<_.length&&(h=_[A],d=o[h]||{},y=d[l],!Ae(y));A++)bs(e,l,h,g,v);if(!Ae(y)||!pe(h))return n?nr:l;let b=`${h}__${l}`;Za(p)||(b=`${b}__${JSON.stringify(p)}`);let x=i.get(b);return x||(x=new Intl.NumberFormat(h,kt({},y,p)),i.set(b,x)),k?x.formatToParts(c):x.format(c)}const fu=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function ws(...e){const[t,o,n,a]=e,r=Ue();let s=Ue();if(!st(t))throw io(Wt.INVALID_ARGUMENT);const i=t;return pe(o)?r.key=o:Ae(o)&&Object.keys(o).forEach(l=>{fu.includes(l)?s[l]=o[l]:r[l]=o[l]}),pe(n)?r.locale=n:Ae(n)&&(s=n),Ae(a)&&(s=a),[r.key||"",i,r,s]}function hu(e,t,o){const n=e;for(const a in o){const r=`${t}__${a}`;n.__numberFormatters.has(r)&&n.__numberFormatters.delete(r)}}ub();/*! + */function fb(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(wo().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(wo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(wo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function so(e){return Re(e)&&hs(e)===0&&(Ht(e,"b")||Ht(e,"body"))}const Rc=["b","body"];function hb(e){return Io(e,Rc)}const Fc=["c","cases"];function mb(e){return Io(e,Fc,[])}const Oc=["s","static"];function bb(e){return Io(e,Oc)}const Dc=["i","items"];function yb(e){return Io(e,Dc,[])}const Bc=["t","type"];function hs(e){return Io(e,Bc)}const jc=["v","value"];function nr(e,t){const o=Io(e,jc);if(o!=null)return o;throw Qn(t)}const Gc=["m","modifier"];function _b(e){return Io(e,Gc)}const Uc=["k","key"];function vb(e){const t=Io(e,Uc);if(t)return t;throw Qn(6)}function Io(e,t,o){for(let n=0;n{s===void 0?s=i:s+=i},g[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},g[2]=()=>{g[0](),a++},g[3]=()=>{if(a>0)a--,n=4,g[0]();else{if(a=0,s===void 0||(s=Ab(s),s===!1))return!1;g[1]()}};function k(){const x=e[o+1];if(n===5&&x==="'"||n===6&&x==='"')return o++,i="\\"+x,g[0](),!0}for(;n!==null;)if(o++,r=e[o],!(r==="\\"&&k())){if(l=Sb(r),d=Ro[n],u=d[l]||d.l||8,u===8||(n=u[0],u[1]!==void 0&&(c=g[u[1]],c&&(i=r,c()===!1))))return;if(n===7)return t}}const zc=new Map;function Lb(e,t){return Re(e)?e[t]:null}function Eb(e,t){if(!Re(e))return null;let o=zc.get(t);if(o||(o=$b(t),o&&zc.set(t,o)),!o)return null;const n=o.length;let a=e,r=0;for(;re,Tb=e=>"",Pb="text",Mb=e=>e.length===0?"":Om(e),Nb=Fm;function Hc(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Ib(e){const t=st(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(st(e.named.count)||st(e.named.n))?st(e.named.count)?e.named.count:st(e.named.n)?e.named.n:t:t}function Rb(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Fb(e={}){const t=e.locale,o=Ib(e),n=Re(e.pluralRules)&&ge(t)&&qe(e.pluralRules[t])?e.pluralRules[t]:Hc,a=Re(e.pluralRules)&&ge(t)&&qe(e.pluralRules[t])?Hc:void 0,r=h=>h[n(o,h.length,a)],s=e.list||[],i=h=>s[h],l=e.named||Ke();st(e.pluralIndex)&&Rb(o,l);const u=h=>l[h];function c(h){const v=qe(e.messages)?e.messages(h):Re(e.messages)?e.messages[h]:!1;return v||(e.parent?e.parent.message(h):Tb)}const d=h=>e.modifiers?e.modifiers[h]:Cb,g=$e(e.processor)&&qe(e.processor.normalize)?e.processor.normalize:Mb,k=$e(e.processor)&&qe(e.processor.interpolate)?e.processor.interpolate:Nb,x=$e(e.processor)&&ge(e.processor.type)?e.processor.type:Pb,p={list:i,named:u,plural:r,linked:(h,...v)=>{const[b,y]=v;let S="text",A="";v.length===1?Re(b)?(A=b.modifier||A,S=b.type||S):ge(b)&&(A=b||A):v.length===2&&(ge(b)&&(A=b||A),ge(y)&&(S=y||S));const L=c(h)(p),E=S==="vnode"&&Xe(L)&&A?L[0]:L;return A?d(A)(E,S):E},message:c,type:x,interpolate:k,normalize:g,values:wt(Ke(),s,l)};return p}let ea=null;function Ob(e){ea=e}function Db(e,t,o){ea&&ea.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:o})}const Bb=jb("function:translate");function jb(e){return t=>ea&&ea.emit(e,t)}const Gb=gs.__EXTEND_POINT__,Wo=Qa(Gb),Ub={FALLBACK_TO_TRANSLATE:Wo(),CANNOT_FORMAT_NUMBER:Wo(),FALLBACK_TO_NUMBER_FORMAT:Wo(),CANNOT_FORMAT_DATE:Wo(),FALLBACK_TO_DATE_FORMAT:Wo(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Wo(),__EXTEND_POINT__:Wo()},Vc=we.__EXTEND_POINT__,Yo=Qa(Vc),Wt={INVALID_ARGUMENT:Vc,INVALID_DATE_ARGUMENT:Yo(),INVALID_ISO_DATE_ARGUMENT:Yo(),NOT_SUPPORT_NON_STRING_MESSAGE:Yo(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Yo(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Yo(),NOT_SUPPORT_LOCALE_TYPE:Yo(),__EXTEND_POINT__:Yo()};function io(e){return mn(e,null,void 0)}function ms(e,t){return t.locale!=null?Wc(t.locale):Wc(e.locale)}let bs;function Wc(e){if(ge(e))return e;if(qe(e)){if(e.resolvedOnce&&bs!=null)return bs;if(e.constructor.name==="Function"){const t=e();if(Rm(t))throw io(Wt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return bs=t}else throw io(Wt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw io(Wt.NOT_SUPPORT_LOCALE_TYPE)}function Kb(e,t,o){return[...new Set([o,...Xe(t)?t:Re(t)?Object.keys(t):ge(t)?[t]:[o]])]}function Yc(e,t,o){const n=ge(o)?o:_n,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let r=a.__localeChainCache.get(n);if(!r){r=[];let s=[o];for(;Xe(s);)s=qc(r,s,t);const i=Xe(t)||!$e(t)?t:t.default?t.default:null;s=ge(i)?[i]:i,Xe(s)&&qc(r,s,!1),a.__localeChainCache.set(n,r)}return r}function qc(e,t,o){let n=!0;for(let a=0;a`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Wb(){return{upper:(e,t)=>t==="text"&&ge(e)?e.toUpperCase():t==="vnode"&&Re(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ge(e)?e.toLowerCase():t==="vnode"&&Re(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ge(e)?Zc(e):t==="vnode"&&Re(e)&&"__v_isVNode"in e?Zc(e.children):e}}let Xc;function Qc(e){Xc=e}let eu;function Yb(e){eu=e}let tu;function qb(e){tu=e}let ou=null;const Jb=e=>{ou=e},Zb=()=>ou;let nu=null;const au=e=>{nu=e},Xb=()=>nu;let ru=0;function Qb(e={}){const t=qe(e.onWarn)?e.onWarn:Em,o=ge(e.version)?e.version:Vb,n=ge(e.locale)||qe(e.locale)?e.locale:_n,a=qe(n)?_n:n,r=Xe(e.fallbackLocale)||$e(e.fallbackLocale)||ge(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,s=$e(e.messages)?e.messages:ys(a),i=$e(e.datetimeFormats)?e.datetimeFormats:ys(a),l=$e(e.numberFormats)?e.numberFormats:ys(a),u=wt(Ke(),e.modifiers,Wb()),c=e.pluralRules||Ke(),d=qe(e.missing)?e.missing:null,g=Pe(e.missingWarn)||Mo(e.missingWarn)?e.missingWarn:!0,k=Pe(e.fallbackWarn)||Mo(e.fallbackWarn)?e.fallbackWarn:!0,x=!!e.fallbackFormat,_=!!e.unresolving,p=qe(e.postTranslation)?e.postTranslation:null,h=$e(e.processor)?e.processor:null,v=Pe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter,y=qe(e.messageCompiler)?e.messageCompiler:Xc,S=qe(e.messageResolver)?e.messageResolver:eu||Lb,A=qe(e.localeFallbacker)?e.localeFallbacker:tu||Kb,L=Re(e.fallbackContext)?e.fallbackContext:void 0,E=e,P=Re(E.__datetimeFormatters)?E.__datetimeFormatters:new Map,N=Re(E.__numberFormatters)?E.__numberFormatters:new Map,j=Re(E.__meta)?E.__meta:{};ru++;const V={version:o,cid:ru,locale:n,fallbackLocale:r,messages:s,modifiers:u,pluralRules:c,missing:d,missingWarn:g,fallbackWarn:k,fallbackFormat:x,unresolving:_,postTranslation:p,processor:h,warnHtmlMessage:v,escapeParameter:b,messageCompiler:y,messageResolver:S,localeFallbacker:A,fallbackContext:L,onWarn:t,__meta:j};return V.datetimeFormats=i,V.numberFormats=l,V.__datetimeFormatters=P,V.__numberFormatters=N,__INTLIFY_PROD_DEVTOOLS__&&Db(V,o,j),V}const ys=e=>({[e]:Ke()});function _s(e,t,o,n,a){const{missing:r,onWarn:s}=e;if(r!==null){const i=r(e,o,t,a);return ge(i)?i:t}else return t}function ta(e,t,o){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,o,t)}function ey(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function ty(e,t){const o=t.indexOf(e);if(o===-1)return!1;for(let n=o+1;noy(o,e)}function oy(e,t){const o=hb(t);if(o==null)throw Qn(0);if(hs(o)===1){const r=mb(o);return e.plural(r.reduce((s,i)=>[...s,su(e,i)],[]))}else return su(e,o)}function su(e,t){const o=bb(t);if(o!=null)return e.type==="text"?o:e.normalize([o]);{const n=yb(t).reduce((a,r)=>[...a,ks(e,r)],[]);return e.normalize(n)}}function ks(e,t){const o=hs(t);switch(o){case 3:return nr(t,o);case 9:return nr(t,o);case 4:{const n=t;if(Ht(n,"k")&&n.k)return e.interpolate(e.named(n.k));if(Ht(n,"key")&&n.key)return e.interpolate(e.named(n.key));throw Qn(o)}case 5:{const n=t;if(Ht(n,"i")&&st(n.i))return e.interpolate(e.list(n.i));if(Ht(n,"index")&&st(n.index))return e.interpolate(e.list(n.index));throw Qn(o)}case 6:{const n=t,a=_b(n),r=vb(n);return e.linked(ks(e,r),a?ks(e,a):void 0,e.type)}case 7:return nr(t,o);case 8:return nr(t,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const iu=e=>e;let vn=Ke();function lu(e,t={}){let o=!1;const n=t.onError||zm;return t.onError=a=>{o=!0,n(a)},{...gb(e,t),detectError:o}}const ny=(e,t)=>{if(!ge(e))throw io(Wt.NOT_SUPPORT_NON_STRING_MESSAGE);{Pe(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||iu)(e),a=vn[n];if(a)return a;const{code:r,detectError:s}=lu(e,t),i=new Function(`return ${r}`)();return s?i:vn[n]=i}};function ay(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&ge(e)){Pe(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||iu)(e),a=vn[n];if(a)return a;const{ast:r,detectError:s}=lu(e,{...t,location:!1,jit:!0}),i=vs(r);return s?i:vn[n]=i}else{const o=e.cacheKey;if(o){const n=vn[o];return n||(vn[o]=vs(e))}else return vs(e)}}const cu=()=>"",Gt=e=>qe(e);function uu(e,...t){const{fallbackFormat:o,postTranslation:n,unresolving:a,messageCompiler:r,fallbackLocale:s,messages:i}=e,[l,u]=ws(...t),c=Pe(u.missingWarn)?u.missingWarn:e.missingWarn,d=Pe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,g=Pe(u.escapeParameter)?u.escapeParameter:e.escapeParameter,k=!!u.resolvedMessage,x=ge(u.default)||Pe(u.default)?Pe(u.default)?r?l:()=>l:u.default:o?r?l:()=>l:"",_=o||x!=="",p=ms(e,u);g&&ry(u);let[h,v,b]=k?[l,p,i[p]||Ke()]:du(e,l,p,s,d,c),y=h,S=l;if(!k&&!(ge(y)||so(y)||Gt(y))&&_&&(y=x,S=y),!k&&(!(ge(y)||so(y)||Gt(y))||!ge(v)))return a?ar:l;let A=!1;const L=()=>{A=!0},E=Gt(y)?y:pu(e,l,v,y,S,L);if(A)return y;const P=ly(e,v,b,u),N=Fb(P),j=sy(e,E,N);let V=n?n(j,l):j;if(g&&ge(V)&&(V=Nm(V)),__INTLIFY_PROD_DEVTOOLS__){const O={timestamp:Date.now(),key:ge(l)?l:Gt(y)?y.key:"",locale:v||(Gt(y)?y.locale:""),format:ge(y)?y:Gt(y)?y.source:"",message:V};O.meta=wt({},e.__meta,Zb()||{}),Bb(O)}return V}function ry(e){Xe(e.list)?e.list=e.list.map(t=>ge(t)?Sc(t):t):Re(e.named)&&Object.keys(e.named).forEach(t=>{ge(e.named[t])&&(e.named[t]=Sc(e.named[t]))})}function du(e,t,o,n,a,r){const{messages:s,onWarn:i,messageResolver:l,localeFallbacker:u}=e,c=u(e,n,o);let d=Ke(),g,k=null;const x="translate";for(let _=0;_n;return u.locale=o,u.key=t,u}const l=s(n,iy(e,o,a,n,i,r));return l.locale=o,l.key=t,l.source=n,l}function sy(e,t,o){return t(o)}function ws(...e){const[t,o,n]=e,a=Ke();if(!ge(t)&&!st(t)&&!Gt(t)&&!so(t))throw io(Wt.INVALID_ARGUMENT);const r=st(t)?String(t):(Gt(t),t);return st(o)?a.plural=o:ge(o)?a.default=o:$e(o)&&!Xa(o)?a.named=o:Xe(o)&&(a.list=o),st(n)?a.plural=n:ge(n)?a.default=n:$e(n)&&wt(a,n),[r,a]}function iy(e,t,o,n,a,r){return{locale:t,key:o,warnHtmlMessage:a,onError:s=>{throw r&&r(s),s},onCacheKey:s=>Cm(t,o,s)}}function ly(e,t,o,n){const{modifiers:a,pluralRules:r,messageResolver:s,fallbackLocale:i,fallbackWarn:l,missingWarn:u,fallbackContext:c}=e,g={locale:t,modifiers:a,pluralRules:r,messages:k=>{let x=s(o,k);if(x==null&&c){const[,,_]=du(c,k,t,i,l,u);x=s(_,k)}if(ge(x)||so(x)){let _=!1;const h=pu(e,k,t,x,k,()=>{_=!0});return _?cu:h}else return Gt(x)?x:cu}};return e.processor&&(g.processor=e.processor),n.list&&(g.list=n.list),n.named&&(g.named=n.named),st(n.plural)&&(g.pluralIndex=n.plural),g}function gu(e,...t){const{datetimeFormats:o,unresolving:n,fallbackLocale:a,onWarn:r,localeFallbacker:s}=e,{__datetimeFormatters:i}=e,[l,u,c,d]=xs(...t),g=Pe(c.missingWarn)?c.missingWarn:e.missingWarn;Pe(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const k=!!c.part,x=ms(e,c),_=s(e,a,x);if(!ge(l)||l==="")return new Intl.DateTimeFormat(x,d).format(u);let p={},h,v=null;const b="datetime format";for(let A=0;A<_.length&&(h=_[A],p=o[h]||{},v=p[l],!$e(v));A++)_s(e,l,h,g,b);if(!$e(v)||!ge(h))return n?ar:l;let y=`${h}__${l}`;Xa(d)||(y=`${y}__${JSON.stringify(d)}`);let S=i.get(y);return S||(S=new Intl.DateTimeFormat(h,wt({},v,d)),i.set(y,S)),k?S.formatToParts(u):S.format(u)}const fu=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function xs(...e){const[t,o,n,a]=e,r=Ke();let s=Ke(),i;if(ge(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw io(Wt.INVALID_ISO_DATE_ARGUMENT);const u=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();i=new Date(u);try{i.toISOString()}catch{throw io(Wt.INVALID_ISO_DATE_ARGUMENT)}}else if(Pm(t)){if(isNaN(t.getTime()))throw io(Wt.INVALID_DATE_ARGUMENT);i=t}else if(st(t))i=t;else throw io(Wt.INVALID_ARGUMENT);return ge(o)?r.key=o:$e(o)&&Object.keys(o).forEach(l=>{fu.includes(l)?s[l]=o[l]:r[l]=o[l]}),ge(n)?r.locale=n:$e(n)&&(s=n),$e(a)&&(s=a),[r.key||"",i,r,s]}function hu(e,t,o){const n=e;for(const a in o){const r=`${t}__${a}`;n.__datetimeFormatters.has(r)&&n.__datetimeFormatters.delete(r)}}function mu(e,...t){const{numberFormats:o,unresolving:n,fallbackLocale:a,onWarn:r,localeFallbacker:s}=e,{__numberFormatters:i}=e,[l,u,c,d]=Ss(...t),g=Pe(c.missingWarn)?c.missingWarn:e.missingWarn;Pe(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const k=!!c.part,x=ms(e,c),_=s(e,a,x);if(!ge(l)||l==="")return new Intl.NumberFormat(x,d).format(u);let p={},h,v=null;const b="number format";for(let A=0;A<_.length&&(h=_[A],p=o[h]||{},v=p[l],!$e(v));A++)_s(e,l,h,g,b);if(!$e(v)||!ge(h))return n?ar:l;let y=`${h}__${l}`;Xa(d)||(y=`${y}__${JSON.stringify(d)}`);let S=i.get(y);return S||(S=new Intl.NumberFormat(h,wt({},v,d)),i.set(y,S)),k?S.formatToParts(u):S.format(u)}const bu=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ss(...e){const[t,o,n,a]=e,r=Ke();let s=Ke();if(!st(t))throw io(Wt.INVALID_ARGUMENT);const i=t;return ge(o)?r.key=o:$e(o)&&Object.keys(o).forEach(l=>{bu.includes(l)?s[l]=o[l]:r[l]=o[l]}),ge(n)?r.locale=n:$e(n)&&(s=n),$e(a)&&(s=a),[r.key||"",i,r,s]}function yu(e,t,o){const n=e;for(const a in o){const r=`${t}__${a}`;n.__numberFormatters.has(r)&&n.__numberFormatters.delete(r)}}fb();/*! * vue-i18n v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */const ry="9.14.5";function sy(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(xo().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(xo().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(xo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(xo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(xo().__INTLIFY_PROD_DEVTOOLS__=!1)}const iy=Db.__EXTEND_POINT__,Ao=Xa(iy);Ao(),Ao(),Ao(),Ao(),Ao(),Ao(),Ao(),Ao(),Ao();const mu=Wt.__EXTEND_POINT__,Mt=Xa(mu),pt={UNEXPECTED_RETURN_TYPE:mu,INVALID_ARGUMENT:Mt(),MUST_BE_CALL_SETUP_TOP:Mt(),NOT_INSTALLED:Mt(),NOT_AVAILABLE_IN_LEGACY_MODE:Mt(),REQUIRED_VALUE:Mt(),INVALID_VALUE:Mt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Mt(),NOT_INSTALLED_WITH_PROVIDE:Mt(),UNEXPECTED_ERROR:Mt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Mt(),BRIDGE_SUPPORT_VUE_2_ONLY:Mt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Mt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Mt(),__EXTEND_POINT__:Mt()};function ft(e,...t){return mn(e,null,void 0)}const xs=Mo("__translateVNode"),Ss=Mo("__datetimeParts"),As=Mo("__numberParts"),bu=Mo("__setPluralRules"),yu=Mo("__injectWithOption"),$s=Mo("__dispose");function oa(e){if(!Ie(e)||so(e))return e;for(const t in e)if(Ht(e,t))if(!t.includes("."))Ie(e[t])&&oa(e[t]);else{const o=t.split("."),n=o.length-1;let a=e,r=!1;for(let s=0;s{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(s[l]=s[l]||Ue(),er(c,s[l])):er(c,s)}else pe(i)&&er(JSON.parse(i),s)}),a==null&&r)for(const i in s)Ht(s,i)&&oa(s[i]);return s}function _u(e){return e.type}function vu(e,t,o){let n=Ie(t.messages)?t.messages:Ue();"__i18nGlobal"in o&&(n=ar(e.locale.value,{messages:n,__i18n:o.__i18nGlobal}));const a=Object.keys(n);a.length&&a.forEach(r=>{e.mergeLocaleMessage(r,n[r])});{if(Ie(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(Ie(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function ku(e){return Ge(Hn,null,e,0)}const wu="__INTLIFY_META__",xu=()=>[],ly=()=>!1;let Su=0;function Au(e){return(t,o,n,a)=>e(o,n,ko()||void 0,a)}const cy=()=>{const e=ko();let t=null;return e&&(t=_u(e)[wu])?{[wu]:t}:null};function Ls(e={},t){const{__root:o,__injectWithOption:n}=e,a=o===void 0,r=e.flatJson,s=Ja?ce:an,i=!!e.translateExistCompatible;let l=Pe(e.inheritLocale)?e.inheritLocale:!0;const c=s(o&&l?o.locale.value:pe(e.locale)?e.locale:_n),u=s(o&&l?o.fallbackLocale.value:pe(e.fallbackLocale)||Xe(e.fallbackLocale)||Ae(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),p=s(ar(c.value,e)),g=s(Ae(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),k=s(Ae(e.numberFormats)?e.numberFormats:{[c.value]:{}});let w=o?o.missingWarn:Pe(e.missingWarn)||No(e.missingWarn)?e.missingWarn:!0,_=o?o.fallbackWarn:Pe(e.fallbackWarn)||No(e.fallbackWarn)?e.fallbackWarn:!0,d=o?o.fallbackRoot:Pe(e.fallbackRoot)?e.fallbackRoot:!0,h=!!e.fallbackFormat,y=Ye(e.missing)?e.missing:null,v=Ye(e.missing)?Au(e.missing):null,b=Ye(e.postTranslation)?e.postTranslation:null,x=o?o.warnHtmlMessage:Pe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,A=!!e.escapeParameter;const L=o?o.modifiers:Ae(e.modifiers)?e.modifiers:{};let M=e.pluralRules||o&&o.pluralRules,P;P=(()=>{a&&tu(null);const U={version:ry,locale:c.value,fallbackLocale:u.value,messages:p.value,modifiers:L,pluralRules:M,missing:v===null?void 0:v,missingWarn:w,fallbackWarn:_,fallbackFormat:h,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:x,escapeParameter:A,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};U.datetimeFormats=g.value,U.numberFormats=k.value,U.__datetimeFormatters=Ae(P)?P.__datetimeFormatters:void 0,U.__numberFormatters=Ae(P)?P.__numberFormatters:void 0;const S=qb(U);return a&&tu(S),S})(),ta(P,c.value,u.value);function B(){return[c.value,u.value,p.value,g.value,k.value]}const H=Z({get:()=>c.value,set:U=>{c.value=U,P.locale=c.value}}),O=Z({get:()=>u.value,set:U=>{u.value=U,P.fallbackLocale=u.value,ta(P,c.value,U)}}),R=Z(()=>p.value),G=Z(()=>g.value),F=Z(()=>k.value);function C(){return Ye(b)?b:null}function re(U){b=U,P.postTranslation=U}function _e(){return y}function ne(U){U!==null&&(v=Au(U)),y=U,P.missing=v}const ge=(U,S,D,oe,le,he)=>{B();let $e;try{__INTLIFY_PROD_DEVTOOLS__,a||(P.fallbackContext=o?Yb():void 0),$e=U(P)}finally{__INTLIFY_PROD_DEVTOOLS__,a||(P.fallbackContext=void 0)}if(D!=="translate exists"&&st($e)&&$e===nr||D==="translate exists"&&!$e){const[ve,ct]=S();return o&&d?oe(o):le(ve)}else{if(he($e))return $e;throw ft(pt.UNEXPECTED_RETURN_TYPE)}};function fe(...U){return ge(S=>Reflect.apply(iu,null,[S,...U]),()=>vs(...U),"translate",S=>Reflect.apply(S.t,S,[...U]),S=>S,S=>pe(S))}function de(...U){const[S,D,oe]=U;if(oe&&!Ie(oe))throw ft(pt.INVALID_ARGUMENT);return fe(S,D,kt({resolvedMessage:!0},oe||{}))}function Ke(...U){return ge(S=>Reflect.apply(uu,null,[S,...U]),()=>ks(...U),"datetime format",S=>Reflect.apply(S.d,S,[...U]),()=>Wc,S=>pe(S))}function Fe(...U){return ge(S=>Reflect.apply(gu,null,[S,...U]),()=>ws(...U),"number format",S=>Reflect.apply(S.n,S,[...U]),()=>Wc,S=>pe(S))}function Qe(U){return U.map(S=>pe(S)||st(S)||Pe(S)?ku(String(S)):S)}const He={normalize:Qe,interpolate:U=>U,type:"vnode"};function it(...U){return ge(S=>{let D;const oe=S;try{oe.processor=He,D=Reflect.apply(iu,null,[oe,...U])}finally{oe.processor=null}return D},()=>vs(...U),"translate",S=>S[xs](...U),S=>[ku(S)],S=>Xe(S))}function qe(...U){return ge(S=>Reflect.apply(gu,null,[S,...U]),()=>ws(...U),"number format",S=>S[As](...U),xu,S=>pe(S)||Xe(S))}function $t(...U){return ge(S=>Reflect.apply(uu,null,[S,...U]),()=>ks(...U),"datetime format",S=>S[Ss](...U),xu,S=>pe(S)||Xe(S))}function $(U){M=U,P.pluralRules=M}function N(U,S){return ge(()=>{if(!U)return!1;const D=pe(S)?S:c.value,oe=Y(D),le=P.messageResolver(oe,U);return i?le!=null:so(le)||Gt(le)||pe(le)},()=>[U],"translate exists",D=>Reflect.apply(D.te,D,[U,S]),ly,D=>Pe(D))}function E(U){let S=null;const D=Hc(P,u.value,c.value);for(let oe=0;oe{l&&(c.value=U,P.locale=U,ta(P,c.value,u.value))}),tt(o.fallbackLocale,U=>{l&&(u.value=U,P.fallbackLocale=U,ta(P,c.value,u.value))}));const ae={id:Su,locale:H,fallbackLocale:O,get inheritLocale(){return l},set inheritLocale(U){l=U,U&&o&&(c.value=o.locale.value,u.value=o.fallbackLocale.value,ta(P,c.value,u.value))},get availableLocales(){return Object.keys(p.value).sort()},messages:R,get modifiers(){return L},get pluralRules(){return M||{}},get isGlobal(){return a},get missingWarn(){return w},set missingWarn(U){w=U,P.missingWarn=w},get fallbackWarn(){return _},set fallbackWarn(U){_=U,P.fallbackWarn=_},get fallbackRoot(){return d},set fallbackRoot(U){d=U},get fallbackFormat(){return h},set fallbackFormat(U){h=U,P.fallbackFormat=h},get warnHtmlMessage(){return x},set warnHtmlMessage(U){x=U,P.warnHtmlMessage=U},get escapeParameter(){return A},set escapeParameter(U){A=U,P.escapeParameter=U},t:fe,getLocaleMessage:Y,setLocaleMessage:X,mergeLocaleMessage:Q,getPostTranslationHandler:C,setPostTranslationHandler:re,getMissingHandler:_e,setMissingHandler:ne,[bu]:$};return ae.datetimeFormats=G,ae.numberFormats=F,ae.rt=de,ae.te=N,ae.tm=K,ae.d=Ke,ae.n=Fe,ae.getDateTimeFormat=q,ae.setDateTimeFormat=f,ae.mergeDateTimeFormat=m,ae.getNumberFormat=j,ae.setNumberFormat=V,ae.mergeNumberFormat=se,ae[yu]=n,ae[xs]=it,ae[Ss]=$t,ae[As]=qe,ae}function uy(e){const t=pe(e.locale)?e.locale:_n,o=pe(e.fallbackLocale)||Xe(e.fallbackLocale)||Ae(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=Ye(e.missing)?e.missing:void 0,a=Pe(e.silentTranslationWarn)||No(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=Pe(e.silentFallbackWarn)||No(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,s=Pe(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=Ae(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Ye(e.postTranslation)?e.postTranslation:void 0,p=pe(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,g=!!e.escapeParameterHtml,k=Pe(e.sync)?e.sync:!0;let w=e.messages;if(Ae(e.sharedMessages)){const A=e.sharedMessages;w=Object.keys(A).reduce((M,P)=>{const I=M[P]||(M[P]={});return kt(I,A[P]),M},w||{})}const{__i18n:_,__root:d,__injectWithOption:h}=e,y=e.datetimeFormats,v=e.numberFormats,b=e.flatJson,x=e.translateExistCompatible;return{locale:t,fallbackLocale:o,messages:w,flatJson:b,datetimeFormats:y,numberFormats:v,missing:n,missingWarn:a,fallbackWarn:r,fallbackRoot:s,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:p,escapeParameter:g,messageResolver:e.messageResolver,inheritLocale:k,translateExistCompatible:x,__i18n:_,__root:d,__injectWithOption:h}}function Cs(e={},t){{const o=Ls(uy(e)),{__extender:n}=e,a={id:o.id,get locale(){return o.locale.value},set locale(r){o.locale.value=r},get fallbackLocale(){return o.fallbackLocale.value},set fallbackLocale(r){o.fallbackLocale.value=r},get messages(){return o.messages.value},get datetimeFormats(){return o.datetimeFormats.value},get numberFormats(){return o.numberFormats.value},get availableLocales(){return o.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(r){},get missing(){return o.getMissingHandler()},set missing(r){o.setMissingHandler(r)},get silentTranslationWarn(){return Pe(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(r){o.missingWarn=Pe(r)?!r:r},get silentFallbackWarn(){return Pe(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(r){o.fallbackWarn=Pe(r)?!r:r},get modifiers(){return o.modifiers},get formatFallbackMessages(){return o.fallbackFormat},set formatFallbackMessages(r){o.fallbackFormat=r},get postTranslation(){return o.getPostTranslationHandler()},set postTranslation(r){o.setPostTranslationHandler(r)},get sync(){return o.inheritLocale},set sync(r){o.inheritLocale=r},get warnHtmlInMessage(){return o.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){o.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return o.escapeParameter},set escapeParameterHtml(r){o.escapeParameter=r},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(r){},get pluralizationRules(){return o.pluralRules||{}},__composer:o,t(...r){const[s,i,l]=r,c={};let u=null,p=null;if(!pe(s))throw ft(pt.INVALID_ARGUMENT);const g=s;return pe(i)?c.locale=i:Xe(i)?u=i:Ae(i)&&(p=i),Xe(l)?u=l:Ae(l)&&(p=l),Reflect.apply(o.t,o,[g,u||p||{},c])},rt(...r){return Reflect.apply(o.rt,o,[...r])},tc(...r){const[s,i,l]=r,c={plural:1};let u=null,p=null;if(!pe(s))throw ft(pt.INVALID_ARGUMENT);const g=s;return pe(i)?c.locale=i:st(i)?c.plural=i:Xe(i)?u=i:Ae(i)&&(p=i),pe(l)?c.locale=l:Xe(l)?u=l:Ae(l)&&(p=l),Reflect.apply(o.t,o,[g,u||p||{},c])},te(r,s){return o.te(r,s)},tm(r){return o.tm(r)},getLocaleMessage(r){return o.getLocaleMessage(r)},setLocaleMessage(r,s){o.setLocaleMessage(r,s)},mergeLocaleMessage(r,s){o.mergeLocaleMessage(r,s)},d(...r){return Reflect.apply(o.d,o,[...r])},getDateTimeFormat(r){return o.getDateTimeFormat(r)},setDateTimeFormat(r,s){o.setDateTimeFormat(r,s)},mergeDateTimeFormat(r,s){o.mergeDateTimeFormat(r,s)},n(...r){return Reflect.apply(o.n,o,[...r])},getNumberFormat(r){return o.getNumberFormat(r)},setNumberFormat(r,s){o.setNumberFormat(r,s)},mergeNumberFormat(r,s){o.mergeNumberFormat(r,s)},getChoiceIndex(r,s){return-1}};return a.__extender=n,a}}const Es={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function dy({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,a)=>[...n,...a.type===Ce?a.children:[a]],[]):t.reduce((o,n)=>{const a=e[n];return a&&(o[n]=a()),o},Ue())}function $u(e){return Ce}const Lu=Gn({name:"i18n-t",props:kt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>st(e)||!isNaN(e)}},Es),setup(e,t){const{slots:o,attrs:n}=t,a=e.i18n||wt({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(o).filter(p=>p!=="_"),s=Ue();e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=pe(e.plural)?+e.plural:e.plural);const i=dy(t,r),l=a[xs](e.keypath,i,s),c=kt(Ue(),n),u=pe(e.tag)||Ie(e.tag)?e.tag:$u();return Yl(u,c,l)}}});function py(e){return Xe(e)&&!pe(e[0])}function Cu(e,t,o,n){const{slots:a,attrs:r}=t;return()=>{const s={part:!0};let i=Ue();e.locale&&(s.locale=e.locale),pe(e.format)?s.key=e.format:Ie(e.format)&&(pe(e.format.key)&&(s.key=e.format.key),i=Object.keys(e.format).reduce((g,k)=>o.includes(k)?kt(Ue(),g,{[k]:e.format[k]}):g,Ue()));const l=n(e.value,s,i);let c=[s.key];Xe(l)?c=l.map((g,k)=>{const w=a[g.type],_=w?w({[g.type]:g.value,index:k,parts:l}):[g.value];return py(_)&&(_[0].key=`${g.type}-${k}`),_}):pe(l)&&(c=[l]);const u=kt(Ue(),r),p=pe(e.tag)||Ie(e.tag)?e.tag:$u();return Yl(p,u,c)}}const Eu=Gn({name:"i18n-n",props:kt({value:{type:Number,required:!0},format:{type:[String,Object]}},Es),setup(e,t){const o=e.i18n||wt({useScope:e.scope,__useComponent:!0});return Cu(e,t,fu,(...n)=>o[As](...n))}}),Tu=Gn({name:"i18n-d",props:kt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Es),setup(e,t){const o=e.i18n||wt({useScope:e.scope,__useComponent:!0});return Cu(e,t,du,(...n)=>o[Ss](...n))}});function gy(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 fy(e){const t=s=>{const{instance:i,modifiers:l,value:c}=s;if(!i||!i.$)throw ft(pt.UNEXPECTED_ERROR);const u=gy(e,i.$),p=Pu(c);return[Reflect.apply(u.t,u,[...Mu(p)]),u]};return{created:(s,i)=>{const[l,c]=t(i);Ja&&e.global===c&&(s.__i18nWatcher=tt(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),s.__composer=c,s.textContent=l},unmounted:s=>{Ja&&s.__i18nWatcher&&(s.__i18nWatcher(),s.__i18nWatcher=void 0,delete s.__i18nWatcher),s.__composer&&(s.__composer=void 0,delete s.__composer)},beforeUpdate:(s,{value:i})=>{if(s.__composer){const l=s.__composer,c=Pu(i);s.textContent=Reflect.apply(l.t,l,[...Mu(c)])}},getSSRProps:s=>{const[i]=t(s);return{textContent:i}}}}function Pu(e){if(pe(e))return{path:e};if(Ae(e)){if(!("path"in e))throw ft(pt.REQUIRED_VALUE,"path");return e}else throw ft(pt.INVALID_VALUE)}function Mu(e){const{path:t,locale:o,args:n,choice:a,plural:r}=e,s={},i=n||{};return pe(o)&&(s.locale=o),st(a)&&(s.plural=a),st(r)&&(s.plural=r),[t,i,s]}function hy(e,t,...o){const n=Ae(o[0])?o[0]:{},a=!!n.useI18nComponentName;(Pe(n.globalInstall)?n.globalInstall:!0)&&([a?"i18n":Lu.name,"I18nT"].forEach(s=>e.component(s,Lu)),[Eu.name,"I18nN"].forEach(s=>e.component(s,Eu)),[Tu.name,"I18nD"].forEach(s=>e.component(s,Tu))),e.directive("t",fy(t))}function my(e,t,o){return{beforeCreate(){const n=ko();if(!n)throw ft(pt.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const r=a.i18n;if(a.__i18n&&(r.__i18n=a.__i18n),r.__root=t,this===this.$root)this.$i18n=Nu(e,r);else{r.__injectWithOption=!0,r.__extender=o.__vueI18nExtend,this.$i18n=Cs(r);const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=Nu(e,a);else{this.$i18n=Cs({__i18n:a.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:t});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&vu(t,a,a),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,s)=>this.$i18n.te(r,s),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),o.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=ko();if(!n)throw ft(pt.UNEXPECTED_ERROR);const a=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),o.__deleteInstance(n),delete this.$i18n}}}function Nu(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[bu](t.pluralizationRules||e.pluralizationRules);const o=ar(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 by=Mo("global-vue-i18n");function yy(e={},t){const o=__VUE_I18N_LEGACY_API__&&Pe(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=Pe(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&o?!!e.allowComposition:!0,r=new Map,[s,i]=_y(e,o),l=Mo("");function c(g){return r.get(g)||null}function u(g,k){r.set(g,k)}function p(g){r.delete(g)}{const g={get mode(){return __VUE_I18N_LEGACY_API__&&o?"legacy":"composition"},get allowComposition(){return a},async install(k,...w){if(k.__VUE_I18N_SYMBOL__=l,k.provide(k.__VUE_I18N_SYMBOL__,g),Ae(w[0])){const h=w[0];g.__composerExtend=h.__composerExtend,g.__vueI18nExtend=h.__vueI18nExtend}let _=null;!o&&n&&(_=Cy(k,g.global)),__VUE_I18N_FULL_INSTALL__&&hy(k,g,...w),__VUE_I18N_LEGACY_API__&&o&&k.mixin(my(i,i.__composer,g));const d=k.unmount;k.unmount=()=>{_&&_(),g.dispose(),d()}},get global(){return i},dispose(){s.stop()},__instances:r,__getInstance:c,__setInstance:u,__deleteInstance:p};return g}}function wt(e={}){const t=ko();if(t==null)throw ft(pt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ft(pt.NOT_INSTALLED);const o=vy(t),n=wy(o),a=_u(t),r=ky(e,a);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!e.__useComponent){if(!o.allowComposition)throw ft(pt.NOT_AVAILABLE_IN_LEGACY_MODE);return $y(t,r,n,e)}if(r==="global")return vu(n,e,a),n;if(r==="parent"){let l=xy(o,t,e.__useComponent);return l==null&&(l=n),l}const s=o;let i=s.__getInstance(t);if(i==null){const l=kt({},e);"__i18n"in a&&(l.__i18n=a.__i18n),n&&(l.__root=n),i=Ls(l),s.__composerExtend&&(i[$s]=s.__composerExtend(i)),Ay(s,t,i),s.__setInstance(t,i)}return i}function _y(e,t,o){const n=wr();{const a=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Cs(e)):n.run(()=>Ls(e));if(a==null)throw ft(pt.UNEXPECTED_ERROR);return[n,a]}}function vy(e){{const t=Te(e.isCE?by:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ft(e.isCE?pt.NOT_INSTALLED_WITH_PROVIDE:pt.UNEXPECTED_ERROR);return t}}function ky(e,t){return Za(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function wy(e){return e.mode==="composition"?e.global:e.global.__composer}function xy(e,t,o=!1){let n=null;const a=t.root;let r=Sy(t,o);for(;r!=null;){const s=e;if(e.mode==="composition")n=s.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const i=s.__getInstance(r);i!=null&&(n=i.__composer,o&&n&&!n[yu]&&(n=null))}if(n!=null||a===r)break;r=r.parent}return n}function Sy(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Ay(e,t,o){to(()=>{},t),Da(()=>{const n=o;e.__deleteInstance(t);const a=n[$s];a&&(a(),delete n[$s])},t)}function $y(e,t,o,n={}){const a=t==="local",r=an(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw ft(pt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=Pe(n.inheritLocale)?n.inheritLocale:!pe(n.locale),i=ce(!a||s?o.locale.value:pe(n.locale)?n.locale:_n),l=ce(!a||s?o.fallbackLocale.value:pe(n.fallbackLocale)||Xe(n.fallbackLocale)||Ae(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i.value),c=ce(ar(i.value,n)),u=ce(Ae(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),p=ce(Ae(n.numberFormats)?n.numberFormats:{[i.value]:{}}),g=a?o.missingWarn:Pe(n.missingWarn)||No(n.missingWarn)?n.missingWarn:!0,k=a?o.fallbackWarn:Pe(n.fallbackWarn)||No(n.fallbackWarn)?n.fallbackWarn:!0,w=a?o.fallbackRoot:Pe(n.fallbackRoot)?n.fallbackRoot:!0,_=!!n.fallbackFormat,d=Ye(n.missing)?n.missing:null,h=Ye(n.postTranslation)?n.postTranslation:null,y=a?o.warnHtmlMessage:Pe(n.warnHtmlMessage)?n.warnHtmlMessage:!0,v=!!n.escapeParameter,b=a?o.modifiers:Ae(n.modifiers)?n.modifiers:{},x=n.pluralRules||a&&o.pluralRules;function A(){return[i.value,l.value,c.value,u.value,p.value]}const L=Z({get:()=>r.value?r.value.locale.value:i.value,set:E=>{r.value&&(r.value.locale.value=E),i.value=E}}),M=Z({get:()=>r.value?r.value.fallbackLocale.value:l.value,set:E=>{r.value&&(r.value.fallbackLocale.value=E),l.value=E}}),P=Z(()=>r.value?r.value.messages.value:c.value),I=Z(()=>u.value),B=Z(()=>p.value);function H(){return r.value?r.value.getPostTranslationHandler():h}function O(E){r.value&&r.value.setPostTranslationHandler(E)}function R(){return r.value?r.value.getMissingHandler():d}function G(E){r.value&&r.value.setMissingHandler(E)}function F(E){return A(),E()}function C(...E){return r.value?F(()=>Reflect.apply(r.value.t,null,[...E])):F(()=>"")}function re(...E){return r.value?Reflect.apply(r.value.rt,null,[...E]):""}function _e(...E){return r.value?F(()=>Reflect.apply(r.value.d,null,[...E])):F(()=>"")}function ne(...E){return r.value?F(()=>Reflect.apply(r.value.n,null,[...E])):F(()=>"")}function ge(E){return r.value?r.value.tm(E):{}}function fe(E,K){return r.value?r.value.te(E,K):!1}function de(E){return r.value?r.value.getLocaleMessage(E):{}}function Ke(E,K){r.value&&(r.value.setLocaleMessage(E,K),c.value[E]=K)}function Fe(E,K){r.value&&r.value.mergeLocaleMessage(E,K)}function Qe(E){return r.value?r.value.getDateTimeFormat(E):{}}function mt(E,K){r.value&&(r.value.setDateTimeFormat(E,K),u.value[E]=K)}function He(E,K){r.value&&r.value.mergeDateTimeFormat(E,K)}function it(E){return r.value?r.value.getNumberFormat(E):{}}function qe(E,K){r.value&&(r.value.setNumberFormat(E,K),p.value[E]=K)}function $t(E,K){r.value&&r.value.mergeNumberFormat(E,K)}const $={get id(){return r.value?r.value.id:-1},locale:L,fallbackLocale:M,messages:P,datetimeFormats:I,numberFormats:B,get inheritLocale(){return r.value?r.value.inheritLocale:s},set inheritLocale(E){r.value&&(r.value.inheritLocale=E)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(c.value)},get modifiers(){return r.value?r.value.modifiers:b},get pluralRules(){return r.value?r.value.pluralRules:x},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:g},set missingWarn(E){r.value&&(r.value.missingWarn=E)},get fallbackWarn(){return r.value?r.value.fallbackWarn:k},set fallbackWarn(E){r.value&&(r.value.missingWarn=E)},get fallbackRoot(){return r.value?r.value.fallbackRoot:w},set fallbackRoot(E){r.value&&(r.value.fallbackRoot=E)},get fallbackFormat(){return r.value?r.value.fallbackFormat:_},set fallbackFormat(E){r.value&&(r.value.fallbackFormat=E)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:y},set warnHtmlMessage(E){r.value&&(r.value.warnHtmlMessage=E)},get escapeParameter(){return r.value?r.value.escapeParameter:v},set escapeParameter(E){r.value&&(r.value.escapeParameter=E)},t:C,getPostTranslationHandler:H,setPostTranslationHandler:O,getMissingHandler:R,setMissingHandler:G,rt:re,d:_e,n:ne,tm:ge,te:fe,getLocaleMessage:de,setLocaleMessage:Ke,mergeLocaleMessage:Fe,getDateTimeFormat:Qe,setDateTimeFormat:mt,mergeDateTimeFormat:He,getNumberFormat:it,setNumberFormat:qe,mergeNumberFormat:$t};function N(E){E.locale.value=i.value,E.fallbackLocale.value=l.value,Object.keys(c.value).forEach(K=>{E.mergeLocaleMessage(K,c.value[K])}),Object.keys(u.value).forEach(K=>{E.mergeDateTimeFormat(K,u.value[K])}),Object.keys(p.value).forEach(K=>{E.mergeNumberFormat(K,p.value[K])}),E.escapeParameter=v,E.fallbackFormat=_,E.fallbackRoot=w,E.fallbackWarn=k,E.missingWarn=g,E.warnHtmlMessage=y}return dl(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw ft(pt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const E=r.value=e.proxy.$i18n.__composer;t==="global"?(i.value=E.locale.value,l.value=E.fallbackLocale.value,c.value=E.messages.value,u.value=E.datetimeFormats.value,p.value=E.numberFormats.value):a&&N(E)}),$}const Ly=["locale","fallbackLocale","availableLocales"],Iu=["t","rt","d","n","tm","te"];function Cy(e,t){const o=Object.create(null);return Ly.forEach(a=>{const r=Object.getOwnPropertyDescriptor(t,a);if(!r)throw ft(pt.UNEXPECTED_ERROR);const s=Ze(r.value)?{get(){return r.value.value},set(i){r.value.value=i}}:{get(){return r.get&&r.get()}};Object.defineProperty(o,a,s)}),e.config.globalProperties.$i18n=o,Iu.forEach(a=>{const r=Object.getOwnPropertyDescriptor(t,a);if(!r||!r.value)throw ft(pt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,r)}),()=>{delete e.config.globalProperties.$i18n,Iu.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}if(sy(),__INTLIFY_JIT_COMPILATION__?Jc(ey):Jc(Qb),zb(Sb),Hb(Hc),__INTLIFY_PROD_DEVTOOLS__){const e=xo();e.__INTLIFY__=!0,Nb(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Ey=Object.assign({"./locales/ar/aria.json":Rf,"./locales/ar/buttons.json":Ff,"./locales/ar/detail.json":Of,"./locales/ar/legend.json":Df,"./locales/ar/messages.json":Bf,"./locales/ar/options.json":jf,"./locales/ar/prayerLaps.json":Gf,"./locales/ar/search.json":Uf,"./locales/ar/tabs.json":Kf,"./locales/de/aria.json":zf,"./locales/de/buttons.json":Hf,"./locales/de/detail.json":Vf,"./locales/de/legend.json":Wf,"./locales/de/messages.json":Yf,"./locales/de/options.json":qf,"./locales/de/prayerLaps.json":Jf,"./locales/de/search.json":Zf,"./locales/de/tabs.json":Xf,"./locales/en/aria.json":Qf,"./locales/en/buttons.json":eh,"./locales/en/detail.json":th,"./locales/en/legend.json":oh,"./locales/en/messages.json":nh,"./locales/en/options.json":ah,"./locales/en/popup.json":rh,"./locales/en/prayerLaps.json":sh,"./locales/en/search.json":ih,"./locales/en/tabs.json":lh,"./locales/es/aria.json":ch,"./locales/es/buttons.json":uh,"./locales/es/detail.json":dh,"./locales/es/legend.json":ph,"./locales/es/messages.json":gh,"./locales/es/options.json":fh,"./locales/es/prayerLaps.json":hh,"./locales/es/search.json":mh,"./locales/es/tabs.json":bh,"./locales/fr/aria.json":yh,"./locales/fr/buttons.json":_h,"./locales/fr/detail.json":vh,"./locales/fr/legend.json":kh,"./locales/fr/messages.json":wh,"./locales/fr/options.json":xh,"./locales/fr/popup.json":Sh,"./locales/fr/prayerLaps.json":Ah,"./locales/fr/search.json":$h,"./locales/fr/tabs.json":Lh,"./locales/hi/aria.json":Ch,"./locales/hi/buttons.json":Eh,"./locales/hi/detail.json":Th,"./locales/hi/legend.json":Ph,"./locales/hi/messages.json":Mh,"./locales/hi/options.json":Nh,"./locales/hi/prayerLaps.json":Ih,"./locales/hi/search.json":Rh,"./locales/it/aria.json":Fh,"./locales/it/buttons.json":Oh,"./locales/it/detail.json":Dh,"./locales/it/legend.json":Bh,"./locales/it/messages.json":jh,"./locales/it/options.json":Gh,"./locales/it/prayerLaps.json":Uh,"./locales/it/search.json":Kh,"./locales/pt/aria.json":zh,"./locales/pt/buttons.json":Hh,"./locales/pt/detail.json":Vh,"./locales/pt/legend.json":Wh,"./locales/pt/messages.json":Yh,"./locales/pt/options.json":qh,"./locales/pt/prayerLaps.json":Jh,"./locales/pt/search.json":Zh,"./locales/pt/tabs.json":Xh,"./locales/ro/aria.json":Qh,"./locales/ro/buttons.json":em,"./locales/ro/detail.json":tm,"./locales/ro/legend.json":om,"./locales/ro/messages.json":nm,"./locales/ro/options.json":am,"./locales/ro/prayerLaps.json":rm,"./locales/ro/search.json":sm,"./locales/ru/aria.json":im,"./locales/ru/buttons.json":lm,"./locales/ru/detail.json":cm,"./locales/ru/legend.json":um,"./locales/ru/messages.json":dm,"./locales/ru/options.json":pm,"./locales/ru/prayerLaps.json":gm,"./locales/ru/search.json":fm,"./locales/ru/tabs.json":hm,"./locales/zh/aria.json":mm,"./locales/zh/buttons.json":bm,"./locales/zh/detail.json":ym,"./locales/zh/legend.json":_m,"./locales/zh/messages.json":vm,"./locales/zh/options.json":km,"./locales/zh/prayerLaps.json":wm,"./locales/zh/search.json":xm}),na={};for(const[e,t]of Object.entries(Ey)){const o=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!o)continue;const[,n,a]=o;na[n]??(na[n]={}),na[n][a]=t}const Ru=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"];function Ty(){var o;const t=(((o=document==null?void 0:document.documentElement)==null?void 0:o.lang)||"").split("-")[0].toLowerCase();return Ru.includes(t)?t:"en"}function Py(){return yy({legacy:!1,globalInjection:!0,locale:Ty(),fallbackLocale:"en",messages:na,missingWarn:!1,fallbackWarn:!1})}function ht(e,t){const o=t||My(e);to(()=>{var i;const n=ko();if(!n)return;const a=(i=n.proxy)==null?void 0:i.$el;if(!a)return;const r=a.getRootNode();if(!(r instanceof ShadowRoot)||r.querySelector(`style[data-shadow-styles="${o}"]`))return;const s=document.createElement("style");s.setAttribute("data-shadow-styles",o),s.textContent=e,r.appendChild(s)})}function My(e){let t=0;for(let o=0;o(t==null?void 0:t.theme)==="dark"),a=Z(()=>{var d;return((d=o==null?void 0:o.value)==null?void 0:d.pinHintLabel)||"Tap a coloured dot — someone still needs prayer"}),r=ce(!1),s=ce(null);let i=null,l=null,c=null,u=null,p=null;function g(){r.value=!1}function k(d,h){var v;let y=d==null?void 0:d.parentElement;for(let b=0;y&&b<12;b++,y=y.parentElement){if(y===h||(v=y.classList)!=null&&v.contains("profile-loader"))return null;let x="";try{x=getComputedStyle(y).position}catch{}if(x&&x!=="static"){const A=y.getBoundingClientRect();if(A.height>=120&&A.width>=160)return y}}return null}function w(){const d=s.value;if(d)try{d.style.removeProperty("--pin-hint-lift");const h=d.getBoundingClientRect();if(!h.height)return;const y=Math.round(h.bottom-window.innerHeight);y>0&&d.style.setProperty("--pin-hint-lift",y+8+"px")}catch{}}function _(d){const h=s.value;if(!h||!(d!=null&&d.querySelector))return;let y=0;try{const b=d.querySelector(".mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-attrib, .mapboxgl-ctrl-bottom-right .doxa-attribution, .doxa-attribution");if(b){const x=b.getBoundingClientRect(),A=h.parentElement,L=A?A.getBoundingClientRect():null;if(y=L?Math.max(x.height||0,L.bottom-x.top):x.height||0,p!==b&&typeof ResizeObserver<"u"){if(c)try{c.disconnect()}catch{}p=b,c=new ResizeObserver(()=>_(d)),c.observe(b)}}}catch{}const v=Math.min(Math.max(Math.ceil(y)||20,20),72);h.style.setProperty("--pin-hint-attrib-clear",v+"px"),w()}return to(()=>{var v,b,x;const d=ko(),h=(x=(b=(v=d==null?void 0:d.proxy)==null?void 0:v.$el)==null?void 0:b.getRootNode)==null?void 0:x.call(b);if(!h||typeof h.querySelector!="function")return;let y=0;i=setInterval(()=>{y++;const A=h.querySelector("canvas");A?(clearInterval(i),i=null,r.value=!0,bo(()=>{const L=k(A,h),M=s.value;if(L&&M&&M.parentElement!==L)try{L.appendChild(M),l=L}catch{}_(h),w();try{const P=s.value&&s.value.offsetParent||null;if(P&&typeof ResizeObserver<"u"){if(u)try{u.disconnect()}catch{}u=new ResizeObserver(()=>w()),u.observe(P)}}catch{}})):y>40&&(clearInterval(i),i=null)},300)}),oo(()=>{var d;if(i&&clearInterval(i),c){try{c.disconnect()}catch{}c=null}if(p=null,u){try{u.disconnect()}catch{}u=null}if(l&&((d=s.value)==null?void 0:d.parentElement)===l)try{l.removeChild(s.value)}catch{}l=null}),ht(` + */const cy="9.14.5";function uy(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(wo().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(wo().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(wo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(wo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(wo().__INTLIFY_PROD_DEVTOOLS__=!1)}const dy=Ub.__EXTEND_POINT__,So=Qa(dy);So(),So(),So(),So(),So(),So(),So(),So(),So();const _u=Wt.__EXTEND_POINT__,Mt=Qa(_u),dt={UNEXPECTED_RETURN_TYPE:_u,INVALID_ARGUMENT:Mt(),MUST_BE_CALL_SETUP_TOP:Mt(),NOT_INSTALLED:Mt(),NOT_AVAILABLE_IN_LEGACY_MODE:Mt(),REQUIRED_VALUE:Mt(),INVALID_VALUE:Mt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Mt(),NOT_INSTALLED_WITH_PROVIDE:Mt(),UNEXPECTED_ERROR:Mt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Mt(),BRIDGE_SUPPORT_VUE_2_ONLY:Mt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Mt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Mt(),__EXTEND_POINT__:Mt()};function ft(e,...t){return mn(e,null,void 0)}const As=Po("__translateVNode"),$s=Po("__datetimeParts"),Ls=Po("__numberParts"),vu=Po("__setPluralRules"),ku=Po("__injectWithOption"),Es=Po("__dispose");function oa(e){if(!Re(e)||so(e))return e;for(const t in e)if(Ht(e,t))if(!t.includes("."))Re(e[t])&&oa(e[t]);else{const o=t.split("."),n=o.length-1;let a=e,r=!1;for(let s=0;s{if("locale"in i&&"resource"in i){const{locale:l,resource:u}=i;l?(s[l]=s[l]||Ke(),tr(u,s[l])):tr(u,s)}else ge(i)&&tr(JSON.parse(i),s)}),a==null&&r)for(const i in s)Ht(s,i)&&oa(s[i]);return s}function wu(e){return e.type}function xu(e,t,o){let n=Re(t.messages)?t.messages:Ke();"__i18nGlobal"in o&&(n=rr(e.locale.value,{messages:n,__i18n:o.__i18nGlobal}));const a=Object.keys(n);a.length&&a.forEach(r=>{e.mergeLocaleMessage(r,n[r])});{if(Re(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(Re(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function Su(e){return Ue(Hn,null,e,0)}const Au="__INTLIFY_META__",$u=()=>[],py=()=>!1;let Lu=0;function Eu(e){return(t,o,n,a)=>e(o,n,vo()||void 0,a)}const gy=()=>{const e=vo();let t=null;return e&&(t=wu(e)[Au])?{[Au]:t}:null};function Cs(e={},t){const{__root:o,__injectWithOption:n}=e,a=o===void 0,r=e.flatJson,s=Za?ie:an,i=!!e.translateExistCompatible;let l=Pe(e.inheritLocale)?e.inheritLocale:!0;const u=s(o&&l?o.locale.value:ge(e.locale)?e.locale:_n),c=s(o&&l?o.fallbackLocale.value:ge(e.fallbackLocale)||Xe(e.fallbackLocale)||$e(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),d=s(rr(u.value,e)),g=s($e(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),k=s($e(e.numberFormats)?e.numberFormats:{[u.value]:{}});let x=o?o.missingWarn:Pe(e.missingWarn)||Mo(e.missingWarn)?e.missingWarn:!0,_=o?o.fallbackWarn:Pe(e.fallbackWarn)||Mo(e.fallbackWarn)?e.fallbackWarn:!0,p=o?o.fallbackRoot:Pe(e.fallbackRoot)?e.fallbackRoot:!0,h=!!e.fallbackFormat,v=qe(e.missing)?e.missing:null,b=qe(e.missing)?Eu(e.missing):null,y=qe(e.postTranslation)?e.postTranslation:null,S=o?o.warnHtmlMessage:Pe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,A=!!e.escapeParameter;const L=o?o.modifiers:$e(e.modifiers)?e.modifiers:{};let E=e.pluralRules||o&&o.pluralRules,P;P=(()=>{a&&au(null);const U={version:cy,locale:u.value,fallbackLocale:c.value,messages:d.value,modifiers:L,pluralRules:E,missing:b===null?void 0:b,missingWarn:x,fallbackWarn:_,fallbackFormat:h,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:S,escapeParameter:A,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};U.datetimeFormats=g.value,U.numberFormats=k.value,U.__datetimeFormatters=$e(P)?P.__datetimeFormatters:void 0,U.__numberFormatters=$e(P)?P.__numberFormatters:void 0;const w=Qb(U);return a&&au(w),w})(),ta(P,u.value,c.value);function j(){return[u.value,c.value,d.value,g.value,k.value]}const V=X({get:()=>u.value,set:U=>{u.value=U,P.locale=u.value}}),O=X({get:()=>c.value,set:U=>{c.value=U,P.fallbackLocale=c.value,ta(P,u.value,U)}}),I=X(()=>d.value),G=X(()=>g.value),R=X(()=>k.value);function K(){return qe(y)?y:null}function le(U){y=U,P.postTranslation=U}function _e(){return v}function F(U){U!==null&&(b=Eu(U)),v=U,P.missing=b}const de=(U,w,D,ne,ue,he)=>{j();let Ae;try{__INTLIFY_PROD_DEVTOOLS__,a||(P.fallbackContext=o?Xb():void 0),Ae=U(P)}finally{__INTLIFY_PROD_DEVTOOLS__,a||(P.fallbackContext=void 0)}if(D!=="translate exists"&&st(Ae)&&Ae===ar||D==="translate exists"&&!Ae){const[ve,pt]=w();return o&&p?ne(o):ue(ve)}else{if(he(Ae))return Ae;throw ft(dt.UNEXPECTED_RETURN_TYPE)}};function fe(...U){return de(w=>Reflect.apply(uu,null,[w,...U]),()=>ws(...U),"translate",w=>Reflect.apply(w.t,w,[...U]),w=>w,w=>ge(w))}function pe(...U){const[w,D,ne]=U;if(ne&&!Re(ne))throw ft(dt.INVALID_ARGUMENT);return fe(w,D,wt({resolvedMessage:!0},ne||{}))}function Oe(...U){return de(w=>Reflect.apply(gu,null,[w,...U]),()=>xs(...U),"datetime format",w=>Reflect.apply(w.d,w,[...U]),()=>Jc,w=>ge(w))}function Ne(...U){return de(w=>Reflect.apply(mu,null,[w,...U]),()=>Ss(...U),"number format",w=>Reflect.apply(w.n,w,[...U]),()=>Jc,w=>ge(w))}function ze(U){return U.map(w=>ge(w)||st(w)||Pe(w)?Su(String(w)):w)}const nt={normalize:ze,interpolate:U=>U,type:"vnode"};function bt(...U){return de(w=>{let D;const ne=w;try{ne.processor=nt,D=Reflect.apply(uu,null,[ne,...U])}finally{ne.processor=null}return D},()=>ws(...U),"translate",w=>w[As](...U),w=>[Su(w)],w=>Xe(w))}function Qe(...U){return de(w=>Reflect.apply(mu,null,[w,...U]),()=>Ss(...U),"number format",w=>w[Ls](...U),$u,w=>ge(w)||Xe(w))}function it(...U){return de(w=>Reflect.apply(gu,null,[w,...U]),()=>xs(...U),"datetime format",w=>w[$s](...U),$u,w=>ge(w)||Xe(w))}function $(U){E=U,P.pluralRules=E}function M(U,w){return de(()=>{if(!U)return!1;const D=ge(w)?w:u.value,ne=J(D),ue=P.messageResolver(ne,U);return i?ue!=null:so(ue)||Gt(ue)||ge(ue)},()=>[U],"translate exists",D=>Reflect.apply(D.te,D,[U,w]),py,D=>Pe(D))}function C(U){let w=null;const D=Yc(P,c.value,u.value);for(let ne=0;ne{l&&(u.value=U,P.locale=U,ta(P,u.value,c.value))}),tt(o.fallbackLocale,U=>{l&&(c.value=U,P.fallbackLocale=U,ta(P,u.value,c.value))}));const ae={id:Lu,locale:V,fallbackLocale:O,get inheritLocale(){return l},set inheritLocale(U){l=U,U&&o&&(u.value=o.locale.value,c.value=o.fallbackLocale.value,ta(P,u.value,c.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:I,get modifiers(){return L},get pluralRules(){return E||{}},get isGlobal(){return a},get missingWarn(){return x},set missingWarn(U){x=U,P.missingWarn=x},get fallbackWarn(){return _},set fallbackWarn(U){_=U,P.fallbackWarn=_},get fallbackRoot(){return p},set fallbackRoot(U){p=U},get fallbackFormat(){return h},set fallbackFormat(U){h=U,P.fallbackFormat=h},get warnHtmlMessage(){return S},set warnHtmlMessage(U){S=U,P.warnHtmlMessage=U},get escapeParameter(){return A},set escapeParameter(U){A=U,P.escapeParameter=U},t:fe,getLocaleMessage:J,setLocaleMessage:Q,mergeLocaleMessage:ee,getPostTranslationHandler:K,setPostTranslationHandler:le,getMissingHandler:_e,setMissingHandler:F,[vu]:$};return ae.datetimeFormats=G,ae.numberFormats=R,ae.rt=pe,ae.te=M,ae.tm=z,ae.d=Oe,ae.n=Ne,ae.getDateTimeFormat=Z,ae.setDateTimeFormat=f,ae.mergeDateTimeFormat=m,ae.getNumberFormat=B,ae.setNumberFormat=Y,ae.mergeNumberFormat=re,ae[ku]=n,ae[As]=bt,ae[$s]=it,ae[Ls]=Qe,ae}function fy(e){const t=ge(e.locale)?e.locale:_n,o=ge(e.fallbackLocale)||Xe(e.fallbackLocale)||$e(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=qe(e.missing)?e.missing:void 0,a=Pe(e.silentTranslationWarn)||Mo(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=Pe(e.silentFallbackWarn)||Mo(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,s=Pe(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=$e(e.modifiers)?e.modifiers:{},u=e.pluralizationRules,c=qe(e.postTranslation)?e.postTranslation:void 0,d=ge(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,g=!!e.escapeParameterHtml,k=Pe(e.sync)?e.sync:!0;let x=e.messages;if($e(e.sharedMessages)){const A=e.sharedMessages;x=Object.keys(A).reduce((E,P)=>{const N=E[P]||(E[P]={});return wt(N,A[P]),E},x||{})}const{__i18n:_,__root:p,__injectWithOption:h}=e,v=e.datetimeFormats,b=e.numberFormats,y=e.flatJson,S=e.translateExistCompatible;return{locale:t,fallbackLocale:o,messages:x,flatJson:y,datetimeFormats:v,numberFormats:b,missing:n,missingWarn:a,fallbackWarn:r,fallbackRoot:s,fallbackFormat:i,modifiers:l,pluralRules:u,postTranslation:c,warnHtmlMessage:d,escapeParameter:g,messageResolver:e.messageResolver,inheritLocale:k,translateExistCompatible:S,__i18n:_,__root:p,__injectWithOption:h}}function Ts(e={},t){{const o=Cs(fy(e)),{__extender:n}=e,a={id:o.id,get locale(){return o.locale.value},set locale(r){o.locale.value=r},get fallbackLocale(){return o.fallbackLocale.value},set fallbackLocale(r){o.fallbackLocale.value=r},get messages(){return o.messages.value},get datetimeFormats(){return o.datetimeFormats.value},get numberFormats(){return o.numberFormats.value},get availableLocales(){return o.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(r){},get missing(){return o.getMissingHandler()},set missing(r){o.setMissingHandler(r)},get silentTranslationWarn(){return Pe(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(r){o.missingWarn=Pe(r)?!r:r},get silentFallbackWarn(){return Pe(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(r){o.fallbackWarn=Pe(r)?!r:r},get modifiers(){return o.modifiers},get formatFallbackMessages(){return o.fallbackFormat},set formatFallbackMessages(r){o.fallbackFormat=r},get postTranslation(){return o.getPostTranslationHandler()},set postTranslation(r){o.setPostTranslationHandler(r)},get sync(){return o.inheritLocale},set sync(r){o.inheritLocale=r},get warnHtmlInMessage(){return o.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){o.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return o.escapeParameter},set escapeParameterHtml(r){o.escapeParameter=r},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(r){},get pluralizationRules(){return o.pluralRules||{}},__composer:o,t(...r){const[s,i,l]=r,u={};let c=null,d=null;if(!ge(s))throw ft(dt.INVALID_ARGUMENT);const g=s;return ge(i)?u.locale=i:Xe(i)?c=i:$e(i)&&(d=i),Xe(l)?c=l:$e(l)&&(d=l),Reflect.apply(o.t,o,[g,c||d||{},u])},rt(...r){return Reflect.apply(o.rt,o,[...r])},tc(...r){const[s,i,l]=r,u={plural:1};let c=null,d=null;if(!ge(s))throw ft(dt.INVALID_ARGUMENT);const g=s;return ge(i)?u.locale=i:st(i)?u.plural=i:Xe(i)?c=i:$e(i)&&(d=i),ge(l)?u.locale=l:Xe(l)?c=l:$e(l)&&(d=l),Reflect.apply(o.t,o,[g,c||d||{},u])},te(r,s){return o.te(r,s)},tm(r){return o.tm(r)},getLocaleMessage(r){return o.getLocaleMessage(r)},setLocaleMessage(r,s){o.setLocaleMessage(r,s)},mergeLocaleMessage(r,s){o.mergeLocaleMessage(r,s)},d(...r){return Reflect.apply(o.d,o,[...r])},getDateTimeFormat(r){return o.getDateTimeFormat(r)},setDateTimeFormat(r,s){o.setDateTimeFormat(r,s)},mergeDateTimeFormat(r,s){o.mergeDateTimeFormat(r,s)},n(...r){return Reflect.apply(o.n,o,[...r])},getNumberFormat(r){return o.getNumberFormat(r)},setNumberFormat(r,s){o.setNumberFormat(r,s)},mergeNumberFormat(r,s){o.mergeNumberFormat(r,s)},getChoiceIndex(r,s){return-1}};return a.__extender=n,a}}const Ps={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function hy({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,a)=>[...n,...a.type===Ee?a.children:[a]],[]):t.reduce((o,n)=>{const a=e[n];return a&&(o[n]=a()),o},Ke())}function Cu(e){return Ee}const Tu=Gn({name:"i18n-t",props:wt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>st(e)||!isNaN(e)}},Ps),setup(e,t){const{slots:o,attrs:n}=t,a=e.i18n||xt({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(o).filter(d=>d!=="_"),s=Ke();e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=ge(e.plural)?+e.plural:e.plural);const i=hy(t,r),l=a[As](e.keypath,i,s),u=wt(Ke(),n),c=ge(e.tag)||Re(e.tag)?e.tag:Cu();return Zl(c,u,l)}}});function my(e){return Xe(e)&&!ge(e[0])}function Pu(e,t,o,n){const{slots:a,attrs:r}=t;return()=>{const s={part:!0};let i=Ke();e.locale&&(s.locale=e.locale),ge(e.format)?s.key=e.format:Re(e.format)&&(ge(e.format.key)&&(s.key=e.format.key),i=Object.keys(e.format).reduce((g,k)=>o.includes(k)?wt(Ke(),g,{[k]:e.format[k]}):g,Ke()));const l=n(e.value,s,i);let u=[s.key];Xe(l)?u=l.map((g,k)=>{const x=a[g.type],_=x?x({[g.type]:g.value,index:k,parts:l}):[g.value];return my(_)&&(_[0].key=`${g.type}-${k}`),_}):ge(l)&&(u=[l]);const c=wt(Ke(),r),d=ge(e.tag)||Re(e.tag)?e.tag:Cu();return Zl(d,c,u)}}const Mu=Gn({name:"i18n-n",props:wt({value:{type:Number,required:!0},format:{type:[String,Object]}},Ps),setup(e,t){const o=e.i18n||xt({useScope:e.scope,__useComponent:!0});return Pu(e,t,bu,(...n)=>o[Ls](...n))}}),Nu=Gn({name:"i18n-d",props:wt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ps),setup(e,t){const o=e.i18n||xt({useScope:e.scope,__useComponent:!0});return Pu(e,t,fu,(...n)=>o[$s](...n))}});function by(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 yy(e){const t=s=>{const{instance:i,modifiers:l,value:u}=s;if(!i||!i.$)throw ft(dt.UNEXPECTED_ERROR);const c=by(e,i.$),d=Iu(u);return[Reflect.apply(c.t,c,[...Ru(d)]),c]};return{created:(s,i)=>{const[l,u]=t(i);Za&&e.global===u&&(s.__i18nWatcher=tt(u.locale,()=>{i.instance&&i.instance.$forceUpdate()})),s.__composer=u,s.textContent=l},unmounted:s=>{Za&&s.__i18nWatcher&&(s.__i18nWatcher(),s.__i18nWatcher=void 0,delete s.__i18nWatcher),s.__composer&&(s.__composer=void 0,delete s.__composer)},beforeUpdate:(s,{value:i})=>{if(s.__composer){const l=s.__composer,u=Iu(i);s.textContent=Reflect.apply(l.t,l,[...Ru(u)])}},getSSRProps:s=>{const[i]=t(s);return{textContent:i}}}}function Iu(e){if(ge(e))return{path:e};if($e(e)){if(!("path"in e))throw ft(dt.REQUIRED_VALUE,"path");return e}else throw ft(dt.INVALID_VALUE)}function Ru(e){const{path:t,locale:o,args:n,choice:a,plural:r}=e,s={},i=n||{};return ge(o)&&(s.locale=o),st(a)&&(s.plural=a),st(r)&&(s.plural=r),[t,i,s]}function _y(e,t,...o){const n=$e(o[0])?o[0]:{},a=!!n.useI18nComponentName;(Pe(n.globalInstall)?n.globalInstall:!0)&&([a?"i18n":Tu.name,"I18nT"].forEach(s=>e.component(s,Tu)),[Mu.name,"I18nN"].forEach(s=>e.component(s,Mu)),[Nu.name,"I18nD"].forEach(s=>e.component(s,Nu))),e.directive("t",yy(t))}function vy(e,t,o){return{beforeCreate(){const n=vo();if(!n)throw ft(dt.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const r=a.i18n;if(a.__i18n&&(r.__i18n=a.__i18n),r.__root=t,this===this.$root)this.$i18n=Fu(e,r);else{r.__injectWithOption=!0,r.__extender=o.__vueI18nExtend,this.$i18n=Ts(r);const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=Fu(e,a);else{this.$i18n=Ts({__i18n:a.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:t});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&xu(t,a,a),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,s)=>this.$i18n.te(r,s),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),o.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=vo();if(!n)throw ft(dt.UNEXPECTED_ERROR);const a=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),o.__deleteInstance(n),delete this.$i18n}}}function Fu(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[vu](t.pluralizationRules||e.pluralizationRules);const o=rr(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 ky=Po("global-vue-i18n");function wy(e={},t){const o=__VUE_I18N_LEGACY_API__&&Pe(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=Pe(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&o?!!e.allowComposition:!0,r=new Map,[s,i]=xy(e,o),l=Po("");function u(g){return r.get(g)||null}function c(g,k){r.set(g,k)}function d(g){r.delete(g)}{const g={get mode(){return __VUE_I18N_LEGACY_API__&&o?"legacy":"composition"},get allowComposition(){return a},async install(k,...x){if(k.__VUE_I18N_SYMBOL__=l,k.provide(k.__VUE_I18N_SYMBOL__,g),$e(x[0])){const h=x[0];g.__composerExtend=h.__composerExtend,g.__vueI18nExtend=h.__vueI18nExtend}let _=null;!o&&n&&(_=My(k,g.global)),__VUE_I18N_FULL_INSTALL__&&_y(k,g,...x),__VUE_I18N_LEGACY_API__&&o&&k.mixin(vy(i,i.__composer,g));const p=k.unmount;k.unmount=()=>{_&&_(),g.dispose(),p()}},get global(){return i},dispose(){s.stop()},__instances:r,__getInstance:u,__setInstance:c,__deleteInstance:d};return g}}function xt(e={}){const t=vo();if(t==null)throw ft(dt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ft(dt.NOT_INSTALLED);const o=Sy(t),n=$y(o),a=wu(t),r=Ay(e,a);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!e.__useComponent){if(!o.allowComposition)throw ft(dt.NOT_AVAILABLE_IN_LEGACY_MODE);return Ty(t,r,n,e)}if(r==="global")return xu(n,e,a),n;if(r==="parent"){let l=Ly(o,t,e.__useComponent);return l==null&&(l=n),l}const s=o;let i=s.__getInstance(t);if(i==null){const l=wt({},e);"__i18n"in a&&(l.__i18n=a.__i18n),n&&(l.__root=n),i=Cs(l),s.__composerExtend&&(i[Es]=s.__composerExtend(i)),Cy(s,t,i),s.__setInstance(t,i)}return i}function xy(e,t,o){const n=Sr();{const a=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Ts(e)):n.run(()=>Cs(e));if(a==null)throw ft(dt.UNEXPECTED_ERROR);return[n,a]}}function Sy(e){{const t=Te(e.isCE?ky:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ft(e.isCE?dt.NOT_INSTALLED_WITH_PROVIDE:dt.UNEXPECTED_ERROR);return t}}function Ay(e,t){return Xa(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function $y(e){return e.mode==="composition"?e.global:e.global.__composer}function Ly(e,t,o=!1){let n=null;const a=t.root;let r=Ey(t,o);for(;r!=null;){const s=e;if(e.mode==="composition")n=s.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const i=s.__getInstance(r);i!=null&&(n=i.__composer,o&&n&&!n[ku]&&(n=null))}if(n!=null||a===r)break;r=r.parent}return n}function Ey(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Cy(e,t,o){to(()=>{},t),Ba(()=>{const n=o;e.__deleteInstance(t);const a=n[Es];a&&(a(),delete n[Es])},t)}function Ty(e,t,o,n={}){const a=t==="local",r=an(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw ft(dt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=Pe(n.inheritLocale)?n.inheritLocale:!ge(n.locale),i=ie(!a||s?o.locale.value:ge(n.locale)?n.locale:_n),l=ie(!a||s?o.fallbackLocale.value:ge(n.fallbackLocale)||Xe(n.fallbackLocale)||$e(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i.value),u=ie(rr(i.value,n)),c=ie($e(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),d=ie($e(n.numberFormats)?n.numberFormats:{[i.value]:{}}),g=a?o.missingWarn:Pe(n.missingWarn)||Mo(n.missingWarn)?n.missingWarn:!0,k=a?o.fallbackWarn:Pe(n.fallbackWarn)||Mo(n.fallbackWarn)?n.fallbackWarn:!0,x=a?o.fallbackRoot:Pe(n.fallbackRoot)?n.fallbackRoot:!0,_=!!n.fallbackFormat,p=qe(n.missing)?n.missing:null,h=qe(n.postTranslation)?n.postTranslation:null,v=a?o.warnHtmlMessage:Pe(n.warnHtmlMessage)?n.warnHtmlMessage:!0,b=!!n.escapeParameter,y=a?o.modifiers:$e(n.modifiers)?n.modifiers:{},S=n.pluralRules||a&&o.pluralRules;function A(){return[i.value,l.value,u.value,c.value,d.value]}const L=X({get:()=>r.value?r.value.locale.value:i.value,set:C=>{r.value&&(r.value.locale.value=C),i.value=C}}),E=X({get:()=>r.value?r.value.fallbackLocale.value:l.value,set:C=>{r.value&&(r.value.fallbackLocale.value=C),l.value=C}}),P=X(()=>r.value?r.value.messages.value:u.value),N=X(()=>c.value),j=X(()=>d.value);function V(){return r.value?r.value.getPostTranslationHandler():h}function O(C){r.value&&r.value.setPostTranslationHandler(C)}function I(){return r.value?r.value.getMissingHandler():p}function G(C){r.value&&r.value.setMissingHandler(C)}function R(C){return A(),C()}function K(...C){return r.value?R(()=>Reflect.apply(r.value.t,null,[...C])):R(()=>"")}function le(...C){return r.value?Reflect.apply(r.value.rt,null,[...C]):""}function _e(...C){return r.value?R(()=>Reflect.apply(r.value.d,null,[...C])):R(()=>"")}function F(...C){return r.value?R(()=>Reflect.apply(r.value.n,null,[...C])):R(()=>"")}function de(C){return r.value?r.value.tm(C):{}}function fe(C,z){return r.value?r.value.te(C,z):!1}function pe(C){return r.value?r.value.getLocaleMessage(C):{}}function Oe(C,z){r.value&&(r.value.setLocaleMessage(C,z),u.value[C]=z)}function Ne(C,z){r.value&&r.value.mergeLocaleMessage(C,z)}function ze(C){return r.value?r.value.getDateTimeFormat(C):{}}function mt(C,z){r.value&&(r.value.setDateTimeFormat(C,z),c.value[C]=z)}function nt(C,z){r.value&&r.value.mergeDateTimeFormat(C,z)}function bt(C){return r.value?r.value.getNumberFormat(C):{}}function Qe(C,z){r.value&&(r.value.setNumberFormat(C,z),d.value[C]=z)}function it(C,z){r.value&&r.value.mergeNumberFormat(C,z)}const $={get id(){return r.value?r.value.id:-1},locale:L,fallbackLocale:E,messages:P,datetimeFormats:N,numberFormats:j,get inheritLocale(){return r.value?r.value.inheritLocale:s},set inheritLocale(C){r.value&&(r.value.inheritLocale=C)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(u.value)},get modifiers(){return r.value?r.value.modifiers:y},get pluralRules(){return r.value?r.value.pluralRules:S},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:g},set missingWarn(C){r.value&&(r.value.missingWarn=C)},get fallbackWarn(){return r.value?r.value.fallbackWarn:k},set fallbackWarn(C){r.value&&(r.value.missingWarn=C)},get fallbackRoot(){return r.value?r.value.fallbackRoot:x},set fallbackRoot(C){r.value&&(r.value.fallbackRoot=C)},get fallbackFormat(){return r.value?r.value.fallbackFormat:_},set fallbackFormat(C){r.value&&(r.value.fallbackFormat=C)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:v},set warnHtmlMessage(C){r.value&&(r.value.warnHtmlMessage=C)},get escapeParameter(){return r.value?r.value.escapeParameter:b},set escapeParameter(C){r.value&&(r.value.escapeParameter=C)},t:K,getPostTranslationHandler:V,setPostTranslationHandler:O,getMissingHandler:I,setMissingHandler:G,rt:le,d:_e,n:F,tm:de,te:fe,getLocaleMessage:pe,setLocaleMessage:Oe,mergeLocaleMessage:Ne,getDateTimeFormat:ze,setDateTimeFormat:mt,mergeDateTimeFormat:nt,getNumberFormat:bt,setNumberFormat:Qe,mergeNumberFormat:it};function M(C){C.locale.value=i.value,C.fallbackLocale.value=l.value,Object.keys(u.value).forEach(z=>{C.mergeLocaleMessage(z,u.value[z])}),Object.keys(c.value).forEach(z=>{C.mergeDateTimeFormat(z,c.value[z])}),Object.keys(d.value).forEach(z=>{C.mergeNumberFormat(z,d.value[z])}),C.escapeParameter=b,C.fallbackFormat=_,C.fallbackRoot=x,C.fallbackWarn=k,C.missingWarn=g,C.warnHtmlMessage=v}return fl(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw ft(dt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const C=r.value=e.proxy.$i18n.__composer;t==="global"?(i.value=C.locale.value,l.value=C.fallbackLocale.value,u.value=C.messages.value,c.value=C.datetimeFormats.value,d.value=C.numberFormats.value):a&&M(C)}),$}const Py=["locale","fallbackLocale","availableLocales"],Ou=["t","rt","d","n","tm","te"];function My(e,t){const o=Object.create(null);return Py.forEach(a=>{const r=Object.getOwnPropertyDescriptor(t,a);if(!r)throw ft(dt.UNEXPECTED_ERROR);const s=Ze(r.value)?{get(){return r.value.value},set(i){r.value.value=i}}:{get(){return r.get&&r.get()}};Object.defineProperty(o,a,s)}),e.config.globalProperties.$i18n=o,Ou.forEach(a=>{const r=Object.getOwnPropertyDescriptor(t,a);if(!r||!r.value)throw ft(dt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,r)}),()=>{delete e.config.globalProperties.$i18n,Ou.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}if(uy(),__INTLIFY_JIT_COMPILATION__?Qc(ay):Qc(ny),Yb(Eb),qb(Yc),__INTLIFY_PROD_DEVTOOLS__){const e=wo();e.__INTLIFY__=!0,Ob(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Ny=Object.assign({"./locales/ar/aria.json":Bf,"./locales/ar/buttons.json":jf,"./locales/ar/detail.json":Gf,"./locales/ar/legend.json":Uf,"./locales/ar/messages.json":Kf,"./locales/ar/options.json":zf,"./locales/ar/prayerLaps.json":Hf,"./locales/ar/search.json":Vf,"./locales/ar/tabs.json":Wf,"./locales/de/aria.json":Yf,"./locales/de/buttons.json":qf,"./locales/de/detail.json":Jf,"./locales/de/legend.json":Zf,"./locales/de/messages.json":Xf,"./locales/de/options.json":Qf,"./locales/de/prayerLaps.json":eh,"./locales/de/search.json":th,"./locales/de/tabs.json":oh,"./locales/en/aria.json":nh,"./locales/en/buttons.json":ah,"./locales/en/detail.json":rh,"./locales/en/legend.json":sh,"./locales/en/messages.json":ih,"./locales/en/options.json":lh,"./locales/en/popup.json":ch,"./locales/en/prayerLaps.json":uh,"./locales/en/search.json":dh,"./locales/en/tabs.json":ph,"./locales/es/aria.json":gh,"./locales/es/buttons.json":fh,"./locales/es/detail.json":hh,"./locales/es/legend.json":mh,"./locales/es/messages.json":bh,"./locales/es/options.json":yh,"./locales/es/prayerLaps.json":_h,"./locales/es/search.json":vh,"./locales/es/tabs.json":kh,"./locales/fr/aria.json":wh,"./locales/fr/buttons.json":xh,"./locales/fr/detail.json":Sh,"./locales/fr/legend.json":Ah,"./locales/fr/messages.json":$h,"./locales/fr/options.json":Lh,"./locales/fr/popup.json":Eh,"./locales/fr/prayerLaps.json":Ch,"./locales/fr/search.json":Th,"./locales/fr/tabs.json":Ph,"./locales/hi/aria.json":Mh,"./locales/hi/buttons.json":Nh,"./locales/hi/detail.json":Ih,"./locales/hi/legend.json":Rh,"./locales/hi/messages.json":Fh,"./locales/hi/options.json":Oh,"./locales/hi/prayerLaps.json":Dh,"./locales/hi/search.json":Bh,"./locales/it/aria.json":jh,"./locales/it/buttons.json":Gh,"./locales/it/detail.json":Uh,"./locales/it/legend.json":Kh,"./locales/it/messages.json":zh,"./locales/it/options.json":Hh,"./locales/it/prayerLaps.json":Vh,"./locales/it/search.json":Wh,"./locales/pt/aria.json":Yh,"./locales/pt/buttons.json":qh,"./locales/pt/detail.json":Jh,"./locales/pt/legend.json":Zh,"./locales/pt/messages.json":Xh,"./locales/pt/options.json":Qh,"./locales/pt/prayerLaps.json":em,"./locales/pt/search.json":tm,"./locales/pt/tabs.json":om,"./locales/ro/aria.json":nm,"./locales/ro/buttons.json":am,"./locales/ro/detail.json":rm,"./locales/ro/legend.json":sm,"./locales/ro/messages.json":im,"./locales/ro/options.json":lm,"./locales/ro/prayerLaps.json":cm,"./locales/ro/search.json":um,"./locales/ru/aria.json":dm,"./locales/ru/buttons.json":pm,"./locales/ru/detail.json":gm,"./locales/ru/legend.json":fm,"./locales/ru/messages.json":hm,"./locales/ru/options.json":mm,"./locales/ru/prayerLaps.json":bm,"./locales/ru/search.json":ym,"./locales/ru/tabs.json":_m,"./locales/zh/aria.json":vm,"./locales/zh/buttons.json":km,"./locales/zh/detail.json":wm,"./locales/zh/legend.json":xm,"./locales/zh/messages.json":Sm,"./locales/zh/options.json":Am,"./locales/zh/prayerLaps.json":$m,"./locales/zh/search.json":Lm}),na={};for(const[e,t]of Object.entries(Ny)){const o=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!o)continue;const[,n,a]=o;na[n]??(na[n]={}),na[n][a]=t}const Du=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"];function Iy(){var o;const t=(((o=document==null?void 0:document.documentElement)==null?void 0:o.lang)||"").split("-")[0].toLowerCase();return Du.includes(t)?t:"en"}function Ry(){return wy({legacy:!1,globalInjection:!0,locale:Iy(),fallbackLocale:"en",messages:na,missingWarn:!1,fallbackWarn:!1})}function ht(e,t){const o=t||Fy(e);to(()=>{var i;const n=vo();if(!n)return;const a=(i=n.proxy)==null?void 0:i.$el;if(!a)return;const r=a.getRootNode();if(!(r instanceof ShadowRoot)||r.querySelector(`style[data-shadow-styles="${o}"]`))return;const s=document.createElement("style");s.setAttribute("data-shadow-styles",o),s.textContent=e,r.appendChild(s)})}function Fy(e){let t=0;for(let o=0;o(t==null?void 0:t.theme)==="dark"),a=X(()=>{var p;return((p=o==null?void 0:o.value)==null?void 0:p.pinHintLabel)||"Tap a coloured dot — someone still needs prayer"}),r=ie(!1),s=ie(null);let i=null,l=null,u=null,c=null,d=null;function g(){r.value=!1}function k(p,h){var b;let v=p==null?void 0:p.parentElement;for(let y=0;v&&y<12;y++,v=v.parentElement){if(v===h||(b=v.classList)!=null&&b.contains("profile-loader"))return null;let S="";try{S=getComputedStyle(v).position}catch{}if(S&&S!=="static"){const A=v.getBoundingClientRect();if(A.height>=120&&A.width>=160)return v}}return null}function x(){const p=s.value;if(p)try{p.style.removeProperty("--pin-hint-lift");const h=p.getBoundingClientRect();if(!h.height)return;const v=Math.round(h.bottom-window.innerHeight);v>0&&p.style.setProperty("--pin-hint-lift",v+8+"px")}catch{}}function _(p){const h=s.value;if(!h||!(p!=null&&p.querySelector))return;let v=0;try{const y=p.querySelector(".mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-attrib, .mapboxgl-ctrl-bottom-right .doxa-attribution, .doxa-attribution");if(y){const S=y.getBoundingClientRect(),A=h.parentElement,L=A?A.getBoundingClientRect():null;if(v=L?Math.max(S.height||0,L.bottom-S.top):S.height||0,d!==y&&typeof ResizeObserver<"u"){if(u)try{u.disconnect()}catch{}d=y,u=new ResizeObserver(()=>_(p)),u.observe(y)}}}catch{}const b=Math.min(Math.max(Math.ceil(v)||20,20),72);h.style.setProperty("--pin-hint-attrib-clear",b+"px"),x()}return to(()=>{var b,y,S;const p=vo(),h=(S=(y=(b=p==null?void 0:p.proxy)==null?void 0:b.$el)==null?void 0:y.getRootNode)==null?void 0:S.call(y);if(!h||typeof h.querySelector!="function")return;let v=0;i=setInterval(()=>{v++;const A=h.querySelector("canvas");A?(clearInterval(i),i=null,r.value=!0,mo(()=>{const L=k(A,h),E=s.value;if(L&&E&&E.parentElement!==L)try{L.appendChild(E),l=L}catch{}_(h),x();try{const P=s.value&&s.value.offsetParent||null;if(P&&typeof ResizeObserver<"u"){if(c)try{c.disconnect()}catch{}c=new ResizeObserver(()=>x()),c.observe(P)}}catch{}})):v>40&&(clearInterval(i),i=null)},300)}),oo(()=>{var p;if(i&&clearInterval(i),u){try{u.disconnect()}catch{}u=null}if(d=null,c){try{c.disconnect()}catch{}c=null}if(l&&((p=s.value)==null?void 0:p.parentElement)===l)try{l.removeChild(s.value)}catch{}l=null}),ht(` .pin-hint { position: absolute; left: 50%; bottom: calc(var(--pin-hint-attrib-clear, 20px) + 12px + var(--pin-hint-lift, 0px)); transform: translateX(-50%); z-index: 2147482000; pointer-events: none; @@ -69,7 +69,7 @@ @media (prefers-reduced-motion: reduce) { .pin-hint, .pin-hint-pill, .pin-hint-dot::after { animation: none !important; } } -`,"pin-hint"),(d,h)=>r.value?(W(),ee("div",{key:0,ref_key:"hintEl",ref:s,class:Le(["pin-hint",{dark:n.value}]),role:"status"},[T("span",Ny,[h[0]||(h[0]=T("span",{class:"pin-hint-dot","aria-hidden":"true"},null,-1)),dt(" "+ue(a.value)+" ",1),T("button",{class:"pin-hint-x",type:"button","aria-label":"Dismiss hint",onClick:g},"×")])],2)):be("",!0)}},Ry=!1;let Fy=0;const Oy=ls("ui",{state:()=>({_storeInstanceId:++Fy,theme:"light",colorScheme:"default",reducedMotion:!1,highContrast:!1,activeTab:"doxa-regions",sidebarCollapsed:!1,mobileMenuOpen:!1,legendState:"collapsed",_customLegendHeight:null,searchMode:!1,hamburgerMenuOpen:!1,legendMode:"prayer",prayerFilter:null,engagementFilter:null,adoptionFilter:null,religionFilter:null,selectedPeopleGroup:null,breakpoint:"desktop",windowSize:{width:window.innerWidth,height:window.innerHeight},toasts:[],nextToastId:1,toastDuration:5e3,openModals:[],modalData:new Map,isGlobalLoading:!1,globalLoadingMessage:"Loading...",loadingStates:new Map,interactionHistory:[],maxHistoryLength:20,keyboardShortcutsEnabled:!0,screenReaderAnnouncement:"",focusTrapActive:!1,debugMode:!1,showPerformanceOverlay:!1}),getters:{isDarkTheme:e=>!1,isMobile:e=>e.breakpoint==="mobile",isTablet:e=>e.breakpoint==="tablet",isDesktop:e=>e.breakpoint==="desktop"||e.breakpoint==="wide",legendHeight:e=>e._customLegendHeight?e._customLegendHeight:e.legendState==="collapsed"?"48px":e.legendState==="open"?"30%":e.legendState==="fullyOpen"?"calc(100% - 80px)":"48px",caretRotation:e=>e.legendState==="collapsed"?0:90,showPullTab:e=>e.legendState==="open"||e.legendState==="fullyOpen",getToastsByType:e=>t=>e.toasts.filter(o=>o.type===t),hasOpenModal:e=>e.openModals.length>0,topModal:e=>e.openModals.length===0?null:e.openModals[e.openModals.length-1],isModalOpen:e=>t=>e.openModals.includes(t),isAnyLoading:e=>e.isGlobalLoading||e.loadingStates.size>0,isLoading:e=>t=>e.loadingStates.get(t)||!1},actions:{setTheme(e){if(!["light","dark","auto"].includes(e))return;e="light",this.theme=e;const o=this.isDarkTheme;document.documentElement.setAttribute("data-theme",o?"dark":"light");try{localStorage.setItem("theme",e)}catch{}},toggleTheme(){const e=this.theme==="light"?"dark":"light";this.setTheme(e)},setColorScheme(e){this.colorScheme=e,document.documentElement.setAttribute("data-color-scheme",e)},toggleReducedMotion(){this.reducedMotion=!this.reducedMotion,document.documentElement.setAttribute("data-reduced-motion",this.reducedMotion)},toggleHighContrast(){this.highContrast=!this.highContrast,document.documentElement.setAttribute("data-high-contrast",this.highContrast)},setActiveTab(e){this.activeTab=e,this.addToHistory({type:"tab-change",tabId:e,timestamp:Date.now()})},toggleSidebar(){this.sidebarCollapsed=!this.sidebarCollapsed},openMobileMenu(){this.mobileMenuOpen=!0},closeMobileMenu(){this.mobileMenuOpen=!1},setLegendMode(e){["prayer","detail"].includes(e)&&(this.legendMode=e)},setPrayerFilter(e){[null,"noPrayer","hasPrayer","fullPrayer"].includes(e)&&(this.prayerFilter=e)},setEngagementFilter(e){[null,"notEngaged","hasEngagement"].includes(e)&&(this.engagementFilter=e)},setAdoptionFilter(e){[null,"notAdopted","hasAdoption"].includes(e)&&(this.adoptionFilter=e)},setReligionFilter(e){[null,"C","M","H","B","E","J","S","N","O","U"].includes(e)&&(this.religionFilter=e)},selectPeopleGroup(e){this.selectedPeopleGroup=e,e?(this._legendStateBeforeDetail=this.legendState,this.legendState="open",this._customLegendHeight=null,this.setLegendMode("detail")):(this.legendState=this._legendStateBeforeDetail||"open",this._customLegendHeight=null,this.setLegendMode("prayer"))},setLegendState(e){["collapsed","open","fullyOpen"].includes(e)&&(this.legendState=e)},toggleSearchMode(){this.searchMode=!this.searchMode},setSearchMode(e){this.searchMode=e},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},updateBreakpoint(e){let t;e<768?t="mobile":e<1024?t="tablet":e<1920?t="desktop":t="wide",t!==this.breakpoint&&(this.breakpoint=t)},updateWindowSize(e,t){this.windowSize.width=e,this.windowSize.height=t,this.updateBreakpoint(e)},showToast(e){const{message:t,type:o="info",duration:n=this.toastDuration,action:a=null,persistent:r=!1}=e,s={id:this.nextToastId++,message:t,type:o,duration:n,action:a,persistent:r,createdAt:Date.now()};return this.toasts.push(s),!r&&n>0&&setTimeout(()=>{this.removeToast(s.id)},n),s.id},showSuccess(e,t={}){return this.showToast({message:e,type:"success",...t})},showError(e,t={}){return this.showToast({message:e,type:"error",duration:7e3,...t})},showWarning(e,t={}){return this.showToast({message:e,type:"warning",...t})},showInfo(e,t={}){return this.showToast({message:e,type:"info",...t})},removeToast(e){const t=this.toasts.findIndex(o=>o.id===e);t!==-1&&this.toasts.splice(t,1)},clearAllToasts(){this.toasts=[]},openModal(e,t={}){this.openModals.includes(e)||(this.openModals.push(e),this.modalData.set(e,t),this.focusTrapActive=!0)},closeModal(e=null){if(e){const t=this.openModals.indexOf(e);t!==-1&&(this.openModals.splice(t,1),this.modalData.delete(e))}else{const t=this.openModals.pop();t&&this.modalData.delete(t)}this.openModals.length===0&&(this.focusTrapActive=!1)},closeAllModals(){this.openModals=[],this.modalData.clear(),this.focusTrapActive=!1},getModalData(e){return this.modalData.get(e)},showGlobalLoading(e="Loading..."){this.isGlobalLoading=!0,this.globalLoadingMessage=e},hideGlobalLoading(){this.isGlobalLoading=!1},setLoading(e,t=!0){t?this.loadingStates.set(e,!0):this.loadingStates.delete(e)},addToHistory(e){this.interactionHistory.push(e),this.interactionHistory.length>this.maxHistoryLength&&this.interactionHistory.shift()},clearHistory(){this.interactionHistory=[]},announce(e,t="polite"){this.screenReaderAnnouncement=e,setTimeout(()=>{this.screenReaderAnnouncement===e&&(this.screenReaderAnnouncement="")},1e3)},toggleKeyboardShortcuts(){this.keyboardShortcutsEnabled=!this.keyboardShortcutsEnabled},toggleDebugMode(){this.debugMode=!this.debugMode},togglePerformanceOverlay(){this.showPerformanceOverlay=!this.showPerformanceOverlay},toggleLegend(){this.legendState==="fullyOpen"?this.legendState="open":this.legendState==="open"?this.legendState="collapsed":this.legendState="open",this._customLegendHeight=null},openLegend(){this.legendState="open",this._customLegendHeight=null},fullyOpenLegend(){this.legendState="fullyOpen",this._customLegendHeight=null},collapseLegend(){this.legendState="collapsed",this._customLegendHeight=null},setLegendHeight(e){this._customLegendHeight=e},handleLegendItemClick(){this.legendState==="fullyOpen"&&(this.legendState="open")},enableSearchMode(){this.searchMode=!0},disableSearchMode(){this.searchMode=!1},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},openHamburgerMenu(){this.hamburgerMenuOpen=!0},closeHamburgerMenu(){this.hamburgerMenuOpen=!1},init(){let e=null;try{e=localStorage.getItem("theme")}catch{}e&&this.setTheme(e),new ResizeObserver(o=>{for(const n of o)this.updateWindowSize(n.contentRect.width,n.contentRect.height)}).observe(document.documentElement),window.matchMedia&&(window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",o=>{this.theme==="auto"&&document.documentElement.setAttribute("data-theme",o.matches?"dark":"light")}),window.matchMedia("(prefers-reduced-motion: reduce)").addEventListener("change",o=>{this.reducedMotion=o.matches,document.documentElement.setAttribute("data-reduced-motion",o.matches)}))}}}),Dy=ls("map",{state:()=>({maps:{},activeMapId:null,selectedRegion:null,selectedFamily:null,selectedAffinityBlock:null,selectedLanguage:null,selectedDialect:null,activeLegendTab:"family",selectedResource:null,selectedPeopleGroup:null,selectedPinIds:[],globalFilters:{},searchQuery:"",autoFly:{isActive:!1,speed:1,interval:5e3,currentIndex:0,items:[],timerId:null},guidedTour:{isActive:!1,currentStep:0,steps:[]},showClusters:!1,clusterMode:"region",clusterFilterProperty:null,clusterFilterValue:null,flySpeed:"normal",fullscreenMapId:null,preferences:{theme:"light",defaultMapStyle:"streets",enableAnimations:!0,autoSavePreferences:!0}}),getters:{getMapById:e=>t=>e.maps[t],activeMap:e=>e.activeMapId?e.maps[e.activeMapId]:null,hasMap:e=>t=>t in e.maps,allMapIds:e=>Object.keys(e.maps),hasSelection:e=>!!(e.selectedRegion||e.selectedFamily||e.selectedAffinityBlock||e.selectedPeopleGroup),isAutoFlying:e=>e.autoFly.isActive,isGuidedTourActive:e=>e.guidedTour.isActive,isMapFullscreen:e=>t=>e.fullscreenMapId===t},actions:{registerMap(e,t,o={}){let n=1.5;o.zoom!==void 0?n=o.zoom:t&&typeof t.getZoom=="function"&&(n=t.getZoom());let a=[0,0];if(o.center)a=o.center;else if(t&&typeof t.getCenter=="function"){const r=t.getCenter();r&&(a=[r.lng,r.lat])}this.maps[e]={instance:t,config:o,isReady:!1,zoom:n,center:a,registeredAt:Date.now()},this.activeMapId||(this.activeMapId=e)},setMapReady(e){const t=this.maps[e];t&&(t.isReady=!0)},updateMapState(e,t){const o=this.maps[e];o&&Object.assign(o,t)},unregisterMap(e){if(delete this.maps[e],this.activeMapId===e){const t=this.allMapIds;this.activeMapId=t.length>0?t[0]:null}},setActiveMap(e){e in this.maps&&(this.activeMapId=e)},selectRegion(e){this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedRegion=e},selectFamily(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedFamily=e},setActiveLegendTab(e){this.activeLegendTab=e},selectLanguage(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedFamily=null,this.selectedDialect=null,this.selectedLanguage=e},selectDialect(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedDialect=e},selectAffinityBlock(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedPeopleGroup=null,this.selectedAffinityBlock=e},selectPeopleGroup(e){this.selectedPeopleGroup=e},selectResource(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedResource===e?this.selectedResource=null:this.selectedResource=e},clearSelections(){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedAffinityBlock=null,this.selectedResource=null,this.selectedPeopleGroup=null,this.selectedPinIds=[],this.showClusters=!1,this.clusterMode="region"},setSelectedPinIds(e){this.selectedPinIds=e||[]},setFilter(e,t){this.globalFilters[e]=t},removeFilter(e){delete this.globalFilters[e]},clearFilters(){this.globalFilters={},this.searchQuery=""},setSearchQuery(e){this.searchQuery=e},startAutoFly(e,t=1){this.stopAutoFly(),this.autoFly.isActive=!0,this.autoFly.speed=t,this.autoFly.items=e,this.autoFly.currentIndex=0},stopAutoFly(){this.autoFly.timerId&&(clearInterval(this.autoFly.timerId),this.autoFly.timerId=null),this.autoFly.isActive=!1,this.autoFly.currentIndex=0},setAutoFlySpeed(e){this.autoFly.speed=Math.max(.5,Math.min(2,e))},nextAutoFlyItem(){if(!this.autoFly.isActive||this.autoFly.items.length===0)return;this.autoFly.currentIndex=(this.autoFly.currentIndex+1)%this.autoFly.items.length;const e=this.autoFly.items[this.autoFly.currentIndex];e.type==="region"?this.selectRegion(e):e.type==="family"&&this.selectFamily(e)},toggleClusters(e){typeof e=="boolean"?this.showClusters=e:this.showClusters=!this.showClusters},setClusterMode(e){["region","language-family","affinity-block","mst","resource"].includes(e)&&(this.clusterMode=e)},setClusterFilter(e,t){this.clusterFilterProperty=e||null,this.clusterFilterValue=t||null},clearClusterFilter(){this.clusterFilterProperty=null,this.clusterFilterValue=null},setFlySpeed(e){["slow","normal","fast"].includes(e)&&(this.flySpeed=e)},setSelectedFamily(e){this.selectFamily(e)},clearSelectedFamily(){this.selectFamily(null)},setSelectedRegion(e){this.selectRegion(e)},clearSelectedRegion(){this.selectRegion(null)},clearSelectedResource(){this.selectResource(null)},clearSelectedLanguage(){this.selectLanguage(null)},clearSelectedDialect(){this.selectDialect(null)},toggleFullscreen(e){this.fullscreenMapId===e?this.fullscreenMapId=null:this.fullscreenMapId=e},loadPreferences(){try{const e=localStorage.getItem("mapUserPreferences");if(e){const t=JSON.parse(e);this.preferences={...this.preferences,...t}}}catch(e){console.error("[mapStore] Failed to load preferences:",e)}},savePreferences(){try{localStorage.setItem("mapUserPreferences",JSON.stringify(this.preferences))}catch(e){console.error("[mapStore] Failed to save preferences:",e)}},setPreference(e,t){this.preferences[e]=t,this.preferences.autoSavePreferences&&this.savePreferences()}}}),By=ls("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]=Uo({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]=Uo({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}}}),aa={_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","imb_gsec","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}}},jy=".profile-loader[data-v-ba19fc13]{border-radius:var(--map-radius-corners, var(--map-radius, 0px));width:100%;height:100%;min-height:var(--profile-min-h, 100dvh);position:relative}.profile-error[data-v-ba19fc13]{padding:1rem;background:#fff3cd;border:1px solid #ffc107;border-radius:4px;font-family:monospace;font-size:13px}",kn=(e,t)=>{const o=e.__vccOpts||e;for(const[n,a]of t)o[n]=a;return o},Gy={class:"profile-loader"},Uy={key:0,class:"profile-error"},Ky={key:1,class:"profile-error"},zy=kn({__name:"ProfileLoader",props:{profileConfig:{type:String,default:""}},setup(e){var x;const o=e,n=Te("profileConfig",null),a=Z(()=>{var L;if(!o.profileConfig)return null;let A;try{A=JSON.parse(o.profileConfig)}catch{return console.error("[ProfileLoader] Invalid profile-config JSON:",o.profileConfig),null}if(A&&A.assetsBase===void 0){const M=(L=n==null?void 0:n.value)==null?void 0:L.assetsBase;typeof M=="string"&&M&&(A.assetsBase=M)}return A}),r=Z(()=>{var A;return((A=a.value)==null?void 0:A.profile)||null}),s=If(),i=Z(()=>{var L;const A=(L=a.value)==null?void 0:L.tk;return typeof A=="string"&&A?A:s.value||""});tt(()=>{var A;return(A=a.value)==null?void 0:A.tk},A=>{typeof A=="string"&&A&&yc(A)},{immediate:!0});const l=Z(()=>{var A;return((A=a.value)==null?void 0:A.dataSource)||aa.activeSource}),c=Z(()=>{var A;return((A=a.value)==null?void 0:A.colorSet)||"default"}),u=Z(()=>!1),p=Z(()=>{var A;return((A=a.value)==null?void 0:A.pinHint)!==!1}),g=Z(()=>{var L,M;const A=(((L=a.value)==null?void 0:L.locale)||((M=a.value)==null?void 0:M.lang)||"").split("-")[0].toLowerCase();return Ru.includes(A)?A:""}),k=Te("appI18n",null);Gp(()=>{g.value&&k&&(k.global.locale.value=g.value)});const w=Z(()=>{var A,L;return g.value||((L=(A=k==null?void 0:k.global)==null?void 0:A.locale)==null?void 0:L.value)||"en"}),_=Z(()=>{var A;return((A=a.value)==null?void 0:A.instanceId)||"doxa-map-"+Math.random().toString(36).slice(2,9)}),d=Te("profileModules",null);if(!d)throw new Error('[ProfileLoader] No profileModules provided. Bundle entry must `app.provide("profileModules", import.meta.glob("./*.vue"))`');const h=Z(()=>{if(!r.value)return null;const A=`./${r.value}.vue`;return d[A]?_c(d[A]):(console.error(`[ProfileLoader] Profile not found: "${r.value}". Available:`,Object.keys(d)),null)});Pt("mapboxToken",i),Pt("dataSource",l),Pt("colorSet",c),Pt("profileConfig",a),Pt("instanceId",_),Pt("lang",w);const y=Oy(),v=Dy(),b=By();try{const A=typeof localStorage<"u"?localStorage.getItem("theme"):null;A&&((x=y.setTheme)==null||x.call(y,A))}catch{}return Pt("uiStore",y),Pt("mapStore",v),Pt("dataStore",b),(A,L)=>(W(),ee("div",Gy,[a.value?h.value?(W(),rt(gl(h.value),{key:2})):(W(),ee("div",Ky,[T("p",null,[L[1]||(L[1]=dt("⚠️ Profile ",-1)),T("strong",null,'"'+ue(r.value)+'"',1),L[2]||(L[2]=dt(" not found.",-1))])])):(W(),ee("div",Uy,[...L[0]||(L[0]=[T("p",null,[dt("⚠️ "),T("strong",null,"doxa-map"),dt(": missing or invalid "),T("code",null,"profile-config"),dt(" prop.")],-1),T("p",null,[dt("Example: "),T("code",null,`profile-config='{"profile":"example-map","tk":"pk.eyJ..."}'`)],-1)])])),h.value&&u.value?(W(),rt(gl(ye(null)),{key:3})):be("",!0),h.value&&p.value?(W(),rt(Iy,{key:4})):be("",!0)]))}},[["styles",[jy]],["__scopeId","data-v-ba19fc13"]]),Hy=Object.assign({"./poster-wall.vue":()=>En(()=>Promise.resolve().then(()=>$0),void 0),"./upg-100-list.vue":()=>En(()=>Promise.resolve().then(()=>Jk),void 0),"./upg-100-mfe.vue":()=>En(()=>Promise.resolve().then(()=>$w),void 0)});if(typeof window<"u"&&((jd=window.mapboxgl)!=null&&jd.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 Vy(){return mf(zy,{configureApp(e){e.use(Lf()),e.use(Py()),e.provide("profileModules",Hy)}})}const Wy=Vy();typeof customElements<"u"&&(customElements.get("my-upg-100-list-map")||customElements.define("my-upg-100-list-map",Wy));function Yy(e){const t=(e==null?void 0:e.parentElement)||e;if(!t||!t.ownerDocument)return{x:0,y:0};const o=t.ownerDocument.createElement("div");o.style.cssText="position:fixed;top:0;left:0;width:0;height:0;pointer-events:none;opacity:0",t.appendChild(o);const n=o.getBoundingClientRect();return o.remove(),{x:n.left,y:n.top}}function Fu(e){const t=ce(null),o=an({position:"fixed",inset:"0"}),n=()=>{var u,p;const r=t.value;if(!r)return;const s=Yy(r),i=r.ownerDocument||(typeof document<"u"?document:null),l=((u=i==null?void 0:i.documentElement)==null?void 0:u.clientWidth)||0,c=((p=i==null?void 0:i.documentElement)==null?void 0:p.clientHeight)||0;o.value={position:"fixed",top:`${-s.y}px`,left:`${-s.x}px`,right:"auto",bottom:"auto",width:`${l}px`,height:`${c}px`,boxSizing:"border-box"}};tt(e,r=>{r&&requestAnimationFrame(()=>{n(),requestAnimationFrame(n)})},{flush:"post"});const a=()=>{e.value&&n()};return typeof window<"u"&&window.addEventListener("resize",a),oo(()=>{typeof window<"u"&&window.removeEventListener("resize",a)}),{scrimRef:t,scrimStyle:o}}const Ou=[{id:"west-africa",label:"West Africa",count:118,selector:{type:"wagf_block",value:"west_africa"},bbox:[-21.3926,4.2189,27.2705,17.4735]},{id:"sudan",label:"Sudan",count:105,selector:{type:"country_code",value:"SDN"},bbox:[20.1672,9.0707,39.723,20.499]},{id:"brazil",label:"Brazil",count:103,selector:{type:"country_code",value:"BRA"},bbox:[-77.9152,-25.4802,-32.2913,7.3352]},{id:"east-africa",label:"East Africa",count:96,selector:{type:"wagf_block",value:"east_africa"},bbox:[22.3455,-14.3059,47.7947,20.0984]},{id:"laos",label:"Laos",count:95,selector:{type:"country_code",value:"LAO"},bbox:[99.8741,13.6759,108.2843,23.2186]},{id:"middle-east-core",label:"Middle East Core",count:71,selector:{type:"country_codes",values:["IRN","YEM","IRQ","OMN","SYR","LBN","PSE","QAT","SAU","JOR","BHR","ARE","KWT"]},bbox:[31.1468,9.3265,63.7915,42.0085]},{id:"andean-caribbean",label:"Andean + Caribbean",count:63,selector:{type:"country_codes",values:["COL","PER","VEN","ECU","BOL","PRY","PAN","CUB","SUR","ATG","ABW","BHS","BRB","CYM","CUW","GRD","JAM","LCA","SXM","TCA","VCT","GUY"]},bbox:[-85.7034,-31.2233,-51.7537,31.0655]},{id:"central-africa",label:"Central Africa",count:61,selector:{type:"wagf_block",value:"central_africa"},bbox:[.6063,-11.2806,32.2325,15.7303]},{id:"europe",label:"Europe",count:55,selector:{type:"wagf_region",value:"europe"},bbox:[-42.2659,-27.2213,168.5645,85]},{id:"oceania-indonesia",label:"Oceania + Indonesia",count:53,selector:{type:"union",selectors:[{type:"wagf_region",value:"oceania"},{type:"country_code",value:"IDN"}]},bbox:[83.9392,-43.091,-136.017,21.4266]},{id:"mainland-se-asia-philippines",label:"Mainland SE Asia + Philippines",count:50,selector:{type:"country_codes",values:["VNM","MYS","THA","MMR","BRN","KHM","PHL"]},bbox:[88.6434,.084,129.7854,26.789]},{id:"maghreb-egypt",label:"Maghreb + Egypt",count:47,selector:{type:"country_codes",values:["DZA","LBY","MAR","MRT","ESH","EGY","TUN"]},bbox:[-21.8716,14.0878,37.0339,39.1426]},{id:"southern-africa-islands",label:"Southern Africa + Islands of East Africa",count:39,selector:{type:"union",selectors:[{type:"wagf_block",value:"southern_africa"},{type:"wagf_block",value:"islands_of_east_africa"}]},bbox:[.638,-38.0929,63.5885,4.4534]}],Du=[{id:"asia-india-rajasthan",label:"Northwest India",count:116,selector:{type:"pg_slugs",values:["arain-dogri","arain-punjabi","badi-marwari","bania-dogri","bania-kashmiri","baret","bargi","bhand-kashmiri","bhojki","bhopa","bhutta","bomba","brukpa","budhan","campa","cejara","chadwa","cheintz","chheepi","chobdar","chopan","chungar","cudigar","dadupanthi","damami","daoli","daule","dhaki","dhobi-dogri","dhola","dhyar","dokhpa","domal","dosali","gagra","galwan","ganz","gardi","ghihara","gorkun","gosain-kangri","gosain-rajasthani","gurru","hadi","hajjam-haryanvi","hajjam-kashmiri","hesi","hiranbaj","kawoj","khadim","kharol","khatik-chambeali","khatik-punjabi","kraal","kriyagar","kucband","lakhera-haryanvi","laskari","lohar-dogri","malaneese","mangnyar-muslims","manhas","manjygur-muslims","masku","moghol-dogri","moghol-marwari","mogia","mon-india","murhid","nagbansi-dogri","nagda","nai-mewari","najjar","namdagur","naqqas","nar","nicar","nyaria","pajabgar","pakhimara","pangwal-buddhists","pangwala","pinjara-punjabi","pohul","purig-pa","racband","rajkumhar","rajpurohit","ratal","rath","rehar","runwalas","sain","sanchia","sanhai","sansoi","santia","saraogi","sayyid-pahari","seok","shaksaz","shikari","shina-india","singiwala","sofi","sorgars","sudhan","sunga","swangla","tak","thavi","usta","van-baoriya","ved","vijabargiya","waza"]},bbox:[69.9484,22.3586,79.972,35.9424],provinceLabel:"Rājasthān + Haryāna + Himāchal Pradesh + Jammu and Kashmīr + Punjab + Chandīgarh + Ladākh"},{id:"asia-india-andhra-pradesh",label:"South-Central India",count:107,selector:{type:"pg_slugs",values:["accukattavandlu","aguru","aiyarakulu","andhra-vaisnawa","ansari-momin-telugu","arakala","are-bondili","are-kapu","are-katika","atollu","attagara","bandollu","bania-agarwal-telegu","bayita-kammara","berad","bhatrajulu","bhondari","bindla","bolla","budakukkala","cakketakare","camadollu","cippollu","cundollu","dammali","dasari","gandalla","gandla","gangireddula","ganta-sayebulu","garadi","gavara","godagali","godari","gosangi","guddi-eluguwallu","gurika","hajjam-telugu","hatgar","jains-telugu","jakkula","jandra","jethi","kachi","kaikali","karnam","karnibhakthulu","katipamula","khatik-telugu","kommu-dasari","konda-kammara","kuliya","kurakula","lakkamari-kapu","madiga-dasu","majjula","mala-masti","malis","mandula","manna-dhora","matangi","medari","mitha-ayyalavar","moghal-telugu","mondivogula","muchi-chamar","muli","musti-chenchu","nagavamsam","nakhasa","neyyala","ontaris","padigarajulu","pagativeshagallu","paky","pambala","pamidi","pamula","pancaratra-srivaisnavas-brahmans","pariki-muggula","patkars","rajannalu","reddi-dora","reddika","runjalavallu","sadaru","sadhu-chetty","sakunapaksollu","samayavallu","saradagallu","senapathi","silavantulu","sindhollu","swakulasali-koshti","tamboli-telugu","thogataveera-kshatriya","tirugatigantla","tolakari","udupula","uppara","vaikhanasa-brahmans","verra-musti","vipravinodulu","yata","yatagiri","yatla","yite"]},bbox:[76.462,12.5091,84.8294,19.785],provinceLabel:"Andhra Pradesh + Telangāna"},{id:"asia-india-odisha",label:"East India",count:88,selector:{type:"pg_slugs",values:["badhai-chhattisgarhi","baha-i","bairagi-chhattisgarhi","bairagi-odia","bangti","banka","bargah","bari-odia","bauti","bavuri","beldar-chhattisgarhi","bhangi-chhattisgarhi","bharewa","bharia-bhumia-chhattisgarhi","bhattra-bhatri","bhoi-odia","bhunjia","bondo","brahman-jyoti","candhai-maru","chaikwa","chatarkheya","cherua","citrakar","daitapati","damla","darji-odia","dhakad-halbi","dhera","didayi","dom-chhattisgarhi","eneti-dora","ghadwa","ghantarghada","ghogia","ghusuria","godra","gosain-chhattisgarhi","guna","irika","janughanta","jogi-halbi","jogi-odia","kachchi-alia","kalal-sadri","kamila","kapasiya","kasar-odia","khadura","khairwar-chhattisgarhi","khandwal","khati-odia","khatik-chhattisgarhi","kobari","kol-chhattisgarhi","koraga","kuda","kuli","kurunga","kusta","liari","maghia","mahuria","malia","markande-kanjia","mundapotta","munnewar","nai-odia","naksia","noliya","oriya","panara","pando","panka-odia","parenga","radhi","rana","sabakhia","samasi","sanei","sayyid-chhattisgarhi","sayyid-odia","sinduria","son-koli","suda","thanapati","tharua","tula-vina"]},bbox:[80.3325,17.5357,87.6538,23.9578],provinceLabel:"Odisha + Chhattīsgarh"},{id:"asia-india-gujarat",label:"West India",count:90,selector:{type:"pg_slugs",values:["agaria","agri","anjana-patel-gujarati","bafan","bairagi-gujarati","baloch","bamcha","banjania","barot","barthari","bhodala","borpi","caki","champta","cunara","dafer","dangasiya","dasnami-bawa","depala","dudhwala","gadhai","galiara","garmatan","garvi","gavli","ghantiya","golarana","gosain-gujarati","hajjam-gujarati","halaypotra","hingora","hingorza","jat-muslim","juneja","kahar-gujarati","kamalia","kambodia-bhagat","kapadi","kasar-gujarati","kasbati","kathi","ker","khalpa","khaskeli","khatik-gujarati","langa","machhiyara","majothi","makrani","mandali-muslims","mer","mir","miyana","moghol-gujarati","mujavar","muslim-khatri","muslim-lakhera","muslim-patel","mutwa","narsinghpura","nayak-muslims","node","padhar","panar","paradhi","patanwadia","patni-jamat","patni-vankars","pomla","rathodia","raysipotra","royma","sagar","sandhai-muslims","saranias","sayyid-gujarati","shravan","siddi","sompura-salat","tai","targala","theba","tirgar","turi-barot","vadi","vahivanca-barot","vayati","vyapari","wagheri","wandharo"]},bbox:[68.1752,20.1033,74.3448,24.7906],provinceLabel:"Gujarāt"},{id:"asia-india-karnataka",label:"Southwest India",count:86,selector:{type:"pg_slugs",values:["adiyan","agasa","ansari-momin-kannada","arasu","ayri","bagga","baira","balasantoshi","bandi","bania-kannada","bania-konkani","batada","bayil-kammara","bayil-pattar","bellara","bestha","chaptegar","charodi","chenna-dasar","dombi-dasa","durga-murga","gabit","galada-kokani","ganti-chores","gatti","gauli","ghadi","godda","gomantak-maratha","gond-kannada","gudikara","guraw","hajjam-kannada","halleer","harkantra","hasalaru","helawa","holeya-dasari","jatigar","jaweri","jogi-telugu","jogi-tulu","khakar","kolari","komara-panta","koosa","koraga-korra","kottari","koyava","kudiya","kudubi","kummara-kumbara","kurahina-setti","ladar","maila","malaikudi","maleru","manser","meda","mhalo","mith-gauda","mogaveera","mundala","nadors","nai-kannada","nairy","natua","nawaiyat","padarthis","padiyar","pambada","pattegar","pendar","pinjara-kannada","rachavar","raddi","rajapuri","raneyar","raval","raya-rawat","sapalyas","sayyid-kannada","soligaru","sudir","thammadi","vilyagaras"]},bbox:[73.2695,11.4418,78.7305,18.4466],provinceLabel:"Karnātaka + Goa"},{id:"asia-india-kerala",label:"Malabar Coast",count:78,selector:{type:"pg_slugs",values:["allar","ambalavasi","anthur-nair","arayavati","ayyanavar","bakuda","bania-malayalam","bowis-mogeyar","cakkala","cakkyar-nambiyar","chakkiyar","chamar-muchi-malayalam","chengazhi-nambiar","cingatanmar","dheevara","erawallan","ezhavathi","ilayatu","indo-french","indo-vietnamese","kakkalan","kalanadies","kalladi","kallattu-kurup","karimpalan","kavara","kavuthiyan","kidaran","kocu-wellan","kollan","kootan","kumar-kshatriya","kummara-kusuvan","kunduvadian","kurukkal","laccadive","malai-pandaram","malayalar","maran-nairs","marasari","mavilan","moger-malayalam","moothan","mukkari","musari","muttatu","nalkadaya","nambutiris","narsanna","nasuvan","nayadi","otans","padannan","palakad-tandans","pandithar","pathinaickans","pathiyan","pisaroti","poduval","pulisari","puspakan-unni","reddi","samanthan","sonavar","thachanad-moopan","tiyattunni","urindavan","vadugan","valinjiyar","vetan","vettalaikarans","vettiyan","vilkurup","visavan","wainadan-cetti","wainadan-kader","wainadan-pulayan","wayanad-pathiyan"]},bbox:[72.8992,7.9875,80.5765,13.0102],provinceLabel:"Kerala + Puducherry + Lakshadweep"},{id:"asia-india-tamil-nadu",label:"Southeast India + Andaman Islands",count:73,selector:{type:"pg_slugs",values:["alavan","andamanese","ansari-momin-tamil","anuppan","aranadan","baig","bhatu-andamani","bondili","brahmin-andamani","cekkala","chamar-muchi-tamil","chayakkaran","coorgi-andamanese","dasa-palanjika","dayare","dhobi-tamil","gangawar","great-andamanese","gudugudupandi","gurukkal","jains-tamil","jarawas","jati-pillai","kambalattan","kambar","kannada-naicker","kannada-saineegar","karaiyar","karlar","karna-sale","katesar","kattiakaran","kayalar","kepmari","koliyan","kongu-vaisnawa","kongu-vellala-gounder","kota","krishnavaka","kudumi","kuluvan","kummara-kummari","kunnuva-vellalar","malai-vellala","maleyan","maniyattikkaran","mudugar","nakkala","namdeo-maratha","nanjil-mudali","onge","pannadi","panniandi","parkavakulam","parvatarajakulam","pattanavan","perumkollar","salivahanam","savalakkarar","sayyid-tamil","semman","senaithalaivar","sentinelese","siviar","tambiran","telengi","tholuva-naicker","thoraiyar","tondman","uppillian","urikkar-naicker","vellaiyan-kuppam-padaiyaci","vettaikkaran"]},bbox:[74.7588,7.4577,94.7701,13.968],provinceLabel:"Tamil Nādu + Andaman and Nicobar Islands"},{id:"asia-india-madhya-pradesh",label:"Central India",count:88,selector:{type:"pg_slugs",values:["anjana","attar-saibulu","baharupi","banchada","baraua","barda","bari-hindi","bari-marathi","basudeva","berar","bhanumati","bharwad","bhoi-marathi","bhurtia","chari","chitari","citrakathi","dhawad","dhed","dom-marathi","gachha","garodi","garpagari","gondhali","gopal","hajjam-hindi","hardas","hatkar","jadam","jains-hindi","jhadi","kachchi-kushwaha","kachera-bagheli","kaghzi","kandera","kapewar","kasar-hindi","kasikapadi","kathar","kharvi","khatik-marathi","kokaniz","kolhati","kudimahan","ladia","ladsi","lahangir","lajjhar","lodha-marathi","lonar","mana","manbhav","mankar","mitna","mondiwar","muskhan","muslim-gond","muslim-kachera","nahal","naikpod","naita","namdeo","nandiwala","naoda","nat-bagheli","neeli","nema","nilkanth","pangul","phularis","pinjara-marathi","pochammalollu","prabhu-patane","rujjhar","sagharias","sahi","sais","sanghar","sarodi","sikligar","sisgars","soria","sutar-mistry","takari","velip","waidu","yelmar","zamral"]},bbox:[69.6832,14.969,83.1757,26.995],provinceLabel:"Madhya Pradesh + Mahārāshtra + Dādra and Nagar Haveli and Damān and Diu"},{id:"asia-india-uttarakhand",label:"North India + Nepal",count:92,selector:{type:"pg_slugs",values:["ahmadiya","anwal","arain-kannauji","badhik","badi","balahar","banpar","bargala","bargujar","bhuiyar","bisati","camma","charwaha","chaudangsi","dhamin","dhekaro","gadhia","gadihar","gandharv","habura","hijra","hindu-santarash","jadupetia","jains-maithili","jarkhandi-hajjam","jarkhandi-julaha","jharkhandi-nai","jimdar","jogi-angika","kadar","kankali","khangar-bundeli","khatbune","kuthliya-bora","modaks","mujavir","mukeri","nagbansi","nalband","pankhiya","patari","puran","putliwale","rai-bhat-muslims","rajdhop","raji-india","rastogi","rave","sahisia","sayyid-garhwali","sheikhzade","shershabadia","sukiyar","tagewale","thakurai","tikulhara","tilli","turuk-pasi","baniya","barae","bhand","bhediyar","bodo","byangsi","chidmar","churaute","dhobi","dhunia","dura","gangai","gyasumdoba","halkhor","haluwai","jaine","kaike","kamar","kanu","kayastha","lodha","makalu-sherpa","mali","mallah","marwadi","nurang","pahari-nagarkotis","puma","rajbhar","raji-nepal","shaikh-bhojpuri","sudhi","surel","tseku"]},extraCountryCodes:["NPL"],bbox:[76.0644,22.1727,88.8858,31.2428],adm0:["NPL"],provinces:["Uttarākhand","Uttar Pradesh","Bihār","Jhārkhand","Delhi"],provinceLabel:"North India + Nepal"},{id:"asia-india-west-bengal",label:"Northeast India + Bangladesh + Bhutan",count:87,selector:{type:"pg_slugs",values:["aiton","angarok","ansari-momin-bengali","bagti","baida","baisya","bajandar","banai","banik-bania","barua","bhakta","bhalla","bhujel","bilaspuri","byadh","chamar-assamese","chunari","dalu-india","dhal-kstriya","dhimal","ghazi","hajjam-assamese","hajjam-bengali","haluadas","jains-bengali","kakmara","kanda","kapuria","kasar-bengali","khairwar-bengali","khalifa","khamba","khamyang","khatik-bengali","khowa","koiren","kumhar-assamese","kurol","lois","mahisyadas","malakar","man","maria-muslims","matak","mirshikar","momba","mukhi","na","nai-assamese","namasudra-assamese","paharia","pangans","pinjara-dhunia-bengali","sabar","saha","serdukpen","shabdakar","siyalgar","sudra-das","sunuwar","sutradhar","taiphake","tamboli-bengali","teli-assamese","thanga","tripuri-kumhar","tripuri-namasudra","turun","yakha","yatibi","zakhrin","brokkat","chali","dalu-bangladesh","deaf-bhutanese","doya","dzalakha","gongduk","koda","kurtop","lakha","lunape","matpa","nupbi","nyenpa","ole","ushoi"]},extraCountryCodes:["BGD","BTN"],bbox:[84.6438,21.028,98.3478,29.4168],provinceLabel:"West Bengal + Sikkim + Meghālaya + Assam + Arunāchal Pradesh + Manipur + Tripura + Bangladesh + Bhutan",adm0:["BGD","BTN"]},{id:"asia-china-yunnan-province",label:"Southern China",count:109,selector:{type:"pg_slugs",values:["a-ou","ai-cham","akeu","aling","alu","angku","ani","aoka","apu","baonuo","beidongnuo","bit-china","black-thai","bugan","buyang","cai","changpao","chesu","dianbao","diao","doupo","eastern-samadu","eastern-xiangxi-miao","ga-mong","gao","gelao","guaigun","ha-li","hagei","hongjin-tai","hu","huishui-miao","jiamao-li","jiasou","jino","khmu","kong-ge","kucong","laba","labapo","laowu","lati-china","lawu","liang-e","linghua","liping-baheng","liude","liujia","longjia","lu","lupanshui-miao","mang-china","manmet","mashan-miao","meifu-li","mengwu","mishaba-laluo","mo","mosuo","mozhihei","muda","muzi","naheng","nanjingren","northern-awu","northern-dong","northern-muji","numao","palyu","panxian-nasu","pingdi-yao","popei","pubiao","puman","pusha","qanu","qiubei-zhuang","qixingmin","rao","rumai-de-ang","sanda","sanqiao","shenzhou","sichuan-mongols","ta-er","tagu","tai-lu","tai-pong","tulao","tusu","wenma-zhuang","western-gaisu","western-samadu","wopu","wunai","xi","xialusi","xiaoliangshan-nosu","xijima","xinping-lalu","xuzhang-lalu","ya","yanghuang","yerong","yizi","youmai","younuo-bunu","yunnan-mongol","yunnan-shui"]},bbox:[96.3204,17.3374,113.2066,29.9169],provinceLabel:"Yunnan Province + Guizhou Province + Guangxi Zhuang Autonomous Region + Hunan Province + Hainan Province",provinces:["Yunnan Province","Guizhou Province","Guangxi Zhuang Autonomous Region","Hunan Province","Hainan Province"]},{id:"asia-china-tibet-autonomous-region",label:"Mainland China + Mongolia",count:53,selector:{type:"pg_slugs",values:["adi","ainu-china","alxa-mongols","bogar-lhoba","bogol","boyu-tibetans","bunan","buryat","butuo-nosu","cona-monba","darang-deng","enger-yugur","ersu","geman-deng","heishui","henan-mongols","keji","kyrgyz","luzu","manyak","medog-monba","miguba","ming","minyak","naju","namuyi","nghari-tibetans","olot","ongkor","puroik","saman","saragh-yugur","sarikoli-tajiks","shixing","suodi-nosu","tongren-bonan","uzbeks","wakhi-china","western-xibe","wutun","yidu-lhoba","yinuo-nosu","za"]},extraCountryCodes:["MNG","PRK","JPN"],bbox:[69.2237,24.2385,130.4094,51.3865],provinceLabel:"Tibet Autonomous Region + Sichuan Province + Xinjiang Uyghur Autonomous Region + Gansu Province + Inner Mongolia Autonomous Region + Qinghai Province + Heilongjiang Province + Mongolia + Japan + North Korea",provinces:["Tibet Autonomous Region","Sichuan Province","Xinjiang Uyghur Autonomous Region","Gansu Province","Inner Mongolia Autonomous Region","Qinghai Province","Heilongjiang Province"],adm0:["MNG"]}],Bu=[{id:"uncovered-scatter",label:"Scattered / Diaspora",count:8,contiguous:!1,contiguityExempt:!0,flag:"allowed non-contiguous bucket (S5-D3) — diaspora/island/micro-territory strays + 2 unstamped CHN border PGs",selector:{type:"country_codes",values:["AND","CCK","GUF","USA"]},extra_slugs:["jing","pana-china"],bbox:[-150.7534,-18.855,123.4288,50.0639]},{id:"uncovered-nas-a",label:"Central Asia + Pakistan",count:55,contiguous:!0,contiguityExempt:!1,flag:"NAS-A real frontier zone (09b-asia-contiguity-v2 N-D6): MERGE of the former uncovered-sa-west (AFG+PAK) + uncovered-central-asia (AZE/KGZ/TJK/UZB) into ONE zone owning BOTH the legend count AND the ADM0 render coverage. AFG-PAK-UZB-TJK-KGZ form one contiguous land-border core; AZE is the flagged Caspian-separated near-member (S5-D2). KAZ stays deaf-only (its only PG is deaf-kazakhstanis). Target coverage 55 (design directive; uncovered coverage counts are carried through, not recomputable from admin-membership — NOTE-COUNT). ID kept in the uncovered-* family (NOT asia-frontier-nas-a) because zone-geometry.isAsiaZone() routes any asia-*-prefixed id down the ADM1 listId path — an asia-* id would resolve 0 ADM0 polys and render NOTHING. uncovered-* keeps it on the country_codes/ADM0 render path; re-prefixing is the render-layer's NEXT slice, not this one.",selector:{type:"country_codes",values:["AFG","AZE","KGZ","PAK","TJK","UZB"]},bbox:[42.6538,23.2204,79.3424,44.9954],provinceLabel:"Pakistan + Afghanistan + Uzbekistan + Tajikistan + Kyrgyzstan + Kazakhstan + Azerbaijan"}],qy=Qo&&Qo.tagName.toUpperCase()==="SCRIPT"&&Qo.src||new URL("my-upg-100-list.js",document.baseURI).href,Oo=e=>String(e||"").trim().replace(/\/+$/,"");function ju(){try{const t=String(qy||"").split(/[?#]/)[0].match(/^(.*)\/([^/]+)\/([^/]+)\.js$/);return!t||t[2]!==t[3]?null:t[1]||null}catch{return null}}function Jy(e){const t=e==null?void 0:e.embedBaseUrl;if(typeof t=="string"&&t.trim())return Oo(t);if(typeof window<"u"){const o=window.MAP_EMBED_BASE_URL;if(typeof o=="string"&&o.trim())return Oo(o)}return Oo(ju()||"")}function Ts(e){const t=e==null?void 0:e.assetsBase;if(typeof t=="string"&&t.trim()){const n=Oo(t);if(/^https?:\/\//i.test(n)||n.startsWith("/"))return n}const o=Oo((e==null?void 0:e.treeBase)||"")||Oo(ju()||"");if(o)try{const n=typeof document<"u"?document.baseURI:void 0;return Oo(new URL(o+"/../assets",n).href)}catch{return Oo(o.replace(/\/[^/]*$/,"")+"/assets")}return"./assets"}function Zy({shareUrl:e,embedPath:t,profileConfig:o}={}){const n=o||null,a=typeof window<"u",r=e||(n==null?void 0:n.shareUrl);if(typeof r=="string"&&r.trim())return r.trim();const s=String(t||(n==null?void 0:n.shareEmbedPath)||"").trim();if(s){if(/^https?:\/\//i.test(s))return s;if(s.startsWith("/"))return a?window.location.origin+s:s;const i=Jy(n),l=s.replace(/^\.\//,"");if(i)return i+"/"+l;if(typeof document<"u")try{return new URL(l,document.baseURI).href}catch{}return l}return a?window.location.origin+window.location.pathname:""}const Xy=["country_code","wagf_region","wagf_block","primary_language","religion"];function Qy(e){return e==null?{value:null,label:null}:typeof e=="object"?{value:e.value??null,label:e.label??null}:{value:e,label:null}}function e0(e){if(e==null||typeof e!="object")return e;const t={...e};for(const o of Xy)if(o in t){const{value:n,label:a}=Qy(t[o]);t[o]=n,a!=null&&(t[`${o}_label`]=a)}return t}function Ps(e){return Array.isArray(e)?e.map(e0):[]}function Ms(e){return Array.isArray(e)?e:e&&typeof e=="object"?e.posts||e.data||e.records||e.results||e.items||[]:[]}function wn(e){return e==null||typeof e!="object"?null:e.slug??null}function Gu(e){return typeof e=="string"&&e.toLowerCase().includes("deaf")}function t0(e){const t=e==null?null:e.rop1;return t==null?null:typeof t=="object"?t.value??null:t}function xn(e,t){const o=new Set;if(e==null||typeof e!="object"||typeof e.type!="string")throw new Error(`selector-evaluator: malformed selector (expected an object with a string \`type\`), got: ${JSON.stringify(e)}`);const n=Array.isArray(t)?t:[];switch(e.type){case"country_code":{const a=e.value;for(const r of n)if(r&&r.country_code===a){const s=wn(r);s!=null&&o.add(s)}return o}case"country_codes":{const a=new Set(Array.isArray(e.values)?e.values:[]);for(const r of n)if(r&&a.has(r.country_code)){const s=wn(r);s!=null&&o.add(s)}return o}case"wagf_block":{const a=e.value;for(const r of n)if(r&&r.wagf_block===a){const s=wn(r);s!=null&&o.add(s)}return o}case"wagf_region":{const a=e.value;for(const r of n)if(r&&r.wagf_region===a){const s=wn(r);s!=null&&o.add(s)}return o}case"union":{const a=Array.isArray(e.selectors)?e.selectors:[];for(const r of a){const s=xn(r,n);for(const i of s)o.add(i)}return o}case"deaf_predicate":{const a=new Set(Array.isArray(e.regions)?e.regions:[]);for(const r of n){if(!r)continue;if((Gu(r.slug)||Gu(r.name))&&a.has(r.wagf_region)){const i=wn(r);i!=null&&o.add(i)}}return o}case"affinity_bloc":{const a=e.rop1;for(const r of n)if(r&&t0(r)===a){const s=wn(r);s!=null&&o.add(s)}return o}default:throw new Error(`selector-evaluator: unknown selector type "${e.type}" (supported: country_code, country_codes, wagf_block, wagf_region, union, deaf_predicate, affinity_bloc)`)}}const o0=Object.freeze(Object.defineProperty({__proto__:null,default:xn,evaluate:xn},Symbol.toStringTag,{value:"Module"})),n0={class:"sec-head"},a0={class:"sec-name"},r0={class:"sec-count"},s0={class:"grid"},i0=["data-list-id"],l0=["aria-label","onClick"],c0={class:"hcount"},u0={class:"main"},d0=["src","alt","title","onClick","onKeydown","onError"],p0={key:1,class:"ph"},g0={class:"ph-label"},f0={key:0,class:"ph-count"},h0={class:"tape pfs"},m0=["onClick","aria-label"],b0=["onClick","aria-label"],y0=["onClick","aria-label"],_0={class:"modal",role:"dialog","aria-live":"polite"},v0={class:"modal-kind"},k0={class:"modal-title"},w0={class:"modal-err"},x0={class:"modal-soon"},S0={class:"bar"},A0={class:"modal-phase"},$0=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"poster-wall",setup(e){const t={lists:Ou,asia_lists:Du,uncovered_lists:Bu},o=Te("profileConfig",ce(null)),n=Z(()=>{var I;return((I=o.value)==null?void 0:I.instanceId)||"upg-100-wall"}),a=Z(()=>{var I;return((I=o.value)==null?void 0:I.isDark)===!0}),r=Z(()=>Ts(o.value)),s=I=>`${r.value}/posters/${I}.webp`,i=typeof window<"u"&&window.MAP_APP_API_URL||void 0||"",l={"west-africa":"Africa",sudan:"Africa","east-africa":"Africa","central-africa":"Africa","southern-africa-islands":"Africa","maghreb-egypt":"Middle East","middle-east-core":"Middle East","uncovered-nas-a":"Central Asia",laos:"Southeast Asia + Oceania","oceania-indonesia":"Southeast Asia + Oceania","mainland-se-asia-philippines":"Southeast Asia + Oceania",brazil:"Americas","andean-caribbean":"Americas","uncovered-scatter":"Americas",europe:"Europe"},c=I=>l[I]?l[I]:I.startsWith("asia-india-")?"India":I.startsWith("asia-china-")?"China + Mongolia":"Other",u=Z(()=>[...t.lists||[],...t.asia_lists||[],...t.uncovered_lists||[]].filter(I=>I&&I.id)),p=Z(()=>{const I=new Map;for(const B of u.value){const H=c(B.id);I.has(H)||I.set(H,[]),I.get(H).push(B)}return[...I.entries()].map(([B,H])=>({name:B,items:H.slice().sort((O,R)=>(R.count||0)-(O.count||0)),total:H.reduce((O,R)=>O+(R.count||0),0)})).sort((B,H)=>H.total-B.total)}),g=ce(null);function k(I){const B=g.value===I.id;g.value=B?null:I.id,window.dispatchEvent(new CustomEvent("doxa-upg-100-list:show-on-map",{detail:{instanceId:n.value,listId:B?null:I.id,label:B?null:I.label}}))}const w=I=>`${r.value}/previews/${I}.webp`,_=ce({}),d=ce(null),{scrimRef:h,scrimStyle:y}=Fu(d);function v(I,B,{autoprint:H=!1}={}){const O=document.createElement("iframe");O.setAttribute("aria-hidden","true"),O.style.cssText="position:fixed;right:0;bottom:0;width:1px;height:1px;opacity:0;border:0",document.body.appendChild(O);const R=O.contentDocument;if(!R)return O.remove(),null;R.open(),R.write(B),H&&R.write(' - + - + - + - + - + - + + window.FORGE.manifest = {"schema":"doxa-maps-manifest@1","generatedFrom":"plugin-designs/*/*.vue","embedBase":".","bundleCount":21,"profileCount":32,"bundles":[{"bundle":"all-people-groups","scriptUrl":"./all-people-groups/all-people-groups.js","output":"doxa-maps/all-people-groups/all-people-groups.js","integrity":"sha384-cqk7oshuPW5FdnbZ/DyfBBXN2FObAI+V1jrbxmZR2xzNiBtWG65PETQ5/w5PCDB2","elements":["all-people-groups"],"profiles":[{"profile":"all-people-groups","file":"all-people-groups.vue","description":"All 12,379 people groups (peoplegroups.org) in four colors — reached,","element":"all-people-groups","type":"single","isMap":true,"iframeUrl":"./all-people-groups/all-people-groups/index.html","scriptUrl":"./all-people-groups/all-people-groups.js","embed":{"iframe":"\u003ciframe src=\"./all-people-groups/all-people-groups/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./all-people-groups/all-people-groups.js\" integrity=\"sha384-cqk7oshuPW5FdnbZ/DyfBBXN2FObAI+V1jrbxmZR2xzNiBtWG65PETQ5/w5PCDB2\" crossorigin=\"anonymous\">\u003c/script>\n\u003call-people-groups profile-config='{\"profile\":\"all-people-groups\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/all-people-groups>"},"bundle":"all-people-groups"}]},{"bundle":"big-picture","scriptUrl":"./big-picture/big-picture.js","output":"doxa-maps/big-picture/big-picture.js","integrity":"sha384-v0b+aZ7TBxmgUIBBLdKEm6HzwjY3jAGyOFNsKeKCKY4EIRpiWRTcNLavAitHRt8h","elements":["bp-big-picture","bp-research-header","people-groups-grid"],"composes":["bp-research-header","people-groups-grid"],"profiles":[{"profile":"big-picture","file":"big-picture.vue","description":"The Cat-4 composite that PAIRS the two real capability elements of the","element":"bp-big-picture","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./big-picture/big-picture/index.html","scriptUrl":"./big-picture/big-picture.js","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./big-picture/big-picture.js\" integrity=\"sha384-v0b+aZ7TBxmgUIBBLdKEm6HzwjY3jAGyOFNsKeKCKY4EIRpiWRTcNLavAitHRt8h\" crossorigin=\"anonymous\">\u003c/script>\n\u003cbp-big-picture profile-config='{\"profile\":\"big-picture\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/bp-big-picture>"},"instances":[{"id":"big-picture","title":"Big Picture — research header ↔ people-groups grid (composite)","apiBaseUrl":"","props":{"profile":"big-picture","provider":"maplibre","instanceId":"bp-big-picture"},"element":"bp-big-picture","iframeUrl":"./big-picture/big-picture/big-picture/index.html","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/big-picture/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"frontier","title":"Big Picture — frontier accent","apiBaseUrl":"","props":{"profile":"big-picture","provider":"maplibre","instanceId":"bp-big-picture-frontier","accent":"#22d3ee","title":"Big Picture — Frontier Focus"},"element":"bp-big-picture","iframeUrl":"./big-picture/big-picture/frontier/index.html","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/frontier/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"big-picture"}]},{"bundle":"cities-internet","scriptUrl":"./cities-internet/cities-internet.js","output":"doxa-maps/cities-internet/cities-internet.js","integrity":"sha384-tNig8gXdCocWVKD5iXR6iRqiAr7msWFtcFKzYif0L0G5i/RM+HI+SO8oR5c6O+5R","elements":["cities-internet-map"],"profiles":[{"profile":"connectivity-list","file":"connectivity-list.vue","description":"Countries where DX people groups live, grouped by region, showing measured internet penetration","element":"cities-internet-map","type":"single","isMap":false,"iframeUrl":"./cities-internet/connectivity-list/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/connectivity-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-tNig8gXdCocWVKD5iXR6iRqiAr7msWFtcFKzYif0L0G5i/RM+HI+SO8oR5c6O+5R\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"connectivity-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}},{"profile":"connectivity-map","file":"connectivity-map.vue","description":"Every country shaded by measured internet penetration, with its named carriers and dominant","element":"cities-internet-map","type":"single","isMap":true,"iframeUrl":"./cities-internet/connectivity-map/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/connectivity-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-tNig8gXdCocWVKD5iXR6iRqiAr7msWFtcFKzYif0L0G5i/RM+HI+SO8oR5c6O+5R\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"connectivity-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}},{"profile":"data-tables","file":"data-tables.vue","description":"Four validated research tables, one tab each, with sortable and filterable columns, CSV and JSON","element":"cities-internet-map","type":"single","isMap":false,"iframeUrl":"./cities-internet/data-tables/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/data-tables/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-tNig8gXdCocWVKD5iXR6iRqiAr7msWFtcFKzYif0L0G5i/RM+HI+SO8oR5c6O+5R\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"data-tables\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}}]},{"bundle":"country-posters","scriptUrl":"./country-posters/country-posters.js","output":"doxa-maps/country-posters/country-posters.js","integrity":"sha384-kbTr53oyqrMpgr620HR4W8vLXxT4Ulo5EeCoHebbMjGns5rwNvJP2BLuPyo5XVJj","elements":["country-posters-map"],"profiles":[{"profile":"countries-map","file":"countries-map.vue","description":"The researcher's workbench retargeted from people groups to COUNTRIES — region","element":"country-posters-map","type":"single","isMap":true,"iframeUrl":"./country-posters/countries-map/index.html","scriptUrl":"./country-posters/country-posters.js","embed":{"iframe":"\u003ciframe src=\"./country-posters/countries-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./country-posters/country-posters.js\" integrity=\"sha384-kbTr53oyqrMpgr620HR4W8vLXxT4Ulo5EeCoHebbMjGns5rwNvJP2BLuPyo5XVJj\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccountry-posters-map profile-config='{\"profile\":\"countries-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/country-posters-map>"}},{"profile":"country-poster-wall","file":"country-poster-wall.vue","description":"One printable card per country, grouped into COLLAPSIBLE regional sections so the","element":"country-posters-map","type":"single","isMap":false,"iframeUrl":"./country-posters/country-poster-wall/index.html","scriptUrl":"./country-posters/country-posters.js","embed":{"iframe":"\u003ciframe src=\"./country-posters/country-poster-wall/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./country-posters/country-posters.js\" integrity=\"sha384-kbTr53oyqrMpgr620HR4W8vLXxT4Ulo5EeCoHebbMjGns5rwNvJP2BLuPyo5XVJj\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccountry-posters-map profile-config='{\"profile\":\"country-poster-wall\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/country-posters-map>"}}]},{"bundle":"dashboard-plus-grid","scriptUrl":"./dashboard-plus-grid/dashboard-plus-grid.js","output":"doxa-maps/dashboard-plus-grid/dashboard-plus-grid.js","integrity":"sha384-YbJgljynZ4t3/Ro44oHQy9ihl9/5o7j4IKts8MNRfA73Cb5cyD7U52DklXjzpLpG","elements":["dashboard-plus-grid"],"composes":["research-dashboard","people-groups-grid"],"profiles":[{"profile":"dashboard-plus-grid","file":"dashboard-plus-grid.vue","description":"Both children are IMPORTED DIRECTLY (compiled into this ONE bundle — no runtime bundle","element":"dashboard-plus-grid","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./dashboard-plus-grid/dashboard-plus-grid/index.html","scriptUrl":"./dashboard-plus-grid/dashboard-plus-grid.js","embed":{"iframe":"\u003ciframe src=\"./dashboard-plus-grid/dashboard-plus-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./dashboard-plus-grid/dashboard-plus-grid.js\" integrity=\"sha384-YbJgljynZ4t3/Ro44oHQy9ihl9/5o7j4IKts8MNRfA73Cb5cyD7U52DklXjzpLpG\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdashboard-plus-grid profile-config='{\"profile\":\"dashboard-plus-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/dashboard-plus-grid>"},"instances":[{"id":"default","title":"default","apiBaseUrl":"","props":{"profile":"dashboard-plus-grid"},"element":"dashboard-plus-grid","iframeUrl":"./dashboard-plus-grid/dashboard-plus-grid/default/index.html","embed":{"iframe":"\u003ciframe src=\"./dashboard-plus-grid/dashboard-plus-grid/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"demo-map","scriptUrl":"./demo-map/demo-map.js","output":"doxa-maps/demo-map/demo-map.js","integrity":"sha384-QiUJUgeFn27tiHKVhAYtJuIWo+1z5xsCUP1Nj4m1H4cFUV3vUA7ADTP58Ky3oVtQ","elements":["demo-map"],"profiles":[{"profile":"demo-map","file":"demo-map.vue","description":"Simple two-tab demo map. Tab 1 colors pins by religion (shared","element":"demo-map","type":"parameterized","isMap":true,"iframeUrl":"./demo-map/demo-map/index.html","scriptUrl":"./demo-map/demo-map.js","embed":{"iframe":"\u003ciframe src=\"./demo-map/demo-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./demo-map/demo-map.js\" integrity=\"sha384-QiUJUgeFn27tiHKVhAYtJuIWo+1z5xsCUP1Nj4m1H4cFUV3vUA7ADTP58Ky3oVtQ\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdemo-map profile-config='{\"profile\":\"demo-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/demo-map>"},"instances":[{"id":"maplibre","title":"Demo map — MapLibre (token-free)","apiBaseUrl":"","props":{"profile":"demo-map","provider":"maplibre","instanceId":"demo-maplibre"},"element":"demo-map","iframeUrl":"./demo-map/demo-map/maplibre/index.html","embed":{"iframe":"\u003ciframe src=\"./demo-map/demo-map/maplibre/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"demo-map"}]},{"bundle":"doxa-maps-spa","scriptUrl":"./doxa-maps-spa/doxa-maps-spa.js","output":"doxa-maps/doxa-maps-spa/doxa-maps-spa.js","integrity":"sha384-Ce+DKsLgwfej+rgoWeaWFuMMbR3Y4H+8io/lVL+lQfX0O3iGKwDLf4remDkHGCrP","elements":["doxa-maps-spa"],"composes":["bp-big-picture","doxa-research-map","doxa-simple-map","cities-internet-map","gospel-resources-map","my-upg-100-list-map"],"profiles":[{"profile":"doxa-maps-spa","file":"doxa-maps-spa.vue","description":"The DX-maps app itself: one element whose vertical-tab rail nests every other","element":"doxa-maps-spa","type":"nested-mfe-spa","isMap":false,"iframeUrl":"./doxa-maps-spa/doxa-maps-spa/index.html","scriptUrl":"./doxa-maps-spa/doxa-maps-spa.js","embed":{"iframe":"\u003ciframe src=\"./doxa-maps-spa/doxa-maps-spa/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-maps-spa/doxa-maps-spa.js\" integrity=\"sha384-Ce+DKsLgwfej+rgoWeaWFuMMbR3Y4H+8io/lVL+lQfX0O3iGKwDLf4remDkHGCrP\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-maps-spa profile-config='{\"profile\":\"doxa-maps-spa\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-maps-spa>"},"instances":[{"id":"app","title":"DX-Maps SPA — Big Picture + every research map (app-shell)","apiBaseUrl":"","props":{"profile":"doxa-maps-spa","provider":"maplibre","instanceId":"doxa-maps-spa-app","title":"DX-Maps"},"element":"doxa-maps-spa","iframeUrl":"./doxa-maps-spa/doxa-maps-spa/app/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-maps-spa/doxa-maps-spa/app/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-research-map","scriptUrl":"./doxa-research-map/doxa-research-map.js","output":"doxa-maps/doxa-research-map/doxa-research-map.js","integrity":"sha384-m4l+f0dtSiobgVmlkVLdbrLtQ1XwOTEmN2S++QZFqsYdTeEVuSDMl96aTudjoqB4","elements":["doxa-research-map"],"profiles":[{"profile":"research-map","file":"research-map.vue","description":"The researcher's workbench: every piece a missiologist, demographer or","element":"doxa-research-map","type":"monolithic","isMap":true,"iframeUrl":"./doxa-research-map/research-map/index.html","scriptUrl":"./doxa-research-map/doxa-research-map.js","embed":{"iframe":"\u003ciframe src=\"./doxa-research-map/research-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-research-map/doxa-research-map.js\" integrity=\"sha384-m4l+f0dtSiobgVmlkVLdbrLtQ1XwOTEmN2S++QZFqsYdTeEVuSDMl96aTudjoqB4\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-research-map profile-config='{\"profile\":\"research-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-research-map>"},"instances":[{"id":"maplibre","title":"Research map — MapLibre (token-free, no search bar)","apiBaseUrl":"","props":{"profile":"research-map","provider":"maplibre","instanceId":"research-map-maplibre"},"element":"doxa-research-map","iframeUrl":"./doxa-research-map/research-map/maplibre/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-research-map/research-map/maplibre/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-simple-map","scriptUrl":"./doxa-simple-map/doxa-simple-map.js","output":"doxa-maps/doxa-simple-map/doxa-simple-map.js","integrity":"sha384-hzEui48BqpW8VhRthz3daMgAdw4w4M3gtBre4ce4sXuAmS+39pMRW9reNAvpFb+W","elements":["doxa-map","doxa-simple-map"],"profiles":[{"profile":"doxa-simple-map","file":"doxa-simple-map.vue","description":"The simple world map, shipped as three presets off ONE prop table —","element":"doxa-map","type":"parameterized","isMap":true,"iframeUrl":"./doxa-simple-map/doxa-simple-map/index.html","scriptUrl":"./doxa-simple-map/doxa-simple-map.js","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-simple-map/doxa-simple-map.js\" integrity=\"sha384-hzEui48BqpW8VhRthz3daMgAdw4w4M3gtBre4ce4sXuAmS+39pMRW9reNAvpFb+W\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-map profile-config='{\"profile\":\"doxa-simple-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-map>"},"instances":[{"id":"prayer","title":"Prayer Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-prayer","dataSource":"pray-tools","tabs":[{"id":"prayer","colorStrategy":"prayer","legend":"prayer","popup":"prayer"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/prayer/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/prayer/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"engagement","title":"Engagement Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-engagement","dataSource":"pray-tools","tabs":[{"id":"engagement","colorStrategy":"engagement","legend":"engagement","popup":"engagement"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/engagement/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/engagement/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"adoption","title":"Adoption Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-adoption","dataSource":"pray-tools","tabs":[{"id":"adoption","colorStrategy":"adoption","legend":"adoption","popup":"adoption"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/adoption/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/adoption/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-vision-card","scriptUrl":"./doxa-vision-card/doxa-vision-card.js","output":"doxa-maps/doxa-vision-card/doxa-vision-card.js","integrity":"sha384-2mza3cltN5LQQIrlENG/IVL6Icd9zzcFve3E8R8VWuCdYOGW9uGKFvxcbu6eFfwn","elements":["doxa-vision-card"],"profiles":[{"profile":"doxa-vision-card","file":"doxa-vision-card.vue","description":"The Capability-1 example: ONE folder -> ONE bundle -> ONE element.","element":"doxa-vision-card","type":"parameterized","isMap":false,"iframeUrl":"./doxa-vision-card/doxa-vision-card/index.html","scriptUrl":"./doxa-vision-card/doxa-vision-card.js","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-vision-card/doxa-vision-card.js\" integrity=\"sha384-2mza3cltN5LQQIrlENG/IVL6Icd9zzcFve3E8R8VWuCdYOGW9uGKFvxcbu6eFfwn\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-vision-card profile-config='{\"profile\":\"doxa-vision-card\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-vision-card>"},"instances":[{"id":"default","title":"Vision card — reach at a glance","apiBaseUrl":"","props":{"profile":"doxa-vision-card","provider":"maplibre","instanceId":"vision-card-default"},"element":"doxa-vision-card","iframeUrl":"./doxa-vision-card/doxa-vision-card/default/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"frontier","title":"Vision card — frontier accent","apiBaseUrl":"","props":{"profile":"doxa-vision-card","provider":"maplibre","instanceId":"vision-card-frontier","accent":"#22d3ee","title":"The last frontier of the gospel.","tagline":"Frontier people groups — where fewer than one in a thousand follow Jesus.","stats":[{"value":"1,910","label":"Frontier groups","note":"under 0.1% believers"},{"value":"2.1B","label":"People","note":"living in frontier settings"},{"value":"0.1%","label":"Christian","note":"or fewer, in each group"}]},"element":"doxa-vision-card","iframeUrl":"./doxa-vision-card/doxa-vision-card/frontier/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/frontier/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"doxa-vision-card"}]},{"bundle":"golden-path-check","scriptUrl":"./golden-path-check/golden-path-check.js","output":"doxa-maps/golden-path-check/golden-path-check.js","integrity":"sha384-1V/sT5SkV0U9yTCK9ELIOFfU1ZIJkInIF6nG3UllJ4dxax3RsEAupSGLJEFK6e14","elements":["golden-path-check"],"profiles":[{"profile":"golden-path-check","file":"golden-path-check.vue","description":"A live self-test of the develop-a-plugin-and-see-it-live path: it reads the built","element":"golden-path-check","type":"single","isMap":false,"iframeUrl":"./golden-path-check/golden-path-check/index.html","scriptUrl":"./golden-path-check/golden-path-check.js","embed":{"iframe":"\u003ciframe src=\"./golden-path-check/golden-path-check/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./golden-path-check/golden-path-check.js\" integrity=\"sha384-1V/sT5SkV0U9yTCK9ELIOFfU1ZIJkInIF6nG3UllJ4dxax3RsEAupSGLJEFK6e14\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgolden-path-check profile-config='{\"profile\":\"golden-path-check\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/golden-path-check>"}}]},{"bundle":"gospel-resources","scriptUrl":"./gospel-resources/gospel-resources.js","output":"doxa-maps/gospel-resources/gospel-resources.js","integrity":"sha384-VXjJ4Se+3vtAs3dnqQoWelPf88U32RffjhrVy3usV5m9HHm2fL/CfUq2maQVKhzj","elements":["gospel-resources-map"],"profiles":[{"profile":"charts","file":"charts.vue","description":"The gap by LANGUAGE (ISO 639-3) rather than by people group — because one translation serves every","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/charts/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/charts/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-VXjJ4Se+3vtAs3dnqQoWelPf88U32RffjhrVy3usV5m9HHm2fL/CfUq2maQVKhzj\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"charts\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"data-tables","file":"data-tables.vue","description":"Two validated tables: what resources exist per people group, and whether that access is keeping","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/data-tables/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/data-tables/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-VXjJ4Se+3vtAs3dnqQoWelPf88U32RffjhrVy3usV5m9HHm2fL/CfUq2maQVKhzj\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"data-tables\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"resources-list","file":"resources-list.vue","description":"Which DX people groups have scripture in their own language, and which have none. The zero-resource","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/resources-list/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/resources-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-VXjJ4Se+3vtAs3dnqQoWelPf88U32RffjhrVy3usV5m9HHm2fL/CfUq2maQVKhzj\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"resources-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"resources-map","file":"resources-map.vue","description":"Every country shaded by how much of its unengaged population has NO gospel resource in their own","element":"gospel-resources-map","type":"single","isMap":true,"iframeUrl":"./gospel-resources/resources-map/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/resources-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-VXjJ4Se+3vtAs3dnqQoWelPf88U32RffjhrVy3usV5m9HHm2fL/CfUq2maQVKhzj\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"resources-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}}]},{"bundle":"my-upg-100-list","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","output":"doxa-maps/my-upg-100-list/my-upg-100-list.js","integrity":"sha384-Q0oRTPiR5rCbGuYjqx06LU6ngVOJflT7LZIevgE0eGypVGomWEPkzJcpmSaEEOW6","elements":["my-upg-100-list-map"],"composes":["my-upg-100-list/upg-100-list","my-upg-100-list/poster-wall"],"profiles":[{"profile":"poster-wall","file":"poster-wall.vue","description":"A wall of printable poster cards, one per 100-list entry, each with a \"Show on map\" action that","element":"my-upg-100-list-map","type":"single","isMap":true,"iframeUrl":"./my-upg-100-list/poster-wall/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/poster-wall/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-Q0oRTPiR5rCbGuYjqx06LU6ngVOJflT7LZIevgE0eGypVGomWEPkzJcpmSaEEOW6\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"poster-wall\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}},{"profile":"upg-100-list","file":"upg-100-list.vue","description":"A personal unreached-people-groups list painted as true boundary polygons —","element":"my-upg-100-list-map","type":"single","isMap":true,"iframeUrl":"./my-upg-100-list/upg-100-list/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/upg-100-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-Q0oRTPiR5rCbGuYjqx06LU6ngVOJflT7LZIevgE0eGypVGomWEPkzJcpmSaEEOW6\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"upg-100-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}},{"profile":"upg-100-mfe","file":"upg-100-mfe.vue","description":"The standalone, shareable and embeddable composite of the my-upg-100-list family — it nests the map","element":"my-upg-100-list-map","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./my-upg-100-list/upg-100-mfe/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/upg-100-mfe/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-Q0oRTPiR5rCbGuYjqx06LU6ngVOJflT7LZIevgE0eGypVGomWEPkzJcpmSaEEOW6\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"upg-100-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}}]},{"bundle":"people-groups-grid","scriptUrl":"./people-groups-grid/people-groups-grid.js","output":"doxa-maps/people-groups-grid/people-groups-grid.js","integrity":"sha384-wyfAzVfoufR5FaDoo3DSivtV33qOexc7PhDYZkXlYmru5FqZgncuUos3nN0kkMJL","elements":["people-groups-grid"],"profiles":[{"profile":"people-groups-grid","file":"people-groups-grid.vue","description":"The people-groups grid as an owned custom element: card list, search and four","element":"people-groups-grid","type":"parameterized","isMap":false,"iframeUrl":"./people-groups-grid/people-groups-grid/index.html","scriptUrl":"./people-groups-grid/people-groups-grid.js","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./people-groups-grid/people-groups-grid.js\" integrity=\"sha384-wyfAzVfoufR5FaDoo3DSivtV33qOexc7PhDYZkXlYmru5FqZgncuUos3nN0kkMJL\" crossorigin=\"anonymous\">\u003c/script>\n\u003cpeople-groups-grid profile-config='{\"profile\":\"people-groups-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/people-groups-grid>"},"instances":[{"id":"people-groups-grid","title":"People Groups Grid — standalone (own search + 4 dropdowns)","apiBaseUrl":"","props":{"profile":"people-groups-grid","provider":"maplibre","instanceId":"people-groups-grid","pray-base-url":"https://pray.doxa.life"},"element":"people-groups-grid","iframeUrl":"./people-groups-grid/people-groups-grid/people-groups-grid/index.html","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/people-groups-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"driven","title":"People Groups Grid — externally driven (controls off, props/events)","apiBaseUrl":"","props":{"profile":"people-groups-grid","provider":"maplibre","instanceId":"people-groups-grid-driven","pray-base-url":"https://pray.doxa.life","show-search":"false","show-filters":"false"},"element":"people-groups-grid","iframeUrl":"./people-groups-grid/people-groups-grid/driven/index.html","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/driven/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"plugin-studio","scriptUrl":"./plugin-studio/plugin-studio.js","output":"doxa-maps/plugin-studio/plugin-studio.js","integrity":"sha384-2RlLFRU2XdjBN7w+FPguj8INgj57JFg4IFT2AmdefGnR9QQLehbiiAffV45LcsFH","elements":["plugin-studio"],"composes":["bp-big-picture","people-groups-grid","doxa-research-map","doxa-simple-map","cities-internet-map","gospel-resources-map","my-upg-100-list-map","doxa-vision-card","all-people-groups","research-dashboard"],"profiles":[{"profile":"plugin-studio","file":"plugin-studio.vue","description":"The developer's viewing surface: a sidebar that is the composability ladder","element":"plugin-studio","type":"nested-mfe-spa","isMap":false,"iframeUrl":"./plugin-studio/plugin-studio/index.html","scriptUrl":"./plugin-studio/plugin-studio.js","embed":{"iframe":"\u003ciframe src=\"./plugin-studio/plugin-studio/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./plugin-studio/plugin-studio.js\" integrity=\"sha384-2RlLFRU2XdjBN7w+FPguj8INgj57JFg4IFT2AmdefGnR9QQLehbiiAffV45LcsFH\" crossorigin=\"anonymous\">\u003c/script>\n\u003cplugin-studio profile-config='{\"profile\":\"plugin-studio\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/plugin-studio>"},"instances":[{"id":"studio","title":"Plugin Studio — every element by capability 5 -> 1 (developer studio)","apiBaseUrl":"","props":{"profile":"plugin-studio","provider":"maplibre","instanceId":"plugin-studio","title":"Plugin Studio"},"element":"plugin-studio","iframeUrl":"./plugin-studio/plugin-studio/studio/index.html","embed":{"iframe":"\u003ciframe src=\"./plugin-studio/plugin-studio/studio/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"prayer-walk-planner","scriptUrl":"./prayer-walk-planner/prayer-walk-planner.js","output":"doxa-maps/prayer-walk-planner/prayer-walk-planner.js","integrity":"sha384-F0+r4avX8xkXp0hBpU5EBPU0InMRCObIn2Ieh9HJNn1r2amk8/qHmJ68WuNfsirC","elements":["prayer-walk-planner"],"profiles":[{"profile":"prayer-walk-planner","file":"prayer-walk-planner.vue","description":"A simple polygon-drawing tool for planning prayer-walking routes.","element":"prayer-walk-planner","type":"single","isMap":true,"iframeUrl":"./prayer-walk-planner/prayer-walk-planner/index.html","scriptUrl":"./prayer-walk-planner/prayer-walk-planner.js","embed":{"iframe":"\u003ciframe src=\"./prayer-walk-planner/prayer-walk-planner/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./prayer-walk-planner/prayer-walk-planner.js\" integrity=\"sha384-F0+r4avX8xkXp0hBpU5EBPU0InMRCObIn2Ieh9HJNn1r2amk8/qHmJ68WuNfsirC\" crossorigin=\"anonymous\">\u003c/script>\n\u003cprayer-walk-planner profile-config='{\"profile\":\"prayer-walk-planner\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/prayer-walk-planner>"}}]},{"bundle":"regions-dashboard","scriptUrl":"./regions-dashboard/regions-dashboard.js","output":"doxa-maps/regions-dashboard/regions-dashboard.js","integrity":"sha384-+z7qRIJAEJa+7I4OzeL88//qZ/9lXLuYHQWDFI0Y5AUtnOUqXCSx8YE6Y8Nx0myd","elements":["regions-dashboard"],"composes":["regions-dashboard/regions-list","regions-dashboard/region-dashboards"],"profiles":[{"profile":"region-dashboards","file":"region-dashboards.vue","description":"The dashboard half of the Driver's 2-tab Regions element: given a region (or a","element":"regions-dashboard","type":"single","isMap":true,"iframeUrl":"./regions-dashboard/region-dashboards/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/region-dashboards/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-+z7qRIJAEJa+7I4OzeL88//qZ/9lXLuYHQWDFI0Y5AUtnOUqXCSx8YE6Y8Nx0myd\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"region-dashboards\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}},{"profile":"regions-list","file":"regions-list.vue","description":"A refactor of DX-life's /regions index page (app/pages/regions/index.vue) into","element":"regions-dashboard","type":"single","isMap":true,"iframeUrl":"./regions-dashboard/regions-list/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/regions-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-+z7qRIJAEJa+7I4OzeL88//qZ/9lXLuYHQWDFI0Y5AUtnOUqXCSx8YE6Y8Nx0myd\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"regions-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}},{"profile":"regions-mfe","file":"regions-mfe.vue","description":"The composite the Driver asked for: ONE element carrying the SELECT VIEW switcher","element":"regions-dashboard","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./regions-dashboard/regions-mfe/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/regions-mfe/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-+z7qRIJAEJa+7I4OzeL88//qZ/9lXLuYHQWDFI0Y5AUtnOUqXCSx8YE6Y8Nx0myd\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"regions-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}}]},{"bundle":"research-dashboard","scriptUrl":"./research-dashboard/research-dashboard.js","output":"doxa-maps/research-dashboard/research-dashboard.js","integrity":"sha384-VvOYWBcDd7NtnB1eveECKX88ZHIpGnOf79tVdCUqGZzXLgoZPc+oTTPIC3ajaYsn","elements":["research-dashboard-map"],"profiles":[{"profile":"research-dashboard","file":"research-dashboard.vue","description":"Coordinated-Multiple-Views research dashboard for 10/40-window UPGs (live pray.doxa.life): docked facet rail + map-as-hero + linked table/charts, brushing-and-linking over one in-memory store.","element":"research-dashboard-map","type":"monolithic","isMap":true,"iframeUrl":"./research-dashboard/research-dashboard/index.html","scriptUrl":"./research-dashboard/research-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./research-dashboard/research-dashboard/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./research-dashboard/research-dashboard.js\" integrity=\"sha384-VvOYWBcDd7NtnB1eveECKX88ZHIpGnOf79tVdCUqGZzXLgoZPc+oTTPIC3ajaYsn\" crossorigin=\"anonymous\">\u003c/script>\n\u003cresearch-dashboard-map profile-config='{\"profile\":\"research-dashboard\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/research-dashboard-map>"},"bundle":"research-dashboard"}]},{"bundle":"research-map-plus-grid","scriptUrl":"./research-map-plus-grid/research-map-plus-grid.js","output":"doxa-maps/research-map-plus-grid/research-map-plus-grid.js","integrity":"sha384-sOkaMV0UFr2uNXfoJpRvaD+gHD6xFlkmpR7MzEwwFdarYdid8aN9Nj1Y8TqQJuFo","elements":["research-map-plus-grid"],"composes":["doxa-research-map","people-groups-grid"],"profiles":[{"profile":"research-map-plus-grid","file":"research-map-plus-grid.vue","description":"The monolithic 7-tab research map (cap-3) on top, the People Groups grid beneath,","element":"research-map-plus-grid","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./research-map-plus-grid/research-map-plus-grid/index.html","scriptUrl":"./research-map-plus-grid/research-map-plus-grid.js","embed":{"iframe":"\u003ciframe src=\"./research-map-plus-grid/research-map-plus-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./research-map-plus-grid/research-map-plus-grid.js\" integrity=\"sha384-sOkaMV0UFr2uNXfoJpRvaD+gHD6xFlkmpR7MzEwwFdarYdid8aN9Nj1Y8TqQJuFo\" crossorigin=\"anonymous\">\u003c/script>\n\u003cresearch-map-plus-grid profile-config='{\"profile\":\"research-map-plus-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/research-map-plus-grid>"},"instances":[{"id":"default","title":"default","apiBaseUrl":"","props":{"profile":"research-map-plus-grid"},"element":"research-map-plus-grid","iframeUrl":"./research-map-plus-grid/research-map-plus-grid/default/index.html","embed":{"iframe":"\u003ciframe src=\"./research-map-plus-grid/research-map-plus-grid/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"stack-demo","scriptUrl":"./stack-demo/stack-demo.js","output":"doxa-maps/stack-demo/stack-demo.js","integrity":"sha384-gnwM6s+puf1K60Nl7crQcC2QC+9BxwpkaTx4OepLZ8VUCraZc+aRlWpsb6nj6Gyf","elements":["stack-demo"],"composes":["research-dashboard-map","people-groups-grid"],"profiles":[{"profile":"stack-demo","file":"stack-demo.vue","description":"Groups TWO independent elements TOP-TO-BOTTOM so you can embed the pair on a page and","element":"stack-demo","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./stack-demo/stack-demo/index.html","scriptUrl":"./stack-demo/stack-demo.js","embed":{"iframe":"\u003ciframe src=\"./stack-demo/stack-demo/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./stack-demo/stack-demo.js\" integrity=\"sha384-gnwM6s+puf1K60Nl7crQcC2QC+9BxwpkaTx4OepLZ8VUCraZc+aRlWpsb6nj6Gyf\" crossorigin=\"anonymous\">\u003c/script>\n\u003cstack-demo profile-config='{\"profile\":\"stack-demo\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/stack-demo>"},"instances":[{"id":"pair","title":"pair","apiBaseUrl":"","props":{"profile":"stack-demo"},"element":"stack-demo","iframeUrl":"./stack-demo/stack-demo/pair/index.html","embed":{"iframe":"\u003ciframe src=\"./stack-demo/stack-demo/pair/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"template-bundle","scriptUrl":"./template-bundle/template-bundle.js","output":"doxa-maps/template-bundle/template-bundle.js","integrity":"sha384-k+G5UlkZ99QmuecCCWUrjz998JBJnQT3hsDG0A+IVmiX9F3CNswmHXXzYhjnUTDX","elements":["template-bundle"],"profiles":[{"profile":"template-map-a","file":"template-map-a.vue","description":"Minimal example profile A — a colored placeholder, no Mapbox or data.","element":"template-bundle","type":"single","isMap":false,"iframeUrl":"./template-bundle/template-map-a/index.html","scriptUrl":"./template-bundle/template-bundle.js","embed":{"iframe":"\u003ciframe src=\"./template-bundle/template-map-a/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./template-bundle/template-bundle.js\" integrity=\"sha384-k+G5UlkZ99QmuecCCWUrjz998JBJnQT3hsDG0A+IVmiX9F3CNswmHXXzYhjnUTDX\" crossorigin=\"anonymous\">\u003c/script>\n\u003ctemplate-bundle profile-config='{\"profile\":\"template-map-a\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/template-bundle>"},"bundle":"template-bundle"},{"profile":"template-map-b","file":"template-map-b.vue","description":"Minimal example profile B — a second profile in the same bundle.","element":"template-bundle","type":"single","isMap":false,"iframeUrl":"./template-bundle/template-map-b/index.html","scriptUrl":"./template-bundle/template-bundle.js","embed":{"iframe":"\u003ciframe src=\"./template-bundle/template-map-b/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./template-bundle/template-bundle.js\" integrity=\"sha384-k+G5UlkZ99QmuecCCWUrjz998JBJnQT3hsDG0A+IVmiX9F3CNswmHXXzYhjnUTDX\" crossorigin=\"anonymous\">\u003c/script>\n\u003ctemplate-bundle profile-config='{\"profile\":\"template-map-b\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/template-bundle>"},"bundle":"template-bundle"}]}]}; \n\n" + "script": "\n\n" } }, { @@ -131,7 +131,7 @@ "scriptUrl": "./cities-internet/cities-internet.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -145,7 +145,7 @@ "scriptUrl": "./cities-internet/cities-internet.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } } ] From 12e4c5e8f7b794b5f4b8bbca684eeb134ab8bf00 Mon Sep 17 00:00:00 2001 From: doxa-maps-88655c70 <88627970+doxa-maps-88655c70@users.noreply.github.com> Date: Thu, 24 Sep 2026 03:20:44 +0000 Subject: [PATCH 05/18] resources-map honours the provider switch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The last leaf the sweep found still pinned to Mapbox. Like connectivity-map and my-upg-100-list it builds its map RAW (new gl.Map on window.mapboxgl), so the resolution useMapInstance performs for every other bundle never reached it: MEASURED at ?provider=maplibre it made 18 requests to api.mapbox.com, identical to its mapbox run. Same fix, third application, deliberately identical: the engine comes from the shared ensureEngineScript/engineGlobal, and the two hardcoded mapbox:// style URLs are paired through the registry — 'ink' (dark-v11 / OpenFreeMap dark) and 'paper' (light-v11 / positron). The engine loader is imported, never re-declared. No geocoder is mounted here, so the deferred-search-bar rule does not apply and nothing about search behaviour changed. MEASURED on the built tree: mapbox canvas=1 18 mapbox requests (unchanged) maplibre canvas=1 4 mapbox requests maplibregl loaded Screenshot read: positron basemap, the gospel-resource gap choropleth, its legend and controls all intact. gates:pre 0. gates:post is 17/18 and the single failure is verify, which is the PRE-EXISTING tables-complete break: commit 4475581 deliberately deleted field-access-visas.json to close a visa-data leak while index.json still declares it. 4475581 is an ancestor of main, so main was already red before this flight. Filed as BUG-TABLES-COMPLETE-RED-AFTER-VISA-LEAK-FIX; not touched here, because guessing risks re-adding leaked data. --- .../gospel-resources/resources-map.vue | 22 ++++++++-- .../gospel-resources/charts/index.html | 2 +- .../gospel-resources/data-tables/index.html | 2 +- .../gospel-resources/gospel-resources.js | 40 +++++++++---------- .../resources-list/index.html | 2 +- .../gospel-resources/resources-map/index.html | 2 +- public/doxa-maps/index.html | 2 +- public/doxa-maps/manifest.json | 10 ++--- 8 files changed, 49 insertions(+), 33 deletions(-) diff --git a/plugin-designs/gospel-resources/resources-map.vue b/plugin-designs/gospel-resources/resources-map.vue index 5e87678cd..be7834ee8 100644 --- a/plugin-designs/gospel-resources/resources-map.vue +++ b/plugin-designs/gospel-resources/resources-map.vue @@ -67,10 +67,22 @@ import LocationButton from '@map/components/map-controls/LocationButton.vue' import FullscreenButton from '@map/components/map-controls/FullscreenButton.vue' import ShareButton from '@map/components/map-controls/ShareButton.vue' import { resolveAssetsBase } from '@map/utils/embedBase.js' +import { resolveMapProvider } from '@map/composables/useMapProvider.js' +import { ensureEngineScript, engineGlobal } from '@map/composables/useMapInstance.js' +import { resolveNamedStyle } from '@map/styles/registry.js' const profileConfig = inject('profileConfig', ref(null)) const isDark = computed(() => profileConfig.value?.isDark === true) const mapboxToken = computed(() => profileConfig.value?.tk || window.DOXA_TOKEN || '') + +// ── HONOUR THE PROVIDER SWITCH: this profile builds its map RAW ───────────── +// Bundles that go through useMapInstance get the switch for free; this one calls `new gl.Map` +// directly, so it never saw it. MEASURED by sweeping all 16 isMap leaves: at ?provider=maplibre +// this leaf still loaded Mapbox and made 18 requests to api.mapbox.com, identical to its mapbox +// run. Same shape and same fix as cities-internet/connectivity-map and my-upg-100-list; the engine +// loader is IMPORTED from useMapInstance, never a second copy of the ENGINES table. +// No geocoder is mounted here, so the deferred-search-bar rule does not apply to this profile. +const grProvider = resolveMapProvider(profileConfig) const assetsBase = computed(() => resolveAssetsBase(profileConfig.value)) const mapEl = ref(null) @@ -287,13 +299,17 @@ function paint(map, adm0) { } onMounted(async () => { - const gl = window.mapboxgl - if (!gl || !mapEl.value) { err.value = 'mapbox-gl not loaded'; return } + try { await ensureEngineScript(grProvider) } catch (_) { /* fall through to the notice below */ } + const gl = engineGlobal(grProvider) || window.mapboxgl + if (!gl || !mapEl.value) { err.value = 'map engine not loaded'; return } try { const adm0 = await load() const map = new gl.Map({ container: mapEl.value, - style: isDark.value ? 'mapbox://styles/mapbox/dark-v11' : 'mapbox://styles/mapbox/light-v11', + // Paired through the registry so both engines show one intent: 'ink' is the near-black entry + // (mapbox dark-v11 / OpenFreeMap dark), 'paper' the near-white one (light-v11 / positron). + style: resolveNamedStyle(isDark.value ? 'ink' : 'paper', grProvider).style + || (isDark.value ? 'mapbox://styles/mapbox/dark-v11' : 'mapbox://styles/mapbox/light-v11'), accessToken: mapboxToken.value, center: [42, 18], zoom: 1.3, projection: 'mercator', attributionControl: false, }) diff --git a/public/doxa-maps/gospel-resources/charts/index.html b/public/doxa-maps/gospel-resources/charts/index.html index 903545827..3ccf0d05d 100644 --- a/public/doxa-maps/gospel-resources/charts/index.html +++ b/public/doxa-maps/gospel-resources/charts/index.html @@ -26,7 +26,7 @@ - + - + - + - + + window.FORGE.manifest = {"schema":"doxa-maps-manifest@1","generatedFrom":"plugin-designs/*/*.vue","embedBase":".","bundleCount":21,"profileCount":32,"bundles":[{"bundle":"all-people-groups","scriptUrl":"./all-people-groups/all-people-groups.js","output":"doxa-maps/all-people-groups/all-people-groups.js","integrity":"sha384-cqk7oshuPW5FdnbZ/DyfBBXN2FObAI+V1jrbxmZR2xzNiBtWG65PETQ5/w5PCDB2","elements":["all-people-groups"],"profiles":[{"profile":"all-people-groups","file":"all-people-groups.vue","description":"All 12,379 people groups (peoplegroups.org) in four colors — reached,","element":"all-people-groups","type":"single","isMap":true,"iframeUrl":"./all-people-groups/all-people-groups/index.html","scriptUrl":"./all-people-groups/all-people-groups.js","embed":{"iframe":"\u003ciframe src=\"./all-people-groups/all-people-groups/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./all-people-groups/all-people-groups.js\" integrity=\"sha384-cqk7oshuPW5FdnbZ/DyfBBXN2FObAI+V1jrbxmZR2xzNiBtWG65PETQ5/w5PCDB2\" crossorigin=\"anonymous\">\u003c/script>\n\u003call-people-groups profile-config='{\"profile\":\"all-people-groups\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/all-people-groups>"},"bundle":"all-people-groups"}]},{"bundle":"big-picture","scriptUrl":"./big-picture/big-picture.js","output":"doxa-maps/big-picture/big-picture.js","integrity":"sha384-v0b+aZ7TBxmgUIBBLdKEm6HzwjY3jAGyOFNsKeKCKY4EIRpiWRTcNLavAitHRt8h","elements":["bp-big-picture","bp-research-header","people-groups-grid"],"composes":["bp-research-header","people-groups-grid"],"profiles":[{"profile":"big-picture","file":"big-picture.vue","description":"The Cat-4 composite that PAIRS the two real capability elements of the","element":"bp-big-picture","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./big-picture/big-picture/index.html","scriptUrl":"./big-picture/big-picture.js","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./big-picture/big-picture.js\" integrity=\"sha384-v0b+aZ7TBxmgUIBBLdKEm6HzwjY3jAGyOFNsKeKCKY4EIRpiWRTcNLavAitHRt8h\" crossorigin=\"anonymous\">\u003c/script>\n\u003cbp-big-picture profile-config='{\"profile\":\"big-picture\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/bp-big-picture>"},"instances":[{"id":"big-picture","title":"Big Picture — research header ↔ people-groups grid (composite)","apiBaseUrl":"","props":{"profile":"big-picture","provider":"maplibre","instanceId":"bp-big-picture"},"element":"bp-big-picture","iframeUrl":"./big-picture/big-picture/big-picture/index.html","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/big-picture/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"frontier","title":"Big Picture — frontier accent","apiBaseUrl":"","props":{"profile":"big-picture","provider":"maplibre","instanceId":"bp-big-picture-frontier","accent":"#22d3ee","title":"Big Picture — Frontier Focus"},"element":"bp-big-picture","iframeUrl":"./big-picture/big-picture/frontier/index.html","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/frontier/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"big-picture"}]},{"bundle":"cities-internet","scriptUrl":"./cities-internet/cities-internet.js","output":"doxa-maps/cities-internet/cities-internet.js","integrity":"sha384-tNig8gXdCocWVKD5iXR6iRqiAr7msWFtcFKzYif0L0G5i/RM+HI+SO8oR5c6O+5R","elements":["cities-internet-map"],"profiles":[{"profile":"connectivity-list","file":"connectivity-list.vue","description":"Countries where DX people groups live, grouped by region, showing measured internet penetration","element":"cities-internet-map","type":"single","isMap":false,"iframeUrl":"./cities-internet/connectivity-list/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/connectivity-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-tNig8gXdCocWVKD5iXR6iRqiAr7msWFtcFKzYif0L0G5i/RM+HI+SO8oR5c6O+5R\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"connectivity-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}},{"profile":"connectivity-map","file":"connectivity-map.vue","description":"Every country shaded by measured internet penetration, with its named carriers and dominant","element":"cities-internet-map","type":"single","isMap":true,"iframeUrl":"./cities-internet/connectivity-map/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/connectivity-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-tNig8gXdCocWVKD5iXR6iRqiAr7msWFtcFKzYif0L0G5i/RM+HI+SO8oR5c6O+5R\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"connectivity-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}},{"profile":"data-tables","file":"data-tables.vue","description":"Four validated research tables, one tab each, with sortable and filterable columns, CSV and JSON","element":"cities-internet-map","type":"single","isMap":false,"iframeUrl":"./cities-internet/data-tables/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/data-tables/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-tNig8gXdCocWVKD5iXR6iRqiAr7msWFtcFKzYif0L0G5i/RM+HI+SO8oR5c6O+5R\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"data-tables\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}}]},{"bundle":"country-posters","scriptUrl":"./country-posters/country-posters.js","output":"doxa-maps/country-posters/country-posters.js","integrity":"sha384-kbTr53oyqrMpgr620HR4W8vLXxT4Ulo5EeCoHebbMjGns5rwNvJP2BLuPyo5XVJj","elements":["country-posters-map"],"profiles":[{"profile":"countries-map","file":"countries-map.vue","description":"The researcher's workbench retargeted from people groups to COUNTRIES — region","element":"country-posters-map","type":"single","isMap":true,"iframeUrl":"./country-posters/countries-map/index.html","scriptUrl":"./country-posters/country-posters.js","embed":{"iframe":"\u003ciframe src=\"./country-posters/countries-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./country-posters/country-posters.js\" integrity=\"sha384-kbTr53oyqrMpgr620HR4W8vLXxT4Ulo5EeCoHebbMjGns5rwNvJP2BLuPyo5XVJj\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccountry-posters-map profile-config='{\"profile\":\"countries-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/country-posters-map>"}},{"profile":"country-poster-wall","file":"country-poster-wall.vue","description":"One printable card per country, grouped into COLLAPSIBLE regional sections so the","element":"country-posters-map","type":"single","isMap":false,"iframeUrl":"./country-posters/country-poster-wall/index.html","scriptUrl":"./country-posters/country-posters.js","embed":{"iframe":"\u003ciframe src=\"./country-posters/country-poster-wall/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./country-posters/country-posters.js\" integrity=\"sha384-kbTr53oyqrMpgr620HR4W8vLXxT4Ulo5EeCoHebbMjGns5rwNvJP2BLuPyo5XVJj\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccountry-posters-map profile-config='{\"profile\":\"country-poster-wall\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/country-posters-map>"}}]},{"bundle":"dashboard-plus-grid","scriptUrl":"./dashboard-plus-grid/dashboard-plus-grid.js","output":"doxa-maps/dashboard-plus-grid/dashboard-plus-grid.js","integrity":"sha384-YbJgljynZ4t3/Ro44oHQy9ihl9/5o7j4IKts8MNRfA73Cb5cyD7U52DklXjzpLpG","elements":["dashboard-plus-grid"],"composes":["research-dashboard","people-groups-grid"],"profiles":[{"profile":"dashboard-plus-grid","file":"dashboard-plus-grid.vue","description":"Both children are IMPORTED DIRECTLY (compiled into this ONE bundle — no runtime bundle","element":"dashboard-plus-grid","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./dashboard-plus-grid/dashboard-plus-grid/index.html","scriptUrl":"./dashboard-plus-grid/dashboard-plus-grid.js","embed":{"iframe":"\u003ciframe src=\"./dashboard-plus-grid/dashboard-plus-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./dashboard-plus-grid/dashboard-plus-grid.js\" integrity=\"sha384-YbJgljynZ4t3/Ro44oHQy9ihl9/5o7j4IKts8MNRfA73Cb5cyD7U52DklXjzpLpG\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdashboard-plus-grid profile-config='{\"profile\":\"dashboard-plus-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/dashboard-plus-grid>"},"instances":[{"id":"default","title":"default","apiBaseUrl":"","props":{"profile":"dashboard-plus-grid"},"element":"dashboard-plus-grid","iframeUrl":"./dashboard-plus-grid/dashboard-plus-grid/default/index.html","embed":{"iframe":"\u003ciframe src=\"./dashboard-plus-grid/dashboard-plus-grid/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"demo-map","scriptUrl":"./demo-map/demo-map.js","output":"doxa-maps/demo-map/demo-map.js","integrity":"sha384-QiUJUgeFn27tiHKVhAYtJuIWo+1z5xsCUP1Nj4m1H4cFUV3vUA7ADTP58Ky3oVtQ","elements":["demo-map"],"profiles":[{"profile":"demo-map","file":"demo-map.vue","description":"Simple two-tab demo map. Tab 1 colors pins by religion (shared","element":"demo-map","type":"parameterized","isMap":true,"iframeUrl":"./demo-map/demo-map/index.html","scriptUrl":"./demo-map/demo-map.js","embed":{"iframe":"\u003ciframe src=\"./demo-map/demo-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./demo-map/demo-map.js\" integrity=\"sha384-QiUJUgeFn27tiHKVhAYtJuIWo+1z5xsCUP1Nj4m1H4cFUV3vUA7ADTP58Ky3oVtQ\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdemo-map profile-config='{\"profile\":\"demo-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/demo-map>"},"instances":[{"id":"maplibre","title":"Demo map — MapLibre (token-free)","apiBaseUrl":"","props":{"profile":"demo-map","provider":"maplibre","instanceId":"demo-maplibre"},"element":"demo-map","iframeUrl":"./demo-map/demo-map/maplibre/index.html","embed":{"iframe":"\u003ciframe src=\"./demo-map/demo-map/maplibre/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"demo-map"}]},{"bundle":"doxa-maps-spa","scriptUrl":"./doxa-maps-spa/doxa-maps-spa.js","output":"doxa-maps/doxa-maps-spa/doxa-maps-spa.js","integrity":"sha384-Ce+DKsLgwfej+rgoWeaWFuMMbR3Y4H+8io/lVL+lQfX0O3iGKwDLf4remDkHGCrP","elements":["doxa-maps-spa"],"composes":["bp-big-picture","doxa-research-map","doxa-simple-map","cities-internet-map","gospel-resources-map","my-upg-100-list-map"],"profiles":[{"profile":"doxa-maps-spa","file":"doxa-maps-spa.vue","description":"The DX-maps app itself: one element whose vertical-tab rail nests every other","element":"doxa-maps-spa","type":"nested-mfe-spa","isMap":false,"iframeUrl":"./doxa-maps-spa/doxa-maps-spa/index.html","scriptUrl":"./doxa-maps-spa/doxa-maps-spa.js","embed":{"iframe":"\u003ciframe src=\"./doxa-maps-spa/doxa-maps-spa/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-maps-spa/doxa-maps-spa.js\" integrity=\"sha384-Ce+DKsLgwfej+rgoWeaWFuMMbR3Y4H+8io/lVL+lQfX0O3iGKwDLf4remDkHGCrP\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-maps-spa profile-config='{\"profile\":\"doxa-maps-spa\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-maps-spa>"},"instances":[{"id":"app","title":"DX-Maps SPA — Big Picture + every research map (app-shell)","apiBaseUrl":"","props":{"profile":"doxa-maps-spa","provider":"maplibre","instanceId":"doxa-maps-spa-app","title":"DX-Maps"},"element":"doxa-maps-spa","iframeUrl":"./doxa-maps-spa/doxa-maps-spa/app/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-maps-spa/doxa-maps-spa/app/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-research-map","scriptUrl":"./doxa-research-map/doxa-research-map.js","output":"doxa-maps/doxa-research-map/doxa-research-map.js","integrity":"sha384-m4l+f0dtSiobgVmlkVLdbrLtQ1XwOTEmN2S++QZFqsYdTeEVuSDMl96aTudjoqB4","elements":["doxa-research-map"],"profiles":[{"profile":"research-map","file":"research-map.vue","description":"The researcher's workbench: every piece a missiologist, demographer or","element":"doxa-research-map","type":"monolithic","isMap":true,"iframeUrl":"./doxa-research-map/research-map/index.html","scriptUrl":"./doxa-research-map/doxa-research-map.js","embed":{"iframe":"\u003ciframe src=\"./doxa-research-map/research-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-research-map/doxa-research-map.js\" integrity=\"sha384-m4l+f0dtSiobgVmlkVLdbrLtQ1XwOTEmN2S++QZFqsYdTeEVuSDMl96aTudjoqB4\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-research-map profile-config='{\"profile\":\"research-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-research-map>"},"instances":[{"id":"maplibre","title":"Research map — MapLibre (token-free, no search bar)","apiBaseUrl":"","props":{"profile":"research-map","provider":"maplibre","instanceId":"research-map-maplibre"},"element":"doxa-research-map","iframeUrl":"./doxa-research-map/research-map/maplibre/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-research-map/research-map/maplibre/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-simple-map","scriptUrl":"./doxa-simple-map/doxa-simple-map.js","output":"doxa-maps/doxa-simple-map/doxa-simple-map.js","integrity":"sha384-hzEui48BqpW8VhRthz3daMgAdw4w4M3gtBre4ce4sXuAmS+39pMRW9reNAvpFb+W","elements":["doxa-map","doxa-simple-map"],"profiles":[{"profile":"doxa-simple-map","file":"doxa-simple-map.vue","description":"The simple world map, shipped as three presets off ONE prop table —","element":"doxa-map","type":"parameterized","isMap":true,"iframeUrl":"./doxa-simple-map/doxa-simple-map/index.html","scriptUrl":"./doxa-simple-map/doxa-simple-map.js","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-simple-map/doxa-simple-map.js\" integrity=\"sha384-hzEui48BqpW8VhRthz3daMgAdw4w4M3gtBre4ce4sXuAmS+39pMRW9reNAvpFb+W\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-map profile-config='{\"profile\":\"doxa-simple-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-map>"},"instances":[{"id":"prayer","title":"Prayer Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-prayer","dataSource":"pray-tools","tabs":[{"id":"prayer","colorStrategy":"prayer","legend":"prayer","popup":"prayer"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/prayer/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/prayer/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"engagement","title":"Engagement Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-engagement","dataSource":"pray-tools","tabs":[{"id":"engagement","colorStrategy":"engagement","legend":"engagement","popup":"engagement"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/engagement/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/engagement/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"adoption","title":"Adoption Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-adoption","dataSource":"pray-tools","tabs":[{"id":"adoption","colorStrategy":"adoption","legend":"adoption","popup":"adoption"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/adoption/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/adoption/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-vision-card","scriptUrl":"./doxa-vision-card/doxa-vision-card.js","output":"doxa-maps/doxa-vision-card/doxa-vision-card.js","integrity":"sha384-2mza3cltN5LQQIrlENG/IVL6Icd9zzcFve3E8R8VWuCdYOGW9uGKFvxcbu6eFfwn","elements":["doxa-vision-card"],"profiles":[{"profile":"doxa-vision-card","file":"doxa-vision-card.vue","description":"The Capability-1 example: ONE folder -> ONE bundle -> ONE element.","element":"doxa-vision-card","type":"parameterized","isMap":false,"iframeUrl":"./doxa-vision-card/doxa-vision-card/index.html","scriptUrl":"./doxa-vision-card/doxa-vision-card.js","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-vision-card/doxa-vision-card.js\" integrity=\"sha384-2mza3cltN5LQQIrlENG/IVL6Icd9zzcFve3E8R8VWuCdYOGW9uGKFvxcbu6eFfwn\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-vision-card profile-config='{\"profile\":\"doxa-vision-card\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-vision-card>"},"instances":[{"id":"default","title":"Vision card — reach at a glance","apiBaseUrl":"","props":{"profile":"doxa-vision-card","provider":"maplibre","instanceId":"vision-card-default"},"element":"doxa-vision-card","iframeUrl":"./doxa-vision-card/doxa-vision-card/default/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"frontier","title":"Vision card — frontier accent","apiBaseUrl":"","props":{"profile":"doxa-vision-card","provider":"maplibre","instanceId":"vision-card-frontier","accent":"#22d3ee","title":"The last frontier of the gospel.","tagline":"Frontier people groups — where fewer than one in a thousand follow Jesus.","stats":[{"value":"1,910","label":"Frontier groups","note":"under 0.1% believers"},{"value":"2.1B","label":"People","note":"living in frontier settings"},{"value":"0.1%","label":"Christian","note":"or fewer, in each group"}]},"element":"doxa-vision-card","iframeUrl":"./doxa-vision-card/doxa-vision-card/frontier/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/frontier/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"doxa-vision-card"}]},{"bundle":"golden-path-check","scriptUrl":"./golden-path-check/golden-path-check.js","output":"doxa-maps/golden-path-check/golden-path-check.js","integrity":"sha384-1V/sT5SkV0U9yTCK9ELIOFfU1ZIJkInIF6nG3UllJ4dxax3RsEAupSGLJEFK6e14","elements":["golden-path-check"],"profiles":[{"profile":"golden-path-check","file":"golden-path-check.vue","description":"A live self-test of the develop-a-plugin-and-see-it-live path: it reads the built","element":"golden-path-check","type":"single","isMap":false,"iframeUrl":"./golden-path-check/golden-path-check/index.html","scriptUrl":"./golden-path-check/golden-path-check.js","embed":{"iframe":"\u003ciframe src=\"./golden-path-check/golden-path-check/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./golden-path-check/golden-path-check.js\" integrity=\"sha384-1V/sT5SkV0U9yTCK9ELIOFfU1ZIJkInIF6nG3UllJ4dxax3RsEAupSGLJEFK6e14\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgolden-path-check profile-config='{\"profile\":\"golden-path-check\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/golden-path-check>"}}]},{"bundle":"gospel-resources","scriptUrl":"./gospel-resources/gospel-resources.js","output":"doxa-maps/gospel-resources/gospel-resources.js","integrity":"sha384-4pOAnuuOovcKXSQANV9jnLu1ExxiwQMuC4aU5MtAsd959tYmdUj05u4tT57Z/rKI","elements":["gospel-resources-map"],"profiles":[{"profile":"charts","file":"charts.vue","description":"The gap by LANGUAGE (ISO 639-3) rather than by people group — because one translation serves every","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/charts/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/charts/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-4pOAnuuOovcKXSQANV9jnLu1ExxiwQMuC4aU5MtAsd959tYmdUj05u4tT57Z/rKI\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"charts\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"data-tables","file":"data-tables.vue","description":"Two validated tables: what resources exist per people group, and whether that access is keeping","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/data-tables/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/data-tables/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-4pOAnuuOovcKXSQANV9jnLu1ExxiwQMuC4aU5MtAsd959tYmdUj05u4tT57Z/rKI\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"data-tables\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"resources-list","file":"resources-list.vue","description":"Which DX people groups have scripture in their own language, and which have none. The zero-resource","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/resources-list/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/resources-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-4pOAnuuOovcKXSQANV9jnLu1ExxiwQMuC4aU5MtAsd959tYmdUj05u4tT57Z/rKI\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"resources-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"resources-map","file":"resources-map.vue","description":"Every country shaded by how much of its unengaged population has NO gospel resource in their own","element":"gospel-resources-map","type":"single","isMap":true,"iframeUrl":"./gospel-resources/resources-map/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/resources-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-4pOAnuuOovcKXSQANV9jnLu1ExxiwQMuC4aU5MtAsd959tYmdUj05u4tT57Z/rKI\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"resources-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}}]},{"bundle":"my-upg-100-list","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","output":"doxa-maps/my-upg-100-list/my-upg-100-list.js","integrity":"sha384-Q0oRTPiR5rCbGuYjqx06LU6ngVOJflT7LZIevgE0eGypVGomWEPkzJcpmSaEEOW6","elements":["my-upg-100-list-map"],"composes":["my-upg-100-list/upg-100-list","my-upg-100-list/poster-wall"],"profiles":[{"profile":"poster-wall","file":"poster-wall.vue","description":"A wall of printable poster cards, one per 100-list entry, each with a \"Show on map\" action that","element":"my-upg-100-list-map","type":"single","isMap":true,"iframeUrl":"./my-upg-100-list/poster-wall/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/poster-wall/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-Q0oRTPiR5rCbGuYjqx06LU6ngVOJflT7LZIevgE0eGypVGomWEPkzJcpmSaEEOW6\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"poster-wall\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}},{"profile":"upg-100-list","file":"upg-100-list.vue","description":"A personal unreached-people-groups list painted as true boundary polygons —","element":"my-upg-100-list-map","type":"single","isMap":true,"iframeUrl":"./my-upg-100-list/upg-100-list/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/upg-100-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-Q0oRTPiR5rCbGuYjqx06LU6ngVOJflT7LZIevgE0eGypVGomWEPkzJcpmSaEEOW6\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"upg-100-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}},{"profile":"upg-100-mfe","file":"upg-100-mfe.vue","description":"The standalone, shareable and embeddable composite of the my-upg-100-list family — it nests the map","element":"my-upg-100-list-map","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./my-upg-100-list/upg-100-mfe/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/upg-100-mfe/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-Q0oRTPiR5rCbGuYjqx06LU6ngVOJflT7LZIevgE0eGypVGomWEPkzJcpmSaEEOW6\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"upg-100-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}}]},{"bundle":"people-groups-grid","scriptUrl":"./people-groups-grid/people-groups-grid.js","output":"doxa-maps/people-groups-grid/people-groups-grid.js","integrity":"sha384-wyfAzVfoufR5FaDoo3DSivtV33qOexc7PhDYZkXlYmru5FqZgncuUos3nN0kkMJL","elements":["people-groups-grid"],"profiles":[{"profile":"people-groups-grid","file":"people-groups-grid.vue","description":"The people-groups grid as an owned custom element: card list, search and four","element":"people-groups-grid","type":"parameterized","isMap":false,"iframeUrl":"./people-groups-grid/people-groups-grid/index.html","scriptUrl":"./people-groups-grid/people-groups-grid.js","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./people-groups-grid/people-groups-grid.js\" integrity=\"sha384-wyfAzVfoufR5FaDoo3DSivtV33qOexc7PhDYZkXlYmru5FqZgncuUos3nN0kkMJL\" crossorigin=\"anonymous\">\u003c/script>\n\u003cpeople-groups-grid profile-config='{\"profile\":\"people-groups-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/people-groups-grid>"},"instances":[{"id":"people-groups-grid","title":"People Groups Grid — standalone (own search + 4 dropdowns)","apiBaseUrl":"","props":{"profile":"people-groups-grid","provider":"maplibre","instanceId":"people-groups-grid","pray-base-url":"https://pray.doxa.life"},"element":"people-groups-grid","iframeUrl":"./people-groups-grid/people-groups-grid/people-groups-grid/index.html","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/people-groups-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"driven","title":"People Groups Grid — externally driven (controls off, props/events)","apiBaseUrl":"","props":{"profile":"people-groups-grid","provider":"maplibre","instanceId":"people-groups-grid-driven","pray-base-url":"https://pray.doxa.life","show-search":"false","show-filters":"false"},"element":"people-groups-grid","iframeUrl":"./people-groups-grid/people-groups-grid/driven/index.html","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/driven/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"plugin-studio","scriptUrl":"./plugin-studio/plugin-studio.js","output":"doxa-maps/plugin-studio/plugin-studio.js","integrity":"sha384-2RlLFRU2XdjBN7w+FPguj8INgj57JFg4IFT2AmdefGnR9QQLehbiiAffV45LcsFH","elements":["plugin-studio"],"composes":["bp-big-picture","people-groups-grid","doxa-research-map","doxa-simple-map","cities-internet-map","gospel-resources-map","my-upg-100-list-map","doxa-vision-card","all-people-groups","research-dashboard"],"profiles":[{"profile":"plugin-studio","file":"plugin-studio.vue","description":"The developer's viewing surface: a sidebar that is the composability ladder","element":"plugin-studio","type":"nested-mfe-spa","isMap":false,"iframeUrl":"./plugin-studio/plugin-studio/index.html","scriptUrl":"./plugin-studio/plugin-studio.js","embed":{"iframe":"\u003ciframe src=\"./plugin-studio/plugin-studio/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./plugin-studio/plugin-studio.js\" integrity=\"sha384-2RlLFRU2XdjBN7w+FPguj8INgj57JFg4IFT2AmdefGnR9QQLehbiiAffV45LcsFH\" crossorigin=\"anonymous\">\u003c/script>\n\u003cplugin-studio profile-config='{\"profile\":\"plugin-studio\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/plugin-studio>"},"instances":[{"id":"studio","title":"Plugin Studio — every element by capability 5 -> 1 (developer studio)","apiBaseUrl":"","props":{"profile":"plugin-studio","provider":"maplibre","instanceId":"plugin-studio","title":"Plugin Studio"},"element":"plugin-studio","iframeUrl":"./plugin-studio/plugin-studio/studio/index.html","embed":{"iframe":"\u003ciframe src=\"./plugin-studio/plugin-studio/studio/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"prayer-walk-planner","scriptUrl":"./prayer-walk-planner/prayer-walk-planner.js","output":"doxa-maps/prayer-walk-planner/prayer-walk-planner.js","integrity":"sha384-F0+r4avX8xkXp0hBpU5EBPU0InMRCObIn2Ieh9HJNn1r2amk8/qHmJ68WuNfsirC","elements":["prayer-walk-planner"],"profiles":[{"profile":"prayer-walk-planner","file":"prayer-walk-planner.vue","description":"A simple polygon-drawing tool for planning prayer-walking routes.","element":"prayer-walk-planner","type":"single","isMap":true,"iframeUrl":"./prayer-walk-planner/prayer-walk-planner/index.html","scriptUrl":"./prayer-walk-planner/prayer-walk-planner.js","embed":{"iframe":"\u003ciframe src=\"./prayer-walk-planner/prayer-walk-planner/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./prayer-walk-planner/prayer-walk-planner.js\" integrity=\"sha384-F0+r4avX8xkXp0hBpU5EBPU0InMRCObIn2Ieh9HJNn1r2amk8/qHmJ68WuNfsirC\" crossorigin=\"anonymous\">\u003c/script>\n\u003cprayer-walk-planner profile-config='{\"profile\":\"prayer-walk-planner\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/prayer-walk-planner>"}}]},{"bundle":"regions-dashboard","scriptUrl":"./regions-dashboard/regions-dashboard.js","output":"doxa-maps/regions-dashboard/regions-dashboard.js","integrity":"sha384-pUQBtbB29Jo9rUXZKWEPKnp+qU8zk70BS9rvrfxlb1J7cOJM4llb/jsqN9qZ07V7","elements":["regions-dashboard"],"composes":["regions-dashboard/regions-list","regions-dashboard/region-dashboards"],"profiles":[{"profile":"region-dashboards","file":"region-dashboards.vue","description":"The dashboard half of the Driver's 2-tab Regions element: given a region (or a","element":"regions-dashboard","type":"single","isMap":true,"iframeUrl":"./regions-dashboard/region-dashboards/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/region-dashboards/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-pUQBtbB29Jo9rUXZKWEPKnp+qU8zk70BS9rvrfxlb1J7cOJM4llb/jsqN9qZ07V7\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"region-dashboards\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}},{"profile":"regions-list","file":"regions-list.vue","description":"A refactor of DX-life's /regions index page (app/pages/regions/index.vue) into","element":"regions-dashboard","type":"single","isMap":true,"iframeUrl":"./regions-dashboard/regions-list/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/regions-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-pUQBtbB29Jo9rUXZKWEPKnp+qU8zk70BS9rvrfxlb1J7cOJM4llb/jsqN9qZ07V7\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"regions-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}},{"profile":"regions-mfe","file":"regions-mfe.vue","description":"The composite the Driver asked for: ONE element carrying the SELECT VIEW switcher","element":"regions-dashboard","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./regions-dashboard/regions-mfe/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/regions-mfe/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-pUQBtbB29Jo9rUXZKWEPKnp+qU8zk70BS9rvrfxlb1J7cOJM4llb/jsqN9qZ07V7\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"regions-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}}]},{"bundle":"research-dashboard","scriptUrl":"./research-dashboard/research-dashboard.js","output":"doxa-maps/research-dashboard/research-dashboard.js","integrity":"sha384-VvOYWBcDd7NtnB1eveECKX88ZHIpGnOf79tVdCUqGZzXLgoZPc+oTTPIC3ajaYsn","elements":["research-dashboard-map"],"profiles":[{"profile":"research-dashboard","file":"research-dashboard.vue","description":"Coordinated-Multiple-Views research dashboard for 10/40-window UPGs (live pray.doxa.life): docked facet rail + map-as-hero + linked table/charts, brushing-and-linking over one in-memory store.","element":"research-dashboard-map","type":"monolithic","isMap":true,"iframeUrl":"./research-dashboard/research-dashboard/index.html","scriptUrl":"./research-dashboard/research-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./research-dashboard/research-dashboard/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./research-dashboard/research-dashboard.js\" integrity=\"sha384-VvOYWBcDd7NtnB1eveECKX88ZHIpGnOf79tVdCUqGZzXLgoZPc+oTTPIC3ajaYsn\" crossorigin=\"anonymous\">\u003c/script>\n\u003cresearch-dashboard-map profile-config='{\"profile\":\"research-dashboard\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/research-dashboard-map>"},"bundle":"research-dashboard"}]},{"bundle":"research-map-plus-grid","scriptUrl":"./research-map-plus-grid/research-map-plus-grid.js","output":"doxa-maps/research-map-plus-grid/research-map-plus-grid.js","integrity":"sha384-sOkaMV0UFr2uNXfoJpRvaD+gHD6xFlkmpR7MzEwwFdarYdid8aN9Nj1Y8TqQJuFo","elements":["research-map-plus-grid"],"composes":["doxa-research-map","people-groups-grid"],"profiles":[{"profile":"research-map-plus-grid","file":"research-map-plus-grid.vue","description":"The monolithic 7-tab research map (cap-3) on top, the People Groups grid beneath,","element":"research-map-plus-grid","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./research-map-plus-grid/research-map-plus-grid/index.html","scriptUrl":"./research-map-plus-grid/research-map-plus-grid.js","embed":{"iframe":"\u003ciframe src=\"./research-map-plus-grid/research-map-plus-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./research-map-plus-grid/research-map-plus-grid.js\" integrity=\"sha384-sOkaMV0UFr2uNXfoJpRvaD+gHD6xFlkmpR7MzEwwFdarYdid8aN9Nj1Y8TqQJuFo\" crossorigin=\"anonymous\">\u003c/script>\n\u003cresearch-map-plus-grid profile-config='{\"profile\":\"research-map-plus-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/research-map-plus-grid>"},"instances":[{"id":"default","title":"default","apiBaseUrl":"","props":{"profile":"research-map-plus-grid"},"element":"research-map-plus-grid","iframeUrl":"./research-map-plus-grid/research-map-plus-grid/default/index.html","embed":{"iframe":"\u003ciframe src=\"./research-map-plus-grid/research-map-plus-grid/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"stack-demo","scriptUrl":"./stack-demo/stack-demo.js","output":"doxa-maps/stack-demo/stack-demo.js","integrity":"sha384-gnwM6s+puf1K60Nl7crQcC2QC+9BxwpkaTx4OepLZ8VUCraZc+aRlWpsb6nj6Gyf","elements":["stack-demo"],"composes":["research-dashboard-map","people-groups-grid"],"profiles":[{"profile":"stack-demo","file":"stack-demo.vue","description":"Groups TWO independent elements TOP-TO-BOTTOM so you can embed the pair on a page and","element":"stack-demo","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./stack-demo/stack-demo/index.html","scriptUrl":"./stack-demo/stack-demo.js","embed":{"iframe":"\u003ciframe src=\"./stack-demo/stack-demo/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./stack-demo/stack-demo.js\" integrity=\"sha384-gnwM6s+puf1K60Nl7crQcC2QC+9BxwpkaTx4OepLZ8VUCraZc+aRlWpsb6nj6Gyf\" crossorigin=\"anonymous\">\u003c/script>\n\u003cstack-demo profile-config='{\"profile\":\"stack-demo\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/stack-demo>"},"instances":[{"id":"pair","title":"pair","apiBaseUrl":"","props":{"profile":"stack-demo"},"element":"stack-demo","iframeUrl":"./stack-demo/stack-demo/pair/index.html","embed":{"iframe":"\u003ciframe src=\"./stack-demo/stack-demo/pair/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"template-bundle","scriptUrl":"./template-bundle/template-bundle.js","output":"doxa-maps/template-bundle/template-bundle.js","integrity":"sha384-k+G5UlkZ99QmuecCCWUrjz998JBJnQT3hsDG0A+IVmiX9F3CNswmHXXzYhjnUTDX","elements":["template-bundle"],"profiles":[{"profile":"template-map-a","file":"template-map-a.vue","description":"Minimal example profile A — a colored placeholder, no Mapbox or data.","element":"template-bundle","type":"single","isMap":false,"iframeUrl":"./template-bundle/template-map-a/index.html","scriptUrl":"./template-bundle/template-bundle.js","embed":{"iframe":"\u003ciframe src=\"./template-bundle/template-map-a/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./template-bundle/template-bundle.js\" integrity=\"sha384-k+G5UlkZ99QmuecCCWUrjz998JBJnQT3hsDG0A+IVmiX9F3CNswmHXXzYhjnUTDX\" crossorigin=\"anonymous\">\u003c/script>\n\u003ctemplate-bundle profile-config='{\"profile\":\"template-map-a\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/template-bundle>"},"bundle":"template-bundle"},{"profile":"template-map-b","file":"template-map-b.vue","description":"Minimal example profile B — a second profile in the same bundle.","element":"template-bundle","type":"single","isMap":false,"iframeUrl":"./template-bundle/template-map-b/index.html","scriptUrl":"./template-bundle/template-bundle.js","embed":{"iframe":"\u003ciframe src=\"./template-bundle/template-map-b/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./template-bundle/template-bundle.js\" integrity=\"sha384-k+G5UlkZ99QmuecCCWUrjz998JBJnQT3hsDG0A+IVmiX9F3CNswmHXXzYhjnUTDX\" crossorigin=\"anonymous\">\u003c/script>\n\u003ctemplate-bundle profile-config='{\"profile\":\"template-map-b\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/template-bundle>"},"bundle":"template-bundle"}]}]}; \n\n" + "script": "\n\n" } }, { @@ -603,7 +603,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -617,7 +617,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -631,7 +631,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } } ] From cb75ba38b553bb4e83d9fdb910adb00ecfee7326 Mon Sep 17 00:00:00 2001 From: doxa-maps-88655c70 <88627970+doxa-maps-88655c70@users.noreply.github.com> Date: Thu, 24 Sep 2026 03:34:19 +0000 Subject: [PATCH 06/18] Regions map: country boundaries load on MapLibre too Caught by spot-checking after main moved, not by the sweep. RegionCountryMap added its country polygons from mapbox://mapbox.country-boundaries-v1, a Mapbox-hosted VECTOR TILESET that MapLibre cannot fetch: Fetch API cannot load mapbox://mapbox.country-boundaries-v1. URL scheme "mapbox" is not supported The basemap then drew perfectly with the highlighted countries simply absent. My own sweep called this leaf "SWAPPED" because it counts canvases, engines and request totals -- all of which were right. A coarse metric can be green while the primary data layer is missing; only the console said so. Fixed by the pattern DashboardMapPanel already proved, copied rather than reinvented: under maplibre the source is geojson, fed from the keyless assets/boundaries/world-adm0.geojson the tree already ships and three other plugins already consume through resolveAssetsBase. Added EMPTY first and setData after the fetch, so the addLayer calls stay synchronous and the fills remain beneath the pins. The tileset names the ISO field iso_3166_1_alpha_3 and the geojson names it iso3, so the property is normalised ONCE at load and countryFilter() keeps reading the single name it always read -- the Mapbox path is byte-for-byte unchanged. 'source-layer' is set for Mapbox alone; MapLibre rejects a layer that declares one on geojson. MEASURED via the PUBLIC querySourceFeatures (not a private field -- that lesson cost two reverts earlier in this flight): mapbox 400 boundary features, 0 console errors maplibre 467 boundary features, 0 console errors (was 1 scheme error) Both engines expose the same three layers. gates:pre 0. gates:post 17/18, the single failure being the pre-existing verify/tables-complete break from the visa-leak fix (filed, not mine). --- .../src/RegionCountryMap.vue | 49 +++++++++++++++++-- public/doxa-maps/index.html | 2 +- public/doxa-maps/manifest.json | 8 +-- .../region-dashboards/index.html | 2 +- .../regions-dashboard/regions-dashboard.js | 48 +++++++++--------- .../regions-dashboard/regions-list/index.html | 2 +- .../regions-dashboard/regions-mfe/index.html | 2 +- 7 files changed, 78 insertions(+), 35 deletions(-) diff --git a/plugin-designs/regions-dashboard/src/RegionCountryMap.vue b/plugin-designs/regions-dashboard/src/RegionCountryMap.vue index 2366498ff..ec16641d8 100644 --- a/plugin-designs/regions-dashboard/src/RegionCountryMap.vue +++ b/plugin-designs/regions-dashboard/src/RegionCountryMap.vue @@ -27,12 +27,15 @@ */ import { ref, computed, watch, onMounted, onBeforeUnmount, inject } from 'vue' import { useMapInstance } from '@map/composables/useMapInstance.js' +import { resolveMapProvider } from '@map/composables/useMapProvider.js' +import { resolveAssetsBase } from '@map/utils/embedBase.js' import { useShadowStyles } from '@map/composables/useShadowStyles.js' // The region palette comes from the shared strategy, never from a table in here: // check:one-palette exists because a private palette in a consumer is what once made two // surfaces disagree about what a colour meant. import { applyColor as regionColorExpression } from '@map/colors/wagf-region.js' + const emit = defineEmits(['pick-country']) const props = defineProps({ // ISO-3 codes to highlight, e.g. ['IND'] for a country or every code in a region. @@ -57,6 +60,10 @@ const props = defineProps({ // The token ladder: ProfileLoader provides it (the same seam every map bundle uses). A nested // element has no leaf page of its own, which is what check:nested-token exists to police. +const profileConfig = inject('profileConfig', ref(null)) +// Which engine is live. Derived ONCE: addLayers() branches on it in three places, and three +// separate resolveMapProvider() calls is three chances for them to disagree. +const isMaplibreProvider = resolveMapProvider(profileConfig) === 'maplibre' const mapboxToken = inject('mapboxToken', ref('')) const tokenValue = computed(() => (typeof mapboxToken === 'string' ? mapboxToken : mapboxToken?.value) || '') @@ -171,15 +178,51 @@ function addLayers() { const { color: pinColor, sortKey: pinSortKey, opacity: pinOpacity, radius: pinRadius } = pinExpressions() if (!m.getSource(SRC_COUNTRIES)) { - m.addSource(SRC_COUNTRIES, { type: 'vector', url: 'mapbox://mapbox.country-boundaries-v1' }) + // ── COUNTRY POLYGONS, PER PROVIDER ──────────────────────────────────────────────────────── + // ★ THE ENGINE SWAP IS NOT ONE CONFIG LINE. This read from + // `mapbox://mapbox.country-boundaries-v1`, a Mapbox-hosted VECTOR TILESET that MapLibre + // cannot fetch at all — it throws + // Fetch API cannot load mapbox://mapbox.country-boundaries-v1. URL scheme "mapbox" is not supported + // and then draws the basemap perfectly with the highlighted countries simply ABSENT. + // MEASURED, not predicted: the leaf reported canvas=1 and engine=MAPLIBRE — a coarse sweep + // called it "swapped" while its primary data layer was missing. Only the console said so. + // + // The keyless equivalent already ships: assets/boundaries/world-adm0.geojson, staged by + // generate-tree and already consumed by upg-100-list, connectivity-map and resources-map + // through this same resolveAssetsBase helper. No new asset, no new dependency. + // + // ★ THE FIELD BRIDGE. The tileset names the ISO field `iso_3166_1_alpha_3`; the geojson names + // it `iso3`. countryFilter() reads the tileset name, so the property is normalised ONCE as the + // data loads and every expression keeps reading the single name it always read — the Mapbox + // path stays byte-for-byte unchanged. Same shape as DashboardMapPanel, deliberately copied. + if (isMaplibreProvider) { + // Add EMPTY first, then setData after the fetch: the addLayer calls below must run + // SYNCHRONOUSLY to keep these fills beneath the pins (layer order is insertion order). + m.addSource(SRC_COUNTRIES, { type: 'geojson', data: { type: 'FeatureCollection', features: [] } }) + fetch(`${resolveAssetsBase(profileConfig?.value)}/boundaries/world-adm0.geojson`) + .then((r) => r.json()) + .then((gj) => { + for (const f of gj.features || []) { + if (f.properties && f.properties.iso3) f.properties.iso_3166_1_alpha_3 = f.properties.iso3 + } + const src = map.value && map.value.getSource(SRC_COUNTRIES) + if (src) src.setData(gj) + }) + .catch((e) => console.warn('[rcm] country boundaries failed to load', e)) + } else { + m.addSource(SRC_COUNTRIES, { type: 'vector', url: 'mapbox://mapbox.country-boundaries-v1' }) + } + // 'source-layer' applies to VECTOR TILE sources only — on a geojson source MapLibre rejects + // the layer outright ("does not need a source-layer"), so it is set for Mapbox alone. + const srcLayer = isMaplibreProvider ? {} : { 'source-layer': 'country_boundaries' } m.addLayer({ id: 'rcm-focus-fill', type: 'fill', source: SRC_COUNTRIES, - 'source-layer': 'country_boundaries', filter: countryFilter(), + ...srcLayer, filter: countryFilter(), paint: { 'fill-color': C.brand, 'fill-opacity': 0.12 }, }) m.addLayer({ id: 'rcm-focus-outline', type: 'line', source: SRC_COUNTRIES, - 'source-layer': 'country_boundaries', filter: countryFilter(), + ...srcLayer, filter: countryFilter(), paint: { 'line-color': C.brand, 'line-width': 2 }, }) } diff --git a/public/doxa-maps/index.html b/public/doxa-maps/index.html index 7737b441f..dde6e4ef7 100644 --- a/public/doxa-maps/index.html +++ b/public/doxa-maps/index.html @@ -130,7 +130,7 @@ header.top .sub { margin-top: 3px; font: 12px/1.4 var(--sans); color: var(--mut) + window.FORGE.manifest = {"schema":"doxa-maps-manifest@1","generatedFrom":"plugin-designs/*/*.vue","embedBase":".","bundleCount":21,"profileCount":32,"bundles":[{"bundle":"all-people-groups","scriptUrl":"./all-people-groups/all-people-groups.js","output":"doxa-maps/all-people-groups/all-people-groups.js","integrity":"sha384-cqk7oshuPW5FdnbZ/DyfBBXN2FObAI+V1jrbxmZR2xzNiBtWG65PETQ5/w5PCDB2","elements":["all-people-groups"],"profiles":[{"profile":"all-people-groups","file":"all-people-groups.vue","description":"All 12,379 people groups (peoplegroups.org) in four colors — reached,","element":"all-people-groups","type":"single","isMap":true,"iframeUrl":"./all-people-groups/all-people-groups/index.html","scriptUrl":"./all-people-groups/all-people-groups.js","embed":{"iframe":"\u003ciframe src=\"./all-people-groups/all-people-groups/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./all-people-groups/all-people-groups.js\" integrity=\"sha384-cqk7oshuPW5FdnbZ/DyfBBXN2FObAI+V1jrbxmZR2xzNiBtWG65PETQ5/w5PCDB2\" crossorigin=\"anonymous\">\u003c/script>\n\u003call-people-groups profile-config='{\"profile\":\"all-people-groups\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/all-people-groups>"},"bundle":"all-people-groups"}]},{"bundle":"big-picture","scriptUrl":"./big-picture/big-picture.js","output":"doxa-maps/big-picture/big-picture.js","integrity":"sha384-v0b+aZ7TBxmgUIBBLdKEm6HzwjY3jAGyOFNsKeKCKY4EIRpiWRTcNLavAitHRt8h","elements":["bp-big-picture","bp-research-header","people-groups-grid"],"composes":["bp-research-header","people-groups-grid"],"profiles":[{"profile":"big-picture","file":"big-picture.vue","description":"The Cat-4 composite that PAIRS the two real capability elements of the","element":"bp-big-picture","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./big-picture/big-picture/index.html","scriptUrl":"./big-picture/big-picture.js","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./big-picture/big-picture.js\" integrity=\"sha384-v0b+aZ7TBxmgUIBBLdKEm6HzwjY3jAGyOFNsKeKCKY4EIRpiWRTcNLavAitHRt8h\" crossorigin=\"anonymous\">\u003c/script>\n\u003cbp-big-picture profile-config='{\"profile\":\"big-picture\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/bp-big-picture>"},"instances":[{"id":"big-picture","title":"Big Picture — research header ↔ people-groups grid (composite)","apiBaseUrl":"","props":{"profile":"big-picture","provider":"maplibre","instanceId":"bp-big-picture"},"element":"bp-big-picture","iframeUrl":"./big-picture/big-picture/big-picture/index.html","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/big-picture/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"frontier","title":"Big Picture — frontier accent","apiBaseUrl":"","props":{"profile":"big-picture","provider":"maplibre","instanceId":"bp-big-picture-frontier","accent":"#22d3ee","title":"Big Picture — Frontier Focus"},"element":"bp-big-picture","iframeUrl":"./big-picture/big-picture/frontier/index.html","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/frontier/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"big-picture"}]},{"bundle":"cities-internet","scriptUrl":"./cities-internet/cities-internet.js","output":"doxa-maps/cities-internet/cities-internet.js","integrity":"sha384-tNig8gXdCocWVKD5iXR6iRqiAr7msWFtcFKzYif0L0G5i/RM+HI+SO8oR5c6O+5R","elements":["cities-internet-map"],"profiles":[{"profile":"connectivity-list","file":"connectivity-list.vue","description":"Countries where DX people groups live, grouped by region, showing measured internet penetration","element":"cities-internet-map","type":"single","isMap":false,"iframeUrl":"./cities-internet/connectivity-list/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/connectivity-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-tNig8gXdCocWVKD5iXR6iRqiAr7msWFtcFKzYif0L0G5i/RM+HI+SO8oR5c6O+5R\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"connectivity-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}},{"profile":"connectivity-map","file":"connectivity-map.vue","description":"Every country shaded by measured internet penetration, with its named carriers and dominant","element":"cities-internet-map","type":"single","isMap":true,"iframeUrl":"./cities-internet/connectivity-map/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/connectivity-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-tNig8gXdCocWVKD5iXR6iRqiAr7msWFtcFKzYif0L0G5i/RM+HI+SO8oR5c6O+5R\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"connectivity-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}},{"profile":"data-tables","file":"data-tables.vue","description":"Four validated research tables, one tab each, with sortable and filterable columns, CSV and JSON","element":"cities-internet-map","type":"single","isMap":false,"iframeUrl":"./cities-internet/data-tables/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/data-tables/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-tNig8gXdCocWVKD5iXR6iRqiAr7msWFtcFKzYif0L0G5i/RM+HI+SO8oR5c6O+5R\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"data-tables\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}}]},{"bundle":"country-posters","scriptUrl":"./country-posters/country-posters.js","output":"doxa-maps/country-posters/country-posters.js","integrity":"sha384-kbTr53oyqrMpgr620HR4W8vLXxT4Ulo5EeCoHebbMjGns5rwNvJP2BLuPyo5XVJj","elements":["country-posters-map"],"profiles":[{"profile":"countries-map","file":"countries-map.vue","description":"The researcher's workbench retargeted from people groups to COUNTRIES — region","element":"country-posters-map","type":"single","isMap":true,"iframeUrl":"./country-posters/countries-map/index.html","scriptUrl":"./country-posters/country-posters.js","embed":{"iframe":"\u003ciframe src=\"./country-posters/countries-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./country-posters/country-posters.js\" integrity=\"sha384-kbTr53oyqrMpgr620HR4W8vLXxT4Ulo5EeCoHebbMjGns5rwNvJP2BLuPyo5XVJj\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccountry-posters-map profile-config='{\"profile\":\"countries-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/country-posters-map>"}},{"profile":"country-poster-wall","file":"country-poster-wall.vue","description":"One printable card per country, grouped into COLLAPSIBLE regional sections so the","element":"country-posters-map","type":"single","isMap":false,"iframeUrl":"./country-posters/country-poster-wall/index.html","scriptUrl":"./country-posters/country-posters.js","embed":{"iframe":"\u003ciframe src=\"./country-posters/country-poster-wall/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./country-posters/country-posters.js\" integrity=\"sha384-kbTr53oyqrMpgr620HR4W8vLXxT4Ulo5EeCoHebbMjGns5rwNvJP2BLuPyo5XVJj\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccountry-posters-map profile-config='{\"profile\":\"country-poster-wall\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/country-posters-map>"}}]},{"bundle":"dashboard-plus-grid","scriptUrl":"./dashboard-plus-grid/dashboard-plus-grid.js","output":"doxa-maps/dashboard-plus-grid/dashboard-plus-grid.js","integrity":"sha384-YbJgljynZ4t3/Ro44oHQy9ihl9/5o7j4IKts8MNRfA73Cb5cyD7U52DklXjzpLpG","elements":["dashboard-plus-grid"],"composes":["research-dashboard","people-groups-grid"],"profiles":[{"profile":"dashboard-plus-grid","file":"dashboard-plus-grid.vue","description":"Both children are IMPORTED DIRECTLY (compiled into this ONE bundle — no runtime bundle","element":"dashboard-plus-grid","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./dashboard-plus-grid/dashboard-plus-grid/index.html","scriptUrl":"./dashboard-plus-grid/dashboard-plus-grid.js","embed":{"iframe":"\u003ciframe src=\"./dashboard-plus-grid/dashboard-plus-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./dashboard-plus-grid/dashboard-plus-grid.js\" integrity=\"sha384-YbJgljynZ4t3/Ro44oHQy9ihl9/5o7j4IKts8MNRfA73Cb5cyD7U52DklXjzpLpG\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdashboard-plus-grid profile-config='{\"profile\":\"dashboard-plus-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/dashboard-plus-grid>"},"instances":[{"id":"default","title":"default","apiBaseUrl":"","props":{"profile":"dashboard-plus-grid"},"element":"dashboard-plus-grid","iframeUrl":"./dashboard-plus-grid/dashboard-plus-grid/default/index.html","embed":{"iframe":"\u003ciframe src=\"./dashboard-plus-grid/dashboard-plus-grid/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"demo-map","scriptUrl":"./demo-map/demo-map.js","output":"doxa-maps/demo-map/demo-map.js","integrity":"sha384-QiUJUgeFn27tiHKVhAYtJuIWo+1z5xsCUP1Nj4m1H4cFUV3vUA7ADTP58Ky3oVtQ","elements":["demo-map"],"profiles":[{"profile":"demo-map","file":"demo-map.vue","description":"Simple two-tab demo map. Tab 1 colors pins by religion (shared","element":"demo-map","type":"parameterized","isMap":true,"iframeUrl":"./demo-map/demo-map/index.html","scriptUrl":"./demo-map/demo-map.js","embed":{"iframe":"\u003ciframe src=\"./demo-map/demo-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./demo-map/demo-map.js\" integrity=\"sha384-QiUJUgeFn27tiHKVhAYtJuIWo+1z5xsCUP1Nj4m1H4cFUV3vUA7ADTP58Ky3oVtQ\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdemo-map profile-config='{\"profile\":\"demo-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/demo-map>"},"instances":[{"id":"maplibre","title":"Demo map — MapLibre (token-free)","apiBaseUrl":"","props":{"profile":"demo-map","provider":"maplibre","instanceId":"demo-maplibre"},"element":"demo-map","iframeUrl":"./demo-map/demo-map/maplibre/index.html","embed":{"iframe":"\u003ciframe src=\"./demo-map/demo-map/maplibre/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"demo-map"}]},{"bundle":"doxa-maps-spa","scriptUrl":"./doxa-maps-spa/doxa-maps-spa.js","output":"doxa-maps/doxa-maps-spa/doxa-maps-spa.js","integrity":"sha384-Ce+DKsLgwfej+rgoWeaWFuMMbR3Y4H+8io/lVL+lQfX0O3iGKwDLf4remDkHGCrP","elements":["doxa-maps-spa"],"composes":["bp-big-picture","doxa-research-map","doxa-simple-map","cities-internet-map","gospel-resources-map","my-upg-100-list-map"],"profiles":[{"profile":"doxa-maps-spa","file":"doxa-maps-spa.vue","description":"The DX-maps app itself: one element whose vertical-tab rail nests every other","element":"doxa-maps-spa","type":"nested-mfe-spa","isMap":false,"iframeUrl":"./doxa-maps-spa/doxa-maps-spa/index.html","scriptUrl":"./doxa-maps-spa/doxa-maps-spa.js","embed":{"iframe":"\u003ciframe src=\"./doxa-maps-spa/doxa-maps-spa/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-maps-spa/doxa-maps-spa.js\" integrity=\"sha384-Ce+DKsLgwfej+rgoWeaWFuMMbR3Y4H+8io/lVL+lQfX0O3iGKwDLf4remDkHGCrP\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-maps-spa profile-config='{\"profile\":\"doxa-maps-spa\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-maps-spa>"},"instances":[{"id":"app","title":"DX-Maps SPA — Big Picture + every research map (app-shell)","apiBaseUrl":"","props":{"profile":"doxa-maps-spa","provider":"maplibre","instanceId":"doxa-maps-spa-app","title":"DX-Maps"},"element":"doxa-maps-spa","iframeUrl":"./doxa-maps-spa/doxa-maps-spa/app/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-maps-spa/doxa-maps-spa/app/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-research-map","scriptUrl":"./doxa-research-map/doxa-research-map.js","output":"doxa-maps/doxa-research-map/doxa-research-map.js","integrity":"sha384-m4l+f0dtSiobgVmlkVLdbrLtQ1XwOTEmN2S++QZFqsYdTeEVuSDMl96aTudjoqB4","elements":["doxa-research-map"],"profiles":[{"profile":"research-map","file":"research-map.vue","description":"The researcher's workbench: every piece a missiologist, demographer or","element":"doxa-research-map","type":"monolithic","isMap":true,"iframeUrl":"./doxa-research-map/research-map/index.html","scriptUrl":"./doxa-research-map/doxa-research-map.js","embed":{"iframe":"\u003ciframe src=\"./doxa-research-map/research-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-research-map/doxa-research-map.js\" integrity=\"sha384-m4l+f0dtSiobgVmlkVLdbrLtQ1XwOTEmN2S++QZFqsYdTeEVuSDMl96aTudjoqB4\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-research-map profile-config='{\"profile\":\"research-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-research-map>"},"instances":[{"id":"maplibre","title":"Research map — MapLibre (token-free, no search bar)","apiBaseUrl":"","props":{"profile":"research-map","provider":"maplibre","instanceId":"research-map-maplibre"},"element":"doxa-research-map","iframeUrl":"./doxa-research-map/research-map/maplibre/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-research-map/research-map/maplibre/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-simple-map","scriptUrl":"./doxa-simple-map/doxa-simple-map.js","output":"doxa-maps/doxa-simple-map/doxa-simple-map.js","integrity":"sha384-hzEui48BqpW8VhRthz3daMgAdw4w4M3gtBre4ce4sXuAmS+39pMRW9reNAvpFb+W","elements":["doxa-map","doxa-simple-map"],"profiles":[{"profile":"doxa-simple-map","file":"doxa-simple-map.vue","description":"The simple world map, shipped as three presets off ONE prop table —","element":"doxa-map","type":"parameterized","isMap":true,"iframeUrl":"./doxa-simple-map/doxa-simple-map/index.html","scriptUrl":"./doxa-simple-map/doxa-simple-map.js","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-simple-map/doxa-simple-map.js\" integrity=\"sha384-hzEui48BqpW8VhRthz3daMgAdw4w4M3gtBre4ce4sXuAmS+39pMRW9reNAvpFb+W\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-map profile-config='{\"profile\":\"doxa-simple-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-map>"},"instances":[{"id":"prayer","title":"Prayer Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-prayer","dataSource":"pray-tools","tabs":[{"id":"prayer","colorStrategy":"prayer","legend":"prayer","popup":"prayer"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/prayer/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/prayer/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"engagement","title":"Engagement Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-engagement","dataSource":"pray-tools","tabs":[{"id":"engagement","colorStrategy":"engagement","legend":"engagement","popup":"engagement"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/engagement/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/engagement/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"adoption","title":"Adoption Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-adoption","dataSource":"pray-tools","tabs":[{"id":"adoption","colorStrategy":"adoption","legend":"adoption","popup":"adoption"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/adoption/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/adoption/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-vision-card","scriptUrl":"./doxa-vision-card/doxa-vision-card.js","output":"doxa-maps/doxa-vision-card/doxa-vision-card.js","integrity":"sha384-2mza3cltN5LQQIrlENG/IVL6Icd9zzcFve3E8R8VWuCdYOGW9uGKFvxcbu6eFfwn","elements":["doxa-vision-card"],"profiles":[{"profile":"doxa-vision-card","file":"doxa-vision-card.vue","description":"The Capability-1 example: ONE folder -> ONE bundle -> ONE element.","element":"doxa-vision-card","type":"parameterized","isMap":false,"iframeUrl":"./doxa-vision-card/doxa-vision-card/index.html","scriptUrl":"./doxa-vision-card/doxa-vision-card.js","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-vision-card/doxa-vision-card.js\" integrity=\"sha384-2mza3cltN5LQQIrlENG/IVL6Icd9zzcFve3E8R8VWuCdYOGW9uGKFvxcbu6eFfwn\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-vision-card profile-config='{\"profile\":\"doxa-vision-card\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-vision-card>"},"instances":[{"id":"default","title":"Vision card — reach at a glance","apiBaseUrl":"","props":{"profile":"doxa-vision-card","provider":"maplibre","instanceId":"vision-card-default"},"element":"doxa-vision-card","iframeUrl":"./doxa-vision-card/doxa-vision-card/default/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"frontier","title":"Vision card — frontier accent","apiBaseUrl":"","props":{"profile":"doxa-vision-card","provider":"maplibre","instanceId":"vision-card-frontier","accent":"#22d3ee","title":"The last frontier of the gospel.","tagline":"Frontier people groups — where fewer than one in a thousand follow Jesus.","stats":[{"value":"1,910","label":"Frontier groups","note":"under 0.1% believers"},{"value":"2.1B","label":"People","note":"living in frontier settings"},{"value":"0.1%","label":"Christian","note":"or fewer, in each group"}]},"element":"doxa-vision-card","iframeUrl":"./doxa-vision-card/doxa-vision-card/frontier/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/frontier/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"doxa-vision-card"}]},{"bundle":"golden-path-check","scriptUrl":"./golden-path-check/golden-path-check.js","output":"doxa-maps/golden-path-check/golden-path-check.js","integrity":"sha384-1V/sT5SkV0U9yTCK9ELIOFfU1ZIJkInIF6nG3UllJ4dxax3RsEAupSGLJEFK6e14","elements":["golden-path-check"],"profiles":[{"profile":"golden-path-check","file":"golden-path-check.vue","description":"A live self-test of the develop-a-plugin-and-see-it-live path: it reads the built","element":"golden-path-check","type":"single","isMap":false,"iframeUrl":"./golden-path-check/golden-path-check/index.html","scriptUrl":"./golden-path-check/golden-path-check.js","embed":{"iframe":"\u003ciframe src=\"./golden-path-check/golden-path-check/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./golden-path-check/golden-path-check.js\" integrity=\"sha384-1V/sT5SkV0U9yTCK9ELIOFfU1ZIJkInIF6nG3UllJ4dxax3RsEAupSGLJEFK6e14\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgolden-path-check profile-config='{\"profile\":\"golden-path-check\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/golden-path-check>"}}]},{"bundle":"gospel-resources","scriptUrl":"./gospel-resources/gospel-resources.js","output":"doxa-maps/gospel-resources/gospel-resources.js","integrity":"sha384-4pOAnuuOovcKXSQANV9jnLu1ExxiwQMuC4aU5MtAsd959tYmdUj05u4tT57Z/rKI","elements":["gospel-resources-map"],"profiles":[{"profile":"charts","file":"charts.vue","description":"The gap by LANGUAGE (ISO 639-3) rather than by people group — because one translation serves every","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/charts/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/charts/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-4pOAnuuOovcKXSQANV9jnLu1ExxiwQMuC4aU5MtAsd959tYmdUj05u4tT57Z/rKI\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"charts\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"data-tables","file":"data-tables.vue","description":"Two validated tables: what resources exist per people group, and whether that access is keeping","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/data-tables/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/data-tables/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-4pOAnuuOovcKXSQANV9jnLu1ExxiwQMuC4aU5MtAsd959tYmdUj05u4tT57Z/rKI\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"data-tables\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"resources-list","file":"resources-list.vue","description":"Which DX people groups have scripture in their own language, and which have none. The zero-resource","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/resources-list/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/resources-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-4pOAnuuOovcKXSQANV9jnLu1ExxiwQMuC4aU5MtAsd959tYmdUj05u4tT57Z/rKI\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"resources-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"resources-map","file":"resources-map.vue","description":"Every country shaded by how much of its unengaged population has NO gospel resource in their own","element":"gospel-resources-map","type":"single","isMap":true,"iframeUrl":"./gospel-resources/resources-map/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/resources-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-4pOAnuuOovcKXSQANV9jnLu1ExxiwQMuC4aU5MtAsd959tYmdUj05u4tT57Z/rKI\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"resources-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}}]},{"bundle":"my-upg-100-list","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","output":"doxa-maps/my-upg-100-list/my-upg-100-list.js","integrity":"sha384-Q0oRTPiR5rCbGuYjqx06LU6ngVOJflT7LZIevgE0eGypVGomWEPkzJcpmSaEEOW6","elements":["my-upg-100-list-map"],"composes":["my-upg-100-list/upg-100-list","my-upg-100-list/poster-wall"],"profiles":[{"profile":"poster-wall","file":"poster-wall.vue","description":"A wall of printable poster cards, one per 100-list entry, each with a \"Show on map\" action that","element":"my-upg-100-list-map","type":"single","isMap":true,"iframeUrl":"./my-upg-100-list/poster-wall/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/poster-wall/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-Q0oRTPiR5rCbGuYjqx06LU6ngVOJflT7LZIevgE0eGypVGomWEPkzJcpmSaEEOW6\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"poster-wall\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}},{"profile":"upg-100-list","file":"upg-100-list.vue","description":"A personal unreached-people-groups list painted as true boundary polygons —","element":"my-upg-100-list-map","type":"single","isMap":true,"iframeUrl":"./my-upg-100-list/upg-100-list/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/upg-100-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-Q0oRTPiR5rCbGuYjqx06LU6ngVOJflT7LZIevgE0eGypVGomWEPkzJcpmSaEEOW6\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"upg-100-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}},{"profile":"upg-100-mfe","file":"upg-100-mfe.vue","description":"The standalone, shareable and embeddable composite of the my-upg-100-list family — it nests the map","element":"my-upg-100-list-map","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./my-upg-100-list/upg-100-mfe/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/upg-100-mfe/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-Q0oRTPiR5rCbGuYjqx06LU6ngVOJflT7LZIevgE0eGypVGomWEPkzJcpmSaEEOW6\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"upg-100-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}}]},{"bundle":"people-groups-grid","scriptUrl":"./people-groups-grid/people-groups-grid.js","output":"doxa-maps/people-groups-grid/people-groups-grid.js","integrity":"sha384-wyfAzVfoufR5FaDoo3DSivtV33qOexc7PhDYZkXlYmru5FqZgncuUos3nN0kkMJL","elements":["people-groups-grid"],"profiles":[{"profile":"people-groups-grid","file":"people-groups-grid.vue","description":"The people-groups grid as an owned custom element: card list, search and four","element":"people-groups-grid","type":"parameterized","isMap":false,"iframeUrl":"./people-groups-grid/people-groups-grid/index.html","scriptUrl":"./people-groups-grid/people-groups-grid.js","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./people-groups-grid/people-groups-grid.js\" integrity=\"sha384-wyfAzVfoufR5FaDoo3DSivtV33qOexc7PhDYZkXlYmru5FqZgncuUos3nN0kkMJL\" crossorigin=\"anonymous\">\u003c/script>\n\u003cpeople-groups-grid profile-config='{\"profile\":\"people-groups-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/people-groups-grid>"},"instances":[{"id":"people-groups-grid","title":"People Groups Grid — standalone (own search + 4 dropdowns)","apiBaseUrl":"","props":{"profile":"people-groups-grid","provider":"maplibre","instanceId":"people-groups-grid","pray-base-url":"https://pray.doxa.life"},"element":"people-groups-grid","iframeUrl":"./people-groups-grid/people-groups-grid/people-groups-grid/index.html","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/people-groups-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"driven","title":"People Groups Grid — externally driven (controls off, props/events)","apiBaseUrl":"","props":{"profile":"people-groups-grid","provider":"maplibre","instanceId":"people-groups-grid-driven","pray-base-url":"https://pray.doxa.life","show-search":"false","show-filters":"false"},"element":"people-groups-grid","iframeUrl":"./people-groups-grid/people-groups-grid/driven/index.html","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/driven/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"plugin-studio","scriptUrl":"./plugin-studio/plugin-studio.js","output":"doxa-maps/plugin-studio/plugin-studio.js","integrity":"sha384-2RlLFRU2XdjBN7w+FPguj8INgj57JFg4IFT2AmdefGnR9QQLehbiiAffV45LcsFH","elements":["plugin-studio"],"composes":["bp-big-picture","people-groups-grid","doxa-research-map","doxa-simple-map","cities-internet-map","gospel-resources-map","my-upg-100-list-map","doxa-vision-card","all-people-groups","research-dashboard"],"profiles":[{"profile":"plugin-studio","file":"plugin-studio.vue","description":"The developer's viewing surface: a sidebar that is the composability ladder","element":"plugin-studio","type":"nested-mfe-spa","isMap":false,"iframeUrl":"./plugin-studio/plugin-studio/index.html","scriptUrl":"./plugin-studio/plugin-studio.js","embed":{"iframe":"\u003ciframe src=\"./plugin-studio/plugin-studio/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./plugin-studio/plugin-studio.js\" integrity=\"sha384-2RlLFRU2XdjBN7w+FPguj8INgj57JFg4IFT2AmdefGnR9QQLehbiiAffV45LcsFH\" crossorigin=\"anonymous\">\u003c/script>\n\u003cplugin-studio profile-config='{\"profile\":\"plugin-studio\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/plugin-studio>"},"instances":[{"id":"studio","title":"Plugin Studio — every element by capability 5 -> 1 (developer studio)","apiBaseUrl":"","props":{"profile":"plugin-studio","provider":"maplibre","instanceId":"plugin-studio","title":"Plugin Studio"},"element":"plugin-studio","iframeUrl":"./plugin-studio/plugin-studio/studio/index.html","embed":{"iframe":"\u003ciframe src=\"./plugin-studio/plugin-studio/studio/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"prayer-walk-planner","scriptUrl":"./prayer-walk-planner/prayer-walk-planner.js","output":"doxa-maps/prayer-walk-planner/prayer-walk-planner.js","integrity":"sha384-F0+r4avX8xkXp0hBpU5EBPU0InMRCObIn2Ieh9HJNn1r2amk8/qHmJ68WuNfsirC","elements":["prayer-walk-planner"],"profiles":[{"profile":"prayer-walk-planner","file":"prayer-walk-planner.vue","description":"A simple polygon-drawing tool for planning prayer-walking routes.","element":"prayer-walk-planner","type":"single","isMap":true,"iframeUrl":"./prayer-walk-planner/prayer-walk-planner/index.html","scriptUrl":"./prayer-walk-planner/prayer-walk-planner.js","embed":{"iframe":"\u003ciframe src=\"./prayer-walk-planner/prayer-walk-planner/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./prayer-walk-planner/prayer-walk-planner.js\" integrity=\"sha384-F0+r4avX8xkXp0hBpU5EBPU0InMRCObIn2Ieh9HJNn1r2amk8/qHmJ68WuNfsirC\" crossorigin=\"anonymous\">\u003c/script>\n\u003cprayer-walk-planner profile-config='{\"profile\":\"prayer-walk-planner\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/prayer-walk-planner>"}}]},{"bundle":"regions-dashboard","scriptUrl":"./regions-dashboard/regions-dashboard.js","output":"doxa-maps/regions-dashboard/regions-dashboard.js","integrity":"sha384-Pk/QVeDX29Vu/ZIxyBT8lpx397coUFaEA8gVUGrheAtXxG4Q5Ri0R+ZUe1CEw5El","elements":["regions-dashboard"],"composes":["regions-dashboard/regions-list","regions-dashboard/region-dashboards"],"profiles":[{"profile":"region-dashboards","file":"region-dashboards.vue","description":"The dashboard half of the Driver's 2-tab Regions element: given a region (or a","element":"regions-dashboard","type":"single","isMap":true,"iframeUrl":"./regions-dashboard/region-dashboards/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/region-dashboards/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-Pk/QVeDX29Vu/ZIxyBT8lpx397coUFaEA8gVUGrheAtXxG4Q5Ri0R+ZUe1CEw5El\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"region-dashboards\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}},{"profile":"regions-list","file":"regions-list.vue","description":"A refactor of DX-life's /regions index page (app/pages/regions/index.vue) into","element":"regions-dashboard","type":"single","isMap":true,"iframeUrl":"./regions-dashboard/regions-list/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/regions-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-Pk/QVeDX29Vu/ZIxyBT8lpx397coUFaEA8gVUGrheAtXxG4Q5Ri0R+ZUe1CEw5El\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"regions-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}},{"profile":"regions-mfe","file":"regions-mfe.vue","description":"The composite the Driver asked for: ONE element carrying the SELECT VIEW switcher","element":"regions-dashboard","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./regions-dashboard/regions-mfe/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/regions-mfe/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-Pk/QVeDX29Vu/ZIxyBT8lpx397coUFaEA8gVUGrheAtXxG4Q5Ri0R+ZUe1CEw5El\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"regions-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}}]},{"bundle":"research-dashboard","scriptUrl":"./research-dashboard/research-dashboard.js","output":"doxa-maps/research-dashboard/research-dashboard.js","integrity":"sha384-VvOYWBcDd7NtnB1eveECKX88ZHIpGnOf79tVdCUqGZzXLgoZPc+oTTPIC3ajaYsn","elements":["research-dashboard-map"],"profiles":[{"profile":"research-dashboard","file":"research-dashboard.vue","description":"Coordinated-Multiple-Views research dashboard for 10/40-window UPGs (live pray.doxa.life): docked facet rail + map-as-hero + linked table/charts, brushing-and-linking over one in-memory store.","element":"research-dashboard-map","type":"monolithic","isMap":true,"iframeUrl":"./research-dashboard/research-dashboard/index.html","scriptUrl":"./research-dashboard/research-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./research-dashboard/research-dashboard/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./research-dashboard/research-dashboard.js\" integrity=\"sha384-VvOYWBcDd7NtnB1eveECKX88ZHIpGnOf79tVdCUqGZzXLgoZPc+oTTPIC3ajaYsn\" crossorigin=\"anonymous\">\u003c/script>\n\u003cresearch-dashboard-map profile-config='{\"profile\":\"research-dashboard\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/research-dashboard-map>"},"bundle":"research-dashboard"}]},{"bundle":"research-map-plus-grid","scriptUrl":"./research-map-plus-grid/research-map-plus-grid.js","output":"doxa-maps/research-map-plus-grid/research-map-plus-grid.js","integrity":"sha384-sOkaMV0UFr2uNXfoJpRvaD+gHD6xFlkmpR7MzEwwFdarYdid8aN9Nj1Y8TqQJuFo","elements":["research-map-plus-grid"],"composes":["doxa-research-map","people-groups-grid"],"profiles":[{"profile":"research-map-plus-grid","file":"research-map-plus-grid.vue","description":"The monolithic 7-tab research map (cap-3) on top, the People Groups grid beneath,","element":"research-map-plus-grid","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./research-map-plus-grid/research-map-plus-grid/index.html","scriptUrl":"./research-map-plus-grid/research-map-plus-grid.js","embed":{"iframe":"\u003ciframe src=\"./research-map-plus-grid/research-map-plus-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./research-map-plus-grid/research-map-plus-grid.js\" integrity=\"sha384-sOkaMV0UFr2uNXfoJpRvaD+gHD6xFlkmpR7MzEwwFdarYdid8aN9Nj1Y8TqQJuFo\" crossorigin=\"anonymous\">\u003c/script>\n\u003cresearch-map-plus-grid profile-config='{\"profile\":\"research-map-plus-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/research-map-plus-grid>"},"instances":[{"id":"default","title":"default","apiBaseUrl":"","props":{"profile":"research-map-plus-grid"},"element":"research-map-plus-grid","iframeUrl":"./research-map-plus-grid/research-map-plus-grid/default/index.html","embed":{"iframe":"\u003ciframe src=\"./research-map-plus-grid/research-map-plus-grid/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"stack-demo","scriptUrl":"./stack-demo/stack-demo.js","output":"doxa-maps/stack-demo/stack-demo.js","integrity":"sha384-gnwM6s+puf1K60Nl7crQcC2QC+9BxwpkaTx4OepLZ8VUCraZc+aRlWpsb6nj6Gyf","elements":["stack-demo"],"composes":["research-dashboard-map","people-groups-grid"],"profiles":[{"profile":"stack-demo","file":"stack-demo.vue","description":"Groups TWO independent elements TOP-TO-BOTTOM so you can embed the pair on a page and","element":"stack-demo","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./stack-demo/stack-demo/index.html","scriptUrl":"./stack-demo/stack-demo.js","embed":{"iframe":"\u003ciframe src=\"./stack-demo/stack-demo/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./stack-demo/stack-demo.js\" integrity=\"sha384-gnwM6s+puf1K60Nl7crQcC2QC+9BxwpkaTx4OepLZ8VUCraZc+aRlWpsb6nj6Gyf\" crossorigin=\"anonymous\">\u003c/script>\n\u003cstack-demo profile-config='{\"profile\":\"stack-demo\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/stack-demo>"},"instances":[{"id":"pair","title":"pair","apiBaseUrl":"","props":{"profile":"stack-demo"},"element":"stack-demo","iframeUrl":"./stack-demo/stack-demo/pair/index.html","embed":{"iframe":"\u003ciframe src=\"./stack-demo/stack-demo/pair/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"template-bundle","scriptUrl":"./template-bundle/template-bundle.js","output":"doxa-maps/template-bundle/template-bundle.js","integrity":"sha384-k+G5UlkZ99QmuecCCWUrjz998JBJnQT3hsDG0A+IVmiX9F3CNswmHXXzYhjnUTDX","elements":["template-bundle"],"profiles":[{"profile":"template-map-a","file":"template-map-a.vue","description":"Minimal example profile A — a colored placeholder, no Mapbox or data.","element":"template-bundle","type":"single","isMap":false,"iframeUrl":"./template-bundle/template-map-a/index.html","scriptUrl":"./template-bundle/template-bundle.js","embed":{"iframe":"\u003ciframe src=\"./template-bundle/template-map-a/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./template-bundle/template-bundle.js\" integrity=\"sha384-k+G5UlkZ99QmuecCCWUrjz998JBJnQT3hsDG0A+IVmiX9F3CNswmHXXzYhjnUTDX\" crossorigin=\"anonymous\">\u003c/script>\n\u003ctemplate-bundle profile-config='{\"profile\":\"template-map-a\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/template-bundle>"},"bundle":"template-bundle"},{"profile":"template-map-b","file":"template-map-b.vue","description":"Minimal example profile B — a second profile in the same bundle.","element":"template-bundle","type":"single","isMap":false,"iframeUrl":"./template-bundle/template-map-b/index.html","scriptUrl":"./template-bundle/template-bundle.js","embed":{"iframe":"\u003ciframe src=\"./template-bundle/template-map-b/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./template-bundle/template-bundle.js\" integrity=\"sha384-k+G5UlkZ99QmuecCCWUrjz998JBJnQT3hsDG0A+IVmiX9F3CNswmHXXzYhjnUTDX\" crossorigin=\"anonymous\">\u003c/script>\n\u003ctemplate-bundle profile-config='{\"profile\":\"template-map-b\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/template-bundle>"},"bundle":"template-bundle"}]}]}; \n\n" + "script": "\n\n" } }, { @@ -872,7 +872,7 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -886,7 +886,7 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } } ] diff --git a/public/doxa-maps/regions-dashboard/region-dashboards/index.html b/public/doxa-maps/regions-dashboard/region-dashboards/index.html index 024527d8c..aadca7134 100644 --- a/public/doxa-maps/regions-dashboard/region-dashboards/index.html +++ b/public/doxa-maps/regions-dashboard/region-dashboards/index.html @@ -29,7 +29,7 @@ - + - + - + + window.FORGE.manifest = {"schema":"doxa-maps-manifest@1","generatedFrom":"plugin-designs/*/*.vue","embedBase":".","bundleCount":21,"profileCount":32,"bundles":[{"bundle":"all-people-groups","scriptUrl":"./all-people-groups/all-people-groups.js","output":"doxa-maps/all-people-groups/all-people-groups.js","integrity":"sha384-cqk7oshuPW5FdnbZ/DyfBBXN2FObAI+V1jrbxmZR2xzNiBtWG65PETQ5/w5PCDB2","elements":["all-people-groups"],"profiles":[{"profile":"all-people-groups","file":"all-people-groups.vue","description":"All 12,379 people groups (peoplegroups.org) in four colors — reached,","element":"all-people-groups","type":"single","isMap":true,"iframeUrl":"./all-people-groups/all-people-groups/index.html","scriptUrl":"./all-people-groups/all-people-groups.js","embed":{"iframe":"\u003ciframe src=\"./all-people-groups/all-people-groups/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./all-people-groups/all-people-groups.js\" integrity=\"sha384-cqk7oshuPW5FdnbZ/DyfBBXN2FObAI+V1jrbxmZR2xzNiBtWG65PETQ5/w5PCDB2\" crossorigin=\"anonymous\">\u003c/script>\n\u003call-people-groups profile-config='{\"profile\":\"all-people-groups\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/all-people-groups>"},"bundle":"all-people-groups"}]},{"bundle":"big-picture","scriptUrl":"./big-picture/big-picture.js","output":"doxa-maps/big-picture/big-picture.js","integrity":"sha384-v0b+aZ7TBxmgUIBBLdKEm6HzwjY3jAGyOFNsKeKCKY4EIRpiWRTcNLavAitHRt8h","elements":["bp-big-picture","bp-research-header","people-groups-grid"],"composes":["bp-research-header","people-groups-grid"],"profiles":[{"profile":"big-picture","file":"big-picture.vue","description":"The Cat-4 composite that PAIRS the two real capability elements of the","element":"bp-big-picture","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./big-picture/big-picture/index.html","scriptUrl":"./big-picture/big-picture.js","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./big-picture/big-picture.js\" integrity=\"sha384-v0b+aZ7TBxmgUIBBLdKEm6HzwjY3jAGyOFNsKeKCKY4EIRpiWRTcNLavAitHRt8h\" crossorigin=\"anonymous\">\u003c/script>\n\u003cbp-big-picture profile-config='{\"profile\":\"big-picture\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/bp-big-picture>"},"instances":[{"id":"big-picture","title":"Big Picture — research header ↔ people-groups grid (composite)","apiBaseUrl":"","props":{"profile":"big-picture","provider":"maplibre","instanceId":"bp-big-picture"},"element":"bp-big-picture","iframeUrl":"./big-picture/big-picture/big-picture/index.html","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/big-picture/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"frontier","title":"Big Picture — frontier accent","apiBaseUrl":"","props":{"profile":"big-picture","provider":"maplibre","instanceId":"bp-big-picture-frontier","accent":"#22d3ee","title":"Big Picture — Frontier Focus"},"element":"bp-big-picture","iframeUrl":"./big-picture/big-picture/frontier/index.html","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/frontier/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"big-picture"}]},{"bundle":"cities-internet","scriptUrl":"./cities-internet/cities-internet.js","output":"doxa-maps/cities-internet/cities-internet.js","integrity":"sha384-tNig8gXdCocWVKD5iXR6iRqiAr7msWFtcFKzYif0L0G5i/RM+HI+SO8oR5c6O+5R","elements":["cities-internet-map"],"profiles":[{"profile":"connectivity-list","file":"connectivity-list.vue","description":"Countries where DX people groups live, grouped by region, showing measured internet penetration","element":"cities-internet-map","type":"single","isMap":false,"iframeUrl":"./cities-internet/connectivity-list/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/connectivity-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-tNig8gXdCocWVKD5iXR6iRqiAr7msWFtcFKzYif0L0G5i/RM+HI+SO8oR5c6O+5R\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"connectivity-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}},{"profile":"connectivity-map","file":"connectivity-map.vue","description":"Every country shaded by measured internet penetration, with its named carriers and dominant","element":"cities-internet-map","type":"single","isMap":true,"iframeUrl":"./cities-internet/connectivity-map/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/connectivity-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-tNig8gXdCocWVKD5iXR6iRqiAr7msWFtcFKzYif0L0G5i/RM+HI+SO8oR5c6O+5R\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"connectivity-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}},{"profile":"data-tables","file":"data-tables.vue","description":"Four validated research tables, one tab each, with sortable and filterable columns, CSV and JSON","element":"cities-internet-map","type":"single","isMap":false,"iframeUrl":"./cities-internet/data-tables/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/data-tables/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-tNig8gXdCocWVKD5iXR6iRqiAr7msWFtcFKzYif0L0G5i/RM+HI+SO8oR5c6O+5R\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"data-tables\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}}]},{"bundle":"country-posters","scriptUrl":"./country-posters/country-posters.js","output":"doxa-maps/country-posters/country-posters.js","integrity":"sha384-kbTr53oyqrMpgr620HR4W8vLXxT4Ulo5EeCoHebbMjGns5rwNvJP2BLuPyo5XVJj","elements":["country-posters-map"],"profiles":[{"profile":"countries-map","file":"countries-map.vue","description":"The researcher's workbench retargeted from people groups to COUNTRIES — region","element":"country-posters-map","type":"single","isMap":true,"iframeUrl":"./country-posters/countries-map/index.html","scriptUrl":"./country-posters/country-posters.js","embed":{"iframe":"\u003ciframe src=\"./country-posters/countries-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./country-posters/country-posters.js\" integrity=\"sha384-kbTr53oyqrMpgr620HR4W8vLXxT4Ulo5EeCoHebbMjGns5rwNvJP2BLuPyo5XVJj\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccountry-posters-map profile-config='{\"profile\":\"countries-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/country-posters-map>"}},{"profile":"country-poster-wall","file":"country-poster-wall.vue","description":"One printable card per country, grouped into COLLAPSIBLE regional sections so the","element":"country-posters-map","type":"single","isMap":false,"iframeUrl":"./country-posters/country-poster-wall/index.html","scriptUrl":"./country-posters/country-posters.js","embed":{"iframe":"\u003ciframe src=\"./country-posters/country-poster-wall/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./country-posters/country-posters.js\" integrity=\"sha384-kbTr53oyqrMpgr620HR4W8vLXxT4Ulo5EeCoHebbMjGns5rwNvJP2BLuPyo5XVJj\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccountry-posters-map profile-config='{\"profile\":\"country-poster-wall\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/country-posters-map>"}}]},{"bundle":"dashboard-plus-grid","scriptUrl":"./dashboard-plus-grid/dashboard-plus-grid.js","output":"doxa-maps/dashboard-plus-grid/dashboard-plus-grid.js","integrity":"sha384-YbJgljynZ4t3/Ro44oHQy9ihl9/5o7j4IKts8MNRfA73Cb5cyD7U52DklXjzpLpG","elements":["dashboard-plus-grid"],"composes":["research-dashboard","people-groups-grid"],"profiles":[{"profile":"dashboard-plus-grid","file":"dashboard-plus-grid.vue","description":"Both children are IMPORTED DIRECTLY (compiled into this ONE bundle — no runtime bundle","element":"dashboard-plus-grid","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./dashboard-plus-grid/dashboard-plus-grid/index.html","scriptUrl":"./dashboard-plus-grid/dashboard-plus-grid.js","embed":{"iframe":"\u003ciframe src=\"./dashboard-plus-grid/dashboard-plus-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./dashboard-plus-grid/dashboard-plus-grid.js\" integrity=\"sha384-YbJgljynZ4t3/Ro44oHQy9ihl9/5o7j4IKts8MNRfA73Cb5cyD7U52DklXjzpLpG\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdashboard-plus-grid profile-config='{\"profile\":\"dashboard-plus-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/dashboard-plus-grid>"},"instances":[{"id":"default","title":"default","apiBaseUrl":"","props":{"profile":"dashboard-plus-grid"},"element":"dashboard-plus-grid","iframeUrl":"./dashboard-plus-grid/dashboard-plus-grid/default/index.html","embed":{"iframe":"\u003ciframe src=\"./dashboard-plus-grid/dashboard-plus-grid/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"demo-map","scriptUrl":"./demo-map/demo-map.js","output":"doxa-maps/demo-map/demo-map.js","integrity":"sha384-QiUJUgeFn27tiHKVhAYtJuIWo+1z5xsCUP1Nj4m1H4cFUV3vUA7ADTP58Ky3oVtQ","elements":["demo-map"],"profiles":[{"profile":"demo-map","file":"demo-map.vue","description":"Simple two-tab demo map. Tab 1 colors pins by religion (shared","element":"demo-map","type":"parameterized","isMap":true,"iframeUrl":"./demo-map/demo-map/index.html","scriptUrl":"./demo-map/demo-map.js","embed":{"iframe":"\u003ciframe src=\"./demo-map/demo-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./demo-map/demo-map.js\" integrity=\"sha384-QiUJUgeFn27tiHKVhAYtJuIWo+1z5xsCUP1Nj4m1H4cFUV3vUA7ADTP58Ky3oVtQ\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdemo-map profile-config='{\"profile\":\"demo-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/demo-map>"},"instances":[{"id":"maplibre","title":"Demo map — MapLibre (token-free)","apiBaseUrl":"","props":{"profile":"demo-map","provider":"maplibre","instanceId":"demo-maplibre"},"element":"demo-map","iframeUrl":"./demo-map/demo-map/maplibre/index.html","embed":{"iframe":"\u003ciframe src=\"./demo-map/demo-map/maplibre/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"demo-map"}]},{"bundle":"doxa-maps-spa","scriptUrl":"./doxa-maps-spa/doxa-maps-spa.js","output":"doxa-maps/doxa-maps-spa/doxa-maps-spa.js","integrity":"sha384-Ce+DKsLgwfej+rgoWeaWFuMMbR3Y4H+8io/lVL+lQfX0O3iGKwDLf4remDkHGCrP","elements":["doxa-maps-spa"],"composes":["bp-big-picture","doxa-research-map","doxa-simple-map","cities-internet-map","gospel-resources-map","my-upg-100-list-map"],"profiles":[{"profile":"doxa-maps-spa","file":"doxa-maps-spa.vue","description":"The DX-maps app itself: one element whose vertical-tab rail nests every other","element":"doxa-maps-spa","type":"nested-mfe-spa","isMap":false,"iframeUrl":"./doxa-maps-spa/doxa-maps-spa/index.html","scriptUrl":"./doxa-maps-spa/doxa-maps-spa.js","embed":{"iframe":"\u003ciframe src=\"./doxa-maps-spa/doxa-maps-spa/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-maps-spa/doxa-maps-spa.js\" integrity=\"sha384-Ce+DKsLgwfej+rgoWeaWFuMMbR3Y4H+8io/lVL+lQfX0O3iGKwDLf4remDkHGCrP\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-maps-spa profile-config='{\"profile\":\"doxa-maps-spa\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-maps-spa>"},"instances":[{"id":"app","title":"DX-Maps SPA — Big Picture + every research map (app-shell)","apiBaseUrl":"","props":{"profile":"doxa-maps-spa","provider":"maplibre","instanceId":"doxa-maps-spa-app","title":"DX-Maps"},"element":"doxa-maps-spa","iframeUrl":"./doxa-maps-spa/doxa-maps-spa/app/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-maps-spa/doxa-maps-spa/app/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-research-map","scriptUrl":"./doxa-research-map/doxa-research-map.js","output":"doxa-maps/doxa-research-map/doxa-research-map.js","integrity":"sha384-m4l+f0dtSiobgVmlkVLdbrLtQ1XwOTEmN2S++QZFqsYdTeEVuSDMl96aTudjoqB4","elements":["doxa-research-map"],"profiles":[{"profile":"research-map","file":"research-map.vue","description":"The researcher's workbench: every piece a missiologist, demographer or","element":"doxa-research-map","type":"monolithic","isMap":true,"iframeUrl":"./doxa-research-map/research-map/index.html","scriptUrl":"./doxa-research-map/doxa-research-map.js","embed":{"iframe":"\u003ciframe src=\"./doxa-research-map/research-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-research-map/doxa-research-map.js\" integrity=\"sha384-m4l+f0dtSiobgVmlkVLdbrLtQ1XwOTEmN2S++QZFqsYdTeEVuSDMl96aTudjoqB4\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-research-map profile-config='{\"profile\":\"research-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-research-map>"},"instances":[{"id":"maplibre","title":"Research map — MapLibre (token-free, no search bar)","apiBaseUrl":"","props":{"profile":"research-map","provider":"maplibre","instanceId":"research-map-maplibre"},"element":"doxa-research-map","iframeUrl":"./doxa-research-map/research-map/maplibre/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-research-map/research-map/maplibre/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-simple-map","scriptUrl":"./doxa-simple-map/doxa-simple-map.js","output":"doxa-maps/doxa-simple-map/doxa-simple-map.js","integrity":"sha384-hzEui48BqpW8VhRthz3daMgAdw4w4M3gtBre4ce4sXuAmS+39pMRW9reNAvpFb+W","elements":["doxa-map","doxa-simple-map"],"profiles":[{"profile":"doxa-simple-map","file":"doxa-simple-map.vue","description":"The simple world map, shipped as three presets off ONE prop table —","element":"doxa-map","type":"parameterized","isMap":true,"iframeUrl":"./doxa-simple-map/doxa-simple-map/index.html","scriptUrl":"./doxa-simple-map/doxa-simple-map.js","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-simple-map/doxa-simple-map.js\" integrity=\"sha384-hzEui48BqpW8VhRthz3daMgAdw4w4M3gtBre4ce4sXuAmS+39pMRW9reNAvpFb+W\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-map profile-config='{\"profile\":\"doxa-simple-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-map>"},"instances":[{"id":"prayer","title":"Prayer Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-prayer","dataSource":"pray-tools","tabs":[{"id":"prayer","colorStrategy":"prayer","legend":"prayer","popup":"prayer"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/prayer/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/prayer/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"engagement","title":"Engagement Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-engagement","dataSource":"pray-tools","tabs":[{"id":"engagement","colorStrategy":"engagement","legend":"engagement","popup":"engagement"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/engagement/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/engagement/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"adoption","title":"Adoption Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-adoption","dataSource":"pray-tools","tabs":[{"id":"adoption","colorStrategy":"adoption","legend":"adoption","popup":"adoption"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/adoption/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/adoption/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-vision-card","scriptUrl":"./doxa-vision-card/doxa-vision-card.js","output":"doxa-maps/doxa-vision-card/doxa-vision-card.js","integrity":"sha384-2mza3cltN5LQQIrlENG/IVL6Icd9zzcFve3E8R8VWuCdYOGW9uGKFvxcbu6eFfwn","elements":["doxa-vision-card"],"profiles":[{"profile":"doxa-vision-card","file":"doxa-vision-card.vue","description":"The Capability-1 example: ONE folder -> ONE bundle -> ONE element.","element":"doxa-vision-card","type":"parameterized","isMap":false,"iframeUrl":"./doxa-vision-card/doxa-vision-card/index.html","scriptUrl":"./doxa-vision-card/doxa-vision-card.js","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-vision-card/doxa-vision-card.js\" integrity=\"sha384-2mza3cltN5LQQIrlENG/IVL6Icd9zzcFve3E8R8VWuCdYOGW9uGKFvxcbu6eFfwn\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-vision-card profile-config='{\"profile\":\"doxa-vision-card\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-vision-card>"},"instances":[{"id":"default","title":"Vision card — reach at a glance","apiBaseUrl":"","props":{"profile":"doxa-vision-card","provider":"maplibre","instanceId":"vision-card-default"},"element":"doxa-vision-card","iframeUrl":"./doxa-vision-card/doxa-vision-card/default/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"frontier","title":"Vision card — frontier accent","apiBaseUrl":"","props":{"profile":"doxa-vision-card","provider":"maplibre","instanceId":"vision-card-frontier","accent":"#22d3ee","title":"The last frontier of the gospel.","tagline":"Frontier people groups — where fewer than one in a thousand follow Jesus.","stats":[{"value":"1,910","label":"Frontier groups","note":"under 0.1% believers"},{"value":"2.1B","label":"People","note":"living in frontier settings"},{"value":"0.1%","label":"Christian","note":"or fewer, in each group"}]},"element":"doxa-vision-card","iframeUrl":"./doxa-vision-card/doxa-vision-card/frontier/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/frontier/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"doxa-vision-card"}]},{"bundle":"golden-path-check","scriptUrl":"./golden-path-check/golden-path-check.js","output":"doxa-maps/golden-path-check/golden-path-check.js","integrity":"sha384-1V/sT5SkV0U9yTCK9ELIOFfU1ZIJkInIF6nG3UllJ4dxax3RsEAupSGLJEFK6e14","elements":["golden-path-check"],"profiles":[{"profile":"golden-path-check","file":"golden-path-check.vue","description":"A live self-test of the develop-a-plugin-and-see-it-live path: it reads the built","element":"golden-path-check","type":"single","isMap":false,"iframeUrl":"./golden-path-check/golden-path-check/index.html","scriptUrl":"./golden-path-check/golden-path-check.js","embed":{"iframe":"\u003ciframe src=\"./golden-path-check/golden-path-check/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./golden-path-check/golden-path-check.js\" integrity=\"sha384-1V/sT5SkV0U9yTCK9ELIOFfU1ZIJkInIF6nG3UllJ4dxax3RsEAupSGLJEFK6e14\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgolden-path-check profile-config='{\"profile\":\"golden-path-check\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/golden-path-check>"}}]},{"bundle":"gospel-resources","scriptUrl":"./gospel-resources/gospel-resources.js","output":"doxa-maps/gospel-resources/gospel-resources.js","integrity":"sha384-4pOAnuuOovcKXSQANV9jnLu1ExxiwQMuC4aU5MtAsd959tYmdUj05u4tT57Z/rKI","elements":["gospel-resources-map"],"profiles":[{"profile":"charts","file":"charts.vue","description":"The gap by LANGUAGE (ISO 639-3) rather than by people group — because one translation serves every","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/charts/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/charts/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-4pOAnuuOovcKXSQANV9jnLu1ExxiwQMuC4aU5MtAsd959tYmdUj05u4tT57Z/rKI\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"charts\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"data-tables","file":"data-tables.vue","description":"Two validated tables: what resources exist per people group, and whether that access is keeping","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/data-tables/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/data-tables/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-4pOAnuuOovcKXSQANV9jnLu1ExxiwQMuC4aU5MtAsd959tYmdUj05u4tT57Z/rKI\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"data-tables\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"resources-list","file":"resources-list.vue","description":"Which DX people groups have scripture in their own language, and which have none. The zero-resource","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/resources-list/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/resources-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-4pOAnuuOovcKXSQANV9jnLu1ExxiwQMuC4aU5MtAsd959tYmdUj05u4tT57Z/rKI\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"resources-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"resources-map","file":"resources-map.vue","description":"Every country shaded by how much of its unengaged population has NO gospel resource in their own","element":"gospel-resources-map","type":"single","isMap":true,"iframeUrl":"./gospel-resources/resources-map/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/resources-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-4pOAnuuOovcKXSQANV9jnLu1ExxiwQMuC4aU5MtAsd959tYmdUj05u4tT57Z/rKI\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"resources-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}}]},{"bundle":"my-upg-100-list","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","output":"doxa-maps/my-upg-100-list/my-upg-100-list.js","integrity":"sha384-Q0oRTPiR5rCbGuYjqx06LU6ngVOJflT7LZIevgE0eGypVGomWEPkzJcpmSaEEOW6","elements":["my-upg-100-list-map"],"composes":["my-upg-100-list/upg-100-list","my-upg-100-list/poster-wall"],"profiles":[{"profile":"poster-wall","file":"poster-wall.vue","description":"A wall of printable poster cards, one per 100-list entry, each with a \"Show on map\" action that","element":"my-upg-100-list-map","type":"single","isMap":true,"iframeUrl":"./my-upg-100-list/poster-wall/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/poster-wall/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-Q0oRTPiR5rCbGuYjqx06LU6ngVOJflT7LZIevgE0eGypVGomWEPkzJcpmSaEEOW6\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"poster-wall\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}},{"profile":"upg-100-list","file":"upg-100-list.vue","description":"A personal unreached-people-groups list painted as true boundary polygons —","element":"my-upg-100-list-map","type":"single","isMap":true,"iframeUrl":"./my-upg-100-list/upg-100-list/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/upg-100-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-Q0oRTPiR5rCbGuYjqx06LU6ngVOJflT7LZIevgE0eGypVGomWEPkzJcpmSaEEOW6\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"upg-100-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}},{"profile":"upg-100-mfe","file":"upg-100-mfe.vue","description":"The standalone, shareable and embeddable composite of the my-upg-100-list family — it nests the map","element":"my-upg-100-list-map","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./my-upg-100-list/upg-100-mfe/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/upg-100-mfe/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-Q0oRTPiR5rCbGuYjqx06LU6ngVOJflT7LZIevgE0eGypVGomWEPkzJcpmSaEEOW6\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"upg-100-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}}]},{"bundle":"people-groups-grid","scriptUrl":"./people-groups-grid/people-groups-grid.js","output":"doxa-maps/people-groups-grid/people-groups-grid.js","integrity":"sha384-WjFaFl3Od/LJoquxuZfy9K17ESBij947vYhok7PUb4e0VnnlC71ZvXW6QRduq9Hz","elements":["people-groups-grid"],"profiles":[{"profile":"people-groups-grid","file":"people-groups-grid.vue","description":"The people-groups grid as an owned custom element: card list, search and four","element":"people-groups-grid","type":"parameterized","isMap":false,"iframeUrl":"./people-groups-grid/people-groups-grid/index.html","scriptUrl":"./people-groups-grid/people-groups-grid.js","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./people-groups-grid/people-groups-grid.js\" integrity=\"sha384-WjFaFl3Od/LJoquxuZfy9K17ESBij947vYhok7PUb4e0VnnlC71ZvXW6QRduq9Hz\" crossorigin=\"anonymous\">\u003c/script>\n\u003cpeople-groups-grid profile-config='{\"profile\":\"people-groups-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/people-groups-grid>"},"instances":[{"id":"people-groups-grid","title":"People Groups Grid — standalone (own search + 4 dropdowns)","apiBaseUrl":"","props":{"profile":"people-groups-grid","provider":"maplibre","instanceId":"people-groups-grid","pray-base-url":"https://pray.doxa.life"},"element":"people-groups-grid","iframeUrl":"./people-groups-grid/people-groups-grid/people-groups-grid/index.html","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/people-groups-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"driven","title":"People Groups Grid — externally driven (controls off, props/events)","apiBaseUrl":"","props":{"profile":"people-groups-grid","provider":"maplibre","instanceId":"people-groups-grid-driven","pray-base-url":"https://pray.doxa.life","show-search":"false","show-filters":"false"},"element":"people-groups-grid","iframeUrl":"./people-groups-grid/people-groups-grid/driven/index.html","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/driven/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"plugin-studio","scriptUrl":"./plugin-studio/plugin-studio.js","output":"doxa-maps/plugin-studio/plugin-studio.js","integrity":"sha384-2RlLFRU2XdjBN7w+FPguj8INgj57JFg4IFT2AmdefGnR9QQLehbiiAffV45LcsFH","elements":["plugin-studio"],"composes":["bp-big-picture","people-groups-grid","doxa-research-map","doxa-simple-map","cities-internet-map","gospel-resources-map","my-upg-100-list-map","doxa-vision-card","all-people-groups","research-dashboard"],"profiles":[{"profile":"plugin-studio","file":"plugin-studio.vue","description":"The developer's viewing surface: a sidebar that is the composability ladder","element":"plugin-studio","type":"nested-mfe-spa","isMap":false,"iframeUrl":"./plugin-studio/plugin-studio/index.html","scriptUrl":"./plugin-studio/plugin-studio.js","embed":{"iframe":"\u003ciframe src=\"./plugin-studio/plugin-studio/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./plugin-studio/plugin-studio.js\" integrity=\"sha384-2RlLFRU2XdjBN7w+FPguj8INgj57JFg4IFT2AmdefGnR9QQLehbiiAffV45LcsFH\" crossorigin=\"anonymous\">\u003c/script>\n\u003cplugin-studio profile-config='{\"profile\":\"plugin-studio\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/plugin-studio>"},"instances":[{"id":"studio","title":"Plugin Studio — every element by capability 5 -> 1 (developer studio)","apiBaseUrl":"","props":{"profile":"plugin-studio","provider":"maplibre","instanceId":"plugin-studio","title":"Plugin Studio"},"element":"plugin-studio","iframeUrl":"./plugin-studio/plugin-studio/studio/index.html","embed":{"iframe":"\u003ciframe src=\"./plugin-studio/plugin-studio/studio/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"prayer-walk-planner","scriptUrl":"./prayer-walk-planner/prayer-walk-planner.js","output":"doxa-maps/prayer-walk-planner/prayer-walk-planner.js","integrity":"sha384-F0+r4avX8xkXp0hBpU5EBPU0InMRCObIn2Ieh9HJNn1r2amk8/qHmJ68WuNfsirC","elements":["prayer-walk-planner"],"profiles":[{"profile":"prayer-walk-planner","file":"prayer-walk-planner.vue","description":"A simple polygon-drawing tool for planning prayer-walking routes.","element":"prayer-walk-planner","type":"single","isMap":true,"iframeUrl":"./prayer-walk-planner/prayer-walk-planner/index.html","scriptUrl":"./prayer-walk-planner/prayer-walk-planner.js","embed":{"iframe":"\u003ciframe src=\"./prayer-walk-planner/prayer-walk-planner/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./prayer-walk-planner/prayer-walk-planner.js\" integrity=\"sha384-F0+r4avX8xkXp0hBpU5EBPU0InMRCObIn2Ieh9HJNn1r2amk8/qHmJ68WuNfsirC\" crossorigin=\"anonymous\">\u003c/script>\n\u003cprayer-walk-planner profile-config='{\"profile\":\"prayer-walk-planner\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/prayer-walk-planner>"}}]},{"bundle":"regions-dashboard","scriptUrl":"./regions-dashboard/regions-dashboard.js","output":"doxa-maps/regions-dashboard/regions-dashboard.js","integrity":"sha384-Pk/QVeDX29Vu/ZIxyBT8lpx397coUFaEA8gVUGrheAtXxG4Q5Ri0R+ZUe1CEw5El","elements":["regions-dashboard"],"composes":["regions-dashboard/regions-list","regions-dashboard/region-dashboards"],"profiles":[{"profile":"region-dashboards","file":"region-dashboards.vue","description":"The dashboard half of the Driver's 2-tab Regions element: given a region (or a","element":"regions-dashboard","type":"single","isMap":true,"iframeUrl":"./regions-dashboard/region-dashboards/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/region-dashboards/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-Pk/QVeDX29Vu/ZIxyBT8lpx397coUFaEA8gVUGrheAtXxG4Q5Ri0R+ZUe1CEw5El\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"region-dashboards\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}},{"profile":"regions-list","file":"regions-list.vue","description":"A refactor of DX-life's /regions index page (app/pages/regions/index.vue) into","element":"regions-dashboard","type":"single","isMap":true,"iframeUrl":"./regions-dashboard/regions-list/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/regions-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-Pk/QVeDX29Vu/ZIxyBT8lpx397coUFaEA8gVUGrheAtXxG4Q5Ri0R+ZUe1CEw5El\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"regions-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}},{"profile":"regions-mfe","file":"regions-mfe.vue","description":"The composite the Driver asked for: ONE element carrying the SELECT VIEW switcher","element":"regions-dashboard","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./regions-dashboard/regions-mfe/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/regions-mfe/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-Pk/QVeDX29Vu/ZIxyBT8lpx397coUFaEA8gVUGrheAtXxG4Q5Ri0R+ZUe1CEw5El\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"regions-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}}]},{"bundle":"research-dashboard","scriptUrl":"./research-dashboard/research-dashboard.js","output":"doxa-maps/research-dashboard/research-dashboard.js","integrity":"sha384-VvOYWBcDd7NtnB1eveECKX88ZHIpGnOf79tVdCUqGZzXLgoZPc+oTTPIC3ajaYsn","elements":["research-dashboard-map"],"profiles":[{"profile":"research-dashboard","file":"research-dashboard.vue","description":"Coordinated-Multiple-Views research dashboard for 10/40-window UPGs (live pray.doxa.life): docked facet rail + map-as-hero + linked table/charts, brushing-and-linking over one in-memory store.","element":"research-dashboard-map","type":"monolithic","isMap":true,"iframeUrl":"./research-dashboard/research-dashboard/index.html","scriptUrl":"./research-dashboard/research-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./research-dashboard/research-dashboard/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./research-dashboard/research-dashboard.js\" integrity=\"sha384-VvOYWBcDd7NtnB1eveECKX88ZHIpGnOf79tVdCUqGZzXLgoZPc+oTTPIC3ajaYsn\" crossorigin=\"anonymous\">\u003c/script>\n\u003cresearch-dashboard-map profile-config='{\"profile\":\"research-dashboard\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/research-dashboard-map>"},"bundle":"research-dashboard"}]},{"bundle":"research-map-plus-grid","scriptUrl":"./research-map-plus-grid/research-map-plus-grid.js","output":"doxa-maps/research-map-plus-grid/research-map-plus-grid.js","integrity":"sha384-sOkaMV0UFr2uNXfoJpRvaD+gHD6xFlkmpR7MzEwwFdarYdid8aN9Nj1Y8TqQJuFo","elements":["research-map-plus-grid"],"composes":["doxa-research-map","people-groups-grid"],"profiles":[{"profile":"research-map-plus-grid","file":"research-map-plus-grid.vue","description":"The monolithic 7-tab research map (cap-3) on top, the People Groups grid beneath,","element":"research-map-plus-grid","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./research-map-plus-grid/research-map-plus-grid/index.html","scriptUrl":"./research-map-plus-grid/research-map-plus-grid.js","embed":{"iframe":"\u003ciframe src=\"./research-map-plus-grid/research-map-plus-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./research-map-plus-grid/research-map-plus-grid.js\" integrity=\"sha384-sOkaMV0UFr2uNXfoJpRvaD+gHD6xFlkmpR7MzEwwFdarYdid8aN9Nj1Y8TqQJuFo\" crossorigin=\"anonymous\">\u003c/script>\n\u003cresearch-map-plus-grid profile-config='{\"profile\":\"research-map-plus-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/research-map-plus-grid>"},"instances":[{"id":"default","title":"default","apiBaseUrl":"","props":{"profile":"research-map-plus-grid"},"element":"research-map-plus-grid","iframeUrl":"./research-map-plus-grid/research-map-plus-grid/default/index.html","embed":{"iframe":"\u003ciframe src=\"./research-map-plus-grid/research-map-plus-grid/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"stack-demo","scriptUrl":"./stack-demo/stack-demo.js","output":"doxa-maps/stack-demo/stack-demo.js","integrity":"sha384-gnwM6s+puf1K60Nl7crQcC2QC+9BxwpkaTx4OepLZ8VUCraZc+aRlWpsb6nj6Gyf","elements":["stack-demo"],"composes":["research-dashboard-map","people-groups-grid"],"profiles":[{"profile":"stack-demo","file":"stack-demo.vue","description":"Groups TWO independent elements TOP-TO-BOTTOM so you can embed the pair on a page and","element":"stack-demo","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./stack-demo/stack-demo/index.html","scriptUrl":"./stack-demo/stack-demo.js","embed":{"iframe":"\u003ciframe src=\"./stack-demo/stack-demo/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./stack-demo/stack-demo.js\" integrity=\"sha384-gnwM6s+puf1K60Nl7crQcC2QC+9BxwpkaTx4OepLZ8VUCraZc+aRlWpsb6nj6Gyf\" crossorigin=\"anonymous\">\u003c/script>\n\u003cstack-demo profile-config='{\"profile\":\"stack-demo\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/stack-demo>"},"instances":[{"id":"pair","title":"pair","apiBaseUrl":"","props":{"profile":"stack-demo"},"element":"stack-demo","iframeUrl":"./stack-demo/stack-demo/pair/index.html","embed":{"iframe":"\u003ciframe src=\"./stack-demo/stack-demo/pair/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"template-bundle","scriptUrl":"./template-bundle/template-bundle.js","output":"doxa-maps/template-bundle/template-bundle.js","integrity":"sha384-k+G5UlkZ99QmuecCCWUrjz998JBJnQT3hsDG0A+IVmiX9F3CNswmHXXzYhjnUTDX","elements":["template-bundle"],"profiles":[{"profile":"template-map-a","file":"template-map-a.vue","description":"Minimal example profile A — a colored placeholder, no Mapbox or data.","element":"template-bundle","type":"single","isMap":false,"iframeUrl":"./template-bundle/template-map-a/index.html","scriptUrl":"./template-bundle/template-bundle.js","embed":{"iframe":"\u003ciframe src=\"./template-bundle/template-map-a/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./template-bundle/template-bundle.js\" integrity=\"sha384-k+G5UlkZ99QmuecCCWUrjz998JBJnQT3hsDG0A+IVmiX9F3CNswmHXXzYhjnUTDX\" crossorigin=\"anonymous\">\u003c/script>\n\u003ctemplate-bundle profile-config='{\"profile\":\"template-map-a\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/template-bundle>"},"bundle":"template-bundle"},{"profile":"template-map-b","file":"template-map-b.vue","description":"Minimal example profile B — a second profile in the same bundle.","element":"template-bundle","type":"single","isMap":false,"iframeUrl":"./template-bundle/template-map-b/index.html","scriptUrl":"./template-bundle/template-bundle.js","embed":{"iframe":"\u003ciframe src=\"./template-bundle/template-map-b/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./template-bundle/template-bundle.js\" integrity=\"sha384-k+G5UlkZ99QmuecCCWUrjz998JBJnQT3hsDG0A+IVmiX9F3CNswmHXXzYhjnUTDX\" crossorigin=\"anonymous\">\u003c/script>\n\u003ctemplate-bundle profile-config='{\"profile\":\"template-map-b\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/template-bundle>"},"bundle":"template-bundle"}]}]}; \n\n" + "script": "\n\n" }, "instances": [ { diff --git a/public/doxa-maps/people-groups-grid/people-groups-grid.js b/public/doxa-maps/people-groups-grid/people-groups-grid.js index 21df38aa6..4a98f0355 100644 --- a/public/doxa-maps/people-groups-grid/people-groups-grid.js +++ b/public/doxa-maps/people-groups-grid/people-groups-grid.js @@ -1,20 +1,20 @@ -(function(){"use strict";/** +(function(){"use strict";var zn=typeof document<"u"?document.currentScript:null;/** * @vue/shared v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function Ln(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const Z={},_e=[],Ft=()=>{},ko=()=>!1,Ye=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Xe=t=>t.startsWith("onUpdate:"),st=Object.assign,zn=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},pi=Object.prototype.hasOwnProperty,W=(t,e)=>pi.call(t,e),M=Array.isArray,re=t=>Te(t)==="[object Map]",Ze=t=>Te(t)==="[object Set]",wo=t=>Te(t)==="[object Date]",L=t=>typeof t=="function",nt=t=>typeof t=="string",Ht=t=>typeof t=="symbol",X=t=>t!==null&&typeof t=="object",Ao=t=>(X(t)||L(t))&&L(t.then)&&L(t.catch),So=Object.prototype.toString,Te=t=>So.call(t),bi=t=>Te(t).slice(8,-1),Qe=t=>Te(t)==="[object Object]",Pn=t=>nt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Ee=Ln(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),tn=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},mi=/-\w/g,Ct=tn(t=>t.replace(mi,e=>e.slice(1).toUpperCase())),_i=/\B([A-Z])/g,Mt=tn(t=>t.replace(_i,"-$1").toLowerCase()),Co=tn(t=>t.charAt(0).toUpperCase()+t.slice(1)),On=tn(t=>t?`on${Co(t)}`:""),Kt=(t,e)=>!Object.is(t,e),Dn=(t,...e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:o,value:n})},vi=t=>{const e=parseFloat(t);return isNaN(e)?t:e},To=t=>{const e=nt(t)?Number(t):NaN;return isNaN(e)?t:e};let Eo;const en=()=>Eo||(Eo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function je(t){if(M(t)){const e={};for(let n=0;n{if(n){const o=n.split(xi);o.length>1&&(e[o[0].trim()]=o[1].trim())}}),e}function nn(t){let e="";if(nt(t))e=t;else if(M(t))for(let n=0;n!!(t&&t.__v_isRef===!0),rt=t=>nt(t)?t:t==null?"":M(t)||X(t)&&(t.toString===So||!L(t.toString))?Io(t)?rt(t.value):JSON.stringify(t,Mo,2):String(t),Mo=(t,e)=>Io(e)?Mo(t,e.value):re(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[o,s],i)=>(n[Rn(o,i)+" =>"]=s,n),{})}:Ze(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>Rn(n))}:Ht(e)?Rn(e):X(e)&&!M(e)&&!Qe(e)?String(e):e,Rn=(t,e="")=>{var n;return Ht(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};/** +**/function Pn(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const Q={},ve=[],Kt=()=>{},Ao=()=>!1,Xe=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Ze=t=>t.startsWith("onUpdate:"),st=Object.assign,On=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},mi=Object.prototype.hasOwnProperty,W=(t,e)=>mi.call(t,e),L=Array.isArray,re=t=>Ee(t)==="[object Map]",Qe=t=>Ee(t)==="[object Set]",So=t=>Ee(t)==="[object Date]",P=t=>typeof t=="function",nt=t=>typeof t=="string",$t=t=>typeof t=="symbol",X=t=>t!==null&&typeof t=="object",Co=t=>(X(t)||P(t))&&P(t.then)&&P(t.catch),No=Object.prototype.toString,Ee=t=>No.call(t),_i=t=>Ee(t).slice(8,-1),tn=t=>Ee(t)==="[object Object]",Dn=t=>nt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,je=Pn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),en=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},vi=/-\w/g,Ct=en(t=>t.replace(vi,e=>e.slice(1).toUpperCase())),yi=/\B([A-Z])/g,zt=en(t=>t.replace(yi,"-$1").toLowerCase()),To=en(t=>t.charAt(0).toUpperCase()+t.slice(1)),Rn=en(t=>t?`on${To(t)}`:""),Ut=(t,e)=>!Object.is(t,e),Fn=(t,...e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:o,value:n})},xi=t=>{const e=parseFloat(t);return isNaN(e)?t:e},jo=t=>{const e=nt(t)?Number(t):NaN;return isNaN(e)?t:e};let qo;const nn=()=>qo||(qo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ye(t){if(L(t)){const e={};for(let n=0;n{if(n){const o=n.split(wi);o.length>1&&(e[o[0].trim()]=o[1].trim())}}),e}function on(t){let e="";if(nt(t))e=t;else if(L(t))for(let n=0;n!!(t&&t.__v_isRef===!0),rt=t=>nt(t)?t:t==null?"":L(t)||X(t)&&(t.toString===No||!P(t.toString))?Lo(t)?rt(t.value):JSON.stringify(t,zo,2):String(t),zo=(t,e)=>Lo(e)?zo(t,e.value):re(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[o,s],i)=>(n[Hn(o,i)+" =>"]=s,n),{})}:Qe(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>Hn(n))}:$t(e)?Hn(e):X(e)&&!L(e)&&!tn(e)?String(e):e,Hn=(t,e="")=>{var n;return $t(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};/** * @vue/reactivity v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let ut;class Ci{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&ut&&(ut.active?(this.parent=ut,this.index=(ut.scopes||(ut.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,n;if(this.scopes){const o=this.scopes.slice();for(e=0,n=o.length;e0&&--this._on===0){if(ut===this)ut=this.prevScope;else{let e=ut;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let n,o;for(n=0,o=this.effects.length;n0)return;if(Ie){let e=Ie;for(Ie=void 0;e;){const n=e.next;e.next=void 0,e.flags&=-9,e=n}}let t;for(;qe;){let e=qe;for(qe=void 0;e;){const n=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(o){t||(t=o)}e=n}}if(t)throw t}function Oo(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Do(t){let e,n=t.depsTail,o=n;for(;o;){const s=o.prevDep;o.version===-1?(o===n&&(n=s),Un(o),Ti(o)):e=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=s}t.deps=e,t.depsTail=n}function $n(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Ro(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function Ro(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Me)||(t.globalVersion=Me,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!$n(t))))return;t.flags|=2;const e=t.dep,n=Q,o=Pt;Q=t,Pt=!0;try{Oo(t);const s=t.fn(t._value);(e.version===0||Kt(s,t._value))&&(t.flags|=128,t._value=s,e.version++)}catch(s){throw e.version++,s}finally{Q=n,Pt=o,Do(t),t.flags&=-3}}function Un(t,e=!1){const{dep:n,prevSub:o,nextSub:s}=t;if(o&&(o.nextSub=s,t.prevSub=void 0),s&&(s.prevSub=o,t.nextSub=void 0),n.subs===t&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Un(i,!0)}!e&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ti(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let Pt=!0;const Fo=[];function $t(){Fo.push(Pt),Pt=!1}function Ut(){const t=Fo.pop();Pt=t===void 0?!0:t}function Ho(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=Q;Q=void 0;try{e()}finally{Q=n}}}let Me=0;class Ei{constructor(e,n){this.sub=e,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Bn{constructor(e){this.computed=e,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(e){if(!Q||!Pt||Q===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Q)n=this.activeLink=new Ei(Q,this),Q.deps?(n.prevDep=Q.depsTail,Q.depsTail.nextDep=n,Q.depsTail=n):Q.deps=Q.depsTail=n,Ko(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const o=n.nextDep;o.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=o),n.prevDep=Q.depsTail,n.nextDep=void 0,Q.depsTail.nextDep=n,Q.depsTail=n,Q.deps===n&&(Q.deps=o)}return n}trigger(e){this.version++,Me++,this.notify(e)}notify(e){Hn();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Kn()}}}function Ko(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let o=e.deps;o;o=o.nextDep)Ko(o)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const Vn=new WeakMap,fe=Symbol(""),Wn=Symbol(""),Le=Symbol("");function pt(t,e,n){if(Pt&&Q){let o=Vn.get(t);o||Vn.set(t,o=new Map);let s=o.get(n);s||(o.set(n,s=new Bn),s.map=o,s.key=n),s.track()}}function Xt(t,e,n,o,s,i){const r=Vn.get(t);if(!r){Me++;return}const a=l=>{l&&l.trigger()};if(Hn(),e==="clear")r.forEach(a);else{const l=M(t),h=l&&Pn(n);if(l&&n==="length"){const u=Number(o);r.forEach((p,k)=>{(k==="length"||k===Le||!Ht(k)&&k>=u)&&a(p)})}else switch((n!==void 0||r.has(void 0))&&a(r.get(n)),h&&a(r.get(Le)),e){case"add":l?h&&a(r.get("length")):(a(r.get(fe)),re(t)&&a(r.get(Wn)));break;case"delete":l||(a(r.get(fe)),re(t)&&a(r.get(Wn)));break;case"set":re(t)&&a(r.get(fe));break}}Kn()}function ve(t){const e=V(t);return e===t?e:(pt(e,"iterate",Le),Lt(t)?e:e.map(Ot))}function sn(t){return pt(t=V(t),"iterate",Le),t}function Bt(t,e){return Qt(t)?ye(de(t)?Ot(e):e):Ot(e)}const ji={__proto__:null,[Symbol.iterator](){return Gn(this,Symbol.iterator,t=>Bt(this,t))},concat(...t){return ve(this).concat(...t.map(e=>M(e)?ve(e):e))},entries(){return Gn(this,"entries",t=>(t[1]=Bt(this,t[1]),t))},every(t,e){return Zt(this,"every",t,e,void 0,arguments)},filter(t,e){return Zt(this,"filter",t,e,n=>n.map(o=>Bt(this,o)),arguments)},find(t,e){return Zt(this,"find",t,e,n=>Bt(this,n),arguments)},findIndex(t,e){return Zt(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return Zt(this,"findLast",t,e,n=>Bt(this,n),arguments)},findLastIndex(t,e){return Zt(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return Zt(this,"forEach",t,e,void 0,arguments)},includes(...t){return Jn(this,"includes",t)},indexOf(...t){return Jn(this,"indexOf",t)},join(t){return ve(this).join(t)},lastIndexOf(...t){return Jn(this,"lastIndexOf",t)},map(t,e){return Zt(this,"map",t,e,void 0,arguments)},pop(){return ze(this,"pop")},push(...t){return ze(this,"push",t)},reduce(t,...e){return $o(this,"reduce",t,e)},reduceRight(t,...e){return $o(this,"reduceRight",t,e)},shift(){return ze(this,"shift")},some(t,e){return Zt(this,"some",t,e,void 0,arguments)},splice(...t){return ze(this,"splice",t)},toReversed(){return ve(this).toReversed()},toSorted(t){return ve(this).toSorted(t)},toSpliced(...t){return ve(this).toSpliced(...t)},unshift(...t){return ze(this,"unshift",t)},values(){return Gn(this,"values",t=>Bt(this,t))}};function Gn(t,e,n){const o=sn(t),s=o[e]();return o!==t&&!Lt(t)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.done||(i.value=n(i.value)),i}),s}const qi=Array.prototype;function Zt(t,e,n,o,s,i){const r=sn(t),a=r!==t&&!Lt(t),l=r[e];if(l!==qi[e]){const p=l.apply(t,i);return a?Ot(p):p}let h=n;r!==t&&(a?h=function(p,k){return n.call(this,Bt(t,p),k,t)}:n.length>2&&(h=function(p,k){return n.call(this,p,k,t)}));const u=l.call(r,h,o);return a&&s?s(u):u}function $o(t,e,n,o){const s=sn(t),i=s!==t&&!Lt(t);let r=n,a=!1;s!==t&&(i?(a=o.length===0,r=function(h,u,p){return a&&(a=!1,h=Bt(t,h)),n.call(this,h,Bt(t,u),p,t)}):n.length>3&&(r=function(h,u,p){return n.call(this,h,u,p,t)}));const l=s[e](r,...o);return a?Bt(t,l):l}function Jn(t,e,n){const o=V(t);pt(o,"iterate",Le);const s=o[e](...n);return(s===-1||s===!1)&&Qn(n[0])?(n[0]=V(n[0]),o[e](...n)):s}function ze(t,e,n=[]){$t(),Hn();const o=V(t)[e].apply(t,n);return Kn(),Ut(),o}const Ii=Ln("__proto__,__v_isRef,__isVue"),Uo=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Ht));function Mi(t){Ht(t)||(t=String(t));const e=V(this);return pt(e,"has",t),e.hasOwnProperty(t)}class Bo{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,o){if(n==="__v_skip")return e.__v_skip;const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return o===(s?i?Xo:Yo:i?Jo:Go).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(o)?e:void 0;const r=M(e);if(!s){let l;if(r&&(l=ji[n]))return l;if(n==="hasOwnProperty")return Mi}const a=Reflect.get(e,n,ft(e)?e:o);if((Ht(n)?Uo.has(n):Ii(n))||(s||pt(e,"get",n),i))return a;if(ft(a)){const l=r&&Pn(n)?a:a.value;return s&&X(l)?Zn(l):l}return X(a)?s?Zn(a):Xn(a):a}}class Vo extends Bo{constructor(e=!1){super(!1,e)}set(e,n,o,s){let i=e[n];const r=M(e)&&Pn(n);if(!this._isShallow){const h=Qt(i);if(!Lt(o)&&!Qt(o)&&(i=V(i),o=V(o)),!r&&ft(i)&&!ft(o))return h||(i.value=o),!0}const a=r?Number(n)t,rn=t=>Reflect.getPrototypeOf(t);function Di(t,e,n){return function(...o){const s=this.__v_raw,i=V(s),r=re(i),a=t==="entries"||t===Symbol.iterator&&r,l=t==="keys"&&r,h=s[t](...o),u=n?Yn:e?ye:Ot;return!e&&pt(i,"iterate",l?Wn:fe),st(Object.create(h),{next(){const{value:p,done:k}=h.next();return k?{value:p,done:k}:{value:a?[u(p[0]),u(p[1])]:u(p),done:k}}})}}function an(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Ri(t,e){const n={get(s){const i=this.__v_raw,r=V(i),a=V(s);t||(Kt(s,a)&&pt(r,"get",s),pt(r,"get",a));const{has:l}=rn(r),h=e?Yn:t?ye:Ot;if(l.call(r,s))return h(i.get(s));if(l.call(r,a))return h(i.get(a));i!==r&&i.get(s)},get size(){const s=this.__v_raw;return!t&&pt(V(s),"iterate",fe),s.size},has(s){const i=this.__v_raw,r=V(i),a=V(s);return t||(Kt(s,a)&&pt(r,"has",s),pt(r,"has",a)),s===a?i.has(s):i.has(s)||i.has(a)},forEach(s,i){const r=this,a=r.__v_raw,l=V(a),h=e?Yn:t?ye:Ot;return!t&&pt(l,"iterate",fe),a.forEach((u,p)=>s.call(i,h(u),h(p),r))}};return st(n,t?{add:an("add"),set:an("set"),delete:an("delete"),clear:an("clear")}:{add(s){const i=V(this),r=rn(i),a=V(s),l=!e&&!Lt(s)&&!Qt(s)?a:s;return r.has.call(i,l)||Kt(s,l)&&r.has.call(i,s)||Kt(a,l)&&r.has.call(i,a)||(i.add(l),Xt(i,"add",l,l)),this},set(s,i){!e&&!Lt(i)&&!Qt(i)&&(i=V(i));const r=V(this),{has:a,get:l}=rn(r);let h=a.call(r,s);h||(s=V(s),h=a.call(r,s));const u=l.call(r,s);return r.set(s,i),h?Kt(i,u)&&Xt(r,"set",s,i):Xt(r,"add",s,i),this},delete(s){const i=V(this),{has:r,get:a}=rn(i);let l=r.call(i,s);l||(s=V(s),l=r.call(i,s)),a&&a.call(i,s);const h=i.delete(s);return l&&Xt(i,"delete",s,void 0),h},clear(){const s=V(this),i=s.size!==0,r=s.clear();return i&&Xt(s,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Di(s,t,e)}),n}function ln(t,e){const n=Ri(t,e);return(o,s,i)=>s==="__v_isReactive"?!t:s==="__v_isReadonly"?t:s==="__v_raw"?o:Reflect.get(W(n,s)&&s in o?n:o,s,i)}const Fi={get:ln(!1,!1)},Hi={get:ln(!1,!0)},Ki={get:ln(!0,!1)},$i={get:ln(!0,!0)},Go=new WeakMap,Jo=new WeakMap,Yo=new WeakMap,Xo=new WeakMap;function Ui(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Xn(t){return Qt(t)?t:cn(t,!1,Li,Fi,Go)}function Bi(t){return cn(t,!1,Pi,Hi,Jo)}function Zn(t){return cn(t,!0,zi,Ki,Yo)}function Hl(t){return cn(t,!0,Oi,$i,Xo)}function cn(t,e,n,o,s){if(!X(t)||t.__v_raw&&!(e&&t.__v_isReactive)||t.__v_skip||!Object.isExtensible(t))return t;const i=s.get(t);if(i)return i;const r=Ui(bi(t));if(r===0)return t;const a=new Proxy(t,r===2?o:n);return s.set(t,a),a}function de(t){return Qt(t)?de(t.__v_raw):!!(t&&t.__v_isReactive)}function Qt(t){return!!(t&&t.__v_isReadonly)}function Lt(t){return!!(t&&t.__v_isShallow)}function Qn(t){return t?!!t.__v_raw:!1}function V(t){const e=t&&t.__v_raw;return e?V(e):t}function Vi(t){return!W(t,"__v_skip")&&Object.isExtensible(t)&&No(t,"__v_skip",!0),t}const Ot=t=>X(t)?Xn(t):t,ye=t=>X(t)?Zn(t):t;function ft(t){return t?t.__v_isRef===!0:!1}function dt(t){return Wi(t,!1)}function Wi(t,e){return ft(t)?t:new Gi(t,e)}class Gi{constructor(e,n){this.dep=new Bn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:V(e),this._value=n?e:Ot(e),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(e){const n=this._rawValue,o=this.__v_isShallow||Lt(e)||Qt(e);e=o?e:V(e),Kt(e,n)&&(this._rawValue=e,this._value=o?e:Ot(e),this.dep.trigger())}}function to(t){return ft(t)?t.value:t}const Ji={get:(t,e,n)=>e==="__v_raw"?t:to(Reflect.get(t,e,n)),set:(t,e,n,o)=>{const s=t[e];return ft(s)&&!ft(n)?(s.value=n,!0):Reflect.set(t,e,n,o)}};function Zo(t){return de(t)?t:new Proxy(t,Ji)}class Yi{constructor(e,n,o){this.fn=e,this.setter=n,this._value=void 0,this.dep=new Bn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Me-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&Q!==this)return Po(this,!0),!0}get value(){const e=this.dep.track();return Ro(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Xi(t,e,n=!1){let o,s;return L(t)?o=t:(o=t.get,s=t.set),new Yi(o,s,n)}const un={},fn=new WeakMap;let he;function Zi(t,e=!1,n=he){if(n){let o=fn.get(n);o||fn.set(n,o=[]),o.push(t)}}function Qi(t,e,n=Z){const{immediate:o,deep:s,once:i,scheduler:r,augmentJob:a,call:l}=n,h=E=>s?E:Lt(E)||s===!1||s===0?ae(E,1):ae(E);let u,p,k,w,I=!1,j=!1;if(ft(t)?(p=()=>t.value,I=Lt(t)):de(t)?(p=()=>h(t),I=!0):M(t)?(j=!0,I=t.some(E=>de(E)||Lt(E)),p=()=>t.map(E=>{if(ft(E))return E.value;if(de(E))return h(E);if(L(E))return l?l(E,2):E()})):L(t)?e?p=l?()=>l(t,2):t:p=()=>{if(k){$t();try{k()}finally{Ut()}}const E=he;he=u;try{return l?l(t,3,[w]):t(w)}finally{he=E}}:p=Ft,e&&s){const E=p,tt=s===!0?1/0:s;p=()=>ae(E(),tt)}const R=Ni(),F=()=>{u.stop(),R&&R.active&&zn(R.effects,u)};if(i&&e){const E=e;e=(...tt)=>{const ot=E(...tt);return F(),ot}}let D=j?new Array(t.length).fill(un):un;const P=E=>{if(!(!(u.flags&1)||!u.dirty&&!E))if(e){const tt=u.run();if(E||s||I||(j?tt.some((ot,ht)=>Kt(ot,D[ht])):Kt(tt,D))){k&&k();const ot=he;he=u;try{const ht=[tt,D===un?void 0:j&&D[0]===un?[]:D,w];D=tt,l?l(e,3,ht):e(...ht)}finally{he=ot}}}else u.run()};return a&&a(P),u=new Lo(p),u.scheduler=r?()=>r(P,!1):P,w=E=>Zi(E,!1,u),k=u.onStop=()=>{const E=fn.get(u);if(E){if(l)l(E,4);else for(const tt of E)tt();fn.delete(u)}},e?o?P(!0):D=u.run():r?r(P.bind(null,!0),!0):u.run(),F.pause=u.pause.bind(u),F.resume=u.resume.bind(u),F.stop=F,F}function ae(t,e=1/0,n){if(e<=0||!X(t)||t.__v_skip||(n=n||new Map,(n.get(t)||0)>=e))return t;if(n.set(t,e),e--,ft(t))ae(t.value,e,n);else if(M(t))for(let o=0;o{ae(o,e,n)});else if(Qe(t)){for(const o in t)ae(t[o],e,n);for(const o of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,o)&&ae(t[o],e,n)}return t}/** +**/let ut;class Ti{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&ut&&(ut.active?(this.parent=ut,this.index=(ut.scopes||(ut.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,n;if(this.scopes){const o=this.scopes.slice();for(e=0,n=o.length;e0&&--this._on===0){if(ut===this)ut=this.prevScope;else{let e=ut;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let n,o;for(n=0,o=this.effects.length;n0)return;if(Ie){let e=Ie;for(Ie=void 0;e;){const n=e.next;e.next=void 0,e.flags&=-9,e=n}}let t;for(;qe;){let e=qe;for(qe=void 0;e;){const n=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(o){t||(t=o)}e=n}}if(t)throw t}function Ro(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Fo(t){let e,n=t.depsTail,o=n;for(;o;){const s=o.prevDep;o.version===-1?(o===n&&(n=s),Vn(o),ji(o)):e=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=s}t.deps=e,t.depsTail=n}function Bn(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Ho(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function Ho(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Me)||(t.globalVersion=Me,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!Bn(t))))return;t.flags|=2;const e=t.dep,n=tt,o=Dt;tt=t,Dt=!0;try{Ro(t);const s=t.fn(t._value);(e.version===0||Ut(s,t._value))&&(t.flags|=128,t._value=s,e.version++)}catch(s){throw e.version++,s}finally{tt=n,Dt=o,Fo(t),t.flags&=-3}}function Vn(t,e=!1){const{dep:n,prevSub:o,nextSub:s}=t;if(o&&(o.nextSub=s,t.prevSub=void 0),s&&(s.prevSub=o,t.nextSub=void 0),n.subs===t&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Vn(i,!0)}!e&&!--n.sc&&n.map&&n.map.delete(n.key)}function ji(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let Dt=!0;const Ko=[];function Bt(){Ko.push(Dt),Dt=!1}function Vt(){const t=Ko.pop();Dt=t===void 0?!0:t}function $o(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=tt;tt=void 0;try{e()}finally{tt=n}}}let Me=0;class qi{constructor(e,n){this.sub=e,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Wn{constructor(e){this.computed=e,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(e){if(!tt||!Dt||tt===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==tt)n=this.activeLink=new qi(tt,this),tt.deps?(n.prevDep=tt.depsTail,tt.depsTail.nextDep=n,tt.depsTail=n):tt.deps=tt.depsTail=n,Uo(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const o=n.nextDep;o.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=o),n.prevDep=tt.depsTail,n.nextDep=void 0,tt.depsTail.nextDep=n,tt.depsTail=n,tt.deps===n&&(tt.deps=o)}return n}trigger(e){this.version++,Me++,this.notify(e)}notify(e){$n();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Un()}}}function Uo(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let o=e.deps;o;o=o.nextDep)Uo(o)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const Gn=new WeakMap,fe=Symbol(""),Jn=Symbol(""),Le=Symbol("");function bt(t,e,n){if(Dt&&tt){let o=Gn.get(t);o||Gn.set(t,o=new Map);let s=o.get(n);s||(o.set(n,s=new Wn),s.map=o,s.key=n),s.track()}}function Zt(t,e,n,o,s,i){const r=Gn.get(t);if(!r){Me++;return}const a=c=>{c&&c.trigger()};if($n(),e==="clear")r.forEach(a);else{const c=L(t),u=c&&Dn(n);if(c&&n==="length"){const d=Number(o);r.forEach((g,x)=>{(x==="length"||x===Le||!$t(x)&&x>=d)&&a(g)})}else switch((n!==void 0||r.has(void 0))&&a(r.get(n)),u&&a(r.get(Le)),e){case"add":c?u&&a(r.get("length")):(a(r.get(fe)),re(t)&&a(r.get(Jn)));break;case"delete":c||(a(r.get(fe)),re(t)&&a(r.get(Jn)));break;case"set":re(t)&&a(r.get(fe));break}}Un()}function xe(t){const e=B(t);return e===t?e:(bt(e,"iterate",Le),Pt(t)?e:e.map(Rt))}function rn(t){return bt(t=B(t),"iterate",Le),t}function Wt(t,e){return te(t)?ke(de(t)?Rt(e):e):Rt(e)}const Ii={__proto__:null,[Symbol.iterator](){return Yn(this,Symbol.iterator,t=>Wt(this,t))},concat(...t){return xe(this).concat(...t.map(e=>L(e)?xe(e):e))},entries(){return Yn(this,"entries",t=>(t[1]=Wt(this,t[1]),t))},every(t,e){return Qt(this,"every",t,e,void 0,arguments)},filter(t,e){return Qt(this,"filter",t,e,n=>n.map(o=>Wt(this,o)),arguments)},find(t,e){return Qt(this,"find",t,e,n=>Wt(this,n),arguments)},findIndex(t,e){return Qt(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return Qt(this,"findLast",t,e,n=>Wt(this,n),arguments)},findLastIndex(t,e){return Qt(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return Qt(this,"forEach",t,e,void 0,arguments)},includes(...t){return Xn(this,"includes",t)},indexOf(...t){return Xn(this,"indexOf",t)},join(t){return xe(this).join(t)},lastIndexOf(...t){return Xn(this,"lastIndexOf",t)},map(t,e){return Qt(this,"map",t,e,void 0,arguments)},pop(){return ze(this,"pop")},push(...t){return ze(this,"push",t)},reduce(t,...e){return Bo(this,"reduce",t,e)},reduceRight(t,...e){return Bo(this,"reduceRight",t,e)},shift(){return ze(this,"shift")},some(t,e){return Qt(this,"some",t,e,void 0,arguments)},splice(...t){return ze(this,"splice",t)},toReversed(){return xe(this).toReversed()},toSorted(t){return xe(this).toSorted(t)},toSpliced(...t){return xe(this).toSpliced(...t)},unshift(...t){return ze(this,"unshift",t)},values(){return Yn(this,"values",t=>Wt(this,t))}};function Yn(t,e,n){const o=rn(t),s=o[e]();return o!==t&&!Pt(t)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.done||(i.value=n(i.value)),i}),s}const Mi=Array.prototype;function Qt(t,e,n,o,s,i){const r=rn(t),a=r!==t&&!Pt(t),c=r[e];if(c!==Mi[e]){const g=c.apply(t,i);return a?Rt(g):g}let u=n;r!==t&&(a?u=function(g,x){return n.call(this,Wt(t,g),x,t)}:n.length>2&&(u=function(g,x){return n.call(this,g,x,t)}));const d=c.call(r,u,o);return a&&s?s(d):d}function Bo(t,e,n,o){const s=rn(t),i=s!==t&&!Pt(t);let r=n,a=!1;s!==t&&(i?(a=o.length===0,r=function(u,d,g){return a&&(a=!1,u=Wt(t,u)),n.call(this,u,Wt(t,d),g,t)}):n.length>3&&(r=function(u,d,g){return n.call(this,u,d,g,t)}));const c=s[e](r,...o);return a?Wt(t,c):c}function Xn(t,e,n){const o=B(t);bt(o,"iterate",Le);const s=o[e](...n);return(s===-1||s===!1)&&eo(n[0])?(n[0]=B(n[0]),o[e](...n)):s}function ze(t,e,n=[]){Bt(),$n();const o=B(t)[e].apply(t,n);return Un(),Vt(),o}const Li=Pn("__proto__,__v_isRef,__isVue"),Vo=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter($t));function zi(t){$t(t)||(t=String(t));const e=B(this);return bt(e,"has",t),e.hasOwnProperty(t)}class Wo{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,o){if(n==="__v_skip")return e.__v_skip;const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return o===(s?i?Qo:Zo:i?Xo:Yo).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(o)?e:void 0;const r=L(e);if(!s){let c;if(r&&(c=Ii[n]))return c;if(n==="hasOwnProperty")return zi}const a=Reflect.get(e,n,ft(e)?e:o);if(($t(n)?Vo.has(n):Li(n))||(s||bt(e,"get",n),i))return a;if(ft(a)){const c=r&&Dn(n)?a:a.value;return s&&X(c)?to(c):c}return X(a)?s?to(a):Qn(a):a}}class Go extends Wo{constructor(e=!1){super(!1,e)}set(e,n,o,s){let i=e[n];const r=L(e)&&Dn(n);if(!this._isShallow){const u=te(i);if(!Pt(o)&&!te(o)&&(i=B(i),o=B(o)),!r&&ft(i)&&!ft(o))return u||(i.value=o),!0}const a=r?Number(n)t,an=t=>Reflect.getPrototypeOf(t);function Fi(t,e,n){return function(...o){const s=this.__v_raw,i=B(s),r=re(i),a=t==="entries"||t===Symbol.iterator&&r,c=t==="keys"&&r,u=s[t](...o),d=n?Zn:e?ke:Rt;return!e&&bt(i,"iterate",c?Jn:fe),st(Object.create(u),{next(){const{value:g,done:x}=u.next();return x?{value:g,done:x}:{value:a?[d(g[0]),d(g[1])]:d(g),done:x}}})}}function cn(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Hi(t,e){const n={get(s){const i=this.__v_raw,r=B(i),a=B(s);t||(Ut(s,a)&&bt(r,"get",s),bt(r,"get",a));const{has:c}=an(r),u=e?Zn:t?ke:Rt;if(c.call(r,s))return u(i.get(s));if(c.call(r,a))return u(i.get(a));i!==r&&i.get(s)},get size(){const s=this.__v_raw;return!t&&bt(B(s),"iterate",fe),s.size},has(s){const i=this.__v_raw,r=B(i),a=B(s);return t||(Ut(s,a)&&bt(r,"has",s),bt(r,"has",a)),s===a?i.has(s):i.has(s)||i.has(a)},forEach(s,i){const r=this,a=r.__v_raw,c=B(a),u=e?Zn:t?ke:Rt;return!t&&bt(c,"iterate",fe),a.forEach((d,g)=>s.call(i,u(d),u(g),r))}};return st(n,t?{add:cn("add"),set:cn("set"),delete:cn("delete"),clear:cn("clear")}:{add(s){const i=B(this),r=an(i),a=B(s),c=!e&&!Pt(s)&&!te(s)?a:s;return r.has.call(i,c)||Ut(s,c)&&r.has.call(i,s)||Ut(a,c)&&r.has.call(i,a)||(i.add(c),Zt(i,"add",c,c)),this},set(s,i){!e&&!Pt(i)&&!te(i)&&(i=B(i));const r=B(this),{has:a,get:c}=an(r);let u=a.call(r,s);u||(s=B(s),u=a.call(r,s));const d=c.call(r,s);return r.set(s,i),u?Ut(i,d)&&Zt(r,"set",s,i):Zt(r,"add",s,i),this},delete(s){const i=B(this),{has:r,get:a}=an(i);let c=r.call(i,s);c||(s=B(s),c=r.call(i,s)),a&&a.call(i,s);const u=i.delete(s);return c&&Zt(i,"delete",s,void 0),u},clear(){const s=B(this),i=s.size!==0,r=s.clear();return i&&Zt(s,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Fi(s,t,e)}),n}function ln(t,e){const n=Hi(t,e);return(o,s,i)=>s==="__v_isReactive"?!t:s==="__v_isReadonly"?t:s==="__v_raw"?o:Reflect.get(W(n,s)&&s in o?n:o,s,i)}const Ki={get:ln(!1,!1)},$i={get:ln(!1,!0)},Ui={get:ln(!0,!1)},Bi={get:ln(!0,!0)},Yo=new WeakMap,Xo=new WeakMap,Zo=new WeakMap,Qo=new WeakMap;function Vi(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Qn(t){return te(t)?t:un(t,!1,Pi,Ki,Yo)}function Wi(t){return un(t,!1,Di,$i,Xo)}function to(t){return un(t,!0,Oi,Ui,Zo)}function Bc(t){return un(t,!0,Ri,Bi,Qo)}function un(t,e,n,o,s){if(!X(t)||t.__v_raw&&!(e&&t.__v_isReactive)||t.__v_skip||!Object.isExtensible(t))return t;const i=s.get(t);if(i)return i;const r=Vi(_i(t));if(r===0)return t;const a=new Proxy(t,r===2?o:n);return s.set(t,a),a}function de(t){return te(t)?de(t.__v_raw):!!(t&&t.__v_isReactive)}function te(t){return!!(t&&t.__v_isReadonly)}function Pt(t){return!!(t&&t.__v_isShallow)}function eo(t){return t?!!t.__v_raw:!1}function B(t){const e=t&&t.__v_raw;return e?B(e):t}function Gi(t){return!W(t,"__v_skip")&&Object.isExtensible(t)&&Eo(t,"__v_skip",!0),t}const Rt=t=>X(t)?Qn(t):t,ke=t=>X(t)?to(t):t;function ft(t){return t?t.__v_isRef===!0:!1}function dt(t){return Ji(t,!1)}function Ji(t,e){return ft(t)?t:new Yi(t,e)}class Yi{constructor(e,n){this.dep=new Wn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:B(e),this._value=n?e:Rt(e),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(e){const n=this._rawValue,o=this.__v_isShallow||Pt(e)||te(e);e=o?e:B(e),Ut(e,n)&&(this._rawValue=e,this._value=o?e:Rt(e),this.dep.trigger())}}function no(t){return ft(t)?t.value:t}const Xi={get:(t,e,n)=>e==="__v_raw"?t:no(Reflect.get(t,e,n)),set:(t,e,n,o)=>{const s=t[e];return ft(s)&&!ft(n)?(s.value=n,!0):Reflect.set(t,e,n,o)}};function ts(t){return de(t)?t:new Proxy(t,Xi)}class Zi{constructor(e,n,o){this.fn=e,this.setter=n,this._value=void 0,this.dep=new Wn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Me-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&tt!==this)return Do(this,!0),!0}get value(){const e=this.dep.track();return Ho(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Qi(t,e,n=!1){let o,s;return P(t)?o=t:(o=t.get,s=t.set),new Zi(o,s,n)}const fn={},dn=new WeakMap;let he;function tr(t,e=!1,n=he){if(n){let o=dn.get(n);o||dn.set(n,o=[]),o.push(t)}}function er(t,e,n=Q){const{immediate:o,deep:s,once:i,scheduler:r,augmentJob:a,call:c}=n,u=q=>s?q:Pt(q)||s===!1||s===0?ae(q,1):ae(q);let d,g,x,S,M=!1,j=!1;if(ft(t)?(g=()=>t.value,M=Pt(t)):de(t)?(g=()=>u(t),M=!0):L(t)?(j=!0,M=t.some(q=>de(q)||Pt(q)),g=()=>t.map(q=>{if(ft(q))return q.value;if(de(q))return u(q);if(P(q))return c?c(q,2):q()})):P(t)?e?g=c?()=>c(t,2):t:g=()=>{if(x){Bt();try{x()}finally{Vt()}}const q=he;he=d;try{return c?c(t,3,[S]):t(S)}finally{he=q}}:g=Kt,e&&s){const q=g,J=s===!0?1/0:s;g=()=>ae(q(),J)}const U=Ei(),R=()=>{d.stop(),U&&U.active&&On(U.effects,d)};if(i&&e){const q=e;e=(...J)=>{const ht=q(...J);return R(),ht}}let O=j?new Array(t.length).fill(fn):fn;const F=q=>{if(!(!(d.flags&1)||!d.dirty&&!q))if(e){const J=d.run();if(q||s||M||(j?J.some((ht,ot)=>Ut(ht,O[ot])):Ut(J,O))){x&&x();const ht=he;he=d;try{const ot=[J,O===fn?void 0:j&&O[0]===fn?[]:O,S];O=J,c?c(e,3,ot):e(...ot)}finally{he=ht}}}else d.run()};return a&&a(F),d=new Po(g),d.scheduler=r?()=>r(F,!1):F,S=q=>tr(q,!1,d),x=d.onStop=()=>{const q=dn.get(d);if(q){if(c)c(q,4);else for(const J of q)J();dn.delete(d)}},e?o?F(!0):O=d.run():r?r(F.bind(null,!0),!0):d.run(),R.pause=d.pause.bind(d),R.resume=d.resume.bind(d),R.stop=R,R}function ae(t,e=1/0,n){if(e<=0||!X(t)||t.__v_skip||(n=n||new Map,(n.get(t)||0)>=e))return t;if(n.set(t,e),e--,ft(t))ae(t.value,e,n);else if(L(t))for(let o=0;o{ae(o,e,n)});else if(tn(t)){for(const o in t)ae(t[o],e,n);for(const o of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,o)&&ae(t[o],e,n)}return t}/** * @vue/runtime-core v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const Pe=[];let eo=!1;function Kl(t,...e){if(eo)return;eo=!0,$t();const n=Pe.length?Pe[Pe.length-1].component:null,o=n&&n.appContext.config.warnHandler,s=tr();if(o)xe(o,n,11,[t+e.map(i=>{var r,a;return(a=(r=i.toString)==null?void 0:r.call(i))!=null?a:JSON.stringify(i)}).join(""),n&&n.proxy,s.map(({vnode:i})=>`at <${Xs(n,i.type)}>`).join(` +**/const Pe=[];let oo=!1;function Vc(t,...e){if(oo)return;oo=!0,Bt();const n=Pe.length?Pe[Pe.length-1].component:null,o=n&&n.appContext.config.warnHandler,s=nr();if(o)we(o,n,11,[t+e.map(i=>{var r,a;return(a=(r=i.toString)==null?void 0:r.call(i))!=null?a:JSON.stringify(i)}).join(""),n&&n.proxy,s.map(({vnode:i})=>`at <${Qs(n,i.type)}>`).join(` `),s]);else{const i=[`[Vue warn]: ${t}`,...e];s.length&&i.push(` -`,...er(s)),console.warn(...i)}Ut(),eo=!1}function tr(){let t=Pe[Pe.length-1];if(!t)return[];const e=[];for(;t;){const n=e[0];n&&n.vnode===t?n.recurseCount++:e.push({vnode:t,recurseCount:0});const o=t.component&&t.component.parent;t=o&&o.vnode}return e}function er(t){const e=[];return t.forEach((n,o)=>{e.push(...o===0?[]:[` -`],...nr(n))}),e}function nr({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",o=t.component?t.component.parent==null:!1,s=` at <${Xs(t.component,t.type,o)}`,i=">"+n;return t.props?[s,...or(t.props),i]:[s+i]}function or(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(o=>{e.push(...Qo(o,t[o]))}),n.length>3&&e.push(" ..."),e}function Qo(t,e,n){return nt(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?n?e:[`${t}=${e}`]:ft(e)?(e=Qo(t,V(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):L(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=V(e),n?e:[`${t}=`,e])}function xe(t,e,n,o){try{return o?t(...o):t()}catch(s){dn(s,e,n)}}function Dt(t,e,n,o){if(L(t)){const s=xe(t,e,n,o);return s&&Ao(s)&&s.catch(i=>{dn(i,e,n)}),s}if(M(t)){const s=[];for(let i=0;i>>1,s=yt[o],i=Oe(s);i=Oe(n)?yt.push(t):yt.splice(ir(e),0,t),t.flags|=1,es()}}function es(){hn||(hn=ts.then(ss))}function rr(t){if(!M(t))le&&t.id===-1?le.splice(we+1,0,t):t.flags&1||(ke.push(t),t.flags|=1);else for(let e=0;eOe(n)-Oe(o));if(ke.length=0,le){for(let n=0;nt.id==null?t.flags&2?-1:1/0:t.id;function ss(t){try{for(Vt=0;Vt{o._d&&Ks(-1);const i=pn(e),r=be.length;let a;try{a=t(...s)}finally{for(let l=be.length;l>r;l--)Hs();pn(i),o._d&&Ks(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function ge(t,e,n,o){const s=t.dirs,i=e&&e.dirs;for(let r=0;r1)return n&&L(e)?e.call(o&&o.proxy):e}}const cr=Symbol.for("v-scx"),ur=()=>bn(cr);function mn(t,e,n){return rs(t,e,n)}function rs(t,e,n=Z){const{immediate:o,deep:s,flush:i,once:r}=n,a=st({},n),l=e&&o||!e&&i!=="post";let h;if(Ve){if(i==="sync"){const w=ur();h=w.__watcherHandles||(w.__watcherHandles=[])}else if(!l){const w=()=>{};return w.stop=Ft,w.resume=Ft,w.pause=Ft,w}}const u=wt;a.call=(w,I,j)=>Dt(w,u,I,j);let p=!1;i==="post"?a.scheduler=w=>{Nt(w,u&&u.suspense)}:i!=="sync"&&(p=!0,a.scheduler=(w,I)=>{I?w():no(w)}),a.augmentJob=w=>{e&&(w.flags|=4),p&&(w.flags|=2,u&&(w.id=u.uid,w.i=u))};const k=Qi(t,e,a);return Ve&&(h?h.push(k):l&&k()),k}function fr(t,e,n){const o=this.proxy,s=nt(t)?t.includes(".")?as(o,t):()=>o[t]:t.bind(o,o);let i;L(e)?i=e:(i=e.handler,n=e);const r=Be(this),a=rs(s,i.bind(o),n);return r(),a}function as(t,e){const n=e.split(".");return()=>{let o=t;for(let s=0;st.__isTeleport,oo=Symbol("_leaveCb");function hr(t){let e=t[0];if(t.length>1){for(const n of t)if(n.type!==ee){e=n;break}}return e}function ls(t){if(!io(t))return _n(t.type)&&t.children?hr(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:n}=t;if(n){if(e&16)return n[0];if(e&32&&L(n.default))return n.default()}}function so(t,e){if(t.shapeFlag&6&&t.component){t.transition=e;const n=t.component.subTree;so(_n(n.type)&&ls(n)||n,e)}else t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function gr(t,e){return L(t)?st({name:t.name},e,{setup:t}):t}function cs(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function us(t,e){let n;return!!((n=Object.getOwnPropertyDescriptor(t,e))&&!n.configurable)}const vn=new WeakMap;function De(t,e,n,o,s=!1){if(M(t)){t.forEach((j,R)=>De(j,e&&(M(e)?e[R]:e),n,o,s));return}if(Re(o)&&!s){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&De(t,e,n,o.component.subTree);return}const i=o.shapeFlag&4?bo(o.component):o.el,r=s?null:i,{i:a,r:l}=t,h=e&&e.r,u=a.refs===Z?a.refs={}:a.refs,p=a.setupState,k=V(p),w=p===Z?ko:j=>us(u,j)?!1:W(k,j),I=(j,R)=>!(R&&us(u,R));if(h!=null&&h!==l){if(fs(e),nt(h))u[h]=null,w(h)&&(p[h]=null);else if(ft(h)){const j=e;I(h,j.k)&&(h.value=null),j.k&&(u[j.k]=null)}}if(L(l))xe(l,a,12,[r,u]);else{const j=nt(l),R=ft(l);if(j||R){const F=()=>{if(t.f){const D=j?w(l)?p[l]:u[l]:I()||!t.k?l.value:u[t.k];if(s)M(D)&&zn(D,i);else if(M(D))D.includes(i)||D.push(i);else if(j)u[l]=[i],w(l)&&(p[l]=u[l]);else{const P=[i];I(l,t.k)&&(l.value=P),t.k&&(u[t.k]=P)}}else j?(u[l]=r,w(l)&&(p[l]=r)):R&&(I(l,t.k)&&(l.value=r),t.k&&(u[t.k]=r))};if(r){const D=()=>{F(),vn.delete(t)};D.id=-1,vn.set(t,D),Nt(D,n)}else fs(t),F()}}}function fs(t){const e=vn.get(t);e&&(e.flags|=8,vn.delete(t))}en().requestIdleCallback,en().cancelIdleCallback;const Re=t=>!!t.type.__asyncLoader,io=t=>t.type.__isKeepAlive;function pr(t,e){ds(t,"a",e)}function br(t,e){ds(t,"da",e)}function ds(t,e,n=wt){const o=t.__wdc||(t.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return t()});if(yn(e,o,n),n){let s=n.parent;for(;s&&s.parent;)io(s.parent.vnode)&&mr(o,e,n,s),s=s.parent}}function mr(t,e,n,o){const s=yn(e,t,o,!0);ps(()=>{zn(o[e],s)},n)}function yn(t,e,n=wt,o=!1){if(n){const s=n[t]||(n[t]=[]),i=e.__weh||(e.__weh=(...r)=>{$t();const a=Be(n),l=Dt(e,n,t,r);return a(),Ut(),l});return o?s.unshift(i):s.push(i),i}}const te=t=>(e,n=wt)=>{(!Ve||t==="sp")&&yn(t,(...o)=>e(...o),n)},_r=te("bm"),hs=te("m"),vr=te("bu"),yr=te("u"),gs=te("bum"),ps=te("um"),xr=te("sp"),kr=te("rtg"),wr=te("rtc");function Ar(t,e=wt){yn("ec",t,e)}const Sr=Symbol.for("v-ndc");function xn(t,e,n,o){let s;const i=n,r=M(t);if(r||nt(t)){const a=r&&de(t);let l=!1,h=!1;a&&(l=!Lt(t),h=Qt(t),t=sn(t)),s=new Array(t.length);for(let u=0,p=t.length;ue(a,l,void 0,i));else{const a=Object.keys(t);s=new Array(a.length);for(let l=0,h=a.length;lt?Gs(t)?bo(t):ro(t.parent):null,Fe=st(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>ro(t.parent),$root:t=>ro(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>vs(t),$forceUpdate:t=>t.f||(t.f=()=>{no(t.update)}),$nextTick:t=>t.n||(t.n=gn.bind(t.proxy)),$watch:t=>fr.bind(t)}),ao=(t,e)=>t!==Z&&!t.__isScriptSetup&&W(t,e),Cr={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:o,data:s,props:i,accessCache:r,type:a,appContext:l}=t;if(e[0]!=="$"){const k=r[e];if(k!==void 0)switch(k){case 1:return o[e];case 2:return s[e];case 4:return n[e];case 3:return i[e]}else{if(ao(o,e))return r[e]=1,o[e];if(s!==Z&&W(s,e))return r[e]=2,s[e];if(W(i,e))return r[e]=3,i[e];if(n!==Z&&W(n,e))return r[e]=4,n[e];lo&&(r[e]=0)}}const h=Fe[e];let u,p;if(h)return e==="$attrs"&&pt(t.attrs,"get",""),h(t);if((u=a.__cssModules)&&(u=u[e]))return u;if(n!==Z&&W(n,e))return r[e]=4,n[e];if(p=l.config.globalProperties,W(p,e))return p[e]},set({_:t},e,n){const{data:o,setupState:s,ctx:i}=t;return ao(s,e)?(s[e]=n,!0):o!==Z&&W(o,e)?(o[e]=n,!0):W(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(i[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:o,appContext:s,props:i,type:r}},a){let l;return!!(n[a]||t!==Z&&a[0]!=="$"&&W(t,a)||ao(e,a)||W(i,a)||W(o,a)||W(Fe,a)||W(s.config.globalProperties,a)||(l=r.__cssModules)&&l[a])},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:W(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function bs(t){return M(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let lo=!0;function Nr(t){const e=vs(t),n=t.proxy,o=t.ctx;lo=!1,e.beforeCreate&&ms(e.beforeCreate,t,"bc");const{data:s,computed:i,methods:r,watch:a,provide:l,inject:h,created:u,beforeMount:p,mounted:k,beforeUpdate:w,updated:I,activated:j,deactivated:R,beforeDestroy:F,beforeUnmount:D,destroyed:P,unmounted:E,render:tt,renderTracked:ot,renderTriggered:ht,errorCaptured:It,serverPrefetch:q,expose:O,inheritAttrs:J,components:Tt,directives:mt,filters:Yt}=e;if(h&&Tr(h,o,null),r)for(const G in r){const B=r[G];L(B)&&(o[G]=B.bind(n))}if(s){const G=s.call(n,n);X(G)&&(t.data=Xn(G))}if(lo=!0,i)for(const G in i){const B=i[G],gt=L(B)?B.bind(n,n):L(B.get)?B.get.bind(n,n):Ft,zt=!L(B)&&L(B.set)?B.set.bind(n):Ft,Rt=it({get:gt,set:zt});Object.defineProperty(o,G,{enumerable:!0,configurable:!0,get:()=>Rt.value,set:_t=>Rt.value=_t})}if(a)for(const G in a)_s(a[G],o,n,G);if(l){const G=L(l)?l.call(n):l;Reflect.ownKeys(G).forEach(B=>{lr(B,G[B])})}u&&ms(u,t,"c");function ct(G,B){M(B)?B.forEach(gt=>G(gt.bind(n))):B&&G(B.bind(n))}if(ct(_r,p),ct(hs,k),ct(vr,w),ct(yr,I),ct(pr,j),ct(br,R),ct(Ar,It),ct(wr,ot),ct(kr,ht),ct(gs,D),ct(ps,E),ct(xr,q),M(O))if(O.length){const G=t.exposed||(t.exposed={});O.forEach(B=>{Object.defineProperty(G,B,{get:()=>n[B],set:gt=>n[B]=gt,enumerable:!0})})}else t.exposed||(t.exposed={});tt&&t.render===Ft&&(t.render=tt),J!=null&&(t.inheritAttrs=J),Tt&&(t.components=Tt),mt&&(t.directives=mt),q&&cs(t)}function Tr(t,e,n=Ft){M(t)&&(t=co(t));for(const o in t){const s=t[o];let i;X(s)?"default"in s?i=bn(s.from||o,s.default,!0):i=bn(s.from||o):i=bn(s),ft(i)?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:r=>i.value=r}):e[o]=i}}function ms(t,e,n){Dt(M(t)?t.map(o=>o.bind(e.proxy)):t.bind(e.proxy),e,n)}function _s(t,e,n,o){let s=o.includes(".")?as(n,o):()=>n[o];if(nt(t)){const i=e[t];L(i)&&mn(s,i)}else if(L(t))mn(s,t.bind(n));else if(X(t))if(M(t))t.forEach(i=>_s(i,e,n,o));else{const i=L(t.handler)?t.handler.bind(n):e[t.handler];L(i)&&mn(s,i,t)}}function vs(t){const e=t.type,{mixins:n,extends:o}=e,{mixins:s,optionsCache:i,config:{optionMergeStrategies:r}}=t.appContext,a=i.get(e);let l;return a?l=a:!s.length&&!n&&!o?l=e:(l={},s.length&&s.forEach(h=>kn(l,h,r,!0)),kn(l,e,r)),X(e)&&i.set(e,l),l}function kn(t,e,n,o=!1){const{mixins:s,extends:i}=e;i&&kn(t,i,n,!0),s&&s.forEach(r=>kn(t,r,n,!0));for(const r in e)if(!(o&&r==="expose")){const a=Er[r]||n&&n[r];t[r]=a?a(t[r],e[r]):e[r]}return t}const Er={data:ys,props:xs,emits:xs,methods:He,computed:He,beforeCreate:xt,created:xt,beforeMount:xt,mounted:xt,beforeUpdate:xt,updated:xt,beforeDestroy:xt,beforeUnmount:xt,destroyed:xt,unmounted:xt,activated:xt,deactivated:xt,errorCaptured:xt,serverPrefetch:xt,components:He,directives:He,watch:qr,provide:ys,inject:jr};function ys(t,e){return e?t?function(){return st(L(t)?t.call(this,this):t,L(e)?e.call(this,this):e)}:e:t}function jr(t,e){return He(co(t),co(e))}function co(t){if(M(t)){const e={};for(let n=0;ne==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Ct(e)}Modifiers`]||t[`${Mt(e)}Modifiers`];function zr(t,e,...n){if(t.isUnmounted)return;const o=t.vnode.props||Z;let s=n;const i=e.startsWith("update:"),r=i&&Lr(o,e.slice(7));r&&(r.trim&&(s=n.map(u=>nt(u)?u.trim():u)),r.number&&(s=s.map(vi)));let a,l=o[a=On(e)]||o[a=On(Ct(e))];!l&&i&&(l=o[a=On(Mt(e))]),l&&Dt(l,t,6,s);const h=o[a+"Once"];if(h){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Dt(h,t,6,s)}}const Pr=new WeakMap;function ws(t,e,n=!1){const o=n?Pr:e.emitsCache,s=o.get(t);if(s!==void 0)return s;const i=t.emits;let r={},a=!1;if(!L(t)){const l=h=>{const u=ws(h,e,!0);u&&(a=!0,st(r,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!i&&!a?(X(t)&&o.set(t,null),null):(M(i)?i.forEach(l=>r[l]=null):st(r,i),X(t)&&o.set(t,r),r)}function wn(t,e){return!t||!Ye(e)?!1:(e=e.slice(2),e=e==="Once"?e:e.replace(/Once$/,""),W(t,e[0].toLowerCase()+e.slice(1))||W(t,Mt(e))||W(t,e))}function $l(){}function As(t){const{type:e,vnode:n,proxy:o,withProxy:s,propsOptions:[i],slots:r,attrs:a,emit:l,render:h,renderCache:u,props:p,data:k,setupState:w,ctx:I,inheritAttrs:j}=t,R=pn(t);let F,D;try{if(n.shapeFlag&4){const E=s||o,tt=E;F=Gt(h.call(tt,E,u,p,w,k,I)),D=a}else{const E=e;F=Gt(E.length>1?E(p,{attrs:a,slots:r,emit:l}):E(p,null)),D=e.props?a:Or(a)}}catch(E){be.length=0,dn(E,t,1),F=kt(ee)}let P=F;if(D&&j!==!1){const E=Object.keys(D),{shapeFlag:tt}=P;E.length&&tt&7&&(i&&E.some(Xe)&&(D=Dr(D,i)),P=Se(P,D,!1,!0))}if(n.dirs&&(P=Se(P,null,!1,!0),P.dirs=P.dirs?P.dirs.concat(n.dirs):n.dirs),n.transition){const E=_n(P.type)&&ls(P)||P;so(E,n.transition)}return F=P,pn(R),F}const Or=t=>{let e;for(const n in t)(n==="class"||n==="style"||Ye(n))&&((e||(e={}))[n]=t[n]);return e},Dr=(t,e)=>{const n={};for(const o in t)(!Xe(o)||!(o.slice(9)in e))&&(n[o]=t[o]);return n};function Rr(t,e,n){const{props:o,children:s,component:i}=t,{props:r,children:a,patchFlag:l}=e,h=i.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return o?Ss(o,r,h):!!r;if(l&8){const u=e.dynamicProps;for(let p=0;pObject.create(Ns),Es=t=>Object.getPrototypeOf(t)===Ns;function Hr(t,e,n,o=!1){const s={},i=Ts();t.propsDefaults=Object.create(null),js(t,e,s,i);for(const r in t.propsOptions[0])r in s||(s[r]=void 0);n?t.props=o?s:Bi(s):t.type.props?t.props=s:t.props=i,t.attrs=i}function Kr(t,e,n,o){const{props:s,attrs:i,vnode:{patchFlag:r}}=t,a=V(s),[l]=t.propsOptions;let h=!1;if((o||r>0)&&!(r&16)){if(r&8){const u=t.vnode.dynamicProps;for(let p=0;p{l=!0;const[k,w]=qs(p,e,!0);st(r,k),w&&a.push(...w)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!i&&!l)return X(t)&&o.set(t,_e),_e;if(M(i))for(let u=0;ut==="_"||t==="_ctx"||t==="$stable",ho=t=>M(t)?t.map(Gt):[Gt(t)],Ur=(t,e,n)=>{if(e._n)return e;const o=ar((...s)=>ho(e(...s)),n);return o._c=!1,o},Ms=(t,e,n)=>{const o=t._ctx;for(const s in t){if(fo(s))continue;const i=t[s];if(L(i))e[s]=Ur(s,i,o);else if(i!=null){const r=ho(i);e[s]=()=>r}}},Ls=(t,e)=>{const n=ho(e);t.slots.default=()=>n},zs=(t,e,n)=>{for(const o in e)(n||!fo(o))&&(t[o]=e[o])},Br=(t,e,n)=>{const o=t.slots=Ts();if(t.vnode.shapeFlag&32){const s=e._;s?(zs(o,e,n),n&&No(o,"_",s,!0)):Ms(e,o)}else e&&Ls(t,e)},Vr=(t,e,n)=>{const{vnode:o,slots:s}=t;let i=!0,r=Z;if(o.shapeFlag&32){const a=e._;a?n&&a===1?i=!1:zs(s,e,n):(i=!e.$stable,Ms(e,s)),r=e}else e&&(Ls(t,e),r={default:1});if(i)for(const a in s)!fo(a)&&r[a]==null&&delete s[a]},Nt=Xr;function Wr(t){return Gr(t)}function Gr(t,e){const n=en();n.__VUE__=!0;const{insert:o,remove:s,patchProp:i,createElement:r,createText:a,createComment:l,setText:h,setElementText:u,parentNode:p,nextSibling:k,setScopeId:w=Ft,insertStaticContent:I}=t,j=(c,f,b,y=null,v=null,m=null,C=void 0,A=null,g=!!f.dynamicChildren)=>{if(c===f)return;c&&!$e(c,f)&&(y=Ce(c),_t(c,v,m,!0),c=null),f.patchFlag===-2&&(g=!1,f.dynamicChildren=null);const{type:d,ref:x,shapeFlag:_}=f;switch(d){case An:R(c,f,b,y);break;case ee:F(c,f,b,y);break;case po:c==null&&D(f,b,y,C);break;case lt:Tt(c,f,b,y,v,m,C,A,g);break;default:_&1?tt(c,f,b,y,v,m,C,A,g):_&6?mt(c,f,b,y,v,m,C,A,g):(_&64||_&128)&&d.process(c,f,b,y,v,m,C,A,g,me)}x!=null&&v?De(x,c&&c.ref,m,f||c,!f):x==null&&c&&c.ref!=null&&De(c.ref,null,m,c,!0)},R=(c,f,b,y)=>{if(c==null)o(f.el=a(f.children),b,y);else{const v=f.el=c.el;f.children!==c.children&&h(v,f.children)}},F=(c,f,b,y)=>{c==null?o(f.el=l(f.children||""),b,y):f.el=c.el},D=(c,f,b,y)=>{[c.el,c.anchor]=I(c.children,f,b,y,c.el,c.anchor)},P=({el:c,anchor:f},b,y)=>{let v;for(;c&&c!==f;)v=k(c),o(c,b,y),c=v;o(f,b,y)},E=({el:c,anchor:f})=>{let b;for(;c&&c!==f;)b=k(c),s(c),c=b;s(f)},tt=(c,f,b,y,v,m,C,A,g)=>{if(f.type==="svg"?C="svg":f.type==="math"&&(C="mathml"),c==null)ot(f,b,y,v,m,C,A,g);else{const d=c.el&&c.el._isVueCE?c.el:null;try{d&&d._beginPatch(),q(c,f,v,m,C,A,g)}finally{d&&d._endPatch()}}},ot=(c,f,b,y,v,m,C,A)=>{let g,d;const{props:x,shapeFlag:_,transition:S,dirs:T}=c;if(g=c.el=r(c.type,m,x&&x.is,x),_&8?u(g,c.children):_&16&&It(c.children,g,null,y,v,go(c,m),C,A),T&&ge(c,null,y,"created"),ht(g,c,c.scopeId,C,y),x){for(const z in x)z!=="value"&&!Ee(z)&&i(g,z,null,x[z],m,y);"value"in x&&i(g,"value",null,x.value,m),(d=x.onVnodeBeforeMount)&&Jt(d,y,c)}T&&ge(c,null,y,"beforeMount");const N=Jr(v,S);N&&S.beforeEnter(g),o(g,f,b),((d=x&&x.onVnodeMounted)||N||T)&&Nt(()=>{try{d&&Jt(d,y,c),N&&S.enter(g),T&&ge(c,null,y,"mounted")}finally{}},v)},ht=(c,f,b,y,v)=>{if(b&&w(c,b),y)for(let m=0;m{for(let d=g;d{const A=f.el=c.el;let{patchFlag:g,dynamicChildren:d,dirs:x}=f;g|=c.patchFlag&16;const _=c.props||Z,S=f.props||Z;let T;if(b&&pe(b,!1),(T=S.onVnodeBeforeUpdate)&&Jt(T,b,f,c),x&&ge(f,c,b,"beforeUpdate"),b&&pe(b,!0),d&&(!c.dynamicChildren||c.dynamicChildren.length!==d.length)&&(g=0,C=!1,d=null),(_.innerHTML&&S.innerHTML==null||_.textContent&&S.textContent==null)&&u(A,""),d?O(c.dynamicChildren,d,A,b,y,go(f,v),m):C||B(c,f,A,null,b,y,go(f,v),m,!1),g>0){if(g&16)J(A,_,S,b,v);else if(g&2&&_.class!==S.class&&i(A,"class",null,S.class,v),g&4&&i(A,"style",_.style,S.style,v),g&8){const N=f.dynamicProps;for(let z=0;z{T&&Jt(T,b,f,c),x&&ge(f,c,b,"updated")},y)},O=(c,f,b,y,v,m,C)=>{for(let A=0;A{if(f!==b){if(f!==Z)for(const m in f)!Ee(m)&&!(m in b)&&i(c,m,f[m],null,v,y);for(const m in b){if(Ee(m))continue;const C=b[m],A=f[m];C!==A&&m!=="value"&&i(c,m,A,C,v,y)}"value"in b&&i(c,"value",f.value,b.value,v)}},Tt=(c,f,b,y,v,m,C,A,g)=>{const d=f.el=c?c.el:a(""),x=f.anchor=c?c.anchor:a("");let{patchFlag:_,dynamicChildren:S,slotScopeIds:T}=f;T&&(A=A?A.concat(T):T),c==null?(o(d,b,y),o(x,b,y),It(f.children||[],b,x,v,m,C,A,g)):_>0&&_&64&&S&&c.dynamicChildren&&c.dynamicChildren.length===S.length?(O(c.dynamicChildren,S,b,v,m,C,A),(f.key!=null||v&&f===v.subTree)&&Ps(c,f,!0)):B(c,f,b,x,v,m,C,A,g)},mt=(c,f,b,y,v,m,C,A,g)=>{f.slotScopeIds=A,c==null?f.shapeFlag&512?v.ctx.activate(f,b,y,C,g):Yt(f,b,y,v,m,C,g):At(c,f,g)},Yt=(c,f,b,y,v,m,C)=>{const A=c.component=sa(c,y,v);if(io(c)&&(A.ctx.renderer=me),ia(A,!1,C),A.asyncDep){if(v&&v.registerDep(A,ct,C),!c.el){const g=A.subTree=kt(ee);F(null,g,f,b),c.placeholder=g.el}}else ct(A,c,f,b,v,m,C)},At=(c,f,b)=>{const y=f.component=c.component;if(Rr(c,f,b))if(y.asyncDep&&!y.asyncResolved){G(y,f,b);return}else y.next=f,y.update();else f.el=c.el,y.vnode=f},ct=(c,f,b,y,v,m,C)=>{const A=()=>{if(c.isMounted){let{next:_,bu:S,u:T,parent:N,vnode:z}=c;{const at=Os(c);if(at){_&&(_.el=z.el,G(c,_,C)),at.asyncDep.then(()=>{Nt(()=>{c.isUnmounted||d()},v)});return}}let K=_,Y;pe(c,!1),_?(_.el=z.el,G(c,_,C)):_=z,S&&Dn(S),(Y=_.props&&_.props.onVnodeBeforeUpdate)&&Jt(Y,N,_,z),pe(c,!0);const et=As(c),St=c.subTree;c.subTree=et,j(St,et,p(St.el),Ce(St),c,v,m),_.el=et.el,K===null&&Fr(c,et.el),T&&Nt(T,v),(Y=_.props&&_.props.onVnodeUpdated)&&Nt(()=>Jt(Y,N,_,z),v)}else{let _;const{el:S,props:T}=f,{bm:N,m:z,parent:K,root:Y,type:et}=c,St=Re(f);pe(c,!1),N&&Dn(N),!St&&(_=T&&T.onVnodeBeforeMount)&&Jt(_,K,f),pe(c,!0);{Y.ce&&Y.ce._hasShadowRoot()&&Y.ce._injectChildStyle(et,c.parent?c.parent.type:void 0);const at=c.subTree=As(c);j(null,at,b,y,c,v,m),f.el=at.el}if(z&&Nt(z,v),!St&&(_=T&&T.onVnodeMounted)){const at=f;Nt(()=>Jt(_,K,at),v)}(f.shapeFlag&256||K&&Re(K.vnode)&&K.vnode.shapeFlag&256)&&c.a&&Nt(c.a,v),c.isMounted=!0,f=b=y=null}};c.scope.on();const g=c.effect=new Lo(A);c.scope.off();const d=c.update=g.run.bind(g),x=c.job=g.runIfDirty.bind(g);x.i=c,x.id=c.uid,g.scheduler=()=>no(x),pe(c,!0),d()},G=(c,f,b)=>{f.component=c;const y=c.vnode.props;c.vnode=f,c.next=null,Kr(c,f.props,y,b),Vr(c,f.children,b),$t(),ns(c),Ut()},B=(c,f,b,y,v,m,C,A,g=!1)=>{const d=c&&c.children,x=c?c.shapeFlag:0,_=f.children,{patchFlag:S,shapeFlag:T}=f;if(S>0){if(S&128){zt(d,_,b,y,v,m,C,A,g);return}else if(S&256){gt(d,_,b,y,v,m,C,A,g);return}}T&8?(x&16&&ce(d,v,m),_!==d&&u(b,_)):x&16?T&16?zt(d,_,b,y,v,m,C,A,g):ce(d,v,m,!0):(x&8&&u(b,""),T&16&&It(_,b,y,v,m,C,A,g))},gt=(c,f,b,y,v,m,C,A,g)=>{c=c||_e,f=f||_e;const d=c.length,x=f.length,_=Math.min(d,x);let S;for(S=0;S<_;S++){const T=f[S]=g?oe(f[S]):Gt(f[S]);j(c[S],T,b,null,v,m,C,A,g)}d>x?ce(c,v,m,!0,!1,_):It(f,b,y,v,m,C,A,g,_)},zt=(c,f,b,y,v,m,C,A,g)=>{let d=0;const x=f.length;let _=c.length-1,S=x-1;for(;d<=_&&d<=S;){const T=c[d],N=f[d]=g?oe(f[d]):Gt(f[d]);if($e(T,N))j(T,N,b,null,v,m,C,A,g);else break;d++}for(;d<=_&&d<=S;){const T=c[_],N=f[S]=g?oe(f[S]):Gt(f[S]);if($e(T,N))j(T,N,b,null,v,m,C,A,g);else break;_--,S--}if(d>_){if(d<=S){const T=S+1,N=TS)for(;d<=_;)_t(c[d],v,m,!0),d++;else{const T=d,N=d,z=new Map;for(d=N;d<=S;d++){const vt=f[d]=g?oe(f[d]):Gt(f[d]);vt.key!=null&&z.set(vt.key,d)}let K,Y=0;const et=S-N+1;let St=!1,at=0;const Et=new Array(et);for(d=0;d=et){_t(vt,v,m,!0);continue}let jt;if(vt.key!=null)jt=z.get(vt.key);else for(K=N;K<=S;K++)if(Et[K-N]===0&&$e(vt,f[K])){jt=K;break}jt===void 0?_t(vt,v,m,!0):(Et[jt-N]=d+1,jt>=at?at=jt:St=!0,j(vt,f[jt],b,null,v,m,C,A,g),Y++)}const Ne=St?Yr(Et):_e;for(K=Ne.length-1,d=et-1;d>=0;d--){const vt=N+d,jt=f[vt],Mn=f[vt+1],gi=vt+1{const{el:m,type:C,transition:A,children:g,shapeFlag:d}=c;if(d&6){Rt(c.component.subTree,f,b,y);return}if(d&128){c.suspense.move(f,b,y);return}if(d&64){C.move(c,f,b,me);return}if(C===lt){o(m,f,b);for(let _=0;_A.enter(m),v));else{const{leave:_,delayLeave:S,afterLeave:T}=A,N=()=>{c.ctx.isUnmounted?s(m):o(m,f,b)},z=()=>{const K=m._isLeaving||!!m[oo];m._isLeaving&&m[oo](!0),A.persisted&&!K?N():_(m,()=>{N(),T&&T()})};S?S(m,N,z):z()}else o(m,f,b)},_t=(c,f,b,y=!1,v=!1)=>{const{type:m,props:C,ref:A,children:g,dynamicChildren:d,shapeFlag:x,patchFlag:_,dirs:S,cacheIndex:T,memo:N}=c;if(_===-2&&(v=!1),A!=null&&($t(),De(A,null,b,c,!0),Ut()),T!=null&&(f.renderCache[T]=void 0),x&256){f.ctx.deactivate(c);return}const z=x&1&&S,K=!Re(c);let Y;if(K&&(Y=C&&C.onVnodeBeforeUnmount)&&Jt(Y,f,c),x&6)In(c.component,b,y);else{if(x&128){c.suspense.unmount(b,y);return}z&&ge(c,null,f,"beforeUnmount"),x&64?c.type.remove(c,f,b,me,y):d&&!d.hasOnce&&(m!==lt||_>0&&_&64)?ce(d,f,b,!1,!0):(m===lt&&_&384||!v&&x&16)&&ce(g,f,b),y&&ie(c)}const et=N!=null&&T==null;(K&&(Y=C&&C.onVnodeUnmounted)||z||et)&&Nt(()=>{Y&&Jt(Y,f,c),z&&ge(c,null,f,"unmounted"),et&&(c.el=null)},b)},ie=c=>{const{type:f,el:b,anchor:y,transition:v}=c;if(f===lt){qn(b,y);return}if(f===po){E(c);return}const m=()=>{s(b),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(c.shapeFlag&1&&v&&!v.persisted){const{leave:C,delayLeave:A}=v,g=()=>C(b,m);A?A(c.el,m,g):g()}else m()},qn=(c,f)=>{let b;for(;c!==f;)b=k(c),s(c),c=b;s(f)},In=(c,f,b)=>{const{bum:y,scope:v,job:m,subTree:C,um:A,m:g,a:d}=c;Ds(g),Ds(d),y&&Dn(y),v.stop(),m&&(m.flags|=8,_t(C,c,f,b)),A&&Nt(A,f),Nt(()=>{c.isUnmounted=!0},f)},ce=(c,f,b,y=!1,v=!1,m=0)=>{for(let C=m;C{if(c.shapeFlag&6)return Ce(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const f=k(c.anchor||c.el),b=f&&f[dr];return b?k(b):f};let Ge=!1;const Je=(c,f,b)=>{let y;c==null?f._vnode&&(_t(f._vnode,null,null,!0),y=f._vnode.component):j(f._vnode||null,c,f,null,null,null,b),f._vnode=c,Ge||(Ge=!0,ns(y),os(),Ge=!1)},me={p:j,um:_t,m:Rt,r:ie,mt:Yt,mc:It,pc:B,pbc:O,n:Ce,o:t};return{render:Je,hydrate:void 0,createApp:Mr(Je)}}function go({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function pe({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function Jr(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Ps(t,e,n=!1){const o=t.children,s=e.children;if(M(o)&&M(s))for(let i=0;i>1,t[n[a]]0&&(e[o]=n[i-1]),n[i]=o)}}for(i=n.length,r=n[i-1];i-- >0;)n[i]=r,r=e[r];return n}function Os(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Os(e)}function Ds(t){if(t)for(let e=0;et.__isSuspense;function Xr(t,e){e&&e.pendingBranch?M(t)?e.effects.push(...t):e.effects.push(t):rr(t)}const lt=Symbol.for("v-fgt"),An=Symbol.for("v-txt"),ee=Symbol.for("v-cmt"),po=Symbol.for("v-stc"),be=[];let qt=null;function $(t=!1){be.push(qt=t?null:[])}function Hs(){be.pop(),qt=be[be.length-1]||null}let Ke=1;function Ks(t,e=!1){Ke+=t,t<0&&qt&&e&&(qt.hasOnce=!0)}function $s(t){return t.dynamicChildren=Ke>0?qt||_e:null,Hs(),Ke>0&&qt&&qt.push(t),t}function U(t,e,n,o,s,i){return $s(H(t,e,n,o,s,i,!0))}function Zr(t,e,n,o,s){return $s(kt(t,e,n,o,s,!0))}function Us(t){return t?t.__v_isVNode===!0:!1}function $e(t,e){return t.type===e.type&&t.key===e.key}const Bs=({key:t})=>t??null,Sn=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?nt(t)||ft(t)||L(t)?{i:Wt,r:t,k:e,f:!!n}:t:null);function H(t,e=null,n=null,o=0,s=null,i=t===lt?0:1,r=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Bs(e),ref:e&&Sn(e),scopeId:is,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Wt};return a?(Cn(l,n),i&128&&t.normalize(l)):n&&(l.shapeFlag|=nt(n)?8:16),Ke>0&&!r&&qt&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&qt.push(l),l}const kt=Qr;function Qr(t,e=null,n=null,o=0,s=null,i=!1){if((!t||t===Sr)&&(t=ee),Us(t)){const a=Se(t,e,!0);return n&&Cn(a,n),Ke>0&&!i&&qt&&(a.shapeFlag&6?qt[qt.indexOf(t)]=a:qt.push(a)),a.patchFlag=-2,a}if(da(t)&&(t=t.__vccOpts),e){e=ta(e);let{class:a,style:l}=e;a&&!nt(a)&&(e.class=nn(a)),X(l)&&(Qn(l)&&!M(l)&&(l=st({},l)),e.style=je(l))}const r=nt(t)?1:Fs(t)?128:_n(t)?64:X(t)?4:L(t)?2:0;return H(t,e,n,o,s,r,i,!0)}function ta(t){return t?Qn(t)||Es(t)?st({},t):t:null}function Se(t,e,n=!1,o=!1){const{props:s,ref:i,patchFlag:r,children:a,transition:l}=t,h=e?ea(s||{},e):s,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:h,key:h&&Bs(h),ref:e&&e.ref?n&&i?M(i)?i.concat(Sn(e)):[i,Sn(e)]:Sn(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==lt?r===-1?16:r|16:r,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Se(t.ssContent),ssFallback:t.ssFallback&&Se(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&o&&so(u,l.clone(u)),u}function ne(t=" ",e=0){return kt(An,null,t,e)}function bt(t="",e=!1){return e?($(),Zr(ee,null,t)):kt(ee,null,t)}function Gt(t){return t==null||typeof t=="boolean"?kt(ee):M(t)?kt(lt,null,t.slice()):Us(t)?oe(t):kt(An,null,String(t))}function oe(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Se(t)}function Cn(t,e){let n=0;const{shapeFlag:o}=t;if(e==null)e=null;else if(M(e))n=16;else if(typeof e=="object")if(o&65){const s=e.default;s&&(s._c&&(s._d=!1),Cn(t,s()),s._c&&(s._d=!0));return}else{n=32;const s=e._;!s&&!Es(e)?e._ctx=Wt:s===3&&Wt&&(Wt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else if(L(e)){if(o&65){Cn(t,{default:e});return}e={default:e,_ctx:Wt},n=32}else e=String(e),o&64?(n=16,e=[ne(e)]):n=8;t.children=e,t.shapeFlag|=n}function ea(...t){const e={};for(let n=0;nwt||Wt;let Nn,Ue;{const t=en(),e=(n,o)=>{let s;return(s=t[n])||(s=t[n]=[]),s.push(o),i=>{s.length>1?s.forEach(r=>r(i)):s[0](i)}};Nn=e("__VUE_INSTANCE_SETTERS__",n=>wt=n),Ue=e("__VUE_SSR_SETTERS__",n=>Ve=n)}const Be=t=>{const e=wt;return Nn(t),t.scope.on(),()=>{t.scope.off(),Nn(e)}},Ws=()=>{wt&&wt.scope.off(),Nn(null)};function Gs(t){return t.vnode.shapeFlag&4}let Ve=!1;function ia(t,e=!1,n=!1){e&&Ue(e);const{props:o,children:s}=t.vnode,i=Gs(t);Hr(t,o,i,e),Br(t,s,n||e);const r=i?ra(t,e):void 0;return e&&Ue(!1),r}function ra(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Cr);const{setup:o}=n;if(o){$t();const s=t.setupContext=o.length>1?la(t):null,i=Be(t),r=xe(o,t,0,[t.props,s]),a=Ao(r);if(Ut(),i(),(a||t.sp)&&!Re(t)&&cs(t),a){if(r.then(Ws,Ws),e)return r.then(l=>{Ue(!0);try{Js(t,l,e)}finally{Ue(!1)}}).catch(l=>{dn(l,t,0)});t.asyncDep=r}else Js(t,r)}else Ys(t)}function Js(t,e,n){L(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:X(e)&&(t.setupState=Zo(e)),Ys(t)}function Ys(t,e,n){const o=t.type;t.render||(t.render=o.render||Ft);{const s=Be(t);$t();try{Nr(t)}finally{Ut(),s()}}}const aa={get(t,e){return pt(t,"get",""),t[e]}};function la(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,aa),slots:t.slots,emit:t.emit,expose:e}}function bo(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Zo(Vi(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Fe)return Fe[n](t)},has(e,n){return n in e||n in Fe}})):t.proxy}const ca=/(?:^|[-_])\w/g,ua=t=>t.replace(ca,e=>e.toUpperCase()).replace(/[-_]/g,"");function fa(t,e=!0){return L(t)?t.displayName||t.name:t.name||e&&t.__name}function Xs(t,e,n=!1){let o=fa(e);if(!o&&e.__file){const s=e.__file.match(/([^/\\]+)\.\w+$/);s&&(o=s[1])}if(!o&&t){const s=i=>{for(const r in i)if(i[r]===e)return r};o=s(t.components)||t.parent&&s(t.parent.type.components)||s(t.appContext.components)}return o?ua(o):n?"App":"Anonymous"}function da(t){return L(t)&&"__vccOpts"in t}const it=(t,e)=>Xi(t,e,Ve),ha="3.5.42";/** +`,...or(s)),console.warn(...i)}Vt(),oo=!1}function nr(){let t=Pe[Pe.length-1];if(!t)return[];const e=[];for(;t;){const n=e[0];n&&n.vnode===t?n.recurseCount++:e.push({vnode:t,recurseCount:0});const o=t.component&&t.component.parent;t=o&&o.vnode}return e}function or(t){const e=[];return t.forEach((n,o)=>{e.push(...o===0?[]:[` +`],...sr(n))}),e}function sr({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",o=t.component?t.component.parent==null:!1,s=` at <${Qs(t.component,t.type,o)}`,i=">"+n;return t.props?[s,...ir(t.props),i]:[s+i]}function ir(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(o=>{e.push(...es(o,t[o]))}),n.length>3&&e.push(" ..."),e}function es(t,e,n){return nt(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?n?e:[`${t}=${e}`]:ft(e)?(e=es(t,B(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):P(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=B(e),n?e:[`${t}=`,e])}function we(t,e,n,o){try{return o?t(...o):t()}catch(s){hn(s,e,n)}}function Ft(t,e,n,o){if(P(t)){const s=we(t,e,n,o);return s&&Co(s)&&s.catch(i=>{hn(i,e,n)}),s}if(L(t)){const s=[];for(let i=0;i>>1,s=vt[o],i=Oe(s);i=Oe(n)?vt.push(t):vt.splice(ar(e),0,t),t.flags|=1,os()}}function os(){gn||(gn=ns.then(rs))}function cr(t){if(!L(t))ce&&t.id===-1?ce.splice(Se+1,0,t):t.flags&1||(Ae.push(t),t.flags|=1);else for(let e=0;eOe(n)-Oe(o));if(Ae.length=0,ce){for(let n=0;nt.id==null?t.flags&2?-1:1/0:t.id;function rs(t){try{for(Gt=0;Gt{o._d&&Us(-1);const i=bn(e),r=be.length;let a;try{a=t(...s)}finally{for(let c=be.length;c>r;c--)$s();bn(i),o._d&&Us(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function ge(t,e,n,o){const s=t.dirs,i=e&&e.dirs;for(let r=0;r1)return n&&P(e)?e.call(o&&o.proxy):e}}const fr=Symbol.for("v-scx"),dr=()=>mn(fr);function _n(t,e,n){return cs(t,e,n)}function cs(t,e,n=Q){const{immediate:o,deep:s,flush:i,once:r}=n,a=st({},n),c=e&&o||!e&&i!=="post";let u;if(Ve){if(i==="sync"){const S=dr();u=S.__watcherHandles||(S.__watcherHandles=[])}else if(!c){const S=()=>{};return S.stop=Kt,S.resume=Kt,S.pause=Kt,S}}const d=kt;a.call=(S,M,j)=>Ft(S,d,M,j);let g=!1;i==="post"?a.scheduler=S=>{Nt(S,d&&d.suspense)}:i!=="sync"&&(g=!0,a.scheduler=(S,M)=>{M?S():so(S)}),a.augmentJob=S=>{e&&(S.flags|=4),g&&(S.flags|=2,d&&(S.id=d.uid,S.i=d))};const x=er(t,e,a);return Ve&&(u?u.push(x):c&&x()),x}function hr(t,e,n){const o=this.proxy,s=nt(t)?t.includes(".")?ls(o,t):()=>o[t]:t.bind(o,o);let i;P(e)?i=e:(i=e.handler,n=e);const r=Be(this),a=cs(s,i.bind(o),n);return r(),a}function ls(t,e){const n=e.split(".");return()=>{let o=t;for(let s=0;st.__isTeleport,io=Symbol("_leaveCb");function pr(t){let e=t[0];if(t.length>1){for(const n of t)if(n.type!==ne){e=n;break}}return e}function us(t){if(!ao(t))return vn(t.type)&&t.children?pr(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:n}=t;if(n){if(e&16)return n[0];if(e&32&&P(n.default))return n.default()}}function ro(t,e){if(t.shapeFlag&6&&t.component){t.transition=e;const n=t.component.subTree;ro(vn(n.type)&&us(n)||n,e)}else t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function br(t,e){return P(t)?st({name:t.name},e,{setup:t}):t}function fs(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function ds(t,e){let n;return!!((n=Object.getOwnPropertyDescriptor(t,e))&&!n.configurable)}const yn=new WeakMap;function De(t,e,n,o,s=!1){if(L(t)){t.forEach((j,U)=>De(j,e&&(L(e)?e[U]:e),n,o,s));return}if(Re(o)&&!s){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&De(t,e,n,o.component.subTree);return}const i=o.shapeFlag&4?_o(o.component):o.el,r=s?null:i,{i:a,r:c}=t,u=e&&e.r,d=a.refs===Q?a.refs={}:a.refs,g=a.setupState,x=B(g),S=g===Q?Ao:j=>ds(d,j)?!1:W(x,j),M=(j,U)=>!(U&&ds(d,U));if(u!=null&&u!==c){if(hs(e),nt(u))d[u]=null,S(u)&&(g[u]=null);else if(ft(u)){const j=e;M(u,j.k)&&(u.value=null),j.k&&(d[j.k]=null)}}if(P(c))we(c,a,12,[r,d]);else{const j=nt(c),U=ft(c);if(j||U){const R=()=>{if(t.f){const O=j?S(c)?g[c]:d[c]:M()||!t.k?c.value:d[t.k];if(s)L(O)&&On(O,i);else if(L(O))O.includes(i)||O.push(i);else if(j)d[c]=[i],S(c)&&(g[c]=d[c]);else{const F=[i];M(c,t.k)&&(c.value=F),t.k&&(d[t.k]=F)}}else j?(d[c]=r,S(c)&&(g[c]=r)):U&&(M(c,t.k)&&(c.value=r),t.k&&(d[t.k]=r))};if(r){const O=()=>{R(),yn.delete(t)};O.id=-1,yn.set(t,O),Nt(O,n)}else hs(t),R()}}}function hs(t){const e=yn.get(t);e&&(e.flags|=8,yn.delete(t))}nn().requestIdleCallback,nn().cancelIdleCallback;const Re=t=>!!t.type.__asyncLoader,ao=t=>t.type.__isKeepAlive;function mr(t,e){gs(t,"a",e)}function _r(t,e){gs(t,"da",e)}function gs(t,e,n=kt){const o=t.__wdc||(t.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return t()});if(xn(e,o,n),n){let s=n.parent;for(;s&&s.parent;)ao(s.parent.vnode)&&vr(o,e,n,s),s=s.parent}}function vr(t,e,n,o){const s=xn(e,t,o,!0);ms(()=>{On(o[e],s)},n)}function xn(t,e,n=kt,o=!1){if(n){const s=n[t]||(n[t]=[]),i=e.__weh||(e.__weh=(...r)=>{Bt();const a=Be(n),c=Ft(e,n,t,r);return a(),Vt(),c});return o?s.unshift(i):s.push(i),i}}const ee=t=>(e,n=kt)=>{(!Ve||t==="sp")&&xn(t,(...o)=>e(...o),n)},yr=ee("bm"),ps=ee("m"),xr=ee("bu"),kr=ee("u"),bs=ee("bum"),ms=ee("um"),wr=ee("sp"),Ar=ee("rtg"),Sr=ee("rtc");function Cr(t,e=kt){xn("ec",t,e)}const Nr=Symbol.for("v-ndc");function kn(t,e,n,o){let s;const i=n,r=L(t);if(r||nt(t)){const a=r&&de(t);let c=!1,u=!1;a&&(c=!Pt(t),u=te(t),t=rn(t)),s=new Array(t.length);for(let d=0,g=t.length;de(a,c,void 0,i));else{const a=Object.keys(t);s=new Array(a.length);for(let c=0,u=a.length;ct?Ys(t)?_o(t):co(t.parent):null,Fe=st(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>co(t.parent),$root:t=>co(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>xs(t),$forceUpdate:t=>t.f||(t.f=()=>{so(t.update)}),$nextTick:t=>t.n||(t.n=pn.bind(t.proxy)),$watch:t=>hr.bind(t)}),lo=(t,e)=>t!==Q&&!t.__isScriptSetup&&W(t,e),Tr={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:o,data:s,props:i,accessCache:r,type:a,appContext:c}=t;if(e[0]!=="$"){const x=r[e];if(x!==void 0)switch(x){case 1:return o[e];case 2:return s[e];case 4:return n[e];case 3:return i[e]}else{if(lo(o,e))return r[e]=1,o[e];if(s!==Q&&W(s,e))return r[e]=2,s[e];if(W(i,e))return r[e]=3,i[e];if(n!==Q&&W(n,e))return r[e]=4,n[e];uo&&(r[e]=0)}}const u=Fe[e];let d,g;if(u)return e==="$attrs"&&bt(t.attrs,"get",""),u(t);if((d=a.__cssModules)&&(d=d[e]))return d;if(n!==Q&&W(n,e))return r[e]=4,n[e];if(g=c.config.globalProperties,W(g,e))return g[e]},set({_:t},e,n){const{data:o,setupState:s,ctx:i}=t;return lo(s,e)?(s[e]=n,!0):o!==Q&&W(o,e)?(o[e]=n,!0):W(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(i[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:o,appContext:s,props:i,type:r}},a){let c;return!!(n[a]||t!==Q&&a[0]!=="$"&&W(t,a)||lo(e,a)||W(i,a)||W(o,a)||W(Fe,a)||W(s.config.globalProperties,a)||(c=r.__cssModules)&&c[a])},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:W(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function _s(t){return L(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let uo=!0;function Er(t){const e=xs(t),n=t.proxy,o=t.ctx;uo=!1,e.beforeCreate&&vs(e.beforeCreate,t,"bc");const{data:s,computed:i,methods:r,watch:a,provide:c,inject:u,created:d,beforeMount:g,mounted:x,beforeUpdate:S,updated:M,activated:j,deactivated:U,beforeDestroy:R,beforeUnmount:O,destroyed:F,unmounted:q,render:J,renderTracked:ht,renderTriggered:ot,errorCaptured:Tt,serverPrefetch:D,expose:I,inheritAttrs:V,components:qt,directives:wt,filters:Ot}=e;if(u&&jr(u,o,null),r)for(const G in r){const Y=r[G];P(Y)&&(o[G]=Y.bind(n))}if(s){const G=s.call(n,n);X(G)&&(t.data=Qn(G))}if(uo=!0,i)for(const G in i){const Y=i[G],gt=P(Y)?Y.bind(n,n):P(Y.get)?Y.get.bind(n,n):Kt,It=!P(Y)&&P(Y.set)?Y.set.bind(n):Kt,Mt=it({get:gt,set:It});Object.defineProperty(o,G,{enumerable:!0,configurable:!0,get:()=>Mt.value,set:_t=>Mt.value=_t})}if(a)for(const G in a)ys(a[G],o,n,G);if(c){const G=P(c)?c.call(n):c;Reflect.ownKeys(G).forEach(Y=>{ur(Y,G[Y])})}d&&vs(d,t,"c");function ct(G,Y){L(Y)?Y.forEach(gt=>G(gt.bind(n))):Y&&G(Y.bind(n))}if(ct(yr,g),ct(ps,x),ct(xr,S),ct(kr,M),ct(mr,j),ct(_r,U),ct(Cr,Tt),ct(Sr,ht),ct(Ar,ot),ct(bs,O),ct(ms,q),ct(wr,D),L(I))if(I.length){const G=t.exposed||(t.exposed={});I.forEach(Y=>{Object.defineProperty(G,Y,{get:()=>n[Y],set:gt=>n[Y]=gt,enumerable:!0})})}else t.exposed||(t.exposed={});J&&t.render===Kt&&(t.render=J),V!=null&&(t.inheritAttrs=V),qt&&(t.components=qt),wt&&(t.directives=wt),D&&fs(t)}function jr(t,e,n=Kt){L(t)&&(t=fo(t));for(const o in t){const s=t[o];let i;X(s)?"default"in s?i=mn(s.from||o,s.default,!0):i=mn(s.from||o):i=mn(s),ft(i)?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:r=>i.value=r}):e[o]=i}}function vs(t,e,n){Ft(L(t)?t.map(o=>o.bind(e.proxy)):t.bind(e.proxy),e,n)}function ys(t,e,n,o){let s=o.includes(".")?ls(n,o):()=>n[o];if(nt(t)){const i=e[t];P(i)&&_n(s,i)}else if(P(t))_n(s,t.bind(n));else if(X(t))if(L(t))t.forEach(i=>ys(i,e,n,o));else{const i=P(t.handler)?t.handler.bind(n):e[t.handler];P(i)&&_n(s,i,t)}}function xs(t){const e=t.type,{mixins:n,extends:o}=e,{mixins:s,optionsCache:i,config:{optionMergeStrategies:r}}=t.appContext,a=i.get(e);let c;return a?c=a:!s.length&&!n&&!o?c=e:(c={},s.length&&s.forEach(u=>wn(c,u,r,!0)),wn(c,e,r)),X(e)&&i.set(e,c),c}function wn(t,e,n,o=!1){const{mixins:s,extends:i}=e;i&&wn(t,i,n,!0),s&&s.forEach(r=>wn(t,r,n,!0));for(const r in e)if(!(o&&r==="expose")){const a=qr[r]||n&&n[r];t[r]=a?a(t[r],e[r]):e[r]}return t}const qr={data:ks,props:ws,emits:ws,methods:He,computed:He,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:He,directives:He,watch:Mr,provide:ks,inject:Ir};function ks(t,e){return e?t?function(){return st(P(t)?t.call(this,this):t,P(e)?e.call(this,this):e)}:e:t}function Ir(t,e){return He(fo(t),fo(e))}function fo(t){if(L(t)){const e={};for(let n=0;ne==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Ct(e)}Modifiers`]||t[`${zt(e)}Modifiers`];function Or(t,e,...n){if(t.isUnmounted)return;const o=t.vnode.props||Q;let s=n;const i=e.startsWith("update:"),r=i&&Pr(o,e.slice(7));r&&(r.trim&&(s=n.map(d=>nt(d)?d.trim():d)),r.number&&(s=s.map(xi)));let a,c=o[a=Rn(e)]||o[a=Rn(Ct(e))];!c&&i&&(c=o[a=Rn(zt(e))]),c&&Ft(c,t,6,s);const u=o[a+"Once"];if(u){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Ft(u,t,6,s)}}const Dr=new WeakMap;function Ss(t,e,n=!1){const o=n?Dr:e.emitsCache,s=o.get(t);if(s!==void 0)return s;const i=t.emits;let r={},a=!1;if(!P(t)){const c=u=>{const d=Ss(u,e,!0);d&&(a=!0,st(r,d))};!n&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}return!i&&!a?(X(t)&&o.set(t,null),null):(L(i)?i.forEach(c=>r[c]=null):st(r,i),X(t)&&o.set(t,r),r)}function An(t,e){return!t||!Xe(e)?!1:(e=e.slice(2),e=e==="Once"?e:e.replace(/Once$/,""),W(t,e[0].toLowerCase()+e.slice(1))||W(t,zt(e))||W(t,e))}function Wc(){}function Cs(t){const{type:e,vnode:n,proxy:o,withProxy:s,propsOptions:[i],slots:r,attrs:a,emit:c,render:u,renderCache:d,props:g,data:x,setupState:S,ctx:M,inheritAttrs:j}=t,U=bn(t);let R,O;try{if(n.shapeFlag&4){const q=s||o,J=q;R=Yt(u.call(J,q,d,g,S,x,M)),O=a}else{const q=e;R=Yt(q.length>1?q(g,{attrs:a,slots:r,emit:c}):q(g,null)),O=e.props?a:Rr(a)}}catch(q){be.length=0,hn(q,t,1),R=xt(ne)}let F=R;if(O&&j!==!1){const q=Object.keys(O),{shapeFlag:J}=F;q.length&&J&7&&(i&&q.some(Ze)&&(O=Fr(O,i)),F=Ne(F,O,!1,!0))}if(n.dirs&&(F=Ne(F,null,!1,!0),F.dirs=F.dirs?F.dirs.concat(n.dirs):n.dirs),n.transition){const q=vn(F.type)&&us(F)||F;ro(q,n.transition)}return R=F,bn(U),R}const Rr=t=>{let e;for(const n in t)(n==="class"||n==="style"||Xe(n))&&((e||(e={}))[n]=t[n]);return e},Fr=(t,e)=>{const n={};for(const o in t)(!Ze(o)||!(o.slice(9)in e))&&(n[o]=t[o]);return n};function Hr(t,e,n){const{props:o,children:s,component:i}=t,{props:r,children:a,patchFlag:c}=e,u=i.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return o?Ns(o,r,u):!!r;if(c&8){const d=e.dynamicProps;for(let g=0;gObject.create(Es),qs=t=>Object.getPrototypeOf(t)===Es;function $r(t,e,n,o=!1){const s={},i=js();t.propsDefaults=Object.create(null),Is(t,e,s,i);for(const r in t.propsOptions[0])r in s||(s[r]=void 0);n?t.props=o?s:Wi(s):t.type.props?t.props=s:t.props=i,t.attrs=i}function Ur(t,e,n,o){const{props:s,attrs:i,vnode:{patchFlag:r}}=t,a=B(s),[c]=t.propsOptions;let u=!1;if((o||r>0)&&!(r&16)){if(r&8){const d=t.vnode.dynamicProps;for(let g=0;g{c=!0;const[x,S]=Ms(g,e,!0);st(r,x),S&&a.push(...S)};!n&&e.mixins.length&&e.mixins.forEach(d),t.extends&&d(t.extends),t.mixins&&t.mixins.forEach(d)}if(!i&&!c)return X(t)&&o.set(t,ve),ve;if(L(i))for(let d=0;dt==="_"||t==="_ctx"||t==="$stable",po=t=>L(t)?t.map(Yt):[Yt(t)],Vr=(t,e,n)=>{if(e._n)return e;const o=lr((...s)=>po(e(...s)),n);return o._c=!1,o},zs=(t,e,n)=>{const o=t._ctx;for(const s in t){if(go(s))continue;const i=t[s];if(P(i))e[s]=Vr(s,i,o);else if(i!=null){const r=po(i);e[s]=()=>r}}},Ps=(t,e)=>{const n=po(e);t.slots.default=()=>n},Os=(t,e,n)=>{for(const o in e)(n||!go(o))&&(t[o]=e[o])},Wr=(t,e,n)=>{const o=t.slots=js();if(t.vnode.shapeFlag&32){const s=e._;s?(Os(o,e,n),n&&Eo(o,"_",s,!0)):zs(e,o)}else e&&Ps(t,e)},Gr=(t,e,n)=>{const{vnode:o,slots:s}=t;let i=!0,r=Q;if(o.shapeFlag&32){const a=e._;a?n&&a===1?i=!1:Os(s,e,n):(i=!e.$stable,zs(e,s)),r=e}else e&&(Ps(t,e),r={default:1});if(i)for(const a in s)!go(a)&&r[a]==null&&delete s[a]},Nt=Qr;function Jr(t){return Yr(t)}function Yr(t,e){const n=nn();n.__VUE__=!0;const{insert:o,remove:s,patchProp:i,createElement:r,createText:a,createComment:c,setText:u,setElementText:d,parentNode:g,nextSibling:x,setScopeId:S=Kt,insertStaticContent:M}=t,j=(l,f,p,y=null,v=null,_=null,C=void 0,A=null,w=!!f.dynamicChildren)=>{if(l===f)return;l&&!$e(l,f)&&(y=_e(l),_t(l,v,_,!0),l=null),f.patchFlag===-2&&(w=!1,f.dynamicChildren=null);const{type:h,ref:b,shapeFlag:m}=f;switch(h){case Sn:U(l,f,p,y);break;case ne:R(l,f,p,y);break;case mo:l==null&&O(f,p,y,C);break;case at:qt(l,f,p,y,v,_,C,A,w);break;default:m&1?J(l,f,p,y,v,_,C,A,w):m&6?wt(l,f,p,y,v,_,C,A,w):(m&64||m&128)&&h.process(l,f,p,y,v,_,C,A,w,ue)}b!=null&&v?De(b,l&&l.ref,_,f||l,!f):b==null&&l&&l.ref!=null&&De(l.ref,null,_,l,!0)},U=(l,f,p,y)=>{if(l==null)o(f.el=a(f.children),p,y);else{const v=f.el=l.el;f.children!==l.children&&u(v,f.children)}},R=(l,f,p,y)=>{l==null?o(f.el=c(f.children||""),p,y):f.el=l.el},O=(l,f,p,y)=>{[l.el,l.anchor]=M(l.children,f,p,y,l.el,l.anchor)},F=({el:l,anchor:f},p,y)=>{let v;for(;l&&l!==f;)v=x(l),o(l,p,y),l=v;o(f,p,y)},q=({el:l,anchor:f})=>{let p;for(;l&&l!==f;)p=x(l),s(l),l=p;s(f)},J=(l,f,p,y,v,_,C,A,w)=>{if(f.type==="svg"?C="svg":f.type==="math"&&(C="mathml"),l==null)ht(f,p,y,v,_,C,A,w);else{const h=l.el&&l.el._isVueCE?l.el:null;try{h&&h._beginPatch(),D(l,f,v,_,C,A,w)}finally{h&&h._endPatch()}}},ht=(l,f,p,y,v,_,C,A)=>{let w,h;const{props:b,shapeFlag:m,transition:k,dirs:N}=l;if(w=l.el=r(l.type,_,b&&b.is,b),m&8?d(w,l.children):m&16&&Tt(l.children,w,null,y,v,bo(l,_),C,A),N&&ge(l,null,y,"created"),ot(w,l,l.scopeId,C,y),b){for(const T in b)T!=="value"&&!je(T)&&i(w,T,null,b[T],_,y);"value"in b&&i(w,"value",null,b.value,_),(h=b.onVnodeBeforeMount)&&Xt(h,y,l)}N&&ge(l,null,y,"beforeMount");const E=Xr(v,k);E&&k.beforeEnter(w),o(w,f,p),((h=b&&b.onVnodeMounted)||E||N)&&Nt(()=>{try{h&&Xt(h,y,l),E&&k.enter(w),N&&ge(l,null,y,"mounted")}finally{}},v)},ot=(l,f,p,y,v)=>{if(p&&S(l,p),y)for(let _=0;_{for(let h=w;h{const A=f.el=l.el;let{patchFlag:w,dynamicChildren:h,dirs:b}=f;w|=l.patchFlag&16;const m=l.props||Q,k=f.props||Q;let N;if(p&&pe(p,!1),(N=k.onVnodeBeforeUpdate)&&Xt(N,p,f,l),b&&ge(f,l,p,"beforeUpdate"),p&&pe(p,!0),h&&(!l.dynamicChildren||l.dynamicChildren.length!==h.length)&&(w=0,C=!1,h=null),(m.innerHTML&&k.innerHTML==null||m.textContent&&k.textContent==null)&&d(A,""),h?I(l.dynamicChildren,h,A,p,y,bo(f,v),_):C||Y(l,f,A,null,p,y,bo(f,v),_,!1),w>0){if(w&16)V(A,m,k,p,v);else if(w&2&&m.class!==k.class&&i(A,"class",null,k.class,v),w&4&&i(A,"style",m.style,k.style,v),w&8){const E=f.dynamicProps;for(let T=0;T{N&&Xt(N,p,f,l),b&&ge(f,l,p,"updated")},y)},I=(l,f,p,y,v,_,C)=>{for(let A=0;A{if(f!==p){if(f!==Q)for(const _ in f)!je(_)&&!(_ in p)&&i(l,_,f[_],null,v,y);for(const _ in p){if(je(_))continue;const C=p[_],A=f[_];C!==A&&_!=="value"&&i(l,_,A,C,v,y)}"value"in p&&i(l,"value",f.value,p.value,v)}},qt=(l,f,p,y,v,_,C,A,w)=>{const h=f.el=l?l.el:a(""),b=f.anchor=l?l.anchor:a("");let{patchFlag:m,dynamicChildren:k,slotScopeIds:N}=f;N&&(A=A?A.concat(N):N),l==null?(o(h,p,y),o(b,p,y),Tt(f.children||[],p,b,v,_,C,A,w)):m>0&&m&64&&k&&l.dynamicChildren&&l.dynamicChildren.length===k.length?(I(l.dynamicChildren,k,p,v,_,C,A),(f.key!=null||v&&f===v.subTree)&&Ds(l,f,!0)):Y(l,f,p,b,v,_,C,A,w)},wt=(l,f,p,y,v,_,C,A,w)=>{f.slotScopeIds=A,l==null?f.shapeFlag&512?v.ctx.activate(f,p,y,C,w):Ot(f,p,y,v,_,C,w):At(l,f,w)},Ot=(l,f,p,y,v,_,C)=>{const A=l.component=ra(l,y,v);if(ao(l)&&(A.ctx.renderer=ue),aa(A,!1,C),A.asyncDep){if(v&&v.registerDep(A,ct,C),!l.el){const w=A.subTree=xt(ne);R(null,w,f,p),l.placeholder=w.el}}else ct(A,l,f,p,v,_,C)},At=(l,f,p)=>{const y=f.component=l.component;if(Hr(l,f,p))if(y.asyncDep&&!y.asyncResolved){G(y,f,p);return}else y.next=f,y.update();else f.el=l.el,y.vnode=f},ct=(l,f,p,y,v,_,C)=>{const A=()=>{if(l.isMounted){let{next:m,bu:k,u:N,parent:E,vnode:T}=l;{const St=Rs(l);if(St){m&&(m.el=T.el,G(l,m,C)),St.asyncDep.then(()=>{Nt(()=>{l.isUnmounted||h()},v)});return}}let z=m,Z;pe(l,!1),m?(m.el=T.el,G(l,m,C)):m=T,k&&Fn(k),(Z=m.props&&m.props.onVnodeBeforeUpdate)&&Xt(Z,E,m,T),pe(l,!0);const et=Cs(l),lt=l.subTree;l.subTree=et,j(lt,et,g(lt.el),_e(lt),l,v,_),m.el=et.el,z===null&&Kr(l,et.el),N&&Nt(N,v),(Z=m.props&&m.props.onVnodeUpdated)&&Nt(()=>Xt(Z,E,m,T),v)}else{let m;const{el:k,props:N}=f,{bm:E,m:T,parent:z,root:Z,type:et}=l,lt=Re(f);pe(l,!1),E&&Fn(E),!lt&&(m=N&&N.onVnodeBeforeMount)&&Xt(m,z,f),pe(l,!0);{Z.ce&&Z.ce._hasShadowRoot()&&Z.ce._injectChildStyle(et,l.parent?l.parent.type:void 0);const St=l.subTree=Cs(l);j(null,St,p,y,l,v,_),f.el=St.el}if(T&&Nt(T,v),!lt&&(m=N&&N.onVnodeMounted)){const St=f;Nt(()=>Xt(m,z,St),v)}(f.shapeFlag&256||z&&Re(z.vnode)&&z.vnode.shapeFlag&256)&&l.a&&Nt(l.a,v),l.isMounted=!0,f=p=y=null}};l.scope.on();const w=l.effect=new Po(A);l.scope.off();const h=l.update=w.run.bind(w),b=l.job=w.runIfDirty.bind(w);b.i=l,b.id=l.uid,w.scheduler=()=>so(b),pe(l,!0),h()},G=(l,f,p)=>{f.component=l;const y=l.vnode.props;l.vnode=f,l.next=null,Ur(l,f.props,y,p),Gr(l,f.children,p),Bt(),ss(l),Vt()},Y=(l,f,p,y,v,_,C,A,w=!1)=>{const h=l&&l.children,b=l?l.shapeFlag:0,m=f.children,{patchFlag:k,shapeFlag:N}=f;if(k>0){if(k&128){It(h,m,p,y,v,_,C,A,w);return}else if(k&256){gt(h,m,p,y,v,_,C,A,w);return}}N&8?(b&16&&le(h,v,_),m!==h&&d(p,m)):b&16?N&16?It(h,m,p,y,v,_,C,A,w):le(h,v,_,!0):(b&8&&d(p,""),N&16&&Tt(m,p,y,v,_,C,A,w))},gt=(l,f,p,y,v,_,C,A,w)=>{l=l||ve,f=f||ve;const h=l.length,b=f.length,m=Math.min(h,b);let k;for(k=0;kb?le(l,v,_,!0,!1,m):Tt(f,p,y,v,_,C,A,w,m)},It=(l,f,p,y,v,_,C,A,w)=>{let h=0;const b=f.length;let m=l.length-1,k=b-1;for(;h<=m&&h<=k;){const N=l[h],E=f[h]=w?se(f[h]):Yt(f[h]);if($e(N,E))j(N,E,p,null,v,_,C,A,w);else break;h++}for(;h<=m&&h<=k;){const N=l[m],E=f[k]=w?se(f[k]):Yt(f[k]);if($e(N,E))j(N,E,p,null,v,_,C,A,w);else break;m--,k--}if(h>m){if(h<=k){const N=k+1,E=Nk)for(;h<=m;)_t(l[h],v,_,!0),h++;else{const N=h,E=h,T=new Map;for(h=E;h<=k;h++){const pt=f[h]=w?se(f[h]):Yt(f[h]);pt.key!=null&&T.set(pt.key,h)}let z,Z=0;const et=k-E+1;let lt=!1,St=0;const Et=new Array(et);for(h=0;h=et){_t(pt,v,_,!0);continue}let Lt;if(pt.key!=null)Lt=T.get(pt.key);else for(z=E;z<=k;z++)if(Et[z-E]===0&&$e(pt,f[z])){Lt=z;break}Lt===void 0?_t(pt,v,_,!0):(Et[Lt-E]=h+1,Lt>=St?St=Lt:lt=!0,j(pt,f[Lt],p,null,v,_,C,A,w),Z++)}const Ht=lt?Zr(Et):ve;for(z=Ht.length-1,h=et-1;h>=0;h--){const pt=E+h,Lt=f[pt],Te=f[pt+1],Ln=pt+1{const{el:_,type:C,transition:A,children:w,shapeFlag:h}=l;if(h&6){Mt(l.component.subTree,f,p,y);return}if(h&128){l.suspense.move(f,p,y);return}if(h&64){C.move(l,f,p,ue);return}if(C===at){o(_,f,p);for(let m=0;mA.enter(_),v));else{const{leave:m,delayLeave:k,afterLeave:N}=A,E=()=>{l.ctx.isUnmounted?s(_):o(_,f,p)},T=()=>{const z=_._isLeaving||!!_[io];_._isLeaving&&_[io](!0),A.persisted&&!z?E():m(_,()=>{E(),N&&N()})};k?k(_,E,T):T()}else o(_,f,p)},_t=(l,f,p,y=!1,v=!1)=>{const{type:_,props:C,ref:A,children:w,dynamicChildren:h,shapeFlag:b,patchFlag:m,dirs:k,cacheIndex:N,memo:E}=l;if(m===-2&&(v=!1),A!=null&&(Bt(),De(A,null,p,l,!0),Vt()),N!=null&&(f.renderCache[N]=void 0),b&256){f.ctx.deactivate(l);return}const T=b&1&&k,z=!Re(l);let Z;if(z&&(Z=C&&C.onVnodeBeforeUnmount)&&Xt(Z,f,l),b&6)In(l.component,p,y);else{if(b&128){l.suspense.unmount(p,y);return}T&&ge(l,null,f,"beforeUnmount"),b&64?l.type.remove(l,f,p,ue,y):h&&!h.hasOnce&&(_!==at||m>0&&m&64)?le(h,f,p,!1,!0):(_===at&&m&384||!v&&b&16)&&le(w,f,p),y&&me(l)}const et=E!=null&&N==null;(z&&(Z=C&&C.onVnodeUnmounted)||T||et)&&Nt(()=>{Z&&Xt(Z,f,l),T&&ge(l,null,f,"unmounted"),et&&(l.el=null)},p)},me=l=>{const{type:f,el:p,anchor:y,transition:v}=l;if(f===at){Je(p,y);return}if(f===mo){q(l);return}const _=()=>{s(p),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(l.shapeFlag&1&&v&&!v.persisted){const{leave:C,delayLeave:A}=v,w=()=>C(p,_);A?A(l.el,_,w):w()}else _()},Je=(l,f)=>{let p;for(;l!==f;)p=x(l),s(l),l=p;s(f)},In=(l,f,p)=>{const{bum:y,scope:v,job:_,subTree:C,um:A,m:w,a:h}=l;Fs(w),Fs(h),y&&Fn(y),v.stop(),_&&(_.flags|=8,_t(C,l,f,p)),A&&Nt(A,f),Nt(()=>{l.isUnmounted=!0},f)},le=(l,f,p,y=!1,v=!1,_=0)=>{for(let C=_;C{if(l.shapeFlag&6)return _e(l.component.subTree);if(l.shapeFlag&128)return l.suspense.next();const f=x(l.anchor||l.el),p=f&&f[gr];return p?x(p):f};let Ye=!1;const Mn=(l,f,p)=>{let y;l==null?f._vnode&&(_t(f._vnode,null,null,!0),y=f._vnode.component):j(f._vnode||null,l,f,null,null,null,p),f._vnode=l,Ye||(Ye=!0,ss(y),is(),Ye=!1)},ue={p:j,um:_t,m:Mt,r:me,mt:Ot,mc:Tt,pc:Y,pbc:I,n:_e,o:t};return{render:Mn,hydrate:void 0,createApp:zr(Mn)}}function bo({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function pe({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function Xr(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Ds(t,e,n=!1){const o=t.children,s=e.children;if(L(o)&&L(s))for(let i=0;i>1,t[n[a]]0&&(e[o]=n[i-1]),n[i]=o)}}for(i=n.length,r=n[i-1];i-- >0;)n[i]=r,r=e[r];return n}function Rs(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Rs(e)}function Fs(t){if(t)for(let e=0;et.__isSuspense;function Qr(t,e){e&&e.pendingBranch?L(t)?e.effects.push(...t):e.effects.push(t):cr(t)}const at=Symbol.for("v-fgt"),Sn=Symbol.for("v-txt"),ne=Symbol.for("v-cmt"),mo=Symbol.for("v-stc"),be=[];let jt=null;function K(t=!1){be.push(jt=t?null:[])}function $s(){be.pop(),jt=be[be.length-1]||null}let Ke=1;function Us(t,e=!1){Ke+=t,t<0&&jt&&e&&(jt.hasOnce=!0)}function Bs(t){return t.dynamicChildren=Ke>0?jt||ve:null,$s(),Ke>0&&jt&&jt.push(t),t}function $(t,e,n,o,s,i){return Bs(H(t,e,n,o,s,i,!0))}function ta(t,e,n,o,s){return Bs(xt(t,e,n,o,s,!0))}function Vs(t){return t?t.__v_isVNode===!0:!1}function $e(t,e){return t.type===e.type&&t.key===e.key}const Ws=({key:t})=>t??null,Cn=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?nt(t)||ft(t)||P(t)?{i:Jt,r:t,k:e,f:!!n}:t:null);function H(t,e=null,n=null,o=0,s=null,i=t===at?0:1,r=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Ws(e),ref:e&&Cn(e),scopeId:as,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Jt};return a?(Nn(c,n),i&128&&t.normalize(c)):n&&(c.shapeFlag|=nt(n)?8:16),Ke>0&&!r&&jt&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&jt.push(c),c}const xt=ea;function ea(t,e=null,n=null,o=0,s=null,i=!1){if((!t||t===Nr)&&(t=ne),Vs(t)){const a=Ne(t,e,!0);return n&&Nn(a,n),Ke>0&&!i&&jt&&(a.shapeFlag&6?jt[jt.indexOf(t)]=a:jt.push(a)),a.patchFlag=-2,a}if(ga(t)&&(t=t.__vccOpts),e){e=na(e);let{class:a,style:c}=e;a&&!nt(a)&&(e.class=on(a)),X(c)&&(eo(c)&&!L(c)&&(c=st({},c)),e.style=ye(c))}const r=nt(t)?1:Ks(t)?128:vn(t)?64:X(t)?4:P(t)?2:0;return H(t,e,n,o,s,r,i,!0)}function na(t){return t?eo(t)||qs(t)?st({},t):t:null}function Ne(t,e,n=!1,o=!1){const{props:s,ref:i,patchFlag:r,children:a,transition:c}=t,u=e?oa(s||{},e):s,d={__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&Ws(u),ref:e&&e.ref?n&&i?L(i)?i.concat(Cn(e)):[i,Cn(e)]:Cn(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==at?r===-1?16:r|16:r,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:c,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Ne(t.ssContent),ssFallback:t.ssFallback&&Ne(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return c&&o&&ro(d,c.clone(d)),d}function oe(t=" ",e=0){return xt(Sn,null,t,e)}function mt(t="",e=!1){return e?(K(),ta(ne,null,t)):xt(ne,null,t)}function Yt(t){return t==null||typeof t=="boolean"?xt(ne):L(t)?xt(at,null,t.slice()):Vs(t)?se(t):xt(Sn,null,String(t))}function se(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Ne(t)}function Nn(t,e){let n=0;const{shapeFlag:o}=t;if(e==null)e=null;else if(L(e))n=16;else if(typeof e=="object")if(o&65){const s=e.default;s&&(s._c&&(s._d=!1),Nn(t,s()),s._c&&(s._d=!0));return}else{n=32;const s=e._;!s&&!qs(e)?e._ctx=Jt:s===3&&Jt&&(Jt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else if(P(e)){if(o&65){Nn(t,{default:e});return}e={default:e,_ctx:Jt},n=32}else e=String(e),o&64?(n=16,e=[oe(e)]):n=8;t.children=e,t.shapeFlag|=n}function oa(...t){const e={};for(let n=0;nkt||Jt;let Tn,Ue;{const t=nn(),e=(n,o)=>{let s;return(s=t[n])||(s=t[n]=[]),s.push(o),i=>{s.length>1?s.forEach(r=>r(i)):s[0](i)}};Tn=e("__VUE_INSTANCE_SETTERS__",n=>kt=n),Ue=e("__VUE_SSR_SETTERS__",n=>Ve=n)}const Be=t=>{const e=kt;return Tn(t),t.scope.on(),()=>{t.scope.off(),Tn(e)}},Js=()=>{kt&&kt.scope.off(),Tn(null)};function Ys(t){return t.vnode.shapeFlag&4}let Ve=!1;function aa(t,e=!1,n=!1){e&&Ue(e);const{props:o,children:s}=t.vnode,i=Ys(t);$r(t,o,i,e),Wr(t,s,n||e);const r=i?ca(t,e):void 0;return e&&Ue(!1),r}function ca(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Tr);const{setup:o}=n;if(o){Bt();const s=t.setupContext=o.length>1?ua(t):null,i=Be(t),r=we(o,t,0,[t.props,s]),a=Co(r);if(Vt(),i(),(a||t.sp)&&!Re(t)&&fs(t),a){if(r.then(Js,Js),e)return r.then(c=>{Ue(!0);try{Xs(t,c,e)}finally{Ue(!1)}}).catch(c=>{hn(c,t,0)});t.asyncDep=r}else Xs(t,r)}else Zs(t)}function Xs(t,e,n){P(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:X(e)&&(t.setupState=ts(e)),Zs(t)}function Zs(t,e,n){const o=t.type;t.render||(t.render=o.render||Kt);{const s=Be(t);Bt();try{Er(t)}finally{Vt(),s()}}}const la={get(t,e){return bt(t,"get",""),t[e]}};function ua(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,la),slots:t.slots,emit:t.emit,expose:e}}function _o(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(ts(Gi(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Fe)return Fe[n](t)},has(e,n){return n in e||n in Fe}})):t.proxy}const fa=/(?:^|[-_])\w/g,da=t=>t.replace(fa,e=>e.toUpperCase()).replace(/[-_]/g,"");function ha(t,e=!0){return P(t)?t.displayName||t.name:t.name||e&&t.__name}function Qs(t,e,n=!1){let o=ha(e);if(!o&&e.__file){const s=e.__file.match(/([^/\\]+)\.\w+$/);s&&(o=s[1])}if(!o&&t){const s=i=>{for(const r in i)if(i[r]===e)return r};o=s(t.components)||t.parent&&s(t.parent.type.components)||s(t.appContext.components)}return o?da(o):n?"App":"Anonymous"}function ga(t){return P(t)&&"__vccOpts"in t}const it=(t,e)=>Qi(t,e,Ve),pa="3.5.42";/** * @vue/runtime-dom v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let mo;const Zs=typeof window<"u"&&window.trustedTypes;if(Zs)try{mo=Zs.createPolicy("vue",{createHTML:t=>t})}catch{}const Qs=mo?t=>mo.createHTML(t):t=>t,ga="http://www.w3.org/2000/svg",pa="http://www.w3.org/1998/Math/MathML",se=typeof document<"u"?document:null,ti=se&&se.createElement("template"),ba={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,o)=>{const s=e==="svg"?se.createElementNS(ga,t):e==="mathml"?se.createElementNS(pa,t):n?se.createElement(t,{is:n}):se.createElement(t);return t==="select"&&o&&o.multiple!=null&&s.setAttribute("multiple",o.multiple),s},createText:t=>se.createTextNode(t),createComment:t=>se.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>se.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,o,s,i){const r=n?n.previousSibling:e.lastChild;if(s&&(s===i||s.nextSibling))for(;e.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{ti.innerHTML=Qs(o==="svg"?`${t}`:o==="mathml"?`${t}`:t);const a=ti.content;if(o==="svg"||o==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[r?r.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},ma=Symbol("_vtc");function _a(t,e,n){const o=t[ma];o&&(e=(e?[e,...o]:[...o]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const ei=Symbol("_vod"),va=Symbol("_vsh"),ya=Symbol(""),xa=/(?:^|;)\s*display\s*:/;function ka(t,e,n){const o=t.style,s=nt(n);let i=!1;if(n&&!s){if(e)if(nt(e))for(const r of e.split(";")){const a=r.slice(0,r.indexOf(":")).trim();n[a]==null&&We(o,a,"")}else for(const r in e)n[r]==null&&We(o,r,"");for(const r in n){r==="display"&&(i=!0);const a=n[r];a!=null?Aa(t,r,!nt(e)&&e?e[r]:void 0,a)||We(o,r,a):We(o,r,"")}}else if(s){if(e!==n){const r=o[ya];r&&(n+=";"+r),o.cssText=n,i=xa.test(n)}}else e&&t.removeAttribute("style");ei in t&&(t[ei]=i?o.display:"",t[va]&&(o.display="none"))}const Tn=/\s*!important$/;function We(t,e,n){if(M(n))n.forEach(o=>We(t,e,o));else if(n==null&&(n=""),e.startsWith("--"))Tn.test(n)?t.setProperty(e,n.replace(Tn,""),"important"):t.setProperty(e,n);else{const o=wa(t,e);Tn.test(n)?t.setProperty(Mt(o),n.replace(Tn,""),"important"):t[o]=n}}const ni=["Webkit","Moz","ms"],_o={};function wa(t,e){const n=_o[e];if(n)return n;let o=Ct(e);if(o!=="filter"&&o in t)return _o[e]=o;o=Co(o);for(let s=0;svo||(qa.then(()=>vo=0),vo=Date.now());function Ma(t,e){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;const s=n.value;if(M(s)){const i=o.stopImmediatePropagation;o.stopImmediatePropagation=()=>{i.call(o),o._stopped=!0};const r=s.slice(),a=[o];for(let l=0;lt.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,La=(t,e,n,o,s,i)=>{const r=s==="svg";e==="class"?_a(t,o,r):e==="style"?ka(t,n,o):Ye(e)?Xe(e)||Na(t,e,n,o,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):za(t,e,o,r))?(ii(t,e,o),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&si(t,e,o,r,i,e!=="value")):t._isVueCE&&(Pa(t,e)||t._def.__asyncLoader&&(/[A-Z]/.test(e)||!nt(o)))?ii(t,Ct(e),o,i,e):(e==="true-value"?t._trueValue=o:e==="false-value"&&(t._falseValue=o),si(t,e,o,r))};function za(t,e,n,o){if(o)return!!(e==="innerHTML"||e==="textContent"||e in t&&ai(e)&&L(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="sandbox"&&t.tagName==="IFRAME"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const s=t.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return ai(e)&&nt(n)?!1:e in t}function Pa(t,e){const n=t._def.props;if(!n)return!1;const o=Ct(e);return Array.isArray(n)?n.some(s=>Ct(s)===o):Object.keys(n).some(s=>Ct(s)===o)}const li={};function Oa(t,e,n){let o=gr(t,e);Qe(o)&&(o=st({},o,e));class s extends yo{constructor(r){super(o,r,n)}}return s.def=o,s}const Da=typeof HTMLElement<"u"?HTMLElement:class{};class yo extends Da{constructor(e,n={},o=fi){super(),this._def=e,this._props=n,this._createApp=o,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&o!==fi?this._root=this.shadowRoot:e.shadowRoot!==!1?(this.attachShadow(st({},e.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 e=this;for(;e=e&&(e.assignedSlot||e.parentNode||e.host);)if(e instanceof yo){this._parent=e;break}this._instance||(this._resolved?this._mount(this._def):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then(()=>{if(this._pendingResolve=void 0,this.isConnected)return this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,gn(()=>{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(e){for(const n of e)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let o=0;o{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:r}=o;let a;if(i&&!M(i))for(const l in i){const h=i[l];(h===Number||h&&h.type===Number)&&(l in this._props&&(this._props[l]=To(this._props[l])),(a||(a=Object.create(null)))[Ct(l)]=!0)}this._numberProps=a,this._resolveProps(o),this.shadowRoot&&this._applyStyles(r),this._mount(o)},n=this._def.__asyncLoader;if(n)return this._pendingResolve=n().then(o=>{o.configureApp=this._def.configureApp,e(this._def=o,!0)}),this._pendingResolve;e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const o in n)W(this,o)||Object.defineProperty(this,o,{get:()=>to(n[o])})}_resolveProps(e){const{props:n}=e,o=M(n)?n:Object.keys(n||{});for(const s of Object.keys(this))s[0]!=="_"&&o.includes(s)&&this._setProp(s,this[s]);for(const s of o.map(Ct))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(i){this._setProp(s,i,!0,!this._patching)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const n=this.hasAttribute(e);let o=n?this.getAttribute(e):li;const s=Ct(e);n&&this._numberProps&&this._numberProps[s]&&(o=To(o)),this._setProp(s,o,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,n,o=!0,s=!1){if(n!==this._props[e]&&(this._dirty=!0,n===li?delete this._props[e]:(this._props[e]=n,e==="key"&&this._app&&(this._app._ceVNode.key=n)),s&&this._instance&&this._update(),o)){const i=this._ob;i&&(this._processMutations(i.takeRecords()),i.disconnect()),n===!0?this.setAttribute(Mt(e),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Mt(e),n+""):n||this.removeAttribute(Mt(e)),i&&i.observe(this,{attributes:!0})}}_update(){const e=this._createVNode();this._app&&(e.appContext=this._app._context),Fa(e,this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const n=kt(this._def,st(e,this._props));return this._instance||(n.ce=o=>{this._instance=o,o.ce=this,o.isCE=!0;const s=(i,r)=>{this.dispatchEvent(new CustomEvent(i,Qe(r[0])?st({detail:r},r[0]):{detail:r}))};o.emit=(i,...r)=>{s(i,r),Mt(i)!==i&&s(Mt(i),r)},this._setParent()}),n}_applyStyles(e,n,o){if(!e)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const s=this._nonce,i=this.shadowRoot,r=o?this._getStyleAnchor(o)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(i);let a=null;for(let l=e.length-1;l>=0;l--){const h=document.createElement("style");s&&h.setAttribute("nonce",s),h.textContent=e[l],i.insertBefore(h,a||r),a=h,l===0&&(o||this._styleAnchors.set(this._def,h),n&&this._styleAnchors.set(n,h))}}_getStyleAnchor(e){if(!e)return null;const n=this._styleAnchors.get(e);return n&&n.parentNode===this.shadowRoot?n:(n&&this._styleAnchors.delete(e),null)}_getRootStyleInsertionAnchor(e){for(let n=0;n{ui().render(...t)},fi=(...t)=>{const e=ui().createApp(...t),{mount:n}=e;return e.mount=o=>{const s=Ka(o);if(!s)return;const i=e._component;!L(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const r=n(s,!1,Ha(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),r},e};function Ha(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Ka(t){return nt(t)?document.querySelector(t):t}function En(t,e){if(!e.includes("."))return t==null?void 0:t[e];const[n,...o]=e.split(".");let s=t==null?void 0:t[n];for(const i of o)s=s==null?void 0:s[i];return s}function $a(t,e){const n=t.toLowerCase(),o=e.toLowerCase(),s=[];let i=0,r=n.indexOf(o,i);for(;r!==-1;)s.push([r,r+o.length-1]),i=r+o.length,r=n.indexOf(o,i);return s}function Ua(t,e,n){const o=t.toLowerCase(),s=e.toLowerCase(),i=s.length;if(!i||!o.length)return null;const r=Math.min(2,Math.floor(n*i));if(r<=0)return null;let a=new Array(o.length+1).fill(0),l=new Array(o.length+1);for(let k=1;k<=i;k++){l[0]=k;for(let w=1;w<=o.length;w++){const I=a[w-1]+(s[k-1]===o[w-1]?0:1);l[w]=Math.min(I,a[w]+1,l[w-1]+1)}[a,l]=[l,a]}let h=1/0,u=-1;for(let k=1;k<=o.length;k++)a[k]r?null:[[Math.max(0,u-i),u-1]]}function Ba(t,e,{threshold:n=.4}={}){const o=String(t??"").trim().toLowerCase();if(!o)return[];const s=Math.min(2,Math.floor(n*o.length)),i=[];for(const a of e){if(!a)continue;const l=String(a).toLowerCase();if(Math.abs(l.length-o.length)>s)continue;const h=Va(l,o,s);h<=s&&i.push({value:a,distance:h})}if(!i.length)return[];const r=Math.min(...i.map(a=>a.distance));return i.filter(a=>a.distance===r).map(a=>a.value)}function Va(t,e,n){if(t===e)return 0;let o=Array.from({length:e.length+1},(i,r)=>r);const s=new Array(e.length+1);for(let i=1;i<=t.length;i++){s[0]=i;let r=i;for(let a=1;a<=e.length;a++)s[a]=Math.min(o[a-1]+(t[i-1]===e[a-1]?0:1),o[a]+1,s[a-1]+1),s[a]n)return n+1;for(let a=0;a<=e.length;a++)o[a]=s[a]}return o[e.length]}class Wa{constructor(e,n={}){this.list=Array.isArray(e)?e:[],this.keys=n.keys||[],this.threshold=typeof n.threshold=="number"?n.threshold:.4,this.minMatchCharLength=n.minMatchCharLength||1}search(e){const n=String(e||"").trim();if(!n)return this.list.map(h=>({item:h,matches:[]}));if(n.length{const n=t.__vccOpts||t;for(const[o,s]of e)n[o]=s;return n},Ja=["value","placeholder","aria-label"],Ya=xo({__name:"SearchBar",props:{modelValue:{type:String,default:""},placeholder:{type:String,default:"Search…"},ariaLabel:{type:String,default:"Search"},maxWidth:{type:String,default:""}},emits:["update:modelValue","search"],setup(t,{emit:e}){const n=t,o=e,s=it(()=>n.maxWidth?{maxWidth:n.maxWidth}:{});function i(r){const a=r.target.value??"";o("update:modelValue",a),o("search",{value:a})}return(r,a)=>($(),U("div",{class:"search-box",style:je(s.value)},[a[0]||(a[0]=H("svg",{class:"search-icon",width:"18",height:"18",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[H("circle",{cx:"11",cy:"11",r:"7",fill:"none",stroke:"currentColor","stroke-width":"2"}),H("line",{x1:"16.5",y1:"16.5",x2:"21",y2:"21",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),H("input",{type:"search",value:t.modelValue,placeholder:t.placeholder,"aria-label":t.ariaLabel,onInput:i},null,40,Ja)],4))}},[["styles",[Ga]]]),Xa=".filter-dropdown{position:relative;flex:0 0 auto;width:var(--dx-filter-w, 128px);min-width:var(--dx-filter-w, 128px);max-width:var(--dx-filter-w, 128px)}@media (max-width: 576px){.filter-dropdown{width:var(--dx-filter-w-sm, 108px);min-width:var(--dx-filter-w-sm, 108px);max-width:var(--dx-filter-w-sm, 108px)}}.filter-dropdown__trigger{width:100%;padding:var(--dx-filter-pad-y, 4px) var(--dx-filter-pad-x, 8px);cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:.875rem;color:var(--dx-text, #3b463d);text-align:start;background:var(--dx-elevated, #fff);border:1px solid var(--dx-line, #d1d4cd);border-radius:8px;transition:border-color .15s ease}.filter-dropdown__trigger:hover{border-color:var(--dx-accent, #92b195)}.filter-dropdown__trigger[data-active]{background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18));border-color:var(--dx-accent, #92b195)}.filter-dropdown__label{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filter-dropdown__chevron{flex-shrink:0;transition:transform .2s ease}.filter-dropdown.is-open .filter-dropdown__chevron{transform:rotate(180deg)}.filter-dropdown__menu{position:fixed;z-index:2147483000;background-color:var(--dx-elevated, #fff);color:var(--dx-text, #3b463d);border:1px solid var(--dx-line, #d1d4cd);border-radius:8px;box-shadow:0 4px 12px #0000001f;overflow:hidden;display:flex;flex-direction:column;min-width:160px}.filter-dropdown__search{border:none;border-bottom:1px solid var(--dx-line, #d1d4cd);border-radius:0;padding:6px 12px;width:100%;font-size:.875rem;color:var(--dx-text, #3b463d);background:var(--dx-elevated, #fff);outline:none;box-sizing:border-box}.filter-dropdown__search::placeholder{color:var(--dx-muted, #6d766e)}.filter-dropdown__clear{display:block;width:100%;background:none;border:none;border-bottom:1px solid var(--dx-line, #d1d4cd);padding:6px 12px;font-size:.875rem;color:var(--dx-text, #3b463d);cursor:pointer;text-align:start;text-decoration:underline;text-decoration-color:var(--dx-accent, #92b195);text-underline-offset:3px}.filter-dropdown__clear:hover{background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18))}.filter-dropdown__options{flex:1 1 auto;min-height:0;max-height:250px;overflow-y:auto}.filter-dropdown__search,.filter-dropdown__clear{flex:0 0 auto}.filter-dropdown__option{padding:5px 12px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:.875rem;transition:background-color .1s ease}.filter-dropdown__option[data-selected]{font-weight:700;color:var(--dx-text, #3b463d);box-shadow:inset 3px 0 0 var(--dx-accent, #92b195)}.filter-dropdown__option:hover,.filter-dropdown__option[data-highlighted]{background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18))}.filter-dropdown__count{color:var(--dx-muted, #6d766e);font-size:.75rem;margin-inline-start:6px}.filter-dropdown__no-options{padding:12px;font-size:.875rem;color:var(--dx-muted, #6d766e);text-align:center}",Za=["data-active","aria-expanded"],Qa={class:"filter-dropdown__label"},tl=["value","placeholder"],el={class:"filter-dropdown__options"},nl={key:0,class:"filter-dropdown__no-options"},ol=["data-highlighted","data-selected","aria-selected","onClick","onMouseenter"],sl={class:"filter-dropdown__count"},jn=xo({__name:"FilterDropdown",props:{label:{type:String,required:!0},name:{type:String,required:!0},options:{type:Array,default:()=>[]},value:{type:String,default:""},placeholder:{type:String,default:"Type to search..."}},emits:["filter-change","filter-clear"],setup(t,{emit:e}){const n=t,o=e,s=dt(!1),i=dt(""),r=dt(-1),a=dt(null),l=dt(null),h=dt(null),u=dt({});function p(q){const O=q.ownerDocument,J=O.createElement("div");J.style.cssText="position:fixed;top:0;left:0;width:0;height:0;pointer-events:none;opacity:0",(q.parentElement||q.getRootNode().body||O.body).appendChild(J);const mt=J.getBoundingClientRect();return J.remove(),{x:mt.left,y:mt.top}}function k(){const q=h.value;if(!q)return;const O=q.getBoundingClientRect(),J=window.innerWidth,Tt=window.innerHeight,mt=320,Yt=4,At=8,G=Math.round(Math.min(Math.max(O.width,240),J-At*2)),B=O.right>At&&O.leftJ-At?gt=Math.round(Math.max(O.right-G,At)):gt=Math.round(Math.max(O.left,At)):gt=Math.round(Math.min(Math.max(O.left,At),J-G-At));const zt=Tt-O.bottom,Rt=zt<180&&O.top>zt,_t=p(q),ie=Math.round(gt-_t.x);u.value=Rt?{top:"auto",bottom:`${Math.round(Tt-O.top+Yt+_t.y)}px`,left:`${ie}px`,width:`${G}px`,maxHeight:`${Math.round(Math.min(mt,O.top-Yt-At))}px`}:{top:`${Math.round(O.bottom+Yt-_t.y)}px`,bottom:"auto",left:`${ie}px`,width:`${G}px`,maxHeight:`${Math.round(Math.min(mt,zt-Yt-At))}px`}}function w(){s.value&&k()}const I=it(()=>{if(!i.value)return n.options;const q=i.value.toLowerCase();return n.options.filter(O=>O.label.toLowerCase().includes(q))}),j=it(()=>n.options.find(q=>q.value===n.value));function R(q){var J;const O=((J=q.composedPath)==null?void 0:J.call(q))??[];a.value&&!O.includes(a.value)&&P()}function F(){s.value?P():D()}function D(){s.value=!0,i.value="",r.value=-1,k(),document.addEventListener("click",R),window.addEventListener("scroll",w,!0),window.addEventListener("resize",w),gn(()=>{var q;k(),(q=l.value)==null||q.focus()})}function P(){s.value=!1,i.value="",r.value=-1,document.removeEventListener("click",R),window.removeEventListener("scroll",w,!0),window.removeEventListener("resize",w)}function E(q){i.value=q.target.value,r.value=-1}function tt(q){const O=I.value;switch(q.key){case"ArrowDown":q.preventDefault(),r.value=Math.min(r.value+1,O.length-1),ot();break;case"ArrowUp":q.preventDefault(),r.value=Math.max(r.value-1,0),ot();break;case"Enter":{q.preventDefault();const J=O[r.value];J&&ht(J);break}case"Escape":q.preventDefault(),P();break}}function ot(){gn(()=>{var O;const q=(O=a.value)==null?void 0:O.querySelector(".filter-dropdown__option[data-highlighted]");q==null||q.scrollIntoView({block:"nearest"})})}function ht(q){o("filter-change",{name:n.name,value:q.value,label:q.label,type:q.type}),P()}function It(){o("filter-clear",{name:n.name}),P()}return gs(()=>{document.removeEventListener("click",R),window.removeEventListener("scroll",w,!0),window.removeEventListener("resize",w)}),(q,O)=>($(),U("div",{ref_key:"rootRef",ref:a,class:nn(["filter-dropdown",{"is-open":s.value}])},[H("button",{ref_key:"triggerRef",ref:h,class:"filter-dropdown__trigger input","data-active":t.value?"":void 0,type:"button","aria-haspopup":"listbox","aria-expanded":s.value,onClick:F},[H("span",Qa,[j.value?($(),U(lt,{key:0},[ne(rt(t.label)+": ",1),H("strong",null,rt(j.value.label),1)],64)):($(),U(lt,{key:1},[ne(rt(t.label),1)],64))]),O[0]||(O[0]=H("svg",{class:"filter-dropdown__chevron",width:"12",height:"12",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},[H("path",{d:"M2 4l4 4 4-4",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],8,Za),s.value?($(),U("div",{key:0,class:"filter-dropdown__menu",role:"listbox",style:je(u.value)},[H("input",{ref_key:"searchInputRef",ref:l,class:"filter-dropdown__search",type:"text",value:i.value,placeholder:t.placeholder,onInput:E,onKeydown:tt},null,40,tl),t.value?($(),U("button",{key:0,class:"filter-dropdown__clear",type:"button",onClick:It},"Clear selection")):bt("",!0),H("div",el,[I.value.length===0?($(),U("div",nl,"No options found")):($(!0),U(lt,{key:1},xn(I.value,(J,Tt)=>($(),U("div",{key:J.value,class:"filter-dropdown__option",role:"option","data-highlighted":Tt===r.value?"":void 0,"data-selected":J.value===t.value?"":void 0,"aria-selected":J.value===t.value,onClick:mt=>ht(J),onMouseenter:mt=>r.value=Tt},[H("span",null,rt(J.label),1),H("span",sl,rt(J.count),1)],40,ol))),128))])],4)):bt("",!0)],2))}},[["styles",[Xa]]]);function il(t,e){return String(e||t||"").trim().toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}const di={C:"Christianity",M:"Islam",H:"Hinduism",B:"Buddhism",E:"Ethnoreligion",J:"Judaism",S:"Sikhism",N:"Unaffiliated",O:"Other",U:"Unknown"},rl={"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","Atlantic-Congo":"#7D3C98",Mande:"#B9770E","Sign Language":"#212121",Creole:"#9575cd","Mixed language":"#a1887f","Language isolate":"#90a4ae",Unknown:"#000000"},al=(()=>{const t=n=>String(n||"").toLowerCase().trim(),e={};for(const n of Object.keys(rl))e[t(n)]=n;return e})(),ll={"tai-kadai":"Kra-Dai",none:"Unknown"};function hi(t){if(!t)return"Unknown";const e=String(t).trim(),n=e.toLowerCase();return ll[n]||al[n]||e}const cl={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"},ul=":host{display:block;width:100%;--dx-surface: #f3f3f1;--dx-elevated: #ffffff;--dx-text: #3b463d;--dx-muted: #6d766e;--dx-line: #d1d4cd;--dx-accent: #92b195;--dx-accent-weak: rgba(146, 177, 149, .18);--dx-accent-soft: rgba(146, 177, 149, .1);--dx-accent-strong: #657967}.pgg-root{--brand: var(--dx-accent, #92b195);--ink: var(--dx-text, #3b463d);--mut: var(--dx-muted, #6d766e);--line: var(--dx-line, #d1d4cd);--card: var(--dx-elevated, #fff);--bg: var(--dx-surface, #f3f3f1);width:100%;box-sizing:border-box;color:var(--ink);background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;padding:16px}.filters{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.pgg-search{display:flex;justify-content:center}.filters__toggle{background:var(--dx-elevated, #fff);border:1px solid var(--dx-line, #d1d4cd);border-radius:8px;cursor:pointer;font-size:.875rem;font-weight:500;color:var(--dx-text, #3b463d);padding:7px 12px;display:inline-flex;align-items:center;gap:7px;margin-inline:auto;transition:background-color .15s ease,border-color .15s ease}.filters__toggle:hover{background:var(--dx-accent-weak, rgba(146,177,149,.18));border-color:var(--dx-accent, #92b195)}.filters__toggle:focus-visible{outline:2px solid var(--dx-accent, #92b195);outline-offset:2px}.filters__toggle-icon{color:var(--dx-accent, #92b195);flex:none}.filters__toggle-count{background:var(--dx-accent, #92b195);color:#fff;border-radius:999px;min-width:18px;padding:0 5px;font-size:.75rem;line-height:18px;text-align:center}.filters__toggle[aria-expanded=true] svg{transform:rotate(180deg)}.filters__panel{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;align-items:flex-start}.filter-toggle{padding:6px 12px;cursor:pointer;font-size:.875rem;color:inherit;background:var(--card);border:1px solid var(--line);border-radius:8px;transition:border-color .15s ease,background .15s ease}.filter-toggle:hover{border-color:var(--brand)}.filter-toggle[data-active]{background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18));border-color:var(--brand);color:var(--ink)}.filters__active{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center}.filter-chip{display:inline-flex;gap:6px;align-items:center;background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18));color:var(--ink);border:1px solid var(--line);border-radius:100px;padding:4px 12px;font-size:.85rem}.filter-chip__remove{background:none;border:none;cursor:pointer;font-size:1.1em;line-height:1;color:inherit;padding:0;display:inline-flex;align-items:center}.filter-chip__remove:hover{opacity:.7}.filters__clear-all{background:none;border:none;cursor:pointer;font-size:.875rem;color:var(--ink);text-decoration:underline;text-decoration-color:var(--brand);text-underline-offset:4px}.repel{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.font-size-sm{font-size:.875rem;color:var(--mut)}.grid.uupgs-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}.card.uupg__card{display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 1px 2px #0000000a}.uupg__image{width:100%;aspect-ratio:1 / 1;object-fit:cover;background:var(--line)}.uupg__header{padding:12px 14px 6px}.uupg__name{font-size:1rem;font-weight:700;line-height:1.2;margin:0 0 4px}.uupg__country{font-size:.85rem;color:var(--mut);margin:0}.uupg__country-link{color:var(--ink);font-weight:600;text-decoration:underline;text-decoration-color:var(--brand);text-decoration-thickness:1px;text-underline-offset:2px}.uupg__country-link:hover{text-decoration-thickness:2px}.uupg__match{font-size:.8rem;color:var(--mut);margin:4px 0 0}.uupg__content{padding:0 14px;font-size:.85rem;color:var(--mut)}.uupg__more-button{margin:12px 14px 14px;padding:8px 12px;text-align:center;font-size:.85rem;font-weight:700;color:var(--dx-elevated, #fff);background:var(--dx-accent-strong, #657967);border-radius:8px;text-decoration:none}.uupg__more-button:hover{background:var(--dx-text, #3b463d)}.search-highlight{background:#fde68a;border-radius:2px;padding:0 1px}.loading,.pgg-empty{grid-column:1 / -1;padding:28px;text-align:center;color:var(--mut);font-size:.9rem}.pgg-failed{font-weight:600;border-top:1px solid var(--bd, #d1d4cd)}.pgg-loadmore{display:block;margin:20px auto 0;padding:8px 18px;font-size:.9rem;cursor:pointer;color:var(--ink);background:var(--card);border:1px solid var(--brand);border-radius:8px}.pgg-loadmore:hover{background:var(--dx-accent-soft, rgba(146, 177, 149, .1))}",fl={class:"pgg-root"},dl={key:0,id:"filters",class:"filters"},hl={key:0,class:"pgg-search"},gl=["aria-expanded"],pl={key:0,class:"filters__toggle-count"},bl={class:"filters__panel"},ml={class:"filters__panel"},_l=["data-active"],vl={key:3,class:"filters__active"},yl=["onClick"],xl={class:"pgg-body"},kl={key:0,class:"repel"},wl={class:"font-size-sm"},Al={key:1},Sl={id:"results",class:"grid uupgs-list"},Cl=["src","alt"],Nl={class:"uupg__header"},Tl=["innerHTML"],El={key:0,class:"uupg__country"},jl=["href"],ql=["innerHTML"],Il=["innerHTML"],Ml=["innerHTML"],Ll={key:1,class:"uupg__content"},zl=["href"],Pl={key:0,class:"loading"},Ol={key:1,class:"pgg-empty pgg-failed",role:"status"},Dl={key:2,class:"pgg-empty"},Rl=Oa(xo({__name:"people-groups-grid",props:{profileConfig:{type:String,default:""},prayBaseUrl:{type:String,default:""},languageCode:{type:String,default:""},researchUrl:{type:String,default:""},selectUrl:{type:String,default:""},t:{type:Object,default:()=>({})},showSearch:{type:[Boolean,String],default:!0},showFilters:{type:[Boolean,String],default:!0},showTotal:{type:[Boolean,String],default:!0},query:{type:String,default:""},wagfRegion:{type:String,default:""},wagfBlock:{type:String,default:""},rop1:{type:String,default:""},religion:{type:String,default:""},countryCode:{type:String,default:""},primaryLanguage:{type:String,default:""},cluster:{type:String,default:""},peopleGroup:{type:String,default:""},engagementStatus:{type:String,default:""},gospelAccess:{type:String,default:""},religionFamily:{type:String,default:""},languageFamily:{type:String,default:""},perPage:{type:Number,default:24},morePerPage:{type:Number,default:0}},emits:["groups-filtered"],setup(t,{emit:e}){const n=t,o=e,s=it(()=>{if(!n.profileConfig)return{};try{return JSON.parse(n.profileConfig)||{}}catch{return{}}}),i=it(()=>n.prayBaseUrl||s.value.prayBaseUrl||"https://pray.doxa.life"),r=it(()=>n.languageCode||s.value.languageCode||""),a=it(()=>n.researchUrl||s.value.researchUrl||(typeof window<"u"&&window.DOXA_SITE_URL||"https://doxa.life").replace(/\/+$/,"")+"/research/"),l=it(()=>({...s.value.t||{},...n.t||{}})),h=g=>!(g===!1||g==="false"||g==="0"||g===0),u=it(()=>h(n.showSearch)),p=it(()=>h(n.showFilters)),k=it(()=>h(n.showTotal)),w=dt([]),I=dt([]),j=dt(0),R=dt(1),F=dt(!0),D=dt(!1),P=dt(!0),E=dt({}),tt=dt(""),ot=dt({}),ht=it(()=>u.value?tt.value:n.query||""),It=it(()=>{const g={},d=x=>x;return n.wagfRegion&&(g.wagf_region={value:n.wagfRegion,label:d(n.wagfRegion)}),n.wagfBlock&&(g.wagf_block={value:n.wagfBlock,label:d(n.wagfBlock)}),n.rop1&&(g.rop1={value:n.rop1,label:d(n.rop1)}),n.religion&&(g.religion={value:n.religion,label:d(n.religion)}),n.countryCode&&(g.country_code={value:n.countryCode,label:d(n.countryCode)}),n.primaryLanguage&&(g.primary_language={value:n.primaryLanguage,label:d(n.primaryLanguage)}),n.engagementStatus&&(g.engagement_status={value:n.engagementStatus,label:d(n.engagementStatus)}),n.cluster&&(g.imb_reg_of_people_2={value:n.cluster,label:d(n.cluster)}),n.peopleGroup&&(g.imb_reg_of_people_25={value:n.peopleGroup,label:d(n.peopleGroup)}),n.gospelAccess&&(g.imb_gsec={value:n.gospelAccess,label:d(n.gospelAccess)}),n.religionFamily&&(g.__religion_family={value:n.religionFamily,label:d(n.religionFamily)}),n.languageFamily&&(g.__language_family={value:n.languageFamily,label:d(n.languageFamily)}),g}),q=it(()=>p.value?ot.value:It.value),O=it(()=>Object.values(q.value||{}).filter(g=>g&&g.value!==""&&g.value!=null).length),J=it(()=>Object.keys(q.value).length),Tt=it(()=>O.value>0||!!(ht.value||"").trim());function mt(g){return g.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function Yt(g,d=500){let x;return(..._)=>{clearTimeout(x),x=setTimeout(()=>g(..._),d)}}const At=Yt(()=>{F.value=!0,R.value=1,ue()},500);function ct(g){tt.value=(g==null?void 0:g.value)??"",At()}function G(){P.value=!P.value}function B(g){ot.value={...ot.value,[g.name]:{value:g.value,label:g.label}},R.value=1,ue()}function gt(g){zt(g.name)}function zt(g){const d={...ot.value};delete d[g],ot.value=d,R.value=1,ue()}function Rt(){ot.value={},R.value=1,ue()}function _t(){if(ot.value.exact)return zt("exact");ot.value={...ot.value,exact:{value:"yes",label:l.value.exact_filter||"Exact"}},R.value=1,ue()}const ie=g=>String(g??"").toLowerCase().replace(/[\s_&-]+/g,""),qn={__religion_family:g=>{const d=g.religion&&typeof g.religion=="object"?g.religion.value:g.religion,x=String(d||"").charAt(0).toUpperCase(),_=x&&di[x]?di[x]:"";return _?{value:_,label:_}:null},__language_family:g=>{const d=g.imb_language_family,x=d&&typeof d=="object"?d.label||d.value:d;let _="";if(x)_=hi(x);else{const S=g.primary_language&&typeof g.primary_language=="object"?g.primary_language.value:null,T=S&&cl[S];_=T?hi(T):""}return _?{value:_,label:_}:null}},In=(g,d)=>qn[d]?qn[d](g):g[d];function ce(g,d){if(!g)return!1;const x=ie(d==null?void 0:d.value);return x?ie(g.value)===x||ie(g.label)===x:!1}function Ce(g){let d=g;for(const[x,_]of Object.entries(q.value))x==="exact"?d=d:d=d.filter(S=>ce(In(S,x),_));return d}function Ge(){const g=d=>{const x=new Map;for(const _ of w.value){const S=_[d];if(!(S!=null&&S.value))continue;const T=x.get(S.value);T?T.count++:x.set(S.value,{label:S.label,count:1})}return Array.from(x.entries()).map(([_,{label:S,count:T}])=>({value:_,label:S,count:T})).sort((_,S)=>_.label.localeCompare(S.label))};E.value={wagf_region:g("wagf_region"),wagf_block:g("wagf_block"),rop1:g("rop1"),religion:g("religion")}}function Je(){const g=Object.keys(E.value),d={};for(const x of g){const _={};for(const[N,z]of Object.entries(q.value))N!==x&&(_[N]=z);const S=me(_,w.value),T=new Map;for(const N of S){const z=N[x];z!=null&&z.value&&T.set(z.value,(T.get(z.value)??0)+1)}d[x]=(E.value[x]??[]).map(N=>({...N,count:T.get(N.value)??0}))}E.value=d}function me(g,d){let x=d;for(const[_,S]of Object.entries(g))_!=="exact"&&(x=x.filter(T=>ce(In(T,_),S)));return x}function ue(){w.value=w.value.map(T=>(T.matches=[],T.country_label="",T.rop1_label="",T));const d=Object.keys(q.value).length>0?Ce(w.value):w.value,x=ht.value;if(!x){I.value=d,j.value=I.value.length,F.value=!1,Je(),b();return}const S=new Wa(d,{includeMatches:!0,ignoreLocation:!0,minMatchCharLength:3,threshold:q.value.exact?0:.4,keys:["name","imb_alternate_name","country_code.label","rop1.label","religion.label","wagf_region.label","wagf_block.label"]}).search(x);I.value=S.map(T=>{var z;const N={...T.item};if(!T.matches)return N;N.matches=[];for(const K of T.matches){const Y=K.key;if(!Y)continue;let et="";if(String(Y).includes(".")){const[St,at]=String(Y).split(".");et=(z=N[St])==null?void 0:z[at]}else et=N[String(Y)];if(et&&typeof et=="string"){let St=0,at="";if(K.indices.forEach((Et,Ne)=>{const vt=Et[0],jt=Et[1],Mn=K.indices.length-1===Ne;at+=mt(et.slice(St,vt))+`${mt(et.slice(vt,jt+1))}`+(Mn?mt(et.slice(jt+1)):""),St=jt+1}),String(Y).includes("imb_alternate_name"))N.matches.push({key:l.value.alternate_name??"Also known as",label:at});else if(String(Y).includes(".")){const[Et]=String(Y).split("."),Ne={religion:l.value.religion,country_code:l.value.country,rop1:l.value.rop1,wagf_region:l.value.wagf_region,wagf_block:l.value.wagf_block};Et==="rop1"?N.rop1_label=at:Et==="country_code"?N.country_label=at:Et==="wagf_region"||N.matches.push({key:Ne[Et]??Et,label:at})}else N[String(Y)]=at}}return N}),j.value=I.value.length,F.value=!1,Je(),b()}const c=Vs();function f(){var d,x;const g=((d=c==null?void 0:c.vnode)==null?void 0:d.el)||((x=c==null?void 0:c.proxy)==null?void 0:x.$el);try{const _=g&&g.getRootNode&&g.getRootNode();if(_&&_.host)return _.host}catch{}return g}function b(){const g={query:ht.value,activeFilters:q.value,total:j.value,slugs:I.value.map(x=>x.slug)};o("groups-filtered",g);const d=f();d&&typeof d.dispatchEvent=="function"&&d.dispatchEvent(new CustomEvent("groups-filtered",{detail:g,bubbles:!0,composed:!0}))}function y(){return n.morePerPage>0?j.value>n.perPage+(R.value-1)*n.morePerPage&&!F.value&&I.value.length>0:j.value>R.value*n.perPage&&!F.value&&I.value.length>0}function v(){R.value=R.value+1}const m=it(()=>n.morePerPage>0?I.value.slice(0,n.perPage+(R.value-1)*n.morePerPage):I.value.slice(0,R.value*n.perPage)),C=it(()=>y());async function A(){const g=`${i.value}/api/people-groups/list?fields=name,slug,wagf_region,wagf_block,country_code,rop1,religion,has_photo,image_url,adopted_by_churches,imb_alternate_name,engagement_status,people_committed,primary_language,imb_reg_of_people_2,imb_reg_of_people_25,imb_gsec,imb_language_family&lang=${r.value}`;F.value=!0,D.value=!1;try{const d=await fetch(g);if(!d.ok)throw new Error(`HTTP ${d.status}`);const x=await d.json();j.value=x.total,w.value=Array.isArray(x.posts)?x.posts:[],Ge(),ue()}catch(d){console.error("[people-groups-grid] fetch error:",d),D.value=!0,w.value=[],F.value=!1}}return mn(()=>[n.query,It.value,u.value,p.value],()=>{R.value=1,ue()}),hs(A),(g,d)=>{var x,_,S,T;return $(),U("div",fl,[u.value||p.value?($(),U("div",dl,[u.value?($(),U("div",hl,[kt(Ya,{"model-value":tt.value,placeholder:l.value.search||"Search people groups…","aria-label":l.value.search||"Search people groups","max-width":"480px",onSearch:ct},null,8,["model-value","placeholder","aria-label"])])):bt("",!0),p.value?($(),U("button",{key:1,class:"filters__toggle",type:"button","aria-expanded":P.value,onClick:G},[d[0]||(d[0]=H("svg",{class:"filters__toggle-icon",width:"13",height:"13",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[H("path",{d:"M1.5 2.5h9M3 6h6M4.5 9.5h3",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})],-1)),ne(" "+rt(P.value?l.value.hide_filters||"Hide Filters":l.value.show_filters||"Show Filters")+" ",1),O.value?($(),U("span",pl,rt(O.value),1)):bt("",!0),d[1]||(d[1]=H("svg",{width:"12",height:"12",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},[H("path",{d:"M2 4l4 4 4-4",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],8,gl)):bt("",!0),p.value&&P.value?($(),U(lt,{key:2},[H("div",bl,[kt(jn,{label:l.value.wagf_region||"Region",name:"wagf_region",options:E.value.wagf_region||[],value:((x=q.value.wagf_region)==null?void 0:x.value)??"",placeholder:l.value.type_to_search||"Type to search...",onFilterChange:B,onFilterClear:gt},null,8,["label","options","value","placeholder"]),kt(jn,{label:l.value.wagf_block||"Bloc",name:"wagf_block",options:E.value.wagf_block||[],value:((_=q.value.wagf_block)==null?void 0:_.value)??"",placeholder:l.value.type_to_search||"Type to search...",onFilterChange:B,onFilterClear:gt},null,8,["label","options","value","placeholder"]),kt(jn,{label:l.value.rop1||"People Group",name:"rop1",options:E.value.rop1||[],value:((S=q.value.rop1)==null?void 0:S.value)??"",placeholder:l.value.type_to_search||"Type to search...",onFilterChange:B,onFilterClear:gt},null,8,["label","options","value","placeholder"]),kt(jn,{label:l.value.religion||"Religion",name:"religion",options:E.value.religion||[],value:((T=q.value.religion)==null?void 0:T.value)??"",placeholder:l.value.type_to_search||"Type to search...",onFilterChange:B,onFilterClear:gt},null,8,["label","options","value","placeholder"])]),H("div",ml,[H("button",{class:"filter-toggle",type:"button","data-active":q.value.exact?"":void 0,onClick:_t},rt(l.value.exact_filter||"Exact"),9,_l)])],64)):bt("",!0),p.value&&J.value>0?($(),U("div",vl,[($(!0),U(lt,null,xn(q.value,(N,z)=>($(),U("span",{key:z,class:"filter-chip"},[ne(rt(N.label)+" ",1),H("button",{class:"filter-chip__remove",type:"button",onClick:K=>zt(String(z))},"×",8,yl)]))),128)),H("button",{class:"filters__clear-all",type:"button",onClick:Rt},rt(l.value.clear_all||"Clear All"),1)])):bt("",!0)])):bt("",!0),H("div",xl,[k.value||Tt.value?($(),U("div",kl,[H("div",wl,[F.value?($(),U("span",Al," ")):($(),U(lt,{key:0},[ne(rt(Tt.value&&!k.value?(l.value.showing||"Showing")+" "+j.value.toLocaleString("en-US"):(l.value.total||"Total")+": "+j.value.toLocaleString("en-US")),1)],64))])])):bt("",!0),H("div",Sl,[($(!0),U(lt,null,xn(m.value,N=>($(),U("div",{key:N.slug,class:"card uupg__card"},[N.image_url?($(),U("img",{key:0,class:"uupg__image",src:N.image_url,alt:N.name},null,8,Cl)):bt("",!0),H("div",Nl,[H("h3",{class:"uupg__name",innerHTML:N.name},null,8,Tl),N.country_code?($(),U("p",El,[H("a",{class:"uupg__country-link",href:`${a.value}../countries/${to(il)(N.country_code.value,N.country_code.label)}`},[H("span",{innerHTML:N.country_label?N.country_label:N.country_code.label},null,8,ql)],8,jl),N.rop1?($(),U(lt,{key:0},[d[2]||(d[2]=ne(" (",-1)),H("span",{innerHTML:N.rop1_label?N.rop1_label:N.rop1.label},null,8,Il),d[3]||(d[3]=ne(")",-1))],64)):bt("",!0)])):bt("",!0),N.matches?($(!0),U(lt,{key:1},xn(N.matches,(z,K)=>($(),U("p",{key:K,class:"uupg__match"},[H("strong",null,rt(z.key),1),d[4]||(d[4]=ne(": ",-1)),H("span",{innerHTML:z.label},null,8,Ml)]))),128)):bt("",!0)]),N.location_description?($(),U("p",Ll,rt(N.location_description),1)):bt("",!0),H("a",{class:"uupg__more-button",href:`${a.value}${N.slug}`},rt(l.value.full_profile||"Full profile"),9,zl)]))),128)),F.value?($(),U("div",Pl,rt(l.value.loading||"Loading…"),1)):D.value?($(),U("div",Ol,rt(l.value.load_failed||"People-group data could not be loaded. This is a connection problem, not your filter."),1)):m.value.length?bt("",!0):($(),U("div",Dl,rt(l.value.no_results||"No people groups match this filter."),1))]),C.value?($(),U("button",{key:1,class:"pgg-loadmore",type:"button",onClick:v},rt(l.value.load_more||"Load more"),1)):bt("",!0)])])}}},[["styles",[ul]]]));typeof customElements<"u"&&(customElements.get("people-groups-grid")||customElements.define("people-groups-grid",Rl))})(); +**/let vo;const ti=typeof window<"u"&&window.trustedTypes;if(ti)try{vo=ti.createPolicy("vue",{createHTML:t=>t})}catch{}const ei=vo?t=>vo.createHTML(t):t=>t,ba="http://www.w3.org/2000/svg",ma="http://www.w3.org/1998/Math/MathML",ie=typeof document<"u"?document:null,ni=ie&&ie.createElement("template"),_a={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,o)=>{const s=e==="svg"?ie.createElementNS(ba,t):e==="mathml"?ie.createElementNS(ma,t):n?ie.createElement(t,{is:n}):ie.createElement(t);return t==="select"&&o&&o.multiple!=null&&s.setAttribute("multiple",o.multiple),s},createText:t=>ie.createTextNode(t),createComment:t=>ie.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>ie.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,o,s,i){const r=n?n.previousSibling:e.lastChild;if(s&&(s===i||s.nextSibling))for(;e.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{ni.innerHTML=ei(o==="svg"?`${t}`:o==="mathml"?`${t}`:t);const a=ni.content;if(o==="svg"||o==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}e.insertBefore(a,n)}return[r?r.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},va=Symbol("_vtc");function ya(t,e,n){const o=t[va];o&&(e=(e?[e,...o]:[...o]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const oi=Symbol("_vod"),xa=Symbol("_vsh"),ka=Symbol(""),wa=/(?:^|;)\s*display\s*:/;function Aa(t,e,n){const o=t.style,s=nt(n);let i=!1;if(n&&!s){if(e)if(nt(e))for(const r of e.split(";")){const a=r.slice(0,r.indexOf(":")).trim();n[a]==null&&We(o,a,"")}else for(const r in e)n[r]==null&&We(o,r,"");for(const r in n){r==="display"&&(i=!0);const a=n[r];a!=null?Ca(t,r,!nt(e)&&e?e[r]:void 0,a)||We(o,r,a):We(o,r,"")}}else if(s){if(e!==n){const r=o[ka];r&&(n+=";"+r),o.cssText=n,i=wa.test(n)}}else e&&t.removeAttribute("style");oi in t&&(t[oi]=i?o.display:"",t[xa]&&(o.display="none"))}const En=/\s*!important$/;function We(t,e,n){if(L(n))n.forEach(o=>We(t,e,o));else if(n==null&&(n=""),e.startsWith("--"))En.test(n)?t.setProperty(e,n.replace(En,""),"important"):t.setProperty(e,n);else{const o=Sa(t,e);En.test(n)?t.setProperty(zt(o),n.replace(En,""),"important"):t[o]=n}}const si=["Webkit","Moz","ms"],yo={};function Sa(t,e){const n=yo[e];if(n)return n;let o=Ct(e);if(o!=="filter"&&o in t)return yo[e]=o;o=To(o);for(let s=0;sxo||(Ma.then(()=>xo=0),xo=Date.now());function za(t,e){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;const s=n.value;if(L(s)){const i=o.stopImmediatePropagation;o.stopImmediatePropagation=()=>{i.call(o),o._stopped=!0};const r=s.slice(),a=[o];for(let c=0;ct.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Pa=(t,e,n,o,s,i)=>{const r=s==="svg";e==="class"?ya(t,o,r):e==="style"?Aa(t,n,o):Xe(e)?Ze(e)||Ea(t,e,n,o,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Oa(t,e,o,r))?(ai(t,e,o),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&ri(t,e,o,r,i,e!=="value")):t._isVueCE&&(Da(t,e)||t._def.__asyncLoader&&(/[A-Z]/.test(e)||!nt(o)))?ai(t,Ct(e),o,i,e):(e==="true-value"?t._trueValue=o:e==="false-value"&&(t._falseValue=o),ri(t,e,o,r))};function Oa(t,e,n,o){if(o)return!!(e==="innerHTML"||e==="textContent"||e in t&&li(e)&&P(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="sandbox"&&t.tagName==="IFRAME"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const s=t.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return li(e)&&nt(n)?!1:e in t}function Da(t,e){const n=t._def.props;if(!n)return!1;const o=Ct(e);return Array.isArray(n)?n.some(s=>Ct(s)===o):Object.keys(n).some(s=>Ct(s)===o)}const ui={};function Ra(t,e,n){let o=br(t,e);tn(o)&&(o=st({},o,e));class s extends ko{constructor(r){super(o,r,n)}}return s.def=o,s}const Fa=typeof HTMLElement<"u"?HTMLElement:class{};class ko extends Fa{constructor(e,n={},o=hi){super(),this._def=e,this._props=n,this._createApp=o,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&o!==hi?this._root=this.shadowRoot:e.shadowRoot!==!1?(this.attachShadow(st({},e.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 e=this;for(;e=e&&(e.assignedSlot||e.parentNode||e.host);)if(e instanceof ko){this._parent=e;break}this._instance||(this._resolved?this._mount(this._def):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then(()=>{if(this._pendingResolve=void 0,this.isConnected)return this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,pn(()=>{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(e){for(const n of e)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let o=0;o{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:r}=o;let a;if(i&&!L(i))for(const c in i){const u=i[c];(u===Number||u&&u.type===Number)&&(c in this._props&&(this._props[c]=jo(this._props[c])),(a||(a=Object.create(null)))[Ct(c)]=!0)}this._numberProps=a,this._resolveProps(o),this.shadowRoot&&this._applyStyles(r),this._mount(o)},n=this._def.__asyncLoader;if(n)return this._pendingResolve=n().then(o=>{o.configureApp=this._def.configureApp,e(this._def=o,!0)}),this._pendingResolve;e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const o in n)W(this,o)||Object.defineProperty(this,o,{get:()=>no(n[o])})}_resolveProps(e){const{props:n}=e,o=L(n)?n:Object.keys(n||{});for(const s of Object.keys(this))s[0]!=="_"&&o.includes(s)&&this._setProp(s,this[s]);for(const s of o.map(Ct))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(i){this._setProp(s,i,!0,!this._patching)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const n=this.hasAttribute(e);let o=n?this.getAttribute(e):ui;const s=Ct(e);n&&this._numberProps&&this._numberProps[s]&&(o=jo(o)),this._setProp(s,o,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,n,o=!0,s=!1){if(n!==this._props[e]&&(this._dirty=!0,n===ui?delete this._props[e]:(this._props[e]=n,e==="key"&&this._app&&(this._app._ceVNode.key=n)),s&&this._instance&&this._update(),o)){const i=this._ob;i&&(this._processMutations(i.takeRecords()),i.disconnect()),n===!0?this.setAttribute(zt(e),""):typeof n=="string"||typeof n=="number"?this.setAttribute(zt(e),n+""):n||this.removeAttribute(zt(e)),i&&i.observe(this,{attributes:!0})}}_update(){const e=this._createVNode();this._app&&(e.appContext=this._app._context),Ka(e,this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const n=xt(this._def,st(e,this._props));return this._instance||(n.ce=o=>{this._instance=o,o.ce=this,o.isCE=!0;const s=(i,r)=>{this.dispatchEvent(new CustomEvent(i,tn(r[0])?st({detail:r},r[0]):{detail:r}))};o.emit=(i,...r)=>{s(i,r),zt(i)!==i&&s(zt(i),r)},this._setParent()}),n}_applyStyles(e,n,o){if(!e)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const s=this._nonce,i=this.shadowRoot,r=o?this._getStyleAnchor(o)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(i);let a=null;for(let c=e.length-1;c>=0;c--){const u=document.createElement("style");s&&u.setAttribute("nonce",s),u.textContent=e[c],i.insertBefore(u,a||r),a=u,c===0&&(o||this._styleAnchors.set(this._def,u),n&&this._styleAnchors.set(n,u))}}_getStyleAnchor(e){if(!e)return null;const n=this._styleAnchors.get(e);return n&&n.parentNode===this.shadowRoot?n:(n&&this._styleAnchors.delete(e),null)}_getRootStyleInsertionAnchor(e){for(let n=0;n{di().render(...t)},hi=(...t)=>{const e=di().createApp(...t),{mount:n}=e;return e.mount=o=>{const s=Ua(o);if(!s)return;const i=e._component;!P(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const r=n(s,!1,$a(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),r},e};function $a(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Ua(t){return nt(t)?document.querySelector(t):t}function jn(t,e){if(!e.includes("."))return t==null?void 0:t[e];const[n,...o]=e.split(".");let s=t==null?void 0:t[n];for(const i of o)s=s==null?void 0:s[i];return s}function Ba(t,e){const n=t.toLowerCase(),o=e.toLowerCase(),s=[];let i=0,r=n.indexOf(o,i);for(;r!==-1;)s.push([r,r+o.length-1]),i=r+o.length,r=n.indexOf(o,i);return s}function Va(t,e,n){const o=t.toLowerCase(),s=e.toLowerCase(),i=s.length;if(!i||!o.length)return null;const r=Math.min(2,Math.floor(n*i));if(r<=0)return null;let a=new Array(o.length+1).fill(0),c=new Array(o.length+1);for(let x=1;x<=i;x++){c[0]=x;for(let S=1;S<=o.length;S++){const M=a[S-1]+(s[x-1]===o[S-1]?0:1);c[S]=Math.min(M,a[S]+1,c[S-1]+1)}[a,c]=[c,a]}let u=1/0,d=-1;for(let x=1;x<=o.length;x++)a[x]r?null:[[Math.max(0,d-i),d-1]]}function Wa(t,e,{threshold:n=.4}={}){const o=String(t??"").trim().toLowerCase();if(!o)return[];const s=Math.min(2,Math.floor(n*o.length)),i=[];for(const a of e){if(!a)continue;const c=String(a).toLowerCase();if(Math.abs(c.length-o.length)>s)continue;const u=Ga(c,o,s);u<=s&&i.push({value:a,distance:u})}if(!i.length)return[];const r=Math.min(...i.map(a=>a.distance));return i.filter(a=>a.distance===r).map(a=>a.value)}function Ga(t,e,n){if(t===e)return 0;let o=Array.from({length:e.length+1},(i,r)=>r);const s=new Array(e.length+1);for(let i=1;i<=t.length;i++){s[0]=i;let r=i;for(let a=1;a<=e.length;a++)s[a]=Math.min(o[a-1]+(t[i-1]===e[a-1]?0:1),o[a]+1,s[a-1]+1),s[a]n)return n+1;for(let a=0;a<=e.length;a++)o[a]=s[a]}return o[e.length]}class Ja{constructor(e,n={}){this.list=Array.isArray(e)?e:[],this.keys=n.keys||[],this.threshold=typeof n.threshold=="number"?n.threshold:.4,this.minMatchCharLength=n.minMatchCharLength||1}search(e){const n=String(e||"").trim();if(!n)return this.list.map(u=>({item:u,matches:[]}));if(n.length{const n=t.__vccOpts||t;for(const[o,s]of e)n[o]=s;return n},Xa=["value","placeholder","aria-label"],Za=wo({__name:"SearchBar",props:{modelValue:{type:String,default:""},placeholder:{type:String,default:"Search…"},ariaLabel:{type:String,default:"Search"},maxWidth:{type:String,default:""}},emits:["update:modelValue","search"],setup(t,{emit:e}){const n=t,o=e,s=it(()=>n.maxWidth?{maxWidth:n.maxWidth}:{});function i(r){const a=r.target.value??"";o("update:modelValue",a),o("search",{value:a})}return(r,a)=>(K(),$("div",{class:"search-box",style:ye(s.value)},[a[0]||(a[0]=H("svg",{class:"search-icon",width:"18",height:"18",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[H("circle",{cx:"11",cy:"11",r:"7",fill:"none",stroke:"currentColor","stroke-width":"2"}),H("line",{x1:"16.5",y1:"16.5",x2:"21",y2:"21",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),H("input",{type:"search",value:t.modelValue,placeholder:t.placeholder,"aria-label":t.ariaLabel,onInput:i},null,40,Xa)],4))}},[["styles",[Ya]]]),Qa=".filter-dropdown{position:relative;flex:0 0 auto;width:var(--dx-filter-w, 128px);min-width:var(--dx-filter-w, 128px);max-width:var(--dx-filter-w, 128px)}@media (max-width: 576px){.filter-dropdown{width:var(--dx-filter-w-sm, 108px);min-width:var(--dx-filter-w-sm, 108px);max-width:var(--dx-filter-w-sm, 108px)}}.filter-dropdown__trigger{width:100%;padding:var(--dx-filter-pad-y, 4px) var(--dx-filter-pad-x, 8px);cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:.875rem;color:var(--dx-text, #3b463d);text-align:start;background:var(--dx-elevated, #fff);border:1px solid var(--dx-line, #d1d4cd);border-radius:8px;transition:border-color .15s ease}.filter-dropdown__trigger:hover{border-color:var(--dx-accent, #92b195)}.filter-dropdown__trigger[data-active]{background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18));border-color:var(--dx-accent, #92b195)}.filter-dropdown__label{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filter-dropdown__chevron{flex-shrink:0;transition:transform .2s ease}.filter-dropdown.is-open .filter-dropdown__chevron{transform:rotate(180deg)}.filter-dropdown__menu{position:fixed;z-index:2147483000;background-color:var(--dx-elevated, #fff);color:var(--dx-text, #3b463d);border:1px solid var(--dx-line, #d1d4cd);border-radius:8px;box-shadow:0 4px 12px #0000001f;overflow:hidden;display:flex;flex-direction:column;min-width:160px}.filter-dropdown__search{border:none;border-bottom:1px solid var(--dx-line, #d1d4cd);border-radius:0;padding:6px 12px;width:100%;font-size:.875rem;color:var(--dx-text, #3b463d);background:var(--dx-elevated, #fff);outline:none;box-sizing:border-box}.filter-dropdown__search::placeholder{color:var(--dx-muted, #6d766e)}.filter-dropdown__clear{display:block;width:100%;background:none;border:none;border-bottom:1px solid var(--dx-line, #d1d4cd);padding:6px 12px;font-size:.875rem;color:var(--dx-text, #3b463d);cursor:pointer;text-align:start;text-decoration:underline;text-decoration-color:var(--dx-accent, #92b195);text-underline-offset:3px}.filter-dropdown__clear:hover{background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18))}.filter-dropdown__options{flex:1 1 auto;min-height:0;max-height:250px;overflow-y:auto}.filter-dropdown__search,.filter-dropdown__clear{flex:0 0 auto}.filter-dropdown__option{padding:5px 12px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:.875rem;transition:background-color .1s ease}.filter-dropdown__option[data-selected]{font-weight:700;color:var(--dx-text, #3b463d);box-shadow:inset 3px 0 0 var(--dx-accent, #92b195)}.filter-dropdown__option:hover,.filter-dropdown__option[data-highlighted]{background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18))}.filter-dropdown__count{color:var(--dx-muted, #6d766e);font-size:.75rem;margin-inline-start:6px}.filter-dropdown__no-options{padding:12px;font-size:.875rem;color:var(--dx-muted, #6d766e);text-align:center}",tc=["data-active","aria-expanded"],ec={class:"filter-dropdown__label"},nc=["value","placeholder"],oc={class:"filter-dropdown__options"},sc={key:0,class:"filter-dropdown__no-options"},ic=["data-highlighted","data-selected","aria-selected","onClick","onMouseenter"],rc={class:"filter-dropdown__count"},qn=wo({__name:"FilterDropdown",props:{label:{type:String,required:!0},name:{type:String,required:!0},options:{type:Array,default:()=>[]},value:{type:String,default:""},placeholder:{type:String,default:"Type to search..."}},emits:["filter-change","filter-clear"],setup(t,{emit:e}){const n=t,o=e,s=dt(!1),i=dt(""),r=dt(-1),a=dt(null),c=dt(null),u=dt(null),d=dt({});function g(D){const I=D.ownerDocument,V=I.createElement("div");V.style.cssText="position:fixed;top:0;left:0;width:0;height:0;pointer-events:none;opacity:0",(D.parentElement||D.getRootNode().body||I.body).appendChild(V);const wt=V.getBoundingClientRect();return V.remove(),{x:wt.left,y:wt.top}}function x(){const D=u.value;if(!D)return;const I=D.getBoundingClientRect(),V=window.innerWidth,qt=window.innerHeight,wt=320,Ot=4,At=8,G=Math.round(Math.min(Math.max(I.width,240),V-At*2)),Y=I.right>At&&I.leftV-At?gt=Math.round(Math.max(I.right-G,At)):gt=Math.round(Math.max(I.left,At)):gt=Math.round(Math.min(Math.max(I.left,At),V-G-At));const It=qt-I.bottom,Mt=It<180&&I.top>It,_t=g(D),me=Math.round(gt-_t.x);d.value=Mt?{top:"auto",bottom:`${Math.round(qt-I.top+Ot+_t.y)}px`,left:`${me}px`,width:`${G}px`,maxHeight:`${Math.round(Math.min(wt,I.top-Ot-At))}px`}:{top:`${Math.round(I.bottom+Ot-_t.y)}px`,bottom:"auto",left:`${me}px`,width:`${G}px`,maxHeight:`${Math.round(Math.min(wt,It-Ot-At))}px`}}function S(){s.value&&x()}const M=it(()=>{if(!i.value)return n.options;const D=i.value.toLowerCase();return n.options.filter(I=>I.label.toLowerCase().includes(D))}),j=it(()=>n.options.find(D=>D.value===n.value));function U(D){var V;const I=((V=D.composedPath)==null?void 0:V.call(D))??[];a.value&&!I.includes(a.value)&&F()}function R(){s.value?F():O()}function O(){s.value=!0,i.value="",r.value=-1,x(),document.addEventListener("click",U),window.addEventListener("scroll",S,!0),window.addEventListener("resize",S),pn(()=>{var D;x(),(D=c.value)==null||D.focus()})}function F(){s.value=!1,i.value="",r.value=-1,document.removeEventListener("click",U),window.removeEventListener("scroll",S,!0),window.removeEventListener("resize",S)}function q(D){i.value=D.target.value,r.value=-1}function J(D){const I=M.value;switch(D.key){case"ArrowDown":D.preventDefault(),r.value=Math.min(r.value+1,I.length-1),ht();break;case"ArrowUp":D.preventDefault(),r.value=Math.max(r.value-1,0),ht();break;case"Enter":{D.preventDefault();const V=I[r.value];V&&ot(V);break}case"Escape":D.preventDefault(),F();break}}function ht(){pn(()=>{var I;const D=(I=a.value)==null?void 0:I.querySelector(".filter-dropdown__option[data-highlighted]");D==null||D.scrollIntoView({block:"nearest"})})}function ot(D){o("filter-change",{name:n.name,value:D.value,label:D.label,type:D.type}),F()}function Tt(){o("filter-clear",{name:n.name}),F()}return bs(()=>{document.removeEventListener("click",U),window.removeEventListener("scroll",S,!0),window.removeEventListener("resize",S)}),(D,I)=>(K(),$("div",{ref_key:"rootRef",ref:a,class:on(["filter-dropdown",{"is-open":s.value}])},[H("button",{ref_key:"triggerRef",ref:u,class:"filter-dropdown__trigger input","data-active":t.value?"":void 0,type:"button","aria-haspopup":"listbox","aria-expanded":s.value,onClick:R},[H("span",ec,[j.value?(K(),$(at,{key:0},[oe(rt(t.label)+": ",1),H("strong",null,rt(j.value.label),1)],64)):(K(),$(at,{key:1},[oe(rt(t.label),1)],64))]),I[0]||(I[0]=H("svg",{class:"filter-dropdown__chevron",width:"12",height:"12",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},[H("path",{d:"M2 4l4 4 4-4",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],8,tc),s.value?(K(),$("div",{key:0,class:"filter-dropdown__menu",role:"listbox",style:ye(d.value)},[H("input",{ref_key:"searchInputRef",ref:c,class:"filter-dropdown__search",type:"text",value:i.value,placeholder:t.placeholder,onInput:q,onKeydown:J},null,40,nc),t.value?(K(),$("button",{key:0,class:"filter-dropdown__clear",type:"button",onClick:Tt},"Clear selection")):mt("",!0),H("div",oc,[M.value.length===0?(K(),$("div",sc,"No options found")):(K(!0),$(at,{key:1},kn(M.value,(V,qt)=>(K(),$("div",{key:V.value,class:"filter-dropdown__option",role:"option","data-highlighted":qt===r.value?"":void 0,"data-selected":V.value===t.value?"":void 0,"aria-selected":V.value===t.value,onClick:wt=>ot(V),onMouseenter:wt=>r.value=qt},[H("span",null,rt(V.label),1),H("span",rc,rt(V.count),1)],40,ic))),128))])],4)):mt("",!0)],2))}},[["styles",[Qa]]]),ac=zn&&zn.tagName.toUpperCase()==="SCRIPT"&&zn.src||new URL("people-groups-grid.js",document.baseURI).href,Ge=t=>String(t||"").trim().replace(/\/+$/,"");function cc(){try{const e=String(ac||"").split(/[?#]/)[0].match(/^(.*)\/([^/]+)\/([^/]+)\.js$/);return!e||e[2]!==e[3]?null:e[1]||null}catch{return null}}function lc(t){const e=t==null?void 0:t.assetsBase;if(typeof e=="string"&&e.trim()){const o=Ge(e);if(/^https?:\/\//i.test(o)||o.startsWith("/"))return o}const n=Ge((t==null?void 0:t.treeBase)||"")||Ge(cc()||"");if(n)try{const o=typeof document<"u"?document.baseURI:void 0;return Ge(new URL(n+"/../assets",o).href)}catch{return Ge(n.replace(/\/[^/]*$/,"")+"/assets")}return"./assets"}function uc(t,e){return String(e||t||"").trim().toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}const gi={C:"Christianity",M:"Islam",H:"Hinduism",B:"Buddhism",E:"Ethnoreligion",J:"Judaism",S:"Sikhism",N:"Unaffiliated",O:"Other",U:"Unknown"},fc={"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","Atlantic-Congo":"#7D3C98",Mande:"#B9770E","Sign Language":"#212121",Creole:"#9575cd","Mixed language":"#a1887f","Language isolate":"#90a4ae",Unknown:"#000000"},dc=(()=>{const t=n=>String(n||"").toLowerCase().trim(),e={};for(const n of Object.keys(fc))e[t(n)]=n;return e})(),hc={"tai-kadai":"Kra-Dai",none:"Unknown"};function pi(t){if(!t)return"Unknown";const e=String(t).trim(),n=e.toLowerCase();return hc[n]||dc[n]||e}const gc={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"},pc=":host{display:block;width:100%;--dx-surface: #f3f3f1;--dx-elevated: #ffffff;--dx-text: #3b463d;--dx-muted: #6d766e;--dx-line: #d1d4cd;--dx-accent: #92b195;--dx-accent-weak: rgba(146, 177, 149, .18);--dx-accent-soft: rgba(146, 177, 149, .1);--dx-accent-strong: #657967}.pgg-root{--brand: var(--dx-accent, #92b195);--ink: var(--dx-text, #3b463d);--mut: var(--dx-muted, #6d766e);--line: var(--dx-line, #d1d4cd);--card: var(--dx-elevated, #fff);--bg: var(--dx-surface, #f3f3f1);width:100%;box-sizing:border-box;color:var(--ink);background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;padding:16px}.filters{display:flex;flex-direction:column;gap:12px;margin-bottom:16px;padding-block:18px 8px;min-height:190px}.pgg-search{display:flex;justify-content:center}.filters__toggle{background:var(--dx-elevated, #fff);border:1px solid var(--dx-line, #d1d4cd);border-radius:8px;cursor:pointer;font-size:.875rem;font-weight:500;color:var(--dx-text, #3b463d);padding:7px 12px;display:inline-flex;align-items:center;gap:7px;margin-inline:auto;transition:background-color .15s ease,border-color .15s ease}.filters__toggle:hover{background:var(--dx-accent-weak, rgba(146,177,149,.18));border-color:var(--dx-accent, #92b195)}.filters__toggle:focus-visible{outline:2px solid var(--dx-accent, #92b195);outline-offset:2px}.filters__toggle-icon{color:var(--dx-accent, #92b195);flex:none}.filters__toggle-count{background:var(--dx-accent, #92b195);color:#fff;border-radius:999px;min-width:18px;padding:0 5px;font-size:.75rem;line-height:18px;text-align:center}.filters__toggle[aria-expanded=true] svg{transform:rotate(180deg)}.filters__panel{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;align-items:flex-start}.filter-toggle{padding:6px 12px;cursor:pointer;font-size:.875rem;color:inherit;background:var(--card);border:1px solid var(--line);border-radius:8px;transition:border-color .15s ease,background .15s ease}.filter-toggle:hover{border-color:var(--brand)}.filter-toggle[data-active]{background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18));border-color:var(--brand);color:var(--ink)}.filters__active{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center}.filter-chip{display:inline-flex;gap:6px;align-items:center;background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18));color:var(--ink);border:1px solid var(--line);border-radius:100px;padding:4px 12px;font-size:.85rem}.filter-chip__remove{background:none;border:none;cursor:pointer;font-size:1.1em;line-height:1;color:inherit;padding:0;display:inline-flex;align-items:center}.filter-chip__remove:hover{opacity:.7}.filters__clear-all{background:none;border:none;cursor:pointer;font-size:.875rem;color:var(--ink);text-decoration:underline;text-decoration-color:var(--brand);text-underline-offset:4px}.repel{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.font-size-sm{font-size:.875rem;color:var(--mut)}.grid.uupgs-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}.card.uupg__card{display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 1px 2px #0000000a}.uupg__image{width:100%;aspect-ratio:1 / 1;object-fit:cover;background:var(--line)}.uupg__header{padding:12px 14px 6px}.uupg__name{font-size:1rem;font-weight:700;line-height:1.2;margin:0 0 4px}.uupg__country{font-size:.85rem;color:var(--mut);margin:0}.uupg__country-link{color:var(--ink);font-weight:600;text-decoration:underline;text-decoration-color:var(--brand);text-decoration-thickness:1px;text-underline-offset:2px}.uupg__country-link:hover{text-decoration-thickness:2px}.uupg__match{font-size:.8rem;color:var(--mut);margin:4px 0 0}.uupg__content{padding:0 14px;font-size:.85rem;color:var(--mut)}.uupg__more-button{margin:12px 14px 14px;padding:8px 12px;text-align:center;font-size:.85rem;font-weight:700;color:var(--dx-elevated, #fff);background:var(--dx-accent-strong, #657967);border-radius:8px;text-decoration:none}.uupg__more-button:hover{background:var(--dx-text, #3b463d)}.search-highlight{background:#fde68a;border-radius:2px;padding:0 1px}.loading,.pgg-empty{grid-column:1 / -1;padding:28px;text-align:center;color:var(--mut);font-size:.9rem}.pgg-failed{font-weight:600;border-top:1px solid var(--bd, #d1d4cd)}.pgg-loadmore{display:block;margin:20px auto 0;padding:8px 18px;font-size:.9rem;cursor:pointer;color:var(--ink);background:var(--card);border:1px solid var(--brand);border-radius:8px}.pgg-loadmore:hover{background:var(--dx-accent-soft, rgba(146, 177, 149, .1))}",bc={class:"pgg-root"},mc={key:0,class:"pgg-search"},_c=["aria-expanded"],vc={key:0,class:"filters__toggle-count"},yc={class:"filters__panel"},xc={class:"filters__panel"},kc=["data-active"],wc={key:3,class:"filters__active"},Ac=["onClick"],Sc={class:"pgg-body"},Cc={key:0,class:"repel"},Nc={class:"font-size-sm"},Tc={key:1},Ec={id:"results",class:"grid uupgs-list"},jc=["src","alt"],qc={class:"uupg__header"},Ic=["innerHTML"],Mc={key:0,class:"uupg__country"},Lc=["href"],zc=["innerHTML"],Pc=["innerHTML"],Oc=["innerHTML"],Dc={key:1,class:"uupg__content"},Rc=["href"],Fc={key:0,class:"loading"},Hc={key:1,class:"pgg-empty pgg-failed",role:"status"},Kc={key:2,class:"pgg-empty"},$c=Ra(wo({__name:"people-groups-grid",props:{profileConfig:{type:String,default:""},prayBaseUrl:{type:String,default:""},languageCode:{type:String,default:""},researchUrl:{type:String,default:""},selectUrl:{type:String,default:""},t:{type:Object,default:()=>({})},showSearch:{type:[Boolean,String],default:!0},showFilters:{type:[Boolean,String],default:!0},showTotal:{type:[Boolean,String],default:!0},query:{type:String,default:""},wagfRegion:{type:String,default:""},wagfBlock:{type:String,default:""},rop1:{type:String,default:""},religion:{type:String,default:""},countryCode:{type:String,default:""},primaryLanguage:{type:String,default:""},cluster:{type:String,default:""},peopleGroup:{type:String,default:""},engagementStatus:{type:String,default:""},gospelAccess:{type:String,default:""},religionFamily:{type:String,default:""},languageFamily:{type:String,default:""},perPage:{type:Number,default:24},morePerPage:{type:Number,default:0}},emits:["groups-filtered"],setup(t,{emit:e}){const n=t,o=e,s=it(()=>{if(!n.profileConfig)return{};try{return JSON.parse(n.profileConfig)||{}}catch{return{}}}),i=it(()=>!g.value&&!x.value?null:{backgroundImage:`url(${lc(s.value)}/brand/worldmap.svg)`,backgroundSize:"60%",backgroundPosition:"top center",backgroundRepeat:"no-repeat"}),r=it(()=>n.prayBaseUrl||s.value.prayBaseUrl||"https://pray.doxa.life"),a=it(()=>n.languageCode||s.value.languageCode||""),c=it(()=>n.researchUrl||s.value.researchUrl||(typeof window<"u"&&window.DOXA_SITE_URL||"https://doxa.life").replace(/\/+$/,"")+"/research/"),u=it(()=>({...s.value.t||{},...n.t||{}})),d=h=>!(h===!1||h==="false"||h==="0"||h===0),g=it(()=>d(n.showSearch)),x=it(()=>d(n.showFilters)),S=it(()=>d(n.showTotal)),M=dt([]),j=dt([]),U=dt(0),R=dt(1),O=dt(!0),F=dt(!1),q=dt(!0),J=dt({}),ht=dt(""),ot=dt({}),Tt=it(()=>g.value?ht.value:n.query||""),D=it(()=>{const h={},b=m=>m;return n.wagfRegion&&(h.wagf_region={value:n.wagfRegion,label:b(n.wagfRegion)}),n.wagfBlock&&(h.wagf_block={value:n.wagfBlock,label:b(n.wagfBlock)}),n.rop1&&(h.rop1={value:n.rop1,label:b(n.rop1)}),n.religion&&(h.religion={value:n.religion,label:b(n.religion)}),n.countryCode&&(h.country_code={value:n.countryCode,label:b(n.countryCode)}),n.primaryLanguage&&(h.primary_language={value:n.primaryLanguage,label:b(n.primaryLanguage)}),n.engagementStatus&&(h.engagement_status={value:n.engagementStatus,label:b(n.engagementStatus)}),n.cluster&&(h.imb_reg_of_people_2={value:n.cluster,label:b(n.cluster)}),n.peopleGroup&&(h.imb_reg_of_people_25={value:n.peopleGroup,label:b(n.peopleGroup)}),n.gospelAccess&&(h.imb_gsec={value:n.gospelAccess,label:b(n.gospelAccess)}),n.religionFamily&&(h.__religion_family={value:n.religionFamily,label:b(n.religionFamily)}),n.languageFamily&&(h.__language_family={value:n.languageFamily,label:b(n.languageFamily)}),h}),I=it(()=>x.value?ot.value:D.value),V=it(()=>Object.values(I.value||{}).filter(h=>h&&h.value!==""&&h.value!=null).length),qt=it(()=>Object.keys(I.value).length),wt=it(()=>V.value>0||!!(Tt.value||"").trim());function Ot(h){return h.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function At(h,b=500){let m;return(...k)=>{clearTimeout(m),m=setTimeout(()=>h(...k),b)}}const ct=At(()=>{O.value=!0,R.value=1,l()},500);function G(h){ht.value=(h==null?void 0:h.value)??"",ct()}function Y(){q.value=!q.value}function gt(h){ot.value={...ot.value,[h.name]:{value:h.value,label:h.label}},R.value=1,l()}function It(h){Mt(h.name)}function Mt(h){const b={...ot.value};delete b[h],ot.value=b,R.value=1,l()}function _t(){ot.value={},R.value=1,l()}function me(){if(ot.value.exact)return Mt("exact");ot.value={...ot.value,exact:{value:"yes",label:u.value.exact_filter||"Exact"}},R.value=1,l()}const Je=h=>String(h??"").toLowerCase().replace(/[\s_&-]+/g,""),In={__religion_family:h=>{const b=h.religion&&typeof h.religion=="object"?h.religion.value:h.religion,m=String(b||"").charAt(0).toUpperCase(),k=m&&gi[m]?gi[m]:"";return k?{value:k,label:k}:null},__language_family:h=>{const b=h.imb_language_family,m=b&&typeof b=="object"?b.label||b.value:b;let k="";if(m)k=pi(m);else{const N=h.primary_language&&typeof h.primary_language=="object"?h.primary_language.value:null,E=N&&gc[N];k=E?pi(E):""}return k?{value:k,label:k}:null}},le=(h,b)=>In[b]?In[b](h):h[b];function _e(h,b){if(!h)return!1;const m=Je(b==null?void 0:b.value);return m?Je(h.value)===m||Je(h.label)===m:!1}function Ye(h){let b=h;for(const[m,k]of Object.entries(I.value))m==="exact"?b=b:b=b.filter(N=>_e(le(N,m),k));return b}function Mn(){const h=b=>{const m=new Map;for(const k of M.value){const N=k[b];if(!(N!=null&&N.value))continue;const E=m.get(N.value);E?E.count++:m.set(N.value,{label:N.label,count:1})}return Array.from(m.entries()).map(([k,{label:N,count:E}])=>({value:k,label:N,count:E})).sort((k,N)=>k.label.localeCompare(N.label))};J.value={wagf_region:h("wagf_region"),wagf_block:h("wagf_block"),rop1:h("rop1"),religion:h("religion")}}function ue(){const h=Object.keys(J.value),b={};for(const m of h){const k={};for(const[T,z]of Object.entries(I.value))T!==m&&(k[T]=z);const N=bi(k,M.value),E=new Map;for(const T of N){const z=T[m];z!=null&&z.value&&E.set(z.value,(E.get(z.value)??0)+1)}b[m]=(J.value[m]??[]).map(T=>({...T,count:E.get(T.value)??0}))}J.value=b}function bi(h,b){let m=b;for(const[k,N]of Object.entries(h))k!=="exact"&&(m=m.filter(E=>_e(le(E,k),N)));return m}function l(){M.value=M.value.map(E=>(E.matches=[],E.country_label="",E.rop1_label="",E));const b=Object.keys(I.value).length>0?Ye(M.value):M.value,m=Tt.value;if(!m){j.value=b,U.value=j.value.length,O.value=!1,ue(),y();return}const N=new Ja(b,{includeMatches:!0,ignoreLocation:!0,minMatchCharLength:3,threshold:I.value.exact?0:.4,keys:["name","imb_alternate_name","country_code.label","rop1.label","religion.label","wagf_region.label","wagf_block.label"]}).search(m);j.value=N.map(E=>{var z;const T={...E.item};if(!E.matches)return T;T.matches=[];for(const Z of E.matches){const et=Z.key;if(!et)continue;let lt="";if(String(et).includes(".")){const[St,Et]=String(et).split(".");lt=(z=T[St])==null?void 0:z[Et]}else lt=T[String(et)];if(lt&&typeof lt=="string"){let St=0,Et="";if(Z.indices.forEach((Ht,pt)=>{const Lt=Ht[0],Te=Ht[1],Ln=Z.indices.length-1===pt;Et+=Ot(lt.slice(St,Lt))+`${Ot(lt.slice(Lt,Te+1))}`+(Ln?Ot(lt.slice(Te+1)):""),St=Te+1}),String(et).includes("imb_alternate_name"))T.matches.push({key:u.value.alternate_name??"Also known as",label:Et});else if(String(et).includes(".")){const[Ht]=String(et).split("."),pt={religion:u.value.religion,country_code:u.value.country,rop1:u.value.rop1,wagf_region:u.value.wagf_region,wagf_block:u.value.wagf_block};Ht==="rop1"?T.rop1_label=Et:Ht==="country_code"?T.country_label=Et:Ht==="wagf_region"||T.matches.push({key:pt[Ht]??Ht,label:Et})}else T[String(et)]=Et}}return T}),U.value=j.value.length,O.value=!1,ue(),y()}const f=Gs();function p(){var b,m;const h=((b=f==null?void 0:f.vnode)==null?void 0:b.el)||((m=f==null?void 0:f.proxy)==null?void 0:m.$el);try{const k=h&&h.getRootNode&&h.getRootNode();if(k&&k.host)return k.host}catch{}return h}function y(){const h={query:Tt.value,activeFilters:I.value,total:U.value,slugs:j.value.map(m=>m.slug)};o("groups-filtered",h);const b=p();b&&typeof b.dispatchEvent=="function"&&b.dispatchEvent(new CustomEvent("groups-filtered",{detail:h,bubbles:!0,composed:!0}))}function v(){return n.morePerPage>0?U.value>n.perPage+(R.value-1)*n.morePerPage&&!O.value&&j.value.length>0:U.value>R.value*n.perPage&&!O.value&&j.value.length>0}function _(){R.value=R.value+1}const C=it(()=>n.morePerPage>0?j.value.slice(0,n.perPage+(R.value-1)*n.morePerPage):j.value.slice(0,R.value*n.perPage)),A=it(()=>v());async function w(){const h=`${r.value}/api/people-groups/list?fields=name,slug,wagf_region,wagf_block,country_code,rop1,religion,has_photo,image_url,adopted_by_churches,imb_alternate_name,engagement_status,people_committed,primary_language,imb_reg_of_people_2,imb_reg_of_people_25,imb_gsec,imb_language_family&lang=${a.value}`;O.value=!0,F.value=!1;try{const b=await fetch(h);if(!b.ok)throw new Error(`HTTP ${b.status}`);const m=await b.json();U.value=m.total,M.value=Array.isArray(m.posts)?m.posts:[],Mn(),l()}catch(b){console.error("[people-groups-grid] fetch error:",b),F.value=!0,M.value=[],O.value=!1}}return _n(()=>[n.query,D.value,g.value,x.value],()=>{R.value=1,l()}),ps(w),(h,b)=>{var m,k,N,E;return K(),$("div",bc,[g.value||x.value?(K(),$("div",{key:0,id:"filters",class:"filters",style:ye(i.value)},[g.value?(K(),$("div",mc,[xt(Za,{"model-value":ht.value,placeholder:u.value.search||"Search people groups…","aria-label":u.value.search||"Search people groups","max-width":"480px",onSearch:G},null,8,["model-value","placeholder","aria-label"])])):mt("",!0),x.value?(K(),$("button",{key:1,class:"filters__toggle",type:"button","aria-expanded":q.value,onClick:Y},[b[0]||(b[0]=H("svg",{class:"filters__toggle-icon",width:"13",height:"13",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[H("path",{d:"M1.5 2.5h9M3 6h6M4.5 9.5h3",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})],-1)),oe(" "+rt(q.value?u.value.hide_filters||"Hide Filters":u.value.show_filters||"Show Filters")+" ",1),V.value?(K(),$("span",vc,rt(V.value),1)):mt("",!0),b[1]||(b[1]=H("svg",{width:"12",height:"12",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},[H("path",{d:"M2 4l4 4 4-4",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],8,_c)):mt("",!0),x.value&&q.value?(K(),$(at,{key:2},[H("div",yc,[xt(qn,{label:u.value.wagf_region||"Region",name:"wagf_region",options:J.value.wagf_region||[],value:((m=I.value.wagf_region)==null?void 0:m.value)??"",placeholder:u.value.type_to_search||"Type to search...",onFilterChange:gt,onFilterClear:It},null,8,["label","options","value","placeholder"]),xt(qn,{label:u.value.wagf_block||"Bloc",name:"wagf_block",options:J.value.wagf_block||[],value:((k=I.value.wagf_block)==null?void 0:k.value)??"",placeholder:u.value.type_to_search||"Type to search...",onFilterChange:gt,onFilterClear:It},null,8,["label","options","value","placeholder"]),xt(qn,{label:u.value.rop1||"People Group",name:"rop1",options:J.value.rop1||[],value:((N=I.value.rop1)==null?void 0:N.value)??"",placeholder:u.value.type_to_search||"Type to search...",onFilterChange:gt,onFilterClear:It},null,8,["label","options","value","placeholder"]),xt(qn,{label:u.value.religion||"Religion",name:"religion",options:J.value.religion||[],value:((E=I.value.religion)==null?void 0:E.value)??"",placeholder:u.value.type_to_search||"Type to search...",onFilterChange:gt,onFilterClear:It},null,8,["label","options","value","placeholder"])]),H("div",xc,[H("button",{class:"filter-toggle",type:"button","data-active":I.value.exact?"":void 0,onClick:me},rt(u.value.exact_filter||"Exact"),9,kc)])],64)):mt("",!0),x.value&&qt.value>0?(K(),$("div",wc,[(K(!0),$(at,null,kn(I.value,(T,z)=>(K(),$("span",{key:z,class:"filter-chip"},[oe(rt(T.label)+" ",1),H("button",{class:"filter-chip__remove",type:"button",onClick:Z=>Mt(String(z))},"×",8,Ac)]))),128)),H("button",{class:"filters__clear-all",type:"button",onClick:_t},rt(u.value.clear_all||"Clear All"),1)])):mt("",!0)],4)):mt("",!0),H("div",Sc,[S.value||wt.value?(K(),$("div",Cc,[H("div",Nc,[O.value?(K(),$("span",Tc," ")):(K(),$(at,{key:0},[oe(rt(wt.value&&!S.value?(u.value.showing||"Showing")+" "+U.value.toLocaleString("en-US"):(u.value.total||"Total")+": "+U.value.toLocaleString("en-US")),1)],64))])])):mt("",!0),H("div",Ec,[(K(!0),$(at,null,kn(C.value,T=>(K(),$("div",{key:T.slug,class:"card uupg__card"},[T.image_url?(K(),$("img",{key:0,class:"uupg__image",src:T.image_url,alt:T.name},null,8,jc)):mt("",!0),H("div",qc,[H("h3",{class:"uupg__name",innerHTML:T.name},null,8,Ic),T.country_code?(K(),$("p",Mc,[H("a",{class:"uupg__country-link",href:`${c.value}../countries/${no(uc)(T.country_code.value,T.country_code.label)}`},[H("span",{innerHTML:T.country_label?T.country_label:T.country_code.label},null,8,zc)],8,Lc),T.rop1?(K(),$(at,{key:0},[b[2]||(b[2]=oe(" (",-1)),H("span",{innerHTML:T.rop1_label?T.rop1_label:T.rop1.label},null,8,Pc),b[3]||(b[3]=oe(")",-1))],64)):mt("",!0)])):mt("",!0),T.matches?(K(!0),$(at,{key:1},kn(T.matches,(z,Z)=>(K(),$("p",{key:Z,class:"uupg__match"},[H("strong",null,rt(z.key),1),b[4]||(b[4]=oe(": ",-1)),H("span",{innerHTML:z.label},null,8,Oc)]))),128)):mt("",!0)]),T.location_description?(K(),$("p",Dc,rt(T.location_description),1)):mt("",!0),H("a",{class:"uupg__more-button",href:`${c.value}${T.slug}`},rt(u.value.full_profile||"Full profile"),9,Rc)]))),128)),O.value?(K(),$("div",Fc,rt(u.value.loading||"Loading…"),1)):F.value?(K(),$("div",Hc,rt(u.value.load_failed||"People-group data could not be loaded. This is a connection problem, not your filter."),1)):C.value.length?mt("",!0):(K(),$("div",Kc,rt(u.value.no_results||"No people groups match this filter."),1))]),A.value?(K(),$("button",{key:1,class:"pgg-loadmore",type:"button",onClick:_},rt(u.value.load_more||"Load more"),1)):mt("",!0)])])}}},[["styles",[pc]]]));typeof customElements<"u"&&(customElements.get("people-groups-grid")||customElements.define("people-groups-grid",$c))})(); diff --git a/public/doxa-maps/people-groups-grid/people-groups-grid/driven/index.html b/public/doxa-maps/people-groups-grid/people-groups-grid/driven/index.html index d46ea81b8..b24c47da4 100644 --- a/public/doxa-maps/people-groups-grid/people-groups-grid/driven/index.html +++ b/public/doxa-maps/people-groups-grid/people-groups-grid/driven/index.html @@ -26,7 +26,7 @@ - + - + - + - + - + + window.FORGE.manifest = {"schema":"doxa-maps-manifest@1","generatedFrom":"plugin-designs/*/*.vue","embedBase":".","bundleCount":21,"profileCount":32,"bundles":[{"bundle":"all-people-groups","scriptUrl":"./all-people-groups/all-people-groups.js","output":"doxa-maps/all-people-groups/all-people-groups.js","integrity":"sha384-cqk7oshuPW5FdnbZ/DyfBBXN2FObAI+V1jrbxmZR2xzNiBtWG65PETQ5/w5PCDB2","elements":["all-people-groups"],"profiles":[{"profile":"all-people-groups","file":"all-people-groups.vue","description":"All 12,379 people groups (peoplegroups.org) in four colors — reached,","element":"all-people-groups","type":"single","isMap":true,"iframeUrl":"./all-people-groups/all-people-groups/index.html","scriptUrl":"./all-people-groups/all-people-groups.js","embed":{"iframe":"\u003ciframe src=\"./all-people-groups/all-people-groups/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./all-people-groups/all-people-groups.js\" integrity=\"sha384-cqk7oshuPW5FdnbZ/DyfBBXN2FObAI+V1jrbxmZR2xzNiBtWG65PETQ5/w5PCDB2\" crossorigin=\"anonymous\">\u003c/script>\n\u003call-people-groups profile-config='{\"profile\":\"all-people-groups\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/all-people-groups>"},"bundle":"all-people-groups"}]},{"bundle":"big-picture","scriptUrl":"./big-picture/big-picture.js","output":"doxa-maps/big-picture/big-picture.js","integrity":"sha384-v0b+aZ7TBxmgUIBBLdKEm6HzwjY3jAGyOFNsKeKCKY4EIRpiWRTcNLavAitHRt8h","elements":["bp-big-picture","bp-research-header","people-groups-grid"],"composes":["bp-research-header","people-groups-grid"],"profiles":[{"profile":"big-picture","file":"big-picture.vue","description":"The Cat-4 composite that PAIRS the two real capability elements of the","element":"bp-big-picture","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./big-picture/big-picture/index.html","scriptUrl":"./big-picture/big-picture.js","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./big-picture/big-picture.js\" integrity=\"sha384-v0b+aZ7TBxmgUIBBLdKEm6HzwjY3jAGyOFNsKeKCKY4EIRpiWRTcNLavAitHRt8h\" crossorigin=\"anonymous\">\u003c/script>\n\u003cbp-big-picture profile-config='{\"profile\":\"big-picture\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/bp-big-picture>"},"instances":[{"id":"big-picture","title":"Big Picture — research header ↔ people-groups grid (composite)","apiBaseUrl":"","props":{"profile":"big-picture","provider":"maplibre","instanceId":"bp-big-picture"},"element":"bp-big-picture","iframeUrl":"./big-picture/big-picture/big-picture/index.html","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/big-picture/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"frontier","title":"Big Picture — frontier accent","apiBaseUrl":"","props":{"profile":"big-picture","provider":"maplibre","instanceId":"bp-big-picture-frontier","accent":"#22d3ee","title":"Big Picture — Frontier Focus"},"element":"bp-big-picture","iframeUrl":"./big-picture/big-picture/frontier/index.html","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/frontier/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"big-picture"}]},{"bundle":"cities-internet","scriptUrl":"./cities-internet/cities-internet.js","output":"doxa-maps/cities-internet/cities-internet.js","integrity":"sha384-tNig8gXdCocWVKD5iXR6iRqiAr7msWFtcFKzYif0L0G5i/RM+HI+SO8oR5c6O+5R","elements":["cities-internet-map"],"profiles":[{"profile":"connectivity-list","file":"connectivity-list.vue","description":"Countries where DX people groups live, grouped by region, showing measured internet penetration","element":"cities-internet-map","type":"single","isMap":false,"iframeUrl":"./cities-internet/connectivity-list/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/connectivity-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-tNig8gXdCocWVKD5iXR6iRqiAr7msWFtcFKzYif0L0G5i/RM+HI+SO8oR5c6O+5R\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"connectivity-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}},{"profile":"connectivity-map","file":"connectivity-map.vue","description":"Every country shaded by measured internet penetration, with its named carriers and dominant","element":"cities-internet-map","type":"single","isMap":true,"iframeUrl":"./cities-internet/connectivity-map/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/connectivity-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-tNig8gXdCocWVKD5iXR6iRqiAr7msWFtcFKzYif0L0G5i/RM+HI+SO8oR5c6O+5R\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"connectivity-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}},{"profile":"data-tables","file":"data-tables.vue","description":"Four validated research tables, one tab each, with sortable and filterable columns, CSV and JSON","element":"cities-internet-map","type":"single","isMap":false,"iframeUrl":"./cities-internet/data-tables/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/data-tables/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-tNig8gXdCocWVKD5iXR6iRqiAr7msWFtcFKzYif0L0G5i/RM+HI+SO8oR5c6O+5R\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"data-tables\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}}]},{"bundle":"country-posters","scriptUrl":"./country-posters/country-posters.js","output":"doxa-maps/country-posters/country-posters.js","integrity":"sha384-kbTr53oyqrMpgr620HR4W8vLXxT4Ulo5EeCoHebbMjGns5rwNvJP2BLuPyo5XVJj","elements":["country-posters-map"],"profiles":[{"profile":"countries-map","file":"countries-map.vue","description":"The researcher's workbench retargeted from people groups to COUNTRIES — region","element":"country-posters-map","type":"single","isMap":true,"iframeUrl":"./country-posters/countries-map/index.html","scriptUrl":"./country-posters/country-posters.js","embed":{"iframe":"\u003ciframe src=\"./country-posters/countries-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./country-posters/country-posters.js\" integrity=\"sha384-kbTr53oyqrMpgr620HR4W8vLXxT4Ulo5EeCoHebbMjGns5rwNvJP2BLuPyo5XVJj\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccountry-posters-map profile-config='{\"profile\":\"countries-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/country-posters-map>"}},{"profile":"country-poster-wall","file":"country-poster-wall.vue","description":"One printable card per country, grouped into COLLAPSIBLE regional sections so the","element":"country-posters-map","type":"single","isMap":false,"iframeUrl":"./country-posters/country-poster-wall/index.html","scriptUrl":"./country-posters/country-posters.js","embed":{"iframe":"\u003ciframe src=\"./country-posters/country-poster-wall/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./country-posters/country-posters.js\" integrity=\"sha384-kbTr53oyqrMpgr620HR4W8vLXxT4Ulo5EeCoHebbMjGns5rwNvJP2BLuPyo5XVJj\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccountry-posters-map profile-config='{\"profile\":\"country-poster-wall\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/country-posters-map>"}}]},{"bundle":"dashboard-plus-grid","scriptUrl":"./dashboard-plus-grid/dashboard-plus-grid.js","output":"doxa-maps/dashboard-plus-grid/dashboard-plus-grid.js","integrity":"sha384-YbJgljynZ4t3/Ro44oHQy9ihl9/5o7j4IKts8MNRfA73Cb5cyD7U52DklXjzpLpG","elements":["dashboard-plus-grid"],"composes":["research-dashboard","people-groups-grid"],"profiles":[{"profile":"dashboard-plus-grid","file":"dashboard-plus-grid.vue","description":"Both children are IMPORTED DIRECTLY (compiled into this ONE bundle — no runtime bundle","element":"dashboard-plus-grid","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./dashboard-plus-grid/dashboard-plus-grid/index.html","scriptUrl":"./dashboard-plus-grid/dashboard-plus-grid.js","embed":{"iframe":"\u003ciframe src=\"./dashboard-plus-grid/dashboard-plus-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./dashboard-plus-grid/dashboard-plus-grid.js\" integrity=\"sha384-YbJgljynZ4t3/Ro44oHQy9ihl9/5o7j4IKts8MNRfA73Cb5cyD7U52DklXjzpLpG\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdashboard-plus-grid profile-config='{\"profile\":\"dashboard-plus-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/dashboard-plus-grid>"},"instances":[{"id":"default","title":"default","apiBaseUrl":"","props":{"profile":"dashboard-plus-grid"},"element":"dashboard-plus-grid","iframeUrl":"./dashboard-plus-grid/dashboard-plus-grid/default/index.html","embed":{"iframe":"\u003ciframe src=\"./dashboard-plus-grid/dashboard-plus-grid/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"demo-map","scriptUrl":"./demo-map/demo-map.js","output":"doxa-maps/demo-map/demo-map.js","integrity":"sha384-QiUJUgeFn27tiHKVhAYtJuIWo+1z5xsCUP1Nj4m1H4cFUV3vUA7ADTP58Ky3oVtQ","elements":["demo-map"],"profiles":[{"profile":"demo-map","file":"demo-map.vue","description":"Simple two-tab demo map. Tab 1 colors pins by religion (shared","element":"demo-map","type":"parameterized","isMap":true,"iframeUrl":"./demo-map/demo-map/index.html","scriptUrl":"./demo-map/demo-map.js","embed":{"iframe":"\u003ciframe src=\"./demo-map/demo-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./demo-map/demo-map.js\" integrity=\"sha384-QiUJUgeFn27tiHKVhAYtJuIWo+1z5xsCUP1Nj4m1H4cFUV3vUA7ADTP58Ky3oVtQ\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdemo-map profile-config='{\"profile\":\"demo-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/demo-map>"},"instances":[{"id":"maplibre","title":"Demo map — MapLibre (token-free)","apiBaseUrl":"","props":{"profile":"demo-map","provider":"maplibre","instanceId":"demo-maplibre"},"element":"demo-map","iframeUrl":"./demo-map/demo-map/maplibre/index.html","embed":{"iframe":"\u003ciframe src=\"./demo-map/demo-map/maplibre/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"demo-map"}]},{"bundle":"doxa-maps-spa","scriptUrl":"./doxa-maps-spa/doxa-maps-spa.js","output":"doxa-maps/doxa-maps-spa/doxa-maps-spa.js","integrity":"sha384-Ce+DKsLgwfej+rgoWeaWFuMMbR3Y4H+8io/lVL+lQfX0O3iGKwDLf4remDkHGCrP","elements":["doxa-maps-spa"],"composes":["bp-big-picture","doxa-research-map","doxa-simple-map","cities-internet-map","gospel-resources-map","my-upg-100-list-map"],"profiles":[{"profile":"doxa-maps-spa","file":"doxa-maps-spa.vue","description":"The DX-maps app itself: one element whose vertical-tab rail nests every other","element":"doxa-maps-spa","type":"nested-mfe-spa","isMap":false,"iframeUrl":"./doxa-maps-spa/doxa-maps-spa/index.html","scriptUrl":"./doxa-maps-spa/doxa-maps-spa.js","embed":{"iframe":"\u003ciframe src=\"./doxa-maps-spa/doxa-maps-spa/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-maps-spa/doxa-maps-spa.js\" integrity=\"sha384-Ce+DKsLgwfej+rgoWeaWFuMMbR3Y4H+8io/lVL+lQfX0O3iGKwDLf4remDkHGCrP\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-maps-spa profile-config='{\"profile\":\"doxa-maps-spa\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-maps-spa>"},"instances":[{"id":"app","title":"DX-Maps SPA — Big Picture + every research map (app-shell)","apiBaseUrl":"","props":{"profile":"doxa-maps-spa","provider":"maplibre","instanceId":"doxa-maps-spa-app","title":"DX-Maps"},"element":"doxa-maps-spa","iframeUrl":"./doxa-maps-spa/doxa-maps-spa/app/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-maps-spa/doxa-maps-spa/app/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-research-map","scriptUrl":"./doxa-research-map/doxa-research-map.js","output":"doxa-maps/doxa-research-map/doxa-research-map.js","integrity":"sha384-oecoezttPmpRe5GNG/Yko6IkEbtLjCD7PD7qghU1ZigprnfLKhbf0eBEiEbE24iR","elements":["doxa-research-map"],"profiles":[{"profile":"research-map","file":"research-map.vue","description":"The researcher's workbench: every piece a missiologist, demographer or","element":"doxa-research-map","type":"monolithic","isMap":true,"iframeUrl":"./doxa-research-map/research-map/index.html","scriptUrl":"./doxa-research-map/doxa-research-map.js","embed":{"iframe":"\u003ciframe src=\"./doxa-research-map/research-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-research-map/doxa-research-map.js\" integrity=\"sha384-oecoezttPmpRe5GNG/Yko6IkEbtLjCD7PD7qghU1ZigprnfLKhbf0eBEiEbE24iR\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-research-map profile-config='{\"profile\":\"research-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-research-map>"},"instances":[{"id":"maplibre","title":"Research map — MapLibre (token-free, no search bar)","apiBaseUrl":"","props":{"profile":"research-map","provider":"maplibre","instanceId":"research-map-maplibre"},"element":"doxa-research-map","iframeUrl":"./doxa-research-map/research-map/maplibre/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-research-map/research-map/maplibre/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-simple-map","scriptUrl":"./doxa-simple-map/doxa-simple-map.js","output":"doxa-maps/doxa-simple-map/doxa-simple-map.js","integrity":"sha384-hzEui48BqpW8VhRthz3daMgAdw4w4M3gtBre4ce4sXuAmS+39pMRW9reNAvpFb+W","elements":["doxa-map","doxa-simple-map"],"profiles":[{"profile":"doxa-simple-map","file":"doxa-simple-map.vue","description":"The simple world map, shipped as three presets off ONE prop table —","element":"doxa-map","type":"parameterized","isMap":true,"iframeUrl":"./doxa-simple-map/doxa-simple-map/index.html","scriptUrl":"./doxa-simple-map/doxa-simple-map.js","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-simple-map/doxa-simple-map.js\" integrity=\"sha384-hzEui48BqpW8VhRthz3daMgAdw4w4M3gtBre4ce4sXuAmS+39pMRW9reNAvpFb+W\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-map profile-config='{\"profile\":\"doxa-simple-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-map>"},"instances":[{"id":"prayer","title":"Prayer Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-prayer","dataSource":"pray-tools","tabs":[{"id":"prayer","colorStrategy":"prayer","legend":"prayer","popup":"prayer"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/prayer/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/prayer/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"engagement","title":"Engagement Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-engagement","dataSource":"pray-tools","tabs":[{"id":"engagement","colorStrategy":"engagement","legend":"engagement","popup":"engagement"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/engagement/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/engagement/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"adoption","title":"Adoption Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-adoption","dataSource":"pray-tools","tabs":[{"id":"adoption","colorStrategy":"adoption","legend":"adoption","popup":"adoption"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/adoption/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/adoption/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-vision-card","scriptUrl":"./doxa-vision-card/doxa-vision-card.js","output":"doxa-maps/doxa-vision-card/doxa-vision-card.js","integrity":"sha384-2mza3cltN5LQQIrlENG/IVL6Icd9zzcFve3E8R8VWuCdYOGW9uGKFvxcbu6eFfwn","elements":["doxa-vision-card"],"profiles":[{"profile":"doxa-vision-card","file":"doxa-vision-card.vue","description":"The Capability-1 example: ONE folder -> ONE bundle -> ONE element.","element":"doxa-vision-card","type":"parameterized","isMap":false,"iframeUrl":"./doxa-vision-card/doxa-vision-card/index.html","scriptUrl":"./doxa-vision-card/doxa-vision-card.js","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-vision-card/doxa-vision-card.js\" integrity=\"sha384-2mza3cltN5LQQIrlENG/IVL6Icd9zzcFve3E8R8VWuCdYOGW9uGKFvxcbu6eFfwn\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-vision-card profile-config='{\"profile\":\"doxa-vision-card\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-vision-card>"},"instances":[{"id":"default","title":"Vision card — reach at a glance","apiBaseUrl":"","props":{"profile":"doxa-vision-card","provider":"maplibre","instanceId":"vision-card-default"},"element":"doxa-vision-card","iframeUrl":"./doxa-vision-card/doxa-vision-card/default/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"frontier","title":"Vision card — frontier accent","apiBaseUrl":"","props":{"profile":"doxa-vision-card","provider":"maplibre","instanceId":"vision-card-frontier","accent":"#22d3ee","title":"The last frontier of the gospel.","tagline":"Frontier people groups — where fewer than one in a thousand follow Jesus.","stats":[{"value":"1,910","label":"Frontier groups","note":"under 0.1% believers"},{"value":"2.1B","label":"People","note":"living in frontier settings"},{"value":"0.1%","label":"Christian","note":"or fewer, in each group"}]},"element":"doxa-vision-card","iframeUrl":"./doxa-vision-card/doxa-vision-card/frontier/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/frontier/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"doxa-vision-card"}]},{"bundle":"golden-path-check","scriptUrl":"./golden-path-check/golden-path-check.js","output":"doxa-maps/golden-path-check/golden-path-check.js","integrity":"sha384-1V/sT5SkV0U9yTCK9ELIOFfU1ZIJkInIF6nG3UllJ4dxax3RsEAupSGLJEFK6e14","elements":["golden-path-check"],"profiles":[{"profile":"golden-path-check","file":"golden-path-check.vue","description":"A live self-test of the develop-a-plugin-and-see-it-live path: it reads the built","element":"golden-path-check","type":"single","isMap":false,"iframeUrl":"./golden-path-check/golden-path-check/index.html","scriptUrl":"./golden-path-check/golden-path-check.js","embed":{"iframe":"\u003ciframe src=\"./golden-path-check/golden-path-check/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./golden-path-check/golden-path-check.js\" integrity=\"sha384-1V/sT5SkV0U9yTCK9ELIOFfU1ZIJkInIF6nG3UllJ4dxax3RsEAupSGLJEFK6e14\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgolden-path-check profile-config='{\"profile\":\"golden-path-check\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/golden-path-check>"}}]},{"bundle":"gospel-resources","scriptUrl":"./gospel-resources/gospel-resources.js","output":"doxa-maps/gospel-resources/gospel-resources.js","integrity":"sha384-4pOAnuuOovcKXSQANV9jnLu1ExxiwQMuC4aU5MtAsd959tYmdUj05u4tT57Z/rKI","elements":["gospel-resources-map"],"profiles":[{"profile":"charts","file":"charts.vue","description":"The gap by LANGUAGE (ISO 639-3) rather than by people group — because one translation serves every","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/charts/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/charts/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-4pOAnuuOovcKXSQANV9jnLu1ExxiwQMuC4aU5MtAsd959tYmdUj05u4tT57Z/rKI\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"charts\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"data-tables","file":"data-tables.vue","description":"Two validated tables: what resources exist per people group, and whether that access is keeping","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/data-tables/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/data-tables/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-4pOAnuuOovcKXSQANV9jnLu1ExxiwQMuC4aU5MtAsd959tYmdUj05u4tT57Z/rKI\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"data-tables\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"resources-list","file":"resources-list.vue","description":"Which DX people groups have scripture in their own language, and which have none. The zero-resource","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/resources-list/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/resources-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-4pOAnuuOovcKXSQANV9jnLu1ExxiwQMuC4aU5MtAsd959tYmdUj05u4tT57Z/rKI\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"resources-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"resources-map","file":"resources-map.vue","description":"Every country shaded by how much of its unengaged population has NO gospel resource in their own","element":"gospel-resources-map","type":"single","isMap":true,"iframeUrl":"./gospel-resources/resources-map/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/resources-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-4pOAnuuOovcKXSQANV9jnLu1ExxiwQMuC4aU5MtAsd959tYmdUj05u4tT57Z/rKI\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"resources-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}}]},{"bundle":"my-upg-100-list","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","output":"doxa-maps/my-upg-100-list/my-upg-100-list.js","integrity":"sha384-Q0oRTPiR5rCbGuYjqx06LU6ngVOJflT7LZIevgE0eGypVGomWEPkzJcpmSaEEOW6","elements":["my-upg-100-list-map"],"composes":["my-upg-100-list/upg-100-list","my-upg-100-list/poster-wall"],"profiles":[{"profile":"poster-wall","file":"poster-wall.vue","description":"A wall of printable poster cards, one per 100-list entry, each with a \"Show on map\" action that","element":"my-upg-100-list-map","type":"single","isMap":true,"iframeUrl":"./my-upg-100-list/poster-wall/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/poster-wall/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-Q0oRTPiR5rCbGuYjqx06LU6ngVOJflT7LZIevgE0eGypVGomWEPkzJcpmSaEEOW6\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"poster-wall\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}},{"profile":"upg-100-list","file":"upg-100-list.vue","description":"A personal unreached-people-groups list painted as true boundary polygons —","element":"my-upg-100-list-map","type":"single","isMap":true,"iframeUrl":"./my-upg-100-list/upg-100-list/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/upg-100-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-Q0oRTPiR5rCbGuYjqx06LU6ngVOJflT7LZIevgE0eGypVGomWEPkzJcpmSaEEOW6\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"upg-100-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}},{"profile":"upg-100-mfe","file":"upg-100-mfe.vue","description":"The standalone, shareable and embeddable composite of the my-upg-100-list family — it nests the map","element":"my-upg-100-list-map","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./my-upg-100-list/upg-100-mfe/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/upg-100-mfe/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-Q0oRTPiR5rCbGuYjqx06LU6ngVOJflT7LZIevgE0eGypVGomWEPkzJcpmSaEEOW6\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"upg-100-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}}]},{"bundle":"people-groups-grid","scriptUrl":"./people-groups-grid/people-groups-grid.js","output":"doxa-maps/people-groups-grid/people-groups-grid.js","integrity":"sha384-WjFaFl3Od/LJoquxuZfy9K17ESBij947vYhok7PUb4e0VnnlC71ZvXW6QRduq9Hz","elements":["people-groups-grid"],"profiles":[{"profile":"people-groups-grid","file":"people-groups-grid.vue","description":"The people-groups grid as an owned custom element: card list, search and four","element":"people-groups-grid","type":"parameterized","isMap":false,"iframeUrl":"./people-groups-grid/people-groups-grid/index.html","scriptUrl":"./people-groups-grid/people-groups-grid.js","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./people-groups-grid/people-groups-grid.js\" integrity=\"sha384-WjFaFl3Od/LJoquxuZfy9K17ESBij947vYhok7PUb4e0VnnlC71ZvXW6QRduq9Hz\" crossorigin=\"anonymous\">\u003c/script>\n\u003cpeople-groups-grid profile-config='{\"profile\":\"people-groups-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/people-groups-grid>"},"instances":[{"id":"people-groups-grid","title":"People Groups Grid — standalone (own search + 4 dropdowns)","apiBaseUrl":"","props":{"profile":"people-groups-grid","provider":"maplibre","instanceId":"people-groups-grid","pray-base-url":"https://pray.doxa.life"},"element":"people-groups-grid","iframeUrl":"./people-groups-grid/people-groups-grid/people-groups-grid/index.html","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/people-groups-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"driven","title":"People Groups Grid — externally driven (controls off, props/events)","apiBaseUrl":"","props":{"profile":"people-groups-grid","provider":"maplibre","instanceId":"people-groups-grid-driven","pray-base-url":"https://pray.doxa.life","show-search":"false","show-filters":"false"},"element":"people-groups-grid","iframeUrl":"./people-groups-grid/people-groups-grid/driven/index.html","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/driven/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"plugin-studio","scriptUrl":"./plugin-studio/plugin-studio.js","output":"doxa-maps/plugin-studio/plugin-studio.js","integrity":"sha384-2RlLFRU2XdjBN7w+FPguj8INgj57JFg4IFT2AmdefGnR9QQLehbiiAffV45LcsFH","elements":["plugin-studio"],"composes":["bp-big-picture","people-groups-grid","doxa-research-map","doxa-simple-map","cities-internet-map","gospel-resources-map","my-upg-100-list-map","doxa-vision-card","all-people-groups","research-dashboard"],"profiles":[{"profile":"plugin-studio","file":"plugin-studio.vue","description":"The developer's viewing surface: a sidebar that is the composability ladder","element":"plugin-studio","type":"nested-mfe-spa","isMap":false,"iframeUrl":"./plugin-studio/plugin-studio/index.html","scriptUrl":"./plugin-studio/plugin-studio.js","embed":{"iframe":"\u003ciframe src=\"./plugin-studio/plugin-studio/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./plugin-studio/plugin-studio.js\" integrity=\"sha384-2RlLFRU2XdjBN7w+FPguj8INgj57JFg4IFT2AmdefGnR9QQLehbiiAffV45LcsFH\" crossorigin=\"anonymous\">\u003c/script>\n\u003cplugin-studio profile-config='{\"profile\":\"plugin-studio\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/plugin-studio>"},"instances":[{"id":"studio","title":"Plugin Studio — every element by capability 5 -> 1 (developer studio)","apiBaseUrl":"","props":{"profile":"plugin-studio","provider":"maplibre","instanceId":"plugin-studio","title":"Plugin Studio"},"element":"plugin-studio","iframeUrl":"./plugin-studio/plugin-studio/studio/index.html","embed":{"iframe":"\u003ciframe src=\"./plugin-studio/plugin-studio/studio/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"prayer-walk-planner","scriptUrl":"./prayer-walk-planner/prayer-walk-planner.js","output":"doxa-maps/prayer-walk-planner/prayer-walk-planner.js","integrity":"sha384-F0+r4avX8xkXp0hBpU5EBPU0InMRCObIn2Ieh9HJNn1r2amk8/qHmJ68WuNfsirC","elements":["prayer-walk-planner"],"profiles":[{"profile":"prayer-walk-planner","file":"prayer-walk-planner.vue","description":"A simple polygon-drawing tool for planning prayer-walking routes.","element":"prayer-walk-planner","type":"single","isMap":true,"iframeUrl":"./prayer-walk-planner/prayer-walk-planner/index.html","scriptUrl":"./prayer-walk-planner/prayer-walk-planner.js","embed":{"iframe":"\u003ciframe src=\"./prayer-walk-planner/prayer-walk-planner/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./prayer-walk-planner/prayer-walk-planner.js\" integrity=\"sha384-F0+r4avX8xkXp0hBpU5EBPU0InMRCObIn2Ieh9HJNn1r2amk8/qHmJ68WuNfsirC\" crossorigin=\"anonymous\">\u003c/script>\n\u003cprayer-walk-planner profile-config='{\"profile\":\"prayer-walk-planner\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/prayer-walk-planner>"}}]},{"bundle":"regions-dashboard","scriptUrl":"./regions-dashboard/regions-dashboard.js","output":"doxa-maps/regions-dashboard/regions-dashboard.js","integrity":"sha384-Pk/QVeDX29Vu/ZIxyBT8lpx397coUFaEA8gVUGrheAtXxG4Q5Ri0R+ZUe1CEw5El","elements":["regions-dashboard"],"composes":["regions-dashboard/regions-list","regions-dashboard/region-dashboards"],"profiles":[{"profile":"region-dashboards","file":"region-dashboards.vue","description":"The dashboard half of the Driver's 2-tab Regions element: given a region (or a","element":"regions-dashboard","type":"single","isMap":true,"iframeUrl":"./regions-dashboard/region-dashboards/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/region-dashboards/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-Pk/QVeDX29Vu/ZIxyBT8lpx397coUFaEA8gVUGrheAtXxG4Q5Ri0R+ZUe1CEw5El\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"region-dashboards\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}},{"profile":"regions-list","file":"regions-list.vue","description":"A refactor of DX-life's /regions index page (app/pages/regions/index.vue) into","element":"regions-dashboard","type":"single","isMap":true,"iframeUrl":"./regions-dashboard/regions-list/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/regions-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-Pk/QVeDX29Vu/ZIxyBT8lpx397coUFaEA8gVUGrheAtXxG4Q5Ri0R+ZUe1CEw5El\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"regions-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}},{"profile":"regions-mfe","file":"regions-mfe.vue","description":"The composite the Driver asked for: ONE element carrying the SELECT VIEW switcher","element":"regions-dashboard","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./regions-dashboard/regions-mfe/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/regions-mfe/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-Pk/QVeDX29Vu/ZIxyBT8lpx397coUFaEA8gVUGrheAtXxG4Q5Ri0R+ZUe1CEw5El\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"regions-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}}]},{"bundle":"research-dashboard","scriptUrl":"./research-dashboard/research-dashboard.js","output":"doxa-maps/research-dashboard/research-dashboard.js","integrity":"sha384-VvOYWBcDd7NtnB1eveECKX88ZHIpGnOf79tVdCUqGZzXLgoZPc+oTTPIC3ajaYsn","elements":["research-dashboard-map"],"profiles":[{"profile":"research-dashboard","file":"research-dashboard.vue","description":"Coordinated-Multiple-Views research dashboard for 10/40-window UPGs (live pray.doxa.life): docked facet rail + map-as-hero + linked table/charts, brushing-and-linking over one in-memory store.","element":"research-dashboard-map","type":"monolithic","isMap":true,"iframeUrl":"./research-dashboard/research-dashboard/index.html","scriptUrl":"./research-dashboard/research-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./research-dashboard/research-dashboard/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./research-dashboard/research-dashboard.js\" integrity=\"sha384-VvOYWBcDd7NtnB1eveECKX88ZHIpGnOf79tVdCUqGZzXLgoZPc+oTTPIC3ajaYsn\" crossorigin=\"anonymous\">\u003c/script>\n\u003cresearch-dashboard-map profile-config='{\"profile\":\"research-dashboard\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/research-dashboard-map>"},"bundle":"research-dashboard"}]},{"bundle":"research-map-plus-grid","scriptUrl":"./research-map-plus-grid/research-map-plus-grid.js","output":"doxa-maps/research-map-plus-grid/research-map-plus-grid.js","integrity":"sha384-sOkaMV0UFr2uNXfoJpRvaD+gHD6xFlkmpR7MzEwwFdarYdid8aN9Nj1Y8TqQJuFo","elements":["research-map-plus-grid"],"composes":["doxa-research-map","people-groups-grid"],"profiles":[{"profile":"research-map-plus-grid","file":"research-map-plus-grid.vue","description":"The monolithic 7-tab research map (cap-3) on top, the People Groups grid beneath,","element":"research-map-plus-grid","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./research-map-plus-grid/research-map-plus-grid/index.html","scriptUrl":"./research-map-plus-grid/research-map-plus-grid.js","embed":{"iframe":"\u003ciframe src=\"./research-map-plus-grid/research-map-plus-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./research-map-plus-grid/research-map-plus-grid.js\" integrity=\"sha384-sOkaMV0UFr2uNXfoJpRvaD+gHD6xFlkmpR7MzEwwFdarYdid8aN9Nj1Y8TqQJuFo\" crossorigin=\"anonymous\">\u003c/script>\n\u003cresearch-map-plus-grid profile-config='{\"profile\":\"research-map-plus-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/research-map-plus-grid>"},"instances":[{"id":"default","title":"default","apiBaseUrl":"","props":{"profile":"research-map-plus-grid"},"element":"research-map-plus-grid","iframeUrl":"./research-map-plus-grid/research-map-plus-grid/default/index.html","embed":{"iframe":"\u003ciframe src=\"./research-map-plus-grid/research-map-plus-grid/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"stack-demo","scriptUrl":"./stack-demo/stack-demo.js","output":"doxa-maps/stack-demo/stack-demo.js","integrity":"sha384-gnwM6s+puf1K60Nl7crQcC2QC+9BxwpkaTx4OepLZ8VUCraZc+aRlWpsb6nj6Gyf","elements":["stack-demo"],"composes":["research-dashboard-map","people-groups-grid"],"profiles":[{"profile":"stack-demo","file":"stack-demo.vue","description":"Groups TWO independent elements TOP-TO-BOTTOM so you can embed the pair on a page and","element":"stack-demo","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./stack-demo/stack-demo/index.html","scriptUrl":"./stack-demo/stack-demo.js","embed":{"iframe":"\u003ciframe src=\"./stack-demo/stack-demo/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./stack-demo/stack-demo.js\" integrity=\"sha384-gnwM6s+puf1K60Nl7crQcC2QC+9BxwpkaTx4OepLZ8VUCraZc+aRlWpsb6nj6Gyf\" crossorigin=\"anonymous\">\u003c/script>\n\u003cstack-demo profile-config='{\"profile\":\"stack-demo\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/stack-demo>"},"instances":[{"id":"pair","title":"pair","apiBaseUrl":"","props":{"profile":"stack-demo"},"element":"stack-demo","iframeUrl":"./stack-demo/stack-demo/pair/index.html","embed":{"iframe":"\u003ciframe src=\"./stack-demo/stack-demo/pair/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"template-bundle","scriptUrl":"./template-bundle/template-bundle.js","output":"doxa-maps/template-bundle/template-bundle.js","integrity":"sha384-k+G5UlkZ99QmuecCCWUrjz998JBJnQT3hsDG0A+IVmiX9F3CNswmHXXzYhjnUTDX","elements":["template-bundle"],"profiles":[{"profile":"template-map-a","file":"template-map-a.vue","description":"Minimal example profile A — a colored placeholder, no Mapbox or data.","element":"template-bundle","type":"single","isMap":false,"iframeUrl":"./template-bundle/template-map-a/index.html","scriptUrl":"./template-bundle/template-bundle.js","embed":{"iframe":"\u003ciframe src=\"./template-bundle/template-map-a/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./template-bundle/template-bundle.js\" integrity=\"sha384-k+G5UlkZ99QmuecCCWUrjz998JBJnQT3hsDG0A+IVmiX9F3CNswmHXXzYhjnUTDX\" crossorigin=\"anonymous\">\u003c/script>\n\u003ctemplate-bundle profile-config='{\"profile\":\"template-map-a\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/template-bundle>"},"bundle":"template-bundle"},{"profile":"template-map-b","file":"template-map-b.vue","description":"Minimal example profile B — a second profile in the same bundle.","element":"template-bundle","type":"single","isMap":false,"iframeUrl":"./template-bundle/template-map-b/index.html","scriptUrl":"./template-bundle/template-bundle.js","embed":{"iframe":"\u003ciframe src=\"./template-bundle/template-map-b/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./template-bundle/template-bundle.js\" integrity=\"sha384-k+G5UlkZ99QmuecCCWUrjz998JBJnQT3hsDG0A+IVmiX9F3CNswmHXXzYhjnUTDX\" crossorigin=\"anonymous\">\u003c/script>\n\u003ctemplate-bundle profile-config='{\"profile\":\"template-map-b\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/template-bundle>"},"bundle":"template-bundle"}]}]}; \n\n" + "script": "\n\n" }, "instances": [ { From 9f0df8b5796d8fcf1e5836a843ff3356ecf70034 Mon Sep 17 00:00:00 2001 From: doxa-maps-88655c70 <88627970+doxa-maps-88655c70@users.noreply.github.com> Date: Thu, 24 Sep 2026 03:52:44 +0000 Subject: [PATCH 09/18] Exact sits in the search row, where DX-life puts it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Driver: "my filter underneath the simple research map does not look like the same CSS styling of the one on dx-life." Read the reference: UupgsList.vue puts the input and the Exact button in ONE `.repel` row inside `.search-box`, so the modifier reads as part of the field it changes. Ours had Exact in a SECOND filters__panel below the four dropdowns, where it looked like a fifth filter -- and, because that panel only exists while filters are expanded, a user searching with the panel collapsed could not reach it at all. ★ COPYING THE REPEL WITHOUT THE WIDTH CAP MADE IT WORSE, and the screenshot was the only thing that said so. dx-life's markup is `.search-box | center | max-width-md` wrapping the repel: the repel only reads as a PAIR because the box is narrow. Dropped into our full-width row it pushed Exact against the far edge -- input ending at x=843, button at x=1231, 390px apart -- which reads as an unrelated control. The row is now capped at 600px and centred, and repels inside that. Wraps on a phone so the button drops under the input rather than squeezing it. NOT DONE, and deliberately left for the Driver: he listed Country, Adopted and Engaged among dx-life's controls. This element ships FOUR dropdowns by an explicit earlier decision of his, recorded twice in this file -- "COUNTRY IS PROP-ONLY, NOT A FIFTH DROPDOWN ... the Driver's exclusion of Country was about this element's OWN CONTROLS". Describing dx-life's controls is not the same as asking for Country back, and adding it would silently reverse that. Written up in the rollout ledger as a question instead. gates:pre 0. gates:post 17/18, the single failure being the pre-existing verify/tables-complete break from the visa-leak fix. --- .../people-groups-grid/people-groups-grid.vue | 36 ++++++++++++++----- public/doxa-maps/index.html | 2 +- public/doxa-maps/manifest.json | 4 +-- .../people-groups-grid/people-groups-grid.js | 8 ++--- .../people-groups-grid/driven/index.html | 2 +- .../people-groups-grid/index.html | 2 +- .../people-groups-grid/index.html | 2 +- 7 files changed, 38 insertions(+), 18 deletions(-) diff --git a/plugin-designs/people-groups-grid/people-groups-grid.vue b/plugin-designs/people-groups-grid/people-groups-grid.vue index dcb3fa272..d0f9e4854 100644 --- a/plugin-designs/people-groups-grid/people-groups-grid.vue +++ b/plugin-designs/people-groups-grid/people-groups-grid.vue @@ -707,7 +707,14 @@ onMounted(getUUPGs)
- -
- -
@@ -898,6 +904,20 @@ onMounted(getUUPGs) /* The search box itself is the shared @map SearchBar (self-styling). This wrapper only centres it; the input's look lives in library/components/search/SearchBar.vue. */ .pgg-search { display: flex; justify-content: center; } +/* ★ THE ROW IS CONSTRAINED, WHICH IS WHAT MAKES `repel` READ AS A PAIR. + DX-life's markup is `.search-box | center | max-width-md` wrapping a `.repel` — the + repel only looks right because the BOX is narrow. Copying the repel without the width + cap put Exact against the far edge of a 1248px row, 390px from the field it modifies, + which reads as an unrelated control (measured: input ended at x=843, button at x=1231). + So: cap the row near the field's own 480px, centre it, and repel INSIDE that. Wraps on a + phone so the button drops under the input instead of squeezing it. */ +.pgg-search--repel { + gap: 10px; align-items: center; flex-wrap: wrap; + justify-content: space-between; + width: 100%; max-width: 600px; margin-inline: auto; +} +.pgg-search--repel > :first-child { flex: 1 1 320px; min-width: 0; } +.pgg-exact { flex: none; } /* A CONTROL, not a text link. It was background:none + border:none + text-decoration:underline, which reads as a hyperlink — so the four dropdowns it gates were effectively undiscoverable (Driver-reported). Now a bordered, filled affordance in the material-light palette with a diff --git a/public/doxa-maps/index.html b/public/doxa-maps/index.html index 8718bced9..8791d3ae6 100644 --- a/public/doxa-maps/index.html +++ b/public/doxa-maps/index.html @@ -130,7 +130,7 @@ header.top .sub { margin-top: 3px; font: 12px/1.4 var(--sans); color: var(--mut) + window.FORGE.manifest = {"schema":"doxa-maps-manifest@1","generatedFrom":"plugin-designs/*/*.vue","embedBase":".","bundleCount":21,"profileCount":32,"bundles":[{"bundle":"all-people-groups","scriptUrl":"./all-people-groups/all-people-groups.js","output":"doxa-maps/all-people-groups/all-people-groups.js","integrity":"sha384-cqk7oshuPW5FdnbZ/DyfBBXN2FObAI+V1jrbxmZR2xzNiBtWG65PETQ5/w5PCDB2","elements":["all-people-groups"],"profiles":[{"profile":"all-people-groups","file":"all-people-groups.vue","description":"All 12,379 people groups (peoplegroups.org) in four colors — reached,","element":"all-people-groups","type":"single","isMap":true,"iframeUrl":"./all-people-groups/all-people-groups/index.html","scriptUrl":"./all-people-groups/all-people-groups.js","embed":{"iframe":"\u003ciframe src=\"./all-people-groups/all-people-groups/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./all-people-groups/all-people-groups.js\" integrity=\"sha384-cqk7oshuPW5FdnbZ/DyfBBXN2FObAI+V1jrbxmZR2xzNiBtWG65PETQ5/w5PCDB2\" crossorigin=\"anonymous\">\u003c/script>\n\u003call-people-groups profile-config='{\"profile\":\"all-people-groups\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/all-people-groups>"},"bundle":"all-people-groups"}]},{"bundle":"big-picture","scriptUrl":"./big-picture/big-picture.js","output":"doxa-maps/big-picture/big-picture.js","integrity":"sha384-v0b+aZ7TBxmgUIBBLdKEm6HzwjY3jAGyOFNsKeKCKY4EIRpiWRTcNLavAitHRt8h","elements":["bp-big-picture","bp-research-header","people-groups-grid"],"composes":["bp-research-header","people-groups-grid"],"profiles":[{"profile":"big-picture","file":"big-picture.vue","description":"The Cat-4 composite that PAIRS the two real capability elements of the","element":"bp-big-picture","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./big-picture/big-picture/index.html","scriptUrl":"./big-picture/big-picture.js","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./big-picture/big-picture.js\" integrity=\"sha384-v0b+aZ7TBxmgUIBBLdKEm6HzwjY3jAGyOFNsKeKCKY4EIRpiWRTcNLavAitHRt8h\" crossorigin=\"anonymous\">\u003c/script>\n\u003cbp-big-picture profile-config='{\"profile\":\"big-picture\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/bp-big-picture>"},"instances":[{"id":"big-picture","title":"Big Picture — research header ↔ people-groups grid (composite)","apiBaseUrl":"","props":{"profile":"big-picture","provider":"maplibre","instanceId":"bp-big-picture"},"element":"bp-big-picture","iframeUrl":"./big-picture/big-picture/big-picture/index.html","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/big-picture/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"frontier","title":"Big Picture — frontier accent","apiBaseUrl":"","props":{"profile":"big-picture","provider":"maplibre","instanceId":"bp-big-picture-frontier","accent":"#22d3ee","title":"Big Picture — Frontier Focus"},"element":"bp-big-picture","iframeUrl":"./big-picture/big-picture/frontier/index.html","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/frontier/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"big-picture"}]},{"bundle":"cities-internet","scriptUrl":"./cities-internet/cities-internet.js","output":"doxa-maps/cities-internet/cities-internet.js","integrity":"sha384-tNig8gXdCocWVKD5iXR6iRqiAr7msWFtcFKzYif0L0G5i/RM+HI+SO8oR5c6O+5R","elements":["cities-internet-map"],"profiles":[{"profile":"connectivity-list","file":"connectivity-list.vue","description":"Countries where DX people groups live, grouped by region, showing measured internet penetration","element":"cities-internet-map","type":"single","isMap":false,"iframeUrl":"./cities-internet/connectivity-list/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/connectivity-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-tNig8gXdCocWVKD5iXR6iRqiAr7msWFtcFKzYif0L0G5i/RM+HI+SO8oR5c6O+5R\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"connectivity-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}},{"profile":"connectivity-map","file":"connectivity-map.vue","description":"Every country shaded by measured internet penetration, with its named carriers and dominant","element":"cities-internet-map","type":"single","isMap":true,"iframeUrl":"./cities-internet/connectivity-map/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/connectivity-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-tNig8gXdCocWVKD5iXR6iRqiAr7msWFtcFKzYif0L0G5i/RM+HI+SO8oR5c6O+5R\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"connectivity-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}},{"profile":"data-tables","file":"data-tables.vue","description":"Four validated research tables, one tab each, with sortable and filterable columns, CSV and JSON","element":"cities-internet-map","type":"single","isMap":false,"iframeUrl":"./cities-internet/data-tables/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/data-tables/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-tNig8gXdCocWVKD5iXR6iRqiAr7msWFtcFKzYif0L0G5i/RM+HI+SO8oR5c6O+5R\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"data-tables\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}}]},{"bundle":"country-posters","scriptUrl":"./country-posters/country-posters.js","output":"doxa-maps/country-posters/country-posters.js","integrity":"sha384-kbTr53oyqrMpgr620HR4W8vLXxT4Ulo5EeCoHebbMjGns5rwNvJP2BLuPyo5XVJj","elements":["country-posters-map"],"profiles":[{"profile":"countries-map","file":"countries-map.vue","description":"The researcher's workbench retargeted from people groups to COUNTRIES — region","element":"country-posters-map","type":"single","isMap":true,"iframeUrl":"./country-posters/countries-map/index.html","scriptUrl":"./country-posters/country-posters.js","embed":{"iframe":"\u003ciframe src=\"./country-posters/countries-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./country-posters/country-posters.js\" integrity=\"sha384-kbTr53oyqrMpgr620HR4W8vLXxT4Ulo5EeCoHebbMjGns5rwNvJP2BLuPyo5XVJj\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccountry-posters-map profile-config='{\"profile\":\"countries-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/country-posters-map>"}},{"profile":"country-poster-wall","file":"country-poster-wall.vue","description":"One printable card per country, grouped into COLLAPSIBLE regional sections so the","element":"country-posters-map","type":"single","isMap":false,"iframeUrl":"./country-posters/country-poster-wall/index.html","scriptUrl":"./country-posters/country-posters.js","embed":{"iframe":"\u003ciframe src=\"./country-posters/country-poster-wall/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./country-posters/country-posters.js\" integrity=\"sha384-kbTr53oyqrMpgr620HR4W8vLXxT4Ulo5EeCoHebbMjGns5rwNvJP2BLuPyo5XVJj\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccountry-posters-map profile-config='{\"profile\":\"country-poster-wall\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/country-posters-map>"}}]},{"bundle":"dashboard-plus-grid","scriptUrl":"./dashboard-plus-grid/dashboard-plus-grid.js","output":"doxa-maps/dashboard-plus-grid/dashboard-plus-grid.js","integrity":"sha384-YbJgljynZ4t3/Ro44oHQy9ihl9/5o7j4IKts8MNRfA73Cb5cyD7U52DklXjzpLpG","elements":["dashboard-plus-grid"],"composes":["research-dashboard","people-groups-grid"],"profiles":[{"profile":"dashboard-plus-grid","file":"dashboard-plus-grid.vue","description":"Both children are IMPORTED DIRECTLY (compiled into this ONE bundle — no runtime bundle","element":"dashboard-plus-grid","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./dashboard-plus-grid/dashboard-plus-grid/index.html","scriptUrl":"./dashboard-plus-grid/dashboard-plus-grid.js","embed":{"iframe":"\u003ciframe src=\"./dashboard-plus-grid/dashboard-plus-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./dashboard-plus-grid/dashboard-plus-grid.js\" integrity=\"sha384-YbJgljynZ4t3/Ro44oHQy9ihl9/5o7j4IKts8MNRfA73Cb5cyD7U52DklXjzpLpG\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdashboard-plus-grid profile-config='{\"profile\":\"dashboard-plus-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/dashboard-plus-grid>"},"instances":[{"id":"default","title":"default","apiBaseUrl":"","props":{"profile":"dashboard-plus-grid"},"element":"dashboard-plus-grid","iframeUrl":"./dashboard-plus-grid/dashboard-plus-grid/default/index.html","embed":{"iframe":"\u003ciframe src=\"./dashboard-plus-grid/dashboard-plus-grid/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"demo-map","scriptUrl":"./demo-map/demo-map.js","output":"doxa-maps/demo-map/demo-map.js","integrity":"sha384-QiUJUgeFn27tiHKVhAYtJuIWo+1z5xsCUP1Nj4m1H4cFUV3vUA7ADTP58Ky3oVtQ","elements":["demo-map"],"profiles":[{"profile":"demo-map","file":"demo-map.vue","description":"Simple two-tab demo map. Tab 1 colors pins by religion (shared","element":"demo-map","type":"parameterized","isMap":true,"iframeUrl":"./demo-map/demo-map/index.html","scriptUrl":"./demo-map/demo-map.js","embed":{"iframe":"\u003ciframe src=\"./demo-map/demo-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./demo-map/demo-map.js\" integrity=\"sha384-QiUJUgeFn27tiHKVhAYtJuIWo+1z5xsCUP1Nj4m1H4cFUV3vUA7ADTP58Ky3oVtQ\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdemo-map profile-config='{\"profile\":\"demo-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/demo-map>"},"instances":[{"id":"maplibre","title":"Demo map — MapLibre (token-free)","apiBaseUrl":"","props":{"profile":"demo-map","provider":"maplibre","instanceId":"demo-maplibre"},"element":"demo-map","iframeUrl":"./demo-map/demo-map/maplibre/index.html","embed":{"iframe":"\u003ciframe src=\"./demo-map/demo-map/maplibre/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"demo-map"}]},{"bundle":"doxa-maps-spa","scriptUrl":"./doxa-maps-spa/doxa-maps-spa.js","output":"doxa-maps/doxa-maps-spa/doxa-maps-spa.js","integrity":"sha384-Ce+DKsLgwfej+rgoWeaWFuMMbR3Y4H+8io/lVL+lQfX0O3iGKwDLf4remDkHGCrP","elements":["doxa-maps-spa"],"composes":["bp-big-picture","doxa-research-map","doxa-simple-map","cities-internet-map","gospel-resources-map","my-upg-100-list-map"],"profiles":[{"profile":"doxa-maps-spa","file":"doxa-maps-spa.vue","description":"The DX-maps app itself: one element whose vertical-tab rail nests every other","element":"doxa-maps-spa","type":"nested-mfe-spa","isMap":false,"iframeUrl":"./doxa-maps-spa/doxa-maps-spa/index.html","scriptUrl":"./doxa-maps-spa/doxa-maps-spa.js","embed":{"iframe":"\u003ciframe src=\"./doxa-maps-spa/doxa-maps-spa/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-maps-spa/doxa-maps-spa.js\" integrity=\"sha384-Ce+DKsLgwfej+rgoWeaWFuMMbR3Y4H+8io/lVL+lQfX0O3iGKwDLf4remDkHGCrP\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-maps-spa profile-config='{\"profile\":\"doxa-maps-spa\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-maps-spa>"},"instances":[{"id":"app","title":"DX-Maps SPA — Big Picture + every research map (app-shell)","apiBaseUrl":"","props":{"profile":"doxa-maps-spa","provider":"maplibre","instanceId":"doxa-maps-spa-app","title":"DX-Maps"},"element":"doxa-maps-spa","iframeUrl":"./doxa-maps-spa/doxa-maps-spa/app/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-maps-spa/doxa-maps-spa/app/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-research-map","scriptUrl":"./doxa-research-map/doxa-research-map.js","output":"doxa-maps/doxa-research-map/doxa-research-map.js","integrity":"sha384-oecoezttPmpRe5GNG/Yko6IkEbtLjCD7PD7qghU1ZigprnfLKhbf0eBEiEbE24iR","elements":["doxa-research-map"],"profiles":[{"profile":"research-map","file":"research-map.vue","description":"The researcher's workbench: every piece a missiologist, demographer or","element":"doxa-research-map","type":"monolithic","isMap":true,"iframeUrl":"./doxa-research-map/research-map/index.html","scriptUrl":"./doxa-research-map/doxa-research-map.js","embed":{"iframe":"\u003ciframe src=\"./doxa-research-map/research-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-research-map/doxa-research-map.js\" integrity=\"sha384-oecoezttPmpRe5GNG/Yko6IkEbtLjCD7PD7qghU1ZigprnfLKhbf0eBEiEbE24iR\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-research-map profile-config='{\"profile\":\"research-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-research-map>"},"instances":[{"id":"maplibre","title":"Research map — MapLibre (token-free, no search bar)","apiBaseUrl":"","props":{"profile":"research-map","provider":"maplibre","instanceId":"research-map-maplibre"},"element":"doxa-research-map","iframeUrl":"./doxa-research-map/research-map/maplibre/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-research-map/research-map/maplibre/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-simple-map","scriptUrl":"./doxa-simple-map/doxa-simple-map.js","output":"doxa-maps/doxa-simple-map/doxa-simple-map.js","integrity":"sha384-hzEui48BqpW8VhRthz3daMgAdw4w4M3gtBre4ce4sXuAmS+39pMRW9reNAvpFb+W","elements":["doxa-map","doxa-simple-map"],"profiles":[{"profile":"doxa-simple-map","file":"doxa-simple-map.vue","description":"The simple world map, shipped as three presets off ONE prop table —","element":"doxa-map","type":"parameterized","isMap":true,"iframeUrl":"./doxa-simple-map/doxa-simple-map/index.html","scriptUrl":"./doxa-simple-map/doxa-simple-map.js","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-simple-map/doxa-simple-map.js\" integrity=\"sha384-hzEui48BqpW8VhRthz3daMgAdw4w4M3gtBre4ce4sXuAmS+39pMRW9reNAvpFb+W\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-map profile-config='{\"profile\":\"doxa-simple-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-map>"},"instances":[{"id":"prayer","title":"Prayer Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-prayer","dataSource":"pray-tools","tabs":[{"id":"prayer","colorStrategy":"prayer","legend":"prayer","popup":"prayer"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/prayer/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/prayer/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"engagement","title":"Engagement Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-engagement","dataSource":"pray-tools","tabs":[{"id":"engagement","colorStrategy":"engagement","legend":"engagement","popup":"engagement"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/engagement/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/engagement/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"adoption","title":"Adoption Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-adoption","dataSource":"pray-tools","tabs":[{"id":"adoption","colorStrategy":"adoption","legend":"adoption","popup":"adoption"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/adoption/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/adoption/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-vision-card","scriptUrl":"./doxa-vision-card/doxa-vision-card.js","output":"doxa-maps/doxa-vision-card/doxa-vision-card.js","integrity":"sha384-2mza3cltN5LQQIrlENG/IVL6Icd9zzcFve3E8R8VWuCdYOGW9uGKFvxcbu6eFfwn","elements":["doxa-vision-card"],"profiles":[{"profile":"doxa-vision-card","file":"doxa-vision-card.vue","description":"The Capability-1 example: ONE folder -> ONE bundle -> ONE element.","element":"doxa-vision-card","type":"parameterized","isMap":false,"iframeUrl":"./doxa-vision-card/doxa-vision-card/index.html","scriptUrl":"./doxa-vision-card/doxa-vision-card.js","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-vision-card/doxa-vision-card.js\" integrity=\"sha384-2mza3cltN5LQQIrlENG/IVL6Icd9zzcFve3E8R8VWuCdYOGW9uGKFvxcbu6eFfwn\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-vision-card profile-config='{\"profile\":\"doxa-vision-card\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-vision-card>"},"instances":[{"id":"default","title":"Vision card — reach at a glance","apiBaseUrl":"","props":{"profile":"doxa-vision-card","provider":"maplibre","instanceId":"vision-card-default"},"element":"doxa-vision-card","iframeUrl":"./doxa-vision-card/doxa-vision-card/default/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"frontier","title":"Vision card — frontier accent","apiBaseUrl":"","props":{"profile":"doxa-vision-card","provider":"maplibre","instanceId":"vision-card-frontier","accent":"#22d3ee","title":"The last frontier of the gospel.","tagline":"Frontier people groups — where fewer than one in a thousand follow Jesus.","stats":[{"value":"1,910","label":"Frontier groups","note":"under 0.1% believers"},{"value":"2.1B","label":"People","note":"living in frontier settings"},{"value":"0.1%","label":"Christian","note":"or fewer, in each group"}]},"element":"doxa-vision-card","iframeUrl":"./doxa-vision-card/doxa-vision-card/frontier/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/frontier/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"doxa-vision-card"}]},{"bundle":"golden-path-check","scriptUrl":"./golden-path-check/golden-path-check.js","output":"doxa-maps/golden-path-check/golden-path-check.js","integrity":"sha384-1V/sT5SkV0U9yTCK9ELIOFfU1ZIJkInIF6nG3UllJ4dxax3RsEAupSGLJEFK6e14","elements":["golden-path-check"],"profiles":[{"profile":"golden-path-check","file":"golden-path-check.vue","description":"A live self-test of the develop-a-plugin-and-see-it-live path: it reads the built","element":"golden-path-check","type":"single","isMap":false,"iframeUrl":"./golden-path-check/golden-path-check/index.html","scriptUrl":"./golden-path-check/golden-path-check.js","embed":{"iframe":"\u003ciframe src=\"./golden-path-check/golden-path-check/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./golden-path-check/golden-path-check.js\" integrity=\"sha384-1V/sT5SkV0U9yTCK9ELIOFfU1ZIJkInIF6nG3UllJ4dxax3RsEAupSGLJEFK6e14\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgolden-path-check profile-config='{\"profile\":\"golden-path-check\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/golden-path-check>"}}]},{"bundle":"gospel-resources","scriptUrl":"./gospel-resources/gospel-resources.js","output":"doxa-maps/gospel-resources/gospel-resources.js","integrity":"sha384-4pOAnuuOovcKXSQANV9jnLu1ExxiwQMuC4aU5MtAsd959tYmdUj05u4tT57Z/rKI","elements":["gospel-resources-map"],"profiles":[{"profile":"charts","file":"charts.vue","description":"The gap by LANGUAGE (ISO 639-3) rather than by people group — because one translation serves every","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/charts/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/charts/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-4pOAnuuOovcKXSQANV9jnLu1ExxiwQMuC4aU5MtAsd959tYmdUj05u4tT57Z/rKI\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"charts\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"data-tables","file":"data-tables.vue","description":"Two validated tables: what resources exist per people group, and whether that access is keeping","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/data-tables/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/data-tables/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-4pOAnuuOovcKXSQANV9jnLu1ExxiwQMuC4aU5MtAsd959tYmdUj05u4tT57Z/rKI\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"data-tables\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"resources-list","file":"resources-list.vue","description":"Which DX people groups have scripture in their own language, and which have none. The zero-resource","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/resources-list/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/resources-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-4pOAnuuOovcKXSQANV9jnLu1ExxiwQMuC4aU5MtAsd959tYmdUj05u4tT57Z/rKI\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"resources-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"resources-map","file":"resources-map.vue","description":"Every country shaded by how much of its unengaged population has NO gospel resource in their own","element":"gospel-resources-map","type":"single","isMap":true,"iframeUrl":"./gospel-resources/resources-map/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/resources-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-4pOAnuuOovcKXSQANV9jnLu1ExxiwQMuC4aU5MtAsd959tYmdUj05u4tT57Z/rKI\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"resources-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}}]},{"bundle":"my-upg-100-list","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","output":"doxa-maps/my-upg-100-list/my-upg-100-list.js","integrity":"sha384-Q0oRTPiR5rCbGuYjqx06LU6ngVOJflT7LZIevgE0eGypVGomWEPkzJcpmSaEEOW6","elements":["my-upg-100-list-map"],"composes":["my-upg-100-list/upg-100-list","my-upg-100-list/poster-wall"],"profiles":[{"profile":"poster-wall","file":"poster-wall.vue","description":"A wall of printable poster cards, one per 100-list entry, each with a \"Show on map\" action that","element":"my-upg-100-list-map","type":"single","isMap":true,"iframeUrl":"./my-upg-100-list/poster-wall/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/poster-wall/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-Q0oRTPiR5rCbGuYjqx06LU6ngVOJflT7LZIevgE0eGypVGomWEPkzJcpmSaEEOW6\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"poster-wall\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}},{"profile":"upg-100-list","file":"upg-100-list.vue","description":"A personal unreached-people-groups list painted as true boundary polygons —","element":"my-upg-100-list-map","type":"single","isMap":true,"iframeUrl":"./my-upg-100-list/upg-100-list/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/upg-100-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-Q0oRTPiR5rCbGuYjqx06LU6ngVOJflT7LZIevgE0eGypVGomWEPkzJcpmSaEEOW6\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"upg-100-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}},{"profile":"upg-100-mfe","file":"upg-100-mfe.vue","description":"The standalone, shareable and embeddable composite of the my-upg-100-list family — it nests the map","element":"my-upg-100-list-map","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./my-upg-100-list/upg-100-mfe/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/upg-100-mfe/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-Q0oRTPiR5rCbGuYjqx06LU6ngVOJflT7LZIevgE0eGypVGomWEPkzJcpmSaEEOW6\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"upg-100-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}}]},{"bundle":"people-groups-grid","scriptUrl":"./people-groups-grid/people-groups-grid.js","output":"doxa-maps/people-groups-grid/people-groups-grid.js","integrity":"sha384-ss5PmeSkKuxafBwvxZG3r7roP0OB/oVGwFbfrHnydEhjbtrlB4eisdsPXEyCJF37","elements":["people-groups-grid"],"profiles":[{"profile":"people-groups-grid","file":"people-groups-grid.vue","description":"The people-groups grid as an owned custom element: card list, search and four","element":"people-groups-grid","type":"parameterized","isMap":false,"iframeUrl":"./people-groups-grid/people-groups-grid/index.html","scriptUrl":"./people-groups-grid/people-groups-grid.js","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./people-groups-grid/people-groups-grid.js\" integrity=\"sha384-ss5PmeSkKuxafBwvxZG3r7roP0OB/oVGwFbfrHnydEhjbtrlB4eisdsPXEyCJF37\" crossorigin=\"anonymous\">\u003c/script>\n\u003cpeople-groups-grid profile-config='{\"profile\":\"people-groups-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/people-groups-grid>"},"instances":[{"id":"people-groups-grid","title":"People Groups Grid — standalone (own search + 4 dropdowns)","apiBaseUrl":"","props":{"profile":"people-groups-grid","provider":"maplibre","instanceId":"people-groups-grid","pray-base-url":"https://pray.doxa.life"},"element":"people-groups-grid","iframeUrl":"./people-groups-grid/people-groups-grid/people-groups-grid/index.html","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/people-groups-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"driven","title":"People Groups Grid — externally driven (controls off, props/events)","apiBaseUrl":"","props":{"profile":"people-groups-grid","provider":"maplibre","instanceId":"people-groups-grid-driven","pray-base-url":"https://pray.doxa.life","show-search":"false","show-filters":"false"},"element":"people-groups-grid","iframeUrl":"./people-groups-grid/people-groups-grid/driven/index.html","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/driven/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"plugin-studio","scriptUrl":"./plugin-studio/plugin-studio.js","output":"doxa-maps/plugin-studio/plugin-studio.js","integrity":"sha384-2RlLFRU2XdjBN7w+FPguj8INgj57JFg4IFT2AmdefGnR9QQLehbiiAffV45LcsFH","elements":["plugin-studio"],"composes":["bp-big-picture","people-groups-grid","doxa-research-map","doxa-simple-map","cities-internet-map","gospel-resources-map","my-upg-100-list-map","doxa-vision-card","all-people-groups","research-dashboard"],"profiles":[{"profile":"plugin-studio","file":"plugin-studio.vue","description":"The developer's viewing surface: a sidebar that is the composability ladder","element":"plugin-studio","type":"nested-mfe-spa","isMap":false,"iframeUrl":"./plugin-studio/plugin-studio/index.html","scriptUrl":"./plugin-studio/plugin-studio.js","embed":{"iframe":"\u003ciframe src=\"./plugin-studio/plugin-studio/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./plugin-studio/plugin-studio.js\" integrity=\"sha384-2RlLFRU2XdjBN7w+FPguj8INgj57JFg4IFT2AmdefGnR9QQLehbiiAffV45LcsFH\" crossorigin=\"anonymous\">\u003c/script>\n\u003cplugin-studio profile-config='{\"profile\":\"plugin-studio\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/plugin-studio>"},"instances":[{"id":"studio","title":"Plugin Studio — every element by capability 5 -> 1 (developer studio)","apiBaseUrl":"","props":{"profile":"plugin-studio","provider":"maplibre","instanceId":"plugin-studio","title":"Plugin Studio"},"element":"plugin-studio","iframeUrl":"./plugin-studio/plugin-studio/studio/index.html","embed":{"iframe":"\u003ciframe src=\"./plugin-studio/plugin-studio/studio/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"prayer-walk-planner","scriptUrl":"./prayer-walk-planner/prayer-walk-planner.js","output":"doxa-maps/prayer-walk-planner/prayer-walk-planner.js","integrity":"sha384-F0+r4avX8xkXp0hBpU5EBPU0InMRCObIn2Ieh9HJNn1r2amk8/qHmJ68WuNfsirC","elements":["prayer-walk-planner"],"profiles":[{"profile":"prayer-walk-planner","file":"prayer-walk-planner.vue","description":"A simple polygon-drawing tool for planning prayer-walking routes.","element":"prayer-walk-planner","type":"single","isMap":true,"iframeUrl":"./prayer-walk-planner/prayer-walk-planner/index.html","scriptUrl":"./prayer-walk-planner/prayer-walk-planner.js","embed":{"iframe":"\u003ciframe src=\"./prayer-walk-planner/prayer-walk-planner/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./prayer-walk-planner/prayer-walk-planner.js\" integrity=\"sha384-F0+r4avX8xkXp0hBpU5EBPU0InMRCObIn2Ieh9HJNn1r2amk8/qHmJ68WuNfsirC\" crossorigin=\"anonymous\">\u003c/script>\n\u003cprayer-walk-planner profile-config='{\"profile\":\"prayer-walk-planner\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/prayer-walk-planner>"}}]},{"bundle":"regions-dashboard","scriptUrl":"./regions-dashboard/regions-dashboard.js","output":"doxa-maps/regions-dashboard/regions-dashboard.js","integrity":"sha384-Pk/QVeDX29Vu/ZIxyBT8lpx397coUFaEA8gVUGrheAtXxG4Q5Ri0R+ZUe1CEw5El","elements":["regions-dashboard"],"composes":["regions-dashboard/regions-list","regions-dashboard/region-dashboards"],"profiles":[{"profile":"region-dashboards","file":"region-dashboards.vue","description":"The dashboard half of the Driver's 2-tab Regions element: given a region (or a","element":"regions-dashboard","type":"single","isMap":true,"iframeUrl":"./regions-dashboard/region-dashboards/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/region-dashboards/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-Pk/QVeDX29Vu/ZIxyBT8lpx397coUFaEA8gVUGrheAtXxG4Q5Ri0R+ZUe1CEw5El\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"region-dashboards\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}},{"profile":"regions-list","file":"regions-list.vue","description":"A refactor of DX-life's /regions index page (app/pages/regions/index.vue) into","element":"regions-dashboard","type":"single","isMap":true,"iframeUrl":"./regions-dashboard/regions-list/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/regions-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-Pk/QVeDX29Vu/ZIxyBT8lpx397coUFaEA8gVUGrheAtXxG4Q5Ri0R+ZUe1CEw5El\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"regions-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}},{"profile":"regions-mfe","file":"regions-mfe.vue","description":"The composite the Driver asked for: ONE element carrying the SELECT VIEW switcher","element":"regions-dashboard","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./regions-dashboard/regions-mfe/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/regions-mfe/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-Pk/QVeDX29Vu/ZIxyBT8lpx397coUFaEA8gVUGrheAtXxG4Q5Ri0R+ZUe1CEw5El\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"regions-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}}]},{"bundle":"research-dashboard","scriptUrl":"./research-dashboard/research-dashboard.js","output":"doxa-maps/research-dashboard/research-dashboard.js","integrity":"sha384-VvOYWBcDd7NtnB1eveECKX88ZHIpGnOf79tVdCUqGZzXLgoZPc+oTTPIC3ajaYsn","elements":["research-dashboard-map"],"profiles":[{"profile":"research-dashboard","file":"research-dashboard.vue","description":"Coordinated-Multiple-Views research dashboard for 10/40-window UPGs (live pray.doxa.life): docked facet rail + map-as-hero + linked table/charts, brushing-and-linking over one in-memory store.","element":"research-dashboard-map","type":"monolithic","isMap":true,"iframeUrl":"./research-dashboard/research-dashboard/index.html","scriptUrl":"./research-dashboard/research-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./research-dashboard/research-dashboard/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./research-dashboard/research-dashboard.js\" integrity=\"sha384-VvOYWBcDd7NtnB1eveECKX88ZHIpGnOf79tVdCUqGZzXLgoZPc+oTTPIC3ajaYsn\" crossorigin=\"anonymous\">\u003c/script>\n\u003cresearch-dashboard-map profile-config='{\"profile\":\"research-dashboard\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/research-dashboard-map>"},"bundle":"research-dashboard"}]},{"bundle":"research-map-plus-grid","scriptUrl":"./research-map-plus-grid/research-map-plus-grid.js","output":"doxa-maps/research-map-plus-grid/research-map-plus-grid.js","integrity":"sha384-sOkaMV0UFr2uNXfoJpRvaD+gHD6xFlkmpR7MzEwwFdarYdid8aN9Nj1Y8TqQJuFo","elements":["research-map-plus-grid"],"composes":["doxa-research-map","people-groups-grid"],"profiles":[{"profile":"research-map-plus-grid","file":"research-map-plus-grid.vue","description":"The monolithic 7-tab research map (cap-3) on top, the People Groups grid beneath,","element":"research-map-plus-grid","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./research-map-plus-grid/research-map-plus-grid/index.html","scriptUrl":"./research-map-plus-grid/research-map-plus-grid.js","embed":{"iframe":"\u003ciframe src=\"./research-map-plus-grid/research-map-plus-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./research-map-plus-grid/research-map-plus-grid.js\" integrity=\"sha384-sOkaMV0UFr2uNXfoJpRvaD+gHD6xFlkmpR7MzEwwFdarYdid8aN9Nj1Y8TqQJuFo\" crossorigin=\"anonymous\">\u003c/script>\n\u003cresearch-map-plus-grid profile-config='{\"profile\":\"research-map-plus-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/research-map-plus-grid>"},"instances":[{"id":"default","title":"default","apiBaseUrl":"","props":{"profile":"research-map-plus-grid"},"element":"research-map-plus-grid","iframeUrl":"./research-map-plus-grid/research-map-plus-grid/default/index.html","embed":{"iframe":"\u003ciframe src=\"./research-map-plus-grid/research-map-plus-grid/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"stack-demo","scriptUrl":"./stack-demo/stack-demo.js","output":"doxa-maps/stack-demo/stack-demo.js","integrity":"sha384-gnwM6s+puf1K60Nl7crQcC2QC+9BxwpkaTx4OepLZ8VUCraZc+aRlWpsb6nj6Gyf","elements":["stack-demo"],"composes":["research-dashboard-map","people-groups-grid"],"profiles":[{"profile":"stack-demo","file":"stack-demo.vue","description":"Groups TWO independent elements TOP-TO-BOTTOM so you can embed the pair on a page and","element":"stack-demo","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./stack-demo/stack-demo/index.html","scriptUrl":"./stack-demo/stack-demo.js","embed":{"iframe":"\u003ciframe src=\"./stack-demo/stack-demo/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./stack-demo/stack-demo.js\" integrity=\"sha384-gnwM6s+puf1K60Nl7crQcC2QC+9BxwpkaTx4OepLZ8VUCraZc+aRlWpsb6nj6Gyf\" crossorigin=\"anonymous\">\u003c/script>\n\u003cstack-demo profile-config='{\"profile\":\"stack-demo\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/stack-demo>"},"instances":[{"id":"pair","title":"pair","apiBaseUrl":"","props":{"profile":"stack-demo"},"element":"stack-demo","iframeUrl":"./stack-demo/stack-demo/pair/index.html","embed":{"iframe":"\u003ciframe src=\"./stack-demo/stack-demo/pair/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"template-bundle","scriptUrl":"./template-bundle/template-bundle.js","output":"doxa-maps/template-bundle/template-bundle.js","integrity":"sha384-k+G5UlkZ99QmuecCCWUrjz998JBJnQT3hsDG0A+IVmiX9F3CNswmHXXzYhjnUTDX","elements":["template-bundle"],"profiles":[{"profile":"template-map-a","file":"template-map-a.vue","description":"Minimal example profile A — a colored placeholder, no Mapbox or data.","element":"template-bundle","type":"single","isMap":false,"iframeUrl":"./template-bundle/template-map-a/index.html","scriptUrl":"./template-bundle/template-bundle.js","embed":{"iframe":"\u003ciframe src=\"./template-bundle/template-map-a/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./template-bundle/template-bundle.js\" integrity=\"sha384-k+G5UlkZ99QmuecCCWUrjz998JBJnQT3hsDG0A+IVmiX9F3CNswmHXXzYhjnUTDX\" crossorigin=\"anonymous\">\u003c/script>\n\u003ctemplate-bundle profile-config='{\"profile\":\"template-map-a\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/template-bundle>"},"bundle":"template-bundle"},{"profile":"template-map-b","file":"template-map-b.vue","description":"Minimal example profile B — a second profile in the same bundle.","element":"template-bundle","type":"single","isMap":false,"iframeUrl":"./template-bundle/template-map-b/index.html","scriptUrl":"./template-bundle/template-bundle.js","embed":{"iframe":"\u003ciframe src=\"./template-bundle/template-map-b/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./template-bundle/template-bundle.js\" integrity=\"sha384-k+G5UlkZ99QmuecCCWUrjz998JBJnQT3hsDG0A+IVmiX9F3CNswmHXXzYhjnUTDX\" crossorigin=\"anonymous\">\u003c/script>\n\u003ctemplate-bundle profile-config='{\"profile\":\"template-map-b\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/template-bundle>"},"bundle":"template-bundle"}]}]}; \n\n" + "script": "\n\n" }, "instances": [ { diff --git a/public/doxa-maps/people-groups-grid/people-groups-grid.js b/public/doxa-maps/people-groups-grid/people-groups-grid.js index 4a98f0355..8dc78bb82 100644 --- a/public/doxa-maps/people-groups-grid/people-groups-grid.js +++ b/public/doxa-maps/people-groups-grid/people-groups-grid.js @@ -6,15 +6,15 @@ * @vue/reactivity v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let ut;class Ti{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&ut&&(ut.active?(this.parent=ut,this.index=(ut.scopes||(ut.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,n;if(this.scopes){const o=this.scopes.slice();for(e=0,n=o.length;e0&&--this._on===0){if(ut===this)ut=this.prevScope;else{let e=ut;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let n,o;for(n=0,o=this.effects.length;n0)return;if(Ie){let e=Ie;for(Ie=void 0;e;){const n=e.next;e.next=void 0,e.flags&=-9,e=n}}let t;for(;qe;){let e=qe;for(qe=void 0;e;){const n=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(o){t||(t=o)}e=n}}if(t)throw t}function Ro(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Fo(t){let e,n=t.depsTail,o=n;for(;o;){const s=o.prevDep;o.version===-1?(o===n&&(n=s),Vn(o),ji(o)):e=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=s}t.deps=e,t.depsTail=n}function Bn(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Ho(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function Ho(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Me)||(t.globalVersion=Me,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!Bn(t))))return;t.flags|=2;const e=t.dep,n=tt,o=Dt;tt=t,Dt=!0;try{Ro(t);const s=t.fn(t._value);(e.version===0||Ut(s,t._value))&&(t.flags|=128,t._value=s,e.version++)}catch(s){throw e.version++,s}finally{tt=n,Dt=o,Fo(t),t.flags&=-3}}function Vn(t,e=!1){const{dep:n,prevSub:o,nextSub:s}=t;if(o&&(o.nextSub=s,t.prevSub=void 0),s&&(s.prevSub=o,t.nextSub=void 0),n.subs===t&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Vn(i,!0)}!e&&!--n.sc&&n.map&&n.map.delete(n.key)}function ji(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let Dt=!0;const Ko=[];function Bt(){Ko.push(Dt),Dt=!1}function Vt(){const t=Ko.pop();Dt=t===void 0?!0:t}function $o(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=tt;tt=void 0;try{e()}finally{tt=n}}}let Me=0;class qi{constructor(e,n){this.sub=e,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Wn{constructor(e){this.computed=e,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(e){if(!tt||!Dt||tt===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==tt)n=this.activeLink=new qi(tt,this),tt.deps?(n.prevDep=tt.depsTail,tt.depsTail.nextDep=n,tt.depsTail=n):tt.deps=tt.depsTail=n,Uo(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const o=n.nextDep;o.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=o),n.prevDep=tt.depsTail,n.nextDep=void 0,tt.depsTail.nextDep=n,tt.depsTail=n,tt.deps===n&&(tt.deps=o)}return n}trigger(e){this.version++,Me++,this.notify(e)}notify(e){$n();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Un()}}}function Uo(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let o=e.deps;o;o=o.nextDep)Uo(o)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const Gn=new WeakMap,fe=Symbol(""),Jn=Symbol(""),Le=Symbol("");function bt(t,e,n){if(Dt&&tt){let o=Gn.get(t);o||Gn.set(t,o=new Map);let s=o.get(n);s||(o.set(n,s=new Wn),s.map=o,s.key=n),s.track()}}function Zt(t,e,n,o,s,i){const r=Gn.get(t);if(!r){Me++;return}const a=c=>{c&&c.trigger()};if($n(),e==="clear")r.forEach(a);else{const c=L(t),u=c&&Dn(n);if(c&&n==="length"){const d=Number(o);r.forEach((g,x)=>{(x==="length"||x===Le||!$t(x)&&x>=d)&&a(g)})}else switch((n!==void 0||r.has(void 0))&&a(r.get(n)),u&&a(r.get(Le)),e){case"add":c?u&&a(r.get("length")):(a(r.get(fe)),re(t)&&a(r.get(Jn)));break;case"delete":c||(a(r.get(fe)),re(t)&&a(r.get(Jn)));break;case"set":re(t)&&a(r.get(fe));break}}Un()}function xe(t){const e=B(t);return e===t?e:(bt(e,"iterate",Le),Pt(t)?e:e.map(Rt))}function rn(t){return bt(t=B(t),"iterate",Le),t}function Wt(t,e){return te(t)?ke(de(t)?Rt(e):e):Rt(e)}const Ii={__proto__:null,[Symbol.iterator](){return Yn(this,Symbol.iterator,t=>Wt(this,t))},concat(...t){return xe(this).concat(...t.map(e=>L(e)?xe(e):e))},entries(){return Yn(this,"entries",t=>(t[1]=Wt(this,t[1]),t))},every(t,e){return Qt(this,"every",t,e,void 0,arguments)},filter(t,e){return Qt(this,"filter",t,e,n=>n.map(o=>Wt(this,o)),arguments)},find(t,e){return Qt(this,"find",t,e,n=>Wt(this,n),arguments)},findIndex(t,e){return Qt(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return Qt(this,"findLast",t,e,n=>Wt(this,n),arguments)},findLastIndex(t,e){return Qt(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return Qt(this,"forEach",t,e,void 0,arguments)},includes(...t){return Xn(this,"includes",t)},indexOf(...t){return Xn(this,"indexOf",t)},join(t){return xe(this).join(t)},lastIndexOf(...t){return Xn(this,"lastIndexOf",t)},map(t,e){return Qt(this,"map",t,e,void 0,arguments)},pop(){return ze(this,"pop")},push(...t){return ze(this,"push",t)},reduce(t,...e){return Bo(this,"reduce",t,e)},reduceRight(t,...e){return Bo(this,"reduceRight",t,e)},shift(){return ze(this,"shift")},some(t,e){return Qt(this,"some",t,e,void 0,arguments)},splice(...t){return ze(this,"splice",t)},toReversed(){return xe(this).toReversed()},toSorted(t){return xe(this).toSorted(t)},toSpliced(...t){return xe(this).toSpliced(...t)},unshift(...t){return ze(this,"unshift",t)},values(){return Yn(this,"values",t=>Wt(this,t))}};function Yn(t,e,n){const o=rn(t),s=o[e]();return o!==t&&!Pt(t)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.done||(i.value=n(i.value)),i}),s}const Mi=Array.prototype;function Qt(t,e,n,o,s,i){const r=rn(t),a=r!==t&&!Pt(t),c=r[e];if(c!==Mi[e]){const g=c.apply(t,i);return a?Rt(g):g}let u=n;r!==t&&(a?u=function(g,x){return n.call(this,Wt(t,g),x,t)}:n.length>2&&(u=function(g,x){return n.call(this,g,x,t)}));const d=c.call(r,u,o);return a&&s?s(d):d}function Bo(t,e,n,o){const s=rn(t),i=s!==t&&!Pt(t);let r=n,a=!1;s!==t&&(i?(a=o.length===0,r=function(u,d,g){return a&&(a=!1,u=Wt(t,u)),n.call(this,u,Wt(t,d),g,t)}):n.length>3&&(r=function(u,d,g){return n.call(this,u,d,g,t)}));const c=s[e](r,...o);return a?Wt(t,c):c}function Xn(t,e,n){const o=B(t);bt(o,"iterate",Le);const s=o[e](...n);return(s===-1||s===!1)&&eo(n[0])?(n[0]=B(n[0]),o[e](...n)):s}function ze(t,e,n=[]){Bt(),$n();const o=B(t)[e].apply(t,n);return Un(),Vt(),o}const Li=Pn("__proto__,__v_isRef,__isVue"),Vo=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter($t));function zi(t){$t(t)||(t=String(t));const e=B(this);return bt(e,"has",t),e.hasOwnProperty(t)}class Wo{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,o){if(n==="__v_skip")return e.__v_skip;const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return o===(s?i?Qo:Zo:i?Xo:Yo).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(o)?e:void 0;const r=L(e);if(!s){let c;if(r&&(c=Ii[n]))return c;if(n==="hasOwnProperty")return zi}const a=Reflect.get(e,n,ft(e)?e:o);if(($t(n)?Vo.has(n):Li(n))||(s||bt(e,"get",n),i))return a;if(ft(a)){const c=r&&Dn(n)?a:a.value;return s&&X(c)?to(c):c}return X(a)?s?to(a):Qn(a):a}}class Go extends Wo{constructor(e=!1){super(!1,e)}set(e,n,o,s){let i=e[n];const r=L(e)&&Dn(n);if(!this._isShallow){const u=te(i);if(!Pt(o)&&!te(o)&&(i=B(i),o=B(o)),!r&&ft(i)&&!ft(o))return u||(i.value=o),!0}const a=r?Number(n)t,an=t=>Reflect.getPrototypeOf(t);function Fi(t,e,n){return function(...o){const s=this.__v_raw,i=B(s),r=re(i),a=t==="entries"||t===Symbol.iterator&&r,c=t==="keys"&&r,u=s[t](...o),d=n?Zn:e?ke:Rt;return!e&&bt(i,"iterate",c?Jn:fe),st(Object.create(u),{next(){const{value:g,done:x}=u.next();return x?{value:g,done:x}:{value:a?[d(g[0]),d(g[1])]:d(g),done:x}}})}}function cn(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Hi(t,e){const n={get(s){const i=this.__v_raw,r=B(i),a=B(s);t||(Ut(s,a)&&bt(r,"get",s),bt(r,"get",a));const{has:c}=an(r),u=e?Zn:t?ke:Rt;if(c.call(r,s))return u(i.get(s));if(c.call(r,a))return u(i.get(a));i!==r&&i.get(s)},get size(){const s=this.__v_raw;return!t&&bt(B(s),"iterate",fe),s.size},has(s){const i=this.__v_raw,r=B(i),a=B(s);return t||(Ut(s,a)&&bt(r,"has",s),bt(r,"has",a)),s===a?i.has(s):i.has(s)||i.has(a)},forEach(s,i){const r=this,a=r.__v_raw,c=B(a),u=e?Zn:t?ke:Rt;return!t&&bt(c,"iterate",fe),a.forEach((d,g)=>s.call(i,u(d),u(g),r))}};return st(n,t?{add:cn("add"),set:cn("set"),delete:cn("delete"),clear:cn("clear")}:{add(s){const i=B(this),r=an(i),a=B(s),c=!e&&!Pt(s)&&!te(s)?a:s;return r.has.call(i,c)||Ut(s,c)&&r.has.call(i,s)||Ut(a,c)&&r.has.call(i,a)||(i.add(c),Zt(i,"add",c,c)),this},set(s,i){!e&&!Pt(i)&&!te(i)&&(i=B(i));const r=B(this),{has:a,get:c}=an(r);let u=a.call(r,s);u||(s=B(s),u=a.call(r,s));const d=c.call(r,s);return r.set(s,i),u?Ut(i,d)&&Zt(r,"set",s,i):Zt(r,"add",s,i),this},delete(s){const i=B(this),{has:r,get:a}=an(i);let c=r.call(i,s);c||(s=B(s),c=r.call(i,s)),a&&a.call(i,s);const u=i.delete(s);return c&&Zt(i,"delete",s,void 0),u},clear(){const s=B(this),i=s.size!==0,r=s.clear();return i&&Zt(s,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Fi(s,t,e)}),n}function ln(t,e){const n=Hi(t,e);return(o,s,i)=>s==="__v_isReactive"?!t:s==="__v_isReadonly"?t:s==="__v_raw"?o:Reflect.get(W(n,s)&&s in o?n:o,s,i)}const Ki={get:ln(!1,!1)},$i={get:ln(!1,!0)},Ui={get:ln(!0,!1)},Bi={get:ln(!0,!0)},Yo=new WeakMap,Xo=new WeakMap,Zo=new WeakMap,Qo=new WeakMap;function Vi(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Qn(t){return te(t)?t:un(t,!1,Pi,Ki,Yo)}function Wi(t){return un(t,!1,Di,$i,Xo)}function to(t){return un(t,!0,Oi,Ui,Zo)}function Bc(t){return un(t,!0,Ri,Bi,Qo)}function un(t,e,n,o,s){if(!X(t)||t.__v_raw&&!(e&&t.__v_isReactive)||t.__v_skip||!Object.isExtensible(t))return t;const i=s.get(t);if(i)return i;const r=Vi(_i(t));if(r===0)return t;const a=new Proxy(t,r===2?o:n);return s.set(t,a),a}function de(t){return te(t)?de(t.__v_raw):!!(t&&t.__v_isReactive)}function te(t){return!!(t&&t.__v_isReadonly)}function Pt(t){return!!(t&&t.__v_isShallow)}function eo(t){return t?!!t.__v_raw:!1}function B(t){const e=t&&t.__v_raw;return e?B(e):t}function Gi(t){return!W(t,"__v_skip")&&Object.isExtensible(t)&&Eo(t,"__v_skip",!0),t}const Rt=t=>X(t)?Qn(t):t,ke=t=>X(t)?to(t):t;function ft(t){return t?t.__v_isRef===!0:!1}function dt(t){return Ji(t,!1)}function Ji(t,e){return ft(t)?t:new Yi(t,e)}class Yi{constructor(e,n){this.dep=new Wn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:B(e),this._value=n?e:Rt(e),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(e){const n=this._rawValue,o=this.__v_isShallow||Pt(e)||te(e);e=o?e:B(e),Ut(e,n)&&(this._rawValue=e,this._value=o?e:Rt(e),this.dep.trigger())}}function no(t){return ft(t)?t.value:t}const Xi={get:(t,e,n)=>e==="__v_raw"?t:no(Reflect.get(t,e,n)),set:(t,e,n,o)=>{const s=t[e];return ft(s)&&!ft(n)?(s.value=n,!0):Reflect.set(t,e,n,o)}};function ts(t){return de(t)?t:new Proxy(t,Xi)}class Zi{constructor(e,n,o){this.fn=e,this.setter=n,this._value=void 0,this.dep=new Wn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Me-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&tt!==this)return Do(this,!0),!0}get value(){const e=this.dep.track();return Ho(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Qi(t,e,n=!1){let o,s;return P(t)?o=t:(o=t.get,s=t.set),new Zi(o,s,n)}const fn={},dn=new WeakMap;let he;function tr(t,e=!1,n=he){if(n){let o=dn.get(n);o||dn.set(n,o=[]),o.push(t)}}function er(t,e,n=Q){const{immediate:o,deep:s,once:i,scheduler:r,augmentJob:a,call:c}=n,u=q=>s?q:Pt(q)||s===!1||s===0?ae(q,1):ae(q);let d,g,x,S,M=!1,j=!1;if(ft(t)?(g=()=>t.value,M=Pt(t)):de(t)?(g=()=>u(t),M=!0):L(t)?(j=!0,M=t.some(q=>de(q)||Pt(q)),g=()=>t.map(q=>{if(ft(q))return q.value;if(de(q))return u(q);if(P(q))return c?c(q,2):q()})):P(t)?e?g=c?()=>c(t,2):t:g=()=>{if(x){Bt();try{x()}finally{Vt()}}const q=he;he=d;try{return c?c(t,3,[S]):t(S)}finally{he=q}}:g=Kt,e&&s){const q=g,J=s===!0?1/0:s;g=()=>ae(q(),J)}const U=Ei(),R=()=>{d.stop(),U&&U.active&&On(U.effects,d)};if(i&&e){const q=e;e=(...J)=>{const ht=q(...J);return R(),ht}}let O=j?new Array(t.length).fill(fn):fn;const F=q=>{if(!(!(d.flags&1)||!d.dirty&&!q))if(e){const J=d.run();if(q||s||M||(j?J.some((ht,ot)=>Ut(ht,O[ot])):Ut(J,O))){x&&x();const ht=he;he=d;try{const ot=[J,O===fn?void 0:j&&O[0]===fn?[]:O,S];O=J,c?c(e,3,ot):e(...ot)}finally{he=ht}}}else d.run()};return a&&a(F),d=new Po(g),d.scheduler=r?()=>r(F,!1):F,S=q=>tr(q,!1,d),x=d.onStop=()=>{const q=dn.get(d);if(q){if(c)c(q,4);else for(const J of q)J();dn.delete(d)}},e?o?F(!0):O=d.run():r?r(F.bind(null,!0),!0):d.run(),R.pause=d.pause.bind(d),R.resume=d.resume.bind(d),R.stop=R,R}function ae(t,e=1/0,n){if(e<=0||!X(t)||t.__v_skip||(n=n||new Map,(n.get(t)||0)>=e))return t;if(n.set(t,e),e--,ft(t))ae(t.value,e,n);else if(L(t))for(let o=0;o{ae(o,e,n)});else if(tn(t)){for(const o in t)ae(t[o],e,n);for(const o of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,o)&&ae(t[o],e,n)}return t}/** +**/let lt;class Ti{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&<&&(lt.active?(this.parent=lt,this.index=(lt.scopes||(lt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,n;if(this.scopes){const o=this.scopes.slice();for(e=0,n=o.length;e0&&--this._on===0){if(lt===this)lt=this.prevScope;else{let e=lt;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let n,o;for(n=0,o=this.effects.length;n0)return;if(Ie){let e=Ie;for(Ie=void 0;e;){const n=e.next;e.next=void 0,e.flags&=-9,e=n}}let t;for(;qe;){let e=qe;for(qe=void 0;e;){const n=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(o){t||(t=o)}e=n}}if(t)throw t}function Ro(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Fo(t){let e,n=t.depsTail,o=n;for(;o;){const s=o.prevDep;o.version===-1?(o===n&&(n=s),Vn(o),ji(o)):e=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=s}t.deps=e,t.depsTail=n}function Bn(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Ho(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function Ho(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Me)||(t.globalVersion=Me,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!Bn(t))))return;t.flags|=2;const e=t.dep,n=tt,o=Dt;tt=t,Dt=!0;try{Ro(t);const s=t.fn(t._value);(e.version===0||Ut(s,t._value))&&(t.flags|=128,t._value=s,e.version++)}catch(s){throw e.version++,s}finally{tt=n,Dt=o,Fo(t),t.flags&=-3}}function Vn(t,e=!1){const{dep:n,prevSub:o,nextSub:s}=t;if(o&&(o.nextSub=s,t.prevSub=void 0),s&&(s.prevSub=o,t.nextSub=void 0),n.subs===t&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Vn(i,!0)}!e&&!--n.sc&&n.map&&n.map.delete(n.key)}function ji(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let Dt=!0;const Ko=[];function Bt(){Ko.push(Dt),Dt=!1}function Vt(){const t=Ko.pop();Dt=t===void 0?!0:t}function $o(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=tt;tt=void 0;try{e()}finally{tt=n}}}let Me=0;class qi{constructor(e,n){this.sub=e,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Wn{constructor(e){this.computed=e,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(e){if(!tt||!Dt||tt===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==tt)n=this.activeLink=new qi(tt,this),tt.deps?(n.prevDep=tt.depsTail,tt.depsTail.nextDep=n,tt.depsTail=n):tt.deps=tt.depsTail=n,Uo(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const o=n.nextDep;o.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=o),n.prevDep=tt.depsTail,n.nextDep=void 0,tt.depsTail.nextDep=n,tt.depsTail=n,tt.deps===n&&(tt.deps=o)}return n}trigger(e){this.version++,Me++,this.notify(e)}notify(e){$n();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Un()}}}function Uo(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let o=e.deps;o;o=o.nextDep)Uo(o)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const Gn=new WeakMap,fe=Symbol(""),Jn=Symbol(""),Le=Symbol("");function mt(t,e,n){if(Dt&&tt){let o=Gn.get(t);o||Gn.set(t,o=new Map);let s=o.get(n);s||(o.set(n,s=new Wn),s.map=o,s.key=n),s.track()}}function Zt(t,e,n,o,s,i){const r=Gn.get(t);if(!r){Me++;return}const a=c=>{c&&c.trigger()};if($n(),e==="clear")r.forEach(a);else{const c=L(t),u=c&&Dn(n);if(c&&n==="length"){const d=Number(o);r.forEach((g,x)=>{(x==="length"||x===Le||!$t(x)&&x>=d)&&a(g)})}else switch((n!==void 0||r.has(void 0))&&a(r.get(n)),u&&a(r.get(Le)),e){case"add":c?u&&a(r.get("length")):(a(r.get(fe)),re(t)&&a(r.get(Jn)));break;case"delete":c||(a(r.get(fe)),re(t)&&a(r.get(Jn)));break;case"set":re(t)&&a(r.get(fe));break}}Un()}function xe(t){const e=U(t);return e===t?e:(mt(e,"iterate",Le),Pt(t)?e:e.map(Rt))}function rn(t){return mt(t=U(t),"iterate",Le),t}function Wt(t,e){return te(t)?ke(de(t)?Rt(e):e):Rt(e)}const Ii={__proto__:null,[Symbol.iterator](){return Yn(this,Symbol.iterator,t=>Wt(this,t))},concat(...t){return xe(this).concat(...t.map(e=>L(e)?xe(e):e))},entries(){return Yn(this,"entries",t=>(t[1]=Wt(this,t[1]),t))},every(t,e){return Qt(this,"every",t,e,void 0,arguments)},filter(t,e){return Qt(this,"filter",t,e,n=>n.map(o=>Wt(this,o)),arguments)},find(t,e){return Qt(this,"find",t,e,n=>Wt(this,n),arguments)},findIndex(t,e){return Qt(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return Qt(this,"findLast",t,e,n=>Wt(this,n),arguments)},findLastIndex(t,e){return Qt(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return Qt(this,"forEach",t,e,void 0,arguments)},includes(...t){return Xn(this,"includes",t)},indexOf(...t){return Xn(this,"indexOf",t)},join(t){return xe(this).join(t)},lastIndexOf(...t){return Xn(this,"lastIndexOf",t)},map(t,e){return Qt(this,"map",t,e,void 0,arguments)},pop(){return ze(this,"pop")},push(...t){return ze(this,"push",t)},reduce(t,...e){return Bo(this,"reduce",t,e)},reduceRight(t,...e){return Bo(this,"reduceRight",t,e)},shift(){return ze(this,"shift")},some(t,e){return Qt(this,"some",t,e,void 0,arguments)},splice(...t){return ze(this,"splice",t)},toReversed(){return xe(this).toReversed()},toSorted(t){return xe(this).toSorted(t)},toSpliced(...t){return xe(this).toSpliced(...t)},unshift(...t){return ze(this,"unshift",t)},values(){return Yn(this,"values",t=>Wt(this,t))}};function Yn(t,e,n){const o=rn(t),s=o[e]();return o!==t&&!Pt(t)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.done||(i.value=n(i.value)),i}),s}const Mi=Array.prototype;function Qt(t,e,n,o,s,i){const r=rn(t),a=r!==t&&!Pt(t),c=r[e];if(c!==Mi[e]){const g=c.apply(t,i);return a?Rt(g):g}let u=n;r!==t&&(a?u=function(g,x){return n.call(this,Wt(t,g),x,t)}:n.length>2&&(u=function(g,x){return n.call(this,g,x,t)}));const d=c.call(r,u,o);return a&&s?s(d):d}function Bo(t,e,n,o){const s=rn(t),i=s!==t&&!Pt(t);let r=n,a=!1;s!==t&&(i?(a=o.length===0,r=function(u,d,g){return a&&(a=!1,u=Wt(t,u)),n.call(this,u,Wt(t,d),g,t)}):n.length>3&&(r=function(u,d,g){return n.call(this,u,d,g,t)}));const c=s[e](r,...o);return a?Wt(t,c):c}function Xn(t,e,n){const o=U(t);mt(o,"iterate",Le);const s=o[e](...n);return(s===-1||s===!1)&&eo(n[0])?(n[0]=U(n[0]),o[e](...n)):s}function ze(t,e,n=[]){Bt(),$n();const o=U(t)[e].apply(t,n);return Un(),Vt(),o}const Li=Pn("__proto__,__v_isRef,__isVue"),Vo=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter($t));function zi(t){$t(t)||(t=String(t));const e=U(this);return mt(e,"has",t),e.hasOwnProperty(t)}class Wo{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,o){if(n==="__v_skip")return e.__v_skip;const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return o===(s?i?Qo:Zo:i?Xo:Yo).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(o)?e:void 0;const r=L(e);if(!s){let c;if(r&&(c=Ii[n]))return c;if(n==="hasOwnProperty")return zi}const a=Reflect.get(e,n,ut(e)?e:o);if(($t(n)?Vo.has(n):Li(n))||(s||mt(e,"get",n),i))return a;if(ut(a)){const c=r&&Dn(n)?a:a.value;return s&&X(c)?to(c):c}return X(a)?s?to(a):Qn(a):a}}class Go extends Wo{constructor(e=!1){super(!1,e)}set(e,n,o,s){let i=e[n];const r=L(e)&&Dn(n);if(!this._isShallow){const u=te(i);if(!Pt(o)&&!te(o)&&(i=U(i),o=U(o)),!r&&ut(i)&&!ut(o))return u||(i.value=o),!0}const a=r?Number(n)t,an=t=>Reflect.getPrototypeOf(t);function Fi(t,e,n){return function(...o){const s=this.__v_raw,i=U(s),r=re(i),a=t==="entries"||t===Symbol.iterator&&r,c=t==="keys"&&r,u=s[t](...o),d=n?Zn:e?ke:Rt;return!e&&mt(i,"iterate",c?Jn:fe),st(Object.create(u),{next(){const{value:g,done:x}=u.next();return x?{value:g,done:x}:{value:a?[d(g[0]),d(g[1])]:d(g),done:x}}})}}function cn(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Hi(t,e){const n={get(s){const i=this.__v_raw,r=U(i),a=U(s);t||(Ut(s,a)&&mt(r,"get",s),mt(r,"get",a));const{has:c}=an(r),u=e?Zn:t?ke:Rt;if(c.call(r,s))return u(i.get(s));if(c.call(r,a))return u(i.get(a));i!==r&&i.get(s)},get size(){const s=this.__v_raw;return!t&&mt(U(s),"iterate",fe),s.size},has(s){const i=this.__v_raw,r=U(i),a=U(s);return t||(Ut(s,a)&&mt(r,"has",s),mt(r,"has",a)),s===a?i.has(s):i.has(s)||i.has(a)},forEach(s,i){const r=this,a=r.__v_raw,c=U(a),u=e?Zn:t?ke:Rt;return!t&&mt(c,"iterate",fe),a.forEach((d,g)=>s.call(i,u(d),u(g),r))}};return st(n,t?{add:cn("add"),set:cn("set"),delete:cn("delete"),clear:cn("clear")}:{add(s){const i=U(this),r=an(i),a=U(s),c=!e&&!Pt(s)&&!te(s)?a:s;return r.has.call(i,c)||Ut(s,c)&&r.has.call(i,s)||Ut(a,c)&&r.has.call(i,a)||(i.add(c),Zt(i,"add",c,c)),this},set(s,i){!e&&!Pt(i)&&!te(i)&&(i=U(i));const r=U(this),{has:a,get:c}=an(r);let u=a.call(r,s);u||(s=U(s),u=a.call(r,s));const d=c.call(r,s);return r.set(s,i),u?Ut(i,d)&&Zt(r,"set",s,i):Zt(r,"add",s,i),this},delete(s){const i=U(this),{has:r,get:a}=an(i);let c=r.call(i,s);c||(s=U(s),c=r.call(i,s)),a&&a.call(i,s);const u=i.delete(s);return c&&Zt(i,"delete",s,void 0),u},clear(){const s=U(this),i=s.size!==0,r=s.clear();return i&&Zt(s,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Fi(s,t,e)}),n}function ln(t,e){const n=Hi(t,e);return(o,s,i)=>s==="__v_isReactive"?!t:s==="__v_isReadonly"?t:s==="__v_raw"?o:Reflect.get(W(n,s)&&s in o?n:o,s,i)}const Ki={get:ln(!1,!1)},$i={get:ln(!1,!0)},Ui={get:ln(!0,!1)},Bi={get:ln(!0,!0)},Yo=new WeakMap,Xo=new WeakMap,Zo=new WeakMap,Qo=new WeakMap;function Vi(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Qn(t){return te(t)?t:un(t,!1,Pi,Ki,Yo)}function Wi(t){return un(t,!1,Di,$i,Xo)}function to(t){return un(t,!0,Oi,Ui,Zo)}function Uc(t){return un(t,!0,Ri,Bi,Qo)}function un(t,e,n,o,s){if(!X(t)||t.__v_raw&&!(e&&t.__v_isReactive)||t.__v_skip||!Object.isExtensible(t))return t;const i=s.get(t);if(i)return i;const r=Vi(_i(t));if(r===0)return t;const a=new Proxy(t,r===2?o:n);return s.set(t,a),a}function de(t){return te(t)?de(t.__v_raw):!!(t&&t.__v_isReactive)}function te(t){return!!(t&&t.__v_isReadonly)}function Pt(t){return!!(t&&t.__v_isShallow)}function eo(t){return t?!!t.__v_raw:!1}function U(t){const e=t&&t.__v_raw;return e?U(e):t}function Gi(t){return!W(t,"__v_skip")&&Object.isExtensible(t)&&Eo(t,"__v_skip",!0),t}const Rt=t=>X(t)?Qn(t):t,ke=t=>X(t)?to(t):t;function ut(t){return t?t.__v_isRef===!0:!1}function ft(t){return Ji(t,!1)}function Ji(t,e){return ut(t)?t:new Yi(t,e)}class Yi{constructor(e,n){this.dep=new Wn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:U(e),this._value=n?e:Rt(e),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(e){const n=this._rawValue,o=this.__v_isShallow||Pt(e)||te(e);e=o?e:U(e),Ut(e,n)&&(this._rawValue=e,this._value=o?e:Rt(e),this.dep.trigger())}}function no(t){return ut(t)?t.value:t}const Xi={get:(t,e,n)=>e==="__v_raw"?t:no(Reflect.get(t,e,n)),set:(t,e,n,o)=>{const s=t[e];return ut(s)&&!ut(n)?(s.value=n,!0):Reflect.set(t,e,n,o)}};function ts(t){return de(t)?t:new Proxy(t,Xi)}class Zi{constructor(e,n,o){this.fn=e,this.setter=n,this._value=void 0,this.dep=new Wn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Me-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&tt!==this)return Do(this,!0),!0}get value(){const e=this.dep.track();return Ho(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Qi(t,e,n=!1){let o,s;return P(t)?o=t:(o=t.get,s=t.set),new Zi(o,s,n)}const fn={},dn=new WeakMap;let he;function tr(t,e=!1,n=he){if(n){let o=dn.get(n);o||dn.set(n,o=[]),o.push(t)}}function er(t,e,n=Q){const{immediate:o,deep:s,once:i,scheduler:r,augmentJob:a,call:c}=n,u=q=>s?q:Pt(q)||s===!1||s===0?ae(q,1):ae(q);let d,g,x,S,M=!1,j=!1;if(ut(t)?(g=()=>t.value,M=Pt(t)):de(t)?(g=()=>u(t),M=!0):L(t)?(j=!0,M=t.some(q=>de(q)||Pt(q)),g=()=>t.map(q=>{if(ut(q))return q.value;if(de(q))return u(q);if(P(q))return c?c(q,2):q()})):P(t)?e?g=c?()=>c(t,2):t:g=()=>{if(x){Bt();try{x()}finally{Vt()}}const q=he;he=d;try{return c?c(t,3,[S]):t(S)}finally{he=q}}:g=Kt,e&&s){const q=g,J=s===!0?1/0:s;g=()=>ae(q(),J)}const $=Ei(),R=()=>{d.stop(),$&&$.active&&On($.effects,d)};if(i&&e){const q=e;e=(...J)=>{const gt=q(...J);return R(),gt}}let O=j?new Array(t.length).fill(fn):fn;const F=q=>{if(!(!(d.flags&1)||!d.dirty&&!q))if(e){const J=d.run();if(q||s||M||(j?J.some((gt,ot)=>Ut(gt,O[ot])):Ut(J,O))){x&&x();const gt=he;he=d;try{const ot=[J,O===fn?void 0:j&&O[0]===fn?[]:O,S];O=J,c?c(e,3,ot):e(...ot)}finally{he=gt}}}else d.run()};return a&&a(F),d=new Po(g),d.scheduler=r?()=>r(F,!1):F,S=q=>tr(q,!1,d),x=d.onStop=()=>{const q=dn.get(d);if(q){if(c)c(q,4);else for(const J of q)J();dn.delete(d)}},e?o?F(!0):O=d.run():r?r(F.bind(null,!0),!0):d.run(),R.pause=d.pause.bind(d),R.resume=d.resume.bind(d),R.stop=R,R}function ae(t,e=1/0,n){if(e<=0||!X(t)||t.__v_skip||(n=n||new Map,(n.get(t)||0)>=e))return t;if(n.set(t,e),e--,ut(t))ae(t.value,e,n);else if(L(t))for(let o=0;o{ae(o,e,n)});else if(tn(t)){for(const o in t)ae(t[o],e,n);for(const o of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,o)&&ae(t[o],e,n)}return t}/** * @vue/runtime-core v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const Pe=[];let oo=!1;function Vc(t,...e){if(oo)return;oo=!0,Bt();const n=Pe.length?Pe[Pe.length-1].component:null,o=n&&n.appContext.config.warnHandler,s=nr();if(o)we(o,n,11,[t+e.map(i=>{var r,a;return(a=(r=i.toString)==null?void 0:r.call(i))!=null?a:JSON.stringify(i)}).join(""),n&&n.proxy,s.map(({vnode:i})=>`at <${Qs(n,i.type)}>`).join(` +**/const Pe=[];let oo=!1;function Bc(t,...e){if(oo)return;oo=!0,Bt();const n=Pe.length?Pe[Pe.length-1].component:null,o=n&&n.appContext.config.warnHandler,s=nr();if(o)we(o,n,11,[t+e.map(i=>{var r,a;return(a=(r=i.toString)==null?void 0:r.call(i))!=null?a:JSON.stringify(i)}).join(""),n&&n.proxy,s.map(({vnode:i})=>`at <${Qs(n,i.type)}>`).join(` `),s]);else{const i=[`[Vue warn]: ${t}`,...e];s.length&&i.push(` `,...or(s)),console.warn(...i)}Vt(),oo=!1}function nr(){let t=Pe[Pe.length-1];if(!t)return[];const e=[];for(;t;){const n=e[0];n&&n.vnode===t?n.recurseCount++:e.push({vnode:t,recurseCount:0});const o=t.component&&t.component.parent;t=o&&o.vnode}return e}function or(t){const e=[];return t.forEach((n,o)=>{e.push(...o===0?[]:[` -`],...sr(n))}),e}function sr({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",o=t.component?t.component.parent==null:!1,s=` at <${Qs(t.component,t.type,o)}`,i=">"+n;return t.props?[s,...ir(t.props),i]:[s+i]}function ir(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(o=>{e.push(...es(o,t[o]))}),n.length>3&&e.push(" ..."),e}function es(t,e,n){return nt(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?n?e:[`${t}=${e}`]:ft(e)?(e=es(t,B(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):P(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=B(e),n?e:[`${t}=`,e])}function we(t,e,n,o){try{return o?t(...o):t()}catch(s){hn(s,e,n)}}function Ft(t,e,n,o){if(P(t)){const s=we(t,e,n,o);return s&&Co(s)&&s.catch(i=>{hn(i,e,n)}),s}if(L(t)){const s=[];for(let i=0;i>>1,s=vt[o],i=Oe(s);i=Oe(n)?vt.push(t):vt.splice(ar(e),0,t),t.flags|=1,os()}}function os(){gn||(gn=ns.then(rs))}function cr(t){if(!L(t))ce&&t.id===-1?ce.splice(Se+1,0,t):t.flags&1||(Ae.push(t),t.flags|=1);else for(let e=0;eOe(n)-Oe(o));if(Ae.length=0,ce){for(let n=0;nt.id==null?t.flags&2?-1:1/0:t.id;function rs(t){try{for(Gt=0;Gt{o._d&&Us(-1);const i=bn(e),r=be.length;let a;try{a=t(...s)}finally{for(let c=be.length;c>r;c--)$s();bn(i),o._d&&Us(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function ge(t,e,n,o){const s=t.dirs,i=e&&e.dirs;for(let r=0;r1)return n&&P(e)?e.call(o&&o.proxy):e}}const fr=Symbol.for("v-scx"),dr=()=>mn(fr);function _n(t,e,n){return cs(t,e,n)}function cs(t,e,n=Q){const{immediate:o,deep:s,flush:i,once:r}=n,a=st({},n),c=e&&o||!e&&i!=="post";let u;if(Ve){if(i==="sync"){const S=dr();u=S.__watcherHandles||(S.__watcherHandles=[])}else if(!c){const S=()=>{};return S.stop=Kt,S.resume=Kt,S.pause=Kt,S}}const d=kt;a.call=(S,M,j)=>Ft(S,d,M,j);let g=!1;i==="post"?a.scheduler=S=>{Nt(S,d&&d.suspense)}:i!=="sync"&&(g=!0,a.scheduler=(S,M)=>{M?S():so(S)}),a.augmentJob=S=>{e&&(S.flags|=4),g&&(S.flags|=2,d&&(S.id=d.uid,S.i=d))};const x=er(t,e,a);return Ve&&(u?u.push(x):c&&x()),x}function hr(t,e,n){const o=this.proxy,s=nt(t)?t.includes(".")?ls(o,t):()=>o[t]:t.bind(o,o);let i;P(e)?i=e:(i=e.handler,n=e);const r=Be(this),a=cs(s,i.bind(o),n);return r(),a}function ls(t,e){const n=e.split(".");return()=>{let o=t;for(let s=0;st.__isTeleport,io=Symbol("_leaveCb");function pr(t){let e=t[0];if(t.length>1){for(const n of t)if(n.type!==ne){e=n;break}}return e}function us(t){if(!ao(t))return vn(t.type)&&t.children?pr(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:n}=t;if(n){if(e&16)return n[0];if(e&32&&P(n.default))return n.default()}}function ro(t,e){if(t.shapeFlag&6&&t.component){t.transition=e;const n=t.component.subTree;ro(vn(n.type)&&us(n)||n,e)}else t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function br(t,e){return P(t)?st({name:t.name},e,{setup:t}):t}function fs(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function ds(t,e){let n;return!!((n=Object.getOwnPropertyDescriptor(t,e))&&!n.configurable)}const yn=new WeakMap;function De(t,e,n,o,s=!1){if(L(t)){t.forEach((j,U)=>De(j,e&&(L(e)?e[U]:e),n,o,s));return}if(Re(o)&&!s){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&De(t,e,n,o.component.subTree);return}const i=o.shapeFlag&4?_o(o.component):o.el,r=s?null:i,{i:a,r:c}=t,u=e&&e.r,d=a.refs===Q?a.refs={}:a.refs,g=a.setupState,x=B(g),S=g===Q?Ao:j=>ds(d,j)?!1:W(x,j),M=(j,U)=>!(U&&ds(d,U));if(u!=null&&u!==c){if(hs(e),nt(u))d[u]=null,S(u)&&(g[u]=null);else if(ft(u)){const j=e;M(u,j.k)&&(u.value=null),j.k&&(d[j.k]=null)}}if(P(c))we(c,a,12,[r,d]);else{const j=nt(c),U=ft(c);if(j||U){const R=()=>{if(t.f){const O=j?S(c)?g[c]:d[c]:M()||!t.k?c.value:d[t.k];if(s)L(O)&&On(O,i);else if(L(O))O.includes(i)||O.push(i);else if(j)d[c]=[i],S(c)&&(g[c]=d[c]);else{const F=[i];M(c,t.k)&&(c.value=F),t.k&&(d[t.k]=F)}}else j?(d[c]=r,S(c)&&(g[c]=r)):U&&(M(c,t.k)&&(c.value=r),t.k&&(d[t.k]=r))};if(r){const O=()=>{R(),yn.delete(t)};O.id=-1,yn.set(t,O),Nt(O,n)}else hs(t),R()}}}function hs(t){const e=yn.get(t);e&&(e.flags|=8,yn.delete(t))}nn().requestIdleCallback,nn().cancelIdleCallback;const Re=t=>!!t.type.__asyncLoader,ao=t=>t.type.__isKeepAlive;function mr(t,e){gs(t,"a",e)}function _r(t,e){gs(t,"da",e)}function gs(t,e,n=kt){const o=t.__wdc||(t.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return t()});if(xn(e,o,n),n){let s=n.parent;for(;s&&s.parent;)ao(s.parent.vnode)&&vr(o,e,n,s),s=s.parent}}function vr(t,e,n,o){const s=xn(e,t,o,!0);ms(()=>{On(o[e],s)},n)}function xn(t,e,n=kt,o=!1){if(n){const s=n[t]||(n[t]=[]),i=e.__weh||(e.__weh=(...r)=>{Bt();const a=Be(n),c=Ft(e,n,t,r);return a(),Vt(),c});return o?s.unshift(i):s.push(i),i}}const ee=t=>(e,n=kt)=>{(!Ve||t==="sp")&&xn(t,(...o)=>e(...o),n)},yr=ee("bm"),ps=ee("m"),xr=ee("bu"),kr=ee("u"),bs=ee("bum"),ms=ee("um"),wr=ee("sp"),Ar=ee("rtg"),Sr=ee("rtc");function Cr(t,e=kt){xn("ec",t,e)}const Nr=Symbol.for("v-ndc");function kn(t,e,n,o){let s;const i=n,r=L(t);if(r||nt(t)){const a=r&&de(t);let c=!1,u=!1;a&&(c=!Pt(t),u=te(t),t=rn(t)),s=new Array(t.length);for(let d=0,g=t.length;de(a,c,void 0,i));else{const a=Object.keys(t);s=new Array(a.length);for(let c=0,u=a.length;ct?Ys(t)?_o(t):co(t.parent):null,Fe=st(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>co(t.parent),$root:t=>co(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>xs(t),$forceUpdate:t=>t.f||(t.f=()=>{so(t.update)}),$nextTick:t=>t.n||(t.n=pn.bind(t.proxy)),$watch:t=>hr.bind(t)}),lo=(t,e)=>t!==Q&&!t.__isScriptSetup&&W(t,e),Tr={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:o,data:s,props:i,accessCache:r,type:a,appContext:c}=t;if(e[0]!=="$"){const x=r[e];if(x!==void 0)switch(x){case 1:return o[e];case 2:return s[e];case 4:return n[e];case 3:return i[e]}else{if(lo(o,e))return r[e]=1,o[e];if(s!==Q&&W(s,e))return r[e]=2,s[e];if(W(i,e))return r[e]=3,i[e];if(n!==Q&&W(n,e))return r[e]=4,n[e];uo&&(r[e]=0)}}const u=Fe[e];let d,g;if(u)return e==="$attrs"&&bt(t.attrs,"get",""),u(t);if((d=a.__cssModules)&&(d=d[e]))return d;if(n!==Q&&W(n,e))return r[e]=4,n[e];if(g=c.config.globalProperties,W(g,e))return g[e]},set({_:t},e,n){const{data:o,setupState:s,ctx:i}=t;return lo(s,e)?(s[e]=n,!0):o!==Q&&W(o,e)?(o[e]=n,!0):W(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(i[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:o,appContext:s,props:i,type:r}},a){let c;return!!(n[a]||t!==Q&&a[0]!=="$"&&W(t,a)||lo(e,a)||W(i,a)||W(o,a)||W(Fe,a)||W(s.config.globalProperties,a)||(c=r.__cssModules)&&c[a])},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:W(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function _s(t){return L(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let uo=!0;function Er(t){const e=xs(t),n=t.proxy,o=t.ctx;uo=!1,e.beforeCreate&&vs(e.beforeCreate,t,"bc");const{data:s,computed:i,methods:r,watch:a,provide:c,inject:u,created:d,beforeMount:g,mounted:x,beforeUpdate:S,updated:M,activated:j,deactivated:U,beforeDestroy:R,beforeUnmount:O,destroyed:F,unmounted:q,render:J,renderTracked:ht,renderTriggered:ot,errorCaptured:Tt,serverPrefetch:D,expose:I,inheritAttrs:V,components:qt,directives:wt,filters:Ot}=e;if(u&&jr(u,o,null),r)for(const G in r){const Y=r[G];P(Y)&&(o[G]=Y.bind(n))}if(s){const G=s.call(n,n);X(G)&&(t.data=Qn(G))}if(uo=!0,i)for(const G in i){const Y=i[G],gt=P(Y)?Y.bind(n,n):P(Y.get)?Y.get.bind(n,n):Kt,It=!P(Y)&&P(Y.set)?Y.set.bind(n):Kt,Mt=it({get:gt,set:It});Object.defineProperty(o,G,{enumerable:!0,configurable:!0,get:()=>Mt.value,set:_t=>Mt.value=_t})}if(a)for(const G in a)ys(a[G],o,n,G);if(c){const G=P(c)?c.call(n):c;Reflect.ownKeys(G).forEach(Y=>{ur(Y,G[Y])})}d&&vs(d,t,"c");function ct(G,Y){L(Y)?Y.forEach(gt=>G(gt.bind(n))):Y&&G(Y.bind(n))}if(ct(yr,g),ct(ps,x),ct(xr,S),ct(kr,M),ct(mr,j),ct(_r,U),ct(Cr,Tt),ct(Sr,ht),ct(Ar,ot),ct(bs,O),ct(ms,q),ct(wr,D),L(I))if(I.length){const G=t.exposed||(t.exposed={});I.forEach(Y=>{Object.defineProperty(G,Y,{get:()=>n[Y],set:gt=>n[Y]=gt,enumerable:!0})})}else t.exposed||(t.exposed={});J&&t.render===Kt&&(t.render=J),V!=null&&(t.inheritAttrs=V),qt&&(t.components=qt),wt&&(t.directives=wt),D&&fs(t)}function jr(t,e,n=Kt){L(t)&&(t=fo(t));for(const o in t){const s=t[o];let i;X(s)?"default"in s?i=mn(s.from||o,s.default,!0):i=mn(s.from||o):i=mn(s),ft(i)?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:r=>i.value=r}):e[o]=i}}function vs(t,e,n){Ft(L(t)?t.map(o=>o.bind(e.proxy)):t.bind(e.proxy),e,n)}function ys(t,e,n,o){let s=o.includes(".")?ls(n,o):()=>n[o];if(nt(t)){const i=e[t];P(i)&&_n(s,i)}else if(P(t))_n(s,t.bind(n));else if(X(t))if(L(t))t.forEach(i=>ys(i,e,n,o));else{const i=P(t.handler)?t.handler.bind(n):e[t.handler];P(i)&&_n(s,i,t)}}function xs(t){const e=t.type,{mixins:n,extends:o}=e,{mixins:s,optionsCache:i,config:{optionMergeStrategies:r}}=t.appContext,a=i.get(e);let c;return a?c=a:!s.length&&!n&&!o?c=e:(c={},s.length&&s.forEach(u=>wn(c,u,r,!0)),wn(c,e,r)),X(e)&&i.set(e,c),c}function wn(t,e,n,o=!1){const{mixins:s,extends:i}=e;i&&wn(t,i,n,!0),s&&s.forEach(r=>wn(t,r,n,!0));for(const r in e)if(!(o&&r==="expose")){const a=qr[r]||n&&n[r];t[r]=a?a(t[r],e[r]):e[r]}return t}const qr={data:ks,props:ws,emits:ws,methods:He,computed:He,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:He,directives:He,watch:Mr,provide:ks,inject:Ir};function ks(t,e){return e?t?function(){return st(P(t)?t.call(this,this):t,P(e)?e.call(this,this):e)}:e:t}function Ir(t,e){return He(fo(t),fo(e))}function fo(t){if(L(t)){const e={};for(let n=0;ne==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Ct(e)}Modifiers`]||t[`${zt(e)}Modifiers`];function Or(t,e,...n){if(t.isUnmounted)return;const o=t.vnode.props||Q;let s=n;const i=e.startsWith("update:"),r=i&&Pr(o,e.slice(7));r&&(r.trim&&(s=n.map(d=>nt(d)?d.trim():d)),r.number&&(s=s.map(xi)));let a,c=o[a=Rn(e)]||o[a=Rn(Ct(e))];!c&&i&&(c=o[a=Rn(zt(e))]),c&&Ft(c,t,6,s);const u=o[a+"Once"];if(u){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Ft(u,t,6,s)}}const Dr=new WeakMap;function Ss(t,e,n=!1){const o=n?Dr:e.emitsCache,s=o.get(t);if(s!==void 0)return s;const i=t.emits;let r={},a=!1;if(!P(t)){const c=u=>{const d=Ss(u,e,!0);d&&(a=!0,st(r,d))};!n&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}return!i&&!a?(X(t)&&o.set(t,null),null):(L(i)?i.forEach(c=>r[c]=null):st(r,i),X(t)&&o.set(t,r),r)}function An(t,e){return!t||!Xe(e)?!1:(e=e.slice(2),e=e==="Once"?e:e.replace(/Once$/,""),W(t,e[0].toLowerCase()+e.slice(1))||W(t,zt(e))||W(t,e))}function Wc(){}function Cs(t){const{type:e,vnode:n,proxy:o,withProxy:s,propsOptions:[i],slots:r,attrs:a,emit:c,render:u,renderCache:d,props:g,data:x,setupState:S,ctx:M,inheritAttrs:j}=t,U=bn(t);let R,O;try{if(n.shapeFlag&4){const q=s||o,J=q;R=Yt(u.call(J,q,d,g,S,x,M)),O=a}else{const q=e;R=Yt(q.length>1?q(g,{attrs:a,slots:r,emit:c}):q(g,null)),O=e.props?a:Rr(a)}}catch(q){be.length=0,hn(q,t,1),R=xt(ne)}let F=R;if(O&&j!==!1){const q=Object.keys(O),{shapeFlag:J}=F;q.length&&J&7&&(i&&q.some(Ze)&&(O=Fr(O,i)),F=Ne(F,O,!1,!0))}if(n.dirs&&(F=Ne(F,null,!1,!0),F.dirs=F.dirs?F.dirs.concat(n.dirs):n.dirs),n.transition){const q=vn(F.type)&&us(F)||F;ro(q,n.transition)}return R=F,bn(U),R}const Rr=t=>{let e;for(const n in t)(n==="class"||n==="style"||Xe(n))&&((e||(e={}))[n]=t[n]);return e},Fr=(t,e)=>{const n={};for(const o in t)(!Ze(o)||!(o.slice(9)in e))&&(n[o]=t[o]);return n};function Hr(t,e,n){const{props:o,children:s,component:i}=t,{props:r,children:a,patchFlag:c}=e,u=i.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return o?Ns(o,r,u):!!r;if(c&8){const d=e.dynamicProps;for(let g=0;gObject.create(Es),qs=t=>Object.getPrototypeOf(t)===Es;function $r(t,e,n,o=!1){const s={},i=js();t.propsDefaults=Object.create(null),Is(t,e,s,i);for(const r in t.propsOptions[0])r in s||(s[r]=void 0);n?t.props=o?s:Wi(s):t.type.props?t.props=s:t.props=i,t.attrs=i}function Ur(t,e,n,o){const{props:s,attrs:i,vnode:{patchFlag:r}}=t,a=B(s),[c]=t.propsOptions;let u=!1;if((o||r>0)&&!(r&16)){if(r&8){const d=t.vnode.dynamicProps;for(let g=0;g{c=!0;const[x,S]=Ms(g,e,!0);st(r,x),S&&a.push(...S)};!n&&e.mixins.length&&e.mixins.forEach(d),t.extends&&d(t.extends),t.mixins&&t.mixins.forEach(d)}if(!i&&!c)return X(t)&&o.set(t,ve),ve;if(L(i))for(let d=0;dt==="_"||t==="_ctx"||t==="$stable",po=t=>L(t)?t.map(Yt):[Yt(t)],Vr=(t,e,n)=>{if(e._n)return e;const o=lr((...s)=>po(e(...s)),n);return o._c=!1,o},zs=(t,e,n)=>{const o=t._ctx;for(const s in t){if(go(s))continue;const i=t[s];if(P(i))e[s]=Vr(s,i,o);else if(i!=null){const r=po(i);e[s]=()=>r}}},Ps=(t,e)=>{const n=po(e);t.slots.default=()=>n},Os=(t,e,n)=>{for(const o in e)(n||!go(o))&&(t[o]=e[o])},Wr=(t,e,n)=>{const o=t.slots=js();if(t.vnode.shapeFlag&32){const s=e._;s?(Os(o,e,n),n&&Eo(o,"_",s,!0)):zs(e,o)}else e&&Ps(t,e)},Gr=(t,e,n)=>{const{vnode:o,slots:s}=t;let i=!0,r=Q;if(o.shapeFlag&32){const a=e._;a?n&&a===1?i=!1:Os(s,e,n):(i=!e.$stable,zs(e,s)),r=e}else e&&(Ps(t,e),r={default:1});if(i)for(const a in s)!go(a)&&r[a]==null&&delete s[a]},Nt=Qr;function Jr(t){return Yr(t)}function Yr(t,e){const n=nn();n.__VUE__=!0;const{insert:o,remove:s,patchProp:i,createElement:r,createText:a,createComment:c,setText:u,setElementText:d,parentNode:g,nextSibling:x,setScopeId:S=Kt,insertStaticContent:M}=t,j=(l,f,p,y=null,v=null,_=null,C=void 0,A=null,w=!!f.dynamicChildren)=>{if(l===f)return;l&&!$e(l,f)&&(y=_e(l),_t(l,v,_,!0),l=null),f.patchFlag===-2&&(w=!1,f.dynamicChildren=null);const{type:h,ref:b,shapeFlag:m}=f;switch(h){case Sn:U(l,f,p,y);break;case ne:R(l,f,p,y);break;case mo:l==null&&O(f,p,y,C);break;case at:qt(l,f,p,y,v,_,C,A,w);break;default:m&1?J(l,f,p,y,v,_,C,A,w):m&6?wt(l,f,p,y,v,_,C,A,w):(m&64||m&128)&&h.process(l,f,p,y,v,_,C,A,w,ue)}b!=null&&v?De(b,l&&l.ref,_,f||l,!f):b==null&&l&&l.ref!=null&&De(l.ref,null,_,l,!0)},U=(l,f,p,y)=>{if(l==null)o(f.el=a(f.children),p,y);else{const v=f.el=l.el;f.children!==l.children&&u(v,f.children)}},R=(l,f,p,y)=>{l==null?o(f.el=c(f.children||""),p,y):f.el=l.el},O=(l,f,p,y)=>{[l.el,l.anchor]=M(l.children,f,p,y,l.el,l.anchor)},F=({el:l,anchor:f},p,y)=>{let v;for(;l&&l!==f;)v=x(l),o(l,p,y),l=v;o(f,p,y)},q=({el:l,anchor:f})=>{let p;for(;l&&l!==f;)p=x(l),s(l),l=p;s(f)},J=(l,f,p,y,v,_,C,A,w)=>{if(f.type==="svg"?C="svg":f.type==="math"&&(C="mathml"),l==null)ht(f,p,y,v,_,C,A,w);else{const h=l.el&&l.el._isVueCE?l.el:null;try{h&&h._beginPatch(),D(l,f,v,_,C,A,w)}finally{h&&h._endPatch()}}},ht=(l,f,p,y,v,_,C,A)=>{let w,h;const{props:b,shapeFlag:m,transition:k,dirs:N}=l;if(w=l.el=r(l.type,_,b&&b.is,b),m&8?d(w,l.children):m&16&&Tt(l.children,w,null,y,v,bo(l,_),C,A),N&&ge(l,null,y,"created"),ot(w,l,l.scopeId,C,y),b){for(const T in b)T!=="value"&&!je(T)&&i(w,T,null,b[T],_,y);"value"in b&&i(w,"value",null,b.value,_),(h=b.onVnodeBeforeMount)&&Xt(h,y,l)}N&&ge(l,null,y,"beforeMount");const E=Xr(v,k);E&&k.beforeEnter(w),o(w,f,p),((h=b&&b.onVnodeMounted)||E||N)&&Nt(()=>{try{h&&Xt(h,y,l),E&&k.enter(w),N&&ge(l,null,y,"mounted")}finally{}},v)},ot=(l,f,p,y,v)=>{if(p&&S(l,p),y)for(let _=0;_{for(let h=w;h{const A=f.el=l.el;let{patchFlag:w,dynamicChildren:h,dirs:b}=f;w|=l.patchFlag&16;const m=l.props||Q,k=f.props||Q;let N;if(p&&pe(p,!1),(N=k.onVnodeBeforeUpdate)&&Xt(N,p,f,l),b&&ge(f,l,p,"beforeUpdate"),p&&pe(p,!0),h&&(!l.dynamicChildren||l.dynamicChildren.length!==h.length)&&(w=0,C=!1,h=null),(m.innerHTML&&k.innerHTML==null||m.textContent&&k.textContent==null)&&d(A,""),h?I(l.dynamicChildren,h,A,p,y,bo(f,v),_):C||Y(l,f,A,null,p,y,bo(f,v),_,!1),w>0){if(w&16)V(A,m,k,p,v);else if(w&2&&m.class!==k.class&&i(A,"class",null,k.class,v),w&4&&i(A,"style",m.style,k.style,v),w&8){const E=f.dynamicProps;for(let T=0;T{N&&Xt(N,p,f,l),b&&ge(f,l,p,"updated")},y)},I=(l,f,p,y,v,_,C)=>{for(let A=0;A{if(f!==p){if(f!==Q)for(const _ in f)!je(_)&&!(_ in p)&&i(l,_,f[_],null,v,y);for(const _ in p){if(je(_))continue;const C=p[_],A=f[_];C!==A&&_!=="value"&&i(l,_,A,C,v,y)}"value"in p&&i(l,"value",f.value,p.value,v)}},qt=(l,f,p,y,v,_,C,A,w)=>{const h=f.el=l?l.el:a(""),b=f.anchor=l?l.anchor:a("");let{patchFlag:m,dynamicChildren:k,slotScopeIds:N}=f;N&&(A=A?A.concat(N):N),l==null?(o(h,p,y),o(b,p,y),Tt(f.children||[],p,b,v,_,C,A,w)):m>0&&m&64&&k&&l.dynamicChildren&&l.dynamicChildren.length===k.length?(I(l.dynamicChildren,k,p,v,_,C,A),(f.key!=null||v&&f===v.subTree)&&Ds(l,f,!0)):Y(l,f,p,b,v,_,C,A,w)},wt=(l,f,p,y,v,_,C,A,w)=>{f.slotScopeIds=A,l==null?f.shapeFlag&512?v.ctx.activate(f,p,y,C,w):Ot(f,p,y,v,_,C,w):At(l,f,w)},Ot=(l,f,p,y,v,_,C)=>{const A=l.component=ra(l,y,v);if(ao(l)&&(A.ctx.renderer=ue),aa(A,!1,C),A.asyncDep){if(v&&v.registerDep(A,ct,C),!l.el){const w=A.subTree=xt(ne);R(null,w,f,p),l.placeholder=w.el}}else ct(A,l,f,p,v,_,C)},At=(l,f,p)=>{const y=f.component=l.component;if(Hr(l,f,p))if(y.asyncDep&&!y.asyncResolved){G(y,f,p);return}else y.next=f,y.update();else f.el=l.el,y.vnode=f},ct=(l,f,p,y,v,_,C)=>{const A=()=>{if(l.isMounted){let{next:m,bu:k,u:N,parent:E,vnode:T}=l;{const St=Rs(l);if(St){m&&(m.el=T.el,G(l,m,C)),St.asyncDep.then(()=>{Nt(()=>{l.isUnmounted||h()},v)});return}}let z=m,Z;pe(l,!1),m?(m.el=T.el,G(l,m,C)):m=T,k&&Fn(k),(Z=m.props&&m.props.onVnodeBeforeUpdate)&&Xt(Z,E,m,T),pe(l,!0);const et=Cs(l),lt=l.subTree;l.subTree=et,j(lt,et,g(lt.el),_e(lt),l,v,_),m.el=et.el,z===null&&Kr(l,et.el),N&&Nt(N,v),(Z=m.props&&m.props.onVnodeUpdated)&&Nt(()=>Xt(Z,E,m,T),v)}else{let m;const{el:k,props:N}=f,{bm:E,m:T,parent:z,root:Z,type:et}=l,lt=Re(f);pe(l,!1),E&&Fn(E),!lt&&(m=N&&N.onVnodeBeforeMount)&&Xt(m,z,f),pe(l,!0);{Z.ce&&Z.ce._hasShadowRoot()&&Z.ce._injectChildStyle(et,l.parent?l.parent.type:void 0);const St=l.subTree=Cs(l);j(null,St,p,y,l,v,_),f.el=St.el}if(T&&Nt(T,v),!lt&&(m=N&&N.onVnodeMounted)){const St=f;Nt(()=>Xt(m,z,St),v)}(f.shapeFlag&256||z&&Re(z.vnode)&&z.vnode.shapeFlag&256)&&l.a&&Nt(l.a,v),l.isMounted=!0,f=p=y=null}};l.scope.on();const w=l.effect=new Po(A);l.scope.off();const h=l.update=w.run.bind(w),b=l.job=w.runIfDirty.bind(w);b.i=l,b.id=l.uid,w.scheduler=()=>so(b),pe(l,!0),h()},G=(l,f,p)=>{f.component=l;const y=l.vnode.props;l.vnode=f,l.next=null,Ur(l,f.props,y,p),Gr(l,f.children,p),Bt(),ss(l),Vt()},Y=(l,f,p,y,v,_,C,A,w=!1)=>{const h=l&&l.children,b=l?l.shapeFlag:0,m=f.children,{patchFlag:k,shapeFlag:N}=f;if(k>0){if(k&128){It(h,m,p,y,v,_,C,A,w);return}else if(k&256){gt(h,m,p,y,v,_,C,A,w);return}}N&8?(b&16&&le(h,v,_),m!==h&&d(p,m)):b&16?N&16?It(h,m,p,y,v,_,C,A,w):le(h,v,_,!0):(b&8&&d(p,""),N&16&&Tt(m,p,y,v,_,C,A,w))},gt=(l,f,p,y,v,_,C,A,w)=>{l=l||ve,f=f||ve;const h=l.length,b=f.length,m=Math.min(h,b);let k;for(k=0;kb?le(l,v,_,!0,!1,m):Tt(f,p,y,v,_,C,A,w,m)},It=(l,f,p,y,v,_,C,A,w)=>{let h=0;const b=f.length;let m=l.length-1,k=b-1;for(;h<=m&&h<=k;){const N=l[h],E=f[h]=w?se(f[h]):Yt(f[h]);if($e(N,E))j(N,E,p,null,v,_,C,A,w);else break;h++}for(;h<=m&&h<=k;){const N=l[m],E=f[k]=w?se(f[k]):Yt(f[k]);if($e(N,E))j(N,E,p,null,v,_,C,A,w);else break;m--,k--}if(h>m){if(h<=k){const N=k+1,E=Nk)for(;h<=m;)_t(l[h],v,_,!0),h++;else{const N=h,E=h,T=new Map;for(h=E;h<=k;h++){const pt=f[h]=w?se(f[h]):Yt(f[h]);pt.key!=null&&T.set(pt.key,h)}let z,Z=0;const et=k-E+1;let lt=!1,St=0;const Et=new Array(et);for(h=0;h=et){_t(pt,v,_,!0);continue}let Lt;if(pt.key!=null)Lt=T.get(pt.key);else for(z=E;z<=k;z++)if(Et[z-E]===0&&$e(pt,f[z])){Lt=z;break}Lt===void 0?_t(pt,v,_,!0):(Et[Lt-E]=h+1,Lt>=St?St=Lt:lt=!0,j(pt,f[Lt],p,null,v,_,C,A,w),Z++)}const Ht=lt?Zr(Et):ve;for(z=Ht.length-1,h=et-1;h>=0;h--){const pt=E+h,Lt=f[pt],Te=f[pt+1],Ln=pt+1{const{el:_,type:C,transition:A,children:w,shapeFlag:h}=l;if(h&6){Mt(l.component.subTree,f,p,y);return}if(h&128){l.suspense.move(f,p,y);return}if(h&64){C.move(l,f,p,ue);return}if(C===at){o(_,f,p);for(let m=0;mA.enter(_),v));else{const{leave:m,delayLeave:k,afterLeave:N}=A,E=()=>{l.ctx.isUnmounted?s(_):o(_,f,p)},T=()=>{const z=_._isLeaving||!!_[io];_._isLeaving&&_[io](!0),A.persisted&&!z?E():m(_,()=>{E(),N&&N()})};k?k(_,E,T):T()}else o(_,f,p)},_t=(l,f,p,y=!1,v=!1)=>{const{type:_,props:C,ref:A,children:w,dynamicChildren:h,shapeFlag:b,patchFlag:m,dirs:k,cacheIndex:N,memo:E}=l;if(m===-2&&(v=!1),A!=null&&(Bt(),De(A,null,p,l,!0),Vt()),N!=null&&(f.renderCache[N]=void 0),b&256){f.ctx.deactivate(l);return}const T=b&1&&k,z=!Re(l);let Z;if(z&&(Z=C&&C.onVnodeBeforeUnmount)&&Xt(Z,f,l),b&6)In(l.component,p,y);else{if(b&128){l.suspense.unmount(p,y);return}T&&ge(l,null,f,"beforeUnmount"),b&64?l.type.remove(l,f,p,ue,y):h&&!h.hasOnce&&(_!==at||m>0&&m&64)?le(h,f,p,!1,!0):(_===at&&m&384||!v&&b&16)&&le(w,f,p),y&&me(l)}const et=E!=null&&N==null;(z&&(Z=C&&C.onVnodeUnmounted)||T||et)&&Nt(()=>{Z&&Xt(Z,f,l),T&&ge(l,null,f,"unmounted"),et&&(l.el=null)},p)},me=l=>{const{type:f,el:p,anchor:y,transition:v}=l;if(f===at){Je(p,y);return}if(f===mo){q(l);return}const _=()=>{s(p),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(l.shapeFlag&1&&v&&!v.persisted){const{leave:C,delayLeave:A}=v,w=()=>C(p,_);A?A(l.el,_,w):w()}else _()},Je=(l,f)=>{let p;for(;l!==f;)p=x(l),s(l),l=p;s(f)},In=(l,f,p)=>{const{bum:y,scope:v,job:_,subTree:C,um:A,m:w,a:h}=l;Fs(w),Fs(h),y&&Fn(y),v.stop(),_&&(_.flags|=8,_t(C,l,f,p)),A&&Nt(A,f),Nt(()=>{l.isUnmounted=!0},f)},le=(l,f,p,y=!1,v=!1,_=0)=>{for(let C=_;C{if(l.shapeFlag&6)return _e(l.component.subTree);if(l.shapeFlag&128)return l.suspense.next();const f=x(l.anchor||l.el),p=f&&f[gr];return p?x(p):f};let Ye=!1;const Mn=(l,f,p)=>{let y;l==null?f._vnode&&(_t(f._vnode,null,null,!0),y=f._vnode.component):j(f._vnode||null,l,f,null,null,null,p),f._vnode=l,Ye||(Ye=!0,ss(y),is(),Ye=!1)},ue={p:j,um:_t,m:Mt,r:me,mt:Ot,mc:Tt,pc:Y,pbc:I,n:_e,o:t};return{render:Mn,hydrate:void 0,createApp:zr(Mn)}}function bo({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function pe({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function Xr(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Ds(t,e,n=!1){const o=t.children,s=e.children;if(L(o)&&L(s))for(let i=0;i>1,t[n[a]]0&&(e[o]=n[i-1]),n[i]=o)}}for(i=n.length,r=n[i-1];i-- >0;)n[i]=r,r=e[r];return n}function Rs(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Rs(e)}function Fs(t){if(t)for(let e=0;et.__isSuspense;function Qr(t,e){e&&e.pendingBranch?L(t)?e.effects.push(...t):e.effects.push(t):cr(t)}const at=Symbol.for("v-fgt"),Sn=Symbol.for("v-txt"),ne=Symbol.for("v-cmt"),mo=Symbol.for("v-stc"),be=[];let jt=null;function K(t=!1){be.push(jt=t?null:[])}function $s(){be.pop(),jt=be[be.length-1]||null}let Ke=1;function Us(t,e=!1){Ke+=t,t<0&&jt&&e&&(jt.hasOnce=!0)}function Bs(t){return t.dynamicChildren=Ke>0?jt||ve:null,$s(),Ke>0&&jt&&jt.push(t),t}function $(t,e,n,o,s,i){return Bs(H(t,e,n,o,s,i,!0))}function ta(t,e,n,o,s){return Bs(xt(t,e,n,o,s,!0))}function Vs(t){return t?t.__v_isVNode===!0:!1}function $e(t,e){return t.type===e.type&&t.key===e.key}const Ws=({key:t})=>t??null,Cn=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?nt(t)||ft(t)||P(t)?{i:Jt,r:t,k:e,f:!!n}:t:null);function H(t,e=null,n=null,o=0,s=null,i=t===at?0:1,r=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Ws(e),ref:e&&Cn(e),scopeId:as,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Jt};return a?(Nn(c,n),i&128&&t.normalize(c)):n&&(c.shapeFlag|=nt(n)?8:16),Ke>0&&!r&&jt&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&jt.push(c),c}const xt=ea;function ea(t,e=null,n=null,o=0,s=null,i=!1){if((!t||t===Nr)&&(t=ne),Vs(t)){const a=Ne(t,e,!0);return n&&Nn(a,n),Ke>0&&!i&&jt&&(a.shapeFlag&6?jt[jt.indexOf(t)]=a:jt.push(a)),a.patchFlag=-2,a}if(ga(t)&&(t=t.__vccOpts),e){e=na(e);let{class:a,style:c}=e;a&&!nt(a)&&(e.class=on(a)),X(c)&&(eo(c)&&!L(c)&&(c=st({},c)),e.style=ye(c))}const r=nt(t)?1:Ks(t)?128:vn(t)?64:X(t)?4:P(t)?2:0;return H(t,e,n,o,s,r,i,!0)}function na(t){return t?eo(t)||qs(t)?st({},t):t:null}function Ne(t,e,n=!1,o=!1){const{props:s,ref:i,patchFlag:r,children:a,transition:c}=t,u=e?oa(s||{},e):s,d={__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&Ws(u),ref:e&&e.ref?n&&i?L(i)?i.concat(Cn(e)):[i,Cn(e)]:Cn(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==at?r===-1?16:r|16:r,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:c,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Ne(t.ssContent),ssFallback:t.ssFallback&&Ne(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return c&&o&&ro(d,c.clone(d)),d}function oe(t=" ",e=0){return xt(Sn,null,t,e)}function mt(t="",e=!1){return e?(K(),ta(ne,null,t)):xt(ne,null,t)}function Yt(t){return t==null||typeof t=="boolean"?xt(ne):L(t)?xt(at,null,t.slice()):Vs(t)?se(t):xt(Sn,null,String(t))}function se(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Ne(t)}function Nn(t,e){let n=0;const{shapeFlag:o}=t;if(e==null)e=null;else if(L(e))n=16;else if(typeof e=="object")if(o&65){const s=e.default;s&&(s._c&&(s._d=!1),Nn(t,s()),s._c&&(s._d=!0));return}else{n=32;const s=e._;!s&&!qs(e)?e._ctx=Jt:s===3&&Jt&&(Jt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else if(P(e)){if(o&65){Nn(t,{default:e});return}e={default:e,_ctx:Jt},n=32}else e=String(e),o&64?(n=16,e=[oe(e)]):n=8;t.children=e,t.shapeFlag|=n}function oa(...t){const e={};for(let n=0;nkt||Jt;let Tn,Ue;{const t=nn(),e=(n,o)=>{let s;return(s=t[n])||(s=t[n]=[]),s.push(o),i=>{s.length>1?s.forEach(r=>r(i)):s[0](i)}};Tn=e("__VUE_INSTANCE_SETTERS__",n=>kt=n),Ue=e("__VUE_SSR_SETTERS__",n=>Ve=n)}const Be=t=>{const e=kt;return Tn(t),t.scope.on(),()=>{t.scope.off(),Tn(e)}},Js=()=>{kt&&kt.scope.off(),Tn(null)};function Ys(t){return t.vnode.shapeFlag&4}let Ve=!1;function aa(t,e=!1,n=!1){e&&Ue(e);const{props:o,children:s}=t.vnode,i=Ys(t);$r(t,o,i,e),Wr(t,s,n||e);const r=i?ca(t,e):void 0;return e&&Ue(!1),r}function ca(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Tr);const{setup:o}=n;if(o){Bt();const s=t.setupContext=o.length>1?ua(t):null,i=Be(t),r=we(o,t,0,[t.props,s]),a=Co(r);if(Vt(),i(),(a||t.sp)&&!Re(t)&&fs(t),a){if(r.then(Js,Js),e)return r.then(c=>{Ue(!0);try{Xs(t,c,e)}finally{Ue(!1)}}).catch(c=>{hn(c,t,0)});t.asyncDep=r}else Xs(t,r)}else Zs(t)}function Xs(t,e,n){P(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:X(e)&&(t.setupState=ts(e)),Zs(t)}function Zs(t,e,n){const o=t.type;t.render||(t.render=o.render||Kt);{const s=Be(t);Bt();try{Er(t)}finally{Vt(),s()}}}const la={get(t,e){return bt(t,"get",""),t[e]}};function ua(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,la),slots:t.slots,emit:t.emit,expose:e}}function _o(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(ts(Gi(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Fe)return Fe[n](t)},has(e,n){return n in e||n in Fe}})):t.proxy}const fa=/(?:^|[-_])\w/g,da=t=>t.replace(fa,e=>e.toUpperCase()).replace(/[-_]/g,"");function ha(t,e=!0){return P(t)?t.displayName||t.name:t.name||e&&t.__name}function Qs(t,e,n=!1){let o=ha(e);if(!o&&e.__file){const s=e.__file.match(/([^/\\]+)\.\w+$/);s&&(o=s[1])}if(!o&&t){const s=i=>{for(const r in i)if(i[r]===e)return r};o=s(t.components)||t.parent&&s(t.parent.type.components)||s(t.appContext.components)}return o?da(o):n?"App":"Anonymous"}function ga(t){return P(t)&&"__vccOpts"in t}const it=(t,e)=>Qi(t,e,Ve),pa="3.5.42";/** +`],...sr(n))}),e}function sr({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",o=t.component?t.component.parent==null:!1,s=` at <${Qs(t.component,t.type,o)}`,i=">"+n;return t.props?[s,...ir(t.props),i]:[s+i]}function ir(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(o=>{e.push(...es(o,t[o]))}),n.length>3&&e.push(" ..."),e}function es(t,e,n){return nt(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?n?e:[`${t}=${e}`]:ut(e)?(e=es(t,U(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):P(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=U(e),n?e:[`${t}=`,e])}function we(t,e,n,o){try{return o?t(...o):t()}catch(s){hn(s,e,n)}}function Ft(t,e,n,o){if(P(t)){const s=we(t,e,n,o);return s&&Co(s)&&s.catch(i=>{hn(i,e,n)}),s}if(L(t)){const s=[];for(let i=0;i>>1,s=vt[o],i=Oe(s);i=Oe(n)?vt.push(t):vt.splice(ar(e),0,t),t.flags|=1,os()}}function os(){gn||(gn=ns.then(rs))}function cr(t){if(!L(t))ce&&t.id===-1?ce.splice(Se+1,0,t):t.flags&1||(Ae.push(t),t.flags|=1);else for(let e=0;eOe(n)-Oe(o));if(Ae.length=0,ce){for(let n=0;nt.id==null?t.flags&2?-1:1/0:t.id;function rs(t){try{for(Gt=0;Gt{o._d&&Us(-1);const i=bn(e),r=be.length;let a;try{a=t(...s)}finally{for(let c=be.length;c>r;c--)$s();bn(i),o._d&&Us(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function ge(t,e,n,o){const s=t.dirs,i=e&&e.dirs;for(let r=0;r1)return n&&P(e)?e.call(o&&o.proxy):e}}const fr=Symbol.for("v-scx"),dr=()=>mn(fr);function _n(t,e,n){return cs(t,e,n)}function cs(t,e,n=Q){const{immediate:o,deep:s,flush:i,once:r}=n,a=st({},n),c=e&&o||!e&&i!=="post";let u;if(Ve){if(i==="sync"){const S=dr();u=S.__watcherHandles||(S.__watcherHandles=[])}else if(!c){const S=()=>{};return S.stop=Kt,S.resume=Kt,S.pause=Kt,S}}const d=kt;a.call=(S,M,j)=>Ft(S,d,M,j);let g=!1;i==="post"?a.scheduler=S=>{Nt(S,d&&d.suspense)}:i!=="sync"&&(g=!0,a.scheduler=(S,M)=>{M?S():so(S)}),a.augmentJob=S=>{e&&(S.flags|=4),g&&(S.flags|=2,d&&(S.id=d.uid,S.i=d))};const x=er(t,e,a);return Ve&&(u?u.push(x):c&&x()),x}function hr(t,e,n){const o=this.proxy,s=nt(t)?t.includes(".")?ls(o,t):()=>o[t]:t.bind(o,o);let i;P(e)?i=e:(i=e.handler,n=e);const r=Be(this),a=cs(s,i.bind(o),n);return r(),a}function ls(t,e){const n=e.split(".");return()=>{let o=t;for(let s=0;st.__isTeleport,io=Symbol("_leaveCb");function pr(t){let e=t[0];if(t.length>1){for(const n of t)if(n.type!==ne){e=n;break}}return e}function us(t){if(!ao(t))return vn(t.type)&&t.children?pr(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:n}=t;if(n){if(e&16)return n[0];if(e&32&&P(n.default))return n.default()}}function ro(t,e){if(t.shapeFlag&6&&t.component){t.transition=e;const n=t.component.subTree;ro(vn(n.type)&&us(n)||n,e)}else t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function br(t,e){return P(t)?st({name:t.name},e,{setup:t}):t}function fs(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function ds(t,e){let n;return!!((n=Object.getOwnPropertyDescriptor(t,e))&&!n.configurable)}const yn=new WeakMap;function De(t,e,n,o,s=!1){if(L(t)){t.forEach((j,$)=>De(j,e&&(L(e)?e[$]:e),n,o,s));return}if(Re(o)&&!s){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&De(t,e,n,o.component.subTree);return}const i=o.shapeFlag&4?_o(o.component):o.el,r=s?null:i,{i:a,r:c}=t,u=e&&e.r,d=a.refs===Q?a.refs={}:a.refs,g=a.setupState,x=U(g),S=g===Q?Ao:j=>ds(d,j)?!1:W(x,j),M=(j,$)=>!($&&ds(d,$));if(u!=null&&u!==c){if(hs(e),nt(u))d[u]=null,S(u)&&(g[u]=null);else if(ut(u)){const j=e;M(u,j.k)&&(u.value=null),j.k&&(d[j.k]=null)}}if(P(c))we(c,a,12,[r,d]);else{const j=nt(c),$=ut(c);if(j||$){const R=()=>{if(t.f){const O=j?S(c)?g[c]:d[c]:M()||!t.k?c.value:d[t.k];if(s)L(O)&&On(O,i);else if(L(O))O.includes(i)||O.push(i);else if(j)d[c]=[i],S(c)&&(g[c]=d[c]);else{const F=[i];M(c,t.k)&&(c.value=F),t.k&&(d[t.k]=F)}}else j?(d[c]=r,S(c)&&(g[c]=r)):$&&(M(c,t.k)&&(c.value=r),t.k&&(d[t.k]=r))};if(r){const O=()=>{R(),yn.delete(t)};O.id=-1,yn.set(t,O),Nt(O,n)}else hs(t),R()}}}function hs(t){const e=yn.get(t);e&&(e.flags|=8,yn.delete(t))}nn().requestIdleCallback,nn().cancelIdleCallback;const Re=t=>!!t.type.__asyncLoader,ao=t=>t.type.__isKeepAlive;function mr(t,e){gs(t,"a",e)}function _r(t,e){gs(t,"da",e)}function gs(t,e,n=kt){const o=t.__wdc||(t.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return t()});if(xn(e,o,n),n){let s=n.parent;for(;s&&s.parent;)ao(s.parent.vnode)&&vr(o,e,n,s),s=s.parent}}function vr(t,e,n,o){const s=xn(e,t,o,!0);ms(()=>{On(o[e],s)},n)}function xn(t,e,n=kt,o=!1){if(n){const s=n[t]||(n[t]=[]),i=e.__weh||(e.__weh=(...r)=>{Bt();const a=Be(n),c=Ft(e,n,t,r);return a(),Vt(),c});return o?s.unshift(i):s.push(i),i}}const ee=t=>(e,n=kt)=>{(!Ve||t==="sp")&&xn(t,(...o)=>e(...o),n)},yr=ee("bm"),ps=ee("m"),xr=ee("bu"),kr=ee("u"),bs=ee("bum"),ms=ee("um"),wr=ee("sp"),Ar=ee("rtg"),Sr=ee("rtc");function Cr(t,e=kt){xn("ec",t,e)}const Nr=Symbol.for("v-ndc");function kn(t,e,n,o){let s;const i=n,r=L(t);if(r||nt(t)){const a=r&&de(t);let c=!1,u=!1;a&&(c=!Pt(t),u=te(t),t=rn(t)),s=new Array(t.length);for(let d=0,g=t.length;de(a,c,void 0,i));else{const a=Object.keys(t);s=new Array(a.length);for(let c=0,u=a.length;ct?Ys(t)?_o(t):co(t.parent):null,Fe=st(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>co(t.parent),$root:t=>co(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>xs(t),$forceUpdate:t=>t.f||(t.f=()=>{so(t.update)}),$nextTick:t=>t.n||(t.n=pn.bind(t.proxy)),$watch:t=>hr.bind(t)}),lo=(t,e)=>t!==Q&&!t.__isScriptSetup&&W(t,e),Tr={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:o,data:s,props:i,accessCache:r,type:a,appContext:c}=t;if(e[0]!=="$"){const x=r[e];if(x!==void 0)switch(x){case 1:return o[e];case 2:return s[e];case 4:return n[e];case 3:return i[e]}else{if(lo(o,e))return r[e]=1,o[e];if(s!==Q&&W(s,e))return r[e]=2,s[e];if(W(i,e))return r[e]=3,i[e];if(n!==Q&&W(n,e))return r[e]=4,n[e];uo&&(r[e]=0)}}const u=Fe[e];let d,g;if(u)return e==="$attrs"&&mt(t.attrs,"get",""),u(t);if((d=a.__cssModules)&&(d=d[e]))return d;if(n!==Q&&W(n,e))return r[e]=4,n[e];if(g=c.config.globalProperties,W(g,e))return g[e]},set({_:t},e,n){const{data:o,setupState:s,ctx:i}=t;return lo(s,e)?(s[e]=n,!0):o!==Q&&W(o,e)?(o[e]=n,!0):W(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(i[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:o,appContext:s,props:i,type:r}},a){let c;return!!(n[a]||t!==Q&&a[0]!=="$"&&W(t,a)||lo(e,a)||W(i,a)||W(o,a)||W(Fe,a)||W(s.config.globalProperties,a)||(c=r.__cssModules)&&c[a])},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:W(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function _s(t){return L(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let uo=!0;function Er(t){const e=xs(t),n=t.proxy,o=t.ctx;uo=!1,e.beforeCreate&&vs(e.beforeCreate,t,"bc");const{data:s,computed:i,methods:r,watch:a,provide:c,inject:u,created:d,beforeMount:g,mounted:x,beforeUpdate:S,updated:M,activated:j,deactivated:$,beforeDestroy:R,beforeUnmount:O,destroyed:F,unmounted:q,render:J,renderTracked:gt,renderTriggered:ot,errorCaptured:Tt,serverPrefetch:D,expose:I,inheritAttrs:V,components:qt,directives:wt,filters:Ot}=e;if(u&&jr(u,o,null),r)for(const G in r){const Y=r[G];P(Y)&&(o[G]=Y.bind(n))}if(s){const G=s.call(n,n);X(G)&&(t.data=Qn(G))}if(uo=!0,i)for(const G in i){const Y=i[G],pt=P(Y)?Y.bind(n,n):P(Y.get)?Y.get.bind(n,n):Kt,It=!P(Y)&&P(Y.set)?Y.set.bind(n):Kt,Mt=it({get:pt,set:It});Object.defineProperty(o,G,{enumerable:!0,configurable:!0,get:()=>Mt.value,set:_t=>Mt.value=_t})}if(a)for(const G in a)ys(a[G],o,n,G);if(c){const G=P(c)?c.call(n):c;Reflect.ownKeys(G).forEach(Y=>{ur(Y,G[Y])})}d&&vs(d,t,"c");function at(G,Y){L(Y)?Y.forEach(pt=>G(pt.bind(n))):Y&&G(Y.bind(n))}if(at(yr,g),at(ps,x),at(xr,S),at(kr,M),at(mr,j),at(_r,$),at(Cr,Tt),at(Sr,gt),at(Ar,ot),at(bs,O),at(ms,q),at(wr,D),L(I))if(I.length){const G=t.exposed||(t.exposed={});I.forEach(Y=>{Object.defineProperty(G,Y,{get:()=>n[Y],set:pt=>n[Y]=pt,enumerable:!0})})}else t.exposed||(t.exposed={});J&&t.render===Kt&&(t.render=J),V!=null&&(t.inheritAttrs=V),qt&&(t.components=qt),wt&&(t.directives=wt),D&&fs(t)}function jr(t,e,n=Kt){L(t)&&(t=fo(t));for(const o in t){const s=t[o];let i;X(s)?"default"in s?i=mn(s.from||o,s.default,!0):i=mn(s.from||o):i=mn(s),ut(i)?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:r=>i.value=r}):e[o]=i}}function vs(t,e,n){Ft(L(t)?t.map(o=>o.bind(e.proxy)):t.bind(e.proxy),e,n)}function ys(t,e,n,o){let s=o.includes(".")?ls(n,o):()=>n[o];if(nt(t)){const i=e[t];P(i)&&_n(s,i)}else if(P(t))_n(s,t.bind(n));else if(X(t))if(L(t))t.forEach(i=>ys(i,e,n,o));else{const i=P(t.handler)?t.handler.bind(n):e[t.handler];P(i)&&_n(s,i,t)}}function xs(t){const e=t.type,{mixins:n,extends:o}=e,{mixins:s,optionsCache:i,config:{optionMergeStrategies:r}}=t.appContext,a=i.get(e);let c;return a?c=a:!s.length&&!n&&!o?c=e:(c={},s.length&&s.forEach(u=>wn(c,u,r,!0)),wn(c,e,r)),X(e)&&i.set(e,c),c}function wn(t,e,n,o=!1){const{mixins:s,extends:i}=e;i&&wn(t,i,n,!0),s&&s.forEach(r=>wn(t,r,n,!0));for(const r in e)if(!(o&&r==="expose")){const a=qr[r]||n&&n[r];t[r]=a?a(t[r],e[r]):e[r]}return t}const qr={data:ks,props:ws,emits:ws,methods:He,computed:He,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:He,directives:He,watch:Mr,provide:ks,inject:Ir};function ks(t,e){return e?t?function(){return st(P(t)?t.call(this,this):t,P(e)?e.call(this,this):e)}:e:t}function Ir(t,e){return He(fo(t),fo(e))}function fo(t){if(L(t)){const e={};for(let n=0;ne==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Ct(e)}Modifiers`]||t[`${zt(e)}Modifiers`];function Or(t,e,...n){if(t.isUnmounted)return;const o=t.vnode.props||Q;let s=n;const i=e.startsWith("update:"),r=i&&Pr(o,e.slice(7));r&&(r.trim&&(s=n.map(d=>nt(d)?d.trim():d)),r.number&&(s=s.map(xi)));let a,c=o[a=Rn(e)]||o[a=Rn(Ct(e))];!c&&i&&(c=o[a=Rn(zt(e))]),c&&Ft(c,t,6,s);const u=o[a+"Once"];if(u){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Ft(u,t,6,s)}}const Dr=new WeakMap;function Ss(t,e,n=!1){const o=n?Dr:e.emitsCache,s=o.get(t);if(s!==void 0)return s;const i=t.emits;let r={},a=!1;if(!P(t)){const c=u=>{const d=Ss(u,e,!0);d&&(a=!0,st(r,d))};!n&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}return!i&&!a?(X(t)&&o.set(t,null),null):(L(i)?i.forEach(c=>r[c]=null):st(r,i),X(t)&&o.set(t,r),r)}function An(t,e){return!t||!Xe(e)?!1:(e=e.slice(2),e=e==="Once"?e:e.replace(/Once$/,""),W(t,e[0].toLowerCase()+e.slice(1))||W(t,zt(e))||W(t,e))}function Vc(){}function Cs(t){const{type:e,vnode:n,proxy:o,withProxy:s,propsOptions:[i],slots:r,attrs:a,emit:c,render:u,renderCache:d,props:g,data:x,setupState:S,ctx:M,inheritAttrs:j}=t,$=bn(t);let R,O;try{if(n.shapeFlag&4){const q=s||o,J=q;R=Yt(u.call(J,q,d,g,S,x,M)),O=a}else{const q=e;R=Yt(q.length>1?q(g,{attrs:a,slots:r,emit:c}):q(g,null)),O=e.props?a:Rr(a)}}catch(q){be.length=0,hn(q,t,1),R=xt(ne)}let F=R;if(O&&j!==!1){const q=Object.keys(O),{shapeFlag:J}=F;q.length&&J&7&&(i&&q.some(Ze)&&(O=Fr(O,i)),F=Ne(F,O,!1,!0))}if(n.dirs&&(F=Ne(F,null,!1,!0),F.dirs=F.dirs?F.dirs.concat(n.dirs):n.dirs),n.transition){const q=vn(F.type)&&us(F)||F;ro(q,n.transition)}return R=F,bn($),R}const Rr=t=>{let e;for(const n in t)(n==="class"||n==="style"||Xe(n))&&((e||(e={}))[n]=t[n]);return e},Fr=(t,e)=>{const n={};for(const o in t)(!Ze(o)||!(o.slice(9)in e))&&(n[o]=t[o]);return n};function Hr(t,e,n){const{props:o,children:s,component:i}=t,{props:r,children:a,patchFlag:c}=e,u=i.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return o?Ns(o,r,u):!!r;if(c&8){const d=e.dynamicProps;for(let g=0;gObject.create(Es),qs=t=>Object.getPrototypeOf(t)===Es;function $r(t,e,n,o=!1){const s={},i=js();t.propsDefaults=Object.create(null),Is(t,e,s,i);for(const r in t.propsOptions[0])r in s||(s[r]=void 0);n?t.props=o?s:Wi(s):t.type.props?t.props=s:t.props=i,t.attrs=i}function Ur(t,e,n,o){const{props:s,attrs:i,vnode:{patchFlag:r}}=t,a=U(s),[c]=t.propsOptions;let u=!1;if((o||r>0)&&!(r&16)){if(r&8){const d=t.vnode.dynamicProps;for(let g=0;g{c=!0;const[x,S]=Ms(g,e,!0);st(r,x),S&&a.push(...S)};!n&&e.mixins.length&&e.mixins.forEach(d),t.extends&&d(t.extends),t.mixins&&t.mixins.forEach(d)}if(!i&&!c)return X(t)&&o.set(t,ve),ve;if(L(i))for(let d=0;dt==="_"||t==="_ctx"||t==="$stable",po=t=>L(t)?t.map(Yt):[Yt(t)],Vr=(t,e,n)=>{if(e._n)return e;const o=lr((...s)=>po(e(...s)),n);return o._c=!1,o},zs=(t,e,n)=>{const o=t._ctx;for(const s in t){if(go(s))continue;const i=t[s];if(P(i))e[s]=Vr(s,i,o);else if(i!=null){const r=po(i);e[s]=()=>r}}},Ps=(t,e)=>{const n=po(e);t.slots.default=()=>n},Os=(t,e,n)=>{for(const o in e)(n||!go(o))&&(t[o]=e[o])},Wr=(t,e,n)=>{const o=t.slots=js();if(t.vnode.shapeFlag&32){const s=e._;s?(Os(o,e,n),n&&Eo(o,"_",s,!0)):zs(e,o)}else e&&Ps(t,e)},Gr=(t,e,n)=>{const{vnode:o,slots:s}=t;let i=!0,r=Q;if(o.shapeFlag&32){const a=e._;a?n&&a===1?i=!1:Os(s,e,n):(i=!e.$stable,zs(e,s)),r=e}else e&&(Ps(t,e),r={default:1});if(i)for(const a in s)!go(a)&&r[a]==null&&delete s[a]},Nt=Qr;function Jr(t){return Yr(t)}function Yr(t,e){const n=nn();n.__VUE__=!0;const{insert:o,remove:s,patchProp:i,createElement:r,createText:a,createComment:c,setText:u,setElementText:d,parentNode:g,nextSibling:x,setScopeId:S=Kt,insertStaticContent:M}=t,j=(l,f,p,y=null,v=null,_=null,C=void 0,A=null,w=!!f.dynamicChildren)=>{if(l===f)return;l&&!$e(l,f)&&(y=_e(l),_t(l,v,_,!0),l=null),f.patchFlag===-2&&(w=!1,f.dynamicChildren=null);const{type:h,ref:b,shapeFlag:m}=f;switch(h){case Sn:$(l,f,p,y);break;case ne:R(l,f,p,y);break;case mo:l==null&&O(f,p,y,C);break;case dt:qt(l,f,p,y,v,_,C,A,w);break;default:m&1?J(l,f,p,y,v,_,C,A,w):m&6?wt(l,f,p,y,v,_,C,A,w):(m&64||m&128)&&h.process(l,f,p,y,v,_,C,A,w,ue)}b!=null&&v?De(b,l&&l.ref,_,f||l,!f):b==null&&l&&l.ref!=null&&De(l.ref,null,_,l,!0)},$=(l,f,p,y)=>{if(l==null)o(f.el=a(f.children),p,y);else{const v=f.el=l.el;f.children!==l.children&&u(v,f.children)}},R=(l,f,p,y)=>{l==null?o(f.el=c(f.children||""),p,y):f.el=l.el},O=(l,f,p,y)=>{[l.el,l.anchor]=M(l.children,f,p,y,l.el,l.anchor)},F=({el:l,anchor:f},p,y)=>{let v;for(;l&&l!==f;)v=x(l),o(l,p,y),l=v;o(f,p,y)},q=({el:l,anchor:f})=>{let p;for(;l&&l!==f;)p=x(l),s(l),l=p;s(f)},J=(l,f,p,y,v,_,C,A,w)=>{if(f.type==="svg"?C="svg":f.type==="math"&&(C="mathml"),l==null)gt(f,p,y,v,_,C,A,w);else{const h=l.el&&l.el._isVueCE?l.el:null;try{h&&h._beginPatch(),D(l,f,v,_,C,A,w)}finally{h&&h._endPatch()}}},gt=(l,f,p,y,v,_,C,A)=>{let w,h;const{props:b,shapeFlag:m,transition:k,dirs:N}=l;if(w=l.el=r(l.type,_,b&&b.is,b),m&8?d(w,l.children):m&16&&Tt(l.children,w,null,y,v,bo(l,_),C,A),N&&ge(l,null,y,"created"),ot(w,l,l.scopeId,C,y),b){for(const T in b)T!=="value"&&!je(T)&&i(w,T,null,b[T],_,y);"value"in b&&i(w,"value",null,b.value,_),(h=b.onVnodeBeforeMount)&&Xt(h,y,l)}N&&ge(l,null,y,"beforeMount");const E=Xr(v,k);E&&k.beforeEnter(w),o(w,f,p),((h=b&&b.onVnodeMounted)||E||N)&&Nt(()=>{try{h&&Xt(h,y,l),E&&k.enter(w),N&&ge(l,null,y,"mounted")}finally{}},v)},ot=(l,f,p,y,v)=>{if(p&&S(l,p),y)for(let _=0;_{for(let h=w;h{const A=f.el=l.el;let{patchFlag:w,dynamicChildren:h,dirs:b}=f;w|=l.patchFlag&16;const m=l.props||Q,k=f.props||Q;let N;if(p&&pe(p,!1),(N=k.onVnodeBeforeUpdate)&&Xt(N,p,f,l),b&&ge(f,l,p,"beforeUpdate"),p&&pe(p,!0),h&&(!l.dynamicChildren||l.dynamicChildren.length!==h.length)&&(w=0,C=!1,h=null),(m.innerHTML&&k.innerHTML==null||m.textContent&&k.textContent==null)&&d(A,""),h?I(l.dynamicChildren,h,A,p,y,bo(f,v),_):C||Y(l,f,A,null,p,y,bo(f,v),_,!1),w>0){if(w&16)V(A,m,k,p,v);else if(w&2&&m.class!==k.class&&i(A,"class",null,k.class,v),w&4&&i(A,"style",m.style,k.style,v),w&8){const E=f.dynamicProps;for(let T=0;T{N&&Xt(N,p,f,l),b&&ge(f,l,p,"updated")},y)},I=(l,f,p,y,v,_,C)=>{for(let A=0;A{if(f!==p){if(f!==Q)for(const _ in f)!je(_)&&!(_ in p)&&i(l,_,f[_],null,v,y);for(const _ in p){if(je(_))continue;const C=p[_],A=f[_];C!==A&&_!=="value"&&i(l,_,A,C,v,y)}"value"in p&&i(l,"value",f.value,p.value,v)}},qt=(l,f,p,y,v,_,C,A,w)=>{const h=f.el=l?l.el:a(""),b=f.anchor=l?l.anchor:a("");let{patchFlag:m,dynamicChildren:k,slotScopeIds:N}=f;N&&(A=A?A.concat(N):N),l==null?(o(h,p,y),o(b,p,y),Tt(f.children||[],p,b,v,_,C,A,w)):m>0&&m&64&&k&&l.dynamicChildren&&l.dynamicChildren.length===k.length?(I(l.dynamicChildren,k,p,v,_,C,A),(f.key!=null||v&&f===v.subTree)&&Ds(l,f,!0)):Y(l,f,p,b,v,_,C,A,w)},wt=(l,f,p,y,v,_,C,A,w)=>{f.slotScopeIds=A,l==null?f.shapeFlag&512?v.ctx.activate(f,p,y,C,w):Ot(f,p,y,v,_,C,w):At(l,f,w)},Ot=(l,f,p,y,v,_,C)=>{const A=l.component=ra(l,y,v);if(ao(l)&&(A.ctx.renderer=ue),aa(A,!1,C),A.asyncDep){if(v&&v.registerDep(A,at,C),!l.el){const w=A.subTree=xt(ne);R(null,w,f,p),l.placeholder=w.el}}else at(A,l,f,p,v,_,C)},At=(l,f,p)=>{const y=f.component=l.component;if(Hr(l,f,p))if(y.asyncDep&&!y.asyncResolved){G(y,f,p);return}else y.next=f,y.update();else f.el=l.el,y.vnode=f},at=(l,f,p,y,v,_,C)=>{const A=()=>{if(l.isMounted){let{next:m,bu:k,u:N,parent:E,vnode:T}=l;{const St=Rs(l);if(St){m&&(m.el=T.el,G(l,m,C)),St.asyncDep.then(()=>{Nt(()=>{l.isUnmounted||h()},v)});return}}let z=m,Z;pe(l,!1),m?(m.el=T.el,G(l,m,C)):m=T,k&&Fn(k),(Z=m.props&&m.props.onVnodeBeforeUpdate)&&Xt(Z,E,m,T),pe(l,!0);const et=Cs(l),ct=l.subTree;l.subTree=et,j(ct,et,g(ct.el),_e(ct),l,v,_),m.el=et.el,z===null&&Kr(l,et.el),N&&Nt(N,v),(Z=m.props&&m.props.onVnodeUpdated)&&Nt(()=>Xt(Z,E,m,T),v)}else{let m;const{el:k,props:N}=f,{bm:E,m:T,parent:z,root:Z,type:et}=l,ct=Re(f);pe(l,!1),E&&Fn(E),!ct&&(m=N&&N.onVnodeBeforeMount)&&Xt(m,z,f),pe(l,!0);{Z.ce&&Z.ce._hasShadowRoot()&&Z.ce._injectChildStyle(et,l.parent?l.parent.type:void 0);const St=l.subTree=Cs(l);j(null,St,p,y,l,v,_),f.el=St.el}if(T&&Nt(T,v),!ct&&(m=N&&N.onVnodeMounted)){const St=f;Nt(()=>Xt(m,z,St),v)}(f.shapeFlag&256||z&&Re(z.vnode)&&z.vnode.shapeFlag&256)&&l.a&&Nt(l.a,v),l.isMounted=!0,f=p=y=null}};l.scope.on();const w=l.effect=new Po(A);l.scope.off();const h=l.update=w.run.bind(w),b=l.job=w.runIfDirty.bind(w);b.i=l,b.id=l.uid,w.scheduler=()=>so(b),pe(l,!0),h()},G=(l,f,p)=>{f.component=l;const y=l.vnode.props;l.vnode=f,l.next=null,Ur(l,f.props,y,p),Gr(l,f.children,p),Bt(),ss(l),Vt()},Y=(l,f,p,y,v,_,C,A,w=!1)=>{const h=l&&l.children,b=l?l.shapeFlag:0,m=f.children,{patchFlag:k,shapeFlag:N}=f;if(k>0){if(k&128){It(h,m,p,y,v,_,C,A,w);return}else if(k&256){pt(h,m,p,y,v,_,C,A,w);return}}N&8?(b&16&&le(h,v,_),m!==h&&d(p,m)):b&16?N&16?It(h,m,p,y,v,_,C,A,w):le(h,v,_,!0):(b&8&&d(p,""),N&16&&Tt(m,p,y,v,_,C,A,w))},pt=(l,f,p,y,v,_,C,A,w)=>{l=l||ve,f=f||ve;const h=l.length,b=f.length,m=Math.min(h,b);let k;for(k=0;kb?le(l,v,_,!0,!1,m):Tt(f,p,y,v,_,C,A,w,m)},It=(l,f,p,y,v,_,C,A,w)=>{let h=0;const b=f.length;let m=l.length-1,k=b-1;for(;h<=m&&h<=k;){const N=l[h],E=f[h]=w?se(f[h]):Yt(f[h]);if($e(N,E))j(N,E,p,null,v,_,C,A,w);else break;h++}for(;h<=m&&h<=k;){const N=l[m],E=f[k]=w?se(f[k]):Yt(f[k]);if($e(N,E))j(N,E,p,null,v,_,C,A,w);else break;m--,k--}if(h>m){if(h<=k){const N=k+1,E=Nk)for(;h<=m;)_t(l[h],v,_,!0),h++;else{const N=h,E=h,T=new Map;for(h=E;h<=k;h++){const bt=f[h]=w?se(f[h]):Yt(f[h]);bt.key!=null&&T.set(bt.key,h)}let z,Z=0;const et=k-E+1;let ct=!1,St=0;const Et=new Array(et);for(h=0;h=et){_t(bt,v,_,!0);continue}let Lt;if(bt.key!=null)Lt=T.get(bt.key);else for(z=E;z<=k;z++)if(Et[z-E]===0&&$e(bt,f[z])){Lt=z;break}Lt===void 0?_t(bt,v,_,!0):(Et[Lt-E]=h+1,Lt>=St?St=Lt:ct=!0,j(bt,f[Lt],p,null,v,_,C,A,w),Z++)}const Ht=ct?Zr(Et):ve;for(z=Ht.length-1,h=et-1;h>=0;h--){const bt=E+h,Lt=f[bt],Te=f[bt+1],Ln=bt+1{const{el:_,type:C,transition:A,children:w,shapeFlag:h}=l;if(h&6){Mt(l.component.subTree,f,p,y);return}if(h&128){l.suspense.move(f,p,y);return}if(h&64){C.move(l,f,p,ue);return}if(C===dt){o(_,f,p);for(let m=0;mA.enter(_),v));else{const{leave:m,delayLeave:k,afterLeave:N}=A,E=()=>{l.ctx.isUnmounted?s(_):o(_,f,p)},T=()=>{const z=_._isLeaving||!!_[io];_._isLeaving&&_[io](!0),A.persisted&&!z?E():m(_,()=>{E(),N&&N()})};k?k(_,E,T):T()}else o(_,f,p)},_t=(l,f,p,y=!1,v=!1)=>{const{type:_,props:C,ref:A,children:w,dynamicChildren:h,shapeFlag:b,patchFlag:m,dirs:k,cacheIndex:N,memo:E}=l;if(m===-2&&(v=!1),A!=null&&(Bt(),De(A,null,p,l,!0),Vt()),N!=null&&(f.renderCache[N]=void 0),b&256){f.ctx.deactivate(l);return}const T=b&1&&k,z=!Re(l);let Z;if(z&&(Z=C&&C.onVnodeBeforeUnmount)&&Xt(Z,f,l),b&6)In(l.component,p,y);else{if(b&128){l.suspense.unmount(p,y);return}T&&ge(l,null,f,"beforeUnmount"),b&64?l.type.remove(l,f,p,ue,y):h&&!h.hasOnce&&(_!==dt||m>0&&m&64)?le(h,f,p,!1,!0):(_===dt&&m&384||!v&&b&16)&&le(w,f,p),y&&me(l)}const et=E!=null&&N==null;(z&&(Z=C&&C.onVnodeUnmounted)||T||et)&&Nt(()=>{Z&&Xt(Z,f,l),T&&ge(l,null,f,"unmounted"),et&&(l.el=null)},p)},me=l=>{const{type:f,el:p,anchor:y,transition:v}=l;if(f===dt){Je(p,y);return}if(f===mo){q(l);return}const _=()=>{s(p),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(l.shapeFlag&1&&v&&!v.persisted){const{leave:C,delayLeave:A}=v,w=()=>C(p,_);A?A(l.el,_,w):w()}else _()},Je=(l,f)=>{let p;for(;l!==f;)p=x(l),s(l),l=p;s(f)},In=(l,f,p)=>{const{bum:y,scope:v,job:_,subTree:C,um:A,m:w,a:h}=l;Fs(w),Fs(h),y&&Fn(y),v.stop(),_&&(_.flags|=8,_t(C,l,f,p)),A&&Nt(A,f),Nt(()=>{l.isUnmounted=!0},f)},le=(l,f,p,y=!1,v=!1,_=0)=>{for(let C=_;C{if(l.shapeFlag&6)return _e(l.component.subTree);if(l.shapeFlag&128)return l.suspense.next();const f=x(l.anchor||l.el),p=f&&f[gr];return p?x(p):f};let Ye=!1;const Mn=(l,f,p)=>{let y;l==null?f._vnode&&(_t(f._vnode,null,null,!0),y=f._vnode.component):j(f._vnode||null,l,f,null,null,null,p),f._vnode=l,Ye||(Ye=!0,ss(y),is(),Ye=!1)},ue={p:j,um:_t,m:Mt,r:me,mt:Ot,mc:Tt,pc:Y,pbc:I,n:_e,o:t};return{render:Mn,hydrate:void 0,createApp:zr(Mn)}}function bo({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function pe({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function Xr(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Ds(t,e,n=!1){const o=t.children,s=e.children;if(L(o)&&L(s))for(let i=0;i>1,t[n[a]]0&&(e[o]=n[i-1]),n[i]=o)}}for(i=n.length,r=n[i-1];i-- >0;)n[i]=r,r=e[r];return n}function Rs(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Rs(e)}function Fs(t){if(t)for(let e=0;et.__isSuspense;function Qr(t,e){e&&e.pendingBranch?L(t)?e.effects.push(...t):e.effects.push(t):cr(t)}const dt=Symbol.for("v-fgt"),Sn=Symbol.for("v-txt"),ne=Symbol.for("v-cmt"),mo=Symbol.for("v-stc"),be=[];let jt=null;function H(t=!1){be.push(jt=t?null:[])}function $s(){be.pop(),jt=be[be.length-1]||null}let Ke=1;function Us(t,e=!1){Ke+=t,t<0&&jt&&e&&(jt.hasOnce=!0)}function Bs(t){return t.dynamicChildren=Ke>0?jt||ve:null,$s(),Ke>0&&jt&&jt.push(t),t}function K(t,e,n,o,s,i){return Bs(B(t,e,n,o,s,i,!0))}function ta(t,e,n,o,s){return Bs(xt(t,e,n,o,s,!0))}function Vs(t){return t?t.__v_isVNode===!0:!1}function $e(t,e){return t.type===e.type&&t.key===e.key}const Ws=({key:t})=>t??null,Cn=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?nt(t)||ut(t)||P(t)?{i:Jt,r:t,k:e,f:!!n}:t:null);function B(t,e=null,n=null,o=0,s=null,i=t===dt?0:1,r=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Ws(e),ref:e&&Cn(e),scopeId:as,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Jt};return a?(Nn(c,n),i&128&&t.normalize(c)):n&&(c.shapeFlag|=nt(n)?8:16),Ke>0&&!r&&jt&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&jt.push(c),c}const xt=ea;function ea(t,e=null,n=null,o=0,s=null,i=!1){if((!t||t===Nr)&&(t=ne),Vs(t)){const a=Ne(t,e,!0);return n&&Nn(a,n),Ke>0&&!i&&jt&&(a.shapeFlag&6?jt[jt.indexOf(t)]=a:jt.push(a)),a.patchFlag=-2,a}if(ga(t)&&(t=t.__vccOpts),e){e=na(e);let{class:a,style:c}=e;a&&!nt(a)&&(e.class=on(a)),X(c)&&(eo(c)&&!L(c)&&(c=st({},c)),e.style=ye(c))}const r=nt(t)?1:Ks(t)?128:vn(t)?64:X(t)?4:P(t)?2:0;return B(t,e,n,o,s,r,i,!0)}function na(t){return t?eo(t)||qs(t)?st({},t):t:null}function Ne(t,e,n=!1,o=!1){const{props:s,ref:i,patchFlag:r,children:a,transition:c}=t,u=e?oa(s||{},e):s,d={__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&Ws(u),ref:e&&e.ref?n&&i?L(i)?i.concat(Cn(e)):[i,Cn(e)]:Cn(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==dt?r===-1?16:r|16:r,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:c,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Ne(t.ssContent),ssFallback:t.ssFallback&&Ne(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return c&&o&&ro(d,c.clone(d)),d}function oe(t=" ",e=0){return xt(Sn,null,t,e)}function ht(t="",e=!1){return e?(H(),ta(ne,null,t)):xt(ne,null,t)}function Yt(t){return t==null||typeof t=="boolean"?xt(ne):L(t)?xt(dt,null,t.slice()):Vs(t)?se(t):xt(Sn,null,String(t))}function se(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Ne(t)}function Nn(t,e){let n=0;const{shapeFlag:o}=t;if(e==null)e=null;else if(L(e))n=16;else if(typeof e=="object")if(o&65){const s=e.default;s&&(s._c&&(s._d=!1),Nn(t,s()),s._c&&(s._d=!0));return}else{n=32;const s=e._;!s&&!qs(e)?e._ctx=Jt:s===3&&Jt&&(Jt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else if(P(e)){if(o&65){Nn(t,{default:e});return}e={default:e,_ctx:Jt},n=32}else e=String(e),o&64?(n=16,e=[oe(e)]):n=8;t.children=e,t.shapeFlag|=n}function oa(...t){const e={};for(let n=0;nkt||Jt;let Tn,Ue;{const t=nn(),e=(n,o)=>{let s;return(s=t[n])||(s=t[n]=[]),s.push(o),i=>{s.length>1?s.forEach(r=>r(i)):s[0](i)}};Tn=e("__VUE_INSTANCE_SETTERS__",n=>kt=n),Ue=e("__VUE_SSR_SETTERS__",n=>Ve=n)}const Be=t=>{const e=kt;return Tn(t),t.scope.on(),()=>{t.scope.off(),Tn(e)}},Js=()=>{kt&&kt.scope.off(),Tn(null)};function Ys(t){return t.vnode.shapeFlag&4}let Ve=!1;function aa(t,e=!1,n=!1){e&&Ue(e);const{props:o,children:s}=t.vnode,i=Ys(t);$r(t,o,i,e),Wr(t,s,n||e);const r=i?ca(t,e):void 0;return e&&Ue(!1),r}function ca(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Tr);const{setup:o}=n;if(o){Bt();const s=t.setupContext=o.length>1?ua(t):null,i=Be(t),r=we(o,t,0,[t.props,s]),a=Co(r);if(Vt(),i(),(a||t.sp)&&!Re(t)&&fs(t),a){if(r.then(Js,Js),e)return r.then(c=>{Ue(!0);try{Xs(t,c,e)}finally{Ue(!1)}}).catch(c=>{hn(c,t,0)});t.asyncDep=r}else Xs(t,r)}else Zs(t)}function Xs(t,e,n){P(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:X(e)&&(t.setupState=ts(e)),Zs(t)}function Zs(t,e,n){const o=t.type;t.render||(t.render=o.render||Kt);{const s=Be(t);Bt();try{Er(t)}finally{Vt(),s()}}}const la={get(t,e){return mt(t,"get",""),t[e]}};function ua(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,la),slots:t.slots,emit:t.emit,expose:e}}function _o(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(ts(Gi(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Fe)return Fe[n](t)},has(e,n){return n in e||n in Fe}})):t.proxy}const fa=/(?:^|[-_])\w/g,da=t=>t.replace(fa,e=>e.toUpperCase()).replace(/[-_]/g,"");function ha(t,e=!0){return P(t)?t.displayName||t.name:t.name||e&&t.__name}function Qs(t,e,n=!1){let o=ha(e);if(!o&&e.__file){const s=e.__file.match(/([^/\\]+)\.\w+$/);s&&(o=s[1])}if(!o&&t){const s=i=>{for(const r in i)if(i[r]===e)return r};o=s(t.components)||t.parent&&s(t.parent.type.components)||s(t.appContext.components)}return o?da(o):n?"App":"Anonymous"}function ga(t){return P(t)&&"__vccOpts"in t}const it=(t,e)=>Qi(t,e,Ve),pa="3.5.42";/** * @vue/runtime-dom v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let vo;const ti=typeof window<"u"&&window.trustedTypes;if(ti)try{vo=ti.createPolicy("vue",{createHTML:t=>t})}catch{}const ei=vo?t=>vo.createHTML(t):t=>t,ba="http://www.w3.org/2000/svg",ma="http://www.w3.org/1998/Math/MathML",ie=typeof document<"u"?document:null,ni=ie&&ie.createElement("template"),_a={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,o)=>{const s=e==="svg"?ie.createElementNS(ba,t):e==="mathml"?ie.createElementNS(ma,t):n?ie.createElement(t,{is:n}):ie.createElement(t);return t==="select"&&o&&o.multiple!=null&&s.setAttribute("multiple",o.multiple),s},createText:t=>ie.createTextNode(t),createComment:t=>ie.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>ie.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,o,s,i){const r=n?n.previousSibling:e.lastChild;if(s&&(s===i||s.nextSibling))for(;e.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{ni.innerHTML=ei(o==="svg"?`${t}`:o==="mathml"?`${t}`:t);const a=ni.content;if(o==="svg"||o==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}e.insertBefore(a,n)}return[r?r.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},va=Symbol("_vtc");function ya(t,e,n){const o=t[va];o&&(e=(e?[e,...o]:[...o]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const oi=Symbol("_vod"),xa=Symbol("_vsh"),ka=Symbol(""),wa=/(?:^|;)\s*display\s*:/;function Aa(t,e,n){const o=t.style,s=nt(n);let i=!1;if(n&&!s){if(e)if(nt(e))for(const r of e.split(";")){const a=r.slice(0,r.indexOf(":")).trim();n[a]==null&&We(o,a,"")}else for(const r in e)n[r]==null&&We(o,r,"");for(const r in n){r==="display"&&(i=!0);const a=n[r];a!=null?Ca(t,r,!nt(e)&&e?e[r]:void 0,a)||We(o,r,a):We(o,r,"")}}else if(s){if(e!==n){const r=o[ka];r&&(n+=";"+r),o.cssText=n,i=wa.test(n)}}else e&&t.removeAttribute("style");oi in t&&(t[oi]=i?o.display:"",t[xa]&&(o.display="none"))}const En=/\s*!important$/;function We(t,e,n){if(L(n))n.forEach(o=>We(t,e,o));else if(n==null&&(n=""),e.startsWith("--"))En.test(n)?t.setProperty(e,n.replace(En,""),"important"):t.setProperty(e,n);else{const o=Sa(t,e);En.test(n)?t.setProperty(zt(o),n.replace(En,""),"important"):t[o]=n}}const si=["Webkit","Moz","ms"],yo={};function Sa(t,e){const n=yo[e];if(n)return n;let o=Ct(e);if(o!=="filter"&&o in t)return yo[e]=o;o=To(o);for(let s=0;sxo||(Ma.then(()=>xo=0),xo=Date.now());function za(t,e){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;const s=n.value;if(L(s)){const i=o.stopImmediatePropagation;o.stopImmediatePropagation=()=>{i.call(o),o._stopped=!0};const r=s.slice(),a=[o];for(let c=0;ct.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Pa=(t,e,n,o,s,i)=>{const r=s==="svg";e==="class"?ya(t,o,r):e==="style"?Aa(t,n,o):Xe(e)?Ze(e)||Ea(t,e,n,o,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Oa(t,e,o,r))?(ai(t,e,o),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&ri(t,e,o,r,i,e!=="value")):t._isVueCE&&(Da(t,e)||t._def.__asyncLoader&&(/[A-Z]/.test(e)||!nt(o)))?ai(t,Ct(e),o,i,e):(e==="true-value"?t._trueValue=o:e==="false-value"&&(t._falseValue=o),ri(t,e,o,r))};function Oa(t,e,n,o){if(o)return!!(e==="innerHTML"||e==="textContent"||e in t&&li(e)&&P(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="sandbox"&&t.tagName==="IFRAME"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const s=t.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return li(e)&&nt(n)?!1:e in t}function Da(t,e){const n=t._def.props;if(!n)return!1;const o=Ct(e);return Array.isArray(n)?n.some(s=>Ct(s)===o):Object.keys(n).some(s=>Ct(s)===o)}const ui={};function Ra(t,e,n){let o=br(t,e);tn(o)&&(o=st({},o,e));class s extends ko{constructor(r){super(o,r,n)}}return s.def=o,s}const Fa=typeof HTMLElement<"u"?HTMLElement:class{};class ko extends Fa{constructor(e,n={},o=hi){super(),this._def=e,this._props=n,this._createApp=o,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&o!==hi?this._root=this.shadowRoot:e.shadowRoot!==!1?(this.attachShadow(st({},e.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 e=this;for(;e=e&&(e.assignedSlot||e.parentNode||e.host);)if(e instanceof ko){this._parent=e;break}this._instance||(this._resolved?this._mount(this._def):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then(()=>{if(this._pendingResolve=void 0,this.isConnected)return this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,pn(()=>{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(e){for(const n of e)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let o=0;o{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:r}=o;let a;if(i&&!L(i))for(const c in i){const u=i[c];(u===Number||u&&u.type===Number)&&(c in this._props&&(this._props[c]=jo(this._props[c])),(a||(a=Object.create(null)))[Ct(c)]=!0)}this._numberProps=a,this._resolveProps(o),this.shadowRoot&&this._applyStyles(r),this._mount(o)},n=this._def.__asyncLoader;if(n)return this._pendingResolve=n().then(o=>{o.configureApp=this._def.configureApp,e(this._def=o,!0)}),this._pendingResolve;e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const o in n)W(this,o)||Object.defineProperty(this,o,{get:()=>no(n[o])})}_resolveProps(e){const{props:n}=e,o=L(n)?n:Object.keys(n||{});for(const s of Object.keys(this))s[0]!=="_"&&o.includes(s)&&this._setProp(s,this[s]);for(const s of o.map(Ct))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(i){this._setProp(s,i,!0,!this._patching)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const n=this.hasAttribute(e);let o=n?this.getAttribute(e):ui;const s=Ct(e);n&&this._numberProps&&this._numberProps[s]&&(o=jo(o)),this._setProp(s,o,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,n,o=!0,s=!1){if(n!==this._props[e]&&(this._dirty=!0,n===ui?delete this._props[e]:(this._props[e]=n,e==="key"&&this._app&&(this._app._ceVNode.key=n)),s&&this._instance&&this._update(),o)){const i=this._ob;i&&(this._processMutations(i.takeRecords()),i.disconnect()),n===!0?this.setAttribute(zt(e),""):typeof n=="string"||typeof n=="number"?this.setAttribute(zt(e),n+""):n||this.removeAttribute(zt(e)),i&&i.observe(this,{attributes:!0})}}_update(){const e=this._createVNode();this._app&&(e.appContext=this._app._context),Ka(e,this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const n=xt(this._def,st(e,this._props));return this._instance||(n.ce=o=>{this._instance=o,o.ce=this,o.isCE=!0;const s=(i,r)=>{this.dispatchEvent(new CustomEvent(i,tn(r[0])?st({detail:r},r[0]):{detail:r}))};o.emit=(i,...r)=>{s(i,r),zt(i)!==i&&s(zt(i),r)},this._setParent()}),n}_applyStyles(e,n,o){if(!e)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const s=this._nonce,i=this.shadowRoot,r=o?this._getStyleAnchor(o)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(i);let a=null;for(let c=e.length-1;c>=0;c--){const u=document.createElement("style");s&&u.setAttribute("nonce",s),u.textContent=e[c],i.insertBefore(u,a||r),a=u,c===0&&(o||this._styleAnchors.set(this._def,u),n&&this._styleAnchors.set(n,u))}}_getStyleAnchor(e){if(!e)return null;const n=this._styleAnchors.get(e);return n&&n.parentNode===this.shadowRoot?n:(n&&this._styleAnchors.delete(e),null)}_getRootStyleInsertionAnchor(e){for(let n=0;n{di().render(...t)},hi=(...t)=>{const e=di().createApp(...t),{mount:n}=e;return e.mount=o=>{const s=Ua(o);if(!s)return;const i=e._component;!P(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const r=n(s,!1,$a(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),r},e};function $a(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Ua(t){return nt(t)?document.querySelector(t):t}function jn(t,e){if(!e.includes("."))return t==null?void 0:t[e];const[n,...o]=e.split(".");let s=t==null?void 0:t[n];for(const i of o)s=s==null?void 0:s[i];return s}function Ba(t,e){const n=t.toLowerCase(),o=e.toLowerCase(),s=[];let i=0,r=n.indexOf(o,i);for(;r!==-1;)s.push([r,r+o.length-1]),i=r+o.length,r=n.indexOf(o,i);return s}function Va(t,e,n){const o=t.toLowerCase(),s=e.toLowerCase(),i=s.length;if(!i||!o.length)return null;const r=Math.min(2,Math.floor(n*i));if(r<=0)return null;let a=new Array(o.length+1).fill(0),c=new Array(o.length+1);for(let x=1;x<=i;x++){c[0]=x;for(let S=1;S<=o.length;S++){const M=a[S-1]+(s[x-1]===o[S-1]?0:1);c[S]=Math.min(M,a[S]+1,c[S-1]+1)}[a,c]=[c,a]}let u=1/0,d=-1;for(let x=1;x<=o.length;x++)a[x]r?null:[[Math.max(0,d-i),d-1]]}function Wa(t,e,{threshold:n=.4}={}){const o=String(t??"").trim().toLowerCase();if(!o)return[];const s=Math.min(2,Math.floor(n*o.length)),i=[];for(const a of e){if(!a)continue;const c=String(a).toLowerCase();if(Math.abs(c.length-o.length)>s)continue;const u=Ga(c,o,s);u<=s&&i.push({value:a,distance:u})}if(!i.length)return[];const r=Math.min(...i.map(a=>a.distance));return i.filter(a=>a.distance===r).map(a=>a.value)}function Ga(t,e,n){if(t===e)return 0;let o=Array.from({length:e.length+1},(i,r)=>r);const s=new Array(e.length+1);for(let i=1;i<=t.length;i++){s[0]=i;let r=i;for(let a=1;a<=e.length;a++)s[a]=Math.min(o[a-1]+(t[i-1]===e[a-1]?0:1),o[a]+1,s[a-1]+1),s[a]n)return n+1;for(let a=0;a<=e.length;a++)o[a]=s[a]}return o[e.length]}class Ja{constructor(e,n={}){this.list=Array.isArray(e)?e:[],this.keys=n.keys||[],this.threshold=typeof n.threshold=="number"?n.threshold:.4,this.minMatchCharLength=n.minMatchCharLength||1}search(e){const n=String(e||"").trim();if(!n)return this.list.map(u=>({item:u,matches:[]}));if(n.length{const n=t.__vccOpts||t;for(const[o,s]of e)n[o]=s;return n},Xa=["value","placeholder","aria-label"],Za=wo({__name:"SearchBar",props:{modelValue:{type:String,default:""},placeholder:{type:String,default:"Search…"},ariaLabel:{type:String,default:"Search"},maxWidth:{type:String,default:""}},emits:["update:modelValue","search"],setup(t,{emit:e}){const n=t,o=e,s=it(()=>n.maxWidth?{maxWidth:n.maxWidth}:{});function i(r){const a=r.target.value??"";o("update:modelValue",a),o("search",{value:a})}return(r,a)=>(K(),$("div",{class:"search-box",style:ye(s.value)},[a[0]||(a[0]=H("svg",{class:"search-icon",width:"18",height:"18",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[H("circle",{cx:"11",cy:"11",r:"7",fill:"none",stroke:"currentColor","stroke-width":"2"}),H("line",{x1:"16.5",y1:"16.5",x2:"21",y2:"21",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),H("input",{type:"search",value:t.modelValue,placeholder:t.placeholder,"aria-label":t.ariaLabel,onInput:i},null,40,Xa)],4))}},[["styles",[Ya]]]),Qa=".filter-dropdown{position:relative;flex:0 0 auto;width:var(--dx-filter-w, 128px);min-width:var(--dx-filter-w, 128px);max-width:var(--dx-filter-w, 128px)}@media (max-width: 576px){.filter-dropdown{width:var(--dx-filter-w-sm, 108px);min-width:var(--dx-filter-w-sm, 108px);max-width:var(--dx-filter-w-sm, 108px)}}.filter-dropdown__trigger{width:100%;padding:var(--dx-filter-pad-y, 4px) var(--dx-filter-pad-x, 8px);cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:.875rem;color:var(--dx-text, #3b463d);text-align:start;background:var(--dx-elevated, #fff);border:1px solid var(--dx-line, #d1d4cd);border-radius:8px;transition:border-color .15s ease}.filter-dropdown__trigger:hover{border-color:var(--dx-accent, #92b195)}.filter-dropdown__trigger[data-active]{background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18));border-color:var(--dx-accent, #92b195)}.filter-dropdown__label{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filter-dropdown__chevron{flex-shrink:0;transition:transform .2s ease}.filter-dropdown.is-open .filter-dropdown__chevron{transform:rotate(180deg)}.filter-dropdown__menu{position:fixed;z-index:2147483000;background-color:var(--dx-elevated, #fff);color:var(--dx-text, #3b463d);border:1px solid var(--dx-line, #d1d4cd);border-radius:8px;box-shadow:0 4px 12px #0000001f;overflow:hidden;display:flex;flex-direction:column;min-width:160px}.filter-dropdown__search{border:none;border-bottom:1px solid var(--dx-line, #d1d4cd);border-radius:0;padding:6px 12px;width:100%;font-size:.875rem;color:var(--dx-text, #3b463d);background:var(--dx-elevated, #fff);outline:none;box-sizing:border-box}.filter-dropdown__search::placeholder{color:var(--dx-muted, #6d766e)}.filter-dropdown__clear{display:block;width:100%;background:none;border:none;border-bottom:1px solid var(--dx-line, #d1d4cd);padding:6px 12px;font-size:.875rem;color:var(--dx-text, #3b463d);cursor:pointer;text-align:start;text-decoration:underline;text-decoration-color:var(--dx-accent, #92b195);text-underline-offset:3px}.filter-dropdown__clear:hover{background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18))}.filter-dropdown__options{flex:1 1 auto;min-height:0;max-height:250px;overflow-y:auto}.filter-dropdown__search,.filter-dropdown__clear{flex:0 0 auto}.filter-dropdown__option{padding:5px 12px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:.875rem;transition:background-color .1s ease}.filter-dropdown__option[data-selected]{font-weight:700;color:var(--dx-text, #3b463d);box-shadow:inset 3px 0 0 var(--dx-accent, #92b195)}.filter-dropdown__option:hover,.filter-dropdown__option[data-highlighted]{background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18))}.filter-dropdown__count{color:var(--dx-muted, #6d766e);font-size:.75rem;margin-inline-start:6px}.filter-dropdown__no-options{padding:12px;font-size:.875rem;color:var(--dx-muted, #6d766e);text-align:center}",tc=["data-active","aria-expanded"],ec={class:"filter-dropdown__label"},nc=["value","placeholder"],oc={class:"filter-dropdown__options"},sc={key:0,class:"filter-dropdown__no-options"},ic=["data-highlighted","data-selected","aria-selected","onClick","onMouseenter"],rc={class:"filter-dropdown__count"},qn=wo({__name:"FilterDropdown",props:{label:{type:String,required:!0},name:{type:String,required:!0},options:{type:Array,default:()=>[]},value:{type:String,default:""},placeholder:{type:String,default:"Type to search..."}},emits:["filter-change","filter-clear"],setup(t,{emit:e}){const n=t,o=e,s=dt(!1),i=dt(""),r=dt(-1),a=dt(null),c=dt(null),u=dt(null),d=dt({});function g(D){const I=D.ownerDocument,V=I.createElement("div");V.style.cssText="position:fixed;top:0;left:0;width:0;height:0;pointer-events:none;opacity:0",(D.parentElement||D.getRootNode().body||I.body).appendChild(V);const wt=V.getBoundingClientRect();return V.remove(),{x:wt.left,y:wt.top}}function x(){const D=u.value;if(!D)return;const I=D.getBoundingClientRect(),V=window.innerWidth,qt=window.innerHeight,wt=320,Ot=4,At=8,G=Math.round(Math.min(Math.max(I.width,240),V-At*2)),Y=I.right>At&&I.leftV-At?gt=Math.round(Math.max(I.right-G,At)):gt=Math.round(Math.max(I.left,At)):gt=Math.round(Math.min(Math.max(I.left,At),V-G-At));const It=qt-I.bottom,Mt=It<180&&I.top>It,_t=g(D),me=Math.round(gt-_t.x);d.value=Mt?{top:"auto",bottom:`${Math.round(qt-I.top+Ot+_t.y)}px`,left:`${me}px`,width:`${G}px`,maxHeight:`${Math.round(Math.min(wt,I.top-Ot-At))}px`}:{top:`${Math.round(I.bottom+Ot-_t.y)}px`,bottom:"auto",left:`${me}px`,width:`${G}px`,maxHeight:`${Math.round(Math.min(wt,It-Ot-At))}px`}}function S(){s.value&&x()}const M=it(()=>{if(!i.value)return n.options;const D=i.value.toLowerCase();return n.options.filter(I=>I.label.toLowerCase().includes(D))}),j=it(()=>n.options.find(D=>D.value===n.value));function U(D){var V;const I=((V=D.composedPath)==null?void 0:V.call(D))??[];a.value&&!I.includes(a.value)&&F()}function R(){s.value?F():O()}function O(){s.value=!0,i.value="",r.value=-1,x(),document.addEventListener("click",U),window.addEventListener("scroll",S,!0),window.addEventListener("resize",S),pn(()=>{var D;x(),(D=c.value)==null||D.focus()})}function F(){s.value=!1,i.value="",r.value=-1,document.removeEventListener("click",U),window.removeEventListener("scroll",S,!0),window.removeEventListener("resize",S)}function q(D){i.value=D.target.value,r.value=-1}function J(D){const I=M.value;switch(D.key){case"ArrowDown":D.preventDefault(),r.value=Math.min(r.value+1,I.length-1),ht();break;case"ArrowUp":D.preventDefault(),r.value=Math.max(r.value-1,0),ht();break;case"Enter":{D.preventDefault();const V=I[r.value];V&&ot(V);break}case"Escape":D.preventDefault(),F();break}}function ht(){pn(()=>{var I;const D=(I=a.value)==null?void 0:I.querySelector(".filter-dropdown__option[data-highlighted]");D==null||D.scrollIntoView({block:"nearest"})})}function ot(D){o("filter-change",{name:n.name,value:D.value,label:D.label,type:D.type}),F()}function Tt(){o("filter-clear",{name:n.name}),F()}return bs(()=>{document.removeEventListener("click",U),window.removeEventListener("scroll",S,!0),window.removeEventListener("resize",S)}),(D,I)=>(K(),$("div",{ref_key:"rootRef",ref:a,class:on(["filter-dropdown",{"is-open":s.value}])},[H("button",{ref_key:"triggerRef",ref:u,class:"filter-dropdown__trigger input","data-active":t.value?"":void 0,type:"button","aria-haspopup":"listbox","aria-expanded":s.value,onClick:R},[H("span",ec,[j.value?(K(),$(at,{key:0},[oe(rt(t.label)+": ",1),H("strong",null,rt(j.value.label),1)],64)):(K(),$(at,{key:1},[oe(rt(t.label),1)],64))]),I[0]||(I[0]=H("svg",{class:"filter-dropdown__chevron",width:"12",height:"12",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},[H("path",{d:"M2 4l4 4 4-4",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],8,tc),s.value?(K(),$("div",{key:0,class:"filter-dropdown__menu",role:"listbox",style:ye(d.value)},[H("input",{ref_key:"searchInputRef",ref:c,class:"filter-dropdown__search",type:"text",value:i.value,placeholder:t.placeholder,onInput:q,onKeydown:J},null,40,nc),t.value?(K(),$("button",{key:0,class:"filter-dropdown__clear",type:"button",onClick:Tt},"Clear selection")):mt("",!0),H("div",oc,[M.value.length===0?(K(),$("div",sc,"No options found")):(K(!0),$(at,{key:1},kn(M.value,(V,qt)=>(K(),$("div",{key:V.value,class:"filter-dropdown__option",role:"option","data-highlighted":qt===r.value?"":void 0,"data-selected":V.value===t.value?"":void 0,"aria-selected":V.value===t.value,onClick:wt=>ot(V),onMouseenter:wt=>r.value=qt},[H("span",null,rt(V.label),1),H("span",rc,rt(V.count),1)],40,ic))),128))])],4)):mt("",!0)],2))}},[["styles",[Qa]]]),ac=zn&&zn.tagName.toUpperCase()==="SCRIPT"&&zn.src||new URL("people-groups-grid.js",document.baseURI).href,Ge=t=>String(t||"").trim().replace(/\/+$/,"");function cc(){try{const e=String(ac||"").split(/[?#]/)[0].match(/^(.*)\/([^/]+)\/([^/]+)\.js$/);return!e||e[2]!==e[3]?null:e[1]||null}catch{return null}}function lc(t){const e=t==null?void 0:t.assetsBase;if(typeof e=="string"&&e.trim()){const o=Ge(e);if(/^https?:\/\//i.test(o)||o.startsWith("/"))return o}const n=Ge((t==null?void 0:t.treeBase)||"")||Ge(cc()||"");if(n)try{const o=typeof document<"u"?document.baseURI:void 0;return Ge(new URL(n+"/../assets",o).href)}catch{return Ge(n.replace(/\/[^/]*$/,"")+"/assets")}return"./assets"}function uc(t,e){return String(e||t||"").trim().toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}const gi={C:"Christianity",M:"Islam",H:"Hinduism",B:"Buddhism",E:"Ethnoreligion",J:"Judaism",S:"Sikhism",N:"Unaffiliated",O:"Other",U:"Unknown"},fc={"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","Atlantic-Congo":"#7D3C98",Mande:"#B9770E","Sign Language":"#212121",Creole:"#9575cd","Mixed language":"#a1887f","Language isolate":"#90a4ae",Unknown:"#000000"},dc=(()=>{const t=n=>String(n||"").toLowerCase().trim(),e={};for(const n of Object.keys(fc))e[t(n)]=n;return e})(),hc={"tai-kadai":"Kra-Dai",none:"Unknown"};function pi(t){if(!t)return"Unknown";const e=String(t).trim(),n=e.toLowerCase();return hc[n]||dc[n]||e}const gc={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"},pc=":host{display:block;width:100%;--dx-surface: #f3f3f1;--dx-elevated: #ffffff;--dx-text: #3b463d;--dx-muted: #6d766e;--dx-line: #d1d4cd;--dx-accent: #92b195;--dx-accent-weak: rgba(146, 177, 149, .18);--dx-accent-soft: rgba(146, 177, 149, .1);--dx-accent-strong: #657967}.pgg-root{--brand: var(--dx-accent, #92b195);--ink: var(--dx-text, #3b463d);--mut: var(--dx-muted, #6d766e);--line: var(--dx-line, #d1d4cd);--card: var(--dx-elevated, #fff);--bg: var(--dx-surface, #f3f3f1);width:100%;box-sizing:border-box;color:var(--ink);background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;padding:16px}.filters{display:flex;flex-direction:column;gap:12px;margin-bottom:16px;padding-block:18px 8px;min-height:190px}.pgg-search{display:flex;justify-content:center}.filters__toggle{background:var(--dx-elevated, #fff);border:1px solid var(--dx-line, #d1d4cd);border-radius:8px;cursor:pointer;font-size:.875rem;font-weight:500;color:var(--dx-text, #3b463d);padding:7px 12px;display:inline-flex;align-items:center;gap:7px;margin-inline:auto;transition:background-color .15s ease,border-color .15s ease}.filters__toggle:hover{background:var(--dx-accent-weak, rgba(146,177,149,.18));border-color:var(--dx-accent, #92b195)}.filters__toggle:focus-visible{outline:2px solid var(--dx-accent, #92b195);outline-offset:2px}.filters__toggle-icon{color:var(--dx-accent, #92b195);flex:none}.filters__toggle-count{background:var(--dx-accent, #92b195);color:#fff;border-radius:999px;min-width:18px;padding:0 5px;font-size:.75rem;line-height:18px;text-align:center}.filters__toggle[aria-expanded=true] svg{transform:rotate(180deg)}.filters__panel{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;align-items:flex-start}.filter-toggle{padding:6px 12px;cursor:pointer;font-size:.875rem;color:inherit;background:var(--card);border:1px solid var(--line);border-radius:8px;transition:border-color .15s ease,background .15s ease}.filter-toggle:hover{border-color:var(--brand)}.filter-toggle[data-active]{background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18));border-color:var(--brand);color:var(--ink)}.filters__active{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center}.filter-chip{display:inline-flex;gap:6px;align-items:center;background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18));color:var(--ink);border:1px solid var(--line);border-radius:100px;padding:4px 12px;font-size:.85rem}.filter-chip__remove{background:none;border:none;cursor:pointer;font-size:1.1em;line-height:1;color:inherit;padding:0;display:inline-flex;align-items:center}.filter-chip__remove:hover{opacity:.7}.filters__clear-all{background:none;border:none;cursor:pointer;font-size:.875rem;color:var(--ink);text-decoration:underline;text-decoration-color:var(--brand);text-underline-offset:4px}.repel{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.font-size-sm{font-size:.875rem;color:var(--mut)}.grid.uupgs-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}.card.uupg__card{display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 1px 2px #0000000a}.uupg__image{width:100%;aspect-ratio:1 / 1;object-fit:cover;background:var(--line)}.uupg__header{padding:12px 14px 6px}.uupg__name{font-size:1rem;font-weight:700;line-height:1.2;margin:0 0 4px}.uupg__country{font-size:.85rem;color:var(--mut);margin:0}.uupg__country-link{color:var(--ink);font-weight:600;text-decoration:underline;text-decoration-color:var(--brand);text-decoration-thickness:1px;text-underline-offset:2px}.uupg__country-link:hover{text-decoration-thickness:2px}.uupg__match{font-size:.8rem;color:var(--mut);margin:4px 0 0}.uupg__content{padding:0 14px;font-size:.85rem;color:var(--mut)}.uupg__more-button{margin:12px 14px 14px;padding:8px 12px;text-align:center;font-size:.85rem;font-weight:700;color:var(--dx-elevated, #fff);background:var(--dx-accent-strong, #657967);border-radius:8px;text-decoration:none}.uupg__more-button:hover{background:var(--dx-text, #3b463d)}.search-highlight{background:#fde68a;border-radius:2px;padding:0 1px}.loading,.pgg-empty{grid-column:1 / -1;padding:28px;text-align:center;color:var(--mut);font-size:.9rem}.pgg-failed{font-weight:600;border-top:1px solid var(--bd, #d1d4cd)}.pgg-loadmore{display:block;margin:20px auto 0;padding:8px 18px;font-size:.9rem;cursor:pointer;color:var(--ink);background:var(--card);border:1px solid var(--brand);border-radius:8px}.pgg-loadmore:hover{background:var(--dx-accent-soft, rgba(146, 177, 149, .1))}",bc={class:"pgg-root"},mc={key:0,class:"pgg-search"},_c=["aria-expanded"],vc={key:0,class:"filters__toggle-count"},yc={class:"filters__panel"},xc={class:"filters__panel"},kc=["data-active"],wc={key:3,class:"filters__active"},Ac=["onClick"],Sc={class:"pgg-body"},Cc={key:0,class:"repel"},Nc={class:"font-size-sm"},Tc={key:1},Ec={id:"results",class:"grid uupgs-list"},jc=["src","alt"],qc={class:"uupg__header"},Ic=["innerHTML"],Mc={key:0,class:"uupg__country"},Lc=["href"],zc=["innerHTML"],Pc=["innerHTML"],Oc=["innerHTML"],Dc={key:1,class:"uupg__content"},Rc=["href"],Fc={key:0,class:"loading"},Hc={key:1,class:"pgg-empty pgg-failed",role:"status"},Kc={key:2,class:"pgg-empty"},$c=Ra(wo({__name:"people-groups-grid",props:{profileConfig:{type:String,default:""},prayBaseUrl:{type:String,default:""},languageCode:{type:String,default:""},researchUrl:{type:String,default:""},selectUrl:{type:String,default:""},t:{type:Object,default:()=>({})},showSearch:{type:[Boolean,String],default:!0},showFilters:{type:[Boolean,String],default:!0},showTotal:{type:[Boolean,String],default:!0},query:{type:String,default:""},wagfRegion:{type:String,default:""},wagfBlock:{type:String,default:""},rop1:{type:String,default:""},religion:{type:String,default:""},countryCode:{type:String,default:""},primaryLanguage:{type:String,default:""},cluster:{type:String,default:""},peopleGroup:{type:String,default:""},engagementStatus:{type:String,default:""},gospelAccess:{type:String,default:""},religionFamily:{type:String,default:""},languageFamily:{type:String,default:""},perPage:{type:Number,default:24},morePerPage:{type:Number,default:0}},emits:["groups-filtered"],setup(t,{emit:e}){const n=t,o=e,s=it(()=>{if(!n.profileConfig)return{};try{return JSON.parse(n.profileConfig)||{}}catch{return{}}}),i=it(()=>!g.value&&!x.value?null:{backgroundImage:`url(${lc(s.value)}/brand/worldmap.svg)`,backgroundSize:"60%",backgroundPosition:"top center",backgroundRepeat:"no-repeat"}),r=it(()=>n.prayBaseUrl||s.value.prayBaseUrl||"https://pray.doxa.life"),a=it(()=>n.languageCode||s.value.languageCode||""),c=it(()=>n.researchUrl||s.value.researchUrl||(typeof window<"u"&&window.DOXA_SITE_URL||"https://doxa.life").replace(/\/+$/,"")+"/research/"),u=it(()=>({...s.value.t||{},...n.t||{}})),d=h=>!(h===!1||h==="false"||h==="0"||h===0),g=it(()=>d(n.showSearch)),x=it(()=>d(n.showFilters)),S=it(()=>d(n.showTotal)),M=dt([]),j=dt([]),U=dt(0),R=dt(1),O=dt(!0),F=dt(!1),q=dt(!0),J=dt({}),ht=dt(""),ot=dt({}),Tt=it(()=>g.value?ht.value:n.query||""),D=it(()=>{const h={},b=m=>m;return n.wagfRegion&&(h.wagf_region={value:n.wagfRegion,label:b(n.wagfRegion)}),n.wagfBlock&&(h.wagf_block={value:n.wagfBlock,label:b(n.wagfBlock)}),n.rop1&&(h.rop1={value:n.rop1,label:b(n.rop1)}),n.religion&&(h.religion={value:n.religion,label:b(n.religion)}),n.countryCode&&(h.country_code={value:n.countryCode,label:b(n.countryCode)}),n.primaryLanguage&&(h.primary_language={value:n.primaryLanguage,label:b(n.primaryLanguage)}),n.engagementStatus&&(h.engagement_status={value:n.engagementStatus,label:b(n.engagementStatus)}),n.cluster&&(h.imb_reg_of_people_2={value:n.cluster,label:b(n.cluster)}),n.peopleGroup&&(h.imb_reg_of_people_25={value:n.peopleGroup,label:b(n.peopleGroup)}),n.gospelAccess&&(h.imb_gsec={value:n.gospelAccess,label:b(n.gospelAccess)}),n.religionFamily&&(h.__religion_family={value:n.religionFamily,label:b(n.religionFamily)}),n.languageFamily&&(h.__language_family={value:n.languageFamily,label:b(n.languageFamily)}),h}),I=it(()=>x.value?ot.value:D.value),V=it(()=>Object.values(I.value||{}).filter(h=>h&&h.value!==""&&h.value!=null).length),qt=it(()=>Object.keys(I.value).length),wt=it(()=>V.value>0||!!(Tt.value||"").trim());function Ot(h){return h.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function At(h,b=500){let m;return(...k)=>{clearTimeout(m),m=setTimeout(()=>h(...k),b)}}const ct=At(()=>{O.value=!0,R.value=1,l()},500);function G(h){ht.value=(h==null?void 0:h.value)??"",ct()}function Y(){q.value=!q.value}function gt(h){ot.value={...ot.value,[h.name]:{value:h.value,label:h.label}},R.value=1,l()}function It(h){Mt(h.name)}function Mt(h){const b={...ot.value};delete b[h],ot.value=b,R.value=1,l()}function _t(){ot.value={},R.value=1,l()}function me(){if(ot.value.exact)return Mt("exact");ot.value={...ot.value,exact:{value:"yes",label:u.value.exact_filter||"Exact"}},R.value=1,l()}const Je=h=>String(h??"").toLowerCase().replace(/[\s_&-]+/g,""),In={__religion_family:h=>{const b=h.religion&&typeof h.religion=="object"?h.religion.value:h.religion,m=String(b||"").charAt(0).toUpperCase(),k=m&&gi[m]?gi[m]:"";return k?{value:k,label:k}:null},__language_family:h=>{const b=h.imb_language_family,m=b&&typeof b=="object"?b.label||b.value:b;let k="";if(m)k=pi(m);else{const N=h.primary_language&&typeof h.primary_language=="object"?h.primary_language.value:null,E=N&&gc[N];k=E?pi(E):""}return k?{value:k,label:k}:null}},le=(h,b)=>In[b]?In[b](h):h[b];function _e(h,b){if(!h)return!1;const m=Je(b==null?void 0:b.value);return m?Je(h.value)===m||Je(h.label)===m:!1}function Ye(h){let b=h;for(const[m,k]of Object.entries(I.value))m==="exact"?b=b:b=b.filter(N=>_e(le(N,m),k));return b}function Mn(){const h=b=>{const m=new Map;for(const k of M.value){const N=k[b];if(!(N!=null&&N.value))continue;const E=m.get(N.value);E?E.count++:m.set(N.value,{label:N.label,count:1})}return Array.from(m.entries()).map(([k,{label:N,count:E}])=>({value:k,label:N,count:E})).sort((k,N)=>k.label.localeCompare(N.label))};J.value={wagf_region:h("wagf_region"),wagf_block:h("wagf_block"),rop1:h("rop1"),religion:h("religion")}}function ue(){const h=Object.keys(J.value),b={};for(const m of h){const k={};for(const[T,z]of Object.entries(I.value))T!==m&&(k[T]=z);const N=bi(k,M.value),E=new Map;for(const T of N){const z=T[m];z!=null&&z.value&&E.set(z.value,(E.get(z.value)??0)+1)}b[m]=(J.value[m]??[]).map(T=>({...T,count:E.get(T.value)??0}))}J.value=b}function bi(h,b){let m=b;for(const[k,N]of Object.entries(h))k!=="exact"&&(m=m.filter(E=>_e(le(E,k),N)));return m}function l(){M.value=M.value.map(E=>(E.matches=[],E.country_label="",E.rop1_label="",E));const b=Object.keys(I.value).length>0?Ye(M.value):M.value,m=Tt.value;if(!m){j.value=b,U.value=j.value.length,O.value=!1,ue(),y();return}const N=new Ja(b,{includeMatches:!0,ignoreLocation:!0,minMatchCharLength:3,threshold:I.value.exact?0:.4,keys:["name","imb_alternate_name","country_code.label","rop1.label","religion.label","wagf_region.label","wagf_block.label"]}).search(m);j.value=N.map(E=>{var z;const T={...E.item};if(!E.matches)return T;T.matches=[];for(const Z of E.matches){const et=Z.key;if(!et)continue;let lt="";if(String(et).includes(".")){const[St,Et]=String(et).split(".");lt=(z=T[St])==null?void 0:z[Et]}else lt=T[String(et)];if(lt&&typeof lt=="string"){let St=0,Et="";if(Z.indices.forEach((Ht,pt)=>{const Lt=Ht[0],Te=Ht[1],Ln=Z.indices.length-1===pt;Et+=Ot(lt.slice(St,Lt))+`${Ot(lt.slice(Lt,Te+1))}`+(Ln?Ot(lt.slice(Te+1)):""),St=Te+1}),String(et).includes("imb_alternate_name"))T.matches.push({key:u.value.alternate_name??"Also known as",label:Et});else if(String(et).includes(".")){const[Ht]=String(et).split("."),pt={religion:u.value.religion,country_code:u.value.country,rop1:u.value.rop1,wagf_region:u.value.wagf_region,wagf_block:u.value.wagf_block};Ht==="rop1"?T.rop1_label=Et:Ht==="country_code"?T.country_label=Et:Ht==="wagf_region"||T.matches.push({key:pt[Ht]??Ht,label:Et})}else T[String(et)]=Et}}return T}),U.value=j.value.length,O.value=!1,ue(),y()}const f=Gs();function p(){var b,m;const h=((b=f==null?void 0:f.vnode)==null?void 0:b.el)||((m=f==null?void 0:f.proxy)==null?void 0:m.$el);try{const k=h&&h.getRootNode&&h.getRootNode();if(k&&k.host)return k.host}catch{}return h}function y(){const h={query:Tt.value,activeFilters:I.value,total:U.value,slugs:j.value.map(m=>m.slug)};o("groups-filtered",h);const b=p();b&&typeof b.dispatchEvent=="function"&&b.dispatchEvent(new CustomEvent("groups-filtered",{detail:h,bubbles:!0,composed:!0}))}function v(){return n.morePerPage>0?U.value>n.perPage+(R.value-1)*n.morePerPage&&!O.value&&j.value.length>0:U.value>R.value*n.perPage&&!O.value&&j.value.length>0}function _(){R.value=R.value+1}const C=it(()=>n.morePerPage>0?j.value.slice(0,n.perPage+(R.value-1)*n.morePerPage):j.value.slice(0,R.value*n.perPage)),A=it(()=>v());async function w(){const h=`${r.value}/api/people-groups/list?fields=name,slug,wagf_region,wagf_block,country_code,rop1,religion,has_photo,image_url,adopted_by_churches,imb_alternate_name,engagement_status,people_committed,primary_language,imb_reg_of_people_2,imb_reg_of_people_25,imb_gsec,imb_language_family&lang=${a.value}`;O.value=!0,F.value=!1;try{const b=await fetch(h);if(!b.ok)throw new Error(`HTTP ${b.status}`);const m=await b.json();U.value=m.total,M.value=Array.isArray(m.posts)?m.posts:[],Mn(),l()}catch(b){console.error("[people-groups-grid] fetch error:",b),F.value=!0,M.value=[],O.value=!1}}return _n(()=>[n.query,D.value,g.value,x.value],()=>{R.value=1,l()}),ps(w),(h,b)=>{var m,k,N,E;return K(),$("div",bc,[g.value||x.value?(K(),$("div",{key:0,id:"filters",class:"filters",style:ye(i.value)},[g.value?(K(),$("div",mc,[xt(Za,{"model-value":ht.value,placeholder:u.value.search||"Search people groups…","aria-label":u.value.search||"Search people groups","max-width":"480px",onSearch:G},null,8,["model-value","placeholder","aria-label"])])):mt("",!0),x.value?(K(),$("button",{key:1,class:"filters__toggle",type:"button","aria-expanded":q.value,onClick:Y},[b[0]||(b[0]=H("svg",{class:"filters__toggle-icon",width:"13",height:"13",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[H("path",{d:"M1.5 2.5h9M3 6h6M4.5 9.5h3",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})],-1)),oe(" "+rt(q.value?u.value.hide_filters||"Hide Filters":u.value.show_filters||"Show Filters")+" ",1),V.value?(K(),$("span",vc,rt(V.value),1)):mt("",!0),b[1]||(b[1]=H("svg",{width:"12",height:"12",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},[H("path",{d:"M2 4l4 4 4-4",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],8,_c)):mt("",!0),x.value&&q.value?(K(),$(at,{key:2},[H("div",yc,[xt(qn,{label:u.value.wagf_region||"Region",name:"wagf_region",options:J.value.wagf_region||[],value:((m=I.value.wagf_region)==null?void 0:m.value)??"",placeholder:u.value.type_to_search||"Type to search...",onFilterChange:gt,onFilterClear:It},null,8,["label","options","value","placeholder"]),xt(qn,{label:u.value.wagf_block||"Bloc",name:"wagf_block",options:J.value.wagf_block||[],value:((k=I.value.wagf_block)==null?void 0:k.value)??"",placeholder:u.value.type_to_search||"Type to search...",onFilterChange:gt,onFilterClear:It},null,8,["label","options","value","placeholder"]),xt(qn,{label:u.value.rop1||"People Group",name:"rop1",options:J.value.rop1||[],value:((N=I.value.rop1)==null?void 0:N.value)??"",placeholder:u.value.type_to_search||"Type to search...",onFilterChange:gt,onFilterClear:It},null,8,["label","options","value","placeholder"]),xt(qn,{label:u.value.religion||"Religion",name:"religion",options:J.value.religion||[],value:((E=I.value.religion)==null?void 0:E.value)??"",placeholder:u.value.type_to_search||"Type to search...",onFilterChange:gt,onFilterClear:It},null,8,["label","options","value","placeholder"])]),H("div",xc,[H("button",{class:"filter-toggle",type:"button","data-active":I.value.exact?"":void 0,onClick:me},rt(u.value.exact_filter||"Exact"),9,kc)])],64)):mt("",!0),x.value&&qt.value>0?(K(),$("div",wc,[(K(!0),$(at,null,kn(I.value,(T,z)=>(K(),$("span",{key:z,class:"filter-chip"},[oe(rt(T.label)+" ",1),H("button",{class:"filter-chip__remove",type:"button",onClick:Z=>Mt(String(z))},"×",8,Ac)]))),128)),H("button",{class:"filters__clear-all",type:"button",onClick:_t},rt(u.value.clear_all||"Clear All"),1)])):mt("",!0)],4)):mt("",!0),H("div",Sc,[S.value||wt.value?(K(),$("div",Cc,[H("div",Nc,[O.value?(K(),$("span",Tc," ")):(K(),$(at,{key:0},[oe(rt(wt.value&&!S.value?(u.value.showing||"Showing")+" "+U.value.toLocaleString("en-US"):(u.value.total||"Total")+": "+U.value.toLocaleString("en-US")),1)],64))])])):mt("",!0),H("div",Ec,[(K(!0),$(at,null,kn(C.value,T=>(K(),$("div",{key:T.slug,class:"card uupg__card"},[T.image_url?(K(),$("img",{key:0,class:"uupg__image",src:T.image_url,alt:T.name},null,8,jc)):mt("",!0),H("div",qc,[H("h3",{class:"uupg__name",innerHTML:T.name},null,8,Ic),T.country_code?(K(),$("p",Mc,[H("a",{class:"uupg__country-link",href:`${c.value}../countries/${no(uc)(T.country_code.value,T.country_code.label)}`},[H("span",{innerHTML:T.country_label?T.country_label:T.country_code.label},null,8,zc)],8,Lc),T.rop1?(K(),$(at,{key:0},[b[2]||(b[2]=oe(" (",-1)),H("span",{innerHTML:T.rop1_label?T.rop1_label:T.rop1.label},null,8,Pc),b[3]||(b[3]=oe(")",-1))],64)):mt("",!0)])):mt("",!0),T.matches?(K(!0),$(at,{key:1},kn(T.matches,(z,Z)=>(K(),$("p",{key:Z,class:"uupg__match"},[H("strong",null,rt(z.key),1),b[4]||(b[4]=oe(": ",-1)),H("span",{innerHTML:z.label},null,8,Oc)]))),128)):mt("",!0)]),T.location_description?(K(),$("p",Dc,rt(T.location_description),1)):mt("",!0),H("a",{class:"uupg__more-button",href:`${c.value}${T.slug}`},rt(u.value.full_profile||"Full profile"),9,Rc)]))),128)),O.value?(K(),$("div",Fc,rt(u.value.loading||"Loading…"),1)):F.value?(K(),$("div",Hc,rt(u.value.load_failed||"People-group data could not be loaded. This is a connection problem, not your filter."),1)):C.value.length?mt("",!0):(K(),$("div",Kc,rt(u.value.no_results||"No people groups match this filter."),1))]),A.value?(K(),$("button",{key:1,class:"pgg-loadmore",type:"button",onClick:_},rt(u.value.load_more||"Load more"),1)):mt("",!0)])])}}},[["styles",[pc]]]));typeof customElements<"u"&&(customElements.get("people-groups-grid")||customElements.define("people-groups-grid",$c))})(); +**/let vo;const ti=typeof window<"u"&&window.trustedTypes;if(ti)try{vo=ti.createPolicy("vue",{createHTML:t=>t})}catch{}const ei=vo?t=>vo.createHTML(t):t=>t,ba="http://www.w3.org/2000/svg",ma="http://www.w3.org/1998/Math/MathML",ie=typeof document<"u"?document:null,ni=ie&&ie.createElement("template"),_a={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,o)=>{const s=e==="svg"?ie.createElementNS(ba,t):e==="mathml"?ie.createElementNS(ma,t):n?ie.createElement(t,{is:n}):ie.createElement(t);return t==="select"&&o&&o.multiple!=null&&s.setAttribute("multiple",o.multiple),s},createText:t=>ie.createTextNode(t),createComment:t=>ie.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>ie.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,o,s,i){const r=n?n.previousSibling:e.lastChild;if(s&&(s===i||s.nextSibling))for(;e.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{ni.innerHTML=ei(o==="svg"?`${t}`:o==="mathml"?`${t}`:t);const a=ni.content;if(o==="svg"||o==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}e.insertBefore(a,n)}return[r?r.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},va=Symbol("_vtc");function ya(t,e,n){const o=t[va];o&&(e=(e?[e,...o]:[...o]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const oi=Symbol("_vod"),xa=Symbol("_vsh"),ka=Symbol(""),wa=/(?:^|;)\s*display\s*:/;function Aa(t,e,n){const o=t.style,s=nt(n);let i=!1;if(n&&!s){if(e)if(nt(e))for(const r of e.split(";")){const a=r.slice(0,r.indexOf(":")).trim();n[a]==null&&We(o,a,"")}else for(const r in e)n[r]==null&&We(o,r,"");for(const r in n){r==="display"&&(i=!0);const a=n[r];a!=null?Ca(t,r,!nt(e)&&e?e[r]:void 0,a)||We(o,r,a):We(o,r,"")}}else if(s){if(e!==n){const r=o[ka];r&&(n+=";"+r),o.cssText=n,i=wa.test(n)}}else e&&t.removeAttribute("style");oi in t&&(t[oi]=i?o.display:"",t[xa]&&(o.display="none"))}const En=/\s*!important$/;function We(t,e,n){if(L(n))n.forEach(o=>We(t,e,o));else if(n==null&&(n=""),e.startsWith("--"))En.test(n)?t.setProperty(e,n.replace(En,""),"important"):t.setProperty(e,n);else{const o=Sa(t,e);En.test(n)?t.setProperty(zt(o),n.replace(En,""),"important"):t[o]=n}}const si=["Webkit","Moz","ms"],yo={};function Sa(t,e){const n=yo[e];if(n)return n;let o=Ct(e);if(o!=="filter"&&o in t)return yo[e]=o;o=To(o);for(let s=0;sxo||(Ma.then(()=>xo=0),xo=Date.now());function za(t,e){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;const s=n.value;if(L(s)){const i=o.stopImmediatePropagation;o.stopImmediatePropagation=()=>{i.call(o),o._stopped=!0};const r=s.slice(),a=[o];for(let c=0;ct.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Pa=(t,e,n,o,s,i)=>{const r=s==="svg";e==="class"?ya(t,o,r):e==="style"?Aa(t,n,o):Xe(e)?Ze(e)||Ea(t,e,n,o,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Oa(t,e,o,r))?(ai(t,e,o),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&ri(t,e,o,r,i,e!=="value")):t._isVueCE&&(Da(t,e)||t._def.__asyncLoader&&(/[A-Z]/.test(e)||!nt(o)))?ai(t,Ct(e),o,i,e):(e==="true-value"?t._trueValue=o:e==="false-value"&&(t._falseValue=o),ri(t,e,o,r))};function Oa(t,e,n,o){if(o)return!!(e==="innerHTML"||e==="textContent"||e in t&&li(e)&&P(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="sandbox"&&t.tagName==="IFRAME"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const s=t.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return li(e)&&nt(n)?!1:e in t}function Da(t,e){const n=t._def.props;if(!n)return!1;const o=Ct(e);return Array.isArray(n)?n.some(s=>Ct(s)===o):Object.keys(n).some(s=>Ct(s)===o)}const ui={};function Ra(t,e,n){let o=br(t,e);tn(o)&&(o=st({},o,e));class s extends ko{constructor(r){super(o,r,n)}}return s.def=o,s}const Fa=typeof HTMLElement<"u"?HTMLElement:class{};class ko extends Fa{constructor(e,n={},o=hi){super(),this._def=e,this._props=n,this._createApp=o,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&o!==hi?this._root=this.shadowRoot:e.shadowRoot!==!1?(this.attachShadow(st({},e.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 e=this;for(;e=e&&(e.assignedSlot||e.parentNode||e.host);)if(e instanceof ko){this._parent=e;break}this._instance||(this._resolved?this._mount(this._def):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then(()=>{if(this._pendingResolve=void 0,this.isConnected)return this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,pn(()=>{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(e){for(const n of e)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let o=0;o{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:r}=o;let a;if(i&&!L(i))for(const c in i){const u=i[c];(u===Number||u&&u.type===Number)&&(c in this._props&&(this._props[c]=jo(this._props[c])),(a||(a=Object.create(null)))[Ct(c)]=!0)}this._numberProps=a,this._resolveProps(o),this.shadowRoot&&this._applyStyles(r),this._mount(o)},n=this._def.__asyncLoader;if(n)return this._pendingResolve=n().then(o=>{o.configureApp=this._def.configureApp,e(this._def=o,!0)}),this._pendingResolve;e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const o in n)W(this,o)||Object.defineProperty(this,o,{get:()=>no(n[o])})}_resolveProps(e){const{props:n}=e,o=L(n)?n:Object.keys(n||{});for(const s of Object.keys(this))s[0]!=="_"&&o.includes(s)&&this._setProp(s,this[s]);for(const s of o.map(Ct))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(i){this._setProp(s,i,!0,!this._patching)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const n=this.hasAttribute(e);let o=n?this.getAttribute(e):ui;const s=Ct(e);n&&this._numberProps&&this._numberProps[s]&&(o=jo(o)),this._setProp(s,o,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,n,o=!0,s=!1){if(n!==this._props[e]&&(this._dirty=!0,n===ui?delete this._props[e]:(this._props[e]=n,e==="key"&&this._app&&(this._app._ceVNode.key=n)),s&&this._instance&&this._update(),o)){const i=this._ob;i&&(this._processMutations(i.takeRecords()),i.disconnect()),n===!0?this.setAttribute(zt(e),""):typeof n=="string"||typeof n=="number"?this.setAttribute(zt(e),n+""):n||this.removeAttribute(zt(e)),i&&i.observe(this,{attributes:!0})}}_update(){const e=this._createVNode();this._app&&(e.appContext=this._app._context),Ka(e,this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const n=xt(this._def,st(e,this._props));return this._instance||(n.ce=o=>{this._instance=o,o.ce=this,o.isCE=!0;const s=(i,r)=>{this.dispatchEvent(new CustomEvent(i,tn(r[0])?st({detail:r},r[0]):{detail:r}))};o.emit=(i,...r)=>{s(i,r),zt(i)!==i&&s(zt(i),r)},this._setParent()}),n}_applyStyles(e,n,o){if(!e)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const s=this._nonce,i=this.shadowRoot,r=o?this._getStyleAnchor(o)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(i);let a=null;for(let c=e.length-1;c>=0;c--){const u=document.createElement("style");s&&u.setAttribute("nonce",s),u.textContent=e[c],i.insertBefore(u,a||r),a=u,c===0&&(o||this._styleAnchors.set(this._def,u),n&&this._styleAnchors.set(n,u))}}_getStyleAnchor(e){if(!e)return null;const n=this._styleAnchors.get(e);return n&&n.parentNode===this.shadowRoot?n:(n&&this._styleAnchors.delete(e),null)}_getRootStyleInsertionAnchor(e){for(let n=0;n{di().render(...t)},hi=(...t)=>{const e=di().createApp(...t),{mount:n}=e;return e.mount=o=>{const s=Ua(o);if(!s)return;const i=e._component;!P(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const r=n(s,!1,$a(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),r},e};function $a(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Ua(t){return nt(t)?document.querySelector(t):t}function jn(t,e){if(!e.includes("."))return t==null?void 0:t[e];const[n,...o]=e.split(".");let s=t==null?void 0:t[n];for(const i of o)s=s==null?void 0:s[i];return s}function Ba(t,e){const n=t.toLowerCase(),o=e.toLowerCase(),s=[];let i=0,r=n.indexOf(o,i);for(;r!==-1;)s.push([r,r+o.length-1]),i=r+o.length,r=n.indexOf(o,i);return s}function Va(t,e,n){const o=t.toLowerCase(),s=e.toLowerCase(),i=s.length;if(!i||!o.length)return null;const r=Math.min(2,Math.floor(n*i));if(r<=0)return null;let a=new Array(o.length+1).fill(0),c=new Array(o.length+1);for(let x=1;x<=i;x++){c[0]=x;for(let S=1;S<=o.length;S++){const M=a[S-1]+(s[x-1]===o[S-1]?0:1);c[S]=Math.min(M,a[S]+1,c[S-1]+1)}[a,c]=[c,a]}let u=1/0,d=-1;for(let x=1;x<=o.length;x++)a[x]r?null:[[Math.max(0,d-i),d-1]]}function Wa(t,e,{threshold:n=.4}={}){const o=String(t??"").trim().toLowerCase();if(!o)return[];const s=Math.min(2,Math.floor(n*o.length)),i=[];for(const a of e){if(!a)continue;const c=String(a).toLowerCase();if(Math.abs(c.length-o.length)>s)continue;const u=Ga(c,o,s);u<=s&&i.push({value:a,distance:u})}if(!i.length)return[];const r=Math.min(...i.map(a=>a.distance));return i.filter(a=>a.distance===r).map(a=>a.value)}function Ga(t,e,n){if(t===e)return 0;let o=Array.from({length:e.length+1},(i,r)=>r);const s=new Array(e.length+1);for(let i=1;i<=t.length;i++){s[0]=i;let r=i;for(let a=1;a<=e.length;a++)s[a]=Math.min(o[a-1]+(t[i-1]===e[a-1]?0:1),o[a]+1,s[a-1]+1),s[a]n)return n+1;for(let a=0;a<=e.length;a++)o[a]=s[a]}return o[e.length]}class Ja{constructor(e,n={}){this.list=Array.isArray(e)?e:[],this.keys=n.keys||[],this.threshold=typeof n.threshold=="number"?n.threshold:.4,this.minMatchCharLength=n.minMatchCharLength||1}search(e){const n=String(e||"").trim();if(!n)return this.list.map(u=>({item:u,matches:[]}));if(n.length{const n=t.__vccOpts||t;for(const[o,s]of e)n[o]=s;return n},Xa=["value","placeholder","aria-label"],Za=wo({__name:"SearchBar",props:{modelValue:{type:String,default:""},placeholder:{type:String,default:"Search…"},ariaLabel:{type:String,default:"Search"},maxWidth:{type:String,default:""}},emits:["update:modelValue","search"],setup(t,{emit:e}){const n=t,o=e,s=it(()=>n.maxWidth?{maxWidth:n.maxWidth}:{});function i(r){const a=r.target.value??"";o("update:modelValue",a),o("search",{value:a})}return(r,a)=>(H(),K("div",{class:"search-box",style:ye(s.value)},[a[0]||(a[0]=B("svg",{class:"search-icon",width:"18",height:"18",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[B("circle",{cx:"11",cy:"11",r:"7",fill:"none",stroke:"currentColor","stroke-width":"2"}),B("line",{x1:"16.5",y1:"16.5",x2:"21",y2:"21",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),B("input",{type:"search",value:t.modelValue,placeholder:t.placeholder,"aria-label":t.ariaLabel,onInput:i},null,40,Xa)],4))}},[["styles",[Ya]]]),Qa=".filter-dropdown{position:relative;flex:0 0 auto;width:var(--dx-filter-w, 128px);min-width:var(--dx-filter-w, 128px);max-width:var(--dx-filter-w, 128px)}@media (max-width: 576px){.filter-dropdown{width:var(--dx-filter-w-sm, 108px);min-width:var(--dx-filter-w-sm, 108px);max-width:var(--dx-filter-w-sm, 108px)}}.filter-dropdown__trigger{width:100%;padding:var(--dx-filter-pad-y, 4px) var(--dx-filter-pad-x, 8px);cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:.875rem;color:var(--dx-text, #3b463d);text-align:start;background:var(--dx-elevated, #fff);border:1px solid var(--dx-line, #d1d4cd);border-radius:8px;transition:border-color .15s ease}.filter-dropdown__trigger:hover{border-color:var(--dx-accent, #92b195)}.filter-dropdown__trigger[data-active]{background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18));border-color:var(--dx-accent, #92b195)}.filter-dropdown__label{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filter-dropdown__chevron{flex-shrink:0;transition:transform .2s ease}.filter-dropdown.is-open .filter-dropdown__chevron{transform:rotate(180deg)}.filter-dropdown__menu{position:fixed;z-index:2147483000;background-color:var(--dx-elevated, #fff);color:var(--dx-text, #3b463d);border:1px solid var(--dx-line, #d1d4cd);border-radius:8px;box-shadow:0 4px 12px #0000001f;overflow:hidden;display:flex;flex-direction:column;min-width:160px}.filter-dropdown__search{border:none;border-bottom:1px solid var(--dx-line, #d1d4cd);border-radius:0;padding:6px 12px;width:100%;font-size:.875rem;color:var(--dx-text, #3b463d);background:var(--dx-elevated, #fff);outline:none;box-sizing:border-box}.filter-dropdown__search::placeholder{color:var(--dx-muted, #6d766e)}.filter-dropdown__clear{display:block;width:100%;background:none;border:none;border-bottom:1px solid var(--dx-line, #d1d4cd);padding:6px 12px;font-size:.875rem;color:var(--dx-text, #3b463d);cursor:pointer;text-align:start;text-decoration:underline;text-decoration-color:var(--dx-accent, #92b195);text-underline-offset:3px}.filter-dropdown__clear:hover{background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18))}.filter-dropdown__options{flex:1 1 auto;min-height:0;max-height:250px;overflow-y:auto}.filter-dropdown__search,.filter-dropdown__clear{flex:0 0 auto}.filter-dropdown__option{padding:5px 12px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:.875rem;transition:background-color .1s ease}.filter-dropdown__option[data-selected]{font-weight:700;color:var(--dx-text, #3b463d);box-shadow:inset 3px 0 0 var(--dx-accent, #92b195)}.filter-dropdown__option:hover,.filter-dropdown__option[data-highlighted]{background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18))}.filter-dropdown__count{color:var(--dx-muted, #6d766e);font-size:.75rem;margin-inline-start:6px}.filter-dropdown__no-options{padding:12px;font-size:.875rem;color:var(--dx-muted, #6d766e);text-align:center}",tc=["data-active","aria-expanded"],ec={class:"filter-dropdown__label"},nc=["value","placeholder"],oc={class:"filter-dropdown__options"},sc={key:0,class:"filter-dropdown__no-options"},ic=["data-highlighted","data-selected","aria-selected","onClick","onMouseenter"],rc={class:"filter-dropdown__count"},qn=wo({__name:"FilterDropdown",props:{label:{type:String,required:!0},name:{type:String,required:!0},options:{type:Array,default:()=>[]},value:{type:String,default:""},placeholder:{type:String,default:"Type to search..."}},emits:["filter-change","filter-clear"],setup(t,{emit:e}){const n=t,o=e,s=ft(!1),i=ft(""),r=ft(-1),a=ft(null),c=ft(null),u=ft(null),d=ft({});function g(D){const I=D.ownerDocument,V=I.createElement("div");V.style.cssText="position:fixed;top:0;left:0;width:0;height:0;pointer-events:none;opacity:0",(D.parentElement||D.getRootNode().body||I.body).appendChild(V);const wt=V.getBoundingClientRect();return V.remove(),{x:wt.left,y:wt.top}}function x(){const D=u.value;if(!D)return;const I=D.getBoundingClientRect(),V=window.innerWidth,qt=window.innerHeight,wt=320,Ot=4,At=8,G=Math.round(Math.min(Math.max(I.width,240),V-At*2)),Y=I.right>At&&I.leftV-At?pt=Math.round(Math.max(I.right-G,At)):pt=Math.round(Math.max(I.left,At)):pt=Math.round(Math.min(Math.max(I.left,At),V-G-At));const It=qt-I.bottom,Mt=It<180&&I.top>It,_t=g(D),me=Math.round(pt-_t.x);d.value=Mt?{top:"auto",bottom:`${Math.round(qt-I.top+Ot+_t.y)}px`,left:`${me}px`,width:`${G}px`,maxHeight:`${Math.round(Math.min(wt,I.top-Ot-At))}px`}:{top:`${Math.round(I.bottom+Ot-_t.y)}px`,bottom:"auto",left:`${me}px`,width:`${G}px`,maxHeight:`${Math.round(Math.min(wt,It-Ot-At))}px`}}function S(){s.value&&x()}const M=it(()=>{if(!i.value)return n.options;const D=i.value.toLowerCase();return n.options.filter(I=>I.label.toLowerCase().includes(D))}),j=it(()=>n.options.find(D=>D.value===n.value));function $(D){var V;const I=((V=D.composedPath)==null?void 0:V.call(D))??[];a.value&&!I.includes(a.value)&&F()}function R(){s.value?F():O()}function O(){s.value=!0,i.value="",r.value=-1,x(),document.addEventListener("click",$),window.addEventListener("scroll",S,!0),window.addEventListener("resize",S),pn(()=>{var D;x(),(D=c.value)==null||D.focus()})}function F(){s.value=!1,i.value="",r.value=-1,document.removeEventListener("click",$),window.removeEventListener("scroll",S,!0),window.removeEventListener("resize",S)}function q(D){i.value=D.target.value,r.value=-1}function J(D){const I=M.value;switch(D.key){case"ArrowDown":D.preventDefault(),r.value=Math.min(r.value+1,I.length-1),gt();break;case"ArrowUp":D.preventDefault(),r.value=Math.max(r.value-1,0),gt();break;case"Enter":{D.preventDefault();const V=I[r.value];V&&ot(V);break}case"Escape":D.preventDefault(),F();break}}function gt(){pn(()=>{var I;const D=(I=a.value)==null?void 0:I.querySelector(".filter-dropdown__option[data-highlighted]");D==null||D.scrollIntoView({block:"nearest"})})}function ot(D){o("filter-change",{name:n.name,value:D.value,label:D.label,type:D.type}),F()}function Tt(){o("filter-clear",{name:n.name}),F()}return bs(()=>{document.removeEventListener("click",$),window.removeEventListener("scroll",S,!0),window.removeEventListener("resize",S)}),(D,I)=>(H(),K("div",{ref_key:"rootRef",ref:a,class:on(["filter-dropdown",{"is-open":s.value}])},[B("button",{ref_key:"triggerRef",ref:u,class:"filter-dropdown__trigger input","data-active":t.value?"":void 0,type:"button","aria-haspopup":"listbox","aria-expanded":s.value,onClick:R},[B("span",ec,[j.value?(H(),K(dt,{key:0},[oe(rt(t.label)+": ",1),B("strong",null,rt(j.value.label),1)],64)):(H(),K(dt,{key:1},[oe(rt(t.label),1)],64))]),I[0]||(I[0]=B("svg",{class:"filter-dropdown__chevron",width:"12",height:"12",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},[B("path",{d:"M2 4l4 4 4-4",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],8,tc),s.value?(H(),K("div",{key:0,class:"filter-dropdown__menu",role:"listbox",style:ye(d.value)},[B("input",{ref_key:"searchInputRef",ref:c,class:"filter-dropdown__search",type:"text",value:i.value,placeholder:t.placeholder,onInput:q,onKeydown:J},null,40,nc),t.value?(H(),K("button",{key:0,class:"filter-dropdown__clear",type:"button",onClick:Tt},"Clear selection")):ht("",!0),B("div",oc,[M.value.length===0?(H(),K("div",sc,"No options found")):(H(!0),K(dt,{key:1},kn(M.value,(V,qt)=>(H(),K("div",{key:V.value,class:"filter-dropdown__option",role:"option","data-highlighted":qt===r.value?"":void 0,"data-selected":V.value===t.value?"":void 0,"aria-selected":V.value===t.value,onClick:wt=>ot(V),onMouseenter:wt=>r.value=qt},[B("span",null,rt(V.label),1),B("span",rc,rt(V.count),1)],40,ic))),128))])],4)):ht("",!0)],2))}},[["styles",[Qa]]]),ac=zn&&zn.tagName.toUpperCase()==="SCRIPT"&&zn.src||new URL("people-groups-grid.js",document.baseURI).href,Ge=t=>String(t||"").trim().replace(/\/+$/,"");function cc(){try{const e=String(ac||"").split(/[?#]/)[0].match(/^(.*)\/([^/]+)\/([^/]+)\.js$/);return!e||e[2]!==e[3]?null:e[1]||null}catch{return null}}function lc(t){const e=t==null?void 0:t.assetsBase;if(typeof e=="string"&&e.trim()){const o=Ge(e);if(/^https?:\/\//i.test(o)||o.startsWith("/"))return o}const n=Ge((t==null?void 0:t.treeBase)||"")||Ge(cc()||"");if(n)try{const o=typeof document<"u"?document.baseURI:void 0;return Ge(new URL(n+"/../assets",o).href)}catch{return Ge(n.replace(/\/[^/]*$/,"")+"/assets")}return"./assets"}function uc(t,e){return String(e||t||"").trim().toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}const gi={C:"Christianity",M:"Islam",H:"Hinduism",B:"Buddhism",E:"Ethnoreligion",J:"Judaism",S:"Sikhism",N:"Unaffiliated",O:"Other",U:"Unknown"},fc={"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","Atlantic-Congo":"#7D3C98",Mande:"#B9770E","Sign Language":"#212121",Creole:"#9575cd","Mixed language":"#a1887f","Language isolate":"#90a4ae",Unknown:"#000000"},dc=(()=>{const t=n=>String(n||"").toLowerCase().trim(),e={};for(const n of Object.keys(fc))e[t(n)]=n;return e})(),hc={"tai-kadai":"Kra-Dai",none:"Unknown"};function pi(t){if(!t)return"Unknown";const e=String(t).trim(),n=e.toLowerCase();return hc[n]||dc[n]||e}const gc={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"},pc=":host{display:block;width:100%;--dx-surface: #f3f3f1;--dx-elevated: #ffffff;--dx-text: #3b463d;--dx-muted: #6d766e;--dx-line: #d1d4cd;--dx-accent: #92b195;--dx-accent-weak: rgba(146, 177, 149, .18);--dx-accent-soft: rgba(146, 177, 149, .1);--dx-accent-strong: #657967}.pgg-root{--brand: var(--dx-accent, #92b195);--ink: var(--dx-text, #3b463d);--mut: var(--dx-muted, #6d766e);--line: var(--dx-line, #d1d4cd);--card: var(--dx-elevated, #fff);--bg: var(--dx-surface, #f3f3f1);width:100%;box-sizing:border-box;color:var(--ink);background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;padding:16px}.filters{display:flex;flex-direction:column;gap:12px;margin-bottom:16px;padding-block:18px 8px;min-height:190px}.pgg-search{display:flex;justify-content:center}.pgg-search--repel{gap:10px;align-items:center;flex-wrap:wrap;justify-content:space-between;width:100%;max-width:600px;margin-inline:auto}.pgg-search--repel>:first-child{flex:1 1 320px;min-width:0}.pgg-exact{flex:none}.filters__toggle{background:var(--dx-elevated, #fff);border:1px solid var(--dx-line, #d1d4cd);border-radius:8px;cursor:pointer;font-size:.875rem;font-weight:500;color:var(--dx-text, #3b463d);padding:7px 12px;display:inline-flex;align-items:center;gap:7px;margin-inline:auto;transition:background-color .15s ease,border-color .15s ease}.filters__toggle:hover{background:var(--dx-accent-weak, rgba(146,177,149,.18));border-color:var(--dx-accent, #92b195)}.filters__toggle:focus-visible{outline:2px solid var(--dx-accent, #92b195);outline-offset:2px}.filters__toggle-icon{color:var(--dx-accent, #92b195);flex:none}.filters__toggle-count{background:var(--dx-accent, #92b195);color:#fff;border-radius:999px;min-width:18px;padding:0 5px;font-size:.75rem;line-height:18px;text-align:center}.filters__toggle[aria-expanded=true] svg{transform:rotate(180deg)}.filters__panel{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;align-items:flex-start}.filter-toggle{padding:6px 12px;cursor:pointer;font-size:.875rem;color:inherit;background:var(--card);border:1px solid var(--line);border-radius:8px;transition:border-color .15s ease,background .15s ease}.filter-toggle:hover{border-color:var(--brand)}.filter-toggle[data-active]{background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18));border-color:var(--brand);color:var(--ink)}.filters__active{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center}.filter-chip{display:inline-flex;gap:6px;align-items:center;background-color:var(--dx-accent-weak, rgba(146, 177, 149, .18));color:var(--ink);border:1px solid var(--line);border-radius:100px;padding:4px 12px;font-size:.85rem}.filter-chip__remove{background:none;border:none;cursor:pointer;font-size:1.1em;line-height:1;color:inherit;padding:0;display:inline-flex;align-items:center}.filter-chip__remove:hover{opacity:.7}.filters__clear-all{background:none;border:none;cursor:pointer;font-size:.875rem;color:var(--ink);text-decoration:underline;text-decoration-color:var(--brand);text-underline-offset:4px}.repel{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.font-size-sm{font-size:.875rem;color:var(--mut)}.grid.uupgs-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}.card.uupg__card{display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 1px 2px #0000000a}.uupg__image{width:100%;aspect-ratio:1 / 1;object-fit:cover;background:var(--line)}.uupg__header{padding:12px 14px 6px}.uupg__name{font-size:1rem;font-weight:700;line-height:1.2;margin:0 0 4px}.uupg__country{font-size:.85rem;color:var(--mut);margin:0}.uupg__country-link{color:var(--ink);font-weight:600;text-decoration:underline;text-decoration-color:var(--brand);text-decoration-thickness:1px;text-underline-offset:2px}.uupg__country-link:hover{text-decoration-thickness:2px}.uupg__match{font-size:.8rem;color:var(--mut);margin:4px 0 0}.uupg__content{padding:0 14px;font-size:.85rem;color:var(--mut)}.uupg__more-button{margin:12px 14px 14px;padding:8px 12px;text-align:center;font-size:.85rem;font-weight:700;color:var(--dx-elevated, #fff);background:var(--dx-accent-strong, #657967);border-radius:8px;text-decoration:none}.uupg__more-button:hover{background:var(--dx-text, #3b463d)}.search-highlight{background:#fde68a;border-radius:2px;padding:0 1px}.loading,.pgg-empty{grid-column:1 / -1;padding:28px;text-align:center;color:var(--mut);font-size:.9rem}.pgg-failed{font-weight:600;border-top:1px solid var(--bd, #d1d4cd)}.pgg-loadmore{display:block;margin:20px auto 0;padding:8px 18px;font-size:.9rem;cursor:pointer;color:var(--ink);background:var(--card);border:1px solid var(--brand);border-radius:8px}.pgg-loadmore:hover{background:var(--dx-accent-soft, rgba(146, 177, 149, .1))}",bc={class:"pgg-root"},mc={key:0,class:"pgg-search pgg-search--repel"},_c=["data-active"],vc=["aria-expanded"],yc={key:0,class:"filters__toggle-count"},xc={key:2,class:"filters__panel"},kc={key:3,class:"filters__active"},wc=["onClick"],Ac={class:"pgg-body"},Sc={key:0,class:"repel"},Cc={class:"font-size-sm"},Nc={key:1},Tc={id:"results",class:"grid uupgs-list"},Ec=["src","alt"],jc={class:"uupg__header"},qc=["innerHTML"],Ic={key:0,class:"uupg__country"},Mc=["href"],Lc=["innerHTML"],zc=["innerHTML"],Pc=["innerHTML"],Oc={key:1,class:"uupg__content"},Dc=["href"],Rc={key:0,class:"loading"},Fc={key:1,class:"pgg-empty pgg-failed",role:"status"},Hc={key:2,class:"pgg-empty"},Kc=Ra(wo({__name:"people-groups-grid",props:{profileConfig:{type:String,default:""},prayBaseUrl:{type:String,default:""},languageCode:{type:String,default:""},researchUrl:{type:String,default:""},selectUrl:{type:String,default:""},t:{type:Object,default:()=>({})},showSearch:{type:[Boolean,String],default:!0},showFilters:{type:[Boolean,String],default:!0},showTotal:{type:[Boolean,String],default:!0},query:{type:String,default:""},wagfRegion:{type:String,default:""},wagfBlock:{type:String,default:""},rop1:{type:String,default:""},religion:{type:String,default:""},countryCode:{type:String,default:""},primaryLanguage:{type:String,default:""},cluster:{type:String,default:""},peopleGroup:{type:String,default:""},engagementStatus:{type:String,default:""},gospelAccess:{type:String,default:""},religionFamily:{type:String,default:""},languageFamily:{type:String,default:""},perPage:{type:Number,default:24},morePerPage:{type:Number,default:0}},emits:["groups-filtered"],setup(t,{emit:e}){const n=t,o=e,s=it(()=>{if(!n.profileConfig)return{};try{return JSON.parse(n.profileConfig)||{}}catch{return{}}}),i=it(()=>!g.value&&!x.value?null:{backgroundImage:`url(${lc(s.value)}/brand/worldmap.svg)`,backgroundSize:"60%",backgroundPosition:"top center",backgroundRepeat:"no-repeat"}),r=it(()=>n.prayBaseUrl||s.value.prayBaseUrl||"https://pray.doxa.life"),a=it(()=>n.languageCode||s.value.languageCode||""),c=it(()=>n.researchUrl||s.value.researchUrl||(typeof window<"u"&&window.DOXA_SITE_URL||"https://doxa.life").replace(/\/+$/,"")+"/research/"),u=it(()=>({...s.value.t||{},...n.t||{}})),d=h=>!(h===!1||h==="false"||h==="0"||h===0),g=it(()=>d(n.showSearch)),x=it(()=>d(n.showFilters)),S=it(()=>d(n.showTotal)),M=ft([]),j=ft([]),$=ft(0),R=ft(1),O=ft(!0),F=ft(!1),q=ft(!0),J=ft({}),gt=ft(""),ot=ft({}),Tt=it(()=>g.value?gt.value:n.query||""),D=it(()=>{const h={},b=m=>m;return n.wagfRegion&&(h.wagf_region={value:n.wagfRegion,label:b(n.wagfRegion)}),n.wagfBlock&&(h.wagf_block={value:n.wagfBlock,label:b(n.wagfBlock)}),n.rop1&&(h.rop1={value:n.rop1,label:b(n.rop1)}),n.religion&&(h.religion={value:n.religion,label:b(n.religion)}),n.countryCode&&(h.country_code={value:n.countryCode,label:b(n.countryCode)}),n.primaryLanguage&&(h.primary_language={value:n.primaryLanguage,label:b(n.primaryLanguage)}),n.engagementStatus&&(h.engagement_status={value:n.engagementStatus,label:b(n.engagementStatus)}),n.cluster&&(h.imb_reg_of_people_2={value:n.cluster,label:b(n.cluster)}),n.peopleGroup&&(h.imb_reg_of_people_25={value:n.peopleGroup,label:b(n.peopleGroup)}),n.gospelAccess&&(h.imb_gsec={value:n.gospelAccess,label:b(n.gospelAccess)}),n.religionFamily&&(h.__religion_family={value:n.religionFamily,label:b(n.religionFamily)}),n.languageFamily&&(h.__language_family={value:n.languageFamily,label:b(n.languageFamily)}),h}),I=it(()=>x.value?ot.value:D.value),V=it(()=>Object.values(I.value||{}).filter(h=>h&&h.value!==""&&h.value!=null).length),qt=it(()=>Object.keys(I.value).length),wt=it(()=>V.value>0||!!(Tt.value||"").trim());function Ot(h){return h.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function At(h,b=500){let m;return(...k)=>{clearTimeout(m),m=setTimeout(()=>h(...k),b)}}const at=At(()=>{O.value=!0,R.value=1,l()},500);function G(h){gt.value=(h==null?void 0:h.value)??"",at()}function Y(){q.value=!q.value}function pt(h){ot.value={...ot.value,[h.name]:{value:h.value,label:h.label}},R.value=1,l()}function It(h){Mt(h.name)}function Mt(h){const b={...ot.value};delete b[h],ot.value=b,R.value=1,l()}function _t(){ot.value={},R.value=1,l()}function me(){if(ot.value.exact)return Mt("exact");ot.value={...ot.value,exact:{value:"yes",label:u.value.exact_filter||"Exact"}},R.value=1,l()}const Je=h=>String(h??"").toLowerCase().replace(/[\s_&-]+/g,""),In={__religion_family:h=>{const b=h.religion&&typeof h.religion=="object"?h.religion.value:h.religion,m=String(b||"").charAt(0).toUpperCase(),k=m&&gi[m]?gi[m]:"";return k?{value:k,label:k}:null},__language_family:h=>{const b=h.imb_language_family,m=b&&typeof b=="object"?b.label||b.value:b;let k="";if(m)k=pi(m);else{const N=h.primary_language&&typeof h.primary_language=="object"?h.primary_language.value:null,E=N&&gc[N];k=E?pi(E):""}return k?{value:k,label:k}:null}},le=(h,b)=>In[b]?In[b](h):h[b];function _e(h,b){if(!h)return!1;const m=Je(b==null?void 0:b.value);return m?Je(h.value)===m||Je(h.label)===m:!1}function Ye(h){let b=h;for(const[m,k]of Object.entries(I.value))m==="exact"?b=b:b=b.filter(N=>_e(le(N,m),k));return b}function Mn(){const h=b=>{const m=new Map;for(const k of M.value){const N=k[b];if(!(N!=null&&N.value))continue;const E=m.get(N.value);E?E.count++:m.set(N.value,{label:N.label,count:1})}return Array.from(m.entries()).map(([k,{label:N,count:E}])=>({value:k,label:N,count:E})).sort((k,N)=>k.label.localeCompare(N.label))};J.value={wagf_region:h("wagf_region"),wagf_block:h("wagf_block"),rop1:h("rop1"),religion:h("religion")}}function ue(){const h=Object.keys(J.value),b={};for(const m of h){const k={};for(const[T,z]of Object.entries(I.value))T!==m&&(k[T]=z);const N=bi(k,M.value),E=new Map;for(const T of N){const z=T[m];z!=null&&z.value&&E.set(z.value,(E.get(z.value)??0)+1)}b[m]=(J.value[m]??[]).map(T=>({...T,count:E.get(T.value)??0}))}J.value=b}function bi(h,b){let m=b;for(const[k,N]of Object.entries(h))k!=="exact"&&(m=m.filter(E=>_e(le(E,k),N)));return m}function l(){M.value=M.value.map(E=>(E.matches=[],E.country_label="",E.rop1_label="",E));const b=Object.keys(I.value).length>0?Ye(M.value):M.value,m=Tt.value;if(!m){j.value=b,$.value=j.value.length,O.value=!1,ue(),y();return}const N=new Ja(b,{includeMatches:!0,ignoreLocation:!0,minMatchCharLength:3,threshold:I.value.exact?0:.4,keys:["name","imb_alternate_name","country_code.label","rop1.label","religion.label","wagf_region.label","wagf_block.label"]}).search(m);j.value=N.map(E=>{var z;const T={...E.item};if(!E.matches)return T;T.matches=[];for(const Z of E.matches){const et=Z.key;if(!et)continue;let ct="";if(String(et).includes(".")){const[St,Et]=String(et).split(".");ct=(z=T[St])==null?void 0:z[Et]}else ct=T[String(et)];if(ct&&typeof ct=="string"){let St=0,Et="";if(Z.indices.forEach((Ht,bt)=>{const Lt=Ht[0],Te=Ht[1],Ln=Z.indices.length-1===bt;Et+=Ot(ct.slice(St,Lt))+`${Ot(ct.slice(Lt,Te+1))}`+(Ln?Ot(ct.slice(Te+1)):""),St=Te+1}),String(et).includes("imb_alternate_name"))T.matches.push({key:u.value.alternate_name??"Also known as",label:Et});else if(String(et).includes(".")){const[Ht]=String(et).split("."),bt={religion:u.value.religion,country_code:u.value.country,rop1:u.value.rop1,wagf_region:u.value.wagf_region,wagf_block:u.value.wagf_block};Ht==="rop1"?T.rop1_label=Et:Ht==="country_code"?T.country_label=Et:Ht==="wagf_region"||T.matches.push({key:bt[Ht]??Ht,label:Et})}else T[String(et)]=Et}}return T}),$.value=j.value.length,O.value=!1,ue(),y()}const f=Gs();function p(){var b,m;const h=((b=f==null?void 0:f.vnode)==null?void 0:b.el)||((m=f==null?void 0:f.proxy)==null?void 0:m.$el);try{const k=h&&h.getRootNode&&h.getRootNode();if(k&&k.host)return k.host}catch{}return h}function y(){const h={query:Tt.value,activeFilters:I.value,total:$.value,slugs:j.value.map(m=>m.slug)};o("groups-filtered",h);const b=p();b&&typeof b.dispatchEvent=="function"&&b.dispatchEvent(new CustomEvent("groups-filtered",{detail:h,bubbles:!0,composed:!0}))}function v(){return n.morePerPage>0?$.value>n.perPage+(R.value-1)*n.morePerPage&&!O.value&&j.value.length>0:$.value>R.value*n.perPage&&!O.value&&j.value.length>0}function _(){R.value=R.value+1}const C=it(()=>n.morePerPage>0?j.value.slice(0,n.perPage+(R.value-1)*n.morePerPage):j.value.slice(0,R.value*n.perPage)),A=it(()=>v());async function w(){const h=`${r.value}/api/people-groups/list?fields=name,slug,wagf_region,wagf_block,country_code,rop1,religion,has_photo,image_url,adopted_by_churches,imb_alternate_name,engagement_status,people_committed,primary_language,imb_reg_of_people_2,imb_reg_of_people_25,imb_gsec,imb_language_family&lang=${a.value}`;O.value=!0,F.value=!1;try{const b=await fetch(h);if(!b.ok)throw new Error(`HTTP ${b.status}`);const m=await b.json();$.value=m.total,M.value=Array.isArray(m.posts)?m.posts:[],Mn(),l()}catch(b){console.error("[people-groups-grid] fetch error:",b),F.value=!0,M.value=[],O.value=!1}}return _n(()=>[n.query,D.value,g.value,x.value],()=>{R.value=1,l()}),ps(w),(h,b)=>{var m,k,N,E;return H(),K("div",bc,[g.value||x.value?(H(),K("div",{key:0,id:"filters",class:"filters",style:ye(i.value)},[g.value?(H(),K("div",mc,[xt(Za,{"model-value":gt.value,placeholder:u.value.search||"Search people groups…","aria-label":u.value.search||"Search people groups","max-width":"480px",onSearch:G},null,8,["model-value","placeholder","aria-label"]),x.value?(H(),K("button",{key:0,class:"filter-toggle pgg-exact",type:"button","data-active":I.value.exact?"":void 0,onClick:me},rt(u.value.exact_filter||"Exact"),9,_c)):ht("",!0)])):ht("",!0),x.value?(H(),K("button",{key:1,class:"filters__toggle",type:"button","aria-expanded":q.value,onClick:Y},[b[0]||(b[0]=B("svg",{class:"filters__toggle-icon",width:"13",height:"13",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[B("path",{d:"M1.5 2.5h9M3 6h6M4.5 9.5h3",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})],-1)),oe(" "+rt(q.value?u.value.hide_filters||"Hide Filters":u.value.show_filters||"Show Filters")+" ",1),V.value?(H(),K("span",yc,rt(V.value),1)):ht("",!0),b[1]||(b[1]=B("svg",{width:"12",height:"12",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},[B("path",{d:"M2 4l4 4 4-4",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],8,vc)):ht("",!0),x.value&&q.value?(H(),K("div",xc,[xt(qn,{label:u.value.wagf_region||"Region",name:"wagf_region",options:J.value.wagf_region||[],value:((m=I.value.wagf_region)==null?void 0:m.value)??"",placeholder:u.value.type_to_search||"Type to search...",onFilterChange:pt,onFilterClear:It},null,8,["label","options","value","placeholder"]),xt(qn,{label:u.value.wagf_block||"Bloc",name:"wagf_block",options:J.value.wagf_block||[],value:((k=I.value.wagf_block)==null?void 0:k.value)??"",placeholder:u.value.type_to_search||"Type to search...",onFilterChange:pt,onFilterClear:It},null,8,["label","options","value","placeholder"]),xt(qn,{label:u.value.rop1||"People Group",name:"rop1",options:J.value.rop1||[],value:((N=I.value.rop1)==null?void 0:N.value)??"",placeholder:u.value.type_to_search||"Type to search...",onFilterChange:pt,onFilterClear:It},null,8,["label","options","value","placeholder"]),xt(qn,{label:u.value.religion||"Religion",name:"religion",options:J.value.religion||[],value:((E=I.value.religion)==null?void 0:E.value)??"",placeholder:u.value.type_to_search||"Type to search...",onFilterChange:pt,onFilterClear:It},null,8,["label","options","value","placeholder"])])):ht("",!0),x.value&&qt.value>0?(H(),K("div",kc,[(H(!0),K(dt,null,kn(I.value,(T,z)=>(H(),K("span",{key:z,class:"filter-chip"},[oe(rt(T.label)+" ",1),B("button",{class:"filter-chip__remove",type:"button",onClick:Z=>Mt(String(z))},"×",8,wc)]))),128)),B("button",{class:"filters__clear-all",type:"button",onClick:_t},rt(u.value.clear_all||"Clear All"),1)])):ht("",!0)],4)):ht("",!0),B("div",Ac,[S.value||wt.value?(H(),K("div",Sc,[B("div",Cc,[O.value?(H(),K("span",Nc," ")):(H(),K(dt,{key:0},[oe(rt(wt.value&&!S.value?(u.value.showing||"Showing")+" "+$.value.toLocaleString("en-US"):(u.value.total||"Total")+": "+$.value.toLocaleString("en-US")),1)],64))])])):ht("",!0),B("div",Tc,[(H(!0),K(dt,null,kn(C.value,T=>(H(),K("div",{key:T.slug,class:"card uupg__card"},[T.image_url?(H(),K("img",{key:0,class:"uupg__image",src:T.image_url,alt:T.name},null,8,Ec)):ht("",!0),B("div",jc,[B("h3",{class:"uupg__name",innerHTML:T.name},null,8,qc),T.country_code?(H(),K("p",Ic,[B("a",{class:"uupg__country-link",href:`${c.value}../countries/${no(uc)(T.country_code.value,T.country_code.label)}`},[B("span",{innerHTML:T.country_label?T.country_label:T.country_code.label},null,8,Lc)],8,Mc),T.rop1?(H(),K(dt,{key:0},[b[2]||(b[2]=oe(" (",-1)),B("span",{innerHTML:T.rop1_label?T.rop1_label:T.rop1.label},null,8,zc),b[3]||(b[3]=oe(")",-1))],64)):ht("",!0)])):ht("",!0),T.matches?(H(!0),K(dt,{key:1},kn(T.matches,(z,Z)=>(H(),K("p",{key:Z,class:"uupg__match"},[B("strong",null,rt(z.key),1),b[4]||(b[4]=oe(": ",-1)),B("span",{innerHTML:z.label},null,8,Pc)]))),128)):ht("",!0)]),T.location_description?(H(),K("p",Oc,rt(T.location_description),1)):ht("",!0),B("a",{class:"uupg__more-button",href:`${c.value}${T.slug}`},rt(u.value.full_profile||"Full profile"),9,Dc)]))),128)),O.value?(H(),K("div",Rc,rt(u.value.loading||"Loading…"),1)):F.value?(H(),K("div",Fc,rt(u.value.load_failed||"People-group data could not be loaded. This is a connection problem, not your filter."),1)):C.value.length?ht("",!0):(H(),K("div",Hc,rt(u.value.no_results||"No people groups match this filter."),1))]),A.value?(H(),K("button",{key:1,class:"pgg-loadmore",type:"button",onClick:_},rt(u.value.load_more||"Load more"),1)):ht("",!0)])])}}},[["styles",[pc]]]));typeof customElements<"u"&&(customElements.get("people-groups-grid")||customElements.define("people-groups-grid",Kc))})(); diff --git a/public/doxa-maps/people-groups-grid/people-groups-grid/driven/index.html b/public/doxa-maps/people-groups-grid/people-groups-grid/driven/index.html index b24c47da4..131f54749 100644 --- a/public/doxa-maps/people-groups-grid/people-groups-grid/driven/index.html +++ b/public/doxa-maps/people-groups-grid/people-groups-grid/driven/index.html @@ -26,7 +26,7 @@ - + - + - + + + diff --git a/data/legacy/upg-neighbor/maplibre-gl.css b/data/legacy/upg-neighbor/maplibre-gl.css new file mode 100644 index 000000000..6b4bfda74 --- /dev/null +++ b/data/legacy/upg-neighbor/maplibre-gl.css @@ -0,0 +1 @@ +.maplibregl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgb(0 0 0/0)}.maplibregl-canvas{left:0;position:absolute;top:0}.maplibregl-map:fullscreen{height:100%;width:100%}.maplibregl-ctrl-group button.maplibregl-ctrl-compass{touch-action:none}.maplibregl-canvas-container.maplibregl-interactive,.maplibregl-ctrl-group button.maplibregl-ctrl-compass{cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none}.maplibregl-canvas-container.maplibregl-interactive.maplibregl-track-pointer{cursor:pointer}.maplibregl-canvas-container.maplibregl-interactive:active,.maplibregl-ctrl-group button.maplibregl-ctrl-compass:active{cursor:grabbing}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-canvas-container.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:pinch-zoom}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:none}.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures,.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-ctrl-bottom-left,.maplibregl-ctrl-bottom-right,.maplibregl-ctrl-top-left,.maplibregl-ctrl-top-right{pointer-events:none;position:absolute;z-index:2}.maplibregl-ctrl-top-left{left:0;top:0}.maplibregl-ctrl-top-right{right:0;top:0}.maplibregl-ctrl-bottom-left{bottom:0;left:0}.maplibregl-ctrl-bottom-right{bottom:0;right:0}.maplibregl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.maplibregl-ctrl-top-left .maplibregl-ctrl{float:left;margin:10px 0 0 10px}.maplibregl-ctrl-top-right .maplibregl-ctrl{float:right;margin:10px 10px 0 0}.maplibregl-ctrl-bottom-left .maplibregl-ctrl{float:left;margin:0 0 10px 10px}.maplibregl-ctrl-bottom-right .maplibregl-ctrl{float:right;margin:0 10px 10px 0}.maplibregl-ctrl-group{background:#fff;border-radius:4px}.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px rgba(0,0,0,.1)}@media (forced-colors:active){.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.maplibregl-ctrl-group button{background-color:transparent;border:0;box-sizing:border-box;cursor:pointer;display:block;height:29px;outline:none;padding:0;width:29px}.maplibregl-ctrl-group button+button{border-top:1px solid #ddd}.maplibregl-ctrl button .maplibregl-ctrl-icon{background-position:50%;background-repeat:no-repeat;display:block;height:100%;width:100%}@media (forced-colors:active){.maplibregl-ctrl-icon{background-color:transparent}.maplibregl-ctrl-group button+button{border-top:1px solid ButtonText}}.maplibregl-ctrl button::-moz-focus-inner{border:0;padding:0}.maplibregl-ctrl-attrib-button:focus,.maplibregl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl button:disabled{cursor:not-allowed}.maplibregl-ctrl button:disabled .maplibregl-ctrl-icon{opacity:.25}@media (hover:hover){.maplibregl-ctrl button:not(:disabled):hover{background-color:rgba(0,0,0,.05)}}.maplibregl-ctrl button:not(:disabled):active{background-color:rgba(0,0,0,.05)}.maplibregl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.maplibregl-ctrl-group button:focus:first-child{border-radius:4px 4px 0 0}.maplibregl-ctrl-group button:focus:last-child{border-radius:0 0 4px 4px}.maplibregl-ctrl-group button:focus:only-child{border-radius:inherit}.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-globe .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='none' stroke='%23333' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='8.5'/%3E%3Cpath d='M17.5 11c0 4.819-3.02 8.5-6.5 8.5S4.5 15.819 4.5 11 7.52 2.5 11 2.5s6.5 3.681 6.5 8.5Z'/%3E%3Cpath d='M13.5 11c0 2.447-.331 4.64-.853 6.206-.262.785-.562 1.384-.872 1.777-.314.399-.58.517-.775.517s-.461-.118-.775-.517c-.31-.393-.61-.992-.872-1.777C8.831 15.64 8.5 13.446 8.5 11s.331-4.64.853-6.206c.262-.785.562-1.384.872-1.777.314-.399.58-.517.775-.517s.461.118.775.517c.31.393.61.992.872 1.777.522 1.565.853 3.76.853 6.206Z'/%3E%3Cpath d='M11 7.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138q.07-.058.224-.138c.299-.151.763-.302 1.379-.434C7.378 5.666 9.091 5.5 11 5.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138q-.07.058-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428ZM4.486 6.436ZM11 16.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138 1.3 1.3 0 0 1 .224-.138c.299-.151.763-.302 1.379-.434C7.378 14.666 9.091 14.5 11 14.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138a1.3 1.3 0 0 1-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428Zm-6.514-1.064ZM11 12.5c-2.46 0-4.672-.222-6.255-.574-.796-.177-1.406-.38-1.805-.59a1.5 1.5 0 0 1-.39-.272.3.3 0 0 1-.047-.064.3.3 0 0 1 .048-.064c.066-.073.189-.167.389-.272.399-.21 1.009-.413 1.805-.59C6.328 9.722 8.54 9.5 11 9.5s4.672.222 6.256.574c.795.177 1.405.38 1.804.59.2.105.323.2.39.272a.3.3 0 0 1 .047.064.3.3 0 0 1-.048.064 1.4 1.4 0 0 1-.389.272c-.399.21-1.009.413-1.804.59-1.584.352-3.796.574-6.256.574Zm-8.501-1.51v.002zm0 .018v.002zm17.002.002v-.002zm0-.018v-.002z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-globe-enabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='none' stroke='%2333b5e5' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='8.5'/%3E%3Cpath d='M17.5 11c0 4.819-3.02 8.5-6.5 8.5S4.5 15.819 4.5 11 7.52 2.5 11 2.5s6.5 3.681 6.5 8.5Z'/%3E%3Cpath d='M13.5 11c0 2.447-.331 4.64-.853 6.206-.262.785-.562 1.384-.872 1.777-.314.399-.58.517-.775.517s-.461-.118-.775-.517c-.31-.393-.61-.992-.872-1.777C8.831 15.64 8.5 13.446 8.5 11s.331-4.64.853-6.206c.262-.785.562-1.384.872-1.777.314-.399.58-.517.775-.517s.461.118.775.517c.31.393.61.992.872 1.777.522 1.565.853 3.76.853 6.206Z'/%3E%3Cpath d='M11 7.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138q.07-.058.224-.138c.299-.151.763-.302 1.379-.434C7.378 5.666 9.091 5.5 11 5.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138q-.07.058-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428ZM4.486 6.436ZM11 16.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138 1.3 1.3 0 0 1 .224-.138c.299-.151.763-.302 1.379-.434C7.378 14.666 9.091 14.5 11 14.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138a1.3 1.3 0 0 1-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428Zm-6.514-1.064ZM11 12.5c-2.46 0-4.672-.222-6.255-.574-.796-.177-1.406-.38-1.805-.59a1.5 1.5 0 0 1-.39-.272.3.3 0 0 1-.047-.064.3.3 0 0 1 .048-.064c.066-.073.189-.167.389-.272.399-.21 1.009-.413 1.805-.59C6.328 9.722 8.54 9.5 11 9.5s4.672.222 6.256.574c.795.177 1.405.38 1.804.59.2.105.323.2.39.272a.3.3 0 0 1 .047.064.3.3 0 0 1-.048.064 1.4 1.4 0 0 1-.389.272c-.399.21-1.009.413-1.804.59-1.584.352-3.796.574-6.256.574Zm-8.501-1.51v.002zm0 .018v.002zm17.002.002v-.002zm0-.018v-.002z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-terrain .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='%23333' viewBox='0 0 22 22'%3E%3Cpath d='m1.754 13.406 4.453-4.851 3.09 3.09 3.281 3.277.969-.969-3.309-3.312 3.844-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-terrain-enabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='%2333b5e5' viewBox='0 0 22 22'%3E%3Cpath d='m1.754 13.406 4.453-4.851 3.09 3.09 3.281 3.277.969-.969-3.309-3.312 3.844-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23aaa' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e58978' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e54e33' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-waiting .maplibregl-ctrl-icon{animation:maplibregl-spin 2s linear infinite}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23999' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e58978' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e54e33' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23666' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}}@keyframes maplibregl-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}a.maplibregl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;cursor:pointer;display:block;height:23px;margin:0 0 -4px -4px;overflow:hidden;width:88px}a.maplibregl-ctrl-logo.maplibregl-compact{width:14px}@media (forced-colors:active){a.maplibregl-ctrl-logo{background-color:transparent;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){a.maplibregl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E")}}.maplibregl-ctrl.maplibregl-ctrl-attrib{background-color:hsla(0,0%,100%,.5);margin:0;padding:0 5px}@media screen{.maplibregl-ctrl-attrib.maplibregl-compact{background-color:#fff;border-radius:12px;box-sizing:content-box;color:#000;margin:10px;min-height:20px;padding:2px 24px 2px 0;position:relative}.maplibregl-ctrl-attrib.maplibregl-compact-show{padding:2px 28px 2px 8px;visibility:visible}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact-show,.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact-show{border-radius:12px;padding:2px 8px 2px 28px}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-inner{display:none}.maplibregl-ctrl-attrib-button{background-color:hsla(0,0%,100%,.5);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E");border:0;border-radius:12px;box-sizing:border-box;cursor:pointer;display:none;height:24px;outline:none;position:absolute;right:0;top:0;width:24px}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;list-style:none}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button::-webkit-details-marker{display:none}.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-top-left .maplibregl-ctrl-attrib-button{left:0}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-inner{display:block}.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-button{background-color:rgba(0,0,0,.05)}.maplibregl-ctrl-bottom-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;right:0}.maplibregl-ctrl-top-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{right:0;top:0}.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{left:0;top:0}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;left:0}}@media screen and (forced-colors:active){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='%23fff' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}@media screen and (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}.maplibregl-ctrl-attrib a{color:rgba(0,0,0,.75);text-decoration:none}.maplibregl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.maplibregl-attrib-empty{display:none}.maplibregl-ctrl-scale{background-color:hsla(0,0%,100%,.75);border:2px solid #333;border-top:#333;box-sizing:border-box;color:#333;font-size:10px;padding:0 5px;white-space:nowrap}.maplibregl-popup{display:flex;left:0;pointer-events:none;position:absolute;top:0;will-change:transform}.maplibregl-popup-anchor-top,.maplibregl-popup-anchor-top-left,.maplibregl-popup-anchor-top-right{flex-direction:column}.maplibregl-popup-anchor-bottom,.maplibregl-popup-anchor-bottom-left,.maplibregl-popup-anchor-bottom-right{flex-direction:column-reverse}.maplibregl-popup-anchor-left{flex-direction:row}.maplibregl-popup-anchor-right{flex-direction:row-reverse}.maplibregl-popup-tip{border:10px solid transparent;height:0;width:0;z-index:1}.maplibregl-popup-anchor-top .maplibregl-popup-tip{align-self:center;border-bottom-color:#fff;border-top:none}.maplibregl-popup-anchor-top-left .maplibregl-popup-tip{align-self:flex-start;border-bottom-color:#fff;border-left:none;border-top:none}.maplibregl-popup-anchor-top-right .maplibregl-popup-tip{align-self:flex-end;border-bottom-color:#fff;border-right:none;border-top:none}.maplibregl-popup-anchor-bottom .maplibregl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip{align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.maplibregl-popup-anchor-left .maplibregl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.maplibregl-popup-anchor-right .maplibregl-popup-tip{align-self:center;border-left-color:#fff;border-right:none}[dir=rtl] .maplibregl-popup-anchor-left{flex-direction:row-reverse}[dir=rtl] .maplibregl-popup-anchor-right{flex-direction:row}[dir=rtl] .maplibregl-popup-anchor-top-left .maplibregl-popup-tip{align-self:flex-end}[dir=rtl] .maplibregl-popup-anchor-top-right .maplibregl-popup-tip{align-self:flex-start}[dir=rtl] .maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip{align-self:flex-end}[dir=rtl] .maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{align-self:flex-start}.maplibregl-popup-close-button{background-color:transparent;border:0;border-radius:0 3px 0 0;cursor:pointer;position:absolute;right:0;top:0}.maplibregl-popup-close-button:hover{background-color:rgba(0,0,0,.05)}.maplibregl-popup-content{background:#fff;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.1);padding:15px 10px;pointer-events:auto;position:relative}.maplibregl-popup-anchor-top-left .maplibregl-popup-content{border-top-left-radius:0}.maplibregl-popup-anchor-top-right .maplibregl-popup-content{border-top-right-radius:0}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-content{border-bottom-left-radius:0}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-content{border-bottom-right-radius:0}.maplibregl-popup-track-pointer{display:none}.maplibregl-popup-track-pointer *{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.maplibregl-map:hover .maplibregl-popup-track-pointer{display:flex}.maplibregl-map:active .maplibregl-popup-track-pointer{display:none}.maplibregl-marker{left:0;position:absolute;top:0;transition:opacity .2s;will-change:transform}.maplibregl-user-location-dot,.maplibregl-user-location-dot:before{background-color:#1da1f2;border-radius:50%;height:15px;width:15px}.maplibregl-user-location-dot:before{animation:maplibregl-user-location-dot-pulse 2s infinite;content:"";position:absolute}.maplibregl-user-location-dot:after{border:2px solid #fff;border-radius:50%;box-shadow:0 0 3px rgba(0,0,0,.35);box-sizing:border-box;content:"";height:19px;left:-2px;position:absolute;top:-2px;width:19px}@media (prefers-reduced-motion:reduce){.maplibregl-user-location-dot:before{animation:none}}@keyframes maplibregl-user-location-dot-pulse{0%{opacity:1;transform:scale(1)}70%{opacity:0;transform:scale(3)}to{opacity:0;transform:scale(1)}}.maplibregl-user-location-dot-stale{background-color:#aaa}.maplibregl-user-location-dot-stale:after{display:none}.maplibregl-user-location-accuracy-circle{background-color:#1da1f233;border-radius:100%;height:1px;width:1px}.maplibregl-crosshair,.maplibregl-crosshair .maplibregl-interactive,.maplibregl-crosshair .maplibregl-interactive:active{cursor:crosshair}.maplibregl-boxzoom{background:#fff;border:2px dotted #202020;height:0;left:0;opacity:.5;position:absolute;top:0;width:0}.maplibregl-cooperative-gesture-screen{align-items:center;background:rgba(0,0,0,.4);color:#fff;display:flex;font-size:1.4em;inset:0;justify-content:center;line-height:1.2;opacity:0;padding:1rem;pointer-events:none;position:absolute;transition:opacity 1s ease 1s;z-index:99999}.maplibregl-cooperative-gesture-screen.maplibregl-show{opacity:1;transition:opacity .05s}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:none}@media (hover:none),(pointer:coarse){.maplibregl-cooperative-gesture-screen .maplibregl-desktop-message{display:none}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:block}}.maplibregl-pseudo-fullscreen{height:100%!important;left:0!important;position:fixed!important;top:0!important;width:100%!important;z-index:99999} \ No newline at end of file diff --git a/data/legacy/upg-neighbor/maplibre-gl.js b/data/legacy/upg-neighbor/maplibre-gl.js new file mode 100644 index 000000000..c5acb688e --- /dev/null +++ b/data/legacy/upg-neighbor/maplibre-gl.js @@ -0,0 +1,59 @@ +/** + * MapLibre GL JS + * @license 3-Clause BSD. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v5.24.0/LICENSE.txt + */ +(function (global, factory) { +typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : +typeof define === 'function' && define.amd ? define(factory) : +(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.maplibregl = factory()); +})(this, (function () { 'use strict'; + +/* eslint-disable */ + +var maplibregl = {}; +var modules = {}; +function define(moduleName, _dependencies, moduleFactory) { + modules[moduleName] = moduleFactory; + + // to get the list of modules see generated dist/maplibre-gl-dev.js file (look for `define(` calls) + if (moduleName !== 'index') { + return; + } + + // we assume that when an index module is initializing then other modules are loaded already + var workerBundleString = 'var sharedModule = {}; (' + modules.shared + ')(sharedModule); (' + modules.worker + ')(sharedModule);' + + var sharedModule = {}; + // the order of arguments of a module factory depends on rollup (it decides who is whose dependency) + // to check the correct order, see dist/maplibre-gl-dev.js file (look for `define(` calls) + // we assume that for our 3 chunks it will generate 3 modules and their order is predefined like the following + modules.shared(sharedModule); + modules.index(maplibregl, sharedModule); + + if (typeof window !== 'undefined') { + maplibregl.setWorkerUrl(window.URL.createObjectURL(new Blob([workerBundleString], { type: 'text/javascript' }))); + } + + return maplibregl; +}; + + + +define("shared",["exports"],(function(t){"use strict";function e(t,e,n,r){return new(n||(n=Promise))((function(i,s){function o(t){try{l(r.next(t));}catch(t){s(t);}}function a(t){try{l(r.throw(t));}catch(t){s(t);}}function l(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e);}))).then(o,a);}l((r=r.apply(t,e||[])).next());}))}function n(t,e){this.x=t,this.y=e;}function r(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var i,s;"function"==typeof SuppressedError&&SuppressedError,n.prototype={clone(){return new n(this.x,this.y)},add(t){return this.clone()._add(t)},sub(t){return this.clone()._sub(t)},multByPoint(t){return this.clone()._multByPoint(t)},divByPoint(t){return this.clone()._divByPoint(t)},mult(t){return this.clone()._mult(t)},div(t){return this.clone()._div(t)},rotate(t){return this.clone()._rotate(t)},rotateAround(t,e){return this.clone()._rotateAround(t,e)},matMult(t){return this.clone()._matMult(t)},unit(){return this.clone()._unit()},perp(){return this.clone()._perp()},round(){return this.clone()._round()},mag(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals(t){return this.x===t.x&&this.y===t.y},dist(t){return Math.sqrt(this.distSqr(t))},distSqr(t){const e=t.x-this.x,n=t.y-this.y;return e*e+n*n},angle(){return Math.atan2(this.y,this.x)},angleTo(t){return Math.atan2(this.y-t.y,this.x-t.x)},angleWith(t){return this.angleWithSep(t.x,t.y)},angleWithSep(t,e){return Math.atan2(this.x*e-this.y*t,this.x*t+this.y*e)},_matMult(t){const e=t[2]*this.x+t[3]*this.y;return this.x=t[0]*this.x+t[1]*this.y,this.y=e,this},_add(t){return this.x+=t.x,this.y+=t.y,this},_sub(t){return this.x-=t.x,this.y-=t.y,this},_mult(t){return this.x*=t,this.y*=t,this},_div(t){return this.x/=t,this.y/=t,this},_multByPoint(t){return this.x*=t.x,this.y*=t.y,this},_divByPoint(t){return this.x/=t.x,this.y/=t.y,this},_unit(){return this._div(this.mag()),this},_perp(){const t=this.y;return this.y=this.x,this.x=-t,this},_rotate(t){const e=Math.cos(t),n=Math.sin(t),r=n*this.x+e*this.y;return this.x=e*this.x-n*this.y,this.y=r,this},_rotateAround(t,e){const n=Math.cos(t),r=Math.sin(t),i=e.y+r*(this.x-e.x)+n*(this.y-e.y);return this.x=e.x+n*(this.x-e.x)-r*(this.y-e.y),this.y=i,this},_round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},constructor:n},n.convert=function(t){if(t instanceof n)return t;if(Array.isArray(t))return new n(+t[0],+t[1]);if(void 0!==t.x&&void 0!==t.y)return new n(+t.x,+t.y);throw new Error("Expected [x, y] or {x, y} point format")};var o=function(){if(s)return i;function t(t,e,n,r){this.cx=3*t,this.bx=3*(n-t)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(r-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=t,this.p1y=e,this.p2x=n,this.p2y=r;}return s=1,i=t,t.prototype={sampleCurveX:function(t){return ((this.ax*t+this.bx)*t+this.cx)*t},sampleCurveY:function(t){return ((this.ay*t+this.by)*t+this.cy)*t},sampleCurveDerivativeX:function(t){return (3*this.ax*t+2*this.bx)*t+this.cx},solveCurveX:function(t,e){if(void 0===e&&(e=1e-6),t<0)return 0;if(t>1)return 1;for(var n=t,r=0;r<8;r++){var i=this.sampleCurveX(n)-t;if(Math.abs(i)i?o=n:a=n,n=.5*(a-o)+o;return n},solve:function(t,e){return this.sampleCurveY(this.solveCurveX(t,e))}},i}(),a=r(o);let l,u;function c(){return null!=l||(l="undefined"!=typeof OffscreenCanvas&&new OffscreenCanvas(1,1).getContext("2d")&&"function"==typeof createImageBitmap),l}function h(){if(null==u&&(u=!1,c())){const t=5,e=new OffscreenCanvas(t,t).getContext("2d",{willReadFrequently:!0});if(e){for(let n=0;n4&&void 0!==arguments[4]?arguments[4]:"zyx",s=Math.PI/360;e*=s,r*=s,n*=s;var o=Math.sin(e),a=Math.cos(e),l=Math.sin(n),u=Math.cos(n),c=Math.sin(r),h=Math.cos(r);switch(i){case "xyz":t[0]=o*u*h+a*l*c,t[1]=a*l*h-o*u*c,t[2]=a*u*c+o*l*h,t[3]=a*u*h-o*l*c;break;case "xzy":t[0]=o*u*h-a*l*c,t[1]=a*l*h-o*u*c,t[2]=a*u*c+o*l*h,t[3]=a*u*h+o*l*c;break;case "yxz":t[0]=o*u*h+a*l*c,t[1]=a*l*h-o*u*c,t[2]=a*u*c-o*l*h,t[3]=a*u*h+o*l*c;break;case "yzx":t[0]=o*u*h+a*l*c,t[1]=a*l*h+o*u*c,t[2]=a*u*c-o*l*h,t[3]=a*u*h-o*l*c;break;case "zxy":t[0]=o*u*h-a*l*c,t[1]=a*l*h+o*u*c,t[2]=a*u*c+o*l*h,t[3]=a*u*h-o*l*c;break;case "zyx":t[0]=o*u*h-a*l*c,t[1]=a*l*h+o*u*c,t[2]=a*u*c-o*l*h,t[3]=a*u*h+o*l*c;break;default:throw new Error("Unknown angle order "+i)}return t}function I(){var t=new f(2);return f!=Float32Array&&(t[0]=0,t[1]=0),t}function E(t,e){var n=new f(2);return n[0]=t,n[1]=e,n}m(),_=new f(4),f!=Float32Array&&(_[0]=0,_[1]=0,_[2]=0,_[3]=0),m(),x(1,0,0),x(0,1,0),M(),M(),d(),I();const T=8192;function F(t,e,n){return e*(T/(t.tileSize*Math.pow(2,n-t.tileID.overscaledZ)))}function P(t){return t instanceof Error?t:new Error("string"==typeof t?t:String(t))}function D(t,e){return (t%e+e)%e}function z(t,e,n){return t*(1-n)+e*n}function B(t){if(t<=0)return 0;if(t>=1)return 1;const e=t*t,n=e*t;return 4*(t<.5?n:3*(t-e)+n-.75)}function C(t,e,n,r){const i=new a(t,e,n,r);return t=>i.solve(t)}const V=C(.25,.1,.25,1);function L(t,e,n){return Math.min(n,Math.max(e,t))}function O(t,e,n){const r=n-e,i=((t-e)%r+r)%r+e;return i===e?n:i}function $(t,...e){for(const n of e)for(const e in n)t[e]=n[e];return t}let R=1;function N(t,e,n){const r={};for(const n in t)r[n]=e.call(this,t[n],n,t);return r}function U(t,e,n){const r={};for(const n in t)e.call(this,t[n],n,t)&&(r[n]=t[n]);return r}function j(t){return Array.isArray(t)?t.map(j):"object"==typeof t&&t?N(t,j):t}const q={};function G(t){q[t]||("undefined"!=typeof console&&console.warn(t),q[t]=!0);}function X(t,e,n){return (n.y-t.y)*(e.x-t.x)>(e.y-t.y)*(n.x-t.x)}function Y(t){return "undefined"!=typeof WorkerGlobalScope&&void 0!==t&&t instanceof WorkerGlobalScope}let Z=null;function H(t){return "undefined"!=typeof ImageBitmap&&t instanceof ImageBitmap}const W="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";function K(t,n,r,i,s){return e(this,void 0,void 0,(function*(){if("undefined"==typeof VideoFrame)throw new Error("VideoFrame not supported");const e=new VideoFrame(t,{timestamp:0});try{const o=null==e?void 0:e.format;if(!o||!o.startsWith("BGR")&&!o.startsWith("RGB"))throw new Error(`Unrecognized format ${o}`);const a=o.startsWith("BGR"),l=new Uint8ClampedArray(i*s*4);if(yield e.copyTo(l,function(t,e,n,r,i){const s=4*Math.max(-e,0),o=(Math.max(0,n)-n)*r*4+s,a=4*r,l=Math.max(0,e),u=Math.max(0,n);return {rect:{x:l,y:u,width:Math.min(t.width,e+r)-l,height:Math.min(t.height,n+i)-u},layout:[{offset:o,stride:a}]}}(t,n,r,i,s)),a)for(let t=0;t{t.removeEventListener(e,n,r);}}}function et(t){return t*Math.PI/180}function nt(t){return t/Math.PI*180}const rt={touchstart:!0,touchmove:!0,touchmoveWindow:!0,touchend:!0,touchcancel:!0},it={dblclick:!0,click:!0,mouseover:!0,mouseout:!0,mousedown:!0,mousemove:!0,mousemoveWindow:!0,mouseup:!0,mouseupWindow:!0,contextmenu:!0,wheel:!0},st="AbortError";class ot extends Error{constructor(t=st){super(t instanceof Error?t.message:t),this.name=st,t instanceof Error&&t.stack&&(this.stack=t.stack);}}function at(t){return t instanceof Error&&t.name===st}function lt(t){if(t.aborted)throw new ot(t.reason)}const ut={MAX_PARALLEL_IMAGE_REQUESTS:16,MAX_PARALLEL_IMAGE_REQUESTS_PER_FRAME:8,MAX_TILE_CACHE_ZOOM_LEVELS:5,REGISTERED_PROTOCOLS:{},WORKER_URL:""};function ct(t){return ut.REGISTERED_PROTOCOLS[t.substring(0,t.indexOf("://"))]}const ht="global-dispatcher";class pt extends Error{constructor(t,e,n,r){super(`AJAXError: ${e} (${t}): ${n}`),this.status=t,this.statusText=e,this.url=n,this.body=r;}}const ft=()=>{var t;return Y(self)?null===(t=self.worker)||void 0===t?void 0:t.referrer:("blob:"===window.location.protocol?window.parent:window).location.href},dt=function(t,n){return e(this,void 0,void 0,(function*(){var r,i;if(t.url.includes("://")&&!/^https?:|^file:/.test(t.url)){const e=ct(t.url);if(e){const r=yield e(t,n);return r.data||"arrayBuffer"!==t.type?r:$(r,{data:new ArrayBuffer(0)})}if(Y(self)&&(null===(r=self.worker)||void 0===r?void 0:r.actor))return self.worker.actor.sendAsync({type:"GR",data:t,targetMapId:ht},n)}if(!(t=>{var e;return t.startsWith("file:")||(null===(e=ft())||void 0===e?void 0:e.startsWith("file:"))&&!/^\w+:/.test(t)})(t.url)){if(fetch&&Request&&AbortController&&Object.hasOwn(Request.prototype,"signal"))return function(t,n){return e(this,void 0,void 0,(function*(){const e=new Request(t.url,{method:t.method||"GET",body:t.body,credentials:t.credentials,headers:t.headers,cache:t.cache,referrer:ft(),referrerPolicy:t.referrerPolicy,signal:n.signal});let r,i;"json"!==t.type||e.headers.has("Accept")||e.headers.set("Accept","application/json");try{r=yield fetch(e);}catch(e){if(at(e))throw e;throw new pt(0,P(e).message,t.url,new Blob)}if(!r.ok){const e=yield r.blob();throw new pt(r.status,r.statusText,t.url,e)}i="arrayBuffer"===t.type||"image"===t.type?r.arrayBuffer():"json"===t.type?r.json():r.text();const s=yield i;return lt(n.signal),{data:s,cacheControl:r.headers.get("Cache-Control"),expires:r.headers.get("Expires"),etag:r.headers.get("ETag")}}))}(t,n);if(Y(self)&&(null===(i=self.worker)||void 0===i?void 0:i.actor))return self.worker.actor.sendAsync({type:"GR",data:t,mustQueue:!0,targetMapId:ht},n)}return function(t,e){return new Promise(((n,r)=>{var i;const s=new XMLHttpRequest;s.open(t.method||"GET",t.url,!0),"arrayBuffer"!==t.type&&"image"!==t.type||(s.responseType="arraybuffer");for(const e in t.headers)s.setRequestHeader(e,t.headers[e]);"json"===t.type&&(s.responseType="text",(null===(i=t.headers)||void 0===i?void 0:i.Accept)||s.setRequestHeader("Accept","application/json")),s.withCredentials="include"===t.credentials,s.onerror=()=>{r(new Error(s.statusText));},s.onload=()=>{if(!e.signal.aborted)if((s.status>=200&&s.status<300||0===s.status)&&null!==s.response){let e=s.response;if("json"===t.type)try{e=JSON.parse(s.response);}catch(t){return void r(t)}n({data:e,cacheControl:s.getResponseHeader("Cache-Control"),expires:s.getResponseHeader("Expires"),etag:s.getResponseHeader("ETag")});}else {const e=new Blob([s.response],{type:s.getResponseHeader("Content-Type")});r(new pt(s.status,s.statusText,t.url,e));}},e.signal.addEventListener("abort",(()=>{s.abort(),r(new ot(e.signal.reason));})),s.send(t.body);}))}(t,n)}))};function yt(t){if(!t||t.indexOf("://")<=0||t.startsWith("data:image/")||t.startsWith("blob:"))return !0;const e=new URL(t),n=window.location;return e.protocol===n.protocol&&e.host===n.host}function mt(t,e,n){var r;(null===(r=n[t])||void 0===r?void 0:r.includes(e))||(n[t]||(n[t]=[]),n[t].push(e));}function gt(t,e,n){if(null==n?void 0:n[t]){const r=n[t].indexOf(e);-1!==r&&n[t].splice(r,1);}}class xt{constructor(t,e={}){$(this,e),this.type=t;}}class vt extends xt{constructor(t,e={}){super("error",$({error:t},e));}}class bt{on(t,e){return this._listeners||(this._listeners={}),mt(t,e,this._listeners),{unsubscribe:()=>{this.off(t,e);}}}off(t,e){return gt(t,e,this._listeners),gt(t,e,this._oneTimeListeners),this}once(t,e){return e?(this._oneTimeListeners||(this._oneTimeListeners={}),mt(t,e,this._oneTimeListeners),this):new Promise((e=>this.once(t,e)))}fire(t,e){var n,r;"string"==typeof t&&(t=new xt(t,e||{}));const i=t.type;if(this.listens(i)){t.target=this;const e=(null===(n=this._listeners)||void 0===n?void 0:n[i])?this._listeners[i].slice():[];for(const n of e)n.call(this,t);const s=(null===(r=this._oneTimeListeners)||void 0===r?void 0:r[i])?this._oneTimeListeners[i].slice():[];for(const e of s)gt(i,e,this._oneTimeListeners),e.call(this,t);const o=this._eventedParent;o&&($(t,"function"==typeof this._eventedParentData?this._eventedParentData():this._eventedParentData),o.fire(t));}else t instanceof vt&&console.error(t.error);return this}listens(t){var e,n,r,i,s;return (null===(n=null===(e=this._listeners)||void 0===e?void 0:e[t])||void 0===n?void 0:n.length)>0||(null===(i=null===(r=this._oneTimeListeners)||void 0===r?void 0:r[t])||void 0===i?void 0:i.length)>0||(null===(s=this._eventedParent)||void 0===s?void 0:s.listens(t))}setEventedParent(t,e){return this._eventedParent=t,this._eventedParentData=e,this}}var wt={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number",length:2},centerAltitude:{type:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},roll:{type:"number",default:0,units:"degrees"},state:{type:"state",default:{}},light:{type:"light"},sky:{type:"sky"},projection:{type:"projection"},terrain:{type:"terrain"},sources:{required:!0,type:"sources"},sprite:{type:"sprite"},glyphs:{type:"string"},"font-faces":{type:"fontFaces"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},volatile:{type:"boolean",default:!1},encoding:{type:"enum",values:{mvt:{},mlt:{}},default:"mvt"},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{},custom:{}},default:"mapbox"},redFactor:{type:"number",default:1},blueFactor:{type:"number",default:1},greenFactor:{type:"number",default:1},baseShift:{type:"number",default:0},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{required:!0,type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},filter:{type:"filter"},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterMinPoints:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},"color-relief":{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_color-relief","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image",{"!":"icon-overlap"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-overlap":{type:"enum",values:{never:{},always:{},cooperative:{}},requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"padding",default:[2],units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},"viewport-glyph":{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-variable-anchor-offset":{type:"variableAnchorOffsetCollection",requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field",{"!":"text-overlap"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-overlap":{type:"enum",values:{never:{},always:{},cooperative:{}},requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},"layout_color-relief":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},filter:{type:"boolean",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"expression_name",minimum:1},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},sky:{"sky-color":{type:"color","property-type":"data-constant",default:"#88C6FC",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"horizon-color":{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"fog-color":{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"fog-ground-blend":{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"horizon-fog-blend":{type:"number","property-type":"data-constant",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"sky-horizon-blend":{type:"number","property-type":"data-constant",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"atmosphere-blend":{type:"number","property-type":"data-constant",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},terrain:{source:{type:"string",required:!0},exaggeration:{type:"number",minimum:0,default:1}},projection:{type:{type:"projectionDefinition",default:"mercator","property-type":"data-constant",transition:!1,expression:{interpolated:!0,parameters:["zoom"]}}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_color-relief","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},resampling:{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"numberArray",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-altitude":{type:"numberArray",default:45,minimum:0,maximum:90,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"colorArray",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"colorArray",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-method":{type:"enum",values:{standard:{},basic:{},combined:{},igor:{},multidirectional:{}},default:"standard",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},resampling:{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},"paint_color-relief":{"color-relief-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"color-relief-color":{type:"color",transition:!1,expression:{interpolated:!0,parameters:["elevation"]},"property-type":"color-ramp"},resampling:{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:{"*":{type:"string"}},interpolation:{type:"array",value:"interpolation_name",minimum:1},interpolation_name:{type:"enum",values:{linear:{syntax:{overloads:[{parameters:[],"output-type":"interpolation"}],parameters:[]}},exponential:{syntax:{overloads:[{parameters:["base"],"output-type":"interpolation"}],parameters:[{name:"base",type:"number literal"}]}},"cubic-bezier":{syntax:{overloads:[{parameters:["x1","y1","x2","y2"],"output-type":"interpolation"}],parameters:[{name:"x1",type:"number literal"},{name:"y1",type:"number literal"},{name:"x2",type:"number literal"},{name:"y2",type:"number literal"}]}}}}};const _t=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function St(t,e){const n={};for(const e in t)"ref"!==e&&(n[e]=t[e]);return _t.forEach((t=>{t in e&&(n[t]=e[t]);})),n}function At(t,e){if(Array.isArray(t)){if(!Array.isArray(e)||t.length!==e.length)return !1;for(let n=0;n`:"value"===t.itemType.kind?"array":`array<${e}>`}return t.kind}const te=[Lt,Ot,$t,Rt,Nt,Ut,Xt,jt,Jt(qt),Yt,Ht,Zt,Wt,Kt];function ee(t,e){if("error"===e.kind)return null;if("array"===t.kind){if("array"===e.kind&&(0===e.N&&"value"===e.itemType.kind||!ee(t.itemType,e.itemType))&&("number"!=typeof t.N||t.N===e.N))return null}else {if(t.kind===e.kind)return null;if("value"===t.kind)for(const t of te)if(!ee(t,e))return null}return `Expected ${Qt(t)} but found ${Qt(e)} instead.`}function ne(t,e){return e.some((e=>e.kind===t.kind))}function re(t,e){return e.some((e=>"null"===e?null===t:"array"===e?Array.isArray(t):"object"===e?t&&!Array.isArray(t)&&"object"==typeof t:e===typeof t))}function ie(t,e){return "array"===t.kind&&"array"===e.kind?t.itemType.kind===e.itemType.kind&&"number"==typeof t.N:t.kind===e.kind}const se=.96422,oe=.82521,ae=4/29,le=6/29,ue=3*le*le,ce=le*le*le,he=Math.PI/180,pe=180/Math.PI;function fe(t){return (t%=360)<0&&(t+=360),t}function de([t,e,n,r]){let i,s;const o=me((.2225045*(t=ye(t))+.7168786*(e=ye(e))+.0606169*(n=ye(n)))/1);t===e&&e===n?i=s=o:(i=me((.4360747*t+.3850649*e+.1430804*n)/se),s=me((.0139322*t+.0971045*e+.7141733*n)/oe));const a=116*o-16;return [a<0?0:a,500*(i-o),200*(o-s),r]}function ye(t){return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function me(t){return t>ce?Math.pow(t,1/3):t/ue+ae}function ge([t,e,n,r]){let i=(t+16)/116,s=isNaN(e)?i:i+e/500,o=isNaN(n)?i:i-n/200;return i=1*ve(i),s=se*ve(s),o=oe*ve(o),[xe(3.1338561*s-1.6168667*i-.4906146*o),xe(-.9787684*s+1.9161415*i+.033454*o),xe(.0719453*s-.2289914*i+1.4052427*o),r]}function xe(t){return (t=t<=.00304?12.92*t:1.055*Math.pow(t,1/2.4)-.055)<0?0:t>1?1:t}function ve(t){return t>le?t*t*t:ue*(t-ae)}const be=Object.hasOwn||function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};function we(t,e){return be(t,e)?t[e]:void 0}function _e(t){return parseInt(t.padEnd(2,t),16)/255}function Se(t,e){return Ae(e?t/100:t,0,1)}function Ae(t,e,n){return Math.min(Math.max(e,t),n)}function Me(t){return !t.some(Number.isNaN)}const ke={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};function Ie(t,e,n){return t+n*(e-t)}function Ee(t,e,n){return t.map(((t,r)=>Ie(t,e[r],n)))}class Te{constructor(t,e,n,r=1,i=!0){this.r=t,this.g=e,this.b=n,this.a=r,i||(this.r*=r,this.g*=r,this.b*=r,r||this.overwriteGetter("rgb",[t,e,n,r]));}static parse(t){if(t instanceof Te)return t;if("string"!=typeof t)return;const e=function(t){if("transparent"===(t=t.toLowerCase().trim()))return [0,0,0,0];const e=we(ke,t);if(e){const[t,n,r]=e;return [t/255,n/255,r/255,1]}if(t.startsWith("#")&&/^#(?:[0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/.test(t)){const e=t.length<6?1:2;let n=1;return [_e(t.slice(n,n+=e)),_e(t.slice(n,n+=e)),_e(t.slice(n,n+=e)),_e(t.slice(n,n+e)||"ff")]}if(t.startsWith("rgb")){const e=t.match(/^rgba?\(\s*([\de.+-]+)(%)?(?:\s+|\s*(,)\s*)([\de.+-]+)(%)?(?:\s+|\s*(,)\s*)([\de.+-]+)(%)?(?:\s*([,\/])\s*([\de.+-]+)(%)?)?\s*\)$/);if(e){const[t,n,r,i,s,o,a,l,u,c,h,p]=e,f=[i||" ",a||" ",c].join("");if(" "===f||" /"===f||",,"===f||",,,"===f){const t=[r,o,u].join(""),e="%%%"===t?100:""===t?255:0;if(e){const t=[Ae(+n/e,0,1),Ae(+s/e,0,1),Ae(+l/e,0,1),h?Se(+h,p):1];if(Me(t))return t}}return}}const n=t.match(/^hsla?\(\s*([\de.+-]+)(?:deg)?(?:\s+|\s*(,)\s*)([\de.+-]+)%(?:\s+|\s*(,)\s*)([\de.+-]+)%(?:\s*([,\/])\s*([\de.+-]+)(%)?)?\s*\)$/);if(n){const[t,e,r,i,s,o,a,l,u]=n,c=[r||" ",s||" ",a].join("");if(" "===c||" /"===c||",,"===c||",,,"===c){const t=[+e,Ae(+i,0,100),Ae(+o,0,100),l?Se(+l,u):1];if(Me(t))return function([t,e,n,r]){function i(r){const i=(r+t/30)%12,s=e*Math.min(n,1-n);return n-s*Math.max(-1,Math.min(i-3,9-i,1))}return t=fe(t),e/=100,n/=100,[i(0),i(8),i(4),r]}(t)}}}(t);return e?new Te(...e,!1):void 0}get rgb(){const{r:t,g:e,b:n,a:r}=this,i=r||1/0;return this.overwriteGetter("rgb",[t/i,e/i,n/i,r])}get hcl(){return this.overwriteGetter("hcl",function(t){const[e,n,r,i]=de(t),s=Math.sqrt(n*n+r*r);return [Math.round(1e4*s)?fe(Math.atan2(r,n)*pe):NaN,s,e,i]}(this.rgb))}get lab(){return this.overwriteGetter("lab",de(this.rgb))}overwriteGetter(t,e){return Object.defineProperty(this,t,{value:e}),e}toString(){const[t,e,n,r]=this.rgb;return `rgba(${[t,e,n].map((t=>Math.round(255*t))).join(",")},${r})`}static interpolate(t,e,n,r="rgb"){switch(r){case "rgb":{const[r,i,s,o]=Ee(t.rgb,e.rgb,n);return new Te(r,i,s,o,!1)}case "hcl":{const[r,i,s,o]=t.hcl,[a,l,u,c]=e.hcl;let h,p;if(isNaN(r)||isNaN(a))isNaN(r)?isNaN(a)?h=NaN:(h=a,1!==s&&0!==s||(p=l)):(h=r,1!==u&&0!==u||(p=i));else {let t=a-r;a>r&&t>180?t-=360:a180&&(t+=360),h=r+n*t;}const[f,d,y,m]=function([t,e,n,r]){return t=isNaN(t)?0:t*he,ge([n,Math.cos(t)*e,Math.sin(t)*e,r])}([h,null!=p?p:Ie(i,l,n),Ie(s,u,n),Ie(o,c,n)]);return new Te(f,d,y,m,!1)}case "lab":{const[r,i,s,o]=ge(Ee(t.lab,e.lab,n));return new Te(r,i,s,o,!1)}}}}Te.black=new Te(0,0,0,1),Te.white=new Te(1,1,1,1),Te.transparent=new Te(0,0,0,0),Te.red=new Te(1,0,0,1);class Fe{constructor(t,e,n){this.sensitivity=t?e?"variant":"case":e?"accent":"base",this.locale=n,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"});}compare(t,e){return this.collator.compare(t,e)}resolvedLocale(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale}}const Pe=["bottom","center","top"];class De{constructor(t,e,n,r,i,s){this.text=t,this.image=e,this.scale=n,this.fontStack=r,this.textColor=i,this.verticalAlign=s;}}class ze{constructor(t){this.sections=t;}static fromString(t){return new ze([new De(t,null,null,null,null,null)])}isEmpty(){return 0===this.sections.length||!this.sections.some((t=>0!==t.text.length||t.image&&0!==t.image.name.length))}static factory(t){return t instanceof ze?t:ze.fromString(t)}toString(){return 0===this.sections.length?"":this.sections.map((t=>t.text)).join("")}}class Be{constructor(t){this.values=t.slice();}static parse(t){if(t instanceof Be)return t;if("number"==typeof t)return new Be([t,t,t,t]);if(Array.isArray(t)&&!(t.length<1||t.length>4)){for(const e of t)if("number"!=typeof e)return;switch(t.length){case 1:t=[t[0],t[0],t[0],t[0]];break;case 2:t=[t[0],t[1],t[0],t[1]];break;case 3:t=[t[0],t[1],t[2],t[1]];}return new Be(t)}}toString(){return JSON.stringify(this.values)}static interpolate(t,e,n){return new Be(Ee(t.values,e.values,n))}}class Ce{constructor(t){this.values=t.slice();}static parse(t){if(t instanceof Ce)return t;if("number"==typeof t)return new Ce([t]);if(Array.isArray(t)){for(const e of t)if("number"!=typeof e)return;return new Ce(t)}}toString(){return JSON.stringify(this.values)}static interpolate(t,e,n){return new Ce(Ee(t.values,e.values,n))}}class Ve{constructor(t){this.values=t.slice();}static parse(t){if(t instanceof Ve)return t;if("string"==typeof t){const e=Te.parse(t);if(!e)return;return new Ve([e])}if(!Array.isArray(t))return;const e=[];for(const n of t){if("string"!=typeof n)return;const t=Te.parse(n);if(!t)return;e.push(t);}return new Ve(e)}toString(){return JSON.stringify(this.values)}static interpolate(t,e,n,r="rgb"){const i=[];if(t.values.length!=e.values.length)throw new Error(`colorArray: Arrays have mismatched length (${t.values.length} vs. ${e.values.length}), cannot interpolate.`);for(let s=0;s=0&&t<=255&&"number"==typeof e&&e>=0&&e<=255&&"number"==typeof n&&n>=0&&n<=255?void 0===r||"number"==typeof r&&r>=0&&r<=1?null:`Invalid rgba value [${[t,e,n,r].join(", ")}]: 'a' must be between 0 and 1.`:`Invalid rgba value [${("number"==typeof r?[t,e,n,r]:[t,e,n]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`}function je(t){if(null===t||"string"==typeof t||"boolean"==typeof t||"number"==typeof t||t instanceof Ne||t instanceof Te||t instanceof Fe||t instanceof ze||t instanceof Be||t instanceof Ce||t instanceof Ve||t instanceof $e||t instanceof Re)return !0;if(Array.isArray(t)){for(const e of t)if(!je(e))return !1;return !0}if("object"==typeof t){for(const e in t)if(!je(t[e]))return !1;return !0}return !1}function qe(t){if(null===t)return Lt;if("string"==typeof t)return $t;if("boolean"==typeof t)return Rt;if("number"==typeof t)return Ot;if(t instanceof Te)return Nt;if(t instanceof Ne)return Ut;if(t instanceof Fe)return Gt;if(t instanceof ze)return Xt;if(t instanceof Be)return Yt;if(t instanceof Ce)return Ht;if(t instanceof Ve)return Zt;if(t instanceof $e)return Kt;if(t instanceof Re)return Wt;if(Array.isArray(t)){const e=t.length;let n;for(const e of t){const t=qe(e);if(n){if(n===t)continue;n=qt;break}n=t;}return Jt(n||qt,e)}return jt}function Ge(t){const e=typeof t;return null===t?"":"string"===e||"number"===e||"boolean"===e?String(t):t instanceof Te||t instanceof Ne||t instanceof ze||t instanceof Be||t instanceof Ce||t instanceof Ve||t instanceof $e||t instanceof Re?t.toString():JSON.stringify(t)}class Xe{constructor(t,e){this.type=t,this.value=e;}static parse(t,e){if(2!==t.length)return e.error(`'literal' expression requires exactly one argument, but found ${t.length-1} instead.`);if(!je(t[1]))return e.error("invalid value");const n=t[1];let r=qe(n);const i=e.expectedType;return "array"!==r.kind||0!==r.N||!i||"array"!==i.kind||"number"==typeof i.N&&0!==i.N||(r=i),new Xe(r,n)}evaluate(){return this.value}eachChild(){}outputDefined(){return !0}}const Ye={string:$t,number:Ot,boolean:Rt,object:jt};class Ze{constructor(t,e){this.type=t,this.args=e;}static parse(t,e){if(t.length<2)return e.error("Expected at least one argument.");let n,r=1;const i=t[0];if("array"===i){let i,s;if(t.length>2){const n=t[1];if("string"!=typeof n||!(n in Ye)||"object"===n)return e.error('The item type argument of "array" must be one of string, number, boolean',1);i=Ye[n],r++;}else i=qt;if(t.length>3){if(null!==t[2]&&("number"!=typeof t[2]||t[2]<0||t[2]!==Math.floor(t[2])))return e.error('The length argument to "array" must be a positive integer literal',2);s=t[2],r++;}n=Jt(i,s);}else {if(!Ye[i])throw new Error(`Types doesn't contain name = ${i}`);n=Ye[i];}const s=[];for(;rt.outputDefined()))}}const He={"to-boolean":Rt,"to-color":Nt,"to-number":Ot,"to-string":$t};class We{constructor(t,e){this.type=t,this.args=e;}static parse(t,e){if(t.length<2)return e.error("Expected at least one argument.");const n=t[0];if(!He[n])throw new Error(`Can't parse ${n} as it is not part of the known types`);if(("to-boolean"===n||"to-string"===n)&&2!==t.length)return e.error("Expected one argument.");const r=He[n],i=[];for(let n=1;n4?`Invalid rgba value ${JSON.stringify(e)}: expected an array containing either three or four numeric values.`:Ue(e[0],e[1],e[2],e[3]),!n))return new Te(e[0]/255,e[1]/255,e[2]/255,e[3])}throw new Le(n||`Could not parse color from value '${"string"==typeof e?e:JSON.stringify(e)}'`)}case "padding":{let e;for(const n of this.args){e=n.evaluate(t);const r=Be.parse(e);if(r)return r}throw new Le(`Could not parse padding from value '${"string"==typeof e?e:JSON.stringify(e)}'`)}case "numberArray":{let e;for(const n of this.args){e=n.evaluate(t);const r=Ce.parse(e);if(r)return r}throw new Le(`Could not parse numberArray from value '${"string"==typeof e?e:JSON.stringify(e)}'`)}case "colorArray":{let e;for(const n of this.args){e=n.evaluate(t);const r=Ve.parse(e);if(r)return r}throw new Le(`Could not parse colorArray from value '${"string"==typeof e?e:JSON.stringify(e)}'`)}case "variableAnchorOffsetCollection":{let e;for(const n of this.args){e=n.evaluate(t);const r=$e.parse(e);if(r)return r}throw new Le(`Could not parse variableAnchorOffsetCollection from value '${"string"==typeof e?e:JSON.stringify(e)}'`)}case "number":{let e=null;for(const n of this.args){if(e=n.evaluate(t),null===e)return 0;const r=Number(e);if(!isNaN(r))return r}throw new Le(`Could not convert ${JSON.stringify(e)} to number.`)}case "formatted":return ze.fromString(Ge(this.args[0].evaluate(t)));case "resolvedImage":return Re.fromString(Ge(this.args[0].evaluate(t)));case "projectionDefinition":return this.args[0].evaluate(t);default:return Ge(this.args[0].evaluate(t))}}eachChild(t){this.args.forEach(t);}outputDefined(){return this.args.every((t=>t.outputDefined()))}}const Ke=["Unknown","Point","LineString","Polygon"];class Je{constructor(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache=new Map,this.availableImages=null,this.canonical=null;}id(){return this.feature&&"id"in this.feature?this.feature.id:null}geometryType(){return this.feature?"number"==typeof this.feature.type?Ke[this.feature.type]:this.feature.type:null}geometry(){return this.feature&&"geometry"in this.feature?this.feature.geometry:null}canonicalID(){return this.canonical}properties(){return this.feature&&this.feature.properties||{}}parseColor(t){let e=this._parseColorCache.get(t);return e||(e=Te.parse(t),this._parseColorCache.set(t,e)),e}}class Qe{constructor(t,e,n=[],r,i=new Vt,s=[]){this.registry=t,this.path=n,this.key=n.map((t=>`[${t}]`)).join(""),this.scope=i,this.errors=s,this.expectedType=r,this._isConstant=e;}parse(t,e,n,r,i={}){return e?this.concat(e,n,r)._parse(t,i):this._parse(t,i)}_parse(t,e){function n(t,e,n){return "assert"===n?new Ze(e,[t]):"coerce"===n?new We(e,[t]):t}if(null!==t&&"string"!=typeof t&&"boolean"!=typeof t&&"number"!=typeof t||(t=["literal",t]),Array.isArray(t)){if(0===t.length)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');const r=t[0];if("string"!=typeof r)return this.error(`Expression name must be a string, but found ${typeof r} instead. If you wanted a literal array, use ["literal", [...]].`,0),null;const i=this.registry[r];if(i){let r=i.parse(t,this);if(!r)return null;if(this.expectedType){const t=this.expectedType,i=r.type;if("string"!==t.kind&&"number"!==t.kind&&"boolean"!==t.kind&&"object"!==t.kind&&"array"!==t.kind||"value"!==i.kind){if("projectionDefinition"===t.kind&&["string","array"].includes(i.kind)||["color","formatted","resolvedImage"].includes(t.kind)&&["value","string"].includes(i.kind)||["padding","numberArray"].includes(t.kind)&&["value","number","array"].includes(i.kind)||"colorArray"===t.kind&&["value","string","array"].includes(i.kind)||"variableAnchorOffsetCollection"===t.kind&&["value","array"].includes(i.kind))r=n(r,t,e.typeAnnotation||"coerce");else if(this.checkSubtype(t,i))return null}else r=n(r,t,e.typeAnnotation||"assert");}if(!(r instanceof Xe)&&"resolvedImage"!==r.type.kind&&this._isConstant(r)){const t=new Je;try{r=new Xe(r.type,r.evaluate(t));}catch(t){return this.error(t.message),null}}return r}return this.error(`Unknown expression "${r}". If you wanted a literal array, use ["literal", [...]].`,0)}return this.error(void 0===t?"'undefined' value invalid. Use null instead.":"object"==typeof t?'Bare objects invalid. Use ["literal", {...}] instead.':`Expected an array, but found ${typeof t} instead.`)}concat(t,e,n){const r="number"==typeof t?this.path.concat(t):this.path,i=n?this.scope.concat(n):this.scope;return new Qe(this.registry,this._isConstant,r,e||null,i,this.errors)}error(t,...e){const n=`${this.key}${e.map((t=>`[${t}]`)).join("")}`;this.errors.push(new Ct(n,t));}checkSubtype(t,e){const n=ee(t,e);return n&&this.error(n),n}}class tn{constructor(t,e){this.type=e.type,this.bindings=[].concat(t),this.result=e;}evaluate(t){return this.result.evaluate(t)}eachChild(t){for(const e of this.bindings)t(e[1]);t(this.result);}static parse(t,e){if(t.length<4)return e.error(`Expected at least 3 arguments, but found ${t.length-1} instead.`);const n=[];for(let r=1;r=n.length)throw new Le(`Array index out of bounds: ${e} > ${n.length-1}.`);if(e!==Math.floor(e))throw new Le(`Array index must be an integer, but found ${e} instead.`);return n[e]}eachChild(t){t(this.index),t(this.input);}outputDefined(){return !1}}class rn{constructor(t,e){this.type=Rt,this.needle=t,this.haystack=e;}static parse(t,e){if(3!==t.length)return e.error(`Expected 2 arguments, but found ${t.length-1} instead.`);const n=e.parse(t[1],1,qt),r=e.parse(t[2],2,qt);return n&&r?ne(n.type,[Rt,$t,Ot,Lt,qt])?new rn(n,r):e.error(`Expected first argument to be of type boolean, string, number or null, but found ${Qt(n.type)} instead`):null}evaluate(t){const e=this.needle.evaluate(t),n=this.haystack.evaluate(t);if(!n)return !1;if(!re(e,["boolean","string","number","null"]))throw new Le(`Expected first argument to be of type boolean, string, number or null, but found ${Qt(qe(e))} instead.`);if(!re(n,["string","array"]))throw new Le(`Expected second argument to be of type array or string, but found ${Qt(qe(n))} instead.`);return n.indexOf(e)>=0}eachChild(t){t(this.needle),t(this.haystack);}outputDefined(){return !0}}class sn{constructor(t,e,n){this.type=Ot,this.needle=t,this.haystack=e,this.fromIndex=n;}static parse(t,e){if(t.length<=2||t.length>=5)return e.error(`Expected 2 or 3 arguments, but found ${t.length-1} instead.`);const n=e.parse(t[1],1,qt),r=e.parse(t[2],2,qt);if(!n||!r)return null;if(!ne(n.type,[Rt,$t,Ot,Lt,qt]))return e.error(`Expected first argument to be of type boolean, string, number or null, but found ${Qt(n.type)} instead`);if(4===t.length){const i=e.parse(t[3],3,Ot);return i?new sn(n,r,i):null}return new sn(n,r)}evaluate(t){const e=this.needle.evaluate(t),n=this.haystack.evaluate(t);if(!re(e,["boolean","string","number","null"]))throw new Le(`Expected first argument to be of type boolean, string, number or null, but found ${Qt(qe(e))} instead.`);let r;if(this.fromIndex&&(r=this.fromIndex.evaluate(t)),re(n,["string"])){const t=n.indexOf(e,r);return -1===t?-1:[...n.slice(0,t)].length}if(re(n,["array"]))return n.indexOf(e,r);throw new Le(`Expected second argument to be of type array or string, but found ${Qt(qe(n))} instead.`)}eachChild(t){t(this.needle),t(this.haystack),this.fromIndex&&t(this.fromIndex);}outputDefined(){return !1}}class on{constructor(t,e,n,r,i,s){this.inputType=t,this.type=e,this.input=n,this.cases=r,this.outputs=i,this.otherwise=s;}static parse(t,e){if(t.length<5)return e.error(`Expected at least 4 arguments, but found only ${t.length-1}.`);if(t.length%2!=1)return e.error("Expected an even number of arguments.");let n,r;e.expectedType&&"value"!==e.expectedType.kind&&(r=e.expectedType);const i={},s=[];for(let o=2;oNumber.MAX_SAFE_INTEGER)return u.error(`Branch labels must be integers no larger than ${Number.MAX_SAFE_INTEGER}.`);if("number"==typeof t&&Math.floor(t)!==t)return u.error("Numeric branch labels must be integer values.");if(n){if(u.checkSubtype(n,qe(t)))return null}else n=qe(t);if(void 0!==i[String(t)])return u.error("Branch labels must be unique.");i[String(t)]=s.length;}const c=e.parse(l,o,r);if(!c)return null;r=r||c.type,s.push(c);}const o=e.parse(t[1],1,qt);if(!o)return null;const a=e.parse(t[t.length-1],t.length-1,r);return a?"value"!==o.type.kind&&e.concat(1).checkSubtype(n,o.type)?null:new on(n,r,o,i,s,a):null}evaluate(t){const e=this.input.evaluate(t);return (qe(e)===this.inputType&&this.outputs[this.cases[e]]||this.otherwise).evaluate(t)}eachChild(t){t(this.input),this.outputs.forEach(t),t(this.otherwise);}outputDefined(){return this.outputs.every((t=>t.outputDefined()))&&this.otherwise.outputDefined()}}class an{constructor(t,e,n){this.type=t,this.branches=e,this.otherwise=n;}static parse(t,e){if(t.length<4)return e.error(`Expected at least 3 arguments, but found only ${t.length-1}.`);if(t.length%2!=0)return e.error("Expected an odd number of arguments.");let n;e.expectedType&&"value"!==e.expectedType.kind&&(n=e.expectedType);const r=[];for(let i=1;ie.outputDefined()))&&this.otherwise.outputDefined()}}class ln{constructor(t,e,n,r){this.type=t,this.input=e,this.beginIndex=n,this.endIndex=r;}static parse(t,e){if(t.length<=2||t.length>=5)return e.error(`Expected 2 or 3 arguments, but found ${t.length-1} instead.`);const n=e.parse(t[1],1,qt),r=e.parse(t[2],2,Ot);if(!n||!r)return null;if(!ne(n.type,[Jt(qt),$t,qt]))return e.error(`Expected first argument to be of type array or string, but found ${Qt(n.type)} instead`);if(4===t.length){const i=e.parse(t[3],3,Ot);return i?new ln(n.type,n,r,i):null}return new ln(n.type,n,r)}evaluate(t){const e=this.input.evaluate(t),n=this.beginIndex.evaluate(t);let r;if(this.endIndex&&(r=this.endIndex.evaluate(t)),re(e,["string"]))return [...e].slice(n,r).join("");if(re(e,["array"]))return e.slice(n,r);throw new Le(`Expected first argument to be of type array or string, but found ${Qt(qe(e))} instead.`)}eachChild(t){t(this.input),t(this.beginIndex),this.endIndex&&t(this.endIndex);}outputDefined(){return !1}}function un(t,e){const n=t.length-1;let r,i,s=0,o=n,a=0;for(;s<=o;)if(a=Math.floor((s+o)/2),r=t[a],i=t[a+1],r<=e){if(a===n||ee))throw new Le("Input is not a number.");o=a-1;}return 0}class cn{constructor(t,e,n){this.type=t,this.input=e,this.labels=[],this.outputs=[];for(const[t,e]of n)this.labels.push(t),this.outputs.push(e);}static parse(t,e){if(t.length-1<4)return e.error(`Expected at least 4 arguments, but found only ${t.length-1}.`);if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");const n=e.parse(t[1],1,Ot);if(!n)return null;const r=[];let i=null;e.expectedType&&"value"!==e.expectedType.kind&&(i=e.expectedType);for(let n=1;n=s)return e.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',a);const u=e.parse(o,l,i);if(!u)return null;i=i||u.type,r.push([s,u]);}return new cn(i,n,r)}evaluate(t){const e=this.labels,n=this.outputs;if(1===e.length)return n[0].evaluate(t);const r=this.input.evaluate(t);if(r<=e[0])return n[0].evaluate(t);const i=e.length;return r>=e[i-1]?n[i-1].evaluate(t):n[un(e,r)].evaluate(t)}eachChild(t){t(this.input);for(const e of this.outputs)t(e);}outputDefined(){return this.outputs.every((t=>t.outputDefined()))}}function hn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var pn,fn,dn=function(){if(fn)return pn;function t(t,e,n,r){this.cx=3*t,this.bx=3*(n-t)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(r-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=t,this.p1y=e,this.p2x=n,this.p2y=r;}return fn=1,pn=t,t.prototype={sampleCurveX:function(t){return ((this.ax*t+this.bx)*t+this.cx)*t},sampleCurveY:function(t){return ((this.ay*t+this.by)*t+this.cy)*t},sampleCurveDerivativeX:function(t){return (3*this.ax*t+2*this.bx)*t+this.cx},solveCurveX:function(t,e){if(void 0===e&&(e=1e-6),t<0)return 0;if(t>1)return 1;for(var n=t,r=0;r<8;r++){var i=this.sampleCurveX(n)-t;if(Math.abs(i)i?o=n:a=n,n=.5*(a-o)+o;return n},solve:function(t,e){return this.sampleCurveY(this.solveCurveX(t,e))}},pn}(),yn=hn(dn);class mn{constructor(t,e,n,r,i){this.type=t,this.operator=e,this.interpolation=n,this.input=r,this.labels=[],this.outputs=[];for(const[t,e]of i)this.labels.push(t),this.outputs.push(e);}static interpolationFactor(t,e,n,r){let i=0;if("exponential"===t.name)i=gn(e,t.base,n,r);else if("linear"===t.name)i=gn(e,1,n,r);else if("cubic-bezier"===t.name){const s=t.controlPoints;i=new yn(s[0],s[1],s[2],s[3]).solve(gn(e,1,n,r));}return i}static parse(t,e){let[n,r,i,...s]=t;if(!Array.isArray(r)||0===r.length)return e.error("Expected an interpolation type expression.",1);if("linear"===r[0])r={name:"linear"};else if("exponential"===r[0]){const t=r[1];if("number"!=typeof t)return e.error("Exponential interpolation requires a numeric base.",1,1);r={name:"exponential",base:t};}else {if("cubic-bezier"!==r[0])return e.error(`Unknown interpolation type ${String(r[0])}`,1,0);{const t=r.slice(1);if(4!==t.length||t.some((t=>"number"!=typeof t||t<0||t>1)))return e.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);r={name:"cubic-bezier",controlPoints:t};}}if(t.length-1<4)return e.error(`Expected at least 4 arguments, but found only ${t.length-1}.`);if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");if(i=e.parse(i,2,Ot),!i)return null;const o=[];let a=null;"interpolate-hcl"!==n&&"interpolate-lab"!==n||e.expectedType==Zt?e.expectedType&&"value"!==e.expectedType.kind&&(a=e.expectedType):a=Nt;for(let t=0;t=n)return e.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',i);const u=e.parse(r,l,a);if(!u)return null;a=a||u.type,o.push([n,u]);}return ie(a,Ot)||ie(a,Ut)||ie(a,Nt)||ie(a,Yt)||ie(a,Ht)||ie(a,Zt)||ie(a,Kt)||ie(a,Jt(Ot))?new mn(a,n,r,i,o):e.error(`Type ${Qt(a)} is not interpolatable.`)}evaluate(t){const e=this.labels,n=this.outputs;if(1===e.length)return n[0].evaluate(t);const r=this.input.evaluate(t);if(r<=e[0])return n[0].evaluate(t);const i=e.length;if(r>=e[i-1])return n[i-1].evaluate(t);const s=un(e,r),o=mn.interpolationFactor(this.interpolation,r,e[s],e[s+1]),a=n[s].evaluate(t),l=n[s+1].evaluate(t);switch(this.operator){case "interpolate":switch(this.type.kind){case "number":return Ie(a,l,o);case "color":return Te.interpolate(a,l,o);case "padding":return Be.interpolate(a,l,o);case "colorArray":return Ve.interpolate(a,l,o);case "numberArray":return Ce.interpolate(a,l,o);case "variableAnchorOffsetCollection":return $e.interpolate(a,l,o);case "array":return Ee(a,l,o);case "projectionDefinition":return Ne.interpolate(a,l,o)}case "interpolate-hcl":switch(this.type.kind){case "color":return Te.interpolate(a,l,o,"hcl");case "colorArray":return Ve.interpolate(a,l,o,"hcl")}case "interpolate-lab":switch(this.type.kind){case "color":return Te.interpolate(a,l,o,"lab");case "colorArray":return Ve.interpolate(a,l,o,"lab")}}}eachChild(t){t(this.input);for(const e of this.outputs)t(e);}outputDefined(){return this.outputs.every((t=>t.outputDefined()))}}function gn(t,e,n,r){const i=r-n,s=t-n;return 0===i?0:1===e?s/i:(Math.pow(e,s)-1)/(Math.pow(e,i)-1)}const xn={color:Te.interpolate,number:Ie,padding:Be.interpolate,numberArray:Ce.interpolate,colorArray:Ve.interpolate,variableAnchorOffsetCollection:$e.interpolate,array:Ee};class vn{constructor(t,e){this.type=t,this.args=e;}static parse(t,e){if(t.length<2)return e.error("Expected at least one argument.");let n=null;const r=e.expectedType;r&&"value"!==r.kind&&(n=r);const i=[];for(const r of t.slice(1)){const t=e.parse(r,1+i.length,n,void 0,{typeAnnotation:"omit"});if(!t)return null;n=n||t.type,i.push(t);}if(!n)throw new Error("No output type");const s=r&&i.some((t=>ee(r,t.type)));return new vn(s?qt:n,i)}evaluate(t){let e,n=null,r=0;for(const i of this.args)if(r++,n=i.evaluate(t),n&&n instanceof Re&&!n.available&&(e||(e=n.name),n=null,r===this.args.length&&(n=e)),null!==n)break;return n}eachChild(t){this.args.forEach(t);}outputDefined(){return this.args.every((t=>t.outputDefined()))}}function bn(t,e){return "=="===t||"!="===t?"boolean"===e.kind||"string"===e.kind||"number"===e.kind||"null"===e.kind||"value"===e.kind:"string"===e.kind||"number"===e.kind||"value"===e.kind}function wn(t,e,n,r){return 0===r.compare(e,n)}function _n(t,e,n){const r="=="!==t&&"!="!==t;return class i{constructor(t,e,n){this.type=Rt,this.lhs=t,this.rhs=e,this.collator=n,this.hasUntypedArgument="value"===t.type.kind||"value"===e.type.kind;}static parse(t,e){if(3!==t.length&&4!==t.length)return e.error("Expected two or three arguments.");const n=t[0];let s=e.parse(t[1],1,qt);if(!s)return null;if(!bn(n,s.type))return e.concat(1).error(`"${n}" comparisons are not supported for type '${Qt(s.type)}'.`);let o=e.parse(t[2],2,qt);if(!o)return null;if(!bn(n,o.type))return e.concat(2).error(`"${n}" comparisons are not supported for type '${Qt(o.type)}'.`);if(s.type.kind!==o.type.kind&&"value"!==s.type.kind&&"value"!==o.type.kind)return e.error(`Cannot compare types '${Qt(s.type)}' and '${Qt(o.type)}'.`);r&&("value"===s.type.kind&&"value"!==o.type.kind?s=new Ze(o.type,[s]):"value"!==s.type.kind&&"value"===o.type.kind&&(o=new Ze(s.type,[o])));let a=null;if(4===t.length){if("string"!==s.type.kind&&"string"!==o.type.kind&&"value"!==s.type.kind&&"value"!==o.type.kind)return e.error("Cannot use collator to compare non-string types.");if(a=e.parse(t[3],3,Gt),!a)return null}return new i(s,o,a)}evaluate(i){const s=this.lhs.evaluate(i),o=this.rhs.evaluate(i);if(r&&this.hasUntypedArgument){const e=qe(s),n=qe(o);if(e.kind!==n.kind||"string"!==e.kind&&"number"!==e.kind)throw new Le(`Expected arguments for "${t}" to be (string, string) or (number, number), but found (${e.kind}, ${n.kind}) instead.`)}if(this.collator&&!r&&this.hasUntypedArgument){const t=qe(s),n=qe(o);if("string"!==t.kind||"string"!==n.kind)return e(i,s,o)}return this.collator?n(i,s,o,this.collator.evaluate(i)):e(i,s,o)}eachChild(t){t(this.lhs),t(this.rhs),this.collator&&t(this.collator);}outputDefined(){return !0}}}const Sn=_n("==",(function(t,e,n){return e===n}),wn),An=_n("!=",(function(t,e,n){return e!==n}),(function(t,e,n,r){return !wn(0,e,n,r)})),Mn=_n("<",(function(t,e,n){return e",(function(t,e,n){return e>n}),(function(t,e,n,r){return r.compare(e,n)>0})),In=_n("<=",(function(t,e,n){return e<=n}),(function(t,e,n,r){return r.compare(e,n)<=0})),En=_n(">=",(function(t,e,n){return e>=n}),(function(t,e,n,r){return r.compare(e,n)>=0}));class Tn{constructor(t,e,n){this.type=Gt,this.locale=n,this.caseSensitive=t,this.diacriticSensitive=e;}static parse(t,e){if(2!==t.length)return e.error("Expected one argument.");const n=t[1];if("object"!=typeof n||Array.isArray(n))return e.error("Collator options argument must be an object.");const r=e.parse(void 0!==n["case-sensitive"]&&n["case-sensitive"],1,Rt);if(!r)return null;const i=e.parse(void 0!==n["diacritic-sensitive"]&&n["diacritic-sensitive"],1,Rt);if(!i)return null;let s=null;return n.locale&&(s=e.parse(n.locale,1,$t),!s)?null:new Tn(r,i,s)}evaluate(t){return new Fe(this.caseSensitive.evaluate(t),this.diacriticSensitive.evaluate(t),this.locale?this.locale.evaluate(t):null)}eachChild(t){t(this.caseSensitive),t(this.diacriticSensitive),this.locale&&t(this.locale);}outputDefined(){return !1}}class Fn{constructor(t,e,n,r,i,s){this.type=$t,this.number=t,this.locale=e,this.currency=n,this.unit=r,this.minFractionDigits=i,this.maxFractionDigits=s;}static parse(t,e){if(3!==t.length)return e.error("Expected two arguments.");const n=e.parse(t[1],1,Ot);if(!n)return null;const r=t[2];if("object"!=typeof r||Array.isArray(r))return e.error("NumberFormat options argument must be an object.");let i=null;if(r.locale&&(i=e.parse(r.locale,1,$t),!i))return null;let s=null;if(r.currency&&(s=e.parse(r.currency,1,$t),!s))return null;let o=null;if(r.unit&&(o=e.parse(r.unit,1,$t),!o))return null;if(s&&o)return e.error("NumberFormat options `currency` and `unit` are mutually exclusive");let a=null;if(r["min-fraction-digits"]&&(a=e.parse(r["min-fraction-digits"],1,Ot),!a))return null;let l=null;return r["max-fraction-digits"]&&(l=e.parse(r["max-fraction-digits"],1,Ot),!l)?null:new Fn(n,i,s,o,a,l)}evaluate(t){return new Intl.NumberFormat(this.locale?this.locale.evaluate(t):[],{style:this.currency?"currency":this.unit?"unit":"decimal",currency:this.currency?this.currency.evaluate(t):void 0,unit:this.unit?this.unit.evaluate(t):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(t):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(t):void 0}).format(this.number.evaluate(t))}eachChild(t){t(this.number),this.locale&&t(this.locale),this.currency&&t(this.currency),this.unit&&t(this.unit),this.minFractionDigits&&t(this.minFractionDigits),this.maxFractionDigits&&t(this.maxFractionDigits);}outputDefined(){return !1}}class Pn{constructor(t){this.type=Xt,this.sections=t;}static parse(t,e){if(t.length<2)return e.error("Expected at least one argument.");const n=t[1];if(!Array.isArray(n)&&"object"==typeof n)return e.error("First argument must be an image or text section.");const r=[];let i=!1;for(let n=1;n<=t.length-1;++n){const s=t[n];if(i&&"object"==typeof s&&!Array.isArray(s)){i=!1;let t=null;if(s["font-scale"]&&(t=e.parse(s["font-scale"],1,Ot),!t))return null;let n=null;if(s["text-font"]&&(n=e.parse(s["text-font"],1,Jt($t)),!n))return null;let o=null;if(s["text-color"]&&(o=e.parse(s["text-color"],1,Nt),!o))return null;let a=null;if(s["vertical-align"]){if("string"==typeof s["vertical-align"]&&!Pe.includes(s["vertical-align"]))return e.error(`'vertical-align' must be one of: 'bottom', 'center', 'top' but found '${s["vertical-align"]}' instead.`);if(a=e.parse(s["vertical-align"],1,$t),!a)return null}const l=r[r.length-1];l.scale=t,l.font=n,l.textColor=o,l.verticalAlign=a;}else {const s=e.parse(t[n],1,qt);if(!s)return null;const o=s.type.kind;if("string"!==o&&"value"!==o&&"null"!==o&&"resolvedImage"!==o)return e.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");i=!0,r.push({content:s,scale:null,font:null,textColor:null,verticalAlign:null});}}return new Pn(r)}evaluate(t){return new ze(this.sections.map((e=>{const n=e.content.evaluate(t);return qe(n)===Wt?new De("",n,null,null,null,e.verticalAlign?e.verticalAlign.evaluate(t):null):new De(Ge(n),null,e.scale?e.scale.evaluate(t):null,e.font?e.font.evaluate(t).join(","):null,e.textColor?e.textColor.evaluate(t):null,e.verticalAlign?e.verticalAlign.evaluate(t):null)})))}eachChild(t){for(const e of this.sections)t(e.content),e.scale&&t(e.scale),e.font&&t(e.font),e.textColor&&t(e.textColor),e.verticalAlign&&t(e.verticalAlign);}outputDefined(){return !1}}class Dn{constructor(t){this.type=Wt,this.input=t;}static parse(t,e){if(2!==t.length)return e.error("Expected two arguments.");const n=e.parse(t[1],1,$t);return n?new Dn(n):e.error("No image name provided.")}evaluate(t){const e=this.input.evaluate(t),n=Re.fromString(e);return n&&t.availableImages&&(n.available=t.availableImages.indexOf(e)>-1),n}eachChild(t){t(this.input);}outputDefined(){return !1}}class zn{constructor(t){this.type=Ot,this.input=t;}static parse(t,e){if(2!==t.length)return e.error(`Expected 1 argument, but found ${t.length-1} instead.`);const n=e.parse(t[1],1);return n?"array"!==n.type.kind&&"string"!==n.type.kind&&"value"!==n.type.kind?e.error(`Expected argument of type string or array, but found ${Qt(n.type)} instead.`):new zn(n):null}evaluate(t){const e=this.input.evaluate(t);if("string"==typeof e)return [...e].length;if(Array.isArray(e))return e.length;throw new Le(`Expected value to be of type string or array, but found ${Qt(qe(e))} instead.`)}eachChild(t){t(this.input);}outputDefined(){return !1}}const Bn=8192;function Cn(t,e){const n=(180+t[0])/360,r=(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+t[1]*Math.PI/360)))/360,i=Math.pow(2,e.z);return [Math.round(n*i*Bn),Math.round(r*i*Bn)]}function Vn(t,e){const n=Math.pow(2,e.z);return [(i=(t[0]/Bn+e.x)/n,360*i-180),(r=(t[1]/Bn+e.y)/n,360/Math.PI*Math.atan(Math.exp((180-360*r)*Math.PI/180))-90)];var r,i;}function Ln(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.max(t[2],e[0]),t[3]=Math.max(t[3],e[1]);}function On(t,e){return !(t[0]<=e[0]||t[2]>=e[2]||t[1]<=e[1]||t[3]>=e[3])}function $n(t,e,n){const r=t[0]-e[0],i=t[1]-e[1],s=t[0]-n[0],o=t[1]-n[1];return r*o-s*i==0&&r*s<=0&&i*o<=0}function Rn(t,e,n,r){return 0!=(i=[r[0]-n[0],r[1]-n[1]])[0]*(s=[e[0]-t[0],e[1]-t[1]])[1]-i[1]*s[0]&&!(!Xn(t,e,n,r)||!Xn(n,r,t,e));var i,s;}function Nn(t,e,n){for(const r of n)for(let n=0;n(i=t)[1]!=(o=a[e+1])[1]>i[1]&&i[0]<(o[0]-s[0])*(i[1]-s[1])/(o[1]-s[1])+s[0]&&(r=!r);}var i,s,o;return r}function jn(t,e){for(const n of e)if(Un(t,n))return !0;return !1}function qn(t,e){for(const n of t)if(!Un(n,e))return !1;for(let n=0;n0&&a<0||o<0&&a>0}function Yn(t,e,n){const r=[];for(let i=0;in[2]){const e=.5*r;let i=t[0]-n[0]>e?-r:n[0]-t[0]>e?r:0;0===i&&(i=t[0]-n[2]>e?-r:n[2]-t[0]>e?r:0),t[0]+=i;}Ln(e,t);}function Wn(t,e,n,r){const i=Math.pow(2,r.z)*Bn,s=[r.x*Bn,r.y*Bn],o=[];for(const r of t)for(const t of r){const r=[t.x+s[0],t.y+s[1]];Hn(r,e,n,i),o.push(r);}return o}function Kn(t,e,n,r){const i=Math.pow(2,r.z)*Bn,s=[r.x*Bn,r.y*Bn],o=[];for(const n of t){const t=[];for(const r of n){const n=[r.x+s[0],r.y+s[1]];Ln(e,n),t.push(n);}o.push(t);}if(e[2]-e[0]<=i/2){(a=e)[0]=a[1]=1/0,a[2]=a[3]=-1/0;for(const t of o)for(const r of t)Hn(r,e,n,i);}var a;return o}class Jn{constructor(t,e){this.type=Rt,this.geojson=t,this.geometries=e;}static parse(t,e){if(2!==t.length)return e.error(`'within' expression requires exactly one argument, but found ${t.length-1} instead.`);if(je(t[1])){const e=t[1];if("FeatureCollection"===e.type){const t=[];for(const n of e.features){const{type:e,coordinates:r}=n.geometry;"Polygon"===e&&t.push(r),"MultiPolygon"===e&&t.push(...r);}if(t.length)return new Jn(e,{type:"MultiPolygon",coordinates:t})}else if("Feature"===e.type){const t=e.geometry.type;if("Polygon"===t||"MultiPolygon"===t)return new Jn(e,e.geometry)}else if("Polygon"===e.type||"MultiPolygon"===e.type)return new Jn(e,e)}return e.error("'within' expression requires valid geojson object that contains polygon geometry type.")}evaluate(t){if(null!=t.geometry()&&null!=t.canonicalID()){if("Point"===t.geometryType())return function(t,e){const n=[1/0,1/0,-1/0,-1/0],r=[1/0,1/0,-1/0,-1/0],i=t.canonicalID();if("Polygon"===e.type){const s=Yn(e.coordinates,r,i),o=Wn(t.geometry(),n,r,i);if(!On(n,r))return !1;for(const t of o)if(!Un(t,s))return !1}if("MultiPolygon"===e.type){const s=Zn(e.coordinates,r,i),o=Wn(t.geometry(),n,r,i);if(!On(n,r))return !1;for(const t of o)if(!jn(t,s))return !1}return !0}(t,this.geometries);if("LineString"===t.geometryType())return function(t,e){const n=[1/0,1/0,-1/0,-1/0],r=[1/0,1/0,-1/0,-1/0],i=t.canonicalID();if("Polygon"===e.type){const s=Yn(e.coordinates,r,i),o=Kn(t.geometry(),n,r,i);if(!On(n,r))return !1;for(const t of o)if(!qn(t,s))return !1}if("MultiPolygon"===e.type){const s=Zn(e.coordinates,r,i),o=Kn(t.geometry(),n,r,i);if(!On(n,r))return !1;for(const t of o)if(!Gn(t,s))return !1}return !0}(t,this.geometries)}return !1}eachChild(){}outputDefined(){return !0}}let Qn=class{constructor(t=[],e=(t,e)=>te?1:0){if(this.data=t,this.length=this.data.length,this.compare=e,this.length>0)for(let t=(this.length>>1)-1;t>=0;t--)this._down(t);}push(t){this.data.push(t),this._up(this.length++);}pop(){if(0===this.length)return;const t=this.data[0],e=this.data.pop();return --this.length>0&&(this.data[0]=e,this._down(0)),t}peek(){return this.data[0]}_up(t){const{data:e,compare:n}=this,r=e[t];for(;t>0;){const i=t-1>>1,s=e[i];if(n(r,s)>=0)break;e[t]=s,t=i;}e[t]=r;}_down(t){const{data:e,compare:n}=this,r=this.length>>1,i=e[t];for(;t=0)break;e[t]=e[r],t=r;}e[t]=i;}};function tr(t,e,n=0,r=t.length-1,i=nr){for(;r>n;){if(r-n>600){const s=r-n+1,o=e-n+1,a=Math.log(s),l=.5*Math.exp(2*a/3),u=.5*Math.sqrt(a*l*(s-l)/s)*(o-s/2<0?-1:1);tr(t,e,Math.max(n,Math.floor(e-o*l/s+u)),Math.min(r,Math.floor(e+(s-o)*l/s+u)),i);}const s=t[e];let o=n,a=r;for(er(t,n,e),i(t[r],s)>0&&er(t,n,r);o0;)a--;}0===i(t[n],s)?er(t,n,a):(a++,er(t,a,r)),a<=e&&(n=a+1),e<=a&&(r=a-1);}}function er(t,e,n){const r=t[e];t[e]=t[n],t[n]=r;}function nr(t,e){return te?1:0}function rr(t,e){if(t.length<=1)return [t];const n=[];let r,i;for(const e of t){const t=sr(e);0!==t&&(e.area=Math.abs(t),void 0===i&&(i=t<0),i===t<0?(r&&n.push(r),r=[e]):r.push(e));}if(r&&n.push(r),e>1)for(let t=0;t1?(l=t[a+1][0],u=t[a+1][1]):p>0&&(l+=c/this.kx*p,u+=h/this.ky*p)),c=this.wrap(e[0]-l)*this.kx,h=(e[1]-u)*this.ky;const f=c*c+h*h;f180;)t-=360;return t}}function cr(t,e){return e[0]-t[0]}function hr(t){return t[1]-t[0]+1}function pr(t,e){return t[1]>=t[0]&&t[1]t[1])return [null,null];const n=hr(t);if(e){if(2===n)return [t,null];const e=Math.floor(n/2);return [[t[0],t[0]+e],[t[0]+e,t[1]]]}if(1===n)return [t,null];const r=Math.floor(n/2)-1;return [[t[0],t[0]+r],[t[0]+r+1,t[1]]]}function dr(t,e){if(!pr(e,t.length))return [1/0,1/0,-1/0,-1/0];const n=[1/0,1/0,-1/0,-1/0];for(let r=e[0];r<=e[1];++r)Ln(n,t[r]);return n}function yr(t){const e=[1/0,1/0,-1/0,-1/0];for(const n of t)for(const t of n)Ln(e,t);return e}function mr(t){return t[0]!==-1/0&&t[1]!==-1/0&&t[2]!==1/0&&t[3]!==1/0}function gr(t,e,n){if(!mr(t)||!mr(e))return NaN;let r=0,i=0;return t[2]e[2]&&(r=t[0]-e[2]),t[1]>e[3]&&(i=t[1]-e[3]),t[3]=r)return r;if(On(i,s)){if(Ar(t,e))return 0}else if(Ar(e,t))return 0;let o=1/0;for(const r of t)for(let t=0,i=r.length,s=i-1;t0;){const i=o.pop();if(i[0]>=s)continue;const l=i[1],u=e?50:100;if(hr(l)<=u){if(!pr(l,t.length))return NaN;if(e){const e=Sr(t,l,n,r);if(isNaN(e)||0===e)return e;s=Math.min(s,e);}else for(let e=l[0];e<=l[1];++e){const i=_r(t[e],n,r);if(s=Math.min(s,i),0===s)return 0}}else {const n=fr(l,e);kr(o,s,r,t,a,n[0]),kr(o,s,r,t,a,n[1]);}}return s}function Tr(t,e,n,r,i,s=1/0){let o=Math.min(s,i.distance(t[0],n[0]));if(0===o)return o;const a=new Qn([[0,[0,t.length-1],[0,n.length-1]]],cr);for(;a.length>0;){const s=a.pop();if(s[0]>=o)continue;const l=s[1],u=s[2],c=e?50:100,h=r?50:100;if(hr(l)<=c&&hr(u)<=h){if(!pr(l,t.length)&&pr(u,n.length))return NaN;let s;if(e&&r)s=br(t,l,n,u,i),o=Math.min(o,s);else if(e&&!r){const e=t.slice(l[0],l[1]+1);for(let t=u[0];t<=u[1];++t)if(s=xr(n[t],e,i),o=Math.min(o,s),0===o)return o}else if(!e&&r){const e=n.slice(u[0],u[1]+1);for(let n=l[0];n<=l[1];++n)if(s=xr(t[n],e,i),o=Math.min(o,s),0===o)return o}else s=wr(t,l,n,u,i),o=Math.min(o,s);}else {const s=fr(l,e),c=fr(u,r);Ir(a,o,i,t,n,s[0],c[0]),Ir(a,o,i,t,n,s[0],c[1]),Ir(a,o,i,t,n,s[1],c[0]),Ir(a,o,i,t,n,s[1],c[1]);}}return o}function Fr(t){return "MultiPolygon"===t.type?t.coordinates.map((t=>({type:"Polygon",coordinates:t}))):"MultiLineString"===t.type?t.coordinates.map((t=>({type:"LineString",coordinates:t}))):"MultiPoint"===t.type?t.coordinates.map((t=>({type:"Point",coordinates:t}))):[t]}class Pr{constructor(t,e){this.type=Ot,this.geojson=t,this.geometries=e;}static parse(t,e){if(2!==t.length)return e.error(`'distance' expression requires exactly one argument, but found ${t.length-1} instead.`);if(je(t[1])){const e=t[1];if("FeatureCollection"===e.type)return new Pr(e,e.features.map((t=>Fr(t.geometry))).flat());if("Feature"===e.type)return new Pr(e,Fr(e.geometry));if("type"in e&&"coordinates"in e)return new Pr(e,Fr(e))}return e.error("'distance' expression requires valid geojson object that contains polygon geometry type.")}evaluate(t){if(null!=t.geometry()&&null!=t.canonicalID()){if("Point"===t.geometryType())return function(t,e){const n=t.geometry(),r=n.flat().map((e=>Vn([e.x,e.y],t.canonical)));if(0===n.length)return NaN;const i=new ur(r[0][1]);let s=1/0;for(const t of e){switch(t.type){case "Point":s=Math.min(s,Tr(r,!1,[t.coordinates],!1,i,s));break;case "LineString":s=Math.min(s,Tr(r,!1,t.coordinates,!0,i,s));break;case "Polygon":s=Math.min(s,Er(r,!1,t.coordinates,i,s));}if(0===s)return s}return s}(t,this.geometries);if("LineString"===t.geometryType())return function(t,e){const n=t.geometry(),r=n.flat().map((e=>Vn([e.x,e.y],t.canonical)));if(0===n.length)return NaN;const i=new ur(r[0][1]);let s=1/0;for(const t of e){switch(t.type){case "Point":s=Math.min(s,Tr(r,!0,[t.coordinates],!1,i,s));break;case "LineString":s=Math.min(s,Tr(r,!0,t.coordinates,!0,i,s));break;case "Polygon":s=Math.min(s,Er(r,!0,t.coordinates,i,s));}if(0===s)return s}return s}(t,this.geometries);if("Polygon"===t.geometryType())return function(t,e){const n=t.geometry();if(0===n.length||0===n[0].length)return NaN;const r=rr(n,0).map((e=>e.map((e=>e.map((e=>Vn([e.x,e.y],t.canonical))))))),i=new ur(r[0][0][0][1]);let s=1/0;for(const t of e)for(const e of r){switch(t.type){case "Point":s=Math.min(s,Er([t.coordinates],!1,e,i,s));break;case "LineString":s=Math.min(s,Er(t.coordinates,!0,e,i,s));break;case "Polygon":s=Math.min(s,Mr(e,t.coordinates,i,s));}if(0===s)return s}return s}(t,this.geometries)}return NaN}eachChild(){}outputDefined(){return !0}}class Dr{constructor(t){this.type=qt,this.key=t;}static parse(t,e){if(2!==t.length)return e.error(`Expected 1 argument, but found ${t.length-1} instead.`);const n=t[1];return null==n?e.error("Global state property must be defined."):"string"!=typeof n?e.error(`Global state property must be string, but found ${typeof t[1]} instead.`):new Dr(n)}evaluate(t){var e;const n=null===(e=t.globals)||void 0===e?void 0:e.globalState;return n&&0!==Object.keys(n).length?we(n,this.key):null}eachChild(){}outputDefined(){return !1}}const zr={"==":Sn,"!=":An,">":kn,"<":Mn,">=":En,"<=":In,array:Ze,at:nn,boolean:Ze,case:an,coalesce:vn,collator:Tn,format:Pn,image:Dn,in:rn,"index-of":sn,interpolate:mn,"interpolate-hcl":mn,"interpolate-lab":mn,length:zn,let:tn,literal:Xe,match:on,number:Ze,"number-format":Fn,object:Ze,slice:ln,step:cn,string:Ze,"to-boolean":We,"to-color":We,"to-number":We,"to-string":We,var:en,within:Jn,distance:Pr,"global-state":Dr};class Br{constructor(t,e,n,r){this.name=t,this.type=e,this._evaluate=n,this.args=r;}evaluate(t){return this._evaluate(t,this.args)}eachChild(t){this.args.forEach(t);}outputDefined(){return !1}static parse(t,e){const n=t[0],r=Br.definitions[n];if(!r)return e.error(`Unknown expression "${n}". If you wanted a literal array, use ["literal", [...]].`,0);const i=Array.isArray(r)?r[0]:r.type,s=Array.isArray(r)?[[r[1],r[2]]]:r.overloads,o=s.filter((([e])=>!Array.isArray(e)||e.length===t.length-1));let a=null;for(const[r,s]of o){a=new Qe(e.registry,$r,e.path,null,e.scope);const o=[];let l=!1;for(let e=1;e{return e=t,Array.isArray(e)?`(${e.map(Qt).join(", ")})`:`(${Qt(e.type)}...)`;var e;})).join(" | "),r=[];for(let n=1;n{n=e?n&&$r(t):n&&t instanceof Xe;})),!!n&&Rr(t)&&Ur(t,["zoom","heatmap-density","elevation","line-progress","accumulated","is-supported-script"])}function Rr(t){if(t instanceof Br){if("get"===t.name&&1===t.args.length)return !1;if("feature-state"===t.name)return !1;if("has"===t.name&&1===t.args.length)return !1;if("properties"===t.name||"geometry-type"===t.name||"id"===t.name)return !1;if(/^filter-/.test(t.name))return !1}if(t instanceof Jn)return !1;if(t instanceof Pr)return !1;let e=!0;return t.eachChild((t=>{e&&!Rr(t)&&(e=!1);})),e}function Nr(t){if(t instanceof Br&&"feature-state"===t.name)return !1;let e=!0;return t.eachChild((t=>{e&&!Nr(t)&&(e=!1);})),e}function Ur(t,e){if(t instanceof Br&&e.indexOf(t.name)>=0)return !1;let n=!0;return t.eachChild((t=>{n&&!Ur(t,e)&&(n=!1);})),n}function jr(t){return {result:"success",value:t}}function qr(t){return {result:"error",value:t}}function Gr(t){return "data-driven"===t["property-type"]||"cross-faded-data-driven"===t["property-type"]}function Xr(t){return !!t.expression&&t.expression.parameters.indexOf("zoom")>-1}function Yr(t){return !!t.expression&&t.expression.interpolated}function Zr(t){return t instanceof Number?"number":t instanceof String?"string":t instanceof Boolean?"boolean":Array.isArray(t)?"array":null===t?"null":typeof t}function Hr(t){return "object"==typeof t&&null!==t&&!Array.isArray(t)&&qe(t)===jt}function Wr(t){return t}function Kr(t,e){const n=t.stops&&"object"==typeof t.stops[0][0],r=n||!(n||void 0!==t.property),i=t.type||(Yr(e)?"exponential":"interval"),s=function(t){switch(t.type){case "color":return Te.parse;case "padding":return Be.parse;case "numberArray":return Ce.parse;case "colorArray":return Ve.parse;default:return null}}(e);if(s&&((t=Bt({},t)).stops&&(t.stops=t.stops.map((t=>[t[0],s(t[1])]))),t.default=s(t.default?t.default:e.default)),t.colorSpace&&"rgb"!==(o=t.colorSpace)&&"hcl"!==o&&"lab"!==o)throw new Error(`Unknown color space: "${t.colorSpace}"`);var o;const a=function(t){switch(t){case "exponential":return ei;case "interval":return ti;case "categorical":return Qr;case "identity":return ni;default:throw new Error(`Unknown function type "${t}"`)}}(i);let l,u;if("categorical"===i){l=Object.create(null);for(const e of t.stops)l[e[0]]=e[1];u=typeof t.stops[0][0];}if(n){const n={},r=[];for(let e=0;et[0])),evaluate:({zoom:n},r)=>ei({stops:i,base:t.base},e,n).evaluate(n,r)}}if(r){const n="exponential"===i?{name:"exponential",base:void 0!==t.base?t.base:1}:null;return {kind:"camera",interpolationType:n,interpolationFactor:mn.interpolationFactor.bind(void 0,n),zoomStops:t.stops.map((t=>t[0])),evaluate:({zoom:n})=>a(t,e,n,l,u)}}return {kind:"source",evaluate(n,r){const i=r&&r.properties?r.properties[t.property]:void 0;return void 0===i?Jr(t.default,e.default):a(t,e,i,l,u)}}}function Jr(t,e,n){return void 0!==t?t:void 0!==e?e:void 0!==n?n:void 0}function Qr(t,e,n,r,i){return Jr(typeof n===i?r[n]:void 0,t.default,e.default)}function ti(t,e,n){if("number"!==Zr(n))return Jr(t.default,e.default);const r=t.stops.length;if(1===r)return t.stops[0][1];if(n<=t.stops[0][0])return t.stops[0][1];if(n>=t.stops[r-1][0])return t.stops[r-1][1];const i=un(t.stops.map((t=>t[0])),n);return t.stops[i][1]}function ei(t,e,n){const r=void 0!==t.base?t.base:1;if("number"!==Zr(n))return Jr(t.default,e.default);const i=t.stops.length;if(1===i)return t.stops[0][1];if(n<=t.stops[0][0])return t.stops[0][1];if(n>=t.stops[i-1][0])return t.stops[i-1][1];const s=un(t.stops.map((t=>t[0])),n),o=function(t,e,n,r){const i=r-n,s=t-n;return 0===i?0:1===e?s/i:(Math.pow(e,s)-1)/(Math.pow(e,i)-1)}(n,r,t.stops[s][0],t.stops[s+1][0]),a=t.stops[s][1],l=t.stops[s+1][1],u=xn[e.type]||Wr;return "function"==typeof a.evaluate?{evaluate(...e){const n=a.evaluate.apply(void 0,e),r=l.evaluate.apply(void 0,e);if(void 0!==n&&void 0!==r)return u(n,r,o,t.colorSpace)}}:u(a,l,o,t.colorSpace)}function ni(t,e,n){switch(e.type){case "color":n=Te.parse(n);break;case "formatted":n=ze.fromString(n.toString());break;case "resolvedImage":n=Re.fromString(n.toString());break;case "padding":n=Be.parse(n);break;case "colorArray":n=Ve.parse(n);break;case "numberArray":n=Ce.parse(n);break;default:Zr(n)===e.type||"enum"===e.type&&e.values[n]||(n=void 0);}return Jr(n,t.default,e.default)}Br.register(zr,{error:[{kind:"error"},[$t],(t,[e])=>{throw new Le(e.evaluate(t))}],typeof:[$t,[qt],(t,[e])=>Qt(qe(e.evaluate(t)))],"to-rgba":[Jt(Ot,4),[Nt],(t,[e])=>{const[n,r,i,s]=e.evaluate(t).rgb;return [255*n,255*r,255*i,s]}],rgb:[Nt,[Ot,Ot,Ot],Cr],rgba:[Nt,[Ot,Ot,Ot,Ot],Cr],has:{type:Rt,overloads:[[[$t],(t,[e])=>Vr(e.evaluate(t),t.properties())],[[$t,jt],(t,[e,n])=>Vr(e.evaluate(t),n.evaluate(t))]]},get:{type:qt,overloads:[[[$t],(t,[e])=>Lr(e.evaluate(t),t.properties())],[[$t,jt],(t,[e,n])=>Lr(e.evaluate(t),n.evaluate(t))]]},"feature-state":[qt,[$t],(t,[e])=>Lr(e.evaluate(t),t.featureState||{})],properties:[jt,[],t=>t.properties()],"geometry-type":[$t,[],t=>t.geometryType()],id:[qt,[],t=>t.id()],zoom:[Ot,[],t=>t.globals.zoom],"heatmap-density":[Ot,[],t=>t.globals.heatmapDensity||0],elevation:[Ot,[],t=>t.globals.elevation||0],"line-progress":[Ot,[],t=>t.globals.lineProgress||0],accumulated:[qt,[],t=>void 0===t.globals.accumulated?null:t.globals.accumulated],"+":[Ot,Or(Ot),(t,e)=>{let n=0;for(const r of e)n+=r.evaluate(t);return n}],"*":[Ot,Or(Ot),(t,e)=>{let n=1;for(const r of e)n*=r.evaluate(t);return n}],"-":{type:Ot,overloads:[[[Ot,Ot],(t,[e,n])=>e.evaluate(t)-n.evaluate(t)],[[Ot],(t,[e])=>-e.evaluate(t)]]},"/":[Ot,[Ot,Ot],(t,[e,n])=>e.evaluate(t)/n.evaluate(t)],"%":[Ot,[Ot,Ot],(t,[e,n])=>e.evaluate(t)%n.evaluate(t)],ln2:[Ot,[],()=>Math.LN2],pi:[Ot,[],()=>Math.PI],e:[Ot,[],()=>Math.E],"^":[Ot,[Ot,Ot],(t,[e,n])=>Math.pow(e.evaluate(t),n.evaluate(t))],sqrt:[Ot,[Ot],(t,[e])=>Math.sqrt(e.evaluate(t))],log10:[Ot,[Ot],(t,[e])=>Math.log(e.evaluate(t))/Math.LN10],ln:[Ot,[Ot],(t,[e])=>Math.log(e.evaluate(t))],log2:[Ot,[Ot],(t,[e])=>Math.log(e.evaluate(t))/Math.LN2],sin:[Ot,[Ot],(t,[e])=>Math.sin(e.evaluate(t))],cos:[Ot,[Ot],(t,[e])=>Math.cos(e.evaluate(t))],tan:[Ot,[Ot],(t,[e])=>Math.tan(e.evaluate(t))],asin:[Ot,[Ot],(t,[e])=>Math.asin(e.evaluate(t))],acos:[Ot,[Ot],(t,[e])=>Math.acos(e.evaluate(t))],atan:[Ot,[Ot],(t,[e])=>Math.atan(e.evaluate(t))],min:[Ot,Or(Ot),(t,e)=>Math.min(...e.map((e=>e.evaluate(t))))],max:[Ot,Or(Ot),(t,e)=>Math.max(...e.map((e=>e.evaluate(t))))],abs:[Ot,[Ot],(t,[e])=>Math.abs(e.evaluate(t))],round:[Ot,[Ot],(t,[e])=>{const n=e.evaluate(t);return n<0?-Math.round(-n):Math.round(n)}],floor:[Ot,[Ot],(t,[e])=>Math.floor(e.evaluate(t))],ceil:[Ot,[Ot],(t,[e])=>Math.ceil(e.evaluate(t))],"filter-==":[Rt,[$t,qt],(t,[e,n])=>t.properties()[e.value]===n.value],"filter-id-==":[Rt,[qt],(t,[e])=>t.id()===e.value],"filter-type-==":[Rt,[$t],(t,[e])=>t.geometryType()===e.value],"filter-<":[Rt,[$t,qt],(t,[e,n])=>{const r=t.properties()[e.value],i=n.value;return typeof r==typeof i&&r{const n=t.id(),r=e.value;return typeof n==typeof r&&n":[Rt,[$t,qt],(t,[e,n])=>{const r=t.properties()[e.value],i=n.value;return typeof r==typeof i&&r>i}],"filter-id->":[Rt,[qt],(t,[e])=>{const n=t.id(),r=e.value;return typeof n==typeof r&&n>r}],"filter-<=":[Rt,[$t,qt],(t,[e,n])=>{const r=t.properties()[e.value],i=n.value;return typeof r==typeof i&&r<=i}],"filter-id-<=":[Rt,[qt],(t,[e])=>{const n=t.id(),r=e.value;return typeof n==typeof r&&n<=r}],"filter->=":[Rt,[$t,qt],(t,[e,n])=>{const r=t.properties()[e.value],i=n.value;return typeof r==typeof i&&r>=i}],"filter-id->=":[Rt,[qt],(t,[e])=>{const n=t.id(),r=e.value;return typeof n==typeof r&&n>=r}],"filter-has":[Rt,[qt],(t,[e])=>e.value in t.properties()],"filter-has-id":[Rt,[],t=>null!==t.id()&&void 0!==t.id()],"filter-type-in":[Rt,[Jt($t)],(t,[e])=>e.value.indexOf(t.geometryType())>=0],"filter-id-in":[Rt,[Jt(qt)],(t,[e])=>e.value.indexOf(t.id())>=0],"filter-in-small":[Rt,[$t,Jt(qt)],(t,[e,n])=>n.value.indexOf(t.properties()[e.value])>=0],"filter-in-large":[Rt,[$t,Jt(qt)],(t,[e,n])=>function(t,e,n,r){for(;n<=r;){const i=n+r>>1;if(e[i]===t)return !0;e[i]>t?r=i-1:n=i+1;}return !1}(t.properties()[e.value],n.value,0,n.value.length-1)],all:{type:Rt,overloads:[[[Rt,Rt],(t,[e,n])=>e.evaluate(t)&&n.evaluate(t)],[Or(Rt),(t,e)=>{for(const n of e)if(!n.evaluate(t))return !1;return !0}]]},any:{type:Rt,overloads:[[[Rt,Rt],(t,[e,n])=>e.evaluate(t)||n.evaluate(t)],[Or(Rt),(t,e)=>{for(const n of e)if(n.evaluate(t))return !0;return !1}]]},"!":[Rt,[Rt],(t,[e])=>!e.evaluate(t)],"is-supported-script":[Rt,[$t],(t,[e])=>{const n=t.globals&&t.globals.isSupportedScript;return !n||n(e.evaluate(t))}],upcase:[$t,[$t],(t,[e])=>e.evaluate(t).toUpperCase()],downcase:[$t,[$t],(t,[e])=>e.evaluate(t).toLowerCase()],concat:[$t,Or(qt),(t,e)=>e.map((e=>Ge(e.evaluate(t)))).join("")],split:[Jt($t),[$t,$t],(t,[e,n])=>e.evaluate(t).split(n.evaluate(t))],join:[$t,[Jt($t),$t],(t,[e,n])=>e.evaluate(t).join(n.evaluate(t))],"resolved-locale":[$t,[Gt],(t,[e])=>e.evaluate(t).resolvedLocale()]});class ri{constructor(t,e,n){this.expression=t,this._warningHistory={},this._evaluator=new Je,this._defaultValue=e?function(t){if("color"===t.type&&Hr(t.default))return new Te(0,0,0,0);switch(t.type){case "color":return Te.parse(t.default)||null;case "padding":return Be.parse(t.default)||null;case "numberArray":return Ce.parse(t.default)||null;case "colorArray":return Ve.parse(t.default)||null;case "variableAnchorOffsetCollection":return $e.parse(t.default)||null;case "projectionDefinition":return Ne.parse(t.default)||null;default:return void 0===t.default?null:t.default}}(e):null,this._enumValues=e&&"enum"===e.type?e.values:null,this._globalState=n;}evaluateWithoutErrorHandling(t,e,n,r,i,s){return this._globalState&&(t=pi(t,this._globalState)),this._evaluator.globals=t,this._evaluator.feature=e,this._evaluator.featureState=n,this._evaluator.canonical=r,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=s,this.expression.evaluate(this._evaluator)}evaluate(t,e,n,r,i,s){this._globalState&&(t=pi(t,this._globalState)),this._evaluator.globals=t,this._evaluator.feature=e||null,this._evaluator.featureState=n||null,this._evaluator.canonical=r,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=s||null;try{const t=this.expression.evaluate(this._evaluator);if(null==t||"number"==typeof t&&t!=t)return this._defaultValue;if(this._enumValues&&!(t in this._enumValues))throw new Le(`Expected value to be one of ${Object.keys(this._enumValues).map((t=>JSON.stringify(t))).join(", ")}, but found ${JSON.stringify(t)} instead.`);return t}catch(t){return this._warningHistory[t.message]||(this._warningHistory[t.message]=!0,"undefined"!=typeof console&&console.warn(t.message)),this._defaultValue}}}function ii(t){return Array.isArray(t)&&t.length>0&&"string"==typeof t[0]&&t[0]in zr}function si(t,e,n){const r=new Qe(zr,$r,[],e?function(t){const e={color:Nt,string:$t,number:Ot,enum:$t,boolean:Rt,formatted:Xt,padding:Yt,numberArray:Ht,colorArray:Zt,projectionDefinition:Ut,resolvedImage:Wt,variableAnchorOffsetCollection:Kt};return "array"===t.type?Jt(e[t.value]||qt,t.length):e[t.type]}(e):void 0),i=r.parse(t,void 0,void 0,void 0,e&&"string"===e.type?{typeAnnotation:"coerce"}:void 0);return i?jr(new ri(i,e,n)):qr(r.errors)}class oi{constructor(t,e,n){this.kind=t,this._styleExpression=e,this.isStateDependent="constant"!==t&&!Nr(e.expression),this.globalStateRefs=hi(e.expression),this._globalState=n;}evaluateWithoutErrorHandling(t,e,n,r,i,s){return this._globalState&&(t=pi(t,this._globalState)),this._styleExpression.evaluateWithoutErrorHandling(t,e,n,r,i,s)}evaluate(t,e,n,r,i,s){return this._globalState&&(t=pi(t,this._globalState)),this._styleExpression.evaluate(t,e,n,r,i,s)}}class ai{constructor(t,e,n,r,i){this.kind=t,this.zoomStops=n,this._styleExpression=e,this.isStateDependent="camera"!==t&&!Nr(e.expression),this.globalStateRefs=hi(e.expression),this.interpolationType=r,this._globalState=i;}evaluateWithoutErrorHandling(t,e,n,r,i,s){return this._globalState&&(t=pi(t,this._globalState)),this._styleExpression.evaluateWithoutErrorHandling(t,e,n,r,i,s)}evaluate(t,e,n,r,i,s){return this._globalState&&(t=pi(t,this._globalState)),this._styleExpression.evaluate(t,e,n,r,i,s)}interpolationFactor(t,e,n){return this.interpolationType?mn.interpolationFactor(this.interpolationType,t,e,n):0}}function li(t,e,n){const r=si(t,e,n);if("error"===r.result)return r;const i=r.value.expression,s=Rr(i);if(!s&&!Gr(e))return qr([new Ct("","data expressions not supported")]);const o=Ur(i,["zoom"]);if(!o&&!Xr(e))return qr([new Ct("","zoom expressions not supported")]);const a=ci(i);return a||o?a instanceof Ct?qr([a]):a instanceof mn&&!Yr(e)?qr([new Ct("",'"interpolate" expressions cannot be used with this property')]):jr(a?new ai(s?"camera":"composite",r.value,a.labels,a instanceof mn?a.interpolation:void 0,n):new oi(s?"constant":"source",r.value,n)):qr([new Ct("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')])}class ui{constructor(t,e){this._parameters=t,this._specification=e,Bt(this,Kr(this._parameters,this._specification));}static deserialize(t){return new ui(t._parameters,t._specification)}static serialize(t){return {_parameters:t._parameters,_specification:t._specification}}}function ci(t){let e=null;if(t instanceof tn)e=ci(t.result);else if(t instanceof vn){for(const n of t.args)if(e=ci(n),e)break}else (t instanceof cn||t instanceof mn)&&t.input instanceof Br&&"zoom"===t.input.name&&(e=t);return e instanceof Ct||t.eachChild((t=>{const n=ci(t);n instanceof Ct?e=n:!e&&n?e=new Ct("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):e&&n&&e!==n&&(e=new Ct("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'));})),e}function hi(t,e=new Set){return t instanceof Dr&&e.add(t.key),t.eachChild((t=>{hi(t,e);})),e}function pi(t,e){const{zoom:n,heatmapDensity:r,elevation:i,lineProgress:s,isSupportedScript:o,accumulated:a}=null!=t?t:{};return {zoom:n,heatmapDensity:r,elevation:i,lineProgress:s,isSupportedScript:o,accumulated:a,globalState:e}}function fi(t){if(!0===t||!1===t)return !0;if(!Array.isArray(t)||0===t.length)return !1;switch(t[0]){case "has":return t.length>=2&&"$id"!==t[1]&&"$type"!==t[1];case "in":return t.length>=3&&("string"!=typeof t[1]||Array.isArray(t[2]));case "!in":case "!has":case "none":return !1;case "==":case "!=":case ">":case ">=":case "<":case "<=":return 3!==t.length||Array.isArray(t[1])||Array.isArray(t[2]);case "any":case "all":for(const e of t.slice(1))if(!fi(e)&&"boolean"!=typeof e)return !1;return !0;default:return !0}}const di={type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}};function yi(t,e){if(null==t)return {filter:()=>!0,needGeometry:!1,getGlobalStateRefs:()=>new Set};fi(t)||(t=xi(t));const n=si(t,di,e);if("error"===n.result)throw new Error(n.value.map((t=>`${t.key}: ${t.message}`)).join(", "));return {filter:(t,e,r)=>n.value.evaluate(t,e,{},r),needGeometry:gi(t),getGlobalStateRefs:()=>hi(n.value.expression)}}function mi(t,e){return te?1:0}function gi(t){if(!Array.isArray(t))return !1;if("within"===t[0]||"distance"===t[0])return !0;for(let e=1;e"===e||"<="===e||">="===e?vi(t[1],t[2],e):"any"===e?(n=t.slice(1),["any"].concat(n.map(xi))):"all"===e?["all"].concat(t.slice(1).map(xi)):"none"===e?["all"].concat(t.slice(1).map(xi).map(_i)):"in"===e?bi(t[1],t.slice(2)):"!in"===e?_i(bi(t[1],t.slice(2))):"has"===e?wi(t[1]):"!has"!==e||_i(wi(t[1]));var n;}function vi(t,e,n){switch(t){case "$type":return [`filter-type-${n}`,e];case "$id":return [`filter-id-${n}`,e];default:return [`filter-${n}`,t,e]}}function bi(t,e){if(0===e.length)return !1;switch(t){case "$type":return ["filter-type-in",["literal",e]];case "$id":return ["filter-id-in",["literal",e]];default:return e.length>200&&!e.some((t=>typeof t!=typeof e[0]))?["filter-in-large",t,["literal",e.sort(mi)]]:["filter-in-small",t,["literal",e]]}}function wi(t){switch(t){case "$type":return !0;case "$id":return ["filter-has-id"];default:return ["filter-has",t]}}function _i(t){return ["!",t]}function Si(t){const e=typeof t;if("number"===e||"boolean"===e||"string"===e||null==t)return JSON.stringify(t);if(Array.isArray(t)){let e="[";for(const n of t)e+=`${Si(n)},`;return `${e}]`}const n=Object.keys(t).sort();let r="{";for(let e=0;er.maximum?[new zt(e,n,`${n} is greater than the maximum value ${r.maximum}`)]:[]}function Pi(t){const e=t.valueSpec,n=ki(t.value.type);let r,i,s,o={};const a="categorical"!==n&&void 0===t.value.property,l=!a,u="array"===Zr(t.value.stops)&&"array"===Zr(t.value.stops[0])&&"object"===Zr(t.value.stops[0][0]),c=Ei({key:t.key,value:t.value,valueSpec:t.styleSpec.function,validateSpec:t.validateSpec,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{stops:function(t){if("identity"===n)return [new zt(t.key,t.value,'identity function may not have a "stops" property')];let e=[];const r=t.value;return e=e.concat(Ti({key:t.key,value:r,valueSpec:t.valueSpec,validateSpec:t.validateSpec,style:t.style,styleSpec:t.styleSpec,arrayElementValidator:h})),"array"===Zr(r)&&0===r.length&&e.push(new zt(t.key,r,"array must have at least one stop")),e},default:function(t){return t.validateSpec({key:t.key,value:t.value,valueSpec:e,validateSpec:t.validateSpec,style:t.style,styleSpec:t.styleSpec})}}});return "identity"===n&&a&&c.push(new zt(t.key,t.value,'missing required property "property"')),"identity"===n||t.value.stops||c.push(new zt(t.key,t.value,'missing required property "stops"')),"exponential"===n&&t.valueSpec.expression&&!Yr(t.valueSpec)&&c.push(new zt(t.key,t.value,"exponential functions not supported")),t.styleSpec.$version>=8&&(l&&!Gr(t.valueSpec)?c.push(new zt(t.key,t.value,"property functions not supported")):a&&!Xr(t.valueSpec)&&c.push(new zt(t.key,t.value,"zoom functions not supported"))),"categorical"!==n&&!u||void 0!==t.value.property||c.push(new zt(t.key,t.value,'"property" property is required')),c;function h(t){let n=[];const r=t.value,a=t.key;if("array"!==Zr(r))return [new zt(a,r,`array expected, ${Zr(r)} found`)];if(2!==r.length)return [new zt(a,r,`array length 2 expected, length ${r.length} found`)];if(u){if("object"!==Zr(r[0]))return [new zt(a,r,`object expected, ${Zr(r[0])} found`)];if(void 0===r[0].zoom)return [new zt(a,r,"object stop key must have zoom")];if(void 0===r[0].value)return [new zt(a,r,"object stop key must have value")];if(s&&s>ki(r[0].zoom))return [new zt(a,r[0].zoom,"stop zoom values must appear in ascending order")];ki(r[0].zoom)!==s&&(s=ki(r[0].zoom),i=void 0,o={}),n=n.concat(Ei({key:`${a}[0]`,value:r[0],valueSpec:{zoom:{}},validateSpec:t.validateSpec,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{zoom:Fi,value:p}}));}else n=n.concat(p({key:`${a}[0]`,value:r[0],validateSpec:t.validateSpec,style:t.style,styleSpec:t.styleSpec},r));return ii(Ii(r[1]))?n.concat([new zt(`${a}[1]`,r[1],"expressions are not allowed in function stops.")]):n.concat(t.validateSpec({key:`${a}[1]`,value:r[1],valueSpec:e,validateSpec:t.validateSpec,style:t.style,styleSpec:t.styleSpec}))}function p(t,s){const a=Zr(t.value),l=ki(t.value),u=null!==t.value?t.value:s;if(r){if(a!==r)return [new zt(t.key,u,`${a} stop domain type must match previous stop domain type ${r}`)]}else r=a;if("number"!==a&&"string"!==a&&"boolean"!==a)return [new zt(t.key,u,"stop domain value must be a number, string, or boolean")];if("number"!==a&&"categorical"!==n){let r=`number expected, ${a} found`;return Gr(e)&&void 0===n&&(r+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new zt(t.key,u,r)]}return "categorical"!==n||"number"!==a||isFinite(l)&&Math.floor(l)===l?"categorical"!==n&&"number"===a&&void 0!==i&&lnew zt(`${t.key}${e.key}`,t.value,e.message)));const n=e.value.expression||e.value._styleExpression.expression;if("property"===t.expressionContext&&"text-font"===t.propertyKey&&!n.outputDefined())return [new zt(t.key,t.value,`Invalid data expression for "${t.propertyKey}". Output values must be contained as literals within the expression.`)];if("property"===t.expressionContext&&"layout"===t.propertyType&&!Nr(n))return [new zt(t.key,t.value,'"feature-state" data expressions are not supported with layout properties.')];if("filter"===t.expressionContext&&!Nr(n))return [new zt(t.key,t.value,'"feature-state" data expressions are not supported with filters.')];if(t.expressionContext&&0===t.expressionContext.indexOf("cluster")){if(!Ur(n,["zoom","feature-state"]))return [new zt(t.key,t.value,'"zoom" and "feature-state" expressions are not supported with cluster properties.')];if("cluster-initial"===t.expressionContext&&!Rr(n))return [new zt(t.key,t.value,"Feature data expressions are not supported with initial expression part of cluster properties.")]}return []}function zi(t){const e=t.key,n=t.value,r=Zr(n);return "string"!==r?[new zt(e,n,`color expected, ${r} found`)]:Te.parse(String(n))?[]:[new zt(e,n,`color expected, "${n}" found`)]}function Bi(t){const e=t.key,n=t.value,r=t.valueSpec,i=[];return Array.isArray(r.values)?-1===r.values.indexOf(ki(n))&&i.push(new zt(e,n,`expected one of [${r.values.join(", ")}], ${JSON.stringify(n)} found`)):-1===Object.keys(r.values).indexOf(ki(n))&&i.push(new zt(e,n,`expected one of [${Object.keys(r.values).join(", ")}], ${JSON.stringify(n)} found`)),i}function Ci(t){return fi(Ii(t.value))?Di(Bt({},t,{expressionContext:"filter",valueSpec:{value:"boolean"}})):Vi(t)}function Vi(t){const e=t.value,n=t.key;if("array"!==Zr(e))return [new zt(n,e,`array expected, ${Zr(e)} found`)];const r=t.styleSpec;let i,s=[];if(e.length<1)return [new zt(n,e,"filter array must have at least 1 element")];switch(s=s.concat(Bi({key:`${n}[0]`,value:e[0],valueSpec:r.filter_operator,style:t.style,styleSpec:t.styleSpec})),ki(e[0])){case "<":case "<=":case ">":case ">=":e.length>=2&&"$type"===ki(e[1])&&s.push(new zt(n,e,`"$type" cannot be use with operator "${e[0]}"`));case "==":case "!=":3!==e.length&&s.push(new zt(n,e,`filter array for operator "${e[0]}" must have 3 elements`));case "in":case "!in":e.length>=2&&(i=Zr(e[1]),"string"!==i&&s.push(new zt(`${n}[1]`,e[1],`string expected, ${i} found`)));for(let o=2;o{t in i&&r.push(new zt(s,i[t],`"${t}" is prohibited for ref layers`));})),o.layers.forEach((e=>{ki(e.id)===u&&(t=e);})),t?t.ref?r.push(new zt(s,i.ref,"ref cannot reference another ref layer")):l=ki(t.type):r.push(new zt(s,i.ref,`ref layer "${u}" not found`));}else if("background"!==l)if(i.source){const t=o.sources&&o.sources[i.source],e=t&&ki(t.type);t?"vector"===e&&"raster"===l?r.push(new zt(s,i.source,`layer "${i.id}" requires a raster source`)):"raster-dem"!==e&&"hillshade"===l||"raster-dem"!==e&&"color-relief"===l?r.push(new zt(s,i.source,`layer "${i.id}" requires a raster-dem source`)):"raster"===e&&"raster"!==l?r.push(new zt(s,i.source,`layer "${i.id}" requires a vector source`)):"vector"!==e||i["source-layer"]?"raster-dem"===e&&"hillshade"!==l&&"color-relief"!==l?r.push(new zt(s,i.source,"raster-dem source can only be used with layer type 'hillshade' or 'color-relief'.")):"line"!==l||!i.paint||!i.paint["line-gradient"]||"geojson"===e&&t.lineMetrics||r.push(new zt(s,i,`layer "${i.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):r.push(new zt(s,i,`layer "${i.id}" must specify a "source-layer"`)):r.push(new zt(s,i.source,`source "${i.source}" not found`));}else r.push(new zt(s,i,'missing required property "source"'));return "raster"===l&&(null===(e=i.paint)||void 0===e?void 0:e.resampling)&&(null===(n=i.paint)||void 0===n?void 0:n["raster-resampling"])&&r.push(new zt(s,i.paint,`layer "${i.id}" redundantly specifies "resampling" and "raster-resampling" paint properties, but only one is allowed. It is advised to use "resampling".`)),r=r.concat(Ei({key:s,value:i,valueSpec:a.layer,style:t.style,styleSpec:t.styleSpec,validateSpec:t.validateSpec,objectElementValidators:{"*":()=>[],type:()=>t.validateSpec({key:`${s}.type`,value:i.type,valueSpec:a.layer.type,style:t.style,styleSpec:t.styleSpec,validateSpec:t.validateSpec,object:i,objectKey:"type"}),filter:Ci,layout:t=>Ei({layer:i,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,validateSpec:t.validateSpec,objectElementValidators:{"*":t=>$i(Bt({layerType:l},t))}}),paint:t=>Ei({layer:i,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,validateSpec:t.validateSpec,objectElementValidators:{"*":t=>Oi(Bt({layerType:l},t))}})}})),r}function Ni(t){const e=t.value,n=t.key,r=Zr(e);return "string"!==r?[new zt(n,e,`string expected, ${r} found`)]:[]}const Ui={promoteId:function({key:t,value:e}){if("string"===Zr(e))return Ni({key:t,value:e});{const n=[];for(const r in e)n.push(...Ni({key:`${t}.${r}`,value:e[r]}));return n}}};function ji(t){const e=t.value,n=t.key,r=t.styleSpec,i=t.style,s=t.validateSpec;if(!e.type)return [new zt(n,e,'"type" is required')];const o=ki(e.type);let a;switch(o){case "vector":case "raster":return a=Ei({key:n,value:e,valueSpec:r[`source_${o.replace("-","_")}`],style:t.style,styleSpec:r,objectElementValidators:Ui,validateSpec:s}),a;case "raster-dem":return a=function(t){var e;const n=null!==(e=t.sourceName)&&void 0!==e?e:"",r=t.value,i=t.styleSpec,s=i.source_raster_dem,o=t.style;let a=[];const l=Zr(r);if(void 0===r)return a;if("object"!==l)return a.push(new zt("source_raster_dem",r,`object expected, ${l} found`)),a;const u="custom"===ki(r.encoding),c=["redFactor","greenFactor","blueFactor","baseShift"],h=t.value.encoding?`"${t.value.encoding}"`:"Default";for(const e in r)!u&&c.includes(e)?a.push(new zt(e,r[e],`In "${n}": "${e}" is only valid when "encoding" is set to "custom". ${h} encoding found`)):s[e]?a=a.concat(t.validateSpec({key:e,value:r[e],valueSpec:s[e],validateSpec:t.validateSpec,style:o,styleSpec:i})):a.push(new zt(e,r[e],`unknown property "${e}"`));return a}({sourceName:n,value:e,style:t.style,styleSpec:r,validateSpec:s}),a;case "geojson":if(a=Ei({key:n,value:e,valueSpec:r.source_geojson,style:i,styleSpec:r,validateSpec:s,objectElementValidators:Ui}),e.cluster)for(const t in e.clusterProperties){const[r,i]=e.clusterProperties[t],s="string"==typeof r?[r,["accumulated"],["get",t]]:r;a.push(...Di({key:`${n}.${t}.map`,value:i,expressionContext:"cluster-map"})),a.push(...Di({key:`${n}.${t}.reduce`,value:s,expressionContext:"cluster-reduce"}));}return a;case "video":return Ei({key:n,value:e,valueSpec:r.source_video,style:i,validateSpec:s,styleSpec:r});case "image":return Ei({key:n,value:e,valueSpec:r.source_image,style:i,validateSpec:s,styleSpec:r});case "canvas":return [new zt(n,null,"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.","source.canvas")];default:return Bi({key:`${n}.type`,value:e.type,valueSpec:{values:["vector","raster","raster-dem","geojson","video","image"]}})}}function qi(t){const e=t.value,n=t.styleSpec,r=n.light,i=t.style;let s=[];const o=Zr(e);if(void 0===e)return s;if("object"!==o)return s=s.concat([new zt("light",e,`object expected, ${o} found`)]),s;for(const o in e){const a=o.match(/^(.*)-transition$/);s=s.concat(a&&r[a[1]]&&r[a[1]].transition?t.validateSpec({key:o,value:e[o],valueSpec:n.transition,validateSpec:t.validateSpec,style:i,styleSpec:n}):r[o]?t.validateSpec({key:o,value:e[o],valueSpec:r[o],validateSpec:t.validateSpec,style:i,styleSpec:n}):[new zt(o,e[o],`unknown property "${o}"`)]);}return s}function Gi(t){const e=t.value,n=t.styleSpec,r=n.sky,i=t.style,s=Zr(e);if(void 0===e)return [];if("object"!==s)return [new zt("sky",e,`object expected, ${s} found`)];let o=[];for(const s in e)o=o.concat(r[s]?t.validateSpec({key:s,value:e[s],valueSpec:r[s],style:i,styleSpec:n}):[new zt(s,e[s],`unknown property "${s}"`)]);return o}function Xi(t){const e=t.value,n=t.styleSpec,r=n.terrain,i=t.style;let s=[];const o=Zr(e);if(void 0===e)return s;if("object"!==o)return s=s.concat([new zt("terrain",e,`object expected, ${o} found`)]),s;for(const o in e)s=s.concat(r[o]?t.validateSpec({key:o,value:e[o],valueSpec:r[o],validateSpec:t.validateSpec,style:i,styleSpec:n}):[new zt(o,e[o],`unknown property "${o}"`)]);return s}function Yi(t){let e=[];const n=t.value,r=t.key;if(Array.isArray(n)){const i=[],s=[];for(const o in n)n[o].id&&i.includes(n[o].id)&&e.push(new zt(r,n,`all the sprites' ids must be unique, but ${n[o].id} is duplicated`)),i.push(n[o].id),n[o].url&&s.includes(n[o].url)&&e.push(new zt(r,n,`all the sprites' URLs must be unique, but ${n[o].url} is duplicated`)),s.push(n[o].url),e=e.concat(Ei({key:`${r}[${o}]`,value:n[o],valueSpec:{id:{type:"string",required:!0},url:{type:"string",required:!0}},validateSpec:t.validateSpec}));return e}return Ni({key:r,value:n})}function Zi(t){return Boolean(t)&&t.constructor===Object}function Hi(t){return Zi(t.value)?[]:[new zt(t.key,t.value,`object expected, ${Zr(t.value)} found`)]}const Wi={"*":()=>[],array:Ti,boolean:function(t){const e=t.value,n=t.key,r=Zr(e);return "boolean"!==r?[new zt(n,e,`boolean expected, ${r} found`)]:[]},number:Fi,color:zi,constants:Mi,enum:Bi,filter:Ci,function:Pi,layer:Ri,object:Ei,source:ji,light:qi,sky:Gi,terrain:Xi,projection:function(t){const e=t.value,n=t.styleSpec,r=n.projection,i=t.style,s=Zr(e);if(void 0===e)return [];if("object"!==s)return [new zt("projection",e,`object expected, ${s} found`)];let o=[];for(const s in e)o=o.concat(r[s]?t.validateSpec({key:s,value:e[s],valueSpec:r[s],style:i,styleSpec:n}):[new zt(s,e[s],`unknown property "${s}"`)]);return o},projectionDefinition:function(t){const e=t.key;let n=t.value;n=n instanceof String?n.valueOf():n;const r=Zr(n);return "array"!==r||function(t){return Array.isArray(t)&&3===t.length&&"string"==typeof t[0]&&"string"==typeof t[1]&&"number"==typeof t[2]}(n)||function(t){return !!["interpolate","step","literal"].includes(t[0])}(n)?["array","string"].includes(r)?[]:[new zt(e,n,`projection expected, invalid type "${r}" found`)]:[new zt(e,n,`projection expected, invalid array ${JSON.stringify(n)} found`)]},string:Ni,formatted:function(t){return 0===Ni(t).length?[]:Di(t)},resolvedImage:function(t){return 0===Ni(t).length?[]:Di(t)},padding:function(t){const e=t.key,n=t.value;if("array"===Zr(n)){if(n.length<1||n.length>4)return [new zt(e,n,`padding requires 1 to 4 values; ${n.length} values found`)];const r={type:"number"};let i=[];for(let s=0;s[]}})),t.constants&&(n=n.concat(Mi({key:"constants",value:t.constants}))),es(n)}function ts(t){return function(e){return t(Object.assign({},e,{validateSpec:Ki}))}}function es(t){return [].concat(t).sort(((t,e)=>t.line-e.line))}function ns(t){return function(...e){return es(t.apply(this,e))}}Qi.source=ns(ts(ji)),Qi.sprite=ns(ts(Yi)),Qi.glyphs=ns(ts(Ji)),Qi.light=ns(ts(qi)),Qi.sky=ns(ts(Gi)),Qi.terrain=ns(ts(Xi)),Qi.state=ns(ts(Hi)),Qi.layer=ns(ts(Ri)),Qi.filter=ns(ts(Ci)),Qi.paintProperty=ns(ts(Oi)),Qi.layoutProperty=ns(ts($i));const rs={type:"enum","property-type":"data-constant",expression:{interpolated:!1,parameters:["global-state"]},values:{visible:{},none:{}},transition:!1,default:"visible"};class is{constructor(t,e){this._globalState=e,this.setValue(t);}evaluate(){var t;return null!==(t=this._literalValue)&&void 0!==t?t:this._compiledValue.evaluate({})}setValue(t){if(null==t||"visible"===t||"none"===t)return this._literalValue="none"===t?"none":"visible",this._compiledValue=void 0,void(this._globalStateRefs=new Set);const e=si(t,rs,this._globalState);if("error"===e.result)throw this._literalValue="visible",this._compiledValue=void 0,new Error(e.value.map((t=>`${t.key}: ${t.message}`)).join(", "));this._literalValue=void 0,this._compiledValue=e.value,this._globalStateRefs=hi(e.value.expression);}getGlobalStateRefs(){return this._globalStateRefs}}const ss=wt,os=Qi,as=os.light,ls=os.sky,us=os.paintProperty,cs=os.layoutProperty;function hs(t,e){let n=!1;if(null==e?void 0:e.length)for(const r of e)t.fire(new vt(new Error(r.message))),n=!0;return n}class ps{constructor(t,e,n){const r=this.cells=[];if(t instanceof ArrayBuffer){this.arrayBuffer=t;const i=new Int32Array(this.arrayBuffer);t=i[0],this.d=(e=i[1])+2*(n=i[2]);for(let t=0;t=u[l+0]&&r>=u[l+1])?(o[c]=!0,s.push(i[c])):o[c]=!1;}}}_forEachCell(t,e,n,r,i,s,o,a){const l=this._convertToCellCoord(t),u=this._convertToCellCoord(e),c=this._convertToCellCoord(n),h=this._convertToCellCoord(r);for(let p=l;p<=c;p++)for(let l=u;l<=h;l++){const u=this.d*l+p;if((!a||a(this._convertFromCellCoord(p),this._convertFromCellCoord(l),this._convertFromCellCoord(p+1),this._convertFromCellCoord(l+1)))&&i.call(this,t,e,n,r,u,s,o,a))return}}_convertFromCellCoord(t){return (t-this.padding)/this.scale}_convertToCellCoord(t){return Math.max(0,Math.min(this.d-1,Math.floor(t*this.scale)+this.padding))}toArrayBuffer(){if(this.arrayBuffer)return this.arrayBuffer;const t=this.cells,e=3+this.cells.length+1+1;let n=0;for(const t of this.cells)n+=t.length;const r=new Int32Array(e+n+this.keys.length+this.bboxes.length);r[0]=this.extent,r[1]=this.n,r[2]=this.padding;let i=e;for(let e=0;en?(this.lastIntegerZoom=n+1,this.lastIntegerZoomTime=e):this.lastFloorZoom{try{return new RegExp(`\\p{sc=${t}}`,"u").source}catch(t){return null}})).filter((t=>t));return new RegExp(e.join("|"),"u")}const Is=ks(["Arab","Dupl","Mong","Ougr","Syrc"]);function Es(t){return !Is.test(String.fromCodePoint(t))}function Ts(t){return !(_s(t)||(e=t,/[\xA7\xA9\xAE\xB1\xBC-\xBE\xD7\xF7\u2016\u2020\u2021\u2030\u2031\u203B\u203C\u2042\u2047-\u2049\u2051\u2100-\u218F\u221E\u2234\u2235\u2300-\u2307\u230C-\u231F\u2324-\u2328\u232B\u237D-\u239A\u23BE-\u23CD\u23CF\u23D1-\u23DB\u23E2-\u2422\u2424-\u24FF\u25A0-\u2619\u2620-\u2767\u2776-\u2793\u2B12-\u2B2F\u2B50-\u2B59\u2BB8-\u2BEB\u3000-\u303F\u30A0-\u30FF\uE000-\uF8FF\uFE30-\uFE6F\uFF00-\uFFEF\uFFFC\uFFFD]|[\uDB80-\uDBFF][\uDC00-\uDFFF]/gim.test(String.fromCodePoint(e))));var e;}const Fs=ks(["Adlm","Arab","Armi","Avst","Chrs","Cprt","Egyp","Elym","Gara","Hatr","Hebr","Hung","Khar","Lydi","Mand","Mani","Mend","Merc","Mero","Narb","Nbat","Nkoo","Orkh","Palm","Phli","Phlp","Phnx","Prti","Rohg","Samr","Sarb","Sogo","Syrc","Thaa","Todr","Yezi"]);function Ps(t){return Fs.test(String.fromCodePoint(t))}function Ds(t,e){return !(!e&&Ps(t)||/[\u0900-\u0DFF\u0F00-\u109F\u1780-\u17FF]/gim.test(String.fromCodePoint(t)))}function zs(t){for(const e of t)if(Ps(e.codePointAt(0)))return !0;return !1}const Bs=new class{constructor(){this.TIMEOUT=5e3,this.applyArabicShaping=null,this.processBidirectionalText=null,this.processStyledBidirectionalText=null,this.pluginStatus="unavailable",this.pluginURL=null,this.loadScriptResolve=()=>{};}setState(t){this.pluginStatus=t.pluginStatus,this.pluginURL=t.pluginURL;}getState(){return {pluginStatus:this.pluginStatus,pluginURL:this.pluginURL}}setMethods(t){if(Bs.isParsed())throw new Error("RTL text plugin already registered.");this.applyArabicShaping=t.applyArabicShaping,this.processBidirectionalText=t.processBidirectionalText,this.processStyledBidirectionalText=t.processStyledBidirectionalText,this.loadScriptResolve();}isParsed(){return null!=this.applyArabicShaping&&null!=this.processBidirectionalText&&null!=this.processStyledBidirectionalText}getRTLTextPluginStatus(){return this.pluginStatus}syncState(t,n){return e(this,void 0,void 0,(function*(){if(this.isParsed())return this.getState();if("loading"!==t.pluginStatus)return this.setState(t),t;const e=t.pluginURL,r=new Promise((t=>{this.loadScriptResolve=t;}));n(e);const i=new Promise((t=>setTimeout((()=>t()),this.TIMEOUT)));if(yield Promise.race([r,i]),this.isParsed()){const t={pluginStatus:"loaded",pluginURL:e};return this.setState(t),t}throw this.setState({pluginStatus:"error",pluginURL:""}),new Error(`RTL Text Plugin failed to import scripts from ${e}`)}))}};class Cs{constructor(t,e){this.isSupportedScript=Vs,this.zoom=t,e?(this.now=e.now||0,this.fadeDuration=e.fadeDuration||0,this.zoomHistory=e.zoomHistory||new bs,this.transition=e.transition||{}):(this.now=0,this.fadeDuration=0,this.zoomHistory=new bs,this.transition={});}crossFadingFactor(){return 0===this.fadeDuration?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)}getCrossfadeParameters(){const t=this.zoom,e=t-Math.floor(t),n=this.crossFadingFactor();return t>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:e+(1-e)*n}:{fromScale:.5,toScale:1,t:1-(1-n)*e}}}function Vs(t){return function(t,e){for(const n of t)if(!Ds(n.codePointAt(0),e))return !1;return !0}(t,"loaded"===Bs.getRTLTextPluginStatus())}const Ls="-transition";class Os{constructor(t,e,n){this.property=t,this.value=e,this.expression=function(t,e,n){if(Hr(t))return new ui(t,e);if(ii(t)){const r=li(t,e,n);if("error"===r.result)throw new Error(r.value.map((t=>`${t.key}: ${t.message}`)).join(", "));return r.value}{let n=t;return "color"===e.type&&"string"==typeof t?n=Te.parse(t):"padding"!==e.type||"number"!=typeof t&&!Array.isArray(t)?"numberArray"!==e.type||"number"!=typeof t&&!Array.isArray(t)?"colorArray"!==e.type||"string"!=typeof t&&!Array.isArray(t)?"variableAnchorOffsetCollection"===e.type&&Array.isArray(t)?n=$e.parse(t):"projectionDefinition"===e.type&&"string"==typeof t&&(n=Ne.parse(t)):n=Ve.parse(t):n=Ce.parse(t):n=Be.parse(t),{globalStateRefs:new Set,_globalState:null,kind:"constant",evaluate:()=>n}}}(void 0===e?t.specification.default:e,t.specification,n);}isDataDriven(){return "source"===this.expression.kind||"composite"===this.expression.kind}getGlobalStateRefs(){return this.expression.globalStateRefs||new Set}possiblyEvaluate(t,e,n){return this.property.possiblyEvaluate(this,t,e,n)}}class $s{constructor(t,e){this.property=t,this.value=new Os(t,void 0,e);}transitioned(t,e){return new Ns(this.property,this.value,e,$({},t.transition,this.transition),t.now)}untransitioned(){return new Ns(this.property,this.value,null,{},0)}}class Rs{constructor(t,e){this._properties=t,this._values=Object.create(t.defaultTransitionablePropertyValues),this._globalState=e;}hasProperty(t){return t in this._properties.defaultTransitionablePropertyValues}getValue(t){return j(this._values[t].value.value)}setValue(t,e){Object.hasOwn(this._values,t)||(this._values[t]=new $s(this._values[t].property,this._globalState)),this._values[t].value=new Os(this._values[t].property,null===e?void 0:j(e),this._globalState);}getTransition(t){return j(this._values[t].transition)}setTransition(t,e){Object.hasOwn(this._values,t)||(this._values[t]=new $s(this._values[t].property,this._globalState)),this._values[t].transition=j(e)||void 0;}serialize(){const t={};for(const e of Object.keys(this._values)){const n=this.getValue(e);void 0!==n&&(t[e]=n);const r=this.getTransition(e);void 0!==r&&(t[`${e}${Ls}`]=r);}return t}transitioned(t,e){const n=new Us(this._properties);for(const r of Object.keys(this._values))n._values[r]=this._values[r].transitioned(t,e._values[r]);return n}untransitioned(){const t=new Us(this._properties);for(const e of Object.keys(this._values))t._values[e]=this._values[e].untransitioned();return t}}class Ns{constructor(t,e,n,r,i){this.property=t,this.value=e,this.begin=i+r.delay||0,this.end=this.begin+r.duration||0,t.specification.transition&&(r.delay||r.duration)&&(this.prior=n);}possiblyEvaluate(t,e,n){const r=t.now||0,i=this.value.possiblyEvaluate(t,e,n),s=this.prior;if(s){if(r>this.end)return this.prior=null,i;if(this.value.isDataDriven())return this.prior=null,i;if(rr.zoomHistory.lastIntegerZoom?{from:t,to:e}:{from:n,to:e}}interpolate(t){return t}}class Hs{constructor(t){this.specification=t;}possiblyEvaluate(t,e,n,r){if(void 0!==t.value){if("constant"===t.expression.kind){const i=t.expression.evaluate(e,null,{},n,r);return this._calculate(i,i,i,e)}return this._calculate(t.expression.evaluate(new Cs(Math.floor(e.zoom-1),e)),t.expression.evaluate(new Cs(Math.floor(e.zoom),e)),t.expression.evaluate(new Cs(Math.floor(e.zoom+1),e)),e)}}_calculate(t,e,n,r){return r.zoom>r.zoomHistory.lastIntegerZoom?{from:t,to:e}:{from:n,to:e}}interpolate(t){return t}}class Ws{constructor(t){this.specification=t;}possiblyEvaluate(t,e,n,r){return !!t.expression.evaluate(e,null,{},n,r)}interpolate(){return !1}}class Ks{constructor(t){this.properties=t,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[];for(const e in t){const n=t[e];n.specification.overridable&&this.overridableProperties.push(e);const r=this.defaultPropertyValues[e]=new Os(n,void 0,void 0),i=this.defaultTransitionablePropertyValues[e]=new $s(n,void 0);this.defaultTransitioningPropertyValues[e]=i.untransitioned(),this.defaultPossiblyEvaluatedValues[e]=r.possiblyEvaluate({});}}}ds("DataDrivenProperty",Ys),ds("DataConstantProperty",Xs),ds("CrossFadedDataDrivenProperty",Zs),ds("CrossFadedProperty",Hs),ds("ColorRampProperty",Ws);const Js=" is a PAINT property not a LAYOUT property. Use get/setPaintProperty instead?",Qs=" is a LAYOUT property not a PAINT property. Use get/setLayoutProperty instead?";class to extends bt{constructor(t,e,n){if(super(),this.id=t.id,this.type=t.type,this._globalState=n,this._featureFilter={filter:()=>!0,needGeometry:!1,getGlobalStateRefs:()=>new Set},this._visibilityExpression=function(t,e){return new is(t,e)}(this.visibility,n),"custom"!==t.type&&(this.metadata=t.metadata,this.minzoom=t.minzoom,this.maxzoom=t.maxzoom,"background"!==t.type&&(this.source=t.source,this.sourceLayer=t["source-layer"],this.filter=t.filter,this._featureFilter=yi(t.filter,n)),e.layout&&(this._unevaluatedLayout=new js(e.layout,n)),e.paint)){this._transitionablePaint=new Rs(e.paint,n);for(const e in t.paint)this.setPaintProperty(e,t.paint[e],{validate:!1});for(const e in t.layout)this.setLayoutProperty(e,t.layout[e],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new Gs(e.paint);}}setFilter(t){this.filter=t,this._featureFilter=yi(t,this._globalState);}getCrossfadeParameters(){return this._crossfadeParameters}getLayoutProperty(t){var e;if("visibility"===t)return this.visibility;if(null===(e=this._transitionablePaint)||void 0===e?void 0:e.hasProperty(t))throw new Error(t+Js);if(!this._unevaluatedLayout)throw new Error(`Cannot get layout property "${t}" on layer type "${this.type}" which has no layout properties.`);return this._unevaluatedLayout.getValue(t)}getLayoutAffectingGlobalStateRefs(){const t=new Set;for(const e of this._visibilityExpression.getGlobalStateRefs())t.add(e);if(this._unevaluatedLayout)for(const e in this._unevaluatedLayout._values){const n=this._unevaluatedLayout._values[e];for(const e of n.getGlobalStateRefs())t.add(e);}for(const e of this._featureFilter.getGlobalStateRefs())t.add(e);return t}getPaintAffectingGlobalStateRefs(){var t;const e=new globalThis.Map;if(this._transitionablePaint)for(const n in this._transitionablePaint._values){const r=this._transitionablePaint._values[n].value;for(const i of r.getGlobalStateRefs()){const s=null!==(t=e.get(i))&&void 0!==t?t:[];s.push({name:n,value:r.value}),e.set(i,s);}}return e}getVisibilityAffectingGlobalStateRefs(){return this._visibilityExpression.getGlobalStateRefs()}setLayoutProperty(t,e,n={}){var r;if("visibility"===t)return this.visibility=e,this._visibilityExpression.setValue(e),void this.recalculateVisibility();(null===(r=this._transitionablePaint)||void 0===r?void 0:r.hasProperty(t))?this.fire(new vt(new Error(t+Js))):null!=e&&this._validate(cs,`layers.${this.id}.layout.${t}`,t,e,n)||this._unevaluatedLayout.setValue(t,e);}getPaintProperty(t){var e,n;if(t.endsWith(Ls)){const n=t.slice(0,-11);if("visibility"===n||(null===(e=this._unevaluatedLayout)||void 0===e?void 0:e.hasProperty(n)))throw new Error(t+Qs);return this._transitionablePaint.getTransition(n)}if("visibility"===t||(null===(n=this._unevaluatedLayout)||void 0===n?void 0:n.hasProperty(t)))throw new Error(t+Qs);return this._transitionablePaint.getValue(t)}setPaintProperty(t,e,n={}){var r;if("visibility"===t||(null===(r=this._unevaluatedLayout)||void 0===r?void 0:r.hasProperty(t)))return this.fire(new vt(new Error(t+Qs))),!1;if(null!=e&&this._validate(us,`layers.${this.id}.paint.${t}`,t,e,n))return !1;if(t.endsWith(Ls))return this._transitionablePaint.setTransition(t.slice(0,-11),e||void 0),!1;{const n=this._transitionablePaint._values[t],r="cross-faded-data-driven"===n.property.specification["property-type"],i=n.value.isDataDriven(),s=n.value;this._transitionablePaint.setValue(t,e),this._handleSpecialPaintPropertyUpdate(t);const o=this._transitionablePaint._values[t].value;return o.isDataDriven()||i||r||this._handleOverridablePaintPropertyUpdate(t,s,o)}}_handleSpecialPaintPropertyUpdate(t){}_handleOverridablePaintPropertyUpdate(t,e,n){return !1}isHidden(t=this.minzoom,e=!1){return !!(this.minzoom&&t<(e?Math.floor(this.minzoom):this.minzoom))||!!(this.maxzoom&&t>=this.maxzoom)||"none"===this._evaluatedVisibility}updateTransitions(t){this._transitioningPaint=this._transitionablePaint.transitioned(t,this._transitioningPaint);}hasTransition(){return this._transitioningPaint.hasTransition()}recalculateVisibility(){this._evaluatedVisibility=this._visibilityExpression.evaluate();}recalculate(t,e){t.getCrossfadeParameters&&(this._crossfadeParameters=t.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(t,void 0,e)),this.paint=this._transitioningPaint.possiblyEvaluate(t,void 0,e);}serialize(){var t,e;const n={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:null===(t=this._unevaluatedLayout)||void 0===t?void 0:t.serialize(),paint:null===(e=this._transitionablePaint)||void 0===e?void 0:e.serialize()};return this.visibility&&(n.layout||(n.layout={}),n.layout.visibility=this.visibility),U(n,((t,e)=>!(void 0===t||"layout"===e&&!Object.keys(t).length||"paint"===e&&!Object.keys(t).length)))}_validate(t,e,n,r,i={}){return !1!==(null==i?void 0:i.validate)&&hs(this,t.call(os,{key:e,layerType:this.type,objectKey:n,value:r,styleSpec:wt,style:{glyphs:!0,sprite:!0}}))}is3D(){return !1}isTileClipped(){return !1}hasOffscreenPass(){return !1}resize(){}isStateDependent(){for(const t in this.paint._values){const e=this.paint.get(t);if(e instanceof qs&&Gr(e.property.specification)&&("source"===e.value.kind||"composite"===e.value.kind)&&e.value.isStateDependent)return !0}return !1}}let eo;var no={get paint(){return eo=eo||new Ks({"raster-opacity":new Xs(wt.paint_raster["raster-opacity"]),"raster-hue-rotate":new Xs(wt.paint_raster["raster-hue-rotate"]),"raster-brightness-min":new Xs(wt.paint_raster["raster-brightness-min"]),"raster-brightness-max":new Xs(wt.paint_raster["raster-brightness-max"]),"raster-saturation":new Xs(wt.paint_raster["raster-saturation"]),"raster-contrast":new Xs(wt.paint_raster["raster-contrast"]),resampling:new Xs(wt.paint_raster.resampling),"raster-resampling":new Xs(wt.paint_raster["raster-resampling"]),"raster-fade-duration":new Xs(wt.paint_raster["raster-fade-duration"])})}};class ro extends to{constructor(t,e){super(t,no,e);}}const io={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array};class so{constructor(t,e){this._structArray=t,this._pos1=e*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8;}}class oo{constructor(){this.isTransferred=!1,this.capacity=-1,this.resize(0);}static serialize(t,e){return t._trim(),e&&(t.isTransferred=!0,e.push(t.arrayBuffer)),{length:t.length,arrayBuffer:t.arrayBuffer}}static deserialize(t){const e=Object.create(this.prototype);return e.arrayBuffer=t.arrayBuffer,e.length=t.length,e.capacity=t.arrayBuffer.byteLength/e.bytesPerElement,e._refreshViews(),e}_trim(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews());}clear(){this.length=0;}resize(t){this.reserve(t),this.length=t;}reserve(t){if(t>this.capacity){this.capacity=Math.max(t,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);const e=this.uint8;this._refreshViews(),e&&this.uint8.set(e);}}_refreshViews(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")}freeBufferAfterUpload(){this.arrayBuffer=new ArrayBuffer(0),this._refreshViews();}}function ao(t,e=1){let n=0,r=0;return {members:t.map((t=>{const i=io[t.type].BYTES_PER_ELEMENT,s=n=lo(n,Math.max(e,i)),o=t.components||1;return r=Math.max(r,i),n+=i*o,{name:t.name,type:t.type,components:o,offset:s}})),size:lo(n,Math.max(r,e)),alignment:e}}function lo(t,e){return Math.ceil(t/e)*e}class uo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);}emplaceBack(t,e){const n=this.length;return this.resize(n+1),this.emplace(n,t,e)}emplace(t,e,n){const r=2*t;return this.int16[r+0]=e,this.int16[r+1]=n,t}}uo.prototype.bytesPerElement=4,ds("StructArrayLayout2i4",uo);class co extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);}emplaceBack(t,e,n){const r=this.length;return this.resize(r+1),this.emplace(r,t,e,n)}emplace(t,e,n,r){const i=3*t;return this.int16[i+0]=e,this.int16[i+1]=n,this.int16[i+2]=r,t}}co.prototype.bytesPerElement=6,ds("StructArrayLayout3i6",co);class ho extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);}emplaceBack(t,e,n,r){const i=this.length;return this.resize(i+1),this.emplace(i,t,e,n,r)}emplace(t,e,n,r,i){const s=4*t;return this.int16[s+0]=e,this.int16[s+1]=n,this.int16[s+2]=r,this.int16[s+3]=i,t}}ho.prototype.bytesPerElement=8,ds("StructArrayLayout4i8",ho);class po extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s){const o=this.length;return this.resize(o+1),this.emplace(o,t,e,n,r,i,s)}emplace(t,e,n,r,i,s,o){const a=6*t;return this.int16[a+0]=e,this.int16[a+1]=n,this.int16[a+2]=r,this.int16[a+3]=i,this.int16[a+4]=s,this.int16[a+5]=o,t}}po.prototype.bytesPerElement=12,ds("StructArrayLayout2i4i12",po);class fo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s){const o=this.length;return this.resize(o+1),this.emplace(o,t,e,n,r,i,s)}emplace(t,e,n,r,i,s,o){const a=4*t,l=8*t;return this.int16[a+0]=e,this.int16[a+1]=n,this.uint8[l+4]=r,this.uint8[l+5]=i,this.uint8[l+6]=s,this.uint8[l+7]=o,t}}fo.prototype.bytesPerElement=8,ds("StructArrayLayout2i4ub8",fo);class yo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);}emplaceBack(t,e){const n=this.length;return this.resize(n+1),this.emplace(n,t,e)}emplace(t,e,n){const r=2*t;return this.float32[r+0]=e,this.float32[r+1]=n,t}}yo.prototype.bytesPerElement=8,ds("StructArrayLayout2f8",yo);class mo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s,o,a,l,u){const c=this.length;return this.resize(c+1),this.emplace(c,t,e,n,r,i,s,o,a,l,u)}emplace(t,e,n,r,i,s,o,a,l,u,c){const h=10*t;return this.uint16[h+0]=e,this.uint16[h+1]=n,this.uint16[h+2]=r,this.uint16[h+3]=i,this.uint16[h+4]=s,this.uint16[h+5]=o,this.uint16[h+6]=a,this.uint16[h+7]=l,this.uint16[h+8]=u,this.uint16[h+9]=c,t}}mo.prototype.bytesPerElement=20,ds("StructArrayLayout10ui20",mo);class go extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s,o,a){const l=this.length;return this.resize(l+1),this.emplace(l,t,e,n,r,i,s,o,a)}emplace(t,e,n,r,i,s,o,a,l){const u=8*t;return this.uint16[u+0]=e,this.uint16[u+1]=n,this.uint16[u+2]=r,this.uint16[u+3]=i,this.uint16[u+4]=s,this.uint16[u+5]=o,this.uint16[u+6]=a,this.uint16[u+7]=l,t}}go.prototype.bytesPerElement=16,ds("StructArrayLayout8ui16",go);class xo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s,o,a,l,u,c,h){const p=this.length;return this.resize(p+1),this.emplace(p,t,e,n,r,i,s,o,a,l,u,c,h)}emplace(t,e,n,r,i,s,o,a,l,u,c,h,p){const f=12*t;return this.int16[f+0]=e,this.int16[f+1]=n,this.int16[f+2]=r,this.int16[f+3]=i,this.uint16[f+4]=s,this.uint16[f+5]=o,this.uint16[f+6]=a,this.uint16[f+7]=l,this.int16[f+8]=u,this.int16[f+9]=c,this.int16[f+10]=h,this.int16[f+11]=p,t}}xo.prototype.bytesPerElement=24,ds("StructArrayLayout4i4ui4i24",xo);class vo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);}emplaceBack(t,e,n){const r=this.length;return this.resize(r+1),this.emplace(r,t,e,n)}emplace(t,e,n,r){const i=3*t;return this.float32[i+0]=e,this.float32[i+1]=n,this.float32[i+2]=r,t}}vo.prototype.bytesPerElement=12,ds("StructArrayLayout3f12",vo);class bo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer);}emplaceBack(t){const e=this.length;return this.resize(e+1),this.emplace(e,t)}emplace(t,e){return this.uint32[1*t+0]=e,t}}bo.prototype.bytesPerElement=4,ds("StructArrayLayout1ul4",bo);class wo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s,o,a,l){const u=this.length;return this.resize(u+1),this.emplace(u,t,e,n,r,i,s,o,a,l)}emplace(t,e,n,r,i,s,o,a,l,u){const c=10*t,h=5*t;return this.int16[c+0]=e,this.int16[c+1]=n,this.int16[c+2]=r,this.int16[c+3]=i,this.int16[c+4]=s,this.int16[c+5]=o,this.uint32[h+3]=a,this.uint16[c+8]=l,this.uint16[c+9]=u,t}}wo.prototype.bytesPerElement=20,ds("StructArrayLayout6i1ul2ui20",wo);class _o extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s){const o=this.length;return this.resize(o+1),this.emplace(o,t,e,n,r,i,s)}emplace(t,e,n,r,i,s,o){const a=6*t;return this.int16[a+0]=e,this.int16[a+1]=n,this.int16[a+2]=r,this.int16[a+3]=i,this.int16[a+4]=s,this.int16[a+5]=o,t}}_o.prototype.bytesPerElement=12,ds("StructArrayLayout2i2i2i12",_o);class So extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i){const s=this.length;return this.resize(s+1),this.emplace(s,t,e,n,r,i)}emplace(t,e,n,r,i,s){const o=4*t,a=8*t;return this.float32[o+0]=e,this.float32[o+1]=n,this.float32[o+2]=r,this.int16[a+6]=i,this.int16[a+7]=s,t}}So.prototype.bytesPerElement=16,ds("StructArrayLayout2f1f2i16",So);class Ao extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s){const o=this.length;return this.resize(o+1),this.emplace(o,t,e,n,r,i,s)}emplace(t,e,n,r,i,s,o){const a=16*t,l=4*t,u=8*t;return this.uint8[a+0]=e,this.uint8[a+1]=n,this.float32[l+1]=r,this.float32[l+2]=i,this.int16[u+6]=s,this.int16[u+7]=o,t}}Ao.prototype.bytesPerElement=16,ds("StructArrayLayout2ub2f2i16",Ao);class Mo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);}emplaceBack(t,e,n){const r=this.length;return this.resize(r+1),this.emplace(r,t,e,n)}emplace(t,e,n,r){const i=3*t;return this.uint16[i+0]=e,this.uint16[i+1]=n,this.uint16[i+2]=r,t}}Mo.prototype.bytesPerElement=6,ds("StructArrayLayout3ui6",Mo);class ko extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s,o,a,l,u,c,h,p,f,d,y,m){const g=this.length;return this.resize(g+1),this.emplace(g,t,e,n,r,i,s,o,a,l,u,c,h,p,f,d,y,m)}emplace(t,e,n,r,i,s,o,a,l,u,c,h,p,f,d,y,m,g){const x=24*t,v=12*t,b=48*t;return this.int16[x+0]=e,this.int16[x+1]=n,this.uint16[x+2]=r,this.uint16[x+3]=i,this.uint32[v+2]=s,this.uint32[v+3]=o,this.uint32[v+4]=a,this.uint16[x+10]=l,this.uint16[x+11]=u,this.uint16[x+12]=c,this.float32[v+7]=h,this.float32[v+8]=p,this.uint8[b+36]=f,this.uint8[b+37]=d,this.uint8[b+38]=y,this.uint32[v+10]=m,this.int16[x+22]=g,t}}ko.prototype.bytesPerElement=48,ds("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",ko);class Io extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s,o,a,l,u,c,h,p,f,d,y,m,g,x,v,b,w,_,S,A,M,k,I){const E=this.length;return this.resize(E+1),this.emplace(E,t,e,n,r,i,s,o,a,l,u,c,h,p,f,d,y,m,g,x,v,b,w,_,S,A,M,k,I)}emplace(t,e,n,r,i,s,o,a,l,u,c,h,p,f,d,y,m,g,x,v,b,w,_,S,A,M,k,I,E){const T=32*t,F=16*t;return this.int16[T+0]=e,this.int16[T+1]=n,this.int16[T+2]=r,this.int16[T+3]=i,this.int16[T+4]=s,this.int16[T+5]=o,this.int16[T+6]=a,this.int16[T+7]=l,this.uint16[T+8]=u,this.uint16[T+9]=c,this.uint16[T+10]=h,this.uint16[T+11]=p,this.uint16[T+12]=f,this.uint16[T+13]=d,this.uint16[T+14]=y,this.uint16[T+15]=m,this.uint16[T+16]=g,this.uint16[T+17]=x,this.uint16[T+18]=v,this.uint16[T+19]=b,this.uint16[T+20]=w,this.uint16[T+21]=_,this.uint16[T+22]=S,this.uint32[F+12]=A,this.float32[F+13]=M,this.float32[F+14]=k,this.uint16[T+30]=I,this.uint16[T+31]=E,t}}Io.prototype.bytesPerElement=64,ds("StructArrayLayout8i15ui1ul2f2ui64",Io);class Eo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);}emplaceBack(t){const e=this.length;return this.resize(e+1),this.emplace(e,t)}emplace(t,e){return this.float32[1*t+0]=e,t}}Eo.prototype.bytesPerElement=4,ds("StructArrayLayout1f4",Eo);class To extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);}emplaceBack(t,e,n){const r=this.length;return this.resize(r+1),this.emplace(r,t,e,n)}emplace(t,e,n,r){const i=3*t;return this.uint16[6*t+0]=e,this.float32[i+1]=n,this.float32[i+2]=r,t}}To.prototype.bytesPerElement=12,ds("StructArrayLayout1ui2f12",To);class Fo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);}emplaceBack(t,e,n){const r=this.length;return this.resize(r+1),this.emplace(r,t,e,n)}emplace(t,e,n,r){const i=4*t;return this.uint32[2*t+0]=e,this.uint16[i+2]=n,this.uint16[i+3]=r,t}}Fo.prototype.bytesPerElement=8,ds("StructArrayLayout1ul2ui8",Fo);class Po extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);}emplaceBack(t,e){const n=this.length;return this.resize(n+1),this.emplace(n,t,e)}emplace(t,e,n){const r=2*t;return this.uint16[r+0]=e,this.uint16[r+1]=n,t}}Po.prototype.bytesPerElement=4,ds("StructArrayLayout2ui4",Po);class Do extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);}emplaceBack(t){const e=this.length;return this.resize(e+1),this.emplace(e,t)}emplace(t,e){return this.uint16[1*t+0]=e,t}}Do.prototype.bytesPerElement=2,ds("StructArrayLayout1ui2",Do);class zo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);}emplaceBack(t,e,n,r){const i=this.length;return this.resize(i+1),this.emplace(i,t,e,n,r)}emplace(t,e,n,r,i){const s=4*t;return this.float32[s+0]=e,this.float32[s+1]=n,this.float32[s+2]=r,this.float32[s+3]=i,t}}zo.prototype.bytesPerElement=16,ds("StructArrayLayout4f16",zo);class Bo extends so{get anchorPointX(){return this._structArray.int16[this._pos2+0]}get anchorPointY(){return this._structArray.int16[this._pos2+1]}get x1(){return this._structArray.int16[this._pos2+2]}get y1(){return this._structArray.int16[this._pos2+3]}get x2(){return this._structArray.int16[this._pos2+4]}get y2(){return this._structArray.int16[this._pos2+5]}get featureIndex(){return this._structArray.uint32[this._pos4+3]}get sourceLayerIndex(){return this._structArray.uint16[this._pos2+8]}get bucketIndex(){return this._structArray.uint16[this._pos2+9]}get anchorPoint(){return new n(this.anchorPointX,this.anchorPointY)}}Bo.prototype.size=20;class Co extends wo{get(t){return new Bo(this,t)}}ds("CollisionBoxArray",Co);class Vo extends so{get anchorX(){return this._structArray.int16[this._pos2+0]}get anchorY(){return this._structArray.int16[this._pos2+1]}get glyphStartIndex(){return this._structArray.uint16[this._pos2+2]}get numGlyphs(){return this._structArray.uint16[this._pos2+3]}get vertexStartIndex(){return this._structArray.uint32[this._pos4+2]}get lineStartIndex(){return this._structArray.uint32[this._pos4+3]}get lineLength(){return this._structArray.uint32[this._pos4+4]}get segment(){return this._structArray.uint16[this._pos2+10]}get lowerSize(){return this._structArray.uint16[this._pos2+11]}get upperSize(){return this._structArray.uint16[this._pos2+12]}get lineOffsetX(){return this._structArray.float32[this._pos4+7]}get lineOffsetY(){return this._structArray.float32[this._pos4+8]}get writingMode(){return this._structArray.uint8[this._pos1+36]}get placedOrientation(){return this._structArray.uint8[this._pos1+37]}set placedOrientation(t){this._structArray.uint8[this._pos1+37]=t;}get hidden(){return this._structArray.uint8[this._pos1+38]}set hidden(t){this._structArray.uint8[this._pos1+38]=t;}get crossTileID(){return this._structArray.uint32[this._pos4+10]}set crossTileID(t){this._structArray.uint32[this._pos4+10]=t;}get associatedIconIndex(){return this._structArray.int16[this._pos2+22]}}Vo.prototype.size=48;class Lo extends ko{get(t){return new Vo(this,t)}}ds("PlacedSymbolArray",Lo);class Oo extends so{get anchorX(){return this._structArray.int16[this._pos2+0]}get anchorY(){return this._structArray.int16[this._pos2+1]}get rightJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+2]}get centerJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+3]}get leftJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+4]}get verticalPlacedTextSymbolIndex(){return this._structArray.int16[this._pos2+5]}get placedIconSymbolIndex(){return this._structArray.int16[this._pos2+6]}get verticalPlacedIconSymbolIndex(){return this._structArray.int16[this._pos2+7]}get key(){return this._structArray.uint16[this._pos2+8]}get textBoxStartIndex(){return this._structArray.uint16[this._pos2+9]}get textBoxEndIndex(){return this._structArray.uint16[this._pos2+10]}get verticalTextBoxStartIndex(){return this._structArray.uint16[this._pos2+11]}get verticalTextBoxEndIndex(){return this._structArray.uint16[this._pos2+12]}get iconBoxStartIndex(){return this._structArray.uint16[this._pos2+13]}get iconBoxEndIndex(){return this._structArray.uint16[this._pos2+14]}get verticalIconBoxStartIndex(){return this._structArray.uint16[this._pos2+15]}get verticalIconBoxEndIndex(){return this._structArray.uint16[this._pos2+16]}get featureIndex(){return this._structArray.uint16[this._pos2+17]}get numHorizontalGlyphVertices(){return this._structArray.uint16[this._pos2+18]}get numVerticalGlyphVertices(){return this._structArray.uint16[this._pos2+19]}get numIconVertices(){return this._structArray.uint16[this._pos2+20]}get numVerticalIconVertices(){return this._structArray.uint16[this._pos2+21]}get useRuntimeCollisionCircles(){return this._structArray.uint16[this._pos2+22]}get crossTileID(){return this._structArray.uint32[this._pos4+12]}set crossTileID(t){this._structArray.uint32[this._pos4+12]=t;}get textBoxScale(){return this._structArray.float32[this._pos4+13]}get collisionCircleDiameter(){return this._structArray.float32[this._pos4+14]}get textAnchorOffsetStartIndex(){return this._structArray.uint16[this._pos2+30]}get textAnchorOffsetEndIndex(){return this._structArray.uint16[this._pos2+31]}}Oo.prototype.size=64;class $o extends Io{get(t){return new Oo(this,t)}}ds("SymbolInstanceArray",$o);class Ro extends Eo{getoffsetX(t){return this.float32[1*t+0]}}ds("GlyphOffsetArray",Ro);class No extends co{getx(t){return this.int16[3*t+0]}gety(t){return this.int16[3*t+1]}gettileUnitDistanceFromAnchor(t){return this.int16[3*t+2]}}ds("SymbolLineVertexArray",No);class Uo extends so{get textAnchor(){return this._structArray.uint16[this._pos2+0]}get textOffset0(){return this._structArray.float32[this._pos4+1]}get textOffset1(){return this._structArray.float32[this._pos4+2]}}Uo.prototype.size=12;class jo extends To{get(t){return new Uo(this,t)}}ds("TextAnchorOffsetArray",jo);class qo extends so{get featureIndex(){return this._structArray.uint32[this._pos4+0]}get sourceLayerIndex(){return this._structArray.uint16[this._pos2+2]}get bucketIndex(){return this._structArray.uint16[this._pos2+3]}}qo.prototype.size=8;class Go extends Fo{get(t){return new qo(this,t)}}ds("FeatureIndexArray",Go);class Xo extends uo{}class Yo extends uo{}class Zo extends uo{}class Ho extends po{}class Wo extends fo{}class Ko extends yo{}class Jo extends mo{}class Qo extends go{}class ta extends xo{}class ea extends vo{}class na extends bo{}class ra extends _o{}class ia extends Ao{}class sa extends Mo{}class oa extends Po{}const aa=ao([{name:"a_pos",components:2,type:"Int16"}],4),{members:la}=aa;class ua{constructor(t=[]){this._forceNewSegmentOnNextPrepare=!1,this.segments=t;}prepareSegment(t,e,n,r){const i=this.segments[this.segments.length-1];return t>ua.MAX_VERTEX_ARRAY_LENGTH&&G(`Max vertices per segment is ${ua.MAX_VERTEX_ARRAY_LENGTH}: bucket requested ${t}. Consider using the \`fillLargeMeshArrays\` function if you require meshes with more than ${ua.MAX_VERTEX_ARRAY_LENGTH} vertices.`),this._forceNewSegmentOnNextPrepare||!i||i.vertexLength+t>ua.MAX_VERTEX_ARRAY_LENGTH||i.sortKey!==r?this.createNewSegment(e,n,r):i}createNewSegment(t,e,n){const r={vertexOffset:t.length,primitiveOffset:e.length,vertexLength:0,primitiveLength:0,vaos:{}};return void 0!==n&&(r.sortKey=n),this._forceNewSegmentOnNextPrepare=!1,this.segments.push(r),r}getOrCreateLatestSegment(t,e,n){return this.prepareSegment(0,t,e,n)}forceNewSegmentOnNextPrepare(){this._forceNewSegmentOnNextPrepare=!0;}get(){return this.segments}destroy(){for(const t of this.segments)for(const e in t.vaos)t.vaos[e].destroy();}static simpleSegment(t,e,n,r){return new ua([{vertexOffset:t,primitiveOffset:e,vertexLength:n,primitiveLength:r,vaos:{},sortKey:0}])}}function ca(t,e){return 256*(t=L(Math.floor(t),0,255))+L(Math.floor(e),0,255)}ua.MAX_VERTEX_ARRAY_LENGTH=Math.pow(2,16)-1,ds("SegmentVector",ua);const ha=ao([{name:"a_pattern_from",components:4,type:"Uint16"},{name:"a_pattern_to",components:4,type:"Uint16"},{name:"a_pixel_ratio_from",components:1,type:"Uint16"},{name:"a_pixel_ratio_to",components:1,type:"Uint16"}]),pa=ao([{name:"a_dasharray_from",components:4,type:"Uint16"},{name:"a_dasharray_to",components:4,type:"Uint16"}]);var fa,da,ya,ma={exports:{}},ga={exports:{}},xa={exports:{}},va=function(){if(ya)return ma.exports;ya=1;var t=(fa||(fa=1,ga.exports=function(t,e){var n,r,i,s,o,a,l,u;for(r=t.length-(n=3&t.length),i=e,o=3432918353,a=461845907,u=0;u>>16)*o&65535)<<16)&4294967295)<<15|l>>>17))*a+(((l>>>16)*a&65535)<<16)&4294967295)<<13|i>>>19))+((5*(i>>>16)&65535)<<16)&4294967295))+((58964+(s>>>16)&65535)<<16);switch(l=0,n){case 3:l^=(255&t.charCodeAt(u+2))<<16;case 2:l^=(255&t.charCodeAt(u+1))<<8;case 1:i^=l=(65535&(l=(l=(65535&(l^=255&t.charCodeAt(u)))*o+(((l>>>16)*o&65535)<<16)&4294967295)<<15|l>>>17))*a+(((l>>>16)*a&65535)<<16)&4294967295;}return i^=t.length,i=2246822507*(65535&(i^=i>>>16))+((2246822507*(i>>>16)&65535)<<16)&4294967295,i=3266489909*(65535&(i^=i>>>13))+((3266489909*(i>>>16)&65535)<<16)&4294967295,(i^=i>>>16)>>>0}),ga.exports),e=(da||(da=1,xa.exports=function(t,e){for(var n,r=t.length,i=e^r,s=0;r>=4;)n=1540483477*(65535&(n=255&t.charCodeAt(s)|(255&t.charCodeAt(++s))<<8|(255&t.charCodeAt(++s))<<16|(255&t.charCodeAt(++s))<<24))+((1540483477*(n>>>16)&65535)<<16),i=1540483477*(65535&i)+((1540483477*(i>>>16)&65535)<<16)^(n=1540483477*(65535&(n^=n>>>24))+((1540483477*(n>>>16)&65535)<<16)),r-=4,++s;switch(r){case 3:i^=(255&t.charCodeAt(s+2))<<16;case 2:i^=(255&t.charCodeAt(s+1))<<8;case 1:i=1540483477*(65535&(i^=255&t.charCodeAt(s)))+((1540483477*(i>>>16)&65535)<<16);}return i=1540483477*(65535&(i^=i>>>13))+((1540483477*(i>>>16)&65535)<<16),(i^=i>>>15)>>>0}),xa.exports);return ma.exports=t,ma.exports.murmur3=t,ma.exports.murmur2=e,ma.exports}(),ba=r(va);class wa{constructor(){this.ids=[],this.positions=[],this.indexed=!1;}add(t,e,n,r){this.ids.push(_a(t)),this.positions.push(e,n,r);}getPositions(t){if(!this.indexed)throw new Error("Trying to get index, but feature positions are not indexed");const e=_a(t);let n=0,r=this.ids.length-1;for(;n>1;this.ids[t]>=e?r=t:n=t+1;}const i=[];for(;this.ids[n]===e;)i.push({index:this.positions[3*n],start:this.positions[3*n+1],end:this.positions[3*n+2]}),n++;return i}static serialize(t,e){const n=new Float64Array(t.ids),r=new Uint32Array(t.positions);return Sa(n,r,0,n.length-1),e&&e.push(n.buffer,r.buffer),{ids:n,positions:r}}static deserialize(t){const e=new wa;return e.ids=t.ids,e.positions=t.positions,e.indexed=!0,e}}function _a(t){const e=+t;return !isNaN(e)&&e<=Number.MAX_SAFE_INTEGER?e:ba(String(t))}function Sa(t,e,n,r){for(;n>1];let s=n-1,o=r+1;for(;;){do{s++;}while(t[s]i);if(s>=o)break;Aa(t,s,o),Aa(e,3*s,3*o),Aa(e,3*s+1,3*o+1),Aa(e,3*s+2,3*o+2);}o-n`u_${t}`)),this.type=n;}setUniform(t,e,n){t.set(n.constantOr(this.value));}getBinding(t,e,n){return "color"===this.type?new Ea(t,e):new ka(t,e)}}class Da{constructor(t,e){this.uniformNames=e.map((t=>`u_${t}`)),this.patternFrom=null,this.patternTo=null,this.pixelRatioFrom=1,this.pixelRatioTo=1;}setConstantPatternPositions(t,e){this.pixelRatioFrom=e.pixelRatio,this.pixelRatioTo=t.pixelRatio,this.patternFrom=e.tlbr,this.patternTo=t.tlbr;}setConstantDashPositions(t,e){this.dashTo=[0,t.y,t.height,t.width],this.dashFrom=[0,e.y,e.height,e.width];}setUniform(t,e,n,r){let i=null;"u_pattern_to"===r?i=this.patternTo:"u_pattern_from"===r?i=this.patternFrom:"u_dasharray_to"===r?i=this.dashTo:"u_dasharray_from"===r?i=this.dashFrom:"u_pixel_ratio_to"===r?i=this.pixelRatioTo:"u_pixel_ratio_from"===r&&(i=this.pixelRatioFrom),null!==i&&t.set(i);}getBinding(t,e,n){return n.startsWith("u_pattern")||n.startsWith("u_dasharray_")?new Ia(t,e):new ka(t,e)}}class za{constructor(t,e,n,r){this.expression=t,this.type=n,this.maxValue=0,this.paintVertexAttributes=e.map((t=>({name:`a_${t}`,type:"Float32",components:"color"===n?2:1,offset:0}))),this.paintVertexArray=new r;}populatePaintArray(t,e,n){const r=this.paintVertexArray.length,i=this.expression.evaluate(new Cs(0,n),e,{},n.canonical,[],n.formattedSection);this.paintVertexArray.resize(t),this._setPaintValue(r,t,i);}updatePaintArray(t,e,n,r,i){const s=this.expression.evaluate(new Cs(0,i),n,r);this._setPaintValue(t,e,s);}_setPaintValue(t,e,n){if("color"===this.type){const r=Fa(n);for(let n=t;n`u_${t}_t`)),this.type=n,this.useIntegerZoom=r,this.zoom=i,this.maxValue=0,this.paintVertexAttributes=e.map((t=>({name:`a_${t}`,type:"Float32",components:"color"===n?4:2,offset:0}))),this.paintVertexArray=new s;}populatePaintArray(t,e,n){const r=this.expression.evaluate(new Cs(this.zoom,n),e,{},n.canonical,[],n.formattedSection),i=this.expression.evaluate(new Cs(this.zoom+1,n),e,{},n.canonical,[],n.formattedSection),s=this.paintVertexArray.length;this.paintVertexArray.resize(t),this._setPaintValue(s,t,r,i);}updatePaintArray(t,e,n,r,i){const s=this.expression.evaluate(new Cs(this.zoom,i),n,r),o=this.expression.evaluate(new Cs(this.zoom+1,i),n,r);this._setPaintValue(t,e,s,o);}_setPaintValue(t,e,n,r){if("color"===this.type){const i=Fa(n),s=Fa(r);for(let n=t;n`#define HAS_UNIFORM_${t}`)));}return t}getBinderAttributes(){const t=[];for(const e in this.binders){const n=this.binders[e];if(n instanceof za||n instanceof Ba)for(const e of n.paintVertexAttributes)t.push(e.name);else if(n instanceof Ca){const e=n.getVertexAttributes();for(const n of e)t.push(n.name);}}return t}getBinderUniforms(){const t=[];for(const e in this.binders){const n=this.binders[e];if(n instanceof Pa||n instanceof Da||n instanceof Ba)for(const e of n.uniformNames)t.push(e);}return t}getPaintVertexBuffers(){return this._buffers}getUniforms(t,e){const n=[];for(const r in this.binders){const i=this.binders[r];if(i instanceof Pa||i instanceof Da||i instanceof Ba)for(const s of i.uniformNames)if(e[s]){const o=i.getBinding(t,e[s],s);n.push({name:s,property:r,binding:o});}}return n}setUniforms(t,e,n,r){for(const{name:t,property:i,binding:s}of e)this.binders[i].setUniform(s,r,n.get(i),t);}updatePaintBuffers(t){this._buffers=[];for(const e in this.binders){const n=this.binders[e];if(t&&n instanceof Ca){const e=2===t.fromScale?n.zoomInPaintVertexBuffer:n.zoomOutPaintVertexBuffer;e&&this._buffers.push(e);}else (n instanceof za||n instanceof Ba)&&n.paintVertexBuffer&&this._buffers.push(n.paintVertexBuffer);}}upload(t){for(const e in this.binders){const n=this.binders[e];(n instanceof za||n instanceof Ba||n instanceof Ca)&&n.upload(t);}this.updatePaintBuffers();}destroy(){for(const t in this.binders){const e=this.binders[t];(e instanceof za||e instanceof Ba||e instanceof Ca)&&e.destroy();}}}class $a{constructor(t,e,n=()=>!0){this.programConfigurations={};for(const r of t)this.programConfigurations[r.id]=new Oa(r,e,n);this.needsUpload=!1,this._featureMap=new wa,this._bufferOffset=0;}populatePaintArrays(t,e,n,r){for(const n in this.programConfigurations)this.programConfigurations[n].populatePaintArrays(t,e,r);void 0!==e.id&&this._featureMap.add(e.id,n,this._bufferOffset,t),this._bufferOffset=t,this.needsUpload=!0;}updatePaintArrays(t,e,n,r){for(const i of n)this.needsUpload=this.programConfigurations[i.id].updatePaintArrays(t,this._featureMap,e,i,r)||this.needsUpload;}get(t){return this.programConfigurations[t]}upload(t){if(this.needsUpload){for(const e in this.programConfigurations)this.programConfigurations[e].upload(t);this.needsUpload=!1;}}destroy(){for(const t in this.programConfigurations)this.programConfigurations[t].destroy();}}function Ra(t,e){return {"text-opacity":["opacity"],"icon-opacity":["opacity"],"text-color":["fill_color"],"icon-color":["fill_color"],"text-halo-color":["halo_color"],"icon-halo-color":["halo_color"],"text-halo-blur":["halo_blur"],"icon-halo-blur":["halo_blur"],"text-halo-width":["halo_width"],"icon-halo-width":["halo_width"],"line-gap-width":["gapwidth"],"line-dasharray":["dasharray_to","dasharray_from"],"line-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"fill-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"fill-extrusion-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"]}[t]||[t.replace(`${e}-`,"").replace(/-/g,"_")]}function Na(t,e,n){const r={color:{source:yo,composite:zo},number:{source:Eo,composite:yo}},i=function(t){return {"line-pattern":{source:Jo,composite:Jo},"fill-pattern":{source:Jo,composite:Jo},"fill-extrusion-pattern":{source:Jo,composite:Jo},"line-dasharray":{source:Qo,composite:Qo}}[t]}(t);return (null==i?void 0:i[n])||r[e][n]}ds("ConstantBinder",Pa),ds("CrossFadedConstantBinder",Da),ds("SourceExpressionBinder",za),ds("CrossFadedPatternBinder",Va),ds("CrossFadedDasharrayBinder",La),ds("CompositeExpressionBinder",Ba),ds("ProgramConfiguration",Oa,{omit:["_buffers"]}),ds("ProgramConfigurationSet",$a);const Ua=Math.pow(2,14)-1,ja=-Ua-1;function qa(t){const e=T/t.extent,n=t.loadGeometry();for(const t of n)for(const n of t){const t=Math.round(n.x*e),r=Math.round(n.y*e);n.x=L(t,ja,Ua),n.y=L(r,ja,Ua),(tn.x+1||rn.y+1)&&G("Geometry exceeds allowed extent, reduce your vector tile buffer size");}return n}function Ga(t,e){return {type:t.type,id:t.id,properties:t.properties,geometry:e?qa(t):[]}}const Xa=-32768;function Ya(t,e,n,r,i){t.emplaceBack(Xa+8*e+r,Xa+8*n+i);}class Za{constructor(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((t=>t.id)),this.index=t.index,this.hasDependencies=!1,this.layoutVertexArray=new Yo,this.indexArray=new sa,this.segments=new ua,this.programConfigurations=new $a(t.layers,t.zoom),this.stateDependentLayerIds=this.layers.filter((t=>t.isStateDependent())).map((t=>t.id));}populate(t,e,n){const r=this.layers[0],i=[];let s=null,o=!1,a="heatmap"===r.type;if("circle"===r.type){const t=r;s=t.layout.get("circle-sort-key"),o=!s.isConstant(),a||(a="map"===t.paint.get("circle-pitch-alignment"));}const l=a?e.subdivisionGranularity.circle:1;for(const{feature:e,id:r,index:a,sourceLayerIndex:l}of t){const t=this.layers[0]._featureFilter.needGeometry,u=Ga(e,t);if(!this.layers[0]._featureFilter.filter(new Cs(this.zoom),u,n))continue;const c=o?s.evaluate(u,{},n):void 0,h={id:r,properties:e.properties,type:e.type,sourceLayerIndex:l,index:a,geometry:t?u.geometry:qa(e),patterns:{},sortKey:c};i.push(h);}o&&i.sort(((t,e)=>t.sortKey-e.sortKey));for(const r of i){const{geometry:i,index:s,sourceLayerIndex:o}=r,a=t[s].feature;this.addFeature(r,i,s,n,l),e.featureIndex.insert(a,i,s,o,this.index);}}update(t,e,n){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,{imagePositions:n});}isEmpty(){return 0===this.layoutVertexArray.length}uploadPending(){return !this.uploaded||this.programConfigurations.needsUpload}upload(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,la),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0;}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy());}addFeature(t,e,n,r,i=1){let s;switch(i){case 1:s=[0,7];break;case 3:s=[0,2,5,7];break;case 5:s=[0,1,3,4,6,7];break;case 7:s=[0,1,2,3,4,5,6,7];break;default:throw new Error(`Invalid circle bucket granularity: ${i}; valid values are 1, 3, 5, 7.`)}const o=s.length;for(const n of e)for(const e of n){const n=e.x,r=e.y;if(n<0||n>=T||r<0||r>=T)continue;const i=this.segments.prepareSegment(o*o,this.layoutVertexArray,this.indexArray,t.sortKey),a=i.vertexLength;for(let t=0;t1){if(Qa(t,e))return !0;for(const r of e)if(el(r,t,n))return !0}for(const r of t)if(el(r,e,n))return !0;return !1}function Qa(t,e){if(0===t.length||0===e.length)return !1;for(let n=0;n1?n:n.sub(e)._mult(i)._add(e))}function rl(t,e){let n,r,i,s=!1;for(const o of t){n=o;for(let t=0,o=n.length-1;te.y!=i.y>e.y&&e.x<(i.x-r.x)*(e.y-r.y)/(i.y-r.y)+r.x&&(s=!s);}return s}function il(t,e){let n=!1;for(let r=0,i=t.length-1;re.y!=o.y>e.y&&e.x<(o.x-s.x)*(e.y-s.y)/(o.y-s.y)+s.x&&(n=!n);}return n}function sl(t,e,n){const r=n[0],i=n[2];if(t.xi.x&&e.x>i.x||t.yi.y&&e.y>i.y)return !1;const s=X(t,e,n[0]);return s!==X(t,e,n[1])||s!==X(t,e,n[2])||s!==X(t,e,n[3])}function ol(t,e,n){const r=e.paint.get(t).value;return "constant"===r.kind?r.value:n.programConfigurations.get(e.id).getMaxValue(t)}function al(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function ll(t,e,r,i,s){if(!e[0]&&!e[1])return t;const o=n.convert(e)._mult(s);"viewport"===r&&o._rotate(-i);const a=[];for(const e of t)a.push(e.sub(o));return a}function ul(t){const e=[];for(let n=0;nyl(t,e,n,r)))}(l,i,o,a),f=u),dl({queryGeometry:p,size:f,transform:i,unwrappedTileID:o,getElevation:a,pitchAlignment:h,pitchScale:c},r)}}class bl extends Za{}let wl;ds("HeatmapBucket",bl,{omit:["layers"]});var _l={get paint(){return wl=wl||new Ks({"heatmap-radius":new Ys(wt.paint_heatmap["heatmap-radius"]),"heatmap-weight":new Ys(wt.paint_heatmap["heatmap-weight"]),"heatmap-intensity":new Xs(wt.paint_heatmap["heatmap-intensity"]),"heatmap-color":new Ws(wt.paint_heatmap["heatmap-color"]),"heatmap-opacity":new Xs(wt.paint_heatmap["heatmap-opacity"])})}};function Sl(t,{width:e,height:n},r,i){if(i){if(i instanceof Uint8ClampedArray)i=new Uint8Array(i.buffer);else if(i.length!==e*n*r)throw new RangeError(`mismatched image size. expected: ${i.length} but got: ${e*n*r}`)}else i=new Uint8Array(e*n*r);return t.width=e,t.height=n,t.data=i,t}function Al(t,{width:e,height:n},r){if(e===t.width&&n===t.height)return;const i=Sl({},{width:e,height:n},r);Ml(t,i,{x:0,y:0},{x:0,y:0},{width:Math.min(t.width,e),height:Math.min(t.height,n)},r),t.width=e,t.height=n,t.data=i.data;}function Ml(t,e,n,r,i,s){if(0===i.width||0===i.height)return e;if(i.width>t.width||i.height>t.height||n.x>t.width-i.width||n.y>t.height-i.height)throw new RangeError("out of range source coordinates for image copy");if(i.width>e.width||i.height>e.height||r.x>e.width-i.width||r.y>e.height-i.height)throw new RangeError("out of range destination coordinates for image copy");const o=t.data,a=e.data;if(o===a)throw new Error("srcData equals dstData, so image is already copied");for(let l=0;l{e[t.evaluationKey]=o;const a=t.expression.evaluate(e);i.setPixel(r/4/n,s/4,a);};if(t.clips)for(let e=0,i=0;ethis.max&&(this.max=n),n=this.dim+1||e<-1||e>=this.dim+1)throw new RangeError(`Out of range source coordinates for DEM data. x: ${t}, y: ${e}, dim: ${this.dim}`);return (e+1)*this.stride+(t+1)}unpack(t,e,n){return t*this.redFactor+e*this.greenFactor+n*this.blueFactor-this.baseShift}pack(t){return Rl(t,this.getUnpackVector())}getPixels(){return new Il({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))}backfillBorder(t,e,n){if(this.dim!==t.dim)throw new Error("dem dimension mismatch");let r=e*this.dim,i=e*this.dim+this.dim,s=n*this.dim,o=n*this.dim+this.dim;switch(e){case -1:r=i-1;break;case 1:i=r+1;}switch(n){case -1:s=o-1;break;case 1:o=s+1;}const a=-e*this.dim,l=-n*this.dim;for(let e=s;e0)for(let i=e;i=e;i-=r)s=du(i/r|0,t[i],t[i+1],s);return s&&lu(s,s.next)&&(yu(s),s=s.next),s}function Yl(t,e){if(!t)return t;e||(e=t);let n,r=t;do{if(n=!1,r.steiner||!lu(r,r.next)&&0!==au(r.prev,r,r.next))r=r.next;else {if(yu(r),r=e=r.prev,r===r.next)break;n=!0;}}while(n||r!==e);return e}function Zl(t,e,n,r,i,s,o){if(!t)return;!o&&s&&function(t,e,n,r){let i=t;do{0===i.z&&(i.z=nu(i.x,i.y,e,n,r)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next;}while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,function(t){let e,n=1;do{let r,i=t;t=null;let s=null;for(e=0;i;){e++;let o=i,a=0;for(let t=0;t0||l>0&&o;)0!==a&&(0===l||!o||i.z<=o.z)?(r=i,i=i.nextZ,a--):(r=o,o=o.nextZ,l--),s?s.nextZ=r:t=r,r.prevZ=s,s=r;i=o;}s.nextZ=null,n*=2;}while(e>1)}(i);}(t,r,i,s);let a=t;for(;t.prev!==t.next;){const l=t.prev,u=t.next;if(s?Wl(t,r,i,s):Hl(t))e.push(l.i,t.i,u.i),yu(t),t=u.next,a=u.next;else if((t=u)===a){o?1===o?Zl(t=Kl(Yl(t),e),e,n,r,i,s,2):2===o&&Jl(t,e,n,r,i,s):Zl(Yl(t),e,n,r,i,s,1);break}}}function Hl(t){const e=t.prev,n=t,r=t.next;if(au(e,n,r)>=0)return !1;const i=e.x,s=n.x,o=r.x,a=e.y,l=n.y,u=r.y,c=Math.min(i,s,o),h=Math.min(a,l,u),p=Math.max(i,s,o),f=Math.max(a,l,u);let d=r.next;for(;d!==e;){if(d.x>=c&&d.x<=p&&d.y>=h&&d.y<=f&&su(i,a,s,l,o,u,d.x,d.y)&&au(d.prev,d,d.next)>=0)return !1;d=d.next;}return !0}function Wl(t,e,n,r){const i=t.prev,s=t,o=t.next;if(au(i,s,o)>=0)return !1;const a=i.x,l=s.x,u=o.x,c=i.y,h=s.y,p=o.y,f=Math.min(a,l,u),d=Math.min(c,h,p),y=Math.max(a,l,u),m=Math.max(c,h,p),g=nu(f,d,e,n,r),x=nu(y,m,e,n,r);let v=t.prevZ,b=t.nextZ;for(;v&&v.z>=g&&b&&b.z<=x;){if(v.x>=f&&v.x<=y&&v.y>=d&&v.y<=m&&v!==i&&v!==o&&su(a,c,l,h,u,p,v.x,v.y)&&au(v.prev,v,v.next)>=0)return !1;if(v=v.prevZ,b.x>=f&&b.x<=y&&b.y>=d&&b.y<=m&&b!==i&&b!==o&&su(a,c,l,h,u,p,b.x,b.y)&&au(b.prev,b,b.next)>=0)return !1;b=b.nextZ;}for(;v&&v.z>=g;){if(v.x>=f&&v.x<=y&&v.y>=d&&v.y<=m&&v!==i&&v!==o&&su(a,c,l,h,u,p,v.x,v.y)&&au(v.prev,v,v.next)>=0)return !1;v=v.prevZ;}for(;b&&b.z<=x;){if(b.x>=f&&b.x<=y&&b.y>=d&&b.y<=m&&b!==i&&b!==o&&su(a,c,l,h,u,p,b.x,b.y)&&au(b.prev,b,b.next)>=0)return !1;b=b.nextZ;}return !0}function Kl(t,e){let n=t;do{const r=n.prev,i=n.next.next;!lu(r,i)&&uu(r,n,n.next,i)&&pu(r,i)&&pu(i,r)&&(e.push(r.i,n.i,i.i),yu(n),yu(n.next),n=t=i),n=n.next;}while(n!==t);return Yl(n)}function Jl(t,e,n,r,i,s){let o=t;do{let t=o.next.next;for(;t!==o.prev;){if(o.i!==t.i&&ou(o,t)){let a=fu(o,t);return o=Yl(o,o.next),a=Yl(a,a.next),Zl(o,e,n,r,i,s,0),void Zl(a,e,n,r,i,s,0)}t=t.next;}o=o.next;}while(o!==t)}function Ql(t,e){let n=t.x-e.x;return 0===n&&(n=t.y-e.y,0===n)&&(n=(t.next.y-t.y)/(t.next.x-t.x)-(e.next.y-e.y)/(e.next.x-e.x)),n}function tu(t,e){const n=function(t,e){let n=e;const r=t.x,i=t.y;let s,o=-1/0;if(lu(t,n))return n;do{if(lu(t,n.next))return n.next;if(i<=n.y&&i>=n.next.y&&n.next.y!==n.y){const t=n.x+(i-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(t<=r&&t>o&&(o=t,s=n.x=n.x&&n.x>=l&&r!==n.x&&iu(is.x||n.x===s.x&&eu(s,n)))&&(s=n,c=e);}n=n.next;}while(n!==a);return s}(t,e);if(!n)return e;const r=fu(n,t);return Yl(r,r.next),Yl(n,n.next)}function eu(t,e){return au(t.prev,t,e.prev)<0&&au(e.next,t,t.next)<0}function nu(t,e,n,r,i){return (t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=(t-n)*i|0)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=(e-r)*i|0)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function ru(t){let e=t,n=t;do{(e.x=(t-o)*(s-a)&&(t-o)*(r-a)>=(n-o)*(e-a)&&(n-o)*(s-a)>=(i-o)*(r-a)}function su(t,e,n,r,i,s,o,a){return !(t===o&&e===a)&&iu(t,e,n,r,i,s,o,a)}function ou(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){let n=t;do{if(n.i!==t.i&&n.next.i!==t.i&&n.i!==e.i&&n.next.i!==e.i&&uu(n,n.next,t,e))return !0;n=n.next;}while(n!==t);return !1}(t,e)&&(pu(t,e)&&pu(e,t)&&function(t,e){let n=t,r=!1;const i=(t.x+e.x)/2,s=(t.y+e.y)/2;do{n.y>s!=n.next.y>s&&n.next.y!==n.y&&i<(n.next.x-n.x)*(s-n.y)/(n.next.y-n.y)+n.x&&(r=!r),n=n.next;}while(n!==t);return r}(t,e)&&(au(t.prev,t,e.prev)||au(t,e.prev,e))||lu(t,e)&&au(t.prev,t,t.next)>0&&au(e.prev,e,e.next)>0)}function au(t,e,n){return (e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y)}function lu(t,e){return t.x===e.x&&t.y===e.y}function uu(t,e,n,r){const i=hu(au(t,e,n)),s=hu(au(t,e,r)),o=hu(au(n,r,t)),a=hu(au(n,r,e));return i!==s&&o!==a||!(0!==i||!cu(t,n,e))||!(0!==s||!cu(t,r,e))||!(0!==o||!cu(n,t,r))||!(0!==a||!cu(n,e,r))}function cu(t,e,n){return e.x<=Math.max(t.x,n.x)&&e.x>=Math.min(t.x,n.x)&&e.y<=Math.max(t.y,n.y)&&e.y>=Math.min(t.y,n.y)}function hu(t){return t>0?1:t<0?-1:0}function pu(t,e){return au(t.prev,t,t.next)<0?au(t,e,t.next)>=0&&au(t,t.prev,e)>=0:au(t,e,t.prev)<0||au(t,t.next,e)<0}function fu(t,e){const n=mu(t.i,t.x,t.y),r=mu(e.i,e.x,e.y),i=t.next,s=e.prev;return t.next=e,e.prev=t,n.next=i,i.prev=n,r.next=n,n.prev=r,s.next=r,r.prev=s,r}function du(t,e,n,r){const i=mu(t,e,n);return r?(i.next=r.next,i.prev=r,r.next.prev=i,r.next=i):(i.prev=i,i.next=i),i}function yu(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ);}function mu(t,e,n){return {i:t,x:e,y:n,prev:null,next:null,z:0,prevZ:null,nextZ:null,steiner:!1}}class gu{constructor(t,e){if(e>t)throw new Error("Min granularity must not be greater than base granularity.");this._baseZoomGranularity=t,this._minGranularity=e;}getGranularityForZoomLevel(t){return Math.max(Math.floor(this._baseZoomGranularity/(1<32767||e>32767)throw new Error("Vertex coordinates are out of signed 16 bit integer range.");const n=0|Math.round(t),r=0|Math.round(e),i=this._getKey(n,r);if(this._vertexDictionary.has(i))return this._vertexDictionary.get(i);const s=this._vertexBuffer.length/2;return this._vertexDictionary.set(i,s),this._vertexBuffer.push(n,r),s}_subdivideTrianglesScanline(t){if(this._granularity<2)return function(t,e){const n=[];for(let r=0;r0?(n.push(i),n.push(o),n.push(s)):(n.push(i),n.push(s),n.push(o));}return n}(this._vertexBuffer,t);const e=[],n=t.length;for(let r=0;r=1||v<=0)||y&&(ai)){u>=r&&u<=i&&s.push(n[(t+1)%3]);continue}!y&&x>0&&s.push(this._vertexToIndex(o+p*x,a+f*x));const b=o+p*Math.max(x,0),w=o+p*Math.min(v,1);d||this._generateIntraEdgeVertices(s,o,a,l,u,b,w),!y&&v<1&&s.push(this._vertexToIndex(o+p*v,a+f*v)),(y||u>=r&&u<=i)&&s.push(n[(t+1)%3]),!y&&(u<=r||u>=i)&&this._generateInterEdgeVertices(s,o,a,l,u,c,h,w,r,i);}return s}_generateIntraEdgeVertices(t,e,n,r,i,s,o){const a=r-e,l=i-n,u=0===l,c=u?Math.min(e,r):Math.min(s,o),h=u?Math.max(e,r):Math.max(s,o),p=Math.floor(c/this._granularityCellSize)+1,f=Math.ceil(h/this._granularityCellSize)-1;if(u?e=p;r--){const i=r*this._granularityCellSize;t.push(this._vertexToIndex(i,n+l*(i-e)/a));}}_generateInterEdgeVertices(t,e,n,r,i,s,o,a,l,u){const c=i-n,h=s-r,p=o-i,f=(l-i)/p,d=(u-i)/p,y=Math.min(f,d),m=Math.max(f,d),g=r+h*y;let x=Math.floor(Math.min(g,a)/this._granularityCellSize)+1,v=Math.ceil(Math.max(g,a)/this._granularityCellSize)-1,b=a=1||m<=0){const t=n-o,r=s+(e-s)*Math.min((l-o)/t,(u-o)/t);x=Math.floor(Math.min(r,a)/this._granularityCellSize)+1,v=Math.ceil(Math.max(r,a)/this._granularityCellSize)-1,b=a0?u:l;if(b)for(let e=x;e<=v;e++)t.push(this._vertexToIndex(e*this._granularityCellSize,_));else for(let e=v;e>=x;e--)t.push(this._vertexToIndex(e*this._granularityCellSize,_));}_generateOutline(t){const e=[];for(const n of t){const t=Su(n,this._granularity,!0),r=this._pointArrayToIndices(t),i=[];for(let t=1;ti!=(s===vu)?(t.push(e),t.push(n),t.push(this._vertexToIndex(r,s)),t.push(n),t.push(this._vertexToIndex(i,s)),t.push(this._vertexToIndex(r,s))):(t.push(n),t.push(e),t.push(this._vertexToIndex(r,s)),t.push(this._vertexToIndex(i,s)),t.push(n),t.push(this._vertexToIndex(r,s)));}_fillPoles(t,e,n){const r=this._vertexBuffer,i=T,s=t.length;for(let o=2;o80*n){a=t[0],l=t[1];let e=a,r=l;for(let s=n;se&&(e=n),i>r&&(r=i);}u=Math.max(e-a,r-l),u=0!==u?32767/u:0;}return Zl(s,o,n,a,l,u,0),o}(n,r),e=this._convertIndices(n,t);i=this._subdivideTrianglesScanline(e);}catch(t){console.error(t);}let s=[];return e&&(s=this._generateOutline(t)),this._ensureNoPoleVertices(),this._handlePoles(i),{verticesFlattened:this._vertexBuffer,indicesTriangles:i,indicesLineList:s}}_convertIndices(t,e){const n=[];for(const r of e)n.push(this._vertexToIndex(t[2*r],t[2*r+1]));return n}_pointArrayToIndices(t){const e=[];for(const n of t)e.push(this._vertexToIndex(n.x,n.y));return e}}function _u(t,e,n,r=!0){return new wu(n,e).subdividePolygonInternal(t,r)}function Su(t,e,r=!1){if(!t||t.length<1)return [];if(t.length<2)return [];const i=t[0],s=t[t.length-1],o=r&&(i.x!==s.x||i.y!==s.y);if(e<2)return o?[...t,t[0]]:[...t];const a=Math.floor(T/e),l=[];l.push(new n(t[0].x,t[0].y));const u=t.length,c=o?u:u-1;for(let e=0;e0?(Math.floor(x/a)+1)*a:(Math.ceil(x/a)-1)*a,e=y>0?(Math.floor(v/a)+1)*a:(Math.ceil(v/a)-1)*a,r=Math.abs(x-t),i=Math.abs(v-e),s=Math.abs(x-c),o=Math.abs(v-h),u=p?r/m:Number.POSITIVE_INFINITY,b=f?i/g:Number.POSITIVE_INFINITY;if((s<=r||!p)&&(o<=i||!f))break;if(u=0?o-1:s-1,i=(a+1)%s,l=t[2*e[r]],u=t[2*e[i]],c=t[2*e[o]],h=t[2*e[o]+1],p=t[2*e[a]+1];let f=!1;if(lu)f=!1;else {const n=p-h,s=-(t[2*e[a]]-c),o=h((u-c)*n+(t[2*e[i]+1]-h)*s)*o&&(f=!0);}if(f){const t=e[r],i=e[o],l=e[a];t!==i&&t!==l&&i!==l&&n.push(l,i,t),o--,o<0&&(o=s-1);}else {const t=e[i],r=e[o],l=e[a];t!==r&&t!==l&&r!==l&&n.push(l,r,t),a++,a>=s&&(a=0);}if(r===i)break}}function Mu(t,e,n,r,i,s,o,a,l){const u=i.length/2,c=o&&a&&l;if(uua.MAX_VERTEX_ARRAY_LENGTH&&(u=t.createNewSegment(e,n),l=a.count,y=!0,m=!0,g=!0,c=0);const x=ku(o,r,s,a,p,y,u),v=ku(o,r,s,a,f,m,u),b=ku(o,r,s,a,d,g,u);n.emplaceBack(c+x-l,c+v-l,c+b-l),u.primitiveLength++;}}(e,n,r,i,s,t),c&&function(t,e,n,r,i,s){const o=[];for(let t=0;tua.MAX_VERTEX_ARRAY_LENGTH&&(u=t.createNewSegment(e,n),l=a.count,d=!0,y=!0,c=0);const m=ku(o,r,s,a,p,d,u),g=ku(o,r,s,a,f,y,u);n.emplaceBack(c+m-l,c+g-l),u.primitiveLength++;}}(o,n,a,i,l,t),e.forceNewSegmentOnNextPrepare(),null==o||o.forceNewSegmentOnNextPrepare();}function ku(t,e,n,r,i,s,o){if(s){const s=r.count;return n(e[2*i],e[2*i+1]),t[i]=r.count,r.count++,o.vertexLength++,s}return t[i]}class Iu{constructor(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((t=>t.id)),this.index=t.index,this.hasDependencies=!1,this.patternFeatures=[],this.layoutVertexArray=new Zo,this.indexArray=new sa,this.indexArray2=new oa,this.programConfigurations=new $a(t.layers,t.zoom),this.segments=new ua,this.segments2=new ua,this.stateDependentLayerIds=this.layers.filter((t=>t.isStateDependent())).map((t=>t.id));}populate(t,e,n){this.hasDependencies=ql("fill",this.layers,e);const r=this.layers[0].layout.get("fill-sort-key"),i=!r.isConstant(),s=[];for(const{feature:o,id:a,index:l,sourceLayerIndex:u}of t){const t=this.layers[0]._featureFilter.needGeometry,c=Ga(o,t);if(!this.layers[0]._featureFilter.filter(new Cs(this.zoom),c,n))continue;const h=i?r.evaluate(c,{},n,e.availableImages):void 0,p={id:a,properties:o.properties,type:o.type,sourceLayerIndex:u,index:l,geometry:t?c.geometry:qa(o),patterns:{},sortKey:h};s.push(p);}i&&s.sort(((t,e)=>t.sortKey-e.sortKey));for(const r of s){const{geometry:i,index:s,sourceLayerIndex:o}=r;if(this.hasDependencies){const t=Gl("fill",this.layers,r,{zoom:this.zoom},e);this.patternFeatures.push(t);}else this.addFeature(r,i,s,n,{},e.subdivisionGranularity);e.featureIndex.insert(t[s].feature,i,s,o,this.index);}}update(t,e,n){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,{imagePositions:n});}addFeatures(t,e,n){for(const r of this.patternFeatures)this.addFeature(r,r.geometry,r.index,e,n,t.subdivisionGranularity);}isEmpty(){return 0===this.layoutVertexArray.length}uploadPending(){return !this.uploaded||this.programConfigurations.needsUpload}upload(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,jl),this.indexBuffer=t.createIndexBuffer(this.indexArray),this.indexBuffer2=t.createIndexBuffer(this.indexArray2)),this.programConfigurations.upload(t),this.uploaded=!0;}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.indexBuffer2.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.segments2.destroy());}addFeature(t,e,n,r,i,s){for(const t of rr(e,500)){const e=_u(t,r,s.fill.getGranularityForZoomLevel(r.z)),n=this.layoutVertexArray;Mu(((t,e)=>{n.emplaceBack(t,e);}),this.segments,this.layoutVertexArray,this.indexArray,e.verticesFlattened,e.indicesTriangles,this.segments2,this.indexArray2,e.indicesLineList);}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,n,{imagePositions:i,canonical:r});}}let Eu,Tu;ds("FillBucket",Iu,{omit:["layers","patternFeatures"]});var Fu={get paint(){return Tu=Tu||new Ks({"fill-antialias":new Xs(wt.paint_fill["fill-antialias"]),"fill-opacity":new Ys(wt.paint_fill["fill-opacity"]),"fill-color":new Ys(wt.paint_fill["fill-color"]),"fill-outline-color":new Ys(wt.paint_fill["fill-outline-color"]),"fill-translate":new Xs(wt.paint_fill["fill-translate"]),"fill-translate-anchor":new Xs(wt.paint_fill["fill-translate-anchor"]),"fill-pattern":new Zs(wt.paint_fill["fill-pattern"])})},get layout(){return Eu=Eu||new Ks({"fill-sort-key":new Ys(wt.layout_fill["fill-sort-key"])})}};class Pu extends to{constructor(t,e){super(t,Fu,e);}recalculate(t,e){super.recalculate(t,e);const n=this.paint._values["fill-outline-color"];"constant"===n.value.kind&&void 0===n.value.value&&(this.paint._values["fill-outline-color"]=this.paint._values["fill-color"]);}createBucket(t){return new Iu(t)}queryRadius(){return al(this.paint.get("fill-translate"))}queryIntersectsFeature({queryGeometry:t,geometry:e,transform:n,pixelsToTileUnits:r}){return Ka(ll(t,this.paint.get("fill-translate"),this.paint.get("fill-translate-anchor"),-n.bearingInRadians,r),e)}isTileClipped(){return !0}}const Du=ao([{name:"a_pos",components:2,type:"Int16"},{name:"a_normal_ed",components:4,type:"Int16"}],4),zu=ao([{name:"a_centroid",components:2,type:"Int16"}],4),{members:Bu}=Du;class Cu{constructor(t,e,n,r,i){this.properties={},this.extent=n,this.type=0,this.id=void 0,this._pbf=t,this._geometry=-1,this._keys=r,this._values=i,t.readFields(Vu,this,e);}loadGeometry(){const t=this._pbf;t.pos=this._geometry;const e=t.readVarint()+t.pos,r=[];let i,s=1,o=0,a=0,l=0;for(;t.pos>3;}if(o--,1===s||2===s)a+=t.readSVarint(),l+=t.readSVarint(),1===s&&(i&&r.push(i),i=[]),i&&i.push(new n(a,l));else {if(7!==s)throw new Error(`unknown command ${s}`);i&&i.push(i[0].clone());}}return i&&r.push(i),r}bbox(){const t=this._pbf;t.pos=this._geometry;const e=t.readVarint()+t.pos;let n=1,r=0,i=0,s=0,o=1/0,a=-1/0,l=1/0,u=-1/0;for(;t.pos>3;}if(r--,1===n||2===n)i+=t.readSVarint(),s+=t.readSVarint(),ia&&(a=i),su&&(u=s);else if(7!==n)throw new Error(`unknown command ${n}`)}return [o,l,a,u]}toGeoJSON(t,e,n){const r=this.extent*Math.pow(2,n),i=this.extent*t,s=this.extent*e,o=this.loadGeometry();function a(t){return [360*(t.x+i)/r-180,360/Math.PI*Math.atan(Math.exp((1-2*(t.y+s)/r)*Math.PI))-90]}function l(t){return t.map(a)}let u;if(1===this.type){const t=[];for(const e of o)t.push(e[0]);const e=l(t);u=1===t.length?{type:"Point",coordinates:e[0]}:{type:"MultiPoint",coordinates:e};}else if(2===this.type){const t=o.map(l);u=1===t.length?{type:"LineString",coordinates:t[0]}:{type:"MultiLineString",coordinates:t};}else {if(3!==this.type)throw new Error("unknown feature type");{const t=Lu(o),e=[];for(const n of t)e.push(n.map(l));u=1===e.length?{type:"Polygon",coordinates:e[0]}:{type:"MultiPolygon",coordinates:e};}}const c={type:"Feature",geometry:u,properties:this.properties};return null!=this.id&&(c.id=this.id),c}}function Vu(t,e,n){1===t?e.id=n.readVarint():2===t?function(t,e){const n=t.readVarint()+t.pos;for(;t.pos=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[t];const e=this._pbf.readVarint()+this._pbf.pos;return new Cu(this._pbf,e,this.extent,this._keys,this._values)}}function Ru(t,e,n){15===t?e.version=n.readVarint():1===t?e.name=n.readString():5===t?e.extent=n.readVarint():2===t?e._features.push(n.pos):3===t?e._keys.push(n.readString()):4===t&&e._values.push(function(t){let e=null;const n=t.readVarint()+t.pos;for(;t.pos>3;e=1===n?t.readString():2===n?t.readFloat():3===n?t.readDouble():4===n?t.readVarint64():5===n?t.readVarint():6===n?t.readSVarint():7===n?t.readBoolean():null;}if(null==e)throw new Error("unknown feature value");return e}(n));}class Nu{constructor(t,e){this.layers=t.readFields(Uu,{},e);}}function Uu(t,e,n){if(3===t){const t=new $u(n,n.readVarint()+n.pos);t.length&&(e[t.name]=t);}}const ju=Math.pow(2,13);function qu(t,e,n,r,i,s,o,a){t.emplaceBack(e,n,2*Math.floor(r*ju)+o,i*ju*2,s*ju*2,Math.round(a));}class Gu{constructor(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((t=>t.id)),this.index=t.index,this.hasDependencies=!1,this.layoutVertexArray=new Ho,this.centroidVertexArray=new Xo,this.indexArray=new sa,this.programConfigurations=new $a(t.layers,t.zoom),this.segments=new ua,this.stateDependentLayerIds=this.layers.filter((t=>t.isStateDependent())).map((t=>t.id));}populate(t,e,n){this.features=[],this.hasDependencies=ql("fill-extrusion",this.layers,e);for(const{feature:r,id:i,index:s,sourceLayerIndex:o}of t){const t=this.layers[0]._featureFilter.needGeometry,a=Ga(r,t);if(!this.layers[0]._featureFilter.filter(new Cs(this.zoom),a,n))continue;const l={id:i,sourceLayerIndex:o,index:s,geometry:t?a.geometry:qa(r),properties:r.properties,type:r.type,patterns:{}};this.hasDependencies?this.features.push(Gl("fill-extrusion",this.layers,l,{zoom:this.zoom},e)):this.addFeature(l,l.geometry,s,n,{},e.subdivisionGranularity),e.featureIndex.insert(r,l.geometry,s,o,this.index,!0);}}addFeatures(t,e,n){for(const r of this.features){const{geometry:i}=r;this.addFeature(r,i,r.index,e,n,t.subdivisionGranularity);}}update(t,e,n){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,{imagePositions:n});}isEmpty(){return 0===this.layoutVertexArray.length&&0===this.centroidVertexArray.length}uploadPending(){return !this.uploaded||this.programConfigurations.needsUpload}upload(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,Bu),this.centroidVertexBuffer=t.createVertexBuffer(this.centroidVertexArray,zu.members,!0),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0;}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.centroidVertexBuffer.destroy());}addFeature(t,e,n,r,i,s){for(const n of rr(e,500)){const e={x:0,y:0,sampleCount:0},i=this.layoutVertexArray.length;this.processPolygon(e,r,t,n,s);const o=this.layoutVertexArray.length-i,a=Math.floor(e.x/e.sampleCount),l=Math.floor(e.y/e.sampleCount);for(let t=0;t{qu(u,t,e,0,0,1,1,0);}),this.segments,this.layoutVertexArray,this.indexArray,l.verticesFlattened,l.indicesTriangles);}_generateSideFaces(t,e){let n=0;for(let r=1;rua.MAX_VERTEX_ARRAY_LENGTH&&(e.segment=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));const o=i.sub(s)._perp()._unit(),a=s.dist(i);n+a>32768&&(n=0),qu(this.layoutVertexArray,i.x,i.y,o.x,o.y,0,0,n),qu(this.layoutVertexArray,i.x,i.y,o.x,o.y,0,1,n),n+=a,qu(this.layoutVertexArray,s.x,s.y,o.x,o.y,0,0,n),qu(this.layoutVertexArray,s.x,s.y,o.x,o.y,0,1,n);const l=e.segment.vertexLength;this.indexArray.emplaceBack(l,l+2,l+1),this.indexArray.emplaceBack(l+1,l+2,l+3),e.segment.vertexLength+=4,e.segment.primitiveLength+=2;}}}function Xu(t,e){for(let n=0;nT)||t.y===e.y&&(t.y<0||t.y>T)}function Zu(t){return t.every((t=>t.x<0))||t.every((t=>t.x>T))||t.every((t=>t.y<0))||t.every((t=>t.y>T))}let Hu;ds("FillExtrusionBucket",Gu,{omit:["layers","features"]});var Wu={get paint(){return Hu=Hu||new Ks({"fill-extrusion-opacity":new Xs(wt["paint_fill-extrusion"]["fill-extrusion-opacity"]),"fill-extrusion-color":new Ys(wt["paint_fill-extrusion"]["fill-extrusion-color"]),"fill-extrusion-translate":new Xs(wt["paint_fill-extrusion"]["fill-extrusion-translate"]),"fill-extrusion-translate-anchor":new Xs(wt["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),"fill-extrusion-pattern":new Zs(wt["paint_fill-extrusion"]["fill-extrusion-pattern"]),"fill-extrusion-height":new Ys(wt["paint_fill-extrusion"]["fill-extrusion-height"]),"fill-extrusion-base":new Ys(wt["paint_fill-extrusion"]["fill-extrusion-base"]),"fill-extrusion-vertical-gradient":new Xs(wt["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"])})}};class Ku extends to{constructor(t,e){super(t,Wu,e);}createBucket(t){return new Gu(t)}queryRadius(){return al(this.paint.get("fill-extrusion-translate"))}is3D(){return !0}queryIntersectsFeature({queryGeometry:t,feature:e,featureState:r,geometry:i,transform:s,pixelsToTileUnits:o,pixelPosMatrix:a}){const l=ll(t,this.paint.get("fill-extrusion-translate"),this.paint.get("fill-extrusion-translate-anchor"),-s.bearingInRadians,o),u=this.paint.get("fill-extrusion-height").evaluate(e,r),c=this.paint.get("fill-extrusion-base").evaluate(e,r),h=function(t,e){const r=[];for(const i of t){const t=[i.x,i.y,0,1];A(t,t,e),r.push(new n(t[0]/t[3],t[1]/t[3]));}return r}(l,a),p=function(t,e,r,i){const s=[],o=[],a=i[8]*e,l=i[9]*e,u=i[10]*e,c=i[11]*e,h=i[8]*r,p=i[9]*r,f=i[10]*r,d=i[11]*r;for(const e of t){const t=[],r=[];for(const s of e){const e=s.x,o=s.y,y=i[0]*e+i[4]*o+i[12],m=i[1]*e+i[5]*o+i[13],g=i[2]*e+i[6]*o+i[14],x=i[3]*e+i[7]*o+i[15],v=g+u,b=x+c,w=y+h,_=m+p,S=g+f,A=x+d,M=new n((y+a)/b,(m+l)/b);M.z=v/b,t.push(M);const k=new n(w/A,_/A);k.z=S/A,r.push(k);}s.push(t),o.push(r);}return [s,o]}(i,c,u,a);return function(t,e,n){let r=1/0;Ka(n,e)&&(r=Qu(n,e[0]));for(let i=0;i>4;if(1!==r)throw new Error(`Got v${r} data when expected v1.`);const i=tc[15&n];if(!i)throw new Error("Unrecognized array type.");const[s]=new Uint16Array(t,2,1),[o]=new Uint32Array(t,4,1);return new ec(o,s,i,t)}constructor(t,e=64,n=Float64Array,r){if(isNaN(t)||t<0)throw new Error(`Unpexpected numItems value: ${t}.`);this.numItems=+t,this.nodeSize=Math.min(Math.max(+e,2),65535),this.ArrayType=n,this.IndexArrayType=t<65536?Uint16Array:Uint32Array;const i=tc.indexOf(this.ArrayType),s=2*t*this.ArrayType.BYTES_PER_ELEMENT,o=t*this.IndexArrayType.BYTES_PER_ELEMENT,a=(8-o%8)%8;if(i<0)throw new Error(`Unexpected typed array class: ${n}.`);r&&r instanceof ArrayBuffer?(this.data=r,this.ids=new this.IndexArrayType(this.data,8,t),this.coords=new this.ArrayType(this.data,8+o+a,2*t),this._pos=2*t,this._finished=!0):(this.data=new ArrayBuffer(8+s+o+a),this.ids=new this.IndexArrayType(this.data,8,t),this.coords=new this.ArrayType(this.data,8+o+a,2*t),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,16+i]),new Uint16Array(this.data,2,1)[0]=e,new Uint32Array(this.data,4,1)[0]=t);}add(t,e){const n=this._pos>>1;return this.ids[n]=n,this.coords[this._pos++]=t,this.coords[this._pos++]=e,n}finish(){const t=this._pos>>1;if(t!==this.numItems)throw new Error(`Added ${t} items when expected ${this.numItems}.`);return nc(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(t,e,n,r){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:i,coords:s,nodeSize:o}=this,a=[0,i.length-1,0],l=[];for(;a.length;){const u=a.pop()||0,c=a.pop()||0,h=a.pop()||0;if(c-h<=o){for(let o=h;o<=c;o++){const a=s[2*o],u=s[2*o+1];a>=t&&a<=n&&u>=e&&u<=r&&l.push(i[o]);}continue}const p=h+c>>1,f=s[2*p],d=s[2*p+1];f>=t&&f<=n&&d>=e&&d<=r&&l.push(i[p]),(0===u?t<=f:e<=d)&&(a.push(h),a.push(p-1),a.push(1-u)),(0===u?n>=f:r>=d)&&(a.push(p+1),a.push(c),a.push(1-u));}return l}within(t,e,n){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:r,coords:i,nodeSize:s}=this,o=[0,r.length-1,0],a=[],l=n*n;for(;o.length;){const u=o.pop()||0,c=o.pop()||0,h=o.pop()||0;if(c-h<=s){for(let n=h;n<=c;n++)oc(i[2*n],i[2*n+1],t,e)<=l&&a.push(r[n]);continue}const p=h+c>>1,f=i[2*p],d=i[2*p+1];oc(f,d,t,e)<=l&&a.push(r[p]),(0===u?t-n<=f:e-n<=d)&&(o.push(h),o.push(p-1),o.push(1-u)),(0===u?t+n>=f:e+n>=d)&&(o.push(p+1),o.push(c),o.push(1-u));}return a}}function nc(t,e,n,r,i,s){if(i-r<=n)return;const o=r+i>>1;rc(t,e,o,r,i,s),nc(t,e,n,r,o-1,1-s),nc(t,e,n,o+1,i,1-s);}function rc(t,e,n,r,i,s){for(;i>r;){if(i-r>600){const o=i-r+1,a=n-r+1,l=Math.log(o),u=.5*Math.exp(2*l/3),c=.5*Math.sqrt(l*u*(o-u)/o)*(a-o/2<0?-1:1);rc(t,e,n,Math.max(r,Math.floor(n-a*u/o+c)),Math.min(i,Math.floor(n+(o-a)*u/o+c)),s);}const o=e[2*n+s];let a=r,l=i;for(ic(t,e,r,n),e[2*i+s]>o&&ic(t,e,r,i);ao;)l--;}e[2*r+s]===o?ic(t,e,r,l):(l++,ic(t,e,l,i)),l<=n&&(r=l+1),n<=l&&(i=l-1);}}function ic(t,e,n,r){sc(t,n,r),sc(e,2*n,2*r),sc(e,2*n+1,2*r+1);}function sc(t,e,n){const r=t[e];t[e]=t[n],t[n]=r;}function oc(t,e,n,r){const i=t-n,s=e-r;return i*i+s*s}function ac(t,e,n,r){let i=r;const s=e+(n-e>>1);let o,a=n-e;const l=t[e],u=t[e+1],c=t[n],h=t[n+1];for(let r=e+3;ri)o=r,i=e;else if(e===i){const t=Math.abs(r-s);tr&&(o-e>3&&ac(t,e,o,r),t[o+2]=i,n-o>3&&ac(t,o,n,r));}function lc(t,e,n,r,i,s){let o=i-n,a=s-r;if(0!==o||0!==a){const l=((t-n)*o+(e-r)*a)/(o*o+a*a);l>1?(n=i,r=s):l>0&&(n+=o*l,r+=a*l);}return o=t-n,a=e-r,o*o+a*a}function uc(t,e,n,r){const i={type:e,geom:n},s={id:null==t?null:t,type:i.type,geometry:i.geom,tags:r,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};switch(i.type){case "Point":case "MultiPoint":hc(s,i.geom);break;case "LineString":hc(s,i.geom.points);break;case "Polygon":hc(s,i.geom[0].points);break;case "MultiLineString":for(const t of i.geom)hc(s,t.points);break;case "MultiPolygon":for(const t of i.geom)hc(s,t[0].points);}return s}function cc(t){t.points.length>64&&(t.points=new Float64Array(t.points));}function hc(t,e){for(let n=0;n0&&(o+=r?(i*l-a*s)/2:Math.sqrt(Math.pow(a-i,2)+Math.pow(l-s,2))),i=a,s=l;}const a=e.points.length-3;e.points[2]=1,n>0&&ac(e.points,0,a,n),e.points[a+2]=1,cc(e),e.size=Math.abs(o),e.start=0,e.end=e.size;}function yc(t,e,n,r){for(let i=0;i1?1:n}function xc(t){const e={type:"Feature",geometry:vc(t),properties:t.tags};return null!=t.id&&(e.id=t.id),e}function vc(t){const{type:e,geometry:n}=t;switch(e){case "Point":return {type:e,coordinates:wc(n[0],n[1])};case "MultiPoint":return {type:e,coordinates:bc(n)};case "LineString":return {type:e,coordinates:bc(n.points)};case "MultiLineString":case "Polygon":return {type:e,coordinates:n.map((t=>bc(t.points)))};case "MultiPolygon":return {type:e,coordinates:n.map((t=>t.map((t=>bc(t.points)))))}}}function bc(t){const e=[];for(let n=0;n=(n/=e)&&o=r)return null;const l=[];for(const e of t){const t=i===Ac.X?e.minX:e.minY,s=i===Ac.X?e.maxX:e.maxY;if(t>=n&&s=r))switch(e.type){case "Point":case "MultiPoint":kc(e,l,n,r,i);continue;case "LineString":Ic(e,l,n,r,i,a);continue;case "MultiLineString":Ec(e,l,n,r,i);continue;case "Polygon":Tc(e,l,n,r,i);continue;case "MultiPolygon":Fc(e,l,n,r,i);continue}}return l.length?l:null}function kc(t,e,n,r,i){const s=[];((function(t,e,n,r,i){for(let s=0;s=n&&o<=r&&Bc(e,t[s],t[s+1],t[s+2]);}}))(t.geometry,s,n,r,i),s.length&&e.push(uc(t.id,3===s.length?"Point":"MultiPoint",s,t.tags));}function Ic(t,e,n,r,i,s){const o=[];if(Pc(t.geometry,o,n,r,i,!1,s.lineMetrics),o.length)if(s.lineMetrics)for(const n of o)e.push(uc(t.id,"LineString",n,t.tags));else e.push(o.length>1?uc(t.id,"MultiLineString",o,t.tags):uc(t.id,"LineString",o[0],t.tags));}function Ec(t,e,n,r,i){const s=[];zc(t.geometry,s,n,r,i,!1),s.length&&e.push(1!==s.length?uc(t.id,"MultiLineString",s,t.tags):uc(t.id,"LineString",s[0],t.tags));}function Tc(t,e,n,r,i){const s=[];zc(t.geometry,s,n,r,i,!0),s.length&&e.push(uc(t.id,"Polygon",s,t.tags));}function Fc(t,e,n,r,i){const s=[];for(const e of t.geometry){const t=[];zc(e,t,n,r,i,!0),t.length&&s.push(t);}s.length&&e.push(uc(t.id,"MultiPolygon",s,t.tags));}function Pc(t,e,n,r,i,s,o){let a=Dc(t);const l=i===Ac.X?Cc:Vc;let u,c,h=t.start;for(let p=0;pn&&(c=l(a,f,d,m,g,n),o&&(a.start=h+u*c)):x>r?v=n&&(c=l(a,f,d,m,g,n),b=!0),v>r&&x<=r&&(c=l(a,f,d,m,g,r),b=!0),!s&&b&&(o&&(a.end=h+u*c),e.push(a),a=Dc(t)),o&&(h+=u);}let p=t.points.length-3;const f=t.points[p],d=t.points[p+1],y=i===Ac.X?f:d;y>=n&&y<=r&&Bc(a.points,f,d,t.points[p+2]),p=a.points.length-3,s&&p>=3&&(a.points[p]!==a.points[0]||a.points[p+1]!==a.points[1])&&Bc(a.points,a.points[0],a.points[1],a.points[2]),a.points.length&&(cc(a),e.push(a));}function Dc(t){return {points:[],size:t.size,start:t.start,end:t.end}}function zc(t,e,n,r,i,s){for(const o of t)Pc(o,e,n,r,i,s,!1);}function Bc(t,e,n,r){t.push(e,n,r);}function Cc(t,e,n,r,i,s){const o=(s-e)/(r-e);return Bc(t.points,s,n+(i-n)*o,1),o}function Vc(t,e,n,r,i,s){const o=(s-n)/(i-n);return Bc(t.points,e+(r-e)*o,s,1),o}function Lc(t,e){const n=e.buffer/e.extent;let r=t;const i=Mc(t,1,-1-n,n,Ac.X,-1,2,e),s=Mc(t,1,1-n,2+n,Ac.X,-1,2,e);return i||s?(r=Mc(t,1,-n,1+n,Ac.X,-1,2,e)||[],i&&(r=Oc(i,1).concat(r)),s&&(r=r.concat(Oc(s,-1))),r):r}function Oc(t,e){const n=[];for(const r of t)switch(r.type){case "Point":case "MultiPoint":{const t=$c(r.geometry,e);n.push(uc(r.id,r.type,t,r.tags));continue}case "LineString":{const t=Rc(r.geometry,e);n.push(uc(r.id,r.type,t,r.tags));continue}case "MultiLineString":case "Polygon":{const t=[];for(const n of r.geometry)t.push(Rc(n,e));n.push(uc(r.id,r.type,t,r.tags));continue}case "MultiPolygon":{const t=[];for(const n of r.geometry){const r=[];for(const t of n)r.push(Rc(t,e));t.push(r);}n.push(uc(r.id,r.type,t,r.tags));continue}}return n}function $c(t,e){const n=[];for(let r=0;r0||e.addOrUpdateProperties?.length>0;if(r){const r=t[0];let s=pc({type:"FeatureCollection",features:[{type:"Feature",id:r.id,geometry:e.newGeometry,properties:i?Uc(r.tags,e):r.tags}]},n);return s=Lc(s,n),s}if(i){const n=[];for(const r of t){const t={...r};t.tags=Uc(t.tags,e),n.push(t);}return n}return t}function Uc(t,e){if(e.removeAllProperties)return {};const n={...t||{}};if(e.removeProperties)for(const t of e.removeProperties)delete n[t];if(e.addOrUpdateProperties)for(const{key:t,value:r}of e.addOrUpdateProperties)n[t]=r;return n}!function(t){t[t.X=0]="X",t[t.Y=1]="Y";}(Ac||(Ac={}));const jc={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:t=>t};class qc{constructor(t){this.options=Object.assign(Object.create(jc),t),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[],this.points=[];}load(t){const e=[];for(const n of t){if(!n.geometry)continue;const[t,r]=n.geometry.coordinates,[i,s]=[mc(t),gc(r)];e.push({id:n.id,type:"Point",geometry:[i,s],tags:n.properties});}this.createIndex(e);}initialize(t){const e=[];for(const n of t)"Point"===n.type&&e.push(n);this.createIndex(e);}updateIndex(t,e,n){this.options=Object.assign(Object.create(jc),n.clusterOptions),this.initialize(t);}createIndex(t){const{log:e,minZoom:n,maxZoom:r}=this.options;e&&console.time("total time");const i=`prepare ${t.length} points`;e&&console.time(i),this.points=t;const s=[];for(let e=0;e=n;t--){const n=Date.now();o=this.trees[t]=this.createTree(this.cluster(o,t)),e&&console.log("z%d: %d clusters in %dms",t,o.numItems,Date.now()-n);}e&&console.timeEnd("total time");}getClusters(t,e){return this.getClustersInternal(t,e).map((t=>xc(t)))}getClustersInternal(t,e){let n=((t[0]+180)%360+360)%360-180;const r=Math.max(-90,Math.min(90,t[1]));let i=180===t[2]?180:((t[2]+180)%360+360)%360-180;const s=Math.max(-90,Math.min(90,t[3]));if(t[2]-t[0]>=360)n=-180,i=180;else if(n>i){const t=this.getClustersInternal([n,r,180,s],e),o=this.getClustersInternal([-180,r,i,s],e);return t.concat(o)}const o=this.trees[this.limitZoom(e)],a=o.range(mc(n),gc(s),mc(i),gc(r)),l=o.flatData,u=[];for(const t of a){const e=this.stride*t;u.push(l[e+5]>1?Gc(l,e,this.clusterProps):this.points[l[e+3]]);}return u}getChildren(t){const e=this.getOriginId(t),n=this.getOriginZoom(t),r=new Error("No cluster with the specified id: "+t),i=this.trees[n];if(!i)throw r;const s=i.flatData;if(e*this.stride>=s.length)throw r;const o=this.options.radius/(this.options.extent*Math.pow(2,n-1)),a=i.within(s[e*this.stride],s[e*this.stride+1],o),l=[];for(const e of a){const n=e*this.stride;s[n+4]===t&&l.push(s[n+5]>1?Xc(s,n,this.clusterProps):xc(this.points[s[n+3]]));}if(0===l.length)throw r;return l}getLeaves(t,e,n){const r=[];return this.appendLeaves(r,t,e=e||10,n=n||0,0),r}getTile(t,e,n){const r=this.trees[this.limitZoom(t)];if(!r)return null;const i=Math.pow(2,t),{extent:s,radius:o}=this.options,a=o/s,l=(n-a)/i,u=(n+1+a)/i,c={transformed:!0,features:[],source:null,x:e,y:n,z:t};return this.addTileFeatures(r.range((e-a)/i,l,(e+1+a)/i,u),r.flatData,e,n,i,c),0===e&&this.addTileFeatures(r.range(1-a/i,l,1,u),r.flatData,i,n,i,c),e===i-1&&this.addTileFeatures(r.range(0,l,a/i,u),r.flatData,-1,n,i,c),c}getClusterExpansionZoom(t){return this.getOriginZoom(t)}appendLeaves(t,e,n,r,i){const s=this.getChildren(e);for(const e of s){const s=e.properties;if(s?.cluster?i+s.point_count<=r?i+=s.point_count:i=this.appendLeaves(t,s.cluster_id,n,r,i):i1;let l,u,c;if(a)l=Yc(e,t,this.clusterProps),u=e[t],c=e[t+1];else {const n=this.points[e[t+3]];l=n.tags,[u,c]=n.geometry;}const h={type:1,geometry:[[Math.round(this.options.extent*(u*i-n)),Math.round(this.options.extent*(c*i-r))]],tags:l};let p;p=a||this.options.generateId?e[t+3]:this.points[e[t+3]].id,void 0!==p&&(h.id=p),s.features.push(h);}}limitZoom(t){return Math.max(this.options.minZoom,Math.min(Math.floor(+t),this.options.maxZoom+1))}cluster(t,e){const{radius:n,extent:r,reduce:i,minPoints:s}=this.options,o=n/(r*Math.pow(2,e)),a=t.flatData,l=[],u=this.stride;for(let n=0;ne&&(f+=a[n+5]);}if(f>p&&f>=s){let t,s=r*p,o=c*p,d=-1;const y=(n/u<<5)+(e+1)+this.points.length;for(const r of h){const l=r*u;if(a[l+2]<=e)continue;a[l+2]=e;const c=a[l+5];s+=a[l]*c,o+=a[l+1]*c,a[l+4]=y,i&&(t||(t=this.map(a,n,!0),d=this.clusterProps.length,this.clusterProps.push(t)),i(t,this.map(a,l)));}a[n+4]=y,l.push(s/f,o/f,1/0,y,-1,f),i&&l.push(d);}else {for(let t=0;t1)for(const t of h){const n=t*u;if(!(a[n+2]<=e)){a[n+2]=e;for(let t=0;t>5}getOriginZoom(t){return (t-this.points.length)%32}map(t,e,n){if(t[e+5]>1){const r=this.clusterProps[t[e+6]];return n?Object.assign({},r):r}const r=this.points[t[e+3]].tags,i=this.options.map(r);return n&&i===r?Object.assign({},i):i}}function Gc(t,e,n){return {id:t[e+3],type:"Point",tags:Yc(t,e,n),geometry:[t[e],t[e+1]]}}function Xc(t,e,n){return {type:"Feature",id:t[e+3],properties:Yc(t,e,n),geometry:{type:"Point",coordinates:[_c(t[e]),Sc(t[e+1])]}}}function Yc(t,e,n){const r=t[e+5],i=r>=1e4?`${Math.round(r/1e3)}k`:r>=1e3?Math.round(r/100)/10+"k":r,s=t[e+6],o=-1===s?{}:Object.assign({},n[s]);return Object.assign(o,{cluster:!0,cluster_id:t[e+3],point_count:r,point_count_abbreviated:i})}const Zc="geojsonvt_clip_start",Hc="geojsonvt_clip_end";function Wc(t,e,n,r,i){const s=e===i.maxZoom?0:i.tolerance/((1<0&&e.size<(i?o:r))return void(n.numPoints+=e.points.length/3);const a=[];for(let t=0;to)&&(n.numSimplified++,a.push(e.points[t],e.points[t+1])),n.numPoints++;i&&function(t,e){let n=0;for(let e=0,r=t.length,i=r-2;e0===e)for(let e=0,n=t.length;e1&&(console.log("invalidating tiles"),console.time("invalidating")),this.invalidateTiles(e),n.debug>1&&console.timeEnd("invalidating");const[r,i,s]=[0,0,0],o=Wc(t,r,i,s,n);o.source=t;const a=ih(r,i,s);if(this.tiles[a]=o,this.tileCoords.push({z:r,x:i,y:s,id:a}),n.debug){const t=`z${r}`;this.stats[t]=(this.stats[t]||0)+1,this.total++;}}getClusterExpansionZoom(t){return null}getChildren(t){return null}getLeaves(t,e,n){return null}getTile(t,e,n){const{extent:r,debug:i}=this.options,s=1<1&&console.log("drilling down to z%d-%d-%d",t,e,n);let a,l=t,u=e,c=n;for(;!a&&l>0;)l--,u>>=1,c>>=1,a=this.tiles[ih(l,u,c)];return a?.source?(i>1&&(console.log("found parent tile z%d-%d-%d",l,u,c),console.time("drilling down")),this.splitTile(a.source,l,u,c,t,e,n),i>1&&console.timeEnd("drilling down"),this.tiles[o]?Qc(this.tiles[o],r):null):null}splitTile(t,e,n,r,i,s,o){const a=[t,e,n,r],l=this.options,u=l.debug;for(;a.length;){r=a.pop(),n=a.pop(),e=a.pop(),t=a.pop();const c=1<1&&console.time("creation"),p=this.tiles[h]=Wc(t,e,n,r,l),this.tileCoords.push({z:e,x:n,y:r,id:h}),u)){u>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",e,n,r,p.numFeatures,p.numPoints,p.numSimplified),console.timeEnd("creation"));const t=`z${e}`;this.stats[t]=(this.stats[t]||0)+1,this.total++;}if(p.source=t,null==i){if(e===l.indexMaxZoom||p.numPoints<=l.indexMaxPoints)continue}else {if(e===l.maxZoom||e===i)continue;if(null!=i){const t=i-e;if(n!==s>>t||r!==o>>t)continue}}if(p.source=null,!t.length)continue;u>1&&console.time("clipping");const f=.5*l.buffer/l.extent,d=.5-f,y=.5+f,m=1+f;let g=null,x=null,v=null,b=null;const w=Mc(t,c,n-f,n+y,Ac.X,p.minX,p.maxX,l),_=Mc(t,c,n+d,n+m,Ac.X,p.minX,p.maxX,l);w&&(g=Mc(w,c,r-f,r+y,Ac.Y,p.minY,p.maxY,l),x=Mc(w,c,r+d,r+m,Ac.Y,p.minY,p.maxY,l)),_&&(v=Mc(_,c,r-f,r+y,Ac.Y,p.minY,p.maxY,l),b=Mc(_,c,r+d,r+m,Ac.Y,p.minY,p.maxY,l)),u>1&&console.timeEnd("clipping"),a.push(g||[],e+1,2*n,2*r),a.push(x||[],e+1,2*n,2*r+1),a.push(v||[],e+1,2*n+1,2*r),a.push(b||[],e+1,2*n+1,2*r+1);}}invalidateTiles(t){if(!t.length)return;const e=this.options,{debug:n}=e;let r=1/0,i=-1/0,s=1/0,o=-1/0;for(const e of t)r=Math.min(r,e.minX),i=Math.max(i,e.maxX),s=Math.min(s,e.minY),o=Math.max(o,e.maxY);const a=e.buffer/e.extent,l=new Set;for(const e in this.tiles){const u=this.tiles[e],c=1<=p||o=d)continue;let y=!1;for(const e of t)if(e.maxX>=h&&e.minX=f&&e.minY1&&console.log("invalidate tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",u.z,u.x,u.y,u.numFeatures,u.numPoints,u.numSimplified);const t=`z${u.z}`;this.stats[t]=(this.stats[t]||0)-1,this.total--;}delete this.tiles[e],l.add(e);}}l.size&&(this.tileCoords=this.tileCoords.filter((t=>!l.has(t.id))));}}function ih(t,e,n){return 32*((1<t.id)),this.index=t.index,this.hasDependencies=!1,this.patternFeatures=[],this.lineClipsArray=[],this.gradients={};for(const t of this.layers)this.gradients[t.id]={};this.layoutVertexArray=new Wo,this.layoutVertexArray2=new Ko,this.indexArray=new sa,this.programConfigurations=new $a(t.layers,t.zoom),this.segments=new ua,this.maxLineLength=0,this.stateDependentLayerIds=this.layers.filter((t=>t.isStateDependent())).map((t=>t.id));}populate(t,e,n){this.hasDependencies=ql("line",this.layers,e)||this.hasLineDasharray(this.layers);const r=this.layers[0].layout.get("line-sort-key"),i=!r.isConstant(),s=[];for(const{feature:e,id:o,index:a,sourceLayerIndex:l}of t){const t=this.layers[0]._featureFilter.needGeometry,u=Ga(e,t);if(!this.layers[0]._featureFilter.filter(new Cs(this.zoom),u,n))continue;const c=i?r.evaluate(u,{},n):void 0,h={id:o,properties:e.properties,type:e.type,sourceLayerIndex:l,index:a,geometry:t?u.geometry:qa(e),patterns:{},dashes:{},sortKey:c};s.push(h);}i&&s.sort(((t,e)=>t.sortKey-e.sortKey));for(const r of s){const{geometry:i,index:s,sourceLayerIndex:o}=r;this.hasDependencies?(ql("line",this.layers,e)?Gl("line",this.layers,r,{zoom:this.zoom},e):this.hasLineDasharray(this.layers)&&this.addLineDashDependencies(this.layers,r,this.zoom,e),this.patternFeatures.push(r)):this.addFeature(r,i,s,n,{},{},e.subdivisionGranularity),e.featureIndex.insert(t[s].feature,i,s,o,this.index);}}update(t,e,n,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,{imagePositions:n,dashPositions:r});}addFeatures(t,e,n,r){for(const i of this.patternFeatures)this.addFeature(i,i.geometry,i.index,e,n,r,t.subdivisionGranularity);}isEmpty(){return 0===this.layoutVertexArray.length}uploadPending(){return !this.uploaded||this.programConfigurations.needsUpload}upload(t){this.uploaded||(0!==this.layoutVertexArray2.length&&(this.layoutVertexBuffer2=t.createVertexBuffer(this.layoutVertexArray2,uh)),this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,ah),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0;}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy());}lineFeatureClips(t){if(t.properties&&Object.hasOwn(t.properties,Zc)&&Object.hasOwn(t.properties,Hc))return {start:+t.properties[Zc],end:+t.properties[Hc]}}addFeature(t,e,n,r,i,s,o){const a=this.layers[0].layout,l=a.get("line-join").evaluate(t,{}),u=a.get("line-cap").evaluate(t,{}),c=a.get("line-miter-limit").evaluate(t,{}),h=a.get("line-round-limit").evaluate(t,{});this.lineClips=this.lineFeatureClips(t);for(const n of e)this.addLine(n,t,l,u,c,h,r,o);this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,n,{imagePositions:i,dashPositions:s,canonical:r});}addLine(t,e,n,r,i,s,o,a){if(this.distance=0,this.scaledDistance=0,this.totalDistance=0,t=Su(t,o?a.line.getGranularityForZoomLevel(o.z):1),this.lineClips){this.lineClipsArray.push(this.lineClips);for(let e=0;e=2&&t[u-1].equals(t[u-2]);)u--;let c=0;for(;c0;if(w&&e>c){const t=f.dist(d);if(t>2*h){const e=f.sub(f.sub(d)._mult(h/t)._round());this.updateDistance(d,e),this.addCurrentVertex(e,m,0,0,p),d=e;}}const S=d&&y;let A=S?n:l?"butt":r;if(S&&"round"===A&&(vi&&(A="bevel"),"bevel"===A&&(v>2&&(A="flipbevel"),v100)o=g.mult(-1);else {const t=v*m.add(g).mag()/m.sub(g).mag();o._perp()._mult(t*(_?-1:1));}this.addCurrentVertex(f,o,0,0,p),this.addCurrentVertex(f,o.mult(-1),0,0,p);}else if("bevel"===A||"fakeround"===A){const t=-Math.sqrt(v*v-1),e=_?t:0,n=_?0:t;if(d&&this.addCurrentVertex(f,m,e,n,p),"fakeround"===A){const t=Math.round(180*b/Math.PI/20);for(let e=1;e2*h){const e=f.add(y.sub(f)._mult(h/t)._round());this.updateDistance(f,e),this.addCurrentVertex(e,g,0,0,p),f=e;}}}}addCurrentVertex(t,e,n,r,i,s=!1){const o=e.y*r-e.x,a=-e.y-e.x*r;this.addHalfVertex(t,e.x+e.y*n,e.y-e.x*n,s,!1,n,i),this.addHalfVertex(t,o,a,s,!0,-r,i),this.distance>hh/2&&0===this.totalDistance&&(this.distance=0,this.updateScaledDistance(),this.addCurrentVertex(t,e,n,r,i,s));}addHalfVertex({x:t,y:e},n,r,i,s,o,a){const l=.5*(this.lineClips?this.scaledDistance*(hh-1):this.scaledDistance);this.layoutVertexArray.emplaceBack((t<<1)+(i?1:0),(e<<1)+(s?1:0),Math.round(63*n)+128,Math.round(63*r)+128,1+(0===o?0:o<0?-1:1)|(63&l)<<2,l>>6),this.lineClips&&this.layoutVertexArray2.emplaceBack((this.scaledDistance-this.lineClips.start)/(this.lineClips.end-this.lineClips.start),this.lineClipsArray.length);const u=a.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,u,this.e2),a.primitiveLength++),s?this.e2=u:this.e1=u;}updateScaledDistance(){this.scaledDistance=this.lineClips?this.lineClips.start+(this.lineClips.end-this.lineClips.start)*this.distance/this.totalDistance:this.distance;}updateDistance(t,e){this.distance+=t.dist(e),this.updateScaledDistance();}hasLineDasharray(t){for(const e of t){const t=e.paint.get("line-dasharray");if(t&&!t.isConstant())return !0}return !1}addLineDashDependencies(t,e,n,r){for(const i of t){const t=i.paint.get("line-dasharray");if(!t||"constant"===t.value.kind)continue;const s="round"===i.layout.get("line-cap").evaluate(e,{}),o={dasharray:t.value.evaluate({zoom:n-1},e,{}),round:s},a={dasharray:t.value.evaluate({zoom:n},e,{}),round:s},l={dasharray:t.value.evaluate({zoom:n+1},e,{}),round:s},u=`${o.dasharray.join(",")},${o.round}`,c=`${a.dasharray.join(",")},${a.round}`,h=`${l.dasharray.join(",")},${l.round}`;r.dashDependencies[u]=o,r.dashDependencies[c]=a,r.dashDependencies[h]=l,e.dashes[i.id]={min:u,mid:c,max:h};}}}let fh,dh;ds("LineBucket",ph,{omit:["layers","patternFeatures"]});var yh={get paint(){return dh=dh||new Ks({"line-opacity":new Ys(wt.paint_line["line-opacity"]),"line-color":new Ys(wt.paint_line["line-color"]),"line-translate":new Xs(wt.paint_line["line-translate"]),"line-translate-anchor":new Xs(wt.paint_line["line-translate-anchor"]),"line-width":new Ys(wt.paint_line["line-width"]),"line-gap-width":new Ys(wt.paint_line["line-gap-width"]),"line-offset":new Ys(wt.paint_line["line-offset"]),"line-blur":new Ys(wt.paint_line["line-blur"]),"line-dasharray":new Zs(wt.paint_line["line-dasharray"]),"line-pattern":new Zs(wt.paint_line["line-pattern"]),"line-gradient":new Ws(wt.paint_line["line-gradient"])})},get layout(){return fh=fh||new Ks({"line-cap":new Ys(wt.layout_line["line-cap"]),"line-join":new Ys(wt.layout_line["line-join"]),"line-miter-limit":new Ys(wt.layout_line["line-miter-limit"]),"line-round-limit":new Ys(wt.layout_line["line-round-limit"]),"line-sort-key":new Ys(wt.layout_line["line-sort-key"])})}};class mh extends Ys{possiblyEvaluate(t,e){return e=new Cs(Math.floor(e.zoom),{now:e.now,fadeDuration:e.fadeDuration,zoomHistory:e.zoomHistory,transition:e.transition}),super.possiblyEvaluate(t,e)}evaluate(t,e,n,r){return e=$({},e,{zoom:Math.floor(e.zoom)}),super.evaluate(t,e,n,r)}}let gh;class xh extends to{constructor(t,e){super(t,yh,e),this.gradientVersion=0,gh||(gh=new mh(yh.paint.properties["line-width"].specification),gh.useIntegerZoom=!0);}_handleSpecialPaintPropertyUpdate(t){if("line-gradient"===t){const t=this.gradientExpression();this.stepInterpolant=!!function(t){return void 0!==t._styleExpression}(t)&&t._styleExpression.expression instanceof cn,this.gradientVersion=(this.gradientVersion+1)%Number.MAX_SAFE_INTEGER;}}gradientExpression(){return this._transitionablePaint._values["line-gradient"].value.expression}recalculate(t,e){super.recalculate(t,e),this.paint._values["line-floorwidth"]=gh.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,t);}createBucket(t){return new ph(t)}queryRadius(t){const e=t,n=vh(ol("line-width",this,e),ol("line-gap-width",this,e)),r=ol("line-offset",this,e);return n/2+Math.abs(r)+al(this.paint.get("line-translate"))}queryIntersectsFeature({queryGeometry:t,feature:e,featureState:r,geometry:i,transform:s,pixelsToTileUnits:o}){const a=ll(t,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),-s.bearingInRadians,o),l=o/2*vh(this.paint.get("line-width").evaluate(e,r),this.paint.get("line-gap-width").evaluate(e,r)),u=this.paint.get("line-offset").evaluate(e,r);return u&&(i=function(t,e){const r=[];for(const i of t){const t=ul(i),s=[];for(let r=0;r=3)for(const e of r)if(il(t,e))return !0;if(Ja(t,r,n))return !0}return !1}(a,i,l)}isTileClipped(){return !0}}function vh(t,e){return e>0?e+2*t:t}const bh=ao([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),wh=ao([{name:"a_projected_pos",components:3,type:"Float32"}],4);ao([{name:"a_fade_opacity",components:1,type:"Uint32"}],4);const _h=ao([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"},{name:"a_box_real",components:2,type:"Int16"}]);ao([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"}]);const Sh=ao([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4),Ah=ao([{name:"a_pos",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);function Mh(t,e,n){const r=e.layout.get("text-transform").evaluate(n,{});return "uppercase"===r?t=t.toLocaleUpperCase():"lowercase"===r&&(t=t.toLocaleLowerCase()),Bs.applyArabicShaping&&(t=Bs.applyArabicShaping(t)),t}function kh(t,e,n){for(const r of t.sections)r.text=Mh(r.text,e,n);return t}ao([{name:"triangle",components:3,type:"Uint16"}]),ao([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),ao([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint16",name:"useRuntimeCollisionCircles"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",name:"collisionCircleDiameter"},{type:"Uint16",name:"textAnchorOffsetStartIndex"},{type:"Uint16",name:"textAnchorOffsetEndIndex"}]),ao([{type:"Float32",name:"offsetX"}]),ao([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]),ao([{type:"Uint16",name:"textAnchor"},{type:"Float32",components:2,name:"textOffset"}]);var Ih=24;const Eh={"!":"︕","#":"#",$:"$","%":"%","&":"&","(":"︵",")":"︶","*":"*","+":"+",",":"︐","-":"︲",".":"・","/":"/",":":"︓",";":"︔","<":"︿","=":"=",">":"﹀","?":"︖","@":"@","[":"﹇","\\":"\","]":"﹈","^":"^",_:"︳","`":"`","{":"︷","|":"―","}":"︸","~":"~","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","–":"︲","—":"︱","‘":"﹃","’":"﹄","“":"﹁","”":"﹂","…":"︙","⋯":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","〔":"︹","〕":"︺","〖":"︗","〗":"︘","!":"︕","(":"︵",")":"︶",",":"︐","-":"︲",".":"・",":":"︓",";":"︔","<":"︿",">":"﹀","?":"︖","[":"﹇","]":"﹈","_":"︳","{":"︷","|":"―","}":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"},Th={10:!0,32:!0,38:!0,41:!0,43:!0,45:!0,47:!0,173:!0,183:!0,8203:!0,8208:!0,8211:!0,8231:!0},Fh={40:!0};function Ph(t,e,n,r,i,s){if("fontStack"in e){const r=n[e.fontStack],s=null==r?void 0:r[t];return s?s.metrics.advance*e.scale+i:0}{const t=r[e.imageName];return t?t.displaySize[0]*e.scale*Ih/s+i:0}}function Dh(t,e,n,r){const i=Math.pow(t-e,2);return r?tMath.max(t,this.sections[e].scale)),0)}getMaxImageSize(t){let e=0,n=0;for(let r=0;rn)));}addImageSection(t){const e=t.image?t.image.name:"";if(0===e.length)return void G("Can't add FormattedSection with an empty image.");const n=this.getNextImageSectionCharCode();n?(this.text+=String.fromCharCode(n),this.sections.push({scale:1,verticalAlign:t.verticalAlign||"bottom",imageName:e}),this.sectionIndex.push(this.sections.length-1)):G("Reached maximum number of images 6401");}getNextImageSectionCharCode(){return this.imageSectionID?this.imageSectionID>=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)}determineLineBreaks(t,e,n,r,i){const s=[],o=this.determineAverageLineWidth(t,e,n,r,i),a=this.hasZeroWidthSpaces();let l=0,u=0;const c=this.text[Symbol.iterator]();let h=c.next();const p=this.text[Symbol.iterator]();p.next();let f=p.next();const d=this.text[Symbol.iterator]();d.next(),d.next();let y=d.next();for(;!h.done;){const e=this.getSection(u),m=h.value.codePointAt(0);if(Ss(m)||(l+=Ph(m,e,n,r,t,i)),!f.done){const t=ws(m),n=f.value.codePointAt(0);(Th[m]||t||"imageName"in e||!y.done&&Fh[n])&&s.push(Bh(u+1,l,o,s,zh(m,n,t&&a),!1));}u++,h=c.next(),f=p.next(),y=d.next();}return Ch(Bh(this.length(),l,o,s,0,!0))}determineAverageLineWidth(t,e,n,r,i){let s=0,o=0;for(const e of this.text){const a=this.getSection(o);s+=Ph(e.codePointAt(0),a,n,r,t,i),o++;}return s/Math.max(1,Math.ceil(s/e))}}const Lh=4294967296,Oh=1/Lh,$h="undefined"==typeof TextDecoder?null:new TextDecoder("utf-8");class Rh{constructor(t=new Uint8Array(16)){this.buf=ArrayBuffer.isView(t)?t:new Uint8Array(t),this.dataView=new DataView(this.buf.buffer),this.pos=0,this.type=0,this.length=this.buf.length;}readFields(t,e,n=this.length){for(;this.pos>3,i=this.pos;this.type=7&n,t(r,e,this),this.pos===i&&this.skip(n);}return e}readMessage(t,e){return this.readFields(t,e,this.readVarint()+this.pos)}readFixed32(){const t=this.dataView.getUint32(this.pos,!0);return this.pos+=4,t}readSFixed32(){const t=this.dataView.getInt32(this.pos,!0);return this.pos+=4,t}readFixed64(){const t=this.dataView.getUint32(this.pos,!0)+this.dataView.getUint32(this.pos+4,!0)*Lh;return this.pos+=8,t}readSFixed64(){const t=this.dataView.getUint32(this.pos,!0)+this.dataView.getInt32(this.pos+4,!0)*Lh;return this.pos+=8,t}readFloat(){const t=this.dataView.getFloat32(this.pos,!0);return this.pos+=4,t}readDouble(){const t=this.dataView.getFloat64(this.pos,!0);return this.pos+=8,t}readVarint(t){const e=this.buf;let n,r;return r=e[this.pos++],n=127&r,r<128?n:(r=e[this.pos++],n|=(127&r)<<7,r<128?n:(r=e[this.pos++],n|=(127&r)<<14,r<128?n:(r=e[this.pos++],n|=(127&r)<<21,r<128?n:(r=e[this.pos],n|=(15&r)<<28,function(t,e,n){const r=n.buf;let i,s;if(s=r[n.pos++],i=(112&s)>>4,s<128)return Nh(t,i,e);if(s=r[n.pos++],i|=(127&s)<<3,s<128)return Nh(t,i,e);if(s=r[n.pos++],i|=(127&s)<<10,s<128)return Nh(t,i,e);if(s=r[n.pos++],i|=(127&s)<<17,s<128)return Nh(t,i,e);if(s=r[n.pos++],i|=(127&s)<<24,s<128)return Nh(t,i,e);if(s=r[n.pos++],i|=(1&s)<<31,s<128)return Nh(t,i,e);throw new Error("Expected varint not more than 10 bytes")}(n,t,this)))))}readVarint64(){return this.readVarint(!0)}readSVarint(){const t=this.readVarint();return t%2==1?(t+1)/-2:t/2}readBoolean(){return Boolean(this.readVarint())}readString(){const t=this.readVarint()+this.pos,e=this.pos;return this.pos=t,t-e>=12&&$h?$h.decode(this.buf.subarray(e,t)):function(t,e,n){let r="",i=e;for(;i239?4:e>223?3:e>191?2:1;if(i+u>n)break;1===u?e<128&&(l=e):2===u?(s=t[i+1],128==(192&s)&&(l=(31&e)<<6|63&s,l<=127&&(l=null))):3===u?(s=t[i+1],o=t[i+2],128==(192&s)&&128==(192&o)&&(l=(15&e)<<12|(63&s)<<6|63&o,(l<=2047||l>=55296&&l<=57343)&&(l=null))):4===u&&(s=t[i+1],o=t[i+2],a=t[i+3],128==(192&s)&&128==(192&o)&&128==(192&a)&&(l=(15&e)<<18|(63&s)<<12|(63&o)<<6|63&a,(l<=65535||l>=1114112)&&(l=null))),null===l?(l=65533,u=1):l>65535&&(l-=65536,r+=String.fromCharCode(l>>>10&1023|55296),l=56320|1023&l),r+=String.fromCharCode(l),i+=u;}return r}(this.buf,e,t)}readBytes(){const t=this.readVarint()+this.pos,e=this.buf.subarray(this.pos,t);return this.pos=t,e}readPackedVarint(t=[],e){const n=this.readPackedEnd();for(;this.pos127;);else if(2===e)this.pos=this.readVarint()+this.pos;else if(5===e)this.pos+=4;else {if(1!==e)throw new Error(`Unimplemented type: ${e}`);this.pos+=8;}}writeTag(t,e){this.writeVarint(t<<3|e);}realloc(t){let e=this.length||16;for(;e268435455||t<0?function(t,e){let n,r;if(t>=0?(n=t%4294967296|0,r=t/4294967296|0):(n=~(-t%4294967296),r=~(-t/4294967296),4294967295^n?n=n+1|0:(n=0,r=r+1|0)),t>=0x10000000000000000||t<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");e.realloc(10),function(t,e,n){n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,n.buf[n.pos]=127&(t>>>=7);}(n,0,e),function(t,e){const n=(7&t)<<4;e.buf[e.pos++]|=n|((t>>>=3)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t)))));}(r,e);}(t,this):(this.realloc(4),this.buf[this.pos++]=127&t|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=t>>>7&127))));}writeSVarint(t){this.writeVarint(t<0?2*-t-1:2*t);}writeBoolean(t){this.writeVarint(+t);}writeString(t){t=String(t),this.realloc(4*t.length),this.pos++;const e=this.pos;this.pos=function(t,e,n){for(let r,i,s=0;s55295&&r<57344){if(!i){r>56319||s+1===e.length?(t[n++]=239,t[n++]=191,t[n++]=189):i=r;continue}if(r<56320){t[n++]=239,t[n++]=191,t[n++]=189,i=r;continue}r=i-55296<<10|r-56320|65536,i=null;}else i&&(t[n++]=239,t[n++]=191,t[n++]=189,i=null);r<128?t[n++]=r:(r<2048?t[n++]=r>>6|192:(r<65536?t[n++]=r>>12|224:(t[n++]=r>>18|240,t[n++]=r>>12&63|128),t[n++]=r>>6&63|128),t[n++]=63&r|128);}return n}(this.buf,t,this.pos);const n=this.pos-e;n>=128&&Uh(e,n,this),this.pos=e-1,this.writeVarint(n),this.pos+=n;}writeFloat(t){this.realloc(4),this.dataView.setFloat32(this.pos,t,!0),this.pos+=4;}writeDouble(t){this.realloc(8),this.dataView.setFloat64(this.pos,t,!0),this.pos+=8;}writeBytes(t){const e=t.length;this.writeVarint(e),this.realloc(e);for(let n=0;n=128&&Uh(n,r,this),this.pos=n-1,this.writeVarint(r),this.pos+=r;}writeMessage(t,e,n){this.writeTag(t,2),this.writeRawMessage(e,n);}writePackedVarint(t,e){e.length&&this.writeMessage(t,jh,e);}writePackedSVarint(t,e){e.length&&this.writeMessage(t,qh,e);}writePackedBoolean(t,e){e.length&&this.writeMessage(t,Yh,e);}writePackedFloat(t,e){e.length&&this.writeMessage(t,Gh,e);}writePackedDouble(t,e){e.length&&this.writeMessage(t,Xh,e);}writePackedFixed32(t,e){e.length&&this.writeMessage(t,Zh,e);}writePackedSFixed32(t,e){e.length&&this.writeMessage(t,Hh,e);}writePackedFixed64(t,e){e.length&&this.writeMessage(t,Wh,e);}writePackedSFixed64(t,e){e.length&&this.writeMessage(t,Kh,e);}writeBytesField(t,e){this.writeTag(t,2),this.writeBytes(e);}writeFixed32Field(t,e){this.writeTag(t,5),this.writeFixed32(e);}writeSFixed32Field(t,e){this.writeTag(t,5),this.writeSFixed32(e);}writeFixed64Field(t,e){this.writeTag(t,1),this.writeFixed64(e);}writeSFixed64Field(t,e){this.writeTag(t,1),this.writeSFixed64(e);}writeVarintField(t,e){this.writeTag(t,0),this.writeVarint(e);}writeSVarintField(t,e){this.writeTag(t,0),this.writeSVarint(e);}writeStringField(t,e){this.writeTag(t,2),this.writeString(e);}writeFloatField(t,e){this.writeTag(t,5),this.writeFloat(e);}writeDoubleField(t,e){this.writeTag(t,1),this.writeDouble(e);}writeBooleanField(t,e){this.writeVarintField(t,+e);}}function Nh(t,e,n){return n?4294967296*e+(t>>>0):4294967296*(e>>>0)+(t>>>0)}function Uh(t,e,n){const r=e<=16383?1:e<=2097151?2:e<=268435455?3:Math.floor(Math.log(e)/(7*Math.LN2));n.realloc(r);for(let e=n.pos-1;e>=t;e--)n.buf[e+r]=n.buf[e];}function jh(t,e){for(let n=0;ne.h-t.h));const r=[{x:0,y:0,w:Math.max(Math.ceil(Math.sqrt(e/.95)),n),h:1/0}];let i=0,s=0;for(const e of t)for(let t=r.length-1;t>=0;t--){const n=r[t];if(!(e.w>n.w||e.h>n.h)){if(e.x=n.x,e.y=n.y,s=Math.max(s,e.y+e.h),i=Math.max(i,e.x+e.w),e.w===n.w&&e.h===n.h){const e=r.pop();e&&tm.toCodeUnitIndex(t)));const t=v(m.toString(),x);for(const e of t){const t=[...e].map((()=>0));g.push(new Vh(e,m.sections,t));}}else if(b){g=[],x=x.map((t=>m.toCodeUnitIndex(t)));let t=0;const e=[];for(const n of m.text)e.push(...Array(n.length).fill(m.sectionIndex[t])),t++;const n=b(m.text,e,x);for(const t of n){const e=[];let n="";for(const r of t[0])e.push(t[1][n.length]),n+=r;g.push(new Vh(t[0],m.sections,e));}}else g=function(t,e){const n=[];let r=0;for(const i of e)n.push(t.substring(r,i)),r=i;return ru){const t=Math.ceil(s/u);i*=t/o,o=t;}return {x1:r,y1:i,x2:r+s,y2:i+o}}function yp(t,e,n,r,i,s){const o=t.image;let a;if(o.content){const t=o.content,e=o.pixelRatio||1;a=[t[0]/e,t[1]/e,o.displaySize[0]-t[2]/e,o.displaySize[1]-t[3]/e];}const l=e.left*s,u=e.right*s;let c,h,p,f;"width"===n||"both"===n?(f=i[0]+l-r[3],h=i[0]+u+r[1]):(f=i[0]+(l+u-o.displaySize[0])/2,h=f+o.displaySize[0]);const d=e.top*s,y=e.bottom*s;return "height"===n||"both"===n?(c=i[1]+d-r[0],p=i[1]+y+r[2]):(c=i[1]+(d+y-o.displaySize[1])/2,p=c+o.displaySize[1]),{image:o,top:c,right:h,bottom:p,left:f,collisionPadding:a}}ds("ImagePosition",np),ds("ImageAtlas",rp),t.ax=void 0,(ip=t.ax||(t.ax={}))[ip.none=0]="none",ip[ip.horizontal=1]="horizontal",ip[ip.vertical=2]="vertical",ip[ip.horizontalOnly=3]="horizontalOnly";const mp=128,gp=32640;function xp(t,e){const{expression:n}=e;if("constant"===n.kind)return {kind:"constant",layoutSize:n.evaluate(new Cs(t+1))};if("source"===n.kind)return {kind:"source"};{const{zoomStops:e,interpolationType:r}=n;let i=0;for(;it.id)),this.index=e.index,this.pixelRatio=e.pixelRatio,this.sourceLayerIndex=e.sourceLayerIndex,this.hasDependencies=!1,this.hasRTLText=!1,this.sortKeyRanges=[],this.collisionCircleArray=[];const n=this.layers[0]._unevaluatedLayout._values;this.textSizeData=xp(this.zoom,n["text-size"]),this.iconSizeData=xp(this.zoom,n["icon-size"]);const r=this.layers[0].layout,i=r.get("symbol-sort-key"),s=r.get("symbol-z-order");this.canOverlap="never"!==vp(r,"text-overlap","text-allow-overlap")||"never"!==vp(r,"icon-overlap","icon-allow-overlap")||r.get("text-ignore-placement")||r.get("icon-ignore-placement"),this.sortFeaturesByKey="viewport-y"!==s&&!i.isConstant(),this.sortFeaturesByY=("viewport-y"===s||"auto"===s&&!this.sortFeaturesByKey)&&this.canOverlap,"point"===r.get("symbol-placement")&&(this.writingModes=r.get("text-writing-mode").map((e=>t.ax[e]))),this.stateDependentLayerIds=this.layers.filter((t=>t.isStateDependent())).map((t=>t.id)),this.sourceID=e.sourceID;}createArrays(){this.text=new Ap(new $a(this.layers,this.zoom,(t=>t.startsWith("text")))),this.icon=new Ap(new $a(this.layers,this.zoom,(t=>t.startsWith("icon")))),this.glyphOffsetArray=new Ro,this.lineVertexArray=new No,this.symbolInstances=new $o,this.textAnchorOffsets=new jo;}calculateGlyphDependencies(t,e,n,r,i){for(const s of t)if(e[s.codePointAt(0)]=!0,(n||r)&&i){const t=Eh[s];t&&(e[t.codePointAt(0)]=!0);}}populate(e,n,r){var i;const s=this.layers[0],o=s.layout,a=o.get("text-font"),l=o.get("text-field"),u=o.get("icon-image"),c=("constant"!==l.value.kind||l.value.value instanceof ze&&!l.value.value.isEmpty()||l.value.value.toString().length>0)&&("constant"!==a.value.kind||a.value.value.length>0),h="constant"!==u.value.kind||!!u.value.value||Object.keys(u.parameters).length>0,p=o.get("symbol-sort-key");if(this.features=[],!c&&!h)return;const f=n.iconDependencies,d=n.glyphDependencies,y=n.availableImages,m=new Cs(this.zoom);for(const{feature:n,id:l,index:u,sourceLayerIndex:g}of e){const e=s._featureFilter.needGeometry,x=Ga(n,e);if(!s._featureFilter.filter(m,x,r))continue;let v,b;if(e||(x.geometry=qa(n)),c){const t=s.getValueAndResolveTokens("text-field",x,r,y),e=ze.factory(t);this.hasRTLText||(this.hasRTLText=Sp(e)),(!this.hasRTLText||"unavailable"===Bs.getRTLTextPluginStatus()||this.hasRTLText&&Bs.isParsed())&&(v=kh(e,s,x));}if(h){const t=s.getValueAndResolveTokens("icon-image",x,r,y);b=t instanceof Re?t:Re.fromString(t);}if(!v&&!b)continue;const w=this.sortFeaturesByKey?p.evaluate(x,{},r):void 0;if(this.features.push({id:l,text:v,icon:b,index:u,sourceLayerIndex:g,geometry:x.geometry,properties:n.properties,type:Cu.types[n.type],sortKey:w}),b&&(f[b.name]=!0),v){const e=a.evaluate(x,{},r).join(","),n="viewport"!==o.get("text-rotation-alignment")&&"point"!==o.get("symbol-placement");this.allowVerticalPlacement=null===(i=this.writingModes)||void 0===i?void 0:i.includes(t.ax.vertical);for(const t of v.sections)if(t.image)f[t.image.name]=!0;else {const r=As(v.toString()),i=t.fontStack||e;d[i]||(d[i]={}),this.calculateGlyphDependencies(t.text,d[i],n,this.allowVerticalPlacement,r);}}}"line"===o.get("symbol-placement")&&(this.features=function(t){const e={},n={},r=[];let i=0;function s(e){r.push(t[e]),i++;}function o(t,e,i){const s=n[t];return delete n[t],n[e]=s,r[s].geometry[0].pop(),r[s].geometry[0]=r[s].geometry[0].concat(i[0]),s}function a(t,n,i){const s=e[n];return delete e[n],e[t]=s,r[s].geometry[0].shift(),r[s].geometry[0]=i[0].concat(r[s].geometry[0]),s}function l(t,e,n){const r=n?e[0][e[0].length-1]:e[0][0];return `${t}:${r.x}:${r.y}`}for(let u=0;ut.geometry))}(this.features)),this.sortFeaturesByKey&&this.features.sort(((t,e)=>t.sortKey-e.sortKey));}update(t,e,n){this.stateDependentLayers.length&&(this.text.programConfigurations.updatePaintArrays(t,e,this.layers,{imagePositions:n}),this.icon.programConfigurations.updatePaintArrays(t,e,this.layers,{imagePositions:n}));}isEmpty(){return 0===this.symbolInstances.length&&!this.hasRTLText}uploadPending(){return !this.uploaded||this.text.programConfigurations.needsUpload||this.icon.programConfigurations.needsUpload}upload(t){!this.uploaded&&this.hasDebugData()&&(this.textCollisionBox.upload(t),this.iconCollisionBox.upload(t)),this.text.upload(t,this.sortFeaturesByY,!this.uploaded,this.text.programConfigurations.needsUpload),this.icon.upload(t,this.sortFeaturesByY,!this.uploaded,this.icon.programConfigurations.needsUpload),this.uploaded=!0;}destroyDebugData(){this.textCollisionBox.destroy(),this.iconCollisionBox.destroy();}destroy(){this.text.destroy(),this.icon.destroy(),this.hasDebugData()&&this.destroyDebugData();}addToLineVertexArray(t,e){const n=this.lineVertexArray.length;if(void 0!==t.segment){let n=t.dist(e[t.segment+1]),r=t.dist(e[t.segment]);const i={};for(let r=t.segment+1;r=0;n--)i[n]={x:e[n].x,y:e[n].y,tileUnitDistanceFromAnchor:r},n>0&&(r+=e[n-1].dist(e[n]));for(let t=0;t0}hasIconData(){return this.icon.segments.get().length>0}hasDebugData(){return this.textCollisionBox&&this.iconCollisionBox}hasTextCollisionBoxData(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0}hasIconCollisionBoxData(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0}addIndicesForPlacedSymbol(t,e){const n=t.placedSymbolArray.get(e),r=n.vertexStartIndex+4*n.numGlyphs;for(let e=n.vertexStartIndex;er[t]-r[e]||i[e]-i[t])),s}addToSortKeyRanges(t,e){const n=this.sortKeyRanges[this.sortKeyRanges.length-1];(null==n?void 0:n.sortKey)===e?n.symbolInstanceEnd=t+1:this.sortKeyRanges.push({sortKey:e,symbolInstanceStart:t,symbolInstanceEnd:t+1});}sortFeatures(t){if(this.sortFeaturesByY&&this.sortedAngle!==t&&!(this.text.segments.get().length>1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(t),this.sortedAngle=t,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(const t of this.symbolInstanceIndexes){const e=this.symbolInstances.get(t);this.featureSortOrder.push(e.featureIndex);const n=[e.rightJustifiedTextSymbolIndex,e.centerJustifiedTextSymbolIndex,e.leftJustifiedTextSymbolIndex];for(let t=0;t=0&&n.indexOf(e)===t&&this.addIndicesForPlacedSymbol(this.text,e);}e.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,e.verticalPlacedTextSymbolIndex),e.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,e.placedIconSymbolIndex),e.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,e.verticalPlacedIconSymbolIndex);}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray);}}}let Ip,Ep;ds("SymbolBucket",kp,{omit:["layers","collisionBoxArray","features","compareText"]}),kp.MAX_GLYPHS=65535,kp.addDynamicAttributes=_p;var Tp={get paint(){return Ep=Ep||new Ks({"icon-opacity":new Ys(wt.paint_symbol["icon-opacity"]),"icon-color":new Ys(wt.paint_symbol["icon-color"]),"icon-halo-color":new Ys(wt.paint_symbol["icon-halo-color"]),"icon-halo-width":new Ys(wt.paint_symbol["icon-halo-width"]),"icon-halo-blur":new Ys(wt.paint_symbol["icon-halo-blur"]),"icon-translate":new Xs(wt.paint_symbol["icon-translate"]),"icon-translate-anchor":new Xs(wt.paint_symbol["icon-translate-anchor"]),"text-opacity":new Ys(wt.paint_symbol["text-opacity"]),"text-color":new Ys(wt.paint_symbol["text-color"],{runtimeType:Nt,getOverride:t=>t.textColor,hasOverride:t=>!!t.textColor}),"text-halo-color":new Ys(wt.paint_symbol["text-halo-color"]),"text-halo-width":new Ys(wt.paint_symbol["text-halo-width"]),"text-halo-blur":new Ys(wt.paint_symbol["text-halo-blur"]),"text-translate":new Xs(wt.paint_symbol["text-translate"]),"text-translate-anchor":new Xs(wt.paint_symbol["text-translate-anchor"])})},get layout(){return Ip=Ip||new Ks({"symbol-placement":new Xs(wt.layout_symbol["symbol-placement"]),"symbol-spacing":new Xs(wt.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new Xs(wt.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new Ys(wt.layout_symbol["symbol-sort-key"]),"symbol-z-order":new Xs(wt.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new Xs(wt.layout_symbol["icon-allow-overlap"]),"icon-overlap":new Xs(wt.layout_symbol["icon-overlap"]),"icon-ignore-placement":new Xs(wt.layout_symbol["icon-ignore-placement"]),"icon-optional":new Xs(wt.layout_symbol["icon-optional"]),"icon-rotation-alignment":new Xs(wt.layout_symbol["icon-rotation-alignment"]),"icon-size":new Ys(wt.layout_symbol["icon-size"]),"icon-text-fit":new Xs(wt.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new Xs(wt.layout_symbol["icon-text-fit-padding"]),"icon-image":new Ys(wt.layout_symbol["icon-image"]),"icon-rotate":new Ys(wt.layout_symbol["icon-rotate"]),"icon-padding":new Ys(wt.layout_symbol["icon-padding"]),"icon-keep-upright":new Xs(wt.layout_symbol["icon-keep-upright"]),"icon-offset":new Ys(wt.layout_symbol["icon-offset"]),"icon-anchor":new Ys(wt.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new Xs(wt.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new Xs(wt.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new Xs(wt.layout_symbol["text-rotation-alignment"]),"text-field":new Ys(wt.layout_symbol["text-field"]),"text-font":new Ys(wt.layout_symbol["text-font"]),"text-size":new Ys(wt.layout_symbol["text-size"]),"text-max-width":new Ys(wt.layout_symbol["text-max-width"]),"text-line-height":new Xs(wt.layout_symbol["text-line-height"]),"text-letter-spacing":new Ys(wt.layout_symbol["text-letter-spacing"]),"text-justify":new Ys(wt.layout_symbol["text-justify"]),"text-radial-offset":new Ys(wt.layout_symbol["text-radial-offset"]),"text-variable-anchor":new Xs(wt.layout_symbol["text-variable-anchor"]),"text-variable-anchor-offset":new Ys(wt.layout_symbol["text-variable-anchor-offset"]),"text-anchor":new Ys(wt.layout_symbol["text-anchor"]),"text-max-angle":new Xs(wt.layout_symbol["text-max-angle"]),"text-writing-mode":new Xs(wt.layout_symbol["text-writing-mode"]),"text-rotate":new Ys(wt.layout_symbol["text-rotate"]),"text-padding":new Xs(wt.layout_symbol["text-padding"]),"text-keep-upright":new Xs(wt.layout_symbol["text-keep-upright"]),"text-transform":new Ys(wt.layout_symbol["text-transform"]),"text-offset":new Ys(wt.layout_symbol["text-offset"]),"text-allow-overlap":new Xs(wt.layout_symbol["text-allow-overlap"]),"text-overlap":new Xs(wt.layout_symbol["text-overlap"]),"text-ignore-placement":new Xs(wt.layout_symbol["text-ignore-placement"]),"text-optional":new Xs(wt.layout_symbol["text-optional"])})}};class Fp{constructor(t){if(void 0===t.property.overrides)throw new Error("overrides must be provided to instantiate FormatSectionOverride class");this.type=t.property.overrides?t.property.overrides.runtimeType:Lt,this.defaultValue=t;}evaluate(t){if(t.formattedSection){const e=this.defaultValue.property.overrides;if(null==e?void 0:e.hasOverride(t.formattedSection))return e.getOverride(t.formattedSection)}return t.feature&&t.featureState?this.defaultValue.evaluate(t.feature,t.featureState):this.defaultValue.property.specification.default}eachChild(t){this.defaultValue.isConstant()||t(this.defaultValue.value._styleExpression.expression);}outputDefined(){return !1}serialize(){return null}}ds("FormatSectionOverride",Fp,{omit:["defaultValue"]});class Pp extends to{constructor(t,e){super(t,Tp,e);}recalculate(t,e){if(super.recalculate(t,e),"auto"===this.layout.get("icon-rotation-alignment")&&(this.layout._values["icon-rotation-alignment"]="point"!==this.layout.get("symbol-placement")?"map":"viewport"),"auto"===this.layout.get("text-rotation-alignment")&&(this.layout._values["text-rotation-alignment"]="point"!==this.layout.get("symbol-placement")?"map":"viewport"),"auto"===this.layout.get("text-pitch-alignment")&&(this.layout._values["text-pitch-alignment"]="map"===this.layout.get("text-rotation-alignment")?"map":"viewport"),"auto"===this.layout.get("icon-pitch-alignment")&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),"point"===this.layout.get("symbol-placement")){const t=this.layout.get("text-writing-mode");if(t){const e=[];for(const n of t)e.includes(n)||e.push(n);this.layout._values["text-writing-mode"]=e;}else this.layout._values["text-writing-mode"]=["horizontal"];}this._setPaintOverrides();}getValueAndResolveTokens(t,e,n,r){const i=this.layout.get(t).evaluate(e,{},n,r),s=this._unevaluatedLayout._values[t];return s.isDataDriven()||ii(s.value)||!i?i:function(t,e){return e.replace(/{([^{}]+)}/g,((e,n)=>t&&n in t?String(t[n]):""))}(e.properties,i)}createBucket(t){return new kp(t)}queryRadius(){return 0}queryIntersectsFeature(){throw new Error("Should take a different path in FeatureIndex")}_setPaintOverrides(){for(const t of Tp.paint.overridableProperties){if(!Pp.hasPaintOverride(this.layout,t))continue;const e=this.paint.get(t),n=new Fp(e),r=new ri(n,e.property.specification);let i=null;i="constant"===e.value.kind||"source"===e.value.kind?new oi("source",r):new ai("composite",r,e.value.zoomStops),this.paint._values[t]=new qs(e.property,i,e.parameters);}}_handleOverridablePaintPropertyUpdate(t,e,n){return !(!this.layout||e.isDataDriven()||n.isDataDriven())&&Pp.hasPaintOverride(this.layout,t)}static hasPaintOverride(t,e){const n=t.get("text-field"),r=Tp.paint.properties[e];let i=!1;const s=t=>{var e;for(const n of t)if(null===(e=r.overrides)||void 0===e?void 0:e.hasOverride(n))return void(i=!0)};if("constant"===n.value.kind&&n.value.value instanceof ze)s(n.value.value.sections);else if("source"===n.value.kind||"composite"===n.value.kind){const t=e=>{i||(e instanceof Xe&&qe(e.value)===Xt?s(e.value.sections):e instanceof Pn?s(e.sections):e.eachChild(t));},e=n.value;e._styleExpression&&t(e._styleExpression.expression);}return i}}let Dp;var zp={get paint(){return Dp=Dp||new Ks({"background-color":new Xs(wt.paint_background["background-color"]),"background-pattern":new Hs(wt.paint_background["background-pattern"]),"background-opacity":new Xs(wt.paint_background["background-opacity"])})}};class Bp extends to{constructor(t,e){super(t,zp,e);}}class Cp extends to{constructor(t,e){super(t,{},e),this.onAdd=t=>{this.implementation.onAdd&&this.implementation.onAdd(t,t.painter.context.gl);},this.onRemove=t=>{this.implementation.onRemove&&this.implementation.onRemove(t,t.painter.context.gl);},this.implementation=t;}is3D(){return "3d"===this.implementation.renderingMode}hasOffscreenPass(){return void 0!==this.implementation.prerender}recalculate(){}updateTransitions(){}hasTransition(){return !1}serialize(){throw new Error("Custom layers cannot be serialized")}}class Vp{constructor(t){this._methodToThrottle=t,this._triggered=!1,this._channel=new MessageChannel,this._channel.port2.onmessage=()=>{this._triggered=!1,this._methodToThrottle();};}trigger(){var t;this._triggered||(this._triggered=!0,null===(t=this._channel)||void 0===t||t.port1.postMessage(!0));}remove(){delete this._channel,this._methodToThrottle=()=>{};}}const Lp={once:!0},Op=6371008.8;class $p{constructor(t,e){if(isNaN(t)||isNaN(e))throw new Error(`Invalid LngLat object: (${t}, ${e})`);if(this.lng=+t,this.lat=+e,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")}wrap(){return new $p(O(this.lng,-180,180),this.lat)}toArray(){return [this.lng,this.lat]}toString(){return `LngLat(${this.lng}, ${this.lat})`}distanceTo(t){const e=Math.PI/180,n=this.lat*e,r=t.lat*e,i=Math.sin(n)*Math.sin(r)+Math.cos(n)*Math.cos(r)*Math.cos((t.lng-this.lng)*e);return Op*Math.acos(Math.min(i,1))}static convert(t){if(t instanceof $p)return t;if(Array.isArray(t)&&(2===t.length||3===t.length))return new $p(Number(t[0]),Number(t[1]));if(!Array.isArray(t)&&"object"==typeof t&&null!==t)return new $p(Number("lng"in t?t.lng:t.lon),Number(t.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]")}}const Rp=2*Math.PI*Op;function Np(t){return Rp*Math.cos(t*Math.PI/180)}function Up(t){return (180+t)/360}function jp(t){return (180-180/Math.PI*Math.log(Math.tan(Math.PI/4+t*Math.PI/360)))/360}function qp(t,e){return t/Np(e)}function Gp(t){return 360*t-180}function Xp(t){return 360/Math.PI*Math.atan(Math.exp((180-360*t)*Math.PI/180))-90}function Yp(t,e){return t*Np(Xp(e))}class Zp{constructor(t,e,n=0){this.x=+t,this.y=+e,this.z=+n;}static fromLngLat(t,e=0){const n=$p.convert(t);return new Zp(Up(n.lng),jp(n.lat),qp(e,n.lat))}toLngLat(){return new $p(Gp(this.x),Xp(this.y))}toAltitude(){return Yp(this.z,this.y)}meterInMercatorCoordinateUnits(){return 1/Rp*(t=Xp(this.y),1/Math.cos(t*Math.PI/180));var t;}}function Hp(t,e,n){var r=2*Math.PI*6378137/256/Math.pow(2,n);return [t*r-2*Math.PI*6378137/2,e*r-2*Math.PI*6378137/2]}class Wp{constructor(t,e,n){if(!function(t,e,n){return !(t<0||t>25||n<0||n>=Math.pow(2,t)||e<0||e>=Math.pow(2,t))}(t,e,n))throw new Error(`x=${e}, y=${n}, z=${t} outside of bounds. 0<=x<${Math.pow(2,t)}, 0<=y<${Math.pow(2,t)} 0<=z<=25 `);this.z=t,this.x=e,this.y=n,this.key=Qp(0,t,t,e,n);}equals(t){return this.z===t.z&&this.x===t.x&&this.y===t.y}url(t,e,n){const r=(s=this.y,o=this.z,a=Hp(256*(i=this.x),256*(s=Math.pow(2,o)-s-1),o),l=Hp(256*(i+1),256*(s+1),o),a[0]+","+a[1]+","+l[0]+","+l[1]);var i,s,o,a,l;const u=function(t,e,n){let r="";for(let i=t;i>0;i--){const t=1<1?"@2x":"").replace(/{quadkey}/g,u).replace(/{bbox-epsg-3857}/g,r)}isChildOf(t){const e=this.z-t.z;return e>0&&t.x===this.x>>e&&t.y===this.y>>e}getTilePoint(t){const e=Math.pow(2,this.z);return new n((t.x*e-this.x)*T,(t.y*e-this.y)*T)}toString(){return `${this.z}/${this.x}/${this.y}`}}class Kp{constructor(t,e){this.wrap=t,this.canonical=e,this.key=Qp(t,e.z,e.z,e.x,e.y);}}class Jp{constructor(t,e,n,r,i){if(this.terrainRttPosMatrix32f=null,t= z; overscaledZ = ${t}; z = ${n}`);this.overscaledZ=t,this.wrap=e,this.canonical=new Wp(n,+r,+i),this.key=Qp(e,t,n,r,i);}clone(){return new Jp(this.overscaledZ,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)}equals(t){return this.overscaledZ===t.overscaledZ&&this.wrap===t.wrap&&this.canonical.equals(t.canonical)}scaledTo(t){if(t>this.overscaledZ)throw new Error(`targetZ > this.overscaledZ; targetZ = ${t}; overscaledZ = ${this.overscaledZ}`);const e=this.canonical.z-t;return t>this.canonical.z?new Jp(t,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new Jp(t,this.wrap,t,this.canonical.x>>e,this.canonical.y>>e)}isOverscaled(){return this.overscaledZ>this.canonical.z}calculateScaledKey(t,e){if(t>this.overscaledZ)throw new Error(`targetZ > this.overscaledZ; targetZ = ${t}; overscaledZ = ${this.overscaledZ}`);const n=this.canonical.z-t;return t>this.canonical.z?Qp(this.wrap*+e,t,this.canonical.z,this.canonical.x,this.canonical.y):Qp(this.wrap*+e,t,t,this.canonical.x>>n,this.canonical.y>>n)}isChildOf(t){if(t.wrap!==this.wrap)return !1;if(this.overscaledZ-t.overscaledZ<=0)return !1;if(0===t.overscaledZ)return this.overscaledZ>0;const e=this.canonical.z-t.canonical.z;return !(e<0)&&t.canonical.x===this.canonical.x>>e&&t.canonical.y===this.canonical.y>>e}children(t){if(this.overscaledZ>=t)return [new Jp(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];const e=this.canonical.z+1,n=2*this.canonical.x,r=2*this.canonical.y;return [new Jp(e,this.wrap,e,n,r),new Jp(e,this.wrap,e,n+1,r),new Jp(e,this.wrap,e,n,r+1),new Jp(e,this.wrap,e,n+1,r+1)]}isLessThan(t){return this.wrapt.wrap)&&(this.overscaledZt.overscaledZ)&&(this.canonical.xt.canonical.x)&&this.canonical.y=0&&t=0&&e=l)return null;let c=this.canonical.x+r,h=this.wrap;return c<0?(h-=Math.ceil(-c/l),c=(c%l+l)%l):c>=l&&(h+=Math.floor(c/l),c%=l),{tileID:new Jp(this.overscaledZ,h,a,c,u),x:s,y:o}}}function Qp(t,e,n,r,i){(t*=2)<0&&(t=-1*t-1);const s=1<this.maxX||this.minY>this.maxY)&&(this.minX=1/0,this.maxX=-1/0,this.minY=1/0,this.maxY=-1/0),this}shrinkBy(t){return this.expandBy(-t)}map(t){const e=new tf;return e.extend(t(new n(this.minX,this.minY))),e.extend(t(new n(this.maxX,this.minY))),e.extend(t(new n(this.minX,this.maxY))),e.extend(t(new n(this.maxX,this.maxY))),e}static fromPoints(t){const e=new tf;for(const n of t)e.extend(n);return e}contains(t){return t.x>=this.minX&&t.x<=this.maxX&&t.y>=this.minY&&t.y<=this.maxY}empty(){return this.minX>this.maxX}width(){return this.maxX-this.minX}height(){return this.maxY-this.minY}covers(t){return !this.empty()&&!t.empty()&&t.minX>=this.minX&&t.maxX<=this.maxX&&t.minY>=this.minY&&t.maxY<=this.maxY}intersects(t){return !this.empty()&&!t.empty()&&t.minX<=this.maxX&&t.maxX>=this.minX&&t.minY<=this.maxY&&t.maxY>=this.minY}}class ef{constructor(t){this._stringToNumber={},this._numberToString=[];for(let e=0;e=this._numberToString.length)throw new Error(`Out of bounds. Index requested n=${t} can't be >= this._numberToString.length ${this._numberToString.length}`);return this._numberToString[t]}}class nf{constructor(t,e,n,r,i){this.type="Feature",this._vectorTileFeature=t,this._x=n,this._y=r,this._z=e,this.properties=t.properties,this.id=i;}projectPoint(t,e,n,r){return [360*(t.x+e)/r-180,360/Math.PI*Math.atan(Math.exp((1-2*(t.y+n)/r)*Math.PI))-90]}projectLine(t,e,n,r){return t.map((t=>this.projectPoint(t,e,n,r)))}get geometry(){if(this._geometry)return this._geometry;const t=this._vectorTileFeature,e=t.extent*Math.pow(2,this._z),n=t.extent*this._x,r=t.extent*this._y,i=t.loadGeometry();switch(t.type){case 1:{const t=[];for(const e of i)t.push(e[0]);const s=this.projectLine(t,n,r,e);this._geometry=1===t.length?{type:"Point",coordinates:s[0]}:{type:"MultiPoint",coordinates:s};break}case 2:{const t=i.map((t=>this.projectLine(t,n,r,e)));this._geometry=1===t.length?{type:"LineString",coordinates:t[0]}:{type:"MultiLineString",coordinates:t};break}case 3:{const t=Lu(i),s=[];for(const i of t)s.push(i.map((t=>this.projectLine(t,n,r,e))));this._geometry=1===s.length?{type:"Polygon",coordinates:s[0]}:{type:"MultiPolygon",coordinates:s};break}default:throw new Error(`unknown feature type: ${t.type}`)}return this._geometry}set geometry(t){this._geometry=t;}toJSON(){const t={geometry:this.geometry};for(const e in this)"_geometry"!==e&&"_vectorTileFeature"!==e&&"_x"!==e&&"_y"!==e&&"_z"!==e&&(t[e]=this[e]);return t}}class rf{constructor(t,e,n){this._name=t,this.dataBuffer=e,"number"==typeof n?this._size=n:(this.nullabilityBuffer=n,this._size=n.size());}getValue(t){return this.nullabilityBuffer&&!this.nullabilityBuffer.get(t)?null:this.getValueFromBuffer(t)}has(t){return this.nullabilityBuffer?.get(t)||!this.nullabilityBuffer}get name(){return this._name}get size(){return this._size}}class sf extends rf{}class of extends sf{getValueFromBuffer(t){return this.dataBuffer[t]}}class af extends sf{getValueFromBuffer(t){return this.dataBuffer[t]}}class lf extends rf{constructor(t,e,n,r){super(t,e,r),this.delta=n;}}class uf extends lf{constructor(t,e,n,r){super(t,Int32Array.of(e),n,r);}getValueFromBuffer(t){return this.dataBuffer[0]+t*this.delta}}class cf extends rf{constructor(t,e,n,r){super(t,r?Int32Array.of(e):Uint32Array.of(e),n);}getValueFromBuffer(t){return this.dataBuffer[0]}}class hf{constructor(t,e,n,r,i=4096){this._name=t,this._geometryVector=e,this._idVector=n,this._propertyVectors=r,this._extent=i;}get name(){return this._name}get idVector(){return this._idVector}get geometryVector(){return this._geometryVector}get propertyVectors(){return this._propertyVectors}getPropertyVector(t){return this.propertyVectorsMap||(this.propertyVectorsMap=new Map(this._propertyVectors.map((t=>[t.name,t])))),this.propertyVectorsMap.get(t)}get numFeatures(){return this.geometryVector.numGeometries}get extent(){return this._extent}getFeatures(){const t=[],e=this.geometryVector.getGeometries();for(let n=0;n>>32-t;const mf=yf,gf=256;function xf(t,e){return t-t%e}function vf(t){const e=t>>>0;return ((255&e)<<24|(65280&e)<<8|e>>>8&65280|e>>>24&255)>>>0}const bf=function(){if(!Number.isFinite(65536))return 65536;const t=xf(Math.floor(65536),gf);return 0===t?gf:t}(),wf=3*bf/gf+bf|0;function _f(){const t=new Uint8Array(wf);return {dataToBePacked:new Array(33),dataPointers:new Int32Array(33),byteContainer:t,byteContainerI32:new Int32Array(t.buffer,t.byteOffset,t.byteLength>>>2),exceptionSizes:new Int32Array(33)}}function Sf(t,e,n,r,i){switch(i){case 1:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<8;e++){const e=t[s++]>>>0;n[i++]=e>>>0&1,n[i++]=e>>>1&1,n[i++]=e>>>2&1,n[i++]=e>>>3&1,n[i++]=e>>>4&1,n[i++]=e>>>5&1,n[i++]=e>>>6&1,n[i++]=e>>>7&1,n[i++]=e>>>8&1,n[i++]=e>>>9&1,n[i++]=e>>>10&1,n[i++]=e>>>11&1,n[i++]=e>>>12&1,n[i++]=e>>>13&1,n[i++]=e>>>14&1,n[i++]=e>>>15&1,n[i++]=e>>>16&1,n[i++]=e>>>17&1,n[i++]=e>>>18&1,n[i++]=e>>>19&1,n[i++]=e>>>20&1,n[i++]=e>>>21&1,n[i++]=e>>>22&1,n[i++]=e>>>23&1,n[i++]=e>>>24&1,n[i++]=e>>>25&1,n[i++]=e>>>26&1,n[i++]=e>>>27&1,n[i++]=e>>>28&1,n[i++]=e>>>29&1,n[i++]=e>>>30&1,n[i++]=e>>>31&1;}}(t,e,n,r);break;case 2:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<8;e++){const e=t[s++]>>>0,r=t[s++]>>>0;n[i++]=e>>>0&3,n[i++]=e>>>2&3,n[i++]=e>>>4&3,n[i++]=e>>>6&3,n[i++]=e>>>8&3,n[i++]=e>>>10&3,n[i++]=e>>>12&3,n[i++]=e>>>14&3,n[i++]=e>>>16&3,n[i++]=e>>>18&3,n[i++]=e>>>20&3,n[i++]=e>>>22&3,n[i++]=e>>>24&3,n[i++]=e>>>26&3,n[i++]=e>>>28&3,n[i++]=e>>>30&3,n[i++]=r>>>0&3,n[i++]=r>>>2&3,n[i++]=r>>>4&3,n[i++]=r>>>6&3,n[i++]=r>>>8&3,n[i++]=r>>>10&3,n[i++]=r>>>12&3,n[i++]=r>>>14&3,n[i++]=r>>>16&3,n[i++]=r>>>18&3,n[i++]=r>>>20&3,n[i++]=r>>>22&3,n[i++]=r>>>24&3,n[i++]=r>>>26&3,n[i++]=r>>>28&3,n[i++]=r>>>30&3;}}(t,e,n,r);break;case 3:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<8;e++){const e=t[s++]>>>0,r=t[s++]>>>0,o=t[s++]>>>0;n[i++]=e>>>0&7,n[i++]=e>>>3&7,n[i++]=e>>>6&7,n[i++]=e>>>9&7,n[i++]=e>>>12&7,n[i++]=e>>>15&7,n[i++]=e>>>18&7,n[i++]=e>>>21&7,n[i++]=e>>>24&7,n[i++]=e>>>27&7,n[i++]=7&(e>>>30|(1&r)<<2),n[i++]=r>>>1&7,n[i++]=r>>>4&7,n[i++]=r>>>7&7,n[i++]=r>>>10&7,n[i++]=r>>>13&7,n[i++]=r>>>16&7,n[i++]=r>>>19&7,n[i++]=r>>>22&7,n[i++]=r>>>25&7,n[i++]=r>>>28&7,n[i++]=7&(r>>>31|(3&o)<<1),n[i++]=o>>>2&7,n[i++]=o>>>5&7,n[i++]=o>>>8&7,n[i++]=o>>>11&7,n[i++]=o>>>14&7,n[i++]=o>>>17&7,n[i++]=o>>>20&7,n[i++]=o>>>23&7,n[i++]=o>>>26&7,n[i++]=o>>>29&7;}}(t,e,n,r);break;case 4:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<8;e++){const e=t[s++]>>>0,r=t[s++]>>>0,o=t[s++]>>>0,a=t[s++]>>>0;n[i++]=e>>>0&15,n[i++]=e>>>4&15,n[i++]=e>>>8&15,n[i++]=e>>>12&15,n[i++]=e>>>16&15,n[i++]=e>>>20&15,n[i++]=e>>>24&15,n[i++]=e>>>28&15,n[i++]=r>>>0&15,n[i++]=r>>>4&15,n[i++]=r>>>8&15,n[i++]=r>>>12&15,n[i++]=r>>>16&15,n[i++]=r>>>20&15,n[i++]=r>>>24&15,n[i++]=r>>>28&15,n[i++]=o>>>0&15,n[i++]=o>>>4&15,n[i++]=o>>>8&15,n[i++]=o>>>12&15,n[i++]=o>>>16&15,n[i++]=o>>>20&15,n[i++]=o>>>24&15,n[i++]=o>>>28&15,n[i++]=a>>>0&15,n[i++]=a>>>4&15,n[i++]=a>>>8&15,n[i++]=a>>>12&15,n[i++]=a>>>16&15,n[i++]=a>>>20&15,n[i++]=a>>>24&15,n[i++]=a>>>28&15;}}(t,e,n,r);break;case 5:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<8;e++){const e=t[s++]>>>0,r=t[s++]>>>0,o=t[s++]>>>0,a=t[s++]>>>0,l=t[s++]>>>0;n[i++]=e>>>0&31,n[i++]=e>>>5&31,n[i++]=e>>>10&31,n[i++]=e>>>15&31,n[i++]=e>>>20&31,n[i++]=e>>>25&31,n[i++]=31&(e>>>30|(7&r)<<2),n[i++]=r>>>3&31,n[i++]=r>>>8&31,n[i++]=r>>>13&31,n[i++]=r>>>18&31,n[i++]=r>>>23&31,n[i++]=31&(r>>>28|(1&o)<<4),n[i++]=o>>>1&31,n[i++]=o>>>6&31,n[i++]=o>>>11&31,n[i++]=o>>>16&31,n[i++]=o>>>21&31,n[i++]=o>>>26&31,n[i++]=31&(o>>>31|(15&a)<<1),n[i++]=a>>>4&31,n[i++]=a>>>9&31,n[i++]=a>>>14&31,n[i++]=a>>>19&31,n[i++]=a>>>24&31,n[i++]=31&(a>>>29|(3&l)<<3),n[i++]=l>>>2&31,n[i++]=l>>>7&31,n[i++]=l>>>12&31,n[i++]=l>>>17&31,n[i++]=l>>>22&31,n[i++]=l>>>27&31;}}(t,e,n,r);break;case 6:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<8;e++){const e=t[s++]>>>0,r=t[s++]>>>0,o=t[s++]>>>0,a=t[s++]>>>0,l=t[s++]>>>0,u=t[s++]>>>0;n[i++]=e>>>0&63,n[i++]=e>>>6&63,n[i++]=e>>>12&63,n[i++]=e>>>18&63,n[i++]=e>>>24&63,n[i++]=63&(e>>>30|(15&r)<<2),n[i++]=r>>>4&63,n[i++]=r>>>10&63,n[i++]=r>>>16&63,n[i++]=r>>>22&63,n[i++]=63&(r>>>28|(3&o)<<4),n[i++]=o>>>2&63,n[i++]=o>>>8&63,n[i++]=o>>>14&63,n[i++]=o>>>20&63,n[i++]=o>>>26&63,n[i++]=a>>>0&63,n[i++]=a>>>6&63,n[i++]=a>>>12&63,n[i++]=a>>>18&63,n[i++]=a>>>24&63,n[i++]=63&(a>>>30|(15&l)<<2),n[i++]=l>>>4&63,n[i++]=l>>>10&63,n[i++]=l>>>16&63,n[i++]=l>>>22&63,n[i++]=63&(l>>>28|(3&u)<<4),n[i++]=u>>>2&63,n[i++]=u>>>8&63,n[i++]=u>>>14&63,n[i++]=u>>>20&63,n[i++]=u>>>26&63;}}(t,e,n,r);break;case 7:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<8;e++){const e=t[s++]>>>0,r=t[s++]>>>0,o=t[s++]>>>0,a=t[s++]>>>0,l=t[s++]>>>0,u=t[s++]>>>0,c=t[s++]>>>0;n[i++]=e>>>0&127,n[i++]=e>>>7&127,n[i++]=e>>>14&127,n[i++]=e>>>21&127,n[i++]=127&(e>>>28|(7&r)<<4),n[i++]=r>>>3&127,n[i++]=r>>>10&127,n[i++]=r>>>17&127,n[i++]=r>>>24&127,n[i++]=127&(r>>>31|(63&o)<<1),n[i++]=o>>>6&127,n[i++]=o>>>13&127,n[i++]=o>>>20&127,n[i++]=127&(o>>>27|(3&a)<<5),n[i++]=a>>>2&127,n[i++]=a>>>9&127,n[i++]=a>>>16&127,n[i++]=a>>>23&127,n[i++]=127&(a>>>30|(31&l)<<2),n[i++]=l>>>5&127,n[i++]=l>>>12&127,n[i++]=l>>>19&127,n[i++]=127&(l>>>26|(1&u)<<6),n[i++]=u>>>1&127,n[i++]=u>>>8&127,n[i++]=u>>>15&127,n[i++]=u>>>22&127,n[i++]=127&(u>>>29|(15&c)<<3),n[i++]=c>>>4&127,n[i++]=c>>>11&127,n[i++]=c>>>18&127,n[i++]=c>>>25&127;}}(t,e,n,r);break;case 8:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<8;e++){const e=t[s++]>>>0,r=t[s++]>>>0,o=t[s++]>>>0,a=t[s++]>>>0,l=t[s++]>>>0,u=t[s++]>>>0,c=t[s++]>>>0,h=t[s++]>>>0;n[i++]=e>>>0&255,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=r>>>0&255,n[i++]=r>>>8&255,n[i++]=r>>>16&255,n[i++]=r>>>24&255,n[i++]=o>>>0&255,n[i++]=o>>>8&255,n[i++]=o>>>16&255,n[i++]=o>>>24&255,n[i++]=a>>>0&255,n[i++]=a>>>8&255,n[i++]=a>>>16&255,n[i++]=a>>>24&255,n[i++]=l>>>0&255,n[i++]=l>>>8&255,n[i++]=l>>>16&255,n[i++]=l>>>24&255,n[i++]=u>>>0&255,n[i++]=u>>>8&255,n[i++]=u>>>16&255,n[i++]=u>>>24&255,n[i++]=c>>>0&255,n[i++]=c>>>8&255,n[i++]=c>>>16&255,n[i++]=c>>>24&255,n[i++]=h>>>0&255,n[i++]=h>>>8&255,n[i++]=h>>>16&255,n[i++]=h>>>24&255;}}(t,e,n,r);break;case 16:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<128;e++){const e=t[s++]>>>0;n[i++]=65535&e,n[i++]=e>>>16&65535;}}(t,e,n,r);break;default:!function(t,e,n,r,i){const s=mf[i]>>>0;let o=e,a=0,l=t[o]>>>0,u=r;for(let e=0;e<8;e++){for(let e=0;e<32;e++)if(a+i<=32)n[u+e]=l>>>a&s,a+=i,32===a&&(a=0,o++,31!==e&&(l=t[o]>>>0));else {const r=32-a,c=l>>>a;o++,l=t[o]>>>0;const h=i-r;n[u+e]=(c|(l&-1>>>32-h>>>0)<>>0);}}(t,e,n,r,i);}return e+(i<<3)|0}function Af(t,e,n,r){if(n+2>e)throw new Error(`FastPFOR decode: byteContainer underflow at block=${r} (need 2 bytes for [bitWidth, exceptionCount], bytePos=${n}, byteSize=${e})`);const i=t[n++],s=t[n++];if(i>32)throw new Error(`FastPFOR decode: invalid bitWidth=${i} at block=${r} (expected 0..32). This likely indicates corrupted or truncated input.`);return {bitWidth:i,exceptionCount:s,bytePosIn:n}}function Mf(t,e,n,r,i,s,o,a,l){const{maxBits:u,exceptionBitWidth:c,bytePosIn:h}=function(t,e,n,r,i,s){if(n+1>e)throw new Error(`FastPFOR decode: exception header underflow at block=${s} (need 1 byte for maxBits, bytePos=${n}, byteSize=${e})`);const o=t[n++];if(o32)throw new Error(`FastPFOR decode: invalid maxBits=${o} at block=${s} (bitWidth=${r}, expected ${r}..32)`);const a=o-r|0;if(a<1||a>32)throw new Error(`FastPFOR decode: invalid exceptionBitWidth=${a} at block=${s} (bitWidth=${r}, maxBits=${o})`);if(n+i>e)throw new Error(`FastPFOR decode: exception positions underflow at block=${s} (need=${i}, have=${e-n})`);return {maxBits:o,exceptionBitWidth:a,bytePosIn:n}}(i,s,o,n,r,l);if(o=h,1===c){const s=1<y)throw new Error(`FastPFOR decode: exception stream overflow for exceptionBitWidth=${c} (ptr=${d}, need ${r}, size=${y}) at block ${l}`);for(let s=0;st.length-1)throw new Error(`FastPFOR decode: invalid whereMeta=${a} at pageStart=${o} (expected > 0 and pageStart+whereMeta < encoded.length=${t.length})`);const l=o+1|0,u=o+a|0,c=t[u]>>>0,h=c+3>>>2,p=u+1,f=p+h;if(f>=t.length)throw new Error(`FastPFOR decode: invalid byteSize=${c} (metaInts=${h}, pageStart=${o}, packedEnd=${u}, byteContainerStart=${p}) causes bitmapPos=${f} out of bounds (encoded.length=${t.length})`);const d=function(t,e,n,r){r.byteContainer.length>>2;if(3&i.byteOffset)for(let n=0;n>>8&255,i[s+2|0]=r>>>16&255,i[s+3|0]=r>>>24&255;}else {let n=r.byteContainerI32;(!n||n.buffer!==i.buffer||n.byteOffset!==i.byteOffset||n.length>>2)),n.set(t.subarray(e,e+s));}const o=3&n;if(o>0){const n=0|t[e+s|0],r=s<<2;for(let t=0;t>>(t<<3)&255;}return i}(t,p,c,s),y=c,m=function(t,e,n){const r=0|t[e++],i=n.dataToBePacked;for(let s=2;s<=32;s=s+1|0){if(!(r>>>s-1&1))continue;if(e>=t.length)throw new Error(`FastPFOR decode: truncated exception stream header (bitWidth=${s}, streamWordIndex=${e}, needWords=1, availableWords=${t.length-e}, encodedWords=${t.length})`);const o=t[e++]>>>0,a=xf(o+31,32),l=o*s+31>>>5;if(e+l>t.length)throw new Error(`FastPFOR decode: truncated exception stream (bitWidth=${s}, size=${o}, streamWordIndex=${e}, needWords=${l}, availableWords=${t.length-e}, encodedWords=${t.length})`);let u=i[s];(!u||u.length>>5)|0,n.exceptionSizes[s]=o;}return e}(t,f,s);return s.dataPointers.fill(0),function(t,e,n,r,i,s,o,a,l,u){let c=0|n,h=0;for(let e=0;e0&&(h=Mf(i,p,r,o,a,l,h,u,e));}if(c!==r)throw new Error(`FastPFOR decode: packed region mismatch (pageStart=${e}, packedStart=${n}, consumedPackedEnd=${c}, expectedPackedEnd=${r}, packedWords=${r-n}, encoded.length=${t.length})`)}(t,o,l,u,e,0|r,i/gf|0,d,y,s),m}function If(t,e,n,r,i){switch(i){case 2:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0;n[i++]=s>>>0&3,n[i++]=s>>>2&3,n[i++]=s>>>4&3,n[i++]=s>>>6&3,n[i++]=s>>>8&3,n[i++]=s>>>10&3,n[i++]=s>>>12&3,n[i++]=s>>>14&3,n[i++]=s>>>16&3,n[i++]=s>>>18&3,n[i++]=s>>>20&3,n[i++]=s>>>22&3,n[i++]=s>>>24&3,n[i++]=s>>>26&3,n[i++]=s>>>28&3,n[i++]=s>>>30&3,n[i++]=o>>>0&3,n[i++]=o>>>2&3,n[i++]=o>>>4&3,n[i++]=o>>>6&3,n[i++]=o>>>8&3,n[i++]=o>>>10&3,n[i++]=o>>>12&3,n[i++]=o>>>14&3,n[i++]=o>>>16&3,n[i++]=o>>>18&3,n[i++]=o>>>20&3,n[i++]=o>>>22&3,n[i++]=o>>>24&3,n[i++]=o>>>26&3,n[i++]=o>>>28&3,n[i]=o>>>30&3;}(t,e,n,r);case 3:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0;n[i++]=s>>>0&7,n[i++]=s>>>3&7,n[i++]=s>>>6&7,n[i++]=s>>>9&7,n[i++]=s>>>12&7,n[i++]=s>>>15&7,n[i++]=s>>>18&7,n[i++]=s>>>21&7,n[i++]=s>>>24&7,n[i++]=s>>>27&7,n[i++]=7&(s>>>30|(1&o)<<2),n[i++]=o>>>1&7,n[i++]=o>>>4&7,n[i++]=o>>>7&7,n[i++]=o>>>10&7,n[i++]=o>>>13&7,n[i++]=o>>>16&7,n[i++]=o>>>19&7,n[i++]=o>>>22&7,n[i++]=o>>>25&7,n[i++]=o>>>28&7,n[i++]=7&(o>>>31|(3&a)<<1),n[i++]=a>>>2&7,n[i++]=a>>>5&7,n[i++]=a>>>8&7,n[i++]=a>>>11&7,n[i++]=a>>>14&7,n[i++]=a>>>17&7,n[i++]=a>>>20&7,n[i++]=a>>>23&7,n[i++]=a>>>26&7,n[i]=a>>>29&7;}(t,e,n,r);case 4:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0;n[i++]=s>>>0&15,n[i++]=s>>>4&15,n[i++]=s>>>8&15,n[i++]=s>>>12&15,n[i++]=s>>>16&15,n[i++]=s>>>20&15,n[i++]=s>>>24&15,n[i++]=s>>>28&15,n[i++]=o>>>0&15,n[i++]=o>>>4&15,n[i++]=o>>>8&15,n[i++]=o>>>12&15,n[i++]=o>>>16&15,n[i++]=o>>>20&15,n[i++]=o>>>24&15,n[i++]=o>>>28&15,n[i++]=a>>>0&15,n[i++]=a>>>4&15,n[i++]=a>>>8&15,n[i++]=a>>>12&15,n[i++]=a>>>16&15,n[i++]=a>>>20&15,n[i++]=a>>>24&15,n[i++]=a>>>28&15,n[i++]=l>>>0&15,n[i++]=l>>>4&15,n[i++]=l>>>8&15,n[i++]=l>>>12&15,n[i++]=l>>>16&15,n[i++]=l>>>20&15,n[i++]=l>>>24&15,n[i]=l>>>28&15;}(t,e,n,r);case 5:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0;n[i++]=s>>>0&31,n[i++]=s>>>5&31,n[i++]=s>>>10&31,n[i++]=s>>>15&31,n[i++]=s>>>20&31,n[i++]=s>>>25&31,n[i++]=31&(s>>>30|(7&o)<<2),n[i++]=o>>>3&31,n[i++]=o>>>8&31,n[i++]=o>>>13&31,n[i++]=o>>>18&31,n[i++]=o>>>23&31,n[i++]=31&(o>>>28|(1&a)<<4),n[i++]=a>>>1&31,n[i++]=a>>>6&31,n[i++]=a>>>11&31,n[i++]=a>>>16&31,n[i++]=a>>>21&31,n[i++]=a>>>26&31,n[i++]=31&(a>>>31|(15&l)<<1),n[i++]=l>>>4&31,n[i++]=l>>>9&31,n[i++]=l>>>14&31,n[i++]=l>>>19&31,n[i++]=l>>>24&31,n[i++]=31&(l>>>29|(3&u)<<3),n[i++]=u>>>2&31,n[i++]=u>>>7&31,n[i++]=u>>>12&31,n[i++]=u>>>17&31,n[i++]=u>>>22&31,n[i]=u>>>27&31;}(t,e,n,r);case 6:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0,c=t[e+5]>>>0;n[i++]=s>>>0&63,n[i++]=s>>>6&63,n[i++]=s>>>12&63,n[i++]=s>>>18&63,n[i++]=s>>>24&63,n[i++]=63&(s>>>30|(15&o)<<2),n[i++]=o>>>4&63,n[i++]=o>>>10&63,n[i++]=o>>>16&63,n[i++]=o>>>22&63,n[i++]=63&(o>>>28|(3&a)<<4),n[i++]=a>>>2&63,n[i++]=a>>>8&63,n[i++]=a>>>14&63,n[i++]=a>>>20&63,n[i++]=a>>>26&63,n[i++]=l>>>0&63,n[i++]=l>>>6&63,n[i++]=l>>>12&63,n[i++]=l>>>18&63,n[i++]=l>>>24&63,n[i++]=63&(l>>>30|(15&u)<<2),n[i++]=u>>>4&63,n[i++]=u>>>10&63,n[i++]=u>>>16&63,n[i++]=u>>>22&63,n[i++]=63&(u>>>28|(3&c)<<4),n[i++]=c>>>2&63,n[i++]=c>>>8&63,n[i++]=c>>>14&63,n[i++]=c>>>20&63,n[i]=c>>>26&63;}(t,e,n,r);case 7:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0,c=t[e+5]>>>0,h=t[e+6]>>>0;n[i++]=s>>>0&127,n[i++]=s>>>7&127,n[i++]=s>>>14&127,n[i++]=s>>>21&127,n[i++]=127&(s>>>28|(7&o)<<4),n[i++]=o>>>3&127,n[i++]=o>>>10&127,n[i++]=o>>>17&127,n[i++]=o>>>24&127,n[i++]=127&(o>>>31|(63&a)<<1),n[i++]=a>>>6&127,n[i++]=a>>>13&127,n[i++]=a>>>20&127,n[i++]=127&(a>>>27|(3&l)<<5),n[i++]=l>>>2&127,n[i++]=l>>>9&127,n[i++]=l>>>16&127,n[i++]=l>>>23&127,n[i++]=127&(l>>>30|(31&u)<<2),n[i++]=u>>>5&127,n[i++]=u>>>12&127,n[i++]=u>>>19&127,n[i++]=127&(u>>>26|(1&c)<<6),n[i++]=c>>>1&127,n[i++]=c>>>8&127,n[i++]=c>>>15&127,n[i++]=c>>>22&127,n[i++]=127&(c>>>29|(15&h)<<3),n[i++]=h>>>4&127,n[i++]=h>>>11&127,n[i++]=h>>>18&127,n[i]=h>>>25&127;}(t,e,n,r);case 8:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0,c=t[e+5]>>>0,h=t[e+6]>>>0,p=t[e+7]>>>0;n[i++]=s>>>0&255,n[i++]=s>>>8&255,n[i++]=s>>>16&255,n[i++]=s>>>24&255,n[i++]=o>>>0&255,n[i++]=o>>>8&255,n[i++]=o>>>16&255,n[i++]=o>>>24&255,n[i++]=a>>>0&255,n[i++]=a>>>8&255,n[i++]=a>>>16&255,n[i++]=a>>>24&255,n[i++]=l>>>0&255,n[i++]=l>>>8&255,n[i++]=l>>>16&255,n[i++]=l>>>24&255,n[i++]=u>>>0&255,n[i++]=u>>>8&255,n[i++]=u>>>16&255,n[i++]=u>>>24&255,n[i++]=c>>>0&255,n[i++]=c>>>8&255,n[i++]=c>>>16&255,n[i++]=c>>>24&255,n[i++]=h>>>0&255,n[i++]=h>>>8&255,n[i++]=h>>>16&255,n[i++]=h>>>24&255,n[i++]=p>>>0&255,n[i++]=p>>>8&255,n[i++]=p>>>16&255,n[i]=p>>>24&255;}(t,e,n,r);case 9:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0,c=t[e+5]>>>0,h=t[e+6]>>>0,p=t[e+7]>>>0,f=t[e+8]>>>0;n[i++]=s>>>0&511,n[i++]=s>>>9&511,n[i++]=s>>>18&511,n[i++]=511&(s>>>27|(15&o)<<5),n[i++]=o>>>4&511,n[i++]=o>>>13&511,n[i++]=o>>>22&511,n[i++]=511&(o>>>31|(255&a)<<1),n[i++]=a>>>8&511,n[i++]=a>>>17&511,n[i++]=511&(a>>>26|(7&l)<<6),n[i++]=l>>>3&511,n[i++]=l>>>12&511,n[i++]=l>>>21&511,n[i++]=511&(l>>>30|(127&u)<<2),n[i++]=u>>>7&511,n[i++]=u>>>16&511,n[i++]=511&(u>>>25|(3&c)<<7),n[i++]=c>>>2&511,n[i++]=c>>>11&511,n[i++]=c>>>20&511,n[i++]=511&(c>>>29|(63&h)<<3),n[i++]=h>>>6&511,n[i++]=h>>>15&511,n[i++]=511&(h>>>24|(1&p)<<8),n[i++]=p>>>1&511,n[i++]=p>>>10&511,n[i++]=p>>>19&511,n[i++]=511&(p>>>28|(31&f)<<4),n[i++]=f>>>5&511,n[i++]=f>>>14&511,n[i]=f>>>23&511;}(t,e,n,r);case 10:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0,c=t[e+5]>>>0,h=t[e+6]>>>0,p=t[e+7]>>>0,f=t[e+8]>>>0,d=t[e+9]>>>0;n[i++]=s>>>0&1023,n[i++]=s>>>10&1023,n[i++]=s>>>20&1023,n[i++]=1023&(s>>>30|(255&o)<<2),n[i++]=o>>>8&1023,n[i++]=o>>>18&1023,n[i++]=1023&(o>>>28|(63&a)<<4),n[i++]=a>>>6&1023,n[i++]=a>>>16&1023,n[i++]=1023&(a>>>26|(15&l)<<6),n[i++]=l>>>4&1023,n[i++]=l>>>14&1023,n[i++]=1023&(l>>>24|(3&u)<<8),n[i++]=u>>>2&1023,n[i++]=u>>>12&1023,n[i++]=u>>>22&1023,n[i++]=c>>>0&1023,n[i++]=c>>>10&1023,n[i++]=c>>>20&1023,n[i++]=1023&(c>>>30|(255&h)<<2),n[i++]=h>>>8&1023,n[i++]=h>>>18&1023,n[i++]=1023&(h>>>28|(63&p)<<4),n[i++]=p>>>6&1023,n[i++]=p>>>16&1023,n[i++]=1023&(p>>>26|(15&f)<<6),n[i++]=f>>>4&1023,n[i++]=f>>>14&1023,n[i++]=1023&(f>>>24|(3&d)<<8),n[i++]=d>>>2&1023,n[i++]=d>>>12&1023,n[i]=d>>>22&1023;}(t,e,n,r);case 11:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0,c=t[e+5]>>>0,h=t[e+6]>>>0,p=t[e+7]>>>0,f=t[e+8]>>>0,d=t[e+9]>>>0,y=t[e+10]>>>0;n[i++]=s>>>0&2047,n[i++]=s>>>11&2047,n[i++]=2047&(s>>>22|(1&o)<<10),n[i++]=o>>>1&2047,n[i++]=o>>>12&2047,n[i++]=2047&(o>>>23|(3&a)<<9),n[i++]=a>>>2&2047,n[i++]=a>>>13&2047,n[i++]=2047&(a>>>24|(7&l)<<8),n[i++]=l>>>3&2047,n[i++]=l>>>14&2047,n[i++]=2047&(l>>>25|(15&u)<<7),n[i++]=u>>>4&2047,n[i++]=u>>>15&2047,n[i++]=2047&(u>>>26|(31&c)<<6),n[i++]=c>>>5&2047,n[i++]=c>>>16&2047,n[i++]=2047&(c>>>27|(63&h)<<5),n[i++]=h>>>6&2047,n[i++]=h>>>17&2047,n[i++]=2047&(h>>>28|(127&p)<<4),n[i++]=p>>>7&2047,n[i++]=p>>>18&2047,n[i++]=2047&(p>>>29|(255&f)<<3),n[i++]=f>>>8&2047,n[i++]=f>>>19&2047,n[i++]=2047&(f>>>30|(511&d)<<2),n[i++]=d>>>9&2047,n[i++]=d>>>20&2047,n[i++]=2047&(d>>>31|(1023&y)<<1),n[i++]=y>>>10&2047,n[i]=y>>>21&2047;}(t,e,n,r);case 12:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0,c=t[e+5]>>>0,h=t[e+6]>>>0,p=t[e+7]>>>0,f=t[e+8]>>>0,d=t[e+9]>>>0,y=t[e+10]>>>0,m=t[e+11]>>>0;n[i++]=s>>>0&4095,n[i++]=s>>>12&4095,n[i++]=4095&(s>>>24|(15&o)<<8),n[i++]=o>>>4&4095,n[i++]=o>>>16&4095,n[i++]=4095&(o>>>28|(255&a)<<4),n[i++]=a>>>8&4095,n[i++]=a>>>20&4095,n[i++]=l>>>0&4095,n[i++]=l>>>12&4095,n[i++]=4095&(l>>>24|(15&u)<<8),n[i++]=u>>>4&4095,n[i++]=u>>>16&4095,n[i++]=4095&(u>>>28|(255&c)<<4),n[i++]=c>>>8&4095,n[i++]=c>>>20&4095,n[i++]=h>>>0&4095,n[i++]=h>>>12&4095,n[i++]=4095&(h>>>24|(15&p)<<8),n[i++]=p>>>4&4095,n[i++]=p>>>16&4095,n[i++]=4095&(p>>>28|(255&f)<<4),n[i++]=f>>>8&4095,n[i++]=f>>>20&4095,n[i++]=d>>>0&4095,n[i++]=d>>>12&4095,n[i++]=4095&(d>>>24|(15&y)<<8),n[i++]=y>>>4&4095,n[i++]=y>>>16&4095,n[i++]=4095&(y>>>28|(255&m)<<4),n[i++]=m>>>8&4095,n[i]=m>>>20&4095;}(t,e,n,r);case 16:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0,c=t[e+5]>>>0,h=t[e+6]>>>0,p=t[e+7]>>>0,f=t[e+8]>>>0,d=t[e+9]>>>0,y=t[e+10]>>>0,m=t[e+11]>>>0,g=t[e+12]>>>0,x=t[e+13]>>>0,v=t[e+14]>>>0,b=t[e+15]>>>0;n[i++]=s>>>0&65535,n[i++]=s>>>16&65535,n[i++]=o>>>0&65535,n[i++]=o>>>16&65535,n[i++]=a>>>0&65535,n[i++]=a>>>16&65535,n[i++]=l>>>0&65535,n[i++]=l>>>16&65535,n[i++]=u>>>0&65535,n[i++]=u>>>16&65535,n[i++]=c>>>0&65535,n[i++]=c>>>16&65535,n[i++]=h>>>0&65535,n[i++]=h>>>16&65535,n[i++]=p>>>0&65535,n[i++]=p>>>16&65535,n[i++]=f>>>0&65535,n[i++]=f>>>16&65535,n[i++]=d>>>0&65535,n[i++]=d>>>16&65535,n[i++]=y>>>0&65535,n[i++]=y>>>16&65535,n[i++]=m>>>0&65535,n[i++]=m>>>16&65535,n[i++]=g>>>0&65535,n[i++]=g>>>16&65535,n[i++]=x>>>0&65535,n[i++]=x>>>16&65535,n[i++]=v>>>0&65535,n[i++]=v>>>16&65535,n[i++]=b>>>0&65535,n[i]=b>>>16&65535;}(t,e,n,r);case 32:for(let i=0;i<32;i=i+1|0)n[r+i|0]=0|t[e+i|0];return}const s=mf[i]>>>0;let o=e,a=0,l=t[o]>>>0;for(let e=0;e<32;e++)if(a+i<=32)n[r+e]=l>>>a&s,a+=i,32===a&&(a=0,o++,31!==e&&(l=t[o]>>>0));else {const u=32-a,c=l>>>a;o++,l=t[o]>>>0,n[r+e]=(c|(l&mf[i-u]>>>0)<=64)throw new Error("Varint too long")}return e.set(i),n}function Pf(t,e){let n,r;return r=t[e.get()],e.increment(),n=127&r,r<128?n:(r=t[e.get()],e.increment(),n|=(127&r)<<7,r<128?n:(r=t[e.get()],e.increment(),n|=(127&r)<<14,r<128?n:(r=t[e.get()],e.increment(),n|=(127&r)<<21,r<128?n:(r=t[e.get()],n|=(15&r)<<28,function(t,e,n){let r,i;if(i=e[n.get()],n.increment(),r=(112&i)>>4,i<128)return 4294967296*r+(t>>>0);if(i=e[n.get()],n.increment(),r|=(127&i)<<3,i<128)return 4294967296*r+(t>>>0);if(i=e[n.get()],n.increment(),r|=(127&i)<<10,i<128)return 4294967296*r+(t>>>0);if(i=e[n.get()],n.increment(),r|=(127&i)<<17,i<128)return 4294967296*r+(t>>>0);if(i=e[n.get()],n.increment(),r|=(127&i)<<24,i<128)return 4294967296*r+(t>>>0);if(i=e[n.get()],n.increment(),r|=(1&i)<<31,i<128)return 4294967296*r+(t>>>0);throw new Error("Expected varint not more than 10 bytes")}(n,t,e)))))}function Df(t){return t>>>1^-(1&t)}function zf(t){return t>>1n^-(1n&t)}function Bf(t){return t%2==1?(t+1)/-2:t/2}function Cf(t,e,n){if(void 0===n){n=0;for(let r=0;r=4)for(;r=4)for(;r=4)for(let r=t[0];n>4];let i=null;switch(r){case Nf.DATA:i={dictionaryType:Object.values(Uf)[15&n]};break;case Nf.OFFSET:i={offsetType:Object.values(jf)[15&n]};break;case Nf.LENGTH:i={lengthType:Object.values(qf)[15&n]};}e.increment();const s=t[e.get()],o=Object.values(ff)[s>>5],a=Object.values(ff)[s>>2&7],l=Object.values(df)[3&s];e.increment();const u=Ef(t,e,2),c=u[0];return {physicalStreamType:r,logicalStreamType:i,logicalLevelTechnique1:o,logicalLevelTechnique2:a,physicalLevelTechnique:l,numValues:c,byteLength:u[1],decompressedCount:c}}(t,e);return n.logicalLevelTechnique1===ff.MORTON?function(t,e,n){const r=Ef(e,n,2);return {physicalStreamType:t.physicalStreamType,logicalStreamType:t.logicalStreamType,logicalLevelTechnique1:t.logicalLevelTechnique1,logicalLevelTechnique2:t.logicalLevelTechnique2,physicalLevelTechnique:t.physicalLevelTechnique,numValues:t.numValues,byteLength:t.byteLength,decompressedCount:t.decompressedCount,numBits:r[0],coordinateShift:r[1]}}(n,t,e):ff.RLE!==n.logicalLevelTechnique1&&ff.RLE!==n.logicalLevelTechnique2||df.NONE===n.physicalLevelTechnique?n:function(t,e,n){const r=Ef(e,n,2);return {physicalStreamType:t.physicalStreamType,logicalStreamType:t.logicalStreamType,logicalLevelTechnique1:t.logicalLevelTechnique1,logicalLevelTechnique2:t.logicalLevelTechnique2,physicalLevelTechnique:t.physicalLevelTechnique,numValues:t.numValues,byteLength:t.byteLength,decompressedCount:r[1],runs:r[0],numRleValues:r[1]}}(n,t,e)}!function(t){t.PRESENT="PRESENT",t.DATA="DATA",t.OFFSET="OFFSET",t.LENGTH="LENGTH";}(Nf||(Nf={})),function(t){t.NONE="NONE",t.SINGLE="SINGLE",t.SHARED="SHARED",t.VERTEX="VERTEX",t.MORTON="MORTON",t.FSST="FSST";}(Uf||(Uf={})),function(t){t.VERTEX="VERTEX",t.INDEX="INDEX",t.STRING="STRING",t.KEY="KEY";}(jf||(jf={})),function(t){t.VAR_BINARY="VAR_BINARY",t.GEOMETRIES="GEOMETRIES",t.PARTS="PARTS",t.RINGS="RINGS",t.TRIANGLES="TRIANGLES",t.SYMBOL="SYMBOL",t.DICTIONARY="DICTIONARY";}(qf||(qf={})),function(t){t[t.FLAT=0]="FLAT",t[t.CONST=1]="CONST",t[t.SEQUENCE=2]="SEQUENCE",t[t.DICTIONARY=3]="DICTIONARY",t[t.FSST_DICTIONARY=4]="FSST_DICTIONARY";}(Gf||(Gf={}));class Wf{constructor(t,e){this.values=t,this._size=e;}get(t){const e=Math.floor(t/8);return 1==(this.values[e]>>t%8&1)}set(t,e){const n=Math.floor(t/8);this.values[n]=this.values[n]|(e?1:0)<>t%8&1}size(){return this._size}getBuffer(){return this.values}}function Kf(t,e,n){if(!e)return t;const r=e.size(),i=new(0,t.constructor)(r);let s=0;for(let o=0;o=4)for(;r>>0;for(let n=1;n>>0;return e}(e.logicalLevelTechnique2===ff.RLE?Cf(t,e.runs,e.numRleValues):t);break;case ff.RLE:i=Cf(t,e.runs,e.numRleValues);break;case ff.MORTON:Rf(t),i=t;break;case ff.COMPONENTWISE_DELTA:i=function(t){if(t.length<2)return new Uint32Array(t);const e=new Uint32Array(t.length);e[0]=Df(t[0])>>>0,e[1]=Df(t[1])>>>0;for(let n=2;n>>0,e[n+1]=e[n-1]+Df(t[n+1])>>>0;return e}(t);break;case ff.NONE:i=t;break;default:throw new Error(`The specified Logical level technique is not supported: ${e.logicalLevelTechnique1}`)}return r?Kf(i,r,0):i}(ed(t,e,n),n,0,i)}function td(t,e,n){return function(t,e){if(e.logicalLevelTechnique1===ff.DELTA&&e.logicalLevelTechnique2===ff.NONE)return function(t){const e=new Int32Array(t.length+1);e[0]=0,e[1]=Df(t[0]);let n=e[1];for(let r=2;r!==e.length;++r)n+=Df(t[r-1]),e[r]=e[r-1]+n;return new Uint32Array(e)}(t);if(e.logicalLevelTechnique1===ff.RLE&&e.logicalLevelTechnique2===ff.NONE)return function(t,e,n){const r=new Uint32Array(n+1);r[0]=0;let i=1,s=r[0];for(let n=0;n>>2,a=function(t,e){if(e<=t.encodedWords.length)return t.encodedWords;const n=new Uint32Array(Math.max(16,2*e));return t.encodedWords=n,n}(i,o);!function(t,e,n,r){if(e<0||n<0||e+n>t.length)throw new RangeError(`decodeBigEndianInt32sInto: out of bounds (offset=${e}, byteLength=${n}, bytes.length=${t.length})`);const i=Math.floor(n/4),s=n%4!=0,o=s?i+1:i;if(r.length0){const n=t.byteOffset+e;if(3&n)for(let n=0;n0){const e=0|t[r];if(r=r+1|0,255&e)throw new Error(`FastPFOR decode: invalid alignedLength=${e} (expected multiple of 256)`);if(i+e>s.length)throw new Error(`FastPFOR decode: output buffer too small (outPos=${i}, alignedLength=${e}, out.length=${s.length})`);r=function(t,e,n,r,i,s){const o=r+xf(i,gf);let a=r,l=n;for(;a!==o;){const n=Math.min(bf,o-a);l=kf(t,e,l,a,n,s),a=a+n|0;}return l}(t,s,r,i,e,o),i=i+e|0;}return function(t,e,n,r,i,s){if(0===s)return e;let o=0,a=e;const l=e+n,u=i;let c=i;const h=i+s;let p=0,f=0;for(;a>>o&255;if(o+=8,a+=o>>>5,o&=31,p|=(127&e)<28)throw new Error(`FastPFOR VByte: unterminated value (expected MSB=1 terminator within 5 bytes; shift=${f}, partial=${p}, decoded=${c-u}/${s}, inPos=${a}, inEnd=${l})`)}if(c!==h)throw new Error(`FastPFOR VByte: truncated stream (decoded=${c-u}, expected=${s}, consumedWords=${a-e}/${n}, vbyteStart=${e}, vbyteEnd=${l})`)}(t,r,t.length-r|0,s,i,e-i|0),s}(a.subarray(0,o),e,i.decoderWorkspace);return r.add(n),l}(t,e,n,r,function(t=16){if(t<0)throw new RangeError(`initialEncodedWordCapacity must be >= 0, got ${t}`);const e=Math.max(16,0|t);return {encodedWords:new Uint32Array(e),decoderWorkspace:_f()}}(n>>>2))}(t,n.numValues,n.byteLength,e);case df.VARINT:return Ef(t,e,n.numValues);case df.NONE:{const r=e.get();e.add(n.byteLength);const i=t.subarray(r,e.get());return new Uint32Array(i)}default:throw new Error(`Specified physicalLevelTechnique ${r} is not supported (yet).`)}}function nd(t,e,n){const r=ed(t,e,n);return 1===r.length?r[0]:function(t){return t[1]}(r)}function rd(t,e,n){return function(t){if(2===t.length){const e=Df(t[1]);return [e,e]}return [Df(t[2]),Df(t[3])]}(ed(t,e,n))}function id(t,e,n){return function(t){if(2===t.length){const e=zf(t[1]);return [e,e]}return [zf(t[2]),zf(t[3])]}(Tf(t,e,n.numValues))}function sd(t,e,n,r){return function(t,e,n){let r;switch(e.logicalLevelTechnique1){case ff.DELTA:r=function(t){const e=new BigUint64Array(t.length);e[0]=BigInt.asUintN(64,zf(t[0]));for(let n=1;n>1,e)-n}}function hd(t,e){let n=0;for(let r=0;r>r;return n}function pd(t,e,r,i,s,o,a){return t===Zf.MORTON?function(t,e,r,i,s,o){const a=new Array(s?i+1:i);for(let s=0;s[t])),r+=t,i+=t;}break;case Xf.LINESTRING:{let n,c;m?(n=f[i]-f[i-1],i++):n=p[r]-p[r-1],r++,y?(c=fd(g,a,n,!1),a+=2*n):(c=pd(t.vertexBufferType,g,d,l,n,!1,u),l+=n),e[o++]=[c],h&&s++;}break;case Xf.POLYGON:{const n=p[r]-p[r-1];r++;const c=new Array(n-1);let m,x=f[i]-f[i-1];if(i++,y){m=fd(g,a,x,!0),a+=2*x;for(let t=0;t0&&e.push(e[0]),h.push(e);}t[e]=h,s&&u++;}break;case Xf.MULTIPOLYGON:{const c=s[u]-s[u-1];u++;const h=[];for(let t=0;t0&&e.push(e[0]),h.push(e);}}t[e]=h;}}return t}[Symbol.iterator](){return null}}function xd(t,e,n,r,i,s){return new vd(t,e,n,r,i,s)}class vd extends gd{constructor(t,e,n,r,i,s){super(n,r,i,s),this._numGeometries=t,this._geometryType=e;}geometryType(t){return this._geometryType}get numGeometries(){return this._numGeometries}containsSingleGeometryType(){return !0}}function bd(t,e,n,r,i){return new wd(t,e,n,r,i)}class wd extends gd{constructor(t,e,n,r,i){super(e,n,r,i),this._geometryTypes=t;}geometryType(t){return this._geometryTypes[t]}get numGeometries(){return this._geometryTypes.length}containsSingleGeometryType(){return !1}}function _d(t,e,n,r,i){const s=Hf(t,n);let o,a,l,u;if(ad(s,r,t,n)===Gf.CONST){const i=nd(t,n,s);let c,h,p,f;for(let r=0;rn?e[s++]:1);return r}function Ad(t,e,n,r){const i=new Uint32Array(e[e.length-1]+1);let s=0;i[0]=s;let o=1,a=0;for(let l=0;l=o);){const n=t[r.increment()];if(n<=127){const o=n+3,a=t[r.increment()],l=Math.min(s+o,e);i.fill(a,s,l),s=l;}else {const o=256-n;for(let n=0;n=12?Td.decode(t.subarray(e,n)):function(t,e,n){let r="",i=e;for(;i239?4:e>223?3:e>191?2:1;if(i+u>n)break;1===u?e<128&&(l=e):2===u?(s=t[i+1],128==(192&s)&&(l=(31&e)<<6|63&s,l<=127&&(l=null))):3===u?(s=t[i+1],o=t[i+2],128==(192&s)&&128==(192&o)&&(l=(15&e)<<12|(63&s)<<6|63&o,(l<=2047||l>=55296&&l<=57343)&&(l=null))):4===u&&(s=t[i+1],o=t[i+2],a=t[i+3],128==(192&s)&&128==(192&o)&&128==(192&a)&&(l=(15&e)<<18|(63&s)<<12|(63&o)<<6|63&a,(l<=65535||l>=1114112)&&(l=null))),null===l?(l=65533,u=1):l>65535&&(l-=65536,r+=String.fromCharCode(l>>>10&1023|55296),l=56320|1023&l),r+=String.fromCharCode(l),i+=u;}return r}(t,e,n)}class Pd extends rf{constructor(t,e,n,r){super(t,n,r),this.offsetBuffer=e;}}class Dd extends Pd{constructor(t,e,n,r){super(t,e,n,r??e.length-1);}getValueFromBuffer(t){return Fd(this.dataBuffer,this.offsetBuffer[t],this.offsetBuffer[t+1])}}class zd extends Pd{constructor(t,e,n,r,i){super(t,n,r,i??e.length),this.indexBuffer=e,this.indexBuffer=e;}getValueFromBuffer(t){const e=this.indexBuffer[t];return Fd(this.dataBuffer,this.offsetBuffer[e],this.offsetBuffer[e+1])}}class Bd extends Pd{constructor(t,e,n,r,i,s,o){super(t,n,r,o),this.indexBuffer=e,this.symbolOffsetBuffer=i,this.symbolTableBuffer=s;}getValueFromBuffer(t){null==this.decodedDictionary&&(null==this.symbolLengthBuffer&&(this.symbolLengthBuffer=this.offsetToLengthBuffer(this.symbolOffsetBuffer)),this.decodedDictionary=function(t,e,n){const r=[],i=new Array(e.length).fill(0);for(let t=1;t=10}function $d(t){return 30===t}function Rd(t){if("scalarType"===t.type){const e=t.scalarType;if("physicalType"===e.type)switch(e.physicalType){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:default:return !1;case 9:return !0}if("logicalType"===e.type)return !1}else if("complexType"===t.type){const e=t.complexType;if("physicalType"===e.type)switch(e.physicalType){case 0:case 1:return !0;default:return !1}}return console.warn("Unexpected column type in hasStreamCount",t),!1}function Nd(t){return "complexType"===t.type&&"physicalType"===t.complexType?.type&&0===t.complexType.physicalType}const Ud=new TextDecoder;function jd(t,e){const n=Ef(t,e,1)[0];if(0===n)return "";const r=e.get(),i=t.subarray(r,r+n);return e.add(n),Ud.decode(i)}function qd(t,e){const n=Ef(t,e,1)[0]>>>0;if(n<10||n>30)throw new Error(`Unsupported field type code ${n}. Supported: 10-29(scalars), 30(STRUCT)`);const r=Ld(n);if(Od(n)&&(r.name=jd(t,e)),$d(n)){const n=Ef(t,e,1)[0]>>>0;r.complexType.children=new Array(n);for(let i=0;i>>0,r=Ld(n);if(!r)throw new Error(`Unsupported column type code ${n}. Supported: 0-3(ID), 4(GEOMETRY), 10-29(scalars), 30(STRUCT)`);if(Od(n)?r.name=jd(t,e):n>=0&&n<=3?r.name="id":4===n&&(r.name="geometry"),$d(n)){const n=Ef(t,e,1)[0]>>>0,i=r.complexType;i.children=new Array(n);for(let r=0;r>>0,s=Ef(t,e,1)[0]>>>0;r.columns=new Array(s);for(let n=0;n=4)for(;n>>0,o=r.get()+e;if(o>t.length)throw new Error(`Block overruns tile: ${o} > ${t.length}`);if(1!=Ef(t,r,1)[0]>>>0){r.set(o);continue}const[a,l]=Xd(t,r),u=a.featureTables[0];let c=null,h=null;const p=[];let f=0;for(const e of u.columns){const i=e.name;if("scalarType"===(s=e).type&&"logicalType"===s.scalarType?.type&&0===s.scalarType.logicalType){let s=null;if(e.nullable){const e=Hf(t,r),n=r.get(),i=Ed(t,e.numValues,e.byteLength,r);r.set(n+e.byteLength),s=new Wf(i,e.numValues);}const o=Hf(t,r);f=s?s.size():o.decompressedCount,c=Yd(t,e,r,i,o,s??f,n);}else if(Nd(e)){const e=Ef(t,r,1)[0];if(0===f){const e=r.get();f=Hf(t,r).decompressedCount,r.set(e);}h=_d(t,e,r,f);}else {const n=Rd(e)?Ef(t,r,1)[0]:1;if(0===n)continue;const i=Cd(t,r,e,n,f);if(i)if(Array.isArray(i))for(const t of i)p.push(t);else p.push(i);}}const d=new hf(u.name,h,c,p,l);i.push(d),r.set(o);}var s;return i}(new Uint8Array(t));this.layers=e.reduce(((t,e)=>Object.assign(Object.assign({},t),{[e.name]:new Hd(e)})),{});}}class Kd{constructor(t,e){this.feature=t,this.type=t.type,this.properties=t.tags?t.tags:{},this.extent=e,"id"in t&&("string"==typeof t.id?this.id=parseInt(t.id,10):"number"!=typeof t.id||isNaN(t.id)||(this.id=t.id));}loadGeometry(){const t=[],e=1===this.feature.type?[this.feature.geometry]:this.feature.geometry;for(const r of e){const e=[];for(const t of r)e.push(new n(t[0],t[1]));t.push(e);}return t}}const Jd="_geojsonTileLayer";function Qd(t,e,n=""){e.writeVarintField(15,t.version||1),e.writeStringField(1,t.name||""),e.writeVarintField(5,t.extent||4096);const r={jsonPrefix:n,keys:[],values:[],keycache:{},valuecache:{}};for(let n=0;n>31}function iy(t,e){const n=t.loadGeometry(),r=t.type;let i=0,s=0;for(const o of n){let n=1;1===r&&(n=o.length),e.writeVarint(ny(1,n));const a=3===r?o.length-1:o.length;for(let t=0;t=0&&e[3]>=0&&a.insert(o,e[0],e[1],e[2],e[3]);}}loadVTLayers(){return this.vtLayers||(this.vtLayers="mlt"!==this.encoding?new Nu(new Rh(this.rawTileData)).layers:new Wd(this.rawTileData).layers,this.sourceLayerCoder=new ef(this.vtLayers?Object.keys(this.vtLayers).sort():[Jd])),this.vtLayers}query(t,e,r,i){this.loadVTLayers();const s=t.params,o=T/t.tileSize/t.scale,a=yi(s.filter,s.globalState),l=t.queryGeometry,u=t.queryPadding*o,c=tf.fromPoints(l),h=this.grid.query(c.minX-u,c.minY-u,c.maxX+u,c.maxY+u),p=tf.fromPoints(t.cameraQueryGeometry).expandBy(u),f=this.grid3D.query(p.minX,p.minY,p.maxX,p.maxY,((e,r,i,s)=>function(t,e,r,i,s){for(const n of t)if(e<=n.x&&r<=n.y&&i>=n.x&&s>=n.y)return !0;const o=[new n(e,r),new n(e,s),new n(i,s),new n(i,r)];if(t.length>2)for(const e of o)if(il(t,e))return !0;for(let e=0;e(c||(c=qa(e)),n.queryIntersectsFeature({queryGeometry:l,feature:e,featureState:r,geometry:c,zoom:this.z,transform:t.transform,pixelsToTileUnits:o,pixelPosMatrix:t.pixelPosMatrix,unwrappedTileID:this.tileID.toUnwrapped(),getElevation:t.getElevation}))));}return d}loadMatchingFeature(t,e,n,r,i,s,o,a,l,u,c){const h=this.bucketLayerIDs[e];if(s&&!h.some((t=>s.has(t))))return;const p=this.sourceLayerCoder.decode(n),f=this.vtLayers[p].feature(r);if(i.needGeometry){const t=Ga(f,!0);if(!i.filter(new Cs(this.tileID.overscaledZ),t,this.tileID.canonical))return}else if(!i.filter(new Cs(this.tileID.overscaledZ),f))return;const d=this.getId(f,p);for(const e of h){if(s&&!s.has(e))continue;const n=a[e];if(!n)continue;let i={};d&&u&&(i=u.getState(n.sourceLayer||Jd,d));const h=$({},l[e]);h.paint=ay(h.paint,n.paint,f,i,o),h.layout=ay(h.layout,n.layout,f,i,o);const p=!c||c(f,n,i);if(!p)continue;const y=new nf(f,this.z,this.x,this.y,d);y.layer=h;let m=t[e];void 0===m&&(m=t[e]=[]),m.push({featureIndex:r,feature:y,intersectionZ:p});}}lookupSymbolFeatures(t,e,n,r,i,s,o,a){const l={};this.loadVTLayers();const u=yi(i.filterSpec,i.globalState);for(const i of t)this.loadMatchingFeature(l,n,r,i,u,s,o,a,e);return l}hasLayer(t){for(const e of this.bucketLayerIDs)for(const n of e)if(t===n)return !0;return !1}getId(t,e){var n;let r=t.id;return this.promoteId&&(r=t.properties["string"==typeof this.promoteId?this.promoteId:this.promoteId[e]],"boolean"==typeof r&&(r=Number(r)),void 0===r&&(null===(n=t.properties)||void 0===n?void 0:n.cluster)&&this.promoteId&&(r=Number(t.properties.cluster_id))),r}}function ay(t,e,n,r,i){return N(t,((t,s)=>{const o=e instanceof Gs?e.get(s):null;return (null==o?void 0:o.evaluate)?o.evaluate(n,r,i):o}))}function ly(t,e){return e-t}function uy(t,e,r,i,s){const o=[];for(const a of t){let t;for(let l=0;l=i&&c.x>=i||(u.x>=i?u=new n(i,u.y+(i-u.x)/(c.x-u.x)*(c.y-u.y))._round():c.x>=i&&(c=new n(i,u.y+(i-u.x)/(c.x-u.x)*(c.y-u.y))._round()),u.y>=s&&c.y>=s||(u.y>=s?u=new n(u.x+(s-u.y)/(c.y-u.y)*(c.x-u.x),s)._round():c.y>=s&&(c=new n(u.x+(s-u.y)/(c.y-u.y)*(c.x-u.x),s)._round()),t&&u.equals(t[t.length-1])||(t=[u],o.push(t)),t.push(c)))));}}return o}function cy(t,e,n,r,i){switch(e){case 1:return function(t,e,n,r){const i=[];for(const s of t)for(const t of s){const s=0===r?t.x:t.y;s>=e&&s<=n&&i.push([t]);}return i}(t,n,r,i);case 2:return py(t,n,r,i,!1);case 3:return py(t,n,r,i,!0)}return []}function hy(t,e,r,i,s){const o=0===i?fy:dy;let a=[];const l=[];for(let n=0;ne&&a.push(o(u,c,e)):h>r?p=e&&(a.push(o(u,c,e)),f=!0),p>r&&h<=r&&(a.push(o(u,c,r)),f=!0),!s&&f&&(l.push(a),a=[]);}const u=t.length-1,c=0===i?t[u].x:t[u].y;return c>=e&&c<=r&&a.push(t[u]),s&&a.length>0&&!a[0].equals(a[a.length-1])&&a.push(new n(a[0].x,a[0].y)),a.length>0&&l.push(a),l}function py(t,e,n,r,i){const s=[];for(const o of t){const t=hy(o,e,n,r,i);t.length>0&&s.push(...t);}return s}function fy(t,e,r){return new n(r,t.y+(r-t.x)/(e.x-t.x)*(e.y-t.y))}function dy(t,e,r){return new n(t.x+(r-t.y)/(e.y-t.y)*(e.x-t.x),r)}ds("FeatureIndex",oy,{omit:["rawTileData","sourceLayerCoder"]});class yy extends n{constructor(t,e,n,r){super(t,e),this.angle=n,void 0!==r&&(this.segment=r);}clone(){return new yy(this.x,this.y,this.angle,this.segment)}}function my(t,e,n,r,i){if(void 0===e.segment||0===n)return !0;let s=e,o=e.segment+1,a=0;for(;a>-n/2;){if(o--,o<0)return !1;a-=t[o].dist(s),s=t[o];}a+=t[o].dist(t[o+1]),o++;const l=[];let u=0;for(;ar;)u-=l.shift().angleDelta;if(u>i)return !1;o++,a+=e.dist(n);}return !0}function gy(t){let e=0;for(let n=0;nu){const c=(u-l)/s,h=xn.number(r.x,i.x,c),p=xn.number(r.y,i.y,c),f=new yy(h,p,i.angleTo(r),n);return f._round(),!o||my(t,f,a,o,e)?f:void 0}l+=s;}}function wy(t,e,n,r,i,s,o,a,l){const u=xy(r,s,o),c=vy(r,i),h=c*o,p=0===t[0].x||t[0].x===l||0===t[0].y||t[0].y===l;return e-h=0&&g=0&&x=0&&p+u<=c){const n=new yy(g,x,y,e);n._round(),r&&!my(t,n,s,r,i)||f.push(n);}}h+=d;}return a||f.length||o||(f=_y(t,h/2,n,r,i,s,o,!0,l)),f}function Sy(t,e,r,i){const s=[],o=t.image,a=o.pixelRatio,l=o.paddedRect.w-2,u=o.paddedRect.h-2;let c={x1:t.left,y1:t.top,x2:t.right,y2:t.bottom};const h=o.stretchX||[[0,l]],p=o.stretchY||[[0,u]],f=(t,e)=>t+e[1]-e[0],d=h.reduce(f,0),y=p.reduce(f,0),m=l-d,g=u-y;let x=0,v=d,b=0,w=y,_=0,S=m,A=0,M=g;if(o.content&&i){const e=o.content,n=e[2]-e[0],r=e[3]-e[1];(o.textFitWidth||o.textFitHeight)&&(c=dp(t)),x=Ay(h,0,e[0]),b=Ay(p,0,e[1]),v=Ay(h,e[0],e[2]),w=Ay(p,e[1],e[3]),_=e[0]-x,A=e[1]-b,S=n-v,M=r-w;}const k=c.x1,I=c.y1,E=c.x2-k,T=c.y2-I,F=(t,i,s,l)=>{const u=ky(t.stretch-x,v,E,k),c=Iy(t.fixed-_,S,t.stretch,d),h=ky(i.stretch-b,w,T,I),p=Iy(i.fixed-A,M,i.stretch,y),f=ky(s.stretch-x,v,E,k),m=Iy(s.fixed-_,S,s.stretch,d),g=ky(l.stretch-b,w,T,I),F=Iy(l.fixed-A,M,l.stretch,y),P=new n(u,h),D=new n(f,h),z=new n(f,g),B=new n(u,g),C=new n(c/a,p/a),V=new n(m/a,F/a),L=e*Math.PI/180;if(L){const t=Math.sin(L),e=Math.cos(L),n=[e,-t,t,e];P._matMult(n),D._matMult(n),B._matMult(n),z._matMult(n);}const O=t.stretch+t.fixed,$=i.stretch+i.fixed;return {tl:P,tr:D,bl:B,br:z,tex:{x:o.paddedRect.x+1+O,y:o.paddedRect.y+1+$,w:s.stretch+s.fixed-O,h:l.stretch+l.fixed-$},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:C,pixelOffsetBR:V,minFontScaleX:S/a/E,minFontScaleY:M/a/T,isSDF:r}};if(i&&(o.stretchX||o.stretchY)){const t=My(h,m,d),e=My(p,g,y);for(let n=0;n0&&(r=Math.max(10,r),this.circleDiameter=r);}else {const u=(null===(h=o.image)||void 0===h?void 0:h.content)&&(o.image.textFitWidth||o.image.textFitHeight)?dp(o):{x1:o.left,y1:o.top,x2:o.right,y2:o.bottom};u.y1=u.y1*a-l[0],u.y2=u.y2*a+l[2],u.x1=u.x1*a-l[3],u.x2=u.x2*a+l[1];const p=o.collisionPadding;if(p&&(u.x1-=p[0]*a,u.y1-=p[1]*a,u.x2+=p[2]*a,u.y2+=p[3]*a),c){const t=new n(u.x1,u.y1),e=new n(u.x2,u.y1),r=new n(u.x1,u.y2),i=new n(u.x2,u.y2),s=c*Math.PI/180;t._rotate(s),e._rotate(s),r._rotate(s),i._rotate(s),u.x1=Math.min(t.x,e.x,r.x,i.x),u.x2=Math.max(t.x,e.x,r.x,i.x),u.y1=Math.min(t.y,e.y,r.y,i.y),u.y2=Math.max(t.y,e.y,r.y,i.y);}t.emplaceBack(e.x,e.y,u.x1,u.y1,u.x2,u.y2,r,i,s);}this.boxEndIndex=t.length;}}class Ty{constructor(t=[],e=(t,e)=>te?1:0){if(this.data=t,this.length=this.data.length,this.compare=e,this.length>0)for(let t=(this.length>>1)-1;t>=0;t--)this._down(t);}push(t){this.data.push(t),this._up(this.length++);}pop(){if(0===this.length)return;const t=this.data[0],e=this.data.pop();return --this.length>0&&(this.data[0]=e,this._down(0)),t}peek(){return this.data[0]}_up(t){const{data:e,compare:n}=this,r=e[t];for(;t>0;){const i=t-1>>1,s=e[i];if(n(r,s)>=0)break;e[t]=s,t=i;}e[t]=r;}_down(t){const{data:e,compare:n}=this,r=this.length>>1,i=e[t];for(;t=0)break;e[t]=e[r],t=r;}e[t]=i;}}function Fy(t,e=1){const r=tf.fromPoints(t[0]),i=Math.min(r.width(),r.height());let s=i/2;const o=new Ty([],Py),{minX:a,minY:l,maxX:u,maxY:c}=r;if(0===i)return new n(a,l);for(let e=a;ep.d||!p.d)&&(p=n),n.max-p.d<=e||(s=n.h/2,o.push(new Dy(n.p.x-s,n.p.y-s,s,t)),o.push(new Dy(n.p.x+s,n.p.y-s,s,t)),o.push(new Dy(n.p.x-s,n.p.y+s,s,t)),o.push(new Dy(n.p.x+s,n.p.y+s,s,t)));}return h.d>0&&p.d-h.d<=e?h.p:p.p}function Py(t,e){return e.max-t.max}class Dy{constructor(t,e,r,i){this.p=new n(t,e),this.h=r,this.d=function(t,e){let n=!1,r=1/0;for(const i of e)for(let e=0,s=i.length,o=s-1;et.y!=a.y>t.y&&t.x<(a.x-s.x)*(t.y-s.y)/(a.y-s.y)+s.x&&(n=!n),r=Math.min(r,nl(t,s,a));}return (n?1:-1)*Math.sqrt(r)}(this.p,i),this.max=this.d+this.h*Math.SQRT2;}}var zy;t.aM=void 0,(zy=t.aM||(t.aM={}))[zy.center=1]="center",zy[zy.left=2]="left",zy[zy.right=3]="right",zy[zy.top=4]="top",zy[zy.bottom=5]="bottom",zy[zy["top-left"]=6]="top-left",zy[zy["top-right"]=7]="top-right",zy[zy["bottom-left"]=8]="bottom-left",zy[zy["bottom-right"]=9]="bottom-right";const By=Number.POSITIVE_INFINITY;function Cy(t,e){return e[1]!==By?function(t,e,n){let r=0,i=0;switch(e=Math.abs(e),n=Math.abs(n),t){case "top-right":case "top-left":case "top":i=n-7;break;case "bottom-right":case "bottom-left":case "bottom":i=7-n;}switch(t){case "top-right":case "bottom-right":case "right":r=-e;break;case "top-left":case "bottom-left":case "left":r=e;}return [r,i]}(t,e[0],e[1]):function(t,e){let n=0,r=0;e<0&&(e=0);const i=e/Math.SQRT2;switch(t){case "top-right":case "top-left":r=i-7;break;case "bottom-right":case "bottom-left":r=7-i;break;case "bottom":r=7-e;break;case "top":r=e-7;}switch(t){case "top-right":case "bottom-right":n=-i;break;case "top-left":case "bottom-left":n=i;break;case "left":n=e;break;case "right":n=-e;}return [n,r]}(t,e[0])}function Vy(t,e,n){var r;const i=t.layout,s=null===(r=i.get("text-variable-anchor-offset"))||void 0===r?void 0:r.evaluate(e,{},n);if(s){const t=s.values,e=[];for(let n=0;nt*Ih));r.startsWith("top")?i[1]-=7:r.startsWith("bottom")&&(i[1]+=7),e[n+1]=i;}return new $e(e)}const o=i.get("text-variable-anchor");if(o){let r;r=void 0!==t._unevaluatedLayout.getValue("text-radial-offset")?[i.get("text-radial-offset").evaluate(e,{},n)*Ih,By]:i.get("text-offset").evaluate(e,{},n).map((t=>t*Ih));const s=[];for(const t of o)s.push(t,Cy(t,r));return new $e(s)}return null}function Ly(t){switch(t){case "right":case "top-right":case "bottom-right":return "right";case "left":case "top-left":case "bottom-left":return "left"}return "center"}function Oy(e,n,r,i,s,o,a,l,u,c,h,p){let f=o.textMaxSize.evaluate(n,{});void 0===f&&(f=a);const d=e.layers[0].layout,y=d.get("icon-offset").evaluate(n,{},h),m=Ry(r.horizontal),g=a/24,x=e.tilePixelRatio*g,v=e.tilePixelRatio*f/24,b=e.tilePixelRatio*l,w=e.tilePixelRatio*d.get("symbol-spacing"),_=d.get("text-padding")*e.tilePixelRatio,S=function(t,e,n,r=1){const i=t.get("icon-padding").evaluate(e,{},n),s=null==i?void 0:i.values;return [s[0]*r,s[1]*r,s[2]*r,s[3]*r]}(d,n,h,e.tilePixelRatio),A=d.get("text-max-angle")/180*Math.PI,M="viewport"!==d.get("text-rotation-alignment")&&"point"!==d.get("symbol-placement"),k="map"===d.get("icon-rotation-alignment")&&"point"!==d.get("symbol-placement"),I=d.get("symbol-placement"),E=w/2,F=d.get("icon-text-fit");let P;i&&"none"!==F&&(e.allowVerticalPlacement&&r.vertical&&(P=yp(i,r.vertical,F,d.get("icon-text-fit-padding"),y,g)),m&&(i=yp(i,m,F,d.get("icon-text-fit-padding"),y,g)));const D=h?p.line.getGranularityForZoomLevel(h.z):1,z=(l,p)=>{p.x<0||p.x>=T||p.y<0||p.y>=T||function(e,n,r,i,s,o,a,l,u,c,h,p,f,d,y,m,g,x,v,b,w,_,S,A,M){const k=e.addToLineVertexArray(n,r);let I,E,T,F,P=0,D=0,z=0,B=0,C=-1,V=-1;const L={};let O=ba("");if(e.allowVerticalPlacement&&i.vertical){const t=l.layout.get("text-rotate").evaluate(w,{},A)+90;T=new Ey(u,n,c,h,p,i.vertical,f,d,y,t),a&&(F=new Ey(u,n,c,h,p,a,g,x,y,t));}if(s){const r=l.layout.get("icon-rotate").evaluate(w,{}),i="none"!==l.layout.get("icon-text-fit"),o=Sy(s,r,S,i),f=a?Sy(a,r,S,i):void 0;E=new Ey(u,n,c,h,p,s,g,x,!1,r),P=4*o.length;const d=e.iconSizeData;let y=null;"source"===d.kind?(y=[mp*l.layout.get("icon-size").evaluate(w,{})],y[0]>gp&&G(`${e.layerIds[0]}: Value for "icon-size" is >= 255. Reduce your "icon-size".`)):"composite"===d.kind&&(y=[mp*_.compositeIconSizes[0].evaluate(w,{},A),mp*_.compositeIconSizes[1].evaluate(w,{},A)],(y[0]>gp||y[1]>gp)&&G(`${e.layerIds[0]}: Value for "icon-size" is >= 255. Reduce your "icon-size".`)),e.addSymbols(e.icon,o,y,b,v,w,t.ax.none,n,k.lineStartIndex,k.lineLength,-1,A),C=e.icon.placedSymbolArray.length-1,f&&(D=4*f.length,e.addSymbols(e.icon,f,y,b,v,w,t.ax.vertical,n,k.lineStartIndex,k.lineLength,-1,A),V=e.icon.placedSymbolArray.length-1);}const $=Object.keys(i.horizontal);for(const r of $){const s=i.horizontal[r];if(!I){O=ba(s.text);const t=l.layout.get("text-rotate").evaluate(w,{},A);I=new Ey(u,n,c,h,p,s,f,d,y,t);}const a=1===s.positionedLines.length;if(z+=$y(e,n,s,o,l,y,w,m,k,i.vertical?t.ax.horizontal:t.ax.horizontalOnly,a?$:[r],L,C,_,A),a)break}i.vertical&&(B+=$y(e,n,i.vertical,o,l,y,w,m,k,t.ax.vertical,["vertical"],L,V,_,A));const R=I?I.boxStartIndex:e.collisionBoxArray.length,N=I?I.boxEndIndex:e.collisionBoxArray.length,U=T?T.boxStartIndex:e.collisionBoxArray.length,j=T?T.boxEndIndex:e.collisionBoxArray.length,q=E?E.boxStartIndex:e.collisionBoxArray.length,X=E?E.boxEndIndex:e.collisionBoxArray.length,Y=F?F.boxStartIndex:e.collisionBoxArray.length,Z=F?F.boxEndIndex:e.collisionBoxArray.length;let H=-1;const W=(t,e)=>(null==t?void 0:t.circleDiameter)?Math.max(t.circleDiameter,e):e;H=W(I,H),H=W(T,H),H=W(E,H),H=W(F,H);const K=H>-1?1:0;K&&(H*=M/Ih),e.glyphOffsetArray.length>=kp.MAX_GLYPHS&&G("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),void 0!==w.sortKey&&e.addToSortKeyRanges(e.symbolInstances.length,w.sortKey);const J=Vy(l,w,A),[Q,tt]=function(e,n){const r=e.length,i=null==n?void 0:n.values;if((null==i?void 0:i.length)>0)for(let n=0;n=0?L.right:-1,L.center>=0?L.center:-1,L.left>=0?L.left:-1,L.vertical||-1,C,V,O,R,N,U,j,q,X,Y,Z,c,z,B,P,D,K,0,f,H,Q,tt);}(e,p,l,r,i,s,P,e.layers[0],e.collisionBoxArray,n.index,n.sourceLayerIndex,e.index,x,[_,_,_,_],M,u,b,S,k,y,n,o,c,h,a);};if("line"===I)for(const t of uy(n.geometry,0,0,T,T)){const n=Su(t,D),s=wy(n,w,A,r.vertical||m,i,24,v,e.overscaling,T);for(const t of s)m&&Ny(e,m.text,E,t)||z(n,t);}else if("line-center"===I){for(const t of n.geometry)if(t.length>1){const e=Su(t,D),n=by(e,A,r.vertical||m,i,24,v);n&&z(e,n);}}else if("Polygon"===n.type)for(const t of rr(n.geometry,0)){const e=Fy(t,16);z(Su(t[0],D,!0),new yy(e.x,e.y,0));}else if("LineString"===n.type)for(const t of n.geometry){const e=Su(t,D);z(e,new yy(e[0].x,e[0].y,0));}else if("Point"===n.type)for(const t of n.geometry)for(const e of t)z([e],new yy(e.x,e.y,0));}function $y(t,e,r,i,s,o,a,l,u,c,h,p,f,d,y){const m=function(t,e,r,i,s,o,a,l){const u=i.layout.get("text-rotate").evaluate(o,{})*Math.PI/180,c=[];for(const t of e.positionedLines)for(const i of t.positionedGlyphs){if(!i.rect)continue;const o=i.rect||{};let h=4,p=!0,f=1,d=0;const y=(s||l)&&i.vertical,m=i.metrics.advance*i.scale/2;if(l&&e.verticalizable&&(d=t.lineOffset/2-(i.imageName?-(Ih-i.metrics.width*i.scale)/2:(i.scale-1)*Ih)),i.imageName){const t=a[i.imageName];p=t.sdf,f=t.pixelRatio,h=1/f;}const g=s?[i.x+m,i.y]:[0,0];let x=s?[0,0]:[i.x+m+r[0],i.y+r[1]-d],v=[0,0];y&&(v=x,x=[0,0]);const b=i.metrics.isDoubleResolution?2:1,w=(i.metrics.left-h)*i.scale-m+x[0],_=(-i.metrics.top-h)*i.scale+x[1],S=w+o.w/b*i.scale/f,A=_+o.h/b*i.scale/f,M=new n(w,_),k=new n(S,_),I=new n(w,A),E=new n(S,A);if(y){const t=new n(-m,m- -17),e=-Math.PI/2,r=12-m,s=new n(22-r,-(i.imageName?r:0)),o=new n(...v);M._rotateAround(e,t)._add(s)._add(o),k._rotateAround(e,t)._add(s)._add(o),I._rotateAround(e,t)._add(s)._add(o),E._rotateAround(e,t)._add(s)._add(o);}if(u){const t=Math.sin(u),e=Math.cos(u),n=[e,-t,t,e];M._matMult(n),k._matMult(n),I._matMult(n),E._matMult(n);}const T=new n(0,0),F=new n(0,0);c.push({tl:M,tr:k,bl:I,br:E,tex:o,writingMode:e.writingMode,glyphOffset:g,sectionIndex:i.sectionIndex,isSDF:p,pixelOffsetTL:T,pixelOffsetBR:F,minFontScaleX:0,minFontScaleY:0});}return c}(0,r,l,s,o,a,i,t.allowVerticalPlacement),g=t.textSizeData;let x=null;"source"===g.kind?(x=[mp*s.layout.get("text-size").evaluate(a,{})],x[0]>gp&&G(`${t.layerIds[0]}: Value for "text-size" is >= 255. Reduce your "text-size".`)):"composite"===g.kind&&(x=[mp*d.compositeTextSizes[0].evaluate(a,{},y),mp*d.compositeTextSizes[1].evaluate(a,{},y)],(x[0]>gp||x[1]>gp)&&G(`${t.layerIds[0]}: Value for "text-size" is >= 255. Reduce your "text-size".`)),t.addSymbols(t.text,m,x,l,o,a,c,e,u.lineStartIndex,u.lineLength,f,y);for(const e of h)p[e]=t.text.placedSymbolArray.length-1;return 4*m.length}function Ry(t){for(const e in t)return t[e];return null}function Ny(t,e,n,r){const i=t.compareText;if(e in i){const t=i[e];for(let e=t.length-1;e>=0;e--)if(r.dist(t[e])this.process())),this.subscription=tt(this.target,"message",(t=>this.receive(t)),!1),this.globalScope=Y(self)?t:window;}registerMessageHandler(t,e){this.messageHandlers[t]=e;}unregisterMessageHandler(t){delete this.messageHandlers[t];}sendAsync(t,e){return new Promise(((n,r)=>{const i=Math.round(1e18*Math.random()).toString(36).substring(0,10),s=e?tt(e.signal,"abort",(()=>{null==s||s.unsubscribe(),delete this.resolveRejects[i];const e={id:i,type:"",origin:location.origin,targetMapId:t.targetMapId,sourceMapId:this.mapId};this.target.postMessage(e);}),Lp):null;this.resolveRejects[i]={resolve:t=>{null==s||s.unsubscribe(),n(t);},reject:t=>{null==s||s.unsubscribe(),r(t);}};const o=[],a=Object.assign(Object.assign({},t),{id:i,sourceMapId:this.mapId,origin:location.origin,data:xs(t.data,o)});this.target.postMessage(a,{transfer:o});}))}receive(t){const e=t.data,n=e.id,r=["file://","resource://android","null"],i=[e.origin,location.origin],s=e.origin===location.origin,o=i.some((t=>r.includes(t)));if((s||o)&&(!e.targetMapId||this.mapId===e.targetMapId)){if(""===e.type){delete this.tasks[n];const t=this.abortControllers[n];return delete this.abortControllers[n],void(t&&t.abort())}if(Y(self)||e.mustQueue)return this.tasks[n]=e,this.taskQueue.push(n),void this.invoker.trigger();this.processTask(n,e);}}process(){if(0===this.taskQueue.length)return;const t=this.taskQueue.shift(),e=this.tasks[t];delete this.tasks[t],this.taskQueue.length>0&&this.invoker.trigger(),e&&this.processTask(t,e);}processTask(t,n){return e(this,void 0,void 0,(function*(){if(""===n.type){const e=this.resolveRejects[t];if(delete this.resolveRejects[t],!e)return;return void(n.error?e.reject(P(vs(n.error))):e.resolve(vs(n.data)))}if(!this.messageHandlers[n.type])return void this.completeTask(t,new Error(`Could not find a registered handler for ${n.type}, map ID: ${this.mapId}, available handlers: ${Object.keys(this.messageHandlers).join(", ")}`));const e=vs(n.data),r=new AbortController;this.abortControllers[t]=r;try{const i=yield this.messageHandlers[n.type](n.sourceMapId,e,r);this.completeTask(t,null,i);}catch(e){this.completeTask(t,P(e));}}))}completeTask(t,e,n){const r=[];delete this.abortControllers[t];const i={id:t,type:"",sourceMapId:this.mapId,origin:location.origin,error:e?xs(e):null,data:xs(n,r)};this.target.postMessage(i,{transfer:r});}remove(){this.invoker.remove(),this.subscription.unsubscribe();}},t.O=function(){var t=new f(16);return f!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0),t[0]=1,t[5]=1,t[10]=1,t[15]=1,t},t.P=n,t.Q=function(t,e,n){var r,i,s,o,a,l,u,c,h,p,f,d,y=n[0],m=n[1],g=n[2];return e===t?(t[12]=e[0]*y+e[4]*m+e[8]*g+e[12],t[13]=e[1]*y+e[5]*m+e[9]*g+e[13],t[14]=e[2]*y+e[6]*m+e[10]*g+e[14],t[15]=e[3]*y+e[7]*m+e[11]*g+e[15]):(i=e[1],s=e[2],o=e[3],a=e[4],l=e[5],u=e[6],c=e[7],h=e[8],p=e[9],f=e[10],d=e[11],t[0]=r=e[0],t[1]=i,t[2]=s,t[3]=o,t[4]=a,t[5]=l,t[6]=u,t[7]=c,t[8]=h,t[9]=p,t[10]=f,t[11]=d,t[12]=r*y+a*m+h*g+e[12],t[13]=i*y+l*m+p*g+e[13],t[14]=s*y+u*m+f*g+e[14],t[15]=o*y+c*m+d*g+e[15]),t},t.R=Il,t.S=function(t,e,n){var r=n[0],i=n[1],s=n[2];return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*i,t[6]=e[6]*i,t[7]=e[7]*i,t[8]=e[8]*s,t[9]=e[9]*s,t[10]=e[10]*s,t[11]=e[11]*s,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},t.T=Ol,t.U=function(t,e,n){var r=e[0],i=e[1],s=e[2],o=e[3],a=e[4],l=e[5],u=e[6],c=e[7],h=e[8],p=e[9],f=e[10],d=e[11],y=e[12],m=e[13],g=e[14],x=e[15],v=n[0],b=n[1],w=n[2],_=n[3];return t[0]=v*r+b*a+w*h+_*y,t[1]=v*i+b*l+w*p+_*m,t[2]=v*s+b*u+w*f+_*g,t[3]=v*o+b*c+w*d+_*x,t[4]=(v=n[4])*r+(b=n[5])*a+(w=n[6])*h+(_=n[7])*y,t[5]=v*i+b*l+w*p+_*m,t[6]=v*s+b*u+w*f+_*g,t[7]=v*o+b*c+w*d+_*x,t[8]=(v=n[8])*r+(b=n[9])*a+(w=n[10])*h+(_=n[11])*y,t[9]=v*i+b*l+w*p+_*m,t[10]=v*s+b*u+w*f+_*g,t[11]=v*o+b*c+w*d+_*x,t[12]=(v=n[12])*r+(b=n[13])*a+(w=n[14])*h+(_=n[15])*y,t[13]=v*i+b*l+w*p+_*m,t[14]=v*s+b*u+w*f+_*g,t[15]=v*o+b*c+w*d+_*x,t},t.V=function(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n},t.W=$p,t.X=O,t.Y=jp,t.Z=Up,t._=e,t.a=ot,t.a$=function(t){var e=new f(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},t.a0=c,t.a1=h,t.a2=K,t.a3=Jp,t.a4=Gp,t.a5=Xp,t.a6=T,t.a7=Zp,t.a8=tf,t.a9=25,t.aA=function(t){var e=t[0],n=t[1];return Math.sqrt(e*e+n*n)},t.aB=function(t){return t[0]=0,t[1]=0,t},t.aC=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t},t.aD=_p,t.aE=A,t.aF=function(t,e,r,i){const s=e.y-t.y,o=e.x-t.x,a=i.y-r.y,l=i.x-r.x,u=a*o-l*s;if(0===u)return null;const c=(l*(t.y-r.y)-a*(t.x-r.x))/u;return new n(t.x+c*o,t.y+c*s)},t.aG=uy,t.aH=Ha,t.aI=function(t){let e=1/0,n=1/0,r=-1/0,i=-1/0;for(const s of t)e=Math.min(e,s.x),n=Math.min(n,s.y),r=Math.max(r,s.x),i=Math.max(i,s.y);return [e,n,r,i]},t.aJ=Ih,t.aK=F,t.aL=function(t,e,n,r,i=!1){if(!n[0]&&!n[1])return [0,0];const s=i?"map"===r?-t.bearingInRadians:0:"viewport"===r?t.bearingInRadians:0;if(s){const t=Math.sin(s),e=Math.cos(s);n=[n[0]*e-n[1]*t,n[0]*t+n[1]*e];}return [i?n[0]:F(e,n[0],t.zoom),i?n[1]:F(e,n[1],t.zoom)]},t.aN=vp,t.aO=Ly,t.aP=op,t.aQ=t=>"symbol"===t.type,t.aR=ec,t.aS=ao,t.aT=xu,t.aU=Xo,t.aV=ua,t.aW=sa,t.aX=nt,t.aY=Yp,t.aZ=b,t.a_=v,t.aa=Wp,t.ab=t=>{const e=window.document.createElement("video");return e.muted=!0,new Promise((n=>{e.onloadstart=()=>{n(e);};for(const n of t){const t=window.document.createElement("source");yt(n)||(e.crossOrigin="Anonymous"),t.src=n,e.appendChild(t);}}))},t.ac=zt,t.ad=function(){return R++},t.ae=Co,t.af=kp,t.ag=Jd,t.ah=yi,t.ai=Ga,t.aj=nf,t.ak=function(t){const e={};if(t.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,((t,n,r,i)=>{const s=r||i;return e[n]=!s||s.toLowerCase(),""})),e["max-age"]){const t=parseInt(e["max-age"],10);isNaN(t)?delete e["max-age"]:e["max-age"]=t;}return e},t.al=L,t.am=85.051129,t.an=et,t.ao=function(t){return Math.pow(2,t)},t.ap=y,t.aq=qp,t.ar=function(t){return Math.log(t)/Math.LN2},t.as=function(t){var e=t[0],n=t[1];return e*e+n*n},t.at=function(t){if(!t.length)return new Set;const e=Math.max(...t.map((t=>t.canonical.z)));let n=1/0,r=-1/0,i=1/0,s=-1/0;const o=[];for(const a of t){const{x:t,y:l,z:u}=a.canonical,c=Math.pow(2,e-u),h=t*c,p=l*c;o.push({id:a,x:h,y:p}),hr&&(r=h),ps&&(s=p);}const a=new Set;for(const t of o)t.x!==n&&t.x!==r&&t.y!==i&&t.y!==s||a.add(t.id);return a},t.au=function(t,e){const n=Math.abs(2*t.wrap)-+(t.wrap<0),r=Math.abs(2*e.wrap)-+(e.wrap<0);return t.overscaledZ-e.overscaledZ||r-n||e.canonical.y-t.canonical.y||e.canonical.x-t.canonical.x},t.av=class{constructor(t,e){this.max=t,this.onRemove=e,this.reset();}reset(){for(const t in this.data)for(const e of this.data[t])e.timeout&&clearTimeout(e.timeout),this.onRemove(e.value);return this.data={},this.order=[],this}add(t,e,n){const r=t.wrapped().key;void 0===this.data[r]&&(this.data[r]=[]);const i={value:e,timeout:void 0};if(void 0!==n&&(i.timeout=setTimeout((()=>{this.remove(t,i);}),n)),this.data[r].push(i),this.order.push(r),this.order.length>this.max){const t=this._getAndRemoveByKey(this.order[0]);t&&this.onRemove(t);}return this}has(t){return t.wrapped().key in this.data}getAndRemove(t){return this.has(t)?this._getAndRemoveByKey(t.wrapped().key):null}_getAndRemoveByKey(t){const e=this.data[t].shift();return e.timeout&&clearTimeout(e.timeout),0===this.data[t].length&&delete this.data[t],this.order.splice(this.order.indexOf(t),1),e.value}getByKey(t){const e=this.data[t];return e?e[0].value:null}get(t){return this.has(t)?this.data[t.wrapped().key][0].value:null}remove(t,e){if(!this.has(t))return this;const n=t.wrapped().key,r=void 0===e?0:this.data[n].indexOf(e),i=this.data[n][r];return this.data[n].splice(r,1),i.timeout&&clearTimeout(i.timeout),0===this.data[n].length&&delete this.data[n],this.onRemove(i.value),this.order.splice(this.order.indexOf(n),1),this}setMaxSize(t){for(this.max=t;this.order.length>this.max;){const t=this._getAndRemoveByKey(this.order[0]);t&&this.onRemove(t);}return this}filter(t){const e=[];for(const n in this.data)for(const r of this.data[n])t(r.value)||e.push(r);for(const t of e)this.remove(t.value.tileID,t);}},t.aw=function(t,e){let n=0,r=0;if("constant"===t.kind)r=t.layoutSize;else if("source"!==t.kind){const{interpolationType:i,minZoom:s,maxZoom:o}=t,a=i?L(mn.interpolationFactor(i,e,s,o),0,1):0;"camera"===t.kind?r=xn.number(t.minSize,t.maxSize,a):n=a;}return {uSizeT:n,uSize:r}},t.ay=function(t,{uSize:e,uSizeT:n},{lowerSize:r,upperSize:i}){return "source"===t.kind?r/mp:"composite"===t.kind?xn.number(r/mp,i/mp,n):e},t.az=I,t.b=H,t.b$=Ea,t.b0=function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t},t.b1=function(t,e){var n=e[0],r=e[1],i=e[2],s=n*n+r*r+i*i;return s>0&&(s=1/Math.sqrt(s)),t[0]=e[0]*s,t[1]=e[1]*s,t[2]=e[2]*s,t},t.b2=w,t.b3=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]},t.b4=function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t[3]=e[3]*n[3],t},t.b5=g,t.b6=function(t,e,n){const r=e[0]*n[0]+e[1]*n[1]+e[2]*n[2];return 0===r?null:(-(t[0]*n[0]+t[1]*n[1]+t[2]*n[2])-n[3])/r},t.b7=S,t.b8=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t},t.b9=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]},t.bA=k,t.bB=function(t,e,n){var r=n[0],i=n[1],s=n[2],o=n[3],a=e[0],l=e[1],u=e[2],c=i*u-s*l,h=s*a-r*u,p=r*l-i*a;return t[0]=a+o*(c+=c)+i*(p+=p)-s*(h+=h),t[1]=l+o*h+s*c-r*p,t[2]=u+o*p+r*h-i*c,t},t.bC=function(t,e,n){const r=(i=[t[0],t[1],t[2],e[0],e[1],e[2],n[0],n[1],n[2]])[0]*((c=i[8])*(o=i[4])-(a=i[5])*(u=i[7]))+i[1]*(-c*(s=i[3])+a*(l=i[6]))+i[2]*(u*s-o*l);var i,s,o,a,l,u,c;if(0===r)return null;const h=w([],[e[0],e[1],e[2]],[n[0],n[1],n[2]]),p=w([],[n[0],n[1],n[2]],[t[0],t[1],t[2]]),f=w([],[t[0],t[1],t[2]],[e[0],e[1],e[2]]),d=b([],h,-t[3]);return v(d,d,b([],p,-e[3])),v(d,d,b([],f,-n[3])),b(d,d,1/r),d},t.bD=Op,t.bE=function(){return new Float64Array(4)},t.bF=function(t,e,n,r){var i=[],s=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],s[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),s[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),s[2]=i[2],t[0]=s[0]+n[0],t[1]=s[1]+n[1],t[2]=s[2]+n[2],t},t.bG=function(t,e,n,r){var i=[],s=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],s[0]=i[0],s[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),s[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),t[0]=s[0]+n[0],t[1]=s[1]+n[1],t[2]=s[2]+n[2],t},t.bH=function(t,e,n,r){var i=[],s=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],s[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),s[1]=i[1],s[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),t[0]=s[0]+n[0],t[1]=s[1]+n[1],t[2]=s[2]+n[2],t},t.bI=function(t,e,n){var r=Math.sin(n),i=Math.cos(n),s=e[0],o=e[1],a=e[2],l=e[3],u=e[8],c=e[9],h=e[10],p=e[11];return e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=s*i-u*r,t[1]=o*i-c*r,t[2]=a*i-h*r,t[3]=l*i-p*r,t[8]=s*r+u*i,t[9]=o*r+c*i,t[10]=a*r+h*i,t[11]=l*r+p*i,t},t.bJ=function(t,e){const n=D(t,360),r=D(e,360),i=r-n,s=r>n?i-360:i+360;return Math.abs(i)0?o:-o},t.bM=function(t,e){const n=D(t,2*Math.PI),r=D(e,2*Math.PI);return Math.min(Math.abs(n-r),Math.abs(n-r+2*Math.PI),Math.abs(n-r-2*Math.PI))},t.bN=function(){const t={},e=wt.$version;for(const n in wt.$root){const r=wt.$root[n];if(r.required){let i=null;i="version"===n?e:"array"===r.type?[]:{},null!=i&&(t[n]=i);}}return t},t.bO=ft,t.bP=bs,t.bQ=function t(e,n){if(Array.isArray(e)){if(!Array.isArray(n)||e.length!==n.length)return !1;for(let r=0;r"raster"===t.type,t.bV=j,t.bW=function(t,e){if(!t)return [{command:"setStyle",args:[e]}];let n=[];try{if(!At(t.version,e.version))return [{command:"setStyle",args:[e]}];At(t.center,e.center)||n.push({command:"setCenter",args:[e.center]}),At(t.state,e.state)||n.push({command:"setGlobalState",args:[e.state]}),At(t.centerAltitude,e.centerAltitude)||n.push({command:"setCenterAltitude",args:[e.centerAltitude]}),At(t.zoom,e.zoom)||n.push({command:"setZoom",args:[e.zoom]}),At(t.bearing,e.bearing)||n.push({command:"setBearing",args:[e.bearing]}),At(t.pitch,e.pitch)||n.push({command:"setPitch",args:[e.pitch]}),At(t.roll,e.roll)||n.push({command:"setRoll",args:[e.roll]}),At(t.sprite,e.sprite)||n.push({command:"setSprite",args:[e.sprite]}),At(t.glyphs,e.glyphs)||n.push({command:"setGlyphs",args:[e.glyphs]}),At(t.transition,e.transition)||n.push({command:"setTransition",args:[e.transition]}),At(t.light,e.light)||n.push({command:"setLight",args:[e.light]}),At(t.terrain,e.terrain)||n.push({command:"setTerrain",args:[e.terrain]}),At(t.sky,e.sky)||n.push({command:"setSky",args:[e.sky]}),At(t.projection,e.projection)||n.push({command:"setProjection",args:[e.projection]});const r={},i=[];!function(t,e,n,r){let i;for(i in e=e||{},t=t||{})Object.prototype.hasOwnProperty.call(t,i)&&(Object.prototype.hasOwnProperty.call(e,i)||It(i,n,r));for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&(Object.prototype.hasOwnProperty.call(t,i)?At(t[i],e[i])||("geojson"===t[i].type&&"geojson"===e[i].type&&Tt(t,e,i)?Mt(n,{command:"setGeoJSONSourceData",args:[i,e[i].data]}):Et(i,e,n,r)):kt(i,e,n));}(t.sources,e.sources,i,r);const s=[];t.layers&&t.layers.forEach((t=>{"source"in t&&r[t.source]?n.push({command:"removeLayer",args:[t.id]}):s.push(t);})),n=n.concat(i),function(t,e,n){e=e||[];const r=(t=t||[]).map(Pt),i=e.map(Pt),s=t.reduce(Dt,{}),o=e.reduce(Dt,{}),a=r.slice(),l=Object.create(null);let u,c,h,p,f;for(let t=0,e=0;tp?(i=Math.acos(s),o=Math.sin(i),a=Math.sin((1-r)*i)/o,l=Math.sin(r*i)/o):(a=1-r,l=r),t[0]=a*u+l*d,t[1]=a*c+l*y,t[2]=a*h+l*m,t[3]=a*f+l*g,t},t.bm=function(t){const e=new Float64Array(9);var n,r,i,s,o,a,l,u,c,h,p,f,d,y,m,g,x,v;h=(i=(r=t)[0])*(l=i+i),p=(s=r[1])*l,d=(o=r[2])*l,y=o*(u=s+s),g=(a=r[3])*l,x=a*u,v=a*(c=o+o),(n=e)[0]=1-(f=s*u)-(m=o*c),n[3]=p-v,n[6]=d+x,n[1]=p+v,n[4]=1-h-m,n[7]=y-g,n[2]=d-x,n[5]=y+g,n[8]=1-h-f;const b=nt(-Math.asin(L(e[2],-1,1)));let w,_;return Math.hypot(e[5],e[8])<.001?(w=0,_=-nt(Math.atan2(e[3],e[4]))):(w=nt(0===e[5]&&0===e[8]?0:Math.atan2(e[5],e[8])),_=nt(0===e[1]&&0===e[0]?0:Math.atan2(e[1],e[0]))),{roll:w,pitch:b+90,bearing:_}},t.bn=function(t,e){return t.roll==e.roll&&t.pitch==e.pitch&&t.bearing==e.bearing},t.bo=Te,t.bp=ka,t.bq=vu,t.br=bu,t.bs=gu,t.bt=z,t.bu=B,t.bv=Ne,t.bw=function(t,e,n,r,i){return z(r,i,L((t-e)/(n-e),0,1))},t.bx=function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t},t.by=D,t.bz=function(){return new Float64Array(3)},t.c=ut,t.c$=si,t.c0=class extends Ma{constructor(t,e){super(t,e),this.current=Ta;}set(t){if(t[12]!==this.current[12]||t[0]!==this.current[0])return this.current=t,void this.gl.uniformMatrix4fv(this.location,!1,t);for(let e=1;e<16;e++)if(t[e]!==this.current[e]){this.current=t,this.gl.uniformMatrix4fv(this.location,!1,t);break}}},t.c1=Ia,t.c2=class extends Ma{constructor(t,e){super(t,e),this.current=[0,0,0];}set(t){t[0]===this.current[0]&&t[1]===this.current[1]&&t[2]===this.current[2]||(this.current=t,this.gl.uniform3f(this.location,t[0],t[1],t[2]));}},t.c3=class extends Ma{constructor(t,e){super(t,e),this.current=[0,0];}set(t){t[0]===this.current[0]&&t[1]===this.current[1]||(this.current=t,this.gl.uniform2f(this.location,t[0],t[1]));}},t.c4=d,t.c5=function(t,e){var n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=-n,t[4]=r,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},t.c6=function(t,e,n){var r=e[0],i=e[1],s=e[2];return t[0]=r*n[0]+i*n[3]+s*n[6],t[1]=r*n[1]+i*n[4]+s*n[7],t[2]=r*n[2]+i*n[5]+s*n[8],t},t.c7=function(t,e,n,r,i,s,o){var a=1/(e-n),l=1/(r-i),u=1/(s-o);return t[0]=-2*a,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*l,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*u,t[11]=0,t[12]=(e+n)*a,t[13]=(i+r)*l,t[14]=(o+s)*u,t[15]=1,t},t.c8=class extends Ma{constructor(t,e){super(t,e),this.current=new Array;}set(t){if(t!=this.current){this.current=t;const e=new Float32Array(4*t.length);for(let n=0;n25||r<0||r>=1||n<0||n>=1)},t.cE=function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=e[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},t.cF=class extends co{},t.cG=pt,t.cH=function(t,e){ut.REGISTERED_PROTOCOLS[t]=e;},t.cI=function(t){delete ut.REGISTERED_PROTOCOLS[t];},t.cJ=function(t,e){const n={};for(let r=0;rt*Ih));}let x=u?"center":s.get("text-justify").evaluate(o,{},e.canonical);const b="point"===s.get("symbol-placement")?s.get("text-max-width").evaluate(o,{},e.canonical)*Ih:1/0,w=()=>{e.bucket.allowVerticalPlacement&&As(n)&&(m.vertical=sp(g,e.glyphMap,e.glyphPositions,e.imagePositions,p,b,l,h,"left",a,v,t.ax.vertical,!0,d,f));};if(!u&&y){const n=new Set;if("auto"===x)for(let t=0;tQd(t,e,n)),t.layers[r]);}(t,n,e),n.finish()},t.cT=function(t,e,n,r,i,s){let o=cy(t,e,n,i,0);return o=cy(o,e,r,s,1),o},t.cU=class{constructor(t){this.maxEntries=t,this.map=new Map;}get(t){const e=this.map.get(t);return void 0!==e&&(this.map.delete(t),this.map.set(t,e)),e}set(t,e){if(this.map.has(t))this.map.delete(t);else if(this.map.size>=this.maxEntries){const t=this.map.keys().next().value;this.map.delete(t);}this.map.set(t,e);}clear(){this.map.clear();}},t.cV=Nu,t.cW=Rh,t.cX=Wd,t.cY=function(t,n,r,i,s){return e(this,void 0,void 0,(function*(){if(h())try{return yield K(t,n,r,i,s)}catch(t){}return function(t,e,n,r,i){const s=t.width,o=t.height;J&&Q||(J=new OffscreenCanvas(s,o),Q=J.getContext("2d",{willReadFrequently:!0})),J.width=s,J.height=o,Q.drawImage(t,0,0,s,o);const a=Q.getImageData(e,n,r,i);return Q.clearRect(0,0,s,o),a.data}(t,n,r,i,s)}))},t.cZ=$l,t.c_=class{constructor(t,e){this.layers={[Jd]:this},this.name=Jd,this.version=e?e.version:1,this.extent=e?e.extent:4096,this.length=t.length,this.features=t;}feature(t){return new Kd(this.features[t],this.extent)}},t.ca=class extends So{},t.cb=Ah,t.cc=class extends Mo{},t.cd=Fl,t.ce=function(t){return t<=1?1:Math.pow(2,Math.ceil(Math.log(t)/Math.LN2))},t.cf=Tl,t.cg=function(t,e,n){var r=e[0],i=e[1],s=e[2],o=n[3]*r+n[7]*i+n[11]*s+n[15];return t[0]=(n[0]*r+n[4]*i+n[8]*s+n[12])/(o=o||1),t[1]=(n[1]*r+n[5]*i+n[9]*s+n[13])/o,t[2]=(n[2]*r+n[6]*i+n[10]*s+n[14])/o,t},t.ch=class extends ho{},t.ci=class extends Do{},t.cj=function(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]&&t[9]===e[9]&&t[10]===e[10]&&t[11]===e[11]&&t[12]===e[12]&&t[13]===e[13]&&t[14]===e[14]&&t[15]===e[15]},t.ck=function(t,e){var n=t[0],r=t[1],i=t[2],s=t[3],o=t[4],a=t[5],l=t[6],u=t[7],c=t[8],h=t[9],f=t[10],d=t[11],y=t[12],m=t[13],g=t[14],x=t[15],v=e[0],b=e[1],w=e[2],_=e[3],S=e[4],A=e[5],M=e[6],k=e[7],I=e[8],E=e[9],T=e[10],F=e[11],P=e[12],D=e[13],z=e[14],B=e[15];return Math.abs(n-v)<=p*Math.max(1,Math.abs(n),Math.abs(v))&&Math.abs(r-b)<=p*Math.max(1,Math.abs(r),Math.abs(b))&&Math.abs(i-w)<=p*Math.max(1,Math.abs(i),Math.abs(w))&&Math.abs(s-_)<=p*Math.max(1,Math.abs(s),Math.abs(_))&&Math.abs(o-S)<=p*Math.max(1,Math.abs(o),Math.abs(S))&&Math.abs(a-A)<=p*Math.max(1,Math.abs(a),Math.abs(A))&&Math.abs(l-M)<=p*Math.max(1,Math.abs(l),Math.abs(M))&&Math.abs(u-k)<=p*Math.max(1,Math.abs(u),Math.abs(k))&&Math.abs(c-I)<=p*Math.max(1,Math.abs(c),Math.abs(I))&&Math.abs(h-E)<=p*Math.max(1,Math.abs(h),Math.abs(E))&&Math.abs(f-T)<=p*Math.max(1,Math.abs(f),Math.abs(T))&&Math.abs(d-F)<=p*Math.max(1,Math.abs(d),Math.abs(F))&&Math.abs(y-P)<=p*Math.max(1,Math.abs(y),Math.abs(P))&&Math.abs(m-D)<=p*Math.max(1,Math.abs(m),Math.abs(D))&&Math.abs(g-z)<=p*Math.max(1,Math.abs(g),Math.abs(z))&&Math.abs(x-B)<=p*Math.max(1,Math.abs(x),Math.abs(B))},t.cl=function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},t.cm=t=>"circle"===t.type,t.cn=t=>"heatmap"===t.type,t.co=t=>"line"===t.type,t.cp=t=>"fill"===t.type,t.cq=t=>"fill-extrusion"===t.type,t.cr=t=>"hillshade"===t.type,t.cs=t=>"color-relief"===t.type,t.ct=t=>"background"===t.type,t.cu=t=>"custom"===t.type,t.cv=C,t.cw=function(t,e,n){if(e<=0)return t;const r=1/e;return void 0===n||Math.abs(n)<1e-10?Math.round(t*r)/r:(n>0?Math.ceil(t*r-1e-9):Math.floor(t*r+1e-10))/r},t.cx=function(t,e,n){const r=E(e.x-n.x,e.y-n.y),i=E(t.x-n.x,t.y-n.y);var s,o;return nt(Math.atan2(r[0]*i[1]-r[1]*i[0],(s=r)[0]*(o=i)[0]+s[1]*o[1]))},t.cy=V,t.cz=function(t,e){var n;if(!it[e])return !1;const r=null==t?void 0:t.target,i=(null===(n=null==r?void 0:r.ownerDocument)||void 0===n?void 0:n.defaultView)||window;return t instanceof i.MouseEvent||t instanceof i.WheelEvent},t.d=P,t.d0=class{constructor(t,e){const n=(e=this.options=Object.assign({},sh,e)).debug;if(n&&console.time("preprocess data"),e.maxZoom<0||e.maxZoom>24)throw new Error("maxZoom should be in the 0-24 range");if(e.promoteId&&e.generateId)throw new Error("promoteId and generateId cannot be used together.");let r=pc(t,e);n&&(console.timeEnd("preprocess data"),console.log("index: maxZoom: %d, maxPoints: %d",e.indexMaxZoom,e.indexMaxPoints),console.time("generate tiles")),r=Lc(r,e),e.updateable&&(this.source=r),this.initializeIndex(r,e);}initializeIndex(t,e){this.tileIndex=e.cluster?new qc(e.clusterOptions):new rh(e),t.length&&this.tileIndex.initialize(t);}getTile(t,e,n){return e=+e,n=+n,(t=+t)<0||t>24?null:this.tileIndex.getTile(t,e,n)}updateData(t,e){const n=this.options;if(!n.updateable)throw new Error("to update tile geojson `updateable` option must be set to true");let{affected:r,source:i}=function(t,e,n){const r=function(t,e){return t?{removeAll:t.removeAll,remove:new Set(t.remove||[]),add:new Map(t.add?.map((t=>[e.promoteId?t.properties[e.promoteId]:t.id,t]))),update:new Map(t.update?.map((t=>[t.id,t])))}:{remove:new Set,add:new Map,update:new Map}}(e,n);let i=[];if(r.removeAll&&(i=t,t=[]),r.remove.size||r.add.size){const e=[];for(const n of t)(r.remove.has(n.id)||r.add.has(n.id))&&e.push(n);if(e.length){i.push(...e);const n=new Set(e.map((t=>t.id)));t=t.filter((t=>!n.has(t.id)));}if(r.add.size){let e=pc({type:"FeatureCollection",features:Array.from(r.add.values())},n);e=Lc(e,n),i.push(...e),t.push(...e);}}if(r.update.size){const e=new Map,s=[];for(const n of t)r.update.has(n.id)?e.set(n.id,[...e.get(n.id)||[],n]):s.push(n);for(const[t,o]of r.update){const r=e.get(t);if(!r||0===r.length)continue;const a=Nc(r,o,n);i.push(...r,...a),s.push(...a);}t=s;}return {affected:i,source:t}}(this.source,t,n);e&&({affected:r,source:i}=this.filterUpdate(i,r,e)),r.length&&(this.source=i,this.tileIndex.updateIndex(i,r,n));}filterUpdate(t,e,n){const r=new Set;for(const i of t)null!=i.id&&(n(xc(i))||(e.push(i),r.add(i.id)));return {affected:e,source:t=t.filter((t=>!r.has(t.id)))}}getData(){if(!this.options.updateable)throw new Error("to retrieve data the `updateable` option must be set to true");return {type:"FeatureCollection",features:this.source.map((t=>xc(t)))}}updateClusterOptions(t,e){const n=this.options.cluster;this.options.cluster=t,this.options.clusterOptions=e,n!=t?this.initializeIndex(this.source,this.options):this.tileIndex.updateIndex(this.source,[],this.options);}getClusterExpansionZoom(t){return this.tileIndex.getClusterExpansionZoom(t)}getClusterChildren(t){return this.tileIndex.getChildren(t)}getClusterLeaves(t,e,n){return this.tileIndex.getLeaves(t,e,n)}},t.d1=Bs,t.e=$,t.f=yt,t.g=ct,t.h=t=>e(void 0,void 0,void 0,(function*(){if(0===t.byteLength)return createImageBitmap(new ImageData(1,1));const e=new Blob([new Uint8Array(t)],{type:"image/png"});try{return createImageBitmap(e)}catch(t){throw new Error(`Could not load image because of ${P(t).message}. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.`)}})),t.i=Y,t.j=t=>new Promise(((e,n)=>{const r=new Image;r.onload=()=>{e(r),URL.revokeObjectURL(r.src),r.onload=null,window.requestAnimationFrame((()=>r.src=W));},r.onerror=()=>n(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."));const i=new Blob([new Uint8Array(t)],{type:"image/png"});r.src=t.byteLength?URL.createObjectURL(i):W;})),t.k=(t,e)=>dt($(t,{type:"json"}),e),t.l=vt,t.m=dt,t.n=xt,t.o=(t,e)=>dt($(t,{type:"arrayBuffer"}),e),t.p=ep,t.q=function(t){return new Rh(t).readFields(Jh,[])},t.r=function(t){return /[\u02EA\u02EB\u1100-\u11FF\u2E80-\u2FDF\u3000-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFE10-\uFE1F\uFE30-\uFE4F\uFF00-\uFFEF]|\uD81B[\uDFE0-\uDFFF]|[\uD81C-\uD822\uD840-\uD868\uD86A-\uD86D\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD88C][\uDC00-\uDFFF]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD1E\uDD80-\uDDF2]|\uD82B[\uDFF0-\uDFFF]|\uD82C[\uDC00-\uDEFB]|\uD83C[\uDE00-\uDEFF]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEAD\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD88D[\uDC00-\uDC79]/gim.test(String.fromCodePoint(t))},t.s=tt,t.t=kl,t.u=Ks,t.v=ss,t.w=G,t.x=wt,t.y=Rs,t.z=as;})); + +define("worker",["./shared"],(function(e){"use strict";class t{constructor(e,t){this.keyCache={},e&&this.replace(e,t);}replace(e,t){this._layerConfigs={},this._layers={},this.update(e,[],t);}update(t,i,s){for(const i of t){this._layerConfigs[i.id]=i;const t=this._layers[i.id]=e.bT(i,s);t._featureFilter=e.ah(t.filter,s),this.keyCache[i.id]&&delete this.keyCache[i.id];}for(const e of i)delete this.keyCache[e],delete this._layerConfigs[e],delete this._layers[e];this.familiesBySource={};const r=e.cJ(Object.values(this._layerConfigs),this.keyCache);for(const t of r){const i=t.map((e=>this._layers[e.id])),s=i[0];if(s.isHidden())continue;const r=s.source||"";let o=this.familiesBySource[r];o||(o=this.familiesBySource[r]={});const n=s.sourceLayer||e.ag;let a=o[n];a||(a=o[n]=[]),a.push(i);}}}class i{constructor(t){const i={},s=[];for(const e in t){const r=t[e],o=i[e]={};for(const e in r){const t=r[+e];if(!t||0===t.bitmap.width||0===t.bitmap.height)continue;const i={x:0,y:0,w:t.bitmap.width+2,h:t.bitmap.height+2};s.push(i),o[e]={rect:i,metrics:t.metrics};}}const{w:r,h:o}=e.p(s),n=new e.t({width:r||1,height:o||1});for(const s in t){const r=t[s];for(const t in r){const o=r[+t];if(!o||0===o.bitmap.width||0===o.bitmap.height)continue;const a=i[s][t].rect;e.t.copy(o.bitmap,n,{x:0,y:0},{x:a.x+1,y:a.y+1},o.bitmap);}}this.image=n,this.positions=i;}}e.cK("GlyphAtlas",i);class s{constructor(t){this.tileID=new e.a3(t.tileID.overscaledZ,t.tileID.wrap,t.tileID.canonical.z,t.tileID.canonical.x,t.tileID.canonical.y),this.uid=t.uid,this.zoom=t.zoom,this.pixelRatio=t.pixelRatio,this.tileSize=t.tileSize,this.source=t.source,this.overscaling=this.tileID.overscaleFactor(),this.showCollisionBoxes=t.showCollisionBoxes,this.collectResourceTiming=!!t.collectResourceTiming,this.returnDependencies=!!t.returnDependencies,this.promoteId=t.promoteId,this.inFlightDependencies=[];}parse(t,s,o,n,a){return e._(this,void 0,void 0,(function*(){this.status="parsing",this.data=t,this.collisionBoxArray=new e.ae;const l=new e.cL(Object.keys(t.layers).sort()),c=new e.cM(this.tileID,this.promoteId);c.bucketLayerIDs=[];const h={},d={featureIndex:c,iconDependencies:{},patternDependencies:{},glyphDependencies:{},dashDependencies:{},availableImages:o,subdivisionGranularity:a},u=s.familiesBySource[this.source];for(const i in u){const s=t.layers[i];if(!s)continue;1===s.version&&e.w(`Vector tile source "${this.source}" layer "${i}" does not use vector tile spec v2 and therefore may have some rendering errors.`);const n=l.encode(i),a=[];for(let e=0;ee.id))));}}const g=e.bY(d.glyphDependencies,(e=>Object.keys(e).map(Number)));for(const e of this.inFlightDependencies)null==e||e.abort();this.inFlightDependencies=[];let p=Promise.resolve({});if(Object.keys(g).length){const e=new AbortController;this.inFlightDependencies.push(e),p=n.sendAsync({type:"GG",data:{stacks:g,source:this.source,tileID:this.tileID,type:"glyphs"}},e);}const f=Object.keys(d.iconDependencies);let y=Promise.resolve({});if(f.length){const e=new AbortController;this.inFlightDependencies.push(e),y=n.sendAsync({type:"GI",data:{icons:f,source:this.source,tileID:this.tileID,type:"icons"}},e);}const v=Object.keys(d.patternDependencies);let m=Promise.resolve({});if(v.length){const e=new AbortController;this.inFlightDependencies.push(e),m=n.sendAsync({type:"GI",data:{icons:v,source:this.source,tileID:this.tileID,type:"patterns"}},e);}const _=d.dashDependencies;let S=Promise.resolve({});if(Object.keys(_).length){const e=new AbortController;this.inFlightDependencies.push(e),S=n.sendAsync({type:"GDA",data:{dashes:_}},e);}const[w,b,I,T]=yield Promise.all([p,y,m,S]),k=new i(w),x=new e.cN(b,I);for(const t in h){const i=h[t];i instanceof e.af?(r(i.layers,this.zoom,o),e.cO({bucket:i,glyphMap:w,glyphPositions:k.positions,imageMap:b,imagePositions:x.iconPositions,showCollisionBoxes:this.showCollisionBoxes,canonical:this.tileID.canonical,subdivisionGranularity:d.subdivisionGranularity})):i.hasDependencies&&(i instanceof e.cP||i instanceof e.cQ||i instanceof e.cR)&&(r(i.layers,this.zoom,o),i.addFeatures(d,this.tileID.canonical,x.patternPositions,T));}return this.status="done",{buckets:Object.values(h).filter((e=>!e.isEmpty())),featureIndex:c,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:k.image,imageAtlas:x,dashPositions:T,glyphMap:this.returnDependencies?w:null,iconMap:this.returnDependencies?b:null,glyphPositions:this.returnDependencies?k.positions:null}}))}}function r(t,i,s){const r=new e.J(i);for(const e of t)e.recalculate(r,s);}class o{constructor(){this.loading={},this.loaded={},this.parsing={};}startLoading(e,t){this.loading[e]=t;}finishLoading(e){delete this.loading[e];}abort(e){const t=this.loading[e];(null==t?void 0:t.abort)&&(t.abort.abort(),delete this.loading[e]);}setParsing(e,t){this.parsing[e]=t;}consumeParsing(e){const t=this.parsing[e];if(t)return delete this.parsing[e],t}clearParsing(e){delete this.parsing[e];}markLoaded(e,t){this.loaded[e]=t;}getLoaded(e){const t=this.loaded[e];if(t)return t}removeLoaded(e){delete this.loaded[e];}clearLoaded(){this.loaded={};}}class n{constructor(e){this.start=`${e}#start`,this.end=`${e}#end`,this.measure=e,performance.mark(this.start);}finish(){performance.mark(this.end);let e=performance.getEntriesByName(this.measure);return 0===e.length&&(performance.measure(this.measure,this.start,this.end),e=performance.getEntriesByName(this.measure),performance.clearMarks(this.start),performance.clearMarks(this.end),performance.clearMeasures(this.measure)),e}}class a{constructor(e,t,i,s,r){this.type=e,this.properties=i||{},this.extent=r,this.pointsArray=t,this.id=s;}loadGeometry(){return this.pointsArray.map((t=>t.map((t=>new e.P(t.x,t.y)))))}}class l{constructor(e,t,i){this.version=2,this._myFeatures=e,this.name=t,this.length=e.length,this.extent=i;}feature(e){return this._myFeatures[e]}}class c{constructor(){this.layers={};}addLayer(e){this.layers[e.name]=e;}}function h(t){let i=e.cS(t);return 0===i.byteOffset&&i.byteLength===i.buffer.byteLength||(i=new Uint8Array(i)),{vectorTile:t,rawData:i.buffer}}function d(t,i,s){const{extent:r}=t,o=Math.pow(2,s.z-i.z),n=(s.x-i.x*o)*r,c=(s.y-i.y*o)*r,h=[];for(let i=0;i0&&u.addLayer(r);}const p=h(u);return this.overzoomedTileResultCache.set(a,p),p}reloadTile(t){return e._(this,void 0,void 0,(function*(){const e=t.uid,i=this.tileState.getLoaded(e);if(!i)throw new Error("Should not be trying to reload a tile that was never loaded or has been removed");if(i.showCollisionBoxes=t.showCollisionBoxes,"parsing"===i.status){const s=this.tileState.consumeParsing(e);return yield this._parseWorkerTile(i,t,s)}if("done"===i.status&&i.vectorTile)return yield this._parseWorkerTile(i,t)}))}abortTile(t){return e._(this,void 0,void 0,(function*(){this.tileState.abort(t.uid);}))}removeTile(t){return e._(this,void 0,void 0,(function*(){this.tileState.removeLoaded(t.uid);}))}}class g{constructor(){this.loaded={};}loadTile(t){return e._(this,void 0,void 0,(function*(){const{uid:i,encoding:s,rawImageData:r,redFactor:o,greenFactor:n,blueFactor:a,baseShift:l}=t,c=r.width+2,h=r.height+2,d=e.b(r)?new e.R({width:c,height:h},yield e.cY(r,-1,-1,c,h)):r,u=new e.cZ(i,d,s,o,n,a,l);return this.loaded||(this.loaded={}),this.loaded[i]=u,u}))}removeTile(e){const t=this.loaded,i=e.uid;(null==t?void 0:t[i])&&delete t[i];}}class p{constructor(e,t,i,s=f){this.actor=e,this.layerIndex=t,this.availableImages=i,this.tileState=new o,this._createGeoJSONIndex=s;}loadVectorTile(t){if(!this._geoJSONIndex)throw new Error("Unable to parse the data into a cluster or geojson");const{z:i,x:s,y:r}=t.tileID.canonical,o=this._geoJSONIndex.getTile(i,s,r);return o?h(new e.c_(o.features,{version:2,extent:e.a6})):null}loadTile(t){return e._(this,void 0,void 0,(function*(){const{uid:e}=t,i=new s(t);i.abort=new AbortController;try{const s=this.loadVectorTile(t);if(!s)return null;const{vectorTile:r,rawData:o}=s;i.vectorTile=r,this.tileState.markLoaded(e,i);const n={rawData:o};this.tileState.setParsing(e,n);try{return yield this._parseWorkerTile(i,t,n)}finally{this.tileState.clearParsing(e);}}catch(t){throw i.status="done",this.tileState.markLoaded(e,i),t}}))}_reloadLoadedTile(t){return e._(this,void 0,void 0,(function*(){const e=t.uid,i=this.tileState.getLoaded(e);if(!i)throw new Error("Should not be trying to reload a tile that was never loaded or has been removed");if(i.showCollisionBoxes=t.showCollisionBoxes,"parsing"===i.status){const s=this.tileState.consumeParsing(e);return yield this._parseWorkerTile(i,t,s)}if("done"===i.status&&i.vectorTile)return yield this._parseWorkerTile(i,t)}))}_parseWorkerTile(t,i,s){return e._(this,void 0,void 0,(function*(){let r=yield t.parse(t.vectorTile,this.layerIndex,this.availableImages,this.actor,i.subdivisionGranularity);if(s){const{rawData:t}=s;r=e.e({rawTileData:t.slice(0),encoding:"mvt"},r);}return r}))}abortTile(t){return e._(this,void 0,void 0,(function*(){this.tileState.abort(t.uid);}))}removeTile(t){return e._(this,void 0,void 0,(function*(){this.tileState.removeLoaded(t.uid);}))}loadData(t){return e._(this,void 0,void 0,(function*(){var i;null===(i=this._pendingRequest)||void 0===i||i.abort();const s=this._startRequestTiming(t);this._pendingRequest=new AbortController;try{yield this.loadAndProcessGeoJSON(t,this._pendingRequest),delete this._pendingRequest,this.tileState.clearLoaded();const e={};return t.request&&(e.data=t.data),this._finishRequestTiming(s,t,e),e}catch(t){if(delete this._pendingRequest,!e.$(t))throw t;return {abandoned:!0}}}))}_startRequestTiming(e){var t;if(null===(t=e.request)||void 0===t?void 0:t.collectResourceTiming)return new n(e.request.url)}_finishRequestTiming(e,t,i){const s=null==e?void 0:e.finish();s&&(i.resourceTiming={[t.source]:JSON.parse(JSON.stringify(s))});}reloadTile(e){return this.tileState.getLoaded(e.uid)?this._reloadLoadedTile(e):this.loadTile(e)}loadAndProcessGeoJSON(t,i){return e._(this,void 0,void 0,(function*(){var s;if(t.request&&(t.data=(yield e.k(t.request,i)).data),t.data)return t.data=this._filterGeoJSON(t.data,t.filter),void(this._geoJSONIndex=this._createGeoJSONIndex(t.data,t));if(t.dataDiff)return null!==(s=this._geoJSONIndex)&&void 0!==s||(this._geoJSONIndex=this._createGeoJSONIndex({type:"FeatureCollection",features:[]},t)),void this._geoJSONIndex.updateData(t.dataDiff,this._getFilterPredicate(t.filter));if(t.updateCluster&&this._geoJSONIndex.updateClusterOptions(t.geojsonVtOptions.cluster,y(t)),null==this._geoJSONIndex)throw new Error(`Input data given to '${t.source}' is not a valid GeoJSON object.`)}))}_filterGeoJSON(e,t){if("FeatureCollection"!==e.type)return e;const i=this._getFilterPredicate(t);return i?{type:"FeatureCollection",features:e.features.filter((e=>i(e)))}:e}_getFilterPredicate(t){if("boolean"!=typeof t&&!(null==t?void 0:t.length))return;const i=e.c$(t,{type:"boolean","property-type":"data-driven",overridable:!1,transition:!1});if("error"===i.result)throw new Error(i.value.map((e=>`${e.key}: ${e.message}`)).join(", "));return e=>i.value.evaluate({zoom:0},e)}removeSource(t){return e._(this,void 0,void 0,(function*(){var e;null===(e=this._pendingRequest)||void 0===e||e.abort();}))}getClusterExpansionZoom(e){return this._geoJSONIndex.getClusterExpansionZoom(e.clusterId)}getClusterChildren(e){return this._geoJSONIndex.getClusterChildren(e.clusterId)}getClusterLeaves(e){return this._geoJSONIndex.getClusterLeaves(e.clusterId,e.limit,e.offset)}}function f(t,i){const s=e.e(i.geojsonVtOptions||{},{updateable:!0,clusterOptions:y(i)});return new e.d0(t,s)}function y({geojsonVtOptions:t,clusterProperties:i}){if(!i||!t.clusterOptions)return t.clusterOptions;const s={},r={},o={accumulated:null,zoom:0},n={properties:null},a=Object.keys(i);for(const t of a){const[o,n]=i[t],a=e.c$(n),l=e.c$("string"==typeof o?[o,["accumulated"],["get",t]]:o);s[t]=a.value,r[t]=l.value;}return t.clusterOptions.map=e=>{n.properties=e;const t={};for(const e of a)t[e]=s[e].evaluate(o,n);return t},t.clusterOptions.reduce=(e,t)=>{n.properties=t;for(const t of a)o.accumulated=e[t],e[t]=r[t].evaluate(o,n);},t.clusterOptions}class v{constructor(t){this.self=t,this.actor=new e.N(t),this.layerIndexes={},this.availableImages={},this.workerSources={},this.demWorkerSources={},this.externalWorkerSourceTypes={},this.globalStates=new Map,this.self.registerWorkerSource=(e,t)=>{if(this.externalWorkerSourceTypes[e])throw new Error(`Worker source with name "${e}" already registered.`);this.externalWorkerSourceTypes[e]=t;},this.self.addProtocol=e.cH,this.self.removeProtocol=e.cI,this.self.registerRTLTextPlugin=t=>{e.d1.setMethods(t);},this.self.makeRequest=e.m,this.actor.registerMessageHandler("LDT",((e,t)=>this._getDEMWorkerSource(e,t.source).loadTile(t))),this.actor.registerMessageHandler("RDT",((t,i)=>e._(this,void 0,void 0,(function*(){this._getDEMWorkerSource(t,i.source).removeTile(i);})))),this.actor.registerMessageHandler("GCEZ",((t,i)=>e._(this,void 0,void 0,(function*(){return this._getWorkerSource(t,i.type,i.source).getClusterExpansionZoom(i)})))),this.actor.registerMessageHandler("GCC",((t,i)=>e._(this,void 0,void 0,(function*(){return this._getWorkerSource(t,i.type,i.source).getClusterChildren(i)})))),this.actor.registerMessageHandler("GCL",((t,i)=>e._(this,void 0,void 0,(function*(){return this._getWorkerSource(t,i.type,i.source).getClusterLeaves(i)})))),this.actor.registerMessageHandler("LD",((e,t)=>this._getWorkerSource(e,t.type,t.source).loadData(t))),this.actor.registerMessageHandler("LT",((e,t)=>this._getWorkerSource(e,t.type,t.source).loadTile(t))),this.actor.registerMessageHandler("RT",((e,t)=>this._getWorkerSource(e,t.type,t.source).reloadTile(t))),this.actor.registerMessageHandler("AT",((e,t)=>this._getWorkerSource(e,t.type,t.source).abortTile(t))),this.actor.registerMessageHandler("RMT",((e,t)=>this._getWorkerSource(e,t.type,t.source).removeTile(t))),this.actor.registerMessageHandler("RS",((t,i)=>e._(this,void 0,void 0,(function*(){var e,s;if(!(null===(s=null===(e=this.workerSources[t])||void 0===e?void 0:e[i.type])||void 0===s?void 0:s[i.source]))return;const r=this.workerSources[t][i.type][i.source];delete this.workerSources[t][i.type][i.source],void 0!==r.removeSource&&r.removeSource(i);})))),this.actor.registerMessageHandler("RM",(t=>e._(this,void 0,void 0,(function*(){delete this.layerIndexes[t],delete this.availableImages[t],delete this.workerSources[t],delete this.demWorkerSources[t],this.globalStates.delete(t);})))),this.actor.registerMessageHandler("SR",((t,i)=>e._(this,void 0,void 0,(function*(){this.referrer=i;})))),this.actor.registerMessageHandler("SRPS",((e,t)=>this._syncRTLPluginState(e,t))),this.actor.registerMessageHandler("IS",((t,i)=>e._(this,void 0,void 0,(function*(){this.self.importScripts(i);})))),this.actor.registerMessageHandler("SI",((e,t)=>this._setImages(e,t))),this.actor.registerMessageHandler("UL",((t,i)=>e._(this,void 0,void 0,(function*(){this._getLayerIndex(t).update(i.layers,i.removedIds,this._getGlobalState(t));})))),this.actor.registerMessageHandler("UGS",((t,i)=>e._(this,void 0,void 0,(function*(){const e=this._getGlobalState(t);for(const t in i)e[t]=i[t];})))),this.actor.registerMessageHandler("SL",((t,i)=>e._(this,void 0,void 0,(function*(){this._getLayerIndex(t).replace(i,this._getGlobalState(t));}))));}_getGlobalState(e){let t=this.globalStates.get(e);return t||(t={},this.globalStates.set(e,t)),t}_setImages(t,i){return e._(this,void 0,void 0,(function*(){this.availableImages[t]=i;for(const e in this.workerSources[t]){const s=this.workerSources[t][e];for(const e in s)s[e].availableImages=i;}}))}_syncRTLPluginState(t,i){return e._(this,void 0,void 0,(function*(){return yield e.d1.syncState(i,this.self.importScripts)}))}_getAvailableImages(e){let t=this.availableImages[e];return t||(t=[]),t}_getLayerIndex(e){let i=this.layerIndexes[e];return i||(i=this.layerIndexes[e]=new t),i}_getWorkerSource(e,t,i){var s,r;if((s=this.workerSources)[e]||(s[e]={}),(r=this.workerSources[e])[t]||(r[t]={}),!this.workerSources[e][t][i]){const s={sendAsync:(t,i)=>(t.targetMapId=e,this.actor.sendAsync(t,i))};switch(t){case "vector":this.workerSources[e][t][i]=new u(s,this._getLayerIndex(e),this._getAvailableImages(e));break;case "geojson":this.workerSources[e][t][i]=new p(s,this._getLayerIndex(e),this._getAvailableImages(e));break;default:this.workerSources[e][t][i]=new this.externalWorkerSourceTypes[t](s,this._getLayerIndex(e),this._getAvailableImages(e));}}return this.workerSources[e][t][i]}_getDEMWorkerSource(e,t){var i,s;return (i=this.demWorkerSources)[e]||(i[e]={}),(s=this.demWorkerSources[e])[t]||(s[t]=new g),this.demWorkerSources[e][t]}}return e.i(self)&&(self.worker=new v(self)),v})); + +define("index",["exports","./shared"],(function(e,t){"use strict";var i="5.24.0";function o(){var e=new t.A(4);return t.A!=Float32Array&&(e[1]=0,e[2]=0),e[0]=1,e[3]=1,e}let a,r,s;const n={frame(e,i,o,a){const r=a||window,s=r.requestAnimationFrame((e=>{n(),i(e);})),{unsubscribe:n}=t.s(e.signal,"abort",(()=>{n(),r.cancelAnimationFrame(s),o(new t.a(e.signal.reason));}),!1);},frameAsync(e,t){return new Promise(((i,o)=>{this.frame(e,i,o,t);}))},getImageData(e,t=0){return this.getImageCanvasContext(e).getImageData(-t,-t,e.width+2*t,e.height+2*t)},getImageCanvasContext(e){const t=window.document.createElement("canvas"),i=t.getContext("2d",{willReadFrequently:!0});if(!i)throw new Error("failed to create canvas 2d context");return t.width=e.width,t.height=e.height,i.drawImage(e,0,0,e.width,e.height),i},resolveURL:e=>(a||(a=document.createElement("a")),a.href=e,a.href),hardwareConcurrency:"undefined"!=typeof navigator&&navigator.hardwareConcurrency||4,get prefersReducedMotion(){return void 0!==s?s:!!matchMedia&&(null!=r||(r=matchMedia("(prefers-reduced-motion: reduce)")),r.matches)},set prefersReducedMotion(e){s=e;}},l=new class{constructor(){this._frozenAt=null;}getCurrentTime(){return null!==this._frozenAt?this._frozenAt:performance.now()}setNow(e){this._frozenAt=e;}restoreNow(){this._frozenAt=null;}isFrozen(){return null!==this._frozenAt}};function c(){return l.getCurrentTime()}var h,u;class d{static create(e,t,i){const o=window.document.createElement(e);return void 0!==t&&(o.className=t),i&&i.appendChild(o),o}static createNS(e,t){return window.document.createElementNS(e,t)}static disableDrag(){d.docStyle&&d.selectProp&&(d.userSelect=d.docStyle[d.selectProp],d.docStyle[d.selectProp]="none");}static enableDrag(){d.docStyle&&d.selectProp&&(d.docStyle[d.selectProp]=d.userSelect);}static suppressClickInternal(e){e.preventDefault(),e.stopPropagation(),window.removeEventListener("click",d.suppressClickInternal,!0);}static suppressClick(){window.addEventListener("click",d.suppressClickInternal,!0),window.setTimeout((()=>{window.removeEventListener("click",d.suppressClickInternal,!0);}),0);}static getScale(e){const t=e.getBoundingClientRect();return {x:t.width/e.offsetWidth||1,y:t.height/e.offsetHeight||1,boundingClientRect:t}}static getPoint(e,i,o){const a=i.boundingClientRect;return new t.P((o.clientX-a.left)/i.x-e.clientLeft,(o.clientY-a.top)/i.y-e.clientTop)}static mousePos(e,t){const i=d.getScale(e);return d.getPoint(e,i,t)}static touchPos(e,t){const i=[],o=d.getScale(e);for(const a of t)i.push(d.getPoint(e,o,a));return i}static sanitize(e){const t=(new DOMParser).parseFromString(e,"text/html").body||document.createElement("body"),i=t.querySelectorAll("script");for(const e of i)e.remove();return d.clean(t),t.innerHTML}static isPossiblyDangerous(e,t){const i=t.replace(/\s+/g,"").toLowerCase();return !(!["src","href","xlink:href"].includes(e)||!i.includes("javascript:")&&!i.includes("data:"))||!!e.startsWith("on")||void 0}static clean(e){const t=e.children;for(const e of t)d.removeAttributes(e),d.clean(e);}static removeAttributes(e){for(const{name:t,value:i}of e.attributes)d.isPossiblyDangerous(t,i)&&e.removeAttribute(t);}}d.docStyle="undefined"!=typeof window&&(null===(h=window.document)||void 0===h?void 0:h.documentElement.style),d.selectProp=!d.docStyle||"userSelect"in d.docStyle?"userSelect":"webkitUserSelect",function(e){let i,o,a,r;e.resetRequestQueue=()=>{i=[],o=0,a=0,r={};},e.addThrottleControl=e=>{const t=a++;return r[t]=e,t},e.removeThrottleControl=e=>{delete r[e],n();},e.getImage=(e,o,a=!0)=>new Promise(((r,s)=>{e.headers||(e.headers={}),e.headers.accept="image/webp,*/*",t.e(e,{type:"image"}),i.push({abortController:o,requestParameters:e,supportImageRefresh:a,state:"queued",onError:e=>{s(e);},onSuccess:e=>{r(e);}}),n();}));const s=e=>t._(this,void 0,void 0,(function*(){e.state="running";const{requestParameters:i,supportImageRefresh:a,onError:r,onSuccess:s,abortController:c}=e,h=!1===a&&!t.i(self)&&!t.g(i.url)&&(!i.headers||Object.keys(i.headers).reduce(((e,t)=>e&&"accept"===t),!0));o++;const u=h?l(i,c):t.m(i,c);try{const i=yield u;delete e.abortController,e.state="completed",i.data instanceof HTMLImageElement||t.b(i.data)?s(i):i.data&&s({data:yield(d=i.data,"function"==typeof createImageBitmap?t.h(d):t.j(d)),cacheControl:i.cacheControl,expires:i.expires});}catch(i){delete e.abortController,r(t.d(i));}finally{o--,n();}var d;})),n=()=>{const e=(()=>{for(const e of Object.keys(r))if(r[e]())return !0;return !1})()?t.c.MAX_PARALLEL_IMAGE_REQUESTS_PER_FRAME:t.c.MAX_PARALLEL_IMAGE_REQUESTS;for(let t=o;t0;t++){const e=i.shift();e.abortController.signal.aborted?t--:s(e);}},l=(e,i)=>new Promise(((o,a)=>{const r=new Image,s=e.url,n=e.credentials;n&&"include"===n?r.crossOrigin="use-credentials":(n&&"same-origin"===n||!t.f(s))&&(r.crossOrigin="anonymous"),i.signal.addEventListener("abort",(()=>{r.src="",a(new t.a(i.signal.reason));})),r.fetchPriority="high",r.onload=()=>{r.onerror=r.onload=null,o({data:r});},r.onerror=()=>{r.onerror=r.onload=null,i.signal.aborted||a(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."));},r.src=s;}));}(u||(u={})),u.resetRequestQueue();class _{constructor(e){this._transformRequestFn=null!=e?e:null;}transformRequest(e,t){return this._transformRequestFn&&this._transformRequestFn(e,t)||{url:e}}setTransformRequest(e){this._transformRequestFn=e;}}function p(e){const t=[];if("string"==typeof e)t.push({id:"default",url:e});else if(e&&e.length>0){const i=[];for(const{id:o,url:a}of e){const e=`${o}${a}`;i.includes(e)||(i.push(e),t.push({id:o,url:a}));}}return t}function m(e,t,i){try{const o=new URL(e);return o.pathname+=`${t}${i}`,o.toString()}catch(t){throw new Error(`Invalid sprite URL "${e}", must be absolute. Modify style specification directly or use TransformStyleFunction to correct the issue dynamically`)}}function f(e){const{userImage:t}=e;return !(!(null==t?void 0:t.render)||!t.render()||(e.data.replace(new Uint8Array(t.data.buffer)),0))}class g extends t.E{constructor(){super(),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new t.R({width:1,height:1}),this.dirty=!0;}destroy(){this.atlasTexture&&(this.atlasTexture.destroy(),this.atlasTexture=null);for(const e of Object.keys(this.images))this.removeImage(e);this.patterns={},this.atlasImage=new t.R({width:1,height:1}),this.dirty=!0;}isLoaded(){return this.loaded}setLoaded(e){if(this.loaded!==e&&(this.loaded=e,e)){for(const{ids:e,promiseResolve:t}of this.requestors)t(this._getImagesForIds(e));this.requestors=[];}}getImage(e){const i=this.images[e];if(i&&!i.data&&i.spriteData){const e=i.spriteData;i.data=new t.R({width:e.width,height:e.height},e.context.getImageData(e.x,e.y,e.width,e.height).data),i.spriteData=null;}return i}addImage(e,t){if(this.images[e])throw new Error(`Image id ${e} already exist, use updateImage instead`);this._validate(e,t)&&(this.images[e]=t);}_validate(e,i){let o=!0;const a=i.data||i.spriteData;return this._validateStretch(i.stretchX,null==a?void 0:a.width)||(this.fire(new t.l(new Error(`Image "${e}" has invalid "stretchX" value`))),o=!1),this._validateStretch(i.stretchY,null==a?void 0:a.height)||(this.fire(new t.l(new Error(`Image "${e}" has invalid "stretchY" value`))),o=!1),this._validateContent(i.content,i)||(this.fire(new t.l(new Error(`Image "${e}" has invalid "content" value`))),o=!1),o}_validateStretch(e,t){if(!e)return !0;let i=0;for(const o of e){if(o[0]=e[1]))}updateImage(e,t,i=!0){const o=this.getImage(e);if(i&&(o.data.width!==t.data.width||o.data.height!==t.data.height))throw new Error(`size mismatch between old image (${o.data.width}x${o.data.height}) and new image (${t.data.width}x${t.data.height}).`);t.version=o.version+1,this.images[e]=t,this.updatedImages[e]=!0;}removeImage(e){var t;const i=this.images[e];delete this.images[e],delete this.patterns[e],(null===(t=i.userImage)||void 0===t?void 0:t.onRemove)&&i.userImage.onRemove();}listImages(){return Object.keys(this.images)}getImages(e){return new Promise(((t,i)=>{let o=!0;if(!this.isLoaded())for(const t of e)this.images[t]||(o=!1);this.isLoaded()||o?t(this._getImagesForIds(e)):this.requestors.push({ids:e,promiseResolve:t});}))}_getImagesForIds(e){var i;const o={};for(const a of e){let e=this.getImage(a);e||(this.fire(new t.n("styleimagemissing",{id:a})),e=this.getImage(a)),e?o[a]={data:e.data.clone(),pixelRatio:e.pixelRatio,sdf:e.sdf,version:e.version,stretchX:e.stretchX,stretchY:e.stretchY,content:e.content,textFitWidth:e.textFitWidth,textFitHeight:e.textFitHeight,hasRenderCallback:Boolean(null===(i=e.userImage)||void 0===i?void 0:i.render)}:t.w(`Image "${a}" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.`);}return o}getPixelSize(){const{width:e,height:t}=this.atlasImage;return {width:e,height:t}}getPattern(e){const i=this.patterns[e],o=this.getImage(e);if(!o)return null;if(i&&i.position.version===o.version)return i.position;if(i)i.position.version=o.version;else {const i={w:o.data.width+2,h:o.data.height+2,x:0,y:0},a=new t.I(i,o);this.patterns[e]={bin:i,position:a};}return this._updatePatternAtlas(),this.patterns[e].position}bind(e){const i=e.gl;this.atlasTexture?this.dirty&&(this.atlasTexture.update(this.atlasImage),this.dirty=!1):this.atlasTexture=new t.T(e,this.atlasImage,i.RGBA),this.atlasTexture.bind(i.LINEAR,i.CLAMP_TO_EDGE);}_updatePatternAtlas(){const e=[];for(const t in this.patterns)e.push(this.patterns[t].bin);const{w:i,h:o}=t.p(e),a=this.atlasImage;a.resize({width:i||1,height:o||1});for(const e in this.patterns){const{bin:i}=this.patterns[e],o=i.x+1,r=i.y+1,s=this.getImage(e).data,n=s.width,l=s.height;t.R.copy(s,a,{x:0,y:0},{x:o,y:r},{width:n,height:l}),t.R.copy(s,a,{x:0,y:l-1},{x:o,y:r-1},{width:n,height:1}),t.R.copy(s,a,{x:0,y:0},{x:o,y:r+l},{width:n,height:1}),t.R.copy(s,a,{x:n-1,y:0},{x:o-1,y:r},{width:1,height:l}),t.R.copy(s,a,{x:0,y:0},{x:o+n,y:r},{width:1,height:l});}this.dirty=!0;}beginFrame(){this.callbackDispatchedThisFrame={};}dispatchRenderCallbacks(e){for(const i of e){if(this.callbackDispatchedThisFrame[i])continue;this.callbackDispatchedThisFrame[i]=!0;const e=this.getImage(i);e||t.w(`Image with ID: "${i}" was not found`),f(e)&&this.updateImage(i,e);}}cloneImages(){const e={};for(const t in this.images){const i=this.images[t];e[t]=Object.assign(Object.assign({},i),{data:i.data?i.data.clone():null});}return e}}const v=1e20,x=new Float64Array(256);for(let e=0;e<256;e++){const t=.5-Math.pow(e/255,1/2.2);x[e]=t*Math.abs(t);}function b(e,t,i,o,a,r,s,n,l){for(let c=t;c-1);l++,r[l]=n,s[l]=c,s[l+1]=v;}for(let n=0,l=0;n/[-\w]+/.test(e)?e:`'${CSS.escape(e)}'`)).join(",");return new T.TinySDF({fontSize:48,buffer:6,radius:16,cutoff:.25,fontFamily:i,fontWeight:this._fontWeight(t[0]),fontStyle:this._fontStyle(t[0]),lang:this.lang})}_fontStyle(e){return /italic/i.test(e)?"italic":/oblique/i.test(e)?"oblique":"normal"}_fontWeight(e){const t={thin:100,hairline:100,"extra light":200,"ultra light":200,light:300,normal:400,regular:400,medium:500,semibold:600,demibold:600,bold:700,"extra bold":800,"ultra bold":800,black:900,heavy:900,"extra black":950,"ultra black":950};let i;for(const[o,a]of Object.entries(t))new RegExp(`\\b${o}\\b`,"i").test(e)&&(i=`${a}`);return i}destroy(){for(const e in this.entries){const t=this.entries[e];t.tinySDF=null,t.ideographTinySDF=null,t.glyphs={},t.requests={},t.ranges={};}this.entries={};}}T.loadGlyphRange=function(e,i,o,a){return t._(this,void 0,void 0,(function*(){const r=256*i,s=r+255,n=yield a.transformRequest(o.replace("{fontstack}",e).replace("{range}",`${r}-${s}`),"Glyphs"),l=yield t.o(n,new AbortController);if(!(null==l?void 0:l.data))throw new Error(`Could not load glyph range. range: ${i}, ${r}-${s}`);const c={};for(const e of t.q(l.data))c[e.id]=e;return c}))},T.TinySDF=class{constructor({fontSize:e=24,buffer:t=3,radius:i=8,cutoff:o=.25,fontFamily:a="sans-serif",fontWeight:r="normal",fontStyle:s="normal",lang:n=null}={}){this.buffer=t,this.radius=i,this.cutoff=o,this.lang=n;const l=this.size=e+4*t,c=this._createCanvas(l),h=this.ctx=c.getContext("2d",{willReadFrequently:!0});h.font=`${s} ${r} ${e}px ${a}`,h.textBaseline="alphabetic",h.textAlign="left",h.fillStyle="black",this.gridOuter=new Float64Array(l*l),this.gridInner=new Float64Array(l*l),this.f=new Float64Array(l),this.z=new Float64Array(l+1),this.v=new Uint16Array(l);}_createCanvas(e){if("undefined"!=typeof OffscreenCanvas)return new OffscreenCanvas(e,e);const t=document.createElement("canvas");return t.width=t.height=e,t}draw(e){const{width:t,actualBoundingBoxAscent:i,actualBoundingBoxDescent:o,actualBoundingBoxLeft:a,actualBoundingBoxRight:r}=this.ctx.measureText(e),s=Math.ceil(i),n=Math.floor(a),l=Math.max(0,Math.min(this.size-this.buffer,Math.ceil(r)-n)),c=Math.max(0,Math.min(this.size-this.buffer,s+Math.ceil(o))),h=l+2*this.buffer,u=c+2*this.buffer,d=Math.max(h*u,0),_=new Uint8ClampedArray(d),p={data:_,width:h,height:u,glyphWidth:l,glyphHeight:c,glyphTop:s,glyphLeft:n,glyphAdvance:t};if(0===l||0===c)return p;const{ctx:m,buffer:f,gridInner:g,gridOuter:y}=this;this.lang&&(m.lang=this.lang),m.clearRect(f,f,l,c),m.fillText(e,f-n,f+s);const w=m.getImageData(f,f,l,c);y.fill(v,0,d),g.fill(0,0,d);let T=3;for(let e=0;e1&&(s=e[++r]);const l=Math.abs(n-s.left),c=Math.abs(n-s.right),h=Math.min(l,c);let u;const d=t/i*(o+1);if(s.isDash){const e=o-Math.abs(d);u=Math.sqrt(h*h+e*e);}else u=o-Math.sqrt(h*h+d*d);this.data[a+n]=Math.max(0,Math.min(255,u+128));}}}addRegularDash(e){for(let t=e.length-1;t>=0;--t){const i=e[t],o=e[t+1];i.zeroLength?e.splice(t,1):o&&o.isDash===i.isDash&&(o.left=i.left,e.splice(t,1));}const t=e[0],i=e[e.length-1];t.isDash===i.isDash&&(t.left=i.left-this.width,i.right=t.right+this.width);const o=this.width*this.nextRow;let a=0,r=e[a];for(let t=0;t1&&(r=e[++a]);const i=Math.abs(t-r.left),s=Math.abs(t-r.right),n=Math.min(i,s);this.data[o+t]=Math.max(0,Math.min(255,(r.isDash?n:-n)+128));}}addDash(e,i){const o=i?7:0,a=2*o+1;if(this.nextRow+a>this.height)return t.w("LineAtlas out of space"),null;let r=0;for(const t of e)r+=t;if(0!==r){const t=this.width/r,a=this.getDashRanges(e,this.width,t);i?this.addRoundDash(a,t,o):this.addRegularDash(a);}const s={y:this.nextRow+o,height:2*o,width:r};return this.nextRow+=a,this.dirty=!0,s}bind(e){const t=e.gl;this.texture?(t.bindTexture(t.TEXTURE_2D,this.texture),this.dirty&&(this.dirty=!1,t.texSubImage2D(t.TEXTURE_2D,0,0,0,this.width,this.height,t.ALPHA,t.UNSIGNED_BYTE,this.data))):(this.texture=t.createTexture(),t.bindTexture(t.TEXTURE_2D,this.texture),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.REPEAT),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.REPEAT),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.LINEAR),t.texImage2D(t.TEXTURE_2D,0,t.ALPHA,this.width,this.height,0,t.ALPHA,t.UNSIGNED_BYTE,this.data));}}const z="maplibre_preloaded_worker_pool";class R{constructor(){this.active={};}acquire(e){if(!this.workers)for(this.workers=[];this.workers.lengtht.m(i,o)))),L}function O(e,i){const o=t.O();return t.Q(o,o,[1,1,0]),t.S(o,o,[.5*e.width,.5*e.height,1]),e.calculatePosMatrix?t.U(o,o,e.calculatePosMatrix(i.toUnwrapped())):o}function j(e,t,i,o,a,r,s){var n;const l=function(e,t,i){if(e)for(const o of e){const e=t[o];if((null==e?void 0:e.source)===i&&"fill-extrusion"===e.type)return !0}else for(const e in t){const o=t[e];if(o.source===i&&"fill-extrusion"===o.type)return !0}return !1}(null!==(n=null==a?void 0:a.layers)&&void 0!==n?n:null,t,e.id),c=r.maxPitchScaleFactor(),h=e.tilesIn(o,c,l);h.sort(N);const u=[];for(const o of h)u.push({wrappedTileID:o.tileID.wrapped().key,queryResults:o.tile.queryRenderedFeatures(t,i,e.getState(),o.queryGeometry,o.cameraQueryGeometry,o.scale,a,r,c,O(r,o.tileID),s?(e,t)=>s(o.tileID,e,t):void 0)});return function(e,t){for(const i in e)for(const o of e[i])Z(o,t);return e}(function(e){const t={},i={};for(const{queryResults:o,wrappedTileID:a}of e){i[a]||(i[a]={});const e=i[a];for(const i in o){const a=o[i];e[i]||(e[i]={});const r=e[i];t[i]||(t[i]=[]);for(const e of a)r[e.featureIndex]||(r[e.featureIndex]=!0,t[i].push(e));}}return t}(u),e)}function N(e,t){const i=e.tileID,o=t.tileID;return i.overscaledZ-o.overscaledZ||i.canonical.y-o.canonical.y||i.wrap-o.wrap||i.canonical.x-o.canonical.x}function Z(e,t){const i=e.feature,o=t.getFeatureState(i.layer["source-layer"],i.id);i.source=i.layer.source,i.layer["source-layer"]&&(i.sourceLayer=i.layer["source-layer"]),i.state=o;}function U(e,i,o,a){return t._(this,void 0,void 0,(function*(){let r=e;if(e.url?r=(yield t.k(yield i.transformRequest(e.url,"Source"),o)).data:yield n.frameAsync(o,a),!r)return null;const s=t.V(t.e(r,e),["tiles","minzoom","maxzoom","attribution","bounds","scheme","tileSize","encoding"]);return "vector_layers"in r&&r.vector_layers&&(s.vectorLayerIds=r.vector_layers.map((e=>e.id))),s}))}class G{constructor(e,t){e&&(t?this.setSouthWest(e).setNorthEast(t):Array.isArray(e)&&(4===e.length?this.setSouthWest([e[0],e[1]]).setNorthEast([e[2],e[3]]):this.setSouthWest(e[0]).setNorthEast(e[1])));}setNorthEast(e){return this._ne=e instanceof t.W?new t.W(e.lng,e.lat):t.W.convert(e),this}setSouthWest(e){return this._sw=e instanceof t.W?new t.W(e.lng,e.lat):t.W.convert(e),this}extend(e){const i=this._sw,o=this._ne;let a,r;if(e instanceof t.W)a=e,r=e;else {if(!(e instanceof G))return Array.isArray(e)?4===e.length||e.every(Array.isArray)?this.extend(G.convert(e)):this.extend(t.W.convert(e)):e&&("lng"in e||"lon"in e)&&"lat"in e?this.extend(t.W.convert(e)):this;if(a=e._sw,r=e._ne,!a||!r)return this}return i||o?(i.lng=Math.min(a.lng,i.lng),i.lat=Math.min(a.lat,i.lat),o.lng=Math.max(r.lng,o.lng),o.lat=Math.max(r.lat,o.lat)):(this._sw=new t.W(a.lng,a.lat),this._ne=new t.W(r.lng,r.lat)),this}getCenter(){return new t.W((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)}getSouthWest(){return this._sw}getNorthEast(){return this._ne}getNorthWest(){return new t.W(this.getWest(),this.getNorth())}getSouthEast(){return new t.W(this.getEast(),this.getSouth())}getWest(){return this._sw.lng}getSouth(){return this._sw.lat}getEast(){return this._ne.lng}getNorth(){return this._ne.lat}toArray(){return [this._sw.toArray(),this._ne.toArray()]}toString(){return `LngLatBounds(${this._sw.toString()}, ${this._ne.toString()})`}isEmpty(){return !(this._sw&&this._ne)}contains(e){const{lng:i,lat:o}=t.W.convert(e);let a=this._sw.lng<=i&&i<=this._ne.lng;return this._sw.lng>this._ne.lng&&(a=this._sw.lng>=i&&i>=this._ne.lng),this._sw.lat<=o&&o<=this._ne.lat&&a}intersects(e){if(!((e=G.convert(e)).getNorth()>=this.getSouth()&&e.getSouth()<=this.getNorth()))return !1;const i=Math.abs(this.getEast()-this.getWest()),o=Math.abs(e.getEast()-e.getWest());if(i>=360||o>=360)return !0;const a=t.X(this.getWest(),-180,180),r=t.X(this.getEast(),-180,180),s=t.X(e.getWest(),-180,180),n=t.X(e.getEast(),-180,180),l=a>r,c=s>n;return !(!l||!c)||(l?n>=a||s<=r:c?r>=s||a<=n:s<=r&&n>=a)}static convert(e){return e instanceof G?e:e?new G(e):e}static fromLngLat(e,i=0){const o=360*i/40075017,a=o/Math.cos(Math.PI/180*e.lat);return new G(new t.W(e.lng-a,e.lat-o),new t.W(e.lng+a,e.lat+o))}adjustAntiMeridian(){const e=new t.W(this._sw.lng,this._sw.lat),i=new t.W(this._ne.lng,this._ne.lat);return new G(e,e.lng>i.lng?new t.W(i.lng+360,i.lat):i)}}class V{constructor(e,t,i){this.bounds=G.convert(this.validateBounds(e)),this.minzoom=t||0,this.maxzoom=i||24;}validateBounds(e){return Array.isArray(e)&&4===e.length?[Math.max(-180,e[0]),Math.max(-90,e[1]),Math.min(180,e[2]),Math.min(90,e[3])]:[-180,-90,180,90]}contains(e){const i=Math.pow(2,e.z),o=Math.floor(t.Z(this.bounds.getWest())*i),a=Math.floor(t.Y(this.bounds.getNorth())*i),r=Math.ceil(t.Z(this.bounds.getEast())*i),s=Math.ceil(t.Y(this.bounds.getSouth())*i);return e.x>=o&&e.x=a&&e.y{this._options.tiles=e;})),this}setUrl(e){return this.setSourceProperty((()=>{this.url=e,this._options.url=e;})),this}onRemove(){this._tileJSONRequest&&(this._tileJSONRequest.abort(),this._tileJSONRequest=null);}serialize(){return t.e({},this._options)}loadTile(e){return t._(this,void 0,void 0,(function*(){const t=e.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme),i={request:yield this.map._requestManager.transformRequest(t,"Tile"),uid:e.uid,tileID:e.tileID,zoom:e.tileID.overscaledZ,tileSize:this.tileSize*e.tileID.overscaleFactor(),type:this.type,source:this.id,pixelRatio:this.map.getPixelRatio(),showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId,subdivisionGranularity:this.map.style.projection.subdivisionGranularity,encoding:this.encoding,overzoomParameters:yield this._getOverzoomParameters(e),etag:e.etag};i.request.collectResourceTiming=this._collectResourceTiming;let o="RT";if(e.actor&&"expired"!==e.state){if("loading"===e.state)return new Promise(((t,i)=>{e.reloadPromise={resolve:t,reject:i};}))}else e.actor=this.dispatcher.getActor(),o="LT";e.abortController=new AbortController;try{const t=yield e.actor.sendAsync({type:o,data:i},e.abortController);if(delete e.abortController,e.aborted)return;this._afterTileLoadWorkerResponse(e,t);const a={};return (null==t?void 0:t.etagUnmodified)&&(a.unmodified=!0),a}catch(t){if(delete e.abortController,e.aborted)return;if(t&&404!==t.status)throw t;this._afterTileLoadWorkerResponse(e,null);}}))}_getOverzoomParameters(e){return t._(this,void 0,void 0,(function*(){if(e.tileID.canonical.z<=this.maxzoom)return;if(void 0===this.map._zoomLevelsToOverscale)return;const t=e.tileID.scaledTo(this.maxzoom).canonical,i=t.url(this.tiles,this.map.getPixelRatio(),this.scheme);return {maxZoomTileID:t,overzoomRequest:yield this.map._requestManager.transformRequest(i,"Tile")}}))}_afterTileLoadWorkerResponse(e,t){if((null==t?void 0:t.resourceTiming)&&(e.resourceTiming=t.resourceTiming),t&&this.map._refreshExpiredTiles&&e.setExpiryData(t),e.etag=null==t?void 0:t.etag,e.loadVectorData(t,this.map.painter),e.reloadPromise){const t=e.reloadPromise;e.reloadPromise=null,this.loadTile(e).then(t.resolve).catch(t.reject);}}abortTile(e){return t._(this,void 0,void 0,(function*(){e.abortController&&(e.abortController.abort(),delete e.abortController),e.actor&&(yield e.actor.sendAsync({type:"AT",data:{uid:e.uid,type:this.type,source:this.id}}));}))}unloadTile(e){return t._(this,void 0,void 0,(function*(){e.unloadVectorData(),e.actor&&(yield e.actor.sendAsync({type:"RMT",data:{uid:e.uid,type:this.type,source:this.id}}));}))}hasTransition(){return !1}}class q extends t.E{constructor(e,i,o,a){super(),this.id=e,this.dispatcher=o,this.setEventedParent(a),this.type="raster",this.minzoom=0,this.maxzoom=22,this.roundZoom=!0,this.scheme="xyz",this.tileSize=512,this._loaded=!1,this._options=t.e({type:"raster"},i),t.e(this,t.V(i,["url","scheme","tileSize"]));}load(){return t._(this,arguments,void 0,(function*(e=!1){this._loaded=!1,this.fire(new t.n("dataloading",{dataType:"source"})),this._tileJSONRequest=new AbortController;try{const i=yield U(this._options,this.map._requestManager,this._tileJSONRequest,this.map._ownerWindow);this._tileJSONRequest=null,this._loaded=!0,i&&(t.e(this,i),i.bounds&&(this.tileBounds=new V(i.bounds,this.minzoom,this.maxzoom)),this.fire(new t.n("data",{dataType:"source",sourceDataType:"metadata"})),this.fire(new t.n("data",{dataType:"source",sourceDataType:"content",sourceDataChanged:e})));}catch(e){this._tileJSONRequest=null,this._loaded=!0,t.$(e)||this.fire(new t.l(t.d(e)));}}))}loaded(){return this._loaded}onAdd(e){this.map=e,this.load();}onRemove(){this._tileJSONRequest&&(this._tileJSONRequest.abort(),this._tileJSONRequest=null);}setSourceProperty(e){this._tileJSONRequest&&(this._tileJSONRequest.abort(),this._tileJSONRequest=null),e(),this.load(!0);}setTiles(e){return this.setSourceProperty((()=>{this._options.tiles=e;})),this}setUrl(e){return this.setSourceProperty((()=>{this.url=e,this._options.url=e;})),this}serialize(){return t.e({},this._options)}hasTile(e){return !this.tileBounds||this.tileBounds.contains(e.canonical)}loadTile(e){return t._(this,void 0,void 0,(function*(){const i=e.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme);e.abortController=new AbortController;try{const o=yield u.getImage(yield this.map._requestManager.transformRequest(i,"Tile"),e.abortController,this.map._refreshExpiredTiles);if(delete e.abortController,e.aborted)return void(e.state="unloaded");if(null==o?void 0:o.data){this.map._refreshExpiredTiles&&(o.cacheControl||o.expires)&&e.setExpiryData({cacheControl:o.cacheControl,expires:o.expires});const i=this.map.painter.context,a=i.gl,r=o.data;e.texture=this.map.painter.getTileTexture(r.width),e.texture?e.texture.update(r,{useMipmap:!0}):(e.texture=new t.T(i,r,a.RGBA,{useMipmap:!0}),e.texture.bind(a.LINEAR,a.CLAMP_TO_EDGE,a.LINEAR_MIPMAP_NEAREST)),e.state="loaded";}}catch(t){if(delete e.abortController,e.aborted)e.state="unloaded";else if(t)throw e.state="errored",t}}))}abortTile(e){return t._(this,void 0,void 0,(function*(){e.abortController&&(e.abortController.abort(),delete e.abortController);}))}unloadTile(e){return t._(this,void 0,void 0,(function*(){e.texture&&this.map.painter.saveTileTexture(e.texture);}))}hasTransition(){return !1}}class $ extends q{constructor(e,i,o,a){super(e,i,o,a),this.type="raster-dem",this.maxzoom=22,this._options=t.e({type:"raster-dem"},i),this.encoding=i.encoding||"mapbox",this.redFactor=i.redFactor,this.greenFactor=i.greenFactor,this.blueFactor=i.blueFactor,this.baseShift=i.baseShift;}loadTile(e){return t._(this,void 0,void 0,(function*(){const i=e.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme),o=yield this.map._requestManager.transformRequest(i,"Tile");e.neighboringTiles=this._getNeighboringTiles(e.tileID),e.abortController=new AbortController;try{const i=yield u.getImage(o,e.abortController,this.map._refreshExpiredTiles);if(delete e.abortController,e.aborted)return void(e.state="unloaded");if(null==i?void 0:i.data){const o=i.data;this.map._refreshExpiredTiles&&(i.cacheControl||i.expires)&&e.setExpiryData({cacheControl:i.cacheControl,expires:i.expires});const a=t.b(o)&&t.a0()?o:yield this.readImageNow(o),r={type:this.type,uid:e.uid,source:this.id,rawImageData:a,encoding:this.encoding,redFactor:this.redFactor,greenFactor:this.greenFactor,blueFactor:this.blueFactor,baseShift:this.baseShift};if(e.actor&&"expired"!==e.state&&"reloading"!==e.state)return;e.actor&&"expired"!==e.state||(e.actor=this.dispatcher.getActor()),e.dem=yield e.actor.sendAsync({type:"LDT",data:r}),e.needsHillshadePrepare=!0,e.needsTerrainPrepare=!0,e.state="loaded";}}catch(t){if(delete e.abortController,e.aborted)e.state="unloaded";else if(t)throw e.state="errored",t}}))}readImageNow(e){return t._(this,void 0,void 0,(function*(){if("undefined"!=typeof VideoFrame&&t.a1()){const i=e.width+2,o=e.height+2;try{return new t.R({width:i,height:o},yield t.a2(e,-1,-1,i,o))}catch(e){}}return n.getImageData(e,1)}))}_getNeighboringTiles(e){const i=e.canonical,o=Math.pow(2,i.z),a=(i.x-1+o)%o,r=0===i.x?e.wrap-1:e.wrap,s=(i.x+1+o)%o,n=i.x+1===o?e.wrap+1:e.wrap,l={};return l[new t.a3(e.overscaledZ,r,i.z,a,i.y).key]={backfilled:!1},l[new t.a3(e.overscaledZ,n,i.z,s,i.y).key]={backfilled:!1},i.y>0&&(l[new t.a3(e.overscaledZ,r,i.z,a,i.y-1).key]={backfilled:!1},l[new t.a3(e.overscaledZ,e.wrap,i.z,i.x,i.y-1).key]={backfilled:!1},l[new t.a3(e.overscaledZ,n,i.z,s,i.y-1).key]={backfilled:!1}),i.y+1e.key===i));t>-1&&e.addOrUpdateProperties.splice(t,1);}return (e.removeAllProperties||t.removeAllProperties)&&(i.removeAllProperties=!0),(e.removeProperties||t.removeProperties)&&(i.removeProperties=[...e.removeProperties||[],...t.removeProperties||[]]),(e.addOrUpdateProperties||t.addOrUpdateProperties)&&(i.addOrUpdateProperties=[...e.addOrUpdateProperties||[],...t.addOrUpdateProperties||[]]),(e.newGeometry||t.newGeometry)&&(i.newGeometry=t.newGeometry||e.newGeometry),i}function K(e){var t,i;if(!e)return {};const o={};return o.removeAll=e.removeAll,o.remove=new Set(e.remove||[]),o.add=new Map(null===(t=e.add)||void 0===t?void 0:t.map((e=>[e.id,e]))),o.update=new Map(null===(i=e.update)||void 0===i?void 0:i.map((e=>[e.id,e]))),o}function Y(e){return e&&0!==e.length?"number"==typeof e[0]?[e]:e.flatMap((e=>Y(e))):[]}function Q(e){return "GeometryCollection"===e.type?e.geometries.flatMap((e=>Q(e))):Y(e.coordinates)}function J(e){const t=new G;let i;switch(e.type){case "FeatureCollection":i=e.features.flatMap((e=>Q(e.geometry)));break;case "Feature":i=Q(e.geometry);break;default:i=Q(e);}if(0===i.length)return t;for(const e of i){const[i,o]=e;t.extend([i,o]);}return t}class ee extends t.E{constructor(e,i,o,a){super(),this.id=e,this.type="geojson",this.minzoom=0,this.maxzoom=18,this.tileSize=512,this.isTileClipped=!0,this.reparseOverscaled=!0,this._removed=!1,this._isUpdatingWorker=!1,this._pendingWorkerUpdate={data:i.data},this.actor=o.getActor(),this.setEventedParent(a),this._data="string"==typeof i.data?{url:i.data}:{geojson:i.data},this._options=t.e({},i),this._collectResourceTiming=i.collectResourceTiming,void 0!==i.maxzoom&&(this.maxzoom=i.maxzoom),i.type&&(this.type=i.type),i.attribution&&(this.attribution=i.attribution),this.promoteId=i.promoteId,void 0!==i.clusterMaxZoom&&this.maxzoom<=i.clusterMaxZoom&&t.w(`The maxzoom value "${this.maxzoom}" is expected to be greater than the clusterMaxZoom value "${i.clusterMaxZoom}".`),this.workerOptions=t.e({source:this.id,geojsonVtOptions:{buffer:this._pixelsToTileUnits(void 0!==i.buffer?i.buffer:128),tolerance:this._pixelsToTileUnits(void 0!==i.tolerance?i.tolerance:.375),extent:t.a6,maxZoom:this.maxzoom,lineMetrics:i.lineMetrics||!1,generateId:i.generateId||!1,promoteId:"string"==typeof i.promoteId?i.promoteId:void 0,cluster:i.cluster||!1,clusterOptions:{maxZoom:this._getClusterMaxZoom(i.clusterMaxZoom),minPoints:Math.max(2,i.clusterMinPoints||2),extent:t.a6,radius:this._pixelsToTileUnits(i.clusterRadius||50),log:!1,generateId:i.generateId||!1}},clusterProperties:i.clusterProperties,filter:i.filter},i.workerOptions);}_hasPendingWorkerUpdate(){return void 0!==this._pendingWorkerUpdate.data||void 0!==this._pendingWorkerUpdate.diff||this._pendingWorkerUpdate.updateCluster}_pixelsToTileUnits(e){return e*(t.a6/this.tileSize)}_getClusterMaxZoom(e){const i=e?Math.round(e):this.maxzoom-1;return Number.isInteger(e)||void 0===e||t.w(`Integer expected for option 'clusterMaxZoom': provided value "${e}" rounded to "${i}"`),i}load(){return t._(this,void 0,void 0,(function*(){yield this._updateWorkerData();}))}onAdd(e){this.map=e,this.load();}setData(e,t){this._data="string"==typeof e?{url:e}:{geojson:e},this._pendingWorkerUpdate={data:e};const i=this._updateWorkerData();return t?i:this}updateData(e,t){this._pendingWorkerUpdate.diff=function(e,t){if(!e)return t||{};if(!t)return e||{};const i=K(e),o=K(t);!function(e,t){t.removeAll&&(e.add.clear(),e.update.clear(),e.remove.clear(),t.remove.clear());for(const i of t.remove)e.add.delete(i),e.update.delete(i);for(const[i,o]of t.update){const a=e.update.get(i);a&&(t.update.set(i,X(a,o)),e.update.delete(i));}}(i,o);const a={};if((i.removeAll||o.removeAll)&&(a.removeAll=!0),a.remove=new Set([...i.remove,...o.remove]),a.add=new Map([...i.add,...o.add]),a.update=new Map([...i.update,...o.update]),a.remove.size&&a.add.size)for(const e of a.add.keys())a.remove.delete(e);return function(e){const t={};return e.removeAll&&(t.removeAll=e.removeAll),e.remove&&(t.remove=Array.from(e.remove)),e.add&&(t.add=Array.from(e.add.values())),e.update&&(t.update=Array.from(e.update.values())),t}(a)}(this._pendingWorkerUpdate.diff,e);const i=this._updateWorkerData();return t?i:this}getData(){return t._(this,void 0,void 0,(function*(){return this._data.url&&(yield this.once("data")),this._data.geojson?this._data.geojson:{type:"FeatureCollection",features:Array.from(this._data.updateable.values())}}))}getBounds(){return t._(this,void 0,void 0,(function*(){return J(yield this.getData())}))}setClusterOptions(e){return this.workerOptions.geojsonVtOptions.cluster=e.cluster,void 0!==e.clusterRadius&&(this.workerOptions.geojsonVtOptions.clusterOptions.radius=this._pixelsToTileUnits(e.clusterRadius)),void 0!==e.clusterMaxZoom&&(this.workerOptions.geojsonVtOptions.clusterOptions.maxZoom=this._getClusterMaxZoom(e.clusterMaxZoom)),this._pendingWorkerUpdate.updateCluster=!0,this._updateWorkerData(),this}getClusterExpansionZoom(e){return this.actor.sendAsync({type:"GCEZ",data:{type:this.type,clusterId:e,source:this.id}})}getClusterChildren(e){return this.actor.sendAsync({type:"GCC",data:{type:this.type,clusterId:e,source:this.id}})}getClusterLeaves(e,t,i){return this.actor.sendAsync({type:"GCL",data:{type:this.type,source:this.id,clusterId:e,limit:t,offset:i}})}_updateWorkerData(){return t._(this,void 0,void 0,(function*(){if(this._isUpdatingWorker)return;if(!this._hasPendingWorkerUpdate())return void t.w(`No pending worker updates for GeoJSONSource ${this.id}.`);const{data:e,diff:i,updateCluster:o}=this._pendingWorkerUpdate,a=this._getLoadGeoJSONParameters(e,i,o);void 0!==e?this._pendingWorkerUpdate.data=void 0:i?this._pendingWorkerUpdate.diff=void 0:o&&(this._pendingWorkerUpdate.updateCluster=void 0),yield this._dispatchWorkerUpdate(a);}))}_getLoadGeoJSONParameters(e,i,o){return t._(this,void 0,void 0,(function*(){const a=t.e({type:this.type},this.workerOptions);return "string"==typeof e?(a.request=yield this.map._requestManager.transformRequest(n.resolveURL(e),"Source"),a.request.collectResourceTiming=this._collectResourceTiming,a):void 0!==e?(a.data=e,a):i?(a.dataDiff=i,a):o?(a.updateCluster=!0,a):void 0}))}_dispatchWorkerUpdate(e){return t._(this,void 0,void 0,(function*(){this._isUpdatingWorker=!0,this.fire(new t.n("dataloading",{dataType:"source"}));try{const i=yield e,o=yield this.actor.sendAsync({type:"LD",data:i});if(this._isUpdatingWorker=!1,this._removed||o.abandoned)return void this.fire(new t.n("dataabort",{dataType:"source"}));o.data&&(this._data={geojson:o.data});const a=this._applyDiffToSource(i.dataDiff),r=this._getShouldReloadTileOptions(a),s={dataType:"source"};this._applyResourceTiming(s,o),this.fire(new t.n("data",Object.assign(Object.assign({},s),{sourceDataType:"metadata"}))),this.fire(new t.n("data",Object.assign(Object.assign({},s),{sourceDataType:"content",shouldReloadTileOptions:r})));}catch(e){if(this._isUpdatingWorker=!1,this._removed)return void this.fire(new t.n("dataabort",{dataType:"source"}));this.fire(new t.l(t.d(e)));}finally{this._hasPendingWorkerUpdate()&&this._updateWorkerData();}}))}_applyResourceTiming(e,i){var o;if(!this._collectResourceTiming)return;const a=null===(o=i.resourceTiming)||void 0===o?void 0:o[this.id];if(!a)return;const r=a.slice(0);(null==r?void 0:r.length)&&t.e(e,{resourceTiming:r});}_applyDiffToSource(e){if(!e)return;const t="string"==typeof this.promoteId?this.promoteId:void 0;if(!this._data.url&&!this._data.updateable){const e=function(e,t){const i=new Map;if(null==e)return i;if(null==e.type)return i;if("Feature"===e.type){const o=H(e,t);if(null==o)return;return i.set(o,e),i}if("FeatureCollection"===e.type){const o=new Set;for(const a of e.features){const e=H(a,t);if(null==e)return;if(o.has(e))return;o.add(e),i.set(e,a);}return i}}(this._data.geojson,t);if(!e)throw new Error(`GeoJSONSource "${this.id}": GeoJSON data is not compatible with updateData`);this._data={updateable:e};}if(!this._data.updateable)return;const i=function(e,t,i){var o,a;const r=[];if(t.removeAll)e.clear();else if(t.remove)for(const i of t.remove){const t=e.get(i);t&&(r.push(t.geometry),e.delete(i));}if(t.add)for(const o of t.add){const t=H(o,i);if(null==t)continue;const a=e.get(t);a&&r.push(a.geometry),r.push(o.geometry),e.set(t,o);}if(t.update)for(const i of t.update){const t=e.get(i.id);if(!t)continue;const s=!!i.newGeometry,n=i.removeAllProperties||(null===(o=i.removeProperties)||void 0===o?void 0:o.length)>0||(null===(a=i.addOrUpdateProperties)||void 0===a?void 0:a.length)>0;if(!s&&!n)continue;r.push(t.geometry);const l=Object.assign({},t);if(e.set(i.id,l),s&&(r.push(i.newGeometry),l.geometry=i.newGeometry),n){if(l.properties=i.removeAllProperties?{}:Object.assign({},l.properties||{}),i.removeProperties)for(const e of i.removeProperties)delete l.properties[e];if(i.addOrUpdateProperties)for(const{key:e,value:t}of i.addOrUpdateProperties)l.properties[e]=t;}}return r}(this._data.updateable,e,t);return e.removeAll||this._options.cluster?void 0:i}_getShouldReloadTileOptions(e){if(e)return {affectedBounds:e.filter(Boolean).map((e=>J(e)))}}shouldReloadTile(e,{affectedBounds:i}){if("loading"===e.state)return !0;if("unloaded"===e.state)return !1;const{buffer:o,extent:a}=this.workerOptions.geojsonVtOptions,r=function({x:e,y:i,z:o},a=0){const r=t.a4((e-a)/Math.pow(2,o)),s=t.a5((i+1+a)/Math.pow(2,o)),n=t.a4((e+1+a)/Math.pow(2,o)),l=t.a5((i-a)/Math.pow(2,o));return new G([r,s],[n,l])}(e.tileID.canonical,o/a);for(const e of i)if(r.intersects(e))return !0;return !1}loaded(){return !this._isUpdatingWorker&&!this._hasPendingWorkerUpdate()}loadTile(e){return t._(this,void 0,void 0,(function*(){const t=e.actor?"RT":"LT";e.actor=this.actor;const i={type:this.type,uid:e.uid,tileID:e.tileID,zoom:e.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:this.map.getPixelRatio(),showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId,subdivisionGranularity:this.map.style.projection.subdivisionGranularity};e.abortController=new AbortController;const o=yield this.actor.sendAsync({type:t,data:i},e.abortController);delete e.abortController,e.unloadVectorData(),e.aborted||e.loadVectorData(o,this.map.painter,"RT"===t);}))}abortTile(e){return t._(this,void 0,void 0,(function*(){e.abortController&&(e.abortController.abort(),delete e.abortController),e.aborted=!0;}))}unloadTile(e){return t._(this,void 0,void 0,(function*(){e.unloadVectorData(),yield this.actor.sendAsync({type:"RMT",data:{uid:e.uid,type:this.type,source:this.id}});}))}onRemove(){this._removed=!0,this.actor.sendAsync({type:"RS",data:{type:this.type,source:this.id}});}serialize(){return t.e({},this._options,{type:this.type,data:this._data.updateable?{type:"FeatureCollection",features:Array.from(this._data.updateable.values())}:this._data.url||this._data.geojson})}hasTransition(){return !1}}class te extends t.E{constructor(e,t,i,o){super(),this.flippedWindingOrder=!1,this.id=e,this.dispatcher=i,this.coordinates=t.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(o),this.options=t;}load(e){return t._(this,void 0,void 0,(function*(){this._loaded=!1,this.fire(new t.n("dataloading",{dataType:"source"})),this.url=this.options.url,this._request=new AbortController;try{const t=yield u.getImage(yield this.map._requestManager.transformRequest(this.url,"Image"),this._request);this._request=null,this._loaded=!0,(null==t?void 0:t.data)&&(this.image=t.data,e&&(this.coordinates=e),this._finishLoading());}catch(e){this._request=null,this._loaded=!0,t.$(e)||this.fire(new t.l(t.d(e)));}}))}loaded(){return this._loaded}updateImage(e){return e.url?(this._request&&(this._request.abort(),this._request=null),this.options.url=e.url,this.load(e.coordinates).finally((()=>this.texture=null)),this):this}_finishLoading(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new t.n("data",{dataType:"source",sourceDataType:"metadata"})));}onAdd(e){this.map=e,this.load();}onRemove(){this._request&&(this._request.abort(),this._request=null);}setCoordinates(e){this.coordinates=e;const i=e.map(t.a7.fromLngLat);var o;return this.tileID=function(e){const i=t.a8.fromPoints(e),o=i.width(),a=i.height(),r=Math.max(o,a),s=Math.max(0,Math.floor(-Math.log(r)/Math.LN2)),n=Math.pow(2,s);return new t.aa(s,Math.floor((i.minX+i.maxX)/2*n),Math.floor((i.minY+i.maxY)/2*n))}(i),this.terrainTileRanges=this._getOverlappingTileRanges(i),this.minzoom=this.maxzoom=this.tileID.z,this.tileCoords=i.map((e=>this.tileID.getTilePoint(e)._round())),this.flippedWindingOrder=((o=this.tileCoords)[1].x-o[0].x)*(o[2].y-o[0].y)-(o[1].y-o[0].y)*(o[2].x-o[0].x)<0,this.fire(new t.n("data",{dataType:"source",sourceDataType:"content"})),this}prepare(){if(0===Object.keys(this.tiles).length||!this.image)return;const e=this.map.painter.context,i=e.gl;this.texture||(this.texture=new t.T(e,this.image,i.RGBA),this.texture.bind(i.LINEAR,i.CLAMP_TO_EDGE));let o=!1;for(const e in this.tiles){const t=this.tiles[e];"loaded"!==t.state&&(t.state="loaded",t.texture=this.texture,o=!0);}o&&this.fire(new t.n("data",{dataType:"source",sourceDataType:"idle",sourceId:this.id}));}loadTile(e){return t._(this,void 0,void 0,(function*(){var t;(null===(t=this.tileID)||void 0===t?void 0:t.equals(e.tileID.canonical))?(this.tiles[String(e.tileID.wrap)]=e,e.buckets={}):e.state="errored";}))}serialize(){return {type:"image",url:this.options.url,coordinates:this.coordinates}}hasTransition(){return !1}_getOverlappingTileRanges(e){const{minX:i,minY:o,maxX:a,maxY:r}=t.a8.fromPoints(e),s={};for(let e=0;e<=t.a9;e++){const t=Math.pow(2,e),n=Math.floor(i*t),l=Math.floor(o*t),c=Math.floor(a*t),h=Math.floor(r*t),u=(n%t+t)%t,d=c%t,_=Math.floor(n/t),p=Math.floor(c/t);s[e]={minWrap:_,maxWrap:p,minTileXWrapped:u,maxTileXWrapped:d,minTileY:l,maxTileY:h};}return s}}class ie extends te{constructor(e,t,i,o){super(e,t,i,o),this._onPlayingHandler=()=>{var e;null===(e=this.map)||void 0===e||e.triggerRepaint();},this.roundZoom=!0,this.type="video",this.options=t;}load(){return t._(this,void 0,void 0,(function*(){this._loaded=!1;const e=this.options;this.urls=[];for(const t of e.urls)this.urls.push((yield this.map._requestManager.transformRequest(t,"Source")).url);try{const e=yield t.ab(this.urls);if(this._loaded=!0,!e)return;this.video=e,this.video.loop=!0,this.video.addEventListener("playing",this._onPlayingHandler),this.map&&this.video.play(),this._finishLoading();}catch(e){this.fire(new t.l(t.d(e)));}}))}pause(){this.video&&this.video.pause();}play(){this.video&&this.video.play();}seek(e){if(this.video){const i=this.video.seekable;ei.end(0)?this.fire(new t.l(new t.ac(`sources.${this.id}`,null,`Playback for this video can be set only between the ${i.start(0)} and ${i.end(0)}-second mark.`))):this.video.currentTime=e;}}getVideo(){return this.video}onAdd(e){this.map||(this.map=e,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)));}onRemove(){super.onRemove(),this.video&&(this.video.removeEventListener("playing",this._onPlayingHandler),this.video.pause());}prepare(){if(0===Object.keys(this.tiles).length||this.video.readyState<2)return;const e=this.map.painter.context,i=e.gl;this.texture?this.video.paused||(this.texture.bind(i.LINEAR,i.CLAMP_TO_EDGE),i.texSubImage2D(i.TEXTURE_2D,0,0,0,i.RGBA,i.UNSIGNED_BYTE,this.video)):(this.texture=new t.T(e,this.video,i.RGBA),this.texture.bind(i.LINEAR,i.CLAMP_TO_EDGE));let o=!1;for(const e in this.tiles){const t=this.tiles[e];"loaded"!==t.state&&(t.state="loaded",t.texture=this.texture,o=!0);}o&&this.fire(new t.n("data",{dataType:"source",sourceDataType:"idle",sourceId:this.id}));}serialize(){return {type:"video",urls:this.urls,coordinates:this.coordinates}}hasTransition(){return this.video&&!this.video.paused}}class oe extends te{constructor(e,i,o,a){super(e,i,o,a),i.coordinates?Array.isArray(i.coordinates)&&4===i.coordinates.length&&!i.coordinates.some((e=>!Array.isArray(e)||2!==e.length||e.some((e=>"number"!=typeof e))))||this.fire(new t.l(new t.ac(`sources.${e}`,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new t.l(new t.ac(`sources.${e}`,null,'missing required property "coordinates"'))),i.animate&&"boolean"!=typeof i.animate&&this.fire(new t.l(new t.ac(`sources.${e}`,null,'optional "animate" property must be a boolean value'))),i.canvas?"string"==typeof i.canvas||i.canvas instanceof HTMLCanvasElement||this.fire(new t.l(new t.ac(`sources.${e}`,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new t.l(new t.ac(`sources.${e}`,null,'missing required property "canvas"'))),this.options=i,this.animate=void 0===i.animate||i.animate;}load(){return t._(this,void 0,void 0,(function*(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof HTMLCanvasElement?this.options.canvas:document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new t.l(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint();},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1);},this._finishLoading());}))}getCanvas(){return this.canvas}onAdd(e){this.map=e,this.load(),this.canvas&&this.animate&&this.play();}onRemove(){this.pause();}prepare(){let e=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,e=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,e=!0),this._hasInvalidDimensions())return;if(0===Object.keys(this.tiles).length)return;const i=this.map.painter.context,o=i.gl;this.texture?(e||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):(this.texture=new t.T(i,this.canvas,o.RGBA,{premultiply:!0}),this.texture.bind(o.LINEAR,o.CLAMP_TO_EDGE));let a=!1;for(const e in this.tiles){const t=this.tiles[e];"loaded"!==t.state&&(t.state="loaded",t.texture=this.texture,a=!0);}a&&this.fire(new t.n("data",{dataType:"source",sourceDataType:"idle",sourceId:this.id}));}serialize(){return {type:"canvas",animate:this.animate,canvas:this.options.canvas,coordinates:this.coordinates}}hasTransition(){return this._playing}_hasInvalidDimensions(){for(const e of [this.canvas.width,this.canvas.height])if(isNaN(e)||e<=0)return !0;return !1}}const ae={},re=e=>{switch(e){case "geojson":return ee;case "image":return te;case "raster":return q;case "raster-dem":return $;case "vector":return W;case "video":return ie;case "canvas":return oe}return ae[e]},se="RTLPluginLoaded";class ne extends t.E{constructor(){super(...arguments),this.status="unavailable",this.url=null,this.dispatcher=B();}_syncState(e){return this.status=e,this.dispatcher.broadcast("SRPS",{pluginStatus:e,pluginURL:this.url}).catch((e=>{throw this.status="error",e}))}getRTLTextPluginStatus(){return this.status}clearRTLTextPlugin(){this.status="unavailable",this.url=null;}setRTLTextPlugin(e){return t._(this,arguments,void 0,(function*(e,t=!1){if(this.url)throw new Error("setRTLTextPlugin cannot be called multiple times.");if(this.url=n.resolveURL(e),!this.url)throw new Error(`requested url ${e} is invalid`);if("unavailable"===this.status){if(!t)return this._requestImport();this.status="deferred",this._syncState(this.status);}else if("requested"===this.status)return this._requestImport()}))}_requestImport(){return t._(this,void 0,void 0,(function*(){yield this._syncState("loading"),this.status="loaded",this.fire(new t.n(se));}))}lazyLoad(){"unavailable"===this.status?this.status="requested":"deferred"===this.status&&this._requestImport();}}let le=null;function ce(){return le||(le=new ne),le}var he,ue;!function(e){e[e.Base=0]="Base",e[e.Parent=1]="Parent";}(he||(he={})),function(e){e[e.Departing=0]="Departing",e[e.Incoming=1]="Incoming";}(ue||(ue={}));class de{constructor(e,i){this.timeAdded=0,this.fadeEndTime=0,this.fadeOpacity=1,this.tileID=e,this.uid=t.ad(),this.uses=0,this.tileSize=i,this.buckets={},this.expirationTime=null,this.queryPadding=0,this.hasSymbolBuckets=!1,this.hasRTLText=!1,this.dependencies={},this.rtt=[],this.rttFingerprint={},this.expiredRequestCount=0,this.state="loading";}isRenderable(e){return this.hasData()&&(!this.fadeEndTime||this.fadeOpacity>0)&&(e||!this.holdingForSymbolFade())}setCrossFadeLogic({fadingRole:e,fadingDirection:t,fadingParentID:i,fadeEndTime:o}){this.resetFadeLogic(),this.fadingRole=e,this.fadingDirection=t,this.fadingParentID=i,this.fadeEndTime=o;}setSelfFadeLogic(e){this.resetFadeLogic(),this.selfFading=!0,this.fadeEndTime=e;}resetFadeLogic(){this.fadingRole=null,this.fadingDirection=null,this.fadingParentID=null,this.selfFading=!1,this.timeAdded=c(),this.fadeEndTime=0,this.fadeOpacity=1;}wasRequested(){return "errored"===this.state||"loaded"===this.state||"reloading"===this.state}clearTextures(e){this.demTexture&&e.saveTileTexture(this.demTexture),this.demTexture=null;}loadVectorData(e,i,o){if(!0!==(null==e?void 0:e.etagUnmodified))if(this.hasData()&&this.unloadVectorData(),this.state="loaded",e){e.featureIndex&&(this.latestFeatureIndex=e.featureIndex,e.rawTileData?(this.latestRawTileData=e.rawTileData,this.latestEncoding=e.encoding,this.latestFeatureIndex.rawTileData=e.rawTileData,this.latestFeatureIndex.encoding=e.encoding):this.latestRawTileData&&(this.latestFeatureIndex.rawTileData=this.latestRawTileData,this.latestFeatureIndex.encoding=this.latestEncoding)),this.collisionBoxArray=e.collisionBoxArray,this.buckets=function(e,t){const i={};if(!t)return i;for(const o of e){const e=o.layerIds.map((e=>t.getLayer(e))).filter(Boolean);if(0!==e.length){o.layers=e,o.stateDependentLayerIds&&(o.stateDependentLayers=o.stateDependentLayerIds.map((t=>e.filter((e=>e.id===t))[0])));for(const t of e)i[t.id]=o;}}return i}(e.buckets,null==i?void 0:i.style),this.hasSymbolBuckets=!1;for(const e in this.buckets){const i=this.buckets[e];if(i instanceof t.af){if(this.hasSymbolBuckets=!0,!o)break;i.justReloaded=!0;}}if(this.hasRTLText=!1,this.hasSymbolBuckets)for(const e in this.buckets){const i=this.buckets[e];if(i instanceof t.af&&i.hasRTLText){this.hasRTLText=!0,ce().lazyLoad();break}}this.queryPadding=0;for(const e in this.buckets){const t=this.buckets[e];this.queryPadding=Math.max(this.queryPadding,i.style.getLayer(e).queryRadius(t));}e.imageAtlas&&(this.imageAtlas=e.imageAtlas),e.glyphAtlasImage&&(this.glyphAtlasImage=e.glyphAtlasImage),this.dashPositions=e.dashPositions;}else this.collisionBoxArray=new t.ae;else this.state="loaded";}unloadVectorData(){for(const e in this.buckets)this.buckets[e].destroy();this.buckets={},this.imageAtlasTexture&&this.imageAtlasTexture.destroy(),this.glyphAtlasTexture&&this.glyphAtlasTexture.destroy(),this.imageAtlas=null,this.dashPositions=null,this.latestFeatureIndex=null,this.state="unloaded";}getBucket(e){return this.buckets[e.id]}upload(e){for(const t in this.buckets){const i=this.buckets[t];i.uploadPending()&&i.upload(e);}const i=e.gl;this.imageAtlas&&!this.imageAtlas.uploaded&&(this.imageAtlasTexture=new t.T(e,this.imageAtlas.image,i.RGBA),this.imageAtlas.uploaded=!0),this.glyphAtlasImage&&(this.glyphAtlasTexture=new t.T(e,this.glyphAtlasImage,i.ALPHA),this.glyphAtlasImage=null);}prepare(e){this.imageAtlas&&this.imageAtlas.patchUpdatedImages(e,this.imageAtlasTexture);}queryRenderedFeatures(e,t,i,o,a,r,s,n,l,c,h){var u;return (null===(u=this.latestFeatureIndex)||void 0===u?void 0:u.rawTileData)?this.latestFeatureIndex.query({queryGeometry:o,cameraQueryGeometry:a,scale:r,tileSize:this.tileSize,pixelPosMatrix:c,transform:n,params:s,queryPadding:this.queryPadding*l,getElevation:h},e,t,i):{}}querySourceFeatures(e,i){const o=this.latestFeatureIndex;if(!(null==o?void 0:o.rawTileData))return;const a=o.loadVTLayers(),r=(null==i?void 0:i.sourceLayer)?i.sourceLayer:"",s=a[t.ag]||a[r];if(!s)return;const n=t.ah(null==i?void 0:i.filter,null==i?void 0:i.globalState),{z:l,x:c,y:h}=this.tileID.canonical,u={z:l,x:c,y:h};for(let i=0;ie)t=!1;else if(i)if(this.expirationTime({zoom:0,x:0,y:0,wrap:e,fullyVisible:!1}),b=[],y=[];if(e.renderWorldCopies&&n.allowWorldCopies())for(let e=1;e<=3;e++)b.push(x(-e)),b.push(x(e));for(b.push(x(0));b.length>0;){const _=b.pop(),f=_.x,x=_.y;let w=_.fullyVisible;const T={x:f,y:x,z:_.zoom},P=n.getTileBoundingVolume(T,_.wrap,e.elevation,i);if(!w){const e=ye(o,P,a);if(0===e)continue;w=2===e;}const C=n.distanceToTile2d(r.x,r.y,T,P);let M=c;l&&(M=(i.calculateTileZoom||Pe)(e.zoom+t.ar(e.tileSize/i.tileSize),C,g,v,e.fov)),M=(i.roundZoom?Math.round:Math.floor)(M),M=Math.max(0,M);const I=Math.min(M,u);if(_.wrap=n.getWrap(s,T,_.wrap),_.zoom>=I){if(_.zoom>1),wrap:_.wrap,fullyVisible:w});}return y.sort(((e,t)=>e.distanceSq-t.distanceSq)).map((e=>e.tileID))}const Ie=t.a8.fromPoints([new t.P(0,0),new t.P(t.a6,t.a6)]);function Ee(e){return "raster"===e||"image"===e||"video"===e}function Se(e,t,i,o,a,r,s){if(!t.hasData())return !1;const{tileID:n,fadingRole:l,fadingDirection:c,fadingParentID:h}=t;if(l===he.Base&&c===ue.Incoming&&h)return i[h.key]=h,!0;const u=Math.max(n.overscaledZ-a,r);for(let a=n.overscaledZ-1;a>=u;a--){const r=n.scaledTo(a),l=e.getLoadedTile(r);if(l)return t.setCrossFadeLogic({fadingRole:he.Base,fadingDirection:ue.Incoming,fadingParentID:l.tileID,fadeEndTime:o+s}),l.setCrossFadeLogic({fadingRole:he.Parent,fadingDirection:ue.Departing,fadeEndTime:o+s}),i[r.key]=r,!0}return !1}function ze(e,t,i,o,a,r){if(!t.hasData())return !1;const s=t.tileID.children(a);let n=Re(e,t,s,i,o,a,r);if(n)return !0;for(const l of s)Re(e,t,l.children(a),i,o,a,r)&&(n=!0);return n}function Re(e,t,i,o,a,r,s){if(i[0].overscaledZ>=r)return !1;let n=!1;for(const r of i){const i=e.getLoadedTile(r);if(!i)continue;const{fadingRole:l,fadingDirection:c,fadingParentID:h}=i;l===he.Base&&c===ue.Departing&&h||(i.setCrossFadeLogic({fadingRole:he.Base,fadingDirection:ue.Departing,fadingParentID:t.tileID,fadeEndTime:a+s}),t.setCrossFadeLogic({fadingRole:he.Parent,fadingDirection:ue.Incoming,fadeEndTime:a+s})),o[r.key]=r,n=!0;}return n}function De(e,t,i,o){const a=e.tileID;return !!e.selfFading||!e.hasData()&&!!t.has(a)&&(e.setSelfFadeLogic(i+o),!0)}function Ae(e,t){var i;e.needsHillshadePrepare=!0,e.needsTerrainPrepare=!0;let o=t.tileID.canonical.x-e.tileID.canonical.x;const a=t.tileID.canonical.y-e.tileID.canonical.y,r=Math.pow(2,e.tileID.canonical.z),s=t.tileID.key;0===o&&0===a||Math.abs(a)>1||(Math.abs(o)>1&&(1===Math.abs(o+r)?o+=r:1===Math.abs(o-r)&&(o-=r)),t.dem&&e.dem&&(e.dem.backfillBorder(t.dem,o,a),(null===(i=e.neighboringTiles)||void 0===i?void 0:i[s])&&(e.neighboringTiles[s].backfilled=!0)));}class Le{constructor(){this._tiles={};}handleWrapJump(e){const t={};for(const i in this._tiles){const o=this._tiles[i];o.tileID=o.tileID.unwrapTo(o.tileID.wrap+e),t[o.tileID.key]=o;}this._tiles=t;}setFeatureState(e,t){for(const i in this._tiles)this._tiles[i].setFeatureState(e,t);}getAllTiles(){return Object.values(this._tiles)}getAllIds(e=!1){return e?Object.values(this._tiles).map((e=>e.tileID)).sort(t.au).map((e=>e.key)):Object.keys(this._tiles)}getTileById(e){return this._tiles[e]}setTile(e,t){this._tiles[e]=t;}deleteTileById(e){delete this._tiles[e];}getLoadedTile(e){const t=this.getTileById(e.key);return (null==t?void 0:t.hasData())?t:null}isIdRenderable(e,t=!1){var i;return null===(i=this.getTileById(e))||void 0===i?void 0:i.isRenderable(t)}getRenderableIds(e=0,i){const o=[];for(const e of this.getAllIds())this.isIdRenderable(e,i)&&o.push(this.getTileById(e));return i?o.sort(((i,o)=>{const a=i.tileID,r=o.tileID,s=new t.P(a.canonical.x,a.canonical.y)._rotate(-e),n=new t.P(r.canonical.x,r.canonical.y)._rotate(-e);return a.overscaledZ-r.overscaledZ||n.y-s.y||n.x-s.x})).map((e=>e.tileID.key)):o.map((e=>e.tileID)).sort(t.au).map((e=>e.key))}}class Fe extends t.E{constructor(e,i,o){super(),this.id=e,this.dispatcher=o,this.on("data",(e=>{this._dataHandler(e);})),this.on("dataloading",(()=>{this._sourceErrored=!1;})),this.on("error",(()=>{this._sourceErrored=this._source.loaded();})),this._source=((e,t,i,o)=>{const a=new(re(t.type))(e,t,i,o);if(a.id!==e)throw new Error(`Expected Source id to be ${e} instead of ${a.id}`);return a})(e,i,o,this),this._inViewTiles=new Le,this._outOfViewCache=new t.av(0,(e=>this._unloadTile(e))),this._timers={},this._maxTileCacheSize=null,this._maxTileCacheZoomLevels=null,this._rasterFadeDuration=0,this._maxFadingAncestorLevels=5,this._state=new _e,this._didEmitContent=!1,this._updated=!1;}onAdd(e){var t;this.map=e,this._maxTileCacheSize=e?e._maxTileCacheSize:null,this._maxTileCacheZoomLevels=e?e._maxTileCacheZoomLevels:null,(null===(t=this._source)||void 0===t?void 0:t.onAdd)&&this._source.onAdd(e);}onRemove(e){var t;for(const e of this._inViewTiles.getAllTiles())e.unloadVectorData();this.clearTiles(),(null===(t=this._source)||void 0===t?void 0:t.onRemove)&&this._source.onRemove(e),this._inViewTiles=new Le;}loaded(){if(this._sourceErrored)return !0;if(!this._sourceLoaded)return !1;if(!this._source.loaded())return !1;if(!(void 0===this.used&&void 0===this.usedForTerrain||this.used||this.usedForTerrain))return !0;if(!this._updated)return !1;for(const e of this._inViewTiles.getAllTiles())if("loaded"!==e.state&&"errored"!==e.state)return !1;return !0}getSource(){return this._source}getState(){return this._state}pause(){this._paused=!0;}resume(){if(!this._paused)return;const e=this._shouldReloadOnResume;this._paused=!1,this._shouldReloadOnResume=!1,e&&this.reload(),this.transform&&this.update(this.transform,this.terrain);}_loadTile(e,i,o){return t._(this,void 0,void 0,(function*(){try{const t=yield this._source.loadTile(e);this._tileLoaded(e,i,o,t);}catch(i){e.state="errored",404!==i.status?this._source.fire(new t.l(t.d(i),{tile:e})):this.update(this.transform,this.terrain);}}))}_unloadTile(e){this._source.unloadTile&&this._source.unloadTile(e);}_abortTile(e){this._source.abortTile&&this._source.abortTile(e),this._source.fire(new t.n("dataabort",{tile:e,coord:e.tileID,dataType:"source"}));}serialize(){return this._source.serialize()}prepare(e){this._source.prepare&&this._source.prepare(),this._state.coalesceChanges(this._inViewTiles,this.map?this.map.painter:null);for(const t of this._inViewTiles.getAllTiles())t.upload(e),t.prepare(this.map.style.imageManager);}getIds(){return this._inViewTiles.getAllIds(!0)}getRenderableIds(e){var t;return this._inViewTiles.getRenderableIds(null===(t=this.transform)||void 0===t?void 0:t.bearingInRadians,e)}hasRenderableParent(e){const t=e.overscaledZ-1;if(t>=this._source.minzoom){const i=this.getLoadedTile(e.scaledTo(t));if(i)return this._inViewTiles.isIdRenderable(i.tileID.key)}return !1}reload(e,t=void 0){if(this._paused)this._shouldReloadOnResume=!0;else {this._outOfViewCache.reset();for(const i of this._inViewTiles.getAllIds()){const o=this._inViewTiles.getTileById(i);t&&!this._source.shouldReloadTile(o,t)||(e?this._reloadTile(i,"expired"):"errored"!==o.state&&this._reloadTile(i,"reloading"));}}}_reloadTile(e,i){return t._(this,void 0,void 0,(function*(){const t=this._inViewTiles.getTileById(e);t&&("loading"!==t.state&&(t.state=i),yield this._loadTile(t,e,i));}))}_tileLoaded(e,i,o,a){e.timeAdded=c(),e.selfFading&&(e.fadeEndTime=e.timeAdded+this._rasterFadeDuration),"expired"===o&&(e.refreshedUponExpiration=!0),this._setTileReloadTimer(i,e),(null==a?void 0:a.unmodified)||("raster-dem"===this.getSource().type&&e.dem&&function(e,t){var i,o,a;const r=t.getRenderableIds();for(const s of r){if(!(null===(i=e.neighboringTiles)||void 0===i?void 0:i[s]))continue;const r=t.getTileById(s);e.neighboringTiles[s].backfilled||Ae(e,r),(null===(a=null===(o=r.neighboringTiles)||void 0===o?void 0:o[e.tileID.key])||void 0===a?void 0:a.backfilled)||Ae(r,e);}}(e,this._inViewTiles),this._state.initializeTileState(e,this.map?this.map.painter:null),e.aborted||this._source.fire(new t.n("data",{dataType:"source",tile:e,coord:e.tileID})));}getTile(e){return this.getTileByID(e.key)}getTileByID(e){return this._inViewTiles.getTileById(e)}_retainLoadedChildren(e,t){const i=this._getLoadedDescendents(t),o=new Set;for(const a of t){const t=i[a.key];if(!(null==t?void 0:t.length)){o.add(a);continue}const r=a.overscaledZ+Fe.maxOverzooming,s=t.filter((e=>e.tileID.overscaledZ<=r));if(!s.length){o.add(a);continue}const n=Math.min(...s.map((e=>e.tileID.overscaledZ))),l=s.filter((e=>e.tileID.overscaledZ===n)).map((e=>e.tileID));for(const t of l)e[t.key]=t;this._areDescendentsComplete(l,n,a.overscaledZ)||o.add(a);}return o}_getLoadedDescendents(e){var t;const i={};for(const o of this._inViewTiles.getAllTiles().filter((e=>e.hasData())))for(const a of e)o.tileID.isChildOf(a)&&(i[t=a.key]||(i[t]=[]),i[a.key].push(o));return i}_areDescendentsComplete(e,t,i){return 1===e.length&&e[0].isOverscaled()?e[0].overscaledZ===t:Math.pow(4,t-i)===e.length}getLoadedTile(e){return this._inViewTiles.getLoadedTile(e)}updateCacheSize(e){const i=Math.ceil(e.width/this._source.tileSize)+1,o=Math.ceil(e.height/this._source.tileSize)+1,a=Math.floor(i*o*(null===this._maxTileCacheZoomLevels?t.c.MAX_TILE_CACHE_ZOOM_LEVELS:this._maxTileCacheZoomLevels)),r="number"==typeof this._maxTileCacheSize?Math.min(this._maxTileCacheSize,a):a;this._outOfViewCache.setMaxSize(r);}handleWrapJump(e){const t=Math.round((e-(void 0===this._prevLng?e:this._prevLng))/360);this._prevLng=e,t&&(this._inViewTiles.handleWrapJump(t),this._resetTileReloadTimers());}update(e,i){if(!this._sourceLoaded||this._paused)return;let o;this.transform=e,this.terrain=i,this.updateCacheSize(e),this.handleWrapJump(this.transform.center.lng),this.used||this.usedForTerrain?this._source.tileID?o=e.getVisibleUnwrappedCoordinates(this._source.tileID).map((e=>new t.a3(e.canonical.z,e.wrap,e.canonical.z,e.canonical.x,e.canonical.y))):(o=Me(e,{tileSize:this.usedForTerrain?this.tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:"vector"===this._source.type&&void 0!==this.map._zoomLevelsToOverscale?e.maxZoom-this.map._zoomLevelsToOverscale:this._source.maxzoom,roundZoom:!this.usedForTerrain&&this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled,terrain:i,calculateTileZoom:this._source.calculateTileZoom}),this._source.hasTile&&(o=o.filter((e=>this._source.hasTile(e))))):o=[],this.usedForTerrain&&(o=this._addTerrainIdealTiles(o));const a=0===o.length&&!this._updated&&this._didEmitContent;this._updated=!0,a&&this.fire(new t.n("data",{sourceDataType:"idle",dataType:"source",sourceId:this.id}));const r=Ce(e,this._source),s=this._updateRetainedTiles(o,r),n=Ee(this._source.type);n&&this._rasterFadeDuration>0&&!i&&function(e,i,o,a,r,s,n){const l=c(),h=t.at(i);for(const t of i){const i=e.getTileById(t.key);i.fadingDirection!==ue.Departing&&0!==i.fadeOpacity||i.resetFadeLogic(),Se(e,i,o,l,a,r,n)||ze(e,i,o,l,s,n)||De(i,h,l,n)||i.resetFadeLogic();}}(this._inViewTiles,o,s,this._maxFadingAncestorLevels,this._source.minzoom,this._source.maxzoom,this._rasterFadeDuration),n?this._cleanUpRasterTiles(s):this._cleanUpVectorTiles(s);}_cleanUpRasterTiles(e){for(const t of this._inViewTiles.getAllIds())e[t]||this._removeTile(t);}_cleanUpVectorTiles(e){for(const t of this._inViewTiles.getAllIds()){const i=this._inViewTiles.getTileById(t);e[t]?i.clearSymbolFadeHold():i.hasSymbolBuckets?i.holdingForSymbolFade()?i.symbolFadeFinished()&&this._removeTile(t):i.setSymbolHoldDuration(this.map._fadeDuration):this._removeTile(t);}}_addTerrainIdealTiles(e){const t=[];for(const i of e)if(i.canonical.z>this._source.minzoom){const e=i.scaledTo(i.canonical.z-1);t.push(e);const o=i.scaledTo(Math.max(this._source.minzoom,Math.min(i.canonical.z,5)));t.push(o);}return e.concat(t)}releaseSymbolFadeTiles(){for(const e of this._inViewTiles.getAllIds())this._inViewTiles.getTileById(e).holdingForSymbolFade()&&this._removeTile(e);}_updateRetainedTiles(e,t){var i;const o=new Set;for(const t of e)this._addTile(t).hasData()||o.add(t);const a=e.reduce(((e,t)=>(e[t.key]=t,e)),{}),r=this._retainLoadedChildren(a,o),s={},n=Math.max(t-Fe.maxUnderzooming,this._source.minzoom);for(const e of r){let t=this._inViewTiles.getTileById(e.key),o=null==t?void 0:t.wasRequested();for(let r=e.overscaledZ-1;r>=n;--r){const n=e.scaledTo(r);if(s[n.key])break;if(s[n.key]=!0,t=this.getTile(n),!t&&o&&(t=this._addTile(n)),t){const e=t.hasData();if((e||!(null===(i=this.map)||void 0===i?void 0:i.cancelPendingTileRequestsWhileZooming)||o)&&(a[n.key]=n),o=t.wasRequested(),e)break}}}return a}_addTile(e){let i=this._inViewTiles.getTileById(e.key);if(i)return i;i=this._outOfViewCache.getAndRemove(e),i&&(i.resetFadeLogic(),this._setTileReloadTimer(e.key,i),i.tileID=e,this._state.initializeTileState(i,this.map?this.map.painter:null));const o=i;return i||(i=new de(e,this._source.tileSize*e.overscaleFactor()),this._loadTile(i,e.key,i.state)),i.uses++,this._inViewTiles.setTile(e.key,i),o||this._source.fire(new t.n("dataloading",{tile:i,coord:i.tileID,dataType:"source"})),i}_setTileReloadTimer(e,t){this._clearTileReloadTimer(e);const i=t.getExpiryTimeout();i&&(this._timers[e]=setTimeout((()=>{this._reloadTile(e,"expired"),delete this._timers[e];}),i));}_clearTileReloadTimer(e){const t=this._timers[e];t&&(clearTimeout(t),delete this._timers[e]);}_resetTileReloadTimers(){for(const e in this._timers)clearTimeout(this._timers[e]),delete this._timers[e];for(const e of this._inViewTiles.getAllIds()){const t=this._inViewTiles.getTileById(e);this._setTileReloadTimer(e,t);}}refreshTiles(e){for(const t of this._inViewTiles.getAllIds()){const i=this._inViewTiles.getTileById(t);(this._inViewTiles.isIdRenderable(t)||"errored"==i.state)&&e.some((e=>e.equals(i.tileID.canonical)))&&this._reloadTile(t,"expired");}}_removeTile(e){const t=this._inViewTiles.getTileById(e);t&&(t.uses--,this._inViewTiles.deleteTileById(e),this._clearTileReloadTimer(e),t.uses>0||(t.hasData()&&"reloading"!==t.state?this._outOfViewCache.add(t.tileID,t,t.getExpiryTimeout()):(t.aborted=!0,this._abortTile(t),this._unloadTile(t))));}_dataHandler(e){"source"===e.dataType&&("metadata"!==e.sourceDataType?"content"===e.sourceDataType&&this._sourceLoaded&&!this._paused&&(this.reload(e.sourceDataChanged,e.shouldReloadTileOptions),this.transform&&this.update(this.transform,this.terrain),this._didEmitContent=!0):this._sourceLoaded=!0);}clearTiles(){this._shouldReloadOnResume=!1,this._paused=!1;for(const e of this._inViewTiles.getAllIds())this._removeTile(e);this._outOfViewCache.reset();}tilesIn(e,i,o){const a=[],r=this.transform;if(!r)return a;const s=r.getCoveringTilesDetailsProvider().allowWorldCopies(),n=o?r.getCameraQueryGeometry(e):e,l=e=>r.screenPointToMercatorCoordinate(e,this.terrain),c=this.transformBbox(e,l,!s),h=this.transformBbox(n,l,!s),u=this.getIds(),d=t.a8.fromPoints(h);for(const e of u){const o=this._inViewTiles.getTileById(e);if(o.holdingForSymbolFade())continue;const n=s?[o.tileID]:[o.tileID.unwrapTo(-1),o.tileID.unwrapTo(0)],l=Math.pow(2,r.zoom-o.tileID.overscaledZ),u=i*o.queryPadding*t.a6/o.tileSize/l;for(const e of n){const i=d.map((i=>e.getTilePoint(new t.a7(i.x,i.y))));if(i.expandBy(u),i.intersects(Ie)){const t=c.map((t=>e.getTilePoint(t))),i=h.map((t=>e.getTilePoint(t)));a.push({tile:o,tileID:s?e:e.unwrapTo(0),queryGeometry:t,cameraQueryGeometry:i,scale:l});}}}return a}transformBbox(e,i,o){let a=e.map(i);if(o){const o=t.a8.fromPoints(e);o.shrinkBy(.001*Math.min(o.width(),o.height()));const r=o.map(i);t.a8.fromPoints(a).covers(r)||(a=a.map((e=>e.x>.5?new t.a7(e.x-1,e.y,e.z):e)));}return a}getVisibleCoordinates(e){const t=this.getRenderableIds(e).map((e=>this._inViewTiles.getTileById(e).tileID));return this.transform&&this.transform.populateCache(t),t}hasTransition(){return !!this._source.hasTransition()||Ee(this._source.type)&&function(e,t){if(t<=0)return !1;const i=c();for(const t of e.getAllTiles())if(t.fadeEndTime>=i)return !0;return !1}(this._inViewTiles,this._rasterFadeDuration)}setRasterFadeDuration(e){this._rasterFadeDuration=e;}setFeatureState(e,i,o){e||(e=t.ag),this._state.updateState(e,i,o);}removeFeatureState(e,i,o){e||(e=t.ag),this._state.removeFeatureState(e,i,o);}getFeatureState(e,i){return e||(e=t.ag),this._state.getState(e,i)}setDependencies(e,t,i){const o=this._inViewTiles.getTileById(e);o&&o.setDependencies(t,i);}reloadTilesForDependencies(e,t){for(const i of this._inViewTiles.getAllIds())this._inViewTiles.getTileById(i).hasDependency(e,t)&&this._reloadTile(i,"reloading");this._outOfViewCache.filter((i=>!i.hasDependency(e,t)));}areTilesLoaded(){for(const e of this._inViewTiles.getAllTiles())if("loaded"!==e.state&&"errored"!==e.state)return !1;return !0}}Fe.maxUnderzooming=10,Fe.maxOverzooming=3;class ke{constructor(e,t){this.reset(e,t);}reset(e,t){this.points=e||[],this._distances=[0];for(let e=1;e0?(a-s)/n:0;return this.points[r].mult(1-l).add(this.points[i].mult(l))}}function Be(e,t){let i=!0;return "always"===e||"never"!==e&&"never"!==t||(i=!1),i}class Oe{constructor(e,t,i){const o=this.boxCells=[],a=this.circleCells=[];this.xCellCount=Math.ceil(e/i),this.yCellCount=Math.ceil(t/i);for(let e=0;ethis.width||o<0||t>this.height)return [];const n=[];if(e<=0&&t<=0&&this.width<=i&&this.height<=o){if(a)return [{key:null,x1:e,y1:t,x2:i,y2:o}];for(let e=0;e0}hitTestCircle(e,t,i,o,a){const r=e-i,s=e+i,n=t-i,l=t+i;if(s<0||r>this.width||l<0||n>this.height)return !1;const c=[];return this._forEachCell(r,n,s,l,this._queryCellCircle,c,{hitTest:!0,overlapMode:o,circle:{x:e,y:t,radius:i},seenUids:{box:{},circle:{}}},a),c.length>0}_queryCell(e,t,i,o,a,r,s,n){const{seenUids:l,hitTest:c,overlapMode:h}=s,u=this.boxCells[a],d=1e-6;if(null!==u){const a=this.bboxes;for(const s of u)if(!l.box[s]){l.box[s]=!0;const u=4*s,_=this.boxKeys[s];if(e<=a[u+2]+d&&t<=a[u+3]+d&&i>=a[u+0]-d&&o>=a[u+1]-d&&(!n||n(_))&&(!c||!Be(h,_.overlapMode))&&(r.push({key:_,x1:a[u],y1:a[u+1],x2:a[u+2],y2:a[u+3]}),c))return !0}}const _=this.circleCells[a];if(null!==_){const a=this.circles;for(const s of _)if(!l.circle[s]){l.circle[s]=!0;const u=3*s,d=this.circleKeys[s];if(this._circleAndRectCollide(a[u],a[u+1],a[u+2],e,t,i,o)&&(!n||n(d))&&(!c||!Be(h,d.overlapMode))){const e=a[u],t=a[u+1],i=a[u+2];if(r.push({key:d,x1:e-i,y1:t-i,x2:e+i,y2:t+i}),c)return !0}}}return !1}_queryCellCircle(e,t,i,o,a,r,s,n){const{circle:l,seenUids:c,overlapMode:h}=s,u=this.boxCells[a];if(null!==u){const e=this.bboxes;for(const t of u)if(!c.box[t]){c.box[t]=!0;const i=4*t,o=this.boxKeys[t];if(this._circleAndRectCollide(l.x,l.y,l.radius,e[i+0],e[i+1],e[i+2],e[i+3])&&(!n||n(o))&&!Be(h,o.overlapMode))return r.push(!0),!0}}const d=this.circleCells[a];if(null!==d){const e=this.circles;for(const t of d)if(!c.circle[t]){c.circle[t]=!0;const i=3*t,o=this.circleKeys[t];if(this._circlesCollide(e[i],e[i+1],e[i+2],l.x,l.y,l.radius)&&(!n||n(o))&&!Be(h,o.overlapMode))return r.push(!0),!0}}}_forEachCell(e,t,i,o,a,r,s,n){const l=this._convertToXCellCoord(e),c=this._convertToYCellCoord(t),h=this._convertToXCellCoord(i),u=this._convertToYCellCoord(o);for(let d=l;d<=h;d++)for(let l=c;l<=u;l++)if(a.call(this,e,t,i,o,this.xCellCount*l+d,r,s,n))return}_convertToXCellCoord(e){return Math.max(0,Math.min(this.xCellCount-1,Math.floor(e*this.xScale)))}_convertToYCellCoord(e){return Math.max(0,Math.min(this.yCellCount-1,Math.floor(e*this.yScale)))}_circlesCollide(e,t,i,o,a,r){const s=o-e,n=a-t,l=i+r;return l*l>s*s+n*n}_circleAndRectCollide(e,t,i,o,a,r,s){const n=(r-o)/2,l=Math.abs(e-(o+n));if(l>n+i)return !1;const c=(s-a)/2,h=Math.abs(t-(a+c));if(h>c+i)return !1;if(l<=n||h<=c)return !0;const u=l-n,d=h-c;return u*u+d*d<=i*i}}function je(e,t){const i=1/(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]),o=1/(t[8]*t[8]+t[9]*t[9]+t[10]*t[10]),a=t[0]*i,r=t[4]*i,s=t[8]*o,n=t[1]*i,l=t[5]*i,c=t[9]*o,h=t[2]*i,u=t[6]*i,d=t[10]*o;e[0]=a,e[1]=r,e[2]=s,e[4]=n,e[5]=l,e[6]=c,e[8]=h,e[9]=u,e[10]=d;const _=t[12],p=t[13],m=t[14];return e[12]=-a*_-n*p-h*m,e[13]=-r*_-l*p-u*m,e[14]=-s*_-c*p-d*m,e[3]=0,e[7]=0,e[11]=0,e[15]=1,e}const Ne=t.O();function Ze(e,i,a){const r=t.O();if(!e){const{vecSouth:e,vecEast:t}=Ge(i),a=o();a[0]=t[0],a[1]=t[1],a[2]=e[0],a[3]=e[1],s=a,(d=(l=(n=a)[0])*(u=n[3])-(h=n[2])*(c=n[1]))&&(s[0]=u*(d=1/d),s[1]=-c*d,s[2]=-h*d,s[3]=l*d),r[0]=a[0],r[1]=a[1],r[4]=a[2],r[5]=a[3];}var s,n,l,c,h,u,d;return t.S(r,r,[1/a,1/a,1]),r}function Ue(e,i,o,a){if(e){const e=t.O();if(!i){const{vecSouth:t,vecEast:i}=Ge(o);e[0]=i[0],e[1]=i[1],e[4]=t[0],e[5]=t[1];}return t.S(e,e,[a,a,1]),e}return o.pixelsToClipSpaceMatrix}function Ge(e){const i=Math.cos(e.rollInRadians),o=Math.sin(e.rollInRadians),a=Math.cos(e.pitchInRadians),r=Math.cos(e.bearingInRadians),s=Math.sin(e.bearingInRadians),n=t.az();n[0]=-r*a*o-s*i,n[1]=-s*a*o+r*i;const l=t.aA(n);l<1e-9?t.aB(n):t.aC(n,n,1/l);const c=t.az();c[0]=r*a*i-s*o,c[1]=s*a*i+r*o;const h=t.aA(c);return h<1e-9?t.aB(c):t.aC(c,c,1/h),{vecEast:c,vecSouth:n}}function Ve(e,i,o,a){let r;a?(r=[e,i,a(e,i),1],t.aE(r,r,o)):(r=[e,i,0,1],nt(r,r,o));const s=r[3];return {point:new t.P(r[0]/s,r[1]/s),signedDistanceFromCamera:s,isOccluded:!1}}function We(e,t){return .5+e/t*.5}function qe(e,t){return e.x>=-t[0]&&e.x<=t[0]&&e.y>=-t[1]&&e.y<=t[1]}function $e(e,i,o,a,r,s,n,l,c,h,u,d,_){const p=o?e.textSizeData:e.iconSizeData,m=t.aw(p,i.transform.zoom),f=[256/i.width*2+1,256/i.height*2+1],g=o?e.text.dynamicLayoutVertexArray:e.icon.dynamicLayoutVertexArray;g.clear();const v=e.lineVertexArray,x=o?e.text.placedSymbolArray:e.icon.placedSymbolArray,b=i.transform.width/i.transform.height;let y=!1;for(let o=0;oMath.abs(o.x-i.x)*a?{useVertical:!0}:(e===t.ax.vertical?i.yo.x)?{needsFlipping:!0}:null}function Ke(e){const{projectionContext:i,pitchedLabelPlaneMatrixInverse:o,symbol:a,fontSize:r,flip:s,keepUpright:n,glyphOffsetArray:l,dynamicLayoutVertexArray:c,aspectRatio:h,rotateToLine:u}=e,d=r/24,_=a.lineOffsetX*d,p=a.lineOffsetY*d;let m;if(a.numGlyphs>1){const e=a.glyphStartIndex+a.numGlyphs,t=a.lineStartIndex,r=a.lineStartIndex+a.lineLength,c=He(d,l,_,p,s,a,u,i);if(!c)return {notEnoughRoom:!0};const f=et(c.first.point.x,c.first.point.y,i,o),g=et(c.last.point.x,c.last.point.y,i,o);if(n&&!s){const e=Xe(a.writingMode,f,g,h);if(e)return e}m=[c.first];for(let o=a.glyphStartIndex+1;o0?n.point:Ye(i.tileAnchorPoint,s,e,1,i),c=et(e.x,e.y,i,o),u=et(l.x,l.y,i,o),d=Xe(a.writingMode,c,u,h);if(d)return d}const e=at(d*l.getoffsetX(a.glyphStartIndex),_,p,s,a.segment,a.lineStartIndex,a.lineStartIndex+a.lineLength,i,u);if(!e||i.projectionCache.anyProjectionOccluded)return {notEnoughRoom:!0};m=[e];}for(const e of m)t.aD(c,e.point,e.angle);return {}}function Ye(e,t,i,o,a){const r=e.add(e.sub(t)._unit()),s=Je(r.x,r.y,a).point,n=i.sub(s);return i.add(n._mult(o/n.mag()))}function Qe(e,i,o){const a=i.projectionCache;if(a.projections[e])return a.projections[e];const r=new t.P(i.lineVertexArray.getx(e),i.lineVertexArray.gety(e)),s=Je(r.x,r.y,i);if(s.signedDistanceFromCamera>0)return a.projections[e]=s.point,a.anyProjectionOccluded||(a.anyProjectionOccluded=s.isOccluded),s.point;const n=e-o.direction;return Ye(0===o.distanceFromAnchor?i.tileAnchorPoint:new t.P(i.lineVertexArray.getx(n),i.lineVertexArray.gety(n)),r,o.previousVertex,o.absOffsetX-o.distanceFromAnchor+1,i)}function Je(e,t,i){const o=e+i.translation[0],a=t+i.translation[1];let r;return i.pitchWithMap?(r=Ve(o,a,i.pitchedLabelPlaneMatrix,i.getElevation),r.isOccluded=!1):(r=i.transform.projectTileCoordinates(o,a,i.unwrappedTileID,i.getElevation),r.point.x=(.5*r.point.x+.5)*i.width,r.point.y=(.5*-r.point.y+.5)*i.height),r}function et(e,i,o,a){if(o.pitchWithMap){const r=[e,i,0,1];return t.aE(r,r,a),o.transform.projectTileCoordinates(r[0]/r[3],r[1]/r[3],o.unwrappedTileID,o.getElevation).point}return {x:e/o.width*2-1,y:1-i/o.height*2}}function tt(e,t,i){return i.transform.projectTileCoordinates(e,t,i.unwrappedTileID,i.getElevation)}function it(e,t,i){return e._unit()._perp()._mult(t*i)}function ot(e,i,o,a,r,s,n,l,c){if(l.projectionCache.offsets[e])return l.projectionCache.offsets[e];const h=o.add(i);if(e+c.direction=r)return l.projectionCache.offsets[e]=h,h;const u=Qe(e+c.direction,l,c),d=it(u.sub(o),n,c.direction),_=o.add(d),p=u.add(d);return l.projectionCache.offsets[e]=t.aF(s,h,_,p)||h,l.projectionCache.offsets[e]}function at(e,t,i,o,a,r,s,n,l){const c=o?e-t:e+t;let h=c>0?1:-1,u=0;o&&(h*=-1,u=Math.PI),h<0&&(u+=Math.PI);let d,_=h>0?r+a:r+a+1;n.projectionCache.cachedAnchorPoint?d=n.projectionCache.cachedAnchorPoint:(d=Je(n.tileAnchorPoint.x,n.tileAnchorPoint.y,n).point,n.projectionCache.cachedAnchorPoint=d);let p,m,f=d,g=d,v=0,x=0;const b=Math.abs(c),y=[];let w;for(;v+x<=b;){if(_+=h,_=s)return null;v+=x,g=f,m=p;const e={absOffsetX:b,direction:h,distanceFromAnchor:v,previousVertex:g};if(f=Qe(_,n,e),0===i)y.push(g),w=f.sub(g);else {let t;const o=f.sub(g);t=0===o.mag()?it(Qe(_+h,n,e).sub(f),i,h):it(o,i,h),m||(m=g.add(t)),p=ot(_,t,f,r,s,m,i,n,e),y.push(m),w=p.sub(m);}x=w.mag();}const T=w._mult((b-v)/x)._add(m||g),P=u+Math.atan2(f.y-g.y,f.x-g.x);return y.push(T),{point:T,angle:l?P:0,path:y}}const rt=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function st(e,t){for(let i=0;i=1;e--)_.push(s.path[e]);for(let e=1;ee.signedDistanceFromCamera<=0))?[]:e.map((e=>e.point));}let f=[];if(_.length>0){const e=_[0].clone(),i=_[0].clone();for(let t=1;t<_.length;t++)e.x=Math.min(e.x,_[t].x),e.y=Math.min(e.y,_[t].y),i.x=Math.max(i.x,_[t].x),i.y=Math.max(i.y,_[t].y);f=e.x>=o.x&&i.x<=a.x&&e.y>=o.y&&i.y<=a.y?[_]:i.xa.x||i.ya.y?[]:t.aG([_],o.x,o.y,a.x,a.y);}for(const t of f){r.reset(t,.25*i);let o=0;o=r.length<=.5*i?1:Math.ceil(r.paddedLength/p)+1;for(let t=0;t{const o=Ve(e.x,e.y,i,t.getElevation),a=t.transform.projectTileCoordinates(o.point.x,o.point.y,t.unwrappedTileID,t.getElevation);return a.point.x=(.5*a.point.x+.5)*t.width,a.point.y=(.5*-a.point.y+.5)*t.height,a}))}(e,t);return function(e){let t=0,i=0,o=0,a=0;for(let r=0;ri&&(i=a,t=o));return e.slice(t,t+i)}(i)}queryRenderedSymbols(e){if(0===e.length||0===this.grid.keysLength()&&0===this.ignoredGrid.keysLength())return {};const i=[],o=new t.a8;for(const a of e){const e=new t.P(a.x+lt,a.y+lt);o.extend(e),i.push(e);}const{minX:a,minY:r,maxX:s,maxY:n}=o,l=this.grid.query(a,r,s,n).concat(this.ignoredGrid.query(a,r,s,n)),c={},h={};for(const e of l){const o=e.key;if(void 0===c[o.bucketInstanceId]&&(c[o.bucketInstanceId]={}),c[o.bucketInstanceId][o.featureIndex])continue;const a=[new t.P(e.x1,e.y1),new t.P(e.x2,e.y1),new t.P(e.x2,e.y2),new t.P(e.x1,e.y2)];t.aH(i,a)&&(c[o.bucketInstanceId][o.featureIndex]=!0,void 0===h[o.bucketInstanceId]&&(h[o.bucketInstanceId]=[]),h[o.bucketInstanceId].push(o.featureIndex));}return h}insertCollisionBox(e,t,i,o,a,r){(i?this.ignoredGrid:this.grid).insert({bucketInstanceId:o,featureIndex:a,collisionGroupID:r,overlapMode:t},e[0],e[1],e[2],e[3]);}insertCollisionCircles(e,t,i,o,a,r){const s=i?this.ignoredGrid:this.grid,n={bucketInstanceId:o,featureIndex:a,collisionGroupID:r,overlapMode:t};for(let t=0;t=this.screenRightBoundary||othis.screenBottomBoundary}isInsideGrid(e,t,i,o){return i>=0&&e=0&&tthis.projectAndGetPerspectiveRatio(e.x,e.y,a,c,u)));S=e.some((e=>!e.isOccluded)),E=e.map((e=>new t.P(e.x,e.y)));}else S=!0;return {box:t.aI(E),allPointsOccluded:!S}}}class ht{constructor(e,t,i,o){this.opacity=e?Math.max(0,Math.min(1,e.opacity+(e.placed?t:-t))):o&&i?1:0,this.placed=i;}isHidden(){return 0===this.opacity&&!this.placed}}class ut{constructor(e,t,i,o,a){this.text=new ht(e?e.text:null,t,i,a),this.icon=new ht(e?e.icon:null,t,o,a);}isHidden(){return this.text.isHidden()&&this.icon.isHidden()}}class dt{constructor(e,t,i){this.text=e,this.icon=t,this.skipFade=i;}}class _t{constructor(e,t,i,o,a){this.bucketInstanceId=e,this.featureIndex=t,this.sourceLayerIndex=i,this.bucketIndex=o,this.tileID=a;}}class pt{constructor(e){this.crossSourceCollisions=e,this.maxGroupID=0,this.collisionGroups={};}get(e){if(this.crossSourceCollisions)return {ID:0,predicate:null};if(!this.collisionGroups[e]){const t=++this.maxGroupID;this.collisionGroups[e]={ID:t,predicate:e=>e.collisionGroupID===t};}return this.collisionGroups[e]}}function mt(e,i,o,a,r){const{horizontalAlign:s,verticalAlign:n}=t.aP(e);return new t.P(-(s-.5)*i+a[0]*r,-(n-.5)*o+a[1]*r)}class ft{constructor(e,t,i,o,a){this.transform=e.clone(),this.terrain=t,this.collisionIndex=new ct(this.transform),this.placements={},this.opacities={},this.variableOffsets={},this.stale=!1,this.commitTime=0,this.fadeDuration=i,this.retainedQueryData={},this.collisionGroups=new pt(o),this.collisionCircleArrays={},this.collisionBoxArrays=new Map,this.prevPlacement=a,a&&(a.prevPlacement=void 0),this.placedOrientations={};}_getTerrainElevationFunc(e){const t=this.terrain;return t?(i,o)=>t.getElevation(e,i,o):null}getBucketParts(e,i,o,a){const r=o.getBucket(i),s=o.latestFeatureIndex;if(!r||!s||i.id!==r.layerIds[0])return;const n=o.collisionBoxArray,l=r.layers[0].layout,c=r.layers[0].paint,h=Math.pow(2,this.transform.zoom-o.tileID.overscaledZ),u=o.tileSize/t.a6,d=o.tileID.toUnwrapped(),_="map"===l.get("text-rotation-alignment"),p=t.aK(o,1,this.transform.zoom),m=t.aL(this.collisionIndex.transform,o,c.get("text-translate"),c.get("text-translate-anchor")),f=t.aL(this.collisionIndex.transform,o,c.get("icon-translate"),c.get("icon-translate-anchor")),g=Ze(_,this.transform,p);this.retainedQueryData[r.bucketInstanceId]=new _t(r.bucketInstanceId,s,r.sourceLayerIndex,r.index,o.tileID);const v={bucket:r,layout:l,translationText:m,translationIcon:f,unwrappedTileID:d,pitchedLabelPlaneMatrix:g,scale:h,textPixelRatio:u,holdingForFade:o.holdingForSymbolFade(),collisionBoxArray:n,partiallyEvaluatedTextSize:t.aw(r.textSizeData,this.transform.zoom),collisionGroup:this.collisionGroups.get(r.sourceID)};if(a)for(const t of r.sortKeyRanges){const{sortKey:i,symbolInstanceStart:o,symbolInstanceEnd:a}=t;e.push({sortKey:i,symbolInstanceStart:o,symbolInstanceEnd:a,parameters:v});}else e.push({symbolInstanceStart:0,symbolInstanceEnd:r.symbolInstances.length,parameters:v});}attemptAnchorPlacement(e,i,o,a,r,s,n,l,c,h,u,d,_,p,m,f,g,v,x,b){var y,w,T;const P=t.aM[e.textAnchor],C=[e.textOffset0,e.textOffset1],M=mt(P,o,a,C,r),I=this.collisionIndex.placeCollisionBox(i,d,l,c,h,n,s,f,u.predicate,x,M,b);if((!v||this.collisionIndex.placeCollisionBox(v,d,l,c,h,n,s,g,u.predicate,x,M,b).placeable)&&I.placeable){let e;if((null===(y=this.prevPlacement)||void 0===y?void 0:y.variableOffsets[_.crossTileID])&&(null===(T=null===(w=this.prevPlacement)||void 0===w?void 0:w.placements[_.crossTileID])||void 0===T?void 0:T.text)&&(e=this.prevPlacement.variableOffsets[_.crossTileID].anchor),0===_.crossTileID)throw new Error("symbolInstance.crossTileID can't be 0");return this.variableOffsets[_.crossTileID]={textOffset:C,width:o,height:a,anchor:P,textBoxScale:r,prevAnchor:e},this.markUsedJustification(p,P,_,m),p.allowVerticalPlacement&&(this.markUsedOrientation(p,m,_),this.placedOrientations[_.crossTileID]=m),{shift:M,placedGlyphBoxes:I}}}placeLayerBucketPart(e,i,o){const{bucket:a,layout:r,translationText:s,translationIcon:n,unwrappedTileID:l,pitchedLabelPlaneMatrix:c,textPixelRatio:h,holdingForFade:u,collisionBoxArray:d,partiallyEvaluatedTextSize:_,collisionGroup:p}=e.parameters,m=r.get("text-optional"),f=r.get("icon-optional"),g=t.aN(r,"text-overlap","text-allow-overlap"),v="always"===g,x=t.aN(r,"icon-overlap","icon-allow-overlap"),b="always"===x,y="map"===r.get("text-rotation-alignment"),w="map"===r.get("text-pitch-alignment"),T="none"!==r.get("icon-text-fit"),P="viewport-y"===r.get("symbol-z-order"),C=v&&(b||!a.hasIconData()||f),M=b&&(v||!a.hasTextData()||m);!a.collisionArrays&&d&&a.deserializeCollisionBoxes(d);const I=this.retainedQueryData[a.bucketInstanceId].tileID,E=this._getTerrainElevationFunc(I),S=this.transform.getFastPathSimpleProjectionMatrix(I),z=(e,d,b)=>{var P,z;if(i[e.crossTileID])return;if(u)return void(this.placements[e.crossTileID]=new dt(!1,!1,!1));let R=!1,D=!1,A=!0,L=null,F={box:null,placeable:!1,offscreen:null,occluded:!1},k={placeable:!1},B=null,O=null,j=null,N=0,Z=0,U=0;d.textFeatureIndex?N=d.textFeatureIndex:e.useRuntimeCollisionCircles&&(N=e.featureIndex),d.verticalTextFeatureIndex&&(Z=d.verticalTextFeatureIndex);const G=d.textBox;if(G){const i=i=>{let o=t.ax.horizontal;if(a.allowVerticalPlacement&&!i&&this.prevPlacement){const t=this.prevPlacement.placedOrientations[e.crossTileID];t&&(this.placedOrientations[e.crossTileID]=t,o=t,this.markUsedOrientation(a,o,e));}return o},r=(i,o)=>{if(a.allowVerticalPlacement&&e.numVerticalGlyphVertices>0&&d.verticalTextBox){for(const e of a.writingModes)if(e===t.ax.vertical?(F=o(),k=F):F=i(),null==F?void 0:F.placeable)break}else F=i();},c=e.textAnchorOffsetStartIndex,u=e.textAnchorOffsetEndIndex;if(u===c){const o=(t,i)=>{const o=this.collisionIndex.placeCollisionBox(t,g,h,I,l,w,y,s,p.predicate,E,void 0,S);return (null==o?void 0:o.placeable)&&(this.markUsedOrientation(a,i,e),this.placedOrientations[e.crossTileID]=i),o};r((()=>o(G,t.ax.horizontal)),(()=>{const i=d.verticalTextBox;return a.allowVerticalPlacement&&e.numVerticalGlyphVertices>0&&i?o(i,t.ax.vertical):{box:null,offscreen:null}})),i(null==F?void 0:F.placeable);}else {let _=t.aM[null===(z=null===(P=this.prevPlacement)||void 0===P?void 0:P.variableOffsets[e.crossTileID])||void 0===z?void 0:z.anchor];const m=(t,i,r)=>{const d=t.x2-t.x1,m=t.y2-t.y1,f=e.textBoxScale,v=T&&"never"===x?i:null;let b=null,P="never"===g?1:2,C="never";_&&P++;for(let i=0;im(G,d.iconBox,t.ax.horizontal)),(()=>{const i=d.verticalTextBox;return a.allowVerticalPlacement&&!(null==F?void 0:F.placeable)&&e.numVerticalGlyphVertices>0&&i?m(i,d.verticalIconBox,t.ax.vertical):{box:null,occluded:!0,offscreen:null}})),F&&(R=F.placeable,A=F.offscreen);const f=i(null==F?void 0:F.placeable);if(!R&&this.prevPlacement){const t=this.prevPlacement.variableOffsets[e.crossTileID];t&&(this.variableOffsets[e.crossTileID]=t,this.markUsedJustification(a,t.anchor,e,f));}}}if(B=F,R=null==B?void 0:B.placeable,A=null==B?void 0:B.offscreen,e.useRuntimeCollisionCircles&&e.centerJustifiedTextSymbolIndex>=0){const i=a.text.placedSymbolArray.get(e.centerJustifiedTextSymbolIndex),n=t.ay(a.textSizeData,_,i),h=r.get("text-padding");O=this.collisionIndex.placeCollisionCircles(g,i,a.lineVertexArray,a.glyphOffsetArray,n,l,c,o,w,p.predicate,e.collisionCircleDiameter,h,s,E),O.circles.length&&O.collisionDetected&&!o&&t.w("Collisions detected, but collision boxes are not shown"),R=v||O.circles.length>0&&!O.collisionDetected,A&&(A=O.offscreen);}if(d.iconFeatureIndex&&(U=d.iconFeatureIndex),d.iconBox){const e=e=>this.collisionIndex.placeCollisionBox(e,x,h,I,l,w,y,n,p.predicate,E,T&&L?L:void 0,S);k&&k.placeable&&d.verticalIconBox?(j=e(d.verticalIconBox),D=j.placeable):(j=e(d.iconBox),D=j.placeable),A&&(A=j.offscreen);}const V=m||0===e.numHorizontalGlyphVertices&&0===e.numVerticalGlyphVertices,W=f||0===e.numIconVertices;V||W?W?V||D&&(D=R):R=D&&R:D=R=D&&R;const q=D&&j.placeable;if(R&&B.placeable&&this.collisionIndex.insertCollisionBox(B.box,g,r.get("text-ignore-placement"),a.bucketInstanceId,k&&k.placeable&&Z?Z:N,p.ID),q&&this.collisionIndex.insertCollisionBox(j.box,x,r.get("icon-ignore-placement"),a.bucketInstanceId,U,p.ID),O&&R&&this.collisionIndex.insertCollisionCircles(O.circles,g,r.get("text-ignore-placement"),a.bucketInstanceId,N,p.ID),o&&this.storeCollisionData(a.bucketInstanceId,b,d,B,j,O),0===e.crossTileID)throw new Error("symbolInstance.crossTileID can't be 0");if(0===a.bucketInstanceId)throw new Error("bucket.bucketInstanceId can't be 0");this.placements[e.crossTileID]=new dt((R||C)&&!(null==B?void 0:B.occluded),(D||M)&&!(null==j?void 0:j.occluded),A||a.justReloaded),i[e.crossTileID]=!0;};if(P){if(0!==e.symbolInstanceStart)throw new Error("bucket.bucketInstanceId should be 0");const t=a.getSortedSymbolIndexes(-this.transform.bearingInRadians);for(let e=t.length-1;e>=0;--e){const i=t[e];z(a.symbolInstances.get(i),a.collisionArrays[i],i);}}else for(let t=e.symbolInstanceStart;t=0&&(e.text.placedSymbolArray.get(t).crossTileID=r>=0&&t!==r?0:o.crossTileID);}markUsedOrientation(e,i,o){const a=i===t.ax.horizontal||i===t.ax.horizontalOnly?i:0,r=i===t.ax.vertical?i:0,s=[o.leftJustifiedTextSymbolIndex,o.centerJustifiedTextSymbolIndex,o.rightJustifiedTextSymbolIndex];for(const t of s)e.text.placedSymbolArray.get(t).placedOrientation=a;o.verticalPlacedTextSymbolIndex&&(e.text.placedSymbolArray.get(o.verticalPlacedTextSymbolIndex).placedOrientation=r);}commit(e){this.commitTime=e,this.zoomAtLastRecencyCheck=this.transform.zoom;const t=this.prevPlacement;let i=!1;this.prevZoomAdjustment=t?t.zoomAdjustment(this.transform.zoom):0;const o=t?t.symbolFadeChange(e):1,a=t?t.opacities:{},r=t?t.variableOffsets:{},s=t?t.placedOrientations:{};for(const e in this.placements){const t=this.placements[e],r=a[e];r?(this.opacities[e]=new ut(r,o,t.text,t.icon),i||(i=t.text!==r.text.placed),i||(i=t.icon!==r.icon.placed)):(this.opacities[e]=new ut(null,o,t.text,t.icon,t.skipFade),i||(i=t.text||t.icon));}for(const e in a){const t=a[e];if(!this.opacities[e]){const a=new ut(t,o,!1,!1);a.isHidden()||(this.opacities[e]=a,i||(i=t.text.placed),i||(i=t.icon.placed));}}for(const e in r)this.variableOffsets[e]||!this.opacities[e]||this.opacities[e].isHidden()||(this.variableOffsets[e]=r[e]);for(const e in s)this.placedOrientations[e]||!this.opacities[e]||this.opacities[e].isHidden()||(this.placedOrientations[e]=s[e]);if(t&&void 0===t.lastPlacementChangeTime)throw new Error("Last placement time for previous placement is not defined");i?this.lastPlacementChangeTime=e:"number"!=typeof this.lastPlacementChangeTime&&(this.lastPlacementChangeTime=t?t.lastPlacementChangeTime:e);}updateLayerOpacities(e,t){const i={};for(const o of t){const t=o.getBucket(e);t&&o.latestFeatureIndex&&e.id===t.layerIds[0]&&this.updateBucketOpacities(t,o.tileID,i,o.collisionBoxArray);}}updateBucketOpacities(e,i,o,a){e.hasTextData()&&(e.text.opacityVertexArray.clear(),e.text.hasVisibleVertices=!1),e.hasIconData()&&(e.icon.opacityVertexArray.clear(),e.icon.hasVisibleVertices=!1),e.hasIconCollisionBoxData()&&e.iconCollisionBox.collisionVertexArray.clear(),e.hasTextCollisionBoxData()&&e.textCollisionBox.collisionVertexArray.clear();const r=e.layers[0],s=r.layout,n=new ut(null,0,!1,!1,!0),l=s.get("text-allow-overlap"),c=s.get("icon-allow-overlap"),h=r._unevaluatedLayout.hasValue("text-variable-anchor")||r._unevaluatedLayout.hasValue("text-variable-anchor-offset"),u="map"===s.get("text-rotation-alignment"),d="map"===s.get("text-pitch-alignment"),_="none"!==s.get("icon-text-fit"),p=new ut(null,0,l&&(c||!e.hasIconData()||s.get("icon-optional")),c&&(l||!e.hasTextData()||s.get("text-optional")),!0);!e.collisionArrays&&a&&(e.hasIconCollisionBoxData()||e.hasTextCollisionBoxData())&&e.deserializeCollisionBoxes(a);const m=(e,t,i)=>{for(let o=0;o0,v=this.placedOrientations[a.crossTileID],x=v===t.ax.vertical,b=v===t.ax.horizontal||v===t.ax.horizontalOnly;if(r>0||s>0){const t=Ct(c.text);m(e.text,r,x?Mt:t),m(e.text,s,b?Mt:t);const i=c.text.isHidden(),o=[a.rightJustifiedTextSymbolIndex,a.centerJustifiedTextSymbolIndex,a.leftJustifiedTextSymbolIndex];for(const t of o)t>=0&&(e.text.placedSymbolArray.get(t).hidden=i||x?1:0);a.verticalPlacedTextSymbolIndex>=0&&(e.text.placedSymbolArray.get(a.verticalPlacedTextSymbolIndex).hidden=i||b?1:0);const n=this.variableOffsets[a.crossTileID];n&&this.markUsedJustification(e,n.anchor,a,v);const l=this.placedOrientations[a.crossTileID];l&&(this.markUsedJustification(e,"left",a,l),this.markUsedOrientation(e,l,a));}if(g){const t=Ct(c.icon),i=!(_&&a.verticalPlacedIconSymbolIndex&&x);a.placedIconSymbolIndex>=0&&(m(e.icon,a.numIconVertices,i?t:Mt),e.icon.placedSymbolArray.get(a.placedIconSymbolIndex).hidden=c.icon.isHidden()),a.verticalPlacedIconSymbolIndex>=0&&(m(e.icon,a.numVerticalIconVertices,i?Mt:t),e.icon.placedSymbolArray.get(a.verticalPlacedIconSymbolIndex).hidden=c.icon.isHidden());}const y=(null==f?void 0:f.has(i))?f.get(i):{text:null,icon:null};if(e.hasIconCollisionBoxData()||e.hasTextCollisionBoxData()){const o=e.collisionArrays[i];if(o){let i=new t.P(0,0);if(o.textBox||o.verticalTextBox){let t=!0;if(h){const e=this.variableOffsets[l];e?(i=mt(e.anchor,e.width,e.height,e.textOffset,e.textBoxScale),u&&i._rotate(d?-this.transform.bearingInRadians:this.transform.bearingInRadians)):t=!1;}if(o.textBox||o.verticalTextBox){let a;o.textBox&&(a=x),o.verticalTextBox&&(a=b),gt(e.textCollisionBox.collisionVertexArray,c.text.placed,!t||a,y.text,i.x,i.y);}}if(o.iconBox||o.verticalIconBox){const t=Boolean(!b&&o.verticalIconBox);let a;o.iconBox&&(a=t),o.verticalIconBox&&(a=!t),gt(e.iconCollisionBox.collisionVertexArray,c.icon.placed,a,y.icon,_?i.x:0,_?i.y:0);}}}}if(e.sortFeatures(-this.transform.bearingInRadians),this.retainedQueryData[e.bucketInstanceId]&&(this.retainedQueryData[e.bucketInstanceId].featureSortOrder=e.featureSortOrder),e.hasTextData()&&e.text.opacityVertexBuffer&&e.text.opacityVertexBuffer.updateData(e.text.opacityVertexArray),e.hasIconData()&&e.icon.opacityVertexBuffer&&e.icon.opacityVertexBuffer.updateData(e.icon.opacityVertexArray),e.hasIconCollisionBoxData()&&e.iconCollisionBox.collisionVertexBuffer&&e.iconCollisionBox.collisionVertexBuffer.updateData(e.iconCollisionBox.collisionVertexArray),e.hasTextCollisionBoxData()&&e.textCollisionBox.collisionVertexBuffer&&e.textCollisionBox.collisionVertexBuffer.updateData(e.textCollisionBox.collisionVertexArray),e.text.opacityVertexArray.length!==e.text.layoutVertexArray.length/4)throw new Error(`bucket.text.opacityVertexArray.length (= ${e.text.opacityVertexArray.length}) !== bucket.text.layoutVertexArray.length (= ${e.text.layoutVertexArray.length}) / 4`);if(e.icon.opacityVertexArray.length!==e.icon.layoutVertexArray.length/4)throw new Error(`bucket.icon.opacityVertexArray.length (= ${e.icon.opacityVertexArray.length}) !== bucket.icon.layoutVertexArray.length (= ${e.icon.layoutVertexArray.length}) / 4`);e.bucketInstanceId in this.collisionCircleArrays&&(e.collisionCircleArray=this.collisionCircleArrays[e.bucketInstanceId],delete this.collisionCircleArrays[e.bucketInstanceId]);}symbolFadeChange(e){return 0===this.fadeDuration?1:(e-this.commitTime)/this.fadeDuration+this.prevZoomAdjustment}zoomAdjustment(e){return Math.max(0,(this.transform.zoom-e)/1.5)}hasTransitions(e){return this.stale||e-this.lastPlacementChangeTimee}setStale(){this.stale=!0;}}function gt(e,t,i,o,a,r){o&&0!==o.length||(o=[0,0,0,0]);const s=o[0]-lt,n=o[1]-lt,l=o[2]-lt,c=o[3]-lt;e.emplaceBack(t?1:0,i?1:0,a||0,r||0,s,n),e.emplaceBack(t?1:0,i?1:0,a||0,r||0,l,n),e.emplaceBack(t?1:0,i?1:0,a||0,r||0,l,c),e.emplaceBack(t?1:0,i?1:0,a||0,r||0,s,c);}const vt=Math.pow(2,25),xt=Math.pow(2,24),bt=Math.pow(2,17),yt=Math.pow(2,16),wt=Math.pow(2,9),Tt=Math.pow(2,8),Pt=Math.pow(2,1);function Ct(e){if(0===e.opacity&&!e.placed)return 0;if(1===e.opacity&&e.placed)return 4294967295;const t=e.placed?1:0,i=Math.floor(127*e.opacity);return i*vt+t*xt+i*bt+t*yt+i*wt+t*Tt+i*Pt+t}const Mt=0;class It{constructor(e){this._sortAcrossTiles="viewport-y"!==e.layout.get("symbol-z-order")&&!e.layout.get("symbol-sort-key").isConstant(),this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[];}continuePlacement(e,t,i,o,a){const r=this._bucketParts;for(;this._currentTileIndexe.sortKey-t.sortKey)));this._currentPartIndex!this._forceFullPlacement&&c()-a>2;for(;this._currentPlacementIndex>=0;){const a=i[e[this._currentPlacementIndex]],s=this.placement.collisionIndex.transform.zoom;if(t.aQ(a)&&a.layout&&(!a.minzoom||a.minzoom<=s)&&(!a.maxzoom||a.maxzoom>s)){if(this._inProgressLayer||(this._inProgressLayer=new It(a)),this._inProgressLayer.continuePlacement(o[a.source],this.placement,this._showCollisionBoxes,a,r))return;delete this._inProgressLayer;}this._currentPlacementIndex--;}this._done=!0;}commit(e){return this.placement.commit(e),this.placement}}const St=512/t.a6/2;class zt{constructor(e,i,o){this.tileID=e,this.bucketInstanceId=o,this._symbolsByKey={};const a=new Map;for(let e=0;e({x:Math.floor(e.anchorX*St),y:Math.floor(e.anchorY*St)}))),crossTileIDs:i.map((e=>e.crossTileID))};if(o.positions.length>128){const e=new t.aR(o.positions.length,16,Uint16Array);for(const{x:t,y:i}of o.positions)e.add(t,i);e.finish(),delete o.positions,o.index=e;}this._symbolsByKey[e]=o;}}getScaledCoordinates(e,i){const{x:o,y:a,z:r}=this.tileID.canonical,{x:s,y:n,z:l}=i.canonical,c=St/Math.pow(2,l-r),h=(n*t.a6+e.anchorY)*c,u=a*t.a6*St;return {x:Math.floor((s*t.a6+e.anchorX)*c-o*t.a6*St),y:Math.floor(h-u)}}findMatches(e,t,i){const o=this.tileID.canonical.ze))}}class Rt{constructor(){this.maxCrossTileID=0;}generate(){return ++this.maxCrossTileID}}class Dt{constructor(){this.indexes={},this.usedCrossTileIDs={},this.lng=0;}handleWrapJump(e){const t=Math.round((e-this.lng)/360);if(0!==t)for(const e in this.indexes){const i=this.indexes[e],o={};for(const e in i){const a=i[e];a.tileID=a.tileID.unwrapTo(a.tileID.wrap+t),o[a.tileID.key]=a;}this.indexes[e]=o;}this.lng=e;}addBucket(e,t,i){var o,a,r;if(null===(o=this.indexes[e.overscaledZ])||void 0===o?void 0:o[e.key]){if(this.indexes[e.overscaledZ][e.key].bucketInstanceId===t.bucketInstanceId)return !1;this.removeBucketCrossTileIDs(e.overscaledZ,this.indexes[e.overscaledZ][e.key]);}for(let e=0;ee.overscaledZ)for(const i in o){const a=o[i];a.tileID.isChildOf(e)&&a.findMatches(t.symbolInstances,e,s);}else {const a=o[e.scaledTo(Number(i)).key];a&&a.findMatches(t.symbolInstances,e,s);}}for(let e=0;e 0.95) return 1.0;return (d+depthOpacity(frag+vec3(0.0,0.01,0.0)))/2.0;\n#else\nreturn 1.0;\n#endif\n}float ele(vec2 pos) {\n#ifdef TERRAIN3D\nvec4 rgb=(texture(u_terrain,pos)*255.0)*u_terrain_unpack;return rgb.r+rgb.g+rgb.b-u_terrain_unpack.a;\n#else\nreturn 0.0;\n#endif\n}float get_elevation(vec2 pos) {\n#ifdef TERRAIN3D\n#ifdef GLOBE\nif ((pos.y <-32767.5) || (pos.y > 32766.5)) {return 0.0;}\n#endif\nvec2 coord=(u_terrain_matrix*vec4(pos,0.0,1.0)).xy*u_terrain_dim+1.0;vec2 f=fract(coord);vec2 c=(floor(coord)+0.5)/(u_terrain_dim+2.0);float d=1.0/(u_terrain_dim+2.0);float tl=ele(c);float tr=ele(c+vec2(d,0.0));float bl=ele(c+vec2(0.0,d));float br=ele(c+vec2(d,d));float elevation=mix(mix(tl,tr,f.x),mix(bl,br,f.x),f.y);return elevation*u_terrain_exaggeration;\n#else\nreturn 0.0;\n#endif\n}const float PI=3.141592653589793;uniform mat4 u_projection_matrix;"),projectionMercator:kt("","float projectLineThickness(float tileY) {return 1.0;}float projectCircleRadius(float tileY) {return 1.0;}vec4 projectTile(vec2 p) {vec4 result=u_projection_matrix*vec4(p,0.0,1.0);return result;}vec4 projectTile(vec2 p,vec2 rawPos) {vec4 result=u_projection_matrix*vec4(p,0.0,1.0);if (rawPos.y <-32767.5 || rawPos.y > 32766.5) {result.z=-10000000.0;}return result;}vec4 projectTileWithElevation(vec2 posInTile,float elevation) {return u_projection_matrix*vec4(posInTile,elevation,1.0);}vec4 projectTileFor3D(vec2 posInTile,float elevation) {return projectTileWithElevation(posInTile,elevation);}"),projectionGlobe:kt("","#define GLOBE_RADIUS 6371008.8\nuniform highp vec4 u_projection_tile_mercator_coords;uniform highp vec4 u_projection_clipping_plane;uniform highp float u_projection_transition;uniform mat4 u_projection_fallback_matrix;vec3 globeRotateVector(vec3 vec,vec2 angles) {vec3 axisRight=vec3(vec.z,0.0,-vec.x);vec3 axisUp=cross(axisRight,vec);axisRight=normalize(axisRight);axisUp=normalize(axisUp);vec2 t=tan(angles);return normalize(vec+axisRight*t.x+axisUp*t.y);}mat3 globeGetRotationMatrix(vec3 spherePos) {vec3 axisRight=vec3(spherePos.z,0.0,-spherePos.x);vec3 axisDown=cross(axisRight,spherePos);axisRight=normalize(axisRight);axisDown=normalize(axisDown);return mat3(axisRight,axisDown,spherePos\n);}float circumferenceRatioAtTileY(float tileY) {float mercator_pos_y=u_projection_tile_mercator_coords.y+u_projection_tile_mercator_coords.w*tileY;float spherical_y=2.0*atan(exp(PI-(mercator_pos_y*PI*2.0)))-PI*0.5;return cos(spherical_y);}float projectLineThickness(float tileY) {float thickness=1.0/circumferenceRatioAtTileY(tileY); \nif (u_projection_transition < 0.999) {return mix(1.0,thickness,u_projection_transition);} else {return thickness;}}vec3 projectToSphere(vec2 translatedPos,vec2 rawPos) {vec2 mercator_pos=u_projection_tile_mercator_coords.xy+u_projection_tile_mercator_coords.zw*translatedPos;vec2 spherical;spherical.x=mercator_pos.x*PI*2.0+PI;spherical.y=2.0*atan(exp(PI-(mercator_pos.y*PI*2.0)))-PI*0.5;float len=cos(spherical.y);vec3 pos=vec3(sin(spherical.x)*len,sin(spherical.y),cos(spherical.x)*len\n);if (rawPos.y <-32767.5) {pos=vec3(0.0,1.0,0.0);}if (rawPos.y > 32766.5) {pos=vec3(0.0,-1.0,0.0);}return pos;}vec3 projectToSphere(vec2 posInTile) {return projectToSphere(posInTile,vec2(0.0,0.0));}float globeComputeClippingZ(vec3 spherePos) {return (1.0-(dot(spherePos,u_projection_clipping_plane.xyz)+u_projection_clipping_plane.w));}vec4 interpolateProjection(vec2 posInTile,vec3 spherePos,float elevation) {vec3 elevatedPos=spherePos*(1.0+elevation/GLOBE_RADIUS);vec4 globePosition=u_projection_matrix*vec4(elevatedPos,1.0);globePosition.z=globeComputeClippingZ(elevatedPos)*globePosition.w;if (u_projection_transition > 0.999) {return globePosition;}vec4 flatPosition=u_projection_fallback_matrix*vec4(posInTile,elevation,1.0);const float z_globeness_threshold=0.2;vec4 result=globePosition;result.z=mix(0.0,globePosition.z,clamp((u_projection_transition-z_globeness_threshold)/(1.0-z_globeness_threshold),0.0,1.0));result.xyw=mix(flatPosition.xyw,globePosition.xyw,u_projection_transition);if ((posInTile.y <-32767.5) || (posInTile.y > 32766.5)) {result=globePosition;const float poles_hidden_anim_percentage=0.02;result.z=mix(globePosition.z,100.0,pow(max((1.0-u_projection_transition)/poles_hidden_anim_percentage,0.0),8.0));}return result;}vec4 interpolateProjectionFor3D(vec2 posInTile,vec3 spherePos,float elevation) {vec3 elevatedPos=spherePos*(1.0+elevation/GLOBE_RADIUS);vec4 globePosition=u_projection_matrix*vec4(elevatedPos,1.0);if (u_projection_transition > 0.999) {return globePosition;}vec4 fallbackPosition=u_projection_fallback_matrix*vec4(posInTile,elevation,1.0);return mix(fallbackPosition,globePosition,u_projection_transition);}vec4 projectTile(vec2 posInTile) {return interpolateProjection(posInTile,projectToSphere(posInTile),0.0);}vec4 projectTile(vec2 posInTile,vec2 rawPos) {return interpolateProjection(posInTile,projectToSphere(posInTile,rawPos),0.0);}vec4 projectTileWithElevation(vec2 posInTile,float elevation) {return interpolateProjection(posInTile,projectToSphere(posInTile),elevation);}vec4 projectTileFor3D(vec2 posInTile,float elevation) {vec3 spherePos=projectToSphere(posInTile,posInTile);return interpolateProjectionFor3D(posInTile,spherePos,elevation);}"),background:kt("uniform vec4 u_color;uniform float u_opacity;void main() {fragColor=u_color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","in vec2 a_pos;void main() {gl_Position=projectTile(a_pos);}"),backgroundPattern:kt("uniform vec2 u_pattern_tl_a;uniform vec2 u_pattern_br_a;uniform vec2 u_pattern_tl_b;uniform vec2 u_pattern_br_b;uniform vec2 u_texsize;uniform float u_mix;uniform float u_opacity;uniform sampler2D u_image;in vec2 v_pos_a;in vec2 v_pos_b;void main() {vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(u_pattern_tl_a/u_texsize,u_pattern_br_a/u_texsize,imagecoord);vec4 color1=texture(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(u_pattern_tl_b/u_texsize,u_pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture(u_image,pos2);fragColor=mix(color1,color2,u_mix)*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec2 u_pattern_size_a;uniform vec2 u_pattern_size_b;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_scale_a;uniform float u_scale_b;uniform float u_tile_units_to_pixels;in vec2 a_pos;out vec2 v_pos_a;out vec2 v_pos_b;void main() {gl_Position=projectTile(a_pos);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_a*u_pattern_size_a,u_tile_units_to_pixels,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_b*u_pattern_size_b,u_tile_units_to_pixels,a_pos);}"),circle:kt("in vec3 v_data;in float v_visibility;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=v_data.xy;float extrude_length=length(extrude);float antialiased_blur=v_data.z;float opacity_t=smoothstep(0.0,antialiased_blur,extrude_length-1.0);float color_t=stroke_width < 0.01 ? 0.0 : smoothstep(antialiased_blur,0.0,extrude_length-radius/(radius+stroke_width));fragColor=v_visibility*opacity_t*mix(color*opacity,stroke_color*stroke_opacity,color_t);const float epsilon=0.5/255.0;if (fragColor.r < epsilon && fragColor.g < epsilon && fragColor.b < epsilon && fragColor.a < epsilon) {discard;}\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform bool u_scale_with_map;uniform bool u_pitch_with_map;uniform vec2 u_extrude_scale;uniform highp float u_globe_extrude_scale;uniform lowp float u_device_pixel_ratio;uniform highp float u_camera_to_center_distance;uniform vec2 u_translate;in vec2 a_pos;out vec3 v_data;out float v_visibility;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main(void) {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 pos_raw=a_pos+32768.0;vec2 extrude=vec2(mod(pos_raw,8.0)/7.0*2.0-1.0);vec2 circle_center=floor(pos_raw/8.0)+u_translate;float ele=get_elevation(circle_center);v_visibility=calculate_visibility(projectTileWithElevation(circle_center,ele));if (u_pitch_with_map) {\n#ifdef GLOBE\nvec3 center_vector=projectToSphere(circle_center);\n#endif\nfloat angle_scale=u_globe_extrude_scale;vec2 corner_position=circle_center;if (u_scale_with_map) {angle_scale*=(radius+stroke_width);corner_position+=extrude*u_extrude_scale*(radius+stroke_width);} else {\n#ifdef GLOBE\nvec4 projected_center=interpolateProjection(circle_center,center_vector,ele);\n#else\nvec4 projected_center=projectTileWithElevation(circle_center,ele);\n#endif\ncorner_position+=extrude*u_extrude_scale*(radius+stroke_width)*(projected_center.w/u_camera_to_center_distance);angle_scale*=(radius+stroke_width)*(projected_center.w/u_camera_to_center_distance);}\n#ifdef GLOBE\nvec2 angles=extrude*angle_scale;vec3 corner_vector=globeRotateVector(center_vector,angles);gl_Position=interpolateProjection(corner_position,corner_vector,ele);\n#else\ngl_Position=projectTileWithElevation(corner_position,ele);\n#endif\n} else {gl_Position=projectTileWithElevation(circle_center,ele);if (gl_Position.z/gl_Position.w > 1.0) {gl_Position.xy=vec2(10000.0);}if (u_scale_with_map) {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*u_camera_to_center_distance;} else {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*gl_Position.w;}}float antialiasblur=-max(1.0/u_device_pixel_ratio/(radius+stroke_width),blur);v_data=vec3(extrude.x,extrude.y,antialiasblur);}"),clippingMask:kt(Lt,"in vec2 a_pos;void main() {gl_Position=projectTile(a_pos);}"),heatmap:kt("uniform highp float u_intensity;in vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#define GAUSS_COEF 0.3989422804014327\nvoid main() {\n#pragma mapbox: initialize highp float weight\nfloat d=-0.5*3.0*3.0*dot(v_extrude,v_extrude);float val=weight*u_intensity*GAUSS_COEF*exp(d);fragColor=vec4(val,1.0,1.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform float u_extrude_scale;uniform float u_opacity;uniform float u_intensity;uniform highp float u_globe_extrude_scale;in vec2 a_pos;out vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#pragma mapbox: define mediump float radius\nconst highp float ZERO=1.0/255.0/16.0;\n#define GAUSS_COEF 0.3989422804014327\nvoid main(void) {\n#pragma mapbox: initialize highp float weight\n#pragma mapbox: initialize mediump float radius\nvec2 pos_raw=a_pos+32768.0;vec2 unscaled_extrude=vec2(mod(pos_raw,8.0)/7.0*2.0-1.0);float S=sqrt(-2.0*log(ZERO/weight/u_intensity/GAUSS_COEF))/3.0;v_extrude=S*unscaled_extrude;vec2 extrude=v_extrude*radius*u_extrude_scale;vec2 circle_center=floor(pos_raw/8.0);\n#ifdef GLOBE\nvec2 angles=v_extrude*radius*u_globe_extrude_scale;vec3 center_vector=projectToSphere(circle_center);vec3 corner_vector=globeRotateVector(center_vector,angles);gl_Position=interpolateProjection(circle_center+extrude,corner_vector,0.0);\n#else\ngl_Position=projectTileFor3D(circle_center+extrude,get_elevation(circle_center));\n#endif\n}"),heatmapTexture:kt("uniform sampler2D u_image;uniform sampler2D u_color_ramp;uniform float u_opacity;in vec2 v_pos;void main() {float t=texture(u_image,v_pos).r;vec4 color=texture(u_color_ramp,vec2(t,0.5));fragColor=color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(0.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_world;in vec2 a_pos;out vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}"),collisionBox:kt("in float v_placed;in float v_notUsed;void main() {float alpha=0.5;fragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {fragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {fragColor*=.1;}}","in vec2 a_anchor_pos;in vec2 a_placed;in vec2 a_box_real;uniform vec2 u_pixel_extrude_scale;out float v_placed;out float v_notUsed;void main() {gl_Position=projectTileWithElevation(a_anchor_pos,get_elevation(a_anchor_pos));gl_Position.xy=((a_box_real+0.5)*u_pixel_extrude_scale*2.0-1.0)*vec2(1.0,-1.0)*gl_Position.w;if (gl_Position.z/gl_Position.w < 1.1) {gl_Position.z=0.5;}v_placed=a_placed.x;v_notUsed=a_placed.y;}"),collisionCircle:kt("in float v_radius;in vec2 v_extrude;in float v_collision;void main() {float alpha=0.5;float stroke_radius=0.9;float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);fragColor=color*alpha*opacity_t;}","in vec2 a_pos;in float a_radius;in vec2 a_flags;uniform vec2 u_viewport_size;out float v_radius;out vec2 v_extrude;out float v_collision;void main() {float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_collision=collision;gl_Position=vec4((a_pos/u_viewport_size*2.0-1.0)*vec2(1.0,-1.0),0.0,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}"),colorRelief:kt("#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D u_image;uniform vec4 u_unpack;uniform sampler2D u_elevation_stops;uniform sampler2D u_color_stops;uniform int u_color_ramp_size;uniform float u_opacity;in vec2 v_pos;float getElevation(vec2 coord) {vec4 data=texture(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack);}float getElevationStop(int stop) {float x=(float(stop)+0.5)/float(u_color_ramp_size);vec4 data=texture(u_elevation_stops,vec2(x,0))*255.0;data.a=-1.0;return dot(data,u_unpack);}void main() {float el=getElevation(v_pos);int r=(u_color_ramp_size-1);int l=0;float el_l=getElevationStop(l);float el_r=getElevationStop(r);while(r-l > 1){int m=(r+l)/2;float el_m=getElevationStop(m);if(el < el_m){r=m;el_r=el_m;}else\n{l=m;el_l=el_m;}}float x=(float(l)+(el-el_l)/(el_r-el_l)+0.5)/float(u_color_ramp_size);fragColor=u_opacity*texture(u_color_stops,vec2(x,0));\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec2 u_dimension;in vec2 a_pos;out vec2 v_pos;void main() {gl_Position=projectTile(a_pos,a_pos);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_pos/8192.0)*scale+epsilon;if (a_pos.y <-32767.5) {v_pos.y=0.0;}if (a_pos.y > 32766.5) {v_pos.y=1.0;}}"),debug:kt("uniform highp vec4 u_color;uniform sampler2D u_overlay;in vec2 v_uv;void main() {vec4 overlay_color=texture(u_overlay,v_uv);fragColor=mix(u_color,overlay_color,overlay_color.a);}","in vec2 a_pos;out vec2 v_uv;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=projectTileWithElevation(a_pos*u_overlay_scale,get_elevation(a_pos));}"),depth:kt(Lt,"in vec2 a_pos;void main() {\n#ifdef GLOBE\ngl_Position=projectTileFor3D(a_pos,0.0);\n#else\ngl_Position=u_projection_matrix*vec4(a_pos,0.0,1.0);\n#endif\n}"),fill:kt("#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\nfragColor=color*opacity;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec2 u_fill_translate;in vec2 a_pos;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=projectTile(a_pos+u_fill_translate,a_pos);}"),fillOutline:kt("in vec2 v_pos;\n#ifdef GLOBE\nin float v_depth;\n#endif\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);fragColor=outline_color*(alpha*opacity);\n#ifdef GLOBE\nif (v_depth > 1.0) {discard;}\n#endif\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec2 u_world;uniform vec2 u_fill_translate;in vec2 a_pos;out vec2 v_pos;\n#ifdef GLOBE\nout float v_depth;\n#endif\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=projectTile(a_pos+u_fill_translate,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;\n#ifdef GLOBE\nv_depth=gl_Position.z/gl_Position.w;\n#endif\n}"),fillOutlinePattern:kt("uniform vec2 u_texsize;uniform sampler2D u_image;uniform float u_fade;in vec2 v_pos_a;in vec2 v_pos_b;in vec2 v_pos;\n#ifdef GLOBE\nin float v_depth;\n#endif\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture(u_image,pos2);float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);fragColor=mix(color1,color2,u_fade)*alpha*opacity;\n#ifdef GLOBE\nif (v_depth > 1.0) {discard;}\n#endif\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec2 u_world;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;uniform vec2 u_fill_translate;in vec2 a_pos;out vec2 v_pos_a;out vec2 v_pos_b;out vec2 v_pos;\n#ifdef GLOBE\nout float v_depth;\n#endif\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;gl_Position=projectTile(a_pos+u_fill_translate,a_pos);vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;\n#ifdef GLOBE\nv_depth=gl_Position.z/gl_Position.w;\n#endif\n}"),fillPattern:kt("#ifdef GL_ES\nprecision highp float;\n#endif\nuniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;in vec2 v_pos_a;in vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture(u_image,pos2);fragColor=mix(color1,color2,u_fade)*opacity;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;uniform vec2 u_fill_translate;in vec2 a_pos;out vec2 v_pos_a;out vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;gl_Position=projectTile(a_pos+u_fill_translate,a_pos);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}"),fillExtrusion:kt("in vec4 v_color;void main() {fragColor=v_color;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp vec3 u_lightpos_globe;uniform lowp float u_lightintensity;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec2 u_fill_translate;in vec2 a_pos;in vec4 a_normal_ed;\n#ifdef TERRAIN3D\nin vec2 a_centroid;\n#endif\nout vec4 v_color;\n#pragma mapbox: define highp float base\n#pragma mapbox: define highp float height\n#pragma mapbox: define highp vec4 color\nvoid main() {\n#pragma mapbox: initialize highp float base\n#pragma mapbox: initialize highp float height\n#pragma mapbox: initialize highp vec4 color\nvec3 normal=a_normal_ed.xyz;\n#ifdef TERRAIN3D\nfloat height_terrain3d_offset=get_elevation(a_centroid);float base_terrain3d_offset=height_terrain3d_offset-(base > 0.0 ? 0.0 : 10.0);\n#else\nfloat height_terrain3d_offset=0.0;float base_terrain3d_offset=0.0;\n#endif\nbase=max(0.0,base)+base_terrain3d_offset;height=max(0.0,height)+height_terrain3d_offset;float t=mod(normal.x,2.0);float elevation=t > 0.0 ? height : base;vec2 posInTile=a_pos+u_fill_translate;\n#ifdef GLOBE\nvec3 spherePos=projectToSphere(posInTile,a_pos);gl_Position=interpolateProjectionFor3D(posInTile,spherePos,elevation);\n#else\ngl_Position=u_projection_matrix*vec4(posInTile,elevation,1.0);\n#endif\nfloat colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;vec3 normalForLighting=normal/16384.0;float directional=clamp(dot(normalForLighting,u_lightpos),0.0,1.0);\n#ifdef GLOBE\nmat3 rotMatrix=globeGetRotationMatrix(spherePos);normalForLighting=rotMatrix*normalForLighting;directional=mix(directional,clamp(dot(normalForLighting,u_lightpos_globe),0.0,1.0),u_projection_transition);\n#endif\ndirectional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}"),fillExtrusionPattern:kt("uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;in vec2 v_pos_a;in vec2 v_pos_b;in vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);fragColor=mixedColor*v_lighting;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec3 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec2 u_fill_translate;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp vec3 u_lightpos_globe;uniform lowp float u_lightintensity;in vec2 a_pos;in vec4 a_normal_ed;\n#ifdef TERRAIN3D\nin vec2 a_centroid;\n#endif\n#ifdef GLOBE\nout vec3 v_sphere_pos;\n#endif\nout vec2 v_pos_a;out vec2 v_pos_b;out vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;\n#ifdef TERRAIN3D\nfloat height_terrain3d_offset=get_elevation(a_centroid);float base_terrain3d_offset=height_terrain3d_offset-(base > 0.0 ? 0.0 : 10.0);\n#else\nfloat height_terrain3d_offset=0.0;float base_terrain3d_offset=0.0;\n#endif\nbase=max(0.0,base)+base_terrain3d_offset;height=max(0.0,height)+height_terrain3d_offset;float t=mod(normal.x,2.0);float elevation=t > 0.0 ? height : base;vec2 posInTile=a_pos+u_fill_translate;\n#ifdef GLOBE\nvec3 spherePos=projectToSphere(posInTile,a_pos);vec3 elevatedPos=spherePos*(1.0+elevation/GLOBE_RADIUS);v_sphere_pos=elevatedPos;gl_Position=interpolateProjectionFor3D(posInTile,spherePos,elevation);\n#else\ngl_Position=u_projection_matrix*vec4(posInTile,elevation,1.0);\n#endif\nvec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0\n? a_pos\n: vec2(edgedistance,elevation*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}"),hillshadePrepare:kt("#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D u_image;in vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack);}void main() {vec2 epsilon=1.0/u_dimension;float tileSize=u_dimension.x-2.0;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggerationFactor=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;float exaggeration=u_zoom < 15.0 ? (u_zoom-15.0)*exaggerationFactor : 0.0;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))*tileSize/pow(2.0,exaggeration+(28.2562-u_zoom));fragColor=clamp(vec4(deriv.x/8.0+0.5,deriv.y/8.0+0.5,1.0,1.0),0.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_dimension;in vec2 a_pos;in vec2 a_texture_pos;out vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}"),hillshade:kt("uniform sampler2D u_image;in vec2 v_pos;uniform vec2 u_latrange;uniform float u_exaggeration;uniform vec4 u_accent;uniform int u_method;uniform float u_altitudes[NUM_ILLUMINATION_SOURCES];uniform float u_azimuths[NUM_ILLUMINATION_SOURCES];uniform vec4 u_shadows[NUM_ILLUMINATION_SOURCES];uniform vec4 u_highlights[NUM_ILLUMINATION_SOURCES];\n#define PI 3.141592653589793\n#define STANDARD 0\n#define COMBINED 1\n#define IGOR 2\n#define MULTIDIRECTIONAL 3\n#define BASIC 4\nfloat get_aspect(vec2 deriv){return deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);}void igor_hillshade(vec2 deriv){deriv=deriv*u_exaggeration*2.0;float aspect=get_aspect(deriv);float azimuth=u_azimuths[0]+PI;float slope_stength=atan(length(deriv))*2.0/PI;float aspect_strength=1.0-abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);float shadow_strength=slope_stength*aspect_strength;float highlight_strength=slope_stength*(1.0-aspect_strength);fragColor=u_shadows[0]*shadow_strength+u_highlights[0]*highlight_strength;}void standard_hillshade(vec2 deriv){float azimuth=u_azimuths[0]+PI;float slope=atan(0.625*length(deriv));float aspect=get_aspect(deriv);float intensity=u_exaggeration;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadows[0],u_highlights[0],shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);fragColor=accent_color*(1.0-shade_color.a)+shade_color;}void basic_hillshade(vec2 deriv){deriv=deriv*u_exaggeration*2.0;float azimuth=u_azimuths[0]+PI;float cos_az=cos(azimuth);float sin_az=sin(azimuth);float cos_alt=cos(u_altitudes[0]);float sin_alt=sin(u_altitudes[0]);float cang=(sin_alt-(deriv.y*cos_az*cos_alt-deriv.x*sin_az*cos_alt))/sqrt(1.0+dot(deriv,deriv));float shade=clamp(cang,0.0,1.0);if(shade > 0.5){fragColor=u_highlights[0]*(2.0*shade-1.0);}else\n{fragColor=u_shadows[0]*(1.0-2.0*shade);}}void multidirectional_hillshade(vec2 deriv){deriv=deriv*u_exaggeration*2.0;fragColor=vec4(0,0,0,0);for(int i=0; i < NUM_ILLUMINATION_SOURCES; i++){float cos_alt=cos(u_altitudes[i]);float sin_alt=sin(u_altitudes[i]);float cos_az=-cos(u_azimuths[i]);float sin_az=-sin(u_azimuths[i]);float cang=(sin_alt-(deriv.y*cos_az*cos_alt-deriv.x*sin_az*cos_alt))/sqrt(1.0+dot(deriv,deriv));float shade=clamp(cang,0.0,1.0);if(shade > 0.5){fragColor+=u_highlights[i]*(2.0*shade-1.0)/float(NUM_ILLUMINATION_SOURCES);}else\n{fragColor+=u_shadows[i]*(1.0-2.0*shade)/float(NUM_ILLUMINATION_SOURCES);}}}void combined_hillshade(vec2 deriv){deriv=deriv*u_exaggeration*2.0;float azimuth=u_azimuths[0]+PI;float cos_az=cos(azimuth);float sin_az=sin(azimuth);float cos_alt=cos(u_altitudes[0]);float sin_alt=sin(u_altitudes[0]);float cang=acos((sin_alt-(deriv.y*cos_az*cos_alt-deriv.x*sin_az*cos_alt))/sqrt(1.0+dot(deriv,deriv)));cang=clamp(cang,0.0,PI/2.0);float shade=cang*atan(length(deriv))*4.0/PI/PI;float highlight=(PI/2.0-cang)*atan(length(deriv))*4.0/PI/PI;fragColor=u_shadows[0]*shade+u_highlights[0]*highlight;}void main() {vec4 pixel=texture(u_image,v_pos);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));vec2 deriv=((pixel.rg*8.0)-4.0)/scaleFactor;if (u_method==BASIC) {basic_hillshade(deriv);} else if (u_method==COMBINED) {combined_hillshade(deriv);} else if (u_method==IGOR) {igor_hillshade(deriv);} else if (u_method==MULTIDIRECTIONAL) {multidirectional_hillshade(deriv);} else if (u_method==STANDARD) {standard_hillshade(deriv);} else {standard_hillshade(deriv);}\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;in vec2 a_pos;out vec2 v_pos;void main() {gl_Position=projectTile(a_pos,a_pos);v_pos=a_pos/8192.0;if (a_pos.y <-32767.5) {v_pos.y=0.0;}if (a_pos.y > 32766.5) {v_pos.y=1.0;}}"),line:kt("uniform lowp float u_device_pixel_ratio;in vec2 v_width2;in vec2 v_normal;in float v_gamma_scale;\n#ifdef GLOBE\nin float v_depth;\n#endif\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);fragColor=color*(alpha*opacity);\n#ifdef GLOBE\nif (v_depth > 1.0) {discard;}\n#endif\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\nin vec2 a_pos_normal;in vec4 a_data;uniform vec2 u_translation;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;out vec2 v_normal;out vec2 v_width2;out float v_gamma_scale;out highp float v_linesofar;\n#ifdef GLOBE\nout float v_depth;\n#endif\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);float adjustedThickness=projectLineThickness(pos.y);vec4 projected_no_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation);vec4 projected_with_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation+dist/u_ratio*adjustedThickness);gl_Position=projected_with_extrude;\n#ifdef GLOBE\nv_depth=gl_Position.z/gl_Position.w;\n#endif\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length((projected_with_extrude.xy-projected_no_extrude.xy)/projected_with_extrude.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nv_width2=vec2(outset,inset);}"),lineGradient:kt("uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;in vec2 v_width2;in vec2 v_normal;in float v_gamma_scale;in highp vec2 v_uv;\n#ifdef GLOBE\nin float v_depth;\n#endif\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture(u_image,v_uv);fragColor=color*(alpha*opacity);\n#ifdef GLOBE\nif (v_depth > 1.0) {discard;}\n#endif\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\nin vec2 a_pos_normal;in vec4 a_data;in float a_uv_x;in float a_split_index;uniform vec2 u_translation;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;uniform float u_image_height;out vec2 v_normal;out vec2 v_width2;out float v_gamma_scale;out highp vec2 v_uv;\n#ifdef GLOBE\nout float v_depth;\n#endif\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;highp float texel_height=1.0/u_image_height;highp float half_texel_height=0.5*texel_height;v_uv=vec2(a_uv_x,a_split_index*texel_height-half_texel_height);vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);float adjustedThickness=projectLineThickness(pos.y);vec4 projected_no_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation);vec4 projected_with_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation+dist/u_ratio*adjustedThickness);gl_Position=projected_with_extrude;\n#ifdef GLOBE\nv_depth=gl_Position.z/gl_Position.w;\n#endif\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length((projected_with_extrude.xy-projected_no_extrude.xy)/projected_with_extrude.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nv_width2=vec2(outset,inset);}"),linePattern:kt("#ifdef GL_ES\nprecision highp float;\n#endif\nuniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec3 u_scale;uniform sampler2D u_image;in vec2 v_normal;in vec2 v_width2;in float v_linesofar;in float v_gamma_scale;in float v_width;\n#ifdef GLOBE\nin float v_depth;\n#endif\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float aspect_a=display_size_a.y/v_width;float aspect_b=display_size_b.y/v_width;float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x*aspect_a,1.0);float x_b=mod(v_linesofar/pattern_size_b.x*aspect_b,1.0);float y=0.5*v_normal.y+0.5;vec2 texel_size=1.0/u_texsize;vec2 pos_a=mix(pattern_tl_a*texel_size-texel_size,pattern_br_a*texel_size+texel_size,vec2(x_a,y));vec2 pos_b=mix(pattern_tl_b*texel_size-texel_size,pattern_br_b*texel_size+texel_size,vec2(x_b,y));vec4 color=mix(texture(u_image,pos_a),texture(u_image,pos_b),u_fade);fragColor=color*alpha*opacity;\n#ifdef GLOBE\nif (v_depth > 1.0) {discard;}\n#endif\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nin vec2 a_pos_normal;in vec4 a_data;uniform vec2 u_translation;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;out vec2 v_normal;out vec2 v_width2;out float v_linesofar;out float v_gamma_scale;out float v_width;\n#ifdef GLOBE\nout float v_depth;\n#endif\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);float adjustedThickness=projectLineThickness(pos.y);vec4 projected_no_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation);vec4 projected_with_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation+dist/u_ratio*adjustedThickness);gl_Position=projected_with_extrude;\n#ifdef GLOBE\nv_depth=gl_Position.z/gl_Position.w;\n#endif\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length((projected_with_extrude.xy-projected_no_extrude.xy)/projected_with_extrude.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nv_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}"),lineSDF:kt("uniform lowp float u_device_pixel_ratio;uniform lowp float u_lineatlas_width;uniform sampler2D u_image;uniform float u_mix;in vec2 v_normal;in vec2 v_width2;in vec2 v_tex_a;in vec2 v_tex_b;in float v_gamma_scale;\n#ifdef GLOBE\nin float v_depth;\n#endif\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define mediump vec4 dasharray_from\n#pragma mapbox: define mediump vec4 dasharray_to\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize mediump vec4 dasharray_from\n#pragma mapbox: initialize mediump vec4 dasharray_to\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture(u_image,v_tex_a).a;float sdfdist_b=texture(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);float sdfgamma=(u_lineatlas_width/256.0/u_device_pixel_ratio)/min(dasharray_from.w,dasharray_to.w);alpha*=smoothstep(0.5-sdfgamma/floorwidth,0.5+sdfgamma/floorwidth,sdfdist);fragColor=color*(alpha*opacity);\n#ifdef GLOBE\nif (v_depth > 1.0) {discard;}\n#endif\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nin vec2 a_pos_normal;in vec4 a_data;uniform vec2 u_translation;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;uniform float u_tileratio;uniform float u_crossfade_from;uniform float u_crossfade_to;uniform float u_lineatlas_height;out vec2 v_normal;out vec2 v_width2;out vec2 v_tex_a;out vec2 v_tex_b;out float v_gamma_scale;\n#ifdef GLOBE\nout float v_depth;\n#endif\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define mediump vec4 dasharray_from\n#pragma mapbox: define mediump vec4 dasharray_to\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize mediump vec4 dasharray_from\n#pragma mapbox: initialize mediump vec4 dasharray_to\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);float adjustedThickness=projectLineThickness(pos.y);vec4 projected_no_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation);vec4 projected_with_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation+dist/u_ratio*adjustedThickness);gl_Position=projected_with_extrude;\n#ifdef GLOBE\nv_depth=gl_Position.z/gl_Position.w;\n#endif\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length((projected_with_extrude.xy-projected_no_extrude.xy)/projected_with_extrude.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nfloat u_patternscale_a_x=u_tileratio/dasharray_from.w/u_crossfade_from;float u_patternscale_a_y=-dasharray_from.z/2.0/u_lineatlas_height;float u_patternscale_b_x=u_tileratio/dasharray_to.w/u_crossfade_to;float u_patternscale_b_y=-dasharray_to.z/2.0/u_lineatlas_height;v_tex_a=vec2(a_linesofar*u_patternscale_a_x/floorwidth,normal.y*u_patternscale_a_y+(float(dasharray_from.y)+0.5)/u_lineatlas_height);v_tex_b=vec2(a_linesofar*u_patternscale_b_x/floorwidth,normal.y*u_patternscale_b_y+(float(dasharray_to.y)+0.5)/u_lineatlas_height);v_width2=vec2(outset,inset);}"),lineGradientSDF:kt("uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform sampler2D u_image_dash;uniform float u_mix;uniform lowp float u_lineatlas_width;in vec2 v_normal;in vec2 v_width2;in vec2 v_tex_a;in vec2 v_tex_b;in float v_gamma_scale;in highp vec2 v_uv;\n#ifdef GLOBE\nin float v_depth;\n#endif\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define mediump vec4 dasharray_from\n#pragma mapbox: define mediump vec4 dasharray_to\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize mediump vec4 dasharray_from\n#pragma mapbox: initialize mediump vec4 dasharray_to\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture(u_image,v_uv);float sdfdist_a=texture(u_image_dash,v_tex_a).a;float sdfdist_b=texture(u_image_dash,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);float sdfgamma=(u_lineatlas_width/256.0)/min(dasharray_from.w,dasharray_to.w);float dash_alpha=smoothstep(0.5-sdfgamma/floorwidth,0.5+sdfgamma/floorwidth,sdfdist);fragColor=color*(alpha*dash_alpha*opacity);\n#ifdef GLOBE\nif (v_depth > 1.0) {discard;}\n#endif\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nin vec2 a_pos_normal;in vec4 a_data;in float a_uv_x;in float a_split_index;uniform vec2 u_translation;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;uniform float u_image_height;uniform float u_tileratio;uniform float u_crossfade_from;uniform float u_crossfade_to;uniform float u_lineatlas_height;out vec2 v_normal;out vec2 v_width2;out float v_gamma_scale;out highp vec2 v_uv;out vec2 v_tex_a;out vec2 v_tex_b;\n#ifdef GLOBE\nout float v_depth;\n#endif\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define mediump vec4 dasharray_from\n#pragma mapbox: define mediump vec4 dasharray_to\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize mediump vec4 dasharray_from\n#pragma mapbox: initialize mediump vec4 dasharray_to\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;float texel_height=1.0/u_image_height;float half_texel_height=0.5*texel_height;v_uv=vec2(a_uv_x,a_split_index*texel_height-half_texel_height);vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);float adjustedThickness=projectLineThickness(pos.y);vec4 projected_no_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation);vec4 projected_with_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation+dist/u_ratio*adjustedThickness);gl_Position=projected_with_extrude;\n#ifdef GLOBE\nv_depth=gl_Position.z/gl_Position.w;\n#endif\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length((projected_with_extrude.xy-projected_no_extrude.xy)/projected_with_extrude.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nfloat u_patternscale_a_x=u_tileratio/dasharray_from.w/u_crossfade_from;float u_patternscale_a_y=-dasharray_from.z/2.0/u_lineatlas_height;float u_patternscale_b_x=u_tileratio/dasharray_to.w/u_crossfade_to;float u_patternscale_b_y=-dasharray_to.z/2.0/u_lineatlas_height;v_tex_a=vec2(a_linesofar*u_patternscale_a_x/floorwidth,normal.y*u_patternscale_a_y+(float(dasharray_from.y)+0.5)/u_lineatlas_height);v_tex_b=vec2(a_linesofar*u_patternscale_b_x/floorwidth,normal.y*u_patternscale_b_y+(float(dasharray_to.y)+0.5)/u_lineatlas_height);v_width2=vec2(outset,inset);}"),raster:kt("uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;in vec2 v_pos0;in vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture(u_image0,v_pos0);vec4 color1=texture(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);fragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a);\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;uniform vec4 u_coords_top;uniform vec4 u_coords_bottom;in vec2 a_pos;out vec2 v_pos0;out vec2 v_pos1;void main() {vec2 fractionalPos=a_pos/8192.0;vec2 position=mix(mix(u_coords_top.xy,u_coords_top.zw,fractionalPos.x),mix(u_coords_bottom.xy,u_coords_bottom.zw,fractionalPos.x),fractionalPos.y);gl_Position=projectTile(position,position);v_pos0=((fractionalPos-0.5)/u_buffer_scale)+0.5;\n#ifdef GLOBE\nif (a_pos.y <-32767.5) {v_pos0.y=0.0;}if (a_pos.y > 32766.5) {v_pos0.y=1.0;}\n#endif\nv_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}"),symbolIcon:kt("uniform sampler2D u_texture;in vec2 v_tex;in float v_total_opacity;void main() {fragColor=texture(u_texture,v_tex)*v_total_opacity;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","in vec4 a_pos_offset;in vec4 a_data;in vec4 a_pixeloffset;in vec3 a_projected_pos;in float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;uniform bool u_is_along_line;uniform bool u_is_variable_anchor;uniform vec2 u_translation;uniform float u_pitched_scale;out vec2 v_tex;out float v_total_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 translated_a_pos=a_pos+u_translation;vec4 projectedPoint=projectTileWithElevation(translated_a_pos,ele);vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float visibility=calculate_visibility(projectedPoint);v_total_opacity=opacity*max(0.0,min(visibility,fade_opacity[0]+fade_change));if (v_total_opacity < 0.1){gl_Position=vec4(-2.,-2.,-2.,1.);return;}highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=projectTileWithElevation(translated_a_pos+vec2(1,0),ele);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos;if (u_is_along_line || u_is_variable_anchor) {projected_pos=vec4(a_projected_pos.xy,ele,1.0);} else if (u_pitch_with_map) {projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy+u_translation,ele,1.0);} else {projected_pos=u_label_plane_matrix*projectTileWithElevation(a_projected_pos.xy+u_translation,ele);}float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;float projectionScaling=1.0;\n#ifdef GLOBE\nif(u_pitch_with_map) {float anchor_pos_tile_y=(u_coord_matrix*vec4(projected_pos.xy/projected_pos.w,z,1.0)).y;projectionScaling=mix(projectionScaling,1.0/circumferenceRatioAtTileY(anchor_pos_tile_y)*u_pitched_scale,u_projection_transition);}\n#endif\nvec4 finalPos=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0)*projectionScaling,z,1.0);if(u_pitch_with_map) {finalPos=projectTileWithElevation(finalPos.xy,finalPos.z);}gl_Position=finalPos;v_tex=a_tex/u_texsize;}"),symbolSDF:kt("#define SDF_PX 8.0\nuniform bool u_is_halo;uniform bool u_is_plain;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;in vec2 v_data0;in vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float total_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float inner_edge=(256.0-64.0)/256.0;lowp float dist=texture(u_texture,tex).a;lowp vec4 color_alpha_out_text,color_alpha_out_halo;if (u_is_plain){highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(inner_edge-gamma_scaled,inner_edge+gamma_scaled,dist);color_alpha_out_text=total_opacity*alpha*fill_color;}if (u_is_halo) {float gamma_halo=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);float inner_edge_halo=inner_edge+gamma_halo*gamma_scale;highp float gamma_scaled_halo=gamma_halo*gamma_scale;highp float alpha_halo=smoothstep(inner_edge_halo-gamma_scaled_halo,inner_edge_halo+gamma_scaled_halo,dist);highp float halo_edge=(6.0-halo_width/fontScale)/SDF_PX;alpha_halo= min(smoothstep(halo_edge-gamma_scaled_halo,halo_edge+gamma_scaled_halo,dist),1.0-alpha_halo);color_alpha_out_halo=total_opacity*alpha_halo*halo_color;}if (u_is_plain && u_is_halo) {fragColor=color_alpha_out_text+(1.-color_alpha_out_text.a)*color_alpha_out_halo;} else if (u_is_halo){fragColor=color_alpha_out_halo;} else {fragColor=color_alpha_out_text;}\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","in vec4 a_pos_offset;in vec4 a_data;in vec4 a_pixeloffset;in vec3 a_projected_pos;in float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform bool u_is_along_line;uniform bool u_is_variable_anchor;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_translation;uniform float u_pitched_scale;out vec2 v_data0;out vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy/16.0;vec2 a_minFontScale=a_pixeloffset.zw/256.0;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 translated_a_pos=a_pos+u_translation;vec4 projectedPoint=projectTileWithElevation(translated_a_pos,ele);vec2 fade_opacity=unpack_opacity(a_fade_opacity);float visibility=calculate_visibility(projectedPoint);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));float total_opacity=opacity*interpolated_fade_opacity;if (total_opacity < 0.1){gl_Position=vec4(-2.,-2.,-2.,1.);return;}highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=projectTileWithElevation(translated_a_pos+vec2(1,0),ele);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos;if (u_is_along_line || u_is_variable_anchor) {projected_pos=vec4(a_projected_pos.xy,ele,1.0);} else if (u_pitch_with_map) {projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy+u_translation,ele,1.0);} else {projected_pos=u_label_plane_matrix*projectTileWithElevation(a_projected_pos.xy+u_translation,ele);}float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;float projectionScaling=1.0;\n#ifdef GLOBE\nif(u_pitch_with_map) {float anchor_pos_tile_y=(u_coord_matrix*vec4(projected_pos.xy/projected_pos.w,z,1.0)).y;projectionScaling=mix(projectionScaling,1.0/circumferenceRatioAtTileY(anchor_pos_tile_y)*u_pitched_scale,u_projection_transition);}\n#endif\nvec4 finalPos=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset)*projectionScaling,z,1.0);if(u_pitch_with_map) {finalPos=projectTileWithElevation(finalPos.xy,finalPos.z);}float gamma_scale=finalPos.w;gl_Position=finalPos;v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,total_opacity);}"),symbolTextAndIcon:kt("#define SDF_PX 8.0\n#define SDF 1.0\n#define ICON 0.0\nuniform bool u_is_halo;uniform bool u_is_text;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;in vec4 v_data0;in vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat total_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;fragColor=texture(u_texture_icon,tex_icon)*total_opacity;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\nreturn;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;lowp float dist=texture(u_texture,tex).a;lowp vec4 color_alpha_out,color_alpha_out_halo;if (u_is_text) {highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);color_alpha_out=fill_color*(alpha*total_opacity);}if (u_is_halo) {highp float gamma_halo=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);lowp float buff_halo=(6.0-halo_width/fontScale)/SDF_PX;highp float gamma_scaled_halo=gamma_halo*gamma_scale;highp float alpha_halo=smoothstep(buff_halo-gamma_scaled_halo,buff_halo+gamma_scaled_halo,dist);color_alpha_out_halo=halo_color*(alpha_halo*total_opacity);}if (u_is_text && u_is_halo) {fragColor=color_alpha_out+(1.-color_alpha_out.a)*color_alpha_out_halo;} else if (u_is_halo) {fragColor=color_alpha_out_halo;} else {fragColor=color_alpha_out;}\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","in vec4 a_pos_offset;in vec4 a_data;in vec3 a_projected_pos;in float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_texsize_icon;uniform bool u_is_along_line;uniform bool u_is_variable_anchor;uniform vec2 u_translation;uniform float u_pitched_scale;out vec4 v_data0;out vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 translated_a_pos=a_pos+u_translation;vec4 projectedPoint=projectTileWithElevation(translated_a_pos,ele);vec2 fade_opacity=unpack_opacity(a_fade_opacity);float visibility=calculate_visibility(projectedPoint);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));float total_opacity=opacity*interpolated_fade_opacity;if (total_opacity < 0.1){gl_Position=vec4(-2.,-2.,-2.,1.);return;}highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=projectTileWithElevation(translated_a_pos+vec2(1,0),ele);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos;if (u_is_along_line || u_is_variable_anchor) {projected_pos=vec4(a_projected_pos.xy,ele,1.0);} else if (u_pitch_with_map) {projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy+u_translation,ele,1.0);} else {projected_pos=u_label_plane_matrix*projectTileWithElevation(a_projected_pos.xy+u_translation,ele);}float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;float projectionScaling=1.0;\n#ifdef GLOBE\nif(u_pitch_with_map && !u_is_along_line) {float anchor_pos_tile_y=(u_coord_matrix*vec4(projected_pos.xy/projected_pos.w,z,1.0)).y;projectionScaling=mix(projectionScaling,1.0/circumferenceRatioAtTileY(anchor_pos_tile_y)*u_pitched_scale,u_projection_transition);}\n#endif\nvec4 finalPos=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale)*projectionScaling,z,1.0);if(u_pitch_with_map) {finalPos=projectTileWithElevation(finalPos.xy,finalPos.z);}float gamma_scale=finalPos.w;gl_Position=finalPos;v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,total_opacity,is_sdf);}"),terrain:kt("uniform sampler2D u_texture;uniform vec4 u_fog_color;uniform vec4 u_horizon_color;uniform float u_fog_ground_blend;uniform float u_fog_ground_blend_opacity;uniform float u_horizon_fog_blend;uniform bool u_is_globe_mode;in vec2 v_texture_pos;in float v_fog_depth;const float gamma=2.2;vec4 gammaToLinear(vec4 color) {return pow(color,vec4(gamma));}vec4 linearToGamma(vec4 color) {return pow(color,vec4(1.0/gamma));}void main() {vec4 surface_color=texture(u_texture,vec2(v_texture_pos.x,1.0-v_texture_pos.y));if (!u_is_globe_mode && u_fog_ground_blend_opacity > 0.0 && v_fog_depth > u_fog_ground_blend) {vec4 surface_color_linear=gammaToLinear(surface_color);float blend_color=smoothstep(0.0,1.0,max((v_fog_depth-u_horizon_fog_blend)/(1.0-u_horizon_fog_blend),0.0));vec4 fog_horizon_color_linear=mix(gammaToLinear(u_fog_color),gammaToLinear(u_horizon_color),blend_color);float factor_fog=max(v_fog_depth-u_fog_ground_blend,0.0)/(1.0-u_fog_ground_blend);fragColor=linearToGamma(mix(surface_color_linear,fog_horizon_color_linear,pow(factor_fog,2.0)*u_fog_ground_blend_opacity));} else {fragColor=surface_color;}}","in vec3 a_pos3d;uniform mat4 u_fog_matrix;uniform float u_ele_delta;out vec2 v_texture_pos;out float v_fog_depth;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;v_texture_pos=a_pos3d.xy/8192.0;gl_Position=projectTileFor3D(a_pos3d.xy,ele-ele_delta);vec4 pos=u_fog_matrix*vec4(a_pos3d.xy,ele,1.0);v_fog_depth=pos.z/pos.w*0.5+0.5;}"),terrainDepth:kt("in float v_depth;const highp vec4 bitSh=vec4(256.*256.*256.,256.*256.,256.,1.);const highp vec4 bitMsk=vec4(0.,vec3(1./256.0));highp vec4 pack(highp float value) {highp vec4 comp=fract(value*bitSh);comp-=comp.xxyz*bitMsk;return comp;}void main() {fragColor=pack(v_depth);}","in vec3 a_pos3d;uniform float u_ele_delta;out float v_depth;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;gl_Position=projectTileFor3D(a_pos3d.xy,ele-ele_delta);v_depth=gl_Position.z/gl_Position.w;}"),terrainCoords:kt("precision mediump float;uniform sampler2D u_texture;uniform float u_terrain_coords_id;in vec2 v_texture_pos;void main() {vec4 rgba=texture(u_texture,v_texture_pos);fragColor=vec4(rgba.r,rgba.g,rgba.b,u_terrain_coords_id);}","in vec3 a_pos3d;uniform float u_ele_delta;out vec2 v_texture_pos;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;v_texture_pos=a_pos3d.xy/8192.0;gl_Position=projectTileFor3D(a_pos3d.xy,ele-ele_delta);}"),projectionErrorMeasurement:kt("in vec4 v_output_error_encoded;void main() {fragColor=v_output_error_encoded;}","in vec2 a_pos;uniform highp float u_input;uniform highp float u_output_expected;out vec4 v_output_error_encoded;void main() {float real_output=2.0*atan(exp(PI-(u_input*PI*2.0)))-PI*0.5;float error=real_output-u_output_expected;float abs_error=abs(error)*128.0;v_output_error_encoded.x=min(floor(abs_error*256.0),255.0)/255.0;abs_error-=v_output_error_encoded.x;v_output_error_encoded.y=min(floor(abs_error*65536.0),255.0)/255.0;abs_error-=v_output_error_encoded.x/255.0;v_output_error_encoded.z=min(floor(abs_error*16777216.0),255.0)/255.0;v_output_error_encoded.w=error >=0.0 ? 1.0 : 0.0;gl_Position=vec4(a_pos,0.0,1.0);}"),atmosphere:kt("#ifdef GL_ES\nprecision highp float;\n#endif\nin vec3 view_direction;uniform vec3 u_sun_pos;uniform vec3 u_globe_position;uniform float u_globe_radius;uniform float u_atmosphere_blend;/**Shader use from https:*Made some change to adapt to MapLibre Globe geometry*/const float PI=3.141592653589793;const int iSteps=5;const int jSteps=3;/*radius of the planet*/const float EARTH_RADIUS=6371e3;/*radius of the atmosphere*/const float ATMOS_RADIUS=6471e3;vec2 rsi(vec3 r0,vec3 rd,float sr) {float a=dot(rd,rd);float b=2.0*dot(rd,r0);float c=dot(r0,r0)-(sr*sr);float d=(b*b)-4.0*a*c;if (d < 0.0) return vec2(1e5,-1e5);return vec2((-b-sqrt(d))/(2.0*a),(-b+sqrt(d))/(2.0*a));}vec4 atmosphere(vec3 r,vec3 r0,vec3 pSun,float iSun,float rPlanet,float rAtmos,vec3 kRlh,float kMie,float shRlh,float shMie,float g) {pSun=normalize(pSun);r=normalize(r);vec2 p=rsi(r0,r,rAtmos);if (p.x > p.y) {return vec4(0.0,0.0,0.0,1.0);}if (p.x < 0.0) {p.x=0.0;}vec3 pos=r0+r*p.x;vec2 p2=rsi(r0,r,rPlanet);if (p2.x <=p2.y && p2.x > 0.0) {p.y=min(p.y,p2.x);}float iStepSize=(p.y-p.x)/float(iSteps);float iTime=p.x+iStepSize*0.5;vec3 totalRlh=vec3(0,0,0);vec3 totalMie=vec3(0,0,0);float iOdRlh=0.0;float iOdMie=0.0;float mu=dot(r,pSun);float mumu=mu*mu;float gg=g*g;float pRlh=3.0/(16.0*PI)*(1.0+mumu);float pMie=3.0/(8.0*PI)*((1.0-gg)*(mumu+1.0))/(pow(1.0+gg-2.0*mu*g,1.5)*(2.0+gg));for (int i=0; i < iSteps; i++) {vec3 iPos=r0+r*iTime;float iHeight=length(iPos)-rPlanet;float odStepRlh=exp(-iHeight/shRlh)*iStepSize;float odStepMie=exp(-iHeight/shMie)*iStepSize;iOdRlh+=odStepRlh;iOdMie+=odStepMie;float jStepSize=rsi(iPos,pSun,rAtmos).y/float(jSteps);float jTime=jStepSize*0.5;float jOdRlh=0.0;float jOdMie=0.0;for (int j=0; j < jSteps; j++) {vec3 jPos=iPos+pSun*jTime;float jHeight=length(jPos)-rPlanet;jOdRlh+=exp(-jHeight/shRlh)*jStepSize;jOdMie+=exp(-jHeight/shMie)*jStepSize;jTime+=jStepSize;}vec3 attn=exp(-(kMie*(iOdMie+jOdMie)+kRlh*(iOdRlh+jOdRlh)));totalRlh+=odStepRlh*attn;totalMie+=odStepMie*attn;iTime+=iStepSize;}float opacity=exp(-(length(kRlh)*length(totalRlh)+kMie*length(totalMie)));vec3 color=iSun*(pRlh*kRlh*totalRlh+pMie*kMie*totalMie);return vec4(color,opacity);}void main() {vec3 scale_camera_pos=-u_globe_position*EARTH_RADIUS/u_globe_radius;vec4 color=atmosphere(normalize(view_direction),scale_camera_pos,u_sun_pos,22.0,EARTH_RADIUS,ATMOS_RADIUS,vec3(5.5e-6,13.0e-6,22.4e-6),21e-6,8e3,1.2e3,0.758\n);color.rgb=1.0-exp(-1.0*color.rgb);color=pow(color,vec4(1.0/2.2));fragColor=vec4(color.rgb,1.0-color.a)*u_atmosphere_blend;}","in vec2 a_pos;uniform mat4 u_inv_proj_matrix;out vec3 view_direction;void main() {view_direction=(u_inv_proj_matrix*vec4(a_pos,0.0,1.0)).xyz;gl_Position=vec4(a_pos,0.0,1.0);}"),sky:kt("uniform vec4 u_sky_color;uniform vec4 u_horizon_color;uniform vec2 u_horizon;uniform vec2 u_horizon_normal;uniform float u_sky_horizon_blend;uniform float u_sky_blend;void main() {float x=gl_FragCoord.x;float y=gl_FragCoord.y;float blend=(y-u_horizon.y)*u_horizon_normal.y+(x-u_horizon.x)*u_horizon_normal.x;if (blend > 0.0) {if (blend < u_sky_horizon_blend) {fragColor=mix(u_sky_color,u_horizon_color,pow(1.0-blend/u_sky_horizon_blend,2.0));} else {fragColor=u_sky_color;}}fragColor=mix(fragColor,vec4(vec3(0.0),0.0),u_sky_blend);}","in vec2 a_pos;void main() {gl_Position=vec4(a_pos,1.0,1.0);}")};function kt(e,t){const i=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,o=t.match(/in ([\w]+) ([\w]+)/g),a=e.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),r=t.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),s=r?r.concat(a):a,n={};return {fragmentSource:e=e.replace(i,((e,t,i,o,a)=>(n[a]=!0,"define"===t?`\n#ifndef HAS_UNIFORM_u_${a}\nin ${i} ${o} ${a};\n#else\nuniform ${i} ${o} u_${a};\n#endif\n`:`\n#ifdef HAS_UNIFORM_u_${a}\n ${i} ${o} ${a} = u_${a};\n#endif\n`))),vertexSource:t=t.replace(i,((e,t,i,o,a)=>{const r="float"===o?"vec2":"vec4",s=a.match(/color/)?"color":r;return n[a]?"define"===t?`\n#ifndef HAS_UNIFORM_u_${a}\nuniform lowp float u_${a}_t;\nin ${i} ${r} a_${a};\nout ${i} ${o} ${a};\n#else\nuniform ${i} ${o} u_${a};\n#endif\n`:"vec4"===s?`\n#ifndef HAS_UNIFORM_u_${a}\n ${a} = a_${a};\n#else\n ${i} ${o} ${a} = u_${a};\n#endif\n`:`\n#ifndef HAS_UNIFORM_u_${a}\n ${a} = unpack_mix_${s}(a_${a}, u_${a}_t);\n#else\n ${i} ${o} ${a} = u_${a};\n#endif\n`:"define"===t?`\n#ifndef HAS_UNIFORM_u_${a}\nuniform lowp float u_${a}_t;\nin ${i} ${r} a_${a};\n#else\nuniform ${i} ${o} u_${a};\n#endif\n`:"vec4"===s?`\n#ifndef HAS_UNIFORM_u_${a}\n ${i} ${o} ${a} = a_${a};\n#else\n ${i} ${o} ${a} = u_${a};\n#endif\n`:`\n#ifndef HAS_UNIFORM_u_${a}\n ${i} ${o} ${a} = unpack_mix_${s}(a_${a}, u_${a}_t);\n#else\n ${i} ${o} ${a} = u_${a};\n#endif\n`})),staticAttributes:o,staticUniforms:s}}class Bt{constructor(e,t,i){this.vertexBuffer=e,this.indexBuffer=t,this.segments=i;}destroy(){this.vertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.vertexBuffer=null,this.indexBuffer=null,this.segments=null;}}var Ot=t.aS([{name:"a_pos",type:"Int16",components:2}]);const jt="#define PROJECTION_MERCATOR",Nt="mercator";class Zt{constructor(){this._cachedMesh=null;}get name(){return "mercator"}get useSubdivision(){return !1}get shaderVariantName(){return Nt}get shaderDefine(){return jt}get shaderPreludeCode(){return Ft.projectionMercator}get vertexShaderPreludeCode(){return Ft.projectionMercator.vertexSource}get subdivisionGranularity(){return t.aT.noSubdivision}get useGlobeControls(){return !1}get transitionState(){return 0}get latitudeErrorCorrectionRadians(){return 0}destroy(){}updateGPUdependent(e){}getMeshFromTileID(e,i,o,a,r){if(this._cachedMesh)return this._cachedMesh;const s=new t.aU;s.emplaceBack(0,0),s.emplaceBack(t.a6,0),s.emplaceBack(0,t.a6),s.emplaceBack(t.a6,t.a6);const n=e.createVertexBuffer(s,Ot.members),l=t.aV.simpleSegment(0,0,4,2),c=new t.aW;c.emplaceBack(1,0,2),c.emplaceBack(1,2,3);const h=e.createIndexBuffer(c);return this._cachedMesh=new Bt(n,h,l),this._cachedMesh}recalculate(){}hasTransition(){return !1}setErrorQueryLatitudeDegrees(e){}}class Ut{constructor(e=0,t=0,i=0,o=0){if(isNaN(e)||e<0||isNaN(t)||t<0||isNaN(i)||i<0||isNaN(o)||o<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=e,this.bottom=t,this.left=i,this.right=o;}interpolate(e,i,o){return null!=i.top&&null!=e.top&&(this.top=t.H.number(e.top,i.top,o)),null!=i.bottom&&null!=e.bottom&&(this.bottom=t.H.number(e.bottom,i.bottom,o)),null!=i.left&&null!=e.left&&(this.left=t.H.number(e.left,i.left,o)),null!=i.right&&null!=e.right&&(this.right=t.H.number(e.right,i.right,o)),this}getCenter(e,i){const o=t.al((this.left+e-this.right)/2,0,e),a=t.al((this.top+i-this.bottom)/2,0,i);return new t.P(o,a)}equals(e){return this.top===e.top&&this.bottom===e.bottom&&this.left===e.left&&this.right===e.right}clone(){return new Ut(this.top,this.bottom,this.left,this.right)}toJSON(){return {top:this.top,bottom:this.bottom,left:this.left,right:this.right}}}function Gt(e,t){if(!e.renderWorldCopies||e.lngRange)return;const i=t.lng-e.center.lng;t.lng+=i>180?-360:i<-180?360:0;}function Vt(e){return Math.max(0,Math.floor(e))}class Wt{constructor(e,i){var o;this.applyConstrain=(e,t)=>null!==this._constrainOverride?this._constrainOverride(e,t):this._callbacks.defaultConstrain(e,t),this._callbacks=e,this._tileSize=512,this._renderWorldCopies=void 0===(null==i?void 0:i.renderWorldCopies)||!!(null==i?void 0:i.renderWorldCopies),this._minZoom=(null==i?void 0:i.minZoom)||0,this._maxZoom=(null==i?void 0:i.maxZoom)||22,this._minPitch=null==(null==i?void 0:i.minPitch)?0:null==i?void 0:i.minPitch,this._maxPitch=null==(null==i?void 0:i.maxPitch)?60:null==i?void 0:i.maxPitch,this._constrainOverride=null!==(o=null==i?void 0:i.constrainOverride)&&void 0!==o?o:null,this.setMaxBounds(),this._width=0,this._height=0,this._center=new t.W(0,0),this._elevation=0,this._zoom=0,this._tileZoom=Vt(this._zoom),this._scale=t.ao(this._zoom),this._bearingInRadians=0,this._fovInRadians=.6435011087932844,this._pitchInRadians=0,this._rollInRadians=0,this._unmodified=!0,this._edgeInsets=new Ut,this._minElevationForCurrentTile=0,this._autoCalculateNearFarZ=!0;}apply(e,i,o){this._constrainOverride=e.constrainOverride,this._latRange=e.latRange,this._lngRange=e.lngRange,this._width=e.width,this._height=e.height,this._center=e.center,this._elevation=e.elevation,this._minElevationForCurrentTile=e.minElevationForCurrentTile,this._zoom=e.zoom,this._tileZoom=Vt(this._zoom),this._scale=t.ao(this._zoom),this._bearingInRadians=e.bearingInRadians,this._fovInRadians=e.fovInRadians,this._pitchInRadians=e.pitchInRadians,this._rollInRadians=e.rollInRadians,this._unmodified=e.unmodified,this._edgeInsets=new Ut(e.padding.top,e.padding.bottom,e.padding.left,e.padding.right),this._minZoom=e.minZoom,this._maxZoom=e.maxZoom,this._minPitch=e.minPitch,this._maxPitch=e.maxPitch,this._renderWorldCopies=e.renderWorldCopies,this._cameraToCenterDistance=e.cameraToCenterDistance,this._nearZ=e.nearZ,this._farZ=e.farZ,this._autoCalculateNearFarZ=!o&&e.autoCalculateNearFarZ,i&&this.constrainInternal(),this._calcMatrices();}get pixelsToClipSpaceMatrix(){return this._pixelsToClipSpaceMatrix}get clipSpaceToPixelsMatrix(){return this._clipSpaceToPixelsMatrix}get minElevationForCurrentTile(){return this._minElevationForCurrentTile}setMinElevationForCurrentTile(e){this._minElevationForCurrentTile=e;}get tileSize(){return this._tileSize}get tileZoom(){return this._tileZoom}get scale(){return this._scale}get width(){return this._width}get height(){return this._height}get bearingInRadians(){return this._bearingInRadians}get lngRange(){return this._lngRange}get latRange(){return this._latRange}get pixelsToGLUnits(){return this._pixelsToGLUnits}get minZoom(){return this._minZoom}setMinZoom(e){this._minZoom!==e&&(this._minZoom=e,this.setZoom(this.applyConstrain(this._center,this.zoom).zoom));}get maxZoom(){return this._maxZoom}setMaxZoom(e){this._maxZoom!==e&&(this._maxZoom=e,this.setZoom(this.applyConstrain(this._center,this.zoom).zoom));}get minPitch(){return this._minPitch}setMinPitch(e){this._minPitch!==e&&(this._minPitch=e,this.setPitch(Math.max(this.pitch,e)));}get maxPitch(){return this._maxPitch}setMaxPitch(e){this._maxPitch!==e&&(this._maxPitch=e,this.setPitch(Math.min(this.pitch,e)));}get renderWorldCopies(){return this._renderWorldCopies}setRenderWorldCopies(e){void 0===e?e=!0:null===e&&(e=!1),this._renderWorldCopies=e;}get constrainOverride(){return this._constrainOverride}setConstrainOverride(e){void 0===e&&(e=null),this._constrainOverride!==e&&(this._constrainOverride=e,this.constrainInternal(),this._calcMatrices());}get worldSize(){return this._tileSize*this._scale}get centerOffset(){return this.centerPoint._sub(this.size._div(2))}get size(){return new t.P(this._width,this._height)}get bearing(){return this._bearingInRadians/Math.PI*180}setBearing(e){const i=t.X(e,-180,180)*Math.PI/180;var a,r,s,n,l,c,h,u,d;this._bearingInRadians!==i&&(this._unmodified=!1,this._bearingInRadians=i,this._calcMatrices(),this._rotationMatrix=o(),a=this._rotationMatrix,s=-this._bearingInRadians,n=(r=this._rotationMatrix)[0],l=r[1],c=r[2],h=r[3],u=Math.sin(s),d=Math.cos(s),a[0]=n*d+c*u,a[1]=l*d+h*u,a[2]=n*-u+c*d,a[3]=l*-u+h*d);}get rotationMatrix(){return this._rotationMatrix}get pitchInRadians(){return this._pitchInRadians}get pitch(){return this._pitchInRadians/Math.PI*180}setPitch(e){const i=t.al(e,this.minPitch,this.maxPitch)/180*Math.PI;this._pitchInRadians!==i&&(this._unmodified=!1,this._pitchInRadians=i,this._calcMatrices());}get rollInRadians(){return this._rollInRadians}get roll(){return this._rollInRadians/Math.PI*180}setRoll(e){const t=e/180*Math.PI;this._rollInRadians!==t&&(this._unmodified=!1,this._rollInRadians=t,this._calcMatrices());}get fovInRadians(){return this._fovInRadians}get fov(){return t.aX(this._fovInRadians)}setFov(e){e=t.al(e,.1,150),this.fov!==e&&(this._unmodified=!1,this._fovInRadians=t.an(e),this._calcMatrices());}get zoom(){return this._zoom}setZoom(e){const i=this.applyConstrain(this._center,e).zoom;this._zoom!==i&&(this._unmodified=!1,this._zoom=i,this._tileZoom=Math.max(0,Math.floor(i)),this._scale=t.ao(i),this.constrainInternal(),this._calcMatrices());}get center(){return this._center}setCenter(e){e.lat===this._center.lat&&e.lng===this._center.lng||(this._unmodified=!1,this._center=e,this.constrainInternal(),this._calcMatrices());}get elevation(){return this._elevation}setElevation(e){e!==this._elevation&&(this._elevation=e,this.constrainInternal(),this._calcMatrices());}get padding(){return this._edgeInsets.toJSON()}setPadding(e){this._edgeInsets.equals(e)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,e,1),this._calcMatrices());}get centerPoint(){return this._edgeInsets.getCenter(this._width,this._height)}get pixelsPerMeter(){return this._pixelPerMeter}get unmodified(){return this._unmodified}get cameraToCenterDistance(){return this._cameraToCenterDistance}get nearZ(){return this._nearZ}get farZ(){return this._farZ}get autoCalculateNearFarZ(){return this._autoCalculateNearFarZ}overrideNearFarZ(e,t){this._autoCalculateNearFarZ=!1,this._nearZ=e,this._farZ=t,this._calcMatrices();}clearNearFarZOverride(){this._autoCalculateNearFarZ=!0,this._calcMatrices();}isPaddingEqual(e){return this._edgeInsets.equals(e)}interpolatePadding(e,t,i){this._unmodified=!1,this._edgeInsets.interpolate(e,t,i),this.constrainInternal(),this._calcMatrices();}resize(e,t,i=!0){this._width=e,this._height=t,i&&this.constrainInternal(),this._calcMatrices();}getMaxBounds(){var e,t;return 2!==(null===(e=this._latRange)||void 0===e?void 0:e.length)||2!==(null===(t=this._lngRange)||void 0===t?void 0:t.length)?null:new G([this._lngRange[0],this._latRange[0]],[this._lngRange[1],this._latRange[1]])}setMaxBounds(e){e?(this._lngRange=[e.getWest(),e.getEast()],this._latRange=[e.getSouth(),e.getNorth()],this.constrainInternal()):(this._lngRange=null,this._latRange=[-t.am,t.am]);}getCameraQueryGeometry(e,i){if(1===i.length)return [i[0],e];{const{minX:o,minY:a,maxX:r,maxY:s}=t.a8.fromPoints(i).extend(e);return [new t.P(o,a),new t.P(r,a),new t.P(r,s),new t.P(o,s),new t.P(o,a)]}}constrainInternal(){if(!this.center||!this._width||!this._height||this._constraining)return;this._constraining=!0;const e=this._unmodified,{center:t,zoom:i}=this.applyConstrain(this.center,this.zoom);this.setCenter(t),this.setZoom(i),this._unmodified=e,this._constraining=!1;}_calcMatrices(){if(this._width&&this._height){this._pixelsToGLUnits=[2/this._width,-2/this._height];let e=t.ap(new Float64Array(16));t.S(e,e,[this._width/2,-this._height/2,1]),t.Q(e,e,[1,-1,0]),this._clipSpaceToPixelsMatrix=e,e=t.ap(new Float64Array(16)),t.S(e,e,[1,-1,1]),t.Q(e,e,[-1,-1,0]),t.S(e,e,[2/this._width,2/this._height,1]),this._pixelsToClipSpaceMatrix=e,this._cameraToCenterDistance=.5/Math.tan(this.fovInRadians/2)*this._height;}this._callbacks.calcMatrices();}calculateCenterFromCameraLngLatAlt(e,i,o,a){const r=void 0!==o?o:this.bearing,s=a=void 0!==a?a:this.pitch,{distanceToCenter:n,clampedElevation:l}=this._distanceToCenterFromAltElevationPitch(i,this.elevation,s),{x:c,y:h}=be(s,r),u=t.a7.fromLngLat(e,i);let d,_,p=t.aY(1,u.y),m=0;do{if(m+=1,m>10)break;_=n/p,d=new t.a7(u.x+c*_,u.y+h*_),p=1/d.meterInMercatorCoordinateUnits();}while(Math.abs(n-_*p)>1e-12);return {center:d.toLngLat(),elevation:l,zoom:t.ar(this.height/2/Math.tan(this.fovInRadians/2)/_/this.tileSize)}}recalculateZoomAndCenter(e){if(this.elevation-e==0)return;const i=1/this.worldSize,o=t.aq(1,this.center.lat)*this.worldSize,a=t.a7.fromLngLat(this.center,this.elevation),r=a.x/i,s=a.y/i,n=a.z/i,l=this.pitch,c=this.bearing,{x:h,y:u,z:d}=be(l,c),_=this.cameraToCenterDistance,p=r+_*-h,m=s+_*-u,f=n+_*d,{distanceToCenter:g,clampedElevation:v}=this._distanceToCenterFromAltElevationPitch(f/o,e,l),x=g*o,b=new t.a7((p+h*x)*i,(m+u*x)*i,0).toLngLat(),y=t.aq(1,b.lat),w=t.ar(this.height/2/Math.tan(this.fovInRadians/2)/g/y/this.tileSize);this._elevation=v,this._center=b,this.setZoom(w);}_distanceToCenterFromAltElevationPitch(e,i,o){const a=-Math.cos(t.an(o)),r=e-i;let s,n=i;return a*r>=0||Math.abs(a)<.1?(s=1e4,n=e+s*a):s=-r/a,{distanceToCenter:s,clampedElevation:n}}getCameraPoint(){const e=Math.tan(this.pitchInRadians)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new t.P(e*Math.sin(this.rollInRadians),e*Math.cos(this.rollInRadians)))}getCameraAltitude(){return Math.cos(this.pitchInRadians)*this._cameraToCenterDistance/this._pixelPerMeter+this.elevation}getCameraLngLat(){const e=t.aq(1,this.center.lat)*this.worldSize;return xe(this.center,this.elevation,this.pitch,this.bearing,this.cameraToCenterDistance/e).toLngLat()}getMercatorTileCoordinates(e){if(!e)return [0,0,1,1];const i=e.canonical.z>=0?1<this.max[0]||e.aabb.min[1]>this.max[1]||e.aabb.min[2]>this.max[2]||e.aabb.max[0]0?(t+=e[o]*this.min[o],i+=e[o]*this.max[o]):(i+=e[o]*this.min[o],t+=e[o]*this.max[o]);return t>=0?2:i<0?0:1}}class $t{distanceToTile2d(e,t,i,o){const a=o,r=a.distanceX([e,t]),s=a.distanceY([e,t]);return Math.hypot(r,s)}getWrap(e,t,i){return i}getTileBoundingVolume(e,i,o,a){var r,s;let n=0,l=0;if(null==a?void 0:a.terrain){const c=new t.a3(e.z,i,e.z,e.x,e.y),h=a.terrain.getMinMaxElevation(c);n=null!==(r=h.minElevation)&&void 0!==r?r:Math.min(0,o),l=null!==(s=h.maxElevation)&&void 0!==s?s:Math.max(0,o);}const c=1<a}allowWorldCopies(){return !0}prepareNextFrame(){}}class Ht{constructor(e,t,i){this.points=e,this.planes=t,this.aabb=i;}static fromInvProjectionMatrix(e,i=1,o=0,a,r){const s=r?[[6,5,4],[0,1,2],[0,3,7],[2,1,5],[3,2,6],[0,4,5]]:[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]],n=Math.pow(2,o),l=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map((o=>function(e,i,o,a){const r=t.aE([],e,i),s=1/r[3]/o*a;return t.b4(r,r,[s,s,1/r[3],s])}(o,e,i,n)));a&&function(e,i,o,a){const r=a?4:0,s=a?0:4;let n=0;const l=[],c=[];for(let i=0;i<4;i++){const o=t.b0([],e[i+s],e[i+r]),a=t.b5(o);t.aZ(o,o,1/a),l.push(a),c.push(o);}for(let i=0;i<4;i++){const a=t.b6(e[i+r],c[i],o);n=null!==a&&a>=0?Math.max(n,a):Math.max(n,l[i]);}const h=function(e,i){const o=t.b0([],e[i[0]],e[i[1]]),a=t.b0([],e[i[2]],e[i[1]]),r=[0,0,0,0];return t.b1(r,t.b2([],o,a)),r[3]=-t.b3(r,e[i[0]]),r}(e,i),u=function(e,i){const o=t.b7(e),a=t.b8([],e,1/o),r=t.b0([],i,t.aZ([],a,t.b3(i,a))),s=t.b7(r);if(s>0){const e=Math.sqrt(1-a[3]*a[3]),o=t.aZ([],a,-a[3]),n=t.a_([],o,t.aZ([],r,e/s));return t.b9(i,n)}return null}(o,h);if(null!==u){const e=u/t.b3(c[0],h);n=Math.min(n,e);}for(let t=0;t<4;t++){const i=Math.min(n,l[t]);e[t+s]=[e[t+r][0]+c[t][0]*i,e[t+r][1]+c[t][1]*i,e[t+r][2]+c[t][2]*i,1];}}(l,s[0],a,r);const c=s.map((e=>{const i=t.b0([],l[e[0]],l[e[1]]),o=t.b0([],l[e[2]],l[e[1]]),a=t.b1([],t.b2([],i,o)),r=-t.b3(a,l[e[1]]);return a.concat(r)})),h=[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY],u=[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY];for(const e of l)for(let t=0;t<3;t++)h[t]=Math.min(h[t],e[t]),u[t]=Math.max(u[t],e[t]);return new Ht(l,c,new qt(h,u))}}class Xt{get pixelsToClipSpaceMatrix(){return this._helper.pixelsToClipSpaceMatrix}get clipSpaceToPixelsMatrix(){return this._helper.clipSpaceToPixelsMatrix}get pixelsToGLUnits(){return this._helper.pixelsToGLUnits}get centerOffset(){return this._helper.centerOffset}get size(){return this._helper.size}get rotationMatrix(){return this._helper.rotationMatrix}get centerPoint(){return this._helper.centerPoint}get pixelsPerMeter(){return this._helper.pixelsPerMeter}setMinZoom(e){this._helper.setMinZoom(e);}setMaxZoom(e){this._helper.setMaxZoom(e);}setMinPitch(e){this._helper.setMinPitch(e);}setMaxPitch(e){this._helper.setMaxPitch(e);}setRenderWorldCopies(e){this._helper.setRenderWorldCopies(e);}setBearing(e){this._helper.setBearing(e);}setPitch(e){this._helper.setPitch(e);}setRoll(e){this._helper.setRoll(e);}setFov(e){this._helper.setFov(e);}setZoom(e){this._helper.setZoom(e);}setCenter(e){this._helper.setCenter(e);}setElevation(e){this._helper.setElevation(e);}setMinElevationForCurrentTile(e){this._helper.setMinElevationForCurrentTile(e);}setPadding(e){this._helper.setPadding(e);}interpolatePadding(e,t,i){this._helper.interpolatePadding(e,t,i);}isPaddingEqual(e){return this._helper.isPaddingEqual(e)}resize(e,t,i=!0){this._helper.resize(e,t,i);}getMaxBounds(){return this._helper.getMaxBounds()}setMaxBounds(e){this._helper.setMaxBounds(e);}setConstrainOverride(e){this._helper.setConstrainOverride(e);}overrideNearFarZ(e,t){this._helper.overrideNearFarZ(e,t);}clearNearFarZOverride(){this._helper.clearNearFarZOverride();}getCameraQueryGeometry(e){return this._helper.getCameraQueryGeometry(this.getCameraPoint(),e)}get tileSize(){return this._helper.tileSize}get tileZoom(){return this._helper.tileZoom}get scale(){return this._helper.scale}get worldSize(){return this._helper.worldSize}get width(){return this._helper.width}get height(){return this._helper.height}get lngRange(){return this._helper.lngRange}get latRange(){return this._helper.latRange}get minZoom(){return this._helper.minZoom}get maxZoom(){return this._helper.maxZoom}get zoom(){return this._helper.zoom}get center(){return this._helper.center}get minPitch(){return this._helper.minPitch}get maxPitch(){return this._helper.maxPitch}get pitch(){return this._helper.pitch}get pitchInRadians(){return this._helper.pitchInRadians}get roll(){return this._helper.roll}get rollInRadians(){return this._helper.rollInRadians}get bearing(){return this._helper.bearing}get bearingInRadians(){return this._helper.bearingInRadians}get fov(){return this._helper.fov}get fovInRadians(){return this._helper.fovInRadians}get elevation(){return this._helper.elevation}get minElevationForCurrentTile(){return this._helper.minElevationForCurrentTile}get padding(){return this._helper.padding}get unmodified(){return this._helper.unmodified}get renderWorldCopies(){return this._helper.renderWorldCopies}get cameraToCenterDistance(){return this._helper.cameraToCenterDistance}get constrainOverride(){return this._helper.constrainOverride}get nearZ(){return this._helper.nearZ}get farZ(){return this._helper.farZ}get autoCalculateNearFarZ(){return this._helper.autoCalculateNearFarZ}setTransitionState(e,t){}constructor(e){this._posMatrixCache=new Map,this._alignedPosMatrixCache=new Map,this._fogMatrixCacheF32=new Map,this.defaultConstrain=(e,i)=>{i=t.al(+i,this.minZoom,this.maxZoom);const o={center:new t.W(e.lng,e.lat),zoom:i};let a=this._helper._lngRange;if(!this._helper._renderWorldCopies&&null===a){const e=180-1e-10;a=[-e,e];}const r=this.tileSize*t.ao(o.zoom);let s=0,n=r,l=0,c=r,h=0,u=0;const{x:d,y:_}=this.size;if(this._helper._latRange){const e=this._helper._latRange;s=t.Y(e[1])*r,n=t.Y(e[0])*r,n-s<_&&(h=_/(n-s));}a&&(l=t.X(t.Z(a[0])*r,0,r),c=t.X(t.Z(a[1])*r,0,r),cn&&(g=n-e);}if(a){const e=(l+c)/2;let i=p;this._helper._renderWorldCopies&&(i=t.X(p,e-r/2,e+r/2));const o=d/2;i-oc&&(f=c-o);}if(void 0!==f||void 0!==g){const e=new t.P(null!=f?f:p,null!=g?g:m);o.center=fe(r,e).wrap();}return o},this.applyConstrain=(e,t)=>this._helper.applyConstrain(e,t),this._helper=new Wt({calcMatrices:()=>this._calcMatrices(),defaultConstrain:(e,t)=>this.defaultConstrain(e,t)},e),this._coveringTilesDetailsProvider=new $t;}clone(){const e=new Xt;return e.apply(this,!1),e}apply(e,t,i){this._helper.apply(e,t,i);}get cameraPosition(){return this._cameraPosition}get projectionMatrix(){return this._projectionMatrix}get modelViewProjectionMatrix(){return this._viewProjMatrix}get inverseProjectionMatrix(){return this._invProjMatrix}get mercatorMatrix(){return this._mercatorMatrix}getVisibleUnwrappedCoordinates(e){const i=[new t.ba(0,e)];if(this._helper._renderWorldCopies){const o=this.screenPointToMercatorCoordinate(new t.P(0,0)),a=this.screenPointToMercatorCoordinate(new t.P(this._helper._width,0)),r=this.screenPointToMercatorCoordinate(new t.P(this._helper._width,this._helper._height)),s=this.screenPointToMercatorCoordinate(new t.P(0,this._helper._height)),n=Math.floor(Math.min(o.x,a.x,r.x,s.x)),l=Math.floor(Math.max(o.x,a.x,r.x,s.x)),c=1;for(let o=n-c;o<=l+c;o++)0!==o&&i.push(new t.ba(o,e));}return i}getCameraFrustum(){return Ht.fromInvProjectionMatrix(this._invViewProjMatrix,this.worldSize)}getClippingPlane(){return null}getCoveringTilesDetailsProvider(){return this._coveringTilesDetailsProvider}recalculateZoomAndCenter(e){const t=this.screenPointToLocation(this.centerPoint,e),i=e?e.getElevationForLngLatZoom(t,this._helper._tileZoom):0;this._helper.recalculateZoomAndCenter(i);}setLocationAtPoint(e,i){const o=t.aq(this.elevation,this.center.lat),a=this.screenPointToMercatorCoordinateAtZ(i,o),r=this.screenPointToMercatorCoordinateAtZ(this.centerPoint,o),s=t.a7.fromLngLat(e),n=new t.a7(s.x-(a.x-r.x),s.y-(a.y-r.y));this.setCenter(null==n?void 0:n.toLngLat()),this._helper._renderWorldCopies&&this.setCenter(this.center.wrap());}locationToScreenPoint(e,i){return i?this.coordinatePoint(t.a7.fromLngLat(e),i.getElevationForLngLat(e,this),this._pixelMatrix3D):this.coordinatePoint(t.a7.fromLngLat(e))}screenPointToLocation(e,t){var i;return null===(i=this.screenPointToMercatorCoordinate(e,t))||void 0===i?void 0:i.toLngLat()}screenPointToMercatorCoordinate(e,t){if(t){const i=t.pointCoordinate(e);if(null!=i)return i}return this.screenPointToMercatorCoordinateAtZ(e)}screenPointToMercatorCoordinateAtZ(e,i){const o=i||0,a=[e.x,e.y,0,1],r=[e.x,e.y,1,1];t.aE(a,a,this._pixelMatrixInverse),t.aE(r,r,this._pixelMatrixInverse);const s=a[3],n=r[3],l=a[1]/s,c=r[1]/n,h=a[2]/s,u=r[2]/n,d=h===u?0:(o-h)/(u-h);return new t.a7(t.H.number(a[0]/s,r[0]/n,d)/this.worldSize,t.H.number(l,c,d)/this.worldSize,o)}coordinatePoint(e,i=0,o=this._pixelMatrix){const a=[e.x*this.worldSize,e.y*this.worldSize,i,1];return t.aE(a,a,o),new t.P(a[0]/a[3],a[1]/a[3])}getBounds(){const e=Math.max(0,this._helper._height/2-ge(this));return (new G).extend(this.screenPointToLocation(new t.P(0,e))).extend(this.screenPointToLocation(new t.P(this._helper._width,e))).extend(this.screenPointToLocation(new t.P(this._helper._width,this._helper._height))).extend(this.screenPointToLocation(new t.P(0,this._helper._height)))}isPointOnMapSurface(e,t){return t?null!=t.pointCoordinate(e):e.y>this.height/2-ge(this)}calculatePosMatrix(e,i=!1,o){var a;const r=null!==(a=e.key)&&void 0!==a?a:t.bb(e.wrap,e.canonical.z,e.canonical.z,e.canonical.x,e.canonical.y),s=i?this._alignedPosMatrixCache:this._posMatrixCache;if(s.has(r)){const e=s.get(r);return o?e.f32:e.f64}const n=ve(e,this.worldSize);t.U(n,i?this._alignedProjMatrix:this._viewProjMatrix,n);const l={f64:n,f32:new Float32Array(n)};return s.set(r,l),o?l.f32:l.f64}calculateFogMatrix(e){const i=e.key,o=this._fogMatrixCacheF32;if(o.has(i))return o.get(i);const a=ve(e,this.worldSize);return t.U(a,this._fogMatrix,a),o.set(i,new Float32Array(a)),o.get(i)}calculateCenterFromCameraLngLatAlt(e,t,i,o){return this._helper.calculateCenterFromCameraLngLatAlt(e,t,i,o)}_calculateNearFarZIfNeeded(e,i,o){if(!this._helper.autoCalculateNearFarZ)return;const a=Math.min(this.elevation,this.minElevationForCurrentTile,this.getCameraAltitude()-100),r=e-a*this._helper._pixelPerMeter/Math.cos(i),s=a<0?r:e,n=Math.PI/2+this.pitchInRadians,l=t.an(this.fov)*(Math.abs(Math.cos(t.an(this.roll)))*this.height+Math.abs(Math.sin(t.an(this.roll)))*this.width)/this.height*(.5+o.y/this.height),c=Math.sin(l)*s/Math.sin(t.al(Math.PI-n-l,.01,Math.PI-.01)),h=ge(this),u=Math.atan(h/this._helper.cameraToCenterDistance),d=t.an(.75),_=u>d?2*u*(.5+o.y/(2*h)):d,p=Math.sin(_)*s/Math.sin(t.al(Math.PI-n-_,.01,Math.PI-.01)),m=Math.min(c,p);this._helper._farZ=1.01*(Math.cos(Math.PI/2-i)*m+s),this._helper._nearZ=this._helper._height/50;}_calcMatrices(){if(!this._helper._height)return;const e=this.centerOffset,i=me(this.worldSize,this.center),o=i.x,a=i.y;this._helper._pixelPerMeter=t.aq(1,this.center.lat)*this.worldSize;const r=t.an(Math.min(this.pitch,pe)),s=Math.max(this._helper.cameraToCenterDistance/2,this._helper.cameraToCenterDistance+this._helper._elevation*this._helper._pixelPerMeter/Math.cos(r));let n;var l,c;this._calculateNearFarZIfNeeded(s,r,e),n=new Float64Array(16),t.bc(n,this.fovInRadians,this._helper._width/this._helper._height,this._helper._nearZ,this._helper._farZ),this._invProjMatrix=new Float64Array(16),(l=this._invProjMatrix)[0]=1/(c=n)[0],l[1]=0,l[2]=0,l[3]=0,l[4]=0,l[5]=1/c[5],l[6]=0,l[7]=0,l[8]=0,l[9]=0,l[10]=0,l[11]=1/c[14],l[12]=0,l[13]=0,l[14]=-1,l[15]=c[10]/c[14],n[8]=2*-e.x/this._helper._width,n[9]=2*e.y/this._helper._height,this._projectionMatrix=t.bd(n),t.S(n,n,[1,-1,1]),t.Q(n,n,[0,0,-this._helper.cameraToCenterDistance]),t.be(n,n,-this.rollInRadians),t.bf(n,n,this.pitchInRadians),t.be(n,n,-this.bearingInRadians),t.Q(n,n,[-o,-a,0]),this._mercatorMatrix=t.S([],n,[this.worldSize,this.worldSize,this.worldSize]),t.S(n,n,[1,1,this._helper._pixelPerMeter]),this._pixelMatrix=t.U(new Float64Array(16),this.clipSpaceToPixelsMatrix,n),t.Q(n,n,[0,0,-this.elevation]),this._viewProjMatrix=n,this._invViewProjMatrix=t.bg([],n);const h=[0,0,-1,1];t.aE(h,h,this._invViewProjMatrix),this._cameraPosition=[h[0]/h[3],h[1]/h[3],h[2]/h[3]],this._fogMatrix=new Float64Array(16),t.bc(this._fogMatrix,this.fovInRadians,this.width/this.height,s,this._helper._farZ),this._fogMatrix[8]=2*-e.x/this.width,this._fogMatrix[9]=2*e.y/this.height,t.S(this._fogMatrix,this._fogMatrix,[1,-1,1]),t.Q(this._fogMatrix,this._fogMatrix,[0,0,-this.cameraToCenterDistance]),t.be(this._fogMatrix,this._fogMatrix,-this.rollInRadians),t.bf(this._fogMatrix,this._fogMatrix,this.pitchInRadians),t.be(this._fogMatrix,this._fogMatrix,-this.bearingInRadians),t.Q(this._fogMatrix,this._fogMatrix,[-o,-a,0]),t.S(this._fogMatrix,this._fogMatrix,[1,1,this._helper._pixelPerMeter]),t.Q(this._fogMatrix,this._fogMatrix,[0,0,-this.elevation]),this._pixelMatrix3D=t.U(new Float64Array(16),this.clipSpaceToPixelsMatrix,n);const u=this._helper._width%2/2,d=this._helper._height%2/2,_=Math.cos(this.bearingInRadians),p=Math.sin(-this.bearingInRadians),m=o-Math.round(o)+_*u+p*d,f=a-Math.round(a)+_*d+p*u,g=new Float64Array(n);if(t.Q(g,g,[m>.5?m-1:m,f>.5?f-1:f,0]),this._alignedProjMatrix=g,n=t.bg(new Float64Array(16),this._pixelMatrix),!n)throw new Error("failed to invert matrix");this._pixelMatrixInverse=n,this._clearMatrixCaches();}_clearMatrixCaches(){this._posMatrixCache.clear(),this._alignedPosMatrixCache.clear(),this._fogMatrixCacheF32.clear();}maxPitchScaleFactor(){if(!this._pixelMatrixInverse)return 1;const e=this.screenPointToMercatorCoordinate(new t.P(0,0)),i=[e.x*this.worldSize,e.y*this.worldSize,0,1];return t.aE(i,i,this._pixelMatrix)[3]/this._helper.cameraToCenterDistance}getCameraPoint(){return this._helper.getCameraPoint()}getCameraAltitude(){return this._helper.getCameraAltitude()}getCameraLngLat(){const e=t.aq(1,this.center.lat)*this.worldSize;return xe(this.center,this.elevation,this.pitch,this.bearing,this._helper.cameraToCenterDistance/e).toLngLat()}lngLatToCameraDepth(e,i){const o=t.a7.fromLngLat(e),a=[o.x*this.worldSize,o.y*this.worldSize,i,1];return t.aE(a,a,this._viewProjMatrix),a[2]/a[3]}getProjectionData(e){const{overscaledTileID:i,aligned:o,applyTerrainMatrix:a}=e,r=this._helper.getMercatorTileCoordinates(i),s=i?this.calculatePosMatrix(i,o,!0):null;let n;return n=(null==i?void 0:i.terrainRttPosMatrix32f)&&a?i.terrainRttPosMatrix32f:s||t.bh(),{mainMatrix:n,tileMercatorCoords:r,clippingPlane:[0,0,0,0],projectionTransition:0,fallbackMatrix:n}}isLocationOccluded(e){return !1}getPixelScale(){return 1}getCircleRadiusCorrection(){return 1}getPitchedTextCorrection(e,t,i){return 1}transformLightDirection(e){return t.a$(e)}getRayDirectionFromPixel(e){throw new Error("Not implemented.")}projectTileCoordinates(e,i,o,a){const r=this.calculatePosMatrix(o);let s;a?(s=[e,i,a(e,i),1],t.aE(s,s,r)):(s=[e,i,0,1],nt(s,s,r));const n=s[3];return {point:new t.P(s[0]/n,s[1]/n),signedDistanceFromCamera:n,isOccluded:!1}}populateCache(e){for(const t of e)this.calculatePosMatrix(t);}getMatrixForModel(e,i){const o=t.a7.fromLngLat(e,i),a=o.meterInMercatorCoordinateUnits(),r=t.bi();return t.Q(r,r,[o.x,o.y,o.z]),t.be(r,r,Math.PI),t.bf(r,r,Math.PI/2),t.S(r,r,[-a,a,a]),r}getProjectionDataForCustomLayer(e=!0){const i=new t.a3(0,0,0,0,0),o=this.getProjectionData({overscaledTileID:i,applyGlobeMatrix:e}),a=ve(i,this.worldSize);t.U(a,this._viewProjMatrix,a),o.tileMercatorCoords=[0,0,1,1];const r=[t.a6,t.a6,this.worldSize/this._helper.pixelsPerMeter],s=t.bj();return t.S(s,a,r),o.fallbackMatrix=s,o.mainMatrix=s,o}getFastPathSimpleProjectionMatrix(e){return this.calculatePosMatrix(e)}}function Kt(){t.w("Map cannot fit within canvas with the given bounds, padding, and/or offset.");}function Yt(e){if(e.useSlerp)if(e.k<1){const i=t.bk(e.startEulerAngles.roll,e.startEulerAngles.pitch,e.startEulerAngles.bearing),o=t.bk(e.endEulerAngles.roll,e.endEulerAngles.pitch,e.endEulerAngles.bearing),a=new Float64Array(4);t.bl(a,i,o,e.k);const r=t.bm(a);e.tr.setRoll(r.roll),e.tr.setPitch(r.pitch),e.tr.setBearing(r.bearing);}else e.tr.setRoll(e.endEulerAngles.roll),e.tr.setPitch(e.endEulerAngles.pitch),e.tr.setBearing(e.endEulerAngles.bearing);else e.tr.setRoll(t.H.number(e.startEulerAngles.roll,e.endEulerAngles.roll,e.k)),e.tr.setPitch(t.H.number(e.startEulerAngles.pitch,e.endEulerAngles.pitch,e.k)),e.tr.setBearing(t.H.number(e.startEulerAngles.bearing,e.endEulerAngles.bearing,e.k));}function Qt(e,i,o,a,r){const s=r.padding,n=me(r.worldSize,o.getNorthWest()),l=me(r.worldSize,o.getNorthEast()),c=me(r.worldSize,o.getSouthEast()),h=me(r.worldSize,o.getSouthWest()),u=t.an(-a),d=n.rotate(u),_=l.rotate(u),p=c.rotate(u),m=h.rotate(u),f=new t.P(Math.max(d.x,_.x,m.x,p.x),Math.max(d.y,_.y,m.y,p.y)),g=new t.P(Math.min(d.x,_.x,m.x,p.x),Math.min(d.y,_.y,m.y,p.y)),v=f.sub(g),x=(r.width-(s.left+s.right+i.left+i.right))/v.x,b=(r.height-(s.top+s.bottom+i.top+i.bottom))/v.y;if(b<0||x<0)return void Kt();const y=Math.min(t.ar(r.scale*Math.min(x,b)),e.maxZoom),w=t.P.convert(e.offset),T=new t.P((i.left-i.right)/2,(i.top-i.bottom)/2).rotate(t.an(a)),P=w.add(T).mult(r.scale/t.ao(y));return {center:fe(r.worldSize,n.add(c).div(2).sub(P)),zoom:y,bearing:a}}class Jt{get useGlobeControls(){return !1}handlePanInertia(e,t){const i=e.mag(),o=Math.abs(ge(t));return {easingOffset:e.mult(Math.min(.75*o/i,1)),easingCenter:t.center}}handleMapControlsRollPitchBearingZoom(e,t){e.bearingDelta&&t.setBearing(t.bearing+e.bearingDelta),e.pitchDelta&&t.setPitch(t.pitch+e.pitchDelta),e.rollDelta&&t.setRoll(t.roll+e.rollDelta),e.zoomDelta&&t.setZoom(t.zoom+e.zoomDelta);}handleMapControlsPan(e,t,i){e.around.distSqr(t.centerPoint)<.01||t.setLocationAtPoint(i,e.around);}cameraForBoxAndBearing(e,t,i,o,a){return Qt(e,t,i,o,a)}handleJumpToCenterZoom(e,i){e.zoom!==(void 0!==i.zoom?+i.zoom:e.zoom)&&e.setZoom(+i.zoom),void 0!==i.center&&e.setCenter(t.W.convert(i.center));}handleEaseTo(e,i){const o=e.zoom,a=e.padding,r={roll:e.roll,pitch:e.pitch,bearing:e.bearing},s={roll:void 0===i.roll?e.roll:i.roll,pitch:void 0===i.pitch?e.pitch:i.pitch,bearing:void 0===i.bearing?e.bearing:i.bearing},n=void 0!==i.zoom,l=!e.isPaddingEqual(i.padding);let c=!1;const h=n?+i.zoom:e.zoom;let u=e.centerPoint.add(i.offsetAsPoint);const d=e.screenPointToLocation(u),{center:_,zoom:p}=e.applyConstrain(t.W.convert(i.center||d),null!=h?h:o);Gt(e,_);const m=me(e.worldSize,d),f=me(e.worldSize,_).sub(m),g=t.ao(p-o);return c=p!==o,{easeFunc:n=>{if(c&&e.setZoom(t.H.number(o,p,n)),t.bn(r,s)||Yt({startEulerAngles:r,endEulerAngles:s,tr:e,k:n,useSlerp:r.roll!=s.roll}),l&&(e.interpolatePadding(a,i.padding,n),u=e.centerPoint.add(i.offsetAsPoint)),i.around)e.setLocationAtPoint(i.around,i.aroundPoint);else {const i=t.ao(e.zoom-o),a=p>o?Math.min(2,g):Math.max(.5,g),r=Math.pow(a,1-n),s=fe(e.worldSize,m.add(f.mult(n*r)).mult(i));e.setLocationAtPoint(e.renderWorldCopies?s.wrap():s,u);}},isZooming:c,elevationCenter:_}}handleFlyTo(e,i){const o=void 0!==i.zoom,a=e.zoom,r=e.applyConstrain(t.W.convert(i.center||i.locationAtOffset),o?+i.zoom:a),s=r.center,n=r.zoom;Gt(e,s);const l=me(e.worldSize,i.locationAtOffset),c=me(e.worldSize,s).sub(l),h=c.mag(),u=t.ao(n-a);let d;if(void 0!==i.minZoom){const o=Math.min(+i.minZoom,a,n),r=e.applyConstrain(s,o).zoom;d=t.ao(r-a);}return {easeFunc:(i,o,r,h)=>{e.setZoom(1===i?n:a+t.ar(o));const u=1===i?s:fe(e.worldSize,l.add(c.mult(r)).mult(o));e.setLocationAtPoint(e.renderWorldCopies?u.wrap():u,h);},scaleOfZoom:u,targetCenter:s,scaleOfMinZoom:d,pixelPathLength:h}}}class ei{constructor(e,t,i){this.blendFunction=e,this.blendColor=t,this.mask=i;}}ei.Replace=[1,0],ei.disabled=new ei(ei.Replace,t.bo.transparent,[!1,!1,!1,!1]),ei.unblended=new ei(ei.Replace,t.bo.transparent,[!0,!0,!0,!0]),ei.alphaBlended=new ei([1,771],t.bo.transparent,[!0,!0,!0,!0]);const ti=2305;class ii{constructor(e,t,i){this.enable=e,this.mode=t,this.frontFace=i;}}ii.disabled=new ii(!1,1029,ti),ii.backCCW=new ii(!0,1029,ti),ii.frontCCW=new ii(!0,1028,ti);class oi{constructor(e,t,i){this.func=e,this.mask=t,this.range=i;}}oi.ReadOnly=!1,oi.ReadWrite=!0,oi.disabled=new oi(519,oi.ReadOnly,[0,1]);const ai=7680;class ri{constructor(e,t,i,o,a,r){this.test=e,this.ref=t,this.mask=i,this.fail=o,this.depthFail=a,this.pass=r;}}function si(e){return "undefined"!=typeof WebGL2RenderingContext&&e instanceof WebGL2RenderingContext}ri.disabled=new ri({func:519,mask:0},0,0,ai,ai,ai);class ni{get awaitingQuery(){return !!this._readbackQueue}constructor(e){this._readbackWaitFrames=4,this._measureWaitFrames=6,this._texWidth=1,this._texHeight=1,this._measuredError=0,this._updateCount=0,this._lastReadbackFrame=-1e3,this._readbackQueue=null,this._cachedRenderContext=e;const i=e.context,o=i.gl;this._texFormat=o.RGBA,this._texType=o.UNSIGNED_BYTE;const a=new t.aU;a.emplaceBack(-1,-1),a.emplaceBack(2,-1),a.emplaceBack(-1,2);const r=new t.aW;r.emplaceBack(0,1,2),this._fullscreenTriangle=new Bt(i.createVertexBuffer(a,Ot.members),i.createIndexBuffer(r),t.aV.simpleSegment(0,0,a.length,r.length)),this._resultBuffer=new Uint8Array(4),i.activeTexture.set(o.TEXTURE1);const s=o.createTexture();o.bindTexture(o.TEXTURE_2D,s),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_WRAP_S,o.CLAMP_TO_EDGE),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_WRAP_T,o.CLAMP_TO_EDGE),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_MIN_FILTER,o.NEAREST),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_MAG_FILTER,o.NEAREST),o.texImage2D(o.TEXTURE_2D,0,this._texFormat,this._texWidth,this._texHeight,0,this._texFormat,this._texType,null),this._fbo=i.createFramebuffer(this._texWidth,this._texHeight,!1,!1),this._fbo.colorAttachment.set(s),si(o)&&(this._pbo=o.createBuffer(),o.bindBuffer(o.PIXEL_PACK_BUFFER,this._pbo),o.bufferData(o.PIXEL_PACK_BUFFER,4,o.STREAM_READ),o.bindBuffer(o.PIXEL_PACK_BUFFER,null));}destroy(){const e=this._cachedRenderContext.context.gl;this._fullscreenTriangle.destroy(),this._fbo.destroy(),e.deleteBuffer(this._pbo),this._fullscreenTriangle=null,this._fbo=null,this._pbo=null,this._resultBuffer=null;}updateErrorLoop(e,t){const i=this._updateCount;return this._readbackQueue?i>=this._readbackQueue.frameNumberIssued+this._readbackWaitFrames&&this._tryReadback():i>=this._lastReadbackFrame+this._measureWaitFrames&&this._renderErrorTexture(e,t),this._updateCount++,this._measuredError}_bindFramebuffer(){const e=this._cachedRenderContext.context,t=e.gl;e.activeTexture.set(t.TEXTURE1),t.bindTexture(t.TEXTURE_2D,this._fbo.colorAttachment.get()),e.bindFramebuffer.set(this._fbo.framebuffer);}_renderErrorTexture(e,i){const o=this._cachedRenderContext.context,a=o.gl;if(this._bindFramebuffer(),o.viewport.set([0,0,this._texWidth,this._texHeight]),o.clear({color:t.bo.transparent}),this._cachedRenderContext.useProgram("projectionErrorMeasurement").draw(o,a.TRIANGLES,oi.disabled,ri.disabled,ei.unblended,ii.disabled,((e,t)=>({u_input:e,u_output_expected:t}))(e,i),null,null,"$clipping",this._fullscreenTriangle.vertexBuffer,this._fullscreenTriangle.indexBuffer,this._fullscreenTriangle.segments),this._pbo&&si(a)){a.bindBuffer(a.PIXEL_PACK_BUFFER,this._pbo),a.readBuffer(a.COLOR_ATTACHMENT0),a.readPixels(0,0,this._texWidth,this._texHeight,this._texFormat,this._texType,0),a.bindBuffer(a.PIXEL_PACK_BUFFER,null);const e=a.fenceSync(a.SYNC_GPU_COMMANDS_COMPLETE,0);a.flush(),this._readbackQueue={frameNumberIssued:this._updateCount,sync:e};}else this._readbackQueue={frameNumberIssued:this._updateCount,sync:null};}_tryReadback(){const e=this._cachedRenderContext.context.gl;if(this._pbo&&this._readbackQueue&&si(e)){const i=e.clientWaitSync(this._readbackQueue.sync,0,0);if(i===e.WAIT_FAILED)return t.w("WebGL2 clientWaitSync failed."),this._readbackQueue=null,void(this._lastReadbackFrame=this._updateCount);if(i===e.TIMEOUT_EXPIRED)return;e.bindBuffer(e.PIXEL_PACK_BUFFER,this._pbo),e.getBufferSubData(e.PIXEL_PACK_BUFFER,0,this._resultBuffer,0,4),e.bindBuffer(e.PIXEL_PACK_BUFFER,null);}else this._bindFramebuffer(),e.readPixels(0,0,this._texWidth,this._texHeight,this._texFormat,this._texType,this._resultBuffer);this._readbackQueue=null,this._measuredError=ni._parseRGBA8float(this._resultBuffer),this._lastReadbackFrame=this._updateCount;}static _parseRGBA8float(e){let t=0;return t+=e[0]/256,t+=e[1]/65536,t+=e[2]/16777216,e[3]<127&&(t=-t),t/128}}const li=t.a6/128;function ci(e,i){const o=void 0!==e.granularity?Math.max(e.granularity,1):1,a=o+(e.generateBorders?2:0),r=o+(e.extendToNorthPole||e.generateBorders?1:0)+(e.extendToSouthPole||e.generateBorders?1:0),s=a+1,n=r+1,l=e.generateBorders?-1:0,c=e.generateBorders||e.extendToNorthPole?-1:0,h=o+(e.generateBorders?1:0),u=o+(e.generateBorders||e.extendToSouthPole?1:0),d=s*n,_=a*r*6,p=s*n>65536;if(p&&"16bit"===i)throw new Error("Granularity is too large and meshes would not fit inside 16 bit vertex indices.");const m=p||"32bit"===i,f=new Int16Array(2*d);let g=0;for(let i=c;i<=u;i++)for(let a=l;a<=h;a++){let r=a/o*t.a6;-1===a&&(r=-li),a===o+1&&(r=t.a6+li);let s=i/o*t.a6;-1===i&&(s=e.extendToNorthPole?t.bq:-li),i===o+1&&(s=e.extendToSouthPole?t.br:t.a6+li),f[g++]=r,f[g++]=s;}const v=m?new Uint32Array(_):new Uint16Array(_);let x=0;for(let e=0;e0}get latitudeErrorCorrectionRadians(){return this._verticalPerspectiveProjection.latitudeErrorCorrectionRadians}get currentProjection(){return this.useGlobeRendering?this._verticalPerspectiveProjection:this._mercatorProjection}get name(){return "globe"}get useSubdivision(){return this.currentProjection.useSubdivision}get shaderVariantName(){return this.currentProjection.shaderVariantName}get shaderDefine(){return this.currentProjection.shaderDefine}get shaderPreludeCode(){return this.currentProjection.shaderPreludeCode}get vertexShaderPreludeCode(){return this.currentProjection.vertexShaderPreludeCode}get subdivisionGranularity(){return this.currentProjection.subdivisionGranularity}get useGlobeControls(){return this.transitionState>0}destroy(){this._mercatorProjection.destroy(),this._verticalPerspectiveProjection.destroy();}updateGPUdependent(e){this._mercatorProjection.updateGPUdependent(e),this._verticalPerspectiveProjection.updateGPUdependent(e);}getMeshFromTileID(e,t,i,o,a){return this.currentProjection.getMeshFromTileID(e,t,i,o,a)}setProjection(e){this._transitionable.setValue("type",(null==e?void 0:e.type)||"mercator");}updateTransitions(e){this._transitioning=this._transitionable.transitioned(e,this._transitioning);}hasTransition(){return this._transitioning.hasTransition()||this.currentProjection.hasTransition()}recalculate(e){this.properties=this._transitioning.possiblyEvaluate(e);}setErrorQueryLatitudeDegrees(e){this._verticalPerspectiveProjection.setErrorQueryLatitudeDegrees(e),this._mercatorProjection.setErrorQueryLatitudeDegrees(e);}}function pi(e){const t=gi(e.worldSize,e.center.lat);return 2*Math.PI*t}function mi(e,i,o,a,r){const s=1/(1<1e-6){const a=e[0]/o,r=Math.acos(e[2]/o),s=(a>0?r:-r)/Math.PI*180;return new t.W(t.X(s,-180,180),i)}return new t.W(0,i)}function xi(e){return Math.cos(e*Math.PI/180)}function bi(e,i){const o=xi(e),a=xi(i);return t.ar(a/o)}function yi(e,i){const o=e.rotate(i.bearingInRadians),a=i.zoom+bi(i.center.lat,0),r=t.bt(1/xi(i.center.lat),1/xi(Math.min(Math.abs(i.center.lat),60)),t.bw(a,7,3,0,1)),s=360/pi({worldSize:i.worldSize,center:{lat:i.center.lat}});return new t.W(i.center.lng-o.x*s*r,t.al(i.center.lat+o.y*s,-t.am,t.am))}function wi(e){const t=.5*e,i=Math.sin(t),o=Math.cos(t);return Math.log(i+o)-Math.log(o-i)}function Ti(e,i,o,a){const r=e.lat+o*a;if(Math.abs(o)>1){const s=(Math.sign(e.lat+o)!==Math.sign(e.lat)?-Math.abs(e.lat):Math.abs(e.lat))*Math.PI/180,n=Math.abs(e.lat+o)*Math.PI/180,l=wi(s+a*(n-s)),c=wi(s),h=wi(n);return new t.W(e.lng+i*((l-c)/(h-c)),r)}return new t.W(e.lng+i*a,r)}class Pi{constructor(e){this._cachePrevious=new Map,this._cache=new Map,this._hadAnyChanges=!1,this._boundingVolumeFactory=e;}swapBuffers(){if(!this._hadAnyChanges)return;const e=this._cachePrevious;this._cachePrevious=this._cache,this._cache=e,this._cache.clear(),this._hadAnyChanges=!1;}getTileBoundingVolume(e,t,i,o){const a=`${e.z}_${e.x}_${e.y}_${(null==o?void 0:o.terrain)?"t":""}`,r=this._cache.get(a);if(r)return r;const s=this._cachePrevious.get(a);if(s)return this._cache.set(a,s),s;const n=this._boundingVolumeFactory(e,t,i,o);return this._cache.set(a,n),this._hadAnyChanges=!0,n}}class Ci{constructor(e,t,i,o){this.min=i,this.max=o,this.points=e,this.planes=t;}static fromAabb(e,t){const i=[];for(let o=0;o<8;o++)i.push([1&~o?e[0]:t[0],1==(o>>1&1)?t[1]:e[1],1==(o>>2&1)?t[2]:e[2]]);return new Ci(i,[[-1,0,0,t[0]],[1,0,0,-e[0]],[0,-1,0,t[1]],[0,1,0,-e[1]],[0,0,-1,t[2]],[0,0,1,-e[2]]],e,t)}static fromCenterSizeAngles(e,i,o){const a=t.bA([],o[0],o[1],o[2]),r=t.bB([],[i[0],0,0],a),s=t.bB([],[0,i[1],0],a),n=t.bB([],[0,0,i[2]],a),l=[...e],c=[...e];for(let t=0;t<8;t++)for(let i=0;i<3;i++){const o=e[i]+r[i]*(1&~t?-1:1)+s[i]*(1==(t>>1&1)?1:-1)+n[i]*(1==(t>>2&1)?1:-1);l[i]=Math.min(l[i],o),c[i]=Math.max(c[i],o);}const h=[];for(let i=0;i<8;i++){const o=[...e];t.a_(o,o,t.aZ([],r,1&~i?-1:1)),t.a_(o,o,t.aZ([],s,1==(i>>1&1)?1:-1)),t.a_(o,o,t.aZ([],n,1==(i>>2&1)?1:-1)),h.push(o);}return new Ci(h,[[...r,-t.b3(r,h[0])],[...s,-t.b3(s,h[0])],[...n,-t.b3(n,h[0])],[-r[0],-r[1],-r[2],-t.b3(r,h[7])],[-s[0],-s[1],-s[2],-t.b3(s,h[7])],[-n[0],-n[1],-n[2],-t.b3(n,h[7])]],l,c)}intersectsFrustum(e){let t=!0;const i=this.points.length,o=this.planes.length,a=e.planes.length,r=e.points.length;for(let o=0;o=0&&r++;}if(0===r)return 0;r=0&&o++;}if(0===o)return 0}return 1}intersectsPlane(e){const t=this.points.length;let i=0;for(let o=0;o=0&&i++;}return i===t?2:0===i?0:1}}function Mi(e,t,i){const o=e-t;return o<0?-o:Math.max(0,o-i)}function Ii(e,t,i,o,a){const r=e-i;let s;return s=r<0?Math.min(-r,1+r-a):r>a?Math.min(Math.max(r-a,0),1-r):0,Math.max(s,Mi(t,o,a))}class Ei{constructor(){this._boundingVolumeCache=new Pi(this._computeTileBoundingVolume);}prepareNextFrame(){this._boundingVolumeCache.swapBuffers();}distanceToTile2d(e,t,i,o){const a=1<4}allowWorldCopies(){return !1}getTileBoundingVolume(e,t,i,o){return this._boundingVolumeCache.getTileBoundingVolume(e,t,i,o)}_computeTileBoundingVolume(e,i,o,a){var r,s;let n=0,l=0;if(null==a?void 0:a.terrain){const c=new t.a3(e.z,i,e.z,e.x,e.y),h=a.terrain.getMinMaxElevation(c);n=null!==(r=h.minElevation)&&void 0!==r?r:Math.min(0,o),l=null!==(s=h.maxElevation)&&void 0!==s?s:Math.max(0,o);}if(n/=t.bD,l/=t.bD,n+=1,l+=1,e.z<=0)return Ci.fromAabb([-l,-l,-l],[l,l,l]);if(1===e.z)return Ci.fromAabb([0===e.x?-l:0,0===e.y?0:-l,-l],[0===e.x?0:l,0===e.y?l:0,l]);{const i=[mi(0,0,e.x,e.y,e.z),mi(t.a6,0,e.x,e.y,e.z),mi(t.a6,t.a6,e.x,e.y,e.z),mi(0,t.a6,e.x,e.y,e.z)],o=[];for(const e of i)o.push(t.aZ([],e,l));if(l!==n)for(const e of i)o.push(t.aZ([],e,n));0===e.y&&o.push([0,1,0]),e.y===(1<=(1<{const o=t.al(e.lat,-t.am,t.am),a=t.al(+i,this.minZoom+bi(0,o),this.maxZoom);return {center:new t.W(e.lng,o),zoom:a}},this.applyConstrain=(e,t)=>this._helper.applyConstrain(e,t),this._helper=new Wt({calcMatrices:()=>this._calcMatrices(),defaultConstrain:(e,t)=>this.defaultConstrain(e,t)},e),this._coveringTilesDetailsProvider=new Ei;}clone(){const e=new zi;return e.apply(this,!1),e}apply(e,t,i){this._globeLatitudeErrorCorrectionRadians=i||0,this._helper.apply(e,t);}get projectionMatrix(){return this._projectionMatrix}get modelViewProjectionMatrix(){return this._globeViewProjMatrixNoCorrection}get inverseProjectionMatrix(){return this._globeProjMatrixInverted}get cameraPosition(){const e=t.bz();return e[0]=this._cameraPosition[0],e[1]=this._cameraPosition[1],e[2]=this._cameraPosition[2],e}get cameraToCenterDistance(){return this._helper.cameraToCenterDistance}getProjectionData(e){const{overscaledTileID:t,applyGlobeMatrix:i}=e,o=this._helper.getMercatorTileCoordinates(t);return {mainMatrix:this._globeViewProjMatrix32f,tileMercatorCoords:o,clippingPlane:this._cachedClippingPlane,projectionTransition:i?1:0,fallbackMatrix:this._globeViewProjMatrix32f}}_computeClippingPlane(e){const i=this.pitchInRadians,o=this.cameraToCenterDistance/e,a=Math.sin(i)*o,r=Math.cos(i)*o+1,s=1/Math.sqrt(a*a+r*r)*1;let n=-a,l=r;const c=Math.sqrt(n*n+l*l);n/=c,l/=c;const h=[0,n,l];t.bF(h,h,[0,0,0],-this.bearingInRadians),t.bG(h,h,[0,0,0],-1*this.center.lat*Math.PI/180),t.bH(h,h,[0,0,0],this.center.lng*Math.PI/180);const u=1/t.b5(h);return t.aZ(h,h,u),[...h,-s*u]}isLocationOccluded(e){return !this.isSurfacePointVisible(fi(e))}transformLightDirection(e){const i=this._helper._center.lng*Math.PI/180,o=this._helper._center.lat*Math.PI/180,a=Math.cos(o),r=[Math.sin(i)*a,Math.sin(o),Math.cos(i)*a],s=[r[2],0,-r[0]],n=[0,0,0];t.b2(n,s,r),t.b1(s,s),t.b1(n,n);const l=[0,0,0];return t.b1(l,[s[0]*e[0]+n[0]*e[1]+r[0]*e[2],s[1]*e[0]+n[1]*e[1]+r[1]*e[2],s[2]*e[0]+n[2]*e[1]+r[2]*e[2]]),l}getPixelScale(){return 1/Math.cos(this._helper._center.lat*Math.PI/180)}getCircleRadiusCorrection(){return Math.cos(this._helper._center.lat*Math.PI/180)}getPitchedTextCorrection(e,i,o){const a=function(e,i,o){const a=1/(1<r&&(r=i),on&&(n=o);}const h=[c.lng+s,c.lat+l,c.lng+r,c.lat+n];return this.isSurfacePointOnScreen([0,1,0])&&(h[3]=90,h[0]=-180,h[2]=180),this.isSurfacePointOnScreen([0,-1,0])&&(h[1]=-90,h[0]=-180,h[2]=180),new G(h)}calculateCenterFromCameraLngLatAlt(e,t,i,o){return this._helper.calculateCenterFromCameraLngLatAlt(e,t,i,o)}setLocationAtPoint(e,i){const o=fi(this.unprojectScreenPoint(i)),a=fi(e),r=t.bz();t.bK(r);const s=t.bz();t.bH(s,o,r,-this.center.lng*Math.PI/180),t.bG(s,s,r,this.center.lat*Math.PI/180);const n=a[0]*a[0]+a[2]*a[2],l=s[0]*s[0];if(n=-g&&p<=g,x=f>=-g&&f<=g;let b,y;if(v&&x){const e=this.center.lng*Math.PI/180,i=this.center.lat*Math.PI/180;t.bM(u,e)+t.bM(p,i)=0}isSurfacePointOnScreen(e){if(!this.isSurfacePointVisible(e))return !1;const i=t.bE();return t.aE(i,[...e,1],this._globeViewProjMatrixNoCorrection),i[0]/=i[3],i[1]/=i[3],i[2]/=i[3],i[0]>-1&&i[0]<1&&i[1]>-1&&i[1]<1&&i[2]>-1&&i[2]<1}rayPlanetIntersection(e,i){const o=t.b3(e,i),a=t.bz(),r=t.bz();t.aZ(r,i,o),t.b0(a,e,r);const s=1-t.b3(a,a);if(s<0)return null;const n=t.b3(e,e)-1,l=-o+(o<0?1:-1)*Math.sqrt(s),c=n/l,h=l;return {tMin:Math.min(c,h),tMax:Math.max(c,h)}}unprojectScreenPoint(e){const i=this._cameraPosition,o=this.getRayDirectionFromPixel(e),a=this.rayPlanetIntersection(i,o);if(a){const e=t.bz();t.a_(e,i,[o[0]*a.tMin,o[1]*a.tMin,o[2]*a.tMin]);const r=t.bz();return t.b1(r,e),vi(r)}const r=this._cachedClippingPlane,s=r[0]*o[0]+r[1]*o[1]+r[2]*o[2],n=-t.b9(r,i)/s,l=t.bz();if(n>0)t.a_(l,i,[o[0]*n,o[1]*n,o[2]*n]);else {const e=t.bz();t.a_(e,i,[2*o[0],2*o[1],2*o[2]]);const a=t.b9(this._cachedClippingPlane,e);t.b0(l,e,[this._cachedClippingPlane[0]*a,this._cachedClippingPlane[1]*a,this._cachedClippingPlane[2]*a]);}const c=function(e){const i=t.bz();return i[0]=e[0]*-e[3],i[1]=e[1]*-e[3],i[2]=e[2]*-e[3],{center:i,radius:Math.sqrt(1-e[3]*e[3])}}(r);return vi(function(e,i,o){const a=t.bz();t.b0(a,o,e);const r=t.bz();return t.bx(r,e,a,i/t.b7(a)),r}(c.center,c.radius,l))}getMatrixForModel(e,i){const o=t.W.convert(e),a=1/t.bD,r=t.bi();return t.bI(r,r,o.lng/180*Math.PI),t.bf(r,r,-o.lat/180*Math.PI),t.Q(r,r,[0,0,1+i/t.bD]),t.bf(r,r,.5*Math.PI),t.S(r,r,[a,a,a]),r}getProjectionDataForCustomLayer(e=!0){const i=this.getProjectionData({overscaledTileID:new t.a3(0,0,0,0,0),applyGlobeMatrix:e});return i.tileMercatorCoords=[0,0,1,1],i}getFastPathSimpleProjectionMatrix(e){}}class Ri{get pixelsToClipSpaceMatrix(){return this._helper.pixelsToClipSpaceMatrix}get clipSpaceToPixelsMatrix(){return this._helper.clipSpaceToPixelsMatrix}get pixelsToGLUnits(){return this._helper.pixelsToGLUnits}get centerOffset(){return this._helper.centerOffset}get size(){return this._helper.size}get rotationMatrix(){return this._helper.rotationMatrix}get centerPoint(){return this._helper.centerPoint}get pixelsPerMeter(){return this._helper.pixelsPerMeter}setMinZoom(e){this._helper.setMinZoom(e);}setMaxZoom(e){this._helper.setMaxZoom(e);}setMinPitch(e){this._helper.setMinPitch(e);}setMaxPitch(e){this._helper.setMaxPitch(e);}setRenderWorldCopies(e){this._helper.setRenderWorldCopies(e);}setBearing(e){this._helper.setBearing(e);}setPitch(e){this._helper.setPitch(e);}setRoll(e){this._helper.setRoll(e);}setFov(e){this._helper.setFov(e);}setZoom(e){this._helper.setZoom(e);}setCenter(e){this._helper.setCenter(e);}setElevation(e){this._helper.setElevation(e);}setMinElevationForCurrentTile(e){this._helper.setMinElevationForCurrentTile(e);}setPadding(e){this._helper.setPadding(e);}interpolatePadding(e,t,i){this._helper.interpolatePadding(e,t,i);}isPaddingEqual(e){return this._helper.isPaddingEqual(e)}resize(e,t,i=!0){this._helper.resize(e,t,i);}getMaxBounds(){return this._helper.getMaxBounds()}setMaxBounds(e){this._helper.setMaxBounds(e);}setConstrainOverride(e){this._helper.setConstrainOverride(e);}overrideNearFarZ(e,t){this._helper.overrideNearFarZ(e,t);}clearNearFarZOverride(){this._helper.clearNearFarZOverride();}getCameraQueryGeometry(e){return this._helper.getCameraQueryGeometry(this.getCameraPoint(),e)}get tileSize(){return this._helper.tileSize}get tileZoom(){return this._helper.tileZoom}get scale(){return this._helper.scale}get worldSize(){return this._helper.worldSize}get width(){return this._helper.width}get height(){return this._helper.height}get lngRange(){return this._helper.lngRange}get latRange(){return this._helper.latRange}get minZoom(){return this._helper.minZoom}get maxZoom(){return this._helper.maxZoom}get zoom(){return this._helper.zoom}get center(){return this._helper.center}get minPitch(){return this._helper.minPitch}get maxPitch(){return this._helper.maxPitch}get pitch(){return this._helper.pitch}get pitchInRadians(){return this._helper.pitchInRadians}get roll(){return this._helper.roll}get rollInRadians(){return this._helper.rollInRadians}get bearing(){return this._helper.bearing}get bearingInRadians(){return this._helper.bearingInRadians}get fov(){return this._helper.fov}get fovInRadians(){return this._helper.fovInRadians}get elevation(){return this._helper.elevation}get minElevationForCurrentTile(){return this._helper.minElevationForCurrentTile}get padding(){return this._helper.padding}get unmodified(){return this._helper.unmodified}get renderWorldCopies(){return this._helper.renderWorldCopies}get cameraToCenterDistance(){return this._helper.cameraToCenterDistance}get constrainOverride(){return this._helper.constrainOverride}get nearZ(){return this._helper.nearZ}get farZ(){return this._helper.farZ}get autoCalculateNearFarZ(){return this._helper.autoCalculateNearFarZ}get isGlobeRendering(){return this._globeness>0}setTransitionState(e,t){this._globeness=e,this._globeLatitudeErrorCorrectionRadians=t,this._calcMatrices(),this._verticalPerspectiveTransform.getCoveringTilesDetailsProvider().prepareNextFrame(),this._mercatorTransform.getCoveringTilesDetailsProvider().prepareNextFrame();}get currentTransform(){return this.isGlobeRendering?this._verticalPerspectiveTransform:this._mercatorTransform}constructor(e){this._globeLatitudeErrorCorrectionRadians=0,this._globeness=1,this.defaultConstrain=(e,t)=>this.currentTransform.defaultConstrain(e,t),this.applyConstrain=(e,t)=>this._helper.applyConstrain(e,t),this._helper=new Wt({calcMatrices:()=>this._calcMatrices(),defaultConstrain:(e,t)=>this.defaultConstrain(e,t)},e),this._globeness=1,this._mercatorTransform=new Xt,this._verticalPerspectiveTransform=new zi;}clone(){const e=new Ri;return e._globeness=this._globeness,e._globeLatitudeErrorCorrectionRadians=this._globeLatitudeErrorCorrectionRadians,e.apply(this,!1),e}apply(e,t){this._helper.apply(e,t),this._mercatorTransform.apply(this,!1),this._verticalPerspectiveTransform.apply(this,!1,this._globeLatitudeErrorCorrectionRadians);}get projectionMatrix(){return this.currentTransform.projectionMatrix}get modelViewProjectionMatrix(){return this.currentTransform.modelViewProjectionMatrix}get inverseProjectionMatrix(){return this.currentTransform.inverseProjectionMatrix}get cameraPosition(){return this.currentTransform.cameraPosition}getProjectionData(e){const t=this._mercatorTransform.getProjectionData(e),i=this._verticalPerspectiveTransform.getProjectionData(e);return {mainMatrix:this.isGlobeRendering?i.mainMatrix:t.mainMatrix,clippingPlane:i.clippingPlane,tileMercatorCoords:i.tileMercatorCoords,projectionTransition:e.applyGlobeMatrix?this._globeness:0,fallbackMatrix:t.fallbackMatrix}}isLocationOccluded(e){return this.currentTransform.isLocationOccluded(e)}transformLightDirection(e){return this.currentTransform.transformLightDirection(e)}getPixelScale(){return t.bt(this._mercatorTransform.getPixelScale(),this._verticalPerspectiveTransform.getPixelScale(),this._globeness)}getCircleRadiusCorrection(){return t.bt(this._mercatorTransform.getCircleRadiusCorrection(),this._verticalPerspectiveTransform.getCircleRadiusCorrection(),this._globeness)}getPitchedTextCorrection(e,i,o){const a=this._mercatorTransform.getPitchedTextCorrection(e,i,o),r=this._verticalPerspectiveTransform.getPitchedTextCorrection(e,i,o);return t.bt(a,r,this._globeness)}projectTileCoordinates(e,t,i,o){return this.currentTransform.projectTileCoordinates(e,t,i,o)}_calcMatrices(){this._helper._width&&this._helper._height&&(this._verticalPerspectiveTransform.apply(this,!1,this._globeLatitudeErrorCorrectionRadians),this._helper._nearZ=this._verticalPerspectiveTransform.nearZ,this._helper._farZ=this._verticalPerspectiveTransform.farZ,this._mercatorTransform.apply(this,!0,this.isGlobeRendering),this._helper._nearZ=this._mercatorTransform.nearZ,this._helper._farZ=this._mercatorTransform.farZ);}calculateFogMatrix(e){return this.currentTransform.calculateFogMatrix(e)}getVisibleUnwrappedCoordinates(e){return this.currentTransform.getVisibleUnwrappedCoordinates(e)}getCameraFrustum(){return this.currentTransform.getCameraFrustum()}getClippingPlane(){return this.currentTransform.getClippingPlane()}getCoveringTilesDetailsProvider(){return this.currentTransform.getCoveringTilesDetailsProvider()}recalculateZoomAndCenter(e){this._mercatorTransform.recalculateZoomAndCenter(e),this._verticalPerspectiveTransform.recalculateZoomAndCenter(e);}maxPitchScaleFactor(){return this._mercatorTransform.maxPitchScaleFactor()}getCameraPoint(){return this._helper.getCameraPoint()}getCameraAltitude(){return this._helper.getCameraAltitude()}getCameraLngLat(){return this._helper.getCameraLngLat()}lngLatToCameraDepth(e,t){return this.currentTransform.lngLatToCameraDepth(e,t)}populateCache(e){this._mercatorTransform.populateCache(e),this._verticalPerspectiveTransform.populateCache(e);}getBounds(){return this.currentTransform.getBounds()}calculateCenterFromCameraLngLatAlt(e,t,i,o){return this._helper.calculateCenterFromCameraLngLatAlt(e,t,i,o)}setLocationAtPoint(e,t){if(!this.isGlobeRendering)return this._mercatorTransform.setLocationAtPoint(e,t),void this.apply(this._mercatorTransform,!1);this._verticalPerspectiveTransform.setLocationAtPoint(e,t),this.apply(this._verticalPerspectiveTransform,!1);}locationToScreenPoint(e,t){return this.currentTransform.locationToScreenPoint(e,t)}screenPointToMercatorCoordinate(e,t){return this.currentTransform.screenPointToMercatorCoordinate(e,t)}screenPointToLocation(e,t){return this.currentTransform.screenPointToLocation(e,t)}isPointOnMapSurface(e,t){return this.currentTransform.isPointOnMapSurface(e,t)}getRayDirectionFromPixel(e){return this._verticalPerspectiveTransform.getRayDirectionFromPixel(e)}getMatrixForModel(e,t){return this.currentTransform.getMatrixForModel(e,t)}getProjectionDataForCustomLayer(e=!0){const t=this._mercatorTransform.getProjectionDataForCustomLayer(e);if(!this.isGlobeRendering)return t;const i=this._verticalPerspectiveTransform.getProjectionDataForCustomLayer(e);return i.fallbackMatrix=t.mainMatrix,i}getFastPathSimpleProjectionMatrix(e){return this.currentTransform.getFastPathSimpleProjectionMatrix(e)}}class Di{get useGlobeControls(){return !0}handlePanInertia(e,i){const o=yi(e,i);return Math.abs(o.lng-i.center.lng)>180&&(o.lng=i.center.lng+179.5*Math.sign(o.lng-i.center.lng)),{easingCenter:o,easingOffset:new t.P(0,0)}}handleMapControlsRollPitchBearingZoom(e,i){const o=e.around,a=i.screenPointToLocation(o);e.bearingDelta&&i.setBearing(i.bearing+e.bearingDelta),e.pitchDelta&&i.setPitch(i.pitch+e.pitchDelta),e.rollDelta&&i.setRoll(i.roll+e.rollDelta);const r=i.zoom;e.zoomDelta&&i.setZoom(i.zoom+e.zoomDelta);const s=i.zoom-r;if(0===s)return;const n=t.bJ(i.center.lng,a.lng),l=n/(Math.abs(n/180)+1),c=t.bJ(i.center.lat,a.lat),h=i.getRayDirectionFromPixel(o),u=i.cameraPosition,d=-1*t.b3(u,h),_=t.bz();t.a_(_,u,[h[0]*d,h[1]*d,h[2]*d]);const p=t.b5(_)-1,m=Math.exp(.5*-Math.max(p-.3,0)),f=gi(i.worldSize,i.center.lat)/Math.min(i.width,i.height),g=t.bw(f,.9,.5,1,.25),v=(1-t.ao(-s))*Math.min(m,g),x=i.center.lat,b=i.zoom,y=new t.W(i.center.lng+l*v,t.al(i.center.lat+c*v,-t.am,t.am));i.setLocationAtPoint(a,o);const w=i.center,T=t.bw(Math.abs(n),45,85,0,1),P=t.bw(f,.75,.35,0,1),C=Math.pow(Math.max(T,P),.25),M=t.bJ(w.lng,y.lng),I=t.bJ(w.lat,y.lat);i.setCenter(new t.W(w.lng+M*C,w.lat+I*C).wrap()),i.setZoom(b+bi(x,i.center.lat));}handleMapControlsPan(e,t,i){if(!e.panDelta)return;const o=t.center.lat,a=t.zoom;t.setCenter(yi(e.panDelta,t).wrap()),t.setZoom(a+bi(o,t.center.lat));}cameraForBoxAndBearing(e,i,o,a,r){const s=Qt(e,i,o,a,r),n=i.left/r.width*2-1,l=(r.width-i.right)/r.width*2-1,c=i.top/r.height*-2+1,h=(r.height-i.bottom)/r.height*-2+1,u=t.bJ(o.getWest(),o.getEast())<0,d=u?o.getEast():o.getWest(),_=u?o.getWest():o.getEast(),p=Math.max(o.getNorth(),o.getSouth()),m=Math.min(o.getNorth(),o.getSouth()),f=d+.5*t.bJ(d,_),g=p+.5*t.bJ(p,m),v=r.clone();v.setCenter(s.center),v.setBearing(s.bearing),v.setPitch(0),v.setRoll(0),v.setZoom(s.zoom);const x=v.modelViewProjectionMatrix,b=[fi(o.getNorthWest()),fi(o.getNorthEast()),fi(o.getSouthWest()),fi(o.getSouthEast()),fi(new t.W(_,g)),fi(new t.W(d,g)),fi(new t.W(f,p)),fi(new t.W(f,m))],y=fi(s.center);let w=Number.POSITIVE_INFINITY;for(const e of b)n<0&&(w=Di.getLesserNonNegativeNonNull(w,Di.solveVectorScale(e,y,x,"x",n))),l>0&&(w=Di.getLesserNonNegativeNonNull(w,Di.solveVectorScale(e,y,x,"x",l))),c>0&&(w=Di.getLesserNonNegativeNonNull(w,Di.solveVectorScale(e,y,x,"y",c))),h<0&&(w=Di.getLesserNonNegativeNonNull(w,Di.solveVectorScale(e,y,x,"y",h)));if(Number.isFinite(w)&&0!==w)return s.zoom=Math.min(v.zoom+t.ar(w),e.maxZoom),s;Kt();}handleJumpToCenterZoom(e,i){const o=e.center.lat,a=e.applyConstrain(i.center?t.W.convert(i.center):e.center,e.zoom).center;e.setCenter(a.wrap());const r=void 0!==i.zoom?+i.zoom:e.zoom+bi(o,a.lat);e.zoom!==r&&e.setZoom(r);}handleEaseTo(e,i){const o=e.zoom,a=e.center,r=e.padding,s={roll:e.roll,pitch:e.pitch,bearing:e.bearing},n={roll:void 0===i.roll?e.roll:i.roll,pitch:void 0===i.pitch?e.pitch:i.pitch,bearing:void 0===i.bearing?e.bearing:i.bearing},l=void 0!==i.zoom,c=!e.isPaddingEqual(i.padding);let h=!1;const u=i.center?t.W.convert(i.center):a,d=e.applyConstrain(u,o).center;Gt(e,d);const _=e.clone();_.setCenter(d),_.setZoom(l?+i.zoom:o+bi(a.lat,u.lat)),_.setBearing(i.bearing);const p=new t.P(t.al(e.centerPoint.x+i.offsetAsPoint.x,0,e.width),t.al(e.centerPoint.y+i.offsetAsPoint.y,0,e.height));_.setLocationAtPoint(d,p);const m=(i.offset&&i.offsetAsPoint.mag())>0?_.center:d,f=l?+i.zoom:o+bi(a.lat,m.lat),g=o+bi(a.lat,0),v=f+bi(m.lat,0),x=t.bJ(a.lng,m.lng),b=t.bJ(a.lat,m.lat),y=t.ao(v-g);return h=f!==o,{easeFunc:o=>{if(t.bn(s,n)||Yt({startEulerAngles:s,endEulerAngles:n,tr:e,k:o,useSlerp:s.roll!=n.roll}),c&&e.interpolatePadding(r,i.padding,o),i.around)t.w("Easing around a point is not supported under globe projection."),e.setLocationAtPoint(i.around,i.aroundPoint);else {const t=v>g?Math.min(2,y):Math.max(.5,y),i=Math.pow(t,1-o),r=Ti(a,x,b,o*i);e.setCenter(r.wrap());}if(h){const i=t.H.number(g,v,o)+bi(0,e.center.lat);e.setZoom(i);}},isZooming:h,elevationCenter:m}}handleFlyTo(e,i){const o=void 0!==i.zoom,a=e.center,r=e.zoom,s=e.padding,n=!e.isPaddingEqual(i.padding),l=e.applyConstrain(t.W.convert(i.center||i.locationAtOffset),r).center,c=o?+i.zoom:e.zoom+bi(e.center.lat,l.lat),h=e.clone();h.setCenter(l),h.setZoom(c),h.setBearing(i.bearing);const u=new t.P(t.al(e.centerPoint.x+i.offsetAsPoint.x,0,e.width),t.al(e.centerPoint.y+i.offsetAsPoint.y,0,e.height));h.setLocationAtPoint(l,u);const d=h.center;Gt(e,d);const _=function(e,i,o){const a=fi(i),r=fi(o),s=t.b3(a,r),n=Math.acos(s),l=pi(e);return n/(2*Math.PI)*l}(e,a,d),p=r+bi(a.lat,0),m=c+bi(d.lat,0),f=t.ao(m-p);let g;if("number"==typeof i.minZoom){const o=+i.minZoom+bi(d.lat,0),a=Math.min(o,p,m)+bi(0,d.lat),r=e.applyConstrain(d,a).zoom+bi(d.lat,0);g=t.ao(r-p);}const v=t.bJ(a.lng,d.lng),x=t.bJ(a.lat,d.lat);return {easeFunc:(o,r,l,h)=>{const u=Ti(a,v,x,l);n&&e.interpolatePadding(s,i.padding,o);const _=1===o?d:u;e.setCenter(_.wrap());const m=p+t.ar(r);e.setZoom(1===o?c:m+bi(0,_.lat));},scaleOfZoom:f,targetCenter:d,scaleOfMinZoom:g,pixelPathLength:_}}static solveVectorScale(e,t,i,o,a){const r="x"===o?[i[0],i[4],i[8],i[12]]:[i[1],i[5],i[9],i[13]],s=[i[3],i[7],i[11],i[15]],n=e[0]*r[0]+e[1]*r[1]+e[2]*r[2],l=e[0]*s[0]+e[1]*s[1]+e[2]*s[2],c=t[0]*r[0]+t[1]*r[1]+t[2]*r[2],h=t[0]*s[0]+t[1]*s[1]+t[2]*s[2];return c+a*l===n+a*h||s[3]*(n-c)+r[3]*(h-l)+n*h==c*l?null:(c+r[3]-a*h-a*s[3])/(c-n-a*h+a*l)}static getLesserNonNegativeNonNull(e,t){return null!==t&&t>=0&&tt.C(e,null==i?void 0:i.filter((e=>"source.canvas"!==e.identifier))),Fi=t.bN();class ki extends t.E{constructor(e,i={}){var o,a;super(),this._rtlPluginLoaded=()=>{for(const e in this.tileManagers){const t=this.tileManagers[e].getSource().type;"vector"!==t&&"geojson"!==t||this.tileManagers[e].reload();}},this.map=e,this.dispatcher=new k(F(),e._getMapId()),this.dispatcher.registerMessageHandler("GG",((e,t)=>this.getGlyphs(e,t))),this.dispatcher.registerMessageHandler("GI",((e,t)=>this.getImages(e,t))),this.dispatcher.registerMessageHandler("GDA",((e,t)=>this.getDashes(e,t))),this.imageManager=new g,this.imageManager.setEventedParent(this);const r=(null===(o=e._container)||void 0===o?void 0:o.lang)||"undefined"!=typeof document&&(null===(a=document.documentElement)||void 0===a?void 0:a.lang)||void 0;this.glyphManager=new T(e._requestManager,i.localIdeographFontFamily,r),this.lineAtlas=new S(256,512),this.crossTileSymbolIndex=new At,this._setInitialValues(),this._resetUpdates(),this.dispatcher.broadcast("SR",t.bO()),ce().on(se,this._rtlPluginLoaded),this.on("data",(e=>{if("source"!==e.dataType||"metadata"!==e.sourceDataType)return;const t=this.tileManagers[e.sourceId];if(!t)return;const i=t.getSource();if(null==i?void 0:i.vectorLayerIds)for(const e in this._layers){const t=this._layers[e];t.source===i.id&&this._validateLayer(t);}}));}_setInitialValues(){var e;this._spritesImagesIds={},this._layers={},this._order=[],this.tileManagers={},this.zoomHistory=new t.bP,this._availableImages=[],this._globalState={},this._serializedLayers={},this.stylesheet=null,this.light=null,this.sky=null,this.projection&&(this.projection.destroy(),delete this.projection),this._loaded=!1,this._changed=!1,this._updatedLayers={},this._updatedSources={},this._changedImages={},this._glyphsDidChange=!1,this._updatedPaintProps={},this._layerOrderChanged=!1,this.crossTileSymbolIndex=new((null===(e=this.crossTileSymbolIndex)||void 0===e?void 0:e.constructor)||Object),this.pauseablePlacement=void 0,this.placement=void 0,this.z=0;}setGlobalStateProperty(e,i){var o,a,r;this._checkLoaded();const s=null===i?null!==(r=null===(a=null===(o=this.stylesheet.state)||void 0===o?void 0:o[e])||void 0===a?void 0:a.default)&&void 0!==r?r:null:i;if(t.bQ(s,this._globalState[e]))return this;this._globalState[e]=s,this._applyGlobalStateChanges([e]);}getGlobalState(){return this._globalState}setGlobalState(e){this._checkLoaded();const i=[];for(const o in e)!t.bQ(this._globalState[o],e[o].default)&&(i.push(o),this._globalState[o]=e[o].default);this._applyGlobalStateChanges(i);}_applyGlobalStateChanges(e){if(0===e.length)return;const t=new Set,i={};for(const o of e){i[o]=this._globalState[o];for(const e in this._layers){const i=this._layers[e],a=i.getLayoutAffectingGlobalStateRefs(),r=i.getPaintAffectingGlobalStateRefs(),s=i.getVisibilityAffectingGlobalStateRefs();if(a.has(o)&&t.add(i.source),r.has(o))for(const{name:e,value:t}of r.get(o))this._updatePaintProperty(i,e,t);(null==s?void 0:s.has(o))&&(i.recalculateVisibility(),this._updateLayer(i));}}this.dispatcher.broadcast("UGS",i);for(const e in this.tileManagers)t.has(e)&&(this._reloadSource(e),this._changed=!0);}loadURL(e){return t._(this,arguments,void 0,(function*(e,i={},o){this.fire(new t.n("dataloading",{dataType:"style"})),i.validate="boolean"!=typeof i.validate||i.validate,this._loadStyleRequest=new AbortController;const a=this._loadStyleRequest;try{const r=yield this.map._requestManager.transformRequest(e,"Style");t.bR(a.signal);const s=yield t.k(r,a);this._loadStyleRequest===a&&(this._loadStyleRequest=null),this._load(s.data,i,o);}catch(e){this._loadStyleRequest===a&&(this._loadStyleRequest=null),e&&!a.signal.aborted&&this.fire(new t.l(t.d(e)));}}))}loadJSON(e,i={},o){this.fire(new t.n("dataloading",{dataType:"style"})),this._frameRequest=new AbortController,n.frameAsync(this._frameRequest,this.map._ownerWindow).then((()=>{this._frameRequest=null,i.validate=!1!==i.validate,this._load(e,i,o);})).catch((()=>{}));}loadEmpty(){this.fire(new t.n("dataloading",{dataType:"style"})),this._load(Fi,{validate:!1});}_load(e,i,o){var a,r;let s=i.transformStyle?i.transformStyle(o,e):e;if(!i.validate||!Li(this,t.F(s))){s=Object.assign({},s),this._loaded=!0,this.stylesheet=s;for(const e in s.sources)this.addSource(e,s.sources[e],{validate:!1});s.sprite?this._loadSprite(s.sprite):this.imageManager.setLoaded(!0),this.glyphManager.setURL(s.glyphs),this._createLayers(),this.light=new M(this.stylesheet.light),this._setProjectionInternal((null===(a=this.stylesheet.projection)||void 0===a?void 0:a.type)||"mercator"),this.sky=new E(this.stylesheet.sky),this.map.setTerrain(null!==(r=this.stylesheet.terrain)&&void 0!==r?r:null),this.fire(new t.n("data",{dataType:"style"})),this.fire(new t.n("style.load"));}}_createLayers(){var e,i,o;const a=t.bS(this.stylesheet.layers);this.setGlobalState(null!==(e=this.stylesheet.state)&&void 0!==e?e:null),this.dispatcher.broadcast("SL",a),this._order=a.map((e=>e.id)),this._layers={},this._serializedLayers=null;for(const e of a){const a=t.bT(e,this._globalState);if(a.setEventedParent(this,{layer:{id:e.id}}),this._layers[e.id]=a,t.bU(a)&&this.tileManagers[a.source]){const t=null!==(o=null===(i=e.paint)||void 0===i?void 0:i["raster-fade-duration"])&&void 0!==o?o:a.paint.get("raster-fade-duration");this.tileManagers[a.source].setRasterFadeDuration(t);}}}_loadSprite(e,i=!1,o=void 0){this.imageManager.setLoaded(!1);const a=new AbortController;let r;this._spriteRequest=a,function(e,i,o,a){return t._(this,void 0,void 0,(function*(){const r=p(e),s=o>1?"@2x":"",l={},c={};for(const{id:e,url:o}of r){const r=yield i.transformRequest(m(o,s,".json"),"SpriteJSON");l[e]=t.k(r,a);const n=yield i.transformRequest(m(o,s,".png"),"SpriteImage");c[e]=u.getImage(n,a);}return yield Promise.all([...Object.values(l),...Object.values(c)]),function(e,i){return t._(this,void 0,void 0,(function*(){const t={};for(const o in e){t[o]={};const a=n.getImageCanvasContext((yield i[o]).data),r=(yield e[o]).data;for(const e in r){const{width:i,height:s,x:n,y:l,sdf:c,pixelRatio:h,stretchX:u,stretchY:d,content:_,textFitWidth:p,textFitHeight:m}=r[e];t[o][e]={data:null,pixelRatio:h,sdf:c,stretchX:u,stretchY:d,content:_,textFitWidth:p,textFitHeight:m,spriteData:{width:i,height:s,x:n,y:l,context:a}};}}return t}))}(l,c)}))}(e,this.map._requestManager,this.map.getPixelRatio(),this._spriteRequest).then((e=>{if(this._spriteRequest=null,e)for(const t in e){this._spritesImagesIds[t]=[];const o=this._spritesImagesIds[t]?this._spritesImagesIds[t].filter((t=>!(t in e))):[];for(const e of o)this.imageManager.removeImage(e),this._changedImages[e]=!0;for(const o in e[t]){const a="default"===t?o:`${t}:${o}`;this._spritesImagesIds[t].push(a),a in this.imageManager.images?this.imageManager.updateImage(a,e[t][o],!1):this.imageManager.addImage(a,e[t][o]),i&&(this._changedImages[a]=!0);}}})).catch((e=>{this._spriteRequest=null,r=e,a.signal.aborted||this.fire(new t.l(r));})).finally((()=>{this.imageManager.setLoaded(!0),this._availableImages=this.imageManager.listImages(),i&&(this._changed=!0),this.dispatcher.broadcast("SI",this._availableImages),this.fire(new t.n("data",{dataType:"style"})),o&&o(r);}));}_unloadSprite(){for(const e of Object.values(this._spritesImagesIds).flat())this.imageManager.removeImage(e),this._changedImages[e]=!0;this._spritesImagesIds={},this._availableImages=this.imageManager.listImages(),this._changed=!0,this.dispatcher.broadcast("SI",this._availableImages),this.fire(new t.n("data",{dataType:"style"}));}_validateLayer(e){const i=this.tileManagers[e.source];if(!i)return;const o=e.sourceLayer;if(!o)return;const a=i.getSource();("geojson"===a.type||a.vectorLayerIds&&!a.vectorLayerIds.includes(o))&&this.fire(new t.l(new Error(`Source layer "${o}" does not exist on source "${a.id}" as specified by style layer "${e.id}".`)));}loaded(){if(!this._loaded)return !1;if(Object.keys(this._updatedSources).length)return !1;for(const e in this.tileManagers)if(!this.tileManagers[e].loaded())return !1;return this.imageManager.isLoaded()}_serializeByIds(e,i=!1){const o=this._serializedAllLayers();if(!e||0===e.length)return Object.values(i?t.bV(o):o);const a=[];for(const r of e)if(o[r]){const e=i?t.bV(o[r]):o[r];a.push(e);}return a}_serializedAllLayers(){let e=this._serializedLayers;if(e)return e;e=this._serializedLayers={};const t=Object.keys(this._layers);for(const i of t){const t=this._layers[i];"custom"!==t.type&&(e[i]=t.serialize());}return e}hasTransitions(){var e,t,i;if(null===(e=this.light)||void 0===e?void 0:e.hasTransition())return !0;if(null===(t=this.sky)||void 0===t?void 0:t.hasTransition())return !0;if(null===(i=this.projection)||void 0===i?void 0:i.hasTransition())return !0;for(const e in this.tileManagers)if(this.tileManagers[e].hasTransition())return !0;for(const e in this._layers)if(this._layers[e].hasTransition())return !0;return !1}_checkLoaded(){if(!this._loaded)throw new Error("Style is not done loading.")}update(e){if(!this._loaded)return;const i=this._changed;if(i){const t=Object.keys(this._updatedLayers),i=Object.keys(this._removedLayers);(t.length||i.length)&&this._updateWorkerLayers(t,i);for(const e in this._updatedSources){const t=this._updatedSources[e];if("reload"===t)this._reloadSource(e);else {if("clear"!==t)throw new Error(`Invalid action ${t}`);this._clearSource(e);}}this._updateTilesForChangedImages(),this._updateTilesForChangedGlyphs();for(const t in this._updatedPaintProps)this._layers[t].updateTransitions(e);this.light.updateTransitions(e),this.sky.updateTransitions(e),this._resetUpdates();}const o={};for(const e in this.tileManagers){const t=this.tileManagers[e];o[e]=t.used,t.used=!1;}for(const t of this._order){const i=this._layers[t];i.recalculate(e,this._availableImages),!i.isHidden(e.zoom)&&i.source&&(this.tileManagers[i.source].used=!0);}for(const e in o){const i=this.tileManagers[e];!!o[e]!=!!i.used&&i.fire(new t.n("data",{sourceDataType:"visibility",dataType:"source",sourceId:e}));}this.light.recalculate(e),this.sky.recalculate(e),this.projection.recalculate(e),this.z=e.zoom,i&&this.fire(new t.n("data",{dataType:"style"}));}_updateTilesForChangedImages(){const e=Object.keys(this._changedImages);if(e.length){for(const t in this.tileManagers)this.tileManagers[t].reloadTilesForDependencies(["icons","patterns"],e);this._changedImages={};}}_updateTilesForChangedGlyphs(){if(this._glyphsDidChange){for(const e in this.tileManagers)this.tileManagers[e].reloadTilesForDependencies(["glyphs"],[""]);this._glyphsDidChange=!1;}}_updateWorkerLayers(e,t){this.dispatcher.broadcast("UL",{layers:this._serializeByIds(e,!1),removedIds:t});}_resetUpdates(){this._changed=!1,this._updatedLayers={},this._removedLayers={},this._updatedSources={},this._updatedPaintProps={},this._changedImages={},this._glyphsDidChange=!1;}setState(e,i={}){var o;this._checkLoaded();const a=this.serialize();if(e=i.transformStyle?i.transformStyle(a,e):e,(null===(o=i.validate)||void 0===o||o)&&Li(this,t.F(e)))return !1;(e=t.bV(e)).layers=t.bS(e.layers);const r=t.bW(a,e),s=this._getOperationsToPerform(r);if(s.unimplemented.length>0)throw new Error(`Unimplemented: ${s.unimplemented.join(", ")}.`);if(0===s.operations.length)return !1;for(const e of s.operations)e();return this.stylesheet=e,this._serializedLayers=null,this.fire(new t.n("style.load",{style:this})),!0}_getOperationsToPerform(e){const t=[],i=[];for(const o of e)switch(o.command){case "setCenter":case "setZoom":case "setBearing":case "setPitch":case "setRoll":continue;case "addLayer":t.push((()=>this.addLayer.apply(this,o.args)));break;case "removeLayer":t.push((()=>this.removeLayer.apply(this,o.args)));break;case "setPaintProperty":t.push((()=>this.setPaintProperty.apply(this,o.args)));break;case "setLayoutProperty":t.push((()=>this.setLayoutProperty.apply(this,o.args)));break;case "setFilter":t.push((()=>this.setFilter.apply(this,o.args)));break;case "addSource":t.push((()=>this.addSource.apply(this,o.args)));break;case "removeSource":t.push((()=>this.removeSource.apply(this,o.args)));break;case "setLayerZoomRange":t.push((()=>this.setLayerZoomRange.apply(this,o.args)));break;case "setLight":t.push((()=>this.setLight.apply(this,o.args)));break;case "setGeoJSONSourceData":t.push((()=>this.setGeoJSONSourceData.apply(this,o.args)));break;case "setGlyphs":t.push((()=>this.setGlyphs.apply(this,o.args)));break;case "setSprite":t.push((()=>this.setSprite.apply(this,o.args)));break;case "setTerrain":t.push((()=>this.map.setTerrain.apply(this,o.args)));break;case "setSky":t.push((()=>this.setSky.apply(this,o.args)));break;case "setProjection":this.setProjection.apply(this,o.args);break;case "setGlobalState":t.push((()=>this.setGlobalState.apply(this,o.args)));break;case "setTransition":t.push((()=>{}));break;default:i.push(o.command);}return {operations:t,unimplemented:i}}addImage(e,i){if(this.getImage(e))return this.fire(new t.l(new Error(`An image named "${e}" already exists.`)));this.imageManager.addImage(e,i),this._afterImageUpdated(e);}updateImage(e,t){this.imageManager.updateImage(e,t);}getImage(e){return this.imageManager.getImage(e)}removeImage(e){if(!this.getImage(e))return this.fire(new t.l(new Error(`An image named "${e}" does not exist.`)));this.imageManager.removeImage(e),this._afterImageUpdated(e);}_afterImageUpdated(e){this._availableImages=this.imageManager.listImages(),this._changedImages[e]=!0,this._changed=!0,this.dispatcher.broadcast("SI",this._availableImages),this.fire(new t.n("data",{dataType:"style"}));}listImages(){return this._checkLoaded(),this.imageManager.listImages()}addSource(e,i,o={}){var a;if(this._checkLoaded(),void 0!==this.tileManagers[e])throw new Error(`Source "${e}" already exists.`);if(!i.type)throw new Error(`The type property must be defined, but only the following properties were given: ${Object.keys(i).join(", ")}.`);if(["vector","raster","geojson","video","image"].includes(i.type)&&this._validate(t.F.source,`sources.${e}`,i,null,o))return;(null===(a=this.map)||void 0===a?void 0:a._collectResourceTiming)&&(i.collectResourceTiming=!0);const r=this.tileManagers[e]=new Fe(e,i,this.dispatcher);r.style=this,r.setEventedParent(this,(()=>({isSourceLoaded:r.loaded(),source:r.serialize(),sourceId:e}))),r.onAdd(this.map),this._changed=!0;}removeSource(e){if(this._checkLoaded(),void 0===this.tileManagers[e])throw new Error(`There is no source with this ID=${e}`);for(const i in this._layers)if(this._layers[i].source===e)return this.fire(new t.l(new Error(`Source "${e}" cannot be removed while layer "${i}" is using it.`)));const i=this.tileManagers[e];delete this.tileManagers[e],delete this._updatedSources[e],i.fire(new t.n("data",{sourceDataType:"metadata",dataType:"source",sourceId:e})),i.setEventedParent(null),i.onRemove(this.map),this._changed=!0;}setGeoJSONSourceData(e,t){if(this._checkLoaded(),void 0===this.tileManagers[e])throw new Error(`There is no source with this ID=${e}`);const i=this.tileManagers[e].getSource();if("geojson"!==i.type)throw new Error(`geojsonSource.type is ${i.type}, which is !== 'geojson`);i.setData(t),this._changed=!0;}getSource(e){var t;return null===(t=this.tileManagers[e])||void 0===t?void 0:t.getSource()}addLayer(e,i,o={}){this._checkLoaded();const a=e.id;if(this.getLayer(a))return void this.fire(new t.l(new Error(`Layer "${a}" already exists on this map.`)));let r;if("custom"===e.type){if(Li(this,t.bX(e)))return;r=t.bT(e,this._globalState);}else {if("source"in e&&"object"==typeof e.source&&(this.addSource(a,e.source),e=t.bV(e),e=t.e(e,{source:a})),this._validate(t.F.layer,`layers.${a}`,e,{arrayIndex:-1},o))return;r=t.bT(e,this._globalState),this._validateLayer(r),r.setEventedParent(this,{layer:{id:a}});}const s=i?this._order.indexOf(i):this._order.length;if(i&&-1===s)this.fire(new t.l(new Error(`Cannot add layer "${a}" before non-existing layer "${i}".`)));else {if(this._order.splice(s,0,a),this._layerOrderChanged=!0,this._layers[a]=r,this._removedLayers[a]&&r.source&&"custom"!==r.type){const e=this._removedLayers[a];delete this._removedLayers[a],e.type!==r.type?this._updatedSources[r.source]="clear":(this._updatedSources[r.source]="reload",this.tileManagers[r.source].pause());}this._updateLayer(r),r.onAdd&&r.onAdd(this.map);}}moveLayer(e,i){if(this._checkLoaded(),this._changed=!0,!this._layers[e])return void this.fire(new t.l(new Error(`The layer '${e}' does not exist in the map's style and cannot be moved.`)));if(e===i)return;const o=this._order.indexOf(e);this._order.splice(o,1);const a=i?this._order.indexOf(i):this._order.length;i&&-1===a?this.fire(new t.l(new Error(`Cannot move layer "${e}" before non-existing layer "${i}".`))):(this._order.splice(a,0,e),this._layerOrderChanged=!0);}removeLayer(e){this._checkLoaded();const i=this._layers[e];if(!i)return void this.fire(new t.l(new Error(`Cannot remove non-existing layer "${e}".`)));i.setEventedParent(null);const o=this._order.indexOf(e);this._order.splice(o,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[e]=i,delete this._layers[e],this._serializedLayers&&delete this._serializedLayers[e],delete this._updatedLayers[e],delete this._updatedPaintProps[e],i.onRemove&&i.onRemove(this.map);}getLayer(e){return this._layers[e]}getLayersOrder(){return [...this._order]}hasLayer(e){return e in this._layers}setLayerZoomRange(e,i,o){this._checkLoaded();const a=this.getLayer(e);a?a.minzoom===i&&a.maxzoom===o||(null!=i&&(a.minzoom=i),null!=o&&(a.maxzoom=o),this._updateLayer(a)):this.fire(new t.l(new Error(`Cannot set the zoom range of non-existing layer "${e}".`)));}setFilter(e,i,o={}){this._checkLoaded();const a=this.getLayer(e);if(a){if(!t.bQ(a.filter,i))return null==i?(a.setFilter(void 0),void this._updateLayer(a)):void(this._validate(t.F.filter,`layers.${a.id}.filter`,i,null,o)||(a.setFilter(t.bV(i)),this._updateLayer(a)))}else this.fire(new t.l(new Error(`Cannot filter non-existing layer "${e}".`)));}getFilter(e){return t.bV(this.getLayer(e).filter)}setLayoutProperty(e,i,o,a={}){this._checkLoaded();const r=this.getLayer(e);r?t.bQ(r.getLayoutProperty(i),o)||(r.setLayoutProperty(i,o,a),this._updateLayer(r)):this.fire(new t.l(new Error(`Cannot style non-existing layer "${e}".`)));}getLayoutProperty(e,i){const o=this.getLayer(e);if(o)return o.getLayoutProperty(i);this.fire(new t.l(new Error(`Cannot get style of non-existing layer "${e}".`)));}setPaintProperty(e,i,o,a={}){this._checkLoaded();const r=this.getLayer(e);r?t.bQ(r.getPaintProperty(i),o)||this._updatePaintProperty(r,i,o,a):this.fire(new t.l(new Error(`Cannot style non-existing layer "${e}".`)));}_updatePaintProperty(e,i,o,a={}){e.setPaintProperty(i,o,a)&&this._updateLayer(e),t.bU(e)&&"raster-fade-duration"===i&&this.tileManagers[e.source].setRasterFadeDuration(o),this._changed=!0,this._updatedPaintProps[e.id]=!0,this._serializedLayers=null;}getPaintProperty(e,t){return this.getLayer(e).getPaintProperty(t)}setFeatureState(e,i){this._checkLoaded();const o=e.source,a=e.sourceLayer,r=this.tileManagers[o];if(void 0===r)return void this.fire(new t.l(new Error(`The source '${o}' does not exist in the map's style.`)));const s=r.getSource().type;"geojson"===s&&a?this.fire(new t.l(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):"vector"!==s||a?(void 0===e.id&&this.fire(new t.l(new Error("The feature id parameter must be provided."))),r.setFeatureState(a,e.id,i)):this.fire(new t.l(new Error("The sourceLayer parameter must be provided for vector source types.")));}removeFeatureState(e,i){this._checkLoaded();const o=e.source,a=this.tileManagers[o];if(void 0===a)return void this.fire(new t.l(new Error(`The source '${o}' does not exist in the map's style.`)));const r=a.getSource().type,s="vector"===r?e.sourceLayer:void 0;"vector"!==r||s?i&&"string"!=typeof e.id&&"number"!=typeof e.id?this.fire(new t.l(new Error("A feature id is required to remove its specific state property."))):a.removeFeatureState(s,e.id,i):this.fire(new t.l(new Error("The sourceLayer parameter must be provided for vector source types.")));}getFeatureState(e){this._checkLoaded();const i=e.source,o=e.sourceLayer,a=this.tileManagers[i];if(void 0!==a)return "vector"!==a.getSource().type||o?(void 0===e.id&&this.fire(new t.l(new Error("The feature id parameter must be provided."))),a.getFeatureState(o,e.id)):void this.fire(new t.l(new Error("The sourceLayer parameter must be provided for vector source types.")));this.fire(new t.l(new Error(`The source '${i}' does not exist in the map's style.`)));}getTransition(){var e;return t.e({duration:300,delay:0},null===(e=this.stylesheet)||void 0===e?void 0:e.transition)}serialize(){if(!this._loaded)return;const e=t.bY(this.tileManagers,(e=>e.serialize())),i=this._serializeByIds(this._order,!0),o=this.map.getTerrain()||void 0,a=this.stylesheet;return t.bZ({version:a.version,name:a.name,metadata:a.metadata,light:a.light,sky:a.sky,center:a.center,zoom:a.zoom,bearing:a.bearing,pitch:a.pitch,sprite:a.sprite,glyphs:a.glyphs,transition:a.transition,projection:a.projection,sources:e,layers:i,terrain:o},(e=>void 0!==e))}_updateLayer(e){this._updatedLayers[e.id]=!0,e.source&&!this._updatedSources[e.source]&&"raster"!==this.tileManagers[e.source].getSource().type&&(this._updatedSources[e.source]="reload",this.tileManagers[e.source].pause()),this._serializedLayers=null,this._changed=!0;}_flattenAndSortRenderedFeatures(e){const t=e=>"fill-extrusion"===this._layers[e].type,i={},o=[];for(let a=this._order.length-1;a>=0;a--){const r=this._order[a];if(t(r)){i[r]=a;for(const t of e){const e=t[r];if(e)for(const t of e)o.push(t);}}}o.sort(((e,t)=>t.intersectionZ-e.intersectionZ));const a=[];for(let r=this._order.length-1;r>=0;r--){const s=this._order[r];if(t(s))for(let e=o.length-1;e>=0;e--){const t=o[e].feature;if(i[t.layer.id]this.map.terrain.getElevation(e,t,i):void 0));return this.placement&&r.push(function(e,t,i,o,a,r,s){const n={},l=r.queryRenderedSymbols(o),c=[];for(const e of Object.keys(l).map(Number))c.push(s[e]);c.sort(N);for(const i of c){const o=i.featureIndex.lookupSymbolFeatures(l[i.bucketInstanceId],t,i.bucketIndex,i.sourceLayerIndex,{filterSpec:a.filter,globalState:a.globalState},a.layers,a.availableImages,e);for(const e in o){n[e]||(n[e]=[]);const t=o[e];t.sort(((e,t)=>{const o=i.featureSortOrder;if(o){const i=o.indexOf(e.featureIndex);return o.indexOf(t.featureIndex)-i}return t.featureIndex-e.featureIndex}));for(const i of t)n[e].push(i);}}return function(e,t,i){for(const o in e)for(const a of e[o])Z(a,i[t[o].source]);return e}(n,e,i)}(this._layers,s,this.tileManagers,e,l,this.placement.collisionIndex,this.placement.retainedQueryData)),this._flattenAndSortRenderedFeatures(r)}querySourceFeatures(e,i){(null==i?void 0:i.filter)&&this._validate(t.F.filter,"querySourceFeatures.filter",i.filter,null,i);const o=this.tileManagers[e];return o?function(e,t){const i=e.getRenderableIds().map((t=>e.getTileByID(t))),o=[],a={};for(const e of i){const i=e.tileID.canonical.key;a[i]||(a[i]=!0,e.querySourceFeatures(o,t));}return o}(o,i?Object.assign(Object.assign({},i),{globalState:this._globalState}):{globalState:this._globalState}):[]}getLight(){return this.light.getLight()}setLight(e,i={}){this._checkLoaded();const o=this.light.getLight();let a=!1;for(const i in e)if(!t.bQ(e[i],o[i])){a=!0;break}if(!a)return;const r={now:c(),transition:t.e({duration:300,delay:0},this.stylesheet.transition)};this.light.setLight(e,i),this.light.updateTransitions(r);}getProjection(){var e;return null===(e=this.stylesheet)||void 0===e?void 0:e.projection}setProjection(e){this._checkLoaded();const t=null!=e?e:{type:"mercator"};if(this.stylesheet.projection=e,this.projection){if(this.projection.name===t.type)return;this.projection.destroy(),delete this.projection;}this._setProjectionInternal(t.type);}getSky(){var e;return null===(e=this.stylesheet)||void 0===e?void 0:e.sky}setSky(e,i={}){this._checkLoaded();const o=this.getSky();let a=!1;if(!e&&!o)return;if(e&&!o)a=!0;else if(!e&&o)a=!0;else for(const i in e)if(!t.bQ(e[i],o[i])){a=!0;break}if(!a)return;const r={now:c(),transition:t.e({duration:300,delay:0},this.stylesheet.transition)};this.stylesheet.sky=e,this.sky.setSky(e,i),this.sky.updateTransitions(r);}_setProjectionInternal(e){const i=function(e,i){const o={constrainOverride:i};if(Array.isArray(e)){const t=new _i({type:e});return {projection:t,transform:new Ri(o),cameraHelper:new Ai(t)}}switch(e){case "mercator":return {projection:new Zt,transform:new Xt(o),cameraHelper:new Jt};case "globe":{const e=new _i({type:["interpolate",["linear"],["zoom"],11,"vertical-perspective",12,"mercator"]});return {projection:e,transform:new Ri(o),cameraHelper:new Ai(e)}}case "vertical-perspective":return {projection:new ui,transform:new zi(o),cameraHelper:new Di};default:return t.w(`Unknown projection name: ${e}. Falling back to mercator projection.`),{projection:new Zt,transform:new Xt(o),cameraHelper:new Jt}}}(e,this.map.transformConstrain);this.projection=i.projection,this.map.migrateProjection(i.transform,i.cameraHelper);for(const e in this.tileManagers)this.tileManagers[e].reload();}_validate(e,i,o,a,r={}){return !1!==(null==r?void 0:r.validate)&&Li(this,e.call(t.F,t.e({key:i,style:this.serialize(),value:o,styleSpec:t.x},a)))}_remove(e=!0){this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this._loadStyleRequest&&(this._loadStyleRequest.abort(),this._loadStyleRequest=null),this._spriteRequest&&(this._spriteRequest.abort(),this._spriteRequest=null),ce().off(se,this._rtlPluginLoaded);for(const e in this._layers)this._layers[e].setEventedParent(null);for(const e in this.tileManagers){const t=this.tileManagers[e];t.setEventedParent(null),t.onRemove(this.map);}this.imageManager.setEventedParent(null),this.setEventedParent(null),e&&this.dispatcher.broadcast("RM",void 0),this.dispatcher.remove(e);}_clearSource(e){this.tileManagers[e].clearTiles();}_reloadSource(e){this.tileManagers[e].resume(),this.tileManagers[e].reload();}_updateSources(e){for(const t in this.tileManagers)this.tileManagers[t].update(e,this.map.terrain);}_generateCollisionBoxes(){for(const e in this.tileManagers)this._reloadSource(e);}_updatePlacement(e,t,i,o,a=!1){let r=!1,s=!1;const n={};for(const t of this._order){const i=this._layers[t];if("symbol"!==i.type)continue;if(!n[i.source]){const e=this.tileManagers[i.source];n[i.source]=e.getRenderableIds(!0).map((t=>e.getTileByID(t))).sort(((e,t)=>t.tileID.overscaledZ-e.tileID.overscaledZ||(e.tileID.isLessThan(t.tileID)?-1:1)));}const o=this.crossTileSymbolIndex.addLayer(i,n[i.source],e.center.lng);r||(r=o);}if(this.crossTileSymbolIndex.pruneUnusedLayers(this._order),a||(a=this._layerOrderChanged||0===i),(a||!this.pauseablePlacement||this.pauseablePlacement.isDone()&&!this.placement.stillRecent(c(),e.zoom))&&(this.pauseablePlacement=new Et(e,this.map.terrain,this._order,a,t,i,o,this.placement),this._layerOrderChanged=!1),this.pauseablePlacement.isDone()?this.placement.setStale():(this.pauseablePlacement.continuePlacement(this._order,this._layers,n),this.pauseablePlacement.isDone()&&(this.placement=this.pauseablePlacement.commit(c()),s=!0),r&&this.pauseablePlacement.placement.setStale()),s||r)for(const e of this._order){const t=this._layers[e];"symbol"===t.type&&this.placement.updateLayerOpacities(t,n[t.source]);}return !this.pauseablePlacement.isDone()||this.placement.hasTransitions(c())}_releaseSymbolFadeTiles(){for(const e in this.tileManagers)this.tileManagers[e].releaseSymbolFadeTiles();}getImages(e,i){return t._(this,void 0,void 0,(function*(){const e=yield this.imageManager.getImages(i.icons);this._updateTilesForChangedImages();const t=this.tileManagers[i.source];return t&&t.setDependencies(i.tileID.key,i.type,i.icons),e}))}getGlyphs(e,i){return t._(this,void 0,void 0,(function*(){const e=yield this.glyphManager.getGlyphs(i.stacks),t=this.tileManagers[i.source];return t&&t.setDependencies(i.tileID.key,i.type,[""]),e}))}getGlyphsUrl(){return this.stylesheet.glyphs||null}setGlyphs(e,i={}){this._checkLoaded(),e&&this._validate(t.F.glyphs,"glyphs",e,null,i)||(this._glyphsDidChange=!0,this.stylesheet.glyphs=e,this.glyphManager.entries={},this.glyphManager.setURL(e));}getDashes(e,i){return t._(this,void 0,void 0,(function*(){const e={};for(const[t,o]of Object.entries(i.dashes))e[t]=this.lineAtlas.getDash(o.dasharray,o.round);return e}))}addSprite(e,i,o={},a){this._checkLoaded();const r=[{id:e,url:i}],s=[...p(this.stylesheet.sprite),...r];this._validate(t.F.sprite,"sprite",s,null,o)||(this.stylesheet.sprite=s,this._loadSprite(r,!0,a));}removeSprite(e){this._checkLoaded();const i=p(this.stylesheet.sprite);if(i.find((t=>t.id===e))){if(this._spritesImagesIds[e])for(const t of this._spritesImagesIds[e])this.imageManager.removeImage(t),this._changedImages[t]=!0;i.splice(i.findIndex((t=>t.id===e)),1),this.stylesheet.sprite=i.length>0?i:void 0,delete this._spritesImagesIds[e],this._availableImages=this.imageManager.listImages(),this._changed=!0,this.dispatcher.broadcast("SI",this._availableImages),this.fire(new t.n("data",{dataType:"style"}));}else this.fire(new t.l(new Error(`Sprite "${e}" doesn't exists on this map.`)));}getSprite(){return p(this.stylesheet.sprite)}setSprite(e,i={},o){this._checkLoaded(),e&&this._validate(t.F.sprite,"sprite",e,null,i)||(this.stylesheet.sprite=e,e?this._loadSprite(e,!0,o):(this._unloadSprite(),o&&o(null)));}destroy(){this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this._loadStyleRequest&&(this._loadStyleRequest.abort(),this._loadStyleRequest=null),this._spriteRequest&&(this._spriteRequest.abort(),this._spriteRequest=null);for(const e in this.tileManagers){const t=this.tileManagers[e];t.setEventedParent(null),t.onRemove(this.map);}this.tileManagers={},this.imageManager&&(this.imageManager.setEventedParent(null),this.imageManager.destroy(),this._availableImages=[],this._spritesImagesIds={}),this.glyphManager&&this.glyphManager.destroy();for(const e in this._layers){const t=this._layers[e];t.setEventedParent(null),t.onRemove&&t.onRemove(this.map);}this._setInitialValues(),this.setEventedParent(null),this.dispatcher.unregisterMessageHandler("GG"),this.dispatcher.unregisterMessageHandler("GI"),this.dispatcher.unregisterMessageHandler("GDA"),this.dispatcher.remove(!0),this._listeners={},this._oneTimeListeners={};}}var Bi=t.aS([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]);class Oi{constructor(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null;}bind(e,t,i,o,a,r,s,n,l){this.context=e;let c=this.boundPaintVertexBuffers.length!==o.length;for(let e=0;!c&&e({u_texture:0,u_ele_delta:e,u_fog_matrix:i,u_fog_color:o?o.properties.get("fog-color"):t.bo.white,u_fog_ground_blend:o?o.properties.get("fog-ground-blend"):1,u_fog_ground_blend_opacity:r?0:o?o.calculateFogBlendOpacity(a):0,u_horizon_color:o?o.properties.get("horizon-color"):t.bo.white,u_horizon_fog_blend:o?o.properties.get("horizon-fog-blend"):1,u_is_globe_mode:r?1:0}),Ni={mainMatrix:"u_projection_matrix",tileMercatorCoords:"u_projection_tile_mercator_coords",clippingPlane:"u_projection_clipping_plane",projectionTransition:"u_projection_transition",fallbackMatrix:"u_projection_fallback_matrix"};function Zi(e){const t=[];for(const i of e){if(null===i)continue;const e=i.split(" ");t.push(e.pop());}return t}class Ui{constructor(e,i,o,a,r,s,n,l,c=[]){const h=e.gl;this.program=h.createProgram();const u=Zi(i.staticAttributes),d=o?o.getBinderAttributes():[],_=u.concat(d),p=Ft.prelude.staticUniforms?Zi(Ft.prelude.staticUniforms):[],m=n.staticUniforms?Zi(n.staticUniforms):[],f=i.staticUniforms?Zi(i.staticUniforms):[],g=o?o.getBinderUniforms():[],v=p.concat(m).concat(f).concat(g),x=[];for(const e of v)x.includes(e)||x.push(e);const b=o?o.defines():[];si(h)&&b.unshift("#version 300 es"),r&&b.push("#define OVERDRAW_INSPECTOR;"),s&&b.push("#define TERRAIN3D;"),l&&b.push(l),c&&b.push(...c);let y=b.concat(Ft.prelude.fragmentSource,n.fragmentSource,i.fragmentSource).join("\n"),w=b.concat(Ft.prelude.vertexSource,n.vertexSource,i.vertexSource).join("\n");si(h)||(y=function(e){return e.replace(/\bin\s/g,"varying ").replace("out highp vec4 fragColor;","").replace(/fragColor/g,"gl_FragColor").replace(/texture\(/g,"texture2D(")}(y),w=function(e){return e.replace(/\bin\s/g,"attribute ").replace(/\bout\s/g,"varying ").replace(/texture\(/g,"texture2D(")}(w));const T=h.createShader(h.FRAGMENT_SHADER);if(h.isContextLost())return void(this.failedToCreate=!0);if(h.shaderSource(T,y),h.compileShader(T),!h.getShaderParameter(T,h.COMPILE_STATUS))throw new Error(`Could not compile fragment shader: ${h.getShaderInfoLog(T)}`);h.attachShader(this.program,T);const P=h.createShader(h.VERTEX_SHADER);if(h.isContextLost())return void(this.failedToCreate=!0);if(h.shaderSource(P,w),h.compileShader(P),!h.getShaderParameter(P,h.COMPILE_STATUS))throw new Error(`Could not compile vertex shader: ${h.getShaderInfoLog(P)}`);h.attachShader(this.program,P),this.attributes={};const C={};this.numAttributes=_.length;for(let e=0;e({u_depth:new t.b_(e,i.u_depth),u_terrain:new t.b_(e,i.u_terrain),u_terrain_dim:new t.bp(e,i.u_terrain_dim),u_terrain_matrix:new t.c0(e,i.u_terrain_matrix),u_terrain_unpack:new t.c1(e,i.u_terrain_unpack),u_terrain_exaggeration:new t.bp(e,i.u_terrain_exaggeration)}))(e,C),this.projectionUniforms=((e,i)=>({u_projection_matrix:new t.c0(e,i.u_projection_matrix),u_projection_tile_mercator_coords:new t.c1(e,i.u_projection_tile_mercator_coords),u_projection_clipping_plane:new t.c1(e,i.u_projection_clipping_plane),u_projection_transition:new t.bp(e,i.u_projection_transition),u_projection_fallback_matrix:new t.c0(e,i.u_projection_fallback_matrix)}))(e,C),this.binderUniforms=o?o.getUniforms(e,C):[];}draw(e,t,i,o,a,r,s,n,l,c,h,u,d,_,p,m,f,g,v){var x;const b=e.gl;if(this.failedToCreate)return;if(e.program.set(this.program),e.setDepthMode(i),e.setStencilMode(o),e.setColorMode(a),e.setCullFace(r),n){e.activeTexture.set(b.TEXTURE2),b.bindTexture(b.TEXTURE_2D,n.depthTexture),e.activeTexture.set(b.TEXTURE3),b.bindTexture(b.TEXTURE_2D,n.texture);for(const e in this.terrainUniforms)this.terrainUniforms[e].set(n[e]);}if(l)for(const e in l)this.projectionUniforms[Ni[e]].set(l[e]);if(s)for(const e in this.fixedUniforms)this.fixedUniforms[e].set(s[e]);m&&m.setUniforms(e,this.binderUniforms,_,{zoom:p});let y=0;switch(t){case b.LINES:y=2;break;case b.TRIANGLES:y=3;break;case b.LINE_STRIP:y=1;}for(const i of d.get())i.vaos||(i.vaos={}),(x=i.vaos)[c]||(x[c]=new Oi),i.vaos[c].bind(e,this,h,m?m.getPaintVertexBuffers():[],u,i.vertexOffset,f,g,v),b.drawElements(t,i.primitiveLength*y,b.UNSIGNED_SHORT,i.primitiveOffset*y*2);}}function Gi(e,i,o){const a=1/t.aK(o,1,i.transform.tileZoom),r=Math.pow(2,o.tileID.overscaledZ),s=o.tileSize*Math.pow(2,i.transform.tileZoom)/r,n=s*(o.tileID.canonical.x+o.tileID.wrap*r),l=s*o.tileID.canonical.y;return {u_image:0,u_texsize:o.imageAtlasTexture.size,u_scale:[a,e.fromScale,e.toScale],u_fade:e.t,u_pixel_coord_upper:[n>>16,l>>16],u_pixel_coord_lower:[65535&n,65535&l]}}const Vi=(e,i,o,a)=>{const r=e.style.light,s=r.properties.get("position"),n=[s.x,s.y,s.z],l=t.c4();"viewport"===r.properties.get("anchor")&&t.c5(l,e.transform.bearingInRadians),t.c6(n,n,l);const c=e.transform.transformLightDirection(n),h=r.properties.get("color");return {u_lightpos:n,u_lightpos_globe:c,u_lightintensity:r.properties.get("intensity"),u_lightcolor:[h.r,h.g,h.b],u_vertical_gradient:+i,u_opacity:o,u_fill_translate:a}},Wi=(e,i,o,a,r,s,n)=>t.e(Vi(e,i,o,a),Gi(s,e,n),{u_height_factor:-Math.pow(2,r.overscaledZ)/n.tileSize/8}),qi=(e,i,o,a)=>t.e(Gi(i,e,o),{u_fill_translate:a}),$i=(e,t)=>({u_world:e,u_fill_translate:t}),Hi=(e,i,o,a,r)=>t.e(qi(e,i,o,r),{u_world:a}),Xi=(e,i,o,a,r)=>{const s=e.transform;let n,l,c=0;if("map"===o.paint.get("circle-pitch-alignment")){const e=t.aK(i,1,s.zoom);n=!0,l=[e,e],c=e/(t.a6*Math.pow(2,i.tileID.overscaledZ))*2*Math.PI*r;}else n=!1,l=s.pixelsToGLUnits;return {u_camera_to_center_distance:s.cameraToCenterDistance,u_scale_with_map:+("map"===o.paint.get("circle-pitch-scale")),u_pitch_with_map:+n,u_device_pixel_ratio:e.pixelRatio,u_extrude_scale:l,u_globe_extrude_scale:c,u_translate:a}},Ki=e=>({u_pixel_extrude_scale:[1/e.width,1/e.height]}),Yi=e=>({u_viewport_size:[e.width,e.height]}),Qi=(e,t=1)=>({u_color:e,u_overlay:0,u_overlay_scale:t}),Ji=(e,i,o,a)=>{const r=t.aK(e,1,i)/(t.a6*Math.pow(2,e.tileID.overscaledZ))*2*Math.PI*a;return {u_extrude_scale:t.aK(e,1,i),u_intensity:o,u_globe_extrude_scale:r}},eo=(e,i,o,a)=>{const r=t.O();t.c7(r,0,e.width,e.height,0,0,1);const s=e.context.gl;return {u_matrix:r,u_world:[s.drawingBufferWidth,s.drawingBufferHeight],u_image:o,u_color_ramp:a,u_opacity:i.paint.get("heatmap-opacity")}},to=(e,t,i)=>{const o=i.paint.get("hillshade-accent-color");let a;switch(i.paint.get("hillshade-method")){case "basic":a=4;break;case "combined":a=1;break;case "igor":a=2;break;case "multidirectional":a=3;break;default:a=0;}const r=i.getIlluminationProperties();for(let t=0;t{const o=i.stride,a=t.O();return t.c7(a,0,t.a6,-t.a6,0,0,1),t.Q(a,a,[0,-t.a6,0]),{u_matrix:a,u_image:1,u_dimension:[o,o],u_zoom:e.overscaledZ,u_unpack:i.getUnpackVector()}};function oo(e,i){const o=Math.pow(2,i.canonical.z),a=i.canonical.y;return [new t.a7(0,a/o).toLngLat().lat,new t.a7(0,(a+1)/o).toLngLat().lat]}const ao=(e,t,i=0)=>({u_image:0,u_unpack:t.getUnpackVector(),u_dimension:[t.stride,t.stride],u_elevation_stops:1,u_color_stops:4,u_color_ramp_size:i,u_opacity:e.paint.get("color-relief-opacity")}),ro=(e,i,o,a)=>{const r=e.transform;return {u_translation:uo(e,i,o),u_ratio:a/t.aK(i,1,r.zoom),u_device_pixel_ratio:e.pixelRatio,u_units_to_pixels:[1/r.pixelsToGLUnits[0],1/r.pixelsToGLUnits[1]]}},so=(e,i,o,a,r)=>t.e(ro(e,i,o,a),{u_image:0,u_image_height:r}),no=(e,i,o,a,r)=>{const s=e.transform,n=ho(i,s);return {u_translation:uo(e,i,o),u_texsize:i.imageAtlasTexture.size,u_ratio:a/t.aK(i,1,s.zoom),u_device_pixel_ratio:e.pixelRatio,u_image:0,u_scale:[n,r.fromScale,r.toScale],u_fade:r.t,u_units_to_pixels:[1/s.pixelsToGLUnits[0],1/s.pixelsToGLUnits[1]]}},lo=(e,i,o,a,r)=>{const s=ho(i,e.transform);return t.e(ro(e,i,o,a),{u_tileratio:s,u_crossfade_from:r.fromScale,u_crossfade_to:r.toScale,u_image:0,u_mix:r.t,u_lineatlas_width:e.lineAtlas.width,u_lineatlas_height:e.lineAtlas.height})},co=(e,i,o,a,r,s)=>{const n=ho(i,e.transform);return t.e(ro(e,i,o,a),{u_image:0,u_image_height:s,u_tileratio:n,u_crossfade_from:r.fromScale,u_crossfade_to:r.toScale,u_image_dash:1,u_mix:r.t,u_lineatlas_width:e.lineAtlas.width,u_lineatlas_height:e.lineAtlas.height})};function ho(e,i){return 1/t.aK(e,1,i.tileZoom)}function uo(e,i,o){return t.aL(e.transform,i,o.paint.get("line-translate"),o.paint.get("line-translate-anchor"))}const _o=(e,t,i,o,a)=>{return {u_tl_parent:e,u_scale_parent:t,u_buffer_scale:1,u_fade_t:i.mix,u_opacity:i.opacity*o.paint.get("raster-opacity"),u_image0:0,u_image1:1,u_brightness_low:o.paint.get("raster-brightness-min"),u_brightness_high:o.paint.get("raster-brightness-max"),u_saturation_factor:(s=o.paint.get("raster-saturation"),s>0?1-1/(1.001-s):-s),u_contrast_factor:(r=o.paint.get("raster-contrast"),r>0?1/(1-r):1+r),u_spin_weights:po(o.paint.get("raster-hue-rotate")),u_coords_top:[a[0].x,a[0].y,a[1].x,a[1].y],u_coords_bottom:[a[3].x,a[3].y,a[2].x,a[2].y]};var r,s;};function po(e){e*=Math.PI/180;const t=Math.sin(e),i=Math.cos(e);return [(2*i+1)/3,(-Math.sqrt(3)*t-i+1)/3,(Math.sqrt(3)*t-i+1)/3]}const mo=(e,t,i,o,a,r,s,n,l,c,h,u,d)=>{const _=s.transform;return {u_is_size_zoom_constant:+("constant"===e||"source"===e),u_is_size_feature_constant:+("constant"===e||"camera"===e),u_size_t:t?t.uSizeT:0,u_size:t?t.uSize:0,u_camera_to_center_distance:_.cameraToCenterDistance,u_pitch:_.pitch/360*2*Math.PI,u_rotate_symbol:+i,u_aspect_ratio:_.width/_.height,u_fade_change:s.options.fadeDuration?s.symbolFadeChange:1,u_label_plane_matrix:n,u_coord_matrix:l,u_is_text:+h,u_pitch_with_map:+o,u_is_along_line:a,u_is_variable_anchor:r,u_texsize:u,u_texture:0,u_translation:c,u_pitched_scale:d}},fo=(e,i,o,a,r,s,n,l,c,h,u,d,_,p)=>{const m=n.transform;return t.e(mo(e,i,o,a,r,s,n,l,c,h,u,d,p),{u_gamma_scale:a?Math.cos(m.pitch*Math.PI/180)*m.cameraToCenterDistance:1,u_device_pixel_ratio:n.pixelRatio,u_is_halo:_?1:0,u_is_plain:1})},go=(e,i,o,a,r,s,n,l,c,h,u,d,_)=>t.e(fo(e,i,o,a,r,s,n,l,c,h,!0,u,!0,_),{u_texsize_icon:d,u_texture_icon:1}),vo=(e,t)=>({u_opacity:e,u_color:t}),xo=(e,i,o,a,r)=>t.e(function(e,i,o,a){const r=o.imageManager.getPattern(e.from.toString()),s=o.imageManager.getPattern(e.to.toString()),{width:n,height:l}=o.imageManager.getPixelSize(),c=Math.pow(2,a.tileID.overscaledZ),h=a.tileSize*Math.pow(2,o.transform.tileZoom)/c,u=h*(a.tileID.canonical.x+a.tileID.wrap*c),d=h*a.tileID.canonical.y;return {u_image:0,u_pattern_tl_a:r.tl,u_pattern_br_a:r.br,u_pattern_tl_b:s.tl,u_pattern_br_b:s.br,u_texsize:[n,l],u_mix:i.t,u_pattern_size_a:r.displaySize,u_pattern_size_b:s.displaySize,u_scale_a:i.fromScale,u_scale_b:i.toScale,u_tile_units_to_pixels:1/t.aK(a,1,o.transform.tileZoom),u_pixel_coord_upper:[u>>16,d>>16],u_pixel_coord_lower:[65535&u,65535&d]}}(o,r,i,a),{u_opacity:e}),bo=(e,t)=>{},yo={fillExtrusion:(e,i)=>({u_lightpos:new t.c2(e,i.u_lightpos),u_lightpos_globe:new t.c2(e,i.u_lightpos_globe),u_lightintensity:new t.bp(e,i.u_lightintensity),u_lightcolor:new t.c2(e,i.u_lightcolor),u_vertical_gradient:new t.bp(e,i.u_vertical_gradient),u_opacity:new t.bp(e,i.u_opacity),u_fill_translate:new t.c3(e,i.u_fill_translate)}),fillExtrusionPattern:(e,i)=>({u_lightpos:new t.c2(e,i.u_lightpos),u_lightpos_globe:new t.c2(e,i.u_lightpos_globe),u_lightintensity:new t.bp(e,i.u_lightintensity),u_lightcolor:new t.c2(e,i.u_lightcolor),u_vertical_gradient:new t.bp(e,i.u_vertical_gradient),u_height_factor:new t.bp(e,i.u_height_factor),u_opacity:new t.bp(e,i.u_opacity),u_fill_translate:new t.c3(e,i.u_fill_translate),u_image:new t.b_(e,i.u_image),u_texsize:new t.c3(e,i.u_texsize),u_pixel_coord_upper:new t.c3(e,i.u_pixel_coord_upper),u_pixel_coord_lower:new t.c3(e,i.u_pixel_coord_lower),u_scale:new t.c2(e,i.u_scale),u_fade:new t.bp(e,i.u_fade)}),fill:(e,i)=>({u_fill_translate:new t.c3(e,i.u_fill_translate)}),fillPattern:(e,i)=>({u_image:new t.b_(e,i.u_image),u_texsize:new t.c3(e,i.u_texsize),u_pixel_coord_upper:new t.c3(e,i.u_pixel_coord_upper),u_pixel_coord_lower:new t.c3(e,i.u_pixel_coord_lower),u_scale:new t.c2(e,i.u_scale),u_fade:new t.bp(e,i.u_fade),u_fill_translate:new t.c3(e,i.u_fill_translate)}),fillOutline:(e,i)=>({u_world:new t.c3(e,i.u_world),u_fill_translate:new t.c3(e,i.u_fill_translate)}),fillOutlinePattern:(e,i)=>({u_world:new t.c3(e,i.u_world),u_image:new t.b_(e,i.u_image),u_texsize:new t.c3(e,i.u_texsize),u_pixel_coord_upper:new t.c3(e,i.u_pixel_coord_upper),u_pixel_coord_lower:new t.c3(e,i.u_pixel_coord_lower),u_scale:new t.c2(e,i.u_scale),u_fade:new t.bp(e,i.u_fade),u_fill_translate:new t.c3(e,i.u_fill_translate)}),circle:(e,i)=>({u_camera_to_center_distance:new t.bp(e,i.u_camera_to_center_distance),u_scale_with_map:new t.b_(e,i.u_scale_with_map),u_pitch_with_map:new t.b_(e,i.u_pitch_with_map),u_extrude_scale:new t.c3(e,i.u_extrude_scale),u_device_pixel_ratio:new t.bp(e,i.u_device_pixel_ratio),u_globe_extrude_scale:new t.bp(e,i.u_globe_extrude_scale),u_translate:new t.c3(e,i.u_translate)}),collisionBox:(e,i)=>({u_pixel_extrude_scale:new t.c3(e,i.u_pixel_extrude_scale)}),collisionCircle:(e,i)=>({u_viewport_size:new t.c3(e,i.u_viewport_size)}),debug:(e,i)=>({u_color:new t.b$(e,i.u_color),u_overlay:new t.b_(e,i.u_overlay),u_overlay_scale:new t.bp(e,i.u_overlay_scale)}),depth:bo,clippingMask:bo,heatmap:(e,i)=>({u_extrude_scale:new t.bp(e,i.u_extrude_scale),u_intensity:new t.bp(e,i.u_intensity),u_globe_extrude_scale:new t.bp(e,i.u_globe_extrude_scale)}),heatmapTexture:(e,i)=>({u_matrix:new t.c0(e,i.u_matrix),u_world:new t.c3(e,i.u_world),u_image:new t.b_(e,i.u_image),u_color_ramp:new t.b_(e,i.u_color_ramp),u_opacity:new t.bp(e,i.u_opacity)}),hillshade:(e,i)=>({u_image:new t.b_(e,i.u_image),u_latrange:new t.c3(e,i.u_latrange),u_exaggeration:new t.bp(e,i.u_exaggeration),u_altitudes:new t.c9(e,i.u_altitudes),u_azimuths:new t.c9(e,i.u_azimuths),u_accent:new t.b$(e,i.u_accent),u_method:new t.b_(e,i.u_method),u_shadows:new t.c8(e,i.u_shadows),u_highlights:new t.c8(e,i.u_highlights)}),hillshadePrepare:(e,i)=>({u_matrix:new t.c0(e,i.u_matrix),u_image:new t.b_(e,i.u_image),u_dimension:new t.c3(e,i.u_dimension),u_zoom:new t.bp(e,i.u_zoom),u_unpack:new t.c1(e,i.u_unpack)}),colorRelief:(e,i)=>({u_image:new t.b_(e,i.u_image),u_unpack:new t.c1(e,i.u_unpack),u_dimension:new t.c3(e,i.u_dimension),u_elevation_stops:new t.b_(e,i.u_elevation_stops),u_color_stops:new t.b_(e,i.u_color_stops),u_color_ramp_size:new t.b_(e,i.u_color_ramp_size),u_opacity:new t.bp(e,i.u_opacity)}),line:(e,i)=>({u_translation:new t.c3(e,i.u_translation),u_ratio:new t.bp(e,i.u_ratio),u_device_pixel_ratio:new t.bp(e,i.u_device_pixel_ratio),u_units_to_pixels:new t.c3(e,i.u_units_to_pixels)}),lineGradient:(e,i)=>({u_translation:new t.c3(e,i.u_translation),u_ratio:new t.bp(e,i.u_ratio),u_device_pixel_ratio:new t.bp(e,i.u_device_pixel_ratio),u_units_to_pixels:new t.c3(e,i.u_units_to_pixels),u_image:new t.b_(e,i.u_image),u_image_height:new t.bp(e,i.u_image_height)}),linePattern:(e,i)=>({u_translation:new t.c3(e,i.u_translation),u_texsize:new t.c3(e,i.u_texsize),u_ratio:new t.bp(e,i.u_ratio),u_device_pixel_ratio:new t.bp(e,i.u_device_pixel_ratio),u_image:new t.b_(e,i.u_image),u_units_to_pixels:new t.c3(e,i.u_units_to_pixels),u_scale:new t.c2(e,i.u_scale),u_fade:new t.bp(e,i.u_fade)}),lineSDF:(e,i)=>({u_translation:new t.c3(e,i.u_translation),u_ratio:new t.bp(e,i.u_ratio),u_device_pixel_ratio:new t.bp(e,i.u_device_pixel_ratio),u_units_to_pixels:new t.c3(e,i.u_units_to_pixels),u_image:new t.b_(e,i.u_image),u_mix:new t.bp(e,i.u_mix),u_tileratio:new t.bp(e,i.u_tileratio),u_crossfade_from:new t.bp(e,i.u_crossfade_from),u_crossfade_to:new t.bp(e,i.u_crossfade_to),u_lineatlas_width:new t.bp(e,i.u_lineatlas_width),u_lineatlas_height:new t.bp(e,i.u_lineatlas_height)}),lineGradientSDF:(e,i)=>({u_translation:new t.c3(e,i.u_translation),u_ratio:new t.bp(e,i.u_ratio),u_device_pixel_ratio:new t.bp(e,i.u_device_pixel_ratio),u_units_to_pixels:new t.c3(e,i.u_units_to_pixels),u_image:new t.b_(e,i.u_image),u_image_height:new t.bp(e,i.u_image_height),u_tileratio:new t.bp(e,i.u_tileratio),u_crossfade_from:new t.bp(e,i.u_crossfade_from),u_crossfade_to:new t.bp(e,i.u_crossfade_to),u_image_dash:new t.b_(e,i.u_image_dash),u_mix:new t.bp(e,i.u_mix),u_lineatlas_width:new t.bp(e,i.u_lineatlas_width),u_lineatlas_height:new t.bp(e,i.u_lineatlas_height)}),raster:(e,i)=>({u_tl_parent:new t.c3(e,i.u_tl_parent),u_scale_parent:new t.bp(e,i.u_scale_parent),u_buffer_scale:new t.bp(e,i.u_buffer_scale),u_fade_t:new t.bp(e,i.u_fade_t),u_opacity:new t.bp(e,i.u_opacity),u_image0:new t.b_(e,i.u_image0),u_image1:new t.b_(e,i.u_image1),u_brightness_low:new t.bp(e,i.u_brightness_low),u_brightness_high:new t.bp(e,i.u_brightness_high),u_saturation_factor:new t.bp(e,i.u_saturation_factor),u_contrast_factor:new t.bp(e,i.u_contrast_factor),u_spin_weights:new t.c2(e,i.u_spin_weights),u_coords_top:new t.c1(e,i.u_coords_top),u_coords_bottom:new t.c1(e,i.u_coords_bottom)}),symbolIcon:(e,i)=>({u_is_size_zoom_constant:new t.b_(e,i.u_is_size_zoom_constant),u_is_size_feature_constant:new t.b_(e,i.u_is_size_feature_constant),u_size_t:new t.bp(e,i.u_size_t),u_size:new t.bp(e,i.u_size),u_camera_to_center_distance:new t.bp(e,i.u_camera_to_center_distance),u_pitch:new t.bp(e,i.u_pitch),u_rotate_symbol:new t.b_(e,i.u_rotate_symbol),u_aspect_ratio:new t.bp(e,i.u_aspect_ratio),u_fade_change:new t.bp(e,i.u_fade_change),u_label_plane_matrix:new t.c0(e,i.u_label_plane_matrix),u_coord_matrix:new t.c0(e,i.u_coord_matrix),u_is_text:new t.b_(e,i.u_is_text),u_pitch_with_map:new t.b_(e,i.u_pitch_with_map),u_is_along_line:new t.b_(e,i.u_is_along_line),u_is_variable_anchor:new t.b_(e,i.u_is_variable_anchor),u_texsize:new t.c3(e,i.u_texsize),u_texture:new t.b_(e,i.u_texture),u_translation:new t.c3(e,i.u_translation),u_pitched_scale:new t.bp(e,i.u_pitched_scale)}),symbolSDF:(e,i)=>({u_is_size_zoom_constant:new t.b_(e,i.u_is_size_zoom_constant),u_is_size_feature_constant:new t.b_(e,i.u_is_size_feature_constant),u_size_t:new t.bp(e,i.u_size_t),u_size:new t.bp(e,i.u_size),u_camera_to_center_distance:new t.bp(e,i.u_camera_to_center_distance),u_pitch:new t.bp(e,i.u_pitch),u_rotate_symbol:new t.b_(e,i.u_rotate_symbol),u_aspect_ratio:new t.bp(e,i.u_aspect_ratio),u_fade_change:new t.bp(e,i.u_fade_change),u_label_plane_matrix:new t.c0(e,i.u_label_plane_matrix),u_coord_matrix:new t.c0(e,i.u_coord_matrix),u_is_text:new t.b_(e,i.u_is_text),u_pitch_with_map:new t.b_(e,i.u_pitch_with_map),u_is_along_line:new t.b_(e,i.u_is_along_line),u_is_variable_anchor:new t.b_(e,i.u_is_variable_anchor),u_texsize:new t.c3(e,i.u_texsize),u_texture:new t.b_(e,i.u_texture),u_gamma_scale:new t.bp(e,i.u_gamma_scale),u_device_pixel_ratio:new t.bp(e,i.u_device_pixel_ratio),u_is_halo:new t.b_(e,i.u_is_halo),u_is_plain:new t.b_(e,i.u_is_plain),u_translation:new t.c3(e,i.u_translation),u_pitched_scale:new t.bp(e,i.u_pitched_scale)}),symbolTextAndIcon:(e,i)=>({u_is_size_zoom_constant:new t.b_(e,i.u_is_size_zoom_constant),u_is_size_feature_constant:new t.b_(e,i.u_is_size_feature_constant),u_size_t:new t.bp(e,i.u_size_t),u_size:new t.bp(e,i.u_size),u_camera_to_center_distance:new t.bp(e,i.u_camera_to_center_distance),u_pitch:new t.bp(e,i.u_pitch),u_rotate_symbol:new t.b_(e,i.u_rotate_symbol),u_aspect_ratio:new t.bp(e,i.u_aspect_ratio),u_fade_change:new t.bp(e,i.u_fade_change),u_label_plane_matrix:new t.c0(e,i.u_label_plane_matrix),u_coord_matrix:new t.c0(e,i.u_coord_matrix),u_is_text:new t.b_(e,i.u_is_text),u_pitch_with_map:new t.b_(e,i.u_pitch_with_map),u_is_along_line:new t.b_(e,i.u_is_along_line),u_is_variable_anchor:new t.b_(e,i.u_is_variable_anchor),u_texsize:new t.c3(e,i.u_texsize),u_texsize_icon:new t.c3(e,i.u_texsize_icon),u_texture:new t.b_(e,i.u_texture),u_texture_icon:new t.b_(e,i.u_texture_icon),u_gamma_scale:new t.bp(e,i.u_gamma_scale),u_device_pixel_ratio:new t.bp(e,i.u_device_pixel_ratio),u_is_halo:new t.b_(e,i.u_is_halo),u_translation:new t.c3(e,i.u_translation),u_pitched_scale:new t.bp(e,i.u_pitched_scale)}),background:(e,i)=>({u_opacity:new t.bp(e,i.u_opacity),u_color:new t.b$(e,i.u_color)}),backgroundPattern:(e,i)=>({u_opacity:new t.bp(e,i.u_opacity),u_image:new t.b_(e,i.u_image),u_pattern_tl_a:new t.c3(e,i.u_pattern_tl_a),u_pattern_br_a:new t.c3(e,i.u_pattern_br_a),u_pattern_tl_b:new t.c3(e,i.u_pattern_tl_b),u_pattern_br_b:new t.c3(e,i.u_pattern_br_b),u_texsize:new t.c3(e,i.u_texsize),u_mix:new t.bp(e,i.u_mix),u_pattern_size_a:new t.c3(e,i.u_pattern_size_a),u_pattern_size_b:new t.c3(e,i.u_pattern_size_b),u_scale_a:new t.bp(e,i.u_scale_a),u_scale_b:new t.bp(e,i.u_scale_b),u_pixel_coord_upper:new t.c3(e,i.u_pixel_coord_upper),u_pixel_coord_lower:new t.c3(e,i.u_pixel_coord_lower),u_tile_units_to_pixels:new t.bp(e,i.u_tile_units_to_pixels)}),terrain:(e,i)=>({u_texture:new t.b_(e,i.u_texture),u_ele_delta:new t.bp(e,i.u_ele_delta),u_fog_matrix:new t.c0(e,i.u_fog_matrix),u_fog_color:new t.b$(e,i.u_fog_color),u_fog_ground_blend:new t.bp(e,i.u_fog_ground_blend),u_fog_ground_blend_opacity:new t.bp(e,i.u_fog_ground_blend_opacity),u_horizon_color:new t.b$(e,i.u_horizon_color),u_horizon_fog_blend:new t.bp(e,i.u_horizon_fog_blend),u_is_globe_mode:new t.bp(e,i.u_is_globe_mode)}),terrainDepth:(e,i)=>({u_ele_delta:new t.bp(e,i.u_ele_delta)}),terrainCoords:(e,i)=>({u_texture:new t.b_(e,i.u_texture),u_terrain_coords_id:new t.bp(e,i.u_terrain_coords_id),u_ele_delta:new t.bp(e,i.u_ele_delta)}),projectionErrorMeasurement:(e,i)=>({u_input:new t.bp(e,i.u_input),u_output_expected:new t.bp(e,i.u_output_expected)}),atmosphere:(e,i)=>({u_sun_pos:new t.c2(e,i.u_sun_pos),u_atmosphere_blend:new t.bp(e,i.u_atmosphere_blend),u_globe_position:new t.c2(e,i.u_globe_position),u_globe_radius:new t.bp(e,i.u_globe_radius),u_inv_proj_matrix:new t.c0(e,i.u_inv_proj_matrix)}),sky:(e,i)=>({u_sky_color:new t.b$(e,i.u_sky_color),u_horizon_color:new t.b$(e,i.u_horizon_color),u_horizon:new t.c3(e,i.u_horizon),u_horizon_normal:new t.c3(e,i.u_horizon_normal),u_sky_horizon_blend:new t.bp(e,i.u_sky_horizon_blend),u_sky_blend:new t.bp(e,i.u_sky_blend)})};class wo{constructor(e,t,i){this.context=e;const o=e.gl;this.buffer=o.createBuffer(),this.dynamicDraw=Boolean(i),this.context.unbindVAO(),e.bindElementBuffer.set(this.buffer),o.bufferData(o.ELEMENT_ARRAY_BUFFER,t.arrayBuffer,this.dynamicDraw?o.DYNAMIC_DRAW:o.STATIC_DRAW),this.dynamicDraw||t.freeBufferAfterUpload();}bind(){this.context.bindElementBuffer.set(this.buffer);}updateData(e){const t=this.context.gl;if(!this.dynamicDraw)throw new Error("Attempted to update data while not in dynamic mode.");this.context.unbindVAO(),this.bind(),t.bufferSubData(t.ELEMENT_ARRAY_BUFFER,0,e.arrayBuffer);}destroy(){this.buffer&&(this.context.gl.deleteBuffer(this.buffer),delete this.buffer);}}const To={Int8:"BYTE",Uint8:"UNSIGNED_BYTE",Int16:"SHORT",Uint16:"UNSIGNED_SHORT",Int32:"INT",Uint32:"UNSIGNED_INT",Float32:"FLOAT"};class Po{constructor(e,t,i,o){this.length=t.length,this.attributes=i,this.itemSize=t.bytesPerElement,this.dynamicDraw=o,this.context=e;const a=e.gl;this.buffer=a.createBuffer(),e.bindVertexBuffer.set(this.buffer),a.bufferData(a.ARRAY_BUFFER,t.arrayBuffer,this.dynamicDraw?a.DYNAMIC_DRAW:a.STATIC_DRAW),this.dynamicDraw||t.freeBufferAfterUpload();}bind(){this.context.bindVertexBuffer.set(this.buffer);}updateData(e){if(e.length!==this.length)throw new Error(`Length of new data is ${e.length}, which doesn't match current length of ${this.length}`);const t=this.context.gl;this.bind(),t.bufferSubData(t.ARRAY_BUFFER,0,e.arrayBuffer);}enableAttributes(e,t){for(const i of this.attributes){const o=t.attributes[i.name];void 0!==o&&e.enableVertexAttribArray(o);}}setVertexAttribPointers(e,t,i){for(const o of this.attributes){const a=t.attributes[o.name];void 0!==a&&e.vertexAttribPointer(a,o.components,e[To[o.type]],!1,this.itemSize,o.offset+this.itemSize*(i||0));}}destroy(){this.buffer&&(this.context.gl.deleteBuffer(this.buffer),delete this.buffer);}}class Co{constructor(e){this.gl=e.gl,this.default=this.getDefault(),this.current=this.default,this.dirty=!1;}get(){return this.current}set(e){}getDefault(){return this.default}setDefault(){this.set(this.default);}}class Mo extends Co{getDefault(){return t.bo.transparent}set(e){const t=this.current;(e.r!==t.r||e.g!==t.g||e.b!==t.b||e.a!==t.a||this.dirty)&&(this.gl.clearColor(e.r,e.g,e.b,e.a),this.current=e,this.dirty=!1);}}class Io extends Co{getDefault(){return 1}set(e){(e!==this.current||this.dirty)&&(this.gl.clearDepth(e),this.current=e,this.dirty=!1);}}class Eo extends Co{getDefault(){return 0}set(e){(e!==this.current||this.dirty)&&(this.gl.clearStencil(e),this.current=e,this.dirty=!1);}}class So extends Co{getDefault(){return [!0,!0,!0,!0]}set(e){const t=this.current;(e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||this.dirty)&&(this.gl.colorMask(e[0],e[1],e[2],e[3]),this.current=e,this.dirty=!1);}}class zo extends Co{getDefault(){return !0}set(e){(e!==this.current||this.dirty)&&(this.gl.depthMask(e),this.current=e,this.dirty=!1);}}class Ro extends Co{getDefault(){return 255}set(e){(e!==this.current||this.dirty)&&(this.gl.stencilMask(e),this.current=e,this.dirty=!1);}}class Do extends Co{getDefault(){return {func:this.gl.ALWAYS,ref:0,mask:255}}set(e){const t=this.current;(e.func!==t.func||e.ref!==t.ref||e.mask!==t.mask||this.dirty)&&(this.gl.stencilFunc(e.func,e.ref,e.mask),this.current=e,this.dirty=!1);}}class Ao extends Co{getDefault(){const e=this.gl;return [e.KEEP,e.KEEP,e.KEEP]}set(e){const t=this.current;(e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||this.dirty)&&(this.gl.stencilOp(e[0],e[1],e[2]),this.current=e,this.dirty=!1);}}class Lo extends Co{getDefault(){return !1}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;e?t.enable(t.STENCIL_TEST):t.disable(t.STENCIL_TEST),this.current=e,this.dirty=!1;}}class Fo extends Co{getDefault(){return [0,1]}set(e){const t=this.current;(e[0]!==t[0]||e[1]!==t[1]||this.dirty)&&(this.gl.depthRange(e[0],e[1]),this.current=e,this.dirty=!1);}}class ko extends Co{getDefault(){return !1}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;e?t.enable(t.DEPTH_TEST):t.disable(t.DEPTH_TEST),this.current=e,this.dirty=!1;}}class Bo extends Co{getDefault(){return this.gl.LESS}set(e){(e!==this.current||this.dirty)&&(this.gl.depthFunc(e),this.current=e,this.dirty=!1);}}class Oo extends Co{getDefault(){return !1}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;e?t.enable(t.BLEND):t.disable(t.BLEND),this.current=e,this.dirty=!1;}}class jo extends Co{getDefault(){const e=this.gl;return [e.ONE,e.ZERO]}set(e){const t=this.current;(e[0]!==t[0]||e[1]!==t[1]||this.dirty)&&(this.gl.blendFunc(e[0],e[1]),this.current=e,this.dirty=!1);}}class No extends Co{getDefault(){return t.bo.transparent}set(e){const t=this.current;(e.r!==t.r||e.g!==t.g||e.b!==t.b||e.a!==t.a||this.dirty)&&(this.gl.blendColor(e.r,e.g,e.b,e.a),this.current=e,this.dirty=!1);}}class Zo extends Co{getDefault(){return this.gl.FUNC_ADD}set(e){(e!==this.current||this.dirty)&&(this.gl.blendEquation(e),this.current=e,this.dirty=!1);}}class Uo extends Co{getDefault(){return !1}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;e?t.enable(t.CULL_FACE):t.disable(t.CULL_FACE),this.current=e,this.dirty=!1;}}class Go extends Co{getDefault(){return this.gl.BACK}set(e){(e!==this.current||this.dirty)&&(this.gl.cullFace(e),this.current=e,this.dirty=!1);}}class Vo extends Co{getDefault(){return this.gl.CCW}set(e){(e!==this.current||this.dirty)&&(this.gl.frontFace(e),this.current=e,this.dirty=!1);}}class Wo extends Co{getDefault(){return null}set(e){(e!==this.current||this.dirty)&&(this.gl.useProgram(e),this.current=e,this.dirty=!1);}}class qo extends Co{getDefault(){return this.gl.TEXTURE0}set(e){(e!==this.current||this.dirty)&&(this.gl.activeTexture(e),this.current=e,this.dirty=!1);}}class $o extends Co{getDefault(){const e=this.gl;return [0,0,e.drawingBufferWidth,e.drawingBufferHeight]}set(e){const t=this.current;(e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||this.dirty)&&(this.gl.viewport(e[0],e[1],e[2],e[3]),this.current=e,this.dirty=!1);}}class Ho extends Co{getDefault(){return null}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.bindFramebuffer(t.FRAMEBUFFER,e),this.current=e,this.dirty=!1;}}class Xo extends Co{getDefault(){return null}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.bindRenderbuffer(t.RENDERBUFFER,e),this.current=e,this.dirty=!1;}}class Ko extends Co{getDefault(){return null}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.bindTexture(t.TEXTURE_2D,e),this.current=e,this.dirty=!1;}}class Yo extends Co{getDefault(){return null}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.bindBuffer(t.ARRAY_BUFFER,e),this.current=e,this.dirty=!1;}}class Qo extends Co{getDefault(){return null}set(e){const t=this.gl;t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,e),this.current=e,this.dirty=!1;}}class Jo extends Co{getDefault(){return null}set(e){var t;if(e===this.current&&!this.dirty)return;const i=this.gl;si(i)?i.bindVertexArray(e):null===(t=i.getExtension("OES_vertex_array_object"))||void 0===t||t.bindVertexArrayOES(e),this.current=e,this.dirty=!1;}}class ea extends Co{getDefault(){return 4}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.pixelStorei(t.UNPACK_ALIGNMENT,e),this.current=e,this.dirty=!1;}}class ta extends Co{getDefault(){return !1}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL,e),this.current=e,this.dirty=!1;}}class ia extends Co{getDefault(){return !1}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.pixelStorei(t.UNPACK_FLIP_Y_WEBGL,e),this.current=e,this.dirty=!1;}}class oa extends Co{constructor(e,t){super(e),this.context=e,this.parent=t;}getDefault(){return null}}class aa extends oa{setDirty(){this.dirty=!0;}set(e){if(e===this.current&&!this.dirty)return;this.context.bindFramebuffer.set(this.parent);const t=this.gl;t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,e,0),this.current=e,this.dirty=!1;}}class ra extends oa{set(e){if(e===this.current&&!this.dirty)return;this.context.bindFramebuffer.set(this.parent);const t=this.gl;t.framebufferRenderbuffer(t.FRAMEBUFFER,t.DEPTH_ATTACHMENT,t.RENDERBUFFER,e),this.current=e,this.dirty=!1;}}class sa extends oa{set(e){if(e===this.current&&!this.dirty)return;this.context.bindFramebuffer.set(this.parent);const t=this.gl;t.framebufferRenderbuffer(t.FRAMEBUFFER,t.DEPTH_STENCIL_ATTACHMENT,t.RENDERBUFFER,e),this.current=e,this.dirty=!1;}}const na="Framebuffer is not complete";class la{constructor(e,t,i,o,a){this.context=e,this.width=t,this.height=i;const r=e.gl,s=this.framebuffer=r.createFramebuffer();if(this.colorAttachment=new aa(e,s),o)this.depthAttachment=a?new sa(e,s):new ra(e,s);else if(a)throw new Error("Stencil cannot be set without depth");if(r.checkFramebufferStatus(r.FRAMEBUFFER)!==r.FRAMEBUFFER_COMPLETE)throw new Error(na)}destroy(){const e=this.context.gl,t=this.colorAttachment.get();if(t&&e.deleteTexture(t),this.depthAttachment){const t=this.depthAttachment.get();t&&e.deleteRenderbuffer(t);}e.deleteFramebuffer(this.framebuffer);}}class ca{constructor(e){var t,i;if(this.gl=e,this.clearColor=new Mo(this),this.clearDepth=new Io(this),this.clearStencil=new Eo(this),this.colorMask=new So(this),this.depthMask=new zo(this),this.stencilMask=new Ro(this),this.stencilFunc=new Do(this),this.stencilOp=new Ao(this),this.stencilTest=new Lo(this),this.depthRange=new Fo(this),this.depthTest=new ko(this),this.depthFunc=new Bo(this),this.blend=new Oo(this),this.blendFunc=new jo(this),this.blendColor=new No(this),this.blendEquation=new Zo(this),this.cullFace=new Uo(this),this.cullFaceSide=new Go(this),this.frontFace=new Vo(this),this.program=new Wo(this),this.activeTexture=new qo(this),this.viewport=new $o(this),this.bindFramebuffer=new Ho(this),this.bindRenderbuffer=new Xo(this),this.bindTexture=new Ko(this),this.bindVertexBuffer=new Yo(this),this.bindElementBuffer=new Qo(this),this.bindVertexArray=new Jo(this),this.pixelStoreUnpack=new ea(this),this.pixelStoreUnpackPremultiplyAlpha=new ta(this),this.pixelStoreUnpackFlipY=new ia(this),this.extTextureFilterAnisotropic=e.getExtension("EXT_texture_filter_anisotropic"),this.extTextureFilterAnisotropic&&(this.extTextureFilterAnisotropicMax=e.getParameter(this.extTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT)),this.maxTextureSize=e.getParameter(e.MAX_TEXTURE_SIZE),si(e)){this.HALF_FLOAT=e.HALF_FLOAT;const o=e.getExtension("EXT_color_buffer_half_float");this.RGBA16F=null!==(t=e.RGBA16F)&&void 0!==t?t:null==o?void 0:o.RGBA16F_EXT,this.RGB16F=null!==(i=e.RGB16F)&&void 0!==i?i:null==o?void 0:o.RGB16F_EXT,e.getExtension("EXT_color_buffer_float");}else {e.getExtension("EXT_color_buffer_half_float"),e.getExtension("OES_texture_half_float_linear");const t=e.getExtension("OES_texture_half_float");this.HALF_FLOAT=null==t?void 0:t.HALF_FLOAT_OES;}}setDefault(){this.unbindVAO(),this.clearColor.setDefault(),this.clearDepth.setDefault(),this.clearStencil.setDefault(),this.colorMask.setDefault(),this.depthMask.setDefault(),this.stencilMask.setDefault(),this.stencilFunc.setDefault(),this.stencilOp.setDefault(),this.stencilTest.setDefault(),this.depthRange.setDefault(),this.depthTest.setDefault(),this.depthFunc.setDefault(),this.blend.setDefault(),this.blendFunc.setDefault(),this.blendColor.setDefault(),this.blendEquation.setDefault(),this.cullFace.setDefault(),this.cullFaceSide.setDefault(),this.frontFace.setDefault(),this.program.setDefault(),this.activeTexture.setDefault(),this.bindFramebuffer.setDefault(),this.pixelStoreUnpack.setDefault(),this.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.pixelStoreUnpackFlipY.setDefault();}setDirty(){this.clearColor.dirty=!0,this.clearDepth.dirty=!0,this.clearStencil.dirty=!0,this.colorMask.dirty=!0,this.depthMask.dirty=!0,this.stencilMask.dirty=!0,this.stencilFunc.dirty=!0,this.stencilOp.dirty=!0,this.stencilTest.dirty=!0,this.depthRange.dirty=!0,this.depthTest.dirty=!0,this.depthFunc.dirty=!0,this.blend.dirty=!0,this.blendFunc.dirty=!0,this.blendColor.dirty=!0,this.blendEquation.dirty=!0,this.cullFace.dirty=!0,this.cullFaceSide.dirty=!0,this.frontFace.dirty=!0,this.program.dirty=!0,this.activeTexture.dirty=!0,this.viewport.dirty=!0,this.bindFramebuffer.dirty=!0,this.bindRenderbuffer.dirty=!0,this.bindTexture.dirty=!0,this.bindVertexBuffer.dirty=!0,this.bindElementBuffer.dirty=!0,this.bindVertexArray.dirty=!0,this.pixelStoreUnpack.dirty=!0,this.pixelStoreUnpackPremultiplyAlpha.dirty=!0,this.pixelStoreUnpackFlipY.dirty=!0;}createIndexBuffer(e,t){return new wo(this,e,t)}createVertexBuffer(e,t,i){return new Po(this,e,t,i)}createRenderbuffer(e,t,i){const o=this.gl,a=o.createRenderbuffer();return this.bindRenderbuffer.set(a),o.renderbufferStorage(o.RENDERBUFFER,e,t,i),this.bindRenderbuffer.set(null),a}createFramebuffer(e,t,i,o){return new la(this,e,t,i,o)}clear({color:e,depth:t,stencil:i}){const o=this.gl;let a=0;e&&(a|=o.COLOR_BUFFER_BIT,this.clearColor.set(e),this.colorMask.set([!0,!0,!0,!0])),void 0!==t&&(a|=o.DEPTH_BUFFER_BIT,this.depthRange.set([0,1]),this.clearDepth.set(t),this.depthMask.set(!0)),void 0!==i&&(a|=o.STENCIL_BUFFER_BIT,this.clearStencil.set(i),this.stencilMask.set(255)),o.clear(a);}setCullFace(e){!1===e.enable?this.cullFace.set(!1):(this.cullFace.set(!0),this.cullFaceSide.set(e.mode),this.frontFace.set(e.frontFace));}setDepthMode(e){e.func!==this.gl.ALWAYS||e.mask?(this.depthTest.set(!0),this.depthFunc.set(e.func),this.depthMask.set(e.mask),this.depthRange.set(e.range)):this.depthTest.set(!1);}setStencilMode(e){e.test.func!==this.gl.ALWAYS||e.mask?(this.stencilTest.set(!0),this.stencilMask.set(e.mask),this.stencilOp.set([e.fail,e.depthFail,e.pass]),this.stencilFunc.set({func:e.test.func,ref:e.ref,mask:e.test.mask})):this.stencilTest.set(!1);}setColorMode(e){t.bQ(e.blendFunction,ei.Replace)?this.blend.set(!1):(this.blend.set(!0),this.blendFunc.set(e.blendFunction),this.blendColor.set(e.blendColor)),this.colorMask.set(e.mask);}createVertexArray(){var e;return si(this.gl)?this.gl.createVertexArray():null===(e=this.gl.getExtension("OES_vertex_array_object"))||void 0===e?void 0:e.createVertexArrayOES()}deleteVertexArray(e){var t;si(this.gl)?this.gl.deleteVertexArray(e):null===(t=this.gl.getExtension("OES_vertex_array_object"))||void 0===t||t.deleteVertexArrayOES(e);}unbindVAO(){this.bindVertexArray.set(null);}}let ha;function ua(e,i,o,a,r){var s,n;const l=e.context,c=e.transform,h=l.gl,u=e.useProgram("collisionBox"),d=[];let _=0,p=0;for(const t of a){const a=i.getTile(t).getBucket(o);if(!a)continue;const n=r?a.textCollisionBox:a.iconCollisionBox,m=a.collisionCircleArray;m.length>0&&(d.push({circleArray:m,circleOffset:p,coord:t}),_+=m.length/4,p=_),n&&u.draw(l,h.LINES,oi.disabled,ri.disabled,e.colorModeForRenderPass(),ii.disabled,Ki(e.transform),null===(s=e.style.map.terrain)||void 0===s?void 0:s.getTerrainData(t),c.getProjectionData({overscaledTileID:t,applyGlobeMatrix:!0,applyTerrainMatrix:!0}),o.id,n.layoutVertexBuffer,n.indexBuffer,n.segments,null,e.transform.zoom,null,null,n.collisionVertexBuffer);}if(!r||!d.length)return;const m=e.useProgram("collisionCircle"),f=new t.ca;f.resize(4*_),f._trim();let g=0;for(const e of d)for(let t=0;t=0&&(f[g.associatedIconIndex]={shiftedAnchor:E,angle:S});}else st(g.numGlyphs,p);}if(c){m.clear();const i=e.icon.placedSymbolArray;for(let e=0;ee.style.map.terrain.getElevation(l,t,i):null,s="map"===o.layout.get("text-rotation-alignment");$e(c,e,r,j,i,b,h,s,l.toUnwrapped(),v.width,v.height,Z,a);}const W=r&&M||V,q=y||W?da:b?j:e.transform.clipSpaceToPixelsMatrix,$=m&&0!==o.paint.get(r?"text-halo-width":"icon-halo-width").constantOr(1);let H;H=m?c.iconsInText?go(f.kind,z,w,b,y,W,e,q,N,Z,D,k,E):fo(f.kind,z,w,b,y,W,e,q,N,Z,r,D,$,E):mo(f.kind,z,w,b,y,W,e,q,N,Z,r,D,E);const X={program:S,buffers:u,uniformValues:H,projectionData:U,atlasTexture:A,atlasTextureIcon:B,atlasInterpolation:L,atlasInterpolationIcon:F,isSDF:m,hasHalo:$};if(T&&c.canOverlap){P=!0;const e=u.segments.get();for(const i of e)I.push({segments:new t.aV([i]),sortKey:i.sortKey,state:X,terrainData:R});}else I.push({segments:u.segments,sortKey:0,state:X,terrainData:R});}P&&I.sort(((e,t)=>e.sortKey-t.sortKey));const S=null!==(m=o.paint.get(r?"text-halo-width":"icon-halo-width").constantOr(null))&&void 0!==m?m:1/0,z=o.layout.get("text-letter-spacing").constantOr(0)*t.aJ<0||S>1;for(const t of I){const i=t.state;f.activeTexture.set(g.TEXTURE0),i.atlasTexture.bind(i.atlasInterpolation,g.CLAMP_TO_EDGE),i.atlasTextureIcon&&(f.activeTexture.set(g.TEXTURE1),i.atlasTextureIcon&&i.atlasTextureIcon.bind(i.atlasInterpolationIcon,g.CLAMP_TO_EDGE));const a=i.isSDF&&i.hasHalo;if(a){const a=i.uniformValues;a.u_is_halo=1,z&&(a.u_is_plain=0,va(i.buffers,t.segments,o,e,i.program,C,u,d,a,i.projectionData,t.terrainData),a.u_is_halo=0,a.u_is_plain=1);}va(i.buffers,t.segments,o,e,i.program,C,u,d,i.uniformValues,i.projectionData,t.terrainData),a&&!z&&(i.uniformValues.u_is_halo=0);}}function va(e,t,i,o,a,r,s,n,l,c,h){const u=o.context;a.draw(u,u.gl.TRIANGLES,r,s,n,ii.backCCW,l,h,c,i.id,e.layoutVertexBuffer,e.indexBuffer,t,i.paint,o.transform.zoom,e.programConfigurations.get(i.id),e.dynamicLayoutVertexBuffer,e.opacityVertexBuffer);}function xa(e,i,o,a,r){const s=e.context,n=s.gl,l=ri.disabled,c=new ei([n.ONE,n.ONE],t.bo.transparent,[!0,!0,!0,!0]),h=i.getBucket(o);if(!h)return;const u=a.key;let d=o.heatmapFbos.get(u);d||(d=ya(s,i.tileSize,i.tileSize),o.heatmapFbos.set(u,d)),s.bindFramebuffer.set(d.framebuffer),s.viewport.set([0,0,i.tileSize,i.tileSize]),s.clear({color:t.bo.transparent});const _=h.programConfigurations.get(o.id),p=e.useProgram("heatmap",_,!r),m=e.transform.getProjectionData({overscaledTileID:i.tileID,applyGlobeMatrix:!0,applyTerrainMatrix:!0}),f=e.style.map.terrain.getTerrainData(a);p.draw(s,n.TRIANGLES,oi.disabled,l,c,ii.disabled,Ji(i,e.transform.zoom,o.paint.get("heatmap-intensity"),1),f,m,o.id,h.layoutVertexBuffer,h.indexBuffer,h.segments,o.paint,e.transform.zoom,_);}function ba(e,t,i,o,a){const r=e.context,s=r.gl,n=e.transform;r.setColorMode(e.colorModeForRenderPass());const l=wa(r,t),c=i.key,h=t.heatmapFbos.get(c);if(!h)return;r.activeTexture.set(s.TEXTURE0),s.bindTexture(s.TEXTURE_2D,h.colorAttachment.get()),r.activeTexture.set(s.TEXTURE1),l.bind(s.LINEAR,s.CLAMP_TO_EDGE);const u=n.getProjectionData({overscaledTileID:i,applyTerrainMatrix:a,applyGlobeMatrix:!o});e.useProgram("heatmapTexture").draw(r,s.TRIANGLES,oi.disabled,ri.disabled,e.colorModeForRenderPass(),ii.disabled,eo(e,t,0,1),null,u,t.id,e.rasterBoundsBuffer,e.quadTriangleIndexBuffer,e.rasterBoundsSegments,t.paint,n.zoom),h.destroy(),t.heatmapFbos.delete(c);}function ya(e,t,i){var o,a;const r=e.gl,s=r.createTexture();r.bindTexture(r.TEXTURE_2D,s),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,r.CLAMP_TO_EDGE),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_T,r.CLAMP_TO_EDGE),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MIN_FILTER,r.LINEAR),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MAG_FILTER,r.LINEAR);const n=null!==(o=e.HALF_FLOAT)&&void 0!==o?o:r.UNSIGNED_BYTE,l=null!==(a=e.RGBA16F)&&void 0!==a?a:r.RGBA;r.texImage2D(r.TEXTURE_2D,0,l,t,i,0,r.RGBA,n,null);const c=e.createFramebuffer(t,i,!1,!1);return c.colorAttachment.set(s),c}function wa(e,i){return i.colorRampTexture||(i.colorRampTexture=new t.T(e,i.colorRamp,e.gl.RGBA)),i.colorRampTexture}function Ta(e,i,o,a,r,s,n,l){let c=256;if(r.stepInterpolant){const a=i.getSource().maxzoom,r=n.canonical.z===a?Math.ceil(1<e.options.anisotropicFilterPitch&&_.texParameterf(_.TEXTURE_2D,d.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,d.extTextureFilterAnisotropicMax);const S=null===(h=e.style.map.terrain)||void 0===h?void 0:h.getTerrainData(T),z=m.getProjectionData({overscaledTileID:T,aligned:v,applyGlobeMatrix:!c,applyTerrainMatrix:!0}),R=_o(I,M,E.fadeMix,i,n),D=f.getMeshFromTileID(d,T.canonical,r,s,"raster");p.draw(d,_.TRIANGLES,o,a?a[T.overscaledZ]:ri.disabled,g,l?ii.frontCCW:ii.backCCW,R,S,z,i.id,D.vertexBuffer,D.indexBuffer,D.segments);}}function ka(e,i,o,a){const r={parentTile:null,parentScaleBy:1,parentTopLeft:[0,0],fadeValues:{tileOpacity:1,parentTileOpacity:1,fadeMix:{opacity:1,mix:0}}};if(0===o||a)return r;if(e.fadingParentID){const a=i.getLoadedTile(e.fadingParentID);if(!a)return r;const s=Math.pow(2,a.tileID.overscaledZ-e.tileID.overscaledZ),n=[e.tileID.canonical.x*s%1,e.tileID.canonical.y*s%1],l=function(e,i,o){const a=c(),r=(a-i.timeAdded)/o,s=e.fadingDirection===ue.Incoming,n=t.al((a-e.timeAdded)/o,0,1),l=t.al(1-r,0,1),h=s?n:l;return {tileOpacity:h,parentTileOpacity:s?l:n,fadeMix:{opacity:1,mix:1-h}}}(e,a,o);return {parentTile:a,parentScaleBy:s,parentTopLeft:n,fadeValues:l}}if(e.selfFading){const i=function(e,i){const o=(c()-e.timeAdded)/i,a=t.al(o,0,1);return {tileOpacity:a,fadeMix:{opacity:a,mix:0}}}(e,o);return {parentTile:null,parentScaleBy:1,parentTopLeft:[0,0],fadeValues:i}}return r}const Ba=new t.bo(1,0,0,1),Oa=new t.bo(0,1,0,1),ja=new t.bo(0,0,1,1),Na=new t.bo(1,0,1,1),Za=new t.bo(0,1,1,1);function Ua(e,t,i,o){Va(e,0,t+i/2,e.transform.width,i,o);}function Ga(e,t,i,o){Va(e,t-i/2,0,i,e.transform.height,o);}function Va(e,t,i,o,a,r){const s=e.context,n=s.gl;n.enable(n.SCISSOR_TEST),n.scissor(t*e.pixelRatio,i*e.pixelRatio,o*e.pixelRatio,a*e.pixelRatio),s.clear({color:r}),n.disable(n.SCISSOR_TEST);}function Wa(e,i,o){var a;const r=e.context,s=r.gl,n=e.useProgram("debug"),l=oi.disabled,c=ri.disabled,h=e.colorModeForRenderPass(),u="$debug",d=null===(a=e.style.map.terrain)||void 0===a?void 0:a.getTerrainData(o);r.activeTexture.set(s.TEXTURE0);const _=i.getTileByID(o.key).latestRawTileData,p=Math.floor(((null==_?void 0:_.byteLength)||0)/1024),m=i.getTile(o).tileSize,f=512/Math.min(m,512)*(o.overscaledZ/e.transform.zoom)*.5;let g=o.canonical.toString();o.overscaledZ!==o.canonical.z&&(g+=` => ${o.overscaledZ}`),function(e,t){e.initDebugOverlayCanvas();const i=e.debugOverlayCanvas,o=e.context.gl,a=e.debugOverlayCanvas.getContext("2d");a.clearRect(0,0,i.width,i.height),a.shadowColor="white",a.shadowBlur=2,a.lineWidth=1.5,a.strokeStyle="white",a.textBaseline="top",a.font="bold 36px Open Sans, sans-serif",a.fillText(t,5,5),a.strokeText(t,5,5),e.debugOverlayTexture.update(i),e.debugOverlayTexture.bind(o.LINEAR,o.CLAMP_TO_EDGE);}(e,`${g} ${p}kB`);const v=e.transform.getProjectionData({overscaledTileID:o,applyGlobeMatrix:!0,applyTerrainMatrix:!0});n.draw(r,s.TRIANGLES,l,c,ei.alphaBlended,ii.disabled,Qi(t.bo.transparent,f),null,v,u,e.debugBuffer,e.quadTriangleIndexBuffer,e.debugSegments),n.draw(r,s.LINE_STRIP,l,c,h,ii.disabled,Qi(t.bo.red),d,v,u,e.debugBuffer,e.tileBorderIndexBuffer,e.debugSegments);}function qa(e,t,i,o){const{isRenderingGlobe:a}=o,r=e.context,s=r.gl,n=e.transform,l=e.colorModeForRenderPass(),c=e.getDepthModeFor3D(),h=e.useProgram("terrain");r.bindFramebuffer.set(null),r.viewport.set([0,0,e.width,e.height]);for(const o of i){const i=t.getTerrainMesh(o.tileID),u=e.renderToTexture.getTexture(o),d=t.getTerrainData(o.tileID);r.activeTexture.set(s.TEXTURE0),s.bindTexture(s.TEXTURE_2D,u.texture);const _=t.getMeshFrameDelta(n.zoom),p=n.calculateFogMatrix(o.tileID.toUnwrapped()),m=ji(_,p,e.style.sky,n.pitch,a),f=n.getProjectionData({overscaledTileID:o.tileID,applyTerrainMatrix:!1,applyGlobeMatrix:!0});h.draw(r,s.TRIANGLES,c,ri.disabled,l,ii.backCCW,m,d,f,"terrain",i.vertexBuffer,i.indexBuffer,i.segments);}}function $a(e,i){if(!i.mesh){const o=new t.aU;o.emplaceBack(-1,-1),o.emplaceBack(1,-1),o.emplaceBack(1,1),o.emplaceBack(-1,1);const a=new t.aW;a.emplaceBack(0,1,2),a.emplaceBack(0,2,3),i.mesh=new Bt(e.createVertexBuffer(o,Ot.members),e.createIndexBuffer(a),t.aV.simpleSegment(0,0,o.length,a.length));}return i.mesh}const Ha={symbol:function(e,i,o,a,r,s){if("translucent"!==e.renderPass)return;const{isRenderingToTexture:n}=s,l=ri.disabled,c=e.colorModeForRenderPass();(o._unevaluatedLayout.hasValue("text-variable-anchor")||o._unevaluatedLayout.hasValue("text-variable-anchor-offset"))&&function(e,i,o,a,r,s,n,l,c){var h;const u=i.transform,d=i.style.map.terrain,_="map"===r,p="map"===s;for(const r of e){const e=a.getTile(r),s=e.getBucket(o);if(!(null===(h=null==s?void 0:s.text)||void 0===h?void 0:h.segments.get().length))continue;const m=t.aw(s.textSizeData,u.zoom),f=t.aK(e,1,i.transform.zoom),g=Ze(_,i.transform,f),v="none"!==o.layout.get("icon-text-fit")&&s.hasIconData();if(m){const i=Math.pow(2,u.zoom-e.tileID.overscaledZ),o=d?(e,t)=>d.getElevation(r,e,t):null;ma(s,_,p,c,u,g,i,m,v,t.aL(u,e,n,l),r.toUnwrapped(),o);}}}(a,e,o,i,o.layout.get("text-rotation-alignment"),o.layout.get("text-pitch-alignment"),o.paint.get("text-translate"),o.paint.get("text-translate-anchor"),r),0!==o.paint.get("icon-opacity").constantOr(1)&&ga(e,i,o,a,!1,o.paint.get("icon-translate"),o.paint.get("icon-translate-anchor"),o.layout.get("icon-rotation-alignment"),o.layout.get("icon-pitch-alignment"),o.layout.get("icon-keep-upright"),l,c,n),0!==o.paint.get("text-opacity").constantOr(1)&&ga(e,i,o,a,!0,o.paint.get("text-translate"),o.paint.get("text-translate-anchor"),o.layout.get("text-rotation-alignment"),o.layout.get("text-pitch-alignment"),o.layout.get("text-keep-upright"),l,c,n),i.map.showCollisionBoxes&&(ua(e,i,o,a,!0),ua(e,i,o,a,!1));},circle:function(e,i,o,a,r){var s;if("translucent"!==e.renderPass)return;const{isRenderingToTexture:n}=r,l=o.paint.get("circle-opacity"),c=o.paint.get("circle-stroke-width"),h=o.paint.get("circle-stroke-opacity"),u=!o.layout.get("circle-sort-key").isConstant();if(0===l.constantOr(1)&&(0===c.constantOr(1)||0===h.constantOr(1)))return;const d=e.context,_=d.gl,p=e.transform,m=e.getDepthModeForSublayer(0,oi.ReadOnly),f=ri.disabled,g=e.colorModeForRenderPass(),v=[],x=p.getCircleRadiusCorrection();for(const r of a){const a=i.getTile(r),l=a.getBucket(o);if(!l)continue;const c=o.paint.get("circle-translate"),h=o.paint.get("circle-translate-anchor"),d=t.aL(p,a,c,h),_=l.programConfigurations.get(o.id),m=e.useProgram("circle",_),f=l.layoutVertexBuffer,g=l.indexBuffer,b=null===(s=e.style.map.terrain)||void 0===s?void 0:s.getTerrainData(r),y={programConfiguration:_,program:m,layoutVertexBuffer:f,indexBuffer:g,uniformValues:Xi(e,a,o,d,x),terrainData:b,projectionData:p.getProjectionData({overscaledTileID:r,applyGlobeMatrix:!n,applyTerrainMatrix:!0})};if(u){const e=l.segments.get();for(const i of e)v.push({segments:new t.aV([i]),sortKey:i.sortKey,state:y});}else v.push({segments:l.segments,sortKey:0,state:y});}u&&v.sort(((e,t)=>e.sortKey-t.sortKey));for(const t of v){const{programConfiguration:i,program:a,layoutVertexBuffer:r,indexBuffer:s,uniformValues:n,terrainData:l,projectionData:c}=t.state;a.draw(d,_.TRIANGLES,m,f,g,ii.backCCW,n,l,c,o.id,r,s,t.segments,o.paint,e.transform.zoom,i);}},heatmap:function(e,i,o,a,r){if(0===o.paint.get("heatmap-opacity"))return;const s=e.context,{isRenderingToTexture:n,isRenderingGlobe:l}=r;if(e.style.map.terrain){for(const t of a){const a=i.getTile(t);i.hasRenderableParent(t)||("offscreen"===e.renderPass?xa(e,a,o,t,l):"translucent"===e.renderPass&&ba(e,o,t,n,l));}s.viewport.set([0,0,e.width,e.height]);}else "offscreen"===e.renderPass?function(e,i,o,a){const r=e.context,s=r.gl,n=e.transform,l=ri.disabled,c=new ei([s.ONE,s.ONE],t.bo.transparent,[!0,!0,!0,!0]);((function(e,i,o){const a=e.gl;e.activeTexture.set(a.TEXTURE1),e.viewport.set([0,0,i.width/4,i.height/4]);let r=o.heatmapFbos.get(t.cd);r?(a.bindTexture(a.TEXTURE_2D,r.colorAttachment.get()),e.bindFramebuffer.set(r.framebuffer)):(r=ya(e,i.width/4,i.height/4),o.heatmapFbos.set(t.cd,r));}))(r,e,o),r.clear({color:t.bo.transparent});for(const t of a){if(i.hasRenderableParent(t))continue;const a=i.getTile(t),h=a.getBucket(o);if(!h)continue;const u=h.programConfigurations.get(o.id),d=e.useProgram("heatmap",u),_=n.getProjectionData({overscaledTileID:t,applyGlobeMatrix:!0,applyTerrainMatrix:!1}),p=n.getCircleRadiusCorrection();d.draw(r,s.TRIANGLES,oi.disabled,l,c,ii.backCCW,Ji(a,n.zoom,o.paint.get("heatmap-intensity"),p),null,_,o.id,h.layoutVertexBuffer,h.indexBuffer,h.segments,o.paint,n.zoom,u);}r.viewport.set([0,0,e.width,e.height]);}(e,i,o,a):"translucent"===e.renderPass&&function(e,i){const o=e.context,a=o.gl;o.setColorMode(e.colorModeForRenderPass());const r=i.heatmapFbos.get(t.cd);r&&(o.activeTexture.set(a.TEXTURE0),a.bindTexture(a.TEXTURE_2D,r.colorAttachment.get()),o.activeTexture.set(a.TEXTURE1),wa(o,i).bind(a.LINEAR,a.CLAMP_TO_EDGE),e.useProgram("heatmapTexture").draw(o,a.TRIANGLES,oi.disabled,ri.disabled,e.colorModeForRenderPass(),ii.disabled,eo(e,i,0,1),null,null,i.id,e.viewportBuffer,e.quadTriangleIndexBuffer,e.viewportSegments,i.paint,e.transform.zoom));}(e,o);},line:function(e,t,i,o,a){var r;if("translucent"!==e.renderPass)return;const{isRenderingToTexture:s}=a,n=i.paint.get("line-opacity"),l=i.paint.get("line-width");if(0===n.constantOr(1)||0===l.constantOr(1))return;const c=e.getDepthModeForSublayer(0,oi.ReadOnly),h=e.colorModeForRenderPass(),u=i.paint.get("line-dasharray"),d=u.constantOr(1),_=i.paint.get("line-pattern"),p=_.constantOr(1),m=i.paint.get("line-gradient"),f=i.getCrossfadeParameters();let g;g=p?"linePattern":d&&m?"lineGradientSDF":d?"lineSDF":m?"lineGradient":"line";const v=e.context,x=v.gl,b=e.transform;let y=!0;for(const a of o){const o=t.getTile(a);if(p&&!o.patternsLoaded())continue;const n=o.getBucket(i);if(!n)continue;const l=n.programConfigurations.get(i.id),w=e.context.program.get(),T=e.useProgram(g,l),P=y||T.program!==w,C=null===(r=e.style.map.terrain)||void 0===r?void 0:r.getTerrainData(a),M=_.constantOr(null),I=null==u?void 0:u.constantOr(null);if(M&&o.imageAtlas){const e=o.imageAtlas,t=e.patternPositions[M.to.toString()],i=e.patternPositions[M.from.toString()];t&&i&&l.setConstantPatternPositions(t,i);}else if(I){const t="round"===i.layout.get("line-cap").constantOr(null),o=e.lineAtlas.getDash(I.to,t),a=e.lineAtlas.getDash(I.from,t);l.setConstantDashPositions(o,a);}const E=b.getProjectionData({overscaledTileID:a,applyGlobeMatrix:!s,applyTerrainMatrix:!0}),S=b.getPixelScale();let z;p?(z=no(e,o,i,S,f),Pa(v,x,o,l,f)):d&&m?(z=co(e,o,i,S,f,n.lineClipsArray.length),Ia(e,t,v,x,i,n,a,l,f)):d?(z=lo(e,o,i,S,f),Ca(e,v,x,l,P,f)):m?(z=so(e,o,i,S,n.lineClipsArray.length),Ma(e,t,v,x,i,n,a)):z=ro(e,o,i,S);const R=e.stencilModeForClipping(a);T.draw(v,x.TRIANGLES,c,R,h,ii.disabled,z,C,E,i.id,n.layoutVertexBuffer,n.indexBuffer,n.segments,i.paint,e.transform.zoom,l,n.layoutVertexBuffer2),y=!1;}},fill:function(e,i,o,a,r){const s=o.paint.get("fill-color"),n=o.paint.get("fill-opacity");if(0===n.constantOr(1))return;const{isRenderingToTexture:l}=r,c=e.colorModeForRenderPass(),h=o.paint.get("fill-pattern"),u=e.opaquePassEnabledForLayer()&&!h.constantOr(1)&&1===s.constantOr(t.bo.transparent).a&&1===n.constantOr(0)?"opaque":"translucent";if(e.renderPass===u){const t=e.getDepthModeForSublayer(1,"opaque"===e.renderPass?oi.ReadWrite:oi.ReadOnly);Sa(e,i,o,a,t,c,!1,l);}if("translucent"===e.renderPass&&o.paint.get("fill-antialias")){const t=e.getDepthModeForSublayer(o.getPaintProperty("fill-outline-color")?2:0,oi.ReadOnly);Sa(e,i,o,a,t,c,!0,l);}},fillExtrusion:function(e,t,i,o,a){const r=i.paint.get("fill-extrusion-opacity");if(0===r)return;const{isRenderingToTexture:s}=a;if("translucent"===e.renderPass){const a=new oi(e.context.gl.LEQUAL,oi.ReadWrite,e.depthRangeFor3D);if(1!==r||i.paint.get("fill-extrusion-pattern").constantOr(1))za(e,t,i,o,a,ri.disabled,ei.disabled,s),za(e,t,i,o,a,e.stencilModeFor3D(),e.colorModeForRenderPass(),s);else {const r=e.colorModeForRenderPass();za(e,t,i,o,a,ri.disabled,r,s);}}},hillshade:function(e,i,o,a,r){if("offscreen"!==e.renderPass&&"translucent"!==e.renderPass)return;const{isRenderingToTexture:s}=r,n=e.context,l=e.style.projection.useSubdivision,c=e.getDepthModeForSublayer(0,oi.ReadOnly),h=e.colorModeForRenderPass();if("offscreen"===e.renderPass)!function(e,i,o,a,r,s,n){const l=e.context,c=l.gl,h="nearest"===a.paint.get("resampling")?c.NEAREST:c.LINEAR;for(const u of o){const o=i.getTile(u),d=o.dem;if(!(null==d?void 0:d.data))continue;if(!o.needsHillshadePrepare)continue;const _=d.dim,p=d.stride,m=d.getPixels();if(l.activeTexture.set(c.TEXTURE1),l.pixelStoreUnpackPremultiplyAlpha.set(!1),o.demTexture||(o.demTexture=e.getTileTexture(p)),o.demTexture){const e=o.demTexture;e.update(m,{premultiply:!1}),e.bind(c.NEAREST,c.CLAMP_TO_EDGE);}else o.demTexture=new t.T(l,m,c.RGBA,{premultiply:!1}),o.demTexture.bind(c.NEAREST,c.CLAMP_TO_EDGE);l.activeTexture.set(c.TEXTURE0);let f=o.fbo;if(!f){const e=new t.T(l,{width:_,height:_,data:null},c.RGBA);e.bind(h,c.CLAMP_TO_EDGE),f=o.fbo=l.createFramebuffer(_,_,!0,!1),f.colorAttachment.set(e.texture);}l.bindFramebuffer.set(f.framebuffer),l.viewport.set([0,0,_,_]),e.useProgram("hillshadePrepare").draw(l,c.TRIANGLES,r,s,n,ii.disabled,io(o.tileID,d),null,null,a.id,e.rasterBoundsBuffer,e.quadTriangleIndexBuffer,e.rasterBoundsSegments),o.needsHillshadePrepare=!1;}}(e,i,a,o,c,ri.disabled,h),n.viewport.set([0,0,e.width,e.height]);else if("translucent"===e.renderPass)if(l){const[t,r,n]=e.stencilConfigForOverlapTwoPass(a);Ra(e,i,o,n,t,c,h,!1,s),Ra(e,i,o,n,r,c,h,!0,s);}else {const[t,r]=e.getStencilConfigForOverlapAndUpdateStencilID(a);Ra(e,i,o,r,t,c,h,!1,s);}},colorRelief:function(e,t,i,o,a){if("translucent"!==e.renderPass)return;if(!o.length)return;const{isRenderingToTexture:r}=a,s=e.style.projection.useSubdivision,n=e.getDepthModeForSublayer(0,oi.ReadOnly),l=e.colorModeForRenderPass();if(s){const[a,s,c]=e.stencilConfigForOverlapTwoPass(o);Aa(e,t,i,c,a,n,l,!1,r),Aa(e,t,i,c,s,n,l,!0,r);}else {const[a,s]=e.getStencilConfigForOverlapAndUpdateStencilID(o);Aa(e,t,i,s,a,n,l,!1,r);}},raster:function(e,t,i,o,a){if("translucent"!==e.renderPass)return;if(0===i.paint.get("raster-opacity"))return;if(!o.length)return;const{isRenderingToTexture:r}=a,s=t.getSource(),n=e.style.projection.useSubdivision;if(s instanceof te)Fa(e,t,i,o,null,!1,!1,s.tileCoords,s.flippedWindingOrder,r);else if(n){const[a,s,n]=e.stencilConfigForOverlapTwoPass(o);Fa(e,t,i,n,a,!1,!0,La,!1,r),Fa(e,t,i,n,s,!0,!0,La,!1,r);}else {const[a,s]=e.getStencilConfigForOverlapAndUpdateStencilID(o);Fa(e,t,i,s,a,!1,!0,La,!1,r);}},background:function(e,t,i,o,a){var r;const s=i.paint.get("background-color"),n=i.paint.get("background-opacity");if(0===n)return;const{isRenderingToTexture:l}=a,c=e.context,h=c.gl,u=e.style.projection,d=e.transform,_=d.tileSize,p=i.paint.get("background-pattern");if(e.isPatternMissing(p))return;const m=!p&&1===s.a&&1===n&&e.opaquePassEnabledForLayer()?"opaque":"translucent";if(e.renderPass!==m)return;const f=ri.disabled,g=e.getDepthModeForSublayer(0,"opaque"===m?oi.ReadWrite:oi.ReadOnly),v=e.colorModeForRenderPass(),x=e.useProgram(p?"backgroundPattern":"background"),b=o||Me(d,{tileSize:_,terrain:e.style.map.terrain});p&&(c.activeTexture.set(h.TEXTURE0),e.imageManager.bind(e.context));const y=i.getCrossfadeParameters();for(const t of b){const o=d.getProjectionData({overscaledTileID:t,applyGlobeMatrix:!l,applyTerrainMatrix:!0}),a=p?xo(n,e,p,{tileID:t,tileSize:_},y):vo(n,s),m=null===(r=e.style.map.terrain)||void 0===r?void 0:r.getTerrainData(t),b=u.getMeshFromTileID(c,t.canonical,!1,!0,"raster");x.draw(c,h.TRIANGLES,g,f,v,ii.backCCW,a,m,o,i.id,b.vertexBuffer,b.indexBuffer,b.segments);}},sky:function(e,t){const i=e.context,o=i.gl,a=((e,t,i)=>{const o=Math.cos(t.rollInRadians),a=Math.sin(t.rollInRadians),r=ge(t),s=t.getProjectionData({overscaledTileID:null,applyGlobeMatrix:!0,applyTerrainMatrix:!0}).projectionTransition;return {u_sky_color:e.properties.get("sky-color"),u_horizon_color:e.properties.get("horizon-color"),u_horizon:[(t.width/2-r*a)*i,(t.height/2+r*o)*i],u_horizon_normal:[-a,o],u_sky_horizon_blend:e.properties.get("sky-horizon-blend")*t.height/2*i,u_sky_blend:s}})(t,e.style.map.transform,e.pixelRatio),r=new oi(o.LEQUAL,oi.ReadWrite,[0,1]),s=ri.disabled,n=e.colorModeForRenderPass(),l=e.useProgram("sky"),c=$a(i,t);l.draw(i,o.TRIANGLES,r,s,n,ii.disabled,a,null,void 0,"sky",c.vertexBuffer,c.indexBuffer,c.segments);},atmosphere:function(e,i,o){const a=e.context,r=a.gl,s=e.useProgram("atmosphere"),n=new oi(r.LEQUAL,oi.ReadOnly,[0,1]),l=e.transform,c=function(e,i){const o=e.properties.get("position"),a=[-o.x,-o.y,-o.z],r=t.ap(new Float64Array(16));return "map"===e.properties.get("anchor")&&(t.be(r,r,i.rollInRadians),t.bf(r,r,-i.pitchInRadians),t.be(r,r,i.bearingInRadians),t.bf(r,r,i.center.lat*Math.PI/180),t.bI(r,r,-i.center.lng*Math.PI/180)),t.cg(a,a,r),a}(o,e.transform),h=l.getProjectionData({overscaledTileID:null,applyGlobeMatrix:!0,applyTerrainMatrix:!0}),u=i.properties.get("atmosphere-blend")*h.projectionTransition;if(0===u)return;const d=gi(l.worldSize,l.center.lat),_=l.inverseProjectionMatrix,p=new Float64Array(4);p[3]=1,t.aE(p,p,l.modelViewProjectionMatrix),p[0]/=p[3],p[1]/=p[3],p[2]/=p[3],p[3]=1,t.aE(p,p,_),p[0]/=p[3],p[1]/=p[3],p[2]/=p[3],p[3]=1;const m=((e,t,i,o,a)=>({u_sun_pos:e,u_atmosphere_blend:t,u_globe_position:i,u_globe_radius:o,u_inv_proj_matrix:a}))(c,u,[p[0],p[1],p[2]],d,_),f=$a(a,i);s.draw(a,r.TRIANGLES,n,ri.disabled,ei.alphaBlended,ii.disabled,m,null,null,"atmosphere",f.vertexBuffer,f.indexBuffer,f.segments);},custom:function(e,t,i,o){const{isRenderingGlobe:a}=o,r=e.context,s=i.implementation,n=e.style.projection,l=e.transform,c=l.getProjectionDataForCustomLayer(a),h={farZ:l.farZ,nearZ:l.nearZ,fov:l.fov*Math.PI/180,modelViewProjectionMatrix:l.modelViewProjectionMatrix,projectionMatrix:l.projectionMatrix,shaderData:{variantName:n.shaderVariantName,vertexShaderPrelude:`const float PI = 3.141592653589793;\nuniform mat4 u_projection_matrix;\n${n.shaderPreludeCode.vertexSource}`,define:n.shaderDefine},defaultProjectionData:c},u=s.renderingMode?s.renderingMode:"2d";if("offscreen"===e.renderPass){const t=s.prerender;t&&(e.setCustomLayerDefaults(),r.setColorMode(e.colorModeForRenderPass()),t.call(s,r.gl,h),r.setDirty(),e.setBaseState());}else if("translucent"===e.renderPass){e.setCustomLayerDefaults(),r.setColorMode(e.colorModeForRenderPass()),r.setStencilMode(ri.disabled);const t="3d"===u?e.getDepthModeFor3D():e.getDepthModeForSublayer(0,oi.ReadOnly);r.setDepthMode(t),s.render(r.gl,h),r.setDirty(),e.setBaseState(),r.bindFramebuffer.set(null);}},debug:function(e,t,i){for(const o of i)Wa(e,t,o);},debugPadding:function(e){const t=e.transform.padding;Ua(e,e.transform.height-(t.top||0),3,Ba),Ua(e,t.bottom||0,3,Oa),Ga(e,t.left||0,3,ja),Ga(e,e.transform.width-(t.right||0),3,Na);const i=e.transform.centerPoint;!function(e,t,i,o){Va(e,t-1,i-10,2,20,o),Va(e,t-10,i-1,20,2,o);}(e,i.x,e.transform.height-i.y,Za);},terrainDepth:function(e,i){const o=e.context,a=o.gl,r=e.transform,s=ei.unblended,n=new oi(a.LEQUAL,oi.ReadWrite,[0,1]),l=i.tileManager.getRenderableTiles(),c=e.useProgram("terrainDepth");o.bindFramebuffer.set(i.getFramebuffer("depth").framebuffer),o.viewport.set([0,0,e.width/devicePixelRatio,e.height/devicePixelRatio]),o.clear({color:t.bo.transparent,depth:1});for(const e of l){const t=i.getTerrainMesh(e.tileID),l=i.getTerrainData(e.tileID),h=r.getProjectionData({overscaledTileID:e.tileID,applyTerrainMatrix:!1,applyGlobeMatrix:!0}),u={u_ele_delta:i.getMeshFrameDelta(r.zoom)};c.draw(o,a.TRIANGLES,n,ri.disabled,s,ii.backCCW,u,l,h,"terrain",t.vertexBuffer,t.indexBuffer,t.segments);}o.bindFramebuffer.set(null),o.viewport.set([0,0,e.width,e.height]);},terrainCoords:function(e,i){const o=e.context,a=o.gl,r=e.transform,s=ei.unblended,n=new oi(a.LEQUAL,oi.ReadWrite,[0,1]),l=i.getCoordsTexture(),c=i.tileManager.getRenderableTiles(),h=e.useProgram("terrainCoords");o.bindFramebuffer.set(i.getFramebuffer("coords").framebuffer),o.viewport.set([0,0,e.width/devicePixelRatio,e.height/devicePixelRatio]),o.clear({color:t.bo.transparent,depth:1}),i.coordsIndex=[];for(const e of c){const t=i.getTerrainMesh(e.tileID),c=i.getTerrainData(e.tileID);o.activeTexture.set(a.TEXTURE0),a.bindTexture(a.TEXTURE_2D,l.texture);const u={u_terrain_coords_id:(255-i.coordsIndex.length)/255,u_texture:0,u_ele_delta:i.getMeshFrameDelta(r.zoom)},d=r.getProjectionData({overscaledTileID:e.tileID,applyTerrainMatrix:!1,applyGlobeMatrix:!0});h.draw(o,a.TRIANGLES,n,ri.disabled,s,ii.backCCW,u,c,d,"terrain",t.vertexBuffer,t.indexBuffer,t.segments),i.coordsIndex.push(e.tileID.key);}o.bindFramebuffer.set(null),o.viewport.set([0,0,e.width,e.height]);}};class Xa{constructor(e,i){this.drawFunctions=Ha,this.context=new ca(e),this.transform=i,this._tileTextures={},this.terrainFacilitator={depthDirty:!0,coordsDirty:!1,matrix:t.ap(new Float64Array(16)),renderTime:0},this.setup(),this.numSublayers=Fe.maxOverzooming+Fe.maxUnderzooming+1,this.depthEpsilon=1/Math.pow(2,16),this.crossTileSymbolIndex=new At;}resize(e,t,i){if(this.width=Math.floor(e*i),this.height=Math.floor(t*i),this.pixelRatio=i,this.context.viewport.set([0,0,this.width,this.height]),this.style)for(const e of this.style._order)this.style._layers[e].resize();}setup(){const e=this.context,i=new t.aU;i.emplaceBack(0,0),i.emplaceBack(t.a6,0),i.emplaceBack(0,t.a6),i.emplaceBack(t.a6,t.a6),this.tileExtentBuffer=e.createVertexBuffer(i,Ot.members),this.tileExtentSegments=t.aV.simpleSegment(0,0,4,2);const o=new t.aU;o.emplaceBack(0,0),o.emplaceBack(t.a6,0),o.emplaceBack(0,t.a6),o.emplaceBack(t.a6,t.a6),this.debugBuffer=e.createVertexBuffer(o,Ot.members),this.debugSegments=t.aV.simpleSegment(0,0,4,5);const a=new t.ch;a.emplaceBack(0,0,0,0),a.emplaceBack(t.a6,0,t.a6,0),a.emplaceBack(0,t.a6,0,t.a6),a.emplaceBack(t.a6,t.a6,t.a6,t.a6),this.rasterBoundsBuffer=e.createVertexBuffer(a,Bi.members),this.rasterBoundsSegments=t.aV.simpleSegment(0,0,4,2);const r=new t.aU;r.emplaceBack(0,0),r.emplaceBack(t.a6,0),r.emplaceBack(0,t.a6),r.emplaceBack(t.a6,t.a6),this.rasterBoundsBufferPosOnly=e.createVertexBuffer(r,Ot.members),this.rasterBoundsSegmentsPosOnly=t.aV.simpleSegment(0,0,4,5);const s=new t.aU;s.emplaceBack(0,0),s.emplaceBack(1,0),s.emplaceBack(0,1),s.emplaceBack(1,1),this.viewportBuffer=e.createVertexBuffer(s,Ot.members),this.viewportSegments=t.aV.simpleSegment(0,0,4,2);const n=new t.ci;n.emplaceBack(0),n.emplaceBack(1),n.emplaceBack(3),n.emplaceBack(2),n.emplaceBack(0),this.tileBorderIndexBuffer=e.createIndexBuffer(n);const l=new t.aW;l.emplaceBack(1,0,2),l.emplaceBack(1,2,3),this.quadTriangleIndexBuffer=e.createIndexBuffer(l);const c=this.context.gl;this.stencilClearMode=new ri({func:c.ALWAYS,mask:0},0,255,c.ZERO,c.ZERO,c.ZERO),this.tileExtentMesh=new Bt(this.tileExtentBuffer,this.quadTriangleIndexBuffer,this.tileExtentSegments);}clearStencil(){const e=this.context,i=e.gl;this.nextStencilID=1,this.currentStencilSource=void 0;const o=t.O();t.c7(o,0,this.width,this.height,0,0,1),t.S(o,o,[i.drawingBufferWidth,i.drawingBufferHeight,0]);const a={mainMatrix:o,tileMercatorCoords:[0,0,1,1],clippingPlane:[0,0,0,0],projectionTransition:0,fallbackMatrix:o};this.useProgram("clippingMask",null,!0).draw(e,i.TRIANGLES,oi.disabled,this.stencilClearMode,ei.disabled,ii.disabled,null,null,a,"$clipping",this.viewportBuffer,this.quadTriangleIndexBuffer,this.viewportSegments);}_renderTileClippingMasks(e,t,i){if(this.currentStencilSource===e.source||!e.isTileClipped()||!(null==t?void 0:t.length))return;this.currentStencilSource=e.source,this.nextStencilID+t.length>256&&this.clearStencil();const o=this.context;o.setColorMode(ei.disabled),o.setDepthMode(oi.disabled);const a={};for(const e of t)a[e.key]=this.nextStencilID++;this._renderTileMasks(a,t,i,!0),this._renderTileMasks(a,t,i,!1),this._tileClippingMaskIDs=a;}_renderTileMasks(e,t,i,o){var a;const r=this.context,s=r.gl,n=this.style.projection,l=this.transform,c=this.useProgram("clippingMask");for(const h of t){const t=e[h.key],u=null===(a=this.style.map.terrain)||void 0===a?void 0:a.getTerrainData(h),d=n.getMeshFromTileID(this.context,h.canonical,o,!0,"stencil"),_=l.getProjectionData({overscaledTileID:h,applyGlobeMatrix:!i,applyTerrainMatrix:!0});c.draw(r,s.TRIANGLES,oi.disabled,new ri({func:s.ALWAYS,mask:0},t,255,s.KEEP,s.KEEP,s.REPLACE),ei.disabled,i?ii.disabled:ii.backCCW,null,u,_,"$clipping",d.vertexBuffer,d.indexBuffer,d.segments);}}_renderTilesDepthBuffer(){var e;const t=this.context,i=t.gl,o=this.style.projection,a=this.transform,r=this.useProgram("depth"),s=this.getDepthModeFor3D(),n=Me(a,{tileSize:a.tileSize});for(const l of n){const n=null===(e=this.style.map.terrain)||void 0===e?void 0:e.getTerrainData(l),c=o.getMeshFromTileID(this.context,l.canonical,!0,!0,"raster"),h=a.getProjectionData({overscaledTileID:l,applyGlobeMatrix:!0,applyTerrainMatrix:!0});r.draw(t,i.TRIANGLES,s,ri.disabled,ei.disabled,ii.backCCW,null,n,h,"$clipping",c.vertexBuffer,c.indexBuffer,c.segments);}}stencilModeFor3D(){this.currentStencilSource=void 0,this.nextStencilID+1>256&&this.clearStencil();const e=this.nextStencilID++,t=this.context.gl;return new ri({func:t.NOTEQUAL,mask:255},e,255,t.KEEP,t.KEEP,t.REPLACE)}stencilModeForClipping(e){const t=this.context.gl;return new ri({func:t.EQUAL,mask:255},this._tileClippingMaskIDs[e.key],0,t.KEEP,t.KEEP,t.REPLACE)}getStencilConfigForOverlapAndUpdateStencilID(e){const t=this.context.gl,i=e.sort(((e,t)=>t.overscaledZ-e.overscaledZ)),o=i[i.length-1].overscaledZ,a=i[0].overscaledZ-o+1;if(a>1){this.currentStencilSource=void 0,this.nextStencilID+a>256&&this.clearStencil();const e={};for(let i=0;it.overscaledZ-e.overscaledZ)),o=i[i.length-1].overscaledZ,a=i[0].overscaledZ-o+1;if(this.clearStencil(),a>1){const e={},r={};for(let i=0;i0};for(const e in n){const t=n[e];t.used&&t.prepare(this.context),l[e]=t.getVisibleCoordinates(!1),h[e]=l[e].slice().reverse(),u[e]=t.getVisibleCoordinates(!0).reverse();}this.opaquePassCutoff=1/0;for(let e=0;ethis.useProgram(e)}),this.context.viewport.set([0,0,this.width,this.height]),this.context.bindFramebuffer.set(null),this.context.clear({color:i.showOverdrawInspector?t.bo.black:t.bo.transparent,depth:1}),this.clearStencil(),this.style.sky&&this.drawFunctions.sky(this,this.style.sky),this._showOverdrawInspector=i.showOverdrawInspector,this.depthRangeFor3D=[0,1-(e._order.length+2)*this.numSublayers*this.depthEpsilon],!this.renderToTexture)for(this.renderPass="opaque",this.currentLayer=s.length-1;this.currentLayer>=0;this.currentLayer--){const e=this.style._layers[s[this.currentLayer]],t=n[e.source],i=l[e.source];this._renderTileClippingMasks(e,i,!1),this.renderLayer(this,t,e,i,d);}this.renderPass="translucent";let _=!1;for(this.currentLayer=0;this.currentLayeri.source&&!i.isHidden(t)?[e.tileManagers[i.source]]:[])),a=o.filter((e=>"vector"===e.getSource().type)),r=o.filter((e=>"vector"!==e.getSource().type)),s=e=>{(!i||i.getSource().maxzoom0?t.pop():null}isPatternMissing(e){if(!e)return !1;if(!e.from||!e.to)return !0;const t=this.imageManager.getPattern(e.from.toString()),i=this.imageManager.getPattern(e.to.toString());return !t||!i}useProgram(e,t,i=!1,o=[]){var a;this.cache||(this.cache={});const r=!!this.style.map.terrain,s=this.style.projection,n=i?Ft.projectionMercator:s.shaderPreludeCode,l=i?jt:s.shaderDefine,c=e+(t?t.cacheKey:"")+`/${i?Nt:s.shaderVariantName}`+(this._showOverdrawInspector?"/overdraw":"")+(r?"/terrain":"")+(o?`/${o.join("/")}`:"");return (a=this.cache)[c]||(a[c]=new Ui(this.context,Ft[e],t,yo[e],this._showOverdrawInspector,r,n,l,o)),this.cache[c]}setCustomLayerDefaults(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault();}setBaseState(){const e=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(e.FUNC_ADD);}initDebugOverlayCanvas(){null==this.debugOverlayCanvas&&(this.debugOverlayCanvas=document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512,this.debugOverlayTexture=new t.T(this.context,this.debugOverlayCanvas,this.context.gl.RGBA));}destroy(){var e,t;if(this._tileTextures){for(const e in this._tileTextures){const t=this._tileTextures[e];if(t)for(const e of t)e.destroy();}this._tileTextures={};}if(this.tileExtentBuffer&&this.tileExtentBuffer.destroy(),this.debugBuffer&&this.debugBuffer.destroy(),this.rasterBoundsBuffer&&this.rasterBoundsBuffer.destroy(),this.rasterBoundsBufferPosOnly&&this.rasterBoundsBufferPosOnly.destroy(),this.viewportBuffer&&this.viewportBuffer.destroy(),this.tileBorderIndexBuffer&&this.tileBorderIndexBuffer.destroy(),this.quadTriangleIndexBuffer&&this.quadTriangleIndexBuffer.destroy(),this.tileExtentMesh&&(null===(e=this.tileExtentMesh.vertexBuffer)||void 0===e||e.destroy()),this.tileExtentMesh&&(null===(t=this.tileExtentMesh.indexBuffer)||void 0===t||t.destroy()),this.debugOverlayTexture&&this.debugOverlayTexture.destroy(),this.cache){for(const e in this.cache){const t=this.cache[e];(null==t?void 0:t.program)&&this.context.gl.deleteProgram(t.program);}this.cache={};}this.context&&this.context.setDefault();}overLimit(){const{drawingBufferWidth:e,drawingBufferHeight:t}=this.context.gl;return this.width!==e||this.height!==t}}function Ka(e,t){let i,o=!1,a=null;const r=()=>{a=null,o&&(e(...i),a=setTimeout(r,t),o=!1);};return (...e)=>(o=!0,i=e,a||r(),a)}Xa.MAX_TEXTURE_POOL_SIZE_PER_BUCKET=50;class Ya{constructor(e){this._getCurrentHash=()=>{const e=window.location.hash.replace("#","");if(this._hashName){let t;const i=e.split("&").map((e=>e.split("=")));for(const e of i)e[0]===this._hashName&&(t=e);return (t&&t[1]||"").split("/")}return e.split("/")},this._onHashChange=()=>{const e=this._getCurrentHash();if(!this._isValidHash(e))return !1;const t=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(e[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+e[2],+e[1]],zoom:+e[0],bearing:t,pitch:+(e[4]||0)}),!0},this._updateHashUnthrottled=()=>{const e=window.location.href.replace(/(#.*)?$/,this.getHashString());window.history.replaceState(window.history.state,null,e);},this._removeHash=()=>{const e=this._getCurrentHash();if(0===e.length)return;const t=e.join("/");let i=t;i.split("&").length>0&&(i=i.split("&")[0]),this._hashName&&(i=`${this._hashName}=${t}`);let o=window.location.hash.replace(i,"");o.startsWith("#&")?o=o.slice(0,1)+o.slice(2):"#"===o&&(o="");let a=window.location.href.replace(/(#.+)?$/,o);a=a.replace("&&","&"),window.history.replaceState(window.history.state,null,a);},this._updateHash=Ka(this._updateHashUnthrottled,300),this._hashName=e&&encodeURIComponent(e);}addTo(e){return this._map=e,addEventListener("hashchange",this._onHashChange,!1),this._map.on("moveend",this._updateHash),this}remove(){return removeEventListener("hashchange",this._onHashChange,!1),this._map.off("moveend",this._updateHash),clearTimeout(this._updateHash()),this._removeHash(),delete this._map,this}getHashString(e){const t=this._map.getCenter(),i=Math.round(100*this._map.getZoom())/100,o=Math.ceil((i*Math.LN2+Math.log(512/360/.5))/Math.LN10),a=Math.pow(10,o),r=Math.round(t.lng*a)/a,s=Math.round(t.lat*a)/a,n=this._map.getBearing(),l=this._map.getPitch();let c="";if(c+=e?`/${r}/${s}/${i}`:`${i}/${s}/${r}`,(n||l)&&(c+="/"+Math.round(10*n)/10),l&&(c+=`/${Math.round(l)}`),this._hashName){const e=this._hashName;let t=!1;const i=window.location.hash.slice(1).split("&").map((i=>{const o=i.split("=")[0];return o===e?(t=!0,`${o}=${c}`):i})).filter((e=>e));return t||i.push(`${e}=${c}`),`#${i.join("&")}`}return `#${c}`}_isValidHash(e){if(e.length<3||e.some(isNaN))return !1;try{new t.W(+e[2],+e[1]);}catch(e){return !1}const i=+e[0],o=+(e[3]||0),a=+(e[4]||0);return i>=this._map.getMinZoom()&&i<=this._map.getMaxZoom()&&o>=-180&&o<=180&&a>=this._map.getMinPitch()&&a<=this._map.getMaxPitch()}}const Qa={linearity:.3,easing:t.cv(0,0,.3,1)},Ja=t.e({deceleration:2500,maxSpeed:1400},Qa),er=t.e({deceleration:20,maxSpeed:1400},Qa),tr=t.e({deceleration:1e3,maxSpeed:360},Qa),ir=t.e({deceleration:1e3,maxSpeed:90},Qa),or=t.e({deceleration:1e3,maxSpeed:360},Qa);class ar{constructor(e){this._map=e,this.clear();}clear(){this._inertiaBuffer=[];}record(e){this._drainInertiaBuffer(),this._inertiaBuffer.push({time:c(),settings:e});}_drainInertiaBuffer(){const e=this._inertiaBuffer,t=c();for(;e.length>0&&t-e[0].time>160;)e.shift();}_onMoveEnd(e){if(this._drainInertiaBuffer(),this._inertiaBuffer.length<2)return;const i={zoom:0,bearing:0,pitch:0,roll:0,pan:new t.P(0,0),pinchAround:void 0,around:void 0};for(const{settings:e}of this._inertiaBuffer)i.zoom+=e.zoomDelta||0,i.bearing+=e.bearingDelta||0,i.pitch+=e.pitchDelta||0,i.roll+=e.rollDelta||0,e.panDelta&&i.pan._add(e.panDelta),e.around&&(i.around=e.around),e.pinchAround&&(i.pinchAround=e.pinchAround);const o=this._inertiaBuffer[this._inertiaBuffer.length-1].time-this._inertiaBuffer[0].time,a={};if(i.pan.mag()){const r=sr(i.pan.mag(),o,t.e({},Ja,e||{})),s=i.pan.mult(r.amount/i.pan.mag()),n=this._map.cameraHelper.handlePanInertia(s,this._map.transform);a.center=n.easingCenter,a.offset=n.easingOffset,rr(a,r);}if(i.zoom){const e=sr(i.zoom,o,er);a.zoom=t.cw(this._map.transform.zoom+e.amount,this._map.getZoomSnap(),e.amount),rr(a,e);}if(i.bearing){const e=sr(i.bearing,o,tr);a.bearing=this._map.transform.bearing+t.al(e.amount,-179,179),rr(a,e);}if(i.pitch){const e=sr(i.pitch,o,ir);a.pitch=this._map.transform.pitch+e.amount,rr(a,e);}if(i.roll){const e=sr(i.roll,o,or);a.roll=this._map.transform.roll+t.al(e.amount,-179,179),rr(a,e);}if(a.zoom||a.bearing){const e=void 0===i.pinchAround?i.around:i.pinchAround;a.around=e?this._map.unproject(e):this._map.getCenter();}return this.clear(),t.e(a,{noMoveStart:!0})}}function rr(e,t){(!e.duration||e.durationi.unproject(e))),n=r.reduce(((e,t,i,o)=>e.add(t.div(o.length))),new t.P(0,0));super(e,{points:r,point:n,lngLats:s,lngLat:i.unproject(n),originalEvent:o}),this._defaultPrevented=!1;}}class cr extends t.n{preventDefault(){this._defaultPrevented=!0;}get defaultPrevented(){return this._defaultPrevented}constructor(e,t,i){super(e,{originalEvent:i}),this._defaultPrevented=!1;}}class hr{constructor(e,t){this._map=e,this._clickTolerance=t.clickTolerance;}reset(){delete this._mousedownPos;}wheel(e){return this._firePreventable(new cr(e.type,this._map,e))}mousedown(e,t){return this._mousedownPos=t,this._firePreventable(new nr(e.type,this._map,e))}mouseup(e){this._map.fire(new nr(e.type,this._map,e));}click(e,t){this._mousedownPos&&this._mousedownPos.dist(t)>=this._clickTolerance||this._map.fire(new nr(e.type,this._map,e));}dblclick(e){return this._firePreventable(new nr(e.type,this._map,e))}mouseover(e){this._map.fire(new nr(e.type,this._map,e));}mouseout(e){this._map.fire(new nr(e.type,this._map,e));}touchstart(e){return this._firePreventable(new lr(e.type,this._map,e))}touchmove(e){this._map.fire(new lr(e.type,this._map,e));}touchend(e){this._map.fire(new lr(e.type,this._map,e));}touchcancel(e){this._map.fire(new lr(e.type,this._map,e));}_firePreventable(e){if(this._map.fire(e),e.defaultPrevented)return {}}isEnabled(){return !0}isActive(){return !1}enable(){}disable(){}}class ur{constructor(e){this._map=e;}reset(){this._delayContextMenu=!1,this._ignoreContextMenu=!0,delete this._contextMenuEvent;}mousemove(e){this._map.fire(new nr(e.type,this._map,e));}mousedown(){this._delayContextMenu=!0,this._ignoreContextMenu=!1;}mouseup(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new nr("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent);}contextmenu(e){this._delayContextMenu?this._contextMenuEvent=e:this._ignoreContextMenu||this._map.fire(new nr(e.type,this._map,e)),this._map.listens("contextmenu")&&e.preventDefault();}isEnabled(){return !0}isActive(){return !1}enable(){}disable(){}}class dr{constructor(e){this._map=e;}get transform(){return this._map._requestedCameraState||this._map.transform}get center(){return {lng:this.transform.center.lng,lat:this.transform.center.lat}}get zoom(){return this.transform.zoom}get pitch(){return this.transform.pitch}get bearing(){return this.transform.bearing}unproject(e){return this.transform.screenPointToLocation(t.P.convert(e),this._map.terrain)}}class _r{constructor(e,t){this._map=e,this._tr=new dr(e),this._el=e.getCanvasContainer(),this._container=e.getContainer(),this._clickTolerance=t.clickTolerance||1,t.boxZoom&&"object"==typeof t.boxZoom&&(this._boxZoomEnd=t.boxZoom.boxZoomEnd);}isEnabled(){return !!this._enabled}isActive(){return !!this._active}enable(){this.isEnabled()||(this._enabled=!0);}disable(){this.isEnabled()&&(this._enabled=!1);}mousedown(e,t){this.isEnabled()&&e.shiftKey&&0===e.button&&(d.disableDrag(),this._startPos=this._lastPos=t,this._active=!0);}mousemoveWindow(e,t){if(!this._active)return;const i=t;if(this._lastPos.equals(i)||!this._box&&i.dist(this._startPos)e.fitScreenCoordinates(o,a,this._tr.bearing,{linear:!0})};this._fireEvent("boxzoomcancel",e);}keydown(e){this._active&&27===e.keyCode&&(this.reset(),this._fireEvent("boxzoomcancel",e));}reset(){this._active=!1,this._container.classList.remove("maplibregl-crosshair"),this._box&&(this._box.remove(),this._box=null),d.enableDrag(),delete this._startPos,delete this._lastPos;}_fireEvent(e,i){return this._map.fire(new t.n(e,{originalEvent:i}))}}function pr(e,t){if(e.length!==t.length)throw new Error(`The number of touches and points are not equal - touches ${e.length}, points ${t.length}`);const i={};for(let o=0;othis.numTouches)&&(this.aborted=!0),this.aborted||(void 0===this.startTime&&(this.startTime=e.timeStamp),o.length===this.numTouches&&(this.centroid=function(e){const i=new t.P(0,0);for(const t of e)i._add(t);return i.div(e.length)}(i),this.touches=pr(o,i)));}touchmove(e,t,i){if(this.aborted||!this.centroid)return;const o=pr(i,t);for(const e in this.touches){const t=o[e];(!t||t.dist(this.touches[e])>30)&&(this.aborted=!0);}}touchend(e,t,i){if((!this.centroid||e.timeStamp-this.startTime>500)&&(this.aborted=!0),0===i.length){const e=!this.aborted&&this.centroid;if(this.reset(),e)return e}}}class fr{constructor(e){this.singleTap=new mr(e),this.numTaps=e.numTaps,this.reset();}reset(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset();}touchstart(e,t,i){this.singleTap.touchstart(e,t,i);}touchmove(e,t,i){this.singleTap.touchmove(e,t,i);}touchend(e,t,i){const o=this.singleTap.touchend(e,t,i);if(o){const t=e.timeStamp-this.lastTime<500,i=!this.lastTap||this.lastTap.dist(o)<30;if(t&&i||this.reset(),this.count++,this.lastTime=e.timeStamp,this.lastTap=o,this.count===this.numTaps)return this.reset(),o}}}class gr{constructor(e){this._tr=new dr(e),this._zoomIn=new fr({numTouches:1,numTaps:2}),this._zoomOut=new fr({numTouches:2,numTaps:1}),this.reset();}reset(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset();}touchstart(e,t,i){this._zoomIn.touchstart(e,t,i),this._zoomOut.touchstart(e,t,i);}touchmove(e,t,i){this._zoomIn.touchmove(e,t,i),this._zoomOut.touchmove(e,t,i);}touchend(e,i,o){const a=this._zoomIn.touchend(e,i,o),r=this._zoomOut.touchend(e,i,o),s=this._tr;return a?(this._active=!0,e.preventDefault(),setTimeout((()=>this.reset()),0),{cameraAnimation:i=>i.easeTo({duration:300,zoom:t.cw(s.zoom+1,i.getZoomSnap()),around:s.unproject(a)},{originalEvent:e})}):r?(this._active=!0,e.preventDefault(),setTimeout((()=>this.reset()),0),{cameraAnimation:i=>i.easeTo({duration:300,zoom:t.cw(s.zoom-1,i.getZoomSnap()),around:s.unproject(r)},{originalEvent:e})}):void 0}touchcancel(){this.reset();}enable(){this._enabled=!0;}disable(){this._enabled=!1,this.reset();}isEnabled(){return this._enabled}isActive(){return this._active}}class vr{constructor(e){this._enabled=!!e.enable,this._moveStateManager=e.moveStateManager,this._clickTolerance=e.clickTolerance||1,this._moveFunction=e.move,this._activateOnStart=!!e.activateOnStart,e.assignEvents(this),this.reset();}reset(e){this._active=!1,this._moved=!1,delete this._lastPoint,this._moveStateManager.endMove(e);}_move(...e){const t=this._moveFunction(...e);if(t.bearingDelta||t.pitchDelta||t.rollDelta||t.around||t.panDelta)return this._active=!0,t}dragStart(e,t){this.isEnabled()&&!this._lastPoint&&this._moveStateManager.isValidStartEvent(e)&&(this._moveStateManager.startMove(e),this._lastPoint=Array.isArray(t)?t[0]:t,this._activateOnStart&&this._lastPoint&&(this._active=!0));}dragMove(e,t){if(!this.isEnabled())return;const i=this._lastPoint;if(!i)return;if(e.preventDefault(),!this._moveStateManager.isValidMoveEvent(e))return void this.reset(e);const o=Array.isArray(t)?t[0]:t;return !this._moved&&o.dist(i)!0}),t=new Tr){this.mouseMoveStateManager=e,this.oneFingerTouchMoveStateManager=t;}_executeRelevantHandler(e,t,i){return e instanceof MouseEvent?t(e):"undefined"!=typeof TouchEvent&&e instanceof TouchEvent?i(e):void 0}startMove(e){this._executeRelevantHandler(e,(e=>{this.mouseMoveStateManager.startMove(e);}),(e=>{this.oneFingerTouchMoveStateManager.startMove(e);}));}endMove(e){this._executeRelevantHandler(e,(e=>{this.mouseMoveStateManager.endMove(e);}),(e=>{this.oneFingerTouchMoveStateManager.endMove(e);}));}isValidStartEvent(e){return this._executeRelevantHandler(e,(e=>this.mouseMoveStateManager.isValidStartEvent(e)),(e=>this.oneFingerTouchMoveStateManager.isValidStartEvent(e)))}isValidMoveEvent(e){return this._executeRelevantHandler(e,(e=>this.mouseMoveStateManager.isValidMoveEvent(e)),(e=>this.oneFingerTouchMoveStateManager.isValidMoveEvent(e)))}isValidEndEvent(e){return this._executeRelevantHandler(e,(e=>this.mouseMoveStateManager.isValidEndEvent(e)),(e=>this.oneFingerTouchMoveStateManager.isValidEndEvent(e)))}}const Cr=e=>{e.mousedown=e.dragStart,e.mousemoveWindow=e.dragMove,e.mouseup=e.dragEnd,e.contextmenu=e=>{e.preventDefault();};};class Mr{constructor(e,t){this._clickTolerance=e.clickTolerance||1,this._map=t,this.reset();}reset(){this._active=!1,this._touches={},this._sum=new t.P(0,0);}_shouldBePrevented(e){return e<(this._map.cooperativeGestures.isEnabled()?2:1)}touchstart(e,t,i){return this._calculateTransform(e,t,i)}touchmove(e,t,i){if(this._active){if(!this._shouldBePrevented(i.length))return e.preventDefault(),this._calculateTransform(e,t,i);this._map.cooperativeGestures.notifyGestureBlocked("touch_pan",e);}}touchend(e,t,i){this._calculateTransform(e,t,i),this._active&&this._shouldBePrevented(i.length)&&this.reset();}touchcancel(){this.reset();}_calculateTransform(e,i,o){o.length>0&&(this._active=!0);const a=pr(o,i),r=new t.P(0,0),s=new t.P(0,0);let n=0;for(const e in a){const t=a[e],i=this._touches[e];i&&(r._add(t),s._add(t.sub(i)),n++,a[e]=t);}if(this._touches=a,this._shouldBePrevented(n)||!s.mag())return;const l=s.div(n);return this._sum._add(l),this._sum.mag()Math.abs(e.x)}class Lr extends Ir{constructor(e){super(),this._currentTouchCount=0,this._map=e;}reset(){super.reset(),this._valid=void 0,delete this._firstMove,delete this._lastPoints;}touchstart(e,t,i){super.touchstart(e,t,i),this._currentTouchCount=i.length;}_start(e){this._lastPoints=e,Ar(e[0].sub(e[1]))&&(this._valid=!1);}_move(e,t,i){if(this._map.cooperativeGestures.isEnabled()&&this._currentTouchCount<3)return;const o=e[0].sub(this._lastPoints[0]),a=e[1].sub(this._lastPoints[1]);return this._valid=this.gestureBeginsVertically(o,a,i.timeStamp),this._valid?(this._lastPoints=e,this._active=!0,{pitchDelta:(o.y+a.y)/2*-.5}):void 0}gestureBeginsVertically(e,t,i){if(void 0!==this._valid)return this._valid;const o=e.mag()>=2,a=t.mag()>=2;if(!o&&!a)return;if(!o||!a)return void 0===this._firstMove&&(this._firstMove=i),i-this._firstMove<100&&void 0;const r=e.y>0==t.y>0;return Ar(e)&&Ar(t)&&r}}const Fr={panStep:100,bearingStep:15,pitchStep:10};class kr{constructor(e){this._tr=new dr(e);const t=Fr;this._panStep=t.panStep,this._bearingStep=t.bearingStep,this._pitchStep=t.pitchStep,this._rotationDisabled=!1;}reset(){this._active=!1;}keydown(e){if(e.altKey||e.ctrlKey||e.metaKey)return;let i=0,o=0,a=0,r=0,s=0;switch(e.keyCode){case 61:case 107:case 171:case 187:i=1;break;case 189:case 109:case 173:i=-1;break;case 37:e.shiftKey?o=-1:(e.preventDefault(),r=-1);break;case 39:e.shiftKey?o=1:(e.preventDefault(),r=1);break;case 38:e.shiftKey?a=1:(e.preventDefault(),s=-1);break;case 40:e.shiftKey?a=-1:(e.preventDefault(),s=1);break;default:return}return this._rotationDisabled&&(o=0,a=0),{cameraAnimation:n=>{const l=this._tr;n.easeTo({duration:300,easeId:"keyboardHandler",easing:Br,zoom:i?t.cw(l.zoom+i*(e.shiftKey?2:1),n.getZoomSnap()):l.zoom,bearing:l.bearing+o*this._bearingStep,pitch:l.pitch+a*this._pitchStep,offset:[-r*this._panStep,-s*this._panStep],center:l.center},{originalEvent:e});}}}enable(){this._enabled=!0;}disable(){this._enabled=!1,this.reset();}isEnabled(){return this._enabled}isActive(){return this._active}disableRotation(){this._rotationDisabled=!0;}enableRotation(){this._rotationDisabled=!1;}}function Br(e){return e*(2-e)}const Or=4.000244140625,jr=1/450;class Nr{constructor(e,t){this._onTimeout=e=>{this._type="wheel",this._delta-=this._lastValue,this._active||this._start(e);},this._map=e,this._tr=new dr(e),this._triggerRenderFrame=t,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=jr;}setZoomRate(e){this._defaultZoomRate=e;}setWheelZoomRate(e){this._wheelZoomRate=e;}isEnabled(){return !!this._enabled}isActive(){return !!this._active||void 0!==this._finishTimeout}isZooming(){return !!this._zooming}enable(e){this.isEnabled()||(this._enabled=!0,this._aroundCenter=!!e&&"center"===e.around);}disable(){this.isEnabled()&&(this._enabled=!1);}_shouldBePrevented(e){return !!this._map.cooperativeGestures.isEnabled()&&!(e.ctrlKey||this._map.cooperativeGestures.isBypassed(e))}wheel(e){if(!this.isEnabled())return;if(this._shouldBePrevented(e))return void this._map.cooperativeGestures.notifyGestureBlocked("wheel_zoom",e);let t=e.deltaMode===WheelEvent.DOM_DELTA_LINE?40*e.deltaY:e.deltaY;const i=c(),o=i-(this._lastWheelEventTime||0);this._lastWheelEventTime=i,0!==t&&t%Or==0?this._type="wheel":0!==t&&Math.abs(t)<4?this._type="trackpad":o>400?(this._type=null,this._lastValue=t,this._timeout=setTimeout(this._onTimeout,40,e)):this._type||(this._type=Math.abs(o*t)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,t+=this._lastValue)),e.shiftKey&&t&&(t/=4),this._type&&(this._lastWheelEvent=e,this._delta-=t,this._active||this._start(e)),e.preventDefault();}_start(e){if(!this._delta)return;this._needsRerender=!1,this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);const i=d.mousePos(this._map.getCanvas(),e),o=this._tr;this._aroundPoint=this._aroundCenter?o.transform.locationToScreenPoint(t.W.convert(o.center)):i,this._needsRerender||(this._needsRerender=!0,this._triggerRenderFrame());}renderFrame(){if(!this._needsRerender)return;if(this._needsRerender=!1,!this.isActive())return;const e=this._tr.transform;if("number"==typeof this._lastExpectedZoom){const t=e.zoom-this._lastExpectedZoom;"number"==typeof this._startZoom&&(this._startZoom+=t),"number"==typeof this._targetZoom&&(this._targetZoom+=t);}if(0!==this._delta){const i="wheel"===this._type&&Math.abs(this._delta)>Or?this._wheelZoomRate:this._defaultZoomRate;let o=2/(1+Math.exp(-Math.abs(this._delta*i)));this._delta<0&&0!==o&&(o=1/o);const a="number"!=typeof this._targetZoom?e.scale:t.ao(this._targetZoom),r=e.applyConstrain(e.getCameraLngLat(),t.ar(a*o)).zoom,s=this._map.getZoomSnap();if("wheel"===this._type&&s>0){const i=t.cw(e.zoom,s);this._targetZoom=t.cw(r,s,r-i);}else this._targetZoom=r;"wheel"===this._type&&(this._startZoom=e.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0;}const i="number"!=typeof this._targetZoom?e.zoom:this._targetZoom,o=this._startZoom,a=this._easing;let r,s=!1;if("wheel"===this._type&&o&&a){const e=c()-this._lastWheelEventTime,n=Math.min((e+5)/200,1),l=a(n);r=t.H.number(o,i,l),n<1?this._needsRerender=!0:s=!0;}else r=i,s=!0;return this._active=!0,s&&(this._active=!1,this._finishTimeout=setTimeout((()=>{this._zooming=!1,this._triggerRenderFrame(),delete this._targetZoom,delete this._lastExpectedZoom,delete this._finishTimeout;}),200)),this._lastExpectedZoom=r,{noInertia:!0,needsRenderFrame:!s,zoomDelta:r-e.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}_smoothOutEasing(e){let i=t.cy;if(this._prevEase){const e=this._prevEase,o=(c()-e.start)/e.duration,a=e.easing(o+.01)-e.easing(o),r=.27/Math.sqrt(a*a+1e-4)*.01,s=Math.sqrt(.0729-r*r);i=t.cv(r,s,.25,1);}return this._prevEase={start:c(),duration:e,easing:i},i}reset(){this._active=!1,this._zooming=!1,delete this._targetZoom,delete this._lastExpectedZoom,this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);}}class Zr{constructor(e,t){this._clickZoom=e,this._tapZoom=t;}enable(){this._clickZoom.enable(),this._tapZoom.enable();}disable(){this._clickZoom.disable(),this._tapZoom.disable();}isEnabled(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()}isActive(){return this._clickZoom.isActive()||this._tapZoom.isActive()}}class Ur{constructor(e){this._tr=new dr(e),this.reset();}reset(){this._active=!1;}dblclick(e,i){return e.preventDefault(),{cameraAnimation:o=>{o.easeTo({duration:300,zoom:t.cw(this._tr.zoom+(e.shiftKey?-1:1),o.getZoomSnap()),around:this._tr.unproject(i)},{originalEvent:e});}}}enable(){this._enabled=!0;}disable(){this._enabled=!1,this.reset();}isEnabled(){return this._enabled}isActive(){return this._active}}class Gr{constructor(){this._tap=new fr({numTouches:1,numTaps:1}),this._zoomRate=1,this.reset();}setZoomRate(e){this._zoomRate=null!=e?e:1;}reset(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,delete this._tapPoint,this._tap.reset();}touchstart(e,t,i){if(!this._swipePoint)if(this._tapTime){const o=t[0],a=e.timeStamp-this._tapTime<500,r=this._tapPoint.dist(o)<30;a&&r?i.length>0&&(this._swipePoint=o,this._swipeTouch=i[0].identifier):this.reset();}else this._tap.touchstart(e,t,i);}touchmove(e,t,i){if(this._tapTime){if(this._swipePoint){if(i[0].identifier!==this._swipeTouch)return;const o=t[0],a=o.y-this._swipePoint.y;return this._swipePoint=o,e.preventDefault(),this._active=!0,{zoomDelta:a/128*this._zoomRate}}}else this._tap.touchmove(e,t,i);}touchend(e,t,i){if(this._tapTime)this._swipePoint&&0===i.length&&this.reset();else {const o=this._tap.touchend(e,t,i);o&&(this._tapTime=e.timeStamp,this._tapPoint=o);}}touchcancel(){this.reset();}enable(){this._enabled=!0;}disable(){this._enabled=!1,this.reset();}isEnabled(){return this._enabled}isActive(){return this._active}}class Vr{constructor(e,t,i){this._el=e,this._mousePan=t,this._touchPan=i;}enable(e){this._inertiaOptions=e||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("maplibregl-touch-drag-pan");}disable(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("maplibregl-touch-drag-pan");}isEnabled(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()}isActive(){return this._mousePan.isActive()||this._touchPan.isActive()}}class Wr{constructor(e,t,i,o){this._pitchWithRotate=e.pitchWithRotate,this._rollEnabled=e.rollEnabled,this._mouseRotate=t,this._mousePitch=i,this._mouseRoll=o;}enable(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable(),this._rollEnabled&&this._mouseRoll.enable();}disable(){this._mouseRotate.disable(),this._mousePitch.disable(),this._mouseRoll.disable();}isEnabled(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())&&(!this._rollEnabled||this._mouseRoll.isEnabled())}isActive(){return this._mouseRotate.isActive()||this._mousePitch.isActive()||this._mouseRoll.isActive()}}class qr{constructor(e,t,i,o){this._el=e,this._touchZoom=t,this._touchRotate=i,this._tapDragZoom=o,this._rotationDisabled=!1,this._enabled=!0;}enable(e){this._touchZoom.enable(e),this._rotationDisabled||this._touchRotate.enable(e),this._tapDragZoom.enable(),this._el.classList.add("maplibregl-touch-zoom-rotate");}disable(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("maplibregl-touch-zoom-rotate");}isEnabled(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()}isActive(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()}setZoomRate(e){this._touchZoom.setZoomRate(e),this._tapDragZoom.setZoomRate(e);}setZoomThreshold(e){this._touchZoom.setZoomThreshold(e);}disableRotation(){this._rotationDisabled=!0,this._touchRotate.disable();}enableRotation(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable();}}class $r{constructor(e,t){this._bypassKey=navigator.userAgent.includes("Mac")?"metaKey":"ctrlKey",this._map=e,this._options=t,this._enabled=!1;}isActive(){return !1}reset(){}_setupUI(){if(this._container)return;const e=this._map.getCanvasContainer();e.classList.add("maplibregl-cooperative-gestures"),this._container=d.create("div","maplibregl-cooperative-gesture-screen",e);let t=this._map._getUIString("CooperativeGesturesHandler.WindowsHelpText");"metaKey"===this._bypassKey&&(t=this._map._getUIString("CooperativeGesturesHandler.MacHelpText"));const i=this._map._getUIString("CooperativeGesturesHandler.MobileHelpText"),o=document.createElement("div");o.className="maplibregl-desktop-message",o.textContent=t,this._container.appendChild(o);const a=document.createElement("div");a.className="maplibregl-mobile-message",a.textContent=i,this._container.appendChild(a),this._container.setAttribute("aria-hidden","true");}_destroyUI(){this._container&&(this._container.remove(),this._map.getCanvasContainer().classList.remove("maplibregl-cooperative-gestures")),delete this._container;}enable(){this._setupUI(),this._enabled=!0;}disable(){this._enabled=!1,this._destroyUI();}isEnabled(){return this._enabled}isBypassed(e){return e[this._bypassKey]}notifyGestureBlocked(e,i){this._enabled&&(this._map.fire(new t.n("cooperativegestureprevented",{gestureType:e,originalEvent:i})),this._container.classList.add("maplibregl-show"),setTimeout((()=>{this._container.classList.remove("maplibregl-show");}),100));}}const Hr=e=>e.zoom||e.drag||e.roll||e.pitch||e.rotate;class Xr extends t.n{}function Kr(e){var t;return (null===(t=e.panDelta)||void 0===t?void 0:t.mag())||e.zoomDelta||e.bearingDelta||e.pitchDelta||e.rollDelta}class Yr{get _ownerDocument(){var e;return (null===(e=this._el)||void 0===e?void 0:e.ownerDocument)||document}get _ownerWindow(){var e,t;return (null===(t=null===(e=this._el)||void 0===e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView)||window}constructor(e,i){this.handleWindowEvent=e=>{this.handleEvent(e,`${e.type}Window`);},this.handleEvent=(e,i)=>{if("blur"===e.type)return void this.stop(!0);this._updatingCamera=!0;const o="renderFrame"===e.type?void 0:e,a={needsRenderFrame:!1},r={},s={};for(const{handlerName:n,handler:l,allowed:c}of this._handlers){if(!l.isEnabled())continue;let h;if(this._blockedByActive(s,c,n))l.reset();else if(l[i||e.type]){if(t.cz(e,i||e.type)){const t=d.mousePos(this._map.getCanvas(),e);h=l[i||e.type](e,t);}else if(t.cA(e,i||e.type)){const t=this._getMapTouches(e.touches),o=d.touchPos(this._map.getCanvas(),t);h=l[i||e.type](e,o,t);}else t.cB(i||e.type)||(h=l[i||e.type](e));this.mergeHandlerResult(a,r,h,n,o),(null==h?void 0:h.needsRenderFrame)&&this._triggerRenderFrame();}(h||l.isActive())&&(s[n]=l);}const n={};for(const e in this._previousActiveHandlers)s[e]||(n[e]=o);this._previousActiveHandlers=s,(Object.keys(n).length||Kr(a))&&(this._changes.push([a,r,n]),this._triggerRenderFrame()),(Object.keys(s).length||Kr(a))&&this._map._stop(!0),this._updatingCamera=!1;const{cameraAnimation:l}=a;l&&(this._inertia.clear(),this._fireEvents({},{},!0),this._changes=[],l(this._map));},this._map=e,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new ar(e),this._bearingSnap=i.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(i);const o=this._el;this._listeners=[[o,"touchstart",{passive:!0}],[o,"touchmove",{passive:!1}],[o,"touchend",void 0],[o,"touchcancel",void 0],[o,"mousedown",void 0],[o,"mousemove",void 0],[o,"mouseup",void 0],[this._ownerDocument,"mousemove",{capture:!0}],[this._ownerDocument,"mouseup",void 0],[o,"mouseover",void 0],[o,"mouseout",void 0],[o,"dblclick",void 0],[o,"click",void 0],[o,"keydown",{capture:!1}],[o,"keyup",void 0],[o,"wheel",{passive:!1}],[o,"contextmenu",void 0],[this._ownerWindow,"blur",void 0]];for(const[e,t,i]of this._listeners)e.addEventListener(t,e===this._ownerDocument?this.handleWindowEvent:this.handleEvent,i);}destroy(){for(const[e,t,i]of this._listeners)e.removeEventListener(t,e===this._ownerDocument?this.handleWindowEvent:this.handleEvent,i);}_addDefaultHandlers(e){const i=this._map,o=i.getCanvasContainer();this._add("mapEvent",new hr(i,e));const a=i.boxZoom=new _r(i,e);this._add("boxZoom",a),e.interactive&&e.boxZoom&&a.enable();const r=i.cooperativeGestures=new $r(i,e.cooperativeGestures);this._add("cooperativeGestures",r),e.cooperativeGestures&&r.enable();const s=new gr(i),n=new Ur(i);i.doubleClickZoom=new Zr(n,s),this._add("tapZoom",s),this._add("clickZoom",n),e.interactive&&e.doubleClickZoom&&i.doubleClickZoom.enable();const l=new Gr;this._add("tapDragZoom",l);const c=i.touchPitch=new Lr(i);this._add("touchPitch",c),e.interactive&&e.touchPitch&&i.touchPitch.enable(e.touchPitch);const h=()=>i.project(i.getCenter()),u=function({enable:e,clickTolerance:i,aroundCenter:o=!0,minPixelCenterThreshold:a=100,rotateDegreesPerPixelMoved:r=.8},s){const n=new wr({checkCorrectEvent:e=>0===e.button&&e.ctrlKey||2===e.button&&!e.ctrlKey});return new vr({clickTolerance:i,move:(e,i)=>{const n=s();if(o&&Math.abs(n.y-e.y)>a)return {bearingDelta:t.cx(new t.P(e.x,i.y),i,n)};let l=(i.x-e.x)*r;return o&&i.y0===e.button&&e.ctrlKey||2===e.button});return new vr({clickTolerance:t,move:(e,t)=>({pitchDelta:(t.y-e.y)*i}),moveStateManager:o,enable:e,assignEvents:Cr})}(e),_=function({enable:e,clickTolerance:t,rollDegreesPerPixelMoved:i=.3},o){const a=new wr({checkCorrectEvent:e=>2===e.button&&e.ctrlKey});return new vr({clickTolerance:t,move:(e,t)=>{const a=o();let r=(t.x-e.x)*i;return t.y0===e.button&&!e.ctrlKey});return new vr({clickTolerance:t,move:(e,t)=>({around:t,panDelta:t.sub(e)}),activateOnStart:!0,moveStateManager:i,enable:e,assignEvents:Cr})}(e),m=new Mr(e,i);i.dragPan=new Vr(o,p,m),this._add("mousePan",p),this._add("touchPan",m,["touchZoom","touchRotate"]),e.interactive&&e.dragPan&&i.dragPan.enable(e.dragPan);const f=new Dr,g=new zr;i.touchZoomRotate=new qr(o,g,f,l),this._add("touchRotate",f,["touchPan","touchZoom"]),this._add("touchZoom",g,["touchPan","touchRotate"]),e.interactive&&e.touchZoomRotate&&i.touchZoomRotate.enable(e.touchZoomRotate),this._add("blockableMapEvent",new ur(i));const v=i.scrollZoom=new Nr(i,(()=>this._triggerRenderFrame()));this._add("scrollZoom",v,["mousePan"]),e.interactive&&e.scrollZoom&&i.scrollZoom.enable(e.scrollZoom);const x=i.keyboard=new kr(i);this._add("keyboard",x),e.interactive&&e.keyboard&&i.keyboard.enable();}_add(e,t,i){this._handlers.push({handlerName:e,handler:t,allowed:i}),this._handlersById[e]=t;}stop(e){if(!this._updatingCamera){for(const{handler:e}of this._handlers)e.reset();this._inertia.clear(),this._fireEvents({},{},e),this._changes=[];}}isActive(){for(const{handler:e}of this._handlers)if(e.isActive())return !0;return !1}isZooming(){return !!this._eventsInProgress.zoom||this._map.scrollZoom.isZooming()}isRotating(){return !!this._eventsInProgress.rotate}isMoving(){return Boolean(Hr(this._eventsInProgress))||this.isZooming()}_blockedByActive(e,t,i){for(const o in e)if(o!==i&&!(null==t?void 0:t.includes(o)))return !0;return !1}_getMapTouches(e){const t=[];for(const i of e)this._el.contains(i.target)&&t.push(i);return t}mergeHandlerResult(e,i,o,a,r){if(!o)return;t.e(e,o);const s={handlerName:a,originalEvent:o.originalEvent||r};void 0!==o.zoomDelta&&(i.zoom=s),void 0!==o.panDelta&&(i.drag=s),void 0!==o.rollDelta&&(i.roll=s),void 0!==o.pitchDelta&&(i.pitch=s),void 0!==o.bearingDelta&&(i.rotate=s);}_applyChanges(){const e={},i={},o={};for(const[a,r,s]of this._changes)a.panDelta&&(e.panDelta=(e.panDelta||new t.P(0,0))._add(a.panDelta)),a.zoomDelta&&(e.zoomDelta=(e.zoomDelta||0)+a.zoomDelta),a.bearingDelta&&(e.bearingDelta=(e.bearingDelta||0)+a.bearingDelta),a.pitchDelta&&(e.pitchDelta=(e.pitchDelta||0)+a.pitchDelta),a.rollDelta&&(e.rollDelta=(e.rollDelta||0)+a.rollDelta),void 0!==a.around&&(e.around=a.around),void 0!==a.pinchAround&&(e.pinchAround=a.pinchAround),a.noInertia&&(e.noInertia=a.noInertia),t.e(i,r),t.e(o,s);this._updateMapTransform(e,i,o),this._changes=[];}_updateMapTransform(e,t,i){const o=this._map,a=o._getTransformForUpdate(),r=o.terrain;if(!(Kr(e)||r&&this._terrainMovement))return void this._fireEvents(t,i,!0);o._stop(!0);let{panDelta:s,zoomDelta:n,bearingDelta:l,pitchDelta:c,rollDelta:h,around:u,pinchAround:d}=e;void 0!==d&&(u=d),u||(u=o.transform.centerPoint),r&&!a.isPointOnMapSurface(u)&&(u=a.centerPoint);const _={panDelta:s,zoomDelta:n,rollDelta:h,pitchDelta:c,bearingDelta:l,around:u};this._map.cameraHelper.useGlobeControls&&!a.isPointOnMapSurface(u)&&(u=a.centerPoint);const p=u.distSqr(a.centerPoint)<.01?a.center:a.screenPointToLocation(s?u.sub(s):u);this._handleMapControls({terrain:r,tr:a,deltasForHelper:_,preZoomAroundLoc:p,combinedEventsInProgress:t,panDelta:s}),o._applyUpdatedTransform(a),this._map._update(),e.noInertia||this._inertia.record(e),this._fireEvents(t,i,!0);}_handleMapControls({terrain:e,tr:t,deltasForHelper:i,preZoomAroundLoc:o,combinedEventsInProgress:a,panDelta:r}){const s=this._map.cameraHelper;if(s.handleMapControlsRollPitchBearingZoom(i,t),e)return s.useGlobeControls?(this._terrainMovement||!a.drag&&!a.zoom||(this._terrainMovement=!0,this._map._elevationFreeze=!0),void s.handleMapControlsPan(i,t,o)):this._terrainMovement||!a.drag&&!a.zoom?void(a.drag&&this._terrainMovement&&r?t.setCenter(t.screenPointToLocation(t.centerPoint.sub(r))):s.handleMapControlsPan(i,t,o)):(this._terrainMovement=!0,this._map._elevationFreeze=!0,void s.handleMapControlsPan(i,t,o));s.handleMapControlsPan(i,t,o);}_fireEvents(e,i,o){const a=Hr(this._eventsInProgress),r=Hr(e),s={};for(const t in e){const{originalEvent:i}=e[t];this._eventsInProgress[t]||(s[`${t}start`]=i),this._eventsInProgress[t]=e[t];}!a&&r&&this._fireEvent("movestart",r.originalEvent);for(const e in s)this._fireEvent(e,s[e]);r&&this._fireEvent("move",r.originalEvent);for(const t in e){const{originalEvent:i}=e[t];this._fireEvent(t,i);}const l={};let c;for(const e in this._eventsInProgress){const{handlerName:t,originalEvent:o}=this._eventsInProgress[e];this._handlersById[t].isActive()||(delete this._eventsInProgress[e],c=i[t]||o,l[`${e}end`]=c);}for(const e in l)this._fireEvent(e,l[e]);const h=Hr(this._eventsInProgress),u=(a||r)&&!h;if(u&&this._terrainMovement){this._map._elevationFreeze=!1,this._terrainMovement=!1;const e=this._map._getTransformForUpdate();this._map.getCenterClampedToGround()&&e.recalculateZoomAndCenter(this._map.terrain),this._map._applyUpdatedTransform(e);}if(o&&u){this._updatingCamera=!0;const e=this._inertia._onMoveEnd(this._map.dragPan._inertiaOptions),i=e=>0!==e&&-this._bearingSnap{delete this._frameId,this.handleEvent(new Xr("renderFrame",{timeStamp:e})),this._applyChanges();}))}_triggerRenderFrame(){void 0===this._frameId&&(this._frameId=this._requestFrame());}}class Qr extends t.E{constructor(e,t,i){super(),this._renderFrameCallback=()=>{const e=Math.min((c()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(e)),e<1&&this._easeFrameId?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop();},this._moving=!1,this._zooming=!1,this.transform=e,this._bearingSnap=i.bearingSnap,this._zoomSnap=i.zoomSnap,this.cameraHelper=t,this.on("moveend",(()=>{delete this._requestedCameraState;}));}migrateProjection(e,t){e.apply(this.transform,!0),this.transform=e,this.cameraHelper=t;}getCenter(){return new t.W(this.transform.center.lng,this.transform.center.lat)}setCenter(e,t){return this.jumpTo({center:e},t)}getCenterElevation(){return this.transform.elevation}setCenterElevation(e,t){return this.jumpTo({elevation:e},t),this}getCenterClampedToGround(){return this._centerClampedToGround}setCenterClampedToGround(e){this._centerClampedToGround=e;}panBy(e,i,o){return e=t.P.convert(e).mult(-1),this.panTo(this.transform.center,t.e({offset:e},i),o)}panTo(e,i,o){return this.easeTo(t.e({center:e},i),o)}getZoom(){return this.transform.zoom}setZoom(e,t){return this.jumpTo({zoom:e},t),this}zoomTo(e,i,o){return this.easeTo(t.e({zoom:e},i),o)}zoomIn(e,i){return this.zoomTo(t.cw(this.getZoom()+1,this._zoomSnap),e,i),this}zoomOut(e,i){return this.zoomTo(t.cw(this.getZoom()-1,this._zoomSnap),e,i),this}getVerticalFieldOfView(){return this.transform.fov}setVerticalFieldOfView(e,i){return e!=this.transform.fov&&(this.transform.setFov(e),this.fire(new t.n("movestart",i)).fire(new t.n("move",i)).fire(new t.n("moveend",i))),this}getBearing(){return this.transform.bearing}setZoomSnap(e){return this._zoomSnap=e,this}getZoomSnap(){return this._zoomSnap}setBearing(e,t){return this.jumpTo({bearing:e},t),this}getPadding(){return this.transform.padding}setPadding(e,t){return this.jumpTo({padding:e},t),this}rotateTo(e,i,o){return this.easeTo(t.e({bearing:e},i),o)}resetNorth(e,i){return this.rotateTo(0,t.e({duration:1e3},e),i),this}resetNorthPitch(e,i){return this.easeTo(t.e({bearing:0,pitch:0,roll:0,duration:1e3},e),i),this}snapToNorth(e,t){return Math.abs(this.getBearing()){f.easeFunc(t),this.terrain&&!e.freezeElevation&&this._updateElevation(t),this._applyUpdatedTransform(o),this._fireMoveEvents(i);}),(t=>{this.terrain&&e.freezeElevation&&this._finalizeElevation(),this._afterEase(i,t);}),e),this}_prepareEase(e,i,o={}){this._moving=!0,i||o.moving||this.fire(new t.n("movestart",e)),this._zooming&&!o.zooming&&this.fire(new t.n("zoomstart",e)),this._rotating&&!o.rotating&&this.fire(new t.n("rotatestart",e)),this._pitching&&!o.pitching&&this.fire(new t.n("pitchstart",e)),this._rolling&&!o.rolling&&this.fire(new t.n("rollstart",e));}_prepareElevation(e){this._elevationCenter=e,this._elevationStart=this.transform.elevation,this._elevationTarget=this.terrain.getElevationForLngLatZoom(e,this.transform.tileZoom),this._elevationFreeze=!0;}_updateElevation(e){void 0!==this._elevationStart&&void 0!==this._elevationCenter||this._prepareElevation(this.transform.center),this.transform.setMinElevationForCurrentTile(this.terrain.getMinTileElevationForLngLatZoom(this._elevationCenter,this.transform.tileZoom));const i=this.terrain.getElevationForLngLatZoom(this._elevationCenter,this.transform.tileZoom);if(e<1&&i!==this._elevationTarget){const t=this._elevationTarget-this._elevationStart;this._elevationStart+=e*(t-(i-(t*e+this._elevationStart))/(1-e)),this._elevationTarget=i;}this.transform.setElevation(t.H.number(this._elevationStart,this._elevationTarget,e));}_finalizeElevation(){this._elevationFreeze=!1,this.getCenterClampedToGround()&&this.transform.recalculateZoomAndCenter(this.terrain);}_getTransformForUpdate(){return this.transformCameraUpdate||this.terrain?(this._requestedCameraState||(this._requestedCameraState=this.transform.clone()),this._requestedCameraState):this.transform}_elevateCameraIfInsideTerrain(e){if(!this.terrain&&e.elevation>=0&&e.pitch<=90)return {};const t=e.getCameraLngLat(),i=e.getCameraAltitude(),o=this.terrain?this.terrain.getElevationForLngLatZoom(t,e.zoom):0;if(ithis._elevateCameraIfInsideTerrain(e))),this.transformCameraUpdate&&t.push((e=>this.transformCameraUpdate(e))),!t.length)return;const i=e.clone();for(const e of t){const t=i.clone(),{center:o,zoom:a,roll:r,pitch:s,bearing:n,elevation:l}=e(t);o&&t.setCenter(o),void 0!==l&&t.setElevation(l),void 0!==a&&t.setZoom(a),void 0!==r&&t.setRoll(r),void 0!==s&&t.setPitch(s),void 0!==n&&t.setBearing(n),i.apply(t,!1);}this.transform.apply(i,!1);}_fireMoveEvents(e){this.fire(new t.n("move",e)),this._zooming&&this.fire(new t.n("zoom",e)),this._rotating&&this.fire(new t.n("rotate",e)),this._pitching&&this.fire(new t.n("pitch",e)),this._rolling&&this.fire(new t.n("roll",e));}_afterEase(e,i){if(this._easeId&&i&&this._easeId===i)return;delete this._easeId;const o=this._zooming,a=this._rotating,r=this._pitching,s=this._rolling;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._rolling=!1,this._padding=!1,o&&this.fire(new t.n("zoomend",e)),a&&this.fire(new t.n("rotateend",e)),r&&this.fire(new t.n("pitchend",e)),s&&this.fire(new t.n("rollend",e)),this.fire(new t.n("moveend",e));}flyTo(e,i){if(!e.essential&&n.prefersReducedMotion){const o=t.V(e,["center","zoom","bearing","pitch","roll","elevation","padding"]);return this.jumpTo(o,i)}this.stop(),"zoom"in(e=t.e({offset:[0,0],speed:1.2,curve:1.42,easing:t.cy},e))&&this._zoomSnap&&(e.zoom=t.cw(e.zoom,this._zoomSnap));const o=this._getTransformForUpdate(),a=o.bearing,r=o.pitch,s=o.roll,l=o.padding,c="bearing"in e?this._normalizeBearing(e.bearing,a):a,h="pitch"in e?+e.pitch:r,u="roll"in e?this._normalizeBearing(e.roll,s):s,d="padding"in e?e.padding:o.padding,_=t.P.convert(e.offset);let p=o.centerPoint.add(_);const m=o.screenPointToLocation(p),f=this.cameraHelper.handleFlyTo(o,{bearing:c,pitch:h,roll:u,padding:d,locationAtOffset:m,offsetAsPoint:_,center:e.center,minZoom:e.minZoom,zoom:e.zoom});let g=e.curve;const v=Math.max(o.width,o.height),x=v/f.scaleOfZoom,b=f.pixelPathLength;"number"==typeof f.scaleOfMinZoom&&(g=Math.sqrt(v/f.scaleOfMinZoom/b*2));const y=g*g;function w(e){const t=(x*x-v*v+(e?-1:1)*y*y*b*b)/(2*(e?x:v)*y*b);return Math.log(Math.sqrt(t*t+1)-t)}function T(e){return (Math.exp(e)-Math.exp(-e))/2}function P(e){return (Math.exp(e)+Math.exp(-e))/2}const C=w(!1);let M=function(e){return P(C)/P(C+g*e)},I=function(e){return v*((P(C)*(T(t=C+g*e)/P(t))-T(C))/y)/b;var t;},E=(w(!0)-C)/g;if(Math.abs(b)<2e-6||!isFinite(E)){if(Math.abs(v-x)<1e-6)return this.easeTo(e,i);const t=x0,M=e=>Math.exp(t*g*e);}return e.duration="duration"in e?+e.duration:1e3*E/("screenSpeed"in e?+e.screenSpeed/g:+e.speed),e.maxDuration&&e.duration>e.maxDuration&&(e.duration=0),this._zooming=!0,this._rotating=a!==c,this._pitching=h!==r,this._rolling=u!==s,this._padding=!o.isPaddingEqual(d),this._prepareEase(i,!1),this.terrain&&this._prepareElevation(f.targetCenter),this._ease((n=>{const m=n*E,g=1/M(m),v=I(m);this._rotating&&o.setBearing(t.H.number(a,c,n)),this._pitching&&o.setPitch(t.H.number(r,h,n)),this._rolling&&o.setRoll(t.H.number(s,u,n)),this._padding&&(o.interpolatePadding(l,d,n),p=o.centerPoint.add(_)),f.easeFunc(n,g,v,p),this.terrain&&!e.freezeElevation&&this._updateElevation(n),this._applyUpdatedTransform(o),this._fireMoveEvents(i);}),(()=>{this.terrain&&e.freezeElevation&&this._finalizeElevation(),this._afterEase(i);}),e),this}isEasing(){return !!this._easeFrameId}stop(){return this._stop()}_stop(e,t){var i;if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){const e=this._onEaseEnd;delete this._onEaseEnd,e.call(this,t);}return e||null===(i=this.handlers)||void 0===i||i.stop(!1),this}_ease(e,t,i){!1===i.animate||0===i.duration?(e(1),t()):(this._easeStart=c(),this._easeOptions=i,this._onEaseFrame=e,this._onEaseEnd=t,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback));}_normalizeBearing(e,i){e=t.X(e,-180,180);const o=Math.abs(e-i);return Math.abs(e-360-i)MapLibre'};class es{constructor(e=Jr){this._toggleAttribution=()=>{this._container.classList.contains("maplibregl-compact")&&(this._container.classList.contains("maplibregl-compact-show")?(this._container.setAttribute("open",""),this._container.classList.remove("maplibregl-compact-show")):(this._container.classList.add("maplibregl-compact-show"),this._container.removeAttribute("open")));},this._updateData=e=>{!e||"metadata"!==e.sourceDataType&&"visibility"!==e.sourceDataType&&"style"!==e.dataType&&"terrain"!==e.type||this._updateAttributions();},this._updateCompact=()=>{this._map.getCanvasContainer().offsetWidth<=640||this._compact?!1===this._compact?this._container.setAttribute("open",""):this._container.classList.contains("maplibregl-compact")||this._container.classList.contains("maplibregl-attrib-empty")||(this._container.setAttribute("open",""),this._container.classList.add("maplibregl-compact","maplibregl-compact-show")):(this._container.setAttribute("open",""),this._container.classList.contains("maplibregl-compact")&&this._container.classList.remove("maplibregl-compact","maplibregl-compact-show"));},this._updateCompactMinimize=()=>{this._container.classList.contains("maplibregl-compact")&&this._container.classList.contains("maplibregl-compact-show")&&this._container.classList.remove("maplibregl-compact-show");},this.options=e;}getDefaultPosition(){return "bottom-right"}onAdd(e){return this._map=e,this._compact=this.options.compact,this._container=d.create("details","maplibregl-ctrl maplibregl-ctrl-attrib"),this._compactButton=d.create("summary","maplibregl-ctrl-attrib-button",this._container),this._compactButton.addEventListener("click",this._toggleAttribution),this._setElementTitle(this._compactButton,"ToggleAttribution"),this._innerContainer=d.create("div","maplibregl-ctrl-attrib-inner",this._container),this._updateAttributions(),this._updateCompact(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("terrain",this._updateData),this._map.on("resize",this._updateCompact),this._map.on("drag",this._updateCompactMinimize),this._container}onRemove(){this._container.remove(),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("terrain",this._updateData),this._map.off("resize",this._updateCompact),this._map.off("drag",this._updateCompactMinimize),this._map=void 0,this._compact=void 0,this._attribHTML=void 0;}_setElementTitle(e,t){const i=this._map._getUIString(`AttributionControl.${t}`);e.title=i,e.setAttribute("aria-label",i);}_updateAttributions(){if(!this._map.style)return;let e=[];if(this.options.customAttribution&&(Array.isArray(this.options.customAttribution)?e=e.concat(this.options.customAttribution.map((e=>"string"!=typeof e?"":e))):"string"==typeof this.options.customAttribution&&e.push(this.options.customAttribution)),this._map.style.stylesheet){const e=this._map.style.stylesheet;this.styleOwner=e.owner,this.styleId=e.id;}const t=this._map.style.tileManagers;for(const i in t){const o=t[i];if(o.used||o.usedForTerrain){const t=o.getSource();t.attribution&&!e.includes(t.attribution)&&e.push(t.attribution);}}e=e.filter((e=>String(e).trim())),e.sort(((e,t)=>e.length-t.length)),e=e.filter(((t,i)=>{for(let o=i+1;o{const e=this._container.children;if(e.length){const t=e[0];this._map.getCanvasContainer().offsetWidth<=640||this._compact?!1!==this._compact&&t.classList.add("maplibregl-compact"):t.classList.remove("maplibregl-compact");}},this.options=e;}getDefaultPosition(){return "bottom-left"}onAdd(e){var t;this._map=e,this._compact=null===(t=this.options)||void 0===t?void 0:t.compact,this._container=d.create("div","maplibregl-ctrl");const i=d.create("a","maplibregl-ctrl-logo");return i.target="_blank",i.rel="noopener nofollow",i.href="https://maplibre.org/",i.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),i.setAttribute("rel","noopener nofollow"),this._container.appendChild(i),this._container.style.display="block",this._map.on("resize",this._updateCompact),this._updateCompact(),this._container}onRemove(){this._container.remove(),this._map.off("resize",this._updateCompact),this._map=void 0,this._compact=void 0;}}class is{constructor(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1;}add(e){const t=++this._id;return this._queue.push({callback:e,id:t,cancelled:!1}),t}remove(e){const t=this._currentlyRunning,i=t?this._queue.concat(t):this._queue;for(const t of i)if(t.id===e)return void(t.cancelled=!0)}run(e=0){if(this._currentlyRunning)throw new Error("Attempting to run(), but is already running.");const t=this._currentlyRunning=this._queue;this._queue=[];for(const i of t)if(!i.cancelled&&(i.callback(e),this._cleared))break;this._cleared=!1,this._currentlyRunning=!1;}clear(){this._currentlyRunning&&(this._cleared=!0),this._queue=[];}}var os=t.aS([{name:"a_pos3d",type:"Int16",components:3}]);class as extends t.E{constructor(e){super(),this._lastTilesetChange=c(),this.tileManager=e,this._tiles={},this._renderableTilesKeys=[],this._sourceTileCache={},this.minzoom=0,this.maxzoom=22,this.deltaZoom=1,this.tileSize=e._source.tileSize*2**this.deltaZoom,e.usedForTerrain=!0,e.tileSize=this.tileSize;}destruct(){this.tileManager.usedForTerrain=!1,this.tileManager.tileSize=null;}getSource(){return this.tileManager._source}update(e,i){this.tileManager.update(e,i),this._renderableTilesKeys=[];const o={};for(const a of Me(e,{tileSize:this.tileSize,minzoom:this.minzoom,maxzoom:this.maxzoom,reparseOverscaled:!1,terrain:i,calculateTileZoom:this.tileManager._source.calculateTileZoom}))o[a.key]=!0,this._renderableTilesKeys.push(a.key),this._tiles[a.key]||(a.terrainRttPosMatrix32f=new Float64Array(16),t.c7(a.terrainRttPosMatrix32f,0,t.a6,t.a6,0,0,1),this._tiles[a.key]=new de(a,this.tileSize),this._lastTilesetChange=c());for(const e in this._tiles)o[e]||delete this._tiles[e];}freeRtt(e){for(const t in this._tiles){const i=this._tiles[t];(!e||i.tileID.equals(e)||i.tileID.isChildOf(e)||e.isChildOf(i.tileID))&&(i.rtt=[]);}}getRenderableTiles(){return this._renderableTilesKeys.map((e=>this.getTileByID(e)))}getTileByID(e){return this._tiles[e]}getTerrainCoords(e,t){return t?this._getTerrainCoordsForTileRanges(e,t):this._getTerrainCoordsForRegularTile(e)}_getTerrainCoordsForRegularTile(e){const i={};for(const o of this._renderableTilesKeys){const a=this._tiles[o].tileID,r=e.clone(),s=t.bj();if(a.canonical.equals(e.canonical))t.c7(s,0,t.a6,t.a6,0,0,1);else if(a.canonical.isChildOf(e.canonical)){const i=a.canonical.z-e.canonical.z,o=a.canonical.x-(a.canonical.x>>i<>i<>i;t.c7(s,0,n,n,0,0,1),t.Q(s,s,[-o*n,-r*n,0]);}else {if(!e.canonical.isChildOf(a.canonical))continue;{const i=e.canonical.z-a.canonical.z,o=e.canonical.x-(e.canonical.x>>i<>i<>i;t.c7(s,0,t.a6,t.a6,0,0,1),t.Q(s,s,[o*n,r*n,0]),t.S(s,s,[1/2**i,1/2**i,0]);}}r.terrainRttPosMatrix32f=new Float32Array(s),i[o]=r;}return i}_getTerrainCoordsForTileRanges(e,i){const o={};for(const a of this._renderableTilesKeys){const r=this._tiles[a].tileID;if(!this._isWithinTileRanges(r,i))continue;const s=e.clone(),n=t.bj();if(r.canonical.z===e.canonical.z){const i=e.canonical.x-r.canonical.x+e.wrap*(1<e.canonical.z){const i=r.canonical.z-e.canonical.z,o=r.canonical.x-(r.canonical.x>>i<>i<>i),l=e.canonical.y-(r.canonical.y>>i),c=t.a6>>i;t.c7(n,0,c,c,0,0,1),t.Q(n,n,[-o*c+s*t.a6,-a*c+l*t.a6,0]);}else {const i=e.canonical.z-r.canonical.z,o=e.canonical.x-(e.canonical.x>>i<>i<>i)-r.canonical.x,l=(e.canonical.y>>i)-r.canonical.y,c=t.a6<a.maxzoom&&(r=a.maxzoom),r=a.minzoom&&!(null==s?void 0:s.dem);)s=this.findTileInCaches(e.scaledTo(r--).key);return s}findTileInCaches(e){let t=this.tileManager.getTileByID(e);return t||(t=this.tileManager._outOfViewCache.getByKey(e),t)}anyTilesAfterTime(e=Date.now()){return this._lastTilesetChange>=e}_isWithinTileRanges(e,t){const i=t[e.canonical.z];return !!i&&(e.wrap>i.minWrap||e.wrap=i.minTileXWrapped&&e.canonical.x<=i.maxTileXWrapped&&e.canonical.y>=i.minTileY&&e.canonical.y<=i.maxTileY)}}class rs{constructor(e,t,i){this._meshCache={},this.painter=e,this.tileManager=new as(t),this.options=i,this.exaggeration="number"==typeof i.exaggeration?i.exaggeration:1,this.qualityFactor=2,this.meshSize=128,this._demMatrixCache={},this.coordsIndex=[],this._coordsTextureSize=1024;}destroy(){this._fbo&&(this._fbo.destroy(),this._fbo=null),this._fboCoordsTexture&&(this._fboCoordsTexture.destroy(),this._fboCoordsTexture=null),this._fboDepthTexture&&(this._fboDepthTexture.destroy(),this._fboDepthTexture=null),this._emptyDemTexture&&(this._emptyDemTexture.destroy(),this._emptyDemTexture=null),this._emptyDepthTexture&&(this._emptyDepthTexture.destroy(),this._emptyDepthTexture=null),this._coordsTexture&&(this._coordsTexture.destroy(),this._coordsTexture=null);for(const e in this._meshCache)this._meshCache[e].destroy();this._meshCache={},this.tileManager.destruct();}getDEMElevation(e,i,o,a=t.a6){var r;const s=e.normalizeCoordinates(i,o,a);if(!s)return 0;const n=this.getTerrainData(s.tileID),l=null===(r=n.tile)||void 0===r?void 0:r.dem;if(!l)return 0;const c=t.cC([],[s.x/a*t.a6,s.y/a*t.a6],n.u_terrain_matrix),h=[c[0]*l.dim,c[1]*l.dim],u=Math.floor(h[0]),d=Math.floor(h[1]),_=h[0]-u,p=h[1]-d;return l.get(u,d)*(1-_)*(1-p)+l.get(u+1,d)*_*(1-p)+l.get(u,d+1)*(1-_)*p+l.get(u+1,d+1)*_*p}getElevationForLngLatZoom(e,i){if(!t.cD(i,e.wrap()))return 0;const{tileID:o,mercatorX:a,mercatorY:r}=this._getOverscaledTileIDFromLngLatZoom(e,i);return this.getElevation(o,a%t.a6,r%t.a6,t.a6)}getElevationForLngLat(e,t){const i=Me(t,{maxzoom:this.tileManager.maxzoom,minzoom:this.tileManager.minzoom,tileSize:512,terrain:this});let o=0;for(const e of i)e.canonical.z>o&&(o=Math.min(e.canonical.z,this.tileManager.maxzoom));return this.getElevationForLngLatZoom(e,o)}getElevation(e,i,o,a=t.a6){return this.getDEMElevation(e,i,o,a)*this.exaggeration}getTerrainData(e){var i,o;if(!this._emptyDemTexture){const e=this.painter.context,i=new t.R({width:1,height:1},new Uint8Array(4));this._emptyDepthTexture=new t.T(e,i,e.gl.RGBA,{premultiply:!1}),this._emptyDemUnpack=[0,0,0,0],this._emptyDemTexture=new t.T(e,new t.R({width:1,height:1}),e.gl.RGBA,{premultiply:!1}),this._emptyDemTexture.bind(e.gl.NEAREST,e.gl.CLAMP_TO_EDGE),this._emptyDemMatrix=t.ap([]);}const a=this.tileManager.getSourceTile(e,!0);if((null==a?void 0:a.dem)&&(!a.demTexture||a.needsTerrainPrepare)){const e=this.painter.context;a.demTexture=this.painter.getTileTexture(a.dem.stride),a.demTexture?a.demTexture.update(a.dem.getPixels(),{premultiply:!1}):a.demTexture=new t.T(e,a.dem.getPixels(),e.gl.RGBA,{premultiply:!1}),a.demTexture.bind(e.gl.NEAREST,e.gl.CLAMP_TO_EDGE),a.needsTerrainPrepare=!1;}const r=a&&a.toString()+a.tileID.key+e.key;if(r&&!this._demMatrixCache[r]){const i=this.tileManager.getSource().maxzoom;let o=e.canonical.z-a.tileID.canonical.z;e.overscaledZ>e.canonical.z&&(e.canonical.z>=i?o=e.canonical.z-i:t.w("cannot calculate elevation if elevation maxzoom > source.maxzoom"));const s=e.canonical.x-(e.canonical.x>>o<>o<>8<<4|e>>8,i[t+3]=0;const o=new t.R({width:this._coordsTextureSize,height:this._coordsTextureSize},new Uint8Array(i.buffer)),a=new t.T(e,o,e.gl.RGBA,{premultiply:!1});return a.bind(e.gl.NEAREST,e.gl.CLAMP_TO_EDGE),this._coordsTexture=a,a}pointCoordinate(e){this.painter.maybeDrawDepth(!0),this.painter.maybeDrawCoords();const i=new Uint8Array(4),o=this.painter.context,a=o.gl,r=Math.round(e.x*this.painter.pixelRatio/devicePixelRatio),s=Math.round(e.y*this.painter.pixelRatio/devicePixelRatio),n=Math.round(this.painter.height/devicePixelRatio);o.bindFramebuffer.set(this.getFramebuffer("coords").framebuffer),a.readPixels(r,n-s-1,1,1,a.RGBA,a.UNSIGNED_BYTE,i),o.bindFramebuffer.set(null);const l=i[0]+(i[2]>>4<<8),c=i[1]+((15&i[2])<<8),h=this.coordsIndex[255-i[3]],u=h&&this.tileManager.getTileByID(h);if(!u)return null;const d=this._coordsTextureSize,_=(1<0,a=o&&0===e.canonical.y,r=o&&e.canonical.y===(1<e.id!==t)),this._recentlyUsed.push(e.id);}stampObject(e){e.stamp=++this._stamp;}getOrCreateFreeObject(){for(const e of this._recentlyUsed)if(!this._objects[e].inUse)return this._objects[e];if(this._objects.length>=this._size)throw new Error("No free RenderPool available, call freeAllObjects() required!");const e=this._createObject(this._objects.length);return this._objects.push(e),e}freeObject(e){e.inUse=!1;}freeAllObjects(){for(const e of this._objects)this.freeObject(e);}isFull(){return !(this._objects.length!e.inUse))}}const ns={background:!0,fill:!0,line:!0,raster:!0,hillshade:!0,"color-relief":!0};class ls{constructor(e,t){this.painter=e,this.terrain=t,this.pool=new ss(e.context,30,t.tileManager.tileSize*t.qualityFactor);}destruct(){this.pool.destruct();}getTexture(e){return this.pool.getObjectForId(e.rtt[this._stacks.length-1].id).texture}prepareForRender(e,t){var i,o,a;this._stacks=[],this._prevType=null,this._rttTiles=[],this._renderableTiles=this.terrain.tileManager.getRenderableTiles(),this._renderableLayerIds=e._order.filter((i=>!e._layers[i].isHidden(t))),this._coordsAscending={};for(const t in e.tileManagers){this._coordsAscending[t]={};const i=e.tileManagers[t].getVisibleCoordinates(),o=e.tileManagers[t].getSource(),r=o instanceof te?o.terrainTileRanges:null;for(const e of i){const i=this.terrain.tileManager.getTerrainCoords(e,r);for(const e in i)(a=this._coordsAscending[t])[e]||(a[e]=[]),this._coordsAscending[t][e].push(i[e]);}}this._rttFingerprints={};for(const t of e._order){const a=e._layers[t],r=a.source;if(ns[a.type]&&!this._rttFingerprints[r]){this._rttFingerprints[r]={};const t=null!==(o=null===(i=e.tileManagers[r])||void 0===i?void 0:i.getState().revision)&&void 0!==o?o:0;for(const e in this._coordsAscending[r])this._rttFingerprints[r][e]=`${this._coordsAscending[r][e].map((e=>e.key)).sort().join()}#${t}`;}}for(const e of this._renderableTiles)for(const t in this._rttFingerprints){const i=this._rttFingerprints[t][e.tileID.key];i&&i!==e.rttFingerprint[t]&&(e.rtt=[]);}}renderLayer(e,i){if(e.isHidden(this.painter.transform.zoom))return !1;const o=Object.assign(Object.assign({},i),{isRenderingToTexture:!0}),a=e.type,r=this.painter,s=this._renderableLayerIds[this._renderableLayerIds.length-1]===e.id;if(ns[a]&&(this._prevType&&ns[this._prevType]||this._stacks.push([]),this._prevType=a,this._stacks[this._stacks.length-1].push(e.id),!s))return !0;if(ns[this._prevType]||ns[a]&&s){this._prevType=a;const e=this._stacks.length-1,i=this._stacks[e]||[];for(const a of this._renderableTiles){if(this.pool.isFull()&&(qa(this.painter,this.terrain,this._rttTiles,o),this._rttTiles=[],this.pool.freeAllObjects()),this._rttTiles.push(a),a.rtt[e]){const t=this.pool.getObjectForId(a.rtt[e].id);if(t.stamp===a.rtt[e].stamp){this.pool.useObject(t);continue}}const s=this.pool.getOrCreateFreeObject();this.pool.useObject(s),this.pool.stampObject(s),a.rtt[e]={id:s.id,stamp:s.stamp},r.context.bindFramebuffer.set(s.fbo.framebuffer),r.context.clear({color:t.bo.transparent,stencil:0}),r.currentStencilSource=void 0;for(const e of i){const t=r.style._layers[e],i=t.source?this._coordsAscending[t.source][a.tileID.key]:[a.tileID];r.context.viewport.set([0,0,s.fbo.width,s.fbo.height]),r._renderTileClippingMasks(t,i,!0),r.renderLayer(r,r.style.tileManagers[t.source],t,i,o),t.source&&(a.rttFingerprint[t.source]=this._rttFingerprints[t.source][a.tileID.key]);}}return qa(this.painter,this.terrain,this._rttTiles,o),this._rttTiles=[],this.pool.freeAllObjects(),ns[a]}return !1}}const cs={"AttributionControl.ToggleAttribution":"Toggle attribution","AttributionControl.MapFeedback":"Map feedback","FullscreenControl.Enter":"Enter fullscreen","FullscreenControl.Exit":"Exit fullscreen","GeolocateControl.FindMyLocation":"Find my location","GeolocateControl.LocationNotAvailable":"Location not available","LogoControl.Title":"MapLibre logo","Map.Title":"Map","Marker.Title":"Map marker","NavigationControl.ResetBearing":"Drag to rotate map, click to reset north","NavigationControl.ZoomIn":"Zoom in","NavigationControl.ZoomOut":"Zoom out","Popup.Close":"Close popup","ScaleControl.Feet":"ft","ScaleControl.Meters":"m","ScaleControl.Kilometers":"km","ScaleControl.Miles":"mi","ScaleControl.NauticalMiles":"nm","GlobeControl.Enable":"Enable globe","GlobeControl.Disable":"Disable globe","TerrainControl.Enable":"Enable terrain","TerrainControl.Disable":"Disable terrain","CooperativeGesturesHandler.WindowsHelpText":"Use Ctrl + scroll to zoom the map","CooperativeGesturesHandler.MacHelpText":"Use ⌘ + scroll to zoom the map","CooperativeGesturesHandler.MobileHelpText":"Use two fingers to move the map"},hs=i,us={hash:!1,interactive:!0,bearingSnap:7,zoomSnap:0,attributionControl:Jr,maplibreLogo:!1,refreshExpiredTiles:!0,canvasContextAttributes:{antialias:!1,preserveDrawingBuffer:!1,powerPreference:"high-performance",failIfMajorPerformanceCaveat:!1,desynchronized:!1,contextType:void 0},scrollZoom:!0,minZoom:-2,maxZoom:22,minPitch:0,maxPitch:60,boxZoom:!0,dragRotate:!0,dragPan:!0,keyboard:!0,doubleClickZoom:!0,touchZoomRotate:!0,touchPitch:!0,cooperativeGestures:!1,trackResize:!0,center:[0,0],elevation:0,zoom:0,bearing:0,pitch:0,roll:0,renderWorldCopies:!0,maxTileCacheSize:null,maxTileCacheZoomLevels:t.c.MAX_TILE_CACHE_ZOOM_LEVELS,transformRequest:null,transformCameraUpdate:null,transformConstrain:null,fadeDuration:300,crossSourceCollisions:!0,clickTolerance:3,localIdeographFontFamily:"sans-serif",pitchWithRotate:!0,rollEnabled:!1,reduceMotion:void 0,validateStyle:!0,maxCanvasSize:[4096,4096],cancelPendingTileRequestsWhileZooming:!0,centerClampedToGround:!0,experimentalZoomLevelsToOverscale:void 0,anisotropicFilterPitch:20};let ds=class extends Qr{get _ownerWindow(){var e,t;return (null===(t=null===(e=this._container)||void 0===e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView)||window}constructor(e){var i,o,a;const r=Object.assign(Object.assign(Object.assign({},us),e),{canvasContextAttributes:Object.assign(Object.assign({},us.canvasContextAttributes),e.canvasContextAttributes)});if(null!=r.minZoom&&null!=r.maxZoom&&r.minZoom>r.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(null!=r.minPitch&&null!=r.maxPitch&&r.minPitch>r.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(null!=r.minPitch&&r.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(null!=r.maxPitch&&r.maxPitch>180)throw new Error("maxPitch must be less than or equal to 180");const s=new Xt,l=new Jt;void 0!==r.minZoom&&s.setMinZoom(r.minZoom),void 0!==r.maxZoom&&s.setMaxZoom(r.maxZoom),void 0!==r.minPitch&&s.setMinPitch(r.minPitch),void 0!==r.maxPitch&&s.setMaxPitch(r.maxPitch),void 0!==r.renderWorldCopies&&s.setRenderWorldCopies(r.renderWorldCopies),null!==r.transformConstrain&&s.setConstrainOverride(r.transformConstrain),super(s,l,{bearingSnap:r.bearingSnap,zoomSnap:r.zoomSnap}),this._idleTriggered=!1,this._crossFadingFactor=1,this._renderTaskQueue=new is,this._controls=[],this._mapId=t.ad(),this._lostContextStyle={style:null,images:null},this._contextLost=e=>{if(e.preventDefault(),this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this.painter.destroy(),this._lostContextStyle=this._getStyleAndImages(),this.style){for(const e of Object.values(this.style._layers))if("custom"===e.type&&console.warn(`Custom layer with id '${e.id}' cannot be restored after WebGL context loss. You will need to re-add it manually after context restoration.`),e._listeners)for(const[t]of Object.entries(e._listeners))console.warn(`Custom layer with id '${e.id}' had event listeners for event '${t}' which cannot be restored after WebGL context loss. You will need to re-add them manually after context restoration.`);this.style.destroy(),this.style=null,this.fire(new t.n("webglcontextlost",{originalEvent:e}));}else this.fire(new t.n("webglcontextlost",{originalEvent:e}));},this._contextRestored=e=>{this._lostContextStyle.style&&this.setStyle(this._lostContextStyle.style,{diff:!1}),this._lostContextStyle.images&&this.style&&(this.style.imageManager.images=this._lostContextStyle.images),this._lostContextStyle={style:null,images:null},this._setupPainter(),this.resize(),this._update(),this._resizeInternal(),this.fire(new t.n("webglcontextrestored",{originalEvent:e}));},this._onMapScroll=e=>{if(e.target===this._container)return this._container.scrollTop=0,this._container.scrollLeft=0,!1},this._onWindowOnline=()=>{this._update();},this._interactive=r.interactive,this._maxTileCacheSize=r.maxTileCacheSize,this._maxTileCacheZoomLevels=r.maxTileCacheZoomLevels,this._canvasContextAttributes=Object.assign({},r.canvasContextAttributes),this._trackResize=!0===r.trackResize,this._bearingSnap=r.bearingSnap,this._zoomSnap=r.zoomSnap,this._centerClampedToGround=r.centerClampedToGround,this._refreshExpiredTiles=!0===r.refreshExpiredTiles,this._fadeDuration=r.fadeDuration,this._crossSourceCollisions=!0===r.crossSourceCollisions,this._collectResourceTiming=!0===r.collectResourceTiming,this._locale=Object.assign(Object.assign({},cs),r.locale),this._clickTolerance=r.clickTolerance,this._overridePixelRatio=r.pixelRatio,this._maxCanvasSize=r.maxCanvasSize,this._zoomLevelsToOverscale=r.experimentalZoomLevelsToOverscale,this.transformCameraUpdate=r.transformCameraUpdate,this.transformConstrain=r.transformConstrain,this.cancelPendingTileRequestsWhileZooming=!0===r.cancelPendingTileRequestsWhileZooming,this.setAnisotropicFilterPitch(r.anisotropicFilterPitch),void 0!==r.reduceMotion&&(n.prefersReducedMotion=r.reduceMotion),this._imageQueueHandle=u.addThrottleControl((()=>this.isMoving())),this._requestManager=new _(r.transformRequest),this._container=this._resolveContainer(r.container),r.maxBounds&&this.setMaxBounds(r.maxBounds),this._setupContainer(),this._setupPainter(),this.on("move",(()=>this._update(!1))),this.on("moveend",(()=>this._update(!1))),this.on("zoom",(()=>this._update(!0))),this.on("terrain",(()=>{this.painter.terrainFacilitator.depthDirty=!0,this._update(!0);})),this.once("idle",(()=>this._idleTriggered=!0)),"undefined"!=typeof window&&(this._ownerWindow.addEventListener("online",this._onWindowOnline,!1),this._setupResizeObserver()),this.handlers=new Yr(this,r),this._hash=r.hash?new Ya("string"==typeof r.hash&&r.hash||void 0).addTo(this):void 0,(null===(i=this._hash)||void 0===i?void 0:i._onHashChange())||(this.jumpTo({center:r.center,elevation:r.elevation,zoom:r.zoom,bearing:r.bearing,pitch:r.pitch,roll:r.roll}),r.bounds&&(this.resize(),this.fitBounds(r.bounds,t.e({},r.fitBoundsOptions,{duration:0}))));const c="string"==typeof r.style||!("globe"===(null===(a=null===(o=r.style)||void 0===o?void 0:o.projection)||void 0===a?void 0:a.type));this.resize(null,c),this._localIdeographFontFamily=r.localIdeographFontFamily,this._validateStyle=r.validateStyle,r.style&&this.setStyle(r.style,{localIdeographFontFamily:r.localIdeographFontFamily}),r.attributionControl&&this.addControl(new es("boolean"==typeof r.attributionControl?void 0:r.attributionControl)),r.maplibreLogo&&this.addControl(new ts,r.logoPosition),this.on("style.load",(()=>{if(c||this._resizeTransform(),this.transform.unmodified){const e=t.V(this.style.stylesheet,["center","zoom","bearing","pitch","roll"]);this.jumpTo(e);}})),this.on("data",(e=>{this._update("style"===e.dataType),this.fire(new t.n(`${e.dataType}data`,e));})),this.on("dataloading",(e=>{this.fire(new t.n(`${e.dataType}dataloading`,e));})),this.on("dataabort",(e=>{this.fire(new t.n("sourcedataabort",e));}));}_getMapId(){return this._mapId}setGlobalStateProperty(e,t){return this.style.setGlobalStateProperty(e,t),this._update(!0)}getGlobalState(){return this.style.getGlobalState()}addControl(e,i){if(void 0===i&&(i=e.getDefaultPosition?e.getDefaultPosition():"top-right"),!(null==e?void 0:e.onAdd))return this.fire(new t.l(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));const o=e.onAdd(this);this._controls.push(e);const a=this._controlPositions[i];return i.includes("bottom")?a.insertBefore(o,a.firstChild):a.appendChild(o),this}removeControl(e){if(!(null==e?void 0:e.onRemove))return this.fire(new t.l(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));const i=this._controls.indexOf(e);return i>-1&&this._controls.splice(i,1),e.onRemove(this),this}hasControl(e){return this._controls.includes(e)}coveringTiles(e){return Me(this.transform,e)}calculateCameraOptionsFromTo(e,t,i,o){return null==o&&this.terrain&&(o=this.terrain.getElevationForLngLat(i,this.transform)),super.calculateCameraOptionsFromTo(e,t,i,o)}resize(e,i=!0){if(null!==this._lostContextStyle.style)return this;this._resizeInternal(i);const o=!this._moving;return o&&(this.stop(),this.fire(new t.n("movestart",e)).fire(new t.n("move",e))),this.fire(new t.n("resize",e)),o&&this.fire(new t.n("moveend",e)),this}_resizeInternal(e=!0){const[t,i]=this._containerDimensions(),o=this._getClampedPixelRatio(t,i);if(this._resizeCanvas(t,i,o),this.painter.resize(t,i,o),this.painter.overLimit()){const e=this.painter.context.gl;this._maxCanvasSize=[e.drawingBufferWidth,e.drawingBufferHeight];const o=this._getClampedPixelRatio(t,i);this._resizeCanvas(t,i,o),this.painter.resize(t,i,o);}this._resizeTransform(e);}_resizeTransform(e=!0){var t;const[i,o]=this._containerDimensions();this.transform.resize(i,o,e),null===(t=this._requestedCameraState)||void 0===t||t.resize(i,o,e);}_getClampedPixelRatio(e,t){const{0:i,1:o}=this._maxCanvasSize,a=this.getPixelRatio(),r=e*a,s=t*a;return Math.min(r>i?i/r:1,s>o?o/s:1)*a}getPixelRatio(){var e;return null!==(e=this._overridePixelRatio)&&void 0!==e?e:devicePixelRatio}setPixelRatio(e){this._overridePixelRatio=e,this.resize();}getBounds(){return this.transform.getBounds()}getMaxBounds(){return this.transform.getMaxBounds()}setMaxBounds(e){return this.transform.setMaxBounds(G.convert(e)),this._update()}setMinZoom(e){if((e=null==e?-2:e)>=-2&&e<=this.transform.maxZoom){const i=this.transform.zoom,o=this._getTransformForUpdate();return o.setMinZoom(e),this._applyUpdatedTransform(o),this._update(),i!==this.transform.zoom&&this.fire(new t.n("zoomstart")).fire(new t.n("zoom")).fire(new t.n("zoomend")).fire(new t.n("movestart")).fire(new t.n("move")).fire(new t.n("moveend")),this}throw new Error("minZoom must be between -2 and the current maxZoom, inclusive")}getMinZoom(){return this.transform.minZoom}setMaxZoom(e){if((e=null==e?22:e)>=this.transform.minZoom){const i=this.transform.zoom,o=this._getTransformForUpdate();return o.setMaxZoom(e),this._applyUpdatedTransform(o),this._update(),i!==this.transform.zoom&&this.fire(new t.n("zoomstart")).fire(new t.n("zoom")).fire(new t.n("zoomend")).fire(new t.n("movestart")).fire(new t.n("move")).fire(new t.n("moveend")),this}throw new Error("maxZoom must be greater than the current minZoom")}getMaxZoom(){return this.transform.maxZoom}setMinPitch(e){if((e=null==e?0:e)<0)throw new Error("minPitch must be greater than or equal to 0");if(e>=0&&e<=this.transform.maxPitch){const i=this.transform.pitch,o=this._getTransformForUpdate();return o.setMinPitch(e),this._applyUpdatedTransform(o),this._update(),i!==this.transform.pitch&&this.fire(new t.n("pitchstart")).fire(new t.n("pitch")).fire(new t.n("pitchend")).fire(new t.n("movestart")).fire(new t.n("move")).fire(new t.n("moveend")),this}throw new Error("minPitch must be between 0 and the current maxPitch, inclusive")}getMinPitch(){return this.transform.minPitch}setMaxPitch(e){if((e=null==e?60:e)>180)throw new Error("maxPitch must be less than or equal to 180");if(e>=this.transform.minPitch){const i=this.transform.pitch,o=this._getTransformForUpdate();return o.setMaxPitch(e),this._applyUpdatedTransform(o),this._update(),i!==this.transform.pitch&&this.fire(new t.n("pitchstart")).fire(new t.n("pitch")).fire(new t.n("pitchend")).fire(new t.n("movestart")).fire(new t.n("move")).fire(new t.n("moveend")),this}throw new Error("maxPitch must be greater than the current minPitch")}getMaxPitch(){return this.transform.maxPitch}getAnisotropicFilterPitch(){return this._anisotropicFilterPitch}setAnisotropicFilterPitch(e){if((e=null==e?20:e)>180)throw new Error("anisotropicFilterPitch must be less than or equal to 180");if(e<0)throw new Error("anisotropicFilterPitch must be greater than or equal to 0");return this._anisotropicFilterPitch=e,this._update()}getRenderWorldCopies(){return this.transform.renderWorldCopies}setRenderWorldCopies(e){return this.transform.setRenderWorldCopies(e),this._update()}setTransformConstrain(e){return this.transform.setConstrainOverride(e),this._update()}project(e){return this.transform.locationToScreenPoint(t.W.convert(e),this.style&&this.terrain)}unproject(e){return this.transform.screenPointToLocation(t.P.convert(e),this.terrain)}isMoving(){var e;return this._moving||(null===(e=this.handlers)||void 0===e?void 0:e.isMoving())}isZooming(){var e;return this._zooming||(null===(e=this.handlers)||void 0===e?void 0:e.isZooming())}isRotating(){var e;return this._rotating||(null===(e=this.handlers)||void 0===e?void 0:e.isRotating())}_createDelegatedListener(e,t,i){if("mouseenter"===e||"mouseover"===e){let o=!1;const a=a=>{const r=t.filter((e=>this.getLayer(e))),s=0!==r.length?this.queryRenderedFeatures(a.point,{layers:r}):[];s.length?o||(o=!0,i.call(this,new nr(e,this,a.originalEvent,{features:s}))):o=!1;};return {layers:t,listener:i,delegates:{mousemove:a,mouseout:()=>{o=!1;}}}}if("mouseleave"===e||"mouseout"===e){let o=!1;const a=a=>{const r=t.filter((e=>this.getLayer(e)));(0!==r.length?this.queryRenderedFeatures(a.point,{layers:r}):[]).length?o=!0:o&&(o=!1,i.call(this,new nr(e,this,a.originalEvent)));},r=t=>{o&&(o=!1,i.call(this,new nr(e,this,t.originalEvent)));};return {layers:t,listener:i,delegates:{mousemove:a,mouseout:r}}}{const o=e=>{const o=t.filter((e=>this.getLayer(e))),a=0!==o.length?this.queryRenderedFeatures(e.point,{layers:o}):[];a.length&&(e.features=a,i.call(this,e),delete e.features);};return {layers:t,listener:i,delegates:{[e]:o}}}}_saveDelegatedListener(e,t){var i;this._delegatedListeners||(this._delegatedListeners={}),(i=this._delegatedListeners)[e]||(i[e]=[]),this._delegatedListeners[e].push(t);}_removeDelegatedListener(e,t,i){var o;if(!(null===(o=this._delegatedListeners)||void 0===o?void 0:o[e]))return;const a=this._delegatedListeners[e];for(let e=0;et.includes(e)))){for(const e in o.delegates)this.off(e,o.delegates[e]);return void a.splice(e,1)}}}on(e,t,i){if(void 0===i)return super.on(e,t);const o="string"==typeof t?[t]:t,a=this._createDelegatedListener(e,o,i);this._saveDelegatedListener(e,a);for(const e in a.delegates)this.on(e,a.delegates[e]);return {unsubscribe:()=>{this._removeDelegatedListener(e,o,i);}}}once(e,t,i){if(void 0===i)return super.once(e,t);const o="string"==typeof t?[t]:t,a=this._createDelegatedListener(e,o,i);for(const t in a.delegates){const r=a.delegates[t];a.delegates[t]=(...t)=>{this._removeDelegatedListener(e,o,i),r(...t);};}this._saveDelegatedListener(e,a);for(const e in a.delegates)this.once(e,a.delegates[e]);return this}off(e,t,i){return void 0===i?super.off(e,t):(this._removeDelegatedListener(e,"string"==typeof t?[t]:t,i),this)}queryRenderedFeatures(e,i){if(!this.style)return [];let o;const a=e instanceof t.P||Array.isArray(e),r=a?e:[[0,0],[this.transform.width,this.transform.height]];if(i||(i=(a?{}:e)||{}),r instanceof t.P||"number"==typeof r[0])o=[t.P.convert(r)];else {const e=t.P.convert(r[0]),i=t.P.convert(r[1]);o=[e,new t.P(i.x,e.y),i,new t.P(e.x,i.y),e];}return this.style.queryRenderedFeatures(o,i,this.transform)}querySourceFeatures(e,t){return this.style.querySourceFeatures(e,t)}setStyle(e,i){return !1!==(i=t.e({},{localIdeographFontFamily:this._localIdeographFontFamily,validate:this._validateStyle},i)).diff&&i.localIdeographFontFamily===this._localIdeographFontFamily&&this.style&&e?(this._diffStyle(e,i),this):(this._localIdeographFontFamily=i.localIdeographFontFamily,this._updateStyle(e,i))}setTransformRequest(e){return this._requestManager.setTransformRequest(e),this}_getUIString(e){const t=this._locale[e];if(null==t)throw new Error(`Missing UI string '${e}'`);return t}_updateStyle(e,t){var i,o,a;if(null===(i=this._diffStyleRequest)||void 0===i||i.abort(),this._diffStyleRequest=null,t.transformStyle&&this.style&&!this.style._loaded)return void this.style.once("style.load",(()=>this._updateStyle(e,t)));const r=this.style&&t.transformStyle?this.style.serialize():void 0;return this.style&&(this.style.setEventedParent(null),this.style._remove(!e)),e?(this.style=new ki(this,t||{}),this.style.setEventedParent(this,{style:this.style}),"string"==typeof e?this.style.loadURL(e,t,r):this.style.loadJSON(e,t,r),this):(this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),null===(a=null===(o=this.style)||void 0===o?void 0:o.projection)||void 0===a||a.destroy(),delete this.style,this)}_lazyInitEmptyStyle(){this.style||(this.style=new ki(this,{}),this.style.setEventedParent(this,{style:this.style}),this.style.loadEmpty());}_diffStyle(e,i){return t._(this,void 0,void 0,(function*(){var o;if(null===(o=this._diffStyleRequest)||void 0===o||o.abort(),"string"==typeof e){const o=e;this._diffStyleRequest=new AbortController;const a=this._diffStyleRequest;try{const e=yield this._requestManager.transformRequest(o,"Style");if(a.signal.aborted)return void(this._diffStyleRequest=null);const r=yield t.k(e,a);this._diffStyleRequest=null,this._updateDiff(r.data,i);}catch(e){this._diffStyleRequest=null,t.$(e)||this.fire(new t.l(t.d(e)));}}else "object"==typeof e&&(this._diffStyleRequest=null,this._updateDiff(e,i));}))}_updateDiff(e,i){try{this.style.setState(e,i)&&this._update(!0);}catch(o){t.w(`Unable to perform style diff: ${t.d(o).message}. Rebuilding the style from scratch.`),this._updateStyle(e,i);}}getStyle(){if(this.style)return this.style.serialize()}_getStyleAndImages(){return this.style?{style:this.style.serialize(),images:this.style.imageManager.cloneImages()}:{style:null,images:{}}}isStyleLoaded(){if(this.style)return this.style.loaded();t.w("There is no style added to the map.");}addSource(e,t){return this._lazyInitEmptyStyle(),this.style.addSource(e,t),this._update(!0)}isSourceLoaded(e){var i;const o=null===(i=this.style)||void 0===i?void 0:i.tileManagers[e];if(void 0!==o)return o.loaded();this.fire(new t.l(new Error(`There is no tile manager with ID '${e}'`)));}setTerrain(e){if(this.style._checkLoaded(),this._terrainDataCallback&&this.style.off("data",this._terrainDataCallback),e){const i=this.style.tileManagers[e.source];if(!i)throw new Error(`cannot load terrain, because there exists no source with ID: ${e.source}`);null===this.terrain&&i.reload();for(const i in this.style._layers){const o=this.style._layers[i];"hillshade"===o.type&&o.source===e.source&&t.w("You are using the same source for a hillshade layer and for 3D terrain. Please consider using two separate sources to improve rendering quality."),"color-relief"===o.type&&o.source===e.source&&t.w("You are using the same source for a color-relief layer and for 3D terrain. Please consider using two separate sources to improve rendering quality.");}this.terrain=new rs(this.painter,i,e),this.painter.renderToTexture=new ls(this.painter,this.terrain),this.transform.setMinElevationForCurrentTile(this.terrain.getMinTileElevationForLngLatZoom(this.transform.center,this.transform.tileZoom)),this.transform.setElevation(this.terrain.getElevationForLngLatZoom(this.transform.center,this.transform.tileZoom)),this._terrainDataCallback=t=>{var i;"style"===t.dataType?this.terrain.tileManager.freeRtt():"source"===t.dataType&&t.tile&&(t.sourceId!==e.source||this._elevationFreeze||(this.transform.setMinElevationForCurrentTile(this.terrain.getMinTileElevationForLngLatZoom(this.transform.center,this.transform.tileZoom)),this._centerClampedToGround&&this.transform.setElevation(this.terrain.getElevationForLngLatZoom(this.transform.center,this.transform.tileZoom))),"image"===(null===(i=t.source)||void 0===i?void 0:i.type)?this.terrain.tileManager.freeRtt():this.terrain.tileManager.freeRtt(t.tile.tileID));},this.style.on("data",this._terrainDataCallback);}else this.terrain&&this.terrain.destroy(),this.terrain=null,this.painter.renderToTexture&&this.painter.renderToTexture.destruct(),this.painter.renderToTexture=null,this.transform.setMinElevationForCurrentTile(0),this._centerClampedToGround&&this.transform.setElevation(0);return this.fire(new t.n("terrain",{terrain:e})),this}getTerrain(){var e,t;return null!==(t=null===(e=this.terrain)||void 0===e?void 0:e.options)&&void 0!==t?t:null}areTilesLoaded(){var e;const t=null===(e=this.style)||void 0===e?void 0:e.tileManagers;for(const e of Object.values(t))if(!e.areTilesLoaded())return !1;return !0}removeSource(e){return this.style.removeSource(e),this._update(!0)}getSource(e){return this.style.getSource(e)}setSourceTileLodParams(e,t,i){if(i){const o=this.getSource(i);if(!o)throw new Error(`There is no source with ID "${i}", cannot set LOD parameters`);o.calculateTileZoom=Te(Math.max(1,e),Math.max(1,t));}else for(const i in this.style.tileManagers)this.style.tileManagers[i].getSource().calculateTileZoom=Te(Math.max(1,e),Math.max(1,t));return this._update(!0),this}refreshTiles(e,i){const o=this.style.tileManagers[e];if(!o)throw new Error(`There is no tile manager with ID "${e}", cannot refresh tile`);void 0===i?o.reload(!0):o.refreshTiles(i.map((e=>new t.aa(e.z,e.x,e.y))));}addImage(e,i,o={}){const{pixelRatio:a=1,sdf:r=!1,stretchX:s,stretchY:l,content:c,textFitWidth:h,textFitHeight:u}=o;if(this._lazyInitEmptyStyle(),!(i instanceof HTMLImageElement||t.b(i))){if(void 0===i.width||void 0===i.height)return this.fire(new t.l(new Error("Invalid arguments to map.addImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));{const{width:o,height:n,data:d}=i,_=i;return this.style.addImage(e,{data:new t.R({width:o,height:n},new Uint8Array(d)),pixelRatio:a,stretchX:s,stretchY:l,content:c,textFitWidth:h,textFitHeight:u,sdf:r,version:0,userImage:_}),_.onAdd&&_.onAdd(this,e),this}}{const{width:o,height:d,data:_}=n.getImageData(i);this.style.addImage(e,{data:new t.R({width:o,height:d},_),pixelRatio:a,stretchX:s,stretchY:l,content:c,textFitWidth:h,textFitHeight:u,sdf:r,version:0});}}updateImage(e,i){const o=this.style.getImage(e);if(!o)return this.fire(new t.l(new Error("The map has no image with that id. If you are adding a new image use `map.addImage(...)` instead.")));const a=i instanceof HTMLImageElement||t.b(i)?n.getImageData(i):i,{width:r,height:s,data:l}=a;if(void 0===r||void 0===s)return this.fire(new t.l(new Error("Invalid arguments to map.updateImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));if(r!==o.data.width||s!==o.data.height)return this.fire(new t.l(new Error("The width and height of the updated image must be that same as the previous version of the image")));const c=!(i instanceof HTMLImageElement||t.b(i));return o.data.replace(l,c),this.style.updateImage(e,o),this}getImage(e){return this.style.getImage(e)}hasImage(e){return e?!!this.style.getImage(e):(this.fire(new t.l(new Error("Missing required image id"))),!1)}removeImage(e){this.style.removeImage(e);}loadImage(e){return t._(this,void 0,void 0,(function*(){return u.getImage(yield this._requestManager.transformRequest(e,"Image"),new AbortController)}))}listImages(){return this.style.listImages()}addLayer(e,t){return this._lazyInitEmptyStyle(),this.style.addLayer(e,t),this._update(!0)}moveLayer(e,t){return this.style.moveLayer(e,t),this._update(!0)}removeLayer(e){return this.style.removeLayer(e),this._update(!0)}getLayer(e){return this.style.getLayer(e)}getLayersOrder(){return this.style.getLayersOrder()}setLayerZoomRange(e,t,i){return this.style.setLayerZoomRange(e,t,i),this._update(!0)}setFilter(e,t,i={}){return this.style.setFilter(e,t,i),this._update(!0)}getFilter(e){return this.style.getFilter(e)}setPaintProperty(e,t,i,o={}){return this.style.setPaintProperty(e,t,i,o),this._update(!0)}getPaintProperty(e,t){return this.style.getPaintProperty(e,t)}setLayoutProperty(e,t,i,o={}){return this.style.setLayoutProperty(e,t,i,o),this._update(!0)}getLayoutProperty(e,t){return this.style.getLayoutProperty(e,t)}setGlyphs(e,t={}){return this._lazyInitEmptyStyle(),this.style.setGlyphs(e,t),this._update(!0)}getGlyphs(){return this.style.getGlyphsUrl()}addSprite(e,t,i={}){return this._lazyInitEmptyStyle(),this.style.addSprite(e,t,i,(e=>{e||this._update(!0);})),this}removeSprite(e){return this._lazyInitEmptyStyle(),this.style.removeSprite(e),this._update(!0)}getSprite(){return this.style.getSprite()}setSprite(e,t={}){return this._lazyInitEmptyStyle(),this.style.setSprite(e,t,(e=>{e||this._update(!0);})),this}setLight(e,t={}){return this._lazyInitEmptyStyle(),this.style.setLight(e,t),this._update(!0)}getLight(){return this.style.getLight()}setSky(e,t={}){return this._lazyInitEmptyStyle(),this.style.setSky(e,t),this._update(!0)}getSky(){return this.style.getSky()}setFeatureState(e,t){return this.style.setFeatureState(e,t),this._update()}removeFeatureState(e,t){return this.style.removeFeatureState(e,t),this._update()}getFeatureState(e){return this.style.getFeatureState(e)}getContainer(){return this._container}getCanvasContainer(){return this._canvasContainer}getCanvas(){return this._canvas}_containerDimensions(){let e=0,t=0;return this._container&&(e=this._container.clientWidth||400,t=this._container.clientHeight||300),[e,t]}_setupResizeObserver(){var e;let t=!1;const i=Ka((e=>{this._trackResize&&!this._removed&&(this.resize(e),this.redraw());}),50),o=null!==(e=this._ownerWindow.ResizeObserver)&&void 0!==e?e:ResizeObserver;this._resizeObserver=new o((e=>{t?i(e):t=!0;})),this._resizeObserver.observe(this._container);}_resolveContainer(e){if("string"==typeof e){const t=document.getElementById(e);if(!t)throw new Error(`Container '${e}' not found.`);return t}if(e instanceof HTMLElement)return e;if(e&&"object"==typeof e&&1===e.nodeType)return e;throw new Error("Invalid type: 'container' must be a String or HTMLElement.")}_setupContainer(){const e=this._container;e.classList.add("maplibregl-map");const t=this._canvasContainer=d.create("div","maplibregl-canvas-container",e);this._interactive&&t.classList.add("maplibregl-interactive"),this._canvas=d.create("canvas","maplibregl-canvas",t),this._canvas.addEventListener("webglcontextlost",this._contextLost,!1),this._canvas.addEventListener("webglcontextrestored",this._contextRestored,!1),this._canvas.setAttribute("tabindex",this._interactive?"0":"-1"),this._canvas.setAttribute("aria-label",this._getUIString("Map.Title")),this._canvas.setAttribute("role","region");const i=this._containerDimensions(),o=this._getClampedPixelRatio(i[0],i[1]);this._resizeCanvas(i[0],i[1],o);const a=this._controlContainer=d.create("div","maplibregl-control-container",e),r=this._controlPositions={};for(const e of ["top-left","top-right","bottom-left","bottom-right"])r[e]=d.create("div",`maplibregl-ctrl-${e} `,a);this._container.addEventListener("scroll",this._onMapScroll,!1);}_resizeCanvas(e,t,i){this._canvas.width=Math.floor(i*e),this._canvas.height=Math.floor(i*t),this._canvas.style.width=`${e}px`,this._canvas.style.height=`${t}px`;}_setupPainter(){const e=Object.assign(Object.assign({},this._canvasContextAttributes),{alpha:!0,depth:!0,stencil:!0,premultipliedAlpha:!0});let t=null;this._canvas.addEventListener("webglcontextcreationerror",(i=>{t={requestedAttributes:e},i&&(t.statusMessage=i.statusMessage,t.type=i.type);}),{once:!0});let i=null;if(i=this._canvasContextAttributes.contextType?this._canvas.getContext(this._canvasContextAttributes.contextType,e):this._canvas.getContext("webgl2",e)||this._canvas.getContext("webgl",e),!i){const e="Failed to initialize WebGL";throw t?(t.message=e,new Error(JSON.stringify(t))):new Error(e)}this.painter=new Xa(i,this.transform);}migrateProjection(e,i){super.migrateProjection(e,i),this.painter.transform=e,this.fire(new t.n("projectiontransition",{newProjection:this.style.projection.name}));}loaded(){return !this._styleDirty&&!this._sourcesDirty&&!!this.style&&this.style.loaded()}_update(e){var t;return (null===(t=this.style)||void 0===t?void 0:t._loaded)?(this._styleDirty||(this._styleDirty=e),this._sourcesDirty=!0,this.triggerRepaint(),this):this}_requestRenderFrame(e){return this._update(),this._renderTaskQueue.add(e)}_cancelRenderFrame(e){this._renderTaskQueue.remove(e);}_render(e){var i,o,a,r,s,n;const l=this._idleTriggered?this._fadeDuration:0,h=(null===(i=this.style.projection)||void 0===i?void 0:i.transitionState)>0;if(this.painter.context.setDirty(),this.painter.setBaseState(),this._renderTaskQueue.run(e),this._removed)return;let u=!1;if(this.style&&this._styleDirty){this._styleDirty=!1;const e=this.transform.zoom,i=c();this.style.zoomHistory.update(e,i);const o=new t.J(e,{now:i,fadeDuration:l,zoomHistory:this.style.zoomHistory,transition:this.style.getTransition()}),a=o.crossFadingFactor();1===a&&a===this._crossFadingFactor||(u=!0,this._crossFadingFactor=a),this.style.update(o);}const d=(null===(o=this.style.projection)||void 0===o?void 0:o.transitionState)>0!==h;null===(a=this.style.projection)||void 0===a||a.setErrorQueryLatitudeDegrees(this.transform.center.lat),this.transform.setTransitionState(null===(r=this.style.projection)||void 0===r?void 0:r.transitionState,null===(s=this.style.projection)||void 0===s?void 0:s.latitudeErrorCorrectionRadians),this.style&&(this._sourcesDirty||d)&&(this._sourcesDirty=!1,this.style._updateSources(this.transform)),this.terrain?(this.terrain.tileManager.update(this.transform,this.terrain),this.transform.setMinElevationForCurrentTile(this.terrain.getMinTileElevationForLngLatZoom(this.transform.center,this.transform.tileZoom)),!this._elevationFreeze&&this._centerClampedToGround&&this.transform.setElevation(this.terrain.getElevationForLngLatZoom(this.transform.center,this.transform.tileZoom))):(this.transform.setMinElevationForCurrentTile(0),this._centerClampedToGround&&this.transform.setElevation(0)),this._placementDirty=null===(n=this.style)||void 0===n?void 0:n._updatePlacement(this.transform,this.showCollisionBoxes,l,this._crossSourceCollisions,d),this.painter.render(this.style,{showTileBoundaries:this.showTileBoundaries,showOverdrawInspector:this._showOverdrawInspector,rotating:this.isRotating(),zooming:this.isZooming(),moving:this.isMoving(),fadeDuration:l,showPadding:this.showPadding,anisotropicFilterPitch:this.getAnisotropicFilterPitch()}),this.fire(new t.n("render")),this.loaded()&&!this._loaded&&(this._loaded=!0,this.fire(new t.n("load"))),this.style&&(this.style.hasTransitions()||u)&&(this._styleDirty=!0),this.style&&!this._placementDirty&&this.style._releaseSymbolFadeTiles();const _=this._sourcesDirty||this._styleDirty||this._placementDirty;return _||this._repaint?this.triggerRepaint():!this.isMoving()&&this.loaded()&&this.fire(new t.n("idle")),!this._loaded||this._fullyLoaded||_||(this._fullyLoaded=!0),this}redraw(){return this.style&&(this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this._render(0)),this}remove(){var e,i;this._hash&&this._hash.remove();for(const e of this._controls)e.onRemove(this);this._controls=[],this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this._renderTaskQueue.clear(),null===(e=this._diffStyleRequest)||void 0===e||e.abort(),this.painter.destroy(),this.handlers.destroy(),delete this.handlers,this.setStyle(null),"undefined"!=typeof window&&this._ownerWindow.removeEventListener("online",this._onWindowOnline,!1),u.removeThrottleControl(this._imageQueueHandle),null===(i=this._resizeObserver)||void 0===i||i.disconnect();const o=this.painter.context.gl.getExtension("WEBGL_lose_context");(null==o?void 0:o.loseContext)&&o.loseContext(),this._canvas.removeEventListener("webglcontextrestored",this._contextRestored,!1),this._canvas.removeEventListener("webglcontextlost",this._contextLost,!1),this._canvasContainer.remove(),this._controlContainer.remove(),this._container.removeEventListener("scroll",this._onMapScroll,!1),this._container.classList.remove("maplibregl-map"),this._removed=!0,this.fire(new t.n("remove"));}triggerRepaint(){this.style&&!this._frameRequest&&(this._frameRequest=new AbortController,n.frame(this._frameRequest,(e=>{this._frameRequest=null;try{this._render(e);}catch(e){if(!t.$(e)&&!function(e){return e.message===na}(e))throw e}}),(()=>{}),this._ownerWindow));}get showTileBoundaries(){return !!this._showTileBoundaries}set showTileBoundaries(e){this._showTileBoundaries!==e&&(this._showTileBoundaries=e,this._update());}get showPadding(){return !!this._showPadding}set showPadding(e){this._showPadding!==e&&(this._showPadding=e,this._update());}get showCollisionBoxes(){return !!this._showCollisionBoxes}set showCollisionBoxes(e){this._showCollisionBoxes!==e&&(this._showCollisionBoxes=e,e?this.style._generateCollisionBoxes():this._update());}get showOverdrawInspector(){return !!this._showOverdrawInspector}set showOverdrawInspector(e){this._showOverdrawInspector!==e&&(this._showOverdrawInspector=e,this._update());}get repaint(){return !!this._repaint}set repaint(e){this._repaint!==e&&(this._repaint=e,this.triggerRepaint());}get vertices(){return !!this._vertices}set vertices(e){this._vertices=e,this._update();}get version(){return hs}getCameraTargetElevation(){return this.transform.elevation}getProjection(){return this.style.getProjection()}setProjection(e){return this._lazyInitEmptyStyle(),this.style.setProjection(e),this._update(!0)}};const _s={showCompass:!0,showZoom:!0,visualizePitch:!1,visualizeRoll:!0};class ps{constructor(e,i,o=!1){this.mousedown=e=>{this.startMove(e,d.mousePos(this.element,e)),window.addEventListener("mousemove",this.mousemove),window.addEventListener("mouseup",this.mouseup);},this.mousemove=e=>{this.move(e,d.mousePos(this.element,e));},this.mouseup=e=>{this._rotatePitchHandler.dragEnd(e),this.offTemp();},this.touchstart=e=>{1!==e.targetTouches.length?this.reset():(this._startPos=this._lastPos=d.touchPos(this.element,e.targetTouches)[0],this.startMove(e,this._startPos),window.addEventListener("touchmove",this.touchmove,{passive:!1}),window.addEventListener("touchend",this.touchend));},this.touchmove=e=>{1!==e.targetTouches.length?this.reset():(this._lastPos=d.touchPos(this.element,e.targetTouches)[0],this.move(e,this._lastPos));},this.touchend=e=>{0===e.targetTouches.length&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos){this._rotatePitchHandler.reset(),delete this._startPos,delete this._lastPos,this.offTemp();},this._clickTolerance=10,this.element=i;const a=new Pr;this._rotatePitchHandler=new vr({clickTolerance:3,move:(e,a)=>{const r=i.getBoundingClientRect(),s=new t.P((r.bottom-r.top)/2,(r.right-r.left)/2);return {bearingDelta:t.cx(new t.P(e.x,a.y),a,s),pitchDelta:o?-.5*(a.y-e.y):void 0}},moveStateManager:a,enable:!0,assignEvents:()=>{}}),this.map=e,i.addEventListener("mousedown",this.mousedown),i.addEventListener("touchstart",this.touchstart,{passive:!1}),i.addEventListener("touchcancel",this.reset);}startMove(e,t){this._rotatePitchHandler.dragStart(e,t),d.disableDrag();}move(e,t){const i=this.map,{bearingDelta:o,pitchDelta:a}=this._rotatePitchHandler.dragMove(e,t)||{};o&&i.setBearing(i.getBearing()+o),a&&i.setPitch(i.getPitch()+a);}off(){const e=this.element;e.removeEventListener("mousedown",this.mousedown),e.removeEventListener("touchstart",this.touchstart),window.removeEventListener("touchmove",this.touchmove),window.removeEventListener("touchend",this.touchend),e.removeEventListener("touchcancel",this.reset),this.offTemp();}offTemp(){d.enableDrag(),window.removeEventListener("mousemove",this.mousemove),window.removeEventListener("mouseup",this.mouseup),window.removeEventListener("touchmove",this.touchmove),window.removeEventListener("touchend",this.touchend);}}let ms;function fs(e,i,o,a=!1){if(a||!o.getCoveringTilesDetailsProvider().allowWorldCopies())return null==e?void 0:e.wrap();const r=new t.W(e.lng,e.lat);if(e=new t.W(e.lng,e.lat),i){const a=new t.W(e.lng-360,e.lat),r=new t.W(e.lng+360,e.lat),s=o.locationToScreenPoint(e).distSqr(i);o.locationToScreenPoint(a).distSqr(i)180;){const t=o.locationToScreenPoint(e);if(t.x>=0&&t.y>=0&&t.x<=o.width&&t.y<=o.height)break;e.lng>o.center.lng?e.lng-=360:e.lng+=360;}return e.lng!==r.lng&&o.isPointOnMapSurface(o.locationToScreenPoint(e))?e:r}const gs={center:"translate(-50%,-50%)",top:"translate(-50%,0)","top-left":"translate(0,0)","top-right":"translate(-100%,0)",bottom:"translate(-50%,-100%)","bottom-left":"translate(0,-100%)","bottom-right":"translate(-100%,-100%)",left:"translate(0,-50%)",right:"translate(-100%,-50%)"};function vs(e,t,i){const o=e.classList;for(const e in gs)o.remove(`maplibregl-${i}-anchor-${e}`);o.add(`maplibregl-${i}-anchor-${t}`);}class xs extends t.E{constructor(e){if(super(),this._onClick=e=>{this.fire(new t.n("click",{originalEvent:e}));},this._onKeyPress=e=>{"Space"!==e.code&&"Enter"!==e.code||this.togglePopup();},this._onMapClick=e=>{const t=e.originalEvent.target,i=this._element;this._popup&&(t===i||i.contains(t))&&this.togglePopup();},this._update=e=>{if(!this._map)return;const t=this._map.loaded()&&!this._map.isMoving();("terrain"===(null==e?void 0:e.type)||"render"===(null==e?void 0:e.type)&&!t)&&this._map.once("render",this._update),this._lngLat=fs(this._lngLat,this._flatPos,this._map.transform),this._flatPos=this._pos=this._map.project(this._lngLat)._add(this._offset),this._map.terrain&&(this._flatPos=this._map.transform.locationToScreenPoint(this._lngLat)._add(this._offset));let i="";"viewport"===this._rotationAlignment||"auto"===this._rotationAlignment?i=`rotateZ(${this._rotation}deg)`:"map"===this._rotationAlignment&&(i=`rotateZ(${this._rotation-this._map.getBearing()}deg)`);let o="";"viewport"===this._pitchAlignment||"auto"===this._pitchAlignment?o="rotateX(0deg)":"map"===this._pitchAlignment&&(o=`rotateX(${this._map.getPitch()}deg)`),this._subpixelPositioning||e&&"moveend"!==e.type||(this._pos=this._pos.round()),this._element.style.transform=`${gs[this._anchor]} translate(${this._pos.x}px, ${this._pos.y}px) ${o} ${i}`,n.frameAsync(new AbortController,this._map._ownerWindow).then((()=>{this._updateOpacity("moveend"===(null==e?void 0:e.type));})).catch((()=>{}));},this._onMove=e=>{if(!this._isDragging){const t=this._clickTolerance||this._map._clickTolerance;this._isDragging=e.point.dist(this._pointerdownPos)>=t;}this._isDragging&&(this._pos=e.point.sub(this._positionDelta),this._lngLat=this._map.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents="none","pending"===this._state&&(this._state="active",this.fire(new t.n("dragstart"))),this.fire(new t.n("drag")));},this._onUp=()=>{this._element.style.pointerEvents="auto",this._positionDelta=null,this._pointerdownPos=null,this._isDragging=!1,this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),"active"===this._state&&this.fire(new t.n("dragend")),this._state="inactive";},this._addDragHandler=e=>{this._element.contains(e.originalEvent.target)&&(e.preventDefault(),this._positionDelta=e.point.sub(this._pos).add(this._offset),this._pointerdownPos=e.point,this._state="pending",this._map.on("mousemove",this._onMove),this._map.on("touchmove",this._onMove),this._map.once("mouseup",this._onUp),this._map.once("touchend",this._onUp));},this._anchor=(null==e?void 0:e.anchor)||"center",this._color=(null==e?void 0:e.color)||"#3FB1CE",this._scale=(null==e?void 0:e.scale)||1,this._draggable=(null==e?void 0:e.draggable)||!1,this._clickTolerance=(null==e?void 0:e.clickTolerance)||0,this._subpixelPositioning=(null==e?void 0:e.subpixelPositioning)||!1,this._isDragging=!1,this._state="inactive",this._rotation=(null==e?void 0:e.rotation)||0,this._rotationAlignment=(null==e?void 0:e.rotationAlignment)||"auto",this._pitchAlignment=(null==e?void 0:e.pitchAlignment)&&"auto"!==e.pitchAlignment?e.pitchAlignment:this._rotationAlignment,this.setOpacity(null==e?void 0:e.opacity,null==e?void 0:e.opacityWhenCovered),null==e?void 0:e.element)this._element=e.element,this._offset=t.P.convert((null==e?void 0:e.offset)||[0,0]);else {this._defaultMarker=!0,this._element=d.create("div");const i=d.createNS("http://www.w3.org/2000/svg","svg"),o=41,a=27;i.setAttributeNS(null,"display","block"),i.setAttributeNS(null,"height",`${o}px`),i.setAttributeNS(null,"width",`${a}px`),i.setAttributeNS(null,"viewBox",`0 0 ${a} ${o}`);const r=d.createNS("http://www.w3.org/2000/svg","g");r.setAttributeNS(null,"stroke","none"),r.setAttributeNS(null,"stroke-width","1"),r.setAttributeNS(null,"fill","none"),r.setAttributeNS(null,"fill-rule","evenodd");const s=d.createNS("http://www.w3.org/2000/svg","g");s.setAttributeNS(null,"fill-rule","nonzero");const n=d.createNS("http://www.w3.org/2000/svg","g");n.setAttributeNS(null,"transform","translate(3.0, 29.0)"),n.setAttributeNS(null,"fill","#000000");const l=[{rx:"10.5",ry:"5.25002273"},{rx:"10.5",ry:"5.25002273"},{rx:"9.5",ry:"4.77275007"},{rx:"8.5",ry:"4.29549936"},{rx:"7.5",ry:"3.81822308"},{rx:"6.5",ry:"3.34094679"},{rx:"5.5",ry:"2.86367051"},{rx:"4.5",ry:"2.38636864"}];for(const e of l){const t=d.createNS("http://www.w3.org/2000/svg","ellipse");t.setAttributeNS(null,"opacity","0.04"),t.setAttributeNS(null,"cx","10.5"),t.setAttributeNS(null,"cy","5.80029008"),t.setAttributeNS(null,"rx",e.rx),t.setAttributeNS(null,"ry",e.ry),n.appendChild(t);}const c=d.createNS("http://www.w3.org/2000/svg","g");c.setAttributeNS(null,"fill",this._color);const h=d.createNS("http://www.w3.org/2000/svg","path");h.setAttributeNS(null,"d","M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z"),c.appendChild(h);const u=d.createNS("http://www.w3.org/2000/svg","g");u.setAttributeNS(null,"opacity","0.25"),u.setAttributeNS(null,"fill","#000000");const _=d.createNS("http://www.w3.org/2000/svg","path");_.setAttributeNS(null,"d","M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z"),u.appendChild(_);const p=d.createNS("http://www.w3.org/2000/svg","g");p.setAttributeNS(null,"transform","translate(6.0, 7.0)"),p.setAttributeNS(null,"fill","#FFFFFF");const m=d.createNS("http://www.w3.org/2000/svg","g");m.setAttributeNS(null,"transform","translate(8.0, 8.0)");const f=d.createNS("http://www.w3.org/2000/svg","circle");f.setAttributeNS(null,"fill","#000000"),f.setAttributeNS(null,"opacity","0.25"),f.setAttributeNS(null,"cx","5.5"),f.setAttributeNS(null,"cy","5.5"),f.setAttributeNS(null,"r","5.4999962");const g=d.createNS("http://www.w3.org/2000/svg","circle");g.setAttributeNS(null,"fill","#FFFFFF"),g.setAttributeNS(null,"cx","5.5"),g.setAttributeNS(null,"cy","5.5"),g.setAttributeNS(null,"r","5.4999962"),m.appendChild(f),m.appendChild(g),s.appendChild(n),s.appendChild(c),s.appendChild(u),s.appendChild(p),s.appendChild(m),i.appendChild(s),i.setAttributeNS(null,"height",o*this._scale+"px"),i.setAttributeNS(null,"width",a*this._scale+"px"),this._element.appendChild(i),this._offset=t.P.convert((null==e?void 0:e.offset)||[0,-14]);}if(this._element.classList.add("maplibregl-marker"),this._element.addEventListener("dragstart",(e=>{e.preventDefault();})),this._element.addEventListener("mousedown",(e=>{e.preventDefault();})),vs(this._element,this._anchor,"marker"),null==e?void 0:e.className)for(const t of e.className.split(" "))this._element.classList.add(t);this._popup=null;}addTo(e){return this.remove(),this._map=e,this._element.hasAttribute("aria-label")||this._element.setAttribute("aria-label",e._getUIString("Marker.Title")),this._element.hasAttribute("role")||this._element.setAttribute("role","button"),e.getCanvasContainer().appendChild(this._element),e.on("move",this._update),e.on("moveend",this._update),e.on("terrain",this._update),e.on("projectiontransition",this._update),this._element.addEventListener("click",this._onClick),this.setDraggable(this._draggable),this._update(),this._map.on("click",this._onMapClick),this}remove(){return this._opacityTimeout&&(clearTimeout(this._opacityTimeout),delete this._opacityTimeout),this._map&&(this._map.off("click",this._onMapClick),this._map.off("move",this._update),this._map.off("moveend",this._update),this._map.off("terrain",this._update),this._map.off("projectiontransition",this._update),this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler),this._map.off("mouseup",this._onUp),this._map.off("touchend",this._onUp),this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),delete this._map),this._element.removeEventListener("click",this._onClick),this._element.remove(),this._popup&&this._popup.remove(),this}getLngLat(){return this._lngLat}setLngLat(e){return this._lngLat=t.W.convert(e),this._pos=null,this._popup&&this._popup.setLngLat(this._lngLat),this._update(),this}getElement(){return this._element}setPopup(e){if(this._popup&&(this._popup.remove(),this._popup=null,this._element.removeEventListener("keypress",this._onKeyPress),this._originalTabIndex||this._element.removeAttribute("tabindex")),e){if(!("offset"in e.options)){const t=38.1,i=13.5,o=Math.abs(i)/Math.SQRT2;e.options.offset=this._defaultMarker?{top:[0,0],"top-left":[0,0],"top-right":[0,0],bottom:[0,-t],"bottom-left":[o,-1*(t-i+o)],"bottom-right":[-o,-1*(t-i+o)],left:[i,-1*(t-i)],right:[-i,-1*(t-i)]}:this._offset;}this._popup=e,this._originalTabIndex=this._element.getAttribute("tabindex"),this._originalTabIndex||this._element.setAttribute("tabindex","0"),this._element.addEventListener("keypress",this._onKeyPress);}return this}setSubpixelPositioning(e){return this._subpixelPositioning=e,this}getPopup(){return this._popup}togglePopup(){const e=this._popup;return this._element.style.opacity===this._opacityWhenCovered?this:e?(e.isOpen()?e.remove():(e.setLngLat(this._lngLat),e.addTo(this._map)),this):this}_updateOpacity(e=!1){var i,o;const a=null===(i=this._map)||void 0===i?void 0:i.terrain,r=this._map.transform.isLocationOccluded(this._lngLat);if(!a||r){const e=r?this._opacityWhenCovered:this._opacity;return void(this._element.style.opacity!==e&&(this._element.style.opacity=e,this._element.classList.toggle("maplibregl-marker-covered",r)))}if(e)this._opacityTimeout=null;else {if(this._opacityTimeout)return;this._opacityTimeout=setTimeout((()=>{this._opacityTimeout=null;}),100);}const s=this._map,n=s.terrain.depthAtPoint(this._pos),l=s.terrain.getElevationForLngLat(this._lngLat,s.transform);if(s.transform.lngLatToCameraDepth(this._lngLat,l)-n<.006)return this._element.style.opacity=this._opacity,void this._element.classList.remove("maplibregl-marker-covered");const c=-this._offset.y/s.transform.pixelsPerMeter,h=Math.sin(s.getPitch()*Math.PI/180)*c,u=s.terrain.depthAtPoint(new t.P(this._pos.x,this._pos.y-this._offset.y)),d=s.transform.lngLatToCameraDepth(this._lngLat,l+h)-u>.006;(null===(o=this._popup)||void 0===o?void 0:o.isOpen())&&d&&this._popup.remove(),this._element.style.opacity=d?this._opacityWhenCovered:this._opacity,this._element.classList.toggle("maplibregl-marker-covered",d);}getOffset(){return this._offset}setOffset(e){return this._offset=t.P.convert(e),this._update(),this}addClassName(e){this._element.classList.add(e);}removeClassName(e){this._element.classList.remove(e);}toggleClassName(e){return this._element.classList.toggle(e)}setDraggable(e){return this._draggable=!!e,this._map&&(e?(this._map.on("mousedown",this._addDragHandler),this._map.on("touchstart",this._addDragHandler)):(this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler))),this}isDraggable(){return this._draggable}setRotation(e){return this._rotation=e||0,this._update(),this}getRotation(){return this._rotation}setRotationAlignment(e){return this._rotationAlignment=e||"auto",this._update(),this}getRotationAlignment(){return this._rotationAlignment}setPitchAlignment(e){return this._pitchAlignment=e&&"auto"!==e?e:this._rotationAlignment,this._update(),this}getPitchAlignment(){return this._pitchAlignment}setOpacity(e,t){return (void 0===this._opacity||void 0===e&&void 0===t)&&(this._opacity="1",this._opacityWhenCovered="0.2"),void 0!==e&&(this._opacity=String(e)),void 0!==t&&(this._opacityWhenCovered=String(t)),this._map&&this._updateOpacity(!0),this}}const bs={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showAccuracyCircle:!0,showUserLocation:!0};let ys=0,ws=!1;const Ts={maxWidth:100,unit:"metric"};function Ps(e,t,i){const o=(null==i?void 0:i.maxWidth)||100,a=e._container.clientHeight/2,r=e._container.clientWidth/2,s=e.unproject([r-o/2,a]),n=e.unproject([r+o/2,a]),l=Math.round(e.project(n).x-e.project(s).x),c=Math.min(o,l,e._container.clientWidth),h=s.distanceTo(n);if("imperial"===(null==i?void 0:i.unit)){const i=3.2808*h;i>5280?Cs(t,c,i/5280,e._getUIString("ScaleControl.Miles")):Cs(t,c,i,e._getUIString("ScaleControl.Feet"));}else "nautical"===(null==i?void 0:i.unit)?Cs(t,c,h/1852,e._getUIString("ScaleControl.NauticalMiles")):h>=1e3?Cs(t,c,h/1e3,e._getUIString("ScaleControl.Kilometers")):Cs(t,c,h,e._getUIString("ScaleControl.Meters"));}function Cs(e,t,i,o){const a=function(e){const t=Math.pow(10,`${Math.floor(e)}`.length-1);let i=e/t;return i=i>=10?10:i>=5?5:i>=3?3:i>=2?2:i>=1?1:function(e){const t=Math.pow(10,Math.ceil(-Math.log(e)/Math.LN10));return Math.round(e*t)/t}(i),t*i}(i);e.style.width=t*(a/i)+"px",e.innerHTML=`${a} ${o}`;}const Ms={closeButton:!0,closeOnClick:!0,focusAfterOpen:!0,className:"",maxWidth:"240px",subpixelPositioning:!1,locationOccludedOpacity:void 0,padding:void 0},Is=["a[href]","[tabindex]:not([tabindex='-1'])","[contenteditable]:not([contenteditable='false'])","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].join(", ");function Es(e){if(e){if("number"==typeof e){const i=Math.round(Math.abs(e)/Math.SQRT2);return {center:new t.P(0,0),top:new t.P(0,e),"top-left":new t.P(i,i),"top-right":new t.P(-i,i),bottom:new t.P(0,-e),"bottom-left":new t.P(i,-i),"bottom-right":new t.P(-i,-i),left:new t.P(e,0),right:new t.P(-e,0)}}if(e instanceof t.P||Array.isArray(e)){const i=t.P.convert(e);return {center:i,top:i,"top-left":i,"top-right":i,bottom:i,"bottom-left":i,"bottom-right":i,left:i,right:i}}return {center:t.P.convert(e.center||[0,0]),top:t.P.convert(e.top||[0,0]),"top-left":t.P.convert(e["top-left"]||[0,0]),"top-right":t.P.convert(e["top-right"]||[0,0]),bottom:t.P.convert(e.bottom||[0,0]),"bottom-left":t.P.convert(e["bottom-left"]||[0,0]),"bottom-right":t.P.convert(e["bottom-right"]||[0,0]),left:t.P.convert(e.left||[0,0]),right:t.P.convert(e.right||[0,0])}}return Es(new t.P(0,0))}const Ss=i;e.AJAXError=t.cG,e.EXTENT=t.a6,e.Event=t.n,e.Evented=t.E,e.LngLat=t.W,e.MercatorCoordinate=t.a7,e.Point=t.P,e.addProtocol=t.cH,e.config=t.c,e.removeProtocol=t.cI,e.AttributionControl=es,e.BoxZoomHandler=_r,e.CanvasSource=oe,e.CooperativeGesturesHandler=$r,e.DoubleClickZoomHandler=Zr,e.DragPanHandler=Vr,e.DragRotateHandler=Wr,e.EdgeInsets=Ut,e.FullscreenControl=class extends t.E{constructor(e={}){var i;super(),this._onFullscreenChange=()=>{var e;let t=window.document.fullscreenElement||window.document.webkitFullscreenElement;for(;null===(e=null==t?void 0:t.shadowRoot)||void 0===e?void 0:e.fullscreenElement;)t=t.shadowRoot.fullscreenElement;t===this._container!==this._fullscreen&&this._handleFullscreenChange();},this._onClickFullscreen=()=>{this._isFullscreen()?this._exitFullscreen():this._requestFullscreen();},this._fullscreen=!1,this._pseudo=null!==(i=e.pseudo)&&void 0!==i&&i,(null==e?void 0:e.container)&&(e.container instanceof HTMLElement?this._container=e.container:t.w("Full screen control 'container' must be a DOM element.")),"onfullscreenchange"in document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in document&&(this._fullscreenchange="MSFullscreenChange");}onAdd(e){return this._map=e,this._container||(this._container=this._map.getContainer()),this._controlContainer=d.create("div","maplibregl-ctrl maplibregl-ctrl-group"),this._setupUI(),this._controlContainer}onRemove(){this._controlContainer.remove(),this._map=null,window.document.removeEventListener(this._fullscreenchange,this._onFullscreenChange);}_setupUI(){const e=this._fullscreenButton=d.create("button","maplibregl-ctrl-fullscreen",this._controlContainer);d.create("span","maplibregl-ctrl-icon",e).setAttribute("aria-hidden","true"),e.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),window.document.addEventListener(this._fullscreenchange,this._onFullscreenChange);}_updateTitle(){const e=this._getTitle();this._fullscreenButton.setAttribute("aria-label",e),this._fullscreenButton.title=e;}_getTitle(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")}_isFullscreen(){return this._fullscreen}_handleFullscreenChange(){this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("maplibregl-ctrl-shrink"),this._fullscreenButton.classList.toggle("maplibregl-ctrl-fullscreen"),this._updateTitle(),this._fullscreen?(this.fire(new t.n("fullscreenstart")),this._prevCooperativeGesturesEnabled=this._map.cooperativeGestures.isEnabled(),this._map.cooperativeGestures.disable()):(this.fire(new t.n("fullscreenend")),this._prevCooperativeGesturesEnabled&&this._map.cooperativeGestures.enable());}_exitFullscreen(){this._pseudo?this._togglePseudoFullScreen():window.document.exitFullscreen?window.document.exitFullscreen():window.document.webkitCancelFullScreen?window.document.webkitCancelFullScreen():this._togglePseudoFullScreen();}_requestFullscreen(){this._pseudo?this._togglePseudoFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.webkitRequestFullscreen?this._container.webkitRequestFullscreen():this._togglePseudoFullScreen();}_togglePseudoFullScreen(){this._container.classList.toggle("maplibregl-pseudo-fullscreen"),this._handleFullscreenChange(),this._map.resize();}},e.GeoJSONSource=ee,e.GeolocateControl=class extends t.E{constructor(e){super(),this._onSuccess=e=>{if(this._map){if(this._isOutOfMapMaxBounds(e))return this._setErrorState(),this.fire(new t.n("outofmaxbounds",e)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=e,this._watchState){case "WAITING_ACTIVE":case "ACTIVE_LOCK":case "ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active");break;case "BACKGROUND":case "BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-background");break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}this.options.showUserLocation&&"OFF"!==this._watchState&&this._updateMarker(e),this.options.trackUserLocation&&"ACTIVE_LOCK"!==this._watchState||this._updateCamera(e),this.options.showUserLocation&&this._dotElement.classList.remove("maplibregl-user-location-dot-stale"),this.fire(new t.n("geolocate",e)),this._finish();}},this._updateCamera=e=>{const i=new t.W(e.coords.longitude,e.coords.latitude),o=e.coords.accuracy,a=this._map.getBearing(),r=t.e({bearing:a},this.options.fitBoundsOptions),s=G.fromLngLat(i,o);this._map.fitBounds(s,r,{geolocateSource:!0});},this._updateMarker=e=>{if(e){const i=new t.W(e.coords.longitude,e.coords.latitude);this._accuracyCircleMarker.setLngLat(i).addTo(this._map),this._userLocationDotMarker.setLngLat(i).addTo(this._map),this._accuracy=e.coords.accuracy,this._updateCircleRadiusIfNeeded();}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove();},this._onUpdate=()=>{this._updateCircleRadiusIfNeeded();},this._onError=e=>{if(this._map){if(1===e.code){this._watchState="OFF",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;const e=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=e,this._geolocateButton.setAttribute("aria-label",e),void 0!==this._geolocationWatchID&&this._clearWatch();}else {if(3===e.code&&ws)return;this._setErrorState();}"OFF"!==this._watchState&&this.options.showUserLocation&&this._dotElement.classList.add("maplibregl-user-location-dot-stale"),this.fire(new t.n("error",e)),this._finish();}},this._finish=()=>{this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0;},this._onMoveStart=e=>{if(!this._map)return;const i=(null==e?void 0:e[0])instanceof ResizeObserverEntry;e.geolocateSource||"ACTIVE_LOCK"!==this._watchState||i||this._map.isZooming()||(this._watchState="BACKGROUND",this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this.fire(new t.n("trackuserlocationend")),this.fire(new t.n("userlocationlostfocus")));},this._setupUI=()=>{this._map&&(this._container.addEventListener("contextmenu",(e=>{e.preventDefault();})),this._geolocateButton=d.create("button","maplibregl-ctrl-geolocate",this._container),d.create("span","maplibregl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden","true"),this._geolocateButton.type="button",this._geolocateButton.disabled=!0);},this._finishSetupUI=e=>{if(this._map){if(!1===e){t.w("Geolocation support is not available so the GeolocateControl will be disabled.");const e=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=e,this._geolocateButton.setAttribute("aria-label",e);}else {const e=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.disabled=!1,this._geolocateButton.title=e,this._geolocateButton.setAttribute("aria-label",e);}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=d.create("div","maplibregl-user-location-dot"),this._userLocationDotMarker=new xs({element:this._dotElement}),this._circleElement=d.create("div","maplibregl-user-location-accuracy-circle"),this._accuracyCircleMarker=new xs({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onUpdate),this._map.on("move",this._onUpdate),this._map.on("rotate",this._onUpdate),this._map.on("pitch",this._onUpdate)),this._geolocateButton.addEventListener("click",(()=>this.trigger())),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",this._onMoveStart);}},this.options=t.e({},bs,e);}onAdd(e){return this._map=e,this._container=d.create("div","maplibregl-ctrl maplibregl-ctrl-group"),this._setupUI(),function(){return t._(this,arguments,void 0,(function*(e=!1){if(void 0!==ms&&!e)return ms;if(void 0===window.navigator.permissions)return ms=!!window.navigator.geolocation,ms;try{const e=yield window.navigator.permissions.query({name:"geolocation"});ms="denied"!==e.state;}catch(e){ms=!!window.navigator.geolocation;}return ms}))}().then((e=>this._finishSetupUI(e))),this._container}onRemove(){void 0!==this._geolocationWatchID&&(window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),this.options.showAccuracyCircle&&this._accuracyCircleMarker&&this._accuracyCircleMarker.remove(),this._container.remove(),this._map.off("movestart",this._onMoveStart),this._map.off("zoom",this._onUpdate),this._map.off("move",this._onUpdate),this._map.off("rotate",this._onUpdate),this._map.off("pitch",this._onUpdate),this._map=void 0,ys=0,ws=!1;}_isOutOfMapMaxBounds(e){const t=this._map.getMaxBounds(),i=e.coords;return t&&(i.longitudet.getEast()||i.latitudet.getNorth())}_setErrorState(){switch(this._watchState){case "WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active-error");break;case "ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting");break;case "BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting");break;case "ACTIVE_ERROR":case "BACKGROUND_ERROR":case "OFF":case void 0:break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}}_updateCircleRadiusIfNeeded(){const e=this._userLocationDotMarker.getLngLat();if(!(this.options.showUserLocation&&this.options.showAccuracyCircle&&this._accuracy&&e))return;const t=this._map.project(e),i=this._map.unproject([t.x+100,t.y]),o=e.distanceTo(i)/100,a=2*this._accuracy/o;this._circleElement.style.width=`${a.toFixed(2)}px`,this._circleElement.style.height=`${a.toFixed(2)}px`;}trigger(){if(!this._setup)return t.w("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case "OFF":this._watchState="WAITING_ACTIVE",this.fire(new t.n("trackuserlocationstart"));break;case "WAITING_ACTIVE":case "ACTIVE_LOCK":case "ACTIVE_ERROR":case "BACKGROUND_ERROR":ys--,ws=!1,this._watchState="OFF",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background-error"),this.fire(new t.n("trackuserlocationend"));break;case "BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new t.n("trackuserlocationstart")),this.fire(new t.n("userlocationfocus"));break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}switch(this._watchState){case "WAITING_ACTIVE":this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active");break;case "ACTIVE_LOCK":this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active");break;case "OFF":break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}if("OFF"===this._watchState&&void 0!==this._geolocationWatchID)this._clearWatch();else if(void 0===this._geolocationWatchID){let e;this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),ys++,ys>1?(e={maximumAge:6e5,timeout:0},ws=!0):(e=this.options.positionOptions,ws=!1),this._geolocationWatchID=window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,e);}}else window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return !0}_clearWatch(){window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null);}},e.GlobeControl=class{constructor(){this._toggleProjection=()=>{var e;const t=null===(e=this._map.getProjection())||void 0===e?void 0:e.type;this._map.setProjection("mercator"!==t&&t?{type:"mercator"}:{type:"globe"}),this._updateGlobeIcon();},this._updateGlobeIcon=()=>{var e;this._globeButton.classList.remove("maplibregl-ctrl-globe"),this._globeButton.classList.remove("maplibregl-ctrl-globe-enabled"),"globe"===(null===(e=this._map.getProjection())||void 0===e?void 0:e.type)?(this._globeButton.classList.add("maplibregl-ctrl-globe-enabled"),this._globeButton.title=this._map._getUIString("GlobeControl.Disable")):(this._globeButton.classList.add("maplibregl-ctrl-globe"),this._globeButton.title=this._map._getUIString("GlobeControl.Enable"));};}onAdd(e){return this._map=e,this._container=d.create("div","maplibregl-ctrl maplibregl-ctrl-group"),this._globeButton=d.create("button","maplibregl-ctrl-globe",this._container),d.create("span","maplibregl-ctrl-icon",this._globeButton).setAttribute("aria-hidden","true"),this._globeButton.type="button",this._globeButton.addEventListener("click",this._toggleProjection),this._updateGlobeIcon(),this._map.on("styledata",this._updateGlobeIcon),this._map.on("projectiontransition",this._updateGlobeIcon),this._container}onRemove(){this._container.remove(),this._map.off("styledata",this._updateGlobeIcon),this._map.off("projectiontransition",this._updateGlobeIcon),this._globeButton.removeEventListener("click",this._toggleProjection),this._map=void 0;}},e.Hash=Ya,e.ImageSource=te,e.KeyboardHandler=kr,e.LngLatBounds=G,e.LogoControl=ts,e.Map=ds,e.MapLibreMap=ds,e.MapMouseEvent=nr,e.MapTouchEvent=lr,e.MapWheelEvent=cr,e.Marker=xs,e.NavigationControl=class{constructor(e){this._updateZoomButtons=()=>{const e=this._map.getZoom(),t=e===this._map.getMaxZoom(),i=e===this._map.getMinZoom();this._zoomInButton.disabled=t,this._zoomOutButton.disabled=i,this._zoomInButton.setAttribute("aria-disabled",t.toString()),this._zoomOutButton.setAttribute("aria-disabled",i.toString());},this._rotateCompassArrow=()=>{this._compassIcon.style.transform=this.options.visualizePitch&&this.options.visualizeRoll?`scale(${1/Math.pow(Math.cos(this._map.transform.pitchInRadians),.5)}) rotateZ(${-this._map.transform.roll}deg) rotateX(${this._map.transform.pitch}deg) rotateZ(${-this._map.transform.bearing}deg)`:this.options.visualizePitch?`scale(${1/Math.pow(Math.cos(this._map.transform.pitchInRadians),.5)}) rotateX(${this._map.transform.pitch}deg) rotateZ(${-this._map.transform.bearing}deg)`:this.options.visualizeRoll?`rotate(${-this._map.transform.bearing-this._map.transform.roll}deg)`:`rotate(${-this._map.transform.bearing}deg)`;},this._setButtonTitle=(e,t)=>{const i=this._map._getUIString(`NavigationControl.${t}`);e.title=i,e.setAttribute("aria-label",i);},this.options=t.e({},_s,e),this._container=d.create("div","maplibregl-ctrl maplibregl-ctrl-group"),this._container.addEventListener("contextmenu",(e=>e.preventDefault())),this.options.showZoom&&(this._zoomInButton=this._createButton("maplibregl-ctrl-zoom-in",(e=>this._map.zoomIn({},{originalEvent:e}))),d.create("span","maplibregl-ctrl-icon",this._zoomInButton).setAttribute("aria-hidden","true"),this._zoomOutButton=this._createButton("maplibregl-ctrl-zoom-out",(e=>this._map.zoomOut({},{originalEvent:e}))),d.create("span","maplibregl-ctrl-icon",this._zoomOutButton).setAttribute("aria-hidden","true")),this.options.showCompass&&(this._compass=this._createButton("maplibregl-ctrl-compass",(e=>{this.options.visualizePitch?this._map.resetNorthPitch({},{originalEvent:e}):this._map.resetNorth({},{originalEvent:e});})),this._compassIcon=d.create("span","maplibregl-ctrl-icon",this._compass),this._compassIcon.setAttribute("aria-hidden","true"));}onAdd(e){return this._map=e,this.options.showZoom&&(this._setButtonTitle(this._zoomInButton,"ZoomIn"),this._setButtonTitle(this._zoomOutButton,"ZoomOut"),this._map.on("zoom",this._updateZoomButtons),this._updateZoomButtons()),this.options.showCompass&&(this._setButtonTitle(this._compass,"ResetBearing"),this.options.visualizePitch&&this._map.on("pitch",this._rotateCompassArrow),this.options.visualizeRoll&&this._map.on("roll",this._rotateCompassArrow),this._map.on("rotate",this._rotateCompassArrow),this._rotateCompassArrow(),this._handler=new ps(this._map,this._compass,this.options.visualizePitch)),this._container}onRemove(){this._container.remove(),this.options.showZoom&&this._map.off("zoom",this._updateZoomButtons),this.options.showCompass&&(this.options.visualizePitch&&this._map.off("pitch",this._rotateCompassArrow),this.options.visualizeRoll&&this._map.off("roll",this._rotateCompassArrow),this._map.off("rotate",this._rotateCompassArrow),this._handler.off(),delete this._handler),delete this._map;}_createButton(e,t){const i=d.create("button",e,this._container);return i.type="button",i.addEventListener("click",t),i}},e.Popup=class extends t.E{constructor(e){super(),this._updateOpacity=()=>{void 0!==this.options.locationOccludedOpacity&&(this._container.style.opacity=this._map.transform.isLocationOccluded(this.getLngLat())?`${this.options.locationOccludedOpacity}`:"");},this.remove=()=>(this._content&&this._content.remove(),this._container&&(this._container.remove(),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("terrain",this._update),this._map.off("projectiontransition",this._update),this._map.off("mousemove",this._update),this._map.off("mouseup",this._update),this._map.off("drag",this._update),this._map._canvasContainer.classList.remove("maplibregl-track-pointer"),delete this._map,this.fire(new t.n("close"))),this),this._update=e=>{if(!this._map||!this._lngLat&&!this._trackPointer||!this._content)return;if(!this._container){if(this._container=d.create("div","maplibregl-popup",this._map.getContainer()),this._tip=d.create("div","maplibregl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className)for(const e of this.options.className.split(" "))this._container.classList.add(e);this._closeButton&&this._closeButton.setAttribute("aria-label",this._map._getUIString("Popup.Close")),this._trackPointer&&this._container.classList.add("maplibregl-popup-track-pointer");}let t;if(this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._lngLat=fs(this._lngLat,this._flatPos,this._map.transform,this._trackPointer),e&&"point"in e&&e.point&&(t=e.point),this._trackPointer&&!t)return;const i=this._flatPos=this._pos=this._trackPointer&&t?t:this._map.project(this._lngLat);this._map.terrain&&(this._flatPos=this._trackPointer&&t?t:this._map.transform.locationToScreenPoint(this._lngLat));let o=this.options.anchor;const a=Es(this.options.offset);if(!o){const e=this._container.offsetWidth,t=this._container.offsetHeight,r=function(e){var t,i,o,a;return e?{top:null!==(t=e.top)&&void 0!==t?t:0,right:null!==(i=e.right)&&void 0!==i?i:0,bottom:null!==(o=e.bottom)&&void 0!==o?o:0,left:null!==(a=e.left)&&void 0!==a?a:0}:{top:0,right:0,bottom:0,left:0}}(this.options.padding);let s;s=i.y+a.bottom.ythis._map.transform.height-t-r.bottom?["bottom"]:[],i.xthis._map.transform.width-e/2-r.right&&s.push("right"),o=0===s.length?"bottom":s.join("-");}let r=i.add(a[o]);this.options.subpixelPositioning||(r=r.round()),this._container.style.transform=`${gs[o]} translate(${r.x}px,${r.y}px)`,vs(this._container,o,"popup"),this._updateOpacity();},this._onClose=()=>{this.remove();},this.options=t.e(Object.create(Ms),e);}addTo(e){return this._map&&this.remove(),this._map=e,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._map.on("terrain",this._update),this._map.on("projectiontransition",this._update),this._update(),this._focusFirstElement(),this._trackPointer?(this._map.on("mousemove",this._update),this._map.on("mouseup",this._update),this._container&&this._container.classList.add("maplibregl-popup-track-pointer"),this._map._canvasContainer.classList.add("maplibregl-track-pointer")):this._map.on("move",this._update),this.fire(new t.n("open")),this}isOpen(){return !!this._map}getLngLat(){return this._lngLat}setLngLat(e){return this._lngLat=t.W.convert(e),this._pos=null,this._flatPos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._update),this._container&&this._container.classList.remove("maplibregl-popup-track-pointer"),this._map._canvasContainer.classList.remove("maplibregl-track-pointer")),this}trackPointer(){return this._trackPointer=!0,this._pos=null,this._flatPos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._update),this._map.on("drag",this._update),this._container&&this._container.classList.add("maplibregl-popup-track-pointer"),this._map._canvasContainer.classList.add("maplibregl-track-pointer")),this}getElement(){return this._container}setText(e){return this.setDOMContent(document.createTextNode(e))}setHTML(e){const t=document.createDocumentFragment(),i=document.createElement("body");let o;for(i.innerHTML=e;o=i.firstChild,o;)t.appendChild(o);return this.setDOMContent(t)}getMaxWidth(){var e;return null===(e=this._container)||void 0===e?void 0:e.style.maxWidth}setMaxWidth(e){return this.options.maxWidth=e,this._update(),this}setDOMContent(e){if(this._content)for(;this._content.hasChildNodes();)this._content.firstChild&&this._content.removeChild(this._content.firstChild);else this._content=d.create("div","maplibregl-popup-content",this._container);return this._content.appendChild(e),this._createCloseButton(),this._update(),this._focusFirstElement(),this}addClassName(e){return this._container&&this._container.classList.add(e),this}removeClassName(e){return this._container&&this._container.classList.remove(e),this}setOffset(e){return this.options.offset=e,this._update(),this}toggleClassName(e){if(this._container)return this._container.classList.toggle(e)}setSubpixelPositioning(e){this.options.subpixelPositioning=e;}setPadding(e){this.options.padding=e,this._update();}_createCloseButton(){this.options.closeButton&&(this._closeButton=d.create("button","maplibregl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.innerHTML="×",this._closeButton.addEventListener("click",this._onClose));}_focusFirstElement(){if(!this.options.focusAfterOpen||!this._container)return;const e=this._container.querySelector(Is);e&&e.focus();}},e.RasterDEMTileSource=$,e.RasterTileSource=q,e.ScaleControl=class{constructor(e){this._onMove=()=>{Ps(this._map,this._container,this.options);},this.setUnit=e=>{this.options.unit=e,Ps(this._map,this._container,this.options);},this.options=Object.assign(Object.assign({},Ts),e);}getDefaultPosition(){return "bottom-left"}onAdd(e){return this._map=e,this._container=d.create("div","maplibregl-ctrl maplibregl-ctrl-scale",e.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container}onRemove(){this._container.remove(),this._map.off("move",this._onMove),this._map=void 0;}},e.ScrollZoomHandler=Nr,e.Style=ki,e.TerrainControl=class{constructor(e){this._toggleTerrain=()=>{this._map.getTerrain()?this._map.setTerrain(null):this._map.setTerrain(this.options),this._updateTerrainIcon();},this._updateTerrainIcon=()=>{this._terrainButton.classList.remove("maplibregl-ctrl-terrain"),this._terrainButton.classList.remove("maplibregl-ctrl-terrain-enabled"),this._map.terrain?(this._terrainButton.classList.add("maplibregl-ctrl-terrain-enabled"),this._terrainButton.title=this._map._getUIString("TerrainControl.Disable")):(this._terrainButton.classList.add("maplibregl-ctrl-terrain"),this._terrainButton.title=this._map._getUIString("TerrainControl.Enable"));},this.options=e;}onAdd(e){return this._map=e,this._container=d.create("div","maplibregl-ctrl maplibregl-ctrl-group"),this._terrainButton=d.create("button","maplibregl-ctrl-terrain",this._container),d.create("span","maplibregl-ctrl-icon",this._terrainButton).setAttribute("aria-hidden","true"),this._terrainButton.type="button",this._terrainButton.addEventListener("click",this._toggleTerrain),this._updateTerrainIcon(),this._map.on("terrain",this._updateTerrainIcon),this._container}onRemove(){this._container.remove(),this._map.off("terrain",this._updateTerrainIcon),this._map=void 0;}},e.TwoFingersTouchPitchHandler=Lr,e.TwoFingersTouchRotateHandler=Dr,e.TwoFingersTouchZoomHandler=zr,e.TwoFingersTouchZoomRotateHandler=qr,e.VectorTileSource=W,e.VideoSource=ie,e.addSourceType=(e,i)=>t._(void 0,void 0,void 0,(function*(){if(re(e))throw new Error(`A source type called "${e}" already exists.`);((e,t)=>{ae[e]=t;})(e,i);})),e.clearPrewarmedResources=function(){const e=A;e&&(e.isPreloaded()&&1===e.numActive()?(e.release(z),A=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"));},e.createTileMesh=ci,e.getGlobalDispatcher=B,e.getMaxParallelImageRequests=function(){return t.c.MAX_PARALLEL_IMAGE_REQUESTS},e.getRTLTextPluginStatus=function(){return ce().getRTLTextPluginStatus()},e.getVersion=function(){return Ss},e.getWorkerCount=function(){return R.workerCount},e.getWorkerUrl=function(){return t.c.WORKER_URL},e.importScriptInWorkers=function(e){return B().broadcast("IS",e)},e.isTimeFrozen=function(){return l.isFrozen()},e.now=c,e.prewarm=function(){F().acquire(z);},e.restoreNow=function(){l.restoreNow();},e.setMaxParallelImageRequests=function(e){t.c.MAX_PARALLEL_IMAGE_REQUESTS=e;},e.setNow=function(e){l.setNow(e);},e.setRTLTextPlugin=function(e,t){return ce().setRTLTextPlugin(e,t)},e.setWorkerCount=function(e){R.workerCount=e;},e.setWorkerUrl=function(e){t.c.WORKER_URL=e;};})); + +// +// Our custom intro provides a specialized "define()" function, called by the +// AMD modules below, that sets up the worker blob URL and then executes the +// main module, storing its exported value as 'maplibregl' + + +var maplibregl$1 = maplibregl; + +return maplibregl$1; + +})); +//# sourceMappingURL=maplibre-gl.js.map diff --git a/data/legacy/upg-neighbor/upg-neighbor.iife.js b/data/legacy/upg-neighbor/upg-neighbor.iife.js new file mode 100644 index 000000000..58523ca2e --- /dev/null +++ b/data/legacy/upg-neighbor/upg-neighbor.iife.js @@ -0,0 +1,548 @@ +(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".profile-loader[data-v-8d448c33]{width:100%;height:100%;position:relative}.profile-error[data-v-8d448c33]{padding:1rem;background:#fff3cd;border:1px solid #ffc107;border-radius:4px;font-family:monospace;font-size:13px}")),document.head.appendChild(e)}}catch(d){console.error("vite-plugin-css-injected-by-js",d)}})(); +(function(){"use strict";var xu;const Hf="modulepreload",Df=function(a){return"/"+a},zf={},oi=function(n,e,i){let t=Promise.resolve();function o(r){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=r,window.dispatchEvent(l),!l.defaultPrevented)throw r}return t.then(r=>{for(const l of r||[])l.status==="rejected"&&o(l.reason);return n().catch(o)})};/** +* @vue/shared v3.5.34 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function ro(a){const n=Object.create(null);for(const e of a.split(","))n[e]=1;return e=>e in n}const Fa={},Le=[],Mn=()=>{},tl=()=>!1,qi=a=>a.charCodeAt(0)===111&&a.charCodeAt(1)===110&&(a.charCodeAt(2)>122||a.charCodeAt(2)<97),Xi=a=>a.startsWith("onUpdate:"),Ja=Object.assign,lo=(a,n)=>{const e=a.indexOf(n);e>-1&&a.splice(e,1)},Tu=Object.prototype.hasOwnProperty,Ta=(a,n)=>Tu.call(a,n),Ca=Array.isArray,Re=a=>ri(a)==="[object Map]",ol=a=>ri(a)==="[object Set]",rl=a=>ri(a)==="[object Date]",ka=a=>typeof a=="function",Da=a=>typeof a=="string",Pn=a=>typeof a=="symbol",Na=a=>a!==null&&typeof a=="object",ll=a=>(Na(a)||ka(a))&&ka(a.then)&&ka(a.catch),sl=Object.prototype.toString,ri=a=>sl.call(a),Nu=a=>ri(a).slice(8,-1),Qi=a=>ri(a)==="[object Object]",at=a=>Da(a)&&a!=="NaN"&&a[0]!=="-"&&""+parseInt(a,10)===a,li=ro(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),nt=a=>{const n=Object.create(null);return e=>n[e]||(n[e]=a(e))},Lu=/-\w/g,nn=nt(a=>a.replace(Lu,n=>n.slice(1).toUpperCase())),Ru=/\B([A-Z])/g,yn=nt(a=>a.replace(Ru,"-$1").toLowerCase()),et=nt(a=>a.charAt(0).toUpperCase()+a.slice(1)),so=nt(a=>a?`on${et(a)}`:""),In=(a,n)=>!Object.is(a,n),co=(a,...n)=>{for(let e=0;e{Object.defineProperty(a,n,{configurable:!0,enumerable:!1,writable:i,value:e})},$u=a=>{const n=parseFloat(a);return isNaN(n)?a:n},gl=a=>{const n=Da(a)?Number(a):NaN;return isNaN(n)?a:n};let ul;const it=()=>ul||(ul=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ka(a){if(Ca(a)){const n={};for(let e=0;e{if(e){const i=e.split(Ku);i.length>1&&(n[i[0].trim()]=i[1].trim())}}),n}function Ia(a){let n="";if(Da(a))n=a;else if(Ca(a))for(let e=0;e!!(a&&a.__v_isRef===!0),X=a=>Da(a)?a:a==null?"":Ca(a)||Na(a)&&(a.toString===sl||!ka(a.toString))?pl(a)?X(a.value):JSON.stringify(a,ml,2):String(a),ml=(a,n)=>pl(n)?ml(a,n.value):Re(n)?{[`Map(${n.size})`]:[...n.entries()].reduce((e,[i,t],o)=>(e[uo(i,o)+" =>"]=t,e),{})}:ol(n)?{[`Set(${n.size})`]:[...n.values()].map(e=>uo(e))}:Pn(n)?uo(n):Na(n)&&!Ca(n)&&!Qi(n)?String(n):n,uo=(a,n="")=>{var e;return Pn(a)?`Symbol(${(e=a.description)!=null?e:n})`:a};/** +* @vue/reactivity v3.5.34 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Xa;class hl{constructor(n=!1){this.detached=n,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!n&&Xa&&(Xa.active?(this.parent=Xa,this.index=(Xa.scopes||(Xa.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let n,e;if(this.scopes)for(n=0,e=this.scopes.length;n0&&--this._on===0){if(Xa===this)Xa=this.prevScope;else{let n=Xa;for(;n;){if(n.prevScope===this){n.prevScope=this.prevScope;break}n=n.prevScope}}this.prevScope=void 0}}stop(n){if(this._active){this._active=!1;let e,i;for(e=0,i=this.effects.length;e0)return;if(ci){let n=ci;for(ci=void 0;n;){const e=n.next;n.next=void 0,n.flags&=-9,n=e}}let a;for(;si;){let n=si;for(si=void 0;n;){const e=n.next;if(n.next=void 0,n.flags&=-9,n.flags&1)try{n.trigger()}catch(i){a||(a=i)}n=e}}if(a)throw a}function Pl(a){for(let n=a.deps;n;n=n.nextDep)n.version=-1,n.prevActiveLink=n.dep.activeLink,n.dep.activeLink=n}function Cl(a){let n,e=a.depsTail,i=e;for(;i;){const t=i.prevDep;i.version===-1?(i===e&&(e=t),_o(i),zu(i)):n=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=t}a.deps=n,a.depsTail=e}function bo(a){for(let n=a.deps;n;n=n.nextDep)if(n.dep.version!==n.version||n.dep.computed&&(jl(n.dep.computed)||n.dep.version!==n.version))return!0;return!!a._dirty}function jl(a){if(a.flags&4&&!(a.flags&16)||(a.flags&=-17,a.globalVersion===gi)||(a.globalVersion=gi,!a.isSSR&&a.flags&128&&(!a.deps&&!a._dirty||!bo(a))))return;a.flags|=2;const n=a.dep,e=Oa,i=kn;Oa=a,kn=!0;try{Pl(a);const t=a.fn(a._value);(n.version===0||In(t,a._value))&&(a.flags|=128,a._value=t,n.version++)}catch(t){throw n.version++,t}finally{Oa=e,kn=i,Cl(a),a.flags&=-3}}function _o(a,n=!1){const{dep:e,prevSub:i,nextSub:t}=a;if(i&&(i.nextSub=t,a.prevSub=void 0),t&&(t.prevSub=i,a.nextSub=void 0),e.subs===a&&(e.subs=i,!i&&e.computed)){e.computed.flags&=-5;for(let o=e.computed.deps;o;o=o.nextDep)_o(o,!0)}!n&&!--e.sc&&e.map&&e.map.delete(e.key)}function zu(a){const{prevDep:n,nextDep:e}=a;n&&(n.nextDep=e,a.prevDep=void 0),e&&(e.prevDep=n,a.nextDep=void 0)}let kn=!0;const kl=[];function wn(){kl.push(kn),kn=!1}function xn(){const a=kl.pop();kn=a===void 0?!0:a}function Gl(a){const{cleanup:n}=a;if(a.cleanup=void 0,n){const e=Oa;Oa=void 0;try{n()}finally{Oa=e}}}let gi=0;class Vu{constructor(n,e){this.sub=n,this.dep=e,this.version=e.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class fo{constructor(n){this.computed=n,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(n){if(!Oa||!kn||Oa===this.computed)return;let e=this.activeLink;if(e===void 0||e.sub!==Oa)e=this.activeLink=new Vu(Oa,this),Oa.deps?(e.prevDep=Oa.depsTail,Oa.depsTail.nextDep=e,Oa.depsTail=e):Oa.deps=Oa.depsTail=e,vl(e);else if(e.version===-1&&(e.version=this.version,e.nextDep)){const i=e.nextDep;i.prevDep=e.prevDep,e.prevDep&&(e.prevDep.nextDep=i),e.prevDep=Oa.depsTail,e.nextDep=void 0,Oa.depsTail.nextDep=e,Oa.depsTail=e,Oa.deps===e&&(Oa.deps=i)}return e}trigger(n){this.version++,gi++,this.notify(n)}notify(n){ho();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{yo()}}}function vl(a){if(a.dep.sc++,a.sub.flags&4){const n=a.dep.computed;if(n&&!a.dep.subs){n.flags|=20;for(let i=n.deps;i;i=i.nextDep)vl(i)}const e=a.dep.subs;e!==a&&(a.prevSub=e,e&&(e.nextSub=a)),a.dep.subs=a}}const tt=new WeakMap,Ge=Symbol(""),Po=Symbol(""),ui=Symbol("");function rn(a,n,e){if(kn&&Oa){let i=tt.get(a);i||tt.set(a,i=new Map);let t=i.get(e);t||(i.set(e,t=new fo),t.map=i,t.key=e),t.track()}}function Dn(a,n,e,i,t,o){const r=tt.get(a);if(!r){gi++;return}const l=s=>{s&&s.trigger()};if(ho(),n==="clear")r.forEach(l);else{const s=Ca(a),g=s&&at(e);if(s&&e==="length"){const d=Number(i);r.forEach((_,k)=>{(k==="length"||k===ui||!Pn(k)&&k>=d)&&l(_)})}else switch((e!==void 0||r.has(void 0))&&l(r.get(e)),g&&l(r.get(ui)),n){case"add":s?g&&l(r.get("length")):(l(r.get(Ge)),Re(a)&&l(r.get(Po)));break;case"delete":s||(l(r.get(Ge)),Re(a)&&l(r.get(Po)));break;case"set":Re(a)&&l(r.get(Ge));break}}yo()}function Yu(a,n){const e=tt.get(a);return e&&e.get(n)}function $e(a){const n=wa(a);return n===a?n:(rn(n,"iterate",ui),bn(a)?n:n.map(Gn))}function ot(a){return rn(a=wa(a),"iterate",ui),a}function Tn(a,n){return Yn(a)?Fe(Vn(a)?Gn(n):n):Gn(n)}const Wu={__proto__:null,[Symbol.iterator](){return Co(this,Symbol.iterator,a=>Tn(this,a))},concat(...a){return $e(this).concat(...a.map(n=>Ca(n)?$e(n):n))},entries(){return Co(this,"entries",a=>(a[1]=Tn(this,a[1]),a))},every(a,n){return zn(this,"every",a,n,void 0,arguments)},filter(a,n){return zn(this,"filter",a,n,e=>e.map(i=>Tn(this,i)),arguments)},find(a,n){return zn(this,"find",a,n,e=>Tn(this,e),arguments)},findIndex(a,n){return zn(this,"findIndex",a,n,void 0,arguments)},findLast(a,n){return zn(this,"findLast",a,n,e=>Tn(this,e),arguments)},findLastIndex(a,n){return zn(this,"findLastIndex",a,n,void 0,arguments)},forEach(a,n){return zn(this,"forEach",a,n,void 0,arguments)},includes(...a){return jo(this,"includes",a)},indexOf(...a){return jo(this,"indexOf",a)},join(a){return $e(this).join(a)},lastIndexOf(...a){return jo(this,"lastIndexOf",a)},map(a,n){return zn(this,"map",a,n,void 0,arguments)},pop(){return di(this,"pop")},push(...a){return di(this,"push",a)},reduce(a,...n){return Al(this,"reduce",a,n)},reduceRight(a,...n){return Al(this,"reduceRight",a,n)},shift(){return di(this,"shift")},some(a,n){return zn(this,"some",a,n,void 0,arguments)},splice(...a){return di(this,"splice",a)},toReversed(){return $e(this).toReversed()},toSorted(a){return $e(this).toSorted(a)},toSpliced(...a){return $e(this).toSpliced(...a)},unshift(...a){return di(this,"unshift",a)},values(){return Co(this,"values",a=>Tn(this,a))}};function Co(a,n,e){const i=ot(a),t=i[n]();return i!==a&&!bn(a)&&(t._next=t.next,t.next=()=>{const o=t._next();return o.done||(o.value=e(o.value)),o}),t}const Ju=Array.prototype;function zn(a,n,e,i,t,o){const r=ot(a),l=r!==a&&!bn(a),s=r[n];if(s!==Ju[n]){const _=s.apply(a,o);return l?Gn(_):_}let g=e;r!==a&&(l?g=function(_,k){return e.call(this,Tn(a,_),k,a)}:e.length>2&&(g=function(_,k){return e.call(this,_,k,a)}));const d=s.call(r,g,i);return l&&t?t(d):d}function Al(a,n,e,i){const t=ot(a),o=t!==a&&!bn(a);let r=e,l=!1;t!==a&&(o?(l=i.length===0,r=function(g,d,_){return l&&(l=!1,g=Tn(a,g)),e.call(this,g,Tn(a,d),_,a)}):e.length>3&&(r=function(g,d,_){return e.call(this,g,d,_,a)}));const s=t[n](r,...i);return l?Tn(a,s):s}function jo(a,n,e){const i=wa(a);rn(i,"iterate",ui);const t=i[n](...e);return(t===-1||t===!1)&>(e[0])?(e[0]=wa(e[0]),i[n](...e)):t}function di(a,n,e=[]){wn(),ho();const i=wa(a)[n].apply(a,e);return yo(),xn(),i}const Zu=ro("__proto__,__v_isRef,__isVue"),Sl=new Set(Object.getOwnPropertyNames(Symbol).filter(a=>a!=="arguments"&&a!=="caller").map(a=>Symbol[a]).filter(Pn));function qu(a){Pn(a)||(a=String(a));const n=wa(this);return rn(n,"has",a),n.hasOwnProperty(a)}class El{constructor(n=!1,e=!1){this._isReadonly=n,this._isShallow=e}get(n,e,i){if(e==="__v_skip")return n.__v_skip;const t=this._isReadonly,o=this._isShallow;if(e==="__v_isReactive")return!t;if(e==="__v_isReadonly")return t;if(e==="__v_isShallow")return o;if(e==="__v_raw")return i===(t?o?Nl:Tl:o?xl:wl).get(n)||Object.getPrototypeOf(n)===Object.getPrototypeOf(i)?n:void 0;const r=Ca(n);if(!t){let s;if(r&&(s=Wu[e]))return s;if(e==="hasOwnProperty")return qu}const l=Reflect.get(n,e,Va(n)?n:i);if((Pn(e)?Sl.has(e):Zu(e))||(t||rn(n,"get",e),o))return l;if(Va(l)){const s=r&&at(e)?l:l.value;return t&&Na(s)?Go(s):s}return Na(l)?t?Go(l):pi(l):l}}class Ml extends El{constructor(n=!1){super(!1,n)}set(n,e,i,t){let o=n[e];const r=Ca(n)&&at(e);if(!this._isShallow){const g=Yn(o);if(!bn(i)&&!Yn(i)&&(o=wa(o),i=wa(i)),!r&&Va(o)&&!Va(i))return g||(o.value=i),!0}const l=r?Number(e)a,rt=a=>Reflect.getPrototypeOf(a);function ed(a,n,e){return function(...i){const t=this.__v_raw,o=wa(t),r=Re(o),l=a==="entries"||a===Symbol.iterator&&r,s=a==="keys"&&r,g=t[a](...i),d=e?ko:n?Fe:Gn;return!n&&rn(o,"iterate",s?Po:Ge),Ja(Object.create(g),{next(){const{value:_,done:k}=g.next();return k?{value:_,done:k}:{value:l?[d(_[0]),d(_[1])]:d(_),done:k}}})}}function lt(a){return function(...n){return a==="delete"?!1:a==="clear"?void 0:this}}function id(a,n){const e={get(t){const o=this.__v_raw,r=wa(o),l=wa(t);a||(In(t,l)&&rn(r,"get",t),rn(r,"get",l));const{has:s}=rt(r),g=n?ko:a?Fe:Gn;if(s.call(r,t))return g(o.get(t));if(s.call(r,l))return g(o.get(l));o!==r&&o.get(t)},get size(){const t=this.__v_raw;return!a&&rn(wa(t),"iterate",Ge),t.size},has(t){const o=this.__v_raw,r=wa(o),l=wa(t);return a||(In(t,l)&&rn(r,"has",t),rn(r,"has",l)),t===l?o.has(t):o.has(t)||o.has(l)},forEach(t,o){const r=this,l=r.__v_raw,s=wa(l),g=n?ko:a?Fe:Gn;return!a&&rn(s,"iterate",Ge),l.forEach((d,_)=>t.call(o,g(d),g(_),r))}};return Ja(e,a?{add:lt("add"),set:lt("set"),delete:lt("delete"),clear:lt("clear")}:{add(t){const o=wa(this),r=rt(o),l=wa(t),s=!n&&!bn(t)&&!Yn(t)?l:t;return r.has.call(o,s)||In(t,s)&&r.has.call(o,t)||In(l,s)&&r.has.call(o,l)||(o.add(s),Dn(o,"add",s,s)),this},set(t,o){!n&&!bn(o)&&!Yn(o)&&(o=wa(o));const r=wa(this),{has:l,get:s}=rt(r);let g=l.call(r,t);g||(t=wa(t),g=l.call(r,t));const d=s.call(r,t);return r.set(t,o),g?In(o,d)&&Dn(r,"set",t,o):Dn(r,"add",t,o),this},delete(t){const o=wa(this),{has:r,get:l}=rt(o);let s=r.call(o,t);s||(t=wa(t),s=r.call(o,t)),l&&l.call(o,t);const g=o.delete(t);return s&&Dn(o,"delete",t,void 0),g},clear(){const t=wa(this),o=t.size!==0,r=t.clear();return o&&Dn(t,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(t=>{e[t]=ed(t,a,n)}),e}function st(a,n){const e=id(a,n);return(i,t,o)=>t==="__v_isReactive"?!a:t==="__v_isReadonly"?a:t==="__v_raw"?i:Reflect.get(Ta(e,t)&&t in i?e:i,t,o)}const td={get:st(!1,!1)},od={get:st(!1,!0)},rd={get:st(!0,!1)},ld={get:st(!0,!0)},wl=new WeakMap,xl=new WeakMap,Tl=new WeakMap,Nl=new WeakMap;function sd(a){switch(a){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function cd(a){return a.__v_skip||!Object.isExtensible(a)?0:sd(Nu(a))}function pi(a){return Yn(a)?a:ct(a,!1,Xu,td,wl)}function gd(a){return ct(a,!1,ad,od,xl)}function Go(a){return ct(a,!0,Qu,rd,Tl)}function Yf(a){return ct(a,!0,nd,ld,Nl)}function ct(a,n,e,i,t){if(!Na(a)||a.__v_raw&&!(n&&a.__v_isReactive))return a;const o=cd(a);if(o===0)return a;const r=t.get(a);if(r)return r;const l=new Proxy(a,o===2?i:e);return t.set(a,l),l}function Vn(a){return Yn(a)?Vn(a.__v_raw):!!(a&&a.__v_isReactive)}function Yn(a){return!!(a&&a.__v_isReadonly)}function bn(a){return!!(a&&a.__v_isShallow)}function gt(a){return a?!!a.__v_raw:!1}function wa(a){const n=a&&a.__v_raw;return n?wa(n):a}function mi(a){return!Ta(a,"__v_skip")&&Object.isExtensible(a)&&cl(a,"__v_skip",!0),a}const Gn=a=>Na(a)?pi(a):a,Fe=a=>Na(a)?Go(a):a;function Va(a){return a?a.__v_isRef===!0:!1}function ua(a){return Rl(a,!1)}function Ll(a){return Rl(a,!0)}function Rl(a,n){return Va(a)?a:new ud(a,n)}class ud{constructor(n,e){this.dep=new fo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=e?n:wa(n),this._value=e?n:Gn(n),this.__v_isShallow=e}get value(){return this.dep.track(),this._value}set value(n){const e=this._rawValue,i=this.__v_isShallow||bn(n)||Yn(n);n=i?n:wa(n),In(n,e)&&(this._rawValue=n,this._value=i?n:Gn(n),this.dep.trigger())}}function ha(a){return Va(a)?a.value:a}const dd={get:(a,n,e)=>n==="__v_raw"?a:ha(Reflect.get(a,n,e)),set:(a,n,e,i)=>{const t=a[n];return Va(t)&&!Va(e)?(t.value=e,!0):Reflect.set(a,n,e,i)}};function $l(a){return Vn(a)?a:new Proxy(a,dd)}function pd(a){const n=Ca(a)?new Array(a.length):{};for(const e in a)n[e]=hd(a,e);return n}class md{constructor(n,e,i){this._object=n,this._defaultValue=i,this.__v_isRef=!0,this._value=void 0,this._key=Pn(e)?e:String(e),this._raw=wa(n);let t=!0,o=n;if(!Ca(n)||Pn(this._key)||!at(this._key))do t=!gt(o)||bn(o);while(t&&(o=o.__v_raw));this._shallow=t}get value(){let n=this._object[this._key];return this._shallow&&(n=ha(n)),this._value=n===void 0?this._defaultValue:n}set value(n){if(this._shallow&&Va(this._raw[this._key])){const e=this._object[this._key];if(Va(e)){e.value=n;return}}this._object[this._key]=n}get dep(){return Yu(this._raw,this._key)}}function hd(a,n,e){return new md(a,n,e)}class yd{constructor(n,e,i){this.fn=n,this.setter=e,this._value=void 0,this.dep=new fo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=gi-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!e,this.isSSR=i}notify(){if(this.flags|=16,!(this.flags&8)&&Oa!==this)return fl(this,!0),!0}get value(){const n=this.dep.track();return jl(this),n&&(n.version=this.dep.version),this._value}set value(n){this.setter&&this.setter(n)}}function bd(a,n,e=!1){let i,t;return ka(a)?i=a:(i=a.get,t=a.set),new yd(i,t,e)}const ut={},dt=new WeakMap;let ve;function _d(a,n=!1,e=ve){if(e){let i=dt.get(e);i||dt.set(e,i=[]),i.push(a)}}function fd(a,n,e=Fa){const{immediate:i,deep:t,once:o,scheduler:r,augmentJob:l,call:s}=e,g=I=>t?I:bn(I)||t===!1||t===0?Wn(I,1):Wn(I);let d,_,k,x,D=!1,T=!1;if(Va(a)?(_=()=>a.value,D=bn(a)):Vn(a)?(_=()=>g(a),D=!0):Ca(a)?(T=!0,D=a.some(I=>Vn(I)||bn(I)),_=()=>a.map(I=>{if(Va(I))return I.value;if(Vn(I))return g(I);if(ka(I))return s?s(I,2):I()})):ka(a)?n?_=s?()=>s(a,2):a:_=()=>{if(k){wn();try{k()}finally{xn()}}const I=ve;ve=d;try{return s?s(a,3,[x]):a(x)}finally{ve=I}}:_=Mn,n&&t){const I=_,G=t===!0?1/0:t;_=()=>Wn(I(),G)}const $=yl(),w=()=>{d.stop(),$&&$.active&&lo($.effects,d)};if(o&&n){const I=n;n=(...G)=>{I(...G),w()}}let L=T?new Array(a.length).fill(ut):ut;const E=I=>{if(!(!(d.flags&1)||!d.dirty&&!I))if(n){const G=d.run();if(t||D||(T?G.some((S,v)=>In(S,L[v])):In(G,L))){k&&k();const S=ve;ve=d;try{const v=[G,L===ut?void 0:T&&L[0]===ut?[]:L,x];L=G,s?s(n,3,v):n(...v)}finally{ve=S}}}else d.run()};return l&&l(E),d=new bl(_),d.scheduler=r?()=>r(E,!1):E,x=I=>_d(I,!1,d),k=d.onStop=()=>{const I=dt.get(d);if(I){if(s)s(I,4);else for(const G of I)G();dt.delete(d)}},n?i?E(!0):L=d.run():r?r(E.bind(null,!0),!0):d.run(),w.pause=d.pause.bind(d),w.resume=d.resume.bind(d),w.stop=w,w}function Wn(a,n=1/0,e){if(n<=0||!Na(a)||a.__v_skip||(e=e||new Map,(e.get(a)||0)>=n))return a;if(e.set(a,n),n--,Va(a))Wn(a.value,n,e);else if(Ca(a))for(let i=0;i{Wn(i,n,e)});else if(Qi(a)){for(const i in a)Wn(a[i],n,e);for(const i of Object.getOwnPropertySymbols(a))Object.prototype.propertyIsEnumerable.call(a,i)&&Wn(a[i],n,e)}return a}/** +* @vue/runtime-core v3.5.34 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const hi=[];let vo=!1;function Wf(a,...n){if(vo)return;vo=!0,wn();const e=hi.length?hi[hi.length-1].component:null,i=e&&e.appContext.config.warnHandler,t=Pd();if(i)Ke(i,e,11,[a+n.map(o=>{var r,l;return(l=(r=o.toString)==null?void 0:r.call(o))!=null?l:JSON.stringify(o)}).join(""),e&&e.proxy,t.map(({vnode:o})=>`at <${xs(e,o.type)}>`).join(` +`),t]);else{const o=[`[Vue warn]: ${a}`,...n];t.length&&o.push(` +`,...Cd(t)),console.warn(...o)}xn(),vo=!1}function Pd(){let a=hi[hi.length-1];if(!a)return[];const n=[];for(;a;){const e=n[0];e&&e.vnode===a?e.recurseCount++:n.push({vnode:a,recurseCount:0});const i=a.component&&a.component.parent;a=i&&i.vnode}return n}function Cd(a){const n=[];return a.forEach((e,i)=>{n.push(...i===0?[]:[` +`],...jd(e))}),n}function jd({vnode:a,recurseCount:n}){const e=n>0?`... (${n} recursive calls)`:"",i=a.component?a.component.parent==null:!1,t=` at <${xs(a.component,a.type,i)}`,o=">"+e;return a.props?[t,...kd(a.props),o]:[t+o]}function kd(a){const n=[],e=Object.keys(a);return e.slice(0,3).forEach(i=>{n.push(...Fl(i,a[i]))}),e.length>3&&n.push(" ..."),n}function Fl(a,n,e){return Da(n)?(n=JSON.stringify(n),e?n:[`${a}=${n}`]):typeof n=="number"||typeof n=="boolean"||n==null?e?n:[`${a}=${n}`]:Va(n)?(n=Fl(a,wa(n.value),!0),e?n:[`${a}=Ref<`,n,">"]):ka(n)?[`${a}=fn${n.name?`<${n.name}>`:""}`]:(n=wa(n),e?n:[`${a}=`,n])}function Ke(a,n,e,i){try{return i?a(...i):a()}catch(t){yi(t,n,e)}}function Nn(a,n,e,i){if(ka(a)){const t=Ke(a,n,e,i);return t&&ll(t)&&t.catch(o=>{yi(o,n,e)}),t}if(Ca(a)){const t=[];for(let o=0;o>>1,t=sn[i],o=_i(t);o=_i(e)?sn.push(a):sn.splice(vd(n),0,a),a.flags|=1,Bl()}}function Bl(){pt||(pt=Kl.then(Hl))}function Ad(a){Ca(a)?Be.push(...a):ce&&a.id===-1?ce.splice(Oe+1,0,a):a.flags&1||(Be.push(a),a.flags|=1),Bl()}function Ol(a,n,e=Ln+1){for(;e_i(e)-_i(i));if(Be.length=0,ce){ce.push(...n);return}for(ce=n,Oe=0;Oea.id==null?a.flags&2?-1:1/0:a.id;function Hl(a){try{for(Ln=0;Ln{i._d&&Ct(-1);const o=mt(n);let r;try{r=a(...t)}finally{mt(o),i._d&&Ct(1)}return r};return i._n=!0,i._c=!0,i._d=!0,i}function Ed(a,n){if(_n===null)return a;const e=vt(_n),i=a.dirs||(a.dirs=[]);for(let t=0;t1)return e&&ka(n)?n.call(i&&i.proxy):n}}function Md(){return!!(ue()||Se)}const Id=Symbol.for("v-scx"),wd=()=>Ya(Id);function xd(a,n){return So(a,null,n)}function cn(a,n,e){return So(a,n,e)}function So(a,n,e=Fa){const{immediate:i,deep:t,flush:o,once:r}=e,l=Ja({},e),s=n&&i||!n&&o!=="post";let g;if(De){if(o==="sync"){const x=wd();g=x.__watcherHandles||(x.__watcherHandles=[])}else if(!s){const x=()=>{};return x.stop=Mn,x.resume=Mn,x.pause=Mn,x}}const d=tn;l.call=(x,D,T)=>Nn(x,d,D,T);let _=!1;o==="post"?l.scheduler=x=>{pn(x,d&&d.suspense)}:o!=="sync"&&(_=!0,l.scheduler=(x,D)=>{D?x():Ao(x)}),l.augmentJob=x=>{n&&(x.flags|=4),_&&(x.flags|=2,d&&(x.id=d.uid,x.i=d))};const k=fd(a,n,l);return De&&(g?g.push(k):s&&k()),k}function Td(a,n,e){const i=this.proxy,t=Da(a)?a.includes(".")?zl(i,a):()=>i[a]:a.bind(i,i);let o;ka(n)?o=n:(o=n.handler,e=n);const r=Ei(this),l=So(t,o.bind(i),e);return r(),l}function zl(a,n){const e=n.split(".");return()=>{let i=a;for(let t=0;ta.__isTeleport,Rd=Symbol("_leaveCb");function Eo(a,n){a.shapeFlag&6&&a.component?(a.transition=n,Eo(a.component.subTree,n)):a.shapeFlag&128?(a.ssContent.transition=n.clone(a.ssContent),a.ssFallback.transition=n.clone(a.ssFallback)):a.transition=n}function fi(a,n){return ka(a)?Ja({name:a.name},n,{setup:a}):a}function Mo(a){a.ids=[a.ids[0]+a.ids[2]+++"-",0,0]}function Vl(a,n){let e;return!!((e=Object.getOwnPropertyDescriptor(a,n))&&!e.configurable)}const ht=new WeakMap;function Pi(a,n,e,i,t=!1){if(Ca(a)){a.forEach((T,$)=>Pi(T,n&&(Ca(n)?n[$]:n),e,i,t));return}if(Ci(i)&&!t){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&Pi(a,n,e,i.component.subTree);return}const o=i.shapeFlag&4?vt(i.component):i.el,r=t?null:o,{i:l,r:s}=a,g=n&&n.r,d=l.refs===Fa?l.refs={}:l.refs,_=l.setupState,k=wa(_),x=_===Fa?tl:T=>Vl(d,T)?!1:Ta(k,T),D=(T,$)=>!($&&Vl(d,$));if(g!=null&&g!==s){if(Yl(n),Da(g))d[g]=null,x(g)&&(_[g]=null);else if(Va(g)){const T=n;D(g,T.k)&&(g.value=null),T.k&&(d[T.k]=null)}}if(ka(s))Ke(s,l,12,[r,d]);else{const T=Da(s),$=Va(s);if(T||$){const w=()=>{if(a.f){const L=T?x(s)?_[s]:d[s]:D()||!a.k?s.value:d[a.k];if(t)Ca(L)&&lo(L,o);else if(Ca(L))L.includes(o)||L.push(o);else if(T)d[s]=[o],x(s)&&(_[s]=d[s]);else{const E=[o];D(s,a.k)&&(s.value=E),a.k&&(d[a.k]=E)}}else T?(d[s]=r,x(s)&&(_[s]=r)):$&&(D(s,a.k)&&(s.value=r),a.k&&(d[a.k]=r))};if(r){const L=()=>{w(),ht.delete(a)};L.id=-1,ht.set(a,L),pn(L,e)}else Yl(a),w()}}}function Yl(a){const n=ht.get(a);n&&(n.flags|=8,ht.delete(a))}const Wl=a=>a.nodeType===8;it().requestIdleCallback,it().cancelIdleCallback;function $d(a,n){if(Wl(a)&&a.data==="["){let e=1,i=a.nextSibling;for(;i;){if(i.nodeType===1){if(n(i)===!1)break}else if(Wl(i))if(i.data==="]"){if(--e===0)break}else i.data==="["&&e++;i=i.nextSibling}}else n(a)}const Ci=a=>!!a.type.__asyncLoader;function Fd(a){ka(a)&&(a={loader:a});const{loader:n,loadingComponent:e,errorComponent:i,delay:t=200,hydrate:o,timeout:r,suspensible:l=!0,onError:s}=a;let g=null,d,_=0;const k=()=>(_++,g=null,x()),x=()=>{let D;return g||(D=g=n().catch(T=>{if(T=T instanceof Error?T:new Error(String(T)),s)return new Promise(($,w)=>{s(T,()=>$(k()),()=>w(T),_+1)});throw T}).then(T=>D!==g&&g?g:(T&&(T.__esModule||T[Symbol.toStringTag]==="Module")&&(T=T.default),d=T,T)))};return fi({name:"AsyncComponentWrapper",__asyncLoader:x,__asyncHydrate(D,T,$){let w=!1;(T.bu||(T.bu=[])).push(()=>w=!0);const L=()=>{w||$()},E=o?()=>{const I=o(L,G=>$d(D,G));I&&(T.bum||(T.bum=[])).push(I)}:L;d?E():x().then(()=>!T.isUnmounted&&E())},get __asyncResolved(){return d},setup(){const D=tn;if(Mo(D),d)return()=>yt(d,D);const T=E=>{g=null,yi(E,D,13,!i)};if(l&&D.suspense||De)return x().then(E=>()=>yt(E,D)).catch(E=>(T(E),()=>i?Wa(i,{error:E}):null));const $=ua(!1),w=ua(),L=ua(!!t);return t&&setTimeout(()=>{L.value=!1},t),r!=null&&setTimeout(()=>{if(!$.value&&!w.value){const E=new Error(`Async component timed out after ${r}ms.`);T(E),w.value=E}},r),x().then(()=>{$.value=!0,D.parent&&Io(D.parent.vnode)&&D.parent.update()}).catch(E=>{T(E),w.value=E}),()=>{if($.value&&d)return yt(d,D);if(w.value&&i)return Wa(i,{error:w.value});if(e&&!L.value)return yt(e,D)}}})}function yt(a,n){const{ref:e,props:i,children:t,ce:o}=n.vnode,r=Wa(a,i,t);return r.ref=e,r.ce=o,delete n.vnode.ce,r}const Io=a=>a.type.__isKeepAlive;function Kd(a,n){Jl(a,"a",n)}function Bd(a,n){Jl(a,"da",n)}function Jl(a,n,e=tn){const i=a.__wdc||(a.__wdc=()=>{let t=e;for(;t;){if(t.isDeactivated)return;t=t.parent}return a()});if(bt(n,i,e),e){let t=e.parent;for(;t&&t.parent;)Io(t.parent.vnode)&&Od(i,n,e,t),t=t.parent}}function Od(a,n,e,i){const t=bt(n,a,i,!0);wo(()=>{lo(i[n],t)},e)}function bt(a,n,e=tn,i=!1){if(e){const t=e[a]||(e[a]=[]),o=n.__weh||(n.__weh=(...r)=>{wn();const l=Ei(e),s=Nn(n,e,a,r);return l(),xn(),s});return i?t.unshift(o):t.push(o),o}}const Jn=a=>(n,e=tn)=>{(!De||a==="sp")&&bt(a,(...i)=>n(...i),e)},Zl=Jn("bm"),Rn=Jn("m"),Ud=Jn("bu"),Hd=Jn("u"),Ue=Jn("bum"),wo=Jn("um"),Dd=Jn("sp"),zd=Jn("rtg"),Vd=Jn("rtc");function Yd(a,n=tn){bt("ec",a,n)}const Wd="components",ql=Symbol.for("v-ndc");function Jd(a){return Da(a)?Zd(Wd,a,!1)||a:a||ql}function Zd(a,n,e=!0,i=!1){const t=_n||tn;if(t){const o=t.type;{const l=ws(o,!1);if(l&&(l===n||l===nn(n)||l===et(nn(n))))return o}const r=Xl(t[a]||o[a],n)||Xl(t.appContext[a],n);return!r&&i?o:r}}function Xl(a,n){return a&&(a[n]||a[nn(n)]||a[et(nn(n))])}function Ua(a,n,e,i){let t;const o=e,r=Ca(a);if(r||Da(a)){const l=r&&Vn(a);let s=!1,g=!1;l&&(s=!bn(a),g=Yn(a),a=ot(a)),t=new Array(a.length);for(let d=0,_=a.length;d<_;d++)t[d]=n(s?g?Fe(Gn(a[d])):Gn(a[d]):a[d],d,void 0,o)}else if(typeof a=="number"){t=new Array(a);for(let l=0;ln(l,s,void 0,o));else{const l=Object.keys(a);t=new Array(l.length);for(let s=0,g=l.length;sa?Es(a)?vt(a):xo(a.parent):null,ji=Ja(Object.create(null),{$:a=>a,$el:a=>a.vnode.el,$data:a=>a.data,$props:a=>a.props,$attrs:a=>a.attrs,$slots:a=>a.slots,$refs:a=>a.refs,$parent:a=>xo(a.parent),$root:a=>xo(a.root),$host:a=>a.ce,$emit:a=>a.emit,$options:a=>es(a),$forceUpdate:a=>a.f||(a.f=()=>{Ao(a.update)}),$nextTick:a=>a.n||(a.n=bi.bind(a.proxy)),$watch:a=>Td.bind(a)}),To=(a,n)=>a!==Fa&&!a.__isScriptSetup&&Ta(a,n),qd={get({_:a},n){if(n==="__v_skip")return!0;const{ctx:e,setupState:i,data:t,props:o,accessCache:r,type:l,appContext:s}=a;if(n[0]!=="$"){const k=r[n];if(k!==void 0)switch(k){case 1:return i[n];case 2:return t[n];case 4:return e[n];case 3:return o[n]}else{if(To(i,n))return r[n]=1,i[n];if(t!==Fa&&Ta(t,n))return r[n]=2,t[n];if(Ta(o,n))return r[n]=3,o[n];if(e!==Fa&&Ta(e,n))return r[n]=4,e[n];No&&(r[n]=0)}}const g=ji[n];let d,_;if(g)return n==="$attrs"&&rn(a.attrs,"get",""),g(a);if((d=l.__cssModules)&&(d=d[n]))return d;if(e!==Fa&&Ta(e,n))return r[n]=4,e[n];if(_=s.config.globalProperties,Ta(_,n))return _[n]},set({_:a},n,e){const{data:i,setupState:t,ctx:o}=a;return To(t,n)?(t[n]=e,!0):i!==Fa&&Ta(i,n)?(i[n]=e,!0):Ta(a.props,n)||n[0]==="$"&&n.slice(1)in a?!1:(o[n]=e,!0)},has({_:{data:a,setupState:n,accessCache:e,ctx:i,appContext:t,props:o,type:r}},l){let s;return!!(e[l]||a!==Fa&&l[0]!=="$"&&Ta(a,l)||To(n,l)||Ta(o,l)||Ta(i,l)||Ta(ji,l)||Ta(t.config.globalProperties,l)||(s=r.__cssModules)&&s[l])},defineProperty(a,n,e){return e.get!=null?a._.accessCache[n]=0:Ta(e,"value")&&this.set(a,n,e.value,null),Reflect.defineProperty(a,n,e)}};function Ql(a){return Ca(a)?a.reduce((n,e)=>(n[e]=null,n),{}):a}let No=!0;function Xd(a){const n=es(a),e=a.proxy,i=a.ctx;No=!1,n.beforeCreate&&as(n.beforeCreate,a,"bc");const{data:t,computed:o,methods:r,watch:l,provide:s,inject:g,created:d,beforeMount:_,mounted:k,beforeUpdate:x,updated:D,activated:T,deactivated:$,beforeDestroy:w,beforeUnmount:L,destroyed:E,unmounted:I,render:G,renderTracked:S,renderTriggered:v,errorCaptured:K,serverPrefetch:O,expose:q,inheritAttrs:sa,components:ea,directives:ga,filters:Sa}=n;if(g&&Qd(g,i,null),r)for(const pa in r){const Y=r[pa];ka(Y)&&(i[pa]=Y.bind(e))}if(t){const pa=t.call(e,e);Na(pa)&&(a.data=pi(pa))}if(No=!0,o)for(const pa in o){const Y=o[pa],ta=ka(Y)?Y.bind(e,e):ka(Y.get)?Y.get.bind(e,e):Mn,aa=!ka(Y)&&ka(Y.set)?Y.set.bind(e):Mn,ba=la({get:ta,set:aa});Object.defineProperty(i,pa,{enumerable:!0,configurable:!0,get:()=>ba.value,set:na=>ba.value=na})}if(l)for(const pa in l)ns(l[pa],i,e,pa);if(s){const pa=ka(s)?s.call(e):s;Reflect.ownKeys(pa).forEach(Y=>{vn(Y,pa[Y])})}d&&as(d,a,"c");function ma(pa,Y){Ca(Y)?Y.forEach(ta=>pa(ta.bind(e))):Y&&pa(Y.bind(e))}if(ma(Zl,_),ma(Rn,k),ma(Ud,x),ma(Hd,D),ma(Kd,T),ma(Bd,$),ma(Yd,K),ma(Vd,S),ma(zd,v),ma(Ue,L),ma(wo,I),ma(Dd,O),Ca(q))if(q.length){const pa=a.exposed||(a.exposed={});q.forEach(Y=>{Object.defineProperty(pa,Y,{get:()=>e[Y],set:ta=>e[Y]=ta,enumerable:!0})})}else a.exposed||(a.exposed={});G&&a.render===Mn&&(a.render=G),sa!=null&&(a.inheritAttrs=sa),ea&&(a.components=ea),ga&&(a.directives=ga),O&&Mo(a)}function Qd(a,n,e=Mn){Ca(a)&&(a=Lo(a));for(const i in a){const t=a[i];let o;Na(t)?"default"in t?o=Ya(t.from||i,t.default,!0):o=Ya(t.from||i):o=Ya(t),Va(o)?Object.defineProperty(n,i,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):n[i]=o}}function as(a,n,e){Nn(Ca(a)?a.map(i=>i.bind(n.proxy)):a.bind(n.proxy),n,e)}function ns(a,n,e,i){let t=i.includes(".")?zl(e,i):()=>e[i];if(Da(a)){const o=n[a];ka(o)&&cn(t,o)}else if(ka(a))cn(t,a.bind(e));else if(Na(a))if(Ca(a))a.forEach(o=>ns(o,n,e,i));else{const o=ka(a.handler)?a.handler.bind(e):n[a.handler];ka(o)&&cn(t,o,a)}}function es(a){const n=a.type,{mixins:e,extends:i}=n,{mixins:t,optionsCache:o,config:{optionMergeStrategies:r}}=a.appContext,l=o.get(n);let s;return l?s=l:!t.length&&!e&&!i?s=n:(s={},t.length&&t.forEach(g=>_t(s,g,r,!0)),_t(s,n,r)),Na(n)&&o.set(n,s),s}function _t(a,n,e,i=!1){const{mixins:t,extends:o}=n;o&&_t(a,o,e,!0),t&&t.forEach(r=>_t(a,r,e,!0));for(const r in n)if(!(i&&r==="expose")){const l=ap[r]||e&&e[r];a[r]=l?l(a[r],n[r]):n[r]}return a}const ap={data:is,props:ts,emits:ts,methods:ki,computed:ki,beforeCreate:gn,created:gn,beforeMount:gn,mounted:gn,beforeUpdate:gn,updated:gn,beforeDestroy:gn,beforeUnmount:gn,destroyed:gn,unmounted:gn,activated:gn,deactivated:gn,errorCaptured:gn,serverPrefetch:gn,components:ki,directives:ki,watch:ep,provide:is,inject:np};function is(a,n){return n?a?function(){return Ja(ka(a)?a.call(this,this):a,ka(n)?n.call(this,this):n)}:n:a}function np(a,n){return ki(Lo(a),Lo(n))}function Lo(a){if(Ca(a)){const n={};for(let e=0;en==="modelValue"||n==="model-value"?a.modelModifiers:a[`${n}Modifiers`]||a[`${nn(n)}Modifiers`]||a[`${yn(n)}Modifiers`];function rp(a,n,...e){if(a.isUnmounted)return;const i=a.vnode.props||Fa;let t=e;const o=n.startsWith("update:"),r=o&&op(i,n.slice(7));r&&(r.trim&&(t=e.map(d=>Da(d)?d.trim():d)),r.number&&(t=e.map($u)));let l,s=i[l=so(n)]||i[l=so(nn(n))];!s&&o&&(s=i[l=so(yn(n))]),s&&Nn(s,a,6,t);const g=i[l+"Once"];if(g){if(!a.emitted)a.emitted={};else if(a.emitted[l])return;a.emitted[l]=!0,Nn(g,a,6,t)}}const lp=new WeakMap;function rs(a,n,e=!1){const i=e?lp:n.emitsCache,t=i.get(a);if(t!==void 0)return t;const o=a.emits;let r={},l=!1;if(!ka(a)){const s=g=>{const d=rs(g,n,!0);d&&(l=!0,Ja(r,d))};!e&&n.mixins.length&&n.mixins.forEach(s),a.extends&&s(a.extends),a.mixins&&a.mixins.forEach(s)}return!o&&!l?(Na(a)&&i.set(a,null),null):(Ca(o)?o.forEach(s=>r[s]=null):Ja(r,o),Na(a)&&i.set(a,r),r)}function ft(a,n){return!a||!qi(n)?!1:(n=n.slice(2).replace(/Once$/,""),Ta(a,n[0].toLowerCase()+n.slice(1))||Ta(a,yn(n))||Ta(a,n))}function Jf(){}function ls(a){const{type:n,vnode:e,proxy:i,withProxy:t,propsOptions:[o],slots:r,attrs:l,emit:s,render:g,renderCache:d,props:_,data:k,setupState:x,ctx:D,inheritAttrs:T}=a,$=mt(a);let w,L;try{if(e.shapeFlag&4){const I=t||i,G=I;w=$n(g.call(G,I,d,_,x,k,D)),L=l}else{const I=n;w=$n(I.length>1?I(_,{attrs:l,slots:r,emit:s}):I(_,null)),L=n.props?l:sp(l)}}catch(I){vi.length=0,yi(I,a,1),w=Wa(ge)}let E=w;if(L&&T!==!1){const I=Object.keys(L),{shapeFlag:G}=E;I.length&&G&7&&(o&&I.some(Xi)&&(L=cp(L,o)),E=He(E,L,!1,!0))}return e.dirs&&(E=He(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(e.dirs):e.dirs),e.transition&&Eo(E,e.transition),w=E,mt($),w}const sp=a=>{let n;for(const e in a)(e==="class"||e==="style"||qi(e))&&((n||(n={}))[e]=a[e]);return n},cp=(a,n)=>{const e={};for(const i in a)(!Xi(i)||!(i.slice(9)in n))&&(e[i]=a[i]);return e};function gp(a,n,e){const{props:i,children:t,component:o}=a,{props:r,children:l,patchFlag:s}=n,g=o.emitsOptions;if(n.dirs||n.transition)return!0;if(e&&s>=0){if(s&1024)return!0;if(s&16)return i?ss(i,r,g):!!r;if(s&8){const d=n.dynamicProps;for(let _=0;_Object.create(gs),ds=a=>Object.getPrototypeOf(a)===gs;function dp(a,n,e,i=!1){const t={},o=us();a.propsDefaults=Object.create(null),ps(a,n,t,o);for(const r in a.propsOptions[0])r in t||(t[r]=void 0);e?a.props=i?t:gd(t):a.type.props?a.props=t:a.props=o,a.attrs=o}function pp(a,n,e,i){const{props:t,attrs:o,vnode:{patchFlag:r}}=a,l=wa(t),[s]=a.propsOptions;let g=!1;if((i||r>0)&&!(r&16)){if(r&8){const d=a.vnode.dynamicProps;for(let _=0;_{s=!0;const[k,x]=ms(_,n,!0);Ja(r,k),x&&l.push(...x)};!e&&n.mixins.length&&n.mixins.forEach(d),a.extends&&d(a.extends),a.mixins&&a.mixins.forEach(d)}if(!o&&!s)return Na(a)&&i.set(a,Le),Le;if(Ca(o))for(let d=0;da==="_"||a==="_ctx"||a==="$stable",Fo=a=>Ca(a)?a.map($n):[$n(a)],hp=(a,n,e)=>{if(n._n)return n;const i=Sd((...t)=>Fo(n(...t)),e);return i._c=!1,i},ys=(a,n,e)=>{const i=a._ctx;for(const t in a){if($o(t))continue;const o=a[t];if(ka(o))n[t]=hp(t,o,i);else if(o!=null){const r=Fo(o);n[t]=()=>r}}},bs=(a,n)=>{const e=Fo(n);a.slots.default=()=>e},_s=(a,n,e)=>{for(const i in n)(e||!$o(i))&&(a[i]=n[i])},yp=(a,n,e)=>{const i=a.slots=us();if(a.vnode.shapeFlag&32){const t=n._;t?(_s(i,n,e),e&&cl(i,"_",t,!0)):ys(n,i)}else n&&bs(a,n)},bp=(a,n,e)=>{const{vnode:i,slots:t}=a;let o=!0,r=Fa;if(i.shapeFlag&32){const l=n._;l?e&&l===1?o=!1:_s(t,n,e):(o=!n.$stable,ys(n,t)),r=n}else n&&(bs(a,n),r={default:1});if(o)for(const l in t)!$o(l)&&r[l]==null&&delete t[l]},pn=jp;function _p(a){return fp(a)}function fp(a,n){const e=it();e.__VUE__=!0;const{insert:i,remove:t,patchProp:o,createElement:r,createText:l,createComment:s,setText:g,setElementText:d,parentNode:_,nextSibling:k,setScopeId:x=Mn,insertStaticContent:D}=a,T=(h,C,y,R=null,H=null,V=null,oa=void 0,Q=null,m=!!C.dynamicChildren)=>{if(h===C)return;h&&!Si(h,C)&&(R=P(h),na(h,H,V,!0),h=null),C.patchFlag===-2&&(m=!1,C.dynamicChildren=null);const{type:b,ref:F,shapeFlag:J}=C;switch(b){case Gi:$(h,C,y,R);break;case ge:w(h,C,y,R);break;case Pt:h==null&&L(C,y,R,oa);break;case Aa:ea(h,C,y,R,H,V,oa,Q,m);break;default:J&1?G(h,C,y,R,H,V,oa,Q,m):J&6?ga(h,C,y,R,H,V,oa,Q,m):(J&64||J&128)&&b.process(h,C,y,R,H,V,oa,Q,m,N)}F!=null&&H?Pi(F,h&&h.ref,V,C||h,!C):F==null&&h&&h.ref!=null&&Pi(h.ref,null,V,h,!0)},$=(h,C,y,R)=>{if(h==null)i(C.el=l(C.children),y,R);else{const H=C.el=h.el;C.children!==h.children&&g(H,C.children)}},w=(h,C,y,R)=>{h==null?i(C.el=s(C.children||""),y,R):C.el=h.el},L=(h,C,y,R)=>{[h.el,h.anchor]=D(h.children,C,y,R,h.el,h.anchor)},E=({el:h,anchor:C},y,R)=>{let H;for(;h&&h!==C;)H=k(h),i(h,y,R),h=H;i(C,y,R)},I=({el:h,anchor:C})=>{let y;for(;h&&h!==C;)y=k(h),t(h),h=y;t(C)},G=(h,C,y,R,H,V,oa,Q,m)=>{if(C.type==="svg"?oa="svg":C.type==="math"&&(oa="mathml"),h==null)S(C,y,R,H,V,oa,Q,m);else{const b=h.el&&h.el._isVueCE?h.el:null;try{b&&b._beginPatch(),O(h,C,H,V,oa,Q,m)}finally{b&&b._endPatch()}}},S=(h,C,y,R,H,V,oa,Q)=>{let m,b;const{props:F,shapeFlag:J,transition:ca,dirs:ra}=h;if(m=h.el=r(h.type,V,F&&F.is,F),J&8?d(m,h.children):J&16&&K(h.children,m,null,R,H,Ko(h,V),oa,Q),ra&&Ae(h,null,R,"created"),v(m,h,h.scopeId,oa,R),F){for(const Z in F)Z!=="value"&&!li(Z)&&o(m,Z,null,F[Z],V,R);"value"in F&&o(m,"value",null,F.value,V),(b=F.onVnodeBeforeMount)&&Fn(b,R,h)}ra&&Ae(h,null,R,"beforeMount");const B=Pp(H,ca);B&&ca.beforeEnter(m),i(m,C,y),((b=F&&F.onVnodeMounted)||B||ra)&&pn(()=>{try{b&&Fn(b,R,h),B&&ca.enter(m),ra&&Ae(h,null,R,"mounted")}finally{}},H)},v=(h,C,y,R,H)=>{if(y&&x(h,y),R)for(let V=0;V{for(let b=m;b{const Q=C.el=h.el;let{patchFlag:m,dynamicChildren:b,dirs:F}=C;m|=h.patchFlag&16;const J=h.props||Fa,ca=C.props||Fa;let ra;if(y&&Ee(y,!1),(ra=ca.onVnodeBeforeUpdate)&&Fn(ra,y,C,h),F&&Ae(C,h,y,"beforeUpdate"),y&&Ee(y,!0),(J.innerHTML&&ca.innerHTML==null||J.textContent&&ca.textContent==null)&&d(Q,""),b?q(h.dynamicChildren,b,Q,y,R,Ko(C,H),V):oa||Y(h,C,Q,null,y,R,Ko(C,H),V,!1),m>0){if(m&16)sa(Q,J,ca,y,H);else if(m&2&&J.class!==ca.class&&o(Q,"class",null,ca.class,H),m&4&&o(Q,"style",J.style,ca.style,H),m&8){const B=C.dynamicProps;for(let Z=0;Z{ra&&Fn(ra,y,C,h),F&&Ae(C,h,y,"updated")},R)},q=(h,C,y,R,H,V,oa)=>{for(let Q=0;Q{if(C!==y){if(C!==Fa)for(const V in C)!li(V)&&!(V in y)&&o(h,V,C[V],null,H,R);for(const V in y){if(li(V))continue;const oa=y[V],Q=C[V];oa!==Q&&V!=="value"&&o(h,V,Q,oa,H,R)}"value"in y&&o(h,"value",C.value,y.value,H)}},ea=(h,C,y,R,H,V,oa,Q,m)=>{const b=C.el=h?h.el:l(""),F=C.anchor=h?h.anchor:l("");let{patchFlag:J,dynamicChildren:ca,slotScopeIds:ra}=C;ra&&(Q=Q?Q.concat(ra):ra),h==null?(i(b,y,R),i(F,y,R),K(C.children||[],y,F,H,V,oa,Q,m)):J>0&&J&64&&ca&&h.dynamicChildren&&h.dynamicChildren.length===ca.length?(q(h.dynamicChildren,ca,y,H,V,oa,Q),(C.key!=null||H&&C===H.subTree)&&fs(h,C,!0)):Y(h,C,y,F,H,V,oa,Q,m)},ga=(h,C,y,R,H,V,oa,Q,m)=>{C.slotScopeIds=Q,h==null?C.shapeFlag&512?H.ctx.activate(C,y,R,oa,m):Sa(C,y,R,H,V,oa,m):Ma(h,C,m)},Sa=(h,C,y,R,H,V,oa)=>{const Q=h.component=Mp(h,R,H);if(Io(h)&&(Q.ctx.renderer=N),Ip(Q,!1,oa),Q.asyncDep){if(H&&H.registerDep(Q,ma,oa),!h.el){const m=Q.subTree=Wa(ge);w(null,m,C,y),h.placeholder=m.el}}else ma(Q,h,C,y,H,V,oa)},Ma=(h,C,y)=>{const R=C.component=h.component;if(gp(h,C,y))if(R.asyncDep&&!R.asyncResolved){pa(R,C,y);return}else R.next=C,R.update();else C.el=h.el,R.vnode=C},ma=(h,C,y,R,H,V,oa)=>{const Q=()=>{if(h.isMounted){let{next:J,bu:ca,u:ra,parent:B,vnode:Z}=h;{const qa=Ps(h);if(qa){J&&(J.el=Z.el,pa(h,J,oa)),qa.asyncDep.then(()=>{pn(()=>{h.isUnmounted||b()},H)});return}}let _a=J,va;Ee(h,!1),J?(J.el=Z.el,pa(h,J,oa)):J=Z,ca&&co(ca),(va=J.props&&J.props.onVnodeBeforeUpdate)&&Fn(va,B,J,Z),Ee(h,!0);const Ra=ls(h),an=h.subTree;h.subTree=Ra,T(an,Ra,_(an.el),P(an),h,H,V),J.el=Ra.el,_a===null&&up(h,Ra.el),ra&&pn(ra,H),(va=J.props&&J.props.onVnodeUpdated)&&pn(()=>Fn(va,B,J,Z),H)}else{let J;const{el:ca,props:ra}=C,{bm:B,m:Z,parent:_a,root:va,type:Ra}=h,an=Ci(C);Ee(h,!1),B&&co(B),!an&&(J=ra&&ra.onVnodeBeforeMount)&&Fn(J,_a,C),Ee(h,!0);{va.ce&&va.ce._hasShadowRoot()&&va.ce._injectChildStyle(Ra,h.parent?h.parent.type:void 0);const qa=h.subTree=ls(h);T(null,qa,y,R,h,H,V),C.el=qa.el}if(Z&&pn(Z,H),!an&&(J=ra&&ra.onVnodeMounted)){const qa=C;pn(()=>Fn(J,_a,qa),H)}(C.shapeFlag&256||_a&&Ci(_a.vnode)&&_a.vnode.shapeFlag&256)&&h.a&&pn(h.a,H),h.isMounted=!0,C=y=R=null}};h.scope.on();const m=h.effect=new bl(Q);h.scope.off();const b=h.update=m.run.bind(m),F=h.job=m.runIfDirty.bind(m);F.i=h,F.id=h.uid,m.scheduler=()=>Ao(F),Ee(h,!0),b()},pa=(h,C,y)=>{C.component=h;const R=h.vnode.props;h.vnode=C,h.next=null,pp(h,C.props,R,y),bp(h,C.children,y),wn(),Ol(h),xn()},Y=(h,C,y,R,H,V,oa,Q,m=!1)=>{const b=h&&h.children,F=h?h.shapeFlag:0,J=C.children,{patchFlag:ca,shapeFlag:ra}=C;if(ca>0){if(ca&128){aa(b,J,y,R,H,V,oa,Q,m);return}else if(ca&256){ta(b,J,y,R,H,V,oa,Q,m);return}}ra&8?(F&16&&c(b,H,V),J!==b&&d(y,J)):F&16?ra&16?aa(b,J,y,R,H,V,oa,Q,m):c(b,H,V,!0):(F&8&&d(y,""),ra&16&&K(J,y,R,H,V,oa,Q,m))},ta=(h,C,y,R,H,V,oa,Q,m)=>{h=h||Le,C=C||Le;const b=h.length,F=C.length,J=Math.min(b,F);let ca;for(ca=0;caF?c(h,H,V,!0,!1,J):K(C,y,R,H,V,oa,Q,m,J)},aa=(h,C,y,R,H,V,oa,Q,m)=>{let b=0;const F=C.length;let J=h.length-1,ca=F-1;for(;b<=J&&b<=ca;){const ra=h[b],B=C[b]=m?Zn(C[b]):$n(C[b]);if(Si(ra,B))T(ra,B,y,null,H,V,oa,Q,m);else break;b++}for(;b<=J&&b<=ca;){const ra=h[J],B=C[ca]=m?Zn(C[ca]):$n(C[ca]);if(Si(ra,B))T(ra,B,y,null,H,V,oa,Q,m);else break;J--,ca--}if(b>J){if(b<=ca){const ra=ca+1,B=raca)for(;b<=J;)na(h[b],H,V,!0),b++;else{const ra=b,B=b,Z=new Map;for(b=B;b<=ca;b++){const Ba=C[b]=m?Zn(C[b]):$n(C[b]);Ba.key!=null&&Z.set(Ba.key,b)}let _a,va=0;const Ra=ca-B+1;let an=!1,qa=0;const Pa=new Array(Ra);for(b=0;b=Ra){na(Ba,H,V,!0);continue}let dn;if(Ba.key!=null)dn=Z.get(Ba.key);else for(_a=B;_a<=ca;_a++)if(Pa[_a-B]===0&&Si(Ba,C[_a])){dn=_a;break}dn===void 0?na(Ba,H,V,!0):(Pa[dn-B]=b+1,dn>=qa?qa=dn:an=!0,T(Ba,C[dn],y,null,H,V,oa,Q,m),va++)}const $a=an?Cp(Pa):Le;for(_a=$a.length-1,b=Ra-1;b>=0;b--){const Ba=B+b,dn=C[Ba],Ne=C[Ba+1],hn=Ba+1{const{el:V,type:oa,transition:Q,children:m,shapeFlag:b}=h;if(b&6){ba(h.component.subTree,C,y,R);return}if(b&128){h.suspense.move(C,y,R);return}if(b&64){oa.move(h,C,y,N);return}if(oa===Aa){i(V,C,y);for(let J=0;JQ.enter(V),H);else{const{leave:J,delayLeave:ca,afterLeave:ra}=Q,B=()=>{h.ctx.isUnmounted?t(V):i(V,C,y)},Z=()=>{V._isLeaving&&V[Rd](!0),J(V,()=>{B(),ra&&ra()})};ca?ca(V,B,Z):Z()}else i(V,C,y)},na=(h,C,y,R=!1,H=!1)=>{const{type:V,props:oa,ref:Q,children:m,dynamicChildren:b,shapeFlag:F,patchFlag:J,dirs:ca,cacheIndex:ra,memo:B}=h;if(J===-2&&(H=!1),Q!=null&&(wn(),Pi(Q,null,y,h,!0),xn()),ra!=null&&(C.renderCache[ra]=void 0),F&256){C.ctx.deactivate(h);return}const Z=F&1&&ca,_a=!Ci(h);let va;if(_a&&(va=oa&&oa.onVnodeBeforeUnmount)&&Fn(va,C,h),F&6)j(h.component,y,R);else{if(F&128){h.suspense.unmount(y,R);return}Z&&Ae(h,null,C,"beforeUnmount"),F&64?h.type.remove(h,C,y,N,R):b&&!b.hasOnce&&(V!==Aa||J>0&&J&64)?c(b,C,y,!1,!0):(V===Aa&&J&384||!H&&F&16)&&c(m,C,y),R&&u(h)}const Ra=B!=null&&ra==null;(_a&&(va=oa&&oa.onVnodeUnmounted)||Z||Ra)&&pn(()=>{va&&Fn(va,C,h),Z&&Ae(h,null,C,"unmounted"),Ra&&(h.el=null)},y)},u=h=>{const{type:C,el:y,anchor:R,transition:H}=h;if(C===Aa){A(y,R);return}if(C===Pt){I(h);return}const V=()=>{t(y),H&&!H.persisted&&H.afterLeave&&H.afterLeave()};if(h.shapeFlag&1&&H&&!H.persisted){const{leave:oa,delayLeave:Q}=H,m=()=>oa(y,V);Q?Q(h.el,V,m):m()}else V()},A=(h,C)=>{let y;for(;h!==C;)y=k(h),t(h),h=y;t(C)},j=(h,C,y)=>{const{bum:R,scope:H,job:V,subTree:oa,um:Q,m,a:b}=h;Cs(m),Cs(b),R&&co(R),H.stop(),V&&(V.flags|=8,na(oa,h,C,y)),Q&&pn(Q,C),pn(()=>{h.isUnmounted=!0},C)},c=(h,C,y,R=!1,H=!1,V=0)=>{for(let oa=V;oa{if(h.shapeFlag&6)return P(h.component.subTree);if(h.shapeFlag&128)return h.suspense.next();const C=k(h.anchor||h.el),y=C&&C[Nd];return y?k(y):C};let p=!1;const M=(h,C,y)=>{let R;h==null?C._vnode&&(na(C._vnode,null,null,!0),R=C._vnode.component):T(C._vnode||null,h,C,null,null,null,y),C._vnode=h,p||(p=!0,Ol(R),Ul(),p=!1)},N={p:T,um:na,m:ba,r:u,mt:Sa,mc:K,pc:Y,pbc:q,n:P,o:a};return{render:M,hydrate:void 0,createApp:tp(M)}}function Ko({type:a,props:n},e){return e==="svg"&&a==="foreignObject"||e==="mathml"&&a==="annotation-xml"&&n&&n.encoding&&n.encoding.includes("html")?void 0:e}function Ee({effect:a,job:n},e){e?(a.flags|=32,n.flags|=4):(a.flags&=-33,n.flags&=-5)}function Pp(a,n){return(!a||a&&!a.pendingBranch)&&n&&!n.persisted}function fs(a,n,e=!1){const i=a.children,t=n.children;if(Ca(i)&&Ca(t))for(let o=0;o>1,a[e[l]]0&&(n[i]=e[o-1]),e[o]=i)}}for(o=e.length,r=e[o-1];o-- >0;)e[o]=r,r=n[r];return e}function Ps(a){const n=a.subTree.component;if(n)return n.asyncDep&&!n.asyncResolved?n:Ps(n)}function Cs(a){if(a)for(let n=0;na.__isSuspense;function jp(a,n){n&&n.pendingBranch?Ca(a)?n.effects.push(...a):n.effects.push(a):Ad(a)}const Aa=Symbol.for("v-fgt"),Gi=Symbol.for("v-txt"),ge=Symbol.for("v-cmt"),Pt=Symbol.for("v-stc"),vi=[];let fn=null;function z(a=!1){vi.push(fn=a?null:[])}function kp(){vi.pop(),fn=vi[vi.length-1]||null}let Ai=1;function Ct(a,n=!1){Ai+=a,a<0&&fn&&n&&(fn.hasOnce=!0)}function Gs(a){return a.dynamicChildren=Ai>0?fn||Le:null,kp(),Ai>0&&fn&&fn.push(a),a}function W(a,n,e,i,t,o){return Gs(f(a,n,e,i,t,o,!0))}function Me(a,n,e,i,t){return Gs(Wa(a,n,e,i,t,!0))}function jt(a){return a?a.__v_isVNode===!0:!1}function Si(a,n){return a.type===n.type&&a.key===n.key}const vs=({key:a})=>a??null,kt=({ref:a,ref_key:n,ref_for:e})=>(typeof a=="number"&&(a=""+a),a!=null?Da(a)||Va(a)||ka(a)?{i:_n,r:a,k:n,f:!!e}:a:null);function f(a,n=null,e=null,i=0,t=null,o=a===Aa?0:1,r=!1,l=!1){const s={__v_isVNode:!0,__v_skip:!0,type:a,props:n,key:n&&vs(n),ref:n&&kt(n),scopeId:Dl,slotScopeIds:null,children:e,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:o,patchFlag:i,dynamicProps:t,dynamicChildren:null,appContext:null,ctx:_n};return l?(Bo(s,e),o&128&&a.normalize(s)):e&&(s.shapeFlag|=Da(e)?8:16),Ai>0&&!r&&fn&&(s.patchFlag>0||o&6)&&s.patchFlag!==32&&fn.push(s),s}const Wa=Gp;function Gp(a,n=null,e=null,i=0,t=null,o=!1){if((!a||a===ql)&&(a=ge),jt(a)){const l=He(a,n,!0);return e&&Bo(l,e),Ai>0&&!o&&fn&&(l.shapeFlag&6?fn[fn.indexOf(a)]=l:fn.push(l)),l.patchFlag=-2,l}if(Rp(a)&&(a=a.__vccOpts),n){n=vp(n);let{class:l,style:s}=n;l&&!Da(l)&&(n.class=Ia(l)),Na(s)&&(gt(s)&&!Ca(s)&&(s=Ja({},s)),n.style=Ka(s))}const r=Da(a)?1:ks(a)?128:Ld(a)?64:Na(a)?4:ka(a)?2:0;return f(a,n,e,i,t,r,o,!0)}function vp(a){return a?gt(a)||ds(a)?Ja({},a):a:null}function He(a,n,e=!1,i=!1){const{props:t,ref:o,patchFlag:r,children:l,transition:s}=a,g=n?Ap(t||{},n):t,d={__v_isVNode:!0,__v_skip:!0,type:a.type,props:g,key:g&&vs(g),ref:n&&n.ref?e&&o?Ca(o)?o.concat(kt(n)):[o,kt(n)]:kt(n):o,scopeId:a.scopeId,slotScopeIds:a.slotScopeIds,children:l,target:a.target,targetStart:a.targetStart,targetAnchor:a.targetAnchor,staticCount:a.staticCount,shapeFlag:a.shapeFlag,patchFlag:n&&a.type!==Aa?r===-1?16:r|16:r,dynamicProps:a.dynamicProps,dynamicChildren:a.dynamicChildren,appContext:a.appContext,dirs:a.dirs,transition:s,component:a.component,suspense:a.suspense,ssContent:a.ssContent&&He(a.ssContent),ssFallback:a.ssFallback&&He(a.ssFallback),placeholder:a.placeholder,el:a.el,anchor:a.anchor,ctx:a.ctx,ce:a.ce};return s&&i&&Eo(d,s.clone(d)),d}function ya(a=" ",n=0){return Wa(Gi,null,a,n)}function As(a,n){const e=Wa(Pt,null,a);return e.staticCount=n,e}function fa(a="",n=!1){return n?(z(),Me(ge,null,a)):Wa(ge,null,a)}function $n(a){return a==null||typeof a=="boolean"?Wa(ge):Ca(a)?Wa(Aa,null,a.slice()):jt(a)?Zn(a):Wa(Gi,null,String(a))}function Zn(a){return a.el===null&&a.patchFlag!==-1||a.memo?a:He(a)}function Bo(a,n){let e=0;const{shapeFlag:i}=a;if(n==null)n=null;else if(Ca(n))e=16;else if(typeof n=="object")if(i&65){const t=n.default;t&&(t._c&&(t._d=!1),Bo(a,t()),t._c&&(t._d=!0));return}else{e=32;const t=n._;!t&&!ds(n)?n._ctx=_n:t===3&&_n&&(_n.slots._===1?n._=1:(n._=2,a.patchFlag|=1024))}else ka(n)?(n={default:n,_ctx:_n},e=32):(n=String(n),i&64?(e=16,n=[ya(n)]):e=8);a.children=n,a.shapeFlag|=e}function Ap(...a){const n={};for(let e=0;etn||_n;let Gt,Oo;{const a=it(),n=(e,i)=>{let t;return(t=a[e])||(t=a[e]=[]),t.push(i),o=>{t.length>1?t.forEach(r=>r(o)):t[0](o)}};Gt=n("__VUE_INSTANCE_SETTERS__",e=>tn=e),Oo=n("__VUE_SSR_SETTERS__",e=>De=e)}const Ei=a=>{const n=tn;return Gt(a),a.scope.on(),()=>{a.scope.off(),Gt(n)}},Ss=()=>{tn&&tn.scope.off(),Gt(null)};function Es(a){return a.vnode.shapeFlag&4}let De=!1;function Ip(a,n=!1,e=!1){n&&Oo(n);const{props:i,children:t}=a.vnode,o=Es(a);dp(a,i,o,n),yp(a,t,e||n);const r=o?wp(a,n):void 0;return n&&Oo(!1),r}function wp(a,n){const e=a.type;a.accessCache=Object.create(null),a.proxy=new Proxy(a.ctx,qd);const{setup:i}=e;if(i){wn();const t=a.setupContext=i.length>1?Tp(a):null,o=Ei(a),r=Ke(i,a,0,[a.props,t]),l=ll(r);if(xn(),o(),(l||a.sp)&&!Ci(a)&&Mo(a),l){if(r.then(Ss,Ss),n)return r.then(s=>{Ms(a,s)}).catch(s=>{yi(s,a,0)});a.asyncDep=r}else Ms(a,r)}else Is(a)}function Ms(a,n,e){ka(n)?a.type.__ssrInlineRender?a.ssrRender=n:a.render=n:Na(n)&&(a.setupState=$l(n)),Is(a)}function Is(a,n,e){const i=a.type;a.render||(a.render=i.render||Mn);{const t=Ei(a);wn();try{Xd(a)}finally{xn(),t()}}}const xp={get(a,n){return rn(a,"get",""),a[n]}};function Tp(a){const n=e=>{a.exposed=e||{}};return{attrs:new Proxy(a.attrs,xp),slots:a.slots,emit:a.emit,expose:n}}function vt(a){return a.exposed?a.exposeProxy||(a.exposeProxy=new Proxy($l(mi(a.exposed)),{get(n,e){if(e in n)return n[e];if(e in ji)return ji[e](a)},has(n,e){return e in n||e in ji}})):a.proxy}const Np=/(?:^|[-_])\w/g,Lp=a=>a.replace(Np,n=>n.toUpperCase()).replace(/[-_]/g,"");function ws(a,n=!0){return ka(a)?a.displayName||a.name:a.name||n&&a.__name}function xs(a,n,e=!1){let i=ws(n);if(!i&&n.__file){const t=n.__file.match(/([^/\\]+)\.\w+$/);t&&(i=t[1])}if(!i&&a){const t=o=>{for(const r in o)if(o[r]===n)return r};i=t(a.components)||a.parent&&t(a.parent.type.components)||t(a.appContext.components)}return i?Lp(i):e?"App":"Anonymous"}function Rp(a){return ka(a)&&"__vccOpts"in a}const la=(a,n)=>bd(a,n,De);function Ts(a,n,e){try{Ct(-1);const i=arguments.length;return i===2?Na(n)&&!Ca(n)?jt(n)?Wa(a,null,[n]):Wa(a,n):Wa(a,null,n):(i>3?e=Array.prototype.slice.call(arguments,2):i===3&&jt(e)&&(e=[e]),Wa(a,n,e))}finally{Ct(1)}}const $p="3.5.34";/** +* @vue/runtime-dom v3.5.34 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Uo;const Ns=typeof window<"u"&&window.trustedTypes;if(Ns)try{Uo=Ns.createPolicy("vue",{createHTML:a=>a})}catch{}const Ls=Uo?a=>Uo.createHTML(a):a=>a,Fp="http://www.w3.org/2000/svg",Kp="http://www.w3.org/1998/Math/MathML",qn=typeof document<"u"?document:null,Rs=qn&&qn.createElement("template"),Bp={insert:(a,n,e)=>{n.insertBefore(a,e||null)},remove:a=>{const n=a.parentNode;n&&n.removeChild(a)},createElement:(a,n,e,i)=>{const t=n==="svg"?qn.createElementNS(Fp,a):n==="mathml"?qn.createElementNS(Kp,a):e?qn.createElement(a,{is:e}):qn.createElement(a);return a==="select"&&i&&i.multiple!=null&&t.setAttribute("multiple",i.multiple),t},createText:a=>qn.createTextNode(a),createComment:a=>qn.createComment(a),setText:(a,n)=>{a.nodeValue=n},setElementText:(a,n)=>{a.textContent=n},parentNode:a=>a.parentNode,nextSibling:a=>a.nextSibling,querySelector:a=>qn.querySelector(a),setScopeId(a,n){a.setAttribute(n,"")},insertStaticContent(a,n,e,i,t,o){const r=e?e.previousSibling:n.lastChild;if(t&&(t===o||t.nextSibling))for(;n.insertBefore(t.cloneNode(!0),e),!(t===o||!(t=t.nextSibling)););else{Rs.innerHTML=Ls(i==="svg"?`${a}`:i==="mathml"?`${a}`:a);const l=Rs.content;if(i==="svg"||i==="mathml"){const s=l.firstChild;for(;s.firstChild;)l.appendChild(s.firstChild);l.removeChild(s)}n.insertBefore(l,e)}return[r?r.nextSibling:n.firstChild,e?e.previousSibling:n.lastChild]}},Op=Symbol("_vtc");function Up(a,n,e){const i=a[Op];i&&(n=(n?[n,...i]:[...i]).join(" ")),n==null?a.removeAttribute("class"):e?a.setAttribute("class",n):a.className=n}const At=Symbol("_vod"),$s=Symbol("_vsh"),Hp={name:"show",beforeMount(a,{value:n},{transition:e}){a[At]=a.style.display==="none"?"":a.style.display,e&&n?e.beforeEnter(a):Mi(a,n)},mounted(a,{value:n},{transition:e}){e&&n&&e.enter(a)},updated(a,{value:n,oldValue:e},{transition:i}){!n!=!e&&(i?n?(i.beforeEnter(a),Mi(a,!0),i.enter(a)):i.leave(a,()=>{Mi(a,!1)}):Mi(a,n))},beforeUnmount(a,{value:n}){Mi(a,n)}};function Mi(a,n){a.style.display=n?a[At]:"none",a[$s]=!n}const Dp=Symbol(""),zp=/(?:^|;)\s*display\s*:/;function Vp(a,n,e){const i=a.style,t=Da(e);let o=!1;if(e&&!t){if(n)if(Da(n))for(const r of n.split(";")){const l=r.slice(0,r.indexOf(":")).trim();e[l]==null&&Ii(i,l,"")}else for(const r in n)e[r]==null&&Ii(i,r,"");for(const r in e){r==="display"&&(o=!0);const l=e[r];l!=null?Wp(a,r,!Da(n)&&n?n[r]:void 0,l)||Ii(i,r,l):Ii(i,r,"")}}else if(t){if(n!==e){const r=i[Dp];r&&(e+=";"+r),i.cssText=e,o=zp.test(e)}}else n&&a.removeAttribute("style");At in a&&(a[At]=o?i.display:"",a[$s]&&(i.display="none"))}const Fs=/\s*!important$/;function Ii(a,n,e){if(Ca(e))e.forEach(i=>Ii(a,n,i));else if(e==null&&(e=""),n.startsWith("--"))a.setProperty(n,e);else{const i=Yp(a,n);Fs.test(e)?a.setProperty(yn(i),e.replace(Fs,""),"important"):a[i]=e}}const Ks=["Webkit","Moz","ms"],Ho={};function Yp(a,n){const e=Ho[n];if(e)return e;let i=nn(n);if(i!=="filter"&&i in a)return Ho[n]=i;i=et(i);for(let t=0;tDo||(Qp.then(()=>Do=0),Do=Date.now());function nm(a,n){const e=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=e.attached)return;Nn(em(i,e.value),n,5,[i])};return e.value=a,e.attached=am(),e}function em(a,n){if(Ca(n)){const e=a.stopImmediatePropagation;return a.stopImmediatePropagation=()=>{e.call(a),a._stopped=!0},n.map(i=>t=>!t._stopped&&i&&i(t))}else return n}const zs=a=>a.charCodeAt(0)===111&&a.charCodeAt(1)===110&&a.charCodeAt(2)>96&&a.charCodeAt(2)<123,im=(a,n,e,i,t,o)=>{const r=t==="svg";n==="class"?Up(a,i,r):n==="style"?Vp(a,e,i):qi(n)?Xi(n)||qp(a,n,e,i,o):(n[0]==="."?(n=n.slice(1),!0):n[0]==="^"?(n=n.slice(1),!1):tm(a,n,i,r))?(Us(a,n,i),!a.tagName.includes("-")&&(n==="value"||n==="checked"||n==="selected")&&Os(a,n,i,r,o,n!=="value")):a._isVueCE&&(om(a,n)||a._def.__asyncLoader&&(/[A-Z]/.test(n)||!Da(i)))?Us(a,nn(n),i,o,n):(n==="true-value"?a._trueValue=i:n==="false-value"&&(a._falseValue=i),Os(a,n,i,r))};function tm(a,n,e,i){if(i)return!!(n==="innerHTML"||n==="textContent"||n in a&&zs(n)&&ka(e));if(n==="spellcheck"||n==="draggable"||n==="translate"||n==="autocorrect"||n==="sandbox"&&a.tagName==="IFRAME"||n==="form"||n==="list"&&a.tagName==="INPUT"||n==="type"&&a.tagName==="TEXTAREA")return!1;if(n==="width"||n==="height"){const t=a.tagName;if(t==="IMG"||t==="VIDEO"||t==="CANVAS"||t==="SOURCE")return!1}return zs(n)&&Da(e)?!1:n in a}function om(a,n){const e=a._def.props;if(!e)return!1;const i=nn(n);return Array.isArray(e)?e.some(t=>nn(t)===i):Object.keys(e).some(t=>nn(t)===i)}const Vs={};function rm(a,n,e){let i=fi(a,n);Qi(i)&&(i=Ja({},i,n));class t extends zo{constructor(r){super(i,r,e)}}return t.def=i,t}const lm=typeof HTMLElement<"u"?HTMLElement:class{};class zo extends lm{constructor(n,e={},i=Zs){super(),this._def=n,this._props=e,this._createApp=i,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&&i!==Zs?this._root=this.shadowRoot:n.shadowRoot!==!1?(this.attachShadow(Ja({},n.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 n=this;for(;n=n&&(n.assignedSlot||n.parentNode||n.host);)if(n instanceof zo){this._parent=n;break}this._instance||(this._resolved?this._mount(this._def):n&&n._pendingResolve?this._pendingResolve=n._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(n=this._parent){n&&(this._instance.parent=n._instance,this._inheritParentContext(n))}_inheritParentContext(n=this._parent){n&&this._app&&Object.setPrototypeOf(this._app._context.provides,n._instance.provides)}disconnectedCallback(){this._connected=!1,bi(()=>{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(n){for(const e of n)this._setAttr(e.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let i=0;i{this._resolved=!0,this._pendingResolve=void 0;const{props:o,styles:r}=i;let l;if(o&&!Ca(o))for(const s in o){const g=o[s];(g===Number||g&&g.type===Number)&&(s in this._props&&(this._props[s]=gl(this._props[s])),(l||(l=Object.create(null)))[nn(s)]=!0)}this._numberProps=l,this._resolveProps(i),this.shadowRoot&&this._applyStyles(r),this._mount(i)},e=this._def.__asyncLoader;e?this._pendingResolve=e().then(i=>{i.configureApp=this._def.configureApp,n(this._def=i,!0)}):n(this._def)}_mount(n){this._app=this._createApp(n),this._inheritParentContext(),n.configureApp&&n.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const e=this._instance&&this._instance.exposed;if(e)for(const i in e)Ta(this,i)||Object.defineProperty(this,i,{get:()=>ha(e[i])})}_resolveProps(n){const{props:e}=n,i=Ca(e)?e:Object.keys(e||{});for(const t of Object.keys(this))t[0]!=="_"&&i.includes(t)&&this._setProp(t,this[t]);for(const t of i.map(nn))Object.defineProperty(this,t,{get(){return this._getProp(t)},set(o){this._setProp(t,o,!0,!this._patching)}})}_setAttr(n){if(n.startsWith("data-v-"))return;const e=this.hasAttribute(n);let i=e?this.getAttribute(n):Vs;const t=nn(n);e&&this._numberProps&&this._numberProps[t]&&(i=gl(i)),this._setProp(t,i,!1,!0)}_getProp(n){return this._props[n]}_setProp(n,e,i=!0,t=!1){if(e!==this._props[n]&&(this._dirty=!0,e===Vs?delete this._props[n]:(this._props[n]=e,n==="key"&&this._app&&(this._app._ceVNode.key=e)),t&&this._instance&&this._update(),i)){const o=this._ob;o&&(this._processMutations(o.takeRecords()),o.disconnect()),e===!0?this.setAttribute(yn(n),""):typeof e=="string"||typeof e=="number"?this.setAttribute(yn(n),e+""):e||this.removeAttribute(yn(n)),o&&o.observe(this,{attributes:!0})}}_update(){const n=this._createVNode();this._app&&(n.appContext=this._app._context),dm(n,this._root)}_createVNode(){const n={};this.shadowRoot||(n.onVnodeMounted=n.onVnodeUpdated=this._renderSlots.bind(this));const e=Wa(this._def,Ja(n,this._props));return this._instance||(e.ce=i=>{this._instance=i,i.ce=this,i.isCE=!0;const t=(o,r)=>{this.dispatchEvent(new CustomEvent(o,Qi(r[0])?Ja({detail:r},r[0]):{detail:r}))};i.emit=(o,...r)=>{t(o,r),yn(o)!==o&&t(yn(o),r)},this._setParent()}),e}_applyStyles(n,e,i){if(!n)return;if(e){if(e===this._def||this._styleChildren.has(e))return;this._styleChildren.add(e)}const t=this._nonce,o=this.shadowRoot,r=i?this._getStyleAnchor(i)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(o);let l=null;for(let s=n.length-1;s>=0;s--){const g=document.createElement("style");t&&g.setAttribute("nonce",t),g.textContent=n[s],o.insertBefore(g,l||r),l=g,s===0&&(i||this._styleAnchors.set(this._def,g),e&&this._styleAnchors.set(e,g))}}_getStyleAnchor(n){if(!n)return null;const e=this._styleAnchors.get(n);return e&&e.parentNode===this.shadowRoot?e:(e&&this._styleAnchors.delete(n),null)}_getRootStyleInsertionAnchor(n){for(let e=0;ea.stopPropagation(),prevent:a=>a.preventDefault(),self:a=>a.target!==a.currentTarget,ctrl:a=>!a.ctrlKey,shift:a=>!a.shiftKey,alt:a=>!a.altKey,meta:a=>!a.metaKey,left:a=>"button"in a&&a.button!==0,middle:a=>"button"in a&&a.button!==1,right:a=>"button"in a&&a.button!==2,exact:(a,n)=>sm.some(e=>a[`${e}Key`]&&!n.includes(e))},Xn=(a,n)=>{if(!a)return a;const e=a._withMods||(a._withMods={}),i=n.join(".");return e[i]||(e[i]=(t,...o)=>{for(let r=0;r{const e=a._withKeys||(a._withKeys={}),i=n.join(".");return e[i]||(e[i]=t=>{if(!("key"in t))return;const o=yn(t.key);if(n.some(r=>r===o||gm[r]===o))return a(t)})},um=Ja({patchProp:im},Bp);let Ws;function Js(){return Ws||(Ws=_p(um))}const dm=(...a)=>{Js().render(...a)},Zs=(...a)=>{const n=Js().createApp(...a),{mount:e}=n;return n.mount=i=>{const t=mm(i);if(!t)return;const o=n._component;!ka(o)&&!o.render&&!o.template&&(o.template=t.innerHTML),t.nodeType===1&&(t.textContent="");const r=e(t,!1,pm(t));return t instanceof Element&&(t.removeAttribute("v-cloak"),t.setAttribute("data-v-app","")),r},n};function pm(a){if(a instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&a instanceof MathMLElement)return"mathml"}function mm(a){return Da(a)?document.querySelector(a):a}/*! + * pinia v2.3.1 + * (c) 2025 Eduardo San Martin Morote + * @license MIT + */let qs;const St=a=>qs=a,Xs=Symbol();function Vo(a){return a&&typeof a=="object"&&Object.prototype.toString.call(a)==="[object Object]"&&typeof a.toJSON!="function"}var wi;(function(a){a.direct="direct",a.patchObject="patch object",a.patchFunction="patch function"})(wi||(wi={}));function hm(){const a=po(!0),n=a.run(()=>ua({}));let e=[],i=[];const t=mi({install(o){St(t),t._a=o,o.provide(Xs,t),o.config.globalProperties.$pinia=t,i.forEach(r=>e.push(r)),i=[]},use(o){return this._a?e.push(o):i.push(o),this},_p:e,_a:null,_e:a,_s:new Map,state:n});return t}const Qs=()=>{};function ac(a,n,e,i=Qs){a.push(n);const t=()=>{const o=a.indexOf(n);o>-1&&(a.splice(o,1),i())};return!e&&yl()&&Du(t),t}function ze(a,...n){a.slice().forEach(e=>{e(...n)})}const ym=a=>a(),nc=Symbol(),Yo=Symbol();function Wo(a,n){a instanceof Map&&n instanceof Map?n.forEach((e,i)=>a.set(i,e)):a instanceof Set&&n instanceof Set&&n.forEach(a.add,a);for(const e in n){if(!n.hasOwnProperty(e))continue;const i=n[e],t=a[e];Vo(t)&&Vo(i)&&a.hasOwnProperty(e)&&!Va(i)&&!Vn(i)?a[e]=Wo(t,i):a[e]=i}return a}const bm=Symbol();function _m(a){return!Vo(a)||!a.hasOwnProperty(bm)}const{assign:de}=Object;function fm(a){return!!(Va(a)&&a.effect)}function Pm(a,n,e,i){const{state:t,actions:o,getters:r}=n,l=e.state.value[a];let s;function g(){l||(e.state.value[a]=t?t():{});const d=pd(e.state.value[a]);return de(d,o,Object.keys(r||{}).reduce((_,k)=>(_[k]=mi(la(()=>{St(e);const x=e._s.get(a);return r[k].call(x,x)})),_),{}))}return s=ec(a,g,n,e,i,!0),s}function ec(a,n,e={},i,t,o){let r;const l=de({actions:{}},e),s={deep:!0};let g,d,_=[],k=[],x;const D=i.state.value[a];!o&&!D&&(i.state.value[a]={});let T;function $(K){let O;g=d=!1,typeof K=="function"?(K(i.state.value[a]),O={type:wi.patchFunction,storeId:a,events:x}):(Wo(i.state.value[a],K),O={type:wi.patchObject,payload:K,storeId:a,events:x});const q=T=Symbol();bi().then(()=>{T===q&&(g=!0)}),d=!0,ze(_,O,i.state.value[a])}const w=o?function(){const{state:O}=e,q=O?O():{};this.$patch(sa=>{de(sa,q)})}:Qs;function L(){r.stop(),_=[],k=[],i._s.delete(a)}const E=(K,O="")=>{if(nc in K)return K[Yo]=O,K;const q=function(){St(i);const sa=Array.from(arguments),ea=[],ga=[];function Sa(pa){ea.push(pa)}function Ma(pa){ga.push(pa)}ze(k,{args:sa,name:q[Yo],store:G,after:Sa,onError:Ma});let ma;try{ma=K.apply(this&&this.$id===a?this:G,sa)}catch(pa){throw ze(ga,pa),pa}return ma instanceof Promise?ma.then(pa=>(ze(ea,pa),pa)).catch(pa=>(ze(ga,pa),Promise.reject(pa))):(ze(ea,ma),ma)};return q[nc]=!0,q[Yo]=O,q},I={_p:i,$id:a,$onAction:ac.bind(null,k),$patch:$,$reset:w,$subscribe(K,O={}){const q=ac(_,K,O.detached,()=>sa()),sa=r.run(()=>cn(()=>i.state.value[a],ea=>{(O.flush==="sync"?d:g)&&K({storeId:a,type:wi.direct,events:x},ea)},de({},s,O)));return q},$dispose:L},G=pi(I);i._s.set(a,G);const v=(i._a&&i._a.runWithContext||ym)(()=>i._e.run(()=>(r=po()).run(()=>n({action:E}))));for(const K in v){const O=v[K];if(Va(O)&&!fm(O)||Vn(O))o||(D&&_m(O)&&(Va(O)?O.value=D[K]:Wo(O,D[K])),i.state.value[a][K]=O);else if(typeof O=="function"){const q=E(O,K);v[K]=q,l.actions[K]=O}}return de(G,v),de(wa(G),v),Object.defineProperty(G,"$state",{get:()=>i.state.value[a],set:K=>{$(O=>{de(O,K)})}}),i._p.forEach(K=>{de(G,r.run(()=>K({store:G,app:i._a,pinia:i,options:l})))}),D&&o&&e.hydrate&&e.hydrate(G.$state,D),g=!0,d=!0,G}/*! #__NO_SIDE_EFFECTS__ */function Jo(a,n,e){let i,t;const o=typeof n=="function";typeof a=="string"?(i=a,t=o?e:n):(t=a,i=a.id);function r(l,s){const g=Md();return l=l||(g?Ya(Xs,null):null),l&&St(l),l=qs,l._s.has(i)||(o?ec(i,n,t,l):Pm(i,t,l)),l._s.get(i)}return r.$id=i,r}const Cm={backToLegend:"العودة إلى المفتاح",closeDetailView:"إغلاق عرض التفاصيل"},jm={prayForThem:"صلِّ من أجلهم",adoptThem:"تبنَّهم",moreInfo:"مزيد من المعلومات",zoomIn:"تكبير",zoomOut:"تصغير",switchToLightMode:"التبديل إلى الوضع الفاتح",switchToDarkMode:"التبديل إلى الوضع الداكن",resetView:"إعادة تعيين العرض",toggleFullscreen:"تبديل ملء الشاشة",aboutThisMap:"حول هذه الخريطة",closeMenu:"إغلاق القائمة",reloadMap:"إعادة تحميل الخريطة",showClusters:"إظهار المجموعات",clusterSettings:"إعدادات المجموعات",startAutoFly:"بدء الطيران التلقائي",stopFlight:"إيقاف الطيران",speedLabel:"السرعة:",speedOption:{slow:"بطيء",normal:"عادي",fast:"سريع"},shareEmbed:"مشاركة وتضمين"},km={labels:{country:"الدولة:",population:"السكان:",language:"اللغة:",religion:"الديانة:",languageFamily:"العائلة اللغوية:",peopleCommitted:"ملتزمون بالصلاة:"},messages:{noDescription:"لا يوجد وصف متاح."}},Gm={title:{prayer:"تقدم الصلاة",engagement:"تقدم الانخراط",adoption:"تقدم التبني",languageFamilies:"العائلات اللغوية",geoRegions:"مناطق",affinityBlocs:"كتل القرابة",gospelResources:"موارد الإنجيل"},header:{collapsed:"وسيلة الإيضاح",peopleGroupFallback:"مجموعة الشعب"},prayer:{needsPrayer:"يحتاج إلى صلاة",hasPrayer:"لديه صلاة",fullPrayerCoverage:"تغطية صلاة كاملة"},engagement:{needsEngagement:"يحتاج إلى انخراط",hasEngagement:"لديه انخراط"},adoption:{needsAdoption:"يحتاج إلى تبني",hasAdoption:"لديه تبني"},columns:{upgs:"UUPGs",population:"السكان",name:"الاسم"},footer:{total:"الإجمالي"},sortByUpgs:"ترتيب حسب UUPG",sortByPop:"ترتيب حسب السكان",colLabel:{religion:"ديانات UUPG",prayer:"حالة الصلاة",engagement:"حالة المشاركة",adoption:"حالة التبني",status:"الحالة"},titleBar:{legend:"مفتاح الخريطة",peopleGroups:"الشعوب",wagfRegions:"مناطق WAGF",languages:"اللغات"}},vm={menuComingSoon:"القائمة قادمة قريباً"},Am={clusterByRegion:"حسب منطقة",clusterByLanguageFamily:"حسب العائلة اللغوية",clusterByGospelResource:"حسب مورد الإنجيل"},Sm={header:"دورة الصلاة الحالية",lap:"الدورة",upgs:"UUPGs",separator:" من "},Em={placeholder:"شعب، مكان، لغة، ديانة",labels:{people:"الشعب:",place:"المكان:",language:"اللغة:",religion:"الديانة:"},kinds:{people:"الشعب + الدولة",peopleGroup:"الشعب",bloc:"كتلة التقارب",cluster:"مجموعة شعوب",country:"الدولة",region:"المنطقة",family:"عائلة اللغة",languageKind:"اللغة",dialect:"اللهجة",religionKind:"الدين"}},Mm={prayer:"الصلاة",adoption:"التبني",engagement:"المشاركة","affinity-blocks":"الشعوب",regions:"المناطق",countries:"الدول","language-families":"اللغات",religion:"الأديان",family:"عائلة اللغة",language:"اللغة",dialect:"اللهجة/التنوع",bloc:"كتلة التقارب",cluster:"المجموعة",group:"الشعب",pgic:"الشعب في الدولة",region:"منطقة WAGF",block:"كتلة WAGF",country:"الدولة"},Im={backToLegend:"Zurück zur Legende",closeDetailView:"Detailansicht schließen"},wm={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"},xm={labels:{country:"Land:",population:"Bevölkerung:",language:"Sprache:",religion:"Religion:",languageFamily:"Sprachfamilie:",peopleCommitted:"Zum Gebet verpflichtet:"},messages:{noDescription:"Keine Beschreibung verfügbar."}},Tm={title:{prayer:"Gebetsfortschritt",engagement:"Engagement-Fortschritt",adoption:"Adoptionsfortschritt",languageFamilies:"Sprachfamilien",geoRegions:"Regionen",affinityBlocs:"Affinitätsblöcke",gospelResources:"Evangeliumsressourcen"},header:{collapsed:"Legende",peopleGroupFallback:"Volksgruppe"},prayer:{needsPrayer:"Braucht Gebet",hasPrayer:"Hat Gebet",fullPrayerCoverage:"Vollständige Gebetsabdeckung"},engagement:{needsEngagement:"Braucht Engagement",hasEngagement:"Hat Engagement"},adoption:{needsAdoption:"Braucht Adoption",hasAdoption:"Hat Adoption"},columns:{upgs:"UUPGs",population:"Bevölkerung"},footer:{total:"Gesamt"}},Nm={menuComingSoon:"Menü folgt in Kürze"},Lm={clusterByRegion:"Nach Region",clusterByLanguageFamily:"Nach Sprachfamilie",clusterByGospelResource:"Nach Evangeliumsressource"},Rm={header:"AKTUELLE GEBETSRUNDE",lap:"Runde",upgs:"UUPGs",separator:" von "},$m={placeholder:"Volk, Ort, Sprache, Religion",labels:{people:"Volk:",place:"Ort:",language:"Sprache:",religion:"Religion:"},sections:{within:"Innerhalb {selection}",allData:"Alle Daten"}},Fm={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"},Km={backToLegend:"Back to Legend",closeDetailView:"Close detail view"},Bm={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"},Om={labels:{country:"Country:",population:"Population:",language:"Language:",religion:"Religion:",languageFamily:"Language Family:",peopleCommitted:"Committed to pray:"},messages:{noDescription:"No description available."}},Um={title:{prayer:"Prayer Progress",engagement:"Engagement Progress",adoption:"Adoption Progress",languageFamilies:"Language Families",geoRegions:"Regions",affinityBlocs:"Affinity Blocks",gospelResources:"Gospel Resources"},header:{default:"Legend",collapsed:"Legend",peopleGroupFallback:"People Group"},prayer:{needsPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayerCoverage:"Full Prayer Coverage"},engagement:{needsEngagement:"Unengaged",hasEngagement:"Engaged"},adoption:{needsAdoption:"Needs Adoption",hasAdoption:"Has Adoption"},columns:{upgs:"UUPGs",population:"Population",name:"Name"},footer:{total:"Total"},sortByUpgs:"Sort by UUPGs",sortByPop:"Sort by Population",colLabel:{religion:"UUPG Religions",prayer:"Prayer Status",engagement:"Engagement Status",adoption:"Adoption Status",status:"Status"},titleBar:{legend:"Legend",peopleGroups:"People Groups",wagfRegions:"WAGF Regions",languages:"Languages"}},Hm={menuComingSoon:"Menu coming soon"},Dm={clusterByRegion:"By Region",clusterByLanguageFamily:"By Language Family",clusterByGospelResource:"By Gospel Resource"},zm={country:{wagfRegion:"WAGF Region",wagfBlock:"WAGF Bloc",country:"Country",uupgCount:"UUPG Count"}},Vm={header:"CURRENT PRAYER LAP",lap:"Lap",upgs:"UUPGs",separator:" of "},Ym={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 Data"}},Wm={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"},Jm={backToLegend:"Volver a la leyenda",closeDetailView:"Cerrar vista de detalle"},Zm={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"},qm={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."}},Xm={title:{prayer:"Progreso de oración",engagement:"Progreso de implicación",adoption:"Progreso de adopción",languageFamilies:"Familias lingüísticas",geoRegions:"Regiones",affinityBlocs:"Bloques de afinidad",gospelResources:"Recursos del Evangelio"},header:{collapsed:"Leyenda",peopleGroupFallback:"Grupo de personas"},prayer:{needsPrayer:"Necesita oración",hasPrayer:"Tiene oración",fullPrayerCoverage:"Cobertura de oración completa"},engagement:{needsEngagement:"Necesita implicación",hasEngagement:"Tiene implicación"},adoption:{needsAdoption:"Necesita adopción",hasAdoption:"Tiene adopción"},columns:{upgs:"UUPGs",population:"Población",name:"Nombre"},footer:{total:"Total"},sortByUpgs:"Ordenar por UUPG",sortByPop:"Ordenar por población",colLabel:{religion:"Religiones UUPG",prayer:"Estado de oración",engagement:"Estado de compromiso",adoption:"Estado de adopción",status:"Estado"},titleBar:{legend:"Leyenda",peopleGroups:"Pueblos",wagfRegions:"Regiones WAGF",languages:"Idiomas"}},Qm={menuComingSoon:"Menú próximamente"},ah={clusterByRegion:"Por región",clusterByLanguageFamily:"Por familia lingüística",clusterByGospelResource:"Por recurso del Evangelio"},nh={header:"VUELTA DE ORACIÓN ACTUAL",lap:"Vuelta",upgs:"UUPGs",separator:" de "},eh={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"}},ih={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"},th={backToLegend:"Retour à la légende",closeDetailView:"Fermer la vue détaillée"},oh={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"},rh={labels:{country:"Pays :",population:"Population :",language:"Langue :",religion:"Religion :",languageFamily:"Famille de langues :",peopleCommitted:"Engagés à prier :"},messages:{noDescription:"Aucune description disponible."}},lh={title:{prayer:"Progression de la prière",engagement:"Progression de l'engagement",adoption:"Progression de l'adoption",languageFamilies:"Familles de langues",geoRegions:"Régions",affinityBlocs:"Blocs d'affinité",gospelResources:"Ressources de l'Évangile"},header:{collapsed:"Légende",peopleGroupFallback:"Groupe de personnes"},prayer:{needsPrayer:"Besoin de prière",hasPrayer:"Prière en cours",fullPrayerCoverage:"Couverture de prière complète"},engagement:{needsEngagement:"Besoin d'engagement",hasEngagement:"Engagement en cours"},adoption:{needsAdoption:"Besoin d'adoption",hasAdoption:"Adoption en cours"},columns:{upgs:"UUPGs",population:"Population",name:"Nom"},footer:{total:"Total"},sortByUpgs:"Trier par UUPG",sortByPop:"Trier par population",colLabel:{religion:"Religions UUPG",prayer:"Statut de prière",engagement:"Statut d'engagement",adoption:"Statut d'adoption",status:"Statut"},titleBar:{legend:"Légende",peopleGroups:"Peuples",wagfRegions:"Régions WAGF",languages:"Langues"}},sh={menuComingSoon:"Menu bientôt disponible"},ch={clusterByRegion:"Par région",clusterByLanguageFamily:"Par famille de langues",clusterByGospelResource:"Par ressource de l'Évangile"},gh={country:{wagfRegion:"Région WAGF",wagfBlock:"Bloc WAGF",country:"Pays",uupgCount:"Nombre d'UUPG"}},uh={header:"TOUR DE PRIÈRE ACTUEL",lap:"Tour",upgs:"UUPGs",separator:" sur "},dh={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"}},ph={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"},mh={backToLegend:"लेजेंड पर वापस जाएं",closeDetailView:"विवरण दृश्य बंद करें"},hh={prayForThem:"उनके लिए प्रार्थना करें",adoptThem:"उन्हें गोद लें",moreInfo:"अधिक जानकारी",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",switchToLightMode:"लाइट मोड पर जाएं",switchToDarkMode:"डार्क मोड पर जाएं",resetView:"दृश्य रीसेट करें",toggleFullscreen:"फ़ुलस्क्रीन टॉगल करें",aboutThisMap:"इस मानचित्र के बारे में",closeMenu:"मेनू बंद करें",reloadMap:"मानचित्र पुनः लोड करें",showClusters:"क्लस्टर दिखाएं",clusterSettings:"क्लस्टर सेटिंग्स",startAutoFly:"ऑटो फ्लाई शुरू करें",stopFlight:"उड़ान रोकें",speedLabel:"गति:",speedOption:{slow:"धीमी",normal:"सामान्य",fast:"तेज़"},shareEmbed:"साझा करें और एम्बेड करें"},yh={labels:{country:"देश:",population:"जनसंख्या:",language:"भाषा:",religion:"धर्म:",languageFamily:"भाषा परिवार:",peopleCommitted:"प्रार्थना के लिए प्रतिबद्ध:"},messages:{noDescription:"कोई विवरण उपलब्ध नहीं है।"}},bh={title:{prayer:"प्रार्थना प्रगति",engagement:"सहभागिता प्रगति",adoption:"गोद लेने की प्रगति",languageFamilies:"भाषा परिवार",geoRegions:"क्षेत्र",affinityBlocs:"समानता समूह",gospelResources:"सुसमाचार संसाधन"},header:{collapsed:"किंवदंती",peopleGroupFallback:"जनजाति समूह"},prayer:{needsPrayer:"प्रार्थना चाहिए",hasPrayer:"प्रार्थना है",fullPrayerCoverage:"पूर्ण प्रार्थना कवरेज"},engagement:{needsEngagement:"सहभागिता चाहिए",hasEngagement:"सहभागिता है"},adoption:{needsAdoption:"गोद लेना चाहिए",hasAdoption:"गोद लिया गया"},columns:{upgs:"UUPGs",population:"जनसंख्या"},footer:{total:"कुल"}},_h={menuComingSoon:"मेनू शीघ्र आ रहा है"},fh={clusterByRegion:"क्षेत्र के अनुसार",clusterByLanguageFamily:"भाषा परिवार के अनुसार",clusterByGospelResource:"सुसमाचार संसाधन के अनुसार"},Ph={header:"वर्तमान प्रार्थना चक्र",lap:"चक्र",upgs:"UUPGs",separator:" में से "},Ch={placeholder:"लोग, स्थान, भाषा, धर्म",labels:{people:"लोग:",place:"स्थान:",language:"भाषा:",religion:"धर्म:"}},jh={backToLegend:"Torna alla legenda",closeDetailView:"Chiudi vista dettaglio"},kh={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"},Gh={labels:{country:"Paese:",population:"Popolazione:",language:"Lingua:",religion:"Religione:",languageFamily:"Famiglia linguistica:",peopleCommitted:"Impegnati a pregare:"},messages:{noDescription:"Nessuna descrizione disponibile."}},vh={title:{prayer:"Avanzamento della preghiera",engagement:"Avanzamento dell'impegno",adoption:"Avanzamento dell'adozione",languageFamilies:"Famiglie linguistiche",geoRegions:"Regioni",affinityBlocs:"Blocchi di affinità",gospelResources:"Risorse del Vangelo"},header:{collapsed:"Legenda",peopleGroupFallback:"Gruppo di persone"},prayer:{needsPrayer:"Necessita preghiera",hasPrayer:"Ha preghiera",fullPrayerCoverage:"Copertura di preghiera completa"},engagement:{needsEngagement:"Necessita impegno",hasEngagement:"Ha impegno"},adoption:{needsAdoption:"Necessita adozione",hasAdoption:"Ha adozione"},columns:{upgs:"UUPGs",population:"Popolazione"},footer:{total:"Totale"}},Ah={menuComingSoon:"Menu in arrivo"},Sh={clusterByRegion:"Per regione",clusterByLanguageFamily:"Per famiglia linguistica",clusterByGospelResource:"Per risorsa del Vangelo"},Eh={header:"GIRO DI PREGHIERA ATTUALE",lap:"Giro",upgs:"UUPGs",separator:" di "},Mh={placeholder:"Popolo, luogo, lingua, religione",labels:{people:"Popolo:",place:"Luogo:",language:"Lingua:",religion:"Religione:"}},Ih={backToLegend:"Voltar à legenda",closeDetailView:"Fechar vista de detalhe"},wh={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"},xh={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."}},Th={title:{prayer:"Progresso da oração",engagement:"Progresso do envolvimento",adoption:"Progresso da adoção",languageFamilies:"Famílias linguísticas",geoRegions:"Regiões",affinityBlocs:"Blocos de afinidade",gospelResources:"Recursos do Evangelho"},header:{collapsed:"Legenda",peopleGroupFallback:"Grupo de pessoas"},prayer:{needsPrayer:"Precisa de oração",hasPrayer:"Tem oração",fullPrayerCoverage:"Cobertura de oração completa"},engagement:{needsEngagement:"Precisa de envolvimento",hasEngagement:"Tem envolvimento"},adoption:{needsAdoption:"Precisa de adoção",hasAdoption:"Tem adoção"},columns:{upgs:"UUPGs",population:"População",name:"Nome"},footer:{total:"Total"},sortByUpgs:"Ordenar por UUPG",sortByPop:"Ordenar por população",colLabel:{religion:"Religiões UUPG",prayer:"Status de oração",engagement:"Status de engajamento",adoption:"Status de adoção",status:"Status"},titleBar:{legend:"Legenda",peopleGroups:"Povos",wagfRegions:"Regiões WAGF",languages:"Idiomas"}},Nh={menuComingSoon:"Menu em breve"},Lh={clusterByRegion:"Por região",clusterByLanguageFamily:"Por família linguística",clusterByGospelResource:"Por recurso do Evangelho"},Rh={header:"VOLTA DE ORAÇÃO ATUAL",lap:"Volta",upgs:"UUPGs",separator:" de "},$h={placeholder:"Povo, local, língua, religião",labels:{people:"Povo:",place:"Local:",language:"Língua:",religion:"Religião:"},kinds:{people:"Povo + país",peopleGroup:"Povo",bloc:"Bloco de afinidade",cluster:"Agrupamento de povos",country:"País",region:"Região",family:"Família linguística",languageKind:"Idioma",dialect:"Dialeto",religionKind:"Religião"}},Fh={prayer:"Oração",adoption:"Adoção",engagement:"Engajamento","affinity-blocks":"Povos",regions:"Regiões",countries:"Países","language-families":"Idiomas",religion:"Religiões",family:"Família linguística",language:"Idioma",dialect:"Dialeto/Variedade",bloc:"Bloco de afinidade",cluster:"Agrupamento",group:"Povo",pgic:"Povo no país",region:"Região WAGF",block:"Bloco WAGF",country:"País"},Kh={backToLegend:"Înapoi la legendă",closeDetailView:"Închide vizualizarea detaliată"},Bh={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ă"},Oh={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ă."}},Uh={title:{prayer:"Progresul rugăciunii",engagement:"Progresul implicării",adoption:"Progresul adopției",languageFamilies:"Familii de limbi",geoRegions:"Regiuni",affinityBlocs:"Blocuri de afinitate",gospelResources:"Resurse ale Evangheliei"},header:{collapsed:"Legendă",peopleGroupFallback:"Grup de popoare"},prayer:{needsPrayer:"Necesită rugăciune",hasPrayer:"Are rugăciune",fullPrayerCoverage:"Acoperire completă de rugăciune"},engagement:{needsEngagement:"Necesită implicare",hasEngagement:"Are implicare"},adoption:{needsAdoption:"Necesită adopție",hasAdoption:"Are adopție"},columns:{upgs:"UUPGs",population:"Populație"},footer:{total:"Total"}},Hh={menuComingSoon:"Meniu în curând"},Dh={clusterByRegion:"După regiune",clusterByLanguageFamily:"După familia de limbi",clusterByGospelResource:"După resursa Evangheliei"},zh={header:"TURUL DE RUGĂCIUNE CURENT",lap:"Tur",upgs:"UUPGs",separator:" din "},Vh={placeholder:"Popor, loc, limbă, religie",labels:{people:"Popor:",place:"Loc:",language:"Limbă:",religion:"Religie:"}},Yh={backToLegend:"Назад к легенде",closeDetailView:"Закрыть подробный вид"},Wh={prayForThem:"Молитесь о них",adoptThem:"Усыновите их",moreInfo:"Подробнее",zoomIn:"Приблизить",zoomOut:"Отдалить",switchToLightMode:"Переключить на светлый режим",switchToDarkMode:"Переключить на тёмный режим",resetView:"Сбросить вид",toggleFullscreen:"Полноэкранный режим",aboutThisMap:"Об этой карте",closeMenu:"Закрыть меню",reloadMap:"Перезагрузить карту",showClusters:"Показать кластеры",clusterSettings:"Настройки кластеров",startAutoFly:"Начать авто-полёт",stopFlight:"Остановить полёт",speedLabel:"Скорость:",speedOption:{slow:"Медленно",normal:"Нормально",fast:"Быстро"},shareEmbed:"Поделиться и встроить"},Jh={labels:{country:"Страна:",population:"Население:",language:"Язык:",religion:"Религия:",languageFamily:"Языковая семья:",peopleCommitted:"Обязались молиться:"},messages:{noDescription:"Описание недоступно."}},Zh={title:{prayer:"Прогресс молитвы",engagement:"Прогресс вовлечённости",adoption:"Прогресс усыновления",languageFamilies:"Языковые семьи",geoRegions:"Регионы",affinityBlocs:"Блоки родства",gospelResources:"Евангельские ресурсы"},header:{collapsed:"Условные обозначения",peopleGroupFallback:"Народная группа"},prayer:{needsPrayer:"Нуждается в молитве",hasPrayer:"Есть молитва",fullPrayerCoverage:"Полное молитвенное покрытие"},engagement:{needsEngagement:"Нуждается в вовлечённости",hasEngagement:"Есть вовлечённость"},adoption:{needsAdoption:"Нуждается в усыновлении",hasAdoption:"Есть усыновление"},columns:{upgs:"UUPGs",population:"Население",name:"Название"},footer:{total:"Всего"},sortByUpgs:"Сортировать по UUPG",sortByPop:"Сортировать по населению",colLabel:{religion:"Религии UUPG",prayer:"Статус молитвы",engagement:"Статус вовлечённости",adoption:"Статус усыновления",status:"Статус"},titleBar:{legend:"Легенда",peopleGroups:"Народы",wagfRegions:"Регионы WAGF",languages:"Языки"}},qh={menuComingSoon:"Меню скоро появится"},Xh={clusterByRegion:"По региону",clusterByLanguageFamily:"По языковой семье",clusterByGospelResource:"По евангельскому ресурсу"},Qh={header:"ТЕКУЩИЙ КРУГ МОЛИТВЫ",lap:"Круг",upgs:"UUPGs",separator:" из "},a0={placeholder:"Народ, место, язык, религия",labels:{people:"Народ:",place:"Место:",language:"Язык:",religion:"Религия:"},kinds:{people:"Народ + страна",peopleGroup:"Народ",bloc:"Блок родства",cluster:"Кластер народов",country:"Страна",region:"Регион",family:"Языковая семья",languageKind:"Язык",dialect:"Диалект",religionKind:"Религия"}},n0={prayer:"Молитва",adoption:"Усыновление",engagement:"Вовлечённость","affinity-blocks":"Народы",regions:"Регионы",countries:"Страны","language-families":"Языки",religion:"Религии",family:"Языковая семья",language:"Язык",dialect:"Диалект/вариант",bloc:"Блок родства",cluster:"Кластер",group:"Народ",pgic:"Народ в стране",region:"Регион WAGF",block:"Блок WAGF",country:"Страна"},e0={backToLegend:"返回图例",closeDetailView:"关闭详情视图"},i0={prayForThem:"为他们祷告",adoptThem:"认领他们",moreInfo:"更多信息",zoomIn:"放大",zoomOut:"缩小",switchToLightMode:"切换至浅色模式",switchToDarkMode:"切换至深色模式",resetView:"重置视图",toggleFullscreen:"切换全屏",aboutThisMap:"关于此地图",closeMenu:"关闭菜单",reloadMap:"重新加载地图",showClusters:"显示聚类",clusterSettings:"聚类设置",startAutoFly:"开始自动飞行",stopFlight:"停止飞行",speedLabel:"速度:",speedOption:{slow:"慢",normal:"正常",fast:"快"},shareEmbed:"分享与嵌入"},t0={labels:{country:"国家:",population:"人口:",language:"语言:",religion:"宗教:",languageFamily:"语系:",peopleCommitted:"承诺祷告人数:"},messages:{noDescription:"暂无描述。"}},o0={title:{prayer:"祷告进度",engagement:"参与进度",adoption:"认领进度",languageFamilies:"语系",geoRegions:"区域",affinityBlocs:"亲缘板块",gospelResources:"福音资源"},header:{collapsed:"图例",peopleGroupFallback:"民族群体"},prayer:{needsPrayer:"需要祷告",hasPrayer:"已有祷告",fullPrayerCoverage:"全面祷告覆盖"},engagement:{needsEngagement:"需要参与",hasEngagement:"已有参与"},adoption:{needsAdoption:"需要认领",hasAdoption:"已有认领"},columns:{upgs:"UUPGs",population:"人口"},footer:{total:"总计"}},r0={menuComingSoon:"菜单即将推出"},l0={clusterByRegion:"按 区域",clusterByLanguageFamily:"按语系",clusterByGospelResource:"按福音资源"},s0={header:"当前祷告轮次",lap:"第",upgs:"UUPGs",separator:" / "},c0={placeholder:"民族、地点、语言、宗教",labels:{people:"民族:",place:"地点:",language:"语言:",religion:"宗教:"}};/*! + * shared v9.14.5 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */function g0(a,n){typeof console<"u"&&(console.warn("[intlify] "+a),n&&console.warn(n.stack))}const Et=typeof window<"u",pe=(a,n=!1)=>n?Symbol.for(a):Symbol(a),u0=(a,n,e)=>d0({l:a,k:n,s:e}),d0=a=>JSON.stringify(a).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Za=a=>typeof a=="number"&&isFinite(a),p0=a=>lc(a)==="[object Date]",me=a=>lc(a)==="[object RegExp]",Mt=a=>Ga(a)&&Object.keys(a).length===0,on=Object.assign,m0=Object.create,La=(a=null)=>m0(a);let ic;const Qn=()=>ic||(ic=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:La());function tc(a){return a.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function oc(a){return a.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function h0(a){return a=a.replace(/(\w+)\s*=\s*"([^"]*)"/g,(i,t,o)=>`${t}="${oc(o)}"`),a=a.replace(/(\w+)\s*=\s*'([^']*)'/g,(i,t,o)=>`${t}='${oc(o)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(a)&&(a=a.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(i=>{a=a.replace(i,"$1javascript:")}),a}const y0=Object.prototype.hasOwnProperty;function An(a,n){return y0.call(a,n)}const za=Array.isArray,Ha=a=>typeof a=="function",da=a=>typeof a=="string",Ea=a=>typeof a=="boolean",xa=a=>a!==null&&typeof a=="object",b0=a=>xa(a)&&Ha(a.then)&&Ha(a.catch),rc=Object.prototype.toString,lc=a=>rc.call(a),Ga=a=>{if(!xa(a))return!1;const n=Object.getPrototypeOf(a);return n===null||n.constructor===Object},_0=a=>a==null?"":za(a)||Ga(a)&&a.toString===rc?JSON.stringify(a,null,2):String(a);function f0(a,n=""){return a.reduce((e,i,t)=>t===0?e+i:e+n+i,"")}function It(a){let n=a;return()=>++n}const wt=a=>!xa(a)||za(a);function xt(a,n){if(wt(a)||wt(n))throw new Error("Invalid value");const e=[{src:a,des:n}];for(;e.length;){const{src:i,des:t}=e.pop();Object.keys(i).forEach(o=>{o!=="__proto__"&&(xa(i[o])&&!xa(t[o])&&(t[o]=Array.isArray(i[o])?[]:La()),wt(t[o])||wt(i[o])?t[o]=i[o]:e.push({src:i[o],des:t[o]}))})}}/*! + * message-compiler v9.14.5 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */function P0(a,n,e){return{line:a,column:n,offset:e}}function Tt(a,n,e){return{start:a,end:n}}const C0=/\{([0-9a-zA-Z]+)\}/g;function sc(a,...n){return n.length===1&&j0(n[0])&&(n=n[0]),(!n||!n.hasOwnProperty)&&(n={}),a.replace(C0,(e,i)=>n.hasOwnProperty(i)?n[i]:"")}const cc=Object.assign,gc=a=>typeof a=="string",j0=a=>a!==null&&typeof a=="object";function uc(a,n=""){return a.reduce((e,i,t)=>t===0?e+i:e+n+i,"")}const Zo={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},k0={[Zo.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function G0(a,n,...e){const i=sc(k0[a],...e||[]),t={message:String(i),code:a};return n&&(t.location=n),t}const ja={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},v0={[ja.EXPECTED_TOKEN]:"Expected token: '{0}'",[ja.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ja.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ja.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ja.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ja.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ja.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ja.EMPTY_PLACEHOLDER]:"Empty placeholder",[ja.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ja.INVALID_LINKED_FORMAT]:"Invalid linked format",[ja.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ja.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ja.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ja.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ja.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ja.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Ve(a,n,e={}){const{domain:i,messages:t,args:o}=e,r=sc((t||v0)[a]||"",...o||[]),l=new SyntaxError(String(r));return l.code=a,n&&(l.location=n),l.domain=i,l}function A0(a){throw a}const ae=" ",S0="\r",un=` +`,E0="\u2028",M0="\u2029";function I0(a){const n=a;let e=0,i=1,t=1,o=0;const r=v=>n[v]===S0&&n[v+1]===un,l=v=>n[v]===un,s=v=>n[v]===M0,g=v=>n[v]===E0,d=v=>r(v)||l(v)||s(v)||g(v),_=()=>e,k=()=>i,x=()=>t,D=()=>o,T=v=>r(v)||s(v)||g(v)?un:n[v],$=()=>T(e),w=()=>T(e+o);function L(){return o=0,d(e)&&(i++,t=0),r(e)&&e++,e++,t++,n[e]}function E(){return r(e+o)&&o++,o++,n[e+o]}function I(){e=0,i=1,t=1,o=0}function G(v=0){o=v}function S(){const v=e+o;for(;v!==e;)L();o=0}return{index:_,line:k,column:x,peekOffset:D,charAt:T,currentChar:$,currentPeek:w,next:L,peek:E,reset:I,resetPeek:G,skipToPeek:S}}const he=void 0,w0=".",dc="'",x0="tokenizer";function T0(a,n={}){const e=n.location!==!1,i=I0(a),t=()=>i.index(),o=()=>P0(i.line(),i.column(),i.index()),r=o(),l=t(),s={currentType:14,offset:l,startLoc:r,endLoc:r,lastType:14,lastOffset:l,lastStartLoc:r,lastEndLoc:r,braceNest:0,inLinked:!1,text:""},g=()=>s,{onError:d}=n;function _(m,b,F,...J){const ca=g();if(b.column+=F,b.offset+=F,d){const ra=e?Tt(ca.startLoc,b):null,B=Ve(m,ra,{domain:x0,args:J});d(B)}}function k(m,b,F){m.endLoc=o(),m.currentType=b;const J={type:b};return e&&(J.loc=Tt(m.startLoc,m.endLoc)),F!=null&&(J.value=F),J}const x=m=>k(m,14);function D(m,b){return m.currentChar()===b?(m.next(),b):(_(ja.EXPECTED_TOKEN,o(),0,b),"")}function T(m){let b="";for(;m.currentPeek()===ae||m.currentPeek()===un;)b+=m.currentPeek(),m.peek();return b}function $(m){const b=T(m);return m.skipToPeek(),b}function w(m){if(m===he)return!1;const b=m.charCodeAt(0);return b>=97&&b<=122||b>=65&&b<=90||b===95}function L(m){if(m===he)return!1;const b=m.charCodeAt(0);return b>=48&&b<=57}function E(m,b){const{currentType:F}=b;if(F!==2)return!1;T(m);const J=w(m.currentPeek());return m.resetPeek(),J}function I(m,b){const{currentType:F}=b;if(F!==2)return!1;T(m);const J=m.currentPeek()==="-"?m.peek():m.currentPeek(),ca=L(J);return m.resetPeek(),ca}function G(m,b){const{currentType:F}=b;if(F!==2)return!1;T(m);const J=m.currentPeek()===dc;return m.resetPeek(),J}function S(m,b){const{currentType:F}=b;if(F!==8)return!1;T(m);const J=m.currentPeek()===".";return m.resetPeek(),J}function v(m,b){const{currentType:F}=b;if(F!==9)return!1;T(m);const J=w(m.currentPeek());return m.resetPeek(),J}function K(m,b){const{currentType:F}=b;if(!(F===8||F===12))return!1;T(m);const J=m.currentPeek()===":";return m.resetPeek(),J}function O(m,b){const{currentType:F}=b;if(F!==10)return!1;const J=()=>{const ra=m.currentPeek();return ra==="{"?w(m.peek()):ra==="@"||ra==="%"||ra==="|"||ra===":"||ra==="."||ra===ae||!ra?!1:ra===un?(m.peek(),J()):ea(m,!1)},ca=J();return m.resetPeek(),ca}function q(m){T(m);const b=m.currentPeek()==="|";return m.resetPeek(),b}function sa(m){const b=T(m),F=m.currentPeek()==="%"&&m.peek()==="{";return m.resetPeek(),{isModulo:F,hasSpace:b.length>0}}function ea(m,b=!0){const F=(ca=!1,ra="",B=!1)=>{const Z=m.currentPeek();return Z==="{"?ra==="%"?!1:ca:Z==="@"||!Z?ra==="%"?!0:ca:Z==="%"?(m.peek(),F(ca,"%",!0)):Z==="|"?ra==="%"||B?!0:!(ra===ae||ra===un):Z===ae?(m.peek(),F(!0,ae,B)):Z===un?(m.peek(),F(!0,un,B)):!0},J=F();return b&&m.resetPeek(),J}function ga(m,b){const F=m.currentChar();return F===he?he:b(F)?(m.next(),F):null}function Sa(m){const b=m.charCodeAt(0);return b>=97&&b<=122||b>=65&&b<=90||b>=48&&b<=57||b===95||b===36}function Ma(m){return ga(m,Sa)}function ma(m){const b=m.charCodeAt(0);return b>=97&&b<=122||b>=65&&b<=90||b>=48&&b<=57||b===95||b===36||b===45}function pa(m){return ga(m,ma)}function Y(m){const b=m.charCodeAt(0);return b>=48&&b<=57}function ta(m){return ga(m,Y)}function aa(m){const b=m.charCodeAt(0);return b>=48&&b<=57||b>=65&&b<=70||b>=97&&b<=102}function ba(m){return ga(m,aa)}function na(m){let b="",F="";for(;b=ta(m);)F+=b;return F}function u(m){$(m);const b=m.currentChar();return b!=="%"&&_(ja.EXPECTED_TOKEN,o(),0,b),m.next(),"%"}function A(m){let b="";for(;;){const F=m.currentChar();if(F==="{"||F==="}"||F==="@"||F==="|"||!F)break;if(F==="%")if(ea(m))b+=F,m.next();else break;else if(F===ae||F===un)if(ea(m))b+=F,m.next();else{if(q(m))break;b+=F,m.next()}else b+=F,m.next()}return b}function j(m){$(m);let b="",F="";for(;b=pa(m);)F+=b;return m.currentChar()===he&&_(ja.UNTERMINATED_CLOSING_BRACE,o(),0),F}function c(m){$(m);let b="";return m.currentChar()==="-"?(m.next(),b+=`-${na(m)}`):b+=na(m),m.currentChar()===he&&_(ja.UNTERMINATED_CLOSING_BRACE,o(),0),b}function P(m){return m!==dc&&m!==un}function p(m){$(m),D(m,"'");let b="",F="";for(;b=ga(m,P);)b==="\\"?F+=M(m):F+=b;const J=m.currentChar();return J===un||J===he?(_(ja.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),J===un&&(m.next(),D(m,"'")),F):(D(m,"'"),F)}function M(m){const b=m.currentChar();switch(b){case"\\":case"'":return m.next(),`\\${b}`;case"u":return N(m,b,4);case"U":return N(m,b,6);default:return _(ja.UNKNOWN_ESCAPE_SEQUENCE,o(),0,b),""}}function N(m,b,F){D(m,b);let J="";for(let ca=0;ca{const J=m.currentChar();return J==="{"||J==="%"||J==="@"||J==="|"||J==="("||J===")"||!J||J===ae?F:(F+=J,m.next(),b(F))};return b("")}function R(m){$(m);const b=D(m,"|");return $(m),b}function H(m,b){let F=null;switch(m.currentChar()){case"{":return b.braceNest>=1&&_(ja.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),m.next(),F=k(b,2,"{"),$(m),b.braceNest++,F;case"}":return b.braceNest>0&&b.currentType===2&&_(ja.EMPTY_PLACEHOLDER,o(),0),m.next(),F=k(b,3,"}"),b.braceNest--,b.braceNest>0&&$(m),b.inLinked&&b.braceNest===0&&(b.inLinked=!1),F;case"@":return b.braceNest>0&&_(ja.UNTERMINATED_CLOSING_BRACE,o(),0),F=V(m,b)||x(b),b.braceNest=0,F;default:{let ca=!0,ra=!0,B=!0;if(q(m))return b.braceNest>0&&_(ja.UNTERMINATED_CLOSING_BRACE,o(),0),F=k(b,1,R(m)),b.braceNest=0,b.inLinked=!1,F;if(b.braceNest>0&&(b.currentType===5||b.currentType===6||b.currentType===7))return _(ja.UNTERMINATED_CLOSING_BRACE,o(),0),b.braceNest=0,oa(m,b);if(ca=E(m,b))return F=k(b,5,j(m)),$(m),F;if(ra=I(m,b))return F=k(b,6,c(m)),$(m),F;if(B=G(m,b))return F=k(b,7,p(m)),$(m),F;if(!ca&&!ra&&!B)return F=k(b,13,h(m)),_(ja.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,F.value),$(m),F;break}}return F}function V(m,b){const{currentType:F}=b;let J=null;const ca=m.currentChar();switch((F===8||F===9||F===12||F===10)&&(ca===un||ca===ae)&&_(ja.INVALID_LINKED_FORMAT,o(),0),ca){case"@":return m.next(),J=k(b,8,"@"),b.inLinked=!0,J;case".":return $(m),m.next(),k(b,9,".");case":":return $(m),m.next(),k(b,10,":");default:return q(m)?(J=k(b,1,R(m)),b.braceNest=0,b.inLinked=!1,J):S(m,b)||K(m,b)?($(m),V(m,b)):v(m,b)?($(m),k(b,12,C(m))):O(m,b)?($(m),ca==="{"?H(m,b)||J:k(b,11,y(m))):(F===8&&_(ja.INVALID_LINKED_FORMAT,o(),0),b.braceNest=0,b.inLinked=!1,oa(m,b))}}function oa(m,b){let F={type:14};if(b.braceNest>0)return H(m,b)||x(b);if(b.inLinked)return V(m,b)||x(b);switch(m.currentChar()){case"{":return H(m,b)||x(b);case"}":return _(ja.UNBALANCED_CLOSING_BRACE,o(),0),m.next(),k(b,3,"}");case"@":return V(m,b)||x(b);default:{if(q(m))return F=k(b,1,R(m)),b.braceNest=0,b.inLinked=!1,F;const{isModulo:ca,hasSpace:ra}=sa(m);if(ca)return ra?k(b,0,A(m)):k(b,4,u(m));if(ea(m))return k(b,0,A(m));break}}return F}function Q(){const{currentType:m,offset:b,startLoc:F,endLoc:J}=s;return s.lastType=m,s.lastOffset=b,s.lastStartLoc=F,s.lastEndLoc=J,s.offset=t(),s.startLoc=o(),i.currentChar()===he?k(s,14):oa(i,s)}return{nextToken:Q,currentOffset:t,currentPosition:o,context:g}}const N0="parser",L0=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function R0(a,n,e){switch(a){case"\\\\":return"\\";case"\\'":return"'";default:{const i=parseInt(n||e,16);return i<=55295||i>=57344?String.fromCodePoint(i):"�"}}}function $0(a={}){const n=a.location!==!1,{onError:e,onWarn:i}=a;function t(E,I,G,S,...v){const K=E.currentPosition();if(K.offset+=S,K.column+=S,e){const O=n?Tt(G,K):null,q=Ve(I,O,{domain:N0,args:v});e(q)}}function o(E,I,G,S,...v){const K=E.currentPosition();if(K.offset+=S,K.column+=S,i){const O=n?Tt(G,K):null;i(G0(I,O,v))}}function r(E,I,G){const S={type:E};return n&&(S.start=I,S.end=I,S.loc={start:G,end:G}),S}function l(E,I,G,S){n&&(E.end=I,E.loc&&(E.loc.end=G))}function s(E,I){const G=E.context(),S=r(3,G.offset,G.startLoc);return S.value=I,l(S,E.currentOffset(),E.currentPosition()),S}function g(E,I){const G=E.context(),{lastOffset:S,lastStartLoc:v}=G,K=r(5,S,v);return K.index=parseInt(I,10),E.nextToken(),l(K,E.currentOffset(),E.currentPosition()),K}function d(E,I,G){const S=E.context(),{lastOffset:v,lastStartLoc:K}=S,O=r(4,v,K);return O.key=I,G===!0&&(O.modulo=!0),E.nextToken(),l(O,E.currentOffset(),E.currentPosition()),O}function _(E,I){const G=E.context(),{lastOffset:S,lastStartLoc:v}=G,K=r(9,S,v);return K.value=I.replace(L0,R0),E.nextToken(),l(K,E.currentOffset(),E.currentPosition()),K}function k(E){const I=E.nextToken(),G=E.context(),{lastOffset:S,lastStartLoc:v}=G,K=r(8,S,v);return I.type!==12?(t(E,ja.UNEXPECTED_EMPTY_LINKED_MODIFIER,G.lastStartLoc,0),K.value="",l(K,S,v),{nextConsumeToken:I,node:K}):(I.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,G.lastStartLoc,0,Sn(I)),K.value=I.value||"",l(K,E.currentOffset(),E.currentPosition()),{node:K})}function x(E,I){const G=E.context(),S=r(7,G.offset,G.startLoc);return S.value=I,l(S,E.currentOffset(),E.currentPosition()),S}function D(E){const I=E.context(),G=r(6,I.offset,I.startLoc);let S=E.nextToken();if(S.type===9){const v=k(E);G.modifier=v.node,S=v.nextConsumeToken||E.nextToken()}switch(S.type!==10&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(S)),S=E.nextToken(),S.type===2&&(S=E.nextToken()),S.type){case 11:S.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(S)),G.key=x(E,S.value||"");break;case 5:S.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(S)),G.key=d(E,S.value||"");break;case 6:S.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(S)),G.key=g(E,S.value||"");break;case 7:S.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(S)),G.key=_(E,S.value||"");break;default:{t(E,ja.UNEXPECTED_EMPTY_LINKED_KEY,I.lastStartLoc,0);const v=E.context(),K=r(7,v.offset,v.startLoc);return K.value="",l(K,v.offset,v.startLoc),G.key=K,l(G,v.offset,v.startLoc),{nextConsumeToken:S,node:G}}}return l(G,E.currentOffset(),E.currentPosition()),{node:G}}function T(E){const I=E.context(),G=I.currentType===1?E.currentOffset():I.offset,S=I.currentType===1?I.endLoc:I.startLoc,v=r(2,G,S);v.items=[];let K=null,O=null;do{const ea=K||E.nextToken();switch(K=null,ea.type){case 0:ea.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(ea)),v.items.push(s(E,ea.value||""));break;case 6:ea.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(ea)),v.items.push(g(E,ea.value||""));break;case 4:O=!0;break;case 5:ea.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(ea)),v.items.push(d(E,ea.value||"",!!O)),O&&(o(E,Zo.USE_MODULO_SYNTAX,I.lastStartLoc,0,Sn(ea)),O=null);break;case 7:ea.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(ea)),v.items.push(_(E,ea.value||""));break;case 8:{const ga=D(E);v.items.push(ga.node),K=ga.nextConsumeToken||null;break}}}while(I.currentType!==14&&I.currentType!==1);const q=I.currentType===1?I.lastOffset:E.currentOffset(),sa=I.currentType===1?I.lastEndLoc:E.currentPosition();return l(v,q,sa),v}function $(E,I,G,S){const v=E.context();let K=S.items.length===0;const O=r(1,I,G);O.cases=[],O.cases.push(S);do{const q=T(E);K||(K=q.items.length===0),O.cases.push(q)}while(v.currentType!==14);return K&&t(E,ja.MUST_HAVE_MESSAGES_IN_PLURAL,G,0),l(O,E.currentOffset(),E.currentPosition()),O}function w(E){const I=E.context(),{offset:G,startLoc:S}=I,v=T(E);return I.currentType===14?v:$(E,G,S,v)}function L(E){const I=T0(E,cc({},a)),G=I.context(),S=r(0,G.offset,G.startLoc);return n&&S.loc&&(S.loc.source=E),S.body=w(I),a.onCacheKey&&(S.cacheKey=a.onCacheKey(E)),G.currentType!==14&&t(I,ja.UNEXPECTED_LEXICAL_ANALYSIS,G.lastStartLoc,0,E[G.offset]||""),l(S,I.currentOffset(),I.currentPosition()),S}return{parse:L}}function Sn(a){if(a.type===14)return"EOF";const n=(a.value||"").replace(/\r?\n/gu,"\\n");return n.length>10?n.slice(0,9)+"…":n}function F0(a,n={}){const e={ast:a,helpers:new Set};return{context:()=>e,helper:o=>(e.helpers.add(o),o)}}function pc(a,n){for(let e=0;emc(e)),a}function mc(a){if(a.items.length===1){const n=a.items[0];(n.type===3||n.type===9)&&(a.static=n.value,delete n.value)}else{const n=[];for(let e=0;er;function s(T,$){r.code+=T}function g(T,$=!0){const w=$?i:"";s(t?w+" ".repeat(T):w)}function d(T=!0){const $=++r.indentLevel;T&&g($)}function _(T=!0){const $=--r.indentLevel;T&&g($)}function k(){g(r.indentLevel)}return{context:l,push:s,indent:d,deindent:_,newline:k,helper:T=>`_${T}`,needIndent:()=>r.needIndent}}function D0(a,n){const{helper:e}=a;a.push(`${e("linked")}(`),We(a,n.key),n.modifier?(a.push(", "),We(a,n.modifier),a.push(", _type")):a.push(", undefined, _type"),a.push(")")}function z0(a,n){const{helper:e,needIndent:i}=a;a.push(`${e("normalize")}([`),a.indent(i());const t=n.items.length;for(let o=0;o1){a.push(`${e("plural")}([`),a.indent(i());const t=n.cases.length;for(let o=0;o{const e=gc(n.mode)?n.mode:"normal",i=gc(n.filename)?n.filename:"message.intl";n.sourceMap;const t=n.breakLineCode!=null?n.breakLineCode:e==="arrow"?";":` +`,o=n.needIndent?n.needIndent:e!=="arrow",r=a.helpers||[],l=H0(a,{filename:i,breakLineCode:t,needIndent:o});l.push(e==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(o),r.length>0&&(l.push(`const { ${uc(r.map(d=>`${d}: _${d}`),", ")} } = ctx`),l.newline()),l.push("return "),We(l,a),l.deindent(o),l.push("}"),delete a.helpers;const{code:s,map:g}=l.context();return{ast:a,code:s,map:g?g.toJSON():void 0}};function J0(a,n={}){const e=cc({},n),i=!!e.jit,t=!!e.minify,o=e.optimize==null?!0:e.optimize,l=$0(e).parse(a);return i?(o&&B0(l),t&&Ye(l),{ast:l,code:""}):(K0(l,e),W0(l,e))}/*! + * core-base v9.14.5 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */function Z0(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Qn().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Qn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Qn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function Kn(a){return xa(a)&&Xo(a)===0&&(An(a,"b")||An(a,"body"))}const hc=["b","body"];function q0(a){return ye(a,hc)}const yc=["c","cases"];function X0(a){return ye(a,yc,[])}const bc=["s","static"];function Q0(a){return ye(a,bc)}const _c=["i","items"];function ay(a){return ye(a,_c,[])}const fc=["t","type"];function Xo(a){return ye(a,fc)}const Pc=["v","value"];function Nt(a,n){const e=ye(a,Pc);if(e!=null)return e;throw xi(n)}const Cc=["m","modifier"];function ny(a){return ye(a,Cc)}const jc=["k","key"];function ey(a){const n=ye(a,jc);if(n)return n;throw xi(6)}function ye(a,n,e){for(let i=0;i{r===void 0?r=l:r+=l},k[1]=()=>{r!==void 0&&(n.push(r),r=void 0)},k[2]=()=>{k[0](),t++},k[3]=()=>{if(t>0)t--,i=4,k[0]();else{if(t=0,r===void 0||(r=ly(r),r===!1))return!1;k[1]()}};function x(){const D=a[e+1];if(i===5&&D==="'"||i===6&&D==='"')return e++,l="\\"+D,k[0](),!0}for(;i!==null;)if(e++,o=a[e],!(o==="\\"&&x())){if(s=ry(o),_=be[i],g=_[s]||_.l||8,g===8||(i=g[0],g[1]!==void 0&&(d=k[g[1]],d&&(l=o,d()===!1))))return;if(i===7)return n}}const Gc=new Map;function cy(a,n){return xa(a)?a[n]:null}function gy(a,n){if(!xa(a))return null;let e=Gc.get(n);if(e||(e=sy(n),e&&Gc.set(n,e)),!e)return null;const i=e.length;let t=a,o=0;for(;oa,dy=a=>"",py="text",my=a=>a.length===0?"":f0(a),hy=_0;function vc(a,n){return a=Math.abs(a),n===2?a?a>1?1:0:1:a?Math.min(a,2):0}function yy(a){const n=Za(a.pluralIndex)?a.pluralIndex:-1;return a.named&&(Za(a.named.count)||Za(a.named.n))?Za(a.named.count)?a.named.count:Za(a.named.n)?a.named.n:n:n}function by(a,n){n.count||(n.count=a),n.n||(n.n=a)}function _y(a={}){const n=a.locale,e=yy(a),i=xa(a.pluralRules)&&da(n)&&Ha(a.pluralRules[n])?a.pluralRules[n]:vc,t=xa(a.pluralRules)&&da(n)&&Ha(a.pluralRules[n])?vc:void 0,o=w=>w[i(e,w.length,t)],r=a.list||[],l=w=>r[w],s=a.named||La();Za(a.pluralIndex)&&by(e,s);const g=w=>s[w];function d(w){const L=Ha(a.messages)?a.messages(w):xa(a.messages)?a.messages[w]:!1;return L||(a.parent?a.parent.message(w):dy)}const _=w=>a.modifiers?a.modifiers[w]:uy,k=Ga(a.processor)&&Ha(a.processor.normalize)?a.processor.normalize:my,x=Ga(a.processor)&&Ha(a.processor.interpolate)?a.processor.interpolate:hy,D=Ga(a.processor)&&da(a.processor.type)?a.processor.type:py,$={list:l,named:g,plural:o,linked:(w,...L)=>{const[E,I]=L;let G="text",S="";L.length===1?xa(E)?(S=E.modifier||S,G=E.type||G):da(E)&&(S=E||S):L.length===2&&(da(E)&&(S=E||S),da(I)&&(G=I||G));const v=d(w)($),K=G==="vnode"&&za(v)&&S?v[0]:v;return S?_(S)(K,G):K},message:d,type:D,interpolate:x,normalize:k,values:on(La(),r,s)};return $}let Ti=null;function fy(a){Ti=a}function Py(a,n,e){Ti&&Ti.emit("i18n:init",{timestamp:Date.now(),i18n:a,version:n,meta:e})}const Cy=jy("function:translate");function jy(a){return n=>Ti&&Ti.emit(a,n)}const ky=Zo.__EXTEND_POINT__,Ie=It(ky),Gy={FALLBACK_TO_TRANSLATE:Ie(),CANNOT_FORMAT_NUMBER:Ie(),FALLBACK_TO_NUMBER_FORMAT:Ie(),CANNOT_FORMAT_DATE:Ie(),FALLBACK_TO_DATE_FORMAT:Ie(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Ie(),__EXTEND_POINT__:Ie()},Ac=ja.__EXTEND_POINT__,we=It(Ac),En={INVALID_ARGUMENT:Ac,INVALID_DATE_ARGUMENT:we(),INVALID_ISO_DATE_ARGUMENT:we(),NOT_SUPPORT_NON_STRING_MESSAGE:we(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:we(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:we(),NOT_SUPPORT_LOCALE_TYPE:we(),__EXTEND_POINT__:we()};function Bn(a){return Ve(a,null,void 0)}function Qo(a,n){return n.locale!=null?Sc(n.locale):Sc(a.locale)}let ar;function Sc(a){if(da(a))return a;if(Ha(a)){if(a.resolvedOnce&&ar!=null)return ar;if(a.constructor.name==="Function"){const n=a();if(b0(n))throw Bn(En.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ar=n}else throw Bn(En.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Bn(En.NOT_SUPPORT_LOCALE_TYPE)}function vy(a,n,e){return[...new Set([e,...za(n)?n:xa(n)?Object.keys(n):da(n)?[n]:[e]])]}function Ec(a,n,e){const i=da(e)?e:Je,t=a;t.__localeChainCache||(t.__localeChainCache=new Map);let o=t.__localeChainCache.get(i);if(!o){o=[];let r=[e];for(;za(r);)r=Mc(o,r,n);const l=za(n)||!Ga(n)?n:n.default?n.default:null;r=da(l)?[l]:l,za(r)&&Mc(o,r,!1),t.__localeChainCache.set(i,o)}return o}function Mc(a,n,e){let i=!0;for(let t=0;t`${a.charAt(0).toLocaleUpperCase()}${a.substr(1)}`;function My(){return{upper:(a,n)=>n==="text"&&da(a)?a.toUpperCase():n==="vnode"&&xa(a)&&"__v_isVNode"in a?a.children.toUpperCase():a,lower:(a,n)=>n==="text"&&da(a)?a.toLowerCase():n==="vnode"&&xa(a)&&"__v_isVNode"in a?a.children.toLowerCase():a,capitalize:(a,n)=>n==="text"&&da(a)?wc(a):n==="vnode"&&xa(a)&&"__v_isVNode"in a?wc(a.children):a}}let xc;function Tc(a){xc=a}let Nc;function Iy(a){Nc=a}let Lc;function wy(a){Lc=a}let Rc=null;const xy=a=>{Rc=a},Ty=()=>Rc;let $c=null;const Fc=a=>{$c=a},Ny=()=>$c;let Kc=0;function Ly(a={}){const n=Ha(a.onWarn)?a.onWarn:g0,e=da(a.version)?a.version:Ey,i=da(a.locale)||Ha(a.locale)?a.locale:Je,t=Ha(i)?Je:i,o=za(a.fallbackLocale)||Ga(a.fallbackLocale)||da(a.fallbackLocale)||a.fallbackLocale===!1?a.fallbackLocale:t,r=Ga(a.messages)?a.messages:nr(t),l=Ga(a.datetimeFormats)?a.datetimeFormats:nr(t),s=Ga(a.numberFormats)?a.numberFormats:nr(t),g=on(La(),a.modifiers,My()),d=a.pluralRules||La(),_=Ha(a.missing)?a.missing:null,k=Ea(a.missingWarn)||me(a.missingWarn)?a.missingWarn:!0,x=Ea(a.fallbackWarn)||me(a.fallbackWarn)?a.fallbackWarn:!0,D=!!a.fallbackFormat,T=!!a.unresolving,$=Ha(a.postTranslation)?a.postTranslation:null,w=Ga(a.processor)?a.processor:null,L=Ea(a.warnHtmlMessage)?a.warnHtmlMessage:!0,E=!!a.escapeParameter,I=Ha(a.messageCompiler)?a.messageCompiler:xc,G=Ha(a.messageResolver)?a.messageResolver:Nc||cy,S=Ha(a.localeFallbacker)?a.localeFallbacker:Lc||vy,v=xa(a.fallbackContext)?a.fallbackContext:void 0,K=a,O=xa(K.__datetimeFormatters)?K.__datetimeFormatters:new Map,q=xa(K.__numberFormatters)?K.__numberFormatters:new Map,sa=xa(K.__meta)?K.__meta:{};Kc++;const ea={version:e,cid:Kc,locale:i,fallbackLocale:o,messages:r,modifiers:g,pluralRules:d,missing:_,missingWarn:k,fallbackWarn:x,fallbackFormat:D,unresolving:T,postTranslation:$,processor:w,warnHtmlMessage:L,escapeParameter:E,messageCompiler:I,messageResolver:G,localeFallbacker:S,fallbackContext:v,onWarn:n,__meta:sa};return ea.datetimeFormats=l,ea.numberFormats=s,ea.__datetimeFormatters=O,ea.__numberFormatters=q,__INTLIFY_PROD_DEVTOOLS__&&Py(ea,e,sa),ea}const nr=a=>({[a]:La()});function er(a,n,e,i,t){const{missing:o,onWarn:r}=a;if(o!==null){const l=o(a,e,n,t);return da(l)?l:n}else return n}function Ni(a,n,e){const i=a;i.__localeChainCache=new Map,a.localeFallbacker(a,e,n)}function Ry(a,n){return a===n?!1:a.split("-")[0]===n.split("-")[0]}function $y(a,n){const e=n.indexOf(a);if(e===-1)return!1;for(let i=e+1;iFy(e,a)}function Fy(a,n){const e=q0(n);if(e==null)throw xi(0);if(Xo(e)===1){const o=X0(e);return a.plural(o.reduce((r,l)=>[...r,Bc(a,l)],[]))}else return Bc(a,e)}function Bc(a,n){const e=Q0(n);if(e!=null)return a.type==="text"?e:a.normalize([e]);{const i=ay(n).reduce((t,o)=>[...t,tr(a,o)],[]);return a.normalize(i)}}function tr(a,n){const e=Xo(n);switch(e){case 3:return Nt(n,e);case 9:return Nt(n,e);case 4:{const i=n;if(An(i,"k")&&i.k)return a.interpolate(a.named(i.k));if(An(i,"key")&&i.key)return a.interpolate(a.named(i.key));throw xi(e)}case 5:{const i=n;if(An(i,"i")&&Za(i.i))return a.interpolate(a.list(i.i));if(An(i,"index")&&Za(i.index))return a.interpolate(a.list(i.index));throw xi(e)}case 6:{const i=n,t=ny(i),o=ey(i);return a.linked(tr(a,o),t?tr(a,t):void 0,a.type)}case 7:return Nt(n,e);case 8:return Nt(n,e);default:throw new Error(`unhandled node on format message part: ${e}`)}}const Oc=a=>a;let Ze=La();function Uc(a,n={}){let e=!1;const i=n.onError||A0;return n.onError=t=>{e=!0,i(t)},{...J0(a,n),detectError:e}}const Ky=(a,n)=>{if(!da(a))throw Bn(En.NOT_SUPPORT_NON_STRING_MESSAGE);{Ea(n.warnHtmlMessage)&&n.warnHtmlMessage;const i=(n.onCacheKey||Oc)(a),t=Ze[i];if(t)return t;const{code:o,detectError:r}=Uc(a,n),l=new Function(`return ${o}`)();return r?l:Ze[i]=l}};function By(a,n){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&da(a)){Ea(n.warnHtmlMessage)&&n.warnHtmlMessage;const i=(n.onCacheKey||Oc)(a),t=Ze[i];if(t)return t;const{ast:o,detectError:r}=Uc(a,{...n,location:!1,jit:!0}),l=ir(o);return r?l:Ze[i]=l}else{const e=a.cacheKey;if(e){const i=Ze[e];return i||(Ze[e]=ir(a))}else return ir(a)}}const Hc=()=>"",Cn=a=>Ha(a);function Dc(a,...n){const{fallbackFormat:e,postTranslation:i,unresolving:t,messageCompiler:o,fallbackLocale:r,messages:l}=a,[s,g]=or(...n),d=Ea(g.missingWarn)?g.missingWarn:a.missingWarn,_=Ea(g.fallbackWarn)?g.fallbackWarn:a.fallbackWarn,k=Ea(g.escapeParameter)?g.escapeParameter:a.escapeParameter,x=!!g.resolvedMessage,D=da(g.default)||Ea(g.default)?Ea(g.default)?o?s:()=>s:g.default:e?o?s:()=>s:"",T=e||D!=="",$=Qo(a,g);k&&Oy(g);let[w,L,E]=x?[s,$,l[$]||La()]:zc(a,s,$,r,_,d),I=w,G=s;if(!x&&!(da(I)||Kn(I)||Cn(I))&&T&&(I=D,G=I),!x&&(!(da(I)||Kn(I)||Cn(I))||!da(L)))return t?Lt:s;let S=!1;const v=()=>{S=!0},K=Cn(I)?I:Vc(a,s,L,I,G,v);if(S)return I;const O=Dy(a,L,E,g),q=_y(O),sa=Uy(a,K,q);let ea=i?i(sa,s):sa;if(k&&da(ea)&&(ea=h0(ea)),__INTLIFY_PROD_DEVTOOLS__){const ga={timestamp:Date.now(),key:da(s)?s:Cn(I)?I.key:"",locale:L||(Cn(I)?I.locale:""),format:da(I)?I:Cn(I)?I.source:"",message:ea};ga.meta=on({},a.__meta,Ty()||{}),Cy(ga)}return ea}function Oy(a){za(a.list)?a.list=a.list.map(n=>da(n)?tc(n):n):xa(a.named)&&Object.keys(a.named).forEach(n=>{da(a.named[n])&&(a.named[n]=tc(a.named[n]))})}function zc(a,n,e,i,t,o){const{messages:r,onWarn:l,messageResolver:s,localeFallbacker:g}=a,d=g(a,i,e);let _=La(),k,x=null;const D="translate";for(let T=0;Ti;return g.locale=e,g.key=n,g}const s=r(i,Hy(a,e,t,i,l,o));return s.locale=e,s.key=n,s.source=i,s}function Uy(a,n,e){return n(e)}function or(...a){const[n,e,i]=a,t=La();if(!da(n)&&!Za(n)&&!Cn(n)&&!Kn(n))throw Bn(En.INVALID_ARGUMENT);const o=Za(n)?String(n):(Cn(n),n);return Za(e)?t.plural=e:da(e)?t.default=e:Ga(e)&&!Mt(e)?t.named=e:za(e)&&(t.list=e),Za(i)?t.plural=i:da(i)?t.default=i:Ga(i)&&on(t,i),[o,t]}function Hy(a,n,e,i,t,o){return{locale:n,key:e,warnHtmlMessage:t,onError:r=>{throw o&&o(r),r},onCacheKey:r=>u0(n,e,r)}}function Dy(a,n,e,i){const{modifiers:t,pluralRules:o,messageResolver:r,fallbackLocale:l,fallbackWarn:s,missingWarn:g,fallbackContext:d}=a,k={locale:n,modifiers:t,pluralRules:o,messages:x=>{let D=r(e,x);if(D==null&&d){const[,,T]=zc(d,x,n,l,s,g);D=r(T,x)}if(da(D)||Kn(D)){let T=!1;const w=Vc(a,x,n,D,x,()=>{T=!0});return T?Hc:w}else return Cn(D)?D:Hc}};return a.processor&&(k.processor=a.processor),i.list&&(k.list=i.list),i.named&&(k.named=i.named),Za(i.plural)&&(k.pluralIndex=i.plural),k}function Yc(a,...n){const{datetimeFormats:e,unresolving:i,fallbackLocale:t,onWarn:o,localeFallbacker:r}=a,{__datetimeFormatters:l}=a,[s,g,d,_]=rr(...n),k=Ea(d.missingWarn)?d.missingWarn:a.missingWarn;Ea(d.fallbackWarn)?d.fallbackWarn:a.fallbackWarn;const x=!!d.part,D=Qo(a,d),T=r(a,t,D);if(!da(s)||s==="")return new Intl.DateTimeFormat(D,_).format(g);let $={},w,L=null;const E="datetime format";for(let S=0;S{Wc.includes(s)?r[s]=e[s]:o[s]=e[s]}),da(i)?o.locale=i:Ga(i)&&(r=i),Ga(t)&&(r=t),[o.key||"",l,o,r]}function Jc(a,n,e){const i=a;for(const t in e){const o=`${n}__${t}`;i.__datetimeFormatters.has(o)&&i.__datetimeFormatters.delete(o)}}function Zc(a,...n){const{numberFormats:e,unresolving:i,fallbackLocale:t,onWarn:o,localeFallbacker:r}=a,{__numberFormatters:l}=a,[s,g,d,_]=lr(...n),k=Ea(d.missingWarn)?d.missingWarn:a.missingWarn;Ea(d.fallbackWarn)?d.fallbackWarn:a.fallbackWarn;const x=!!d.part,D=Qo(a,d),T=r(a,t,D);if(!da(s)||s==="")return new Intl.NumberFormat(D,_).format(g);let $={},w,L=null;const E="number format";for(let S=0;S{qc.includes(s)?r[s]=e[s]:o[s]=e[s]}),da(i)?o.locale=i:Ga(i)&&(r=i),Ga(t)&&(r=t),[o.key||"",l,o,r]}function Xc(a,n,e){const i=a;for(const t in e){const o=`${n}__${t}`;i.__numberFormatters.has(o)&&i.__numberFormatters.delete(o)}}Z0();/*! + * vue-i18n v9.14.5 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */const zy="9.14.5";function Vy(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Qn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Qn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Qn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Qn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Qn().__INTLIFY_PROD_DEVTOOLS__=!1)}const Yy=Gy.__EXTEND_POINT__,ne=It(Yy);ne(),ne(),ne(),ne(),ne(),ne(),ne(),ne(),ne();const Qc=En.__EXTEND_POINT__,mn=It(Qc),Qa={UNEXPECTED_RETURN_TYPE:Qc,INVALID_ARGUMENT:mn(),MUST_BE_CALL_SETUP_TOP:mn(),NOT_INSTALLED:mn(),NOT_AVAILABLE_IN_LEGACY_MODE:mn(),REQUIRED_VALUE:mn(),INVALID_VALUE:mn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:mn(),NOT_INSTALLED_WITH_PROVIDE:mn(),UNEXPECTED_ERROR:mn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:mn(),BRIDGE_SUPPORT_VUE_2_ONLY:mn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:mn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:mn(),__EXTEND_POINT__:mn()};function en(a,...n){return Ve(a,null,void 0)}const sr=pe("__translateVNode"),cr=pe("__datetimeParts"),gr=pe("__numberParts"),ag=pe("__setPluralRules"),ng=pe("__injectWithOption"),ur=pe("__dispose");function Li(a){if(!xa(a)||Kn(a))return a;for(const n in a)if(An(a,n))if(!n.includes("."))xa(a[n])&&Li(a[n]);else{const e=n.split("."),i=e.length-1;let t=a,o=!1;for(let r=0;r{if("locale"in l&&"resource"in l){const{locale:s,resource:g}=l;s?(r[s]=r[s]||La(),xt(g,r[s])):xt(g,r)}else da(l)&&xt(JSON.parse(l),r)}),t==null&&o)for(const l in r)An(r,l)&&Li(r[l]);return r}function eg(a){return a.type}function ig(a,n,e){let i=xa(n.messages)?n.messages:La();"__i18nGlobal"in e&&(i=Rt(a.locale.value,{messages:i,__i18n:e.__i18nGlobal}));const t=Object.keys(i);t.length&&t.forEach(o=>{a.mergeLocaleMessage(o,i[o])});{if(xa(n.datetimeFormats)){const o=Object.keys(n.datetimeFormats);o.length&&o.forEach(r=>{a.mergeDateTimeFormat(r,n.datetimeFormats[r])})}if(xa(n.numberFormats)){const o=Object.keys(n.numberFormats);o.length&&o.forEach(r=>{a.mergeNumberFormat(r,n.numberFormats[r])})}}}function tg(a){return Wa(Gi,null,a,0)}const og="__INTLIFY_META__",rg=()=>[],Wy=()=>!1;let lg=0;function sg(a){return(n,e,i,t)=>a(e,i,ue()||void 0,t)}const Jy=()=>{const a=ue();let n=null;return a&&(n=eg(a)[og])?{[og]:n}:null};function dr(a={},n){const{__root:e,__injectWithOption:i}=a,t=e===void 0,o=a.flatJson,r=Et?ua:Ll,l=!!a.translateExistCompatible;let s=Ea(a.inheritLocale)?a.inheritLocale:!0;const g=r(e&&s?e.locale.value:da(a.locale)?a.locale:Je),d=r(e&&s?e.fallbackLocale.value:da(a.fallbackLocale)||za(a.fallbackLocale)||Ga(a.fallbackLocale)||a.fallbackLocale===!1?a.fallbackLocale:g.value),_=r(Rt(g.value,a)),k=r(Ga(a.datetimeFormats)?a.datetimeFormats:{[g.value]:{}}),x=r(Ga(a.numberFormats)?a.numberFormats:{[g.value]:{}});let D=e?e.missingWarn:Ea(a.missingWarn)||me(a.missingWarn)?a.missingWarn:!0,T=e?e.fallbackWarn:Ea(a.fallbackWarn)||me(a.fallbackWarn)?a.fallbackWarn:!0,$=e?e.fallbackRoot:Ea(a.fallbackRoot)?a.fallbackRoot:!0,w=!!a.fallbackFormat,L=Ha(a.missing)?a.missing:null,E=Ha(a.missing)?sg(a.missing):null,I=Ha(a.postTranslation)?a.postTranslation:null,G=e?e.warnHtmlMessage:Ea(a.warnHtmlMessage)?a.warnHtmlMessage:!0,S=!!a.escapeParameter;const v=e?e.modifiers:Ga(a.modifiers)?a.modifiers:{};let K=a.pluralRules||e&&e.pluralRules,O;O=(()=>{t&&Fc(null);const B={version:zy,locale:g.value,fallbackLocale:d.value,messages:_.value,modifiers:v,pluralRules:K,missing:E===null?void 0:E,missingWarn:D,fallbackWarn:T,fallbackFormat:w,unresolving:!0,postTranslation:I===null?void 0:I,warnHtmlMessage:G,escapeParameter:S,messageResolver:a.messageResolver,messageCompiler:a.messageCompiler,__meta:{framework:"vue"}};B.datetimeFormats=k.value,B.numberFormats=x.value,B.__datetimeFormatters=Ga(O)?O.__datetimeFormatters:void 0,B.__numberFormatters=Ga(O)?O.__numberFormatters:void 0;const Z=Ly(B);return t&&Fc(Z),Z})(),Ni(O,g.value,d.value);function sa(){return[g.value,d.value,_.value,k.value,x.value]}const ea=la({get:()=>g.value,set:B=>{g.value=B,O.locale=g.value}}),ga=la({get:()=>d.value,set:B=>{d.value=B,O.fallbackLocale=d.value,Ni(O,g.value,B)}}),Sa=la(()=>_.value),Ma=la(()=>k.value),ma=la(()=>x.value);function pa(){return Ha(I)?I:null}function Y(B){I=B,O.postTranslation=B}function ta(){return L}function aa(B){B!==null&&(E=sg(B)),L=B,O.missing=E}const ba=(B,Z,_a,va,Ra,an)=>{sa();let qa;try{__INTLIFY_PROD_DEVTOOLS__,t||(O.fallbackContext=e?Ny():void 0),qa=B(O)}finally{__INTLIFY_PROD_DEVTOOLS__,t||(O.fallbackContext=void 0)}if(_a!=="translate exists"&&Za(qa)&&qa===Lt||_a==="translate exists"&&!qa){const[Pa,$a]=Z();return e&&$?va(e):Ra(Pa)}else{if(an(qa))return qa;throw en(Qa.UNEXPECTED_RETURN_TYPE)}};function na(...B){return ba(Z=>Reflect.apply(Dc,null,[Z,...B]),()=>or(...B),"translate",Z=>Reflect.apply(Z.t,Z,[...B]),Z=>Z,Z=>da(Z))}function u(...B){const[Z,_a,va]=B;if(va&&!xa(va))throw en(Qa.INVALID_ARGUMENT);return na(Z,_a,on({resolvedMessage:!0},va||{}))}function A(...B){return ba(Z=>Reflect.apply(Yc,null,[Z,...B]),()=>rr(...B),"datetime format",Z=>Reflect.apply(Z.d,Z,[...B]),()=>Ic,Z=>da(Z))}function j(...B){return ba(Z=>Reflect.apply(Zc,null,[Z,...B]),()=>lr(...B),"number format",Z=>Reflect.apply(Z.n,Z,[...B]),()=>Ic,Z=>da(Z))}function c(B){return B.map(Z=>da(Z)||Za(Z)||Ea(Z)?tg(String(Z)):Z)}const p={normalize:c,interpolate:B=>B,type:"vnode"};function M(...B){return ba(Z=>{let _a;const va=Z;try{va.processor=p,_a=Reflect.apply(Dc,null,[va,...B])}finally{va.processor=null}return _a},()=>or(...B),"translate",Z=>Z[sr](...B),Z=>[tg(Z)],Z=>za(Z))}function N(...B){return ba(Z=>Reflect.apply(Zc,null,[Z,...B]),()=>lr(...B),"number format",Z=>Z[gr](...B),rg,Z=>da(Z)||za(Z))}function U(...B){return ba(Z=>Reflect.apply(Yc,null,[Z,...B]),()=>rr(...B),"datetime format",Z=>Z[cr](...B),rg,Z=>da(Z)||za(Z))}function h(B){K=B,O.pluralRules=K}function C(B,Z){return ba(()=>{if(!B)return!1;const _a=da(Z)?Z:g.value,va=H(_a),Ra=O.messageResolver(va,B);return l?Ra!=null:Kn(Ra)||Cn(Ra)||da(Ra)},()=>[B],"translate exists",_a=>Reflect.apply(_a.te,_a,[B,Z]),Wy,_a=>Ea(_a))}function y(B){let Z=null;const _a=Ec(O,d.value,g.value);for(let va=0;va<_a.length;va++){const Ra=_.value[_a[va]]||{},an=O.messageResolver(Ra,B);if(an!=null){Z=an;break}}return Z}function R(B){const Z=y(B);return Z??(e?e.tm(B)||{}:{})}function H(B){return _.value[B]||{}}function V(B,Z){if(o){const _a={[B]:Z};for(const va in _a)An(_a,va)&&Li(_a[va]);Z=_a[B]}_.value[B]=Z,O.messages=_.value}function oa(B,Z){_.value[B]=_.value[B]||{};const _a={[B]:Z};if(o)for(const va in _a)An(_a,va)&&Li(_a[va]);Z=_a[B],xt(Z,_.value[B]),O.messages=_.value}function Q(B){return k.value[B]||{}}function m(B,Z){k.value[B]=Z,O.datetimeFormats=k.value,Jc(O,B,Z)}function b(B,Z){k.value[B]=on(k.value[B]||{},Z),O.datetimeFormats=k.value,Jc(O,B,Z)}function F(B){return x.value[B]||{}}function J(B,Z){x.value[B]=Z,O.numberFormats=x.value,Xc(O,B,Z)}function ca(B,Z){x.value[B]=on(x.value[B]||{},Z),O.numberFormats=x.value,Xc(O,B,Z)}lg++,e&&Et&&(cn(e.locale,B=>{s&&(g.value=B,O.locale=B,Ni(O,g.value,d.value))}),cn(e.fallbackLocale,B=>{s&&(d.value=B,O.fallbackLocale=B,Ni(O,g.value,d.value))}));const ra={id:lg,locale:ea,fallbackLocale:ga,get inheritLocale(){return s},set inheritLocale(B){s=B,B&&e&&(g.value=e.locale.value,d.value=e.fallbackLocale.value,Ni(O,g.value,d.value))},get availableLocales(){return Object.keys(_.value).sort()},messages:Sa,get modifiers(){return v},get pluralRules(){return K||{}},get isGlobal(){return t},get missingWarn(){return D},set missingWarn(B){D=B,O.missingWarn=D},get fallbackWarn(){return T},set fallbackWarn(B){T=B,O.fallbackWarn=T},get fallbackRoot(){return $},set fallbackRoot(B){$=B},get fallbackFormat(){return w},set fallbackFormat(B){w=B,O.fallbackFormat=w},get warnHtmlMessage(){return G},set warnHtmlMessage(B){G=B,O.warnHtmlMessage=B},get escapeParameter(){return S},set escapeParameter(B){S=B,O.escapeParameter=B},t:na,getLocaleMessage:H,setLocaleMessage:V,mergeLocaleMessage:oa,getPostTranslationHandler:pa,setPostTranslationHandler:Y,getMissingHandler:ta,setMissingHandler:aa,[ag]:h};return ra.datetimeFormats=Ma,ra.numberFormats=ma,ra.rt=u,ra.te=C,ra.tm=R,ra.d=A,ra.n=j,ra.getDateTimeFormat=Q,ra.setDateTimeFormat=m,ra.mergeDateTimeFormat=b,ra.getNumberFormat=F,ra.setNumberFormat=J,ra.mergeNumberFormat=ca,ra[ng]=i,ra[sr]=M,ra[cr]=U,ra[gr]=N,ra}function Zy(a){const n=da(a.locale)?a.locale:Je,e=da(a.fallbackLocale)||za(a.fallbackLocale)||Ga(a.fallbackLocale)||a.fallbackLocale===!1?a.fallbackLocale:n,i=Ha(a.missing)?a.missing:void 0,t=Ea(a.silentTranslationWarn)||me(a.silentTranslationWarn)?!a.silentTranslationWarn:!0,o=Ea(a.silentFallbackWarn)||me(a.silentFallbackWarn)?!a.silentFallbackWarn:!0,r=Ea(a.fallbackRoot)?a.fallbackRoot:!0,l=!!a.formatFallbackMessages,s=Ga(a.modifiers)?a.modifiers:{},g=a.pluralizationRules,d=Ha(a.postTranslation)?a.postTranslation:void 0,_=da(a.warnHtmlInMessage)?a.warnHtmlInMessage!=="off":!0,k=!!a.escapeParameterHtml,x=Ea(a.sync)?a.sync:!0;let D=a.messages;if(Ga(a.sharedMessages)){const S=a.sharedMessages;D=Object.keys(S).reduce((K,O)=>{const q=K[O]||(K[O]={});return on(q,S[O]),K},D||{})}const{__i18n:T,__root:$,__injectWithOption:w}=a,L=a.datetimeFormats,E=a.numberFormats,I=a.flatJson,G=a.translateExistCompatible;return{locale:n,fallbackLocale:e,messages:D,flatJson:I,datetimeFormats:L,numberFormats:E,missing:i,missingWarn:t,fallbackWarn:o,fallbackRoot:r,fallbackFormat:l,modifiers:s,pluralRules:g,postTranslation:d,warnHtmlMessage:_,escapeParameter:k,messageResolver:a.messageResolver,inheritLocale:x,translateExistCompatible:G,__i18n:T,__root:$,__injectWithOption:w}}function pr(a={},n){{const e=dr(Zy(a)),{__extender:i}=a,t={id:e.id,get locale(){return e.locale.value},set locale(o){e.locale.value=o},get fallbackLocale(){return e.fallbackLocale.value},set fallbackLocale(o){e.fallbackLocale.value=o},get messages(){return e.messages.value},get datetimeFormats(){return e.datetimeFormats.value},get numberFormats(){return e.numberFormats.value},get availableLocales(){return e.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(o){},get missing(){return e.getMissingHandler()},set missing(o){e.setMissingHandler(o)},get silentTranslationWarn(){return Ea(e.missingWarn)?!e.missingWarn:e.missingWarn},set silentTranslationWarn(o){e.missingWarn=Ea(o)?!o:o},get silentFallbackWarn(){return Ea(e.fallbackWarn)?!e.fallbackWarn:e.fallbackWarn},set silentFallbackWarn(o){e.fallbackWarn=Ea(o)?!o:o},get modifiers(){return e.modifiers},get formatFallbackMessages(){return e.fallbackFormat},set formatFallbackMessages(o){e.fallbackFormat=o},get postTranslation(){return e.getPostTranslationHandler()},set postTranslation(o){e.setPostTranslationHandler(o)},get sync(){return e.inheritLocale},set sync(o){e.inheritLocale=o},get warnHtmlInMessage(){return e.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){e.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return e.escapeParameter},set escapeParameterHtml(o){e.escapeParameter=o},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(o){},get pluralizationRules(){return e.pluralRules||{}},__composer:e,t(...o){const[r,l,s]=o,g={};let d=null,_=null;if(!da(r))throw en(Qa.INVALID_ARGUMENT);const k=r;return da(l)?g.locale=l:za(l)?d=l:Ga(l)&&(_=l),za(s)?d=s:Ga(s)&&(_=s),Reflect.apply(e.t,e,[k,d||_||{},g])},rt(...o){return Reflect.apply(e.rt,e,[...o])},tc(...o){const[r,l,s]=o,g={plural:1};let d=null,_=null;if(!da(r))throw en(Qa.INVALID_ARGUMENT);const k=r;return da(l)?g.locale=l:Za(l)?g.plural=l:za(l)?d=l:Ga(l)&&(_=l),da(s)?g.locale=s:za(s)?d=s:Ga(s)&&(_=s),Reflect.apply(e.t,e,[k,d||_||{},g])},te(o,r){return e.te(o,r)},tm(o){return e.tm(o)},getLocaleMessage(o){return e.getLocaleMessage(o)},setLocaleMessage(o,r){e.setLocaleMessage(o,r)},mergeLocaleMessage(o,r){e.mergeLocaleMessage(o,r)},d(...o){return Reflect.apply(e.d,e,[...o])},getDateTimeFormat(o){return e.getDateTimeFormat(o)},setDateTimeFormat(o,r){e.setDateTimeFormat(o,r)},mergeDateTimeFormat(o,r){e.mergeDateTimeFormat(o,r)},n(...o){return Reflect.apply(e.n,e,[...o])},getNumberFormat(o){return e.getNumberFormat(o)},setNumberFormat(o,r){e.setNumberFormat(o,r)},mergeNumberFormat(o,r){e.mergeNumberFormat(o,r)},getChoiceIndex(o,r){return-1}};return t.__extender=i,t}}const mr={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:a=>a==="parent"||a==="global",default:"parent"},i18n:{type:Object}};function qy({slots:a},n){return n.length===1&&n[0]==="default"?(a.default?a.default():[]).reduce((i,t)=>[...i,...t.type===Aa?t.children:[t]],[]):n.reduce((e,i)=>{const t=a[i];return t&&(e[i]=t()),e},La())}function cg(a){return Aa}const gg=fi({name:"i18n-t",props:on({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:a=>Za(a)||!isNaN(a)}},mr),setup(a,n){const{slots:e,attrs:i}=n,t=a.i18n||hr({useScope:a.scope,__useComponent:!0});return()=>{const o=Object.keys(e).filter(_=>_!=="_"),r=La();a.locale&&(r.locale=a.locale),a.plural!==void 0&&(r.plural=da(a.plural)?+a.plural:a.plural);const l=qy(n,o),s=t[sr](a.keypath,l,r),g=on(La(),i),d=da(a.tag)||xa(a.tag)?a.tag:cg();return Ts(d,g,s)}}});function Xy(a){return za(a)&&!da(a[0])}function ug(a,n,e,i){const{slots:t,attrs:o}=n;return()=>{const r={part:!0};let l=La();a.locale&&(r.locale=a.locale),da(a.format)?r.key=a.format:xa(a.format)&&(da(a.format.key)&&(r.key=a.format.key),l=Object.keys(a.format).reduce((k,x)=>e.includes(x)?on(La(),k,{[x]:a.format[x]}):k,La()));const s=i(a.value,r,l);let g=[r.key];za(s)?g=s.map((k,x)=>{const D=t[k.type],T=D?D({[k.type]:k.value,index:x,parts:s}):[k.value];return Xy(T)&&(T[0].key=`${k.type}-${x}`),T}):da(s)&&(g=[s]);const d=on(La(),o),_=da(a.tag)||xa(a.tag)?a.tag:cg();return Ts(_,d,g)}}const dg=fi({name:"i18n-n",props:on({value:{type:Number,required:!0},format:{type:[String,Object]}},mr),setup(a,n){const e=a.i18n||hr({useScope:a.scope,__useComponent:!0});return ug(a,n,qc,(...i)=>e[gr](...i))}}),pg=fi({name:"i18n-d",props:on({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},mr),setup(a,n){const e=a.i18n||hr({useScope:a.scope,__useComponent:!0});return ug(a,n,Wc,(...i)=>e[cr](...i))}});function Qy(a,n){const e=a;if(a.mode==="composition")return e.__getInstance(n)||a.global;{const i=e.__getInstance(n);return i!=null?i.__composer:a.global.__composer}}function ab(a){const n=r=>{const{instance:l,modifiers:s,value:g}=r;if(!l||!l.$)throw en(Qa.UNEXPECTED_ERROR);const d=Qy(a,l.$),_=mg(g);return[Reflect.apply(d.t,d,[...hg(_)]),d]};return{created:(r,l)=>{const[s,g]=n(l);Et&&a.global===g&&(r.__i18nWatcher=cn(g.locale,()=>{l.instance&&l.instance.$forceUpdate()})),r.__composer=g,r.textContent=s},unmounted:r=>{Et&&r.__i18nWatcher&&(r.__i18nWatcher(),r.__i18nWatcher=void 0,delete r.__i18nWatcher),r.__composer&&(r.__composer=void 0,delete r.__composer)},beforeUpdate:(r,{value:l})=>{if(r.__composer){const s=r.__composer,g=mg(l);r.textContent=Reflect.apply(s.t,s,[...hg(g)])}},getSSRProps:r=>{const[l]=n(r);return{textContent:l}}}}function mg(a){if(da(a))return{path:a};if(Ga(a)){if(!("path"in a))throw en(Qa.REQUIRED_VALUE,"path");return a}else throw en(Qa.INVALID_VALUE)}function hg(a){const{path:n,locale:e,args:i,choice:t,plural:o}=a,r={},l=i||{};return da(e)&&(r.locale=e),Za(t)&&(r.plural=t),Za(o)&&(r.plural=o),[n,l,r]}function nb(a,n,...e){const i=Ga(e[0])?e[0]:{},t=!!i.useI18nComponentName;(Ea(i.globalInstall)?i.globalInstall:!0)&&([t?"i18n":gg.name,"I18nT"].forEach(r=>a.component(r,gg)),[dg.name,"I18nN"].forEach(r=>a.component(r,dg)),[pg.name,"I18nD"].forEach(r=>a.component(r,pg))),a.directive("t",ab(n))}function eb(a,n,e){return{beforeCreate(){const i=ue();if(!i)throw en(Qa.UNEXPECTED_ERROR);const t=this.$options;if(t.i18n){const o=t.i18n;if(t.__i18n&&(o.__i18n=t.__i18n),o.__root=n,this===this.$root)this.$i18n=yg(a,o);else{o.__injectWithOption=!0,o.__extender=e.__vueI18nExtend,this.$i18n=pr(o);const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}}else if(t.__i18n)if(this===this.$root)this.$i18n=yg(a,t);else{this.$i18n=pr({__i18n:t.__i18n,__injectWithOption:!0,__extender:e.__vueI18nExtend,__root:n});const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}else this.$i18n=a;t.__i18nGlobal&&ig(n,t,t),this.$t=(...o)=>this.$i18n.t(...o),this.$rt=(...o)=>this.$i18n.rt(...o),this.$tc=(...o)=>this.$i18n.tc(...o),this.$te=(o,r)=>this.$i18n.te(o,r),this.$d=(...o)=>this.$i18n.d(...o),this.$n=(...o)=>this.$i18n.n(...o),this.$tm=o=>this.$i18n.tm(o),e.__setInstance(i,this.$i18n)},mounted(){},unmounted(){const i=ue();if(!i)throw en(Qa.UNEXPECTED_ERROR);const t=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),e.__deleteInstance(i),delete this.$i18n}}}function yg(a,n){a.locale=n.locale||a.locale,a.fallbackLocale=n.fallbackLocale||a.fallbackLocale,a.missing=n.missing||a.missing,a.silentTranslationWarn=n.silentTranslationWarn||a.silentFallbackWarn,a.silentFallbackWarn=n.silentFallbackWarn||a.silentFallbackWarn,a.formatFallbackMessages=n.formatFallbackMessages||a.formatFallbackMessages,a.postTranslation=n.postTranslation||a.postTranslation,a.warnHtmlInMessage=n.warnHtmlInMessage||a.warnHtmlInMessage,a.escapeParameterHtml=n.escapeParameterHtml||a.escapeParameterHtml,a.sync=n.sync||a.sync,a.__composer[ag](n.pluralizationRules||a.pluralizationRules);const e=Rt(a.locale,{messages:n.messages,__i18n:n.__i18n});return Object.keys(e).forEach(i=>a.mergeLocaleMessage(i,e[i])),n.datetimeFormats&&Object.keys(n.datetimeFormats).forEach(i=>a.mergeDateTimeFormat(i,n.datetimeFormats[i])),n.numberFormats&&Object.keys(n.numberFormats).forEach(i=>a.mergeNumberFormat(i,n.numberFormats[i])),a}const ib=pe("global-vue-i18n");function tb(a={},n){const e=__VUE_I18N_LEGACY_API__&&Ea(a.legacy)?a.legacy:__VUE_I18N_LEGACY_API__,i=Ea(a.globalInjection)?a.globalInjection:!0,t=__VUE_I18N_LEGACY_API__&&e?!!a.allowComposition:!0,o=new Map,[r,l]=ob(a,e),s=pe("");function g(k){return o.get(k)||null}function d(k,x){o.set(k,x)}function _(k){o.delete(k)}{const k={get mode(){return __VUE_I18N_LEGACY_API__&&e?"legacy":"composition"},get allowComposition(){return t},async install(x,...D){if(x.__VUE_I18N_SYMBOL__=s,x.provide(x.__VUE_I18N_SYMBOL__,k),Ga(D[0])){const w=D[0];k.__composerExtend=w.__composerExtend,k.__vueI18nExtend=w.__vueI18nExtend}let T=null;!e&&i&&(T=mb(x,k.global)),__VUE_I18N_FULL_INSTALL__&&nb(x,k,...D),__VUE_I18N_LEGACY_API__&&e&&x.mixin(eb(l,l.__composer,k));const $=x.unmount;x.unmount=()=>{T&&T(),k.dispose(),$()}},get global(){return l},dispose(){r.stop()},__instances:o,__getInstance:g,__setInstance:d,__deleteInstance:_};return k}}function hr(a={}){const n=ue();if(n==null)throw en(Qa.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw en(Qa.NOT_INSTALLED);const e=rb(n),i=sb(e),t=eg(n),o=lb(a,t);if(__VUE_I18N_LEGACY_API__&&e.mode==="legacy"&&!a.__useComponent){if(!e.allowComposition)throw en(Qa.NOT_AVAILABLE_IN_LEGACY_MODE);return db(n,o,i,a)}if(o==="global")return ig(i,a,t),i;if(o==="parent"){let s=cb(e,n,a.__useComponent);return s==null&&(s=i),s}const r=e;let l=r.__getInstance(n);if(l==null){const s=on({},a);"__i18n"in t&&(s.__i18n=t.__i18n),i&&(s.__root=i),l=dr(s),r.__composerExtend&&(l[ur]=r.__composerExtend(l)),ub(r,n,l),r.__setInstance(n,l)}return l}function ob(a,n,e){const i=po();{const t=__VUE_I18N_LEGACY_API__&&n?i.run(()=>pr(a)):i.run(()=>dr(a));if(t==null)throw en(Qa.UNEXPECTED_ERROR);return[i,t]}}function rb(a){{const n=Ya(a.isCE?ib:a.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw en(a.isCE?Qa.NOT_INSTALLED_WITH_PROVIDE:Qa.UNEXPECTED_ERROR);return n}}function lb(a,n){return Mt(a)?"__i18n"in n?"local":"global":a.useScope?a.useScope:"local"}function sb(a){return a.mode==="composition"?a.global:a.global.__composer}function cb(a,n,e=!1){let i=null;const t=n.root;let o=gb(n,e);for(;o!=null;){const r=a;if(a.mode==="composition")i=r.__getInstance(o);else if(__VUE_I18N_LEGACY_API__){const l=r.__getInstance(o);l!=null&&(i=l.__composer,e&&i&&!i[ng]&&(i=null))}if(i!=null||t===o)break;o=o.parent}return i}function gb(a,n=!1){return a==null?null:n&&a.vnode.ctx||a.parent}function ub(a,n,e){Rn(()=>{},n),wo(()=>{const i=e;a.__deleteInstance(n);const t=i[ur];t&&(t(),delete i[ur])},n)}function db(a,n,e,i={}){const t=n==="local",o=Ll(null);if(t&&a.proxy&&!(a.proxy.$options.i18n||a.proxy.$options.__i18n))throw en(Qa.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const r=Ea(i.inheritLocale)?i.inheritLocale:!da(i.locale),l=ua(!t||r?e.locale.value:da(i.locale)?i.locale:Je),s=ua(!t||r?e.fallbackLocale.value:da(i.fallbackLocale)||za(i.fallbackLocale)||Ga(i.fallbackLocale)||i.fallbackLocale===!1?i.fallbackLocale:l.value),g=ua(Rt(l.value,i)),d=ua(Ga(i.datetimeFormats)?i.datetimeFormats:{[l.value]:{}}),_=ua(Ga(i.numberFormats)?i.numberFormats:{[l.value]:{}}),k=t?e.missingWarn:Ea(i.missingWarn)||me(i.missingWarn)?i.missingWarn:!0,x=t?e.fallbackWarn:Ea(i.fallbackWarn)||me(i.fallbackWarn)?i.fallbackWarn:!0,D=t?e.fallbackRoot:Ea(i.fallbackRoot)?i.fallbackRoot:!0,T=!!i.fallbackFormat,$=Ha(i.missing)?i.missing:null,w=Ha(i.postTranslation)?i.postTranslation:null,L=t?e.warnHtmlMessage:Ea(i.warnHtmlMessage)?i.warnHtmlMessage:!0,E=!!i.escapeParameter,I=t?e.modifiers:Ga(i.modifiers)?i.modifiers:{},G=i.pluralRules||t&&e.pluralRules;function S(){return[l.value,s.value,g.value,d.value,_.value]}const v=la({get:()=>o.value?o.value.locale.value:l.value,set:y=>{o.value&&(o.value.locale.value=y),l.value=y}}),K=la({get:()=>o.value?o.value.fallbackLocale.value:s.value,set:y=>{o.value&&(o.value.fallbackLocale.value=y),s.value=y}}),O=la(()=>o.value?o.value.messages.value:g.value),q=la(()=>d.value),sa=la(()=>_.value);function ea(){return o.value?o.value.getPostTranslationHandler():w}function ga(y){o.value&&o.value.setPostTranslationHandler(y)}function Sa(){return o.value?o.value.getMissingHandler():$}function Ma(y){o.value&&o.value.setMissingHandler(y)}function ma(y){return S(),y()}function pa(...y){return o.value?ma(()=>Reflect.apply(o.value.t,null,[...y])):ma(()=>"")}function Y(...y){return o.value?Reflect.apply(o.value.rt,null,[...y]):""}function ta(...y){return o.value?ma(()=>Reflect.apply(o.value.d,null,[...y])):ma(()=>"")}function aa(...y){return o.value?ma(()=>Reflect.apply(o.value.n,null,[...y])):ma(()=>"")}function ba(y){return o.value?o.value.tm(y):{}}function na(y,R){return o.value?o.value.te(y,R):!1}function u(y){return o.value?o.value.getLocaleMessage(y):{}}function A(y,R){o.value&&(o.value.setLocaleMessage(y,R),g.value[y]=R)}function j(y,R){o.value&&o.value.mergeLocaleMessage(y,R)}function c(y){return o.value?o.value.getDateTimeFormat(y):{}}function P(y,R){o.value&&(o.value.setDateTimeFormat(y,R),d.value[y]=R)}function p(y,R){o.value&&o.value.mergeDateTimeFormat(y,R)}function M(y){return o.value?o.value.getNumberFormat(y):{}}function N(y,R){o.value&&(o.value.setNumberFormat(y,R),_.value[y]=R)}function U(y,R){o.value&&o.value.mergeNumberFormat(y,R)}const h={get id(){return o.value?o.value.id:-1},locale:v,fallbackLocale:K,messages:O,datetimeFormats:q,numberFormats:sa,get inheritLocale(){return o.value?o.value.inheritLocale:r},set inheritLocale(y){o.value&&(o.value.inheritLocale=y)},get availableLocales(){return o.value?o.value.availableLocales:Object.keys(g.value)},get modifiers(){return o.value?o.value.modifiers:I},get pluralRules(){return o.value?o.value.pluralRules:G},get isGlobal(){return o.value?o.value.isGlobal:!1},get missingWarn(){return o.value?o.value.missingWarn:k},set missingWarn(y){o.value&&(o.value.missingWarn=y)},get fallbackWarn(){return o.value?o.value.fallbackWarn:x},set fallbackWarn(y){o.value&&(o.value.missingWarn=y)},get fallbackRoot(){return o.value?o.value.fallbackRoot:D},set fallbackRoot(y){o.value&&(o.value.fallbackRoot=y)},get fallbackFormat(){return o.value?o.value.fallbackFormat:T},set fallbackFormat(y){o.value&&(o.value.fallbackFormat=y)},get warnHtmlMessage(){return o.value?o.value.warnHtmlMessage:L},set warnHtmlMessage(y){o.value&&(o.value.warnHtmlMessage=y)},get escapeParameter(){return o.value?o.value.escapeParameter:E},set escapeParameter(y){o.value&&(o.value.escapeParameter=y)},t:pa,getPostTranslationHandler:ea,setPostTranslationHandler:ga,getMissingHandler:Sa,setMissingHandler:Ma,rt:Y,d:ta,n:aa,tm:ba,te:na,getLocaleMessage:u,setLocaleMessage:A,mergeLocaleMessage:j,getDateTimeFormat:c,setDateTimeFormat:P,mergeDateTimeFormat:p,getNumberFormat:M,setNumberFormat:N,mergeNumberFormat:U};function C(y){y.locale.value=l.value,y.fallbackLocale.value=s.value,Object.keys(g.value).forEach(R=>{y.mergeLocaleMessage(R,g.value[R])}),Object.keys(d.value).forEach(R=>{y.mergeDateTimeFormat(R,d.value[R])}),Object.keys(_.value).forEach(R=>{y.mergeNumberFormat(R,_.value[R])}),y.escapeParameter=E,y.fallbackFormat=T,y.fallbackRoot=D,y.fallbackWarn=x,y.missingWarn=k,y.warnHtmlMessage=L}return Zl(()=>{if(a.proxy==null||a.proxy.$i18n==null)throw en(Qa.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const y=o.value=a.proxy.$i18n.__composer;n==="global"?(l.value=y.locale.value,s.value=y.fallbackLocale.value,g.value=y.messages.value,d.value=y.datetimeFormats.value,_.value=y.numberFormats.value):t&&C(y)}),h}const pb=["locale","fallbackLocale","availableLocales"],bg=["t","rt","d","n","tm","te"];function mb(a,n){const e=Object.create(null);return pb.forEach(t=>{const o=Object.getOwnPropertyDescriptor(n,t);if(!o)throw en(Qa.UNEXPECTED_ERROR);const r=Va(o.value)?{get(){return o.value.value},set(l){o.value.value=l}}:{get(){return o.get&&o.get()}};Object.defineProperty(e,t,r)}),a.config.globalProperties.$i18n=e,bg.forEach(t=>{const o=Object.getOwnPropertyDescriptor(n,t);if(!o||!o.value)throw en(Qa.UNEXPECTED_ERROR);Object.defineProperty(a.config.globalProperties,`$${t}`,o)}),()=>{delete a.config.globalProperties.$i18n,bg.forEach(t=>{delete a.config.globalProperties[`$${t}`]})}}if(Vy(),__INTLIFY_JIT_COMPILATION__?Tc(By):Tc(Ky),Iy(gy),wy(Ec),__INTLIFY_PROD_DEVTOOLS__){const a=Qn();a.__INTLIFY__=!0,fy(a.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const hb=Object.assign({"./locales/ar/aria.json":Cm,"./locales/ar/buttons.json":jm,"./locales/ar/detail.json":km,"./locales/ar/legend.json":Gm,"./locales/ar/messages.json":vm,"./locales/ar/options.json":Am,"./locales/ar/prayerLaps.json":Sm,"./locales/ar/search.json":Em,"./locales/ar/tabs.json":Mm,"./locales/de/aria.json":Im,"./locales/de/buttons.json":wm,"./locales/de/detail.json":xm,"./locales/de/legend.json":Tm,"./locales/de/messages.json":Nm,"./locales/de/options.json":Lm,"./locales/de/prayerLaps.json":Rm,"./locales/de/search.json":$m,"./locales/de/tabs.json":Fm,"./locales/en/aria.json":Km,"./locales/en/buttons.json":Bm,"./locales/en/detail.json":Om,"./locales/en/legend.json":Um,"./locales/en/messages.json":Hm,"./locales/en/options.json":Dm,"./locales/en/popup.json":zm,"./locales/en/prayerLaps.json":Vm,"./locales/en/search.json":Ym,"./locales/en/tabs.json":Wm,"./locales/es/aria.json":Jm,"./locales/es/buttons.json":Zm,"./locales/es/detail.json":qm,"./locales/es/legend.json":Xm,"./locales/es/messages.json":Qm,"./locales/es/options.json":ah,"./locales/es/prayerLaps.json":nh,"./locales/es/search.json":eh,"./locales/es/tabs.json":ih,"./locales/fr/aria.json":th,"./locales/fr/buttons.json":oh,"./locales/fr/detail.json":rh,"./locales/fr/legend.json":lh,"./locales/fr/messages.json":sh,"./locales/fr/options.json":ch,"./locales/fr/popup.json":gh,"./locales/fr/prayerLaps.json":uh,"./locales/fr/search.json":dh,"./locales/fr/tabs.json":ph,"./locales/hi/aria.json":mh,"./locales/hi/buttons.json":hh,"./locales/hi/detail.json":yh,"./locales/hi/legend.json":bh,"./locales/hi/messages.json":_h,"./locales/hi/options.json":fh,"./locales/hi/prayerLaps.json":Ph,"./locales/hi/search.json":Ch,"./locales/it/aria.json":jh,"./locales/it/buttons.json":kh,"./locales/it/detail.json":Gh,"./locales/it/legend.json":vh,"./locales/it/messages.json":Ah,"./locales/it/options.json":Sh,"./locales/it/prayerLaps.json":Eh,"./locales/it/search.json":Mh,"./locales/pt/aria.json":Ih,"./locales/pt/buttons.json":wh,"./locales/pt/detail.json":xh,"./locales/pt/legend.json":Th,"./locales/pt/messages.json":Nh,"./locales/pt/options.json":Lh,"./locales/pt/prayerLaps.json":Rh,"./locales/pt/search.json":$h,"./locales/pt/tabs.json":Fh,"./locales/ro/aria.json":Kh,"./locales/ro/buttons.json":Bh,"./locales/ro/detail.json":Oh,"./locales/ro/legend.json":Uh,"./locales/ro/messages.json":Hh,"./locales/ro/options.json":Dh,"./locales/ro/prayerLaps.json":zh,"./locales/ro/search.json":Vh,"./locales/ru/aria.json":Yh,"./locales/ru/buttons.json":Wh,"./locales/ru/detail.json":Jh,"./locales/ru/legend.json":Zh,"./locales/ru/messages.json":qh,"./locales/ru/options.json":Xh,"./locales/ru/prayerLaps.json":Qh,"./locales/ru/search.json":a0,"./locales/ru/tabs.json":n0,"./locales/zh/aria.json":e0,"./locales/zh/buttons.json":i0,"./locales/zh/detail.json":t0,"./locales/zh/legend.json":o0,"./locales/zh/messages.json":r0,"./locales/zh/options.json":l0,"./locales/zh/prayerLaps.json":s0,"./locales/zh/search.json":c0}),Ri={};for(const[a,n]of Object.entries(hb)){const e=a.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!e)continue;const[,i,t]=e;Ri[i]??(Ri[i]={}),Ri[i][t]=n}const _g=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"];function yb(){var e;const n=(((e=document==null?void 0:document.documentElement)==null?void 0:e.lang)||"").split("-")[0].toLowerCase();return _g.includes(n)?n:"en"}function bb(){return tb({legacy:!1,globalInjection:!0,locale:yb(),fallbackLocale:"en",messages:Ri,missingWarn:!1,fallbackWarn:!1})}let _b=0;const fb=Jo("ui",{state:()=>({_storeInstanceId:++_b,theme:"light",colorScheme:"default",reducedMotion:!1,highContrast:!1,activeTab:"geo-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:a=>a.theme==="auto"?window.matchMedia("(prefers-color-scheme: dark)").matches:a.theme==="dark",isMobile:a=>a.breakpoint==="mobile",isTablet:a=>a.breakpoint==="tablet",isDesktop:a=>a.breakpoint==="desktop"||a.breakpoint==="wide",legendHeight:a=>a._customLegendHeight?a._customLegendHeight:a.legendState==="collapsed"?"48px":a.legendState==="open"?"30%":a.legendState==="fullyOpen"?"calc(100% - 80px)":"48px",caretRotation:a=>a.legendState==="collapsed"?0:90,showPullTab:a=>a.legendState==="open"||a.legendState==="fullyOpen",getToastsByType:a=>n=>a.toasts.filter(e=>e.type===n),hasOpenModal:a=>a.openModals.length>0,topModal:a=>a.openModals.length===0?null:a.openModals[a.openModals.length-1],isModalOpen:a=>n=>a.openModals.includes(n),isAnyLoading:a=>a.isGlobalLoading||a.loadingStates.size>0,isLoading:a=>n=>a.loadingStates.get(n)||!1},actions:{setTheme(a){if(!["light","dark","auto"].includes(a))return;this.theme=a;const e=this.isDarkTheme;document.documentElement.setAttribute("data-theme",e?"dark":"light"),localStorage.setItem("theme",a)},toggleTheme(){const a=this.theme==="light"?"dark":"light";this.setTheme(a)},setColorScheme(a){this.colorScheme=a,document.documentElement.setAttribute("data-color-scheme",a)},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(a){this.activeTab=a,this.addToHistory({type:"tab-change",tabId:a,timestamp:Date.now()})},toggleSidebar(){this.sidebarCollapsed=!this.sidebarCollapsed},openMobileMenu(){this.mobileMenuOpen=!0},closeMobileMenu(){this.mobileMenuOpen=!1},setLegendMode(a){["prayer","detail"].includes(a)&&(this.legendMode=a)},setPrayerFilter(a){[null,"noPrayer","hasPrayer","fullPrayer"].includes(a)&&(this.prayerFilter=a)},setEngagementFilter(a){[null,"notEngaged","hasEngagement"].includes(a)&&(this.engagementFilter=a)},setAdoptionFilter(a){[null,"notAdopted","hasAdoption"].includes(a)&&(this.adoptionFilter=a)},setReligionFilter(a){[null,"C","M","H","B","E","J","S","N","O","U"].includes(a)&&(this.religionFilter=a)},selectPeopleGroup(a){this.selectedPeopleGroup=a,a?(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(a){["collapsed","open","fullyOpen"].includes(a)&&(this.legendState=a)},toggleSearchMode(){this.searchMode=!this.searchMode},setSearchMode(a){this.searchMode=a},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},updateBreakpoint(a){let n;a<768?n="mobile":a<1024?n="tablet":a<1920?n="desktop":n="wide",n!==this.breakpoint&&(this.breakpoint=n)},updateWindowSize(a,n){this.windowSize.width=a,this.windowSize.height=n,this.updateBreakpoint(a)},showToast(a){const{message:n,type:e="info",duration:i=this.toastDuration,action:t=null,persistent:o=!1}=a,r={id:this.nextToastId++,message:n,type:e,duration:i,action:t,persistent:o,createdAt:Date.now()};return this.toasts.push(r),!o&&i>0&&setTimeout(()=>{this.removeToast(r.id)},i),r.id},showSuccess(a,n={}){return this.showToast({message:a,type:"success",...n})},showError(a,n={}){return this.showToast({message:a,type:"error",duration:7e3,...n})},showWarning(a,n={}){return this.showToast({message:a,type:"warning",...n})},showInfo(a,n={}){return this.showToast({message:a,type:"info",...n})},removeToast(a){const n=this.toasts.findIndex(e=>e.id===a);n!==-1&&this.toasts.splice(n,1)},clearAllToasts(){this.toasts=[]},openModal(a,n={}){this.openModals.includes(a)||(this.openModals.push(a),this.modalData.set(a,n),this.focusTrapActive=!0)},closeModal(a=null){if(a){const n=this.openModals.indexOf(a);n!==-1&&(this.openModals.splice(n,1),this.modalData.delete(a))}else{const n=this.openModals.pop();n&&this.modalData.delete(n)}this.openModals.length===0&&(this.focusTrapActive=!1)},closeAllModals(){this.openModals=[],this.modalData.clear(),this.focusTrapActive=!1},getModalData(a){return this.modalData.get(a)},showGlobalLoading(a="Loading..."){this.isGlobalLoading=!0,this.globalLoadingMessage=a},hideGlobalLoading(){this.isGlobalLoading=!1},setLoading(a,n=!0){n?this.loadingStates.set(a,!0):this.loadingStates.delete(a)},addToHistory(a){this.interactionHistory.push(a),this.interactionHistory.length>this.maxHistoryLength&&this.interactionHistory.shift()},clearHistory(){this.interactionHistory=[]},announce(a,n="polite"){this.screenReaderAnnouncement=a,setTimeout(()=>{this.screenReaderAnnouncement===a&&(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(a){this._customLegendHeight=a},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(){const a=localStorage.getItem("theme");a&&this.setTheme(a),new ResizeObserver(e=>{for(const i of e)this.updateWindowSize(i.contentRect.width,i.contentRect.height)}).observe(document.documentElement),window.matchMedia&&(window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",e=>{this.theme==="auto"&&document.documentElement.setAttribute("data-theme",e.matches?"dark":"light")}),window.matchMedia("(prefers-reduced-motion: reduce)").addEventListener("change",e=>{this.reducedMotion=e.matches,document.documentElement.setAttribute("data-reduced-motion",e.matches)}))}}}),Pb=Jo("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:a=>n=>a.maps[n],activeMap:a=>a.activeMapId?a.maps[a.activeMapId]:null,hasMap:a=>n=>n in a.maps,allMapIds:a=>Object.keys(a.maps),hasSelection:a=>!!(a.selectedRegion||a.selectedFamily||a.selectedAffinityBlock||a.selectedPeopleGroup),isAutoFlying:a=>a.autoFly.isActive,isGuidedTourActive:a=>a.guidedTour.isActive,isMapFullscreen:a=>n=>a.fullscreenMapId===n},actions:{registerMap(a,n,e={}){let i=1.5;e.zoom!==void 0?i=e.zoom:n&&typeof n.getZoom=="function"&&(i=n.getZoom());let t=[0,0];if(e.center)t=e.center;else if(n&&typeof n.getCenter=="function"){const o=n.getCenter();o&&(t=[o.lng,o.lat])}this.maps[a]={instance:n,config:e,isReady:!1,zoom:i,center:t,registeredAt:Date.now()},this.activeMapId||(this.activeMapId=a)},setMapReady(a){const n=this.maps[a];n&&(n.isReady=!0)},updateMapState(a,n){const e=this.maps[a];e&&Object.assign(e,n)},unregisterMap(a){if(delete this.maps[a],this.activeMapId===a){const n=this.allMapIds;this.activeMapId=n.length>0?n[0]:null}},setActiveMap(a){a in this.maps&&(this.activeMapId=a)},selectRegion(a){this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedRegion=a},selectFamily(a){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedFamily=a},setActiveLegendTab(a){this.activeLegendTab=a},selectLanguage(a){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedFamily=null,this.selectedDialect=null,this.selectedLanguage=a},selectDialect(a){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedDialect=a},selectAffinityBlock(a){this.selectedRegion=null,this.selectedFamily=null,this.selectedPeopleGroup=null,this.selectedAffinityBlock=a},selectPeopleGroup(a){this.selectedPeopleGroup=a},selectResource(a){this.selectedRegion=null,this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedResource===a?this.selectedResource=null:this.selectedResource=a},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(a){this.selectedPinIds=a||[]},setFilter(a,n){this.globalFilters[a]=n},removeFilter(a){delete this.globalFilters[a]},clearFilters(){this.globalFilters={},this.searchQuery=""},setSearchQuery(a){this.searchQuery=a},startAutoFly(a,n=1){this.stopAutoFly(),this.autoFly.isActive=!0,this.autoFly.speed=n,this.autoFly.items=a,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(a){this.autoFly.speed=Math.max(.5,Math.min(2,a))},nextAutoFlyItem(){if(!this.autoFly.isActive||this.autoFly.items.length===0)return;this.autoFly.currentIndex=(this.autoFly.currentIndex+1)%this.autoFly.items.length;const a=this.autoFly.items[this.autoFly.currentIndex];a.type==="region"?this.selectRegion(a):a.type==="family"&&this.selectFamily(a)},toggleClusters(a){typeof a=="boolean"?this.showClusters=a:this.showClusters=!this.showClusters},setClusterMode(a){["region","language-family","affinity-block","mst","resource"].includes(a)&&(this.clusterMode=a)},setClusterFilter(a,n){this.clusterFilterProperty=a||null,this.clusterFilterValue=n||null},clearClusterFilter(){this.clusterFilterProperty=null,this.clusterFilterValue=null},setFlySpeed(a){["slow","normal","fast"].includes(a)&&(this.flySpeed=a)},setSelectedFamily(a){this.selectFamily(a)},clearSelectedFamily(){this.selectFamily(null)},setSelectedRegion(a){this.selectRegion(a)},clearSelectedRegion(){this.selectRegion(null)},clearSelectedResource(){this.selectResource(null)},clearSelectedLanguage(){this.selectLanguage(null)},clearSelectedDialect(){this.selectDialect(null)},toggleFullscreen(a){this.fullscreenMapId===a?this.fullscreenMapId=null:this.fullscreenMapId=a},loadPreferences(){try{const a=localStorage.getItem("mapUserPreferences");if(a){const n=JSON.parse(a);this.preferences={...this.preferences,...n}}}catch(a){console.error("[mapStore] Failed to load preferences:",a)}},savePreferences(){try{localStorage.setItem("mapUserPreferences",JSON.stringify(this.preferences))}catch(a){console.error("[mapStore] Failed to save preferences:",a)}},setPreference(a,n){this.preferences[a]=n,this.preferences.autoSavePreferences&&this.savePreferences()}}}),Cb=Jo("data",{state:()=>({sources:{},loadingStates:{}}),actions:{async load(a,n){if(!this.sources[a]){this.loadingStates[a]={isLoading:!0,error:null};try{const e=await n();this.sources[a]=mi({features:e,timestamp:Date.now()}),this.loadingStates[a]={isLoading:!1,error:null}}catch(e){console.error(`[dataStore] Failed to load source "${a}":`,e),this.loadingStates[a]={isLoading:!1,error:e}}}},clearSource(a){delete this.sources[a],delete this.loadingStates[a]},cacheSourceData(a,n){this.sources[a]=mi({features:n.normalizedData||[],timestamp:n.timestamp||Date.now()})},hasSourceData(a){return!!this.sources[a]},getSourceData(a){return this.sources[a]?{normalizedData:this.sources[a].features}:null}},getters:{getData:a=>n=>{var e;return((e=a.sources[n])==null?void 0:e.features)??null},isLoading:a=>n=>{var e;return((e=a.loadingStates[n])==null?void 0:e.isLoading)??!1},getError:a=>n=>{var e;return((e=a.loadingStates[n])==null?void 0:e.error)??null}}}),jb={activeSource:"pray-tools"},kb=(a,n)=>{const e=a.__vccOpts||a;for(const[i,t]of n)e[i]=t;return e},Gb={class:"profile-loader"},vb={key:0,class:"profile-error"},Ab={key:1,class:"profile-error"},Sb=kb({__name:"ProfileLoader",props:{profileConfig:{type:String,default:""}},setup(a){var $;const n=a,e=la(()=>{if(!n.profileConfig)return null;try{return JSON.parse(n.profileConfig)}catch{return console.error("[ProfileLoader] Invalid profile-config JSON:",n.profileConfig),null}}),i=la(()=>{var w;return((w=e.value)==null?void 0:w.profile)||null}),t=la(()=>{var w;return((w=e.value)==null?void 0:w.tk)||""}),o=la(()=>{var w;return((w=e.value)==null?void 0:w.dataSource)||jb.activeSource}),r=la(()=>{var w;return((w=e.value)==null?void 0:w.colorSet)||"default"}),l=la(()=>{var L,E;const w=(((L=e.value)==null?void 0:L.locale)||((E=e.value)==null?void 0:E.lang)||"").split("-")[0].toLowerCase();return _g.includes(w)?w:""}),s=Ya("appI18n",null);xd(()=>{l.value&&s&&(s.global.locale.value=l.value)});const g=la(()=>{var w,L;return l.value||((L=(w=s==null?void 0:s.global)==null?void 0:w.locale)==null?void 0:L.value)||"en"}),d=la(()=>{var w;return((w=e.value)==null?void 0:w.instanceId)||"map-embed-"+Math.random().toString(36).slice(2,9)}),_=Ya("profileModules",null);if(!_)throw new Error('[ProfileLoader] No profileModules provided. Bundle entry must `app.provide("profileModules", import.meta.glob("./*.vue"))`');const k=la(()=>{if(!i.value)return null;const w=`./${i.value}.vue`;return _[w]?Fd(_[w]):(console.error(`[ProfileLoader] Profile not found: "${i.value}". Available:`,Object.keys(_)),null)});vn("mapboxToken",t),vn("dataSource",o),vn("colorSet",r),vn("profileConfig",e),vn("instanceId",d),vn("lang",g);const x=fb(),D=Pb(),T=Cb();try{window.localStorage.getItem("__probe__")}catch{const L=Object.create(null),E={getItem:I=>I in L?L[I]:null,setItem:(I,G)=>{L[I]=String(G)},removeItem:I=>{delete L[I]},clear:()=>{for(const I in L)delete L[I]},key:I=>Object.keys(L)[I]??null,get length(){return Object.keys(L).length}};try{Object.defineProperty(window,"localStorage",{configurable:!0,value:E})}catch{}}try{const w=localStorage.getItem("theme");w&&(($=x.setTheme)==null||$.call(x,w))}catch{}return vn("uiStore",x),vn("mapStore",D),vn("dataStore",T),(w,L)=>(z(),W("div",Gb,[e.value?k.value?(z(),Me(Jd(k.value),{key:2})):(z(),W("div",Ab,[f("p",null,[L[1]||(L[1]=ya("⚠️ Profile ",-1)),f("strong",null,'"'+X(i.value)+'"',1),L[2]||(L[2]=ya(" not found.",-1))])])):(z(),W("div",vb,[...L[0]||(L[0]=[f("p",null,[ya("⚠️ "),f("strong",null,"map-embed"),ya(": missing or invalid "),f("code",null,"profile-config"),ya(" prop.")],-1),f("p",null,[ya("Example: "),f("code",null,`profile-config='{"profile":"example-map","tk":"pk.YOUR_MAPBOX_TOKEN"}'`)],-1)])]))]))}},[["__scopeId","data-v-8d448c33"]]),Eb=Object.assign({"./bloom-cockpit.vue":()=>oi(()=>Promise.resolve().then(()=>P_),void 0),"./flower-mesh.vue":()=>oi(()=>Promise.resolve().then(()=>Y_),void 0),"./lang-cluster.vue":()=>oi(()=>Promise.resolve().then(()=>p5),void 0),"./send-map.vue":()=>oi(()=>Promise.resolve().then(()=>K5),void 0),"./upg-neighbors.vue":()=>oi(()=>Promise.resolve().then(()=>Of),void 0)});if(typeof window<"u"&&((xu=window.mapboxgl)!=null&&xu.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 $i(){return rm(Sb,{configureApp(a){a.use(hm()),a.use(bb()),a.provide("profileModules",Eb)}})}typeof customElements<"u"&&(customElements.get("send-map")||customElements.define("send-map",$i()),customElements.get("flower-mesh")||customElements.define("flower-mesh",$i()),customElements.get("lang-cluster")||customElements.define("lang-cluster",$i()),customElements.get("bloom-cockpit")||customElements.define("bloom-cockpit",$i()),customElements.get("upg-neighbors")||customElements.define("upg-neighbors",$i()));function On(a,n){const e=n||Mb(a);Rn(()=>{var l;const i=ue();if(!i)return;const t=(l=i.proxy)==null?void 0:l.$el;if(!t)return;const o=t.getRootNode();if(!(o instanceof ShadowRoot)||o.querySelector(`style[data-shadow-styles="${e}"]`))return;const r=document.createElement("style");r.setAttribute("data-shadow-styles",e),r.textContent=a,o.appendChild(r)})}function Mb(a){let n=0;for(let e=0;e=2% (>=2% evangelical) OR GSEC>=4 — senders only; 'Engaged' excluded (engaged != reached)",reached_pool:5146,target_countries:40,total_neighbors:2603,neighbors_with_rol3:2603,neighbors_with_coords:2603},countries:{India:{target_upg:2040,target_pop:1394512400,target_top_langs:["Hindi","Urdu","Gujarati","Marathi"],target_top_religion:"Hinduism",neighbors:[{name:"Naga, Sangtam",country:"India",lang:"Naga, Sangtam",rol3:"nsa",pct_christian:75,pop:12e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.85,lng:94.62,code:"PG041909"},{name:"Naga Kacha",country:"India",lang:"Naga, Zeme",rol3:"nzm",pct_christian:75,pop:69500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.21,lng:94.04,code:"PG049568"},{name:"Moyon",country:"India",lang:"Naga, Moyon",rol3:"nmo",pct_christian:75,pop:3600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.24,lng:94.09,code:"PG049747"},{name:"Lisu",country:"India",lang:"Lisu",rol3:"lis",pct_christian:75,pop:2600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:27.37,lng:96.37,code:"PG049761"},{name:"Koirao",country:"India",lang:"Boro (India)",rol3:"brx",pct_christian:75,pop:1800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.2,lng:94.05,code:"PG049766"},{name:"Beldar (Bundelkhandi)",country:"India",lang:"Bundeli",rol3:"bns",pct_christian:75,pop:550,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:24.76,lng:81.58,code:"PG048210"},{name:"Majhi",country:"India",lang:"Majhi",rol3:"mjz",pct_christian:75,pop:500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.11,lng:88.35,code:"PG049075"},{name:"Ansari-Momin (Sadri)",country:"India",lang:"Sadri",rol3:"sck",pct_christian:75,pop:225,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:23.63,lng:85.55,code:"PG048700"},{name:"Syrian Christian",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:62.5,pop:4495e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:12.35,lng:76.09,code:"PG041308"},{name:"Naga, Ao",country:"India",lang:"Naga, Ao",rol3:"njo",pct_christian:62.5,pop:411e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:26.34,lng:94.36,code:"PG041361"},{name:"Anglo Indian",country:"India",lang:"English",rol3:"eng",pct_christian:62.5,pop:398e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:12.95,lng:77.6,code:"PG041386"},{name:"Naga, Sema",country:"India",lang:"Naga, Sumi",rol3:"nsm",pct_christian:62.5,pop:368e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.93,lng:94.23,code:"PG041651"},{name:"Naga, Konyak",country:"India",lang:"Naga, Konyak",rol3:"nbe",pct_christian:62.5,pop:361e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.72,lng:95.04,code:"PG041687"},{name:"Naga, Angami",country:"India",lang:"Naga, Angami",rol3:"njm",pct_christian:62.5,pop:241e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.69,lng:93.9,code:"PG041738"},{name:"Naga, Lotha",country:"India",lang:"Naga, Lotha",rol3:"njh",pct_christian:62.5,pop:234e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.01,lng:94.06,code:"PG041755"},{name:"Naga, Tangkhul",country:"India",lang:"Naga, Tangkhul (India)",rol3:"nmf",pct_christian:62.5,pop:214e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.07,lng:94.38,code:"PG041697"},{name:"Naga, Chakhesang",country:"India",lang:"Naga, Chokri",rol3:"nri",pct_christian:62.5,pop:198e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.56,lng:94.3,code:"PG041748"},{name:"Kuki",country:"India",lang:"Chin, Thado",rol3:"tcz",pct_christian:62.5,pop:179e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.49,lng:93.86,code:"PG041761"},{name:"Naga, Kabui",country:"India",lang:"Naga, Rongmei",rol3:"nbu",pct_christian:62.5,pop:121e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.15,lng:93.79,code:"PG041943"},{name:"Naga, Yimchunger",country:"India",lang:"Naga, Yimchungru",rol3:"yim",pct_christian:62.5,pop:112e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.8,lng:94.83,code:"PG041978"},{name:"Naga, Mao",country:"India",lang:"Naga, Mao",rol3:"nbi",pct_christian:62.5,pop:106e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.2,lng:94.04,code:"PG041779"},{name:"Naga, Zeliang",country:"India",lang:"Naga, Zeme",rol3:"nzm",pct_christian:62.5,pop:106e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.62,lng:93.83,code:"PG041995"},{name:"Naga, Rengma",country:"India",lang:"Naga, Southern Rengma",rol3:"nre",pct_christian:62.5,pop:79e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.26,lng:94.7,code:"PG042067"},{name:"Vaiphei",country:"India",lang:"Vaiphei",rol3:"vap",pct_christian:62.5,pop:56e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.31,lng:93.43,code:"PG042060"},{name:"Kahha",country:"India",lang:"Naga, Phom",rol3:"nph",pct_christian:62.5,pop:50500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.48,lng:94.74,code:"PG041953"},{name:"Mizo, Pawi",country:"India",lang:"Chin, Paite",rol3:"pck",pct_christian:62.5,pop:47500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.84,lng:92.88,code:"PG041966"},{name:"Nicobarese",country:"India",lang:"Nicobarese, Car",rol3:"caq",pct_christian:62.5,pop:42500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.18,lng:92.77,code:"PG041984"},{name:"Naga, Maring",country:"India",lang:"Naga, Maring",rol3:"nng",pct_christian:62.5,pop:34500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.24,lng:94.09,code:"PG042119"},{name:"Chin, Mara",country:"India",lang:"Mara",rol3:"mrh",pct_christian:62.5,pop:34e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.84,lng:92.89,code:"PG042043"},{name:"Zou",country:"India",lang:"Zo",rol3:"zom",pct_christian:62.5,pop:3e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.16,lng:93.71,code:"PG042107"},{name:"Naga, Pochury",country:"India",lang:"Naga, Pochuri",rol3:"npo",pct_christian:62.5,pop:24500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.03,lng:94.53,code:"PG049624"},{name:"Gangte",country:"India",lang:"Gangte",rol3:"gnb",pct_christian:62.5,pop:16e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.28,lng:93.69,code:"PG042166"},{name:"Lamgang",country:"India",lang:"Lamkang",rol3:"lmk",pct_christian:62.5,pop:8700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.44,lng:94.05,code:"PG049002"},{name:"Chiru",country:"India",lang:"Chiru",rol3:"cdf",pct_christian:62.5,pop:8300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.35,lng:94.11,code:"PG049001"},{name:"Cote",country:"India",lang:"Naga, Chothe",rol3:"nct",pct_christian:62.5,pop:4100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.24,lng:94.09,code:"PG049749"},{name:"Aimol",country:"India",lang:"Aimol",rol3:"aim",pct_christian:62.5,pop:3700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.7,lng:93.92,code:"PG048880"},{name:"Ucai",country:"India",lang:"Kok Borok",rol3:"trp",pct_christian:62.5,pop:3100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.36,lng:92.17,code:"PG049762"},{name:"Monsang",country:"India",lang:"Naga, Monsang",rol3:"nmh",pct_christian:62.5,pop:2600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.24,lng:94.09,code:"PG049759"},{name:"Soria",country:"India",lang:"Hindi",rol3:"hin",pct_christian:62.5,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:23.2,lng:77.09,code:"PG048955"},{name:"Pnar",country:"India",lang:"Pnar",rol3:"pbv",pct_christian:62.5,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.84,lng:92.89,code:"PG049638"},{name:"Mangli",country:"India",lang:"Sambalpuri",rol3:"spv",pct_christian:62.5,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:19.91,lng:83.18,code:"PG049616"},{name:"Rathodia",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:62.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:22.3,lng:73.39,code:"PG048948"},{name:"Tarao",country:"India",lang:"Naga, Tarao",rol3:"tro",pct_christian:62.5,pop:550,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.24,lng:94.09,code:"PG049555"},{name:"Bagti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:62.5,pop:275,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.28,lng:86.43,code:"PG049044"},{name:"Khasi",country:"India",lang:"Khasi",rol3:"kha",pct_christian:45,pop:1675e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.52,lng:91.79,code:"PG041380"},{name:"Pulayan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:45,pop:154e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:10.06,lng:76.53,code:"PG041344"},{name:"Garo",country:"India",lang:"Garo",rol3:"grt",pct_christian:45,pop:1065e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:25.62,lng:90.74,code:"PG041444"},{name:"Meghval",country:"India",lang:"Hindi",rol3:"hin",pct_christian:45,pop:377e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:26.87,lng:73.03,code:"PG041328"},{name:"Santal (Oriya)",country:"India",lang:"Odia",rol3:"ory",pct_christian:45,pop:176e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:22.8,lng:87.48,code:"PG046353"},{name:"Hmar",country:"India",lang:"Hmar",rol3:"hmr",pct_christian:45,pop:113e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.97,lng:93.56,code:"PG041808"},{name:"Paite",country:"India",lang:"Chin, Paite",rol3:"pck",pct_christian:45,pop:94e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.3,lng:93.43,code:"PG041890"},{name:"Naga, Khiamngan",country:"India",lang:"Naga, Khiamniungan",rol3:"kix",pct_christian:45,pop:56e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.17,lng:94.89,code:"PG042023"},{name:"Mizo",country:"India",lang:"Mizo",rol3:"lus",pct_christian:35,pop:1115e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.31,lng:92.83,code:"PG041461"},{name:"Thadou",country:"India",lang:"Chin, Thado",rol3:"tcz",pct_christian:35,pop:268e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.3,lng:93.43,code:"PG041679"},{name:"Mal Paharia",country:"India",lang:"Mal Paharia",rol3:"mkb",pct_christian:35,pop:231e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:24.56,lng:87.66,code:"PG041653"},{name:"Bhil Mina",country:"India",lang:"Vaghri",rol3:"vgr",pct_christian:35,pop:131e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:24.59,lng:73.72,code:"PG048977"},{name:"Nissi",country:"India",lang:"Nyishi",rol3:"njz",pct_christian:35,pop:113e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:27.27,lng:93.61,code:"PG041760"},{name:"Chang (Naga)",country:"India",lang:"Naga, Chang",rol3:"nbc",pct_christian:35,pop:81500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.17,lng:94.89,code:"PG041979"},{name:"Malai Arayan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:35,pop:48e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:9.65,lng:76.66,code:"PG041952"},{name:"Anal",country:"India",lang:"Anal",rol3:"anm",pct_christian:35,pop:31500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.04,lng:94.14,code:"PG042153"},{name:"Nagbansi (Dogri)",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:35,pop:1700,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:33.05,lng:75.08,code:"PG048317"},{name:"Pagi",country:"India",lang:"Konkani",rol3:"knn",pct_christian:35,pop:650,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:14.91,lng:74.23,code:"PG049171"},{name:"Munda ",country:"India",lang:"Munda",rol3:"unx",pct_christian:25,pop:2875e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:23.75,lng:88.2,code:"PG041329"},{name:"Kharia",country:"India",lang:"Kharia",rol3:"khr",pct_christian:25,pop:889e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:22.47,lng:84.55,code:"PG041457"},{name:"Paravar",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:25,pop:162e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:8.62,lng:77,code:"PG041743"},{name:"Koh",country:"India",lang:"Marathi",rol3:"mar",pct_christian:25,pop:96500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:20.29,lng:76.9,code:"PG041285"},{name:"Mehar",country:"India",lang:"Mewari",rol3:"mtr",pct_christian:25,pop:84500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:24.37,lng:76.25,code:"PG041828"},{name:"Madgi",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:76500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:20.17,lng:79.45,code:"PG041802"},{name:"Mech",country:"India",lang:"Assamese",rol3:"asm",pct_christian:25,pop:73500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:27.1,lng:92.43,code:"PG041900"},{name:"Adi Gallong",country:"India",lang:"Adi, Galo",rol3:"adl",pct_christian:25,pop:71e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:28.32,lng:94.51,code:"PG041851"},{name:"Gounder",country:"India",lang:"Tamil",rol3:"tam",pct_christian:25,pop:6e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:11.68,lng:78.22,code:"PG041906"},{name:"Hajong",country:"India",lang:"Hajong",rol3:"haj",pct_christian:25,pop:47e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:25.53,lng:89.89,code:"PG041954"},{name:"Kerala Mudali",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:25,pop:11e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:9.44,lng:78.7,code:"PG049672"},{name:"Noatia",country:"India",lang:"Kok Borok",rol3:"trp",pct_christian:25,pop:9800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:23.79,lng:91.46,code:"PG042172"},{name:"Godari",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:17.69,lng:83.22,code:"PG049205"},{name:"Kambodia Bhagat",country:"India",lang:"Marwari (India)",rol3:"rwr",pct_christian:25,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:23.95,lng:72.49,code:"PG049636"},{name:"Chamail",country:"India",lang:"Hindi",rol3:"hin",pct_christian:25,pop:1200,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:25.48,lng:85.95,code:"PG049469"},{name:"Ghogia",country:"India",lang:"Odia",rol3:"ory",pct_christian:25,pop:800,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:21.15,lng:84.09,code:"PG049008"},{name:"Gangai",country:"India",lang:"Surjapuri",rol3:"sjp",pct_christian:25,pop:500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:25.69,lng:87.53,code:"PG049394"},{name:"Arakala",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:375,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:18.11,lng:83.4,code:"PG049160"},{name:"Mala",country:"India",lang:"Telugu",rol3:"tel",pct_christian:17.5,pop:7615e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:16.36,lng:79.51,code:"PG041263"},{name:"Balmiki (Haryanvi)",country:"India",lang:"Haryanvi",rol3:"bgc",pct_christian:17.5,pop:189e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:29.19,lng:76.36,code:"PG048194"},{name:"Balmiki (Awadhi)",country:"India",lang:"Awadhi",rol3:"awa",pct_christian:17.5,pop:172e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.93,lng:78.08,code:"PG041289"},{name:"Balmiki (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:17.5,pop:1295e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:30.44,lng:75.81,code:"PG048195"},{name:"Balmiki (Pahari)",country:"India",lang:"Garhwali",rol3:"gbm",pct_christian:17.5,pop:131e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:30.26,lng:78.62,code:"PG048196"},{name:"Damor",country:"India",lang:"Wagdi",rol3:"wbr",pct_christian:17.5,pop:128e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:23.74,lng:73.85,code:"PG041876"},{name:"Lepcha",country:"India",lang:"Lepcha",rol3:"lep",pct_christian:17.5,pop:107e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:27.34,lng:88.58,code:"PG041791"},{name:"Kachari",country:"India",lang:"Kachari",rol3:"xac",pct_christian:17.5,pop:73500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:27.37,lng:95.08,code:"PG041505"},{name:"Nadia",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:17.5,pop:69500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG041830"},{name:"Chuhra",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:17.5,pop:59e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:31.92,lng:77.25,code:"PG049402"},{name:"Adi Minyong",country:"India",lang:"Adi",rol3:"adi",pct_christian:17.5,pop:5e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:28.05,lng:94.43,code:"PG041950"},{name:"Nocte",country:"India",lang:"Naga, Nocte",rol3:"njb",pct_christian:17.5,pop:5e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:27.07,lng:95.23,code:"PG042002"},{name:"Ojha",country:"India",lang:"Telugu",rol3:"tel",pct_christian:17.5,pop:46e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:21.74,lng:78.25,code:"PG041974"},{name:"Badhi",country:"India",lang:"Hindi",rol3:"hin",pct_christian:17.5,pop:16e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:29.95,lng:77.55,code:"PG041480"},{name:"Goudu",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:17.71,lng:83.25,code:"PG042158"},{name:"Sutar (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:17.5,pop:11e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:21.4,lng:71.23,code:"PG048301"},{name:"Miji",country:"India",lang:"Miji",rol3:"sjl",pct_christian:17.5,pop:7e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:27.3,lng:92.4,code:"PG049709"},{name:"Barmi",country:"India",lang:"Burmese",rol3:"mya",pct_christian:17.5,pop:600,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:12.6,lng:92.83,code:"PG048889"},{name:"Bari (Oriya)",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:550,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:20.86,lng:84.8,code:"PG048204"},{name:"Babar",country:"India",lang:"Haroti",rol3:"hoj",pct_christian:17.5,pop:500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:25.43,lng:75.65,code:"PG048961"},{name:"Bayil Kammara",country:"India",lang:"Marwari (India)",rol3:"rwr",pct_christian:17.5,pop:375,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:16.34,lng:76.08,code:"PG049856"},{name:"Candhai Maru",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:350,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:21.48,lng:83.97,code:"PG049648"},{name:"Khati (Haryanvi)",country:"India",lang:"Haryanvi",rol3:"bgc",pct_christian:17.5,pop:200,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:29.21,lng:76.34,code:"PG048299"},{name:"Madiga",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:9445e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:16.51,lng:79.06,code:"PG041253"},{name:"Mang",country:"India",lang:"Marathi",rol3:"mar",pct_christian:12.5,pop:304e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:20.38,lng:76.05,code:"PG041315"},{name:"Chakkiliyan",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:1205e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:10.61,lng:77.71,code:"PG041373"},{name:"Saora",country:"India",lang:"Sora",rol3:"srb",pct_christian:12.5,pop:119e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:20.64,lng:83.56,code:"PG041407"},{name:"Nadua Shabar",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:659e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:19.9,lng:85.17,code:"PG049502"},{name:"Senva",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:12.5,pop:161e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG041682"},{name:"Mannan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:12.5,pop:145e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:10.8,lng:76.55,code:"PG041756"},{name:"Chakravar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:45e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:8.62,lng:77,code:"PG041956"},{name:"Bawa Dedh",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:12.5,pop:34500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG042035"},{name:"Domar",country:"India",lang:"Awadhi",rol3:"awa",pct_christian:12.5,pop:27e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:25.45,lng:80.38,code:"PG049077"},{name:"Samban",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:24500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:8.7,lng:77.49,code:"PG041752"},{name:"Mehtar",country:"India",lang:"Hindi",rol3:"hin",pct_christian:12.5,pop:2e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:16.22,lng:75.63,code:"PG042116"},{name:"Panchama",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:7800,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:17.01,lng:81.79,code:"PG042086"},{name:"Palliyan",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:4800,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:9.89,lng:77.09,code:"PG049215"},{name:"Puroik",country:"India",lang:"Adi",rol3:"adi",pct_christian:12.5,pop:4300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:27.43,lng:92.97,code:"PG049739"},{name:"Karen",country:"India",lang:"Karen, S’gaw",rol3:"ksw",pct_christian:12.5,pop:2700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:12.78,lng:92.86,code:"PG048894"},{name:"Padigarajulu",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:15.58,lng:79.51,code:"PG049165"},{name:"Kuda",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:750,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:20.83,lng:85.53,code:"PG049016"},{name:"Gagra",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:12.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:30.84,lng:75.86,code:"PG049079"},{name:"Tharua",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:650,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:21.49,lng:86.93,code:"PG049031"},{name:"Gharrami",country:"India",lang:"Hindi",rol3:"hin",pct_christian:12.5,pop:500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:28.64,lng:77.12,code:"PG049392"},{name:"Dusadh",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:7.5,pop:691e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:25.23,lng:85.31,code:"PG041266"},{name:"Nadar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:6365e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:11.17,lng:77.82,code:"PG041309"},{name:"Oraon",country:"India",lang:"Kurux",rol3:"kru",pct_christian:7.5,pop:551e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:24.4,lng:86.87,code:"PG041304"},{name:"Santal (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:335e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:24,lng:88.81,code:"PG046352"},{name:"Vellalar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:308e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:10.78,lng:77.78,code:"PG041493"},{name:"Kondh",country:"India",lang:"Kuvi",rol3:"kxv",pct_christian:7.5,pop:219e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:18.49,lng:83.27,code:"PG041352"},{name:"Pano",country:"India",lang:"Odia",rol3:"ory",pct_christian:7.5,pop:1735e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:21.04,lng:85.14,code:"PG041345"},{name:"Chamar (Awadhi)",country:"India",lang:"Awadhi",rol3:"awa",pct_christian:7.5,pop:1275e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:26.07,lng:80.62,code:"PG046031"},{name:"Munda (Assamese)",country:"India",lang:"Assamese",rol3:"asm",pct_christian:7.5,pop:1235e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:26.97,lng:94.06,code:"PG048248"},{name:"Santal (Assamese)",country:"India",lang:"Assamese",rol3:"asm",pct_christian:7.5,pop:697e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:26.55,lng:92.86,code:"PG046151"},{name:"Goan",country:"India",lang:"Konkani",rol3:"knn",pct_christian:7.5,pop:661e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:17.38,lng:74.3,code:"PG041474"},{name:"Gamit",country:"India",lang:"Gamit",rol3:"gbl",pct_christian:7.5,pop:649e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:21.11,lng:73.62,code:"PG041462"},{name:"Bhangi (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:6e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:22.76,lng:72.13,code:"PG048218"},{name:"Karbi",country:"India",lang:"Karbi",rol3:"mjw",pct_christian:7.5,pop:537e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:25.62,lng:93.03,code:"PG041521"},{name:"Cheruman",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:467e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:10.61,lng:76.25,code:"PG041452"},{name:"Garasia",country:"India",lang:"Garasia, Adiwasi",rol3:"gas",pct_christian:7.5,pop:295e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:24.08,lng:73.13,code:"PG041610"},{name:"Amant",country:"India",lang:"Maithili",rol3:"mai",pct_christian:7.5,pop:244e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:25.04,lng:86.5,code:"PG042053"},{name:"Lodha, Savar",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:148e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:22.3,lng:87.43,code:"PG041753"},{name:"Jamatia",country:"India",lang:"Kok Borok",rol3:"trp",pct_christian:7.5,pop:138e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:23.36,lng:91.61,code:"PG041812"},{name:"Ghanchi",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:129e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:22.02,lng:73.03,code:"PG041585"},{name:"Tangsa",country:"India",lang:"Naga, Tangshang",rol3:"nst",pct_christian:7.5,pop:85500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:27.37,lng:96.37,code:"PG042146"},{name:"Bharathar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:81e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:8.94,lng:76.82,code:"PG049578"},{name:"Wancho",country:"India",lang:"Naga, Wancho",rol3:"nnp",pct_christian:7.5,pop:7e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:26.56,lng:95.05,code:"PG041877"},{name:"Halam",country:"India",lang:"Kok Borok",rol3:"trp",pct_christian:7.5,pop:69500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:23.79,lng:91.46,code:"PG041914"},{name:"Bangni",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:62500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:27.43,lng:92.97,code:"PG041887"},{name:"Asur",country:"India",lang:"Asuri",rol3:"asr",pct_christian:7.5,pop:52500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:23.18,lng:84.56,code:"PG042115"}]},Pakistan:{target_upg:782,target_pop:250773e3,target_top_langs:["Punjabi, Western","Pashto, Central","Sindhi","Saraiki"],target_top_religion:"Islam",neighbors:[{name:"Chandala",country:"Pakistan",lang:"Saraiki",rol3:"skr",pct_christian:35,pop:752e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:31.73,lng:73.95,code:"PG049353"},{name:"Goan",country:"Pakistan",lang:"Konkani, Goan",rol3:"gom",pct_christian:25,pop:80500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:24.89,lng:67.06,code:"PG006349"},{name:"Marwari, Northern",country:"Pakistan",lang:"Marwari (Pakistan)",rol3:"mve",pct_christian:7.5,pop:17e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:28.82,lng:71.72,code:"PG006386"},{name:"Han Chinese",country:"Pakistan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:6e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:31.52,lng:74.34,code:"PG006354"},{name:"Gujarati",country:"Pakistan",lang:"Gujarati",rol3:"guj",pct_christian:3.5,pop:146e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.88,lng:70.3,code:"PG006352"},{name:"Bhil, Meghwar",country:"Pakistan",lang:"Sindhi Bhil",rol3:"sbn",pct_christian:3.5,pop:73e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:24.75,lng:68.61,code:"PG006381"},{name:"British",country:"Pakistan",lang:"English",rol3:"eng",pct_christian:3.5,pop:18500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:31.38,lng:72.73,code:"PG006336"},{name:"Bagti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:62.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:23.28,lng:86.43,code:"PG049044"},{name:"Bhil Mina",country:"India",lang:"Vaghri",rol3:"vgr",pct_christian:35,pop:131e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:24.59,lng:73.72,code:"PG048977"},{name:"Nagbansi (Dogri)",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:35,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:33.05,lng:75.08,code:"PG048317"},{name:"Balmiki (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:17.5,pop:1295e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.44,lng:75.81,code:"PG048195"},{name:"Chuhra",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:17.5,pop:59e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:31.92,lng:77.25,code:"PG049402"},{name:"Romani, Vlax",country:"Belgium",lang:"Romani, Vlax",rol3:"rmy",pct_christian:17.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:50.85,lng:4.38,code:"PG000068"},{name:"Gagra",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:12.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.84,lng:75.86,code:"PG049079"},{name:"Santal (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:335e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:24,lng:88.81,code:"PG046352"},{name:"Lodha, Savar",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:148e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.3,lng:87.43,code:"PG041753"},{name:"Bangni",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:62500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:27.43,lng:92.97,code:"PG041887"},{name:"Kela",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:29e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:20.46,lng:85.67,code:"PG042031"},{name:"Badhi",country:"India",lang:"Pahari-Potwari",rol3:"phr",pct_christian:7.5,pop:27e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:31.86,lng:76.82,code:"PG041983"},{name:"Baiti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:27e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:23.24,lng:88.24,code:"PG042100"},{name:"Iranian",country:"Armenia",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:40.17,lng:44.49,code:"PG050098"},{name:"Iranian",country:"Greece",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:38.05,lng:23.7,code:"PG047071"},{name:"Cheintz",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:7.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:34.09,lng:74.81,code:"PG049470"},{name:"Sorgir",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:7.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.34,lng:76.39,code:"PG049092"},{name:"Kankali",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:27.7,lng:81.49,code:"PG049096"},{name:"Khadim",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:26.49,lng:74.65,code:"PG048969"},{name:"Watal",country:"India",lang:"Kashmiri",rol3:"kas",pct_christian:7.5,pop:250,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:34.11,lng:74.77,code:"PG049375"},{name:"Mazabi",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:3625e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:30.25,lng:74.91,code:"PG041301"},{name:"Bhangi (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:699e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.15,lng:87.53,code:"PG048219"},{name:"Kora",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:279e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:23.29,lng:86.43,code:"PG041592"},{name:"Persian",country:"Canada",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:46.93,lng:-92.67,code:"PG043458"},{name:"Iranian",country:"Germany",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:175e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:52.51,lng:11.69,code:"PG000259"},{name:"Od",country:"India",lang:"Oadki",rol3:"odk",pct_christian:3.5,pop:166e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:29.22,lng:75.8,code:"PG041691"},{name:"Persian",country:"Turkiye",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:13e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:41.04,lng:28.87,code:"PG024581"},{name:"Batwal",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:3.5,pop:108e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:32.75,lng:74.8,code:"PG041740"},{name:"Chikwa",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:23.97,lng:84.3,code:"PG041852"},{name:"Persian",country:"United Kingdom",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:86e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:51.5,lng:-.17,code:"PG000643"},{name:"Bhattra (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:79e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:30.98,lng:75.73,code:"PG041615"},{name:"Romani, Vlax, Kalderash",country:"Argentina",lang:"Romani, Vlax",rol3:"rmy",pct_christian:3.5,pop:61e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-34.65,lng:-58.56,code:"PG017346"},{name:"Koch",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:51e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:25.68,lng:88.93,code:"PG042084"},{name:"Kotal",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:42500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.42,lng:87.79,code:"PG041946"},{name:"Romani, Vlax",country:"Colombia",lang:"Romani, Vlax",rol3:"rmy",pct_christian:3.5,pop:42e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:4.64,lng:-74.11,code:"PG016290"},{name:"Vaghri",country:"India",lang:"Vaghri",rol3:"vgr",pct_christian:3.5,pop:42e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG042168"},{name:"Arain (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:30.37,lng:75.93,code:"PG048185"},{name:"Bengali",country:"Nepal",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:31e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.42,lng:84.77,code:"PG006178"},{name:"Doai",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:21500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.05,lng:88.57,code:"PG042134"},{name:"Saryara",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:3.5,pop:19500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:33.44,lng:75.87,code:"PG042135"},{name:"Arab",country:"South Africa",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-26.17,lng:28.07,code:"PG015486"},{name:"Punjabi",country:"Singapore",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:15e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:1.36,lng:103.82,code:"PG010717"},{name:"Arab",country:"New Zealand",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-36.89,lng:174.78,code:"PG018478"},{name:"Paharia",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:9200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.37,lng:86.02,code:"PG049049"},{name:"Persian",country:"Indonesia",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:-6.21,lng:106.83,code:"PG050238"},{name:"Jogi (Bagri)",country:"India",lang:"Bagri",rol3:"bgq",pct_christian:3.5,pop:6700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.06,lng:74.08,code:"PG048278"},{name:"Gandhila",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:6600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.34,lng:76.4,code:"PG049080"},{name:"Behera",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:3800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.3,lng:87.44,code:"PG041569"},{name:"Persian",country:"South Korea",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:3500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:37.55,lng:126.99,code:"PG050237"},{name:"Dagi",country:"India",lang:"Pahari-Potwari",rol3:"phr",pct_christian:3.5,pop:3100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:32.6,lng:76.92,code:"PG049401"},{name:"Pinjara (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:3e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:29.48,lng:76.44,code:"PG048167"},{name:"Ratal",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:3.5,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:32.38,lng:75.51,code:"PG049072"},{name:"Daoli",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.97,lng:76.55,code:"PG049445"},{name:"Bhat (Pahari)",country:"India",lang:"Pahari-Potwari",rol3:"phr",pct_christian:3.5,pop:2300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.66,lng:77.43,code:"PG048019"},{name:"Dayare",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.79,lng:77.53,code:"PG049780"},{name:"Arain (Dogri)",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:3.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:32.11,lng:75.88,code:"PG048186"},{name:"Ahluwalia",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:1400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:31.39,lng:75.36,code:"PG049356"}]},Indonesia:{target_upg:237,target_pop:200492130,target_top_langs:["Javanese","Sunda","Malay","Madura"],target_top_religion:"Islam",neighbors:[{name:"Ekagi",country:"Indonesia",lang:"Ekari",rol3:"ekg",pct_christian:75,pop:17e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.83,lng:136.16,code:"PG022913"},{name:"Damal",country:"Indonesia",lang:"Damal",rol3:"uhn",pct_christian:75,pop:19500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.95,lng:137.47,code:"PG022898"},{name:"Waropen",country:"Indonesia",lang:"Waropen",rol3:"wrp",pct_christian:75,pop:9800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.32,lng:136.75,code:"PG023089"},{name:"Kayan River Kenyah",country:"Indonesia",lang:"Kenyah, Mainstream",rol3:"xkl",pct_christian:75,pop:9700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:1.79,lng:115.19,code:"PG022573"},{name:"Wandamen",country:"Indonesia",lang:"Wamesa",rol3:"wad",pct_christian:75,pop:7300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.19,lng:133.96,code:"PG023082"},{name:"Siagha-Yenimu",country:"Indonesia",lang:"Awyu, Edera",rol3:"awy",pct_christian:75,pop:4500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.15,lng:139.79,code:"PG047129"},{name:"Sobei",country:"Indonesia",lang:"Sobei",rol3:"sob",pct_christian:75,pop:3e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.9,lng:138.76,code:"PG023048"},{name:"Turu",country:"Indonesia",lang:"Iau",rol3:"tmu",pct_christian:75,pop:1700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.23,lng:137.67,code:"PG023073"},{name:"Serui-Laut",country:"Indonesia",lang:"Serui-Laut",rol3:"seu",pct_christian:75,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.88,lng:136.25,code:"PG023046"},{name:"Kelinyau Kenyah",country:"Indonesia",lang:"Kenyah, Mainstream",rol3:"xkl",pct_christian:75,pop:1400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:.97,lng:116.7,code:"PG022574"},{name:"Sekar",country:"Indonesia",lang:"Sekar",rol3:"skz",pct_christian:75,pop:900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.68,lng:132.45,code:"PG023040"},{name:"Awera",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:75,pop:80,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.72,lng:136.08,code:"PG022455"},{name:"Mor",country:"Indonesia",lang:"Iha",rol3:"ihp",pct_christian:75,pop:80,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.84,lng:132.97,code:"PG022996"},{name:"Dani, Western",country:"Indonesia",lang:"Dani, Western",rol3:"dnw",pct_christian:62.5,pop:266e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.77,lng:138.31,code:"PG022902"},{name:"Mamasa",country:"Indonesia",lang:"Mamasa",rol3:"mqj",pct_christian:62.5,pop:151e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.93,lng:119.31,code:"PG022838"},{name:"Dani, Mid Grand Valley",country:"Indonesia",lang:"Dani, Mid Grand Valley",rol3:"dnt",pct_christian:62.5,pop:77e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.09,lng:138.94,code:"PG022900"},{name:"Jamden",country:"Indonesia",lang:"Yamdena",rol3:"jmd",pct_christian:62.5,pop:56500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.72,lng:131.43,code:"PG022665"},{name:"Bolongan",country:"Indonesia",lang:"Bulungan",rol3:"blj",pct_christian:62.5,pop:4e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:.38,lng:123.68,code:"PG022556"},{name:"Kedang",country:"Indonesia",lang:"Kedang",rol3:"ksx",pct_christian:62.5,pop:33500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.25,lng:123.76,code:"PG022750"},{name:"Moni",country:"Indonesia",lang:"Moni",rol3:"mnz",pct_christian:62.5,pop:30500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.6,lng:136.94,code:"PG022995"},{name:"Kisar",country:"Indonesia",lang:"Kisar",rol3:"kje",pct_christian:62.5,pop:28500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.79,lng:126.33,code:"PG022683"},{name:"Dani, Lower Grand Valley",country:"Indonesia",lang:"Dani, Lower Grand Valley",rol3:"dni",pct_christian:62.5,pop:28500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.26,lng:138.95,code:"PG022899"},{name:"Dani, Upper Grand Valley",country:"Indonesia",lang:"Dani, Upper Grand Valley",rol3:"dna",pct_christian:62.5,pop:28500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.95,lng:138.86,code:"PG022901"},{name:"Meyah",country:"Indonesia",lang:"Meyah",rol3:"mej",pct_christian:62.5,pop:25e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.07,lng:133.54,code:"PG022988"},{name:"Alune",country:"Indonesia",lang:"Alune",rol3:"alp",pct_christian:62.5,pop:23e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.08,lng:128.41,code:"PG022622"},{name:"Galumpang",country:"Indonesia",lang:"Kalumpang",rol3:"kli",pct_christian:62.5,pop:23e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.51,lng:119.48,code:"PG022810"},{name:"Tabaru",country:"Indonesia",lang:"Tabaru",rol3:"tby",pct_christian:62.5,pop:22500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:.75,lng:127.64,code:"PG022716"},{name:"Bantik",country:"Indonesia",lang:"Malay, Manado",rol3:"xmm",pct_christian:62.5,pop:2e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:1.5,lng:124.84,code:"PG022789"},{name:"Sougb",country:"Indonesia",lang:"Sougb",rol3:"mnx",pct_christian:62.5,pop:19500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.52,lng:134.05,code:"PG022979"},{name:"Nduga",country:"Indonesia",lang:"Nduga",rol3:"ndx",pct_christian:62.5,pop:17e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.03,lng:138.05,code:"PG023007"},{name:"Ngalum",country:"Indonesia",lang:"Ngalum",rol3:"szb",pct_christian:62.5,pop:16500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.84,lng:140.6,code:"PG023008"},{name:"Asmat Casuarina",country:"Indonesia",lang:"Asmat, Casuarina Coast",rol3:"asc",pct_christian:62.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-6.18,lng:138.46,code:"PG022450"},{name:"Kupel",country:"Indonesia",lang:"Ketengban",rol3:"xte",pct_christian:62.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.36,lng:140.41,code:"PG022964"},{name:"Tehit",country:"Indonesia",lang:"Tehit",rol3:"kps",pct_christian:62.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.36,lng:131.98,code:"PG023068"},{name:"Kamoro",country:"Indonesia",lang:"Kamoro",rol3:"kgq",pct_christian:62.5,pop:13e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.51,lng:136.26,code:"PG022935"},{name:"Leboni",country:"Indonesia",lang:"Rampi",rol3:"lje",pct_christian:62.5,pop:12500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.13,lng:120.3,code:"PG022827"},{name:"Dobel",country:"Indonesia",lang:"Dobel",rol3:"kvo",pct_christian:62.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-6.2,lng:134.63,code:"PG022642"},{name:"Meninggo",country:"Indonesia",lang:"Moskona",rol3:"mtj",pct_christian:62.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.57,lng:133.18,code:"PG022990"},{name:"Southeast Marind",country:"Indonesia",lang:"Marind",rol3:"mrz",pct_christian:62.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.04,lng:140.21,code:"PG023051"},{name:"Selaru",country:"Indonesia",lang:"Selaru",rol3:"slu",pct_christian:62.5,pop:11e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.2,lng:130.97,code:"PG022706"},{name:"Amberbaken",country:"Indonesia",lang:"Mpur",rol3:"akc",pct_christian:62.5,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-.73,lng:133.16,code:"PG022444"},{name:"Kulawi",country:"Indonesia",lang:"Moma",rol3:"myl",pct_christian:62.5,pop:9300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.64,lng:119.96,code:"PG022822"},{name:"Muyu North",country:"Indonesia",lang:"Muyu, North",rol3:"kti",pct_christian:62.5,pop:9300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-5.44,lng:140.79,code:"PG023016"},{name:"Iha",country:"Indonesia",lang:"Iha",rol3:"ihp",pct_christian:62.5,pop:9e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.82,lng:132.32,code:"PG022922"},{name:"Wemale, North",country:"Indonesia",lang:"Wemale",rol3:"weo",pct_christian:62.5,pop:8900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.07,lng:128.83,code:"PG022694"},{name:"Seko Padang",country:"Indonesia",lang:"Seko Padang",rol3:"skx",pct_christian:62.5,pop:8100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.21,lng:119.85,code:"PG022864"},{name:"Saparua",country:"Indonesia",lang:"Malay, Ambonese",rol3:"abs",pct_christian:62.5,pop:7800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.55,lng:128.66,code:"PG022704"},{name:"Ansus",country:"Indonesia",lang:"Ansus",rol3:"and",pct_christian:62.5,pop:7500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.72,lng:135.78,code:"PG022446"},{name:"Awyu Asue",country:"Indonesia",lang:"Awyu, Asue",rol3:"psa",pct_christian:62.5,pop:7500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-6.09,lng:139.15,code:"PG022457"},{name:"Ndao",country:"Indonesia",lang:"Dhao",rol3:"nfa",pct_christian:62.5,pop:7100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-10.82,lng:122.66,code:"PG022765"},{name:"Irahutu",country:"Indonesia",lang:"Irarutu",rol3:"irh",pct_christian:62.5,pop:6600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.05,lng:133.32,code:"PG022924"},{name:"Taliabo",country:"Indonesia",lang:"Taliabu",rol3:"tlv",pct_christian:62.5,pop:6e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.81,lng:125.36,code:"PG022717"},{name:"Nimboran",country:"Indonesia",lang:"Malay, Papuan",rol3:"pmy",pct_christian:62.5,pop:5700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.59,lng:140.2,code:"PG023010"},{name:"Tamagario",country:"Indonesia",lang:"Tamagario",rol3:"tcg",pct_christian:62.5,pop:5700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-6.64,lng:138.92,code:"PG023056"},{name:"Tepera",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:5700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.46,lng:140.39,code:"PG023069"},{name:"Hupla",country:"Indonesia",lang:"Hupla",rol3:"hap",pct_christian:62.5,pop:5400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.35,lng:139.17,code:"PG022921"},{name:"Seluwasan",country:"Indonesia",lang:"Seluwasan",rol3:"sws",pct_christian:62.5,pop:5300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.67,lng:131.23,code:"PG022707"},{name:"Sawuy",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:5100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-10.54,lng:121.85,code:"PG023038"},{name:"Babar Tenggara",country:"Indonesia",lang:"Babar, Southeast",rol3:"vbb",pct_christian:62.5,pop:5e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.96,lng:129.8,code:"PG022628"},{name:"Eipomek",country:"Indonesia",lang:"Lik",rol3:"eip",pct_christian:62.5,pop:4900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.36,lng:140.03,code:"PG022912"},{name:"Wambon",country:"Indonesia",lang:"Wambon",rol3:"wms",pct_christian:62.5,pop:4900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-5.47,lng:140.51,code:"PG023080"},{name:"Liana-Seti",country:"Indonesia",lang:"Liana-Seti",rol3:"ste",pct_christian:62.5,pop:4700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.12,lng:129.89,code:"PG022710"},{name:"Muyu South",country:"Indonesia",lang:"Muyu, South",rol3:"kts",pct_christian:62.5,pop:4600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-6.01,lng:140.84,code:"PG023052"},{name:"Kalabra",country:"Indonesia",lang:"Kalabra",rol3:"kzz",pct_christian:62.5,pop:4400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.37,lng:131.65,code:"PG022932"},{name:"Nipsan",country:"Indonesia",lang:"Nipsan",rol3:"nps",pct_christian:62.5,pop:3700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.23,lng:139.04,code:"PG023012"},{name:"Seko, Central",country:"Indonesia",lang:"Seko Tengah",rol3:"sko",pct_christian:62.5,pop:3600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.49,lng:119.82,code:"PG022865"},{name:"Padoe",country:"Indonesia",lang:"Padoe",rol3:"pdo",pct_christian:62.5,pop:3400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.46,lng:121.05,code:"PG022868"},{name:"Nafri",country:"Indonesia",lang:"Malay, Papuan",rol3:"pmy",pct_christian:62.5,pop:3400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.67,lng:140.74,code:"PG023003"},{name:"Pom",country:"Indonesia",lang:"Pom",rol3:"pmo",pct_christian:62.5,pop:3300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.65,lng:135.63,code:"PG023024"},{name:"Kurudu",country:"Indonesia",lang:"Kurudu",rol3:"kjr",pct_christian:62.5,pop:3200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.85,lng:137.01,code:"PG022966"},{name:"Yaosakor Asmat",country:"Indonesia",lang:"Asmat, Yaosakor",rol3:"asy",pct_christian:62.5,pop:3e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-5.62,lng:138.54,code:"PG023099"},{name:"Mairasi",country:"Indonesia",lang:"Mairasi",rol3:"zrs",pct_christian:62.5,pop:2800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.47,lng:134.02,code:"PG022976"},{name:"Marau",country:"Indonesia",lang:"Marau",rol3:"mvr",pct_christian:62.5,pop:2800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.68,lng:135.79,code:"PG022982"},{name:"Somahai",country:"Indonesia",lang:"Momuna",rol3:"mqf",pct_christian:62.5,pop:2700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-5,lng:139.24,code:"PG023049"},{name:"Uria",country:"Indonesia",lang:"Orya",rol3:"ury",pct_christian:62.5,pop:2700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.84,lng:139.74,code:"PG023074"},{name:"Inanwatan",country:"Indonesia",lang:"Suabo",rol3:"szp",pct_christian:62.5,pop:2600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.07,lng:132.16,code:"PG022923"},{name:"Kemberano",country:"Indonesia",lang:"Kemberano",rol3:"bzp",pct_christian:62.5,pop:2500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.37,lng:132.97,code:"PG022933"},{name:"Saberi",country:"Indonesia",lang:"Isirawa",rol3:"srl",pct_christian:62.5,pop:2500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.82,lng:138.48,code:"PG023030"},{name:"Iria",country:"Indonesia",lang:"Kamberau",rol3:"irx",pct_christian:62.5,pop:2300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.45,lng:133.58,code:"PG022926"},{name:"Riantana",country:"Indonesia",lang:"Riantana",rol3:"ran",pct_christian:62.5,pop:2200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.68,lng:138.59,code:"PG023028"},{name:"Ninggrum",country:"Indonesia",lang:"Ninggerum",rol3:"nxr",pct_christian:62.5,pop:2100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-5.3,lng:140.95,code:"PG023011"},{name:"Woi",country:"Indonesia",lang:"Woi",rol3:"wbw",pct_christian:62.5,pop:2100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.64,lng:135.5,code:"PG023092"},{name:"Mekwei",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:2e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.51,lng:140.37,code:"PG022989"},{name:"Seget",country:"Indonesia",lang:"Moi Lemas",rol3:"sbg",pct_christian:62.5,pop:1900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.34,lng:131.17,code:"PG023039"},{name:"Demta",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:1800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.37,lng:140.16,code:"PG022906"},{name:"Berik",country:"Indonesia",lang:"Berik",rol3:"bkl",pct_christian:62.5,pop:1700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.35,lng:138.86,code:"PG022467"},{name:"Bonfia",country:"Indonesia",lang:"Masiwang",rol3:"bnf",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.39,lng:130.57,code:"PG022636"},{name:"Davelor",country:"Indonesia",lang:"Dawera-Daweloor",rol3:"ddw",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.75,lng:130.04,code:"PG022641"},{name:"Dem",country:"Indonesia",lang:"Dem",rol3:"dem",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.73,lng:137.58,code:"PG022904"},{name:"Kamberataro",country:"Indonesia",lang:"Dla",rol3:"kbv",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.54,lng:140.96,code:"PG022934"},{name:"Kaugat",country:"Indonesia",lang:"Atohwaim",rol3:"aqm",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-6.28,lng:138.68,code:"PG022943"},{name:"Moraid",country:"Indonesia",lang:"Moraid",rol3:"msg",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.05,lng:131.88,code:"PG022998"},{name:"Ndom",country:"Indonesia",lang:"Ndom",rol3:"nqm",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.09,lng:138,code:"PG023006"},{name:"Sempan",country:"Indonesia",lang:"Sempan",rol3:"xse",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-5.04,lng:137.68,code:"PG023043"},{name:"Waris",country:"Indonesia",lang:"Waris",rol3:"wrs",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.24,lng:140.93,code:"PG023087"},{name:"Northern Asmat",country:"Indonesia",lang:"Asmat, North",rol3:"nks",pct_christian:62.5,pop:1500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.69,lng:138.52,code:"PG023015"},{name:"Semimi",country:"Indonesia",lang:"Semimi",rol3:"etz",pct_christian:62.5,pop:1500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.77,lng:134.45,code:"PG023042"},{name:"Panasuan",country:"Indonesia",lang:"Panasuan",rol3:"psn",pct_christian:62.5,pop:1400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.26,lng:119.65,code:"PG022852"},{name:"Talondo",country:"Indonesia",lang:"Talondo’",rol3:"tln",pct_christian:62.5,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.51,lng:119.34,code:"PG022874"},{name:"Asienara, Buruwai",country:"Indonesia",lang:"Buruwai",rol3:"asi",pct_christian:62.5,pop:1200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.59,lng:133.34,code:"PG022452"},{name:"Duvele",country:"Indonesia",lang:"Duvle",rol3:"duv",pct_christian:62.5,pop:1200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.16,lng:137.97,code:"PG022911"},{name:"Taikat",country:"Indonesia",lang:"Taikat",rol3:"aos",pct_christian:62.5,pop:1200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.86,lng:140.65,code:"PG023055"},{name:"Masela, West",country:"Indonesia",lang:"Masela, West",rol3:"mss",pct_christian:62.5,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.19,lng:129.83,code:"PG022735"},{name:"Kayupulau",country:"Indonesia",lang:"Malay, Papuan",rol3:"pmy",pct_christian:62.5,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.54,lng:140.72,code:"PG022949"},{name:"Papuma",country:"Indonesia",lang:"Papuma",rol3:"ppm",pct_christian:62.5,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.74,lng:135.86,code:"PG023022"},{name:"Wanggom",country:"Indonesia",lang:"Wanggom",rol3:"wng",pct_christian:62.5,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-5.55,lng:140.17,code:"PG023083"},{name:"Dai",country:"Indonesia",lang:"Dai",rol3:"dij",pct_christian:62.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.55,lng:129.69,code:"PG022640"},{name:"Kaburi",country:"Indonesia",lang:"Kaburi",rol3:"uka",pct_christian:62.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.91,lng:132.48,code:"PG022929"},{name:"Kampung Baru",country:"Indonesia",lang:"Kais",rol3:"kzm",pct_christian:62.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.73,lng:132.29,code:"PG022936"},{name:"Puragi",country:"Indonesia",lang:"Puragi",rol3:"pru",pct_christian:62.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.94,lng:132.24,code:"PG023025"},{name:"Tanahmerah",country:"Indonesia",lang:"Tanahmerah",rol3:"tcm",pct_christian:62.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.56,lng:133.17,code:"PG023058"},{name:"Masela, East",country:"Indonesia",lang:"Malay, Ambonese",rol3:"abs",pct_christian:62.5,pop:950,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.14,lng:129.87,code:"PG022644"},{name:"Masela, Central",country:"Indonesia",lang:"Masela, West",rol3:"mss",pct_christian:62.5,pop:950,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.18,lng:129.84,code:"PG022712"},{name:"Mawes",country:"Indonesia",lang:"Mawes",rol3:"mgk",pct_christian:62.5,pop:950,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.36,lng:139.67,code:"PG022987"},{name:"Bonggo",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.31,lng:139.57,code:"PG022471"},{name:"Kaibubu",country:"Indonesia",lang:"Malay, Ambonese",rol3:"abs",pct_christian:62.5,pop:900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.16,lng:128.22,code:"PG022667"},{name:"Keder",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.04,lng:139.05,code:"PG022950"},{name:"Bonefa",country:"Indonesia",lang:"Nisa",rol3:"njs",pct_christian:62.5,pop:800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.34,lng:137.23,code:"PG022470"},{name:"Konda",country:"Indonesia",lang:"Konda",rol3:"knd",pct_christian:62.5,pop:800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.56,lng:132.01,code:"PG022957"},{name:"Lepki",country:"Indonesia",lang:"Lepki",rol3:"lpe",pct_christian:62.5,pop:800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.13,lng:140.48,code:"PG022973"},{name:"Manem",country:"Indonesia",lang:"Manem",rol3:"jet",pct_christian:62.5,pop:800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.97,lng:140.9,code:"PG022978"},{name:"Yelmek",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.44,lng:139.16,code:"PG023105"},{name:"Kanum",country:"Indonesia",lang:"Kanum, Ngkâlmpw",rol3:"kcd",pct_christian:62.5,pop:750,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.51,lng:140.84,code:"PG022938"},{name:"Tarunggare",country:"Indonesia",lang:"Tunggare",rol3:"trt",pct_christian:62.5,pop:750,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.28,lng:135.6,code:"PG023063"},{name:"Kwansu",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.57,lng:140.29,code:"PG022968"},{name:"Papasena",country:"Indonesia",lang:"Papasena",rol3:"pas",pct_christian:62.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.8,lng:138.63,code:"PG023021"},{name:"Samarkena",country:"Indonesia",lang:"Samarokena",rol3:"tmj",pct_christian:62.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.83,lng:138.26,code:"PG023031"},{name:"Tarpia",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.37,lng:140.05,code:"PG023062"},{name:"Baburiwa",country:"Indonesia",lang:"Eritai",rol3:"ert",pct_christian:62.5,pop:600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.73,lng:138.12,code:"PG022459"},{name:"Serili",country:"Indonesia",lang:"Malay, Ambonese",rol3:"abs",pct_christian:62.5,pop:600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.11,lng:129.91,code:"PG022708"},{name:"Kaure",country:"Indonesia",lang:"Malay, Papuan",rol3:"pmy",pct_christian:62.5,pop:600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.24,lng:140.11,code:"PG022944"},{name:"Koneraw",country:"Indonesia",lang:"Koneraw",rol3:"kdw",pct_christian:62.5,pop:600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.36,lng:138.07,code:"PG022958"},{name:"Wakde",country:"Indonesia",lang:"Mo",rol3:"wkd",pct_christian:62.5,pop:600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.99,lng:138.99,code:"PG023078"},{name:"Sukubatong",country:"Indonesia",lang:"Kimki",rol3:"sbt",pct_christian:62.5,pop:550,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.37,lng:140.91,code:"PG023054"},{name:"Taori-So",country:"Indonesia",lang:"Doutai",rol3:"tds",pct_christian:62.5,pop:475,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.31,lng:138.14,code:"PG023061"},{name:"Yotafa",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:475,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.58,lng:140.68,code:"PG023109"},{name:"Lorang",country:"Indonesia",lang:"Lorang",rol3:"lrn",pct_christian:62.5,pop:450,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-6.3,lng:134.42,code:"PG022685"},{name:"Kirira",country:"Indonesia",lang:"Kirikiri",rol3:"kiy",pct_christian:62.5,pop:450,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.18,lng:137.18,code:"PG022953"},{name:"Saweru",country:"Indonesia",lang:"Saweru",rol3:"swr",pct_christian:62.5,pop:450,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.91,lng:136.29,code:"PG023037"},{name:"Yamna",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:450,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.1,lng:139.21,code:"PG023098"},{name:"Masimasi",country:"Indonesia",lang:"Malay, Papuan",rol3:"pmy",pct_christian:62.5,pop:425,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2,lng:139.14,code:"PG022984"},{name:"Sause",country:"Indonesia",lang:"Sause",rol3:"sao",pct_christian:62.5,pop:425,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.24,lng:139.62,code:"PG023036"},{name:"Biksi",country:"Indonesia",lang:"Yetfa",rol3:"yet",pct_christian:62.5,pop:400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.04,lng:140.79,code:"PG022469"},{name:"Karas",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.45,lng:132.68,code:"PG022940"},{name:"Sasawa",country:"Indonesia",lang:"Kwerba",rol3:"kwe",pct_christian:62.5,pop:400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.18,lng:138.47,code:"PG023034"},{name:"Yeretuar",country:"Indonesia",lang:"Yeretuar",rol3:"gop",pct_christian:62.5,pop:400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.04,lng:134.68,code:"PG023106"},{name:"Foau",country:"Indonesia",lang:"Foau",rol3:"flh",pct_christian:62.5,pop:375,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.99,lng:139.29,code:"PG022917"},{name:"Kosare",country:"Indonesia",lang:"Kosare",rol3:"kiq",pct_christian:62.5,pop:375,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.75,lng:140.22,code:"PG022962"},{name:"Rasawa",country:"Indonesia",lang:"Rasawa",rol3:"rac",pct_christian:62.5,pop:350,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.35,lng:136.41,code:"PG023027"},{name:"Elseng",country:"Indonesia",lang:"Elseng",rol3:"mrf",pct_christian:62.5,pop:325,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.1,lng:140.39,code:"PG023000"}]},Bangladesh:{target_upg:276,target_pop:172467300,target_top_langs:["Bengali","Sylheti","Rohingya","Urdu"],target_top_religion:"Islam",neighbors:[{name:"Garo",country:"Bangladesh",lang:"Garo",rol3:"grt",pct_christian:62.5,pop:137e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.79,lng:90.47,code:"PG001167"},{name:"Pangkhu",country:"Bangladesh",lang:"Pangkhua",rol3:"pkh",pct_christian:62.5,pop:5400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:22.85,lng:92.38,code:"PG001197"},{name:"Santal",country:"Bangladesh",lang:"Santhali",rol3:"sat",pct_christian:45,pop:21e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.62,lng:88.79,code:"PG001203"},{name:"Migam",country:"Bangladesh",lang:"Megam",rol3:"mef",pct_christian:45,pop:8700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.09,lng:91,code:"PG001190"},{name:"Southern Chin",country:"Bangladesh",lang:"Chin, Asho",rol3:"csh",pct_christian:45,pop:4600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.96,lng:92.37,code:"PG001206"},{name:"Riang",country:"Bangladesh",lang:"Riang",rol3:"ria",pct_christian:45,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.56,lng:92.27,code:"PG001200"},{name:"Mahale",country:"Bangladesh",lang:"Santhali",rol3:"sat",pct_christian:35,pop:25e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.62,lng:88.78,code:"PG001187"},{name:"Khumi Chin",country:"Bangladesh",lang:"Chin, Khumi",rol3:"cnk",pct_christian:35,pop:2800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.8,lng:92.5,code:"PG001180"},{name:"Lushai",country:"Bangladesh",lang:"Mizo",rol3:"lus",pct_christian:35,pop:2e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:22.67,lng:92.19,code:"PG001185"},{name:"Koch",country:"Bangladesh",lang:"Koch",rol3:"kdq",pct_christian:25,pop:7100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:25.79,lng:89.7,code:"PG001181"},{name:"Munda",country:"Bangladesh",lang:"Mundari",rol3:"unr",pct_christian:25,pop:5800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:25.4,lng:88.78,code:"PG001192"},{name:"Oraon",country:"Bangladesh",lang:"Kurux",rol3:"kru",pct_christian:7.5,pop:89500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:25.86,lng:88.88,code:"PG001195"},{name:"Han Chinese",country:"Bangladesh",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:3500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:23.75,lng:90.4,code:"PG001172"},{name:"Marma",country:"Bangladesh",lang:"Marma",rol3:"rmz",pct_christian:3.5,pop:276e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:22.56,lng:92.24,code:"PG001189"},{name:"Tripuri",country:"Bangladesh",lang:"Kok Borok",rol3:"trp",pct_christian:3.5,pop:142e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:23.74,lng:91.28,code:"PG001215"},{name:"Manipuri",country:"Bangladesh",lang:"Meitei",rol3:"mni",pct_christian:3.5,pop:44e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:24.73,lng:91.74,code:"PG001188"},{name:"Mru",country:"Bangladesh",lang:"Mru",rol3:"mro",pct_christian:3.5,pop:35e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:21.71,lng:92.45,code:"PG001191"},{name:"Bawm",country:"Bangladesh",lang:"Chin, Bawm",rol3:"bgr",pct_christian:3.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.95,lng:92.46,code:"PG001153"},{name:"British",country:"Bangladesh",lang:"English",rol3:"eng",pct_christian:3.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated",lat:23.73,lng:90.42,code:"PG001159"},{name:"Hajong",country:"Bangladesh",lang:"Hajong",rol3:"haj",pct_christian:3.5,pop:9500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:25.11,lng:90.37,code:"PG001170"},{name:"Mara",country:"Bangladesh",lang:"Shendu",rol3:"shl",pct_christian:3.5,pop:2e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:22.2,lng:92.54,code:"PG001204"},{name:"Ansari-Momin (Sadri)",country:"India",lang:"Sadri",rol3:"sck",pct_christian:75,pop:225,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:23.63,lng:85.55,code:"PG048700"},{name:"Pnar",country:"India",lang:"Pnar",rol3:"pbv",pct_christian:62.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:23.84,lng:92.89,code:"PG049638"},{name:"Rathodia",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:62.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:22.3,lng:73.39,code:"PG048948"},{name:"Bagti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:62.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:23.28,lng:86.43,code:"PG049044"},{name:"Khasi",country:"India",lang:"Khasi",rol3:"kha",pct_christian:45,pop:1675e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:25.52,lng:91.79,code:"PG041380"},{name:"Santal (Oriya)",country:"India",lang:"Odia",rol3:"ory",pct_christian:45,pop:176e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.8,lng:87.48,code:"PG046353"},{name:"Madgi",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:76500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.17,lng:79.45,code:"PG041802"},{name:"Mech",country:"India",lang:"Assamese",rol3:"asm",pct_christian:25,pop:73500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:27.1,lng:92.43,code:"PG041900"},{name:"Godari",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:17.69,lng:83.22,code:"PG049205"},{name:"Ghogia",country:"India",lang:"Odia",rol3:"ory",pct_christian:25,pop:800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.15,lng:84.09,code:"PG049008"},{name:"Burmese",country:"Germany",lang:"Burmese",rol3:"mya",pct_christian:25,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:50,lng:8.01,code:"PG033529"},{name:"Arakala",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:375,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:18.11,lng:83.4,code:"PG049160"},{name:"Mala",country:"India",lang:"Telugu",rol3:"tel",pct_christian:17.5,pop:7615e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:16.36,lng:79.51,code:"PG041263"},{name:"Balmiki (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:17.5,pop:1295e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.44,lng:75.81,code:"PG048195"},{name:"Nadia",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:17.5,pop:69500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG041830"},{name:"Ojha",country:"India",lang:"Telugu",rol3:"tel",pct_christian:17.5,pop:46e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.74,lng:78.25,code:"PG041974"},{name:"Goudu",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:17.71,lng:83.25,code:"PG042158"},{name:"Sutar (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:17.5,pop:11e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.4,lng:71.23,code:"PG048301"},{name:"Barmi",country:"India",lang:"Burmese",rol3:"mya",pct_christian:17.5,pop:600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:12.6,lng:92.83,code:"PG048889"},{name:"Bari (Oriya)",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:550,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.86,lng:84.8,code:"PG048204"},{name:"Candhai Maru",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:350,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.48,lng:83.97,code:"PG049648"},{name:"Madiga",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:9445e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:16.51,lng:79.06,code:"PG041253"},{name:"Chakkiliyan",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:1205e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.61,lng:77.71,code:"PG041373"},{name:"Nadua Shabar",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:659e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:19.9,lng:85.17,code:"PG049502"},{name:"Senva",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:12.5,pop:161e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG041682"},{name:"Bawa Dedh",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:12.5,pop:34500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG042035"},{name:"Panchama",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:7800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:17.01,lng:81.79,code:"PG042086"},{name:"Padigarajulu",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:15.58,lng:79.51,code:"PG049165"},{name:"Kuda",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.83,lng:85.53,code:"PG049016"},{name:"Gagra",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:12.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.84,lng:75.86,code:"PG049079"},{name:"Tharua",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:650,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.49,lng:86.93,code:"PG049031"},{name:"Dusadh",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:7.5,pop:691e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:25.23,lng:85.31,code:"PG041266"},{name:"Santal (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:335e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:24,lng:88.81,code:"PG046352"},{name:"Pano",country:"India",lang:"Odia",rol3:"ory",pct_christian:7.5,pop:1735e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:21.04,lng:85.14,code:"PG041345"},{name:"Munda (Assamese)",country:"India",lang:"Assamese",rol3:"asm",pct_christian:7.5,pop:1235e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:26.97,lng:94.06,code:"PG048248"},{name:"Santal (Assamese)",country:"India",lang:"Assamese",rol3:"asm",pct_christian:7.5,pop:697e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.55,lng:92.86,code:"PG046151"},{name:"Bhangi (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:6e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.76,lng:72.13,code:"PG048218"},{name:"Lodha, Savar",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:148e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.3,lng:87.43,code:"PG041753"},{name:"Telugu",country:"Malaysia",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:137e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:3.07,lng:101.62,code:"PG009356"},{name:"Ghanchi",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:129e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.02,lng:73.03,code:"PG041585"},{name:"Mishmi",country:"India",lang:"Assamese",rol3:"asm",pct_christian:7.5,pop:51500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:27.99,lng:96.59,code:"PG042163"},{name:"Badaik",country:"India",lang:"Sadri",rol3:"sck",pct_christian:7.5,pop:47500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.23,lng:84.86,code:"PG042092"},{name:"Parhaiya",country:"India",lang:"Sadri",rol3:"sck",pct_christian:7.5,pop:38e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.97,lng:84.3,code:"PG041928"},{name:"Mala Dasari",country:"India",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:30500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:15.53,lng:78,code:"PG041919"},{name:"Kela",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:29e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:20.46,lng:85.67,code:"PG042031"},{name:"Baiti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:27e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:23.24,lng:88.24,code:"PG042100"},{name:"Chhetri",country:"India",lang:"Nepali",rol3:"npi",pct_christian:7.5,pop:17e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.34,lng:89.24,code:"PG041565"},{name:"Thoti",country:"India",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:19.26,lng:79.01,code:"PG042167"},{name:"Bhandari",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:6500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.56,lng:73.13,code:"PG041414"},{name:"Ellamalawar",country:"India",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:6300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:18.37,lng:76.49,code:"PG042033"},{name:"Gandla",country:"India",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:2e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:15.61,lng:79.51,code:"PG041598"},{name:"Sorgir",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:7.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.34,lng:76.39,code:"PG049092"},{name:"Telugu",country:"Singapore",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:850,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:1.36,lng:103.82,code:"PG010724"},{name:"Gudugudupandi",country:"India",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:650,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.88,lng:78.56,code:"PG049883"},{name:"Banai",country:"India",lang:"Assamese",rol3:"asm",pct_christian:7.5,pop:650,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:25.61,lng:90.3,code:"PG049560"},{name:"Patni Vankar",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:325,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.04,lng:72.6,code:"PG049948"},{name:"Yadava (Bhojpuri)",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:3.5,pop:8465e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:25.05,lng:84.06,code:"PG046313"},{name:"Chamar (Bhojpuri)",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:3.5,pop:455e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:25.65,lng:84.13,code:"PG046025"},{name:"Mazabi",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:3625e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:30.25,lng:74.91,code:"PG041301"},{name:"Mahyavanshi",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:3.5,pop:2305e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.73,lng:71.51,code:"PG041327"},{name:"Gujarati",country:"Pakistan",lang:"Gujarati",rol3:"guj",pct_christian:3.5,pop:146e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.88,lng:70.3,code:"PG006352"},{name:"Ganda",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:128e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.6,lng:83.11,code:"PG041366"},{name:"Ho",country:"India",lang:"Ho",rol3:"hoc",pct_christian:3.5,pop:118e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:22.28,lng:85.76,code:"PG041399"},{name:"Gond (Oriya)",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:856e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.12,lng:83.68,code:"PG048258"},{name:"Kondara",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:702e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.46,lng:85.67,code:"PG041421"},{name:"Bhangi (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:699e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.15,lng:87.53,code:"PG048219"},{name:"Gond (Assamese)",country:"India",lang:"Assamese",rol3:"asm",pct_christian:3.5,pop:55e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:26.95,lng:94.05,code:"PG048259"},{name:"Adi Andhra",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:344e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:17.06,lng:81.75,code:"PG049197"},{name:"Lohara",country:"India",lang:"Sadri",rol3:"sck",pct_christian:3.5,pop:324e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:25.14,lng:87.24,code:"PG041542"},{name:"Kora",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:279e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:23.29,lng:86.43,code:"PG041592"},{name:"Beda Jangam",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:234e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:15.11,lng:76.53,code:"PG041759"},{name:"Chakma",country:"India",lang:"Chakma",rol3:"ccp",pct_christian:3.5,pop:205e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Folk",lat:23.41,lng:92.17,code:"PG041710"},{name:"Mala Sale",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:169e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:19.26,lng:79.01,code:"PG041624"},{name:"Domban",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:163e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.35,lng:78.88,code:"PG042124"},{name:"Gurung",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:147e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:26.84,lng:90.63,code:"PG041693"},{name:"Nepali",country:"Bhutan",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:131e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.13,lng:89.79,code:"PG042388"},{name:"Beldar (Bhojpuri)",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:3.5,pop:115e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:26.35,lng:83.71,code:"PG048209"},{name:"Kotia",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:104e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:17.9,lng:82.7,code:"PG041783"},{name:"Rajbhar",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:3.5,pop:89e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.68,lng:80.47,code:"PG042085"},{name:"Bhattra (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:79e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:30.98,lng:75.73,code:"PG041615"},{name:"Bania, Brittial",country:"India",lang:"Assamese",rol3:"asm",pct_christian:3.5,pop:71500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.14,lng:91.55,code:"PG041797"},{name:"Damai (Nepali)",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:66500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.66,lng:89.08,code:"PG041874"},{name:"Kunbi (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:3.5,pop:64e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.24,lng:70.76,code:"PG046238"},{name:"Mukha Dhora",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:56e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:17.9,lng:82.7,code:"PG042032"},{name:"Koch",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:51e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:25.68,lng:88.93,code:"PG042084"},{name:"Bagheti",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:48e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:20.46,lng:85.67,code:"PG041964"},{name:"Kotal",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:42500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.42,lng:87.79,code:"PG041946"},{name:"Arain (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:30.37,lng:75.93,code:"PG048185"},{name:"Omanatya",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:34500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:18.81,lng:82.76,code:"PG042004"},{name:"Mala Jangam",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:34e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:18.36,lng:76.78,code:"PG041898"},{name:"Burmese",country:"Malaysia",lang:"Burmese",rol3:"mya",pct_christian:3.5,pop:32500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:3.07,lng:101.64,code:"PG018483"},{name:"Binjhia",country:"India",lang:"Sadri",rol3:"sck",pct_christian:3.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22,lng:82.34,code:"PG042025"},{name:"Bariki",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:19.64,lng:84.68,code:"PG041881"},{name:"Bargunda",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:31500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.38,lng:75.65,code:"PG042022"},{name:"Sudugadu Siddha",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:31500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:12.99,lng:76.11,code:"PG042143"},{name:"Bengali",country:"Nepal",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:31e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.42,lng:84.77,code:"PG006178"},{name:"Gond (Sadri) ",country:"India",lang:"Sadri",rol3:"sck",pct_christian:3.5,pop:30500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.17,lng:85,code:"PG048262"},{name:"Pap",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:23500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:21.21,lng:83.34,code:"PG042122"},{name:"Doai",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:21500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.05,lng:88.57,code:"PG042134"},{name:"Byagara",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:19e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:17.88,lng:78.22,code:"PG041825"},{name:"Konda Kapu",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:18500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:17.19,lng:82.01,code:"PG041904"},{name:"Sarki",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:18e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.96,lng:88.33,code:"PG042059"},{name:"Punjabi",country:"Singapore",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:15e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:1.36,lng:103.82,code:"PG010717"},{name:"Telugu",country:"Sri Lanka",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:6.91,lng:79.9,code:"PG006443"},{name:"Pentia",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:12e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:18.81,lng:82.76,code:"PG042165"},{name:"Panka (Oriya)",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:19.21,lng:82.51,code:"PG049026"},{name:"Gorait",country:"India",lang:"Sadri",rol3:"sck",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:23.21,lng:85.33,code:"PG042169"},{name:"Jaggali",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:9700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:19.64,lng:84.68,code:"PG042152"},{name:"Paharia",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:9200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.37,lng:86.02,code:"PG049049"},{name:"Madiga Dasu",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:7400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:16.39,lng:80.11,code:"PG049163"},{name:"Assamese",country:"Bhutan",lang:"Assamese",rol3:"asm",pct_christian:3.5,pop:7300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:26.87,lng:90.38,code:"PG001218"},{name:"Gandhila",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:6600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.34,lng:76.4,code:"PG049080"},{name:"Mali",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:6500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:17.9,lng:82.7,code:"PG047911"},{name:"Dakkala",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:4600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:18.39,lng:83.94,code:"PG041849"},{name:"Behera",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:3800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.3,lng:87.44,code:"PG041569"},{name:"Thogataveera Kshatriya",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:3100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:15.4,lng:77.89,code:"PG049753"},{name:"Kanda",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:3100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.9,lng:91.74,code:"PG049042"},{name:"Pinjara (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:3e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:29.48,lng:76.44,code:"PG048167"},{name:"Daoli",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.97,lng:76.55,code:"PG049445"},{name:"Reddi Dora",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:2600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:17.68,lng:83.21,code:"PG049166"},{name:"Ahluwalia",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:1400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:31.39,lng:75.36,code:"PG049356"},{name:"Bhagotulu",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:450,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:16.89,lng:81.4,code:"PG049859"},{name:"Kusunda",country:"Nepal",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:27.17,lng:85.13,code:"PG049141"}]},China:{target_upg:444,target_pop:139759490,target_top_langs:["Chinese, Xiang","Chinese, Mandarin","Uyghur","Mongolian, Peripheral"],target_top_religion:"Ethnic Religions",neighbors:[{name:"Lemo",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:75,pop:2300,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:25.84,lng:98.78,code:"PG007252"},{name:"Ayi",country:"China",lang:"Lisu",rol3:"lis",pct_christian:62.5,pop:2400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:27.14,lng:98.85,code:"PG006671"},{name:"Xiandao",country:"China",lang:"Achang",rol3:"acn",pct_christian:62.5,pop:200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.52,lng:97.88,code:"PG022125"},{name:"Hkauri",country:"China",lang:"Tibetan, Central",rol3:"bod",pct_christian:62.5,pop:40,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.55,lng:97.6,code:"PG022169"},{name:"Gha-Mu",country:"China",lang:"Miao, Small Flowery",rol3:"sfm",pct_christian:45,pop:171e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.53,lng:105.11,code:"PG006745"},{name:"Lipo, Eastern",country:"China",lang:"Lipo",rol3:"lpo",pct_christian:45,pop:139e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.84,lng:102.3,code:"PG007265"},{name:"Rawang",country:"China",lang:"Rawang",rol3:"raw",pct_christian:45,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:27.73,lng:98.31,code:"PG023113"},{name:"Lisu",country:"China",lang:"Lisu",rol3:"lis",pct_christian:35,pop:837e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.84,lng:99.07,code:"PG007267"},{name:"A-Hmao",country:"China",lang:"Miao, Large Flowery",rol3:"hmd",pct_christian:35,pop:644e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:27.11,lng:103.41,code:"PG006652"},{name:"Indonesian",country:"China",lang:"Indonesian",rol3:"ind",pct_christian:35,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:19.24,lng:110.15,code:"PG007207"},{name:"Maru",country:"China",lang:"Lhao Vo",rol3:"mhx",pct_christian:25,pop:31e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.33,lng:98.43,code:"PG007279"},{name:"Jingpo",country:"China",lang:"Jingpho",rol3:"kac",pct_christian:25,pop:29500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.41,lng:97.86,code:"PG007217"},{name:"Laka",country:"China",lang:"Nasu, Wusa",rol3:"yig",pct_christian:25,pop:9700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.04,lng:102.28,code:"PG007241"},{name:"Lagou",country:"China",lang:"Nasu, Wusa",rol3:"yig",pct_christian:25,pop:8400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:27.23,lng:104.52,code:"PG007237"},{name:"Lashi",country:"China",lang:"Lacid",rol3:"lsi",pct_christian:25,pop:2600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.06,lng:98.66,code:"PG007248"},{name:"Nasu, Eastern",country:"China",lang:"Nasu, Wusa",rol3:"yig",pct_christian:17.5,pop:65e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:26.07,lng:102.78,code:"PG007326"},{name:"Nasu, Wusa",country:"China",lang:"Nasu, Wusa",rol3:"yig",pct_christian:17.5,pop:412e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.27,lng:103.71,code:"PG007426"},{name:"Naluo",country:"China",lang:"Nuosu",rol3:"iii",pct_christian:17.5,pop:62500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:25.83,lng:102.4,code:"PG007323"},{name:"Minglang",country:"China",lang:"Sani",rol3:"ysn",pct_christian:17.5,pop:2500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.77,lng:102.27,code:"PG007303"},{name:"Lawa",country:"China",lang:"Lawa, Western",rol3:"lcp",pct_christian:12.5,pop:67500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:23.84,lng:99.19,code:"PG007250"},{name:"Nu",country:"China",lang:"Nusu",rol3:"nuf",pct_christian:12.5,pop:37e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:27.08,lng:98.94,code:"PG007338"},{name:"Guopu",country:"China",lang:"Nasu, Wusa",rol3:"yig",pct_christian:12.5,pop:26500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:27.31,lng:104.13,code:"PG006753"},{name:"Bela",country:"China",lang:"Pela",rol3:"bxd",pct_christian:12.5,pop:4800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:24.61,lng:98.31,code:"PG006684"},{name:"Han Chinese, Mandarin",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:90145e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Agnosticism",lat:37.37,lng:110.73,code:"PG006802"},{name:"Han Chinese, Wu",country:"China",lang:"Chinese, Wu",rol3:"wuu",pct_christian:7.5,pop:9253e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:29.71,lng:119.11,code:"PG006806"},{name:"Han Chinese, Cantonese",country:"China",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:6477e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.94,lng:111.32,code:"PG006808"},{name:"Han Chinese, Jinyu",country:"China",lang:"Chinese, Jinyu",rol3:"cjy",pct_christian:7.5,pop:6031e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Agnosticism",lat:38.74,lng:111.39,code:"PG006801"},{name:"Han Chinese, Xiang",country:"China",lang:"Chinese, Xiang",rol3:"hsn",pct_christian:7.5,pop:423e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Agnosticism",lat:27.97,lng:111.27,code:"PG006807"},{name:"Han Chinese, Gan",country:"China",lang:"Chinese, Gan",rol3:"gan",pct_christian:7.5,pop:4128e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Agnosticism",lat:28.29,lng:115.02,code:"PG006798"},{name:"Han Chinese, Min Nan",country:"China",lang:"Chinese, Min Nan",rol3:"nan",pct_christian:7.5,pop:3555e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Agnosticism",lat:23.42,lng:115.05,code:"PG006805"},{name:"Han Chinese, Min Bei",country:"China",lang:"Chinese, Min Bei",rol3:"mnp",pct_christian:7.5,pop:113e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:26.93,lng:117.92,code:"PG006803"},{name:"Han Chinese, Min Dong",country:"China",lang:"Chinese, Min Dong",rol3:"cdo",pct_christian:7.5,pop:106e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:26.54,lng:119.2,code:"PG006804"},{name:"Han Chinese, Puxian",country:"China",lang:"Chinese, Pu-Xian",rol3:"cpx",pct_christian:7.5,pop:31e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:25.37,lng:118.86,code:"PG007003"},{name:"Lahu",country:"China",lang:"Lahu",rol3:"lhu",pct_christian:7.5,pop:59e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:22.76,lng:99.83,code:"PG007238"},{name:"Wumeng",country:"China",lang:"Nasu, Wusa",rol3:"yig",pct_christian:7.5,pop:61500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:27.46,lng:103.62,code:"PG022123"},{name:"Puwa",country:"China",lang:"Phowa, Hlepho",rol3:"yhl",pct_christian:7.5,pop:5e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:23.46,lng:103.33,code:"PG022103"},{name:"Achang",country:"China",lang:"Achang",rol3:"acn",pct_christian:7.5,pop:38500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:24.64,lng:98.23,code:"PG006653"},{name:"Drung",country:"China",lang:"Drung",rol3:"duu",pct_christian:7.5,pop:18e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:27.87,lng:98.32,code:"PG006724"},{name:"Depo",country:"China",lang:"Nasu, Wusa",rol3:"yig",pct_christian:7.5,pop:9900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.39,lng:101.95,code:"PG006723"},{name:"Tuwo",country:"China",lang:"Lisu",rol3:"lis",pct_christian:7.5,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:26.05,lng:98.67,code:"PG007417"},{name:"Han Chinese, Huizhou",country:"China",lang:"Chinese, Huizhou",rol3:"czh",pct_christian:3.5,pop:542e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:29.62,lng:118.21,code:"PG006800"},{name:"Han Chinese, Min Zhong",country:"China",lang:"Chinese, Min Zhong",rol3:"czo",pct_christian:3.5,pop:963e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:26.14,lng:117.51,code:"PG006979"},{name:"Chuanlan",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:416e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:26.86,lng:105.07,code:"PG006713"},{name:"Han Chinese, Waxianghua",country:"China",lang:"Waxianghua",rol3:"wxa",pct_christian:3.5,pop:385e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:28.71,lng:110.24,code:"PG007076"},{name:"Xibe",country:"China",lang:"Xibe",rol3:"sjo",pct_christian:3.5,pop:151e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:41.78,lng:123.3,code:"PG007432"},{name:"Zaiwa",country:"China",lang:"Zaiwa",rol3:"atb",pct_christian:3.5,pop:142e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:24.36,lng:98.39,code:"PG007451"},{name:"Nosu, Tianba",country:"China",lang:"Nuosu",rol3:"iii",pct_christian:3.5,pop:138e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:28.87,lng:102.87,code:"PG022214"},{name:"Manchu",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:132e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:47.66,lng:124.56,code:"PG007275"},{name:"Naisu",country:"China",lang:"Yi, Wuding-Luquan",rol3:"ywq",pct_christian:3.5,pop:82e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:25.49,lng:101.86,code:"PG007322"},{name:"Maonan",country:"China",lang:"Maonan",rol3:"mmd",pct_christian:3.5,pop:79e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Daoism",lat:24.99,lng:108.02,code:"PG007278"},{name:"Michi",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:49e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:25.78,lng:102.18,code:"PG007300"},{name:"Muji, Southern",country:"China",lang:"Muji, Southern",rol3:"ymc",pct_christian:3.5,pop:32500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:23.09,lng:103.31,code:"PG007319"},{name:"Neisu",country:"China",lang:"Akha",rol3:"ahk",pct_christian:3.5,pop:28e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.17,lng:100.64,code:"PG007334"},{name:"Sansu",country:"China",lang:"Hlersu",rol3:"hle",pct_christian:3.5,pop:18500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:23.55,lng:102.25,code:"PG007382"},{name:"Laopang",country:"China",lang:"Laopang",rol3:"lbg",pct_christian:3.5,pop:18e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:23.78,lng:99.39,code:"PG007247"},{name:"Achang, Husa",country:"China",lang:"Achang",rol3:"acn",pct_christian:3.5,pop:8500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Mahayana",lat:24.45,lng:97.87,code:"PG006654"},{name:"Gouzou",country:"China",lang:"Nasu, Wusa",rol3:"yig",pct_christian:3.5,pop:6400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:26.92,lng:104.5,code:"PG006750"},{name:"Meng",country:"China",lang:"Hani",rol3:"hni",pct_christian:3.5,pop:5300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.89,lng:101.81,code:"PG007280"},{name:"Zauzou",country:"China",lang:"Zauzou",rol3:"zal",pct_christian:3.5,pop:3800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:26.37,lng:99.01,code:"PG007453"},{name:"Naxi, Northern",country:"China",lang:"Naxi",rol3:"nxq",pct_christian:3.5,pop:3500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Tibetan",lat:28.78,lng:98.73,code:"PG022209"},{name:"Duoluo",country:"China",lang:"Duoluo",rol3:"giw",pct_christian:3.5,pop:2100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:25.71,lng:105.63,code:"PG022159"},{name:"Fuma",country:"China",lang:"Hlai",rol3:"lic",pct_christian:3.5,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:19.33,lng:108.75,code:"PG006737"},{name:"Thmaun",country:"Cambodia",lang:"Undetermined",rol3:"und",pct_christian:45,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:13.12,lng:106.43,code:"PG022376"},{name:"Hmong",country:"Vietnam",lang:"Hmong Daw",rol3:"mww",pct_christian:35,pop:133e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.86,lng:103.59,code:"PG011142"},{name:"Korean",country:"Thailand",lang:"Korean",rol3:"kor",pct_christian:35,pop:20500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:13.76,lng:100.56,code:"PG010874"},{name:"Rukai",country:"Taiwan",lang:"Rukai",rol3:"dru",pct_christian:35,pop:13500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:22.82,lng:120.83,code:"PG007516"},{name:"Vietnamese",country:"Thailand",lang:"Vietnamese",rol3:"vie",pct_christian:25,pop:119e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:13.76,lng:100.56,code:"PG010933"},{name:"Korean",country:"Argentina",lang:"Korean",rol3:"kor",pct_christian:25,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-34.65,lng:-58.56,code:"PG046918"},{name:"Korean",country:"Singapore",lang:"Korean",rol3:"kor",pct_christian:25,pop:24500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:1.36,lng:103.82,code:"PG010710"},{name:"Sediq",country:"Taiwan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:25,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:24.02,lng:121.35,code:"PG007536"},{name:"Korean",country:"Taiwan",lang:"Korean",rol3:"kor",pct_christian:25,pop:7e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:22.63,lng:120.33,code:"PG007526"},{name:"Lanten",country:"Laos",lang:"Kim Mun",rol3:"mji",pct_christian:25,pop:6300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:21.92,lng:101.91,code:"PG020923"},{name:"Korean",country:"Northern Mariana Islands",lang:"Korean",rol3:"kor",pct_christian:25,pop:1600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:15.91,lng:145.61,code:"PG050228"},{name:"Korean",country:"Australia",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:167e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-33.85,lng:151.03,code:"PG021625"},{name:"Korean",country:"Canada",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:162e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:46.93,lng:-92.67,code:"PG043424"},{name:"Russian",country:"Moldova",lang:"Russian",rol3:"rus",pct_christian:17.5,pop:133e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.13,lng:29.34,code:"PG000867"},{name:"Adi Minyong",country:"India",lang:"Adi",rol3:"adi",pct_christian:17.5,pop:5e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:28.05,lng:94.43,code:"PG041950"},{name:"Korean",country:"United Kingdom",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:51.5,lng:-.17,code:"PG000650"},{name:"Korean",country:"New Zealand",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:38e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-36.89,lng:174.78,code:"PG047592"},{name:"Korean",country:"Hong Kong",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:8600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:22.38,lng:114.13,code:"PG050601"},{name:"Korean",country:"Paraguay",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-25.3,lng:-57.56,code:"PG017246"},{name:"Korean",country:"Guam",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:4300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:13.44,lng:144.78,code:"PG050301"},{name:"Korean",country:"Dominican Republic",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:18.48,lng:-69.91,code:"PG022409"},{name:"Korean",country:"South Korea",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:5025e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:36.38,lng:127.82,code:"PG048088"},{name:"Korean",country:"United States",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:1095e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:38.77,lng:-98.89,code:"PG043310"},{name:"Korean",country:"Uzbekistan",lang:"Russian",rol3:"rus",pct_christian:12.5,pop:254e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:41.31,lng:69.26,code:"PG024684"},{name:"Han Chinese",country:"New Zealand",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:214e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-36.89,lng:174.78,code:"PG018495"},{name:"Korean",country:"Kazakhstan",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:132e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:43.29,lng:76.91,code:"PG024281"},{name:"Nikkei, Brazilian",country:"Japan",lang:"Japanese",rol3:"jpn",pct_christian:12.5,pop:104e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Shinbutso-shugo",lat:35.13,lng:136.92,code:"PG049262"},{name:"Korean",country:"Mozambique",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:36e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-25.89,lng:32.57,code:"PG015382"},{name:"Korean",country:"Madagascar",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:18e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-18.91,lng:47.53,code:"PG015310"},{name:"Blang",country:"Myanmar",lang:"Blang",rol3:"blr",pct_christian:12.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:21.5,lng:100.17,code:"PG022041"},{name:"Hsifan",country:"Myanmar",lang:"Tibetan, Central",rol3:"bod",pct_christian:12.5,pop:5600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Tibetan",lat:27.24,lng:97.64,code:"PG009445"},{name:"Puroik",country:"India",lang:"Adi",rol3:"adi",pct_christian:12.5,pop:4300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:27.43,lng:92.97,code:"PG049739"},{name:"Korean",country:"Honduras",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:150,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:14.08,lng:-87.2,code:"PG024788"},{name:"Han Chinese",country:"Kiribati",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:125,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:1.37,lng:173.11,code:"PG009087"},{name:"Han Chinese",country:"Tuvalu",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-8.5,lng:179.19,code:"PG018319"},{name:"Han Chinese, Cantonese",country:"Hong Kong",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:6255e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.38,lng:114.13,code:"PG050587"},{name:"Han Chinese, Mandarin",country:"Taiwan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:4635e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:24.86,lng:121.36,code:"PG007518"},{name:"Han Chinese, Mandarin",country:"United States",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:2345e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:45.74,lng:-114.4,code:"PG043261"},{name:"Han Chinese, Cantonese",country:"Malaysia",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:19e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:3.65,lng:101.56,code:"PG046594"},{name:"Han Chinese",country:"Vietnam",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:162e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.04,lng:106.1,code:"PG033473"},{name:"Han Chinese, Mandarin",country:"Canada",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:1055e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:46.93,lng:-92.67,code:"PG043404"},{name:"Khmu, Ou",country:"Laos",lang:"Khmu",rol3:"kjg",pct_christian:7.5,pop:817e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:19.8,lng:102.58,code:"PG020913"},{name:"Han Chinese, Cantonese",country:"Vietnam",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:784e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.03,lng:105.82,code:"PG046444"},{name:"Han Chinese, Mandarin",country:"Japan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:736e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:35.72,lng:137.14,code:"PG048925"},{name:"Han Chinese",country:"Australia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:67e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-33.75,lng:144.18,code:"PG033443"},{name:"Han Chinese, Cantonese",country:"Macao",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:663e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.16,lng:113.56,code:"PG050584"},{name:"Han Chinese",country:"Myanmar",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:65e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:16.85,lng:96.15,code:"PG022047"},{name:"Han Chinese, Cantonese",country:"Singapore",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:511e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020725"},{name:"Han Chinese, Mandarin",country:"Singapore",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:467e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020728"},{name:"Han Chinese",country:"Brazil",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:28e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-23.17,lng:-45.54,code:"PG016864"},{name:"Han Chinese, Mandarin",country:"United Arab Emirates",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:202e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:24.67,lng:55.14,code:"PG049240"},{name:"Han Chinese",country:"United Kingdom",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:196e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:51.5,lng:-.17,code:"PG043796"},{name:"Han Chinese, Mandarin",country:"North Korea",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:184e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:39,lng:125.92,code:"PG007584"},{name:"Vietnamese",country:"Australia",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:174e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-33.38,lng:143.4,code:"PG008087"},{name:"Han Chinese",country:"France",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:172e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:48.2,lng:2.3,code:"PG023131"},{name:"Han Chinese, Mandarin",country:"Hong Kong",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:163e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.38,lng:114.13,code:"PG050605"},{name:"Han Chinese, Cantonese",country:"Peru",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:117e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-12.05,lng:-77.02,code:"PG017533"},{name:"Han Chinese, Mandarin",country:"Saudi Arabia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:24.68,lng:46.74,code:"PG049246"},{name:"Han Chinese",country:"Tanzania",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:106e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-6.83,lng:39.25,code:"PG014935"},{name:"Han Chinese",country:"Italy",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:1e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:44.22,lng:10.5,code:"PG000330"},{name:"Han Chinese",country:"South Korea",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:94500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:36.58,lng:127.64,code:"PG007589"},{name:"Han Chinese, Mandarin",country:"Tajikistan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:38.57,lng:68.77,code:"PG049245"},{name:"Han Chinese",country:"Madagascar",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:78500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-18.91,lng:47.53,code:"PG015301"},{name:"Han Chinese",country:"Panama",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:68500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:8.5,lng:-82.42,code:"PG024831"},{name:"Han Chinese, Mandarin",country:"Egypt",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:65500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:30.05,lng:31.32,code:"PG050167"},{name:"Han Chinese, Mandarin",country:"Russian Federation",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:62e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:51.07,lng:119.29,code:"PG048686"},{name:"Han Chinese",country:"Pakistan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:6e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:31.52,lng:74.34,code:"PG006354"},{name:"Han Chinese",country:"Argentina",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:52500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-34.65,lng:-58.56,code:"PG042923"},{name:"Han Chinese",country:"Germany",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:51e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:51.84,lng:11.14,code:"PG023132"},{name:"Korean",country:"Brazil",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:48500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-23.57,lng:-46.57,code:"PG016974"},{name:"Korean",country:"Germany",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:50.12,lng:8.67,code:"PG000249"},{name:"Han Chinese",country:"Trinidad and Tobago",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:44500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:10.68,lng:-61.38,code:"PG016447"},{name:"Han Chinese",country:"Cuba",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:40500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:23.07,lng:-82.32,code:"PG016302"},{name:"Iu Mien",country:"United States",lang:"Iu Mien",rol3:"ium",pct_christian:7.5,pop:38500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:38.75,lng:-111.78,code:"PG043283"},{name:"Han Chinese",country:"Zambia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:38500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Confucianism",lat:-15.4,lng:28.31,code:"PG015577"},{name:"Han Chinese",country:"Laos",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:36500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:17.97,lng:102.64,code:"PG009111"},{name:"Han Chinese",country:"Netherlands",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:30500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:52.33,lng:4.86,code:"PG023133"},{name:"Han Chinese, Cantonese",country:"Venezuela",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:10.48,lng:-66.88,code:"PG016472"},{name:"Russian",country:"Australia",lang:"Russian",rol3:"rus",pct_christian:7.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.52,lng:142.46,code:"PG008063"},{name:"Han Chinese",country:"Greece",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:28e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:38.01,lng:23.77,code:"PG048769"},{name:"Han Chinese, Mandarin",country:"Venezuela",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:27e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:10.48,lng:-66.88,code:"PG016471"},{name:"Han Chinese",country:"Mexico",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:26e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:20.65,lng:-101.28,code:"PG024949"},{name:"Han Chinese",country:"Portugal",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:26e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:38.77,lng:-9.25,code:"PG000483"},{name:"Han Chinese, Mandarin",country:"Belgium",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:21500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:50.85,lng:4.38,code:"PG000057"},{name:"Han Chinese",country:"Mozambique",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:21e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Confucianism",lat:-25.92,lng:32.59,code:"PG015380"},{name:"Korean",country:"Kyrgyzstan",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:19500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:42.88,lng:74.63,code:"PG024358"},{name:"Korean",country:"Iran",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:17500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:35.7,lng:51.38,code:"PG024174"},{name:"Han Chinese, Mandarin",country:"Hungary",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:47.48,lng:19.11,code:"PG042235"}]},Japan:{target_upg:32,target_pop:120582800,target_top_langs:["Japanese","Okinawan, Central","Japanese Sign Language","Burmese"],target_top_religion:"Buddhism",neighbors:[{name:"Nikkei, Brazilian",country:"Japan",lang:"Japanese",rol3:"jpn",pct_christian:12.5,pop:104e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Shinbutso-shugo",lat:35.13,lng:136.92,code:"PG049262"},{name:"Han Chinese, Mandarin",country:"Japan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:736e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:35.72,lng:137.14,code:"PG048925"},{name:"Miyako-Irabu",country:"Japan",lang:"Japanese",rol3:"jpn",pct_christian:3.5,pop:65500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Shinbutso-shugo",lat:24.77,lng:125.33,code:"PG047515"},{name:"Anglo Indian",country:"India",lang:"English",rol3:"eng",pct_christian:62.5,pop:398e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:12.95,lng:77.6,code:"PG041386"},{name:"Indian - Christian",country:"South Africa",lang:"English",rol3:"eng",pct_christian:62.5,pop:31e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-29.84,lng:30.93,code:"PG048045"},{name:"Euronesian",country:"Samoa",lang:"English",rol3:"eng",pct_christian:62.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-13.85,lng:-171.8,code:"PG018323"},{name:"British",country:"Tanzania",lang:"English",rol3:"eng",pct_christian:62.5,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-6.83,lng:39.25,code:"PG014914"},{name:"British",country:"Zimbabwe",lang:"English",rol3:"eng",pct_christian:62.5,pop:5800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-17.83,lng:31.03,code:"PG015650"},{name:"Dominican",country:"Dominican Republic",lang:"Spanish",rol3:"spa",pct_christian:45,pop:109e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:18.9,lng:-70.49,code:"PG016313"},{name:"American",country:"Singapore",lang:"English",rol3:"eng",pct_christian:45,pop:9800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:1.36,lng:103.82,code:"PG018447"},{name:"British",country:"Barbados",lang:"English",rol3:"eng",pct_christian:45,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:13.12,lng:-59.6,code:"PG016197"},{name:"British",country:"Venezuela",lang:"English",rol3:"eng",pct_christian:45,pop:7200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:10.48,lng:-66.88,code:"PG016461"},{name:"British",country:"Botswana",lang:"English",rol3:"eng",pct_christian:45,pop:7100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-24.65,lng:25.91,code:"PG015217"},{name:"Pitcairn Islander",country:"New Zealand",lang:"English",rol3:"eng",pct_christian:45,pop:250,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-36.89,lng:174.78,code:"PG018502"},{name:"American",country:"Australia",lang:"English",rol3:"eng",pct_christian:35,pop:95500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.52,lng:142.46,code:"PG020268"},{name:"Eurasian",country:"Myanmar",lang:"English",rol3:"eng",pct_christian:35,pop:56500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:16.85,lng:96.15,code:"PG022046"},{name:"Korean",country:"Thailand",lang:"Korean",rol3:"kor",pct_christian:35,pop:20500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:13.76,lng:100.56,code:"PG010874"},{name:"Caribbean Hindi",country:"French Guiana",lang:"English",rol3:"eng",pct_christian:35,pop:13500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:4.91,lng:-52.3,code:"PG022284"},{name:"Southwest Aborigine Creol",country:"Australia",lang:"English",rol3:"eng",pct_christian:35,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-32.54,lng:115.99,code:"PG008068"},{name:"Anglo-Australian",country:"Singapore",lang:"English",rol3:"eng",pct_christian:35,pop:3e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:1.36,lng:103.82,code:"PG010684"},{name:"American",country:"Iceland",lang:"English",rol3:"eng",pct_christian:35,pop:1800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:64.14,lng:-21.89,code:"PG000293"},{name:"American",country:"Marshall Islands",lang:"English",rol3:"eng",pct_christian:35,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:7.1,lng:171.22,code:"PG009376"},{name:"Itene",country:"Bolivia",lang:"Spanish",rol3:"spa",pct_christian:35,pop:70,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-11.89,lng:-65.09,code:"PG046959"},{name:"American",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:19474e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:38.3,lng:-93.46,code:"PG043515"},{name:"Guatemalan",country:"Guatemala",lang:"Spanish",rol3:"spa",pct_christian:25,pop:1015e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:15.7,lng:-90.36,code:"PG024712"},{name:"El Salvadoran",country:"El Salvador",lang:"Spanish",rol3:"spa",pct_christian:25,pop:61e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:13.73,lng:-88.87,code:"PG024979"},{name:"Detribalized Aborigine",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:58e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.75,lng:144.18,code:"PG007863"},{name:"Jamaican",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:33e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-95.67,code:"PG047381"},{name:"Barbadian",country:"Barbados",lang:"English",rol3:"eng",pct_christian:25,pop:269e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:13.17,lng:-59.56,code:"PG016195"},{name:"American",country:"Panama",lang:"English",rol3:"eng",pct_christian:25,pop:186e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:9.06,lng:-79.38,code:"PG050309"},{name:"Vietnamese",country:"Thailand",lang:"Vietnamese",rol3:"vie",pct_christian:25,pop:119e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:13.76,lng:100.56,code:"PG010933"},{name:"Barbadian",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:50500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:40.72,lng:-73.97,code:"PG046507"},{name:"Barbadian",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:40500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-95.67,code:"PG047394"},{name:"Korean",country:"Argentina",lang:"Korean",rol3:"kor",pct_christian:25,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-34.65,lng:-58.56,code:"PG046918"},{name:"Guatemalan",country:"Canada",lang:"Spanish",rol3:"spa",pct_christian:25,pop:28e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.72,lng:-95.67,code:"PG047378"},{name:"Korean",country:"Singapore",lang:"Korean",rol3:"kor",pct_christian:25,pop:24500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:1.36,lng:103.82,code:"PG010710"},{name:"Bay Islands Creole",country:"Honduras",lang:"English",rol3:"eng",pct_christian:25,pop:2e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:16.34,lng:-86.39,code:"PG024758"},{name:"American",country:"Virgin Islands",lang:"English",rol3:"eng",pct_christian:25,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.96,lng:-64.8,code:"PG050296"},{name:"American",country:"New Zealand",lang:"English",rol3:"eng",pct_christian:25,pop:15e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-36.89,lng:174.78,code:"PG018513"},{name:"American",country:"Guam",lang:"English",rol3:"eng",pct_christian:25,pop:14e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:13.44,lng:144.78,code:"PG050299"},{name:"Korean",country:"Taiwan",lang:"Korean",rol3:"kor",pct_christian:25,pop:7e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:22.63,lng:120.33,code:"PG007526"},{name:"Mixtec, Southeastern Nochixtlan",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:25,pop:5e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.21,lng:-97.09,code:"PG039145"},{name:"American",country:"Fiji",lang:"English",rol3:"eng",pct_christian:25,pop:4600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-18.13,lng:178.44,code:"PG018421"},{name:"American",country:"Greenland",lang:"English",rol3:"eng",pct_christian:25,pop:3400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:64.18,lng:-51.7,code:"PG000286"},{name:"Itza",country:"Guatemala",lang:"Spanish",rol3:"spa",pct_christian:25,pop:3200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:17,lng:-89.88,code:"PG024726"},{name:"Zapotec, Southeastern Ixtlan",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:25,pop:2900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.23,lng:-96.49,code:"PG039219"},{name:"Maori",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.28,lng:-122.84,code:"PG050518"},{name:"Nakota (Assiniboine)",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.32,lng:-106.26,code:"PG043527"},{name:"Winnebago",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:42.22,lng:-96.6,code:"PG043689"},{name:"Wik-Ngathan",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:2e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-13.84,lng:141.57,code:"PG008118"},{name:"Polynesian",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.28,lng:-122.84,code:"PG050519"},{name:"Korean",country:"Northern Mariana Islands",lang:"Korean",rol3:"kor",pct_christian:25,pop:1600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:15.91,lng:145.61,code:"PG050228"},{name:"Tektiteko",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:25,pop:1200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:15.49,lng:-92.13,code:"PG039080"},{name:"Yankuntatjara",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:950,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-27.14,lng:133.83,code:"PG008134"},{name:"Bora",country:"Peru",lang:"Spanish",rol3:"spa",pct_christian:25,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-3.22,lng:-71.98,code:"PG017505"},{name:"Maori",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:37.75,lng:-122.21,code:"PG047214"},{name:"Mocho",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:25,pop:225,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:15.27,lng:-92.35,code:"PG039159"},{name:"Mixtec, Sindihui",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:25,pop:80,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.01,lng:-97.37,code:"PG039143"},{name:"African Americans",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:4054e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:39.04,lng:-100.02,code:"PG048741"},{name:"Honduran",country:"Honduras",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:9865e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:14.82,lng:-86.62,code:"PG042459"},{name:"Panamanian",country:"Panama",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:2945e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:9.12,lng:-79.12,code:"PG024843"},{name:"Korean",country:"Australia",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:167e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-33.85,lng:151.03,code:"PG021625"},{name:"Korean",country:"Canada",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:162e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:46.93,lng:-92.67,code:"PG043424"},{name:"Salvadoran",country:"Canada",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:70500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.72,lng:-95.67,code:"PG047373"},{name:"Eurasian",country:"Malaysia",lang:"English",rol3:"eng",pct_christian:17.5,pop:68500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:3.07,lng:101.64,code:"PG020233"},{name:"Bermudians",country:"Bermuda",lang:"English",rol3:"eng",pct_christian:17.5,pop:66e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:32.31,lng:-64.77,code:"PG016210"},{name:"Caymanian",country:"Cayman Islands",lang:"English",rol3:"eng",pct_christian:17.5,pop:60500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:19.42,lng:-80.89,code:"PG016216"},{name:"Korean",country:"United Kingdom",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:51.5,lng:-.17,code:"PG000650"},{name:"Nigerian",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:39500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:37.51,lng:-88.1,code:"PG047652"},{name:"Korean",country:"New Zealand",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:38e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-36.89,lng:174.78,code:"PG047592"},{name:"Kenyan",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:26e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:43.83,lng:-79.46,code:"PG047469"},{name:"American",country:"Haiti",lang:"English",rol3:"eng",pct_christian:17.5,pop:19e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:18.55,lng:-72.32,code:"PG016382"},{name:"Mam",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:17500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:15.4,lng:-92.35,code:"PG039078"},{name:"Ghanaian",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:49.22,lng:-122.99,code:"PG047407"},{name:"Nicaraguan",country:"Canada",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.72,lng:-95.67,code:"PG047377"},{name:"Honduran",country:"Canada",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-95.67,code:"PG047379"},{name:"Kanjobal",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:18.63,lng:-89.7,code:"PG039087"},{name:"Korean",country:"Hong Kong",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:8600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:22.38,lng:114.13,code:"PG050601"},{name:"Korean",country:"Paraguay",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-25.3,lng:-57.56,code:"PG017246"},{name:"Zoque, Chimalapa",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:6400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.88,lng:-94.4,code:"PG039236"},{name:"Panamanian",country:"Canada",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:5e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.72,lng:-95.67,code:"PG047376"},{name:"Zapotec, Southern Rincon",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:4900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.35,lng:-96.27,code:"PG039223"},{name:"Korean",country:"Guam",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:4300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:13.44,lng:144.78,code:"PG050301"},{name:"Passamaquoddy",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:3300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:46.36,lng:-67.46,code:"PG043437"},{name:"Tlingit",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:2300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:60.48,lng:-132.29,code:"PG043489"},{name:"Straits Salish",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:2e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.77,lng:-122.64,code:"PG043642"},{name:"Zapotec, San Baltazar Loxicha",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.05,lng:-96.76,code:"PG039195"},{name:"Huave, San Francisco del Mar",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:1200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.24,lng:-94.49,code:"PG039082"},{name:"Onondaga",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:43.05,lng:-80.11,code:"PG043451"},{name:"Korean",country:"Dominican Republic",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:18.48,lng:-69.91,code:"PG022409"},{name:"Popti",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:15.89,lng:-91.99,code:"PG039086"},{name:"Popoluca, Texistepec",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.78,lng:-94.8,code:"PG048643"},{name:"Zapotec, Southern Rincon",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:32.36,lng:-109.45,code:"PG049308"},{name:"K’ómoks",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:350,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-124.96,code:"PG043374"},{name:"Rembarunga",country:"Australia",lang:"English",rol3:"eng",pct_christian:17.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-12.96,lng:134.58,code:"PG008058"},{name:"Korean",country:"South Korea",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:5025e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:36.38,lng:127.82,code:"PG048088"},{name:"Chilean",country:"Chile",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:1776e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:-32.83,lng:-71.15,code:"PG017439"},{name:"Puerto Rican",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:4035e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:35.35,lng:-95.96,code:"PG043603"},{name:"Irish, Northern",country:"United Kingdom",lang:"English",rol3:"eng",pct_christian:12.5,pop:166e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:54.61,lng:-6.69,code:"PG022219"},{name:"Korean",country:"United States",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:1095e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:38.77,lng:-98.89,code:"PG043310"},{name:"Afro-Trinidadian",country:"Trinidad and Tobago",lang:"English",rol3:"eng",pct_christian:12.5,pop:725e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:10.42,lng:-61.3,code:"PG016442"},{name:"Metis",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:704e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:47.13,lng:-97.19,code:"PG043455"},{name:"American",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:402e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.97,lng:-107.63,code:"PG043500"},{name:"English Caribbean",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:394e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:46.73,lng:-90.31,code:"PG049256"},{name:"Han Chinese",country:"Singapore",lang:"English",rol3:"eng",pct_christian:12.5,pop:358e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020724"},{name:"Chiquitano",country:"Bolivia",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:211e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:-15.91,lng:-61.84,code:"PG017398"},{name:"Detribalized Amerindian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.64,lng:-115.72,code:"PG043384"},{name:"Colombian",country:"Venezuela",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:189e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:9.01,lng:-66.66,code:"PG046909"},{name:"Afro-Argentine",country:"Argentina",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:153e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:-34.65,lng:-58.56,code:"PG042890"},{name:"Korean",country:"Kazakhstan",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:132e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:43.29,lng:76.91,code:"PG024281"},{name:"Sub-Saharan Africans, English-Speaking",country:"Belgium",lang:"English",rol3:"eng",pct_christian:12.5,pop:123e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.85,lng:4.38,code:"PG047833"},{name:"Tojolabal",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:92500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.4,lng:-91.85,code:"PG039160"},{name:"Chontal, Tabasco",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:86e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:18.1,lng:-92.61,code:"PG039061"},{name:"Nahuatl, Isthmus",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:78500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:18.12,lng:-94.34,code:"PG048653"},{name:"Fijian",country:"Australia",lang:"English",rol3:"eng",pct_christian:12.5,pop:71500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.75,lng:144.18,code:"PG050451"},{name:"Cree, Woodland",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:68500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:54.6,lng:-106.15,code:"PG043378"},{name:"Dominican",country:"Dominica",lang:"English",rol3:"eng",pct_christian:12.5,pop:67e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:15.43,lng:-61.35,code:"PG016306"},{name:"Chilean",country:"Canada",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:48e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.72,lng:-95.67,code:"PG047386"},{name:"Belizean",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:43500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:33.94,lng:-118.12,code:"PG047184"},{name:"Korean",country:"Mozambique",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:36e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-25.89,lng:32.57,code:"PG015382"},{name:"Welsh",country:"Argentina",lang:"English",rol3:"eng",pct_christian:12.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-43.27,lng:-65.44,code:"PG017376"},{name:"Chilean",country:"Sweden",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:31500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:58.15,lng:15.03,code:"PG000547"},{name:"Mixe, Isthmus",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:30500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.08,lng:-95.14,code:"PG039098"},{name:"Mohawk",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:44.18,lng:-77.77,code:"PG043441"},{name:"Dominican",country:"Canada",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:24500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.72,lng:-95.67,code:"PG047374"},{name:"Barbadian",country:"United Kingdom",lang:"English",rol3:"eng",pct_christian:12.5,pop:24e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:51.5,lng:-.17,code:"PG048436"},{name:"Chinantec, Central",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:21500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.81,lng:-96.26,code:"PG039065"},{name:"Korean",country:"Madagascar",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:18e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-18.91,lng:47.53,code:"PG015310"},{name:"Euronesian",country:"Fiji",lang:"English",rol3:"eng",pct_christian:12.5,pop:16500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-17.95,lng:178.24,code:"PG018419"},{name:"Spaniard",country:"Ireland",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:53.39,lng:-6.28,code:"PG000303"},{name:"Polynesian",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG043599"},{name:"American",country:"Costa Rica",lang:"English",rol3:"eng",pct_christian:12.5,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:10.22,lng:-85.24,code:"PG025025"},{name:"Popoluca, Sayula",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:12e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.73,lng:-94.95,code:"PG048641"},{name:"Mixe, Coatlan",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:9100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.79,lng:-95.6,code:"PG039097"},{name:"Antiguan",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:8400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:35.93,lng:-98.82,code:"PG050335"},{name:"Nahuatl, Isthmus",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:31.63,lng:-89.16,code:"PG049280"},{name:"Tsimshian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:7700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:54.42,lng:-130.3,code:"PG043490"},{name:"Lillooet",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:7500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:50.68,lng:-121.92,code:"PG043432"},{name:"Zapotec, Guevea de Humboldt",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:7200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.73,lng:-95.33,code:"PG039189"},{name:"Latin American",country:"Curacao",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:7e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:12.19,lng:-68.97,code:"PG023181"},{name:"Nakota (Assiniboine)",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:6500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:52.17,lng:-107.03,code:"PG043354"},{name:"Kwakwakaʼwakw",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:6500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.72,lng:-127.5,code:"PG043427"},{name:"Zapotec, Lachiguiri",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:5900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.61,lng:-95.5,code:"PG039196"},{name:"Sac & Fox Nation of Oklahoma",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:5800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:35.71,lng:-96.77,code:"PG050670"},{name:"Dakota",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:5500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.52,lng:-102.88,code:"PG043381"},{name:"American",country:"Micronesia",lang:"English",rol3:"eng",pct_christian:12.5,pop:5400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:6.95,lng:158.2,code:"PG018394"},{name:"Straits Salish",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.49,lng:-123.46,code:"PG043479"},{name:"Bahamian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:43.9,lng:-79.58,code:"PG050486"},{name:"Chuj",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:3800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.06,lng:-91.88,code:"PG039062"},{name:"Zapotec, Xanaguia",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:3600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.1,lng:-96.24,code:"PG039207"}]},Iran:{target_upg:85,target_pop:91827910,target_top_langs:["Persian, Iranian","Azerbaijani, South","Kurdish, Southern","Gilaki"],target_top_religion:"Islam",neighbors:[{name:"Korean",country:"Iran",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:17500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:35.7,lng:51.38,code:"PG024174"},{name:"Armenian",country:"Iran",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:113e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:38.14,lng:46.37,code:"PG024130"},{name:"Romani, Balkan",country:"Italy",lang:"Romani, Balkan",rol3:"rmn",pct_christian:62.5,pop:2500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:45.54,lng:9.19,code:"PG000312"},{name:"Romani, Balkan",country:"Bulgaria",lang:"Romani, Balkan",rol3:"rmn",pct_christian:7.5,pop:267e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:42.86,lng:23.79,code:"PG000737"},{name:"Arab, Syro-Lebanese",country:"Australia",lang:"Arabic, Gulf",rol3:"afb",pct_christian:7.5,pop:192e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-33.38,lng:143.4,code:"PG020267"},{name:"Assyrian",country:"Australia",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:7.5,pop:4e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.85,lng:151.03,code:"PG007833"},{name:"Iranian",country:"Armenia",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:40.17,lng:44.49,code:"PG050098"},{name:"Iranian",country:"Greece",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:38.05,lng:23.7,code:"PG047071"},{name:"Persian",country:"Canada",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:46.93,lng:-92.67,code:"PG043458"},{name:"Iranian",country:"Germany",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:175e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:52.51,lng:11.69,code:"PG000259"},{name:"Persian",country:"Turkiye",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:13e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:41.04,lng:28.87,code:"PG024581"},{name:"Persian",country:"United Kingdom",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:86e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:51.5,lng:-.17,code:"PG000643"},{name:"Assyrian",country:"Germany",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:7e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:50.03,lng:8.25,code:"PG000214"},{name:"Assyrian",country:"United States",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:7e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:37.75,lng:-122.21,code:"PG043528"},{name:"Kurd, Northern",country:"Russian Federation",lang:"Kurdish, Northern",rol3:"kmr",pct_christian:3.5,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:44.63,lng:39.24,code:"PG024465"},{name:"Assyrian",country:"Canada",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG043355"},{name:"Persian",country:"Indonesia",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:-6.21,lng:106.83,code:"PG050238"},{name:"Persian",country:"South Korea",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:3500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:37.55,lng:126.99,code:"PG050237"},{name:"Romani, Balkan",country:"France",lang:"Romani, Balkan",rol3:"rmn",pct_christian:3.5,pop:650,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:48.84,lng:2.35,code:"PG000134"}]},"Türkiye (Turkey)":{target_upg:63,target_pop:86815200,target_top_langs:["Turkish","Kurdish, Northern","Arabic, Levantine","Zazaki, Southern"],target_top_religion:"Islam",neighbors:[{name:"Persian",country:"Turkiye",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:13e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Shia",lat:41.04,lng:28.87,code:"PG024581"},{name:"Armenian",country:"Turkiye",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:45e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:41.05,lng:28.9,code:"PG024538"},{name:"Han Chinese",country:"Turkiye",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:44500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:41.04,lng:28.87,code:"PG024558"},{name:"Romani, Balkan",country:"Italy",lang:"Romani, Balkan",rol3:"rmn",pct_christian:62.5,pop:2500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:45.54,lng:9.19,code:"PG000312"},{name:"Romani, Balkan",country:"Bulgaria",lang:"Romani, Balkan",rol3:"rmn",pct_christian:7.5,pop:267e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:42.86,lng:23.79,code:"PG000737"},{name:"Armenian",country:"Canada",lang:"Armenian, Western",rol3:"hyw",pct_christian:7.5,pop:71e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.83,lng:-77.31,code:"PG043353"},{name:"Bangni",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:62500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:27.43,lng:92.97,code:"PG041887"},{name:"Assyrian",country:"Australia",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:7.5,pop:4e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.85,lng:151.03,code:"PG007833"},{name:"Arab, Lebanese",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024837"},{name:"Arab, Palestinian",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024839"},{name:"Greek",country:"Czech Republic",lang:"Greek",rol3:"ell",pct_christian:7.5,pop:3600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:49.82,lng:17.98,code:"PG048862"},{name:"Kankali",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:27.7,lng:81.49,code:"PG049096"},{name:"Khadim",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:26.49,lng:74.65,code:"PG048969"},{name:"Bulgarian",country:"Germany",lang:"Bulgarian",rol3:"bul",pct_christian:3.5,pop:411e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.5,lng:13.4,code:"PG042446"},{name:"Arab, Lebanese",country:"Canada",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:234e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.53,lng:-73.66,code:"PG043431"},{name:"Arab, Syrian",country:"United States",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:193e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.7,lng:-73.87,code:"PG043644"},{name:"Chikwa",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:23.97,lng:84.3,code:"PG041852"},{name:"Assyrian",country:"Germany",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:7e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:50.03,lng:8.25,code:"PG000214"},{name:"Assyrian",country:"United States",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:7e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:37.75,lng:-122.21,code:"PG043528"},{name:"Kurd, Northern",country:"Russian Federation",lang:"Kurdish, Northern",rol3:"kmr",pct_christian:3.5,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:44.63,lng:39.24,code:"PG024465"},{name:"Assyrian",country:"Canada",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG043355"},{name:"Dayare",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.79,lng:77.53,code:"PG049780"},{name:"Arab, Palestinian",country:"El Salvador",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:13.71,lng:-89.19,code:"PG039263"},{name:"Romani, Balkan",country:"France",lang:"Romani, Balkan",rol3:"rmn",pct_christian:3.5,pop:650,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:48.84,lng:2.35,code:"PG000134"}]},Egypt:{target_upg:34,target_pop:82788900,target_top_langs:["Arabic, Egyptian","Arabic, Sudanese","Arabic, Algerian","Arabic, Moroccan"],target_top_religion:"Islam",neighbors:[{name:"Han Chinese, Mandarin",country:"Egypt",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:65500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:30.05,lng:31.32,code:"PG050167"},{name:"Amhara",country:"Canada",lang:"Amharic",rol3:"amh",pct_christian:25,pop:14e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG047403"},{name:"Arab, Egyptian",country:"Australia",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:12.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-31.94,lng:115.89,code:"PG020254"},{name:"Arab, Syro-Lebanese",country:"Australia",lang:"Arabic, Gulf",rol3:"afb",pct_christian:7.5,pop:192e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-33.38,lng:143.4,code:"PG020267"},{name:"Arab, Egyptian",country:"Germany",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:25500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:52.5,lng:13.4,code:"PG042462"},{name:"Arab, Lebanese",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024837"},{name:"Arab, Palestinian",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024839"},{name:"Arab, Egyptian",country:"Belgium",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:5300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:50.85,lng:4.38,code:"PG000053"},{name:"Indri",country:"South Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:7.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.78,lng:25.73,code:"PG012040"},{name:"Egyptian Copt",country:"United States",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:3.5,pop:242e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:35.35,lng:-111.99,code:"PG047347"},{name:"Arab, Lebanese",country:"Canada",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:234e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.53,lng:-73.66,code:"PG043431"},{name:"Arab, Syrian",country:"United States",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:193e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.7,lng:-73.87,code:"PG043644"},{name:"Arab",country:"South Africa",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-26.17,lng:28.07,code:"PG015486"},{name:"Delen",country:"Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:3.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.06,lng:29.58,code:"PG042814"},{name:"Arab",country:"New Zealand",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-36.89,lng:174.78,code:"PG018478"},{name:"Ethiopian, Oromo",country:"United States",lang:"Oromo, West Central",rol3:"gaz",pct_christian:3.5,pop:7200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:38.9,lng:-77.19,code:"PG047338"},{name:"Arab, Palestinian",country:"El Salvador",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:13.71,lng:-89.19,code:"PG039263"}]},Nigeria:{target_upg:52,target_pop:72422800,target_top_langs:["Hausa","Fulfulde, Nigerian","Kanuri, Yerwa","Fulfulde, Adamawa"],target_top_religion:"Islam",neighbors:[{name:"Rumaya",country:"Nigeria",lang:"Mala (Nigeria)",rol3:"ruy",pct_christian:62.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:10.42,lng:8.67,code:"PG014094"},{name:"Janji",country:"Nigeria",lang:"Janji",rol3:"jni",pct_christian:62.5,pop:2300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:10.12,lng:8.62,code:"PG013870"},{name:"Kagoma",country:"Nigeria",lang:"Gyong",rol3:"kdm",pct_christian:45,pop:50500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.26,lng:8.19,code:"PG013889"},{name:"Kaivi",country:"Nigeria",lang:"Kaivi",rol3:"kce",pct_christian:45,pop:4400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:10.41,lng:8.67,code:"PG013891"},{name:"Sura",country:"Nigeria",lang:"Mwaghavul",rol3:"sur",pct_christian:35,pop:19e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.55,lng:9.02,code:"PG014115"},{name:"Dadiya",country:"Nigeria",lang:"Dadiya",rol3:"dbd",pct_christian:35,pop:66500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.64,lng:11.44,code:"PG013294"},{name:"Bajju",country:"Nigeria",lang:"Jju",rol3:"kaj",pct_christian:25,pop:685e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.68,lng:8.07,code:"PG013892"},{name:"Okpe",country:"Nigeria",lang:"Okpe (Southwestern Edoid)",rol3:"oke",pct_christian:25,pop:465e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.78,lng:5.57,code:"PG014065"},{name:"Wukari Jukun",country:"Nigeria",lang:"Wapan",rol3:"juk",pct_christian:25,pop:222e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.32,lng:9.7,code:"PG014174"},{name:"Aten",country:"Nigeria",lang:"Iten",rol3:"etx",pct_christian:25,pop:73500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.65,lng:8.57,code:"PG013646"},{name:"Gure-Kahugu",country:"Nigeria",lang:"Tugbiri-Niragu",rol3:"grh",pct_christian:25,pop:50500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:10.31,lng:8.42,code:"PG013815"},{name:"Kagoro",country:"Nigeria",lang:"Tyap",rol3:"kcg",pct_christian:25,pop:38e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.59,lng:8.26,code:"PG013890"},{name:"Awak",country:"Nigeria",lang:"Awak",rol3:"awo",pct_christian:25,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.92,lng:11.4,code:"PG013649"},{name:"Binawa",country:"Nigeria",lang:"Bina (Nigeria)",rol3:"byj",pct_christian:25,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:10.29,lng:8.26,code:"PG013689"},{name:"Naraguta",country:"Nigeria",lang:"Iguta",rol3:"nar",pct_christian:25,pop:13e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.99,lng:8.85,code:"PG014012"},{name:"Karim-Maudi",country:"Nigeria",lang:"Karimjo",rol3:"cfg",pct_christian:25,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.86,lng:10.82,code:"PG023179"},{name:"Kono",country:"Nigeria",lang:"Kono (Nigeria)",rol3:"klk",pct_christian:25,pop:11e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:10.23,lng:8.4,code:"PG013929"},{name:"Lakka",country:"Nigeria",lang:"Kabba",rol3:"ksp",pct_christian:25,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:9.15,lng:11.25,code:"PG013956"},{name:"Burak",country:"Nigeria",lang:"Burak",rol3:"bys",pct_christian:25,pop:8800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.74,lng:11.28,code:"PG013704"},{name:"Kholok",country:"Nigeria",lang:"Kholok",rol3:"ktc",pct_christian:25,pop:7100,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:9.3,lng:11.13,code:"PG014377"},{name:"Mingang Doso",country:"Nigeria",lang:"Mingang Doso",rol3:"mko",pct_christian:25,pop:6200,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.4,lng:11.26,code:"PG014411"},{name:"Katab",country:"Nigeria",lang:"Tyap",rol3:"kcg",pct_christian:17.5,pop:287e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.82,lng:8.31,code:"PG013912"},{name:"Begbere",country:"Nigeria",lang:"Koro Wachi",rol3:"bqv",pct_christian:17.5,pop:171e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.69,lng:7.64,code:"PG013046"},{name:"Ndoro",country:"Nigeria",lang:"Ndoola",rol3:"ndr",pct_christian:17.5,pop:121e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:6.98,lng:10.78,code:"PG014016"},{name:"Chamba Leko",country:"Nigeria",lang:"Samba Leko",rol3:"ndi",pct_christian:17.5,pop:118e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:7.83,lng:10.69,code:"PG013720"},{name:"Pero",country:"Nigeria",lang:"Pero",rol3:"pip",pct_christian:17.5,pop:57500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.7,lng:11.17,code:"PG014080"},{name:"Bandawa-Minda",country:"Nigeria",lang:"Shoo-Minda-Nye",rol3:"bcv",pct_christian:17.5,pop:38e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:8.97,lng:10.99,code:"PG013664"},{name:"Etulo",country:"Nigeria",lang:"Etulo",rol3:"utr",pct_christian:17.5,pop:25500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:7.29,lng:9.32,code:"PG013776"},{name:"Ruruma",country:"Nigeria",lang:"Ruma",rol3:"ruz",pct_christian:17.5,pop:16500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:10.23,lng:8.64,code:"PG014095"},{name:"Gwomu",country:"Nigeria",lang:"Moo",rol3:"gwg",pct_christian:17.5,pop:11e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.48,lng:11.3,code:"PG013824"},{name:"Bukwun",country:"Nigeria",lang:"Bukwen",rol3:"buz",pct_christian:17.5,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:6.94,lng:10.2,code:"PG013283"},{name:"Berom",country:"Nigeria",lang:"Berom",rol3:"bom",pct_christian:12.5,pop:1485e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.58,lng:8.8,code:"PG013683"},{name:"Tarok",country:"Nigeria",lang:"Tarok",rol3:"yer",pct_christian:12.5,pop:584e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.13,lng:10.1,code:"PG014124"},{name:"Hyam",country:"Nigeria",lang:"Hyam",rol3:"jab",pct_christian:12.5,pop:396e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.54,lng:8.09,code:"PG013833"},{name:"Bachama",country:"Nigeria",lang:"Bacama",rol3:"bcy",pct_christian:12.5,pop:341e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.46,lng:12.08,code:"PG013653"},{name:"Tangale",country:"Nigeria",lang:"Tangale",rol3:"tan",pct_christian:12.5,pop:326e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.81,lng:11.21,code:"PG014122"},{name:"Kambari",country:"Nigeria",lang:"Tsishingini",rol3:"tsw",pct_christian:12.5,pop:318e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:10.34,lng:5.35,code:"PG013897"},{name:"Marghi Central",country:"Nigeria",lang:"Marghi Central",rol3:"mrt",pct_christian:12.5,pop:279e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:10.63,lng:13.35,code:"PG013988"},{name:"Kyibaku",country:"Nigeria",lang:"Kibaku",rol3:"ckl",pct_christian:12.5,pop:234e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:10.98,lng:12.88,code:"PG013953"},{name:"Chamba Daka",country:"Nigeria",lang:"Samba Daka",rol3:"ccg",pct_christian:12.5,pop:186e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:8.62,lng:11.73,code:"PG013719"},{name:"Rukuba",country:"Nigeria",lang:"Kuce",rol3:"ruk",pct_christian:12.5,pop:18e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.18,lng:8.24,code:"PG014093"},{name:"Kuteb",country:"Nigeria",lang:"Kutep",rol3:"kub",pct_christian:12.5,pop:84500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.24,lng:10.06,code:"PG013946"},{name:"Bitare",country:"Nigeria",lang:"Bitare",rol3:"brt",pct_christian:12.5,pop:73500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.11,lng:10.74,code:"PG013691"},{name:"Glavda",country:"Nigeria",lang:"Glavda",rol3:"glw",pct_christian:12.5,pop:57500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:11.15,lng:13.81,code:"PG013803"},{name:"Kulung",country:"Nigeria",lang:"Kulung (Nigeria)",rol3:"bbu",pct_christian:12.5,pop:56e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.34,lng:11,code:"PG013941"},{name:"Chawai",country:"Nigeria",lang:"Atsam",rol3:"cch",pct_christian:12.5,pop:5e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:10.26,lng:8.29,code:"PG013722"},{name:"Montol",country:"Nigeria",lang:"Tehl",rol3:"mtl",pct_christian:12.5,pop:46500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9,lng:9.64,code:"PG014003"},{name:"Fali",country:"Nigeria",lang:"Fali Muchella",rol3:"fli",pct_christian:12.5,pop:37e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:10.32,lng:13.39,code:"PG013781"},{name:"Passam",country:"Nigeria",lang:"Kpasham",rol3:"pbn",pct_christian:12.5,pop:34500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.27,lng:11.76,code:"PG014079"},{name:"Epinmi",country:"Nigeria",lang:"Ukue",rol3:"uku",pct_christian:12.5,pop:29e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.43,lng:5.78,code:"PG014146"},{name:"Yiwom",country:"Nigeria",lang:"Ywom",rol3:"gek",pct_christian:12.5,pop:29e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:8.91,lng:9.75,code:"PG014192"},{name:"Magu",country:"Nigeria",lang:"Mvanip",rol3:"mcj",pct_christian:12.5,pop:24e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.95,lng:11.02,code:"PG013979"},{name:"Lelau",country:"Nigeria",lang:"Leelau",rol3:"ldk",pct_christian:12.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.33,lng:11.1,code:"PG013964"},{name:"Kam",country:"Nigeria",lang:"Kam",rol3:"kdx",pct_christian:12.5,pop:11e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:8.35,lng:11.06,code:"PG013895"},{name:"Tapshin",country:"Nigeria",lang:"Kusur-Myet",rol3:"tdl",pct_christian:12.5,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.55,lng:9.64,code:"PG014123"},{name:"Hedi",country:"Nigeria",lang:"Hdi",rol3:"xed",pct_christian:12.5,pop:7800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.94,lng:13.69,code:"PG013829"},{name:"Lamja",country:"Nigeria",lang:"Lamja-Dengsa-Tola",rol3:"ldh",pct_christian:12.5,pop:7200,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:8.87,lng:12.06,code:"PG013959"},{name:"Kumba",country:"Nigeria",lang:"Kumba",rol3:"ksm",pct_christian:12.5,pop:6900,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.05,lng:12.04,code:"PG013943"},{name:"Pai",country:"Nigeria",lang:"Pye",rol3:"pai",pct_christian:12.5,pop:6700,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.55,lng:9.29,code:"PG014077"},{name:"Cara",country:"Nigeria",lang:"Cara",rol3:"cfd",pct_christian:12.5,pop:6500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.09,lng:8.78,code:"PG012312"},{name:"Bali",country:"Nigeria",lang:"Bali (Nigeria)",rol3:"bcn",pct_christian:12.5,pop:5300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.29,lng:11.81,code:"PG013660"},{name:"Aduge",country:"Nigeria",lang:"Aduge",rol3:"adu",pct_christian:12.5,pop:4400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:7.61,lng:6.07,code:"PG013624"},{name:"Kapya",country:"Nigeria",lang:"Kapya",rol3:"klo",pct_christian:12.5,pop:350,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:7.05,lng:9.93,code:"PG014375"},{name:"Mangas",country:"Nigeria",lang:"Mansi (Nigeria)",rol3:"zns",pct_christian:12.5,pop:225,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:10.16,lng:9.82,code:"PG013986"},{name:"Igbo",country:"Nigeria",lang:"Igbo",rol3:"ibo",pct_christian:7.5,pop:3486e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.82,lng:7.31,code:"PG013844"},{name:"Ibibio",country:"Nigeria",lang:"Ibibio",rol3:"ibb",pct_christian:7.5,pop:697e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.13,lng:7.76,code:"PG013837"},{name:"Egba",country:"Nigeria",lang:"Yoruba",rol3:"yor",pct_christian:7.5,pop:6085e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:6.98,lng:3.48,code:"PG013759"},{name:"Tiv",country:"Nigeria",lang:"Tiv",rol3:"tiv",pct_christian:7.5,pop:52e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.58,lng:8.92,code:"PG014132"},{name:"Efik",country:"Nigeria",lang:"Efik",rol3:"efi",pct_christian:7.5,pop:289e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.26,lng:8.32,code:"PG013757"},{name:"Egbira",country:"Nigeria",lang:"Ebira",rol3:"igb",pct_christian:7.5,pop:2365e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8,lng:7.12,code:"PG013314"},{name:"Urhobo",country:"Nigeria",lang:"Urhobo",rol3:"urh",pct_christian:7.5,pop:1245e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.78,lng:5.78,code:"PG014152"},{name:"Isekiri",country:"Nigeria",lang:"Isekiri",rol3:"its",pct_christian:7.5,pop:1075e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.23,lng:5.42,code:"PG013858"},{name:"Ezaa",country:"Nigeria",lang:"Ezaa",rol3:"eza",pct_christian:7.5,pop:829e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.42,lng:7.87,code:"PG013780"},{name:"Kerang",country:"Nigeria",lang:"Ngas",rol3:"anc",pct_christian:7.5,pop:772e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.27,lng:9.56,code:"PG013642"},{name:"Isoko",country:"Nigeria",lang:"Isoko",rol3:"iso",pct_christian:7.5,pop:765e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.66,lng:6.09,code:"PG013859"},{name:"Ewe",country:"Nigeria",lang:"Éwé",rol3:"ewe",pct_christian:7.5,pop:696e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:6.76,lng:3.42,code:"PG013779"},{name:"Kamwe",country:"Nigeria",lang:"Kamwe",rol3:"hig",pct_christian:7.5,pop:683e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:10.57,lng:13.41,code:"PG013901"},{name:"Kalabari",country:"Nigeria",lang:"Kalabari",rol3:"ijn",pct_christian:7.5,pop:579e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.57,lng:6.83,code:"PG013754"},{name:"Yekhee",country:"Nigeria",lang:"Etsako",rol3:"ets",pct_christian:7.5,pop:574e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.2,lng:6.48,code:"PG014187"},{name:"Okrika",country:"Nigeria",lang:"Kirike",rol3:"okr",pct_christian:7.5,pop:52e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.69,lng:7.08,code:"PG014067"},{name:"Kana",country:"Nigeria",lang:"Khana",rol3:"ogo",pct_christian:7.5,pop:488e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.7,lng:7.47,code:"PG013902"},{name:"Ogbia",country:"Nigeria",lang:"Ogbia",rol3:"ogb",pct_christian:7.5,pop:45e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.81,lng:6.38,code:"PG014056"},{name:"Saya",country:"Nigeria",lang:"Saya",rol3:"say",pct_christian:7.5,pop:41e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.84,lng:9.64,code:"PG014099"},{name:"Ikwo",country:"Nigeria",lang:"Ikwo",rol3:"iqw",pct_christian:7.5,pop:366e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.99,lng:8.25,code:"PG013856"},{name:"Ukwuani-Aboh",country:"Nigeria",lang:"Ukwuani-Aboh-Ndoni",rol3:"ukw",pct_christian:7.5,pop:354e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.62,lng:6.57,code:"PG014147"},{name:"Bokyi",country:"Nigeria",lang:"Bokyi",rol3:"bky",pct_christian:7.5,pop:31e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.26,lng:8.99,code:"PG013695"},{name:"Yala",country:"Nigeria",lang:"Yala",rol3:"yba",pct_christian:7.5,pop:31e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.36,lng:8.5,code:"PG014182"},{name:"Mo Egon",country:"Nigeria",lang:"Eggon",rol3:"ego",pct_christian:7.5,pop:305e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.74,lng:8.46,code:"PG013760"},{name:"Bokkos",country:"Nigeria",lang:"Ron",rol3:"cla",pct_christian:7.5,pop:287e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.29,lng:8.98,code:"PG013693"},{name:"Yako",country:"Nigeria",lang:"Lokaa",rol3:"yaz",pct_christian:7.5,pop:273e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.9,lng:8.13,code:"PG014181"},{name:"Southeast Ijaw",country:"Nigeria",lang:"Ijo, Southeast",rol3:"ijs",pct_christian:7.5,pop:232e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.59,lng:6.21,code:"PG014113"},{name:"Mada",country:"Nigeria",lang:"Mada (Nigeria)",rol3:"mda",pct_christian:7.5,pop:223e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.01,lng:8.31,code:"PG014403"},{name:"Gokana",country:"Nigeria",lang:"Gokana",rol3:"gkn",pct_christian:7.5,pop:195e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.65,lng:7.29,code:"PG013806"},{name:"Lela",country:"Nigeria",lang:"C’Lela",rol3:"dri",pct_christian:7.5,pop:195e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:11.46,lng:5.28,code:"PG013963"},{name:"Adara",country:"Nigeria",lang:"Adara",rol3:"kad",pct_christian:7.5,pop:149e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.83,lng:7.41,code:"PG013886"},{name:"Obanliku",country:"Nigeria",lang:"Abanglekuo",rol3:"bzy",pct_christian:7.5,pop:141e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.57,lng:9.23,code:"PG014050"},{name:"Mbula-Bwazza",country:"Nigeria",lang:"Mbula-Bwazza",rol3:"mbu",pct_christian:7.5,pop:14e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.59,lng:12.36,code:"PG013994"},{name:"Dza",country:"Nigeria",lang:"Dza",rol3:"jen",pct_christian:7.5,pop:133e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.95,lng:10.93,code:"PG013311"},{name:"Yandang",country:"Nigeria",lang:"Yendang",rol3:"ynq",pct_christian:7.5,pop:127e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:8.95,lng:11.81,code:"PG014184"},{name:"Nungu",country:"Nigeria",lang:"Nungu",rol3:"rin",pct_christian:7.5,pop:108e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.18,lng:8.5,code:"PG014043"},{name:"Amo",country:"Nigeria",lang:"Amo",rol3:"amo",pct_christian:7.5,pop:107e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:10.23,lng:8.64,code:"PG013640"},{name:"Irigwe",country:"Nigeria",lang:"Rigwe",rol3:"iri",pct_christian:7.5,pop:96e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.88,lng:8.83,code:"PG013857"},{name:"Mama",country:"Nigeria",lang:"Mama",rol3:"mma",pct_christian:7.5,pop:72500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9,lng:8.62,code:"PG013982"},{name:"Hwana",country:"Nigeria",lang:"Hwana",rol3:"hwo",pct_christian:7.5,pop:72e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:10.22,lng:12.67,code:"PG013832"},{name:"Koma",country:"Nigeria",lang:"Koma",rol3:"kmy",pct_christian:7.5,pop:7e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.67,lng:12.43,code:"PG013942"},{name:"Cham-Mwana",country:"Nigeria",lang:"Cham",rol3:"cfa",pct_christian:7.5,pop:55e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.77,lng:11.69,code:"PG013716"},{name:"Tigon Mbembe",country:"Nigeria",lang:"Mbembe, Tigon",rol3:"nza",pct_christian:7.5,pop:52e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:7.16,lng:10.68,code:"PG014130"},{name:"Mboi",country:"Nigeria",lang:"Mboi",rol3:"moi",pct_christian:7.5,pop:42500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.48,lng:12.67,code:"PG013992"},{name:"Zari",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:41e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:9.87,lng:9.4,code:"PG014203"},{name:"Etebi",country:"Nigeria",lang:"Etebi",rol3:"etb",pct_christian:7.5,pop:37e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.63,lng:8.07,code:"PG013775"},{name:"Sukur",country:"Nigeria",lang:"Sukur",rol3:"syk",pct_christian:7.5,pop:33e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.88,lng:13.64,code:"PG014114"},{name:"Bassa",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:3e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:10.67,lng:5.82,code:"PG033345"},{name:"Nandu-Tari",country:"Nigeria",lang:"Ahwai",rol3:"nfd",pct_christian:7.5,pop:28e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.26,lng:8.56,code:"PG014011"},{name:"Sasaru",country:"Nigeria",lang:"Sasaru",rol3:"sxs",pct_christian:7.5,pop:26e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.16,lng:6.17,code:"PG014098"},{name:"Yamba",country:"Nigeria",lang:"Yamba",rol3:"yam",pct_christian:7.5,pop:24e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.62,lng:11.1,code:"PG014183"},{name:"Otwa",country:"Nigeria",lang:"Ghotuo",rol3:"aaa",pct_christian:7.5,pop:22e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.18,lng:5.98,code:"PG013800"},{name:"Ngwaba",country:"Nigeria",lang:"Ngwaba",rol3:"ngw",pct_christian:7.5,pop:22e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:10.17,lng:12.85,code:"PG014022"},{name:"Akpet",country:"Nigeria",lang:"Ukpet-Ehom",rol3:"akd",pct_christian:7.5,pop:21500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.57,lng:8.17,code:"PG013636"},{name:"Bumaji",country:"Nigeria",lang:"Bumaji",rol3:"byp",pct_christian:7.5,pop:21500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.48,lng:9.31,code:"PG013702"},{name:"Lubila",country:"Nigeria",lang:"Lubila",rol3:"kcc",pct_christian:7.5,pop:21500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.41,lng:8.29,code:"PG013971"},{name:"Lo",country:"Nigeria",lang:"Loo",rol3:"ldo",pct_christian:7.5,pop:18e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.35,lng:11.11,code:"PG013967"},{name:"Sara Mbai",country:"Nigeria",lang:"Mbay",rol3:"myb",pct_christian:7.5,pop:16500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:11.84,lng:13.14,code:"PG014097"},{name:"Shal",country:"Nigeria",lang:"Shall-Zwall",rol3:"sha",pct_christian:7.5,pop:16500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.26,lng:8.75,code:"PG014103"},{name:"Korop",country:"Nigeria",lang:"Durop",rol3:"krp",pct_christian:7.5,pop:16e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.25,lng:8.66,code:"PG013931"},{name:"Kwa",country:"Nigeria",lang:"Kwa",rol3:"kwb",pct_christian:7.5,pop:15e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.5,lng:11.62,code:"PG013949"},{name:"Banwinji",country:"Nigeria",lang:"Bangwinji",rol3:"bsj",pct_christian:7.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.64,lng:11.33,code:"PG013667"},{name:"Ito",country:"Nigeria",lang:"Ito",rol3:"itw",pct_christian:7.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.06,lng:8,code:"PG013860"},{name:"Ebughu",country:"Nigeria",lang:"Ebughu",rol3:"ebg",pct_christian:7.5,pop:13e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.68,lng:8.25,code:"PG013755"},{name:"Itu Mbon Uzo",country:"Nigeria",lang:"Itu Mbon Uzo",rol3:"itm",pct_christian:7.5,pop:13e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.5,lng:7.81,code:"PG013861"},{name:"Idere",country:"Nigeria",lang:"Idere",rol3:"ide",pct_christian:7.5,pop:12500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.22,lng:8.04,code:"PG013839"},{name:"Kyak",country:"Nigeria",lang:"Kyak",rol3:"bka",pct_christian:7.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.53,lng:11.35,code:"PG014393"},{name:"Arum-Chessu",country:"Nigeria",lang:"Arum",rol3:"aab",pct_christian:7.5,pop:11e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.97,lng:8.7,code:"PG013643"},{name:"Ilue",country:"Nigeria",lang:"Ilue",rol3:"ilv",pct_christian:7.5,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.78,lng:8.25,code:"PG033351"},{name:"Mboa",country:"Nigeria",lang:"Mbonga",rol3:"xmb",pct_christian:7.5,pop:9900,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:11.15,lng:13.75,code:"PG013993"},{name:"Turkwam",country:"Nigeria",lang:"Atoro",rol3:"tdv",pct_christian:7.5,pop:8e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.17,lng:8.65,code:"PG014136"},{name:"Duguza",country:"Nigeria",lang:"Tunzuii",rol3:"dza",pct_christian:7.5,pop:7400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.03,lng:9.12,code:"PG013308"},{name:"Idon",country:"Nigeria",lang:"Ajiya",rol3:"idc",pct_christian:7.5,pop:7300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.17,lng:7.87,code:"PG013841"},{name:"Kugama",country:"Nigeria",lang:"Kugama",rol3:"kow",pct_christian:7.5,pop:7100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.14,lng:12.06,code:"PG013937"},{name:"Lam-nso",country:"Nigeria",lang:"Lamnso'",rol3:"lns",pct_christian:7.5,pop:7100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.61,lng:11.16,code:"PG014395"},{name:"Bete",country:"Nigeria",lang:"Jukun Takum",rol3:"jbu",pct_christian:7.5,pop:6900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.02,lng:9.75,code:"PG013684"},{name:"Obulom",country:"Nigeria",lang:"Obulom",rol3:"obu",pct_christian:7.5,pop:6700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.79,lng:7.05,code:"PG014052"},{name:"Teme",country:"Nigeria",lang:"Teme",rol3:"tdo",pct_christian:7.5,pop:6700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:8.99,lng:11.97,code:"PG014126"},{name:"Mini",country:"Nigeria",lang:"Abureni",rol3:"mgj",pct_christian:7.5,pop:6500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.61,lng:6.45,code:"PG013999"},{name:"Gyanzi",country:"Nigeria",lang:"Gyaazi",rol3:"gyz",pct_christian:7.5,pop:5900,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.35,lng:9.62,code:"PG013826"},{name:"Bakpinka",country:"Nigeria",lang:"Iyongiyong",rol3:"bbs",pct_christian:7.5,pop:5400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.25,lng:8.27,code:"PG013658"},{name:"Firan",country:"Nigeria",lang:"Firan",rol3:"fir",pct_christian:7.5,pop:4400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.6,lng:8.72,code:"PG013321"},{name:"Surubu",country:"Nigeria",lang:"Vori",rol3:"sde",pct_christian:7.5,pop:3800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:10.17,lng:8.32,code:"PG014116"},{name:"Zeem",country:"Nigeria",lang:"Zeem",rol3:"zem",pct_christian:7.5,pop:3400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.95,lng:9.29,code:"PG014204"},{name:"Ambo",country:"Nigeria",lang:"Ambo",rol3:"amb",pct_christian:7.5,pop:3400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.08,lng:10.77,code:"PG014310"},{name:"Tala",country:"Nigeria",lang:"Tala",rol3:"tak",pct_christian:7.5,pop:2200,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.23,lng:9.86,code:"PG014119"}]},Thailand:{target_upg:76,target_pop:61274800,target_top_langs:["Thai","Thai, Northeastern","Thai, Northern","Thai, Southern"],target_top_religion:"Buddhism",neighbors:[{name:"Lahu",country:"Thailand",lang:"Lahu",rol3:"lhu",pct_christian:35,pop:82e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.46,lng:99.05,code:"PG010877"},{name:"Korean",country:"Thailand",lang:"Korean",rol3:"kor",pct_christian:35,pop:20500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:13.76,lng:100.56,code:"PG010874"},{name:"Sgaw Karen",country:"Thailand",lang:"Karen, S’gaw",rol3:"ksw",pct_christian:25,pop:204e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:17.09,lng:98.79,code:"PG010917"},{name:"Vietnamese",country:"Thailand",lang:"Vietnamese",rol3:"vie",pct_christian:25,pop:119e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Mahayana",lat:13.76,lng:100.56,code:"PG010933"},{name:"Red Karen",country:"Thailand",lang:"Kayah, Eastern",rol3:"eky",pct_christian:25,pop:11e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.47,lng:97.98,code:"PG010911"},{name:"Akha",country:"Thailand",lang:"Akha",rol3:"ahk",pct_christian:17.5,pop:58e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:20.08,lng:99.66,code:"PG010820"},{name:"Lahu Shi",country:"Thailand",lang:"Lahu Shi",rol3:"lhi",pct_christian:17.5,pop:15500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:18.98,lng:99.39,code:"PG010939"},{name:"Padaung Karen",country:"Thailand",lang:"Kayan (Myanmar)",rol3:"pdu",pct_christian:17.5,pop:2800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:18.79,lng:98.99,code:"PG010902"},{name:"Bghai Karen",country:"Thailand",lang:"Karen, Bwe",rol3:"bwe",pct_christian:17.5,pop:2100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.53,lng:97.93,code:"PG010827"},{name:"Black Karen",country:"Thailand",lang:"Pa’o",rol3:"blk",pct_christian:17.5,pop:850,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.74,lng:98.06,code:"PG010829"},{name:"Flowery/Southern Lisu",country:"Thailand",lang:"Lisu",rol3:"lis",pct_christian:12.5,pop:42e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:18.96,lng:98.82,code:"PG010847"},{name:"Western Lawa",country:"Thailand",lang:"Lawa, Western",rol3:"lcp",pct_christian:12.5,pop:8600,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:18.36,lng:98.06,code:"PG010935"},{name:"Karen, Pwo Northern",country:"Thailand",lang:"Karen, Pwo Northern",rol3:"pww",pct_christian:7.5,pop:85e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:18.22,lng:98.03,code:"PG010936"},{name:"Kensiu",country:"Thailand",lang:"Kensiu",rol3:"kns",pct_christian:7.5,pop:300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.02,lng:101.16,code:"PG010869"},{name:"Han Chinese",country:"Thailand",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:5785e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:14.64,lng:101.07,code:"PG010849"},{name:"So",country:"Thailand",lang:"So (Laos)",rol3:"sss",pct_christian:3.5,pop:105e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Folk",lat:17.39,lng:104.05,code:"PG010920"},{name:"Mien",country:"Thailand",lang:"Iu Mien",rol3:"ium",pct_christian:3.5,pop:46500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:19.13,lng:100.45,code:"PG010890"},{name:"Tamil",country:"Thailand",lang:"Tamil",rol3:"tam",pct_christian:3.5,pop:35e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:13.76,lng:100.56,code:"PG010925"},{name:"Black Tai",country:"Thailand",lang:"Tai Dam",rol3:"blt",pct_christian:3.5,pop:25e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.92,lng:99.84,code:"PG010830"},{name:"Western Bru",country:"Thailand",lang:"Bru, Western",rol3:"brv",pct_christian:3.5,pop:17e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:17.21,lng:104.15,code:"PG010934"},{name:"Yoy",country:"Thailand",lang:"Yoy",rol3:"yoy",pct_christian:3.5,pop:6300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:17.71,lng:104.01,code:"PG010940"},{name:"Urak Lawoi Aborigine",country:"Thailand",lang:"Urak Lawoi’",rol3:"urk",pct_christian:3.5,pop:2300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:7.44,lng:99.09,code:"PG010931"},{name:"Tonga",country:"Thailand",lang:"Ten’edn",rol3:"tnz",pct_christian:3.5,pop:200,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.03,lng:101.16,code:"PG010894"},{name:"Khamet",country:"Thailand",lang:"Rmeet",rol3:"lbn",pct_christian:3.5,pop:150,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.92,lng:99.84,code:"PG010870"},{name:"Lemo",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:75,pop:2300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:25.84,lng:98.78,code:"PG007252"},{name:"Anglo Indian",country:"India",lang:"English",rol3:"eng",pct_christian:62.5,pop:398e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:12.95,lng:77.6,code:"PG041386"},{name:"Indian - Christian",country:"South Africa",lang:"English",rol3:"eng",pct_christian:62.5,pop:31e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-29.84,lng:30.93,code:"PG048045"},{name:"Euronesian",country:"Samoa",lang:"English",rol3:"eng",pct_christian:62.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-13.85,lng:-171.8,code:"PG018323"},{name:"British",country:"Tanzania",lang:"English",rol3:"eng",pct_christian:62.5,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-6.83,lng:39.25,code:"PG014914"},{name:"British",country:"Zimbabwe",lang:"English",rol3:"eng",pct_christian:62.5,pop:5800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-17.83,lng:31.03,code:"PG015650"},{name:"Bagti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:62.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:23.28,lng:86.43,code:"PG049044"},{name:"American",country:"Singapore",lang:"English",rol3:"eng",pct_christian:45,pop:9800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:1.36,lng:103.82,code:"PG018447"},{name:"British",country:"Barbados",lang:"English",rol3:"eng",pct_christian:45,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:13.12,lng:-59.6,code:"PG016197"},{name:"British",country:"Venezuela",lang:"English",rol3:"eng",pct_christian:45,pop:7200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:10.48,lng:-66.88,code:"PG016461"},{name:"British",country:"Botswana",lang:"English",rol3:"eng",pct_christian:45,pop:7100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-24.65,lng:25.91,code:"PG015217"},{name:"Pitcairn Islander",country:"New Zealand",lang:"English",rol3:"eng",pct_christian:45,pop:250,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-36.89,lng:174.78,code:"PG018502"},{name:"American",country:"Australia",lang:"English",rol3:"eng",pct_christian:35,pop:95500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.52,lng:142.46,code:"PG020268"},{name:"Eurasian",country:"Myanmar",lang:"English",rol3:"eng",pct_christian:35,pop:56500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:16.85,lng:96.15,code:"PG022046"},{name:"Caribbean Hindi",country:"French Guiana",lang:"English",rol3:"eng",pct_christian:35,pop:13500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:4.91,lng:-52.3,code:"PG022284"},{name:"Southwest Aborigine Creol",country:"Australia",lang:"English",rol3:"eng",pct_christian:35,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-32.54,lng:115.99,code:"PG008068"},{name:"Anglo-Australian",country:"Singapore",lang:"English",rol3:"eng",pct_christian:35,pop:3e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:1.36,lng:103.82,code:"PG010684"},{name:"American",country:"Iceland",lang:"English",rol3:"eng",pct_christian:35,pop:1800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:64.14,lng:-21.89,code:"PG000293"},{name:"American",country:"Marshall Islands",lang:"English",rol3:"eng",pct_christian:35,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:7.1,lng:171.22,code:"PG009376"},{name:"American",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:19474e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:38.3,lng:-93.46,code:"PG043515"},{name:"Detribalized Aborigine",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:58e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.75,lng:144.18,code:"PG007863"},{name:"Jamaican",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:33e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-95.67,code:"PG047381"},{name:"Barbadian",country:"Barbados",lang:"English",rol3:"eng",pct_christian:25,pop:269e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:13.17,lng:-59.56,code:"PG016195"},{name:"American",country:"Panama",lang:"English",rol3:"eng",pct_christian:25,pop:186e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:9.06,lng:-79.38,code:"PG050309"},{name:"Barbadian",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:50500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:40.72,lng:-73.97,code:"PG046507"},{name:"Barbadian",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:40500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-95.67,code:"PG047394"},{name:"Bay Islands Creole",country:"Honduras",lang:"English",rol3:"eng",pct_christian:25,pop:2e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:16.34,lng:-86.39,code:"PG024758"},{name:"American",country:"Virgin Islands",lang:"English",rol3:"eng",pct_christian:25,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.96,lng:-64.8,code:"PG050296"},{name:"American",country:"New Zealand",lang:"English",rol3:"eng",pct_christian:25,pop:15e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-36.89,lng:174.78,code:"PG018513"},{name:"American",country:"Guam",lang:"English",rol3:"eng",pct_christian:25,pop:14e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:13.44,lng:144.78,code:"PG050299"},{name:"Sediq",country:"Taiwan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:25,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:24.02,lng:121.35,code:"PG007536"},{name:"American",country:"Fiji",lang:"English",rol3:"eng",pct_christian:25,pop:4600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-18.13,lng:178.44,code:"PG018421"},{name:"American",country:"Greenland",lang:"English",rol3:"eng",pct_christian:25,pop:3400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:64.18,lng:-51.7,code:"PG000286"},{name:"Maori",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.28,lng:-122.84,code:"PG050518"},{name:"Nakota (Assiniboine)",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.32,lng:-106.26,code:"PG043527"},{name:"Winnebago",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:42.22,lng:-96.6,code:"PG043689"},{name:"Wik-Ngathan",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:2e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-13.84,lng:141.57,code:"PG008118"},{name:"Polynesian",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.28,lng:-122.84,code:"PG050519"},{name:"Yankuntatjara",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:950,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-27.14,lng:133.83,code:"PG008134"},{name:"Maori",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:37.75,lng:-122.21,code:"PG047214"},{name:"Burmese",country:"Germany",lang:"Burmese",rol3:"mya",pct_christian:25,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:50,lng:8.01,code:"PG033529"},{name:"African Americans",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:4054e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:39.04,lng:-100.02,code:"PG048741"},{name:"Balmiki (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:17.5,pop:1295e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.44,lng:75.81,code:"PG048195"},{name:"Eurasian",country:"Malaysia",lang:"English",rol3:"eng",pct_christian:17.5,pop:68500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:3.07,lng:101.64,code:"PG020233"},{name:"Bermudians",country:"Bermuda",lang:"English",rol3:"eng",pct_christian:17.5,pop:66e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:32.31,lng:-64.77,code:"PG016210"},{name:"Caymanian",country:"Cayman Islands",lang:"English",rol3:"eng",pct_christian:17.5,pop:60500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:19.42,lng:-80.89,code:"PG016216"},{name:"Nigerian",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:39500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:37.51,lng:-88.1,code:"PG047652"},{name:"Kenyan",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:26e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:43.83,lng:-79.46,code:"PG047469"},{name:"American",country:"Haiti",lang:"English",rol3:"eng",pct_christian:17.5,pop:19e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:18.55,lng:-72.32,code:"PG016382"},{name:"Ghanaian",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:49.22,lng:-122.99,code:"PG047407"},{name:"Passamaquoddy",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:3300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:46.36,lng:-67.46,code:"PG043437"},{name:"Tlingit",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:2300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:60.48,lng:-132.29,code:"PG043489"},{name:"Straits Salish",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:2e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.77,lng:-122.64,code:"PG043642"},{name:"Onondaga",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:43.05,lng:-80.11,code:"PG043451"},{name:"Barmi",country:"India",lang:"Burmese",rol3:"mya",pct_christian:17.5,pop:600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:12.6,lng:92.83,code:"PG048889"},{name:"K’ómoks",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:350,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-124.96,code:"PG043374"},{name:"Rembarunga",country:"Australia",lang:"English",rol3:"eng",pct_christian:17.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-12.96,lng:134.58,code:"PG008058"},{name:"Irish, Northern",country:"United Kingdom",lang:"English",rol3:"eng",pct_christian:12.5,pop:166e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:54.61,lng:-6.69,code:"PG022219"},{name:"Afro-Trinidadian",country:"Trinidad and Tobago",lang:"English",rol3:"eng",pct_christian:12.5,pop:725e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:10.42,lng:-61.3,code:"PG016442"},{name:"Metis",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:704e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:47.13,lng:-97.19,code:"PG043455"},{name:"American",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:402e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.97,lng:-107.63,code:"PG043500"},{name:"English Caribbean",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:394e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:46.73,lng:-90.31,code:"PG049256"},{name:"Han Chinese",country:"Singapore",lang:"English",rol3:"eng",pct_christian:12.5,pop:358e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020724"},{name:"Han Chinese",country:"New Zealand",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:214e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-36.89,lng:174.78,code:"PG018495"},{name:"Detribalized Amerindian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.64,lng:-115.72,code:"PG043384"},{name:"Sub-Saharan Africans, English-Speaking",country:"Belgium",lang:"English",rol3:"eng",pct_christian:12.5,pop:123e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.85,lng:4.38,code:"PG047833"},{name:"Fijian",country:"Australia",lang:"English",rol3:"eng",pct_christian:12.5,pop:71500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.75,lng:144.18,code:"PG050451"},{name:"Cree, Woodland",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:68500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:54.6,lng:-106.15,code:"PG043378"},{name:"Dominican",country:"Dominica",lang:"English",rol3:"eng",pct_christian:12.5,pop:67e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:15.43,lng:-61.35,code:"PG016306"},{name:"Welsh",country:"Argentina",lang:"English",rol3:"eng",pct_christian:12.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-43.27,lng:-65.44,code:"PG017376"},{name:"Mohawk",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:44.18,lng:-77.77,code:"PG043441"},{name:"Barbadian",country:"United Kingdom",lang:"English",rol3:"eng",pct_christian:12.5,pop:24e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:51.5,lng:-.17,code:"PG048436"},{name:"Euronesian",country:"Fiji",lang:"English",rol3:"eng",pct_christian:12.5,pop:16500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-17.95,lng:178.24,code:"PG018419"},{name:"Polynesian",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG043599"},{name:"Hmong Njua",country:"Myanmar",lang:"Hmong Njua",rol3:"hnj",pct_christian:12.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Polytheism",lat:23.63,lng:97.65,code:"PG022056"},{name:"American",country:"Costa Rica",lang:"English",rol3:"eng",pct_christian:12.5,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:10.22,lng:-85.24,code:"PG025025"},{name:"Antiguan",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:8400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:35.93,lng:-98.82,code:"PG050335"},{name:"Tsimshian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:7700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:54.42,lng:-130.3,code:"PG043490"},{name:"Lillooet",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:7500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:50.68,lng:-121.92,code:"PG043432"},{name:"Nakota (Assiniboine)",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:6500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:52.17,lng:-107.03,code:"PG043354"},{name:"Kwakwakaʼwakw",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:6500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.72,lng:-127.5,code:"PG043427"},{name:"Sac & Fox Nation of Oklahoma",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:5800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:35.71,lng:-96.77,code:"PG050670"},{name:"Dakota",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:5500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.52,lng:-102.88,code:"PG043381"},{name:"American",country:"Micronesia",lang:"English",rol3:"eng",pct_christian:12.5,pop:5400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:6.95,lng:158.2,code:"PG018394"},{name:"Straits Salish",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.49,lng:-123.46,code:"PG043479"},{name:"Bahamian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:43.9,lng:-79.58,code:"PG050486"},{name:"Cree, Southern East",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.77,lng:-75.81,code:"PG043411"},{name:"Heiltsuk",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:52.3,lng:-128.28,code:"PG043406"},{name:"Tolowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:41.9,lng:-124.16,code:"PG050627"},{name:"Sac & Fox Tribe of the Mississippi in Iowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:41.98,lng:-92.65,code:"PG043616"},{name:"Iowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:39.99,lng:-95.39,code:"PG043277"},{name:"Central Africans",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:40.74,lng:-73.72,code:"PG047190"},{name:"Jamaican",country:"Germany",lang:"English",rol3:"eng",pct_christian:12.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.13,lng:11.56,code:"PG048546"},{name:"American",country:"Curacao",lang:"English",rol3:"eng",pct_christian:12.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:12.19,lng:-68.97,code:"PG016406"},{name:"Saint Lucian",country:"French Guiana",lang:"English",rol3:"eng",pct_christian:12.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:4.91,lng:-52.3,code:"PG022286"},{name:"Tubatulabal",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:36.07,lng:-118.31,code:"PG043660"},{name:"Euronesian",country:"Cook Islands",lang:"English",rol3:"eng",pct_christian:12.5,pop:850,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-21.23,lng:-159.78,code:"PG018317"},{name:"Nez Perce",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:46.28,lng:-116.41,code:"PG043560"},{name:"Salinan",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:35.83,lng:-120.77,code:"PG050637"},{name:"Gagra",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:12.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.84,lng:75.86,code:"PG049079"},{name:"Kaska",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:58.79,lng:-126.96,code:"PG043421"},{name:"Anuta",country:"Solomon Islands",lang:"English",rol3:"eng",pct_christian:12.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-11.61,lng:169.85,code:"PG010725"},{name:"Sac & Fox Nation of Missouri in Kansas and Nebraska",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:450,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:40.01,lng:-95.52,code:"PG050671"},{name:"British",country:"Lesotho",lang:"English",rol3:"eng",pct_christian:12.5,pop:425,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-29.33,lng:27.51,code:"PG015281"},{name:"Haida",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:150,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:55.19,lng:-132.88,code:"PG043257"},{name:"Han Chinese",country:"Kiribati",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:125,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:1.37,lng:173.11,code:"PG009087"},{name:"Chinuk Wawa",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:125,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.37,lng:-123.2,code:"PG043372"},{name:"Cayuga",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:60,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:42.55,lng:-79,code:"PG043191"},{name:"Han Chinese",country:"Tuvalu",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-8.5,lng:179.19,code:"PG018319"},{name:"Upper Tanana",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:62.07,lng:-140.22,code:"PG043497"},{name:"Han Chinese, Mandarin",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:90145e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:37.37,lng:110.73,code:"PG006802"},{name:"Han Chinese, Mandarin",country:"Taiwan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:4635e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:24.86,lng:121.36,code:"PG007518"},{name:"Santal (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:335e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:24,lng:88.81,code:"PG046352"},{name:"Han Chinese, Mandarin",country:"United States",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:2345e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:45.74,lng:-114.4,code:"PG043261"},{name:"Chinese American",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:175e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:45.74,lng:-114.4,code:"PG050453"},{name:"Han Chinese",country:"Vietnam",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:162e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.04,lng:106.1,code:"PG033473"},{name:"Han Chinese, Mandarin",country:"Canada",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:1055e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:46.93,lng:-92.67,code:"PG043404"},{name:"Khmu, Ou",country:"Laos",lang:"Khmu",rol3:"kjg",pct_christian:7.5,pop:817e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:19.8,lng:102.58,code:"PG020913"},{name:"Han Chinese, Mandarin",country:"Japan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:736e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:35.72,lng:137.14,code:"PG048925"},{name:"Han Chinese",country:"Australia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:67e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-33.75,lng:144.18,code:"PG033443"},{name:"Han Chinese",country:"Myanmar",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:65e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:16.85,lng:96.15,code:"PG022047"},{name:"Jamaican",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:588e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:32.14,lng:-77.63,code:"PG043284"},{name:"Han Chinese, Mandarin",country:"Singapore",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:467e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020728"},{name:"Detribalized Amerindian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:454e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:34.9,lng:-111.06,code:"PG043225"},{name:"Cape Verdean",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:309e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:37.42,lng:-74.94,code:"PG047254"},{name:"Han Chinese",country:"Brazil",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:28e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-23.17,lng:-45.54,code:"PG016864"}]},Sudan:{target_upg:170,target_pop:48623100,target_top_langs:["Arabic, Sudanese","Bedawiyet","Fur","Nobiin"],target_top_religion:"Islam",neighbors:[{name:"Turum",country:"Sudan",lang:"Tagoi",rol3:"tag",pct_christian:45,pop:3200,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:11.6,lng:31.08,code:"PG042842"},{name:"Acheron",country:"Sudan",lang:"Acheron",rol3:"acz",pct_christian:25,pop:29e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:10.81,lng:30.25,code:"PG011958"},{name:"Heiban Nuba",country:"Sudan",lang:"Heiban",rol3:"hbn",pct_christian:25,pop:12500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:11.25,lng:30.48,code:"PG012038"},{name:"Moro",country:"Sudan",lang:"Moro",rol3:"mor",pct_christian:12.5,pop:85e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:10.94,lng:30.18,code:"PG012112"},{name:"Katcha-Kadugli",country:"Sudan",lang:"Katcha-Kadugli-Miri",rol3:"xtc",pct_christian:7.5,pop:97e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:10.96,lng:29.69,code:"PG012053"},{name:"Dgik, Ruwa",country:"Sudan",lang:"Dagik",rol3:"dec",pct_christian:7.5,pop:72e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:10.66,lng:30,code:"PG012102"},{name:"Krongo",country:"Sudan",lang:"Krongo",rol3:"kgo",pct_christian:7.5,pop:66e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:10.55,lng:29.96,code:"PG012074"},{name:"Miri",country:"Sudan",lang:"Katcha-Kadugli-Miri",rol3:"xtc",pct_christian:7.5,pop:3e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:11,lng:29.5,code:"PG012105"},{name:"Tulishi",country:"Sudan",lang:"Tulishi",rol3:"tey",pct_christian:7.5,pop:3e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:11.47,lng:29.11,code:"PG012165"},{name:"Koalib",country:"Sudan",lang:"Koalib",rol3:"kib",pct_christian:3.5,pop:139e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:11.67,lng:30.4,code:"PG012071"},{name:"Laro",country:"Sudan",lang:"Laro",rol3:"lro",pct_christian:3.5,pop:4e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:11.35,lng:30.54,code:"PG012079"},{name:"Shatt",country:"Sudan",lang:"Shatt",rol3:"shj",pct_christian:3.5,pop:37500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:10.82,lng:29.76,code:"PG012132"},{name:"Komo",country:"Sudan",lang:"Komo (Sudan)",rol3:"xom",pct_christian:3.5,pop:36e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:9.82,lng:34.09,code:"PG012072"},{name:"Delen",country:"Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:3.5,pop:13e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:12.06,lng:29.58,code:"PG042814"},{name:"Anglo Indian",country:"India",lang:"English",rol3:"eng",pct_christian:62.5,pop:398e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:12.95,lng:77.6,code:"PG041386"},{name:"Indian - Christian",country:"South Africa",lang:"English",rol3:"eng",pct_christian:62.5,pop:31e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-29.84,lng:30.93,code:"PG048045"},{name:"Euronesian",country:"Samoa",lang:"English",rol3:"eng",pct_christian:62.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-13.85,lng:-171.8,code:"PG018323"},{name:"British",country:"Tanzania",lang:"English",rol3:"eng",pct_christian:62.5,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-6.83,lng:39.25,code:"PG014914"},{name:"British",country:"Zimbabwe",lang:"English",rol3:"eng",pct_christian:62.5,pop:5800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-17.83,lng:31.03,code:"PG015650"},{name:"American",country:"Singapore",lang:"English",rol3:"eng",pct_christian:45,pop:9800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:1.36,lng:103.82,code:"PG018447"},{name:"British",country:"Barbados",lang:"English",rol3:"eng",pct_christian:45,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:13.12,lng:-59.6,code:"PG016197"},{name:"British",country:"Venezuela",lang:"English",rol3:"eng",pct_christian:45,pop:7200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:10.48,lng:-66.88,code:"PG016461"},{name:"British",country:"Botswana",lang:"English",rol3:"eng",pct_christian:45,pop:7100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-24.65,lng:25.91,code:"PG015217"},{name:"Pitcairn Islander",country:"New Zealand",lang:"English",rol3:"eng",pct_christian:45,pop:250,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-36.89,lng:174.78,code:"PG018502"},{name:"American",country:"Australia",lang:"English",rol3:"eng",pct_christian:35,pop:95500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.52,lng:142.46,code:"PG020268"},{name:"Eurasian",country:"Myanmar",lang:"English",rol3:"eng",pct_christian:35,pop:56500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:16.85,lng:96.15,code:"PG022046"},{name:"Caribbean Hindi",country:"French Guiana",lang:"English",rol3:"eng",pct_christian:35,pop:13500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:4.91,lng:-52.3,code:"PG022284"},{name:"Southwest Aborigine Creol",country:"Australia",lang:"English",rol3:"eng",pct_christian:35,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-32.54,lng:115.99,code:"PG008068"},{name:"Anglo-Australian",country:"Singapore",lang:"English",rol3:"eng",pct_christian:35,pop:3e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:1.36,lng:103.82,code:"PG010684"},{name:"American",country:"Iceland",lang:"English",rol3:"eng",pct_christian:35,pop:1800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:64.14,lng:-21.89,code:"PG000293"},{name:"American",country:"Marshall Islands",lang:"English",rol3:"eng",pct_christian:35,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:7.1,lng:171.22,code:"PG009376"},{name:"American",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:19474e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:38.3,lng:-93.46,code:"PG043515"},{name:"Detribalized Aborigine",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:58e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.75,lng:144.18,code:"PG007863"},{name:"Jamaican",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:33e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-95.67,code:"PG047381"},{name:"Barbadian",country:"Barbados",lang:"English",rol3:"eng",pct_christian:25,pop:269e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:13.17,lng:-59.56,code:"PG016195"},{name:"American",country:"Panama",lang:"English",rol3:"eng",pct_christian:25,pop:186e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:9.06,lng:-79.38,code:"PG050309"},{name:"Barbadian",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:50500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:40.72,lng:-73.97,code:"PG046507"},{name:"Barbadian",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:40500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-95.67,code:"PG047394"},{name:"Bay Islands Creole",country:"Honduras",lang:"English",rol3:"eng",pct_christian:25,pop:2e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:16.34,lng:-86.39,code:"PG024758"},{name:"American",country:"Virgin Islands",lang:"English",rol3:"eng",pct_christian:25,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.96,lng:-64.8,code:"PG050296"},{name:"American",country:"New Zealand",lang:"English",rol3:"eng",pct_christian:25,pop:15e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-36.89,lng:174.78,code:"PG018513"},{name:"American",country:"Guam",lang:"English",rol3:"eng",pct_christian:25,pop:14e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:13.44,lng:144.78,code:"PG050299"},{name:"American",country:"Fiji",lang:"English",rol3:"eng",pct_christian:25,pop:4600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-18.13,lng:178.44,code:"PG018421"},{name:"Mono",country:"Cameroon",lang:"Fulfulde, Adamawa",rol3:"fub",pct_christian:25,pop:3700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:8.77,lng:14.12,code:"PG012705"},{name:"American",country:"Greenland",lang:"English",rol3:"eng",pct_christian:25,pop:3400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:64.18,lng:-51.7,code:"PG000286"},{name:"Maori",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.28,lng:-122.84,code:"PG050518"},{name:"Nakota (Assiniboine)",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.32,lng:-106.26,code:"PG043527"},{name:"Winnebago",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:42.22,lng:-96.6,code:"PG043689"},{name:"Wik-Ngathan",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:2e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-13.84,lng:141.57,code:"PG008118"},{name:"Polynesian",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.28,lng:-122.84,code:"PG050519"},{name:"Yankuntatjara",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:950,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-27.14,lng:133.83,code:"PG008134"},{name:"Maori",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:37.75,lng:-122.21,code:"PG047214"},{name:"African Americans",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:4054e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:39.04,lng:-100.02,code:"PG048741"},{name:"Eurasian",country:"Malaysia",lang:"English",rol3:"eng",pct_christian:17.5,pop:68500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:3.07,lng:101.64,code:"PG020233"},{name:"Bermudians",country:"Bermuda",lang:"English",rol3:"eng",pct_christian:17.5,pop:66e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:32.31,lng:-64.77,code:"PG016210"},{name:"Caymanian",country:"Cayman Islands",lang:"English",rol3:"eng",pct_christian:17.5,pop:60500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:19.42,lng:-80.89,code:"PG016216"},{name:"Nigerian",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:39500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:37.51,lng:-88.1,code:"PG047652"},{name:"Kenyan",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:26e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:43.83,lng:-79.46,code:"PG047469"},{name:"American",country:"Haiti",lang:"English",rol3:"eng",pct_christian:17.5,pop:19e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:18.55,lng:-72.32,code:"PG016382"},{name:"Ghanaian",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:49.22,lng:-122.99,code:"PG047407"},{name:"Passamaquoddy",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:3300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:46.36,lng:-67.46,code:"PG043437"},{name:"Tlingit",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:2300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:60.48,lng:-132.29,code:"PG043489"},{name:"Straits Salish",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:2e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.77,lng:-122.64,code:"PG043642"},{name:"Onondaga",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:43.05,lng:-80.11,code:"PG043451"},{name:"K’ómoks",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:350,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-124.96,code:"PG043374"},{name:"Rembarunga",country:"Australia",lang:"English",rol3:"eng",pct_christian:17.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-12.96,lng:134.58,code:"PG008058"},{name:"Irish, Northern",country:"United Kingdom",lang:"English",rol3:"eng",pct_christian:12.5,pop:166e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:54.61,lng:-6.69,code:"PG022219"},{name:"Afro-Trinidadian",country:"Trinidad and Tobago",lang:"English",rol3:"eng",pct_christian:12.5,pop:725e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:10.42,lng:-61.3,code:"PG016442"},{name:"Metis",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:704e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:47.13,lng:-97.19,code:"PG043455"},{name:"Gbaya",country:"Cameroon",lang:"Gbaya, Northwest",rol3:"gya",pct_christian:12.5,pop:442e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:6.26,lng:13.47,code:"PG012601"},{name:"American",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:402e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.97,lng:-107.63,code:"PG043500"},{name:"English Caribbean",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:394e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:46.73,lng:-90.31,code:"PG049256"},{name:"Han Chinese",country:"Singapore",lang:"English",rol3:"eng",pct_christian:12.5,pop:358e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020724"},{name:"Detribalized Amerindian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.64,lng:-115.72,code:"PG043384"},{name:"Sub-Saharan Africans, English-Speaking",country:"Belgium",lang:"English",rol3:"eng",pct_christian:12.5,pop:123e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.85,lng:4.38,code:"PG047833"},{name:"Arab, Egyptian",country:"Australia",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:12.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-31.94,lng:115.89,code:"PG020254"},{name:"Fijian",country:"Australia",lang:"English",rol3:"eng",pct_christian:12.5,pop:71500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.75,lng:144.18,code:"PG050451"},{name:"Cree, Woodland",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:68500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:54.6,lng:-106.15,code:"PG043378"},{name:"Dominican",country:"Dominica",lang:"English",rol3:"eng",pct_christian:12.5,pop:67e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:15.43,lng:-61.35,code:"PG016306"},{name:"Welsh",country:"Argentina",lang:"English",rol3:"eng",pct_christian:12.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-43.27,lng:-65.44,code:"PG017376"},{name:"Mohawk",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:44.18,lng:-77.77,code:"PG043441"},{name:"Barbadian",country:"United Kingdom",lang:"English",rol3:"eng",pct_christian:12.5,pop:24e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:51.5,lng:-.17,code:"PG048436"},{name:"Euronesian",country:"Fiji",lang:"English",rol3:"eng",pct_christian:12.5,pop:16500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-17.95,lng:178.24,code:"PG018419"},{name:"Polynesian",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG043599"},{name:"American",country:"Costa Rica",lang:"English",rol3:"eng",pct_christian:12.5,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:10.22,lng:-85.24,code:"PG025025"},{name:"Antiguan",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:8400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:35.93,lng:-98.82,code:"PG050335"},{name:"Tsimshian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:7700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:54.42,lng:-130.3,code:"PG043490"},{name:"Lillooet",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:7500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:50.68,lng:-121.92,code:"PG043432"},{name:"Nakota (Assiniboine)",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:6500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:52.17,lng:-107.03,code:"PG043354"},{name:"Kwakwakaʼwakw",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:6500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.72,lng:-127.5,code:"PG043427"},{name:"Sac & Fox Nation of Oklahoma",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:5800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:35.71,lng:-96.77,code:"PG050670"},{name:"Dakota",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:5500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.52,lng:-102.88,code:"PG043381"},{name:"American",country:"Micronesia",lang:"English",rol3:"eng",pct_christian:12.5,pop:5400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:6.95,lng:158.2,code:"PG018394"},{name:"Straits Salish",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.49,lng:-123.46,code:"PG043479"},{name:"Bahamian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:43.9,lng:-79.58,code:"PG050486"},{name:"Cree, Southern East",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.77,lng:-75.81,code:"PG043411"},{name:"Heiltsuk",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:52.3,lng:-128.28,code:"PG043406"},{name:"Tolowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:41.9,lng:-124.16,code:"PG050627"},{name:"Sac & Fox Tribe of the Mississippi in Iowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:41.98,lng:-92.65,code:"PG043616"},{name:"Iowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:39.99,lng:-95.39,code:"PG043277"},{name:"Central Africans",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:40.74,lng:-73.72,code:"PG047190"},{name:"Jamaican",country:"Germany",lang:"English",rol3:"eng",pct_christian:12.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.13,lng:11.56,code:"PG048546"},{name:"American",country:"Curacao",lang:"English",rol3:"eng",pct_christian:12.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:12.19,lng:-68.97,code:"PG016406"},{name:"Saint Lucian",country:"French Guiana",lang:"English",rol3:"eng",pct_christian:12.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:4.91,lng:-52.3,code:"PG022286"},{name:"Tubatulabal",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:36.07,lng:-118.31,code:"PG043660"},{name:"Euronesian",country:"Cook Islands",lang:"English",rol3:"eng",pct_christian:12.5,pop:850,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-21.23,lng:-159.78,code:"PG018317"},{name:"Nez Perce",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:46.28,lng:-116.41,code:"PG043560"},{name:"Salinan",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:35.83,lng:-120.77,code:"PG050637"},{name:"Kaska",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:58.79,lng:-126.96,code:"PG043421"},{name:"Anuta",country:"Solomon Islands",lang:"English",rol3:"eng",pct_christian:12.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-11.61,lng:169.85,code:"PG010725"},{name:"Sac & Fox Nation of Missouri in Kansas and Nebraska",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:450,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:40.01,lng:-95.52,code:"PG050671"},{name:"British",country:"Lesotho",lang:"English",rol3:"eng",pct_christian:12.5,pop:425,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-29.33,lng:27.51,code:"PG015281"},{name:"Haida",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:150,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:55.19,lng:-132.88,code:"PG043257"},{name:"Chinuk Wawa",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:125,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.37,lng:-123.2,code:"PG043372"},{name:"Cayuga",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:60,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:42.55,lng:-79,code:"PG043191"},{name:"Upper Tanana",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:62.07,lng:-140.22,code:"PG043497"},{name:"Chinese American",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:175e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:45.74,lng:-114.4,code:"PG050453"},{name:"Jamaican",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:588e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:32.14,lng:-77.63,code:"PG043284"},{name:"Detribalized Amerindian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:454e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:34.9,lng:-111.06,code:"PG043225"},{name:"Cape Verdean",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:309e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:37.42,lng:-74.94,code:"PG047254"},{name:"Ghanaian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:204e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:40.72,lng:-73.97,code:"PG046500"},{name:"Arab, Syro-Lebanese",country:"Australia",lang:"Arabic, Gulf",rol3:"afb",pct_christian:7.5,pop:192e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-33.38,lng:143.4,code:"PG020267"},{name:"Trinidadian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:174e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:40.69,lng:-73.86,code:"PG046512"},{name:"Choctaw",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:121e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:34.5,lng:-95.33,code:"PG043202"},{name:"Liberian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:107e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:40.72,lng:-73.97,code:"PG047273"},{name:"American",country:"Dominican Republic",lang:"English",rol3:"eng",pct_christian:7.5,pop:96500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:18.48,lng:-69.91,code:"PG016327"},{name:"Kenyan",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:96e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:33.32,lng:-92.72,code:"PG050473"},{name:"Anglo-Australian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:84e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:35.02,lng:-98.4,code:"PG043519"},{name:"Trinidadian",country:"Canada",lang:"English",rol3:"eng",pct_christian:7.5,pop:84e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-95.67,code:"PG047383"},{name:"Swahili",country:"United States",lang:"Swahili",rol3:"swh",pct_christian:7.5,pop:81500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:34.52,lng:-105.83,code:"PG047306"},{name:"Channel Islanders",country:"Guernsey",lang:"English",rol3:"eng",pct_christian:7.5,pop:65e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.48,lng:-2.52,code:"PG048818"},{name:"South African",country:"Canada",lang:"English",rol3:"eng",pct_christian:7.5,pop:44e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:47.85,lng:-102.06,code:"PG050480"},{name:"Cree, Plains",country:"Canada",lang:"English",rol3:"eng",pct_christian:7.5,pop:43e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:53.8,lng:-109.54,code:"PG043505"},{name:"Zari",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.87,lng:9.4,code:"PG014203"},{name:"British",country:"Zambia",lang:"English",rol3:"eng",pct_christian:7.5,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-15.4,lng:28.31,code:"PG015570"},{name:"Blackfoot, Siksika",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.66,lng:-112.87,code:"PG043538"},{name:"Bassa",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:10.67,lng:5.82,code:"PG033345"},{name:"American",country:"Ecuador",lang:"English",rol3:"eng",pct_christian:7.5,pop:28e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-.18,lng:-78.49,code:"PG017483"},{name:"Arab, Egyptian",country:"Germany",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:25500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:52.5,lng:13.4,code:"PG042462"},{name:"Potawatomi",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:24e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:39.34,lng:-95.84,code:"PG043601"},{name:"Euronesian",country:"Solomon Islands",lang:"English",rol3:"eng",pct_christian:7.5,pop:23500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-9.43,lng:159.96,code:"PG018398"},{name:"Halkomelem",country:"Canada",lang:"English",rol3:"eng",pct_christian:7.5,pop:21e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.22,lng:-121.97,code:"PG043403"},{name:"Tlingit",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:18e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:57.16,lng:-133.75,code:"PG043653"},{name:"Filipino",country:"New Zealand",lang:"English",rol3:"eng",pct_christian:7.5,pop:17e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-36.89,lng:174.78,code:"PG047593"},{name:"Comanche",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:34.56,lng:-98.43,code:"PG043209"},{name:"British",country:"Cayman Islands",lang:"English",rol3:"eng",pct_christian:7.5,pop:14e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:19.33,lng:-81.38,code:"PG016215"},{name:"Cheyenne",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:13500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:45.53,lng:-106.68,code:"PG043198"},{name:"American",country:"Papua New Guinea",lang:"English",rol3:"eng",pct_christian:7.5,pop:12e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:-9.45,lng:147.18,code:"PG022038"},{name:"Pueblo, Santa Clara",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:12e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Native American religions",lat:35.98,lng:-106.22,code:"PG050653"},{name:"Shuswap",country:"Canada",lang:"English",rol3:"eng",pct_christian:7.5,pop:11e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:51.26,lng:-120.93,code:"PG043468"}]},Algeria:{target_upg:38,target_pop:47320600,target_top_langs:["Arabic, Algerian","Kabyle","Tachawit","Tamazight, Central Atlas"],target_top_religion:"Islam",neighbors:[{name:"Han Chinese, Mandarin",country:"Algeria",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:55e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:36.73,lng:3.13,code:"PG049244"},{name:"Bakole",country:"Cameroon",lang:"French",rol3:"fra",pct_christian:35,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:4.43,lng:8.97,code:"PG012493"},{name:"PoaPoa",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:25,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-20.87,lng:164.66,code:"PG018370"},{name:"Romani, Vlax",country:"Belgium",lang:"Romani, Vlax",rol3:"rmy",pct_christian:17.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:50.85,lng:4.38,code:"PG000068"},{name:"Arab, Egyptian",country:"Australia",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:12.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-31.94,lng:115.89,code:"PG020254"},{name:"Euronesian",country:"French Polynesia",lang:"French",rol3:"fra",pct_christian:12.5,pop:58500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-17.56,lng:-149.57,code:"PG018408"},{name:"Euronesian",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:12.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-22.27,lng:166.45,code:"PG018406"},{name:"Aeke",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:12.5,pop:350,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-21.07,lng:164.88,code:"PG009564"},{name:"French",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:7.5,pop:93500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-21.33,lng:165.49,code:"PG018389"},{name:"Zari",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.87,lng:9.4,code:"PG014203"},{name:"Bassa",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:10.67,lng:5.82,code:"PG033345"},{name:"Arab, Egyptian",country:"Germany",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:25500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:52.5,lng:13.4,code:"PG042462"},{name:"Sake",country:"Gabon",lang:"French",rol3:"fra",pct_christian:7.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:.07,lng:11.63,code:"PG013210"},{name:"Burundi",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.58,lng:-73.7,code:"PG050494"},{name:"Burundi",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:37.74,lng:-92.31,code:"PG047181"},{name:"Arab, Egyptian",country:"Belgium",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:5300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:50.85,lng:4.38,code:"PG000053"},{name:"Kande",country:"Gabon",lang:"French",rol3:"fra",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-.09,lng:11.75,code:"PG013189"},{name:"Chadian",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.58,lng:-73.7,code:"PG050504"},{name:"New Caledonian",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.22,lng:-122.99,code:"PG047444"},{name:"Gabonese",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:38.9,lng:-77.19,code:"PG047191"},{name:"Chinese-Tahitian Creole",country:"French Polynesia",lang:"French",rol3:"fra",pct_christian:7.5,pop:300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-17.56,lng:-149.57,code:"PG018407"},{name:"Chadian",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:250,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:38.02,lng:-84.5,code:"PG047189"},{name:"Walloon",country:"Belgium",lang:"French",rol3:"fra",pct_christian:3.5,pop:3755e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:50.32,lng:4.95,code:"PG000076"},{name:"Swiss",country:"Switzerland",lang:"French",rol3:"fra",pct_christian:3.5,pop:2015e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:46.6,lng:6.93,code:"PG000585"},{name:"Egyptian Copt",country:"United States",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:3.5,pop:242e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:35.35,lng:-111.99,code:"PG047347"},{name:"Franco-Mauritian",country:"Mauritius",lang:"French",rol3:"fra",pct_christian:3.5,pop:72500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-20.25,lng:57.51,code:"PG015346"},{name:"Romani, Vlax, Kalderash",country:"Argentina",lang:"Romani, Vlax",rol3:"rmy",pct_christian:3.5,pop:61e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-34.65,lng:-58.56,code:"PG017346"},{name:"Romani, Vlax",country:"Colombia",lang:"Romani, Vlax",rol3:"rmy",pct_christian:3.5,pop:42e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:4.64,lng:-74.11,code:"PG016290"},{name:"Arab",country:"South Africa",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-26.17,lng:28.07,code:"PG015486"},{name:"Romanian",country:"France",lang:"French",rol3:"fra",pct_christian:3.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:48.84,lng:2.35,code:"PG000192"},{name:"Arab",country:"New Zealand",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-36.89,lng:174.78,code:"PG018478"},{name:"French Caribbean",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:6300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.5,lng:-73.81,code:"PG047395"},{name:"Togolese",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:5600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:45.52,lng:-73.68,code:"PG050478"},{name:"Congolese",country:"Spain",lang:"French",rol3:"fra",pct_christian:3.5,pop:4800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:40.41,lng:-3.69,code:"PG042340"},{name:"Abenaki",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:46.07,lng:-72.82,code:"PG043348"},{name:"Ivorian",country:"United States",lang:"French",rol3:"fra",pct_christian:3.5,pop:3600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:40.74,lng:-73.72,code:"PG047266"},{name:"Guinean",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.5,lng:-73.81,code:"PG047454"},{name:"Sighu",country:"Gabon",lang:"French",rol3:"fra",pct_christian:3.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-.84,lng:12.69,code:"PG013213"},{name:"Rwandan",country:"Netherlands",lang:"French",rol3:"fra",pct_christian:3.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:51.9,lng:4.47,code:"PG000430"},{name:"Gabonese",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:1600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.58,lng:-73.7,code:"PG050505"}]},Iraq:{target_upg:31,target_pop:46011e3,target_top_langs:["Arabic, Mesopotamian","Arabic, North Mesopotamian","Kurdish, Central","Kurdish, Northern"],target_top_religion:"Islam",neighbors:[{name:"Arab, Egyptian",country:"Australia",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:12.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-31.94,lng:115.89,code:"PG020254"},{name:"Armenian",country:"United Kingdom",lang:"Armenian",rol3:"hye",pct_christian:12.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000627"},{name:"Bangni",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:62500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:27.43,lng:92.97,code:"PG041887"},{name:"Assyrian",country:"Australia",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:7.5,pop:4e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.85,lng:151.03,code:"PG007833"},{name:"Arab, Egyptian",country:"Germany",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:25500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:52.5,lng:13.4,code:"PG042462"},{name:"Arab, Lebanese",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024837"},{name:"Arab, Palestinian",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024839"},{name:"Iranian",country:"Armenia",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:40.17,lng:44.49,code:"PG050098"},{name:"Arab, Egyptian",country:"Belgium",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:5300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:50.85,lng:4.38,code:"PG000053"},{name:"Iranian",country:"Greece",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:38.05,lng:23.7,code:"PG047071"},{name:"Kankali",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:27.7,lng:81.49,code:"PG049096"},{name:"Khadim",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:26.49,lng:74.65,code:"PG048969"},{name:"Egyptian Copt",country:"United States",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:3.5,pop:242e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:35.35,lng:-111.99,code:"PG047347"},{name:"Arab, Lebanese",country:"Canada",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:234e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.53,lng:-73.66,code:"PG043431"},{name:"Armenian",country:"Lebanon",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:22e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:33.87,lng:35.58,code:"PG048928"},{name:"Persian",country:"Canada",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:46.93,lng:-92.67,code:"PG043458"},{name:"Arab, Syrian",country:"United States",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:193e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.7,lng:-73.87,code:"PG043644"},{name:"Iranian",country:"Germany",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:175e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:52.51,lng:11.69,code:"PG000259"},{name:"Persian",country:"Turkiye",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:13e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:41.04,lng:28.87,code:"PG024581"},{name:"Armenian",country:"Iran",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:38.14,lng:46.37,code:"PG024130"},{name:"Chikwa",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:23.97,lng:84.3,code:"PG041852"},{name:"Persian",country:"United Kingdom",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:86e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:51.5,lng:-.17,code:"PG000643"},{name:"Assyrian",country:"Germany",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:7e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:50.03,lng:8.25,code:"PG000214"},{name:"Assyrian",country:"United States",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:7e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:37.75,lng:-122.21,code:"PG043528"},{name:"Armenian",country:"Turkiye",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:41.05,lng:28.9,code:"PG024538"},{name:"Kurd, Northern",country:"Russian Federation",lang:"Kurdish, Northern",rol3:"kmr",pct_christian:3.5,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:44.63,lng:39.24,code:"PG024465"},{name:"Arab",country:"South Africa",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-26.17,lng:28.07,code:"PG015486"},{name:"Assyrian",country:"Canada",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG043355"},{name:"Arab",country:"New Zealand",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-36.89,lng:174.78,code:"PG018478"},{name:"Persian",country:"Indonesia",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:-6.21,lng:106.83,code:"PG050238"},{name:"Persian",country:"South Korea",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:3500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:37.55,lng:126.99,code:"PG050237"},{name:"Dayare",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.79,lng:77.53,code:"PG049780"},{name:"Arab, Palestinian",country:"El Salvador",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:13.71,lng:-89.19,code:"PG039263"}]},"Myanmar (Burma)":{target_upg:58,target_pop:44445100,target_top_langs:["Burmese","Shan","Rakhine","Chinese, Mandarin"],target_top_religion:"Buddhism",neighbors:[{name:"Kayaw",country:"Myanmar",lang:"Kayaw",rol3:"kvl",pct_christian:75,pop:26e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:19.26,lng:96.85,code:"PG009414"},{name:"Zanniat Chin",country:"Myanmar",lang:"Chin, Falam",rol3:"cfm",pct_christian:75,pop:2e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23,lng:93.84,code:"PG009549"},{name:"Lushai",country:"Myanmar",lang:"Mizo",rol3:"lus",pct_christian:75,pop:19500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.44,lng:93.63,code:"PG009473"},{name:"Siyin Chin",country:"Myanmar",lang:"Chin, Siyin",rol3:"csy",pct_christian:75,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.41,lng:93.63,code:"PG009521"},{name:"Anal",country:"Myanmar",lang:"Anal",rol3:"anm",pct_christian:75,pop:50,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.21,lng:94.31,code:"PG022039"},{name:"Karen, S'gaw",country:"Myanmar",lang:"Karen, S’gaw",rol3:"ksw",pct_christian:62.5,pop:201e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:17.51,lng:96.16,code:"PG009518"},{name:"Tiddim Chin",country:"Myanmar",lang:"Chin, Tedim",rol3:"ctd",pct_christian:62.5,pop:256e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.5,lng:94.06,code:"PG009534"},{name:"Falam Chin",country:"Myanmar",lang:"Chin, Falam",rol3:"cfm",pct_christian:62.5,pop:147e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.02,lng:93.67,code:"PG022048"},{name:"Haka Chin",country:"Myanmar",lang:"Chin, Hakha",rol3:"cnh",pct_christian:62.5,pop:133e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:22.45,lng:93.8,code:"PG009431"},{name:"Rawang",country:"Myanmar",lang:"Rawang",rol3:"raw",pct_christian:62.5,pop:73500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:27.25,lng:97.97,code:"PG009509"},{name:"Kuki Chin",country:"Myanmar",lang:"Chin, Thado",rol3:"tcz",pct_christian:62.5,pop:41e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.9,lng:94.73,code:"PG009461"},{name:"K'cho Chin",country:"Myanmar",lang:"Chin, Müün",rol3:"mwq",pct_christian:62.5,pop:3e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:20.29,lng:94.3,code:"PG022045"},{name:"Ngawn Chin",country:"Myanmar",lang:"Chin, Ngawn",rol3:"cnw",pct_christian:62.5,pop:23e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.09,lng:93.85,code:"PG009493"},{name:"Bawm",country:"Myanmar",lang:"Chin, Bawm",rol3:"bgr",pct_christian:62.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.59,lng:92.9,code:"PG009408"},{name:"Pyen",country:"Myanmar",lang:"Pyen",rol3:"pyy",pct_christian:62.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:22.03,lng:99.65,code:"PG009506"},{name:"Lahu",country:"Myanmar",lang:"Lahu",rol3:"lhu",pct_christian:45,pop:2e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.58,lng:99.59,code:"PG009463"},{name:"Zome",country:"Myanmar",lang:"Zo",rol3:"zom",pct_christian:45,pop:61e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.53,lng:94.12,code:"PG009551"},{name:"Zotung Chin",country:"Myanmar",lang:"Chin, Zotung",rol3:"czt",pct_christian:45,pop:54e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:22.55,lng:93.32,code:"PG009552"},{name:"Chin, Mara",country:"Myanmar",lang:"Mara",rol3:"mrh",pct_christian:45,pop:25e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:22.05,lng:93.12,code:"PG009481"},{name:"Karen, Gheko",country:"Myanmar",lang:"Karen, Geko",rol3:"ghk",pct_christian:45,pop:17e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:19.51,lng:96.75,code:"PG009428"},{name:"Kawyaw",country:"Myanmar",lang:"Kawyaw",rol3:"kxf",pct_christian:45,pop:12e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:19.28,lng:97.08,code:"PG009479"},{name:"Naga, Konyak",country:"Myanmar",lang:"Naga, Konyak",rol3:"nbe",pct_christian:45,pop:2200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.56,lng:95.18,code:"PG009460"},{name:"Kachin",country:"Myanmar",lang:"Jingpho",rol3:"kac",pct_christian:35,pop:1065e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.05,lng:97.44,code:"PG009448"},{name:"Eurasian",country:"Myanmar",lang:"English",rol3:"eng",pct_christian:35,pop:56500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:16.85,lng:96.15,code:"PG022046"},{name:"Lashi",country:"Myanmar",lang:"Lacid",rol3:"lsi",pct_christian:35,pop:3e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.83,lng:98.25,code:"PG009469"},{name:"Rawngtu Chin",country:"Myanmar",lang:"Chin, Rawngtu",rol3:"weu",pct_christian:35,pop:5e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Polytheism",lat:21.55,lng:93.73,code:"PG009539"},{name:"Mro-Khimi",country:"Myanmar",lang:"Mro-Khimi",rol3:"cmr",pct_christian:25,pop:75e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:20.7,lng:92.98,code:"PG009456"},{name:"Karen, Geba",country:"Myanmar",lang:"Karen, Geba",rol3:"kvq",pct_christian:25,pop:4e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:19.5,lng:96.62,code:"PG009427"},{name:"Karen, Bghai",country:"Myanmar",lang:"Karen, Bwe",rol3:"bwe",pct_christian:25,pop:21e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.09,lng:96.72,code:"PG009510"},{name:"Karen, Yinbaw",country:"Myanmar",lang:"Yinbaw",rol3:"kvu",pct_christian:25,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:18.96,lng:97.21,code:"PG009546"},{name:"Anu",country:"Myanmar",lang:"Chin, Anu-Khongso",rol3:"anl",pct_christian:25,pop:4400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Polytheism",lat:21.31,lng:92.84,code:"PG009405"},{name:"Drung",country:"Myanmar",lang:"Drung",rol3:"duu",pct_christian:25,pop:400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Polytheism",lat:28.1,lng:97.69,code:"PG009535"},{name:"Achang",country:"Myanmar",lang:"Achang",rol3:"acn",pct_christian:17.5,pop:4e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Polytheism",lat:24.31,lng:97.54,code:"PG009475"},{name:"Karen, Zayein",country:"Myanmar",lang:"Zayein",rol3:"kxk",pct_christian:17.5,pop:14500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.8,lng:97.06,code:"PG009550"},{name:"Chin, Asho",country:"Myanmar",lang:"Chin, Asho",rol3:"csh",pct_christian:12.5,pop:32500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:20.4,lng:94.79,code:"PG009406"},{name:"Blang",country:"Myanmar",lang:"Blang",rol3:"blr",pct_christian:12.5,pop:16e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:21.5,lng:100.17,code:"PG022041"},{name:"Hmong Njua",country:"Myanmar",lang:"Hmong Njua",rol3:"hnj",pct_christian:12.5,pop:14500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Polytheism",lat:23.63,lng:97.65,code:"PG022056"},{name:"Hsifan",country:"Myanmar",lang:"Tibetan, Central",rol3:"bod",pct_christian:12.5,pop:5600,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Tibetan",lat:27.24,lng:97.64,code:"PG009445"},{name:"Karen, Mobwa",country:"Myanmar",lang:"Karen, Mobwa",rol3:"jkm",pct_christian:12.5,pop:4500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:18.98,lng:96.63,code:"PG048772"},{name:"Tawr Chin",country:"Myanmar",lang:"Chin, Tawr",rol3:"tcp",pct_christian:12.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:22.5,lng:93.78,code:"PG009532"},{name:"Han Chinese",country:"Myanmar",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:65e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:16.85,lng:96.15,code:"PG022047"},{name:"Karen, Kayan",country:"Myanmar",lang:"Kayan (Myanmar)",rol3:"pdu",pct_christian:7.5,pop:133e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.56,lng:96.82,code:"PG009497"},{name:"Tai Mao",country:"Myanmar",lang:"Tai Long",rol3:"thi",pct_christian:7.5,pop:12e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:23.89,lng:97.73,code:"PG047888"},{name:"Chin, Daai",country:"Myanmar",lang:"Chin, Daai",rol3:"dao",pct_christian:7.5,pop:41e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:21.05,lng:93.67,code:"PG009421"},{name:"Senthang",country:"Myanmar",lang:"Chin, Senthang",rol3:"sez",pct_christian:7.5,pop:33e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:22.46,lng:93.85,code:"PG009516"},{name:"Uppu",country:"Myanmar",lang:"Chin, Uppu",rol3:"cnb",pct_christian:7.5,pop:30500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Folk",lat:19.9,lng:94.08,code:"PG009419"},{name:"Hrangkhol",country:"Myanmar",lang:"Hrangkhol",rol3:"hra",pct_christian:7.5,pop:9e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:23.75,lng:93.78,code:"PG009444"},{name:"Karen, Paku",country:"Myanmar",lang:"Karen, Paku",rol3:"jkp",pct_christian:7.5,pop:5300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:18.94,lng:96.86,code:"PG009499"},{name:"Lisu",country:"Myanmar",lang:"Lisu",rol3:"lis",pct_christian:3.5,pop:327e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.78,lng:97.17,code:"PG009523"},{name:"Akha",country:"Myanmar",lang:"Akha",rol3:"ahk",pct_christian:3.5,pop:23e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:21.71,lng:99.8,code:"PG009402"},{name:"Karen, Pow Western",country:"Myanmar",lang:"Karen, Pwo Western",rol3:"pwo",pct_christian:3.5,pop:21e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:15.46,lng:97.72,code:"PG046602"},{name:"Khumi Chin",country:"Myanmar",lang:"Chin, Khumi",rol3:"cnk",pct_christian:3.5,pop:6e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:21.17,lng:92.98,code:"PG009457"},{name:"Naga, Tase",country:"Myanmar",lang:"Naga, Tangshang",rol3:"nst",pct_christian:3.5,pop:6e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.71,lng:96.23,code:"PG009528"},{name:"Riang",country:"Myanmar",lang:"Riang Lang",rol3:"ril",pct_christian:3.5,pop:57500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:23.22,lng:98.73,code:"PG009511"},{name:"Zaiwa",country:"Myanmar",lang:"Zaiwa",rol3:"atb",pct_christian:3.5,pop:38500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:24.47,lng:97.99,code:"PG009407"},{name:"Lao",country:"Myanmar",lang:"Lao",rol3:"lao",pct_christian:3.5,pop:26e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:16.85,lng:96.15,code:"PG009467"},{name:"Anong",country:"Myanmar",lang:"Lisu",rol3:"lis",pct_christian:3.5,pop:12500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:27.29,lng:98.68,code:"PG009495"},{name:"Karen, Lahta",country:"Myanmar",lang:"Lahta",rol3:"kvt",pct_christian:3.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:20.32,lng:96.89,code:"PG009462"},{name:"Karen, Yintale",country:"Myanmar",lang:"Yintale",rol3:"kvy",pct_christian:3.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:18.84,lng:97.26,code:"PG009547"},{name:"Samtao",country:"Myanmar",lang:"Samtao",rol3:"stu",pct_christian:3.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:21.3,lng:99.63,code:"PG022054"},{name:"Naga, Yimchungru",country:"Myanmar",lang:"Naga, Yimchungru",rol3:"yim",pct_christian:3.5,pop:5600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.38,lng:94.8,code:"PG009545"},{name:"Tailoi",country:"Myanmar",lang:"Tai Loi",rol3:"tlq",pct_christian:3.5,pop:5100,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:21.52,lng:100.94,code:"PG009525"},{name:"Lemo",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:75,pop:2300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:25.84,lng:98.78,code:"PG007252"},{name:"Syrian Christian",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:62.5,pop:4495e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:12.35,lng:76.09,code:"PG041308"},{name:"Naga, Tangkhul",country:"India",lang:"Naga, Tangkhul (India)",rol3:"nmf",pct_christian:62.5,pop:214e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:25.07,lng:94.38,code:"PG041697"},{name:"Soria",country:"India",lang:"Hindi",rol3:"hin",pct_christian:62.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.2,lng:77.09,code:"PG048955"},{name:"Rathodia",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:62.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:22.3,lng:73.39,code:"PG048948"},{name:"Bagti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:62.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:23.28,lng:86.43,code:"PG049044"},{name:"Naga, Tangkhul",country:"United States",lang:"Naga, Tangkhul (India)",rol3:"nmf",pct_christian:62.5,pop:100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:32.85,lng:-96.97,code:"PG050369"},{name:"Pulayan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:45,pop:154e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:10.06,lng:76.53,code:"PG041344"},{name:"Meghval",country:"India",lang:"Hindi",rol3:"hin",pct_christian:45,pop:377e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:26.87,lng:73.03,code:"PG041328"},{name:"Santal (Oriya)",country:"India",lang:"Odia",rol3:"ory",pct_christian:45,pop:176e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.8,lng:87.48,code:"PG046353"},{name:"Naga, Khiamngan",country:"India",lang:"Naga, Khiamniungan",rol3:"kix",pct_christian:45,pop:56e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:26.17,lng:94.89,code:"PG042023"},{name:"Hmong",country:"Vietnam",lang:"Hmong Daw",rol3:"mww",pct_christian:35,pop:133e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.86,lng:103.59,code:"PG011142"},{name:"Malai Arayan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:35,pop:48e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:9.65,lng:76.66,code:"PG041952"},{name:"Paravar",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:25,pop:162e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:8.62,lng:77,code:"PG041743"},{name:"Madgi",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:76500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.17,lng:79.45,code:"PG041802"},{name:"Gounder",country:"India",lang:"Tamil",rol3:"tam",pct_christian:25,pop:6e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:11.68,lng:78.22,code:"PG041906"},{name:"Maru",country:"China",lang:"Lhao Vo",rol3:"mhx",pct_christian:25,pop:31e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:24.33,lng:98.43,code:"PG007279"},{name:"Kerala Mudali",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:25,pop:11e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:9.44,lng:78.7,code:"PG049672"},{name:"Sediq",country:"Taiwan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:25,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:24.02,lng:121.35,code:"PG007536"},{name:"Godari",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:17.69,lng:83.22,code:"PG049205"},{name:"Chamail",country:"India",lang:"Hindi",rol3:"hin",pct_christian:25,pop:1200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:25.48,lng:85.95,code:"PG049469"},{name:"Ghogia",country:"India",lang:"Odia",rol3:"ory",pct_christian:25,pop:800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.15,lng:84.09,code:"PG049008"},{name:"Burmese",country:"Germany",lang:"Burmese",rol3:"mya",pct_christian:25,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:50,lng:8.01,code:"PG033529"},{name:"Arakala",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:375,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:18.11,lng:83.4,code:"PG049160"},{name:"Mala",country:"India",lang:"Telugu",rol3:"tel",pct_christian:17.5,pop:7615e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:16.36,lng:79.51,code:"PG041263"},{name:"Balmiki (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:17.5,pop:1295e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.44,lng:75.81,code:"PG048195"},{name:"Nadia",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:17.5,pop:69500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG041830"},{name:"Ojha",country:"India",lang:"Telugu",rol3:"tel",pct_christian:17.5,pop:46e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.74,lng:78.25,code:"PG041974"},{name:"Badhi",country:"India",lang:"Hindi",rol3:"hin",pct_christian:17.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:29.95,lng:77.55,code:"PG041480"},{name:"Lahu Shi",country:"Thailand",lang:"Lahu Shi",rol3:"lhi",pct_christian:17.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:18.98,lng:99.39,code:"PG010939"},{name:"Goudu",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:17.71,lng:83.25,code:"PG042158"},{name:"Sutar (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:17.5,pop:11e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.4,lng:71.23,code:"PG048301"},{name:"Black Karen",country:"Thailand",lang:"Pa’o",rol3:"blk",pct_christian:17.5,pop:850,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:19.74,lng:98.06,code:"PG010829"},{name:"Barmi",country:"India",lang:"Burmese",rol3:"mya",pct_christian:17.5,pop:600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:12.6,lng:92.83,code:"PG048889"},{name:"Bari (Oriya)",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:550,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.86,lng:84.8,code:"PG048204"},{name:"Candhai Maru",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:350,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.48,lng:83.97,code:"PG049648"},{name:"Madiga",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:9445e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:16.51,lng:79.06,code:"PG041253"},{name:"Chakkiliyan",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:1205e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.61,lng:77.71,code:"PG041373"},{name:"Nadua Shabar",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:659e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:19.9,lng:85.17,code:"PG049502"},{name:"Han Chinese",country:"New Zealand",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:214e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-36.89,lng:174.78,code:"PG018495"},{name:"Senva",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:12.5,pop:161e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG041682"},{name:"Mannan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:12.5,pop:145e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.8,lng:76.55,code:"PG041756"},{name:"Chakravar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:8.62,lng:77,code:"PG041956"},{name:"Bawa Dedh",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:12.5,pop:34500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG042035"},{name:"Samban",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:24500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:8.7,lng:77.49,code:"PG041752"},{name:"Mehtar",country:"India",lang:"Hindi",rol3:"hin",pct_christian:12.5,pop:2e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:16.22,lng:75.63,code:"PG042116"},{name:"Panchama",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:7800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:17.01,lng:81.79,code:"PG042086"},{name:"Peranakan",country:"Malaysia",lang:"Malay",rol3:"zlm",pct_christian:12.5,pop:5e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:3.4,lng:101.64,code:"PG018232"},{name:"Palliyan",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:4800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:9.89,lng:77.09,code:"PG049215"},{name:"Padigarajulu",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:15.58,lng:79.51,code:"PG049165"},{name:"Malayali",country:"Maldives",lang:"Malayalam",rol3:"mal",pct_christian:12.5,pop:950,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:4.17,lng:73.51,code:"PG006163"},{name:"Kuda",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.83,lng:85.53,code:"PG049016"},{name:"Gagra",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:12.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.84,lng:75.86,code:"PG049079"},{name:"Tharua",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:650,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.49,lng:86.93,code:"PG049031"},{name:"Gharrami",country:"India",lang:"Hindi",rol3:"hin",pct_christian:12.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:28.64,lng:77.12,code:"PG049392"},{name:"Han Chinese",country:"Kiribati",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:125,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:1.37,lng:173.11,code:"PG009087"},{name:"Han Chinese",country:"Tuvalu",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-8.5,lng:179.19,code:"PG018319"},{name:"Han Chinese, Mandarin",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:90145e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:37.37,lng:110.73,code:"PG006802"},{name:"Nadar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:6365e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:11.17,lng:77.82,code:"PG041309"},{name:"Han Chinese, Mandarin",country:"Taiwan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:4635e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:24.86,lng:121.36,code:"PG007518"},{name:"Santal (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:335e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:24,lng:88.81,code:"PG046352"},{name:"Vellalar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:308e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.78,lng:77.78,code:"PG041493"},{name:"Han Chinese, Mandarin",country:"United States",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:2345e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:45.74,lng:-114.4,code:"PG043261"},{name:"Pano",country:"India",lang:"Odia",rol3:"ory",pct_christian:7.5,pop:1735e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:21.04,lng:85.14,code:"PG041345"},{name:"Han Chinese",country:"Vietnam",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:162e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.04,lng:106.1,code:"PG033473"},{name:"Indian - Hindu",country:"South Africa",lang:"Hindi",rol3:"hin",pct_christian:7.5,pop:1365e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:-28.9,lng:26.75,code:"PG042180"},{name:"Han Chinese, Mandarin",country:"Canada",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:1055e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:46.93,lng:-92.67,code:"PG043404"},{name:"Han Chinese, Mandarin",country:"Japan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:736e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:35.72,lng:137.14,code:"PG048925"},{name:"Han Chinese",country:"Australia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:67e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-33.75,lng:144.18,code:"PG033443"},{name:"Bhangi (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:6e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.76,lng:72.13,code:"PG048218"},{name:"Cheruman",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:467e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.61,lng:76.25,code:"PG041452"},{name:"Han Chinese, Mandarin",country:"Singapore",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:467e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020728"},{name:"Han Chinese",country:"Brazil",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:28e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-23.17,lng:-45.54,code:"PG016864"},{name:"Malayali",country:"Malaysia",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:206e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:3.07,lng:101.64,code:"PG020224"},{name:"Han Chinese, Mandarin",country:"United Arab Emirates",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:202e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:24.67,lng:55.14,code:"PG049240"},{name:"Han Chinese, Mandarin",country:"North Korea",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:184e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:39,lng:125.92,code:"PG007584"},{name:"Han Chinese",country:"France",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:172e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:48.2,lng:2.3,code:"PG023131"},{name:"Malayali",country:"United States",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:165e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:40.72,lng:-73.97,code:"PG043340"},{name:"Han Chinese, Mandarin",country:"Hong Kong",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:163e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.38,lng:114.13,code:"PG050605"},{name:"Lodha, Savar",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:148e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.3,lng:87.43,code:"PG041753"},{name:"Telugu",country:"Malaysia",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:137e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:3.07,lng:101.62,code:"PG009356"},{name:"Ghanchi",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:129e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.02,lng:73.03,code:"PG041585"},{name:"Han Chinese, Mandarin",country:"Saudi Arabia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:24.68,lng:46.74,code:"PG049246"},{name:"Han Chinese",country:"Tanzania",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:106e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-6.83,lng:39.25,code:"PG014935"},{name:"Han Chinese",country:"Italy",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:1e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:44.22,lng:10.5,code:"PG000330"},{name:"Han Chinese",country:"South Korea",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:94500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:36.58,lng:127.64,code:"PG007589"},{name:"Han Chinese, Mandarin",country:"Tajikistan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:38.57,lng:68.77,code:"PG049245"},{name:"Bharathar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:81e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:8.94,lng:76.82,code:"PG049578"}]},Afghanistan:{target_upg:68,target_pop:43626100,target_top_langs:["Pashto, Southern","Dari","Pashto, Northern","Hazaragi"],target_top_religion:"Islam",neighbors:[{name:"Romani, Balkan",country:"Italy",lang:"Romani, Balkan",rol3:"rmn",pct_christian:62.5,pop:2500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:45.54,lng:9.19,code:"PG000312"},{name:"Balmiki (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:17.5,pop:1295e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.44,lng:75.81,code:"PG048195"},{name:"Gagra",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:12.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.84,lng:75.86,code:"PG049079"},{name:"Romani, Balkan",country:"Bulgaria",lang:"Romani, Balkan",rol3:"rmn",pct_christian:7.5,pop:267e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:42.86,lng:23.79,code:"PG000737"},{name:"Bangni",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:62500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:27.43,lng:92.97,code:"PG041887"},{name:"Iranian",country:"Armenia",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:40.17,lng:44.49,code:"PG050098"},{name:"Iranian",country:"Greece",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:38.05,lng:23.7,code:"PG047071"},{name:"Sorgir",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:7.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.34,lng:76.39,code:"PG049092"},{name:"Kankali",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:27.7,lng:81.49,code:"PG049096"},{name:"Khadim",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:26.49,lng:74.65,code:"PG048969"},{name:"Mazabi",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:3625e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:30.25,lng:74.91,code:"PG041301"},{name:"Persian",country:"Canada",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:46.93,lng:-92.67,code:"PG043458"},{name:"Iranian",country:"Germany",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:175e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:52.51,lng:11.69,code:"PG000259"},{name:"Persian",country:"Turkiye",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:13e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:41.04,lng:28.87,code:"PG024581"},{name:"Chikwa",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:23.97,lng:84.3,code:"PG041852"},{name:"Persian",country:"United Kingdom",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:86e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:51.5,lng:-.17,code:"PG000643"},{name:"Bhattra (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:79e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:30.98,lng:75.73,code:"PG041615"},{name:"Arain (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:30.37,lng:75.93,code:"PG048185"},{name:"Punjabi",country:"Singapore",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:15e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:1.36,lng:103.82,code:"PG010717"},{name:"Persian",country:"Indonesia",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:-6.21,lng:106.83,code:"PG050238"},{name:"Gandhila",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:6600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.34,lng:76.4,code:"PG049080"},{name:"Persian",country:"South Korea",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:3500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:37.55,lng:126.99,code:"PG050237"},{name:"Pinjara (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:3e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:29.48,lng:76.44,code:"PG048167"},{name:"Daoli",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.97,lng:76.55,code:"PG049445"},{name:"Dayare",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.79,lng:77.53,code:"PG049780"},{name:"Ahluwalia",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:1400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:31.39,lng:75.36,code:"PG049356"},{name:"Romani, Balkan",country:"France",lang:"Romani, Balkan",rol3:"rmn",pct_christian:3.5,pop:650,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:48.84,lng:2.35,code:"PG000134"}]},Yemen:{target_upg:20,target_pop:41244500,target_top_langs:["Arabic, Sanaani","Arabic, Ta'izzi-Adeni","Arabic, Hadrami","Somali"],target_top_religion:"Islam",neighbors:[{name:"Arab, Egyptian",country:"Australia",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:12.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-31.94,lng:115.89,code:"PG020254"},{name:"Hasidim",country:"United Kingdom",lang:"Hebrew",rol3:"heb",pct_christian:7.5,pop:32500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:51.5,lng:-.17,code:"PG000648"},{name:"Arab, Egyptian",country:"Germany",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:25500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:52.5,lng:13.4,code:"PG042462"},{name:"Arab, Lebanese",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024837"},{name:"Arab, Palestinian",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024839"},{name:"Arab, Egyptian",country:"Belgium",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:5300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:50.85,lng:4.38,code:"PG000053"},{name:"Indri",country:"South Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:7.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.78,lng:25.73,code:"PG012040"},{name:"Egyptian Copt",country:"United States",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:3.5,pop:242e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:35.35,lng:-111.99,code:"PG047347"},{name:"Arab, Lebanese",country:"Canada",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:234e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.53,lng:-73.66,code:"PG043431"},{name:"Arab, Syrian",country:"United States",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:193e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.7,lng:-73.87,code:"PG043644"},{name:"Delen",country:"Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:3.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.06,lng:29.58,code:"PG042814"},{name:"Arab, Palestinian",country:"El Salvador",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:13.71,lng:-89.19,code:"PG039263"}]},Morocco:{target_upg:29,target_pop:38094500,target_top_langs:["Arabic, Moroccan","Tachelhit","Tamazight, Central Atlas","Tarifit"],target_top_religion:"Islam",neighbors:[]},Uzbekistan:{target_upg:34,target_pop:35401700,target_top_langs:["Uzbek, Northern","Tajik","Kazakh","Karakalpak"],target_top_religion:"Islam",neighbors:[{name:"Korean",country:"Uzbekistan",lang:"Russian",rol3:"rus",pct_christian:12.5,pop:254e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:41.31,lng:69.26,code:"PG024684"},{name:"Pole",country:"Uzbekistan",lang:"Polish",rol3:"pol",pct_christian:7.5,pop:3700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:41.31,lng:69.26,code:"PG024310"},{name:"Han Chinese",country:"Uzbekistan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:1500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:41.33,lng:69.29,code:"PG024675"},{name:"Ukrainian",country:"Uzbekistan",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:47e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:41.31,lng:69.26,code:"PG024323"},{name:"Vietnamese",country:"Thailand",lang:"Vietnamese",rol3:"vie",pct_christian:25,pop:119e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:13.76,lng:100.56,code:"PG010933"},{name:"Romanian",country:"Czech Republic",lang:"Romanian",rol3:"ron",pct_christian:25,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:50.07,lng:14.47,code:"PG050033"},{name:"Russian",country:"Moldova",lang:"Russian",rol3:"rus",pct_christian:17.5,pop:133e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.13,lng:29.34,code:"PG000867"},{name:"Moldovan",country:"United States",lang:"Romanian",rol3:"ron",pct_christian:12.5,pop:49e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:40.17,lng:-74.79,code:"PG047277"},{name:"Armenian",country:"United Kingdom",lang:"Armenian",rol3:"hye",pct_christian:12.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000627"},{name:"Estonian",country:"Estonia",lang:"Estonian, Standard",rol3:"ekk",pct_christian:7.5,pop:9e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:58.67,lng:25.55,code:"PG000779"},{name:"Vietnamese",country:"Australia",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:174e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-33.38,lng:143.4,code:"PG008087"},{name:"Romanian",country:"United States",lang:"Romanian",rol3:"ron",pct_christian:7.5,pop:173e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:36.09,lng:-110.56,code:"PG043611"},{name:"Russian",country:"Australia",lang:"Russian",rol3:"rus",pct_christian:7.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.52,lng:142.46,code:"PG008063"},{name:"Estonian",country:"Canada",lang:"Estonian, Standard",rol3:"ekk",pct_christian:7.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG043392"},{name:"Iranian",country:"Armenia",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:40.17,lng:44.49,code:"PG050098"},{name:"Vietnamese",country:"New Zealand",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:4900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-36.89,lng:174.78,code:"PG018514"},{name:"Iranian",country:"Greece",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:38.05,lng:23.7,code:"PG047071"},{name:"Gelao",country:"Vietnam",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:23.08,lng:105.2,code:"PG011133"},{name:"Romanian",country:"Romania",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:1637e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:45.84,lng:24.98,code:"PG000899"},{name:"Russian",country:"Ukraine",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:708e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.69,lng:34.82,code:"PG042915"},{name:"Romanian",country:"Italy",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:13e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:44.5,lng:9.8,code:"PG048833"},{name:"Bulgarian",country:"Germany",lang:"Bulgarian",rol3:"bul",pct_christian:3.5,pop:411e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.5,lng:13.4,code:"PG042446"},{name:"Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:26e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.48,lng:12.44,code:"PG049403"},{name:"Armenian",country:"Lebanon",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:22e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:33.87,lng:35.58,code:"PG048928"},{name:"Jew",country:"Russian Federation",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:208e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:52.97,lng:74.32,code:"PG042910"},{name:"Persian",country:"Canada",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:46.93,lng:-92.67,code:"PG043458"},{name:"Iranian",country:"Germany",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:175e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:52.51,lng:11.69,code:"PG000259"},{name:"Russian",country:"Lithuania",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:155e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:55.25,lng:24.5,code:"PG000853"},{name:"Kinh",country:"Laos",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:138e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:17.97,lng:102.64,code:"PG020963"},{name:"Persian",country:"Turkiye",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:13e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:41.04,lng:28.87,code:"PG024581"},{name:"Armenian",country:"Iran",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:38.14,lng:46.37,code:"PG024130"},{name:"Jew, Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:99500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:52.5,lng:13.4,code:"PG046578"},{name:"Romanian",country:"Hungary",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:96500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:46.8,lng:20.84,code:"PG000835"},{name:"Persian",country:"United Kingdom",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:86e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:51.5,lng:-.17,code:"PG000643"},{name:"Vietnamese Migrant Workers",country:"Malaysia",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:85e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Confucianism",lat:5.35,lng:100.41,code:"PG046599"},{name:"Romanian ",country:"Austria",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:48.18,lng:16.35,code:"PG049963"},{name:"Russian",country:"United Kingdom",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:64e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000675"},{name:"Armenian",country:"Turkiye",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:41.05,lng:28.9,code:"PG024538"},{name:"Kurd, Northern",country:"Russian Federation",lang:"Kurdish, Northern",rol3:"kmr",pct_christian:3.5,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:44.63,lng:39.24,code:"PG024465"},{name:"Romanian",country:"Ireland",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:53.39,lng:-6.28,code:"PG048049"},{name:"Moldovan",country:"Canada",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:49.72,lng:-95.67,code:"PG047364"},{name:"Vietnamese",country:"Netherlands",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:8800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:52.47,lng:5.36,code:"PG000445"},{name:"Persian",country:"Indonesia",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:-6.21,lng:106.83,code:"PG050238"},{name:"Belarusian",country:"Argentina",lang:"Belarusian",rol3:"bel",pct_christian:3.5,pop:4600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-34.65,lng:-58.56,code:"PG017330"},{name:"Persian",country:"South Korea",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:3500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:37.55,lng:126.99,code:"PG050237"},{name:"Karakalpak",country:"Kazakhstan",lang:"Karakalpak",rol3:"kaa",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.62,lng:62.06,code:"PG024276"},{name:"Romanian",country:"Venezuela",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:10.48,lng:-66.88,code:"PG016490"}]},"Saudi Arabia":{target_upg:44,target_pop:31109500,target_top_langs:["Arabic, Najdi","Arabic, Hijazi","Bengali","Urdu"],target_top_religion:"Islam",neighbors:[{name:"Han Chinese, Mandarin",country:"Saudi Arabia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:113e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:24.68,lng:46.74,code:"PG049246"},{name:"Bagti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:62.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:23.28,lng:86.43,code:"PG049044"},{name:"Arab, Egyptian",country:"Australia",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:12.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-31.94,lng:115.89,code:"PG020254"},{name:"Santal (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:335e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:24,lng:88.81,code:"PG046352"},{name:"Arab, Syro-Lebanese",country:"Australia",lang:"Arabic, Gulf",rol3:"afb",pct_christian:7.5,pop:192e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-33.38,lng:143.4,code:"PG020267"},{name:"Lodha, Savar",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:148e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.3,lng:87.43,code:"PG041753"},{name:"Swahili",country:"United States",lang:"Swahili",rol3:"swh",pct_christian:7.5,pop:81500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:34.52,lng:-105.83,code:"PG047306"},{name:"Bangni",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:62500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:27.43,lng:92.97,code:"PG041887"},{name:"Kela",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:29e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:20.46,lng:85.67,code:"PG042031"},{name:"Baiti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:27e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:23.24,lng:88.24,code:"PG042100"},{name:"Arab, Egyptian",country:"Germany",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:25500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:52.5,lng:13.4,code:"PG042462"},{name:"Chhetri",country:"India",lang:"Nepali",rol3:"npi",pct_christian:7.5,pop:17e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.34,lng:89.24,code:"PG041565"},{name:"Arab, Lebanese",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024837"},{name:"Arab, Palestinian",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024839"},{name:"Arab, Egyptian",country:"Belgium",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:5300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:50.85,lng:4.38,code:"PG000053"},{name:"Indri",country:"South Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:7.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.78,lng:25.73,code:"PG012040"},{name:"Kankali",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:27.7,lng:81.49,code:"PG049096"},{name:"Khadim",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:26.49,lng:74.65,code:"PG048969"},{name:"Chagga",country:"Tanzania",lang:"Swahili",rol3:"swh",pct_christian:3.5,pop:1185e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-3.29,lng:37.08,code:"PG014916"},{name:"Bhangi (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:699e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.15,lng:87.53,code:"PG048219"},{name:"Kora",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:279e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:23.29,lng:86.43,code:"PG041592"},{name:"Egyptian Copt",country:"United States",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:3.5,pop:242e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:35.35,lng:-111.99,code:"PG047347"},{name:"Arab, Lebanese",country:"Canada",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:234e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.53,lng:-73.66,code:"PG043431"},{name:"Arab, Syrian",country:"United States",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:193e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.7,lng:-73.87,code:"PG043644"},{name:"Gurung",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:147e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:26.84,lng:90.63,code:"PG041693"},{name:"Nepali",country:"Bhutan",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:131e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.13,lng:89.79,code:"PG042388"},{name:"Chikwa",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:23.97,lng:84.3,code:"PG041852"},{name:"Damai (Nepali)",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:66500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.66,lng:89.08,code:"PG041874"},{name:"Koch",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:51e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:25.68,lng:88.93,code:"PG042084"},{name:"Kotal",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:42500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.42,lng:87.79,code:"PG041946"},{name:"Swahili",country:"Zambia",lang:"Swahili",rol3:"swh",pct_christian:3.5,pop:38500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-15.4,lng:28.31,code:"PG015634"},{name:"Bengali",country:"Nepal",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:31e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.42,lng:84.77,code:"PG006178"},{name:"Doai",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:21500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.05,lng:88.57,code:"PG042134"},{name:"Sarki",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:18e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.96,lng:88.33,code:"PG042059"},{name:"Delen",country:"Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:3.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.06,lng:29.58,code:"PG042814"},{name:"Paharia",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:9200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.37,lng:86.02,code:"PG049049"},{name:"Behera",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:3800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.3,lng:87.44,code:"PG041569"},{name:"Dayare",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.79,lng:77.53,code:"PG049780"},{name:"Zanzibari",country:"South Africa",lang:"Swahili",rol3:"swh",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-29.84,lng:30.93,code:"PG015550"},{name:"Arab, Palestinian",country:"El Salvador",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:13.71,lng:-89.19,code:"PG039263"},{name:"Kusunda",country:"Nepal",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:27.17,lng:85.13,code:"PG049141"}]},Ethiopia:{target_upg:33,target_pop:30668900,target_top_langs:["Somali","Amharic","Oromo, West Central","Oromo, Borana-Arsi-Guji"],target_top_religion:"Islam",neighbors:[{name:"Sidama",country:"Ethiopia",lang:"Sidamo",rol3:"sid",pct_christian:62.5,pop:524e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.66,lng:38.54,code:"PG011635"},{name:"Koorete",country:"Ethiopia",lang:"Koorete",rol3:"kqy",pct_christian:62.5,pop:252e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.79,lng:37.83,code:"PG011608"},{name:"Basketo",country:"Ethiopia",lang:"Basketo",rol3:"bst",pct_christian:62.5,pop:127e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.26,lng:36.56,code:"PG011552"},{name:"Konso",country:"Ethiopia",lang:"Konso",rol3:"kxc",pct_christian:45,pop:407e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:5.35,lng:37.39,code:"PG011607"},{name:"Naath",country:"Ethiopia",lang:"Nuer",rol3:"nus",pct_christian:45,pop:25e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:8.29,lng:34.17,code:"PG011572"},{name:"Oyda",country:"Ethiopia",lang:"Oyda",rol3:"oyd",pct_christian:45,pop:73500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.18,lng:36.81,code:"PG011629"},{name:"Bussa",country:"Ethiopia",lang:"Mositacha",rol3:"dox",pct_christian:45,pop:31e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.75,lng:37.22,code:"PG042702"},{name:"Wolaitta",country:"Ethiopia",lang:"Wolaytta",rol3:"wal",pct_christian:35,pop:305e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.68,lng:37.63,code:"PG011653"},{name:"Hadiyya",country:"Ethiopia",lang:"Hadiyya",rol3:"hdy",pct_christian:35,pop:2255e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.48,lng:37.77,code:"PG011591"},{name:"Gedeo",country:"Ethiopia",lang:"Gedeo",rol3:"drs",pct_christian:35,pop:158e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.15,lng:38.28,code:"PG011567"},{name:"Kambata",country:"Ethiopia",lang:"Kambaata",rol3:"ktb",pct_christian:35,pop:1025e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.29,lng:37.83,code:"PG011602"},{name:"Meen",country:"Ethiopia",lang:"Me’en",rol3:"mym",pct_christian:35,pop:242e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:6.86,lng:35.75,code:"PG011617"},{name:"Melo",country:"Ethiopia",lang:"Melo",rol3:"mfx",pct_christian:35,pop:168e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:6.51,lng:36.68,code:"PG011618"},{name:"Gidole",country:"Ethiopia",lang:"Dirasha",rol3:"gdl",pct_christian:35,pop:67e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.63,lng:37.38,code:"PG011583"},{name:"Tambaro",country:"Ethiopia",lang:"Kambaata",rol3:"ktb",pct_christian:25,pop:158e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.26,lng:37.48,code:"PG011648"},{name:"Guji",country:"Ethiopia",lang:"Oromo, Borana-Arsi-Guji",rol3:"gax",pct_christian:17.5,pop:938e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:6.17,lng:39.39,code:"PG011557"},{name:"Dawro",country:"Ethiopia",lang:"Dawro",rol3:"dwr",pct_christian:17.5,pop:88e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:6.97,lng:37.1,code:"PG011568"},{name:"Gofa",country:"Ethiopia",lang:"Gofa",rol3:"gof",pct_christian:17.5,pop:59e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.27,lng:37.17,code:"PG011587"},{name:"Gamo",country:"Ethiopia",lang:"Gamo",rol3:"gmv",pct_christian:12.5,pop:18e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.26,lng:37.18,code:"PG011579"},{name:"Chara",country:"Ethiopia",lang:"Tsaara",rol3:"cra",pct_christian:12.5,pop:21500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.35,lng:36.16,code:"PG011565"},{name:"Dache",country:"Ethiopia",lang:"Gamo",rol3:"gmv",pct_christian:7.5,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:5.96,lng:37.53,code:"PG042703"},{name:"Kachama",country:"Ethiopia",lang:"Kachama-Ganjule",rol3:"kcx",pct_christian:7.5,pop:4100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.88,lng:37.48,code:"PG011600"},{name:"Borana",country:"Ethiopia",lang:"Oromo, Borana-Arsi-Guji",rol3:"gax",pct_christian:3.5,pop:965e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:4.91,lng:38.51,code:"PG011558"},{name:"Ari",country:"Ethiopia",lang:"Aari",rol3:"aiw",pct_christian:3.5,pop:472e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:5.88,lng:36.5,code:"PG011548"},{name:"Mesqan",country:"Ethiopia",lang:"Mesqan",rol3:"mvz",pct_christian:3.5,pop:317e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:8.12,lng:38.39,code:"PG050130"},{name:"Zayse",country:"Ethiopia",lang:"Zayse",rol3:"zay",pct_christian:3.5,pop:29e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.78,lng:37.38,code:"PG011659"},{name:"Gorose",country:"Ethiopia",lang:"Ale",rol3:"gwd",pct_christian:3.5,pop:7200,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.46,lng:37.44,code:"PG042713"},{name:"Amhara",country:"Canada",lang:"Amharic",rol3:"amh",pct_christian:25,pop:14e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG047403"},{name:"Zari",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.87,lng:9.4,code:"PG014203"},{name:"Bassa",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:10.67,lng:5.82,code:"PG033345"},{name:"Eritreans",country:"Kenya",lang:"Tigrigna",rol3:"tir",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-1.3,lng:36.86,code:"PG050216"},{name:"Indri",country:"South Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:7.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.78,lng:25.73,code:"PG012040"},{name:"Komo",country:"Sudan",lang:"Komo (Sudan)",rol3:"xom",pct_christian:3.5,pop:36e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.82,lng:34.09,code:"PG012072"},{name:"Eritreans",country:"Uganda",lang:"Tigrigna",rol3:"tir",pct_christian:3.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:.34,lng:32.6,code:"PG050217"},{name:"Arab",country:"South Africa",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-26.17,lng:28.07,code:"PG015486"},{name:"Delen",country:"Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:3.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.06,lng:29.58,code:"PG042814"},{name:"Arab",country:"New Zealand",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-36.89,lng:174.78,code:"PG018478"},{name:"Ethiopian, Oromo",country:"United States",lang:"Oromo, West Central",rol3:"gaz",pct_christian:3.5,pop:7200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:38.9,lng:-77.19,code:"PG047338"}]},Niger:{target_upg:30,target_pop:27011e3,target_top_langs:["Hausa","Zarma","Fulfulde, Western Niger","Tamajaq, Tawallammat"],target_top_religion:"Islam",neighbors:[{name:"Gurma",country:"Niger",lang:"Gourmanchéma",rol3:"gux",pct_christian:3.5,pop:88500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:12.86,lng:1.82,code:"PG013599"},{name:"Yoruba",country:"Niger",lang:"Yoruba",rol3:"yor",pct_christian:3.5,pop:88500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:13.51,lng:2.12,code:"PG013615"},{name:"Burkina Faso",country:"Canada",lang:"Moore",rol3:"mos",pct_christian:12.5,pop:425,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:43.83,lng:-79.46,code:"PG047453"},{name:"Mossi",country:"Burkina Faso",lang:"Moore",rol3:"mos",pct_christian:7.5,pop:8335e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.73,lng:-1.3,code:"PG012424"},{name:"Mossi",country:"Ghana",lang:"Moore",rol3:"mos",pct_christian:7.5,pop:526e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:5.57,lng:-.22,code:"PG013360"},{name:"Zaore",country:"Burkina Faso",lang:"Moore",rol3:"mos",pct_christian:7.5,pop:68e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:12.36,lng:-1.52,code:"PG012427"},{name:"Zari",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.87,lng:9.4,code:"PG014203"},{name:"Bassa",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:10.67,lng:5.82,code:"PG033345"},{name:"Bambara",country:"Cote d’Ivoire",lang:"Bamanankan",rol3:"bam",pct_christian:3.5,pop:1485e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.88,lng:-7.05,code:"PG013042"},{name:"Mossi",country:"United States",lang:"Moore",rol3:"mos",pct_christian:3.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.74,lng:-73.72,code:"PG047647"}]},"Korea, North":{target_upg:2,target_pop:263e5,target_top_langs:["Korean","Language unknown"],target_top_religion:"Non-Religious",neighbors:[{name:"Han Chinese, Mandarin",country:"North Korea",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:184e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Agnosticism",lat:39,lng:125.92,code:"PG007584"},{name:"Korean",country:"Thailand",lang:"Korean",rol3:"kor",pct_christian:35,pop:20500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:13.76,lng:100.56,code:"PG010874"},{name:"Korean",country:"Argentina",lang:"Korean",rol3:"kor",pct_christian:25,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-34.65,lng:-58.56,code:"PG046918"},{name:"Korean",country:"Singapore",lang:"Korean",rol3:"kor",pct_christian:25,pop:24500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:1.36,lng:103.82,code:"PG010710"},{name:"Korean",country:"Taiwan",lang:"Korean",rol3:"kor",pct_christian:25,pop:7e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:22.63,lng:120.33,code:"PG007526"},{name:"Korean",country:"Northern Mariana Islands",lang:"Korean",rol3:"kor",pct_christian:25,pop:1600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:15.91,lng:145.61,code:"PG050228"},{name:"Korean",country:"Australia",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:167e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-33.85,lng:151.03,code:"PG021625"},{name:"Korean",country:"Canada",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:162e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:46.93,lng:-92.67,code:"PG043424"},{name:"Russian",country:"Moldova",lang:"Russian",rol3:"rus",pct_christian:17.5,pop:133e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.13,lng:29.34,code:"PG000867"},{name:"Korean",country:"United Kingdom",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:51.5,lng:-.17,code:"PG000650"},{name:"Korean",country:"New Zealand",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:38e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-36.89,lng:174.78,code:"PG047592"},{name:"Korean",country:"Hong Kong",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:8600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:22.38,lng:114.13,code:"PG050601"},{name:"Korean",country:"Paraguay",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-25.3,lng:-57.56,code:"PG017246"},{name:"Korean",country:"Guam",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:4300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:13.44,lng:144.78,code:"PG050301"},{name:"Korean",country:"Dominican Republic",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:18.48,lng:-69.91,code:"PG022409"},{name:"Korean",country:"South Korea",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:5025e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:36.38,lng:127.82,code:"PG048088"},{name:"Korean",country:"United States",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:1095e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:38.77,lng:-98.89,code:"PG043310"},{name:"Korean",country:"Uzbekistan",lang:"Russian",rol3:"rus",pct_christian:12.5,pop:254e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:41.31,lng:69.26,code:"PG024684"},{name:"Korean",country:"Kazakhstan",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:132e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:43.29,lng:76.91,code:"PG024281"},{name:"Korean",country:"Mozambique",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:36e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-25.89,lng:32.57,code:"PG015382"},{name:"Korean",country:"Madagascar",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:18e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-18.91,lng:47.53,code:"PG015310"},{name:"Korean",country:"Honduras",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:150,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:14.08,lng:-87.2,code:"PG024788"},{name:"Korean",country:"Brazil",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:48500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-23.57,lng:-46.57,code:"PG016974"},{name:"Korean",country:"Germany",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:50.12,lng:8.67,code:"PG000249"},{name:"Russian",country:"Australia",lang:"Russian",rol3:"rus",pct_christian:7.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.52,lng:142.46,code:"PG008063"},{name:"Korean",country:"Kyrgyzstan",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:19500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:42.88,lng:74.63,code:"PG024358"},{name:"Korean",country:"Iran",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:17500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:35.7,lng:51.38,code:"PG024174"},{name:"Korean",country:"Guatemala",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:14.6,lng:-90.55,code:"PG024719"},{name:"Korean",country:"Turkmenistan",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:5200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:37.94,lng:58.39,code:"PG024622"},{name:"Russian",country:"Ukraine",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:708e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.69,lng:34.82,code:"PG042915"},{name:"Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:26e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.48,lng:12.44,code:"PG049403"},{name:"Jew",country:"Russian Federation",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:208e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:52.97,lng:74.32,code:"PG042910"},{name:"Russian",country:"Lithuania",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:155e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:55.25,lng:24.5,code:"PG000853"},{name:"Jew, Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:99500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:52.5,lng:13.4,code:"PG046578"},{name:"Russian",country:"United Kingdom",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:64e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000675"},{name:"Korean",country:"France",lang:"Korean",rol3:"kor",pct_christian:3.5,pop:29e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:48.84,lng:2.35,code:"PG000171"},{name:"Korean",country:"Spain",lang:"Korean",rol3:"kor",pct_christian:3.5,pop:2900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:40.41,lng:-3.69,code:"PG042347"},{name:"Korean",country:"Panama",lang:"Korean",rol3:"kor",pct_christian:3.5,pop:325,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:9.02,lng:-79.5,code:"PG024842"}]},Nepal:{target_upg:214,target_pop:26044700,target_top_langs:["Nepali","Maithili","Tharu, Dangaura","Newar"],target_top_religion:"Hinduism",neighbors:[{name:"Rai, Chamlinge",country:"Nepal",lang:"Chamling",rol3:"rab",pct_christian:25,pop:15e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.06,lng:86.49,code:"PG006185"},{name:"Chepang",country:"Nepal",lang:"Chepang",rol3:"cdm",pct_christian:7.5,pop:68500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:27.58,lng:84.79,code:"PG006189"},{name:"Rai, Sampange",country:"Nepal",lang:"Sampang",rol3:"rav",pct_christian:7.5,pop:14e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.57,lng:85.77,code:"PG006288"},{name:"Munda",country:"Nepal",lang:"Munda",rol3:"unx",pct_christian:7.5,pop:9e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:26.75,lng:87.41,code:"PG006260"},{name:"Jirel",country:"Nepal",lang:"Jirel",rol3:"jul",pct_christian:7.5,pop:6500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:27.8,lng:85.63,code:"PG006224"},{name:"Lepcha",country:"Nepal",lang:"Lepcha",rol3:"lep",pct_christian:7.5,pop:4800,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Tibetan",lat:26.86,lng:87.66,code:"PG006247"},{name:"Koi",country:"Nepal",lang:"Koyee",rol3:"kkt",pct_christian:7.5,pop:3400,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.15,lng:86.8,code:"PG006235"},{name:"Nawa Sherpa",country:"Nepal",lang:"Naaba",rol3:"nao",pct_christian:7.5,pop:950,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:27.7,lng:87.34,code:"PG006265"},{name:"Danuwar",country:"Nepal",lang:"Danuwar",rol3:"dhw",pct_christian:3.5,pop:7e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.04,lng:86.13,code:"PG006196"},{name:"Santal",country:"Nepal",lang:"Santhali",rol3:"sat",pct_christian:3.5,pop:55500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:26.77,lng:86.99,code:"PG006289"},{name:"Bengali",country:"Nepal",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:31e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.42,lng:84.77,code:"PG006178"},{name:"Han Chinese",country:"Nepal",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:23e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:27.71,lng:85.32,code:"PG006216"},{name:"Yakha",country:"Nepal",lang:"Yakkha",rol3:"ybh",pct_christian:3.5,pop:22e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Other - Kirati",lat:27.08,lng:86.54,code:"PG006317"},{name:"Brahman (Hindi)",country:"Nepal",lang:"Hindi",rol3:"hin",pct_christian:3.5,pop:18e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.43,lng:85.17,code:"PG045937"},{name:"Badhi",country:"Nepal",lang:"Jumli",rol3:"jml",pct_christian:3.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:28.3,lng:82.82,code:"PG049104"},{name:"Lhomi",country:"Nepal",lang:"Lhomi",rol3:"lhm",pct_christian:3.5,pop:7300,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Tibetan",lat:27.75,lng:86.08,code:"PG006248"},{name:"British",country:"Nepal",lang:"English",rol3:"eng",pct_christian:3.5,pop:3300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:27.71,lng:85.32,code:"PG006183"},{name:"Raji",country:"Nepal",lang:"Raji",rol3:"rji",pct_christian:3.5,pop:3100,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:28.61,lng:81.28,code:"PG006282"},{name:"Syuba",country:"Nepal",lang:"Syuba",rol3:"syw",pct_christian:3.5,pop:1700,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Tibetan",lat:27.45,lng:86.19,code:"PG006226"},{name:"Kusunda",country:"Nepal",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:275,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:27.17,lng:85.13,code:"PG049141"},{name:"Koirao",country:"India",lang:"Boro (India)",rol3:"brx",pct_christian:75,pop:1800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:25.2,lng:94.05,code:"PG049766"},{name:"Majhi",country:"India",lang:"Majhi",rol3:"mjz",pct_christian:75,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.11,lng:88.35,code:"PG049075"},{name:"Ansari-Momin (Sadri)",country:"India",lang:"Sadri",rol3:"sck",pct_christian:75,pop:225,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:23.63,lng:85.55,code:"PG048700"},{name:"Hkauri",country:"China",lang:"Tibetan, Central",rol3:"bod",pct_christian:62.5,pop:40,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:24.55,lng:97.6,code:"PG022169"},{name:"Kharia",country:"India",lang:"Kharia",rol3:"khr",pct_christian:25,pop:889e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:22.47,lng:84.55,code:"PG041457"},{name:"Oraon",country:"Bhutan",lang:"Kurux",rol3:"kru",pct_christian:25,pop:4200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:26.88,lng:89.21,code:"PG001235"},{name:"Balmiki (Awadhi)",country:"India",lang:"Awadhi",rol3:"awa",pct_christian:17.5,pop:172e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.93,lng:78.08,code:"PG041289"},{name:"Balmiki (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:17.5,pop:1295e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.44,lng:75.81,code:"PG048195"},{name:"Domar",country:"India",lang:"Awadhi",rol3:"awa",pct_christian:12.5,pop:27e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:25.45,lng:80.38,code:"PG049077"},{name:"Hsifan",country:"Myanmar",lang:"Tibetan, Central",rol3:"bod",pct_christian:12.5,pop:5600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Tibetan",lat:27.24,lng:97.64,code:"PG009445"},{name:"Gagra",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:12.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.84,lng:75.86,code:"PG049079"},{name:"Dusadh",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:7.5,pop:691e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:25.23,lng:85.31,code:"PG041266"},{name:"Oraon",country:"India",lang:"Kurux",rol3:"kru",pct_christian:7.5,pop:551e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:24.4,lng:86.87,code:"PG041304"},{name:"Chamar (Awadhi)",country:"India",lang:"Awadhi",rol3:"awa",pct_christian:7.5,pop:1275e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.07,lng:80.62,code:"PG046031"},{name:"Amant",country:"India",lang:"Maithili",rol3:"mai",pct_christian:7.5,pop:244e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:25.04,lng:86.5,code:"PG042053"},{name:"Oraon",country:"Bangladesh",lang:"Kurux",rol3:"kru",pct_christian:7.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:25.86,lng:88.88,code:"PG001195"},{name:"Bangni",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:62500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:27.43,lng:92.97,code:"PG041887"},{name:"Badaik",country:"India",lang:"Sadri",rol3:"sck",pct_christian:7.5,pop:47500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.23,lng:84.86,code:"PG042092"},{name:"Parhaiya",country:"India",lang:"Sadri",rol3:"sck",pct_christian:7.5,pop:38e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.97,lng:84.3,code:"PG041928"},{name:"Chhetri",country:"India",lang:"Nepali",rol3:"npi",pct_christian:7.5,pop:17e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.34,lng:89.24,code:"PG041565"},{name:"Sorgir",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:7.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.34,lng:76.39,code:"PG049092"},{name:"Kankali",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:27.7,lng:81.49,code:"PG049096"},{name:"Khadim",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:26.49,lng:74.65,code:"PG048969"},{name:"Kharwar (Khotta)",country:"India",lang:"Maithili",rol3:"mai",pct_christian:7.5,pop:125,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.85,lng:87.96,code:"PG048298"},{name:"Yadava (Bhojpuri)",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:3.5,pop:8465e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:25.05,lng:84.06,code:"PG046313"},{name:"Chamar (Bhojpuri)",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:3.5,pop:455e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:25.65,lng:84.13,code:"PG046025"},{name:"Mazabi",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:3625e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:30.25,lng:74.91,code:"PG041301"},{name:"Boro",country:"India",lang:"Boro (India)",rol3:"brx",pct_christian:3.5,pop:1545e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.71,lng:89.29,code:"PG041371"},{name:"Kisan (Kurukh)",country:"India",lang:"Kurux",rol3:"kru",pct_christian:3.5,pop:544e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.1,lng:84.53,code:"PG041504"},{name:"Chamar (Maithili)",country:"India",lang:"Maithili",rol3:"mai",pct_christian:3.5,pop:43e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:26.09,lng:85.94,code:"PG046040"},{name:"Lohara",country:"India",lang:"Sadri",rol3:"sck",pct_christian:3.5,pop:324e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:25.14,lng:87.24,code:"PG041542"},{name:"Gurung",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:147e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:26.84,lng:90.63,code:"PG041693"},{name:"Nepali",country:"Bhutan",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:131e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.13,lng:89.79,code:"PG042388"},{name:"Beldar (Bhojpuri)",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:3.5,pop:115e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:26.35,lng:83.71,code:"PG048209"},{name:"Chikwa",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:23.97,lng:84.3,code:"PG041852"},{name:"Rajbhar",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:3.5,pop:89e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.68,lng:80.47,code:"PG042085"},{name:"Bhattra (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:79e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:30.98,lng:75.73,code:"PG041615"},{name:"Damai (Nepali)",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:66500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.66,lng:89.08,code:"PG041874"},{name:"Arain (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:30.37,lng:75.93,code:"PG048185"},{name:"Binjhia",country:"India",lang:"Sadri",rol3:"sck",pct_christian:3.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22,lng:82.34,code:"PG042025"},{name:"Gond (Sadri) ",country:"India",lang:"Sadri",rol3:"sck",pct_christian:3.5,pop:30500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.17,lng:85,code:"PG048262"},{name:"Sarki",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:18e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.96,lng:88.33,code:"PG042059"},{name:"Punjabi",country:"Singapore",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:15e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:1.36,lng:103.82,code:"PG010717"},{name:"Gorait",country:"India",lang:"Sadri",rol3:"sck",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:23.21,lng:85.33,code:"PG042169"},{name:"Gandhila",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:6600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.34,lng:76.4,code:"PG049080"},{name:"Boria",country:"India",lang:"Awadhi",rol3:"awa",pct_christian:3.5,pop:5e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:27.09,lng:82.01,code:"PG049076"},{name:"Sherpa",country:"Bhutan",lang:"Sherpa",rol3:"xsr",pct_christian:3.5,pop:3700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Tibetan",lat:27.49,lng:89.64,code:"PG048796"},{name:"Pinjara (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:3e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:29.48,lng:76.44,code:"PG048167"},{name:"Daoli",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.97,lng:76.55,code:"PG049445"},{name:"Dayare",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.79,lng:77.53,code:"PG049780"},{name:"Ahluwalia",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:1400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:31.39,lng:75.36,code:"PG049356"},{name:"Dhamin",country:"India",lang:"Maithili",rol3:"mai",pct_christian:3.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:25.82,lng:87.13,code:"PG049396"}]},Mali:{target_upg:44,target_pop:22708100,target_top_langs:["Bamanankan","Soninke","Senoufo, Mamara","Fulfulde, Maasina"],target_top_religion:"Islam",neighbors:[{name:"Dogon",country:"Mali",lang:"Dogon, Toro So",rol3:"dts",pct_christian:3.5,pop:107e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:14.21,lng:-3.27,code:"PG013545"},{name:"Bobo, Black",country:"Mali",lang:"Konabéré",rol3:"bbo",pct_christian:3.5,pop:48500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:12.6,lng:-4.54,code:"PG013536"},{name:"Burkina Faso",country:"Canada",lang:"Moore",rol3:"mos",pct_christian:12.5,pop:425,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:43.83,lng:-79.46,code:"PG047453"},{name:"Mossi",country:"Burkina Faso",lang:"Moore",rol3:"mos",pct_christian:7.5,pop:8335e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.73,lng:-1.3,code:"PG012424"},{name:"Mossi",country:"Ghana",lang:"Moore",rol3:"mos",pct_christian:7.5,pop:526e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:5.57,lng:-.22,code:"PG013360"},{name:"Zaore",country:"Burkina Faso",lang:"Moore",rol3:"mos",pct_christian:7.5,pop:68e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:12.36,lng:-1.52,code:"PG012427"},{name:"Fulfulde Masina",country:"Burkina Faso",lang:"Fulfulde, Maasina",rol3:"ffm",pct_christian:7.5,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:13.38,lng:-3.94,code:"PG012397"},{name:"Bambara",country:"Cote d’Ivoire",lang:"Bamanankan",rol3:"bam",pct_christian:3.5,pop:1485e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.88,lng:-7.05,code:"PG013042"},{name:"Mossi",country:"United States",lang:"Moore",rol3:"mos",pct_christian:3.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.74,lng:-73.72,code:"PG047647"}]},Somalia:{target_upg:20,target_pop:19407100,target_top_langs:["Somali","Maay","Swahili","Garre"],target_top_religion:"Islam",neighbors:[{name:"Swahili",country:"United States",lang:"Swahili",rol3:"swh",pct_christian:7.5,pop:81500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:34.52,lng:-105.83,code:"PG047306"},{name:"Chagga",country:"Tanzania",lang:"Swahili",rol3:"swh",pct_christian:3.5,pop:1185e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-3.29,lng:37.08,code:"PG014916"},{name:"Swahili",country:"Zambia",lang:"Swahili",rol3:"swh",pct_christian:3.5,pop:38500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-15.4,lng:28.31,code:"PG015634"},{name:"Zanzibari",country:"South Africa",lang:"Swahili",rol3:"swh",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-29.84,lng:30.93,code:"PG015550"}]},Malaysia:{target_upg:80,target_pop:18071880,target_top_langs:["Malay","Negeri Sembilan Malay","Bengali","Bajau, West Coast"],target_top_religion:"Islam",neighbors:[{name:"Chavacano",country:"Malaysia",lang:"Chavacano",rol3:"cbk",pct_christian:62.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:4.47,lng:118.57,code:"PG009226"},{name:"Bundu Dusun",country:"Malaysia",lang:"Kadazan Dusun",rol3:"dtp",pct_christian:45,pop:82e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.2,lng:116.43,code:"PG018481"},{name:"Tutoh Kenyah",country:"Malaysia",lang:"Long Wat",rol3:"ttw",pct_christian:45,pop:1500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:3.86,lng:114.62,code:"PG019323"},{name:"Beketan",country:"Malaysia",lang:"Bukitan",rol3:"bkn",pct_christian:45,pop:450,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:2.31,lng:113.01,code:"PG009208"},{name:"Central Dusun",country:"Malaysia",lang:"Kadazan Dusun",rol3:"dtp",pct_christian:35,pop:263e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:5.99,lng:116.62,code:"PG018484"},{name:"Tagal Murut",country:"Malaysia",lang:"Murut, Tahol",rol3:"mvv",pct_christian:35,pop:71e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:4.64,lng:116.14,code:"PG009348"},{name:"Southern Murut",country:"Malaysia",lang:"Lundayeh",rol3:"lnd",pct_christian:35,pop:32500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.42,lng:115.51,code:"PG019277"},{name:"Tambunan Dusun",country:"Malaysia",lang:"Kadazan Dusun",rol3:"dtp",pct_christian:35,pop:24e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.68,lng:116.39,code:"PG019283"},{name:"Madang",country:"Malaysia",lang:"Kenyah, Mainstream",rol3:"xkl",pct_christian:35,pop:23500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:3.5,lng:114.32,code:"PG009289"},{name:"Upper Kinabatangan",country:"Malaysia",lang:"Kinabatangan, Upper",rol3:"dmg",pct_christian:35,pop:12e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.42,lng:116.97,code:"PG019329"},{name:"Central Murut",country:"Malaysia",lang:"Murut, Keningau",rol3:"kxi",pct_christian:35,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:5.35,lng:116.23,code:"PG018486"},{name:"Kalabit",country:"Malaysia",lang:"Kelabit",rol3:"kzi",pct_christian:35,pop:6700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:3.76,lng:115.3,code:"PG009259"},{name:"Western Kenyah",country:"Malaysia",lang:"Uma’ Lasan",rol3:"xky",pct_christian:35,pop:3e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:2.06,lng:114.21,code:"PG019333"},{name:"Sekapan",country:"Malaysia",lang:"Sekapan",rol3:"skp",pct_christian:35,pop:1800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:2.6,lng:113.74,code:"PG018249"},{name:"Tungara",country:"Malaysia",lang:"Murut, Bookan",rol3:"bnb",pct_christian:35,pop:650,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:5.28,lng:116.53,code:"PG019322"},{name:"Bukar Sadong",country:"Malaysia",lang:"Bidayuh Serian",rol3:"sdo",pct_christian:25,pop:72500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:1.07,lng:110.62,code:"PG009221"},{name:"Sungai Dusun",country:"Malaysia",lang:"Kadazan, Labuk-Kinabatangan",rol3:"dtb",pct_christian:25,pop:62e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:5.68,lng:116.42,code:"PG019280"},{name:"Sugut Kadazan",country:"Malaysia",lang:"Sugut Dusun",rol3:"kzs",pct_christian:25,pop:19e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.13,lng:117.18,code:"PG019279"},{name:"Tobilang",country:"Malaysia",lang:"Tobilung",rol3:"tgb",pct_christian:25,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.56,lng:116.64,code:"PG009362"},{name:"Baram Kayan",country:"Malaysia",lang:"Kayan, Baram",rol3:"kys",pct_christian:25,pop:1e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:3.53,lng:114.46,code:"PG009203"},{name:"Sinabu",country:"Malaysia",lang:"Kinabatangan, Upper",rol3:"dmg",pct_christian:25,pop:2e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.3,lng:116.96,code:"PG019271"},{name:"Minokok Dusun",country:"Malaysia",lang:"Minokok",rol3:"mqq",pct_christian:25,pop:1700,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.46,lng:116.8,code:"PG018523"},{name:"Eurasian",country:"Malaysia",lang:"English",rol3:"eng",pct_christian:17.5,pop:68500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:3.07,lng:101.64,code:"PG020233"},{name:"Kimaragan",country:"Malaysia",lang:"Kimaragang",rol3:"kqr",pct_christian:17.5,pop:36e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.53,lng:117.02,code:"PG009265"},{name:"Eastern Kadazan",country:"Malaysia",lang:"Kadazan, Labuk-Kinabatangan",rol3:"dtb",pct_christian:17.5,pop:31500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:5.58,lng:117.41,code:"PG020232"},{name:"Tidung",country:"Malaysia",lang:"Tidung, Northern",rol3:"ntd",pct_christian:17.5,pop:24500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.34,lng:117.7,code:"PG019289"},{name:"Tudan Dusun",country:"Malaysia",lang:"Kadazan Dusun",rol3:"dtp",pct_christian:17.5,pop:17e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.01,lng:116.16,code:"PG019321"},{name:"Tambanua",country:"Malaysia",lang:"Tombonuo",rol3:"txa",pct_christian:17.5,pop:16500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:6.39,lng:117.23,code:"PG019282"},{name:"Tempasuk Dusun",country:"Malaysia",lang:"Kadazan Dusun",rol3:"dtp",pct_christian:17.5,pop:14500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.36,lng:116.55,code:"PG009358"},{name:"Balau",country:"Malaysia",lang:"Iban",rol3:"iba",pct_christian:17.5,pop:12e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:1.32,lng:110.85,code:"PG009199"},{name:"Kwijau Dusun",country:"Malaysia",lang:"Kuijau",rol3:"dkr",pct_christian:17.5,pop:12e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.43,lng:116.24,code:"PG009274"},{name:"Dusun Segama",country:"Malaysia",lang:"Kinabatangan, Upper",rol3:"dmg",pct_christian:17.5,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:5.16,lng:118.34,code:"PG020229"},{name:"Filipino",country:"Malaysia",lang:"Tagalog",rol3:"tgl",pct_christian:12.5,pop:874e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:3.07,lng:101.64,code:"PG018269"},{name:"Sea Dayak",country:"Malaysia",lang:"Iban",rol3:"iba",pct_christian:12.5,pop:68e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:2.27,lng:112.58,code:"PG009325"},{name:"Biatah",country:"Malaysia",lang:"Bidayuh, Biatah",rol3:"bth",pct_christian:12.5,pop:91e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:1.41,lng:110.32,code:"PG009211"},{name:"Rungus Dusun",country:"Malaysia",lang:"Rungus",rol3:"drg",pct_christian:12.5,pop:68e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.84,lng:116.91,code:"PG009320"},{name:"Sarawak Dayak",country:"Malaysia",lang:"Bidayuh, Bau",rol3:"sne",pct_christian:12.5,pop:31500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:1.46,lng:110.08,code:"PG009324"},{name:"Tutong",country:"Malaysia",lang:"Bisaya, Brunei",rol3:"bsb",pct_christian:12.5,pop:29e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.35,lng:114.68,code:"PG019324"},{name:"Tuaran Dusun",country:"Malaysia",lang:"Lotud",rol3:"dtr",pct_christian:12.5,pop:11e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.11,lng:116.24,code:"PG019320"},{name:"Lanas Lobu",country:"Malaysia",lang:"Lobu, Lanas",rol3:"ruu",pct_christian:12.5,pop:6100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.44,lng:116.54,code:"PG009276"},{name:"Millikin",country:"Malaysia",lang:"Remun",rol3:"lkj",pct_christian:12.5,pop:5500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:1.08,lng:110.66,code:"PG009300"},{name:"Peranakan",country:"Malaysia",lang:"Malay",rol3:"zlm",pct_christian:12.5,pop:5e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:3.4,lng:101.64,code:"PG018232"},{name:"Keningau Dusun",country:"Malaysia",lang:"Malay, Sabah",rol3:"msi",pct_christian:12.5,pop:4400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.4,lng:116.19,code:"PG019337"},{name:"Baokan",country:"Malaysia",lang:"Murut, Bookan",rol3:"bnb",pct_christian:12.5,pop:4200,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.28,lng:116.54,code:"PG009202"},{name:"Tampias Lobu",country:"Malaysia",lang:"Lobu, Tampias",rol3:"low",pct_christian:12.5,pop:4e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.74,lng:116.8,code:"PG019284"},{name:"Southern Kota Marudu",country:"Malaysia",lang:"Kadazan Dusun",rol3:"dtp",pct_christian:12.5,pop:2800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.46,lng:116.83,code:"PG019276"},{name:"Dusun - Murut",country:"Malaysia",lang:"Kadazan Dusun",rol3:"dtp",pct_christian:12.5,pop:2600,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.34,lng:116.17,code:"PG020231"},{name:"Klias River Kadazan",country:"Malaysia",lang:"Kadazan, Klias River",rol3:"kqt",pct_christian:12.5,pop:2500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.44,lng:115.63,code:"PG009270"},{name:"Han Chinese, Min Nan",country:"Malaysia",lang:"Chinese, Min Nan",rol3:"nan",pct_christian:7.5,pop:2375e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:3.94,lng:102.06,code:"PG046598"},{name:"Han Chinese, Cantonese",country:"Malaysia",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:19e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:3.65,lng:101.56,code:"PG046594"},{name:"Malayali",country:"Malaysia",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:206e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:3.07,lng:101.64,code:"PG020224"},{name:"Telugu",country:"Malaysia",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:137e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:3.07,lng:101.62,code:"PG009356"},{name:"Han Chinese, Hainanese",country:"Malaysia",lang:"Hainanese",rol3:"hnm",pct_christian:7.5,pop:79e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:3.07,lng:101.64,code:"PG046595"},{name:"Idahan Dusun",country:"Malaysia",lang:"Ida’an",rol3:"dbj",pct_christian:7.5,pop:18500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.38,lng:118.38,code:"PG009252"},{name:"Timogun Murut",country:"Malaysia",lang:"Murut, Timugon",rol3:"tih",pct_christian:7.5,pop:18500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:5.22,lng:115.85,code:"PG009361"},{name:"Kinabatangan Sungai",country:"Malaysia",lang:"Kadazan, Labuk-Kinabatangan",rol3:"dtb",pct_christian:7.5,pop:18e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:5.54,lng:117.88,code:"PG019338"},{name:"Lara",country:"Malaysia",lang:"Bakati’, Rara",rol3:"lra",pct_christian:7.5,pop:17500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:1.59,lng:109.77,code:"PG009280"},{name:"Penan",country:"Malaysia",lang:"Penan, Eastern",rol3:"pez",pct_christian:7.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:3.59,lng:114.98,code:"PG018231"},{name:"Tatana",country:"Malaysia",lang:"Tatana",rol3:"txx",pct_christian:7.5,pop:13e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.47,lng:115.52,code:"PG019285"},{name:"Kalabuan",country:"Malaysia",lang:"Kinabatangan, Upper",rol3:"dmg",pct_christian:7.5,pop:12500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:5.4,lng:117.02,code:"PG009260"},{name:"Sembakung Murut",country:"Malaysia",lang:"Murut, Sembakung",rol3:"sbr",pct_christian:7.5,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.38,lng:116.43,code:"PG009334"},{name:"Sebuyau",country:"Malaysia",lang:"Iban",rol3:"iba",pct_christian:7.5,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:1.45,lng:110.55,code:"PG018247"},{name:"Bintulu",country:"Malaysia",lang:"Vaie",rol3:"bny",pct_christian:7.5,pop:1e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:3.23,lng:112.98,code:"PG009212"},{name:"Selekau",country:"Malaysia",lang:"Kendayan",rol3:"knx",pct_christian:7.5,pop:1e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:1.71,lng:109.77,code:"PG018250"},{name:"Rejang Kayan",country:"Malaysia",lang:"Kayan, Rejang",rol3:"ree",pct_christian:7.5,pop:7400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:2.55,lng:113.9,code:"PG018236"},{name:"Sonsogon",country:"Malaysia",lang:"Kimaragang",rol3:"kqr",pct_christian:7.5,pop:4800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.5,lng:116.86,code:"PG019275"},{name:"Sibop Kenyah",country:"Malaysia",lang:"Sebop",rol3:"sib",pct_christian:7.5,pop:4200,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:3.35,lng:114.3,code:"PG019270"},{name:"Kalabakan Murut",country:"Malaysia",lang:"Murut, Kalabakan",rol3:"kve",pct_christian:7.5,pop:3400,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:4.53,lng:117.34,code:"PG009258"},{name:"Serudung Murut",country:"Malaysia",lang:"Murut, Serudung",rol3:"srk",pct_christian:7.5,pop:2e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.37,lng:117.31,code:"PG009338"},{name:"Saban",country:"Malaysia",lang:"Sa’ban",rol3:"snv",pct_christian:7.5,pop:1800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:3.22,lng:115.4,code:"PG009321"},{name:"Dumpas",country:"Malaysia",lang:"Dumpas",rol3:"dmv",pct_christian:7.5,pop:1700,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:5.97,lng:117.35,code:"PG009244"},{name:"Rejang Punan",country:"Malaysia",lang:"Punan Bah-Biau",rol3:"pna",pct_christian:7.5,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:2.09,lng:113.39,code:"PG009319"},{name:"Tring",country:"Malaysia",lang:"Tring",rol3:"tgq",pct_christian:7.5,pop:900,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:3.98,lng:114.64,code:"PG019319"},{name:"Selungai Murut",country:"Malaysia",lang:"Murut, Selungai",rol3:"slg",pct_christian:7.5,pop:600,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.52,lng:116.43,code:"PG009330"},{name:"Tamil",country:"Malaysia",lang:"Tamil",rol3:"tam",pct_christian:3.5,pop:26e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:3.9,lng:104.29,code:"PG009351"},{name:"Han Chinese, English",country:"Malaysia",lang:"English",rol3:"eng",pct_christian:3.5,pop:2395e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:3.04,lng:102.22,code:"PG046932"},{name:"Han Chinese, Mandarin",country:"Malaysia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:1015e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:4.14,lng:101.06,code:"PG046597"},{name:"Indonesian",country:"Malaysia",lang:"Indonesian",rol3:"ind",pct_christian:3.5,pop:343e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:3.07,lng:101.64,code:"PG020239"},{name:"Melanau",country:"Malaysia",lang:"Melanau, Central",rol3:"mel",pct_christian:3.5,pop:159e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:2.54,lng:111.89,code:"PG018518"},{name:"Coastal Kadazan",country:"Malaysia",lang:"Papar",rol3:"dpp",pct_christian:3.5,pop:137e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:5.43,lng:115.5,code:"PG020225"},{name:"Vietnamese Migrant Workers",country:"Malaysia",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:85e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Confucianism",lat:5.35,lng:100.41,code:"PG046599"},{name:"Kanarese",country:"Malaysia",lang:"Kannada",rol3:"kan",pct_christian:3.5,pop:72e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:1.51,lng:103.76,code:"PG019334"},{name:"Semai",country:"Malaysia",lang:"Semai",rol3:"sea",pct_christian:3.5,pop:6e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.11,lng:101.3,code:"PG009331"},{name:"Sinhalese",country:"Malaysia",lang:"Sinhala",rol3:"sin",pct_christian:3.5,pop:36e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:3.07,lng:101.64,code:"PG018261"},{name:"Burmese",country:"Malaysia",lang:"Burmese",rol3:"mya",pct_christian:3.5,pop:32500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:3.07,lng:101.64,code:"PG018483"},{name:"Temuan",country:"Malaysia",lang:"Temuan",rol3:"tmw",pct_christian:3.5,pop:22500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:3.56,lng:101.72,code:"PG009359"},{name:"Daro - Matu",country:"Malaysia",lang:"Melanau, Daro-Matu",rol3:"dro",pct_christian:3.5,pop:18500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:2.62,lng:111.54,code:"PG020227"},{name:"British",country:"Malaysia",lang:"English",rol3:"eng",pct_christian:3.5,pop:17e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated",lat:3.07,lng:101.62,code:"PG009217"},{name:"Japanese",country:"Malaysia",lang:"Japanese",rol3:"jpn",pct_christian:3.5,pop:17e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Shinbutso-shugo",lat:3.07,lng:101.64,code:"PG020241"},{name:"Semelai",country:"Malaysia",lang:"Semelai",rol3:"sza",pct_christian:3.5,pop:8e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:3.05,lng:102.62,code:"PG009335"},{name:"Peluan",country:"Malaysia",lang:"Murut, Paluan",rol3:"plz",pct_christian:3.5,pop:5700,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:5.12,lng:116.24,code:"PG009313"},{name:"Jah Hut",country:"Malaysia",lang:"Jah Hut",rol3:"jah",pct_christian:3.5,pop:5300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:3.59,lng:102.33,code:"PG009254"},{name:"Semoq Beri",country:"Malaysia",lang:"Semaq Beri",rol3:"szc",pct_christian:3.5,pop:5300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.06,lng:102.85,code:"PG009333"},{name:"Narom",country:"Malaysia",lang:"Narom",rol3:"nrm",pct_christian:3.5,pop:5200,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:4.21,lng:113.93,code:"PG009306"},{name:"Lower Murut",country:"Malaysia",lang:"Murut, Timugon",rol3:"tih",pct_christian:3.5,pop:3400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.18,lng:115.93,code:"PG020131"},{name:"Pandewan Murut",country:"Malaysia",lang:"Murut, Paluan",rol3:"plz",pct_christian:3.5,pop:2900,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.13,lng:116.22,code:"PG018226"},{name:"Murik Kayan",country:"Malaysia",lang:"Murik (Malaysia)",rol3:"mxr",pct_christian:3.5,pop:2700,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:3.6,lng:114.41,code:"PG009305"},{name:"Bakong Kenyah",country:"Malaysia",lang:"Kenyah, Mainstream",rol3:"xkl",pct_christian:3.5,pop:2100,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:1.48,lng:114.55,code:"PG009198"},{name:"Bateq",country:"Malaysia",lang:"Batek",rol3:"btq",pct_christian:3.5,pop:1800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.68,lng:102.47,code:"PG009204"},{name:"Bajau Bukit",country:"Malaysia",lang:"Papar",rol3:"dpp",pct_christian:3.5,pop:1500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:5.6,lng:115.6,code:"PG018466"},{name:"Berawan",country:"Malaysia",lang:"Berawan, West",rol3:"zbw",pct_christian:3.5,pop:1400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4,lng:114.71,code:"PG009210"},{name:"Orang Seletar",country:"Malaysia",lang:"Orang Seletar",rol3:"ors",pct_christian:3.5,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:1.6,lng:104.13,code:"PG018223"},{name:"Kayaman",country:"Malaysia",lang:"Kajaman",rol3:"kag",pct_christian:3.5,pop:1200,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:2.7,lng:114.06,code:"PG009262"},{name:"Siduan",country:"Malaysia",lang:"Melanau, Sibu",rol3:"sdx",pct_christian:3.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:2.33,lng:111.76,code:"PG009341"},{name:"Kanowit",country:"Malaysia",lang:"Melanau, Kanowit-Tanjong",rol3:"kxn",pct_christian:3.5,pop:425,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:2.06,lng:112.25,code:"PG009261"},{name:"Lanoh",country:"Malaysia",lang:"Lanoh",rol3:"lnh",pct_christian:3.5,pop:350,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.1,lng:101.03,code:"PG009279"},{name:"Ukit",country:"Malaysia",lang:"Ukit",rol3:"umi",pct_christian:3.5,pop:300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:2.71,lng:113.04,code:"PG019326"},{name:"Tanjong",country:"Malaysia",lang:"Melanau, Kanowit-Tanjong",rol3:"kxn",pct_christian:3.5,pop:250,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:2.06,lng:112.25,code:"PG009353"},{name:"Sian",country:"Malaysia",lang:"Sihan (Malaysia)",rol3:"spg",pct_christian:3.5,pop:175,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:2.7,lng:113.83,code:"PG009339"},{name:"Batu Punan",country:"Malaysia",lang:"Punan Batu",rol3:"pnm",pct_christian:3.5,pop:125,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.21,lng:114.35,code:"PG018470"},{name:"Orang Kanaq",country:"Malaysia",lang:"Malay",rol3:"zlm",pct_christian:3.5,pop:80,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:1.88,lng:104.03,code:"PG018222"},{name:"Lemo",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:75,pop:2300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:25.84,lng:98.78,code:"PG007252"},{name:"Soria",country:"India",lang:"Hindi",rol3:"hin",pct_christian:62.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.2,lng:77.09,code:"PG048955"},{name:"Rathodia",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:62.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:22.3,lng:73.39,code:"PG048948"},{name:"Bagti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:62.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:23.28,lng:86.43,code:"PG049044"},{name:"Meghval",country:"India",lang:"Hindi",rol3:"hin",pct_christian:45,pop:377e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:26.87,lng:73.03,code:"PG041328"},{name:"Gounder",country:"India",lang:"Tamil",rol3:"tam",pct_christian:25,pop:6e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:11.68,lng:78.22,code:"PG041906"},{name:"Sediq",country:"Taiwan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:25,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:24.02,lng:121.35,code:"PG007536"},{name:"Chamail",country:"India",lang:"Hindi",rol3:"hin",pct_christian:25,pop:1200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:25.48,lng:85.95,code:"PG049469"},{name:"Balmiki (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:17.5,pop:1295e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.44,lng:75.81,code:"PG048195"},{name:"Nadia",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:17.5,pop:69500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG041830"},{name:"Badhi",country:"India",lang:"Hindi",rol3:"hin",pct_christian:17.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:29.95,lng:77.55,code:"PG041480"},{name:"Sutar (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:17.5,pop:11e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.4,lng:71.23,code:"PG048301"},{name:"Han Chinese",country:"New Zealand",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:214e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-36.89,lng:174.78,code:"PG018495"},{name:"Senva",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:12.5,pop:161e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG041682"},{name:"Chakravar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:8.62,lng:77,code:"PG041956"},{name:"Bawa Dedh",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:12.5,pop:34500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG042035"},{name:"Han Chinese, Min Nan",country:"Canada",lang:"Chinese, Min Nan",rol3:"nan",pct_christian:12.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:45.42,lng:-75.69,code:"PG047427"},{name:"Samban",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:24500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:8.7,lng:77.49,code:"PG041752"},{name:"Mehtar",country:"India",lang:"Hindi",rol3:"hin",pct_christian:12.5,pop:2e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:16.22,lng:75.63,code:"PG042116"},{name:"Palliyan",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:4800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:9.89,lng:77.09,code:"PG049215"},{name:"Gagra",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:12.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.84,lng:75.86,code:"PG049079"},{name:"Gharrami",country:"India",lang:"Hindi",rol3:"hin",pct_christian:12.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:28.64,lng:77.12,code:"PG049392"},{name:"Han Chinese",country:"Kiribati",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:125,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:1.37,lng:173.11,code:"PG009087"},{name:"Han Chinese",country:"Tuvalu",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-8.5,lng:179.19,code:"PG018319"},{name:"Han Chinese, Mandarin",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:90145e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:37.37,lng:110.73,code:"PG006802"},{name:"Han Chinese, Min Nan",country:"China",lang:"Chinese, Min Nan",rol3:"nan",pct_christian:7.5,pop:3555e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:23.42,lng:115.05,code:"PG006805"},{name:"Nadar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:6365e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:11.17,lng:77.82,code:"PG041309"},{name:"Han Chinese, Mandarin",country:"Taiwan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:4635e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:24.86,lng:121.36,code:"PG007518"},{name:"Santal (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:335e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:24,lng:88.81,code:"PG046352"},{name:"Vellalar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:308e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.78,lng:77.78,code:"PG041493"},{name:"Han Chinese, Mandarin",country:"United States",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:2345e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:45.74,lng:-114.4,code:"PG043261"},{name:"Han Chinese, Min Nan",country:"Singapore",lang:"Chinese, Min Nan",rol3:"nan",pct_christian:7.5,pop:1785e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020729"},{name:"Han Chinese",country:"Vietnam",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:162e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.04,lng:106.1,code:"PG033473"},{name:"Indian - Hindu",country:"South Africa",lang:"Hindi",rol3:"hin",pct_christian:7.5,pop:1365e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:-28.9,lng:26.75,code:"PG042180"},{name:"Han Chinese, Mandarin",country:"Canada",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:1055e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:46.93,lng:-92.67,code:"PG043404"},{name:"Han Chinese, Mandarin",country:"Japan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:736e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:35.72,lng:137.14,code:"PG048925"},{name:"Han Chinese",country:"Australia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:67e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-33.75,lng:144.18,code:"PG033443"},{name:"Han Chinese",country:"Myanmar",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:65e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:16.85,lng:96.15,code:"PG022047"},{name:"Bhangi (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:6e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.76,lng:72.13,code:"PG048218"}]},Russia:{target_upg:120,target_pop:17727020,target_top_langs:["Tatar","Chechen","Bashkort","Avar"],target_top_religion:"Islam",neighbors:[{name:"Han Chinese, Mandarin",country:"Russian Federation",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:62e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:51.07,lng:119.29,code:"PG048686"},{name:"Ukrainian",country:"Russian Federation",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:112e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:51.59,lng:82.8,code:"PG048814"},{name:"Jew",country:"Russian Federation",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:208e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Agnosticism",lat:52.97,lng:74.32,code:"PG042910"},{name:"Kurd, Northern",country:"Russian Federation",lang:"Kurdish, Northern",rol3:"kmr",pct_christian:3.5,pop:35e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Shia",lat:44.63,lng:39.24,code:"PG024465"},{name:"Vietnamese",country:"Thailand",lang:"Vietnamese",rol3:"vie",pct_christian:25,pop:119e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:13.76,lng:100.56,code:"PG010933"},{name:"Russian",country:"Moldova",lang:"Russian",rol3:"rus",pct_christian:17.5,pop:133e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.13,lng:29.34,code:"PG000867"},{name:"Korean",country:"Uzbekistan",lang:"Russian",rol3:"rus",pct_christian:12.5,pop:254e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:41.31,lng:69.26,code:"PG024684"},{name:"Finn",country:"Canada",lang:"Finnish",rol3:"fin",pct_christian:12.5,pop:36500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:47.13,lng:-83.66,code:"PG043394"},{name:"Armenian",country:"United Kingdom",lang:"Armenian",rol3:"hye",pct_christian:12.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000627"},{name:"Saami, Aanaar",country:"Finland",lang:"Finnish",rol3:"fin",pct_christian:12.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:69.11,lng:27.17,code:"PG000110"},{name:"Vietnamese",country:"Australia",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:174e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-33.38,lng:143.4,code:"PG008087"},{name:"Russian",country:"Australia",lang:"Russian",rol3:"rus",pct_christian:7.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.52,lng:142.46,code:"PG008063"},{name:"Vietnamese",country:"New Zealand",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:4900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-36.89,lng:174.78,code:"PG018514"},{name:"Gelao",country:"Vietnam",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:23.08,lng:105.2,code:"PG011133"},{name:"Russian",country:"Ukraine",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:708e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.69,lng:34.82,code:"PG042915"},{name:"Finn",country:"Finland",lang:"Finnish",rol3:"fin",pct_christian:3.5,pop:4975e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:64.5,lng:26.27,code:"PG000109"},{name:"Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:26e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.48,lng:12.44,code:"PG049403"},{name:"Finn",country:"Sweden",lang:"Finnish",rol3:"fin",pct_christian:3.5,pop:223e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:58.52,lng:14.92,code:"PG000553"},{name:"Armenian",country:"Lebanon",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:22e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:33.87,lng:35.58,code:"PG048928"},{name:"Russian",country:"Lithuania",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:155e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:55.25,lng:24.5,code:"PG000853"},{name:"Kinh",country:"Laos",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:138e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:17.97,lng:102.64,code:"PG020963"},{name:"Armenian",country:"Iran",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:38.14,lng:46.37,code:"PG024130"},{name:"Jew, Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:99500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:52.5,lng:13.4,code:"PG046578"},{name:"Vietnamese Migrant Workers",country:"Malaysia",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:85e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Confucianism",lat:5.35,lng:100.41,code:"PG046599"},{name:"Russian",country:"United Kingdom",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:64e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000675"},{name:"Armenian",country:"Turkiye",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:41.05,lng:28.9,code:"PG024538"},{name:"Finn",country:"United States",lang:"Finnish",rol3:"fin",pct_christian:3.5,pop:39e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:46.89,lng:-88.69,code:"PG043240"},{name:"Vietnamese",country:"Netherlands",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:8800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:52.47,lng:5.36,code:"PG000445"},{name:"Belarusian",country:"Argentina",lang:"Belarusian",rol3:"bel",pct_christian:3.5,pop:4600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-34.65,lng:-58.56,code:"PG017330"}]},Cambodia:{target_upg:19,target_pop:17466400,target_top_langs:["Khmer","Vietnamese","Cham, Western","Chinese, Min Nan"],target_top_religion:"Buddhism",neighbors:[{name:"Thmaun",country:"Cambodia",lang:"Undetermined",rol3:"und",pct_christian:45,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:13.12,lng:106.43,code:"PG022376"},{name:"Stieng",country:"Cambodia",lang:"Stieng, Bulo",rol3:"sti",pct_christian:17.5,pop:6500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:12.11,lng:106.45,code:"PG008194"},{name:"Jarai",country:"Cambodia",lang:"Jarai",rol3:"jra",pct_christian:7.5,pop:21e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:13.64,lng:107.44,code:"PG020437"},{name:"Kachok",country:"Cambodia",lang:"Kachok",rol3:"xkk",pct_christian:7.5,pop:3900,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:13.93,lng:107.31,code:"PG020439"},{name:"Tamil",country:"Cambodia",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:1800,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:11.55,lng:104.91,code:"PG008196"},{name:"Han Chinese",country:"Cambodia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:519e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:11.55,lng:104.87,code:"PG033445"},{name:"Phnong",country:"Cambodia",lang:"Mnong, Central",rol3:"cmo",pct_christian:3.5,pop:47500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:12.77,lng:106.83,code:"PG020443"},{name:"Brao",country:"Cambodia",lang:"Brao",rol3:"brb",pct_christian:3.5,pop:9e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:14.32,lng:107.24,code:"PG018251"},{name:"Khmer Keh",country:"Cambodia",lang:"Khmer, Northern",rol3:"kxm",pct_christian:3.5,pop:5200,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Folk",lat:14.12,lng:106.34,code:"PG047854"},{name:"Rhade",country:"United States",lang:"Rade",rol3:"rad",pct_christian:62.5,pop:250,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:35.17,lng:-80.8,code:"PG050362"},{name:"Rhade",country:"Vietnam",lang:"Rade",rol3:"rad",pct_christian:45,pop:331e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:12.96,lng:108.31,code:"PG011211"},{name:"Vietnamese",country:"Thailand",lang:"Vietnamese",rol3:"vie",pct_christian:25,pop:119e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:13.76,lng:100.56,code:"PG010933"},{name:"Burmese",country:"Germany",lang:"Burmese",rol3:"mya",pct_christian:25,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:50,lng:8.01,code:"PG033529"},{name:"Barmi",country:"India",lang:"Burmese",rol3:"mya",pct_christian:17.5,pop:600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:12.6,lng:92.83,code:"PG048889"},{name:"Sin",country:"Laos",lang:"Lao",rol3:"lao",pct_christian:12.5,pop:300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:18.06,lng:105.09,code:"PG050561"},{name:"Vietnamese",country:"Australia",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:174e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-33.38,lng:143.4,code:"PG008087"},{name:"Vietnamese",country:"New Zealand",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:4900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-36.89,lng:174.78,code:"PG018514"},{name:"Gelao",country:"Vietnam",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:23.08,lng:105.2,code:"PG011133"},{name:"Kinh",country:"Laos",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:138e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:17.97,lng:102.64,code:"PG020963"},{name:"Vietnamese Migrant Workers",country:"Malaysia",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:85e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Confucianism",lat:5.35,lng:100.41,code:"PG046599"},{name:"Burmese",country:"Malaysia",lang:"Burmese",rol3:"mya",pct_christian:3.5,pop:32500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:3.07,lng:101.64,code:"PG018483"},{name:"Lao",country:"Myanmar",lang:"Lao",rol3:"lao",pct_christian:3.5,pop:26e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:16.85,lng:96.15,code:"PG009467"},{name:"Vietnamese",country:"Netherlands",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:8800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:52.47,lng:5.36,code:"PG000445"}]},Kazakhstan:{target_upg:39,target_pop:16547800,target_top_langs:["Kazakh","Uzbek, Northern","Uyghur","Tatar"],target_top_religion:"Islam",neighbors:[{name:"Latvian",country:"Kazakhstan",lang:"Latvian, Standard",rol3:"lvs",pct_christian:17.5,pop:2400,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated",lat:43.29,lng:76.91,code:"PG024285"},{name:"Ukrainian",country:"Kazakhstan",lang:"Ukrainian",rol3:"ukr",pct_christian:12.5,pop:415e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:48.48,lng:71.3,code:"PG024330"},{name:"Korean",country:"Kazakhstan",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:132e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:43.29,lng:76.91,code:"PG024281"},{name:"Pole",country:"Kazakhstan",lang:"Polish",rol3:"pol",pct_christian:12.5,pop:62e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:43.29,lng:76.91,code:"PG024292"},{name:"Han Chinese, Mandarin",country:"Kazakhstan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:6500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:51.17,lng:71.45,code:"PG049243"},{name:"Karakalpak",country:"Kazakhstan",lang:"Karakalpak",rol3:"kaa",pct_christian:3.5,pop:1900,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:45.62,lng:62.06,code:"PG024276"},{name:"Russian",country:"Moldova",lang:"Russian",rol3:"rus",pct_christian:17.5,pop:133e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.13,lng:29.34,code:"PG000867"},{name:"Korean",country:"Uzbekistan",lang:"Russian",rol3:"rus",pct_christian:12.5,pop:254e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:41.31,lng:69.26,code:"PG024684"},{name:"Romani, Sinte",country:"Canada",lang:"Romani, Sinte",rol3:"rmo",pct_christian:12.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.52,lng:-73.68,code:"PG043471"},{name:"Armenian",country:"United Kingdom",lang:"Armenian",rol3:"hye",pct_christian:12.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000627"},{name:"Estonian",country:"Estonia",lang:"Estonian, Standard",rol3:"ekk",pct_christian:7.5,pop:9e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:58.67,lng:25.55,code:"PG000779"},{name:"Russian",country:"Australia",lang:"Russian",rol3:"rus",pct_christian:7.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.52,lng:142.46,code:"PG008063"},{name:"Estonian",country:"Canada",lang:"Estonian, Standard",rol3:"ekk",pct_christian:7.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG043392"},{name:"Greek",country:"Czech Republic",lang:"Greek",rol3:"ell",pct_christian:7.5,pop:3600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:49.82,lng:17.98,code:"PG048862"},{name:"Russian",country:"Ukraine",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:708e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.69,lng:34.82,code:"PG042915"},{name:"Bulgarian",country:"Germany",lang:"Bulgarian",rol3:"bul",pct_christian:3.5,pop:411e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.5,lng:13.4,code:"PG042446"},{name:"Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:26e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.48,lng:12.44,code:"PG049403"},{name:"Armenian",country:"Lebanon",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:22e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:33.87,lng:35.58,code:"PG048928"},{name:"Jew",country:"Russian Federation",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:208e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:52.97,lng:74.32,code:"PG042910"},{name:"Russian",country:"Lithuania",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:155e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:55.25,lng:24.5,code:"PG000853"},{name:"Armenian",country:"Iran",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:38.14,lng:46.37,code:"PG024130"},{name:"Jew, Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:99500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:52.5,lng:13.4,code:"PG046578"},{name:"Russian",country:"United Kingdom",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:64e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000675"},{name:"Armenian",country:"Turkiye",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:41.05,lng:28.9,code:"PG024538"},{name:"Kurd, Northern",country:"Russian Federation",lang:"Kurdish, Northern",rol3:"kmr",pct_christian:3.5,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:44.63,lng:39.24,code:"PG024465"}]},Senegal:{target_upg:30,target_pop:15310200,target_top_langs:["Wolof","Pulaar","Maninkakan, Western","Mandinka"],target_top_religion:"Islam",neighbors:[{name:"Caboverdian Mestico",country:"Senegal",lang:"Kabuverdianu",rol3:"kea",pct_christian:12.5,pop:54e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:14.73,lng:-17.44,code:"PG014223"},{name:"English Creole",country:"Senegal",lang:"Krio",rol3:"kri",pct_christian:3.5,pop:9600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:14.73,lng:-17.44,code:"PG014225"},{name:"Papel",country:"Senegal",lang:"Papel",rol3:"pbo",pct_christian:3.5,pop:9600,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:12.57,lng:-16.27,code:"PG014254"},{name:"Bambara",country:"Cote d’Ivoire",lang:"Bamanankan",rol3:"bam",pct_christian:3.5,pop:1485e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.88,lng:-7.05,code:"PG013042"},{name:"Mandyak",country:"Gambia",lang:"Mandjak",rol3:"mfv",pct_christian:3.5,pop:47e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:13.39,lng:-16.69,code:"PG013238"},{name:"Badyara",country:"Guinea-Bissau",lang:"Badyara",rol3:"pbp",pct_christian:3.5,pop:7300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.59,lng:-13.77,code:"PG013442"}]},"United States":{target_upg:98,target_pop:14806100,target_top_langs:["English","Hindi","Gujarati","Russian"],target_top_religion:"Ethnic Religions",neighbors:[{name:"Mennonite",country:"United States",lang:"Plautdietsch",rol3:"pdt",pct_christian:62.5,pop:15500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.43,lng:-97.5,code:"PG043327"},{name:"Kachin, Rawang",country:"United States",lang:"Rawang",rol3:"raw",pct_christian:62.5,pop:750,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:32.85,lng:-96.97,code:"PG050380"},{name:"Bunong",country:"United States",lang:"Mnong, Central",rol3:"cmo",pct_christian:62.5,pop:450,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.28,lng:-80.21,code:"PG050338"},{name:"Rhade",country:"United States",lang:"Rade",rol3:"rad",pct_christian:62.5,pop:250,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.17,lng:-80.8,code:"PG050362"},{name:"Chin, Zomi",country:"United States",lang:"Zo",rol3:"zom",pct_christian:62.5,pop:225,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:36.03,lng:-85.61,code:"PG050344"},{name:"Chin, Zotung",country:"United States",lang:"Chin, Zotung",rol3:"czt",pct_christian:62.5,pop:175,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:36.28,lng:-89.53,code:"PG050345"},{name:"Chin, Haka",country:"United States",lang:"Chin, Hakha",rol3:"cnh",pct_christian:62.5,pop:150,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:37.35,lng:-90.04,code:"PG050340"},{name:"Naga, Tangkhul",country:"United States",lang:"Naga, Tangkhul (India)",rol3:"nmf",pct_christian:62.5,pop:100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:32.85,lng:-96.97,code:"PG050369"},{name:"Niuean",country:"United States",lang:"Niue",rol3:"niu",pct_christian:62.5,pop:80,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG047289"},{name:"Chin, Falam",country:"United States",lang:"Chin, Falam",rol3:"cfm",pct_christian:62.5,pop:30,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:34.09,lng:-81.04,code:"PG050339"},{name:"Chin, Mara",country:"United States",lang:"Mara",rol3:"mrh",pct_christian:62.5,pop:30,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:34.09,lng:-81.04,code:"PG050341"},{name:"Chin, Tiddim",country:"United States",lang:"Chin, Tedim",rol3:"ctd",pct_christian:62.5,pop:30,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:34.09,lng:-81.04,code:"PG050342"},{name:"Kuripako",country:"United States",lang:"Curripaco",rol3:"kpc",pct_christian:45,pop:225,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:40.74,lng:-73.72,code:"PG043219"},{name:"Lisu",country:"United States",lang:"Lisu",rol3:"lis",pct_christian:45,pop:150,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:34.05,lng:-112.65,code:"PG050353"},{name:"Koho",country:"United States",lang:"Koho",rol3:"kpm",pct_christian:35,pop:3100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.17,lng:-80.8,code:"PG050364"},{name:"French Polynesian",country:"United States",lang:"Tahitian",rol3:"tah",pct_christian:35,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG047193"},{name:"Karen S'gaw",country:"United States",lang:"Karen, S’gaw",rol3:"ksw",pct_christian:35,pop:325,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.35,lng:-119.02,code:"PG047263"},{name:"American",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:19474e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:38.3,lng:-93.46,code:"PG043515"},{name:"Yoruba",country:"United States",lang:"Yoruba",rol3:"yor",pct_christian:25,pop:152e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - African Traditional Religion",lat:38.9,lng:-77.19,code:"PG047644"},{name:"Barbadian",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:50500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:40.72,lng:-73.97,code:"PG046507"},{name:"Bahamian",country:"United States",lang:"Bahamas English Creole",rol3:"bah",pct_christian:25,pop:33e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.18,lng:-80.23,code:"PG043531"},{name:"Marshallese",country:"United States",lang:"Marshallese",rol3:"mah",pct_christian:25,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG047281"},{name:"Jarai",country:"United States",lang:"Jarai",rol3:"jra",pct_christian:25,pop:4500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:35.17,lng:-80.8,code:"PG050355"},{name:"Nakota (Assiniboine)",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:2400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:48.32,lng:-106.26,code:"PG043527"},{name:"Rwandan",country:"United States",lang:"Kinyarwanda",rol3:"kin",pct_christian:25,pop:2400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:40.74,lng:-73.72,code:"PG047295"},{name:"Winnebago",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:2100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:42.22,lng:-96.6,code:"PG043689"},{name:"Motilon, Bari",country:"United States",lang:"Barí",rol3:"mot",pct_christian:25,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:40.74,lng:-73.72,code:"PG043532"},{name:"Madi",country:"United States",lang:"Ma’di",rol3:"mhi",pct_christian:25,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:29.79,lng:-95.4,code:"PG050386"},{name:"Maori",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:37.75,lng:-122.21,code:"PG047214"},{name:"Zapotec, Cajonos",country:"United States",lang:"Zapotec, Cajonos",rol3:"zad",pct_christian:25,pop:400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:34.22,lng:-118.15,code:"PG049292"},{name:"Kachin, Jingpho",country:"United States",lang:"Jingpho",rol3:"kac",pct_christian:25,pop:175,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:31.43,lng:-96.28,code:"PG047264"},{name:"Marquesan",country:"United States",lang:"Marquesan, North",rol3:"mrq",pct_christian:25,pop:150,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:21.46,lng:-157.97,code:"PG047282"},{name:"Rarotongan",country:"United States",lang:"Cook Islands Maori",rol3:"rar",pct_christian:25,pop:100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG047297"},{name:"African Americans",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:4054e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:39.04,lng:-100.02,code:"PG048741"},{name:"Tzeltal",country:"United States",lang:"Tzeltal",rol3:"tzh",pct_christian:17.5,pop:85e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.17,lng:-119.44,code:"PG049313"},{name:"Nigerian",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:39500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:37.51,lng:-88.1,code:"PG047652"},{name:"Hutterite",country:"United States",lang:"Hutterisch",rol3:"geh",pct_christian:17.5,pop:7e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:46.28,lng:-104.13,code:"PG043273"},{name:"Montserratian",country:"United States",lang:"Leeward Caribbean English Creole",rol3:"aig",pct_christian:17.5,pop:5100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.18,lng:-80.23,code:"PG047292"},{name:"Straits Salish",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:2e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:48.77,lng:-122.64,code:"PG043642"},{name:"Melanesian",country:"United States",lang:"Tok Pisin",rol3:"tpi",pct_christian:17.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:38.78,lng:-121,code:"PG046504"},{name:"Mokilese",country:"United States",lang:"Mokilese",rol3:"mkj",pct_christian:17.5,pop:550,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG047278"},{name:"Kikuyu",country:"United States",lang:"Gikuyu",rol3:"kik",pct_christian:17.5,pop:550,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:38.94,lng:-94.44,code:"PG050382"},{name:"Zapotec, Southern Rincon",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:32.36,lng:-109.45,code:"PG049308"},{name:"Puerto Rican",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:4035e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.35,lng:-95.96,code:"PG043603"},{name:"Filipino, Tagalog",country:"United States",lang:"Tagalog",rol3:"tgl",pct_christian:12.5,pop:252e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.26,lng:-104.56,code:"PG043239"},{name:"Korean",country:"United States",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:1095e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:38.77,lng:-98.89,code:"PG043310"},{name:"Latvian",country:"United States",lang:"Latvian, Standard",rol3:"lvs",pct_christian:12.5,pop:111e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated",lat:38.9,lng:-77.19,code:"PG043321"},{name:"Garifuna",country:"United States",lang:"Garifuna",rol3:"cab",pct_christian:12.5,pop:71500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:26.18,lng:-80.23,code:"PG047649"},{name:"American Samoan",country:"United States",lang:"Samoan",rol3:"smo",pct_christian:12.5,pop:69500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:33.98,lng:-118.1,code:"PG043514"},{name:"Moldovan",country:"United States",lang:"Romanian",rol3:"ron",pct_christian:12.5,pop:49e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:40.17,lng:-74.79,code:"PG047277"},{name:"Belizean",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:43500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:33.94,lng:-118.12,code:"PG047184"},{name:"Chol",country:"United States",lang:"Chol",rol3:"ctu",pct_christian:12.5,pop:39e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.17,lng:-119.44,code:"PG049314"},{name:"Tongan",country:"United States",lang:"Tongan",rol3:"ton",pct_christian:12.5,pop:29e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:37.74,lng:-122.29,code:"PG043655"},{name:"Polynesian",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:14500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG043599"},{name:"Antiguan",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:8400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.93,lng:-98.82,code:"PG050335"},{name:"Nahuatl, Isthmus",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:7900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:31.63,lng:-89.16,code:"PG049280"},{name:"Krio",country:"United States",lang:"Krio",rol3:"kri",pct_christian:12.5,pop:7800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:40.74,lng:-73.72,code:"PG047260"},{name:"Trukese",country:"United States",lang:"Chuukese",rol3:"chk",pct_christian:12.5,pop:6700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:21.46,lng:-157.97,code:"PG046505"},{name:"Sac & Fox Nation of Oklahoma",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:5800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.71,lng:-96.77,code:"PG050670"},{name:"Palauan",country:"United States",lang:"Palauan",rol3:"pau",pct_christian:12.5,pop:4700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG047310"},{name:"Fijian",country:"United States",lang:"Fijian",rol3:"fij",pct_christian:12.5,pop:4500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:39.73,lng:-120.56,code:"PG043238"},{name:"Ewe",country:"United States",lang:"Éwé",rol3:"ewe",pct_christian:12.5,pop:3400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:32.85,lng:-96.97,code:"PG050366"},{name:"Pueblo, Jemez",country:"United States",lang:"Jemez",rol3:"tow",pct_christian:12.5,pop:2400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.68,lng:-106.79,code:"PG043288"},{name:"Mohawk",country:"United States",lang:"Mohawk",rol3:"moh",pct_christian:12.5,pop:2200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:44.97,lng:-74.54,code:"PG043551"},{name:"Tolowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:41.9,lng:-124.16,code:"PG050627"},{name:"Sac & Fox Tribe of the Mississippi in Iowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:41.98,lng:-92.65,code:"PG043616"},{name:"Iowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:39.99,lng:-95.39,code:"PG043277"},{name:"Central Africans",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:40.74,lng:-73.72,code:"PG047190"},{name:"Kusaiean",country:"United States",lang:"Kosraean",rol3:"kos",pct_christian:12.5,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG047209"},{name:"Tubatulabal",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:36.07,lng:-118.31,code:"PG043660"},{name:"Nez Perce",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:46.28,lng:-116.41,code:"PG043560"},{name:"Salinan",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Folk Catholicism",lat:35.83,lng:-120.77,code:"PG050637"},{name:"Swazi",country:"United States",lang:"Swati",rol3:"ssw",pct_christian:12.5,pop:550,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:40.74,lng:-73.72,code:"PG047227"},{name:"Chuj",country:"United States",lang:"Chuj",rol3:"cac",pct_christian:12.5,pop:450,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:34.88,lng:-82.36,code:"PG049269"},{name:"Sac & Fox Nation of Missouri in Kansas and Nebraska",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:450,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:40.01,lng:-95.52,code:"PG050671"},{name:"Kwakwakaʼwakw",country:"United States",lang:"Kwakwala",rol3:"kwk",pct_christian:12.5,pop:400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:48.1,lng:-123.12,code:"PG047208"},{name:"Puinave",country:"United States",lang:"Puinave",rol3:"pui",pct_christian:12.5,pop:350,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:40.74,lng:-73.72,code:"PG043604"},{name:"Basotho",country:"United States",lang:"Sotho, Southern",rol3:"sot",pct_christian:12.5,pop:300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:40.74,lng:-73.72,code:"PG047274"},{name:"Bahnar",country:"United States",lang:"Bahnar",rol3:"bdq",pct_christian:12.5,pop:300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:35.17,lng:-80.8,code:"PG050336"},{name:"Haida",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:150,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:55.19,lng:-132.88,code:"PG043257"},{name:"Tokelauan",country:"United States",lang:"Tokelauan",rol3:"tkl",pct_christian:12.5,pop:150,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG047304"},{name:"Embu-Mbeere",country:"United States",lang:"Kiembu",rol3:"ebu",pct_christian:12.5,pop:100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:32.85,lng:-96.97,code:"PG050365"},{name:"Cayuga",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:60,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:42.55,lng:-79,code:"PG043191"},{name:"American, Spanish Speaking",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:2056e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.62,lng:-106.27,code:"PG043518"},{name:"Han Chinese, Mandarin",country:"United States",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:2345e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:45.74,lng:-114.4,code:"PG043261"},{name:"Salvadoran",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:1915e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.62,lng:-108.3,code:"PG046515"},{name:"Chinese American",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:175e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:45.74,lng:-114.4,code:"PG050453"},{name:"Dominican",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:1465e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.36,lng:-86.45,code:"PG046509"},{name:"Guatemalan",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:125e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:34.99,lng:-105.58,code:"PG046516"},{name:"Honduran",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:1105e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:34.51,lng:-104,code:"PG046517"},{name:"Haitian",country:"United States",lang:"Haitian Creole",rol3:"hat",pct_christian:7.5,pop:716e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:31.04,lng:-78.18,code:"PG046510"},{name:"Jamaican",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:588e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:32.14,lng:-77.63,code:"PG043284"},{name:"Detribalized Amerindian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:454e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:34.9,lng:-111.06,code:"PG043225"},{name:"Ecuadorian",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:432e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:34.55,lng:-86.97,code:"PG046525"},{name:"Brazilian",country:"United States",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:32e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:34.44,lng:-97.31,code:"PG046522"},{name:"Cape Verdean",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:309e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:37.42,lng:-74.94,code:"PG047254"},{name:"Nicaraguan",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:259e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:33.99,lng:-111.48,code:"PG046518"},{name:"Guyanese",country:"United States",lang:"Guyanese English Creole",rol3:"gyn",pct_christian:7.5,pop:245e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:40.72,lng:-73.86,code:"PG046526"},{name:"Igbo",country:"United States",lang:"Igbo",rol3:"ibo",pct_christian:7.5,pop:234e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:39.21,lng:-76.75,code:"PG047202"},{name:"Argentine",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:223e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:32.49,lng:-103.74,code:"PG046520"},{name:"Ghanaian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:204e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:40.72,lng:-73.97,code:"PG046500"},{name:"Yucatec",country:"United States",lang:"Maya, Yucatec",rol3:"yua",pct_christian:7.5,pop:201e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:34.58,lng:-118.81,code:"PG047279"},{name:"Trinidadian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:174e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:40.69,lng:-73.86,code:"PG046512"},{name:"Romanian",country:"United States",lang:"Romanian",rol3:"ron",pct_christian:7.5,pop:173e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:36.09,lng:-110.56,code:"PG043611"},{name:"Malayali",country:"United States",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:165e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:40.72,lng:-73.97,code:"PG043340"},{name:"Chilean",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:147e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:34.62,lng:-116.39,code:"PG046523"},{name:"Pennsylvania Dutch",country:"United States",lang:"German, Pennsylvania",rol3:"pdc",pct_christian:7.5,pop:139e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:40.34,lng:-75.87,code:"PG043593"},{name:"Choctaw",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:121e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:34.5,lng:-95.33,code:"PG043202"},{name:"Bolivian",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:115e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:32.67,lng:-99.44,code:"PG046521"},{name:"Liberian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:107e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:40.72,lng:-73.97,code:"PG047273"},{name:"Kenyan",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:96e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:33.32,lng:-92.72,code:"PG050473"},{name:"Ilocano",country:"United States",lang:"Ilocano",rol3:"ilo",pct_christian:7.5,pop:88500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:21.46,lng:-157.97,code:"PG043275"},{name:"Nahuatl, Huasteca",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:87e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:33.97,lng:-84.02,code:"PG049279"},{name:"Anglo-Australian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:84e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.02,lng:-98.4,code:"PG043519"},{name:"Swahili",country:"United States",lang:"Swahili",rol3:"swh",pct_christian:7.5,pop:81500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:34.52,lng:-105.83,code:"PG047306"},{name:"Mam",country:"United States",lang:"Mam",rol3:"mam",pct_christian:7.5,pop:78500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:33.98,lng:-118.1,code:"PG047319"},{name:"Tzotzil",country:"United States",lang:"Tzotzil",rol3:"tzo",pct_christian:7.5,pop:76500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:37.59,lng:-122.17,code:"PG049309"},{name:"Swede",country:"United States",lang:"Swedish",rol3:"swe",pct_christian:7.5,pop:63e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated",lat:33.94,lng:-118.12,code:"PG043643"},{name:"Creek, Muskogee",country:"United States",lang:"Muskogee",rol3:"mus",pct_christian:7.5,pop:56500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.65,lng:-96.02,code:"PG043554"},{name:"Norwegian",country:"United States",lang:"Norwegian",rol3:"nor",pct_christian:7.5,pop:44500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated",lat:44.96,lng:-93.28,code:"PG043575"},{name:"Iu Mien",country:"United States",lang:"Iu Mien",rol3:"ium",pct_christian:7.5,pop:38500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:38.75,lng:-111.78,code:"PG043283"},{name:"Saint Lucian",country:"United States",lang:"Lesser Antillean French Creole",rol3:"acf",pct_christian:7.5,pop:34e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:40.72,lng:-73.97,code:"PG047284"},{name:"Cree, Plains",country:"United States",lang:"Cree, Plains",rol3:"crk",pct_christian:7.5,pop:33500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:48.71,lng:-102.69,code:"PG043683"},{name:"Blackfoot, Siksika",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:32e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:48.66,lng:-112.87,code:"PG043538"},{name:"O'odham, Tohono",country:"United States",lang:"Tohono O’odham",rol3:"ood",pct_christian:7.5,pop:30500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:32.15,lng:-112.07,code:"PG043670"},{name:"Potawatomi",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:24e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:39.34,lng:-95.84,code:"PG043601"},{name:"Chamorro",country:"United States",lang:"Chamorro",rol3:"cha",pct_christian:7.5,pop:22e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:33.94,lng:-118.12,code:"PG047251"},{name:"Hopi, Hopitu-Shinumu",country:"United States",lang:"Hopi",rol3:"hop",pct_christian:7.5,pop:21e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.9,lng:-110.58,code:"PG043269"},{name:"Popti",country:"United States",lang:"Jakalteko",rol3:"jac",pct_christian:7.5,pop:20500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:26.61,lng:-80.17,code:"PG049284"},{name:"Tlingit",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:18e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:57.16,lng:-133.75,code:"PG043653"},{name:"Nahuatl, Northern Puebla",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:18e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:36.03,lng:-78.88,code:"PG049281"},{name:"Apache, Western",country:"United States",lang:"Apache, Western",rol3:"apw",pct_christian:7.5,pop:17e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:33.88,lng:-110.16,code:"PG043682"},{name:"Nuer",country:"United States",lang:"Nuer",rol3:"nus",pct_christian:7.5,pop:15e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:32.82,lng:-96.97,code:"PG046705"},{name:"Comanche",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:14500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:34.56,lng:-98.43,code:"PG043209"},{name:"Cheyenne",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:45.53,lng:-106.68,code:"PG043198"},{name:"Azande",country:"United States",lang:"Zande",rol3:"zne",pct_christian:7.5,pop:13e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:33.59,lng:-96.89,code:"PG046709"},{name:"Crow",country:"United States",lang:"Crow",rol3:"cro",pct_christian:7.5,pop:12e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:45.4,lng:-107.76,code:"PG043215"},{name:"Afro-Grenadian",country:"United States",lang:"Grenadian English Creole",rol3:"gcl",pct_christian:7.5,pop:12e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:41.29,lng:-75.74,code:"PG050350"},{name:"Pueblo, Santa Clara",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:12e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Native American religions",lat:35.98,lng:-106.22,code:"PG050653"},{name:"Zuni Pueblo",country:"United States",lang:"Zuni",rol3:"zun",pct_christian:7.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Native American religions",lat:35.09,lng:-108.74,code:"PG043703"},{name:"Shoshoni",country:"United States",lang:"Shoshoni",rol3:"shh",pct_christian:7.5,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:41.35,lng:-109.85,code:"PG043624"},{name:"Burundi",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:1e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:37.74,lng:-92.31,code:"PG047181"},{name:"Houma, Half-Choctaw",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:9500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:29.78,lng:-90.59,code:"PG043270"},{name:"Arapaho",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:9300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:38.15,lng:-102.16,code:"PG043524"},{name:"Flathead-Kalispel",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:8400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:47.5,lng:-114.28,code:"PG043241"},{name:"Han Chinese, Wu",country:"United States",lang:"Chinese, Wu",rol3:"wuu",pct_christian:7.5,pop:8400,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:40.74,lng:-73.72,code:"PG047187"},{name:"Zapotec, Loxicha",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:8e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Folk Catholicism",lat:32.79,lng:-117.08,code:"PG049324"},{name:"Paiute, Southern",country:"United States",lang:"Ute-Southern Paiute",rol3:"ute",pct_christian:7.5,pop:7600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:38.9,lng:-110.13,code:"PG043634"},{name:"Paiute, Northern",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:7400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:39.69,lng:-119.19,code:"PG043570"},{name:"Kiowa",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:7200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.01,lng:-98.78,code:"PG043305"}]},Guinea:{target_upg:30,target_pop:13009200,target_top_langs:["Pular","Maninkakan, Eastern","Susu","Konyanka"],target_top_religion:"Islam",neighbors:[{name:"Kissi",country:"Guinea",lang:"Kissi, Northern",rol3:"kqs",pct_christian:7.5,pop:646e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:8.89,lng:-10.2,code:"PG013412"},{name:"Baga Binari",country:"Guinea",lang:"Baga Pokur",rol3:"bcg",pct_christian:7.5,pop:4900,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:10.53,lng:-14.62,code:"PG042197"},{name:"Loko",country:"Guinea",lang:"Loko",rol3:"lok",pct_christian:7.5,pop:900,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.34,lng:-12.86,code:"PG013423"},{name:"Kpelle",country:"Guinea",lang:"Kpelle, Guinea",rol3:"gkp",pct_christian:3.5,pop:6e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:7.83,lng:-8.89,code:"PG013413"},{name:"Toma",country:"Guinea",lang:"Toma",rol3:"tod",pct_christian:3.5,pop:331e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.8,lng:-9.82,code:"PG013433"},{name:"Dan Yakuba",country:"Liberia",lang:"Dan",rol3:"dnj",pct_christian:12.5,pop:245e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:6.83,lng:-8.77,code:"PG013483"},{name:"Zari",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.87,lng:9.4,code:"PG014203"},{name:"Bassa",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:10.67,lng:5.82,code:"PG033345"},{name:"Dan Yakuba",country:"Cote d’Ivoire",lang:"Dan",rol3:"dnj",pct_christian:3.5,pop:1945e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:7.48,lng:-7.86,code:"PG013066"},{name:"Bambara",country:"Cote d’Ivoire",lang:"Bamanankan",rol3:"bam",pct_christian:3.5,pop:1485e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.88,lng:-7.05,code:"PG013042"},{name:"Mano",country:"Liberia",lang:"Maan",rol3:"mev",pct_christian:3.5,pop:44e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:6.87,lng:-8.98,code:"PG013517"},{name:"Arab",country:"South Africa",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-26.17,lng:28.07,code:"PG015486"},{name:"Arab",country:"New Zealand",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-36.89,lng:174.78,code:"PG018478"},{name:"Badyara",country:"Guinea-Bissau",lang:"Badyara",rol3:"pbp",pct_christian:3.5,pop:7300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.59,lng:-13.77,code:"PG013442"}]},Tunisia:{target_upg:17,target_pop:12220300,target_top_langs:["Arabic, Tunisian","Arabic, Libyan","Arabic, Algerian","Arabic, Algerian Saharan"],target_top_religion:"Islam",neighbors:[{name:"Arab",country:"South Africa",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-26.17,lng:28.07,code:"PG015486"},{name:"Arab",country:"New Zealand",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-36.89,lng:174.78,code:"PG018478"}]},Chad:{target_upg:82,target_pop:11754900,target_top_langs:["Arabic, Chadian","Kanembu","Dazaga","Maba (Chad)"],target_top_religion:"Islam",neighbors:[{name:"Goundo",country:"Chad",lang:"Kabalai",rol3:"kvf",pct_christian:45,pop:50,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:9.55,lng:16.2,code:"PG011355"},{name:"Nzakmbay",country:"Chad",lang:"Nzakambay",rol3:"nzy",pct_christian:25,pop:45500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:7.77,lng:15.86,code:"PG011438"},{name:"Ruto",country:"Chad",lang:"Luto",rol3:"ndy",pct_christian:25,pop:6400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.22,lng:18.44,code:"PG011443"},{name:"Besme",country:"Chad",lang:"Besme",rol3:"bes",pct_christian:25,pop:4e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.59,lng:16.09,code:"PG011321"},{name:"Mesme",country:"Chad",lang:"Mesme",rol3:"zim",pct_christian:17.5,pop:39e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.32,lng:15.53,code:"PG011414"},{name:"Mangbai",country:"Chad",lang:"Mambai",rol3:"mcs",pct_christian:12.5,pop:6400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.63,lng:14.06,code:"PG011400"},{name:"Pana",country:"Chad",lang:"Pana (Central African Republic)",rol3:"pnz",pct_christian:12.5,pop:2600,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:7.54,lng:15.7,code:"PG011439"},{name:"Nancere",country:"Chad",lang:"Nancere",rol3:"nnc",pct_christian:7.5,pop:231e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.28,lng:16.12,code:"PG011432"},{name:"Gabere",country:"Chad",lang:"Gabri",rol3:"gab",pct_christian:7.5,pop:84e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.35,lng:16.66,code:"PG042668"},{name:"Kaba-Lai",country:"Chad",lang:"Kabalai",rol3:"kvf",pct_christian:7.5,pop:58e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.41,lng:16.31,code:"PG011370"},{name:"Kaba",country:"Chad",lang:"Kabba",rol3:"ksp",pct_christian:7.5,pop:22e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:7.85,lng:16.74,code:"PG011366"},{name:"Sara Gambai",country:"Chad",lang:"Ngambay",rol3:"sba",pct_christian:3.5,pop:2095e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.7,lng:15.82,code:"PG011447"},{name:"Musey",country:"Chad",lang:"Musey",rol3:"mse",pct_christian:3.5,pop:535e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.69,lng:15.3,code:"PG011312"},{name:"Mundang",country:"Chad",lang:"Mundang",rol3:"mua",pct_christian:3.5,pop:517e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.67,lng:14.62,code:"PG011430"},{name:"Marba",country:"Chad",lang:"Marba",rol3:"mpg",pct_christian:3.5,pop:397e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.52,lng:15.92,code:"PG042679"},{name:"Masa",country:"Chad",lang:"Masana",rol3:"mcn",pct_christian:3.5,pop:352e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:10.33,lng:15.61,code:"PG011403"},{name:"Sara Mbai",country:"Chad",lang:"Mbay",rol3:"myb",pct_christian:3.5,pop:267e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.29,lng:17.75,code:"PG011449"},{name:"Bediondo Mbai",country:"Chad",lang:"Bedjond",rol3:"bjv",pct_christian:3.5,pop:192e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.65,lng:17.28,code:"PG011318"},{name:"Karang Laka",country:"Chad",lang:"Laka",rol3:"lap",pct_christian:3.5,pop:188e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.02,lng:16.2,code:"PG011376"},{name:"Gor",country:"Chad",lang:"Kabba",rol3:"ksp",pct_christian:3.5,pop:163e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:7.8,lng:16.72,code:"PG042670"},{name:"Dai",country:"Chad",lang:"Day",rol3:"dai",pct_christian:3.5,pop:161e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.52,lng:17.55,code:"PG011334"},{name:"Kera",country:"Chad",lang:"Kera",rol3:"ker",pct_christian:3.5,pop:144e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.78,lng:15.18,code:"PG011382"},{name:"Ngama",country:"Chad",lang:"Ngam",rol3:"nmc",pct_christian:3.5,pop:135e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:8.52,lng:18.59,code:"PG011434"},{name:"Kaba Na",country:"Chad",lang:"Kaba Naa, Sara",rol3:"kwv",pct_christian:3.5,pop:113e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.58,lng:18.93,code:"PG011369"},{name:"Kado",country:"Chad",lang:"Herdé",rol3:"hed",pct_christian:3.5,pop:104e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.36,lng:14.71,code:"PG011371"},{name:"Gulfe",country:"Chad",lang:"Malgbe",rol3:"mxf",pct_christian:3.5,pop:96e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:12.48,lng:14.92,code:"PG011359"},{name:"Lele",country:"Chad",lang:"Lele (Chad)",rol3:"lln",pct_christian:3.5,pop:89e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.15,lng:15.73,code:"PG011395"},{name:"Peve",country:"Chad",lang:"Pévé",rol3:"lme",pct_christian:3.5,pop:78e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.3,lng:14.58,code:"PG011441"},{name:"Sango",country:"Chad",lang:"Sango",rol3:"sag",pct_christian:3.5,pop:58e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.57,lng:16.07,code:"PG011446"},{name:"Gidar",country:"Chad",lang:"Gidar",rol3:"gid",pct_christian:3.5,pop:38e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.85,lng:14.2,code:"PG011351"},{name:"Kimre",country:"Chad",lang:"Kimré",rol3:"kqp",pct_christian:3.5,pop:37e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.3,lng:16.88,code:"PG011385"},{name:"Mbum",country:"Chad",lang:"Mbum",rol3:"mdd",pct_christian:3.5,pop:34e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:7.64,lng:15.64,code:"PG011412"},{name:"Kuo",country:"Chad",lang:"Kuo",rol3:"xuo",pct_christian:3.5,pop:19500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:7.75,lng:15.75,code:"PG011393"},{name:"Mire",country:"Chad",lang:"Mulgi",rol3:"mvh",pct_christian:3.5,pop:7800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.43,lng:16.3,code:"PG011419"},{name:"Kotoko-Kuseri",country:"Chad",lang:"Mser",rol3:"kqx",pct_christian:3.5,pop:3900,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:11.93,lng:15.11,code:"PG011388"},{name:"Gori",country:"Chad",lang:"Laal",rol3:"gdm",pct_christian:3.5,pop:1800,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:9.98,lng:17.62,code:"PG011353"},{name:"Miltu",country:"Chad",lang:"Miltu",rol3:"mlj",pct_christian:3.5,pop:900,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:10.23,lng:17.41,code:"PG011416"},{name:"Bakole",country:"Cameroon",lang:"French",rol3:"fra",pct_christian:35,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:4.43,lng:8.97,code:"PG012493"},{name:"Mono",country:"Cameroon",lang:"Fulfulde, Adamawa",rol3:"fub",pct_christian:25,pop:3700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:8.77,lng:14.12,code:"PG012705"},{name:"PoaPoa",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:25,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-20.87,lng:164.66,code:"PG018370"},{name:"Kotoko",country:"Cameroon",lang:"Lagwan",rol3:"kot",pct_christian:17.5,pop:24500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:11.86,lng:14.9,code:"PG012650"},{name:"Euronesian",country:"French Polynesia",lang:"French",rol3:"fra",pct_christian:12.5,pop:58500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-17.56,lng:-149.57,code:"PG018408"},{name:"Euronesian",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:12.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-22.27,lng:166.45,code:"PG018406"},{name:"Aeke",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:12.5,pop:350,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-21.07,lng:164.88,code:"PG009564"},{name:"French",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:7.5,pop:93500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-21.33,lng:165.49,code:"PG018389"},{name:"Zari",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.87,lng:9.4,code:"PG014203"},{name:"Bassa",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:10.67,lng:5.82,code:"PG033345"},{name:"Sake",country:"Gabon",lang:"French",rol3:"fra",pct_christian:7.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:.07,lng:11.63,code:"PG013210"},{name:"Burundi",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.58,lng:-73.7,code:"PG050494"},{name:"Burundi",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:37.74,lng:-92.31,code:"PG047181"},{name:"Kaba Dunjo",country:"Central African Republic",lang:"Kaba Naa, Sara",rol3:"kwv",pct_christian:7.5,pop:6300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:9.03,lng:19.98,code:"PG012874"},{name:"Kande",country:"Gabon",lang:"French",rol3:"fra",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-.09,lng:11.75,code:"PG013189"},{name:"Chadian",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.58,lng:-73.7,code:"PG050504"},{name:"Indri",country:"South Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:7.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.78,lng:25.73,code:"PG012040"},{name:"New Caledonian",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.22,lng:-122.99,code:"PG047444"},{name:"Gabonese",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:38.9,lng:-77.19,code:"PG047191"},{name:"Chinese-Tahitian Creole",country:"French Polynesia",lang:"French",rol3:"fra",pct_christian:7.5,pop:300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-17.56,lng:-149.57,code:"PG018407"},{name:"Chadian",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:250,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:38.02,lng:-84.5,code:"PG047189"},{name:"Walloon",country:"Belgium",lang:"French",rol3:"fra",pct_christian:3.5,pop:3755e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:50.32,lng:4.95,code:"PG000076"},{name:"Swiss",country:"Switzerland",lang:"French",rol3:"fra",pct_christian:3.5,pop:2015e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:46.6,lng:6.93,code:"PG000585"},{name:"Tuburi",country:"Cameroon",lang:"Tupuri",rol3:"tui",pct_christian:3.5,pop:345e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:10.27,lng:14.75,code:"PG012796"},{name:"Masa",country:"Cameroon",lang:"Masana",rol3:"mcn",pct_christian:3.5,pop:345e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:10.29,lng:15.19,code:"PG012678"},{name:"Musgum",country:"Cameroon",lang:"Musgu",rol3:"mug",pct_christian:3.5,pop:239e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:10.9,lng:14.93,code:"PG012718"},{name:"Dakpa",country:"Central African Republic",lang:"Banda, West Central",rol3:"bbp",pct_christian:3.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:5.98,lng:20,code:"PG012849"},{name:"Franco-Mauritian",country:"Mauritius",lang:"French",rol3:"fra",pct_christian:3.5,pop:72500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-20.25,lng:57.51,code:"PG015346"},{name:"Romanian",country:"France",lang:"French",rol3:"fra",pct_christian:3.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:48.84,lng:2.35,code:"PG000192"},{name:"Delen",country:"Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:3.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.06,lng:29.58,code:"PG042814"},{name:"French Caribbean",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:6300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.5,lng:-73.81,code:"PG047395"},{name:"Togolese",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:5600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:45.52,lng:-73.68,code:"PG050478"},{name:"Congolese",country:"Spain",lang:"French",rol3:"fra",pct_christian:3.5,pop:4800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:40.41,lng:-3.69,code:"PG042340"},{name:"Abenaki",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:46.07,lng:-72.82,code:"PG043348"},{name:"Ivorian",country:"United States",lang:"French",rol3:"fra",pct_christian:3.5,pop:3600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:40.74,lng:-73.72,code:"PG047266"},{name:"Guinean",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.5,lng:-73.81,code:"PG047454"},{name:"Sighu",country:"Gabon",lang:"French",rol3:"fra",pct_christian:3.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-.84,lng:12.69,code:"PG013213"},{name:"Rwandan",country:"Netherlands",lang:"French",rol3:"fra",pct_christian:3.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:51.9,lng:4.47,code:"PG000430"},{name:"Gabonese",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:1600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.58,lng:-73.7,code:"PG050505"},{name:"Maslam",country:"Cameroon",lang:"Maslam",rol3:"msv",pct_christian:3.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:12.22,lng:14.83,code:"PG012681"}]},Tajikistan:{target_upg:31,target_pop:10692e3,target_top_langs:["Tajik","Uzbek, Northern","Shughni","Language unknown"],target_top_religion:"Islam",neighbors:[{name:"Han Chinese, Mandarin",country:"Tajikistan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:89500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:38.57,lng:68.77,code:"PG049245"},{name:"Ukrainian",country:"Tajikistan",lang:"Ukrainian",rol3:"ukr",pct_christian:7.5,pop:12500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:38.57,lng:68.77,code:"PG024536"},{name:"Russian",country:"Moldova",lang:"Russian",rol3:"rus",pct_christian:17.5,pop:133e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.13,lng:29.34,code:"PG000867"},{name:"Korean",country:"Uzbekistan",lang:"Russian",rol3:"rus",pct_christian:12.5,pop:254e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:41.31,lng:69.26,code:"PG024684"},{name:"Armenian",country:"United Kingdom",lang:"Armenian",rol3:"hye",pct_christian:12.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000627"},{name:"Russian",country:"Australia",lang:"Russian",rol3:"rus",pct_christian:7.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.52,lng:142.46,code:"PG008063"},{name:"Russian",country:"Ukraine",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:708e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.69,lng:34.82,code:"PG042915"},{name:"Bulgarian",country:"Germany",lang:"Bulgarian",rol3:"bul",pct_christian:3.5,pop:411e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.5,lng:13.4,code:"PG042446"},{name:"Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:26e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.48,lng:12.44,code:"PG049403"},{name:"Armenian",country:"Lebanon",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:22e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:33.87,lng:35.58,code:"PG048928"},{name:"Jew",country:"Russian Federation",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:208e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:52.97,lng:74.32,code:"PG042910"},{name:"Russian",country:"Lithuania",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:155e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:55.25,lng:24.5,code:"PG000853"},{name:"Armenian",country:"Iran",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:38.14,lng:46.37,code:"PG024130"},{name:"Jew, Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:99500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:52.5,lng:13.4,code:"PG046578"},{name:"Russian",country:"United Kingdom",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:64e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000675"},{name:"Armenian",country:"Turkiye",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:41.05,lng:28.9,code:"PG024538"},{name:"Belarusian",country:"Argentina",lang:"Belarusian",rol3:"bel",pct_christian:3.5,pop:4600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-34.65,lng:-58.56,code:"PG017330"}]},Jordan:{target_upg:21,target_pop:10660500,target_top_langs:["Arabic, Levantine","Arabic, Eastern Egyptian Bedawi","Arabic, North Mesopotamian","Kabardian"],target_top_religion:"Islam",neighbors:[{name:"Arab, Egyptian",country:"Australia",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:12.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-31.94,lng:115.89,code:"PG020254"},{name:"Arab, Egyptian",country:"Germany",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:25500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:52.5,lng:13.4,code:"PG042462"},{name:"Arab, Lebanese",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024837"},{name:"Arab, Palestinian",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024839"},{name:"Arab, Egyptian",country:"Belgium",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:5300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:50.85,lng:4.38,code:"PG000053"},{name:"Egyptian Copt",country:"United States",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:3.5,pop:242e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:35.35,lng:-111.99,code:"PG047347"},{name:"Arab, Lebanese",country:"Canada",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:234e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.53,lng:-73.66,code:"PG043431"},{name:"Arab, Syrian",country:"United States",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:193e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.7,lng:-73.87,code:"PG043644"},{name:"Kurd, Northern",country:"Russian Federation",lang:"Kurdish, Northern",rol3:"kmr",pct_christian:3.5,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:44.63,lng:39.24,code:"PG024465"},{name:"Arab, Palestinian",country:"El Salvador",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:13.71,lng:-89.19,code:"PG039263"}]},Azerbaijan:{target_upg:26,target_pop:9953800,target_top_langs:["Azerbaijani, North","Talysh","Lezgi","Azerbaijani, South"],target_top_religion:"Islam",neighbors:[{name:"Ukrainian",country:"Kyrgyzstan",lang:"Ukrainian",rol3:"ukr",pct_christian:35,pop:28e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:42.88,lng:74.63,code:"PG024375"},{name:"Ukrainian",country:"Turkmenistan",lang:"Ukrainian",rol3:"ukr",pct_christian:35,pop:8400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:37.94,lng:58.39,code:"PG024648"},{name:"Romanian",country:"Czech Republic",lang:"Romanian",rol3:"ron",pct_christian:25,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:50.07,lng:14.47,code:"PG050033"},{name:"Russian",country:"Moldova",lang:"Russian",rol3:"rus",pct_christian:17.5,pop:133e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.13,lng:29.34,code:"PG000867"},{name:"Ukrainian",country:"Kazakhstan",lang:"Ukrainian",rol3:"ukr",pct_christian:12.5,pop:415e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:48.48,lng:71.3,code:"PG024330"},{name:"Korean",country:"Uzbekistan",lang:"Russian",rol3:"rus",pct_christian:12.5,pop:254e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:41.31,lng:69.26,code:"PG024684"},{name:"Moldovan",country:"United States",lang:"Romanian",rol3:"ron",pct_christian:12.5,pop:49e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:40.17,lng:-74.79,code:"PG047277"},{name:"Armenian",country:"United Kingdom",lang:"Armenian",rol3:"hye",pct_christian:12.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000627"},{name:"Romanian",country:"United States",lang:"Romanian",rol3:"ron",pct_christian:7.5,pop:173e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:36.09,lng:-110.56,code:"PG043611"},{name:"Ukrainian",country:"United Kingdom",lang:"Ukrainian",rol3:"ukr",pct_christian:7.5,pop:33e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000692"},{name:"Russian",country:"Australia",lang:"Russian",rol3:"rus",pct_christian:7.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.52,lng:142.46,code:"PG008063"},{name:"Ukrainian",country:"Tajikistan",lang:"Ukrainian",rol3:"ukr",pct_christian:7.5,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:38.57,lng:68.77,code:"PG024536"},{name:"Iranian",country:"Armenia",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:40.17,lng:44.49,code:"PG050098"},{name:"Iranian",country:"Greece",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:38.05,lng:23.7,code:"PG047071"},{name:"Romanian",country:"Romania",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:1637e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:45.84,lng:24.98,code:"PG000899"},{name:"Russian",country:"Ukraine",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:708e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.69,lng:34.82,code:"PG042915"},{name:"Romanian",country:"Italy",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:13e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:44.5,lng:9.8,code:"PG048833"},{name:"Ukrainian",country:"Russian Federation",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:112e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.59,lng:82.8,code:"PG048814"},{name:"Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:26e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.48,lng:12.44,code:"PG049403"},{name:"Ukrainian",country:"Canada",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:253e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:46.93,lng:-92.67,code:"PG043496"},{name:"Armenian",country:"Lebanon",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:22e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:33.87,lng:35.58,code:"PG048928"},{name:"Jew",country:"Russian Federation",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:208e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:52.97,lng:74.32,code:"PG042910"},{name:"Persian",country:"Canada",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:46.93,lng:-92.67,code:"PG043458"},{name:"Iranian",country:"Germany",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:175e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:52.51,lng:11.69,code:"PG000259"},{name:"Russian",country:"Lithuania",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:155e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:55.25,lng:24.5,code:"PG000853"},{name:"Ukrainian",country:"Germany",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:145e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.72,lng:11.84,code:"PG000275"},{name:"Persian",country:"Turkiye",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:13e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:41.04,lng:28.87,code:"PG024581"},{name:"Armenian",country:"Iran",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:38.14,lng:46.37,code:"PG024130"},{name:"Jew, Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:99500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:52.5,lng:13.4,code:"PG046578"},{name:"Romanian",country:"Hungary",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:96500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:46.8,lng:20.84,code:"PG000835"},{name:"Persian",country:"United Kingdom",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:86e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:51.5,lng:-.17,code:"PG000643"},{name:"Romanian ",country:"Austria",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:48.18,lng:16.35,code:"PG049963"},{name:"Russian",country:"United Kingdom",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:64e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000675"},{name:"Ukrainian",country:"Latvia",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:48500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:56.93,lng:24.12,code:"PG000850"},{name:"Ukrainian",country:"Uzbekistan",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:47e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:41.31,lng:69.26,code:"PG024323"},{name:"Armenian",country:"Turkiye",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:41.05,lng:28.9,code:"PG024538"},{name:"Ukrainian",country:"Poland",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.5,lng:19.47,code:"PG000887"},{name:"Ukrainian",country:"Argentina",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:36500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-34.65,lng:-58.56,code:"PG017373"},{name:"Kurd, Northern",country:"Russian Federation",lang:"Kurdish, Northern",rol3:"kmr",pct_christian:3.5,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:44.63,lng:39.24,code:"PG024465"},{name:"Ukrainian",country:"Estonia",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:33500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:59.31,lng:24.93,code:"PG050308"},{name:"Romanian",country:"Ireland",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:53.39,lng:-6.28,code:"PG048049"},{name:"Ukrainian",country:"France",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:23e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:48.84,lng:2.35,code:"PG000205"},{name:"Moldovan",country:"Canada",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:49.72,lng:-95.67,code:"PG047364"},{name:"Persian",country:"Indonesia",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:-6.21,lng:106.83,code:"PG050238"},{name:"Belarusian",country:"Argentina",lang:"Belarusian",rol3:"bel",pct_christian:3.5,pop:4600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-34.65,lng:-58.56,code:"PG017330"},{name:"Persian",country:"South Korea",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:3500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:37.55,lng:126.99,code:"PG050237"},{name:"Romanian",country:"Venezuela",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:10.48,lng:-66.88,code:"PG016490"}]},Vietnam:{target_upg:70,target_pop:9637e3,target_top_langs:["Tay","Muong","Khmer","Nung"],target_top_religion:"Ethnic Religions",neighbors:[{name:"Central Mnong",country:"Vietnam",lang:"Mnong, Central",rol3:"cmo",pct_christian:62.5,pop:36e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:12.5,lng:107.57,code:"PG011118"},{name:"Southern Mnong",country:"Vietnam",lang:"Mnong, Southern",rol3:"mnn",pct_christian:62.5,pop:33500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:11.99,lng:107.56,code:"PG011224"},{name:"Rhade",country:"Vietnam",lang:"Rade",rol3:"rad",pct_christian:45,pop:331e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:12.96,lng:108.31,code:"PG011211"},{name:"Stieng",country:"Vietnam",lang:"Stieng, Bulo",rol3:"sti",pct_christian:45,pop:85500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:11.87,lng:107.08,code:"PG011226"},{name:"Maa",country:"Vietnam",lang:"Maa",rol3:"cma",pct_christian:45,pop:41500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:11.61,lng:107.49,code:"PG011179"},{name:"Chru",country:"Vietnam",lang:"Chru",rol3:"cje",pct_christian:45,pop:19500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:11.69,lng:108.54,code:"PG011123"},{name:"Hmong",country:"Vietnam",lang:"Hmong Daw",rol3:"mww",pct_christian:35,pop:133e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.86,lng:103.59,code:"PG011142"},{name:"Koho",country:"Vietnam",lang:"Koho",rol3:"kpm",pct_christian:35,pop:166e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:11.63,lng:108.01,code:"PG011167"},{name:"Chrau",country:"Vietnam",lang:"Chrau",rol3:"crw",pct_christian:35,pop:27e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.91,lng:107.29,code:"PG011122"},{name:"Jarai",country:"Vietnam",lang:"Jarai",rol3:"jra",pct_christian:25,pop:411e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:13.93,lng:108.21,code:"PG011149"},{name:"Jeh",country:"Vietnam",lang:"Jeh",rol3:"jeh",pct_christian:25,pop:51e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:15.19,lng:107.91,code:"PG011150"},{name:"Eastern Mnong",country:"Vietnam",lang:"Mnong, Eastern",rol3:"mng",pct_christian:25,pop:33500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:12.31,lng:108.34,code:"PG011128"},{name:"Trieng",country:"Vietnam",lang:"Trieng",rol3:"stg",pct_christian:25,pop:19e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:15.48,lng:107.55,code:"PG011239"},{name:"Halang",country:"Vietnam",lang:"Halang",rol3:"hal",pct_christian:25,pop:16500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:14.62,lng:107.64,code:"PG011135"},{name:"O-du",country:"Vietnam",lang:"O’du",rol3:"tyh",pct_christian:17.5,pop:375,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.48,lng:104.58,code:"PG020927"},{name:"Northern Roglai",country:"Vietnam",lang:"Roglai, Northern",rol3:"rog",pct_christian:12.5,pop:65e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:12.16,lng:108.85,code:"PG011190"},{name:"Brao",country:"Vietnam",lang:"Brao",rol3:"brb",pct_christian:12.5,pop:400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:14.17,lng:107.43,code:"PG011112"},{name:"Han Chinese",country:"Vietnam",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:162e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.04,lng:106.1,code:"PG033473"},{name:"Han Chinese, Cantonese",country:"Vietnam",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:784e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.03,lng:105.82,code:"PG046444"},{name:"Bahnar",country:"Vietnam",lang:"Bahnar",rol3:"bdq",pct_christian:7.5,pop:228e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:14.05,lng:108.45,code:"PG011108"},{name:"San Chay",country:"Vietnam",lang:"Cao Lan",rol3:"mlc",pct_christian:7.5,pop:17e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:21.86,lng:105.77,code:"PG011217"},{name:"Hre",country:"Vietnam",lang:"Hre",rol3:"hre",pct_christian:7.5,pop:127e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:14.7,lng:108.66,code:"PG011143"},{name:"Eastern Bru",country:"Vietnam",lang:"Bru, Eastern",rol3:"bru",pct_christian:7.5,pop:74500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:16.94,lng:106.67,code:"PG011126"},{name:"Lahu",country:"Vietnam",lang:"Lahu",rol3:"lhu",pct_christian:7.5,pop:9700,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:22.56,lng:102.66,code:"PG011172"},{name:"Gelao",country:"Vietnam",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:2100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:23.08,lng:105.2,code:"PG011133"},{name:"Iu Mien",country:"Vietnam",lang:"Iu Mien",rol3:"ium",pct_christian:3.5,pop:433e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Polytheism",lat:22.01,lng:105.54,code:"PG011148"},{name:"Eastern Cham",country:"Vietnam",lang:"Cham, Eastern",rol3:"cjm",pct_christian:3.5,pop:88500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:10.94,lng:107.68,code:"PG011127"},{name:"Cua",country:"Vietnam",lang:"Cua",rol3:"cua",pct_christian:3.5,pop:34e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:15.15,lng:108.39,code:"PG011125"},{name:"Khao",country:"Vietnam",lang:"Khao",rol3:"xao",pct_christian:3.5,pop:18500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:21.44,lng:103.48,code:"PG011159"},{name:"Romam",country:"Vietnam",lang:"Romam",rol3:"rmx",pct_christian:3.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:14.42,lng:107.55,code:"PG011212"},{name:"Vietnamese",country:"Thailand",lang:"Vietnamese",rol3:"vie",pct_christian:25,pop:119e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:13.76,lng:100.56,code:"PG010933"},{name:"Akha",country:"Thailand",lang:"Akha",rol3:"ahk",pct_christian:17.5,pop:58e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:20.08,lng:99.66,code:"PG010820"},{name:"Sin",country:"Laos",lang:"Lao",rol3:"lao",pct_christian:12.5,pop:300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:18.06,lng:105.09,code:"PG050561"},{name:"Han Chinese, Cantonese",country:"China",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:6477e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.94,lng:111.32,code:"PG006808"},{name:"Han Chinese, Cantonese",country:"Hong Kong",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:6255e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.38,lng:114.13,code:"PG050587"},{name:"Han Chinese, Cantonese",country:"Malaysia",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:19e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:3.65,lng:101.56,code:"PG046594"},{name:"Khmu, Ou",country:"Laos",lang:"Khmu",rol3:"kjg",pct_christian:7.5,pop:817e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:19.8,lng:102.58,code:"PG020913"},{name:"Han Chinese, Cantonese",country:"Macao",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:663e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.16,lng:113.56,code:"PG050584"},{name:"Han Chinese, Cantonese",country:"Singapore",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:511e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020725"},{name:"Han Chinese",country:"United Kingdom",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:196e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:51.5,lng:-.17,code:"PG043796"},{name:"Vietnamese",country:"Australia",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:174e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-33.38,lng:143.4,code:"PG008087"},{name:"Han Chinese, Cantonese",country:"Peru",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:117e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-12.05,lng:-77.02,code:"PG017533"},{name:"Han Chinese",country:"Panama",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:68500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:8.5,lng:-82.42,code:"PG024831"},{name:"Han Chinese",country:"Trinidad and Tobago",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:44500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:10.68,lng:-61.38,code:"PG016447"},{name:"Iu Mien",country:"United States",lang:"Iu Mien",rol3:"ium",pct_christian:7.5,pop:38500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:38.75,lng:-111.78,code:"PG043283"},{name:"Han Chinese",country:"Laos",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:36500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:17.97,lng:102.64,code:"PG009111"},{name:"Han Chinese, Cantonese",country:"Venezuela",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:10.48,lng:-66.88,code:"PG016472"},{name:"Han Chinese",country:"Mexico",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:26e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:20.65,lng:-101.28,code:"PG024949"},{name:"Han Chinese, Cantonese",country:"Dominican Republic",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:12e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:18.48,lng:-69.91,code:"PG016322"},{name:"Han Chinese, Cantonese",country:"Ecuador",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:9600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-.18,lng:-78.49,code:"PG042924"},{name:"Han Chinese, Cantonese",country:"Belgium",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:50.85,lng:4.38,code:"PG000058"},{name:"Pako Kado",country:"Laos",lang:"Pacoh",rol3:"pac",pct_christian:7.5,pop:9200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:16.41,lng:106.8,code:"PG050547"},{name:"Han Chinese, Cantonese",country:"Mauritius",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:8400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-20.24,lng:57.49,code:"PG015361"},{name:"Han Chinese",country:"Brunei",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:4.91,lng:114.92,code:"PG033444"},{name:"Han Chinese, Cantonese",country:"Honduras",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:7700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:14.08,lng:-87.2,code:"PG024760"},{name:"Vietnamese",country:"New Zealand",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:4900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-36.89,lng:174.78,code:"PG018514"},{name:"Han Chinese, Cantonese",country:"Guyana",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:3300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:6.8,lng:-58.15,code:"PG016362"},{name:"Pako Kanai",country:"Laos",lang:"Pacoh",rol3:"pac",pct_christian:7.5,pop:2e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:16.53,lng:106.84,code:"PG050548"},{name:"Khmu",country:"France",lang:"Khmu",rol3:"kjg",pct_christian:7.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:48.88,lng:2.37,code:"PG048522"},{name:"Han Chinese, Cantonese",country:"Haiti",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:550,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:18.55,lng:-72.32,code:"PG016380"},{name:"Han Chinese, Cantonese",country:"United States",lang:"Chinese, Yue",rol3:"yue",pct_christian:3.5,pop:103e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:41.02,lng:-113.16,code:"PG043259"},{name:"Han Chinese, Cantonese",country:"Canada",lang:"Chinese, Yue",rol3:"yue",pct_christian:3.5,pop:569e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:46.93,lng:-92.67,code:"PG047426"},{name:"Akha",country:"Myanmar",lang:"Akha",rol3:"ahk",pct_christian:3.5,pop:23e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:21.71,lng:99.8,code:"PG009402"},{name:"Kinh",country:"Laos",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:138e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:17.97,lng:102.64,code:"PG020963"},{name:"Vietnamese Migrant Workers",country:"Malaysia",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:85e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Confucianism",lat:5.35,lng:100.41,code:"PG046599"},{name:"Mien",country:"Thailand",lang:"Iu Mien",rol3:"ium",pct_christian:3.5,pop:46500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:19.13,lng:100.45,code:"PG010890"},{name:"Ta Oi",country:"Laos",lang:"Ta’oih, Upper",rol3:"tth",pct_christian:3.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:16.08,lng:106.7,code:"PG020964"},{name:"Han Chinese",country:"Reunion",lang:"Chinese, Yue",rol3:"yue",pct_christian:3.5,pop:31500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-20.92,lng:55.51,code:"PG015468"},{name:"Neisu",country:"China",lang:"Akha",rol3:"ahk",pct_christian:3.5,pop:28e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.17,lng:100.64,code:"PG007334"},{name:"Lao",country:"Myanmar",lang:"Lao",rol3:"lao",pct_christian:3.5,pop:26e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:16.85,lng:96.15,code:"PG009467"},{name:"Black Tai",country:"Thailand",lang:"Tai Dam",rol3:"blt",pct_christian:3.5,pop:25e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:19.92,lng:99.84,code:"PG010830"},{name:"Khmu",country:"United States",lang:"Khmu",rol3:"kjg",pct_christian:3.5,pop:9300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:32.77,lng:-117.08,code:"PG043302"},{name:"Macanese",country:"Macao",lang:"Chinese, Yue",rol3:"yue",pct_christian:3.5,pop:8900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:22.16,lng:113.56,code:"PG050585"},{name:"Vietnamese",country:"Netherlands",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:8800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:52.47,lng:5.36,code:"PG000445"},{name:"Ta-Oy Yin",country:"Laos",lang:"Ta’oih, Upper",rol3:"tth",pct_christian:3.5,pop:8500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:15.72,lng:106.48,code:"PG050569"},{name:"Meng",country:"China",lang:"Hani",rol3:"hni",pct_christian:3.5,pop:5300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.89,lng:101.81,code:"PG007280"},{name:"Iu Mien",country:"France",lang:"Iu Mien",rol3:"ium",pct_christian:3.5,pop:2300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:43.61,lng:1.41,code:"PG000166"},{name:"Han Chinese, Cantonese",country:"Zimbabwe",lang:"Chinese, Yue",rol3:"yue",pct_christian:3.5,pop:1600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-17.83,lng:31.03,code:"PG015656"},{name:"Han Chinese",country:"Curacao",lang:"Chinese, Yue",rol3:"yue",pct_christian:3.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:12.19,lng:-68.97,code:"PG016401"},{name:"Sadang Duan",country:"Laos",lang:"Sedang",rol3:"sed",pct_christian:3.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:14.73,lng:107.51,code:"PG050560"},{name:"Ta-Oy Haang",country:"Laos",lang:"Ta’oih, Upper",rol3:"tth",pct_christian:3.5,pop:300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:15.93,lng:106.55,code:"PG050565"}]},Israel:{target_upg:42,target_pop:9176590,target_top_langs:["Hebrew","Arabic, Levantine","Russian","Yiddish, Eastern"],target_top_religion:"Ethnic Religions",neighbors:[{name:"Syrian Christian",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:62.5,pop:4495e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:12.35,lng:76.09,code:"PG041308"},{name:"Pulayan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:45,pop:154e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:10.06,lng:76.53,code:"PG041344"},{name:"Malai Arayan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:35,pop:48e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:9.65,lng:76.66,code:"PG041952"},{name:"Bakole",country:"Cameroon",lang:"French",rol3:"fra",pct_christian:35,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:4.43,lng:8.97,code:"PG012493"},{name:"Tupari",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:35,pop:175,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-12.09,lng:-63.32,code:"PG017148"},{name:"Paravar",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:25,pop:162e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:8.62,lng:77,code:"PG041743"},{name:"Koh",country:"India",lang:"Marathi",rol3:"mar",pct_christian:25,pop:96500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.29,lng:76.9,code:"PG041285"},{name:"Mozambican",country:"Portugal",lang:"Portuguese",rol3:"por",pct_christian:25,pop:40500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:38.77,lng:-9.25,code:"PG000493"},{name:"Amhara",country:"Canada",lang:"Amharic",rol3:"amh",pct_christian:25,pop:14e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG047403"},{name:"Romanian",country:"Czech Republic",lang:"Romanian",rol3:"ron",pct_christian:25,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:50.07,lng:14.47,code:"PG050033"},{name:"Kerala Mudali",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:25,pop:11e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:9.44,lng:78.7,code:"PG049672"},{name:"PoaPoa",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:25,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-20.87,lng:164.66,code:"PG018370"},{name:"Russian",country:"Moldova",lang:"Russian",rol3:"rus",pct_christian:17.5,pop:133e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.13,lng:29.34,code:"PG000867"},{name:"Brazilian",country:"French Guiana",lang:"Portuguese",rol3:"por",pct_christian:17.5,pop:16500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:4.92,lng:-52.3,code:"PG016329"},{name:"Machineri",country:"Bolivia",lang:"Portuguese",rol3:"por",pct_christian:17.5,pop:35,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-10.96,lng:-69.48,code:"PG046933"},{name:"Mang",country:"India",lang:"Marathi",rol3:"mar",pct_christian:12.5,pop:304e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:20.38,lng:76.05,code:"PG041315"},{name:"Brazilian",country:"Paraguay",lang:"Portuguese",rol3:"por",pct_christian:12.5,pop:461e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:-25.3,lng:-57.56,code:"PG046804"},{name:"Korean",country:"Uzbekistan",lang:"Russian",rol3:"rus",pct_christian:12.5,pop:254e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:41.31,lng:69.26,code:"PG024684"},{name:"Mannan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:12.5,pop:145e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.8,lng:76.55,code:"PG041756"},{name:"Arab, Egyptian",country:"Australia",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:12.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-31.94,lng:115.89,code:"PG020254"},{name:"Pole",country:"Kazakhstan",lang:"Polish",rol3:"pol",pct_christian:12.5,pop:62e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:43.29,lng:76.91,code:"PG024292"},{name:"Euronesian",country:"French Polynesia",lang:"French",rol3:"fra",pct_christian:12.5,pop:58500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-17.56,lng:-149.57,code:"PG018408"},{name:"Moldovan",country:"United States",lang:"Romanian",rol3:"ron",pct_christian:12.5,pop:49e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:40.17,lng:-74.79,code:"PG047277"},{name:"Euronesian",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:12.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-22.27,lng:166.45,code:"PG018406"},{name:"Sao Tomean",country:"Portugal",lang:"Portuguese",rol3:"por",pct_christian:12.5,pop:8500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:38.65,lng:-9.1,code:"PG000499"},{name:"Malayali",country:"Maldives",lang:"Malayalam",rol3:"mal",pct_christian:12.5,pop:950,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:4.17,lng:73.51,code:"PG006163"},{name:"Brazilian",country:"Austria",lang:"Portuguese",rol3:"por",pct_christian:12.5,pop:850,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:48.18,lng:16.35,code:"PG000009"},{name:"Aeke",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:12.5,pop:350,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-21.07,lng:164.88,code:"PG009564"},{name:"Kanoe",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:12.5,pop:325,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-11.73,lng:-62.68,code:"PG016942"},{name:"Brazilian",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:20624e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:-12.63,lng:-48.09,code:"PG016600"},{name:"Cheruman",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:467e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.61,lng:76.25,code:"PG041452"},{name:"Brazilian",country:"United States",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:32e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:34.44,lng:-97.31,code:"PG046522"},{name:"Brazilian",country:"United Kingdom",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:275e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:51.5,lng:-.17,code:"PG048432"},{name:"Malayali",country:"Malaysia",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:206e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:3.07,lng:101.64,code:"PG020224"},{name:"Brazilian",country:"Portugal",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:182e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:40.04,lng:-8.79,code:"PG000471"},{name:"Romanian",country:"United States",lang:"Romanian",rol3:"ron",pct_christian:7.5,pop:173e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:36.09,lng:-110.56,code:"PG043611"},{name:"Malayali",country:"United States",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:165e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:40.72,lng:-73.97,code:"PG043340"},{name:"French",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:7.5,pop:93500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-21.33,lng:165.49,code:"PG018389"},{name:"Angolan",country:"Portugal",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:80500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:39,lng:-9.17,code:"PG000467"},{name:"Brazilian",country:"Italy",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:46500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:45.54,lng:9.19,code:"PG048554"},{name:"Mang Garodi",country:"India",lang:"Marathi",rol3:"mar",pct_christian:7.5,pop:42e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:18.57,lng:74.08,code:"PG041892"},{name:"Assyrian",country:"Australia",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:7.5,pop:4e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.85,lng:151.03,code:"PG007833"},{name:"Hasidim",country:"United Kingdom",lang:"Hebrew",rol3:"heb",pct_christian:7.5,pop:32500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:51.5,lng:-.17,code:"PG000648"},{name:"Uraly",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:29500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:12.85,lng:75.26,code:"PG041815"},{name:"Russian",country:"Australia",lang:"Russian",rol3:"rus",pct_christian:7.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.52,lng:142.46,code:"PG008063"},{name:"Brazilian",country:"Canada",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:28e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:43.83,lng:-79.46,code:"PG047367"},{name:"Arab, Egyptian",country:"Germany",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:25500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:52.5,lng:13.4,code:"PG042462"},{name:"Brazilian",country:"Switzerland",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:21500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:47.43,lng:8.44,code:"PG048542"},{name:"Malai Vedan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:18500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:9.91,lng:77.99,code:"PG042150"},{name:"Portuguese",country:"Argentina",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:18e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-34.65,lng:-58.56,code:"PG017360"},{name:"Brazilian",country:"Belgium",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:17e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:50.85,lng:4.38,code:"PG047834"},{name:"Sake",country:"Gabon",lang:"French",rol3:"fra",pct_christian:7.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:.07,lng:11.63,code:"PG013210"},{name:"Burundi",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.58,lng:-73.7,code:"PG050494"},{name:"Brazilian",country:"Guyana",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:6.49,lng:-58.12,code:"PG016369"},{name:"Burundi",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:37.74,lng:-92.31,code:"PG047181"},{name:"Kokama",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:9600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-3.43,lng:-64.82,code:"PG016815"},{name:"Arab, Lebanese",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024837"},{name:"Arab, Palestinian",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024839"},{name:"Iranian",country:"Armenia",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:40.17,lng:44.49,code:"PG050098"},{name:"Brazilian",country:"Jamaica",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:6e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:18.05,lng:-76.95,code:"PG016388"},{name:"Arab, Egyptian",country:"Belgium",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:5300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:50.85,lng:4.38,code:"PG000053"},{name:"Pole",country:"Uzbekistan",lang:"Polish",rol3:"pol",pct_christian:7.5,pop:3700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:41.31,lng:69.26,code:"PG024310"},{name:"Tremembe",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:3e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-3.09,lng:-40.02,code:"PG017135"},{name:"Iranian",country:"Greece",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:38.05,lng:23.7,code:"PG047071"},{name:"Kande",country:"Gabon",lang:"French",rol3:"fra",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-.09,lng:11.75,code:"PG013189"},{name:"Chadian",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.58,lng:-73.7,code:"PG050504"},{name:"New Caledonian",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.22,lng:-122.99,code:"PG047444"},{name:"Rikbaktsa",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:950,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-11.27,lng:-58.27,code:"PG017085"},{name:"Kambeba",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:850,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-3.17,lng:-64.85,code:"PG016936"},{name:"Miranha",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:850,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-2.86,lng:-64.74,code:"PG017022"},{name:"Gabonese",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:38.9,lng:-77.19,code:"PG047191"},{name:"Makurap",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:475,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-12.56,lng:-62.57,code:"PG017001"},{name:"Chinese-Tahitian Creole",country:"French Polynesia",lang:"French",rol3:"fra",pct_christian:7.5,pop:300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-17.56,lng:-149.57,code:"PG018407"},{name:"Chadian",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:250,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:38.02,lng:-84.5,code:"PG047189"},{name:"Kariri",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:125,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-7.27,lng:-39.77,code:"PG016956"},{name:"Romanian",country:"Romania",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:1637e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:45.84,lng:24.98,code:"PG000899"},{name:"Variyar",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:3.5,pop:1417e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:12.13,lng:78.55,code:"PG042083"},{name:"Izhattu Pillaimar",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:3.5,pop:852e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.6,lng:77.56,code:"PG041254"},{name:"Russian",country:"Ukraine",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:708e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.69,lng:34.82,code:"PG042915"},{name:"Walloon",country:"Belgium",lang:"French",rol3:"fra",pct_christian:3.5,pop:3755e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:50.32,lng:4.95,code:"PG000076"},{name:"Swiss",country:"Switzerland",lang:"French",rol3:"fra",pct_christian:3.5,pop:2015e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:46.6,lng:6.93,code:"PG000585"},{name:"Kokna",country:"India",lang:"Marathi",rol3:"mar",pct_christian:3.5,pop:136e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.59,lng:73.8,code:"PG041403"},{name:"Romanian",country:"Italy",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:13e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:44.5,lng:9.8,code:"PG048833"},{name:"Portuguese",country:"France",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:984e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:47.39,lng:2.44,code:"PG000186"},{name:"Portuguese",country:"United States",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:861e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:39.45,lng:-96.6,code:"PG046462"},{name:"Portuguese",country:"Canada",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:307e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:46.93,lng:-92.67,code:"PG043365"},{name:"Thandan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:3.5,pop:285e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:9.05,lng:76.86,code:"PG041497"},{name:"Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:26e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.48,lng:12.44,code:"PG049403"},{name:"Portuguese",country:"Venezuela",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:242e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:10.47,lng:-69.1,code:"PG016488"},{name:"Egyptian Copt",country:"United States",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:3.5,pop:242e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:35.35,lng:-111.99,code:"PG047347"},{name:"Arab, Lebanese",country:"Canada",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:234e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.53,lng:-73.66,code:"PG043431"},{name:"Jew",country:"Russian Federation",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:208e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:52.97,lng:74.32,code:"PG042910"},{name:"Persian",country:"Canada",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:46.93,lng:-92.67,code:"PG043458"},{name:"Arab, Syrian",country:"United States",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:193e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.7,lng:-73.87,code:"PG043644"},{name:"Iranian",country:"Germany",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:175e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:52.51,lng:11.69,code:"PG000259"},{name:"Russian",country:"Lithuania",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:155e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:55.25,lng:24.5,code:"PG000853"},{name:"Persian",country:"Turkiye",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:13e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:41.04,lng:28.87,code:"PG024581"},{name:"Jew, Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:99500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:52.5,lng:13.4,code:"PG046578"},{name:"Romanian",country:"Hungary",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:96500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:46.8,lng:20.84,code:"PG000835"},{name:"Persian",country:"United Kingdom",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:86e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:51.5,lng:-.17,code:"PG000643"},{name:"Romanian ",country:"Austria",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:48.18,lng:16.35,code:"PG049963"},{name:"Franco-Mauritian",country:"Mauritius",lang:"French",rol3:"fra",pct_christian:3.5,pop:72500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-20.25,lng:57.51,code:"PG015346"},{name:"Assyrian",country:"Germany",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:7e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:50.03,lng:8.25,code:"PG000214"},{name:"Assyrian",country:"United States",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:7e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:37.75,lng:-122.21,code:"PG043528"},{name:"Hungarian",country:"Austria",lang:"Hungarian",rol3:"hun",pct_christian:3.5,pop:64500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:47.59,lng:16.37,code:"PG000021"},{name:"Russian",country:"United Kingdom",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:64e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000675"},{name:"Kurichian",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:3.5,pop:52500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:11.72,lng:76.1,code:"PG041910"},{name:"Hungarian",country:"Canada",lang:"Hungarian",rol3:"hun",pct_christian:3.5,pop:42e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:43.83,lng:-79.46,code:"PG043408"},{name:"Sillekyatha",country:"India",lang:"Marathi",rol3:"mar",pct_christian:3.5,pop:34500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:15.11,lng:76.53,code:"PG042138"},{name:"Romanian",country:"Ireland",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:53.39,lng:-6.28,code:"PG048049"},{name:"Bissau-Guineans",country:"Portugal",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:16500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:39,lng:-9.17,code:"PG000482"},{name:"Moldovan",country:"Canada",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:49.72,lng:-95.67,code:"PG047364"},{name:"Romanian",country:"France",lang:"French",rol3:"fra",pct_christian:3.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:48.84,lng:2.35,code:"PG000192"},{name:"Assyrian",country:"Canada",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG043355"},{name:"Portuguese",country:"Macao",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:22.16,lng:113.56,code:"PG050586"},{name:"Persian",country:"Indonesia",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:-6.21,lng:106.83,code:"PG050238"},{name:"Kummara , Kusuvan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:3.5,pop:7e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:12.31,lng:75.54,code:"PG048341"},{name:"French Caribbean",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:6300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.5,lng:-73.81,code:"PG047395"},{name:"Togolese",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:5600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:45.52,lng:-73.68,code:"PG050478"},{name:"Congolese",country:"Spain",lang:"French",rol3:"fra",pct_christian:3.5,pop:4800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:40.41,lng:-3.69,code:"PG042340"},{name:"Abenaki",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:46.07,lng:-72.82,code:"PG043348"},{name:"Ivorian",country:"United States",lang:"French",rol3:"fra",pct_christian:3.5,pop:3600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:40.74,lng:-73.72,code:"PG047266"},{name:"Persian",country:"South Korea",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:3500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:37.55,lng:126.99,code:"PG050237"},{name:"Guinean",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.5,lng:-73.81,code:"PG047454"},{name:"Sighu",country:"Gabon",lang:"French",rol3:"fra",pct_christian:3.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-.84,lng:12.69,code:"PG013213"},{name:"Rwandan",country:"Netherlands",lang:"French",rol3:"fra",pct_christian:3.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:51.9,lng:4.47,code:"PG000430"},{name:"Gabonese",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:1600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.58,lng:-73.7,code:"PG050505"},{name:"Romanian",country:"Venezuela",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:10.48,lng:-66.88,code:"PG016490"},{name:"Arab, Palestinian",country:"El Salvador",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:13.71,lng:-89.19,code:"PG039263"},{name:"Chiquitano",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-16.15,lng:-59.48,code:"PG050662"},{name:"Poyanawa",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:550,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-7.55,lng:-73.09,code:"PG017081"},{name:"Jabuti",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-12.08,lng:-64.7,code:"PG016889"},{name:"Yuruti",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:40,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:.61,lng:-69.19,code:"PG017210"}]}}},fg={"a-ou":"Guizhou Province",accukattavandlu:"Andhra Pradesh",adi:"Tibet Autonomous Region",adiyan:"Karnātaka",agaria:"Gujarāt",agasa:"Karnātaka",agri:"Gujarāt",aguru:"Andhra Pradesh",ahmadiya:"Uttar Pradesh","ai-cham":"Guizhou Province","ainu-china":"Xinjiang Uyghur Autonomous Region",aiton:"Assam",aiyarakulu:"Andhra Pradesh",akeu:"Yunnan Province",alavan:"Tamil Nādu",aling:"Yunnan Province",allar:"Kerala",alu:"Yunnan Province","alxa-mongols":"Inner Mongolia Autonomous Region",ambalavasi:"Kerala",andamanese:"Andaman and Nicobar Islands","andhra-vaisnawa":"Andhra Pradesh",angarok:"West Bengal",angku:"Yunnan Province",ani:"Yunnan Province",anjana:"Madhya Pradesh","anjana-patel-gujarati":"Gujarāt","ansari-momin-bengali":"West Bengal","ansari-momin-kannada":"Karnātaka","ansari-momin-tamil":"Tamil Nādu","ansari-momin-telugu":"Andhra Pradesh","anthur-nair":"Kerala",anuppan:"Tamil Nādu",anwal:"Uttarākhand",aoka:"Hunan Province",apu:"Yunnan Province","arain-dogri":"Jammu and Kashmīr","arain-kannauji":"Uttar Pradesh","arain-punjabi":"Haryāna",arakala:"Andhra Pradesh",aranadan:"Tamil Nādu",arasu:"Karnātaka",arayavati:"Kerala","are-bondili":"Andhra Pradesh","are-kapu":"Telangāna","are-katika":"Andhra Pradesh",atollu:"Andhra Pradesh",attagara:"Telangāna","attar-saibulu":"Mahārāshtra",ayri:"Karnātaka",ayyanavar:"Kerala","badhai-chhattisgarhi":"Chhattīsgarh",badhik:"Uttar Pradesh",badi:"Uttar Pradesh","badi-marwari":"Rājasthān",bafan:"Gujarāt",bagga:"Karnātaka",bagti:"West Bengal","baha-i":"Odisha",baharupi:"Mahārāshtra",baida:"West Bengal",baig:"Tamil Nādu",baira:"Karnātaka","bairagi-chhattisgarhi":"Chhattīsgarh","bairagi-gujarati":"Gujarāt","bairagi-odia":"Odisha",baisya:"West Bengal",bajandar:"Tripura",bakuda:"Kerala",balahar:"Uttar Pradesh",balasantoshi:"Karnātaka",baloch:"Gujarāt",bamcha:"Gujarāt",banai:"Meghālaya",banchada:"Madhya Pradesh",bandi:"Karnātaka",bandollu:"Andhra Pradesh",bangti:"Odisha","bania-agarwal-telegu":"Andhra Pradesh","bania-dogri":"Jammu and Kashmīr","bania-kannada":"Karnātaka","bania-kashmiri":"Ladākh","bania-konkani":"Goa","bania-malayalam":"Kerala","banik-bania":"Tripura",banjania:"Gujarāt",banka:"Odisha",banpar:"Bihār",baonuo:"Guangxi Zhuang Autonomous Region",baraua:"Madhya Pradesh",barda:"Mahārāshtra",baret:"Rājasthān",bargah:"Chhattīsgarh",bargala:"Uttar Pradesh",bargi:"Rājasthān",bargujar:"Uttar Pradesh","bari-hindi":"Madhya Pradesh","bari-marathi":"Mahārāshtra","bari-odia":"Odisha",barot:"Gujarāt",barthari:"Gujarāt",barua:"Tripura",basudeva:"Madhya Pradesh",batada:"Karnātaka",bauti:"Odisha",bavuri:"Odisha","bayil-kammara":"Karnātaka","bayil-pattar":"Karnātaka","bayita-kammara":"Andhra Pradesh",beidongnuo:"Guizhou Province","beldar-chhattisgarhi":"Chhattīsgarh",bellara:"Karnātaka",berad:"Andhra Pradesh",berar:"Madhya Pradesh",bestha:"Karnātaka",bhakta:"West Bengal",bhalla:"West Bengal","bhand-kashmiri":"Jammu and Kashmīr","bhangi-chhattisgarhi":"Chhattīsgarh",bhanumati:"Madhya Pradesh",bharewa:"Chhattīsgarh","bharia-bhumia-chhattisgarhi":"Chhattīsgarh",bharwad:"Mahārāshtra",bhatrajulu:"Telangāna","bhattra-bhatri":"Chhattīsgarh","bhatu-andamani":"Andaman and Nicobar Islands",bhodala:"Gujarāt","bhoi-marathi":"Mahārāshtra","bhoi-odia":"Odisha",bhojki:"Himāchal Pradesh",bhondari:"Andhra Pradesh",bhopa:"Rājasthān",bhuiyar:"Uttar Pradesh",bhujel:"West Bengal",bhunjia:"Chhattīsgarh",bhurtia:"Madhya Pradesh",bhutta:"Rājasthān",bilaspuri:"Assam",bindla:"Telangāna",bisati:"Uttar Pradesh","bit-china":"Yunnan Province","black-thai":"Yunnan Province","bogar-lhoba":"Tibet Autonomous Region",bogol:"Inner Mongolia Autonomous Region",bolla:"Telangāna",bomba:"Jammu and Kashmīr",bondili:"Tamil Nādu",bondo:"Odisha",borpi:"Gujarāt","bowis-mogeyar":"Kerala","boyu-tibetans":"Gansu Province","brahman-jyoti":"Odisha","brahmin-andamani":"Andaman and Nicobar Islands",brukpa:"Ladākh",budakukkala:"Andhra Pradesh",budhan:"Jammu and Kashmīr",bugan:"Yunnan Province",bunan:"Tibet Autonomous Region",buryat:"Inner Mongolia Autonomous Region","butuo-nosu":"Sichuan Province",buyang:"Yunnan Province",byadh:"West Bengal",cai:"Guizhou Province",caki:"Gujarāt",cakkala:"Kerala",cakketakare:"Andhra Pradesh","cakkyar-nambiyar":"Kerala",camadollu:"Andhra Pradesh",camma:"Bihār",campa:"Ladākh","candhai-maru":"Odisha",cejara:"Rājasthān",cekkala:"Tamil Nādu",chadwa:"Rājasthān",chaikwa:"Chhattīsgarh",chakkiyar:"Kerala","chamar-assamese":"Assam","chamar-muchi-malayalam":"Kerala","chamar-muchi-tamil":"Tamil Nādu",champta:"Gujarāt",changpao:"Guizhou Province",chaptegar:"Karnātaka",chari:"Mahārāshtra",charodi:"Karnātaka",charwaha:"Uttar Pradesh",chatarkheya:"Odisha",chaudangsi:"Uttarākhand",chayakkaran:"Tamil Nādu",cheintz:"Jammu and Kashmīr","chengazhi-nambiar":"Kerala","chenna-dasar":"Karnātaka",cherua:"Odisha",chesu:"Yunnan Province",chheepi:"Rājasthān",chitari:"Mahārāshtra",chobdar:"Rājasthān",chopan:"Jammu and Kashmīr",chunari:"West Bengal",chungar:"Rājasthān",cingatanmar:"Kerala",cippollu:"Telangāna",citrakar:"Odisha",citrakathi:"Mahārāshtra","cona-monba":"Tibet Autonomous Region","coorgi-andamanese":"Andaman and Nicobar Islands",cudigar:"Rājasthān",cunara:"Gujarāt",cundollu:"Andhra Pradesh",dadupanthi:"Rājasthān",dafer:"Gujarāt",daitapati:"Odisha","dalu-india":"Meghālaya",damami:"Rājasthān",damla:"Odisha",dammali:"Andhra Pradesh",dangasiya:"Gujarāt",daoli:"Punjab","darang-deng":"Tibet Autonomous Region","darji-odia":"Odisha","dasa-palanjika":"Tamil Nādu",dasari:"Andhra Pradesh","dasnami-bawa":"Gujarāt",daule:"Himāchal Pradesh",dayare:"Tamil Nādu",depala:"Gujarāt","dhakad-halbi":"Chhattīsgarh",dhaki:"Himāchal Pradesh","dhal-kstriya":"West Bengal",dhamin:"Bihār",dhawad:"Mahārāshtra",dhed:"Madhya Pradesh",dheevara:"Kerala",dhekaro:"Jhārkhand",dhera:"Odisha",dhimal:"West Bengal","dhobi-dogri":"Jammu and Kashmīr","dhobi-tamil":"Tamil Nādu",dhola:"Rājasthān",dhyar:"Jammu and Kashmīr",dianbao:"Yunnan Province",diao:"Guizhou Province",didayi:"Odisha",dokhpa:"Ladākh","dom-chhattisgarhi":"Chhattīsgarh","dom-marathi":"Mahārāshtra",domal:"Jammu and Kashmīr","dombi-dasa":"Karnātaka",dosali:"Himāchal Pradesh",doupo:"Yunnan Province",dudhwala:"Gujarāt","durga-murga":"Karnātaka","eastern-samadu":"Yunnan Province","eastern-xiangxi-miao":"Hunan Province","eneti-dora":"Odisha","enger-yugur":"Gansu Province",erawallan:"Kerala",ersu:"Sichuan Province",ezhavathi:"Kerala","ga-mong":"Guizhou Province",gabit:"Goa",gachha:"Madhya Pradesh",gadhai:"Gujarāt",gadhia:"Uttar Pradesh",gadihar:"Bihār",gagra:"Punjab","galada-kokani":"Karnātaka",galiara:"Gujarāt",galwan:"Jammu and Kashmīr",gandalla:"Andhra Pradesh",gandharv:"Bihār",gandla:"Andhra Pradesh",gangawar:"Tamil Nādu",gangireddula:"Telangāna","ganta-sayebulu":"Andhra Pradesh","ganti-chores":"Karnātaka",ganz:"Jammu and Kashmīr",gao:"Guizhou Province",garadi:"Andhra Pradesh",gardi:"Jammu and Kashmīr",garmatan:"Gujarāt",garodi:"Mahārāshtra",garpagari:"Mahārāshtra",garvi:"Gujarāt",gatti:"Karnātaka",gauli:"Karnātaka",gavara:"Andhra Pradesh",gavli:"Gujarāt",gelao:"Guizhou Province","geman-deng":"Tibet Autonomous Region",ghadi:"Karnātaka",ghadwa:"Chhattīsgarh",ghantarghada:"Odisha",ghantiya:"Gujarāt",ghazi:"West Bengal",ghihara:"Rājasthān",ghogia:"Odisha",ghusuria:"Odisha",godagali:"Andhra Pradesh",godari:"Andhra Pradesh",godda:"Karnātaka",godra:"Odisha",golarana:"Gujarāt","gomantak-maratha":"Goa","gond-kannada":"Karnātaka",gondhali:"Mahārāshtra",gopal:"Mahārāshtra",gorkun:"Jammu and Kashmīr","gosain-chhattisgarhi":"Chhattīsgarh","gosain-gujarati":"Gujarāt","gosain-kangri":"Himāchal Pradesh","gosain-rajasthani":"Rājasthān",gosangi:"Telangāna","great-andamanese":"Andaman and Nicobar Islands",guaigun:"Yunnan Province","guddi-eluguwallu":"Andhra Pradesh",gudikara:"Karnātaka",gudugudupandi:"Tamil Nādu",guna:"Odisha",guraw:"Karnātaka",gurika:"Telangāna",gurru:"Rājasthān",gurukkal:"Tamil Nādu","ha-li":"Hainan Province",habura:"Uttar Pradesh",hadi:"Himāchal Pradesh",hagei:"Guizhou Province","hajjam-assamese":"Assam","hajjam-bengali":"West Bengal","hajjam-gujarati":"Gujarāt","hajjam-haryanvi":"Haryāna","hajjam-hindi":"Madhya Pradesh","hajjam-kannada":"Karnātaka","hajjam-kashmiri":"Jammu and Kashmīr","hajjam-telugu":"Andhra Pradesh",halaypotra:"Gujarāt",halleer:"Karnātaka",haluadas:"Tripura",hardas:"Mahārāshtra",harkantra:"Karnātaka",hasalaru:"Karnātaka",hatgar:"Andhra Pradesh",hatkar:"Mahārāshtra",heishui:"Sichuan Province",helawa:"Karnātaka","henan-mongols":"Qinghai Province",hesi:"Himāchal Pradesh",hijra:"Uttar Pradesh","hindu-santarash":"Bihār",hingora:"Gujarāt",hingorza:"Gujarāt",hiranbaj:"Rājasthān","holeya-dasari":"Karnātaka","hongjin-tai":"Yunnan Province",hu:"Yunnan Province","huishui-miao":"Guizhou Province",ilayatu:"Kerala","indo-french":"Puducherry","indo-vietnamese":"Puducherry",irika:"Odisha",jadam:"Madhya Pradesh",jadupetia:"Jhārkhand","jains-bengali":"West Bengal","jains-hindi":"Madhya Pradesh","jains-maithili":"Bihār","jains-tamil":"Tamil Nādu","jains-telugu":"Telangāna",jakkula:"Andhra Pradesh",jandra:"Andhra Pradesh",janughanta:"Odisha",jarawas:"Andaman and Nicobar Islands","jarkhandi-hajjam":"Jhārkhand","jarkhandi-julaha":"Jhārkhand","jat-muslim":"Gujarāt","jati-pillai":"Tamil Nādu",jatigar:"Karnātaka",jaweri:"Karnātaka",jethi:"Andhra Pradesh",jhadi:"Mahārāshtra","jharkhandi-nai":"Jhārkhand","jiamao-li":"Hainan Province",jiasou:"Yunnan Province",jimdar:"Uttarākhand",jino:"Yunnan Province","jogi-angika":"Bihār","jogi-halbi":"Chhattīsgarh","jogi-odia":"Odisha","jogi-telugu":"Karnātaka","jogi-tulu":"Karnātaka",juneja:"Gujarāt","kachchi-alia":"Odisha","kachchi-kushwaha":"Mahārāshtra","kachera-bagheli":"Madhya Pradesh",kachi:"Telangāna",kadar:"Bihār",kaghzi:"Mahārāshtra","kahar-gujarati":"Gujarāt",kaikali:"Andhra Pradesh",kakkalan:"Kerala",kakmara:"West Bengal","kalal-sadri":"Chhattīsgarh",kalanadies:"Kerala",kalladi:"Kerala","kallattu-kurup":"Kerala",kamalia:"Gujarāt",kambalattan:"Tamil Nādu",kambar:"Tamil Nādu","kambodia-bhagat":"Gujarāt",kamila:"Odisha",kanda:"Tripura",kandera:"Madhya Pradesh",kankali:"Uttar Pradesh","kannada-naicker":"Tamil Nādu","kannada-saineegar":"Tamil Nādu",kapadi:"Gujarāt",kapasiya:"Odisha",kapewar:"Mahārāshtra",kapuria:"West Bengal",karaiyar:"Tamil Nādu",karimpalan:"Kerala",karlar:"Tamil Nādu","karna-sale":"Tamil Nādu",karnam:"Andhra Pradesh",karnibhakthulu:"Andhra Pradesh","kasar-bengali":"West Bengal","kasar-gujarati":"Gujarāt","kasar-hindi":"Madhya Pradesh","kasar-odia":"Odisha",kasbati:"Gujarāt",kasikapadi:"Mahārāshtra",katesar:"Tamil Nādu",kathar:"Mahārāshtra",kathi:"Gujarāt",katipamula:"Telangāna",kattiakaran:"Tamil Nādu",kavara:"Kerala",kavuthiyan:"Kerala",kawoj:"Jammu and Kashmīr",kayalar:"Tamil Nādu",keji:"Tibet Autonomous Region",kepmari:"Tamil Nādu",ker:"Gujarāt",khadim:"Rājasthān",khadura:"Odisha","khairwar-bengali":"West Bengal","khairwar-chhattisgarhi":"Chhattīsgarh",khakar:"Karnātaka",khalifa:"West Bengal",khalpa:"Gujarāt",khamba:"Arunāchal Pradesh",khamyang:"Arunāchal Pradesh",khandwal:"Odisha","khangar-bundeli":"Uttar Pradesh",kharol:"Rājasthān",kharvi:"Mahārāshtra",khaskeli:"Gujarāt",khatbune:"Delhi","khati-odia":"Odisha","khatik-bengali":"West Bengal","khatik-chambeali":"Himāchal Pradesh","khatik-chhattisgarhi":"Chhattīsgarh","khatik-gujarati":"Gujarāt","khatik-marathi":"Mahārāshtra","khatik-punjabi":"Chandīgarh","khatik-telugu":"Telangāna",khmu:"Yunnan Province",khowa:"Arunāchal Pradesh",kidaran:"Kerala",kobari:"Odisha","kocu-wellan":"Kerala",koiren:"Manipur",kokaniz:"Mahārāshtra","kol-chhattisgarhi":"Chhattīsgarh",kolari:"Karnātaka",kolhati:"Mahārāshtra",koliyan:"Tamil Nādu",kollan:"Kerala","komara-panta":"Karnātaka","kommu-dasari":"Andhra Pradesh","konda-kammara":"Andhra Pradesh","kong-ge":"Yunnan Province","kongu-vaisnawa":"Tamil Nādu","kongu-vellala-gounder":"Tamil Nādu",koosa:"Karnātaka",kootan:"Kerala",koraga:"Odisha","koraga-korra":"Karnātaka",kota:"Tamil Nādu",kottari:"Karnātaka",koyava:"Karnātaka",kraal:"Jammu and Kashmīr",krishnavaka:"Tamil Nādu",kriyagar:"Rājasthān",kucband:"Haryāna",kucong:"Yunnan Province",kuda:"Odisha",kudimahan:"Mahārāshtra",kudiya:"Karnātaka",kudubi:"Karnātaka",kudumi:"Tamil Nādu",kuli:"Odisha",kuliya:"Andhra Pradesh",kuluvan:"Tamil Nādu","kumar-kshatriya":"Kerala","kumhar-assamese":"Assam","kummara-kumbara":"Karnātaka","kummara-kummari":"Tamil Nādu","kummara-kusuvan":"Kerala",kunduvadian:"Kerala","kunnuva-vellalar":"Tamil Nādu","kurahina-setti":"Karnātaka",kurakula:"Andhra Pradesh",kurol:"West Bengal",kurukkal:"Kerala",kurunga:"Odisha",kusta:"Odisha","kuthliya-bora":"Uttarākhand",kyrgyz:"Xinjiang Uyghur Autonomous Region",laba:"Guizhou Province",labapo:"Yunnan Province",laccadive:"Lakshadweep",ladar:"Karnātaka",ladia:"Madhya Pradesh",ladsi:"Mahārāshtra",lahangir:"Madhya Pradesh",lajjhar:"Mahārāshtra","lakhera-haryanvi":"Haryāna","lakkamari-kapu":"Telangāna",langa:"Gujarāt",laowu:"Yunnan Province",laskari:"Rājasthān","lati-china":"Yunnan Province",lawu:"Yunnan Province","liang-e":"Yunnan Province",liari:"Odisha",linghua:"Guangxi Zhuang Autonomous Region","liping-baheng":"Guizhou Province",liude:"Yunnan Province",liujia:"Guizhou Province","lodha-marathi":"Mahārāshtra","lohar-dogri":"Jammu and Kashmīr",lois:"Manipur",lonar:"Mahārāshtra",longjia:"Guizhou Province",lu:"Guizhou Province","lupanshui-miao":"Guizhou Province",luzu:"Sichuan Province",machhiyara:"Gujarāt","madiga-dasu":"Andhra Pradesh",maghia:"Odisha",mahisyadas:"Tripura",mahuria:"Odisha",maila:"Karnātaka",majjula:"Andhra Pradesh",majothi:"Gujarāt",makrani:"Gujarāt","mala-masti":"Telangāna","malai-pandaram":"Kerala","malai-vellala":"Tamil Nādu",malaikudi:"Karnātaka",malakar:"Tripura",malaneese:"Himāchal Pradesh",malayalar:"Kerala",maleru:"Karnātaka",maleyan:"Tamil Nādu",malia:"Odisha",malis:"Andhra Pradesh",man:"Assam",mana:"Mahārāshtra",manbhav:"Madhya Pradesh","mandali-muslims":"Gujarāt",mandula:"Andhra Pradesh","mang-china":"Yunnan Province","mangnyar-muslims":"Rājasthān",manhas:"Jammu and Kashmīr",maniyattikkaran:"Tamil Nādu","manjygur-muslims":"Jammu and Kashmīr",mankar:"Madhya Pradesh",manmet:"Yunnan Province","manna-dhora":"Andhra Pradesh",manser:"Karnātaka",manyak:"Sichuan Province","maran-nairs":"Kerala",marasari:"Kerala","maria-muslims":"Assam","markande-kanjia":"Odisha","mashan-miao":"Guizhou Province",masku:"Himāchal Pradesh",matak:"Assam",matangi:"Telangāna",mavilan:"Kerala",meda:"Karnātaka",medari:"Andhra Pradesh","medog-monba":"Tibet Autonomous Region","meifu-li":"Hainan Province",mengwu:"Yunnan Province",mer:"Gujarāt",mhalo:"Goa",miguba:"Tibet Autonomous Region",ming:"Sichuan Province",minyak:"Sichuan Province",mir:"Gujarāt",mirshikar:"West Bengal","mishaba-laluo":"Yunnan Province","mith-gauda":"Goa","mitha-ayyalavar":"Telangāna",mitna:"Mahārāshtra",miyana:"Gujarāt",mo:"Guizhou Province",modaks:"Jhārkhand",mogaveera:"Karnātaka","moger-malayalam":"Kerala","moghal-telugu":"Telangāna","moghol-dogri":"Jammu and Kashmīr","moghol-gujarati":"Gujarāt","moghol-marwari":"Rājasthān",mogia:"Rājasthān",momba:"Arunāchal Pradesh","mon-india":"Ladākh",mondivogula:"Andhra Pradesh",mondiwar:"Mahārāshtra",moothan:"Kerala",mosuo:"Yunnan Province",mozhihei:"Hunan Province","muchi-chamar":"Telangāna",muda:"Yunnan Province",mudugar:"Tamil Nādu",mujavar:"Gujarāt",mujavir:"Uttar Pradesh",mukeri:"Bihār",mukhi:"Assam",mukkari:"Kerala",muli:"Andhra Pradesh",mundala:"Karnātaka",mundapotta:"Odisha",munnewar:"Chhattīsgarh",murhid:"Rājasthān",musari:"Kerala",muskhan:"Madhya Pradesh","muslim-gond":"Madhya Pradesh","muslim-kachera":"Mahārāshtra","muslim-khatri":"Gujarāt","muslim-lakhera":"Gujarāt","muslim-patel":"Gujarāt","musti-chenchu":"Andhra Pradesh",muttatu:"Kerala",mutwa:"Gujarāt",muzi:"Yunnan Province",na:"Arunāchal Pradesh",nadors:"Karnātaka",nagavamsam:"Andhra Pradesh",nagbansi:"Jhārkhand","nagbansi-dogri":"Jammu and Kashmīr",nagda:"Rājasthān",nahal:"Mahārāshtra",naheng:"Yunnan Province","nai-assamese":"Assam","nai-kannada":"Karnātaka","nai-mewari":"Rājasthān","nai-odia":"Odisha",naikpod:"Mahārāshtra",nairy:"Karnātaka",naita:"Madhya Pradesh",najjar:"Jammu and Kashmīr",naju:"Sichuan Province",nakhasa:"Andhra Pradesh",nakkala:"Tamil Nādu",naksia:"Odisha",nalband:"Bihār",nalkadaya:"Kerala","namasudra-assamese":"Assam",nambutiris:"Kerala",namdagur:"Jammu and Kashmīr",namdeo:"Madhya Pradesh","namdeo-maratha":"Tamil Nādu",namuyi:"Sichuan Province",nandiwala:"Mahārāshtra","nanjil-mudali":"Tamil Nādu",nanjingren:"Guizhou Province",naoda:"Madhya Pradesh",naqqas:"Jammu and Kashmīr",nar:"Himāchal Pradesh",narsanna:"Kerala",narsinghpura:"Gujarāt",nasuvan:"Kerala","nat-bagheli":"Madhya Pradesh",natua:"Karnātaka",nawaiyat:"Karnātaka",nayadi:"Kerala","nayak-muslims":"Gujarāt",neeli:"Mahārāshtra",nema:"Madhya Pradesh",neyyala:"Andhra Pradesh","nghari-tibetans":"Tibet Autonomous Region",nicar:"Himāchal Pradesh",nilkanth:"Mahārāshtra",node:"Gujarāt",noliya:"Odisha","northern-awu":"Yunnan Province","northern-dong":"Guizhou Province","northern-muji":"Yunnan Province",numao:"Guizhou Province",nyaria:"Rājasthān",olot:"Heilongjiang Province",onge:"Andaman and Nicobar Islands",ongkor:"Xinjiang Uyghur Autonomous Region",ontaris:"Andhra Pradesh",oriya:"Odisha",otans:"Kerala",padannan:"Kerala",padarthis:"Karnātaka",padhar:"Gujarāt",padigarajulu:"Andhra Pradesh",padiyar:"Karnātaka",pagativeshagallu:"Andhra Pradesh",paharia:"West Bengal",pajabgar:"Rājasthān",pakhimara:"Rājasthān",paky:"Andhra Pradesh","palakad-tandans":"Kerala",palyu:"Guangxi Zhuang Autonomous Region",pambada:"Karnātaka",pambala:"Telangāna",pamidi:"Andhra Pradesh",pamula:"Andhra Pradesh",panar:"Gujarāt",panara:"Chhattīsgarh","pancaratra-srivaisnavas-brahmans":"Andhra Pradesh",pandithar:"Kerala",pando:"Chhattīsgarh",pangans:"Manipur",pangul:"Mahārāshtra","pangwal-buddhists":"Himāchal Pradesh",pangwala:"Himāchal Pradesh","panka-odia":"Odisha",pankhiya:"Uttar Pradesh",pannadi:"Tamil Nādu",panniandi:"Tamil Nādu","panxian-nasu":"Guizhou Province",paradhi:"Gujarāt",parenga:"Odisha","pariki-muggula":"Telangāna",parkavakulam:"Tamil Nādu",parvatarajakulam:"Tamil Nādu",patanwadia:"Gujarāt",patari:"Uttar Pradesh",pathinaickans:"Kerala",pathiyan:"Kerala",patkars:"Telangāna","patni-jamat":"Gujarāt","patni-vankars":"Gujarāt",pattanavan:"Tamil Nādu",pattegar:"Karnātaka",pendar:"Karnātaka",perumkollar:"Tamil Nādu",phularis:"Mahārāshtra","pingdi-yao":"Hunan Province","pinjara-dhunia-bengali":"West Bengal","pinjara-kannada":"Karnātaka","pinjara-marathi":"Mahārāshtra","pinjara-punjabi":"Punjab",pisaroti:"Kerala",pochammalollu:"Mahārāshtra",poduval:"Kerala",pohul:"Jammu and Kashmīr",pomla:"Gujarāt",popei:"Yunnan Province","prabhu-patane":"Mahārāshtra",pubiao:"Yunnan Province",pulisari:"Kerala",puman:"Yunnan Province",puran:"Jhārkhand","purig-pa":"Ladākh",puroik:"Tibet Autonomous Region",pusha:"Guangxi Zhuang Autonomous Region","puspakan-unni":"Kerala",putliwale:"Uttar Pradesh",qanu:"Guizhou Province","qiubei-zhuang":"Yunnan Province",qixingmin:"Guizhou Province",racband:"Punjab",rachavar:"Karnātaka",raddi:"Karnātaka",radhi:"Odisha","rai-bhat-muslims":"Uttar Pradesh",rajannalu:"Telangāna",rajapuri:"Karnātaka",rajdhop:"Bihār","raji-india":"Uttarākhand",rajkumhar:"Rājasthān",rajpurohit:"Rājasthān",rana:"Odisha",raneyar:"Karnātaka",rao:"Guizhou Province",rastogi:"Uttar Pradesh",ratal:"Jammu and Kashmīr",rath:"Rājasthān",rathodia:"Gujarāt",raval:"Karnātaka",rave:"Uttar Pradesh","raya-rawat":"Karnātaka",raysipotra:"Gujarāt",reddi:"Kerala","reddi-dora":"Andhra Pradesh",reddika:"Andhra Pradesh",rehar:"Himāchal Pradesh",royma:"Gujarāt",rujjhar:"Madhya Pradesh","rumai-de-ang":"Yunnan Province",runjalavallu:"Andhra Pradesh",runwalas:"Rājasthān",sabakhia:"Odisha",sabar:"Tripura",sadaru:"Andhra Pradesh","sadhu-chetty":"Andhra Pradesh",sagar:"Gujarāt",sagharias:"Dādra and Nagar Haveli and Damān and Diu",saha:"Tripura",sahi:"Mahārāshtra",sahisia:"Bihār",sain:"Rājasthān",sais:"Madhya Pradesh",sakunapaksollu:"Andhra Pradesh",salivahanam:"Tamil Nādu",saman:"Heilongjiang Province",samanthan:"Kerala",samasi:"Odisha",samayavallu:"Andhra Pradesh",sanchia:"Rājasthān",sanda:"Yunnan Province","sandhai-muslims":"Gujarāt",sanei:"Odisha",sanghar:"Mahārāshtra",sanhai:"Himāchal Pradesh",sanqiao:"Guizhou Province",sansoi:"Himāchal Pradesh",santia:"Rājasthān",sapalyas:"Karnātaka",saradagallu:"Telangāna","saragh-yugur":"Gansu Province",saranias:"Gujarāt",saraogi:"Rājasthān","sarikoli-tajiks":"Xinjiang Uyghur Autonomous Region",sarodi:"Mahārāshtra",savalakkarar:"Tamil Nādu","sayyid-chhattisgarhi":"Chhattīsgarh","sayyid-garhwali":"Uttarākhand","sayyid-gujarati":"Gujarāt","sayyid-kannada":"Karnātaka","sayyid-odia":"Odisha","sayyid-pahari":"Jammu and Kashmīr","sayyid-tamil":"Tamil Nādu",semman:"Tamil Nādu",senaithalaivar:"Tamil Nādu",senapathi:"Andhra Pradesh",sentinelese:"Andaman and Nicobar Islands",seok:"Himāchal Pradesh",serdukpen:"Arunāchal Pradesh",shabdakar:"Tripura",shaksaz:"Jammu and Kashmīr",sheikhzade:"Uttar Pradesh",shenzhou:"Guizhou Province",shershabadia:"Bihār",shikari:"Rājasthān","shina-india":"Jammu and Kashmīr",shixing:"Sichuan Province",shravan:"Gujarāt","sichuan-mongols":"Yunnan Province",siddi:"Gujarāt",sikligar:"Madhya Pradesh",silavantulu:"Andhra Pradesh",sindhollu:"Telangāna",sinduria:"Odisha",singiwala:"Rājasthān",sisgars:"Madhya Pradesh",siviar:"Tamil Nādu",siyalgar:"West Bengal",sofi:"Jammu and Kashmīr",soligaru:"Karnātaka","sompura-salat":"Gujarāt","son-koli":"Chhattīsgarh",sonavar:"Puducherry",sorgars:"Rājasthān",soria:"Madhya Pradesh",suda:"Odisha",sudhan:"Jammu and Kashmīr",sudir:"Karnātaka","sudra-das":"Assam",sukiyar:"Jhārkhand",sunga:"Rājasthān",sunuwar:"West Bengal","suodi-nosu":"Sichuan Province","sutar-mistry":"Mahārāshtra",sutradhar:"West Bengal","swakulasali-koshti":"Andhra Pradesh",swangla:"Himāchal Pradesh","ta-er":"Yunnan Province",tagewale:"Uttarākhand",tagu:"Yunnan Province",tai:"Gujarāt","tai-lu":"Yunnan Province","tai-pong":"Yunnan Province",taiphake:"Assam",tak:"Rājasthān",takari:"Mahārāshtra",tambiran:"Tamil Nādu","tamboli-bengali":"West Bengal","tamboli-telugu":"Andhra Pradesh",targala:"Gujarāt",telengi:"Andaman and Nicobar Islands","teli-assamese":"Assam","thachanad-moopan":"Kerala",thakurai:"Bihār",thammadi:"Karnātaka",thanapati:"Odisha",thanga:"Manipur",tharua:"Odisha",thavi:"Himāchal Pradesh",theba:"Gujarāt","thogataveera-kshatriya":"Andhra Pradesh","tholuva-naicker":"Tamil Nādu",thoraiyar:"Tamil Nādu",tikulhara:"Bihār",tilli:"Bihār",tirgar:"Gujarāt",tirugatigantla:"Andhra Pradesh",tiyattunni:"Kerala",tolakari:"Andhra Pradesh",tondman:"Tamil Nādu","tongren-bonan":"Qinghai Province","tripuri-kumhar":"West Bengal","tripuri-namasudra":"Tripura","tula-vina":"Odisha",tulao:"Yunnan Province","turi-barot":"Gujarāt","turuk-pasi":"Bihār",turun:"Assam",tusu:"Yunnan Province",udupula:"Andhra Pradesh",uppara:"Andhra Pradesh",uppillian:"Tamil Nādu","urikkar-naicker":"Tamil Nādu",urindavan:"Kerala",usta:"Rājasthān",uzbeks:"Xinjiang Uyghur Autonomous Region",vadi:"Gujarāt",vadugan:"Kerala","vahivanca-barot":"Gujarāt","vaikhanasa-brahmans":"Andhra Pradesh",valinjiyar:"Kerala","van-baoriya":"Rājasthān",vayati:"Gujarāt",ved:"Rājasthān",velip:"Mahārāshtra","vellaiyan-kuppam-padaiyaci":"Tamil Nādu","verra-musti":"Telangāna",vetan:"Kerala",vettaikkaran:"Tamil Nādu",vettalaikarans:"Puducherry",vettiyan:"Puducherry",vijabargiya:"Rājasthān",vilkurup:"Kerala",vilyagaras:"Karnātaka",vipravinodulu:"Andhra Pradesh",visavan:"Kerala",vyapari:"Gujarāt",wagheri:"Gujarāt",waidu:"Mahārāshtra","wainadan-cetti":"Kerala","wainadan-kader":"Kerala","wainadan-pulayan":"Kerala","wakhi-china":"Xinjiang Uyghur Autonomous Region",wandharo:"Gujarāt","wayanad-pathiyan":"Kerala",waza:"Jammu and Kashmīr","wenma-zhuang":"Yunnan Province","western-gaisu":"Yunnan Province","western-samadu":"Yunnan Province","western-xibe":"Xinjiang Uyghur Autonomous Region",wopu:"Guizhou Province",wunai:"Hunan Province",wutun:"Qinghai Province",xi:"Guizhou Province",xialusi:"Guizhou Province","xiaoliangshan-nosu":"Yunnan Province",xijima:"Yunnan Province","xinping-lalu":"Yunnan Province","xuzhang-lalu":"Yunnan Province",ya:"Yunnan Province",yakha:"Sikkim",yanghuang:"Guizhou Province",yata:"Andhra Pradesh",yatagiri:"Andhra Pradesh",yatibi:"Manipur",yatla:"Andhra Pradesh",yelmar:"Mahārāshtra",yerong:"Guangxi Zhuang Autonomous Region","yidu-lhoba":"Tibet Autonomous Region","yinuo-nosu":"Sichuan Province",yite:"Andhra Pradesh",yizi:"Guizhou Province",youmai:"Guizhou Province","younuo-bunu":"Guangxi Zhuang Autonomous Region","yunnan-mongol":"Yunnan Province","yunnan-shui":"Yunnan Province",za:"Tibet Autonomous Region",zakhrin:"Arunāchal Pradesh",zamral:"Madhya Pradesh"},ia={RED:"#e11d48",RED_DK:"#9f1239",NAVY:"#002e6e",GOLD:"#f59e0b",WHITE:"#ffffff",GREEN_BINS:["#9bcf9b","#5cb874","#1f9d55","#0f7a3d","#0a5c2e"],RED_RAMP:["#fdba74","#fb923c","#f97316","#ea580c","#c2410c"],CAT:["#002e6e","#1f9d55","#f59e0b","#e11d48","#7c3aed","#0891b2","#65a30d","#be123c","#a16207"]},yr=["2–10%","10–25%","25–50%","50–75%","75–100%"];function $t(a){const n=+a||0;return n<10?0:n<25?1:n<50?2:n<75?3:4}function qe(a){return ia.GREEN_BINS[$t(a)]}function Fi(a){const n=+a||0;return n>=80?ia.RED_RAMP[4]:n>=40?ia.RED_RAMP[3]:n>=15?ia.RED_RAMP[2]:n>=5?ia.RED_RAMP[1]:ia.RED_RAMP[0]}function Ki(a,n=4,e=22){const i=Math.max(1,+a||0),t=Math.min(1,Math.log10(i)/9);return n+(e-n)*t}function br(a){return a==="same-language"?null:a==="related-cluster"?[4,3]:[1,3]}function Pg(a){const n=String(a||"").trim();return n&&n.split(" - ")[0].trim()||"Unknown"}function _e(a){const n=+a||0;return n>=1e9?(n/1e9).toFixed(1)+"B":n>=1e6?(n/1e6).toFixed(1)+"M":n>=1e3?Math.round(n/1e3)+"K":String(Math.round(n))}const Un=a=>String(a||"").trim().toLowerCase(),Cg=a=>a&&typeof a=="object"?a.label??a.value??"":a??"",Ib=a=>a&&typeof a=="object"?a.value??a.label??"":a??"",wb={"People's Republic of China":"China","Lao People’s Democratic Republic":"Laos","Lao People's Democratic Republic":"Laos"},xb=a=>wb[a]||a;function Tb(){const a=ua(null),n=ua({languages:new Set,countries:new Set,religions:new Set,bridges:new Set,reachedMin:null}),e=ua(""),i=ua("pct"),t=ua(null),o=ua(!1),r=ua("map"),l=ua("mobilization"),s=ua(null),g=ua(!1),d=ua(""),_=ua(""),k=ua([]),x=ua([]),D=ua(fg||{}),T=ua((ee==null?void 0:ee.meta)||{});async function $(p){const M=p||{};d.value="",x.value=Nb(ee);const N=Lb(x.value);let U=[];try{U=await Kb(M)}catch(h){d.value="Live unreached API unreachable — "+((h==null?void 0:h.message)||h),k.value=$b(ee,N),_.value=new Date().toISOString(),g.value=!0;return}k.value=Rb(U,N),_.value=new Date().toISOString(),g.value=!0}const w=la(()=>{let p=k.value;const M=n.value;M.countries.size&&(p=p.filter(U=>M.countries.has(U.country))),M.languages.size&&(p=p.filter(U=>U.langs.some(h=>M.languages.has(h))));const N=Un(e.value);if(N&&(p=p.filter(U=>Un(U.label).includes(N)||Un(U.country).includes(N)||U.langs.some(h=>Un(h).includes(N)))),t.value){const U=Un(t.value),h=P(U);p=p.filter(C=>h.has(C.id))}return[...p].sort((U,h)=>h.senderCount-U.senderCount||h.target_pop-U.target_pop||h.count-U.count)}),L=la(()=>a.value&&k.value.find(p=>p.id===a.value)||null),E=la(()=>a.value?x.value.filter(p=>p.targetId===a.value):[]),I=la(()=>{let p=E.value;const M=n.value;M.languages.size&&(p=p.filter(U=>M.languages.has(U.lang))),M.countries.size&&(p=p.filter(U=>M.countries.has(U.country))),M.religions.size&&(p=p.filter(U=>M.religions.has(U.religionFamily))),M.bridges.size&&(p=p.filter(U=>M.bridges.has(U.bridge))),M.reachedMin!=null&&(p=p.filter(U=>U.pct>=M.reachedMin));const N=Un(e.value);return N&&(p=p.filter(U=>Un(U.name).includes(N)||Un(U.lang).includes(N)||Un(U.country).includes(N))),p}),G=la(()=>I.value.filter(p=>isFinite(p.lat)&&isFinite(p.lng)).map(p=>({...p,isPool:!1}))),S=la(()=>{const p=w.value.length;if(a.value){const N=E.value.length,U=I.value.length;return{senders:U,clusters:p,hidden:Math.max(0,N-U)}}return{senders:w.value.reduce((N,U)=>N+U.senderCount,0),clusters:p,hidden:0}}),v=la(()=>{const p=L.value;if(!p)return S.value.clusters+" unreached clusters · "+S.value.senders.toLocaleString()+" reached senders nearby — pick a red to send";const M=I.value,N=t.value||[...n.value.languages][0]||"",U=[...M].sort((y,R)=>R.pct-y.pct||R.pop-y.pop)[0],h=(N?N+" × ":"")+p.country,C=U?" · top "+U.name+" "+Math.round(U.pct)+"%, "+_e(U.pop):"";return h+": "+p.count+" unreached · "+M.length+(N?" nearby "+N+" senders":" nearby senders")+C}),K=la(()=>{const p=[...I.value],M={"same-language":0,"related-cluster":1,"same-country":2};switch(l.value){case"pct":p.sort((N,U)=>U.pct-N.pct||U.pop-N.pop);break;case"pop":p.sort((N,U)=>U.pop-N.pop||U.pct-N.pct);break;case"name":p.sort((N,U)=>N.name.localeCompare(U.name));break;case"bridge":p.sort((N,U)=>(M[N.bridge]??9)-(M[U.bridge]??9)||U.pct-N.pct);break;case"frontier":p.sort((N,U)=>U.pop-N.pop||N.pct-U.pct);break;case"mobilization":default:p.sort((N,U)=>U.pct-N.pct||U.pop-N.pop);break}return p}),O=la(()=>{const p=a.value?I.value:x.value.filter(M=>c().has(M.targetId));return{languageBar:jg(p,M=>M.lang,12),countryBar:jg(p,M=>M.country,12),reachedHist:yr.map((M,N)=>({key:N,label:M,value:p.filter(U=>U.bin===N).length,color:ia.GREEN_BINS[N]})),donut:i.value==="religion"?kg(p,M=>M.religionFamily):kg(p,M=>M.bridge)}}),q=la(()=>{var p,M,N;return{liveTargets:k.value.length,liveUnreached:k.value.reduce((U,h)=>U+h.count,0),loadedAt:_.value,bakedGenerated:((p=T.value)==null?void 0:p.generated)||"",bakedSenders:((M=T.value)==null?void 0:M.total_neighbors)||x.value.length,reachedFilter:((N=T.value)==null?void 0:N.reached_filter)||"",admin1Level:"IN/CN admin1 (point-in-polygon, "+Object.keys(D.value).length+" groups)",apiError:d.value}}),sa=la(()=>{const p=[],M=n.value;a.value&&L.value&&p.push({kind:"focus",value:L.value.country,label:L.value.country});for(const N of M.languages)p.push({kind:"languages",value:N,label:N});for(const N of M.countries)p.push({kind:"countries",value:N,label:N});for(const N of M.religions)p.push({kind:"religions",value:N,label:N});for(const N of M.bridges)p.push({kind:"bridges",value:N,label:N});return M.reachedMin!=null&&p.push({kind:"reachedMin",value:M.reachedMin,label:"reached% ≥ "+M.reachedMin}),t.value&&p.push({kind:"lens",value:t.value,label:"lens: "+t.value}),p});function ea(p){a.value=p}function ga(){a.value=null}function Sa(p,M){const N=n.value[p];N instanceof Set&&(N.has(M)?N.delete(M):N.add(M),n.value={...n.value})}function Ma(p){n.value={...n.value,reachedMin:p==null||p===""?null:+p}}function ma(p){e.value=String(p??"")}function pa(p){i.value=p==="religion"?"religion":"pct"}function Y(p){t.value=p||null}function ta(){o.value=!o.value}function aa(p){r.value=p==="flower"?"flower":"map"}function ba(p){l.value=p||"mobilization"}function na(p){s.value=p||null}function u(p){if(p)return p.kind==="focus"?ga():p.kind==="reachedMin"?Ma(null):p.kind==="lens"?Y(null):Sa(p.kind,p.value)}function A(){n.value={languages:new Set,countries:new Set,religions:new Set,bridges:new Set,reachedMin:null},t.value=null,e.value=""}function j(p){var H,V,oa;const M=Array.isArray(p)?p:K.value,N=["name","country","lang","rol3","pct","pop","bridge","adjacency","religion_bg"],U=Q=>{let m=String(Q??"");return/^[=+\-@]/.test(m)&&(m="'"+m),'"'+m.replace(/"/g,'""')+'"'},h="# BloomField Cockpit — reached neighbors for "+(((H=L.value)==null?void 0:H.country)||"all targets")+" · baked "+(((V=T.value)==null?void 0:V.generated)||"")+" · "+M.length+" rows · "+(_.value||""),C=N.join(","),y=M.map(Q=>N.map(m=>U(Q[m])).join(",")).join(` +`),R=h+` +`+C+` +`+y+` +`;try{const Q=new Blob([R],{type:"text/csv;charset=utf-8;"}),m=URL.createObjectURL(Q),b=document.createElement("a");b.href=m,b.download="send-list-"+(((oa=L.value)==null?void 0:oa.country)||"all").replace(/\W+/g,"-").toLowerCase()+".csv",document.body.appendChild(b),b.click(),b.remove(),setTimeout(()=>URL.revokeObjectURL(m),1e3)}catch{}return R}function c(){return new Set(w.value.map(p=>p.id))}function P(p){const M=new Set;for(const N of x.value)Un(N.lang)===p&&M.add(N.targetId);return M}return{focusedTargetId:a,facets:n,search:e,colorBy:i,languageLens:t,provinceDrill:o,mode:r,sortKey:l,hoveredId:s,hoveredSenderId:s,ready:g,loadError:d,loadedAt:_,meta:T,admin1:D,allClusters:k,allSenders:x,clusters:w,focusedTarget:L,sendersForFocus:E,visibleSenders:I,mapNodes:G,counts:S,headline:v,listRows:K,chartData:O,provenance:q,chips:sa,loadData:$,selectTarget:ea,clearFocus:ga,toggleFacet:Sa,setReachedMin:Ma,setSearch:ma,setColorBy:pa,setLanguageLens:Y,toggleProvince:ta,setMode:aa,setSort:ba,setHover:na,removeChip:u,clearAllFacets:A,exportSelectionCSV:j,quantileBin:$t,reachedColor:qe,redColor:Fi,logRadius:Ki,bridgeDash:br,religionFamily:Pg,fmtPop:_e,COLORS:ia}}function Ft(){const a=Ya("cockpitStore",null);if(!a)throw new Error("[useCockpitStore] no cockpitStore provided — mount inside ");return a}function Nb(a){const n=[],e=(a==null?void 0:a.countries)||{};for(const[i,t]of Object.entries(e))for(const o of t.neighbors||[]){const r=Number(o.lat),l=Number(o.lng);if(!isFinite(r)||!isFinite(l))continue;const s=+o.pct_christian||0;n.push({id:o.code||i+"|"+o.name+"|"+o.country+"|"+(o.rol3||""),targetId:i,name:o.name,country:o.country,lang:o.lang,rol3:o.rol3||"",pct:s,pop:+o.pop||0,bridge:o.bridge||"",adjacency:o.adjacency||"",religion_bg:o.religion_bg||"",religionFamily:Pg(o.religion_bg),lat:r,lng:l,code:o.code||"",bin:$t(s),color:qe(s)})}return n}function Lb(a){const n=new Map;for(const e of a){let i=n.get(e.targetId);i||(i={count:0,pop:0},n.set(e.targetId,i)),i.count++,i.pop+=e.pop}return n}function Rb(a,n){const e=new Map;for(const i of a){const t=Number(i.latitude),o=Number(i.longitude),r=xb(Cg(i.country_code)||"(unknown)"),l=Cg(i.primary_language)||"",s=i.slug||Ib(i.primary_language)+":"+i.name;let g=e.get(r);g||(g={id:r,country:r,label:r,count:0,target_pop:0,_sumLat:0,_sumLng:0,_n:0,langSet:new Set,members:[]},e.set(r,g)),g.count++,l&&g.langSet.add(l),g.members.push({name:i.name,slug:s,lang:l,lat:t,lng:o}),isFinite(t)&&isFinite(o)&&(g._sumLat+=t,g._sumLng+=o,g._n++)}return Fb([...e.values()],n)}function $b(a,n){const e=[];for(const[i,t]of Object.entries((a==null?void 0:a.countries)||{})){const o=n.get(i);e.push({id:i,country:i,label:i,count:+t.target_upg||0,target_pop:+t.target_pop||0,lat:null,lng:null,langs:t.target_top_langs||[],target_top_langs:t.target_top_langs||[],target_top_religion:t.target_top_religion||"",senderCount:o?o.count:0,hasSenders:!!o,color:Fi(+t.target_upg||0)})}return e}function Fb(a,n){const e=[];for(const i of a){i._n?(i.lat=i._sumLat/i._n,i.lng=i._sumLng/i._n):(i.lat=null,i.lng=null);const t=n.get(i.id);e.push({id:i.id,country:i.country,label:i.label,count:i.count,target_pop:i.target_pop,lat:i.lat,lng:i.lng,langs:[...i.langSet],target_top_langs:[...i.langSet].slice(0,4),target_top_religion:"",members:i.members,senderCount:t?t.count:0,hasSenders:!!t,color:Fi(i.count)})}return e.sort((i,t)=>t.count-i.count),e}async function Kb(a){const n=a.apiBase||typeof window<"u"&&(window.MAP_APP_API_URL||window.VITE_API_BASE_URL);if(!n)throw new Error("No API base configured (apiBase / window.MAP_APP_API_URL / VITE_API_BASE_URL) — failing closed, no default host.");const i=n.replace(/\/?$/,"")+"/api/people-groups/list?fields="+"slug,name,latitude,longitude,country_code,primary_language,wagf_block"+"&lang=en",t=await fetch(i,{cache:"no-store"});if(!t.ok)throw new Error("list "+t.status);const o=await t.json();return o.posts||o.data||o.records||o.results||o.items||(Array.isArray(o)?o:[])}function jg(a,n,e){const i=new Map;for(const t of a){const o=n(t)||"—";i.set(o,(i.get(o)||0)+1)}return[...i.entries()].map(([t,o])=>({key:t,label:t,value:o})).sort((t,o)=>o.value-t.value).slice(0,e)}function kg(a,n){const e=new Map;for(const t of a){const o=n(t)||"—";e.set(o,(e.get(o)||0)+1)}return[...e.entries()].sort((t,o)=>o[1]-t[1]).map(([t,o],r)=>({key:t,label:t,value:o,color:ia.CAT[r%ia.CAT.length]}))}const Gg="https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.css";async function Bb(a){const n=a.getRootNode();if(!(n instanceof ShadowRoot))return;const e=o=>new Promise(r=>setTimeout(r,o)),i=n.querySelector(`link[href="${Gg}"]`);if(i){if(i.sheet)return;await Promise.race([new Promise(o=>{i.addEventListener("load",o,{once:!0}),i.addEventListener("error",o,{once:!0})}),e(2e3)]);return}const t=document.createElement("link");t.rel="stylesheet",t.href=Gg,await Promise.race([new Promise(o=>{t.addEventListener("load",o,{once:!0}),t.addEventListener("error",o,{once:!0}),n.prepend(t)}),e(2e3)])}const Ob=85.0511,vg=-2,Ub=0,Hb=-60;function Ag(a){return(1-Math.log(Math.tan(Math.PI/4+a*Math.PI/180/2))/Math.PI)/2}function Db(a,n,e,i){if(!a||a<=0||!n||n<=0)return Ub;const t=Math.log2(a/512),o=Ag(i)-Ag(Ob),r=Math.log2(n/(512*o)),l=Math.max(t,r);return Math.max(vg,Math.min(l,(e??18)-1))}function Kt({containerRef:a,accessToken:n,style:e,center:i=[20,10],zoom:t=2,minZoom:o=void 0,maxZoom:r=18,pitch:l=0,bearing:s=0,renderWorldCopies:g=!0,southCutoff:d=Hb,maxBounds:_=void 0}){const k=ua(null),x=ua(!1);let D=null,T=null;async function $(){var O;if(typeof mapboxgl>"u"){console.error("mapboxgl is not available. Add the Mapbox GL JS script to your page.");return}if(!a.value){console.error("containerRef.value is null — call initializeMap() inside onMounted()");return}if(!n){console.error('No Mapbox access token provided. Pass "tk" in profile-config JSON.');return}if(!n.startsWith("pk.")){console.error('Mapbox token looks invalid (expected "pk." prefix). Got:',n.slice(0,10)+"...");return}await Bb(a.value),await new Promise(q=>requestAnimationFrame(q));const L=a.value,E=L.clientWidth,I=L.clientHeight;if(E===0||I===0){console.error(`[useMapInstance] Container has ZERO dimensions (${E}×${I}). Map will be invisible. Check that parent elements have CSS sizing.`);let q=L.parentElement,sa=0;for(;q&&sa<5;)q=q.parentElement,sa++}const G=n;mapboxgl.accessToken=G;const S=()=>typeof window<"u"&&window.innerWidth>=1024,v=(q,sa)=>{if(!S())return vg;const ea=Db(q,sa,r,d);return typeof o=="number"?Math.max(o,ea):ea},K=v(L.clientWidth,L.clientHeight);k.value=new mapboxgl.Map({accessToken:G,container:a.value,style:e,center:i,zoom:t,minZoom:K,maxZoom:r,pitch:l,bearing:s,dragRotate:!1,touchPitch:!1,renderWorldCopies:g,..._?{maxBounds:_}:{},attributionControl:!1}),k.value.touchZoomRotate.disableRotation();{const q=((O=a.value)==null?void 0:O.parentElement)||null,sa=q?Array.from(q.querySelectorAll(".map-scroll-edge")):[];if(sa.length){const ea="rgba(120, 128, 134, 0.28)",ga="36px",Sa=p=>p.classList.contains("map-scroll-edge--left");for(const p of sa)p.style.background=`linear-gradient(${Sa(p)?"to right":"to left"}, ${ea} ${ga}, transparent ${ga})`,p.style.opacity="0",p.style.transition="opacity 0.16s ease",p.style.userSelect="none",p.style.webkitUserSelect="none";const Ma=p=>{p.style.opacity="1"},ma=p=>{p.style.opacity="0"},pa=()=>sa.find(p=>S()?!Sa(p):Sa(p))||null,Y=new Set;let ta=!1,aa=null;const ba=()=>{for(const p of sa)Y.has(p)||ma(p)},na=()=>{const p=pa();p&&(Ma(p),aa&&clearTimeout(aa),aa=setTimeout(ba,250))},u=()=>{S()&&na()},A=p=>{if(!(p.touches&&p.touches.length===1))return;const M=p.target;M&&M.classList&&M.classList.contains("map-scroll-edge")||na()},j=()=>{aa&&clearTimeout(aa),ba()};q.addEventListener("wheel",u,{passive:!0}),q.addEventListener("touchmove",A,{passive:!0}),q.addEventListener("touchend",j,{passive:!0}),q.addEventListener("touchcancel",j,{passive:!0});const c=()=>{ta||na()};typeof window<"u"&&window.addEventListener("scroll",c,{passive:!0});const P=[];for(const p of sa){const M=()=>{Y.add(p),Ma(p)},N=()=>{Y.delete(p),ma(p)},U=()=>{ta=!0,Ma(p)},h=()=>{ta=!1,ma(p)};p.addEventListener("mouseenter",M),p.addEventListener("mouseleave",N),p.addEventListener("touchstart",U,{passive:!0}),p.addEventListener("touchend",h,{passive:!0}),P.push(()=>{p.removeEventListener("mouseenter",M),p.removeEventListener("mouseleave",N),p.removeEventListener("touchstart",U),p.removeEventListener("touchend",h)})}T=()=>{aa&&(clearTimeout(aa),aa=null),q.removeEventListener("wheel",u),q.removeEventListener("touchmove",A),q.removeEventListener("touchend",j),q.removeEventListener("touchcancel",j),typeof window<"u"&&window.removeEventListener("scroll",c);for(const p of P)p();for(const p of sa)ma(p)}}}D=()=>{const q=k.value;if(!q)return;const sa=v(L.clientWidth,L.clientHeight);q.setMinZoom(sa),q.getZoom(){requestAnimationFrame(()=>{var q;(q=k.value)==null||q.resize(),k.value&&k.value.setMinZoom(v(L.clientWidth,L.clientHeight)),x.value=!0})})}function w(){k.value&&(D&&(k.value.off("resize",D),typeof window<"u"&&(window.removeEventListener("resize",D),window.removeEventListener("orientationchange",D)),D=null),T&&(T(),T=null),k.value.remove(),k.value=null,x.value=!1)}return{map:k,isMapReady:x,initializeMap:$,destroy:w}}const zb={key:0,class:"cpt-mc-ctl"},Vb={class:"cpt-mc-seg",role:"group","aria-label":"Green color encoding"},Yb={key:1,class:"cpt-mc-headline"},Wb={key:2,class:"cpt-mc-loading"},Jb={key:0},Zb={key:1},qb=["innerHTML"],_r="cpt-red-src",fr="cpt-green-src",Bt="cpt-arc-src",fe="cpt-red",Sg="cpt-red-lbl",ie="cpt-green",Eg="cpt-green-lbl",Ot="cpt-arc-solid",Ut="cpt-arc-dash",Ht="cpt-arc-dot",Bi="cpt-prov",Xb={__name:"MapCell",setup(a){const n=Ft(),e=Ya("profileConfig"),i=Ya("mapboxToken"),t=la(()=>(e==null?void 0:e.value)||{}),o=la(()=>!(i!=null&&i.value||t.value.tk)),r=ua(null),l=ua(null),s=ua(!1),g=ua({show:!1,pinned:!1,x:0,y:0,html:""}),d=ia.GREEN_BINS[3],{map:_,initializeMap:k,destroy:x}=Kt({containerRef:l,accessToken:(i==null?void 0:i.value)||t.value.tk||"",style:t.value.style??"mapbox://styles/mapbox/light-v11",center:t.value.center??[55,22],zoom:t.value.zoom??1.7,minZoom:t.value.minZoom??1,maxZoom:t.value.maxZoom??12}),D=la(()=>{const u=[...new Set(n.visibleSenders.value.map(j=>j.religionFamily).filter(Boolean))].sort(),A={};return u.forEach((j,c)=>{A[j]=ia.CAT[c%ia.CAT.length]}),A}),T=u=>({type:"FeatureCollection",features:u});function $(u,A,j=48){const c=Math.PI/180,P=180/Math.PI,p=u[1]*c,M=u[0]*c,N=A[1]*c,U=A[0]*c,h=(N-p)/2,C=(U-M)/2,y=Math.sin(h)**2+Math.cos(p)*Math.cos(N)*Math.sin(C)**2,R=2*Math.asin(Math.min(1,Math.sqrt(y)));if(!R)return[u,A];const H=[];for(let V=0;V<=j;V++){const oa=V/j,Q=Math.sin((1-oa)*R)/Math.sin(R),m=Math.sin(oa*R)/Math.sin(R),b=Q*Math.cos(p)*Math.cos(M)+m*Math.cos(N)*Math.cos(U),F=Q*Math.cos(p)*Math.sin(M)+m*Math.cos(N)*Math.sin(U),J=Q*Math.sin(p)+m*Math.sin(N);H.push([Math.atan2(F,b)*P,Math.atan2(J,Math.sqrt(b*b+F*F))*P])}return H}function w(){const u=[];for(const A of n.clusters.value)!isFinite(A.lat)||!isFinite(A.lng)||u.push({type:"Feature",geometry:{type:"Point",coordinates:[A.lng,A.lat]},properties:{id:A.id,count:A.count,hasSenders:!!A.hasSenders,senderCount:A.senderCount||0,color:Fi(A.count),r:Math.min(34,6+Math.sqrt(Math.max(0,A.count))*2.4),label:A.country+" ("+A.count+")",country:A.country,langs:(A.target_top_langs||[]).slice(0,3).join(", ")}});return T(u)}function L(){const u=[],A=n.colorBy.value==="religion";for(const j of n.mapNodes.value){if(!isFinite(j.lng)||!isFinite(j.lat))continue;let c,P,p,M,N;if(j.isPool){const U=j.members||[],h=U.length?U.reduce((y,R)=>y+(R.pct||0),0)/U.length:0,C=U.reduce((y,R)=>y+(R.pop||0),0);c=qe(h),P=Ki(C,7,26),p="",M=_e(C),N=""}else c=A?D.value[j.religionFamily]||ia.GREEN_BINS[2]:j.color||qe(j.pct),P=Ki(j.pop),p=Math.round(j.pct)+"%",M=_e(j.pop),N=j.religionFamily||"";u.push({type:"Feature",geometry:{type:"Point",coordinates:[j.lng,j.lat]},properties:{id:j.id,name:j.name,label:j.name,color:c,r:P,isPool:!!j.isPool,country:j.country||"",lang:j.lang||"",pct:p,pop:M,religion:N,bridge:j.bridge||""}})}return T(u)}function E(){const u=n.focusedTarget.value;if(!u||!isFinite(u.lat)||!isFinite(u.lng))return T([]);const A=[u.lng,u.lat],j=[];for(const c of n.mapNodes.value){if(!isFinite(c.lng)||!isFinite(c.lat))continue;const P=c.isPool?"same-country":c.bridge||"same-country";j.push({type:"Feature",geometry:{type:"LineString",coordinates:$([c.lng,c.lat],A)},properties:{bridge:P}})}return T(j)}function I(u,A,j){const c=u.getSource(A);c?c.setData(j):u.addSource(A,{type:"geojson",data:j})}function G(u){const j=(u.getStyle&&u.getStyle().layers||[]).find(c=>c.type==="symbol");return j?j.id:void 0}function S(u){u.getLayer(Ot)||u.addLayer({id:Ot,type:"line",source:Bt,filter:["==",["get","bridge"],"same-language"],layout:{"line-cap":"round"},paint:{"line-color":ia.NAVY,"line-width":1.4,"line-opacity":.6}}),u.getLayer(Ut)||u.addLayer({id:Ut,type:"line",source:Bt,filter:["==",["get","bridge"],"related-cluster"],layout:{"line-cap":"butt"},paint:{"line-color":ia.NAVY,"line-width":1.4,"line-opacity":.6,"line-dasharray":[4,3]}}),u.getLayer(Ht)||u.addLayer({id:Ht,type:"line",source:Bt,filter:["all",["!=",["get","bridge"],"same-language"],["!=",["get","bridge"],"related-cluster"]],layout:{"line-cap":"round"},paint:{"line-color":ia.NAVY,"line-width":1.6,"line-opacity":.6,"line-dasharray":[1,3]}}),u.getLayer(ie)||u.addLayer({id:ie,type:"circle",source:fr,paint:{"circle-color":["get","color"],"circle-radius":["max",2,["*",["get","r"],.55]],"circle-stroke-width":["case",["get","isPool"],2.5,.8],"circle-stroke-color":["case",["get","isPool"],ia.GOLD,"#ffffff"],"circle-opacity":.92,"circle-opacity-transition":{duration:350}}}),u.getLayer(Eg)||u.addLayer({id:Eg,type:"symbol",source:fr,minzoom:3.4,layout:{"text-field":["get","label"],"text-size":10,"text-offset":[0,1.1],"text-anchor":"top","text-allow-overlap":!1,"text-optional":!0},paint:{"text-color":"#0b5e33","text-halo-color":"#ffffff","text-halo-width":1.3}}),u.getLayer(fe)||u.addLayer({id:fe,type:"circle",source:_r,paint:{"circle-color":["get","color"],"circle-radius":["get","r"],"circle-opacity":.82,"circle-stroke-width":2,"circle-stroke-color":d,"circle-opacity-transition":{duration:300}}}),u.getLayer(Sg)||u.addLayer({id:Sg,type:"symbol",source:_r,minzoom:2.4,layout:{"text-field":["get","label"],"text-size":11,"text-offset":[0,1.2],"text-anchor":"top","text-allow-overlap":!1,"text-optional":!0},paint:{"text-color":ia.RED_DK,"text-halo-color":"#ffffff","text-halo-width":1.4}})}function v(u){if(!u.getLayer(fe))return;const A=n.focusedTargetId.value;u.setPaintProperty(fe,"circle-opacity",A?["case",["==",["get","id"],A],.95,.5]:["case",["get","hasSenders"],.82,.14]),u.setPaintProperty(fe,"circle-stroke-color",A?["case",["==",["get","id"],A],ia.GOLD,["case",["get","hasSenders"],d,ia.RED_DK]]:["case",["get","hasSenders"],d,ia.RED_DK]),u.setPaintProperty(fe,"circle-stroke-width",A?["case",["==",["get","id"],A],4,["case",["get","hasSenders"],2.4,1.6]]:["case",["get","hasSenders"],2.4,1.6])}function K(u,A){if(A)if(u.getLayer(Bi))try{u.setLayoutProperty(Bi,"visibility","visible")}catch{}else try{const j=u.getLayer(Ot)?Ot:G(u);u.addLayer({id:Bi,type:"line",source:"composite","source-layer":"admin",filter:["all",["==",["get","admin_level"],1],["==",["get","maritime"],"false"]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":ia.NAVY,"line-width":.7,"line-opacity":.45,"line-dasharray":[2,2]}},j)}catch{}else if(u.getLayer(Bi))try{u.setLayoutProperty(Bi,"visibility","none")}catch{}}function O(){var A;const u=_.value;!u||!((A=u.isStyleLoaded)!=null&&A.call(u))||(I(u,Bt,E()),I(u,fr,L()),I(u,_r,w()),S(u),v(u),Y(pa),K(u,n.provinceDrill.value),n.focusedTargetId.value?Ma():ma())}function q(){const u=_.value;if(!u)return;const A=n.focusedTarget.value;if(!A){try{u.stop(),u.easeTo({center:t.value.center??[55,22],zoom:t.value.zoom??1.7,duration:700})}catch{}return}const j=[];isFinite(A.lat)&&isFinite(A.lng)&&j.push([A.lng,A.lat]);for(const N of n.mapNodes.value)isFinite(N.lng)&&isFinite(N.lat)&&j.push([N.lng,N.lat]);if(!j.length)return;let c=j[0][0],P=j[0][0],p=j[0][1],M=j[0][1];for(const N of j)c=Math.min(c,N[0]),P=Math.max(P,N[0]),p=Math.min(p,N[1]),M=Math.max(M,N[1]);try{u.stop(),c===P&&p===M?u.easeTo({center:[c,p],zoom:4.5,duration:800}):u.fitBounds([[c,p],[P,M]],{padding:80,maxZoom:6,duration:800})}catch{}}const sa=[[0,4,3],[.5,4,2.5],[1,4,2],[1.5,4,1.5],[2,4,1],[2.5,4,.5],[3,4,0],[0,.5,4,2.5],[0,1,4,2],[0,1.5,4,1.5],[0,2,4,1],[0,2.5,4,.5]],ea=[[1,3],[0,.75,1,2.25],[0,1.5,1,1.5],[0,2.25,1,.75]];let ga=null,Sa=0;function Ma(){ga||(ga=setInterval(()=>{const u=_.value;if(u){Sa++;try{u.getLayer(Ut)&&u.setPaintProperty(Ut,"line-dasharray",sa[Sa%sa.length]),u.getLayer(Ht)&&u.setPaintProperty(Ht,"line-dasharray",ea[Sa%ea.length])}catch{}}},80))}function ma(){ga&&(clearInterval(ga),ga=null)}let pa=null;function Y(u){pa=u;const A=_.value;!A||!A.getLayer(ie)||(A.setPaintProperty(ie,"circle-stroke-width",u?["case",["==",["get","id"],u],4,["case",["get","isPool"],2.5,1.2]]:["case",["get","isPool"],2.5,1.2]),A.setPaintProperty(ie,"circle-stroke-color",u?["case",["==",["get","id"],u],ia.GOLD,["case",["get","isPool"],ia.GOLD,"#ffffff"]]:["case",["get","isPool"],ia.GOLD,"#ffffff"]))}function ta(u){return String(u??"").replace(/[&<>"']/g,A=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[A])}function aa(u){g.value.show&&!g.value.pinned&&(g.value.x=u.clientX,g.value.y=u.clientY)}function ba(u){return""+ta(u.country)+'
'+ta(u.count)+" unreached groups
"+(u.langs?'
langs '+ta(u.langs)+"
":"")+'
senders '+(u.hasSenders?ta(u.senderCount)+" reached nearby":"frontier — 0 (pray for laborers)")+'
click → SEND view
'}function na(u){return u.isPool?""+ta(u.name)+'
same-country reached pool
pop '+ta(u.pop)+'
spiderfies in the list
':""+ta(u.name)+'
'+ta(u.country)+" · "+ta(u.lang)+'
reached '+ta(u.pct)+' Christian
pop '+ta(u.pop)+"
"+(u.bridge?'
bridge '+ta(u.bridge)+"
":"")+(u.religion?'
religion '+ta(u.religion)+"
":"")+'
click → pin · highlights the list
'}return Rn(async()=>{var c,P,p,M,N,U;await k();const u=_.value;if(!u)return;try{u.setProjection("mercator")}catch{}if(t.value.debugExpose&&typeof window<"u")try{(((p=(P=(c=r.value)==null?void 0:c.getRootNode)==null?void 0:P.call(c))==null?void 0:p.host)||window).__cockpitmap=u}catch{}const A=(h,C)=>{u.on("mouseenter",h,()=>{u.getCanvas().style.cursor="pointer"}),u.on("mouseleave",h,()=>{u.getCanvas().style.cursor="",g.value.pinned||(g.value={...g.value,show:!1})}),u.on("mousemove",h,y=>{var H;const R=(H=y.features)==null?void 0:H[0];R&&(g.value={show:!0,x:y.originalEvent.clientX,y:y.originalEvent.clientY,html:C(R.properties)})})},j=()=>{O(),u.on("click",fe,h=>{var y;const C=(y=h.features)==null?void 0:y[0];C&&(g.value={...g.value,show:!1,pinned:!1},n.selectTarget(C.properties.id))}),A(fe,ba),A(ie,na),u.on("mousemove",ie,h=>{var y;const C=(y=h.features)==null?void 0:y[0];if(C){Y(C.properties.id);try{n.setHover&&n.setHover(C.properties.id)}catch{}}}),u.on("mouseleave",ie,()=>{Y(null);try{n.setHover&&n.setHover(null)}catch{}}),u.on("click",ie,h=>{var R;const C=(R=h.features)==null?void 0:R[0];if(!C)return;const y=h.originalEvent||{};g.value={show:!0,pinned:!0,x:y.clientX||g.value.x,y:y.clientY||g.value.y,html:na(C.properties)};try{n.setHover&&n.setHover(C.properties.id)}catch{}try{u.stop(),u.easeTo({center:C.geometry.coordinates,zoom:Math.max(u.getZoom(),4.5),duration:700})}catch{}}),s.value=!0,n.focusedTargetId.value&&q()};(M=u.isStyleLoaded)!=null&&M.call(u)?j():(N=u.once)==null||N.call(u,"load",j),(U=u.once)==null||U.call(u,"idle",()=>{s.value&&O()})}),cn(()=>[n.ready.value,n.clusters.value,n.mapNodes.value,n.colorBy.value,n.provinceDrill.value],()=>O()),cn(()=>n.focusedTargetId.value,()=>{O(),q()}),cn(()=>n.mode.value,()=>{bi(()=>{var u;try{(u=_.value)==null||u.resize()}catch{}})}),n.hoveredId&&cn(()=>n.hoveredId.value,u=>Y(u)),Ue(()=>{ma(),x()}),On(` + .cpt-mc-root { position:absolute; inset:0; overflow:hidden; background:#eef2f7; isolation:isolate; + font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; } + .cpt-mc-map { position:absolute; inset:0; } + .cpt-mc-loading { position:absolute; inset:0; z-index:5; display:flex; align-items:center; justify-content:center; + background:#eef2f7; color:${ia.NAVY}; font:600 12px/1.5 ui-monospace,monospace; text-align:center; padding:18px; } + + /* on-map control cluster (top-left) — color-by + province drill + reset */ + .cpt-mc-ctl { position:absolute; top:8px; left:8px; z-index:30; display:flex; flex-direction:column; gap:6px; align-items:flex-start; } + .cpt-mc-seg { display:inline-flex; background:rgba(255,255,255,.95); border:1px solid #cbd5e1; border-radius:999px; padding:2px; gap:2px; box-shadow:0 2px 8px rgba(0,0,0,.14); } + .cpt-mc-seg button { border:0; background:transparent; color:#475569; cursor:pointer; font:700 10px/1 ui-monospace,monospace; padding:5px 9px; border-radius:999px; } + .cpt-mc-seg button.on { background:${ia.NAVY}; color:#fff; } + .cpt-mc-btn { border:1px solid #cbd5e1; background:rgba(255,255,255,.95); color:${ia.NAVY}; cursor:pointer; + font:700 10px/1 ui-monospace,monospace; padding:6px 10px; border-radius:8px; box-shadow:0 2px 8px rgba(0,0,0,.14); } + .cpt-mc-btn.on { background:${ia.NAVY}; color:#fff; border-color:${ia.NAVY}; } + .cpt-mc-btn.gold { background:${ia.GOLD}; color:#3a2600; border-color:${ia.GOLD}; } + + /* SEND headline (bottom-left) when a target is focused */ + .cpt-mc-headline { position:absolute; left:8px; bottom:8px; right:8px; z-index:28; pointer-events:none; + background:rgba(0,46,110,.92); color:#fff; border-radius:9px; padding:7px 11px; max-width:560px; + font:700 12px/1.35 -apple-system,sans-serif; box-shadow:0 4px 14px rgba(0,0,0,.28); } + + /* hover-pin tooltip */ + .cpt-mc-tip { position:fixed; z-index:60; pointer-events:none; max-width:250px; background:#0e1730; + border:1px solid #34508c; border-radius:9px; padding:9px 11px; box-shadow:0 6px 22px rgba(0,0,0,.5); font-size:11.5px; color:#dbe4f3; } + .cpt-mc-tip strong { font-size:13px; color:#fff; } + .cpt-mc-tsub { color:#fda4af; font:600 10px/1.3 ui-monospace,monospace; margin:2px 0 6px; } + .cpt-mc-trow { display:flex; gap:6px; line-height:1.5; } + .cpt-mc-tk { color:#7e90b6; min-width:62px; } + + @media (max-width:560px){ .cpt-mc-headline{ font-size:11px; } } +`,"cockpit-mapcell"),(u,A)=>(z(),W("div",{ref_key:"mcRoot",ref:r,class:"cpt-mc-root",onMousemove:aa},[f("div",{ref_key:"mapContainer",ref:l,class:"cpt-mc-map"},null,512),s.value?(z(),W("div",zb,[f("div",Vb,[f("button",{class:Ia({on:ha(n).colorBy.value==="pct"}),onClick:A[0]||(A[0]=j=>ha(n).setColorBy("pct"))},"% reached",2),f("button",{class:Ia({on:ha(n).colorBy.value==="religion"}),onClick:A[1]||(A[1]=j=>ha(n).setColorBy("religion"))},"religion",2)]),f("button",{class:Ia(["cpt-mc-btn",{on:ha(n).provinceDrill.value}]),onClick:A[2]||(A[2]=j=>ha(n).toggleProvince()),title:"Overlay IN/CN admin-1 boundaries"},"IN/CN provinces",2),ha(n).focusedTarget.value?(z(),W("button",{key:0,class:"cpt-mc-btn gold",onClick:A[3]||(A[3]=j=>ha(n).clearFocus())},"✕ reset focus")):fa("",!0)])):fa("",!0),s.value&&ha(n).focusedTarget.value?(z(),W("div",Yb,X(ha(n).headline.value),1)):fa("",!0),s.value?fa("",!0):(z(),W("div",Wb,[o.value?(z(),W("span",Jb,"Map needs a Mapbox token (tk in profile-config)…")):(z(),W("span",Zb,"Rendering the harvest field…"))])),g.value.show?(z(),W("div",{key:3,class:"cpt-mc-tip",style:Ka({left:g.value.x+14+"px",top:g.value.y+14+"px"}),innerHTML:g.value.html},null,12,qb)):fa("",!0)],544))}},Qb={class:"cf-bar"},a1={key:0,class:"cf-meta"},n1={class:"cf-stage"},e1={key:0,class:"cf-empty"},i1=["viewBox"],t1={key:0},o1=["cx","cy","fill","opacity","transform"],r1=["d","stroke-dasharray"],l1=["d"],s1=["onClick","onMouseenter"],c1=["cx","cy","r"],g1=["x","y"],u1=["cx","cy","r","fill"],d1=["x","y"],p1={class:"cf-center",style:{"pointer-events":"none"}},m1=["cx","cy","r","fill"],h1=["cx","cy","fill"],y1=["x","y"],b1=["x","y"],_1={key:2,class:"cf-rings"},f1=["innerHTML"],Xe=1e3,P1=212,C1=372,Mg=48,j1=8,k1=16,G1={__name:"FlowerCell",setup(a){const n=Ft(),e=Xe/2,i=Xe/2,t=ua(n.mode.value==="flower"?1:0),o=ua(!1),r=ua(null),l=ua(""),s=ua({show:!1,x:0,y:0,html:""});function g(Y,ta,aa,ba){const na=(ba-90)*Math.PI/180;return[Y+aa*Math.cos(na),ta+aa*Math.sin(na)]}function d(Y){return String(Y&&(Y.rol3||Y.lang)||"").trim().toLowerCase()}function _(Y){return String(Y??"").replace(/[&<>"']/g,ta=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[ta])}const k=la(()=>{const Y=[...new Set(n.visibleSenders.value.map(aa=>aa.religionFamily||"Unknown"))].sort(),ta={};return Y.forEach((aa,ba)=>{ta[aa]=ia.CAT[ba%ia.CAT.length]}),ta}),x=la(()=>{const Y=n.focusedTarget.value;if(!Y)return null;const ta=[...n.visibleSenders.value].sort((Pa,$a)=>$a.pct-Pa.pct||$a.pop-Pa.pop),aa=ta.filter(Pa=>Pa.adjacency==="same-country"),ba=ta.filter(Pa=>Pa.adjacency!=="same-country"),na=o.value?aa:aa.slice(0,j1),u=o.value?ba:ba.slice(0,k1),A=aa.length-na.length+(ba.length-u.length),j=A>0&&!o.value,c=k.value,P=Pa=>n.colorBy.value==="religion"?c[Pa.religionFamily||"Unknown"]||ia.CAT[0]:qe(Pa.pct),p=[],M=[];for(const Pa of na)p.push(Pa.lng),M.push(Pa.lat);for(const Pa of u)p.push(Pa.lng),M.push(Pa.lat);let N=Y.lng,U=Y.lat;(!isFinite(N)||!isFinite(U))&&(N=p.length?p.reduce((Pa,$a)=>Pa+$a,0)/p.length:0,U=M.length?M.reduce((Pa,$a)=>Pa+$a,0)/M.length:0),p.push(N),M.push(U);const h=Math.min(...p),C=Math.max(...p),y=Math.min(...M),R=Math.max(...M),H=Math.max(C-h,.01),V=Math.max(R-y,.01),oa=130;let Q=Math.min((Xe-oa*2)/H,(Xe-oa*2)/V);(!isFinite(Q)||Q<=0)&&(Q=1);const m=(h+C)/2,b=(y+R)/2,F=(Pa,$a)=>[e+(Pa-m)*Q,i-($a-b)*Q],J=[],ca=u.map(Pa=>({kind:"node",s:Pa}));j&&ca.push({kind:"more"});const ra=na.length;na.forEach((Pa,$a)=>{const Ba=ra?($a+.5)/ra*360:0,[dn,Ne]=g(e,i,P1,Ba),[hn,Zi]=F(Pa.lng,Pa.lat);J.push({id:Pa.id,s:Pa,isMore:!1,ring:"inner",ang:Ba,r:Ki(Pa.pop,7,20),color:P(Pa),lang:d(Pa),fx:dn,fy:Ne,gx:hn,gy:Zi})});const B=ca.length,Z=B?180/B:0;ca.forEach((Pa,$a)=>{const Ba=B?($a+.5)/B*360+Z:0,[dn,Ne]=g(e,i,C1,Ba);if(Pa.kind==="more"){const[hn,Zi]=F(N,U);J.push({id:"__more__",isMore:!0,ring:"outer",ang:Ba,r:18,color:ia.NAVY,lang:"",fx:dn,fy:Ne,gx:hn,gy:Zi,hidden:A})}else{const hn=Pa.s,[Zi,Uf]=F(hn.lng,hn.lat);J.push({id:hn.id,s:hn,isMore:!1,ring:"outer",ang:Ba,r:Ki(hn.pop,7,20),color:P(hn),lang:d(hn),fx:dn,fy:Ne,gx:Zi,gy:Uf})}});const[_a,va]=F(N,U),Ra={fx:e,fy:i,gx:_a,gy:va,country:Y.country,count:Y.count,color:Fi(Y.count)},an=new Map;for(const Pa of J){if(Pa.isMore||!Pa.lang)continue;let $a=an.get(Pa.lang);$a||($a=[],an.set(Pa.lang,$a)),$a.push(Pa)}const qa=[];for(const[Pa,$a]of an)if(!($a.length<2))for(let Ba=0;Ba<$a.length-1;Ba++)qa.push({id:"mesh-"+$a[Ba].id+"-"+$a[Ba+1].id,from:$a[Ba].id,to:$a[Ba+1].id,lang:Pa});return{nodes:J,center:Ra,mesh:qa,hidden:A,shown:na.length+u.length,total:ta.length}}),D=la(()=>{const Y={};if(x.value)for(const ta of x.value.nodes)Y[ta.id]=ta;return Y});function T(Y){return!l.value||!Y.isMore&&Y.lang===l.value}function $(Y){return!l.value||Y.lang===l.value}function w(Y){return!Y.isMore&&n.facets.value.languages.has(Y.s.lang)}function L(Y){return Y.gx+(Y.fx-Y.gx)*t.value}function E(Y){return Y.gy+(Y.fy-Y.gy)*t.value}function I(){const Y=x.value.center;return Y.gx+(Y.fx-Y.gx)*t.value}function G(){const Y=x.value.center;return Y.gy+(Y.fy-Y.gy)*t.value}function S(Y){return"M "+I().toFixed(1)+" "+G().toFixed(1)+" L "+L(Y).toFixed(1)+" "+E(Y).toFixed(1)}function v(Y){const ta=D.value[Y.from],aa=D.value[Y.to];if(!ta||!aa)return"";const ba=L(ta),na=E(ta),u=L(aa),A=E(aa),j=(ba+u)/2,c=(na+A)/2,P=j+(e-j)*.45*t.value,p=c+(i-c)*.45*t.value;return"M "+ba.toFixed(1)+" "+na.toFixed(1)+" Q "+P.toFixed(1)+" "+p.toFixed(1)+" "+u.toFixed(1)+" "+A.toFixed(1)}function K(Y){if(Y.isMore)return"4 6";const ta=br(Y.s.bridge);return ta?ta.map(aa=>aa*3).join(" "):"none"}function O(Y){return[L(Y),E(Y)]}function q(Y,ta){if(r.value=Y.id,l.value=Y.isMore?"":Y.lang,!Y.isMore)try{n.setHover&&n.setHover(Y.id)}catch{}if(Y.isMore){s.value={show:!0,x:ta.clientX,y:ta.clientY,html:"+"+Y.hidden+' more senders
click to bloom the full roster
'};return}const aa=Y.s;s.value={show:!0,x:ta.clientX,y:ta.clientY,html:""+_(aa.name)+'
'+_(aa.country)+" · "+_(aa.lang||"—")+'
reached '+Math.round(aa.pct||0)+'% Christian
people '+_e(aa.pop)+'
bridge '+_(aa.bridge||"—")+'
near '+_(aa.adjacency||"—")+"
"}}function sa(Y){s.value.show&&(s.value.x=Y.clientX,s.value.y=Y.clientY)}function ea(){r.value=null,l.value="";try{n.setHover&&n.setHover(null)}catch{}s.value={...s.value,show:!1}}function ga(Y){if(Y.isMore){o.value=!0;return}n.toggleFacet("languages",Y.s.lang)}function Sa(){n.setMode(n.mode.value==="flower"?"map":"flower")}const Ma=typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;let ma=0;function pa(Y){if(cancelAnimationFrame(ma),Ma||typeof requestAnimationFrame>"u"){t.value=Y;return}const ta=t.value,aa=performance.now(),ba=720,na=A=>A<.5?2*A*A:1-Math.pow(-2*A+2,2)/2,u=A=>{const j=Math.min(1,(A-aa)/ba);t.value=ta+(Y-ta)*na(j),j<1&&(ma=requestAnimationFrame(u))};ma=requestAnimationFrame(u)}return cn(()=>n.mode.value,Y=>pa(Y==="flower"?1:0)),cn(()=>n.focusedTargetId.value,()=>{o.value=!1}),Ue(()=>cancelAnimationFrame(ma)),On(".cpt-flower{position:absolute;inset:0;display:flex;flex-direction:column;overflow:hidden;isolation:isolate;background:radial-gradient(circle at 50% 44%, #16203a 0%, #0b1020 72%);color:#e5e7eb;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;}.cf-bar{position:absolute;top:10px;left:10px;right:10px;z-index:30;display:flex;gap:8px;align-items:center;flex-wrap:wrap;pointer-events:none;}.cf-bar > *{pointer-events:auto;}.cf-title{background:"+ia.NAVY+";color:#fff;font:700 11px/1 ui-monospace,monospace;letter-spacing:.07em;text-transform:uppercase;padding:8px 12px;border-radius:8px;box-shadow:0 2px 10px rgba(0,0,0,.4);}.cf-meta{font:600 11px/1.4 ui-monospace,monospace;color:#9fb3d9;background:rgba(8,12,24,.7);border:1px solid #1c2742;border-radius:8px;padding:6px 10px;}.cf-meta b{color:#fff;}.cf-bloom{margin-left:auto;background:#13224a;border:1px solid #3f7bd6;color:#fff;cursor:pointer;font:700 11px/1 ui-monospace,monospace;letter-spacing:.04em;padding:8px 13px;border-radius:8px;display:inline-flex;align-items:center;gap:7px;user-select:none;}.cf-bloom:hover{background:#1b2e5e;}.cf-bloom .cf-dot{width:8px;height:8px;border-radius:50%;background:"+ia.GOLD+";}.cf-stage{flex:1 1 0;position:relative;}.cf-svg{position:absolute;inset:0;width:100%;height:100%;display:block;}.cf-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;color:#7e90b6;font:600 12px/1.6 ui-monospace,monospace;padding:24px;}.cf-petal{transition:opacity .15s;}.cf-spoke{fill:none;stroke:"+ia.NAVY+";stroke-width:2;opacity:.45;transition:opacity .15s;}.cf-spoke.lit{opacity:.9;stroke-width:2.6;}.cf-spoke.dim{opacity:.06;}.cf-mesh{fill:none;stroke:"+ia.GOLD+";stroke-width:1.6;opacity:.5;stroke-linecap:round;transition:opacity .15s;}.cf-mesh.lit{opacity:.95;stroke-width:2.6;}.cf-mesh.dim{opacity:.05;}.cf-node{cursor:pointer;transition:opacity .15s;}.cf-node.dim{opacity:.2;}.cf-node circle{stroke:#0b1020;stroke-width:2;}.cf-node.hov circle{stroke:#fff;stroke-width:3;}.cf-node.fac circle{stroke:"+ia.GOLD+";stroke-width:3.5;}.cf-more circle{fill:"+ia.NAVY+";stroke:#3f7bd6;stroke-width:2;stroke-dasharray:4 4;}.cf-more text{fill:#cfe0ff;font:700 13px/1 ui-monospace,monospace;text-anchor:middle;}.cf-label{fill:#cdd9f2;font:600 12px/1 -apple-system,sans-serif;text-anchor:middle;paint-order:stroke;stroke:#0b1020;stroke-width:3px;pointer-events:none;}.cf-center-glow{opacity:.18;}.cf-center circle{stroke:#ffd9bd;stroke-width:3;}.cf-center-name{fill:#fff;font:800 18px/1 -apple-system,sans-serif;text-anchor:middle;paint-order:stroke;stroke:"+ia.RED_DK+";stroke-width:3px;}.cf-center-sub{fill:#ffe1cb;font:600 11px/1 ui-monospace,monospace;text-anchor:middle;}.cf-rings{position:absolute;left:10px;bottom:10px;z-index:25;background:rgba(8,12,24,.8);border:1px solid #1c2742;border-radius:8px;padding:7px 10px;font:600 10px/1.5 ui-monospace,monospace;color:#9fb3d9;}.cf-rings b{color:#dbe4f3;}.cf-tip{position:fixed;z-index:60;pointer-events:none;max-width:240px;background:#0e1730;border:1px solid #34508c;border-radius:9px;padding:9px 11px;box-shadow:0 6px 22px rgba(0,0,0,.55);font-size:11.5px;color:#dbe4f3;}.cf-tip strong{font-size:13px;color:#fff;}.cf-tip-sub{color:"+ia.GOLD+";font:600 10px/1.3 ui-monospace,monospace;margin:2px 0 6px;}.cf-tip-row{display:flex;gap:6px;line-height:1.5;}.cf-tip-k{color:#7e90b6;min-width:54px;}@media (max-width:720px){.cf-meta{display:none;}}","cockpit-flowercell"),(Y,ta)=>(z(),W("div",{class:"cpt-flower",onMousemove:sa},[f("div",Qb,[ta[1]||(ta[1]=f("span",{class:"cf-title"},"Bloom",-1)),x.value?(z(),W("span",a1,[f("b",null,X(x.value.center.country),1),ya(" · "+X(x.value.center.count)+" unreached · ",1),f("b",null,X(x.value.shown),1),ya("/"+X(x.value.total)+" senders ",1)])):fa("",!0),f("button",{class:"cf-bloom",type:"button",onClick:Sa},[ta[0]||(ta[0]=f("span",{class:"cf-dot"},null,-1)),ya(X(ha(n).mode.value==="flower"?"To map":"Bloom")+" ▸ ",1)])]),f("div",n1,[x.value?(z(),W("svg",{key:1,class:"cf-svg",viewBox:"0 0 "+Xe+" "+Xe,preserveAspectRatio:"xMidYMid meet"},[t.value>.05?(z(),W("g",t1,[(z(!0),W(Aa,null,Ua(x.value.nodes,aa=>Ed((z(),W("ellipse",{key:"pt-"+aa.id,class:"cf-petal",cx:O(aa)[0],cy:O(aa)[1],rx:"74",ry:"38",fill:aa.color,opacity:.13*t.value,transform:"rotate("+aa.ang+" "+O(aa)[0]+" "+O(aa)[1]+")"},null,8,o1)),[[Hp,aa.ring==="outer"&&!aa.isMore]])),128))])):fa("",!0),f("g",null,[(z(!0),W(Aa,null,Ua(x.value.nodes,aa=>(z(),W("path",{key:"sp-"+aa.id,class:Ia(["cf-spoke",{lit:l.value&&T(aa),dim:l.value&&!T(aa)}]),d:S(aa),"stroke-dasharray":K(aa)},null,10,r1))),128))]),f("g",null,[(z(!0),W(Aa,null,Ua(x.value.mesh,aa=>(z(),W("path",{key:aa.id,class:Ia(["cf-mesh",{lit:l.value&&$(aa),dim:l.value&&!$(aa)}]),d:v(aa)},null,10,l1))),128))]),f("g",null,[(z(!0),W(Aa,null,Ua(x.value.nodes,aa=>(z(),W("g",{key:"nd-"+aa.id,class:Ia(["cf-node",{dim:l.value&&!T(aa),hov:r.value===aa.id||ha(n).hoveredId.value===aa.id,fac:w(aa),"cf-more":aa.isMore}]),onClick:Xn(ba=>ga(aa),["stop"]),onMouseenter:ba=>q(aa,ba),onMouseleave:ea},[aa.isMore?(z(),W(Aa,{key:0},[f("circle",{cx:L(aa),cy:E(aa),r:aa.r},null,8,c1),f("text",{x:L(aa),y:E(aa)+4},"+"+X(aa.hidden),9,g1)],64)):(z(),W(Aa,{key:1},[f("circle",{cx:L(aa),cy:E(aa),r:aa.r,fill:aa.color},null,8,u1),r.value===aa.id||aa.r>=12?(z(),W("text",{key:0,class:"cf-label",x:L(aa),y:E(aa)+aa.r+14},X(aa.s.name),9,d1)):fa("",!0)],64))],42,s1))),128))]),f("g",p1,[f("circle",{class:"cf-center-glow",cx:I(),cy:G(),r:Mg+26,fill:x.value.center.color},null,8,m1),f("circle",{cx:I(),cy:G(),r:Mg,fill:x.value.center.color},null,8,h1),f("text",{class:"cf-center-name",x:I(),y:G()-1},X(x.value.center.country),9,y1),f("text",{class:"cf-center-sub",x:I(),y:G()+16},X(x.value.center.count)+" unreached",9,b1)])],8,i1)):(z(),W("div",e1,[...ta[2]||(ta[2]=[ya(" Pick a red target on the map —",-1),f("br",null,null,-1),ya("its reached neighbors bloom here as a flower. ",-1)])])),x.value?(z(),W("div",_1,[ta[3]||(ta[3]=f("b",null,"inner",-1)),ta[4]||(ta[4]=ya(" same-country · ",-1)),ta[5]||(ta[5]=f("b",null,"petals",-1)),ta[6]||(ta[6]=ya(" cross-border",-1)),ta[7]||(ta[7]=f("br",null,null,-1)),ta[8]||(ta[8]=ya(" navy = SEND · ",-1)),f("span",{style:Ka({color:ha(ia).GOLD})},"gold",4),ta[9]||(ta[9]=ya(" = same-language mesh ",-1))])):fa("",!0)]),s.value.show?(z(),W("div",{key:0,class:"cf-tip",style:Ka({left:s.value.x+14+"px",top:s.value.y+14+"px"}),innerHTML:s.value.html},null,12,f1)):fa("",!0)],32))}},v1={class:"cpt-list",style:{"container-type":"inline-size"}},A1={class:"cpt-l-head"},S1={class:"cpt-l-title"},E1={key:0,class:"cpt-l-sub"},M1={class:"cpt-l-badge"},I1={key:0,class:"cpt-l-hidden"},w1={key:1,class:"cpt-l-sorts"},x1=["onClick"],T1={key:0,class:"cpt-l-actions"},N1={class:"cpt-l-selall"},L1=["checked"],R1={key:0,class:"cpt-l-selcount"},$1=["disabled"],F1=["disabled"],K1=["data-sid","onMouseenter","onClick"],B1=["checked","onChange"],O1=["title"],U1={class:"cpt-l-body"},H1=["title"],D1={class:"cpt-l-meta"},z1={class:"cpt-l-lang"},V1={key:0,class:"cpt-l-rol3"},Y1=["title"],W1=["title"],J1={class:"cpt-l-right"},Z1={class:"cpt-l-pop"},q1=["onClick"],X1={key:0},Q1={key:0},a3={key:1},n3={key:2,class:"cpt-l-empty"},e3={key:0,class:"sm"},i3={key:1,class:"sm"},t3={key:3,class:"cpt-l-empty"},o3={class:"sm"},r3={__name:"ListCell",setup(a){const n=Ft(),e=la(()=>n.listRows.value),i=la(()=>n.focusedTarget.value),t=la(()=>n.counts.value),o=la(()=>n.sortKey.value),r=la(()=>{const na=i.value;return na&&(na.target_top_langs&&na.target_top_langs.length?na.target_top_langs:na.langs||[])[0]||""}),l=la(()=>{const na=i.value;if(!na)return"Pick a red target to build a send list";const u=e.value.length,A=r.value?" — they speak "+r.value:"";return"Send "+u.toLocaleString()+" reached neighbor"+(u===1?"":"s")+" INTO "+na.country+A}),s=la(()=>i.value&&i.value.senderCount||0),g=la(()=>t.value.hidden||0),d=[{key:"mobilization",label:"Mobilization"},{key:"pct",label:"%Christian"},{key:"pop",label:"Population"},{key:"bridge",label:"Bridge"},{key:"name",label:"Name"},{key:"frontier",label:"Frontier first"}];function _(na){n.setSort(na)}const k=ua(new Set);function x(na){const u=new Set(k.value);u.has(na)?u.delete(na):u.add(na),k.value=u,G.value=""}const D=la(()=>e.value.filter(na=>k.value.has(na.id))),T=la(()=>D.value.length),$=la(()=>e.value.length>0&&e.value.every(na=>k.value.has(na.id)));function w(){k.value=$.value?new Set:new Set(e.value.map(na=>na.id)),G.value=""}function L(){k.value=new Set,G.value=""}const E=la(()=>T.value?D.value:e.value);function I(){E.value.length&&(n.exportSelectionCSV(E.value),G.value="CSV downloaded ("+E.value.length+")",v())}const G=ua("");let S=null;function v(){S&&clearTimeout(S),S=setTimeout(()=>{G.value=""},1900)}function K(na){const u=i.value,A="Send list — "+(u?u.country:"all targets")+(r.value?" ("+r.value+")":"")+" · "+na.length+" senders",j=na.map(c=>c.name+" · "+c.country+" · "+c.lang+(c.rol3?" ("+c.rol3+")":"")+" · "+Math.round(c.pct)+"% Christian · "+_e(c.pop)+" · "+c.bridge);return A+` +`+j.join(` +`)+` +`}function O(na){try{const u=document.createElement("textarea");u.value=na,u.style.position="fixed",u.style.opacity="0",u.style.top="0",document.body.appendChild(u),u.focus(),u.select();const A=document.execCommand&&document.execCommand("copy");return document.body.removeChild(u),!!A}catch{return!1}}async function q(){const na=E.value;if(!na.length)return;const u=K(na);let A=!1;try{navigator.clipboard&&navigator.clipboard.writeText?(await navigator.clipboard.writeText(u),A=!0):A=O(u)}catch{A=O(u)}G.value=A?"Copied ("+na.length+")":"Copy failed — press Ctrl/Cmd-C",v()}function sa(na){typeof n.setHover=="function"&&n.setHover(na)}const ea=la(()=>n.hoveredSenderId&&typeof n.hoveredSenderId=="object"?n.hoveredSenderId.value:null),ga=ua(null);cn(ea,na=>{!na||!ga.value||bi(()=>{const u=ga.value&&ga.value.querySelector('[data-sid="'+Sa(na)+'"]');u&&typeof u.scrollIntoView=="function"&&u.scrollIntoView({block:"nearest"})})});function Sa(na){return String(na).replace(/["\\]/g,"\\$&")}function Ma(na){sa(ea.value===na?null:na)}const ma=ua(null);function pa(na){ma.value=ma.value===na?null:na}function Y(na){return qe(na)}function ta(na){return yr[$t(na)]}function aa(na){const u=br(na);return u===null?"solid":u[0]===4?"dashed":"dotted"}function ba(na){return Math.round(+na||0)+"%"}return On(` +.cpt-list{position:absolute;inset:0;display:flex;flex-direction:column;background:#ffffff; + color:${ia.NAVY};font:400 12px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; + overflow:hidden} +.cpt-list *{box-sizing:border-box} + +/* header */ +.cpt-l-head{flex:0 0 auto;padding:8px 10px 6px;border-bottom:1px solid #e6eaf2;background:#fbfcfe} +.cpt-l-title{font-size:12.5px;font-weight:700;color:${ia.NAVY};line-height:1.35} +.cpt-l-sub{margin-top:3px;display:flex;align-items:center;gap:6px;flex-wrap:wrap; + font-size:10.5px;color:#5b6577} +.cpt-l-badge{display:inline-flex;align-items:center;gap:5px;font-weight:700;font-size:10px; + letter-spacing:.03em;text-transform:uppercase;color:${ia.NAVY}; + background:rgba(0,46,110,.08);border:1px solid rgba(0,46,110,.18); + padding:2px 7px;border-radius:999px} +.cpt-l-badge b{font-size:11px} +.cpt-l-hidden{color:#9aa3b2} + +/* sort row */ +.cpt-l-sorts{display:flex;gap:4px;flex-wrap:wrap;margin-top:7px} +.cpt-l-sort{cursor:pointer;border:1px solid #d6dceb;background:#fff;color:#4a5468; + font:600 10px/1 ui-monospace,monospace;padding:5px 8px;border-radius:7px;white-space:nowrap} +.cpt-l-sort:hover{border-color:${ia.NAVY};color:${ia.NAVY}} +.cpt-l-sort.active{background:${ia.NAVY};border-color:${ia.NAVY};color:#fff} +.cpt-l-sort.frontier.active{background:${ia.GOLD};border-color:${ia.GOLD};color:#3a2a00} + +/* action bar */ +.cpt-l-actions{flex:0 0 auto;display:flex;align-items:center;gap:6px;flex-wrap:wrap; + padding:6px 10px;border-bottom:1px solid #eef1f7;background:#fff} +.cpt-l-selall{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;color:#5b6577; + cursor:pointer;user-select:none} +.cpt-l-selcount{font-weight:700;color:${ia.NAVY}} +.cpt-l-btn{margin-left:0;cursor:pointer;border:1px solid #cdd5e6;background:#fff; + color:${ia.NAVY};font:600 11px/1 ui-monospace,monospace;padding:7px 10px;border-radius:8px} +.cpt-l-btn:hover{border-color:${ia.NAVY};background:rgba(0,46,110,.06)} +.cpt-l-btn:disabled{opacity:.45;cursor:not-allowed} +.cpt-l-btn.primary{background:${ia.NAVY};border-color:${ia.NAVY};color:#fff} +.cpt-l-btn.primary:hover{background:#013a8a} +.cpt-l-btn.ghost{color:#7b8498;border-color:#e0e5f0} +.cpt-l-spacer{flex:1 1 auto} +.cpt-l-flash{font-size:10px;color:#0f7a3d;min-height:12px;white-space:nowrap} +.cpt-l-flash.warn{color:${ia.RED}} + +/* rows */ +.cpt-l-rows{flex:1 1 auto;overflow:auto;padding:2px 0} +.cpt-l-row{display:grid;grid-template-columns:auto 12px 1fr auto;align-items:center;gap:8px; + padding:6px 10px;border-bottom:1px solid #f1f3f8;cursor:pointer;position:relative} +.cpt-l-row:hover,.cpt-l-row.hovered{background:rgba(245,158,11,.10)} +.cpt-l-row.hovered{box-shadow:inset 3px 0 0 0 ${ia.GOLD}} +.cpt-l-row.picked{background:rgba(0,46,110,.05)} +.cpt-l-chk{width:15px;height:15px;cursor:pointer;accent-color:${ia.NAVY};margin:0} +.cpt-l-swatch{width:12px;height:12px;border-radius:3px;border:1px solid rgba(0,0,0,.18)} +.cpt-l-body{min-width:0} +.cpt-l-name{font-weight:700;font-size:12px;color:${ia.NAVY}; + white-space:nowrap;overflow:hidden;text-overflow:ellipsis} +.cpt-l-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:2px; + font-size:10px;color:#6b7587} +.cpt-l-meta .sep{color:#c4ccda} +.cpt-l-lang{font-family:ui-monospace,monospace} +.cpt-l-rol3{color:#9aa3b2} +.cpt-l-right{display:flex;align-items:center;gap:8px;justify-self:end;white-space:nowrap} +.cpt-l-pct{font-weight:700;font-size:11.5px;font-family:ui-monospace,monospace} +.cpt-l-pop{font-size:10px;color:#6b7587;font-family:ui-monospace,monospace;min-width:34px;text-align:right} + +/* chips */ +.cpt-l-chip{display:inline-flex;align-items:center;gap:4px;font-size:9.5px; + padding:1px 6px;border-radius:999px;border:1px solid #dde3ef;color:#4a5468;background:#f7f9fc; + white-space:nowrap} +.cpt-l-chip.relig{border-color:#e3dcf0;background:#f6f3fc;color:#5b4a86} +.cpt-l-bridgeline{display:inline-block;width:14px;height:0; + border-top:2px solid ${ia.NAVY}} +.cpt-l-info{flex:0 0 auto;width:16px;height:16px;border-radius:50%;cursor:pointer; + border:1px solid #d6dceb;background:#fff;color:#7b8498;font:700 10px/14px ui-monospace,monospace; + text-align:center} +.cpt-l-info:hover,.cpt-l-info.on{border-color:${ia.NAVY};color:${ia.NAVY}} + +/* pinned tooltip */ +.cpt-l-tip{grid-column:1 / -1;margin-top:6px;padding:7px 9px;border-radius:8px; + background:${ia.NAVY};color:#eef3fb;font-size:10px;line-height:1.5} +.cpt-l-tip dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:2px 10px} +.cpt-l-tip dt{color:#9fb6db;font-weight:600} +.cpt-l-tip dd{margin:0;color:#eef3fb;word-break:break-word} + +/* empty / placeholder states */ +.cpt-l-empty{flex:1 1 auto;display:flex;flex-direction:column;align-items:center; + justify-content:center;gap:6px;text-align:center;color:#8a93a5;padding:24px} +.cpt-l-empty .big{font-size:13px;font-weight:700;color:${ia.NAVY}} +.cpt-l-empty .sm{font-size:11px} + +/* container-query polish for narrow frames */ +@container (max-width: 420px){ + .cpt-l-pop{display:none} + .cpt-l-meta .relig{display:none} +} +`,"cockpit-listcell"),(na,u)=>(z(),W("div",v1,[f("div",A1,[f("div",S1,X(l.value),1),i.value?(z(),W("div",E1,[f("span",M1,[f("b",null,X(s.value.toLocaleString()),1),u[3]||(u[3]=ya(" senders available ",-1))]),g.value?(z(),W("span",I1,"· "+X(g.value.toLocaleString())+" hidden by filters",1)):fa("",!0)])):fa("",!0),i.value?(z(),W("div",w1,[(z(),W(Aa,null,Ua(d,A=>f("button",{key:A.key,class:Ia(["cpt-l-sort",{active:o.value===A.key,frontier:A.key==="frontier"}]),type:"button",onClick:j=>_(A.key)},X(A.label),11,x1)),64))])):fa("",!0)]),i.value&&e.value.length?(z(),W("div",T1,[f("label",N1,[f("input",{class:"cpt-l-chk",type:"checkbox",checked:$.value,onChange:w},null,40,L1),u[4]||(u[4]=ya(" Build send list ",-1)),T.value?(z(),W("span",R1,"("+X(T.value)+")",1)):fa("",!0)]),u[5]||(u[5]=f("span",{class:"cpt-l-spacer"},null,-1)),f("span",{class:Ia(["cpt-l-flash",{warn:G.value.indexOf("fail")!==-1}])},X(G.value),3),T.value?(z(),W("button",{key:0,class:"cpt-l-btn ghost",type:"button",onClick:L},"Clear")):fa("",!0),f("button",{class:"cpt-l-btn",type:"button",disabled:!E.value.length,onClick:q},"Copy",8,$1),f("button",{class:"cpt-l-btn primary",type:"button",disabled:!E.value.length,onClick:I}," Export "+X(T.value?"selection":"all")+" · CSV ",9,F1)])):fa("",!0),i.value&&e.value.length?(z(),W("div",{key:1,class:"cpt-l-rows",ref_key:"rowsEl",ref:ga},[(z(!0),W(Aa,null,Ua(e.value,A=>(z(),W("div",{key:A.id,class:Ia(["cpt-l-row",{hovered:ea.value===A.id,picked:k.value.has(A.id)}]),"data-sid":A.id,onMouseenter:j=>sa(A.id),onMouseleave:u[2]||(u[2]=j=>sa(null)),onClick:j=>Ma(A.id)},[f("input",{class:"cpt-l-chk",type:"checkbox",checked:k.value.has(A.id),onClick:u[0]||(u[0]=Xn(()=>{},["stop"])),onChange:j=>x(A.id)},null,40,B1),f("span",{class:"cpt-l-swatch",style:Ka({background:Y(A.pct)}),title:ta(A.pct)},null,12,O1),f("div",U1,[f("div",{class:"cpt-l-name",title:A.name},X(A.name),9,H1),f("div",D1,[f("span",null,X(A.country),1),u[6]||(u[6]=f("span",{class:"sep"},"·",-1)),f("span",z1,[ya(X(A.lang),1),A.rol3?(z(),W("span",V1," ("+X(A.rol3)+")",1)):fa("",!0)]),f("span",{class:"cpt-l-chip",title:"bridge: "+A.bridge},[f("span",{class:"cpt-l-bridgeline",style:Ka({borderTopStyle:aa(A.bridge)})},null,4),ya(" "+X(A.bridge),1)],8,Y1),f("span",{class:"cpt-l-chip relig",title:A.religion_bg},X(A.religionFamily),9,W1)])]),f("div",J1,[f("span",{class:"cpt-l-pct",style:Ka({color:Y(A.pct)})},X(ba(A.pct)),5),f("span",Z1,X(ha(_e)(A.pop)),1),f("button",{class:Ia(["cpt-l-info",{on:ma.value===A.id}]),type:"button",title:"Details",onClick:Xn(j=>pa(A.id),["stop"])},"i",10,q1)]),ma.value===A.id?(z(),W("div",{key:0,class:"cpt-l-tip",onClick:u[1]||(u[1]=Xn(()=>{},["stop"]))},[f("dl",null,[u[7]||(u[7]=f("dt",null,"People group",-1)),f("dd",null,X(A.name),1),u[8]||(u[8]=f("dt",null,"Country",-1)),f("dd",null,X(A.country),1),u[9]||(u[9]=f("dt",null,"Language",-1)),f("dd",null,[ya(X(A.lang),1),A.rol3?(z(),W("span",X1," · "+X(A.rol3),1)):fa("",!0)]),u[10]||(u[10]=f("dt",null,"%Christian",-1)),f("dd",null,X(ba(A.pct))+" · "+X(ta(A.pct)),1),u[11]||(u[11]=f("dt",null,"Population",-1)),f("dd",null,X(ha(_e)(A.pop)),1),u[12]||(u[12]=f("dt",null,"Bridge",-1)),f("dd",null,X(A.bridge),1),u[13]||(u[13]=f("dt",null,"Adjacency",-1)),f("dd",null,X(A.adjacency),1),u[14]||(u[14]=f("dt",null,"Religion",-1)),f("dd",null,X(A.religion_bg||A.religionFamily),1),A.code?(z(),W("dt",Q1,"Code")):fa("",!0),A.code?(z(),W("dd",a3,X(A.code),1)):fa("",!0)])])):fa("",!0)],42,K1))),128))],512)):i.value?(z(),W("div",n3,[u[15]||(u[15]=f("div",{class:"big"},"No senders match the current filters",-1)),g.value?(z(),W("div",e3,X(g.value.toLocaleString())+" senders hidden — clear a facet to see them",1)):(z(),W("div",i3,"This target has no reached neighbors in the baked set yet"))])):(z(),W("div",t3,[u[16]||(u[16]=f("div",{class:"big"},"Pick a red target",-1)),f("div",o3,X(t.value.clusters.toLocaleString())+" unreached clusters · "+X(t.value.senders.toLocaleString())+" reached senders nearby",1),u[17]||(u[17]=f("div",{class:"sm"},"Tap a red bubble on the map to build its send list.",-1))]))]))}},l3={class:"cpt-cs"},s3={class:"cs-controls"},c3={class:"cs-searchwrap"},g3=["value"],u3={key:0,class:"cs-suggest",role:"listbox"},d3=["onMousedown"],p3={class:"cs-tag"},m3={class:"cs-lens"},h3=["value"],y3=["value"],b3={class:"cs-colorby",role:"group","aria-label":"Color reached senders by"},_3={class:"cs-grid"},f3={class:"cs-card"},P3=["viewBox"],C3=["onClick"],j3=["x","y"],k3=["x","y","width","height"],G3=["x","y"],v3={key:1,class:"cs-empty"},A3={class:"cs-card"},S3=["viewBox"],E3=["onClick"],M3=["x","y"],I3=["x","y","width","height"],w3=["x","y"],x3={key:1,class:"cs-empty"},T3={class:"cs-card"},N3=["viewBox"],L3=["x2"],R3=["onClick"],$3=["x","y","width","height","fill"],F3=["x","y"],K3=["x","y"],B3={class:"cs-card"},O3={class:"cs-donutwrap"},U3={key:0,class:"cs-donut",viewBox:"0 0 160 160",preserveAspectRatio:"xMidYMid meet",role:"img","aria-label":"Donut by category"},H3=["d","fill","onClick"],D3={class:"cs-dctr",x:"80",y:"84","text-anchor":"middle"},z3={class:"cs-legend"},V3=["onClick"],Y3={key:0,class:"cs-empty"},Ig=300,Qe=15,Pr=5,Dt=94,W3=150,Cr=230,J3=120,Z3=10,Oi=96,jr=12,q3=80,X3=80,ai=70,ni=42,Q3={__name:"ChartStrip",setup(a){const n=Ft(),e=ua(!1),i=[0,10,25,50,75],t=(G,S)=>{const v=String(G??"");return v.length>S?v.slice(0,S-1)+"…":v},o=la(()=>n.chartData.value),r=la(()=>n.colorBy.value==="religion"?"religions":"bridges"),l=la(()=>{const G=new Map;for(const S of n.allSenders.value){const v=S.lang||"—";G.set(v,(G.get(v)||0)+1)}return[...G.entries()].map(([S,v])=>({lang:S,count:v})).sort((S,v)=>v.count-S.count)}),s=la(()=>{const G=n.search.value.trim().toLowerCase();if(G.length<1)return[];const S=[];for(const v of n.allClusters.value)if(v.country.toLowerCase().includes(G)&&(S.push({type:"target",label:v.country+" · "+v.count+" unreached",value:v.id,targetId:v.id}),S.length>=6))break;for(const v of l.value)if(v.lang.toLowerCase().includes(G)&&(S.push({type:"lang",label:v.lang+" · "+v.count+" senders",value:v.lang}),S.length>=9))break;for(const v of n.allSenders.value)if(v.name.toLowerCase().includes(G)&&(S.push({type:"sender",label:v.name+" → "+v.country,value:v.name,targetId:v.targetId}),S.length>=13))break;return S.slice(0,11)});function g(G,S){const v=n.facets.value[S],K=v&&v.size>0;let O=1;for(const q of G)q.value>O&&(O=q.value);return G.map((q,sa)=>{const ea=Math.max(2,q.value/O*W3),ga=v?v.has(q.key):!1;return{key:q.key,label:q.label,value:q.value,y:sa*(Qe+Pr),h:Qe,x:Dt,w:ea,ty:sa*(Qe+Pr)+Qe-4,vx:Dt+ea+4,active:ga,dim:K&&!ga}})}const d=G=>Math.max(Qe,G.length*(Qe+Pr)),_=la(()=>g(o.value.languageBar,"languages")),k=la(()=>g(o.value.countryBar,"countries")),x=la(()=>{const G=o.value.reachedHist;let S=1;for(const ea of G)ea.value>S&&(S=ea.value);const v=G.length,K=(Cr-jr-8)/v,O=K*.7,q=n.facets.value.reachedMin,sa=Oi-Z3;return G.map((ea,ga)=>{const Sa=ea.value/S*sa,Ma=jr+ga*K+(K-O)/2,ma=i[ga],pa=q!=null&&q===ma;return{key:ga,label:yr[ga],value:ea.value,color:ea.color,x:Ma,w:O,y:Oi-Sa,h:Sa,cx:Ma+O/2,min:ma,active:pa,dim:q!=null&&q!==ma&&ma>0}})});function D(G){G.min<=0||n.facets.value.reachedMin===G.min?n.setReachedMin(null):n.setReachedMin(G.min)}function T(G,S){const v=(q,sa)=>q3+q*Math.cos(sa),K=(q,sa)=>X3+q*Math.sin(sa),O=S-G>Math.PI?1:0;return"M"+v(ai,G)+" "+K(ai,G)+" A"+ai+" "+ai+" 0 "+O+" 1 "+v(ai,S)+" "+K(ai,S)+" L"+v(ni,S)+" "+K(ni,S)+" A"+ni+" "+ni+" 0 "+O+" 0 "+v(ni,G)+" "+K(ni,G)+" Z"}const $=la(()=>{const G=o.value.donut,S=n.facets.value[r.value],v=S&&S.size>0;let K=0;for(const q of G)K+=q.value;K=K||1;let O=-Math.PI/2;return G.map(q=>{let sa=q.value/K*Math.PI*2;sa>=Math.PI*2&&(sa=Math.PI*2-1e-4);const ea=O,ga=O+sa;O=ga;const Sa=S?S.has(q.key):!1;return{key:q.key,label:q.label,value:q.value,color:q.color,path:T(ea,ga),active:Sa,dim:v&&!Sa}})}),w=la(()=>$.value.reduce((G,S)=>G+S.value,0));function L(G){n.setSearch(G.target.value),e.value=!0}function E(G){G.type==="target"?(n.selectTarget(G.targetId),n.setSearch("")):(G.type==="sender"&&G.targetId&&n.selectTarget(G.targetId),n.setSearch(G.value)),e.value=!1}function I(G){n.setLanguageLens(G.target.value||null)}return On(` + .cpt-cs{position:absolute;inset:0;display:flex;flex-direction:column;overflow:auto; + background:#f8fafc;color:${ia.NAVY}; + font:600 11px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;} + + /* control bar */ + .cs-controls{position:sticky;top:0;z-index:20;display:flex;flex-wrap:wrap;align-items:center; + gap:8px;padding:8px 10px;background:rgba(248,250,252,.96);border-bottom:1px solid #e2e8f0;} + .cs-searchwrap{position:relative;flex:1 1 180px;min-width:140px;} + .cs-search{width:100%;box-sizing:border-box;padding:6px 9px;border:1px solid #cbd5e1;border-radius:8px; + background:#fff;color:${ia.NAVY};font:600 11px/1.2 ui-monospace,monospace;outline:none;} + .cs-search:focus{border-color:${ia.NAVY};box-shadow:0 0 0 2px rgba(0,46,110,.12);} + .cs-suggest{position:absolute;left:0;right:0;top:calc(100% + 3px);z-index:60;margin:0;padding:4px; + list-style:none;background:#fff;border:1px solid #cbd5e1;border-radius:8px; + box-shadow:0 8px 22px rgba(0,0,0,.16);max-height:230px;overflow:auto;} + .cs-suggest li{display:flex;align-items:center;gap:6px;padding:5px 7px;border-radius:6px;cursor:pointer; + font:600 11px/1.25 ui-monospace,monospace;color:${ia.NAVY};} + .cs-suggest li:hover{background:#eef2f7;} + .cs-tag{flex:0 0 auto;font:700 8px/1 ui-monospace,monospace;letter-spacing:.5px;color:#fff; + padding:2px 4px;border-radius:4px;background:#94a3b8;} + .cs-suggest li.t-target .cs-tag{background:${ia.RED};} + .cs-suggest li.t-lang .cs-tag{background:${ia.GOLD};} + .cs-suggest li.t-sender .cs-tag{background:${ia.NAVY};} + + .cs-lens{display:inline-flex;align-items:center;gap:5px;font:700 10px/1 ui-monospace,monospace;color:#475569;} + .cs-lens select{padding:5px 6px;border:1px solid #cbd5e1;border-radius:7px;background:#fff; + color:${ia.NAVY};font:600 10px/1.1 ui-monospace,monospace;max-width:140px;} + .cs-colorby{display:inline-flex;align-items:center;gap:4px;font:700 10px/1 ui-monospace,monospace;color:#475569;} + .cs-colorby button{border:1px solid #cbd5e1;background:#fff;color:#475569;cursor:pointer; + font:700 10px/1 ui-monospace,monospace;padding:5px 8px;border-radius:7px;} + .cs-colorby button.on{background:${ia.NAVY};color:#fff;border-color:${ia.NAVY};} + + /* charts grid */ + .cs-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px 10px 12px;} + @container (max-width:520px){ .cs-grid{grid-template-columns:1fr;} } + .cs-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #e2e8f0; + border-radius:10px;padding:7px 8px;} + .cs-card header{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px;} + .cs-card h4{margin:0;font:700 10px/1.2 ui-monospace,monospace;letter-spacing:.3px; + text-transform:uppercase;color:#475569;} + .cs-clr{border:0;background:transparent;color:${ia.RED};cursor:pointer; + font:700 9px/1 ui-monospace,monospace;padding:2px 4px;} + .cs-clr:hover{text-decoration:underline;} + .cs-svg{width:100%;height:auto;display:block;} + .cs-empty{margin:8px 0;color:#94a3b8;font:600 10px/1 ui-monospace,monospace;text-align:center;} + + /* horizontal bars */ + .cs-barrow{cursor:pointer;} + .cs-bar{fill:${ia.NAVY};transition:opacity .15s;} + .cs-bar--country{fill:#1f5fa8;} + .cs-barrow:hover .cs-bar{fill:${ia.GOLD};} + .cs-barrow.active .cs-bar{fill:${ia.GOLD};} + .cs-barrow.dim{opacity:.4;} + .cs-blabel{fill:#334155;font:600 9px/1 ui-monospace,monospace;} + .cs-bval{fill:#64748b;font:600 8.5px/1 ui-monospace,monospace;dominant-baseline:alphabetic;} + .cs-barrow.active .cs-blabel,.cs-barrow.active .cs-bval{fill:${ia.NAVY};} + + /* histogram */ + .cs-axis{stroke:#cbd5e1;stroke-width:1;} + .cs-histbar{cursor:pointer;transition:opacity .15s;} + .cs-histbar rect{stroke:#fff;stroke-width:.5;} + .cs-histbar:hover rect{stroke:${ia.NAVY};stroke-width:1.5;} + .cs-histbar.active rect{stroke:${ia.GOLD};stroke-width:2;} + .cs-histbar.dim{opacity:.4;} + .cs-hval{fill:#334155;font:700 8px/1 ui-monospace,monospace;} + .cs-hlabel{fill:#64748b;font:600 6.5px/1 ui-monospace,monospace;} + + /* donut */ + .cs-donutwrap{display:flex;align-items:center;gap:8px;} + .cs-donut{flex:0 0 96px;width:96px;height:96px;} + .cs-arc{cursor:pointer;stroke:#fff;stroke-width:1;transition:opacity .15s;} + .cs-arc:hover{stroke:${ia.NAVY};stroke-width:1.5;} + .cs-arc.active{stroke:${ia.GOLD};stroke-width:2.5;} + .cs-arc.dim{opacity:.4;} + .cs-dctr{fill:${ia.NAVY};font:700 16px/1 ui-monospace,monospace;} + .cs-legend{flex:1 1 auto;margin:0;padding:0;list-style:none;max-height:104px;overflow:auto;min-width:0;} + .cs-legend li{display:flex;align-items:center;gap:5px;padding:2px 2px;cursor:pointer;border-radius:4px; + font:600 9.5px/1.3 ui-monospace,monospace;color:#334155;white-space:nowrap;overflow:hidden;} + .cs-legend li:hover{background:#eef2f7;} + .cs-legend li.active{color:${ia.NAVY};font-weight:800;} + .cs-legend li.dim{opacity:.45;} + .cs-legend li i{flex:0 0 auto;width:10px;height:10px;border-radius:3px;border:1px solid rgba(0,0,0,.12);} + .cs-legend li b{margin-left:auto;color:#64748b;} +`,"chartstrip"),(G,S)=>(z(),W("div",l3,[f("div",s3,[f("div",c3,[f("input",{class:"cs-search",type:"search",value:ha(n).search.value,onInput:L,onFocus:S[0]||(S[0]=v=>e.value=!0),onBlur:S[1]||(S[1]=v=>e.value=!1),placeholder:"Search target / language / sender…","aria-label":"Search and brush"},null,40,g3),e.value&&s.value.length?(z(),W("ul",u3,[(z(!0),W(Aa,null,Ua(s.value,(v,K)=>(z(),W("li",{key:K,class:Ia("t-"+v.type),role:"option",onMousedown:Xn(O=>E(v),["prevent"])},[f("span",p3,X(v.type==="target"?"RED":v.type==="lang"?"LANG":"SEND"),1),ya(" "+X(v.label),1)],42,d3))),128))])):fa("",!0)]),f("label",m3,[S[9]||(S[9]=f("span",null,"Lens",-1)),f("select",{value:ha(n).languageLens.value||"",onChange:I,"aria-label":"Language lens"},[S[8]||(S[8]=f("option",{value:""},"— no lens —",-1)),(z(!0),W(Aa,null,Ua(l.value.slice(0,40),v=>(z(),W("option",{key:v.lang,value:v.lang},X(v.lang)+" ("+X(v.count)+") ",9,y3))),128))],40,h3)]),f("div",b3,[S[10]||(S[10]=f("span",null,"Color",-1)),f("button",{class:Ia({on:ha(n).colorBy.value==="pct"}),onClick:S[2]||(S[2]=v=>ha(n).setColorBy("pct"))},"% reached",2),f("button",{class:Ia({on:ha(n).colorBy.value==="religion"}),onClick:S[3]||(S[3]=v=>ha(n).setColorBy("religion"))},"religion",2)])]),f("div",_3,[f("section",f3,[f("header",null,[S[11]||(S[11]=f("h4",null,"Sender language",-1)),ha(n).facets.value.languages.size?(z(),W("button",{key:0,class:"cs-clr",onClick:S[4]||(S[4]=v=>ha(n).facets.value.languages.forEach(K=>ha(n).toggleFacet("languages",K)))},"clear")):fa("",!0)]),_.value.length?(z(),W("svg",{key:0,class:"cs-svg",viewBox:"0 0 "+Ig+" "+d(o.value.languageBar),preserveAspectRatio:"xMinYMin meet",role:"img","aria-label":"Senders by language"},[(z(!0),W(Aa,null,Ua(_.value,v=>(z(),W("g",{key:v.key,class:Ia(["cs-barrow",{active:v.active,dim:v.dim}]),onClick:K=>ha(n).toggleFacet("languages",v.key)},[f("text",{class:"cs-blabel",x:Dt-4,y:v.ty,"text-anchor":"end"},X(t(v.label,13)),9,j3),f("rect",{class:"cs-bar",x:v.x,y:v.y,width:v.w,height:v.h},null,8,k3),f("text",{class:"cs-bval",x:v.vx,y:v.ty},X(v.value),9,G3)],10,C3))),128))],8,P3)):(z(),W("p",v3,"no senders"))]),f("section",A3,[f("header",null,[S[12]||(S[12]=f("h4",null,"Sender country",-1)),ha(n).facets.value.countries.size?(z(),W("button",{key:0,class:"cs-clr",onClick:S[5]||(S[5]=v=>ha(n).facets.value.countries.forEach(K=>ha(n).toggleFacet("countries",K)))},"clear")):fa("",!0)]),k.value.length?(z(),W("svg",{key:0,class:"cs-svg",viewBox:"0 0 "+Ig+" "+d(o.value.countryBar),preserveAspectRatio:"xMinYMin meet",role:"img","aria-label":"Senders by country"},[(z(!0),W(Aa,null,Ua(k.value,v=>(z(),W("g",{key:v.key,class:Ia(["cs-barrow cs-barrow--country",{active:v.active,dim:v.dim}]),onClick:K=>ha(n).toggleFacet("countries",v.key)},[f("text",{class:"cs-blabel",x:Dt-4,y:v.ty,"text-anchor":"end"},X(t(v.label,13)),9,M3),f("rect",{class:"cs-bar cs-bar--country",x:v.x,y:v.y,width:v.w,height:v.h},null,8,I3),f("text",{class:"cs-bval",x:v.vx,y:v.ty},X(v.value),9,w3)],10,E3))),128))],8,S3)):(z(),W("p",x3,"no senders"))]),f("section",T3,[f("header",null,[S[13]||(S[13]=f("h4",null,"% reached (quantile)",-1)),ha(n).facets.value.reachedMin!=null?(z(),W("button",{key:0,class:"cs-clr",onClick:S[6]||(S[6]=v=>ha(n).setReachedMin(null))},"clear")):fa("",!0)]),(z(),W("svg",{class:"cs-svg",viewBox:"0 0 "+Cr+" "+J3,preserveAspectRatio:"xMidYMid meet",role:"img","aria-label":"Reached percent histogram"},[f("line",{class:"cs-axis",x1:jr,y1:Oi,x2:Cr-4,y2:Oi},null,8,L3),(z(!0),W(Aa,null,Ua(x.value,v=>(z(),W("g",{key:v.key,class:Ia(["cs-histbar",{active:v.active,dim:v.dim}]),onClick:K=>D(v)},[f("rect",{x:v.x,y:v.y,width:v.w,height:v.h,fill:v.color},null,8,$3),f("text",{class:"cs-hval",x:v.cx,y:v.y-3,"text-anchor":"middle"},X(v.value),9,F3),f("text",{class:"cs-hlabel",x:v.cx,y:Oi+12,"text-anchor":"middle"},X(v.label),9,K3)],10,R3))),128))],8,N3))]),f("section",B3,[f("header",null,[f("h4",null,X(ha(n).colorBy.value==="religion"?"Religion family":"Bridge type"),1),ha(n).facets.value[r.value].size?(z(),W("button",{key:0,class:"cs-clr",onClick:S[7]||(S[7]=v=>ha(n).facets.value[r.value].forEach(K=>ha(n).toggleFacet(r.value,K)))},"clear")):fa("",!0)]),f("div",O3,[w.value?(z(),W("svg",U3,[(z(!0),W(Aa,null,Ua($.value,v=>(z(),W("path",{key:v.key,class:Ia(["cs-arc",{active:v.active,dim:v.dim}]),d:v.path,fill:v.color,onClick:K=>ha(n).toggleFacet(r.value,v.key)},null,10,H3))),128)),f("text",D3,X(w.value),1)])):fa("",!0),f("ul",z3,[(z(!0),W(Aa,null,Ua($.value,v=>(z(),W("li",{key:v.key,class:Ia({active:v.active,dim:v.dim}),onClick:K=>ha(n).toggleFacet(r.value,v.key)},[f("i",{style:Ka({background:v.color})},null,4),ya(X(t(v.label,16))+" ",1),f("b",null,X(v.value),1)],10,V3))),128))])]),w.value?fa("",!0):(z(),W("p",Y3,"no senders"))])])]))}},a_={class:"cpt-header"},n_={class:"cpt-chips"},e_=["onClick","title"],i_=["value"],t_={class:"cpt-counter"},o_=["title"],r_={class:"cpt-cell map"},l_={class:"cpt-cell flower"},s_={class:"cpt-seg",role:"tablist","aria-label":"Map or flower view"},c_={class:"cpt-lower"},g_={class:"cpt-cell"},u_={class:"cpt-cell"},d_={class:"cpt-legend"},p_={class:"cpt-lg"},m_={class:"cpt-lg"},h_={class:"cpt-ramp"},y_={class:"cpt-lg"},b_={class:"cpt-lg"},__={key:0,class:"cpt-overlay"},f_={key:1,class:"cpt-overlay err"},wg={__name:"bloom-cockpit",setup(a){const n=Ya("profileConfig"),e=Ya("mapboxToken"),i=la(()=>(n==null?void 0:n.value)||{}),t=Tb();vn("cockpitStore",t);const o=ua(null);Rn(()=>{var s,g,d;if(t.loadData({...i.value,tk:(e==null?void 0:e.value)||i.value.tk}),i.value.debugExpose&&typeof window<"u")try{(((d=(g=(s=o.value)==null?void 0:s.getRootNode)==null?void 0:g.call(s))==null?void 0:d.host)||window).__cockpit=t}catch{}});function r(s){t.setSearch(s.target.value)}function l(s){t.setMode(s)}return On(` + .cpt-root { position:absolute; inset:0; display:grid; overflow:hidden; + grid-template-rows: auto minmax(0,1.45fr) minmax(0,1fr) auto; + grid-template-areas: "header" "upper" "lower" "legend"; + background:#eef2f7; color:#1f2937; isolation:isolate; container-type:inline-size; + font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; } + + /* ── HEADER ── */ + .cpt-header { grid-area:header; display:flex; flex-wrap:wrap; gap:8px; align-items:center; + padding:8px 12px; background:${ia.NAVY}; color:#fff; border-bottom:1px solid #001b44; } + .cpt-brand { font:800 12px/1 ui-monospace,monospace; letter-spacing:.05em; text-transform:uppercase; + padding:6px 10px; background:rgba(255,255,255,.1); border-radius:7px; } + .cpt-chips { display:flex; flex-wrap:wrap; gap:5px; align-items:center; } + .cpt-chip { display:inline-flex; align-items:center; gap:5px; font:600 11px/1 -apple-system,sans-serif; + padding:4px 8px; border-radius:999px; background:#fff; color:${ia.NAVY}; cursor:pointer; border:0; } + .cpt-chip.focus { background:${ia.GOLD}; color:#3a2600; } + .cpt-chip .x { font-weight:800; opacity:.6; } + .cpt-chip:hover .x { opacity:1; } + .cpt-search { flex:1 1 180px; min-width:120px; max-width:360px; margin-left:auto; + background:#0e1f44; border:1px solid #284a86; color:#dbe4f3; font:600 12px/1 -apple-system,sans-serif; + padding:7px 11px; border-radius:8px; } + .cpt-search::placeholder { color:#7e90b6; } + .cpt-counter { font:700 11px/1.3 ui-monospace,monospace; color:#cdd9f2; text-align:right; white-space:nowrap; } + .cpt-counter b { color:#fff; } + .cpt-prov { font:600 10px/1.3 ui-monospace,monospace; color:#9fb3d9; background:rgba(0,0,0,.25); + border:1px solid #284a86; border-radius:7px; padding:5px 9px; max-width:280px; } + .cpt-prov.err { color:#fecaca; border-color:#9f1239; } + + /* ── UPPER ROW: map + flower ── */ + .cpt-upper { grid-area:upper; display:grid; grid-template-columns: 58fr 42fr; gap:1px; + background:#cbd5e1; position:relative; min-height:0; } + .cpt-cell { position:relative; overflow:hidden; min-height:0; background:#fff; } + .cpt-seg { position:absolute; top:8px; left:50%; transform:translateX(-50%); z-index:40; + display:inline-flex; background:rgba(255,255,255,.95); border:1px solid #cbd5e1; border-radius:999px; + padding:3px; gap:2px; box-shadow:0 2px 10px rgba(0,0,0,.15); } + .cpt-seg button { border:0; background:transparent; color:#475569; cursor:pointer; + font:700 11px/1 ui-monospace,monospace; padding:6px 12px; border-radius:999px; } + .cpt-seg button.on { background:${ia.NAVY}; color:#fff; } + + /* ── LOWER ROW: charts + list ── */ + .cpt-lower { grid-area:lower; display:grid; grid-template-columns: 42fr 58fr; gap:1px; + background:#cbd5e1; min-height:0; } + + /* ── LEGEND RIBBON ── */ + .cpt-legend { grid-area:legend; display:flex; flex-wrap:wrap; gap:6px 16px; align-items:center; + padding:6px 12px; background:#0e1730; color:#cdd9f2; font:600 10px/1.4 ui-monospace,monospace; + border-top:1px solid #1c2742; } + .cpt-lg { display:inline-flex; align-items:center; gap:6px; } + .cpt-sw { width:12px; height:12px; border-radius:50%; flex:0 0 auto; border:1px solid rgba(255,255,255,.3); } + .cpt-line { width:18px; height:0; border-top:2px solid; flex:0 0 auto; } + .cpt-ramp { display:inline-flex; gap:0; } + .cpt-ramp i { width:13px; height:11px; display:inline-block; } + + /* ── loading / error overlay ── */ + .cpt-overlay { position:absolute; inset:0; z-index:80; display:flex; align-items:center; + justify-content:center; background:rgba(238,242,247,.92); color:${ia.NAVY}; + font:600 13px/1.5 ui-monospace,monospace; text-align:center; padding:24px; } + .cpt-overlay.err { color:${ia.RED_DK}; } + + /* ── responsive: stack the two cells per row on narrow frames ── */ + @container (max-width: 720px) { + .cpt-upper { grid-template-columns: 1fr; grid-template-rows: 1fr; } + .cpt-upper .cpt-cell.flower { display:none; } + .cpt-upper.flower-mode .cpt-cell.map { display:none; } + .cpt-upper.flower-mode .cpt-cell.flower { display:block; } + .cpt-lower { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; } + .cpt-prov { display:none; } + } +`,"cockpit-shell"),(s,g)=>(z(),W("div",{ref_key:"rootEl",ref:o,class:"cpt-root"},[f("div",a_,[g[4]||(g[4]=f("span",{class:"cpt-brand"},"My UPG Neighbor · Overview",-1)),f("div",n_,[(z(!0),W(Aa,null,Ua(ha(t).chips.value,(d,_)=>(z(),W("button",{key:_,class:Ia(["cpt-chip",{focus:d.kind==="focus"}]),onClick:k=>ha(t).removeChip(d),title:"remove "+d.label},[ya(X(d.label)+" ",1),g[2]||(g[2]=f("span",{class:"x"},"×",-1))],10,e_))),128))]),f("input",{class:"cpt-search",type:"search",value:ha(t).search.value,onInput:r,placeholder:"Search target / sender / language…","aria-label":"Search"},null,40,i_),f("span",t_,[f("b",null,X(ha(t).counts.value.senders.toLocaleString()),1),g[3]||(g[3]=ya(" senders → ",-1)),f("b",null,X(ha(t).counts.value.clusters.toLocaleString()),1),ya(" clusters · "+X(ha(t).counts.value.hidden)+" hidden ",1)]),f("span",{class:Ia(["cpt-prov",{err:ha(t).provenance.value.apiError}]),title:ha(t).provenance.value.reachedFilter},[ha(t).provenance.value.apiError?(z(),W(Aa,{key:0},[ya(X(ha(t).provenance.value.apiError),1)],64)):(z(),W(Aa,{key:1},[ya(" LIVE "+X(ha(t).provenance.value.liveUnreached.toLocaleString())+" unreached · baked senders "+X(ha(t).provenance.value.bakedGenerated),1)],64))],10,o_)]),f("div",{class:Ia(["cpt-upper",{"flower-mode":ha(t).mode.value==="flower"}])},[f("div",r_,[Wa(Xb)]),f("div",l_,[Wa(G1)]),f("div",s_,[f("button",{class:Ia({on:ha(t).mode.value==="map"}),onClick:g[0]||(g[0]=d=>l("map"))},"MAP",2),f("button",{class:Ia({on:ha(t).mode.value==="flower"}),onClick:g[1]||(g[1]=d=>l("flower"))},"FLOWER",2)])],2),f("div",c_,[f("div",g_,[Wa(Q3)]),f("div",u_,[Wa(r3)])]),f("div",d_,[f("span",p_,[f("span",{class:"cpt-sw",style:Ka({background:ha(ia).RED})},null,4),g[5]||(g[5]=ya(" unreached target",-1))]),f("span",m_,[g[6]||(g[6]=ya("reached % ",-1)),f("span",h_,[(z(!0),W(Aa,null,Ua(ha(ia).GREEN_BINS,(d,_)=>(z(),W("i",{key:_,style:Ka({background:d})},null,4))),128))])]),f("span",y_,[f("span",{class:"cpt-line",style:Ka({borderColor:ha(ia).NAVY})},null,4),g[7]||(g[7]=ya(" SEND (solid=same-lang · dashed=cluster · dotted=in-country)",-1))]),f("span",b_,[f("span",{class:"cpt-sw",style:Ka({background:ha(ia).GOLD})},null,4),g[8]||(g[8]=ya(" selection · pop = log radius · Luke 10:2",-1))])]),ha(t).ready.value?ha(t).loadError.value&&!ha(t).allClusters.value.length?(z(),W("div",f_,X(ha(t).loadError.value),1)):fa("",!0):(z(),W("div",__,"Loading the harvest field…"))],512))}},P_=Object.freeze(Object.defineProperty({__proto__:null,default:wg},Symbol.toStringTag,{value:"Module"})),C_={class:"fm-top"},j_=["value"],k_=["value"],G_=["aria-checked"],v_={key:1,class:"fm-stats"},A_={class:"fm-stage"},S_={key:0,class:"fm-loading"},E_={key:1,class:"fm-loading"},M_=["viewBox"],I_=["cx","cy","fill","transform"],w_=["x1","y1","x2","y2","stroke-dasharray"],x_=["d"],T_=["onClick","onMouseenter"],N_=["cx","cy","r","fill"],L_=["x","y"],R_=["r"],$_=["y"],F_=["y"],K_=["y"],B_={key:3,class:"fm-legend"},O_={class:"fm-lrow"},U_={class:"fm-lrow"},H_={class:"fm-footer"},D_=["innerHTML"],kr="#FF6600",z_="#002e6e",V_="#0b1020",zt=1e3,xg=205,Gr=360,Tg=46,Ng={__name:"flower-mesh",setup(a){function n(c){const P=+c||0;return P>=80?"#0f7a3d":P>=40?"#1f9d55":P>=15?"#5cb874":"#9bcf9b"}const e=Ya("profileConfig");Ya("dataSource",null);const i=la(()=>(e==null?void 0:e.value)||{}),t=ua(null),o=ua(!1),r=ua(""),l=ua(i.value.target??"India"),s=ua(!0),g=ua(null),d=ua(null),_=ua({show:!1,x:0,y:0,html:""}),k=zt/2,x=zt/2;function D(c,P,p,M){const N=(M-90)*Math.PI/180;return[c+p*Math.cos(N),P+p*Math.sin(N)]}function T(c){const P=Math.max(0,+c||0);return Math.max(7,Math.min(22,6+Math.sqrt(P)/320))}function $(c){return String(c||"").trim().toLowerCase()}const w=la(()=>t.value?Object.keys(t.value.countries):[]),L=la(()=>{var c,P;return((P=(c=t.value)==null?void 0:c.countries)==null?void 0:P[l.value])??null}),E=la(()=>{const c=L.value;return c?(c.neighbors||[]).map((P,p)=>({...P,_i:p})):[]}),I=la(()=>E.value.filter(c=>c.adjacency==="same-country")),G=la(()=>E.value.filter(c=>c.adjacency!=="same-country")),S=la(()=>{const c=[],P=(p,M,N)=>{const U=p.length;p.forEach((h,C)=>{const y=U?(C+.5)/U*360+N:0,[R,H]=D(k,x,M,y);c.push({id:"n"+h._i,node:h,x:R,y:H,ang:y,r:T(h.pop),color:n(h.pct_christian),ring:M===xg?"inner":"outer"})})};return P(I.value,xg,0),P(G.value,Gr,G.value.length?180/G.value.length:0),c}),v=la(()=>S.value.map(c=>({id:"s-"+c.id,x1:k,y1:x,x2:c.x,y2:c.y,strong:c.node.bridge==="same-language",to:c.id}))),K=la(()=>{if(!s.value)return[];const c=S.value,P=[];for(let p=0;pS.value.filter(c=>c.ring==="outer").map(c=>({id:"p-"+c.id,cx:D(k,x,Gr-6,c.ang)[0],cy:D(k,x,Gr-6,c.ang)[1],rot:c.ang,color:c.color}))),q=la(()=>{const c=L.value,P=d.value;return{name:l.value,upg:(P==null?void 0:P.upg)??(c==null?void 0:c.target_upg)??0,pop:(P==null?void 0:P.pop)??(c==null?void 0:c.target_pop)??0,religion:(c==null?void 0:c.target_top_religion)??"",langs:(c==null?void 0:c.target_top_langs)??[]}}),sa=la(()=>({total:E.value.length,inner:I.value.length,outer:G.value.length,countries:new Set(E.value.map(c=>c.country)).size,meshes:K.value.length}));function ea(c){return g.value?c.from===g.value||c.to===g.value:!0}function ga(c){return g.value?c.to===g.value:!0}function Sa(c){return!g.value||c.id===g.value?!0:K.value.some(P=>P.from===g.value&&P.to===c.id||P.to===g.value&&P.from===c.id)}const Ma=c=>(+c||0).toLocaleString();function ma(c){const P=+c||0;return P>=1e9?(P/1e9).toFixed(1)+"B":P>=1e6?(P/1e6).toFixed(1)+"M":P>=1e3?(P/1e3).toFixed(0)+"K":String(P)}function pa(c,P){const p=c.node,M=p.province||p.segment;_.value={show:!0,x:P.clientX,y:P.clientY,html:`${u(p.name)}
${u(p.country)}${M?" · "+u(M):""}
reached ${Math.round(p.pct_christian||0)}% Christian
language ${u(p.lang||"—")}
people ${ma(p.pop)}
bridge ${u(p.bridge||"—")}
near ${u(p.adjacency||"—")}
`}}function Y(c){_.value.show&&(_.value.x=c.clientX,_.value.y=c.clientY)}function ta(){_.value={..._.value,show:!1}}function aa(c){g.value=g.value===c.id?null:c.id}function ba(){g.value=null}function na(c){l.value=c.target.value,g.value=null}function u(c){return String(c??"").replace(/[&<>"']/g,P=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[P])}async function A(){const c=i.value.dataUrl;if(c)try{const P=await fetch(c);if(P.ok)return await P.json()}catch{}return ee}async function j(){const c=i.value.apiBase||typeof window<"u"&&(window.MAP_APP_API_URL||window.VITE_API_BASE_URL);if(c)try{const P=await fetch(c.replace(/\/?$/,"")+"/api/people-groups/statistics");if(P.ok){const p=await P.json();p&&typeof p.total=="number"&&(d.value=null)}}catch{}}return Rn(async()=>{if(t.value=await A(),!t.value){r.value="Could not load reached-neighbors.json",o.value=!0;return}w.value.includes(l.value)||(l.value=w.value[0]||l.value),o.value=!0,j()}),On(` + .fm-root { position:absolute; inset:0; display:flex; flex-direction:column; overflow:hidden; + background:radial-gradient(circle at 50% 42%, #16203a 0%, ${V_} 70%); color:#e5e7eb; + isolation:isolate; font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; } + + /* top bar */ + .fm-top { position:absolute; top:12px; left:12px; right:12px; z-index:30; + display:flex; flex-wrap:wrap; gap:8px; align-items:center; pointer-events:none; } + .fm-top > * { pointer-events:auto; } + .fm-title { background:${z_}; color:#fff; font:700 12px/1 ui-monospace,monospace; + letter-spacing:.05em; text-transform:uppercase; padding:9px 13px; border-radius:9px; + box-shadow:0 2px 10px rgba(0,0,0,.4); } + .fm-select { background:#0e1730; border:1px solid #2b3b63; color:#dbe4f3; + font:600 12px/1 -apple-system,sans-serif; padding:8px 11px; border-radius:9px; cursor:pointer; max-width:240px; } + .fm-toggle { background:#0e1730; border:1px solid #2b3b63; color:#9fb3d9; + font:600 11px/1 ui-monospace,monospace; padding:8px 11px; border-radius:9px; cursor:pointer; + display:inline-flex; align-items:center; gap:7px; user-select:none; } + .fm-toggle.on { color:#fff; border-color:#3f7bd6; background:#13224a; } + .fm-toggle .fm-sw { width:9px; height:9px; border-radius:50%; background:#3f7bd6; opacity:.35; } + .fm-toggle.on .fm-sw { opacity:1; } + .fm-stats { margin-left:auto; font:600 11px/1.5 ui-monospace,monospace; color:#9fb3d9; + background:rgba(8,12,24,.7); border:1px solid #1c2742; border-radius:9px; padding:7px 11px; text-align:right; } + .fm-stats b { color:#fff; } + + /* canvas */ + .fm-stage { flex:1 1 0; position:relative; } + .fm-svg { position:absolute; inset:0; width:100%; height:100%; display:block; } + + .fm-loading { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; + color:#9fb3d9; font:13px/1 ui-monospace,monospace; z-index:5; } + + /* svg node + link styling driven by classes */ + .fm-spoke { stroke:#3a4f86; stroke-width:1.4; fill:none; opacity:.5; transition:opacity .15s; } + .fm-spoke.strong { stroke:#5b7fd0; stroke-width:2; opacity:.7; } + .fm-spoke.dim { opacity:.06; } + .fm-mesh { stroke:#ffae66; stroke-width:1.3; fill:none; opacity:.5; stroke-linecap:round; transition:opacity .15s; } + .fm-mesh.lit { opacity:.92; stroke-width:2; } + .fm-mesh.dim { opacity:.05; } + .fm-petal { opacity:.13; transition:opacity .15s; } + .fm-petal.dim { opacity:.04; } + .fm-node { cursor:pointer; transition:opacity .15s; } + .fm-node.dim { opacity:.18; } + .fm-node circle { stroke:#0b1020; stroke-width:2; } + .fm-node.sel circle { stroke:#ffffff; stroke-width:3; } + .fm-node-label { fill:#cdd9f2; font:600 12px/1 -apple-system,sans-serif; paint-order:stroke; + stroke:#0b1020; stroke-width:3px; text-anchor:middle; pointer-events:none; } + .fm-center-glow { fill:${kr}; opacity:.16; } + .fm-center circle { fill:${kr}; stroke:#ffd9bd; stroke-width:3; } + .fm-center-name { fill:#fff; font:800 19px/1 -apple-system,sans-serif; text-anchor:middle; + paint-order:stroke; stroke:#7a2e00; stroke-width:3px; } + .fm-center-sub { fill:#ffe1cb; font:600 11px/1 ui-monospace,monospace; text-anchor:middle; } + + /* legend */ + .fm-legend { position:absolute; left:12px; bottom:38px; z-index:25; background:rgba(8,12,24,.82); + border:1px solid #1c2742; border-radius:10px; padding:10px 12px; max-width:230px; + box-shadow:0 4px 16px rgba(0,0,0,.45); } + .fm-legend h4 { font:700 9px/1 ui-monospace,monospace; letter-spacing:.12em; text-transform:uppercase; + color:#7e90b6; margin-bottom:8px; } + .fm-lrow { display:flex; align-items:center; gap:8px; padding:3px 0; font-size:11px; color:#c4d0e8; } + .fm-dot { width:12px; height:12px; border-radius:50%; flex:0 0 auto; } + .fm-line { width:18px; height:0; border-top:2px solid; flex:0 0 auto; } + + /* footer provenance (honesty contract) */ + .fm-footer { position:absolute; left:0; right:0; bottom:0; z-index:20; background:rgba(8,12,24,.86); + color:#8fa2c8; font:10px/1.4 ui-monospace,monospace; padding:6px 12px; + display:flex; flex-wrap:wrap; gap:3px 14px; align-items:center; border-top:1px solid #1c2742; } + .fm-footer b { color:#dbe4f3; } + + /* tooltip */ + .fm-tip { position:fixed; z-index:60; pointer-events:none; max-width:240px; + background:#0e1730; border:1px solid #34508c; border-radius:9px; padding:9px 11px; + box-shadow:0 6px 22px rgba(0,0,0,.55); font-size:11.5px; color:#dbe4f3; } + .fm-tip strong { font-size:13px; color:#fff; } + .fm-tip-sub { color:#ffae66; font:600 10px/1.3 ui-monospace,monospace; margin:2px 0 6px; } + .fm-tip-row { display:flex; gap:6px; line-height:1.5; } + .fm-tip-k { color:#7e90b6; min-width:56px; } + + @media (max-width:720px) { + .fm-stats { display:none; } + .fm-legend { max-width:170px; } + } +`,"flower-mesh"),(c,P)=>{var p,M,N,U,h,C;return z(),W("div",{class:"fm-root",onMousemove:Y},[f("div",C_,[P[9]||(P[9]=f("span",{class:"fm-title"},"My UPG Neighbor · Flower-Mesh",-1)),w.value.length?(z(),W("select",{key:0,class:"fm-select",value:l.value,onChange:na,"aria-label":"Select unreached target country"},[(z(!0),W(Aa,null,Ua(w.value,y=>(z(),W("option",{key:y,value:y},X(y),9,k_))),128))],40,j_)):fa("",!0),f("span",{class:Ia(["fm-toggle",{on:s.value}]),role:"switch","aria-checked":s.value,tabindex:"0",onClick:P[0]||(P[0]=y=>s.value=!s.value),onKeydown:[P[1]||(P[1]=Ys(Xn(y=>s.value=!s.value,["prevent"]),["enter"])),P[2]||(P[2]=Ys(Xn(y=>s.value=!s.value,["prevent"]),["space"]))]},[...P[3]||(P[3]=[f("span",{class:"fm-sw"},null,-1),ya(" language mesh ",-1)])],42,G_),L.value?(z(),W("span",v_,[f("b",null,X(sa.value.total),1),P[4]||(P[4]=ya(" reached neighbors · ",-1)),f("b",null,X(sa.value.countries),1),P[5]||(P[5]=ya(" countries",-1)),P[6]||(P[6]=f("br",null,null,-1)),f("b",null,X(Ma(q.value.upg)),1),P[7]||(P[7]=ya(" UPGs in center · ",-1)),f("b",null,X(sa.value.meshes),1),P[8]||(P[8]=ya(" mesh links ",-1))])):fa("",!0)]),f("div",A_,[o.value?r.value?(z(),W("div",E_,X(r.value),1)):(z(),W("svg",{key:2,class:"fm-svg",viewBox:`0 0 ${zt} ${zt}`,preserveAspectRatio:"xMidYMid meet",onClick:ba},[f("g",null,[(z(!0),W(Aa,null,Ua(O.value,y=>(z(),W("ellipse",{key:y.id,class:Ia(["fm-petal",{dim:g.value}]),cx:y.cx,cy:y.cy,rx:"78",ry:"40",fill:y.color,transform:`rotate(${y.rot} ${y.cx} ${y.cy})`},null,10,I_))),128))]),f("g",null,[(z(!0),W(Aa,null,Ua(v.value,y=>(z(),W("line",{key:y.id,class:Ia(["fm-spoke",{strong:y.strong,dim:!ga(y)}]),x1:y.x1,y1:y.y1,x2:y.x2,y2:y.y2,"stroke-dasharray":y.strong?"0":"5 5"},null,10,w_))),128))]),f("g",null,[(z(!0),W(Aa,null,Ua(K.value,y=>(z(),W("path",{key:y.id,class:Ia(["fm-mesh",{lit:ea(y)&&g.value,dim:g.value&&!ea(y)}]),d:y.d},null,10,x_))),128))]),f("g",null,[(z(!0),W(Aa,null,Ua(S.value,y=>(z(),W("g",{key:y.id,class:Ia(["fm-node",{dim:!Sa(y),sel:y.id===g.value}]),onClick:Xn(R=>aa(y),["stop"]),onMouseenter:R=>pa(y,R),onMouseleave:ta},[f("title",null,X(y.node.name)+" — "+X(Math.round(y.node.pct_christian||0))+"% Christian, "+X(y.node.lang),1),f("circle",{cx:y.x,cy:y.y,r:y.r,fill:y.color},null,8,N_),y.r>=9||y.id===g.value?(z(),W("text",{key:0,class:"fm-node-label",x:y.x,y:y.y+y.r+14},X(y.node.name),9,L_)):fa("",!0)],42,T_))),128))]),f("g",{class:"fm-center",onClick:Xn(ba,["stop"]),style:{cursor:"default"}},[f("circle",{class:"fm-center-glow",cx:k,cy:x,r:Tg+26},null,8,R_),f("circle",{cx:k,cy:x,r:Tg}),f("text",{class:"fm-center-name",x:k,y:x-2},X(q.value.name),9,$_),f("text",{class:"fm-center-sub",x:k,y:x+16},X(Ma(q.value.upg))+" UPGs",9,F_),f("text",{class:"fm-center-sub",x:k,y:x+30,style:{opacity:".85"}},X(ma(q.value.pop))+" people",9,K_)])],8,M_)):(z(),W("div",S_,"Growing the flower…")),o.value&&!r.value?(z(),W("div",B_,[P[12]||(P[12]=f("h4",null,"The flower",-1)),f("div",O_,[f("span",{class:"fm-dot",style:Ka({background:kr})},null,4),P[10]||(P[10]=ya(" Unreached target (unreached-2000)",-1))]),f("div",U_,[f("span",{class:"fm-dot",style:Ka({background:n(90)})},null,4),P[11]||(P[11]=ya(" Reached neighbor (deeper = more Christian)",-1))]),P[13]||(P[13]=As('
SEND path → into the unreached
via related language cluster
Same-language collaboration mesh
inner whorl = same country · petals = surrounding countries
',4))])):fa("",!0)]),f("div",H_,[P[14]||(P[14]=f("span",null,[f("b",null,"Flower-Mesh"),ya(" reached neighbor → unreached center")],-1)),P[15]||(P[15]=f("span",null,"center = unreached-2000 (live UPG data)",-1)),f("span",null,"neighbors = baked "+X(((M=(p=t.value)==null?void 0:p.meta)==null?void 0:M.generated)||"2026-06-12")+" (≥"+X(((U=(N=t.value)==null?void 0:N.meta)==null?void 0:U.threshold_pct_christian)||10)+"% Christian, "+X(((C=(h=t.value)==null?void 0:h.meta)==null?void 0:C.adjacency_km)||1500)+" km)",1),P[16]||(P[16]=f("span",null,"province N/A in source — finest grain = country (see RE)",-1)),P[17]||(P[17]=f("span",null,"Luke 10:2 · send laborers into the harvest",-1))]),_.value.show?(z(),W("div",{key:0,class:"fm-tip",style:Ka({left:_.value.x+14+"px",top:_.value.y+14+"px"}),innerHTML:_.value.html},null,12,D_)):fa("",!0)],32)}}},Y_=Object.freeze(Object.defineProperty({__proto__:null,default:Ng},Symbol.toStringTag,{value:"Module"})),W_={key:0,class:"lc-loading"},J_={class:"lc-top"},Z_={key:0,class:"lc-stats"},q_={key:1,class:"lc-legend"},X_={class:"lc-lrow"},Q_={class:"lc-lrow"},a5={key:2,class:"lc-panel"},n5={class:"lc-panel-head"},e5={class:"lc-h-lang"},i5={class:"lc-h-sub"},t5={class:"lc-panel-body"},o5={class:"lc-sec"},r5={key:0,class:"lc-chip"},l5={class:"lc-sec",style:{"margin-top":"10px"}},s5={key:1,class:"lc-muted"},c5={class:"lc-re-name"},g5={class:"lc-re-meta"},u5={key:3,class:"lc-footer"},d5=["innerHTML"],Vt="#e11d48",Ui="#9f1239",Yt="#002e6e",vr="#f59e0b",Ar="lc-clusters-src",Lg="lc-pins-src",Sr="lc-reached-src",Er="lc-links-src",xe="lc-clusters",Rg="lc-cluster-labels",$g="lc-pins",Mr="lc-reached",Fg="lc-links",Kg={__name:"lang-cluster",setup(a){function n(c){const P=+c||0;return P>=80?"#0f7a3d":P>=40?"#1f9d55":P>=15?"#5cb874":"#9bcf9b"}const e=Ya("profileConfig"),i=Ya("mapboxToken"),t=Ya("instanceId",null),o=la(()=>(e==null?void 0:e.value)||{});t!=null&&t.value||t||""+Date.now().toString(36)+Math.random().toString(36).slice(2,8);const r=ua(null),l=ua(null),s=ua(!1),g=ua("Loading people groups…"),d=ua([]),_=ua([]),k=ua(null),x=ua({show:!1,x:0,y:0,html:""}),D={India:[79,22],Pakistan:[69.3,30],Indonesia:[113,-1],Bangladesh:[90.3,23.7],China:[104,35],Japan:[138,37],Iran:[53,32],"Türkiye (Turkey)":[35,39],Egypt:[30,26.5],Nigeria:[8,9.5],Thailand:[101,15],Sudan:[30,15.5],Algeria:[3,28],Iraq:[44,33],"Myanmar (Burma)":[96,21],Afghanistan:[66,34],Yemen:[47.5,15.5],Morocco:[-6,32],Uzbekistan:[64,41.5],"Saudi Arabia":[45,24],Ethiopia:[39.5,9],Niger:[9,17.5],"Korea, North":[127,40],Nepal:[84,28.2],Mali:[-3.5,17],Somalia:[46.5,5.5],Malaysia:[108,3.5],Russia:[90,60],Cambodia:[105,12.7],Kazakhstan:[67,48],Senegal:[-14.5,14.5],"United States":[-98,39],Guinea:[-11,10.5],Tunisia:[9.5,34],Chad:[19,15.5],Tajikistan:[71,38.7],Jordan:[36.5,31],Azerbaijan:[47.5,40.3],Vietnam:[106,16],Israel:[35,31.3],Armenia:[45,40.2],Austria:[14.5,47.5],Bahrain:[50.6,26],Brunei:[114.7,4.5],Bulgaria:[25.5,42.7],"Burkina Faso":[-1.7,12.3],Cameroon:[12.5,6],Canada:[-106,56],"Cape Verde":[-23.6,16],"China, Hong Kong":[114.2,22.3],"China, Macau":[113.5,22.2],Cyprus:[33.2,35.1],"Côte d'Ivoire":[-5.5,7.5],Eritrea:[39,15.3],France:[2.5,47],Georgia:[43.5,42],Ghana:[-1,7.9],Greece:[22,39],"Guinea-Bissau":[-15,12],Italy:[12.5,42.5],Kenya:[38,.2],"Korea, South":[128,36.5],Kuwait:[47.7,29.3],Kyrgyzstan:[74.5,41.3],Lebanon:[35.8,33.9],Liberia:[-9.4,6.5],Moldova:[28.5,47.2],Oman:[56,21],Portugal:[-8,39.5],Qatar:[51.2,25.3],Serbia:[21,44],"Sierra Leone":[-11.8,8.5],Singapore:[103.8,1.35],"South Sudan":[31,7.5],Spain:[-3.7,40.3],Switzerland:[8.2,46.8],Syria:[38,35],Tanzania:[35,-6.3],Togo:[1,8.6],Turkmenistan:[59,39],Uganda:[32.5,1.4],Ukraine:[31,49],"United Arab Emirates":[54,24]};function T(c,P){const p=D[c];if(!p)return null;let M=0;const N=String(P||"");for(let U=0;U>8&255)/255-.5)*4]}const $=c=>String(c||"").trim().toLowerCase(),{map:w,initializeMap:L,destroy:E}=Kt({containerRef:l,accessToken:(i==null?void 0:i.value)||o.value.tk||"",style:o.value.style??"mapbox://styles/mapbox/light-v11",center:o.value.center??[55,22],zoom:o.value.zoom??1.7,minZoom:o.value.minZoom??1,maxZoom:o.value.maxZoom??12}),I=la(()=>{const c=d.value,P=new Set(c.filter(M=>M.scope==="province").map(M=>M.province)),p=new Set(c.map(M=>M.lang));return{clusters:c.length,pgs:c.reduce((M,N)=>M+N.count,0),provinces:P.size,langs:p.size,withReach:c.filter(M=>M.reached.length).length}}),G=la(()=>d.value.find(c=>c.key===k.value)||null);function S(c){return c&&typeof c=="object"?c.label??c.value??"":c??""}function v(c){return c&&typeof c=="object"?c.value??c.label??"":c??""}const K={"People's Republic of China":"China","Lao People’s Democratic Republic":"Laos","Lao People's Democratic Republic":"Laos"};function O(c){return K[c]||c}function q(c,P){const p=new Map;for(const N of c){const U=Number(N.latitude),h=Number(N.longitude),C=S(N.primary_language)||"(unknown language)",y=O(S(N.country_code)||"(unknown)"),R=N.slug||v(N.primary_language)+":"+N.name,H=P[R]||null,V=H?"province":"country",oa=H||y,Q=C+" · "+oa+(H?" ("+y+")":"");let m=p.get(Q);m||(m={key:Q,lang:C,rol3:v(N.primary_language)||"",country:y,province:H,scope:V,scopeName:oa,count:0,_sumLat:0,_sumLng:0,_n:0,members:[],reached:[]},p.set(Q,m)),m.count++,m.members.push({name:N.name,slug:R,lang:C,country:y}),isFinite(U)&&isFinite(h)&&(m._sumLat+=U,m._sumLng+=h,m._n++)}const M=[];for(const N of p.values())N._n&&(N.lat=N._sumLat/N._n,N.lng=N._sumLng/N._n,delete N._sumLat,delete N._sumLng,delete N._n,M.push(N));return M.sort((N,U)=>U.count-N.count),M}function sa(c,P){const p=new Set(P.map(y=>y.rol3).filter(Boolean)),M=new Set(P.map(y=>$(y.lang))),N=new Set,U=[],h=new Map,C=new Map;for(const y of Object.values(c.countries||{}))for(const R of y.neighbors||[]){const H=$(R.lang),V=R.rol3||"";if(!(V&&p.has(V))&&!M.has(H))continue;const Q=R.name+"|"+R.country+"|"+(V||H);if(N.has(Q))continue;N.add(Q);const m=Number(R.lng)&&Number(R.lat)?[Number(R.lng),Number(R.lat)]:T(R.country,Q);if(!m)continue;const b={name:R.name,country:R.country,lang:R.lang,rol3:V,lk:H,pct:R.pct_christian||0,pop:R.pop||0,lng:m[0],lat:m[1]};U.push(b),V&&(h.has(V)||h.set(V,[]),h.get(V).push(b)),C.has(H)||C.set(H,[]),C.get(H).push(b)}for(const y of P){const R=y.rol3?h.get(y.rol3)||[]:[],H=C.get($(y.lang))||[];y.reached=R.length&&H.length?[...new Set([...R,...H])]:R.length?R:H}return U}const ea=c=>({type:"FeatureCollection",features:c});function ga(){return ea(d.value.map(c=>({type:"Feature",geometry:{type:"Point",coordinates:[c.lng,c.lat]},properties:{key:c.key,lang:c.lang,count:c.count,scope:c.scope,hasReach:c.reached.length>0,label:c.lang+" ("+c.count+")"}})))}function Sa(){var P;const c=[];for(const p of d.value)for(const M of p.members){const U=T(p.country,M.slug)||[p.lng,p.lat];c.push({type:"Feature",geometry:{type:"Point",coordinates:[p.lng+(U[0]-(((P=D[p.country])==null?void 0:P[0])??U[0]))*.15,p.lat]},properties:{key:p.key}})}return ea(c)}function Ma(){const c=G.value,P=c&&c.rol3||"",p=c?$(c.lang):null;return ea(_.value.map(M=>({type:"Feature",geometry:{type:"Point",coordinates:[M.lng,M.lat]},properties:{name:M.name,country:M.country,lang:M.lang,pct:M.pct,color:n(M.pct),matched:c?P&&M.rol3===P||!!p&&M.lk===p:!1}})))}function ma(){const c=G.value;return ea(c?c.reached.map(P=>({type:"Feature",geometry:{type:"LineString",coordinates:[[c.lng,c.lat],[P.lng,P.lat]]},properties:{}})):[])}function pa(c,P,p){const M=c.getSource(P);M?M.setData(p):c.addSource(P,{type:"geojson",data:p})}function Y(){var P;const c=w.value;!c||!((P=c.isStyleLoaded)!=null&&P.call(c))||(pa(c,Er,ma()),pa(c,Lg,Sa()),pa(c,Sr,Ma()),pa(c,Ar,ga()),c.getLayer(Fg)||c.addLayer({id:Fg,type:"line",source:Er,paint:{"line-color":vr,"line-width":1.1,"line-opacity":.5,"line-dasharray":[2,2]}}),c.getLayer($g)||c.addLayer({id:$g,type:"circle",source:Lg,minzoom:3.6,paint:{"circle-radius":["interpolate",["linear"],["zoom"],3.6,1.6,8,4],"circle-color":Vt,"circle-opacity":.5}}),c.getLayer(Mr)||c.addLayer({id:Mr,type:"circle",source:Sr,paint:{"circle-radius":["case",["get","matched"],4.5,["interpolate",["linear"],["zoom"],1,2,6,3.5]],"circle-color":["get","color"],"circle-stroke-width":["case",["get","matched"],1.5,.5],"circle-stroke-color":["case",["get","matched"],vr,"#ffffff"],"circle-opacity":["case",["boolean",["feature-state","dim"],!1],.15,["case",["get","matched"],.95,.6]]}}),c.getLayer(xe)||c.addLayer({id:xe,type:"circle",source:Ar,paint:{"circle-radius":["interpolate",["linear"],["get","count"],1,7,25,16,80,26,130,34],"circle-color":Vt,"circle-opacity":["case",["==",["get","key"],["literal",""]],.6,.55],"circle-stroke-width":["case",["get","hasReach"],2.4,1],"circle-stroke-color":["case",["get","hasReach"],n(80),Ui]}}),c.getLayer(Rg)||c.addLayer({id:Rg,type:"symbol",source:Ar,minzoom:2.6,layout:{"text-field":["get","label"],"text-size":11,"text-offset":[0,1.3],"text-anchor":"top","text-allow-overlap":!1,"text-optional":!0},paint:{"text-color":Ui,"text-halo-color":"#ffffff","text-halo-width":1.4}}),ta())}function ta(){const c=w.value;!c||!c.getLayer(xe)||(c.setPaintProperty(xe,"circle-stroke-color",k.value?["case",["==",["get","key"],k.value],vr,["case",["get","hasReach"],n(80),Ui]]:["case",["get","hasReach"],n(80),Ui]),c.setPaintProperty(xe,"circle-stroke-width",k.value?["case",["==",["get","key"],k.value],4,["case",["get","hasReach"],2.4,1]]:["case",["get","hasReach"],2.4,1]))}function aa(c){k.value=k.value===c?null:c;const P=w.value;P&&(pa(P,Sr,Ma()),pa(P,Er,ma()),ta());const p=G.value;if(p&&P)try{let M=p.lng,N=p.lng,U=p.lat,h=p.lat;for(const C of p.reached)M=Math.min(M,C.lng),N=Math.max(N,C.lng),U=Math.min(U,C.lat),h=Math.max(h,C.lat);P.stop(),M===N&&U===h?P.easeTo({center:[p.lng,p.lat],zoom:4,duration:800}):P.fitBounds([[M,U],[N,h]],{padding:110,maxZoom:5.5,duration:800})}catch{}}function ba(){const c=G.value;if(!c)return;const P={target:c.country,language:c.lang,province:c.province||null,scope:c.scope,clusterKey:c.key};try{const M=r.value&&r.value.getRootNode&&r.value.getRootNode().host||r.value;M&&M.dispatchEvent(new CustomEvent("upgn:drill-flower",{bubbles:!0,composed:!0,detail:P}))}catch{}}function na(c){return String(c??"").replace(/[&<>"']/g,P=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[P])}function u(c){x.value.show&&(x.value.x=c.clientX,x.value.y=c.clientY)}async function A(c){for(const P of c)try{const p=await fetch(P);if(p.ok)return await p.json()}catch{}return null}async function j(){const c=o.value.apiBase||typeof window<"u"&&(window.MAP_APP_API_URL||window.VITE_API_BASE_URL);if(!c)throw new Error("No API base configured (apiBase / window.MAP_APP_API_URL / VITE_API_BASE_URL) — failing closed, no default host.");const p=c.replace(/\/?$/,"")+"/api/people-groups/list?fields="+"slug,name,latitude,longitude,country_code,primary_language,wagf_block,population"+"&lang=en",M=await fetch(p,{cache:"no-store"});if(!M.ok)throw new Error("list "+M.status);const N=await M.json();return N.posts||N.data||N.records||N.results||N.items||(Array.isArray(N)?N:[])}return Rn(async()=>{var C,y,R;await L();const c=w.value;try{c&&c.setProjection("mercator")}catch{}const P=o.value.dataBase||typeof window<"u"&&window.MAP_APP_BASE_URL||"",p=H=>P?P.replace(/\/?$/,"/")+"data/"+H:null,M=await A([o.value.adminUrl,p("admin1-membership.json")].filter(Boolean))||fg||{},N=await A([o.value.dataUrl,p("reached-neighbors.json")].filter(Boolean))||ee||{countries:{}};let U=[];try{U=await j()}catch(H){g.value="Live API unreachable — "+H.message,s.value=!0;return}d.value=q(U,M),_.value=sa(N,d.value),s.value=!0;try{window.__lcStats={reachedPins:_.value.length,matchedClusters:d.value.filter(H=>H.reached&&H.reached.length).length,totalClusters:d.value.length,matchedByRol3:_.value.filter(H=>H.rol3).length}}catch{}const h=()=>{Y(),c.on("click",xe,V=>{var Q;const oa=(Q=V.features)==null?void 0:Q[0];oa&&aa(oa.properties.key)});const H=(V,oa)=>{c.on("mouseenter",V,()=>{c.getCanvas().style.cursor="pointer"}),c.on("mouseleave",V,()=>{c.getCanvas().style.cursor="",x.value={...x.value,show:!1}}),c.on("mousemove",V,Q=>{var b;const m=(b=Q.features)==null?void 0:b[0];m&&(x.value={show:!0,x:Q.originalEvent.clientX,y:Q.originalEvent.clientY,html:oa(m.properties)})})};H(xe,V=>`${na(V.lang)}
${na(V.key)}
unreached ${V.count} groups
reached ${V.hasReach?"matching neighbors ✓":"none found"}
click → bounded set + flower
`),H(Mr,V=>`${na(V.name)}
${na(V.country)} · ${na(V.lang)}
reached ${Math.round(V.pct)}% Christian
`)};(C=c==null?void 0:c.isStyleLoaded)!=null&&C.call(c)?h():(y=c==null?void 0:c.once)==null||y.call(c,"load",h),(R=c==null?void 0:c.once)==null||R.call(c,"idle",()=>{s.value&&Y()})}),Ue(()=>{E()}),On(` + .lc-root { position:absolute; inset:0; display:flex; flex-direction:column; overflow:hidden; + background:#ffffff; color:#1f2937; isolation:isolate; + font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; } + .lc-map { position:absolute; inset:0; } + .lc-loading { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; + background:#ffffff; color:${Yt}; font:13px/1 ui-monospace,monospace; z-index:5; } + + .lc-top { position:absolute; top:10px; left:10px; right:10px; z-index:30; display:flex; + flex-wrap:wrap; gap:8px; align-items:center; pointer-events:none; } + .lc-top > * { pointer-events:auto; } + .lc-title { background:${Yt}; color:#fff; font:700 12px/1 ui-monospace,monospace; + letter-spacing:.04em; text-transform:uppercase; padding:8px 12px; border-radius:8px; } + .lc-stats { margin-left:auto; background:rgba(255,255,255,.94); border:1px solid #d1d5db; + border-radius:8px; padding:7px 11px; font:600 11px/1.5 ui-monospace,monospace; color:#374151; text-align:right; } + .lc-stats b { color:${Ui}; } + + .lc-legend { position:absolute; left:10px; bottom:34px; z-index:25; background:rgba(255,255,255,.95); + border:1px solid #d1d5db; border-radius:10px; padding:9px 12px; max-width:240px; box-shadow:0 4px 14px rgba(0,0,0,.12); } + .lc-legend h4 { font:700 9px/1 ui-monospace,monospace; letter-spacing:.1em; text-transform:uppercase; color:#6b7280; margin-bottom:8px; } + .lc-lrow { display:flex; align-items:center; gap:8px; padding:3px 0; font-size:11px; color:#374151; } + .lc-dot { width:12px; height:12px; border-radius:50%; flex:0 0 auto; border:1px solid rgba(0,0,0,.25); } + + .lc-panel { position:absolute; top:52px; right:10px; bottom:34px; z-index:26; width:290px; max-width:48vw; + background:rgba(255,255,255,.98); border:1px solid #d1d5db; border-radius:10px; box-shadow:0 4px 16px rgba(0,0,0,.16); + display:flex; flex-direction:column; overflow:hidden; } + .lc-panel-head { padding:11px 13px; background:${Vt}; color:#fff; } + .lc-panel-head .lc-h-lang { font:800 15px/1.2 -apple-system,sans-serif; } + .lc-panel-head .lc-h-sub { margin-top:3px; font:600 11px/1.3 ui-monospace,monospace; color:#ffe4e6; } + .lc-panel-body { flex:1 1 0; overflow-y:auto; padding:9px 11px; } + .lc-sec { font:700 9px/1 ui-monospace,monospace; letter-spacing:.1em; text-transform:uppercase; color:#6b7280; margin:6px 0 6px; } + .lc-chip { display:inline-block; font:600 10px/1 ui-monospace,monospace; padding:3px 7px; border-radius:999px; + border:1px solid #d1d5db; color:#374151; background:#f9fafb; margin:0 4px 4px 0; } + .lc-re { border:1px solid #e5e7eb; border-radius:8px; padding:6px 8px; margin-bottom:5px; } + .lc-re-name { font:700 12px/1.2 -apple-system,sans-serif; color:#111827; display:flex; align-items:center; gap:6px; } + .lc-re-meta { margin-top:3px; font:11px/1.3 ui-monospace,monospace; color:#4b5563; } + .lc-drill { display:block; width:100%; margin-top:8px; padding:9px; border:0; border-radius:8px; cursor:pointer; + background:${Yt}; color:#fff; font:700 12px/1 -apple-system,sans-serif; } + .lc-drill:hover { background:#013a8a; } + .lc-muted { color:#6b7280; font-size:11px; padding:8px 2px; } + + .lc-footer { position:absolute; left:0; right:0; bottom:0; z-index:20; background:${Yt}; color:#dbe4f3; + font:10px/1.4 ui-monospace,monospace; padding:5px 12px; display:flex; flex-wrap:wrap; gap:3px 14px; align-items:center; } + .lc-footer b { color:#fff; } + + .lc-tip { position:fixed; z-index:60; pointer-events:none; max-width:240px; background:#0e1730; + border:1px solid #34508c; border-radius:9px; padding:9px 11px; box-shadow:0 6px 22px rgba(0,0,0,.5); font-size:11.5px; color:#dbe4f3; } + .lc-tip strong { font-size:13px; color:#fff; } + .lc-tip-sub { color:#fda4af; font:600 10px/1.3 ui-monospace,monospace; margin:2px 0 6px; } + .lc-tip-row { display:flex; gap:6px; line-height:1.5; } + .lc-tip-k { color:#7e90b6; min-width:64px; } + + @media (max-width:720px){ .lc-stats{ display:none; } .lc-panel{ width:210px; } .lc-legend{ max-width:160px; } } +`,"lang-cluster"),(c,P)=>(z(),W("div",{ref_key:"lcRoot",ref:r,class:"lc-root",onMousemove:u},[f("div",{ref_key:"mapContainer",ref:l,class:"lc-map"},null,512),s.value?fa("",!0):(z(),W("div",W_,X(g.value),1)),f("div",J_,[P[5]||(P[5]=f("span",{class:"lc-title"},"My UPG Neighbor · Language Clusters",-1)),s.value?(z(),W("span",Z_,[f("b",null,X(I.value.clusters),1),P[0]||(P[0]=ya(" language clusters · ",-1)),f("b",null,X(I.value.pgs),1),P[1]||(P[1]=ya(" unreached",-1)),P[2]||(P[2]=f("br",null,null,-1)),f("b",null,X(I.value.provinces),1),P[3]||(P[3]=ya(" IN/CN provinces · ",-1)),f("b",null,X(I.value.withReach),1),P[4]||(P[4]=ya(" with reached match ",-1))])):fa("",!0)]),s.value?(z(),W("div",q_,[P[8]||(P[8]=f("h4",null,"Bounded sets",-1)),f("div",X_,[f("span",{class:"lc-dot",style:Ka({background:Vt})},null,4),P[6]||(P[6]=ya(" Unreached language cluster (size = #groups)",-1))]),f("div",Q_,[f("span",{class:"lc-dot",style:Ka({background:n(80)})},null,4),P[7]||(P[7]=ya(" Reached neighbor (matched by language)",-1))]),P[9]||(P[9]=f("div",{class:"lc-lrow",style:{color:"#6b7280","font-size":"10px","margin-top":"4px"}},"green ring = cluster has a reached match · click a cluster to drill",-1))])):fa("",!0),s.value&&G.value?(z(),W("div",a5,[f("div",n5,[f("div",e5,X(G.value.lang),1),f("div",i5,X(G.value.scope==="province"?G.value.province+" · "+G.value.country:G.value.country),1)]),f("div",t5,[f("div",o5,"Bounded set — "+X(G.value.count)+" unreached groups",1),(z(!0),W(Aa,null,Ua(G.value.members.slice(0,18),(p,M)=>(z(),W("span",{key:M,class:"lc-chip"},X(p.name),1))),128)),G.value.members.length>18?(z(),W("span",r5,"+"+X(G.value.members.length-18)+" more",1)):fa("",!0),f("div",l5,"Reached neighbors (same language) — "+X(G.value.reached.length),1),G.value.reached.length?fa("",!0):(z(),W("div",s5,"No reached people-group shares this language in the baked set. A frontier — pray for laborers (Luke 10:2).")),(z(!0),W(Aa,null,Ua(G.value.reached,(p,M)=>(z(),W("div",{key:"r"+M,class:"lc-re"},[f("div",c5,[f("span",{class:"lc-dot",style:Ka({background:n(p.pct)})},null,4),ya(X(p.name),1)]),f("div",g5,X(p.country)+" · "+X(Math.round(p.pct))+"% Christian · "+X(p.lang),1)]))),128)),f("button",{class:"lc-drill",onClick:ba},"Open flower view ▸")])])):fa("",!0),s.value?(z(),W("div",u5,[P[10]||(P[10]=f("span",null,[f("b",null,"Language clusters"),ya(" red unreached · green reached-by-language")],-1)),f("span",null,"unreached = LIVE UPG data ("+X(I.value.pgs)+")",1),P[11]||(P[11]=f("span",null,"IN/CN province = real ADM1 (my-upg-100-list point-in-polygon)",-1)),P[12]||(P[12]=f("span",null,"reached = baked reached-neighbors",-1)),P[13]||(P[13]=f("span",null,"Luke 10:2 · bounded sets → flowers",-1))])):fa("",!0),x.value.show?(z(),W("div",{key:4,class:"lc-tip",style:Ka({left:x.value.x+14+"px",top:x.value.y+14+"px"}),innerHTML:x.value.html},null,12,d5)):fa("",!0)],544))}},p5=Object.freeze(Object.defineProperty({__proto__:null,default:Kg},Symbol.toStringTag,{value:"Module"})),Wt={churches:[{name:"Antioch Fellowship",lat:13.08,lng:80.27,region:"Chennai, India",network:"South Asia Partners"},{name:"Cornerstone Church",lat:-1.29,lng:36.82,region:"Nairobi, Kenya",network:"East Africa Network"},{name:"Living Hope Church",lat:14.6,lng:120.98,region:"Manila, Philippines",network:"Southeast Asia Partners"},{name:"Grace Harbor Church",lat:34.05,lng:-118.24,region:"Los Angeles, USA",network:"North America Sending"},{name:"Redeemer Fellowship",lat:51.51,lng:-.13,region:"London, United Kingdom",network:"Europe Partners"},{name:"New Life Church",lat:-23.55,lng:-46.63,region:"Sao Paulo, Brazil",network:"Latin America Network"},{name:"Emmanuel Church",lat:37.57,lng:126.98,region:"Seoul, South Korea",network:"East Asia Sending"},{name:"Bethel Community",lat:6.52,lng:3.38,region:"Lagos, Nigeria",network:"West Africa Network"}]},m5={class:"sn-map-area"},h5={key:0,class:"sn-loading"},y5={class:"sn-top"},b5=["value"],_5=["value"],f5=["aria-pressed"],P5={class:"sn-legend"},C5={class:"sn-legend-row"},j5={class:"sn-legend-row"},k5={class:"sn-legend-row"},G5={key:1,class:"sn-panel"},v5={class:"sn-panel-head"},A5={class:"sn-target"},S5={class:"sn-sub"},E5={class:"sn-panel-body"},M5=["onClick"],I5={class:"sn-sender-name"},w5={class:"sn-sender-meta"},x5={class:"sn-chip pct"},T5={class:"sn-chip bridge"},N5={class:"sn-chip adj"},L5={class:"sn-chip"},R5={key:0,style:{padding:"14px","font-size":"12px",color:"#6b7280"}},$5={class:"sn-footer"},Jt="#FF6600",te="#002e6e",Bg="#1f9d55",F5="#9bcf9b",Hi="#7c3aed",Og="sn-arrows-src",Ir="sn-senders-src",wr="sn-target-src",Ug="sn-targets-all-src",Hg="sn-arrows",Di="sn-senders",Dg="sn-sender-labels",zg="sn-target",Vg="sn-target-label",Pe="sn-targets-all",Zt="sn-churches-src",ei="sn-churches",qt="sn-church-labels",Yg={__name:"send-map",setup(a){var ta,aa,ba,na,u,A;On(` + .sn-root { position:absolute;inset:0;display:flex;flex-direction:column;overflow:hidden;background:#ffffff;color:#1f2937;isolation:isolate; + font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; } + .sn-map-area { flex:1 1 0;position:relative;overflow:hidden; } + .sn-map-canvas { position:absolute;inset:0; } + .sn-loading { position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#ffffff;color:${te};font-size:13px;z-index:5; } + + /* ── Top bar: title + target selector ── */ + .sn-top { position:absolute;top:10px;left:10px;z-index:30;display:flex;flex-wrap:wrap;gap:8px;align-items:center; } + .sn-title { background:${te};color:#fff;font:700 12px/1 ui-monospace,monospace;letter-spacing:.04em;text-transform:uppercase;padding:8px 12px;border-radius:8px; } + .sn-select { background:#fff;border:1px solid ${te};color:${te};font:600 12px/1 -apple-system,sans-serif;padding:7px 10px;border-radius:8px;cursor:pointer;max-width:240px; } + .sn-toggle { background:${Hi};border:1px solid ${Hi};color:#fff;font:700 11px/1 ui-monospace,monospace;letter-spacing:.03em;padding:8px 11px;border-radius:8px;cursor:pointer; } + .sn-toggle.off { background:#fff;color:${Hi}; } + + /* ── Left: 4-D JOIN legend (the gate the connectors pass through) ── */ + .sn-legend { position:absolute;top:58px;left:10px;z-index:25;background:rgba(255,255,255,0.95);border:1px solid #d1d5db;border-radius:10px;padding:9px 12px;box-shadow:0 4px 14px rgba(0,0,0,0.12);max-width:230px; } + .sn-legend h4 { font:700 9px/1 ui-monospace,monospace;letter-spacing:.1em;text-transform:uppercase;color:#6b7280;margin-bottom:8px; } + .sn-legend-row { display:flex;align-items:flex-start;gap:7px;padding:3px 0;font-size:11px;color:#374151;line-height:1.3; } + .sn-dot { width:11px;height:11px;border-radius:50%;flex:0 0 auto;border:1px solid rgba(0,0,0,0.35);margin-top:1px; } + .sn-legend .sn-num { font-weight:700;color:${te};flex:0 0 auto; } + + /* ── Right: worked sender table for the selected target ── */ + .sn-panel { position:absolute;top:10px;right:10px;bottom:42px;z-index:25;width:280px;max-width:46vw;background:rgba(255,255,255,0.97);border:1px solid #d1d5db;border-radius:10px;box-shadow:0 4px 14px rgba(0,0,0,0.12);display:flex;flex-direction:column;overflow:hidden; } + .sn-panel-head { padding:10px 12px;border-bottom:1px solid #e5e7eb;background:${te};color:#fff; } + .sn-panel-head .sn-target { font:700 13px/1.2 -apple-system,sans-serif; } + .sn-panel-head .sn-sub { margin-top:4px;font:11px/1.3 ui-monospace,monospace;color:#c7d2fe; } + .sn-panel-body { flex:1 1 0;overflow-y:auto;padding:6px 8px; } + .sn-sender { border:1px solid #e5e7eb;border-radius:8px;padding:7px 9px;margin-bottom:6px;cursor:pointer;transition:border-color .12s,box-shadow .12s; } + .sn-sender:hover { border-color:${Jt};box-shadow:0 2px 8px rgba(255,102,0,0.18); } + .sn-sender-name { font:700 12px/1.2 -apple-system,sans-serif;color:#111827;display:flex;align-items:center;gap:6px; } + .sn-sender-meta { margin-top:4px;display:flex;flex-wrap:wrap;gap:4px; } + .sn-chip { font:600 10px/1 ui-monospace,monospace;padding:3px 6px;border-radius:999px;border:1px solid #d1d5db;color:#374151;background:#f9fafb; } + .sn-chip.pct { color:#0b5e33;background:#e7f6ec;border-color:#b7e0c4; } + .sn-chip.bridge { color:${te};background:#e7edf8;border-color:#c2d2ee; } + .sn-chip.adj { color:#7a3e00;background:#fdeedd;border-color:#f3d4ac; } + + /* ── Footer: provenance (honesty contract, spec §3 + §5) ── */ + .sn-footer { flex:0 0 auto;background:${te};color:#dbe4f3;font:10px/1.4 ui-monospace,monospace;padding:6px 12px;display:flex;flex-wrap:wrap;gap:4px 14px;align-items:center; } + .sn-footer strong { color:#fff; } + + @media(max-width:760px){ + .sn-panel { width:200px; } + .sn-legend { max-width:180px; } + } +`,"send-map");const n=Ya("profileConfig"),e=Ya("mapboxToken"),i=Ya("instanceId",null);i!=null&&i.value||i||""+Date.now().toString(36)+Math.random().toString(36).slice(2,8);const t=ua(null),o=ua(null),r=ua(!1),l=ua(null),s=ua(((ta=n==null?void 0:n.value)==null?void 0:ta.target)??"India"),g=ua(!0),d={India:[79,22],Pakistan:[69.3,30],Indonesia:[113,-1],Bangladesh:[90.3,23.7],China:[104,35],Japan:[138,37],Iran:[53,32],"Türkiye (Turkey)":[35,39],Egypt:[30,26.5],Nigeria:[8,9.5],Thailand:[101,15],Sudan:[30,15.5],Algeria:[3,28],Iraq:[44,33],"Myanmar (Burma)":[96,21],Afghanistan:[66,34],Yemen:[47.5,15.5],Morocco:[-6,32],Uzbekistan:[64,41.5],"Saudi Arabia":[45,24],Ethiopia:[39.5,9],Niger:[9,17.5],"Korea, North":[127,40],Nepal:[84,28.2],Mali:[-3.5,17],Somalia:[46.5,5.5],Malaysia:[108,3.5],Russia:[90,60],Cambodia:[105,12.7],Kazakhstan:[67,48],Senegal:[-14.5,14.5],"United States":[-98,39],Guinea:[-11,10.5],Tunisia:[9.5,34],Chad:[19,15.5],Tajikistan:[71,38.7],Jordan:[36.5,31],Azerbaijan:[47.5,40.3],Vietnam:[106,16],Israel:[35,31.3],Armenia:[45,40.2],Austria:[14.5,47.5],Bahrain:[50.6,26],Brunei:[114.7,4.5],Bulgaria:[25.5,42.7],"Burkina Faso":[-1.7,12.3],Cameroon:[12.5,6],Canada:[-106,56],"Cape Verde":[-23.6,16],"China, Hong Kong":[114.2,22.3],"China, Macau":[113.5,22.2],Cyprus:[33.2,35.1],"Côte d'Ivoire":[-5.5,7.5],Eritrea:[39,15.3],France:[2.5,47],Georgia:[43.5,42],Ghana:[-1,7.9],Greece:[22,39],"Guinea-Bissau":[-15,12],Italy:[12.5,42.5],Kenya:[38,.2],"Korea, South":[128,36.5],Kuwait:[47.7,29.3],Kyrgyzstan:[74.5,41.3],Lebanon:[35.8,33.9],Liberia:[-9.4,6.5],Moldova:[28.5,47.2],Oman:[56,21],Portugal:[-8,39.5],Qatar:[51.2,25.3],Serbia:[21,44],"Sierra Leone":[-11.8,8.5],Singapore:[103.8,1.35],"South Sudan":[31,7.5],Spain:[-3.7,40.3],Syria:[38,35],Tanzania:[35,-6.3],Togo:[1,8.6],Turkmenistan:[59,39],Uganda:[32.5,1.4],Ukraine:[31,49],"United Arab Emirates":[54,24]};function _(j,c){const P=d[j];if(!P)return null;let p=0;const M=String(c||"");for(let h=0;h>8&255)/255-.5)*3.2;return[P[0]+N,P[1]+U]}const{map:k,initializeMap:x,destroy:D}=Kt({containerRef:o,accessToken:e.value,style:((aa=n==null?void 0:n.value)==null?void 0:aa.style)??"mapbox://styles/mapbox/light-v11",center:((ba=n==null?void 0:n.value)==null?void 0:ba.center)??[60,25],zoom:((na=n==null?void 0:n.value)==null?void 0:na.zoom)??2.4,minZoom:((u=n==null?void 0:n.value)==null?void 0:u.minZoom)??1,maxZoom:((A=n==null?void 0:n.value)==null?void 0:A.maxZoom)??12}),T=la(()=>l.value?Object.keys(l.value.countries):[]),$=la(()=>{var j,c;return((c=(j=l.value)==null?void 0:j.countries)==null?void 0:c[s.value])??null}),w=la(()=>{const j=$.value;return j?[...j.neighbors||[]].filter(c=>d[c.country]).sort((c,P)=>(P.pct_christian||0)-(c.pct_christian||0)):[]});function L(j){return j>=50?Bg:F5}function E(){var P;const j=l.value;if(!j)return G([]);const c=[];for(const p of Object.keys(j.countries)){const M=d[p];M&&c.push({type:"Feature",geometry:{type:"Point",coordinates:M},properties:{name:p,kind:"target",upg:((P=j.countries[p])==null?void 0:P.target_upg)||0}})}return G(c)}function I(){if(!$.value)return{arrows:G([]),senders:G([]),target:G([])};const c=d[s.value]||[60,25],P={type:"Feature",geometry:{type:"Point",coordinates:c},properties:{name:s.value,kind:"target"}},p=[],M=[];for(const N of w.value){const U=_(N.country,N.name+N.lang);U&&(p.push({type:"Feature",geometry:{type:"Point",coordinates:U},properties:{name:N.name,country:N.country,pct:N.pct_christian||0,color:L(N.pct_christian||0)}}),M.push({type:"Feature",geometry:{type:"LineString",coordinates:[U,c]},properties:{bridge:N.bridge,adjacency:N.adjacency}}))}return{arrows:G(M),senders:G(p),target:G([P])}}function G(j){return{type:"FeatureCollection",features:j}}function S(){const j=Array.isArray(Wt==null?void 0:Wt.churches)?Wt.churches:[],c=[];for(const P of j){const p=Number(P.lng),M=Number(P.lat);!Number.isFinite(p)||!Number.isFinite(M)||c.push({type:"Feature",geometry:{type:"Point",coordinates:[p,M]},properties:{name:P.name||"Church",region:P.region||"",network:P.network||""}})}return G(c)}function v(j){if(!j||j.getLayer(ei))return;ga(j,Zt,S()),j.addLayer({id:ei,type:"circle",source:Zt,paint:{"circle-color":Hi,"circle-radius":["interpolate",["linear"],["zoom"],1,5,5,8,9,12],"circle-stroke-width":2,"circle-stroke-color":"#ffffff","circle-opacity":.95}}),j.addLayer({id:qt,type:"symbol",source:Zt,layout:{"text-field":"✝","text-size":["interpolate",["linear"],["zoom"],1,8,9,14],"text-allow-overlap":!0,"text-offset":[0,.05]},paint:{"text-color":"#ffffff"}}),j.addLayer({id:qt+"-name",type:"symbol",source:Zt,minzoom:3,layout:{"text-field":["get","name"],"text-size":11,"text-offset":[0,1.3],"text-anchor":"top","text-allow-overlap":!1},paint:{"text-color":"#4c1d95","text-halo-color":"#ffffff","text-halo-width":1.4}});const c=typeof window<"u"?window.mapboxgl:null;j.on("click",ei,P=>{var U;const p=(U=P.features)==null?void 0:U[0];if(!p||!c)return;const M=p.properties||{},N='
✝ '+K(M.name)+"
"+(M.network?'
'+K(M.network)+"
":"")+(M.region?'
'+K(M.region)+"
":"")+"
";new c.Popup({maxWidth:"260px",offset:10}).setLngLat(p.geometry.coordinates).setHTML(N).addTo(j)}),j.on("mouseenter",ei,()=>{j.getCanvas().style.cursor="pointer"}),j.on("mouseleave",ei,()=>{j.getCanvas().style.cursor=""}),O(j)}function K(j){return String(j??"").replace(/[&<>"]/g,c=>({"&":"&","<":"<",">":">",'"':"""})[c])}function O(j){if(!j)return;const c=g.value?"visible":"none";for(const P of[ei,qt,qt+"-name"])j.getLayer(P)&&j.setLayoutProperty(P,"visibility",c)}function q(){g.value=!g.value,O(k.value)}function sa(){var M;const j=k.value;if(!j||!((M=j.isStyleLoaded)!=null&&M.call(j)))return;const{arrows:c,senders:P,target:p}=I();ga(j,Og,c),ga(j,Ir,P),ga(j,wr,p),ga(j,Ug,E()),j.getLayer(Pe)||j.addLayer({id:Pe,type:"circle",source:Ug,paint:{"circle-color":Jt,"circle-radius":["interpolate",["linear"],["zoom"],1,5,5,9,9,13],"circle-stroke-width":1.5,"circle-stroke-color":"#ffffff"}}),j.getLayer(Hg)||j.addLayer({id:Hg,type:"line",source:Og,layout:{"line-cap":"round"},paint:{"line-color":te,"line-width":1.4,"line-opacity":.55,"line-dasharray":[2,2]}}),j.getLayer(Di)||j.addLayer({id:Di,type:"circle",source:Ir,paint:{"circle-color":["get","color"],"circle-radius":["interpolate",["linear"],["zoom"],1,2.5,5,4,9,6],"circle-stroke-width":.8,"circle-stroke-color":"#ffffff","circle-opacity":.92}}),j.getLayer(Dg)||j.addLayer({id:Dg,type:"symbol",source:Ir,minzoom:3.4,layout:{"text-field":["get","name"],"text-size":10,"text-offset":[0,1.1],"text-anchor":"top","text-allow-overlap":!1},paint:{"text-color":"#0b5e33","text-halo-color":"#ffffff","text-halo-width":1.3}}),j.getLayer(zg)||j.addLayer({id:zg,type:"circle",source:wr,paint:{"circle-color":Jt,"circle-radius":["interpolate",["linear"],["zoom"],1,8,5,13,9,18],"circle-stroke-width":2.5,"circle-stroke-color":"#ffffff","circle-opacity":.95}}),j.getLayer(Vg)||j.addLayer({id:Vg,type:"symbol",source:wr,layout:{"text-field":["get","name"],"text-size":13,"text-font":["DIN Offc Pro Bold","Arial Unicode MS Bold"],"text-offset":[0,-1.4],"text-anchor":"bottom","text-allow-overlap":!0},paint:{"text-color":"#8a3800","text-halo-color":"#ffffff","text-halo-width":1.6}}),ea(j)}function ea(j){if(!j||!j.getLayer(Pe))return;const c=s.value;j.setPaintProperty(Pe,"circle-opacity",c?["case",["==",["get","name"],c],0,.28]:.9),j.setPaintProperty(Pe,"circle-stroke-opacity",c?["case",["==",["get","name"],c],0,.5]:.9)}function ga(j,c,P){j.getSource(c)?j.getSource(c).setData(P):j.addSource(c,{type:"geojson",data:P})}function Sa(){const j=k.value;if(!j)return;const c=d[s.value];if(!c)return;let P=c[0],p=c[0],M=c[1],N=c[1];for(const U of w.value){const h=d[U.country];h&&(P=Math.min(P,h[0]),p=Math.max(p,h[0]),M=Math.min(M,h[1]),N=Math.max(N,h[1]))}try{j.stop(),P===p&&M===N?j.easeTo({center:c,zoom:4,duration:900}):j.fitBounds([[P,M],[p,N]],{padding:90,maxZoom:5.5,duration:900})}catch{}}function Ma(j){!j||!d[j]||(s.value=j,sa(),Sa())}function ma(j){Ma(j.target.value)}function pa(j){const c=k.value,P=d[j.country];if(!(!c||!P))try{c.stop(),c.easeTo({center:P,zoom:4.5,duration:800})}catch{}}async function Y(){var c;const j=(c=n==null?void 0:n.value)==null?void 0:c.dataUrl;if(j)try{const P=await fetch(j);if(P.ok)return await P.json()}catch{}return ee}return Rn(async()=>{var P,p,M,N,U,h;await x();const j=k.value;try{j&&j.setProjection("mercator")}catch{}if((P=n==null?void 0:n.value)!=null&&P.debugExpose&&typeof window<"u")try{(((N=(M=(p=t.value)==null?void 0:p.getRootNode)==null?void 0:M.call(p))==null?void 0:N.host)||window).__sendmap=j}catch{}if(l.value=await Y(),!l.value){r.value=!0;return}T.value.includes(s.value)||(s.value=T.value[0]||s.value);const c=()=>{sa(),v(j),j.on("click",Pe,C=>{var R;const y=(R=C.features)==null?void 0:R[0];y&&Ma(y.properties.name)}),j.on("mouseenter",Pe,()=>{j.getCanvas().style.cursor="pointer"}),j.on("mouseleave",Pe,()=>{j.getCanvas().style.cursor=""}),j.on("click",Di,C=>{var R;const y=(R=C.features)==null?void 0:R[0];if(y)try{j.stop(),j.easeTo({center:y.geometry.coordinates,zoom:4.5,duration:800})}catch{}}),j.on("mouseenter",Di,()=>{j.getCanvas().style.cursor="pointer"}),j.on("mouseleave",Di,()=>{j.getCanvas().style.cursor=""}),Sa(),r.value=!0};(U=j==null?void 0:j.isStyleLoaded)!=null&&U.call(j)?c():(h=j==null?void 0:j.once)==null||h.call(j,"load",c)}),Ue(()=>{D()}),(j,c)=>{var P,p,M,N,U,h;return z(),W("div",{ref_key:"snRoot",ref:t,class:"sn-root"},[f("div",m5,[f("div",{ref_key:"mapContainer",ref:o,class:"sn-map-canvas"},null,512),r.value?fa("",!0):(z(),W("div",h5,"Loading SEND map…")),f("div",y5,[c[0]||(c[0]=f("span",{class:"sn-title"},"Church Map · My UPG Neighbor",-1)),T.value.length?(z(),W("select",{key:0,class:"sn-select",value:s.value,onChange:ma,"aria-label":"Select unreached target country"},[(z(!0),W(Aa,null,Ua(T.value,C=>(z(),W("option",{key:C,value:C},X(C),9,_5))),128))],40,b5)):fa("",!0),f("button",{class:Ia(["sn-toggle",{off:!g.value}]),onClick:q,"aria-pressed":g.value,"aria-label":"Toggle partnering churches layer"}," ✝ Churches "+X(g.value?"on":"off"),11,f5)]),f("div",P5,[c[4]||(c[4]=As('

4-D SEND join

1·Adjacency — same-country, else neighbor ≤1500 km
2·Language pair — same language (strong) / cluster (soft)
3·Reached % — sender ≥10% Christian (more = more laborers)
4·Lower pressure — sender from a freer place
',6)),f("div",C5,[f("span",{class:"sn-dot",style:Ka({background:Jt})},null,4),c[1]||(c[1]=f("span",null,[ya("Unreached target — "),f("strong",null,"click one"),ya(" to SEND-focus")],-1))]),f("div",j5,[f("span",{class:"sn-dot",style:Ka({background:Bg})},null,4),c[2]||(c[2]=f("span",null,"Reached sender (SEND →) — who we mobilize",-1))]),f("div",k5,[f("span",{class:"sn-dot",style:Ka({background:Hi})},null,4),c[3]||(c[3]=f("span",null,[f("strong",null,"Partnering church"),ya(" — the network (click for details)")],-1))])]),$.value?(z(),W("div",G5,[f("div",v5,[f("div",A5,X(s.value),1),f("div",S5,X(($.value.target_upg||0).toLocaleString())+" UPGs · "+X(w.value.length)+" reached senders ",1)]),f("div",E5,[(z(!0),W(Aa,null,Ua(w.value,(C,y)=>(z(),W("div",{key:C.name+y,class:"sn-sender",onClick:R=>pa(C)},[f("div",I5,[f("span",{class:"sn-dot",style:Ka({background:L(C.pct_christian||0)})},null,4),ya(" "+X(C.name),1)]),f("div",w5,[f("span",x5,X(Math.round(C.pct_christian||0))+"% Christian",1),f("span",T5,X(C.bridge),1),f("span",N5,X(C.adjacency),1),f("span",L5,X(C.lang),1)])],8,M5))),128)),w.value.length?fa("",!0):(z(),W("div",R5," No qualifying reached senders with a known country centroid for this target. "))])])):fa("",!0),f("div",$5,[c[5]||(c[5]=f("span",null,[f("strong",null,"SEND"),ya(" reached neighbor → unreached target")],-1)),c[6]||(c[6]=f("span",null,"target = LIVE (JP UnreachedPeoplesByCountry)",-1)),f("span",null,"senders = baked "+X(((p=(P=l.value)==null?void 0:P.meta)==null?void 0:p.generated)||"2026-06-12")+" (≥"+X(((N=(M=l.value)==null?void 0:M.meta)==null?void 0:N.threshold_pct_christian)||10)+"% Christian, "+X(((h=(U=l.value)==null?void 0:U.meta)==null?void 0:h.adjacency_km)||1500)+" km)",1),c[7]||(c[7]=f("span",null,"Hab 2:2 · mobilize existing laborers",-1)),c[8]||(c[8]=f("span",null,"chain: UPG-100 → FPG base → My UPG Neighbor",-1))])])],512)}}},K5=Object.freeze(Object.defineProperty({__proto__:null,default:Yg},Symbol.toStringTag,{value:"Module"})),Wg="adoptionStatus",oe={notAdopted:"#e74c3c",hasAdoption:"#22c55e"},B5=oe,xr={notAdopted:"Needs Adoption",hasAdopted:"Has Adoption"},O5=xr;function Jg(a){var i;const n=a.adoptionStatus??((i=a._raw)==null?void 0:i.adopted_by_churches);return n===!0||n===1||typeof n=="number"&&n>0||typeof n=="object"&&(n==null?void 0:n.value)?oe.hasAdoption:oe.notAdopted}function Tr({colorSource:a="properties"}={}){const n=a==="feature-state"?["feature-state","adoptionStatus"]:["get","adoptionStatus"];return["case",["==",n,!0],oe.hasAdoption,["==",n,1],oe.hasAdoption,oe.notAdopted]}const Zg=Tr,U5=Object.freeze(Object.defineProperty({__proto__:null,ADOPTION_COLORS:B5,ADOPTION_LABELS:O5,LABELS:xr,PALETTE:oe,PROPERTY_KEY:Wg,applyColor:Tr,buildColorExpression:Zg,default:{name:"Adoption Progress",propertyKey:Wg,palette:oe,colors:oe,labels:xr,getColor:Jg,applyColor:Tr,buildColorExpression:Zg},getColor:Jg},Symbol.toStringTag,{value:"Module"})),Nr="affinityBlock",ii="#95a5a6",re={A001:"Arab World",A002:"East Asian Peoples",A003:"Eurasian Peoples",A004:"Horn of Africa Peoples",A005:"Jewish",A006:"Malay Peoples",A007:"Persian-Median Peoples",A008:"South Asian Peoples",A009:"North American Peoples",A010:"Pacific Islanders",A011:"Southeast Asian Peoples",A012:"Sub-Saharan Peoples",A013:"Tibetan-Himalayan Peoples",A014:"Turkic Peoples",A015:"Latin-Caribbean Americans",A017:"Deaf"},Xt={A001:"#E74C3C",A002:"#3498DB",A003:"#2ECC71",A004:"#F39C12",A005:"#9B59B6",A006:"#1ABC9C",A007:"#E67E22",A008:"#34495E",A009:"#95A5A6",A010:"#5DADE2",A011:"#16A085",A012:"#C0392B",A013:"#8E44AD",A014:"#D35400",A015:"#27AE60",A017:"#000000"},Ce=Xt,qg=Object.entries(re).reduce((a,[n,e])=>(a[e]=n,a),{}),Lr=Object.entries(re).reduce((a,[n,e])=>(a[e]=Ce[n],a),{}),Xg=re;function Rr(a){return re[a]||"Unknown"}function $r(a){return Ce[a]||ii}function Qg(a){return a?typeof a=="string"&&/^A\d{3}$/.test(a)?Ce[a]||ii:Lr[a]||ii:ii}function au(){return Object.entries(re).map(([a,n])=>({code:a,name:n,color:Ce[a]}))}function nu(a){return{code:a,name:re[a]||"Unknown",color:Ce[a]||ii}}function eu(a){var e;const n=a.affinityBlock||((e=a._raw)==null?void 0:e.ROP1);return $r(n)}function iu(a){var e;const n=a.affinityBlock||((e=a._raw)==null?void 0:e.ROP1);return Rr(n)}function Fr(){const a=["match",["get",Nr]];return Object.entries(Ce).forEach(([n,e])=>{a.push(n,e)}),a.push(ii),a}const tu=Fr,H5=Object.freeze(Object.defineProperty({__proto__:null,AFFINITY_BLOCK_COLORS:Ce,AFFINITY_BLOCK_COLORS_BY_NAME:Lr,AFFINITY_BLOCK_NAMES:re,AFFINITY_BLOCK_NAME_TO_CODE:qg,NAMES:Xg,PALETTE:Xt,PROPERTY_KEY:Nr,affinityBlockCodeLookup:re,affinityBlockCodeToColor:Ce,affinityBlockCodeToName:re,affinityBlockColors:Lr,affinityBlockNameToCode:qg,applyColor:Fr,buildColorExpression:tu,default:{name:"Affinity Block",propertyKey:Nr,palette:Xt,colors:Xt,names:Xg,getColor:eu,applyColor:Fr,buildColorExpression:tu,getName:iu,getAffinityBlockName:Rr,getAffinityBlockColor:Qg,getAffinityBlockColorByCode:$r,getAffinityBlocksArray:au,getAffinityBlockData:nu},getAffinityBlockColor:Qg,getAffinityBlockColorByCode:$r,getAffinityBlockData:nu,getAffinityBlockName:Rr,getAffinityBlocksArray:au,getColor:eu,getName:iu},Symbol.toStringTag,{value:"Module"})),ou="engagementStatus",le={notEngaged:"#e74c3c",hasEngagement:"#22c55e"},D5=le,Kr={notEngaged:"Unengaged",hasEngagement:"Engaged"},z5=Kr;function ru(a){var i;const n=a.engagementStatus??((i=a._raw)==null?void 0:i.people_committed);return n===!0||n===1||typeof n=="number"&&n>0||typeof n=="object"&&(n==null?void 0:n.value)?le.hasEngagement:le.notEngaged}function Br({colorSource:a="properties"}={}){const n=a==="feature-state"?["feature-state","engagementStatus"]:["get","engagementStatus"];return["case",["==",n,!0],le.hasEngagement,["==",n,1],le.hasEngagement,le.notEngaged]}const lu=Br,V5=Object.freeze(Object.defineProperty({__proto__:null,ENGAGEMENT_COLORS:D5,ENGAGEMENT_LABELS:z5,LABELS:Kr,PALETTE:le,PROPERTY_KEY:ou,applyColor:Br,buildColorExpression:lu,default:{name:"Engagement Progress",propertyKey:ou,palette:le,colors:le,labels:Kr,getColor:ru,applyColor:Br,buildColorExpression:lu},getColor:ru},Symbol.toStringTag,{value:"Module"}));function Y5(a){if(!a)return"hsl(0, 60%, 50%)";let n=0;for(let i=0;i{a.push(n,e)}),a.push(Ur),a}const uu=zr,J5=Object.freeze(Object.defineProperty({__proto__:null,GEO_REGION_COLORS:W5,PALETTE:Qt,PROPERTY_KEY:Or,REGION_COLOR_ALIASES:Dr,SLUG_PALETTE:ao,applyColor:zr,buildColorExpression:uu,default:{name:"DOXA Region",propertyKey:Or,palette:Qt,colors:Qt,slugColors:ao,aliases:Dr,fallback:Ur,getColor:gu,applyColor:zr,buildColorExpression:uu,getRegionColor:cu,getRegionColorBySlug:Hr},getColor:gu,getRegionColor:cu,getRegionColorBySlug:Hr},Symbol.toStringTag,{value:"Module"})),Vr="languageFamily",Z5="#000000",se={"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"},q5=se;function Hn(a){return se[a]||Z5}const X5=(()=>{const a=e=>String(e||"").toLowerCase().trim(),n={};for(const e of Object.keys(se))n[a(e)]=e;return n})();function Yr(a){if(!a)return"Unknown";const n=String(a).trim();return X5[n.toLowerCase()]||n}function du(a){var n;return Hn(a.languageFamily||((n=a._normalized)==null?void 0:n.languageFamily))}function Wr(){const a=["match",["get",Vr]];return Object.entries(se).forEach(([n,e])=>{a.push(n,e)}),a.push("#95a5a6"),a}const pu=Wr,Q5=Object.freeze(Object.defineProperty({__proto__:null,LANGUAGE_FAMILY_COLORS:q5,PALETTE:se,PROPERTY_KEY:Vr,applyColor:Wr,buildColorExpression:pu,canonicalFamilyName:Yr,default:{name:"Language Family",propertyKey:Vr,palette:se,colors:se,getColor:du,applyColor:Wr,buildColorExpression:pu,getLanguageFamilyColor:Hn,canonicalFamilyName:Yr},defaultFamilyColor:"#95a5a6",getColor:du,getLanguageFamilyColor:Hn,languageFamilyColors:se},Symbol.toStringTag,{value:"Module"})),mu="peoplePraying",no=144,je={noPrayer:"#e74c3c",hasPrayer:"#f39c12",fullPrayer:"#22c55e"},af=je,Jr={noPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayer:"Has Full Prayer Coverage"},nf=Jr;function eo(a){var i;const n=(a==null?void 0:a.peoplePraying)??((i=a==null?void 0:a._raw)==null?void 0:i.people_praying)??null,e=Number(n)||0;return e>=no?"fullPrayer":e>0?"hasPrayer":"noPrayer"}function Zr(a){return je[eo(a)]}function hu(a){var e;const n=(a==null?void 0:a.peoplePraying)??((e=a==null?void 0:a._raw)==null?void 0:e.people_praying)??null;return n!==null&&n>0}function yu(a){return eo(a)==="fullPrayer"}function bu(a){return Zr(a)}function qr({colorSource:a="properties"}={}){const n=a==="feature-state"?["feature-state","peoplePraying"]:["get","peoplePraying"];return["case",[">=",n,no],je.fullPrayer,[">",n,0],je.hasPrayer,je.noPrayer]}const _u=qr,ef=Object.freeze(Object.defineProperty({__proto__:null,FULL_PRAYER_THRESHOLD:no,LABELS:Jr,PALETTE:je,PRAYER_COLORS:af,PRAYER_LABELS:nf,PROPERTY_KEY:mu,applyColor:qr,buildColorExpression:_u,checkHasFullPrayer:yu,checkHasPrayer:hu,default:{name:"Prayer Progress",propertyKey:mu,palette:je,colors:je,labels:Jr,threshold:no,getColor:bu,applyColor:qr,buildColorExpression:_u,getPrayerLevel:eo,getPrayerColor:Zr,checkHasPrayer:hu,checkHasFullPrayer:yu},getColor:bu,getPrayerColor:Zr,getPrayerLevel:eo},Symbol.toStringTag,{value:"Module"})),fu="religion",Xr="#94a3b8",Qr={C:"Christianity",M:"Islam",H:"Hinduism",B:"Buddhism",E:"Ethnoreligion",J:"Judaism",S:"Sikhism",N:"Unaffiliated",O:"Other",U:"Unknown"},jn={C:"#3b82f6",M:"#ef4444",H:"#f59e0b",B:"#facc15",E:"#84cc16",J:"#a855f7",S:"#ec4899",N:"#71717a",O:"#ff6b2b",U:"#94a3b8"};function Pu(a){if(!a||typeof a!="string")return"U";const n=a.charAt(0).toUpperCase();return Qr[n]?n:"U"}function Cu(a){var e,i,t;const n=(a==null?void 0:a.religion)||((i=(e=a==null?void 0:a._raw)==null?void 0:e.religion)==null?void 0:i.value)||((t=a==null?void 0:a._raw)==null?void 0:t.religion);return jn[Pu(n)]||Xr}function al(){return["match",["slice",["coalesce",["get","religion"],""],0,1],"C",jn.C,"M",jn.M,"H",jn.H,"B",jn.B,"E",jn.E,"J",jn.J,"S",jn.S,"N",jn.N,"O",jn.O,Xr]}const ju=al,tf=Object.freeze(Object.defineProperty({__proto__:null,PALETTE:jn,PROPERTY_KEY:fu,RELIGION_FAMILIES:Qr,applyColor:al,buildColorExpression:ju,default:{name:"Religion",propertyKey:fu,palette:jn,families:Qr,getColor:Cu,applyColor:al,buildColorExpression:ju,fallback:Xr},getColor:Cu,getReligionFamily:Pu},Symbol.toStringTag,{value:"Module"})),ku="resourceType",ke={bible:"#3498db",jesusFilm:"#20c997",radio:"#9b59b6",gospel:"#f39c12",audio:"#1abc9c",stories:"#e74c3c",hasResources:"#27ae60",noResources:"#2c3e50"},of=ke,zi=["bible","jesusFilm","radio","gospel","audio","stories"],nl={bible:"Bible",jesusFilm:"Jesus Film",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",hasResources:"Has Resources",noResources:"No Resources"},rf=nl;function Vi(a){return{bible:"Bible",jesusFilm:"Jesus",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories"}[a]}function Gu(a){var n;for(const e of zi)if((a[e]||((n=a._raw)==null?void 0:n[Vi(e)]))==="Available")return ke.hasResources;return ke.noResources}function vu(a){var n;for(const e of zi)if((a[e]||((n=a._raw)==null?void 0:n[Vi(e)]))==="Available")return!0;return!1}function Au(a){var n;for(const e of zi)if((a[e]||((n=a._raw)==null?void 0:n[Vi(e)]))==="Available")return e;return"noResources"}function el(){return["case",["any",["==",["get","bible"],"Available"],["==",["get","jesusFilm"],"Available"],["==",["get","radio"],"Available"],["==",["get","gospel"],"Available"],["==",["get","audio"],"Available"],["==",["get","stories"],"Available"]],ke.hasResources,ke.noResources]}const Su=el,Eu=Object.assign({"./adoption.js":U5,"./affinity-block.js":H5,"./engagement.js":V5,"./geo-region.js":J5,"./language-family.js":Q5,"./prayer-progress.js":ef,"./religion.js":tf,"./resource.js":Object.freeze(Object.defineProperty({__proto__:null,NAMES:nl,PALETTE:ke,PROPERTY_KEY:ku,RESOURCE_COLORS:of,RESOURCE_NAMES:rf,RESOURCE_PRIORITY:zi,applyColor:el,buildColorExpression:Su,default:{name:"Gospel Resources",propertyKey:ku,palette:ke,colors:ke,names:nl,priority:zi,getColor:Gu,applyColor:el,buildColorExpression:Su,hasAnyResource:vu,getResourceType:Au,getCSVColumn:Vi},getCSVColumn:Vi,getColor:Gu,getResourceType:Au,hasAnyResource:vu},Symbol.toStringTag,{value:"Module"}))}),lf=a=>a.replace(/-([a-z0-9])/g,(n,e)=>e.toUpperCase()),sf=a=>a.replace(/-/g,"_").toUpperCase(),cf={...{STATUS:"status",CUSTOM:"custom"}};for(const a of Object.keys(Eu).sort()){const n=a.split("/").pop().replace(/\.js$/,"");if(n.startsWith("_")||n.startsWith(".")||!Eu[a].default)continue;const i=lf(n);cf[sf(n)]=i}const ln={Chamacoco:"Zamucoan",Ninam:"Yanomaman",Yagua:"Yaguan",Muinane:"Witotoan",Finnish:"Uralic","Hill Mari":"Uralic",Mansi:"Uralic","Meadow Mari":"Uralic","North Saami":"Uralic",Carabayo:"Unclassified",Kujarge:"Unclassified",Shabo:"Unclassified",Ainu:"Turkic",Kazakh:"Turkic","Khorasani Turkish":"Turkic",Kyrgyz:"Turkic","Northern Uzbek":"Turkic","South Azerbaijani":"Turkic",Turkish:"Turkic",Tuvan:"Turkic",Uyghur:"Turkic",Amundava:"Tupian",Araweté:"Tupian","Asurini of Xingú":"Tupian","Avá-Canoeiro":"Tupian",Awetí:"Tupian",Kamayurá:"Tupian",Karo:"Tupian",Morerebi:"Tupian",Tenharim:"Tupian","Uru-Eu-Wau-Wau":"Tupian","Uru-Pa-In":"Tupian",Wayampi:"Tupian","Zo’é":"Tupian",Evenki:"Tungusic",Xibe:"Tungusic",Carapana:"Tucanoan",Cubeo:"Tucanoan",Desano:"Tucanoan",Macuna:"Tucanoan",Piratapuyo:"Tucanoan",Siona:"Tucanoan",Siriano:"Tucanoan",Tucano:"Tucanoan",Tuyuca:"Tucanoan",Waimaha:"Tucanoan",Tay:"Trans-New Guinea",Adi:"Sino-Tibetan",Akha:"Sino-Tibetan","Amdo Tibetan":"Sino-Tibetan",Axi:"Sino-Tibetan",Biyo:"Sino-Tibetan","Boro (India)":"Sino-Tibetan",Brokkat:"Sino-Tibetan",Bugun:"Sino-Tibetan",Byangsi:"Sino-Tibetan","Central Lalo":"Sino-Tibetan","Central Tibetan":"Sino-Tibetan",Chak:"Sino-Tibetan",Chalikha:"Sino-Tibetan",Chaudangsi:"Sino-Tibetan",Chocangacakha:"Sino-Tibetan",Darlong:"Sino-Tibetan",Dhimal:"Sino-Tibetan","Digaro-Mishmi":"Sino-Tibetan",Dzalakha:"Sino-Tibetan","Eastern Nisu":"Sino-Tibetan",Ersu:"Sino-Tibetan",Gahri:"Sino-Tibetan",Gongduk:"Sino-Tibetan",Gyalsumdo:"Sino-Tibetan",Hani:"Sino-Tibetan","Idu-Mishmi":"Sino-Tibetan",Kaike:"Sino-Tibetan",Kanashi:"Sino-Tibetan",Katso:"Sino-Tibetan",Khamba:"Sino-Tibetan",Koireng:"Sino-Tibetan",Kucong:"Sino-Tibetan",Kurtokha:"Sino-Tibetan",Ladakhi:"Sino-Tibetan",Lakha:"Sino-Tibetan","Lang’e":"Sino-Tibetan",Lhokpu:"Sino-Tibetan",Lolopo:"Sino-Tibetan",Lunanakha:"Sino-Tibetan","Mandarin Chinese":"Sino-Tibetan",Meitei:"Sino-Tibetan","Miju-Mishmi":"Sino-Tibetan",Mpi:"Sino-Tibetan",Na:"Sino-Tibetan",Namuyi:"Sino-Tibetan",Narua:"Sino-Tibetan",Naxi:"Sino-Tibetan","Northern Muji":"Sino-Tibetan",Nuosu:"Sino-Tibetan",Nupbikha:"Sino-Tibetan",Nyenkha:"Sino-Tibetan",Olekha:"Sino-Tibetan",Pahari:"Sino-Tibetan",Pattani:"Sino-Tibetan","Phana’":"Sino-Tibetan",Phula:"Sino-Tibetan",Phunoi:"Sino-Tibetan",Puma:"Sino-Tibetan",Puroik:"Sino-Tibetan",Raji:"Sino-Tibetan",Rawat:"Sino-Tibetan",Sani:"Sino-Tibetan",Sherdukpen:"Sino-Tibetan",Sherpa:"Sino-Tibetan",Shuhi:"Sino-Tibetan",Sila:"Sino-Tibetan",Singpho:"Sino-Tibetan",Sunwar:"Sino-Tibetan","Tawang Monpa":"Sino-Tibetan",Tseku:"Sino-Tibetan",Tshangla:"Sino-Tibetan",Usoi:"Sino-Tibetan","Western Minyag":"Sino-Tibetan","Wusa Nasu":"Sino-Tibetan","Xiang Chinese":"Sino-Tibetan",Yakkha:"Sino-Tibetan","Youle Jinuo":"Sino-Tibetan","Yue Chinese":"Sino-Tibetan",Zakhring:"Sino-Tibetan","Afghan Sign Language":"Sign Language","Albanian Sign Language":"Sign Language","Algerian Sign Language":"Sign Language","American Sign Language":"Sign Language","Armenian Sign Language":"Sign Language","British Sign Language":"Sign Language","Bulgarian Sign Language":"Sign Language","Cambodian Sign Language":"Sign language","Cuban Sign Language":"Sign Language","Egyptian Sign Language":"Sign Language","Greek Sign Language":"Sign Language","Guinean Sign Language":"Sign Language","Hong Kong Sign Language":"Sign Language","Icelandic Sign Language":"Sign Language","Iranian Sign Language":"Sign Language","Israeli Sign Language":"Sign Language","Jamaican Sign Language":"Sign Language","Jordanian Sign Language":"Sign Language","Laos Sign Language":"Sign Language","Libyan Sign Language":"Sign Language","Maltese Sign Language":"Sign Language","Mauritian Sign Language":"Sign Language","Moroccan Sign Language":"Sign Language","Mozambican Sign Language":"Sign Language","Myanmar Sign Language":"Sign language","Natural Sign Language":"Sign Language","Pakistan Sign Language":"Sign Language","Papua New Guinean Sign Language":"Sign language","Russian Sign Language":"Sign Language","Saudi Arabian Sign Language":"Sign Language","Sign Language of the Netherlands":"Sign Language","Solomon Islands Sign Language":"Sign Language","Sri Lankan Sign Language":"Sign Language","Swedish Sign Language":"Sign Language","Turkish Sign Language":"Sign Language","Northern Conchucos Ancash Quechua":"Quechuan","Northern Pastaza Quichua":"Quechuan",Hupdë:"Puinavean",Amahuaca:"Panoan",Korubo:"Panoan",Sharanahua:"Panoan","Shipibo-Conibo":"Panoan",Yaminahua:"Panoan",Yawanawa:"Panoan",Afitti:"Nilo-Saharan",Assangori:"Nilo-Saharan","Beli (South Sudan)":"Nilo-Saharan",Berta:"Nilo-Saharan",Burun:"Nilo-Saharan","Dar Daju Daju":"Nilo-Saharan","Dar Fur Daju":"Nilo-Saharan","Dar Sila Daju":"Nilo-Saharan",Dazaga:"Nilo-Saharan","Dendi (Benin)":"Nilo-Saharan",Dilling:"Nilo-Saharan",Fur:"Nilo-Saharan",Gbaya:"Nilo-Saharan",Ghulfan:"Nilo-Saharan",Gwama:"Nilo-Saharan","Humburi Senni Songhay":"Nilo-Saharan",Jopadhola:"Nilo-Saharan",Kadaru:"Nilo-Saharan",Kanga:"Nilo-Saharan",Karanga:"Nilo-Saharan",Karko:"Nilo-Saharan",Kebu:"Nilo-Saharan",Keiga:"Nilo-Saharan",Keliko:"Nilo-Saharan",Kendeje:"Nilo-Saharan",Kibet:"Nilo-Saharan","Komo (Sudan)":"Nilo-Saharan",Korandje:"Nilo-Saharan",Kulfa:"Nilo-Saharan",Kwegu:"Nilo-Saharan",Laarim:"Nilo-Saharan",Logorik:"Nilo-Saharan",Majang:"Nilo-Saharan","Manga Kanuri":"Nilo-Saharan",Mango:"Nilo-Saharan",Mararit:"Nilo-Saharan",Marfa:"Nilo-Saharan",Midob:"Nilo-Saharan","Mo’da":"Nilo-Saharan",Morom:"Nilo-Saharan",Moru:"Nilo-Saharan",Naba:"Nilo-Saharan",Nara:"Nilo-Saharan",Njalgulgule:"Nilo-Saharan",Nuer:"Nilo-Saharan","Nyamusa-Molo":"Nilo-Saharan",Nyangatom:"Nilo-Saharan","Olu’bo":"Nilo-Saharan",Opo:"Nilo-Saharan",Päri:"Nilo-Saharan","Sara Kaba Naa":"Nilo-Saharan",Surbakhal:"Nilo-Saharan",Tadaksahak:"Nilo-Saharan","Tama (Chad)":"Nilo-Saharan",Temein:"Nilo-Saharan",Thuri:"Nilo-Saharan","Tirmaga-Chai Suri":"Nilo-Saharan",Toposa:"Nilo-Saharan",Tumtum:"Nilo-Saharan","Wali (Sudan)":"Nilo-Saharan","Yerwa Kanuri":"Nilo-Saharan",Yulu:"Nilo-Saharan",Zaghawa:"Nilo-Saharan","Adamawa Fulfulde":"Niger-Congo",Akaselem:"Niger-Congo","Amba (Uganda)":"Niger-Congo",Anii:"Niger-Congo",Baangi:"Niger-Congo",Badyara:"Niger-Congo","Bago-Kusuntu":"Niger-Congo",Bai:"Niger-Congo","Bainouk-Gunyaamolo":"Niger-Congo",Bamanankan:"Niger-Congo","Banda-Mbrès":"Niger-Congo",Bandial:"Niger-Congo",Bankagooma:"Niger-Congo","Belanda Viri":"Niger-Congo",Bemba:"Niger-Congo",Bolgo:"Niger-Congo","Bon Gula":"Niger-Congo",Bua:"Niger-Congo",Chichewa:"Niger-Congo","Chung (Cameroon)":"Niger-Congo","Ci Gbe":"Niger-Congo",Degema:"Niger-Congo",Dek:"Niger-Congo",Dhimba:"Niger-Congo",Dogoso:"Niger-Congo","East Limba":"Niger-Congo",Engenni:"Niger-Congo",Epie:"Niger-Congo",Éwé:"Niger-Congo",Fania:"Niger-Congo",Foodo:"Niger-Congo",Fwe:"Niger-Congo",Gciriku:"Niger-Congo",Gwa:"Niger-Congo",Herero:"Niger-Congo",Ibuoro:"Niger-Congo","Jenaama Bozo":"Niger-Congo",Jita:"Niger-Congo",Jula:"Niger-Congo",Kabiyè:"Niger-Congo",Kadung:"Niger-Congo",Kakabe:"Niger-Congo",Kalamsé:"Niger-Congo","Kami (Tanzania)":"Niger-Congo","Kango (Bas-Uélé District)":"Niger-Congo",Kasem:"Niger-Congo","Kelengaxo Bozo":"Niger-Congo",Khe:"Niger-Congo",Khisa:"Niger-Congo",Kim:"Niger-Congo",Kinyarwanda:"Niger-Congo",Kipfokomu:"Niger-Congo",Kitharaka:"Niger-Congo",Kiyombe:"Niger-Congo",Ko:"Niger-Congo",Koalib:"Niger-Congo",Koke:"Niger-Congo",Konongo:"Niger-Congo","Koro Nulu":"Niger-Congo","Koro Zuba":"Niger-Congo",Kuhane:"Niger-Congo",Kunda:"Niger-Congo",Kuranko:"Niger-Congo",Kuria:"Niger-Congo",Kwangali:"Niger-Congo",Lame:"Niger-Congo",Laru:"Niger-Congo",Lopa:"Niger-Congo","Makhuwa-Meetto":"Niger-Congo","Makhuwa-Shirima":"Niger-Congo","Malawi Nyiha":"Niger-Congo",Mandinka:"Niger-Congo",Mankanya:"Niger-Congo",Mansoanka:"Niger-Congo",Mbukushu:"Niger-Congo","Mende (Sierra Leone)":"Niger-Congo",Miyobe:"Niger-Congo",Mushungulu:"Niger-Congo","Mwali Comorian":"Niger-Congo","Mwera (Chimwera)":"Niger-Congo",Ndemli:"Niger-Congo",Ndengereko:"Niger-Congo",Ndumu:"Niger-Congo",Ndunga:"Niger-Congo","Ndzwani Comorian":"Niger-Congo",Ngile:"Niger-Congo","Northwest Gbaya":"Niger-Congo",Notre:"Niger-Congo",Nyamwanga:"Niger-Congo",Nyankore:"Niger-Congo",Nyengo:"Niger-Congo",Okpamheri:"Niger-Congo",Osatu:"Niger-Congo","Pana (Burkina Faso)":"Niger-Congo",Pulaar:"Niger-Congo",Pular:"Niger-Congo",Rufiji:"Niger-Congo","Sankaran Maninka":"Niger-Congo",Sapo:"Niger-Congo","Senara Sénoufo":"Niger-Congo",Shanga:"Niger-Congo",Sininkere:"Niger-Congo","Southern Ngbandi":"Niger-Congo",Swahili:"Niger-Congo","Syenara Sénoufo":"Niger-Congo",Tagbu:"Niger-Congo",Tagoi:"Niger-Congo",Tegali:"Niger-Congo",Tem:"Niger-Congo","Tiéyaxo Bozo":"Niger-Congo",Tiyaa:"Niger-Congo",Tocho:"Niger-Congo","Tonga (Zambia)":"Niger-Congo",Totela:"Niger-Congo","Toura (Côte d’Ivoire)":"Niger-Congo",Tswa:"Niger-Congo",Tumbuka:"Niger-Congo",Ukaan:"Niger-Congo",Uneme:"Niger-Congo",Vai:"Niger-Congo",Vute:"Niger-Congo",Waama:"Niger-Congo",Warnang:"Niger-Congo",Wolof:"Niger-Congo",Yao:"Niger-Congo",Yauma:"Niger-Congo",Yom:"Niger-Congo","Zan Gula":"Niger-Congo",Zande:"Niger-Congo",Zigula:"Niger-Congo",Mamaindê:"Nambikwara",Aghul:"Nakh-Daghestanian",Akhvakh:"Nakh-Daghestanian",Andi:"Nakh-Daghestanian",Avar:"Nakh-Daghestanian",Bagvalal:"Nakh-Daghestanian",Botlikh:"Nakh-Daghestanian",Chamalal:"Nakh-Daghestanian",Chechen:"Nakh-Daghestanian",Dargwa:"Nakh-Daghestanian",Kaitag:"Nakh-Daghestanian",Karata:"Nakh-Daghestanian",Khvarshi:"Nakh-Daghestanian",Tindi:"Nakh-Daghestanian",Pirahã:"Muran",Bonan:"Mongolic","China Buriat":"Mongolic",Daur:"Mongolic","Kalmyk-Oirat":"Mongolic","Peripheral Mongolian":"Mongolic","Russia Buriat":"Mongolic",Tagdal:"Mixed language",Wutunhua:"Mixed language","Ashéninka Perené":"Maipurean",Baniwa:"Maipurean",Cabiyarí:"Maipurean",Curripaco:"Maipurean","Enawené-Nawé":"Maipurean",Kanamarí:"Maipurean",Mehináku:"Maipurean","Pichis Ashéninka":"Maipurean",Waurá:"Maipurean",Bangime:"Language isolate",Burushaski:"Language isolate","Ai-Cham":"Kra-Dai",Aiton:"Kra-Dai","Dai Zhuang":"Kra-Dai",Duoluo:"Kra-Dai","Green Gelao":"Kra-Dai","Guibian Zhuang":"Kra-Dai",Hlai:"Kra-Dai",Jiamao:"Kra-Dai",Kang:"Kra-Dai",Khün:"Kra-Dai",Kuan:"Kra-Dai",Lachi:"Kra-Dai","Laha (Viet Nam)":"Kra-Dai",Lao:"Kra-Dai",Lü:"Kra-Dai","Mak (China)":"Kra-Dai","Northeastern Thai":"Kra-Dai","Northern Dong":"Kra-Dai","Northern Thai":"Kra-Dai",Nyaw:"Kra-Dai",Phake:"Kra-Dai","Phu Thai":"Kra-Dai",Qabiao:"Kra-Dai",Qau:"Kra-Dai","Qiubei Zhuang":"Kra-Dai",Shan:"Kra-Dai","Southern Dong":"Kra-Dai",Sui:"Kra-Dai","T’en":"Kra-Dai","Tai Daeng":"Kra-Dai","Tai Dam":"Kra-Dai","Tai Hongjin":"Kra-Dai","Tai Nüa":"Kra-Dai","Tai Ya":"Kra-Dai","Tai Yo":"Kra-Dai","Ts’ün-Lao":"Kra-Dai","Yang Zhuang":"Kra-Dai",Yerong:"Kra-Dai",Yong:"Kra-Dai",Yoy:"Kra-Dai",Khoekhoe:"Khoe-Kwadi",Karajá:"Karajá","Pará Gavião":"Jean",Suyá:"Jean",Japanese:"Japonic","Oki-No-Erabu":"Japonic","Toku-No-Shima":"Japonic",Yaeyama:"Japonic",Yoron:"Japonic","Adivasi Oriya":"Indo-European",Afrikaans:"Indo-European","Alviri-Vidari":"Indo-European",Angika:"Indo-European",Assamese:"Indo-European",Bagheli:"Indo-European",Bagri:"Indo-European",Bashkardi:"Indo-European",Bateri:"Indo-European",Bengali:"Indo-European",Bhojpuri:"Indo-European",Bhunjia:"Indo-European",Bilaspuri:"Indo-European",Bosnian:"Indo-European","Braj Bhasha":"Indo-European",Brokskat:"Indo-European",Bundeli:"Indo-European",Catalan:"Indo-European",Chambeali:"Indo-European",Chhattisgarhi:"Indo-European",Dameli:"Indo-European",Dari:"Indo-European",Dhundari:"Indo-European",Dogri:"Indo-European",Domari:"Indo-European",Dutch:"Indo-European","Eastern Balochi":"Indo-European","Eastern Panjabi":"Indo-European","Eastern Yiddish":"Indo-European",English:"Indo-European",French:"Indo-European",Gaddi:"Indo-European",Garhwali:"Indo-European",Gawri:"Indo-European",Gowro:"Indo-European",Gujarati:"Indo-European",Gujari:"Indo-European",Halbi:"Indo-European",Haroti:"Indo-European",Haryanvi:"Indo-European",Hindi:"Indo-European","Indus Kohistani":"Indo-European","Iranian Persian":"Indo-European",Ishkashimi:"Indo-European",Kacchi:"Indo-European",Kalkoti:"Indo-European",Kanauji:"Indo-European",Kangri:"Indo-European",Karingani:"Indo-European",Kashmiri:"Indo-European",Kati:"Indo-European",Khunsari:"Indo-European",Konkani:"Indo-European",Kudmali:"Indo-European",Kumaoni:"Indo-European",Kumzari:"Indo-European",Laki:"Indo-European",Lasi:"Indo-European",Luwati:"Indo-European",Magahi:"Indo-European",Maithili:"Indo-European",Maldivian:"Indo-European",Malvi:"Indo-European",Marathi:"Indo-European","Marwari (India)":"Indo-European",Mewari:"Indo-European",Munji:"Indo-European",Nepali:"Indo-European",Nimadi:"Indo-European","Northern Kurdish":"Indo-European",Odia:"Indo-European","Pahari-Potwari":"Indo-European",Palula:"Indo-European",Panchpargania:"Indo-European",Pangwali:"Indo-European",Parachi:"Indo-European",Portuguese:"Indo-European",Russian:"Indo-European",Sadri:"Indo-European",Sanglechi:"Indo-European",Sarikoli:"Indo-European",Savi:"Indo-European",Semnani:"Indo-European",Serbian:"Indo-European",Shabak:"Indo-European",Shahrudi:"Indo-European",Shekhawati:"Indo-European",Shina:"Indo-European",Shughni:"Indo-European",Shumashti:"Indo-European",Sindhi:"Indo-European",Sivandi:"Indo-European",Soi:"Indo-European","Southern Balochi":"Indo-European",Spanish:"Indo-European",Tajik:"Indo-European",Talysh:"Indo-European",Urdu:"Indo-European",Ushojo:"Indo-European",Vaghri:"Indo-European","Vlax Romani":"Indo-European",Wagdi:"Indo-European",Wakhi:"Indo-European",Waneci:"Indo-European","Western Balochi":"Indo-European",Yadgha:"Indo-European","Bu-Nao Bunu":"Hmong-Mien","Central Mashan Miao":"Hmong-Mien","Chuanqiandian Cluster Miao":"Hmong-Mien","Eastern Xiangxi Miao":"Hmong-Mien","Iu Mien":"Hmong-Mien","Luopohe Miao":"Hmong-Mien","Northern Qiandong Miao":"Hmong-Mien","Pa-Hng":"Hmong-Mien","Southwestern Huishui Miao":"Hmong-Mien","Wunai Bunu":"Hmong-Mien","Younuo Bunu":"Hmong-Mien",Amarakaeri:"Harákmbut",Huachipaeri:"Harákmbut",Cuiba:"Guajiboan",Macaguán:"Guajiboan",Tlicho:"Eyak-Athabaskan",Kannada:"Dravidian",Kodava:"Dravidian","Korra Koraga":"Dravidian","Kota (India)":"Dravidian",Kudiya:"Dravidian",Malapandaram:"Dravidian",Malayalam:"Dravidian",Muthuvan:"Dravidian",Ravula:"Dravidian",Sholaga:"Dravidian",Tamil:"Dravidian",Telugu:"Dravidian",Tulu:"Dravidian",Vishavan:"Dravidian","Andaman Hindi Creole":"Creole","Cocos Islands Malay":"Creole","Juba Arabic":"Creole",Nubi:"Creole",Barí:"Chibchan","Barro Negro Tunebo":"Chibchan","Western Tunebo":"Chibchan",Ikpeng:"Cariban","Kuikúro-Kalapálo":"Cariban",Pemon:"Cariban",Trió:"Cariban","Waimiri-Atroarí":"Cariban",Waiwai:"Cariban",Yukpa:"Cariban",Borôro:"Bororoan",Chachi:"Barbacoan","Abai Sungai":"Austronesian",Ambelau:"Austronesian",Asilulu:"Austronesian",Balaesang:"Austronesian","Batak Alas-Kluet":"Austronesian","Batak Dairi":"Austronesian","Batak Karo":"Austronesian",Bonerate:"Austronesian",Bonggi:"Austronesian",Brunei:"Austronesian","Brunei Bisaya":"Austronesian",Buol:"Austronesian","Central Malay":"Austronesian","Central Sama":"Austronesian","Coastal Konjo":"Austronesian",Dampelas:"Austronesian","Dibabawon Manobo":"Austronesian",Dondo:"Austronesian",Gane:"Austronesian","Geser-Gorom":"Austronesian","Highland Konjo":"Austronesian",Hitu:"Austronesian",Iban:"Austronesian",Indonesian:"Austronesian","Kadazan Dusun":"Austronesian",Kiput:"Austronesian",Komodo:"Austronesian",Kompane:"Austronesian",Lahanan:"Austronesian","Lampung Nyo":"Austronesian","Larike-Wakasihu":"Austronesian",Lola:"Austronesian",Luhu:"Austronesian",Malay:"Austronesian",Mariri:"Austronesian",Moronene:"Austronesian",Rukai:"Austronesian","Sabah Bisaya":"Austronesian","Seit-Kaitetu":"Austronesian",Sula:"Austronesian","Tae’":"Austronesian",Tajio:"Austronesian",Tomini:"Austronesian",Tutong:"Austronesian",Ujir:"Austronesian",Aheu:"Austro-Asiatic",Alak:"Austro-Asiatic",Bit:"Austro-Asiatic","Bo (Laos)":"Austro-Asiatic",Bondo:"Austro-Asiatic",Brao:"Austro-Asiatic",Bugan:"Austro-Asiatic",Chong:"Austro-Asiatic",Chut:"Austro-Asiatic",Danau:"Austro-Asiatic",Halang:"Austro-Asiatic","Halang Doan":"Austro-Asiatic",Hu:"Austro-Asiatic",Hung:"Austro-Asiatic",Ir:"Austro-Asiatic",Kensiu:"Austro-Asiatic",Khmu:"Austro-Asiatic",Khua:"Austro-Asiatic",Khuen:"Austro-Asiatic",Koda:"Austro-Asiatic","Kon Keu":"Austro-Asiatic",Kriang:"Austro-Asiatic",Kuay:"Austro-Asiatic",Laven:"Austro-Asiatic",Maleng:"Austro-Asiatic","Man Met":"Austro-Asiatic",Mang:"Austro-Asiatic",Minriq:"Austro-Asiatic",Mlabri:"Austro-Asiatic",Nguôn:"Austro-Asiatic",Nyaheun:"Austro-Asiatic",Nyahkur:"Austro-Asiatic","O’du":"Austro-Asiatic",Ong:"Austro-Asiatic",Oy:"Austro-Asiatic",Pacoh:"Austro-Asiatic","Phong-Kniang":"Austro-Asiatic",Prai:"Austro-Asiatic",Puoc:"Austro-Asiatic",Rengao:"Austro-Asiatic",Rmeet:"Austro-Asiatic","Rumai Palaung":"Austro-Asiatic",Sapuan:"Austro-Asiatic","Shwe Palaung":"Austro-Asiatic","So (Laos)":"Austro-Asiatic",Sou:"Austro-Asiatic","Tai Loi":"Austro-Asiatic",Talieng:"Austro-Asiatic",Tareng:"Austro-Asiatic",Tho:"Austro-Asiatic",U:"Austro-Asiatic","Upper Ta’oih":"Austro-Asiatic",Vietnamese:"Austro-Asiatic","Western Katu":"Austro-Asiatic",Suruahá:"Arauan",Jarawa:"Andamanese",Öñge:"Andamanese",Sentinel:"Andamanese",Afar:"Afro-Asiatic","Alaba-K’abeena":"Afro-Asiatic",Alagwa:"Afro-Asiatic",Ale:"Afro-Asiatic","Algerian Arabic":"Afro-Asiatic",Amharic:"Afro-Asiatic",Arbore:"Afro-Asiatic","Baharna Arabic":"Afro-Asiatic",Barein:"Afro-Asiatic",Bedawiyet:"Afro-Asiatic",Bidiyo:"Afro-Asiatic",Bilen:"Afro-Asiatic",Birgit:"Afro-Asiatic",Boor:"Afro-Asiatic","Borana-Arsi-Guji Oromo":"Afro-Asiatic",Buduma:"Afro-Asiatic","Central Atlas Tamazight":"Afro-Asiatic","Chadian Arabic":"Afro-Asiatic",Chenoua:"Afro-Asiatic",Ciwogai:"Afro-Asiatic",Daasanach:"Afro-Asiatic",Dabarre:"Afro-Asiatic",Dangaléat:"Afro-Asiatic",Deno:"Afro-Asiatic",Diri:"Afro-Asiatic",Duwai:"Afro-Asiatic","Eastern Egyptian Bedawi Arabic":"Afro-Asiatic","Eastern Oromo":"Afro-Asiatic",Garre:"Afro-Asiatic",Geruma:"Afro-Asiatic",Giiwo:"Afro-Asiatic",Gorowa:"Afro-Asiatic","Gulf Arabic":"Afro-Asiatic","Hadrami Arabic":"Afro-Asiatic",Harsusi:"Afro-Asiatic",Hassaniyya:"Afro-Asiatic",Hausa:"Afro-Asiatic",Hebrew:"Afro-Asiatic","Hijazi Arabic":"Afro-Asiatic",Hobyót:"Afro-Asiatic",Hozo:"Afro-Asiatic",Jiiddu:"Afro-Asiatic",Jimi:"Afro-Asiatic",Jina:"Afro-Asiatic","Jonkor Bourmataguil":"Afro-Asiatic","Judeo-Iraqi Arabic":"Afro-Asiatic","Judeo-Moroccan Arabic":"Afro-Asiatic",Kabalai:"Afro-Asiatic",Kajakse:"Afro-Asiatic",Kariya:"Afro-Asiatic","Karo (Ethiopia)":"Afro-Asiatic",Kutto:"Afro-Asiatic","Levantine Arabic":"Afro-Asiatic",Libido:"Afro-Asiatic","Libyan Arabic":"Afro-Asiatic","Lishana Deni":"Afro-Asiatic",Maaka:"Afro-Asiatic",Maay:"Afro-Asiatic",Majera:"Afro-Asiatic",Male:"Afro-Asiatic",Maslam:"Afro-Asiatic",Masmaje:"Afro-Asiatic",Mburku:"Afro-Asiatic",Mehri:"Afro-Asiatic","Mesopotamian Arabic":"Afro-Asiatic",Migaama:"Afro-Asiatic",Mogum:"Afro-Asiatic","Moroccan Arabic":"Afro-Asiatic",Mositacha:"Afro-Asiatic",Mubi:"Afro-Asiatic",Mukulu:"Afro-Asiatic",Nafusi:"Afro-Asiatic","Najdi Arabic":"Afro-Asiatic",Nyam:"Afro-Asiatic","Omani Arabic":"Afro-Asiatic","Pa’a":"Afro-Asiatic",Saba:"Afro-Asiatic",Saho:"Afro-Asiatic","Sanaani Arabic":"Afro-Asiatic",Seze:"Afro-Asiatic",Shehri:"Afro-Asiatic",Shekkacho:"Afro-Asiatic",Sheko:"Afro-Asiatic","Shihhi Arabic":"Afro-Asiatic",Siwi:"Afro-Asiatic",Sokoro:"Afro-Asiatic",Soqotri:"Afro-Asiatic","South Levantine Arabic":"Afro-Asiatic","Standard Arabic":"Afro-Asiatic","Sudanese Arabic":"Afro-Asiatic","Ta’izzi-Adeni Arabic":"Afro-Asiatic","Tahaggart Tamahaq":"Afro-Asiatic",Taznatit:"Afro-Asiatic",Tigré:"Afro-Asiatic",Toram:"Afro-Asiatic",Tsamai:"Afro-Asiatic",Tumzabt:"Afro-Asiatic",Tunni:"Afro-Asiatic",Waata:"Afro-Asiatic","West Central Oromo":"Afro-Asiatic",Xamtanga:"Afro-Asiatic",Zumbun:"Afro-Asiatic"};function gf(a){return(a==null?void 0:a.properties)||a||{}}function io(a){return a&&typeof a=="object"&&"label"in a?a.label||a.value||"":a}function uf(a){if(!a||typeof a!="string")return null;const n=a.split(",").map(i=>i.trim()).filter(Boolean);if(n.length>=2){const i=[...n].reverse().join(" ");if(ln[i])return ln[i];if(n.length>=3){const t=[n[1],n[0]].join(" ");if(ln[t])return ln[t]}}if(ln[a])return ln[a];const e=a.replace(/\s*\(.*?\)\s*$/,"").trim();return e!==a&&ln[e]?ln[e]:null}const df=[[/ sign language$/i,"Sign Language"]];function pf(a){if(!a||typeof a!="string")return"— Unknown —";const n=a.indexOf(",");return n>0?a.slice(0,n).trim():a.trim()}function mf(a){if(!a||typeof a!="string")return null;const n=a.indexOf(",");return n>=0&&a.slice(n+1).trim()||null}function hf(a){var r,l,s,g;const n=a.language_family??a.languageFamily??((r=a._raw)==null?void 0:r.LanguageFamily)??((l=a._raw)==null?void 0:l.language_family),e=io(n),i=Yr(e);if(i&&i!=="Unknown")return i;const t=a.primary_language??a.primaryLanguage??((s=a._raw)==null?void 0:s.PrimaryLanguage)??((g=a._raw)==null?void 0:g.primary_language),o=io(t);if(o){const d=String(o).trim(),_=uf(d);if(_)return _;for(const[k,x]of df)if(k.test(d))return x}return"Unknown"}function yf(a){var t,o;const n=((t=a._raw)==null?void 0:t.primary_language)??((o=a._raw)==null?void 0:o.PrimaryLanguage);if(n){const r=io(n);if(r)return String(r).trim()}const e=a.primary_language??a.primaryLanguage??a.language,i=io(e);return i&&String(i).trim()||"— Unknown —"}function bf(a){var e,i;const n=a.population??((e=a._raw)==null?void 0:e.Population)??((i=a._raw)==null?void 0:i.population)??0;return parseInt(n,10)||0}function _f(a,n){var e,i;return(a==null?void 0:a.id)??n.id??n.peopleGroupId??((e=n._raw)==null?void 0:e.PeopleID3)??((i=n._raw)==null?void 0:i.PeopleID)??null}function ff(a,n){return(a==null?void 0:a.clusterId)??n.clusterId??null}function Pf(a,n){var t,o,r,l;const e=parseFloat(n.latitude??n.lat??((t=n._raw)==null?void 0:t.Latitude)??((o=n._raw)==null?void 0:o.latitude)),i=parseFloat(n.longitude??n.lng??((r=n._raw)==null?void 0:r.Longitude)??((l=n._raw)==null?void 0:l.longitude));return!isFinite(e)||!isFinite(i)?null:[i,e]}function Cf(a,n){return n.peopleGroupCount!==a.peopleGroupCount?n.peopleGroupCount-a.peopleGroupCount:(n.population||0)-(a.population||0)}function to(a,n){return(n.population||0)!==(a.population||0)?(n.population||0)-(a.population||0):n.peopleGroupCount-a.peopleGroupCount}function jf(a,n={}){n.aggregator;const e=pi({});function i(T){return!!e[T]}function t(T){e[T]=!e[T]}function o(T){const $=new Set(Array.isArray(T)?T:[]);for(const w of Object.keys(e))$.has(w)||(e[w]=!1);for(const w of $)e[w]=!0}const r=la(()=>{const T=(a==null?void 0:a.value)||[],$=new Map;for(const w of T){const L=gf(w),E=hf(L),I=yf(L),G=pf(I),S=mf(I),v=bf(L),K=_f(w,L),O=ff(w,L),q=Pf(w,L);let sa=$.get(E);sa||(sa={key:E,peopleGroupCount:0,population:0,pinIds:[],coords:[],clusterId:null,languages:new Map},$.set(E,sa)),sa.peopleGroupCount+=1,sa.population+=v,K!=null&&sa.pinIds.push(K),q&&sa.coords.push(q),O&&!sa.clusterId&&(sa.clusterId=O);let ea=sa.languages.get(G);if(ea||(ea={key:G,peopleGroupCount:0,population:0,pinIds:[],coords:[],clusterId:null,dialects:new Map},sa.languages.set(G,ea)),ea.peopleGroupCount+=1,ea.population+=v,K!=null&&ea.pinIds.push(K),q&&ea.coords.push(q),O&&!ea.clusterId&&(ea.clusterId=O),S){let ga=ea.dialects.get(S);ga?ga.originalLabels.add(I):(ga={key:S,peopleGroupCount:0,population:0,pinIds:[],coords:[],originalLabels:new Set([I])},ea.dialects.set(S,ga)),ga.peopleGroupCount+=1,ga.population+=v,K!=null&&ga.pinIds.push(K),q&&ga.coords.push(q)}}return $}),l=n.showAllKnown!==!1,s=la(()=>{const T=r.value,$=[],w=new Set;for(const L of T.values())$.push({key:L.key,label:L.key,color:Hn(L.key),peopleGroupCount:L.peopleGroupCount,population:L.population,kind:L.clusterId?"cluster":"family",clusterId:L.clusterId||void 0,pinIds:L.pinIds,coords:L.coords}),w.add(L.key);if(l)for(const L of Object.keys(se))w.has(L)||$.push({key:L,label:L,color:Hn(L),peopleGroupCount:0,population:0,kind:"family",pinIds:[],coords:[]});return $.sort(Cf),$});function g(T){const $=r.value.get(T);if(!$)return[];const w=[];for(const L of $.languages.values())w.push({key:`${T}__${L.key}`,label:L.key,color:Hn(T),peopleGroupCount:L.peopleGroupCount,population:L.population,kind:L.clusterId?"cluster":"language",familyKey:T,clusterId:L.clusterId||void 0,pinIds:L.pinIds,coords:L.coords,hasDialects:L.dialects.size>0});return w.sort(to),w}function d(T){const $=T.indexOf("__");if($<0)return[];const w=T.slice(0,$),L=T.slice($+2),E=r.value.get(w);if(!E)return[];const I=E.languages.get(L);if(!I)return[];const G=[];for(const S of I.dialects.values())G.push({key:`${T}__${S.key}`,label:`${L}, ${S.key}`,dialectOnly:S.key,color:Hn(w),peopleGroupCount:S.peopleGroupCount,population:S.population,kind:"dialect",languageKey:L,familyKey:w,pinIds:S.pinIds,coords:S.coords,originalLabels:Array.from(S.originalLabels)});return G.sort(to),G}const _=la(()=>{const T=r.value,$=[];for(const w of T.values())for(const L of w.languages.values())$.push({key:`${w.key}__${L.key}`,label:L.key,color:Hn(w.key),peopleGroupCount:L.peopleGroupCount,population:L.population,kind:L.clusterId?"cluster":"language",familyKey:w.key,clusterId:L.clusterId||void 0,pinIds:L.pinIds,coords:L.coords,hasDialects:L.dialects.size>0});return $.sort(to),$}),k=la(()=>{const T=r.value,$=[];for(const w of T.values())for(const L of w.languages.values())for(const E of L.dialects.values())$.push({key:`${w.key}__${L.key}__${E.key}`,label:`${L.key}, ${E.key}`,dialectOnly:E.key,color:Hn(w.key),peopleGroupCount:E.peopleGroupCount,population:E.population,kind:"dialect",languageKey:L.key,familyKey:w.key,pinIds:E.pinIds,coords:E.coords,originalLabels:Array.from(E.originalLabels)});return $.sort(to),$});function x(T){let $=T;if(typeof T=="string"&&($=s.value.find(L=>L.key===T),!$))return;const w={kind:$.kind,pinIds:$.pinIds||[],coords:$.coords||[]};$.kind==="family"&&(w.familyKey=$.label),$.kind==="language"&&(w.languageKey=$.label,w.familyKey=$.familyKey),$.kind==="dialect"&&(w.dialectKey=$.key,w.dialectOnly=$.dialectOnly||$.label,w.languageKey=$.languageKey,w.familyKey=$.familyKey,w.originalLabels=$.originalLabels||[]),$.kind==="cluster"&&(w.clusterId=$.clusterId),typeof window<"u"&&typeof window.CustomEvent=="function"&&window.dispatchEvent(new CustomEvent("legend:highlight",{detail:w}))}const D=la(()=>{const T=r.value,$=[];for(const w of T.values()){const L=Hn(w.key),E=[];for(const G of w.languages.values()){G.key&&G.key!=="— Unknown —"&&E.push(G.key);for(const S of G.dialects.values())for(const v of S.originalLabels)v&&E.push(v)}const I={id:`fam:${w.key}`,label:w.key,color:L,count:w.peopleGroupCount,pop:w.population,filter:E.length>0?["any",["==",["get","languageFamily"],w.key],["in",["get","language"],["literal",Array.from(new Set(E))]]]:["==",["get","languageFamily"],w.key],children:[]};for(const G of w.languages.values()){const S=G.key,v={id:`lang:${w.key}__${S}`,label:S,color:L,count:G.peopleGroupCount,pop:G.population,filter:["any",["==",["get","language"],S],["==",["slice",["get","language"],0,S.length+1],S+","],["in"," "+S,["get","language"]]],children:[]};for(const K of G.dialects.values()){const O=Array.from(K.originalLabels);v.children.push({id:`dial:${w.key}__${S}__${K.key}`,label:`${S}, ${K.key}`,color:L,count:K.peopleGroupCount,pop:K.population,filter:O.length===1?["==",["get","language"],O[0]]:["in",["get","language"],["literal",O]],originalLabels:O,children:[]})}I.children.push(v)}$.push(I)}return $.sort((w,L)=>L.pop-w.pop||L.count-w.count),$});return{rows:s,languageRows:_,dialectRows:k,langTree:D,toggle:t,isExpanded:i,setExpansionToOnly:o,childRowsFor:g,dialectRowsFor:d,highlight:x}}const kf={key:0,class:"fc-loading"},Gf={class:"fc-modes",role:"tablist","aria-label":"Cluster by"},vf=["aria-selected","onClick"],Af={class:"fc-circle"},Sf={class:"fc-mode-lbl"},Ef={class:"fc-mode-sz"},Mf={key:1,class:"fc-stats"},If={key:2,class:"fc-legend"},wf={class:"fc-lrow"},xf={class:"fc-lrow"},Tf={key:3,class:"fc-footer"},ti="#e11d48",Yi="#9f1239",Wi="#002e6e",Nf="#f59e0b",il="fc-core-src",Mu="fc-green-src",Iu="fc-link-src",Te="fc-core",wu="fc-core-lbl",oo="fc-green",Ji="fc-link",Lf={__name:"FlowerClusters",setup(a){function n(u){const A=+u||0;return A>=80?"#0f7a3d":A>=40?"#1f9d55":A>=15?"#5cb874":"#9bcf9b"}const e=Ya("profileConfig"),i=Ya("mapboxToken"),t=la(()=>(e==null?void 0:e.value)||{}),o=ua(null),r=ua(null),l=ua(!1),s=ua("Clustering the harvest by language…"),g=ua("language"),d=ua(null),_=ua([]),{rows:k,languageRows:x}=jf(_,{showAllKnown:!1});function D(u){return u&&typeof u=="object"?u.label||u.value||"":u||""}const T=la(()=>{const u=new Map;for(const A of _.value){const j=(D(A.primary_language)||"— Unknown —").trim(),c=parseFloat(A.latitude),P=parseFloat(A.longitude);let p=u.get(j);p||(p={key:"full:"+j,label:j,color:ti,peopleGroupCount:0,population:0,coords:[],originalLabels:[j]},u.set(j,p)),p.peopleGroupCount++,p.population+=parseInt(A.population,10)||0,isFinite(c)&&isFinite(P)&&p.coords.push([P,c])}return[...u.values()].sort((A,j)=>j.peopleGroupCount-A.peopleGroupCount)});function $(u){if(!u||typeof u!="string")return"";const A=u.indexOf(",");return(A>0?u.slice(0,A):u).trim()}function w(u){return(u||"").trim()}function L(u){if(!u||typeof u!="string")return"Unknown";const A=u.split(",").map(c=>c.trim()).filter(Boolean);if(A.length>=2){const c=[...A].reverse().join(" ");if(ln[c])return ln[c];if(A.length>=3){const P=[A[1],A[0]].join(" ");if(ln[P])return ln[P]}}if(ln[u])return ln[u];const j=u.replace(/\s*\(.*?\)\s*$/,"").trim();return j!==u&&ln[j]?ln[j]:/ sign language$/i.test(u)?"Sign Language":"Unknown"}const E=la(()=>{const u=[],A=new Set;for(const j of Object.values(ee.countries||{}))for(const c of j.neighbors||[]){const P=Number(c.lat),p=Number(c.lng);if(!isFinite(P)||!isFinite(p))continue;const M=(c.code||c.name)+"|"+c.country;A.has(M)||(A.add(M),u.push({id:M,name:c.name,country:c.country,lang:c.lang,pct:c.pct_christian||0,pop:c.pop||0,lat:P,lng:p,family:L(c.lang),base:$(c.lang),full:w(c.lang)}))}return u});function I(u){let A=0,j=0,c=0;for(const P of u||[])Array.isArray(P)&&(A+=P[0],j+=P[1],c++);return c?[A/c,j/c]:null}const G=la(()=>{const u=g.value,A=u==="family"?k.value:u==="dialect"?T.value:x.value,j=[];for(const c of A){if(!c.peopleGroupCount)continue;const P=I(c.coords);if(!P)continue;let p;u==="family"?p={kind:"family",set:new Set([c.label])}:u==="dialect"?p={kind:"full",set:new Set(c.originalLabels||[c.label])}:p={kind:"base",set:new Set([c.label])},j.push({key:c.key||c.label,label:c.label,level:u,count:c.peopleGroupCount,pop:c.population||0,lng:P[0],lat:P[1],color:c.color||ti,match:p})}return j.sort((c,P)=>P.count-c.count),j}),S=la(()=>{const u=[],A=[],j=E.value;for(const c of G.value){const{kind:P,set:p}=c.match;for(const M of j){const N=P==="family"?M.family:P==="full"?M.full:M.base;p.has(N)&&(u.push({...M,coreKey:c.key,color:n(M.pct)}),A.push({coreKey:c.key,from:[M.lng,M.lat],to:[c.lng,c.lat]}))}}return{greens:u,links:A}}),v=la(()=>({cores:G.value.length,unreached:G.value.reduce((u,A)=>u+A.count,0),petals:S.value.greens.length})),K=la(()=>G.value.find(u=>u.key===d.value)||null),{map:O,initializeMap:q,destroy:sa}=Kt({containerRef:r,accessToken:(i==null?void 0:i.value)||t.value.tk||"",style:t.value.style??"mapbox://styles/mapbox/light-v11",center:t.value.center??[55,22],zoom:t.value.zoom??1.7,minZoom:1,maxZoom:12}),ea=u=>({type:"FeatureCollection",features:u});function ga(){return ea(G.value.map(u=>({type:"Feature",geometry:{type:"Point",coordinates:[u.lng,u.lat]},properties:{key:u.key,label:u.label+" ("+u.count+")",count:u.count,color:u.color}})))}function Sa(){return ea(S.value.greens.map(u=>({type:"Feature",geometry:{type:"Point",coordinates:[u.lng,u.lat]},properties:{name:u.name,country:u.country,lang:u.lang,pct:u.pct,color:u.color,coreKey:u.coreKey}})))}function Ma(){return ea(S.value.links.map(u=>({type:"Feature",geometry:{type:"LineString",coordinates:[u.from,u.to]},properties:{coreKey:u.coreKey}})))}function ma(u,A,j){const c=u.getSource(A);c?c.setData(j):u.addSource(A,{type:"geojson",data:j})}function pa(){var A;const u=O.value;!u||!((A=u.isStyleLoaded)!=null&&A.call(u))||(ma(u,Iu,Ma()),ma(u,Mu,Sa()),ma(u,il,ga()),u.getLayer(Ji)||u.addLayer({id:Ji,type:"line",source:Iu,paint:{"line-color":Wi,"line-width":.6,"line-opacity":.12}}),u.getLayer(oo)||u.addLayer({id:oo,type:"circle",source:Mu,paint:{"circle-radius":["interpolate",["linear"],["zoom"],1,1.4,6,3],"circle-color":["get","color"],"circle-stroke-width":.4,"circle-stroke-color":"#fff","circle-opacity":.82}}),u.getLayer(Te)||u.addLayer({id:Te,type:"circle",source:il,paint:{"circle-radius":["interpolate",["linear"],["get","count"],1,8,25,18,120,30],"circle-color":ti,"circle-opacity":.5,"circle-stroke-width":2,"circle-stroke-color":Yi}}),u.getLayer(wu)||u.addLayer({id:wu,type:"symbol",source:il,minzoom:2.2,layout:{"text-field":["get","label"],"text-size":11,"text-offset":[0,1.4],"text-anchor":"top","text-allow-overlap":!1,"text-optional":!0},paint:{"text-color":Yi,"text-halo-color":"#fff","text-halo-width":1.4}}),Y())}function Y(){const u=O.value;if(!u||!u.getLayer(Ji))return;const A=d.value;u.setPaintProperty(Ji,"line-opacity",A?["case",["==",["get","coreKey"],A],.7,.04]:.12),u.setPaintProperty(Ji,"line-color",A?["case",["==",["get","coreKey"],A],Nf,Wi]:Wi),u.getLayer(oo)&&u.setPaintProperty(oo,"circle-opacity",A?["case",["==",["get","coreKey"],A],.95,.18]:.82),u.getLayer(Te)&&u.setPaintProperty(Te,"circle-opacity",A?["case",["==",["get","key"],A],.9,.4]:.5)}function ta(u){d.value=d.value===u?null:u,Y();const A=K.value,j=O.value;if(A&&j){const c=S.value.links.filter(U=>U.coreKey===A.key).map(U=>U.from).concat([[A.lng,A.lat]]);let P=A.lng,p=A.lng,M=A.lat,N=A.lat;for(const U of c)P=Math.min(P,U[0]),p=Math.max(p,U[0]),M=Math.min(M,U[1]),N=Math.max(N,U[1]);try{j.stop(),j.fitBounds([[P,M],[p,N]],{padding:90,maxZoom:5.5,duration:700})}catch{}}}function aa(u){g.value!==u&&(g.value=u,d.value=null)}cn([g,()=>_.value.length],()=>{l.value&&pa()});async function ba(){const u=t.value.apiBase||typeof window<"u"&&(window.MAP_APP_API_URL||window.VITE_API_BASE_URL);if(!u)throw new Error("No API base configured (apiBase / window.MAP_APP_API_URL / VITE_API_BASE_URL) — failing closed, no default host.");const j=await fetch(u.replace(/\/?$/,"")+"/api/people-groups/list?fields="+"slug,name,latitude,longitude,country_code,primary_language,wagf_block"+"&lang=en",{cache:"no-store"});if(!j.ok)throw new Error("list "+j.status);const c=await j.json();return(c.posts||c.data||c.records||c.results||(Array.isArray(c)?c:[])).map(p=>({...p,id:p.slug}))}Rn(async()=>{var j,c,P,p,M,N;await q();const u=O.value;try{u&&u.setProjection("mercator")}catch{}try{_.value=await ba()}catch(U){s.value="Live API unreachable — "+U.message,l.value=!0;return}if(l.value=!0,t.value.debugExpose&&typeof window<"u")try{(((P=(c=(j=o.value)==null?void 0:j.getRootNode)==null?void 0:c.call(j))==null?void 0:P.host)||window).__flowers={get mode(){return g.value},setMode:aa,get stats(){return v.value},selectCore:ta}}catch{}const A=()=>{pa(),u.on("click",Te,U=>{var C;const h=(C=U.features)==null?void 0:C[0];h&&ta(h.properties.key)}),u.on("mouseenter",Te,()=>{u.getCanvas().style.cursor="pointer"}),u.on("mouseleave",Te,()=>{u.getCanvas().style.cursor=""})};(p=u==null?void 0:u.isStyleLoaded)!=null&&p.call(u)?A():(M=u==null?void 0:u.once)==null||M.call(u,"load",A),(N=u==null?void 0:u.once)==null||N.call(u,"idle",()=>{l.value&&pa()})}),Ue(()=>{sa()}),On(` + .fc-root { position:absolute; inset:0; overflow:hidden; background:#ffffff; color:#1f2937; isolation:isolate; + font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; } + .fc-map { position:absolute; inset:0; } + .fc-loading { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:${Wi}; font:13px/1 ui-monospace,monospace; z-index:5; } + /* the 3 MODE CIRCLES at the top */ + .fc-modes { position:absolute; top:12px; left:50%; transform:translateX(-50%); z-index:30; display:flex; gap:14px; align-items:flex-start; } + .fc-mode { display:flex; flex-direction:column; align-items:center; gap:5px; cursor:pointer; background:none; border:0; } + .fc-circle { width:54px; height:54px; border-radius:50%; background:#fff; border:3px solid #d1d5db; display:flex; + align-items:center; justify-content:center; font:800 11px/1 ui-monospace,monospace; color:#9ca3af; box-shadow:0 2px 10px rgba(0,0,0,.12); transition:all .15s; } + .fc-mode.on .fc-circle { border-color:${ti}; color:${Yi}; transform:scale(1.08); box-shadow:0 4px 16px rgba(225,29,72,.3); } + .fc-mode:hover .fc-circle { border-color:${ti}; } + .fc-mode-lbl { font:700 10px/1 ui-monospace,monospace; letter-spacing:.04em; text-transform:uppercase; color:#6b7280; } + .fc-mode.on .fc-mode-lbl { color:${Yi}; } + .fc-mode-sz { font:600 9px/1 ui-monospace,monospace; color:#9ca3af; } + .fc-stats { position:absolute; top:14px; right:12px; z-index:30; background:rgba(255,255,255,.95); border:1px solid #d1d5db; + border-radius:8px; padding:7px 11px; font:600 11px/1.5 ui-monospace,monospace; color:#374151; text-align:right; } + .fc-stats b { color:${Yi}; } + .fc-legend { position:absolute; left:12px; bottom:30px; z-index:25; background:rgba(255,255,255,.95); border:1px solid #d1d5db; + border-radius:10px; padding:9px 12px; max-width:250px; box-shadow:0 4px 14px rgba(0,0,0,.12); font-size:11px; color:#374151; } + .fc-legend h4 { font:700 9px/1 ui-monospace,monospace; letter-spacing:.1em; text-transform:uppercase; color:#6b7280; margin-bottom:6px; } + .fc-lrow { display:flex; align-items:center; gap:8px; padding:2px 0; } + .fc-dot { width:12px; height:12px; border-radius:50%; border:1px solid rgba(0,0,0,.25); flex:0 0 auto; } + .fc-footer { position:absolute; left:0; right:0; bottom:0; z-index:20; background:${Wi}; color:#dbe4f3; + font:10px/1.4 ui-monospace,monospace; padding:5px 12px; display:flex; flex-wrap:wrap; gap:3px 14px; } + .fc-footer b { color:#fff; } +`,"flower-clusters");const na=[{key:"family",label:"Family",sz:"fewer · bigger"},{key:"language",label:"Language",sz:"more"},{key:"dialect",label:"Dialect",sz:"most"}];return(u,A)=>(z(),W("div",{ref_key:"fcRoot",ref:o,class:"fc-root"},[f("div",{ref_key:"mapContainer",ref:r,class:"fc-map"},null,512),l.value?fa("",!0):(z(),W("div",kf,X(s.value),1)),f("div",Gf,[(z(),W(Aa,null,Ua(na,j=>f("button",{key:j.key,class:Ia(["fc-mode",{on:g.value===j.key}]),role:"tab","aria-selected":g.value===j.key,onClick:c=>aa(j.key)},[f("span",Af,X(j.label.slice(0,3).toUpperCase()),1),f("span",Sf,X(j.label),1),f("span",Ef,X(j.sz),1)],10,vf)),64))]),l.value?(z(),W("div",Mf,[f("b",null,X(v.value.cores),1),A[0]||(A[0]=ya(" flowers · ",-1)),f("b",null,X(v.value.unreached.toLocaleString()),1),A[1]||(A[1]=ya(" unreached",-1)),A[2]||(A[2]=f("br",null,null,-1)),f("b",null,X(v.value.petals.toLocaleString()),1),ya(" reached petals · by "+X(g.value),1)])):fa("",!0),l.value?(z(),W("div",If,[A[5]||(A[5]=f("h4",null,"Flower clusters",-1)),f("div",wf,[f("span",{class:"fc-dot",style:Ka({background:ti})},null,4),A[3]||(A[3]=ya(" Unreached language cluster (core, size = #PGs)",-1))]),f("div",xf,[f("span",{class:"fc-dot",style:Ka({background:n(80)})},null,4),A[4]||(A[4]=ya(" Reached neighbor (granular, real coord)",-1))]),A[6]||(A[6]=f("div",{class:"fc-lrow",style:{color:"#6b7280","font-size":"10px","margin-top":"4px"}},"click a top circle to re-cluster · click a core to bloom its petals",-1))])):fa("",!0),l.value?(z(),W("div",Tf,[...A[7]||(A[7]=[f("span",null,[f("b",null,"Flower-clusters"),ya(" red cores (clustered) → granular green reached petals (same language)")],-1),f("span",null,"taxonomy = research-map semantic tree (family→language→dialect)",-1),f("span",null,"unreached = LIVE UPG data · reached = baked PPLR",-1),f("span",null,"Luke 10:2",-1)])])):fa("",!0)],512))}},Rf={class:"dun-bar"},$f={class:"dun-seg",role:"tablist","aria-label":"Choose a view"},Ff=["aria-selected","onClick"],Kf={class:"dun-hint"},Bf={class:"dun-stage"},Of=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"upg-neighbors",setup(a){const n=Ya("profileConfig"),e=la(()=>(n==null?void 0:n.value)||{}),i=[{key:"cockpit",label:"Overview",hint:"crossfilter hub"},{key:"send-map",label:"Send Map",hint:"reached → unreached arcs"},{key:"flower-mesh",label:"Flower Mesh",hint:"radial bloom"},{key:"lang-cluster",label:"Lang Cluster",hint:"language bounded-sets"},{key:"flowers",label:"Flowers",hint:"family · language · dialect cores + granular petals"}],t=new Set(i.map(g=>g.key)),o=ua("cockpit"),r=ua(null);function l(g){t.has(g)&&(o.value=g)}Rn(()=>{var d,_,k;const g=e.value.view;if(g&&t.has(g)&&(o.value=g),e.value.debugExpose&&typeof window<"u")try{const x=((k=(_=(d=r.value)==null?void 0:d.getRootNode)==null?void 0:_.call(d))==null?void 0:k.host)||window;x.__neighbors={get view(){return o.value},setView:l}}catch{}}),On(` + .dun-root { position:absolute; inset:0; display:flex; flex-direction:column; overflow:hidden; + background:#0e1730; isolation:isolate; + font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; } + .dun-bar { flex:0 0 auto; display:flex; align-items:center; gap:10px; padding:7px 12px; + background:#001b44; border-bottom:1px solid #002e6e; z-index:50; } + .dun-brand { font:800 11px/1 ui-monospace,monospace; letter-spacing:.06em; text-transform:uppercase; + color:#fff; background:rgba(255,255,255,.1); padding:6px 10px; border-radius:7px; white-space:nowrap; } + .dun-seg { display:inline-flex; background:#0e1730; border:1px solid #284a86; border-radius:999px; + padding:3px; gap:2px; flex-wrap:wrap; } + .dun-seg button { border:0; background:transparent; color:#9fb3d9; cursor:pointer; + font:700 11px/1 ui-monospace,monospace; padding:6px 12px; border-radius:999px; } + .dun-seg button.on { background:#002e6e; color:#fff; } + .dun-seg button:hover:not(.on) { color:#dbe4f3; } + .dun-hint { margin-left:auto; font:600 10px/1.3 ui-monospace,monospace; color:#7e90b6; white-space:nowrap; } + .dun-stage { flex:1 1 0; position:relative; min-height:0; background:#fff; } + /* each child view root is position:absolute;inset:0 → fills the stage */ + @media (max-width:640px){ .dun-hint{ display:none; } .dun-brand{ display:none; } } +`,"upg-neighbors");const s=la(()=>{var g;return((g=i.find(d=>d.key===o.value))==null?void 0:g.hint)||""});return(g,d)=>(z(),W("div",{ref_key:"rootEl",ref:r,class:"dun-root"},[f("div",Rf,[d[0]||(d[0]=f("span",{class:"dun-brand"},"My UPG Neighbors",-1)),f("div",$f,[(z(),W(Aa,null,Ua(i,_=>f("button",{key:_.key,role:"tab","aria-selected":o.value===_.key,class:Ia({on:o.value===_.key}),onClick:k=>l(_.key)},X(_.label),11,Ff)),64))]),f("span",Kf,X(s.value),1)]),f("div",Bf,[o.value==="cockpit"?(z(),Me(wg,{key:0})):o.value==="send-map"?(z(),Me(Yg,{key:1})):o.value==="flower-mesh"?(z(),Me(Ng,{key:2})):o.value==="lang-cluster"?(z(),Me(Kg,{key:3})):o.value==="flowers"?(z(),Me(Lf,{key:4})):fa("",!0)])],512))}}},Symbol.toStringTag,{value:"Module"}))})(); diff --git a/internal/generate-tree.mjs b/internal/generate-tree.mjs index 9e2f0268d..1609c7408 100644 --- a/internal/generate-tree.mjs +++ b/internal/generate-tree.mjs @@ -1352,6 +1352,10 @@ function main() { ['vendor', join(pubAssets, 'vendor')], ['posters', join(pubAssets, 'posters')], ['tables', join(pubAssets, 'tables')], + // legacy — sandboxed pre-bundler maps rescued by the experimental roundup + // (EXPERIMENTAL-MAPS-ROUNDUP.md): served as static assets, mounted only inside + // wrapper-bundle iframes so the old engines cannot collide with modern bundles. + ['legacy', join(pubAssets, 'legacy')], ]) { const src = join(repoData, srcName) if (!existsSync(src)) continue @@ -1391,6 +1395,11 @@ function main() { // vendor — DataTable/TabulatorTable inject Tabulator from assetsBase at runtime. 'vendor/tabulator/tabulator.min.js', 'vendor/tabulator/tabulator.min.css', + // legacy sandbox — fetched by the upg-neighbor wrapper's iframe at runtime. + 'legacy/upg-neighbor/index.html', + 'legacy/upg-neighbor/upg-neighbor.iife.js', + 'legacy/upg-neighbor/maplibre-gl.js', + 'legacy/upg-neighbor/maplibre-gl.css', // vendor/vue — the GALLERY SHELL's own Vue (generate-gallery.mjs loadVue()), not a bundle's. // // ★ ADDED 2026-09-22, and it had never been staged. generate-gallery.mjs:542 requests diff --git a/plugin-designs/upg-neighbor/index.html b/plugin-designs/upg-neighbor/index.html new file mode 100644 index 000000000..f141d2fa3 --- /dev/null +++ b/plugin-designs/upg-neighbor/index.html @@ -0,0 +1,18 @@ + + + + + + upg-neighbor (dev) + + + + + + + + diff --git a/plugin-designs/upg-neighbor/index.js b/plugin-designs/upg-neighbor/index.js new file mode 100644 index 000000000..6d23b6bf0 --- /dev/null +++ b/plugin-designs/upg-neighbor/index.js @@ -0,0 +1,6 @@ +import { defineCustomElement } from 'vue' +import UpgNeighbor from './upg-neighbor.vue' + +// One tag, three preset instances (see upg-neighbor.instances.json) — the standard cap-2 shape. +const El = defineCustomElement(UpgNeighbor) +if (!customElements.get('upg-neighbor')) customElements.define('upg-neighbor', El) diff --git a/plugin-designs/upg-neighbor/upg-neighbor.instances.json b/plugin-designs/upg-neighbor/upg-neighbor.instances.json new file mode 100644 index 000000000..61c58df2c --- /dev/null +++ b/plugin-designs/upg-neighbor/upg-neighbor.instances.json @@ -0,0 +1,46 @@ +{ + "//": "Five preset renders of the legacy-wrapper profile -- one per legacy map rescued by the experimental roundup (EXPERIMENTAL-MAPS-ROUNDUP.md). props follow the cap-2 instances contract (props, not config -- measured: config was silently dropped from BASE_CONFIG and every instance page rendered the default send-map).", + "profile": "upg-neighbor", + "instances": [ + { + "id": "send-map", + "title": "Send Map (legacy)", + "props": { + "legacyElement": "send-map", + "legacyTitle": "Send Map" + } + }, + { + "id": "upg-neighbors", + "title": "UPG Neighbors (legacy)", + "props": { + "legacyElement": "upg-neighbors", + "legacyTitle": "UPG Neighbors" + } + }, + { + "id": "lang-cluster", + "title": "Language Clusters (legacy)", + "props": { + "legacyElement": "lang-cluster", + "legacyTitle": "Language Clusters" + } + }, + { + "id": "bloom-cockpit", + "title": "Bloom Cockpit (legacy)", + "props": { + "legacyElement": "bloom-cockpit", + "legacyTitle": "Bloom Cockpit" + } + }, + { + "id": "flower-mesh", + "title": "Flower Mesh (legacy)", + "props": { + "legacyElement": "flower-mesh", + "legacyTitle": "Flower Mesh" + } + } + ] +} \ No newline at end of file diff --git a/plugin-designs/upg-neighbor/upg-neighbor.vue b/plugin-designs/upg-neighbor/upg-neighbor.vue new file mode 100644 index 000000000..d507c85ea --- /dev/null +++ b/plugin-designs/upg-neighbor/upg-neighbor.vue @@ -0,0 +1,56 @@ + + + diff --git a/public/assets/legacy/upg-neighbor/index.html b/public/assets/legacy/upg-neighbor/index.html new file mode 100644 index 000000000..d909579ce --- /dev/null +++ b/public/assets/legacy/upg-neighbor/index.html @@ -0,0 +1,75 @@ + + + + + + legacy map host + + + +
+ + + diff --git a/public/assets/legacy/upg-neighbor/maplibre-gl.css b/public/assets/legacy/upg-neighbor/maplibre-gl.css new file mode 100644 index 000000000..6b4bfda74 --- /dev/null +++ b/public/assets/legacy/upg-neighbor/maplibre-gl.css @@ -0,0 +1 @@ +.maplibregl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgb(0 0 0/0)}.maplibregl-canvas{left:0;position:absolute;top:0}.maplibregl-map:fullscreen{height:100%;width:100%}.maplibregl-ctrl-group button.maplibregl-ctrl-compass{touch-action:none}.maplibregl-canvas-container.maplibregl-interactive,.maplibregl-ctrl-group button.maplibregl-ctrl-compass{cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none}.maplibregl-canvas-container.maplibregl-interactive.maplibregl-track-pointer{cursor:pointer}.maplibregl-canvas-container.maplibregl-interactive:active,.maplibregl-ctrl-group button.maplibregl-ctrl-compass:active{cursor:grabbing}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-canvas-container.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:pinch-zoom}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:none}.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures,.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-ctrl-bottom-left,.maplibregl-ctrl-bottom-right,.maplibregl-ctrl-top-left,.maplibregl-ctrl-top-right{pointer-events:none;position:absolute;z-index:2}.maplibregl-ctrl-top-left{left:0;top:0}.maplibregl-ctrl-top-right{right:0;top:0}.maplibregl-ctrl-bottom-left{bottom:0;left:0}.maplibregl-ctrl-bottom-right{bottom:0;right:0}.maplibregl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.maplibregl-ctrl-top-left .maplibregl-ctrl{float:left;margin:10px 0 0 10px}.maplibregl-ctrl-top-right .maplibregl-ctrl{float:right;margin:10px 10px 0 0}.maplibregl-ctrl-bottom-left .maplibregl-ctrl{float:left;margin:0 0 10px 10px}.maplibregl-ctrl-bottom-right .maplibregl-ctrl{float:right;margin:0 10px 10px 0}.maplibregl-ctrl-group{background:#fff;border-radius:4px}.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px rgba(0,0,0,.1)}@media (forced-colors:active){.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.maplibregl-ctrl-group button{background-color:transparent;border:0;box-sizing:border-box;cursor:pointer;display:block;height:29px;outline:none;padding:0;width:29px}.maplibregl-ctrl-group button+button{border-top:1px solid #ddd}.maplibregl-ctrl button .maplibregl-ctrl-icon{background-position:50%;background-repeat:no-repeat;display:block;height:100%;width:100%}@media (forced-colors:active){.maplibregl-ctrl-icon{background-color:transparent}.maplibregl-ctrl-group button+button{border-top:1px solid ButtonText}}.maplibregl-ctrl button::-moz-focus-inner{border:0;padding:0}.maplibregl-ctrl-attrib-button:focus,.maplibregl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl button:disabled{cursor:not-allowed}.maplibregl-ctrl button:disabled .maplibregl-ctrl-icon{opacity:.25}@media (hover:hover){.maplibregl-ctrl button:not(:disabled):hover{background-color:rgba(0,0,0,.05)}}.maplibregl-ctrl button:not(:disabled):active{background-color:rgba(0,0,0,.05)}.maplibregl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.maplibregl-ctrl-group button:focus:first-child{border-radius:4px 4px 0 0}.maplibregl-ctrl-group button:focus:last-child{border-radius:0 0 4px 4px}.maplibregl-ctrl-group button:focus:only-child{border-radius:inherit}.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-globe .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='none' stroke='%23333' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='8.5'/%3E%3Cpath d='M17.5 11c0 4.819-3.02 8.5-6.5 8.5S4.5 15.819 4.5 11 7.52 2.5 11 2.5s6.5 3.681 6.5 8.5Z'/%3E%3Cpath d='M13.5 11c0 2.447-.331 4.64-.853 6.206-.262.785-.562 1.384-.872 1.777-.314.399-.58.517-.775.517s-.461-.118-.775-.517c-.31-.393-.61-.992-.872-1.777C8.831 15.64 8.5 13.446 8.5 11s.331-4.64.853-6.206c.262-.785.562-1.384.872-1.777.314-.399.58-.517.775-.517s.461.118.775.517c.31.393.61.992.872 1.777.522 1.565.853 3.76.853 6.206Z'/%3E%3Cpath d='M11 7.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138q.07-.058.224-.138c.299-.151.763-.302 1.379-.434C7.378 5.666 9.091 5.5 11 5.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138q-.07.058-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428ZM4.486 6.436ZM11 16.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138 1.3 1.3 0 0 1 .224-.138c.299-.151.763-.302 1.379-.434C7.378 14.666 9.091 14.5 11 14.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138a1.3 1.3 0 0 1-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428Zm-6.514-1.064ZM11 12.5c-2.46 0-4.672-.222-6.255-.574-.796-.177-1.406-.38-1.805-.59a1.5 1.5 0 0 1-.39-.272.3.3 0 0 1-.047-.064.3.3 0 0 1 .048-.064c.066-.073.189-.167.389-.272.399-.21 1.009-.413 1.805-.59C6.328 9.722 8.54 9.5 11 9.5s4.672.222 6.256.574c.795.177 1.405.38 1.804.59.2.105.323.2.39.272a.3.3 0 0 1 .047.064.3.3 0 0 1-.048.064 1.4 1.4 0 0 1-.389.272c-.399.21-1.009.413-1.804.59-1.584.352-3.796.574-6.256.574Zm-8.501-1.51v.002zm0 .018v.002zm17.002.002v-.002zm0-.018v-.002z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-globe-enabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='none' stroke='%2333b5e5' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='8.5'/%3E%3Cpath d='M17.5 11c0 4.819-3.02 8.5-6.5 8.5S4.5 15.819 4.5 11 7.52 2.5 11 2.5s6.5 3.681 6.5 8.5Z'/%3E%3Cpath d='M13.5 11c0 2.447-.331 4.64-.853 6.206-.262.785-.562 1.384-.872 1.777-.314.399-.58.517-.775.517s-.461-.118-.775-.517c-.31-.393-.61-.992-.872-1.777C8.831 15.64 8.5 13.446 8.5 11s.331-4.64.853-6.206c.262-.785.562-1.384.872-1.777.314-.399.58-.517.775-.517s.461.118.775.517c.31.393.61.992.872 1.777.522 1.565.853 3.76.853 6.206Z'/%3E%3Cpath d='M11 7.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138q.07-.058.224-.138c.299-.151.763-.302 1.379-.434C7.378 5.666 9.091 5.5 11 5.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138q-.07.058-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428ZM4.486 6.436ZM11 16.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138 1.3 1.3 0 0 1 .224-.138c.299-.151.763-.302 1.379-.434C7.378 14.666 9.091 14.5 11 14.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138a1.3 1.3 0 0 1-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428Zm-6.514-1.064ZM11 12.5c-2.46 0-4.672-.222-6.255-.574-.796-.177-1.406-.38-1.805-.59a1.5 1.5 0 0 1-.39-.272.3.3 0 0 1-.047-.064.3.3 0 0 1 .048-.064c.066-.073.189-.167.389-.272.399-.21 1.009-.413 1.805-.59C6.328 9.722 8.54 9.5 11 9.5s4.672.222 6.256.574c.795.177 1.405.38 1.804.59.2.105.323.2.39.272a.3.3 0 0 1 .047.064.3.3 0 0 1-.048.064 1.4 1.4 0 0 1-.389.272c-.399.21-1.009.413-1.804.59-1.584.352-3.796.574-6.256.574Zm-8.501-1.51v.002zm0 .018v.002zm17.002.002v-.002zm0-.018v-.002z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-terrain .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='%23333' viewBox='0 0 22 22'%3E%3Cpath d='m1.754 13.406 4.453-4.851 3.09 3.09 3.281 3.277.969-.969-3.309-3.312 3.844-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-terrain-enabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='%2333b5e5' viewBox='0 0 22 22'%3E%3Cpath d='m1.754 13.406 4.453-4.851 3.09 3.09 3.281 3.277.969-.969-3.309-3.312 3.844-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23aaa' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e58978' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e54e33' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-waiting .maplibregl-ctrl-icon{animation:maplibregl-spin 2s linear infinite}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23999' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e58978' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e54e33' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23666' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}}@keyframes maplibregl-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}a.maplibregl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;cursor:pointer;display:block;height:23px;margin:0 0 -4px -4px;overflow:hidden;width:88px}a.maplibregl-ctrl-logo.maplibregl-compact{width:14px}@media (forced-colors:active){a.maplibregl-ctrl-logo{background-color:transparent;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){a.maplibregl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E")}}.maplibregl-ctrl.maplibregl-ctrl-attrib{background-color:hsla(0,0%,100%,.5);margin:0;padding:0 5px}@media screen{.maplibregl-ctrl-attrib.maplibregl-compact{background-color:#fff;border-radius:12px;box-sizing:content-box;color:#000;margin:10px;min-height:20px;padding:2px 24px 2px 0;position:relative}.maplibregl-ctrl-attrib.maplibregl-compact-show{padding:2px 28px 2px 8px;visibility:visible}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact-show,.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact-show{border-radius:12px;padding:2px 8px 2px 28px}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-inner{display:none}.maplibregl-ctrl-attrib-button{background-color:hsla(0,0%,100%,.5);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E");border:0;border-radius:12px;box-sizing:border-box;cursor:pointer;display:none;height:24px;outline:none;position:absolute;right:0;top:0;width:24px}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;list-style:none}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button::-webkit-details-marker{display:none}.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-top-left .maplibregl-ctrl-attrib-button{left:0}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-inner{display:block}.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-button{background-color:rgba(0,0,0,.05)}.maplibregl-ctrl-bottom-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;right:0}.maplibregl-ctrl-top-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{right:0;top:0}.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{left:0;top:0}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;left:0}}@media screen and (forced-colors:active){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='%23fff' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}@media screen and (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}.maplibregl-ctrl-attrib a{color:rgba(0,0,0,.75);text-decoration:none}.maplibregl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.maplibregl-attrib-empty{display:none}.maplibregl-ctrl-scale{background-color:hsla(0,0%,100%,.75);border:2px solid #333;border-top:#333;box-sizing:border-box;color:#333;font-size:10px;padding:0 5px;white-space:nowrap}.maplibregl-popup{display:flex;left:0;pointer-events:none;position:absolute;top:0;will-change:transform}.maplibregl-popup-anchor-top,.maplibregl-popup-anchor-top-left,.maplibregl-popup-anchor-top-right{flex-direction:column}.maplibregl-popup-anchor-bottom,.maplibregl-popup-anchor-bottom-left,.maplibregl-popup-anchor-bottom-right{flex-direction:column-reverse}.maplibregl-popup-anchor-left{flex-direction:row}.maplibregl-popup-anchor-right{flex-direction:row-reverse}.maplibregl-popup-tip{border:10px solid transparent;height:0;width:0;z-index:1}.maplibregl-popup-anchor-top .maplibregl-popup-tip{align-self:center;border-bottom-color:#fff;border-top:none}.maplibregl-popup-anchor-top-left .maplibregl-popup-tip{align-self:flex-start;border-bottom-color:#fff;border-left:none;border-top:none}.maplibregl-popup-anchor-top-right .maplibregl-popup-tip{align-self:flex-end;border-bottom-color:#fff;border-right:none;border-top:none}.maplibregl-popup-anchor-bottom .maplibregl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip{align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.maplibregl-popup-anchor-left .maplibregl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.maplibregl-popup-anchor-right .maplibregl-popup-tip{align-self:center;border-left-color:#fff;border-right:none}[dir=rtl] .maplibregl-popup-anchor-left{flex-direction:row-reverse}[dir=rtl] .maplibregl-popup-anchor-right{flex-direction:row}[dir=rtl] .maplibregl-popup-anchor-top-left .maplibregl-popup-tip{align-self:flex-end}[dir=rtl] .maplibregl-popup-anchor-top-right .maplibregl-popup-tip{align-self:flex-start}[dir=rtl] .maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip{align-self:flex-end}[dir=rtl] .maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{align-self:flex-start}.maplibregl-popup-close-button{background-color:transparent;border:0;border-radius:0 3px 0 0;cursor:pointer;position:absolute;right:0;top:0}.maplibregl-popup-close-button:hover{background-color:rgba(0,0,0,.05)}.maplibregl-popup-content{background:#fff;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.1);padding:15px 10px;pointer-events:auto;position:relative}.maplibregl-popup-anchor-top-left .maplibregl-popup-content{border-top-left-radius:0}.maplibregl-popup-anchor-top-right .maplibregl-popup-content{border-top-right-radius:0}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-content{border-bottom-left-radius:0}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-content{border-bottom-right-radius:0}.maplibregl-popup-track-pointer{display:none}.maplibregl-popup-track-pointer *{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.maplibregl-map:hover .maplibregl-popup-track-pointer{display:flex}.maplibregl-map:active .maplibregl-popup-track-pointer{display:none}.maplibregl-marker{left:0;position:absolute;top:0;transition:opacity .2s;will-change:transform}.maplibregl-user-location-dot,.maplibregl-user-location-dot:before{background-color:#1da1f2;border-radius:50%;height:15px;width:15px}.maplibregl-user-location-dot:before{animation:maplibregl-user-location-dot-pulse 2s infinite;content:"";position:absolute}.maplibregl-user-location-dot:after{border:2px solid #fff;border-radius:50%;box-shadow:0 0 3px rgba(0,0,0,.35);box-sizing:border-box;content:"";height:19px;left:-2px;position:absolute;top:-2px;width:19px}@media (prefers-reduced-motion:reduce){.maplibregl-user-location-dot:before{animation:none}}@keyframes maplibregl-user-location-dot-pulse{0%{opacity:1;transform:scale(1)}70%{opacity:0;transform:scale(3)}to{opacity:0;transform:scale(1)}}.maplibregl-user-location-dot-stale{background-color:#aaa}.maplibregl-user-location-dot-stale:after{display:none}.maplibregl-user-location-accuracy-circle{background-color:#1da1f233;border-radius:100%;height:1px;width:1px}.maplibregl-crosshair,.maplibregl-crosshair .maplibregl-interactive,.maplibregl-crosshair .maplibregl-interactive:active{cursor:crosshair}.maplibregl-boxzoom{background:#fff;border:2px dotted #202020;height:0;left:0;opacity:.5;position:absolute;top:0;width:0}.maplibregl-cooperative-gesture-screen{align-items:center;background:rgba(0,0,0,.4);color:#fff;display:flex;font-size:1.4em;inset:0;justify-content:center;line-height:1.2;opacity:0;padding:1rem;pointer-events:none;position:absolute;transition:opacity 1s ease 1s;z-index:99999}.maplibregl-cooperative-gesture-screen.maplibregl-show{opacity:1;transition:opacity .05s}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:none}@media (hover:none),(pointer:coarse){.maplibregl-cooperative-gesture-screen .maplibregl-desktop-message{display:none}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:block}}.maplibregl-pseudo-fullscreen{height:100%!important;left:0!important;position:fixed!important;top:0!important;width:100%!important;z-index:99999} \ No newline at end of file diff --git a/public/assets/legacy/upg-neighbor/maplibre-gl.js b/public/assets/legacy/upg-neighbor/maplibre-gl.js new file mode 100644 index 000000000..c5acb688e --- /dev/null +++ b/public/assets/legacy/upg-neighbor/maplibre-gl.js @@ -0,0 +1,59 @@ +/** + * MapLibre GL JS + * @license 3-Clause BSD. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v5.24.0/LICENSE.txt + */ +(function (global, factory) { +typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : +typeof define === 'function' && define.amd ? define(factory) : +(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.maplibregl = factory()); +})(this, (function () { 'use strict'; + +/* eslint-disable */ + +var maplibregl = {}; +var modules = {}; +function define(moduleName, _dependencies, moduleFactory) { + modules[moduleName] = moduleFactory; + + // to get the list of modules see generated dist/maplibre-gl-dev.js file (look for `define(` calls) + if (moduleName !== 'index') { + return; + } + + // we assume that when an index module is initializing then other modules are loaded already + var workerBundleString = 'var sharedModule = {}; (' + modules.shared + ')(sharedModule); (' + modules.worker + ')(sharedModule);' + + var sharedModule = {}; + // the order of arguments of a module factory depends on rollup (it decides who is whose dependency) + // to check the correct order, see dist/maplibre-gl-dev.js file (look for `define(` calls) + // we assume that for our 3 chunks it will generate 3 modules and their order is predefined like the following + modules.shared(sharedModule); + modules.index(maplibregl, sharedModule); + + if (typeof window !== 'undefined') { + maplibregl.setWorkerUrl(window.URL.createObjectURL(new Blob([workerBundleString], { type: 'text/javascript' }))); + } + + return maplibregl; +}; + + + +define("shared",["exports"],(function(t){"use strict";function e(t,e,n,r){return new(n||(n=Promise))((function(i,s){function o(t){try{l(r.next(t));}catch(t){s(t);}}function a(t){try{l(r.throw(t));}catch(t){s(t);}}function l(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e);}))).then(o,a);}l((r=r.apply(t,e||[])).next());}))}function n(t,e){this.x=t,this.y=e;}function r(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var i,s;"function"==typeof SuppressedError&&SuppressedError,n.prototype={clone(){return new n(this.x,this.y)},add(t){return this.clone()._add(t)},sub(t){return this.clone()._sub(t)},multByPoint(t){return this.clone()._multByPoint(t)},divByPoint(t){return this.clone()._divByPoint(t)},mult(t){return this.clone()._mult(t)},div(t){return this.clone()._div(t)},rotate(t){return this.clone()._rotate(t)},rotateAround(t,e){return this.clone()._rotateAround(t,e)},matMult(t){return this.clone()._matMult(t)},unit(){return this.clone()._unit()},perp(){return this.clone()._perp()},round(){return this.clone()._round()},mag(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals(t){return this.x===t.x&&this.y===t.y},dist(t){return Math.sqrt(this.distSqr(t))},distSqr(t){const e=t.x-this.x,n=t.y-this.y;return e*e+n*n},angle(){return Math.atan2(this.y,this.x)},angleTo(t){return Math.atan2(this.y-t.y,this.x-t.x)},angleWith(t){return this.angleWithSep(t.x,t.y)},angleWithSep(t,e){return Math.atan2(this.x*e-this.y*t,this.x*t+this.y*e)},_matMult(t){const e=t[2]*this.x+t[3]*this.y;return this.x=t[0]*this.x+t[1]*this.y,this.y=e,this},_add(t){return this.x+=t.x,this.y+=t.y,this},_sub(t){return this.x-=t.x,this.y-=t.y,this},_mult(t){return this.x*=t,this.y*=t,this},_div(t){return this.x/=t,this.y/=t,this},_multByPoint(t){return this.x*=t.x,this.y*=t.y,this},_divByPoint(t){return this.x/=t.x,this.y/=t.y,this},_unit(){return this._div(this.mag()),this},_perp(){const t=this.y;return this.y=this.x,this.x=-t,this},_rotate(t){const e=Math.cos(t),n=Math.sin(t),r=n*this.x+e*this.y;return this.x=e*this.x-n*this.y,this.y=r,this},_rotateAround(t,e){const n=Math.cos(t),r=Math.sin(t),i=e.y+r*(this.x-e.x)+n*(this.y-e.y);return this.x=e.x+n*(this.x-e.x)-r*(this.y-e.y),this.y=i,this},_round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},constructor:n},n.convert=function(t){if(t instanceof n)return t;if(Array.isArray(t))return new n(+t[0],+t[1]);if(void 0!==t.x&&void 0!==t.y)return new n(+t.x,+t.y);throw new Error("Expected [x, y] or {x, y} point format")};var o=function(){if(s)return i;function t(t,e,n,r){this.cx=3*t,this.bx=3*(n-t)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(r-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=t,this.p1y=e,this.p2x=n,this.p2y=r;}return s=1,i=t,t.prototype={sampleCurveX:function(t){return ((this.ax*t+this.bx)*t+this.cx)*t},sampleCurveY:function(t){return ((this.ay*t+this.by)*t+this.cy)*t},sampleCurveDerivativeX:function(t){return (3*this.ax*t+2*this.bx)*t+this.cx},solveCurveX:function(t,e){if(void 0===e&&(e=1e-6),t<0)return 0;if(t>1)return 1;for(var n=t,r=0;r<8;r++){var i=this.sampleCurveX(n)-t;if(Math.abs(i)i?o=n:a=n,n=.5*(a-o)+o;return n},solve:function(t,e){return this.sampleCurveY(this.solveCurveX(t,e))}},i}(),a=r(o);let l,u;function c(){return null!=l||(l="undefined"!=typeof OffscreenCanvas&&new OffscreenCanvas(1,1).getContext("2d")&&"function"==typeof createImageBitmap),l}function h(){if(null==u&&(u=!1,c())){const t=5,e=new OffscreenCanvas(t,t).getContext("2d",{willReadFrequently:!0});if(e){for(let n=0;n4&&void 0!==arguments[4]?arguments[4]:"zyx",s=Math.PI/360;e*=s,r*=s,n*=s;var o=Math.sin(e),a=Math.cos(e),l=Math.sin(n),u=Math.cos(n),c=Math.sin(r),h=Math.cos(r);switch(i){case "xyz":t[0]=o*u*h+a*l*c,t[1]=a*l*h-o*u*c,t[2]=a*u*c+o*l*h,t[3]=a*u*h-o*l*c;break;case "xzy":t[0]=o*u*h-a*l*c,t[1]=a*l*h-o*u*c,t[2]=a*u*c+o*l*h,t[3]=a*u*h+o*l*c;break;case "yxz":t[0]=o*u*h+a*l*c,t[1]=a*l*h-o*u*c,t[2]=a*u*c-o*l*h,t[3]=a*u*h+o*l*c;break;case "yzx":t[0]=o*u*h+a*l*c,t[1]=a*l*h+o*u*c,t[2]=a*u*c-o*l*h,t[3]=a*u*h-o*l*c;break;case "zxy":t[0]=o*u*h-a*l*c,t[1]=a*l*h+o*u*c,t[2]=a*u*c+o*l*h,t[3]=a*u*h-o*l*c;break;case "zyx":t[0]=o*u*h-a*l*c,t[1]=a*l*h+o*u*c,t[2]=a*u*c-o*l*h,t[3]=a*u*h+o*l*c;break;default:throw new Error("Unknown angle order "+i)}return t}function I(){var t=new f(2);return f!=Float32Array&&(t[0]=0,t[1]=0),t}function E(t,e){var n=new f(2);return n[0]=t,n[1]=e,n}m(),_=new f(4),f!=Float32Array&&(_[0]=0,_[1]=0,_[2]=0,_[3]=0),m(),x(1,0,0),x(0,1,0),M(),M(),d(),I();const T=8192;function F(t,e,n){return e*(T/(t.tileSize*Math.pow(2,n-t.tileID.overscaledZ)))}function P(t){return t instanceof Error?t:new Error("string"==typeof t?t:String(t))}function D(t,e){return (t%e+e)%e}function z(t,e,n){return t*(1-n)+e*n}function B(t){if(t<=0)return 0;if(t>=1)return 1;const e=t*t,n=e*t;return 4*(t<.5?n:3*(t-e)+n-.75)}function C(t,e,n,r){const i=new a(t,e,n,r);return t=>i.solve(t)}const V=C(.25,.1,.25,1);function L(t,e,n){return Math.min(n,Math.max(e,t))}function O(t,e,n){const r=n-e,i=((t-e)%r+r)%r+e;return i===e?n:i}function $(t,...e){for(const n of e)for(const e in n)t[e]=n[e];return t}let R=1;function N(t,e,n){const r={};for(const n in t)r[n]=e.call(this,t[n],n,t);return r}function U(t,e,n){const r={};for(const n in t)e.call(this,t[n],n,t)&&(r[n]=t[n]);return r}function j(t){return Array.isArray(t)?t.map(j):"object"==typeof t&&t?N(t,j):t}const q={};function G(t){q[t]||("undefined"!=typeof console&&console.warn(t),q[t]=!0);}function X(t,e,n){return (n.y-t.y)*(e.x-t.x)>(e.y-t.y)*(n.x-t.x)}function Y(t){return "undefined"!=typeof WorkerGlobalScope&&void 0!==t&&t instanceof WorkerGlobalScope}let Z=null;function H(t){return "undefined"!=typeof ImageBitmap&&t instanceof ImageBitmap}const W="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";function K(t,n,r,i,s){return e(this,void 0,void 0,(function*(){if("undefined"==typeof VideoFrame)throw new Error("VideoFrame not supported");const e=new VideoFrame(t,{timestamp:0});try{const o=null==e?void 0:e.format;if(!o||!o.startsWith("BGR")&&!o.startsWith("RGB"))throw new Error(`Unrecognized format ${o}`);const a=o.startsWith("BGR"),l=new Uint8ClampedArray(i*s*4);if(yield e.copyTo(l,function(t,e,n,r,i){const s=4*Math.max(-e,0),o=(Math.max(0,n)-n)*r*4+s,a=4*r,l=Math.max(0,e),u=Math.max(0,n);return {rect:{x:l,y:u,width:Math.min(t.width,e+r)-l,height:Math.min(t.height,n+i)-u},layout:[{offset:o,stride:a}]}}(t,n,r,i,s)),a)for(let t=0;t{t.removeEventListener(e,n,r);}}}function et(t){return t*Math.PI/180}function nt(t){return t/Math.PI*180}const rt={touchstart:!0,touchmove:!0,touchmoveWindow:!0,touchend:!0,touchcancel:!0},it={dblclick:!0,click:!0,mouseover:!0,mouseout:!0,mousedown:!0,mousemove:!0,mousemoveWindow:!0,mouseup:!0,mouseupWindow:!0,contextmenu:!0,wheel:!0},st="AbortError";class ot extends Error{constructor(t=st){super(t instanceof Error?t.message:t),this.name=st,t instanceof Error&&t.stack&&(this.stack=t.stack);}}function at(t){return t instanceof Error&&t.name===st}function lt(t){if(t.aborted)throw new ot(t.reason)}const ut={MAX_PARALLEL_IMAGE_REQUESTS:16,MAX_PARALLEL_IMAGE_REQUESTS_PER_FRAME:8,MAX_TILE_CACHE_ZOOM_LEVELS:5,REGISTERED_PROTOCOLS:{},WORKER_URL:""};function ct(t){return ut.REGISTERED_PROTOCOLS[t.substring(0,t.indexOf("://"))]}const ht="global-dispatcher";class pt extends Error{constructor(t,e,n,r){super(`AJAXError: ${e} (${t}): ${n}`),this.status=t,this.statusText=e,this.url=n,this.body=r;}}const ft=()=>{var t;return Y(self)?null===(t=self.worker)||void 0===t?void 0:t.referrer:("blob:"===window.location.protocol?window.parent:window).location.href},dt=function(t,n){return e(this,void 0,void 0,(function*(){var r,i;if(t.url.includes("://")&&!/^https?:|^file:/.test(t.url)){const e=ct(t.url);if(e){const r=yield e(t,n);return r.data||"arrayBuffer"!==t.type?r:$(r,{data:new ArrayBuffer(0)})}if(Y(self)&&(null===(r=self.worker)||void 0===r?void 0:r.actor))return self.worker.actor.sendAsync({type:"GR",data:t,targetMapId:ht},n)}if(!(t=>{var e;return t.startsWith("file:")||(null===(e=ft())||void 0===e?void 0:e.startsWith("file:"))&&!/^\w+:/.test(t)})(t.url)){if(fetch&&Request&&AbortController&&Object.hasOwn(Request.prototype,"signal"))return function(t,n){return e(this,void 0,void 0,(function*(){const e=new Request(t.url,{method:t.method||"GET",body:t.body,credentials:t.credentials,headers:t.headers,cache:t.cache,referrer:ft(),referrerPolicy:t.referrerPolicy,signal:n.signal});let r,i;"json"!==t.type||e.headers.has("Accept")||e.headers.set("Accept","application/json");try{r=yield fetch(e);}catch(e){if(at(e))throw e;throw new pt(0,P(e).message,t.url,new Blob)}if(!r.ok){const e=yield r.blob();throw new pt(r.status,r.statusText,t.url,e)}i="arrayBuffer"===t.type||"image"===t.type?r.arrayBuffer():"json"===t.type?r.json():r.text();const s=yield i;return lt(n.signal),{data:s,cacheControl:r.headers.get("Cache-Control"),expires:r.headers.get("Expires"),etag:r.headers.get("ETag")}}))}(t,n);if(Y(self)&&(null===(i=self.worker)||void 0===i?void 0:i.actor))return self.worker.actor.sendAsync({type:"GR",data:t,mustQueue:!0,targetMapId:ht},n)}return function(t,e){return new Promise(((n,r)=>{var i;const s=new XMLHttpRequest;s.open(t.method||"GET",t.url,!0),"arrayBuffer"!==t.type&&"image"!==t.type||(s.responseType="arraybuffer");for(const e in t.headers)s.setRequestHeader(e,t.headers[e]);"json"===t.type&&(s.responseType="text",(null===(i=t.headers)||void 0===i?void 0:i.Accept)||s.setRequestHeader("Accept","application/json")),s.withCredentials="include"===t.credentials,s.onerror=()=>{r(new Error(s.statusText));},s.onload=()=>{if(!e.signal.aborted)if((s.status>=200&&s.status<300||0===s.status)&&null!==s.response){let e=s.response;if("json"===t.type)try{e=JSON.parse(s.response);}catch(t){return void r(t)}n({data:e,cacheControl:s.getResponseHeader("Cache-Control"),expires:s.getResponseHeader("Expires"),etag:s.getResponseHeader("ETag")});}else {const e=new Blob([s.response],{type:s.getResponseHeader("Content-Type")});r(new pt(s.status,s.statusText,t.url,e));}},e.signal.addEventListener("abort",(()=>{s.abort(),r(new ot(e.signal.reason));})),s.send(t.body);}))}(t,n)}))};function yt(t){if(!t||t.indexOf("://")<=0||t.startsWith("data:image/")||t.startsWith("blob:"))return !0;const e=new URL(t),n=window.location;return e.protocol===n.protocol&&e.host===n.host}function mt(t,e,n){var r;(null===(r=n[t])||void 0===r?void 0:r.includes(e))||(n[t]||(n[t]=[]),n[t].push(e));}function gt(t,e,n){if(null==n?void 0:n[t]){const r=n[t].indexOf(e);-1!==r&&n[t].splice(r,1);}}class xt{constructor(t,e={}){$(this,e),this.type=t;}}class vt extends xt{constructor(t,e={}){super("error",$({error:t},e));}}class bt{on(t,e){return this._listeners||(this._listeners={}),mt(t,e,this._listeners),{unsubscribe:()=>{this.off(t,e);}}}off(t,e){return gt(t,e,this._listeners),gt(t,e,this._oneTimeListeners),this}once(t,e){return e?(this._oneTimeListeners||(this._oneTimeListeners={}),mt(t,e,this._oneTimeListeners),this):new Promise((e=>this.once(t,e)))}fire(t,e){var n,r;"string"==typeof t&&(t=new xt(t,e||{}));const i=t.type;if(this.listens(i)){t.target=this;const e=(null===(n=this._listeners)||void 0===n?void 0:n[i])?this._listeners[i].slice():[];for(const n of e)n.call(this,t);const s=(null===(r=this._oneTimeListeners)||void 0===r?void 0:r[i])?this._oneTimeListeners[i].slice():[];for(const e of s)gt(i,e,this._oneTimeListeners),e.call(this,t);const o=this._eventedParent;o&&($(t,"function"==typeof this._eventedParentData?this._eventedParentData():this._eventedParentData),o.fire(t));}else t instanceof vt&&console.error(t.error);return this}listens(t){var e,n,r,i,s;return (null===(n=null===(e=this._listeners)||void 0===e?void 0:e[t])||void 0===n?void 0:n.length)>0||(null===(i=null===(r=this._oneTimeListeners)||void 0===r?void 0:r[t])||void 0===i?void 0:i.length)>0||(null===(s=this._eventedParent)||void 0===s?void 0:s.listens(t))}setEventedParent(t,e){return this._eventedParent=t,this._eventedParentData=e,this}}var wt={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number",length:2},centerAltitude:{type:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},roll:{type:"number",default:0,units:"degrees"},state:{type:"state",default:{}},light:{type:"light"},sky:{type:"sky"},projection:{type:"projection"},terrain:{type:"terrain"},sources:{required:!0,type:"sources"},sprite:{type:"sprite"},glyphs:{type:"string"},"font-faces":{type:"fontFaces"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},volatile:{type:"boolean",default:!1},encoding:{type:"enum",values:{mvt:{},mlt:{}},default:"mvt"},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{},custom:{}},default:"mapbox"},redFactor:{type:"number",default:1},blueFactor:{type:"number",default:1},greenFactor:{type:"number",default:1},baseShift:{type:"number",default:0},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{required:!0,type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},filter:{type:"filter"},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterMinPoints:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},"color-relief":{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_color-relief","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image",{"!":"icon-overlap"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-overlap":{type:"enum",values:{never:{},always:{},cooperative:{}},requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"padding",default:[2],units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},"viewport-glyph":{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-variable-anchor-offset":{type:"variableAnchorOffsetCollection",requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field",{"!":"text-overlap"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-overlap":{type:"enum",values:{never:{},always:{},cooperative:{}},requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},"layout_color-relief":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},filter:{type:"boolean",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"expression_name",minimum:1},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},sky:{"sky-color":{type:"color","property-type":"data-constant",default:"#88C6FC",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"horizon-color":{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"fog-color":{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"fog-ground-blend":{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"horizon-fog-blend":{type:"number","property-type":"data-constant",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"sky-horizon-blend":{type:"number","property-type":"data-constant",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"atmosphere-blend":{type:"number","property-type":"data-constant",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},terrain:{source:{type:"string",required:!0},exaggeration:{type:"number",minimum:0,default:1}},projection:{type:{type:"projectionDefinition",default:"mercator","property-type":"data-constant",transition:!1,expression:{interpolated:!0,parameters:["zoom"]}}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_color-relief","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},resampling:{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"numberArray",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-altitude":{type:"numberArray",default:45,minimum:0,maximum:90,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"colorArray",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"colorArray",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-method":{type:"enum",values:{standard:{},basic:{},combined:{},igor:{},multidirectional:{}},default:"standard",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},resampling:{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},"paint_color-relief":{"color-relief-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"color-relief-color":{type:"color",transition:!1,expression:{interpolated:!0,parameters:["elevation"]},"property-type":"color-ramp"},resampling:{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:{"*":{type:"string"}},interpolation:{type:"array",value:"interpolation_name",minimum:1},interpolation_name:{type:"enum",values:{linear:{syntax:{overloads:[{parameters:[],"output-type":"interpolation"}],parameters:[]}},exponential:{syntax:{overloads:[{parameters:["base"],"output-type":"interpolation"}],parameters:[{name:"base",type:"number literal"}]}},"cubic-bezier":{syntax:{overloads:[{parameters:["x1","y1","x2","y2"],"output-type":"interpolation"}],parameters:[{name:"x1",type:"number literal"},{name:"y1",type:"number literal"},{name:"x2",type:"number literal"},{name:"y2",type:"number literal"}]}}}}};const _t=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function St(t,e){const n={};for(const e in t)"ref"!==e&&(n[e]=t[e]);return _t.forEach((t=>{t in e&&(n[t]=e[t]);})),n}function At(t,e){if(Array.isArray(t)){if(!Array.isArray(e)||t.length!==e.length)return !1;for(let n=0;n`:"value"===t.itemType.kind?"array":`array<${e}>`}return t.kind}const te=[Lt,Ot,$t,Rt,Nt,Ut,Xt,jt,Jt(qt),Yt,Ht,Zt,Wt,Kt];function ee(t,e){if("error"===e.kind)return null;if("array"===t.kind){if("array"===e.kind&&(0===e.N&&"value"===e.itemType.kind||!ee(t.itemType,e.itemType))&&("number"!=typeof t.N||t.N===e.N))return null}else {if(t.kind===e.kind)return null;if("value"===t.kind)for(const t of te)if(!ee(t,e))return null}return `Expected ${Qt(t)} but found ${Qt(e)} instead.`}function ne(t,e){return e.some((e=>e.kind===t.kind))}function re(t,e){return e.some((e=>"null"===e?null===t:"array"===e?Array.isArray(t):"object"===e?t&&!Array.isArray(t)&&"object"==typeof t:e===typeof t))}function ie(t,e){return "array"===t.kind&&"array"===e.kind?t.itemType.kind===e.itemType.kind&&"number"==typeof t.N:t.kind===e.kind}const se=.96422,oe=.82521,ae=4/29,le=6/29,ue=3*le*le,ce=le*le*le,he=Math.PI/180,pe=180/Math.PI;function fe(t){return (t%=360)<0&&(t+=360),t}function de([t,e,n,r]){let i,s;const o=me((.2225045*(t=ye(t))+.7168786*(e=ye(e))+.0606169*(n=ye(n)))/1);t===e&&e===n?i=s=o:(i=me((.4360747*t+.3850649*e+.1430804*n)/se),s=me((.0139322*t+.0971045*e+.7141733*n)/oe));const a=116*o-16;return [a<0?0:a,500*(i-o),200*(o-s),r]}function ye(t){return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function me(t){return t>ce?Math.pow(t,1/3):t/ue+ae}function ge([t,e,n,r]){let i=(t+16)/116,s=isNaN(e)?i:i+e/500,o=isNaN(n)?i:i-n/200;return i=1*ve(i),s=se*ve(s),o=oe*ve(o),[xe(3.1338561*s-1.6168667*i-.4906146*o),xe(-.9787684*s+1.9161415*i+.033454*o),xe(.0719453*s-.2289914*i+1.4052427*o),r]}function xe(t){return (t=t<=.00304?12.92*t:1.055*Math.pow(t,1/2.4)-.055)<0?0:t>1?1:t}function ve(t){return t>le?t*t*t:ue*(t-ae)}const be=Object.hasOwn||function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};function we(t,e){return be(t,e)?t[e]:void 0}function _e(t){return parseInt(t.padEnd(2,t),16)/255}function Se(t,e){return Ae(e?t/100:t,0,1)}function Ae(t,e,n){return Math.min(Math.max(e,t),n)}function Me(t){return !t.some(Number.isNaN)}const ke={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};function Ie(t,e,n){return t+n*(e-t)}function Ee(t,e,n){return t.map(((t,r)=>Ie(t,e[r],n)))}class Te{constructor(t,e,n,r=1,i=!0){this.r=t,this.g=e,this.b=n,this.a=r,i||(this.r*=r,this.g*=r,this.b*=r,r||this.overwriteGetter("rgb",[t,e,n,r]));}static parse(t){if(t instanceof Te)return t;if("string"!=typeof t)return;const e=function(t){if("transparent"===(t=t.toLowerCase().trim()))return [0,0,0,0];const e=we(ke,t);if(e){const[t,n,r]=e;return [t/255,n/255,r/255,1]}if(t.startsWith("#")&&/^#(?:[0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/.test(t)){const e=t.length<6?1:2;let n=1;return [_e(t.slice(n,n+=e)),_e(t.slice(n,n+=e)),_e(t.slice(n,n+=e)),_e(t.slice(n,n+e)||"ff")]}if(t.startsWith("rgb")){const e=t.match(/^rgba?\(\s*([\de.+-]+)(%)?(?:\s+|\s*(,)\s*)([\de.+-]+)(%)?(?:\s+|\s*(,)\s*)([\de.+-]+)(%)?(?:\s*([,\/])\s*([\de.+-]+)(%)?)?\s*\)$/);if(e){const[t,n,r,i,s,o,a,l,u,c,h,p]=e,f=[i||" ",a||" ",c].join("");if(" "===f||" /"===f||",,"===f||",,,"===f){const t=[r,o,u].join(""),e="%%%"===t?100:""===t?255:0;if(e){const t=[Ae(+n/e,0,1),Ae(+s/e,0,1),Ae(+l/e,0,1),h?Se(+h,p):1];if(Me(t))return t}}return}}const n=t.match(/^hsla?\(\s*([\de.+-]+)(?:deg)?(?:\s+|\s*(,)\s*)([\de.+-]+)%(?:\s+|\s*(,)\s*)([\de.+-]+)%(?:\s*([,\/])\s*([\de.+-]+)(%)?)?\s*\)$/);if(n){const[t,e,r,i,s,o,a,l,u]=n,c=[r||" ",s||" ",a].join("");if(" "===c||" /"===c||",,"===c||",,,"===c){const t=[+e,Ae(+i,0,100),Ae(+o,0,100),l?Se(+l,u):1];if(Me(t))return function([t,e,n,r]){function i(r){const i=(r+t/30)%12,s=e*Math.min(n,1-n);return n-s*Math.max(-1,Math.min(i-3,9-i,1))}return t=fe(t),e/=100,n/=100,[i(0),i(8),i(4),r]}(t)}}}(t);return e?new Te(...e,!1):void 0}get rgb(){const{r:t,g:e,b:n,a:r}=this,i=r||1/0;return this.overwriteGetter("rgb",[t/i,e/i,n/i,r])}get hcl(){return this.overwriteGetter("hcl",function(t){const[e,n,r,i]=de(t),s=Math.sqrt(n*n+r*r);return [Math.round(1e4*s)?fe(Math.atan2(r,n)*pe):NaN,s,e,i]}(this.rgb))}get lab(){return this.overwriteGetter("lab",de(this.rgb))}overwriteGetter(t,e){return Object.defineProperty(this,t,{value:e}),e}toString(){const[t,e,n,r]=this.rgb;return `rgba(${[t,e,n].map((t=>Math.round(255*t))).join(",")},${r})`}static interpolate(t,e,n,r="rgb"){switch(r){case "rgb":{const[r,i,s,o]=Ee(t.rgb,e.rgb,n);return new Te(r,i,s,o,!1)}case "hcl":{const[r,i,s,o]=t.hcl,[a,l,u,c]=e.hcl;let h,p;if(isNaN(r)||isNaN(a))isNaN(r)?isNaN(a)?h=NaN:(h=a,1!==s&&0!==s||(p=l)):(h=r,1!==u&&0!==u||(p=i));else {let t=a-r;a>r&&t>180?t-=360:a180&&(t+=360),h=r+n*t;}const[f,d,y,m]=function([t,e,n,r]){return t=isNaN(t)?0:t*he,ge([n,Math.cos(t)*e,Math.sin(t)*e,r])}([h,null!=p?p:Ie(i,l,n),Ie(s,u,n),Ie(o,c,n)]);return new Te(f,d,y,m,!1)}case "lab":{const[r,i,s,o]=ge(Ee(t.lab,e.lab,n));return new Te(r,i,s,o,!1)}}}}Te.black=new Te(0,0,0,1),Te.white=new Te(1,1,1,1),Te.transparent=new Te(0,0,0,0),Te.red=new Te(1,0,0,1);class Fe{constructor(t,e,n){this.sensitivity=t?e?"variant":"case":e?"accent":"base",this.locale=n,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"});}compare(t,e){return this.collator.compare(t,e)}resolvedLocale(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale}}const Pe=["bottom","center","top"];class De{constructor(t,e,n,r,i,s){this.text=t,this.image=e,this.scale=n,this.fontStack=r,this.textColor=i,this.verticalAlign=s;}}class ze{constructor(t){this.sections=t;}static fromString(t){return new ze([new De(t,null,null,null,null,null)])}isEmpty(){return 0===this.sections.length||!this.sections.some((t=>0!==t.text.length||t.image&&0!==t.image.name.length))}static factory(t){return t instanceof ze?t:ze.fromString(t)}toString(){return 0===this.sections.length?"":this.sections.map((t=>t.text)).join("")}}class Be{constructor(t){this.values=t.slice();}static parse(t){if(t instanceof Be)return t;if("number"==typeof t)return new Be([t,t,t,t]);if(Array.isArray(t)&&!(t.length<1||t.length>4)){for(const e of t)if("number"!=typeof e)return;switch(t.length){case 1:t=[t[0],t[0],t[0],t[0]];break;case 2:t=[t[0],t[1],t[0],t[1]];break;case 3:t=[t[0],t[1],t[2],t[1]];}return new Be(t)}}toString(){return JSON.stringify(this.values)}static interpolate(t,e,n){return new Be(Ee(t.values,e.values,n))}}class Ce{constructor(t){this.values=t.slice();}static parse(t){if(t instanceof Ce)return t;if("number"==typeof t)return new Ce([t]);if(Array.isArray(t)){for(const e of t)if("number"!=typeof e)return;return new Ce(t)}}toString(){return JSON.stringify(this.values)}static interpolate(t,e,n){return new Ce(Ee(t.values,e.values,n))}}class Ve{constructor(t){this.values=t.slice();}static parse(t){if(t instanceof Ve)return t;if("string"==typeof t){const e=Te.parse(t);if(!e)return;return new Ve([e])}if(!Array.isArray(t))return;const e=[];for(const n of t){if("string"!=typeof n)return;const t=Te.parse(n);if(!t)return;e.push(t);}return new Ve(e)}toString(){return JSON.stringify(this.values)}static interpolate(t,e,n,r="rgb"){const i=[];if(t.values.length!=e.values.length)throw new Error(`colorArray: Arrays have mismatched length (${t.values.length} vs. ${e.values.length}), cannot interpolate.`);for(let s=0;s=0&&t<=255&&"number"==typeof e&&e>=0&&e<=255&&"number"==typeof n&&n>=0&&n<=255?void 0===r||"number"==typeof r&&r>=0&&r<=1?null:`Invalid rgba value [${[t,e,n,r].join(", ")}]: 'a' must be between 0 and 1.`:`Invalid rgba value [${("number"==typeof r?[t,e,n,r]:[t,e,n]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`}function je(t){if(null===t||"string"==typeof t||"boolean"==typeof t||"number"==typeof t||t instanceof Ne||t instanceof Te||t instanceof Fe||t instanceof ze||t instanceof Be||t instanceof Ce||t instanceof Ve||t instanceof $e||t instanceof Re)return !0;if(Array.isArray(t)){for(const e of t)if(!je(e))return !1;return !0}if("object"==typeof t){for(const e in t)if(!je(t[e]))return !1;return !0}return !1}function qe(t){if(null===t)return Lt;if("string"==typeof t)return $t;if("boolean"==typeof t)return Rt;if("number"==typeof t)return Ot;if(t instanceof Te)return Nt;if(t instanceof Ne)return Ut;if(t instanceof Fe)return Gt;if(t instanceof ze)return Xt;if(t instanceof Be)return Yt;if(t instanceof Ce)return Ht;if(t instanceof Ve)return Zt;if(t instanceof $e)return Kt;if(t instanceof Re)return Wt;if(Array.isArray(t)){const e=t.length;let n;for(const e of t){const t=qe(e);if(n){if(n===t)continue;n=qt;break}n=t;}return Jt(n||qt,e)}return jt}function Ge(t){const e=typeof t;return null===t?"":"string"===e||"number"===e||"boolean"===e?String(t):t instanceof Te||t instanceof Ne||t instanceof ze||t instanceof Be||t instanceof Ce||t instanceof Ve||t instanceof $e||t instanceof Re?t.toString():JSON.stringify(t)}class Xe{constructor(t,e){this.type=t,this.value=e;}static parse(t,e){if(2!==t.length)return e.error(`'literal' expression requires exactly one argument, but found ${t.length-1} instead.`);if(!je(t[1]))return e.error("invalid value");const n=t[1];let r=qe(n);const i=e.expectedType;return "array"!==r.kind||0!==r.N||!i||"array"!==i.kind||"number"==typeof i.N&&0!==i.N||(r=i),new Xe(r,n)}evaluate(){return this.value}eachChild(){}outputDefined(){return !0}}const Ye={string:$t,number:Ot,boolean:Rt,object:jt};class Ze{constructor(t,e){this.type=t,this.args=e;}static parse(t,e){if(t.length<2)return e.error("Expected at least one argument.");let n,r=1;const i=t[0];if("array"===i){let i,s;if(t.length>2){const n=t[1];if("string"!=typeof n||!(n in Ye)||"object"===n)return e.error('The item type argument of "array" must be one of string, number, boolean',1);i=Ye[n],r++;}else i=qt;if(t.length>3){if(null!==t[2]&&("number"!=typeof t[2]||t[2]<0||t[2]!==Math.floor(t[2])))return e.error('The length argument to "array" must be a positive integer literal',2);s=t[2],r++;}n=Jt(i,s);}else {if(!Ye[i])throw new Error(`Types doesn't contain name = ${i}`);n=Ye[i];}const s=[];for(;rt.outputDefined()))}}const He={"to-boolean":Rt,"to-color":Nt,"to-number":Ot,"to-string":$t};class We{constructor(t,e){this.type=t,this.args=e;}static parse(t,e){if(t.length<2)return e.error("Expected at least one argument.");const n=t[0];if(!He[n])throw new Error(`Can't parse ${n} as it is not part of the known types`);if(("to-boolean"===n||"to-string"===n)&&2!==t.length)return e.error("Expected one argument.");const r=He[n],i=[];for(let n=1;n4?`Invalid rgba value ${JSON.stringify(e)}: expected an array containing either three or four numeric values.`:Ue(e[0],e[1],e[2],e[3]),!n))return new Te(e[0]/255,e[1]/255,e[2]/255,e[3])}throw new Le(n||`Could not parse color from value '${"string"==typeof e?e:JSON.stringify(e)}'`)}case "padding":{let e;for(const n of this.args){e=n.evaluate(t);const r=Be.parse(e);if(r)return r}throw new Le(`Could not parse padding from value '${"string"==typeof e?e:JSON.stringify(e)}'`)}case "numberArray":{let e;for(const n of this.args){e=n.evaluate(t);const r=Ce.parse(e);if(r)return r}throw new Le(`Could not parse numberArray from value '${"string"==typeof e?e:JSON.stringify(e)}'`)}case "colorArray":{let e;for(const n of this.args){e=n.evaluate(t);const r=Ve.parse(e);if(r)return r}throw new Le(`Could not parse colorArray from value '${"string"==typeof e?e:JSON.stringify(e)}'`)}case "variableAnchorOffsetCollection":{let e;for(const n of this.args){e=n.evaluate(t);const r=$e.parse(e);if(r)return r}throw new Le(`Could not parse variableAnchorOffsetCollection from value '${"string"==typeof e?e:JSON.stringify(e)}'`)}case "number":{let e=null;for(const n of this.args){if(e=n.evaluate(t),null===e)return 0;const r=Number(e);if(!isNaN(r))return r}throw new Le(`Could not convert ${JSON.stringify(e)} to number.`)}case "formatted":return ze.fromString(Ge(this.args[0].evaluate(t)));case "resolvedImage":return Re.fromString(Ge(this.args[0].evaluate(t)));case "projectionDefinition":return this.args[0].evaluate(t);default:return Ge(this.args[0].evaluate(t))}}eachChild(t){this.args.forEach(t);}outputDefined(){return this.args.every((t=>t.outputDefined()))}}const Ke=["Unknown","Point","LineString","Polygon"];class Je{constructor(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache=new Map,this.availableImages=null,this.canonical=null;}id(){return this.feature&&"id"in this.feature?this.feature.id:null}geometryType(){return this.feature?"number"==typeof this.feature.type?Ke[this.feature.type]:this.feature.type:null}geometry(){return this.feature&&"geometry"in this.feature?this.feature.geometry:null}canonicalID(){return this.canonical}properties(){return this.feature&&this.feature.properties||{}}parseColor(t){let e=this._parseColorCache.get(t);return e||(e=Te.parse(t),this._parseColorCache.set(t,e)),e}}class Qe{constructor(t,e,n=[],r,i=new Vt,s=[]){this.registry=t,this.path=n,this.key=n.map((t=>`[${t}]`)).join(""),this.scope=i,this.errors=s,this.expectedType=r,this._isConstant=e;}parse(t,e,n,r,i={}){return e?this.concat(e,n,r)._parse(t,i):this._parse(t,i)}_parse(t,e){function n(t,e,n){return "assert"===n?new Ze(e,[t]):"coerce"===n?new We(e,[t]):t}if(null!==t&&"string"!=typeof t&&"boolean"!=typeof t&&"number"!=typeof t||(t=["literal",t]),Array.isArray(t)){if(0===t.length)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');const r=t[0];if("string"!=typeof r)return this.error(`Expression name must be a string, but found ${typeof r} instead. If you wanted a literal array, use ["literal", [...]].`,0),null;const i=this.registry[r];if(i){let r=i.parse(t,this);if(!r)return null;if(this.expectedType){const t=this.expectedType,i=r.type;if("string"!==t.kind&&"number"!==t.kind&&"boolean"!==t.kind&&"object"!==t.kind&&"array"!==t.kind||"value"!==i.kind){if("projectionDefinition"===t.kind&&["string","array"].includes(i.kind)||["color","formatted","resolvedImage"].includes(t.kind)&&["value","string"].includes(i.kind)||["padding","numberArray"].includes(t.kind)&&["value","number","array"].includes(i.kind)||"colorArray"===t.kind&&["value","string","array"].includes(i.kind)||"variableAnchorOffsetCollection"===t.kind&&["value","array"].includes(i.kind))r=n(r,t,e.typeAnnotation||"coerce");else if(this.checkSubtype(t,i))return null}else r=n(r,t,e.typeAnnotation||"assert");}if(!(r instanceof Xe)&&"resolvedImage"!==r.type.kind&&this._isConstant(r)){const t=new Je;try{r=new Xe(r.type,r.evaluate(t));}catch(t){return this.error(t.message),null}}return r}return this.error(`Unknown expression "${r}". If you wanted a literal array, use ["literal", [...]].`,0)}return this.error(void 0===t?"'undefined' value invalid. Use null instead.":"object"==typeof t?'Bare objects invalid. Use ["literal", {...}] instead.':`Expected an array, but found ${typeof t} instead.`)}concat(t,e,n){const r="number"==typeof t?this.path.concat(t):this.path,i=n?this.scope.concat(n):this.scope;return new Qe(this.registry,this._isConstant,r,e||null,i,this.errors)}error(t,...e){const n=`${this.key}${e.map((t=>`[${t}]`)).join("")}`;this.errors.push(new Ct(n,t));}checkSubtype(t,e){const n=ee(t,e);return n&&this.error(n),n}}class tn{constructor(t,e){this.type=e.type,this.bindings=[].concat(t),this.result=e;}evaluate(t){return this.result.evaluate(t)}eachChild(t){for(const e of this.bindings)t(e[1]);t(this.result);}static parse(t,e){if(t.length<4)return e.error(`Expected at least 3 arguments, but found ${t.length-1} instead.`);const n=[];for(let r=1;r=n.length)throw new Le(`Array index out of bounds: ${e} > ${n.length-1}.`);if(e!==Math.floor(e))throw new Le(`Array index must be an integer, but found ${e} instead.`);return n[e]}eachChild(t){t(this.index),t(this.input);}outputDefined(){return !1}}class rn{constructor(t,e){this.type=Rt,this.needle=t,this.haystack=e;}static parse(t,e){if(3!==t.length)return e.error(`Expected 2 arguments, but found ${t.length-1} instead.`);const n=e.parse(t[1],1,qt),r=e.parse(t[2],2,qt);return n&&r?ne(n.type,[Rt,$t,Ot,Lt,qt])?new rn(n,r):e.error(`Expected first argument to be of type boolean, string, number or null, but found ${Qt(n.type)} instead`):null}evaluate(t){const e=this.needle.evaluate(t),n=this.haystack.evaluate(t);if(!n)return !1;if(!re(e,["boolean","string","number","null"]))throw new Le(`Expected first argument to be of type boolean, string, number or null, but found ${Qt(qe(e))} instead.`);if(!re(n,["string","array"]))throw new Le(`Expected second argument to be of type array or string, but found ${Qt(qe(n))} instead.`);return n.indexOf(e)>=0}eachChild(t){t(this.needle),t(this.haystack);}outputDefined(){return !0}}class sn{constructor(t,e,n){this.type=Ot,this.needle=t,this.haystack=e,this.fromIndex=n;}static parse(t,e){if(t.length<=2||t.length>=5)return e.error(`Expected 2 or 3 arguments, but found ${t.length-1} instead.`);const n=e.parse(t[1],1,qt),r=e.parse(t[2],2,qt);if(!n||!r)return null;if(!ne(n.type,[Rt,$t,Ot,Lt,qt]))return e.error(`Expected first argument to be of type boolean, string, number or null, but found ${Qt(n.type)} instead`);if(4===t.length){const i=e.parse(t[3],3,Ot);return i?new sn(n,r,i):null}return new sn(n,r)}evaluate(t){const e=this.needle.evaluate(t),n=this.haystack.evaluate(t);if(!re(e,["boolean","string","number","null"]))throw new Le(`Expected first argument to be of type boolean, string, number or null, but found ${Qt(qe(e))} instead.`);let r;if(this.fromIndex&&(r=this.fromIndex.evaluate(t)),re(n,["string"])){const t=n.indexOf(e,r);return -1===t?-1:[...n.slice(0,t)].length}if(re(n,["array"]))return n.indexOf(e,r);throw new Le(`Expected second argument to be of type array or string, but found ${Qt(qe(n))} instead.`)}eachChild(t){t(this.needle),t(this.haystack),this.fromIndex&&t(this.fromIndex);}outputDefined(){return !1}}class on{constructor(t,e,n,r,i,s){this.inputType=t,this.type=e,this.input=n,this.cases=r,this.outputs=i,this.otherwise=s;}static parse(t,e){if(t.length<5)return e.error(`Expected at least 4 arguments, but found only ${t.length-1}.`);if(t.length%2!=1)return e.error("Expected an even number of arguments.");let n,r;e.expectedType&&"value"!==e.expectedType.kind&&(r=e.expectedType);const i={},s=[];for(let o=2;oNumber.MAX_SAFE_INTEGER)return u.error(`Branch labels must be integers no larger than ${Number.MAX_SAFE_INTEGER}.`);if("number"==typeof t&&Math.floor(t)!==t)return u.error("Numeric branch labels must be integer values.");if(n){if(u.checkSubtype(n,qe(t)))return null}else n=qe(t);if(void 0!==i[String(t)])return u.error("Branch labels must be unique.");i[String(t)]=s.length;}const c=e.parse(l,o,r);if(!c)return null;r=r||c.type,s.push(c);}const o=e.parse(t[1],1,qt);if(!o)return null;const a=e.parse(t[t.length-1],t.length-1,r);return a?"value"!==o.type.kind&&e.concat(1).checkSubtype(n,o.type)?null:new on(n,r,o,i,s,a):null}evaluate(t){const e=this.input.evaluate(t);return (qe(e)===this.inputType&&this.outputs[this.cases[e]]||this.otherwise).evaluate(t)}eachChild(t){t(this.input),this.outputs.forEach(t),t(this.otherwise);}outputDefined(){return this.outputs.every((t=>t.outputDefined()))&&this.otherwise.outputDefined()}}class an{constructor(t,e,n){this.type=t,this.branches=e,this.otherwise=n;}static parse(t,e){if(t.length<4)return e.error(`Expected at least 3 arguments, but found only ${t.length-1}.`);if(t.length%2!=0)return e.error("Expected an odd number of arguments.");let n;e.expectedType&&"value"!==e.expectedType.kind&&(n=e.expectedType);const r=[];for(let i=1;ie.outputDefined()))&&this.otherwise.outputDefined()}}class ln{constructor(t,e,n,r){this.type=t,this.input=e,this.beginIndex=n,this.endIndex=r;}static parse(t,e){if(t.length<=2||t.length>=5)return e.error(`Expected 2 or 3 arguments, but found ${t.length-1} instead.`);const n=e.parse(t[1],1,qt),r=e.parse(t[2],2,Ot);if(!n||!r)return null;if(!ne(n.type,[Jt(qt),$t,qt]))return e.error(`Expected first argument to be of type array or string, but found ${Qt(n.type)} instead`);if(4===t.length){const i=e.parse(t[3],3,Ot);return i?new ln(n.type,n,r,i):null}return new ln(n.type,n,r)}evaluate(t){const e=this.input.evaluate(t),n=this.beginIndex.evaluate(t);let r;if(this.endIndex&&(r=this.endIndex.evaluate(t)),re(e,["string"]))return [...e].slice(n,r).join("");if(re(e,["array"]))return e.slice(n,r);throw new Le(`Expected first argument to be of type array or string, but found ${Qt(qe(e))} instead.`)}eachChild(t){t(this.input),t(this.beginIndex),this.endIndex&&t(this.endIndex);}outputDefined(){return !1}}function un(t,e){const n=t.length-1;let r,i,s=0,o=n,a=0;for(;s<=o;)if(a=Math.floor((s+o)/2),r=t[a],i=t[a+1],r<=e){if(a===n||ee))throw new Le("Input is not a number.");o=a-1;}return 0}class cn{constructor(t,e,n){this.type=t,this.input=e,this.labels=[],this.outputs=[];for(const[t,e]of n)this.labels.push(t),this.outputs.push(e);}static parse(t,e){if(t.length-1<4)return e.error(`Expected at least 4 arguments, but found only ${t.length-1}.`);if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");const n=e.parse(t[1],1,Ot);if(!n)return null;const r=[];let i=null;e.expectedType&&"value"!==e.expectedType.kind&&(i=e.expectedType);for(let n=1;n=s)return e.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',a);const u=e.parse(o,l,i);if(!u)return null;i=i||u.type,r.push([s,u]);}return new cn(i,n,r)}evaluate(t){const e=this.labels,n=this.outputs;if(1===e.length)return n[0].evaluate(t);const r=this.input.evaluate(t);if(r<=e[0])return n[0].evaluate(t);const i=e.length;return r>=e[i-1]?n[i-1].evaluate(t):n[un(e,r)].evaluate(t)}eachChild(t){t(this.input);for(const e of this.outputs)t(e);}outputDefined(){return this.outputs.every((t=>t.outputDefined()))}}function hn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var pn,fn,dn=function(){if(fn)return pn;function t(t,e,n,r){this.cx=3*t,this.bx=3*(n-t)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(r-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=t,this.p1y=e,this.p2x=n,this.p2y=r;}return fn=1,pn=t,t.prototype={sampleCurveX:function(t){return ((this.ax*t+this.bx)*t+this.cx)*t},sampleCurveY:function(t){return ((this.ay*t+this.by)*t+this.cy)*t},sampleCurveDerivativeX:function(t){return (3*this.ax*t+2*this.bx)*t+this.cx},solveCurveX:function(t,e){if(void 0===e&&(e=1e-6),t<0)return 0;if(t>1)return 1;for(var n=t,r=0;r<8;r++){var i=this.sampleCurveX(n)-t;if(Math.abs(i)i?o=n:a=n,n=.5*(a-o)+o;return n},solve:function(t,e){return this.sampleCurveY(this.solveCurveX(t,e))}},pn}(),yn=hn(dn);class mn{constructor(t,e,n,r,i){this.type=t,this.operator=e,this.interpolation=n,this.input=r,this.labels=[],this.outputs=[];for(const[t,e]of i)this.labels.push(t),this.outputs.push(e);}static interpolationFactor(t,e,n,r){let i=0;if("exponential"===t.name)i=gn(e,t.base,n,r);else if("linear"===t.name)i=gn(e,1,n,r);else if("cubic-bezier"===t.name){const s=t.controlPoints;i=new yn(s[0],s[1],s[2],s[3]).solve(gn(e,1,n,r));}return i}static parse(t,e){let[n,r,i,...s]=t;if(!Array.isArray(r)||0===r.length)return e.error("Expected an interpolation type expression.",1);if("linear"===r[0])r={name:"linear"};else if("exponential"===r[0]){const t=r[1];if("number"!=typeof t)return e.error("Exponential interpolation requires a numeric base.",1,1);r={name:"exponential",base:t};}else {if("cubic-bezier"!==r[0])return e.error(`Unknown interpolation type ${String(r[0])}`,1,0);{const t=r.slice(1);if(4!==t.length||t.some((t=>"number"!=typeof t||t<0||t>1)))return e.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);r={name:"cubic-bezier",controlPoints:t};}}if(t.length-1<4)return e.error(`Expected at least 4 arguments, but found only ${t.length-1}.`);if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");if(i=e.parse(i,2,Ot),!i)return null;const o=[];let a=null;"interpolate-hcl"!==n&&"interpolate-lab"!==n||e.expectedType==Zt?e.expectedType&&"value"!==e.expectedType.kind&&(a=e.expectedType):a=Nt;for(let t=0;t=n)return e.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',i);const u=e.parse(r,l,a);if(!u)return null;a=a||u.type,o.push([n,u]);}return ie(a,Ot)||ie(a,Ut)||ie(a,Nt)||ie(a,Yt)||ie(a,Ht)||ie(a,Zt)||ie(a,Kt)||ie(a,Jt(Ot))?new mn(a,n,r,i,o):e.error(`Type ${Qt(a)} is not interpolatable.`)}evaluate(t){const e=this.labels,n=this.outputs;if(1===e.length)return n[0].evaluate(t);const r=this.input.evaluate(t);if(r<=e[0])return n[0].evaluate(t);const i=e.length;if(r>=e[i-1])return n[i-1].evaluate(t);const s=un(e,r),o=mn.interpolationFactor(this.interpolation,r,e[s],e[s+1]),a=n[s].evaluate(t),l=n[s+1].evaluate(t);switch(this.operator){case "interpolate":switch(this.type.kind){case "number":return Ie(a,l,o);case "color":return Te.interpolate(a,l,o);case "padding":return Be.interpolate(a,l,o);case "colorArray":return Ve.interpolate(a,l,o);case "numberArray":return Ce.interpolate(a,l,o);case "variableAnchorOffsetCollection":return $e.interpolate(a,l,o);case "array":return Ee(a,l,o);case "projectionDefinition":return Ne.interpolate(a,l,o)}case "interpolate-hcl":switch(this.type.kind){case "color":return Te.interpolate(a,l,o,"hcl");case "colorArray":return Ve.interpolate(a,l,o,"hcl")}case "interpolate-lab":switch(this.type.kind){case "color":return Te.interpolate(a,l,o,"lab");case "colorArray":return Ve.interpolate(a,l,o,"lab")}}}eachChild(t){t(this.input);for(const e of this.outputs)t(e);}outputDefined(){return this.outputs.every((t=>t.outputDefined()))}}function gn(t,e,n,r){const i=r-n,s=t-n;return 0===i?0:1===e?s/i:(Math.pow(e,s)-1)/(Math.pow(e,i)-1)}const xn={color:Te.interpolate,number:Ie,padding:Be.interpolate,numberArray:Ce.interpolate,colorArray:Ve.interpolate,variableAnchorOffsetCollection:$e.interpolate,array:Ee};class vn{constructor(t,e){this.type=t,this.args=e;}static parse(t,e){if(t.length<2)return e.error("Expected at least one argument.");let n=null;const r=e.expectedType;r&&"value"!==r.kind&&(n=r);const i=[];for(const r of t.slice(1)){const t=e.parse(r,1+i.length,n,void 0,{typeAnnotation:"omit"});if(!t)return null;n=n||t.type,i.push(t);}if(!n)throw new Error("No output type");const s=r&&i.some((t=>ee(r,t.type)));return new vn(s?qt:n,i)}evaluate(t){let e,n=null,r=0;for(const i of this.args)if(r++,n=i.evaluate(t),n&&n instanceof Re&&!n.available&&(e||(e=n.name),n=null,r===this.args.length&&(n=e)),null!==n)break;return n}eachChild(t){this.args.forEach(t);}outputDefined(){return this.args.every((t=>t.outputDefined()))}}function bn(t,e){return "=="===t||"!="===t?"boolean"===e.kind||"string"===e.kind||"number"===e.kind||"null"===e.kind||"value"===e.kind:"string"===e.kind||"number"===e.kind||"value"===e.kind}function wn(t,e,n,r){return 0===r.compare(e,n)}function _n(t,e,n){const r="=="!==t&&"!="!==t;return class i{constructor(t,e,n){this.type=Rt,this.lhs=t,this.rhs=e,this.collator=n,this.hasUntypedArgument="value"===t.type.kind||"value"===e.type.kind;}static parse(t,e){if(3!==t.length&&4!==t.length)return e.error("Expected two or three arguments.");const n=t[0];let s=e.parse(t[1],1,qt);if(!s)return null;if(!bn(n,s.type))return e.concat(1).error(`"${n}" comparisons are not supported for type '${Qt(s.type)}'.`);let o=e.parse(t[2],2,qt);if(!o)return null;if(!bn(n,o.type))return e.concat(2).error(`"${n}" comparisons are not supported for type '${Qt(o.type)}'.`);if(s.type.kind!==o.type.kind&&"value"!==s.type.kind&&"value"!==o.type.kind)return e.error(`Cannot compare types '${Qt(s.type)}' and '${Qt(o.type)}'.`);r&&("value"===s.type.kind&&"value"!==o.type.kind?s=new Ze(o.type,[s]):"value"!==s.type.kind&&"value"===o.type.kind&&(o=new Ze(s.type,[o])));let a=null;if(4===t.length){if("string"!==s.type.kind&&"string"!==o.type.kind&&"value"!==s.type.kind&&"value"!==o.type.kind)return e.error("Cannot use collator to compare non-string types.");if(a=e.parse(t[3],3,Gt),!a)return null}return new i(s,o,a)}evaluate(i){const s=this.lhs.evaluate(i),o=this.rhs.evaluate(i);if(r&&this.hasUntypedArgument){const e=qe(s),n=qe(o);if(e.kind!==n.kind||"string"!==e.kind&&"number"!==e.kind)throw new Le(`Expected arguments for "${t}" to be (string, string) or (number, number), but found (${e.kind}, ${n.kind}) instead.`)}if(this.collator&&!r&&this.hasUntypedArgument){const t=qe(s),n=qe(o);if("string"!==t.kind||"string"!==n.kind)return e(i,s,o)}return this.collator?n(i,s,o,this.collator.evaluate(i)):e(i,s,o)}eachChild(t){t(this.lhs),t(this.rhs),this.collator&&t(this.collator);}outputDefined(){return !0}}}const Sn=_n("==",(function(t,e,n){return e===n}),wn),An=_n("!=",(function(t,e,n){return e!==n}),(function(t,e,n,r){return !wn(0,e,n,r)})),Mn=_n("<",(function(t,e,n){return e",(function(t,e,n){return e>n}),(function(t,e,n,r){return r.compare(e,n)>0})),In=_n("<=",(function(t,e,n){return e<=n}),(function(t,e,n,r){return r.compare(e,n)<=0})),En=_n(">=",(function(t,e,n){return e>=n}),(function(t,e,n,r){return r.compare(e,n)>=0}));class Tn{constructor(t,e,n){this.type=Gt,this.locale=n,this.caseSensitive=t,this.diacriticSensitive=e;}static parse(t,e){if(2!==t.length)return e.error("Expected one argument.");const n=t[1];if("object"!=typeof n||Array.isArray(n))return e.error("Collator options argument must be an object.");const r=e.parse(void 0!==n["case-sensitive"]&&n["case-sensitive"],1,Rt);if(!r)return null;const i=e.parse(void 0!==n["diacritic-sensitive"]&&n["diacritic-sensitive"],1,Rt);if(!i)return null;let s=null;return n.locale&&(s=e.parse(n.locale,1,$t),!s)?null:new Tn(r,i,s)}evaluate(t){return new Fe(this.caseSensitive.evaluate(t),this.diacriticSensitive.evaluate(t),this.locale?this.locale.evaluate(t):null)}eachChild(t){t(this.caseSensitive),t(this.diacriticSensitive),this.locale&&t(this.locale);}outputDefined(){return !1}}class Fn{constructor(t,e,n,r,i,s){this.type=$t,this.number=t,this.locale=e,this.currency=n,this.unit=r,this.minFractionDigits=i,this.maxFractionDigits=s;}static parse(t,e){if(3!==t.length)return e.error("Expected two arguments.");const n=e.parse(t[1],1,Ot);if(!n)return null;const r=t[2];if("object"!=typeof r||Array.isArray(r))return e.error("NumberFormat options argument must be an object.");let i=null;if(r.locale&&(i=e.parse(r.locale,1,$t),!i))return null;let s=null;if(r.currency&&(s=e.parse(r.currency,1,$t),!s))return null;let o=null;if(r.unit&&(o=e.parse(r.unit,1,$t),!o))return null;if(s&&o)return e.error("NumberFormat options `currency` and `unit` are mutually exclusive");let a=null;if(r["min-fraction-digits"]&&(a=e.parse(r["min-fraction-digits"],1,Ot),!a))return null;let l=null;return r["max-fraction-digits"]&&(l=e.parse(r["max-fraction-digits"],1,Ot),!l)?null:new Fn(n,i,s,o,a,l)}evaluate(t){return new Intl.NumberFormat(this.locale?this.locale.evaluate(t):[],{style:this.currency?"currency":this.unit?"unit":"decimal",currency:this.currency?this.currency.evaluate(t):void 0,unit:this.unit?this.unit.evaluate(t):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(t):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(t):void 0}).format(this.number.evaluate(t))}eachChild(t){t(this.number),this.locale&&t(this.locale),this.currency&&t(this.currency),this.unit&&t(this.unit),this.minFractionDigits&&t(this.minFractionDigits),this.maxFractionDigits&&t(this.maxFractionDigits);}outputDefined(){return !1}}class Pn{constructor(t){this.type=Xt,this.sections=t;}static parse(t,e){if(t.length<2)return e.error("Expected at least one argument.");const n=t[1];if(!Array.isArray(n)&&"object"==typeof n)return e.error("First argument must be an image or text section.");const r=[];let i=!1;for(let n=1;n<=t.length-1;++n){const s=t[n];if(i&&"object"==typeof s&&!Array.isArray(s)){i=!1;let t=null;if(s["font-scale"]&&(t=e.parse(s["font-scale"],1,Ot),!t))return null;let n=null;if(s["text-font"]&&(n=e.parse(s["text-font"],1,Jt($t)),!n))return null;let o=null;if(s["text-color"]&&(o=e.parse(s["text-color"],1,Nt),!o))return null;let a=null;if(s["vertical-align"]){if("string"==typeof s["vertical-align"]&&!Pe.includes(s["vertical-align"]))return e.error(`'vertical-align' must be one of: 'bottom', 'center', 'top' but found '${s["vertical-align"]}' instead.`);if(a=e.parse(s["vertical-align"],1,$t),!a)return null}const l=r[r.length-1];l.scale=t,l.font=n,l.textColor=o,l.verticalAlign=a;}else {const s=e.parse(t[n],1,qt);if(!s)return null;const o=s.type.kind;if("string"!==o&&"value"!==o&&"null"!==o&&"resolvedImage"!==o)return e.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");i=!0,r.push({content:s,scale:null,font:null,textColor:null,verticalAlign:null});}}return new Pn(r)}evaluate(t){return new ze(this.sections.map((e=>{const n=e.content.evaluate(t);return qe(n)===Wt?new De("",n,null,null,null,e.verticalAlign?e.verticalAlign.evaluate(t):null):new De(Ge(n),null,e.scale?e.scale.evaluate(t):null,e.font?e.font.evaluate(t).join(","):null,e.textColor?e.textColor.evaluate(t):null,e.verticalAlign?e.verticalAlign.evaluate(t):null)})))}eachChild(t){for(const e of this.sections)t(e.content),e.scale&&t(e.scale),e.font&&t(e.font),e.textColor&&t(e.textColor),e.verticalAlign&&t(e.verticalAlign);}outputDefined(){return !1}}class Dn{constructor(t){this.type=Wt,this.input=t;}static parse(t,e){if(2!==t.length)return e.error("Expected two arguments.");const n=e.parse(t[1],1,$t);return n?new Dn(n):e.error("No image name provided.")}evaluate(t){const e=this.input.evaluate(t),n=Re.fromString(e);return n&&t.availableImages&&(n.available=t.availableImages.indexOf(e)>-1),n}eachChild(t){t(this.input);}outputDefined(){return !1}}class zn{constructor(t){this.type=Ot,this.input=t;}static parse(t,e){if(2!==t.length)return e.error(`Expected 1 argument, but found ${t.length-1} instead.`);const n=e.parse(t[1],1);return n?"array"!==n.type.kind&&"string"!==n.type.kind&&"value"!==n.type.kind?e.error(`Expected argument of type string or array, but found ${Qt(n.type)} instead.`):new zn(n):null}evaluate(t){const e=this.input.evaluate(t);if("string"==typeof e)return [...e].length;if(Array.isArray(e))return e.length;throw new Le(`Expected value to be of type string or array, but found ${Qt(qe(e))} instead.`)}eachChild(t){t(this.input);}outputDefined(){return !1}}const Bn=8192;function Cn(t,e){const n=(180+t[0])/360,r=(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+t[1]*Math.PI/360)))/360,i=Math.pow(2,e.z);return [Math.round(n*i*Bn),Math.round(r*i*Bn)]}function Vn(t,e){const n=Math.pow(2,e.z);return [(i=(t[0]/Bn+e.x)/n,360*i-180),(r=(t[1]/Bn+e.y)/n,360/Math.PI*Math.atan(Math.exp((180-360*r)*Math.PI/180))-90)];var r,i;}function Ln(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.max(t[2],e[0]),t[3]=Math.max(t[3],e[1]);}function On(t,e){return !(t[0]<=e[0]||t[2]>=e[2]||t[1]<=e[1]||t[3]>=e[3])}function $n(t,e,n){const r=t[0]-e[0],i=t[1]-e[1],s=t[0]-n[0],o=t[1]-n[1];return r*o-s*i==0&&r*s<=0&&i*o<=0}function Rn(t,e,n,r){return 0!=(i=[r[0]-n[0],r[1]-n[1]])[0]*(s=[e[0]-t[0],e[1]-t[1]])[1]-i[1]*s[0]&&!(!Xn(t,e,n,r)||!Xn(n,r,t,e));var i,s;}function Nn(t,e,n){for(const r of n)for(let n=0;n(i=t)[1]!=(o=a[e+1])[1]>i[1]&&i[0]<(o[0]-s[0])*(i[1]-s[1])/(o[1]-s[1])+s[0]&&(r=!r);}var i,s,o;return r}function jn(t,e){for(const n of e)if(Un(t,n))return !0;return !1}function qn(t,e){for(const n of t)if(!Un(n,e))return !1;for(let n=0;n0&&a<0||o<0&&a>0}function Yn(t,e,n){const r=[];for(let i=0;in[2]){const e=.5*r;let i=t[0]-n[0]>e?-r:n[0]-t[0]>e?r:0;0===i&&(i=t[0]-n[2]>e?-r:n[2]-t[0]>e?r:0),t[0]+=i;}Ln(e,t);}function Wn(t,e,n,r){const i=Math.pow(2,r.z)*Bn,s=[r.x*Bn,r.y*Bn],o=[];for(const r of t)for(const t of r){const r=[t.x+s[0],t.y+s[1]];Hn(r,e,n,i),o.push(r);}return o}function Kn(t,e,n,r){const i=Math.pow(2,r.z)*Bn,s=[r.x*Bn,r.y*Bn],o=[];for(const n of t){const t=[];for(const r of n){const n=[r.x+s[0],r.y+s[1]];Ln(e,n),t.push(n);}o.push(t);}if(e[2]-e[0]<=i/2){(a=e)[0]=a[1]=1/0,a[2]=a[3]=-1/0;for(const t of o)for(const r of t)Hn(r,e,n,i);}var a;return o}class Jn{constructor(t,e){this.type=Rt,this.geojson=t,this.geometries=e;}static parse(t,e){if(2!==t.length)return e.error(`'within' expression requires exactly one argument, but found ${t.length-1} instead.`);if(je(t[1])){const e=t[1];if("FeatureCollection"===e.type){const t=[];for(const n of e.features){const{type:e,coordinates:r}=n.geometry;"Polygon"===e&&t.push(r),"MultiPolygon"===e&&t.push(...r);}if(t.length)return new Jn(e,{type:"MultiPolygon",coordinates:t})}else if("Feature"===e.type){const t=e.geometry.type;if("Polygon"===t||"MultiPolygon"===t)return new Jn(e,e.geometry)}else if("Polygon"===e.type||"MultiPolygon"===e.type)return new Jn(e,e)}return e.error("'within' expression requires valid geojson object that contains polygon geometry type.")}evaluate(t){if(null!=t.geometry()&&null!=t.canonicalID()){if("Point"===t.geometryType())return function(t,e){const n=[1/0,1/0,-1/0,-1/0],r=[1/0,1/0,-1/0,-1/0],i=t.canonicalID();if("Polygon"===e.type){const s=Yn(e.coordinates,r,i),o=Wn(t.geometry(),n,r,i);if(!On(n,r))return !1;for(const t of o)if(!Un(t,s))return !1}if("MultiPolygon"===e.type){const s=Zn(e.coordinates,r,i),o=Wn(t.geometry(),n,r,i);if(!On(n,r))return !1;for(const t of o)if(!jn(t,s))return !1}return !0}(t,this.geometries);if("LineString"===t.geometryType())return function(t,e){const n=[1/0,1/0,-1/0,-1/0],r=[1/0,1/0,-1/0,-1/0],i=t.canonicalID();if("Polygon"===e.type){const s=Yn(e.coordinates,r,i),o=Kn(t.geometry(),n,r,i);if(!On(n,r))return !1;for(const t of o)if(!qn(t,s))return !1}if("MultiPolygon"===e.type){const s=Zn(e.coordinates,r,i),o=Kn(t.geometry(),n,r,i);if(!On(n,r))return !1;for(const t of o)if(!Gn(t,s))return !1}return !0}(t,this.geometries)}return !1}eachChild(){}outputDefined(){return !0}}let Qn=class{constructor(t=[],e=(t,e)=>te?1:0){if(this.data=t,this.length=this.data.length,this.compare=e,this.length>0)for(let t=(this.length>>1)-1;t>=0;t--)this._down(t);}push(t){this.data.push(t),this._up(this.length++);}pop(){if(0===this.length)return;const t=this.data[0],e=this.data.pop();return --this.length>0&&(this.data[0]=e,this._down(0)),t}peek(){return this.data[0]}_up(t){const{data:e,compare:n}=this,r=e[t];for(;t>0;){const i=t-1>>1,s=e[i];if(n(r,s)>=0)break;e[t]=s,t=i;}e[t]=r;}_down(t){const{data:e,compare:n}=this,r=this.length>>1,i=e[t];for(;t=0)break;e[t]=e[r],t=r;}e[t]=i;}};function tr(t,e,n=0,r=t.length-1,i=nr){for(;r>n;){if(r-n>600){const s=r-n+1,o=e-n+1,a=Math.log(s),l=.5*Math.exp(2*a/3),u=.5*Math.sqrt(a*l*(s-l)/s)*(o-s/2<0?-1:1);tr(t,e,Math.max(n,Math.floor(e-o*l/s+u)),Math.min(r,Math.floor(e+(s-o)*l/s+u)),i);}const s=t[e];let o=n,a=r;for(er(t,n,e),i(t[r],s)>0&&er(t,n,r);o0;)a--;}0===i(t[n],s)?er(t,n,a):(a++,er(t,a,r)),a<=e&&(n=a+1),e<=a&&(r=a-1);}}function er(t,e,n){const r=t[e];t[e]=t[n],t[n]=r;}function nr(t,e){return te?1:0}function rr(t,e){if(t.length<=1)return [t];const n=[];let r,i;for(const e of t){const t=sr(e);0!==t&&(e.area=Math.abs(t),void 0===i&&(i=t<0),i===t<0?(r&&n.push(r),r=[e]):r.push(e));}if(r&&n.push(r),e>1)for(let t=0;t1?(l=t[a+1][0],u=t[a+1][1]):p>0&&(l+=c/this.kx*p,u+=h/this.ky*p)),c=this.wrap(e[0]-l)*this.kx,h=(e[1]-u)*this.ky;const f=c*c+h*h;f180;)t-=360;return t}}function cr(t,e){return e[0]-t[0]}function hr(t){return t[1]-t[0]+1}function pr(t,e){return t[1]>=t[0]&&t[1]t[1])return [null,null];const n=hr(t);if(e){if(2===n)return [t,null];const e=Math.floor(n/2);return [[t[0],t[0]+e],[t[0]+e,t[1]]]}if(1===n)return [t,null];const r=Math.floor(n/2)-1;return [[t[0],t[0]+r],[t[0]+r+1,t[1]]]}function dr(t,e){if(!pr(e,t.length))return [1/0,1/0,-1/0,-1/0];const n=[1/0,1/0,-1/0,-1/0];for(let r=e[0];r<=e[1];++r)Ln(n,t[r]);return n}function yr(t){const e=[1/0,1/0,-1/0,-1/0];for(const n of t)for(const t of n)Ln(e,t);return e}function mr(t){return t[0]!==-1/0&&t[1]!==-1/0&&t[2]!==1/0&&t[3]!==1/0}function gr(t,e,n){if(!mr(t)||!mr(e))return NaN;let r=0,i=0;return t[2]e[2]&&(r=t[0]-e[2]),t[1]>e[3]&&(i=t[1]-e[3]),t[3]=r)return r;if(On(i,s)){if(Ar(t,e))return 0}else if(Ar(e,t))return 0;let o=1/0;for(const r of t)for(let t=0,i=r.length,s=i-1;t0;){const i=o.pop();if(i[0]>=s)continue;const l=i[1],u=e?50:100;if(hr(l)<=u){if(!pr(l,t.length))return NaN;if(e){const e=Sr(t,l,n,r);if(isNaN(e)||0===e)return e;s=Math.min(s,e);}else for(let e=l[0];e<=l[1];++e){const i=_r(t[e],n,r);if(s=Math.min(s,i),0===s)return 0}}else {const n=fr(l,e);kr(o,s,r,t,a,n[0]),kr(o,s,r,t,a,n[1]);}}return s}function Tr(t,e,n,r,i,s=1/0){let o=Math.min(s,i.distance(t[0],n[0]));if(0===o)return o;const a=new Qn([[0,[0,t.length-1],[0,n.length-1]]],cr);for(;a.length>0;){const s=a.pop();if(s[0]>=o)continue;const l=s[1],u=s[2],c=e?50:100,h=r?50:100;if(hr(l)<=c&&hr(u)<=h){if(!pr(l,t.length)&&pr(u,n.length))return NaN;let s;if(e&&r)s=br(t,l,n,u,i),o=Math.min(o,s);else if(e&&!r){const e=t.slice(l[0],l[1]+1);for(let t=u[0];t<=u[1];++t)if(s=xr(n[t],e,i),o=Math.min(o,s),0===o)return o}else if(!e&&r){const e=n.slice(u[0],u[1]+1);for(let n=l[0];n<=l[1];++n)if(s=xr(t[n],e,i),o=Math.min(o,s),0===o)return o}else s=wr(t,l,n,u,i),o=Math.min(o,s);}else {const s=fr(l,e),c=fr(u,r);Ir(a,o,i,t,n,s[0],c[0]),Ir(a,o,i,t,n,s[0],c[1]),Ir(a,o,i,t,n,s[1],c[0]),Ir(a,o,i,t,n,s[1],c[1]);}}return o}function Fr(t){return "MultiPolygon"===t.type?t.coordinates.map((t=>({type:"Polygon",coordinates:t}))):"MultiLineString"===t.type?t.coordinates.map((t=>({type:"LineString",coordinates:t}))):"MultiPoint"===t.type?t.coordinates.map((t=>({type:"Point",coordinates:t}))):[t]}class Pr{constructor(t,e){this.type=Ot,this.geojson=t,this.geometries=e;}static parse(t,e){if(2!==t.length)return e.error(`'distance' expression requires exactly one argument, but found ${t.length-1} instead.`);if(je(t[1])){const e=t[1];if("FeatureCollection"===e.type)return new Pr(e,e.features.map((t=>Fr(t.geometry))).flat());if("Feature"===e.type)return new Pr(e,Fr(e.geometry));if("type"in e&&"coordinates"in e)return new Pr(e,Fr(e))}return e.error("'distance' expression requires valid geojson object that contains polygon geometry type.")}evaluate(t){if(null!=t.geometry()&&null!=t.canonicalID()){if("Point"===t.geometryType())return function(t,e){const n=t.geometry(),r=n.flat().map((e=>Vn([e.x,e.y],t.canonical)));if(0===n.length)return NaN;const i=new ur(r[0][1]);let s=1/0;for(const t of e){switch(t.type){case "Point":s=Math.min(s,Tr(r,!1,[t.coordinates],!1,i,s));break;case "LineString":s=Math.min(s,Tr(r,!1,t.coordinates,!0,i,s));break;case "Polygon":s=Math.min(s,Er(r,!1,t.coordinates,i,s));}if(0===s)return s}return s}(t,this.geometries);if("LineString"===t.geometryType())return function(t,e){const n=t.geometry(),r=n.flat().map((e=>Vn([e.x,e.y],t.canonical)));if(0===n.length)return NaN;const i=new ur(r[0][1]);let s=1/0;for(const t of e){switch(t.type){case "Point":s=Math.min(s,Tr(r,!0,[t.coordinates],!1,i,s));break;case "LineString":s=Math.min(s,Tr(r,!0,t.coordinates,!0,i,s));break;case "Polygon":s=Math.min(s,Er(r,!0,t.coordinates,i,s));}if(0===s)return s}return s}(t,this.geometries);if("Polygon"===t.geometryType())return function(t,e){const n=t.geometry();if(0===n.length||0===n[0].length)return NaN;const r=rr(n,0).map((e=>e.map((e=>e.map((e=>Vn([e.x,e.y],t.canonical))))))),i=new ur(r[0][0][0][1]);let s=1/0;for(const t of e)for(const e of r){switch(t.type){case "Point":s=Math.min(s,Er([t.coordinates],!1,e,i,s));break;case "LineString":s=Math.min(s,Er(t.coordinates,!0,e,i,s));break;case "Polygon":s=Math.min(s,Mr(e,t.coordinates,i,s));}if(0===s)return s}return s}(t,this.geometries)}return NaN}eachChild(){}outputDefined(){return !0}}class Dr{constructor(t){this.type=qt,this.key=t;}static parse(t,e){if(2!==t.length)return e.error(`Expected 1 argument, but found ${t.length-1} instead.`);const n=t[1];return null==n?e.error("Global state property must be defined."):"string"!=typeof n?e.error(`Global state property must be string, but found ${typeof t[1]} instead.`):new Dr(n)}evaluate(t){var e;const n=null===(e=t.globals)||void 0===e?void 0:e.globalState;return n&&0!==Object.keys(n).length?we(n,this.key):null}eachChild(){}outputDefined(){return !1}}const zr={"==":Sn,"!=":An,">":kn,"<":Mn,">=":En,"<=":In,array:Ze,at:nn,boolean:Ze,case:an,coalesce:vn,collator:Tn,format:Pn,image:Dn,in:rn,"index-of":sn,interpolate:mn,"interpolate-hcl":mn,"interpolate-lab":mn,length:zn,let:tn,literal:Xe,match:on,number:Ze,"number-format":Fn,object:Ze,slice:ln,step:cn,string:Ze,"to-boolean":We,"to-color":We,"to-number":We,"to-string":We,var:en,within:Jn,distance:Pr,"global-state":Dr};class Br{constructor(t,e,n,r){this.name=t,this.type=e,this._evaluate=n,this.args=r;}evaluate(t){return this._evaluate(t,this.args)}eachChild(t){this.args.forEach(t);}outputDefined(){return !1}static parse(t,e){const n=t[0],r=Br.definitions[n];if(!r)return e.error(`Unknown expression "${n}". If you wanted a literal array, use ["literal", [...]].`,0);const i=Array.isArray(r)?r[0]:r.type,s=Array.isArray(r)?[[r[1],r[2]]]:r.overloads,o=s.filter((([e])=>!Array.isArray(e)||e.length===t.length-1));let a=null;for(const[r,s]of o){a=new Qe(e.registry,$r,e.path,null,e.scope);const o=[];let l=!1;for(let e=1;e{return e=t,Array.isArray(e)?`(${e.map(Qt).join(", ")})`:`(${Qt(e.type)}...)`;var e;})).join(" | "),r=[];for(let n=1;n{n=e?n&&$r(t):n&&t instanceof Xe;})),!!n&&Rr(t)&&Ur(t,["zoom","heatmap-density","elevation","line-progress","accumulated","is-supported-script"])}function Rr(t){if(t instanceof Br){if("get"===t.name&&1===t.args.length)return !1;if("feature-state"===t.name)return !1;if("has"===t.name&&1===t.args.length)return !1;if("properties"===t.name||"geometry-type"===t.name||"id"===t.name)return !1;if(/^filter-/.test(t.name))return !1}if(t instanceof Jn)return !1;if(t instanceof Pr)return !1;let e=!0;return t.eachChild((t=>{e&&!Rr(t)&&(e=!1);})),e}function Nr(t){if(t instanceof Br&&"feature-state"===t.name)return !1;let e=!0;return t.eachChild((t=>{e&&!Nr(t)&&(e=!1);})),e}function Ur(t,e){if(t instanceof Br&&e.indexOf(t.name)>=0)return !1;let n=!0;return t.eachChild((t=>{n&&!Ur(t,e)&&(n=!1);})),n}function jr(t){return {result:"success",value:t}}function qr(t){return {result:"error",value:t}}function Gr(t){return "data-driven"===t["property-type"]||"cross-faded-data-driven"===t["property-type"]}function Xr(t){return !!t.expression&&t.expression.parameters.indexOf("zoom")>-1}function Yr(t){return !!t.expression&&t.expression.interpolated}function Zr(t){return t instanceof Number?"number":t instanceof String?"string":t instanceof Boolean?"boolean":Array.isArray(t)?"array":null===t?"null":typeof t}function Hr(t){return "object"==typeof t&&null!==t&&!Array.isArray(t)&&qe(t)===jt}function Wr(t){return t}function Kr(t,e){const n=t.stops&&"object"==typeof t.stops[0][0],r=n||!(n||void 0!==t.property),i=t.type||(Yr(e)?"exponential":"interval"),s=function(t){switch(t.type){case "color":return Te.parse;case "padding":return Be.parse;case "numberArray":return Ce.parse;case "colorArray":return Ve.parse;default:return null}}(e);if(s&&((t=Bt({},t)).stops&&(t.stops=t.stops.map((t=>[t[0],s(t[1])]))),t.default=s(t.default?t.default:e.default)),t.colorSpace&&"rgb"!==(o=t.colorSpace)&&"hcl"!==o&&"lab"!==o)throw new Error(`Unknown color space: "${t.colorSpace}"`);var o;const a=function(t){switch(t){case "exponential":return ei;case "interval":return ti;case "categorical":return Qr;case "identity":return ni;default:throw new Error(`Unknown function type "${t}"`)}}(i);let l,u;if("categorical"===i){l=Object.create(null);for(const e of t.stops)l[e[0]]=e[1];u=typeof t.stops[0][0];}if(n){const n={},r=[];for(let e=0;et[0])),evaluate:({zoom:n},r)=>ei({stops:i,base:t.base},e,n).evaluate(n,r)}}if(r){const n="exponential"===i?{name:"exponential",base:void 0!==t.base?t.base:1}:null;return {kind:"camera",interpolationType:n,interpolationFactor:mn.interpolationFactor.bind(void 0,n),zoomStops:t.stops.map((t=>t[0])),evaluate:({zoom:n})=>a(t,e,n,l,u)}}return {kind:"source",evaluate(n,r){const i=r&&r.properties?r.properties[t.property]:void 0;return void 0===i?Jr(t.default,e.default):a(t,e,i,l,u)}}}function Jr(t,e,n){return void 0!==t?t:void 0!==e?e:void 0!==n?n:void 0}function Qr(t,e,n,r,i){return Jr(typeof n===i?r[n]:void 0,t.default,e.default)}function ti(t,e,n){if("number"!==Zr(n))return Jr(t.default,e.default);const r=t.stops.length;if(1===r)return t.stops[0][1];if(n<=t.stops[0][0])return t.stops[0][1];if(n>=t.stops[r-1][0])return t.stops[r-1][1];const i=un(t.stops.map((t=>t[0])),n);return t.stops[i][1]}function ei(t,e,n){const r=void 0!==t.base?t.base:1;if("number"!==Zr(n))return Jr(t.default,e.default);const i=t.stops.length;if(1===i)return t.stops[0][1];if(n<=t.stops[0][0])return t.stops[0][1];if(n>=t.stops[i-1][0])return t.stops[i-1][1];const s=un(t.stops.map((t=>t[0])),n),o=function(t,e,n,r){const i=r-n,s=t-n;return 0===i?0:1===e?s/i:(Math.pow(e,s)-1)/(Math.pow(e,i)-1)}(n,r,t.stops[s][0],t.stops[s+1][0]),a=t.stops[s][1],l=t.stops[s+1][1],u=xn[e.type]||Wr;return "function"==typeof a.evaluate?{evaluate(...e){const n=a.evaluate.apply(void 0,e),r=l.evaluate.apply(void 0,e);if(void 0!==n&&void 0!==r)return u(n,r,o,t.colorSpace)}}:u(a,l,o,t.colorSpace)}function ni(t,e,n){switch(e.type){case "color":n=Te.parse(n);break;case "formatted":n=ze.fromString(n.toString());break;case "resolvedImage":n=Re.fromString(n.toString());break;case "padding":n=Be.parse(n);break;case "colorArray":n=Ve.parse(n);break;case "numberArray":n=Ce.parse(n);break;default:Zr(n)===e.type||"enum"===e.type&&e.values[n]||(n=void 0);}return Jr(n,t.default,e.default)}Br.register(zr,{error:[{kind:"error"},[$t],(t,[e])=>{throw new Le(e.evaluate(t))}],typeof:[$t,[qt],(t,[e])=>Qt(qe(e.evaluate(t)))],"to-rgba":[Jt(Ot,4),[Nt],(t,[e])=>{const[n,r,i,s]=e.evaluate(t).rgb;return [255*n,255*r,255*i,s]}],rgb:[Nt,[Ot,Ot,Ot],Cr],rgba:[Nt,[Ot,Ot,Ot,Ot],Cr],has:{type:Rt,overloads:[[[$t],(t,[e])=>Vr(e.evaluate(t),t.properties())],[[$t,jt],(t,[e,n])=>Vr(e.evaluate(t),n.evaluate(t))]]},get:{type:qt,overloads:[[[$t],(t,[e])=>Lr(e.evaluate(t),t.properties())],[[$t,jt],(t,[e,n])=>Lr(e.evaluate(t),n.evaluate(t))]]},"feature-state":[qt,[$t],(t,[e])=>Lr(e.evaluate(t),t.featureState||{})],properties:[jt,[],t=>t.properties()],"geometry-type":[$t,[],t=>t.geometryType()],id:[qt,[],t=>t.id()],zoom:[Ot,[],t=>t.globals.zoom],"heatmap-density":[Ot,[],t=>t.globals.heatmapDensity||0],elevation:[Ot,[],t=>t.globals.elevation||0],"line-progress":[Ot,[],t=>t.globals.lineProgress||0],accumulated:[qt,[],t=>void 0===t.globals.accumulated?null:t.globals.accumulated],"+":[Ot,Or(Ot),(t,e)=>{let n=0;for(const r of e)n+=r.evaluate(t);return n}],"*":[Ot,Or(Ot),(t,e)=>{let n=1;for(const r of e)n*=r.evaluate(t);return n}],"-":{type:Ot,overloads:[[[Ot,Ot],(t,[e,n])=>e.evaluate(t)-n.evaluate(t)],[[Ot],(t,[e])=>-e.evaluate(t)]]},"/":[Ot,[Ot,Ot],(t,[e,n])=>e.evaluate(t)/n.evaluate(t)],"%":[Ot,[Ot,Ot],(t,[e,n])=>e.evaluate(t)%n.evaluate(t)],ln2:[Ot,[],()=>Math.LN2],pi:[Ot,[],()=>Math.PI],e:[Ot,[],()=>Math.E],"^":[Ot,[Ot,Ot],(t,[e,n])=>Math.pow(e.evaluate(t),n.evaluate(t))],sqrt:[Ot,[Ot],(t,[e])=>Math.sqrt(e.evaluate(t))],log10:[Ot,[Ot],(t,[e])=>Math.log(e.evaluate(t))/Math.LN10],ln:[Ot,[Ot],(t,[e])=>Math.log(e.evaluate(t))],log2:[Ot,[Ot],(t,[e])=>Math.log(e.evaluate(t))/Math.LN2],sin:[Ot,[Ot],(t,[e])=>Math.sin(e.evaluate(t))],cos:[Ot,[Ot],(t,[e])=>Math.cos(e.evaluate(t))],tan:[Ot,[Ot],(t,[e])=>Math.tan(e.evaluate(t))],asin:[Ot,[Ot],(t,[e])=>Math.asin(e.evaluate(t))],acos:[Ot,[Ot],(t,[e])=>Math.acos(e.evaluate(t))],atan:[Ot,[Ot],(t,[e])=>Math.atan(e.evaluate(t))],min:[Ot,Or(Ot),(t,e)=>Math.min(...e.map((e=>e.evaluate(t))))],max:[Ot,Or(Ot),(t,e)=>Math.max(...e.map((e=>e.evaluate(t))))],abs:[Ot,[Ot],(t,[e])=>Math.abs(e.evaluate(t))],round:[Ot,[Ot],(t,[e])=>{const n=e.evaluate(t);return n<0?-Math.round(-n):Math.round(n)}],floor:[Ot,[Ot],(t,[e])=>Math.floor(e.evaluate(t))],ceil:[Ot,[Ot],(t,[e])=>Math.ceil(e.evaluate(t))],"filter-==":[Rt,[$t,qt],(t,[e,n])=>t.properties()[e.value]===n.value],"filter-id-==":[Rt,[qt],(t,[e])=>t.id()===e.value],"filter-type-==":[Rt,[$t],(t,[e])=>t.geometryType()===e.value],"filter-<":[Rt,[$t,qt],(t,[e,n])=>{const r=t.properties()[e.value],i=n.value;return typeof r==typeof i&&r{const n=t.id(),r=e.value;return typeof n==typeof r&&n":[Rt,[$t,qt],(t,[e,n])=>{const r=t.properties()[e.value],i=n.value;return typeof r==typeof i&&r>i}],"filter-id->":[Rt,[qt],(t,[e])=>{const n=t.id(),r=e.value;return typeof n==typeof r&&n>r}],"filter-<=":[Rt,[$t,qt],(t,[e,n])=>{const r=t.properties()[e.value],i=n.value;return typeof r==typeof i&&r<=i}],"filter-id-<=":[Rt,[qt],(t,[e])=>{const n=t.id(),r=e.value;return typeof n==typeof r&&n<=r}],"filter->=":[Rt,[$t,qt],(t,[e,n])=>{const r=t.properties()[e.value],i=n.value;return typeof r==typeof i&&r>=i}],"filter-id->=":[Rt,[qt],(t,[e])=>{const n=t.id(),r=e.value;return typeof n==typeof r&&n>=r}],"filter-has":[Rt,[qt],(t,[e])=>e.value in t.properties()],"filter-has-id":[Rt,[],t=>null!==t.id()&&void 0!==t.id()],"filter-type-in":[Rt,[Jt($t)],(t,[e])=>e.value.indexOf(t.geometryType())>=0],"filter-id-in":[Rt,[Jt(qt)],(t,[e])=>e.value.indexOf(t.id())>=0],"filter-in-small":[Rt,[$t,Jt(qt)],(t,[e,n])=>n.value.indexOf(t.properties()[e.value])>=0],"filter-in-large":[Rt,[$t,Jt(qt)],(t,[e,n])=>function(t,e,n,r){for(;n<=r;){const i=n+r>>1;if(e[i]===t)return !0;e[i]>t?r=i-1:n=i+1;}return !1}(t.properties()[e.value],n.value,0,n.value.length-1)],all:{type:Rt,overloads:[[[Rt,Rt],(t,[e,n])=>e.evaluate(t)&&n.evaluate(t)],[Or(Rt),(t,e)=>{for(const n of e)if(!n.evaluate(t))return !1;return !0}]]},any:{type:Rt,overloads:[[[Rt,Rt],(t,[e,n])=>e.evaluate(t)||n.evaluate(t)],[Or(Rt),(t,e)=>{for(const n of e)if(n.evaluate(t))return !0;return !1}]]},"!":[Rt,[Rt],(t,[e])=>!e.evaluate(t)],"is-supported-script":[Rt,[$t],(t,[e])=>{const n=t.globals&&t.globals.isSupportedScript;return !n||n(e.evaluate(t))}],upcase:[$t,[$t],(t,[e])=>e.evaluate(t).toUpperCase()],downcase:[$t,[$t],(t,[e])=>e.evaluate(t).toLowerCase()],concat:[$t,Or(qt),(t,e)=>e.map((e=>Ge(e.evaluate(t)))).join("")],split:[Jt($t),[$t,$t],(t,[e,n])=>e.evaluate(t).split(n.evaluate(t))],join:[$t,[Jt($t),$t],(t,[e,n])=>e.evaluate(t).join(n.evaluate(t))],"resolved-locale":[$t,[Gt],(t,[e])=>e.evaluate(t).resolvedLocale()]});class ri{constructor(t,e,n){this.expression=t,this._warningHistory={},this._evaluator=new Je,this._defaultValue=e?function(t){if("color"===t.type&&Hr(t.default))return new Te(0,0,0,0);switch(t.type){case "color":return Te.parse(t.default)||null;case "padding":return Be.parse(t.default)||null;case "numberArray":return Ce.parse(t.default)||null;case "colorArray":return Ve.parse(t.default)||null;case "variableAnchorOffsetCollection":return $e.parse(t.default)||null;case "projectionDefinition":return Ne.parse(t.default)||null;default:return void 0===t.default?null:t.default}}(e):null,this._enumValues=e&&"enum"===e.type?e.values:null,this._globalState=n;}evaluateWithoutErrorHandling(t,e,n,r,i,s){return this._globalState&&(t=pi(t,this._globalState)),this._evaluator.globals=t,this._evaluator.feature=e,this._evaluator.featureState=n,this._evaluator.canonical=r,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=s,this.expression.evaluate(this._evaluator)}evaluate(t,e,n,r,i,s){this._globalState&&(t=pi(t,this._globalState)),this._evaluator.globals=t,this._evaluator.feature=e||null,this._evaluator.featureState=n||null,this._evaluator.canonical=r,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=s||null;try{const t=this.expression.evaluate(this._evaluator);if(null==t||"number"==typeof t&&t!=t)return this._defaultValue;if(this._enumValues&&!(t in this._enumValues))throw new Le(`Expected value to be one of ${Object.keys(this._enumValues).map((t=>JSON.stringify(t))).join(", ")}, but found ${JSON.stringify(t)} instead.`);return t}catch(t){return this._warningHistory[t.message]||(this._warningHistory[t.message]=!0,"undefined"!=typeof console&&console.warn(t.message)),this._defaultValue}}}function ii(t){return Array.isArray(t)&&t.length>0&&"string"==typeof t[0]&&t[0]in zr}function si(t,e,n){const r=new Qe(zr,$r,[],e?function(t){const e={color:Nt,string:$t,number:Ot,enum:$t,boolean:Rt,formatted:Xt,padding:Yt,numberArray:Ht,colorArray:Zt,projectionDefinition:Ut,resolvedImage:Wt,variableAnchorOffsetCollection:Kt};return "array"===t.type?Jt(e[t.value]||qt,t.length):e[t.type]}(e):void 0),i=r.parse(t,void 0,void 0,void 0,e&&"string"===e.type?{typeAnnotation:"coerce"}:void 0);return i?jr(new ri(i,e,n)):qr(r.errors)}class oi{constructor(t,e,n){this.kind=t,this._styleExpression=e,this.isStateDependent="constant"!==t&&!Nr(e.expression),this.globalStateRefs=hi(e.expression),this._globalState=n;}evaluateWithoutErrorHandling(t,e,n,r,i,s){return this._globalState&&(t=pi(t,this._globalState)),this._styleExpression.evaluateWithoutErrorHandling(t,e,n,r,i,s)}evaluate(t,e,n,r,i,s){return this._globalState&&(t=pi(t,this._globalState)),this._styleExpression.evaluate(t,e,n,r,i,s)}}class ai{constructor(t,e,n,r,i){this.kind=t,this.zoomStops=n,this._styleExpression=e,this.isStateDependent="camera"!==t&&!Nr(e.expression),this.globalStateRefs=hi(e.expression),this.interpolationType=r,this._globalState=i;}evaluateWithoutErrorHandling(t,e,n,r,i,s){return this._globalState&&(t=pi(t,this._globalState)),this._styleExpression.evaluateWithoutErrorHandling(t,e,n,r,i,s)}evaluate(t,e,n,r,i,s){return this._globalState&&(t=pi(t,this._globalState)),this._styleExpression.evaluate(t,e,n,r,i,s)}interpolationFactor(t,e,n){return this.interpolationType?mn.interpolationFactor(this.interpolationType,t,e,n):0}}function li(t,e,n){const r=si(t,e,n);if("error"===r.result)return r;const i=r.value.expression,s=Rr(i);if(!s&&!Gr(e))return qr([new Ct("","data expressions not supported")]);const o=Ur(i,["zoom"]);if(!o&&!Xr(e))return qr([new Ct("","zoom expressions not supported")]);const a=ci(i);return a||o?a instanceof Ct?qr([a]):a instanceof mn&&!Yr(e)?qr([new Ct("",'"interpolate" expressions cannot be used with this property')]):jr(a?new ai(s?"camera":"composite",r.value,a.labels,a instanceof mn?a.interpolation:void 0,n):new oi(s?"constant":"source",r.value,n)):qr([new Ct("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')])}class ui{constructor(t,e){this._parameters=t,this._specification=e,Bt(this,Kr(this._parameters,this._specification));}static deserialize(t){return new ui(t._parameters,t._specification)}static serialize(t){return {_parameters:t._parameters,_specification:t._specification}}}function ci(t){let e=null;if(t instanceof tn)e=ci(t.result);else if(t instanceof vn){for(const n of t.args)if(e=ci(n),e)break}else (t instanceof cn||t instanceof mn)&&t.input instanceof Br&&"zoom"===t.input.name&&(e=t);return e instanceof Ct||t.eachChild((t=>{const n=ci(t);n instanceof Ct?e=n:!e&&n?e=new Ct("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):e&&n&&e!==n&&(e=new Ct("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'));})),e}function hi(t,e=new Set){return t instanceof Dr&&e.add(t.key),t.eachChild((t=>{hi(t,e);})),e}function pi(t,e){const{zoom:n,heatmapDensity:r,elevation:i,lineProgress:s,isSupportedScript:o,accumulated:a}=null!=t?t:{};return {zoom:n,heatmapDensity:r,elevation:i,lineProgress:s,isSupportedScript:o,accumulated:a,globalState:e}}function fi(t){if(!0===t||!1===t)return !0;if(!Array.isArray(t)||0===t.length)return !1;switch(t[0]){case "has":return t.length>=2&&"$id"!==t[1]&&"$type"!==t[1];case "in":return t.length>=3&&("string"!=typeof t[1]||Array.isArray(t[2]));case "!in":case "!has":case "none":return !1;case "==":case "!=":case ">":case ">=":case "<":case "<=":return 3!==t.length||Array.isArray(t[1])||Array.isArray(t[2]);case "any":case "all":for(const e of t.slice(1))if(!fi(e)&&"boolean"!=typeof e)return !1;return !0;default:return !0}}const di={type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}};function yi(t,e){if(null==t)return {filter:()=>!0,needGeometry:!1,getGlobalStateRefs:()=>new Set};fi(t)||(t=xi(t));const n=si(t,di,e);if("error"===n.result)throw new Error(n.value.map((t=>`${t.key}: ${t.message}`)).join(", "));return {filter:(t,e,r)=>n.value.evaluate(t,e,{},r),needGeometry:gi(t),getGlobalStateRefs:()=>hi(n.value.expression)}}function mi(t,e){return te?1:0}function gi(t){if(!Array.isArray(t))return !1;if("within"===t[0]||"distance"===t[0])return !0;for(let e=1;e"===e||"<="===e||">="===e?vi(t[1],t[2],e):"any"===e?(n=t.slice(1),["any"].concat(n.map(xi))):"all"===e?["all"].concat(t.slice(1).map(xi)):"none"===e?["all"].concat(t.slice(1).map(xi).map(_i)):"in"===e?bi(t[1],t.slice(2)):"!in"===e?_i(bi(t[1],t.slice(2))):"has"===e?wi(t[1]):"!has"!==e||_i(wi(t[1]));var n;}function vi(t,e,n){switch(t){case "$type":return [`filter-type-${n}`,e];case "$id":return [`filter-id-${n}`,e];default:return [`filter-${n}`,t,e]}}function bi(t,e){if(0===e.length)return !1;switch(t){case "$type":return ["filter-type-in",["literal",e]];case "$id":return ["filter-id-in",["literal",e]];default:return e.length>200&&!e.some((t=>typeof t!=typeof e[0]))?["filter-in-large",t,["literal",e.sort(mi)]]:["filter-in-small",t,["literal",e]]}}function wi(t){switch(t){case "$type":return !0;case "$id":return ["filter-has-id"];default:return ["filter-has",t]}}function _i(t){return ["!",t]}function Si(t){const e=typeof t;if("number"===e||"boolean"===e||"string"===e||null==t)return JSON.stringify(t);if(Array.isArray(t)){let e="[";for(const n of t)e+=`${Si(n)},`;return `${e}]`}const n=Object.keys(t).sort();let r="{";for(let e=0;er.maximum?[new zt(e,n,`${n} is greater than the maximum value ${r.maximum}`)]:[]}function Pi(t){const e=t.valueSpec,n=ki(t.value.type);let r,i,s,o={};const a="categorical"!==n&&void 0===t.value.property,l=!a,u="array"===Zr(t.value.stops)&&"array"===Zr(t.value.stops[0])&&"object"===Zr(t.value.stops[0][0]),c=Ei({key:t.key,value:t.value,valueSpec:t.styleSpec.function,validateSpec:t.validateSpec,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{stops:function(t){if("identity"===n)return [new zt(t.key,t.value,'identity function may not have a "stops" property')];let e=[];const r=t.value;return e=e.concat(Ti({key:t.key,value:r,valueSpec:t.valueSpec,validateSpec:t.validateSpec,style:t.style,styleSpec:t.styleSpec,arrayElementValidator:h})),"array"===Zr(r)&&0===r.length&&e.push(new zt(t.key,r,"array must have at least one stop")),e},default:function(t){return t.validateSpec({key:t.key,value:t.value,valueSpec:e,validateSpec:t.validateSpec,style:t.style,styleSpec:t.styleSpec})}}});return "identity"===n&&a&&c.push(new zt(t.key,t.value,'missing required property "property"')),"identity"===n||t.value.stops||c.push(new zt(t.key,t.value,'missing required property "stops"')),"exponential"===n&&t.valueSpec.expression&&!Yr(t.valueSpec)&&c.push(new zt(t.key,t.value,"exponential functions not supported")),t.styleSpec.$version>=8&&(l&&!Gr(t.valueSpec)?c.push(new zt(t.key,t.value,"property functions not supported")):a&&!Xr(t.valueSpec)&&c.push(new zt(t.key,t.value,"zoom functions not supported"))),"categorical"!==n&&!u||void 0!==t.value.property||c.push(new zt(t.key,t.value,'"property" property is required')),c;function h(t){let n=[];const r=t.value,a=t.key;if("array"!==Zr(r))return [new zt(a,r,`array expected, ${Zr(r)} found`)];if(2!==r.length)return [new zt(a,r,`array length 2 expected, length ${r.length} found`)];if(u){if("object"!==Zr(r[0]))return [new zt(a,r,`object expected, ${Zr(r[0])} found`)];if(void 0===r[0].zoom)return [new zt(a,r,"object stop key must have zoom")];if(void 0===r[0].value)return [new zt(a,r,"object stop key must have value")];if(s&&s>ki(r[0].zoom))return [new zt(a,r[0].zoom,"stop zoom values must appear in ascending order")];ki(r[0].zoom)!==s&&(s=ki(r[0].zoom),i=void 0,o={}),n=n.concat(Ei({key:`${a}[0]`,value:r[0],valueSpec:{zoom:{}},validateSpec:t.validateSpec,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{zoom:Fi,value:p}}));}else n=n.concat(p({key:`${a}[0]`,value:r[0],validateSpec:t.validateSpec,style:t.style,styleSpec:t.styleSpec},r));return ii(Ii(r[1]))?n.concat([new zt(`${a}[1]`,r[1],"expressions are not allowed in function stops.")]):n.concat(t.validateSpec({key:`${a}[1]`,value:r[1],valueSpec:e,validateSpec:t.validateSpec,style:t.style,styleSpec:t.styleSpec}))}function p(t,s){const a=Zr(t.value),l=ki(t.value),u=null!==t.value?t.value:s;if(r){if(a!==r)return [new zt(t.key,u,`${a} stop domain type must match previous stop domain type ${r}`)]}else r=a;if("number"!==a&&"string"!==a&&"boolean"!==a)return [new zt(t.key,u,"stop domain value must be a number, string, or boolean")];if("number"!==a&&"categorical"!==n){let r=`number expected, ${a} found`;return Gr(e)&&void 0===n&&(r+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new zt(t.key,u,r)]}return "categorical"!==n||"number"!==a||isFinite(l)&&Math.floor(l)===l?"categorical"!==n&&"number"===a&&void 0!==i&&lnew zt(`${t.key}${e.key}`,t.value,e.message)));const n=e.value.expression||e.value._styleExpression.expression;if("property"===t.expressionContext&&"text-font"===t.propertyKey&&!n.outputDefined())return [new zt(t.key,t.value,`Invalid data expression for "${t.propertyKey}". Output values must be contained as literals within the expression.`)];if("property"===t.expressionContext&&"layout"===t.propertyType&&!Nr(n))return [new zt(t.key,t.value,'"feature-state" data expressions are not supported with layout properties.')];if("filter"===t.expressionContext&&!Nr(n))return [new zt(t.key,t.value,'"feature-state" data expressions are not supported with filters.')];if(t.expressionContext&&0===t.expressionContext.indexOf("cluster")){if(!Ur(n,["zoom","feature-state"]))return [new zt(t.key,t.value,'"zoom" and "feature-state" expressions are not supported with cluster properties.')];if("cluster-initial"===t.expressionContext&&!Rr(n))return [new zt(t.key,t.value,"Feature data expressions are not supported with initial expression part of cluster properties.")]}return []}function zi(t){const e=t.key,n=t.value,r=Zr(n);return "string"!==r?[new zt(e,n,`color expected, ${r} found`)]:Te.parse(String(n))?[]:[new zt(e,n,`color expected, "${n}" found`)]}function Bi(t){const e=t.key,n=t.value,r=t.valueSpec,i=[];return Array.isArray(r.values)?-1===r.values.indexOf(ki(n))&&i.push(new zt(e,n,`expected one of [${r.values.join(", ")}], ${JSON.stringify(n)} found`)):-1===Object.keys(r.values).indexOf(ki(n))&&i.push(new zt(e,n,`expected one of [${Object.keys(r.values).join(", ")}], ${JSON.stringify(n)} found`)),i}function Ci(t){return fi(Ii(t.value))?Di(Bt({},t,{expressionContext:"filter",valueSpec:{value:"boolean"}})):Vi(t)}function Vi(t){const e=t.value,n=t.key;if("array"!==Zr(e))return [new zt(n,e,`array expected, ${Zr(e)} found`)];const r=t.styleSpec;let i,s=[];if(e.length<1)return [new zt(n,e,"filter array must have at least 1 element")];switch(s=s.concat(Bi({key:`${n}[0]`,value:e[0],valueSpec:r.filter_operator,style:t.style,styleSpec:t.styleSpec})),ki(e[0])){case "<":case "<=":case ">":case ">=":e.length>=2&&"$type"===ki(e[1])&&s.push(new zt(n,e,`"$type" cannot be use with operator "${e[0]}"`));case "==":case "!=":3!==e.length&&s.push(new zt(n,e,`filter array for operator "${e[0]}" must have 3 elements`));case "in":case "!in":e.length>=2&&(i=Zr(e[1]),"string"!==i&&s.push(new zt(`${n}[1]`,e[1],`string expected, ${i} found`)));for(let o=2;o{t in i&&r.push(new zt(s,i[t],`"${t}" is prohibited for ref layers`));})),o.layers.forEach((e=>{ki(e.id)===u&&(t=e);})),t?t.ref?r.push(new zt(s,i.ref,"ref cannot reference another ref layer")):l=ki(t.type):r.push(new zt(s,i.ref,`ref layer "${u}" not found`));}else if("background"!==l)if(i.source){const t=o.sources&&o.sources[i.source],e=t&&ki(t.type);t?"vector"===e&&"raster"===l?r.push(new zt(s,i.source,`layer "${i.id}" requires a raster source`)):"raster-dem"!==e&&"hillshade"===l||"raster-dem"!==e&&"color-relief"===l?r.push(new zt(s,i.source,`layer "${i.id}" requires a raster-dem source`)):"raster"===e&&"raster"!==l?r.push(new zt(s,i.source,`layer "${i.id}" requires a vector source`)):"vector"!==e||i["source-layer"]?"raster-dem"===e&&"hillshade"!==l&&"color-relief"!==l?r.push(new zt(s,i.source,"raster-dem source can only be used with layer type 'hillshade' or 'color-relief'.")):"line"!==l||!i.paint||!i.paint["line-gradient"]||"geojson"===e&&t.lineMetrics||r.push(new zt(s,i,`layer "${i.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):r.push(new zt(s,i,`layer "${i.id}" must specify a "source-layer"`)):r.push(new zt(s,i.source,`source "${i.source}" not found`));}else r.push(new zt(s,i,'missing required property "source"'));return "raster"===l&&(null===(e=i.paint)||void 0===e?void 0:e.resampling)&&(null===(n=i.paint)||void 0===n?void 0:n["raster-resampling"])&&r.push(new zt(s,i.paint,`layer "${i.id}" redundantly specifies "resampling" and "raster-resampling" paint properties, but only one is allowed. It is advised to use "resampling".`)),r=r.concat(Ei({key:s,value:i,valueSpec:a.layer,style:t.style,styleSpec:t.styleSpec,validateSpec:t.validateSpec,objectElementValidators:{"*":()=>[],type:()=>t.validateSpec({key:`${s}.type`,value:i.type,valueSpec:a.layer.type,style:t.style,styleSpec:t.styleSpec,validateSpec:t.validateSpec,object:i,objectKey:"type"}),filter:Ci,layout:t=>Ei({layer:i,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,validateSpec:t.validateSpec,objectElementValidators:{"*":t=>$i(Bt({layerType:l},t))}}),paint:t=>Ei({layer:i,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,validateSpec:t.validateSpec,objectElementValidators:{"*":t=>Oi(Bt({layerType:l},t))}})}})),r}function Ni(t){const e=t.value,n=t.key,r=Zr(e);return "string"!==r?[new zt(n,e,`string expected, ${r} found`)]:[]}const Ui={promoteId:function({key:t,value:e}){if("string"===Zr(e))return Ni({key:t,value:e});{const n=[];for(const r in e)n.push(...Ni({key:`${t}.${r}`,value:e[r]}));return n}}};function ji(t){const e=t.value,n=t.key,r=t.styleSpec,i=t.style,s=t.validateSpec;if(!e.type)return [new zt(n,e,'"type" is required')];const o=ki(e.type);let a;switch(o){case "vector":case "raster":return a=Ei({key:n,value:e,valueSpec:r[`source_${o.replace("-","_")}`],style:t.style,styleSpec:r,objectElementValidators:Ui,validateSpec:s}),a;case "raster-dem":return a=function(t){var e;const n=null!==(e=t.sourceName)&&void 0!==e?e:"",r=t.value,i=t.styleSpec,s=i.source_raster_dem,o=t.style;let a=[];const l=Zr(r);if(void 0===r)return a;if("object"!==l)return a.push(new zt("source_raster_dem",r,`object expected, ${l} found`)),a;const u="custom"===ki(r.encoding),c=["redFactor","greenFactor","blueFactor","baseShift"],h=t.value.encoding?`"${t.value.encoding}"`:"Default";for(const e in r)!u&&c.includes(e)?a.push(new zt(e,r[e],`In "${n}": "${e}" is only valid when "encoding" is set to "custom". ${h} encoding found`)):s[e]?a=a.concat(t.validateSpec({key:e,value:r[e],valueSpec:s[e],validateSpec:t.validateSpec,style:o,styleSpec:i})):a.push(new zt(e,r[e],`unknown property "${e}"`));return a}({sourceName:n,value:e,style:t.style,styleSpec:r,validateSpec:s}),a;case "geojson":if(a=Ei({key:n,value:e,valueSpec:r.source_geojson,style:i,styleSpec:r,validateSpec:s,objectElementValidators:Ui}),e.cluster)for(const t in e.clusterProperties){const[r,i]=e.clusterProperties[t],s="string"==typeof r?[r,["accumulated"],["get",t]]:r;a.push(...Di({key:`${n}.${t}.map`,value:i,expressionContext:"cluster-map"})),a.push(...Di({key:`${n}.${t}.reduce`,value:s,expressionContext:"cluster-reduce"}));}return a;case "video":return Ei({key:n,value:e,valueSpec:r.source_video,style:i,validateSpec:s,styleSpec:r});case "image":return Ei({key:n,value:e,valueSpec:r.source_image,style:i,validateSpec:s,styleSpec:r});case "canvas":return [new zt(n,null,"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.","source.canvas")];default:return Bi({key:`${n}.type`,value:e.type,valueSpec:{values:["vector","raster","raster-dem","geojson","video","image"]}})}}function qi(t){const e=t.value,n=t.styleSpec,r=n.light,i=t.style;let s=[];const o=Zr(e);if(void 0===e)return s;if("object"!==o)return s=s.concat([new zt("light",e,`object expected, ${o} found`)]),s;for(const o in e){const a=o.match(/^(.*)-transition$/);s=s.concat(a&&r[a[1]]&&r[a[1]].transition?t.validateSpec({key:o,value:e[o],valueSpec:n.transition,validateSpec:t.validateSpec,style:i,styleSpec:n}):r[o]?t.validateSpec({key:o,value:e[o],valueSpec:r[o],validateSpec:t.validateSpec,style:i,styleSpec:n}):[new zt(o,e[o],`unknown property "${o}"`)]);}return s}function Gi(t){const e=t.value,n=t.styleSpec,r=n.sky,i=t.style,s=Zr(e);if(void 0===e)return [];if("object"!==s)return [new zt("sky",e,`object expected, ${s} found`)];let o=[];for(const s in e)o=o.concat(r[s]?t.validateSpec({key:s,value:e[s],valueSpec:r[s],style:i,styleSpec:n}):[new zt(s,e[s],`unknown property "${s}"`)]);return o}function Xi(t){const e=t.value,n=t.styleSpec,r=n.terrain,i=t.style;let s=[];const o=Zr(e);if(void 0===e)return s;if("object"!==o)return s=s.concat([new zt("terrain",e,`object expected, ${o} found`)]),s;for(const o in e)s=s.concat(r[o]?t.validateSpec({key:o,value:e[o],valueSpec:r[o],validateSpec:t.validateSpec,style:i,styleSpec:n}):[new zt(o,e[o],`unknown property "${o}"`)]);return s}function Yi(t){let e=[];const n=t.value,r=t.key;if(Array.isArray(n)){const i=[],s=[];for(const o in n)n[o].id&&i.includes(n[o].id)&&e.push(new zt(r,n,`all the sprites' ids must be unique, but ${n[o].id} is duplicated`)),i.push(n[o].id),n[o].url&&s.includes(n[o].url)&&e.push(new zt(r,n,`all the sprites' URLs must be unique, but ${n[o].url} is duplicated`)),s.push(n[o].url),e=e.concat(Ei({key:`${r}[${o}]`,value:n[o],valueSpec:{id:{type:"string",required:!0},url:{type:"string",required:!0}},validateSpec:t.validateSpec}));return e}return Ni({key:r,value:n})}function Zi(t){return Boolean(t)&&t.constructor===Object}function Hi(t){return Zi(t.value)?[]:[new zt(t.key,t.value,`object expected, ${Zr(t.value)} found`)]}const Wi={"*":()=>[],array:Ti,boolean:function(t){const e=t.value,n=t.key,r=Zr(e);return "boolean"!==r?[new zt(n,e,`boolean expected, ${r} found`)]:[]},number:Fi,color:zi,constants:Mi,enum:Bi,filter:Ci,function:Pi,layer:Ri,object:Ei,source:ji,light:qi,sky:Gi,terrain:Xi,projection:function(t){const e=t.value,n=t.styleSpec,r=n.projection,i=t.style,s=Zr(e);if(void 0===e)return [];if("object"!==s)return [new zt("projection",e,`object expected, ${s} found`)];let o=[];for(const s in e)o=o.concat(r[s]?t.validateSpec({key:s,value:e[s],valueSpec:r[s],style:i,styleSpec:n}):[new zt(s,e[s],`unknown property "${s}"`)]);return o},projectionDefinition:function(t){const e=t.key;let n=t.value;n=n instanceof String?n.valueOf():n;const r=Zr(n);return "array"!==r||function(t){return Array.isArray(t)&&3===t.length&&"string"==typeof t[0]&&"string"==typeof t[1]&&"number"==typeof t[2]}(n)||function(t){return !!["interpolate","step","literal"].includes(t[0])}(n)?["array","string"].includes(r)?[]:[new zt(e,n,`projection expected, invalid type "${r}" found`)]:[new zt(e,n,`projection expected, invalid array ${JSON.stringify(n)} found`)]},string:Ni,formatted:function(t){return 0===Ni(t).length?[]:Di(t)},resolvedImage:function(t){return 0===Ni(t).length?[]:Di(t)},padding:function(t){const e=t.key,n=t.value;if("array"===Zr(n)){if(n.length<1||n.length>4)return [new zt(e,n,`padding requires 1 to 4 values; ${n.length} values found`)];const r={type:"number"};let i=[];for(let s=0;s[]}})),t.constants&&(n=n.concat(Mi({key:"constants",value:t.constants}))),es(n)}function ts(t){return function(e){return t(Object.assign({},e,{validateSpec:Ki}))}}function es(t){return [].concat(t).sort(((t,e)=>t.line-e.line))}function ns(t){return function(...e){return es(t.apply(this,e))}}Qi.source=ns(ts(ji)),Qi.sprite=ns(ts(Yi)),Qi.glyphs=ns(ts(Ji)),Qi.light=ns(ts(qi)),Qi.sky=ns(ts(Gi)),Qi.terrain=ns(ts(Xi)),Qi.state=ns(ts(Hi)),Qi.layer=ns(ts(Ri)),Qi.filter=ns(ts(Ci)),Qi.paintProperty=ns(ts(Oi)),Qi.layoutProperty=ns(ts($i));const rs={type:"enum","property-type":"data-constant",expression:{interpolated:!1,parameters:["global-state"]},values:{visible:{},none:{}},transition:!1,default:"visible"};class is{constructor(t,e){this._globalState=e,this.setValue(t);}evaluate(){var t;return null!==(t=this._literalValue)&&void 0!==t?t:this._compiledValue.evaluate({})}setValue(t){if(null==t||"visible"===t||"none"===t)return this._literalValue="none"===t?"none":"visible",this._compiledValue=void 0,void(this._globalStateRefs=new Set);const e=si(t,rs,this._globalState);if("error"===e.result)throw this._literalValue="visible",this._compiledValue=void 0,new Error(e.value.map((t=>`${t.key}: ${t.message}`)).join(", "));this._literalValue=void 0,this._compiledValue=e.value,this._globalStateRefs=hi(e.value.expression);}getGlobalStateRefs(){return this._globalStateRefs}}const ss=wt,os=Qi,as=os.light,ls=os.sky,us=os.paintProperty,cs=os.layoutProperty;function hs(t,e){let n=!1;if(null==e?void 0:e.length)for(const r of e)t.fire(new vt(new Error(r.message))),n=!0;return n}class ps{constructor(t,e,n){const r=this.cells=[];if(t instanceof ArrayBuffer){this.arrayBuffer=t;const i=new Int32Array(this.arrayBuffer);t=i[0],this.d=(e=i[1])+2*(n=i[2]);for(let t=0;t=u[l+0]&&r>=u[l+1])?(o[c]=!0,s.push(i[c])):o[c]=!1;}}}_forEachCell(t,e,n,r,i,s,o,a){const l=this._convertToCellCoord(t),u=this._convertToCellCoord(e),c=this._convertToCellCoord(n),h=this._convertToCellCoord(r);for(let p=l;p<=c;p++)for(let l=u;l<=h;l++){const u=this.d*l+p;if((!a||a(this._convertFromCellCoord(p),this._convertFromCellCoord(l),this._convertFromCellCoord(p+1),this._convertFromCellCoord(l+1)))&&i.call(this,t,e,n,r,u,s,o,a))return}}_convertFromCellCoord(t){return (t-this.padding)/this.scale}_convertToCellCoord(t){return Math.max(0,Math.min(this.d-1,Math.floor(t*this.scale)+this.padding))}toArrayBuffer(){if(this.arrayBuffer)return this.arrayBuffer;const t=this.cells,e=3+this.cells.length+1+1;let n=0;for(const t of this.cells)n+=t.length;const r=new Int32Array(e+n+this.keys.length+this.bboxes.length);r[0]=this.extent,r[1]=this.n,r[2]=this.padding;let i=e;for(let e=0;en?(this.lastIntegerZoom=n+1,this.lastIntegerZoomTime=e):this.lastFloorZoom{try{return new RegExp(`\\p{sc=${t}}`,"u").source}catch(t){return null}})).filter((t=>t));return new RegExp(e.join("|"),"u")}const Is=ks(["Arab","Dupl","Mong","Ougr","Syrc"]);function Es(t){return !Is.test(String.fromCodePoint(t))}function Ts(t){return !(_s(t)||(e=t,/[\xA7\xA9\xAE\xB1\xBC-\xBE\xD7\xF7\u2016\u2020\u2021\u2030\u2031\u203B\u203C\u2042\u2047-\u2049\u2051\u2100-\u218F\u221E\u2234\u2235\u2300-\u2307\u230C-\u231F\u2324-\u2328\u232B\u237D-\u239A\u23BE-\u23CD\u23CF\u23D1-\u23DB\u23E2-\u2422\u2424-\u24FF\u25A0-\u2619\u2620-\u2767\u2776-\u2793\u2B12-\u2B2F\u2B50-\u2B59\u2BB8-\u2BEB\u3000-\u303F\u30A0-\u30FF\uE000-\uF8FF\uFE30-\uFE6F\uFF00-\uFFEF\uFFFC\uFFFD]|[\uDB80-\uDBFF][\uDC00-\uDFFF]/gim.test(String.fromCodePoint(e))));var e;}const Fs=ks(["Adlm","Arab","Armi","Avst","Chrs","Cprt","Egyp","Elym","Gara","Hatr","Hebr","Hung","Khar","Lydi","Mand","Mani","Mend","Merc","Mero","Narb","Nbat","Nkoo","Orkh","Palm","Phli","Phlp","Phnx","Prti","Rohg","Samr","Sarb","Sogo","Syrc","Thaa","Todr","Yezi"]);function Ps(t){return Fs.test(String.fromCodePoint(t))}function Ds(t,e){return !(!e&&Ps(t)||/[\u0900-\u0DFF\u0F00-\u109F\u1780-\u17FF]/gim.test(String.fromCodePoint(t)))}function zs(t){for(const e of t)if(Ps(e.codePointAt(0)))return !0;return !1}const Bs=new class{constructor(){this.TIMEOUT=5e3,this.applyArabicShaping=null,this.processBidirectionalText=null,this.processStyledBidirectionalText=null,this.pluginStatus="unavailable",this.pluginURL=null,this.loadScriptResolve=()=>{};}setState(t){this.pluginStatus=t.pluginStatus,this.pluginURL=t.pluginURL;}getState(){return {pluginStatus:this.pluginStatus,pluginURL:this.pluginURL}}setMethods(t){if(Bs.isParsed())throw new Error("RTL text plugin already registered.");this.applyArabicShaping=t.applyArabicShaping,this.processBidirectionalText=t.processBidirectionalText,this.processStyledBidirectionalText=t.processStyledBidirectionalText,this.loadScriptResolve();}isParsed(){return null!=this.applyArabicShaping&&null!=this.processBidirectionalText&&null!=this.processStyledBidirectionalText}getRTLTextPluginStatus(){return this.pluginStatus}syncState(t,n){return e(this,void 0,void 0,(function*(){if(this.isParsed())return this.getState();if("loading"!==t.pluginStatus)return this.setState(t),t;const e=t.pluginURL,r=new Promise((t=>{this.loadScriptResolve=t;}));n(e);const i=new Promise((t=>setTimeout((()=>t()),this.TIMEOUT)));if(yield Promise.race([r,i]),this.isParsed()){const t={pluginStatus:"loaded",pluginURL:e};return this.setState(t),t}throw this.setState({pluginStatus:"error",pluginURL:""}),new Error(`RTL Text Plugin failed to import scripts from ${e}`)}))}};class Cs{constructor(t,e){this.isSupportedScript=Vs,this.zoom=t,e?(this.now=e.now||0,this.fadeDuration=e.fadeDuration||0,this.zoomHistory=e.zoomHistory||new bs,this.transition=e.transition||{}):(this.now=0,this.fadeDuration=0,this.zoomHistory=new bs,this.transition={});}crossFadingFactor(){return 0===this.fadeDuration?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)}getCrossfadeParameters(){const t=this.zoom,e=t-Math.floor(t),n=this.crossFadingFactor();return t>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:e+(1-e)*n}:{fromScale:.5,toScale:1,t:1-(1-n)*e}}}function Vs(t){return function(t,e){for(const n of t)if(!Ds(n.codePointAt(0),e))return !1;return !0}(t,"loaded"===Bs.getRTLTextPluginStatus())}const Ls="-transition";class Os{constructor(t,e,n){this.property=t,this.value=e,this.expression=function(t,e,n){if(Hr(t))return new ui(t,e);if(ii(t)){const r=li(t,e,n);if("error"===r.result)throw new Error(r.value.map((t=>`${t.key}: ${t.message}`)).join(", "));return r.value}{let n=t;return "color"===e.type&&"string"==typeof t?n=Te.parse(t):"padding"!==e.type||"number"!=typeof t&&!Array.isArray(t)?"numberArray"!==e.type||"number"!=typeof t&&!Array.isArray(t)?"colorArray"!==e.type||"string"!=typeof t&&!Array.isArray(t)?"variableAnchorOffsetCollection"===e.type&&Array.isArray(t)?n=$e.parse(t):"projectionDefinition"===e.type&&"string"==typeof t&&(n=Ne.parse(t)):n=Ve.parse(t):n=Ce.parse(t):n=Be.parse(t),{globalStateRefs:new Set,_globalState:null,kind:"constant",evaluate:()=>n}}}(void 0===e?t.specification.default:e,t.specification,n);}isDataDriven(){return "source"===this.expression.kind||"composite"===this.expression.kind}getGlobalStateRefs(){return this.expression.globalStateRefs||new Set}possiblyEvaluate(t,e,n){return this.property.possiblyEvaluate(this,t,e,n)}}class $s{constructor(t,e){this.property=t,this.value=new Os(t,void 0,e);}transitioned(t,e){return new Ns(this.property,this.value,e,$({},t.transition,this.transition),t.now)}untransitioned(){return new Ns(this.property,this.value,null,{},0)}}class Rs{constructor(t,e){this._properties=t,this._values=Object.create(t.defaultTransitionablePropertyValues),this._globalState=e;}hasProperty(t){return t in this._properties.defaultTransitionablePropertyValues}getValue(t){return j(this._values[t].value.value)}setValue(t,e){Object.hasOwn(this._values,t)||(this._values[t]=new $s(this._values[t].property,this._globalState)),this._values[t].value=new Os(this._values[t].property,null===e?void 0:j(e),this._globalState);}getTransition(t){return j(this._values[t].transition)}setTransition(t,e){Object.hasOwn(this._values,t)||(this._values[t]=new $s(this._values[t].property,this._globalState)),this._values[t].transition=j(e)||void 0;}serialize(){const t={};for(const e of Object.keys(this._values)){const n=this.getValue(e);void 0!==n&&(t[e]=n);const r=this.getTransition(e);void 0!==r&&(t[`${e}${Ls}`]=r);}return t}transitioned(t,e){const n=new Us(this._properties);for(const r of Object.keys(this._values))n._values[r]=this._values[r].transitioned(t,e._values[r]);return n}untransitioned(){const t=new Us(this._properties);for(const e of Object.keys(this._values))t._values[e]=this._values[e].untransitioned();return t}}class Ns{constructor(t,e,n,r,i){this.property=t,this.value=e,this.begin=i+r.delay||0,this.end=this.begin+r.duration||0,t.specification.transition&&(r.delay||r.duration)&&(this.prior=n);}possiblyEvaluate(t,e,n){const r=t.now||0,i=this.value.possiblyEvaluate(t,e,n),s=this.prior;if(s){if(r>this.end)return this.prior=null,i;if(this.value.isDataDriven())return this.prior=null,i;if(rr.zoomHistory.lastIntegerZoom?{from:t,to:e}:{from:n,to:e}}interpolate(t){return t}}class Hs{constructor(t){this.specification=t;}possiblyEvaluate(t,e,n,r){if(void 0!==t.value){if("constant"===t.expression.kind){const i=t.expression.evaluate(e,null,{},n,r);return this._calculate(i,i,i,e)}return this._calculate(t.expression.evaluate(new Cs(Math.floor(e.zoom-1),e)),t.expression.evaluate(new Cs(Math.floor(e.zoom),e)),t.expression.evaluate(new Cs(Math.floor(e.zoom+1),e)),e)}}_calculate(t,e,n,r){return r.zoom>r.zoomHistory.lastIntegerZoom?{from:t,to:e}:{from:n,to:e}}interpolate(t){return t}}class Ws{constructor(t){this.specification=t;}possiblyEvaluate(t,e,n,r){return !!t.expression.evaluate(e,null,{},n,r)}interpolate(){return !1}}class Ks{constructor(t){this.properties=t,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[];for(const e in t){const n=t[e];n.specification.overridable&&this.overridableProperties.push(e);const r=this.defaultPropertyValues[e]=new Os(n,void 0,void 0),i=this.defaultTransitionablePropertyValues[e]=new $s(n,void 0);this.defaultTransitioningPropertyValues[e]=i.untransitioned(),this.defaultPossiblyEvaluatedValues[e]=r.possiblyEvaluate({});}}}ds("DataDrivenProperty",Ys),ds("DataConstantProperty",Xs),ds("CrossFadedDataDrivenProperty",Zs),ds("CrossFadedProperty",Hs),ds("ColorRampProperty",Ws);const Js=" is a PAINT property not a LAYOUT property. Use get/setPaintProperty instead?",Qs=" is a LAYOUT property not a PAINT property. Use get/setLayoutProperty instead?";class to extends bt{constructor(t,e,n){if(super(),this.id=t.id,this.type=t.type,this._globalState=n,this._featureFilter={filter:()=>!0,needGeometry:!1,getGlobalStateRefs:()=>new Set},this._visibilityExpression=function(t,e){return new is(t,e)}(this.visibility,n),"custom"!==t.type&&(this.metadata=t.metadata,this.minzoom=t.minzoom,this.maxzoom=t.maxzoom,"background"!==t.type&&(this.source=t.source,this.sourceLayer=t["source-layer"],this.filter=t.filter,this._featureFilter=yi(t.filter,n)),e.layout&&(this._unevaluatedLayout=new js(e.layout,n)),e.paint)){this._transitionablePaint=new Rs(e.paint,n);for(const e in t.paint)this.setPaintProperty(e,t.paint[e],{validate:!1});for(const e in t.layout)this.setLayoutProperty(e,t.layout[e],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new Gs(e.paint);}}setFilter(t){this.filter=t,this._featureFilter=yi(t,this._globalState);}getCrossfadeParameters(){return this._crossfadeParameters}getLayoutProperty(t){var e;if("visibility"===t)return this.visibility;if(null===(e=this._transitionablePaint)||void 0===e?void 0:e.hasProperty(t))throw new Error(t+Js);if(!this._unevaluatedLayout)throw new Error(`Cannot get layout property "${t}" on layer type "${this.type}" which has no layout properties.`);return this._unevaluatedLayout.getValue(t)}getLayoutAffectingGlobalStateRefs(){const t=new Set;for(const e of this._visibilityExpression.getGlobalStateRefs())t.add(e);if(this._unevaluatedLayout)for(const e in this._unevaluatedLayout._values){const n=this._unevaluatedLayout._values[e];for(const e of n.getGlobalStateRefs())t.add(e);}for(const e of this._featureFilter.getGlobalStateRefs())t.add(e);return t}getPaintAffectingGlobalStateRefs(){var t;const e=new globalThis.Map;if(this._transitionablePaint)for(const n in this._transitionablePaint._values){const r=this._transitionablePaint._values[n].value;for(const i of r.getGlobalStateRefs()){const s=null!==(t=e.get(i))&&void 0!==t?t:[];s.push({name:n,value:r.value}),e.set(i,s);}}return e}getVisibilityAffectingGlobalStateRefs(){return this._visibilityExpression.getGlobalStateRefs()}setLayoutProperty(t,e,n={}){var r;if("visibility"===t)return this.visibility=e,this._visibilityExpression.setValue(e),void this.recalculateVisibility();(null===(r=this._transitionablePaint)||void 0===r?void 0:r.hasProperty(t))?this.fire(new vt(new Error(t+Js))):null!=e&&this._validate(cs,`layers.${this.id}.layout.${t}`,t,e,n)||this._unevaluatedLayout.setValue(t,e);}getPaintProperty(t){var e,n;if(t.endsWith(Ls)){const n=t.slice(0,-11);if("visibility"===n||(null===(e=this._unevaluatedLayout)||void 0===e?void 0:e.hasProperty(n)))throw new Error(t+Qs);return this._transitionablePaint.getTransition(n)}if("visibility"===t||(null===(n=this._unevaluatedLayout)||void 0===n?void 0:n.hasProperty(t)))throw new Error(t+Qs);return this._transitionablePaint.getValue(t)}setPaintProperty(t,e,n={}){var r;if("visibility"===t||(null===(r=this._unevaluatedLayout)||void 0===r?void 0:r.hasProperty(t)))return this.fire(new vt(new Error(t+Qs))),!1;if(null!=e&&this._validate(us,`layers.${this.id}.paint.${t}`,t,e,n))return !1;if(t.endsWith(Ls))return this._transitionablePaint.setTransition(t.slice(0,-11),e||void 0),!1;{const n=this._transitionablePaint._values[t],r="cross-faded-data-driven"===n.property.specification["property-type"],i=n.value.isDataDriven(),s=n.value;this._transitionablePaint.setValue(t,e),this._handleSpecialPaintPropertyUpdate(t);const o=this._transitionablePaint._values[t].value;return o.isDataDriven()||i||r||this._handleOverridablePaintPropertyUpdate(t,s,o)}}_handleSpecialPaintPropertyUpdate(t){}_handleOverridablePaintPropertyUpdate(t,e,n){return !1}isHidden(t=this.minzoom,e=!1){return !!(this.minzoom&&t<(e?Math.floor(this.minzoom):this.minzoom))||!!(this.maxzoom&&t>=this.maxzoom)||"none"===this._evaluatedVisibility}updateTransitions(t){this._transitioningPaint=this._transitionablePaint.transitioned(t,this._transitioningPaint);}hasTransition(){return this._transitioningPaint.hasTransition()}recalculateVisibility(){this._evaluatedVisibility=this._visibilityExpression.evaluate();}recalculate(t,e){t.getCrossfadeParameters&&(this._crossfadeParameters=t.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(t,void 0,e)),this.paint=this._transitioningPaint.possiblyEvaluate(t,void 0,e);}serialize(){var t,e;const n={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:null===(t=this._unevaluatedLayout)||void 0===t?void 0:t.serialize(),paint:null===(e=this._transitionablePaint)||void 0===e?void 0:e.serialize()};return this.visibility&&(n.layout||(n.layout={}),n.layout.visibility=this.visibility),U(n,((t,e)=>!(void 0===t||"layout"===e&&!Object.keys(t).length||"paint"===e&&!Object.keys(t).length)))}_validate(t,e,n,r,i={}){return !1!==(null==i?void 0:i.validate)&&hs(this,t.call(os,{key:e,layerType:this.type,objectKey:n,value:r,styleSpec:wt,style:{glyphs:!0,sprite:!0}}))}is3D(){return !1}isTileClipped(){return !1}hasOffscreenPass(){return !1}resize(){}isStateDependent(){for(const t in this.paint._values){const e=this.paint.get(t);if(e instanceof qs&&Gr(e.property.specification)&&("source"===e.value.kind||"composite"===e.value.kind)&&e.value.isStateDependent)return !0}return !1}}let eo;var no={get paint(){return eo=eo||new Ks({"raster-opacity":new Xs(wt.paint_raster["raster-opacity"]),"raster-hue-rotate":new Xs(wt.paint_raster["raster-hue-rotate"]),"raster-brightness-min":new Xs(wt.paint_raster["raster-brightness-min"]),"raster-brightness-max":new Xs(wt.paint_raster["raster-brightness-max"]),"raster-saturation":new Xs(wt.paint_raster["raster-saturation"]),"raster-contrast":new Xs(wt.paint_raster["raster-contrast"]),resampling:new Xs(wt.paint_raster.resampling),"raster-resampling":new Xs(wt.paint_raster["raster-resampling"]),"raster-fade-duration":new Xs(wt.paint_raster["raster-fade-duration"])})}};class ro extends to{constructor(t,e){super(t,no,e);}}const io={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array};class so{constructor(t,e){this._structArray=t,this._pos1=e*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8;}}class oo{constructor(){this.isTransferred=!1,this.capacity=-1,this.resize(0);}static serialize(t,e){return t._trim(),e&&(t.isTransferred=!0,e.push(t.arrayBuffer)),{length:t.length,arrayBuffer:t.arrayBuffer}}static deserialize(t){const e=Object.create(this.prototype);return e.arrayBuffer=t.arrayBuffer,e.length=t.length,e.capacity=t.arrayBuffer.byteLength/e.bytesPerElement,e._refreshViews(),e}_trim(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews());}clear(){this.length=0;}resize(t){this.reserve(t),this.length=t;}reserve(t){if(t>this.capacity){this.capacity=Math.max(t,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);const e=this.uint8;this._refreshViews(),e&&this.uint8.set(e);}}_refreshViews(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")}freeBufferAfterUpload(){this.arrayBuffer=new ArrayBuffer(0),this._refreshViews();}}function ao(t,e=1){let n=0,r=0;return {members:t.map((t=>{const i=io[t.type].BYTES_PER_ELEMENT,s=n=lo(n,Math.max(e,i)),o=t.components||1;return r=Math.max(r,i),n+=i*o,{name:t.name,type:t.type,components:o,offset:s}})),size:lo(n,Math.max(r,e)),alignment:e}}function lo(t,e){return Math.ceil(t/e)*e}class uo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);}emplaceBack(t,e){const n=this.length;return this.resize(n+1),this.emplace(n,t,e)}emplace(t,e,n){const r=2*t;return this.int16[r+0]=e,this.int16[r+1]=n,t}}uo.prototype.bytesPerElement=4,ds("StructArrayLayout2i4",uo);class co extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);}emplaceBack(t,e,n){const r=this.length;return this.resize(r+1),this.emplace(r,t,e,n)}emplace(t,e,n,r){const i=3*t;return this.int16[i+0]=e,this.int16[i+1]=n,this.int16[i+2]=r,t}}co.prototype.bytesPerElement=6,ds("StructArrayLayout3i6",co);class ho extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);}emplaceBack(t,e,n,r){const i=this.length;return this.resize(i+1),this.emplace(i,t,e,n,r)}emplace(t,e,n,r,i){const s=4*t;return this.int16[s+0]=e,this.int16[s+1]=n,this.int16[s+2]=r,this.int16[s+3]=i,t}}ho.prototype.bytesPerElement=8,ds("StructArrayLayout4i8",ho);class po extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s){const o=this.length;return this.resize(o+1),this.emplace(o,t,e,n,r,i,s)}emplace(t,e,n,r,i,s,o){const a=6*t;return this.int16[a+0]=e,this.int16[a+1]=n,this.int16[a+2]=r,this.int16[a+3]=i,this.int16[a+4]=s,this.int16[a+5]=o,t}}po.prototype.bytesPerElement=12,ds("StructArrayLayout2i4i12",po);class fo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s){const o=this.length;return this.resize(o+1),this.emplace(o,t,e,n,r,i,s)}emplace(t,e,n,r,i,s,o){const a=4*t,l=8*t;return this.int16[a+0]=e,this.int16[a+1]=n,this.uint8[l+4]=r,this.uint8[l+5]=i,this.uint8[l+6]=s,this.uint8[l+7]=o,t}}fo.prototype.bytesPerElement=8,ds("StructArrayLayout2i4ub8",fo);class yo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);}emplaceBack(t,e){const n=this.length;return this.resize(n+1),this.emplace(n,t,e)}emplace(t,e,n){const r=2*t;return this.float32[r+0]=e,this.float32[r+1]=n,t}}yo.prototype.bytesPerElement=8,ds("StructArrayLayout2f8",yo);class mo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s,o,a,l,u){const c=this.length;return this.resize(c+1),this.emplace(c,t,e,n,r,i,s,o,a,l,u)}emplace(t,e,n,r,i,s,o,a,l,u,c){const h=10*t;return this.uint16[h+0]=e,this.uint16[h+1]=n,this.uint16[h+2]=r,this.uint16[h+3]=i,this.uint16[h+4]=s,this.uint16[h+5]=o,this.uint16[h+6]=a,this.uint16[h+7]=l,this.uint16[h+8]=u,this.uint16[h+9]=c,t}}mo.prototype.bytesPerElement=20,ds("StructArrayLayout10ui20",mo);class go extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s,o,a){const l=this.length;return this.resize(l+1),this.emplace(l,t,e,n,r,i,s,o,a)}emplace(t,e,n,r,i,s,o,a,l){const u=8*t;return this.uint16[u+0]=e,this.uint16[u+1]=n,this.uint16[u+2]=r,this.uint16[u+3]=i,this.uint16[u+4]=s,this.uint16[u+5]=o,this.uint16[u+6]=a,this.uint16[u+7]=l,t}}go.prototype.bytesPerElement=16,ds("StructArrayLayout8ui16",go);class xo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s,o,a,l,u,c,h){const p=this.length;return this.resize(p+1),this.emplace(p,t,e,n,r,i,s,o,a,l,u,c,h)}emplace(t,e,n,r,i,s,o,a,l,u,c,h,p){const f=12*t;return this.int16[f+0]=e,this.int16[f+1]=n,this.int16[f+2]=r,this.int16[f+3]=i,this.uint16[f+4]=s,this.uint16[f+5]=o,this.uint16[f+6]=a,this.uint16[f+7]=l,this.int16[f+8]=u,this.int16[f+9]=c,this.int16[f+10]=h,this.int16[f+11]=p,t}}xo.prototype.bytesPerElement=24,ds("StructArrayLayout4i4ui4i24",xo);class vo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);}emplaceBack(t,e,n){const r=this.length;return this.resize(r+1),this.emplace(r,t,e,n)}emplace(t,e,n,r){const i=3*t;return this.float32[i+0]=e,this.float32[i+1]=n,this.float32[i+2]=r,t}}vo.prototype.bytesPerElement=12,ds("StructArrayLayout3f12",vo);class bo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer);}emplaceBack(t){const e=this.length;return this.resize(e+1),this.emplace(e,t)}emplace(t,e){return this.uint32[1*t+0]=e,t}}bo.prototype.bytesPerElement=4,ds("StructArrayLayout1ul4",bo);class wo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s,o,a,l){const u=this.length;return this.resize(u+1),this.emplace(u,t,e,n,r,i,s,o,a,l)}emplace(t,e,n,r,i,s,o,a,l,u){const c=10*t,h=5*t;return this.int16[c+0]=e,this.int16[c+1]=n,this.int16[c+2]=r,this.int16[c+3]=i,this.int16[c+4]=s,this.int16[c+5]=o,this.uint32[h+3]=a,this.uint16[c+8]=l,this.uint16[c+9]=u,t}}wo.prototype.bytesPerElement=20,ds("StructArrayLayout6i1ul2ui20",wo);class _o extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s){const o=this.length;return this.resize(o+1),this.emplace(o,t,e,n,r,i,s)}emplace(t,e,n,r,i,s,o){const a=6*t;return this.int16[a+0]=e,this.int16[a+1]=n,this.int16[a+2]=r,this.int16[a+3]=i,this.int16[a+4]=s,this.int16[a+5]=o,t}}_o.prototype.bytesPerElement=12,ds("StructArrayLayout2i2i2i12",_o);class So extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i){const s=this.length;return this.resize(s+1),this.emplace(s,t,e,n,r,i)}emplace(t,e,n,r,i,s){const o=4*t,a=8*t;return this.float32[o+0]=e,this.float32[o+1]=n,this.float32[o+2]=r,this.int16[a+6]=i,this.int16[a+7]=s,t}}So.prototype.bytesPerElement=16,ds("StructArrayLayout2f1f2i16",So);class Ao extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s){const o=this.length;return this.resize(o+1),this.emplace(o,t,e,n,r,i,s)}emplace(t,e,n,r,i,s,o){const a=16*t,l=4*t,u=8*t;return this.uint8[a+0]=e,this.uint8[a+1]=n,this.float32[l+1]=r,this.float32[l+2]=i,this.int16[u+6]=s,this.int16[u+7]=o,t}}Ao.prototype.bytesPerElement=16,ds("StructArrayLayout2ub2f2i16",Ao);class Mo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);}emplaceBack(t,e,n){const r=this.length;return this.resize(r+1),this.emplace(r,t,e,n)}emplace(t,e,n,r){const i=3*t;return this.uint16[i+0]=e,this.uint16[i+1]=n,this.uint16[i+2]=r,t}}Mo.prototype.bytesPerElement=6,ds("StructArrayLayout3ui6",Mo);class ko extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s,o,a,l,u,c,h,p,f,d,y,m){const g=this.length;return this.resize(g+1),this.emplace(g,t,e,n,r,i,s,o,a,l,u,c,h,p,f,d,y,m)}emplace(t,e,n,r,i,s,o,a,l,u,c,h,p,f,d,y,m,g){const x=24*t,v=12*t,b=48*t;return this.int16[x+0]=e,this.int16[x+1]=n,this.uint16[x+2]=r,this.uint16[x+3]=i,this.uint32[v+2]=s,this.uint32[v+3]=o,this.uint32[v+4]=a,this.uint16[x+10]=l,this.uint16[x+11]=u,this.uint16[x+12]=c,this.float32[v+7]=h,this.float32[v+8]=p,this.uint8[b+36]=f,this.uint8[b+37]=d,this.uint8[b+38]=y,this.uint32[v+10]=m,this.int16[x+22]=g,t}}ko.prototype.bytesPerElement=48,ds("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",ko);class Io extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s,o,a,l,u,c,h,p,f,d,y,m,g,x,v,b,w,_,S,A,M,k,I){const E=this.length;return this.resize(E+1),this.emplace(E,t,e,n,r,i,s,o,a,l,u,c,h,p,f,d,y,m,g,x,v,b,w,_,S,A,M,k,I)}emplace(t,e,n,r,i,s,o,a,l,u,c,h,p,f,d,y,m,g,x,v,b,w,_,S,A,M,k,I,E){const T=32*t,F=16*t;return this.int16[T+0]=e,this.int16[T+1]=n,this.int16[T+2]=r,this.int16[T+3]=i,this.int16[T+4]=s,this.int16[T+5]=o,this.int16[T+6]=a,this.int16[T+7]=l,this.uint16[T+8]=u,this.uint16[T+9]=c,this.uint16[T+10]=h,this.uint16[T+11]=p,this.uint16[T+12]=f,this.uint16[T+13]=d,this.uint16[T+14]=y,this.uint16[T+15]=m,this.uint16[T+16]=g,this.uint16[T+17]=x,this.uint16[T+18]=v,this.uint16[T+19]=b,this.uint16[T+20]=w,this.uint16[T+21]=_,this.uint16[T+22]=S,this.uint32[F+12]=A,this.float32[F+13]=M,this.float32[F+14]=k,this.uint16[T+30]=I,this.uint16[T+31]=E,t}}Io.prototype.bytesPerElement=64,ds("StructArrayLayout8i15ui1ul2f2ui64",Io);class Eo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);}emplaceBack(t){const e=this.length;return this.resize(e+1),this.emplace(e,t)}emplace(t,e){return this.float32[1*t+0]=e,t}}Eo.prototype.bytesPerElement=4,ds("StructArrayLayout1f4",Eo);class To extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);}emplaceBack(t,e,n){const r=this.length;return this.resize(r+1),this.emplace(r,t,e,n)}emplace(t,e,n,r){const i=3*t;return this.uint16[6*t+0]=e,this.float32[i+1]=n,this.float32[i+2]=r,t}}To.prototype.bytesPerElement=12,ds("StructArrayLayout1ui2f12",To);class Fo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);}emplaceBack(t,e,n){const r=this.length;return this.resize(r+1),this.emplace(r,t,e,n)}emplace(t,e,n,r){const i=4*t;return this.uint32[2*t+0]=e,this.uint16[i+2]=n,this.uint16[i+3]=r,t}}Fo.prototype.bytesPerElement=8,ds("StructArrayLayout1ul2ui8",Fo);class Po extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);}emplaceBack(t,e){const n=this.length;return this.resize(n+1),this.emplace(n,t,e)}emplace(t,e,n){const r=2*t;return this.uint16[r+0]=e,this.uint16[r+1]=n,t}}Po.prototype.bytesPerElement=4,ds("StructArrayLayout2ui4",Po);class Do extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);}emplaceBack(t){const e=this.length;return this.resize(e+1),this.emplace(e,t)}emplace(t,e){return this.uint16[1*t+0]=e,t}}Do.prototype.bytesPerElement=2,ds("StructArrayLayout1ui2",Do);class zo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);}emplaceBack(t,e,n,r){const i=this.length;return this.resize(i+1),this.emplace(i,t,e,n,r)}emplace(t,e,n,r,i){const s=4*t;return this.float32[s+0]=e,this.float32[s+1]=n,this.float32[s+2]=r,this.float32[s+3]=i,t}}zo.prototype.bytesPerElement=16,ds("StructArrayLayout4f16",zo);class Bo extends so{get anchorPointX(){return this._structArray.int16[this._pos2+0]}get anchorPointY(){return this._structArray.int16[this._pos2+1]}get x1(){return this._structArray.int16[this._pos2+2]}get y1(){return this._structArray.int16[this._pos2+3]}get x2(){return this._structArray.int16[this._pos2+4]}get y2(){return this._structArray.int16[this._pos2+5]}get featureIndex(){return this._structArray.uint32[this._pos4+3]}get sourceLayerIndex(){return this._structArray.uint16[this._pos2+8]}get bucketIndex(){return this._structArray.uint16[this._pos2+9]}get anchorPoint(){return new n(this.anchorPointX,this.anchorPointY)}}Bo.prototype.size=20;class Co extends wo{get(t){return new Bo(this,t)}}ds("CollisionBoxArray",Co);class Vo extends so{get anchorX(){return this._structArray.int16[this._pos2+0]}get anchorY(){return this._structArray.int16[this._pos2+1]}get glyphStartIndex(){return this._structArray.uint16[this._pos2+2]}get numGlyphs(){return this._structArray.uint16[this._pos2+3]}get vertexStartIndex(){return this._structArray.uint32[this._pos4+2]}get lineStartIndex(){return this._structArray.uint32[this._pos4+3]}get lineLength(){return this._structArray.uint32[this._pos4+4]}get segment(){return this._structArray.uint16[this._pos2+10]}get lowerSize(){return this._structArray.uint16[this._pos2+11]}get upperSize(){return this._structArray.uint16[this._pos2+12]}get lineOffsetX(){return this._structArray.float32[this._pos4+7]}get lineOffsetY(){return this._structArray.float32[this._pos4+8]}get writingMode(){return this._structArray.uint8[this._pos1+36]}get placedOrientation(){return this._structArray.uint8[this._pos1+37]}set placedOrientation(t){this._structArray.uint8[this._pos1+37]=t;}get hidden(){return this._structArray.uint8[this._pos1+38]}set hidden(t){this._structArray.uint8[this._pos1+38]=t;}get crossTileID(){return this._structArray.uint32[this._pos4+10]}set crossTileID(t){this._structArray.uint32[this._pos4+10]=t;}get associatedIconIndex(){return this._structArray.int16[this._pos2+22]}}Vo.prototype.size=48;class Lo extends ko{get(t){return new Vo(this,t)}}ds("PlacedSymbolArray",Lo);class Oo extends so{get anchorX(){return this._structArray.int16[this._pos2+0]}get anchorY(){return this._structArray.int16[this._pos2+1]}get rightJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+2]}get centerJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+3]}get leftJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+4]}get verticalPlacedTextSymbolIndex(){return this._structArray.int16[this._pos2+5]}get placedIconSymbolIndex(){return this._structArray.int16[this._pos2+6]}get verticalPlacedIconSymbolIndex(){return this._structArray.int16[this._pos2+7]}get key(){return this._structArray.uint16[this._pos2+8]}get textBoxStartIndex(){return this._structArray.uint16[this._pos2+9]}get textBoxEndIndex(){return this._structArray.uint16[this._pos2+10]}get verticalTextBoxStartIndex(){return this._structArray.uint16[this._pos2+11]}get verticalTextBoxEndIndex(){return this._structArray.uint16[this._pos2+12]}get iconBoxStartIndex(){return this._structArray.uint16[this._pos2+13]}get iconBoxEndIndex(){return this._structArray.uint16[this._pos2+14]}get verticalIconBoxStartIndex(){return this._structArray.uint16[this._pos2+15]}get verticalIconBoxEndIndex(){return this._structArray.uint16[this._pos2+16]}get featureIndex(){return this._structArray.uint16[this._pos2+17]}get numHorizontalGlyphVertices(){return this._structArray.uint16[this._pos2+18]}get numVerticalGlyphVertices(){return this._structArray.uint16[this._pos2+19]}get numIconVertices(){return this._structArray.uint16[this._pos2+20]}get numVerticalIconVertices(){return this._structArray.uint16[this._pos2+21]}get useRuntimeCollisionCircles(){return this._structArray.uint16[this._pos2+22]}get crossTileID(){return this._structArray.uint32[this._pos4+12]}set crossTileID(t){this._structArray.uint32[this._pos4+12]=t;}get textBoxScale(){return this._structArray.float32[this._pos4+13]}get collisionCircleDiameter(){return this._structArray.float32[this._pos4+14]}get textAnchorOffsetStartIndex(){return this._structArray.uint16[this._pos2+30]}get textAnchorOffsetEndIndex(){return this._structArray.uint16[this._pos2+31]}}Oo.prototype.size=64;class $o extends Io{get(t){return new Oo(this,t)}}ds("SymbolInstanceArray",$o);class Ro extends Eo{getoffsetX(t){return this.float32[1*t+0]}}ds("GlyphOffsetArray",Ro);class No extends co{getx(t){return this.int16[3*t+0]}gety(t){return this.int16[3*t+1]}gettileUnitDistanceFromAnchor(t){return this.int16[3*t+2]}}ds("SymbolLineVertexArray",No);class Uo extends so{get textAnchor(){return this._structArray.uint16[this._pos2+0]}get textOffset0(){return this._structArray.float32[this._pos4+1]}get textOffset1(){return this._structArray.float32[this._pos4+2]}}Uo.prototype.size=12;class jo extends To{get(t){return new Uo(this,t)}}ds("TextAnchorOffsetArray",jo);class qo extends so{get featureIndex(){return this._structArray.uint32[this._pos4+0]}get sourceLayerIndex(){return this._structArray.uint16[this._pos2+2]}get bucketIndex(){return this._structArray.uint16[this._pos2+3]}}qo.prototype.size=8;class Go extends Fo{get(t){return new qo(this,t)}}ds("FeatureIndexArray",Go);class Xo extends uo{}class Yo extends uo{}class Zo extends uo{}class Ho extends po{}class Wo extends fo{}class Ko extends yo{}class Jo extends mo{}class Qo extends go{}class ta extends xo{}class ea extends vo{}class na extends bo{}class ra extends _o{}class ia extends Ao{}class sa extends Mo{}class oa extends Po{}const aa=ao([{name:"a_pos",components:2,type:"Int16"}],4),{members:la}=aa;class ua{constructor(t=[]){this._forceNewSegmentOnNextPrepare=!1,this.segments=t;}prepareSegment(t,e,n,r){const i=this.segments[this.segments.length-1];return t>ua.MAX_VERTEX_ARRAY_LENGTH&&G(`Max vertices per segment is ${ua.MAX_VERTEX_ARRAY_LENGTH}: bucket requested ${t}. Consider using the \`fillLargeMeshArrays\` function if you require meshes with more than ${ua.MAX_VERTEX_ARRAY_LENGTH} vertices.`),this._forceNewSegmentOnNextPrepare||!i||i.vertexLength+t>ua.MAX_VERTEX_ARRAY_LENGTH||i.sortKey!==r?this.createNewSegment(e,n,r):i}createNewSegment(t,e,n){const r={vertexOffset:t.length,primitiveOffset:e.length,vertexLength:0,primitiveLength:0,vaos:{}};return void 0!==n&&(r.sortKey=n),this._forceNewSegmentOnNextPrepare=!1,this.segments.push(r),r}getOrCreateLatestSegment(t,e,n){return this.prepareSegment(0,t,e,n)}forceNewSegmentOnNextPrepare(){this._forceNewSegmentOnNextPrepare=!0;}get(){return this.segments}destroy(){for(const t of this.segments)for(const e in t.vaos)t.vaos[e].destroy();}static simpleSegment(t,e,n,r){return new ua([{vertexOffset:t,primitiveOffset:e,vertexLength:n,primitiveLength:r,vaos:{},sortKey:0}])}}function ca(t,e){return 256*(t=L(Math.floor(t),0,255))+L(Math.floor(e),0,255)}ua.MAX_VERTEX_ARRAY_LENGTH=Math.pow(2,16)-1,ds("SegmentVector",ua);const ha=ao([{name:"a_pattern_from",components:4,type:"Uint16"},{name:"a_pattern_to",components:4,type:"Uint16"},{name:"a_pixel_ratio_from",components:1,type:"Uint16"},{name:"a_pixel_ratio_to",components:1,type:"Uint16"}]),pa=ao([{name:"a_dasharray_from",components:4,type:"Uint16"},{name:"a_dasharray_to",components:4,type:"Uint16"}]);var fa,da,ya,ma={exports:{}},ga={exports:{}},xa={exports:{}},va=function(){if(ya)return ma.exports;ya=1;var t=(fa||(fa=1,ga.exports=function(t,e){var n,r,i,s,o,a,l,u;for(r=t.length-(n=3&t.length),i=e,o=3432918353,a=461845907,u=0;u>>16)*o&65535)<<16)&4294967295)<<15|l>>>17))*a+(((l>>>16)*a&65535)<<16)&4294967295)<<13|i>>>19))+((5*(i>>>16)&65535)<<16)&4294967295))+((58964+(s>>>16)&65535)<<16);switch(l=0,n){case 3:l^=(255&t.charCodeAt(u+2))<<16;case 2:l^=(255&t.charCodeAt(u+1))<<8;case 1:i^=l=(65535&(l=(l=(65535&(l^=255&t.charCodeAt(u)))*o+(((l>>>16)*o&65535)<<16)&4294967295)<<15|l>>>17))*a+(((l>>>16)*a&65535)<<16)&4294967295;}return i^=t.length,i=2246822507*(65535&(i^=i>>>16))+((2246822507*(i>>>16)&65535)<<16)&4294967295,i=3266489909*(65535&(i^=i>>>13))+((3266489909*(i>>>16)&65535)<<16)&4294967295,(i^=i>>>16)>>>0}),ga.exports),e=(da||(da=1,xa.exports=function(t,e){for(var n,r=t.length,i=e^r,s=0;r>=4;)n=1540483477*(65535&(n=255&t.charCodeAt(s)|(255&t.charCodeAt(++s))<<8|(255&t.charCodeAt(++s))<<16|(255&t.charCodeAt(++s))<<24))+((1540483477*(n>>>16)&65535)<<16),i=1540483477*(65535&i)+((1540483477*(i>>>16)&65535)<<16)^(n=1540483477*(65535&(n^=n>>>24))+((1540483477*(n>>>16)&65535)<<16)),r-=4,++s;switch(r){case 3:i^=(255&t.charCodeAt(s+2))<<16;case 2:i^=(255&t.charCodeAt(s+1))<<8;case 1:i=1540483477*(65535&(i^=255&t.charCodeAt(s)))+((1540483477*(i>>>16)&65535)<<16);}return i=1540483477*(65535&(i^=i>>>13))+((1540483477*(i>>>16)&65535)<<16),(i^=i>>>15)>>>0}),xa.exports);return ma.exports=t,ma.exports.murmur3=t,ma.exports.murmur2=e,ma.exports}(),ba=r(va);class wa{constructor(){this.ids=[],this.positions=[],this.indexed=!1;}add(t,e,n,r){this.ids.push(_a(t)),this.positions.push(e,n,r);}getPositions(t){if(!this.indexed)throw new Error("Trying to get index, but feature positions are not indexed");const e=_a(t);let n=0,r=this.ids.length-1;for(;n>1;this.ids[t]>=e?r=t:n=t+1;}const i=[];for(;this.ids[n]===e;)i.push({index:this.positions[3*n],start:this.positions[3*n+1],end:this.positions[3*n+2]}),n++;return i}static serialize(t,e){const n=new Float64Array(t.ids),r=new Uint32Array(t.positions);return Sa(n,r,0,n.length-1),e&&e.push(n.buffer,r.buffer),{ids:n,positions:r}}static deserialize(t){const e=new wa;return e.ids=t.ids,e.positions=t.positions,e.indexed=!0,e}}function _a(t){const e=+t;return !isNaN(e)&&e<=Number.MAX_SAFE_INTEGER?e:ba(String(t))}function Sa(t,e,n,r){for(;n>1];let s=n-1,o=r+1;for(;;){do{s++;}while(t[s]i);if(s>=o)break;Aa(t,s,o),Aa(e,3*s,3*o),Aa(e,3*s+1,3*o+1),Aa(e,3*s+2,3*o+2);}o-n`u_${t}`)),this.type=n;}setUniform(t,e,n){t.set(n.constantOr(this.value));}getBinding(t,e,n){return "color"===this.type?new Ea(t,e):new ka(t,e)}}class Da{constructor(t,e){this.uniformNames=e.map((t=>`u_${t}`)),this.patternFrom=null,this.patternTo=null,this.pixelRatioFrom=1,this.pixelRatioTo=1;}setConstantPatternPositions(t,e){this.pixelRatioFrom=e.pixelRatio,this.pixelRatioTo=t.pixelRatio,this.patternFrom=e.tlbr,this.patternTo=t.tlbr;}setConstantDashPositions(t,e){this.dashTo=[0,t.y,t.height,t.width],this.dashFrom=[0,e.y,e.height,e.width];}setUniform(t,e,n,r){let i=null;"u_pattern_to"===r?i=this.patternTo:"u_pattern_from"===r?i=this.patternFrom:"u_dasharray_to"===r?i=this.dashTo:"u_dasharray_from"===r?i=this.dashFrom:"u_pixel_ratio_to"===r?i=this.pixelRatioTo:"u_pixel_ratio_from"===r&&(i=this.pixelRatioFrom),null!==i&&t.set(i);}getBinding(t,e,n){return n.startsWith("u_pattern")||n.startsWith("u_dasharray_")?new Ia(t,e):new ka(t,e)}}class za{constructor(t,e,n,r){this.expression=t,this.type=n,this.maxValue=0,this.paintVertexAttributes=e.map((t=>({name:`a_${t}`,type:"Float32",components:"color"===n?2:1,offset:0}))),this.paintVertexArray=new r;}populatePaintArray(t,e,n){const r=this.paintVertexArray.length,i=this.expression.evaluate(new Cs(0,n),e,{},n.canonical,[],n.formattedSection);this.paintVertexArray.resize(t),this._setPaintValue(r,t,i);}updatePaintArray(t,e,n,r,i){const s=this.expression.evaluate(new Cs(0,i),n,r);this._setPaintValue(t,e,s);}_setPaintValue(t,e,n){if("color"===this.type){const r=Fa(n);for(let n=t;n`u_${t}_t`)),this.type=n,this.useIntegerZoom=r,this.zoom=i,this.maxValue=0,this.paintVertexAttributes=e.map((t=>({name:`a_${t}`,type:"Float32",components:"color"===n?4:2,offset:0}))),this.paintVertexArray=new s;}populatePaintArray(t,e,n){const r=this.expression.evaluate(new Cs(this.zoom,n),e,{},n.canonical,[],n.formattedSection),i=this.expression.evaluate(new Cs(this.zoom+1,n),e,{},n.canonical,[],n.formattedSection),s=this.paintVertexArray.length;this.paintVertexArray.resize(t),this._setPaintValue(s,t,r,i);}updatePaintArray(t,e,n,r,i){const s=this.expression.evaluate(new Cs(this.zoom,i),n,r),o=this.expression.evaluate(new Cs(this.zoom+1,i),n,r);this._setPaintValue(t,e,s,o);}_setPaintValue(t,e,n,r){if("color"===this.type){const i=Fa(n),s=Fa(r);for(let n=t;n`#define HAS_UNIFORM_${t}`)));}return t}getBinderAttributes(){const t=[];for(const e in this.binders){const n=this.binders[e];if(n instanceof za||n instanceof Ba)for(const e of n.paintVertexAttributes)t.push(e.name);else if(n instanceof Ca){const e=n.getVertexAttributes();for(const n of e)t.push(n.name);}}return t}getBinderUniforms(){const t=[];for(const e in this.binders){const n=this.binders[e];if(n instanceof Pa||n instanceof Da||n instanceof Ba)for(const e of n.uniformNames)t.push(e);}return t}getPaintVertexBuffers(){return this._buffers}getUniforms(t,e){const n=[];for(const r in this.binders){const i=this.binders[r];if(i instanceof Pa||i instanceof Da||i instanceof Ba)for(const s of i.uniformNames)if(e[s]){const o=i.getBinding(t,e[s],s);n.push({name:s,property:r,binding:o});}}return n}setUniforms(t,e,n,r){for(const{name:t,property:i,binding:s}of e)this.binders[i].setUniform(s,r,n.get(i),t);}updatePaintBuffers(t){this._buffers=[];for(const e in this.binders){const n=this.binders[e];if(t&&n instanceof Ca){const e=2===t.fromScale?n.zoomInPaintVertexBuffer:n.zoomOutPaintVertexBuffer;e&&this._buffers.push(e);}else (n instanceof za||n instanceof Ba)&&n.paintVertexBuffer&&this._buffers.push(n.paintVertexBuffer);}}upload(t){for(const e in this.binders){const n=this.binders[e];(n instanceof za||n instanceof Ba||n instanceof Ca)&&n.upload(t);}this.updatePaintBuffers();}destroy(){for(const t in this.binders){const e=this.binders[t];(e instanceof za||e instanceof Ba||e instanceof Ca)&&e.destroy();}}}class $a{constructor(t,e,n=()=>!0){this.programConfigurations={};for(const r of t)this.programConfigurations[r.id]=new Oa(r,e,n);this.needsUpload=!1,this._featureMap=new wa,this._bufferOffset=0;}populatePaintArrays(t,e,n,r){for(const n in this.programConfigurations)this.programConfigurations[n].populatePaintArrays(t,e,r);void 0!==e.id&&this._featureMap.add(e.id,n,this._bufferOffset,t),this._bufferOffset=t,this.needsUpload=!0;}updatePaintArrays(t,e,n,r){for(const i of n)this.needsUpload=this.programConfigurations[i.id].updatePaintArrays(t,this._featureMap,e,i,r)||this.needsUpload;}get(t){return this.programConfigurations[t]}upload(t){if(this.needsUpload){for(const e in this.programConfigurations)this.programConfigurations[e].upload(t);this.needsUpload=!1;}}destroy(){for(const t in this.programConfigurations)this.programConfigurations[t].destroy();}}function Ra(t,e){return {"text-opacity":["opacity"],"icon-opacity":["opacity"],"text-color":["fill_color"],"icon-color":["fill_color"],"text-halo-color":["halo_color"],"icon-halo-color":["halo_color"],"text-halo-blur":["halo_blur"],"icon-halo-blur":["halo_blur"],"text-halo-width":["halo_width"],"icon-halo-width":["halo_width"],"line-gap-width":["gapwidth"],"line-dasharray":["dasharray_to","dasharray_from"],"line-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"fill-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"fill-extrusion-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"]}[t]||[t.replace(`${e}-`,"").replace(/-/g,"_")]}function Na(t,e,n){const r={color:{source:yo,composite:zo},number:{source:Eo,composite:yo}},i=function(t){return {"line-pattern":{source:Jo,composite:Jo},"fill-pattern":{source:Jo,composite:Jo},"fill-extrusion-pattern":{source:Jo,composite:Jo},"line-dasharray":{source:Qo,composite:Qo}}[t]}(t);return (null==i?void 0:i[n])||r[e][n]}ds("ConstantBinder",Pa),ds("CrossFadedConstantBinder",Da),ds("SourceExpressionBinder",za),ds("CrossFadedPatternBinder",Va),ds("CrossFadedDasharrayBinder",La),ds("CompositeExpressionBinder",Ba),ds("ProgramConfiguration",Oa,{omit:["_buffers"]}),ds("ProgramConfigurationSet",$a);const Ua=Math.pow(2,14)-1,ja=-Ua-1;function qa(t){const e=T/t.extent,n=t.loadGeometry();for(const t of n)for(const n of t){const t=Math.round(n.x*e),r=Math.round(n.y*e);n.x=L(t,ja,Ua),n.y=L(r,ja,Ua),(tn.x+1||rn.y+1)&&G("Geometry exceeds allowed extent, reduce your vector tile buffer size");}return n}function Ga(t,e){return {type:t.type,id:t.id,properties:t.properties,geometry:e?qa(t):[]}}const Xa=-32768;function Ya(t,e,n,r,i){t.emplaceBack(Xa+8*e+r,Xa+8*n+i);}class Za{constructor(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((t=>t.id)),this.index=t.index,this.hasDependencies=!1,this.layoutVertexArray=new Yo,this.indexArray=new sa,this.segments=new ua,this.programConfigurations=new $a(t.layers,t.zoom),this.stateDependentLayerIds=this.layers.filter((t=>t.isStateDependent())).map((t=>t.id));}populate(t,e,n){const r=this.layers[0],i=[];let s=null,o=!1,a="heatmap"===r.type;if("circle"===r.type){const t=r;s=t.layout.get("circle-sort-key"),o=!s.isConstant(),a||(a="map"===t.paint.get("circle-pitch-alignment"));}const l=a?e.subdivisionGranularity.circle:1;for(const{feature:e,id:r,index:a,sourceLayerIndex:l}of t){const t=this.layers[0]._featureFilter.needGeometry,u=Ga(e,t);if(!this.layers[0]._featureFilter.filter(new Cs(this.zoom),u,n))continue;const c=o?s.evaluate(u,{},n):void 0,h={id:r,properties:e.properties,type:e.type,sourceLayerIndex:l,index:a,geometry:t?u.geometry:qa(e),patterns:{},sortKey:c};i.push(h);}o&&i.sort(((t,e)=>t.sortKey-e.sortKey));for(const r of i){const{geometry:i,index:s,sourceLayerIndex:o}=r,a=t[s].feature;this.addFeature(r,i,s,n,l),e.featureIndex.insert(a,i,s,o,this.index);}}update(t,e,n){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,{imagePositions:n});}isEmpty(){return 0===this.layoutVertexArray.length}uploadPending(){return !this.uploaded||this.programConfigurations.needsUpload}upload(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,la),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0;}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy());}addFeature(t,e,n,r,i=1){let s;switch(i){case 1:s=[0,7];break;case 3:s=[0,2,5,7];break;case 5:s=[0,1,3,4,6,7];break;case 7:s=[0,1,2,3,4,5,6,7];break;default:throw new Error(`Invalid circle bucket granularity: ${i}; valid values are 1, 3, 5, 7.`)}const o=s.length;for(const n of e)for(const e of n){const n=e.x,r=e.y;if(n<0||n>=T||r<0||r>=T)continue;const i=this.segments.prepareSegment(o*o,this.layoutVertexArray,this.indexArray,t.sortKey),a=i.vertexLength;for(let t=0;t1){if(Qa(t,e))return !0;for(const r of e)if(el(r,t,n))return !0}for(const r of t)if(el(r,e,n))return !0;return !1}function Qa(t,e){if(0===t.length||0===e.length)return !1;for(let n=0;n1?n:n.sub(e)._mult(i)._add(e))}function rl(t,e){let n,r,i,s=!1;for(const o of t){n=o;for(let t=0,o=n.length-1;te.y!=i.y>e.y&&e.x<(i.x-r.x)*(e.y-r.y)/(i.y-r.y)+r.x&&(s=!s);}return s}function il(t,e){let n=!1;for(let r=0,i=t.length-1;re.y!=o.y>e.y&&e.x<(o.x-s.x)*(e.y-s.y)/(o.y-s.y)+s.x&&(n=!n);}return n}function sl(t,e,n){const r=n[0],i=n[2];if(t.xi.x&&e.x>i.x||t.yi.y&&e.y>i.y)return !1;const s=X(t,e,n[0]);return s!==X(t,e,n[1])||s!==X(t,e,n[2])||s!==X(t,e,n[3])}function ol(t,e,n){const r=e.paint.get(t).value;return "constant"===r.kind?r.value:n.programConfigurations.get(e.id).getMaxValue(t)}function al(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function ll(t,e,r,i,s){if(!e[0]&&!e[1])return t;const o=n.convert(e)._mult(s);"viewport"===r&&o._rotate(-i);const a=[];for(const e of t)a.push(e.sub(o));return a}function ul(t){const e=[];for(let n=0;nyl(t,e,n,r)))}(l,i,o,a),f=u),dl({queryGeometry:p,size:f,transform:i,unwrappedTileID:o,getElevation:a,pitchAlignment:h,pitchScale:c},r)}}class bl extends Za{}let wl;ds("HeatmapBucket",bl,{omit:["layers"]});var _l={get paint(){return wl=wl||new Ks({"heatmap-radius":new Ys(wt.paint_heatmap["heatmap-radius"]),"heatmap-weight":new Ys(wt.paint_heatmap["heatmap-weight"]),"heatmap-intensity":new Xs(wt.paint_heatmap["heatmap-intensity"]),"heatmap-color":new Ws(wt.paint_heatmap["heatmap-color"]),"heatmap-opacity":new Xs(wt.paint_heatmap["heatmap-opacity"])})}};function Sl(t,{width:e,height:n},r,i){if(i){if(i instanceof Uint8ClampedArray)i=new Uint8Array(i.buffer);else if(i.length!==e*n*r)throw new RangeError(`mismatched image size. expected: ${i.length} but got: ${e*n*r}`)}else i=new Uint8Array(e*n*r);return t.width=e,t.height=n,t.data=i,t}function Al(t,{width:e,height:n},r){if(e===t.width&&n===t.height)return;const i=Sl({},{width:e,height:n},r);Ml(t,i,{x:0,y:0},{x:0,y:0},{width:Math.min(t.width,e),height:Math.min(t.height,n)},r),t.width=e,t.height=n,t.data=i.data;}function Ml(t,e,n,r,i,s){if(0===i.width||0===i.height)return e;if(i.width>t.width||i.height>t.height||n.x>t.width-i.width||n.y>t.height-i.height)throw new RangeError("out of range source coordinates for image copy");if(i.width>e.width||i.height>e.height||r.x>e.width-i.width||r.y>e.height-i.height)throw new RangeError("out of range destination coordinates for image copy");const o=t.data,a=e.data;if(o===a)throw new Error("srcData equals dstData, so image is already copied");for(let l=0;l{e[t.evaluationKey]=o;const a=t.expression.evaluate(e);i.setPixel(r/4/n,s/4,a);};if(t.clips)for(let e=0,i=0;ethis.max&&(this.max=n),n=this.dim+1||e<-1||e>=this.dim+1)throw new RangeError(`Out of range source coordinates for DEM data. x: ${t}, y: ${e}, dim: ${this.dim}`);return (e+1)*this.stride+(t+1)}unpack(t,e,n){return t*this.redFactor+e*this.greenFactor+n*this.blueFactor-this.baseShift}pack(t){return Rl(t,this.getUnpackVector())}getPixels(){return new Il({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))}backfillBorder(t,e,n){if(this.dim!==t.dim)throw new Error("dem dimension mismatch");let r=e*this.dim,i=e*this.dim+this.dim,s=n*this.dim,o=n*this.dim+this.dim;switch(e){case -1:r=i-1;break;case 1:i=r+1;}switch(n){case -1:s=o-1;break;case 1:o=s+1;}const a=-e*this.dim,l=-n*this.dim;for(let e=s;e0)for(let i=e;i=e;i-=r)s=du(i/r|0,t[i],t[i+1],s);return s&&lu(s,s.next)&&(yu(s),s=s.next),s}function Yl(t,e){if(!t)return t;e||(e=t);let n,r=t;do{if(n=!1,r.steiner||!lu(r,r.next)&&0!==au(r.prev,r,r.next))r=r.next;else {if(yu(r),r=e=r.prev,r===r.next)break;n=!0;}}while(n||r!==e);return e}function Zl(t,e,n,r,i,s,o){if(!t)return;!o&&s&&function(t,e,n,r){let i=t;do{0===i.z&&(i.z=nu(i.x,i.y,e,n,r)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next;}while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,function(t){let e,n=1;do{let r,i=t;t=null;let s=null;for(e=0;i;){e++;let o=i,a=0;for(let t=0;t0||l>0&&o;)0!==a&&(0===l||!o||i.z<=o.z)?(r=i,i=i.nextZ,a--):(r=o,o=o.nextZ,l--),s?s.nextZ=r:t=r,r.prevZ=s,s=r;i=o;}s.nextZ=null,n*=2;}while(e>1)}(i);}(t,r,i,s);let a=t;for(;t.prev!==t.next;){const l=t.prev,u=t.next;if(s?Wl(t,r,i,s):Hl(t))e.push(l.i,t.i,u.i),yu(t),t=u.next,a=u.next;else if((t=u)===a){o?1===o?Zl(t=Kl(Yl(t),e),e,n,r,i,s,2):2===o&&Jl(t,e,n,r,i,s):Zl(Yl(t),e,n,r,i,s,1);break}}}function Hl(t){const e=t.prev,n=t,r=t.next;if(au(e,n,r)>=0)return !1;const i=e.x,s=n.x,o=r.x,a=e.y,l=n.y,u=r.y,c=Math.min(i,s,o),h=Math.min(a,l,u),p=Math.max(i,s,o),f=Math.max(a,l,u);let d=r.next;for(;d!==e;){if(d.x>=c&&d.x<=p&&d.y>=h&&d.y<=f&&su(i,a,s,l,o,u,d.x,d.y)&&au(d.prev,d,d.next)>=0)return !1;d=d.next;}return !0}function Wl(t,e,n,r){const i=t.prev,s=t,o=t.next;if(au(i,s,o)>=0)return !1;const a=i.x,l=s.x,u=o.x,c=i.y,h=s.y,p=o.y,f=Math.min(a,l,u),d=Math.min(c,h,p),y=Math.max(a,l,u),m=Math.max(c,h,p),g=nu(f,d,e,n,r),x=nu(y,m,e,n,r);let v=t.prevZ,b=t.nextZ;for(;v&&v.z>=g&&b&&b.z<=x;){if(v.x>=f&&v.x<=y&&v.y>=d&&v.y<=m&&v!==i&&v!==o&&su(a,c,l,h,u,p,v.x,v.y)&&au(v.prev,v,v.next)>=0)return !1;if(v=v.prevZ,b.x>=f&&b.x<=y&&b.y>=d&&b.y<=m&&b!==i&&b!==o&&su(a,c,l,h,u,p,b.x,b.y)&&au(b.prev,b,b.next)>=0)return !1;b=b.nextZ;}for(;v&&v.z>=g;){if(v.x>=f&&v.x<=y&&v.y>=d&&v.y<=m&&v!==i&&v!==o&&su(a,c,l,h,u,p,v.x,v.y)&&au(v.prev,v,v.next)>=0)return !1;v=v.prevZ;}for(;b&&b.z<=x;){if(b.x>=f&&b.x<=y&&b.y>=d&&b.y<=m&&b!==i&&b!==o&&su(a,c,l,h,u,p,b.x,b.y)&&au(b.prev,b,b.next)>=0)return !1;b=b.nextZ;}return !0}function Kl(t,e){let n=t;do{const r=n.prev,i=n.next.next;!lu(r,i)&&uu(r,n,n.next,i)&&pu(r,i)&&pu(i,r)&&(e.push(r.i,n.i,i.i),yu(n),yu(n.next),n=t=i),n=n.next;}while(n!==t);return Yl(n)}function Jl(t,e,n,r,i,s){let o=t;do{let t=o.next.next;for(;t!==o.prev;){if(o.i!==t.i&&ou(o,t)){let a=fu(o,t);return o=Yl(o,o.next),a=Yl(a,a.next),Zl(o,e,n,r,i,s,0),void Zl(a,e,n,r,i,s,0)}t=t.next;}o=o.next;}while(o!==t)}function Ql(t,e){let n=t.x-e.x;return 0===n&&(n=t.y-e.y,0===n)&&(n=(t.next.y-t.y)/(t.next.x-t.x)-(e.next.y-e.y)/(e.next.x-e.x)),n}function tu(t,e){const n=function(t,e){let n=e;const r=t.x,i=t.y;let s,o=-1/0;if(lu(t,n))return n;do{if(lu(t,n.next))return n.next;if(i<=n.y&&i>=n.next.y&&n.next.y!==n.y){const t=n.x+(i-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(t<=r&&t>o&&(o=t,s=n.x=n.x&&n.x>=l&&r!==n.x&&iu(is.x||n.x===s.x&&eu(s,n)))&&(s=n,c=e);}n=n.next;}while(n!==a);return s}(t,e);if(!n)return e;const r=fu(n,t);return Yl(r,r.next),Yl(n,n.next)}function eu(t,e){return au(t.prev,t,e.prev)<0&&au(e.next,t,t.next)<0}function nu(t,e,n,r,i){return (t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=(t-n)*i|0)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=(e-r)*i|0)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function ru(t){let e=t,n=t;do{(e.x=(t-o)*(s-a)&&(t-o)*(r-a)>=(n-o)*(e-a)&&(n-o)*(s-a)>=(i-o)*(r-a)}function su(t,e,n,r,i,s,o,a){return !(t===o&&e===a)&&iu(t,e,n,r,i,s,o,a)}function ou(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){let n=t;do{if(n.i!==t.i&&n.next.i!==t.i&&n.i!==e.i&&n.next.i!==e.i&&uu(n,n.next,t,e))return !0;n=n.next;}while(n!==t);return !1}(t,e)&&(pu(t,e)&&pu(e,t)&&function(t,e){let n=t,r=!1;const i=(t.x+e.x)/2,s=(t.y+e.y)/2;do{n.y>s!=n.next.y>s&&n.next.y!==n.y&&i<(n.next.x-n.x)*(s-n.y)/(n.next.y-n.y)+n.x&&(r=!r),n=n.next;}while(n!==t);return r}(t,e)&&(au(t.prev,t,e.prev)||au(t,e.prev,e))||lu(t,e)&&au(t.prev,t,t.next)>0&&au(e.prev,e,e.next)>0)}function au(t,e,n){return (e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y)}function lu(t,e){return t.x===e.x&&t.y===e.y}function uu(t,e,n,r){const i=hu(au(t,e,n)),s=hu(au(t,e,r)),o=hu(au(n,r,t)),a=hu(au(n,r,e));return i!==s&&o!==a||!(0!==i||!cu(t,n,e))||!(0!==s||!cu(t,r,e))||!(0!==o||!cu(n,t,r))||!(0!==a||!cu(n,e,r))}function cu(t,e,n){return e.x<=Math.max(t.x,n.x)&&e.x>=Math.min(t.x,n.x)&&e.y<=Math.max(t.y,n.y)&&e.y>=Math.min(t.y,n.y)}function hu(t){return t>0?1:t<0?-1:0}function pu(t,e){return au(t.prev,t,t.next)<0?au(t,e,t.next)>=0&&au(t,t.prev,e)>=0:au(t,e,t.prev)<0||au(t,t.next,e)<0}function fu(t,e){const n=mu(t.i,t.x,t.y),r=mu(e.i,e.x,e.y),i=t.next,s=e.prev;return t.next=e,e.prev=t,n.next=i,i.prev=n,r.next=n,n.prev=r,s.next=r,r.prev=s,r}function du(t,e,n,r){const i=mu(t,e,n);return r?(i.next=r.next,i.prev=r,r.next.prev=i,r.next=i):(i.prev=i,i.next=i),i}function yu(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ);}function mu(t,e,n){return {i:t,x:e,y:n,prev:null,next:null,z:0,prevZ:null,nextZ:null,steiner:!1}}class gu{constructor(t,e){if(e>t)throw new Error("Min granularity must not be greater than base granularity.");this._baseZoomGranularity=t,this._minGranularity=e;}getGranularityForZoomLevel(t){return Math.max(Math.floor(this._baseZoomGranularity/(1<32767||e>32767)throw new Error("Vertex coordinates are out of signed 16 bit integer range.");const n=0|Math.round(t),r=0|Math.round(e),i=this._getKey(n,r);if(this._vertexDictionary.has(i))return this._vertexDictionary.get(i);const s=this._vertexBuffer.length/2;return this._vertexDictionary.set(i,s),this._vertexBuffer.push(n,r),s}_subdivideTrianglesScanline(t){if(this._granularity<2)return function(t,e){const n=[];for(let r=0;r0?(n.push(i),n.push(o),n.push(s)):(n.push(i),n.push(s),n.push(o));}return n}(this._vertexBuffer,t);const e=[],n=t.length;for(let r=0;r=1||v<=0)||y&&(ai)){u>=r&&u<=i&&s.push(n[(t+1)%3]);continue}!y&&x>0&&s.push(this._vertexToIndex(o+p*x,a+f*x));const b=o+p*Math.max(x,0),w=o+p*Math.min(v,1);d||this._generateIntraEdgeVertices(s,o,a,l,u,b,w),!y&&v<1&&s.push(this._vertexToIndex(o+p*v,a+f*v)),(y||u>=r&&u<=i)&&s.push(n[(t+1)%3]),!y&&(u<=r||u>=i)&&this._generateInterEdgeVertices(s,o,a,l,u,c,h,w,r,i);}return s}_generateIntraEdgeVertices(t,e,n,r,i,s,o){const a=r-e,l=i-n,u=0===l,c=u?Math.min(e,r):Math.min(s,o),h=u?Math.max(e,r):Math.max(s,o),p=Math.floor(c/this._granularityCellSize)+1,f=Math.ceil(h/this._granularityCellSize)-1;if(u?e=p;r--){const i=r*this._granularityCellSize;t.push(this._vertexToIndex(i,n+l*(i-e)/a));}}_generateInterEdgeVertices(t,e,n,r,i,s,o,a,l,u){const c=i-n,h=s-r,p=o-i,f=(l-i)/p,d=(u-i)/p,y=Math.min(f,d),m=Math.max(f,d),g=r+h*y;let x=Math.floor(Math.min(g,a)/this._granularityCellSize)+1,v=Math.ceil(Math.max(g,a)/this._granularityCellSize)-1,b=a=1||m<=0){const t=n-o,r=s+(e-s)*Math.min((l-o)/t,(u-o)/t);x=Math.floor(Math.min(r,a)/this._granularityCellSize)+1,v=Math.ceil(Math.max(r,a)/this._granularityCellSize)-1,b=a0?u:l;if(b)for(let e=x;e<=v;e++)t.push(this._vertexToIndex(e*this._granularityCellSize,_));else for(let e=v;e>=x;e--)t.push(this._vertexToIndex(e*this._granularityCellSize,_));}_generateOutline(t){const e=[];for(const n of t){const t=Su(n,this._granularity,!0),r=this._pointArrayToIndices(t),i=[];for(let t=1;ti!=(s===vu)?(t.push(e),t.push(n),t.push(this._vertexToIndex(r,s)),t.push(n),t.push(this._vertexToIndex(i,s)),t.push(this._vertexToIndex(r,s))):(t.push(n),t.push(e),t.push(this._vertexToIndex(r,s)),t.push(this._vertexToIndex(i,s)),t.push(n),t.push(this._vertexToIndex(r,s)));}_fillPoles(t,e,n){const r=this._vertexBuffer,i=T,s=t.length;for(let o=2;o80*n){a=t[0],l=t[1];let e=a,r=l;for(let s=n;se&&(e=n),i>r&&(r=i);}u=Math.max(e-a,r-l),u=0!==u?32767/u:0;}return Zl(s,o,n,a,l,u,0),o}(n,r),e=this._convertIndices(n,t);i=this._subdivideTrianglesScanline(e);}catch(t){console.error(t);}let s=[];return e&&(s=this._generateOutline(t)),this._ensureNoPoleVertices(),this._handlePoles(i),{verticesFlattened:this._vertexBuffer,indicesTriangles:i,indicesLineList:s}}_convertIndices(t,e){const n=[];for(const r of e)n.push(this._vertexToIndex(t[2*r],t[2*r+1]));return n}_pointArrayToIndices(t){const e=[];for(const n of t)e.push(this._vertexToIndex(n.x,n.y));return e}}function _u(t,e,n,r=!0){return new wu(n,e).subdividePolygonInternal(t,r)}function Su(t,e,r=!1){if(!t||t.length<1)return [];if(t.length<2)return [];const i=t[0],s=t[t.length-1],o=r&&(i.x!==s.x||i.y!==s.y);if(e<2)return o?[...t,t[0]]:[...t];const a=Math.floor(T/e),l=[];l.push(new n(t[0].x,t[0].y));const u=t.length,c=o?u:u-1;for(let e=0;e0?(Math.floor(x/a)+1)*a:(Math.ceil(x/a)-1)*a,e=y>0?(Math.floor(v/a)+1)*a:(Math.ceil(v/a)-1)*a,r=Math.abs(x-t),i=Math.abs(v-e),s=Math.abs(x-c),o=Math.abs(v-h),u=p?r/m:Number.POSITIVE_INFINITY,b=f?i/g:Number.POSITIVE_INFINITY;if((s<=r||!p)&&(o<=i||!f))break;if(u=0?o-1:s-1,i=(a+1)%s,l=t[2*e[r]],u=t[2*e[i]],c=t[2*e[o]],h=t[2*e[o]+1],p=t[2*e[a]+1];let f=!1;if(lu)f=!1;else {const n=p-h,s=-(t[2*e[a]]-c),o=h((u-c)*n+(t[2*e[i]+1]-h)*s)*o&&(f=!0);}if(f){const t=e[r],i=e[o],l=e[a];t!==i&&t!==l&&i!==l&&n.push(l,i,t),o--,o<0&&(o=s-1);}else {const t=e[i],r=e[o],l=e[a];t!==r&&t!==l&&r!==l&&n.push(l,r,t),a++,a>=s&&(a=0);}if(r===i)break}}function Mu(t,e,n,r,i,s,o,a,l){const u=i.length/2,c=o&&a&&l;if(uua.MAX_VERTEX_ARRAY_LENGTH&&(u=t.createNewSegment(e,n),l=a.count,y=!0,m=!0,g=!0,c=0);const x=ku(o,r,s,a,p,y,u),v=ku(o,r,s,a,f,m,u),b=ku(o,r,s,a,d,g,u);n.emplaceBack(c+x-l,c+v-l,c+b-l),u.primitiveLength++;}}(e,n,r,i,s,t),c&&function(t,e,n,r,i,s){const o=[];for(let t=0;tua.MAX_VERTEX_ARRAY_LENGTH&&(u=t.createNewSegment(e,n),l=a.count,d=!0,y=!0,c=0);const m=ku(o,r,s,a,p,d,u),g=ku(o,r,s,a,f,y,u);n.emplaceBack(c+m-l,c+g-l),u.primitiveLength++;}}(o,n,a,i,l,t),e.forceNewSegmentOnNextPrepare(),null==o||o.forceNewSegmentOnNextPrepare();}function ku(t,e,n,r,i,s,o){if(s){const s=r.count;return n(e[2*i],e[2*i+1]),t[i]=r.count,r.count++,o.vertexLength++,s}return t[i]}class Iu{constructor(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((t=>t.id)),this.index=t.index,this.hasDependencies=!1,this.patternFeatures=[],this.layoutVertexArray=new Zo,this.indexArray=new sa,this.indexArray2=new oa,this.programConfigurations=new $a(t.layers,t.zoom),this.segments=new ua,this.segments2=new ua,this.stateDependentLayerIds=this.layers.filter((t=>t.isStateDependent())).map((t=>t.id));}populate(t,e,n){this.hasDependencies=ql("fill",this.layers,e);const r=this.layers[0].layout.get("fill-sort-key"),i=!r.isConstant(),s=[];for(const{feature:o,id:a,index:l,sourceLayerIndex:u}of t){const t=this.layers[0]._featureFilter.needGeometry,c=Ga(o,t);if(!this.layers[0]._featureFilter.filter(new Cs(this.zoom),c,n))continue;const h=i?r.evaluate(c,{},n,e.availableImages):void 0,p={id:a,properties:o.properties,type:o.type,sourceLayerIndex:u,index:l,geometry:t?c.geometry:qa(o),patterns:{},sortKey:h};s.push(p);}i&&s.sort(((t,e)=>t.sortKey-e.sortKey));for(const r of s){const{geometry:i,index:s,sourceLayerIndex:o}=r;if(this.hasDependencies){const t=Gl("fill",this.layers,r,{zoom:this.zoom},e);this.patternFeatures.push(t);}else this.addFeature(r,i,s,n,{},e.subdivisionGranularity);e.featureIndex.insert(t[s].feature,i,s,o,this.index);}}update(t,e,n){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,{imagePositions:n});}addFeatures(t,e,n){for(const r of this.patternFeatures)this.addFeature(r,r.geometry,r.index,e,n,t.subdivisionGranularity);}isEmpty(){return 0===this.layoutVertexArray.length}uploadPending(){return !this.uploaded||this.programConfigurations.needsUpload}upload(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,jl),this.indexBuffer=t.createIndexBuffer(this.indexArray),this.indexBuffer2=t.createIndexBuffer(this.indexArray2)),this.programConfigurations.upload(t),this.uploaded=!0;}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.indexBuffer2.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.segments2.destroy());}addFeature(t,e,n,r,i,s){for(const t of rr(e,500)){const e=_u(t,r,s.fill.getGranularityForZoomLevel(r.z)),n=this.layoutVertexArray;Mu(((t,e)=>{n.emplaceBack(t,e);}),this.segments,this.layoutVertexArray,this.indexArray,e.verticesFlattened,e.indicesTriangles,this.segments2,this.indexArray2,e.indicesLineList);}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,n,{imagePositions:i,canonical:r});}}let Eu,Tu;ds("FillBucket",Iu,{omit:["layers","patternFeatures"]});var Fu={get paint(){return Tu=Tu||new Ks({"fill-antialias":new Xs(wt.paint_fill["fill-antialias"]),"fill-opacity":new Ys(wt.paint_fill["fill-opacity"]),"fill-color":new Ys(wt.paint_fill["fill-color"]),"fill-outline-color":new Ys(wt.paint_fill["fill-outline-color"]),"fill-translate":new Xs(wt.paint_fill["fill-translate"]),"fill-translate-anchor":new Xs(wt.paint_fill["fill-translate-anchor"]),"fill-pattern":new Zs(wt.paint_fill["fill-pattern"])})},get layout(){return Eu=Eu||new Ks({"fill-sort-key":new Ys(wt.layout_fill["fill-sort-key"])})}};class Pu extends to{constructor(t,e){super(t,Fu,e);}recalculate(t,e){super.recalculate(t,e);const n=this.paint._values["fill-outline-color"];"constant"===n.value.kind&&void 0===n.value.value&&(this.paint._values["fill-outline-color"]=this.paint._values["fill-color"]);}createBucket(t){return new Iu(t)}queryRadius(){return al(this.paint.get("fill-translate"))}queryIntersectsFeature({queryGeometry:t,geometry:e,transform:n,pixelsToTileUnits:r}){return Ka(ll(t,this.paint.get("fill-translate"),this.paint.get("fill-translate-anchor"),-n.bearingInRadians,r),e)}isTileClipped(){return !0}}const Du=ao([{name:"a_pos",components:2,type:"Int16"},{name:"a_normal_ed",components:4,type:"Int16"}],4),zu=ao([{name:"a_centroid",components:2,type:"Int16"}],4),{members:Bu}=Du;class Cu{constructor(t,e,n,r,i){this.properties={},this.extent=n,this.type=0,this.id=void 0,this._pbf=t,this._geometry=-1,this._keys=r,this._values=i,t.readFields(Vu,this,e);}loadGeometry(){const t=this._pbf;t.pos=this._geometry;const e=t.readVarint()+t.pos,r=[];let i,s=1,o=0,a=0,l=0;for(;t.pos>3;}if(o--,1===s||2===s)a+=t.readSVarint(),l+=t.readSVarint(),1===s&&(i&&r.push(i),i=[]),i&&i.push(new n(a,l));else {if(7!==s)throw new Error(`unknown command ${s}`);i&&i.push(i[0].clone());}}return i&&r.push(i),r}bbox(){const t=this._pbf;t.pos=this._geometry;const e=t.readVarint()+t.pos;let n=1,r=0,i=0,s=0,o=1/0,a=-1/0,l=1/0,u=-1/0;for(;t.pos>3;}if(r--,1===n||2===n)i+=t.readSVarint(),s+=t.readSVarint(),ia&&(a=i),su&&(u=s);else if(7!==n)throw new Error(`unknown command ${n}`)}return [o,l,a,u]}toGeoJSON(t,e,n){const r=this.extent*Math.pow(2,n),i=this.extent*t,s=this.extent*e,o=this.loadGeometry();function a(t){return [360*(t.x+i)/r-180,360/Math.PI*Math.atan(Math.exp((1-2*(t.y+s)/r)*Math.PI))-90]}function l(t){return t.map(a)}let u;if(1===this.type){const t=[];for(const e of o)t.push(e[0]);const e=l(t);u=1===t.length?{type:"Point",coordinates:e[0]}:{type:"MultiPoint",coordinates:e};}else if(2===this.type){const t=o.map(l);u=1===t.length?{type:"LineString",coordinates:t[0]}:{type:"MultiLineString",coordinates:t};}else {if(3!==this.type)throw new Error("unknown feature type");{const t=Lu(o),e=[];for(const n of t)e.push(n.map(l));u=1===e.length?{type:"Polygon",coordinates:e[0]}:{type:"MultiPolygon",coordinates:e};}}const c={type:"Feature",geometry:u,properties:this.properties};return null!=this.id&&(c.id=this.id),c}}function Vu(t,e,n){1===t?e.id=n.readVarint():2===t?function(t,e){const n=t.readVarint()+t.pos;for(;t.pos=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[t];const e=this._pbf.readVarint()+this._pbf.pos;return new Cu(this._pbf,e,this.extent,this._keys,this._values)}}function Ru(t,e,n){15===t?e.version=n.readVarint():1===t?e.name=n.readString():5===t?e.extent=n.readVarint():2===t?e._features.push(n.pos):3===t?e._keys.push(n.readString()):4===t&&e._values.push(function(t){let e=null;const n=t.readVarint()+t.pos;for(;t.pos>3;e=1===n?t.readString():2===n?t.readFloat():3===n?t.readDouble():4===n?t.readVarint64():5===n?t.readVarint():6===n?t.readSVarint():7===n?t.readBoolean():null;}if(null==e)throw new Error("unknown feature value");return e}(n));}class Nu{constructor(t,e){this.layers=t.readFields(Uu,{},e);}}function Uu(t,e,n){if(3===t){const t=new $u(n,n.readVarint()+n.pos);t.length&&(e[t.name]=t);}}const ju=Math.pow(2,13);function qu(t,e,n,r,i,s,o,a){t.emplaceBack(e,n,2*Math.floor(r*ju)+o,i*ju*2,s*ju*2,Math.round(a));}class Gu{constructor(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((t=>t.id)),this.index=t.index,this.hasDependencies=!1,this.layoutVertexArray=new Ho,this.centroidVertexArray=new Xo,this.indexArray=new sa,this.programConfigurations=new $a(t.layers,t.zoom),this.segments=new ua,this.stateDependentLayerIds=this.layers.filter((t=>t.isStateDependent())).map((t=>t.id));}populate(t,e,n){this.features=[],this.hasDependencies=ql("fill-extrusion",this.layers,e);for(const{feature:r,id:i,index:s,sourceLayerIndex:o}of t){const t=this.layers[0]._featureFilter.needGeometry,a=Ga(r,t);if(!this.layers[0]._featureFilter.filter(new Cs(this.zoom),a,n))continue;const l={id:i,sourceLayerIndex:o,index:s,geometry:t?a.geometry:qa(r),properties:r.properties,type:r.type,patterns:{}};this.hasDependencies?this.features.push(Gl("fill-extrusion",this.layers,l,{zoom:this.zoom},e)):this.addFeature(l,l.geometry,s,n,{},e.subdivisionGranularity),e.featureIndex.insert(r,l.geometry,s,o,this.index,!0);}}addFeatures(t,e,n){for(const r of this.features){const{geometry:i}=r;this.addFeature(r,i,r.index,e,n,t.subdivisionGranularity);}}update(t,e,n){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,{imagePositions:n});}isEmpty(){return 0===this.layoutVertexArray.length&&0===this.centroidVertexArray.length}uploadPending(){return !this.uploaded||this.programConfigurations.needsUpload}upload(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,Bu),this.centroidVertexBuffer=t.createVertexBuffer(this.centroidVertexArray,zu.members,!0),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0;}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.centroidVertexBuffer.destroy());}addFeature(t,e,n,r,i,s){for(const n of rr(e,500)){const e={x:0,y:0,sampleCount:0},i=this.layoutVertexArray.length;this.processPolygon(e,r,t,n,s);const o=this.layoutVertexArray.length-i,a=Math.floor(e.x/e.sampleCount),l=Math.floor(e.y/e.sampleCount);for(let t=0;t{qu(u,t,e,0,0,1,1,0);}),this.segments,this.layoutVertexArray,this.indexArray,l.verticesFlattened,l.indicesTriangles);}_generateSideFaces(t,e){let n=0;for(let r=1;rua.MAX_VERTEX_ARRAY_LENGTH&&(e.segment=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));const o=i.sub(s)._perp()._unit(),a=s.dist(i);n+a>32768&&(n=0),qu(this.layoutVertexArray,i.x,i.y,o.x,o.y,0,0,n),qu(this.layoutVertexArray,i.x,i.y,o.x,o.y,0,1,n),n+=a,qu(this.layoutVertexArray,s.x,s.y,o.x,o.y,0,0,n),qu(this.layoutVertexArray,s.x,s.y,o.x,o.y,0,1,n);const l=e.segment.vertexLength;this.indexArray.emplaceBack(l,l+2,l+1),this.indexArray.emplaceBack(l+1,l+2,l+3),e.segment.vertexLength+=4,e.segment.primitiveLength+=2;}}}function Xu(t,e){for(let n=0;nT)||t.y===e.y&&(t.y<0||t.y>T)}function Zu(t){return t.every((t=>t.x<0))||t.every((t=>t.x>T))||t.every((t=>t.y<0))||t.every((t=>t.y>T))}let Hu;ds("FillExtrusionBucket",Gu,{omit:["layers","features"]});var Wu={get paint(){return Hu=Hu||new Ks({"fill-extrusion-opacity":new Xs(wt["paint_fill-extrusion"]["fill-extrusion-opacity"]),"fill-extrusion-color":new Ys(wt["paint_fill-extrusion"]["fill-extrusion-color"]),"fill-extrusion-translate":new Xs(wt["paint_fill-extrusion"]["fill-extrusion-translate"]),"fill-extrusion-translate-anchor":new Xs(wt["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),"fill-extrusion-pattern":new Zs(wt["paint_fill-extrusion"]["fill-extrusion-pattern"]),"fill-extrusion-height":new Ys(wt["paint_fill-extrusion"]["fill-extrusion-height"]),"fill-extrusion-base":new Ys(wt["paint_fill-extrusion"]["fill-extrusion-base"]),"fill-extrusion-vertical-gradient":new Xs(wt["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"])})}};class Ku extends to{constructor(t,e){super(t,Wu,e);}createBucket(t){return new Gu(t)}queryRadius(){return al(this.paint.get("fill-extrusion-translate"))}is3D(){return !0}queryIntersectsFeature({queryGeometry:t,feature:e,featureState:r,geometry:i,transform:s,pixelsToTileUnits:o,pixelPosMatrix:a}){const l=ll(t,this.paint.get("fill-extrusion-translate"),this.paint.get("fill-extrusion-translate-anchor"),-s.bearingInRadians,o),u=this.paint.get("fill-extrusion-height").evaluate(e,r),c=this.paint.get("fill-extrusion-base").evaluate(e,r),h=function(t,e){const r=[];for(const i of t){const t=[i.x,i.y,0,1];A(t,t,e),r.push(new n(t[0]/t[3],t[1]/t[3]));}return r}(l,a),p=function(t,e,r,i){const s=[],o=[],a=i[8]*e,l=i[9]*e,u=i[10]*e,c=i[11]*e,h=i[8]*r,p=i[9]*r,f=i[10]*r,d=i[11]*r;for(const e of t){const t=[],r=[];for(const s of e){const e=s.x,o=s.y,y=i[0]*e+i[4]*o+i[12],m=i[1]*e+i[5]*o+i[13],g=i[2]*e+i[6]*o+i[14],x=i[3]*e+i[7]*o+i[15],v=g+u,b=x+c,w=y+h,_=m+p,S=g+f,A=x+d,M=new n((y+a)/b,(m+l)/b);M.z=v/b,t.push(M);const k=new n(w/A,_/A);k.z=S/A,r.push(k);}s.push(t),o.push(r);}return [s,o]}(i,c,u,a);return function(t,e,n){let r=1/0;Ka(n,e)&&(r=Qu(n,e[0]));for(let i=0;i>4;if(1!==r)throw new Error(`Got v${r} data when expected v1.`);const i=tc[15&n];if(!i)throw new Error("Unrecognized array type.");const[s]=new Uint16Array(t,2,1),[o]=new Uint32Array(t,4,1);return new ec(o,s,i,t)}constructor(t,e=64,n=Float64Array,r){if(isNaN(t)||t<0)throw new Error(`Unpexpected numItems value: ${t}.`);this.numItems=+t,this.nodeSize=Math.min(Math.max(+e,2),65535),this.ArrayType=n,this.IndexArrayType=t<65536?Uint16Array:Uint32Array;const i=tc.indexOf(this.ArrayType),s=2*t*this.ArrayType.BYTES_PER_ELEMENT,o=t*this.IndexArrayType.BYTES_PER_ELEMENT,a=(8-o%8)%8;if(i<0)throw new Error(`Unexpected typed array class: ${n}.`);r&&r instanceof ArrayBuffer?(this.data=r,this.ids=new this.IndexArrayType(this.data,8,t),this.coords=new this.ArrayType(this.data,8+o+a,2*t),this._pos=2*t,this._finished=!0):(this.data=new ArrayBuffer(8+s+o+a),this.ids=new this.IndexArrayType(this.data,8,t),this.coords=new this.ArrayType(this.data,8+o+a,2*t),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,16+i]),new Uint16Array(this.data,2,1)[0]=e,new Uint32Array(this.data,4,1)[0]=t);}add(t,e){const n=this._pos>>1;return this.ids[n]=n,this.coords[this._pos++]=t,this.coords[this._pos++]=e,n}finish(){const t=this._pos>>1;if(t!==this.numItems)throw new Error(`Added ${t} items when expected ${this.numItems}.`);return nc(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(t,e,n,r){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:i,coords:s,nodeSize:o}=this,a=[0,i.length-1,0],l=[];for(;a.length;){const u=a.pop()||0,c=a.pop()||0,h=a.pop()||0;if(c-h<=o){for(let o=h;o<=c;o++){const a=s[2*o],u=s[2*o+1];a>=t&&a<=n&&u>=e&&u<=r&&l.push(i[o]);}continue}const p=h+c>>1,f=s[2*p],d=s[2*p+1];f>=t&&f<=n&&d>=e&&d<=r&&l.push(i[p]),(0===u?t<=f:e<=d)&&(a.push(h),a.push(p-1),a.push(1-u)),(0===u?n>=f:r>=d)&&(a.push(p+1),a.push(c),a.push(1-u));}return l}within(t,e,n){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:r,coords:i,nodeSize:s}=this,o=[0,r.length-1,0],a=[],l=n*n;for(;o.length;){const u=o.pop()||0,c=o.pop()||0,h=o.pop()||0;if(c-h<=s){for(let n=h;n<=c;n++)oc(i[2*n],i[2*n+1],t,e)<=l&&a.push(r[n]);continue}const p=h+c>>1,f=i[2*p],d=i[2*p+1];oc(f,d,t,e)<=l&&a.push(r[p]),(0===u?t-n<=f:e-n<=d)&&(o.push(h),o.push(p-1),o.push(1-u)),(0===u?t+n>=f:e+n>=d)&&(o.push(p+1),o.push(c),o.push(1-u));}return a}}function nc(t,e,n,r,i,s){if(i-r<=n)return;const o=r+i>>1;rc(t,e,o,r,i,s),nc(t,e,n,r,o-1,1-s),nc(t,e,n,o+1,i,1-s);}function rc(t,e,n,r,i,s){for(;i>r;){if(i-r>600){const o=i-r+1,a=n-r+1,l=Math.log(o),u=.5*Math.exp(2*l/3),c=.5*Math.sqrt(l*u*(o-u)/o)*(a-o/2<0?-1:1);rc(t,e,n,Math.max(r,Math.floor(n-a*u/o+c)),Math.min(i,Math.floor(n+(o-a)*u/o+c)),s);}const o=e[2*n+s];let a=r,l=i;for(ic(t,e,r,n),e[2*i+s]>o&&ic(t,e,r,i);ao;)l--;}e[2*r+s]===o?ic(t,e,r,l):(l++,ic(t,e,l,i)),l<=n&&(r=l+1),n<=l&&(i=l-1);}}function ic(t,e,n,r){sc(t,n,r),sc(e,2*n,2*r),sc(e,2*n+1,2*r+1);}function sc(t,e,n){const r=t[e];t[e]=t[n],t[n]=r;}function oc(t,e,n,r){const i=t-n,s=e-r;return i*i+s*s}function ac(t,e,n,r){let i=r;const s=e+(n-e>>1);let o,a=n-e;const l=t[e],u=t[e+1],c=t[n],h=t[n+1];for(let r=e+3;ri)o=r,i=e;else if(e===i){const t=Math.abs(r-s);tr&&(o-e>3&&ac(t,e,o,r),t[o+2]=i,n-o>3&&ac(t,o,n,r));}function lc(t,e,n,r,i,s){let o=i-n,a=s-r;if(0!==o||0!==a){const l=((t-n)*o+(e-r)*a)/(o*o+a*a);l>1?(n=i,r=s):l>0&&(n+=o*l,r+=a*l);}return o=t-n,a=e-r,o*o+a*a}function uc(t,e,n,r){const i={type:e,geom:n},s={id:null==t?null:t,type:i.type,geometry:i.geom,tags:r,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};switch(i.type){case "Point":case "MultiPoint":hc(s,i.geom);break;case "LineString":hc(s,i.geom.points);break;case "Polygon":hc(s,i.geom[0].points);break;case "MultiLineString":for(const t of i.geom)hc(s,t.points);break;case "MultiPolygon":for(const t of i.geom)hc(s,t[0].points);}return s}function cc(t){t.points.length>64&&(t.points=new Float64Array(t.points));}function hc(t,e){for(let n=0;n0&&(o+=r?(i*l-a*s)/2:Math.sqrt(Math.pow(a-i,2)+Math.pow(l-s,2))),i=a,s=l;}const a=e.points.length-3;e.points[2]=1,n>0&&ac(e.points,0,a,n),e.points[a+2]=1,cc(e),e.size=Math.abs(o),e.start=0,e.end=e.size;}function yc(t,e,n,r){for(let i=0;i1?1:n}function xc(t){const e={type:"Feature",geometry:vc(t),properties:t.tags};return null!=t.id&&(e.id=t.id),e}function vc(t){const{type:e,geometry:n}=t;switch(e){case "Point":return {type:e,coordinates:wc(n[0],n[1])};case "MultiPoint":return {type:e,coordinates:bc(n)};case "LineString":return {type:e,coordinates:bc(n.points)};case "MultiLineString":case "Polygon":return {type:e,coordinates:n.map((t=>bc(t.points)))};case "MultiPolygon":return {type:e,coordinates:n.map((t=>t.map((t=>bc(t.points)))))}}}function bc(t){const e=[];for(let n=0;n=(n/=e)&&o=r)return null;const l=[];for(const e of t){const t=i===Ac.X?e.minX:e.minY,s=i===Ac.X?e.maxX:e.maxY;if(t>=n&&s=r))switch(e.type){case "Point":case "MultiPoint":kc(e,l,n,r,i);continue;case "LineString":Ic(e,l,n,r,i,a);continue;case "MultiLineString":Ec(e,l,n,r,i);continue;case "Polygon":Tc(e,l,n,r,i);continue;case "MultiPolygon":Fc(e,l,n,r,i);continue}}return l.length?l:null}function kc(t,e,n,r,i){const s=[];((function(t,e,n,r,i){for(let s=0;s=n&&o<=r&&Bc(e,t[s],t[s+1],t[s+2]);}}))(t.geometry,s,n,r,i),s.length&&e.push(uc(t.id,3===s.length?"Point":"MultiPoint",s,t.tags));}function Ic(t,e,n,r,i,s){const o=[];if(Pc(t.geometry,o,n,r,i,!1,s.lineMetrics),o.length)if(s.lineMetrics)for(const n of o)e.push(uc(t.id,"LineString",n,t.tags));else e.push(o.length>1?uc(t.id,"MultiLineString",o,t.tags):uc(t.id,"LineString",o[0],t.tags));}function Ec(t,e,n,r,i){const s=[];zc(t.geometry,s,n,r,i,!1),s.length&&e.push(1!==s.length?uc(t.id,"MultiLineString",s,t.tags):uc(t.id,"LineString",s[0],t.tags));}function Tc(t,e,n,r,i){const s=[];zc(t.geometry,s,n,r,i,!0),s.length&&e.push(uc(t.id,"Polygon",s,t.tags));}function Fc(t,e,n,r,i){const s=[];for(const e of t.geometry){const t=[];zc(e,t,n,r,i,!0),t.length&&s.push(t);}s.length&&e.push(uc(t.id,"MultiPolygon",s,t.tags));}function Pc(t,e,n,r,i,s,o){let a=Dc(t);const l=i===Ac.X?Cc:Vc;let u,c,h=t.start;for(let p=0;pn&&(c=l(a,f,d,m,g,n),o&&(a.start=h+u*c)):x>r?v=n&&(c=l(a,f,d,m,g,n),b=!0),v>r&&x<=r&&(c=l(a,f,d,m,g,r),b=!0),!s&&b&&(o&&(a.end=h+u*c),e.push(a),a=Dc(t)),o&&(h+=u);}let p=t.points.length-3;const f=t.points[p],d=t.points[p+1],y=i===Ac.X?f:d;y>=n&&y<=r&&Bc(a.points,f,d,t.points[p+2]),p=a.points.length-3,s&&p>=3&&(a.points[p]!==a.points[0]||a.points[p+1]!==a.points[1])&&Bc(a.points,a.points[0],a.points[1],a.points[2]),a.points.length&&(cc(a),e.push(a));}function Dc(t){return {points:[],size:t.size,start:t.start,end:t.end}}function zc(t,e,n,r,i,s){for(const o of t)Pc(o,e,n,r,i,s,!1);}function Bc(t,e,n,r){t.push(e,n,r);}function Cc(t,e,n,r,i,s){const o=(s-e)/(r-e);return Bc(t.points,s,n+(i-n)*o,1),o}function Vc(t,e,n,r,i,s){const o=(s-n)/(i-n);return Bc(t.points,e+(r-e)*o,s,1),o}function Lc(t,e){const n=e.buffer/e.extent;let r=t;const i=Mc(t,1,-1-n,n,Ac.X,-1,2,e),s=Mc(t,1,1-n,2+n,Ac.X,-1,2,e);return i||s?(r=Mc(t,1,-n,1+n,Ac.X,-1,2,e)||[],i&&(r=Oc(i,1).concat(r)),s&&(r=r.concat(Oc(s,-1))),r):r}function Oc(t,e){const n=[];for(const r of t)switch(r.type){case "Point":case "MultiPoint":{const t=$c(r.geometry,e);n.push(uc(r.id,r.type,t,r.tags));continue}case "LineString":{const t=Rc(r.geometry,e);n.push(uc(r.id,r.type,t,r.tags));continue}case "MultiLineString":case "Polygon":{const t=[];for(const n of r.geometry)t.push(Rc(n,e));n.push(uc(r.id,r.type,t,r.tags));continue}case "MultiPolygon":{const t=[];for(const n of r.geometry){const r=[];for(const t of n)r.push(Rc(t,e));t.push(r);}n.push(uc(r.id,r.type,t,r.tags));continue}}return n}function $c(t,e){const n=[];for(let r=0;r0||e.addOrUpdateProperties?.length>0;if(r){const r=t[0];let s=pc({type:"FeatureCollection",features:[{type:"Feature",id:r.id,geometry:e.newGeometry,properties:i?Uc(r.tags,e):r.tags}]},n);return s=Lc(s,n),s}if(i){const n=[];for(const r of t){const t={...r};t.tags=Uc(t.tags,e),n.push(t);}return n}return t}function Uc(t,e){if(e.removeAllProperties)return {};const n={...t||{}};if(e.removeProperties)for(const t of e.removeProperties)delete n[t];if(e.addOrUpdateProperties)for(const{key:t,value:r}of e.addOrUpdateProperties)n[t]=r;return n}!function(t){t[t.X=0]="X",t[t.Y=1]="Y";}(Ac||(Ac={}));const jc={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:t=>t};class qc{constructor(t){this.options=Object.assign(Object.create(jc),t),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[],this.points=[];}load(t){const e=[];for(const n of t){if(!n.geometry)continue;const[t,r]=n.geometry.coordinates,[i,s]=[mc(t),gc(r)];e.push({id:n.id,type:"Point",geometry:[i,s],tags:n.properties});}this.createIndex(e);}initialize(t){const e=[];for(const n of t)"Point"===n.type&&e.push(n);this.createIndex(e);}updateIndex(t,e,n){this.options=Object.assign(Object.create(jc),n.clusterOptions),this.initialize(t);}createIndex(t){const{log:e,minZoom:n,maxZoom:r}=this.options;e&&console.time("total time");const i=`prepare ${t.length} points`;e&&console.time(i),this.points=t;const s=[];for(let e=0;e=n;t--){const n=Date.now();o=this.trees[t]=this.createTree(this.cluster(o,t)),e&&console.log("z%d: %d clusters in %dms",t,o.numItems,Date.now()-n);}e&&console.timeEnd("total time");}getClusters(t,e){return this.getClustersInternal(t,e).map((t=>xc(t)))}getClustersInternal(t,e){let n=((t[0]+180)%360+360)%360-180;const r=Math.max(-90,Math.min(90,t[1]));let i=180===t[2]?180:((t[2]+180)%360+360)%360-180;const s=Math.max(-90,Math.min(90,t[3]));if(t[2]-t[0]>=360)n=-180,i=180;else if(n>i){const t=this.getClustersInternal([n,r,180,s],e),o=this.getClustersInternal([-180,r,i,s],e);return t.concat(o)}const o=this.trees[this.limitZoom(e)],a=o.range(mc(n),gc(s),mc(i),gc(r)),l=o.flatData,u=[];for(const t of a){const e=this.stride*t;u.push(l[e+5]>1?Gc(l,e,this.clusterProps):this.points[l[e+3]]);}return u}getChildren(t){const e=this.getOriginId(t),n=this.getOriginZoom(t),r=new Error("No cluster with the specified id: "+t),i=this.trees[n];if(!i)throw r;const s=i.flatData;if(e*this.stride>=s.length)throw r;const o=this.options.radius/(this.options.extent*Math.pow(2,n-1)),a=i.within(s[e*this.stride],s[e*this.stride+1],o),l=[];for(const e of a){const n=e*this.stride;s[n+4]===t&&l.push(s[n+5]>1?Xc(s,n,this.clusterProps):xc(this.points[s[n+3]]));}if(0===l.length)throw r;return l}getLeaves(t,e,n){const r=[];return this.appendLeaves(r,t,e=e||10,n=n||0,0),r}getTile(t,e,n){const r=this.trees[this.limitZoom(t)];if(!r)return null;const i=Math.pow(2,t),{extent:s,radius:o}=this.options,a=o/s,l=(n-a)/i,u=(n+1+a)/i,c={transformed:!0,features:[],source:null,x:e,y:n,z:t};return this.addTileFeatures(r.range((e-a)/i,l,(e+1+a)/i,u),r.flatData,e,n,i,c),0===e&&this.addTileFeatures(r.range(1-a/i,l,1,u),r.flatData,i,n,i,c),e===i-1&&this.addTileFeatures(r.range(0,l,a/i,u),r.flatData,-1,n,i,c),c}getClusterExpansionZoom(t){return this.getOriginZoom(t)}appendLeaves(t,e,n,r,i){const s=this.getChildren(e);for(const e of s){const s=e.properties;if(s?.cluster?i+s.point_count<=r?i+=s.point_count:i=this.appendLeaves(t,s.cluster_id,n,r,i):i1;let l,u,c;if(a)l=Yc(e,t,this.clusterProps),u=e[t],c=e[t+1];else {const n=this.points[e[t+3]];l=n.tags,[u,c]=n.geometry;}const h={type:1,geometry:[[Math.round(this.options.extent*(u*i-n)),Math.round(this.options.extent*(c*i-r))]],tags:l};let p;p=a||this.options.generateId?e[t+3]:this.points[e[t+3]].id,void 0!==p&&(h.id=p),s.features.push(h);}}limitZoom(t){return Math.max(this.options.minZoom,Math.min(Math.floor(+t),this.options.maxZoom+1))}cluster(t,e){const{radius:n,extent:r,reduce:i,minPoints:s}=this.options,o=n/(r*Math.pow(2,e)),a=t.flatData,l=[],u=this.stride;for(let n=0;ne&&(f+=a[n+5]);}if(f>p&&f>=s){let t,s=r*p,o=c*p,d=-1;const y=(n/u<<5)+(e+1)+this.points.length;for(const r of h){const l=r*u;if(a[l+2]<=e)continue;a[l+2]=e;const c=a[l+5];s+=a[l]*c,o+=a[l+1]*c,a[l+4]=y,i&&(t||(t=this.map(a,n,!0),d=this.clusterProps.length,this.clusterProps.push(t)),i(t,this.map(a,l)));}a[n+4]=y,l.push(s/f,o/f,1/0,y,-1,f),i&&l.push(d);}else {for(let t=0;t1)for(const t of h){const n=t*u;if(!(a[n+2]<=e)){a[n+2]=e;for(let t=0;t>5}getOriginZoom(t){return (t-this.points.length)%32}map(t,e,n){if(t[e+5]>1){const r=this.clusterProps[t[e+6]];return n?Object.assign({},r):r}const r=this.points[t[e+3]].tags,i=this.options.map(r);return n&&i===r?Object.assign({},i):i}}function Gc(t,e,n){return {id:t[e+3],type:"Point",tags:Yc(t,e,n),geometry:[t[e],t[e+1]]}}function Xc(t,e,n){return {type:"Feature",id:t[e+3],properties:Yc(t,e,n),geometry:{type:"Point",coordinates:[_c(t[e]),Sc(t[e+1])]}}}function Yc(t,e,n){const r=t[e+5],i=r>=1e4?`${Math.round(r/1e3)}k`:r>=1e3?Math.round(r/100)/10+"k":r,s=t[e+6],o=-1===s?{}:Object.assign({},n[s]);return Object.assign(o,{cluster:!0,cluster_id:t[e+3],point_count:r,point_count_abbreviated:i})}const Zc="geojsonvt_clip_start",Hc="geojsonvt_clip_end";function Wc(t,e,n,r,i){const s=e===i.maxZoom?0:i.tolerance/((1<0&&e.size<(i?o:r))return void(n.numPoints+=e.points.length/3);const a=[];for(let t=0;to)&&(n.numSimplified++,a.push(e.points[t],e.points[t+1])),n.numPoints++;i&&function(t,e){let n=0;for(let e=0,r=t.length,i=r-2;e0===e)for(let e=0,n=t.length;e1&&(console.log("invalidating tiles"),console.time("invalidating")),this.invalidateTiles(e),n.debug>1&&console.timeEnd("invalidating");const[r,i,s]=[0,0,0],o=Wc(t,r,i,s,n);o.source=t;const a=ih(r,i,s);if(this.tiles[a]=o,this.tileCoords.push({z:r,x:i,y:s,id:a}),n.debug){const t=`z${r}`;this.stats[t]=(this.stats[t]||0)+1,this.total++;}}getClusterExpansionZoom(t){return null}getChildren(t){return null}getLeaves(t,e,n){return null}getTile(t,e,n){const{extent:r,debug:i}=this.options,s=1<1&&console.log("drilling down to z%d-%d-%d",t,e,n);let a,l=t,u=e,c=n;for(;!a&&l>0;)l--,u>>=1,c>>=1,a=this.tiles[ih(l,u,c)];return a?.source?(i>1&&(console.log("found parent tile z%d-%d-%d",l,u,c),console.time("drilling down")),this.splitTile(a.source,l,u,c,t,e,n),i>1&&console.timeEnd("drilling down"),this.tiles[o]?Qc(this.tiles[o],r):null):null}splitTile(t,e,n,r,i,s,o){const a=[t,e,n,r],l=this.options,u=l.debug;for(;a.length;){r=a.pop(),n=a.pop(),e=a.pop(),t=a.pop();const c=1<1&&console.time("creation"),p=this.tiles[h]=Wc(t,e,n,r,l),this.tileCoords.push({z:e,x:n,y:r,id:h}),u)){u>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",e,n,r,p.numFeatures,p.numPoints,p.numSimplified),console.timeEnd("creation"));const t=`z${e}`;this.stats[t]=(this.stats[t]||0)+1,this.total++;}if(p.source=t,null==i){if(e===l.indexMaxZoom||p.numPoints<=l.indexMaxPoints)continue}else {if(e===l.maxZoom||e===i)continue;if(null!=i){const t=i-e;if(n!==s>>t||r!==o>>t)continue}}if(p.source=null,!t.length)continue;u>1&&console.time("clipping");const f=.5*l.buffer/l.extent,d=.5-f,y=.5+f,m=1+f;let g=null,x=null,v=null,b=null;const w=Mc(t,c,n-f,n+y,Ac.X,p.minX,p.maxX,l),_=Mc(t,c,n+d,n+m,Ac.X,p.minX,p.maxX,l);w&&(g=Mc(w,c,r-f,r+y,Ac.Y,p.minY,p.maxY,l),x=Mc(w,c,r+d,r+m,Ac.Y,p.minY,p.maxY,l)),_&&(v=Mc(_,c,r-f,r+y,Ac.Y,p.minY,p.maxY,l),b=Mc(_,c,r+d,r+m,Ac.Y,p.minY,p.maxY,l)),u>1&&console.timeEnd("clipping"),a.push(g||[],e+1,2*n,2*r),a.push(x||[],e+1,2*n,2*r+1),a.push(v||[],e+1,2*n+1,2*r),a.push(b||[],e+1,2*n+1,2*r+1);}}invalidateTiles(t){if(!t.length)return;const e=this.options,{debug:n}=e;let r=1/0,i=-1/0,s=1/0,o=-1/0;for(const e of t)r=Math.min(r,e.minX),i=Math.max(i,e.maxX),s=Math.min(s,e.minY),o=Math.max(o,e.maxY);const a=e.buffer/e.extent,l=new Set;for(const e in this.tiles){const u=this.tiles[e],c=1<=p||o=d)continue;let y=!1;for(const e of t)if(e.maxX>=h&&e.minX=f&&e.minY1&&console.log("invalidate tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",u.z,u.x,u.y,u.numFeatures,u.numPoints,u.numSimplified);const t=`z${u.z}`;this.stats[t]=(this.stats[t]||0)-1,this.total--;}delete this.tiles[e],l.add(e);}}l.size&&(this.tileCoords=this.tileCoords.filter((t=>!l.has(t.id))));}}function ih(t,e,n){return 32*((1<t.id)),this.index=t.index,this.hasDependencies=!1,this.patternFeatures=[],this.lineClipsArray=[],this.gradients={};for(const t of this.layers)this.gradients[t.id]={};this.layoutVertexArray=new Wo,this.layoutVertexArray2=new Ko,this.indexArray=new sa,this.programConfigurations=new $a(t.layers,t.zoom),this.segments=new ua,this.maxLineLength=0,this.stateDependentLayerIds=this.layers.filter((t=>t.isStateDependent())).map((t=>t.id));}populate(t,e,n){this.hasDependencies=ql("line",this.layers,e)||this.hasLineDasharray(this.layers);const r=this.layers[0].layout.get("line-sort-key"),i=!r.isConstant(),s=[];for(const{feature:e,id:o,index:a,sourceLayerIndex:l}of t){const t=this.layers[0]._featureFilter.needGeometry,u=Ga(e,t);if(!this.layers[0]._featureFilter.filter(new Cs(this.zoom),u,n))continue;const c=i?r.evaluate(u,{},n):void 0,h={id:o,properties:e.properties,type:e.type,sourceLayerIndex:l,index:a,geometry:t?u.geometry:qa(e),patterns:{},dashes:{},sortKey:c};s.push(h);}i&&s.sort(((t,e)=>t.sortKey-e.sortKey));for(const r of s){const{geometry:i,index:s,sourceLayerIndex:o}=r;this.hasDependencies?(ql("line",this.layers,e)?Gl("line",this.layers,r,{zoom:this.zoom},e):this.hasLineDasharray(this.layers)&&this.addLineDashDependencies(this.layers,r,this.zoom,e),this.patternFeatures.push(r)):this.addFeature(r,i,s,n,{},{},e.subdivisionGranularity),e.featureIndex.insert(t[s].feature,i,s,o,this.index);}}update(t,e,n,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,{imagePositions:n,dashPositions:r});}addFeatures(t,e,n,r){for(const i of this.patternFeatures)this.addFeature(i,i.geometry,i.index,e,n,r,t.subdivisionGranularity);}isEmpty(){return 0===this.layoutVertexArray.length}uploadPending(){return !this.uploaded||this.programConfigurations.needsUpload}upload(t){this.uploaded||(0!==this.layoutVertexArray2.length&&(this.layoutVertexBuffer2=t.createVertexBuffer(this.layoutVertexArray2,uh)),this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,ah),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0;}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy());}lineFeatureClips(t){if(t.properties&&Object.hasOwn(t.properties,Zc)&&Object.hasOwn(t.properties,Hc))return {start:+t.properties[Zc],end:+t.properties[Hc]}}addFeature(t,e,n,r,i,s,o){const a=this.layers[0].layout,l=a.get("line-join").evaluate(t,{}),u=a.get("line-cap").evaluate(t,{}),c=a.get("line-miter-limit").evaluate(t,{}),h=a.get("line-round-limit").evaluate(t,{});this.lineClips=this.lineFeatureClips(t);for(const n of e)this.addLine(n,t,l,u,c,h,r,o);this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,n,{imagePositions:i,dashPositions:s,canonical:r});}addLine(t,e,n,r,i,s,o,a){if(this.distance=0,this.scaledDistance=0,this.totalDistance=0,t=Su(t,o?a.line.getGranularityForZoomLevel(o.z):1),this.lineClips){this.lineClipsArray.push(this.lineClips);for(let e=0;e=2&&t[u-1].equals(t[u-2]);)u--;let c=0;for(;c0;if(w&&e>c){const t=f.dist(d);if(t>2*h){const e=f.sub(f.sub(d)._mult(h/t)._round());this.updateDistance(d,e),this.addCurrentVertex(e,m,0,0,p),d=e;}}const S=d&&y;let A=S?n:l?"butt":r;if(S&&"round"===A&&(vi&&(A="bevel"),"bevel"===A&&(v>2&&(A="flipbevel"),v100)o=g.mult(-1);else {const t=v*m.add(g).mag()/m.sub(g).mag();o._perp()._mult(t*(_?-1:1));}this.addCurrentVertex(f,o,0,0,p),this.addCurrentVertex(f,o.mult(-1),0,0,p);}else if("bevel"===A||"fakeround"===A){const t=-Math.sqrt(v*v-1),e=_?t:0,n=_?0:t;if(d&&this.addCurrentVertex(f,m,e,n,p),"fakeround"===A){const t=Math.round(180*b/Math.PI/20);for(let e=1;e2*h){const e=f.add(y.sub(f)._mult(h/t)._round());this.updateDistance(f,e),this.addCurrentVertex(e,g,0,0,p),f=e;}}}}addCurrentVertex(t,e,n,r,i,s=!1){const o=e.y*r-e.x,a=-e.y-e.x*r;this.addHalfVertex(t,e.x+e.y*n,e.y-e.x*n,s,!1,n,i),this.addHalfVertex(t,o,a,s,!0,-r,i),this.distance>hh/2&&0===this.totalDistance&&(this.distance=0,this.updateScaledDistance(),this.addCurrentVertex(t,e,n,r,i,s));}addHalfVertex({x:t,y:e},n,r,i,s,o,a){const l=.5*(this.lineClips?this.scaledDistance*(hh-1):this.scaledDistance);this.layoutVertexArray.emplaceBack((t<<1)+(i?1:0),(e<<1)+(s?1:0),Math.round(63*n)+128,Math.round(63*r)+128,1+(0===o?0:o<0?-1:1)|(63&l)<<2,l>>6),this.lineClips&&this.layoutVertexArray2.emplaceBack((this.scaledDistance-this.lineClips.start)/(this.lineClips.end-this.lineClips.start),this.lineClipsArray.length);const u=a.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,u,this.e2),a.primitiveLength++),s?this.e2=u:this.e1=u;}updateScaledDistance(){this.scaledDistance=this.lineClips?this.lineClips.start+(this.lineClips.end-this.lineClips.start)*this.distance/this.totalDistance:this.distance;}updateDistance(t,e){this.distance+=t.dist(e),this.updateScaledDistance();}hasLineDasharray(t){for(const e of t){const t=e.paint.get("line-dasharray");if(t&&!t.isConstant())return !0}return !1}addLineDashDependencies(t,e,n,r){for(const i of t){const t=i.paint.get("line-dasharray");if(!t||"constant"===t.value.kind)continue;const s="round"===i.layout.get("line-cap").evaluate(e,{}),o={dasharray:t.value.evaluate({zoom:n-1},e,{}),round:s},a={dasharray:t.value.evaluate({zoom:n},e,{}),round:s},l={dasharray:t.value.evaluate({zoom:n+1},e,{}),round:s},u=`${o.dasharray.join(",")},${o.round}`,c=`${a.dasharray.join(",")},${a.round}`,h=`${l.dasharray.join(",")},${l.round}`;r.dashDependencies[u]=o,r.dashDependencies[c]=a,r.dashDependencies[h]=l,e.dashes[i.id]={min:u,mid:c,max:h};}}}let fh,dh;ds("LineBucket",ph,{omit:["layers","patternFeatures"]});var yh={get paint(){return dh=dh||new Ks({"line-opacity":new Ys(wt.paint_line["line-opacity"]),"line-color":new Ys(wt.paint_line["line-color"]),"line-translate":new Xs(wt.paint_line["line-translate"]),"line-translate-anchor":new Xs(wt.paint_line["line-translate-anchor"]),"line-width":new Ys(wt.paint_line["line-width"]),"line-gap-width":new Ys(wt.paint_line["line-gap-width"]),"line-offset":new Ys(wt.paint_line["line-offset"]),"line-blur":new Ys(wt.paint_line["line-blur"]),"line-dasharray":new Zs(wt.paint_line["line-dasharray"]),"line-pattern":new Zs(wt.paint_line["line-pattern"]),"line-gradient":new Ws(wt.paint_line["line-gradient"])})},get layout(){return fh=fh||new Ks({"line-cap":new Ys(wt.layout_line["line-cap"]),"line-join":new Ys(wt.layout_line["line-join"]),"line-miter-limit":new Ys(wt.layout_line["line-miter-limit"]),"line-round-limit":new Ys(wt.layout_line["line-round-limit"]),"line-sort-key":new Ys(wt.layout_line["line-sort-key"])})}};class mh extends Ys{possiblyEvaluate(t,e){return e=new Cs(Math.floor(e.zoom),{now:e.now,fadeDuration:e.fadeDuration,zoomHistory:e.zoomHistory,transition:e.transition}),super.possiblyEvaluate(t,e)}evaluate(t,e,n,r){return e=$({},e,{zoom:Math.floor(e.zoom)}),super.evaluate(t,e,n,r)}}let gh;class xh extends to{constructor(t,e){super(t,yh,e),this.gradientVersion=0,gh||(gh=new mh(yh.paint.properties["line-width"].specification),gh.useIntegerZoom=!0);}_handleSpecialPaintPropertyUpdate(t){if("line-gradient"===t){const t=this.gradientExpression();this.stepInterpolant=!!function(t){return void 0!==t._styleExpression}(t)&&t._styleExpression.expression instanceof cn,this.gradientVersion=(this.gradientVersion+1)%Number.MAX_SAFE_INTEGER;}}gradientExpression(){return this._transitionablePaint._values["line-gradient"].value.expression}recalculate(t,e){super.recalculate(t,e),this.paint._values["line-floorwidth"]=gh.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,t);}createBucket(t){return new ph(t)}queryRadius(t){const e=t,n=vh(ol("line-width",this,e),ol("line-gap-width",this,e)),r=ol("line-offset",this,e);return n/2+Math.abs(r)+al(this.paint.get("line-translate"))}queryIntersectsFeature({queryGeometry:t,feature:e,featureState:r,geometry:i,transform:s,pixelsToTileUnits:o}){const a=ll(t,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),-s.bearingInRadians,o),l=o/2*vh(this.paint.get("line-width").evaluate(e,r),this.paint.get("line-gap-width").evaluate(e,r)),u=this.paint.get("line-offset").evaluate(e,r);return u&&(i=function(t,e){const r=[];for(const i of t){const t=ul(i),s=[];for(let r=0;r=3)for(const e of r)if(il(t,e))return !0;if(Ja(t,r,n))return !0}return !1}(a,i,l)}isTileClipped(){return !0}}function vh(t,e){return e>0?e+2*t:t}const bh=ao([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),wh=ao([{name:"a_projected_pos",components:3,type:"Float32"}],4);ao([{name:"a_fade_opacity",components:1,type:"Uint32"}],4);const _h=ao([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"},{name:"a_box_real",components:2,type:"Int16"}]);ao([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"}]);const Sh=ao([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4),Ah=ao([{name:"a_pos",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);function Mh(t,e,n){const r=e.layout.get("text-transform").evaluate(n,{});return "uppercase"===r?t=t.toLocaleUpperCase():"lowercase"===r&&(t=t.toLocaleLowerCase()),Bs.applyArabicShaping&&(t=Bs.applyArabicShaping(t)),t}function kh(t,e,n){for(const r of t.sections)r.text=Mh(r.text,e,n);return t}ao([{name:"triangle",components:3,type:"Uint16"}]),ao([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),ao([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint16",name:"useRuntimeCollisionCircles"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",name:"collisionCircleDiameter"},{type:"Uint16",name:"textAnchorOffsetStartIndex"},{type:"Uint16",name:"textAnchorOffsetEndIndex"}]),ao([{type:"Float32",name:"offsetX"}]),ao([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]),ao([{type:"Uint16",name:"textAnchor"},{type:"Float32",components:2,name:"textOffset"}]);var Ih=24;const Eh={"!":"︕","#":"#",$:"$","%":"%","&":"&","(":"︵",")":"︶","*":"*","+":"+",",":"︐","-":"︲",".":"・","/":"/",":":"︓",";":"︔","<":"︿","=":"=",">":"﹀","?":"︖","@":"@","[":"﹇","\\":"\","]":"﹈","^":"^",_:"︳","`":"`","{":"︷","|":"―","}":"︸","~":"~","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","–":"︲","—":"︱","‘":"﹃","’":"﹄","“":"﹁","”":"﹂","…":"︙","⋯":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","〔":"︹","〕":"︺","〖":"︗","〗":"︘","!":"︕","(":"︵",")":"︶",",":"︐","-":"︲",".":"・",":":"︓",";":"︔","<":"︿",">":"﹀","?":"︖","[":"﹇","]":"﹈","_":"︳","{":"︷","|":"―","}":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"},Th={10:!0,32:!0,38:!0,41:!0,43:!0,45:!0,47:!0,173:!0,183:!0,8203:!0,8208:!0,8211:!0,8231:!0},Fh={40:!0};function Ph(t,e,n,r,i,s){if("fontStack"in e){const r=n[e.fontStack],s=null==r?void 0:r[t];return s?s.metrics.advance*e.scale+i:0}{const t=r[e.imageName];return t?t.displaySize[0]*e.scale*Ih/s+i:0}}function Dh(t,e,n,r){const i=Math.pow(t-e,2);return r?tMath.max(t,this.sections[e].scale)),0)}getMaxImageSize(t){let e=0,n=0;for(let r=0;rn)));}addImageSection(t){const e=t.image?t.image.name:"";if(0===e.length)return void G("Can't add FormattedSection with an empty image.");const n=this.getNextImageSectionCharCode();n?(this.text+=String.fromCharCode(n),this.sections.push({scale:1,verticalAlign:t.verticalAlign||"bottom",imageName:e}),this.sectionIndex.push(this.sections.length-1)):G("Reached maximum number of images 6401");}getNextImageSectionCharCode(){return this.imageSectionID?this.imageSectionID>=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)}determineLineBreaks(t,e,n,r,i){const s=[],o=this.determineAverageLineWidth(t,e,n,r,i),a=this.hasZeroWidthSpaces();let l=0,u=0;const c=this.text[Symbol.iterator]();let h=c.next();const p=this.text[Symbol.iterator]();p.next();let f=p.next();const d=this.text[Symbol.iterator]();d.next(),d.next();let y=d.next();for(;!h.done;){const e=this.getSection(u),m=h.value.codePointAt(0);if(Ss(m)||(l+=Ph(m,e,n,r,t,i)),!f.done){const t=ws(m),n=f.value.codePointAt(0);(Th[m]||t||"imageName"in e||!y.done&&Fh[n])&&s.push(Bh(u+1,l,o,s,zh(m,n,t&&a),!1));}u++,h=c.next(),f=p.next(),y=d.next();}return Ch(Bh(this.length(),l,o,s,0,!0))}determineAverageLineWidth(t,e,n,r,i){let s=0,o=0;for(const e of this.text){const a=this.getSection(o);s+=Ph(e.codePointAt(0),a,n,r,t,i),o++;}return s/Math.max(1,Math.ceil(s/e))}}const Lh=4294967296,Oh=1/Lh,$h="undefined"==typeof TextDecoder?null:new TextDecoder("utf-8");class Rh{constructor(t=new Uint8Array(16)){this.buf=ArrayBuffer.isView(t)?t:new Uint8Array(t),this.dataView=new DataView(this.buf.buffer),this.pos=0,this.type=0,this.length=this.buf.length;}readFields(t,e,n=this.length){for(;this.pos>3,i=this.pos;this.type=7&n,t(r,e,this),this.pos===i&&this.skip(n);}return e}readMessage(t,e){return this.readFields(t,e,this.readVarint()+this.pos)}readFixed32(){const t=this.dataView.getUint32(this.pos,!0);return this.pos+=4,t}readSFixed32(){const t=this.dataView.getInt32(this.pos,!0);return this.pos+=4,t}readFixed64(){const t=this.dataView.getUint32(this.pos,!0)+this.dataView.getUint32(this.pos+4,!0)*Lh;return this.pos+=8,t}readSFixed64(){const t=this.dataView.getUint32(this.pos,!0)+this.dataView.getInt32(this.pos+4,!0)*Lh;return this.pos+=8,t}readFloat(){const t=this.dataView.getFloat32(this.pos,!0);return this.pos+=4,t}readDouble(){const t=this.dataView.getFloat64(this.pos,!0);return this.pos+=8,t}readVarint(t){const e=this.buf;let n,r;return r=e[this.pos++],n=127&r,r<128?n:(r=e[this.pos++],n|=(127&r)<<7,r<128?n:(r=e[this.pos++],n|=(127&r)<<14,r<128?n:(r=e[this.pos++],n|=(127&r)<<21,r<128?n:(r=e[this.pos],n|=(15&r)<<28,function(t,e,n){const r=n.buf;let i,s;if(s=r[n.pos++],i=(112&s)>>4,s<128)return Nh(t,i,e);if(s=r[n.pos++],i|=(127&s)<<3,s<128)return Nh(t,i,e);if(s=r[n.pos++],i|=(127&s)<<10,s<128)return Nh(t,i,e);if(s=r[n.pos++],i|=(127&s)<<17,s<128)return Nh(t,i,e);if(s=r[n.pos++],i|=(127&s)<<24,s<128)return Nh(t,i,e);if(s=r[n.pos++],i|=(1&s)<<31,s<128)return Nh(t,i,e);throw new Error("Expected varint not more than 10 bytes")}(n,t,this)))))}readVarint64(){return this.readVarint(!0)}readSVarint(){const t=this.readVarint();return t%2==1?(t+1)/-2:t/2}readBoolean(){return Boolean(this.readVarint())}readString(){const t=this.readVarint()+this.pos,e=this.pos;return this.pos=t,t-e>=12&&$h?$h.decode(this.buf.subarray(e,t)):function(t,e,n){let r="",i=e;for(;i239?4:e>223?3:e>191?2:1;if(i+u>n)break;1===u?e<128&&(l=e):2===u?(s=t[i+1],128==(192&s)&&(l=(31&e)<<6|63&s,l<=127&&(l=null))):3===u?(s=t[i+1],o=t[i+2],128==(192&s)&&128==(192&o)&&(l=(15&e)<<12|(63&s)<<6|63&o,(l<=2047||l>=55296&&l<=57343)&&(l=null))):4===u&&(s=t[i+1],o=t[i+2],a=t[i+3],128==(192&s)&&128==(192&o)&&128==(192&a)&&(l=(15&e)<<18|(63&s)<<12|(63&o)<<6|63&a,(l<=65535||l>=1114112)&&(l=null))),null===l?(l=65533,u=1):l>65535&&(l-=65536,r+=String.fromCharCode(l>>>10&1023|55296),l=56320|1023&l),r+=String.fromCharCode(l),i+=u;}return r}(this.buf,e,t)}readBytes(){const t=this.readVarint()+this.pos,e=this.buf.subarray(this.pos,t);return this.pos=t,e}readPackedVarint(t=[],e){const n=this.readPackedEnd();for(;this.pos127;);else if(2===e)this.pos=this.readVarint()+this.pos;else if(5===e)this.pos+=4;else {if(1!==e)throw new Error(`Unimplemented type: ${e}`);this.pos+=8;}}writeTag(t,e){this.writeVarint(t<<3|e);}realloc(t){let e=this.length||16;for(;e268435455||t<0?function(t,e){let n,r;if(t>=0?(n=t%4294967296|0,r=t/4294967296|0):(n=~(-t%4294967296),r=~(-t/4294967296),4294967295^n?n=n+1|0:(n=0,r=r+1|0)),t>=0x10000000000000000||t<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");e.realloc(10),function(t,e,n){n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,n.buf[n.pos]=127&(t>>>=7);}(n,0,e),function(t,e){const n=(7&t)<<4;e.buf[e.pos++]|=n|((t>>>=3)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t)))));}(r,e);}(t,this):(this.realloc(4),this.buf[this.pos++]=127&t|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=t>>>7&127))));}writeSVarint(t){this.writeVarint(t<0?2*-t-1:2*t);}writeBoolean(t){this.writeVarint(+t);}writeString(t){t=String(t),this.realloc(4*t.length),this.pos++;const e=this.pos;this.pos=function(t,e,n){for(let r,i,s=0;s55295&&r<57344){if(!i){r>56319||s+1===e.length?(t[n++]=239,t[n++]=191,t[n++]=189):i=r;continue}if(r<56320){t[n++]=239,t[n++]=191,t[n++]=189,i=r;continue}r=i-55296<<10|r-56320|65536,i=null;}else i&&(t[n++]=239,t[n++]=191,t[n++]=189,i=null);r<128?t[n++]=r:(r<2048?t[n++]=r>>6|192:(r<65536?t[n++]=r>>12|224:(t[n++]=r>>18|240,t[n++]=r>>12&63|128),t[n++]=r>>6&63|128),t[n++]=63&r|128);}return n}(this.buf,t,this.pos);const n=this.pos-e;n>=128&&Uh(e,n,this),this.pos=e-1,this.writeVarint(n),this.pos+=n;}writeFloat(t){this.realloc(4),this.dataView.setFloat32(this.pos,t,!0),this.pos+=4;}writeDouble(t){this.realloc(8),this.dataView.setFloat64(this.pos,t,!0),this.pos+=8;}writeBytes(t){const e=t.length;this.writeVarint(e),this.realloc(e);for(let n=0;n=128&&Uh(n,r,this),this.pos=n-1,this.writeVarint(r),this.pos+=r;}writeMessage(t,e,n){this.writeTag(t,2),this.writeRawMessage(e,n);}writePackedVarint(t,e){e.length&&this.writeMessage(t,jh,e);}writePackedSVarint(t,e){e.length&&this.writeMessage(t,qh,e);}writePackedBoolean(t,e){e.length&&this.writeMessage(t,Yh,e);}writePackedFloat(t,e){e.length&&this.writeMessage(t,Gh,e);}writePackedDouble(t,e){e.length&&this.writeMessage(t,Xh,e);}writePackedFixed32(t,e){e.length&&this.writeMessage(t,Zh,e);}writePackedSFixed32(t,e){e.length&&this.writeMessage(t,Hh,e);}writePackedFixed64(t,e){e.length&&this.writeMessage(t,Wh,e);}writePackedSFixed64(t,e){e.length&&this.writeMessage(t,Kh,e);}writeBytesField(t,e){this.writeTag(t,2),this.writeBytes(e);}writeFixed32Field(t,e){this.writeTag(t,5),this.writeFixed32(e);}writeSFixed32Field(t,e){this.writeTag(t,5),this.writeSFixed32(e);}writeFixed64Field(t,e){this.writeTag(t,1),this.writeFixed64(e);}writeSFixed64Field(t,e){this.writeTag(t,1),this.writeSFixed64(e);}writeVarintField(t,e){this.writeTag(t,0),this.writeVarint(e);}writeSVarintField(t,e){this.writeTag(t,0),this.writeSVarint(e);}writeStringField(t,e){this.writeTag(t,2),this.writeString(e);}writeFloatField(t,e){this.writeTag(t,5),this.writeFloat(e);}writeDoubleField(t,e){this.writeTag(t,1),this.writeDouble(e);}writeBooleanField(t,e){this.writeVarintField(t,+e);}}function Nh(t,e,n){return n?4294967296*e+(t>>>0):4294967296*(e>>>0)+(t>>>0)}function Uh(t,e,n){const r=e<=16383?1:e<=2097151?2:e<=268435455?3:Math.floor(Math.log(e)/(7*Math.LN2));n.realloc(r);for(let e=n.pos-1;e>=t;e--)n.buf[e+r]=n.buf[e];}function jh(t,e){for(let n=0;ne.h-t.h));const r=[{x:0,y:0,w:Math.max(Math.ceil(Math.sqrt(e/.95)),n),h:1/0}];let i=0,s=0;for(const e of t)for(let t=r.length-1;t>=0;t--){const n=r[t];if(!(e.w>n.w||e.h>n.h)){if(e.x=n.x,e.y=n.y,s=Math.max(s,e.y+e.h),i=Math.max(i,e.x+e.w),e.w===n.w&&e.h===n.h){const e=r.pop();e&&tm.toCodeUnitIndex(t)));const t=v(m.toString(),x);for(const e of t){const t=[...e].map((()=>0));g.push(new Vh(e,m.sections,t));}}else if(b){g=[],x=x.map((t=>m.toCodeUnitIndex(t)));let t=0;const e=[];for(const n of m.text)e.push(...Array(n.length).fill(m.sectionIndex[t])),t++;const n=b(m.text,e,x);for(const t of n){const e=[];let n="";for(const r of t[0])e.push(t[1][n.length]),n+=r;g.push(new Vh(t[0],m.sections,e));}}else g=function(t,e){const n=[];let r=0;for(const i of e)n.push(t.substring(r,i)),r=i;return ru){const t=Math.ceil(s/u);i*=t/o,o=t;}return {x1:r,y1:i,x2:r+s,y2:i+o}}function yp(t,e,n,r,i,s){const o=t.image;let a;if(o.content){const t=o.content,e=o.pixelRatio||1;a=[t[0]/e,t[1]/e,o.displaySize[0]-t[2]/e,o.displaySize[1]-t[3]/e];}const l=e.left*s,u=e.right*s;let c,h,p,f;"width"===n||"both"===n?(f=i[0]+l-r[3],h=i[0]+u+r[1]):(f=i[0]+(l+u-o.displaySize[0])/2,h=f+o.displaySize[0]);const d=e.top*s,y=e.bottom*s;return "height"===n||"both"===n?(c=i[1]+d-r[0],p=i[1]+y+r[2]):(c=i[1]+(d+y-o.displaySize[1])/2,p=c+o.displaySize[1]),{image:o,top:c,right:h,bottom:p,left:f,collisionPadding:a}}ds("ImagePosition",np),ds("ImageAtlas",rp),t.ax=void 0,(ip=t.ax||(t.ax={}))[ip.none=0]="none",ip[ip.horizontal=1]="horizontal",ip[ip.vertical=2]="vertical",ip[ip.horizontalOnly=3]="horizontalOnly";const mp=128,gp=32640;function xp(t,e){const{expression:n}=e;if("constant"===n.kind)return {kind:"constant",layoutSize:n.evaluate(new Cs(t+1))};if("source"===n.kind)return {kind:"source"};{const{zoomStops:e,interpolationType:r}=n;let i=0;for(;it.id)),this.index=e.index,this.pixelRatio=e.pixelRatio,this.sourceLayerIndex=e.sourceLayerIndex,this.hasDependencies=!1,this.hasRTLText=!1,this.sortKeyRanges=[],this.collisionCircleArray=[];const n=this.layers[0]._unevaluatedLayout._values;this.textSizeData=xp(this.zoom,n["text-size"]),this.iconSizeData=xp(this.zoom,n["icon-size"]);const r=this.layers[0].layout,i=r.get("symbol-sort-key"),s=r.get("symbol-z-order");this.canOverlap="never"!==vp(r,"text-overlap","text-allow-overlap")||"never"!==vp(r,"icon-overlap","icon-allow-overlap")||r.get("text-ignore-placement")||r.get("icon-ignore-placement"),this.sortFeaturesByKey="viewport-y"!==s&&!i.isConstant(),this.sortFeaturesByY=("viewport-y"===s||"auto"===s&&!this.sortFeaturesByKey)&&this.canOverlap,"point"===r.get("symbol-placement")&&(this.writingModes=r.get("text-writing-mode").map((e=>t.ax[e]))),this.stateDependentLayerIds=this.layers.filter((t=>t.isStateDependent())).map((t=>t.id)),this.sourceID=e.sourceID;}createArrays(){this.text=new Ap(new $a(this.layers,this.zoom,(t=>t.startsWith("text")))),this.icon=new Ap(new $a(this.layers,this.zoom,(t=>t.startsWith("icon")))),this.glyphOffsetArray=new Ro,this.lineVertexArray=new No,this.symbolInstances=new $o,this.textAnchorOffsets=new jo;}calculateGlyphDependencies(t,e,n,r,i){for(const s of t)if(e[s.codePointAt(0)]=!0,(n||r)&&i){const t=Eh[s];t&&(e[t.codePointAt(0)]=!0);}}populate(e,n,r){var i;const s=this.layers[0],o=s.layout,a=o.get("text-font"),l=o.get("text-field"),u=o.get("icon-image"),c=("constant"!==l.value.kind||l.value.value instanceof ze&&!l.value.value.isEmpty()||l.value.value.toString().length>0)&&("constant"!==a.value.kind||a.value.value.length>0),h="constant"!==u.value.kind||!!u.value.value||Object.keys(u.parameters).length>0,p=o.get("symbol-sort-key");if(this.features=[],!c&&!h)return;const f=n.iconDependencies,d=n.glyphDependencies,y=n.availableImages,m=new Cs(this.zoom);for(const{feature:n,id:l,index:u,sourceLayerIndex:g}of e){const e=s._featureFilter.needGeometry,x=Ga(n,e);if(!s._featureFilter.filter(m,x,r))continue;let v,b;if(e||(x.geometry=qa(n)),c){const t=s.getValueAndResolveTokens("text-field",x,r,y),e=ze.factory(t);this.hasRTLText||(this.hasRTLText=Sp(e)),(!this.hasRTLText||"unavailable"===Bs.getRTLTextPluginStatus()||this.hasRTLText&&Bs.isParsed())&&(v=kh(e,s,x));}if(h){const t=s.getValueAndResolveTokens("icon-image",x,r,y);b=t instanceof Re?t:Re.fromString(t);}if(!v&&!b)continue;const w=this.sortFeaturesByKey?p.evaluate(x,{},r):void 0;if(this.features.push({id:l,text:v,icon:b,index:u,sourceLayerIndex:g,geometry:x.geometry,properties:n.properties,type:Cu.types[n.type],sortKey:w}),b&&(f[b.name]=!0),v){const e=a.evaluate(x,{},r).join(","),n="viewport"!==o.get("text-rotation-alignment")&&"point"!==o.get("symbol-placement");this.allowVerticalPlacement=null===(i=this.writingModes)||void 0===i?void 0:i.includes(t.ax.vertical);for(const t of v.sections)if(t.image)f[t.image.name]=!0;else {const r=As(v.toString()),i=t.fontStack||e;d[i]||(d[i]={}),this.calculateGlyphDependencies(t.text,d[i],n,this.allowVerticalPlacement,r);}}}"line"===o.get("symbol-placement")&&(this.features=function(t){const e={},n={},r=[];let i=0;function s(e){r.push(t[e]),i++;}function o(t,e,i){const s=n[t];return delete n[t],n[e]=s,r[s].geometry[0].pop(),r[s].geometry[0]=r[s].geometry[0].concat(i[0]),s}function a(t,n,i){const s=e[n];return delete e[n],e[t]=s,r[s].geometry[0].shift(),r[s].geometry[0]=i[0].concat(r[s].geometry[0]),s}function l(t,e,n){const r=n?e[0][e[0].length-1]:e[0][0];return `${t}:${r.x}:${r.y}`}for(let u=0;ut.geometry))}(this.features)),this.sortFeaturesByKey&&this.features.sort(((t,e)=>t.sortKey-e.sortKey));}update(t,e,n){this.stateDependentLayers.length&&(this.text.programConfigurations.updatePaintArrays(t,e,this.layers,{imagePositions:n}),this.icon.programConfigurations.updatePaintArrays(t,e,this.layers,{imagePositions:n}));}isEmpty(){return 0===this.symbolInstances.length&&!this.hasRTLText}uploadPending(){return !this.uploaded||this.text.programConfigurations.needsUpload||this.icon.programConfigurations.needsUpload}upload(t){!this.uploaded&&this.hasDebugData()&&(this.textCollisionBox.upload(t),this.iconCollisionBox.upload(t)),this.text.upload(t,this.sortFeaturesByY,!this.uploaded,this.text.programConfigurations.needsUpload),this.icon.upload(t,this.sortFeaturesByY,!this.uploaded,this.icon.programConfigurations.needsUpload),this.uploaded=!0;}destroyDebugData(){this.textCollisionBox.destroy(),this.iconCollisionBox.destroy();}destroy(){this.text.destroy(),this.icon.destroy(),this.hasDebugData()&&this.destroyDebugData();}addToLineVertexArray(t,e){const n=this.lineVertexArray.length;if(void 0!==t.segment){let n=t.dist(e[t.segment+1]),r=t.dist(e[t.segment]);const i={};for(let r=t.segment+1;r=0;n--)i[n]={x:e[n].x,y:e[n].y,tileUnitDistanceFromAnchor:r},n>0&&(r+=e[n-1].dist(e[n]));for(let t=0;t0}hasIconData(){return this.icon.segments.get().length>0}hasDebugData(){return this.textCollisionBox&&this.iconCollisionBox}hasTextCollisionBoxData(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0}hasIconCollisionBoxData(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0}addIndicesForPlacedSymbol(t,e){const n=t.placedSymbolArray.get(e),r=n.vertexStartIndex+4*n.numGlyphs;for(let e=n.vertexStartIndex;er[t]-r[e]||i[e]-i[t])),s}addToSortKeyRanges(t,e){const n=this.sortKeyRanges[this.sortKeyRanges.length-1];(null==n?void 0:n.sortKey)===e?n.symbolInstanceEnd=t+1:this.sortKeyRanges.push({sortKey:e,symbolInstanceStart:t,symbolInstanceEnd:t+1});}sortFeatures(t){if(this.sortFeaturesByY&&this.sortedAngle!==t&&!(this.text.segments.get().length>1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(t),this.sortedAngle=t,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(const t of this.symbolInstanceIndexes){const e=this.symbolInstances.get(t);this.featureSortOrder.push(e.featureIndex);const n=[e.rightJustifiedTextSymbolIndex,e.centerJustifiedTextSymbolIndex,e.leftJustifiedTextSymbolIndex];for(let t=0;t=0&&n.indexOf(e)===t&&this.addIndicesForPlacedSymbol(this.text,e);}e.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,e.verticalPlacedTextSymbolIndex),e.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,e.placedIconSymbolIndex),e.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,e.verticalPlacedIconSymbolIndex);}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray);}}}let Ip,Ep;ds("SymbolBucket",kp,{omit:["layers","collisionBoxArray","features","compareText"]}),kp.MAX_GLYPHS=65535,kp.addDynamicAttributes=_p;var Tp={get paint(){return Ep=Ep||new Ks({"icon-opacity":new Ys(wt.paint_symbol["icon-opacity"]),"icon-color":new Ys(wt.paint_symbol["icon-color"]),"icon-halo-color":new Ys(wt.paint_symbol["icon-halo-color"]),"icon-halo-width":new Ys(wt.paint_symbol["icon-halo-width"]),"icon-halo-blur":new Ys(wt.paint_symbol["icon-halo-blur"]),"icon-translate":new Xs(wt.paint_symbol["icon-translate"]),"icon-translate-anchor":new Xs(wt.paint_symbol["icon-translate-anchor"]),"text-opacity":new Ys(wt.paint_symbol["text-opacity"]),"text-color":new Ys(wt.paint_symbol["text-color"],{runtimeType:Nt,getOverride:t=>t.textColor,hasOverride:t=>!!t.textColor}),"text-halo-color":new Ys(wt.paint_symbol["text-halo-color"]),"text-halo-width":new Ys(wt.paint_symbol["text-halo-width"]),"text-halo-blur":new Ys(wt.paint_symbol["text-halo-blur"]),"text-translate":new Xs(wt.paint_symbol["text-translate"]),"text-translate-anchor":new Xs(wt.paint_symbol["text-translate-anchor"])})},get layout(){return Ip=Ip||new Ks({"symbol-placement":new Xs(wt.layout_symbol["symbol-placement"]),"symbol-spacing":new Xs(wt.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new Xs(wt.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new Ys(wt.layout_symbol["symbol-sort-key"]),"symbol-z-order":new Xs(wt.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new Xs(wt.layout_symbol["icon-allow-overlap"]),"icon-overlap":new Xs(wt.layout_symbol["icon-overlap"]),"icon-ignore-placement":new Xs(wt.layout_symbol["icon-ignore-placement"]),"icon-optional":new Xs(wt.layout_symbol["icon-optional"]),"icon-rotation-alignment":new Xs(wt.layout_symbol["icon-rotation-alignment"]),"icon-size":new Ys(wt.layout_symbol["icon-size"]),"icon-text-fit":new Xs(wt.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new Xs(wt.layout_symbol["icon-text-fit-padding"]),"icon-image":new Ys(wt.layout_symbol["icon-image"]),"icon-rotate":new Ys(wt.layout_symbol["icon-rotate"]),"icon-padding":new Ys(wt.layout_symbol["icon-padding"]),"icon-keep-upright":new Xs(wt.layout_symbol["icon-keep-upright"]),"icon-offset":new Ys(wt.layout_symbol["icon-offset"]),"icon-anchor":new Ys(wt.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new Xs(wt.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new Xs(wt.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new Xs(wt.layout_symbol["text-rotation-alignment"]),"text-field":new Ys(wt.layout_symbol["text-field"]),"text-font":new Ys(wt.layout_symbol["text-font"]),"text-size":new Ys(wt.layout_symbol["text-size"]),"text-max-width":new Ys(wt.layout_symbol["text-max-width"]),"text-line-height":new Xs(wt.layout_symbol["text-line-height"]),"text-letter-spacing":new Ys(wt.layout_symbol["text-letter-spacing"]),"text-justify":new Ys(wt.layout_symbol["text-justify"]),"text-radial-offset":new Ys(wt.layout_symbol["text-radial-offset"]),"text-variable-anchor":new Xs(wt.layout_symbol["text-variable-anchor"]),"text-variable-anchor-offset":new Ys(wt.layout_symbol["text-variable-anchor-offset"]),"text-anchor":new Ys(wt.layout_symbol["text-anchor"]),"text-max-angle":new Xs(wt.layout_symbol["text-max-angle"]),"text-writing-mode":new Xs(wt.layout_symbol["text-writing-mode"]),"text-rotate":new Ys(wt.layout_symbol["text-rotate"]),"text-padding":new Xs(wt.layout_symbol["text-padding"]),"text-keep-upright":new Xs(wt.layout_symbol["text-keep-upright"]),"text-transform":new Ys(wt.layout_symbol["text-transform"]),"text-offset":new Ys(wt.layout_symbol["text-offset"]),"text-allow-overlap":new Xs(wt.layout_symbol["text-allow-overlap"]),"text-overlap":new Xs(wt.layout_symbol["text-overlap"]),"text-ignore-placement":new Xs(wt.layout_symbol["text-ignore-placement"]),"text-optional":new Xs(wt.layout_symbol["text-optional"])})}};class Fp{constructor(t){if(void 0===t.property.overrides)throw new Error("overrides must be provided to instantiate FormatSectionOverride class");this.type=t.property.overrides?t.property.overrides.runtimeType:Lt,this.defaultValue=t;}evaluate(t){if(t.formattedSection){const e=this.defaultValue.property.overrides;if(null==e?void 0:e.hasOverride(t.formattedSection))return e.getOverride(t.formattedSection)}return t.feature&&t.featureState?this.defaultValue.evaluate(t.feature,t.featureState):this.defaultValue.property.specification.default}eachChild(t){this.defaultValue.isConstant()||t(this.defaultValue.value._styleExpression.expression);}outputDefined(){return !1}serialize(){return null}}ds("FormatSectionOverride",Fp,{omit:["defaultValue"]});class Pp extends to{constructor(t,e){super(t,Tp,e);}recalculate(t,e){if(super.recalculate(t,e),"auto"===this.layout.get("icon-rotation-alignment")&&(this.layout._values["icon-rotation-alignment"]="point"!==this.layout.get("symbol-placement")?"map":"viewport"),"auto"===this.layout.get("text-rotation-alignment")&&(this.layout._values["text-rotation-alignment"]="point"!==this.layout.get("symbol-placement")?"map":"viewport"),"auto"===this.layout.get("text-pitch-alignment")&&(this.layout._values["text-pitch-alignment"]="map"===this.layout.get("text-rotation-alignment")?"map":"viewport"),"auto"===this.layout.get("icon-pitch-alignment")&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),"point"===this.layout.get("symbol-placement")){const t=this.layout.get("text-writing-mode");if(t){const e=[];for(const n of t)e.includes(n)||e.push(n);this.layout._values["text-writing-mode"]=e;}else this.layout._values["text-writing-mode"]=["horizontal"];}this._setPaintOverrides();}getValueAndResolveTokens(t,e,n,r){const i=this.layout.get(t).evaluate(e,{},n,r),s=this._unevaluatedLayout._values[t];return s.isDataDriven()||ii(s.value)||!i?i:function(t,e){return e.replace(/{([^{}]+)}/g,((e,n)=>t&&n in t?String(t[n]):""))}(e.properties,i)}createBucket(t){return new kp(t)}queryRadius(){return 0}queryIntersectsFeature(){throw new Error("Should take a different path in FeatureIndex")}_setPaintOverrides(){for(const t of Tp.paint.overridableProperties){if(!Pp.hasPaintOverride(this.layout,t))continue;const e=this.paint.get(t),n=new Fp(e),r=new ri(n,e.property.specification);let i=null;i="constant"===e.value.kind||"source"===e.value.kind?new oi("source",r):new ai("composite",r,e.value.zoomStops),this.paint._values[t]=new qs(e.property,i,e.parameters);}}_handleOverridablePaintPropertyUpdate(t,e,n){return !(!this.layout||e.isDataDriven()||n.isDataDriven())&&Pp.hasPaintOverride(this.layout,t)}static hasPaintOverride(t,e){const n=t.get("text-field"),r=Tp.paint.properties[e];let i=!1;const s=t=>{var e;for(const n of t)if(null===(e=r.overrides)||void 0===e?void 0:e.hasOverride(n))return void(i=!0)};if("constant"===n.value.kind&&n.value.value instanceof ze)s(n.value.value.sections);else if("source"===n.value.kind||"composite"===n.value.kind){const t=e=>{i||(e instanceof Xe&&qe(e.value)===Xt?s(e.value.sections):e instanceof Pn?s(e.sections):e.eachChild(t));},e=n.value;e._styleExpression&&t(e._styleExpression.expression);}return i}}let Dp;var zp={get paint(){return Dp=Dp||new Ks({"background-color":new Xs(wt.paint_background["background-color"]),"background-pattern":new Hs(wt.paint_background["background-pattern"]),"background-opacity":new Xs(wt.paint_background["background-opacity"])})}};class Bp extends to{constructor(t,e){super(t,zp,e);}}class Cp extends to{constructor(t,e){super(t,{},e),this.onAdd=t=>{this.implementation.onAdd&&this.implementation.onAdd(t,t.painter.context.gl);},this.onRemove=t=>{this.implementation.onRemove&&this.implementation.onRemove(t,t.painter.context.gl);},this.implementation=t;}is3D(){return "3d"===this.implementation.renderingMode}hasOffscreenPass(){return void 0!==this.implementation.prerender}recalculate(){}updateTransitions(){}hasTransition(){return !1}serialize(){throw new Error("Custom layers cannot be serialized")}}class Vp{constructor(t){this._methodToThrottle=t,this._triggered=!1,this._channel=new MessageChannel,this._channel.port2.onmessage=()=>{this._triggered=!1,this._methodToThrottle();};}trigger(){var t;this._triggered||(this._triggered=!0,null===(t=this._channel)||void 0===t||t.port1.postMessage(!0));}remove(){delete this._channel,this._methodToThrottle=()=>{};}}const Lp={once:!0},Op=6371008.8;class $p{constructor(t,e){if(isNaN(t)||isNaN(e))throw new Error(`Invalid LngLat object: (${t}, ${e})`);if(this.lng=+t,this.lat=+e,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")}wrap(){return new $p(O(this.lng,-180,180),this.lat)}toArray(){return [this.lng,this.lat]}toString(){return `LngLat(${this.lng}, ${this.lat})`}distanceTo(t){const e=Math.PI/180,n=this.lat*e,r=t.lat*e,i=Math.sin(n)*Math.sin(r)+Math.cos(n)*Math.cos(r)*Math.cos((t.lng-this.lng)*e);return Op*Math.acos(Math.min(i,1))}static convert(t){if(t instanceof $p)return t;if(Array.isArray(t)&&(2===t.length||3===t.length))return new $p(Number(t[0]),Number(t[1]));if(!Array.isArray(t)&&"object"==typeof t&&null!==t)return new $p(Number("lng"in t?t.lng:t.lon),Number(t.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]")}}const Rp=2*Math.PI*Op;function Np(t){return Rp*Math.cos(t*Math.PI/180)}function Up(t){return (180+t)/360}function jp(t){return (180-180/Math.PI*Math.log(Math.tan(Math.PI/4+t*Math.PI/360)))/360}function qp(t,e){return t/Np(e)}function Gp(t){return 360*t-180}function Xp(t){return 360/Math.PI*Math.atan(Math.exp((180-360*t)*Math.PI/180))-90}function Yp(t,e){return t*Np(Xp(e))}class Zp{constructor(t,e,n=0){this.x=+t,this.y=+e,this.z=+n;}static fromLngLat(t,e=0){const n=$p.convert(t);return new Zp(Up(n.lng),jp(n.lat),qp(e,n.lat))}toLngLat(){return new $p(Gp(this.x),Xp(this.y))}toAltitude(){return Yp(this.z,this.y)}meterInMercatorCoordinateUnits(){return 1/Rp*(t=Xp(this.y),1/Math.cos(t*Math.PI/180));var t;}}function Hp(t,e,n){var r=2*Math.PI*6378137/256/Math.pow(2,n);return [t*r-2*Math.PI*6378137/2,e*r-2*Math.PI*6378137/2]}class Wp{constructor(t,e,n){if(!function(t,e,n){return !(t<0||t>25||n<0||n>=Math.pow(2,t)||e<0||e>=Math.pow(2,t))}(t,e,n))throw new Error(`x=${e}, y=${n}, z=${t} outside of bounds. 0<=x<${Math.pow(2,t)}, 0<=y<${Math.pow(2,t)} 0<=z<=25 `);this.z=t,this.x=e,this.y=n,this.key=Qp(0,t,t,e,n);}equals(t){return this.z===t.z&&this.x===t.x&&this.y===t.y}url(t,e,n){const r=(s=this.y,o=this.z,a=Hp(256*(i=this.x),256*(s=Math.pow(2,o)-s-1),o),l=Hp(256*(i+1),256*(s+1),o),a[0]+","+a[1]+","+l[0]+","+l[1]);var i,s,o,a,l;const u=function(t,e,n){let r="";for(let i=t;i>0;i--){const t=1<1?"@2x":"").replace(/{quadkey}/g,u).replace(/{bbox-epsg-3857}/g,r)}isChildOf(t){const e=this.z-t.z;return e>0&&t.x===this.x>>e&&t.y===this.y>>e}getTilePoint(t){const e=Math.pow(2,this.z);return new n((t.x*e-this.x)*T,(t.y*e-this.y)*T)}toString(){return `${this.z}/${this.x}/${this.y}`}}class Kp{constructor(t,e){this.wrap=t,this.canonical=e,this.key=Qp(t,e.z,e.z,e.x,e.y);}}class Jp{constructor(t,e,n,r,i){if(this.terrainRttPosMatrix32f=null,t= z; overscaledZ = ${t}; z = ${n}`);this.overscaledZ=t,this.wrap=e,this.canonical=new Wp(n,+r,+i),this.key=Qp(e,t,n,r,i);}clone(){return new Jp(this.overscaledZ,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)}equals(t){return this.overscaledZ===t.overscaledZ&&this.wrap===t.wrap&&this.canonical.equals(t.canonical)}scaledTo(t){if(t>this.overscaledZ)throw new Error(`targetZ > this.overscaledZ; targetZ = ${t}; overscaledZ = ${this.overscaledZ}`);const e=this.canonical.z-t;return t>this.canonical.z?new Jp(t,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new Jp(t,this.wrap,t,this.canonical.x>>e,this.canonical.y>>e)}isOverscaled(){return this.overscaledZ>this.canonical.z}calculateScaledKey(t,e){if(t>this.overscaledZ)throw new Error(`targetZ > this.overscaledZ; targetZ = ${t}; overscaledZ = ${this.overscaledZ}`);const n=this.canonical.z-t;return t>this.canonical.z?Qp(this.wrap*+e,t,this.canonical.z,this.canonical.x,this.canonical.y):Qp(this.wrap*+e,t,t,this.canonical.x>>n,this.canonical.y>>n)}isChildOf(t){if(t.wrap!==this.wrap)return !1;if(this.overscaledZ-t.overscaledZ<=0)return !1;if(0===t.overscaledZ)return this.overscaledZ>0;const e=this.canonical.z-t.canonical.z;return !(e<0)&&t.canonical.x===this.canonical.x>>e&&t.canonical.y===this.canonical.y>>e}children(t){if(this.overscaledZ>=t)return [new Jp(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];const e=this.canonical.z+1,n=2*this.canonical.x,r=2*this.canonical.y;return [new Jp(e,this.wrap,e,n,r),new Jp(e,this.wrap,e,n+1,r),new Jp(e,this.wrap,e,n,r+1),new Jp(e,this.wrap,e,n+1,r+1)]}isLessThan(t){return this.wrapt.wrap)&&(this.overscaledZt.overscaledZ)&&(this.canonical.xt.canonical.x)&&this.canonical.y=0&&t=0&&e=l)return null;let c=this.canonical.x+r,h=this.wrap;return c<0?(h-=Math.ceil(-c/l),c=(c%l+l)%l):c>=l&&(h+=Math.floor(c/l),c%=l),{tileID:new Jp(this.overscaledZ,h,a,c,u),x:s,y:o}}}function Qp(t,e,n,r,i){(t*=2)<0&&(t=-1*t-1);const s=1<this.maxX||this.minY>this.maxY)&&(this.minX=1/0,this.maxX=-1/0,this.minY=1/0,this.maxY=-1/0),this}shrinkBy(t){return this.expandBy(-t)}map(t){const e=new tf;return e.extend(t(new n(this.minX,this.minY))),e.extend(t(new n(this.maxX,this.minY))),e.extend(t(new n(this.minX,this.maxY))),e.extend(t(new n(this.maxX,this.maxY))),e}static fromPoints(t){const e=new tf;for(const n of t)e.extend(n);return e}contains(t){return t.x>=this.minX&&t.x<=this.maxX&&t.y>=this.minY&&t.y<=this.maxY}empty(){return this.minX>this.maxX}width(){return this.maxX-this.minX}height(){return this.maxY-this.minY}covers(t){return !this.empty()&&!t.empty()&&t.minX>=this.minX&&t.maxX<=this.maxX&&t.minY>=this.minY&&t.maxY<=this.maxY}intersects(t){return !this.empty()&&!t.empty()&&t.minX<=this.maxX&&t.maxX>=this.minX&&t.minY<=this.maxY&&t.maxY>=this.minY}}class ef{constructor(t){this._stringToNumber={},this._numberToString=[];for(let e=0;e=this._numberToString.length)throw new Error(`Out of bounds. Index requested n=${t} can't be >= this._numberToString.length ${this._numberToString.length}`);return this._numberToString[t]}}class nf{constructor(t,e,n,r,i){this.type="Feature",this._vectorTileFeature=t,this._x=n,this._y=r,this._z=e,this.properties=t.properties,this.id=i;}projectPoint(t,e,n,r){return [360*(t.x+e)/r-180,360/Math.PI*Math.atan(Math.exp((1-2*(t.y+n)/r)*Math.PI))-90]}projectLine(t,e,n,r){return t.map((t=>this.projectPoint(t,e,n,r)))}get geometry(){if(this._geometry)return this._geometry;const t=this._vectorTileFeature,e=t.extent*Math.pow(2,this._z),n=t.extent*this._x,r=t.extent*this._y,i=t.loadGeometry();switch(t.type){case 1:{const t=[];for(const e of i)t.push(e[0]);const s=this.projectLine(t,n,r,e);this._geometry=1===t.length?{type:"Point",coordinates:s[0]}:{type:"MultiPoint",coordinates:s};break}case 2:{const t=i.map((t=>this.projectLine(t,n,r,e)));this._geometry=1===t.length?{type:"LineString",coordinates:t[0]}:{type:"MultiLineString",coordinates:t};break}case 3:{const t=Lu(i),s=[];for(const i of t)s.push(i.map((t=>this.projectLine(t,n,r,e))));this._geometry=1===s.length?{type:"Polygon",coordinates:s[0]}:{type:"MultiPolygon",coordinates:s};break}default:throw new Error(`unknown feature type: ${t.type}`)}return this._geometry}set geometry(t){this._geometry=t;}toJSON(){const t={geometry:this.geometry};for(const e in this)"_geometry"!==e&&"_vectorTileFeature"!==e&&"_x"!==e&&"_y"!==e&&"_z"!==e&&(t[e]=this[e]);return t}}class rf{constructor(t,e,n){this._name=t,this.dataBuffer=e,"number"==typeof n?this._size=n:(this.nullabilityBuffer=n,this._size=n.size());}getValue(t){return this.nullabilityBuffer&&!this.nullabilityBuffer.get(t)?null:this.getValueFromBuffer(t)}has(t){return this.nullabilityBuffer?.get(t)||!this.nullabilityBuffer}get name(){return this._name}get size(){return this._size}}class sf extends rf{}class of extends sf{getValueFromBuffer(t){return this.dataBuffer[t]}}class af extends sf{getValueFromBuffer(t){return this.dataBuffer[t]}}class lf extends rf{constructor(t,e,n,r){super(t,e,r),this.delta=n;}}class uf extends lf{constructor(t,e,n,r){super(t,Int32Array.of(e),n,r);}getValueFromBuffer(t){return this.dataBuffer[0]+t*this.delta}}class cf extends rf{constructor(t,e,n,r){super(t,r?Int32Array.of(e):Uint32Array.of(e),n);}getValueFromBuffer(t){return this.dataBuffer[0]}}class hf{constructor(t,e,n,r,i=4096){this._name=t,this._geometryVector=e,this._idVector=n,this._propertyVectors=r,this._extent=i;}get name(){return this._name}get idVector(){return this._idVector}get geometryVector(){return this._geometryVector}get propertyVectors(){return this._propertyVectors}getPropertyVector(t){return this.propertyVectorsMap||(this.propertyVectorsMap=new Map(this._propertyVectors.map((t=>[t.name,t])))),this.propertyVectorsMap.get(t)}get numFeatures(){return this.geometryVector.numGeometries}get extent(){return this._extent}getFeatures(){const t=[],e=this.geometryVector.getGeometries();for(let n=0;n>>32-t;const mf=yf,gf=256;function xf(t,e){return t-t%e}function vf(t){const e=t>>>0;return ((255&e)<<24|(65280&e)<<8|e>>>8&65280|e>>>24&255)>>>0}const bf=function(){if(!Number.isFinite(65536))return 65536;const t=xf(Math.floor(65536),gf);return 0===t?gf:t}(),wf=3*bf/gf+bf|0;function _f(){const t=new Uint8Array(wf);return {dataToBePacked:new Array(33),dataPointers:new Int32Array(33),byteContainer:t,byteContainerI32:new Int32Array(t.buffer,t.byteOffset,t.byteLength>>>2),exceptionSizes:new Int32Array(33)}}function Sf(t,e,n,r,i){switch(i){case 1:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<8;e++){const e=t[s++]>>>0;n[i++]=e>>>0&1,n[i++]=e>>>1&1,n[i++]=e>>>2&1,n[i++]=e>>>3&1,n[i++]=e>>>4&1,n[i++]=e>>>5&1,n[i++]=e>>>6&1,n[i++]=e>>>7&1,n[i++]=e>>>8&1,n[i++]=e>>>9&1,n[i++]=e>>>10&1,n[i++]=e>>>11&1,n[i++]=e>>>12&1,n[i++]=e>>>13&1,n[i++]=e>>>14&1,n[i++]=e>>>15&1,n[i++]=e>>>16&1,n[i++]=e>>>17&1,n[i++]=e>>>18&1,n[i++]=e>>>19&1,n[i++]=e>>>20&1,n[i++]=e>>>21&1,n[i++]=e>>>22&1,n[i++]=e>>>23&1,n[i++]=e>>>24&1,n[i++]=e>>>25&1,n[i++]=e>>>26&1,n[i++]=e>>>27&1,n[i++]=e>>>28&1,n[i++]=e>>>29&1,n[i++]=e>>>30&1,n[i++]=e>>>31&1;}}(t,e,n,r);break;case 2:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<8;e++){const e=t[s++]>>>0,r=t[s++]>>>0;n[i++]=e>>>0&3,n[i++]=e>>>2&3,n[i++]=e>>>4&3,n[i++]=e>>>6&3,n[i++]=e>>>8&3,n[i++]=e>>>10&3,n[i++]=e>>>12&3,n[i++]=e>>>14&3,n[i++]=e>>>16&3,n[i++]=e>>>18&3,n[i++]=e>>>20&3,n[i++]=e>>>22&3,n[i++]=e>>>24&3,n[i++]=e>>>26&3,n[i++]=e>>>28&3,n[i++]=e>>>30&3,n[i++]=r>>>0&3,n[i++]=r>>>2&3,n[i++]=r>>>4&3,n[i++]=r>>>6&3,n[i++]=r>>>8&3,n[i++]=r>>>10&3,n[i++]=r>>>12&3,n[i++]=r>>>14&3,n[i++]=r>>>16&3,n[i++]=r>>>18&3,n[i++]=r>>>20&3,n[i++]=r>>>22&3,n[i++]=r>>>24&3,n[i++]=r>>>26&3,n[i++]=r>>>28&3,n[i++]=r>>>30&3;}}(t,e,n,r);break;case 3:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<8;e++){const e=t[s++]>>>0,r=t[s++]>>>0,o=t[s++]>>>0;n[i++]=e>>>0&7,n[i++]=e>>>3&7,n[i++]=e>>>6&7,n[i++]=e>>>9&7,n[i++]=e>>>12&7,n[i++]=e>>>15&7,n[i++]=e>>>18&7,n[i++]=e>>>21&7,n[i++]=e>>>24&7,n[i++]=e>>>27&7,n[i++]=7&(e>>>30|(1&r)<<2),n[i++]=r>>>1&7,n[i++]=r>>>4&7,n[i++]=r>>>7&7,n[i++]=r>>>10&7,n[i++]=r>>>13&7,n[i++]=r>>>16&7,n[i++]=r>>>19&7,n[i++]=r>>>22&7,n[i++]=r>>>25&7,n[i++]=r>>>28&7,n[i++]=7&(r>>>31|(3&o)<<1),n[i++]=o>>>2&7,n[i++]=o>>>5&7,n[i++]=o>>>8&7,n[i++]=o>>>11&7,n[i++]=o>>>14&7,n[i++]=o>>>17&7,n[i++]=o>>>20&7,n[i++]=o>>>23&7,n[i++]=o>>>26&7,n[i++]=o>>>29&7;}}(t,e,n,r);break;case 4:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<8;e++){const e=t[s++]>>>0,r=t[s++]>>>0,o=t[s++]>>>0,a=t[s++]>>>0;n[i++]=e>>>0&15,n[i++]=e>>>4&15,n[i++]=e>>>8&15,n[i++]=e>>>12&15,n[i++]=e>>>16&15,n[i++]=e>>>20&15,n[i++]=e>>>24&15,n[i++]=e>>>28&15,n[i++]=r>>>0&15,n[i++]=r>>>4&15,n[i++]=r>>>8&15,n[i++]=r>>>12&15,n[i++]=r>>>16&15,n[i++]=r>>>20&15,n[i++]=r>>>24&15,n[i++]=r>>>28&15,n[i++]=o>>>0&15,n[i++]=o>>>4&15,n[i++]=o>>>8&15,n[i++]=o>>>12&15,n[i++]=o>>>16&15,n[i++]=o>>>20&15,n[i++]=o>>>24&15,n[i++]=o>>>28&15,n[i++]=a>>>0&15,n[i++]=a>>>4&15,n[i++]=a>>>8&15,n[i++]=a>>>12&15,n[i++]=a>>>16&15,n[i++]=a>>>20&15,n[i++]=a>>>24&15,n[i++]=a>>>28&15;}}(t,e,n,r);break;case 5:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<8;e++){const e=t[s++]>>>0,r=t[s++]>>>0,o=t[s++]>>>0,a=t[s++]>>>0,l=t[s++]>>>0;n[i++]=e>>>0&31,n[i++]=e>>>5&31,n[i++]=e>>>10&31,n[i++]=e>>>15&31,n[i++]=e>>>20&31,n[i++]=e>>>25&31,n[i++]=31&(e>>>30|(7&r)<<2),n[i++]=r>>>3&31,n[i++]=r>>>8&31,n[i++]=r>>>13&31,n[i++]=r>>>18&31,n[i++]=r>>>23&31,n[i++]=31&(r>>>28|(1&o)<<4),n[i++]=o>>>1&31,n[i++]=o>>>6&31,n[i++]=o>>>11&31,n[i++]=o>>>16&31,n[i++]=o>>>21&31,n[i++]=o>>>26&31,n[i++]=31&(o>>>31|(15&a)<<1),n[i++]=a>>>4&31,n[i++]=a>>>9&31,n[i++]=a>>>14&31,n[i++]=a>>>19&31,n[i++]=a>>>24&31,n[i++]=31&(a>>>29|(3&l)<<3),n[i++]=l>>>2&31,n[i++]=l>>>7&31,n[i++]=l>>>12&31,n[i++]=l>>>17&31,n[i++]=l>>>22&31,n[i++]=l>>>27&31;}}(t,e,n,r);break;case 6:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<8;e++){const e=t[s++]>>>0,r=t[s++]>>>0,o=t[s++]>>>0,a=t[s++]>>>0,l=t[s++]>>>0,u=t[s++]>>>0;n[i++]=e>>>0&63,n[i++]=e>>>6&63,n[i++]=e>>>12&63,n[i++]=e>>>18&63,n[i++]=e>>>24&63,n[i++]=63&(e>>>30|(15&r)<<2),n[i++]=r>>>4&63,n[i++]=r>>>10&63,n[i++]=r>>>16&63,n[i++]=r>>>22&63,n[i++]=63&(r>>>28|(3&o)<<4),n[i++]=o>>>2&63,n[i++]=o>>>8&63,n[i++]=o>>>14&63,n[i++]=o>>>20&63,n[i++]=o>>>26&63,n[i++]=a>>>0&63,n[i++]=a>>>6&63,n[i++]=a>>>12&63,n[i++]=a>>>18&63,n[i++]=a>>>24&63,n[i++]=63&(a>>>30|(15&l)<<2),n[i++]=l>>>4&63,n[i++]=l>>>10&63,n[i++]=l>>>16&63,n[i++]=l>>>22&63,n[i++]=63&(l>>>28|(3&u)<<4),n[i++]=u>>>2&63,n[i++]=u>>>8&63,n[i++]=u>>>14&63,n[i++]=u>>>20&63,n[i++]=u>>>26&63;}}(t,e,n,r);break;case 7:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<8;e++){const e=t[s++]>>>0,r=t[s++]>>>0,o=t[s++]>>>0,a=t[s++]>>>0,l=t[s++]>>>0,u=t[s++]>>>0,c=t[s++]>>>0;n[i++]=e>>>0&127,n[i++]=e>>>7&127,n[i++]=e>>>14&127,n[i++]=e>>>21&127,n[i++]=127&(e>>>28|(7&r)<<4),n[i++]=r>>>3&127,n[i++]=r>>>10&127,n[i++]=r>>>17&127,n[i++]=r>>>24&127,n[i++]=127&(r>>>31|(63&o)<<1),n[i++]=o>>>6&127,n[i++]=o>>>13&127,n[i++]=o>>>20&127,n[i++]=127&(o>>>27|(3&a)<<5),n[i++]=a>>>2&127,n[i++]=a>>>9&127,n[i++]=a>>>16&127,n[i++]=a>>>23&127,n[i++]=127&(a>>>30|(31&l)<<2),n[i++]=l>>>5&127,n[i++]=l>>>12&127,n[i++]=l>>>19&127,n[i++]=127&(l>>>26|(1&u)<<6),n[i++]=u>>>1&127,n[i++]=u>>>8&127,n[i++]=u>>>15&127,n[i++]=u>>>22&127,n[i++]=127&(u>>>29|(15&c)<<3),n[i++]=c>>>4&127,n[i++]=c>>>11&127,n[i++]=c>>>18&127,n[i++]=c>>>25&127;}}(t,e,n,r);break;case 8:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<8;e++){const e=t[s++]>>>0,r=t[s++]>>>0,o=t[s++]>>>0,a=t[s++]>>>0,l=t[s++]>>>0,u=t[s++]>>>0,c=t[s++]>>>0,h=t[s++]>>>0;n[i++]=e>>>0&255,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=r>>>0&255,n[i++]=r>>>8&255,n[i++]=r>>>16&255,n[i++]=r>>>24&255,n[i++]=o>>>0&255,n[i++]=o>>>8&255,n[i++]=o>>>16&255,n[i++]=o>>>24&255,n[i++]=a>>>0&255,n[i++]=a>>>8&255,n[i++]=a>>>16&255,n[i++]=a>>>24&255,n[i++]=l>>>0&255,n[i++]=l>>>8&255,n[i++]=l>>>16&255,n[i++]=l>>>24&255,n[i++]=u>>>0&255,n[i++]=u>>>8&255,n[i++]=u>>>16&255,n[i++]=u>>>24&255,n[i++]=c>>>0&255,n[i++]=c>>>8&255,n[i++]=c>>>16&255,n[i++]=c>>>24&255,n[i++]=h>>>0&255,n[i++]=h>>>8&255,n[i++]=h>>>16&255,n[i++]=h>>>24&255;}}(t,e,n,r);break;case 16:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<128;e++){const e=t[s++]>>>0;n[i++]=65535&e,n[i++]=e>>>16&65535;}}(t,e,n,r);break;default:!function(t,e,n,r,i){const s=mf[i]>>>0;let o=e,a=0,l=t[o]>>>0,u=r;for(let e=0;e<8;e++){for(let e=0;e<32;e++)if(a+i<=32)n[u+e]=l>>>a&s,a+=i,32===a&&(a=0,o++,31!==e&&(l=t[o]>>>0));else {const r=32-a,c=l>>>a;o++,l=t[o]>>>0;const h=i-r;n[u+e]=(c|(l&-1>>>32-h>>>0)<>>0);}}(t,e,n,r,i);}return e+(i<<3)|0}function Af(t,e,n,r){if(n+2>e)throw new Error(`FastPFOR decode: byteContainer underflow at block=${r} (need 2 bytes for [bitWidth, exceptionCount], bytePos=${n}, byteSize=${e})`);const i=t[n++],s=t[n++];if(i>32)throw new Error(`FastPFOR decode: invalid bitWidth=${i} at block=${r} (expected 0..32). This likely indicates corrupted or truncated input.`);return {bitWidth:i,exceptionCount:s,bytePosIn:n}}function Mf(t,e,n,r,i,s,o,a,l){const{maxBits:u,exceptionBitWidth:c,bytePosIn:h}=function(t,e,n,r,i,s){if(n+1>e)throw new Error(`FastPFOR decode: exception header underflow at block=${s} (need 1 byte for maxBits, bytePos=${n}, byteSize=${e})`);const o=t[n++];if(o32)throw new Error(`FastPFOR decode: invalid maxBits=${o} at block=${s} (bitWidth=${r}, expected ${r}..32)`);const a=o-r|0;if(a<1||a>32)throw new Error(`FastPFOR decode: invalid exceptionBitWidth=${a} at block=${s} (bitWidth=${r}, maxBits=${o})`);if(n+i>e)throw new Error(`FastPFOR decode: exception positions underflow at block=${s} (need=${i}, have=${e-n})`);return {maxBits:o,exceptionBitWidth:a,bytePosIn:n}}(i,s,o,n,r,l);if(o=h,1===c){const s=1<y)throw new Error(`FastPFOR decode: exception stream overflow for exceptionBitWidth=${c} (ptr=${d}, need ${r}, size=${y}) at block ${l}`);for(let s=0;st.length-1)throw new Error(`FastPFOR decode: invalid whereMeta=${a} at pageStart=${o} (expected > 0 and pageStart+whereMeta < encoded.length=${t.length})`);const l=o+1|0,u=o+a|0,c=t[u]>>>0,h=c+3>>>2,p=u+1,f=p+h;if(f>=t.length)throw new Error(`FastPFOR decode: invalid byteSize=${c} (metaInts=${h}, pageStart=${o}, packedEnd=${u}, byteContainerStart=${p}) causes bitmapPos=${f} out of bounds (encoded.length=${t.length})`);const d=function(t,e,n,r){r.byteContainer.length>>2;if(3&i.byteOffset)for(let n=0;n>>8&255,i[s+2|0]=r>>>16&255,i[s+3|0]=r>>>24&255;}else {let n=r.byteContainerI32;(!n||n.buffer!==i.buffer||n.byteOffset!==i.byteOffset||n.length>>2)),n.set(t.subarray(e,e+s));}const o=3&n;if(o>0){const n=0|t[e+s|0],r=s<<2;for(let t=0;t>>(t<<3)&255;}return i}(t,p,c,s),y=c,m=function(t,e,n){const r=0|t[e++],i=n.dataToBePacked;for(let s=2;s<=32;s=s+1|0){if(!(r>>>s-1&1))continue;if(e>=t.length)throw new Error(`FastPFOR decode: truncated exception stream header (bitWidth=${s}, streamWordIndex=${e}, needWords=1, availableWords=${t.length-e}, encodedWords=${t.length})`);const o=t[e++]>>>0,a=xf(o+31,32),l=o*s+31>>>5;if(e+l>t.length)throw new Error(`FastPFOR decode: truncated exception stream (bitWidth=${s}, size=${o}, streamWordIndex=${e}, needWords=${l}, availableWords=${t.length-e}, encodedWords=${t.length})`);let u=i[s];(!u||u.length>>5)|0,n.exceptionSizes[s]=o;}return e}(t,f,s);return s.dataPointers.fill(0),function(t,e,n,r,i,s,o,a,l,u){let c=0|n,h=0;for(let e=0;e0&&(h=Mf(i,p,r,o,a,l,h,u,e));}if(c!==r)throw new Error(`FastPFOR decode: packed region mismatch (pageStart=${e}, packedStart=${n}, consumedPackedEnd=${c}, expectedPackedEnd=${r}, packedWords=${r-n}, encoded.length=${t.length})`)}(t,o,l,u,e,0|r,i/gf|0,d,y,s),m}function If(t,e,n,r,i){switch(i){case 2:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0;n[i++]=s>>>0&3,n[i++]=s>>>2&3,n[i++]=s>>>4&3,n[i++]=s>>>6&3,n[i++]=s>>>8&3,n[i++]=s>>>10&3,n[i++]=s>>>12&3,n[i++]=s>>>14&3,n[i++]=s>>>16&3,n[i++]=s>>>18&3,n[i++]=s>>>20&3,n[i++]=s>>>22&3,n[i++]=s>>>24&3,n[i++]=s>>>26&3,n[i++]=s>>>28&3,n[i++]=s>>>30&3,n[i++]=o>>>0&3,n[i++]=o>>>2&3,n[i++]=o>>>4&3,n[i++]=o>>>6&3,n[i++]=o>>>8&3,n[i++]=o>>>10&3,n[i++]=o>>>12&3,n[i++]=o>>>14&3,n[i++]=o>>>16&3,n[i++]=o>>>18&3,n[i++]=o>>>20&3,n[i++]=o>>>22&3,n[i++]=o>>>24&3,n[i++]=o>>>26&3,n[i++]=o>>>28&3,n[i]=o>>>30&3;}(t,e,n,r);case 3:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0;n[i++]=s>>>0&7,n[i++]=s>>>3&7,n[i++]=s>>>6&7,n[i++]=s>>>9&7,n[i++]=s>>>12&7,n[i++]=s>>>15&7,n[i++]=s>>>18&7,n[i++]=s>>>21&7,n[i++]=s>>>24&7,n[i++]=s>>>27&7,n[i++]=7&(s>>>30|(1&o)<<2),n[i++]=o>>>1&7,n[i++]=o>>>4&7,n[i++]=o>>>7&7,n[i++]=o>>>10&7,n[i++]=o>>>13&7,n[i++]=o>>>16&7,n[i++]=o>>>19&7,n[i++]=o>>>22&7,n[i++]=o>>>25&7,n[i++]=o>>>28&7,n[i++]=7&(o>>>31|(3&a)<<1),n[i++]=a>>>2&7,n[i++]=a>>>5&7,n[i++]=a>>>8&7,n[i++]=a>>>11&7,n[i++]=a>>>14&7,n[i++]=a>>>17&7,n[i++]=a>>>20&7,n[i++]=a>>>23&7,n[i++]=a>>>26&7,n[i]=a>>>29&7;}(t,e,n,r);case 4:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0;n[i++]=s>>>0&15,n[i++]=s>>>4&15,n[i++]=s>>>8&15,n[i++]=s>>>12&15,n[i++]=s>>>16&15,n[i++]=s>>>20&15,n[i++]=s>>>24&15,n[i++]=s>>>28&15,n[i++]=o>>>0&15,n[i++]=o>>>4&15,n[i++]=o>>>8&15,n[i++]=o>>>12&15,n[i++]=o>>>16&15,n[i++]=o>>>20&15,n[i++]=o>>>24&15,n[i++]=o>>>28&15,n[i++]=a>>>0&15,n[i++]=a>>>4&15,n[i++]=a>>>8&15,n[i++]=a>>>12&15,n[i++]=a>>>16&15,n[i++]=a>>>20&15,n[i++]=a>>>24&15,n[i++]=a>>>28&15,n[i++]=l>>>0&15,n[i++]=l>>>4&15,n[i++]=l>>>8&15,n[i++]=l>>>12&15,n[i++]=l>>>16&15,n[i++]=l>>>20&15,n[i++]=l>>>24&15,n[i]=l>>>28&15;}(t,e,n,r);case 5:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0;n[i++]=s>>>0&31,n[i++]=s>>>5&31,n[i++]=s>>>10&31,n[i++]=s>>>15&31,n[i++]=s>>>20&31,n[i++]=s>>>25&31,n[i++]=31&(s>>>30|(7&o)<<2),n[i++]=o>>>3&31,n[i++]=o>>>8&31,n[i++]=o>>>13&31,n[i++]=o>>>18&31,n[i++]=o>>>23&31,n[i++]=31&(o>>>28|(1&a)<<4),n[i++]=a>>>1&31,n[i++]=a>>>6&31,n[i++]=a>>>11&31,n[i++]=a>>>16&31,n[i++]=a>>>21&31,n[i++]=a>>>26&31,n[i++]=31&(a>>>31|(15&l)<<1),n[i++]=l>>>4&31,n[i++]=l>>>9&31,n[i++]=l>>>14&31,n[i++]=l>>>19&31,n[i++]=l>>>24&31,n[i++]=31&(l>>>29|(3&u)<<3),n[i++]=u>>>2&31,n[i++]=u>>>7&31,n[i++]=u>>>12&31,n[i++]=u>>>17&31,n[i++]=u>>>22&31,n[i]=u>>>27&31;}(t,e,n,r);case 6:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0,c=t[e+5]>>>0;n[i++]=s>>>0&63,n[i++]=s>>>6&63,n[i++]=s>>>12&63,n[i++]=s>>>18&63,n[i++]=s>>>24&63,n[i++]=63&(s>>>30|(15&o)<<2),n[i++]=o>>>4&63,n[i++]=o>>>10&63,n[i++]=o>>>16&63,n[i++]=o>>>22&63,n[i++]=63&(o>>>28|(3&a)<<4),n[i++]=a>>>2&63,n[i++]=a>>>8&63,n[i++]=a>>>14&63,n[i++]=a>>>20&63,n[i++]=a>>>26&63,n[i++]=l>>>0&63,n[i++]=l>>>6&63,n[i++]=l>>>12&63,n[i++]=l>>>18&63,n[i++]=l>>>24&63,n[i++]=63&(l>>>30|(15&u)<<2),n[i++]=u>>>4&63,n[i++]=u>>>10&63,n[i++]=u>>>16&63,n[i++]=u>>>22&63,n[i++]=63&(u>>>28|(3&c)<<4),n[i++]=c>>>2&63,n[i++]=c>>>8&63,n[i++]=c>>>14&63,n[i++]=c>>>20&63,n[i]=c>>>26&63;}(t,e,n,r);case 7:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0,c=t[e+5]>>>0,h=t[e+6]>>>0;n[i++]=s>>>0&127,n[i++]=s>>>7&127,n[i++]=s>>>14&127,n[i++]=s>>>21&127,n[i++]=127&(s>>>28|(7&o)<<4),n[i++]=o>>>3&127,n[i++]=o>>>10&127,n[i++]=o>>>17&127,n[i++]=o>>>24&127,n[i++]=127&(o>>>31|(63&a)<<1),n[i++]=a>>>6&127,n[i++]=a>>>13&127,n[i++]=a>>>20&127,n[i++]=127&(a>>>27|(3&l)<<5),n[i++]=l>>>2&127,n[i++]=l>>>9&127,n[i++]=l>>>16&127,n[i++]=l>>>23&127,n[i++]=127&(l>>>30|(31&u)<<2),n[i++]=u>>>5&127,n[i++]=u>>>12&127,n[i++]=u>>>19&127,n[i++]=127&(u>>>26|(1&c)<<6),n[i++]=c>>>1&127,n[i++]=c>>>8&127,n[i++]=c>>>15&127,n[i++]=c>>>22&127,n[i++]=127&(c>>>29|(15&h)<<3),n[i++]=h>>>4&127,n[i++]=h>>>11&127,n[i++]=h>>>18&127,n[i]=h>>>25&127;}(t,e,n,r);case 8:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0,c=t[e+5]>>>0,h=t[e+6]>>>0,p=t[e+7]>>>0;n[i++]=s>>>0&255,n[i++]=s>>>8&255,n[i++]=s>>>16&255,n[i++]=s>>>24&255,n[i++]=o>>>0&255,n[i++]=o>>>8&255,n[i++]=o>>>16&255,n[i++]=o>>>24&255,n[i++]=a>>>0&255,n[i++]=a>>>8&255,n[i++]=a>>>16&255,n[i++]=a>>>24&255,n[i++]=l>>>0&255,n[i++]=l>>>8&255,n[i++]=l>>>16&255,n[i++]=l>>>24&255,n[i++]=u>>>0&255,n[i++]=u>>>8&255,n[i++]=u>>>16&255,n[i++]=u>>>24&255,n[i++]=c>>>0&255,n[i++]=c>>>8&255,n[i++]=c>>>16&255,n[i++]=c>>>24&255,n[i++]=h>>>0&255,n[i++]=h>>>8&255,n[i++]=h>>>16&255,n[i++]=h>>>24&255,n[i++]=p>>>0&255,n[i++]=p>>>8&255,n[i++]=p>>>16&255,n[i]=p>>>24&255;}(t,e,n,r);case 9:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0,c=t[e+5]>>>0,h=t[e+6]>>>0,p=t[e+7]>>>0,f=t[e+8]>>>0;n[i++]=s>>>0&511,n[i++]=s>>>9&511,n[i++]=s>>>18&511,n[i++]=511&(s>>>27|(15&o)<<5),n[i++]=o>>>4&511,n[i++]=o>>>13&511,n[i++]=o>>>22&511,n[i++]=511&(o>>>31|(255&a)<<1),n[i++]=a>>>8&511,n[i++]=a>>>17&511,n[i++]=511&(a>>>26|(7&l)<<6),n[i++]=l>>>3&511,n[i++]=l>>>12&511,n[i++]=l>>>21&511,n[i++]=511&(l>>>30|(127&u)<<2),n[i++]=u>>>7&511,n[i++]=u>>>16&511,n[i++]=511&(u>>>25|(3&c)<<7),n[i++]=c>>>2&511,n[i++]=c>>>11&511,n[i++]=c>>>20&511,n[i++]=511&(c>>>29|(63&h)<<3),n[i++]=h>>>6&511,n[i++]=h>>>15&511,n[i++]=511&(h>>>24|(1&p)<<8),n[i++]=p>>>1&511,n[i++]=p>>>10&511,n[i++]=p>>>19&511,n[i++]=511&(p>>>28|(31&f)<<4),n[i++]=f>>>5&511,n[i++]=f>>>14&511,n[i]=f>>>23&511;}(t,e,n,r);case 10:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0,c=t[e+5]>>>0,h=t[e+6]>>>0,p=t[e+7]>>>0,f=t[e+8]>>>0,d=t[e+9]>>>0;n[i++]=s>>>0&1023,n[i++]=s>>>10&1023,n[i++]=s>>>20&1023,n[i++]=1023&(s>>>30|(255&o)<<2),n[i++]=o>>>8&1023,n[i++]=o>>>18&1023,n[i++]=1023&(o>>>28|(63&a)<<4),n[i++]=a>>>6&1023,n[i++]=a>>>16&1023,n[i++]=1023&(a>>>26|(15&l)<<6),n[i++]=l>>>4&1023,n[i++]=l>>>14&1023,n[i++]=1023&(l>>>24|(3&u)<<8),n[i++]=u>>>2&1023,n[i++]=u>>>12&1023,n[i++]=u>>>22&1023,n[i++]=c>>>0&1023,n[i++]=c>>>10&1023,n[i++]=c>>>20&1023,n[i++]=1023&(c>>>30|(255&h)<<2),n[i++]=h>>>8&1023,n[i++]=h>>>18&1023,n[i++]=1023&(h>>>28|(63&p)<<4),n[i++]=p>>>6&1023,n[i++]=p>>>16&1023,n[i++]=1023&(p>>>26|(15&f)<<6),n[i++]=f>>>4&1023,n[i++]=f>>>14&1023,n[i++]=1023&(f>>>24|(3&d)<<8),n[i++]=d>>>2&1023,n[i++]=d>>>12&1023,n[i]=d>>>22&1023;}(t,e,n,r);case 11:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0,c=t[e+5]>>>0,h=t[e+6]>>>0,p=t[e+7]>>>0,f=t[e+8]>>>0,d=t[e+9]>>>0,y=t[e+10]>>>0;n[i++]=s>>>0&2047,n[i++]=s>>>11&2047,n[i++]=2047&(s>>>22|(1&o)<<10),n[i++]=o>>>1&2047,n[i++]=o>>>12&2047,n[i++]=2047&(o>>>23|(3&a)<<9),n[i++]=a>>>2&2047,n[i++]=a>>>13&2047,n[i++]=2047&(a>>>24|(7&l)<<8),n[i++]=l>>>3&2047,n[i++]=l>>>14&2047,n[i++]=2047&(l>>>25|(15&u)<<7),n[i++]=u>>>4&2047,n[i++]=u>>>15&2047,n[i++]=2047&(u>>>26|(31&c)<<6),n[i++]=c>>>5&2047,n[i++]=c>>>16&2047,n[i++]=2047&(c>>>27|(63&h)<<5),n[i++]=h>>>6&2047,n[i++]=h>>>17&2047,n[i++]=2047&(h>>>28|(127&p)<<4),n[i++]=p>>>7&2047,n[i++]=p>>>18&2047,n[i++]=2047&(p>>>29|(255&f)<<3),n[i++]=f>>>8&2047,n[i++]=f>>>19&2047,n[i++]=2047&(f>>>30|(511&d)<<2),n[i++]=d>>>9&2047,n[i++]=d>>>20&2047,n[i++]=2047&(d>>>31|(1023&y)<<1),n[i++]=y>>>10&2047,n[i]=y>>>21&2047;}(t,e,n,r);case 12:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0,c=t[e+5]>>>0,h=t[e+6]>>>0,p=t[e+7]>>>0,f=t[e+8]>>>0,d=t[e+9]>>>0,y=t[e+10]>>>0,m=t[e+11]>>>0;n[i++]=s>>>0&4095,n[i++]=s>>>12&4095,n[i++]=4095&(s>>>24|(15&o)<<8),n[i++]=o>>>4&4095,n[i++]=o>>>16&4095,n[i++]=4095&(o>>>28|(255&a)<<4),n[i++]=a>>>8&4095,n[i++]=a>>>20&4095,n[i++]=l>>>0&4095,n[i++]=l>>>12&4095,n[i++]=4095&(l>>>24|(15&u)<<8),n[i++]=u>>>4&4095,n[i++]=u>>>16&4095,n[i++]=4095&(u>>>28|(255&c)<<4),n[i++]=c>>>8&4095,n[i++]=c>>>20&4095,n[i++]=h>>>0&4095,n[i++]=h>>>12&4095,n[i++]=4095&(h>>>24|(15&p)<<8),n[i++]=p>>>4&4095,n[i++]=p>>>16&4095,n[i++]=4095&(p>>>28|(255&f)<<4),n[i++]=f>>>8&4095,n[i++]=f>>>20&4095,n[i++]=d>>>0&4095,n[i++]=d>>>12&4095,n[i++]=4095&(d>>>24|(15&y)<<8),n[i++]=y>>>4&4095,n[i++]=y>>>16&4095,n[i++]=4095&(y>>>28|(255&m)<<4),n[i++]=m>>>8&4095,n[i]=m>>>20&4095;}(t,e,n,r);case 16:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0,c=t[e+5]>>>0,h=t[e+6]>>>0,p=t[e+7]>>>0,f=t[e+8]>>>0,d=t[e+9]>>>0,y=t[e+10]>>>0,m=t[e+11]>>>0,g=t[e+12]>>>0,x=t[e+13]>>>0,v=t[e+14]>>>0,b=t[e+15]>>>0;n[i++]=s>>>0&65535,n[i++]=s>>>16&65535,n[i++]=o>>>0&65535,n[i++]=o>>>16&65535,n[i++]=a>>>0&65535,n[i++]=a>>>16&65535,n[i++]=l>>>0&65535,n[i++]=l>>>16&65535,n[i++]=u>>>0&65535,n[i++]=u>>>16&65535,n[i++]=c>>>0&65535,n[i++]=c>>>16&65535,n[i++]=h>>>0&65535,n[i++]=h>>>16&65535,n[i++]=p>>>0&65535,n[i++]=p>>>16&65535,n[i++]=f>>>0&65535,n[i++]=f>>>16&65535,n[i++]=d>>>0&65535,n[i++]=d>>>16&65535,n[i++]=y>>>0&65535,n[i++]=y>>>16&65535,n[i++]=m>>>0&65535,n[i++]=m>>>16&65535,n[i++]=g>>>0&65535,n[i++]=g>>>16&65535,n[i++]=x>>>0&65535,n[i++]=x>>>16&65535,n[i++]=v>>>0&65535,n[i++]=v>>>16&65535,n[i++]=b>>>0&65535,n[i]=b>>>16&65535;}(t,e,n,r);case 32:for(let i=0;i<32;i=i+1|0)n[r+i|0]=0|t[e+i|0];return}const s=mf[i]>>>0;let o=e,a=0,l=t[o]>>>0;for(let e=0;e<32;e++)if(a+i<=32)n[r+e]=l>>>a&s,a+=i,32===a&&(a=0,o++,31!==e&&(l=t[o]>>>0));else {const u=32-a,c=l>>>a;o++,l=t[o]>>>0,n[r+e]=(c|(l&mf[i-u]>>>0)<=64)throw new Error("Varint too long")}return e.set(i),n}function Pf(t,e){let n,r;return r=t[e.get()],e.increment(),n=127&r,r<128?n:(r=t[e.get()],e.increment(),n|=(127&r)<<7,r<128?n:(r=t[e.get()],e.increment(),n|=(127&r)<<14,r<128?n:(r=t[e.get()],e.increment(),n|=(127&r)<<21,r<128?n:(r=t[e.get()],n|=(15&r)<<28,function(t,e,n){let r,i;if(i=e[n.get()],n.increment(),r=(112&i)>>4,i<128)return 4294967296*r+(t>>>0);if(i=e[n.get()],n.increment(),r|=(127&i)<<3,i<128)return 4294967296*r+(t>>>0);if(i=e[n.get()],n.increment(),r|=(127&i)<<10,i<128)return 4294967296*r+(t>>>0);if(i=e[n.get()],n.increment(),r|=(127&i)<<17,i<128)return 4294967296*r+(t>>>0);if(i=e[n.get()],n.increment(),r|=(127&i)<<24,i<128)return 4294967296*r+(t>>>0);if(i=e[n.get()],n.increment(),r|=(1&i)<<31,i<128)return 4294967296*r+(t>>>0);throw new Error("Expected varint not more than 10 bytes")}(n,t,e)))))}function Df(t){return t>>>1^-(1&t)}function zf(t){return t>>1n^-(1n&t)}function Bf(t){return t%2==1?(t+1)/-2:t/2}function Cf(t,e,n){if(void 0===n){n=0;for(let r=0;r=4)for(;r=4)for(;r=4)for(let r=t[0];n>4];let i=null;switch(r){case Nf.DATA:i={dictionaryType:Object.values(Uf)[15&n]};break;case Nf.OFFSET:i={offsetType:Object.values(jf)[15&n]};break;case Nf.LENGTH:i={lengthType:Object.values(qf)[15&n]};}e.increment();const s=t[e.get()],o=Object.values(ff)[s>>5],a=Object.values(ff)[s>>2&7],l=Object.values(df)[3&s];e.increment();const u=Ef(t,e,2),c=u[0];return {physicalStreamType:r,logicalStreamType:i,logicalLevelTechnique1:o,logicalLevelTechnique2:a,physicalLevelTechnique:l,numValues:c,byteLength:u[1],decompressedCount:c}}(t,e);return n.logicalLevelTechnique1===ff.MORTON?function(t,e,n){const r=Ef(e,n,2);return {physicalStreamType:t.physicalStreamType,logicalStreamType:t.logicalStreamType,logicalLevelTechnique1:t.logicalLevelTechnique1,logicalLevelTechnique2:t.logicalLevelTechnique2,physicalLevelTechnique:t.physicalLevelTechnique,numValues:t.numValues,byteLength:t.byteLength,decompressedCount:t.decompressedCount,numBits:r[0],coordinateShift:r[1]}}(n,t,e):ff.RLE!==n.logicalLevelTechnique1&&ff.RLE!==n.logicalLevelTechnique2||df.NONE===n.physicalLevelTechnique?n:function(t,e,n){const r=Ef(e,n,2);return {physicalStreamType:t.physicalStreamType,logicalStreamType:t.logicalStreamType,logicalLevelTechnique1:t.logicalLevelTechnique1,logicalLevelTechnique2:t.logicalLevelTechnique2,physicalLevelTechnique:t.physicalLevelTechnique,numValues:t.numValues,byteLength:t.byteLength,decompressedCount:r[1],runs:r[0],numRleValues:r[1]}}(n,t,e)}!function(t){t.PRESENT="PRESENT",t.DATA="DATA",t.OFFSET="OFFSET",t.LENGTH="LENGTH";}(Nf||(Nf={})),function(t){t.NONE="NONE",t.SINGLE="SINGLE",t.SHARED="SHARED",t.VERTEX="VERTEX",t.MORTON="MORTON",t.FSST="FSST";}(Uf||(Uf={})),function(t){t.VERTEX="VERTEX",t.INDEX="INDEX",t.STRING="STRING",t.KEY="KEY";}(jf||(jf={})),function(t){t.VAR_BINARY="VAR_BINARY",t.GEOMETRIES="GEOMETRIES",t.PARTS="PARTS",t.RINGS="RINGS",t.TRIANGLES="TRIANGLES",t.SYMBOL="SYMBOL",t.DICTIONARY="DICTIONARY";}(qf||(qf={})),function(t){t[t.FLAT=0]="FLAT",t[t.CONST=1]="CONST",t[t.SEQUENCE=2]="SEQUENCE",t[t.DICTIONARY=3]="DICTIONARY",t[t.FSST_DICTIONARY=4]="FSST_DICTIONARY";}(Gf||(Gf={}));class Wf{constructor(t,e){this.values=t,this._size=e;}get(t){const e=Math.floor(t/8);return 1==(this.values[e]>>t%8&1)}set(t,e){const n=Math.floor(t/8);this.values[n]=this.values[n]|(e?1:0)<>t%8&1}size(){return this._size}getBuffer(){return this.values}}function Kf(t,e,n){if(!e)return t;const r=e.size(),i=new(0,t.constructor)(r);let s=0;for(let o=0;o=4)for(;r>>0;for(let n=1;n>>0;return e}(e.logicalLevelTechnique2===ff.RLE?Cf(t,e.runs,e.numRleValues):t);break;case ff.RLE:i=Cf(t,e.runs,e.numRleValues);break;case ff.MORTON:Rf(t),i=t;break;case ff.COMPONENTWISE_DELTA:i=function(t){if(t.length<2)return new Uint32Array(t);const e=new Uint32Array(t.length);e[0]=Df(t[0])>>>0,e[1]=Df(t[1])>>>0;for(let n=2;n>>0,e[n+1]=e[n-1]+Df(t[n+1])>>>0;return e}(t);break;case ff.NONE:i=t;break;default:throw new Error(`The specified Logical level technique is not supported: ${e.logicalLevelTechnique1}`)}return r?Kf(i,r,0):i}(ed(t,e,n),n,0,i)}function td(t,e,n){return function(t,e){if(e.logicalLevelTechnique1===ff.DELTA&&e.logicalLevelTechnique2===ff.NONE)return function(t){const e=new Int32Array(t.length+1);e[0]=0,e[1]=Df(t[0]);let n=e[1];for(let r=2;r!==e.length;++r)n+=Df(t[r-1]),e[r]=e[r-1]+n;return new Uint32Array(e)}(t);if(e.logicalLevelTechnique1===ff.RLE&&e.logicalLevelTechnique2===ff.NONE)return function(t,e,n){const r=new Uint32Array(n+1);r[0]=0;let i=1,s=r[0];for(let n=0;n>>2,a=function(t,e){if(e<=t.encodedWords.length)return t.encodedWords;const n=new Uint32Array(Math.max(16,2*e));return t.encodedWords=n,n}(i,o);!function(t,e,n,r){if(e<0||n<0||e+n>t.length)throw new RangeError(`decodeBigEndianInt32sInto: out of bounds (offset=${e}, byteLength=${n}, bytes.length=${t.length})`);const i=Math.floor(n/4),s=n%4!=0,o=s?i+1:i;if(r.length0){const n=t.byteOffset+e;if(3&n)for(let n=0;n0){const e=0|t[r];if(r=r+1|0,255&e)throw new Error(`FastPFOR decode: invalid alignedLength=${e} (expected multiple of 256)`);if(i+e>s.length)throw new Error(`FastPFOR decode: output buffer too small (outPos=${i}, alignedLength=${e}, out.length=${s.length})`);r=function(t,e,n,r,i,s){const o=r+xf(i,gf);let a=r,l=n;for(;a!==o;){const n=Math.min(bf,o-a);l=kf(t,e,l,a,n,s),a=a+n|0;}return l}(t,s,r,i,e,o),i=i+e|0;}return function(t,e,n,r,i,s){if(0===s)return e;let o=0,a=e;const l=e+n,u=i;let c=i;const h=i+s;let p=0,f=0;for(;a>>o&255;if(o+=8,a+=o>>>5,o&=31,p|=(127&e)<28)throw new Error(`FastPFOR VByte: unterminated value (expected MSB=1 terminator within 5 bytes; shift=${f}, partial=${p}, decoded=${c-u}/${s}, inPos=${a}, inEnd=${l})`)}if(c!==h)throw new Error(`FastPFOR VByte: truncated stream (decoded=${c-u}, expected=${s}, consumedWords=${a-e}/${n}, vbyteStart=${e}, vbyteEnd=${l})`)}(t,r,t.length-r|0,s,i,e-i|0),s}(a.subarray(0,o),e,i.decoderWorkspace);return r.add(n),l}(t,e,n,r,function(t=16){if(t<0)throw new RangeError(`initialEncodedWordCapacity must be >= 0, got ${t}`);const e=Math.max(16,0|t);return {encodedWords:new Uint32Array(e),decoderWorkspace:_f()}}(n>>>2))}(t,n.numValues,n.byteLength,e);case df.VARINT:return Ef(t,e,n.numValues);case df.NONE:{const r=e.get();e.add(n.byteLength);const i=t.subarray(r,e.get());return new Uint32Array(i)}default:throw new Error(`Specified physicalLevelTechnique ${r} is not supported (yet).`)}}function nd(t,e,n){const r=ed(t,e,n);return 1===r.length?r[0]:function(t){return t[1]}(r)}function rd(t,e,n){return function(t){if(2===t.length){const e=Df(t[1]);return [e,e]}return [Df(t[2]),Df(t[3])]}(ed(t,e,n))}function id(t,e,n){return function(t){if(2===t.length){const e=zf(t[1]);return [e,e]}return [zf(t[2]),zf(t[3])]}(Tf(t,e,n.numValues))}function sd(t,e,n,r){return function(t,e,n){let r;switch(e.logicalLevelTechnique1){case ff.DELTA:r=function(t){const e=new BigUint64Array(t.length);e[0]=BigInt.asUintN(64,zf(t[0]));for(let n=1;n>1,e)-n}}function hd(t,e){let n=0;for(let r=0;r>r;return n}function pd(t,e,r,i,s,o,a){return t===Zf.MORTON?function(t,e,r,i,s,o){const a=new Array(s?i+1:i);for(let s=0;s[t])),r+=t,i+=t;}break;case Xf.LINESTRING:{let n,c;m?(n=f[i]-f[i-1],i++):n=p[r]-p[r-1],r++,y?(c=fd(g,a,n,!1),a+=2*n):(c=pd(t.vertexBufferType,g,d,l,n,!1,u),l+=n),e[o++]=[c],h&&s++;}break;case Xf.POLYGON:{const n=p[r]-p[r-1];r++;const c=new Array(n-1);let m,x=f[i]-f[i-1];if(i++,y){m=fd(g,a,x,!0),a+=2*x;for(let t=0;t0&&e.push(e[0]),h.push(e);}t[e]=h,s&&u++;}break;case Xf.MULTIPOLYGON:{const c=s[u]-s[u-1];u++;const h=[];for(let t=0;t0&&e.push(e[0]),h.push(e);}}t[e]=h;}}return t}[Symbol.iterator](){return null}}function xd(t,e,n,r,i,s){return new vd(t,e,n,r,i,s)}class vd extends gd{constructor(t,e,n,r,i,s){super(n,r,i,s),this._numGeometries=t,this._geometryType=e;}geometryType(t){return this._geometryType}get numGeometries(){return this._numGeometries}containsSingleGeometryType(){return !0}}function bd(t,e,n,r,i){return new wd(t,e,n,r,i)}class wd extends gd{constructor(t,e,n,r,i){super(e,n,r,i),this._geometryTypes=t;}geometryType(t){return this._geometryTypes[t]}get numGeometries(){return this._geometryTypes.length}containsSingleGeometryType(){return !1}}function _d(t,e,n,r,i){const s=Hf(t,n);let o,a,l,u;if(ad(s,r,t,n)===Gf.CONST){const i=nd(t,n,s);let c,h,p,f;for(let r=0;rn?e[s++]:1);return r}function Ad(t,e,n,r){const i=new Uint32Array(e[e.length-1]+1);let s=0;i[0]=s;let o=1,a=0;for(let l=0;l=o);){const n=t[r.increment()];if(n<=127){const o=n+3,a=t[r.increment()],l=Math.min(s+o,e);i.fill(a,s,l),s=l;}else {const o=256-n;for(let n=0;n=12?Td.decode(t.subarray(e,n)):function(t,e,n){let r="",i=e;for(;i239?4:e>223?3:e>191?2:1;if(i+u>n)break;1===u?e<128&&(l=e):2===u?(s=t[i+1],128==(192&s)&&(l=(31&e)<<6|63&s,l<=127&&(l=null))):3===u?(s=t[i+1],o=t[i+2],128==(192&s)&&128==(192&o)&&(l=(15&e)<<12|(63&s)<<6|63&o,(l<=2047||l>=55296&&l<=57343)&&(l=null))):4===u&&(s=t[i+1],o=t[i+2],a=t[i+3],128==(192&s)&&128==(192&o)&&128==(192&a)&&(l=(15&e)<<18|(63&s)<<12|(63&o)<<6|63&a,(l<=65535||l>=1114112)&&(l=null))),null===l?(l=65533,u=1):l>65535&&(l-=65536,r+=String.fromCharCode(l>>>10&1023|55296),l=56320|1023&l),r+=String.fromCharCode(l),i+=u;}return r}(t,e,n)}class Pd extends rf{constructor(t,e,n,r){super(t,n,r),this.offsetBuffer=e;}}class Dd extends Pd{constructor(t,e,n,r){super(t,e,n,r??e.length-1);}getValueFromBuffer(t){return Fd(this.dataBuffer,this.offsetBuffer[t],this.offsetBuffer[t+1])}}class zd extends Pd{constructor(t,e,n,r,i){super(t,n,r,i??e.length),this.indexBuffer=e,this.indexBuffer=e;}getValueFromBuffer(t){const e=this.indexBuffer[t];return Fd(this.dataBuffer,this.offsetBuffer[e],this.offsetBuffer[e+1])}}class Bd extends Pd{constructor(t,e,n,r,i,s,o){super(t,n,r,o),this.indexBuffer=e,this.symbolOffsetBuffer=i,this.symbolTableBuffer=s;}getValueFromBuffer(t){null==this.decodedDictionary&&(null==this.symbolLengthBuffer&&(this.symbolLengthBuffer=this.offsetToLengthBuffer(this.symbolOffsetBuffer)),this.decodedDictionary=function(t,e,n){const r=[],i=new Array(e.length).fill(0);for(let t=1;t=10}function $d(t){return 30===t}function Rd(t){if("scalarType"===t.type){const e=t.scalarType;if("physicalType"===e.type)switch(e.physicalType){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:default:return !1;case 9:return !0}if("logicalType"===e.type)return !1}else if("complexType"===t.type){const e=t.complexType;if("physicalType"===e.type)switch(e.physicalType){case 0:case 1:return !0;default:return !1}}return console.warn("Unexpected column type in hasStreamCount",t),!1}function Nd(t){return "complexType"===t.type&&"physicalType"===t.complexType?.type&&0===t.complexType.physicalType}const Ud=new TextDecoder;function jd(t,e){const n=Ef(t,e,1)[0];if(0===n)return "";const r=e.get(),i=t.subarray(r,r+n);return e.add(n),Ud.decode(i)}function qd(t,e){const n=Ef(t,e,1)[0]>>>0;if(n<10||n>30)throw new Error(`Unsupported field type code ${n}. Supported: 10-29(scalars), 30(STRUCT)`);const r=Ld(n);if(Od(n)&&(r.name=jd(t,e)),$d(n)){const n=Ef(t,e,1)[0]>>>0;r.complexType.children=new Array(n);for(let i=0;i>>0,r=Ld(n);if(!r)throw new Error(`Unsupported column type code ${n}. Supported: 0-3(ID), 4(GEOMETRY), 10-29(scalars), 30(STRUCT)`);if(Od(n)?r.name=jd(t,e):n>=0&&n<=3?r.name="id":4===n&&(r.name="geometry"),$d(n)){const n=Ef(t,e,1)[0]>>>0,i=r.complexType;i.children=new Array(n);for(let r=0;r>>0,s=Ef(t,e,1)[0]>>>0;r.columns=new Array(s);for(let n=0;n=4)for(;n>>0,o=r.get()+e;if(o>t.length)throw new Error(`Block overruns tile: ${o} > ${t.length}`);if(1!=Ef(t,r,1)[0]>>>0){r.set(o);continue}const[a,l]=Xd(t,r),u=a.featureTables[0];let c=null,h=null;const p=[];let f=0;for(const e of u.columns){const i=e.name;if("scalarType"===(s=e).type&&"logicalType"===s.scalarType?.type&&0===s.scalarType.logicalType){let s=null;if(e.nullable){const e=Hf(t,r),n=r.get(),i=Ed(t,e.numValues,e.byteLength,r);r.set(n+e.byteLength),s=new Wf(i,e.numValues);}const o=Hf(t,r);f=s?s.size():o.decompressedCount,c=Yd(t,e,r,i,o,s??f,n);}else if(Nd(e)){const e=Ef(t,r,1)[0];if(0===f){const e=r.get();f=Hf(t,r).decompressedCount,r.set(e);}h=_d(t,e,r,f);}else {const n=Rd(e)?Ef(t,r,1)[0]:1;if(0===n)continue;const i=Cd(t,r,e,n,f);if(i)if(Array.isArray(i))for(const t of i)p.push(t);else p.push(i);}}const d=new hf(u.name,h,c,p,l);i.push(d),r.set(o);}var s;return i}(new Uint8Array(t));this.layers=e.reduce(((t,e)=>Object.assign(Object.assign({},t),{[e.name]:new Hd(e)})),{});}}class Kd{constructor(t,e){this.feature=t,this.type=t.type,this.properties=t.tags?t.tags:{},this.extent=e,"id"in t&&("string"==typeof t.id?this.id=parseInt(t.id,10):"number"!=typeof t.id||isNaN(t.id)||(this.id=t.id));}loadGeometry(){const t=[],e=1===this.feature.type?[this.feature.geometry]:this.feature.geometry;for(const r of e){const e=[];for(const t of r)e.push(new n(t[0],t[1]));t.push(e);}return t}}const Jd="_geojsonTileLayer";function Qd(t,e,n=""){e.writeVarintField(15,t.version||1),e.writeStringField(1,t.name||""),e.writeVarintField(5,t.extent||4096);const r={jsonPrefix:n,keys:[],values:[],keycache:{},valuecache:{}};for(let n=0;n>31}function iy(t,e){const n=t.loadGeometry(),r=t.type;let i=0,s=0;for(const o of n){let n=1;1===r&&(n=o.length),e.writeVarint(ny(1,n));const a=3===r?o.length-1:o.length;for(let t=0;t=0&&e[3]>=0&&a.insert(o,e[0],e[1],e[2],e[3]);}}loadVTLayers(){return this.vtLayers||(this.vtLayers="mlt"!==this.encoding?new Nu(new Rh(this.rawTileData)).layers:new Wd(this.rawTileData).layers,this.sourceLayerCoder=new ef(this.vtLayers?Object.keys(this.vtLayers).sort():[Jd])),this.vtLayers}query(t,e,r,i){this.loadVTLayers();const s=t.params,o=T/t.tileSize/t.scale,a=yi(s.filter,s.globalState),l=t.queryGeometry,u=t.queryPadding*o,c=tf.fromPoints(l),h=this.grid.query(c.minX-u,c.minY-u,c.maxX+u,c.maxY+u),p=tf.fromPoints(t.cameraQueryGeometry).expandBy(u),f=this.grid3D.query(p.minX,p.minY,p.maxX,p.maxY,((e,r,i,s)=>function(t,e,r,i,s){for(const n of t)if(e<=n.x&&r<=n.y&&i>=n.x&&s>=n.y)return !0;const o=[new n(e,r),new n(e,s),new n(i,s),new n(i,r)];if(t.length>2)for(const e of o)if(il(t,e))return !0;for(let e=0;e(c||(c=qa(e)),n.queryIntersectsFeature({queryGeometry:l,feature:e,featureState:r,geometry:c,zoom:this.z,transform:t.transform,pixelsToTileUnits:o,pixelPosMatrix:t.pixelPosMatrix,unwrappedTileID:this.tileID.toUnwrapped(),getElevation:t.getElevation}))));}return d}loadMatchingFeature(t,e,n,r,i,s,o,a,l,u,c){const h=this.bucketLayerIDs[e];if(s&&!h.some((t=>s.has(t))))return;const p=this.sourceLayerCoder.decode(n),f=this.vtLayers[p].feature(r);if(i.needGeometry){const t=Ga(f,!0);if(!i.filter(new Cs(this.tileID.overscaledZ),t,this.tileID.canonical))return}else if(!i.filter(new Cs(this.tileID.overscaledZ),f))return;const d=this.getId(f,p);for(const e of h){if(s&&!s.has(e))continue;const n=a[e];if(!n)continue;let i={};d&&u&&(i=u.getState(n.sourceLayer||Jd,d));const h=$({},l[e]);h.paint=ay(h.paint,n.paint,f,i,o),h.layout=ay(h.layout,n.layout,f,i,o);const p=!c||c(f,n,i);if(!p)continue;const y=new nf(f,this.z,this.x,this.y,d);y.layer=h;let m=t[e];void 0===m&&(m=t[e]=[]),m.push({featureIndex:r,feature:y,intersectionZ:p});}}lookupSymbolFeatures(t,e,n,r,i,s,o,a){const l={};this.loadVTLayers();const u=yi(i.filterSpec,i.globalState);for(const i of t)this.loadMatchingFeature(l,n,r,i,u,s,o,a,e);return l}hasLayer(t){for(const e of this.bucketLayerIDs)for(const n of e)if(t===n)return !0;return !1}getId(t,e){var n;let r=t.id;return this.promoteId&&(r=t.properties["string"==typeof this.promoteId?this.promoteId:this.promoteId[e]],"boolean"==typeof r&&(r=Number(r)),void 0===r&&(null===(n=t.properties)||void 0===n?void 0:n.cluster)&&this.promoteId&&(r=Number(t.properties.cluster_id))),r}}function ay(t,e,n,r,i){return N(t,((t,s)=>{const o=e instanceof Gs?e.get(s):null;return (null==o?void 0:o.evaluate)?o.evaluate(n,r,i):o}))}function ly(t,e){return e-t}function uy(t,e,r,i,s){const o=[];for(const a of t){let t;for(let l=0;l=i&&c.x>=i||(u.x>=i?u=new n(i,u.y+(i-u.x)/(c.x-u.x)*(c.y-u.y))._round():c.x>=i&&(c=new n(i,u.y+(i-u.x)/(c.x-u.x)*(c.y-u.y))._round()),u.y>=s&&c.y>=s||(u.y>=s?u=new n(u.x+(s-u.y)/(c.y-u.y)*(c.x-u.x),s)._round():c.y>=s&&(c=new n(u.x+(s-u.y)/(c.y-u.y)*(c.x-u.x),s)._round()),t&&u.equals(t[t.length-1])||(t=[u],o.push(t)),t.push(c)))));}}return o}function cy(t,e,n,r,i){switch(e){case 1:return function(t,e,n,r){const i=[];for(const s of t)for(const t of s){const s=0===r?t.x:t.y;s>=e&&s<=n&&i.push([t]);}return i}(t,n,r,i);case 2:return py(t,n,r,i,!1);case 3:return py(t,n,r,i,!0)}return []}function hy(t,e,r,i,s){const o=0===i?fy:dy;let a=[];const l=[];for(let n=0;ne&&a.push(o(u,c,e)):h>r?p=e&&(a.push(o(u,c,e)),f=!0),p>r&&h<=r&&(a.push(o(u,c,r)),f=!0),!s&&f&&(l.push(a),a=[]);}const u=t.length-1,c=0===i?t[u].x:t[u].y;return c>=e&&c<=r&&a.push(t[u]),s&&a.length>0&&!a[0].equals(a[a.length-1])&&a.push(new n(a[0].x,a[0].y)),a.length>0&&l.push(a),l}function py(t,e,n,r,i){const s=[];for(const o of t){const t=hy(o,e,n,r,i);t.length>0&&s.push(...t);}return s}function fy(t,e,r){return new n(r,t.y+(r-t.x)/(e.x-t.x)*(e.y-t.y))}function dy(t,e,r){return new n(t.x+(r-t.y)/(e.y-t.y)*(e.x-t.x),r)}ds("FeatureIndex",oy,{omit:["rawTileData","sourceLayerCoder"]});class yy extends n{constructor(t,e,n,r){super(t,e),this.angle=n,void 0!==r&&(this.segment=r);}clone(){return new yy(this.x,this.y,this.angle,this.segment)}}function my(t,e,n,r,i){if(void 0===e.segment||0===n)return !0;let s=e,o=e.segment+1,a=0;for(;a>-n/2;){if(o--,o<0)return !1;a-=t[o].dist(s),s=t[o];}a+=t[o].dist(t[o+1]),o++;const l=[];let u=0;for(;ar;)u-=l.shift().angleDelta;if(u>i)return !1;o++,a+=e.dist(n);}return !0}function gy(t){let e=0;for(let n=0;nu){const c=(u-l)/s,h=xn.number(r.x,i.x,c),p=xn.number(r.y,i.y,c),f=new yy(h,p,i.angleTo(r),n);return f._round(),!o||my(t,f,a,o,e)?f:void 0}l+=s;}}function wy(t,e,n,r,i,s,o,a,l){const u=xy(r,s,o),c=vy(r,i),h=c*o,p=0===t[0].x||t[0].x===l||0===t[0].y||t[0].y===l;return e-h=0&&g=0&&x=0&&p+u<=c){const n=new yy(g,x,y,e);n._round(),r&&!my(t,n,s,r,i)||f.push(n);}}h+=d;}return a||f.length||o||(f=_y(t,h/2,n,r,i,s,o,!0,l)),f}function Sy(t,e,r,i){const s=[],o=t.image,a=o.pixelRatio,l=o.paddedRect.w-2,u=o.paddedRect.h-2;let c={x1:t.left,y1:t.top,x2:t.right,y2:t.bottom};const h=o.stretchX||[[0,l]],p=o.stretchY||[[0,u]],f=(t,e)=>t+e[1]-e[0],d=h.reduce(f,0),y=p.reduce(f,0),m=l-d,g=u-y;let x=0,v=d,b=0,w=y,_=0,S=m,A=0,M=g;if(o.content&&i){const e=o.content,n=e[2]-e[0],r=e[3]-e[1];(o.textFitWidth||o.textFitHeight)&&(c=dp(t)),x=Ay(h,0,e[0]),b=Ay(p,0,e[1]),v=Ay(h,e[0],e[2]),w=Ay(p,e[1],e[3]),_=e[0]-x,A=e[1]-b,S=n-v,M=r-w;}const k=c.x1,I=c.y1,E=c.x2-k,T=c.y2-I,F=(t,i,s,l)=>{const u=ky(t.stretch-x,v,E,k),c=Iy(t.fixed-_,S,t.stretch,d),h=ky(i.stretch-b,w,T,I),p=Iy(i.fixed-A,M,i.stretch,y),f=ky(s.stretch-x,v,E,k),m=Iy(s.fixed-_,S,s.stretch,d),g=ky(l.stretch-b,w,T,I),F=Iy(l.fixed-A,M,l.stretch,y),P=new n(u,h),D=new n(f,h),z=new n(f,g),B=new n(u,g),C=new n(c/a,p/a),V=new n(m/a,F/a),L=e*Math.PI/180;if(L){const t=Math.sin(L),e=Math.cos(L),n=[e,-t,t,e];P._matMult(n),D._matMult(n),B._matMult(n),z._matMult(n);}const O=t.stretch+t.fixed,$=i.stretch+i.fixed;return {tl:P,tr:D,bl:B,br:z,tex:{x:o.paddedRect.x+1+O,y:o.paddedRect.y+1+$,w:s.stretch+s.fixed-O,h:l.stretch+l.fixed-$},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:C,pixelOffsetBR:V,minFontScaleX:S/a/E,minFontScaleY:M/a/T,isSDF:r}};if(i&&(o.stretchX||o.stretchY)){const t=My(h,m,d),e=My(p,g,y);for(let n=0;n0&&(r=Math.max(10,r),this.circleDiameter=r);}else {const u=(null===(h=o.image)||void 0===h?void 0:h.content)&&(o.image.textFitWidth||o.image.textFitHeight)?dp(o):{x1:o.left,y1:o.top,x2:o.right,y2:o.bottom};u.y1=u.y1*a-l[0],u.y2=u.y2*a+l[2],u.x1=u.x1*a-l[3],u.x2=u.x2*a+l[1];const p=o.collisionPadding;if(p&&(u.x1-=p[0]*a,u.y1-=p[1]*a,u.x2+=p[2]*a,u.y2+=p[3]*a),c){const t=new n(u.x1,u.y1),e=new n(u.x2,u.y1),r=new n(u.x1,u.y2),i=new n(u.x2,u.y2),s=c*Math.PI/180;t._rotate(s),e._rotate(s),r._rotate(s),i._rotate(s),u.x1=Math.min(t.x,e.x,r.x,i.x),u.x2=Math.max(t.x,e.x,r.x,i.x),u.y1=Math.min(t.y,e.y,r.y,i.y),u.y2=Math.max(t.y,e.y,r.y,i.y);}t.emplaceBack(e.x,e.y,u.x1,u.y1,u.x2,u.y2,r,i,s);}this.boxEndIndex=t.length;}}class Ty{constructor(t=[],e=(t,e)=>te?1:0){if(this.data=t,this.length=this.data.length,this.compare=e,this.length>0)for(let t=(this.length>>1)-1;t>=0;t--)this._down(t);}push(t){this.data.push(t),this._up(this.length++);}pop(){if(0===this.length)return;const t=this.data[0],e=this.data.pop();return --this.length>0&&(this.data[0]=e,this._down(0)),t}peek(){return this.data[0]}_up(t){const{data:e,compare:n}=this,r=e[t];for(;t>0;){const i=t-1>>1,s=e[i];if(n(r,s)>=0)break;e[t]=s,t=i;}e[t]=r;}_down(t){const{data:e,compare:n}=this,r=this.length>>1,i=e[t];for(;t=0)break;e[t]=e[r],t=r;}e[t]=i;}}function Fy(t,e=1){const r=tf.fromPoints(t[0]),i=Math.min(r.width(),r.height());let s=i/2;const o=new Ty([],Py),{minX:a,minY:l,maxX:u,maxY:c}=r;if(0===i)return new n(a,l);for(let e=a;ep.d||!p.d)&&(p=n),n.max-p.d<=e||(s=n.h/2,o.push(new Dy(n.p.x-s,n.p.y-s,s,t)),o.push(new Dy(n.p.x+s,n.p.y-s,s,t)),o.push(new Dy(n.p.x-s,n.p.y+s,s,t)),o.push(new Dy(n.p.x+s,n.p.y+s,s,t)));}return h.d>0&&p.d-h.d<=e?h.p:p.p}function Py(t,e){return e.max-t.max}class Dy{constructor(t,e,r,i){this.p=new n(t,e),this.h=r,this.d=function(t,e){let n=!1,r=1/0;for(const i of e)for(let e=0,s=i.length,o=s-1;et.y!=a.y>t.y&&t.x<(a.x-s.x)*(t.y-s.y)/(a.y-s.y)+s.x&&(n=!n),r=Math.min(r,nl(t,s,a));}return (n?1:-1)*Math.sqrt(r)}(this.p,i),this.max=this.d+this.h*Math.SQRT2;}}var zy;t.aM=void 0,(zy=t.aM||(t.aM={}))[zy.center=1]="center",zy[zy.left=2]="left",zy[zy.right=3]="right",zy[zy.top=4]="top",zy[zy.bottom=5]="bottom",zy[zy["top-left"]=6]="top-left",zy[zy["top-right"]=7]="top-right",zy[zy["bottom-left"]=8]="bottom-left",zy[zy["bottom-right"]=9]="bottom-right";const By=Number.POSITIVE_INFINITY;function Cy(t,e){return e[1]!==By?function(t,e,n){let r=0,i=0;switch(e=Math.abs(e),n=Math.abs(n),t){case "top-right":case "top-left":case "top":i=n-7;break;case "bottom-right":case "bottom-left":case "bottom":i=7-n;}switch(t){case "top-right":case "bottom-right":case "right":r=-e;break;case "top-left":case "bottom-left":case "left":r=e;}return [r,i]}(t,e[0],e[1]):function(t,e){let n=0,r=0;e<0&&(e=0);const i=e/Math.SQRT2;switch(t){case "top-right":case "top-left":r=i-7;break;case "bottom-right":case "bottom-left":r=7-i;break;case "bottom":r=7-e;break;case "top":r=e-7;}switch(t){case "top-right":case "bottom-right":n=-i;break;case "top-left":case "bottom-left":n=i;break;case "left":n=e;break;case "right":n=-e;}return [n,r]}(t,e[0])}function Vy(t,e,n){var r;const i=t.layout,s=null===(r=i.get("text-variable-anchor-offset"))||void 0===r?void 0:r.evaluate(e,{},n);if(s){const t=s.values,e=[];for(let n=0;nt*Ih));r.startsWith("top")?i[1]-=7:r.startsWith("bottom")&&(i[1]+=7),e[n+1]=i;}return new $e(e)}const o=i.get("text-variable-anchor");if(o){let r;r=void 0!==t._unevaluatedLayout.getValue("text-radial-offset")?[i.get("text-radial-offset").evaluate(e,{},n)*Ih,By]:i.get("text-offset").evaluate(e,{},n).map((t=>t*Ih));const s=[];for(const t of o)s.push(t,Cy(t,r));return new $e(s)}return null}function Ly(t){switch(t){case "right":case "top-right":case "bottom-right":return "right";case "left":case "top-left":case "bottom-left":return "left"}return "center"}function Oy(e,n,r,i,s,o,a,l,u,c,h,p){let f=o.textMaxSize.evaluate(n,{});void 0===f&&(f=a);const d=e.layers[0].layout,y=d.get("icon-offset").evaluate(n,{},h),m=Ry(r.horizontal),g=a/24,x=e.tilePixelRatio*g,v=e.tilePixelRatio*f/24,b=e.tilePixelRatio*l,w=e.tilePixelRatio*d.get("symbol-spacing"),_=d.get("text-padding")*e.tilePixelRatio,S=function(t,e,n,r=1){const i=t.get("icon-padding").evaluate(e,{},n),s=null==i?void 0:i.values;return [s[0]*r,s[1]*r,s[2]*r,s[3]*r]}(d,n,h,e.tilePixelRatio),A=d.get("text-max-angle")/180*Math.PI,M="viewport"!==d.get("text-rotation-alignment")&&"point"!==d.get("symbol-placement"),k="map"===d.get("icon-rotation-alignment")&&"point"!==d.get("symbol-placement"),I=d.get("symbol-placement"),E=w/2,F=d.get("icon-text-fit");let P;i&&"none"!==F&&(e.allowVerticalPlacement&&r.vertical&&(P=yp(i,r.vertical,F,d.get("icon-text-fit-padding"),y,g)),m&&(i=yp(i,m,F,d.get("icon-text-fit-padding"),y,g)));const D=h?p.line.getGranularityForZoomLevel(h.z):1,z=(l,p)=>{p.x<0||p.x>=T||p.y<0||p.y>=T||function(e,n,r,i,s,o,a,l,u,c,h,p,f,d,y,m,g,x,v,b,w,_,S,A,M){const k=e.addToLineVertexArray(n,r);let I,E,T,F,P=0,D=0,z=0,B=0,C=-1,V=-1;const L={};let O=ba("");if(e.allowVerticalPlacement&&i.vertical){const t=l.layout.get("text-rotate").evaluate(w,{},A)+90;T=new Ey(u,n,c,h,p,i.vertical,f,d,y,t),a&&(F=new Ey(u,n,c,h,p,a,g,x,y,t));}if(s){const r=l.layout.get("icon-rotate").evaluate(w,{}),i="none"!==l.layout.get("icon-text-fit"),o=Sy(s,r,S,i),f=a?Sy(a,r,S,i):void 0;E=new Ey(u,n,c,h,p,s,g,x,!1,r),P=4*o.length;const d=e.iconSizeData;let y=null;"source"===d.kind?(y=[mp*l.layout.get("icon-size").evaluate(w,{})],y[0]>gp&&G(`${e.layerIds[0]}: Value for "icon-size" is >= 255. Reduce your "icon-size".`)):"composite"===d.kind&&(y=[mp*_.compositeIconSizes[0].evaluate(w,{},A),mp*_.compositeIconSizes[1].evaluate(w,{},A)],(y[0]>gp||y[1]>gp)&&G(`${e.layerIds[0]}: Value for "icon-size" is >= 255. Reduce your "icon-size".`)),e.addSymbols(e.icon,o,y,b,v,w,t.ax.none,n,k.lineStartIndex,k.lineLength,-1,A),C=e.icon.placedSymbolArray.length-1,f&&(D=4*f.length,e.addSymbols(e.icon,f,y,b,v,w,t.ax.vertical,n,k.lineStartIndex,k.lineLength,-1,A),V=e.icon.placedSymbolArray.length-1);}const $=Object.keys(i.horizontal);for(const r of $){const s=i.horizontal[r];if(!I){O=ba(s.text);const t=l.layout.get("text-rotate").evaluate(w,{},A);I=new Ey(u,n,c,h,p,s,f,d,y,t);}const a=1===s.positionedLines.length;if(z+=$y(e,n,s,o,l,y,w,m,k,i.vertical?t.ax.horizontal:t.ax.horizontalOnly,a?$:[r],L,C,_,A),a)break}i.vertical&&(B+=$y(e,n,i.vertical,o,l,y,w,m,k,t.ax.vertical,["vertical"],L,V,_,A));const R=I?I.boxStartIndex:e.collisionBoxArray.length,N=I?I.boxEndIndex:e.collisionBoxArray.length,U=T?T.boxStartIndex:e.collisionBoxArray.length,j=T?T.boxEndIndex:e.collisionBoxArray.length,q=E?E.boxStartIndex:e.collisionBoxArray.length,X=E?E.boxEndIndex:e.collisionBoxArray.length,Y=F?F.boxStartIndex:e.collisionBoxArray.length,Z=F?F.boxEndIndex:e.collisionBoxArray.length;let H=-1;const W=(t,e)=>(null==t?void 0:t.circleDiameter)?Math.max(t.circleDiameter,e):e;H=W(I,H),H=W(T,H),H=W(E,H),H=W(F,H);const K=H>-1?1:0;K&&(H*=M/Ih),e.glyphOffsetArray.length>=kp.MAX_GLYPHS&&G("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),void 0!==w.sortKey&&e.addToSortKeyRanges(e.symbolInstances.length,w.sortKey);const J=Vy(l,w,A),[Q,tt]=function(e,n){const r=e.length,i=null==n?void 0:n.values;if((null==i?void 0:i.length)>0)for(let n=0;n=0?L.right:-1,L.center>=0?L.center:-1,L.left>=0?L.left:-1,L.vertical||-1,C,V,O,R,N,U,j,q,X,Y,Z,c,z,B,P,D,K,0,f,H,Q,tt);}(e,p,l,r,i,s,P,e.layers[0],e.collisionBoxArray,n.index,n.sourceLayerIndex,e.index,x,[_,_,_,_],M,u,b,S,k,y,n,o,c,h,a);};if("line"===I)for(const t of uy(n.geometry,0,0,T,T)){const n=Su(t,D),s=wy(n,w,A,r.vertical||m,i,24,v,e.overscaling,T);for(const t of s)m&&Ny(e,m.text,E,t)||z(n,t);}else if("line-center"===I){for(const t of n.geometry)if(t.length>1){const e=Su(t,D),n=by(e,A,r.vertical||m,i,24,v);n&&z(e,n);}}else if("Polygon"===n.type)for(const t of rr(n.geometry,0)){const e=Fy(t,16);z(Su(t[0],D,!0),new yy(e.x,e.y,0));}else if("LineString"===n.type)for(const t of n.geometry){const e=Su(t,D);z(e,new yy(e[0].x,e[0].y,0));}else if("Point"===n.type)for(const t of n.geometry)for(const e of t)z([e],new yy(e.x,e.y,0));}function $y(t,e,r,i,s,o,a,l,u,c,h,p,f,d,y){const m=function(t,e,r,i,s,o,a,l){const u=i.layout.get("text-rotate").evaluate(o,{})*Math.PI/180,c=[];for(const t of e.positionedLines)for(const i of t.positionedGlyphs){if(!i.rect)continue;const o=i.rect||{};let h=4,p=!0,f=1,d=0;const y=(s||l)&&i.vertical,m=i.metrics.advance*i.scale/2;if(l&&e.verticalizable&&(d=t.lineOffset/2-(i.imageName?-(Ih-i.metrics.width*i.scale)/2:(i.scale-1)*Ih)),i.imageName){const t=a[i.imageName];p=t.sdf,f=t.pixelRatio,h=1/f;}const g=s?[i.x+m,i.y]:[0,0];let x=s?[0,0]:[i.x+m+r[0],i.y+r[1]-d],v=[0,0];y&&(v=x,x=[0,0]);const b=i.metrics.isDoubleResolution?2:1,w=(i.metrics.left-h)*i.scale-m+x[0],_=(-i.metrics.top-h)*i.scale+x[1],S=w+o.w/b*i.scale/f,A=_+o.h/b*i.scale/f,M=new n(w,_),k=new n(S,_),I=new n(w,A),E=new n(S,A);if(y){const t=new n(-m,m- -17),e=-Math.PI/2,r=12-m,s=new n(22-r,-(i.imageName?r:0)),o=new n(...v);M._rotateAround(e,t)._add(s)._add(o),k._rotateAround(e,t)._add(s)._add(o),I._rotateAround(e,t)._add(s)._add(o),E._rotateAround(e,t)._add(s)._add(o);}if(u){const t=Math.sin(u),e=Math.cos(u),n=[e,-t,t,e];M._matMult(n),k._matMult(n),I._matMult(n),E._matMult(n);}const T=new n(0,0),F=new n(0,0);c.push({tl:M,tr:k,bl:I,br:E,tex:o,writingMode:e.writingMode,glyphOffset:g,sectionIndex:i.sectionIndex,isSDF:p,pixelOffsetTL:T,pixelOffsetBR:F,minFontScaleX:0,minFontScaleY:0});}return c}(0,r,l,s,o,a,i,t.allowVerticalPlacement),g=t.textSizeData;let x=null;"source"===g.kind?(x=[mp*s.layout.get("text-size").evaluate(a,{})],x[0]>gp&&G(`${t.layerIds[0]}: Value for "text-size" is >= 255. Reduce your "text-size".`)):"composite"===g.kind&&(x=[mp*d.compositeTextSizes[0].evaluate(a,{},y),mp*d.compositeTextSizes[1].evaluate(a,{},y)],(x[0]>gp||x[1]>gp)&&G(`${t.layerIds[0]}: Value for "text-size" is >= 255. Reduce your "text-size".`)),t.addSymbols(t.text,m,x,l,o,a,c,e,u.lineStartIndex,u.lineLength,f,y);for(const e of h)p[e]=t.text.placedSymbolArray.length-1;return 4*m.length}function Ry(t){for(const e in t)return t[e];return null}function Ny(t,e,n,r){const i=t.compareText;if(e in i){const t=i[e];for(let e=t.length-1;e>=0;e--)if(r.dist(t[e])this.process())),this.subscription=tt(this.target,"message",(t=>this.receive(t)),!1),this.globalScope=Y(self)?t:window;}registerMessageHandler(t,e){this.messageHandlers[t]=e;}unregisterMessageHandler(t){delete this.messageHandlers[t];}sendAsync(t,e){return new Promise(((n,r)=>{const i=Math.round(1e18*Math.random()).toString(36).substring(0,10),s=e?tt(e.signal,"abort",(()=>{null==s||s.unsubscribe(),delete this.resolveRejects[i];const e={id:i,type:"",origin:location.origin,targetMapId:t.targetMapId,sourceMapId:this.mapId};this.target.postMessage(e);}),Lp):null;this.resolveRejects[i]={resolve:t=>{null==s||s.unsubscribe(),n(t);},reject:t=>{null==s||s.unsubscribe(),r(t);}};const o=[],a=Object.assign(Object.assign({},t),{id:i,sourceMapId:this.mapId,origin:location.origin,data:xs(t.data,o)});this.target.postMessage(a,{transfer:o});}))}receive(t){const e=t.data,n=e.id,r=["file://","resource://android","null"],i=[e.origin,location.origin],s=e.origin===location.origin,o=i.some((t=>r.includes(t)));if((s||o)&&(!e.targetMapId||this.mapId===e.targetMapId)){if(""===e.type){delete this.tasks[n];const t=this.abortControllers[n];return delete this.abortControllers[n],void(t&&t.abort())}if(Y(self)||e.mustQueue)return this.tasks[n]=e,this.taskQueue.push(n),void this.invoker.trigger();this.processTask(n,e);}}process(){if(0===this.taskQueue.length)return;const t=this.taskQueue.shift(),e=this.tasks[t];delete this.tasks[t],this.taskQueue.length>0&&this.invoker.trigger(),e&&this.processTask(t,e);}processTask(t,n){return e(this,void 0,void 0,(function*(){if(""===n.type){const e=this.resolveRejects[t];if(delete this.resolveRejects[t],!e)return;return void(n.error?e.reject(P(vs(n.error))):e.resolve(vs(n.data)))}if(!this.messageHandlers[n.type])return void this.completeTask(t,new Error(`Could not find a registered handler for ${n.type}, map ID: ${this.mapId}, available handlers: ${Object.keys(this.messageHandlers).join(", ")}`));const e=vs(n.data),r=new AbortController;this.abortControllers[t]=r;try{const i=yield this.messageHandlers[n.type](n.sourceMapId,e,r);this.completeTask(t,null,i);}catch(e){this.completeTask(t,P(e));}}))}completeTask(t,e,n){const r=[];delete this.abortControllers[t];const i={id:t,type:"",sourceMapId:this.mapId,origin:location.origin,error:e?xs(e):null,data:xs(n,r)};this.target.postMessage(i,{transfer:r});}remove(){this.invoker.remove(),this.subscription.unsubscribe();}},t.O=function(){var t=new f(16);return f!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0),t[0]=1,t[5]=1,t[10]=1,t[15]=1,t},t.P=n,t.Q=function(t,e,n){var r,i,s,o,a,l,u,c,h,p,f,d,y=n[0],m=n[1],g=n[2];return e===t?(t[12]=e[0]*y+e[4]*m+e[8]*g+e[12],t[13]=e[1]*y+e[5]*m+e[9]*g+e[13],t[14]=e[2]*y+e[6]*m+e[10]*g+e[14],t[15]=e[3]*y+e[7]*m+e[11]*g+e[15]):(i=e[1],s=e[2],o=e[3],a=e[4],l=e[5],u=e[6],c=e[7],h=e[8],p=e[9],f=e[10],d=e[11],t[0]=r=e[0],t[1]=i,t[2]=s,t[3]=o,t[4]=a,t[5]=l,t[6]=u,t[7]=c,t[8]=h,t[9]=p,t[10]=f,t[11]=d,t[12]=r*y+a*m+h*g+e[12],t[13]=i*y+l*m+p*g+e[13],t[14]=s*y+u*m+f*g+e[14],t[15]=o*y+c*m+d*g+e[15]),t},t.R=Il,t.S=function(t,e,n){var r=n[0],i=n[1],s=n[2];return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*i,t[6]=e[6]*i,t[7]=e[7]*i,t[8]=e[8]*s,t[9]=e[9]*s,t[10]=e[10]*s,t[11]=e[11]*s,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},t.T=Ol,t.U=function(t,e,n){var r=e[0],i=e[1],s=e[2],o=e[3],a=e[4],l=e[5],u=e[6],c=e[7],h=e[8],p=e[9],f=e[10],d=e[11],y=e[12],m=e[13],g=e[14],x=e[15],v=n[0],b=n[1],w=n[2],_=n[3];return t[0]=v*r+b*a+w*h+_*y,t[1]=v*i+b*l+w*p+_*m,t[2]=v*s+b*u+w*f+_*g,t[3]=v*o+b*c+w*d+_*x,t[4]=(v=n[4])*r+(b=n[5])*a+(w=n[6])*h+(_=n[7])*y,t[5]=v*i+b*l+w*p+_*m,t[6]=v*s+b*u+w*f+_*g,t[7]=v*o+b*c+w*d+_*x,t[8]=(v=n[8])*r+(b=n[9])*a+(w=n[10])*h+(_=n[11])*y,t[9]=v*i+b*l+w*p+_*m,t[10]=v*s+b*u+w*f+_*g,t[11]=v*o+b*c+w*d+_*x,t[12]=(v=n[12])*r+(b=n[13])*a+(w=n[14])*h+(_=n[15])*y,t[13]=v*i+b*l+w*p+_*m,t[14]=v*s+b*u+w*f+_*g,t[15]=v*o+b*c+w*d+_*x,t},t.V=function(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n},t.W=$p,t.X=O,t.Y=jp,t.Z=Up,t._=e,t.a=ot,t.a$=function(t){var e=new f(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},t.a0=c,t.a1=h,t.a2=K,t.a3=Jp,t.a4=Gp,t.a5=Xp,t.a6=T,t.a7=Zp,t.a8=tf,t.a9=25,t.aA=function(t){var e=t[0],n=t[1];return Math.sqrt(e*e+n*n)},t.aB=function(t){return t[0]=0,t[1]=0,t},t.aC=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t},t.aD=_p,t.aE=A,t.aF=function(t,e,r,i){const s=e.y-t.y,o=e.x-t.x,a=i.y-r.y,l=i.x-r.x,u=a*o-l*s;if(0===u)return null;const c=(l*(t.y-r.y)-a*(t.x-r.x))/u;return new n(t.x+c*o,t.y+c*s)},t.aG=uy,t.aH=Ha,t.aI=function(t){let e=1/0,n=1/0,r=-1/0,i=-1/0;for(const s of t)e=Math.min(e,s.x),n=Math.min(n,s.y),r=Math.max(r,s.x),i=Math.max(i,s.y);return [e,n,r,i]},t.aJ=Ih,t.aK=F,t.aL=function(t,e,n,r,i=!1){if(!n[0]&&!n[1])return [0,0];const s=i?"map"===r?-t.bearingInRadians:0:"viewport"===r?t.bearingInRadians:0;if(s){const t=Math.sin(s),e=Math.cos(s);n=[n[0]*e-n[1]*t,n[0]*t+n[1]*e];}return [i?n[0]:F(e,n[0],t.zoom),i?n[1]:F(e,n[1],t.zoom)]},t.aN=vp,t.aO=Ly,t.aP=op,t.aQ=t=>"symbol"===t.type,t.aR=ec,t.aS=ao,t.aT=xu,t.aU=Xo,t.aV=ua,t.aW=sa,t.aX=nt,t.aY=Yp,t.aZ=b,t.a_=v,t.aa=Wp,t.ab=t=>{const e=window.document.createElement("video");return e.muted=!0,new Promise((n=>{e.onloadstart=()=>{n(e);};for(const n of t){const t=window.document.createElement("source");yt(n)||(e.crossOrigin="Anonymous"),t.src=n,e.appendChild(t);}}))},t.ac=zt,t.ad=function(){return R++},t.ae=Co,t.af=kp,t.ag=Jd,t.ah=yi,t.ai=Ga,t.aj=nf,t.ak=function(t){const e={};if(t.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,((t,n,r,i)=>{const s=r||i;return e[n]=!s||s.toLowerCase(),""})),e["max-age"]){const t=parseInt(e["max-age"],10);isNaN(t)?delete e["max-age"]:e["max-age"]=t;}return e},t.al=L,t.am=85.051129,t.an=et,t.ao=function(t){return Math.pow(2,t)},t.ap=y,t.aq=qp,t.ar=function(t){return Math.log(t)/Math.LN2},t.as=function(t){var e=t[0],n=t[1];return e*e+n*n},t.at=function(t){if(!t.length)return new Set;const e=Math.max(...t.map((t=>t.canonical.z)));let n=1/0,r=-1/0,i=1/0,s=-1/0;const o=[];for(const a of t){const{x:t,y:l,z:u}=a.canonical,c=Math.pow(2,e-u),h=t*c,p=l*c;o.push({id:a,x:h,y:p}),hr&&(r=h),ps&&(s=p);}const a=new Set;for(const t of o)t.x!==n&&t.x!==r&&t.y!==i&&t.y!==s||a.add(t.id);return a},t.au=function(t,e){const n=Math.abs(2*t.wrap)-+(t.wrap<0),r=Math.abs(2*e.wrap)-+(e.wrap<0);return t.overscaledZ-e.overscaledZ||r-n||e.canonical.y-t.canonical.y||e.canonical.x-t.canonical.x},t.av=class{constructor(t,e){this.max=t,this.onRemove=e,this.reset();}reset(){for(const t in this.data)for(const e of this.data[t])e.timeout&&clearTimeout(e.timeout),this.onRemove(e.value);return this.data={},this.order=[],this}add(t,e,n){const r=t.wrapped().key;void 0===this.data[r]&&(this.data[r]=[]);const i={value:e,timeout:void 0};if(void 0!==n&&(i.timeout=setTimeout((()=>{this.remove(t,i);}),n)),this.data[r].push(i),this.order.push(r),this.order.length>this.max){const t=this._getAndRemoveByKey(this.order[0]);t&&this.onRemove(t);}return this}has(t){return t.wrapped().key in this.data}getAndRemove(t){return this.has(t)?this._getAndRemoveByKey(t.wrapped().key):null}_getAndRemoveByKey(t){const e=this.data[t].shift();return e.timeout&&clearTimeout(e.timeout),0===this.data[t].length&&delete this.data[t],this.order.splice(this.order.indexOf(t),1),e.value}getByKey(t){const e=this.data[t];return e?e[0].value:null}get(t){return this.has(t)?this.data[t.wrapped().key][0].value:null}remove(t,e){if(!this.has(t))return this;const n=t.wrapped().key,r=void 0===e?0:this.data[n].indexOf(e),i=this.data[n][r];return this.data[n].splice(r,1),i.timeout&&clearTimeout(i.timeout),0===this.data[n].length&&delete this.data[n],this.onRemove(i.value),this.order.splice(this.order.indexOf(n),1),this}setMaxSize(t){for(this.max=t;this.order.length>this.max;){const t=this._getAndRemoveByKey(this.order[0]);t&&this.onRemove(t);}return this}filter(t){const e=[];for(const n in this.data)for(const r of this.data[n])t(r.value)||e.push(r);for(const t of e)this.remove(t.value.tileID,t);}},t.aw=function(t,e){let n=0,r=0;if("constant"===t.kind)r=t.layoutSize;else if("source"!==t.kind){const{interpolationType:i,minZoom:s,maxZoom:o}=t,a=i?L(mn.interpolationFactor(i,e,s,o),0,1):0;"camera"===t.kind?r=xn.number(t.minSize,t.maxSize,a):n=a;}return {uSizeT:n,uSize:r}},t.ay=function(t,{uSize:e,uSizeT:n},{lowerSize:r,upperSize:i}){return "source"===t.kind?r/mp:"composite"===t.kind?xn.number(r/mp,i/mp,n):e},t.az=I,t.b=H,t.b$=Ea,t.b0=function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t},t.b1=function(t,e){var n=e[0],r=e[1],i=e[2],s=n*n+r*r+i*i;return s>0&&(s=1/Math.sqrt(s)),t[0]=e[0]*s,t[1]=e[1]*s,t[2]=e[2]*s,t},t.b2=w,t.b3=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]},t.b4=function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t[3]=e[3]*n[3],t},t.b5=g,t.b6=function(t,e,n){const r=e[0]*n[0]+e[1]*n[1]+e[2]*n[2];return 0===r?null:(-(t[0]*n[0]+t[1]*n[1]+t[2]*n[2])-n[3])/r},t.b7=S,t.b8=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t},t.b9=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]},t.bA=k,t.bB=function(t,e,n){var r=n[0],i=n[1],s=n[2],o=n[3],a=e[0],l=e[1],u=e[2],c=i*u-s*l,h=s*a-r*u,p=r*l-i*a;return t[0]=a+o*(c+=c)+i*(p+=p)-s*(h+=h),t[1]=l+o*h+s*c-r*p,t[2]=u+o*p+r*h-i*c,t},t.bC=function(t,e,n){const r=(i=[t[0],t[1],t[2],e[0],e[1],e[2],n[0],n[1],n[2]])[0]*((c=i[8])*(o=i[4])-(a=i[5])*(u=i[7]))+i[1]*(-c*(s=i[3])+a*(l=i[6]))+i[2]*(u*s-o*l);var i,s,o,a,l,u,c;if(0===r)return null;const h=w([],[e[0],e[1],e[2]],[n[0],n[1],n[2]]),p=w([],[n[0],n[1],n[2]],[t[0],t[1],t[2]]),f=w([],[t[0],t[1],t[2]],[e[0],e[1],e[2]]),d=b([],h,-t[3]);return v(d,d,b([],p,-e[3])),v(d,d,b([],f,-n[3])),b(d,d,1/r),d},t.bD=Op,t.bE=function(){return new Float64Array(4)},t.bF=function(t,e,n,r){var i=[],s=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],s[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),s[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),s[2]=i[2],t[0]=s[0]+n[0],t[1]=s[1]+n[1],t[2]=s[2]+n[2],t},t.bG=function(t,e,n,r){var i=[],s=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],s[0]=i[0],s[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),s[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),t[0]=s[0]+n[0],t[1]=s[1]+n[1],t[2]=s[2]+n[2],t},t.bH=function(t,e,n,r){var i=[],s=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],s[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),s[1]=i[1],s[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),t[0]=s[0]+n[0],t[1]=s[1]+n[1],t[2]=s[2]+n[2],t},t.bI=function(t,e,n){var r=Math.sin(n),i=Math.cos(n),s=e[0],o=e[1],a=e[2],l=e[3],u=e[8],c=e[9],h=e[10],p=e[11];return e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=s*i-u*r,t[1]=o*i-c*r,t[2]=a*i-h*r,t[3]=l*i-p*r,t[8]=s*r+u*i,t[9]=o*r+c*i,t[10]=a*r+h*i,t[11]=l*r+p*i,t},t.bJ=function(t,e){const n=D(t,360),r=D(e,360),i=r-n,s=r>n?i-360:i+360;return Math.abs(i)0?o:-o},t.bM=function(t,e){const n=D(t,2*Math.PI),r=D(e,2*Math.PI);return Math.min(Math.abs(n-r),Math.abs(n-r+2*Math.PI),Math.abs(n-r-2*Math.PI))},t.bN=function(){const t={},e=wt.$version;for(const n in wt.$root){const r=wt.$root[n];if(r.required){let i=null;i="version"===n?e:"array"===r.type?[]:{},null!=i&&(t[n]=i);}}return t},t.bO=ft,t.bP=bs,t.bQ=function t(e,n){if(Array.isArray(e)){if(!Array.isArray(n)||e.length!==n.length)return !1;for(let r=0;r"raster"===t.type,t.bV=j,t.bW=function(t,e){if(!t)return [{command:"setStyle",args:[e]}];let n=[];try{if(!At(t.version,e.version))return [{command:"setStyle",args:[e]}];At(t.center,e.center)||n.push({command:"setCenter",args:[e.center]}),At(t.state,e.state)||n.push({command:"setGlobalState",args:[e.state]}),At(t.centerAltitude,e.centerAltitude)||n.push({command:"setCenterAltitude",args:[e.centerAltitude]}),At(t.zoom,e.zoom)||n.push({command:"setZoom",args:[e.zoom]}),At(t.bearing,e.bearing)||n.push({command:"setBearing",args:[e.bearing]}),At(t.pitch,e.pitch)||n.push({command:"setPitch",args:[e.pitch]}),At(t.roll,e.roll)||n.push({command:"setRoll",args:[e.roll]}),At(t.sprite,e.sprite)||n.push({command:"setSprite",args:[e.sprite]}),At(t.glyphs,e.glyphs)||n.push({command:"setGlyphs",args:[e.glyphs]}),At(t.transition,e.transition)||n.push({command:"setTransition",args:[e.transition]}),At(t.light,e.light)||n.push({command:"setLight",args:[e.light]}),At(t.terrain,e.terrain)||n.push({command:"setTerrain",args:[e.terrain]}),At(t.sky,e.sky)||n.push({command:"setSky",args:[e.sky]}),At(t.projection,e.projection)||n.push({command:"setProjection",args:[e.projection]});const r={},i=[];!function(t,e,n,r){let i;for(i in e=e||{},t=t||{})Object.prototype.hasOwnProperty.call(t,i)&&(Object.prototype.hasOwnProperty.call(e,i)||It(i,n,r));for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&(Object.prototype.hasOwnProperty.call(t,i)?At(t[i],e[i])||("geojson"===t[i].type&&"geojson"===e[i].type&&Tt(t,e,i)?Mt(n,{command:"setGeoJSONSourceData",args:[i,e[i].data]}):Et(i,e,n,r)):kt(i,e,n));}(t.sources,e.sources,i,r);const s=[];t.layers&&t.layers.forEach((t=>{"source"in t&&r[t.source]?n.push({command:"removeLayer",args:[t.id]}):s.push(t);})),n=n.concat(i),function(t,e,n){e=e||[];const r=(t=t||[]).map(Pt),i=e.map(Pt),s=t.reduce(Dt,{}),o=e.reduce(Dt,{}),a=r.slice(),l=Object.create(null);let u,c,h,p,f;for(let t=0,e=0;tp?(i=Math.acos(s),o=Math.sin(i),a=Math.sin((1-r)*i)/o,l=Math.sin(r*i)/o):(a=1-r,l=r),t[0]=a*u+l*d,t[1]=a*c+l*y,t[2]=a*h+l*m,t[3]=a*f+l*g,t},t.bm=function(t){const e=new Float64Array(9);var n,r,i,s,o,a,l,u,c,h,p,f,d,y,m,g,x,v;h=(i=(r=t)[0])*(l=i+i),p=(s=r[1])*l,d=(o=r[2])*l,y=o*(u=s+s),g=(a=r[3])*l,x=a*u,v=a*(c=o+o),(n=e)[0]=1-(f=s*u)-(m=o*c),n[3]=p-v,n[6]=d+x,n[1]=p+v,n[4]=1-h-m,n[7]=y-g,n[2]=d-x,n[5]=y+g,n[8]=1-h-f;const b=nt(-Math.asin(L(e[2],-1,1)));let w,_;return Math.hypot(e[5],e[8])<.001?(w=0,_=-nt(Math.atan2(e[3],e[4]))):(w=nt(0===e[5]&&0===e[8]?0:Math.atan2(e[5],e[8])),_=nt(0===e[1]&&0===e[0]?0:Math.atan2(e[1],e[0]))),{roll:w,pitch:b+90,bearing:_}},t.bn=function(t,e){return t.roll==e.roll&&t.pitch==e.pitch&&t.bearing==e.bearing},t.bo=Te,t.bp=ka,t.bq=vu,t.br=bu,t.bs=gu,t.bt=z,t.bu=B,t.bv=Ne,t.bw=function(t,e,n,r,i){return z(r,i,L((t-e)/(n-e),0,1))},t.bx=function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t},t.by=D,t.bz=function(){return new Float64Array(3)},t.c=ut,t.c$=si,t.c0=class extends Ma{constructor(t,e){super(t,e),this.current=Ta;}set(t){if(t[12]!==this.current[12]||t[0]!==this.current[0])return this.current=t,void this.gl.uniformMatrix4fv(this.location,!1,t);for(let e=1;e<16;e++)if(t[e]!==this.current[e]){this.current=t,this.gl.uniformMatrix4fv(this.location,!1,t);break}}},t.c1=Ia,t.c2=class extends Ma{constructor(t,e){super(t,e),this.current=[0,0,0];}set(t){t[0]===this.current[0]&&t[1]===this.current[1]&&t[2]===this.current[2]||(this.current=t,this.gl.uniform3f(this.location,t[0],t[1],t[2]));}},t.c3=class extends Ma{constructor(t,e){super(t,e),this.current=[0,0];}set(t){t[0]===this.current[0]&&t[1]===this.current[1]||(this.current=t,this.gl.uniform2f(this.location,t[0],t[1]));}},t.c4=d,t.c5=function(t,e){var n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=-n,t[4]=r,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},t.c6=function(t,e,n){var r=e[0],i=e[1],s=e[2];return t[0]=r*n[0]+i*n[3]+s*n[6],t[1]=r*n[1]+i*n[4]+s*n[7],t[2]=r*n[2]+i*n[5]+s*n[8],t},t.c7=function(t,e,n,r,i,s,o){var a=1/(e-n),l=1/(r-i),u=1/(s-o);return t[0]=-2*a,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*l,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*u,t[11]=0,t[12]=(e+n)*a,t[13]=(i+r)*l,t[14]=(o+s)*u,t[15]=1,t},t.c8=class extends Ma{constructor(t,e){super(t,e),this.current=new Array;}set(t){if(t!=this.current){this.current=t;const e=new Float32Array(4*t.length);for(let n=0;n25||r<0||r>=1||n<0||n>=1)},t.cE=function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=e[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},t.cF=class extends co{},t.cG=pt,t.cH=function(t,e){ut.REGISTERED_PROTOCOLS[t]=e;},t.cI=function(t){delete ut.REGISTERED_PROTOCOLS[t];},t.cJ=function(t,e){const n={};for(let r=0;rt*Ih));}let x=u?"center":s.get("text-justify").evaluate(o,{},e.canonical);const b="point"===s.get("symbol-placement")?s.get("text-max-width").evaluate(o,{},e.canonical)*Ih:1/0,w=()=>{e.bucket.allowVerticalPlacement&&As(n)&&(m.vertical=sp(g,e.glyphMap,e.glyphPositions,e.imagePositions,p,b,l,h,"left",a,v,t.ax.vertical,!0,d,f));};if(!u&&y){const n=new Set;if("auto"===x)for(let t=0;tQd(t,e,n)),t.layers[r]);}(t,n,e),n.finish()},t.cT=function(t,e,n,r,i,s){let o=cy(t,e,n,i,0);return o=cy(o,e,r,s,1),o},t.cU=class{constructor(t){this.maxEntries=t,this.map=new Map;}get(t){const e=this.map.get(t);return void 0!==e&&(this.map.delete(t),this.map.set(t,e)),e}set(t,e){if(this.map.has(t))this.map.delete(t);else if(this.map.size>=this.maxEntries){const t=this.map.keys().next().value;this.map.delete(t);}this.map.set(t,e);}clear(){this.map.clear();}},t.cV=Nu,t.cW=Rh,t.cX=Wd,t.cY=function(t,n,r,i,s){return e(this,void 0,void 0,(function*(){if(h())try{return yield K(t,n,r,i,s)}catch(t){}return function(t,e,n,r,i){const s=t.width,o=t.height;J&&Q||(J=new OffscreenCanvas(s,o),Q=J.getContext("2d",{willReadFrequently:!0})),J.width=s,J.height=o,Q.drawImage(t,0,0,s,o);const a=Q.getImageData(e,n,r,i);return Q.clearRect(0,0,s,o),a.data}(t,n,r,i,s)}))},t.cZ=$l,t.c_=class{constructor(t,e){this.layers={[Jd]:this},this.name=Jd,this.version=e?e.version:1,this.extent=e?e.extent:4096,this.length=t.length,this.features=t;}feature(t){return new Kd(this.features[t],this.extent)}},t.ca=class extends So{},t.cb=Ah,t.cc=class extends Mo{},t.cd=Fl,t.ce=function(t){return t<=1?1:Math.pow(2,Math.ceil(Math.log(t)/Math.LN2))},t.cf=Tl,t.cg=function(t,e,n){var r=e[0],i=e[1],s=e[2],o=n[3]*r+n[7]*i+n[11]*s+n[15];return t[0]=(n[0]*r+n[4]*i+n[8]*s+n[12])/(o=o||1),t[1]=(n[1]*r+n[5]*i+n[9]*s+n[13])/o,t[2]=(n[2]*r+n[6]*i+n[10]*s+n[14])/o,t},t.ch=class extends ho{},t.ci=class extends Do{},t.cj=function(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]&&t[9]===e[9]&&t[10]===e[10]&&t[11]===e[11]&&t[12]===e[12]&&t[13]===e[13]&&t[14]===e[14]&&t[15]===e[15]},t.ck=function(t,e){var n=t[0],r=t[1],i=t[2],s=t[3],o=t[4],a=t[5],l=t[6],u=t[7],c=t[8],h=t[9],f=t[10],d=t[11],y=t[12],m=t[13],g=t[14],x=t[15],v=e[0],b=e[1],w=e[2],_=e[3],S=e[4],A=e[5],M=e[6],k=e[7],I=e[8],E=e[9],T=e[10],F=e[11],P=e[12],D=e[13],z=e[14],B=e[15];return Math.abs(n-v)<=p*Math.max(1,Math.abs(n),Math.abs(v))&&Math.abs(r-b)<=p*Math.max(1,Math.abs(r),Math.abs(b))&&Math.abs(i-w)<=p*Math.max(1,Math.abs(i),Math.abs(w))&&Math.abs(s-_)<=p*Math.max(1,Math.abs(s),Math.abs(_))&&Math.abs(o-S)<=p*Math.max(1,Math.abs(o),Math.abs(S))&&Math.abs(a-A)<=p*Math.max(1,Math.abs(a),Math.abs(A))&&Math.abs(l-M)<=p*Math.max(1,Math.abs(l),Math.abs(M))&&Math.abs(u-k)<=p*Math.max(1,Math.abs(u),Math.abs(k))&&Math.abs(c-I)<=p*Math.max(1,Math.abs(c),Math.abs(I))&&Math.abs(h-E)<=p*Math.max(1,Math.abs(h),Math.abs(E))&&Math.abs(f-T)<=p*Math.max(1,Math.abs(f),Math.abs(T))&&Math.abs(d-F)<=p*Math.max(1,Math.abs(d),Math.abs(F))&&Math.abs(y-P)<=p*Math.max(1,Math.abs(y),Math.abs(P))&&Math.abs(m-D)<=p*Math.max(1,Math.abs(m),Math.abs(D))&&Math.abs(g-z)<=p*Math.max(1,Math.abs(g),Math.abs(z))&&Math.abs(x-B)<=p*Math.max(1,Math.abs(x),Math.abs(B))},t.cl=function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},t.cm=t=>"circle"===t.type,t.cn=t=>"heatmap"===t.type,t.co=t=>"line"===t.type,t.cp=t=>"fill"===t.type,t.cq=t=>"fill-extrusion"===t.type,t.cr=t=>"hillshade"===t.type,t.cs=t=>"color-relief"===t.type,t.ct=t=>"background"===t.type,t.cu=t=>"custom"===t.type,t.cv=C,t.cw=function(t,e,n){if(e<=0)return t;const r=1/e;return void 0===n||Math.abs(n)<1e-10?Math.round(t*r)/r:(n>0?Math.ceil(t*r-1e-9):Math.floor(t*r+1e-10))/r},t.cx=function(t,e,n){const r=E(e.x-n.x,e.y-n.y),i=E(t.x-n.x,t.y-n.y);var s,o;return nt(Math.atan2(r[0]*i[1]-r[1]*i[0],(s=r)[0]*(o=i)[0]+s[1]*o[1]))},t.cy=V,t.cz=function(t,e){var n;if(!it[e])return !1;const r=null==t?void 0:t.target,i=(null===(n=null==r?void 0:r.ownerDocument)||void 0===n?void 0:n.defaultView)||window;return t instanceof i.MouseEvent||t instanceof i.WheelEvent},t.d=P,t.d0=class{constructor(t,e){const n=(e=this.options=Object.assign({},sh,e)).debug;if(n&&console.time("preprocess data"),e.maxZoom<0||e.maxZoom>24)throw new Error("maxZoom should be in the 0-24 range");if(e.promoteId&&e.generateId)throw new Error("promoteId and generateId cannot be used together.");let r=pc(t,e);n&&(console.timeEnd("preprocess data"),console.log("index: maxZoom: %d, maxPoints: %d",e.indexMaxZoom,e.indexMaxPoints),console.time("generate tiles")),r=Lc(r,e),e.updateable&&(this.source=r),this.initializeIndex(r,e);}initializeIndex(t,e){this.tileIndex=e.cluster?new qc(e.clusterOptions):new rh(e),t.length&&this.tileIndex.initialize(t);}getTile(t,e,n){return e=+e,n=+n,(t=+t)<0||t>24?null:this.tileIndex.getTile(t,e,n)}updateData(t,e){const n=this.options;if(!n.updateable)throw new Error("to update tile geojson `updateable` option must be set to true");let{affected:r,source:i}=function(t,e,n){const r=function(t,e){return t?{removeAll:t.removeAll,remove:new Set(t.remove||[]),add:new Map(t.add?.map((t=>[e.promoteId?t.properties[e.promoteId]:t.id,t]))),update:new Map(t.update?.map((t=>[t.id,t])))}:{remove:new Set,add:new Map,update:new Map}}(e,n);let i=[];if(r.removeAll&&(i=t,t=[]),r.remove.size||r.add.size){const e=[];for(const n of t)(r.remove.has(n.id)||r.add.has(n.id))&&e.push(n);if(e.length){i.push(...e);const n=new Set(e.map((t=>t.id)));t=t.filter((t=>!n.has(t.id)));}if(r.add.size){let e=pc({type:"FeatureCollection",features:Array.from(r.add.values())},n);e=Lc(e,n),i.push(...e),t.push(...e);}}if(r.update.size){const e=new Map,s=[];for(const n of t)r.update.has(n.id)?e.set(n.id,[...e.get(n.id)||[],n]):s.push(n);for(const[t,o]of r.update){const r=e.get(t);if(!r||0===r.length)continue;const a=Nc(r,o,n);i.push(...r,...a),s.push(...a);}t=s;}return {affected:i,source:t}}(this.source,t,n);e&&({affected:r,source:i}=this.filterUpdate(i,r,e)),r.length&&(this.source=i,this.tileIndex.updateIndex(i,r,n));}filterUpdate(t,e,n){const r=new Set;for(const i of t)null!=i.id&&(n(xc(i))||(e.push(i),r.add(i.id)));return {affected:e,source:t=t.filter((t=>!r.has(t.id)))}}getData(){if(!this.options.updateable)throw new Error("to retrieve data the `updateable` option must be set to true");return {type:"FeatureCollection",features:this.source.map((t=>xc(t)))}}updateClusterOptions(t,e){const n=this.options.cluster;this.options.cluster=t,this.options.clusterOptions=e,n!=t?this.initializeIndex(this.source,this.options):this.tileIndex.updateIndex(this.source,[],this.options);}getClusterExpansionZoom(t){return this.tileIndex.getClusterExpansionZoom(t)}getClusterChildren(t){return this.tileIndex.getChildren(t)}getClusterLeaves(t,e,n){return this.tileIndex.getLeaves(t,e,n)}},t.d1=Bs,t.e=$,t.f=yt,t.g=ct,t.h=t=>e(void 0,void 0,void 0,(function*(){if(0===t.byteLength)return createImageBitmap(new ImageData(1,1));const e=new Blob([new Uint8Array(t)],{type:"image/png"});try{return createImageBitmap(e)}catch(t){throw new Error(`Could not load image because of ${P(t).message}. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.`)}})),t.i=Y,t.j=t=>new Promise(((e,n)=>{const r=new Image;r.onload=()=>{e(r),URL.revokeObjectURL(r.src),r.onload=null,window.requestAnimationFrame((()=>r.src=W));},r.onerror=()=>n(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."));const i=new Blob([new Uint8Array(t)],{type:"image/png"});r.src=t.byteLength?URL.createObjectURL(i):W;})),t.k=(t,e)=>dt($(t,{type:"json"}),e),t.l=vt,t.m=dt,t.n=xt,t.o=(t,e)=>dt($(t,{type:"arrayBuffer"}),e),t.p=ep,t.q=function(t){return new Rh(t).readFields(Jh,[])},t.r=function(t){return /[\u02EA\u02EB\u1100-\u11FF\u2E80-\u2FDF\u3000-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFE10-\uFE1F\uFE30-\uFE4F\uFF00-\uFFEF]|\uD81B[\uDFE0-\uDFFF]|[\uD81C-\uD822\uD840-\uD868\uD86A-\uD86D\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD88C][\uDC00-\uDFFF]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD1E\uDD80-\uDDF2]|\uD82B[\uDFF0-\uDFFF]|\uD82C[\uDC00-\uDEFB]|\uD83C[\uDE00-\uDEFF]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEAD\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD88D[\uDC00-\uDC79]/gim.test(String.fromCodePoint(t))},t.s=tt,t.t=kl,t.u=Ks,t.v=ss,t.w=G,t.x=wt,t.y=Rs,t.z=as;})); + +define("worker",["./shared"],(function(e){"use strict";class t{constructor(e,t){this.keyCache={},e&&this.replace(e,t);}replace(e,t){this._layerConfigs={},this._layers={},this.update(e,[],t);}update(t,i,s){for(const i of t){this._layerConfigs[i.id]=i;const t=this._layers[i.id]=e.bT(i,s);t._featureFilter=e.ah(t.filter,s),this.keyCache[i.id]&&delete this.keyCache[i.id];}for(const e of i)delete this.keyCache[e],delete this._layerConfigs[e],delete this._layers[e];this.familiesBySource={};const r=e.cJ(Object.values(this._layerConfigs),this.keyCache);for(const t of r){const i=t.map((e=>this._layers[e.id])),s=i[0];if(s.isHidden())continue;const r=s.source||"";let o=this.familiesBySource[r];o||(o=this.familiesBySource[r]={});const n=s.sourceLayer||e.ag;let a=o[n];a||(a=o[n]=[]),a.push(i);}}}class i{constructor(t){const i={},s=[];for(const e in t){const r=t[e],o=i[e]={};for(const e in r){const t=r[+e];if(!t||0===t.bitmap.width||0===t.bitmap.height)continue;const i={x:0,y:0,w:t.bitmap.width+2,h:t.bitmap.height+2};s.push(i),o[e]={rect:i,metrics:t.metrics};}}const{w:r,h:o}=e.p(s),n=new e.t({width:r||1,height:o||1});for(const s in t){const r=t[s];for(const t in r){const o=r[+t];if(!o||0===o.bitmap.width||0===o.bitmap.height)continue;const a=i[s][t].rect;e.t.copy(o.bitmap,n,{x:0,y:0},{x:a.x+1,y:a.y+1},o.bitmap);}}this.image=n,this.positions=i;}}e.cK("GlyphAtlas",i);class s{constructor(t){this.tileID=new e.a3(t.tileID.overscaledZ,t.tileID.wrap,t.tileID.canonical.z,t.tileID.canonical.x,t.tileID.canonical.y),this.uid=t.uid,this.zoom=t.zoom,this.pixelRatio=t.pixelRatio,this.tileSize=t.tileSize,this.source=t.source,this.overscaling=this.tileID.overscaleFactor(),this.showCollisionBoxes=t.showCollisionBoxes,this.collectResourceTiming=!!t.collectResourceTiming,this.returnDependencies=!!t.returnDependencies,this.promoteId=t.promoteId,this.inFlightDependencies=[];}parse(t,s,o,n,a){return e._(this,void 0,void 0,(function*(){this.status="parsing",this.data=t,this.collisionBoxArray=new e.ae;const l=new e.cL(Object.keys(t.layers).sort()),c=new e.cM(this.tileID,this.promoteId);c.bucketLayerIDs=[];const h={},d={featureIndex:c,iconDependencies:{},patternDependencies:{},glyphDependencies:{},dashDependencies:{},availableImages:o,subdivisionGranularity:a},u=s.familiesBySource[this.source];for(const i in u){const s=t.layers[i];if(!s)continue;1===s.version&&e.w(`Vector tile source "${this.source}" layer "${i}" does not use vector tile spec v2 and therefore may have some rendering errors.`);const n=l.encode(i),a=[];for(let e=0;ee.id))));}}const g=e.bY(d.glyphDependencies,(e=>Object.keys(e).map(Number)));for(const e of this.inFlightDependencies)null==e||e.abort();this.inFlightDependencies=[];let p=Promise.resolve({});if(Object.keys(g).length){const e=new AbortController;this.inFlightDependencies.push(e),p=n.sendAsync({type:"GG",data:{stacks:g,source:this.source,tileID:this.tileID,type:"glyphs"}},e);}const f=Object.keys(d.iconDependencies);let y=Promise.resolve({});if(f.length){const e=new AbortController;this.inFlightDependencies.push(e),y=n.sendAsync({type:"GI",data:{icons:f,source:this.source,tileID:this.tileID,type:"icons"}},e);}const v=Object.keys(d.patternDependencies);let m=Promise.resolve({});if(v.length){const e=new AbortController;this.inFlightDependencies.push(e),m=n.sendAsync({type:"GI",data:{icons:v,source:this.source,tileID:this.tileID,type:"patterns"}},e);}const _=d.dashDependencies;let S=Promise.resolve({});if(Object.keys(_).length){const e=new AbortController;this.inFlightDependencies.push(e),S=n.sendAsync({type:"GDA",data:{dashes:_}},e);}const[w,b,I,T]=yield Promise.all([p,y,m,S]),k=new i(w),x=new e.cN(b,I);for(const t in h){const i=h[t];i instanceof e.af?(r(i.layers,this.zoom,o),e.cO({bucket:i,glyphMap:w,glyphPositions:k.positions,imageMap:b,imagePositions:x.iconPositions,showCollisionBoxes:this.showCollisionBoxes,canonical:this.tileID.canonical,subdivisionGranularity:d.subdivisionGranularity})):i.hasDependencies&&(i instanceof e.cP||i instanceof e.cQ||i instanceof e.cR)&&(r(i.layers,this.zoom,o),i.addFeatures(d,this.tileID.canonical,x.patternPositions,T));}return this.status="done",{buckets:Object.values(h).filter((e=>!e.isEmpty())),featureIndex:c,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:k.image,imageAtlas:x,dashPositions:T,glyphMap:this.returnDependencies?w:null,iconMap:this.returnDependencies?b:null,glyphPositions:this.returnDependencies?k.positions:null}}))}}function r(t,i,s){const r=new e.J(i);for(const e of t)e.recalculate(r,s);}class o{constructor(){this.loading={},this.loaded={},this.parsing={};}startLoading(e,t){this.loading[e]=t;}finishLoading(e){delete this.loading[e];}abort(e){const t=this.loading[e];(null==t?void 0:t.abort)&&(t.abort.abort(),delete this.loading[e]);}setParsing(e,t){this.parsing[e]=t;}consumeParsing(e){const t=this.parsing[e];if(t)return delete this.parsing[e],t}clearParsing(e){delete this.parsing[e];}markLoaded(e,t){this.loaded[e]=t;}getLoaded(e){const t=this.loaded[e];if(t)return t}removeLoaded(e){delete this.loaded[e];}clearLoaded(){this.loaded={};}}class n{constructor(e){this.start=`${e}#start`,this.end=`${e}#end`,this.measure=e,performance.mark(this.start);}finish(){performance.mark(this.end);let e=performance.getEntriesByName(this.measure);return 0===e.length&&(performance.measure(this.measure,this.start,this.end),e=performance.getEntriesByName(this.measure),performance.clearMarks(this.start),performance.clearMarks(this.end),performance.clearMeasures(this.measure)),e}}class a{constructor(e,t,i,s,r){this.type=e,this.properties=i||{},this.extent=r,this.pointsArray=t,this.id=s;}loadGeometry(){return this.pointsArray.map((t=>t.map((t=>new e.P(t.x,t.y)))))}}class l{constructor(e,t,i){this.version=2,this._myFeatures=e,this.name=t,this.length=e.length,this.extent=i;}feature(e){return this._myFeatures[e]}}class c{constructor(){this.layers={};}addLayer(e){this.layers[e.name]=e;}}function h(t){let i=e.cS(t);return 0===i.byteOffset&&i.byteLength===i.buffer.byteLength||(i=new Uint8Array(i)),{vectorTile:t,rawData:i.buffer}}function d(t,i,s){const{extent:r}=t,o=Math.pow(2,s.z-i.z),n=(s.x-i.x*o)*r,c=(s.y-i.y*o)*r,h=[];for(let i=0;i0&&u.addLayer(r);}const p=h(u);return this.overzoomedTileResultCache.set(a,p),p}reloadTile(t){return e._(this,void 0,void 0,(function*(){const e=t.uid,i=this.tileState.getLoaded(e);if(!i)throw new Error("Should not be trying to reload a tile that was never loaded or has been removed");if(i.showCollisionBoxes=t.showCollisionBoxes,"parsing"===i.status){const s=this.tileState.consumeParsing(e);return yield this._parseWorkerTile(i,t,s)}if("done"===i.status&&i.vectorTile)return yield this._parseWorkerTile(i,t)}))}abortTile(t){return e._(this,void 0,void 0,(function*(){this.tileState.abort(t.uid);}))}removeTile(t){return e._(this,void 0,void 0,(function*(){this.tileState.removeLoaded(t.uid);}))}}class g{constructor(){this.loaded={};}loadTile(t){return e._(this,void 0,void 0,(function*(){const{uid:i,encoding:s,rawImageData:r,redFactor:o,greenFactor:n,blueFactor:a,baseShift:l}=t,c=r.width+2,h=r.height+2,d=e.b(r)?new e.R({width:c,height:h},yield e.cY(r,-1,-1,c,h)):r,u=new e.cZ(i,d,s,o,n,a,l);return this.loaded||(this.loaded={}),this.loaded[i]=u,u}))}removeTile(e){const t=this.loaded,i=e.uid;(null==t?void 0:t[i])&&delete t[i];}}class p{constructor(e,t,i,s=f){this.actor=e,this.layerIndex=t,this.availableImages=i,this.tileState=new o,this._createGeoJSONIndex=s;}loadVectorTile(t){if(!this._geoJSONIndex)throw new Error("Unable to parse the data into a cluster or geojson");const{z:i,x:s,y:r}=t.tileID.canonical,o=this._geoJSONIndex.getTile(i,s,r);return o?h(new e.c_(o.features,{version:2,extent:e.a6})):null}loadTile(t){return e._(this,void 0,void 0,(function*(){const{uid:e}=t,i=new s(t);i.abort=new AbortController;try{const s=this.loadVectorTile(t);if(!s)return null;const{vectorTile:r,rawData:o}=s;i.vectorTile=r,this.tileState.markLoaded(e,i);const n={rawData:o};this.tileState.setParsing(e,n);try{return yield this._parseWorkerTile(i,t,n)}finally{this.tileState.clearParsing(e);}}catch(t){throw i.status="done",this.tileState.markLoaded(e,i),t}}))}_reloadLoadedTile(t){return e._(this,void 0,void 0,(function*(){const e=t.uid,i=this.tileState.getLoaded(e);if(!i)throw new Error("Should not be trying to reload a tile that was never loaded or has been removed");if(i.showCollisionBoxes=t.showCollisionBoxes,"parsing"===i.status){const s=this.tileState.consumeParsing(e);return yield this._parseWorkerTile(i,t,s)}if("done"===i.status&&i.vectorTile)return yield this._parseWorkerTile(i,t)}))}_parseWorkerTile(t,i,s){return e._(this,void 0,void 0,(function*(){let r=yield t.parse(t.vectorTile,this.layerIndex,this.availableImages,this.actor,i.subdivisionGranularity);if(s){const{rawData:t}=s;r=e.e({rawTileData:t.slice(0),encoding:"mvt"},r);}return r}))}abortTile(t){return e._(this,void 0,void 0,(function*(){this.tileState.abort(t.uid);}))}removeTile(t){return e._(this,void 0,void 0,(function*(){this.tileState.removeLoaded(t.uid);}))}loadData(t){return e._(this,void 0,void 0,(function*(){var i;null===(i=this._pendingRequest)||void 0===i||i.abort();const s=this._startRequestTiming(t);this._pendingRequest=new AbortController;try{yield this.loadAndProcessGeoJSON(t,this._pendingRequest),delete this._pendingRequest,this.tileState.clearLoaded();const e={};return t.request&&(e.data=t.data),this._finishRequestTiming(s,t,e),e}catch(t){if(delete this._pendingRequest,!e.$(t))throw t;return {abandoned:!0}}}))}_startRequestTiming(e){var t;if(null===(t=e.request)||void 0===t?void 0:t.collectResourceTiming)return new n(e.request.url)}_finishRequestTiming(e,t,i){const s=null==e?void 0:e.finish();s&&(i.resourceTiming={[t.source]:JSON.parse(JSON.stringify(s))});}reloadTile(e){return this.tileState.getLoaded(e.uid)?this._reloadLoadedTile(e):this.loadTile(e)}loadAndProcessGeoJSON(t,i){return e._(this,void 0,void 0,(function*(){var s;if(t.request&&(t.data=(yield e.k(t.request,i)).data),t.data)return t.data=this._filterGeoJSON(t.data,t.filter),void(this._geoJSONIndex=this._createGeoJSONIndex(t.data,t));if(t.dataDiff)return null!==(s=this._geoJSONIndex)&&void 0!==s||(this._geoJSONIndex=this._createGeoJSONIndex({type:"FeatureCollection",features:[]},t)),void this._geoJSONIndex.updateData(t.dataDiff,this._getFilterPredicate(t.filter));if(t.updateCluster&&this._geoJSONIndex.updateClusterOptions(t.geojsonVtOptions.cluster,y(t)),null==this._geoJSONIndex)throw new Error(`Input data given to '${t.source}' is not a valid GeoJSON object.`)}))}_filterGeoJSON(e,t){if("FeatureCollection"!==e.type)return e;const i=this._getFilterPredicate(t);return i?{type:"FeatureCollection",features:e.features.filter((e=>i(e)))}:e}_getFilterPredicate(t){if("boolean"!=typeof t&&!(null==t?void 0:t.length))return;const i=e.c$(t,{type:"boolean","property-type":"data-driven",overridable:!1,transition:!1});if("error"===i.result)throw new Error(i.value.map((e=>`${e.key}: ${e.message}`)).join(", "));return e=>i.value.evaluate({zoom:0},e)}removeSource(t){return e._(this,void 0,void 0,(function*(){var e;null===(e=this._pendingRequest)||void 0===e||e.abort();}))}getClusterExpansionZoom(e){return this._geoJSONIndex.getClusterExpansionZoom(e.clusterId)}getClusterChildren(e){return this._geoJSONIndex.getClusterChildren(e.clusterId)}getClusterLeaves(e){return this._geoJSONIndex.getClusterLeaves(e.clusterId,e.limit,e.offset)}}function f(t,i){const s=e.e(i.geojsonVtOptions||{},{updateable:!0,clusterOptions:y(i)});return new e.d0(t,s)}function y({geojsonVtOptions:t,clusterProperties:i}){if(!i||!t.clusterOptions)return t.clusterOptions;const s={},r={},o={accumulated:null,zoom:0},n={properties:null},a=Object.keys(i);for(const t of a){const[o,n]=i[t],a=e.c$(n),l=e.c$("string"==typeof o?[o,["accumulated"],["get",t]]:o);s[t]=a.value,r[t]=l.value;}return t.clusterOptions.map=e=>{n.properties=e;const t={};for(const e of a)t[e]=s[e].evaluate(o,n);return t},t.clusterOptions.reduce=(e,t)=>{n.properties=t;for(const t of a)o.accumulated=e[t],e[t]=r[t].evaluate(o,n);},t.clusterOptions}class v{constructor(t){this.self=t,this.actor=new e.N(t),this.layerIndexes={},this.availableImages={},this.workerSources={},this.demWorkerSources={},this.externalWorkerSourceTypes={},this.globalStates=new Map,this.self.registerWorkerSource=(e,t)=>{if(this.externalWorkerSourceTypes[e])throw new Error(`Worker source with name "${e}" already registered.`);this.externalWorkerSourceTypes[e]=t;},this.self.addProtocol=e.cH,this.self.removeProtocol=e.cI,this.self.registerRTLTextPlugin=t=>{e.d1.setMethods(t);},this.self.makeRequest=e.m,this.actor.registerMessageHandler("LDT",((e,t)=>this._getDEMWorkerSource(e,t.source).loadTile(t))),this.actor.registerMessageHandler("RDT",((t,i)=>e._(this,void 0,void 0,(function*(){this._getDEMWorkerSource(t,i.source).removeTile(i);})))),this.actor.registerMessageHandler("GCEZ",((t,i)=>e._(this,void 0,void 0,(function*(){return this._getWorkerSource(t,i.type,i.source).getClusterExpansionZoom(i)})))),this.actor.registerMessageHandler("GCC",((t,i)=>e._(this,void 0,void 0,(function*(){return this._getWorkerSource(t,i.type,i.source).getClusterChildren(i)})))),this.actor.registerMessageHandler("GCL",((t,i)=>e._(this,void 0,void 0,(function*(){return this._getWorkerSource(t,i.type,i.source).getClusterLeaves(i)})))),this.actor.registerMessageHandler("LD",((e,t)=>this._getWorkerSource(e,t.type,t.source).loadData(t))),this.actor.registerMessageHandler("LT",((e,t)=>this._getWorkerSource(e,t.type,t.source).loadTile(t))),this.actor.registerMessageHandler("RT",((e,t)=>this._getWorkerSource(e,t.type,t.source).reloadTile(t))),this.actor.registerMessageHandler("AT",((e,t)=>this._getWorkerSource(e,t.type,t.source).abortTile(t))),this.actor.registerMessageHandler("RMT",((e,t)=>this._getWorkerSource(e,t.type,t.source).removeTile(t))),this.actor.registerMessageHandler("RS",((t,i)=>e._(this,void 0,void 0,(function*(){var e,s;if(!(null===(s=null===(e=this.workerSources[t])||void 0===e?void 0:e[i.type])||void 0===s?void 0:s[i.source]))return;const r=this.workerSources[t][i.type][i.source];delete this.workerSources[t][i.type][i.source],void 0!==r.removeSource&&r.removeSource(i);})))),this.actor.registerMessageHandler("RM",(t=>e._(this,void 0,void 0,(function*(){delete this.layerIndexes[t],delete this.availableImages[t],delete this.workerSources[t],delete this.demWorkerSources[t],this.globalStates.delete(t);})))),this.actor.registerMessageHandler("SR",((t,i)=>e._(this,void 0,void 0,(function*(){this.referrer=i;})))),this.actor.registerMessageHandler("SRPS",((e,t)=>this._syncRTLPluginState(e,t))),this.actor.registerMessageHandler("IS",((t,i)=>e._(this,void 0,void 0,(function*(){this.self.importScripts(i);})))),this.actor.registerMessageHandler("SI",((e,t)=>this._setImages(e,t))),this.actor.registerMessageHandler("UL",((t,i)=>e._(this,void 0,void 0,(function*(){this._getLayerIndex(t).update(i.layers,i.removedIds,this._getGlobalState(t));})))),this.actor.registerMessageHandler("UGS",((t,i)=>e._(this,void 0,void 0,(function*(){const e=this._getGlobalState(t);for(const t in i)e[t]=i[t];})))),this.actor.registerMessageHandler("SL",((t,i)=>e._(this,void 0,void 0,(function*(){this._getLayerIndex(t).replace(i,this._getGlobalState(t));}))));}_getGlobalState(e){let t=this.globalStates.get(e);return t||(t={},this.globalStates.set(e,t)),t}_setImages(t,i){return e._(this,void 0,void 0,(function*(){this.availableImages[t]=i;for(const e in this.workerSources[t]){const s=this.workerSources[t][e];for(const e in s)s[e].availableImages=i;}}))}_syncRTLPluginState(t,i){return e._(this,void 0,void 0,(function*(){return yield e.d1.syncState(i,this.self.importScripts)}))}_getAvailableImages(e){let t=this.availableImages[e];return t||(t=[]),t}_getLayerIndex(e){let i=this.layerIndexes[e];return i||(i=this.layerIndexes[e]=new t),i}_getWorkerSource(e,t,i){var s,r;if((s=this.workerSources)[e]||(s[e]={}),(r=this.workerSources[e])[t]||(r[t]={}),!this.workerSources[e][t][i]){const s={sendAsync:(t,i)=>(t.targetMapId=e,this.actor.sendAsync(t,i))};switch(t){case "vector":this.workerSources[e][t][i]=new u(s,this._getLayerIndex(e),this._getAvailableImages(e));break;case "geojson":this.workerSources[e][t][i]=new p(s,this._getLayerIndex(e),this._getAvailableImages(e));break;default:this.workerSources[e][t][i]=new this.externalWorkerSourceTypes[t](s,this._getLayerIndex(e),this._getAvailableImages(e));}}return this.workerSources[e][t][i]}_getDEMWorkerSource(e,t){var i,s;return (i=this.demWorkerSources)[e]||(i[e]={}),(s=this.demWorkerSources[e])[t]||(s[t]=new g),this.demWorkerSources[e][t]}}return e.i(self)&&(self.worker=new v(self)),v})); + +define("index",["exports","./shared"],(function(e,t){"use strict";var i="5.24.0";function o(){var e=new t.A(4);return t.A!=Float32Array&&(e[1]=0,e[2]=0),e[0]=1,e[3]=1,e}let a,r,s;const n={frame(e,i,o,a){const r=a||window,s=r.requestAnimationFrame((e=>{n(),i(e);})),{unsubscribe:n}=t.s(e.signal,"abort",(()=>{n(),r.cancelAnimationFrame(s),o(new t.a(e.signal.reason));}),!1);},frameAsync(e,t){return new Promise(((i,o)=>{this.frame(e,i,o,t);}))},getImageData(e,t=0){return this.getImageCanvasContext(e).getImageData(-t,-t,e.width+2*t,e.height+2*t)},getImageCanvasContext(e){const t=window.document.createElement("canvas"),i=t.getContext("2d",{willReadFrequently:!0});if(!i)throw new Error("failed to create canvas 2d context");return t.width=e.width,t.height=e.height,i.drawImage(e,0,0,e.width,e.height),i},resolveURL:e=>(a||(a=document.createElement("a")),a.href=e,a.href),hardwareConcurrency:"undefined"!=typeof navigator&&navigator.hardwareConcurrency||4,get prefersReducedMotion(){return void 0!==s?s:!!matchMedia&&(null!=r||(r=matchMedia("(prefers-reduced-motion: reduce)")),r.matches)},set prefersReducedMotion(e){s=e;}},l=new class{constructor(){this._frozenAt=null;}getCurrentTime(){return null!==this._frozenAt?this._frozenAt:performance.now()}setNow(e){this._frozenAt=e;}restoreNow(){this._frozenAt=null;}isFrozen(){return null!==this._frozenAt}};function c(){return l.getCurrentTime()}var h,u;class d{static create(e,t,i){const o=window.document.createElement(e);return void 0!==t&&(o.className=t),i&&i.appendChild(o),o}static createNS(e,t){return window.document.createElementNS(e,t)}static disableDrag(){d.docStyle&&d.selectProp&&(d.userSelect=d.docStyle[d.selectProp],d.docStyle[d.selectProp]="none");}static enableDrag(){d.docStyle&&d.selectProp&&(d.docStyle[d.selectProp]=d.userSelect);}static suppressClickInternal(e){e.preventDefault(),e.stopPropagation(),window.removeEventListener("click",d.suppressClickInternal,!0);}static suppressClick(){window.addEventListener("click",d.suppressClickInternal,!0),window.setTimeout((()=>{window.removeEventListener("click",d.suppressClickInternal,!0);}),0);}static getScale(e){const t=e.getBoundingClientRect();return {x:t.width/e.offsetWidth||1,y:t.height/e.offsetHeight||1,boundingClientRect:t}}static getPoint(e,i,o){const a=i.boundingClientRect;return new t.P((o.clientX-a.left)/i.x-e.clientLeft,(o.clientY-a.top)/i.y-e.clientTop)}static mousePos(e,t){const i=d.getScale(e);return d.getPoint(e,i,t)}static touchPos(e,t){const i=[],o=d.getScale(e);for(const a of t)i.push(d.getPoint(e,o,a));return i}static sanitize(e){const t=(new DOMParser).parseFromString(e,"text/html").body||document.createElement("body"),i=t.querySelectorAll("script");for(const e of i)e.remove();return d.clean(t),t.innerHTML}static isPossiblyDangerous(e,t){const i=t.replace(/\s+/g,"").toLowerCase();return !(!["src","href","xlink:href"].includes(e)||!i.includes("javascript:")&&!i.includes("data:"))||!!e.startsWith("on")||void 0}static clean(e){const t=e.children;for(const e of t)d.removeAttributes(e),d.clean(e);}static removeAttributes(e){for(const{name:t,value:i}of e.attributes)d.isPossiblyDangerous(t,i)&&e.removeAttribute(t);}}d.docStyle="undefined"!=typeof window&&(null===(h=window.document)||void 0===h?void 0:h.documentElement.style),d.selectProp=!d.docStyle||"userSelect"in d.docStyle?"userSelect":"webkitUserSelect",function(e){let i,o,a,r;e.resetRequestQueue=()=>{i=[],o=0,a=0,r={};},e.addThrottleControl=e=>{const t=a++;return r[t]=e,t},e.removeThrottleControl=e=>{delete r[e],n();},e.getImage=(e,o,a=!0)=>new Promise(((r,s)=>{e.headers||(e.headers={}),e.headers.accept="image/webp,*/*",t.e(e,{type:"image"}),i.push({abortController:o,requestParameters:e,supportImageRefresh:a,state:"queued",onError:e=>{s(e);},onSuccess:e=>{r(e);}}),n();}));const s=e=>t._(this,void 0,void 0,(function*(){e.state="running";const{requestParameters:i,supportImageRefresh:a,onError:r,onSuccess:s,abortController:c}=e,h=!1===a&&!t.i(self)&&!t.g(i.url)&&(!i.headers||Object.keys(i.headers).reduce(((e,t)=>e&&"accept"===t),!0));o++;const u=h?l(i,c):t.m(i,c);try{const i=yield u;delete e.abortController,e.state="completed",i.data instanceof HTMLImageElement||t.b(i.data)?s(i):i.data&&s({data:yield(d=i.data,"function"==typeof createImageBitmap?t.h(d):t.j(d)),cacheControl:i.cacheControl,expires:i.expires});}catch(i){delete e.abortController,r(t.d(i));}finally{o--,n();}var d;})),n=()=>{const e=(()=>{for(const e of Object.keys(r))if(r[e]())return !0;return !1})()?t.c.MAX_PARALLEL_IMAGE_REQUESTS_PER_FRAME:t.c.MAX_PARALLEL_IMAGE_REQUESTS;for(let t=o;t0;t++){const e=i.shift();e.abortController.signal.aborted?t--:s(e);}},l=(e,i)=>new Promise(((o,a)=>{const r=new Image,s=e.url,n=e.credentials;n&&"include"===n?r.crossOrigin="use-credentials":(n&&"same-origin"===n||!t.f(s))&&(r.crossOrigin="anonymous"),i.signal.addEventListener("abort",(()=>{r.src="",a(new t.a(i.signal.reason));})),r.fetchPriority="high",r.onload=()=>{r.onerror=r.onload=null,o({data:r});},r.onerror=()=>{r.onerror=r.onload=null,i.signal.aborted||a(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."));},r.src=s;}));}(u||(u={})),u.resetRequestQueue();class _{constructor(e){this._transformRequestFn=null!=e?e:null;}transformRequest(e,t){return this._transformRequestFn&&this._transformRequestFn(e,t)||{url:e}}setTransformRequest(e){this._transformRequestFn=e;}}function p(e){const t=[];if("string"==typeof e)t.push({id:"default",url:e});else if(e&&e.length>0){const i=[];for(const{id:o,url:a}of e){const e=`${o}${a}`;i.includes(e)||(i.push(e),t.push({id:o,url:a}));}}return t}function m(e,t,i){try{const o=new URL(e);return o.pathname+=`${t}${i}`,o.toString()}catch(t){throw new Error(`Invalid sprite URL "${e}", must be absolute. Modify style specification directly or use TransformStyleFunction to correct the issue dynamically`)}}function f(e){const{userImage:t}=e;return !(!(null==t?void 0:t.render)||!t.render()||(e.data.replace(new Uint8Array(t.data.buffer)),0))}class g extends t.E{constructor(){super(),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new t.R({width:1,height:1}),this.dirty=!0;}destroy(){this.atlasTexture&&(this.atlasTexture.destroy(),this.atlasTexture=null);for(const e of Object.keys(this.images))this.removeImage(e);this.patterns={},this.atlasImage=new t.R({width:1,height:1}),this.dirty=!0;}isLoaded(){return this.loaded}setLoaded(e){if(this.loaded!==e&&(this.loaded=e,e)){for(const{ids:e,promiseResolve:t}of this.requestors)t(this._getImagesForIds(e));this.requestors=[];}}getImage(e){const i=this.images[e];if(i&&!i.data&&i.spriteData){const e=i.spriteData;i.data=new t.R({width:e.width,height:e.height},e.context.getImageData(e.x,e.y,e.width,e.height).data),i.spriteData=null;}return i}addImage(e,t){if(this.images[e])throw new Error(`Image id ${e} already exist, use updateImage instead`);this._validate(e,t)&&(this.images[e]=t);}_validate(e,i){let o=!0;const a=i.data||i.spriteData;return this._validateStretch(i.stretchX,null==a?void 0:a.width)||(this.fire(new t.l(new Error(`Image "${e}" has invalid "stretchX" value`))),o=!1),this._validateStretch(i.stretchY,null==a?void 0:a.height)||(this.fire(new t.l(new Error(`Image "${e}" has invalid "stretchY" value`))),o=!1),this._validateContent(i.content,i)||(this.fire(new t.l(new Error(`Image "${e}" has invalid "content" value`))),o=!1),o}_validateStretch(e,t){if(!e)return !0;let i=0;for(const o of e){if(o[0]=e[1]))}updateImage(e,t,i=!0){const o=this.getImage(e);if(i&&(o.data.width!==t.data.width||o.data.height!==t.data.height))throw new Error(`size mismatch between old image (${o.data.width}x${o.data.height}) and new image (${t.data.width}x${t.data.height}).`);t.version=o.version+1,this.images[e]=t,this.updatedImages[e]=!0;}removeImage(e){var t;const i=this.images[e];delete this.images[e],delete this.patterns[e],(null===(t=i.userImage)||void 0===t?void 0:t.onRemove)&&i.userImage.onRemove();}listImages(){return Object.keys(this.images)}getImages(e){return new Promise(((t,i)=>{let o=!0;if(!this.isLoaded())for(const t of e)this.images[t]||(o=!1);this.isLoaded()||o?t(this._getImagesForIds(e)):this.requestors.push({ids:e,promiseResolve:t});}))}_getImagesForIds(e){var i;const o={};for(const a of e){let e=this.getImage(a);e||(this.fire(new t.n("styleimagemissing",{id:a})),e=this.getImage(a)),e?o[a]={data:e.data.clone(),pixelRatio:e.pixelRatio,sdf:e.sdf,version:e.version,stretchX:e.stretchX,stretchY:e.stretchY,content:e.content,textFitWidth:e.textFitWidth,textFitHeight:e.textFitHeight,hasRenderCallback:Boolean(null===(i=e.userImage)||void 0===i?void 0:i.render)}:t.w(`Image "${a}" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.`);}return o}getPixelSize(){const{width:e,height:t}=this.atlasImage;return {width:e,height:t}}getPattern(e){const i=this.patterns[e],o=this.getImage(e);if(!o)return null;if(i&&i.position.version===o.version)return i.position;if(i)i.position.version=o.version;else {const i={w:o.data.width+2,h:o.data.height+2,x:0,y:0},a=new t.I(i,o);this.patterns[e]={bin:i,position:a};}return this._updatePatternAtlas(),this.patterns[e].position}bind(e){const i=e.gl;this.atlasTexture?this.dirty&&(this.atlasTexture.update(this.atlasImage),this.dirty=!1):this.atlasTexture=new t.T(e,this.atlasImage,i.RGBA),this.atlasTexture.bind(i.LINEAR,i.CLAMP_TO_EDGE);}_updatePatternAtlas(){const e=[];for(const t in this.patterns)e.push(this.patterns[t].bin);const{w:i,h:o}=t.p(e),a=this.atlasImage;a.resize({width:i||1,height:o||1});for(const e in this.patterns){const{bin:i}=this.patterns[e],o=i.x+1,r=i.y+1,s=this.getImage(e).data,n=s.width,l=s.height;t.R.copy(s,a,{x:0,y:0},{x:o,y:r},{width:n,height:l}),t.R.copy(s,a,{x:0,y:l-1},{x:o,y:r-1},{width:n,height:1}),t.R.copy(s,a,{x:0,y:0},{x:o,y:r+l},{width:n,height:1}),t.R.copy(s,a,{x:n-1,y:0},{x:o-1,y:r},{width:1,height:l}),t.R.copy(s,a,{x:0,y:0},{x:o+n,y:r},{width:1,height:l});}this.dirty=!0;}beginFrame(){this.callbackDispatchedThisFrame={};}dispatchRenderCallbacks(e){for(const i of e){if(this.callbackDispatchedThisFrame[i])continue;this.callbackDispatchedThisFrame[i]=!0;const e=this.getImage(i);e||t.w(`Image with ID: "${i}" was not found`),f(e)&&this.updateImage(i,e);}}cloneImages(){const e={};for(const t in this.images){const i=this.images[t];e[t]=Object.assign(Object.assign({},i),{data:i.data?i.data.clone():null});}return e}}const v=1e20,x=new Float64Array(256);for(let e=0;e<256;e++){const t=.5-Math.pow(e/255,1/2.2);x[e]=t*Math.abs(t);}function b(e,t,i,o,a,r,s,n,l){for(let c=t;c-1);l++,r[l]=n,s[l]=c,s[l+1]=v;}for(let n=0,l=0;n/[-\w]+/.test(e)?e:`'${CSS.escape(e)}'`)).join(",");return new T.TinySDF({fontSize:48,buffer:6,radius:16,cutoff:.25,fontFamily:i,fontWeight:this._fontWeight(t[0]),fontStyle:this._fontStyle(t[0]),lang:this.lang})}_fontStyle(e){return /italic/i.test(e)?"italic":/oblique/i.test(e)?"oblique":"normal"}_fontWeight(e){const t={thin:100,hairline:100,"extra light":200,"ultra light":200,light:300,normal:400,regular:400,medium:500,semibold:600,demibold:600,bold:700,"extra bold":800,"ultra bold":800,black:900,heavy:900,"extra black":950,"ultra black":950};let i;for(const[o,a]of Object.entries(t))new RegExp(`\\b${o}\\b`,"i").test(e)&&(i=`${a}`);return i}destroy(){for(const e in this.entries){const t=this.entries[e];t.tinySDF=null,t.ideographTinySDF=null,t.glyphs={},t.requests={},t.ranges={};}this.entries={};}}T.loadGlyphRange=function(e,i,o,a){return t._(this,void 0,void 0,(function*(){const r=256*i,s=r+255,n=yield a.transformRequest(o.replace("{fontstack}",e).replace("{range}",`${r}-${s}`),"Glyphs"),l=yield t.o(n,new AbortController);if(!(null==l?void 0:l.data))throw new Error(`Could not load glyph range. range: ${i}, ${r}-${s}`);const c={};for(const e of t.q(l.data))c[e.id]=e;return c}))},T.TinySDF=class{constructor({fontSize:e=24,buffer:t=3,radius:i=8,cutoff:o=.25,fontFamily:a="sans-serif",fontWeight:r="normal",fontStyle:s="normal",lang:n=null}={}){this.buffer=t,this.radius=i,this.cutoff=o,this.lang=n;const l=this.size=e+4*t,c=this._createCanvas(l),h=this.ctx=c.getContext("2d",{willReadFrequently:!0});h.font=`${s} ${r} ${e}px ${a}`,h.textBaseline="alphabetic",h.textAlign="left",h.fillStyle="black",this.gridOuter=new Float64Array(l*l),this.gridInner=new Float64Array(l*l),this.f=new Float64Array(l),this.z=new Float64Array(l+1),this.v=new Uint16Array(l);}_createCanvas(e){if("undefined"!=typeof OffscreenCanvas)return new OffscreenCanvas(e,e);const t=document.createElement("canvas");return t.width=t.height=e,t}draw(e){const{width:t,actualBoundingBoxAscent:i,actualBoundingBoxDescent:o,actualBoundingBoxLeft:a,actualBoundingBoxRight:r}=this.ctx.measureText(e),s=Math.ceil(i),n=Math.floor(a),l=Math.max(0,Math.min(this.size-this.buffer,Math.ceil(r)-n)),c=Math.max(0,Math.min(this.size-this.buffer,s+Math.ceil(o))),h=l+2*this.buffer,u=c+2*this.buffer,d=Math.max(h*u,0),_=new Uint8ClampedArray(d),p={data:_,width:h,height:u,glyphWidth:l,glyphHeight:c,glyphTop:s,glyphLeft:n,glyphAdvance:t};if(0===l||0===c)return p;const{ctx:m,buffer:f,gridInner:g,gridOuter:y}=this;this.lang&&(m.lang=this.lang),m.clearRect(f,f,l,c),m.fillText(e,f-n,f+s);const w=m.getImageData(f,f,l,c);y.fill(v,0,d),g.fill(0,0,d);let T=3;for(let e=0;e1&&(s=e[++r]);const l=Math.abs(n-s.left),c=Math.abs(n-s.right),h=Math.min(l,c);let u;const d=t/i*(o+1);if(s.isDash){const e=o-Math.abs(d);u=Math.sqrt(h*h+e*e);}else u=o-Math.sqrt(h*h+d*d);this.data[a+n]=Math.max(0,Math.min(255,u+128));}}}addRegularDash(e){for(let t=e.length-1;t>=0;--t){const i=e[t],o=e[t+1];i.zeroLength?e.splice(t,1):o&&o.isDash===i.isDash&&(o.left=i.left,e.splice(t,1));}const t=e[0],i=e[e.length-1];t.isDash===i.isDash&&(t.left=i.left-this.width,i.right=t.right+this.width);const o=this.width*this.nextRow;let a=0,r=e[a];for(let t=0;t1&&(r=e[++a]);const i=Math.abs(t-r.left),s=Math.abs(t-r.right),n=Math.min(i,s);this.data[o+t]=Math.max(0,Math.min(255,(r.isDash?n:-n)+128));}}addDash(e,i){const o=i?7:0,a=2*o+1;if(this.nextRow+a>this.height)return t.w("LineAtlas out of space"),null;let r=0;for(const t of e)r+=t;if(0!==r){const t=this.width/r,a=this.getDashRanges(e,this.width,t);i?this.addRoundDash(a,t,o):this.addRegularDash(a);}const s={y:this.nextRow+o,height:2*o,width:r};return this.nextRow+=a,this.dirty=!0,s}bind(e){const t=e.gl;this.texture?(t.bindTexture(t.TEXTURE_2D,this.texture),this.dirty&&(this.dirty=!1,t.texSubImage2D(t.TEXTURE_2D,0,0,0,this.width,this.height,t.ALPHA,t.UNSIGNED_BYTE,this.data))):(this.texture=t.createTexture(),t.bindTexture(t.TEXTURE_2D,this.texture),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.REPEAT),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.REPEAT),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.LINEAR),t.texImage2D(t.TEXTURE_2D,0,t.ALPHA,this.width,this.height,0,t.ALPHA,t.UNSIGNED_BYTE,this.data));}}const z="maplibre_preloaded_worker_pool";class R{constructor(){this.active={};}acquire(e){if(!this.workers)for(this.workers=[];this.workers.lengtht.m(i,o)))),L}function O(e,i){const o=t.O();return t.Q(o,o,[1,1,0]),t.S(o,o,[.5*e.width,.5*e.height,1]),e.calculatePosMatrix?t.U(o,o,e.calculatePosMatrix(i.toUnwrapped())):o}function j(e,t,i,o,a,r,s){var n;const l=function(e,t,i){if(e)for(const o of e){const e=t[o];if((null==e?void 0:e.source)===i&&"fill-extrusion"===e.type)return !0}else for(const e in t){const o=t[e];if(o.source===i&&"fill-extrusion"===o.type)return !0}return !1}(null!==(n=null==a?void 0:a.layers)&&void 0!==n?n:null,t,e.id),c=r.maxPitchScaleFactor(),h=e.tilesIn(o,c,l);h.sort(N);const u=[];for(const o of h)u.push({wrappedTileID:o.tileID.wrapped().key,queryResults:o.tile.queryRenderedFeatures(t,i,e.getState(),o.queryGeometry,o.cameraQueryGeometry,o.scale,a,r,c,O(r,o.tileID),s?(e,t)=>s(o.tileID,e,t):void 0)});return function(e,t){for(const i in e)for(const o of e[i])Z(o,t);return e}(function(e){const t={},i={};for(const{queryResults:o,wrappedTileID:a}of e){i[a]||(i[a]={});const e=i[a];for(const i in o){const a=o[i];e[i]||(e[i]={});const r=e[i];t[i]||(t[i]=[]);for(const e of a)r[e.featureIndex]||(r[e.featureIndex]=!0,t[i].push(e));}}return t}(u),e)}function N(e,t){const i=e.tileID,o=t.tileID;return i.overscaledZ-o.overscaledZ||i.canonical.y-o.canonical.y||i.wrap-o.wrap||i.canonical.x-o.canonical.x}function Z(e,t){const i=e.feature,o=t.getFeatureState(i.layer["source-layer"],i.id);i.source=i.layer.source,i.layer["source-layer"]&&(i.sourceLayer=i.layer["source-layer"]),i.state=o;}function U(e,i,o,a){return t._(this,void 0,void 0,(function*(){let r=e;if(e.url?r=(yield t.k(yield i.transformRequest(e.url,"Source"),o)).data:yield n.frameAsync(o,a),!r)return null;const s=t.V(t.e(r,e),["tiles","minzoom","maxzoom","attribution","bounds","scheme","tileSize","encoding"]);return "vector_layers"in r&&r.vector_layers&&(s.vectorLayerIds=r.vector_layers.map((e=>e.id))),s}))}class G{constructor(e,t){e&&(t?this.setSouthWest(e).setNorthEast(t):Array.isArray(e)&&(4===e.length?this.setSouthWest([e[0],e[1]]).setNorthEast([e[2],e[3]]):this.setSouthWest(e[0]).setNorthEast(e[1])));}setNorthEast(e){return this._ne=e instanceof t.W?new t.W(e.lng,e.lat):t.W.convert(e),this}setSouthWest(e){return this._sw=e instanceof t.W?new t.W(e.lng,e.lat):t.W.convert(e),this}extend(e){const i=this._sw,o=this._ne;let a,r;if(e instanceof t.W)a=e,r=e;else {if(!(e instanceof G))return Array.isArray(e)?4===e.length||e.every(Array.isArray)?this.extend(G.convert(e)):this.extend(t.W.convert(e)):e&&("lng"in e||"lon"in e)&&"lat"in e?this.extend(t.W.convert(e)):this;if(a=e._sw,r=e._ne,!a||!r)return this}return i||o?(i.lng=Math.min(a.lng,i.lng),i.lat=Math.min(a.lat,i.lat),o.lng=Math.max(r.lng,o.lng),o.lat=Math.max(r.lat,o.lat)):(this._sw=new t.W(a.lng,a.lat),this._ne=new t.W(r.lng,r.lat)),this}getCenter(){return new t.W((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)}getSouthWest(){return this._sw}getNorthEast(){return this._ne}getNorthWest(){return new t.W(this.getWest(),this.getNorth())}getSouthEast(){return new t.W(this.getEast(),this.getSouth())}getWest(){return this._sw.lng}getSouth(){return this._sw.lat}getEast(){return this._ne.lng}getNorth(){return this._ne.lat}toArray(){return [this._sw.toArray(),this._ne.toArray()]}toString(){return `LngLatBounds(${this._sw.toString()}, ${this._ne.toString()})`}isEmpty(){return !(this._sw&&this._ne)}contains(e){const{lng:i,lat:o}=t.W.convert(e);let a=this._sw.lng<=i&&i<=this._ne.lng;return this._sw.lng>this._ne.lng&&(a=this._sw.lng>=i&&i>=this._ne.lng),this._sw.lat<=o&&o<=this._ne.lat&&a}intersects(e){if(!((e=G.convert(e)).getNorth()>=this.getSouth()&&e.getSouth()<=this.getNorth()))return !1;const i=Math.abs(this.getEast()-this.getWest()),o=Math.abs(e.getEast()-e.getWest());if(i>=360||o>=360)return !0;const a=t.X(this.getWest(),-180,180),r=t.X(this.getEast(),-180,180),s=t.X(e.getWest(),-180,180),n=t.X(e.getEast(),-180,180),l=a>r,c=s>n;return !(!l||!c)||(l?n>=a||s<=r:c?r>=s||a<=n:s<=r&&n>=a)}static convert(e){return e instanceof G?e:e?new G(e):e}static fromLngLat(e,i=0){const o=360*i/40075017,a=o/Math.cos(Math.PI/180*e.lat);return new G(new t.W(e.lng-a,e.lat-o),new t.W(e.lng+a,e.lat+o))}adjustAntiMeridian(){const e=new t.W(this._sw.lng,this._sw.lat),i=new t.W(this._ne.lng,this._ne.lat);return new G(e,e.lng>i.lng?new t.W(i.lng+360,i.lat):i)}}class V{constructor(e,t,i){this.bounds=G.convert(this.validateBounds(e)),this.minzoom=t||0,this.maxzoom=i||24;}validateBounds(e){return Array.isArray(e)&&4===e.length?[Math.max(-180,e[0]),Math.max(-90,e[1]),Math.min(180,e[2]),Math.min(90,e[3])]:[-180,-90,180,90]}contains(e){const i=Math.pow(2,e.z),o=Math.floor(t.Z(this.bounds.getWest())*i),a=Math.floor(t.Y(this.bounds.getNorth())*i),r=Math.ceil(t.Z(this.bounds.getEast())*i),s=Math.ceil(t.Y(this.bounds.getSouth())*i);return e.x>=o&&e.x=a&&e.y{this._options.tiles=e;})),this}setUrl(e){return this.setSourceProperty((()=>{this.url=e,this._options.url=e;})),this}onRemove(){this._tileJSONRequest&&(this._tileJSONRequest.abort(),this._tileJSONRequest=null);}serialize(){return t.e({},this._options)}loadTile(e){return t._(this,void 0,void 0,(function*(){const t=e.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme),i={request:yield this.map._requestManager.transformRequest(t,"Tile"),uid:e.uid,tileID:e.tileID,zoom:e.tileID.overscaledZ,tileSize:this.tileSize*e.tileID.overscaleFactor(),type:this.type,source:this.id,pixelRatio:this.map.getPixelRatio(),showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId,subdivisionGranularity:this.map.style.projection.subdivisionGranularity,encoding:this.encoding,overzoomParameters:yield this._getOverzoomParameters(e),etag:e.etag};i.request.collectResourceTiming=this._collectResourceTiming;let o="RT";if(e.actor&&"expired"!==e.state){if("loading"===e.state)return new Promise(((t,i)=>{e.reloadPromise={resolve:t,reject:i};}))}else e.actor=this.dispatcher.getActor(),o="LT";e.abortController=new AbortController;try{const t=yield e.actor.sendAsync({type:o,data:i},e.abortController);if(delete e.abortController,e.aborted)return;this._afterTileLoadWorkerResponse(e,t);const a={};return (null==t?void 0:t.etagUnmodified)&&(a.unmodified=!0),a}catch(t){if(delete e.abortController,e.aborted)return;if(t&&404!==t.status)throw t;this._afterTileLoadWorkerResponse(e,null);}}))}_getOverzoomParameters(e){return t._(this,void 0,void 0,(function*(){if(e.tileID.canonical.z<=this.maxzoom)return;if(void 0===this.map._zoomLevelsToOverscale)return;const t=e.tileID.scaledTo(this.maxzoom).canonical,i=t.url(this.tiles,this.map.getPixelRatio(),this.scheme);return {maxZoomTileID:t,overzoomRequest:yield this.map._requestManager.transformRequest(i,"Tile")}}))}_afterTileLoadWorkerResponse(e,t){if((null==t?void 0:t.resourceTiming)&&(e.resourceTiming=t.resourceTiming),t&&this.map._refreshExpiredTiles&&e.setExpiryData(t),e.etag=null==t?void 0:t.etag,e.loadVectorData(t,this.map.painter),e.reloadPromise){const t=e.reloadPromise;e.reloadPromise=null,this.loadTile(e).then(t.resolve).catch(t.reject);}}abortTile(e){return t._(this,void 0,void 0,(function*(){e.abortController&&(e.abortController.abort(),delete e.abortController),e.actor&&(yield e.actor.sendAsync({type:"AT",data:{uid:e.uid,type:this.type,source:this.id}}));}))}unloadTile(e){return t._(this,void 0,void 0,(function*(){e.unloadVectorData(),e.actor&&(yield e.actor.sendAsync({type:"RMT",data:{uid:e.uid,type:this.type,source:this.id}}));}))}hasTransition(){return !1}}class q extends t.E{constructor(e,i,o,a){super(),this.id=e,this.dispatcher=o,this.setEventedParent(a),this.type="raster",this.minzoom=0,this.maxzoom=22,this.roundZoom=!0,this.scheme="xyz",this.tileSize=512,this._loaded=!1,this._options=t.e({type:"raster"},i),t.e(this,t.V(i,["url","scheme","tileSize"]));}load(){return t._(this,arguments,void 0,(function*(e=!1){this._loaded=!1,this.fire(new t.n("dataloading",{dataType:"source"})),this._tileJSONRequest=new AbortController;try{const i=yield U(this._options,this.map._requestManager,this._tileJSONRequest,this.map._ownerWindow);this._tileJSONRequest=null,this._loaded=!0,i&&(t.e(this,i),i.bounds&&(this.tileBounds=new V(i.bounds,this.minzoom,this.maxzoom)),this.fire(new t.n("data",{dataType:"source",sourceDataType:"metadata"})),this.fire(new t.n("data",{dataType:"source",sourceDataType:"content",sourceDataChanged:e})));}catch(e){this._tileJSONRequest=null,this._loaded=!0,t.$(e)||this.fire(new t.l(t.d(e)));}}))}loaded(){return this._loaded}onAdd(e){this.map=e,this.load();}onRemove(){this._tileJSONRequest&&(this._tileJSONRequest.abort(),this._tileJSONRequest=null);}setSourceProperty(e){this._tileJSONRequest&&(this._tileJSONRequest.abort(),this._tileJSONRequest=null),e(),this.load(!0);}setTiles(e){return this.setSourceProperty((()=>{this._options.tiles=e;})),this}setUrl(e){return this.setSourceProperty((()=>{this.url=e,this._options.url=e;})),this}serialize(){return t.e({},this._options)}hasTile(e){return !this.tileBounds||this.tileBounds.contains(e.canonical)}loadTile(e){return t._(this,void 0,void 0,(function*(){const i=e.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme);e.abortController=new AbortController;try{const o=yield u.getImage(yield this.map._requestManager.transformRequest(i,"Tile"),e.abortController,this.map._refreshExpiredTiles);if(delete e.abortController,e.aborted)return void(e.state="unloaded");if(null==o?void 0:o.data){this.map._refreshExpiredTiles&&(o.cacheControl||o.expires)&&e.setExpiryData({cacheControl:o.cacheControl,expires:o.expires});const i=this.map.painter.context,a=i.gl,r=o.data;e.texture=this.map.painter.getTileTexture(r.width),e.texture?e.texture.update(r,{useMipmap:!0}):(e.texture=new t.T(i,r,a.RGBA,{useMipmap:!0}),e.texture.bind(a.LINEAR,a.CLAMP_TO_EDGE,a.LINEAR_MIPMAP_NEAREST)),e.state="loaded";}}catch(t){if(delete e.abortController,e.aborted)e.state="unloaded";else if(t)throw e.state="errored",t}}))}abortTile(e){return t._(this,void 0,void 0,(function*(){e.abortController&&(e.abortController.abort(),delete e.abortController);}))}unloadTile(e){return t._(this,void 0,void 0,(function*(){e.texture&&this.map.painter.saveTileTexture(e.texture);}))}hasTransition(){return !1}}class $ extends q{constructor(e,i,o,a){super(e,i,o,a),this.type="raster-dem",this.maxzoom=22,this._options=t.e({type:"raster-dem"},i),this.encoding=i.encoding||"mapbox",this.redFactor=i.redFactor,this.greenFactor=i.greenFactor,this.blueFactor=i.blueFactor,this.baseShift=i.baseShift;}loadTile(e){return t._(this,void 0,void 0,(function*(){const i=e.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme),o=yield this.map._requestManager.transformRequest(i,"Tile");e.neighboringTiles=this._getNeighboringTiles(e.tileID),e.abortController=new AbortController;try{const i=yield u.getImage(o,e.abortController,this.map._refreshExpiredTiles);if(delete e.abortController,e.aborted)return void(e.state="unloaded");if(null==i?void 0:i.data){const o=i.data;this.map._refreshExpiredTiles&&(i.cacheControl||i.expires)&&e.setExpiryData({cacheControl:i.cacheControl,expires:i.expires});const a=t.b(o)&&t.a0()?o:yield this.readImageNow(o),r={type:this.type,uid:e.uid,source:this.id,rawImageData:a,encoding:this.encoding,redFactor:this.redFactor,greenFactor:this.greenFactor,blueFactor:this.blueFactor,baseShift:this.baseShift};if(e.actor&&"expired"!==e.state&&"reloading"!==e.state)return;e.actor&&"expired"!==e.state||(e.actor=this.dispatcher.getActor()),e.dem=yield e.actor.sendAsync({type:"LDT",data:r}),e.needsHillshadePrepare=!0,e.needsTerrainPrepare=!0,e.state="loaded";}}catch(t){if(delete e.abortController,e.aborted)e.state="unloaded";else if(t)throw e.state="errored",t}}))}readImageNow(e){return t._(this,void 0,void 0,(function*(){if("undefined"!=typeof VideoFrame&&t.a1()){const i=e.width+2,o=e.height+2;try{return new t.R({width:i,height:o},yield t.a2(e,-1,-1,i,o))}catch(e){}}return n.getImageData(e,1)}))}_getNeighboringTiles(e){const i=e.canonical,o=Math.pow(2,i.z),a=(i.x-1+o)%o,r=0===i.x?e.wrap-1:e.wrap,s=(i.x+1+o)%o,n=i.x+1===o?e.wrap+1:e.wrap,l={};return l[new t.a3(e.overscaledZ,r,i.z,a,i.y).key]={backfilled:!1},l[new t.a3(e.overscaledZ,n,i.z,s,i.y).key]={backfilled:!1},i.y>0&&(l[new t.a3(e.overscaledZ,r,i.z,a,i.y-1).key]={backfilled:!1},l[new t.a3(e.overscaledZ,e.wrap,i.z,i.x,i.y-1).key]={backfilled:!1},l[new t.a3(e.overscaledZ,n,i.z,s,i.y-1).key]={backfilled:!1}),i.y+1e.key===i));t>-1&&e.addOrUpdateProperties.splice(t,1);}return (e.removeAllProperties||t.removeAllProperties)&&(i.removeAllProperties=!0),(e.removeProperties||t.removeProperties)&&(i.removeProperties=[...e.removeProperties||[],...t.removeProperties||[]]),(e.addOrUpdateProperties||t.addOrUpdateProperties)&&(i.addOrUpdateProperties=[...e.addOrUpdateProperties||[],...t.addOrUpdateProperties||[]]),(e.newGeometry||t.newGeometry)&&(i.newGeometry=t.newGeometry||e.newGeometry),i}function K(e){var t,i;if(!e)return {};const o={};return o.removeAll=e.removeAll,o.remove=new Set(e.remove||[]),o.add=new Map(null===(t=e.add)||void 0===t?void 0:t.map((e=>[e.id,e]))),o.update=new Map(null===(i=e.update)||void 0===i?void 0:i.map((e=>[e.id,e]))),o}function Y(e){return e&&0!==e.length?"number"==typeof e[0]?[e]:e.flatMap((e=>Y(e))):[]}function Q(e){return "GeometryCollection"===e.type?e.geometries.flatMap((e=>Q(e))):Y(e.coordinates)}function J(e){const t=new G;let i;switch(e.type){case "FeatureCollection":i=e.features.flatMap((e=>Q(e.geometry)));break;case "Feature":i=Q(e.geometry);break;default:i=Q(e);}if(0===i.length)return t;for(const e of i){const[i,o]=e;t.extend([i,o]);}return t}class ee extends t.E{constructor(e,i,o,a){super(),this.id=e,this.type="geojson",this.minzoom=0,this.maxzoom=18,this.tileSize=512,this.isTileClipped=!0,this.reparseOverscaled=!0,this._removed=!1,this._isUpdatingWorker=!1,this._pendingWorkerUpdate={data:i.data},this.actor=o.getActor(),this.setEventedParent(a),this._data="string"==typeof i.data?{url:i.data}:{geojson:i.data},this._options=t.e({},i),this._collectResourceTiming=i.collectResourceTiming,void 0!==i.maxzoom&&(this.maxzoom=i.maxzoom),i.type&&(this.type=i.type),i.attribution&&(this.attribution=i.attribution),this.promoteId=i.promoteId,void 0!==i.clusterMaxZoom&&this.maxzoom<=i.clusterMaxZoom&&t.w(`The maxzoom value "${this.maxzoom}" is expected to be greater than the clusterMaxZoom value "${i.clusterMaxZoom}".`),this.workerOptions=t.e({source:this.id,geojsonVtOptions:{buffer:this._pixelsToTileUnits(void 0!==i.buffer?i.buffer:128),tolerance:this._pixelsToTileUnits(void 0!==i.tolerance?i.tolerance:.375),extent:t.a6,maxZoom:this.maxzoom,lineMetrics:i.lineMetrics||!1,generateId:i.generateId||!1,promoteId:"string"==typeof i.promoteId?i.promoteId:void 0,cluster:i.cluster||!1,clusterOptions:{maxZoom:this._getClusterMaxZoom(i.clusterMaxZoom),minPoints:Math.max(2,i.clusterMinPoints||2),extent:t.a6,radius:this._pixelsToTileUnits(i.clusterRadius||50),log:!1,generateId:i.generateId||!1}},clusterProperties:i.clusterProperties,filter:i.filter},i.workerOptions);}_hasPendingWorkerUpdate(){return void 0!==this._pendingWorkerUpdate.data||void 0!==this._pendingWorkerUpdate.diff||this._pendingWorkerUpdate.updateCluster}_pixelsToTileUnits(e){return e*(t.a6/this.tileSize)}_getClusterMaxZoom(e){const i=e?Math.round(e):this.maxzoom-1;return Number.isInteger(e)||void 0===e||t.w(`Integer expected for option 'clusterMaxZoom': provided value "${e}" rounded to "${i}"`),i}load(){return t._(this,void 0,void 0,(function*(){yield this._updateWorkerData();}))}onAdd(e){this.map=e,this.load();}setData(e,t){this._data="string"==typeof e?{url:e}:{geojson:e},this._pendingWorkerUpdate={data:e};const i=this._updateWorkerData();return t?i:this}updateData(e,t){this._pendingWorkerUpdate.diff=function(e,t){if(!e)return t||{};if(!t)return e||{};const i=K(e),o=K(t);!function(e,t){t.removeAll&&(e.add.clear(),e.update.clear(),e.remove.clear(),t.remove.clear());for(const i of t.remove)e.add.delete(i),e.update.delete(i);for(const[i,o]of t.update){const a=e.update.get(i);a&&(t.update.set(i,X(a,o)),e.update.delete(i));}}(i,o);const a={};if((i.removeAll||o.removeAll)&&(a.removeAll=!0),a.remove=new Set([...i.remove,...o.remove]),a.add=new Map([...i.add,...o.add]),a.update=new Map([...i.update,...o.update]),a.remove.size&&a.add.size)for(const e of a.add.keys())a.remove.delete(e);return function(e){const t={};return e.removeAll&&(t.removeAll=e.removeAll),e.remove&&(t.remove=Array.from(e.remove)),e.add&&(t.add=Array.from(e.add.values())),e.update&&(t.update=Array.from(e.update.values())),t}(a)}(this._pendingWorkerUpdate.diff,e);const i=this._updateWorkerData();return t?i:this}getData(){return t._(this,void 0,void 0,(function*(){return this._data.url&&(yield this.once("data")),this._data.geojson?this._data.geojson:{type:"FeatureCollection",features:Array.from(this._data.updateable.values())}}))}getBounds(){return t._(this,void 0,void 0,(function*(){return J(yield this.getData())}))}setClusterOptions(e){return this.workerOptions.geojsonVtOptions.cluster=e.cluster,void 0!==e.clusterRadius&&(this.workerOptions.geojsonVtOptions.clusterOptions.radius=this._pixelsToTileUnits(e.clusterRadius)),void 0!==e.clusterMaxZoom&&(this.workerOptions.geojsonVtOptions.clusterOptions.maxZoom=this._getClusterMaxZoom(e.clusterMaxZoom)),this._pendingWorkerUpdate.updateCluster=!0,this._updateWorkerData(),this}getClusterExpansionZoom(e){return this.actor.sendAsync({type:"GCEZ",data:{type:this.type,clusterId:e,source:this.id}})}getClusterChildren(e){return this.actor.sendAsync({type:"GCC",data:{type:this.type,clusterId:e,source:this.id}})}getClusterLeaves(e,t,i){return this.actor.sendAsync({type:"GCL",data:{type:this.type,source:this.id,clusterId:e,limit:t,offset:i}})}_updateWorkerData(){return t._(this,void 0,void 0,(function*(){if(this._isUpdatingWorker)return;if(!this._hasPendingWorkerUpdate())return void t.w(`No pending worker updates for GeoJSONSource ${this.id}.`);const{data:e,diff:i,updateCluster:o}=this._pendingWorkerUpdate,a=this._getLoadGeoJSONParameters(e,i,o);void 0!==e?this._pendingWorkerUpdate.data=void 0:i?this._pendingWorkerUpdate.diff=void 0:o&&(this._pendingWorkerUpdate.updateCluster=void 0),yield this._dispatchWorkerUpdate(a);}))}_getLoadGeoJSONParameters(e,i,o){return t._(this,void 0,void 0,(function*(){const a=t.e({type:this.type},this.workerOptions);return "string"==typeof e?(a.request=yield this.map._requestManager.transformRequest(n.resolveURL(e),"Source"),a.request.collectResourceTiming=this._collectResourceTiming,a):void 0!==e?(a.data=e,a):i?(a.dataDiff=i,a):o?(a.updateCluster=!0,a):void 0}))}_dispatchWorkerUpdate(e){return t._(this,void 0,void 0,(function*(){this._isUpdatingWorker=!0,this.fire(new t.n("dataloading",{dataType:"source"}));try{const i=yield e,o=yield this.actor.sendAsync({type:"LD",data:i});if(this._isUpdatingWorker=!1,this._removed||o.abandoned)return void this.fire(new t.n("dataabort",{dataType:"source"}));o.data&&(this._data={geojson:o.data});const a=this._applyDiffToSource(i.dataDiff),r=this._getShouldReloadTileOptions(a),s={dataType:"source"};this._applyResourceTiming(s,o),this.fire(new t.n("data",Object.assign(Object.assign({},s),{sourceDataType:"metadata"}))),this.fire(new t.n("data",Object.assign(Object.assign({},s),{sourceDataType:"content",shouldReloadTileOptions:r})));}catch(e){if(this._isUpdatingWorker=!1,this._removed)return void this.fire(new t.n("dataabort",{dataType:"source"}));this.fire(new t.l(t.d(e)));}finally{this._hasPendingWorkerUpdate()&&this._updateWorkerData();}}))}_applyResourceTiming(e,i){var o;if(!this._collectResourceTiming)return;const a=null===(o=i.resourceTiming)||void 0===o?void 0:o[this.id];if(!a)return;const r=a.slice(0);(null==r?void 0:r.length)&&t.e(e,{resourceTiming:r});}_applyDiffToSource(e){if(!e)return;const t="string"==typeof this.promoteId?this.promoteId:void 0;if(!this._data.url&&!this._data.updateable){const e=function(e,t){const i=new Map;if(null==e)return i;if(null==e.type)return i;if("Feature"===e.type){const o=H(e,t);if(null==o)return;return i.set(o,e),i}if("FeatureCollection"===e.type){const o=new Set;for(const a of e.features){const e=H(a,t);if(null==e)return;if(o.has(e))return;o.add(e),i.set(e,a);}return i}}(this._data.geojson,t);if(!e)throw new Error(`GeoJSONSource "${this.id}": GeoJSON data is not compatible with updateData`);this._data={updateable:e};}if(!this._data.updateable)return;const i=function(e,t,i){var o,a;const r=[];if(t.removeAll)e.clear();else if(t.remove)for(const i of t.remove){const t=e.get(i);t&&(r.push(t.geometry),e.delete(i));}if(t.add)for(const o of t.add){const t=H(o,i);if(null==t)continue;const a=e.get(t);a&&r.push(a.geometry),r.push(o.geometry),e.set(t,o);}if(t.update)for(const i of t.update){const t=e.get(i.id);if(!t)continue;const s=!!i.newGeometry,n=i.removeAllProperties||(null===(o=i.removeProperties)||void 0===o?void 0:o.length)>0||(null===(a=i.addOrUpdateProperties)||void 0===a?void 0:a.length)>0;if(!s&&!n)continue;r.push(t.geometry);const l=Object.assign({},t);if(e.set(i.id,l),s&&(r.push(i.newGeometry),l.geometry=i.newGeometry),n){if(l.properties=i.removeAllProperties?{}:Object.assign({},l.properties||{}),i.removeProperties)for(const e of i.removeProperties)delete l.properties[e];if(i.addOrUpdateProperties)for(const{key:e,value:t}of i.addOrUpdateProperties)l.properties[e]=t;}}return r}(this._data.updateable,e,t);return e.removeAll||this._options.cluster?void 0:i}_getShouldReloadTileOptions(e){if(e)return {affectedBounds:e.filter(Boolean).map((e=>J(e)))}}shouldReloadTile(e,{affectedBounds:i}){if("loading"===e.state)return !0;if("unloaded"===e.state)return !1;const{buffer:o,extent:a}=this.workerOptions.geojsonVtOptions,r=function({x:e,y:i,z:o},a=0){const r=t.a4((e-a)/Math.pow(2,o)),s=t.a5((i+1+a)/Math.pow(2,o)),n=t.a4((e+1+a)/Math.pow(2,o)),l=t.a5((i-a)/Math.pow(2,o));return new G([r,s],[n,l])}(e.tileID.canonical,o/a);for(const e of i)if(r.intersects(e))return !0;return !1}loaded(){return !this._isUpdatingWorker&&!this._hasPendingWorkerUpdate()}loadTile(e){return t._(this,void 0,void 0,(function*(){const t=e.actor?"RT":"LT";e.actor=this.actor;const i={type:this.type,uid:e.uid,tileID:e.tileID,zoom:e.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:this.map.getPixelRatio(),showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId,subdivisionGranularity:this.map.style.projection.subdivisionGranularity};e.abortController=new AbortController;const o=yield this.actor.sendAsync({type:t,data:i},e.abortController);delete e.abortController,e.unloadVectorData(),e.aborted||e.loadVectorData(o,this.map.painter,"RT"===t);}))}abortTile(e){return t._(this,void 0,void 0,(function*(){e.abortController&&(e.abortController.abort(),delete e.abortController),e.aborted=!0;}))}unloadTile(e){return t._(this,void 0,void 0,(function*(){e.unloadVectorData(),yield this.actor.sendAsync({type:"RMT",data:{uid:e.uid,type:this.type,source:this.id}});}))}onRemove(){this._removed=!0,this.actor.sendAsync({type:"RS",data:{type:this.type,source:this.id}});}serialize(){return t.e({},this._options,{type:this.type,data:this._data.updateable?{type:"FeatureCollection",features:Array.from(this._data.updateable.values())}:this._data.url||this._data.geojson})}hasTransition(){return !1}}class te extends t.E{constructor(e,t,i,o){super(),this.flippedWindingOrder=!1,this.id=e,this.dispatcher=i,this.coordinates=t.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(o),this.options=t;}load(e){return t._(this,void 0,void 0,(function*(){this._loaded=!1,this.fire(new t.n("dataloading",{dataType:"source"})),this.url=this.options.url,this._request=new AbortController;try{const t=yield u.getImage(yield this.map._requestManager.transformRequest(this.url,"Image"),this._request);this._request=null,this._loaded=!0,(null==t?void 0:t.data)&&(this.image=t.data,e&&(this.coordinates=e),this._finishLoading());}catch(e){this._request=null,this._loaded=!0,t.$(e)||this.fire(new t.l(t.d(e)));}}))}loaded(){return this._loaded}updateImage(e){return e.url?(this._request&&(this._request.abort(),this._request=null),this.options.url=e.url,this.load(e.coordinates).finally((()=>this.texture=null)),this):this}_finishLoading(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new t.n("data",{dataType:"source",sourceDataType:"metadata"})));}onAdd(e){this.map=e,this.load();}onRemove(){this._request&&(this._request.abort(),this._request=null);}setCoordinates(e){this.coordinates=e;const i=e.map(t.a7.fromLngLat);var o;return this.tileID=function(e){const i=t.a8.fromPoints(e),o=i.width(),a=i.height(),r=Math.max(o,a),s=Math.max(0,Math.floor(-Math.log(r)/Math.LN2)),n=Math.pow(2,s);return new t.aa(s,Math.floor((i.minX+i.maxX)/2*n),Math.floor((i.minY+i.maxY)/2*n))}(i),this.terrainTileRanges=this._getOverlappingTileRanges(i),this.minzoom=this.maxzoom=this.tileID.z,this.tileCoords=i.map((e=>this.tileID.getTilePoint(e)._round())),this.flippedWindingOrder=((o=this.tileCoords)[1].x-o[0].x)*(o[2].y-o[0].y)-(o[1].y-o[0].y)*(o[2].x-o[0].x)<0,this.fire(new t.n("data",{dataType:"source",sourceDataType:"content"})),this}prepare(){if(0===Object.keys(this.tiles).length||!this.image)return;const e=this.map.painter.context,i=e.gl;this.texture||(this.texture=new t.T(e,this.image,i.RGBA),this.texture.bind(i.LINEAR,i.CLAMP_TO_EDGE));let o=!1;for(const e in this.tiles){const t=this.tiles[e];"loaded"!==t.state&&(t.state="loaded",t.texture=this.texture,o=!0);}o&&this.fire(new t.n("data",{dataType:"source",sourceDataType:"idle",sourceId:this.id}));}loadTile(e){return t._(this,void 0,void 0,(function*(){var t;(null===(t=this.tileID)||void 0===t?void 0:t.equals(e.tileID.canonical))?(this.tiles[String(e.tileID.wrap)]=e,e.buckets={}):e.state="errored";}))}serialize(){return {type:"image",url:this.options.url,coordinates:this.coordinates}}hasTransition(){return !1}_getOverlappingTileRanges(e){const{minX:i,minY:o,maxX:a,maxY:r}=t.a8.fromPoints(e),s={};for(let e=0;e<=t.a9;e++){const t=Math.pow(2,e),n=Math.floor(i*t),l=Math.floor(o*t),c=Math.floor(a*t),h=Math.floor(r*t),u=(n%t+t)%t,d=c%t,_=Math.floor(n/t),p=Math.floor(c/t);s[e]={minWrap:_,maxWrap:p,minTileXWrapped:u,maxTileXWrapped:d,minTileY:l,maxTileY:h};}return s}}class ie extends te{constructor(e,t,i,o){super(e,t,i,o),this._onPlayingHandler=()=>{var e;null===(e=this.map)||void 0===e||e.triggerRepaint();},this.roundZoom=!0,this.type="video",this.options=t;}load(){return t._(this,void 0,void 0,(function*(){this._loaded=!1;const e=this.options;this.urls=[];for(const t of e.urls)this.urls.push((yield this.map._requestManager.transformRequest(t,"Source")).url);try{const e=yield t.ab(this.urls);if(this._loaded=!0,!e)return;this.video=e,this.video.loop=!0,this.video.addEventListener("playing",this._onPlayingHandler),this.map&&this.video.play(),this._finishLoading();}catch(e){this.fire(new t.l(t.d(e)));}}))}pause(){this.video&&this.video.pause();}play(){this.video&&this.video.play();}seek(e){if(this.video){const i=this.video.seekable;ei.end(0)?this.fire(new t.l(new t.ac(`sources.${this.id}`,null,`Playback for this video can be set only between the ${i.start(0)} and ${i.end(0)}-second mark.`))):this.video.currentTime=e;}}getVideo(){return this.video}onAdd(e){this.map||(this.map=e,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)));}onRemove(){super.onRemove(),this.video&&(this.video.removeEventListener("playing",this._onPlayingHandler),this.video.pause());}prepare(){if(0===Object.keys(this.tiles).length||this.video.readyState<2)return;const e=this.map.painter.context,i=e.gl;this.texture?this.video.paused||(this.texture.bind(i.LINEAR,i.CLAMP_TO_EDGE),i.texSubImage2D(i.TEXTURE_2D,0,0,0,i.RGBA,i.UNSIGNED_BYTE,this.video)):(this.texture=new t.T(e,this.video,i.RGBA),this.texture.bind(i.LINEAR,i.CLAMP_TO_EDGE));let o=!1;for(const e in this.tiles){const t=this.tiles[e];"loaded"!==t.state&&(t.state="loaded",t.texture=this.texture,o=!0);}o&&this.fire(new t.n("data",{dataType:"source",sourceDataType:"idle",sourceId:this.id}));}serialize(){return {type:"video",urls:this.urls,coordinates:this.coordinates}}hasTransition(){return this.video&&!this.video.paused}}class oe extends te{constructor(e,i,o,a){super(e,i,o,a),i.coordinates?Array.isArray(i.coordinates)&&4===i.coordinates.length&&!i.coordinates.some((e=>!Array.isArray(e)||2!==e.length||e.some((e=>"number"!=typeof e))))||this.fire(new t.l(new t.ac(`sources.${e}`,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new t.l(new t.ac(`sources.${e}`,null,'missing required property "coordinates"'))),i.animate&&"boolean"!=typeof i.animate&&this.fire(new t.l(new t.ac(`sources.${e}`,null,'optional "animate" property must be a boolean value'))),i.canvas?"string"==typeof i.canvas||i.canvas instanceof HTMLCanvasElement||this.fire(new t.l(new t.ac(`sources.${e}`,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new t.l(new t.ac(`sources.${e}`,null,'missing required property "canvas"'))),this.options=i,this.animate=void 0===i.animate||i.animate;}load(){return t._(this,void 0,void 0,(function*(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof HTMLCanvasElement?this.options.canvas:document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new t.l(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint();},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1);},this._finishLoading());}))}getCanvas(){return this.canvas}onAdd(e){this.map=e,this.load(),this.canvas&&this.animate&&this.play();}onRemove(){this.pause();}prepare(){let e=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,e=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,e=!0),this._hasInvalidDimensions())return;if(0===Object.keys(this.tiles).length)return;const i=this.map.painter.context,o=i.gl;this.texture?(e||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):(this.texture=new t.T(i,this.canvas,o.RGBA,{premultiply:!0}),this.texture.bind(o.LINEAR,o.CLAMP_TO_EDGE));let a=!1;for(const e in this.tiles){const t=this.tiles[e];"loaded"!==t.state&&(t.state="loaded",t.texture=this.texture,a=!0);}a&&this.fire(new t.n("data",{dataType:"source",sourceDataType:"idle",sourceId:this.id}));}serialize(){return {type:"canvas",animate:this.animate,canvas:this.options.canvas,coordinates:this.coordinates}}hasTransition(){return this._playing}_hasInvalidDimensions(){for(const e of [this.canvas.width,this.canvas.height])if(isNaN(e)||e<=0)return !0;return !1}}const ae={},re=e=>{switch(e){case "geojson":return ee;case "image":return te;case "raster":return q;case "raster-dem":return $;case "vector":return W;case "video":return ie;case "canvas":return oe}return ae[e]},se="RTLPluginLoaded";class ne extends t.E{constructor(){super(...arguments),this.status="unavailable",this.url=null,this.dispatcher=B();}_syncState(e){return this.status=e,this.dispatcher.broadcast("SRPS",{pluginStatus:e,pluginURL:this.url}).catch((e=>{throw this.status="error",e}))}getRTLTextPluginStatus(){return this.status}clearRTLTextPlugin(){this.status="unavailable",this.url=null;}setRTLTextPlugin(e){return t._(this,arguments,void 0,(function*(e,t=!1){if(this.url)throw new Error("setRTLTextPlugin cannot be called multiple times.");if(this.url=n.resolveURL(e),!this.url)throw new Error(`requested url ${e} is invalid`);if("unavailable"===this.status){if(!t)return this._requestImport();this.status="deferred",this._syncState(this.status);}else if("requested"===this.status)return this._requestImport()}))}_requestImport(){return t._(this,void 0,void 0,(function*(){yield this._syncState("loading"),this.status="loaded",this.fire(new t.n(se));}))}lazyLoad(){"unavailable"===this.status?this.status="requested":"deferred"===this.status&&this._requestImport();}}let le=null;function ce(){return le||(le=new ne),le}var he,ue;!function(e){e[e.Base=0]="Base",e[e.Parent=1]="Parent";}(he||(he={})),function(e){e[e.Departing=0]="Departing",e[e.Incoming=1]="Incoming";}(ue||(ue={}));class de{constructor(e,i){this.timeAdded=0,this.fadeEndTime=0,this.fadeOpacity=1,this.tileID=e,this.uid=t.ad(),this.uses=0,this.tileSize=i,this.buckets={},this.expirationTime=null,this.queryPadding=0,this.hasSymbolBuckets=!1,this.hasRTLText=!1,this.dependencies={},this.rtt=[],this.rttFingerprint={},this.expiredRequestCount=0,this.state="loading";}isRenderable(e){return this.hasData()&&(!this.fadeEndTime||this.fadeOpacity>0)&&(e||!this.holdingForSymbolFade())}setCrossFadeLogic({fadingRole:e,fadingDirection:t,fadingParentID:i,fadeEndTime:o}){this.resetFadeLogic(),this.fadingRole=e,this.fadingDirection=t,this.fadingParentID=i,this.fadeEndTime=o;}setSelfFadeLogic(e){this.resetFadeLogic(),this.selfFading=!0,this.fadeEndTime=e;}resetFadeLogic(){this.fadingRole=null,this.fadingDirection=null,this.fadingParentID=null,this.selfFading=!1,this.timeAdded=c(),this.fadeEndTime=0,this.fadeOpacity=1;}wasRequested(){return "errored"===this.state||"loaded"===this.state||"reloading"===this.state}clearTextures(e){this.demTexture&&e.saveTileTexture(this.demTexture),this.demTexture=null;}loadVectorData(e,i,o){if(!0!==(null==e?void 0:e.etagUnmodified))if(this.hasData()&&this.unloadVectorData(),this.state="loaded",e){e.featureIndex&&(this.latestFeatureIndex=e.featureIndex,e.rawTileData?(this.latestRawTileData=e.rawTileData,this.latestEncoding=e.encoding,this.latestFeatureIndex.rawTileData=e.rawTileData,this.latestFeatureIndex.encoding=e.encoding):this.latestRawTileData&&(this.latestFeatureIndex.rawTileData=this.latestRawTileData,this.latestFeatureIndex.encoding=this.latestEncoding)),this.collisionBoxArray=e.collisionBoxArray,this.buckets=function(e,t){const i={};if(!t)return i;for(const o of e){const e=o.layerIds.map((e=>t.getLayer(e))).filter(Boolean);if(0!==e.length){o.layers=e,o.stateDependentLayerIds&&(o.stateDependentLayers=o.stateDependentLayerIds.map((t=>e.filter((e=>e.id===t))[0])));for(const t of e)i[t.id]=o;}}return i}(e.buckets,null==i?void 0:i.style),this.hasSymbolBuckets=!1;for(const e in this.buckets){const i=this.buckets[e];if(i instanceof t.af){if(this.hasSymbolBuckets=!0,!o)break;i.justReloaded=!0;}}if(this.hasRTLText=!1,this.hasSymbolBuckets)for(const e in this.buckets){const i=this.buckets[e];if(i instanceof t.af&&i.hasRTLText){this.hasRTLText=!0,ce().lazyLoad();break}}this.queryPadding=0;for(const e in this.buckets){const t=this.buckets[e];this.queryPadding=Math.max(this.queryPadding,i.style.getLayer(e).queryRadius(t));}e.imageAtlas&&(this.imageAtlas=e.imageAtlas),e.glyphAtlasImage&&(this.glyphAtlasImage=e.glyphAtlasImage),this.dashPositions=e.dashPositions;}else this.collisionBoxArray=new t.ae;else this.state="loaded";}unloadVectorData(){for(const e in this.buckets)this.buckets[e].destroy();this.buckets={},this.imageAtlasTexture&&this.imageAtlasTexture.destroy(),this.glyphAtlasTexture&&this.glyphAtlasTexture.destroy(),this.imageAtlas=null,this.dashPositions=null,this.latestFeatureIndex=null,this.state="unloaded";}getBucket(e){return this.buckets[e.id]}upload(e){for(const t in this.buckets){const i=this.buckets[t];i.uploadPending()&&i.upload(e);}const i=e.gl;this.imageAtlas&&!this.imageAtlas.uploaded&&(this.imageAtlasTexture=new t.T(e,this.imageAtlas.image,i.RGBA),this.imageAtlas.uploaded=!0),this.glyphAtlasImage&&(this.glyphAtlasTexture=new t.T(e,this.glyphAtlasImage,i.ALPHA),this.glyphAtlasImage=null);}prepare(e){this.imageAtlas&&this.imageAtlas.patchUpdatedImages(e,this.imageAtlasTexture);}queryRenderedFeatures(e,t,i,o,a,r,s,n,l,c,h){var u;return (null===(u=this.latestFeatureIndex)||void 0===u?void 0:u.rawTileData)?this.latestFeatureIndex.query({queryGeometry:o,cameraQueryGeometry:a,scale:r,tileSize:this.tileSize,pixelPosMatrix:c,transform:n,params:s,queryPadding:this.queryPadding*l,getElevation:h},e,t,i):{}}querySourceFeatures(e,i){const o=this.latestFeatureIndex;if(!(null==o?void 0:o.rawTileData))return;const a=o.loadVTLayers(),r=(null==i?void 0:i.sourceLayer)?i.sourceLayer:"",s=a[t.ag]||a[r];if(!s)return;const n=t.ah(null==i?void 0:i.filter,null==i?void 0:i.globalState),{z:l,x:c,y:h}=this.tileID.canonical,u={z:l,x:c,y:h};for(let i=0;ie)t=!1;else if(i)if(this.expirationTime({zoom:0,x:0,y:0,wrap:e,fullyVisible:!1}),b=[],y=[];if(e.renderWorldCopies&&n.allowWorldCopies())for(let e=1;e<=3;e++)b.push(x(-e)),b.push(x(e));for(b.push(x(0));b.length>0;){const _=b.pop(),f=_.x,x=_.y;let w=_.fullyVisible;const T={x:f,y:x,z:_.zoom},P=n.getTileBoundingVolume(T,_.wrap,e.elevation,i);if(!w){const e=ye(o,P,a);if(0===e)continue;w=2===e;}const C=n.distanceToTile2d(r.x,r.y,T,P);let M=c;l&&(M=(i.calculateTileZoom||Pe)(e.zoom+t.ar(e.tileSize/i.tileSize),C,g,v,e.fov)),M=(i.roundZoom?Math.round:Math.floor)(M),M=Math.max(0,M);const I=Math.min(M,u);if(_.wrap=n.getWrap(s,T,_.wrap),_.zoom>=I){if(_.zoom>1),wrap:_.wrap,fullyVisible:w});}return y.sort(((e,t)=>e.distanceSq-t.distanceSq)).map((e=>e.tileID))}const Ie=t.a8.fromPoints([new t.P(0,0),new t.P(t.a6,t.a6)]);function Ee(e){return "raster"===e||"image"===e||"video"===e}function Se(e,t,i,o,a,r,s){if(!t.hasData())return !1;const{tileID:n,fadingRole:l,fadingDirection:c,fadingParentID:h}=t;if(l===he.Base&&c===ue.Incoming&&h)return i[h.key]=h,!0;const u=Math.max(n.overscaledZ-a,r);for(let a=n.overscaledZ-1;a>=u;a--){const r=n.scaledTo(a),l=e.getLoadedTile(r);if(l)return t.setCrossFadeLogic({fadingRole:he.Base,fadingDirection:ue.Incoming,fadingParentID:l.tileID,fadeEndTime:o+s}),l.setCrossFadeLogic({fadingRole:he.Parent,fadingDirection:ue.Departing,fadeEndTime:o+s}),i[r.key]=r,!0}return !1}function ze(e,t,i,o,a,r){if(!t.hasData())return !1;const s=t.tileID.children(a);let n=Re(e,t,s,i,o,a,r);if(n)return !0;for(const l of s)Re(e,t,l.children(a),i,o,a,r)&&(n=!0);return n}function Re(e,t,i,o,a,r,s){if(i[0].overscaledZ>=r)return !1;let n=!1;for(const r of i){const i=e.getLoadedTile(r);if(!i)continue;const{fadingRole:l,fadingDirection:c,fadingParentID:h}=i;l===he.Base&&c===ue.Departing&&h||(i.setCrossFadeLogic({fadingRole:he.Base,fadingDirection:ue.Departing,fadingParentID:t.tileID,fadeEndTime:a+s}),t.setCrossFadeLogic({fadingRole:he.Parent,fadingDirection:ue.Incoming,fadeEndTime:a+s})),o[r.key]=r,n=!0;}return n}function De(e,t,i,o){const a=e.tileID;return !!e.selfFading||!e.hasData()&&!!t.has(a)&&(e.setSelfFadeLogic(i+o),!0)}function Ae(e,t){var i;e.needsHillshadePrepare=!0,e.needsTerrainPrepare=!0;let o=t.tileID.canonical.x-e.tileID.canonical.x;const a=t.tileID.canonical.y-e.tileID.canonical.y,r=Math.pow(2,e.tileID.canonical.z),s=t.tileID.key;0===o&&0===a||Math.abs(a)>1||(Math.abs(o)>1&&(1===Math.abs(o+r)?o+=r:1===Math.abs(o-r)&&(o-=r)),t.dem&&e.dem&&(e.dem.backfillBorder(t.dem,o,a),(null===(i=e.neighboringTiles)||void 0===i?void 0:i[s])&&(e.neighboringTiles[s].backfilled=!0)));}class Le{constructor(){this._tiles={};}handleWrapJump(e){const t={};for(const i in this._tiles){const o=this._tiles[i];o.tileID=o.tileID.unwrapTo(o.tileID.wrap+e),t[o.tileID.key]=o;}this._tiles=t;}setFeatureState(e,t){for(const i in this._tiles)this._tiles[i].setFeatureState(e,t);}getAllTiles(){return Object.values(this._tiles)}getAllIds(e=!1){return e?Object.values(this._tiles).map((e=>e.tileID)).sort(t.au).map((e=>e.key)):Object.keys(this._tiles)}getTileById(e){return this._tiles[e]}setTile(e,t){this._tiles[e]=t;}deleteTileById(e){delete this._tiles[e];}getLoadedTile(e){const t=this.getTileById(e.key);return (null==t?void 0:t.hasData())?t:null}isIdRenderable(e,t=!1){var i;return null===(i=this.getTileById(e))||void 0===i?void 0:i.isRenderable(t)}getRenderableIds(e=0,i){const o=[];for(const e of this.getAllIds())this.isIdRenderable(e,i)&&o.push(this.getTileById(e));return i?o.sort(((i,o)=>{const a=i.tileID,r=o.tileID,s=new t.P(a.canonical.x,a.canonical.y)._rotate(-e),n=new t.P(r.canonical.x,r.canonical.y)._rotate(-e);return a.overscaledZ-r.overscaledZ||n.y-s.y||n.x-s.x})).map((e=>e.tileID.key)):o.map((e=>e.tileID)).sort(t.au).map((e=>e.key))}}class Fe extends t.E{constructor(e,i,o){super(),this.id=e,this.dispatcher=o,this.on("data",(e=>{this._dataHandler(e);})),this.on("dataloading",(()=>{this._sourceErrored=!1;})),this.on("error",(()=>{this._sourceErrored=this._source.loaded();})),this._source=((e,t,i,o)=>{const a=new(re(t.type))(e,t,i,o);if(a.id!==e)throw new Error(`Expected Source id to be ${e} instead of ${a.id}`);return a})(e,i,o,this),this._inViewTiles=new Le,this._outOfViewCache=new t.av(0,(e=>this._unloadTile(e))),this._timers={},this._maxTileCacheSize=null,this._maxTileCacheZoomLevels=null,this._rasterFadeDuration=0,this._maxFadingAncestorLevels=5,this._state=new _e,this._didEmitContent=!1,this._updated=!1;}onAdd(e){var t;this.map=e,this._maxTileCacheSize=e?e._maxTileCacheSize:null,this._maxTileCacheZoomLevels=e?e._maxTileCacheZoomLevels:null,(null===(t=this._source)||void 0===t?void 0:t.onAdd)&&this._source.onAdd(e);}onRemove(e){var t;for(const e of this._inViewTiles.getAllTiles())e.unloadVectorData();this.clearTiles(),(null===(t=this._source)||void 0===t?void 0:t.onRemove)&&this._source.onRemove(e),this._inViewTiles=new Le;}loaded(){if(this._sourceErrored)return !0;if(!this._sourceLoaded)return !1;if(!this._source.loaded())return !1;if(!(void 0===this.used&&void 0===this.usedForTerrain||this.used||this.usedForTerrain))return !0;if(!this._updated)return !1;for(const e of this._inViewTiles.getAllTiles())if("loaded"!==e.state&&"errored"!==e.state)return !1;return !0}getSource(){return this._source}getState(){return this._state}pause(){this._paused=!0;}resume(){if(!this._paused)return;const e=this._shouldReloadOnResume;this._paused=!1,this._shouldReloadOnResume=!1,e&&this.reload(),this.transform&&this.update(this.transform,this.terrain);}_loadTile(e,i,o){return t._(this,void 0,void 0,(function*(){try{const t=yield this._source.loadTile(e);this._tileLoaded(e,i,o,t);}catch(i){e.state="errored",404!==i.status?this._source.fire(new t.l(t.d(i),{tile:e})):this.update(this.transform,this.terrain);}}))}_unloadTile(e){this._source.unloadTile&&this._source.unloadTile(e);}_abortTile(e){this._source.abortTile&&this._source.abortTile(e),this._source.fire(new t.n("dataabort",{tile:e,coord:e.tileID,dataType:"source"}));}serialize(){return this._source.serialize()}prepare(e){this._source.prepare&&this._source.prepare(),this._state.coalesceChanges(this._inViewTiles,this.map?this.map.painter:null);for(const t of this._inViewTiles.getAllTiles())t.upload(e),t.prepare(this.map.style.imageManager);}getIds(){return this._inViewTiles.getAllIds(!0)}getRenderableIds(e){var t;return this._inViewTiles.getRenderableIds(null===(t=this.transform)||void 0===t?void 0:t.bearingInRadians,e)}hasRenderableParent(e){const t=e.overscaledZ-1;if(t>=this._source.minzoom){const i=this.getLoadedTile(e.scaledTo(t));if(i)return this._inViewTiles.isIdRenderable(i.tileID.key)}return !1}reload(e,t=void 0){if(this._paused)this._shouldReloadOnResume=!0;else {this._outOfViewCache.reset();for(const i of this._inViewTiles.getAllIds()){const o=this._inViewTiles.getTileById(i);t&&!this._source.shouldReloadTile(o,t)||(e?this._reloadTile(i,"expired"):"errored"!==o.state&&this._reloadTile(i,"reloading"));}}}_reloadTile(e,i){return t._(this,void 0,void 0,(function*(){const t=this._inViewTiles.getTileById(e);t&&("loading"!==t.state&&(t.state=i),yield this._loadTile(t,e,i));}))}_tileLoaded(e,i,o,a){e.timeAdded=c(),e.selfFading&&(e.fadeEndTime=e.timeAdded+this._rasterFadeDuration),"expired"===o&&(e.refreshedUponExpiration=!0),this._setTileReloadTimer(i,e),(null==a?void 0:a.unmodified)||("raster-dem"===this.getSource().type&&e.dem&&function(e,t){var i,o,a;const r=t.getRenderableIds();for(const s of r){if(!(null===(i=e.neighboringTiles)||void 0===i?void 0:i[s]))continue;const r=t.getTileById(s);e.neighboringTiles[s].backfilled||Ae(e,r),(null===(a=null===(o=r.neighboringTiles)||void 0===o?void 0:o[e.tileID.key])||void 0===a?void 0:a.backfilled)||Ae(r,e);}}(e,this._inViewTiles),this._state.initializeTileState(e,this.map?this.map.painter:null),e.aborted||this._source.fire(new t.n("data",{dataType:"source",tile:e,coord:e.tileID})));}getTile(e){return this.getTileByID(e.key)}getTileByID(e){return this._inViewTiles.getTileById(e)}_retainLoadedChildren(e,t){const i=this._getLoadedDescendents(t),o=new Set;for(const a of t){const t=i[a.key];if(!(null==t?void 0:t.length)){o.add(a);continue}const r=a.overscaledZ+Fe.maxOverzooming,s=t.filter((e=>e.tileID.overscaledZ<=r));if(!s.length){o.add(a);continue}const n=Math.min(...s.map((e=>e.tileID.overscaledZ))),l=s.filter((e=>e.tileID.overscaledZ===n)).map((e=>e.tileID));for(const t of l)e[t.key]=t;this._areDescendentsComplete(l,n,a.overscaledZ)||o.add(a);}return o}_getLoadedDescendents(e){var t;const i={};for(const o of this._inViewTiles.getAllTiles().filter((e=>e.hasData())))for(const a of e)o.tileID.isChildOf(a)&&(i[t=a.key]||(i[t]=[]),i[a.key].push(o));return i}_areDescendentsComplete(e,t,i){return 1===e.length&&e[0].isOverscaled()?e[0].overscaledZ===t:Math.pow(4,t-i)===e.length}getLoadedTile(e){return this._inViewTiles.getLoadedTile(e)}updateCacheSize(e){const i=Math.ceil(e.width/this._source.tileSize)+1,o=Math.ceil(e.height/this._source.tileSize)+1,a=Math.floor(i*o*(null===this._maxTileCacheZoomLevels?t.c.MAX_TILE_CACHE_ZOOM_LEVELS:this._maxTileCacheZoomLevels)),r="number"==typeof this._maxTileCacheSize?Math.min(this._maxTileCacheSize,a):a;this._outOfViewCache.setMaxSize(r);}handleWrapJump(e){const t=Math.round((e-(void 0===this._prevLng?e:this._prevLng))/360);this._prevLng=e,t&&(this._inViewTiles.handleWrapJump(t),this._resetTileReloadTimers());}update(e,i){if(!this._sourceLoaded||this._paused)return;let o;this.transform=e,this.terrain=i,this.updateCacheSize(e),this.handleWrapJump(this.transform.center.lng),this.used||this.usedForTerrain?this._source.tileID?o=e.getVisibleUnwrappedCoordinates(this._source.tileID).map((e=>new t.a3(e.canonical.z,e.wrap,e.canonical.z,e.canonical.x,e.canonical.y))):(o=Me(e,{tileSize:this.usedForTerrain?this.tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:"vector"===this._source.type&&void 0!==this.map._zoomLevelsToOverscale?e.maxZoom-this.map._zoomLevelsToOverscale:this._source.maxzoom,roundZoom:!this.usedForTerrain&&this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled,terrain:i,calculateTileZoom:this._source.calculateTileZoom}),this._source.hasTile&&(o=o.filter((e=>this._source.hasTile(e))))):o=[],this.usedForTerrain&&(o=this._addTerrainIdealTiles(o));const a=0===o.length&&!this._updated&&this._didEmitContent;this._updated=!0,a&&this.fire(new t.n("data",{sourceDataType:"idle",dataType:"source",sourceId:this.id}));const r=Ce(e,this._source),s=this._updateRetainedTiles(o,r),n=Ee(this._source.type);n&&this._rasterFadeDuration>0&&!i&&function(e,i,o,a,r,s,n){const l=c(),h=t.at(i);for(const t of i){const i=e.getTileById(t.key);i.fadingDirection!==ue.Departing&&0!==i.fadeOpacity||i.resetFadeLogic(),Se(e,i,o,l,a,r,n)||ze(e,i,o,l,s,n)||De(i,h,l,n)||i.resetFadeLogic();}}(this._inViewTiles,o,s,this._maxFadingAncestorLevels,this._source.minzoom,this._source.maxzoom,this._rasterFadeDuration),n?this._cleanUpRasterTiles(s):this._cleanUpVectorTiles(s);}_cleanUpRasterTiles(e){for(const t of this._inViewTiles.getAllIds())e[t]||this._removeTile(t);}_cleanUpVectorTiles(e){for(const t of this._inViewTiles.getAllIds()){const i=this._inViewTiles.getTileById(t);e[t]?i.clearSymbolFadeHold():i.hasSymbolBuckets?i.holdingForSymbolFade()?i.symbolFadeFinished()&&this._removeTile(t):i.setSymbolHoldDuration(this.map._fadeDuration):this._removeTile(t);}}_addTerrainIdealTiles(e){const t=[];for(const i of e)if(i.canonical.z>this._source.minzoom){const e=i.scaledTo(i.canonical.z-1);t.push(e);const o=i.scaledTo(Math.max(this._source.minzoom,Math.min(i.canonical.z,5)));t.push(o);}return e.concat(t)}releaseSymbolFadeTiles(){for(const e of this._inViewTiles.getAllIds())this._inViewTiles.getTileById(e).holdingForSymbolFade()&&this._removeTile(e);}_updateRetainedTiles(e,t){var i;const o=new Set;for(const t of e)this._addTile(t).hasData()||o.add(t);const a=e.reduce(((e,t)=>(e[t.key]=t,e)),{}),r=this._retainLoadedChildren(a,o),s={},n=Math.max(t-Fe.maxUnderzooming,this._source.minzoom);for(const e of r){let t=this._inViewTiles.getTileById(e.key),o=null==t?void 0:t.wasRequested();for(let r=e.overscaledZ-1;r>=n;--r){const n=e.scaledTo(r);if(s[n.key])break;if(s[n.key]=!0,t=this.getTile(n),!t&&o&&(t=this._addTile(n)),t){const e=t.hasData();if((e||!(null===(i=this.map)||void 0===i?void 0:i.cancelPendingTileRequestsWhileZooming)||o)&&(a[n.key]=n),o=t.wasRequested(),e)break}}}return a}_addTile(e){let i=this._inViewTiles.getTileById(e.key);if(i)return i;i=this._outOfViewCache.getAndRemove(e),i&&(i.resetFadeLogic(),this._setTileReloadTimer(e.key,i),i.tileID=e,this._state.initializeTileState(i,this.map?this.map.painter:null));const o=i;return i||(i=new de(e,this._source.tileSize*e.overscaleFactor()),this._loadTile(i,e.key,i.state)),i.uses++,this._inViewTiles.setTile(e.key,i),o||this._source.fire(new t.n("dataloading",{tile:i,coord:i.tileID,dataType:"source"})),i}_setTileReloadTimer(e,t){this._clearTileReloadTimer(e);const i=t.getExpiryTimeout();i&&(this._timers[e]=setTimeout((()=>{this._reloadTile(e,"expired"),delete this._timers[e];}),i));}_clearTileReloadTimer(e){const t=this._timers[e];t&&(clearTimeout(t),delete this._timers[e]);}_resetTileReloadTimers(){for(const e in this._timers)clearTimeout(this._timers[e]),delete this._timers[e];for(const e of this._inViewTiles.getAllIds()){const t=this._inViewTiles.getTileById(e);this._setTileReloadTimer(e,t);}}refreshTiles(e){for(const t of this._inViewTiles.getAllIds()){const i=this._inViewTiles.getTileById(t);(this._inViewTiles.isIdRenderable(t)||"errored"==i.state)&&e.some((e=>e.equals(i.tileID.canonical)))&&this._reloadTile(t,"expired");}}_removeTile(e){const t=this._inViewTiles.getTileById(e);t&&(t.uses--,this._inViewTiles.deleteTileById(e),this._clearTileReloadTimer(e),t.uses>0||(t.hasData()&&"reloading"!==t.state?this._outOfViewCache.add(t.tileID,t,t.getExpiryTimeout()):(t.aborted=!0,this._abortTile(t),this._unloadTile(t))));}_dataHandler(e){"source"===e.dataType&&("metadata"!==e.sourceDataType?"content"===e.sourceDataType&&this._sourceLoaded&&!this._paused&&(this.reload(e.sourceDataChanged,e.shouldReloadTileOptions),this.transform&&this.update(this.transform,this.terrain),this._didEmitContent=!0):this._sourceLoaded=!0);}clearTiles(){this._shouldReloadOnResume=!1,this._paused=!1;for(const e of this._inViewTiles.getAllIds())this._removeTile(e);this._outOfViewCache.reset();}tilesIn(e,i,o){const a=[],r=this.transform;if(!r)return a;const s=r.getCoveringTilesDetailsProvider().allowWorldCopies(),n=o?r.getCameraQueryGeometry(e):e,l=e=>r.screenPointToMercatorCoordinate(e,this.terrain),c=this.transformBbox(e,l,!s),h=this.transformBbox(n,l,!s),u=this.getIds(),d=t.a8.fromPoints(h);for(const e of u){const o=this._inViewTiles.getTileById(e);if(o.holdingForSymbolFade())continue;const n=s?[o.tileID]:[o.tileID.unwrapTo(-1),o.tileID.unwrapTo(0)],l=Math.pow(2,r.zoom-o.tileID.overscaledZ),u=i*o.queryPadding*t.a6/o.tileSize/l;for(const e of n){const i=d.map((i=>e.getTilePoint(new t.a7(i.x,i.y))));if(i.expandBy(u),i.intersects(Ie)){const t=c.map((t=>e.getTilePoint(t))),i=h.map((t=>e.getTilePoint(t)));a.push({tile:o,tileID:s?e:e.unwrapTo(0),queryGeometry:t,cameraQueryGeometry:i,scale:l});}}}return a}transformBbox(e,i,o){let a=e.map(i);if(o){const o=t.a8.fromPoints(e);o.shrinkBy(.001*Math.min(o.width(),o.height()));const r=o.map(i);t.a8.fromPoints(a).covers(r)||(a=a.map((e=>e.x>.5?new t.a7(e.x-1,e.y,e.z):e)));}return a}getVisibleCoordinates(e){const t=this.getRenderableIds(e).map((e=>this._inViewTiles.getTileById(e).tileID));return this.transform&&this.transform.populateCache(t),t}hasTransition(){return !!this._source.hasTransition()||Ee(this._source.type)&&function(e,t){if(t<=0)return !1;const i=c();for(const t of e.getAllTiles())if(t.fadeEndTime>=i)return !0;return !1}(this._inViewTiles,this._rasterFadeDuration)}setRasterFadeDuration(e){this._rasterFadeDuration=e;}setFeatureState(e,i,o){e||(e=t.ag),this._state.updateState(e,i,o);}removeFeatureState(e,i,o){e||(e=t.ag),this._state.removeFeatureState(e,i,o);}getFeatureState(e,i){return e||(e=t.ag),this._state.getState(e,i)}setDependencies(e,t,i){const o=this._inViewTiles.getTileById(e);o&&o.setDependencies(t,i);}reloadTilesForDependencies(e,t){for(const i of this._inViewTiles.getAllIds())this._inViewTiles.getTileById(i).hasDependency(e,t)&&this._reloadTile(i,"reloading");this._outOfViewCache.filter((i=>!i.hasDependency(e,t)));}areTilesLoaded(){for(const e of this._inViewTiles.getAllTiles())if("loaded"!==e.state&&"errored"!==e.state)return !1;return !0}}Fe.maxUnderzooming=10,Fe.maxOverzooming=3;class ke{constructor(e,t){this.reset(e,t);}reset(e,t){this.points=e||[],this._distances=[0];for(let e=1;e0?(a-s)/n:0;return this.points[r].mult(1-l).add(this.points[i].mult(l))}}function Be(e,t){let i=!0;return "always"===e||"never"!==e&&"never"!==t||(i=!1),i}class Oe{constructor(e,t,i){const o=this.boxCells=[],a=this.circleCells=[];this.xCellCount=Math.ceil(e/i),this.yCellCount=Math.ceil(t/i);for(let e=0;ethis.width||o<0||t>this.height)return [];const n=[];if(e<=0&&t<=0&&this.width<=i&&this.height<=o){if(a)return [{key:null,x1:e,y1:t,x2:i,y2:o}];for(let e=0;e0}hitTestCircle(e,t,i,o,a){const r=e-i,s=e+i,n=t-i,l=t+i;if(s<0||r>this.width||l<0||n>this.height)return !1;const c=[];return this._forEachCell(r,n,s,l,this._queryCellCircle,c,{hitTest:!0,overlapMode:o,circle:{x:e,y:t,radius:i},seenUids:{box:{},circle:{}}},a),c.length>0}_queryCell(e,t,i,o,a,r,s,n){const{seenUids:l,hitTest:c,overlapMode:h}=s,u=this.boxCells[a],d=1e-6;if(null!==u){const a=this.bboxes;for(const s of u)if(!l.box[s]){l.box[s]=!0;const u=4*s,_=this.boxKeys[s];if(e<=a[u+2]+d&&t<=a[u+3]+d&&i>=a[u+0]-d&&o>=a[u+1]-d&&(!n||n(_))&&(!c||!Be(h,_.overlapMode))&&(r.push({key:_,x1:a[u],y1:a[u+1],x2:a[u+2],y2:a[u+3]}),c))return !0}}const _=this.circleCells[a];if(null!==_){const a=this.circles;for(const s of _)if(!l.circle[s]){l.circle[s]=!0;const u=3*s,d=this.circleKeys[s];if(this._circleAndRectCollide(a[u],a[u+1],a[u+2],e,t,i,o)&&(!n||n(d))&&(!c||!Be(h,d.overlapMode))){const e=a[u],t=a[u+1],i=a[u+2];if(r.push({key:d,x1:e-i,y1:t-i,x2:e+i,y2:t+i}),c)return !0}}}return !1}_queryCellCircle(e,t,i,o,a,r,s,n){const{circle:l,seenUids:c,overlapMode:h}=s,u=this.boxCells[a];if(null!==u){const e=this.bboxes;for(const t of u)if(!c.box[t]){c.box[t]=!0;const i=4*t,o=this.boxKeys[t];if(this._circleAndRectCollide(l.x,l.y,l.radius,e[i+0],e[i+1],e[i+2],e[i+3])&&(!n||n(o))&&!Be(h,o.overlapMode))return r.push(!0),!0}}const d=this.circleCells[a];if(null!==d){const e=this.circles;for(const t of d)if(!c.circle[t]){c.circle[t]=!0;const i=3*t,o=this.circleKeys[t];if(this._circlesCollide(e[i],e[i+1],e[i+2],l.x,l.y,l.radius)&&(!n||n(o))&&!Be(h,o.overlapMode))return r.push(!0),!0}}}_forEachCell(e,t,i,o,a,r,s,n){const l=this._convertToXCellCoord(e),c=this._convertToYCellCoord(t),h=this._convertToXCellCoord(i),u=this._convertToYCellCoord(o);for(let d=l;d<=h;d++)for(let l=c;l<=u;l++)if(a.call(this,e,t,i,o,this.xCellCount*l+d,r,s,n))return}_convertToXCellCoord(e){return Math.max(0,Math.min(this.xCellCount-1,Math.floor(e*this.xScale)))}_convertToYCellCoord(e){return Math.max(0,Math.min(this.yCellCount-1,Math.floor(e*this.yScale)))}_circlesCollide(e,t,i,o,a,r){const s=o-e,n=a-t,l=i+r;return l*l>s*s+n*n}_circleAndRectCollide(e,t,i,o,a,r,s){const n=(r-o)/2,l=Math.abs(e-(o+n));if(l>n+i)return !1;const c=(s-a)/2,h=Math.abs(t-(a+c));if(h>c+i)return !1;if(l<=n||h<=c)return !0;const u=l-n,d=h-c;return u*u+d*d<=i*i}}function je(e,t){const i=1/(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]),o=1/(t[8]*t[8]+t[9]*t[9]+t[10]*t[10]),a=t[0]*i,r=t[4]*i,s=t[8]*o,n=t[1]*i,l=t[5]*i,c=t[9]*o,h=t[2]*i,u=t[6]*i,d=t[10]*o;e[0]=a,e[1]=r,e[2]=s,e[4]=n,e[5]=l,e[6]=c,e[8]=h,e[9]=u,e[10]=d;const _=t[12],p=t[13],m=t[14];return e[12]=-a*_-n*p-h*m,e[13]=-r*_-l*p-u*m,e[14]=-s*_-c*p-d*m,e[3]=0,e[7]=0,e[11]=0,e[15]=1,e}const Ne=t.O();function Ze(e,i,a){const r=t.O();if(!e){const{vecSouth:e,vecEast:t}=Ge(i),a=o();a[0]=t[0],a[1]=t[1],a[2]=e[0],a[3]=e[1],s=a,(d=(l=(n=a)[0])*(u=n[3])-(h=n[2])*(c=n[1]))&&(s[0]=u*(d=1/d),s[1]=-c*d,s[2]=-h*d,s[3]=l*d),r[0]=a[0],r[1]=a[1],r[4]=a[2],r[5]=a[3];}var s,n,l,c,h,u,d;return t.S(r,r,[1/a,1/a,1]),r}function Ue(e,i,o,a){if(e){const e=t.O();if(!i){const{vecSouth:t,vecEast:i}=Ge(o);e[0]=i[0],e[1]=i[1],e[4]=t[0],e[5]=t[1];}return t.S(e,e,[a,a,1]),e}return o.pixelsToClipSpaceMatrix}function Ge(e){const i=Math.cos(e.rollInRadians),o=Math.sin(e.rollInRadians),a=Math.cos(e.pitchInRadians),r=Math.cos(e.bearingInRadians),s=Math.sin(e.bearingInRadians),n=t.az();n[0]=-r*a*o-s*i,n[1]=-s*a*o+r*i;const l=t.aA(n);l<1e-9?t.aB(n):t.aC(n,n,1/l);const c=t.az();c[0]=r*a*i-s*o,c[1]=s*a*i+r*o;const h=t.aA(c);return h<1e-9?t.aB(c):t.aC(c,c,1/h),{vecEast:c,vecSouth:n}}function Ve(e,i,o,a){let r;a?(r=[e,i,a(e,i),1],t.aE(r,r,o)):(r=[e,i,0,1],nt(r,r,o));const s=r[3];return {point:new t.P(r[0]/s,r[1]/s),signedDistanceFromCamera:s,isOccluded:!1}}function We(e,t){return .5+e/t*.5}function qe(e,t){return e.x>=-t[0]&&e.x<=t[0]&&e.y>=-t[1]&&e.y<=t[1]}function $e(e,i,o,a,r,s,n,l,c,h,u,d,_){const p=o?e.textSizeData:e.iconSizeData,m=t.aw(p,i.transform.zoom),f=[256/i.width*2+1,256/i.height*2+1],g=o?e.text.dynamicLayoutVertexArray:e.icon.dynamicLayoutVertexArray;g.clear();const v=e.lineVertexArray,x=o?e.text.placedSymbolArray:e.icon.placedSymbolArray,b=i.transform.width/i.transform.height;let y=!1;for(let o=0;oMath.abs(o.x-i.x)*a?{useVertical:!0}:(e===t.ax.vertical?i.yo.x)?{needsFlipping:!0}:null}function Ke(e){const{projectionContext:i,pitchedLabelPlaneMatrixInverse:o,symbol:a,fontSize:r,flip:s,keepUpright:n,glyphOffsetArray:l,dynamicLayoutVertexArray:c,aspectRatio:h,rotateToLine:u}=e,d=r/24,_=a.lineOffsetX*d,p=a.lineOffsetY*d;let m;if(a.numGlyphs>1){const e=a.glyphStartIndex+a.numGlyphs,t=a.lineStartIndex,r=a.lineStartIndex+a.lineLength,c=He(d,l,_,p,s,a,u,i);if(!c)return {notEnoughRoom:!0};const f=et(c.first.point.x,c.first.point.y,i,o),g=et(c.last.point.x,c.last.point.y,i,o);if(n&&!s){const e=Xe(a.writingMode,f,g,h);if(e)return e}m=[c.first];for(let o=a.glyphStartIndex+1;o0?n.point:Ye(i.tileAnchorPoint,s,e,1,i),c=et(e.x,e.y,i,o),u=et(l.x,l.y,i,o),d=Xe(a.writingMode,c,u,h);if(d)return d}const e=at(d*l.getoffsetX(a.glyphStartIndex),_,p,s,a.segment,a.lineStartIndex,a.lineStartIndex+a.lineLength,i,u);if(!e||i.projectionCache.anyProjectionOccluded)return {notEnoughRoom:!0};m=[e];}for(const e of m)t.aD(c,e.point,e.angle);return {}}function Ye(e,t,i,o,a){const r=e.add(e.sub(t)._unit()),s=Je(r.x,r.y,a).point,n=i.sub(s);return i.add(n._mult(o/n.mag()))}function Qe(e,i,o){const a=i.projectionCache;if(a.projections[e])return a.projections[e];const r=new t.P(i.lineVertexArray.getx(e),i.lineVertexArray.gety(e)),s=Je(r.x,r.y,i);if(s.signedDistanceFromCamera>0)return a.projections[e]=s.point,a.anyProjectionOccluded||(a.anyProjectionOccluded=s.isOccluded),s.point;const n=e-o.direction;return Ye(0===o.distanceFromAnchor?i.tileAnchorPoint:new t.P(i.lineVertexArray.getx(n),i.lineVertexArray.gety(n)),r,o.previousVertex,o.absOffsetX-o.distanceFromAnchor+1,i)}function Je(e,t,i){const o=e+i.translation[0],a=t+i.translation[1];let r;return i.pitchWithMap?(r=Ve(o,a,i.pitchedLabelPlaneMatrix,i.getElevation),r.isOccluded=!1):(r=i.transform.projectTileCoordinates(o,a,i.unwrappedTileID,i.getElevation),r.point.x=(.5*r.point.x+.5)*i.width,r.point.y=(.5*-r.point.y+.5)*i.height),r}function et(e,i,o,a){if(o.pitchWithMap){const r=[e,i,0,1];return t.aE(r,r,a),o.transform.projectTileCoordinates(r[0]/r[3],r[1]/r[3],o.unwrappedTileID,o.getElevation).point}return {x:e/o.width*2-1,y:1-i/o.height*2}}function tt(e,t,i){return i.transform.projectTileCoordinates(e,t,i.unwrappedTileID,i.getElevation)}function it(e,t,i){return e._unit()._perp()._mult(t*i)}function ot(e,i,o,a,r,s,n,l,c){if(l.projectionCache.offsets[e])return l.projectionCache.offsets[e];const h=o.add(i);if(e+c.direction=r)return l.projectionCache.offsets[e]=h,h;const u=Qe(e+c.direction,l,c),d=it(u.sub(o),n,c.direction),_=o.add(d),p=u.add(d);return l.projectionCache.offsets[e]=t.aF(s,h,_,p)||h,l.projectionCache.offsets[e]}function at(e,t,i,o,a,r,s,n,l){const c=o?e-t:e+t;let h=c>0?1:-1,u=0;o&&(h*=-1,u=Math.PI),h<0&&(u+=Math.PI);let d,_=h>0?r+a:r+a+1;n.projectionCache.cachedAnchorPoint?d=n.projectionCache.cachedAnchorPoint:(d=Je(n.tileAnchorPoint.x,n.tileAnchorPoint.y,n).point,n.projectionCache.cachedAnchorPoint=d);let p,m,f=d,g=d,v=0,x=0;const b=Math.abs(c),y=[];let w;for(;v+x<=b;){if(_+=h,_=s)return null;v+=x,g=f,m=p;const e={absOffsetX:b,direction:h,distanceFromAnchor:v,previousVertex:g};if(f=Qe(_,n,e),0===i)y.push(g),w=f.sub(g);else {let t;const o=f.sub(g);t=0===o.mag()?it(Qe(_+h,n,e).sub(f),i,h):it(o,i,h),m||(m=g.add(t)),p=ot(_,t,f,r,s,m,i,n,e),y.push(m),w=p.sub(m);}x=w.mag();}const T=w._mult((b-v)/x)._add(m||g),P=u+Math.atan2(f.y-g.y,f.x-g.x);return y.push(T),{point:T,angle:l?P:0,path:y}}const rt=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function st(e,t){for(let i=0;i=1;e--)_.push(s.path[e]);for(let e=1;ee.signedDistanceFromCamera<=0))?[]:e.map((e=>e.point));}let f=[];if(_.length>0){const e=_[0].clone(),i=_[0].clone();for(let t=1;t<_.length;t++)e.x=Math.min(e.x,_[t].x),e.y=Math.min(e.y,_[t].y),i.x=Math.max(i.x,_[t].x),i.y=Math.max(i.y,_[t].y);f=e.x>=o.x&&i.x<=a.x&&e.y>=o.y&&i.y<=a.y?[_]:i.xa.x||i.ya.y?[]:t.aG([_],o.x,o.y,a.x,a.y);}for(const t of f){r.reset(t,.25*i);let o=0;o=r.length<=.5*i?1:Math.ceil(r.paddedLength/p)+1;for(let t=0;t{const o=Ve(e.x,e.y,i,t.getElevation),a=t.transform.projectTileCoordinates(o.point.x,o.point.y,t.unwrappedTileID,t.getElevation);return a.point.x=(.5*a.point.x+.5)*t.width,a.point.y=(.5*-a.point.y+.5)*t.height,a}))}(e,t);return function(e){let t=0,i=0,o=0,a=0;for(let r=0;ri&&(i=a,t=o));return e.slice(t,t+i)}(i)}queryRenderedSymbols(e){if(0===e.length||0===this.grid.keysLength()&&0===this.ignoredGrid.keysLength())return {};const i=[],o=new t.a8;for(const a of e){const e=new t.P(a.x+lt,a.y+lt);o.extend(e),i.push(e);}const{minX:a,minY:r,maxX:s,maxY:n}=o,l=this.grid.query(a,r,s,n).concat(this.ignoredGrid.query(a,r,s,n)),c={},h={};for(const e of l){const o=e.key;if(void 0===c[o.bucketInstanceId]&&(c[o.bucketInstanceId]={}),c[o.bucketInstanceId][o.featureIndex])continue;const a=[new t.P(e.x1,e.y1),new t.P(e.x2,e.y1),new t.P(e.x2,e.y2),new t.P(e.x1,e.y2)];t.aH(i,a)&&(c[o.bucketInstanceId][o.featureIndex]=!0,void 0===h[o.bucketInstanceId]&&(h[o.bucketInstanceId]=[]),h[o.bucketInstanceId].push(o.featureIndex));}return h}insertCollisionBox(e,t,i,o,a,r){(i?this.ignoredGrid:this.grid).insert({bucketInstanceId:o,featureIndex:a,collisionGroupID:r,overlapMode:t},e[0],e[1],e[2],e[3]);}insertCollisionCircles(e,t,i,o,a,r){const s=i?this.ignoredGrid:this.grid,n={bucketInstanceId:o,featureIndex:a,collisionGroupID:r,overlapMode:t};for(let t=0;t=this.screenRightBoundary||othis.screenBottomBoundary}isInsideGrid(e,t,i,o){return i>=0&&e=0&&tthis.projectAndGetPerspectiveRatio(e.x,e.y,a,c,u)));S=e.some((e=>!e.isOccluded)),E=e.map((e=>new t.P(e.x,e.y)));}else S=!0;return {box:t.aI(E),allPointsOccluded:!S}}}class ht{constructor(e,t,i,o){this.opacity=e?Math.max(0,Math.min(1,e.opacity+(e.placed?t:-t))):o&&i?1:0,this.placed=i;}isHidden(){return 0===this.opacity&&!this.placed}}class ut{constructor(e,t,i,o,a){this.text=new ht(e?e.text:null,t,i,a),this.icon=new ht(e?e.icon:null,t,o,a);}isHidden(){return this.text.isHidden()&&this.icon.isHidden()}}class dt{constructor(e,t,i){this.text=e,this.icon=t,this.skipFade=i;}}class _t{constructor(e,t,i,o,a){this.bucketInstanceId=e,this.featureIndex=t,this.sourceLayerIndex=i,this.bucketIndex=o,this.tileID=a;}}class pt{constructor(e){this.crossSourceCollisions=e,this.maxGroupID=0,this.collisionGroups={};}get(e){if(this.crossSourceCollisions)return {ID:0,predicate:null};if(!this.collisionGroups[e]){const t=++this.maxGroupID;this.collisionGroups[e]={ID:t,predicate:e=>e.collisionGroupID===t};}return this.collisionGroups[e]}}function mt(e,i,o,a,r){const{horizontalAlign:s,verticalAlign:n}=t.aP(e);return new t.P(-(s-.5)*i+a[0]*r,-(n-.5)*o+a[1]*r)}class ft{constructor(e,t,i,o,a){this.transform=e.clone(),this.terrain=t,this.collisionIndex=new ct(this.transform),this.placements={},this.opacities={},this.variableOffsets={},this.stale=!1,this.commitTime=0,this.fadeDuration=i,this.retainedQueryData={},this.collisionGroups=new pt(o),this.collisionCircleArrays={},this.collisionBoxArrays=new Map,this.prevPlacement=a,a&&(a.prevPlacement=void 0),this.placedOrientations={};}_getTerrainElevationFunc(e){const t=this.terrain;return t?(i,o)=>t.getElevation(e,i,o):null}getBucketParts(e,i,o,a){const r=o.getBucket(i),s=o.latestFeatureIndex;if(!r||!s||i.id!==r.layerIds[0])return;const n=o.collisionBoxArray,l=r.layers[0].layout,c=r.layers[0].paint,h=Math.pow(2,this.transform.zoom-o.tileID.overscaledZ),u=o.tileSize/t.a6,d=o.tileID.toUnwrapped(),_="map"===l.get("text-rotation-alignment"),p=t.aK(o,1,this.transform.zoom),m=t.aL(this.collisionIndex.transform,o,c.get("text-translate"),c.get("text-translate-anchor")),f=t.aL(this.collisionIndex.transform,o,c.get("icon-translate"),c.get("icon-translate-anchor")),g=Ze(_,this.transform,p);this.retainedQueryData[r.bucketInstanceId]=new _t(r.bucketInstanceId,s,r.sourceLayerIndex,r.index,o.tileID);const v={bucket:r,layout:l,translationText:m,translationIcon:f,unwrappedTileID:d,pitchedLabelPlaneMatrix:g,scale:h,textPixelRatio:u,holdingForFade:o.holdingForSymbolFade(),collisionBoxArray:n,partiallyEvaluatedTextSize:t.aw(r.textSizeData,this.transform.zoom),collisionGroup:this.collisionGroups.get(r.sourceID)};if(a)for(const t of r.sortKeyRanges){const{sortKey:i,symbolInstanceStart:o,symbolInstanceEnd:a}=t;e.push({sortKey:i,symbolInstanceStart:o,symbolInstanceEnd:a,parameters:v});}else e.push({symbolInstanceStart:0,symbolInstanceEnd:r.symbolInstances.length,parameters:v});}attemptAnchorPlacement(e,i,o,a,r,s,n,l,c,h,u,d,_,p,m,f,g,v,x,b){var y,w,T;const P=t.aM[e.textAnchor],C=[e.textOffset0,e.textOffset1],M=mt(P,o,a,C,r),I=this.collisionIndex.placeCollisionBox(i,d,l,c,h,n,s,f,u.predicate,x,M,b);if((!v||this.collisionIndex.placeCollisionBox(v,d,l,c,h,n,s,g,u.predicate,x,M,b).placeable)&&I.placeable){let e;if((null===(y=this.prevPlacement)||void 0===y?void 0:y.variableOffsets[_.crossTileID])&&(null===(T=null===(w=this.prevPlacement)||void 0===w?void 0:w.placements[_.crossTileID])||void 0===T?void 0:T.text)&&(e=this.prevPlacement.variableOffsets[_.crossTileID].anchor),0===_.crossTileID)throw new Error("symbolInstance.crossTileID can't be 0");return this.variableOffsets[_.crossTileID]={textOffset:C,width:o,height:a,anchor:P,textBoxScale:r,prevAnchor:e},this.markUsedJustification(p,P,_,m),p.allowVerticalPlacement&&(this.markUsedOrientation(p,m,_),this.placedOrientations[_.crossTileID]=m),{shift:M,placedGlyphBoxes:I}}}placeLayerBucketPart(e,i,o){const{bucket:a,layout:r,translationText:s,translationIcon:n,unwrappedTileID:l,pitchedLabelPlaneMatrix:c,textPixelRatio:h,holdingForFade:u,collisionBoxArray:d,partiallyEvaluatedTextSize:_,collisionGroup:p}=e.parameters,m=r.get("text-optional"),f=r.get("icon-optional"),g=t.aN(r,"text-overlap","text-allow-overlap"),v="always"===g,x=t.aN(r,"icon-overlap","icon-allow-overlap"),b="always"===x,y="map"===r.get("text-rotation-alignment"),w="map"===r.get("text-pitch-alignment"),T="none"!==r.get("icon-text-fit"),P="viewport-y"===r.get("symbol-z-order"),C=v&&(b||!a.hasIconData()||f),M=b&&(v||!a.hasTextData()||m);!a.collisionArrays&&d&&a.deserializeCollisionBoxes(d);const I=this.retainedQueryData[a.bucketInstanceId].tileID,E=this._getTerrainElevationFunc(I),S=this.transform.getFastPathSimpleProjectionMatrix(I),z=(e,d,b)=>{var P,z;if(i[e.crossTileID])return;if(u)return void(this.placements[e.crossTileID]=new dt(!1,!1,!1));let R=!1,D=!1,A=!0,L=null,F={box:null,placeable:!1,offscreen:null,occluded:!1},k={placeable:!1},B=null,O=null,j=null,N=0,Z=0,U=0;d.textFeatureIndex?N=d.textFeatureIndex:e.useRuntimeCollisionCircles&&(N=e.featureIndex),d.verticalTextFeatureIndex&&(Z=d.verticalTextFeatureIndex);const G=d.textBox;if(G){const i=i=>{let o=t.ax.horizontal;if(a.allowVerticalPlacement&&!i&&this.prevPlacement){const t=this.prevPlacement.placedOrientations[e.crossTileID];t&&(this.placedOrientations[e.crossTileID]=t,o=t,this.markUsedOrientation(a,o,e));}return o},r=(i,o)=>{if(a.allowVerticalPlacement&&e.numVerticalGlyphVertices>0&&d.verticalTextBox){for(const e of a.writingModes)if(e===t.ax.vertical?(F=o(),k=F):F=i(),null==F?void 0:F.placeable)break}else F=i();},c=e.textAnchorOffsetStartIndex,u=e.textAnchorOffsetEndIndex;if(u===c){const o=(t,i)=>{const o=this.collisionIndex.placeCollisionBox(t,g,h,I,l,w,y,s,p.predicate,E,void 0,S);return (null==o?void 0:o.placeable)&&(this.markUsedOrientation(a,i,e),this.placedOrientations[e.crossTileID]=i),o};r((()=>o(G,t.ax.horizontal)),(()=>{const i=d.verticalTextBox;return a.allowVerticalPlacement&&e.numVerticalGlyphVertices>0&&i?o(i,t.ax.vertical):{box:null,offscreen:null}})),i(null==F?void 0:F.placeable);}else {let _=t.aM[null===(z=null===(P=this.prevPlacement)||void 0===P?void 0:P.variableOffsets[e.crossTileID])||void 0===z?void 0:z.anchor];const m=(t,i,r)=>{const d=t.x2-t.x1,m=t.y2-t.y1,f=e.textBoxScale,v=T&&"never"===x?i:null;let b=null,P="never"===g?1:2,C="never";_&&P++;for(let i=0;im(G,d.iconBox,t.ax.horizontal)),(()=>{const i=d.verticalTextBox;return a.allowVerticalPlacement&&!(null==F?void 0:F.placeable)&&e.numVerticalGlyphVertices>0&&i?m(i,d.verticalIconBox,t.ax.vertical):{box:null,occluded:!0,offscreen:null}})),F&&(R=F.placeable,A=F.offscreen);const f=i(null==F?void 0:F.placeable);if(!R&&this.prevPlacement){const t=this.prevPlacement.variableOffsets[e.crossTileID];t&&(this.variableOffsets[e.crossTileID]=t,this.markUsedJustification(a,t.anchor,e,f));}}}if(B=F,R=null==B?void 0:B.placeable,A=null==B?void 0:B.offscreen,e.useRuntimeCollisionCircles&&e.centerJustifiedTextSymbolIndex>=0){const i=a.text.placedSymbolArray.get(e.centerJustifiedTextSymbolIndex),n=t.ay(a.textSizeData,_,i),h=r.get("text-padding");O=this.collisionIndex.placeCollisionCircles(g,i,a.lineVertexArray,a.glyphOffsetArray,n,l,c,o,w,p.predicate,e.collisionCircleDiameter,h,s,E),O.circles.length&&O.collisionDetected&&!o&&t.w("Collisions detected, but collision boxes are not shown"),R=v||O.circles.length>0&&!O.collisionDetected,A&&(A=O.offscreen);}if(d.iconFeatureIndex&&(U=d.iconFeatureIndex),d.iconBox){const e=e=>this.collisionIndex.placeCollisionBox(e,x,h,I,l,w,y,n,p.predicate,E,T&&L?L:void 0,S);k&&k.placeable&&d.verticalIconBox?(j=e(d.verticalIconBox),D=j.placeable):(j=e(d.iconBox),D=j.placeable),A&&(A=j.offscreen);}const V=m||0===e.numHorizontalGlyphVertices&&0===e.numVerticalGlyphVertices,W=f||0===e.numIconVertices;V||W?W?V||D&&(D=R):R=D&&R:D=R=D&&R;const q=D&&j.placeable;if(R&&B.placeable&&this.collisionIndex.insertCollisionBox(B.box,g,r.get("text-ignore-placement"),a.bucketInstanceId,k&&k.placeable&&Z?Z:N,p.ID),q&&this.collisionIndex.insertCollisionBox(j.box,x,r.get("icon-ignore-placement"),a.bucketInstanceId,U,p.ID),O&&R&&this.collisionIndex.insertCollisionCircles(O.circles,g,r.get("text-ignore-placement"),a.bucketInstanceId,N,p.ID),o&&this.storeCollisionData(a.bucketInstanceId,b,d,B,j,O),0===e.crossTileID)throw new Error("symbolInstance.crossTileID can't be 0");if(0===a.bucketInstanceId)throw new Error("bucket.bucketInstanceId can't be 0");this.placements[e.crossTileID]=new dt((R||C)&&!(null==B?void 0:B.occluded),(D||M)&&!(null==j?void 0:j.occluded),A||a.justReloaded),i[e.crossTileID]=!0;};if(P){if(0!==e.symbolInstanceStart)throw new Error("bucket.bucketInstanceId should be 0");const t=a.getSortedSymbolIndexes(-this.transform.bearingInRadians);for(let e=t.length-1;e>=0;--e){const i=t[e];z(a.symbolInstances.get(i),a.collisionArrays[i],i);}}else for(let t=e.symbolInstanceStart;t=0&&(e.text.placedSymbolArray.get(t).crossTileID=r>=0&&t!==r?0:o.crossTileID);}markUsedOrientation(e,i,o){const a=i===t.ax.horizontal||i===t.ax.horizontalOnly?i:0,r=i===t.ax.vertical?i:0,s=[o.leftJustifiedTextSymbolIndex,o.centerJustifiedTextSymbolIndex,o.rightJustifiedTextSymbolIndex];for(const t of s)e.text.placedSymbolArray.get(t).placedOrientation=a;o.verticalPlacedTextSymbolIndex&&(e.text.placedSymbolArray.get(o.verticalPlacedTextSymbolIndex).placedOrientation=r);}commit(e){this.commitTime=e,this.zoomAtLastRecencyCheck=this.transform.zoom;const t=this.prevPlacement;let i=!1;this.prevZoomAdjustment=t?t.zoomAdjustment(this.transform.zoom):0;const o=t?t.symbolFadeChange(e):1,a=t?t.opacities:{},r=t?t.variableOffsets:{},s=t?t.placedOrientations:{};for(const e in this.placements){const t=this.placements[e],r=a[e];r?(this.opacities[e]=new ut(r,o,t.text,t.icon),i||(i=t.text!==r.text.placed),i||(i=t.icon!==r.icon.placed)):(this.opacities[e]=new ut(null,o,t.text,t.icon,t.skipFade),i||(i=t.text||t.icon));}for(const e in a){const t=a[e];if(!this.opacities[e]){const a=new ut(t,o,!1,!1);a.isHidden()||(this.opacities[e]=a,i||(i=t.text.placed),i||(i=t.icon.placed));}}for(const e in r)this.variableOffsets[e]||!this.opacities[e]||this.opacities[e].isHidden()||(this.variableOffsets[e]=r[e]);for(const e in s)this.placedOrientations[e]||!this.opacities[e]||this.opacities[e].isHidden()||(this.placedOrientations[e]=s[e]);if(t&&void 0===t.lastPlacementChangeTime)throw new Error("Last placement time for previous placement is not defined");i?this.lastPlacementChangeTime=e:"number"!=typeof this.lastPlacementChangeTime&&(this.lastPlacementChangeTime=t?t.lastPlacementChangeTime:e);}updateLayerOpacities(e,t){const i={};for(const o of t){const t=o.getBucket(e);t&&o.latestFeatureIndex&&e.id===t.layerIds[0]&&this.updateBucketOpacities(t,o.tileID,i,o.collisionBoxArray);}}updateBucketOpacities(e,i,o,a){e.hasTextData()&&(e.text.opacityVertexArray.clear(),e.text.hasVisibleVertices=!1),e.hasIconData()&&(e.icon.opacityVertexArray.clear(),e.icon.hasVisibleVertices=!1),e.hasIconCollisionBoxData()&&e.iconCollisionBox.collisionVertexArray.clear(),e.hasTextCollisionBoxData()&&e.textCollisionBox.collisionVertexArray.clear();const r=e.layers[0],s=r.layout,n=new ut(null,0,!1,!1,!0),l=s.get("text-allow-overlap"),c=s.get("icon-allow-overlap"),h=r._unevaluatedLayout.hasValue("text-variable-anchor")||r._unevaluatedLayout.hasValue("text-variable-anchor-offset"),u="map"===s.get("text-rotation-alignment"),d="map"===s.get("text-pitch-alignment"),_="none"!==s.get("icon-text-fit"),p=new ut(null,0,l&&(c||!e.hasIconData()||s.get("icon-optional")),c&&(l||!e.hasTextData()||s.get("text-optional")),!0);!e.collisionArrays&&a&&(e.hasIconCollisionBoxData()||e.hasTextCollisionBoxData())&&e.deserializeCollisionBoxes(a);const m=(e,t,i)=>{for(let o=0;o0,v=this.placedOrientations[a.crossTileID],x=v===t.ax.vertical,b=v===t.ax.horizontal||v===t.ax.horizontalOnly;if(r>0||s>0){const t=Ct(c.text);m(e.text,r,x?Mt:t),m(e.text,s,b?Mt:t);const i=c.text.isHidden(),o=[a.rightJustifiedTextSymbolIndex,a.centerJustifiedTextSymbolIndex,a.leftJustifiedTextSymbolIndex];for(const t of o)t>=0&&(e.text.placedSymbolArray.get(t).hidden=i||x?1:0);a.verticalPlacedTextSymbolIndex>=0&&(e.text.placedSymbolArray.get(a.verticalPlacedTextSymbolIndex).hidden=i||b?1:0);const n=this.variableOffsets[a.crossTileID];n&&this.markUsedJustification(e,n.anchor,a,v);const l=this.placedOrientations[a.crossTileID];l&&(this.markUsedJustification(e,"left",a,l),this.markUsedOrientation(e,l,a));}if(g){const t=Ct(c.icon),i=!(_&&a.verticalPlacedIconSymbolIndex&&x);a.placedIconSymbolIndex>=0&&(m(e.icon,a.numIconVertices,i?t:Mt),e.icon.placedSymbolArray.get(a.placedIconSymbolIndex).hidden=c.icon.isHidden()),a.verticalPlacedIconSymbolIndex>=0&&(m(e.icon,a.numVerticalIconVertices,i?Mt:t),e.icon.placedSymbolArray.get(a.verticalPlacedIconSymbolIndex).hidden=c.icon.isHidden());}const y=(null==f?void 0:f.has(i))?f.get(i):{text:null,icon:null};if(e.hasIconCollisionBoxData()||e.hasTextCollisionBoxData()){const o=e.collisionArrays[i];if(o){let i=new t.P(0,0);if(o.textBox||o.verticalTextBox){let t=!0;if(h){const e=this.variableOffsets[l];e?(i=mt(e.anchor,e.width,e.height,e.textOffset,e.textBoxScale),u&&i._rotate(d?-this.transform.bearingInRadians:this.transform.bearingInRadians)):t=!1;}if(o.textBox||o.verticalTextBox){let a;o.textBox&&(a=x),o.verticalTextBox&&(a=b),gt(e.textCollisionBox.collisionVertexArray,c.text.placed,!t||a,y.text,i.x,i.y);}}if(o.iconBox||o.verticalIconBox){const t=Boolean(!b&&o.verticalIconBox);let a;o.iconBox&&(a=t),o.verticalIconBox&&(a=!t),gt(e.iconCollisionBox.collisionVertexArray,c.icon.placed,a,y.icon,_?i.x:0,_?i.y:0);}}}}if(e.sortFeatures(-this.transform.bearingInRadians),this.retainedQueryData[e.bucketInstanceId]&&(this.retainedQueryData[e.bucketInstanceId].featureSortOrder=e.featureSortOrder),e.hasTextData()&&e.text.opacityVertexBuffer&&e.text.opacityVertexBuffer.updateData(e.text.opacityVertexArray),e.hasIconData()&&e.icon.opacityVertexBuffer&&e.icon.opacityVertexBuffer.updateData(e.icon.opacityVertexArray),e.hasIconCollisionBoxData()&&e.iconCollisionBox.collisionVertexBuffer&&e.iconCollisionBox.collisionVertexBuffer.updateData(e.iconCollisionBox.collisionVertexArray),e.hasTextCollisionBoxData()&&e.textCollisionBox.collisionVertexBuffer&&e.textCollisionBox.collisionVertexBuffer.updateData(e.textCollisionBox.collisionVertexArray),e.text.opacityVertexArray.length!==e.text.layoutVertexArray.length/4)throw new Error(`bucket.text.opacityVertexArray.length (= ${e.text.opacityVertexArray.length}) !== bucket.text.layoutVertexArray.length (= ${e.text.layoutVertexArray.length}) / 4`);if(e.icon.opacityVertexArray.length!==e.icon.layoutVertexArray.length/4)throw new Error(`bucket.icon.opacityVertexArray.length (= ${e.icon.opacityVertexArray.length}) !== bucket.icon.layoutVertexArray.length (= ${e.icon.layoutVertexArray.length}) / 4`);e.bucketInstanceId in this.collisionCircleArrays&&(e.collisionCircleArray=this.collisionCircleArrays[e.bucketInstanceId],delete this.collisionCircleArrays[e.bucketInstanceId]);}symbolFadeChange(e){return 0===this.fadeDuration?1:(e-this.commitTime)/this.fadeDuration+this.prevZoomAdjustment}zoomAdjustment(e){return Math.max(0,(this.transform.zoom-e)/1.5)}hasTransitions(e){return this.stale||e-this.lastPlacementChangeTimee}setStale(){this.stale=!0;}}function gt(e,t,i,o,a,r){o&&0!==o.length||(o=[0,0,0,0]);const s=o[0]-lt,n=o[1]-lt,l=o[2]-lt,c=o[3]-lt;e.emplaceBack(t?1:0,i?1:0,a||0,r||0,s,n),e.emplaceBack(t?1:0,i?1:0,a||0,r||0,l,n),e.emplaceBack(t?1:0,i?1:0,a||0,r||0,l,c),e.emplaceBack(t?1:0,i?1:0,a||0,r||0,s,c);}const vt=Math.pow(2,25),xt=Math.pow(2,24),bt=Math.pow(2,17),yt=Math.pow(2,16),wt=Math.pow(2,9),Tt=Math.pow(2,8),Pt=Math.pow(2,1);function Ct(e){if(0===e.opacity&&!e.placed)return 0;if(1===e.opacity&&e.placed)return 4294967295;const t=e.placed?1:0,i=Math.floor(127*e.opacity);return i*vt+t*xt+i*bt+t*yt+i*wt+t*Tt+i*Pt+t}const Mt=0;class It{constructor(e){this._sortAcrossTiles="viewport-y"!==e.layout.get("symbol-z-order")&&!e.layout.get("symbol-sort-key").isConstant(),this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[];}continuePlacement(e,t,i,o,a){const r=this._bucketParts;for(;this._currentTileIndexe.sortKey-t.sortKey)));this._currentPartIndex!this._forceFullPlacement&&c()-a>2;for(;this._currentPlacementIndex>=0;){const a=i[e[this._currentPlacementIndex]],s=this.placement.collisionIndex.transform.zoom;if(t.aQ(a)&&a.layout&&(!a.minzoom||a.minzoom<=s)&&(!a.maxzoom||a.maxzoom>s)){if(this._inProgressLayer||(this._inProgressLayer=new It(a)),this._inProgressLayer.continuePlacement(o[a.source],this.placement,this._showCollisionBoxes,a,r))return;delete this._inProgressLayer;}this._currentPlacementIndex--;}this._done=!0;}commit(e){return this.placement.commit(e),this.placement}}const St=512/t.a6/2;class zt{constructor(e,i,o){this.tileID=e,this.bucketInstanceId=o,this._symbolsByKey={};const a=new Map;for(let e=0;e({x:Math.floor(e.anchorX*St),y:Math.floor(e.anchorY*St)}))),crossTileIDs:i.map((e=>e.crossTileID))};if(o.positions.length>128){const e=new t.aR(o.positions.length,16,Uint16Array);for(const{x:t,y:i}of o.positions)e.add(t,i);e.finish(),delete o.positions,o.index=e;}this._symbolsByKey[e]=o;}}getScaledCoordinates(e,i){const{x:o,y:a,z:r}=this.tileID.canonical,{x:s,y:n,z:l}=i.canonical,c=St/Math.pow(2,l-r),h=(n*t.a6+e.anchorY)*c,u=a*t.a6*St;return {x:Math.floor((s*t.a6+e.anchorX)*c-o*t.a6*St),y:Math.floor(h-u)}}findMatches(e,t,i){const o=this.tileID.canonical.ze))}}class Rt{constructor(){this.maxCrossTileID=0;}generate(){return ++this.maxCrossTileID}}class Dt{constructor(){this.indexes={},this.usedCrossTileIDs={},this.lng=0;}handleWrapJump(e){const t=Math.round((e-this.lng)/360);if(0!==t)for(const e in this.indexes){const i=this.indexes[e],o={};for(const e in i){const a=i[e];a.tileID=a.tileID.unwrapTo(a.tileID.wrap+t),o[a.tileID.key]=a;}this.indexes[e]=o;}this.lng=e;}addBucket(e,t,i){var o,a,r;if(null===(o=this.indexes[e.overscaledZ])||void 0===o?void 0:o[e.key]){if(this.indexes[e.overscaledZ][e.key].bucketInstanceId===t.bucketInstanceId)return !1;this.removeBucketCrossTileIDs(e.overscaledZ,this.indexes[e.overscaledZ][e.key]);}for(let e=0;ee.overscaledZ)for(const i in o){const a=o[i];a.tileID.isChildOf(e)&&a.findMatches(t.symbolInstances,e,s);}else {const a=o[e.scaledTo(Number(i)).key];a&&a.findMatches(t.symbolInstances,e,s);}}for(let e=0;e 0.95) return 1.0;return (d+depthOpacity(frag+vec3(0.0,0.01,0.0)))/2.0;\n#else\nreturn 1.0;\n#endif\n}float ele(vec2 pos) {\n#ifdef TERRAIN3D\nvec4 rgb=(texture(u_terrain,pos)*255.0)*u_terrain_unpack;return rgb.r+rgb.g+rgb.b-u_terrain_unpack.a;\n#else\nreturn 0.0;\n#endif\n}float get_elevation(vec2 pos) {\n#ifdef TERRAIN3D\n#ifdef GLOBE\nif ((pos.y <-32767.5) || (pos.y > 32766.5)) {return 0.0;}\n#endif\nvec2 coord=(u_terrain_matrix*vec4(pos,0.0,1.0)).xy*u_terrain_dim+1.0;vec2 f=fract(coord);vec2 c=(floor(coord)+0.5)/(u_terrain_dim+2.0);float d=1.0/(u_terrain_dim+2.0);float tl=ele(c);float tr=ele(c+vec2(d,0.0));float bl=ele(c+vec2(0.0,d));float br=ele(c+vec2(d,d));float elevation=mix(mix(tl,tr,f.x),mix(bl,br,f.x),f.y);return elevation*u_terrain_exaggeration;\n#else\nreturn 0.0;\n#endif\n}const float PI=3.141592653589793;uniform mat4 u_projection_matrix;"),projectionMercator:kt("","float projectLineThickness(float tileY) {return 1.0;}float projectCircleRadius(float tileY) {return 1.0;}vec4 projectTile(vec2 p) {vec4 result=u_projection_matrix*vec4(p,0.0,1.0);return result;}vec4 projectTile(vec2 p,vec2 rawPos) {vec4 result=u_projection_matrix*vec4(p,0.0,1.0);if (rawPos.y <-32767.5 || rawPos.y > 32766.5) {result.z=-10000000.0;}return result;}vec4 projectTileWithElevation(vec2 posInTile,float elevation) {return u_projection_matrix*vec4(posInTile,elevation,1.0);}vec4 projectTileFor3D(vec2 posInTile,float elevation) {return projectTileWithElevation(posInTile,elevation);}"),projectionGlobe:kt("","#define GLOBE_RADIUS 6371008.8\nuniform highp vec4 u_projection_tile_mercator_coords;uniform highp vec4 u_projection_clipping_plane;uniform highp float u_projection_transition;uniform mat4 u_projection_fallback_matrix;vec3 globeRotateVector(vec3 vec,vec2 angles) {vec3 axisRight=vec3(vec.z,0.0,-vec.x);vec3 axisUp=cross(axisRight,vec);axisRight=normalize(axisRight);axisUp=normalize(axisUp);vec2 t=tan(angles);return normalize(vec+axisRight*t.x+axisUp*t.y);}mat3 globeGetRotationMatrix(vec3 spherePos) {vec3 axisRight=vec3(spherePos.z,0.0,-spherePos.x);vec3 axisDown=cross(axisRight,spherePos);axisRight=normalize(axisRight);axisDown=normalize(axisDown);return mat3(axisRight,axisDown,spherePos\n);}float circumferenceRatioAtTileY(float tileY) {float mercator_pos_y=u_projection_tile_mercator_coords.y+u_projection_tile_mercator_coords.w*tileY;float spherical_y=2.0*atan(exp(PI-(mercator_pos_y*PI*2.0)))-PI*0.5;return cos(spherical_y);}float projectLineThickness(float tileY) {float thickness=1.0/circumferenceRatioAtTileY(tileY); \nif (u_projection_transition < 0.999) {return mix(1.0,thickness,u_projection_transition);} else {return thickness;}}vec3 projectToSphere(vec2 translatedPos,vec2 rawPos) {vec2 mercator_pos=u_projection_tile_mercator_coords.xy+u_projection_tile_mercator_coords.zw*translatedPos;vec2 spherical;spherical.x=mercator_pos.x*PI*2.0+PI;spherical.y=2.0*atan(exp(PI-(mercator_pos.y*PI*2.0)))-PI*0.5;float len=cos(spherical.y);vec3 pos=vec3(sin(spherical.x)*len,sin(spherical.y),cos(spherical.x)*len\n);if (rawPos.y <-32767.5) {pos=vec3(0.0,1.0,0.0);}if (rawPos.y > 32766.5) {pos=vec3(0.0,-1.0,0.0);}return pos;}vec3 projectToSphere(vec2 posInTile) {return projectToSphere(posInTile,vec2(0.0,0.0));}float globeComputeClippingZ(vec3 spherePos) {return (1.0-(dot(spherePos,u_projection_clipping_plane.xyz)+u_projection_clipping_plane.w));}vec4 interpolateProjection(vec2 posInTile,vec3 spherePos,float elevation) {vec3 elevatedPos=spherePos*(1.0+elevation/GLOBE_RADIUS);vec4 globePosition=u_projection_matrix*vec4(elevatedPos,1.0);globePosition.z=globeComputeClippingZ(elevatedPos)*globePosition.w;if (u_projection_transition > 0.999) {return globePosition;}vec4 flatPosition=u_projection_fallback_matrix*vec4(posInTile,elevation,1.0);const float z_globeness_threshold=0.2;vec4 result=globePosition;result.z=mix(0.0,globePosition.z,clamp((u_projection_transition-z_globeness_threshold)/(1.0-z_globeness_threshold),0.0,1.0));result.xyw=mix(flatPosition.xyw,globePosition.xyw,u_projection_transition);if ((posInTile.y <-32767.5) || (posInTile.y > 32766.5)) {result=globePosition;const float poles_hidden_anim_percentage=0.02;result.z=mix(globePosition.z,100.0,pow(max((1.0-u_projection_transition)/poles_hidden_anim_percentage,0.0),8.0));}return result;}vec4 interpolateProjectionFor3D(vec2 posInTile,vec3 spherePos,float elevation) {vec3 elevatedPos=spherePos*(1.0+elevation/GLOBE_RADIUS);vec4 globePosition=u_projection_matrix*vec4(elevatedPos,1.0);if (u_projection_transition > 0.999) {return globePosition;}vec4 fallbackPosition=u_projection_fallback_matrix*vec4(posInTile,elevation,1.0);return mix(fallbackPosition,globePosition,u_projection_transition);}vec4 projectTile(vec2 posInTile) {return interpolateProjection(posInTile,projectToSphere(posInTile),0.0);}vec4 projectTile(vec2 posInTile,vec2 rawPos) {return interpolateProjection(posInTile,projectToSphere(posInTile,rawPos),0.0);}vec4 projectTileWithElevation(vec2 posInTile,float elevation) {return interpolateProjection(posInTile,projectToSphere(posInTile),elevation);}vec4 projectTileFor3D(vec2 posInTile,float elevation) {vec3 spherePos=projectToSphere(posInTile,posInTile);return interpolateProjectionFor3D(posInTile,spherePos,elevation);}"),background:kt("uniform vec4 u_color;uniform float u_opacity;void main() {fragColor=u_color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","in vec2 a_pos;void main() {gl_Position=projectTile(a_pos);}"),backgroundPattern:kt("uniform vec2 u_pattern_tl_a;uniform vec2 u_pattern_br_a;uniform vec2 u_pattern_tl_b;uniform vec2 u_pattern_br_b;uniform vec2 u_texsize;uniform float u_mix;uniform float u_opacity;uniform sampler2D u_image;in vec2 v_pos_a;in vec2 v_pos_b;void main() {vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(u_pattern_tl_a/u_texsize,u_pattern_br_a/u_texsize,imagecoord);vec4 color1=texture(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(u_pattern_tl_b/u_texsize,u_pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture(u_image,pos2);fragColor=mix(color1,color2,u_mix)*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec2 u_pattern_size_a;uniform vec2 u_pattern_size_b;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_scale_a;uniform float u_scale_b;uniform float u_tile_units_to_pixels;in vec2 a_pos;out vec2 v_pos_a;out vec2 v_pos_b;void main() {gl_Position=projectTile(a_pos);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_a*u_pattern_size_a,u_tile_units_to_pixels,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_b*u_pattern_size_b,u_tile_units_to_pixels,a_pos);}"),circle:kt("in vec3 v_data;in float v_visibility;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=v_data.xy;float extrude_length=length(extrude);float antialiased_blur=v_data.z;float opacity_t=smoothstep(0.0,antialiased_blur,extrude_length-1.0);float color_t=stroke_width < 0.01 ? 0.0 : smoothstep(antialiased_blur,0.0,extrude_length-radius/(radius+stroke_width));fragColor=v_visibility*opacity_t*mix(color*opacity,stroke_color*stroke_opacity,color_t);const float epsilon=0.5/255.0;if (fragColor.r < epsilon && fragColor.g < epsilon && fragColor.b < epsilon && fragColor.a < epsilon) {discard;}\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform bool u_scale_with_map;uniform bool u_pitch_with_map;uniform vec2 u_extrude_scale;uniform highp float u_globe_extrude_scale;uniform lowp float u_device_pixel_ratio;uniform highp float u_camera_to_center_distance;uniform vec2 u_translate;in vec2 a_pos;out vec3 v_data;out float v_visibility;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main(void) {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 pos_raw=a_pos+32768.0;vec2 extrude=vec2(mod(pos_raw,8.0)/7.0*2.0-1.0);vec2 circle_center=floor(pos_raw/8.0)+u_translate;float ele=get_elevation(circle_center);v_visibility=calculate_visibility(projectTileWithElevation(circle_center,ele));if (u_pitch_with_map) {\n#ifdef GLOBE\nvec3 center_vector=projectToSphere(circle_center);\n#endif\nfloat angle_scale=u_globe_extrude_scale;vec2 corner_position=circle_center;if (u_scale_with_map) {angle_scale*=(radius+stroke_width);corner_position+=extrude*u_extrude_scale*(radius+stroke_width);} else {\n#ifdef GLOBE\nvec4 projected_center=interpolateProjection(circle_center,center_vector,ele);\n#else\nvec4 projected_center=projectTileWithElevation(circle_center,ele);\n#endif\ncorner_position+=extrude*u_extrude_scale*(radius+stroke_width)*(projected_center.w/u_camera_to_center_distance);angle_scale*=(radius+stroke_width)*(projected_center.w/u_camera_to_center_distance);}\n#ifdef GLOBE\nvec2 angles=extrude*angle_scale;vec3 corner_vector=globeRotateVector(center_vector,angles);gl_Position=interpolateProjection(corner_position,corner_vector,ele);\n#else\ngl_Position=projectTileWithElevation(corner_position,ele);\n#endif\n} else {gl_Position=projectTileWithElevation(circle_center,ele);if (gl_Position.z/gl_Position.w > 1.0) {gl_Position.xy=vec2(10000.0);}if (u_scale_with_map) {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*u_camera_to_center_distance;} else {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*gl_Position.w;}}float antialiasblur=-max(1.0/u_device_pixel_ratio/(radius+stroke_width),blur);v_data=vec3(extrude.x,extrude.y,antialiasblur);}"),clippingMask:kt(Lt,"in vec2 a_pos;void main() {gl_Position=projectTile(a_pos);}"),heatmap:kt("uniform highp float u_intensity;in vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#define GAUSS_COEF 0.3989422804014327\nvoid main() {\n#pragma mapbox: initialize highp float weight\nfloat d=-0.5*3.0*3.0*dot(v_extrude,v_extrude);float val=weight*u_intensity*GAUSS_COEF*exp(d);fragColor=vec4(val,1.0,1.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform float u_extrude_scale;uniform float u_opacity;uniform float u_intensity;uniform highp float u_globe_extrude_scale;in vec2 a_pos;out vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#pragma mapbox: define mediump float radius\nconst highp float ZERO=1.0/255.0/16.0;\n#define GAUSS_COEF 0.3989422804014327\nvoid main(void) {\n#pragma mapbox: initialize highp float weight\n#pragma mapbox: initialize mediump float radius\nvec2 pos_raw=a_pos+32768.0;vec2 unscaled_extrude=vec2(mod(pos_raw,8.0)/7.0*2.0-1.0);float S=sqrt(-2.0*log(ZERO/weight/u_intensity/GAUSS_COEF))/3.0;v_extrude=S*unscaled_extrude;vec2 extrude=v_extrude*radius*u_extrude_scale;vec2 circle_center=floor(pos_raw/8.0);\n#ifdef GLOBE\nvec2 angles=v_extrude*radius*u_globe_extrude_scale;vec3 center_vector=projectToSphere(circle_center);vec3 corner_vector=globeRotateVector(center_vector,angles);gl_Position=interpolateProjection(circle_center+extrude,corner_vector,0.0);\n#else\ngl_Position=projectTileFor3D(circle_center+extrude,get_elevation(circle_center));\n#endif\n}"),heatmapTexture:kt("uniform sampler2D u_image;uniform sampler2D u_color_ramp;uniform float u_opacity;in vec2 v_pos;void main() {float t=texture(u_image,v_pos).r;vec4 color=texture(u_color_ramp,vec2(t,0.5));fragColor=color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(0.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_world;in vec2 a_pos;out vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}"),collisionBox:kt("in float v_placed;in float v_notUsed;void main() {float alpha=0.5;fragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {fragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {fragColor*=.1;}}","in vec2 a_anchor_pos;in vec2 a_placed;in vec2 a_box_real;uniform vec2 u_pixel_extrude_scale;out float v_placed;out float v_notUsed;void main() {gl_Position=projectTileWithElevation(a_anchor_pos,get_elevation(a_anchor_pos));gl_Position.xy=((a_box_real+0.5)*u_pixel_extrude_scale*2.0-1.0)*vec2(1.0,-1.0)*gl_Position.w;if (gl_Position.z/gl_Position.w < 1.1) {gl_Position.z=0.5;}v_placed=a_placed.x;v_notUsed=a_placed.y;}"),collisionCircle:kt("in float v_radius;in vec2 v_extrude;in float v_collision;void main() {float alpha=0.5;float stroke_radius=0.9;float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);fragColor=color*alpha*opacity_t;}","in vec2 a_pos;in float a_radius;in vec2 a_flags;uniform vec2 u_viewport_size;out float v_radius;out vec2 v_extrude;out float v_collision;void main() {float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_collision=collision;gl_Position=vec4((a_pos/u_viewport_size*2.0-1.0)*vec2(1.0,-1.0),0.0,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}"),colorRelief:kt("#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D u_image;uniform vec4 u_unpack;uniform sampler2D u_elevation_stops;uniform sampler2D u_color_stops;uniform int u_color_ramp_size;uniform float u_opacity;in vec2 v_pos;float getElevation(vec2 coord) {vec4 data=texture(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack);}float getElevationStop(int stop) {float x=(float(stop)+0.5)/float(u_color_ramp_size);vec4 data=texture(u_elevation_stops,vec2(x,0))*255.0;data.a=-1.0;return dot(data,u_unpack);}void main() {float el=getElevation(v_pos);int r=(u_color_ramp_size-1);int l=0;float el_l=getElevationStop(l);float el_r=getElevationStop(r);while(r-l > 1){int m=(r+l)/2;float el_m=getElevationStop(m);if(el < el_m){r=m;el_r=el_m;}else\n{l=m;el_l=el_m;}}float x=(float(l)+(el-el_l)/(el_r-el_l)+0.5)/float(u_color_ramp_size);fragColor=u_opacity*texture(u_color_stops,vec2(x,0));\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec2 u_dimension;in vec2 a_pos;out vec2 v_pos;void main() {gl_Position=projectTile(a_pos,a_pos);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_pos/8192.0)*scale+epsilon;if (a_pos.y <-32767.5) {v_pos.y=0.0;}if (a_pos.y > 32766.5) {v_pos.y=1.0;}}"),debug:kt("uniform highp vec4 u_color;uniform sampler2D u_overlay;in vec2 v_uv;void main() {vec4 overlay_color=texture(u_overlay,v_uv);fragColor=mix(u_color,overlay_color,overlay_color.a);}","in vec2 a_pos;out vec2 v_uv;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=projectTileWithElevation(a_pos*u_overlay_scale,get_elevation(a_pos));}"),depth:kt(Lt,"in vec2 a_pos;void main() {\n#ifdef GLOBE\ngl_Position=projectTileFor3D(a_pos,0.0);\n#else\ngl_Position=u_projection_matrix*vec4(a_pos,0.0,1.0);\n#endif\n}"),fill:kt("#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\nfragColor=color*opacity;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec2 u_fill_translate;in vec2 a_pos;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=projectTile(a_pos+u_fill_translate,a_pos);}"),fillOutline:kt("in vec2 v_pos;\n#ifdef GLOBE\nin float v_depth;\n#endif\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);fragColor=outline_color*(alpha*opacity);\n#ifdef GLOBE\nif (v_depth > 1.0) {discard;}\n#endif\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec2 u_world;uniform vec2 u_fill_translate;in vec2 a_pos;out vec2 v_pos;\n#ifdef GLOBE\nout float v_depth;\n#endif\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=projectTile(a_pos+u_fill_translate,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;\n#ifdef GLOBE\nv_depth=gl_Position.z/gl_Position.w;\n#endif\n}"),fillOutlinePattern:kt("uniform vec2 u_texsize;uniform sampler2D u_image;uniform float u_fade;in vec2 v_pos_a;in vec2 v_pos_b;in vec2 v_pos;\n#ifdef GLOBE\nin float v_depth;\n#endif\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture(u_image,pos2);float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);fragColor=mix(color1,color2,u_fade)*alpha*opacity;\n#ifdef GLOBE\nif (v_depth > 1.0) {discard;}\n#endif\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec2 u_world;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;uniform vec2 u_fill_translate;in vec2 a_pos;out vec2 v_pos_a;out vec2 v_pos_b;out vec2 v_pos;\n#ifdef GLOBE\nout float v_depth;\n#endif\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;gl_Position=projectTile(a_pos+u_fill_translate,a_pos);vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;\n#ifdef GLOBE\nv_depth=gl_Position.z/gl_Position.w;\n#endif\n}"),fillPattern:kt("#ifdef GL_ES\nprecision highp float;\n#endif\nuniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;in vec2 v_pos_a;in vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture(u_image,pos2);fragColor=mix(color1,color2,u_fade)*opacity;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;uniform vec2 u_fill_translate;in vec2 a_pos;out vec2 v_pos_a;out vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;gl_Position=projectTile(a_pos+u_fill_translate,a_pos);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}"),fillExtrusion:kt("in vec4 v_color;void main() {fragColor=v_color;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp vec3 u_lightpos_globe;uniform lowp float u_lightintensity;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec2 u_fill_translate;in vec2 a_pos;in vec4 a_normal_ed;\n#ifdef TERRAIN3D\nin vec2 a_centroid;\n#endif\nout vec4 v_color;\n#pragma mapbox: define highp float base\n#pragma mapbox: define highp float height\n#pragma mapbox: define highp vec4 color\nvoid main() {\n#pragma mapbox: initialize highp float base\n#pragma mapbox: initialize highp float height\n#pragma mapbox: initialize highp vec4 color\nvec3 normal=a_normal_ed.xyz;\n#ifdef TERRAIN3D\nfloat height_terrain3d_offset=get_elevation(a_centroid);float base_terrain3d_offset=height_terrain3d_offset-(base > 0.0 ? 0.0 : 10.0);\n#else\nfloat height_terrain3d_offset=0.0;float base_terrain3d_offset=0.0;\n#endif\nbase=max(0.0,base)+base_terrain3d_offset;height=max(0.0,height)+height_terrain3d_offset;float t=mod(normal.x,2.0);float elevation=t > 0.0 ? height : base;vec2 posInTile=a_pos+u_fill_translate;\n#ifdef GLOBE\nvec3 spherePos=projectToSphere(posInTile,a_pos);gl_Position=interpolateProjectionFor3D(posInTile,spherePos,elevation);\n#else\ngl_Position=u_projection_matrix*vec4(posInTile,elevation,1.0);\n#endif\nfloat colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;vec3 normalForLighting=normal/16384.0;float directional=clamp(dot(normalForLighting,u_lightpos),0.0,1.0);\n#ifdef GLOBE\nmat3 rotMatrix=globeGetRotationMatrix(spherePos);normalForLighting=rotMatrix*normalForLighting;directional=mix(directional,clamp(dot(normalForLighting,u_lightpos_globe),0.0,1.0),u_projection_transition);\n#endif\ndirectional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}"),fillExtrusionPattern:kt("uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;in vec2 v_pos_a;in vec2 v_pos_b;in vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);fragColor=mixedColor*v_lighting;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec3 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec2 u_fill_translate;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp vec3 u_lightpos_globe;uniform lowp float u_lightintensity;in vec2 a_pos;in vec4 a_normal_ed;\n#ifdef TERRAIN3D\nin vec2 a_centroid;\n#endif\n#ifdef GLOBE\nout vec3 v_sphere_pos;\n#endif\nout vec2 v_pos_a;out vec2 v_pos_b;out vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;\n#ifdef TERRAIN3D\nfloat height_terrain3d_offset=get_elevation(a_centroid);float base_terrain3d_offset=height_terrain3d_offset-(base > 0.0 ? 0.0 : 10.0);\n#else\nfloat height_terrain3d_offset=0.0;float base_terrain3d_offset=0.0;\n#endif\nbase=max(0.0,base)+base_terrain3d_offset;height=max(0.0,height)+height_terrain3d_offset;float t=mod(normal.x,2.0);float elevation=t > 0.0 ? height : base;vec2 posInTile=a_pos+u_fill_translate;\n#ifdef GLOBE\nvec3 spherePos=projectToSphere(posInTile,a_pos);vec3 elevatedPos=spherePos*(1.0+elevation/GLOBE_RADIUS);v_sphere_pos=elevatedPos;gl_Position=interpolateProjectionFor3D(posInTile,spherePos,elevation);\n#else\ngl_Position=u_projection_matrix*vec4(posInTile,elevation,1.0);\n#endif\nvec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0\n? a_pos\n: vec2(edgedistance,elevation*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}"),hillshadePrepare:kt("#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D u_image;in vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack);}void main() {vec2 epsilon=1.0/u_dimension;float tileSize=u_dimension.x-2.0;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggerationFactor=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;float exaggeration=u_zoom < 15.0 ? (u_zoom-15.0)*exaggerationFactor : 0.0;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))*tileSize/pow(2.0,exaggeration+(28.2562-u_zoom));fragColor=clamp(vec4(deriv.x/8.0+0.5,deriv.y/8.0+0.5,1.0,1.0),0.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_dimension;in vec2 a_pos;in vec2 a_texture_pos;out vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}"),hillshade:kt("uniform sampler2D u_image;in vec2 v_pos;uniform vec2 u_latrange;uniform float u_exaggeration;uniform vec4 u_accent;uniform int u_method;uniform float u_altitudes[NUM_ILLUMINATION_SOURCES];uniform float u_azimuths[NUM_ILLUMINATION_SOURCES];uniform vec4 u_shadows[NUM_ILLUMINATION_SOURCES];uniform vec4 u_highlights[NUM_ILLUMINATION_SOURCES];\n#define PI 3.141592653589793\n#define STANDARD 0\n#define COMBINED 1\n#define IGOR 2\n#define MULTIDIRECTIONAL 3\n#define BASIC 4\nfloat get_aspect(vec2 deriv){return deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);}void igor_hillshade(vec2 deriv){deriv=deriv*u_exaggeration*2.0;float aspect=get_aspect(deriv);float azimuth=u_azimuths[0]+PI;float slope_stength=atan(length(deriv))*2.0/PI;float aspect_strength=1.0-abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);float shadow_strength=slope_stength*aspect_strength;float highlight_strength=slope_stength*(1.0-aspect_strength);fragColor=u_shadows[0]*shadow_strength+u_highlights[0]*highlight_strength;}void standard_hillshade(vec2 deriv){float azimuth=u_azimuths[0]+PI;float slope=atan(0.625*length(deriv));float aspect=get_aspect(deriv);float intensity=u_exaggeration;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadows[0],u_highlights[0],shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);fragColor=accent_color*(1.0-shade_color.a)+shade_color;}void basic_hillshade(vec2 deriv){deriv=deriv*u_exaggeration*2.0;float azimuth=u_azimuths[0]+PI;float cos_az=cos(azimuth);float sin_az=sin(azimuth);float cos_alt=cos(u_altitudes[0]);float sin_alt=sin(u_altitudes[0]);float cang=(sin_alt-(deriv.y*cos_az*cos_alt-deriv.x*sin_az*cos_alt))/sqrt(1.0+dot(deriv,deriv));float shade=clamp(cang,0.0,1.0);if(shade > 0.5){fragColor=u_highlights[0]*(2.0*shade-1.0);}else\n{fragColor=u_shadows[0]*(1.0-2.0*shade);}}void multidirectional_hillshade(vec2 deriv){deriv=deriv*u_exaggeration*2.0;fragColor=vec4(0,0,0,0);for(int i=0; i < NUM_ILLUMINATION_SOURCES; i++){float cos_alt=cos(u_altitudes[i]);float sin_alt=sin(u_altitudes[i]);float cos_az=-cos(u_azimuths[i]);float sin_az=-sin(u_azimuths[i]);float cang=(sin_alt-(deriv.y*cos_az*cos_alt-deriv.x*sin_az*cos_alt))/sqrt(1.0+dot(deriv,deriv));float shade=clamp(cang,0.0,1.0);if(shade > 0.5){fragColor+=u_highlights[i]*(2.0*shade-1.0)/float(NUM_ILLUMINATION_SOURCES);}else\n{fragColor+=u_shadows[i]*(1.0-2.0*shade)/float(NUM_ILLUMINATION_SOURCES);}}}void combined_hillshade(vec2 deriv){deriv=deriv*u_exaggeration*2.0;float azimuth=u_azimuths[0]+PI;float cos_az=cos(azimuth);float sin_az=sin(azimuth);float cos_alt=cos(u_altitudes[0]);float sin_alt=sin(u_altitudes[0]);float cang=acos((sin_alt-(deriv.y*cos_az*cos_alt-deriv.x*sin_az*cos_alt))/sqrt(1.0+dot(deriv,deriv)));cang=clamp(cang,0.0,PI/2.0);float shade=cang*atan(length(deriv))*4.0/PI/PI;float highlight=(PI/2.0-cang)*atan(length(deriv))*4.0/PI/PI;fragColor=u_shadows[0]*shade+u_highlights[0]*highlight;}void main() {vec4 pixel=texture(u_image,v_pos);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));vec2 deriv=((pixel.rg*8.0)-4.0)/scaleFactor;if (u_method==BASIC) {basic_hillshade(deriv);} else if (u_method==COMBINED) {combined_hillshade(deriv);} else if (u_method==IGOR) {igor_hillshade(deriv);} else if (u_method==MULTIDIRECTIONAL) {multidirectional_hillshade(deriv);} else if (u_method==STANDARD) {standard_hillshade(deriv);} else {standard_hillshade(deriv);}\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;in vec2 a_pos;out vec2 v_pos;void main() {gl_Position=projectTile(a_pos,a_pos);v_pos=a_pos/8192.0;if (a_pos.y <-32767.5) {v_pos.y=0.0;}if (a_pos.y > 32766.5) {v_pos.y=1.0;}}"),line:kt("uniform lowp float u_device_pixel_ratio;in vec2 v_width2;in vec2 v_normal;in float v_gamma_scale;\n#ifdef GLOBE\nin float v_depth;\n#endif\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);fragColor=color*(alpha*opacity);\n#ifdef GLOBE\nif (v_depth > 1.0) {discard;}\n#endif\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\nin vec2 a_pos_normal;in vec4 a_data;uniform vec2 u_translation;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;out vec2 v_normal;out vec2 v_width2;out float v_gamma_scale;out highp float v_linesofar;\n#ifdef GLOBE\nout float v_depth;\n#endif\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);float adjustedThickness=projectLineThickness(pos.y);vec4 projected_no_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation);vec4 projected_with_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation+dist/u_ratio*adjustedThickness);gl_Position=projected_with_extrude;\n#ifdef GLOBE\nv_depth=gl_Position.z/gl_Position.w;\n#endif\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length((projected_with_extrude.xy-projected_no_extrude.xy)/projected_with_extrude.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nv_width2=vec2(outset,inset);}"),lineGradient:kt("uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;in vec2 v_width2;in vec2 v_normal;in float v_gamma_scale;in highp vec2 v_uv;\n#ifdef GLOBE\nin float v_depth;\n#endif\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture(u_image,v_uv);fragColor=color*(alpha*opacity);\n#ifdef GLOBE\nif (v_depth > 1.0) {discard;}\n#endif\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\nin vec2 a_pos_normal;in vec4 a_data;in float a_uv_x;in float a_split_index;uniform vec2 u_translation;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;uniform float u_image_height;out vec2 v_normal;out vec2 v_width2;out float v_gamma_scale;out highp vec2 v_uv;\n#ifdef GLOBE\nout float v_depth;\n#endif\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;highp float texel_height=1.0/u_image_height;highp float half_texel_height=0.5*texel_height;v_uv=vec2(a_uv_x,a_split_index*texel_height-half_texel_height);vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);float adjustedThickness=projectLineThickness(pos.y);vec4 projected_no_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation);vec4 projected_with_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation+dist/u_ratio*adjustedThickness);gl_Position=projected_with_extrude;\n#ifdef GLOBE\nv_depth=gl_Position.z/gl_Position.w;\n#endif\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length((projected_with_extrude.xy-projected_no_extrude.xy)/projected_with_extrude.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nv_width2=vec2(outset,inset);}"),linePattern:kt("#ifdef GL_ES\nprecision highp float;\n#endif\nuniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec3 u_scale;uniform sampler2D u_image;in vec2 v_normal;in vec2 v_width2;in float v_linesofar;in float v_gamma_scale;in float v_width;\n#ifdef GLOBE\nin float v_depth;\n#endif\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float aspect_a=display_size_a.y/v_width;float aspect_b=display_size_b.y/v_width;float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x*aspect_a,1.0);float x_b=mod(v_linesofar/pattern_size_b.x*aspect_b,1.0);float y=0.5*v_normal.y+0.5;vec2 texel_size=1.0/u_texsize;vec2 pos_a=mix(pattern_tl_a*texel_size-texel_size,pattern_br_a*texel_size+texel_size,vec2(x_a,y));vec2 pos_b=mix(pattern_tl_b*texel_size-texel_size,pattern_br_b*texel_size+texel_size,vec2(x_b,y));vec4 color=mix(texture(u_image,pos_a),texture(u_image,pos_b),u_fade);fragColor=color*alpha*opacity;\n#ifdef GLOBE\nif (v_depth > 1.0) {discard;}\n#endif\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nin vec2 a_pos_normal;in vec4 a_data;uniform vec2 u_translation;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;out vec2 v_normal;out vec2 v_width2;out float v_linesofar;out float v_gamma_scale;out float v_width;\n#ifdef GLOBE\nout float v_depth;\n#endif\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);float adjustedThickness=projectLineThickness(pos.y);vec4 projected_no_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation);vec4 projected_with_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation+dist/u_ratio*adjustedThickness);gl_Position=projected_with_extrude;\n#ifdef GLOBE\nv_depth=gl_Position.z/gl_Position.w;\n#endif\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length((projected_with_extrude.xy-projected_no_extrude.xy)/projected_with_extrude.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nv_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}"),lineSDF:kt("uniform lowp float u_device_pixel_ratio;uniform lowp float u_lineatlas_width;uniform sampler2D u_image;uniform float u_mix;in vec2 v_normal;in vec2 v_width2;in vec2 v_tex_a;in vec2 v_tex_b;in float v_gamma_scale;\n#ifdef GLOBE\nin float v_depth;\n#endif\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define mediump vec4 dasharray_from\n#pragma mapbox: define mediump vec4 dasharray_to\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize mediump vec4 dasharray_from\n#pragma mapbox: initialize mediump vec4 dasharray_to\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture(u_image,v_tex_a).a;float sdfdist_b=texture(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);float sdfgamma=(u_lineatlas_width/256.0/u_device_pixel_ratio)/min(dasharray_from.w,dasharray_to.w);alpha*=smoothstep(0.5-sdfgamma/floorwidth,0.5+sdfgamma/floorwidth,sdfdist);fragColor=color*(alpha*opacity);\n#ifdef GLOBE\nif (v_depth > 1.0) {discard;}\n#endif\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nin vec2 a_pos_normal;in vec4 a_data;uniform vec2 u_translation;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;uniform float u_tileratio;uniform float u_crossfade_from;uniform float u_crossfade_to;uniform float u_lineatlas_height;out vec2 v_normal;out vec2 v_width2;out vec2 v_tex_a;out vec2 v_tex_b;out float v_gamma_scale;\n#ifdef GLOBE\nout float v_depth;\n#endif\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define mediump vec4 dasharray_from\n#pragma mapbox: define mediump vec4 dasharray_to\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize mediump vec4 dasharray_from\n#pragma mapbox: initialize mediump vec4 dasharray_to\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);float adjustedThickness=projectLineThickness(pos.y);vec4 projected_no_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation);vec4 projected_with_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation+dist/u_ratio*adjustedThickness);gl_Position=projected_with_extrude;\n#ifdef GLOBE\nv_depth=gl_Position.z/gl_Position.w;\n#endif\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length((projected_with_extrude.xy-projected_no_extrude.xy)/projected_with_extrude.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nfloat u_patternscale_a_x=u_tileratio/dasharray_from.w/u_crossfade_from;float u_patternscale_a_y=-dasharray_from.z/2.0/u_lineatlas_height;float u_patternscale_b_x=u_tileratio/dasharray_to.w/u_crossfade_to;float u_patternscale_b_y=-dasharray_to.z/2.0/u_lineatlas_height;v_tex_a=vec2(a_linesofar*u_patternscale_a_x/floorwidth,normal.y*u_patternscale_a_y+(float(dasharray_from.y)+0.5)/u_lineatlas_height);v_tex_b=vec2(a_linesofar*u_patternscale_b_x/floorwidth,normal.y*u_patternscale_b_y+(float(dasharray_to.y)+0.5)/u_lineatlas_height);v_width2=vec2(outset,inset);}"),lineGradientSDF:kt("uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform sampler2D u_image_dash;uniform float u_mix;uniform lowp float u_lineatlas_width;in vec2 v_normal;in vec2 v_width2;in vec2 v_tex_a;in vec2 v_tex_b;in float v_gamma_scale;in highp vec2 v_uv;\n#ifdef GLOBE\nin float v_depth;\n#endif\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define mediump vec4 dasharray_from\n#pragma mapbox: define mediump vec4 dasharray_to\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize mediump vec4 dasharray_from\n#pragma mapbox: initialize mediump vec4 dasharray_to\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture(u_image,v_uv);float sdfdist_a=texture(u_image_dash,v_tex_a).a;float sdfdist_b=texture(u_image_dash,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);float sdfgamma=(u_lineatlas_width/256.0)/min(dasharray_from.w,dasharray_to.w);float dash_alpha=smoothstep(0.5-sdfgamma/floorwidth,0.5+sdfgamma/floorwidth,sdfdist);fragColor=color*(alpha*dash_alpha*opacity);\n#ifdef GLOBE\nif (v_depth > 1.0) {discard;}\n#endif\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nin vec2 a_pos_normal;in vec4 a_data;in float a_uv_x;in float a_split_index;uniform vec2 u_translation;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;uniform float u_image_height;uniform float u_tileratio;uniform float u_crossfade_from;uniform float u_crossfade_to;uniform float u_lineatlas_height;out vec2 v_normal;out vec2 v_width2;out float v_gamma_scale;out highp vec2 v_uv;out vec2 v_tex_a;out vec2 v_tex_b;\n#ifdef GLOBE\nout float v_depth;\n#endif\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define mediump vec4 dasharray_from\n#pragma mapbox: define mediump vec4 dasharray_to\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize mediump vec4 dasharray_from\n#pragma mapbox: initialize mediump vec4 dasharray_to\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;float texel_height=1.0/u_image_height;float half_texel_height=0.5*texel_height;v_uv=vec2(a_uv_x,a_split_index*texel_height-half_texel_height);vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);float adjustedThickness=projectLineThickness(pos.y);vec4 projected_no_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation);vec4 projected_with_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation+dist/u_ratio*adjustedThickness);gl_Position=projected_with_extrude;\n#ifdef GLOBE\nv_depth=gl_Position.z/gl_Position.w;\n#endif\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length((projected_with_extrude.xy-projected_no_extrude.xy)/projected_with_extrude.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nfloat u_patternscale_a_x=u_tileratio/dasharray_from.w/u_crossfade_from;float u_patternscale_a_y=-dasharray_from.z/2.0/u_lineatlas_height;float u_patternscale_b_x=u_tileratio/dasharray_to.w/u_crossfade_to;float u_patternscale_b_y=-dasharray_to.z/2.0/u_lineatlas_height;v_tex_a=vec2(a_linesofar*u_patternscale_a_x/floorwidth,normal.y*u_patternscale_a_y+(float(dasharray_from.y)+0.5)/u_lineatlas_height);v_tex_b=vec2(a_linesofar*u_patternscale_b_x/floorwidth,normal.y*u_patternscale_b_y+(float(dasharray_to.y)+0.5)/u_lineatlas_height);v_width2=vec2(outset,inset);}"),raster:kt("uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;in vec2 v_pos0;in vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture(u_image0,v_pos0);vec4 color1=texture(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);fragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a);\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;uniform vec4 u_coords_top;uniform vec4 u_coords_bottom;in vec2 a_pos;out vec2 v_pos0;out vec2 v_pos1;void main() {vec2 fractionalPos=a_pos/8192.0;vec2 position=mix(mix(u_coords_top.xy,u_coords_top.zw,fractionalPos.x),mix(u_coords_bottom.xy,u_coords_bottom.zw,fractionalPos.x),fractionalPos.y);gl_Position=projectTile(position,position);v_pos0=((fractionalPos-0.5)/u_buffer_scale)+0.5;\n#ifdef GLOBE\nif (a_pos.y <-32767.5) {v_pos0.y=0.0;}if (a_pos.y > 32766.5) {v_pos0.y=1.0;}\n#endif\nv_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}"),symbolIcon:kt("uniform sampler2D u_texture;in vec2 v_tex;in float v_total_opacity;void main() {fragColor=texture(u_texture,v_tex)*v_total_opacity;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","in vec4 a_pos_offset;in vec4 a_data;in vec4 a_pixeloffset;in vec3 a_projected_pos;in float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;uniform bool u_is_along_line;uniform bool u_is_variable_anchor;uniform vec2 u_translation;uniform float u_pitched_scale;out vec2 v_tex;out float v_total_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 translated_a_pos=a_pos+u_translation;vec4 projectedPoint=projectTileWithElevation(translated_a_pos,ele);vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float visibility=calculate_visibility(projectedPoint);v_total_opacity=opacity*max(0.0,min(visibility,fade_opacity[0]+fade_change));if (v_total_opacity < 0.1){gl_Position=vec4(-2.,-2.,-2.,1.);return;}highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=projectTileWithElevation(translated_a_pos+vec2(1,0),ele);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos;if (u_is_along_line || u_is_variable_anchor) {projected_pos=vec4(a_projected_pos.xy,ele,1.0);} else if (u_pitch_with_map) {projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy+u_translation,ele,1.0);} else {projected_pos=u_label_plane_matrix*projectTileWithElevation(a_projected_pos.xy+u_translation,ele);}float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;float projectionScaling=1.0;\n#ifdef GLOBE\nif(u_pitch_with_map) {float anchor_pos_tile_y=(u_coord_matrix*vec4(projected_pos.xy/projected_pos.w,z,1.0)).y;projectionScaling=mix(projectionScaling,1.0/circumferenceRatioAtTileY(anchor_pos_tile_y)*u_pitched_scale,u_projection_transition);}\n#endif\nvec4 finalPos=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0)*projectionScaling,z,1.0);if(u_pitch_with_map) {finalPos=projectTileWithElevation(finalPos.xy,finalPos.z);}gl_Position=finalPos;v_tex=a_tex/u_texsize;}"),symbolSDF:kt("#define SDF_PX 8.0\nuniform bool u_is_halo;uniform bool u_is_plain;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;in vec2 v_data0;in vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float total_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float inner_edge=(256.0-64.0)/256.0;lowp float dist=texture(u_texture,tex).a;lowp vec4 color_alpha_out_text,color_alpha_out_halo;if (u_is_plain){highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(inner_edge-gamma_scaled,inner_edge+gamma_scaled,dist);color_alpha_out_text=total_opacity*alpha*fill_color;}if (u_is_halo) {float gamma_halo=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);float inner_edge_halo=inner_edge+gamma_halo*gamma_scale;highp float gamma_scaled_halo=gamma_halo*gamma_scale;highp float alpha_halo=smoothstep(inner_edge_halo-gamma_scaled_halo,inner_edge_halo+gamma_scaled_halo,dist);highp float halo_edge=(6.0-halo_width/fontScale)/SDF_PX;alpha_halo= min(smoothstep(halo_edge-gamma_scaled_halo,halo_edge+gamma_scaled_halo,dist),1.0-alpha_halo);color_alpha_out_halo=total_opacity*alpha_halo*halo_color;}if (u_is_plain && u_is_halo) {fragColor=color_alpha_out_text+(1.-color_alpha_out_text.a)*color_alpha_out_halo;} else if (u_is_halo){fragColor=color_alpha_out_halo;} else {fragColor=color_alpha_out_text;}\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","in vec4 a_pos_offset;in vec4 a_data;in vec4 a_pixeloffset;in vec3 a_projected_pos;in float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform bool u_is_along_line;uniform bool u_is_variable_anchor;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_translation;uniform float u_pitched_scale;out vec2 v_data0;out vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy/16.0;vec2 a_minFontScale=a_pixeloffset.zw/256.0;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 translated_a_pos=a_pos+u_translation;vec4 projectedPoint=projectTileWithElevation(translated_a_pos,ele);vec2 fade_opacity=unpack_opacity(a_fade_opacity);float visibility=calculate_visibility(projectedPoint);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));float total_opacity=opacity*interpolated_fade_opacity;if (total_opacity < 0.1){gl_Position=vec4(-2.,-2.,-2.,1.);return;}highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=projectTileWithElevation(translated_a_pos+vec2(1,0),ele);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos;if (u_is_along_line || u_is_variable_anchor) {projected_pos=vec4(a_projected_pos.xy,ele,1.0);} else if (u_pitch_with_map) {projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy+u_translation,ele,1.0);} else {projected_pos=u_label_plane_matrix*projectTileWithElevation(a_projected_pos.xy+u_translation,ele);}float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;float projectionScaling=1.0;\n#ifdef GLOBE\nif(u_pitch_with_map) {float anchor_pos_tile_y=(u_coord_matrix*vec4(projected_pos.xy/projected_pos.w,z,1.0)).y;projectionScaling=mix(projectionScaling,1.0/circumferenceRatioAtTileY(anchor_pos_tile_y)*u_pitched_scale,u_projection_transition);}\n#endif\nvec4 finalPos=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset)*projectionScaling,z,1.0);if(u_pitch_with_map) {finalPos=projectTileWithElevation(finalPos.xy,finalPos.z);}float gamma_scale=finalPos.w;gl_Position=finalPos;v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,total_opacity);}"),symbolTextAndIcon:kt("#define SDF_PX 8.0\n#define SDF 1.0\n#define ICON 0.0\nuniform bool u_is_halo;uniform bool u_is_text;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;in vec4 v_data0;in vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat total_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;fragColor=texture(u_texture_icon,tex_icon)*total_opacity;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\nreturn;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;lowp float dist=texture(u_texture,tex).a;lowp vec4 color_alpha_out,color_alpha_out_halo;if (u_is_text) {highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);color_alpha_out=fill_color*(alpha*total_opacity);}if (u_is_halo) {highp float gamma_halo=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);lowp float buff_halo=(6.0-halo_width/fontScale)/SDF_PX;highp float gamma_scaled_halo=gamma_halo*gamma_scale;highp float alpha_halo=smoothstep(buff_halo-gamma_scaled_halo,buff_halo+gamma_scaled_halo,dist);color_alpha_out_halo=halo_color*(alpha_halo*total_opacity);}if (u_is_text && u_is_halo) {fragColor=color_alpha_out+(1.-color_alpha_out.a)*color_alpha_out_halo;} else if (u_is_halo) {fragColor=color_alpha_out_halo;} else {fragColor=color_alpha_out;}\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","in vec4 a_pos_offset;in vec4 a_data;in vec3 a_projected_pos;in float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_texsize_icon;uniform bool u_is_along_line;uniform bool u_is_variable_anchor;uniform vec2 u_translation;uniform float u_pitched_scale;out vec4 v_data0;out vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 translated_a_pos=a_pos+u_translation;vec4 projectedPoint=projectTileWithElevation(translated_a_pos,ele);vec2 fade_opacity=unpack_opacity(a_fade_opacity);float visibility=calculate_visibility(projectedPoint);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));float total_opacity=opacity*interpolated_fade_opacity;if (total_opacity < 0.1){gl_Position=vec4(-2.,-2.,-2.,1.);return;}highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=projectTileWithElevation(translated_a_pos+vec2(1,0),ele);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos;if (u_is_along_line || u_is_variable_anchor) {projected_pos=vec4(a_projected_pos.xy,ele,1.0);} else if (u_pitch_with_map) {projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy+u_translation,ele,1.0);} else {projected_pos=u_label_plane_matrix*projectTileWithElevation(a_projected_pos.xy+u_translation,ele);}float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;float projectionScaling=1.0;\n#ifdef GLOBE\nif(u_pitch_with_map && !u_is_along_line) {float anchor_pos_tile_y=(u_coord_matrix*vec4(projected_pos.xy/projected_pos.w,z,1.0)).y;projectionScaling=mix(projectionScaling,1.0/circumferenceRatioAtTileY(anchor_pos_tile_y)*u_pitched_scale,u_projection_transition);}\n#endif\nvec4 finalPos=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale)*projectionScaling,z,1.0);if(u_pitch_with_map) {finalPos=projectTileWithElevation(finalPos.xy,finalPos.z);}float gamma_scale=finalPos.w;gl_Position=finalPos;v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,total_opacity,is_sdf);}"),terrain:kt("uniform sampler2D u_texture;uniform vec4 u_fog_color;uniform vec4 u_horizon_color;uniform float u_fog_ground_blend;uniform float u_fog_ground_blend_opacity;uniform float u_horizon_fog_blend;uniform bool u_is_globe_mode;in vec2 v_texture_pos;in float v_fog_depth;const float gamma=2.2;vec4 gammaToLinear(vec4 color) {return pow(color,vec4(gamma));}vec4 linearToGamma(vec4 color) {return pow(color,vec4(1.0/gamma));}void main() {vec4 surface_color=texture(u_texture,vec2(v_texture_pos.x,1.0-v_texture_pos.y));if (!u_is_globe_mode && u_fog_ground_blend_opacity > 0.0 && v_fog_depth > u_fog_ground_blend) {vec4 surface_color_linear=gammaToLinear(surface_color);float blend_color=smoothstep(0.0,1.0,max((v_fog_depth-u_horizon_fog_blend)/(1.0-u_horizon_fog_blend),0.0));vec4 fog_horizon_color_linear=mix(gammaToLinear(u_fog_color),gammaToLinear(u_horizon_color),blend_color);float factor_fog=max(v_fog_depth-u_fog_ground_blend,0.0)/(1.0-u_fog_ground_blend);fragColor=linearToGamma(mix(surface_color_linear,fog_horizon_color_linear,pow(factor_fog,2.0)*u_fog_ground_blend_opacity));} else {fragColor=surface_color;}}","in vec3 a_pos3d;uniform mat4 u_fog_matrix;uniform float u_ele_delta;out vec2 v_texture_pos;out float v_fog_depth;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;v_texture_pos=a_pos3d.xy/8192.0;gl_Position=projectTileFor3D(a_pos3d.xy,ele-ele_delta);vec4 pos=u_fog_matrix*vec4(a_pos3d.xy,ele,1.0);v_fog_depth=pos.z/pos.w*0.5+0.5;}"),terrainDepth:kt("in float v_depth;const highp vec4 bitSh=vec4(256.*256.*256.,256.*256.,256.,1.);const highp vec4 bitMsk=vec4(0.,vec3(1./256.0));highp vec4 pack(highp float value) {highp vec4 comp=fract(value*bitSh);comp-=comp.xxyz*bitMsk;return comp;}void main() {fragColor=pack(v_depth);}","in vec3 a_pos3d;uniform float u_ele_delta;out float v_depth;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;gl_Position=projectTileFor3D(a_pos3d.xy,ele-ele_delta);v_depth=gl_Position.z/gl_Position.w;}"),terrainCoords:kt("precision mediump float;uniform sampler2D u_texture;uniform float u_terrain_coords_id;in vec2 v_texture_pos;void main() {vec4 rgba=texture(u_texture,v_texture_pos);fragColor=vec4(rgba.r,rgba.g,rgba.b,u_terrain_coords_id);}","in vec3 a_pos3d;uniform float u_ele_delta;out vec2 v_texture_pos;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;v_texture_pos=a_pos3d.xy/8192.0;gl_Position=projectTileFor3D(a_pos3d.xy,ele-ele_delta);}"),projectionErrorMeasurement:kt("in vec4 v_output_error_encoded;void main() {fragColor=v_output_error_encoded;}","in vec2 a_pos;uniform highp float u_input;uniform highp float u_output_expected;out vec4 v_output_error_encoded;void main() {float real_output=2.0*atan(exp(PI-(u_input*PI*2.0)))-PI*0.5;float error=real_output-u_output_expected;float abs_error=abs(error)*128.0;v_output_error_encoded.x=min(floor(abs_error*256.0),255.0)/255.0;abs_error-=v_output_error_encoded.x;v_output_error_encoded.y=min(floor(abs_error*65536.0),255.0)/255.0;abs_error-=v_output_error_encoded.x/255.0;v_output_error_encoded.z=min(floor(abs_error*16777216.0),255.0)/255.0;v_output_error_encoded.w=error >=0.0 ? 1.0 : 0.0;gl_Position=vec4(a_pos,0.0,1.0);}"),atmosphere:kt("#ifdef GL_ES\nprecision highp float;\n#endif\nin vec3 view_direction;uniform vec3 u_sun_pos;uniform vec3 u_globe_position;uniform float u_globe_radius;uniform float u_atmosphere_blend;/**Shader use from https:*Made some change to adapt to MapLibre Globe geometry*/const float PI=3.141592653589793;const int iSteps=5;const int jSteps=3;/*radius of the planet*/const float EARTH_RADIUS=6371e3;/*radius of the atmosphere*/const float ATMOS_RADIUS=6471e3;vec2 rsi(vec3 r0,vec3 rd,float sr) {float a=dot(rd,rd);float b=2.0*dot(rd,r0);float c=dot(r0,r0)-(sr*sr);float d=(b*b)-4.0*a*c;if (d < 0.0) return vec2(1e5,-1e5);return vec2((-b-sqrt(d))/(2.0*a),(-b+sqrt(d))/(2.0*a));}vec4 atmosphere(vec3 r,vec3 r0,vec3 pSun,float iSun,float rPlanet,float rAtmos,vec3 kRlh,float kMie,float shRlh,float shMie,float g) {pSun=normalize(pSun);r=normalize(r);vec2 p=rsi(r0,r,rAtmos);if (p.x > p.y) {return vec4(0.0,0.0,0.0,1.0);}if (p.x < 0.0) {p.x=0.0;}vec3 pos=r0+r*p.x;vec2 p2=rsi(r0,r,rPlanet);if (p2.x <=p2.y && p2.x > 0.0) {p.y=min(p.y,p2.x);}float iStepSize=(p.y-p.x)/float(iSteps);float iTime=p.x+iStepSize*0.5;vec3 totalRlh=vec3(0,0,0);vec3 totalMie=vec3(0,0,0);float iOdRlh=0.0;float iOdMie=0.0;float mu=dot(r,pSun);float mumu=mu*mu;float gg=g*g;float pRlh=3.0/(16.0*PI)*(1.0+mumu);float pMie=3.0/(8.0*PI)*((1.0-gg)*(mumu+1.0))/(pow(1.0+gg-2.0*mu*g,1.5)*(2.0+gg));for (int i=0; i < iSteps; i++) {vec3 iPos=r0+r*iTime;float iHeight=length(iPos)-rPlanet;float odStepRlh=exp(-iHeight/shRlh)*iStepSize;float odStepMie=exp(-iHeight/shMie)*iStepSize;iOdRlh+=odStepRlh;iOdMie+=odStepMie;float jStepSize=rsi(iPos,pSun,rAtmos).y/float(jSteps);float jTime=jStepSize*0.5;float jOdRlh=0.0;float jOdMie=0.0;for (int j=0; j < jSteps; j++) {vec3 jPos=iPos+pSun*jTime;float jHeight=length(jPos)-rPlanet;jOdRlh+=exp(-jHeight/shRlh)*jStepSize;jOdMie+=exp(-jHeight/shMie)*jStepSize;jTime+=jStepSize;}vec3 attn=exp(-(kMie*(iOdMie+jOdMie)+kRlh*(iOdRlh+jOdRlh)));totalRlh+=odStepRlh*attn;totalMie+=odStepMie*attn;iTime+=iStepSize;}float opacity=exp(-(length(kRlh)*length(totalRlh)+kMie*length(totalMie)));vec3 color=iSun*(pRlh*kRlh*totalRlh+pMie*kMie*totalMie);return vec4(color,opacity);}void main() {vec3 scale_camera_pos=-u_globe_position*EARTH_RADIUS/u_globe_radius;vec4 color=atmosphere(normalize(view_direction),scale_camera_pos,u_sun_pos,22.0,EARTH_RADIUS,ATMOS_RADIUS,vec3(5.5e-6,13.0e-6,22.4e-6),21e-6,8e3,1.2e3,0.758\n);color.rgb=1.0-exp(-1.0*color.rgb);color=pow(color,vec4(1.0/2.2));fragColor=vec4(color.rgb,1.0-color.a)*u_atmosphere_blend;}","in vec2 a_pos;uniform mat4 u_inv_proj_matrix;out vec3 view_direction;void main() {view_direction=(u_inv_proj_matrix*vec4(a_pos,0.0,1.0)).xyz;gl_Position=vec4(a_pos,0.0,1.0);}"),sky:kt("uniform vec4 u_sky_color;uniform vec4 u_horizon_color;uniform vec2 u_horizon;uniform vec2 u_horizon_normal;uniform float u_sky_horizon_blend;uniform float u_sky_blend;void main() {float x=gl_FragCoord.x;float y=gl_FragCoord.y;float blend=(y-u_horizon.y)*u_horizon_normal.y+(x-u_horizon.x)*u_horizon_normal.x;if (blend > 0.0) {if (blend < u_sky_horizon_blend) {fragColor=mix(u_sky_color,u_horizon_color,pow(1.0-blend/u_sky_horizon_blend,2.0));} else {fragColor=u_sky_color;}}fragColor=mix(fragColor,vec4(vec3(0.0),0.0),u_sky_blend);}","in vec2 a_pos;void main() {gl_Position=vec4(a_pos,1.0,1.0);}")};function kt(e,t){const i=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,o=t.match(/in ([\w]+) ([\w]+)/g),a=e.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),r=t.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),s=r?r.concat(a):a,n={};return {fragmentSource:e=e.replace(i,((e,t,i,o,a)=>(n[a]=!0,"define"===t?`\n#ifndef HAS_UNIFORM_u_${a}\nin ${i} ${o} ${a};\n#else\nuniform ${i} ${o} u_${a};\n#endif\n`:`\n#ifdef HAS_UNIFORM_u_${a}\n ${i} ${o} ${a} = u_${a};\n#endif\n`))),vertexSource:t=t.replace(i,((e,t,i,o,a)=>{const r="float"===o?"vec2":"vec4",s=a.match(/color/)?"color":r;return n[a]?"define"===t?`\n#ifndef HAS_UNIFORM_u_${a}\nuniform lowp float u_${a}_t;\nin ${i} ${r} a_${a};\nout ${i} ${o} ${a};\n#else\nuniform ${i} ${o} u_${a};\n#endif\n`:"vec4"===s?`\n#ifndef HAS_UNIFORM_u_${a}\n ${a} = a_${a};\n#else\n ${i} ${o} ${a} = u_${a};\n#endif\n`:`\n#ifndef HAS_UNIFORM_u_${a}\n ${a} = unpack_mix_${s}(a_${a}, u_${a}_t);\n#else\n ${i} ${o} ${a} = u_${a};\n#endif\n`:"define"===t?`\n#ifndef HAS_UNIFORM_u_${a}\nuniform lowp float u_${a}_t;\nin ${i} ${r} a_${a};\n#else\nuniform ${i} ${o} u_${a};\n#endif\n`:"vec4"===s?`\n#ifndef HAS_UNIFORM_u_${a}\n ${i} ${o} ${a} = a_${a};\n#else\n ${i} ${o} ${a} = u_${a};\n#endif\n`:`\n#ifndef HAS_UNIFORM_u_${a}\n ${i} ${o} ${a} = unpack_mix_${s}(a_${a}, u_${a}_t);\n#else\n ${i} ${o} ${a} = u_${a};\n#endif\n`})),staticAttributes:o,staticUniforms:s}}class Bt{constructor(e,t,i){this.vertexBuffer=e,this.indexBuffer=t,this.segments=i;}destroy(){this.vertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.vertexBuffer=null,this.indexBuffer=null,this.segments=null;}}var Ot=t.aS([{name:"a_pos",type:"Int16",components:2}]);const jt="#define PROJECTION_MERCATOR",Nt="mercator";class Zt{constructor(){this._cachedMesh=null;}get name(){return "mercator"}get useSubdivision(){return !1}get shaderVariantName(){return Nt}get shaderDefine(){return jt}get shaderPreludeCode(){return Ft.projectionMercator}get vertexShaderPreludeCode(){return Ft.projectionMercator.vertexSource}get subdivisionGranularity(){return t.aT.noSubdivision}get useGlobeControls(){return !1}get transitionState(){return 0}get latitudeErrorCorrectionRadians(){return 0}destroy(){}updateGPUdependent(e){}getMeshFromTileID(e,i,o,a,r){if(this._cachedMesh)return this._cachedMesh;const s=new t.aU;s.emplaceBack(0,0),s.emplaceBack(t.a6,0),s.emplaceBack(0,t.a6),s.emplaceBack(t.a6,t.a6);const n=e.createVertexBuffer(s,Ot.members),l=t.aV.simpleSegment(0,0,4,2),c=new t.aW;c.emplaceBack(1,0,2),c.emplaceBack(1,2,3);const h=e.createIndexBuffer(c);return this._cachedMesh=new Bt(n,h,l),this._cachedMesh}recalculate(){}hasTransition(){return !1}setErrorQueryLatitudeDegrees(e){}}class Ut{constructor(e=0,t=0,i=0,o=0){if(isNaN(e)||e<0||isNaN(t)||t<0||isNaN(i)||i<0||isNaN(o)||o<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=e,this.bottom=t,this.left=i,this.right=o;}interpolate(e,i,o){return null!=i.top&&null!=e.top&&(this.top=t.H.number(e.top,i.top,o)),null!=i.bottom&&null!=e.bottom&&(this.bottom=t.H.number(e.bottom,i.bottom,o)),null!=i.left&&null!=e.left&&(this.left=t.H.number(e.left,i.left,o)),null!=i.right&&null!=e.right&&(this.right=t.H.number(e.right,i.right,o)),this}getCenter(e,i){const o=t.al((this.left+e-this.right)/2,0,e),a=t.al((this.top+i-this.bottom)/2,0,i);return new t.P(o,a)}equals(e){return this.top===e.top&&this.bottom===e.bottom&&this.left===e.left&&this.right===e.right}clone(){return new Ut(this.top,this.bottom,this.left,this.right)}toJSON(){return {top:this.top,bottom:this.bottom,left:this.left,right:this.right}}}function Gt(e,t){if(!e.renderWorldCopies||e.lngRange)return;const i=t.lng-e.center.lng;t.lng+=i>180?-360:i<-180?360:0;}function Vt(e){return Math.max(0,Math.floor(e))}class Wt{constructor(e,i){var o;this.applyConstrain=(e,t)=>null!==this._constrainOverride?this._constrainOverride(e,t):this._callbacks.defaultConstrain(e,t),this._callbacks=e,this._tileSize=512,this._renderWorldCopies=void 0===(null==i?void 0:i.renderWorldCopies)||!!(null==i?void 0:i.renderWorldCopies),this._minZoom=(null==i?void 0:i.minZoom)||0,this._maxZoom=(null==i?void 0:i.maxZoom)||22,this._minPitch=null==(null==i?void 0:i.minPitch)?0:null==i?void 0:i.minPitch,this._maxPitch=null==(null==i?void 0:i.maxPitch)?60:null==i?void 0:i.maxPitch,this._constrainOverride=null!==(o=null==i?void 0:i.constrainOverride)&&void 0!==o?o:null,this.setMaxBounds(),this._width=0,this._height=0,this._center=new t.W(0,0),this._elevation=0,this._zoom=0,this._tileZoom=Vt(this._zoom),this._scale=t.ao(this._zoom),this._bearingInRadians=0,this._fovInRadians=.6435011087932844,this._pitchInRadians=0,this._rollInRadians=0,this._unmodified=!0,this._edgeInsets=new Ut,this._minElevationForCurrentTile=0,this._autoCalculateNearFarZ=!0;}apply(e,i,o){this._constrainOverride=e.constrainOverride,this._latRange=e.latRange,this._lngRange=e.lngRange,this._width=e.width,this._height=e.height,this._center=e.center,this._elevation=e.elevation,this._minElevationForCurrentTile=e.minElevationForCurrentTile,this._zoom=e.zoom,this._tileZoom=Vt(this._zoom),this._scale=t.ao(this._zoom),this._bearingInRadians=e.bearingInRadians,this._fovInRadians=e.fovInRadians,this._pitchInRadians=e.pitchInRadians,this._rollInRadians=e.rollInRadians,this._unmodified=e.unmodified,this._edgeInsets=new Ut(e.padding.top,e.padding.bottom,e.padding.left,e.padding.right),this._minZoom=e.minZoom,this._maxZoom=e.maxZoom,this._minPitch=e.minPitch,this._maxPitch=e.maxPitch,this._renderWorldCopies=e.renderWorldCopies,this._cameraToCenterDistance=e.cameraToCenterDistance,this._nearZ=e.nearZ,this._farZ=e.farZ,this._autoCalculateNearFarZ=!o&&e.autoCalculateNearFarZ,i&&this.constrainInternal(),this._calcMatrices();}get pixelsToClipSpaceMatrix(){return this._pixelsToClipSpaceMatrix}get clipSpaceToPixelsMatrix(){return this._clipSpaceToPixelsMatrix}get minElevationForCurrentTile(){return this._minElevationForCurrentTile}setMinElevationForCurrentTile(e){this._minElevationForCurrentTile=e;}get tileSize(){return this._tileSize}get tileZoom(){return this._tileZoom}get scale(){return this._scale}get width(){return this._width}get height(){return this._height}get bearingInRadians(){return this._bearingInRadians}get lngRange(){return this._lngRange}get latRange(){return this._latRange}get pixelsToGLUnits(){return this._pixelsToGLUnits}get minZoom(){return this._minZoom}setMinZoom(e){this._minZoom!==e&&(this._minZoom=e,this.setZoom(this.applyConstrain(this._center,this.zoom).zoom));}get maxZoom(){return this._maxZoom}setMaxZoom(e){this._maxZoom!==e&&(this._maxZoom=e,this.setZoom(this.applyConstrain(this._center,this.zoom).zoom));}get minPitch(){return this._minPitch}setMinPitch(e){this._minPitch!==e&&(this._minPitch=e,this.setPitch(Math.max(this.pitch,e)));}get maxPitch(){return this._maxPitch}setMaxPitch(e){this._maxPitch!==e&&(this._maxPitch=e,this.setPitch(Math.min(this.pitch,e)));}get renderWorldCopies(){return this._renderWorldCopies}setRenderWorldCopies(e){void 0===e?e=!0:null===e&&(e=!1),this._renderWorldCopies=e;}get constrainOverride(){return this._constrainOverride}setConstrainOverride(e){void 0===e&&(e=null),this._constrainOverride!==e&&(this._constrainOverride=e,this.constrainInternal(),this._calcMatrices());}get worldSize(){return this._tileSize*this._scale}get centerOffset(){return this.centerPoint._sub(this.size._div(2))}get size(){return new t.P(this._width,this._height)}get bearing(){return this._bearingInRadians/Math.PI*180}setBearing(e){const i=t.X(e,-180,180)*Math.PI/180;var a,r,s,n,l,c,h,u,d;this._bearingInRadians!==i&&(this._unmodified=!1,this._bearingInRadians=i,this._calcMatrices(),this._rotationMatrix=o(),a=this._rotationMatrix,s=-this._bearingInRadians,n=(r=this._rotationMatrix)[0],l=r[1],c=r[2],h=r[3],u=Math.sin(s),d=Math.cos(s),a[0]=n*d+c*u,a[1]=l*d+h*u,a[2]=n*-u+c*d,a[3]=l*-u+h*d);}get rotationMatrix(){return this._rotationMatrix}get pitchInRadians(){return this._pitchInRadians}get pitch(){return this._pitchInRadians/Math.PI*180}setPitch(e){const i=t.al(e,this.minPitch,this.maxPitch)/180*Math.PI;this._pitchInRadians!==i&&(this._unmodified=!1,this._pitchInRadians=i,this._calcMatrices());}get rollInRadians(){return this._rollInRadians}get roll(){return this._rollInRadians/Math.PI*180}setRoll(e){const t=e/180*Math.PI;this._rollInRadians!==t&&(this._unmodified=!1,this._rollInRadians=t,this._calcMatrices());}get fovInRadians(){return this._fovInRadians}get fov(){return t.aX(this._fovInRadians)}setFov(e){e=t.al(e,.1,150),this.fov!==e&&(this._unmodified=!1,this._fovInRadians=t.an(e),this._calcMatrices());}get zoom(){return this._zoom}setZoom(e){const i=this.applyConstrain(this._center,e).zoom;this._zoom!==i&&(this._unmodified=!1,this._zoom=i,this._tileZoom=Math.max(0,Math.floor(i)),this._scale=t.ao(i),this.constrainInternal(),this._calcMatrices());}get center(){return this._center}setCenter(e){e.lat===this._center.lat&&e.lng===this._center.lng||(this._unmodified=!1,this._center=e,this.constrainInternal(),this._calcMatrices());}get elevation(){return this._elevation}setElevation(e){e!==this._elevation&&(this._elevation=e,this.constrainInternal(),this._calcMatrices());}get padding(){return this._edgeInsets.toJSON()}setPadding(e){this._edgeInsets.equals(e)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,e,1),this._calcMatrices());}get centerPoint(){return this._edgeInsets.getCenter(this._width,this._height)}get pixelsPerMeter(){return this._pixelPerMeter}get unmodified(){return this._unmodified}get cameraToCenterDistance(){return this._cameraToCenterDistance}get nearZ(){return this._nearZ}get farZ(){return this._farZ}get autoCalculateNearFarZ(){return this._autoCalculateNearFarZ}overrideNearFarZ(e,t){this._autoCalculateNearFarZ=!1,this._nearZ=e,this._farZ=t,this._calcMatrices();}clearNearFarZOverride(){this._autoCalculateNearFarZ=!0,this._calcMatrices();}isPaddingEqual(e){return this._edgeInsets.equals(e)}interpolatePadding(e,t,i){this._unmodified=!1,this._edgeInsets.interpolate(e,t,i),this.constrainInternal(),this._calcMatrices();}resize(e,t,i=!0){this._width=e,this._height=t,i&&this.constrainInternal(),this._calcMatrices();}getMaxBounds(){var e,t;return 2!==(null===(e=this._latRange)||void 0===e?void 0:e.length)||2!==(null===(t=this._lngRange)||void 0===t?void 0:t.length)?null:new G([this._lngRange[0],this._latRange[0]],[this._lngRange[1],this._latRange[1]])}setMaxBounds(e){e?(this._lngRange=[e.getWest(),e.getEast()],this._latRange=[e.getSouth(),e.getNorth()],this.constrainInternal()):(this._lngRange=null,this._latRange=[-t.am,t.am]);}getCameraQueryGeometry(e,i){if(1===i.length)return [i[0],e];{const{minX:o,minY:a,maxX:r,maxY:s}=t.a8.fromPoints(i).extend(e);return [new t.P(o,a),new t.P(r,a),new t.P(r,s),new t.P(o,s),new t.P(o,a)]}}constrainInternal(){if(!this.center||!this._width||!this._height||this._constraining)return;this._constraining=!0;const e=this._unmodified,{center:t,zoom:i}=this.applyConstrain(this.center,this.zoom);this.setCenter(t),this.setZoom(i),this._unmodified=e,this._constraining=!1;}_calcMatrices(){if(this._width&&this._height){this._pixelsToGLUnits=[2/this._width,-2/this._height];let e=t.ap(new Float64Array(16));t.S(e,e,[this._width/2,-this._height/2,1]),t.Q(e,e,[1,-1,0]),this._clipSpaceToPixelsMatrix=e,e=t.ap(new Float64Array(16)),t.S(e,e,[1,-1,1]),t.Q(e,e,[-1,-1,0]),t.S(e,e,[2/this._width,2/this._height,1]),this._pixelsToClipSpaceMatrix=e,this._cameraToCenterDistance=.5/Math.tan(this.fovInRadians/2)*this._height;}this._callbacks.calcMatrices();}calculateCenterFromCameraLngLatAlt(e,i,o,a){const r=void 0!==o?o:this.bearing,s=a=void 0!==a?a:this.pitch,{distanceToCenter:n,clampedElevation:l}=this._distanceToCenterFromAltElevationPitch(i,this.elevation,s),{x:c,y:h}=be(s,r),u=t.a7.fromLngLat(e,i);let d,_,p=t.aY(1,u.y),m=0;do{if(m+=1,m>10)break;_=n/p,d=new t.a7(u.x+c*_,u.y+h*_),p=1/d.meterInMercatorCoordinateUnits();}while(Math.abs(n-_*p)>1e-12);return {center:d.toLngLat(),elevation:l,zoom:t.ar(this.height/2/Math.tan(this.fovInRadians/2)/_/this.tileSize)}}recalculateZoomAndCenter(e){if(this.elevation-e==0)return;const i=1/this.worldSize,o=t.aq(1,this.center.lat)*this.worldSize,a=t.a7.fromLngLat(this.center,this.elevation),r=a.x/i,s=a.y/i,n=a.z/i,l=this.pitch,c=this.bearing,{x:h,y:u,z:d}=be(l,c),_=this.cameraToCenterDistance,p=r+_*-h,m=s+_*-u,f=n+_*d,{distanceToCenter:g,clampedElevation:v}=this._distanceToCenterFromAltElevationPitch(f/o,e,l),x=g*o,b=new t.a7((p+h*x)*i,(m+u*x)*i,0).toLngLat(),y=t.aq(1,b.lat),w=t.ar(this.height/2/Math.tan(this.fovInRadians/2)/g/y/this.tileSize);this._elevation=v,this._center=b,this.setZoom(w);}_distanceToCenterFromAltElevationPitch(e,i,o){const a=-Math.cos(t.an(o)),r=e-i;let s,n=i;return a*r>=0||Math.abs(a)<.1?(s=1e4,n=e+s*a):s=-r/a,{distanceToCenter:s,clampedElevation:n}}getCameraPoint(){const e=Math.tan(this.pitchInRadians)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new t.P(e*Math.sin(this.rollInRadians),e*Math.cos(this.rollInRadians)))}getCameraAltitude(){return Math.cos(this.pitchInRadians)*this._cameraToCenterDistance/this._pixelPerMeter+this.elevation}getCameraLngLat(){const e=t.aq(1,this.center.lat)*this.worldSize;return xe(this.center,this.elevation,this.pitch,this.bearing,this.cameraToCenterDistance/e).toLngLat()}getMercatorTileCoordinates(e){if(!e)return [0,0,1,1];const i=e.canonical.z>=0?1<this.max[0]||e.aabb.min[1]>this.max[1]||e.aabb.min[2]>this.max[2]||e.aabb.max[0]0?(t+=e[o]*this.min[o],i+=e[o]*this.max[o]):(i+=e[o]*this.min[o],t+=e[o]*this.max[o]);return t>=0?2:i<0?0:1}}class $t{distanceToTile2d(e,t,i,o){const a=o,r=a.distanceX([e,t]),s=a.distanceY([e,t]);return Math.hypot(r,s)}getWrap(e,t,i){return i}getTileBoundingVolume(e,i,o,a){var r,s;let n=0,l=0;if(null==a?void 0:a.terrain){const c=new t.a3(e.z,i,e.z,e.x,e.y),h=a.terrain.getMinMaxElevation(c);n=null!==(r=h.minElevation)&&void 0!==r?r:Math.min(0,o),l=null!==(s=h.maxElevation)&&void 0!==s?s:Math.max(0,o);}const c=1<a}allowWorldCopies(){return !0}prepareNextFrame(){}}class Ht{constructor(e,t,i){this.points=e,this.planes=t,this.aabb=i;}static fromInvProjectionMatrix(e,i=1,o=0,a,r){const s=r?[[6,5,4],[0,1,2],[0,3,7],[2,1,5],[3,2,6],[0,4,5]]:[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]],n=Math.pow(2,o),l=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map((o=>function(e,i,o,a){const r=t.aE([],e,i),s=1/r[3]/o*a;return t.b4(r,r,[s,s,1/r[3],s])}(o,e,i,n)));a&&function(e,i,o,a){const r=a?4:0,s=a?0:4;let n=0;const l=[],c=[];for(let i=0;i<4;i++){const o=t.b0([],e[i+s],e[i+r]),a=t.b5(o);t.aZ(o,o,1/a),l.push(a),c.push(o);}for(let i=0;i<4;i++){const a=t.b6(e[i+r],c[i],o);n=null!==a&&a>=0?Math.max(n,a):Math.max(n,l[i]);}const h=function(e,i){const o=t.b0([],e[i[0]],e[i[1]]),a=t.b0([],e[i[2]],e[i[1]]),r=[0,0,0,0];return t.b1(r,t.b2([],o,a)),r[3]=-t.b3(r,e[i[0]]),r}(e,i),u=function(e,i){const o=t.b7(e),a=t.b8([],e,1/o),r=t.b0([],i,t.aZ([],a,t.b3(i,a))),s=t.b7(r);if(s>0){const e=Math.sqrt(1-a[3]*a[3]),o=t.aZ([],a,-a[3]),n=t.a_([],o,t.aZ([],r,e/s));return t.b9(i,n)}return null}(o,h);if(null!==u){const e=u/t.b3(c[0],h);n=Math.min(n,e);}for(let t=0;t<4;t++){const i=Math.min(n,l[t]);e[t+s]=[e[t+r][0]+c[t][0]*i,e[t+r][1]+c[t][1]*i,e[t+r][2]+c[t][2]*i,1];}}(l,s[0],a,r);const c=s.map((e=>{const i=t.b0([],l[e[0]],l[e[1]]),o=t.b0([],l[e[2]],l[e[1]]),a=t.b1([],t.b2([],i,o)),r=-t.b3(a,l[e[1]]);return a.concat(r)})),h=[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY],u=[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY];for(const e of l)for(let t=0;t<3;t++)h[t]=Math.min(h[t],e[t]),u[t]=Math.max(u[t],e[t]);return new Ht(l,c,new qt(h,u))}}class Xt{get pixelsToClipSpaceMatrix(){return this._helper.pixelsToClipSpaceMatrix}get clipSpaceToPixelsMatrix(){return this._helper.clipSpaceToPixelsMatrix}get pixelsToGLUnits(){return this._helper.pixelsToGLUnits}get centerOffset(){return this._helper.centerOffset}get size(){return this._helper.size}get rotationMatrix(){return this._helper.rotationMatrix}get centerPoint(){return this._helper.centerPoint}get pixelsPerMeter(){return this._helper.pixelsPerMeter}setMinZoom(e){this._helper.setMinZoom(e);}setMaxZoom(e){this._helper.setMaxZoom(e);}setMinPitch(e){this._helper.setMinPitch(e);}setMaxPitch(e){this._helper.setMaxPitch(e);}setRenderWorldCopies(e){this._helper.setRenderWorldCopies(e);}setBearing(e){this._helper.setBearing(e);}setPitch(e){this._helper.setPitch(e);}setRoll(e){this._helper.setRoll(e);}setFov(e){this._helper.setFov(e);}setZoom(e){this._helper.setZoom(e);}setCenter(e){this._helper.setCenter(e);}setElevation(e){this._helper.setElevation(e);}setMinElevationForCurrentTile(e){this._helper.setMinElevationForCurrentTile(e);}setPadding(e){this._helper.setPadding(e);}interpolatePadding(e,t,i){this._helper.interpolatePadding(e,t,i);}isPaddingEqual(e){return this._helper.isPaddingEqual(e)}resize(e,t,i=!0){this._helper.resize(e,t,i);}getMaxBounds(){return this._helper.getMaxBounds()}setMaxBounds(e){this._helper.setMaxBounds(e);}setConstrainOverride(e){this._helper.setConstrainOverride(e);}overrideNearFarZ(e,t){this._helper.overrideNearFarZ(e,t);}clearNearFarZOverride(){this._helper.clearNearFarZOverride();}getCameraQueryGeometry(e){return this._helper.getCameraQueryGeometry(this.getCameraPoint(),e)}get tileSize(){return this._helper.tileSize}get tileZoom(){return this._helper.tileZoom}get scale(){return this._helper.scale}get worldSize(){return this._helper.worldSize}get width(){return this._helper.width}get height(){return this._helper.height}get lngRange(){return this._helper.lngRange}get latRange(){return this._helper.latRange}get minZoom(){return this._helper.minZoom}get maxZoom(){return this._helper.maxZoom}get zoom(){return this._helper.zoom}get center(){return this._helper.center}get minPitch(){return this._helper.minPitch}get maxPitch(){return this._helper.maxPitch}get pitch(){return this._helper.pitch}get pitchInRadians(){return this._helper.pitchInRadians}get roll(){return this._helper.roll}get rollInRadians(){return this._helper.rollInRadians}get bearing(){return this._helper.bearing}get bearingInRadians(){return this._helper.bearingInRadians}get fov(){return this._helper.fov}get fovInRadians(){return this._helper.fovInRadians}get elevation(){return this._helper.elevation}get minElevationForCurrentTile(){return this._helper.minElevationForCurrentTile}get padding(){return this._helper.padding}get unmodified(){return this._helper.unmodified}get renderWorldCopies(){return this._helper.renderWorldCopies}get cameraToCenterDistance(){return this._helper.cameraToCenterDistance}get constrainOverride(){return this._helper.constrainOverride}get nearZ(){return this._helper.nearZ}get farZ(){return this._helper.farZ}get autoCalculateNearFarZ(){return this._helper.autoCalculateNearFarZ}setTransitionState(e,t){}constructor(e){this._posMatrixCache=new Map,this._alignedPosMatrixCache=new Map,this._fogMatrixCacheF32=new Map,this.defaultConstrain=(e,i)=>{i=t.al(+i,this.minZoom,this.maxZoom);const o={center:new t.W(e.lng,e.lat),zoom:i};let a=this._helper._lngRange;if(!this._helper._renderWorldCopies&&null===a){const e=180-1e-10;a=[-e,e];}const r=this.tileSize*t.ao(o.zoom);let s=0,n=r,l=0,c=r,h=0,u=0;const{x:d,y:_}=this.size;if(this._helper._latRange){const e=this._helper._latRange;s=t.Y(e[1])*r,n=t.Y(e[0])*r,n-s<_&&(h=_/(n-s));}a&&(l=t.X(t.Z(a[0])*r,0,r),c=t.X(t.Z(a[1])*r,0,r),cn&&(g=n-e);}if(a){const e=(l+c)/2;let i=p;this._helper._renderWorldCopies&&(i=t.X(p,e-r/2,e+r/2));const o=d/2;i-oc&&(f=c-o);}if(void 0!==f||void 0!==g){const e=new t.P(null!=f?f:p,null!=g?g:m);o.center=fe(r,e).wrap();}return o},this.applyConstrain=(e,t)=>this._helper.applyConstrain(e,t),this._helper=new Wt({calcMatrices:()=>this._calcMatrices(),defaultConstrain:(e,t)=>this.defaultConstrain(e,t)},e),this._coveringTilesDetailsProvider=new $t;}clone(){const e=new Xt;return e.apply(this,!1),e}apply(e,t,i){this._helper.apply(e,t,i);}get cameraPosition(){return this._cameraPosition}get projectionMatrix(){return this._projectionMatrix}get modelViewProjectionMatrix(){return this._viewProjMatrix}get inverseProjectionMatrix(){return this._invProjMatrix}get mercatorMatrix(){return this._mercatorMatrix}getVisibleUnwrappedCoordinates(e){const i=[new t.ba(0,e)];if(this._helper._renderWorldCopies){const o=this.screenPointToMercatorCoordinate(new t.P(0,0)),a=this.screenPointToMercatorCoordinate(new t.P(this._helper._width,0)),r=this.screenPointToMercatorCoordinate(new t.P(this._helper._width,this._helper._height)),s=this.screenPointToMercatorCoordinate(new t.P(0,this._helper._height)),n=Math.floor(Math.min(o.x,a.x,r.x,s.x)),l=Math.floor(Math.max(o.x,a.x,r.x,s.x)),c=1;for(let o=n-c;o<=l+c;o++)0!==o&&i.push(new t.ba(o,e));}return i}getCameraFrustum(){return Ht.fromInvProjectionMatrix(this._invViewProjMatrix,this.worldSize)}getClippingPlane(){return null}getCoveringTilesDetailsProvider(){return this._coveringTilesDetailsProvider}recalculateZoomAndCenter(e){const t=this.screenPointToLocation(this.centerPoint,e),i=e?e.getElevationForLngLatZoom(t,this._helper._tileZoom):0;this._helper.recalculateZoomAndCenter(i);}setLocationAtPoint(e,i){const o=t.aq(this.elevation,this.center.lat),a=this.screenPointToMercatorCoordinateAtZ(i,o),r=this.screenPointToMercatorCoordinateAtZ(this.centerPoint,o),s=t.a7.fromLngLat(e),n=new t.a7(s.x-(a.x-r.x),s.y-(a.y-r.y));this.setCenter(null==n?void 0:n.toLngLat()),this._helper._renderWorldCopies&&this.setCenter(this.center.wrap());}locationToScreenPoint(e,i){return i?this.coordinatePoint(t.a7.fromLngLat(e),i.getElevationForLngLat(e,this),this._pixelMatrix3D):this.coordinatePoint(t.a7.fromLngLat(e))}screenPointToLocation(e,t){var i;return null===(i=this.screenPointToMercatorCoordinate(e,t))||void 0===i?void 0:i.toLngLat()}screenPointToMercatorCoordinate(e,t){if(t){const i=t.pointCoordinate(e);if(null!=i)return i}return this.screenPointToMercatorCoordinateAtZ(e)}screenPointToMercatorCoordinateAtZ(e,i){const o=i||0,a=[e.x,e.y,0,1],r=[e.x,e.y,1,1];t.aE(a,a,this._pixelMatrixInverse),t.aE(r,r,this._pixelMatrixInverse);const s=a[3],n=r[3],l=a[1]/s,c=r[1]/n,h=a[2]/s,u=r[2]/n,d=h===u?0:(o-h)/(u-h);return new t.a7(t.H.number(a[0]/s,r[0]/n,d)/this.worldSize,t.H.number(l,c,d)/this.worldSize,o)}coordinatePoint(e,i=0,o=this._pixelMatrix){const a=[e.x*this.worldSize,e.y*this.worldSize,i,1];return t.aE(a,a,o),new t.P(a[0]/a[3],a[1]/a[3])}getBounds(){const e=Math.max(0,this._helper._height/2-ge(this));return (new G).extend(this.screenPointToLocation(new t.P(0,e))).extend(this.screenPointToLocation(new t.P(this._helper._width,e))).extend(this.screenPointToLocation(new t.P(this._helper._width,this._helper._height))).extend(this.screenPointToLocation(new t.P(0,this._helper._height)))}isPointOnMapSurface(e,t){return t?null!=t.pointCoordinate(e):e.y>this.height/2-ge(this)}calculatePosMatrix(e,i=!1,o){var a;const r=null!==(a=e.key)&&void 0!==a?a:t.bb(e.wrap,e.canonical.z,e.canonical.z,e.canonical.x,e.canonical.y),s=i?this._alignedPosMatrixCache:this._posMatrixCache;if(s.has(r)){const e=s.get(r);return o?e.f32:e.f64}const n=ve(e,this.worldSize);t.U(n,i?this._alignedProjMatrix:this._viewProjMatrix,n);const l={f64:n,f32:new Float32Array(n)};return s.set(r,l),o?l.f32:l.f64}calculateFogMatrix(e){const i=e.key,o=this._fogMatrixCacheF32;if(o.has(i))return o.get(i);const a=ve(e,this.worldSize);return t.U(a,this._fogMatrix,a),o.set(i,new Float32Array(a)),o.get(i)}calculateCenterFromCameraLngLatAlt(e,t,i,o){return this._helper.calculateCenterFromCameraLngLatAlt(e,t,i,o)}_calculateNearFarZIfNeeded(e,i,o){if(!this._helper.autoCalculateNearFarZ)return;const a=Math.min(this.elevation,this.minElevationForCurrentTile,this.getCameraAltitude()-100),r=e-a*this._helper._pixelPerMeter/Math.cos(i),s=a<0?r:e,n=Math.PI/2+this.pitchInRadians,l=t.an(this.fov)*(Math.abs(Math.cos(t.an(this.roll)))*this.height+Math.abs(Math.sin(t.an(this.roll)))*this.width)/this.height*(.5+o.y/this.height),c=Math.sin(l)*s/Math.sin(t.al(Math.PI-n-l,.01,Math.PI-.01)),h=ge(this),u=Math.atan(h/this._helper.cameraToCenterDistance),d=t.an(.75),_=u>d?2*u*(.5+o.y/(2*h)):d,p=Math.sin(_)*s/Math.sin(t.al(Math.PI-n-_,.01,Math.PI-.01)),m=Math.min(c,p);this._helper._farZ=1.01*(Math.cos(Math.PI/2-i)*m+s),this._helper._nearZ=this._helper._height/50;}_calcMatrices(){if(!this._helper._height)return;const e=this.centerOffset,i=me(this.worldSize,this.center),o=i.x,a=i.y;this._helper._pixelPerMeter=t.aq(1,this.center.lat)*this.worldSize;const r=t.an(Math.min(this.pitch,pe)),s=Math.max(this._helper.cameraToCenterDistance/2,this._helper.cameraToCenterDistance+this._helper._elevation*this._helper._pixelPerMeter/Math.cos(r));let n;var l,c;this._calculateNearFarZIfNeeded(s,r,e),n=new Float64Array(16),t.bc(n,this.fovInRadians,this._helper._width/this._helper._height,this._helper._nearZ,this._helper._farZ),this._invProjMatrix=new Float64Array(16),(l=this._invProjMatrix)[0]=1/(c=n)[0],l[1]=0,l[2]=0,l[3]=0,l[4]=0,l[5]=1/c[5],l[6]=0,l[7]=0,l[8]=0,l[9]=0,l[10]=0,l[11]=1/c[14],l[12]=0,l[13]=0,l[14]=-1,l[15]=c[10]/c[14],n[8]=2*-e.x/this._helper._width,n[9]=2*e.y/this._helper._height,this._projectionMatrix=t.bd(n),t.S(n,n,[1,-1,1]),t.Q(n,n,[0,0,-this._helper.cameraToCenterDistance]),t.be(n,n,-this.rollInRadians),t.bf(n,n,this.pitchInRadians),t.be(n,n,-this.bearingInRadians),t.Q(n,n,[-o,-a,0]),this._mercatorMatrix=t.S([],n,[this.worldSize,this.worldSize,this.worldSize]),t.S(n,n,[1,1,this._helper._pixelPerMeter]),this._pixelMatrix=t.U(new Float64Array(16),this.clipSpaceToPixelsMatrix,n),t.Q(n,n,[0,0,-this.elevation]),this._viewProjMatrix=n,this._invViewProjMatrix=t.bg([],n);const h=[0,0,-1,1];t.aE(h,h,this._invViewProjMatrix),this._cameraPosition=[h[0]/h[3],h[1]/h[3],h[2]/h[3]],this._fogMatrix=new Float64Array(16),t.bc(this._fogMatrix,this.fovInRadians,this.width/this.height,s,this._helper._farZ),this._fogMatrix[8]=2*-e.x/this.width,this._fogMatrix[9]=2*e.y/this.height,t.S(this._fogMatrix,this._fogMatrix,[1,-1,1]),t.Q(this._fogMatrix,this._fogMatrix,[0,0,-this.cameraToCenterDistance]),t.be(this._fogMatrix,this._fogMatrix,-this.rollInRadians),t.bf(this._fogMatrix,this._fogMatrix,this.pitchInRadians),t.be(this._fogMatrix,this._fogMatrix,-this.bearingInRadians),t.Q(this._fogMatrix,this._fogMatrix,[-o,-a,0]),t.S(this._fogMatrix,this._fogMatrix,[1,1,this._helper._pixelPerMeter]),t.Q(this._fogMatrix,this._fogMatrix,[0,0,-this.elevation]),this._pixelMatrix3D=t.U(new Float64Array(16),this.clipSpaceToPixelsMatrix,n);const u=this._helper._width%2/2,d=this._helper._height%2/2,_=Math.cos(this.bearingInRadians),p=Math.sin(-this.bearingInRadians),m=o-Math.round(o)+_*u+p*d,f=a-Math.round(a)+_*d+p*u,g=new Float64Array(n);if(t.Q(g,g,[m>.5?m-1:m,f>.5?f-1:f,0]),this._alignedProjMatrix=g,n=t.bg(new Float64Array(16),this._pixelMatrix),!n)throw new Error("failed to invert matrix");this._pixelMatrixInverse=n,this._clearMatrixCaches();}_clearMatrixCaches(){this._posMatrixCache.clear(),this._alignedPosMatrixCache.clear(),this._fogMatrixCacheF32.clear();}maxPitchScaleFactor(){if(!this._pixelMatrixInverse)return 1;const e=this.screenPointToMercatorCoordinate(new t.P(0,0)),i=[e.x*this.worldSize,e.y*this.worldSize,0,1];return t.aE(i,i,this._pixelMatrix)[3]/this._helper.cameraToCenterDistance}getCameraPoint(){return this._helper.getCameraPoint()}getCameraAltitude(){return this._helper.getCameraAltitude()}getCameraLngLat(){const e=t.aq(1,this.center.lat)*this.worldSize;return xe(this.center,this.elevation,this.pitch,this.bearing,this._helper.cameraToCenterDistance/e).toLngLat()}lngLatToCameraDepth(e,i){const o=t.a7.fromLngLat(e),a=[o.x*this.worldSize,o.y*this.worldSize,i,1];return t.aE(a,a,this._viewProjMatrix),a[2]/a[3]}getProjectionData(e){const{overscaledTileID:i,aligned:o,applyTerrainMatrix:a}=e,r=this._helper.getMercatorTileCoordinates(i),s=i?this.calculatePosMatrix(i,o,!0):null;let n;return n=(null==i?void 0:i.terrainRttPosMatrix32f)&&a?i.terrainRttPosMatrix32f:s||t.bh(),{mainMatrix:n,tileMercatorCoords:r,clippingPlane:[0,0,0,0],projectionTransition:0,fallbackMatrix:n}}isLocationOccluded(e){return !1}getPixelScale(){return 1}getCircleRadiusCorrection(){return 1}getPitchedTextCorrection(e,t,i){return 1}transformLightDirection(e){return t.a$(e)}getRayDirectionFromPixel(e){throw new Error("Not implemented.")}projectTileCoordinates(e,i,o,a){const r=this.calculatePosMatrix(o);let s;a?(s=[e,i,a(e,i),1],t.aE(s,s,r)):(s=[e,i,0,1],nt(s,s,r));const n=s[3];return {point:new t.P(s[0]/n,s[1]/n),signedDistanceFromCamera:n,isOccluded:!1}}populateCache(e){for(const t of e)this.calculatePosMatrix(t);}getMatrixForModel(e,i){const o=t.a7.fromLngLat(e,i),a=o.meterInMercatorCoordinateUnits(),r=t.bi();return t.Q(r,r,[o.x,o.y,o.z]),t.be(r,r,Math.PI),t.bf(r,r,Math.PI/2),t.S(r,r,[-a,a,a]),r}getProjectionDataForCustomLayer(e=!0){const i=new t.a3(0,0,0,0,0),o=this.getProjectionData({overscaledTileID:i,applyGlobeMatrix:e}),a=ve(i,this.worldSize);t.U(a,this._viewProjMatrix,a),o.tileMercatorCoords=[0,0,1,1];const r=[t.a6,t.a6,this.worldSize/this._helper.pixelsPerMeter],s=t.bj();return t.S(s,a,r),o.fallbackMatrix=s,o.mainMatrix=s,o}getFastPathSimpleProjectionMatrix(e){return this.calculatePosMatrix(e)}}function Kt(){t.w("Map cannot fit within canvas with the given bounds, padding, and/or offset.");}function Yt(e){if(e.useSlerp)if(e.k<1){const i=t.bk(e.startEulerAngles.roll,e.startEulerAngles.pitch,e.startEulerAngles.bearing),o=t.bk(e.endEulerAngles.roll,e.endEulerAngles.pitch,e.endEulerAngles.bearing),a=new Float64Array(4);t.bl(a,i,o,e.k);const r=t.bm(a);e.tr.setRoll(r.roll),e.tr.setPitch(r.pitch),e.tr.setBearing(r.bearing);}else e.tr.setRoll(e.endEulerAngles.roll),e.tr.setPitch(e.endEulerAngles.pitch),e.tr.setBearing(e.endEulerAngles.bearing);else e.tr.setRoll(t.H.number(e.startEulerAngles.roll,e.endEulerAngles.roll,e.k)),e.tr.setPitch(t.H.number(e.startEulerAngles.pitch,e.endEulerAngles.pitch,e.k)),e.tr.setBearing(t.H.number(e.startEulerAngles.bearing,e.endEulerAngles.bearing,e.k));}function Qt(e,i,o,a,r){const s=r.padding,n=me(r.worldSize,o.getNorthWest()),l=me(r.worldSize,o.getNorthEast()),c=me(r.worldSize,o.getSouthEast()),h=me(r.worldSize,o.getSouthWest()),u=t.an(-a),d=n.rotate(u),_=l.rotate(u),p=c.rotate(u),m=h.rotate(u),f=new t.P(Math.max(d.x,_.x,m.x,p.x),Math.max(d.y,_.y,m.y,p.y)),g=new t.P(Math.min(d.x,_.x,m.x,p.x),Math.min(d.y,_.y,m.y,p.y)),v=f.sub(g),x=(r.width-(s.left+s.right+i.left+i.right))/v.x,b=(r.height-(s.top+s.bottom+i.top+i.bottom))/v.y;if(b<0||x<0)return void Kt();const y=Math.min(t.ar(r.scale*Math.min(x,b)),e.maxZoom),w=t.P.convert(e.offset),T=new t.P((i.left-i.right)/2,(i.top-i.bottom)/2).rotate(t.an(a)),P=w.add(T).mult(r.scale/t.ao(y));return {center:fe(r.worldSize,n.add(c).div(2).sub(P)),zoom:y,bearing:a}}class Jt{get useGlobeControls(){return !1}handlePanInertia(e,t){const i=e.mag(),o=Math.abs(ge(t));return {easingOffset:e.mult(Math.min(.75*o/i,1)),easingCenter:t.center}}handleMapControlsRollPitchBearingZoom(e,t){e.bearingDelta&&t.setBearing(t.bearing+e.bearingDelta),e.pitchDelta&&t.setPitch(t.pitch+e.pitchDelta),e.rollDelta&&t.setRoll(t.roll+e.rollDelta),e.zoomDelta&&t.setZoom(t.zoom+e.zoomDelta);}handleMapControlsPan(e,t,i){e.around.distSqr(t.centerPoint)<.01||t.setLocationAtPoint(i,e.around);}cameraForBoxAndBearing(e,t,i,o,a){return Qt(e,t,i,o,a)}handleJumpToCenterZoom(e,i){e.zoom!==(void 0!==i.zoom?+i.zoom:e.zoom)&&e.setZoom(+i.zoom),void 0!==i.center&&e.setCenter(t.W.convert(i.center));}handleEaseTo(e,i){const o=e.zoom,a=e.padding,r={roll:e.roll,pitch:e.pitch,bearing:e.bearing},s={roll:void 0===i.roll?e.roll:i.roll,pitch:void 0===i.pitch?e.pitch:i.pitch,bearing:void 0===i.bearing?e.bearing:i.bearing},n=void 0!==i.zoom,l=!e.isPaddingEqual(i.padding);let c=!1;const h=n?+i.zoom:e.zoom;let u=e.centerPoint.add(i.offsetAsPoint);const d=e.screenPointToLocation(u),{center:_,zoom:p}=e.applyConstrain(t.W.convert(i.center||d),null!=h?h:o);Gt(e,_);const m=me(e.worldSize,d),f=me(e.worldSize,_).sub(m),g=t.ao(p-o);return c=p!==o,{easeFunc:n=>{if(c&&e.setZoom(t.H.number(o,p,n)),t.bn(r,s)||Yt({startEulerAngles:r,endEulerAngles:s,tr:e,k:n,useSlerp:r.roll!=s.roll}),l&&(e.interpolatePadding(a,i.padding,n),u=e.centerPoint.add(i.offsetAsPoint)),i.around)e.setLocationAtPoint(i.around,i.aroundPoint);else {const i=t.ao(e.zoom-o),a=p>o?Math.min(2,g):Math.max(.5,g),r=Math.pow(a,1-n),s=fe(e.worldSize,m.add(f.mult(n*r)).mult(i));e.setLocationAtPoint(e.renderWorldCopies?s.wrap():s,u);}},isZooming:c,elevationCenter:_}}handleFlyTo(e,i){const o=void 0!==i.zoom,a=e.zoom,r=e.applyConstrain(t.W.convert(i.center||i.locationAtOffset),o?+i.zoom:a),s=r.center,n=r.zoom;Gt(e,s);const l=me(e.worldSize,i.locationAtOffset),c=me(e.worldSize,s).sub(l),h=c.mag(),u=t.ao(n-a);let d;if(void 0!==i.minZoom){const o=Math.min(+i.minZoom,a,n),r=e.applyConstrain(s,o).zoom;d=t.ao(r-a);}return {easeFunc:(i,o,r,h)=>{e.setZoom(1===i?n:a+t.ar(o));const u=1===i?s:fe(e.worldSize,l.add(c.mult(r)).mult(o));e.setLocationAtPoint(e.renderWorldCopies?u.wrap():u,h);},scaleOfZoom:u,targetCenter:s,scaleOfMinZoom:d,pixelPathLength:h}}}class ei{constructor(e,t,i){this.blendFunction=e,this.blendColor=t,this.mask=i;}}ei.Replace=[1,0],ei.disabled=new ei(ei.Replace,t.bo.transparent,[!1,!1,!1,!1]),ei.unblended=new ei(ei.Replace,t.bo.transparent,[!0,!0,!0,!0]),ei.alphaBlended=new ei([1,771],t.bo.transparent,[!0,!0,!0,!0]);const ti=2305;class ii{constructor(e,t,i){this.enable=e,this.mode=t,this.frontFace=i;}}ii.disabled=new ii(!1,1029,ti),ii.backCCW=new ii(!0,1029,ti),ii.frontCCW=new ii(!0,1028,ti);class oi{constructor(e,t,i){this.func=e,this.mask=t,this.range=i;}}oi.ReadOnly=!1,oi.ReadWrite=!0,oi.disabled=new oi(519,oi.ReadOnly,[0,1]);const ai=7680;class ri{constructor(e,t,i,o,a,r){this.test=e,this.ref=t,this.mask=i,this.fail=o,this.depthFail=a,this.pass=r;}}function si(e){return "undefined"!=typeof WebGL2RenderingContext&&e instanceof WebGL2RenderingContext}ri.disabled=new ri({func:519,mask:0},0,0,ai,ai,ai);class ni{get awaitingQuery(){return !!this._readbackQueue}constructor(e){this._readbackWaitFrames=4,this._measureWaitFrames=6,this._texWidth=1,this._texHeight=1,this._measuredError=0,this._updateCount=0,this._lastReadbackFrame=-1e3,this._readbackQueue=null,this._cachedRenderContext=e;const i=e.context,o=i.gl;this._texFormat=o.RGBA,this._texType=o.UNSIGNED_BYTE;const a=new t.aU;a.emplaceBack(-1,-1),a.emplaceBack(2,-1),a.emplaceBack(-1,2);const r=new t.aW;r.emplaceBack(0,1,2),this._fullscreenTriangle=new Bt(i.createVertexBuffer(a,Ot.members),i.createIndexBuffer(r),t.aV.simpleSegment(0,0,a.length,r.length)),this._resultBuffer=new Uint8Array(4),i.activeTexture.set(o.TEXTURE1);const s=o.createTexture();o.bindTexture(o.TEXTURE_2D,s),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_WRAP_S,o.CLAMP_TO_EDGE),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_WRAP_T,o.CLAMP_TO_EDGE),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_MIN_FILTER,o.NEAREST),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_MAG_FILTER,o.NEAREST),o.texImage2D(o.TEXTURE_2D,0,this._texFormat,this._texWidth,this._texHeight,0,this._texFormat,this._texType,null),this._fbo=i.createFramebuffer(this._texWidth,this._texHeight,!1,!1),this._fbo.colorAttachment.set(s),si(o)&&(this._pbo=o.createBuffer(),o.bindBuffer(o.PIXEL_PACK_BUFFER,this._pbo),o.bufferData(o.PIXEL_PACK_BUFFER,4,o.STREAM_READ),o.bindBuffer(o.PIXEL_PACK_BUFFER,null));}destroy(){const e=this._cachedRenderContext.context.gl;this._fullscreenTriangle.destroy(),this._fbo.destroy(),e.deleteBuffer(this._pbo),this._fullscreenTriangle=null,this._fbo=null,this._pbo=null,this._resultBuffer=null;}updateErrorLoop(e,t){const i=this._updateCount;return this._readbackQueue?i>=this._readbackQueue.frameNumberIssued+this._readbackWaitFrames&&this._tryReadback():i>=this._lastReadbackFrame+this._measureWaitFrames&&this._renderErrorTexture(e,t),this._updateCount++,this._measuredError}_bindFramebuffer(){const e=this._cachedRenderContext.context,t=e.gl;e.activeTexture.set(t.TEXTURE1),t.bindTexture(t.TEXTURE_2D,this._fbo.colorAttachment.get()),e.bindFramebuffer.set(this._fbo.framebuffer);}_renderErrorTexture(e,i){const o=this._cachedRenderContext.context,a=o.gl;if(this._bindFramebuffer(),o.viewport.set([0,0,this._texWidth,this._texHeight]),o.clear({color:t.bo.transparent}),this._cachedRenderContext.useProgram("projectionErrorMeasurement").draw(o,a.TRIANGLES,oi.disabled,ri.disabled,ei.unblended,ii.disabled,((e,t)=>({u_input:e,u_output_expected:t}))(e,i),null,null,"$clipping",this._fullscreenTriangle.vertexBuffer,this._fullscreenTriangle.indexBuffer,this._fullscreenTriangle.segments),this._pbo&&si(a)){a.bindBuffer(a.PIXEL_PACK_BUFFER,this._pbo),a.readBuffer(a.COLOR_ATTACHMENT0),a.readPixels(0,0,this._texWidth,this._texHeight,this._texFormat,this._texType,0),a.bindBuffer(a.PIXEL_PACK_BUFFER,null);const e=a.fenceSync(a.SYNC_GPU_COMMANDS_COMPLETE,0);a.flush(),this._readbackQueue={frameNumberIssued:this._updateCount,sync:e};}else this._readbackQueue={frameNumberIssued:this._updateCount,sync:null};}_tryReadback(){const e=this._cachedRenderContext.context.gl;if(this._pbo&&this._readbackQueue&&si(e)){const i=e.clientWaitSync(this._readbackQueue.sync,0,0);if(i===e.WAIT_FAILED)return t.w("WebGL2 clientWaitSync failed."),this._readbackQueue=null,void(this._lastReadbackFrame=this._updateCount);if(i===e.TIMEOUT_EXPIRED)return;e.bindBuffer(e.PIXEL_PACK_BUFFER,this._pbo),e.getBufferSubData(e.PIXEL_PACK_BUFFER,0,this._resultBuffer,0,4),e.bindBuffer(e.PIXEL_PACK_BUFFER,null);}else this._bindFramebuffer(),e.readPixels(0,0,this._texWidth,this._texHeight,this._texFormat,this._texType,this._resultBuffer);this._readbackQueue=null,this._measuredError=ni._parseRGBA8float(this._resultBuffer),this._lastReadbackFrame=this._updateCount;}static _parseRGBA8float(e){let t=0;return t+=e[0]/256,t+=e[1]/65536,t+=e[2]/16777216,e[3]<127&&(t=-t),t/128}}const li=t.a6/128;function ci(e,i){const o=void 0!==e.granularity?Math.max(e.granularity,1):1,a=o+(e.generateBorders?2:0),r=o+(e.extendToNorthPole||e.generateBorders?1:0)+(e.extendToSouthPole||e.generateBorders?1:0),s=a+1,n=r+1,l=e.generateBorders?-1:0,c=e.generateBorders||e.extendToNorthPole?-1:0,h=o+(e.generateBorders?1:0),u=o+(e.generateBorders||e.extendToSouthPole?1:0),d=s*n,_=a*r*6,p=s*n>65536;if(p&&"16bit"===i)throw new Error("Granularity is too large and meshes would not fit inside 16 bit vertex indices.");const m=p||"32bit"===i,f=new Int16Array(2*d);let g=0;for(let i=c;i<=u;i++)for(let a=l;a<=h;a++){let r=a/o*t.a6;-1===a&&(r=-li),a===o+1&&(r=t.a6+li);let s=i/o*t.a6;-1===i&&(s=e.extendToNorthPole?t.bq:-li),i===o+1&&(s=e.extendToSouthPole?t.br:t.a6+li),f[g++]=r,f[g++]=s;}const v=m?new Uint32Array(_):new Uint16Array(_);let x=0;for(let e=0;e0}get latitudeErrorCorrectionRadians(){return this._verticalPerspectiveProjection.latitudeErrorCorrectionRadians}get currentProjection(){return this.useGlobeRendering?this._verticalPerspectiveProjection:this._mercatorProjection}get name(){return "globe"}get useSubdivision(){return this.currentProjection.useSubdivision}get shaderVariantName(){return this.currentProjection.shaderVariantName}get shaderDefine(){return this.currentProjection.shaderDefine}get shaderPreludeCode(){return this.currentProjection.shaderPreludeCode}get vertexShaderPreludeCode(){return this.currentProjection.vertexShaderPreludeCode}get subdivisionGranularity(){return this.currentProjection.subdivisionGranularity}get useGlobeControls(){return this.transitionState>0}destroy(){this._mercatorProjection.destroy(),this._verticalPerspectiveProjection.destroy();}updateGPUdependent(e){this._mercatorProjection.updateGPUdependent(e),this._verticalPerspectiveProjection.updateGPUdependent(e);}getMeshFromTileID(e,t,i,o,a){return this.currentProjection.getMeshFromTileID(e,t,i,o,a)}setProjection(e){this._transitionable.setValue("type",(null==e?void 0:e.type)||"mercator");}updateTransitions(e){this._transitioning=this._transitionable.transitioned(e,this._transitioning);}hasTransition(){return this._transitioning.hasTransition()||this.currentProjection.hasTransition()}recalculate(e){this.properties=this._transitioning.possiblyEvaluate(e);}setErrorQueryLatitudeDegrees(e){this._verticalPerspectiveProjection.setErrorQueryLatitudeDegrees(e),this._mercatorProjection.setErrorQueryLatitudeDegrees(e);}}function pi(e){const t=gi(e.worldSize,e.center.lat);return 2*Math.PI*t}function mi(e,i,o,a,r){const s=1/(1<1e-6){const a=e[0]/o,r=Math.acos(e[2]/o),s=(a>0?r:-r)/Math.PI*180;return new t.W(t.X(s,-180,180),i)}return new t.W(0,i)}function xi(e){return Math.cos(e*Math.PI/180)}function bi(e,i){const o=xi(e),a=xi(i);return t.ar(a/o)}function yi(e,i){const o=e.rotate(i.bearingInRadians),a=i.zoom+bi(i.center.lat,0),r=t.bt(1/xi(i.center.lat),1/xi(Math.min(Math.abs(i.center.lat),60)),t.bw(a,7,3,0,1)),s=360/pi({worldSize:i.worldSize,center:{lat:i.center.lat}});return new t.W(i.center.lng-o.x*s*r,t.al(i.center.lat+o.y*s,-t.am,t.am))}function wi(e){const t=.5*e,i=Math.sin(t),o=Math.cos(t);return Math.log(i+o)-Math.log(o-i)}function Ti(e,i,o,a){const r=e.lat+o*a;if(Math.abs(o)>1){const s=(Math.sign(e.lat+o)!==Math.sign(e.lat)?-Math.abs(e.lat):Math.abs(e.lat))*Math.PI/180,n=Math.abs(e.lat+o)*Math.PI/180,l=wi(s+a*(n-s)),c=wi(s),h=wi(n);return new t.W(e.lng+i*((l-c)/(h-c)),r)}return new t.W(e.lng+i*a,r)}class Pi{constructor(e){this._cachePrevious=new Map,this._cache=new Map,this._hadAnyChanges=!1,this._boundingVolumeFactory=e;}swapBuffers(){if(!this._hadAnyChanges)return;const e=this._cachePrevious;this._cachePrevious=this._cache,this._cache=e,this._cache.clear(),this._hadAnyChanges=!1;}getTileBoundingVolume(e,t,i,o){const a=`${e.z}_${e.x}_${e.y}_${(null==o?void 0:o.terrain)?"t":""}`,r=this._cache.get(a);if(r)return r;const s=this._cachePrevious.get(a);if(s)return this._cache.set(a,s),s;const n=this._boundingVolumeFactory(e,t,i,o);return this._cache.set(a,n),this._hadAnyChanges=!0,n}}class Ci{constructor(e,t,i,o){this.min=i,this.max=o,this.points=e,this.planes=t;}static fromAabb(e,t){const i=[];for(let o=0;o<8;o++)i.push([1&~o?e[0]:t[0],1==(o>>1&1)?t[1]:e[1],1==(o>>2&1)?t[2]:e[2]]);return new Ci(i,[[-1,0,0,t[0]],[1,0,0,-e[0]],[0,-1,0,t[1]],[0,1,0,-e[1]],[0,0,-1,t[2]],[0,0,1,-e[2]]],e,t)}static fromCenterSizeAngles(e,i,o){const a=t.bA([],o[0],o[1],o[2]),r=t.bB([],[i[0],0,0],a),s=t.bB([],[0,i[1],0],a),n=t.bB([],[0,0,i[2]],a),l=[...e],c=[...e];for(let t=0;t<8;t++)for(let i=0;i<3;i++){const o=e[i]+r[i]*(1&~t?-1:1)+s[i]*(1==(t>>1&1)?1:-1)+n[i]*(1==(t>>2&1)?1:-1);l[i]=Math.min(l[i],o),c[i]=Math.max(c[i],o);}const h=[];for(let i=0;i<8;i++){const o=[...e];t.a_(o,o,t.aZ([],r,1&~i?-1:1)),t.a_(o,o,t.aZ([],s,1==(i>>1&1)?1:-1)),t.a_(o,o,t.aZ([],n,1==(i>>2&1)?1:-1)),h.push(o);}return new Ci(h,[[...r,-t.b3(r,h[0])],[...s,-t.b3(s,h[0])],[...n,-t.b3(n,h[0])],[-r[0],-r[1],-r[2],-t.b3(r,h[7])],[-s[0],-s[1],-s[2],-t.b3(s,h[7])],[-n[0],-n[1],-n[2],-t.b3(n,h[7])]],l,c)}intersectsFrustum(e){let t=!0;const i=this.points.length,o=this.planes.length,a=e.planes.length,r=e.points.length;for(let o=0;o=0&&r++;}if(0===r)return 0;r=0&&o++;}if(0===o)return 0}return 1}intersectsPlane(e){const t=this.points.length;let i=0;for(let o=0;o=0&&i++;}return i===t?2:0===i?0:1}}function Mi(e,t,i){const o=e-t;return o<0?-o:Math.max(0,o-i)}function Ii(e,t,i,o,a){const r=e-i;let s;return s=r<0?Math.min(-r,1+r-a):r>a?Math.min(Math.max(r-a,0),1-r):0,Math.max(s,Mi(t,o,a))}class Ei{constructor(){this._boundingVolumeCache=new Pi(this._computeTileBoundingVolume);}prepareNextFrame(){this._boundingVolumeCache.swapBuffers();}distanceToTile2d(e,t,i,o){const a=1<4}allowWorldCopies(){return !1}getTileBoundingVolume(e,t,i,o){return this._boundingVolumeCache.getTileBoundingVolume(e,t,i,o)}_computeTileBoundingVolume(e,i,o,a){var r,s;let n=0,l=0;if(null==a?void 0:a.terrain){const c=new t.a3(e.z,i,e.z,e.x,e.y),h=a.terrain.getMinMaxElevation(c);n=null!==(r=h.minElevation)&&void 0!==r?r:Math.min(0,o),l=null!==(s=h.maxElevation)&&void 0!==s?s:Math.max(0,o);}if(n/=t.bD,l/=t.bD,n+=1,l+=1,e.z<=0)return Ci.fromAabb([-l,-l,-l],[l,l,l]);if(1===e.z)return Ci.fromAabb([0===e.x?-l:0,0===e.y?0:-l,-l],[0===e.x?0:l,0===e.y?l:0,l]);{const i=[mi(0,0,e.x,e.y,e.z),mi(t.a6,0,e.x,e.y,e.z),mi(t.a6,t.a6,e.x,e.y,e.z),mi(0,t.a6,e.x,e.y,e.z)],o=[];for(const e of i)o.push(t.aZ([],e,l));if(l!==n)for(const e of i)o.push(t.aZ([],e,n));0===e.y&&o.push([0,1,0]),e.y===(1<=(1<{const o=t.al(e.lat,-t.am,t.am),a=t.al(+i,this.minZoom+bi(0,o),this.maxZoom);return {center:new t.W(e.lng,o),zoom:a}},this.applyConstrain=(e,t)=>this._helper.applyConstrain(e,t),this._helper=new Wt({calcMatrices:()=>this._calcMatrices(),defaultConstrain:(e,t)=>this.defaultConstrain(e,t)},e),this._coveringTilesDetailsProvider=new Ei;}clone(){const e=new zi;return e.apply(this,!1),e}apply(e,t,i){this._globeLatitudeErrorCorrectionRadians=i||0,this._helper.apply(e,t);}get projectionMatrix(){return this._projectionMatrix}get modelViewProjectionMatrix(){return this._globeViewProjMatrixNoCorrection}get inverseProjectionMatrix(){return this._globeProjMatrixInverted}get cameraPosition(){const e=t.bz();return e[0]=this._cameraPosition[0],e[1]=this._cameraPosition[1],e[2]=this._cameraPosition[2],e}get cameraToCenterDistance(){return this._helper.cameraToCenterDistance}getProjectionData(e){const{overscaledTileID:t,applyGlobeMatrix:i}=e,o=this._helper.getMercatorTileCoordinates(t);return {mainMatrix:this._globeViewProjMatrix32f,tileMercatorCoords:o,clippingPlane:this._cachedClippingPlane,projectionTransition:i?1:0,fallbackMatrix:this._globeViewProjMatrix32f}}_computeClippingPlane(e){const i=this.pitchInRadians,o=this.cameraToCenterDistance/e,a=Math.sin(i)*o,r=Math.cos(i)*o+1,s=1/Math.sqrt(a*a+r*r)*1;let n=-a,l=r;const c=Math.sqrt(n*n+l*l);n/=c,l/=c;const h=[0,n,l];t.bF(h,h,[0,0,0],-this.bearingInRadians),t.bG(h,h,[0,0,0],-1*this.center.lat*Math.PI/180),t.bH(h,h,[0,0,0],this.center.lng*Math.PI/180);const u=1/t.b5(h);return t.aZ(h,h,u),[...h,-s*u]}isLocationOccluded(e){return !this.isSurfacePointVisible(fi(e))}transformLightDirection(e){const i=this._helper._center.lng*Math.PI/180,o=this._helper._center.lat*Math.PI/180,a=Math.cos(o),r=[Math.sin(i)*a,Math.sin(o),Math.cos(i)*a],s=[r[2],0,-r[0]],n=[0,0,0];t.b2(n,s,r),t.b1(s,s),t.b1(n,n);const l=[0,0,0];return t.b1(l,[s[0]*e[0]+n[0]*e[1]+r[0]*e[2],s[1]*e[0]+n[1]*e[1]+r[1]*e[2],s[2]*e[0]+n[2]*e[1]+r[2]*e[2]]),l}getPixelScale(){return 1/Math.cos(this._helper._center.lat*Math.PI/180)}getCircleRadiusCorrection(){return Math.cos(this._helper._center.lat*Math.PI/180)}getPitchedTextCorrection(e,i,o){const a=function(e,i,o){const a=1/(1<r&&(r=i),on&&(n=o);}const h=[c.lng+s,c.lat+l,c.lng+r,c.lat+n];return this.isSurfacePointOnScreen([0,1,0])&&(h[3]=90,h[0]=-180,h[2]=180),this.isSurfacePointOnScreen([0,-1,0])&&(h[1]=-90,h[0]=-180,h[2]=180),new G(h)}calculateCenterFromCameraLngLatAlt(e,t,i,o){return this._helper.calculateCenterFromCameraLngLatAlt(e,t,i,o)}setLocationAtPoint(e,i){const o=fi(this.unprojectScreenPoint(i)),a=fi(e),r=t.bz();t.bK(r);const s=t.bz();t.bH(s,o,r,-this.center.lng*Math.PI/180),t.bG(s,s,r,this.center.lat*Math.PI/180);const n=a[0]*a[0]+a[2]*a[2],l=s[0]*s[0];if(n=-g&&p<=g,x=f>=-g&&f<=g;let b,y;if(v&&x){const e=this.center.lng*Math.PI/180,i=this.center.lat*Math.PI/180;t.bM(u,e)+t.bM(p,i)=0}isSurfacePointOnScreen(e){if(!this.isSurfacePointVisible(e))return !1;const i=t.bE();return t.aE(i,[...e,1],this._globeViewProjMatrixNoCorrection),i[0]/=i[3],i[1]/=i[3],i[2]/=i[3],i[0]>-1&&i[0]<1&&i[1]>-1&&i[1]<1&&i[2]>-1&&i[2]<1}rayPlanetIntersection(e,i){const o=t.b3(e,i),a=t.bz(),r=t.bz();t.aZ(r,i,o),t.b0(a,e,r);const s=1-t.b3(a,a);if(s<0)return null;const n=t.b3(e,e)-1,l=-o+(o<0?1:-1)*Math.sqrt(s),c=n/l,h=l;return {tMin:Math.min(c,h),tMax:Math.max(c,h)}}unprojectScreenPoint(e){const i=this._cameraPosition,o=this.getRayDirectionFromPixel(e),a=this.rayPlanetIntersection(i,o);if(a){const e=t.bz();t.a_(e,i,[o[0]*a.tMin,o[1]*a.tMin,o[2]*a.tMin]);const r=t.bz();return t.b1(r,e),vi(r)}const r=this._cachedClippingPlane,s=r[0]*o[0]+r[1]*o[1]+r[2]*o[2],n=-t.b9(r,i)/s,l=t.bz();if(n>0)t.a_(l,i,[o[0]*n,o[1]*n,o[2]*n]);else {const e=t.bz();t.a_(e,i,[2*o[0],2*o[1],2*o[2]]);const a=t.b9(this._cachedClippingPlane,e);t.b0(l,e,[this._cachedClippingPlane[0]*a,this._cachedClippingPlane[1]*a,this._cachedClippingPlane[2]*a]);}const c=function(e){const i=t.bz();return i[0]=e[0]*-e[3],i[1]=e[1]*-e[3],i[2]=e[2]*-e[3],{center:i,radius:Math.sqrt(1-e[3]*e[3])}}(r);return vi(function(e,i,o){const a=t.bz();t.b0(a,o,e);const r=t.bz();return t.bx(r,e,a,i/t.b7(a)),r}(c.center,c.radius,l))}getMatrixForModel(e,i){const o=t.W.convert(e),a=1/t.bD,r=t.bi();return t.bI(r,r,o.lng/180*Math.PI),t.bf(r,r,-o.lat/180*Math.PI),t.Q(r,r,[0,0,1+i/t.bD]),t.bf(r,r,.5*Math.PI),t.S(r,r,[a,a,a]),r}getProjectionDataForCustomLayer(e=!0){const i=this.getProjectionData({overscaledTileID:new t.a3(0,0,0,0,0),applyGlobeMatrix:e});return i.tileMercatorCoords=[0,0,1,1],i}getFastPathSimpleProjectionMatrix(e){}}class Ri{get pixelsToClipSpaceMatrix(){return this._helper.pixelsToClipSpaceMatrix}get clipSpaceToPixelsMatrix(){return this._helper.clipSpaceToPixelsMatrix}get pixelsToGLUnits(){return this._helper.pixelsToGLUnits}get centerOffset(){return this._helper.centerOffset}get size(){return this._helper.size}get rotationMatrix(){return this._helper.rotationMatrix}get centerPoint(){return this._helper.centerPoint}get pixelsPerMeter(){return this._helper.pixelsPerMeter}setMinZoom(e){this._helper.setMinZoom(e);}setMaxZoom(e){this._helper.setMaxZoom(e);}setMinPitch(e){this._helper.setMinPitch(e);}setMaxPitch(e){this._helper.setMaxPitch(e);}setRenderWorldCopies(e){this._helper.setRenderWorldCopies(e);}setBearing(e){this._helper.setBearing(e);}setPitch(e){this._helper.setPitch(e);}setRoll(e){this._helper.setRoll(e);}setFov(e){this._helper.setFov(e);}setZoom(e){this._helper.setZoom(e);}setCenter(e){this._helper.setCenter(e);}setElevation(e){this._helper.setElevation(e);}setMinElevationForCurrentTile(e){this._helper.setMinElevationForCurrentTile(e);}setPadding(e){this._helper.setPadding(e);}interpolatePadding(e,t,i){this._helper.interpolatePadding(e,t,i);}isPaddingEqual(e){return this._helper.isPaddingEqual(e)}resize(e,t,i=!0){this._helper.resize(e,t,i);}getMaxBounds(){return this._helper.getMaxBounds()}setMaxBounds(e){this._helper.setMaxBounds(e);}setConstrainOverride(e){this._helper.setConstrainOverride(e);}overrideNearFarZ(e,t){this._helper.overrideNearFarZ(e,t);}clearNearFarZOverride(){this._helper.clearNearFarZOverride();}getCameraQueryGeometry(e){return this._helper.getCameraQueryGeometry(this.getCameraPoint(),e)}get tileSize(){return this._helper.tileSize}get tileZoom(){return this._helper.tileZoom}get scale(){return this._helper.scale}get worldSize(){return this._helper.worldSize}get width(){return this._helper.width}get height(){return this._helper.height}get lngRange(){return this._helper.lngRange}get latRange(){return this._helper.latRange}get minZoom(){return this._helper.minZoom}get maxZoom(){return this._helper.maxZoom}get zoom(){return this._helper.zoom}get center(){return this._helper.center}get minPitch(){return this._helper.minPitch}get maxPitch(){return this._helper.maxPitch}get pitch(){return this._helper.pitch}get pitchInRadians(){return this._helper.pitchInRadians}get roll(){return this._helper.roll}get rollInRadians(){return this._helper.rollInRadians}get bearing(){return this._helper.bearing}get bearingInRadians(){return this._helper.bearingInRadians}get fov(){return this._helper.fov}get fovInRadians(){return this._helper.fovInRadians}get elevation(){return this._helper.elevation}get minElevationForCurrentTile(){return this._helper.minElevationForCurrentTile}get padding(){return this._helper.padding}get unmodified(){return this._helper.unmodified}get renderWorldCopies(){return this._helper.renderWorldCopies}get cameraToCenterDistance(){return this._helper.cameraToCenterDistance}get constrainOverride(){return this._helper.constrainOverride}get nearZ(){return this._helper.nearZ}get farZ(){return this._helper.farZ}get autoCalculateNearFarZ(){return this._helper.autoCalculateNearFarZ}get isGlobeRendering(){return this._globeness>0}setTransitionState(e,t){this._globeness=e,this._globeLatitudeErrorCorrectionRadians=t,this._calcMatrices(),this._verticalPerspectiveTransform.getCoveringTilesDetailsProvider().prepareNextFrame(),this._mercatorTransform.getCoveringTilesDetailsProvider().prepareNextFrame();}get currentTransform(){return this.isGlobeRendering?this._verticalPerspectiveTransform:this._mercatorTransform}constructor(e){this._globeLatitudeErrorCorrectionRadians=0,this._globeness=1,this.defaultConstrain=(e,t)=>this.currentTransform.defaultConstrain(e,t),this.applyConstrain=(e,t)=>this._helper.applyConstrain(e,t),this._helper=new Wt({calcMatrices:()=>this._calcMatrices(),defaultConstrain:(e,t)=>this.defaultConstrain(e,t)},e),this._globeness=1,this._mercatorTransform=new Xt,this._verticalPerspectiveTransform=new zi;}clone(){const e=new Ri;return e._globeness=this._globeness,e._globeLatitudeErrorCorrectionRadians=this._globeLatitudeErrorCorrectionRadians,e.apply(this,!1),e}apply(e,t){this._helper.apply(e,t),this._mercatorTransform.apply(this,!1),this._verticalPerspectiveTransform.apply(this,!1,this._globeLatitudeErrorCorrectionRadians);}get projectionMatrix(){return this.currentTransform.projectionMatrix}get modelViewProjectionMatrix(){return this.currentTransform.modelViewProjectionMatrix}get inverseProjectionMatrix(){return this.currentTransform.inverseProjectionMatrix}get cameraPosition(){return this.currentTransform.cameraPosition}getProjectionData(e){const t=this._mercatorTransform.getProjectionData(e),i=this._verticalPerspectiveTransform.getProjectionData(e);return {mainMatrix:this.isGlobeRendering?i.mainMatrix:t.mainMatrix,clippingPlane:i.clippingPlane,tileMercatorCoords:i.tileMercatorCoords,projectionTransition:e.applyGlobeMatrix?this._globeness:0,fallbackMatrix:t.fallbackMatrix}}isLocationOccluded(e){return this.currentTransform.isLocationOccluded(e)}transformLightDirection(e){return this.currentTransform.transformLightDirection(e)}getPixelScale(){return t.bt(this._mercatorTransform.getPixelScale(),this._verticalPerspectiveTransform.getPixelScale(),this._globeness)}getCircleRadiusCorrection(){return t.bt(this._mercatorTransform.getCircleRadiusCorrection(),this._verticalPerspectiveTransform.getCircleRadiusCorrection(),this._globeness)}getPitchedTextCorrection(e,i,o){const a=this._mercatorTransform.getPitchedTextCorrection(e,i,o),r=this._verticalPerspectiveTransform.getPitchedTextCorrection(e,i,o);return t.bt(a,r,this._globeness)}projectTileCoordinates(e,t,i,o){return this.currentTransform.projectTileCoordinates(e,t,i,o)}_calcMatrices(){this._helper._width&&this._helper._height&&(this._verticalPerspectiveTransform.apply(this,!1,this._globeLatitudeErrorCorrectionRadians),this._helper._nearZ=this._verticalPerspectiveTransform.nearZ,this._helper._farZ=this._verticalPerspectiveTransform.farZ,this._mercatorTransform.apply(this,!0,this.isGlobeRendering),this._helper._nearZ=this._mercatorTransform.nearZ,this._helper._farZ=this._mercatorTransform.farZ);}calculateFogMatrix(e){return this.currentTransform.calculateFogMatrix(e)}getVisibleUnwrappedCoordinates(e){return this.currentTransform.getVisibleUnwrappedCoordinates(e)}getCameraFrustum(){return this.currentTransform.getCameraFrustum()}getClippingPlane(){return this.currentTransform.getClippingPlane()}getCoveringTilesDetailsProvider(){return this.currentTransform.getCoveringTilesDetailsProvider()}recalculateZoomAndCenter(e){this._mercatorTransform.recalculateZoomAndCenter(e),this._verticalPerspectiveTransform.recalculateZoomAndCenter(e);}maxPitchScaleFactor(){return this._mercatorTransform.maxPitchScaleFactor()}getCameraPoint(){return this._helper.getCameraPoint()}getCameraAltitude(){return this._helper.getCameraAltitude()}getCameraLngLat(){return this._helper.getCameraLngLat()}lngLatToCameraDepth(e,t){return this.currentTransform.lngLatToCameraDepth(e,t)}populateCache(e){this._mercatorTransform.populateCache(e),this._verticalPerspectiveTransform.populateCache(e);}getBounds(){return this.currentTransform.getBounds()}calculateCenterFromCameraLngLatAlt(e,t,i,o){return this._helper.calculateCenterFromCameraLngLatAlt(e,t,i,o)}setLocationAtPoint(e,t){if(!this.isGlobeRendering)return this._mercatorTransform.setLocationAtPoint(e,t),void this.apply(this._mercatorTransform,!1);this._verticalPerspectiveTransform.setLocationAtPoint(e,t),this.apply(this._verticalPerspectiveTransform,!1);}locationToScreenPoint(e,t){return this.currentTransform.locationToScreenPoint(e,t)}screenPointToMercatorCoordinate(e,t){return this.currentTransform.screenPointToMercatorCoordinate(e,t)}screenPointToLocation(e,t){return this.currentTransform.screenPointToLocation(e,t)}isPointOnMapSurface(e,t){return this.currentTransform.isPointOnMapSurface(e,t)}getRayDirectionFromPixel(e){return this._verticalPerspectiveTransform.getRayDirectionFromPixel(e)}getMatrixForModel(e,t){return this.currentTransform.getMatrixForModel(e,t)}getProjectionDataForCustomLayer(e=!0){const t=this._mercatorTransform.getProjectionDataForCustomLayer(e);if(!this.isGlobeRendering)return t;const i=this._verticalPerspectiveTransform.getProjectionDataForCustomLayer(e);return i.fallbackMatrix=t.mainMatrix,i}getFastPathSimpleProjectionMatrix(e){return this.currentTransform.getFastPathSimpleProjectionMatrix(e)}}class Di{get useGlobeControls(){return !0}handlePanInertia(e,i){const o=yi(e,i);return Math.abs(o.lng-i.center.lng)>180&&(o.lng=i.center.lng+179.5*Math.sign(o.lng-i.center.lng)),{easingCenter:o,easingOffset:new t.P(0,0)}}handleMapControlsRollPitchBearingZoom(e,i){const o=e.around,a=i.screenPointToLocation(o);e.bearingDelta&&i.setBearing(i.bearing+e.bearingDelta),e.pitchDelta&&i.setPitch(i.pitch+e.pitchDelta),e.rollDelta&&i.setRoll(i.roll+e.rollDelta);const r=i.zoom;e.zoomDelta&&i.setZoom(i.zoom+e.zoomDelta);const s=i.zoom-r;if(0===s)return;const n=t.bJ(i.center.lng,a.lng),l=n/(Math.abs(n/180)+1),c=t.bJ(i.center.lat,a.lat),h=i.getRayDirectionFromPixel(o),u=i.cameraPosition,d=-1*t.b3(u,h),_=t.bz();t.a_(_,u,[h[0]*d,h[1]*d,h[2]*d]);const p=t.b5(_)-1,m=Math.exp(.5*-Math.max(p-.3,0)),f=gi(i.worldSize,i.center.lat)/Math.min(i.width,i.height),g=t.bw(f,.9,.5,1,.25),v=(1-t.ao(-s))*Math.min(m,g),x=i.center.lat,b=i.zoom,y=new t.W(i.center.lng+l*v,t.al(i.center.lat+c*v,-t.am,t.am));i.setLocationAtPoint(a,o);const w=i.center,T=t.bw(Math.abs(n),45,85,0,1),P=t.bw(f,.75,.35,0,1),C=Math.pow(Math.max(T,P),.25),M=t.bJ(w.lng,y.lng),I=t.bJ(w.lat,y.lat);i.setCenter(new t.W(w.lng+M*C,w.lat+I*C).wrap()),i.setZoom(b+bi(x,i.center.lat));}handleMapControlsPan(e,t,i){if(!e.panDelta)return;const o=t.center.lat,a=t.zoom;t.setCenter(yi(e.panDelta,t).wrap()),t.setZoom(a+bi(o,t.center.lat));}cameraForBoxAndBearing(e,i,o,a,r){const s=Qt(e,i,o,a,r),n=i.left/r.width*2-1,l=(r.width-i.right)/r.width*2-1,c=i.top/r.height*-2+1,h=(r.height-i.bottom)/r.height*-2+1,u=t.bJ(o.getWest(),o.getEast())<0,d=u?o.getEast():o.getWest(),_=u?o.getWest():o.getEast(),p=Math.max(o.getNorth(),o.getSouth()),m=Math.min(o.getNorth(),o.getSouth()),f=d+.5*t.bJ(d,_),g=p+.5*t.bJ(p,m),v=r.clone();v.setCenter(s.center),v.setBearing(s.bearing),v.setPitch(0),v.setRoll(0),v.setZoom(s.zoom);const x=v.modelViewProjectionMatrix,b=[fi(o.getNorthWest()),fi(o.getNorthEast()),fi(o.getSouthWest()),fi(o.getSouthEast()),fi(new t.W(_,g)),fi(new t.W(d,g)),fi(new t.W(f,p)),fi(new t.W(f,m))],y=fi(s.center);let w=Number.POSITIVE_INFINITY;for(const e of b)n<0&&(w=Di.getLesserNonNegativeNonNull(w,Di.solveVectorScale(e,y,x,"x",n))),l>0&&(w=Di.getLesserNonNegativeNonNull(w,Di.solveVectorScale(e,y,x,"x",l))),c>0&&(w=Di.getLesserNonNegativeNonNull(w,Di.solveVectorScale(e,y,x,"y",c))),h<0&&(w=Di.getLesserNonNegativeNonNull(w,Di.solveVectorScale(e,y,x,"y",h)));if(Number.isFinite(w)&&0!==w)return s.zoom=Math.min(v.zoom+t.ar(w),e.maxZoom),s;Kt();}handleJumpToCenterZoom(e,i){const o=e.center.lat,a=e.applyConstrain(i.center?t.W.convert(i.center):e.center,e.zoom).center;e.setCenter(a.wrap());const r=void 0!==i.zoom?+i.zoom:e.zoom+bi(o,a.lat);e.zoom!==r&&e.setZoom(r);}handleEaseTo(e,i){const o=e.zoom,a=e.center,r=e.padding,s={roll:e.roll,pitch:e.pitch,bearing:e.bearing},n={roll:void 0===i.roll?e.roll:i.roll,pitch:void 0===i.pitch?e.pitch:i.pitch,bearing:void 0===i.bearing?e.bearing:i.bearing},l=void 0!==i.zoom,c=!e.isPaddingEqual(i.padding);let h=!1;const u=i.center?t.W.convert(i.center):a,d=e.applyConstrain(u,o).center;Gt(e,d);const _=e.clone();_.setCenter(d),_.setZoom(l?+i.zoom:o+bi(a.lat,u.lat)),_.setBearing(i.bearing);const p=new t.P(t.al(e.centerPoint.x+i.offsetAsPoint.x,0,e.width),t.al(e.centerPoint.y+i.offsetAsPoint.y,0,e.height));_.setLocationAtPoint(d,p);const m=(i.offset&&i.offsetAsPoint.mag())>0?_.center:d,f=l?+i.zoom:o+bi(a.lat,m.lat),g=o+bi(a.lat,0),v=f+bi(m.lat,0),x=t.bJ(a.lng,m.lng),b=t.bJ(a.lat,m.lat),y=t.ao(v-g);return h=f!==o,{easeFunc:o=>{if(t.bn(s,n)||Yt({startEulerAngles:s,endEulerAngles:n,tr:e,k:o,useSlerp:s.roll!=n.roll}),c&&e.interpolatePadding(r,i.padding,o),i.around)t.w("Easing around a point is not supported under globe projection."),e.setLocationAtPoint(i.around,i.aroundPoint);else {const t=v>g?Math.min(2,y):Math.max(.5,y),i=Math.pow(t,1-o),r=Ti(a,x,b,o*i);e.setCenter(r.wrap());}if(h){const i=t.H.number(g,v,o)+bi(0,e.center.lat);e.setZoom(i);}},isZooming:h,elevationCenter:m}}handleFlyTo(e,i){const o=void 0!==i.zoom,a=e.center,r=e.zoom,s=e.padding,n=!e.isPaddingEqual(i.padding),l=e.applyConstrain(t.W.convert(i.center||i.locationAtOffset),r).center,c=o?+i.zoom:e.zoom+bi(e.center.lat,l.lat),h=e.clone();h.setCenter(l),h.setZoom(c),h.setBearing(i.bearing);const u=new t.P(t.al(e.centerPoint.x+i.offsetAsPoint.x,0,e.width),t.al(e.centerPoint.y+i.offsetAsPoint.y,0,e.height));h.setLocationAtPoint(l,u);const d=h.center;Gt(e,d);const _=function(e,i,o){const a=fi(i),r=fi(o),s=t.b3(a,r),n=Math.acos(s),l=pi(e);return n/(2*Math.PI)*l}(e,a,d),p=r+bi(a.lat,0),m=c+bi(d.lat,0),f=t.ao(m-p);let g;if("number"==typeof i.minZoom){const o=+i.minZoom+bi(d.lat,0),a=Math.min(o,p,m)+bi(0,d.lat),r=e.applyConstrain(d,a).zoom+bi(d.lat,0);g=t.ao(r-p);}const v=t.bJ(a.lng,d.lng),x=t.bJ(a.lat,d.lat);return {easeFunc:(o,r,l,h)=>{const u=Ti(a,v,x,l);n&&e.interpolatePadding(s,i.padding,o);const _=1===o?d:u;e.setCenter(_.wrap());const m=p+t.ar(r);e.setZoom(1===o?c:m+bi(0,_.lat));},scaleOfZoom:f,targetCenter:d,scaleOfMinZoom:g,pixelPathLength:_}}static solveVectorScale(e,t,i,o,a){const r="x"===o?[i[0],i[4],i[8],i[12]]:[i[1],i[5],i[9],i[13]],s=[i[3],i[7],i[11],i[15]],n=e[0]*r[0]+e[1]*r[1]+e[2]*r[2],l=e[0]*s[0]+e[1]*s[1]+e[2]*s[2],c=t[0]*r[0]+t[1]*r[1]+t[2]*r[2],h=t[0]*s[0]+t[1]*s[1]+t[2]*s[2];return c+a*l===n+a*h||s[3]*(n-c)+r[3]*(h-l)+n*h==c*l?null:(c+r[3]-a*h-a*s[3])/(c-n-a*h+a*l)}static getLesserNonNegativeNonNull(e,t){return null!==t&&t>=0&&tt.C(e,null==i?void 0:i.filter((e=>"source.canvas"!==e.identifier))),Fi=t.bN();class ki extends t.E{constructor(e,i={}){var o,a;super(),this._rtlPluginLoaded=()=>{for(const e in this.tileManagers){const t=this.tileManagers[e].getSource().type;"vector"!==t&&"geojson"!==t||this.tileManagers[e].reload();}},this.map=e,this.dispatcher=new k(F(),e._getMapId()),this.dispatcher.registerMessageHandler("GG",((e,t)=>this.getGlyphs(e,t))),this.dispatcher.registerMessageHandler("GI",((e,t)=>this.getImages(e,t))),this.dispatcher.registerMessageHandler("GDA",((e,t)=>this.getDashes(e,t))),this.imageManager=new g,this.imageManager.setEventedParent(this);const r=(null===(o=e._container)||void 0===o?void 0:o.lang)||"undefined"!=typeof document&&(null===(a=document.documentElement)||void 0===a?void 0:a.lang)||void 0;this.glyphManager=new T(e._requestManager,i.localIdeographFontFamily,r),this.lineAtlas=new S(256,512),this.crossTileSymbolIndex=new At,this._setInitialValues(),this._resetUpdates(),this.dispatcher.broadcast("SR",t.bO()),ce().on(se,this._rtlPluginLoaded),this.on("data",(e=>{if("source"!==e.dataType||"metadata"!==e.sourceDataType)return;const t=this.tileManagers[e.sourceId];if(!t)return;const i=t.getSource();if(null==i?void 0:i.vectorLayerIds)for(const e in this._layers){const t=this._layers[e];t.source===i.id&&this._validateLayer(t);}}));}_setInitialValues(){var e;this._spritesImagesIds={},this._layers={},this._order=[],this.tileManagers={},this.zoomHistory=new t.bP,this._availableImages=[],this._globalState={},this._serializedLayers={},this.stylesheet=null,this.light=null,this.sky=null,this.projection&&(this.projection.destroy(),delete this.projection),this._loaded=!1,this._changed=!1,this._updatedLayers={},this._updatedSources={},this._changedImages={},this._glyphsDidChange=!1,this._updatedPaintProps={},this._layerOrderChanged=!1,this.crossTileSymbolIndex=new((null===(e=this.crossTileSymbolIndex)||void 0===e?void 0:e.constructor)||Object),this.pauseablePlacement=void 0,this.placement=void 0,this.z=0;}setGlobalStateProperty(e,i){var o,a,r;this._checkLoaded();const s=null===i?null!==(r=null===(a=null===(o=this.stylesheet.state)||void 0===o?void 0:o[e])||void 0===a?void 0:a.default)&&void 0!==r?r:null:i;if(t.bQ(s,this._globalState[e]))return this;this._globalState[e]=s,this._applyGlobalStateChanges([e]);}getGlobalState(){return this._globalState}setGlobalState(e){this._checkLoaded();const i=[];for(const o in e)!t.bQ(this._globalState[o],e[o].default)&&(i.push(o),this._globalState[o]=e[o].default);this._applyGlobalStateChanges(i);}_applyGlobalStateChanges(e){if(0===e.length)return;const t=new Set,i={};for(const o of e){i[o]=this._globalState[o];for(const e in this._layers){const i=this._layers[e],a=i.getLayoutAffectingGlobalStateRefs(),r=i.getPaintAffectingGlobalStateRefs(),s=i.getVisibilityAffectingGlobalStateRefs();if(a.has(o)&&t.add(i.source),r.has(o))for(const{name:e,value:t}of r.get(o))this._updatePaintProperty(i,e,t);(null==s?void 0:s.has(o))&&(i.recalculateVisibility(),this._updateLayer(i));}}this.dispatcher.broadcast("UGS",i);for(const e in this.tileManagers)t.has(e)&&(this._reloadSource(e),this._changed=!0);}loadURL(e){return t._(this,arguments,void 0,(function*(e,i={},o){this.fire(new t.n("dataloading",{dataType:"style"})),i.validate="boolean"!=typeof i.validate||i.validate,this._loadStyleRequest=new AbortController;const a=this._loadStyleRequest;try{const r=yield this.map._requestManager.transformRequest(e,"Style");t.bR(a.signal);const s=yield t.k(r,a);this._loadStyleRequest===a&&(this._loadStyleRequest=null),this._load(s.data,i,o);}catch(e){this._loadStyleRequest===a&&(this._loadStyleRequest=null),e&&!a.signal.aborted&&this.fire(new t.l(t.d(e)));}}))}loadJSON(e,i={},o){this.fire(new t.n("dataloading",{dataType:"style"})),this._frameRequest=new AbortController,n.frameAsync(this._frameRequest,this.map._ownerWindow).then((()=>{this._frameRequest=null,i.validate=!1!==i.validate,this._load(e,i,o);})).catch((()=>{}));}loadEmpty(){this.fire(new t.n("dataloading",{dataType:"style"})),this._load(Fi,{validate:!1});}_load(e,i,o){var a,r;let s=i.transformStyle?i.transformStyle(o,e):e;if(!i.validate||!Li(this,t.F(s))){s=Object.assign({},s),this._loaded=!0,this.stylesheet=s;for(const e in s.sources)this.addSource(e,s.sources[e],{validate:!1});s.sprite?this._loadSprite(s.sprite):this.imageManager.setLoaded(!0),this.glyphManager.setURL(s.glyphs),this._createLayers(),this.light=new M(this.stylesheet.light),this._setProjectionInternal((null===(a=this.stylesheet.projection)||void 0===a?void 0:a.type)||"mercator"),this.sky=new E(this.stylesheet.sky),this.map.setTerrain(null!==(r=this.stylesheet.terrain)&&void 0!==r?r:null),this.fire(new t.n("data",{dataType:"style"})),this.fire(new t.n("style.load"));}}_createLayers(){var e,i,o;const a=t.bS(this.stylesheet.layers);this.setGlobalState(null!==(e=this.stylesheet.state)&&void 0!==e?e:null),this.dispatcher.broadcast("SL",a),this._order=a.map((e=>e.id)),this._layers={},this._serializedLayers=null;for(const e of a){const a=t.bT(e,this._globalState);if(a.setEventedParent(this,{layer:{id:e.id}}),this._layers[e.id]=a,t.bU(a)&&this.tileManagers[a.source]){const t=null!==(o=null===(i=e.paint)||void 0===i?void 0:i["raster-fade-duration"])&&void 0!==o?o:a.paint.get("raster-fade-duration");this.tileManagers[a.source].setRasterFadeDuration(t);}}}_loadSprite(e,i=!1,o=void 0){this.imageManager.setLoaded(!1);const a=new AbortController;let r;this._spriteRequest=a,function(e,i,o,a){return t._(this,void 0,void 0,(function*(){const r=p(e),s=o>1?"@2x":"",l={},c={};for(const{id:e,url:o}of r){const r=yield i.transformRequest(m(o,s,".json"),"SpriteJSON");l[e]=t.k(r,a);const n=yield i.transformRequest(m(o,s,".png"),"SpriteImage");c[e]=u.getImage(n,a);}return yield Promise.all([...Object.values(l),...Object.values(c)]),function(e,i){return t._(this,void 0,void 0,(function*(){const t={};for(const o in e){t[o]={};const a=n.getImageCanvasContext((yield i[o]).data),r=(yield e[o]).data;for(const e in r){const{width:i,height:s,x:n,y:l,sdf:c,pixelRatio:h,stretchX:u,stretchY:d,content:_,textFitWidth:p,textFitHeight:m}=r[e];t[o][e]={data:null,pixelRatio:h,sdf:c,stretchX:u,stretchY:d,content:_,textFitWidth:p,textFitHeight:m,spriteData:{width:i,height:s,x:n,y:l,context:a}};}}return t}))}(l,c)}))}(e,this.map._requestManager,this.map.getPixelRatio(),this._spriteRequest).then((e=>{if(this._spriteRequest=null,e)for(const t in e){this._spritesImagesIds[t]=[];const o=this._spritesImagesIds[t]?this._spritesImagesIds[t].filter((t=>!(t in e))):[];for(const e of o)this.imageManager.removeImage(e),this._changedImages[e]=!0;for(const o in e[t]){const a="default"===t?o:`${t}:${o}`;this._spritesImagesIds[t].push(a),a in this.imageManager.images?this.imageManager.updateImage(a,e[t][o],!1):this.imageManager.addImage(a,e[t][o]),i&&(this._changedImages[a]=!0);}}})).catch((e=>{this._spriteRequest=null,r=e,a.signal.aborted||this.fire(new t.l(r));})).finally((()=>{this.imageManager.setLoaded(!0),this._availableImages=this.imageManager.listImages(),i&&(this._changed=!0),this.dispatcher.broadcast("SI",this._availableImages),this.fire(new t.n("data",{dataType:"style"})),o&&o(r);}));}_unloadSprite(){for(const e of Object.values(this._spritesImagesIds).flat())this.imageManager.removeImage(e),this._changedImages[e]=!0;this._spritesImagesIds={},this._availableImages=this.imageManager.listImages(),this._changed=!0,this.dispatcher.broadcast("SI",this._availableImages),this.fire(new t.n("data",{dataType:"style"}));}_validateLayer(e){const i=this.tileManagers[e.source];if(!i)return;const o=e.sourceLayer;if(!o)return;const a=i.getSource();("geojson"===a.type||a.vectorLayerIds&&!a.vectorLayerIds.includes(o))&&this.fire(new t.l(new Error(`Source layer "${o}" does not exist on source "${a.id}" as specified by style layer "${e.id}".`)));}loaded(){if(!this._loaded)return !1;if(Object.keys(this._updatedSources).length)return !1;for(const e in this.tileManagers)if(!this.tileManagers[e].loaded())return !1;return this.imageManager.isLoaded()}_serializeByIds(e,i=!1){const o=this._serializedAllLayers();if(!e||0===e.length)return Object.values(i?t.bV(o):o);const a=[];for(const r of e)if(o[r]){const e=i?t.bV(o[r]):o[r];a.push(e);}return a}_serializedAllLayers(){let e=this._serializedLayers;if(e)return e;e=this._serializedLayers={};const t=Object.keys(this._layers);for(const i of t){const t=this._layers[i];"custom"!==t.type&&(e[i]=t.serialize());}return e}hasTransitions(){var e,t,i;if(null===(e=this.light)||void 0===e?void 0:e.hasTransition())return !0;if(null===(t=this.sky)||void 0===t?void 0:t.hasTransition())return !0;if(null===(i=this.projection)||void 0===i?void 0:i.hasTransition())return !0;for(const e in this.tileManagers)if(this.tileManagers[e].hasTransition())return !0;for(const e in this._layers)if(this._layers[e].hasTransition())return !0;return !1}_checkLoaded(){if(!this._loaded)throw new Error("Style is not done loading.")}update(e){if(!this._loaded)return;const i=this._changed;if(i){const t=Object.keys(this._updatedLayers),i=Object.keys(this._removedLayers);(t.length||i.length)&&this._updateWorkerLayers(t,i);for(const e in this._updatedSources){const t=this._updatedSources[e];if("reload"===t)this._reloadSource(e);else {if("clear"!==t)throw new Error(`Invalid action ${t}`);this._clearSource(e);}}this._updateTilesForChangedImages(),this._updateTilesForChangedGlyphs();for(const t in this._updatedPaintProps)this._layers[t].updateTransitions(e);this.light.updateTransitions(e),this.sky.updateTransitions(e),this._resetUpdates();}const o={};for(const e in this.tileManagers){const t=this.tileManagers[e];o[e]=t.used,t.used=!1;}for(const t of this._order){const i=this._layers[t];i.recalculate(e,this._availableImages),!i.isHidden(e.zoom)&&i.source&&(this.tileManagers[i.source].used=!0);}for(const e in o){const i=this.tileManagers[e];!!o[e]!=!!i.used&&i.fire(new t.n("data",{sourceDataType:"visibility",dataType:"source",sourceId:e}));}this.light.recalculate(e),this.sky.recalculate(e),this.projection.recalculate(e),this.z=e.zoom,i&&this.fire(new t.n("data",{dataType:"style"}));}_updateTilesForChangedImages(){const e=Object.keys(this._changedImages);if(e.length){for(const t in this.tileManagers)this.tileManagers[t].reloadTilesForDependencies(["icons","patterns"],e);this._changedImages={};}}_updateTilesForChangedGlyphs(){if(this._glyphsDidChange){for(const e in this.tileManagers)this.tileManagers[e].reloadTilesForDependencies(["glyphs"],[""]);this._glyphsDidChange=!1;}}_updateWorkerLayers(e,t){this.dispatcher.broadcast("UL",{layers:this._serializeByIds(e,!1),removedIds:t});}_resetUpdates(){this._changed=!1,this._updatedLayers={},this._removedLayers={},this._updatedSources={},this._updatedPaintProps={},this._changedImages={},this._glyphsDidChange=!1;}setState(e,i={}){var o;this._checkLoaded();const a=this.serialize();if(e=i.transformStyle?i.transformStyle(a,e):e,(null===(o=i.validate)||void 0===o||o)&&Li(this,t.F(e)))return !1;(e=t.bV(e)).layers=t.bS(e.layers);const r=t.bW(a,e),s=this._getOperationsToPerform(r);if(s.unimplemented.length>0)throw new Error(`Unimplemented: ${s.unimplemented.join(", ")}.`);if(0===s.operations.length)return !1;for(const e of s.operations)e();return this.stylesheet=e,this._serializedLayers=null,this.fire(new t.n("style.load",{style:this})),!0}_getOperationsToPerform(e){const t=[],i=[];for(const o of e)switch(o.command){case "setCenter":case "setZoom":case "setBearing":case "setPitch":case "setRoll":continue;case "addLayer":t.push((()=>this.addLayer.apply(this,o.args)));break;case "removeLayer":t.push((()=>this.removeLayer.apply(this,o.args)));break;case "setPaintProperty":t.push((()=>this.setPaintProperty.apply(this,o.args)));break;case "setLayoutProperty":t.push((()=>this.setLayoutProperty.apply(this,o.args)));break;case "setFilter":t.push((()=>this.setFilter.apply(this,o.args)));break;case "addSource":t.push((()=>this.addSource.apply(this,o.args)));break;case "removeSource":t.push((()=>this.removeSource.apply(this,o.args)));break;case "setLayerZoomRange":t.push((()=>this.setLayerZoomRange.apply(this,o.args)));break;case "setLight":t.push((()=>this.setLight.apply(this,o.args)));break;case "setGeoJSONSourceData":t.push((()=>this.setGeoJSONSourceData.apply(this,o.args)));break;case "setGlyphs":t.push((()=>this.setGlyphs.apply(this,o.args)));break;case "setSprite":t.push((()=>this.setSprite.apply(this,o.args)));break;case "setTerrain":t.push((()=>this.map.setTerrain.apply(this,o.args)));break;case "setSky":t.push((()=>this.setSky.apply(this,o.args)));break;case "setProjection":this.setProjection.apply(this,o.args);break;case "setGlobalState":t.push((()=>this.setGlobalState.apply(this,o.args)));break;case "setTransition":t.push((()=>{}));break;default:i.push(o.command);}return {operations:t,unimplemented:i}}addImage(e,i){if(this.getImage(e))return this.fire(new t.l(new Error(`An image named "${e}" already exists.`)));this.imageManager.addImage(e,i),this._afterImageUpdated(e);}updateImage(e,t){this.imageManager.updateImage(e,t);}getImage(e){return this.imageManager.getImage(e)}removeImage(e){if(!this.getImage(e))return this.fire(new t.l(new Error(`An image named "${e}" does not exist.`)));this.imageManager.removeImage(e),this._afterImageUpdated(e);}_afterImageUpdated(e){this._availableImages=this.imageManager.listImages(),this._changedImages[e]=!0,this._changed=!0,this.dispatcher.broadcast("SI",this._availableImages),this.fire(new t.n("data",{dataType:"style"}));}listImages(){return this._checkLoaded(),this.imageManager.listImages()}addSource(e,i,o={}){var a;if(this._checkLoaded(),void 0!==this.tileManagers[e])throw new Error(`Source "${e}" already exists.`);if(!i.type)throw new Error(`The type property must be defined, but only the following properties were given: ${Object.keys(i).join(", ")}.`);if(["vector","raster","geojson","video","image"].includes(i.type)&&this._validate(t.F.source,`sources.${e}`,i,null,o))return;(null===(a=this.map)||void 0===a?void 0:a._collectResourceTiming)&&(i.collectResourceTiming=!0);const r=this.tileManagers[e]=new Fe(e,i,this.dispatcher);r.style=this,r.setEventedParent(this,(()=>({isSourceLoaded:r.loaded(),source:r.serialize(),sourceId:e}))),r.onAdd(this.map),this._changed=!0;}removeSource(e){if(this._checkLoaded(),void 0===this.tileManagers[e])throw new Error(`There is no source with this ID=${e}`);for(const i in this._layers)if(this._layers[i].source===e)return this.fire(new t.l(new Error(`Source "${e}" cannot be removed while layer "${i}" is using it.`)));const i=this.tileManagers[e];delete this.tileManagers[e],delete this._updatedSources[e],i.fire(new t.n("data",{sourceDataType:"metadata",dataType:"source",sourceId:e})),i.setEventedParent(null),i.onRemove(this.map),this._changed=!0;}setGeoJSONSourceData(e,t){if(this._checkLoaded(),void 0===this.tileManagers[e])throw new Error(`There is no source with this ID=${e}`);const i=this.tileManagers[e].getSource();if("geojson"!==i.type)throw new Error(`geojsonSource.type is ${i.type}, which is !== 'geojson`);i.setData(t),this._changed=!0;}getSource(e){var t;return null===(t=this.tileManagers[e])||void 0===t?void 0:t.getSource()}addLayer(e,i,o={}){this._checkLoaded();const a=e.id;if(this.getLayer(a))return void this.fire(new t.l(new Error(`Layer "${a}" already exists on this map.`)));let r;if("custom"===e.type){if(Li(this,t.bX(e)))return;r=t.bT(e,this._globalState);}else {if("source"in e&&"object"==typeof e.source&&(this.addSource(a,e.source),e=t.bV(e),e=t.e(e,{source:a})),this._validate(t.F.layer,`layers.${a}`,e,{arrayIndex:-1},o))return;r=t.bT(e,this._globalState),this._validateLayer(r),r.setEventedParent(this,{layer:{id:a}});}const s=i?this._order.indexOf(i):this._order.length;if(i&&-1===s)this.fire(new t.l(new Error(`Cannot add layer "${a}" before non-existing layer "${i}".`)));else {if(this._order.splice(s,0,a),this._layerOrderChanged=!0,this._layers[a]=r,this._removedLayers[a]&&r.source&&"custom"!==r.type){const e=this._removedLayers[a];delete this._removedLayers[a],e.type!==r.type?this._updatedSources[r.source]="clear":(this._updatedSources[r.source]="reload",this.tileManagers[r.source].pause());}this._updateLayer(r),r.onAdd&&r.onAdd(this.map);}}moveLayer(e,i){if(this._checkLoaded(),this._changed=!0,!this._layers[e])return void this.fire(new t.l(new Error(`The layer '${e}' does not exist in the map's style and cannot be moved.`)));if(e===i)return;const o=this._order.indexOf(e);this._order.splice(o,1);const a=i?this._order.indexOf(i):this._order.length;i&&-1===a?this.fire(new t.l(new Error(`Cannot move layer "${e}" before non-existing layer "${i}".`))):(this._order.splice(a,0,e),this._layerOrderChanged=!0);}removeLayer(e){this._checkLoaded();const i=this._layers[e];if(!i)return void this.fire(new t.l(new Error(`Cannot remove non-existing layer "${e}".`)));i.setEventedParent(null);const o=this._order.indexOf(e);this._order.splice(o,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[e]=i,delete this._layers[e],this._serializedLayers&&delete this._serializedLayers[e],delete this._updatedLayers[e],delete this._updatedPaintProps[e],i.onRemove&&i.onRemove(this.map);}getLayer(e){return this._layers[e]}getLayersOrder(){return [...this._order]}hasLayer(e){return e in this._layers}setLayerZoomRange(e,i,o){this._checkLoaded();const a=this.getLayer(e);a?a.minzoom===i&&a.maxzoom===o||(null!=i&&(a.minzoom=i),null!=o&&(a.maxzoom=o),this._updateLayer(a)):this.fire(new t.l(new Error(`Cannot set the zoom range of non-existing layer "${e}".`)));}setFilter(e,i,o={}){this._checkLoaded();const a=this.getLayer(e);if(a){if(!t.bQ(a.filter,i))return null==i?(a.setFilter(void 0),void this._updateLayer(a)):void(this._validate(t.F.filter,`layers.${a.id}.filter`,i,null,o)||(a.setFilter(t.bV(i)),this._updateLayer(a)))}else this.fire(new t.l(new Error(`Cannot filter non-existing layer "${e}".`)));}getFilter(e){return t.bV(this.getLayer(e).filter)}setLayoutProperty(e,i,o,a={}){this._checkLoaded();const r=this.getLayer(e);r?t.bQ(r.getLayoutProperty(i),o)||(r.setLayoutProperty(i,o,a),this._updateLayer(r)):this.fire(new t.l(new Error(`Cannot style non-existing layer "${e}".`)));}getLayoutProperty(e,i){const o=this.getLayer(e);if(o)return o.getLayoutProperty(i);this.fire(new t.l(new Error(`Cannot get style of non-existing layer "${e}".`)));}setPaintProperty(e,i,o,a={}){this._checkLoaded();const r=this.getLayer(e);r?t.bQ(r.getPaintProperty(i),o)||this._updatePaintProperty(r,i,o,a):this.fire(new t.l(new Error(`Cannot style non-existing layer "${e}".`)));}_updatePaintProperty(e,i,o,a={}){e.setPaintProperty(i,o,a)&&this._updateLayer(e),t.bU(e)&&"raster-fade-duration"===i&&this.tileManagers[e.source].setRasterFadeDuration(o),this._changed=!0,this._updatedPaintProps[e.id]=!0,this._serializedLayers=null;}getPaintProperty(e,t){return this.getLayer(e).getPaintProperty(t)}setFeatureState(e,i){this._checkLoaded();const o=e.source,a=e.sourceLayer,r=this.tileManagers[o];if(void 0===r)return void this.fire(new t.l(new Error(`The source '${o}' does not exist in the map's style.`)));const s=r.getSource().type;"geojson"===s&&a?this.fire(new t.l(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):"vector"!==s||a?(void 0===e.id&&this.fire(new t.l(new Error("The feature id parameter must be provided."))),r.setFeatureState(a,e.id,i)):this.fire(new t.l(new Error("The sourceLayer parameter must be provided for vector source types.")));}removeFeatureState(e,i){this._checkLoaded();const o=e.source,a=this.tileManagers[o];if(void 0===a)return void this.fire(new t.l(new Error(`The source '${o}' does not exist in the map's style.`)));const r=a.getSource().type,s="vector"===r?e.sourceLayer:void 0;"vector"!==r||s?i&&"string"!=typeof e.id&&"number"!=typeof e.id?this.fire(new t.l(new Error("A feature id is required to remove its specific state property."))):a.removeFeatureState(s,e.id,i):this.fire(new t.l(new Error("The sourceLayer parameter must be provided for vector source types.")));}getFeatureState(e){this._checkLoaded();const i=e.source,o=e.sourceLayer,a=this.tileManagers[i];if(void 0!==a)return "vector"!==a.getSource().type||o?(void 0===e.id&&this.fire(new t.l(new Error("The feature id parameter must be provided."))),a.getFeatureState(o,e.id)):void this.fire(new t.l(new Error("The sourceLayer parameter must be provided for vector source types.")));this.fire(new t.l(new Error(`The source '${i}' does not exist in the map's style.`)));}getTransition(){var e;return t.e({duration:300,delay:0},null===(e=this.stylesheet)||void 0===e?void 0:e.transition)}serialize(){if(!this._loaded)return;const e=t.bY(this.tileManagers,(e=>e.serialize())),i=this._serializeByIds(this._order,!0),o=this.map.getTerrain()||void 0,a=this.stylesheet;return t.bZ({version:a.version,name:a.name,metadata:a.metadata,light:a.light,sky:a.sky,center:a.center,zoom:a.zoom,bearing:a.bearing,pitch:a.pitch,sprite:a.sprite,glyphs:a.glyphs,transition:a.transition,projection:a.projection,sources:e,layers:i,terrain:o},(e=>void 0!==e))}_updateLayer(e){this._updatedLayers[e.id]=!0,e.source&&!this._updatedSources[e.source]&&"raster"!==this.tileManagers[e.source].getSource().type&&(this._updatedSources[e.source]="reload",this.tileManagers[e.source].pause()),this._serializedLayers=null,this._changed=!0;}_flattenAndSortRenderedFeatures(e){const t=e=>"fill-extrusion"===this._layers[e].type,i={},o=[];for(let a=this._order.length-1;a>=0;a--){const r=this._order[a];if(t(r)){i[r]=a;for(const t of e){const e=t[r];if(e)for(const t of e)o.push(t);}}}o.sort(((e,t)=>t.intersectionZ-e.intersectionZ));const a=[];for(let r=this._order.length-1;r>=0;r--){const s=this._order[r];if(t(s))for(let e=o.length-1;e>=0;e--){const t=o[e].feature;if(i[t.layer.id]this.map.terrain.getElevation(e,t,i):void 0));return this.placement&&r.push(function(e,t,i,o,a,r,s){const n={},l=r.queryRenderedSymbols(o),c=[];for(const e of Object.keys(l).map(Number))c.push(s[e]);c.sort(N);for(const i of c){const o=i.featureIndex.lookupSymbolFeatures(l[i.bucketInstanceId],t,i.bucketIndex,i.sourceLayerIndex,{filterSpec:a.filter,globalState:a.globalState},a.layers,a.availableImages,e);for(const e in o){n[e]||(n[e]=[]);const t=o[e];t.sort(((e,t)=>{const o=i.featureSortOrder;if(o){const i=o.indexOf(e.featureIndex);return o.indexOf(t.featureIndex)-i}return t.featureIndex-e.featureIndex}));for(const i of t)n[e].push(i);}}return function(e,t,i){for(const o in e)for(const a of e[o])Z(a,i[t[o].source]);return e}(n,e,i)}(this._layers,s,this.tileManagers,e,l,this.placement.collisionIndex,this.placement.retainedQueryData)),this._flattenAndSortRenderedFeatures(r)}querySourceFeatures(e,i){(null==i?void 0:i.filter)&&this._validate(t.F.filter,"querySourceFeatures.filter",i.filter,null,i);const o=this.tileManagers[e];return o?function(e,t){const i=e.getRenderableIds().map((t=>e.getTileByID(t))),o=[],a={};for(const e of i){const i=e.tileID.canonical.key;a[i]||(a[i]=!0,e.querySourceFeatures(o,t));}return o}(o,i?Object.assign(Object.assign({},i),{globalState:this._globalState}):{globalState:this._globalState}):[]}getLight(){return this.light.getLight()}setLight(e,i={}){this._checkLoaded();const o=this.light.getLight();let a=!1;for(const i in e)if(!t.bQ(e[i],o[i])){a=!0;break}if(!a)return;const r={now:c(),transition:t.e({duration:300,delay:0},this.stylesheet.transition)};this.light.setLight(e,i),this.light.updateTransitions(r);}getProjection(){var e;return null===(e=this.stylesheet)||void 0===e?void 0:e.projection}setProjection(e){this._checkLoaded();const t=null!=e?e:{type:"mercator"};if(this.stylesheet.projection=e,this.projection){if(this.projection.name===t.type)return;this.projection.destroy(),delete this.projection;}this._setProjectionInternal(t.type);}getSky(){var e;return null===(e=this.stylesheet)||void 0===e?void 0:e.sky}setSky(e,i={}){this._checkLoaded();const o=this.getSky();let a=!1;if(!e&&!o)return;if(e&&!o)a=!0;else if(!e&&o)a=!0;else for(const i in e)if(!t.bQ(e[i],o[i])){a=!0;break}if(!a)return;const r={now:c(),transition:t.e({duration:300,delay:0},this.stylesheet.transition)};this.stylesheet.sky=e,this.sky.setSky(e,i),this.sky.updateTransitions(r);}_setProjectionInternal(e){const i=function(e,i){const o={constrainOverride:i};if(Array.isArray(e)){const t=new _i({type:e});return {projection:t,transform:new Ri(o),cameraHelper:new Ai(t)}}switch(e){case "mercator":return {projection:new Zt,transform:new Xt(o),cameraHelper:new Jt};case "globe":{const e=new _i({type:["interpolate",["linear"],["zoom"],11,"vertical-perspective",12,"mercator"]});return {projection:e,transform:new Ri(o),cameraHelper:new Ai(e)}}case "vertical-perspective":return {projection:new ui,transform:new zi(o),cameraHelper:new Di};default:return t.w(`Unknown projection name: ${e}. Falling back to mercator projection.`),{projection:new Zt,transform:new Xt(o),cameraHelper:new Jt}}}(e,this.map.transformConstrain);this.projection=i.projection,this.map.migrateProjection(i.transform,i.cameraHelper);for(const e in this.tileManagers)this.tileManagers[e].reload();}_validate(e,i,o,a,r={}){return !1!==(null==r?void 0:r.validate)&&Li(this,e.call(t.F,t.e({key:i,style:this.serialize(),value:o,styleSpec:t.x},a)))}_remove(e=!0){this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this._loadStyleRequest&&(this._loadStyleRequest.abort(),this._loadStyleRequest=null),this._spriteRequest&&(this._spriteRequest.abort(),this._spriteRequest=null),ce().off(se,this._rtlPluginLoaded);for(const e in this._layers)this._layers[e].setEventedParent(null);for(const e in this.tileManagers){const t=this.tileManagers[e];t.setEventedParent(null),t.onRemove(this.map);}this.imageManager.setEventedParent(null),this.setEventedParent(null),e&&this.dispatcher.broadcast("RM",void 0),this.dispatcher.remove(e);}_clearSource(e){this.tileManagers[e].clearTiles();}_reloadSource(e){this.tileManagers[e].resume(),this.tileManagers[e].reload();}_updateSources(e){for(const t in this.tileManagers)this.tileManagers[t].update(e,this.map.terrain);}_generateCollisionBoxes(){for(const e in this.tileManagers)this._reloadSource(e);}_updatePlacement(e,t,i,o,a=!1){let r=!1,s=!1;const n={};for(const t of this._order){const i=this._layers[t];if("symbol"!==i.type)continue;if(!n[i.source]){const e=this.tileManagers[i.source];n[i.source]=e.getRenderableIds(!0).map((t=>e.getTileByID(t))).sort(((e,t)=>t.tileID.overscaledZ-e.tileID.overscaledZ||(e.tileID.isLessThan(t.tileID)?-1:1)));}const o=this.crossTileSymbolIndex.addLayer(i,n[i.source],e.center.lng);r||(r=o);}if(this.crossTileSymbolIndex.pruneUnusedLayers(this._order),a||(a=this._layerOrderChanged||0===i),(a||!this.pauseablePlacement||this.pauseablePlacement.isDone()&&!this.placement.stillRecent(c(),e.zoom))&&(this.pauseablePlacement=new Et(e,this.map.terrain,this._order,a,t,i,o,this.placement),this._layerOrderChanged=!1),this.pauseablePlacement.isDone()?this.placement.setStale():(this.pauseablePlacement.continuePlacement(this._order,this._layers,n),this.pauseablePlacement.isDone()&&(this.placement=this.pauseablePlacement.commit(c()),s=!0),r&&this.pauseablePlacement.placement.setStale()),s||r)for(const e of this._order){const t=this._layers[e];"symbol"===t.type&&this.placement.updateLayerOpacities(t,n[t.source]);}return !this.pauseablePlacement.isDone()||this.placement.hasTransitions(c())}_releaseSymbolFadeTiles(){for(const e in this.tileManagers)this.tileManagers[e].releaseSymbolFadeTiles();}getImages(e,i){return t._(this,void 0,void 0,(function*(){const e=yield this.imageManager.getImages(i.icons);this._updateTilesForChangedImages();const t=this.tileManagers[i.source];return t&&t.setDependencies(i.tileID.key,i.type,i.icons),e}))}getGlyphs(e,i){return t._(this,void 0,void 0,(function*(){const e=yield this.glyphManager.getGlyphs(i.stacks),t=this.tileManagers[i.source];return t&&t.setDependencies(i.tileID.key,i.type,[""]),e}))}getGlyphsUrl(){return this.stylesheet.glyphs||null}setGlyphs(e,i={}){this._checkLoaded(),e&&this._validate(t.F.glyphs,"glyphs",e,null,i)||(this._glyphsDidChange=!0,this.stylesheet.glyphs=e,this.glyphManager.entries={},this.glyphManager.setURL(e));}getDashes(e,i){return t._(this,void 0,void 0,(function*(){const e={};for(const[t,o]of Object.entries(i.dashes))e[t]=this.lineAtlas.getDash(o.dasharray,o.round);return e}))}addSprite(e,i,o={},a){this._checkLoaded();const r=[{id:e,url:i}],s=[...p(this.stylesheet.sprite),...r];this._validate(t.F.sprite,"sprite",s,null,o)||(this.stylesheet.sprite=s,this._loadSprite(r,!0,a));}removeSprite(e){this._checkLoaded();const i=p(this.stylesheet.sprite);if(i.find((t=>t.id===e))){if(this._spritesImagesIds[e])for(const t of this._spritesImagesIds[e])this.imageManager.removeImage(t),this._changedImages[t]=!0;i.splice(i.findIndex((t=>t.id===e)),1),this.stylesheet.sprite=i.length>0?i:void 0,delete this._spritesImagesIds[e],this._availableImages=this.imageManager.listImages(),this._changed=!0,this.dispatcher.broadcast("SI",this._availableImages),this.fire(new t.n("data",{dataType:"style"}));}else this.fire(new t.l(new Error(`Sprite "${e}" doesn't exists on this map.`)));}getSprite(){return p(this.stylesheet.sprite)}setSprite(e,i={},o){this._checkLoaded(),e&&this._validate(t.F.sprite,"sprite",e,null,i)||(this.stylesheet.sprite=e,e?this._loadSprite(e,!0,o):(this._unloadSprite(),o&&o(null)));}destroy(){this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this._loadStyleRequest&&(this._loadStyleRequest.abort(),this._loadStyleRequest=null),this._spriteRequest&&(this._spriteRequest.abort(),this._spriteRequest=null);for(const e in this.tileManagers){const t=this.tileManagers[e];t.setEventedParent(null),t.onRemove(this.map);}this.tileManagers={},this.imageManager&&(this.imageManager.setEventedParent(null),this.imageManager.destroy(),this._availableImages=[],this._spritesImagesIds={}),this.glyphManager&&this.glyphManager.destroy();for(const e in this._layers){const t=this._layers[e];t.setEventedParent(null),t.onRemove&&t.onRemove(this.map);}this._setInitialValues(),this.setEventedParent(null),this.dispatcher.unregisterMessageHandler("GG"),this.dispatcher.unregisterMessageHandler("GI"),this.dispatcher.unregisterMessageHandler("GDA"),this.dispatcher.remove(!0),this._listeners={},this._oneTimeListeners={};}}var Bi=t.aS([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]);class Oi{constructor(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null;}bind(e,t,i,o,a,r,s,n,l){this.context=e;let c=this.boundPaintVertexBuffers.length!==o.length;for(let e=0;!c&&e({u_texture:0,u_ele_delta:e,u_fog_matrix:i,u_fog_color:o?o.properties.get("fog-color"):t.bo.white,u_fog_ground_blend:o?o.properties.get("fog-ground-blend"):1,u_fog_ground_blend_opacity:r?0:o?o.calculateFogBlendOpacity(a):0,u_horizon_color:o?o.properties.get("horizon-color"):t.bo.white,u_horizon_fog_blend:o?o.properties.get("horizon-fog-blend"):1,u_is_globe_mode:r?1:0}),Ni={mainMatrix:"u_projection_matrix",tileMercatorCoords:"u_projection_tile_mercator_coords",clippingPlane:"u_projection_clipping_plane",projectionTransition:"u_projection_transition",fallbackMatrix:"u_projection_fallback_matrix"};function Zi(e){const t=[];for(const i of e){if(null===i)continue;const e=i.split(" ");t.push(e.pop());}return t}class Ui{constructor(e,i,o,a,r,s,n,l,c=[]){const h=e.gl;this.program=h.createProgram();const u=Zi(i.staticAttributes),d=o?o.getBinderAttributes():[],_=u.concat(d),p=Ft.prelude.staticUniforms?Zi(Ft.prelude.staticUniforms):[],m=n.staticUniforms?Zi(n.staticUniforms):[],f=i.staticUniforms?Zi(i.staticUniforms):[],g=o?o.getBinderUniforms():[],v=p.concat(m).concat(f).concat(g),x=[];for(const e of v)x.includes(e)||x.push(e);const b=o?o.defines():[];si(h)&&b.unshift("#version 300 es"),r&&b.push("#define OVERDRAW_INSPECTOR;"),s&&b.push("#define TERRAIN3D;"),l&&b.push(l),c&&b.push(...c);let y=b.concat(Ft.prelude.fragmentSource,n.fragmentSource,i.fragmentSource).join("\n"),w=b.concat(Ft.prelude.vertexSource,n.vertexSource,i.vertexSource).join("\n");si(h)||(y=function(e){return e.replace(/\bin\s/g,"varying ").replace("out highp vec4 fragColor;","").replace(/fragColor/g,"gl_FragColor").replace(/texture\(/g,"texture2D(")}(y),w=function(e){return e.replace(/\bin\s/g,"attribute ").replace(/\bout\s/g,"varying ").replace(/texture\(/g,"texture2D(")}(w));const T=h.createShader(h.FRAGMENT_SHADER);if(h.isContextLost())return void(this.failedToCreate=!0);if(h.shaderSource(T,y),h.compileShader(T),!h.getShaderParameter(T,h.COMPILE_STATUS))throw new Error(`Could not compile fragment shader: ${h.getShaderInfoLog(T)}`);h.attachShader(this.program,T);const P=h.createShader(h.VERTEX_SHADER);if(h.isContextLost())return void(this.failedToCreate=!0);if(h.shaderSource(P,w),h.compileShader(P),!h.getShaderParameter(P,h.COMPILE_STATUS))throw new Error(`Could not compile vertex shader: ${h.getShaderInfoLog(P)}`);h.attachShader(this.program,P),this.attributes={};const C={};this.numAttributes=_.length;for(let e=0;e({u_depth:new t.b_(e,i.u_depth),u_terrain:new t.b_(e,i.u_terrain),u_terrain_dim:new t.bp(e,i.u_terrain_dim),u_terrain_matrix:new t.c0(e,i.u_terrain_matrix),u_terrain_unpack:new t.c1(e,i.u_terrain_unpack),u_terrain_exaggeration:new t.bp(e,i.u_terrain_exaggeration)}))(e,C),this.projectionUniforms=((e,i)=>({u_projection_matrix:new t.c0(e,i.u_projection_matrix),u_projection_tile_mercator_coords:new t.c1(e,i.u_projection_tile_mercator_coords),u_projection_clipping_plane:new t.c1(e,i.u_projection_clipping_plane),u_projection_transition:new t.bp(e,i.u_projection_transition),u_projection_fallback_matrix:new t.c0(e,i.u_projection_fallback_matrix)}))(e,C),this.binderUniforms=o?o.getUniforms(e,C):[];}draw(e,t,i,o,a,r,s,n,l,c,h,u,d,_,p,m,f,g,v){var x;const b=e.gl;if(this.failedToCreate)return;if(e.program.set(this.program),e.setDepthMode(i),e.setStencilMode(o),e.setColorMode(a),e.setCullFace(r),n){e.activeTexture.set(b.TEXTURE2),b.bindTexture(b.TEXTURE_2D,n.depthTexture),e.activeTexture.set(b.TEXTURE3),b.bindTexture(b.TEXTURE_2D,n.texture);for(const e in this.terrainUniforms)this.terrainUniforms[e].set(n[e]);}if(l)for(const e in l)this.projectionUniforms[Ni[e]].set(l[e]);if(s)for(const e in this.fixedUniforms)this.fixedUniforms[e].set(s[e]);m&&m.setUniforms(e,this.binderUniforms,_,{zoom:p});let y=0;switch(t){case b.LINES:y=2;break;case b.TRIANGLES:y=3;break;case b.LINE_STRIP:y=1;}for(const i of d.get())i.vaos||(i.vaos={}),(x=i.vaos)[c]||(x[c]=new Oi),i.vaos[c].bind(e,this,h,m?m.getPaintVertexBuffers():[],u,i.vertexOffset,f,g,v),b.drawElements(t,i.primitiveLength*y,b.UNSIGNED_SHORT,i.primitiveOffset*y*2);}}function Gi(e,i,o){const a=1/t.aK(o,1,i.transform.tileZoom),r=Math.pow(2,o.tileID.overscaledZ),s=o.tileSize*Math.pow(2,i.transform.tileZoom)/r,n=s*(o.tileID.canonical.x+o.tileID.wrap*r),l=s*o.tileID.canonical.y;return {u_image:0,u_texsize:o.imageAtlasTexture.size,u_scale:[a,e.fromScale,e.toScale],u_fade:e.t,u_pixel_coord_upper:[n>>16,l>>16],u_pixel_coord_lower:[65535&n,65535&l]}}const Vi=(e,i,o,a)=>{const r=e.style.light,s=r.properties.get("position"),n=[s.x,s.y,s.z],l=t.c4();"viewport"===r.properties.get("anchor")&&t.c5(l,e.transform.bearingInRadians),t.c6(n,n,l);const c=e.transform.transformLightDirection(n),h=r.properties.get("color");return {u_lightpos:n,u_lightpos_globe:c,u_lightintensity:r.properties.get("intensity"),u_lightcolor:[h.r,h.g,h.b],u_vertical_gradient:+i,u_opacity:o,u_fill_translate:a}},Wi=(e,i,o,a,r,s,n)=>t.e(Vi(e,i,o,a),Gi(s,e,n),{u_height_factor:-Math.pow(2,r.overscaledZ)/n.tileSize/8}),qi=(e,i,o,a)=>t.e(Gi(i,e,o),{u_fill_translate:a}),$i=(e,t)=>({u_world:e,u_fill_translate:t}),Hi=(e,i,o,a,r)=>t.e(qi(e,i,o,r),{u_world:a}),Xi=(e,i,o,a,r)=>{const s=e.transform;let n,l,c=0;if("map"===o.paint.get("circle-pitch-alignment")){const e=t.aK(i,1,s.zoom);n=!0,l=[e,e],c=e/(t.a6*Math.pow(2,i.tileID.overscaledZ))*2*Math.PI*r;}else n=!1,l=s.pixelsToGLUnits;return {u_camera_to_center_distance:s.cameraToCenterDistance,u_scale_with_map:+("map"===o.paint.get("circle-pitch-scale")),u_pitch_with_map:+n,u_device_pixel_ratio:e.pixelRatio,u_extrude_scale:l,u_globe_extrude_scale:c,u_translate:a}},Ki=e=>({u_pixel_extrude_scale:[1/e.width,1/e.height]}),Yi=e=>({u_viewport_size:[e.width,e.height]}),Qi=(e,t=1)=>({u_color:e,u_overlay:0,u_overlay_scale:t}),Ji=(e,i,o,a)=>{const r=t.aK(e,1,i)/(t.a6*Math.pow(2,e.tileID.overscaledZ))*2*Math.PI*a;return {u_extrude_scale:t.aK(e,1,i),u_intensity:o,u_globe_extrude_scale:r}},eo=(e,i,o,a)=>{const r=t.O();t.c7(r,0,e.width,e.height,0,0,1);const s=e.context.gl;return {u_matrix:r,u_world:[s.drawingBufferWidth,s.drawingBufferHeight],u_image:o,u_color_ramp:a,u_opacity:i.paint.get("heatmap-opacity")}},to=(e,t,i)=>{const o=i.paint.get("hillshade-accent-color");let a;switch(i.paint.get("hillshade-method")){case "basic":a=4;break;case "combined":a=1;break;case "igor":a=2;break;case "multidirectional":a=3;break;default:a=0;}const r=i.getIlluminationProperties();for(let t=0;t{const o=i.stride,a=t.O();return t.c7(a,0,t.a6,-t.a6,0,0,1),t.Q(a,a,[0,-t.a6,0]),{u_matrix:a,u_image:1,u_dimension:[o,o],u_zoom:e.overscaledZ,u_unpack:i.getUnpackVector()}};function oo(e,i){const o=Math.pow(2,i.canonical.z),a=i.canonical.y;return [new t.a7(0,a/o).toLngLat().lat,new t.a7(0,(a+1)/o).toLngLat().lat]}const ao=(e,t,i=0)=>({u_image:0,u_unpack:t.getUnpackVector(),u_dimension:[t.stride,t.stride],u_elevation_stops:1,u_color_stops:4,u_color_ramp_size:i,u_opacity:e.paint.get("color-relief-opacity")}),ro=(e,i,o,a)=>{const r=e.transform;return {u_translation:uo(e,i,o),u_ratio:a/t.aK(i,1,r.zoom),u_device_pixel_ratio:e.pixelRatio,u_units_to_pixels:[1/r.pixelsToGLUnits[0],1/r.pixelsToGLUnits[1]]}},so=(e,i,o,a,r)=>t.e(ro(e,i,o,a),{u_image:0,u_image_height:r}),no=(e,i,o,a,r)=>{const s=e.transform,n=ho(i,s);return {u_translation:uo(e,i,o),u_texsize:i.imageAtlasTexture.size,u_ratio:a/t.aK(i,1,s.zoom),u_device_pixel_ratio:e.pixelRatio,u_image:0,u_scale:[n,r.fromScale,r.toScale],u_fade:r.t,u_units_to_pixels:[1/s.pixelsToGLUnits[0],1/s.pixelsToGLUnits[1]]}},lo=(e,i,o,a,r)=>{const s=ho(i,e.transform);return t.e(ro(e,i,o,a),{u_tileratio:s,u_crossfade_from:r.fromScale,u_crossfade_to:r.toScale,u_image:0,u_mix:r.t,u_lineatlas_width:e.lineAtlas.width,u_lineatlas_height:e.lineAtlas.height})},co=(e,i,o,a,r,s)=>{const n=ho(i,e.transform);return t.e(ro(e,i,o,a),{u_image:0,u_image_height:s,u_tileratio:n,u_crossfade_from:r.fromScale,u_crossfade_to:r.toScale,u_image_dash:1,u_mix:r.t,u_lineatlas_width:e.lineAtlas.width,u_lineatlas_height:e.lineAtlas.height})};function ho(e,i){return 1/t.aK(e,1,i.tileZoom)}function uo(e,i,o){return t.aL(e.transform,i,o.paint.get("line-translate"),o.paint.get("line-translate-anchor"))}const _o=(e,t,i,o,a)=>{return {u_tl_parent:e,u_scale_parent:t,u_buffer_scale:1,u_fade_t:i.mix,u_opacity:i.opacity*o.paint.get("raster-opacity"),u_image0:0,u_image1:1,u_brightness_low:o.paint.get("raster-brightness-min"),u_brightness_high:o.paint.get("raster-brightness-max"),u_saturation_factor:(s=o.paint.get("raster-saturation"),s>0?1-1/(1.001-s):-s),u_contrast_factor:(r=o.paint.get("raster-contrast"),r>0?1/(1-r):1+r),u_spin_weights:po(o.paint.get("raster-hue-rotate")),u_coords_top:[a[0].x,a[0].y,a[1].x,a[1].y],u_coords_bottom:[a[3].x,a[3].y,a[2].x,a[2].y]};var r,s;};function po(e){e*=Math.PI/180;const t=Math.sin(e),i=Math.cos(e);return [(2*i+1)/3,(-Math.sqrt(3)*t-i+1)/3,(Math.sqrt(3)*t-i+1)/3]}const mo=(e,t,i,o,a,r,s,n,l,c,h,u,d)=>{const _=s.transform;return {u_is_size_zoom_constant:+("constant"===e||"source"===e),u_is_size_feature_constant:+("constant"===e||"camera"===e),u_size_t:t?t.uSizeT:0,u_size:t?t.uSize:0,u_camera_to_center_distance:_.cameraToCenterDistance,u_pitch:_.pitch/360*2*Math.PI,u_rotate_symbol:+i,u_aspect_ratio:_.width/_.height,u_fade_change:s.options.fadeDuration?s.symbolFadeChange:1,u_label_plane_matrix:n,u_coord_matrix:l,u_is_text:+h,u_pitch_with_map:+o,u_is_along_line:a,u_is_variable_anchor:r,u_texsize:u,u_texture:0,u_translation:c,u_pitched_scale:d}},fo=(e,i,o,a,r,s,n,l,c,h,u,d,_,p)=>{const m=n.transform;return t.e(mo(e,i,o,a,r,s,n,l,c,h,u,d,p),{u_gamma_scale:a?Math.cos(m.pitch*Math.PI/180)*m.cameraToCenterDistance:1,u_device_pixel_ratio:n.pixelRatio,u_is_halo:_?1:0,u_is_plain:1})},go=(e,i,o,a,r,s,n,l,c,h,u,d,_)=>t.e(fo(e,i,o,a,r,s,n,l,c,h,!0,u,!0,_),{u_texsize_icon:d,u_texture_icon:1}),vo=(e,t)=>({u_opacity:e,u_color:t}),xo=(e,i,o,a,r)=>t.e(function(e,i,o,a){const r=o.imageManager.getPattern(e.from.toString()),s=o.imageManager.getPattern(e.to.toString()),{width:n,height:l}=o.imageManager.getPixelSize(),c=Math.pow(2,a.tileID.overscaledZ),h=a.tileSize*Math.pow(2,o.transform.tileZoom)/c,u=h*(a.tileID.canonical.x+a.tileID.wrap*c),d=h*a.tileID.canonical.y;return {u_image:0,u_pattern_tl_a:r.tl,u_pattern_br_a:r.br,u_pattern_tl_b:s.tl,u_pattern_br_b:s.br,u_texsize:[n,l],u_mix:i.t,u_pattern_size_a:r.displaySize,u_pattern_size_b:s.displaySize,u_scale_a:i.fromScale,u_scale_b:i.toScale,u_tile_units_to_pixels:1/t.aK(a,1,o.transform.tileZoom),u_pixel_coord_upper:[u>>16,d>>16],u_pixel_coord_lower:[65535&u,65535&d]}}(o,r,i,a),{u_opacity:e}),bo=(e,t)=>{},yo={fillExtrusion:(e,i)=>({u_lightpos:new t.c2(e,i.u_lightpos),u_lightpos_globe:new t.c2(e,i.u_lightpos_globe),u_lightintensity:new t.bp(e,i.u_lightintensity),u_lightcolor:new t.c2(e,i.u_lightcolor),u_vertical_gradient:new t.bp(e,i.u_vertical_gradient),u_opacity:new t.bp(e,i.u_opacity),u_fill_translate:new t.c3(e,i.u_fill_translate)}),fillExtrusionPattern:(e,i)=>({u_lightpos:new t.c2(e,i.u_lightpos),u_lightpos_globe:new t.c2(e,i.u_lightpos_globe),u_lightintensity:new t.bp(e,i.u_lightintensity),u_lightcolor:new t.c2(e,i.u_lightcolor),u_vertical_gradient:new t.bp(e,i.u_vertical_gradient),u_height_factor:new t.bp(e,i.u_height_factor),u_opacity:new t.bp(e,i.u_opacity),u_fill_translate:new t.c3(e,i.u_fill_translate),u_image:new t.b_(e,i.u_image),u_texsize:new t.c3(e,i.u_texsize),u_pixel_coord_upper:new t.c3(e,i.u_pixel_coord_upper),u_pixel_coord_lower:new t.c3(e,i.u_pixel_coord_lower),u_scale:new t.c2(e,i.u_scale),u_fade:new t.bp(e,i.u_fade)}),fill:(e,i)=>({u_fill_translate:new t.c3(e,i.u_fill_translate)}),fillPattern:(e,i)=>({u_image:new t.b_(e,i.u_image),u_texsize:new t.c3(e,i.u_texsize),u_pixel_coord_upper:new t.c3(e,i.u_pixel_coord_upper),u_pixel_coord_lower:new t.c3(e,i.u_pixel_coord_lower),u_scale:new t.c2(e,i.u_scale),u_fade:new t.bp(e,i.u_fade),u_fill_translate:new t.c3(e,i.u_fill_translate)}),fillOutline:(e,i)=>({u_world:new t.c3(e,i.u_world),u_fill_translate:new t.c3(e,i.u_fill_translate)}),fillOutlinePattern:(e,i)=>({u_world:new t.c3(e,i.u_world),u_image:new t.b_(e,i.u_image),u_texsize:new t.c3(e,i.u_texsize),u_pixel_coord_upper:new t.c3(e,i.u_pixel_coord_upper),u_pixel_coord_lower:new t.c3(e,i.u_pixel_coord_lower),u_scale:new t.c2(e,i.u_scale),u_fade:new t.bp(e,i.u_fade),u_fill_translate:new t.c3(e,i.u_fill_translate)}),circle:(e,i)=>({u_camera_to_center_distance:new t.bp(e,i.u_camera_to_center_distance),u_scale_with_map:new t.b_(e,i.u_scale_with_map),u_pitch_with_map:new t.b_(e,i.u_pitch_with_map),u_extrude_scale:new t.c3(e,i.u_extrude_scale),u_device_pixel_ratio:new t.bp(e,i.u_device_pixel_ratio),u_globe_extrude_scale:new t.bp(e,i.u_globe_extrude_scale),u_translate:new t.c3(e,i.u_translate)}),collisionBox:(e,i)=>({u_pixel_extrude_scale:new t.c3(e,i.u_pixel_extrude_scale)}),collisionCircle:(e,i)=>({u_viewport_size:new t.c3(e,i.u_viewport_size)}),debug:(e,i)=>({u_color:new t.b$(e,i.u_color),u_overlay:new t.b_(e,i.u_overlay),u_overlay_scale:new t.bp(e,i.u_overlay_scale)}),depth:bo,clippingMask:bo,heatmap:(e,i)=>({u_extrude_scale:new t.bp(e,i.u_extrude_scale),u_intensity:new t.bp(e,i.u_intensity),u_globe_extrude_scale:new t.bp(e,i.u_globe_extrude_scale)}),heatmapTexture:(e,i)=>({u_matrix:new t.c0(e,i.u_matrix),u_world:new t.c3(e,i.u_world),u_image:new t.b_(e,i.u_image),u_color_ramp:new t.b_(e,i.u_color_ramp),u_opacity:new t.bp(e,i.u_opacity)}),hillshade:(e,i)=>({u_image:new t.b_(e,i.u_image),u_latrange:new t.c3(e,i.u_latrange),u_exaggeration:new t.bp(e,i.u_exaggeration),u_altitudes:new t.c9(e,i.u_altitudes),u_azimuths:new t.c9(e,i.u_azimuths),u_accent:new t.b$(e,i.u_accent),u_method:new t.b_(e,i.u_method),u_shadows:new t.c8(e,i.u_shadows),u_highlights:new t.c8(e,i.u_highlights)}),hillshadePrepare:(e,i)=>({u_matrix:new t.c0(e,i.u_matrix),u_image:new t.b_(e,i.u_image),u_dimension:new t.c3(e,i.u_dimension),u_zoom:new t.bp(e,i.u_zoom),u_unpack:new t.c1(e,i.u_unpack)}),colorRelief:(e,i)=>({u_image:new t.b_(e,i.u_image),u_unpack:new t.c1(e,i.u_unpack),u_dimension:new t.c3(e,i.u_dimension),u_elevation_stops:new t.b_(e,i.u_elevation_stops),u_color_stops:new t.b_(e,i.u_color_stops),u_color_ramp_size:new t.b_(e,i.u_color_ramp_size),u_opacity:new t.bp(e,i.u_opacity)}),line:(e,i)=>({u_translation:new t.c3(e,i.u_translation),u_ratio:new t.bp(e,i.u_ratio),u_device_pixel_ratio:new t.bp(e,i.u_device_pixel_ratio),u_units_to_pixels:new t.c3(e,i.u_units_to_pixels)}),lineGradient:(e,i)=>({u_translation:new t.c3(e,i.u_translation),u_ratio:new t.bp(e,i.u_ratio),u_device_pixel_ratio:new t.bp(e,i.u_device_pixel_ratio),u_units_to_pixels:new t.c3(e,i.u_units_to_pixels),u_image:new t.b_(e,i.u_image),u_image_height:new t.bp(e,i.u_image_height)}),linePattern:(e,i)=>({u_translation:new t.c3(e,i.u_translation),u_texsize:new t.c3(e,i.u_texsize),u_ratio:new t.bp(e,i.u_ratio),u_device_pixel_ratio:new t.bp(e,i.u_device_pixel_ratio),u_image:new t.b_(e,i.u_image),u_units_to_pixels:new t.c3(e,i.u_units_to_pixels),u_scale:new t.c2(e,i.u_scale),u_fade:new t.bp(e,i.u_fade)}),lineSDF:(e,i)=>({u_translation:new t.c3(e,i.u_translation),u_ratio:new t.bp(e,i.u_ratio),u_device_pixel_ratio:new t.bp(e,i.u_device_pixel_ratio),u_units_to_pixels:new t.c3(e,i.u_units_to_pixels),u_image:new t.b_(e,i.u_image),u_mix:new t.bp(e,i.u_mix),u_tileratio:new t.bp(e,i.u_tileratio),u_crossfade_from:new t.bp(e,i.u_crossfade_from),u_crossfade_to:new t.bp(e,i.u_crossfade_to),u_lineatlas_width:new t.bp(e,i.u_lineatlas_width),u_lineatlas_height:new t.bp(e,i.u_lineatlas_height)}),lineGradientSDF:(e,i)=>({u_translation:new t.c3(e,i.u_translation),u_ratio:new t.bp(e,i.u_ratio),u_device_pixel_ratio:new t.bp(e,i.u_device_pixel_ratio),u_units_to_pixels:new t.c3(e,i.u_units_to_pixels),u_image:new t.b_(e,i.u_image),u_image_height:new t.bp(e,i.u_image_height),u_tileratio:new t.bp(e,i.u_tileratio),u_crossfade_from:new t.bp(e,i.u_crossfade_from),u_crossfade_to:new t.bp(e,i.u_crossfade_to),u_image_dash:new t.b_(e,i.u_image_dash),u_mix:new t.bp(e,i.u_mix),u_lineatlas_width:new t.bp(e,i.u_lineatlas_width),u_lineatlas_height:new t.bp(e,i.u_lineatlas_height)}),raster:(e,i)=>({u_tl_parent:new t.c3(e,i.u_tl_parent),u_scale_parent:new t.bp(e,i.u_scale_parent),u_buffer_scale:new t.bp(e,i.u_buffer_scale),u_fade_t:new t.bp(e,i.u_fade_t),u_opacity:new t.bp(e,i.u_opacity),u_image0:new t.b_(e,i.u_image0),u_image1:new t.b_(e,i.u_image1),u_brightness_low:new t.bp(e,i.u_brightness_low),u_brightness_high:new t.bp(e,i.u_brightness_high),u_saturation_factor:new t.bp(e,i.u_saturation_factor),u_contrast_factor:new t.bp(e,i.u_contrast_factor),u_spin_weights:new t.c2(e,i.u_spin_weights),u_coords_top:new t.c1(e,i.u_coords_top),u_coords_bottom:new t.c1(e,i.u_coords_bottom)}),symbolIcon:(e,i)=>({u_is_size_zoom_constant:new t.b_(e,i.u_is_size_zoom_constant),u_is_size_feature_constant:new t.b_(e,i.u_is_size_feature_constant),u_size_t:new t.bp(e,i.u_size_t),u_size:new t.bp(e,i.u_size),u_camera_to_center_distance:new t.bp(e,i.u_camera_to_center_distance),u_pitch:new t.bp(e,i.u_pitch),u_rotate_symbol:new t.b_(e,i.u_rotate_symbol),u_aspect_ratio:new t.bp(e,i.u_aspect_ratio),u_fade_change:new t.bp(e,i.u_fade_change),u_label_plane_matrix:new t.c0(e,i.u_label_plane_matrix),u_coord_matrix:new t.c0(e,i.u_coord_matrix),u_is_text:new t.b_(e,i.u_is_text),u_pitch_with_map:new t.b_(e,i.u_pitch_with_map),u_is_along_line:new t.b_(e,i.u_is_along_line),u_is_variable_anchor:new t.b_(e,i.u_is_variable_anchor),u_texsize:new t.c3(e,i.u_texsize),u_texture:new t.b_(e,i.u_texture),u_translation:new t.c3(e,i.u_translation),u_pitched_scale:new t.bp(e,i.u_pitched_scale)}),symbolSDF:(e,i)=>({u_is_size_zoom_constant:new t.b_(e,i.u_is_size_zoom_constant),u_is_size_feature_constant:new t.b_(e,i.u_is_size_feature_constant),u_size_t:new t.bp(e,i.u_size_t),u_size:new t.bp(e,i.u_size),u_camera_to_center_distance:new t.bp(e,i.u_camera_to_center_distance),u_pitch:new t.bp(e,i.u_pitch),u_rotate_symbol:new t.b_(e,i.u_rotate_symbol),u_aspect_ratio:new t.bp(e,i.u_aspect_ratio),u_fade_change:new t.bp(e,i.u_fade_change),u_label_plane_matrix:new t.c0(e,i.u_label_plane_matrix),u_coord_matrix:new t.c0(e,i.u_coord_matrix),u_is_text:new t.b_(e,i.u_is_text),u_pitch_with_map:new t.b_(e,i.u_pitch_with_map),u_is_along_line:new t.b_(e,i.u_is_along_line),u_is_variable_anchor:new t.b_(e,i.u_is_variable_anchor),u_texsize:new t.c3(e,i.u_texsize),u_texture:new t.b_(e,i.u_texture),u_gamma_scale:new t.bp(e,i.u_gamma_scale),u_device_pixel_ratio:new t.bp(e,i.u_device_pixel_ratio),u_is_halo:new t.b_(e,i.u_is_halo),u_is_plain:new t.b_(e,i.u_is_plain),u_translation:new t.c3(e,i.u_translation),u_pitched_scale:new t.bp(e,i.u_pitched_scale)}),symbolTextAndIcon:(e,i)=>({u_is_size_zoom_constant:new t.b_(e,i.u_is_size_zoom_constant),u_is_size_feature_constant:new t.b_(e,i.u_is_size_feature_constant),u_size_t:new t.bp(e,i.u_size_t),u_size:new t.bp(e,i.u_size),u_camera_to_center_distance:new t.bp(e,i.u_camera_to_center_distance),u_pitch:new t.bp(e,i.u_pitch),u_rotate_symbol:new t.b_(e,i.u_rotate_symbol),u_aspect_ratio:new t.bp(e,i.u_aspect_ratio),u_fade_change:new t.bp(e,i.u_fade_change),u_label_plane_matrix:new t.c0(e,i.u_label_plane_matrix),u_coord_matrix:new t.c0(e,i.u_coord_matrix),u_is_text:new t.b_(e,i.u_is_text),u_pitch_with_map:new t.b_(e,i.u_pitch_with_map),u_is_along_line:new t.b_(e,i.u_is_along_line),u_is_variable_anchor:new t.b_(e,i.u_is_variable_anchor),u_texsize:new t.c3(e,i.u_texsize),u_texsize_icon:new t.c3(e,i.u_texsize_icon),u_texture:new t.b_(e,i.u_texture),u_texture_icon:new t.b_(e,i.u_texture_icon),u_gamma_scale:new t.bp(e,i.u_gamma_scale),u_device_pixel_ratio:new t.bp(e,i.u_device_pixel_ratio),u_is_halo:new t.b_(e,i.u_is_halo),u_translation:new t.c3(e,i.u_translation),u_pitched_scale:new t.bp(e,i.u_pitched_scale)}),background:(e,i)=>({u_opacity:new t.bp(e,i.u_opacity),u_color:new t.b$(e,i.u_color)}),backgroundPattern:(e,i)=>({u_opacity:new t.bp(e,i.u_opacity),u_image:new t.b_(e,i.u_image),u_pattern_tl_a:new t.c3(e,i.u_pattern_tl_a),u_pattern_br_a:new t.c3(e,i.u_pattern_br_a),u_pattern_tl_b:new t.c3(e,i.u_pattern_tl_b),u_pattern_br_b:new t.c3(e,i.u_pattern_br_b),u_texsize:new t.c3(e,i.u_texsize),u_mix:new t.bp(e,i.u_mix),u_pattern_size_a:new t.c3(e,i.u_pattern_size_a),u_pattern_size_b:new t.c3(e,i.u_pattern_size_b),u_scale_a:new t.bp(e,i.u_scale_a),u_scale_b:new t.bp(e,i.u_scale_b),u_pixel_coord_upper:new t.c3(e,i.u_pixel_coord_upper),u_pixel_coord_lower:new t.c3(e,i.u_pixel_coord_lower),u_tile_units_to_pixels:new t.bp(e,i.u_tile_units_to_pixels)}),terrain:(e,i)=>({u_texture:new t.b_(e,i.u_texture),u_ele_delta:new t.bp(e,i.u_ele_delta),u_fog_matrix:new t.c0(e,i.u_fog_matrix),u_fog_color:new t.b$(e,i.u_fog_color),u_fog_ground_blend:new t.bp(e,i.u_fog_ground_blend),u_fog_ground_blend_opacity:new t.bp(e,i.u_fog_ground_blend_opacity),u_horizon_color:new t.b$(e,i.u_horizon_color),u_horizon_fog_blend:new t.bp(e,i.u_horizon_fog_blend),u_is_globe_mode:new t.bp(e,i.u_is_globe_mode)}),terrainDepth:(e,i)=>({u_ele_delta:new t.bp(e,i.u_ele_delta)}),terrainCoords:(e,i)=>({u_texture:new t.b_(e,i.u_texture),u_terrain_coords_id:new t.bp(e,i.u_terrain_coords_id),u_ele_delta:new t.bp(e,i.u_ele_delta)}),projectionErrorMeasurement:(e,i)=>({u_input:new t.bp(e,i.u_input),u_output_expected:new t.bp(e,i.u_output_expected)}),atmosphere:(e,i)=>({u_sun_pos:new t.c2(e,i.u_sun_pos),u_atmosphere_blend:new t.bp(e,i.u_atmosphere_blend),u_globe_position:new t.c2(e,i.u_globe_position),u_globe_radius:new t.bp(e,i.u_globe_radius),u_inv_proj_matrix:new t.c0(e,i.u_inv_proj_matrix)}),sky:(e,i)=>({u_sky_color:new t.b$(e,i.u_sky_color),u_horizon_color:new t.b$(e,i.u_horizon_color),u_horizon:new t.c3(e,i.u_horizon),u_horizon_normal:new t.c3(e,i.u_horizon_normal),u_sky_horizon_blend:new t.bp(e,i.u_sky_horizon_blend),u_sky_blend:new t.bp(e,i.u_sky_blend)})};class wo{constructor(e,t,i){this.context=e;const o=e.gl;this.buffer=o.createBuffer(),this.dynamicDraw=Boolean(i),this.context.unbindVAO(),e.bindElementBuffer.set(this.buffer),o.bufferData(o.ELEMENT_ARRAY_BUFFER,t.arrayBuffer,this.dynamicDraw?o.DYNAMIC_DRAW:o.STATIC_DRAW),this.dynamicDraw||t.freeBufferAfterUpload();}bind(){this.context.bindElementBuffer.set(this.buffer);}updateData(e){const t=this.context.gl;if(!this.dynamicDraw)throw new Error("Attempted to update data while not in dynamic mode.");this.context.unbindVAO(),this.bind(),t.bufferSubData(t.ELEMENT_ARRAY_BUFFER,0,e.arrayBuffer);}destroy(){this.buffer&&(this.context.gl.deleteBuffer(this.buffer),delete this.buffer);}}const To={Int8:"BYTE",Uint8:"UNSIGNED_BYTE",Int16:"SHORT",Uint16:"UNSIGNED_SHORT",Int32:"INT",Uint32:"UNSIGNED_INT",Float32:"FLOAT"};class Po{constructor(e,t,i,o){this.length=t.length,this.attributes=i,this.itemSize=t.bytesPerElement,this.dynamicDraw=o,this.context=e;const a=e.gl;this.buffer=a.createBuffer(),e.bindVertexBuffer.set(this.buffer),a.bufferData(a.ARRAY_BUFFER,t.arrayBuffer,this.dynamicDraw?a.DYNAMIC_DRAW:a.STATIC_DRAW),this.dynamicDraw||t.freeBufferAfterUpload();}bind(){this.context.bindVertexBuffer.set(this.buffer);}updateData(e){if(e.length!==this.length)throw new Error(`Length of new data is ${e.length}, which doesn't match current length of ${this.length}`);const t=this.context.gl;this.bind(),t.bufferSubData(t.ARRAY_BUFFER,0,e.arrayBuffer);}enableAttributes(e,t){for(const i of this.attributes){const o=t.attributes[i.name];void 0!==o&&e.enableVertexAttribArray(o);}}setVertexAttribPointers(e,t,i){for(const o of this.attributes){const a=t.attributes[o.name];void 0!==a&&e.vertexAttribPointer(a,o.components,e[To[o.type]],!1,this.itemSize,o.offset+this.itemSize*(i||0));}}destroy(){this.buffer&&(this.context.gl.deleteBuffer(this.buffer),delete this.buffer);}}class Co{constructor(e){this.gl=e.gl,this.default=this.getDefault(),this.current=this.default,this.dirty=!1;}get(){return this.current}set(e){}getDefault(){return this.default}setDefault(){this.set(this.default);}}class Mo extends Co{getDefault(){return t.bo.transparent}set(e){const t=this.current;(e.r!==t.r||e.g!==t.g||e.b!==t.b||e.a!==t.a||this.dirty)&&(this.gl.clearColor(e.r,e.g,e.b,e.a),this.current=e,this.dirty=!1);}}class Io extends Co{getDefault(){return 1}set(e){(e!==this.current||this.dirty)&&(this.gl.clearDepth(e),this.current=e,this.dirty=!1);}}class Eo extends Co{getDefault(){return 0}set(e){(e!==this.current||this.dirty)&&(this.gl.clearStencil(e),this.current=e,this.dirty=!1);}}class So extends Co{getDefault(){return [!0,!0,!0,!0]}set(e){const t=this.current;(e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||this.dirty)&&(this.gl.colorMask(e[0],e[1],e[2],e[3]),this.current=e,this.dirty=!1);}}class zo extends Co{getDefault(){return !0}set(e){(e!==this.current||this.dirty)&&(this.gl.depthMask(e),this.current=e,this.dirty=!1);}}class Ro extends Co{getDefault(){return 255}set(e){(e!==this.current||this.dirty)&&(this.gl.stencilMask(e),this.current=e,this.dirty=!1);}}class Do extends Co{getDefault(){return {func:this.gl.ALWAYS,ref:0,mask:255}}set(e){const t=this.current;(e.func!==t.func||e.ref!==t.ref||e.mask!==t.mask||this.dirty)&&(this.gl.stencilFunc(e.func,e.ref,e.mask),this.current=e,this.dirty=!1);}}class Ao extends Co{getDefault(){const e=this.gl;return [e.KEEP,e.KEEP,e.KEEP]}set(e){const t=this.current;(e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||this.dirty)&&(this.gl.stencilOp(e[0],e[1],e[2]),this.current=e,this.dirty=!1);}}class Lo extends Co{getDefault(){return !1}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;e?t.enable(t.STENCIL_TEST):t.disable(t.STENCIL_TEST),this.current=e,this.dirty=!1;}}class Fo extends Co{getDefault(){return [0,1]}set(e){const t=this.current;(e[0]!==t[0]||e[1]!==t[1]||this.dirty)&&(this.gl.depthRange(e[0],e[1]),this.current=e,this.dirty=!1);}}class ko extends Co{getDefault(){return !1}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;e?t.enable(t.DEPTH_TEST):t.disable(t.DEPTH_TEST),this.current=e,this.dirty=!1;}}class Bo extends Co{getDefault(){return this.gl.LESS}set(e){(e!==this.current||this.dirty)&&(this.gl.depthFunc(e),this.current=e,this.dirty=!1);}}class Oo extends Co{getDefault(){return !1}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;e?t.enable(t.BLEND):t.disable(t.BLEND),this.current=e,this.dirty=!1;}}class jo extends Co{getDefault(){const e=this.gl;return [e.ONE,e.ZERO]}set(e){const t=this.current;(e[0]!==t[0]||e[1]!==t[1]||this.dirty)&&(this.gl.blendFunc(e[0],e[1]),this.current=e,this.dirty=!1);}}class No extends Co{getDefault(){return t.bo.transparent}set(e){const t=this.current;(e.r!==t.r||e.g!==t.g||e.b!==t.b||e.a!==t.a||this.dirty)&&(this.gl.blendColor(e.r,e.g,e.b,e.a),this.current=e,this.dirty=!1);}}class Zo extends Co{getDefault(){return this.gl.FUNC_ADD}set(e){(e!==this.current||this.dirty)&&(this.gl.blendEquation(e),this.current=e,this.dirty=!1);}}class Uo extends Co{getDefault(){return !1}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;e?t.enable(t.CULL_FACE):t.disable(t.CULL_FACE),this.current=e,this.dirty=!1;}}class Go extends Co{getDefault(){return this.gl.BACK}set(e){(e!==this.current||this.dirty)&&(this.gl.cullFace(e),this.current=e,this.dirty=!1);}}class Vo extends Co{getDefault(){return this.gl.CCW}set(e){(e!==this.current||this.dirty)&&(this.gl.frontFace(e),this.current=e,this.dirty=!1);}}class Wo extends Co{getDefault(){return null}set(e){(e!==this.current||this.dirty)&&(this.gl.useProgram(e),this.current=e,this.dirty=!1);}}class qo extends Co{getDefault(){return this.gl.TEXTURE0}set(e){(e!==this.current||this.dirty)&&(this.gl.activeTexture(e),this.current=e,this.dirty=!1);}}class $o extends Co{getDefault(){const e=this.gl;return [0,0,e.drawingBufferWidth,e.drawingBufferHeight]}set(e){const t=this.current;(e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||this.dirty)&&(this.gl.viewport(e[0],e[1],e[2],e[3]),this.current=e,this.dirty=!1);}}class Ho extends Co{getDefault(){return null}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.bindFramebuffer(t.FRAMEBUFFER,e),this.current=e,this.dirty=!1;}}class Xo extends Co{getDefault(){return null}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.bindRenderbuffer(t.RENDERBUFFER,e),this.current=e,this.dirty=!1;}}class Ko extends Co{getDefault(){return null}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.bindTexture(t.TEXTURE_2D,e),this.current=e,this.dirty=!1;}}class Yo extends Co{getDefault(){return null}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.bindBuffer(t.ARRAY_BUFFER,e),this.current=e,this.dirty=!1;}}class Qo extends Co{getDefault(){return null}set(e){const t=this.gl;t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,e),this.current=e,this.dirty=!1;}}class Jo extends Co{getDefault(){return null}set(e){var t;if(e===this.current&&!this.dirty)return;const i=this.gl;si(i)?i.bindVertexArray(e):null===(t=i.getExtension("OES_vertex_array_object"))||void 0===t||t.bindVertexArrayOES(e),this.current=e,this.dirty=!1;}}class ea extends Co{getDefault(){return 4}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.pixelStorei(t.UNPACK_ALIGNMENT,e),this.current=e,this.dirty=!1;}}class ta extends Co{getDefault(){return !1}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL,e),this.current=e,this.dirty=!1;}}class ia extends Co{getDefault(){return !1}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.pixelStorei(t.UNPACK_FLIP_Y_WEBGL,e),this.current=e,this.dirty=!1;}}class oa extends Co{constructor(e,t){super(e),this.context=e,this.parent=t;}getDefault(){return null}}class aa extends oa{setDirty(){this.dirty=!0;}set(e){if(e===this.current&&!this.dirty)return;this.context.bindFramebuffer.set(this.parent);const t=this.gl;t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,e,0),this.current=e,this.dirty=!1;}}class ra extends oa{set(e){if(e===this.current&&!this.dirty)return;this.context.bindFramebuffer.set(this.parent);const t=this.gl;t.framebufferRenderbuffer(t.FRAMEBUFFER,t.DEPTH_ATTACHMENT,t.RENDERBUFFER,e),this.current=e,this.dirty=!1;}}class sa extends oa{set(e){if(e===this.current&&!this.dirty)return;this.context.bindFramebuffer.set(this.parent);const t=this.gl;t.framebufferRenderbuffer(t.FRAMEBUFFER,t.DEPTH_STENCIL_ATTACHMENT,t.RENDERBUFFER,e),this.current=e,this.dirty=!1;}}const na="Framebuffer is not complete";class la{constructor(e,t,i,o,a){this.context=e,this.width=t,this.height=i;const r=e.gl,s=this.framebuffer=r.createFramebuffer();if(this.colorAttachment=new aa(e,s),o)this.depthAttachment=a?new sa(e,s):new ra(e,s);else if(a)throw new Error("Stencil cannot be set without depth");if(r.checkFramebufferStatus(r.FRAMEBUFFER)!==r.FRAMEBUFFER_COMPLETE)throw new Error(na)}destroy(){const e=this.context.gl,t=this.colorAttachment.get();if(t&&e.deleteTexture(t),this.depthAttachment){const t=this.depthAttachment.get();t&&e.deleteRenderbuffer(t);}e.deleteFramebuffer(this.framebuffer);}}class ca{constructor(e){var t,i;if(this.gl=e,this.clearColor=new Mo(this),this.clearDepth=new Io(this),this.clearStencil=new Eo(this),this.colorMask=new So(this),this.depthMask=new zo(this),this.stencilMask=new Ro(this),this.stencilFunc=new Do(this),this.stencilOp=new Ao(this),this.stencilTest=new Lo(this),this.depthRange=new Fo(this),this.depthTest=new ko(this),this.depthFunc=new Bo(this),this.blend=new Oo(this),this.blendFunc=new jo(this),this.blendColor=new No(this),this.blendEquation=new Zo(this),this.cullFace=new Uo(this),this.cullFaceSide=new Go(this),this.frontFace=new Vo(this),this.program=new Wo(this),this.activeTexture=new qo(this),this.viewport=new $o(this),this.bindFramebuffer=new Ho(this),this.bindRenderbuffer=new Xo(this),this.bindTexture=new Ko(this),this.bindVertexBuffer=new Yo(this),this.bindElementBuffer=new Qo(this),this.bindVertexArray=new Jo(this),this.pixelStoreUnpack=new ea(this),this.pixelStoreUnpackPremultiplyAlpha=new ta(this),this.pixelStoreUnpackFlipY=new ia(this),this.extTextureFilterAnisotropic=e.getExtension("EXT_texture_filter_anisotropic"),this.extTextureFilterAnisotropic&&(this.extTextureFilterAnisotropicMax=e.getParameter(this.extTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT)),this.maxTextureSize=e.getParameter(e.MAX_TEXTURE_SIZE),si(e)){this.HALF_FLOAT=e.HALF_FLOAT;const o=e.getExtension("EXT_color_buffer_half_float");this.RGBA16F=null!==(t=e.RGBA16F)&&void 0!==t?t:null==o?void 0:o.RGBA16F_EXT,this.RGB16F=null!==(i=e.RGB16F)&&void 0!==i?i:null==o?void 0:o.RGB16F_EXT,e.getExtension("EXT_color_buffer_float");}else {e.getExtension("EXT_color_buffer_half_float"),e.getExtension("OES_texture_half_float_linear");const t=e.getExtension("OES_texture_half_float");this.HALF_FLOAT=null==t?void 0:t.HALF_FLOAT_OES;}}setDefault(){this.unbindVAO(),this.clearColor.setDefault(),this.clearDepth.setDefault(),this.clearStencil.setDefault(),this.colorMask.setDefault(),this.depthMask.setDefault(),this.stencilMask.setDefault(),this.stencilFunc.setDefault(),this.stencilOp.setDefault(),this.stencilTest.setDefault(),this.depthRange.setDefault(),this.depthTest.setDefault(),this.depthFunc.setDefault(),this.blend.setDefault(),this.blendFunc.setDefault(),this.blendColor.setDefault(),this.blendEquation.setDefault(),this.cullFace.setDefault(),this.cullFaceSide.setDefault(),this.frontFace.setDefault(),this.program.setDefault(),this.activeTexture.setDefault(),this.bindFramebuffer.setDefault(),this.pixelStoreUnpack.setDefault(),this.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.pixelStoreUnpackFlipY.setDefault();}setDirty(){this.clearColor.dirty=!0,this.clearDepth.dirty=!0,this.clearStencil.dirty=!0,this.colorMask.dirty=!0,this.depthMask.dirty=!0,this.stencilMask.dirty=!0,this.stencilFunc.dirty=!0,this.stencilOp.dirty=!0,this.stencilTest.dirty=!0,this.depthRange.dirty=!0,this.depthTest.dirty=!0,this.depthFunc.dirty=!0,this.blend.dirty=!0,this.blendFunc.dirty=!0,this.blendColor.dirty=!0,this.blendEquation.dirty=!0,this.cullFace.dirty=!0,this.cullFaceSide.dirty=!0,this.frontFace.dirty=!0,this.program.dirty=!0,this.activeTexture.dirty=!0,this.viewport.dirty=!0,this.bindFramebuffer.dirty=!0,this.bindRenderbuffer.dirty=!0,this.bindTexture.dirty=!0,this.bindVertexBuffer.dirty=!0,this.bindElementBuffer.dirty=!0,this.bindVertexArray.dirty=!0,this.pixelStoreUnpack.dirty=!0,this.pixelStoreUnpackPremultiplyAlpha.dirty=!0,this.pixelStoreUnpackFlipY.dirty=!0;}createIndexBuffer(e,t){return new wo(this,e,t)}createVertexBuffer(e,t,i){return new Po(this,e,t,i)}createRenderbuffer(e,t,i){const o=this.gl,a=o.createRenderbuffer();return this.bindRenderbuffer.set(a),o.renderbufferStorage(o.RENDERBUFFER,e,t,i),this.bindRenderbuffer.set(null),a}createFramebuffer(e,t,i,o){return new la(this,e,t,i,o)}clear({color:e,depth:t,stencil:i}){const o=this.gl;let a=0;e&&(a|=o.COLOR_BUFFER_BIT,this.clearColor.set(e),this.colorMask.set([!0,!0,!0,!0])),void 0!==t&&(a|=o.DEPTH_BUFFER_BIT,this.depthRange.set([0,1]),this.clearDepth.set(t),this.depthMask.set(!0)),void 0!==i&&(a|=o.STENCIL_BUFFER_BIT,this.clearStencil.set(i),this.stencilMask.set(255)),o.clear(a);}setCullFace(e){!1===e.enable?this.cullFace.set(!1):(this.cullFace.set(!0),this.cullFaceSide.set(e.mode),this.frontFace.set(e.frontFace));}setDepthMode(e){e.func!==this.gl.ALWAYS||e.mask?(this.depthTest.set(!0),this.depthFunc.set(e.func),this.depthMask.set(e.mask),this.depthRange.set(e.range)):this.depthTest.set(!1);}setStencilMode(e){e.test.func!==this.gl.ALWAYS||e.mask?(this.stencilTest.set(!0),this.stencilMask.set(e.mask),this.stencilOp.set([e.fail,e.depthFail,e.pass]),this.stencilFunc.set({func:e.test.func,ref:e.ref,mask:e.test.mask})):this.stencilTest.set(!1);}setColorMode(e){t.bQ(e.blendFunction,ei.Replace)?this.blend.set(!1):(this.blend.set(!0),this.blendFunc.set(e.blendFunction),this.blendColor.set(e.blendColor)),this.colorMask.set(e.mask);}createVertexArray(){var e;return si(this.gl)?this.gl.createVertexArray():null===(e=this.gl.getExtension("OES_vertex_array_object"))||void 0===e?void 0:e.createVertexArrayOES()}deleteVertexArray(e){var t;si(this.gl)?this.gl.deleteVertexArray(e):null===(t=this.gl.getExtension("OES_vertex_array_object"))||void 0===t||t.deleteVertexArrayOES(e);}unbindVAO(){this.bindVertexArray.set(null);}}let ha;function ua(e,i,o,a,r){var s,n;const l=e.context,c=e.transform,h=l.gl,u=e.useProgram("collisionBox"),d=[];let _=0,p=0;for(const t of a){const a=i.getTile(t).getBucket(o);if(!a)continue;const n=r?a.textCollisionBox:a.iconCollisionBox,m=a.collisionCircleArray;m.length>0&&(d.push({circleArray:m,circleOffset:p,coord:t}),_+=m.length/4,p=_),n&&u.draw(l,h.LINES,oi.disabled,ri.disabled,e.colorModeForRenderPass(),ii.disabled,Ki(e.transform),null===(s=e.style.map.terrain)||void 0===s?void 0:s.getTerrainData(t),c.getProjectionData({overscaledTileID:t,applyGlobeMatrix:!0,applyTerrainMatrix:!0}),o.id,n.layoutVertexBuffer,n.indexBuffer,n.segments,null,e.transform.zoom,null,null,n.collisionVertexBuffer);}if(!r||!d.length)return;const m=e.useProgram("collisionCircle"),f=new t.ca;f.resize(4*_),f._trim();let g=0;for(const e of d)for(let t=0;t=0&&(f[g.associatedIconIndex]={shiftedAnchor:E,angle:S});}else st(g.numGlyphs,p);}if(c){m.clear();const i=e.icon.placedSymbolArray;for(let e=0;ee.style.map.terrain.getElevation(l,t,i):null,s="map"===o.layout.get("text-rotation-alignment");$e(c,e,r,j,i,b,h,s,l.toUnwrapped(),v.width,v.height,Z,a);}const W=r&&M||V,q=y||W?da:b?j:e.transform.clipSpaceToPixelsMatrix,$=m&&0!==o.paint.get(r?"text-halo-width":"icon-halo-width").constantOr(1);let H;H=m?c.iconsInText?go(f.kind,z,w,b,y,W,e,q,N,Z,D,k,E):fo(f.kind,z,w,b,y,W,e,q,N,Z,r,D,$,E):mo(f.kind,z,w,b,y,W,e,q,N,Z,r,D,E);const X={program:S,buffers:u,uniformValues:H,projectionData:U,atlasTexture:A,atlasTextureIcon:B,atlasInterpolation:L,atlasInterpolationIcon:F,isSDF:m,hasHalo:$};if(T&&c.canOverlap){P=!0;const e=u.segments.get();for(const i of e)I.push({segments:new t.aV([i]),sortKey:i.sortKey,state:X,terrainData:R});}else I.push({segments:u.segments,sortKey:0,state:X,terrainData:R});}P&&I.sort(((e,t)=>e.sortKey-t.sortKey));const S=null!==(m=o.paint.get(r?"text-halo-width":"icon-halo-width").constantOr(null))&&void 0!==m?m:1/0,z=o.layout.get("text-letter-spacing").constantOr(0)*t.aJ<0||S>1;for(const t of I){const i=t.state;f.activeTexture.set(g.TEXTURE0),i.atlasTexture.bind(i.atlasInterpolation,g.CLAMP_TO_EDGE),i.atlasTextureIcon&&(f.activeTexture.set(g.TEXTURE1),i.atlasTextureIcon&&i.atlasTextureIcon.bind(i.atlasInterpolationIcon,g.CLAMP_TO_EDGE));const a=i.isSDF&&i.hasHalo;if(a){const a=i.uniformValues;a.u_is_halo=1,z&&(a.u_is_plain=0,va(i.buffers,t.segments,o,e,i.program,C,u,d,a,i.projectionData,t.terrainData),a.u_is_halo=0,a.u_is_plain=1);}va(i.buffers,t.segments,o,e,i.program,C,u,d,i.uniformValues,i.projectionData,t.terrainData),a&&!z&&(i.uniformValues.u_is_halo=0);}}function va(e,t,i,o,a,r,s,n,l,c,h){const u=o.context;a.draw(u,u.gl.TRIANGLES,r,s,n,ii.backCCW,l,h,c,i.id,e.layoutVertexBuffer,e.indexBuffer,t,i.paint,o.transform.zoom,e.programConfigurations.get(i.id),e.dynamicLayoutVertexBuffer,e.opacityVertexBuffer);}function xa(e,i,o,a,r){const s=e.context,n=s.gl,l=ri.disabled,c=new ei([n.ONE,n.ONE],t.bo.transparent,[!0,!0,!0,!0]),h=i.getBucket(o);if(!h)return;const u=a.key;let d=o.heatmapFbos.get(u);d||(d=ya(s,i.tileSize,i.tileSize),o.heatmapFbos.set(u,d)),s.bindFramebuffer.set(d.framebuffer),s.viewport.set([0,0,i.tileSize,i.tileSize]),s.clear({color:t.bo.transparent});const _=h.programConfigurations.get(o.id),p=e.useProgram("heatmap",_,!r),m=e.transform.getProjectionData({overscaledTileID:i.tileID,applyGlobeMatrix:!0,applyTerrainMatrix:!0}),f=e.style.map.terrain.getTerrainData(a);p.draw(s,n.TRIANGLES,oi.disabled,l,c,ii.disabled,Ji(i,e.transform.zoom,o.paint.get("heatmap-intensity"),1),f,m,o.id,h.layoutVertexBuffer,h.indexBuffer,h.segments,o.paint,e.transform.zoom,_);}function ba(e,t,i,o,a){const r=e.context,s=r.gl,n=e.transform;r.setColorMode(e.colorModeForRenderPass());const l=wa(r,t),c=i.key,h=t.heatmapFbos.get(c);if(!h)return;r.activeTexture.set(s.TEXTURE0),s.bindTexture(s.TEXTURE_2D,h.colorAttachment.get()),r.activeTexture.set(s.TEXTURE1),l.bind(s.LINEAR,s.CLAMP_TO_EDGE);const u=n.getProjectionData({overscaledTileID:i,applyTerrainMatrix:a,applyGlobeMatrix:!o});e.useProgram("heatmapTexture").draw(r,s.TRIANGLES,oi.disabled,ri.disabled,e.colorModeForRenderPass(),ii.disabled,eo(e,t,0,1),null,u,t.id,e.rasterBoundsBuffer,e.quadTriangleIndexBuffer,e.rasterBoundsSegments,t.paint,n.zoom),h.destroy(),t.heatmapFbos.delete(c);}function ya(e,t,i){var o,a;const r=e.gl,s=r.createTexture();r.bindTexture(r.TEXTURE_2D,s),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,r.CLAMP_TO_EDGE),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_T,r.CLAMP_TO_EDGE),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MIN_FILTER,r.LINEAR),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MAG_FILTER,r.LINEAR);const n=null!==(o=e.HALF_FLOAT)&&void 0!==o?o:r.UNSIGNED_BYTE,l=null!==(a=e.RGBA16F)&&void 0!==a?a:r.RGBA;r.texImage2D(r.TEXTURE_2D,0,l,t,i,0,r.RGBA,n,null);const c=e.createFramebuffer(t,i,!1,!1);return c.colorAttachment.set(s),c}function wa(e,i){return i.colorRampTexture||(i.colorRampTexture=new t.T(e,i.colorRamp,e.gl.RGBA)),i.colorRampTexture}function Ta(e,i,o,a,r,s,n,l){let c=256;if(r.stepInterpolant){const a=i.getSource().maxzoom,r=n.canonical.z===a?Math.ceil(1<e.options.anisotropicFilterPitch&&_.texParameterf(_.TEXTURE_2D,d.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,d.extTextureFilterAnisotropicMax);const S=null===(h=e.style.map.terrain)||void 0===h?void 0:h.getTerrainData(T),z=m.getProjectionData({overscaledTileID:T,aligned:v,applyGlobeMatrix:!c,applyTerrainMatrix:!0}),R=_o(I,M,E.fadeMix,i,n),D=f.getMeshFromTileID(d,T.canonical,r,s,"raster");p.draw(d,_.TRIANGLES,o,a?a[T.overscaledZ]:ri.disabled,g,l?ii.frontCCW:ii.backCCW,R,S,z,i.id,D.vertexBuffer,D.indexBuffer,D.segments);}}function ka(e,i,o,a){const r={parentTile:null,parentScaleBy:1,parentTopLeft:[0,0],fadeValues:{tileOpacity:1,parentTileOpacity:1,fadeMix:{opacity:1,mix:0}}};if(0===o||a)return r;if(e.fadingParentID){const a=i.getLoadedTile(e.fadingParentID);if(!a)return r;const s=Math.pow(2,a.tileID.overscaledZ-e.tileID.overscaledZ),n=[e.tileID.canonical.x*s%1,e.tileID.canonical.y*s%1],l=function(e,i,o){const a=c(),r=(a-i.timeAdded)/o,s=e.fadingDirection===ue.Incoming,n=t.al((a-e.timeAdded)/o,0,1),l=t.al(1-r,0,1),h=s?n:l;return {tileOpacity:h,parentTileOpacity:s?l:n,fadeMix:{opacity:1,mix:1-h}}}(e,a,o);return {parentTile:a,parentScaleBy:s,parentTopLeft:n,fadeValues:l}}if(e.selfFading){const i=function(e,i){const o=(c()-e.timeAdded)/i,a=t.al(o,0,1);return {tileOpacity:a,fadeMix:{opacity:a,mix:0}}}(e,o);return {parentTile:null,parentScaleBy:1,parentTopLeft:[0,0],fadeValues:i}}return r}const Ba=new t.bo(1,0,0,1),Oa=new t.bo(0,1,0,1),ja=new t.bo(0,0,1,1),Na=new t.bo(1,0,1,1),Za=new t.bo(0,1,1,1);function Ua(e,t,i,o){Va(e,0,t+i/2,e.transform.width,i,o);}function Ga(e,t,i,o){Va(e,t-i/2,0,i,e.transform.height,o);}function Va(e,t,i,o,a,r){const s=e.context,n=s.gl;n.enable(n.SCISSOR_TEST),n.scissor(t*e.pixelRatio,i*e.pixelRatio,o*e.pixelRatio,a*e.pixelRatio),s.clear({color:r}),n.disable(n.SCISSOR_TEST);}function Wa(e,i,o){var a;const r=e.context,s=r.gl,n=e.useProgram("debug"),l=oi.disabled,c=ri.disabled,h=e.colorModeForRenderPass(),u="$debug",d=null===(a=e.style.map.terrain)||void 0===a?void 0:a.getTerrainData(o);r.activeTexture.set(s.TEXTURE0);const _=i.getTileByID(o.key).latestRawTileData,p=Math.floor(((null==_?void 0:_.byteLength)||0)/1024),m=i.getTile(o).tileSize,f=512/Math.min(m,512)*(o.overscaledZ/e.transform.zoom)*.5;let g=o.canonical.toString();o.overscaledZ!==o.canonical.z&&(g+=` => ${o.overscaledZ}`),function(e,t){e.initDebugOverlayCanvas();const i=e.debugOverlayCanvas,o=e.context.gl,a=e.debugOverlayCanvas.getContext("2d");a.clearRect(0,0,i.width,i.height),a.shadowColor="white",a.shadowBlur=2,a.lineWidth=1.5,a.strokeStyle="white",a.textBaseline="top",a.font="bold 36px Open Sans, sans-serif",a.fillText(t,5,5),a.strokeText(t,5,5),e.debugOverlayTexture.update(i),e.debugOverlayTexture.bind(o.LINEAR,o.CLAMP_TO_EDGE);}(e,`${g} ${p}kB`);const v=e.transform.getProjectionData({overscaledTileID:o,applyGlobeMatrix:!0,applyTerrainMatrix:!0});n.draw(r,s.TRIANGLES,l,c,ei.alphaBlended,ii.disabled,Qi(t.bo.transparent,f),null,v,u,e.debugBuffer,e.quadTriangleIndexBuffer,e.debugSegments),n.draw(r,s.LINE_STRIP,l,c,h,ii.disabled,Qi(t.bo.red),d,v,u,e.debugBuffer,e.tileBorderIndexBuffer,e.debugSegments);}function qa(e,t,i,o){const{isRenderingGlobe:a}=o,r=e.context,s=r.gl,n=e.transform,l=e.colorModeForRenderPass(),c=e.getDepthModeFor3D(),h=e.useProgram("terrain");r.bindFramebuffer.set(null),r.viewport.set([0,0,e.width,e.height]);for(const o of i){const i=t.getTerrainMesh(o.tileID),u=e.renderToTexture.getTexture(o),d=t.getTerrainData(o.tileID);r.activeTexture.set(s.TEXTURE0),s.bindTexture(s.TEXTURE_2D,u.texture);const _=t.getMeshFrameDelta(n.zoom),p=n.calculateFogMatrix(o.tileID.toUnwrapped()),m=ji(_,p,e.style.sky,n.pitch,a),f=n.getProjectionData({overscaledTileID:o.tileID,applyTerrainMatrix:!1,applyGlobeMatrix:!0});h.draw(r,s.TRIANGLES,c,ri.disabled,l,ii.backCCW,m,d,f,"terrain",i.vertexBuffer,i.indexBuffer,i.segments);}}function $a(e,i){if(!i.mesh){const o=new t.aU;o.emplaceBack(-1,-1),o.emplaceBack(1,-1),o.emplaceBack(1,1),o.emplaceBack(-1,1);const a=new t.aW;a.emplaceBack(0,1,2),a.emplaceBack(0,2,3),i.mesh=new Bt(e.createVertexBuffer(o,Ot.members),e.createIndexBuffer(a),t.aV.simpleSegment(0,0,o.length,a.length));}return i.mesh}const Ha={symbol:function(e,i,o,a,r,s){if("translucent"!==e.renderPass)return;const{isRenderingToTexture:n}=s,l=ri.disabled,c=e.colorModeForRenderPass();(o._unevaluatedLayout.hasValue("text-variable-anchor")||o._unevaluatedLayout.hasValue("text-variable-anchor-offset"))&&function(e,i,o,a,r,s,n,l,c){var h;const u=i.transform,d=i.style.map.terrain,_="map"===r,p="map"===s;for(const r of e){const e=a.getTile(r),s=e.getBucket(o);if(!(null===(h=null==s?void 0:s.text)||void 0===h?void 0:h.segments.get().length))continue;const m=t.aw(s.textSizeData,u.zoom),f=t.aK(e,1,i.transform.zoom),g=Ze(_,i.transform,f),v="none"!==o.layout.get("icon-text-fit")&&s.hasIconData();if(m){const i=Math.pow(2,u.zoom-e.tileID.overscaledZ),o=d?(e,t)=>d.getElevation(r,e,t):null;ma(s,_,p,c,u,g,i,m,v,t.aL(u,e,n,l),r.toUnwrapped(),o);}}}(a,e,o,i,o.layout.get("text-rotation-alignment"),o.layout.get("text-pitch-alignment"),o.paint.get("text-translate"),o.paint.get("text-translate-anchor"),r),0!==o.paint.get("icon-opacity").constantOr(1)&&ga(e,i,o,a,!1,o.paint.get("icon-translate"),o.paint.get("icon-translate-anchor"),o.layout.get("icon-rotation-alignment"),o.layout.get("icon-pitch-alignment"),o.layout.get("icon-keep-upright"),l,c,n),0!==o.paint.get("text-opacity").constantOr(1)&&ga(e,i,o,a,!0,o.paint.get("text-translate"),o.paint.get("text-translate-anchor"),o.layout.get("text-rotation-alignment"),o.layout.get("text-pitch-alignment"),o.layout.get("text-keep-upright"),l,c,n),i.map.showCollisionBoxes&&(ua(e,i,o,a,!0),ua(e,i,o,a,!1));},circle:function(e,i,o,a,r){var s;if("translucent"!==e.renderPass)return;const{isRenderingToTexture:n}=r,l=o.paint.get("circle-opacity"),c=o.paint.get("circle-stroke-width"),h=o.paint.get("circle-stroke-opacity"),u=!o.layout.get("circle-sort-key").isConstant();if(0===l.constantOr(1)&&(0===c.constantOr(1)||0===h.constantOr(1)))return;const d=e.context,_=d.gl,p=e.transform,m=e.getDepthModeForSublayer(0,oi.ReadOnly),f=ri.disabled,g=e.colorModeForRenderPass(),v=[],x=p.getCircleRadiusCorrection();for(const r of a){const a=i.getTile(r),l=a.getBucket(o);if(!l)continue;const c=o.paint.get("circle-translate"),h=o.paint.get("circle-translate-anchor"),d=t.aL(p,a,c,h),_=l.programConfigurations.get(o.id),m=e.useProgram("circle",_),f=l.layoutVertexBuffer,g=l.indexBuffer,b=null===(s=e.style.map.terrain)||void 0===s?void 0:s.getTerrainData(r),y={programConfiguration:_,program:m,layoutVertexBuffer:f,indexBuffer:g,uniformValues:Xi(e,a,o,d,x),terrainData:b,projectionData:p.getProjectionData({overscaledTileID:r,applyGlobeMatrix:!n,applyTerrainMatrix:!0})};if(u){const e=l.segments.get();for(const i of e)v.push({segments:new t.aV([i]),sortKey:i.sortKey,state:y});}else v.push({segments:l.segments,sortKey:0,state:y});}u&&v.sort(((e,t)=>e.sortKey-t.sortKey));for(const t of v){const{programConfiguration:i,program:a,layoutVertexBuffer:r,indexBuffer:s,uniformValues:n,terrainData:l,projectionData:c}=t.state;a.draw(d,_.TRIANGLES,m,f,g,ii.backCCW,n,l,c,o.id,r,s,t.segments,o.paint,e.transform.zoom,i);}},heatmap:function(e,i,o,a,r){if(0===o.paint.get("heatmap-opacity"))return;const s=e.context,{isRenderingToTexture:n,isRenderingGlobe:l}=r;if(e.style.map.terrain){for(const t of a){const a=i.getTile(t);i.hasRenderableParent(t)||("offscreen"===e.renderPass?xa(e,a,o,t,l):"translucent"===e.renderPass&&ba(e,o,t,n,l));}s.viewport.set([0,0,e.width,e.height]);}else "offscreen"===e.renderPass?function(e,i,o,a){const r=e.context,s=r.gl,n=e.transform,l=ri.disabled,c=new ei([s.ONE,s.ONE],t.bo.transparent,[!0,!0,!0,!0]);((function(e,i,o){const a=e.gl;e.activeTexture.set(a.TEXTURE1),e.viewport.set([0,0,i.width/4,i.height/4]);let r=o.heatmapFbos.get(t.cd);r?(a.bindTexture(a.TEXTURE_2D,r.colorAttachment.get()),e.bindFramebuffer.set(r.framebuffer)):(r=ya(e,i.width/4,i.height/4),o.heatmapFbos.set(t.cd,r));}))(r,e,o),r.clear({color:t.bo.transparent});for(const t of a){if(i.hasRenderableParent(t))continue;const a=i.getTile(t),h=a.getBucket(o);if(!h)continue;const u=h.programConfigurations.get(o.id),d=e.useProgram("heatmap",u),_=n.getProjectionData({overscaledTileID:t,applyGlobeMatrix:!0,applyTerrainMatrix:!1}),p=n.getCircleRadiusCorrection();d.draw(r,s.TRIANGLES,oi.disabled,l,c,ii.backCCW,Ji(a,n.zoom,o.paint.get("heatmap-intensity"),p),null,_,o.id,h.layoutVertexBuffer,h.indexBuffer,h.segments,o.paint,n.zoom,u);}r.viewport.set([0,0,e.width,e.height]);}(e,i,o,a):"translucent"===e.renderPass&&function(e,i){const o=e.context,a=o.gl;o.setColorMode(e.colorModeForRenderPass());const r=i.heatmapFbos.get(t.cd);r&&(o.activeTexture.set(a.TEXTURE0),a.bindTexture(a.TEXTURE_2D,r.colorAttachment.get()),o.activeTexture.set(a.TEXTURE1),wa(o,i).bind(a.LINEAR,a.CLAMP_TO_EDGE),e.useProgram("heatmapTexture").draw(o,a.TRIANGLES,oi.disabled,ri.disabled,e.colorModeForRenderPass(),ii.disabled,eo(e,i,0,1),null,null,i.id,e.viewportBuffer,e.quadTriangleIndexBuffer,e.viewportSegments,i.paint,e.transform.zoom));}(e,o);},line:function(e,t,i,o,a){var r;if("translucent"!==e.renderPass)return;const{isRenderingToTexture:s}=a,n=i.paint.get("line-opacity"),l=i.paint.get("line-width");if(0===n.constantOr(1)||0===l.constantOr(1))return;const c=e.getDepthModeForSublayer(0,oi.ReadOnly),h=e.colorModeForRenderPass(),u=i.paint.get("line-dasharray"),d=u.constantOr(1),_=i.paint.get("line-pattern"),p=_.constantOr(1),m=i.paint.get("line-gradient"),f=i.getCrossfadeParameters();let g;g=p?"linePattern":d&&m?"lineGradientSDF":d?"lineSDF":m?"lineGradient":"line";const v=e.context,x=v.gl,b=e.transform;let y=!0;for(const a of o){const o=t.getTile(a);if(p&&!o.patternsLoaded())continue;const n=o.getBucket(i);if(!n)continue;const l=n.programConfigurations.get(i.id),w=e.context.program.get(),T=e.useProgram(g,l),P=y||T.program!==w,C=null===(r=e.style.map.terrain)||void 0===r?void 0:r.getTerrainData(a),M=_.constantOr(null),I=null==u?void 0:u.constantOr(null);if(M&&o.imageAtlas){const e=o.imageAtlas,t=e.patternPositions[M.to.toString()],i=e.patternPositions[M.from.toString()];t&&i&&l.setConstantPatternPositions(t,i);}else if(I){const t="round"===i.layout.get("line-cap").constantOr(null),o=e.lineAtlas.getDash(I.to,t),a=e.lineAtlas.getDash(I.from,t);l.setConstantDashPositions(o,a);}const E=b.getProjectionData({overscaledTileID:a,applyGlobeMatrix:!s,applyTerrainMatrix:!0}),S=b.getPixelScale();let z;p?(z=no(e,o,i,S,f),Pa(v,x,o,l,f)):d&&m?(z=co(e,o,i,S,f,n.lineClipsArray.length),Ia(e,t,v,x,i,n,a,l,f)):d?(z=lo(e,o,i,S,f),Ca(e,v,x,l,P,f)):m?(z=so(e,o,i,S,n.lineClipsArray.length),Ma(e,t,v,x,i,n,a)):z=ro(e,o,i,S);const R=e.stencilModeForClipping(a);T.draw(v,x.TRIANGLES,c,R,h,ii.disabled,z,C,E,i.id,n.layoutVertexBuffer,n.indexBuffer,n.segments,i.paint,e.transform.zoom,l,n.layoutVertexBuffer2),y=!1;}},fill:function(e,i,o,a,r){const s=o.paint.get("fill-color"),n=o.paint.get("fill-opacity");if(0===n.constantOr(1))return;const{isRenderingToTexture:l}=r,c=e.colorModeForRenderPass(),h=o.paint.get("fill-pattern"),u=e.opaquePassEnabledForLayer()&&!h.constantOr(1)&&1===s.constantOr(t.bo.transparent).a&&1===n.constantOr(0)?"opaque":"translucent";if(e.renderPass===u){const t=e.getDepthModeForSublayer(1,"opaque"===e.renderPass?oi.ReadWrite:oi.ReadOnly);Sa(e,i,o,a,t,c,!1,l);}if("translucent"===e.renderPass&&o.paint.get("fill-antialias")){const t=e.getDepthModeForSublayer(o.getPaintProperty("fill-outline-color")?2:0,oi.ReadOnly);Sa(e,i,o,a,t,c,!0,l);}},fillExtrusion:function(e,t,i,o,a){const r=i.paint.get("fill-extrusion-opacity");if(0===r)return;const{isRenderingToTexture:s}=a;if("translucent"===e.renderPass){const a=new oi(e.context.gl.LEQUAL,oi.ReadWrite,e.depthRangeFor3D);if(1!==r||i.paint.get("fill-extrusion-pattern").constantOr(1))za(e,t,i,o,a,ri.disabled,ei.disabled,s),za(e,t,i,o,a,e.stencilModeFor3D(),e.colorModeForRenderPass(),s);else {const r=e.colorModeForRenderPass();za(e,t,i,o,a,ri.disabled,r,s);}}},hillshade:function(e,i,o,a,r){if("offscreen"!==e.renderPass&&"translucent"!==e.renderPass)return;const{isRenderingToTexture:s}=r,n=e.context,l=e.style.projection.useSubdivision,c=e.getDepthModeForSublayer(0,oi.ReadOnly),h=e.colorModeForRenderPass();if("offscreen"===e.renderPass)!function(e,i,o,a,r,s,n){const l=e.context,c=l.gl,h="nearest"===a.paint.get("resampling")?c.NEAREST:c.LINEAR;for(const u of o){const o=i.getTile(u),d=o.dem;if(!(null==d?void 0:d.data))continue;if(!o.needsHillshadePrepare)continue;const _=d.dim,p=d.stride,m=d.getPixels();if(l.activeTexture.set(c.TEXTURE1),l.pixelStoreUnpackPremultiplyAlpha.set(!1),o.demTexture||(o.demTexture=e.getTileTexture(p)),o.demTexture){const e=o.demTexture;e.update(m,{premultiply:!1}),e.bind(c.NEAREST,c.CLAMP_TO_EDGE);}else o.demTexture=new t.T(l,m,c.RGBA,{premultiply:!1}),o.demTexture.bind(c.NEAREST,c.CLAMP_TO_EDGE);l.activeTexture.set(c.TEXTURE0);let f=o.fbo;if(!f){const e=new t.T(l,{width:_,height:_,data:null},c.RGBA);e.bind(h,c.CLAMP_TO_EDGE),f=o.fbo=l.createFramebuffer(_,_,!0,!1),f.colorAttachment.set(e.texture);}l.bindFramebuffer.set(f.framebuffer),l.viewport.set([0,0,_,_]),e.useProgram("hillshadePrepare").draw(l,c.TRIANGLES,r,s,n,ii.disabled,io(o.tileID,d),null,null,a.id,e.rasterBoundsBuffer,e.quadTriangleIndexBuffer,e.rasterBoundsSegments),o.needsHillshadePrepare=!1;}}(e,i,a,o,c,ri.disabled,h),n.viewport.set([0,0,e.width,e.height]);else if("translucent"===e.renderPass)if(l){const[t,r,n]=e.stencilConfigForOverlapTwoPass(a);Ra(e,i,o,n,t,c,h,!1,s),Ra(e,i,o,n,r,c,h,!0,s);}else {const[t,r]=e.getStencilConfigForOverlapAndUpdateStencilID(a);Ra(e,i,o,r,t,c,h,!1,s);}},colorRelief:function(e,t,i,o,a){if("translucent"!==e.renderPass)return;if(!o.length)return;const{isRenderingToTexture:r}=a,s=e.style.projection.useSubdivision,n=e.getDepthModeForSublayer(0,oi.ReadOnly),l=e.colorModeForRenderPass();if(s){const[a,s,c]=e.stencilConfigForOverlapTwoPass(o);Aa(e,t,i,c,a,n,l,!1,r),Aa(e,t,i,c,s,n,l,!0,r);}else {const[a,s]=e.getStencilConfigForOverlapAndUpdateStencilID(o);Aa(e,t,i,s,a,n,l,!1,r);}},raster:function(e,t,i,o,a){if("translucent"!==e.renderPass)return;if(0===i.paint.get("raster-opacity"))return;if(!o.length)return;const{isRenderingToTexture:r}=a,s=t.getSource(),n=e.style.projection.useSubdivision;if(s instanceof te)Fa(e,t,i,o,null,!1,!1,s.tileCoords,s.flippedWindingOrder,r);else if(n){const[a,s,n]=e.stencilConfigForOverlapTwoPass(o);Fa(e,t,i,n,a,!1,!0,La,!1,r),Fa(e,t,i,n,s,!0,!0,La,!1,r);}else {const[a,s]=e.getStencilConfigForOverlapAndUpdateStencilID(o);Fa(e,t,i,s,a,!1,!0,La,!1,r);}},background:function(e,t,i,o,a){var r;const s=i.paint.get("background-color"),n=i.paint.get("background-opacity");if(0===n)return;const{isRenderingToTexture:l}=a,c=e.context,h=c.gl,u=e.style.projection,d=e.transform,_=d.tileSize,p=i.paint.get("background-pattern");if(e.isPatternMissing(p))return;const m=!p&&1===s.a&&1===n&&e.opaquePassEnabledForLayer()?"opaque":"translucent";if(e.renderPass!==m)return;const f=ri.disabled,g=e.getDepthModeForSublayer(0,"opaque"===m?oi.ReadWrite:oi.ReadOnly),v=e.colorModeForRenderPass(),x=e.useProgram(p?"backgroundPattern":"background"),b=o||Me(d,{tileSize:_,terrain:e.style.map.terrain});p&&(c.activeTexture.set(h.TEXTURE0),e.imageManager.bind(e.context));const y=i.getCrossfadeParameters();for(const t of b){const o=d.getProjectionData({overscaledTileID:t,applyGlobeMatrix:!l,applyTerrainMatrix:!0}),a=p?xo(n,e,p,{tileID:t,tileSize:_},y):vo(n,s),m=null===(r=e.style.map.terrain)||void 0===r?void 0:r.getTerrainData(t),b=u.getMeshFromTileID(c,t.canonical,!1,!0,"raster");x.draw(c,h.TRIANGLES,g,f,v,ii.backCCW,a,m,o,i.id,b.vertexBuffer,b.indexBuffer,b.segments);}},sky:function(e,t){const i=e.context,o=i.gl,a=((e,t,i)=>{const o=Math.cos(t.rollInRadians),a=Math.sin(t.rollInRadians),r=ge(t),s=t.getProjectionData({overscaledTileID:null,applyGlobeMatrix:!0,applyTerrainMatrix:!0}).projectionTransition;return {u_sky_color:e.properties.get("sky-color"),u_horizon_color:e.properties.get("horizon-color"),u_horizon:[(t.width/2-r*a)*i,(t.height/2+r*o)*i],u_horizon_normal:[-a,o],u_sky_horizon_blend:e.properties.get("sky-horizon-blend")*t.height/2*i,u_sky_blend:s}})(t,e.style.map.transform,e.pixelRatio),r=new oi(o.LEQUAL,oi.ReadWrite,[0,1]),s=ri.disabled,n=e.colorModeForRenderPass(),l=e.useProgram("sky"),c=$a(i,t);l.draw(i,o.TRIANGLES,r,s,n,ii.disabled,a,null,void 0,"sky",c.vertexBuffer,c.indexBuffer,c.segments);},atmosphere:function(e,i,o){const a=e.context,r=a.gl,s=e.useProgram("atmosphere"),n=new oi(r.LEQUAL,oi.ReadOnly,[0,1]),l=e.transform,c=function(e,i){const o=e.properties.get("position"),a=[-o.x,-o.y,-o.z],r=t.ap(new Float64Array(16));return "map"===e.properties.get("anchor")&&(t.be(r,r,i.rollInRadians),t.bf(r,r,-i.pitchInRadians),t.be(r,r,i.bearingInRadians),t.bf(r,r,i.center.lat*Math.PI/180),t.bI(r,r,-i.center.lng*Math.PI/180)),t.cg(a,a,r),a}(o,e.transform),h=l.getProjectionData({overscaledTileID:null,applyGlobeMatrix:!0,applyTerrainMatrix:!0}),u=i.properties.get("atmosphere-blend")*h.projectionTransition;if(0===u)return;const d=gi(l.worldSize,l.center.lat),_=l.inverseProjectionMatrix,p=new Float64Array(4);p[3]=1,t.aE(p,p,l.modelViewProjectionMatrix),p[0]/=p[3],p[1]/=p[3],p[2]/=p[3],p[3]=1,t.aE(p,p,_),p[0]/=p[3],p[1]/=p[3],p[2]/=p[3],p[3]=1;const m=((e,t,i,o,a)=>({u_sun_pos:e,u_atmosphere_blend:t,u_globe_position:i,u_globe_radius:o,u_inv_proj_matrix:a}))(c,u,[p[0],p[1],p[2]],d,_),f=$a(a,i);s.draw(a,r.TRIANGLES,n,ri.disabled,ei.alphaBlended,ii.disabled,m,null,null,"atmosphere",f.vertexBuffer,f.indexBuffer,f.segments);},custom:function(e,t,i,o){const{isRenderingGlobe:a}=o,r=e.context,s=i.implementation,n=e.style.projection,l=e.transform,c=l.getProjectionDataForCustomLayer(a),h={farZ:l.farZ,nearZ:l.nearZ,fov:l.fov*Math.PI/180,modelViewProjectionMatrix:l.modelViewProjectionMatrix,projectionMatrix:l.projectionMatrix,shaderData:{variantName:n.shaderVariantName,vertexShaderPrelude:`const float PI = 3.141592653589793;\nuniform mat4 u_projection_matrix;\n${n.shaderPreludeCode.vertexSource}`,define:n.shaderDefine},defaultProjectionData:c},u=s.renderingMode?s.renderingMode:"2d";if("offscreen"===e.renderPass){const t=s.prerender;t&&(e.setCustomLayerDefaults(),r.setColorMode(e.colorModeForRenderPass()),t.call(s,r.gl,h),r.setDirty(),e.setBaseState());}else if("translucent"===e.renderPass){e.setCustomLayerDefaults(),r.setColorMode(e.colorModeForRenderPass()),r.setStencilMode(ri.disabled);const t="3d"===u?e.getDepthModeFor3D():e.getDepthModeForSublayer(0,oi.ReadOnly);r.setDepthMode(t),s.render(r.gl,h),r.setDirty(),e.setBaseState(),r.bindFramebuffer.set(null);}},debug:function(e,t,i){for(const o of i)Wa(e,t,o);},debugPadding:function(e){const t=e.transform.padding;Ua(e,e.transform.height-(t.top||0),3,Ba),Ua(e,t.bottom||0,3,Oa),Ga(e,t.left||0,3,ja),Ga(e,e.transform.width-(t.right||0),3,Na);const i=e.transform.centerPoint;!function(e,t,i,o){Va(e,t-1,i-10,2,20,o),Va(e,t-10,i-1,20,2,o);}(e,i.x,e.transform.height-i.y,Za);},terrainDepth:function(e,i){const o=e.context,a=o.gl,r=e.transform,s=ei.unblended,n=new oi(a.LEQUAL,oi.ReadWrite,[0,1]),l=i.tileManager.getRenderableTiles(),c=e.useProgram("terrainDepth");o.bindFramebuffer.set(i.getFramebuffer("depth").framebuffer),o.viewport.set([0,0,e.width/devicePixelRatio,e.height/devicePixelRatio]),o.clear({color:t.bo.transparent,depth:1});for(const e of l){const t=i.getTerrainMesh(e.tileID),l=i.getTerrainData(e.tileID),h=r.getProjectionData({overscaledTileID:e.tileID,applyTerrainMatrix:!1,applyGlobeMatrix:!0}),u={u_ele_delta:i.getMeshFrameDelta(r.zoom)};c.draw(o,a.TRIANGLES,n,ri.disabled,s,ii.backCCW,u,l,h,"terrain",t.vertexBuffer,t.indexBuffer,t.segments);}o.bindFramebuffer.set(null),o.viewport.set([0,0,e.width,e.height]);},terrainCoords:function(e,i){const o=e.context,a=o.gl,r=e.transform,s=ei.unblended,n=new oi(a.LEQUAL,oi.ReadWrite,[0,1]),l=i.getCoordsTexture(),c=i.tileManager.getRenderableTiles(),h=e.useProgram("terrainCoords");o.bindFramebuffer.set(i.getFramebuffer("coords").framebuffer),o.viewport.set([0,0,e.width/devicePixelRatio,e.height/devicePixelRatio]),o.clear({color:t.bo.transparent,depth:1}),i.coordsIndex=[];for(const e of c){const t=i.getTerrainMesh(e.tileID),c=i.getTerrainData(e.tileID);o.activeTexture.set(a.TEXTURE0),a.bindTexture(a.TEXTURE_2D,l.texture);const u={u_terrain_coords_id:(255-i.coordsIndex.length)/255,u_texture:0,u_ele_delta:i.getMeshFrameDelta(r.zoom)},d=r.getProjectionData({overscaledTileID:e.tileID,applyTerrainMatrix:!1,applyGlobeMatrix:!0});h.draw(o,a.TRIANGLES,n,ri.disabled,s,ii.backCCW,u,c,d,"terrain",t.vertexBuffer,t.indexBuffer,t.segments),i.coordsIndex.push(e.tileID.key);}o.bindFramebuffer.set(null),o.viewport.set([0,0,e.width,e.height]);}};class Xa{constructor(e,i){this.drawFunctions=Ha,this.context=new ca(e),this.transform=i,this._tileTextures={},this.terrainFacilitator={depthDirty:!0,coordsDirty:!1,matrix:t.ap(new Float64Array(16)),renderTime:0},this.setup(),this.numSublayers=Fe.maxOverzooming+Fe.maxUnderzooming+1,this.depthEpsilon=1/Math.pow(2,16),this.crossTileSymbolIndex=new At;}resize(e,t,i){if(this.width=Math.floor(e*i),this.height=Math.floor(t*i),this.pixelRatio=i,this.context.viewport.set([0,0,this.width,this.height]),this.style)for(const e of this.style._order)this.style._layers[e].resize();}setup(){const e=this.context,i=new t.aU;i.emplaceBack(0,0),i.emplaceBack(t.a6,0),i.emplaceBack(0,t.a6),i.emplaceBack(t.a6,t.a6),this.tileExtentBuffer=e.createVertexBuffer(i,Ot.members),this.tileExtentSegments=t.aV.simpleSegment(0,0,4,2);const o=new t.aU;o.emplaceBack(0,0),o.emplaceBack(t.a6,0),o.emplaceBack(0,t.a6),o.emplaceBack(t.a6,t.a6),this.debugBuffer=e.createVertexBuffer(o,Ot.members),this.debugSegments=t.aV.simpleSegment(0,0,4,5);const a=new t.ch;a.emplaceBack(0,0,0,0),a.emplaceBack(t.a6,0,t.a6,0),a.emplaceBack(0,t.a6,0,t.a6),a.emplaceBack(t.a6,t.a6,t.a6,t.a6),this.rasterBoundsBuffer=e.createVertexBuffer(a,Bi.members),this.rasterBoundsSegments=t.aV.simpleSegment(0,0,4,2);const r=new t.aU;r.emplaceBack(0,0),r.emplaceBack(t.a6,0),r.emplaceBack(0,t.a6),r.emplaceBack(t.a6,t.a6),this.rasterBoundsBufferPosOnly=e.createVertexBuffer(r,Ot.members),this.rasterBoundsSegmentsPosOnly=t.aV.simpleSegment(0,0,4,5);const s=new t.aU;s.emplaceBack(0,0),s.emplaceBack(1,0),s.emplaceBack(0,1),s.emplaceBack(1,1),this.viewportBuffer=e.createVertexBuffer(s,Ot.members),this.viewportSegments=t.aV.simpleSegment(0,0,4,2);const n=new t.ci;n.emplaceBack(0),n.emplaceBack(1),n.emplaceBack(3),n.emplaceBack(2),n.emplaceBack(0),this.tileBorderIndexBuffer=e.createIndexBuffer(n);const l=new t.aW;l.emplaceBack(1,0,2),l.emplaceBack(1,2,3),this.quadTriangleIndexBuffer=e.createIndexBuffer(l);const c=this.context.gl;this.stencilClearMode=new ri({func:c.ALWAYS,mask:0},0,255,c.ZERO,c.ZERO,c.ZERO),this.tileExtentMesh=new Bt(this.tileExtentBuffer,this.quadTriangleIndexBuffer,this.tileExtentSegments);}clearStencil(){const e=this.context,i=e.gl;this.nextStencilID=1,this.currentStencilSource=void 0;const o=t.O();t.c7(o,0,this.width,this.height,0,0,1),t.S(o,o,[i.drawingBufferWidth,i.drawingBufferHeight,0]);const a={mainMatrix:o,tileMercatorCoords:[0,0,1,1],clippingPlane:[0,0,0,0],projectionTransition:0,fallbackMatrix:o};this.useProgram("clippingMask",null,!0).draw(e,i.TRIANGLES,oi.disabled,this.stencilClearMode,ei.disabled,ii.disabled,null,null,a,"$clipping",this.viewportBuffer,this.quadTriangleIndexBuffer,this.viewportSegments);}_renderTileClippingMasks(e,t,i){if(this.currentStencilSource===e.source||!e.isTileClipped()||!(null==t?void 0:t.length))return;this.currentStencilSource=e.source,this.nextStencilID+t.length>256&&this.clearStencil();const o=this.context;o.setColorMode(ei.disabled),o.setDepthMode(oi.disabled);const a={};for(const e of t)a[e.key]=this.nextStencilID++;this._renderTileMasks(a,t,i,!0),this._renderTileMasks(a,t,i,!1),this._tileClippingMaskIDs=a;}_renderTileMasks(e,t,i,o){var a;const r=this.context,s=r.gl,n=this.style.projection,l=this.transform,c=this.useProgram("clippingMask");for(const h of t){const t=e[h.key],u=null===(a=this.style.map.terrain)||void 0===a?void 0:a.getTerrainData(h),d=n.getMeshFromTileID(this.context,h.canonical,o,!0,"stencil"),_=l.getProjectionData({overscaledTileID:h,applyGlobeMatrix:!i,applyTerrainMatrix:!0});c.draw(r,s.TRIANGLES,oi.disabled,new ri({func:s.ALWAYS,mask:0},t,255,s.KEEP,s.KEEP,s.REPLACE),ei.disabled,i?ii.disabled:ii.backCCW,null,u,_,"$clipping",d.vertexBuffer,d.indexBuffer,d.segments);}}_renderTilesDepthBuffer(){var e;const t=this.context,i=t.gl,o=this.style.projection,a=this.transform,r=this.useProgram("depth"),s=this.getDepthModeFor3D(),n=Me(a,{tileSize:a.tileSize});for(const l of n){const n=null===(e=this.style.map.terrain)||void 0===e?void 0:e.getTerrainData(l),c=o.getMeshFromTileID(this.context,l.canonical,!0,!0,"raster"),h=a.getProjectionData({overscaledTileID:l,applyGlobeMatrix:!0,applyTerrainMatrix:!0});r.draw(t,i.TRIANGLES,s,ri.disabled,ei.disabled,ii.backCCW,null,n,h,"$clipping",c.vertexBuffer,c.indexBuffer,c.segments);}}stencilModeFor3D(){this.currentStencilSource=void 0,this.nextStencilID+1>256&&this.clearStencil();const e=this.nextStencilID++,t=this.context.gl;return new ri({func:t.NOTEQUAL,mask:255},e,255,t.KEEP,t.KEEP,t.REPLACE)}stencilModeForClipping(e){const t=this.context.gl;return new ri({func:t.EQUAL,mask:255},this._tileClippingMaskIDs[e.key],0,t.KEEP,t.KEEP,t.REPLACE)}getStencilConfigForOverlapAndUpdateStencilID(e){const t=this.context.gl,i=e.sort(((e,t)=>t.overscaledZ-e.overscaledZ)),o=i[i.length-1].overscaledZ,a=i[0].overscaledZ-o+1;if(a>1){this.currentStencilSource=void 0,this.nextStencilID+a>256&&this.clearStencil();const e={};for(let i=0;it.overscaledZ-e.overscaledZ)),o=i[i.length-1].overscaledZ,a=i[0].overscaledZ-o+1;if(this.clearStencil(),a>1){const e={},r={};for(let i=0;i0};for(const e in n){const t=n[e];t.used&&t.prepare(this.context),l[e]=t.getVisibleCoordinates(!1),h[e]=l[e].slice().reverse(),u[e]=t.getVisibleCoordinates(!0).reverse();}this.opaquePassCutoff=1/0;for(let e=0;ethis.useProgram(e)}),this.context.viewport.set([0,0,this.width,this.height]),this.context.bindFramebuffer.set(null),this.context.clear({color:i.showOverdrawInspector?t.bo.black:t.bo.transparent,depth:1}),this.clearStencil(),this.style.sky&&this.drawFunctions.sky(this,this.style.sky),this._showOverdrawInspector=i.showOverdrawInspector,this.depthRangeFor3D=[0,1-(e._order.length+2)*this.numSublayers*this.depthEpsilon],!this.renderToTexture)for(this.renderPass="opaque",this.currentLayer=s.length-1;this.currentLayer>=0;this.currentLayer--){const e=this.style._layers[s[this.currentLayer]],t=n[e.source],i=l[e.source];this._renderTileClippingMasks(e,i,!1),this.renderLayer(this,t,e,i,d);}this.renderPass="translucent";let _=!1;for(this.currentLayer=0;this.currentLayeri.source&&!i.isHidden(t)?[e.tileManagers[i.source]]:[])),a=o.filter((e=>"vector"===e.getSource().type)),r=o.filter((e=>"vector"!==e.getSource().type)),s=e=>{(!i||i.getSource().maxzoom0?t.pop():null}isPatternMissing(e){if(!e)return !1;if(!e.from||!e.to)return !0;const t=this.imageManager.getPattern(e.from.toString()),i=this.imageManager.getPattern(e.to.toString());return !t||!i}useProgram(e,t,i=!1,o=[]){var a;this.cache||(this.cache={});const r=!!this.style.map.terrain,s=this.style.projection,n=i?Ft.projectionMercator:s.shaderPreludeCode,l=i?jt:s.shaderDefine,c=e+(t?t.cacheKey:"")+`/${i?Nt:s.shaderVariantName}`+(this._showOverdrawInspector?"/overdraw":"")+(r?"/terrain":"")+(o?`/${o.join("/")}`:"");return (a=this.cache)[c]||(a[c]=new Ui(this.context,Ft[e],t,yo[e],this._showOverdrawInspector,r,n,l,o)),this.cache[c]}setCustomLayerDefaults(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault();}setBaseState(){const e=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(e.FUNC_ADD);}initDebugOverlayCanvas(){null==this.debugOverlayCanvas&&(this.debugOverlayCanvas=document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512,this.debugOverlayTexture=new t.T(this.context,this.debugOverlayCanvas,this.context.gl.RGBA));}destroy(){var e,t;if(this._tileTextures){for(const e in this._tileTextures){const t=this._tileTextures[e];if(t)for(const e of t)e.destroy();}this._tileTextures={};}if(this.tileExtentBuffer&&this.tileExtentBuffer.destroy(),this.debugBuffer&&this.debugBuffer.destroy(),this.rasterBoundsBuffer&&this.rasterBoundsBuffer.destroy(),this.rasterBoundsBufferPosOnly&&this.rasterBoundsBufferPosOnly.destroy(),this.viewportBuffer&&this.viewportBuffer.destroy(),this.tileBorderIndexBuffer&&this.tileBorderIndexBuffer.destroy(),this.quadTriangleIndexBuffer&&this.quadTriangleIndexBuffer.destroy(),this.tileExtentMesh&&(null===(e=this.tileExtentMesh.vertexBuffer)||void 0===e||e.destroy()),this.tileExtentMesh&&(null===(t=this.tileExtentMesh.indexBuffer)||void 0===t||t.destroy()),this.debugOverlayTexture&&this.debugOverlayTexture.destroy(),this.cache){for(const e in this.cache){const t=this.cache[e];(null==t?void 0:t.program)&&this.context.gl.deleteProgram(t.program);}this.cache={};}this.context&&this.context.setDefault();}overLimit(){const{drawingBufferWidth:e,drawingBufferHeight:t}=this.context.gl;return this.width!==e||this.height!==t}}function Ka(e,t){let i,o=!1,a=null;const r=()=>{a=null,o&&(e(...i),a=setTimeout(r,t),o=!1);};return (...e)=>(o=!0,i=e,a||r(),a)}Xa.MAX_TEXTURE_POOL_SIZE_PER_BUCKET=50;class Ya{constructor(e){this._getCurrentHash=()=>{const e=window.location.hash.replace("#","");if(this._hashName){let t;const i=e.split("&").map((e=>e.split("=")));for(const e of i)e[0]===this._hashName&&(t=e);return (t&&t[1]||"").split("/")}return e.split("/")},this._onHashChange=()=>{const e=this._getCurrentHash();if(!this._isValidHash(e))return !1;const t=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(e[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+e[2],+e[1]],zoom:+e[0],bearing:t,pitch:+(e[4]||0)}),!0},this._updateHashUnthrottled=()=>{const e=window.location.href.replace(/(#.*)?$/,this.getHashString());window.history.replaceState(window.history.state,null,e);},this._removeHash=()=>{const e=this._getCurrentHash();if(0===e.length)return;const t=e.join("/");let i=t;i.split("&").length>0&&(i=i.split("&")[0]),this._hashName&&(i=`${this._hashName}=${t}`);let o=window.location.hash.replace(i,"");o.startsWith("#&")?o=o.slice(0,1)+o.slice(2):"#"===o&&(o="");let a=window.location.href.replace(/(#.+)?$/,o);a=a.replace("&&","&"),window.history.replaceState(window.history.state,null,a);},this._updateHash=Ka(this._updateHashUnthrottled,300),this._hashName=e&&encodeURIComponent(e);}addTo(e){return this._map=e,addEventListener("hashchange",this._onHashChange,!1),this._map.on("moveend",this._updateHash),this}remove(){return removeEventListener("hashchange",this._onHashChange,!1),this._map.off("moveend",this._updateHash),clearTimeout(this._updateHash()),this._removeHash(),delete this._map,this}getHashString(e){const t=this._map.getCenter(),i=Math.round(100*this._map.getZoom())/100,o=Math.ceil((i*Math.LN2+Math.log(512/360/.5))/Math.LN10),a=Math.pow(10,o),r=Math.round(t.lng*a)/a,s=Math.round(t.lat*a)/a,n=this._map.getBearing(),l=this._map.getPitch();let c="";if(c+=e?`/${r}/${s}/${i}`:`${i}/${s}/${r}`,(n||l)&&(c+="/"+Math.round(10*n)/10),l&&(c+=`/${Math.round(l)}`),this._hashName){const e=this._hashName;let t=!1;const i=window.location.hash.slice(1).split("&").map((i=>{const o=i.split("=")[0];return o===e?(t=!0,`${o}=${c}`):i})).filter((e=>e));return t||i.push(`${e}=${c}`),`#${i.join("&")}`}return `#${c}`}_isValidHash(e){if(e.length<3||e.some(isNaN))return !1;try{new t.W(+e[2],+e[1]);}catch(e){return !1}const i=+e[0],o=+(e[3]||0),a=+(e[4]||0);return i>=this._map.getMinZoom()&&i<=this._map.getMaxZoom()&&o>=-180&&o<=180&&a>=this._map.getMinPitch()&&a<=this._map.getMaxPitch()}}const Qa={linearity:.3,easing:t.cv(0,0,.3,1)},Ja=t.e({deceleration:2500,maxSpeed:1400},Qa),er=t.e({deceleration:20,maxSpeed:1400},Qa),tr=t.e({deceleration:1e3,maxSpeed:360},Qa),ir=t.e({deceleration:1e3,maxSpeed:90},Qa),or=t.e({deceleration:1e3,maxSpeed:360},Qa);class ar{constructor(e){this._map=e,this.clear();}clear(){this._inertiaBuffer=[];}record(e){this._drainInertiaBuffer(),this._inertiaBuffer.push({time:c(),settings:e});}_drainInertiaBuffer(){const e=this._inertiaBuffer,t=c();for(;e.length>0&&t-e[0].time>160;)e.shift();}_onMoveEnd(e){if(this._drainInertiaBuffer(),this._inertiaBuffer.length<2)return;const i={zoom:0,bearing:0,pitch:0,roll:0,pan:new t.P(0,0),pinchAround:void 0,around:void 0};for(const{settings:e}of this._inertiaBuffer)i.zoom+=e.zoomDelta||0,i.bearing+=e.bearingDelta||0,i.pitch+=e.pitchDelta||0,i.roll+=e.rollDelta||0,e.panDelta&&i.pan._add(e.panDelta),e.around&&(i.around=e.around),e.pinchAround&&(i.pinchAround=e.pinchAround);const o=this._inertiaBuffer[this._inertiaBuffer.length-1].time-this._inertiaBuffer[0].time,a={};if(i.pan.mag()){const r=sr(i.pan.mag(),o,t.e({},Ja,e||{})),s=i.pan.mult(r.amount/i.pan.mag()),n=this._map.cameraHelper.handlePanInertia(s,this._map.transform);a.center=n.easingCenter,a.offset=n.easingOffset,rr(a,r);}if(i.zoom){const e=sr(i.zoom,o,er);a.zoom=t.cw(this._map.transform.zoom+e.amount,this._map.getZoomSnap(),e.amount),rr(a,e);}if(i.bearing){const e=sr(i.bearing,o,tr);a.bearing=this._map.transform.bearing+t.al(e.amount,-179,179),rr(a,e);}if(i.pitch){const e=sr(i.pitch,o,ir);a.pitch=this._map.transform.pitch+e.amount,rr(a,e);}if(i.roll){const e=sr(i.roll,o,or);a.roll=this._map.transform.roll+t.al(e.amount,-179,179),rr(a,e);}if(a.zoom||a.bearing){const e=void 0===i.pinchAround?i.around:i.pinchAround;a.around=e?this._map.unproject(e):this._map.getCenter();}return this.clear(),t.e(a,{noMoveStart:!0})}}function rr(e,t){(!e.duration||e.durationi.unproject(e))),n=r.reduce(((e,t,i,o)=>e.add(t.div(o.length))),new t.P(0,0));super(e,{points:r,point:n,lngLats:s,lngLat:i.unproject(n),originalEvent:o}),this._defaultPrevented=!1;}}class cr extends t.n{preventDefault(){this._defaultPrevented=!0;}get defaultPrevented(){return this._defaultPrevented}constructor(e,t,i){super(e,{originalEvent:i}),this._defaultPrevented=!1;}}class hr{constructor(e,t){this._map=e,this._clickTolerance=t.clickTolerance;}reset(){delete this._mousedownPos;}wheel(e){return this._firePreventable(new cr(e.type,this._map,e))}mousedown(e,t){return this._mousedownPos=t,this._firePreventable(new nr(e.type,this._map,e))}mouseup(e){this._map.fire(new nr(e.type,this._map,e));}click(e,t){this._mousedownPos&&this._mousedownPos.dist(t)>=this._clickTolerance||this._map.fire(new nr(e.type,this._map,e));}dblclick(e){return this._firePreventable(new nr(e.type,this._map,e))}mouseover(e){this._map.fire(new nr(e.type,this._map,e));}mouseout(e){this._map.fire(new nr(e.type,this._map,e));}touchstart(e){return this._firePreventable(new lr(e.type,this._map,e))}touchmove(e){this._map.fire(new lr(e.type,this._map,e));}touchend(e){this._map.fire(new lr(e.type,this._map,e));}touchcancel(e){this._map.fire(new lr(e.type,this._map,e));}_firePreventable(e){if(this._map.fire(e),e.defaultPrevented)return {}}isEnabled(){return !0}isActive(){return !1}enable(){}disable(){}}class ur{constructor(e){this._map=e;}reset(){this._delayContextMenu=!1,this._ignoreContextMenu=!0,delete this._contextMenuEvent;}mousemove(e){this._map.fire(new nr(e.type,this._map,e));}mousedown(){this._delayContextMenu=!0,this._ignoreContextMenu=!1;}mouseup(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new nr("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent);}contextmenu(e){this._delayContextMenu?this._contextMenuEvent=e:this._ignoreContextMenu||this._map.fire(new nr(e.type,this._map,e)),this._map.listens("contextmenu")&&e.preventDefault();}isEnabled(){return !0}isActive(){return !1}enable(){}disable(){}}class dr{constructor(e){this._map=e;}get transform(){return this._map._requestedCameraState||this._map.transform}get center(){return {lng:this.transform.center.lng,lat:this.transform.center.lat}}get zoom(){return this.transform.zoom}get pitch(){return this.transform.pitch}get bearing(){return this.transform.bearing}unproject(e){return this.transform.screenPointToLocation(t.P.convert(e),this._map.terrain)}}class _r{constructor(e,t){this._map=e,this._tr=new dr(e),this._el=e.getCanvasContainer(),this._container=e.getContainer(),this._clickTolerance=t.clickTolerance||1,t.boxZoom&&"object"==typeof t.boxZoom&&(this._boxZoomEnd=t.boxZoom.boxZoomEnd);}isEnabled(){return !!this._enabled}isActive(){return !!this._active}enable(){this.isEnabled()||(this._enabled=!0);}disable(){this.isEnabled()&&(this._enabled=!1);}mousedown(e,t){this.isEnabled()&&e.shiftKey&&0===e.button&&(d.disableDrag(),this._startPos=this._lastPos=t,this._active=!0);}mousemoveWindow(e,t){if(!this._active)return;const i=t;if(this._lastPos.equals(i)||!this._box&&i.dist(this._startPos)e.fitScreenCoordinates(o,a,this._tr.bearing,{linear:!0})};this._fireEvent("boxzoomcancel",e);}keydown(e){this._active&&27===e.keyCode&&(this.reset(),this._fireEvent("boxzoomcancel",e));}reset(){this._active=!1,this._container.classList.remove("maplibregl-crosshair"),this._box&&(this._box.remove(),this._box=null),d.enableDrag(),delete this._startPos,delete this._lastPos;}_fireEvent(e,i){return this._map.fire(new t.n(e,{originalEvent:i}))}}function pr(e,t){if(e.length!==t.length)throw new Error(`The number of touches and points are not equal - touches ${e.length}, points ${t.length}`);const i={};for(let o=0;othis.numTouches)&&(this.aborted=!0),this.aborted||(void 0===this.startTime&&(this.startTime=e.timeStamp),o.length===this.numTouches&&(this.centroid=function(e){const i=new t.P(0,0);for(const t of e)i._add(t);return i.div(e.length)}(i),this.touches=pr(o,i)));}touchmove(e,t,i){if(this.aborted||!this.centroid)return;const o=pr(i,t);for(const e in this.touches){const t=o[e];(!t||t.dist(this.touches[e])>30)&&(this.aborted=!0);}}touchend(e,t,i){if((!this.centroid||e.timeStamp-this.startTime>500)&&(this.aborted=!0),0===i.length){const e=!this.aborted&&this.centroid;if(this.reset(),e)return e}}}class fr{constructor(e){this.singleTap=new mr(e),this.numTaps=e.numTaps,this.reset();}reset(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset();}touchstart(e,t,i){this.singleTap.touchstart(e,t,i);}touchmove(e,t,i){this.singleTap.touchmove(e,t,i);}touchend(e,t,i){const o=this.singleTap.touchend(e,t,i);if(o){const t=e.timeStamp-this.lastTime<500,i=!this.lastTap||this.lastTap.dist(o)<30;if(t&&i||this.reset(),this.count++,this.lastTime=e.timeStamp,this.lastTap=o,this.count===this.numTaps)return this.reset(),o}}}class gr{constructor(e){this._tr=new dr(e),this._zoomIn=new fr({numTouches:1,numTaps:2}),this._zoomOut=new fr({numTouches:2,numTaps:1}),this.reset();}reset(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset();}touchstart(e,t,i){this._zoomIn.touchstart(e,t,i),this._zoomOut.touchstart(e,t,i);}touchmove(e,t,i){this._zoomIn.touchmove(e,t,i),this._zoomOut.touchmove(e,t,i);}touchend(e,i,o){const a=this._zoomIn.touchend(e,i,o),r=this._zoomOut.touchend(e,i,o),s=this._tr;return a?(this._active=!0,e.preventDefault(),setTimeout((()=>this.reset()),0),{cameraAnimation:i=>i.easeTo({duration:300,zoom:t.cw(s.zoom+1,i.getZoomSnap()),around:s.unproject(a)},{originalEvent:e})}):r?(this._active=!0,e.preventDefault(),setTimeout((()=>this.reset()),0),{cameraAnimation:i=>i.easeTo({duration:300,zoom:t.cw(s.zoom-1,i.getZoomSnap()),around:s.unproject(r)},{originalEvent:e})}):void 0}touchcancel(){this.reset();}enable(){this._enabled=!0;}disable(){this._enabled=!1,this.reset();}isEnabled(){return this._enabled}isActive(){return this._active}}class vr{constructor(e){this._enabled=!!e.enable,this._moveStateManager=e.moveStateManager,this._clickTolerance=e.clickTolerance||1,this._moveFunction=e.move,this._activateOnStart=!!e.activateOnStart,e.assignEvents(this),this.reset();}reset(e){this._active=!1,this._moved=!1,delete this._lastPoint,this._moveStateManager.endMove(e);}_move(...e){const t=this._moveFunction(...e);if(t.bearingDelta||t.pitchDelta||t.rollDelta||t.around||t.panDelta)return this._active=!0,t}dragStart(e,t){this.isEnabled()&&!this._lastPoint&&this._moveStateManager.isValidStartEvent(e)&&(this._moveStateManager.startMove(e),this._lastPoint=Array.isArray(t)?t[0]:t,this._activateOnStart&&this._lastPoint&&(this._active=!0));}dragMove(e,t){if(!this.isEnabled())return;const i=this._lastPoint;if(!i)return;if(e.preventDefault(),!this._moveStateManager.isValidMoveEvent(e))return void this.reset(e);const o=Array.isArray(t)?t[0]:t;return !this._moved&&o.dist(i)!0}),t=new Tr){this.mouseMoveStateManager=e,this.oneFingerTouchMoveStateManager=t;}_executeRelevantHandler(e,t,i){return e instanceof MouseEvent?t(e):"undefined"!=typeof TouchEvent&&e instanceof TouchEvent?i(e):void 0}startMove(e){this._executeRelevantHandler(e,(e=>{this.mouseMoveStateManager.startMove(e);}),(e=>{this.oneFingerTouchMoveStateManager.startMove(e);}));}endMove(e){this._executeRelevantHandler(e,(e=>{this.mouseMoveStateManager.endMove(e);}),(e=>{this.oneFingerTouchMoveStateManager.endMove(e);}));}isValidStartEvent(e){return this._executeRelevantHandler(e,(e=>this.mouseMoveStateManager.isValidStartEvent(e)),(e=>this.oneFingerTouchMoveStateManager.isValidStartEvent(e)))}isValidMoveEvent(e){return this._executeRelevantHandler(e,(e=>this.mouseMoveStateManager.isValidMoveEvent(e)),(e=>this.oneFingerTouchMoveStateManager.isValidMoveEvent(e)))}isValidEndEvent(e){return this._executeRelevantHandler(e,(e=>this.mouseMoveStateManager.isValidEndEvent(e)),(e=>this.oneFingerTouchMoveStateManager.isValidEndEvent(e)))}}const Cr=e=>{e.mousedown=e.dragStart,e.mousemoveWindow=e.dragMove,e.mouseup=e.dragEnd,e.contextmenu=e=>{e.preventDefault();};};class Mr{constructor(e,t){this._clickTolerance=e.clickTolerance||1,this._map=t,this.reset();}reset(){this._active=!1,this._touches={},this._sum=new t.P(0,0);}_shouldBePrevented(e){return e<(this._map.cooperativeGestures.isEnabled()?2:1)}touchstart(e,t,i){return this._calculateTransform(e,t,i)}touchmove(e,t,i){if(this._active){if(!this._shouldBePrevented(i.length))return e.preventDefault(),this._calculateTransform(e,t,i);this._map.cooperativeGestures.notifyGestureBlocked("touch_pan",e);}}touchend(e,t,i){this._calculateTransform(e,t,i),this._active&&this._shouldBePrevented(i.length)&&this.reset();}touchcancel(){this.reset();}_calculateTransform(e,i,o){o.length>0&&(this._active=!0);const a=pr(o,i),r=new t.P(0,0),s=new t.P(0,0);let n=0;for(const e in a){const t=a[e],i=this._touches[e];i&&(r._add(t),s._add(t.sub(i)),n++,a[e]=t);}if(this._touches=a,this._shouldBePrevented(n)||!s.mag())return;const l=s.div(n);return this._sum._add(l),this._sum.mag()Math.abs(e.x)}class Lr extends Ir{constructor(e){super(),this._currentTouchCount=0,this._map=e;}reset(){super.reset(),this._valid=void 0,delete this._firstMove,delete this._lastPoints;}touchstart(e,t,i){super.touchstart(e,t,i),this._currentTouchCount=i.length;}_start(e){this._lastPoints=e,Ar(e[0].sub(e[1]))&&(this._valid=!1);}_move(e,t,i){if(this._map.cooperativeGestures.isEnabled()&&this._currentTouchCount<3)return;const o=e[0].sub(this._lastPoints[0]),a=e[1].sub(this._lastPoints[1]);return this._valid=this.gestureBeginsVertically(o,a,i.timeStamp),this._valid?(this._lastPoints=e,this._active=!0,{pitchDelta:(o.y+a.y)/2*-.5}):void 0}gestureBeginsVertically(e,t,i){if(void 0!==this._valid)return this._valid;const o=e.mag()>=2,a=t.mag()>=2;if(!o&&!a)return;if(!o||!a)return void 0===this._firstMove&&(this._firstMove=i),i-this._firstMove<100&&void 0;const r=e.y>0==t.y>0;return Ar(e)&&Ar(t)&&r}}const Fr={panStep:100,bearingStep:15,pitchStep:10};class kr{constructor(e){this._tr=new dr(e);const t=Fr;this._panStep=t.panStep,this._bearingStep=t.bearingStep,this._pitchStep=t.pitchStep,this._rotationDisabled=!1;}reset(){this._active=!1;}keydown(e){if(e.altKey||e.ctrlKey||e.metaKey)return;let i=0,o=0,a=0,r=0,s=0;switch(e.keyCode){case 61:case 107:case 171:case 187:i=1;break;case 189:case 109:case 173:i=-1;break;case 37:e.shiftKey?o=-1:(e.preventDefault(),r=-1);break;case 39:e.shiftKey?o=1:(e.preventDefault(),r=1);break;case 38:e.shiftKey?a=1:(e.preventDefault(),s=-1);break;case 40:e.shiftKey?a=-1:(e.preventDefault(),s=1);break;default:return}return this._rotationDisabled&&(o=0,a=0),{cameraAnimation:n=>{const l=this._tr;n.easeTo({duration:300,easeId:"keyboardHandler",easing:Br,zoom:i?t.cw(l.zoom+i*(e.shiftKey?2:1),n.getZoomSnap()):l.zoom,bearing:l.bearing+o*this._bearingStep,pitch:l.pitch+a*this._pitchStep,offset:[-r*this._panStep,-s*this._panStep],center:l.center},{originalEvent:e});}}}enable(){this._enabled=!0;}disable(){this._enabled=!1,this.reset();}isEnabled(){return this._enabled}isActive(){return this._active}disableRotation(){this._rotationDisabled=!0;}enableRotation(){this._rotationDisabled=!1;}}function Br(e){return e*(2-e)}const Or=4.000244140625,jr=1/450;class Nr{constructor(e,t){this._onTimeout=e=>{this._type="wheel",this._delta-=this._lastValue,this._active||this._start(e);},this._map=e,this._tr=new dr(e),this._triggerRenderFrame=t,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=jr;}setZoomRate(e){this._defaultZoomRate=e;}setWheelZoomRate(e){this._wheelZoomRate=e;}isEnabled(){return !!this._enabled}isActive(){return !!this._active||void 0!==this._finishTimeout}isZooming(){return !!this._zooming}enable(e){this.isEnabled()||(this._enabled=!0,this._aroundCenter=!!e&&"center"===e.around);}disable(){this.isEnabled()&&(this._enabled=!1);}_shouldBePrevented(e){return !!this._map.cooperativeGestures.isEnabled()&&!(e.ctrlKey||this._map.cooperativeGestures.isBypassed(e))}wheel(e){if(!this.isEnabled())return;if(this._shouldBePrevented(e))return void this._map.cooperativeGestures.notifyGestureBlocked("wheel_zoom",e);let t=e.deltaMode===WheelEvent.DOM_DELTA_LINE?40*e.deltaY:e.deltaY;const i=c(),o=i-(this._lastWheelEventTime||0);this._lastWheelEventTime=i,0!==t&&t%Or==0?this._type="wheel":0!==t&&Math.abs(t)<4?this._type="trackpad":o>400?(this._type=null,this._lastValue=t,this._timeout=setTimeout(this._onTimeout,40,e)):this._type||(this._type=Math.abs(o*t)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,t+=this._lastValue)),e.shiftKey&&t&&(t/=4),this._type&&(this._lastWheelEvent=e,this._delta-=t,this._active||this._start(e)),e.preventDefault();}_start(e){if(!this._delta)return;this._needsRerender=!1,this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);const i=d.mousePos(this._map.getCanvas(),e),o=this._tr;this._aroundPoint=this._aroundCenter?o.transform.locationToScreenPoint(t.W.convert(o.center)):i,this._needsRerender||(this._needsRerender=!0,this._triggerRenderFrame());}renderFrame(){if(!this._needsRerender)return;if(this._needsRerender=!1,!this.isActive())return;const e=this._tr.transform;if("number"==typeof this._lastExpectedZoom){const t=e.zoom-this._lastExpectedZoom;"number"==typeof this._startZoom&&(this._startZoom+=t),"number"==typeof this._targetZoom&&(this._targetZoom+=t);}if(0!==this._delta){const i="wheel"===this._type&&Math.abs(this._delta)>Or?this._wheelZoomRate:this._defaultZoomRate;let o=2/(1+Math.exp(-Math.abs(this._delta*i)));this._delta<0&&0!==o&&(o=1/o);const a="number"!=typeof this._targetZoom?e.scale:t.ao(this._targetZoom),r=e.applyConstrain(e.getCameraLngLat(),t.ar(a*o)).zoom,s=this._map.getZoomSnap();if("wheel"===this._type&&s>0){const i=t.cw(e.zoom,s);this._targetZoom=t.cw(r,s,r-i);}else this._targetZoom=r;"wheel"===this._type&&(this._startZoom=e.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0;}const i="number"!=typeof this._targetZoom?e.zoom:this._targetZoom,o=this._startZoom,a=this._easing;let r,s=!1;if("wheel"===this._type&&o&&a){const e=c()-this._lastWheelEventTime,n=Math.min((e+5)/200,1),l=a(n);r=t.H.number(o,i,l),n<1?this._needsRerender=!0:s=!0;}else r=i,s=!0;return this._active=!0,s&&(this._active=!1,this._finishTimeout=setTimeout((()=>{this._zooming=!1,this._triggerRenderFrame(),delete this._targetZoom,delete this._lastExpectedZoom,delete this._finishTimeout;}),200)),this._lastExpectedZoom=r,{noInertia:!0,needsRenderFrame:!s,zoomDelta:r-e.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}_smoothOutEasing(e){let i=t.cy;if(this._prevEase){const e=this._prevEase,o=(c()-e.start)/e.duration,a=e.easing(o+.01)-e.easing(o),r=.27/Math.sqrt(a*a+1e-4)*.01,s=Math.sqrt(.0729-r*r);i=t.cv(r,s,.25,1);}return this._prevEase={start:c(),duration:e,easing:i},i}reset(){this._active=!1,this._zooming=!1,delete this._targetZoom,delete this._lastExpectedZoom,this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);}}class Zr{constructor(e,t){this._clickZoom=e,this._tapZoom=t;}enable(){this._clickZoom.enable(),this._tapZoom.enable();}disable(){this._clickZoom.disable(),this._tapZoom.disable();}isEnabled(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()}isActive(){return this._clickZoom.isActive()||this._tapZoom.isActive()}}class Ur{constructor(e){this._tr=new dr(e),this.reset();}reset(){this._active=!1;}dblclick(e,i){return e.preventDefault(),{cameraAnimation:o=>{o.easeTo({duration:300,zoom:t.cw(this._tr.zoom+(e.shiftKey?-1:1),o.getZoomSnap()),around:this._tr.unproject(i)},{originalEvent:e});}}}enable(){this._enabled=!0;}disable(){this._enabled=!1,this.reset();}isEnabled(){return this._enabled}isActive(){return this._active}}class Gr{constructor(){this._tap=new fr({numTouches:1,numTaps:1}),this._zoomRate=1,this.reset();}setZoomRate(e){this._zoomRate=null!=e?e:1;}reset(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,delete this._tapPoint,this._tap.reset();}touchstart(e,t,i){if(!this._swipePoint)if(this._tapTime){const o=t[0],a=e.timeStamp-this._tapTime<500,r=this._tapPoint.dist(o)<30;a&&r?i.length>0&&(this._swipePoint=o,this._swipeTouch=i[0].identifier):this.reset();}else this._tap.touchstart(e,t,i);}touchmove(e,t,i){if(this._tapTime){if(this._swipePoint){if(i[0].identifier!==this._swipeTouch)return;const o=t[0],a=o.y-this._swipePoint.y;return this._swipePoint=o,e.preventDefault(),this._active=!0,{zoomDelta:a/128*this._zoomRate}}}else this._tap.touchmove(e,t,i);}touchend(e,t,i){if(this._tapTime)this._swipePoint&&0===i.length&&this.reset();else {const o=this._tap.touchend(e,t,i);o&&(this._tapTime=e.timeStamp,this._tapPoint=o);}}touchcancel(){this.reset();}enable(){this._enabled=!0;}disable(){this._enabled=!1,this.reset();}isEnabled(){return this._enabled}isActive(){return this._active}}class Vr{constructor(e,t,i){this._el=e,this._mousePan=t,this._touchPan=i;}enable(e){this._inertiaOptions=e||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("maplibregl-touch-drag-pan");}disable(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("maplibregl-touch-drag-pan");}isEnabled(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()}isActive(){return this._mousePan.isActive()||this._touchPan.isActive()}}class Wr{constructor(e,t,i,o){this._pitchWithRotate=e.pitchWithRotate,this._rollEnabled=e.rollEnabled,this._mouseRotate=t,this._mousePitch=i,this._mouseRoll=o;}enable(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable(),this._rollEnabled&&this._mouseRoll.enable();}disable(){this._mouseRotate.disable(),this._mousePitch.disable(),this._mouseRoll.disable();}isEnabled(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())&&(!this._rollEnabled||this._mouseRoll.isEnabled())}isActive(){return this._mouseRotate.isActive()||this._mousePitch.isActive()||this._mouseRoll.isActive()}}class qr{constructor(e,t,i,o){this._el=e,this._touchZoom=t,this._touchRotate=i,this._tapDragZoom=o,this._rotationDisabled=!1,this._enabled=!0;}enable(e){this._touchZoom.enable(e),this._rotationDisabled||this._touchRotate.enable(e),this._tapDragZoom.enable(),this._el.classList.add("maplibregl-touch-zoom-rotate");}disable(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("maplibregl-touch-zoom-rotate");}isEnabled(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()}isActive(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()}setZoomRate(e){this._touchZoom.setZoomRate(e),this._tapDragZoom.setZoomRate(e);}setZoomThreshold(e){this._touchZoom.setZoomThreshold(e);}disableRotation(){this._rotationDisabled=!0,this._touchRotate.disable();}enableRotation(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable();}}class $r{constructor(e,t){this._bypassKey=navigator.userAgent.includes("Mac")?"metaKey":"ctrlKey",this._map=e,this._options=t,this._enabled=!1;}isActive(){return !1}reset(){}_setupUI(){if(this._container)return;const e=this._map.getCanvasContainer();e.classList.add("maplibregl-cooperative-gestures"),this._container=d.create("div","maplibregl-cooperative-gesture-screen",e);let t=this._map._getUIString("CooperativeGesturesHandler.WindowsHelpText");"metaKey"===this._bypassKey&&(t=this._map._getUIString("CooperativeGesturesHandler.MacHelpText"));const i=this._map._getUIString("CooperativeGesturesHandler.MobileHelpText"),o=document.createElement("div");o.className="maplibregl-desktop-message",o.textContent=t,this._container.appendChild(o);const a=document.createElement("div");a.className="maplibregl-mobile-message",a.textContent=i,this._container.appendChild(a),this._container.setAttribute("aria-hidden","true");}_destroyUI(){this._container&&(this._container.remove(),this._map.getCanvasContainer().classList.remove("maplibregl-cooperative-gestures")),delete this._container;}enable(){this._setupUI(),this._enabled=!0;}disable(){this._enabled=!1,this._destroyUI();}isEnabled(){return this._enabled}isBypassed(e){return e[this._bypassKey]}notifyGestureBlocked(e,i){this._enabled&&(this._map.fire(new t.n("cooperativegestureprevented",{gestureType:e,originalEvent:i})),this._container.classList.add("maplibregl-show"),setTimeout((()=>{this._container.classList.remove("maplibregl-show");}),100));}}const Hr=e=>e.zoom||e.drag||e.roll||e.pitch||e.rotate;class Xr extends t.n{}function Kr(e){var t;return (null===(t=e.panDelta)||void 0===t?void 0:t.mag())||e.zoomDelta||e.bearingDelta||e.pitchDelta||e.rollDelta}class Yr{get _ownerDocument(){var e;return (null===(e=this._el)||void 0===e?void 0:e.ownerDocument)||document}get _ownerWindow(){var e,t;return (null===(t=null===(e=this._el)||void 0===e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView)||window}constructor(e,i){this.handleWindowEvent=e=>{this.handleEvent(e,`${e.type}Window`);},this.handleEvent=(e,i)=>{if("blur"===e.type)return void this.stop(!0);this._updatingCamera=!0;const o="renderFrame"===e.type?void 0:e,a={needsRenderFrame:!1},r={},s={};for(const{handlerName:n,handler:l,allowed:c}of this._handlers){if(!l.isEnabled())continue;let h;if(this._blockedByActive(s,c,n))l.reset();else if(l[i||e.type]){if(t.cz(e,i||e.type)){const t=d.mousePos(this._map.getCanvas(),e);h=l[i||e.type](e,t);}else if(t.cA(e,i||e.type)){const t=this._getMapTouches(e.touches),o=d.touchPos(this._map.getCanvas(),t);h=l[i||e.type](e,o,t);}else t.cB(i||e.type)||(h=l[i||e.type](e));this.mergeHandlerResult(a,r,h,n,o),(null==h?void 0:h.needsRenderFrame)&&this._triggerRenderFrame();}(h||l.isActive())&&(s[n]=l);}const n={};for(const e in this._previousActiveHandlers)s[e]||(n[e]=o);this._previousActiveHandlers=s,(Object.keys(n).length||Kr(a))&&(this._changes.push([a,r,n]),this._triggerRenderFrame()),(Object.keys(s).length||Kr(a))&&this._map._stop(!0),this._updatingCamera=!1;const{cameraAnimation:l}=a;l&&(this._inertia.clear(),this._fireEvents({},{},!0),this._changes=[],l(this._map));},this._map=e,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new ar(e),this._bearingSnap=i.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(i);const o=this._el;this._listeners=[[o,"touchstart",{passive:!0}],[o,"touchmove",{passive:!1}],[o,"touchend",void 0],[o,"touchcancel",void 0],[o,"mousedown",void 0],[o,"mousemove",void 0],[o,"mouseup",void 0],[this._ownerDocument,"mousemove",{capture:!0}],[this._ownerDocument,"mouseup",void 0],[o,"mouseover",void 0],[o,"mouseout",void 0],[o,"dblclick",void 0],[o,"click",void 0],[o,"keydown",{capture:!1}],[o,"keyup",void 0],[o,"wheel",{passive:!1}],[o,"contextmenu",void 0],[this._ownerWindow,"blur",void 0]];for(const[e,t,i]of this._listeners)e.addEventListener(t,e===this._ownerDocument?this.handleWindowEvent:this.handleEvent,i);}destroy(){for(const[e,t,i]of this._listeners)e.removeEventListener(t,e===this._ownerDocument?this.handleWindowEvent:this.handleEvent,i);}_addDefaultHandlers(e){const i=this._map,o=i.getCanvasContainer();this._add("mapEvent",new hr(i,e));const a=i.boxZoom=new _r(i,e);this._add("boxZoom",a),e.interactive&&e.boxZoom&&a.enable();const r=i.cooperativeGestures=new $r(i,e.cooperativeGestures);this._add("cooperativeGestures",r),e.cooperativeGestures&&r.enable();const s=new gr(i),n=new Ur(i);i.doubleClickZoom=new Zr(n,s),this._add("tapZoom",s),this._add("clickZoom",n),e.interactive&&e.doubleClickZoom&&i.doubleClickZoom.enable();const l=new Gr;this._add("tapDragZoom",l);const c=i.touchPitch=new Lr(i);this._add("touchPitch",c),e.interactive&&e.touchPitch&&i.touchPitch.enable(e.touchPitch);const h=()=>i.project(i.getCenter()),u=function({enable:e,clickTolerance:i,aroundCenter:o=!0,minPixelCenterThreshold:a=100,rotateDegreesPerPixelMoved:r=.8},s){const n=new wr({checkCorrectEvent:e=>0===e.button&&e.ctrlKey||2===e.button&&!e.ctrlKey});return new vr({clickTolerance:i,move:(e,i)=>{const n=s();if(o&&Math.abs(n.y-e.y)>a)return {bearingDelta:t.cx(new t.P(e.x,i.y),i,n)};let l=(i.x-e.x)*r;return o&&i.y0===e.button&&e.ctrlKey||2===e.button});return new vr({clickTolerance:t,move:(e,t)=>({pitchDelta:(t.y-e.y)*i}),moveStateManager:o,enable:e,assignEvents:Cr})}(e),_=function({enable:e,clickTolerance:t,rollDegreesPerPixelMoved:i=.3},o){const a=new wr({checkCorrectEvent:e=>2===e.button&&e.ctrlKey});return new vr({clickTolerance:t,move:(e,t)=>{const a=o();let r=(t.x-e.x)*i;return t.y0===e.button&&!e.ctrlKey});return new vr({clickTolerance:t,move:(e,t)=>({around:t,panDelta:t.sub(e)}),activateOnStart:!0,moveStateManager:i,enable:e,assignEvents:Cr})}(e),m=new Mr(e,i);i.dragPan=new Vr(o,p,m),this._add("mousePan",p),this._add("touchPan",m,["touchZoom","touchRotate"]),e.interactive&&e.dragPan&&i.dragPan.enable(e.dragPan);const f=new Dr,g=new zr;i.touchZoomRotate=new qr(o,g,f,l),this._add("touchRotate",f,["touchPan","touchZoom"]),this._add("touchZoom",g,["touchPan","touchRotate"]),e.interactive&&e.touchZoomRotate&&i.touchZoomRotate.enable(e.touchZoomRotate),this._add("blockableMapEvent",new ur(i));const v=i.scrollZoom=new Nr(i,(()=>this._triggerRenderFrame()));this._add("scrollZoom",v,["mousePan"]),e.interactive&&e.scrollZoom&&i.scrollZoom.enable(e.scrollZoom);const x=i.keyboard=new kr(i);this._add("keyboard",x),e.interactive&&e.keyboard&&i.keyboard.enable();}_add(e,t,i){this._handlers.push({handlerName:e,handler:t,allowed:i}),this._handlersById[e]=t;}stop(e){if(!this._updatingCamera){for(const{handler:e}of this._handlers)e.reset();this._inertia.clear(),this._fireEvents({},{},e),this._changes=[];}}isActive(){for(const{handler:e}of this._handlers)if(e.isActive())return !0;return !1}isZooming(){return !!this._eventsInProgress.zoom||this._map.scrollZoom.isZooming()}isRotating(){return !!this._eventsInProgress.rotate}isMoving(){return Boolean(Hr(this._eventsInProgress))||this.isZooming()}_blockedByActive(e,t,i){for(const o in e)if(o!==i&&!(null==t?void 0:t.includes(o)))return !0;return !1}_getMapTouches(e){const t=[];for(const i of e)this._el.contains(i.target)&&t.push(i);return t}mergeHandlerResult(e,i,o,a,r){if(!o)return;t.e(e,o);const s={handlerName:a,originalEvent:o.originalEvent||r};void 0!==o.zoomDelta&&(i.zoom=s),void 0!==o.panDelta&&(i.drag=s),void 0!==o.rollDelta&&(i.roll=s),void 0!==o.pitchDelta&&(i.pitch=s),void 0!==o.bearingDelta&&(i.rotate=s);}_applyChanges(){const e={},i={},o={};for(const[a,r,s]of this._changes)a.panDelta&&(e.panDelta=(e.panDelta||new t.P(0,0))._add(a.panDelta)),a.zoomDelta&&(e.zoomDelta=(e.zoomDelta||0)+a.zoomDelta),a.bearingDelta&&(e.bearingDelta=(e.bearingDelta||0)+a.bearingDelta),a.pitchDelta&&(e.pitchDelta=(e.pitchDelta||0)+a.pitchDelta),a.rollDelta&&(e.rollDelta=(e.rollDelta||0)+a.rollDelta),void 0!==a.around&&(e.around=a.around),void 0!==a.pinchAround&&(e.pinchAround=a.pinchAround),a.noInertia&&(e.noInertia=a.noInertia),t.e(i,r),t.e(o,s);this._updateMapTransform(e,i,o),this._changes=[];}_updateMapTransform(e,t,i){const o=this._map,a=o._getTransformForUpdate(),r=o.terrain;if(!(Kr(e)||r&&this._terrainMovement))return void this._fireEvents(t,i,!0);o._stop(!0);let{panDelta:s,zoomDelta:n,bearingDelta:l,pitchDelta:c,rollDelta:h,around:u,pinchAround:d}=e;void 0!==d&&(u=d),u||(u=o.transform.centerPoint),r&&!a.isPointOnMapSurface(u)&&(u=a.centerPoint);const _={panDelta:s,zoomDelta:n,rollDelta:h,pitchDelta:c,bearingDelta:l,around:u};this._map.cameraHelper.useGlobeControls&&!a.isPointOnMapSurface(u)&&(u=a.centerPoint);const p=u.distSqr(a.centerPoint)<.01?a.center:a.screenPointToLocation(s?u.sub(s):u);this._handleMapControls({terrain:r,tr:a,deltasForHelper:_,preZoomAroundLoc:p,combinedEventsInProgress:t,panDelta:s}),o._applyUpdatedTransform(a),this._map._update(),e.noInertia||this._inertia.record(e),this._fireEvents(t,i,!0);}_handleMapControls({terrain:e,tr:t,deltasForHelper:i,preZoomAroundLoc:o,combinedEventsInProgress:a,panDelta:r}){const s=this._map.cameraHelper;if(s.handleMapControlsRollPitchBearingZoom(i,t),e)return s.useGlobeControls?(this._terrainMovement||!a.drag&&!a.zoom||(this._terrainMovement=!0,this._map._elevationFreeze=!0),void s.handleMapControlsPan(i,t,o)):this._terrainMovement||!a.drag&&!a.zoom?void(a.drag&&this._terrainMovement&&r?t.setCenter(t.screenPointToLocation(t.centerPoint.sub(r))):s.handleMapControlsPan(i,t,o)):(this._terrainMovement=!0,this._map._elevationFreeze=!0,void s.handleMapControlsPan(i,t,o));s.handleMapControlsPan(i,t,o);}_fireEvents(e,i,o){const a=Hr(this._eventsInProgress),r=Hr(e),s={};for(const t in e){const{originalEvent:i}=e[t];this._eventsInProgress[t]||(s[`${t}start`]=i),this._eventsInProgress[t]=e[t];}!a&&r&&this._fireEvent("movestart",r.originalEvent);for(const e in s)this._fireEvent(e,s[e]);r&&this._fireEvent("move",r.originalEvent);for(const t in e){const{originalEvent:i}=e[t];this._fireEvent(t,i);}const l={};let c;for(const e in this._eventsInProgress){const{handlerName:t,originalEvent:o}=this._eventsInProgress[e];this._handlersById[t].isActive()||(delete this._eventsInProgress[e],c=i[t]||o,l[`${e}end`]=c);}for(const e in l)this._fireEvent(e,l[e]);const h=Hr(this._eventsInProgress),u=(a||r)&&!h;if(u&&this._terrainMovement){this._map._elevationFreeze=!1,this._terrainMovement=!1;const e=this._map._getTransformForUpdate();this._map.getCenterClampedToGround()&&e.recalculateZoomAndCenter(this._map.terrain),this._map._applyUpdatedTransform(e);}if(o&&u){this._updatingCamera=!0;const e=this._inertia._onMoveEnd(this._map.dragPan._inertiaOptions),i=e=>0!==e&&-this._bearingSnap{delete this._frameId,this.handleEvent(new Xr("renderFrame",{timeStamp:e})),this._applyChanges();}))}_triggerRenderFrame(){void 0===this._frameId&&(this._frameId=this._requestFrame());}}class Qr extends t.E{constructor(e,t,i){super(),this._renderFrameCallback=()=>{const e=Math.min((c()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(e)),e<1&&this._easeFrameId?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop();},this._moving=!1,this._zooming=!1,this.transform=e,this._bearingSnap=i.bearingSnap,this._zoomSnap=i.zoomSnap,this.cameraHelper=t,this.on("moveend",(()=>{delete this._requestedCameraState;}));}migrateProjection(e,t){e.apply(this.transform,!0),this.transform=e,this.cameraHelper=t;}getCenter(){return new t.W(this.transform.center.lng,this.transform.center.lat)}setCenter(e,t){return this.jumpTo({center:e},t)}getCenterElevation(){return this.transform.elevation}setCenterElevation(e,t){return this.jumpTo({elevation:e},t),this}getCenterClampedToGround(){return this._centerClampedToGround}setCenterClampedToGround(e){this._centerClampedToGround=e;}panBy(e,i,o){return e=t.P.convert(e).mult(-1),this.panTo(this.transform.center,t.e({offset:e},i),o)}panTo(e,i,o){return this.easeTo(t.e({center:e},i),o)}getZoom(){return this.transform.zoom}setZoom(e,t){return this.jumpTo({zoom:e},t),this}zoomTo(e,i,o){return this.easeTo(t.e({zoom:e},i),o)}zoomIn(e,i){return this.zoomTo(t.cw(this.getZoom()+1,this._zoomSnap),e,i),this}zoomOut(e,i){return this.zoomTo(t.cw(this.getZoom()-1,this._zoomSnap),e,i),this}getVerticalFieldOfView(){return this.transform.fov}setVerticalFieldOfView(e,i){return e!=this.transform.fov&&(this.transform.setFov(e),this.fire(new t.n("movestart",i)).fire(new t.n("move",i)).fire(new t.n("moveend",i))),this}getBearing(){return this.transform.bearing}setZoomSnap(e){return this._zoomSnap=e,this}getZoomSnap(){return this._zoomSnap}setBearing(e,t){return this.jumpTo({bearing:e},t),this}getPadding(){return this.transform.padding}setPadding(e,t){return this.jumpTo({padding:e},t),this}rotateTo(e,i,o){return this.easeTo(t.e({bearing:e},i),o)}resetNorth(e,i){return this.rotateTo(0,t.e({duration:1e3},e),i),this}resetNorthPitch(e,i){return this.easeTo(t.e({bearing:0,pitch:0,roll:0,duration:1e3},e),i),this}snapToNorth(e,t){return Math.abs(this.getBearing()){f.easeFunc(t),this.terrain&&!e.freezeElevation&&this._updateElevation(t),this._applyUpdatedTransform(o),this._fireMoveEvents(i);}),(t=>{this.terrain&&e.freezeElevation&&this._finalizeElevation(),this._afterEase(i,t);}),e),this}_prepareEase(e,i,o={}){this._moving=!0,i||o.moving||this.fire(new t.n("movestart",e)),this._zooming&&!o.zooming&&this.fire(new t.n("zoomstart",e)),this._rotating&&!o.rotating&&this.fire(new t.n("rotatestart",e)),this._pitching&&!o.pitching&&this.fire(new t.n("pitchstart",e)),this._rolling&&!o.rolling&&this.fire(new t.n("rollstart",e));}_prepareElevation(e){this._elevationCenter=e,this._elevationStart=this.transform.elevation,this._elevationTarget=this.terrain.getElevationForLngLatZoom(e,this.transform.tileZoom),this._elevationFreeze=!0;}_updateElevation(e){void 0!==this._elevationStart&&void 0!==this._elevationCenter||this._prepareElevation(this.transform.center),this.transform.setMinElevationForCurrentTile(this.terrain.getMinTileElevationForLngLatZoom(this._elevationCenter,this.transform.tileZoom));const i=this.terrain.getElevationForLngLatZoom(this._elevationCenter,this.transform.tileZoom);if(e<1&&i!==this._elevationTarget){const t=this._elevationTarget-this._elevationStart;this._elevationStart+=e*(t-(i-(t*e+this._elevationStart))/(1-e)),this._elevationTarget=i;}this.transform.setElevation(t.H.number(this._elevationStart,this._elevationTarget,e));}_finalizeElevation(){this._elevationFreeze=!1,this.getCenterClampedToGround()&&this.transform.recalculateZoomAndCenter(this.terrain);}_getTransformForUpdate(){return this.transformCameraUpdate||this.terrain?(this._requestedCameraState||(this._requestedCameraState=this.transform.clone()),this._requestedCameraState):this.transform}_elevateCameraIfInsideTerrain(e){if(!this.terrain&&e.elevation>=0&&e.pitch<=90)return {};const t=e.getCameraLngLat(),i=e.getCameraAltitude(),o=this.terrain?this.terrain.getElevationForLngLatZoom(t,e.zoom):0;if(ithis._elevateCameraIfInsideTerrain(e))),this.transformCameraUpdate&&t.push((e=>this.transformCameraUpdate(e))),!t.length)return;const i=e.clone();for(const e of t){const t=i.clone(),{center:o,zoom:a,roll:r,pitch:s,bearing:n,elevation:l}=e(t);o&&t.setCenter(o),void 0!==l&&t.setElevation(l),void 0!==a&&t.setZoom(a),void 0!==r&&t.setRoll(r),void 0!==s&&t.setPitch(s),void 0!==n&&t.setBearing(n),i.apply(t,!1);}this.transform.apply(i,!1);}_fireMoveEvents(e){this.fire(new t.n("move",e)),this._zooming&&this.fire(new t.n("zoom",e)),this._rotating&&this.fire(new t.n("rotate",e)),this._pitching&&this.fire(new t.n("pitch",e)),this._rolling&&this.fire(new t.n("roll",e));}_afterEase(e,i){if(this._easeId&&i&&this._easeId===i)return;delete this._easeId;const o=this._zooming,a=this._rotating,r=this._pitching,s=this._rolling;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._rolling=!1,this._padding=!1,o&&this.fire(new t.n("zoomend",e)),a&&this.fire(new t.n("rotateend",e)),r&&this.fire(new t.n("pitchend",e)),s&&this.fire(new t.n("rollend",e)),this.fire(new t.n("moveend",e));}flyTo(e,i){if(!e.essential&&n.prefersReducedMotion){const o=t.V(e,["center","zoom","bearing","pitch","roll","elevation","padding"]);return this.jumpTo(o,i)}this.stop(),"zoom"in(e=t.e({offset:[0,0],speed:1.2,curve:1.42,easing:t.cy},e))&&this._zoomSnap&&(e.zoom=t.cw(e.zoom,this._zoomSnap));const o=this._getTransformForUpdate(),a=o.bearing,r=o.pitch,s=o.roll,l=o.padding,c="bearing"in e?this._normalizeBearing(e.bearing,a):a,h="pitch"in e?+e.pitch:r,u="roll"in e?this._normalizeBearing(e.roll,s):s,d="padding"in e?e.padding:o.padding,_=t.P.convert(e.offset);let p=o.centerPoint.add(_);const m=o.screenPointToLocation(p),f=this.cameraHelper.handleFlyTo(o,{bearing:c,pitch:h,roll:u,padding:d,locationAtOffset:m,offsetAsPoint:_,center:e.center,minZoom:e.minZoom,zoom:e.zoom});let g=e.curve;const v=Math.max(o.width,o.height),x=v/f.scaleOfZoom,b=f.pixelPathLength;"number"==typeof f.scaleOfMinZoom&&(g=Math.sqrt(v/f.scaleOfMinZoom/b*2));const y=g*g;function w(e){const t=(x*x-v*v+(e?-1:1)*y*y*b*b)/(2*(e?x:v)*y*b);return Math.log(Math.sqrt(t*t+1)-t)}function T(e){return (Math.exp(e)-Math.exp(-e))/2}function P(e){return (Math.exp(e)+Math.exp(-e))/2}const C=w(!1);let M=function(e){return P(C)/P(C+g*e)},I=function(e){return v*((P(C)*(T(t=C+g*e)/P(t))-T(C))/y)/b;var t;},E=(w(!0)-C)/g;if(Math.abs(b)<2e-6||!isFinite(E)){if(Math.abs(v-x)<1e-6)return this.easeTo(e,i);const t=x0,M=e=>Math.exp(t*g*e);}return e.duration="duration"in e?+e.duration:1e3*E/("screenSpeed"in e?+e.screenSpeed/g:+e.speed),e.maxDuration&&e.duration>e.maxDuration&&(e.duration=0),this._zooming=!0,this._rotating=a!==c,this._pitching=h!==r,this._rolling=u!==s,this._padding=!o.isPaddingEqual(d),this._prepareEase(i,!1),this.terrain&&this._prepareElevation(f.targetCenter),this._ease((n=>{const m=n*E,g=1/M(m),v=I(m);this._rotating&&o.setBearing(t.H.number(a,c,n)),this._pitching&&o.setPitch(t.H.number(r,h,n)),this._rolling&&o.setRoll(t.H.number(s,u,n)),this._padding&&(o.interpolatePadding(l,d,n),p=o.centerPoint.add(_)),f.easeFunc(n,g,v,p),this.terrain&&!e.freezeElevation&&this._updateElevation(n),this._applyUpdatedTransform(o),this._fireMoveEvents(i);}),(()=>{this.terrain&&e.freezeElevation&&this._finalizeElevation(),this._afterEase(i);}),e),this}isEasing(){return !!this._easeFrameId}stop(){return this._stop()}_stop(e,t){var i;if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){const e=this._onEaseEnd;delete this._onEaseEnd,e.call(this,t);}return e||null===(i=this.handlers)||void 0===i||i.stop(!1),this}_ease(e,t,i){!1===i.animate||0===i.duration?(e(1),t()):(this._easeStart=c(),this._easeOptions=i,this._onEaseFrame=e,this._onEaseEnd=t,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback));}_normalizeBearing(e,i){e=t.X(e,-180,180);const o=Math.abs(e-i);return Math.abs(e-360-i)MapLibre'};class es{constructor(e=Jr){this._toggleAttribution=()=>{this._container.classList.contains("maplibregl-compact")&&(this._container.classList.contains("maplibregl-compact-show")?(this._container.setAttribute("open",""),this._container.classList.remove("maplibregl-compact-show")):(this._container.classList.add("maplibregl-compact-show"),this._container.removeAttribute("open")));},this._updateData=e=>{!e||"metadata"!==e.sourceDataType&&"visibility"!==e.sourceDataType&&"style"!==e.dataType&&"terrain"!==e.type||this._updateAttributions();},this._updateCompact=()=>{this._map.getCanvasContainer().offsetWidth<=640||this._compact?!1===this._compact?this._container.setAttribute("open",""):this._container.classList.contains("maplibregl-compact")||this._container.classList.contains("maplibregl-attrib-empty")||(this._container.setAttribute("open",""),this._container.classList.add("maplibregl-compact","maplibregl-compact-show")):(this._container.setAttribute("open",""),this._container.classList.contains("maplibregl-compact")&&this._container.classList.remove("maplibregl-compact","maplibregl-compact-show"));},this._updateCompactMinimize=()=>{this._container.classList.contains("maplibregl-compact")&&this._container.classList.contains("maplibregl-compact-show")&&this._container.classList.remove("maplibregl-compact-show");},this.options=e;}getDefaultPosition(){return "bottom-right"}onAdd(e){return this._map=e,this._compact=this.options.compact,this._container=d.create("details","maplibregl-ctrl maplibregl-ctrl-attrib"),this._compactButton=d.create("summary","maplibregl-ctrl-attrib-button",this._container),this._compactButton.addEventListener("click",this._toggleAttribution),this._setElementTitle(this._compactButton,"ToggleAttribution"),this._innerContainer=d.create("div","maplibregl-ctrl-attrib-inner",this._container),this._updateAttributions(),this._updateCompact(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("terrain",this._updateData),this._map.on("resize",this._updateCompact),this._map.on("drag",this._updateCompactMinimize),this._container}onRemove(){this._container.remove(),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("terrain",this._updateData),this._map.off("resize",this._updateCompact),this._map.off("drag",this._updateCompactMinimize),this._map=void 0,this._compact=void 0,this._attribHTML=void 0;}_setElementTitle(e,t){const i=this._map._getUIString(`AttributionControl.${t}`);e.title=i,e.setAttribute("aria-label",i);}_updateAttributions(){if(!this._map.style)return;let e=[];if(this.options.customAttribution&&(Array.isArray(this.options.customAttribution)?e=e.concat(this.options.customAttribution.map((e=>"string"!=typeof e?"":e))):"string"==typeof this.options.customAttribution&&e.push(this.options.customAttribution)),this._map.style.stylesheet){const e=this._map.style.stylesheet;this.styleOwner=e.owner,this.styleId=e.id;}const t=this._map.style.tileManagers;for(const i in t){const o=t[i];if(o.used||o.usedForTerrain){const t=o.getSource();t.attribution&&!e.includes(t.attribution)&&e.push(t.attribution);}}e=e.filter((e=>String(e).trim())),e.sort(((e,t)=>e.length-t.length)),e=e.filter(((t,i)=>{for(let o=i+1;o{const e=this._container.children;if(e.length){const t=e[0];this._map.getCanvasContainer().offsetWidth<=640||this._compact?!1!==this._compact&&t.classList.add("maplibregl-compact"):t.classList.remove("maplibregl-compact");}},this.options=e;}getDefaultPosition(){return "bottom-left"}onAdd(e){var t;this._map=e,this._compact=null===(t=this.options)||void 0===t?void 0:t.compact,this._container=d.create("div","maplibregl-ctrl");const i=d.create("a","maplibregl-ctrl-logo");return i.target="_blank",i.rel="noopener nofollow",i.href="https://maplibre.org/",i.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),i.setAttribute("rel","noopener nofollow"),this._container.appendChild(i),this._container.style.display="block",this._map.on("resize",this._updateCompact),this._updateCompact(),this._container}onRemove(){this._container.remove(),this._map.off("resize",this._updateCompact),this._map=void 0,this._compact=void 0;}}class is{constructor(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1;}add(e){const t=++this._id;return this._queue.push({callback:e,id:t,cancelled:!1}),t}remove(e){const t=this._currentlyRunning,i=t?this._queue.concat(t):this._queue;for(const t of i)if(t.id===e)return void(t.cancelled=!0)}run(e=0){if(this._currentlyRunning)throw new Error("Attempting to run(), but is already running.");const t=this._currentlyRunning=this._queue;this._queue=[];for(const i of t)if(!i.cancelled&&(i.callback(e),this._cleared))break;this._cleared=!1,this._currentlyRunning=!1;}clear(){this._currentlyRunning&&(this._cleared=!0),this._queue=[];}}var os=t.aS([{name:"a_pos3d",type:"Int16",components:3}]);class as extends t.E{constructor(e){super(),this._lastTilesetChange=c(),this.tileManager=e,this._tiles={},this._renderableTilesKeys=[],this._sourceTileCache={},this.minzoom=0,this.maxzoom=22,this.deltaZoom=1,this.tileSize=e._source.tileSize*2**this.deltaZoom,e.usedForTerrain=!0,e.tileSize=this.tileSize;}destruct(){this.tileManager.usedForTerrain=!1,this.tileManager.tileSize=null;}getSource(){return this.tileManager._source}update(e,i){this.tileManager.update(e,i),this._renderableTilesKeys=[];const o={};for(const a of Me(e,{tileSize:this.tileSize,minzoom:this.minzoom,maxzoom:this.maxzoom,reparseOverscaled:!1,terrain:i,calculateTileZoom:this.tileManager._source.calculateTileZoom}))o[a.key]=!0,this._renderableTilesKeys.push(a.key),this._tiles[a.key]||(a.terrainRttPosMatrix32f=new Float64Array(16),t.c7(a.terrainRttPosMatrix32f,0,t.a6,t.a6,0,0,1),this._tiles[a.key]=new de(a,this.tileSize),this._lastTilesetChange=c());for(const e in this._tiles)o[e]||delete this._tiles[e];}freeRtt(e){for(const t in this._tiles){const i=this._tiles[t];(!e||i.tileID.equals(e)||i.tileID.isChildOf(e)||e.isChildOf(i.tileID))&&(i.rtt=[]);}}getRenderableTiles(){return this._renderableTilesKeys.map((e=>this.getTileByID(e)))}getTileByID(e){return this._tiles[e]}getTerrainCoords(e,t){return t?this._getTerrainCoordsForTileRanges(e,t):this._getTerrainCoordsForRegularTile(e)}_getTerrainCoordsForRegularTile(e){const i={};for(const o of this._renderableTilesKeys){const a=this._tiles[o].tileID,r=e.clone(),s=t.bj();if(a.canonical.equals(e.canonical))t.c7(s,0,t.a6,t.a6,0,0,1);else if(a.canonical.isChildOf(e.canonical)){const i=a.canonical.z-e.canonical.z,o=a.canonical.x-(a.canonical.x>>i<>i<>i;t.c7(s,0,n,n,0,0,1),t.Q(s,s,[-o*n,-r*n,0]);}else {if(!e.canonical.isChildOf(a.canonical))continue;{const i=e.canonical.z-a.canonical.z,o=e.canonical.x-(e.canonical.x>>i<>i<>i;t.c7(s,0,t.a6,t.a6,0,0,1),t.Q(s,s,[o*n,r*n,0]),t.S(s,s,[1/2**i,1/2**i,0]);}}r.terrainRttPosMatrix32f=new Float32Array(s),i[o]=r;}return i}_getTerrainCoordsForTileRanges(e,i){const o={};for(const a of this._renderableTilesKeys){const r=this._tiles[a].tileID;if(!this._isWithinTileRanges(r,i))continue;const s=e.clone(),n=t.bj();if(r.canonical.z===e.canonical.z){const i=e.canonical.x-r.canonical.x+e.wrap*(1<e.canonical.z){const i=r.canonical.z-e.canonical.z,o=r.canonical.x-(r.canonical.x>>i<>i<>i),l=e.canonical.y-(r.canonical.y>>i),c=t.a6>>i;t.c7(n,0,c,c,0,0,1),t.Q(n,n,[-o*c+s*t.a6,-a*c+l*t.a6,0]);}else {const i=e.canonical.z-r.canonical.z,o=e.canonical.x-(e.canonical.x>>i<>i<>i)-r.canonical.x,l=(e.canonical.y>>i)-r.canonical.y,c=t.a6<a.maxzoom&&(r=a.maxzoom),r=a.minzoom&&!(null==s?void 0:s.dem);)s=this.findTileInCaches(e.scaledTo(r--).key);return s}findTileInCaches(e){let t=this.tileManager.getTileByID(e);return t||(t=this.tileManager._outOfViewCache.getByKey(e),t)}anyTilesAfterTime(e=Date.now()){return this._lastTilesetChange>=e}_isWithinTileRanges(e,t){const i=t[e.canonical.z];return !!i&&(e.wrap>i.minWrap||e.wrap=i.minTileXWrapped&&e.canonical.x<=i.maxTileXWrapped&&e.canonical.y>=i.minTileY&&e.canonical.y<=i.maxTileY)}}class rs{constructor(e,t,i){this._meshCache={},this.painter=e,this.tileManager=new as(t),this.options=i,this.exaggeration="number"==typeof i.exaggeration?i.exaggeration:1,this.qualityFactor=2,this.meshSize=128,this._demMatrixCache={},this.coordsIndex=[],this._coordsTextureSize=1024;}destroy(){this._fbo&&(this._fbo.destroy(),this._fbo=null),this._fboCoordsTexture&&(this._fboCoordsTexture.destroy(),this._fboCoordsTexture=null),this._fboDepthTexture&&(this._fboDepthTexture.destroy(),this._fboDepthTexture=null),this._emptyDemTexture&&(this._emptyDemTexture.destroy(),this._emptyDemTexture=null),this._emptyDepthTexture&&(this._emptyDepthTexture.destroy(),this._emptyDepthTexture=null),this._coordsTexture&&(this._coordsTexture.destroy(),this._coordsTexture=null);for(const e in this._meshCache)this._meshCache[e].destroy();this._meshCache={},this.tileManager.destruct();}getDEMElevation(e,i,o,a=t.a6){var r;const s=e.normalizeCoordinates(i,o,a);if(!s)return 0;const n=this.getTerrainData(s.tileID),l=null===(r=n.tile)||void 0===r?void 0:r.dem;if(!l)return 0;const c=t.cC([],[s.x/a*t.a6,s.y/a*t.a6],n.u_terrain_matrix),h=[c[0]*l.dim,c[1]*l.dim],u=Math.floor(h[0]),d=Math.floor(h[1]),_=h[0]-u,p=h[1]-d;return l.get(u,d)*(1-_)*(1-p)+l.get(u+1,d)*_*(1-p)+l.get(u,d+1)*(1-_)*p+l.get(u+1,d+1)*_*p}getElevationForLngLatZoom(e,i){if(!t.cD(i,e.wrap()))return 0;const{tileID:o,mercatorX:a,mercatorY:r}=this._getOverscaledTileIDFromLngLatZoom(e,i);return this.getElevation(o,a%t.a6,r%t.a6,t.a6)}getElevationForLngLat(e,t){const i=Me(t,{maxzoom:this.tileManager.maxzoom,minzoom:this.tileManager.minzoom,tileSize:512,terrain:this});let o=0;for(const e of i)e.canonical.z>o&&(o=Math.min(e.canonical.z,this.tileManager.maxzoom));return this.getElevationForLngLatZoom(e,o)}getElevation(e,i,o,a=t.a6){return this.getDEMElevation(e,i,o,a)*this.exaggeration}getTerrainData(e){var i,o;if(!this._emptyDemTexture){const e=this.painter.context,i=new t.R({width:1,height:1},new Uint8Array(4));this._emptyDepthTexture=new t.T(e,i,e.gl.RGBA,{premultiply:!1}),this._emptyDemUnpack=[0,0,0,0],this._emptyDemTexture=new t.T(e,new t.R({width:1,height:1}),e.gl.RGBA,{premultiply:!1}),this._emptyDemTexture.bind(e.gl.NEAREST,e.gl.CLAMP_TO_EDGE),this._emptyDemMatrix=t.ap([]);}const a=this.tileManager.getSourceTile(e,!0);if((null==a?void 0:a.dem)&&(!a.demTexture||a.needsTerrainPrepare)){const e=this.painter.context;a.demTexture=this.painter.getTileTexture(a.dem.stride),a.demTexture?a.demTexture.update(a.dem.getPixels(),{premultiply:!1}):a.demTexture=new t.T(e,a.dem.getPixels(),e.gl.RGBA,{premultiply:!1}),a.demTexture.bind(e.gl.NEAREST,e.gl.CLAMP_TO_EDGE),a.needsTerrainPrepare=!1;}const r=a&&a.toString()+a.tileID.key+e.key;if(r&&!this._demMatrixCache[r]){const i=this.tileManager.getSource().maxzoom;let o=e.canonical.z-a.tileID.canonical.z;e.overscaledZ>e.canonical.z&&(e.canonical.z>=i?o=e.canonical.z-i:t.w("cannot calculate elevation if elevation maxzoom > source.maxzoom"));const s=e.canonical.x-(e.canonical.x>>o<>o<>8<<4|e>>8,i[t+3]=0;const o=new t.R({width:this._coordsTextureSize,height:this._coordsTextureSize},new Uint8Array(i.buffer)),a=new t.T(e,o,e.gl.RGBA,{premultiply:!1});return a.bind(e.gl.NEAREST,e.gl.CLAMP_TO_EDGE),this._coordsTexture=a,a}pointCoordinate(e){this.painter.maybeDrawDepth(!0),this.painter.maybeDrawCoords();const i=new Uint8Array(4),o=this.painter.context,a=o.gl,r=Math.round(e.x*this.painter.pixelRatio/devicePixelRatio),s=Math.round(e.y*this.painter.pixelRatio/devicePixelRatio),n=Math.round(this.painter.height/devicePixelRatio);o.bindFramebuffer.set(this.getFramebuffer("coords").framebuffer),a.readPixels(r,n-s-1,1,1,a.RGBA,a.UNSIGNED_BYTE,i),o.bindFramebuffer.set(null);const l=i[0]+(i[2]>>4<<8),c=i[1]+((15&i[2])<<8),h=this.coordsIndex[255-i[3]],u=h&&this.tileManager.getTileByID(h);if(!u)return null;const d=this._coordsTextureSize,_=(1<0,a=o&&0===e.canonical.y,r=o&&e.canonical.y===(1<e.id!==t)),this._recentlyUsed.push(e.id);}stampObject(e){e.stamp=++this._stamp;}getOrCreateFreeObject(){for(const e of this._recentlyUsed)if(!this._objects[e].inUse)return this._objects[e];if(this._objects.length>=this._size)throw new Error("No free RenderPool available, call freeAllObjects() required!");const e=this._createObject(this._objects.length);return this._objects.push(e),e}freeObject(e){e.inUse=!1;}freeAllObjects(){for(const e of this._objects)this.freeObject(e);}isFull(){return !(this._objects.length!e.inUse))}}const ns={background:!0,fill:!0,line:!0,raster:!0,hillshade:!0,"color-relief":!0};class ls{constructor(e,t){this.painter=e,this.terrain=t,this.pool=new ss(e.context,30,t.tileManager.tileSize*t.qualityFactor);}destruct(){this.pool.destruct();}getTexture(e){return this.pool.getObjectForId(e.rtt[this._stacks.length-1].id).texture}prepareForRender(e,t){var i,o,a;this._stacks=[],this._prevType=null,this._rttTiles=[],this._renderableTiles=this.terrain.tileManager.getRenderableTiles(),this._renderableLayerIds=e._order.filter((i=>!e._layers[i].isHidden(t))),this._coordsAscending={};for(const t in e.tileManagers){this._coordsAscending[t]={};const i=e.tileManagers[t].getVisibleCoordinates(),o=e.tileManagers[t].getSource(),r=o instanceof te?o.terrainTileRanges:null;for(const e of i){const i=this.terrain.tileManager.getTerrainCoords(e,r);for(const e in i)(a=this._coordsAscending[t])[e]||(a[e]=[]),this._coordsAscending[t][e].push(i[e]);}}this._rttFingerprints={};for(const t of e._order){const a=e._layers[t],r=a.source;if(ns[a.type]&&!this._rttFingerprints[r]){this._rttFingerprints[r]={};const t=null!==(o=null===(i=e.tileManagers[r])||void 0===i?void 0:i.getState().revision)&&void 0!==o?o:0;for(const e in this._coordsAscending[r])this._rttFingerprints[r][e]=`${this._coordsAscending[r][e].map((e=>e.key)).sort().join()}#${t}`;}}for(const e of this._renderableTiles)for(const t in this._rttFingerprints){const i=this._rttFingerprints[t][e.tileID.key];i&&i!==e.rttFingerprint[t]&&(e.rtt=[]);}}renderLayer(e,i){if(e.isHidden(this.painter.transform.zoom))return !1;const o=Object.assign(Object.assign({},i),{isRenderingToTexture:!0}),a=e.type,r=this.painter,s=this._renderableLayerIds[this._renderableLayerIds.length-1]===e.id;if(ns[a]&&(this._prevType&&ns[this._prevType]||this._stacks.push([]),this._prevType=a,this._stacks[this._stacks.length-1].push(e.id),!s))return !0;if(ns[this._prevType]||ns[a]&&s){this._prevType=a;const e=this._stacks.length-1,i=this._stacks[e]||[];for(const a of this._renderableTiles){if(this.pool.isFull()&&(qa(this.painter,this.terrain,this._rttTiles,o),this._rttTiles=[],this.pool.freeAllObjects()),this._rttTiles.push(a),a.rtt[e]){const t=this.pool.getObjectForId(a.rtt[e].id);if(t.stamp===a.rtt[e].stamp){this.pool.useObject(t);continue}}const s=this.pool.getOrCreateFreeObject();this.pool.useObject(s),this.pool.stampObject(s),a.rtt[e]={id:s.id,stamp:s.stamp},r.context.bindFramebuffer.set(s.fbo.framebuffer),r.context.clear({color:t.bo.transparent,stencil:0}),r.currentStencilSource=void 0;for(const e of i){const t=r.style._layers[e],i=t.source?this._coordsAscending[t.source][a.tileID.key]:[a.tileID];r.context.viewport.set([0,0,s.fbo.width,s.fbo.height]),r._renderTileClippingMasks(t,i,!0),r.renderLayer(r,r.style.tileManagers[t.source],t,i,o),t.source&&(a.rttFingerprint[t.source]=this._rttFingerprints[t.source][a.tileID.key]);}}return qa(this.painter,this.terrain,this._rttTiles,o),this._rttTiles=[],this.pool.freeAllObjects(),ns[a]}return !1}}const cs={"AttributionControl.ToggleAttribution":"Toggle attribution","AttributionControl.MapFeedback":"Map feedback","FullscreenControl.Enter":"Enter fullscreen","FullscreenControl.Exit":"Exit fullscreen","GeolocateControl.FindMyLocation":"Find my location","GeolocateControl.LocationNotAvailable":"Location not available","LogoControl.Title":"MapLibre logo","Map.Title":"Map","Marker.Title":"Map marker","NavigationControl.ResetBearing":"Drag to rotate map, click to reset north","NavigationControl.ZoomIn":"Zoom in","NavigationControl.ZoomOut":"Zoom out","Popup.Close":"Close popup","ScaleControl.Feet":"ft","ScaleControl.Meters":"m","ScaleControl.Kilometers":"km","ScaleControl.Miles":"mi","ScaleControl.NauticalMiles":"nm","GlobeControl.Enable":"Enable globe","GlobeControl.Disable":"Disable globe","TerrainControl.Enable":"Enable terrain","TerrainControl.Disable":"Disable terrain","CooperativeGesturesHandler.WindowsHelpText":"Use Ctrl + scroll to zoom the map","CooperativeGesturesHandler.MacHelpText":"Use ⌘ + scroll to zoom the map","CooperativeGesturesHandler.MobileHelpText":"Use two fingers to move the map"},hs=i,us={hash:!1,interactive:!0,bearingSnap:7,zoomSnap:0,attributionControl:Jr,maplibreLogo:!1,refreshExpiredTiles:!0,canvasContextAttributes:{antialias:!1,preserveDrawingBuffer:!1,powerPreference:"high-performance",failIfMajorPerformanceCaveat:!1,desynchronized:!1,contextType:void 0},scrollZoom:!0,minZoom:-2,maxZoom:22,minPitch:0,maxPitch:60,boxZoom:!0,dragRotate:!0,dragPan:!0,keyboard:!0,doubleClickZoom:!0,touchZoomRotate:!0,touchPitch:!0,cooperativeGestures:!1,trackResize:!0,center:[0,0],elevation:0,zoom:0,bearing:0,pitch:0,roll:0,renderWorldCopies:!0,maxTileCacheSize:null,maxTileCacheZoomLevels:t.c.MAX_TILE_CACHE_ZOOM_LEVELS,transformRequest:null,transformCameraUpdate:null,transformConstrain:null,fadeDuration:300,crossSourceCollisions:!0,clickTolerance:3,localIdeographFontFamily:"sans-serif",pitchWithRotate:!0,rollEnabled:!1,reduceMotion:void 0,validateStyle:!0,maxCanvasSize:[4096,4096],cancelPendingTileRequestsWhileZooming:!0,centerClampedToGround:!0,experimentalZoomLevelsToOverscale:void 0,anisotropicFilterPitch:20};let ds=class extends Qr{get _ownerWindow(){var e,t;return (null===(t=null===(e=this._container)||void 0===e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView)||window}constructor(e){var i,o,a;const r=Object.assign(Object.assign(Object.assign({},us),e),{canvasContextAttributes:Object.assign(Object.assign({},us.canvasContextAttributes),e.canvasContextAttributes)});if(null!=r.minZoom&&null!=r.maxZoom&&r.minZoom>r.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(null!=r.minPitch&&null!=r.maxPitch&&r.minPitch>r.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(null!=r.minPitch&&r.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(null!=r.maxPitch&&r.maxPitch>180)throw new Error("maxPitch must be less than or equal to 180");const s=new Xt,l=new Jt;void 0!==r.minZoom&&s.setMinZoom(r.minZoom),void 0!==r.maxZoom&&s.setMaxZoom(r.maxZoom),void 0!==r.minPitch&&s.setMinPitch(r.minPitch),void 0!==r.maxPitch&&s.setMaxPitch(r.maxPitch),void 0!==r.renderWorldCopies&&s.setRenderWorldCopies(r.renderWorldCopies),null!==r.transformConstrain&&s.setConstrainOverride(r.transformConstrain),super(s,l,{bearingSnap:r.bearingSnap,zoomSnap:r.zoomSnap}),this._idleTriggered=!1,this._crossFadingFactor=1,this._renderTaskQueue=new is,this._controls=[],this._mapId=t.ad(),this._lostContextStyle={style:null,images:null},this._contextLost=e=>{if(e.preventDefault(),this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this.painter.destroy(),this._lostContextStyle=this._getStyleAndImages(),this.style){for(const e of Object.values(this.style._layers))if("custom"===e.type&&console.warn(`Custom layer with id '${e.id}' cannot be restored after WebGL context loss. You will need to re-add it manually after context restoration.`),e._listeners)for(const[t]of Object.entries(e._listeners))console.warn(`Custom layer with id '${e.id}' had event listeners for event '${t}' which cannot be restored after WebGL context loss. You will need to re-add them manually after context restoration.`);this.style.destroy(),this.style=null,this.fire(new t.n("webglcontextlost",{originalEvent:e}));}else this.fire(new t.n("webglcontextlost",{originalEvent:e}));},this._contextRestored=e=>{this._lostContextStyle.style&&this.setStyle(this._lostContextStyle.style,{diff:!1}),this._lostContextStyle.images&&this.style&&(this.style.imageManager.images=this._lostContextStyle.images),this._lostContextStyle={style:null,images:null},this._setupPainter(),this.resize(),this._update(),this._resizeInternal(),this.fire(new t.n("webglcontextrestored",{originalEvent:e}));},this._onMapScroll=e=>{if(e.target===this._container)return this._container.scrollTop=0,this._container.scrollLeft=0,!1},this._onWindowOnline=()=>{this._update();},this._interactive=r.interactive,this._maxTileCacheSize=r.maxTileCacheSize,this._maxTileCacheZoomLevels=r.maxTileCacheZoomLevels,this._canvasContextAttributes=Object.assign({},r.canvasContextAttributes),this._trackResize=!0===r.trackResize,this._bearingSnap=r.bearingSnap,this._zoomSnap=r.zoomSnap,this._centerClampedToGround=r.centerClampedToGround,this._refreshExpiredTiles=!0===r.refreshExpiredTiles,this._fadeDuration=r.fadeDuration,this._crossSourceCollisions=!0===r.crossSourceCollisions,this._collectResourceTiming=!0===r.collectResourceTiming,this._locale=Object.assign(Object.assign({},cs),r.locale),this._clickTolerance=r.clickTolerance,this._overridePixelRatio=r.pixelRatio,this._maxCanvasSize=r.maxCanvasSize,this._zoomLevelsToOverscale=r.experimentalZoomLevelsToOverscale,this.transformCameraUpdate=r.transformCameraUpdate,this.transformConstrain=r.transformConstrain,this.cancelPendingTileRequestsWhileZooming=!0===r.cancelPendingTileRequestsWhileZooming,this.setAnisotropicFilterPitch(r.anisotropicFilterPitch),void 0!==r.reduceMotion&&(n.prefersReducedMotion=r.reduceMotion),this._imageQueueHandle=u.addThrottleControl((()=>this.isMoving())),this._requestManager=new _(r.transformRequest),this._container=this._resolveContainer(r.container),r.maxBounds&&this.setMaxBounds(r.maxBounds),this._setupContainer(),this._setupPainter(),this.on("move",(()=>this._update(!1))),this.on("moveend",(()=>this._update(!1))),this.on("zoom",(()=>this._update(!0))),this.on("terrain",(()=>{this.painter.terrainFacilitator.depthDirty=!0,this._update(!0);})),this.once("idle",(()=>this._idleTriggered=!0)),"undefined"!=typeof window&&(this._ownerWindow.addEventListener("online",this._onWindowOnline,!1),this._setupResizeObserver()),this.handlers=new Yr(this,r),this._hash=r.hash?new Ya("string"==typeof r.hash&&r.hash||void 0).addTo(this):void 0,(null===(i=this._hash)||void 0===i?void 0:i._onHashChange())||(this.jumpTo({center:r.center,elevation:r.elevation,zoom:r.zoom,bearing:r.bearing,pitch:r.pitch,roll:r.roll}),r.bounds&&(this.resize(),this.fitBounds(r.bounds,t.e({},r.fitBoundsOptions,{duration:0}))));const c="string"==typeof r.style||!("globe"===(null===(a=null===(o=r.style)||void 0===o?void 0:o.projection)||void 0===a?void 0:a.type));this.resize(null,c),this._localIdeographFontFamily=r.localIdeographFontFamily,this._validateStyle=r.validateStyle,r.style&&this.setStyle(r.style,{localIdeographFontFamily:r.localIdeographFontFamily}),r.attributionControl&&this.addControl(new es("boolean"==typeof r.attributionControl?void 0:r.attributionControl)),r.maplibreLogo&&this.addControl(new ts,r.logoPosition),this.on("style.load",(()=>{if(c||this._resizeTransform(),this.transform.unmodified){const e=t.V(this.style.stylesheet,["center","zoom","bearing","pitch","roll"]);this.jumpTo(e);}})),this.on("data",(e=>{this._update("style"===e.dataType),this.fire(new t.n(`${e.dataType}data`,e));})),this.on("dataloading",(e=>{this.fire(new t.n(`${e.dataType}dataloading`,e));})),this.on("dataabort",(e=>{this.fire(new t.n("sourcedataabort",e));}));}_getMapId(){return this._mapId}setGlobalStateProperty(e,t){return this.style.setGlobalStateProperty(e,t),this._update(!0)}getGlobalState(){return this.style.getGlobalState()}addControl(e,i){if(void 0===i&&(i=e.getDefaultPosition?e.getDefaultPosition():"top-right"),!(null==e?void 0:e.onAdd))return this.fire(new t.l(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));const o=e.onAdd(this);this._controls.push(e);const a=this._controlPositions[i];return i.includes("bottom")?a.insertBefore(o,a.firstChild):a.appendChild(o),this}removeControl(e){if(!(null==e?void 0:e.onRemove))return this.fire(new t.l(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));const i=this._controls.indexOf(e);return i>-1&&this._controls.splice(i,1),e.onRemove(this),this}hasControl(e){return this._controls.includes(e)}coveringTiles(e){return Me(this.transform,e)}calculateCameraOptionsFromTo(e,t,i,o){return null==o&&this.terrain&&(o=this.terrain.getElevationForLngLat(i,this.transform)),super.calculateCameraOptionsFromTo(e,t,i,o)}resize(e,i=!0){if(null!==this._lostContextStyle.style)return this;this._resizeInternal(i);const o=!this._moving;return o&&(this.stop(),this.fire(new t.n("movestart",e)).fire(new t.n("move",e))),this.fire(new t.n("resize",e)),o&&this.fire(new t.n("moveend",e)),this}_resizeInternal(e=!0){const[t,i]=this._containerDimensions(),o=this._getClampedPixelRatio(t,i);if(this._resizeCanvas(t,i,o),this.painter.resize(t,i,o),this.painter.overLimit()){const e=this.painter.context.gl;this._maxCanvasSize=[e.drawingBufferWidth,e.drawingBufferHeight];const o=this._getClampedPixelRatio(t,i);this._resizeCanvas(t,i,o),this.painter.resize(t,i,o);}this._resizeTransform(e);}_resizeTransform(e=!0){var t;const[i,o]=this._containerDimensions();this.transform.resize(i,o,e),null===(t=this._requestedCameraState)||void 0===t||t.resize(i,o,e);}_getClampedPixelRatio(e,t){const{0:i,1:o}=this._maxCanvasSize,a=this.getPixelRatio(),r=e*a,s=t*a;return Math.min(r>i?i/r:1,s>o?o/s:1)*a}getPixelRatio(){var e;return null!==(e=this._overridePixelRatio)&&void 0!==e?e:devicePixelRatio}setPixelRatio(e){this._overridePixelRatio=e,this.resize();}getBounds(){return this.transform.getBounds()}getMaxBounds(){return this.transform.getMaxBounds()}setMaxBounds(e){return this.transform.setMaxBounds(G.convert(e)),this._update()}setMinZoom(e){if((e=null==e?-2:e)>=-2&&e<=this.transform.maxZoom){const i=this.transform.zoom,o=this._getTransformForUpdate();return o.setMinZoom(e),this._applyUpdatedTransform(o),this._update(),i!==this.transform.zoom&&this.fire(new t.n("zoomstart")).fire(new t.n("zoom")).fire(new t.n("zoomend")).fire(new t.n("movestart")).fire(new t.n("move")).fire(new t.n("moveend")),this}throw new Error("minZoom must be between -2 and the current maxZoom, inclusive")}getMinZoom(){return this.transform.minZoom}setMaxZoom(e){if((e=null==e?22:e)>=this.transform.minZoom){const i=this.transform.zoom,o=this._getTransformForUpdate();return o.setMaxZoom(e),this._applyUpdatedTransform(o),this._update(),i!==this.transform.zoom&&this.fire(new t.n("zoomstart")).fire(new t.n("zoom")).fire(new t.n("zoomend")).fire(new t.n("movestart")).fire(new t.n("move")).fire(new t.n("moveend")),this}throw new Error("maxZoom must be greater than the current minZoom")}getMaxZoom(){return this.transform.maxZoom}setMinPitch(e){if((e=null==e?0:e)<0)throw new Error("minPitch must be greater than or equal to 0");if(e>=0&&e<=this.transform.maxPitch){const i=this.transform.pitch,o=this._getTransformForUpdate();return o.setMinPitch(e),this._applyUpdatedTransform(o),this._update(),i!==this.transform.pitch&&this.fire(new t.n("pitchstart")).fire(new t.n("pitch")).fire(new t.n("pitchend")).fire(new t.n("movestart")).fire(new t.n("move")).fire(new t.n("moveend")),this}throw new Error("minPitch must be between 0 and the current maxPitch, inclusive")}getMinPitch(){return this.transform.minPitch}setMaxPitch(e){if((e=null==e?60:e)>180)throw new Error("maxPitch must be less than or equal to 180");if(e>=this.transform.minPitch){const i=this.transform.pitch,o=this._getTransformForUpdate();return o.setMaxPitch(e),this._applyUpdatedTransform(o),this._update(),i!==this.transform.pitch&&this.fire(new t.n("pitchstart")).fire(new t.n("pitch")).fire(new t.n("pitchend")).fire(new t.n("movestart")).fire(new t.n("move")).fire(new t.n("moveend")),this}throw new Error("maxPitch must be greater than the current minPitch")}getMaxPitch(){return this.transform.maxPitch}getAnisotropicFilterPitch(){return this._anisotropicFilterPitch}setAnisotropicFilterPitch(e){if((e=null==e?20:e)>180)throw new Error("anisotropicFilterPitch must be less than or equal to 180");if(e<0)throw new Error("anisotropicFilterPitch must be greater than or equal to 0");return this._anisotropicFilterPitch=e,this._update()}getRenderWorldCopies(){return this.transform.renderWorldCopies}setRenderWorldCopies(e){return this.transform.setRenderWorldCopies(e),this._update()}setTransformConstrain(e){return this.transform.setConstrainOverride(e),this._update()}project(e){return this.transform.locationToScreenPoint(t.W.convert(e),this.style&&this.terrain)}unproject(e){return this.transform.screenPointToLocation(t.P.convert(e),this.terrain)}isMoving(){var e;return this._moving||(null===(e=this.handlers)||void 0===e?void 0:e.isMoving())}isZooming(){var e;return this._zooming||(null===(e=this.handlers)||void 0===e?void 0:e.isZooming())}isRotating(){var e;return this._rotating||(null===(e=this.handlers)||void 0===e?void 0:e.isRotating())}_createDelegatedListener(e,t,i){if("mouseenter"===e||"mouseover"===e){let o=!1;const a=a=>{const r=t.filter((e=>this.getLayer(e))),s=0!==r.length?this.queryRenderedFeatures(a.point,{layers:r}):[];s.length?o||(o=!0,i.call(this,new nr(e,this,a.originalEvent,{features:s}))):o=!1;};return {layers:t,listener:i,delegates:{mousemove:a,mouseout:()=>{o=!1;}}}}if("mouseleave"===e||"mouseout"===e){let o=!1;const a=a=>{const r=t.filter((e=>this.getLayer(e)));(0!==r.length?this.queryRenderedFeatures(a.point,{layers:r}):[]).length?o=!0:o&&(o=!1,i.call(this,new nr(e,this,a.originalEvent)));},r=t=>{o&&(o=!1,i.call(this,new nr(e,this,t.originalEvent)));};return {layers:t,listener:i,delegates:{mousemove:a,mouseout:r}}}{const o=e=>{const o=t.filter((e=>this.getLayer(e))),a=0!==o.length?this.queryRenderedFeatures(e.point,{layers:o}):[];a.length&&(e.features=a,i.call(this,e),delete e.features);};return {layers:t,listener:i,delegates:{[e]:o}}}}_saveDelegatedListener(e,t){var i;this._delegatedListeners||(this._delegatedListeners={}),(i=this._delegatedListeners)[e]||(i[e]=[]),this._delegatedListeners[e].push(t);}_removeDelegatedListener(e,t,i){var o;if(!(null===(o=this._delegatedListeners)||void 0===o?void 0:o[e]))return;const a=this._delegatedListeners[e];for(let e=0;et.includes(e)))){for(const e in o.delegates)this.off(e,o.delegates[e]);return void a.splice(e,1)}}}on(e,t,i){if(void 0===i)return super.on(e,t);const o="string"==typeof t?[t]:t,a=this._createDelegatedListener(e,o,i);this._saveDelegatedListener(e,a);for(const e in a.delegates)this.on(e,a.delegates[e]);return {unsubscribe:()=>{this._removeDelegatedListener(e,o,i);}}}once(e,t,i){if(void 0===i)return super.once(e,t);const o="string"==typeof t?[t]:t,a=this._createDelegatedListener(e,o,i);for(const t in a.delegates){const r=a.delegates[t];a.delegates[t]=(...t)=>{this._removeDelegatedListener(e,o,i),r(...t);};}this._saveDelegatedListener(e,a);for(const e in a.delegates)this.once(e,a.delegates[e]);return this}off(e,t,i){return void 0===i?super.off(e,t):(this._removeDelegatedListener(e,"string"==typeof t?[t]:t,i),this)}queryRenderedFeatures(e,i){if(!this.style)return [];let o;const a=e instanceof t.P||Array.isArray(e),r=a?e:[[0,0],[this.transform.width,this.transform.height]];if(i||(i=(a?{}:e)||{}),r instanceof t.P||"number"==typeof r[0])o=[t.P.convert(r)];else {const e=t.P.convert(r[0]),i=t.P.convert(r[1]);o=[e,new t.P(i.x,e.y),i,new t.P(e.x,i.y),e];}return this.style.queryRenderedFeatures(o,i,this.transform)}querySourceFeatures(e,t){return this.style.querySourceFeatures(e,t)}setStyle(e,i){return !1!==(i=t.e({},{localIdeographFontFamily:this._localIdeographFontFamily,validate:this._validateStyle},i)).diff&&i.localIdeographFontFamily===this._localIdeographFontFamily&&this.style&&e?(this._diffStyle(e,i),this):(this._localIdeographFontFamily=i.localIdeographFontFamily,this._updateStyle(e,i))}setTransformRequest(e){return this._requestManager.setTransformRequest(e),this}_getUIString(e){const t=this._locale[e];if(null==t)throw new Error(`Missing UI string '${e}'`);return t}_updateStyle(e,t){var i,o,a;if(null===(i=this._diffStyleRequest)||void 0===i||i.abort(),this._diffStyleRequest=null,t.transformStyle&&this.style&&!this.style._loaded)return void this.style.once("style.load",(()=>this._updateStyle(e,t)));const r=this.style&&t.transformStyle?this.style.serialize():void 0;return this.style&&(this.style.setEventedParent(null),this.style._remove(!e)),e?(this.style=new ki(this,t||{}),this.style.setEventedParent(this,{style:this.style}),"string"==typeof e?this.style.loadURL(e,t,r):this.style.loadJSON(e,t,r),this):(this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),null===(a=null===(o=this.style)||void 0===o?void 0:o.projection)||void 0===a||a.destroy(),delete this.style,this)}_lazyInitEmptyStyle(){this.style||(this.style=new ki(this,{}),this.style.setEventedParent(this,{style:this.style}),this.style.loadEmpty());}_diffStyle(e,i){return t._(this,void 0,void 0,(function*(){var o;if(null===(o=this._diffStyleRequest)||void 0===o||o.abort(),"string"==typeof e){const o=e;this._diffStyleRequest=new AbortController;const a=this._diffStyleRequest;try{const e=yield this._requestManager.transformRequest(o,"Style");if(a.signal.aborted)return void(this._diffStyleRequest=null);const r=yield t.k(e,a);this._diffStyleRequest=null,this._updateDiff(r.data,i);}catch(e){this._diffStyleRequest=null,t.$(e)||this.fire(new t.l(t.d(e)));}}else "object"==typeof e&&(this._diffStyleRequest=null,this._updateDiff(e,i));}))}_updateDiff(e,i){try{this.style.setState(e,i)&&this._update(!0);}catch(o){t.w(`Unable to perform style diff: ${t.d(o).message}. Rebuilding the style from scratch.`),this._updateStyle(e,i);}}getStyle(){if(this.style)return this.style.serialize()}_getStyleAndImages(){return this.style?{style:this.style.serialize(),images:this.style.imageManager.cloneImages()}:{style:null,images:{}}}isStyleLoaded(){if(this.style)return this.style.loaded();t.w("There is no style added to the map.");}addSource(e,t){return this._lazyInitEmptyStyle(),this.style.addSource(e,t),this._update(!0)}isSourceLoaded(e){var i;const o=null===(i=this.style)||void 0===i?void 0:i.tileManagers[e];if(void 0!==o)return o.loaded();this.fire(new t.l(new Error(`There is no tile manager with ID '${e}'`)));}setTerrain(e){if(this.style._checkLoaded(),this._terrainDataCallback&&this.style.off("data",this._terrainDataCallback),e){const i=this.style.tileManagers[e.source];if(!i)throw new Error(`cannot load terrain, because there exists no source with ID: ${e.source}`);null===this.terrain&&i.reload();for(const i in this.style._layers){const o=this.style._layers[i];"hillshade"===o.type&&o.source===e.source&&t.w("You are using the same source for a hillshade layer and for 3D terrain. Please consider using two separate sources to improve rendering quality."),"color-relief"===o.type&&o.source===e.source&&t.w("You are using the same source for a color-relief layer and for 3D terrain. Please consider using two separate sources to improve rendering quality.");}this.terrain=new rs(this.painter,i,e),this.painter.renderToTexture=new ls(this.painter,this.terrain),this.transform.setMinElevationForCurrentTile(this.terrain.getMinTileElevationForLngLatZoom(this.transform.center,this.transform.tileZoom)),this.transform.setElevation(this.terrain.getElevationForLngLatZoom(this.transform.center,this.transform.tileZoom)),this._terrainDataCallback=t=>{var i;"style"===t.dataType?this.terrain.tileManager.freeRtt():"source"===t.dataType&&t.tile&&(t.sourceId!==e.source||this._elevationFreeze||(this.transform.setMinElevationForCurrentTile(this.terrain.getMinTileElevationForLngLatZoom(this.transform.center,this.transform.tileZoom)),this._centerClampedToGround&&this.transform.setElevation(this.terrain.getElevationForLngLatZoom(this.transform.center,this.transform.tileZoom))),"image"===(null===(i=t.source)||void 0===i?void 0:i.type)?this.terrain.tileManager.freeRtt():this.terrain.tileManager.freeRtt(t.tile.tileID));},this.style.on("data",this._terrainDataCallback);}else this.terrain&&this.terrain.destroy(),this.terrain=null,this.painter.renderToTexture&&this.painter.renderToTexture.destruct(),this.painter.renderToTexture=null,this.transform.setMinElevationForCurrentTile(0),this._centerClampedToGround&&this.transform.setElevation(0);return this.fire(new t.n("terrain",{terrain:e})),this}getTerrain(){var e,t;return null!==(t=null===(e=this.terrain)||void 0===e?void 0:e.options)&&void 0!==t?t:null}areTilesLoaded(){var e;const t=null===(e=this.style)||void 0===e?void 0:e.tileManagers;for(const e of Object.values(t))if(!e.areTilesLoaded())return !1;return !0}removeSource(e){return this.style.removeSource(e),this._update(!0)}getSource(e){return this.style.getSource(e)}setSourceTileLodParams(e,t,i){if(i){const o=this.getSource(i);if(!o)throw new Error(`There is no source with ID "${i}", cannot set LOD parameters`);o.calculateTileZoom=Te(Math.max(1,e),Math.max(1,t));}else for(const i in this.style.tileManagers)this.style.tileManagers[i].getSource().calculateTileZoom=Te(Math.max(1,e),Math.max(1,t));return this._update(!0),this}refreshTiles(e,i){const o=this.style.tileManagers[e];if(!o)throw new Error(`There is no tile manager with ID "${e}", cannot refresh tile`);void 0===i?o.reload(!0):o.refreshTiles(i.map((e=>new t.aa(e.z,e.x,e.y))));}addImage(e,i,o={}){const{pixelRatio:a=1,sdf:r=!1,stretchX:s,stretchY:l,content:c,textFitWidth:h,textFitHeight:u}=o;if(this._lazyInitEmptyStyle(),!(i instanceof HTMLImageElement||t.b(i))){if(void 0===i.width||void 0===i.height)return this.fire(new t.l(new Error("Invalid arguments to map.addImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));{const{width:o,height:n,data:d}=i,_=i;return this.style.addImage(e,{data:new t.R({width:o,height:n},new Uint8Array(d)),pixelRatio:a,stretchX:s,stretchY:l,content:c,textFitWidth:h,textFitHeight:u,sdf:r,version:0,userImage:_}),_.onAdd&&_.onAdd(this,e),this}}{const{width:o,height:d,data:_}=n.getImageData(i);this.style.addImage(e,{data:new t.R({width:o,height:d},_),pixelRatio:a,stretchX:s,stretchY:l,content:c,textFitWidth:h,textFitHeight:u,sdf:r,version:0});}}updateImage(e,i){const o=this.style.getImage(e);if(!o)return this.fire(new t.l(new Error("The map has no image with that id. If you are adding a new image use `map.addImage(...)` instead.")));const a=i instanceof HTMLImageElement||t.b(i)?n.getImageData(i):i,{width:r,height:s,data:l}=a;if(void 0===r||void 0===s)return this.fire(new t.l(new Error("Invalid arguments to map.updateImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));if(r!==o.data.width||s!==o.data.height)return this.fire(new t.l(new Error("The width and height of the updated image must be that same as the previous version of the image")));const c=!(i instanceof HTMLImageElement||t.b(i));return o.data.replace(l,c),this.style.updateImage(e,o),this}getImage(e){return this.style.getImage(e)}hasImage(e){return e?!!this.style.getImage(e):(this.fire(new t.l(new Error("Missing required image id"))),!1)}removeImage(e){this.style.removeImage(e);}loadImage(e){return t._(this,void 0,void 0,(function*(){return u.getImage(yield this._requestManager.transformRequest(e,"Image"),new AbortController)}))}listImages(){return this.style.listImages()}addLayer(e,t){return this._lazyInitEmptyStyle(),this.style.addLayer(e,t),this._update(!0)}moveLayer(e,t){return this.style.moveLayer(e,t),this._update(!0)}removeLayer(e){return this.style.removeLayer(e),this._update(!0)}getLayer(e){return this.style.getLayer(e)}getLayersOrder(){return this.style.getLayersOrder()}setLayerZoomRange(e,t,i){return this.style.setLayerZoomRange(e,t,i),this._update(!0)}setFilter(e,t,i={}){return this.style.setFilter(e,t,i),this._update(!0)}getFilter(e){return this.style.getFilter(e)}setPaintProperty(e,t,i,o={}){return this.style.setPaintProperty(e,t,i,o),this._update(!0)}getPaintProperty(e,t){return this.style.getPaintProperty(e,t)}setLayoutProperty(e,t,i,o={}){return this.style.setLayoutProperty(e,t,i,o),this._update(!0)}getLayoutProperty(e,t){return this.style.getLayoutProperty(e,t)}setGlyphs(e,t={}){return this._lazyInitEmptyStyle(),this.style.setGlyphs(e,t),this._update(!0)}getGlyphs(){return this.style.getGlyphsUrl()}addSprite(e,t,i={}){return this._lazyInitEmptyStyle(),this.style.addSprite(e,t,i,(e=>{e||this._update(!0);})),this}removeSprite(e){return this._lazyInitEmptyStyle(),this.style.removeSprite(e),this._update(!0)}getSprite(){return this.style.getSprite()}setSprite(e,t={}){return this._lazyInitEmptyStyle(),this.style.setSprite(e,t,(e=>{e||this._update(!0);})),this}setLight(e,t={}){return this._lazyInitEmptyStyle(),this.style.setLight(e,t),this._update(!0)}getLight(){return this.style.getLight()}setSky(e,t={}){return this._lazyInitEmptyStyle(),this.style.setSky(e,t),this._update(!0)}getSky(){return this.style.getSky()}setFeatureState(e,t){return this.style.setFeatureState(e,t),this._update()}removeFeatureState(e,t){return this.style.removeFeatureState(e,t),this._update()}getFeatureState(e){return this.style.getFeatureState(e)}getContainer(){return this._container}getCanvasContainer(){return this._canvasContainer}getCanvas(){return this._canvas}_containerDimensions(){let e=0,t=0;return this._container&&(e=this._container.clientWidth||400,t=this._container.clientHeight||300),[e,t]}_setupResizeObserver(){var e;let t=!1;const i=Ka((e=>{this._trackResize&&!this._removed&&(this.resize(e),this.redraw());}),50),o=null!==(e=this._ownerWindow.ResizeObserver)&&void 0!==e?e:ResizeObserver;this._resizeObserver=new o((e=>{t?i(e):t=!0;})),this._resizeObserver.observe(this._container);}_resolveContainer(e){if("string"==typeof e){const t=document.getElementById(e);if(!t)throw new Error(`Container '${e}' not found.`);return t}if(e instanceof HTMLElement)return e;if(e&&"object"==typeof e&&1===e.nodeType)return e;throw new Error("Invalid type: 'container' must be a String or HTMLElement.")}_setupContainer(){const e=this._container;e.classList.add("maplibregl-map");const t=this._canvasContainer=d.create("div","maplibregl-canvas-container",e);this._interactive&&t.classList.add("maplibregl-interactive"),this._canvas=d.create("canvas","maplibregl-canvas",t),this._canvas.addEventListener("webglcontextlost",this._contextLost,!1),this._canvas.addEventListener("webglcontextrestored",this._contextRestored,!1),this._canvas.setAttribute("tabindex",this._interactive?"0":"-1"),this._canvas.setAttribute("aria-label",this._getUIString("Map.Title")),this._canvas.setAttribute("role","region");const i=this._containerDimensions(),o=this._getClampedPixelRatio(i[0],i[1]);this._resizeCanvas(i[0],i[1],o);const a=this._controlContainer=d.create("div","maplibregl-control-container",e),r=this._controlPositions={};for(const e of ["top-left","top-right","bottom-left","bottom-right"])r[e]=d.create("div",`maplibregl-ctrl-${e} `,a);this._container.addEventListener("scroll",this._onMapScroll,!1);}_resizeCanvas(e,t,i){this._canvas.width=Math.floor(i*e),this._canvas.height=Math.floor(i*t),this._canvas.style.width=`${e}px`,this._canvas.style.height=`${t}px`;}_setupPainter(){const e=Object.assign(Object.assign({},this._canvasContextAttributes),{alpha:!0,depth:!0,stencil:!0,premultipliedAlpha:!0});let t=null;this._canvas.addEventListener("webglcontextcreationerror",(i=>{t={requestedAttributes:e},i&&(t.statusMessage=i.statusMessage,t.type=i.type);}),{once:!0});let i=null;if(i=this._canvasContextAttributes.contextType?this._canvas.getContext(this._canvasContextAttributes.contextType,e):this._canvas.getContext("webgl2",e)||this._canvas.getContext("webgl",e),!i){const e="Failed to initialize WebGL";throw t?(t.message=e,new Error(JSON.stringify(t))):new Error(e)}this.painter=new Xa(i,this.transform);}migrateProjection(e,i){super.migrateProjection(e,i),this.painter.transform=e,this.fire(new t.n("projectiontransition",{newProjection:this.style.projection.name}));}loaded(){return !this._styleDirty&&!this._sourcesDirty&&!!this.style&&this.style.loaded()}_update(e){var t;return (null===(t=this.style)||void 0===t?void 0:t._loaded)?(this._styleDirty||(this._styleDirty=e),this._sourcesDirty=!0,this.triggerRepaint(),this):this}_requestRenderFrame(e){return this._update(),this._renderTaskQueue.add(e)}_cancelRenderFrame(e){this._renderTaskQueue.remove(e);}_render(e){var i,o,a,r,s,n;const l=this._idleTriggered?this._fadeDuration:0,h=(null===(i=this.style.projection)||void 0===i?void 0:i.transitionState)>0;if(this.painter.context.setDirty(),this.painter.setBaseState(),this._renderTaskQueue.run(e),this._removed)return;let u=!1;if(this.style&&this._styleDirty){this._styleDirty=!1;const e=this.transform.zoom,i=c();this.style.zoomHistory.update(e,i);const o=new t.J(e,{now:i,fadeDuration:l,zoomHistory:this.style.zoomHistory,transition:this.style.getTransition()}),a=o.crossFadingFactor();1===a&&a===this._crossFadingFactor||(u=!0,this._crossFadingFactor=a),this.style.update(o);}const d=(null===(o=this.style.projection)||void 0===o?void 0:o.transitionState)>0!==h;null===(a=this.style.projection)||void 0===a||a.setErrorQueryLatitudeDegrees(this.transform.center.lat),this.transform.setTransitionState(null===(r=this.style.projection)||void 0===r?void 0:r.transitionState,null===(s=this.style.projection)||void 0===s?void 0:s.latitudeErrorCorrectionRadians),this.style&&(this._sourcesDirty||d)&&(this._sourcesDirty=!1,this.style._updateSources(this.transform)),this.terrain?(this.terrain.tileManager.update(this.transform,this.terrain),this.transform.setMinElevationForCurrentTile(this.terrain.getMinTileElevationForLngLatZoom(this.transform.center,this.transform.tileZoom)),!this._elevationFreeze&&this._centerClampedToGround&&this.transform.setElevation(this.terrain.getElevationForLngLatZoom(this.transform.center,this.transform.tileZoom))):(this.transform.setMinElevationForCurrentTile(0),this._centerClampedToGround&&this.transform.setElevation(0)),this._placementDirty=null===(n=this.style)||void 0===n?void 0:n._updatePlacement(this.transform,this.showCollisionBoxes,l,this._crossSourceCollisions,d),this.painter.render(this.style,{showTileBoundaries:this.showTileBoundaries,showOverdrawInspector:this._showOverdrawInspector,rotating:this.isRotating(),zooming:this.isZooming(),moving:this.isMoving(),fadeDuration:l,showPadding:this.showPadding,anisotropicFilterPitch:this.getAnisotropicFilterPitch()}),this.fire(new t.n("render")),this.loaded()&&!this._loaded&&(this._loaded=!0,this.fire(new t.n("load"))),this.style&&(this.style.hasTransitions()||u)&&(this._styleDirty=!0),this.style&&!this._placementDirty&&this.style._releaseSymbolFadeTiles();const _=this._sourcesDirty||this._styleDirty||this._placementDirty;return _||this._repaint?this.triggerRepaint():!this.isMoving()&&this.loaded()&&this.fire(new t.n("idle")),!this._loaded||this._fullyLoaded||_||(this._fullyLoaded=!0),this}redraw(){return this.style&&(this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this._render(0)),this}remove(){var e,i;this._hash&&this._hash.remove();for(const e of this._controls)e.onRemove(this);this._controls=[],this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this._renderTaskQueue.clear(),null===(e=this._diffStyleRequest)||void 0===e||e.abort(),this.painter.destroy(),this.handlers.destroy(),delete this.handlers,this.setStyle(null),"undefined"!=typeof window&&this._ownerWindow.removeEventListener("online",this._onWindowOnline,!1),u.removeThrottleControl(this._imageQueueHandle),null===(i=this._resizeObserver)||void 0===i||i.disconnect();const o=this.painter.context.gl.getExtension("WEBGL_lose_context");(null==o?void 0:o.loseContext)&&o.loseContext(),this._canvas.removeEventListener("webglcontextrestored",this._contextRestored,!1),this._canvas.removeEventListener("webglcontextlost",this._contextLost,!1),this._canvasContainer.remove(),this._controlContainer.remove(),this._container.removeEventListener("scroll",this._onMapScroll,!1),this._container.classList.remove("maplibregl-map"),this._removed=!0,this.fire(new t.n("remove"));}triggerRepaint(){this.style&&!this._frameRequest&&(this._frameRequest=new AbortController,n.frame(this._frameRequest,(e=>{this._frameRequest=null;try{this._render(e);}catch(e){if(!t.$(e)&&!function(e){return e.message===na}(e))throw e}}),(()=>{}),this._ownerWindow));}get showTileBoundaries(){return !!this._showTileBoundaries}set showTileBoundaries(e){this._showTileBoundaries!==e&&(this._showTileBoundaries=e,this._update());}get showPadding(){return !!this._showPadding}set showPadding(e){this._showPadding!==e&&(this._showPadding=e,this._update());}get showCollisionBoxes(){return !!this._showCollisionBoxes}set showCollisionBoxes(e){this._showCollisionBoxes!==e&&(this._showCollisionBoxes=e,e?this.style._generateCollisionBoxes():this._update());}get showOverdrawInspector(){return !!this._showOverdrawInspector}set showOverdrawInspector(e){this._showOverdrawInspector!==e&&(this._showOverdrawInspector=e,this._update());}get repaint(){return !!this._repaint}set repaint(e){this._repaint!==e&&(this._repaint=e,this.triggerRepaint());}get vertices(){return !!this._vertices}set vertices(e){this._vertices=e,this._update();}get version(){return hs}getCameraTargetElevation(){return this.transform.elevation}getProjection(){return this.style.getProjection()}setProjection(e){return this._lazyInitEmptyStyle(),this.style.setProjection(e),this._update(!0)}};const _s={showCompass:!0,showZoom:!0,visualizePitch:!1,visualizeRoll:!0};class ps{constructor(e,i,o=!1){this.mousedown=e=>{this.startMove(e,d.mousePos(this.element,e)),window.addEventListener("mousemove",this.mousemove),window.addEventListener("mouseup",this.mouseup);},this.mousemove=e=>{this.move(e,d.mousePos(this.element,e));},this.mouseup=e=>{this._rotatePitchHandler.dragEnd(e),this.offTemp();},this.touchstart=e=>{1!==e.targetTouches.length?this.reset():(this._startPos=this._lastPos=d.touchPos(this.element,e.targetTouches)[0],this.startMove(e,this._startPos),window.addEventListener("touchmove",this.touchmove,{passive:!1}),window.addEventListener("touchend",this.touchend));},this.touchmove=e=>{1!==e.targetTouches.length?this.reset():(this._lastPos=d.touchPos(this.element,e.targetTouches)[0],this.move(e,this._lastPos));},this.touchend=e=>{0===e.targetTouches.length&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos){this._rotatePitchHandler.reset(),delete this._startPos,delete this._lastPos,this.offTemp();},this._clickTolerance=10,this.element=i;const a=new Pr;this._rotatePitchHandler=new vr({clickTolerance:3,move:(e,a)=>{const r=i.getBoundingClientRect(),s=new t.P((r.bottom-r.top)/2,(r.right-r.left)/2);return {bearingDelta:t.cx(new t.P(e.x,a.y),a,s),pitchDelta:o?-.5*(a.y-e.y):void 0}},moveStateManager:a,enable:!0,assignEvents:()=>{}}),this.map=e,i.addEventListener("mousedown",this.mousedown),i.addEventListener("touchstart",this.touchstart,{passive:!1}),i.addEventListener("touchcancel",this.reset);}startMove(e,t){this._rotatePitchHandler.dragStart(e,t),d.disableDrag();}move(e,t){const i=this.map,{bearingDelta:o,pitchDelta:a}=this._rotatePitchHandler.dragMove(e,t)||{};o&&i.setBearing(i.getBearing()+o),a&&i.setPitch(i.getPitch()+a);}off(){const e=this.element;e.removeEventListener("mousedown",this.mousedown),e.removeEventListener("touchstart",this.touchstart),window.removeEventListener("touchmove",this.touchmove),window.removeEventListener("touchend",this.touchend),e.removeEventListener("touchcancel",this.reset),this.offTemp();}offTemp(){d.enableDrag(),window.removeEventListener("mousemove",this.mousemove),window.removeEventListener("mouseup",this.mouseup),window.removeEventListener("touchmove",this.touchmove),window.removeEventListener("touchend",this.touchend);}}let ms;function fs(e,i,o,a=!1){if(a||!o.getCoveringTilesDetailsProvider().allowWorldCopies())return null==e?void 0:e.wrap();const r=new t.W(e.lng,e.lat);if(e=new t.W(e.lng,e.lat),i){const a=new t.W(e.lng-360,e.lat),r=new t.W(e.lng+360,e.lat),s=o.locationToScreenPoint(e).distSqr(i);o.locationToScreenPoint(a).distSqr(i)180;){const t=o.locationToScreenPoint(e);if(t.x>=0&&t.y>=0&&t.x<=o.width&&t.y<=o.height)break;e.lng>o.center.lng?e.lng-=360:e.lng+=360;}return e.lng!==r.lng&&o.isPointOnMapSurface(o.locationToScreenPoint(e))?e:r}const gs={center:"translate(-50%,-50%)",top:"translate(-50%,0)","top-left":"translate(0,0)","top-right":"translate(-100%,0)",bottom:"translate(-50%,-100%)","bottom-left":"translate(0,-100%)","bottom-right":"translate(-100%,-100%)",left:"translate(0,-50%)",right:"translate(-100%,-50%)"};function vs(e,t,i){const o=e.classList;for(const e in gs)o.remove(`maplibregl-${i}-anchor-${e}`);o.add(`maplibregl-${i}-anchor-${t}`);}class xs extends t.E{constructor(e){if(super(),this._onClick=e=>{this.fire(new t.n("click",{originalEvent:e}));},this._onKeyPress=e=>{"Space"!==e.code&&"Enter"!==e.code||this.togglePopup();},this._onMapClick=e=>{const t=e.originalEvent.target,i=this._element;this._popup&&(t===i||i.contains(t))&&this.togglePopup();},this._update=e=>{if(!this._map)return;const t=this._map.loaded()&&!this._map.isMoving();("terrain"===(null==e?void 0:e.type)||"render"===(null==e?void 0:e.type)&&!t)&&this._map.once("render",this._update),this._lngLat=fs(this._lngLat,this._flatPos,this._map.transform),this._flatPos=this._pos=this._map.project(this._lngLat)._add(this._offset),this._map.terrain&&(this._flatPos=this._map.transform.locationToScreenPoint(this._lngLat)._add(this._offset));let i="";"viewport"===this._rotationAlignment||"auto"===this._rotationAlignment?i=`rotateZ(${this._rotation}deg)`:"map"===this._rotationAlignment&&(i=`rotateZ(${this._rotation-this._map.getBearing()}deg)`);let o="";"viewport"===this._pitchAlignment||"auto"===this._pitchAlignment?o="rotateX(0deg)":"map"===this._pitchAlignment&&(o=`rotateX(${this._map.getPitch()}deg)`),this._subpixelPositioning||e&&"moveend"!==e.type||(this._pos=this._pos.round()),this._element.style.transform=`${gs[this._anchor]} translate(${this._pos.x}px, ${this._pos.y}px) ${o} ${i}`,n.frameAsync(new AbortController,this._map._ownerWindow).then((()=>{this._updateOpacity("moveend"===(null==e?void 0:e.type));})).catch((()=>{}));},this._onMove=e=>{if(!this._isDragging){const t=this._clickTolerance||this._map._clickTolerance;this._isDragging=e.point.dist(this._pointerdownPos)>=t;}this._isDragging&&(this._pos=e.point.sub(this._positionDelta),this._lngLat=this._map.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents="none","pending"===this._state&&(this._state="active",this.fire(new t.n("dragstart"))),this.fire(new t.n("drag")));},this._onUp=()=>{this._element.style.pointerEvents="auto",this._positionDelta=null,this._pointerdownPos=null,this._isDragging=!1,this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),"active"===this._state&&this.fire(new t.n("dragend")),this._state="inactive";},this._addDragHandler=e=>{this._element.contains(e.originalEvent.target)&&(e.preventDefault(),this._positionDelta=e.point.sub(this._pos).add(this._offset),this._pointerdownPos=e.point,this._state="pending",this._map.on("mousemove",this._onMove),this._map.on("touchmove",this._onMove),this._map.once("mouseup",this._onUp),this._map.once("touchend",this._onUp));},this._anchor=(null==e?void 0:e.anchor)||"center",this._color=(null==e?void 0:e.color)||"#3FB1CE",this._scale=(null==e?void 0:e.scale)||1,this._draggable=(null==e?void 0:e.draggable)||!1,this._clickTolerance=(null==e?void 0:e.clickTolerance)||0,this._subpixelPositioning=(null==e?void 0:e.subpixelPositioning)||!1,this._isDragging=!1,this._state="inactive",this._rotation=(null==e?void 0:e.rotation)||0,this._rotationAlignment=(null==e?void 0:e.rotationAlignment)||"auto",this._pitchAlignment=(null==e?void 0:e.pitchAlignment)&&"auto"!==e.pitchAlignment?e.pitchAlignment:this._rotationAlignment,this.setOpacity(null==e?void 0:e.opacity,null==e?void 0:e.opacityWhenCovered),null==e?void 0:e.element)this._element=e.element,this._offset=t.P.convert((null==e?void 0:e.offset)||[0,0]);else {this._defaultMarker=!0,this._element=d.create("div");const i=d.createNS("http://www.w3.org/2000/svg","svg"),o=41,a=27;i.setAttributeNS(null,"display","block"),i.setAttributeNS(null,"height",`${o}px`),i.setAttributeNS(null,"width",`${a}px`),i.setAttributeNS(null,"viewBox",`0 0 ${a} ${o}`);const r=d.createNS("http://www.w3.org/2000/svg","g");r.setAttributeNS(null,"stroke","none"),r.setAttributeNS(null,"stroke-width","1"),r.setAttributeNS(null,"fill","none"),r.setAttributeNS(null,"fill-rule","evenodd");const s=d.createNS("http://www.w3.org/2000/svg","g");s.setAttributeNS(null,"fill-rule","nonzero");const n=d.createNS("http://www.w3.org/2000/svg","g");n.setAttributeNS(null,"transform","translate(3.0, 29.0)"),n.setAttributeNS(null,"fill","#000000");const l=[{rx:"10.5",ry:"5.25002273"},{rx:"10.5",ry:"5.25002273"},{rx:"9.5",ry:"4.77275007"},{rx:"8.5",ry:"4.29549936"},{rx:"7.5",ry:"3.81822308"},{rx:"6.5",ry:"3.34094679"},{rx:"5.5",ry:"2.86367051"},{rx:"4.5",ry:"2.38636864"}];for(const e of l){const t=d.createNS("http://www.w3.org/2000/svg","ellipse");t.setAttributeNS(null,"opacity","0.04"),t.setAttributeNS(null,"cx","10.5"),t.setAttributeNS(null,"cy","5.80029008"),t.setAttributeNS(null,"rx",e.rx),t.setAttributeNS(null,"ry",e.ry),n.appendChild(t);}const c=d.createNS("http://www.w3.org/2000/svg","g");c.setAttributeNS(null,"fill",this._color);const h=d.createNS("http://www.w3.org/2000/svg","path");h.setAttributeNS(null,"d","M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z"),c.appendChild(h);const u=d.createNS("http://www.w3.org/2000/svg","g");u.setAttributeNS(null,"opacity","0.25"),u.setAttributeNS(null,"fill","#000000");const _=d.createNS("http://www.w3.org/2000/svg","path");_.setAttributeNS(null,"d","M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z"),u.appendChild(_);const p=d.createNS("http://www.w3.org/2000/svg","g");p.setAttributeNS(null,"transform","translate(6.0, 7.0)"),p.setAttributeNS(null,"fill","#FFFFFF");const m=d.createNS("http://www.w3.org/2000/svg","g");m.setAttributeNS(null,"transform","translate(8.0, 8.0)");const f=d.createNS("http://www.w3.org/2000/svg","circle");f.setAttributeNS(null,"fill","#000000"),f.setAttributeNS(null,"opacity","0.25"),f.setAttributeNS(null,"cx","5.5"),f.setAttributeNS(null,"cy","5.5"),f.setAttributeNS(null,"r","5.4999962");const g=d.createNS("http://www.w3.org/2000/svg","circle");g.setAttributeNS(null,"fill","#FFFFFF"),g.setAttributeNS(null,"cx","5.5"),g.setAttributeNS(null,"cy","5.5"),g.setAttributeNS(null,"r","5.4999962"),m.appendChild(f),m.appendChild(g),s.appendChild(n),s.appendChild(c),s.appendChild(u),s.appendChild(p),s.appendChild(m),i.appendChild(s),i.setAttributeNS(null,"height",o*this._scale+"px"),i.setAttributeNS(null,"width",a*this._scale+"px"),this._element.appendChild(i),this._offset=t.P.convert((null==e?void 0:e.offset)||[0,-14]);}if(this._element.classList.add("maplibregl-marker"),this._element.addEventListener("dragstart",(e=>{e.preventDefault();})),this._element.addEventListener("mousedown",(e=>{e.preventDefault();})),vs(this._element,this._anchor,"marker"),null==e?void 0:e.className)for(const t of e.className.split(" "))this._element.classList.add(t);this._popup=null;}addTo(e){return this.remove(),this._map=e,this._element.hasAttribute("aria-label")||this._element.setAttribute("aria-label",e._getUIString("Marker.Title")),this._element.hasAttribute("role")||this._element.setAttribute("role","button"),e.getCanvasContainer().appendChild(this._element),e.on("move",this._update),e.on("moveend",this._update),e.on("terrain",this._update),e.on("projectiontransition",this._update),this._element.addEventListener("click",this._onClick),this.setDraggable(this._draggable),this._update(),this._map.on("click",this._onMapClick),this}remove(){return this._opacityTimeout&&(clearTimeout(this._opacityTimeout),delete this._opacityTimeout),this._map&&(this._map.off("click",this._onMapClick),this._map.off("move",this._update),this._map.off("moveend",this._update),this._map.off("terrain",this._update),this._map.off("projectiontransition",this._update),this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler),this._map.off("mouseup",this._onUp),this._map.off("touchend",this._onUp),this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),delete this._map),this._element.removeEventListener("click",this._onClick),this._element.remove(),this._popup&&this._popup.remove(),this}getLngLat(){return this._lngLat}setLngLat(e){return this._lngLat=t.W.convert(e),this._pos=null,this._popup&&this._popup.setLngLat(this._lngLat),this._update(),this}getElement(){return this._element}setPopup(e){if(this._popup&&(this._popup.remove(),this._popup=null,this._element.removeEventListener("keypress",this._onKeyPress),this._originalTabIndex||this._element.removeAttribute("tabindex")),e){if(!("offset"in e.options)){const t=38.1,i=13.5,o=Math.abs(i)/Math.SQRT2;e.options.offset=this._defaultMarker?{top:[0,0],"top-left":[0,0],"top-right":[0,0],bottom:[0,-t],"bottom-left":[o,-1*(t-i+o)],"bottom-right":[-o,-1*(t-i+o)],left:[i,-1*(t-i)],right:[-i,-1*(t-i)]}:this._offset;}this._popup=e,this._originalTabIndex=this._element.getAttribute("tabindex"),this._originalTabIndex||this._element.setAttribute("tabindex","0"),this._element.addEventListener("keypress",this._onKeyPress);}return this}setSubpixelPositioning(e){return this._subpixelPositioning=e,this}getPopup(){return this._popup}togglePopup(){const e=this._popup;return this._element.style.opacity===this._opacityWhenCovered?this:e?(e.isOpen()?e.remove():(e.setLngLat(this._lngLat),e.addTo(this._map)),this):this}_updateOpacity(e=!1){var i,o;const a=null===(i=this._map)||void 0===i?void 0:i.terrain,r=this._map.transform.isLocationOccluded(this._lngLat);if(!a||r){const e=r?this._opacityWhenCovered:this._opacity;return void(this._element.style.opacity!==e&&(this._element.style.opacity=e,this._element.classList.toggle("maplibregl-marker-covered",r)))}if(e)this._opacityTimeout=null;else {if(this._opacityTimeout)return;this._opacityTimeout=setTimeout((()=>{this._opacityTimeout=null;}),100);}const s=this._map,n=s.terrain.depthAtPoint(this._pos),l=s.terrain.getElevationForLngLat(this._lngLat,s.transform);if(s.transform.lngLatToCameraDepth(this._lngLat,l)-n<.006)return this._element.style.opacity=this._opacity,void this._element.classList.remove("maplibregl-marker-covered");const c=-this._offset.y/s.transform.pixelsPerMeter,h=Math.sin(s.getPitch()*Math.PI/180)*c,u=s.terrain.depthAtPoint(new t.P(this._pos.x,this._pos.y-this._offset.y)),d=s.transform.lngLatToCameraDepth(this._lngLat,l+h)-u>.006;(null===(o=this._popup)||void 0===o?void 0:o.isOpen())&&d&&this._popup.remove(),this._element.style.opacity=d?this._opacityWhenCovered:this._opacity,this._element.classList.toggle("maplibregl-marker-covered",d);}getOffset(){return this._offset}setOffset(e){return this._offset=t.P.convert(e),this._update(),this}addClassName(e){this._element.classList.add(e);}removeClassName(e){this._element.classList.remove(e);}toggleClassName(e){return this._element.classList.toggle(e)}setDraggable(e){return this._draggable=!!e,this._map&&(e?(this._map.on("mousedown",this._addDragHandler),this._map.on("touchstart",this._addDragHandler)):(this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler))),this}isDraggable(){return this._draggable}setRotation(e){return this._rotation=e||0,this._update(),this}getRotation(){return this._rotation}setRotationAlignment(e){return this._rotationAlignment=e||"auto",this._update(),this}getRotationAlignment(){return this._rotationAlignment}setPitchAlignment(e){return this._pitchAlignment=e&&"auto"!==e?e:this._rotationAlignment,this._update(),this}getPitchAlignment(){return this._pitchAlignment}setOpacity(e,t){return (void 0===this._opacity||void 0===e&&void 0===t)&&(this._opacity="1",this._opacityWhenCovered="0.2"),void 0!==e&&(this._opacity=String(e)),void 0!==t&&(this._opacityWhenCovered=String(t)),this._map&&this._updateOpacity(!0),this}}const bs={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showAccuracyCircle:!0,showUserLocation:!0};let ys=0,ws=!1;const Ts={maxWidth:100,unit:"metric"};function Ps(e,t,i){const o=(null==i?void 0:i.maxWidth)||100,a=e._container.clientHeight/2,r=e._container.clientWidth/2,s=e.unproject([r-o/2,a]),n=e.unproject([r+o/2,a]),l=Math.round(e.project(n).x-e.project(s).x),c=Math.min(o,l,e._container.clientWidth),h=s.distanceTo(n);if("imperial"===(null==i?void 0:i.unit)){const i=3.2808*h;i>5280?Cs(t,c,i/5280,e._getUIString("ScaleControl.Miles")):Cs(t,c,i,e._getUIString("ScaleControl.Feet"));}else "nautical"===(null==i?void 0:i.unit)?Cs(t,c,h/1852,e._getUIString("ScaleControl.NauticalMiles")):h>=1e3?Cs(t,c,h/1e3,e._getUIString("ScaleControl.Kilometers")):Cs(t,c,h,e._getUIString("ScaleControl.Meters"));}function Cs(e,t,i,o){const a=function(e){const t=Math.pow(10,`${Math.floor(e)}`.length-1);let i=e/t;return i=i>=10?10:i>=5?5:i>=3?3:i>=2?2:i>=1?1:function(e){const t=Math.pow(10,Math.ceil(-Math.log(e)/Math.LN10));return Math.round(e*t)/t}(i),t*i}(i);e.style.width=t*(a/i)+"px",e.innerHTML=`${a} ${o}`;}const Ms={closeButton:!0,closeOnClick:!0,focusAfterOpen:!0,className:"",maxWidth:"240px",subpixelPositioning:!1,locationOccludedOpacity:void 0,padding:void 0},Is=["a[href]","[tabindex]:not([tabindex='-1'])","[contenteditable]:not([contenteditable='false'])","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].join(", ");function Es(e){if(e){if("number"==typeof e){const i=Math.round(Math.abs(e)/Math.SQRT2);return {center:new t.P(0,0),top:new t.P(0,e),"top-left":new t.P(i,i),"top-right":new t.P(-i,i),bottom:new t.P(0,-e),"bottom-left":new t.P(i,-i),"bottom-right":new t.P(-i,-i),left:new t.P(e,0),right:new t.P(-e,0)}}if(e instanceof t.P||Array.isArray(e)){const i=t.P.convert(e);return {center:i,top:i,"top-left":i,"top-right":i,bottom:i,"bottom-left":i,"bottom-right":i,left:i,right:i}}return {center:t.P.convert(e.center||[0,0]),top:t.P.convert(e.top||[0,0]),"top-left":t.P.convert(e["top-left"]||[0,0]),"top-right":t.P.convert(e["top-right"]||[0,0]),bottom:t.P.convert(e.bottom||[0,0]),"bottom-left":t.P.convert(e["bottom-left"]||[0,0]),"bottom-right":t.P.convert(e["bottom-right"]||[0,0]),left:t.P.convert(e.left||[0,0]),right:t.P.convert(e.right||[0,0])}}return Es(new t.P(0,0))}const Ss=i;e.AJAXError=t.cG,e.EXTENT=t.a6,e.Event=t.n,e.Evented=t.E,e.LngLat=t.W,e.MercatorCoordinate=t.a7,e.Point=t.P,e.addProtocol=t.cH,e.config=t.c,e.removeProtocol=t.cI,e.AttributionControl=es,e.BoxZoomHandler=_r,e.CanvasSource=oe,e.CooperativeGesturesHandler=$r,e.DoubleClickZoomHandler=Zr,e.DragPanHandler=Vr,e.DragRotateHandler=Wr,e.EdgeInsets=Ut,e.FullscreenControl=class extends t.E{constructor(e={}){var i;super(),this._onFullscreenChange=()=>{var e;let t=window.document.fullscreenElement||window.document.webkitFullscreenElement;for(;null===(e=null==t?void 0:t.shadowRoot)||void 0===e?void 0:e.fullscreenElement;)t=t.shadowRoot.fullscreenElement;t===this._container!==this._fullscreen&&this._handleFullscreenChange();},this._onClickFullscreen=()=>{this._isFullscreen()?this._exitFullscreen():this._requestFullscreen();},this._fullscreen=!1,this._pseudo=null!==(i=e.pseudo)&&void 0!==i&&i,(null==e?void 0:e.container)&&(e.container instanceof HTMLElement?this._container=e.container:t.w("Full screen control 'container' must be a DOM element.")),"onfullscreenchange"in document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in document&&(this._fullscreenchange="MSFullscreenChange");}onAdd(e){return this._map=e,this._container||(this._container=this._map.getContainer()),this._controlContainer=d.create("div","maplibregl-ctrl maplibregl-ctrl-group"),this._setupUI(),this._controlContainer}onRemove(){this._controlContainer.remove(),this._map=null,window.document.removeEventListener(this._fullscreenchange,this._onFullscreenChange);}_setupUI(){const e=this._fullscreenButton=d.create("button","maplibregl-ctrl-fullscreen",this._controlContainer);d.create("span","maplibregl-ctrl-icon",e).setAttribute("aria-hidden","true"),e.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),window.document.addEventListener(this._fullscreenchange,this._onFullscreenChange);}_updateTitle(){const e=this._getTitle();this._fullscreenButton.setAttribute("aria-label",e),this._fullscreenButton.title=e;}_getTitle(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")}_isFullscreen(){return this._fullscreen}_handleFullscreenChange(){this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("maplibregl-ctrl-shrink"),this._fullscreenButton.classList.toggle("maplibregl-ctrl-fullscreen"),this._updateTitle(),this._fullscreen?(this.fire(new t.n("fullscreenstart")),this._prevCooperativeGesturesEnabled=this._map.cooperativeGestures.isEnabled(),this._map.cooperativeGestures.disable()):(this.fire(new t.n("fullscreenend")),this._prevCooperativeGesturesEnabled&&this._map.cooperativeGestures.enable());}_exitFullscreen(){this._pseudo?this._togglePseudoFullScreen():window.document.exitFullscreen?window.document.exitFullscreen():window.document.webkitCancelFullScreen?window.document.webkitCancelFullScreen():this._togglePseudoFullScreen();}_requestFullscreen(){this._pseudo?this._togglePseudoFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.webkitRequestFullscreen?this._container.webkitRequestFullscreen():this._togglePseudoFullScreen();}_togglePseudoFullScreen(){this._container.classList.toggle("maplibregl-pseudo-fullscreen"),this._handleFullscreenChange(),this._map.resize();}},e.GeoJSONSource=ee,e.GeolocateControl=class extends t.E{constructor(e){super(),this._onSuccess=e=>{if(this._map){if(this._isOutOfMapMaxBounds(e))return this._setErrorState(),this.fire(new t.n("outofmaxbounds",e)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=e,this._watchState){case "WAITING_ACTIVE":case "ACTIVE_LOCK":case "ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active");break;case "BACKGROUND":case "BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-background");break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}this.options.showUserLocation&&"OFF"!==this._watchState&&this._updateMarker(e),this.options.trackUserLocation&&"ACTIVE_LOCK"!==this._watchState||this._updateCamera(e),this.options.showUserLocation&&this._dotElement.classList.remove("maplibregl-user-location-dot-stale"),this.fire(new t.n("geolocate",e)),this._finish();}},this._updateCamera=e=>{const i=new t.W(e.coords.longitude,e.coords.latitude),o=e.coords.accuracy,a=this._map.getBearing(),r=t.e({bearing:a},this.options.fitBoundsOptions),s=G.fromLngLat(i,o);this._map.fitBounds(s,r,{geolocateSource:!0});},this._updateMarker=e=>{if(e){const i=new t.W(e.coords.longitude,e.coords.latitude);this._accuracyCircleMarker.setLngLat(i).addTo(this._map),this._userLocationDotMarker.setLngLat(i).addTo(this._map),this._accuracy=e.coords.accuracy,this._updateCircleRadiusIfNeeded();}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove();},this._onUpdate=()=>{this._updateCircleRadiusIfNeeded();},this._onError=e=>{if(this._map){if(1===e.code){this._watchState="OFF",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;const e=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=e,this._geolocateButton.setAttribute("aria-label",e),void 0!==this._geolocationWatchID&&this._clearWatch();}else {if(3===e.code&&ws)return;this._setErrorState();}"OFF"!==this._watchState&&this.options.showUserLocation&&this._dotElement.classList.add("maplibregl-user-location-dot-stale"),this.fire(new t.n("error",e)),this._finish();}},this._finish=()=>{this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0;},this._onMoveStart=e=>{if(!this._map)return;const i=(null==e?void 0:e[0])instanceof ResizeObserverEntry;e.geolocateSource||"ACTIVE_LOCK"!==this._watchState||i||this._map.isZooming()||(this._watchState="BACKGROUND",this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this.fire(new t.n("trackuserlocationend")),this.fire(new t.n("userlocationlostfocus")));},this._setupUI=()=>{this._map&&(this._container.addEventListener("contextmenu",(e=>{e.preventDefault();})),this._geolocateButton=d.create("button","maplibregl-ctrl-geolocate",this._container),d.create("span","maplibregl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden","true"),this._geolocateButton.type="button",this._geolocateButton.disabled=!0);},this._finishSetupUI=e=>{if(this._map){if(!1===e){t.w("Geolocation support is not available so the GeolocateControl will be disabled.");const e=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=e,this._geolocateButton.setAttribute("aria-label",e);}else {const e=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.disabled=!1,this._geolocateButton.title=e,this._geolocateButton.setAttribute("aria-label",e);}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=d.create("div","maplibregl-user-location-dot"),this._userLocationDotMarker=new xs({element:this._dotElement}),this._circleElement=d.create("div","maplibregl-user-location-accuracy-circle"),this._accuracyCircleMarker=new xs({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onUpdate),this._map.on("move",this._onUpdate),this._map.on("rotate",this._onUpdate),this._map.on("pitch",this._onUpdate)),this._geolocateButton.addEventListener("click",(()=>this.trigger())),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",this._onMoveStart);}},this.options=t.e({},bs,e);}onAdd(e){return this._map=e,this._container=d.create("div","maplibregl-ctrl maplibregl-ctrl-group"),this._setupUI(),function(){return t._(this,arguments,void 0,(function*(e=!1){if(void 0!==ms&&!e)return ms;if(void 0===window.navigator.permissions)return ms=!!window.navigator.geolocation,ms;try{const e=yield window.navigator.permissions.query({name:"geolocation"});ms="denied"!==e.state;}catch(e){ms=!!window.navigator.geolocation;}return ms}))}().then((e=>this._finishSetupUI(e))),this._container}onRemove(){void 0!==this._geolocationWatchID&&(window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),this.options.showAccuracyCircle&&this._accuracyCircleMarker&&this._accuracyCircleMarker.remove(),this._container.remove(),this._map.off("movestart",this._onMoveStart),this._map.off("zoom",this._onUpdate),this._map.off("move",this._onUpdate),this._map.off("rotate",this._onUpdate),this._map.off("pitch",this._onUpdate),this._map=void 0,ys=0,ws=!1;}_isOutOfMapMaxBounds(e){const t=this._map.getMaxBounds(),i=e.coords;return t&&(i.longitudet.getEast()||i.latitudet.getNorth())}_setErrorState(){switch(this._watchState){case "WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active-error");break;case "ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting");break;case "BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting");break;case "ACTIVE_ERROR":case "BACKGROUND_ERROR":case "OFF":case void 0:break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}}_updateCircleRadiusIfNeeded(){const e=this._userLocationDotMarker.getLngLat();if(!(this.options.showUserLocation&&this.options.showAccuracyCircle&&this._accuracy&&e))return;const t=this._map.project(e),i=this._map.unproject([t.x+100,t.y]),o=e.distanceTo(i)/100,a=2*this._accuracy/o;this._circleElement.style.width=`${a.toFixed(2)}px`,this._circleElement.style.height=`${a.toFixed(2)}px`;}trigger(){if(!this._setup)return t.w("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case "OFF":this._watchState="WAITING_ACTIVE",this.fire(new t.n("trackuserlocationstart"));break;case "WAITING_ACTIVE":case "ACTIVE_LOCK":case "ACTIVE_ERROR":case "BACKGROUND_ERROR":ys--,ws=!1,this._watchState="OFF",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background-error"),this.fire(new t.n("trackuserlocationend"));break;case "BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new t.n("trackuserlocationstart")),this.fire(new t.n("userlocationfocus"));break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}switch(this._watchState){case "WAITING_ACTIVE":this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active");break;case "ACTIVE_LOCK":this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active");break;case "OFF":break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}if("OFF"===this._watchState&&void 0!==this._geolocationWatchID)this._clearWatch();else if(void 0===this._geolocationWatchID){let e;this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),ys++,ys>1?(e={maximumAge:6e5,timeout:0},ws=!0):(e=this.options.positionOptions,ws=!1),this._geolocationWatchID=window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,e);}}else window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return !0}_clearWatch(){window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null);}},e.GlobeControl=class{constructor(){this._toggleProjection=()=>{var e;const t=null===(e=this._map.getProjection())||void 0===e?void 0:e.type;this._map.setProjection("mercator"!==t&&t?{type:"mercator"}:{type:"globe"}),this._updateGlobeIcon();},this._updateGlobeIcon=()=>{var e;this._globeButton.classList.remove("maplibregl-ctrl-globe"),this._globeButton.classList.remove("maplibregl-ctrl-globe-enabled"),"globe"===(null===(e=this._map.getProjection())||void 0===e?void 0:e.type)?(this._globeButton.classList.add("maplibregl-ctrl-globe-enabled"),this._globeButton.title=this._map._getUIString("GlobeControl.Disable")):(this._globeButton.classList.add("maplibregl-ctrl-globe"),this._globeButton.title=this._map._getUIString("GlobeControl.Enable"));};}onAdd(e){return this._map=e,this._container=d.create("div","maplibregl-ctrl maplibregl-ctrl-group"),this._globeButton=d.create("button","maplibregl-ctrl-globe",this._container),d.create("span","maplibregl-ctrl-icon",this._globeButton).setAttribute("aria-hidden","true"),this._globeButton.type="button",this._globeButton.addEventListener("click",this._toggleProjection),this._updateGlobeIcon(),this._map.on("styledata",this._updateGlobeIcon),this._map.on("projectiontransition",this._updateGlobeIcon),this._container}onRemove(){this._container.remove(),this._map.off("styledata",this._updateGlobeIcon),this._map.off("projectiontransition",this._updateGlobeIcon),this._globeButton.removeEventListener("click",this._toggleProjection),this._map=void 0;}},e.Hash=Ya,e.ImageSource=te,e.KeyboardHandler=kr,e.LngLatBounds=G,e.LogoControl=ts,e.Map=ds,e.MapLibreMap=ds,e.MapMouseEvent=nr,e.MapTouchEvent=lr,e.MapWheelEvent=cr,e.Marker=xs,e.NavigationControl=class{constructor(e){this._updateZoomButtons=()=>{const e=this._map.getZoom(),t=e===this._map.getMaxZoom(),i=e===this._map.getMinZoom();this._zoomInButton.disabled=t,this._zoomOutButton.disabled=i,this._zoomInButton.setAttribute("aria-disabled",t.toString()),this._zoomOutButton.setAttribute("aria-disabled",i.toString());},this._rotateCompassArrow=()=>{this._compassIcon.style.transform=this.options.visualizePitch&&this.options.visualizeRoll?`scale(${1/Math.pow(Math.cos(this._map.transform.pitchInRadians),.5)}) rotateZ(${-this._map.transform.roll}deg) rotateX(${this._map.transform.pitch}deg) rotateZ(${-this._map.transform.bearing}deg)`:this.options.visualizePitch?`scale(${1/Math.pow(Math.cos(this._map.transform.pitchInRadians),.5)}) rotateX(${this._map.transform.pitch}deg) rotateZ(${-this._map.transform.bearing}deg)`:this.options.visualizeRoll?`rotate(${-this._map.transform.bearing-this._map.transform.roll}deg)`:`rotate(${-this._map.transform.bearing}deg)`;},this._setButtonTitle=(e,t)=>{const i=this._map._getUIString(`NavigationControl.${t}`);e.title=i,e.setAttribute("aria-label",i);},this.options=t.e({},_s,e),this._container=d.create("div","maplibregl-ctrl maplibregl-ctrl-group"),this._container.addEventListener("contextmenu",(e=>e.preventDefault())),this.options.showZoom&&(this._zoomInButton=this._createButton("maplibregl-ctrl-zoom-in",(e=>this._map.zoomIn({},{originalEvent:e}))),d.create("span","maplibregl-ctrl-icon",this._zoomInButton).setAttribute("aria-hidden","true"),this._zoomOutButton=this._createButton("maplibregl-ctrl-zoom-out",(e=>this._map.zoomOut({},{originalEvent:e}))),d.create("span","maplibregl-ctrl-icon",this._zoomOutButton).setAttribute("aria-hidden","true")),this.options.showCompass&&(this._compass=this._createButton("maplibregl-ctrl-compass",(e=>{this.options.visualizePitch?this._map.resetNorthPitch({},{originalEvent:e}):this._map.resetNorth({},{originalEvent:e});})),this._compassIcon=d.create("span","maplibregl-ctrl-icon",this._compass),this._compassIcon.setAttribute("aria-hidden","true"));}onAdd(e){return this._map=e,this.options.showZoom&&(this._setButtonTitle(this._zoomInButton,"ZoomIn"),this._setButtonTitle(this._zoomOutButton,"ZoomOut"),this._map.on("zoom",this._updateZoomButtons),this._updateZoomButtons()),this.options.showCompass&&(this._setButtonTitle(this._compass,"ResetBearing"),this.options.visualizePitch&&this._map.on("pitch",this._rotateCompassArrow),this.options.visualizeRoll&&this._map.on("roll",this._rotateCompassArrow),this._map.on("rotate",this._rotateCompassArrow),this._rotateCompassArrow(),this._handler=new ps(this._map,this._compass,this.options.visualizePitch)),this._container}onRemove(){this._container.remove(),this.options.showZoom&&this._map.off("zoom",this._updateZoomButtons),this.options.showCompass&&(this.options.visualizePitch&&this._map.off("pitch",this._rotateCompassArrow),this.options.visualizeRoll&&this._map.off("roll",this._rotateCompassArrow),this._map.off("rotate",this._rotateCompassArrow),this._handler.off(),delete this._handler),delete this._map;}_createButton(e,t){const i=d.create("button",e,this._container);return i.type="button",i.addEventListener("click",t),i}},e.Popup=class extends t.E{constructor(e){super(),this._updateOpacity=()=>{void 0!==this.options.locationOccludedOpacity&&(this._container.style.opacity=this._map.transform.isLocationOccluded(this.getLngLat())?`${this.options.locationOccludedOpacity}`:"");},this.remove=()=>(this._content&&this._content.remove(),this._container&&(this._container.remove(),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("terrain",this._update),this._map.off("projectiontransition",this._update),this._map.off("mousemove",this._update),this._map.off("mouseup",this._update),this._map.off("drag",this._update),this._map._canvasContainer.classList.remove("maplibregl-track-pointer"),delete this._map,this.fire(new t.n("close"))),this),this._update=e=>{if(!this._map||!this._lngLat&&!this._trackPointer||!this._content)return;if(!this._container){if(this._container=d.create("div","maplibregl-popup",this._map.getContainer()),this._tip=d.create("div","maplibregl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className)for(const e of this.options.className.split(" "))this._container.classList.add(e);this._closeButton&&this._closeButton.setAttribute("aria-label",this._map._getUIString("Popup.Close")),this._trackPointer&&this._container.classList.add("maplibregl-popup-track-pointer");}let t;if(this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._lngLat=fs(this._lngLat,this._flatPos,this._map.transform,this._trackPointer),e&&"point"in e&&e.point&&(t=e.point),this._trackPointer&&!t)return;const i=this._flatPos=this._pos=this._trackPointer&&t?t:this._map.project(this._lngLat);this._map.terrain&&(this._flatPos=this._trackPointer&&t?t:this._map.transform.locationToScreenPoint(this._lngLat));let o=this.options.anchor;const a=Es(this.options.offset);if(!o){const e=this._container.offsetWidth,t=this._container.offsetHeight,r=function(e){var t,i,o,a;return e?{top:null!==(t=e.top)&&void 0!==t?t:0,right:null!==(i=e.right)&&void 0!==i?i:0,bottom:null!==(o=e.bottom)&&void 0!==o?o:0,left:null!==(a=e.left)&&void 0!==a?a:0}:{top:0,right:0,bottom:0,left:0}}(this.options.padding);let s;s=i.y+a.bottom.ythis._map.transform.height-t-r.bottom?["bottom"]:[],i.xthis._map.transform.width-e/2-r.right&&s.push("right"),o=0===s.length?"bottom":s.join("-");}let r=i.add(a[o]);this.options.subpixelPositioning||(r=r.round()),this._container.style.transform=`${gs[o]} translate(${r.x}px,${r.y}px)`,vs(this._container,o,"popup"),this._updateOpacity();},this._onClose=()=>{this.remove();},this.options=t.e(Object.create(Ms),e);}addTo(e){return this._map&&this.remove(),this._map=e,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._map.on("terrain",this._update),this._map.on("projectiontransition",this._update),this._update(),this._focusFirstElement(),this._trackPointer?(this._map.on("mousemove",this._update),this._map.on("mouseup",this._update),this._container&&this._container.classList.add("maplibregl-popup-track-pointer"),this._map._canvasContainer.classList.add("maplibregl-track-pointer")):this._map.on("move",this._update),this.fire(new t.n("open")),this}isOpen(){return !!this._map}getLngLat(){return this._lngLat}setLngLat(e){return this._lngLat=t.W.convert(e),this._pos=null,this._flatPos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._update),this._container&&this._container.classList.remove("maplibregl-popup-track-pointer"),this._map._canvasContainer.classList.remove("maplibregl-track-pointer")),this}trackPointer(){return this._trackPointer=!0,this._pos=null,this._flatPos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._update),this._map.on("drag",this._update),this._container&&this._container.classList.add("maplibregl-popup-track-pointer"),this._map._canvasContainer.classList.add("maplibregl-track-pointer")),this}getElement(){return this._container}setText(e){return this.setDOMContent(document.createTextNode(e))}setHTML(e){const t=document.createDocumentFragment(),i=document.createElement("body");let o;for(i.innerHTML=e;o=i.firstChild,o;)t.appendChild(o);return this.setDOMContent(t)}getMaxWidth(){var e;return null===(e=this._container)||void 0===e?void 0:e.style.maxWidth}setMaxWidth(e){return this.options.maxWidth=e,this._update(),this}setDOMContent(e){if(this._content)for(;this._content.hasChildNodes();)this._content.firstChild&&this._content.removeChild(this._content.firstChild);else this._content=d.create("div","maplibregl-popup-content",this._container);return this._content.appendChild(e),this._createCloseButton(),this._update(),this._focusFirstElement(),this}addClassName(e){return this._container&&this._container.classList.add(e),this}removeClassName(e){return this._container&&this._container.classList.remove(e),this}setOffset(e){return this.options.offset=e,this._update(),this}toggleClassName(e){if(this._container)return this._container.classList.toggle(e)}setSubpixelPositioning(e){this.options.subpixelPositioning=e;}setPadding(e){this.options.padding=e,this._update();}_createCloseButton(){this.options.closeButton&&(this._closeButton=d.create("button","maplibregl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.innerHTML="×",this._closeButton.addEventListener("click",this._onClose));}_focusFirstElement(){if(!this.options.focusAfterOpen||!this._container)return;const e=this._container.querySelector(Is);e&&e.focus();}},e.RasterDEMTileSource=$,e.RasterTileSource=q,e.ScaleControl=class{constructor(e){this._onMove=()=>{Ps(this._map,this._container,this.options);},this.setUnit=e=>{this.options.unit=e,Ps(this._map,this._container,this.options);},this.options=Object.assign(Object.assign({},Ts),e);}getDefaultPosition(){return "bottom-left"}onAdd(e){return this._map=e,this._container=d.create("div","maplibregl-ctrl maplibregl-ctrl-scale",e.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container}onRemove(){this._container.remove(),this._map.off("move",this._onMove),this._map=void 0;}},e.ScrollZoomHandler=Nr,e.Style=ki,e.TerrainControl=class{constructor(e){this._toggleTerrain=()=>{this._map.getTerrain()?this._map.setTerrain(null):this._map.setTerrain(this.options),this._updateTerrainIcon();},this._updateTerrainIcon=()=>{this._terrainButton.classList.remove("maplibregl-ctrl-terrain"),this._terrainButton.classList.remove("maplibregl-ctrl-terrain-enabled"),this._map.terrain?(this._terrainButton.classList.add("maplibregl-ctrl-terrain-enabled"),this._terrainButton.title=this._map._getUIString("TerrainControl.Disable")):(this._terrainButton.classList.add("maplibregl-ctrl-terrain"),this._terrainButton.title=this._map._getUIString("TerrainControl.Enable"));},this.options=e;}onAdd(e){return this._map=e,this._container=d.create("div","maplibregl-ctrl maplibregl-ctrl-group"),this._terrainButton=d.create("button","maplibregl-ctrl-terrain",this._container),d.create("span","maplibregl-ctrl-icon",this._terrainButton).setAttribute("aria-hidden","true"),this._terrainButton.type="button",this._terrainButton.addEventListener("click",this._toggleTerrain),this._updateTerrainIcon(),this._map.on("terrain",this._updateTerrainIcon),this._container}onRemove(){this._container.remove(),this._map.off("terrain",this._updateTerrainIcon),this._map=void 0;}},e.TwoFingersTouchPitchHandler=Lr,e.TwoFingersTouchRotateHandler=Dr,e.TwoFingersTouchZoomHandler=zr,e.TwoFingersTouchZoomRotateHandler=qr,e.VectorTileSource=W,e.VideoSource=ie,e.addSourceType=(e,i)=>t._(void 0,void 0,void 0,(function*(){if(re(e))throw new Error(`A source type called "${e}" already exists.`);((e,t)=>{ae[e]=t;})(e,i);})),e.clearPrewarmedResources=function(){const e=A;e&&(e.isPreloaded()&&1===e.numActive()?(e.release(z),A=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"));},e.createTileMesh=ci,e.getGlobalDispatcher=B,e.getMaxParallelImageRequests=function(){return t.c.MAX_PARALLEL_IMAGE_REQUESTS},e.getRTLTextPluginStatus=function(){return ce().getRTLTextPluginStatus()},e.getVersion=function(){return Ss},e.getWorkerCount=function(){return R.workerCount},e.getWorkerUrl=function(){return t.c.WORKER_URL},e.importScriptInWorkers=function(e){return B().broadcast("IS",e)},e.isTimeFrozen=function(){return l.isFrozen()},e.now=c,e.prewarm=function(){F().acquire(z);},e.restoreNow=function(){l.restoreNow();},e.setMaxParallelImageRequests=function(e){t.c.MAX_PARALLEL_IMAGE_REQUESTS=e;},e.setNow=function(e){l.setNow(e);},e.setRTLTextPlugin=function(e,t){return ce().setRTLTextPlugin(e,t)},e.setWorkerCount=function(e){R.workerCount=e;},e.setWorkerUrl=function(e){t.c.WORKER_URL=e;};})); + +// +// Our custom intro provides a specialized "define()" function, called by the +// AMD modules below, that sets up the worker blob URL and then executes the +// main module, storing its exported value as 'maplibregl' + + +var maplibregl$1 = maplibregl; + +return maplibregl$1; + +})); +//# sourceMappingURL=maplibre-gl.js.map diff --git a/public/assets/legacy/upg-neighbor/upg-neighbor.iife.js b/public/assets/legacy/upg-neighbor/upg-neighbor.iife.js new file mode 100644 index 000000000..58523ca2e --- /dev/null +++ b/public/assets/legacy/upg-neighbor/upg-neighbor.iife.js @@ -0,0 +1,548 @@ +(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".profile-loader[data-v-8d448c33]{width:100%;height:100%;position:relative}.profile-error[data-v-8d448c33]{padding:1rem;background:#fff3cd;border:1px solid #ffc107;border-radius:4px;font-family:monospace;font-size:13px}")),document.head.appendChild(e)}}catch(d){console.error("vite-plugin-css-injected-by-js",d)}})(); +(function(){"use strict";var xu;const Hf="modulepreload",Df=function(a){return"/"+a},zf={},oi=function(n,e,i){let t=Promise.resolve();function o(r){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=r,window.dispatchEvent(l),!l.defaultPrevented)throw r}return t.then(r=>{for(const l of r||[])l.status==="rejected"&&o(l.reason);return n().catch(o)})};/** +* @vue/shared v3.5.34 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function ro(a){const n=Object.create(null);for(const e of a.split(","))n[e]=1;return e=>e in n}const Fa={},Le=[],Mn=()=>{},tl=()=>!1,qi=a=>a.charCodeAt(0)===111&&a.charCodeAt(1)===110&&(a.charCodeAt(2)>122||a.charCodeAt(2)<97),Xi=a=>a.startsWith("onUpdate:"),Ja=Object.assign,lo=(a,n)=>{const e=a.indexOf(n);e>-1&&a.splice(e,1)},Tu=Object.prototype.hasOwnProperty,Ta=(a,n)=>Tu.call(a,n),Ca=Array.isArray,Re=a=>ri(a)==="[object Map]",ol=a=>ri(a)==="[object Set]",rl=a=>ri(a)==="[object Date]",ka=a=>typeof a=="function",Da=a=>typeof a=="string",Pn=a=>typeof a=="symbol",Na=a=>a!==null&&typeof a=="object",ll=a=>(Na(a)||ka(a))&&ka(a.then)&&ka(a.catch),sl=Object.prototype.toString,ri=a=>sl.call(a),Nu=a=>ri(a).slice(8,-1),Qi=a=>ri(a)==="[object Object]",at=a=>Da(a)&&a!=="NaN"&&a[0]!=="-"&&""+parseInt(a,10)===a,li=ro(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),nt=a=>{const n=Object.create(null);return e=>n[e]||(n[e]=a(e))},Lu=/-\w/g,nn=nt(a=>a.replace(Lu,n=>n.slice(1).toUpperCase())),Ru=/\B([A-Z])/g,yn=nt(a=>a.replace(Ru,"-$1").toLowerCase()),et=nt(a=>a.charAt(0).toUpperCase()+a.slice(1)),so=nt(a=>a?`on${et(a)}`:""),In=(a,n)=>!Object.is(a,n),co=(a,...n)=>{for(let e=0;e{Object.defineProperty(a,n,{configurable:!0,enumerable:!1,writable:i,value:e})},$u=a=>{const n=parseFloat(a);return isNaN(n)?a:n},gl=a=>{const n=Da(a)?Number(a):NaN;return isNaN(n)?a:n};let ul;const it=()=>ul||(ul=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ka(a){if(Ca(a)){const n={};for(let e=0;e{if(e){const i=e.split(Ku);i.length>1&&(n[i[0].trim()]=i[1].trim())}}),n}function Ia(a){let n="";if(Da(a))n=a;else if(Ca(a))for(let e=0;e!!(a&&a.__v_isRef===!0),X=a=>Da(a)?a:a==null?"":Ca(a)||Na(a)&&(a.toString===sl||!ka(a.toString))?pl(a)?X(a.value):JSON.stringify(a,ml,2):String(a),ml=(a,n)=>pl(n)?ml(a,n.value):Re(n)?{[`Map(${n.size})`]:[...n.entries()].reduce((e,[i,t],o)=>(e[uo(i,o)+" =>"]=t,e),{})}:ol(n)?{[`Set(${n.size})`]:[...n.values()].map(e=>uo(e))}:Pn(n)?uo(n):Na(n)&&!Ca(n)&&!Qi(n)?String(n):n,uo=(a,n="")=>{var e;return Pn(a)?`Symbol(${(e=a.description)!=null?e:n})`:a};/** +* @vue/reactivity v3.5.34 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Xa;class hl{constructor(n=!1){this.detached=n,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!n&&Xa&&(Xa.active?(this.parent=Xa,this.index=(Xa.scopes||(Xa.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let n,e;if(this.scopes)for(n=0,e=this.scopes.length;n0&&--this._on===0){if(Xa===this)Xa=this.prevScope;else{let n=Xa;for(;n;){if(n.prevScope===this){n.prevScope=this.prevScope;break}n=n.prevScope}}this.prevScope=void 0}}stop(n){if(this._active){this._active=!1;let e,i;for(e=0,i=this.effects.length;e0)return;if(ci){let n=ci;for(ci=void 0;n;){const e=n.next;n.next=void 0,n.flags&=-9,n=e}}let a;for(;si;){let n=si;for(si=void 0;n;){const e=n.next;if(n.next=void 0,n.flags&=-9,n.flags&1)try{n.trigger()}catch(i){a||(a=i)}n=e}}if(a)throw a}function Pl(a){for(let n=a.deps;n;n=n.nextDep)n.version=-1,n.prevActiveLink=n.dep.activeLink,n.dep.activeLink=n}function Cl(a){let n,e=a.depsTail,i=e;for(;i;){const t=i.prevDep;i.version===-1?(i===e&&(e=t),_o(i),zu(i)):n=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=t}a.deps=n,a.depsTail=e}function bo(a){for(let n=a.deps;n;n=n.nextDep)if(n.dep.version!==n.version||n.dep.computed&&(jl(n.dep.computed)||n.dep.version!==n.version))return!0;return!!a._dirty}function jl(a){if(a.flags&4&&!(a.flags&16)||(a.flags&=-17,a.globalVersion===gi)||(a.globalVersion=gi,!a.isSSR&&a.flags&128&&(!a.deps&&!a._dirty||!bo(a))))return;a.flags|=2;const n=a.dep,e=Oa,i=kn;Oa=a,kn=!0;try{Pl(a);const t=a.fn(a._value);(n.version===0||In(t,a._value))&&(a.flags|=128,a._value=t,n.version++)}catch(t){throw n.version++,t}finally{Oa=e,kn=i,Cl(a),a.flags&=-3}}function _o(a,n=!1){const{dep:e,prevSub:i,nextSub:t}=a;if(i&&(i.nextSub=t,a.prevSub=void 0),t&&(t.prevSub=i,a.nextSub=void 0),e.subs===a&&(e.subs=i,!i&&e.computed)){e.computed.flags&=-5;for(let o=e.computed.deps;o;o=o.nextDep)_o(o,!0)}!n&&!--e.sc&&e.map&&e.map.delete(e.key)}function zu(a){const{prevDep:n,nextDep:e}=a;n&&(n.nextDep=e,a.prevDep=void 0),e&&(e.prevDep=n,a.nextDep=void 0)}let kn=!0;const kl=[];function wn(){kl.push(kn),kn=!1}function xn(){const a=kl.pop();kn=a===void 0?!0:a}function Gl(a){const{cleanup:n}=a;if(a.cleanup=void 0,n){const e=Oa;Oa=void 0;try{n()}finally{Oa=e}}}let gi=0;class Vu{constructor(n,e){this.sub=n,this.dep=e,this.version=e.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class fo{constructor(n){this.computed=n,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(n){if(!Oa||!kn||Oa===this.computed)return;let e=this.activeLink;if(e===void 0||e.sub!==Oa)e=this.activeLink=new Vu(Oa,this),Oa.deps?(e.prevDep=Oa.depsTail,Oa.depsTail.nextDep=e,Oa.depsTail=e):Oa.deps=Oa.depsTail=e,vl(e);else if(e.version===-1&&(e.version=this.version,e.nextDep)){const i=e.nextDep;i.prevDep=e.prevDep,e.prevDep&&(e.prevDep.nextDep=i),e.prevDep=Oa.depsTail,e.nextDep=void 0,Oa.depsTail.nextDep=e,Oa.depsTail=e,Oa.deps===e&&(Oa.deps=i)}return e}trigger(n){this.version++,gi++,this.notify(n)}notify(n){ho();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{yo()}}}function vl(a){if(a.dep.sc++,a.sub.flags&4){const n=a.dep.computed;if(n&&!a.dep.subs){n.flags|=20;for(let i=n.deps;i;i=i.nextDep)vl(i)}const e=a.dep.subs;e!==a&&(a.prevSub=e,e&&(e.nextSub=a)),a.dep.subs=a}}const tt=new WeakMap,Ge=Symbol(""),Po=Symbol(""),ui=Symbol("");function rn(a,n,e){if(kn&&Oa){let i=tt.get(a);i||tt.set(a,i=new Map);let t=i.get(e);t||(i.set(e,t=new fo),t.map=i,t.key=e),t.track()}}function Dn(a,n,e,i,t,o){const r=tt.get(a);if(!r){gi++;return}const l=s=>{s&&s.trigger()};if(ho(),n==="clear")r.forEach(l);else{const s=Ca(a),g=s&&at(e);if(s&&e==="length"){const d=Number(i);r.forEach((_,k)=>{(k==="length"||k===ui||!Pn(k)&&k>=d)&&l(_)})}else switch((e!==void 0||r.has(void 0))&&l(r.get(e)),g&&l(r.get(ui)),n){case"add":s?g&&l(r.get("length")):(l(r.get(Ge)),Re(a)&&l(r.get(Po)));break;case"delete":s||(l(r.get(Ge)),Re(a)&&l(r.get(Po)));break;case"set":Re(a)&&l(r.get(Ge));break}}yo()}function Yu(a,n){const e=tt.get(a);return e&&e.get(n)}function $e(a){const n=wa(a);return n===a?n:(rn(n,"iterate",ui),bn(a)?n:n.map(Gn))}function ot(a){return rn(a=wa(a),"iterate",ui),a}function Tn(a,n){return Yn(a)?Fe(Vn(a)?Gn(n):n):Gn(n)}const Wu={__proto__:null,[Symbol.iterator](){return Co(this,Symbol.iterator,a=>Tn(this,a))},concat(...a){return $e(this).concat(...a.map(n=>Ca(n)?$e(n):n))},entries(){return Co(this,"entries",a=>(a[1]=Tn(this,a[1]),a))},every(a,n){return zn(this,"every",a,n,void 0,arguments)},filter(a,n){return zn(this,"filter",a,n,e=>e.map(i=>Tn(this,i)),arguments)},find(a,n){return zn(this,"find",a,n,e=>Tn(this,e),arguments)},findIndex(a,n){return zn(this,"findIndex",a,n,void 0,arguments)},findLast(a,n){return zn(this,"findLast",a,n,e=>Tn(this,e),arguments)},findLastIndex(a,n){return zn(this,"findLastIndex",a,n,void 0,arguments)},forEach(a,n){return zn(this,"forEach",a,n,void 0,arguments)},includes(...a){return jo(this,"includes",a)},indexOf(...a){return jo(this,"indexOf",a)},join(a){return $e(this).join(a)},lastIndexOf(...a){return jo(this,"lastIndexOf",a)},map(a,n){return zn(this,"map",a,n,void 0,arguments)},pop(){return di(this,"pop")},push(...a){return di(this,"push",a)},reduce(a,...n){return Al(this,"reduce",a,n)},reduceRight(a,...n){return Al(this,"reduceRight",a,n)},shift(){return di(this,"shift")},some(a,n){return zn(this,"some",a,n,void 0,arguments)},splice(...a){return di(this,"splice",a)},toReversed(){return $e(this).toReversed()},toSorted(a){return $e(this).toSorted(a)},toSpliced(...a){return $e(this).toSpliced(...a)},unshift(...a){return di(this,"unshift",a)},values(){return Co(this,"values",a=>Tn(this,a))}};function Co(a,n,e){const i=ot(a),t=i[n]();return i!==a&&!bn(a)&&(t._next=t.next,t.next=()=>{const o=t._next();return o.done||(o.value=e(o.value)),o}),t}const Ju=Array.prototype;function zn(a,n,e,i,t,o){const r=ot(a),l=r!==a&&!bn(a),s=r[n];if(s!==Ju[n]){const _=s.apply(a,o);return l?Gn(_):_}let g=e;r!==a&&(l?g=function(_,k){return e.call(this,Tn(a,_),k,a)}:e.length>2&&(g=function(_,k){return e.call(this,_,k,a)}));const d=s.call(r,g,i);return l&&t?t(d):d}function Al(a,n,e,i){const t=ot(a),o=t!==a&&!bn(a);let r=e,l=!1;t!==a&&(o?(l=i.length===0,r=function(g,d,_){return l&&(l=!1,g=Tn(a,g)),e.call(this,g,Tn(a,d),_,a)}):e.length>3&&(r=function(g,d,_){return e.call(this,g,d,_,a)}));const s=t[n](r,...i);return l?Tn(a,s):s}function jo(a,n,e){const i=wa(a);rn(i,"iterate",ui);const t=i[n](...e);return(t===-1||t===!1)&>(e[0])?(e[0]=wa(e[0]),i[n](...e)):t}function di(a,n,e=[]){wn(),ho();const i=wa(a)[n].apply(a,e);return yo(),xn(),i}const Zu=ro("__proto__,__v_isRef,__isVue"),Sl=new Set(Object.getOwnPropertyNames(Symbol).filter(a=>a!=="arguments"&&a!=="caller").map(a=>Symbol[a]).filter(Pn));function qu(a){Pn(a)||(a=String(a));const n=wa(this);return rn(n,"has",a),n.hasOwnProperty(a)}class El{constructor(n=!1,e=!1){this._isReadonly=n,this._isShallow=e}get(n,e,i){if(e==="__v_skip")return n.__v_skip;const t=this._isReadonly,o=this._isShallow;if(e==="__v_isReactive")return!t;if(e==="__v_isReadonly")return t;if(e==="__v_isShallow")return o;if(e==="__v_raw")return i===(t?o?Nl:Tl:o?xl:wl).get(n)||Object.getPrototypeOf(n)===Object.getPrototypeOf(i)?n:void 0;const r=Ca(n);if(!t){let s;if(r&&(s=Wu[e]))return s;if(e==="hasOwnProperty")return qu}const l=Reflect.get(n,e,Va(n)?n:i);if((Pn(e)?Sl.has(e):Zu(e))||(t||rn(n,"get",e),o))return l;if(Va(l)){const s=r&&at(e)?l:l.value;return t&&Na(s)?Go(s):s}return Na(l)?t?Go(l):pi(l):l}}class Ml extends El{constructor(n=!1){super(!1,n)}set(n,e,i,t){let o=n[e];const r=Ca(n)&&at(e);if(!this._isShallow){const g=Yn(o);if(!bn(i)&&!Yn(i)&&(o=wa(o),i=wa(i)),!r&&Va(o)&&!Va(i))return g||(o.value=i),!0}const l=r?Number(e)a,rt=a=>Reflect.getPrototypeOf(a);function ed(a,n,e){return function(...i){const t=this.__v_raw,o=wa(t),r=Re(o),l=a==="entries"||a===Symbol.iterator&&r,s=a==="keys"&&r,g=t[a](...i),d=e?ko:n?Fe:Gn;return!n&&rn(o,"iterate",s?Po:Ge),Ja(Object.create(g),{next(){const{value:_,done:k}=g.next();return k?{value:_,done:k}:{value:l?[d(_[0]),d(_[1])]:d(_),done:k}}})}}function lt(a){return function(...n){return a==="delete"?!1:a==="clear"?void 0:this}}function id(a,n){const e={get(t){const o=this.__v_raw,r=wa(o),l=wa(t);a||(In(t,l)&&rn(r,"get",t),rn(r,"get",l));const{has:s}=rt(r),g=n?ko:a?Fe:Gn;if(s.call(r,t))return g(o.get(t));if(s.call(r,l))return g(o.get(l));o!==r&&o.get(t)},get size(){const t=this.__v_raw;return!a&&rn(wa(t),"iterate",Ge),t.size},has(t){const o=this.__v_raw,r=wa(o),l=wa(t);return a||(In(t,l)&&rn(r,"has",t),rn(r,"has",l)),t===l?o.has(t):o.has(t)||o.has(l)},forEach(t,o){const r=this,l=r.__v_raw,s=wa(l),g=n?ko:a?Fe:Gn;return!a&&rn(s,"iterate",Ge),l.forEach((d,_)=>t.call(o,g(d),g(_),r))}};return Ja(e,a?{add:lt("add"),set:lt("set"),delete:lt("delete"),clear:lt("clear")}:{add(t){const o=wa(this),r=rt(o),l=wa(t),s=!n&&!bn(t)&&!Yn(t)?l:t;return r.has.call(o,s)||In(t,s)&&r.has.call(o,t)||In(l,s)&&r.has.call(o,l)||(o.add(s),Dn(o,"add",s,s)),this},set(t,o){!n&&!bn(o)&&!Yn(o)&&(o=wa(o));const r=wa(this),{has:l,get:s}=rt(r);let g=l.call(r,t);g||(t=wa(t),g=l.call(r,t));const d=s.call(r,t);return r.set(t,o),g?In(o,d)&&Dn(r,"set",t,o):Dn(r,"add",t,o),this},delete(t){const o=wa(this),{has:r,get:l}=rt(o);let s=r.call(o,t);s||(t=wa(t),s=r.call(o,t)),l&&l.call(o,t);const g=o.delete(t);return s&&Dn(o,"delete",t,void 0),g},clear(){const t=wa(this),o=t.size!==0,r=t.clear();return o&&Dn(t,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(t=>{e[t]=ed(t,a,n)}),e}function st(a,n){const e=id(a,n);return(i,t,o)=>t==="__v_isReactive"?!a:t==="__v_isReadonly"?a:t==="__v_raw"?i:Reflect.get(Ta(e,t)&&t in i?e:i,t,o)}const td={get:st(!1,!1)},od={get:st(!1,!0)},rd={get:st(!0,!1)},ld={get:st(!0,!0)},wl=new WeakMap,xl=new WeakMap,Tl=new WeakMap,Nl=new WeakMap;function sd(a){switch(a){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function cd(a){return a.__v_skip||!Object.isExtensible(a)?0:sd(Nu(a))}function pi(a){return Yn(a)?a:ct(a,!1,Xu,td,wl)}function gd(a){return ct(a,!1,ad,od,xl)}function Go(a){return ct(a,!0,Qu,rd,Tl)}function Yf(a){return ct(a,!0,nd,ld,Nl)}function ct(a,n,e,i,t){if(!Na(a)||a.__v_raw&&!(n&&a.__v_isReactive))return a;const o=cd(a);if(o===0)return a;const r=t.get(a);if(r)return r;const l=new Proxy(a,o===2?i:e);return t.set(a,l),l}function Vn(a){return Yn(a)?Vn(a.__v_raw):!!(a&&a.__v_isReactive)}function Yn(a){return!!(a&&a.__v_isReadonly)}function bn(a){return!!(a&&a.__v_isShallow)}function gt(a){return a?!!a.__v_raw:!1}function wa(a){const n=a&&a.__v_raw;return n?wa(n):a}function mi(a){return!Ta(a,"__v_skip")&&Object.isExtensible(a)&&cl(a,"__v_skip",!0),a}const Gn=a=>Na(a)?pi(a):a,Fe=a=>Na(a)?Go(a):a;function Va(a){return a?a.__v_isRef===!0:!1}function ua(a){return Rl(a,!1)}function Ll(a){return Rl(a,!0)}function Rl(a,n){return Va(a)?a:new ud(a,n)}class ud{constructor(n,e){this.dep=new fo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=e?n:wa(n),this._value=e?n:Gn(n),this.__v_isShallow=e}get value(){return this.dep.track(),this._value}set value(n){const e=this._rawValue,i=this.__v_isShallow||bn(n)||Yn(n);n=i?n:wa(n),In(n,e)&&(this._rawValue=n,this._value=i?n:Gn(n),this.dep.trigger())}}function ha(a){return Va(a)?a.value:a}const dd={get:(a,n,e)=>n==="__v_raw"?a:ha(Reflect.get(a,n,e)),set:(a,n,e,i)=>{const t=a[n];return Va(t)&&!Va(e)?(t.value=e,!0):Reflect.set(a,n,e,i)}};function $l(a){return Vn(a)?a:new Proxy(a,dd)}function pd(a){const n=Ca(a)?new Array(a.length):{};for(const e in a)n[e]=hd(a,e);return n}class md{constructor(n,e,i){this._object=n,this._defaultValue=i,this.__v_isRef=!0,this._value=void 0,this._key=Pn(e)?e:String(e),this._raw=wa(n);let t=!0,o=n;if(!Ca(n)||Pn(this._key)||!at(this._key))do t=!gt(o)||bn(o);while(t&&(o=o.__v_raw));this._shallow=t}get value(){let n=this._object[this._key];return this._shallow&&(n=ha(n)),this._value=n===void 0?this._defaultValue:n}set value(n){if(this._shallow&&Va(this._raw[this._key])){const e=this._object[this._key];if(Va(e)){e.value=n;return}}this._object[this._key]=n}get dep(){return Yu(this._raw,this._key)}}function hd(a,n,e){return new md(a,n,e)}class yd{constructor(n,e,i){this.fn=n,this.setter=e,this._value=void 0,this.dep=new fo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=gi-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!e,this.isSSR=i}notify(){if(this.flags|=16,!(this.flags&8)&&Oa!==this)return fl(this,!0),!0}get value(){const n=this.dep.track();return jl(this),n&&(n.version=this.dep.version),this._value}set value(n){this.setter&&this.setter(n)}}function bd(a,n,e=!1){let i,t;return ka(a)?i=a:(i=a.get,t=a.set),new yd(i,t,e)}const ut={},dt=new WeakMap;let ve;function _d(a,n=!1,e=ve){if(e){let i=dt.get(e);i||dt.set(e,i=[]),i.push(a)}}function fd(a,n,e=Fa){const{immediate:i,deep:t,once:o,scheduler:r,augmentJob:l,call:s}=e,g=I=>t?I:bn(I)||t===!1||t===0?Wn(I,1):Wn(I);let d,_,k,x,D=!1,T=!1;if(Va(a)?(_=()=>a.value,D=bn(a)):Vn(a)?(_=()=>g(a),D=!0):Ca(a)?(T=!0,D=a.some(I=>Vn(I)||bn(I)),_=()=>a.map(I=>{if(Va(I))return I.value;if(Vn(I))return g(I);if(ka(I))return s?s(I,2):I()})):ka(a)?n?_=s?()=>s(a,2):a:_=()=>{if(k){wn();try{k()}finally{xn()}}const I=ve;ve=d;try{return s?s(a,3,[x]):a(x)}finally{ve=I}}:_=Mn,n&&t){const I=_,G=t===!0?1/0:t;_=()=>Wn(I(),G)}const $=yl(),w=()=>{d.stop(),$&&$.active&&lo($.effects,d)};if(o&&n){const I=n;n=(...G)=>{I(...G),w()}}let L=T?new Array(a.length).fill(ut):ut;const E=I=>{if(!(!(d.flags&1)||!d.dirty&&!I))if(n){const G=d.run();if(t||D||(T?G.some((S,v)=>In(S,L[v])):In(G,L))){k&&k();const S=ve;ve=d;try{const v=[G,L===ut?void 0:T&&L[0]===ut?[]:L,x];L=G,s?s(n,3,v):n(...v)}finally{ve=S}}}else d.run()};return l&&l(E),d=new bl(_),d.scheduler=r?()=>r(E,!1):E,x=I=>_d(I,!1,d),k=d.onStop=()=>{const I=dt.get(d);if(I){if(s)s(I,4);else for(const G of I)G();dt.delete(d)}},n?i?E(!0):L=d.run():r?r(E.bind(null,!0),!0):d.run(),w.pause=d.pause.bind(d),w.resume=d.resume.bind(d),w.stop=w,w}function Wn(a,n=1/0,e){if(n<=0||!Na(a)||a.__v_skip||(e=e||new Map,(e.get(a)||0)>=n))return a;if(e.set(a,n),n--,Va(a))Wn(a.value,n,e);else if(Ca(a))for(let i=0;i{Wn(i,n,e)});else if(Qi(a)){for(const i in a)Wn(a[i],n,e);for(const i of Object.getOwnPropertySymbols(a))Object.prototype.propertyIsEnumerable.call(a,i)&&Wn(a[i],n,e)}return a}/** +* @vue/runtime-core v3.5.34 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const hi=[];let vo=!1;function Wf(a,...n){if(vo)return;vo=!0,wn();const e=hi.length?hi[hi.length-1].component:null,i=e&&e.appContext.config.warnHandler,t=Pd();if(i)Ke(i,e,11,[a+n.map(o=>{var r,l;return(l=(r=o.toString)==null?void 0:r.call(o))!=null?l:JSON.stringify(o)}).join(""),e&&e.proxy,t.map(({vnode:o})=>`at <${xs(e,o.type)}>`).join(` +`),t]);else{const o=[`[Vue warn]: ${a}`,...n];t.length&&o.push(` +`,...Cd(t)),console.warn(...o)}xn(),vo=!1}function Pd(){let a=hi[hi.length-1];if(!a)return[];const n=[];for(;a;){const e=n[0];e&&e.vnode===a?e.recurseCount++:n.push({vnode:a,recurseCount:0});const i=a.component&&a.component.parent;a=i&&i.vnode}return n}function Cd(a){const n=[];return a.forEach((e,i)=>{n.push(...i===0?[]:[` +`],...jd(e))}),n}function jd({vnode:a,recurseCount:n}){const e=n>0?`... (${n} recursive calls)`:"",i=a.component?a.component.parent==null:!1,t=` at <${xs(a.component,a.type,i)}`,o=">"+e;return a.props?[t,...kd(a.props),o]:[t+o]}function kd(a){const n=[],e=Object.keys(a);return e.slice(0,3).forEach(i=>{n.push(...Fl(i,a[i]))}),e.length>3&&n.push(" ..."),n}function Fl(a,n,e){return Da(n)?(n=JSON.stringify(n),e?n:[`${a}=${n}`]):typeof n=="number"||typeof n=="boolean"||n==null?e?n:[`${a}=${n}`]:Va(n)?(n=Fl(a,wa(n.value),!0),e?n:[`${a}=Ref<`,n,">"]):ka(n)?[`${a}=fn${n.name?`<${n.name}>`:""}`]:(n=wa(n),e?n:[`${a}=`,n])}function Ke(a,n,e,i){try{return i?a(...i):a()}catch(t){yi(t,n,e)}}function Nn(a,n,e,i){if(ka(a)){const t=Ke(a,n,e,i);return t&&ll(t)&&t.catch(o=>{yi(o,n,e)}),t}if(Ca(a)){const t=[];for(let o=0;o>>1,t=sn[i],o=_i(t);o=_i(e)?sn.push(a):sn.splice(vd(n),0,a),a.flags|=1,Bl()}}function Bl(){pt||(pt=Kl.then(Hl))}function Ad(a){Ca(a)?Be.push(...a):ce&&a.id===-1?ce.splice(Oe+1,0,a):a.flags&1||(Be.push(a),a.flags|=1),Bl()}function Ol(a,n,e=Ln+1){for(;e_i(e)-_i(i));if(Be.length=0,ce){ce.push(...n);return}for(ce=n,Oe=0;Oea.id==null?a.flags&2?-1:1/0:a.id;function Hl(a){try{for(Ln=0;Ln{i._d&&Ct(-1);const o=mt(n);let r;try{r=a(...t)}finally{mt(o),i._d&&Ct(1)}return r};return i._n=!0,i._c=!0,i._d=!0,i}function Ed(a,n){if(_n===null)return a;const e=vt(_n),i=a.dirs||(a.dirs=[]);for(let t=0;t1)return e&&ka(n)?n.call(i&&i.proxy):n}}function Md(){return!!(ue()||Se)}const Id=Symbol.for("v-scx"),wd=()=>Ya(Id);function xd(a,n){return So(a,null,n)}function cn(a,n,e){return So(a,n,e)}function So(a,n,e=Fa){const{immediate:i,deep:t,flush:o,once:r}=e,l=Ja({},e),s=n&&i||!n&&o!=="post";let g;if(De){if(o==="sync"){const x=wd();g=x.__watcherHandles||(x.__watcherHandles=[])}else if(!s){const x=()=>{};return x.stop=Mn,x.resume=Mn,x.pause=Mn,x}}const d=tn;l.call=(x,D,T)=>Nn(x,d,D,T);let _=!1;o==="post"?l.scheduler=x=>{pn(x,d&&d.suspense)}:o!=="sync"&&(_=!0,l.scheduler=(x,D)=>{D?x():Ao(x)}),l.augmentJob=x=>{n&&(x.flags|=4),_&&(x.flags|=2,d&&(x.id=d.uid,x.i=d))};const k=fd(a,n,l);return De&&(g?g.push(k):s&&k()),k}function Td(a,n,e){const i=this.proxy,t=Da(a)?a.includes(".")?zl(i,a):()=>i[a]:a.bind(i,i);let o;ka(n)?o=n:(o=n.handler,e=n);const r=Ei(this),l=So(t,o.bind(i),e);return r(),l}function zl(a,n){const e=n.split(".");return()=>{let i=a;for(let t=0;ta.__isTeleport,Rd=Symbol("_leaveCb");function Eo(a,n){a.shapeFlag&6&&a.component?(a.transition=n,Eo(a.component.subTree,n)):a.shapeFlag&128?(a.ssContent.transition=n.clone(a.ssContent),a.ssFallback.transition=n.clone(a.ssFallback)):a.transition=n}function fi(a,n){return ka(a)?Ja({name:a.name},n,{setup:a}):a}function Mo(a){a.ids=[a.ids[0]+a.ids[2]+++"-",0,0]}function Vl(a,n){let e;return!!((e=Object.getOwnPropertyDescriptor(a,n))&&!e.configurable)}const ht=new WeakMap;function Pi(a,n,e,i,t=!1){if(Ca(a)){a.forEach((T,$)=>Pi(T,n&&(Ca(n)?n[$]:n),e,i,t));return}if(Ci(i)&&!t){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&Pi(a,n,e,i.component.subTree);return}const o=i.shapeFlag&4?vt(i.component):i.el,r=t?null:o,{i:l,r:s}=a,g=n&&n.r,d=l.refs===Fa?l.refs={}:l.refs,_=l.setupState,k=wa(_),x=_===Fa?tl:T=>Vl(d,T)?!1:Ta(k,T),D=(T,$)=>!($&&Vl(d,$));if(g!=null&&g!==s){if(Yl(n),Da(g))d[g]=null,x(g)&&(_[g]=null);else if(Va(g)){const T=n;D(g,T.k)&&(g.value=null),T.k&&(d[T.k]=null)}}if(ka(s))Ke(s,l,12,[r,d]);else{const T=Da(s),$=Va(s);if(T||$){const w=()=>{if(a.f){const L=T?x(s)?_[s]:d[s]:D()||!a.k?s.value:d[a.k];if(t)Ca(L)&&lo(L,o);else if(Ca(L))L.includes(o)||L.push(o);else if(T)d[s]=[o],x(s)&&(_[s]=d[s]);else{const E=[o];D(s,a.k)&&(s.value=E),a.k&&(d[a.k]=E)}}else T?(d[s]=r,x(s)&&(_[s]=r)):$&&(D(s,a.k)&&(s.value=r),a.k&&(d[a.k]=r))};if(r){const L=()=>{w(),ht.delete(a)};L.id=-1,ht.set(a,L),pn(L,e)}else Yl(a),w()}}}function Yl(a){const n=ht.get(a);n&&(n.flags|=8,ht.delete(a))}const Wl=a=>a.nodeType===8;it().requestIdleCallback,it().cancelIdleCallback;function $d(a,n){if(Wl(a)&&a.data==="["){let e=1,i=a.nextSibling;for(;i;){if(i.nodeType===1){if(n(i)===!1)break}else if(Wl(i))if(i.data==="]"){if(--e===0)break}else i.data==="["&&e++;i=i.nextSibling}}else n(a)}const Ci=a=>!!a.type.__asyncLoader;function Fd(a){ka(a)&&(a={loader:a});const{loader:n,loadingComponent:e,errorComponent:i,delay:t=200,hydrate:o,timeout:r,suspensible:l=!0,onError:s}=a;let g=null,d,_=0;const k=()=>(_++,g=null,x()),x=()=>{let D;return g||(D=g=n().catch(T=>{if(T=T instanceof Error?T:new Error(String(T)),s)return new Promise(($,w)=>{s(T,()=>$(k()),()=>w(T),_+1)});throw T}).then(T=>D!==g&&g?g:(T&&(T.__esModule||T[Symbol.toStringTag]==="Module")&&(T=T.default),d=T,T)))};return fi({name:"AsyncComponentWrapper",__asyncLoader:x,__asyncHydrate(D,T,$){let w=!1;(T.bu||(T.bu=[])).push(()=>w=!0);const L=()=>{w||$()},E=o?()=>{const I=o(L,G=>$d(D,G));I&&(T.bum||(T.bum=[])).push(I)}:L;d?E():x().then(()=>!T.isUnmounted&&E())},get __asyncResolved(){return d},setup(){const D=tn;if(Mo(D),d)return()=>yt(d,D);const T=E=>{g=null,yi(E,D,13,!i)};if(l&&D.suspense||De)return x().then(E=>()=>yt(E,D)).catch(E=>(T(E),()=>i?Wa(i,{error:E}):null));const $=ua(!1),w=ua(),L=ua(!!t);return t&&setTimeout(()=>{L.value=!1},t),r!=null&&setTimeout(()=>{if(!$.value&&!w.value){const E=new Error(`Async component timed out after ${r}ms.`);T(E),w.value=E}},r),x().then(()=>{$.value=!0,D.parent&&Io(D.parent.vnode)&&D.parent.update()}).catch(E=>{T(E),w.value=E}),()=>{if($.value&&d)return yt(d,D);if(w.value&&i)return Wa(i,{error:w.value});if(e&&!L.value)return yt(e,D)}}})}function yt(a,n){const{ref:e,props:i,children:t,ce:o}=n.vnode,r=Wa(a,i,t);return r.ref=e,r.ce=o,delete n.vnode.ce,r}const Io=a=>a.type.__isKeepAlive;function Kd(a,n){Jl(a,"a",n)}function Bd(a,n){Jl(a,"da",n)}function Jl(a,n,e=tn){const i=a.__wdc||(a.__wdc=()=>{let t=e;for(;t;){if(t.isDeactivated)return;t=t.parent}return a()});if(bt(n,i,e),e){let t=e.parent;for(;t&&t.parent;)Io(t.parent.vnode)&&Od(i,n,e,t),t=t.parent}}function Od(a,n,e,i){const t=bt(n,a,i,!0);wo(()=>{lo(i[n],t)},e)}function bt(a,n,e=tn,i=!1){if(e){const t=e[a]||(e[a]=[]),o=n.__weh||(n.__weh=(...r)=>{wn();const l=Ei(e),s=Nn(n,e,a,r);return l(),xn(),s});return i?t.unshift(o):t.push(o),o}}const Jn=a=>(n,e=tn)=>{(!De||a==="sp")&&bt(a,(...i)=>n(...i),e)},Zl=Jn("bm"),Rn=Jn("m"),Ud=Jn("bu"),Hd=Jn("u"),Ue=Jn("bum"),wo=Jn("um"),Dd=Jn("sp"),zd=Jn("rtg"),Vd=Jn("rtc");function Yd(a,n=tn){bt("ec",a,n)}const Wd="components",ql=Symbol.for("v-ndc");function Jd(a){return Da(a)?Zd(Wd,a,!1)||a:a||ql}function Zd(a,n,e=!0,i=!1){const t=_n||tn;if(t){const o=t.type;{const l=ws(o,!1);if(l&&(l===n||l===nn(n)||l===et(nn(n))))return o}const r=Xl(t[a]||o[a],n)||Xl(t.appContext[a],n);return!r&&i?o:r}}function Xl(a,n){return a&&(a[n]||a[nn(n)]||a[et(nn(n))])}function Ua(a,n,e,i){let t;const o=e,r=Ca(a);if(r||Da(a)){const l=r&&Vn(a);let s=!1,g=!1;l&&(s=!bn(a),g=Yn(a),a=ot(a)),t=new Array(a.length);for(let d=0,_=a.length;d<_;d++)t[d]=n(s?g?Fe(Gn(a[d])):Gn(a[d]):a[d],d,void 0,o)}else if(typeof a=="number"){t=new Array(a);for(let l=0;ln(l,s,void 0,o));else{const l=Object.keys(a);t=new Array(l.length);for(let s=0,g=l.length;sa?Es(a)?vt(a):xo(a.parent):null,ji=Ja(Object.create(null),{$:a=>a,$el:a=>a.vnode.el,$data:a=>a.data,$props:a=>a.props,$attrs:a=>a.attrs,$slots:a=>a.slots,$refs:a=>a.refs,$parent:a=>xo(a.parent),$root:a=>xo(a.root),$host:a=>a.ce,$emit:a=>a.emit,$options:a=>es(a),$forceUpdate:a=>a.f||(a.f=()=>{Ao(a.update)}),$nextTick:a=>a.n||(a.n=bi.bind(a.proxy)),$watch:a=>Td.bind(a)}),To=(a,n)=>a!==Fa&&!a.__isScriptSetup&&Ta(a,n),qd={get({_:a},n){if(n==="__v_skip")return!0;const{ctx:e,setupState:i,data:t,props:o,accessCache:r,type:l,appContext:s}=a;if(n[0]!=="$"){const k=r[n];if(k!==void 0)switch(k){case 1:return i[n];case 2:return t[n];case 4:return e[n];case 3:return o[n]}else{if(To(i,n))return r[n]=1,i[n];if(t!==Fa&&Ta(t,n))return r[n]=2,t[n];if(Ta(o,n))return r[n]=3,o[n];if(e!==Fa&&Ta(e,n))return r[n]=4,e[n];No&&(r[n]=0)}}const g=ji[n];let d,_;if(g)return n==="$attrs"&&rn(a.attrs,"get",""),g(a);if((d=l.__cssModules)&&(d=d[n]))return d;if(e!==Fa&&Ta(e,n))return r[n]=4,e[n];if(_=s.config.globalProperties,Ta(_,n))return _[n]},set({_:a},n,e){const{data:i,setupState:t,ctx:o}=a;return To(t,n)?(t[n]=e,!0):i!==Fa&&Ta(i,n)?(i[n]=e,!0):Ta(a.props,n)||n[0]==="$"&&n.slice(1)in a?!1:(o[n]=e,!0)},has({_:{data:a,setupState:n,accessCache:e,ctx:i,appContext:t,props:o,type:r}},l){let s;return!!(e[l]||a!==Fa&&l[0]!=="$"&&Ta(a,l)||To(n,l)||Ta(o,l)||Ta(i,l)||Ta(ji,l)||Ta(t.config.globalProperties,l)||(s=r.__cssModules)&&s[l])},defineProperty(a,n,e){return e.get!=null?a._.accessCache[n]=0:Ta(e,"value")&&this.set(a,n,e.value,null),Reflect.defineProperty(a,n,e)}};function Ql(a){return Ca(a)?a.reduce((n,e)=>(n[e]=null,n),{}):a}let No=!0;function Xd(a){const n=es(a),e=a.proxy,i=a.ctx;No=!1,n.beforeCreate&&as(n.beforeCreate,a,"bc");const{data:t,computed:o,methods:r,watch:l,provide:s,inject:g,created:d,beforeMount:_,mounted:k,beforeUpdate:x,updated:D,activated:T,deactivated:$,beforeDestroy:w,beforeUnmount:L,destroyed:E,unmounted:I,render:G,renderTracked:S,renderTriggered:v,errorCaptured:K,serverPrefetch:O,expose:q,inheritAttrs:sa,components:ea,directives:ga,filters:Sa}=n;if(g&&Qd(g,i,null),r)for(const pa in r){const Y=r[pa];ka(Y)&&(i[pa]=Y.bind(e))}if(t){const pa=t.call(e,e);Na(pa)&&(a.data=pi(pa))}if(No=!0,o)for(const pa in o){const Y=o[pa],ta=ka(Y)?Y.bind(e,e):ka(Y.get)?Y.get.bind(e,e):Mn,aa=!ka(Y)&&ka(Y.set)?Y.set.bind(e):Mn,ba=la({get:ta,set:aa});Object.defineProperty(i,pa,{enumerable:!0,configurable:!0,get:()=>ba.value,set:na=>ba.value=na})}if(l)for(const pa in l)ns(l[pa],i,e,pa);if(s){const pa=ka(s)?s.call(e):s;Reflect.ownKeys(pa).forEach(Y=>{vn(Y,pa[Y])})}d&&as(d,a,"c");function ma(pa,Y){Ca(Y)?Y.forEach(ta=>pa(ta.bind(e))):Y&&pa(Y.bind(e))}if(ma(Zl,_),ma(Rn,k),ma(Ud,x),ma(Hd,D),ma(Kd,T),ma(Bd,$),ma(Yd,K),ma(Vd,S),ma(zd,v),ma(Ue,L),ma(wo,I),ma(Dd,O),Ca(q))if(q.length){const pa=a.exposed||(a.exposed={});q.forEach(Y=>{Object.defineProperty(pa,Y,{get:()=>e[Y],set:ta=>e[Y]=ta,enumerable:!0})})}else a.exposed||(a.exposed={});G&&a.render===Mn&&(a.render=G),sa!=null&&(a.inheritAttrs=sa),ea&&(a.components=ea),ga&&(a.directives=ga),O&&Mo(a)}function Qd(a,n,e=Mn){Ca(a)&&(a=Lo(a));for(const i in a){const t=a[i];let o;Na(t)?"default"in t?o=Ya(t.from||i,t.default,!0):o=Ya(t.from||i):o=Ya(t),Va(o)?Object.defineProperty(n,i,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):n[i]=o}}function as(a,n,e){Nn(Ca(a)?a.map(i=>i.bind(n.proxy)):a.bind(n.proxy),n,e)}function ns(a,n,e,i){let t=i.includes(".")?zl(e,i):()=>e[i];if(Da(a)){const o=n[a];ka(o)&&cn(t,o)}else if(ka(a))cn(t,a.bind(e));else if(Na(a))if(Ca(a))a.forEach(o=>ns(o,n,e,i));else{const o=ka(a.handler)?a.handler.bind(e):n[a.handler];ka(o)&&cn(t,o,a)}}function es(a){const n=a.type,{mixins:e,extends:i}=n,{mixins:t,optionsCache:o,config:{optionMergeStrategies:r}}=a.appContext,l=o.get(n);let s;return l?s=l:!t.length&&!e&&!i?s=n:(s={},t.length&&t.forEach(g=>_t(s,g,r,!0)),_t(s,n,r)),Na(n)&&o.set(n,s),s}function _t(a,n,e,i=!1){const{mixins:t,extends:o}=n;o&&_t(a,o,e,!0),t&&t.forEach(r=>_t(a,r,e,!0));for(const r in n)if(!(i&&r==="expose")){const l=ap[r]||e&&e[r];a[r]=l?l(a[r],n[r]):n[r]}return a}const ap={data:is,props:ts,emits:ts,methods:ki,computed:ki,beforeCreate:gn,created:gn,beforeMount:gn,mounted:gn,beforeUpdate:gn,updated:gn,beforeDestroy:gn,beforeUnmount:gn,destroyed:gn,unmounted:gn,activated:gn,deactivated:gn,errorCaptured:gn,serverPrefetch:gn,components:ki,directives:ki,watch:ep,provide:is,inject:np};function is(a,n){return n?a?function(){return Ja(ka(a)?a.call(this,this):a,ka(n)?n.call(this,this):n)}:n:a}function np(a,n){return ki(Lo(a),Lo(n))}function Lo(a){if(Ca(a)){const n={};for(let e=0;en==="modelValue"||n==="model-value"?a.modelModifiers:a[`${n}Modifiers`]||a[`${nn(n)}Modifiers`]||a[`${yn(n)}Modifiers`];function rp(a,n,...e){if(a.isUnmounted)return;const i=a.vnode.props||Fa;let t=e;const o=n.startsWith("update:"),r=o&&op(i,n.slice(7));r&&(r.trim&&(t=e.map(d=>Da(d)?d.trim():d)),r.number&&(t=e.map($u)));let l,s=i[l=so(n)]||i[l=so(nn(n))];!s&&o&&(s=i[l=so(yn(n))]),s&&Nn(s,a,6,t);const g=i[l+"Once"];if(g){if(!a.emitted)a.emitted={};else if(a.emitted[l])return;a.emitted[l]=!0,Nn(g,a,6,t)}}const lp=new WeakMap;function rs(a,n,e=!1){const i=e?lp:n.emitsCache,t=i.get(a);if(t!==void 0)return t;const o=a.emits;let r={},l=!1;if(!ka(a)){const s=g=>{const d=rs(g,n,!0);d&&(l=!0,Ja(r,d))};!e&&n.mixins.length&&n.mixins.forEach(s),a.extends&&s(a.extends),a.mixins&&a.mixins.forEach(s)}return!o&&!l?(Na(a)&&i.set(a,null),null):(Ca(o)?o.forEach(s=>r[s]=null):Ja(r,o),Na(a)&&i.set(a,r),r)}function ft(a,n){return!a||!qi(n)?!1:(n=n.slice(2).replace(/Once$/,""),Ta(a,n[0].toLowerCase()+n.slice(1))||Ta(a,yn(n))||Ta(a,n))}function Jf(){}function ls(a){const{type:n,vnode:e,proxy:i,withProxy:t,propsOptions:[o],slots:r,attrs:l,emit:s,render:g,renderCache:d,props:_,data:k,setupState:x,ctx:D,inheritAttrs:T}=a,$=mt(a);let w,L;try{if(e.shapeFlag&4){const I=t||i,G=I;w=$n(g.call(G,I,d,_,x,k,D)),L=l}else{const I=n;w=$n(I.length>1?I(_,{attrs:l,slots:r,emit:s}):I(_,null)),L=n.props?l:sp(l)}}catch(I){vi.length=0,yi(I,a,1),w=Wa(ge)}let E=w;if(L&&T!==!1){const I=Object.keys(L),{shapeFlag:G}=E;I.length&&G&7&&(o&&I.some(Xi)&&(L=cp(L,o)),E=He(E,L,!1,!0))}return e.dirs&&(E=He(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(e.dirs):e.dirs),e.transition&&Eo(E,e.transition),w=E,mt($),w}const sp=a=>{let n;for(const e in a)(e==="class"||e==="style"||qi(e))&&((n||(n={}))[e]=a[e]);return n},cp=(a,n)=>{const e={};for(const i in a)(!Xi(i)||!(i.slice(9)in n))&&(e[i]=a[i]);return e};function gp(a,n,e){const{props:i,children:t,component:o}=a,{props:r,children:l,patchFlag:s}=n,g=o.emitsOptions;if(n.dirs||n.transition)return!0;if(e&&s>=0){if(s&1024)return!0;if(s&16)return i?ss(i,r,g):!!r;if(s&8){const d=n.dynamicProps;for(let _=0;_Object.create(gs),ds=a=>Object.getPrototypeOf(a)===gs;function dp(a,n,e,i=!1){const t={},o=us();a.propsDefaults=Object.create(null),ps(a,n,t,o);for(const r in a.propsOptions[0])r in t||(t[r]=void 0);e?a.props=i?t:gd(t):a.type.props?a.props=t:a.props=o,a.attrs=o}function pp(a,n,e,i){const{props:t,attrs:o,vnode:{patchFlag:r}}=a,l=wa(t),[s]=a.propsOptions;let g=!1;if((i||r>0)&&!(r&16)){if(r&8){const d=a.vnode.dynamicProps;for(let _=0;_{s=!0;const[k,x]=ms(_,n,!0);Ja(r,k),x&&l.push(...x)};!e&&n.mixins.length&&n.mixins.forEach(d),a.extends&&d(a.extends),a.mixins&&a.mixins.forEach(d)}if(!o&&!s)return Na(a)&&i.set(a,Le),Le;if(Ca(o))for(let d=0;da==="_"||a==="_ctx"||a==="$stable",Fo=a=>Ca(a)?a.map($n):[$n(a)],hp=(a,n,e)=>{if(n._n)return n;const i=Sd((...t)=>Fo(n(...t)),e);return i._c=!1,i},ys=(a,n,e)=>{const i=a._ctx;for(const t in a){if($o(t))continue;const o=a[t];if(ka(o))n[t]=hp(t,o,i);else if(o!=null){const r=Fo(o);n[t]=()=>r}}},bs=(a,n)=>{const e=Fo(n);a.slots.default=()=>e},_s=(a,n,e)=>{for(const i in n)(e||!$o(i))&&(a[i]=n[i])},yp=(a,n,e)=>{const i=a.slots=us();if(a.vnode.shapeFlag&32){const t=n._;t?(_s(i,n,e),e&&cl(i,"_",t,!0)):ys(n,i)}else n&&bs(a,n)},bp=(a,n,e)=>{const{vnode:i,slots:t}=a;let o=!0,r=Fa;if(i.shapeFlag&32){const l=n._;l?e&&l===1?o=!1:_s(t,n,e):(o=!n.$stable,ys(n,t)),r=n}else n&&(bs(a,n),r={default:1});if(o)for(const l in t)!$o(l)&&r[l]==null&&delete t[l]},pn=jp;function _p(a){return fp(a)}function fp(a,n){const e=it();e.__VUE__=!0;const{insert:i,remove:t,patchProp:o,createElement:r,createText:l,createComment:s,setText:g,setElementText:d,parentNode:_,nextSibling:k,setScopeId:x=Mn,insertStaticContent:D}=a,T=(h,C,y,R=null,H=null,V=null,oa=void 0,Q=null,m=!!C.dynamicChildren)=>{if(h===C)return;h&&!Si(h,C)&&(R=P(h),na(h,H,V,!0),h=null),C.patchFlag===-2&&(m=!1,C.dynamicChildren=null);const{type:b,ref:F,shapeFlag:J}=C;switch(b){case Gi:$(h,C,y,R);break;case ge:w(h,C,y,R);break;case Pt:h==null&&L(C,y,R,oa);break;case Aa:ea(h,C,y,R,H,V,oa,Q,m);break;default:J&1?G(h,C,y,R,H,V,oa,Q,m):J&6?ga(h,C,y,R,H,V,oa,Q,m):(J&64||J&128)&&b.process(h,C,y,R,H,V,oa,Q,m,N)}F!=null&&H?Pi(F,h&&h.ref,V,C||h,!C):F==null&&h&&h.ref!=null&&Pi(h.ref,null,V,h,!0)},$=(h,C,y,R)=>{if(h==null)i(C.el=l(C.children),y,R);else{const H=C.el=h.el;C.children!==h.children&&g(H,C.children)}},w=(h,C,y,R)=>{h==null?i(C.el=s(C.children||""),y,R):C.el=h.el},L=(h,C,y,R)=>{[h.el,h.anchor]=D(h.children,C,y,R,h.el,h.anchor)},E=({el:h,anchor:C},y,R)=>{let H;for(;h&&h!==C;)H=k(h),i(h,y,R),h=H;i(C,y,R)},I=({el:h,anchor:C})=>{let y;for(;h&&h!==C;)y=k(h),t(h),h=y;t(C)},G=(h,C,y,R,H,V,oa,Q,m)=>{if(C.type==="svg"?oa="svg":C.type==="math"&&(oa="mathml"),h==null)S(C,y,R,H,V,oa,Q,m);else{const b=h.el&&h.el._isVueCE?h.el:null;try{b&&b._beginPatch(),O(h,C,H,V,oa,Q,m)}finally{b&&b._endPatch()}}},S=(h,C,y,R,H,V,oa,Q)=>{let m,b;const{props:F,shapeFlag:J,transition:ca,dirs:ra}=h;if(m=h.el=r(h.type,V,F&&F.is,F),J&8?d(m,h.children):J&16&&K(h.children,m,null,R,H,Ko(h,V),oa,Q),ra&&Ae(h,null,R,"created"),v(m,h,h.scopeId,oa,R),F){for(const Z in F)Z!=="value"&&!li(Z)&&o(m,Z,null,F[Z],V,R);"value"in F&&o(m,"value",null,F.value,V),(b=F.onVnodeBeforeMount)&&Fn(b,R,h)}ra&&Ae(h,null,R,"beforeMount");const B=Pp(H,ca);B&&ca.beforeEnter(m),i(m,C,y),((b=F&&F.onVnodeMounted)||B||ra)&&pn(()=>{try{b&&Fn(b,R,h),B&&ca.enter(m),ra&&Ae(h,null,R,"mounted")}finally{}},H)},v=(h,C,y,R,H)=>{if(y&&x(h,y),R)for(let V=0;V{for(let b=m;b{const Q=C.el=h.el;let{patchFlag:m,dynamicChildren:b,dirs:F}=C;m|=h.patchFlag&16;const J=h.props||Fa,ca=C.props||Fa;let ra;if(y&&Ee(y,!1),(ra=ca.onVnodeBeforeUpdate)&&Fn(ra,y,C,h),F&&Ae(C,h,y,"beforeUpdate"),y&&Ee(y,!0),(J.innerHTML&&ca.innerHTML==null||J.textContent&&ca.textContent==null)&&d(Q,""),b?q(h.dynamicChildren,b,Q,y,R,Ko(C,H),V):oa||Y(h,C,Q,null,y,R,Ko(C,H),V,!1),m>0){if(m&16)sa(Q,J,ca,y,H);else if(m&2&&J.class!==ca.class&&o(Q,"class",null,ca.class,H),m&4&&o(Q,"style",J.style,ca.style,H),m&8){const B=C.dynamicProps;for(let Z=0;Z{ra&&Fn(ra,y,C,h),F&&Ae(C,h,y,"updated")},R)},q=(h,C,y,R,H,V,oa)=>{for(let Q=0;Q{if(C!==y){if(C!==Fa)for(const V in C)!li(V)&&!(V in y)&&o(h,V,C[V],null,H,R);for(const V in y){if(li(V))continue;const oa=y[V],Q=C[V];oa!==Q&&V!=="value"&&o(h,V,Q,oa,H,R)}"value"in y&&o(h,"value",C.value,y.value,H)}},ea=(h,C,y,R,H,V,oa,Q,m)=>{const b=C.el=h?h.el:l(""),F=C.anchor=h?h.anchor:l("");let{patchFlag:J,dynamicChildren:ca,slotScopeIds:ra}=C;ra&&(Q=Q?Q.concat(ra):ra),h==null?(i(b,y,R),i(F,y,R),K(C.children||[],y,F,H,V,oa,Q,m)):J>0&&J&64&&ca&&h.dynamicChildren&&h.dynamicChildren.length===ca.length?(q(h.dynamicChildren,ca,y,H,V,oa,Q),(C.key!=null||H&&C===H.subTree)&&fs(h,C,!0)):Y(h,C,y,F,H,V,oa,Q,m)},ga=(h,C,y,R,H,V,oa,Q,m)=>{C.slotScopeIds=Q,h==null?C.shapeFlag&512?H.ctx.activate(C,y,R,oa,m):Sa(C,y,R,H,V,oa,m):Ma(h,C,m)},Sa=(h,C,y,R,H,V,oa)=>{const Q=h.component=Mp(h,R,H);if(Io(h)&&(Q.ctx.renderer=N),Ip(Q,!1,oa),Q.asyncDep){if(H&&H.registerDep(Q,ma,oa),!h.el){const m=Q.subTree=Wa(ge);w(null,m,C,y),h.placeholder=m.el}}else ma(Q,h,C,y,H,V,oa)},Ma=(h,C,y)=>{const R=C.component=h.component;if(gp(h,C,y))if(R.asyncDep&&!R.asyncResolved){pa(R,C,y);return}else R.next=C,R.update();else C.el=h.el,R.vnode=C},ma=(h,C,y,R,H,V,oa)=>{const Q=()=>{if(h.isMounted){let{next:J,bu:ca,u:ra,parent:B,vnode:Z}=h;{const qa=Ps(h);if(qa){J&&(J.el=Z.el,pa(h,J,oa)),qa.asyncDep.then(()=>{pn(()=>{h.isUnmounted||b()},H)});return}}let _a=J,va;Ee(h,!1),J?(J.el=Z.el,pa(h,J,oa)):J=Z,ca&&co(ca),(va=J.props&&J.props.onVnodeBeforeUpdate)&&Fn(va,B,J,Z),Ee(h,!0);const Ra=ls(h),an=h.subTree;h.subTree=Ra,T(an,Ra,_(an.el),P(an),h,H,V),J.el=Ra.el,_a===null&&up(h,Ra.el),ra&&pn(ra,H),(va=J.props&&J.props.onVnodeUpdated)&&pn(()=>Fn(va,B,J,Z),H)}else{let J;const{el:ca,props:ra}=C,{bm:B,m:Z,parent:_a,root:va,type:Ra}=h,an=Ci(C);Ee(h,!1),B&&co(B),!an&&(J=ra&&ra.onVnodeBeforeMount)&&Fn(J,_a,C),Ee(h,!0);{va.ce&&va.ce._hasShadowRoot()&&va.ce._injectChildStyle(Ra,h.parent?h.parent.type:void 0);const qa=h.subTree=ls(h);T(null,qa,y,R,h,H,V),C.el=qa.el}if(Z&&pn(Z,H),!an&&(J=ra&&ra.onVnodeMounted)){const qa=C;pn(()=>Fn(J,_a,qa),H)}(C.shapeFlag&256||_a&&Ci(_a.vnode)&&_a.vnode.shapeFlag&256)&&h.a&&pn(h.a,H),h.isMounted=!0,C=y=R=null}};h.scope.on();const m=h.effect=new bl(Q);h.scope.off();const b=h.update=m.run.bind(m),F=h.job=m.runIfDirty.bind(m);F.i=h,F.id=h.uid,m.scheduler=()=>Ao(F),Ee(h,!0),b()},pa=(h,C,y)=>{C.component=h;const R=h.vnode.props;h.vnode=C,h.next=null,pp(h,C.props,R,y),bp(h,C.children,y),wn(),Ol(h),xn()},Y=(h,C,y,R,H,V,oa,Q,m=!1)=>{const b=h&&h.children,F=h?h.shapeFlag:0,J=C.children,{patchFlag:ca,shapeFlag:ra}=C;if(ca>0){if(ca&128){aa(b,J,y,R,H,V,oa,Q,m);return}else if(ca&256){ta(b,J,y,R,H,V,oa,Q,m);return}}ra&8?(F&16&&c(b,H,V),J!==b&&d(y,J)):F&16?ra&16?aa(b,J,y,R,H,V,oa,Q,m):c(b,H,V,!0):(F&8&&d(y,""),ra&16&&K(J,y,R,H,V,oa,Q,m))},ta=(h,C,y,R,H,V,oa,Q,m)=>{h=h||Le,C=C||Le;const b=h.length,F=C.length,J=Math.min(b,F);let ca;for(ca=0;caF?c(h,H,V,!0,!1,J):K(C,y,R,H,V,oa,Q,m,J)},aa=(h,C,y,R,H,V,oa,Q,m)=>{let b=0;const F=C.length;let J=h.length-1,ca=F-1;for(;b<=J&&b<=ca;){const ra=h[b],B=C[b]=m?Zn(C[b]):$n(C[b]);if(Si(ra,B))T(ra,B,y,null,H,V,oa,Q,m);else break;b++}for(;b<=J&&b<=ca;){const ra=h[J],B=C[ca]=m?Zn(C[ca]):$n(C[ca]);if(Si(ra,B))T(ra,B,y,null,H,V,oa,Q,m);else break;J--,ca--}if(b>J){if(b<=ca){const ra=ca+1,B=raca)for(;b<=J;)na(h[b],H,V,!0),b++;else{const ra=b,B=b,Z=new Map;for(b=B;b<=ca;b++){const Ba=C[b]=m?Zn(C[b]):$n(C[b]);Ba.key!=null&&Z.set(Ba.key,b)}let _a,va=0;const Ra=ca-B+1;let an=!1,qa=0;const Pa=new Array(Ra);for(b=0;b=Ra){na(Ba,H,V,!0);continue}let dn;if(Ba.key!=null)dn=Z.get(Ba.key);else for(_a=B;_a<=ca;_a++)if(Pa[_a-B]===0&&Si(Ba,C[_a])){dn=_a;break}dn===void 0?na(Ba,H,V,!0):(Pa[dn-B]=b+1,dn>=qa?qa=dn:an=!0,T(Ba,C[dn],y,null,H,V,oa,Q,m),va++)}const $a=an?Cp(Pa):Le;for(_a=$a.length-1,b=Ra-1;b>=0;b--){const Ba=B+b,dn=C[Ba],Ne=C[Ba+1],hn=Ba+1{const{el:V,type:oa,transition:Q,children:m,shapeFlag:b}=h;if(b&6){ba(h.component.subTree,C,y,R);return}if(b&128){h.suspense.move(C,y,R);return}if(b&64){oa.move(h,C,y,N);return}if(oa===Aa){i(V,C,y);for(let J=0;JQ.enter(V),H);else{const{leave:J,delayLeave:ca,afterLeave:ra}=Q,B=()=>{h.ctx.isUnmounted?t(V):i(V,C,y)},Z=()=>{V._isLeaving&&V[Rd](!0),J(V,()=>{B(),ra&&ra()})};ca?ca(V,B,Z):Z()}else i(V,C,y)},na=(h,C,y,R=!1,H=!1)=>{const{type:V,props:oa,ref:Q,children:m,dynamicChildren:b,shapeFlag:F,patchFlag:J,dirs:ca,cacheIndex:ra,memo:B}=h;if(J===-2&&(H=!1),Q!=null&&(wn(),Pi(Q,null,y,h,!0),xn()),ra!=null&&(C.renderCache[ra]=void 0),F&256){C.ctx.deactivate(h);return}const Z=F&1&&ca,_a=!Ci(h);let va;if(_a&&(va=oa&&oa.onVnodeBeforeUnmount)&&Fn(va,C,h),F&6)j(h.component,y,R);else{if(F&128){h.suspense.unmount(y,R);return}Z&&Ae(h,null,C,"beforeUnmount"),F&64?h.type.remove(h,C,y,N,R):b&&!b.hasOnce&&(V!==Aa||J>0&&J&64)?c(b,C,y,!1,!0):(V===Aa&&J&384||!H&&F&16)&&c(m,C,y),R&&u(h)}const Ra=B!=null&&ra==null;(_a&&(va=oa&&oa.onVnodeUnmounted)||Z||Ra)&&pn(()=>{va&&Fn(va,C,h),Z&&Ae(h,null,C,"unmounted"),Ra&&(h.el=null)},y)},u=h=>{const{type:C,el:y,anchor:R,transition:H}=h;if(C===Aa){A(y,R);return}if(C===Pt){I(h);return}const V=()=>{t(y),H&&!H.persisted&&H.afterLeave&&H.afterLeave()};if(h.shapeFlag&1&&H&&!H.persisted){const{leave:oa,delayLeave:Q}=H,m=()=>oa(y,V);Q?Q(h.el,V,m):m()}else V()},A=(h,C)=>{let y;for(;h!==C;)y=k(h),t(h),h=y;t(C)},j=(h,C,y)=>{const{bum:R,scope:H,job:V,subTree:oa,um:Q,m,a:b}=h;Cs(m),Cs(b),R&&co(R),H.stop(),V&&(V.flags|=8,na(oa,h,C,y)),Q&&pn(Q,C),pn(()=>{h.isUnmounted=!0},C)},c=(h,C,y,R=!1,H=!1,V=0)=>{for(let oa=V;oa{if(h.shapeFlag&6)return P(h.component.subTree);if(h.shapeFlag&128)return h.suspense.next();const C=k(h.anchor||h.el),y=C&&C[Nd];return y?k(y):C};let p=!1;const M=(h,C,y)=>{let R;h==null?C._vnode&&(na(C._vnode,null,null,!0),R=C._vnode.component):T(C._vnode||null,h,C,null,null,null,y),C._vnode=h,p||(p=!0,Ol(R),Ul(),p=!1)},N={p:T,um:na,m:ba,r:u,mt:Sa,mc:K,pc:Y,pbc:q,n:P,o:a};return{render:M,hydrate:void 0,createApp:tp(M)}}function Ko({type:a,props:n},e){return e==="svg"&&a==="foreignObject"||e==="mathml"&&a==="annotation-xml"&&n&&n.encoding&&n.encoding.includes("html")?void 0:e}function Ee({effect:a,job:n},e){e?(a.flags|=32,n.flags|=4):(a.flags&=-33,n.flags&=-5)}function Pp(a,n){return(!a||a&&!a.pendingBranch)&&n&&!n.persisted}function fs(a,n,e=!1){const i=a.children,t=n.children;if(Ca(i)&&Ca(t))for(let o=0;o>1,a[e[l]]0&&(n[i]=e[o-1]),e[o]=i)}}for(o=e.length,r=e[o-1];o-- >0;)e[o]=r,r=n[r];return e}function Ps(a){const n=a.subTree.component;if(n)return n.asyncDep&&!n.asyncResolved?n:Ps(n)}function Cs(a){if(a)for(let n=0;na.__isSuspense;function jp(a,n){n&&n.pendingBranch?Ca(a)?n.effects.push(...a):n.effects.push(a):Ad(a)}const Aa=Symbol.for("v-fgt"),Gi=Symbol.for("v-txt"),ge=Symbol.for("v-cmt"),Pt=Symbol.for("v-stc"),vi=[];let fn=null;function z(a=!1){vi.push(fn=a?null:[])}function kp(){vi.pop(),fn=vi[vi.length-1]||null}let Ai=1;function Ct(a,n=!1){Ai+=a,a<0&&fn&&n&&(fn.hasOnce=!0)}function Gs(a){return a.dynamicChildren=Ai>0?fn||Le:null,kp(),Ai>0&&fn&&fn.push(a),a}function W(a,n,e,i,t,o){return Gs(f(a,n,e,i,t,o,!0))}function Me(a,n,e,i,t){return Gs(Wa(a,n,e,i,t,!0))}function jt(a){return a?a.__v_isVNode===!0:!1}function Si(a,n){return a.type===n.type&&a.key===n.key}const vs=({key:a})=>a??null,kt=({ref:a,ref_key:n,ref_for:e})=>(typeof a=="number"&&(a=""+a),a!=null?Da(a)||Va(a)||ka(a)?{i:_n,r:a,k:n,f:!!e}:a:null);function f(a,n=null,e=null,i=0,t=null,o=a===Aa?0:1,r=!1,l=!1){const s={__v_isVNode:!0,__v_skip:!0,type:a,props:n,key:n&&vs(n),ref:n&&kt(n),scopeId:Dl,slotScopeIds:null,children:e,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:o,patchFlag:i,dynamicProps:t,dynamicChildren:null,appContext:null,ctx:_n};return l?(Bo(s,e),o&128&&a.normalize(s)):e&&(s.shapeFlag|=Da(e)?8:16),Ai>0&&!r&&fn&&(s.patchFlag>0||o&6)&&s.patchFlag!==32&&fn.push(s),s}const Wa=Gp;function Gp(a,n=null,e=null,i=0,t=null,o=!1){if((!a||a===ql)&&(a=ge),jt(a)){const l=He(a,n,!0);return e&&Bo(l,e),Ai>0&&!o&&fn&&(l.shapeFlag&6?fn[fn.indexOf(a)]=l:fn.push(l)),l.patchFlag=-2,l}if(Rp(a)&&(a=a.__vccOpts),n){n=vp(n);let{class:l,style:s}=n;l&&!Da(l)&&(n.class=Ia(l)),Na(s)&&(gt(s)&&!Ca(s)&&(s=Ja({},s)),n.style=Ka(s))}const r=Da(a)?1:ks(a)?128:Ld(a)?64:Na(a)?4:ka(a)?2:0;return f(a,n,e,i,t,r,o,!0)}function vp(a){return a?gt(a)||ds(a)?Ja({},a):a:null}function He(a,n,e=!1,i=!1){const{props:t,ref:o,patchFlag:r,children:l,transition:s}=a,g=n?Ap(t||{},n):t,d={__v_isVNode:!0,__v_skip:!0,type:a.type,props:g,key:g&&vs(g),ref:n&&n.ref?e&&o?Ca(o)?o.concat(kt(n)):[o,kt(n)]:kt(n):o,scopeId:a.scopeId,slotScopeIds:a.slotScopeIds,children:l,target:a.target,targetStart:a.targetStart,targetAnchor:a.targetAnchor,staticCount:a.staticCount,shapeFlag:a.shapeFlag,patchFlag:n&&a.type!==Aa?r===-1?16:r|16:r,dynamicProps:a.dynamicProps,dynamicChildren:a.dynamicChildren,appContext:a.appContext,dirs:a.dirs,transition:s,component:a.component,suspense:a.suspense,ssContent:a.ssContent&&He(a.ssContent),ssFallback:a.ssFallback&&He(a.ssFallback),placeholder:a.placeholder,el:a.el,anchor:a.anchor,ctx:a.ctx,ce:a.ce};return s&&i&&Eo(d,s.clone(d)),d}function ya(a=" ",n=0){return Wa(Gi,null,a,n)}function As(a,n){const e=Wa(Pt,null,a);return e.staticCount=n,e}function fa(a="",n=!1){return n?(z(),Me(ge,null,a)):Wa(ge,null,a)}function $n(a){return a==null||typeof a=="boolean"?Wa(ge):Ca(a)?Wa(Aa,null,a.slice()):jt(a)?Zn(a):Wa(Gi,null,String(a))}function Zn(a){return a.el===null&&a.patchFlag!==-1||a.memo?a:He(a)}function Bo(a,n){let e=0;const{shapeFlag:i}=a;if(n==null)n=null;else if(Ca(n))e=16;else if(typeof n=="object")if(i&65){const t=n.default;t&&(t._c&&(t._d=!1),Bo(a,t()),t._c&&(t._d=!0));return}else{e=32;const t=n._;!t&&!ds(n)?n._ctx=_n:t===3&&_n&&(_n.slots._===1?n._=1:(n._=2,a.patchFlag|=1024))}else ka(n)?(n={default:n,_ctx:_n},e=32):(n=String(n),i&64?(e=16,n=[ya(n)]):e=8);a.children=n,a.shapeFlag|=e}function Ap(...a){const n={};for(let e=0;etn||_n;let Gt,Oo;{const a=it(),n=(e,i)=>{let t;return(t=a[e])||(t=a[e]=[]),t.push(i),o=>{t.length>1?t.forEach(r=>r(o)):t[0](o)}};Gt=n("__VUE_INSTANCE_SETTERS__",e=>tn=e),Oo=n("__VUE_SSR_SETTERS__",e=>De=e)}const Ei=a=>{const n=tn;return Gt(a),a.scope.on(),()=>{a.scope.off(),Gt(n)}},Ss=()=>{tn&&tn.scope.off(),Gt(null)};function Es(a){return a.vnode.shapeFlag&4}let De=!1;function Ip(a,n=!1,e=!1){n&&Oo(n);const{props:i,children:t}=a.vnode,o=Es(a);dp(a,i,o,n),yp(a,t,e||n);const r=o?wp(a,n):void 0;return n&&Oo(!1),r}function wp(a,n){const e=a.type;a.accessCache=Object.create(null),a.proxy=new Proxy(a.ctx,qd);const{setup:i}=e;if(i){wn();const t=a.setupContext=i.length>1?Tp(a):null,o=Ei(a),r=Ke(i,a,0,[a.props,t]),l=ll(r);if(xn(),o(),(l||a.sp)&&!Ci(a)&&Mo(a),l){if(r.then(Ss,Ss),n)return r.then(s=>{Ms(a,s)}).catch(s=>{yi(s,a,0)});a.asyncDep=r}else Ms(a,r)}else Is(a)}function Ms(a,n,e){ka(n)?a.type.__ssrInlineRender?a.ssrRender=n:a.render=n:Na(n)&&(a.setupState=$l(n)),Is(a)}function Is(a,n,e){const i=a.type;a.render||(a.render=i.render||Mn);{const t=Ei(a);wn();try{Xd(a)}finally{xn(),t()}}}const xp={get(a,n){return rn(a,"get",""),a[n]}};function Tp(a){const n=e=>{a.exposed=e||{}};return{attrs:new Proxy(a.attrs,xp),slots:a.slots,emit:a.emit,expose:n}}function vt(a){return a.exposed?a.exposeProxy||(a.exposeProxy=new Proxy($l(mi(a.exposed)),{get(n,e){if(e in n)return n[e];if(e in ji)return ji[e](a)},has(n,e){return e in n||e in ji}})):a.proxy}const Np=/(?:^|[-_])\w/g,Lp=a=>a.replace(Np,n=>n.toUpperCase()).replace(/[-_]/g,"");function ws(a,n=!0){return ka(a)?a.displayName||a.name:a.name||n&&a.__name}function xs(a,n,e=!1){let i=ws(n);if(!i&&n.__file){const t=n.__file.match(/([^/\\]+)\.\w+$/);t&&(i=t[1])}if(!i&&a){const t=o=>{for(const r in o)if(o[r]===n)return r};i=t(a.components)||a.parent&&t(a.parent.type.components)||t(a.appContext.components)}return i?Lp(i):e?"App":"Anonymous"}function Rp(a){return ka(a)&&"__vccOpts"in a}const la=(a,n)=>bd(a,n,De);function Ts(a,n,e){try{Ct(-1);const i=arguments.length;return i===2?Na(n)&&!Ca(n)?jt(n)?Wa(a,null,[n]):Wa(a,n):Wa(a,null,n):(i>3?e=Array.prototype.slice.call(arguments,2):i===3&&jt(e)&&(e=[e]),Wa(a,n,e))}finally{Ct(1)}}const $p="3.5.34";/** +* @vue/runtime-dom v3.5.34 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Uo;const Ns=typeof window<"u"&&window.trustedTypes;if(Ns)try{Uo=Ns.createPolicy("vue",{createHTML:a=>a})}catch{}const Ls=Uo?a=>Uo.createHTML(a):a=>a,Fp="http://www.w3.org/2000/svg",Kp="http://www.w3.org/1998/Math/MathML",qn=typeof document<"u"?document:null,Rs=qn&&qn.createElement("template"),Bp={insert:(a,n,e)=>{n.insertBefore(a,e||null)},remove:a=>{const n=a.parentNode;n&&n.removeChild(a)},createElement:(a,n,e,i)=>{const t=n==="svg"?qn.createElementNS(Fp,a):n==="mathml"?qn.createElementNS(Kp,a):e?qn.createElement(a,{is:e}):qn.createElement(a);return a==="select"&&i&&i.multiple!=null&&t.setAttribute("multiple",i.multiple),t},createText:a=>qn.createTextNode(a),createComment:a=>qn.createComment(a),setText:(a,n)=>{a.nodeValue=n},setElementText:(a,n)=>{a.textContent=n},parentNode:a=>a.parentNode,nextSibling:a=>a.nextSibling,querySelector:a=>qn.querySelector(a),setScopeId(a,n){a.setAttribute(n,"")},insertStaticContent(a,n,e,i,t,o){const r=e?e.previousSibling:n.lastChild;if(t&&(t===o||t.nextSibling))for(;n.insertBefore(t.cloneNode(!0),e),!(t===o||!(t=t.nextSibling)););else{Rs.innerHTML=Ls(i==="svg"?`${a}`:i==="mathml"?`${a}`:a);const l=Rs.content;if(i==="svg"||i==="mathml"){const s=l.firstChild;for(;s.firstChild;)l.appendChild(s.firstChild);l.removeChild(s)}n.insertBefore(l,e)}return[r?r.nextSibling:n.firstChild,e?e.previousSibling:n.lastChild]}},Op=Symbol("_vtc");function Up(a,n,e){const i=a[Op];i&&(n=(n?[n,...i]:[...i]).join(" ")),n==null?a.removeAttribute("class"):e?a.setAttribute("class",n):a.className=n}const At=Symbol("_vod"),$s=Symbol("_vsh"),Hp={name:"show",beforeMount(a,{value:n},{transition:e}){a[At]=a.style.display==="none"?"":a.style.display,e&&n?e.beforeEnter(a):Mi(a,n)},mounted(a,{value:n},{transition:e}){e&&n&&e.enter(a)},updated(a,{value:n,oldValue:e},{transition:i}){!n!=!e&&(i?n?(i.beforeEnter(a),Mi(a,!0),i.enter(a)):i.leave(a,()=>{Mi(a,!1)}):Mi(a,n))},beforeUnmount(a,{value:n}){Mi(a,n)}};function Mi(a,n){a.style.display=n?a[At]:"none",a[$s]=!n}const Dp=Symbol(""),zp=/(?:^|;)\s*display\s*:/;function Vp(a,n,e){const i=a.style,t=Da(e);let o=!1;if(e&&!t){if(n)if(Da(n))for(const r of n.split(";")){const l=r.slice(0,r.indexOf(":")).trim();e[l]==null&&Ii(i,l,"")}else for(const r in n)e[r]==null&&Ii(i,r,"");for(const r in e){r==="display"&&(o=!0);const l=e[r];l!=null?Wp(a,r,!Da(n)&&n?n[r]:void 0,l)||Ii(i,r,l):Ii(i,r,"")}}else if(t){if(n!==e){const r=i[Dp];r&&(e+=";"+r),i.cssText=e,o=zp.test(e)}}else n&&a.removeAttribute("style");At in a&&(a[At]=o?i.display:"",a[$s]&&(i.display="none"))}const Fs=/\s*!important$/;function Ii(a,n,e){if(Ca(e))e.forEach(i=>Ii(a,n,i));else if(e==null&&(e=""),n.startsWith("--"))a.setProperty(n,e);else{const i=Yp(a,n);Fs.test(e)?a.setProperty(yn(i),e.replace(Fs,""),"important"):a[i]=e}}const Ks=["Webkit","Moz","ms"],Ho={};function Yp(a,n){const e=Ho[n];if(e)return e;let i=nn(n);if(i!=="filter"&&i in a)return Ho[n]=i;i=et(i);for(let t=0;tDo||(Qp.then(()=>Do=0),Do=Date.now());function nm(a,n){const e=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=e.attached)return;Nn(em(i,e.value),n,5,[i])};return e.value=a,e.attached=am(),e}function em(a,n){if(Ca(n)){const e=a.stopImmediatePropagation;return a.stopImmediatePropagation=()=>{e.call(a),a._stopped=!0},n.map(i=>t=>!t._stopped&&i&&i(t))}else return n}const zs=a=>a.charCodeAt(0)===111&&a.charCodeAt(1)===110&&a.charCodeAt(2)>96&&a.charCodeAt(2)<123,im=(a,n,e,i,t,o)=>{const r=t==="svg";n==="class"?Up(a,i,r):n==="style"?Vp(a,e,i):qi(n)?Xi(n)||qp(a,n,e,i,o):(n[0]==="."?(n=n.slice(1),!0):n[0]==="^"?(n=n.slice(1),!1):tm(a,n,i,r))?(Us(a,n,i),!a.tagName.includes("-")&&(n==="value"||n==="checked"||n==="selected")&&Os(a,n,i,r,o,n!=="value")):a._isVueCE&&(om(a,n)||a._def.__asyncLoader&&(/[A-Z]/.test(n)||!Da(i)))?Us(a,nn(n),i,o,n):(n==="true-value"?a._trueValue=i:n==="false-value"&&(a._falseValue=i),Os(a,n,i,r))};function tm(a,n,e,i){if(i)return!!(n==="innerHTML"||n==="textContent"||n in a&&zs(n)&&ka(e));if(n==="spellcheck"||n==="draggable"||n==="translate"||n==="autocorrect"||n==="sandbox"&&a.tagName==="IFRAME"||n==="form"||n==="list"&&a.tagName==="INPUT"||n==="type"&&a.tagName==="TEXTAREA")return!1;if(n==="width"||n==="height"){const t=a.tagName;if(t==="IMG"||t==="VIDEO"||t==="CANVAS"||t==="SOURCE")return!1}return zs(n)&&Da(e)?!1:n in a}function om(a,n){const e=a._def.props;if(!e)return!1;const i=nn(n);return Array.isArray(e)?e.some(t=>nn(t)===i):Object.keys(e).some(t=>nn(t)===i)}const Vs={};function rm(a,n,e){let i=fi(a,n);Qi(i)&&(i=Ja({},i,n));class t extends zo{constructor(r){super(i,r,e)}}return t.def=i,t}const lm=typeof HTMLElement<"u"?HTMLElement:class{};class zo extends lm{constructor(n,e={},i=Zs){super(),this._def=n,this._props=e,this._createApp=i,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&&i!==Zs?this._root=this.shadowRoot:n.shadowRoot!==!1?(this.attachShadow(Ja({},n.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 n=this;for(;n=n&&(n.assignedSlot||n.parentNode||n.host);)if(n instanceof zo){this._parent=n;break}this._instance||(this._resolved?this._mount(this._def):n&&n._pendingResolve?this._pendingResolve=n._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(n=this._parent){n&&(this._instance.parent=n._instance,this._inheritParentContext(n))}_inheritParentContext(n=this._parent){n&&this._app&&Object.setPrototypeOf(this._app._context.provides,n._instance.provides)}disconnectedCallback(){this._connected=!1,bi(()=>{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(n){for(const e of n)this._setAttr(e.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let i=0;i{this._resolved=!0,this._pendingResolve=void 0;const{props:o,styles:r}=i;let l;if(o&&!Ca(o))for(const s in o){const g=o[s];(g===Number||g&&g.type===Number)&&(s in this._props&&(this._props[s]=gl(this._props[s])),(l||(l=Object.create(null)))[nn(s)]=!0)}this._numberProps=l,this._resolveProps(i),this.shadowRoot&&this._applyStyles(r),this._mount(i)},e=this._def.__asyncLoader;e?this._pendingResolve=e().then(i=>{i.configureApp=this._def.configureApp,n(this._def=i,!0)}):n(this._def)}_mount(n){this._app=this._createApp(n),this._inheritParentContext(),n.configureApp&&n.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const e=this._instance&&this._instance.exposed;if(e)for(const i in e)Ta(this,i)||Object.defineProperty(this,i,{get:()=>ha(e[i])})}_resolveProps(n){const{props:e}=n,i=Ca(e)?e:Object.keys(e||{});for(const t of Object.keys(this))t[0]!=="_"&&i.includes(t)&&this._setProp(t,this[t]);for(const t of i.map(nn))Object.defineProperty(this,t,{get(){return this._getProp(t)},set(o){this._setProp(t,o,!0,!this._patching)}})}_setAttr(n){if(n.startsWith("data-v-"))return;const e=this.hasAttribute(n);let i=e?this.getAttribute(n):Vs;const t=nn(n);e&&this._numberProps&&this._numberProps[t]&&(i=gl(i)),this._setProp(t,i,!1,!0)}_getProp(n){return this._props[n]}_setProp(n,e,i=!0,t=!1){if(e!==this._props[n]&&(this._dirty=!0,e===Vs?delete this._props[n]:(this._props[n]=e,n==="key"&&this._app&&(this._app._ceVNode.key=e)),t&&this._instance&&this._update(),i)){const o=this._ob;o&&(this._processMutations(o.takeRecords()),o.disconnect()),e===!0?this.setAttribute(yn(n),""):typeof e=="string"||typeof e=="number"?this.setAttribute(yn(n),e+""):e||this.removeAttribute(yn(n)),o&&o.observe(this,{attributes:!0})}}_update(){const n=this._createVNode();this._app&&(n.appContext=this._app._context),dm(n,this._root)}_createVNode(){const n={};this.shadowRoot||(n.onVnodeMounted=n.onVnodeUpdated=this._renderSlots.bind(this));const e=Wa(this._def,Ja(n,this._props));return this._instance||(e.ce=i=>{this._instance=i,i.ce=this,i.isCE=!0;const t=(o,r)=>{this.dispatchEvent(new CustomEvent(o,Qi(r[0])?Ja({detail:r},r[0]):{detail:r}))};i.emit=(o,...r)=>{t(o,r),yn(o)!==o&&t(yn(o),r)},this._setParent()}),e}_applyStyles(n,e,i){if(!n)return;if(e){if(e===this._def||this._styleChildren.has(e))return;this._styleChildren.add(e)}const t=this._nonce,o=this.shadowRoot,r=i?this._getStyleAnchor(i)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(o);let l=null;for(let s=n.length-1;s>=0;s--){const g=document.createElement("style");t&&g.setAttribute("nonce",t),g.textContent=n[s],o.insertBefore(g,l||r),l=g,s===0&&(i||this._styleAnchors.set(this._def,g),e&&this._styleAnchors.set(e,g))}}_getStyleAnchor(n){if(!n)return null;const e=this._styleAnchors.get(n);return e&&e.parentNode===this.shadowRoot?e:(e&&this._styleAnchors.delete(n),null)}_getRootStyleInsertionAnchor(n){for(let e=0;ea.stopPropagation(),prevent:a=>a.preventDefault(),self:a=>a.target!==a.currentTarget,ctrl:a=>!a.ctrlKey,shift:a=>!a.shiftKey,alt:a=>!a.altKey,meta:a=>!a.metaKey,left:a=>"button"in a&&a.button!==0,middle:a=>"button"in a&&a.button!==1,right:a=>"button"in a&&a.button!==2,exact:(a,n)=>sm.some(e=>a[`${e}Key`]&&!n.includes(e))},Xn=(a,n)=>{if(!a)return a;const e=a._withMods||(a._withMods={}),i=n.join(".");return e[i]||(e[i]=(t,...o)=>{for(let r=0;r{const e=a._withKeys||(a._withKeys={}),i=n.join(".");return e[i]||(e[i]=t=>{if(!("key"in t))return;const o=yn(t.key);if(n.some(r=>r===o||gm[r]===o))return a(t)})},um=Ja({patchProp:im},Bp);let Ws;function Js(){return Ws||(Ws=_p(um))}const dm=(...a)=>{Js().render(...a)},Zs=(...a)=>{const n=Js().createApp(...a),{mount:e}=n;return n.mount=i=>{const t=mm(i);if(!t)return;const o=n._component;!ka(o)&&!o.render&&!o.template&&(o.template=t.innerHTML),t.nodeType===1&&(t.textContent="");const r=e(t,!1,pm(t));return t instanceof Element&&(t.removeAttribute("v-cloak"),t.setAttribute("data-v-app","")),r},n};function pm(a){if(a instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&a instanceof MathMLElement)return"mathml"}function mm(a){return Da(a)?document.querySelector(a):a}/*! + * pinia v2.3.1 + * (c) 2025 Eduardo San Martin Morote + * @license MIT + */let qs;const St=a=>qs=a,Xs=Symbol();function Vo(a){return a&&typeof a=="object"&&Object.prototype.toString.call(a)==="[object Object]"&&typeof a.toJSON!="function"}var wi;(function(a){a.direct="direct",a.patchObject="patch object",a.patchFunction="patch function"})(wi||(wi={}));function hm(){const a=po(!0),n=a.run(()=>ua({}));let e=[],i=[];const t=mi({install(o){St(t),t._a=o,o.provide(Xs,t),o.config.globalProperties.$pinia=t,i.forEach(r=>e.push(r)),i=[]},use(o){return this._a?e.push(o):i.push(o),this},_p:e,_a:null,_e:a,_s:new Map,state:n});return t}const Qs=()=>{};function ac(a,n,e,i=Qs){a.push(n);const t=()=>{const o=a.indexOf(n);o>-1&&(a.splice(o,1),i())};return!e&&yl()&&Du(t),t}function ze(a,...n){a.slice().forEach(e=>{e(...n)})}const ym=a=>a(),nc=Symbol(),Yo=Symbol();function Wo(a,n){a instanceof Map&&n instanceof Map?n.forEach((e,i)=>a.set(i,e)):a instanceof Set&&n instanceof Set&&n.forEach(a.add,a);for(const e in n){if(!n.hasOwnProperty(e))continue;const i=n[e],t=a[e];Vo(t)&&Vo(i)&&a.hasOwnProperty(e)&&!Va(i)&&!Vn(i)?a[e]=Wo(t,i):a[e]=i}return a}const bm=Symbol();function _m(a){return!Vo(a)||!a.hasOwnProperty(bm)}const{assign:de}=Object;function fm(a){return!!(Va(a)&&a.effect)}function Pm(a,n,e,i){const{state:t,actions:o,getters:r}=n,l=e.state.value[a];let s;function g(){l||(e.state.value[a]=t?t():{});const d=pd(e.state.value[a]);return de(d,o,Object.keys(r||{}).reduce((_,k)=>(_[k]=mi(la(()=>{St(e);const x=e._s.get(a);return r[k].call(x,x)})),_),{}))}return s=ec(a,g,n,e,i,!0),s}function ec(a,n,e={},i,t,o){let r;const l=de({actions:{}},e),s={deep:!0};let g,d,_=[],k=[],x;const D=i.state.value[a];!o&&!D&&(i.state.value[a]={});let T;function $(K){let O;g=d=!1,typeof K=="function"?(K(i.state.value[a]),O={type:wi.patchFunction,storeId:a,events:x}):(Wo(i.state.value[a],K),O={type:wi.patchObject,payload:K,storeId:a,events:x});const q=T=Symbol();bi().then(()=>{T===q&&(g=!0)}),d=!0,ze(_,O,i.state.value[a])}const w=o?function(){const{state:O}=e,q=O?O():{};this.$patch(sa=>{de(sa,q)})}:Qs;function L(){r.stop(),_=[],k=[],i._s.delete(a)}const E=(K,O="")=>{if(nc in K)return K[Yo]=O,K;const q=function(){St(i);const sa=Array.from(arguments),ea=[],ga=[];function Sa(pa){ea.push(pa)}function Ma(pa){ga.push(pa)}ze(k,{args:sa,name:q[Yo],store:G,after:Sa,onError:Ma});let ma;try{ma=K.apply(this&&this.$id===a?this:G,sa)}catch(pa){throw ze(ga,pa),pa}return ma instanceof Promise?ma.then(pa=>(ze(ea,pa),pa)).catch(pa=>(ze(ga,pa),Promise.reject(pa))):(ze(ea,ma),ma)};return q[nc]=!0,q[Yo]=O,q},I={_p:i,$id:a,$onAction:ac.bind(null,k),$patch:$,$reset:w,$subscribe(K,O={}){const q=ac(_,K,O.detached,()=>sa()),sa=r.run(()=>cn(()=>i.state.value[a],ea=>{(O.flush==="sync"?d:g)&&K({storeId:a,type:wi.direct,events:x},ea)},de({},s,O)));return q},$dispose:L},G=pi(I);i._s.set(a,G);const v=(i._a&&i._a.runWithContext||ym)(()=>i._e.run(()=>(r=po()).run(()=>n({action:E}))));for(const K in v){const O=v[K];if(Va(O)&&!fm(O)||Vn(O))o||(D&&_m(O)&&(Va(O)?O.value=D[K]:Wo(O,D[K])),i.state.value[a][K]=O);else if(typeof O=="function"){const q=E(O,K);v[K]=q,l.actions[K]=O}}return de(G,v),de(wa(G),v),Object.defineProperty(G,"$state",{get:()=>i.state.value[a],set:K=>{$(O=>{de(O,K)})}}),i._p.forEach(K=>{de(G,r.run(()=>K({store:G,app:i._a,pinia:i,options:l})))}),D&&o&&e.hydrate&&e.hydrate(G.$state,D),g=!0,d=!0,G}/*! #__NO_SIDE_EFFECTS__ */function Jo(a,n,e){let i,t;const o=typeof n=="function";typeof a=="string"?(i=a,t=o?e:n):(t=a,i=a.id);function r(l,s){const g=Md();return l=l||(g?Ya(Xs,null):null),l&&St(l),l=qs,l._s.has(i)||(o?ec(i,n,t,l):Pm(i,t,l)),l._s.get(i)}return r.$id=i,r}const Cm={backToLegend:"العودة إلى المفتاح",closeDetailView:"إغلاق عرض التفاصيل"},jm={prayForThem:"صلِّ من أجلهم",adoptThem:"تبنَّهم",moreInfo:"مزيد من المعلومات",zoomIn:"تكبير",zoomOut:"تصغير",switchToLightMode:"التبديل إلى الوضع الفاتح",switchToDarkMode:"التبديل إلى الوضع الداكن",resetView:"إعادة تعيين العرض",toggleFullscreen:"تبديل ملء الشاشة",aboutThisMap:"حول هذه الخريطة",closeMenu:"إغلاق القائمة",reloadMap:"إعادة تحميل الخريطة",showClusters:"إظهار المجموعات",clusterSettings:"إعدادات المجموعات",startAutoFly:"بدء الطيران التلقائي",stopFlight:"إيقاف الطيران",speedLabel:"السرعة:",speedOption:{slow:"بطيء",normal:"عادي",fast:"سريع"},shareEmbed:"مشاركة وتضمين"},km={labels:{country:"الدولة:",population:"السكان:",language:"اللغة:",religion:"الديانة:",languageFamily:"العائلة اللغوية:",peopleCommitted:"ملتزمون بالصلاة:"},messages:{noDescription:"لا يوجد وصف متاح."}},Gm={title:{prayer:"تقدم الصلاة",engagement:"تقدم الانخراط",adoption:"تقدم التبني",languageFamilies:"العائلات اللغوية",geoRegions:"مناطق",affinityBlocs:"كتل القرابة",gospelResources:"موارد الإنجيل"},header:{collapsed:"وسيلة الإيضاح",peopleGroupFallback:"مجموعة الشعب"},prayer:{needsPrayer:"يحتاج إلى صلاة",hasPrayer:"لديه صلاة",fullPrayerCoverage:"تغطية صلاة كاملة"},engagement:{needsEngagement:"يحتاج إلى انخراط",hasEngagement:"لديه انخراط"},adoption:{needsAdoption:"يحتاج إلى تبني",hasAdoption:"لديه تبني"},columns:{upgs:"UUPGs",population:"السكان",name:"الاسم"},footer:{total:"الإجمالي"},sortByUpgs:"ترتيب حسب UUPG",sortByPop:"ترتيب حسب السكان",colLabel:{religion:"ديانات UUPG",prayer:"حالة الصلاة",engagement:"حالة المشاركة",adoption:"حالة التبني",status:"الحالة"},titleBar:{legend:"مفتاح الخريطة",peopleGroups:"الشعوب",wagfRegions:"مناطق WAGF",languages:"اللغات"}},vm={menuComingSoon:"القائمة قادمة قريباً"},Am={clusterByRegion:"حسب منطقة",clusterByLanguageFamily:"حسب العائلة اللغوية",clusterByGospelResource:"حسب مورد الإنجيل"},Sm={header:"دورة الصلاة الحالية",lap:"الدورة",upgs:"UUPGs",separator:" من "},Em={placeholder:"شعب، مكان، لغة، ديانة",labels:{people:"الشعب:",place:"المكان:",language:"اللغة:",religion:"الديانة:"},kinds:{people:"الشعب + الدولة",peopleGroup:"الشعب",bloc:"كتلة التقارب",cluster:"مجموعة شعوب",country:"الدولة",region:"المنطقة",family:"عائلة اللغة",languageKind:"اللغة",dialect:"اللهجة",religionKind:"الدين"}},Mm={prayer:"الصلاة",adoption:"التبني",engagement:"المشاركة","affinity-blocks":"الشعوب",regions:"المناطق",countries:"الدول","language-families":"اللغات",religion:"الأديان",family:"عائلة اللغة",language:"اللغة",dialect:"اللهجة/التنوع",bloc:"كتلة التقارب",cluster:"المجموعة",group:"الشعب",pgic:"الشعب في الدولة",region:"منطقة WAGF",block:"كتلة WAGF",country:"الدولة"},Im={backToLegend:"Zurück zur Legende",closeDetailView:"Detailansicht schließen"},wm={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"},xm={labels:{country:"Land:",population:"Bevölkerung:",language:"Sprache:",religion:"Religion:",languageFamily:"Sprachfamilie:",peopleCommitted:"Zum Gebet verpflichtet:"},messages:{noDescription:"Keine Beschreibung verfügbar."}},Tm={title:{prayer:"Gebetsfortschritt",engagement:"Engagement-Fortschritt",adoption:"Adoptionsfortschritt",languageFamilies:"Sprachfamilien",geoRegions:"Regionen",affinityBlocs:"Affinitätsblöcke",gospelResources:"Evangeliumsressourcen"},header:{collapsed:"Legende",peopleGroupFallback:"Volksgruppe"},prayer:{needsPrayer:"Braucht Gebet",hasPrayer:"Hat Gebet",fullPrayerCoverage:"Vollständige Gebetsabdeckung"},engagement:{needsEngagement:"Braucht Engagement",hasEngagement:"Hat Engagement"},adoption:{needsAdoption:"Braucht Adoption",hasAdoption:"Hat Adoption"},columns:{upgs:"UUPGs",population:"Bevölkerung"},footer:{total:"Gesamt"}},Nm={menuComingSoon:"Menü folgt in Kürze"},Lm={clusterByRegion:"Nach Region",clusterByLanguageFamily:"Nach Sprachfamilie",clusterByGospelResource:"Nach Evangeliumsressource"},Rm={header:"AKTUELLE GEBETSRUNDE",lap:"Runde",upgs:"UUPGs",separator:" von "},$m={placeholder:"Volk, Ort, Sprache, Religion",labels:{people:"Volk:",place:"Ort:",language:"Sprache:",religion:"Religion:"},sections:{within:"Innerhalb {selection}",allData:"Alle Daten"}},Fm={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"},Km={backToLegend:"Back to Legend",closeDetailView:"Close detail view"},Bm={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"},Om={labels:{country:"Country:",population:"Population:",language:"Language:",religion:"Religion:",languageFamily:"Language Family:",peopleCommitted:"Committed to pray:"},messages:{noDescription:"No description available."}},Um={title:{prayer:"Prayer Progress",engagement:"Engagement Progress",adoption:"Adoption Progress",languageFamilies:"Language Families",geoRegions:"Regions",affinityBlocs:"Affinity Blocks",gospelResources:"Gospel Resources"},header:{default:"Legend",collapsed:"Legend",peopleGroupFallback:"People Group"},prayer:{needsPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayerCoverage:"Full Prayer Coverage"},engagement:{needsEngagement:"Unengaged",hasEngagement:"Engaged"},adoption:{needsAdoption:"Needs Adoption",hasAdoption:"Has Adoption"},columns:{upgs:"UUPGs",population:"Population",name:"Name"},footer:{total:"Total"},sortByUpgs:"Sort by UUPGs",sortByPop:"Sort by Population",colLabel:{religion:"UUPG Religions",prayer:"Prayer Status",engagement:"Engagement Status",adoption:"Adoption Status",status:"Status"},titleBar:{legend:"Legend",peopleGroups:"People Groups",wagfRegions:"WAGF Regions",languages:"Languages"}},Hm={menuComingSoon:"Menu coming soon"},Dm={clusterByRegion:"By Region",clusterByLanguageFamily:"By Language Family",clusterByGospelResource:"By Gospel Resource"},zm={country:{wagfRegion:"WAGF Region",wagfBlock:"WAGF Bloc",country:"Country",uupgCount:"UUPG Count"}},Vm={header:"CURRENT PRAYER LAP",lap:"Lap",upgs:"UUPGs",separator:" of "},Ym={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 Data"}},Wm={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"},Jm={backToLegend:"Volver a la leyenda",closeDetailView:"Cerrar vista de detalle"},Zm={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"},qm={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."}},Xm={title:{prayer:"Progreso de oración",engagement:"Progreso de implicación",adoption:"Progreso de adopción",languageFamilies:"Familias lingüísticas",geoRegions:"Regiones",affinityBlocs:"Bloques de afinidad",gospelResources:"Recursos del Evangelio"},header:{collapsed:"Leyenda",peopleGroupFallback:"Grupo de personas"},prayer:{needsPrayer:"Necesita oración",hasPrayer:"Tiene oración",fullPrayerCoverage:"Cobertura de oración completa"},engagement:{needsEngagement:"Necesita implicación",hasEngagement:"Tiene implicación"},adoption:{needsAdoption:"Necesita adopción",hasAdoption:"Tiene adopción"},columns:{upgs:"UUPGs",population:"Población",name:"Nombre"},footer:{total:"Total"},sortByUpgs:"Ordenar por UUPG",sortByPop:"Ordenar por población",colLabel:{religion:"Religiones UUPG",prayer:"Estado de oración",engagement:"Estado de compromiso",adoption:"Estado de adopción",status:"Estado"},titleBar:{legend:"Leyenda",peopleGroups:"Pueblos",wagfRegions:"Regiones WAGF",languages:"Idiomas"}},Qm={menuComingSoon:"Menú próximamente"},ah={clusterByRegion:"Por región",clusterByLanguageFamily:"Por familia lingüística",clusterByGospelResource:"Por recurso del Evangelio"},nh={header:"VUELTA DE ORACIÓN ACTUAL",lap:"Vuelta",upgs:"UUPGs",separator:" de "},eh={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"}},ih={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"},th={backToLegend:"Retour à la légende",closeDetailView:"Fermer la vue détaillée"},oh={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"},rh={labels:{country:"Pays :",population:"Population :",language:"Langue :",religion:"Religion :",languageFamily:"Famille de langues :",peopleCommitted:"Engagés à prier :"},messages:{noDescription:"Aucune description disponible."}},lh={title:{prayer:"Progression de la prière",engagement:"Progression de l'engagement",adoption:"Progression de l'adoption",languageFamilies:"Familles de langues",geoRegions:"Régions",affinityBlocs:"Blocs d'affinité",gospelResources:"Ressources de l'Évangile"},header:{collapsed:"Légende",peopleGroupFallback:"Groupe de personnes"},prayer:{needsPrayer:"Besoin de prière",hasPrayer:"Prière en cours",fullPrayerCoverage:"Couverture de prière complète"},engagement:{needsEngagement:"Besoin d'engagement",hasEngagement:"Engagement en cours"},adoption:{needsAdoption:"Besoin d'adoption",hasAdoption:"Adoption en cours"},columns:{upgs:"UUPGs",population:"Population",name:"Nom"},footer:{total:"Total"},sortByUpgs:"Trier par UUPG",sortByPop:"Trier par population",colLabel:{religion:"Religions UUPG",prayer:"Statut de prière",engagement:"Statut d'engagement",adoption:"Statut d'adoption",status:"Statut"},titleBar:{legend:"Légende",peopleGroups:"Peuples",wagfRegions:"Régions WAGF",languages:"Langues"}},sh={menuComingSoon:"Menu bientôt disponible"},ch={clusterByRegion:"Par région",clusterByLanguageFamily:"Par famille de langues",clusterByGospelResource:"Par ressource de l'Évangile"},gh={country:{wagfRegion:"Région WAGF",wagfBlock:"Bloc WAGF",country:"Pays",uupgCount:"Nombre d'UUPG"}},uh={header:"TOUR DE PRIÈRE ACTUEL",lap:"Tour",upgs:"UUPGs",separator:" sur "},dh={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"}},ph={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"},mh={backToLegend:"लेजेंड पर वापस जाएं",closeDetailView:"विवरण दृश्य बंद करें"},hh={prayForThem:"उनके लिए प्रार्थना करें",adoptThem:"उन्हें गोद लें",moreInfo:"अधिक जानकारी",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",switchToLightMode:"लाइट मोड पर जाएं",switchToDarkMode:"डार्क मोड पर जाएं",resetView:"दृश्य रीसेट करें",toggleFullscreen:"फ़ुलस्क्रीन टॉगल करें",aboutThisMap:"इस मानचित्र के बारे में",closeMenu:"मेनू बंद करें",reloadMap:"मानचित्र पुनः लोड करें",showClusters:"क्लस्टर दिखाएं",clusterSettings:"क्लस्टर सेटिंग्स",startAutoFly:"ऑटो फ्लाई शुरू करें",stopFlight:"उड़ान रोकें",speedLabel:"गति:",speedOption:{slow:"धीमी",normal:"सामान्य",fast:"तेज़"},shareEmbed:"साझा करें और एम्बेड करें"},yh={labels:{country:"देश:",population:"जनसंख्या:",language:"भाषा:",religion:"धर्म:",languageFamily:"भाषा परिवार:",peopleCommitted:"प्रार्थना के लिए प्रतिबद्ध:"},messages:{noDescription:"कोई विवरण उपलब्ध नहीं है।"}},bh={title:{prayer:"प्रार्थना प्रगति",engagement:"सहभागिता प्रगति",adoption:"गोद लेने की प्रगति",languageFamilies:"भाषा परिवार",geoRegions:"क्षेत्र",affinityBlocs:"समानता समूह",gospelResources:"सुसमाचार संसाधन"},header:{collapsed:"किंवदंती",peopleGroupFallback:"जनजाति समूह"},prayer:{needsPrayer:"प्रार्थना चाहिए",hasPrayer:"प्रार्थना है",fullPrayerCoverage:"पूर्ण प्रार्थना कवरेज"},engagement:{needsEngagement:"सहभागिता चाहिए",hasEngagement:"सहभागिता है"},adoption:{needsAdoption:"गोद लेना चाहिए",hasAdoption:"गोद लिया गया"},columns:{upgs:"UUPGs",population:"जनसंख्या"},footer:{total:"कुल"}},_h={menuComingSoon:"मेनू शीघ्र आ रहा है"},fh={clusterByRegion:"क्षेत्र के अनुसार",clusterByLanguageFamily:"भाषा परिवार के अनुसार",clusterByGospelResource:"सुसमाचार संसाधन के अनुसार"},Ph={header:"वर्तमान प्रार्थना चक्र",lap:"चक्र",upgs:"UUPGs",separator:" में से "},Ch={placeholder:"लोग, स्थान, भाषा, धर्म",labels:{people:"लोग:",place:"स्थान:",language:"भाषा:",religion:"धर्म:"}},jh={backToLegend:"Torna alla legenda",closeDetailView:"Chiudi vista dettaglio"},kh={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"},Gh={labels:{country:"Paese:",population:"Popolazione:",language:"Lingua:",religion:"Religione:",languageFamily:"Famiglia linguistica:",peopleCommitted:"Impegnati a pregare:"},messages:{noDescription:"Nessuna descrizione disponibile."}},vh={title:{prayer:"Avanzamento della preghiera",engagement:"Avanzamento dell'impegno",adoption:"Avanzamento dell'adozione",languageFamilies:"Famiglie linguistiche",geoRegions:"Regioni",affinityBlocs:"Blocchi di affinità",gospelResources:"Risorse del Vangelo"},header:{collapsed:"Legenda",peopleGroupFallback:"Gruppo di persone"},prayer:{needsPrayer:"Necessita preghiera",hasPrayer:"Ha preghiera",fullPrayerCoverage:"Copertura di preghiera completa"},engagement:{needsEngagement:"Necessita impegno",hasEngagement:"Ha impegno"},adoption:{needsAdoption:"Necessita adozione",hasAdoption:"Ha adozione"},columns:{upgs:"UUPGs",population:"Popolazione"},footer:{total:"Totale"}},Ah={menuComingSoon:"Menu in arrivo"},Sh={clusterByRegion:"Per regione",clusterByLanguageFamily:"Per famiglia linguistica",clusterByGospelResource:"Per risorsa del Vangelo"},Eh={header:"GIRO DI PREGHIERA ATTUALE",lap:"Giro",upgs:"UUPGs",separator:" di "},Mh={placeholder:"Popolo, luogo, lingua, religione",labels:{people:"Popolo:",place:"Luogo:",language:"Lingua:",religion:"Religione:"}},Ih={backToLegend:"Voltar à legenda",closeDetailView:"Fechar vista de detalhe"},wh={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"},xh={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."}},Th={title:{prayer:"Progresso da oração",engagement:"Progresso do envolvimento",adoption:"Progresso da adoção",languageFamilies:"Famílias linguísticas",geoRegions:"Regiões",affinityBlocs:"Blocos de afinidade",gospelResources:"Recursos do Evangelho"},header:{collapsed:"Legenda",peopleGroupFallback:"Grupo de pessoas"},prayer:{needsPrayer:"Precisa de oração",hasPrayer:"Tem oração",fullPrayerCoverage:"Cobertura de oração completa"},engagement:{needsEngagement:"Precisa de envolvimento",hasEngagement:"Tem envolvimento"},adoption:{needsAdoption:"Precisa de adoção",hasAdoption:"Tem adoção"},columns:{upgs:"UUPGs",population:"População",name:"Nome"},footer:{total:"Total"},sortByUpgs:"Ordenar por UUPG",sortByPop:"Ordenar por população",colLabel:{religion:"Religiões UUPG",prayer:"Status de oração",engagement:"Status de engajamento",adoption:"Status de adoção",status:"Status"},titleBar:{legend:"Legenda",peopleGroups:"Povos",wagfRegions:"Regiões WAGF",languages:"Idiomas"}},Nh={menuComingSoon:"Menu em breve"},Lh={clusterByRegion:"Por região",clusterByLanguageFamily:"Por família linguística",clusterByGospelResource:"Por recurso do Evangelho"},Rh={header:"VOLTA DE ORAÇÃO ATUAL",lap:"Volta",upgs:"UUPGs",separator:" de "},$h={placeholder:"Povo, local, língua, religião",labels:{people:"Povo:",place:"Local:",language:"Língua:",religion:"Religião:"},kinds:{people:"Povo + país",peopleGroup:"Povo",bloc:"Bloco de afinidade",cluster:"Agrupamento de povos",country:"País",region:"Região",family:"Família linguística",languageKind:"Idioma",dialect:"Dialeto",religionKind:"Religião"}},Fh={prayer:"Oração",adoption:"Adoção",engagement:"Engajamento","affinity-blocks":"Povos",regions:"Regiões",countries:"Países","language-families":"Idiomas",religion:"Religiões",family:"Família linguística",language:"Idioma",dialect:"Dialeto/Variedade",bloc:"Bloco de afinidade",cluster:"Agrupamento",group:"Povo",pgic:"Povo no país",region:"Região WAGF",block:"Bloco WAGF",country:"País"},Kh={backToLegend:"Înapoi la legendă",closeDetailView:"Închide vizualizarea detaliată"},Bh={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ă"},Oh={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ă."}},Uh={title:{prayer:"Progresul rugăciunii",engagement:"Progresul implicării",adoption:"Progresul adopției",languageFamilies:"Familii de limbi",geoRegions:"Regiuni",affinityBlocs:"Blocuri de afinitate",gospelResources:"Resurse ale Evangheliei"},header:{collapsed:"Legendă",peopleGroupFallback:"Grup de popoare"},prayer:{needsPrayer:"Necesită rugăciune",hasPrayer:"Are rugăciune",fullPrayerCoverage:"Acoperire completă de rugăciune"},engagement:{needsEngagement:"Necesită implicare",hasEngagement:"Are implicare"},adoption:{needsAdoption:"Necesită adopție",hasAdoption:"Are adopție"},columns:{upgs:"UUPGs",population:"Populație"},footer:{total:"Total"}},Hh={menuComingSoon:"Meniu în curând"},Dh={clusterByRegion:"După regiune",clusterByLanguageFamily:"După familia de limbi",clusterByGospelResource:"După resursa Evangheliei"},zh={header:"TURUL DE RUGĂCIUNE CURENT",lap:"Tur",upgs:"UUPGs",separator:" din "},Vh={placeholder:"Popor, loc, limbă, religie",labels:{people:"Popor:",place:"Loc:",language:"Limbă:",religion:"Religie:"}},Yh={backToLegend:"Назад к легенде",closeDetailView:"Закрыть подробный вид"},Wh={prayForThem:"Молитесь о них",adoptThem:"Усыновите их",moreInfo:"Подробнее",zoomIn:"Приблизить",zoomOut:"Отдалить",switchToLightMode:"Переключить на светлый режим",switchToDarkMode:"Переключить на тёмный режим",resetView:"Сбросить вид",toggleFullscreen:"Полноэкранный режим",aboutThisMap:"Об этой карте",closeMenu:"Закрыть меню",reloadMap:"Перезагрузить карту",showClusters:"Показать кластеры",clusterSettings:"Настройки кластеров",startAutoFly:"Начать авто-полёт",stopFlight:"Остановить полёт",speedLabel:"Скорость:",speedOption:{slow:"Медленно",normal:"Нормально",fast:"Быстро"},shareEmbed:"Поделиться и встроить"},Jh={labels:{country:"Страна:",population:"Население:",language:"Язык:",religion:"Религия:",languageFamily:"Языковая семья:",peopleCommitted:"Обязались молиться:"},messages:{noDescription:"Описание недоступно."}},Zh={title:{prayer:"Прогресс молитвы",engagement:"Прогресс вовлечённости",adoption:"Прогресс усыновления",languageFamilies:"Языковые семьи",geoRegions:"Регионы",affinityBlocs:"Блоки родства",gospelResources:"Евангельские ресурсы"},header:{collapsed:"Условные обозначения",peopleGroupFallback:"Народная группа"},prayer:{needsPrayer:"Нуждается в молитве",hasPrayer:"Есть молитва",fullPrayerCoverage:"Полное молитвенное покрытие"},engagement:{needsEngagement:"Нуждается в вовлечённости",hasEngagement:"Есть вовлечённость"},adoption:{needsAdoption:"Нуждается в усыновлении",hasAdoption:"Есть усыновление"},columns:{upgs:"UUPGs",population:"Население",name:"Название"},footer:{total:"Всего"},sortByUpgs:"Сортировать по UUPG",sortByPop:"Сортировать по населению",colLabel:{religion:"Религии UUPG",prayer:"Статус молитвы",engagement:"Статус вовлечённости",adoption:"Статус усыновления",status:"Статус"},titleBar:{legend:"Легенда",peopleGroups:"Народы",wagfRegions:"Регионы WAGF",languages:"Языки"}},qh={menuComingSoon:"Меню скоро появится"},Xh={clusterByRegion:"По региону",clusterByLanguageFamily:"По языковой семье",clusterByGospelResource:"По евангельскому ресурсу"},Qh={header:"ТЕКУЩИЙ КРУГ МОЛИТВЫ",lap:"Круг",upgs:"UUPGs",separator:" из "},a0={placeholder:"Народ, место, язык, религия",labels:{people:"Народ:",place:"Место:",language:"Язык:",religion:"Религия:"},kinds:{people:"Народ + страна",peopleGroup:"Народ",bloc:"Блок родства",cluster:"Кластер народов",country:"Страна",region:"Регион",family:"Языковая семья",languageKind:"Язык",dialect:"Диалект",religionKind:"Религия"}},n0={prayer:"Молитва",adoption:"Усыновление",engagement:"Вовлечённость","affinity-blocks":"Народы",regions:"Регионы",countries:"Страны","language-families":"Языки",religion:"Религии",family:"Языковая семья",language:"Язык",dialect:"Диалект/вариант",bloc:"Блок родства",cluster:"Кластер",group:"Народ",pgic:"Народ в стране",region:"Регион WAGF",block:"Блок WAGF",country:"Страна"},e0={backToLegend:"返回图例",closeDetailView:"关闭详情视图"},i0={prayForThem:"为他们祷告",adoptThem:"认领他们",moreInfo:"更多信息",zoomIn:"放大",zoomOut:"缩小",switchToLightMode:"切换至浅色模式",switchToDarkMode:"切换至深色模式",resetView:"重置视图",toggleFullscreen:"切换全屏",aboutThisMap:"关于此地图",closeMenu:"关闭菜单",reloadMap:"重新加载地图",showClusters:"显示聚类",clusterSettings:"聚类设置",startAutoFly:"开始自动飞行",stopFlight:"停止飞行",speedLabel:"速度:",speedOption:{slow:"慢",normal:"正常",fast:"快"},shareEmbed:"分享与嵌入"},t0={labels:{country:"国家:",population:"人口:",language:"语言:",religion:"宗教:",languageFamily:"语系:",peopleCommitted:"承诺祷告人数:"},messages:{noDescription:"暂无描述。"}},o0={title:{prayer:"祷告进度",engagement:"参与进度",adoption:"认领进度",languageFamilies:"语系",geoRegions:"区域",affinityBlocs:"亲缘板块",gospelResources:"福音资源"},header:{collapsed:"图例",peopleGroupFallback:"民族群体"},prayer:{needsPrayer:"需要祷告",hasPrayer:"已有祷告",fullPrayerCoverage:"全面祷告覆盖"},engagement:{needsEngagement:"需要参与",hasEngagement:"已有参与"},adoption:{needsAdoption:"需要认领",hasAdoption:"已有认领"},columns:{upgs:"UUPGs",population:"人口"},footer:{total:"总计"}},r0={menuComingSoon:"菜单即将推出"},l0={clusterByRegion:"按 区域",clusterByLanguageFamily:"按语系",clusterByGospelResource:"按福音资源"},s0={header:"当前祷告轮次",lap:"第",upgs:"UUPGs",separator:" / "},c0={placeholder:"民族、地点、语言、宗教",labels:{people:"民族:",place:"地点:",language:"语言:",religion:"宗教:"}};/*! + * shared v9.14.5 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */function g0(a,n){typeof console<"u"&&(console.warn("[intlify] "+a),n&&console.warn(n.stack))}const Et=typeof window<"u",pe=(a,n=!1)=>n?Symbol.for(a):Symbol(a),u0=(a,n,e)=>d0({l:a,k:n,s:e}),d0=a=>JSON.stringify(a).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Za=a=>typeof a=="number"&&isFinite(a),p0=a=>lc(a)==="[object Date]",me=a=>lc(a)==="[object RegExp]",Mt=a=>Ga(a)&&Object.keys(a).length===0,on=Object.assign,m0=Object.create,La=(a=null)=>m0(a);let ic;const Qn=()=>ic||(ic=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:La());function tc(a){return a.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function oc(a){return a.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function h0(a){return a=a.replace(/(\w+)\s*=\s*"([^"]*)"/g,(i,t,o)=>`${t}="${oc(o)}"`),a=a.replace(/(\w+)\s*=\s*'([^']*)'/g,(i,t,o)=>`${t}='${oc(o)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(a)&&(a=a.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(i=>{a=a.replace(i,"$1javascript:")}),a}const y0=Object.prototype.hasOwnProperty;function An(a,n){return y0.call(a,n)}const za=Array.isArray,Ha=a=>typeof a=="function",da=a=>typeof a=="string",Ea=a=>typeof a=="boolean",xa=a=>a!==null&&typeof a=="object",b0=a=>xa(a)&&Ha(a.then)&&Ha(a.catch),rc=Object.prototype.toString,lc=a=>rc.call(a),Ga=a=>{if(!xa(a))return!1;const n=Object.getPrototypeOf(a);return n===null||n.constructor===Object},_0=a=>a==null?"":za(a)||Ga(a)&&a.toString===rc?JSON.stringify(a,null,2):String(a);function f0(a,n=""){return a.reduce((e,i,t)=>t===0?e+i:e+n+i,"")}function It(a){let n=a;return()=>++n}const wt=a=>!xa(a)||za(a);function xt(a,n){if(wt(a)||wt(n))throw new Error("Invalid value");const e=[{src:a,des:n}];for(;e.length;){const{src:i,des:t}=e.pop();Object.keys(i).forEach(o=>{o!=="__proto__"&&(xa(i[o])&&!xa(t[o])&&(t[o]=Array.isArray(i[o])?[]:La()),wt(t[o])||wt(i[o])?t[o]=i[o]:e.push({src:i[o],des:t[o]}))})}}/*! + * message-compiler v9.14.5 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */function P0(a,n,e){return{line:a,column:n,offset:e}}function Tt(a,n,e){return{start:a,end:n}}const C0=/\{([0-9a-zA-Z]+)\}/g;function sc(a,...n){return n.length===1&&j0(n[0])&&(n=n[0]),(!n||!n.hasOwnProperty)&&(n={}),a.replace(C0,(e,i)=>n.hasOwnProperty(i)?n[i]:"")}const cc=Object.assign,gc=a=>typeof a=="string",j0=a=>a!==null&&typeof a=="object";function uc(a,n=""){return a.reduce((e,i,t)=>t===0?e+i:e+n+i,"")}const Zo={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},k0={[Zo.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function G0(a,n,...e){const i=sc(k0[a],...e||[]),t={message:String(i),code:a};return n&&(t.location=n),t}const ja={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},v0={[ja.EXPECTED_TOKEN]:"Expected token: '{0}'",[ja.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ja.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ja.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ja.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ja.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ja.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ja.EMPTY_PLACEHOLDER]:"Empty placeholder",[ja.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ja.INVALID_LINKED_FORMAT]:"Invalid linked format",[ja.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ja.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ja.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ja.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ja.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ja.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Ve(a,n,e={}){const{domain:i,messages:t,args:o}=e,r=sc((t||v0)[a]||"",...o||[]),l=new SyntaxError(String(r));return l.code=a,n&&(l.location=n),l.domain=i,l}function A0(a){throw a}const ae=" ",S0="\r",un=` +`,E0="\u2028",M0="\u2029";function I0(a){const n=a;let e=0,i=1,t=1,o=0;const r=v=>n[v]===S0&&n[v+1]===un,l=v=>n[v]===un,s=v=>n[v]===M0,g=v=>n[v]===E0,d=v=>r(v)||l(v)||s(v)||g(v),_=()=>e,k=()=>i,x=()=>t,D=()=>o,T=v=>r(v)||s(v)||g(v)?un:n[v],$=()=>T(e),w=()=>T(e+o);function L(){return o=0,d(e)&&(i++,t=0),r(e)&&e++,e++,t++,n[e]}function E(){return r(e+o)&&o++,o++,n[e+o]}function I(){e=0,i=1,t=1,o=0}function G(v=0){o=v}function S(){const v=e+o;for(;v!==e;)L();o=0}return{index:_,line:k,column:x,peekOffset:D,charAt:T,currentChar:$,currentPeek:w,next:L,peek:E,reset:I,resetPeek:G,skipToPeek:S}}const he=void 0,w0=".",dc="'",x0="tokenizer";function T0(a,n={}){const e=n.location!==!1,i=I0(a),t=()=>i.index(),o=()=>P0(i.line(),i.column(),i.index()),r=o(),l=t(),s={currentType:14,offset:l,startLoc:r,endLoc:r,lastType:14,lastOffset:l,lastStartLoc:r,lastEndLoc:r,braceNest:0,inLinked:!1,text:""},g=()=>s,{onError:d}=n;function _(m,b,F,...J){const ca=g();if(b.column+=F,b.offset+=F,d){const ra=e?Tt(ca.startLoc,b):null,B=Ve(m,ra,{domain:x0,args:J});d(B)}}function k(m,b,F){m.endLoc=o(),m.currentType=b;const J={type:b};return e&&(J.loc=Tt(m.startLoc,m.endLoc)),F!=null&&(J.value=F),J}const x=m=>k(m,14);function D(m,b){return m.currentChar()===b?(m.next(),b):(_(ja.EXPECTED_TOKEN,o(),0,b),"")}function T(m){let b="";for(;m.currentPeek()===ae||m.currentPeek()===un;)b+=m.currentPeek(),m.peek();return b}function $(m){const b=T(m);return m.skipToPeek(),b}function w(m){if(m===he)return!1;const b=m.charCodeAt(0);return b>=97&&b<=122||b>=65&&b<=90||b===95}function L(m){if(m===he)return!1;const b=m.charCodeAt(0);return b>=48&&b<=57}function E(m,b){const{currentType:F}=b;if(F!==2)return!1;T(m);const J=w(m.currentPeek());return m.resetPeek(),J}function I(m,b){const{currentType:F}=b;if(F!==2)return!1;T(m);const J=m.currentPeek()==="-"?m.peek():m.currentPeek(),ca=L(J);return m.resetPeek(),ca}function G(m,b){const{currentType:F}=b;if(F!==2)return!1;T(m);const J=m.currentPeek()===dc;return m.resetPeek(),J}function S(m,b){const{currentType:F}=b;if(F!==8)return!1;T(m);const J=m.currentPeek()===".";return m.resetPeek(),J}function v(m,b){const{currentType:F}=b;if(F!==9)return!1;T(m);const J=w(m.currentPeek());return m.resetPeek(),J}function K(m,b){const{currentType:F}=b;if(!(F===8||F===12))return!1;T(m);const J=m.currentPeek()===":";return m.resetPeek(),J}function O(m,b){const{currentType:F}=b;if(F!==10)return!1;const J=()=>{const ra=m.currentPeek();return ra==="{"?w(m.peek()):ra==="@"||ra==="%"||ra==="|"||ra===":"||ra==="."||ra===ae||!ra?!1:ra===un?(m.peek(),J()):ea(m,!1)},ca=J();return m.resetPeek(),ca}function q(m){T(m);const b=m.currentPeek()==="|";return m.resetPeek(),b}function sa(m){const b=T(m),F=m.currentPeek()==="%"&&m.peek()==="{";return m.resetPeek(),{isModulo:F,hasSpace:b.length>0}}function ea(m,b=!0){const F=(ca=!1,ra="",B=!1)=>{const Z=m.currentPeek();return Z==="{"?ra==="%"?!1:ca:Z==="@"||!Z?ra==="%"?!0:ca:Z==="%"?(m.peek(),F(ca,"%",!0)):Z==="|"?ra==="%"||B?!0:!(ra===ae||ra===un):Z===ae?(m.peek(),F(!0,ae,B)):Z===un?(m.peek(),F(!0,un,B)):!0},J=F();return b&&m.resetPeek(),J}function ga(m,b){const F=m.currentChar();return F===he?he:b(F)?(m.next(),F):null}function Sa(m){const b=m.charCodeAt(0);return b>=97&&b<=122||b>=65&&b<=90||b>=48&&b<=57||b===95||b===36}function Ma(m){return ga(m,Sa)}function ma(m){const b=m.charCodeAt(0);return b>=97&&b<=122||b>=65&&b<=90||b>=48&&b<=57||b===95||b===36||b===45}function pa(m){return ga(m,ma)}function Y(m){const b=m.charCodeAt(0);return b>=48&&b<=57}function ta(m){return ga(m,Y)}function aa(m){const b=m.charCodeAt(0);return b>=48&&b<=57||b>=65&&b<=70||b>=97&&b<=102}function ba(m){return ga(m,aa)}function na(m){let b="",F="";for(;b=ta(m);)F+=b;return F}function u(m){$(m);const b=m.currentChar();return b!=="%"&&_(ja.EXPECTED_TOKEN,o(),0,b),m.next(),"%"}function A(m){let b="";for(;;){const F=m.currentChar();if(F==="{"||F==="}"||F==="@"||F==="|"||!F)break;if(F==="%")if(ea(m))b+=F,m.next();else break;else if(F===ae||F===un)if(ea(m))b+=F,m.next();else{if(q(m))break;b+=F,m.next()}else b+=F,m.next()}return b}function j(m){$(m);let b="",F="";for(;b=pa(m);)F+=b;return m.currentChar()===he&&_(ja.UNTERMINATED_CLOSING_BRACE,o(),0),F}function c(m){$(m);let b="";return m.currentChar()==="-"?(m.next(),b+=`-${na(m)}`):b+=na(m),m.currentChar()===he&&_(ja.UNTERMINATED_CLOSING_BRACE,o(),0),b}function P(m){return m!==dc&&m!==un}function p(m){$(m),D(m,"'");let b="",F="";for(;b=ga(m,P);)b==="\\"?F+=M(m):F+=b;const J=m.currentChar();return J===un||J===he?(_(ja.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),J===un&&(m.next(),D(m,"'")),F):(D(m,"'"),F)}function M(m){const b=m.currentChar();switch(b){case"\\":case"'":return m.next(),`\\${b}`;case"u":return N(m,b,4);case"U":return N(m,b,6);default:return _(ja.UNKNOWN_ESCAPE_SEQUENCE,o(),0,b),""}}function N(m,b,F){D(m,b);let J="";for(let ca=0;ca{const J=m.currentChar();return J==="{"||J==="%"||J==="@"||J==="|"||J==="("||J===")"||!J||J===ae?F:(F+=J,m.next(),b(F))};return b("")}function R(m){$(m);const b=D(m,"|");return $(m),b}function H(m,b){let F=null;switch(m.currentChar()){case"{":return b.braceNest>=1&&_(ja.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),m.next(),F=k(b,2,"{"),$(m),b.braceNest++,F;case"}":return b.braceNest>0&&b.currentType===2&&_(ja.EMPTY_PLACEHOLDER,o(),0),m.next(),F=k(b,3,"}"),b.braceNest--,b.braceNest>0&&$(m),b.inLinked&&b.braceNest===0&&(b.inLinked=!1),F;case"@":return b.braceNest>0&&_(ja.UNTERMINATED_CLOSING_BRACE,o(),0),F=V(m,b)||x(b),b.braceNest=0,F;default:{let ca=!0,ra=!0,B=!0;if(q(m))return b.braceNest>0&&_(ja.UNTERMINATED_CLOSING_BRACE,o(),0),F=k(b,1,R(m)),b.braceNest=0,b.inLinked=!1,F;if(b.braceNest>0&&(b.currentType===5||b.currentType===6||b.currentType===7))return _(ja.UNTERMINATED_CLOSING_BRACE,o(),0),b.braceNest=0,oa(m,b);if(ca=E(m,b))return F=k(b,5,j(m)),$(m),F;if(ra=I(m,b))return F=k(b,6,c(m)),$(m),F;if(B=G(m,b))return F=k(b,7,p(m)),$(m),F;if(!ca&&!ra&&!B)return F=k(b,13,h(m)),_(ja.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,F.value),$(m),F;break}}return F}function V(m,b){const{currentType:F}=b;let J=null;const ca=m.currentChar();switch((F===8||F===9||F===12||F===10)&&(ca===un||ca===ae)&&_(ja.INVALID_LINKED_FORMAT,o(),0),ca){case"@":return m.next(),J=k(b,8,"@"),b.inLinked=!0,J;case".":return $(m),m.next(),k(b,9,".");case":":return $(m),m.next(),k(b,10,":");default:return q(m)?(J=k(b,1,R(m)),b.braceNest=0,b.inLinked=!1,J):S(m,b)||K(m,b)?($(m),V(m,b)):v(m,b)?($(m),k(b,12,C(m))):O(m,b)?($(m),ca==="{"?H(m,b)||J:k(b,11,y(m))):(F===8&&_(ja.INVALID_LINKED_FORMAT,o(),0),b.braceNest=0,b.inLinked=!1,oa(m,b))}}function oa(m,b){let F={type:14};if(b.braceNest>0)return H(m,b)||x(b);if(b.inLinked)return V(m,b)||x(b);switch(m.currentChar()){case"{":return H(m,b)||x(b);case"}":return _(ja.UNBALANCED_CLOSING_BRACE,o(),0),m.next(),k(b,3,"}");case"@":return V(m,b)||x(b);default:{if(q(m))return F=k(b,1,R(m)),b.braceNest=0,b.inLinked=!1,F;const{isModulo:ca,hasSpace:ra}=sa(m);if(ca)return ra?k(b,0,A(m)):k(b,4,u(m));if(ea(m))return k(b,0,A(m));break}}return F}function Q(){const{currentType:m,offset:b,startLoc:F,endLoc:J}=s;return s.lastType=m,s.lastOffset=b,s.lastStartLoc=F,s.lastEndLoc=J,s.offset=t(),s.startLoc=o(),i.currentChar()===he?k(s,14):oa(i,s)}return{nextToken:Q,currentOffset:t,currentPosition:o,context:g}}const N0="parser",L0=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function R0(a,n,e){switch(a){case"\\\\":return"\\";case"\\'":return"'";default:{const i=parseInt(n||e,16);return i<=55295||i>=57344?String.fromCodePoint(i):"�"}}}function $0(a={}){const n=a.location!==!1,{onError:e,onWarn:i}=a;function t(E,I,G,S,...v){const K=E.currentPosition();if(K.offset+=S,K.column+=S,e){const O=n?Tt(G,K):null,q=Ve(I,O,{domain:N0,args:v});e(q)}}function o(E,I,G,S,...v){const K=E.currentPosition();if(K.offset+=S,K.column+=S,i){const O=n?Tt(G,K):null;i(G0(I,O,v))}}function r(E,I,G){const S={type:E};return n&&(S.start=I,S.end=I,S.loc={start:G,end:G}),S}function l(E,I,G,S){n&&(E.end=I,E.loc&&(E.loc.end=G))}function s(E,I){const G=E.context(),S=r(3,G.offset,G.startLoc);return S.value=I,l(S,E.currentOffset(),E.currentPosition()),S}function g(E,I){const G=E.context(),{lastOffset:S,lastStartLoc:v}=G,K=r(5,S,v);return K.index=parseInt(I,10),E.nextToken(),l(K,E.currentOffset(),E.currentPosition()),K}function d(E,I,G){const S=E.context(),{lastOffset:v,lastStartLoc:K}=S,O=r(4,v,K);return O.key=I,G===!0&&(O.modulo=!0),E.nextToken(),l(O,E.currentOffset(),E.currentPosition()),O}function _(E,I){const G=E.context(),{lastOffset:S,lastStartLoc:v}=G,K=r(9,S,v);return K.value=I.replace(L0,R0),E.nextToken(),l(K,E.currentOffset(),E.currentPosition()),K}function k(E){const I=E.nextToken(),G=E.context(),{lastOffset:S,lastStartLoc:v}=G,K=r(8,S,v);return I.type!==12?(t(E,ja.UNEXPECTED_EMPTY_LINKED_MODIFIER,G.lastStartLoc,0),K.value="",l(K,S,v),{nextConsumeToken:I,node:K}):(I.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,G.lastStartLoc,0,Sn(I)),K.value=I.value||"",l(K,E.currentOffset(),E.currentPosition()),{node:K})}function x(E,I){const G=E.context(),S=r(7,G.offset,G.startLoc);return S.value=I,l(S,E.currentOffset(),E.currentPosition()),S}function D(E){const I=E.context(),G=r(6,I.offset,I.startLoc);let S=E.nextToken();if(S.type===9){const v=k(E);G.modifier=v.node,S=v.nextConsumeToken||E.nextToken()}switch(S.type!==10&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(S)),S=E.nextToken(),S.type===2&&(S=E.nextToken()),S.type){case 11:S.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(S)),G.key=x(E,S.value||"");break;case 5:S.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(S)),G.key=d(E,S.value||"");break;case 6:S.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(S)),G.key=g(E,S.value||"");break;case 7:S.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(S)),G.key=_(E,S.value||"");break;default:{t(E,ja.UNEXPECTED_EMPTY_LINKED_KEY,I.lastStartLoc,0);const v=E.context(),K=r(7,v.offset,v.startLoc);return K.value="",l(K,v.offset,v.startLoc),G.key=K,l(G,v.offset,v.startLoc),{nextConsumeToken:S,node:G}}}return l(G,E.currentOffset(),E.currentPosition()),{node:G}}function T(E){const I=E.context(),G=I.currentType===1?E.currentOffset():I.offset,S=I.currentType===1?I.endLoc:I.startLoc,v=r(2,G,S);v.items=[];let K=null,O=null;do{const ea=K||E.nextToken();switch(K=null,ea.type){case 0:ea.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(ea)),v.items.push(s(E,ea.value||""));break;case 6:ea.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(ea)),v.items.push(g(E,ea.value||""));break;case 4:O=!0;break;case 5:ea.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(ea)),v.items.push(d(E,ea.value||"",!!O)),O&&(o(E,Zo.USE_MODULO_SYNTAX,I.lastStartLoc,0,Sn(ea)),O=null);break;case 7:ea.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(ea)),v.items.push(_(E,ea.value||""));break;case 8:{const ga=D(E);v.items.push(ga.node),K=ga.nextConsumeToken||null;break}}}while(I.currentType!==14&&I.currentType!==1);const q=I.currentType===1?I.lastOffset:E.currentOffset(),sa=I.currentType===1?I.lastEndLoc:E.currentPosition();return l(v,q,sa),v}function $(E,I,G,S){const v=E.context();let K=S.items.length===0;const O=r(1,I,G);O.cases=[],O.cases.push(S);do{const q=T(E);K||(K=q.items.length===0),O.cases.push(q)}while(v.currentType!==14);return K&&t(E,ja.MUST_HAVE_MESSAGES_IN_PLURAL,G,0),l(O,E.currentOffset(),E.currentPosition()),O}function w(E){const I=E.context(),{offset:G,startLoc:S}=I,v=T(E);return I.currentType===14?v:$(E,G,S,v)}function L(E){const I=T0(E,cc({},a)),G=I.context(),S=r(0,G.offset,G.startLoc);return n&&S.loc&&(S.loc.source=E),S.body=w(I),a.onCacheKey&&(S.cacheKey=a.onCacheKey(E)),G.currentType!==14&&t(I,ja.UNEXPECTED_LEXICAL_ANALYSIS,G.lastStartLoc,0,E[G.offset]||""),l(S,I.currentOffset(),I.currentPosition()),S}return{parse:L}}function Sn(a){if(a.type===14)return"EOF";const n=(a.value||"").replace(/\r?\n/gu,"\\n");return n.length>10?n.slice(0,9)+"…":n}function F0(a,n={}){const e={ast:a,helpers:new Set};return{context:()=>e,helper:o=>(e.helpers.add(o),o)}}function pc(a,n){for(let e=0;emc(e)),a}function mc(a){if(a.items.length===1){const n=a.items[0];(n.type===3||n.type===9)&&(a.static=n.value,delete n.value)}else{const n=[];for(let e=0;er;function s(T,$){r.code+=T}function g(T,$=!0){const w=$?i:"";s(t?w+" ".repeat(T):w)}function d(T=!0){const $=++r.indentLevel;T&&g($)}function _(T=!0){const $=--r.indentLevel;T&&g($)}function k(){g(r.indentLevel)}return{context:l,push:s,indent:d,deindent:_,newline:k,helper:T=>`_${T}`,needIndent:()=>r.needIndent}}function D0(a,n){const{helper:e}=a;a.push(`${e("linked")}(`),We(a,n.key),n.modifier?(a.push(", "),We(a,n.modifier),a.push(", _type")):a.push(", undefined, _type"),a.push(")")}function z0(a,n){const{helper:e,needIndent:i}=a;a.push(`${e("normalize")}([`),a.indent(i());const t=n.items.length;for(let o=0;o1){a.push(`${e("plural")}([`),a.indent(i());const t=n.cases.length;for(let o=0;o{const e=gc(n.mode)?n.mode:"normal",i=gc(n.filename)?n.filename:"message.intl";n.sourceMap;const t=n.breakLineCode!=null?n.breakLineCode:e==="arrow"?";":` +`,o=n.needIndent?n.needIndent:e!=="arrow",r=a.helpers||[],l=H0(a,{filename:i,breakLineCode:t,needIndent:o});l.push(e==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(o),r.length>0&&(l.push(`const { ${uc(r.map(d=>`${d}: _${d}`),", ")} } = ctx`),l.newline()),l.push("return "),We(l,a),l.deindent(o),l.push("}"),delete a.helpers;const{code:s,map:g}=l.context();return{ast:a,code:s,map:g?g.toJSON():void 0}};function J0(a,n={}){const e=cc({},n),i=!!e.jit,t=!!e.minify,o=e.optimize==null?!0:e.optimize,l=$0(e).parse(a);return i?(o&&B0(l),t&&Ye(l),{ast:l,code:""}):(K0(l,e),W0(l,e))}/*! + * core-base v9.14.5 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */function Z0(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Qn().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Qn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Qn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function Kn(a){return xa(a)&&Xo(a)===0&&(An(a,"b")||An(a,"body"))}const hc=["b","body"];function q0(a){return ye(a,hc)}const yc=["c","cases"];function X0(a){return ye(a,yc,[])}const bc=["s","static"];function Q0(a){return ye(a,bc)}const _c=["i","items"];function ay(a){return ye(a,_c,[])}const fc=["t","type"];function Xo(a){return ye(a,fc)}const Pc=["v","value"];function Nt(a,n){const e=ye(a,Pc);if(e!=null)return e;throw xi(n)}const Cc=["m","modifier"];function ny(a){return ye(a,Cc)}const jc=["k","key"];function ey(a){const n=ye(a,jc);if(n)return n;throw xi(6)}function ye(a,n,e){for(let i=0;i{r===void 0?r=l:r+=l},k[1]=()=>{r!==void 0&&(n.push(r),r=void 0)},k[2]=()=>{k[0](),t++},k[3]=()=>{if(t>0)t--,i=4,k[0]();else{if(t=0,r===void 0||(r=ly(r),r===!1))return!1;k[1]()}};function x(){const D=a[e+1];if(i===5&&D==="'"||i===6&&D==='"')return e++,l="\\"+D,k[0](),!0}for(;i!==null;)if(e++,o=a[e],!(o==="\\"&&x())){if(s=ry(o),_=be[i],g=_[s]||_.l||8,g===8||(i=g[0],g[1]!==void 0&&(d=k[g[1]],d&&(l=o,d()===!1))))return;if(i===7)return n}}const Gc=new Map;function cy(a,n){return xa(a)?a[n]:null}function gy(a,n){if(!xa(a))return null;let e=Gc.get(n);if(e||(e=sy(n),e&&Gc.set(n,e)),!e)return null;const i=e.length;let t=a,o=0;for(;oa,dy=a=>"",py="text",my=a=>a.length===0?"":f0(a),hy=_0;function vc(a,n){return a=Math.abs(a),n===2?a?a>1?1:0:1:a?Math.min(a,2):0}function yy(a){const n=Za(a.pluralIndex)?a.pluralIndex:-1;return a.named&&(Za(a.named.count)||Za(a.named.n))?Za(a.named.count)?a.named.count:Za(a.named.n)?a.named.n:n:n}function by(a,n){n.count||(n.count=a),n.n||(n.n=a)}function _y(a={}){const n=a.locale,e=yy(a),i=xa(a.pluralRules)&&da(n)&&Ha(a.pluralRules[n])?a.pluralRules[n]:vc,t=xa(a.pluralRules)&&da(n)&&Ha(a.pluralRules[n])?vc:void 0,o=w=>w[i(e,w.length,t)],r=a.list||[],l=w=>r[w],s=a.named||La();Za(a.pluralIndex)&&by(e,s);const g=w=>s[w];function d(w){const L=Ha(a.messages)?a.messages(w):xa(a.messages)?a.messages[w]:!1;return L||(a.parent?a.parent.message(w):dy)}const _=w=>a.modifiers?a.modifiers[w]:uy,k=Ga(a.processor)&&Ha(a.processor.normalize)?a.processor.normalize:my,x=Ga(a.processor)&&Ha(a.processor.interpolate)?a.processor.interpolate:hy,D=Ga(a.processor)&&da(a.processor.type)?a.processor.type:py,$={list:l,named:g,plural:o,linked:(w,...L)=>{const[E,I]=L;let G="text",S="";L.length===1?xa(E)?(S=E.modifier||S,G=E.type||G):da(E)&&(S=E||S):L.length===2&&(da(E)&&(S=E||S),da(I)&&(G=I||G));const v=d(w)($),K=G==="vnode"&&za(v)&&S?v[0]:v;return S?_(S)(K,G):K},message:d,type:D,interpolate:x,normalize:k,values:on(La(),r,s)};return $}let Ti=null;function fy(a){Ti=a}function Py(a,n,e){Ti&&Ti.emit("i18n:init",{timestamp:Date.now(),i18n:a,version:n,meta:e})}const Cy=jy("function:translate");function jy(a){return n=>Ti&&Ti.emit(a,n)}const ky=Zo.__EXTEND_POINT__,Ie=It(ky),Gy={FALLBACK_TO_TRANSLATE:Ie(),CANNOT_FORMAT_NUMBER:Ie(),FALLBACK_TO_NUMBER_FORMAT:Ie(),CANNOT_FORMAT_DATE:Ie(),FALLBACK_TO_DATE_FORMAT:Ie(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Ie(),__EXTEND_POINT__:Ie()},Ac=ja.__EXTEND_POINT__,we=It(Ac),En={INVALID_ARGUMENT:Ac,INVALID_DATE_ARGUMENT:we(),INVALID_ISO_DATE_ARGUMENT:we(),NOT_SUPPORT_NON_STRING_MESSAGE:we(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:we(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:we(),NOT_SUPPORT_LOCALE_TYPE:we(),__EXTEND_POINT__:we()};function Bn(a){return Ve(a,null,void 0)}function Qo(a,n){return n.locale!=null?Sc(n.locale):Sc(a.locale)}let ar;function Sc(a){if(da(a))return a;if(Ha(a)){if(a.resolvedOnce&&ar!=null)return ar;if(a.constructor.name==="Function"){const n=a();if(b0(n))throw Bn(En.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ar=n}else throw Bn(En.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Bn(En.NOT_SUPPORT_LOCALE_TYPE)}function vy(a,n,e){return[...new Set([e,...za(n)?n:xa(n)?Object.keys(n):da(n)?[n]:[e]])]}function Ec(a,n,e){const i=da(e)?e:Je,t=a;t.__localeChainCache||(t.__localeChainCache=new Map);let o=t.__localeChainCache.get(i);if(!o){o=[];let r=[e];for(;za(r);)r=Mc(o,r,n);const l=za(n)||!Ga(n)?n:n.default?n.default:null;r=da(l)?[l]:l,za(r)&&Mc(o,r,!1),t.__localeChainCache.set(i,o)}return o}function Mc(a,n,e){let i=!0;for(let t=0;t`${a.charAt(0).toLocaleUpperCase()}${a.substr(1)}`;function My(){return{upper:(a,n)=>n==="text"&&da(a)?a.toUpperCase():n==="vnode"&&xa(a)&&"__v_isVNode"in a?a.children.toUpperCase():a,lower:(a,n)=>n==="text"&&da(a)?a.toLowerCase():n==="vnode"&&xa(a)&&"__v_isVNode"in a?a.children.toLowerCase():a,capitalize:(a,n)=>n==="text"&&da(a)?wc(a):n==="vnode"&&xa(a)&&"__v_isVNode"in a?wc(a.children):a}}let xc;function Tc(a){xc=a}let Nc;function Iy(a){Nc=a}let Lc;function wy(a){Lc=a}let Rc=null;const xy=a=>{Rc=a},Ty=()=>Rc;let $c=null;const Fc=a=>{$c=a},Ny=()=>$c;let Kc=0;function Ly(a={}){const n=Ha(a.onWarn)?a.onWarn:g0,e=da(a.version)?a.version:Ey,i=da(a.locale)||Ha(a.locale)?a.locale:Je,t=Ha(i)?Je:i,o=za(a.fallbackLocale)||Ga(a.fallbackLocale)||da(a.fallbackLocale)||a.fallbackLocale===!1?a.fallbackLocale:t,r=Ga(a.messages)?a.messages:nr(t),l=Ga(a.datetimeFormats)?a.datetimeFormats:nr(t),s=Ga(a.numberFormats)?a.numberFormats:nr(t),g=on(La(),a.modifiers,My()),d=a.pluralRules||La(),_=Ha(a.missing)?a.missing:null,k=Ea(a.missingWarn)||me(a.missingWarn)?a.missingWarn:!0,x=Ea(a.fallbackWarn)||me(a.fallbackWarn)?a.fallbackWarn:!0,D=!!a.fallbackFormat,T=!!a.unresolving,$=Ha(a.postTranslation)?a.postTranslation:null,w=Ga(a.processor)?a.processor:null,L=Ea(a.warnHtmlMessage)?a.warnHtmlMessage:!0,E=!!a.escapeParameter,I=Ha(a.messageCompiler)?a.messageCompiler:xc,G=Ha(a.messageResolver)?a.messageResolver:Nc||cy,S=Ha(a.localeFallbacker)?a.localeFallbacker:Lc||vy,v=xa(a.fallbackContext)?a.fallbackContext:void 0,K=a,O=xa(K.__datetimeFormatters)?K.__datetimeFormatters:new Map,q=xa(K.__numberFormatters)?K.__numberFormatters:new Map,sa=xa(K.__meta)?K.__meta:{};Kc++;const ea={version:e,cid:Kc,locale:i,fallbackLocale:o,messages:r,modifiers:g,pluralRules:d,missing:_,missingWarn:k,fallbackWarn:x,fallbackFormat:D,unresolving:T,postTranslation:$,processor:w,warnHtmlMessage:L,escapeParameter:E,messageCompiler:I,messageResolver:G,localeFallbacker:S,fallbackContext:v,onWarn:n,__meta:sa};return ea.datetimeFormats=l,ea.numberFormats=s,ea.__datetimeFormatters=O,ea.__numberFormatters=q,__INTLIFY_PROD_DEVTOOLS__&&Py(ea,e,sa),ea}const nr=a=>({[a]:La()});function er(a,n,e,i,t){const{missing:o,onWarn:r}=a;if(o!==null){const l=o(a,e,n,t);return da(l)?l:n}else return n}function Ni(a,n,e){const i=a;i.__localeChainCache=new Map,a.localeFallbacker(a,e,n)}function Ry(a,n){return a===n?!1:a.split("-")[0]===n.split("-")[0]}function $y(a,n){const e=n.indexOf(a);if(e===-1)return!1;for(let i=e+1;iFy(e,a)}function Fy(a,n){const e=q0(n);if(e==null)throw xi(0);if(Xo(e)===1){const o=X0(e);return a.plural(o.reduce((r,l)=>[...r,Bc(a,l)],[]))}else return Bc(a,e)}function Bc(a,n){const e=Q0(n);if(e!=null)return a.type==="text"?e:a.normalize([e]);{const i=ay(n).reduce((t,o)=>[...t,tr(a,o)],[]);return a.normalize(i)}}function tr(a,n){const e=Xo(n);switch(e){case 3:return Nt(n,e);case 9:return Nt(n,e);case 4:{const i=n;if(An(i,"k")&&i.k)return a.interpolate(a.named(i.k));if(An(i,"key")&&i.key)return a.interpolate(a.named(i.key));throw xi(e)}case 5:{const i=n;if(An(i,"i")&&Za(i.i))return a.interpolate(a.list(i.i));if(An(i,"index")&&Za(i.index))return a.interpolate(a.list(i.index));throw xi(e)}case 6:{const i=n,t=ny(i),o=ey(i);return a.linked(tr(a,o),t?tr(a,t):void 0,a.type)}case 7:return Nt(n,e);case 8:return Nt(n,e);default:throw new Error(`unhandled node on format message part: ${e}`)}}const Oc=a=>a;let Ze=La();function Uc(a,n={}){let e=!1;const i=n.onError||A0;return n.onError=t=>{e=!0,i(t)},{...J0(a,n),detectError:e}}const Ky=(a,n)=>{if(!da(a))throw Bn(En.NOT_SUPPORT_NON_STRING_MESSAGE);{Ea(n.warnHtmlMessage)&&n.warnHtmlMessage;const i=(n.onCacheKey||Oc)(a),t=Ze[i];if(t)return t;const{code:o,detectError:r}=Uc(a,n),l=new Function(`return ${o}`)();return r?l:Ze[i]=l}};function By(a,n){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&da(a)){Ea(n.warnHtmlMessage)&&n.warnHtmlMessage;const i=(n.onCacheKey||Oc)(a),t=Ze[i];if(t)return t;const{ast:o,detectError:r}=Uc(a,{...n,location:!1,jit:!0}),l=ir(o);return r?l:Ze[i]=l}else{const e=a.cacheKey;if(e){const i=Ze[e];return i||(Ze[e]=ir(a))}else return ir(a)}}const Hc=()=>"",Cn=a=>Ha(a);function Dc(a,...n){const{fallbackFormat:e,postTranslation:i,unresolving:t,messageCompiler:o,fallbackLocale:r,messages:l}=a,[s,g]=or(...n),d=Ea(g.missingWarn)?g.missingWarn:a.missingWarn,_=Ea(g.fallbackWarn)?g.fallbackWarn:a.fallbackWarn,k=Ea(g.escapeParameter)?g.escapeParameter:a.escapeParameter,x=!!g.resolvedMessage,D=da(g.default)||Ea(g.default)?Ea(g.default)?o?s:()=>s:g.default:e?o?s:()=>s:"",T=e||D!=="",$=Qo(a,g);k&&Oy(g);let[w,L,E]=x?[s,$,l[$]||La()]:zc(a,s,$,r,_,d),I=w,G=s;if(!x&&!(da(I)||Kn(I)||Cn(I))&&T&&(I=D,G=I),!x&&(!(da(I)||Kn(I)||Cn(I))||!da(L)))return t?Lt:s;let S=!1;const v=()=>{S=!0},K=Cn(I)?I:Vc(a,s,L,I,G,v);if(S)return I;const O=Dy(a,L,E,g),q=_y(O),sa=Uy(a,K,q);let ea=i?i(sa,s):sa;if(k&&da(ea)&&(ea=h0(ea)),__INTLIFY_PROD_DEVTOOLS__){const ga={timestamp:Date.now(),key:da(s)?s:Cn(I)?I.key:"",locale:L||(Cn(I)?I.locale:""),format:da(I)?I:Cn(I)?I.source:"",message:ea};ga.meta=on({},a.__meta,Ty()||{}),Cy(ga)}return ea}function Oy(a){za(a.list)?a.list=a.list.map(n=>da(n)?tc(n):n):xa(a.named)&&Object.keys(a.named).forEach(n=>{da(a.named[n])&&(a.named[n]=tc(a.named[n]))})}function zc(a,n,e,i,t,o){const{messages:r,onWarn:l,messageResolver:s,localeFallbacker:g}=a,d=g(a,i,e);let _=La(),k,x=null;const D="translate";for(let T=0;Ti;return g.locale=e,g.key=n,g}const s=r(i,Hy(a,e,t,i,l,o));return s.locale=e,s.key=n,s.source=i,s}function Uy(a,n,e){return n(e)}function or(...a){const[n,e,i]=a,t=La();if(!da(n)&&!Za(n)&&!Cn(n)&&!Kn(n))throw Bn(En.INVALID_ARGUMENT);const o=Za(n)?String(n):(Cn(n),n);return Za(e)?t.plural=e:da(e)?t.default=e:Ga(e)&&!Mt(e)?t.named=e:za(e)&&(t.list=e),Za(i)?t.plural=i:da(i)?t.default=i:Ga(i)&&on(t,i),[o,t]}function Hy(a,n,e,i,t,o){return{locale:n,key:e,warnHtmlMessage:t,onError:r=>{throw o&&o(r),r},onCacheKey:r=>u0(n,e,r)}}function Dy(a,n,e,i){const{modifiers:t,pluralRules:o,messageResolver:r,fallbackLocale:l,fallbackWarn:s,missingWarn:g,fallbackContext:d}=a,k={locale:n,modifiers:t,pluralRules:o,messages:x=>{let D=r(e,x);if(D==null&&d){const[,,T]=zc(d,x,n,l,s,g);D=r(T,x)}if(da(D)||Kn(D)){let T=!1;const w=Vc(a,x,n,D,x,()=>{T=!0});return T?Hc:w}else return Cn(D)?D:Hc}};return a.processor&&(k.processor=a.processor),i.list&&(k.list=i.list),i.named&&(k.named=i.named),Za(i.plural)&&(k.pluralIndex=i.plural),k}function Yc(a,...n){const{datetimeFormats:e,unresolving:i,fallbackLocale:t,onWarn:o,localeFallbacker:r}=a,{__datetimeFormatters:l}=a,[s,g,d,_]=rr(...n),k=Ea(d.missingWarn)?d.missingWarn:a.missingWarn;Ea(d.fallbackWarn)?d.fallbackWarn:a.fallbackWarn;const x=!!d.part,D=Qo(a,d),T=r(a,t,D);if(!da(s)||s==="")return new Intl.DateTimeFormat(D,_).format(g);let $={},w,L=null;const E="datetime format";for(let S=0;S{Wc.includes(s)?r[s]=e[s]:o[s]=e[s]}),da(i)?o.locale=i:Ga(i)&&(r=i),Ga(t)&&(r=t),[o.key||"",l,o,r]}function Jc(a,n,e){const i=a;for(const t in e){const o=`${n}__${t}`;i.__datetimeFormatters.has(o)&&i.__datetimeFormatters.delete(o)}}function Zc(a,...n){const{numberFormats:e,unresolving:i,fallbackLocale:t,onWarn:o,localeFallbacker:r}=a,{__numberFormatters:l}=a,[s,g,d,_]=lr(...n),k=Ea(d.missingWarn)?d.missingWarn:a.missingWarn;Ea(d.fallbackWarn)?d.fallbackWarn:a.fallbackWarn;const x=!!d.part,D=Qo(a,d),T=r(a,t,D);if(!da(s)||s==="")return new Intl.NumberFormat(D,_).format(g);let $={},w,L=null;const E="number format";for(let S=0;S{qc.includes(s)?r[s]=e[s]:o[s]=e[s]}),da(i)?o.locale=i:Ga(i)&&(r=i),Ga(t)&&(r=t),[o.key||"",l,o,r]}function Xc(a,n,e){const i=a;for(const t in e){const o=`${n}__${t}`;i.__numberFormatters.has(o)&&i.__numberFormatters.delete(o)}}Z0();/*! + * vue-i18n v9.14.5 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */const zy="9.14.5";function Vy(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Qn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Qn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Qn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Qn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Qn().__INTLIFY_PROD_DEVTOOLS__=!1)}const Yy=Gy.__EXTEND_POINT__,ne=It(Yy);ne(),ne(),ne(),ne(),ne(),ne(),ne(),ne(),ne();const Qc=En.__EXTEND_POINT__,mn=It(Qc),Qa={UNEXPECTED_RETURN_TYPE:Qc,INVALID_ARGUMENT:mn(),MUST_BE_CALL_SETUP_TOP:mn(),NOT_INSTALLED:mn(),NOT_AVAILABLE_IN_LEGACY_MODE:mn(),REQUIRED_VALUE:mn(),INVALID_VALUE:mn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:mn(),NOT_INSTALLED_WITH_PROVIDE:mn(),UNEXPECTED_ERROR:mn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:mn(),BRIDGE_SUPPORT_VUE_2_ONLY:mn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:mn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:mn(),__EXTEND_POINT__:mn()};function en(a,...n){return Ve(a,null,void 0)}const sr=pe("__translateVNode"),cr=pe("__datetimeParts"),gr=pe("__numberParts"),ag=pe("__setPluralRules"),ng=pe("__injectWithOption"),ur=pe("__dispose");function Li(a){if(!xa(a)||Kn(a))return a;for(const n in a)if(An(a,n))if(!n.includes("."))xa(a[n])&&Li(a[n]);else{const e=n.split("."),i=e.length-1;let t=a,o=!1;for(let r=0;r{if("locale"in l&&"resource"in l){const{locale:s,resource:g}=l;s?(r[s]=r[s]||La(),xt(g,r[s])):xt(g,r)}else da(l)&&xt(JSON.parse(l),r)}),t==null&&o)for(const l in r)An(r,l)&&Li(r[l]);return r}function eg(a){return a.type}function ig(a,n,e){let i=xa(n.messages)?n.messages:La();"__i18nGlobal"in e&&(i=Rt(a.locale.value,{messages:i,__i18n:e.__i18nGlobal}));const t=Object.keys(i);t.length&&t.forEach(o=>{a.mergeLocaleMessage(o,i[o])});{if(xa(n.datetimeFormats)){const o=Object.keys(n.datetimeFormats);o.length&&o.forEach(r=>{a.mergeDateTimeFormat(r,n.datetimeFormats[r])})}if(xa(n.numberFormats)){const o=Object.keys(n.numberFormats);o.length&&o.forEach(r=>{a.mergeNumberFormat(r,n.numberFormats[r])})}}}function tg(a){return Wa(Gi,null,a,0)}const og="__INTLIFY_META__",rg=()=>[],Wy=()=>!1;let lg=0;function sg(a){return(n,e,i,t)=>a(e,i,ue()||void 0,t)}const Jy=()=>{const a=ue();let n=null;return a&&(n=eg(a)[og])?{[og]:n}:null};function dr(a={},n){const{__root:e,__injectWithOption:i}=a,t=e===void 0,o=a.flatJson,r=Et?ua:Ll,l=!!a.translateExistCompatible;let s=Ea(a.inheritLocale)?a.inheritLocale:!0;const g=r(e&&s?e.locale.value:da(a.locale)?a.locale:Je),d=r(e&&s?e.fallbackLocale.value:da(a.fallbackLocale)||za(a.fallbackLocale)||Ga(a.fallbackLocale)||a.fallbackLocale===!1?a.fallbackLocale:g.value),_=r(Rt(g.value,a)),k=r(Ga(a.datetimeFormats)?a.datetimeFormats:{[g.value]:{}}),x=r(Ga(a.numberFormats)?a.numberFormats:{[g.value]:{}});let D=e?e.missingWarn:Ea(a.missingWarn)||me(a.missingWarn)?a.missingWarn:!0,T=e?e.fallbackWarn:Ea(a.fallbackWarn)||me(a.fallbackWarn)?a.fallbackWarn:!0,$=e?e.fallbackRoot:Ea(a.fallbackRoot)?a.fallbackRoot:!0,w=!!a.fallbackFormat,L=Ha(a.missing)?a.missing:null,E=Ha(a.missing)?sg(a.missing):null,I=Ha(a.postTranslation)?a.postTranslation:null,G=e?e.warnHtmlMessage:Ea(a.warnHtmlMessage)?a.warnHtmlMessage:!0,S=!!a.escapeParameter;const v=e?e.modifiers:Ga(a.modifiers)?a.modifiers:{};let K=a.pluralRules||e&&e.pluralRules,O;O=(()=>{t&&Fc(null);const B={version:zy,locale:g.value,fallbackLocale:d.value,messages:_.value,modifiers:v,pluralRules:K,missing:E===null?void 0:E,missingWarn:D,fallbackWarn:T,fallbackFormat:w,unresolving:!0,postTranslation:I===null?void 0:I,warnHtmlMessage:G,escapeParameter:S,messageResolver:a.messageResolver,messageCompiler:a.messageCompiler,__meta:{framework:"vue"}};B.datetimeFormats=k.value,B.numberFormats=x.value,B.__datetimeFormatters=Ga(O)?O.__datetimeFormatters:void 0,B.__numberFormatters=Ga(O)?O.__numberFormatters:void 0;const Z=Ly(B);return t&&Fc(Z),Z})(),Ni(O,g.value,d.value);function sa(){return[g.value,d.value,_.value,k.value,x.value]}const ea=la({get:()=>g.value,set:B=>{g.value=B,O.locale=g.value}}),ga=la({get:()=>d.value,set:B=>{d.value=B,O.fallbackLocale=d.value,Ni(O,g.value,B)}}),Sa=la(()=>_.value),Ma=la(()=>k.value),ma=la(()=>x.value);function pa(){return Ha(I)?I:null}function Y(B){I=B,O.postTranslation=B}function ta(){return L}function aa(B){B!==null&&(E=sg(B)),L=B,O.missing=E}const ba=(B,Z,_a,va,Ra,an)=>{sa();let qa;try{__INTLIFY_PROD_DEVTOOLS__,t||(O.fallbackContext=e?Ny():void 0),qa=B(O)}finally{__INTLIFY_PROD_DEVTOOLS__,t||(O.fallbackContext=void 0)}if(_a!=="translate exists"&&Za(qa)&&qa===Lt||_a==="translate exists"&&!qa){const[Pa,$a]=Z();return e&&$?va(e):Ra(Pa)}else{if(an(qa))return qa;throw en(Qa.UNEXPECTED_RETURN_TYPE)}};function na(...B){return ba(Z=>Reflect.apply(Dc,null,[Z,...B]),()=>or(...B),"translate",Z=>Reflect.apply(Z.t,Z,[...B]),Z=>Z,Z=>da(Z))}function u(...B){const[Z,_a,va]=B;if(va&&!xa(va))throw en(Qa.INVALID_ARGUMENT);return na(Z,_a,on({resolvedMessage:!0},va||{}))}function A(...B){return ba(Z=>Reflect.apply(Yc,null,[Z,...B]),()=>rr(...B),"datetime format",Z=>Reflect.apply(Z.d,Z,[...B]),()=>Ic,Z=>da(Z))}function j(...B){return ba(Z=>Reflect.apply(Zc,null,[Z,...B]),()=>lr(...B),"number format",Z=>Reflect.apply(Z.n,Z,[...B]),()=>Ic,Z=>da(Z))}function c(B){return B.map(Z=>da(Z)||Za(Z)||Ea(Z)?tg(String(Z)):Z)}const p={normalize:c,interpolate:B=>B,type:"vnode"};function M(...B){return ba(Z=>{let _a;const va=Z;try{va.processor=p,_a=Reflect.apply(Dc,null,[va,...B])}finally{va.processor=null}return _a},()=>or(...B),"translate",Z=>Z[sr](...B),Z=>[tg(Z)],Z=>za(Z))}function N(...B){return ba(Z=>Reflect.apply(Zc,null,[Z,...B]),()=>lr(...B),"number format",Z=>Z[gr](...B),rg,Z=>da(Z)||za(Z))}function U(...B){return ba(Z=>Reflect.apply(Yc,null,[Z,...B]),()=>rr(...B),"datetime format",Z=>Z[cr](...B),rg,Z=>da(Z)||za(Z))}function h(B){K=B,O.pluralRules=K}function C(B,Z){return ba(()=>{if(!B)return!1;const _a=da(Z)?Z:g.value,va=H(_a),Ra=O.messageResolver(va,B);return l?Ra!=null:Kn(Ra)||Cn(Ra)||da(Ra)},()=>[B],"translate exists",_a=>Reflect.apply(_a.te,_a,[B,Z]),Wy,_a=>Ea(_a))}function y(B){let Z=null;const _a=Ec(O,d.value,g.value);for(let va=0;va<_a.length;va++){const Ra=_.value[_a[va]]||{},an=O.messageResolver(Ra,B);if(an!=null){Z=an;break}}return Z}function R(B){const Z=y(B);return Z??(e?e.tm(B)||{}:{})}function H(B){return _.value[B]||{}}function V(B,Z){if(o){const _a={[B]:Z};for(const va in _a)An(_a,va)&&Li(_a[va]);Z=_a[B]}_.value[B]=Z,O.messages=_.value}function oa(B,Z){_.value[B]=_.value[B]||{};const _a={[B]:Z};if(o)for(const va in _a)An(_a,va)&&Li(_a[va]);Z=_a[B],xt(Z,_.value[B]),O.messages=_.value}function Q(B){return k.value[B]||{}}function m(B,Z){k.value[B]=Z,O.datetimeFormats=k.value,Jc(O,B,Z)}function b(B,Z){k.value[B]=on(k.value[B]||{},Z),O.datetimeFormats=k.value,Jc(O,B,Z)}function F(B){return x.value[B]||{}}function J(B,Z){x.value[B]=Z,O.numberFormats=x.value,Xc(O,B,Z)}function ca(B,Z){x.value[B]=on(x.value[B]||{},Z),O.numberFormats=x.value,Xc(O,B,Z)}lg++,e&&Et&&(cn(e.locale,B=>{s&&(g.value=B,O.locale=B,Ni(O,g.value,d.value))}),cn(e.fallbackLocale,B=>{s&&(d.value=B,O.fallbackLocale=B,Ni(O,g.value,d.value))}));const ra={id:lg,locale:ea,fallbackLocale:ga,get inheritLocale(){return s},set inheritLocale(B){s=B,B&&e&&(g.value=e.locale.value,d.value=e.fallbackLocale.value,Ni(O,g.value,d.value))},get availableLocales(){return Object.keys(_.value).sort()},messages:Sa,get modifiers(){return v},get pluralRules(){return K||{}},get isGlobal(){return t},get missingWarn(){return D},set missingWarn(B){D=B,O.missingWarn=D},get fallbackWarn(){return T},set fallbackWarn(B){T=B,O.fallbackWarn=T},get fallbackRoot(){return $},set fallbackRoot(B){$=B},get fallbackFormat(){return w},set fallbackFormat(B){w=B,O.fallbackFormat=w},get warnHtmlMessage(){return G},set warnHtmlMessage(B){G=B,O.warnHtmlMessage=B},get escapeParameter(){return S},set escapeParameter(B){S=B,O.escapeParameter=B},t:na,getLocaleMessage:H,setLocaleMessage:V,mergeLocaleMessage:oa,getPostTranslationHandler:pa,setPostTranslationHandler:Y,getMissingHandler:ta,setMissingHandler:aa,[ag]:h};return ra.datetimeFormats=Ma,ra.numberFormats=ma,ra.rt=u,ra.te=C,ra.tm=R,ra.d=A,ra.n=j,ra.getDateTimeFormat=Q,ra.setDateTimeFormat=m,ra.mergeDateTimeFormat=b,ra.getNumberFormat=F,ra.setNumberFormat=J,ra.mergeNumberFormat=ca,ra[ng]=i,ra[sr]=M,ra[cr]=U,ra[gr]=N,ra}function Zy(a){const n=da(a.locale)?a.locale:Je,e=da(a.fallbackLocale)||za(a.fallbackLocale)||Ga(a.fallbackLocale)||a.fallbackLocale===!1?a.fallbackLocale:n,i=Ha(a.missing)?a.missing:void 0,t=Ea(a.silentTranslationWarn)||me(a.silentTranslationWarn)?!a.silentTranslationWarn:!0,o=Ea(a.silentFallbackWarn)||me(a.silentFallbackWarn)?!a.silentFallbackWarn:!0,r=Ea(a.fallbackRoot)?a.fallbackRoot:!0,l=!!a.formatFallbackMessages,s=Ga(a.modifiers)?a.modifiers:{},g=a.pluralizationRules,d=Ha(a.postTranslation)?a.postTranslation:void 0,_=da(a.warnHtmlInMessage)?a.warnHtmlInMessage!=="off":!0,k=!!a.escapeParameterHtml,x=Ea(a.sync)?a.sync:!0;let D=a.messages;if(Ga(a.sharedMessages)){const S=a.sharedMessages;D=Object.keys(S).reduce((K,O)=>{const q=K[O]||(K[O]={});return on(q,S[O]),K},D||{})}const{__i18n:T,__root:$,__injectWithOption:w}=a,L=a.datetimeFormats,E=a.numberFormats,I=a.flatJson,G=a.translateExistCompatible;return{locale:n,fallbackLocale:e,messages:D,flatJson:I,datetimeFormats:L,numberFormats:E,missing:i,missingWarn:t,fallbackWarn:o,fallbackRoot:r,fallbackFormat:l,modifiers:s,pluralRules:g,postTranslation:d,warnHtmlMessage:_,escapeParameter:k,messageResolver:a.messageResolver,inheritLocale:x,translateExistCompatible:G,__i18n:T,__root:$,__injectWithOption:w}}function pr(a={},n){{const e=dr(Zy(a)),{__extender:i}=a,t={id:e.id,get locale(){return e.locale.value},set locale(o){e.locale.value=o},get fallbackLocale(){return e.fallbackLocale.value},set fallbackLocale(o){e.fallbackLocale.value=o},get messages(){return e.messages.value},get datetimeFormats(){return e.datetimeFormats.value},get numberFormats(){return e.numberFormats.value},get availableLocales(){return e.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(o){},get missing(){return e.getMissingHandler()},set missing(o){e.setMissingHandler(o)},get silentTranslationWarn(){return Ea(e.missingWarn)?!e.missingWarn:e.missingWarn},set silentTranslationWarn(o){e.missingWarn=Ea(o)?!o:o},get silentFallbackWarn(){return Ea(e.fallbackWarn)?!e.fallbackWarn:e.fallbackWarn},set silentFallbackWarn(o){e.fallbackWarn=Ea(o)?!o:o},get modifiers(){return e.modifiers},get formatFallbackMessages(){return e.fallbackFormat},set formatFallbackMessages(o){e.fallbackFormat=o},get postTranslation(){return e.getPostTranslationHandler()},set postTranslation(o){e.setPostTranslationHandler(o)},get sync(){return e.inheritLocale},set sync(o){e.inheritLocale=o},get warnHtmlInMessage(){return e.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){e.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return e.escapeParameter},set escapeParameterHtml(o){e.escapeParameter=o},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(o){},get pluralizationRules(){return e.pluralRules||{}},__composer:e,t(...o){const[r,l,s]=o,g={};let d=null,_=null;if(!da(r))throw en(Qa.INVALID_ARGUMENT);const k=r;return da(l)?g.locale=l:za(l)?d=l:Ga(l)&&(_=l),za(s)?d=s:Ga(s)&&(_=s),Reflect.apply(e.t,e,[k,d||_||{},g])},rt(...o){return Reflect.apply(e.rt,e,[...o])},tc(...o){const[r,l,s]=o,g={plural:1};let d=null,_=null;if(!da(r))throw en(Qa.INVALID_ARGUMENT);const k=r;return da(l)?g.locale=l:Za(l)?g.plural=l:za(l)?d=l:Ga(l)&&(_=l),da(s)?g.locale=s:za(s)?d=s:Ga(s)&&(_=s),Reflect.apply(e.t,e,[k,d||_||{},g])},te(o,r){return e.te(o,r)},tm(o){return e.tm(o)},getLocaleMessage(o){return e.getLocaleMessage(o)},setLocaleMessage(o,r){e.setLocaleMessage(o,r)},mergeLocaleMessage(o,r){e.mergeLocaleMessage(o,r)},d(...o){return Reflect.apply(e.d,e,[...o])},getDateTimeFormat(o){return e.getDateTimeFormat(o)},setDateTimeFormat(o,r){e.setDateTimeFormat(o,r)},mergeDateTimeFormat(o,r){e.mergeDateTimeFormat(o,r)},n(...o){return Reflect.apply(e.n,e,[...o])},getNumberFormat(o){return e.getNumberFormat(o)},setNumberFormat(o,r){e.setNumberFormat(o,r)},mergeNumberFormat(o,r){e.mergeNumberFormat(o,r)},getChoiceIndex(o,r){return-1}};return t.__extender=i,t}}const mr={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:a=>a==="parent"||a==="global",default:"parent"},i18n:{type:Object}};function qy({slots:a},n){return n.length===1&&n[0]==="default"?(a.default?a.default():[]).reduce((i,t)=>[...i,...t.type===Aa?t.children:[t]],[]):n.reduce((e,i)=>{const t=a[i];return t&&(e[i]=t()),e},La())}function cg(a){return Aa}const gg=fi({name:"i18n-t",props:on({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:a=>Za(a)||!isNaN(a)}},mr),setup(a,n){const{slots:e,attrs:i}=n,t=a.i18n||hr({useScope:a.scope,__useComponent:!0});return()=>{const o=Object.keys(e).filter(_=>_!=="_"),r=La();a.locale&&(r.locale=a.locale),a.plural!==void 0&&(r.plural=da(a.plural)?+a.plural:a.plural);const l=qy(n,o),s=t[sr](a.keypath,l,r),g=on(La(),i),d=da(a.tag)||xa(a.tag)?a.tag:cg();return Ts(d,g,s)}}});function Xy(a){return za(a)&&!da(a[0])}function ug(a,n,e,i){const{slots:t,attrs:o}=n;return()=>{const r={part:!0};let l=La();a.locale&&(r.locale=a.locale),da(a.format)?r.key=a.format:xa(a.format)&&(da(a.format.key)&&(r.key=a.format.key),l=Object.keys(a.format).reduce((k,x)=>e.includes(x)?on(La(),k,{[x]:a.format[x]}):k,La()));const s=i(a.value,r,l);let g=[r.key];za(s)?g=s.map((k,x)=>{const D=t[k.type],T=D?D({[k.type]:k.value,index:x,parts:s}):[k.value];return Xy(T)&&(T[0].key=`${k.type}-${x}`),T}):da(s)&&(g=[s]);const d=on(La(),o),_=da(a.tag)||xa(a.tag)?a.tag:cg();return Ts(_,d,g)}}const dg=fi({name:"i18n-n",props:on({value:{type:Number,required:!0},format:{type:[String,Object]}},mr),setup(a,n){const e=a.i18n||hr({useScope:a.scope,__useComponent:!0});return ug(a,n,qc,(...i)=>e[gr](...i))}}),pg=fi({name:"i18n-d",props:on({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},mr),setup(a,n){const e=a.i18n||hr({useScope:a.scope,__useComponent:!0});return ug(a,n,Wc,(...i)=>e[cr](...i))}});function Qy(a,n){const e=a;if(a.mode==="composition")return e.__getInstance(n)||a.global;{const i=e.__getInstance(n);return i!=null?i.__composer:a.global.__composer}}function ab(a){const n=r=>{const{instance:l,modifiers:s,value:g}=r;if(!l||!l.$)throw en(Qa.UNEXPECTED_ERROR);const d=Qy(a,l.$),_=mg(g);return[Reflect.apply(d.t,d,[...hg(_)]),d]};return{created:(r,l)=>{const[s,g]=n(l);Et&&a.global===g&&(r.__i18nWatcher=cn(g.locale,()=>{l.instance&&l.instance.$forceUpdate()})),r.__composer=g,r.textContent=s},unmounted:r=>{Et&&r.__i18nWatcher&&(r.__i18nWatcher(),r.__i18nWatcher=void 0,delete r.__i18nWatcher),r.__composer&&(r.__composer=void 0,delete r.__composer)},beforeUpdate:(r,{value:l})=>{if(r.__composer){const s=r.__composer,g=mg(l);r.textContent=Reflect.apply(s.t,s,[...hg(g)])}},getSSRProps:r=>{const[l]=n(r);return{textContent:l}}}}function mg(a){if(da(a))return{path:a};if(Ga(a)){if(!("path"in a))throw en(Qa.REQUIRED_VALUE,"path");return a}else throw en(Qa.INVALID_VALUE)}function hg(a){const{path:n,locale:e,args:i,choice:t,plural:o}=a,r={},l=i||{};return da(e)&&(r.locale=e),Za(t)&&(r.plural=t),Za(o)&&(r.plural=o),[n,l,r]}function nb(a,n,...e){const i=Ga(e[0])?e[0]:{},t=!!i.useI18nComponentName;(Ea(i.globalInstall)?i.globalInstall:!0)&&([t?"i18n":gg.name,"I18nT"].forEach(r=>a.component(r,gg)),[dg.name,"I18nN"].forEach(r=>a.component(r,dg)),[pg.name,"I18nD"].forEach(r=>a.component(r,pg))),a.directive("t",ab(n))}function eb(a,n,e){return{beforeCreate(){const i=ue();if(!i)throw en(Qa.UNEXPECTED_ERROR);const t=this.$options;if(t.i18n){const o=t.i18n;if(t.__i18n&&(o.__i18n=t.__i18n),o.__root=n,this===this.$root)this.$i18n=yg(a,o);else{o.__injectWithOption=!0,o.__extender=e.__vueI18nExtend,this.$i18n=pr(o);const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}}else if(t.__i18n)if(this===this.$root)this.$i18n=yg(a,t);else{this.$i18n=pr({__i18n:t.__i18n,__injectWithOption:!0,__extender:e.__vueI18nExtend,__root:n});const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}else this.$i18n=a;t.__i18nGlobal&&ig(n,t,t),this.$t=(...o)=>this.$i18n.t(...o),this.$rt=(...o)=>this.$i18n.rt(...o),this.$tc=(...o)=>this.$i18n.tc(...o),this.$te=(o,r)=>this.$i18n.te(o,r),this.$d=(...o)=>this.$i18n.d(...o),this.$n=(...o)=>this.$i18n.n(...o),this.$tm=o=>this.$i18n.tm(o),e.__setInstance(i,this.$i18n)},mounted(){},unmounted(){const i=ue();if(!i)throw en(Qa.UNEXPECTED_ERROR);const t=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),e.__deleteInstance(i),delete this.$i18n}}}function yg(a,n){a.locale=n.locale||a.locale,a.fallbackLocale=n.fallbackLocale||a.fallbackLocale,a.missing=n.missing||a.missing,a.silentTranslationWarn=n.silentTranslationWarn||a.silentFallbackWarn,a.silentFallbackWarn=n.silentFallbackWarn||a.silentFallbackWarn,a.formatFallbackMessages=n.formatFallbackMessages||a.formatFallbackMessages,a.postTranslation=n.postTranslation||a.postTranslation,a.warnHtmlInMessage=n.warnHtmlInMessage||a.warnHtmlInMessage,a.escapeParameterHtml=n.escapeParameterHtml||a.escapeParameterHtml,a.sync=n.sync||a.sync,a.__composer[ag](n.pluralizationRules||a.pluralizationRules);const e=Rt(a.locale,{messages:n.messages,__i18n:n.__i18n});return Object.keys(e).forEach(i=>a.mergeLocaleMessage(i,e[i])),n.datetimeFormats&&Object.keys(n.datetimeFormats).forEach(i=>a.mergeDateTimeFormat(i,n.datetimeFormats[i])),n.numberFormats&&Object.keys(n.numberFormats).forEach(i=>a.mergeNumberFormat(i,n.numberFormats[i])),a}const ib=pe("global-vue-i18n");function tb(a={},n){const e=__VUE_I18N_LEGACY_API__&&Ea(a.legacy)?a.legacy:__VUE_I18N_LEGACY_API__,i=Ea(a.globalInjection)?a.globalInjection:!0,t=__VUE_I18N_LEGACY_API__&&e?!!a.allowComposition:!0,o=new Map,[r,l]=ob(a,e),s=pe("");function g(k){return o.get(k)||null}function d(k,x){o.set(k,x)}function _(k){o.delete(k)}{const k={get mode(){return __VUE_I18N_LEGACY_API__&&e?"legacy":"composition"},get allowComposition(){return t},async install(x,...D){if(x.__VUE_I18N_SYMBOL__=s,x.provide(x.__VUE_I18N_SYMBOL__,k),Ga(D[0])){const w=D[0];k.__composerExtend=w.__composerExtend,k.__vueI18nExtend=w.__vueI18nExtend}let T=null;!e&&i&&(T=mb(x,k.global)),__VUE_I18N_FULL_INSTALL__&&nb(x,k,...D),__VUE_I18N_LEGACY_API__&&e&&x.mixin(eb(l,l.__composer,k));const $=x.unmount;x.unmount=()=>{T&&T(),k.dispose(),$()}},get global(){return l},dispose(){r.stop()},__instances:o,__getInstance:g,__setInstance:d,__deleteInstance:_};return k}}function hr(a={}){const n=ue();if(n==null)throw en(Qa.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw en(Qa.NOT_INSTALLED);const e=rb(n),i=sb(e),t=eg(n),o=lb(a,t);if(__VUE_I18N_LEGACY_API__&&e.mode==="legacy"&&!a.__useComponent){if(!e.allowComposition)throw en(Qa.NOT_AVAILABLE_IN_LEGACY_MODE);return db(n,o,i,a)}if(o==="global")return ig(i,a,t),i;if(o==="parent"){let s=cb(e,n,a.__useComponent);return s==null&&(s=i),s}const r=e;let l=r.__getInstance(n);if(l==null){const s=on({},a);"__i18n"in t&&(s.__i18n=t.__i18n),i&&(s.__root=i),l=dr(s),r.__composerExtend&&(l[ur]=r.__composerExtend(l)),ub(r,n,l),r.__setInstance(n,l)}return l}function ob(a,n,e){const i=po();{const t=__VUE_I18N_LEGACY_API__&&n?i.run(()=>pr(a)):i.run(()=>dr(a));if(t==null)throw en(Qa.UNEXPECTED_ERROR);return[i,t]}}function rb(a){{const n=Ya(a.isCE?ib:a.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw en(a.isCE?Qa.NOT_INSTALLED_WITH_PROVIDE:Qa.UNEXPECTED_ERROR);return n}}function lb(a,n){return Mt(a)?"__i18n"in n?"local":"global":a.useScope?a.useScope:"local"}function sb(a){return a.mode==="composition"?a.global:a.global.__composer}function cb(a,n,e=!1){let i=null;const t=n.root;let o=gb(n,e);for(;o!=null;){const r=a;if(a.mode==="composition")i=r.__getInstance(o);else if(__VUE_I18N_LEGACY_API__){const l=r.__getInstance(o);l!=null&&(i=l.__composer,e&&i&&!i[ng]&&(i=null))}if(i!=null||t===o)break;o=o.parent}return i}function gb(a,n=!1){return a==null?null:n&&a.vnode.ctx||a.parent}function ub(a,n,e){Rn(()=>{},n),wo(()=>{const i=e;a.__deleteInstance(n);const t=i[ur];t&&(t(),delete i[ur])},n)}function db(a,n,e,i={}){const t=n==="local",o=Ll(null);if(t&&a.proxy&&!(a.proxy.$options.i18n||a.proxy.$options.__i18n))throw en(Qa.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const r=Ea(i.inheritLocale)?i.inheritLocale:!da(i.locale),l=ua(!t||r?e.locale.value:da(i.locale)?i.locale:Je),s=ua(!t||r?e.fallbackLocale.value:da(i.fallbackLocale)||za(i.fallbackLocale)||Ga(i.fallbackLocale)||i.fallbackLocale===!1?i.fallbackLocale:l.value),g=ua(Rt(l.value,i)),d=ua(Ga(i.datetimeFormats)?i.datetimeFormats:{[l.value]:{}}),_=ua(Ga(i.numberFormats)?i.numberFormats:{[l.value]:{}}),k=t?e.missingWarn:Ea(i.missingWarn)||me(i.missingWarn)?i.missingWarn:!0,x=t?e.fallbackWarn:Ea(i.fallbackWarn)||me(i.fallbackWarn)?i.fallbackWarn:!0,D=t?e.fallbackRoot:Ea(i.fallbackRoot)?i.fallbackRoot:!0,T=!!i.fallbackFormat,$=Ha(i.missing)?i.missing:null,w=Ha(i.postTranslation)?i.postTranslation:null,L=t?e.warnHtmlMessage:Ea(i.warnHtmlMessage)?i.warnHtmlMessage:!0,E=!!i.escapeParameter,I=t?e.modifiers:Ga(i.modifiers)?i.modifiers:{},G=i.pluralRules||t&&e.pluralRules;function S(){return[l.value,s.value,g.value,d.value,_.value]}const v=la({get:()=>o.value?o.value.locale.value:l.value,set:y=>{o.value&&(o.value.locale.value=y),l.value=y}}),K=la({get:()=>o.value?o.value.fallbackLocale.value:s.value,set:y=>{o.value&&(o.value.fallbackLocale.value=y),s.value=y}}),O=la(()=>o.value?o.value.messages.value:g.value),q=la(()=>d.value),sa=la(()=>_.value);function ea(){return o.value?o.value.getPostTranslationHandler():w}function ga(y){o.value&&o.value.setPostTranslationHandler(y)}function Sa(){return o.value?o.value.getMissingHandler():$}function Ma(y){o.value&&o.value.setMissingHandler(y)}function ma(y){return S(),y()}function pa(...y){return o.value?ma(()=>Reflect.apply(o.value.t,null,[...y])):ma(()=>"")}function Y(...y){return o.value?Reflect.apply(o.value.rt,null,[...y]):""}function ta(...y){return o.value?ma(()=>Reflect.apply(o.value.d,null,[...y])):ma(()=>"")}function aa(...y){return o.value?ma(()=>Reflect.apply(o.value.n,null,[...y])):ma(()=>"")}function ba(y){return o.value?o.value.tm(y):{}}function na(y,R){return o.value?o.value.te(y,R):!1}function u(y){return o.value?o.value.getLocaleMessage(y):{}}function A(y,R){o.value&&(o.value.setLocaleMessage(y,R),g.value[y]=R)}function j(y,R){o.value&&o.value.mergeLocaleMessage(y,R)}function c(y){return o.value?o.value.getDateTimeFormat(y):{}}function P(y,R){o.value&&(o.value.setDateTimeFormat(y,R),d.value[y]=R)}function p(y,R){o.value&&o.value.mergeDateTimeFormat(y,R)}function M(y){return o.value?o.value.getNumberFormat(y):{}}function N(y,R){o.value&&(o.value.setNumberFormat(y,R),_.value[y]=R)}function U(y,R){o.value&&o.value.mergeNumberFormat(y,R)}const h={get id(){return o.value?o.value.id:-1},locale:v,fallbackLocale:K,messages:O,datetimeFormats:q,numberFormats:sa,get inheritLocale(){return o.value?o.value.inheritLocale:r},set inheritLocale(y){o.value&&(o.value.inheritLocale=y)},get availableLocales(){return o.value?o.value.availableLocales:Object.keys(g.value)},get modifiers(){return o.value?o.value.modifiers:I},get pluralRules(){return o.value?o.value.pluralRules:G},get isGlobal(){return o.value?o.value.isGlobal:!1},get missingWarn(){return o.value?o.value.missingWarn:k},set missingWarn(y){o.value&&(o.value.missingWarn=y)},get fallbackWarn(){return o.value?o.value.fallbackWarn:x},set fallbackWarn(y){o.value&&(o.value.missingWarn=y)},get fallbackRoot(){return o.value?o.value.fallbackRoot:D},set fallbackRoot(y){o.value&&(o.value.fallbackRoot=y)},get fallbackFormat(){return o.value?o.value.fallbackFormat:T},set fallbackFormat(y){o.value&&(o.value.fallbackFormat=y)},get warnHtmlMessage(){return o.value?o.value.warnHtmlMessage:L},set warnHtmlMessage(y){o.value&&(o.value.warnHtmlMessage=y)},get escapeParameter(){return o.value?o.value.escapeParameter:E},set escapeParameter(y){o.value&&(o.value.escapeParameter=y)},t:pa,getPostTranslationHandler:ea,setPostTranslationHandler:ga,getMissingHandler:Sa,setMissingHandler:Ma,rt:Y,d:ta,n:aa,tm:ba,te:na,getLocaleMessage:u,setLocaleMessage:A,mergeLocaleMessage:j,getDateTimeFormat:c,setDateTimeFormat:P,mergeDateTimeFormat:p,getNumberFormat:M,setNumberFormat:N,mergeNumberFormat:U};function C(y){y.locale.value=l.value,y.fallbackLocale.value=s.value,Object.keys(g.value).forEach(R=>{y.mergeLocaleMessage(R,g.value[R])}),Object.keys(d.value).forEach(R=>{y.mergeDateTimeFormat(R,d.value[R])}),Object.keys(_.value).forEach(R=>{y.mergeNumberFormat(R,_.value[R])}),y.escapeParameter=E,y.fallbackFormat=T,y.fallbackRoot=D,y.fallbackWarn=x,y.missingWarn=k,y.warnHtmlMessage=L}return Zl(()=>{if(a.proxy==null||a.proxy.$i18n==null)throw en(Qa.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const y=o.value=a.proxy.$i18n.__composer;n==="global"?(l.value=y.locale.value,s.value=y.fallbackLocale.value,g.value=y.messages.value,d.value=y.datetimeFormats.value,_.value=y.numberFormats.value):t&&C(y)}),h}const pb=["locale","fallbackLocale","availableLocales"],bg=["t","rt","d","n","tm","te"];function mb(a,n){const e=Object.create(null);return pb.forEach(t=>{const o=Object.getOwnPropertyDescriptor(n,t);if(!o)throw en(Qa.UNEXPECTED_ERROR);const r=Va(o.value)?{get(){return o.value.value},set(l){o.value.value=l}}:{get(){return o.get&&o.get()}};Object.defineProperty(e,t,r)}),a.config.globalProperties.$i18n=e,bg.forEach(t=>{const o=Object.getOwnPropertyDescriptor(n,t);if(!o||!o.value)throw en(Qa.UNEXPECTED_ERROR);Object.defineProperty(a.config.globalProperties,`$${t}`,o)}),()=>{delete a.config.globalProperties.$i18n,bg.forEach(t=>{delete a.config.globalProperties[`$${t}`]})}}if(Vy(),__INTLIFY_JIT_COMPILATION__?Tc(By):Tc(Ky),Iy(gy),wy(Ec),__INTLIFY_PROD_DEVTOOLS__){const a=Qn();a.__INTLIFY__=!0,fy(a.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const hb=Object.assign({"./locales/ar/aria.json":Cm,"./locales/ar/buttons.json":jm,"./locales/ar/detail.json":km,"./locales/ar/legend.json":Gm,"./locales/ar/messages.json":vm,"./locales/ar/options.json":Am,"./locales/ar/prayerLaps.json":Sm,"./locales/ar/search.json":Em,"./locales/ar/tabs.json":Mm,"./locales/de/aria.json":Im,"./locales/de/buttons.json":wm,"./locales/de/detail.json":xm,"./locales/de/legend.json":Tm,"./locales/de/messages.json":Nm,"./locales/de/options.json":Lm,"./locales/de/prayerLaps.json":Rm,"./locales/de/search.json":$m,"./locales/de/tabs.json":Fm,"./locales/en/aria.json":Km,"./locales/en/buttons.json":Bm,"./locales/en/detail.json":Om,"./locales/en/legend.json":Um,"./locales/en/messages.json":Hm,"./locales/en/options.json":Dm,"./locales/en/popup.json":zm,"./locales/en/prayerLaps.json":Vm,"./locales/en/search.json":Ym,"./locales/en/tabs.json":Wm,"./locales/es/aria.json":Jm,"./locales/es/buttons.json":Zm,"./locales/es/detail.json":qm,"./locales/es/legend.json":Xm,"./locales/es/messages.json":Qm,"./locales/es/options.json":ah,"./locales/es/prayerLaps.json":nh,"./locales/es/search.json":eh,"./locales/es/tabs.json":ih,"./locales/fr/aria.json":th,"./locales/fr/buttons.json":oh,"./locales/fr/detail.json":rh,"./locales/fr/legend.json":lh,"./locales/fr/messages.json":sh,"./locales/fr/options.json":ch,"./locales/fr/popup.json":gh,"./locales/fr/prayerLaps.json":uh,"./locales/fr/search.json":dh,"./locales/fr/tabs.json":ph,"./locales/hi/aria.json":mh,"./locales/hi/buttons.json":hh,"./locales/hi/detail.json":yh,"./locales/hi/legend.json":bh,"./locales/hi/messages.json":_h,"./locales/hi/options.json":fh,"./locales/hi/prayerLaps.json":Ph,"./locales/hi/search.json":Ch,"./locales/it/aria.json":jh,"./locales/it/buttons.json":kh,"./locales/it/detail.json":Gh,"./locales/it/legend.json":vh,"./locales/it/messages.json":Ah,"./locales/it/options.json":Sh,"./locales/it/prayerLaps.json":Eh,"./locales/it/search.json":Mh,"./locales/pt/aria.json":Ih,"./locales/pt/buttons.json":wh,"./locales/pt/detail.json":xh,"./locales/pt/legend.json":Th,"./locales/pt/messages.json":Nh,"./locales/pt/options.json":Lh,"./locales/pt/prayerLaps.json":Rh,"./locales/pt/search.json":$h,"./locales/pt/tabs.json":Fh,"./locales/ro/aria.json":Kh,"./locales/ro/buttons.json":Bh,"./locales/ro/detail.json":Oh,"./locales/ro/legend.json":Uh,"./locales/ro/messages.json":Hh,"./locales/ro/options.json":Dh,"./locales/ro/prayerLaps.json":zh,"./locales/ro/search.json":Vh,"./locales/ru/aria.json":Yh,"./locales/ru/buttons.json":Wh,"./locales/ru/detail.json":Jh,"./locales/ru/legend.json":Zh,"./locales/ru/messages.json":qh,"./locales/ru/options.json":Xh,"./locales/ru/prayerLaps.json":Qh,"./locales/ru/search.json":a0,"./locales/ru/tabs.json":n0,"./locales/zh/aria.json":e0,"./locales/zh/buttons.json":i0,"./locales/zh/detail.json":t0,"./locales/zh/legend.json":o0,"./locales/zh/messages.json":r0,"./locales/zh/options.json":l0,"./locales/zh/prayerLaps.json":s0,"./locales/zh/search.json":c0}),Ri={};for(const[a,n]of Object.entries(hb)){const e=a.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!e)continue;const[,i,t]=e;Ri[i]??(Ri[i]={}),Ri[i][t]=n}const _g=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"];function yb(){var e;const n=(((e=document==null?void 0:document.documentElement)==null?void 0:e.lang)||"").split("-")[0].toLowerCase();return _g.includes(n)?n:"en"}function bb(){return tb({legacy:!1,globalInjection:!0,locale:yb(),fallbackLocale:"en",messages:Ri,missingWarn:!1,fallbackWarn:!1})}let _b=0;const fb=Jo("ui",{state:()=>({_storeInstanceId:++_b,theme:"light",colorScheme:"default",reducedMotion:!1,highContrast:!1,activeTab:"geo-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:a=>a.theme==="auto"?window.matchMedia("(prefers-color-scheme: dark)").matches:a.theme==="dark",isMobile:a=>a.breakpoint==="mobile",isTablet:a=>a.breakpoint==="tablet",isDesktop:a=>a.breakpoint==="desktop"||a.breakpoint==="wide",legendHeight:a=>a._customLegendHeight?a._customLegendHeight:a.legendState==="collapsed"?"48px":a.legendState==="open"?"30%":a.legendState==="fullyOpen"?"calc(100% - 80px)":"48px",caretRotation:a=>a.legendState==="collapsed"?0:90,showPullTab:a=>a.legendState==="open"||a.legendState==="fullyOpen",getToastsByType:a=>n=>a.toasts.filter(e=>e.type===n),hasOpenModal:a=>a.openModals.length>0,topModal:a=>a.openModals.length===0?null:a.openModals[a.openModals.length-1],isModalOpen:a=>n=>a.openModals.includes(n),isAnyLoading:a=>a.isGlobalLoading||a.loadingStates.size>0,isLoading:a=>n=>a.loadingStates.get(n)||!1},actions:{setTheme(a){if(!["light","dark","auto"].includes(a))return;this.theme=a;const e=this.isDarkTheme;document.documentElement.setAttribute("data-theme",e?"dark":"light"),localStorage.setItem("theme",a)},toggleTheme(){const a=this.theme==="light"?"dark":"light";this.setTheme(a)},setColorScheme(a){this.colorScheme=a,document.documentElement.setAttribute("data-color-scheme",a)},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(a){this.activeTab=a,this.addToHistory({type:"tab-change",tabId:a,timestamp:Date.now()})},toggleSidebar(){this.sidebarCollapsed=!this.sidebarCollapsed},openMobileMenu(){this.mobileMenuOpen=!0},closeMobileMenu(){this.mobileMenuOpen=!1},setLegendMode(a){["prayer","detail"].includes(a)&&(this.legendMode=a)},setPrayerFilter(a){[null,"noPrayer","hasPrayer","fullPrayer"].includes(a)&&(this.prayerFilter=a)},setEngagementFilter(a){[null,"notEngaged","hasEngagement"].includes(a)&&(this.engagementFilter=a)},setAdoptionFilter(a){[null,"notAdopted","hasAdoption"].includes(a)&&(this.adoptionFilter=a)},setReligionFilter(a){[null,"C","M","H","B","E","J","S","N","O","U"].includes(a)&&(this.religionFilter=a)},selectPeopleGroup(a){this.selectedPeopleGroup=a,a?(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(a){["collapsed","open","fullyOpen"].includes(a)&&(this.legendState=a)},toggleSearchMode(){this.searchMode=!this.searchMode},setSearchMode(a){this.searchMode=a},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},updateBreakpoint(a){let n;a<768?n="mobile":a<1024?n="tablet":a<1920?n="desktop":n="wide",n!==this.breakpoint&&(this.breakpoint=n)},updateWindowSize(a,n){this.windowSize.width=a,this.windowSize.height=n,this.updateBreakpoint(a)},showToast(a){const{message:n,type:e="info",duration:i=this.toastDuration,action:t=null,persistent:o=!1}=a,r={id:this.nextToastId++,message:n,type:e,duration:i,action:t,persistent:o,createdAt:Date.now()};return this.toasts.push(r),!o&&i>0&&setTimeout(()=>{this.removeToast(r.id)},i),r.id},showSuccess(a,n={}){return this.showToast({message:a,type:"success",...n})},showError(a,n={}){return this.showToast({message:a,type:"error",duration:7e3,...n})},showWarning(a,n={}){return this.showToast({message:a,type:"warning",...n})},showInfo(a,n={}){return this.showToast({message:a,type:"info",...n})},removeToast(a){const n=this.toasts.findIndex(e=>e.id===a);n!==-1&&this.toasts.splice(n,1)},clearAllToasts(){this.toasts=[]},openModal(a,n={}){this.openModals.includes(a)||(this.openModals.push(a),this.modalData.set(a,n),this.focusTrapActive=!0)},closeModal(a=null){if(a){const n=this.openModals.indexOf(a);n!==-1&&(this.openModals.splice(n,1),this.modalData.delete(a))}else{const n=this.openModals.pop();n&&this.modalData.delete(n)}this.openModals.length===0&&(this.focusTrapActive=!1)},closeAllModals(){this.openModals=[],this.modalData.clear(),this.focusTrapActive=!1},getModalData(a){return this.modalData.get(a)},showGlobalLoading(a="Loading..."){this.isGlobalLoading=!0,this.globalLoadingMessage=a},hideGlobalLoading(){this.isGlobalLoading=!1},setLoading(a,n=!0){n?this.loadingStates.set(a,!0):this.loadingStates.delete(a)},addToHistory(a){this.interactionHistory.push(a),this.interactionHistory.length>this.maxHistoryLength&&this.interactionHistory.shift()},clearHistory(){this.interactionHistory=[]},announce(a,n="polite"){this.screenReaderAnnouncement=a,setTimeout(()=>{this.screenReaderAnnouncement===a&&(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(a){this._customLegendHeight=a},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(){const a=localStorage.getItem("theme");a&&this.setTheme(a),new ResizeObserver(e=>{for(const i of e)this.updateWindowSize(i.contentRect.width,i.contentRect.height)}).observe(document.documentElement),window.matchMedia&&(window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",e=>{this.theme==="auto"&&document.documentElement.setAttribute("data-theme",e.matches?"dark":"light")}),window.matchMedia("(prefers-reduced-motion: reduce)").addEventListener("change",e=>{this.reducedMotion=e.matches,document.documentElement.setAttribute("data-reduced-motion",e.matches)}))}}}),Pb=Jo("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:a=>n=>a.maps[n],activeMap:a=>a.activeMapId?a.maps[a.activeMapId]:null,hasMap:a=>n=>n in a.maps,allMapIds:a=>Object.keys(a.maps),hasSelection:a=>!!(a.selectedRegion||a.selectedFamily||a.selectedAffinityBlock||a.selectedPeopleGroup),isAutoFlying:a=>a.autoFly.isActive,isGuidedTourActive:a=>a.guidedTour.isActive,isMapFullscreen:a=>n=>a.fullscreenMapId===n},actions:{registerMap(a,n,e={}){let i=1.5;e.zoom!==void 0?i=e.zoom:n&&typeof n.getZoom=="function"&&(i=n.getZoom());let t=[0,0];if(e.center)t=e.center;else if(n&&typeof n.getCenter=="function"){const o=n.getCenter();o&&(t=[o.lng,o.lat])}this.maps[a]={instance:n,config:e,isReady:!1,zoom:i,center:t,registeredAt:Date.now()},this.activeMapId||(this.activeMapId=a)},setMapReady(a){const n=this.maps[a];n&&(n.isReady=!0)},updateMapState(a,n){const e=this.maps[a];e&&Object.assign(e,n)},unregisterMap(a){if(delete this.maps[a],this.activeMapId===a){const n=this.allMapIds;this.activeMapId=n.length>0?n[0]:null}},setActiveMap(a){a in this.maps&&(this.activeMapId=a)},selectRegion(a){this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedRegion=a},selectFamily(a){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedFamily=a},setActiveLegendTab(a){this.activeLegendTab=a},selectLanguage(a){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedFamily=null,this.selectedDialect=null,this.selectedLanguage=a},selectDialect(a){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedDialect=a},selectAffinityBlock(a){this.selectedRegion=null,this.selectedFamily=null,this.selectedPeopleGroup=null,this.selectedAffinityBlock=a},selectPeopleGroup(a){this.selectedPeopleGroup=a},selectResource(a){this.selectedRegion=null,this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedResource===a?this.selectedResource=null:this.selectedResource=a},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(a){this.selectedPinIds=a||[]},setFilter(a,n){this.globalFilters[a]=n},removeFilter(a){delete this.globalFilters[a]},clearFilters(){this.globalFilters={},this.searchQuery=""},setSearchQuery(a){this.searchQuery=a},startAutoFly(a,n=1){this.stopAutoFly(),this.autoFly.isActive=!0,this.autoFly.speed=n,this.autoFly.items=a,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(a){this.autoFly.speed=Math.max(.5,Math.min(2,a))},nextAutoFlyItem(){if(!this.autoFly.isActive||this.autoFly.items.length===0)return;this.autoFly.currentIndex=(this.autoFly.currentIndex+1)%this.autoFly.items.length;const a=this.autoFly.items[this.autoFly.currentIndex];a.type==="region"?this.selectRegion(a):a.type==="family"&&this.selectFamily(a)},toggleClusters(a){typeof a=="boolean"?this.showClusters=a:this.showClusters=!this.showClusters},setClusterMode(a){["region","language-family","affinity-block","mst","resource"].includes(a)&&(this.clusterMode=a)},setClusterFilter(a,n){this.clusterFilterProperty=a||null,this.clusterFilterValue=n||null},clearClusterFilter(){this.clusterFilterProperty=null,this.clusterFilterValue=null},setFlySpeed(a){["slow","normal","fast"].includes(a)&&(this.flySpeed=a)},setSelectedFamily(a){this.selectFamily(a)},clearSelectedFamily(){this.selectFamily(null)},setSelectedRegion(a){this.selectRegion(a)},clearSelectedRegion(){this.selectRegion(null)},clearSelectedResource(){this.selectResource(null)},clearSelectedLanguage(){this.selectLanguage(null)},clearSelectedDialect(){this.selectDialect(null)},toggleFullscreen(a){this.fullscreenMapId===a?this.fullscreenMapId=null:this.fullscreenMapId=a},loadPreferences(){try{const a=localStorage.getItem("mapUserPreferences");if(a){const n=JSON.parse(a);this.preferences={...this.preferences,...n}}}catch(a){console.error("[mapStore] Failed to load preferences:",a)}},savePreferences(){try{localStorage.setItem("mapUserPreferences",JSON.stringify(this.preferences))}catch(a){console.error("[mapStore] Failed to save preferences:",a)}},setPreference(a,n){this.preferences[a]=n,this.preferences.autoSavePreferences&&this.savePreferences()}}}),Cb=Jo("data",{state:()=>({sources:{},loadingStates:{}}),actions:{async load(a,n){if(!this.sources[a]){this.loadingStates[a]={isLoading:!0,error:null};try{const e=await n();this.sources[a]=mi({features:e,timestamp:Date.now()}),this.loadingStates[a]={isLoading:!1,error:null}}catch(e){console.error(`[dataStore] Failed to load source "${a}":`,e),this.loadingStates[a]={isLoading:!1,error:e}}}},clearSource(a){delete this.sources[a],delete this.loadingStates[a]},cacheSourceData(a,n){this.sources[a]=mi({features:n.normalizedData||[],timestamp:n.timestamp||Date.now()})},hasSourceData(a){return!!this.sources[a]},getSourceData(a){return this.sources[a]?{normalizedData:this.sources[a].features}:null}},getters:{getData:a=>n=>{var e;return((e=a.sources[n])==null?void 0:e.features)??null},isLoading:a=>n=>{var e;return((e=a.loadingStates[n])==null?void 0:e.isLoading)??!1},getError:a=>n=>{var e;return((e=a.loadingStates[n])==null?void 0:e.error)??null}}}),jb={activeSource:"pray-tools"},kb=(a,n)=>{const e=a.__vccOpts||a;for(const[i,t]of n)e[i]=t;return e},Gb={class:"profile-loader"},vb={key:0,class:"profile-error"},Ab={key:1,class:"profile-error"},Sb=kb({__name:"ProfileLoader",props:{profileConfig:{type:String,default:""}},setup(a){var $;const n=a,e=la(()=>{if(!n.profileConfig)return null;try{return JSON.parse(n.profileConfig)}catch{return console.error("[ProfileLoader] Invalid profile-config JSON:",n.profileConfig),null}}),i=la(()=>{var w;return((w=e.value)==null?void 0:w.profile)||null}),t=la(()=>{var w;return((w=e.value)==null?void 0:w.tk)||""}),o=la(()=>{var w;return((w=e.value)==null?void 0:w.dataSource)||jb.activeSource}),r=la(()=>{var w;return((w=e.value)==null?void 0:w.colorSet)||"default"}),l=la(()=>{var L,E;const w=(((L=e.value)==null?void 0:L.locale)||((E=e.value)==null?void 0:E.lang)||"").split("-")[0].toLowerCase();return _g.includes(w)?w:""}),s=Ya("appI18n",null);xd(()=>{l.value&&s&&(s.global.locale.value=l.value)});const g=la(()=>{var w,L;return l.value||((L=(w=s==null?void 0:s.global)==null?void 0:w.locale)==null?void 0:L.value)||"en"}),d=la(()=>{var w;return((w=e.value)==null?void 0:w.instanceId)||"map-embed-"+Math.random().toString(36).slice(2,9)}),_=Ya("profileModules",null);if(!_)throw new Error('[ProfileLoader] No profileModules provided. Bundle entry must `app.provide("profileModules", import.meta.glob("./*.vue"))`');const k=la(()=>{if(!i.value)return null;const w=`./${i.value}.vue`;return _[w]?Fd(_[w]):(console.error(`[ProfileLoader] Profile not found: "${i.value}". Available:`,Object.keys(_)),null)});vn("mapboxToken",t),vn("dataSource",o),vn("colorSet",r),vn("profileConfig",e),vn("instanceId",d),vn("lang",g);const x=fb(),D=Pb(),T=Cb();try{window.localStorage.getItem("__probe__")}catch{const L=Object.create(null),E={getItem:I=>I in L?L[I]:null,setItem:(I,G)=>{L[I]=String(G)},removeItem:I=>{delete L[I]},clear:()=>{for(const I in L)delete L[I]},key:I=>Object.keys(L)[I]??null,get length(){return Object.keys(L).length}};try{Object.defineProperty(window,"localStorage",{configurable:!0,value:E})}catch{}}try{const w=localStorage.getItem("theme");w&&(($=x.setTheme)==null||$.call(x,w))}catch{}return vn("uiStore",x),vn("mapStore",D),vn("dataStore",T),(w,L)=>(z(),W("div",Gb,[e.value?k.value?(z(),Me(Jd(k.value),{key:2})):(z(),W("div",Ab,[f("p",null,[L[1]||(L[1]=ya("⚠️ Profile ",-1)),f("strong",null,'"'+X(i.value)+'"',1),L[2]||(L[2]=ya(" not found.",-1))])])):(z(),W("div",vb,[...L[0]||(L[0]=[f("p",null,[ya("⚠️ "),f("strong",null,"map-embed"),ya(": missing or invalid "),f("code",null,"profile-config"),ya(" prop.")],-1),f("p",null,[ya("Example: "),f("code",null,`profile-config='{"profile":"example-map","tk":"pk.YOUR_MAPBOX_TOKEN"}'`)],-1)])]))]))}},[["__scopeId","data-v-8d448c33"]]),Eb=Object.assign({"./bloom-cockpit.vue":()=>oi(()=>Promise.resolve().then(()=>P_),void 0),"./flower-mesh.vue":()=>oi(()=>Promise.resolve().then(()=>Y_),void 0),"./lang-cluster.vue":()=>oi(()=>Promise.resolve().then(()=>p5),void 0),"./send-map.vue":()=>oi(()=>Promise.resolve().then(()=>K5),void 0),"./upg-neighbors.vue":()=>oi(()=>Promise.resolve().then(()=>Of),void 0)});if(typeof window<"u"&&((xu=window.mapboxgl)!=null&&xu.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 $i(){return rm(Sb,{configureApp(a){a.use(hm()),a.use(bb()),a.provide("profileModules",Eb)}})}typeof customElements<"u"&&(customElements.get("send-map")||customElements.define("send-map",$i()),customElements.get("flower-mesh")||customElements.define("flower-mesh",$i()),customElements.get("lang-cluster")||customElements.define("lang-cluster",$i()),customElements.get("bloom-cockpit")||customElements.define("bloom-cockpit",$i()),customElements.get("upg-neighbors")||customElements.define("upg-neighbors",$i()));function On(a,n){const e=n||Mb(a);Rn(()=>{var l;const i=ue();if(!i)return;const t=(l=i.proxy)==null?void 0:l.$el;if(!t)return;const o=t.getRootNode();if(!(o instanceof ShadowRoot)||o.querySelector(`style[data-shadow-styles="${e}"]`))return;const r=document.createElement("style");r.setAttribute("data-shadow-styles",e),r.textContent=a,o.appendChild(r)})}function Mb(a){let n=0;for(let e=0;e=2% (>=2% evangelical) OR GSEC>=4 — senders only; 'Engaged' excluded (engaged != reached)",reached_pool:5146,target_countries:40,total_neighbors:2603,neighbors_with_rol3:2603,neighbors_with_coords:2603},countries:{India:{target_upg:2040,target_pop:1394512400,target_top_langs:["Hindi","Urdu","Gujarati","Marathi"],target_top_religion:"Hinduism",neighbors:[{name:"Naga, Sangtam",country:"India",lang:"Naga, Sangtam",rol3:"nsa",pct_christian:75,pop:12e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.85,lng:94.62,code:"PG041909"},{name:"Naga Kacha",country:"India",lang:"Naga, Zeme",rol3:"nzm",pct_christian:75,pop:69500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.21,lng:94.04,code:"PG049568"},{name:"Moyon",country:"India",lang:"Naga, Moyon",rol3:"nmo",pct_christian:75,pop:3600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.24,lng:94.09,code:"PG049747"},{name:"Lisu",country:"India",lang:"Lisu",rol3:"lis",pct_christian:75,pop:2600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:27.37,lng:96.37,code:"PG049761"},{name:"Koirao",country:"India",lang:"Boro (India)",rol3:"brx",pct_christian:75,pop:1800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.2,lng:94.05,code:"PG049766"},{name:"Beldar (Bundelkhandi)",country:"India",lang:"Bundeli",rol3:"bns",pct_christian:75,pop:550,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:24.76,lng:81.58,code:"PG048210"},{name:"Majhi",country:"India",lang:"Majhi",rol3:"mjz",pct_christian:75,pop:500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.11,lng:88.35,code:"PG049075"},{name:"Ansari-Momin (Sadri)",country:"India",lang:"Sadri",rol3:"sck",pct_christian:75,pop:225,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:23.63,lng:85.55,code:"PG048700"},{name:"Syrian Christian",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:62.5,pop:4495e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:12.35,lng:76.09,code:"PG041308"},{name:"Naga, Ao",country:"India",lang:"Naga, Ao",rol3:"njo",pct_christian:62.5,pop:411e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:26.34,lng:94.36,code:"PG041361"},{name:"Anglo Indian",country:"India",lang:"English",rol3:"eng",pct_christian:62.5,pop:398e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:12.95,lng:77.6,code:"PG041386"},{name:"Naga, Sema",country:"India",lang:"Naga, Sumi",rol3:"nsm",pct_christian:62.5,pop:368e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.93,lng:94.23,code:"PG041651"},{name:"Naga, Konyak",country:"India",lang:"Naga, Konyak",rol3:"nbe",pct_christian:62.5,pop:361e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.72,lng:95.04,code:"PG041687"},{name:"Naga, Angami",country:"India",lang:"Naga, Angami",rol3:"njm",pct_christian:62.5,pop:241e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.69,lng:93.9,code:"PG041738"},{name:"Naga, Lotha",country:"India",lang:"Naga, Lotha",rol3:"njh",pct_christian:62.5,pop:234e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.01,lng:94.06,code:"PG041755"},{name:"Naga, Tangkhul",country:"India",lang:"Naga, Tangkhul (India)",rol3:"nmf",pct_christian:62.5,pop:214e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.07,lng:94.38,code:"PG041697"},{name:"Naga, Chakhesang",country:"India",lang:"Naga, Chokri",rol3:"nri",pct_christian:62.5,pop:198e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.56,lng:94.3,code:"PG041748"},{name:"Kuki",country:"India",lang:"Chin, Thado",rol3:"tcz",pct_christian:62.5,pop:179e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.49,lng:93.86,code:"PG041761"},{name:"Naga, Kabui",country:"India",lang:"Naga, Rongmei",rol3:"nbu",pct_christian:62.5,pop:121e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.15,lng:93.79,code:"PG041943"},{name:"Naga, Yimchunger",country:"India",lang:"Naga, Yimchungru",rol3:"yim",pct_christian:62.5,pop:112e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.8,lng:94.83,code:"PG041978"},{name:"Naga, Mao",country:"India",lang:"Naga, Mao",rol3:"nbi",pct_christian:62.5,pop:106e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.2,lng:94.04,code:"PG041779"},{name:"Naga, Zeliang",country:"India",lang:"Naga, Zeme",rol3:"nzm",pct_christian:62.5,pop:106e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.62,lng:93.83,code:"PG041995"},{name:"Naga, Rengma",country:"India",lang:"Naga, Southern Rengma",rol3:"nre",pct_christian:62.5,pop:79e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.26,lng:94.7,code:"PG042067"},{name:"Vaiphei",country:"India",lang:"Vaiphei",rol3:"vap",pct_christian:62.5,pop:56e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.31,lng:93.43,code:"PG042060"},{name:"Kahha",country:"India",lang:"Naga, Phom",rol3:"nph",pct_christian:62.5,pop:50500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.48,lng:94.74,code:"PG041953"},{name:"Mizo, Pawi",country:"India",lang:"Chin, Paite",rol3:"pck",pct_christian:62.5,pop:47500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.84,lng:92.88,code:"PG041966"},{name:"Nicobarese",country:"India",lang:"Nicobarese, Car",rol3:"caq",pct_christian:62.5,pop:42500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.18,lng:92.77,code:"PG041984"},{name:"Naga, Maring",country:"India",lang:"Naga, Maring",rol3:"nng",pct_christian:62.5,pop:34500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.24,lng:94.09,code:"PG042119"},{name:"Chin, Mara",country:"India",lang:"Mara",rol3:"mrh",pct_christian:62.5,pop:34e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.84,lng:92.89,code:"PG042043"},{name:"Zou",country:"India",lang:"Zo",rol3:"zom",pct_christian:62.5,pop:3e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.16,lng:93.71,code:"PG042107"},{name:"Naga, Pochury",country:"India",lang:"Naga, Pochuri",rol3:"npo",pct_christian:62.5,pop:24500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.03,lng:94.53,code:"PG049624"},{name:"Gangte",country:"India",lang:"Gangte",rol3:"gnb",pct_christian:62.5,pop:16e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.28,lng:93.69,code:"PG042166"},{name:"Lamgang",country:"India",lang:"Lamkang",rol3:"lmk",pct_christian:62.5,pop:8700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.44,lng:94.05,code:"PG049002"},{name:"Chiru",country:"India",lang:"Chiru",rol3:"cdf",pct_christian:62.5,pop:8300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.35,lng:94.11,code:"PG049001"},{name:"Cote",country:"India",lang:"Naga, Chothe",rol3:"nct",pct_christian:62.5,pop:4100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.24,lng:94.09,code:"PG049749"},{name:"Aimol",country:"India",lang:"Aimol",rol3:"aim",pct_christian:62.5,pop:3700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.7,lng:93.92,code:"PG048880"},{name:"Ucai",country:"India",lang:"Kok Borok",rol3:"trp",pct_christian:62.5,pop:3100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.36,lng:92.17,code:"PG049762"},{name:"Monsang",country:"India",lang:"Naga, Monsang",rol3:"nmh",pct_christian:62.5,pop:2600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.24,lng:94.09,code:"PG049759"},{name:"Soria",country:"India",lang:"Hindi",rol3:"hin",pct_christian:62.5,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:23.2,lng:77.09,code:"PG048955"},{name:"Pnar",country:"India",lang:"Pnar",rol3:"pbv",pct_christian:62.5,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.84,lng:92.89,code:"PG049638"},{name:"Mangli",country:"India",lang:"Sambalpuri",rol3:"spv",pct_christian:62.5,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:19.91,lng:83.18,code:"PG049616"},{name:"Rathodia",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:62.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:22.3,lng:73.39,code:"PG048948"},{name:"Tarao",country:"India",lang:"Naga, Tarao",rol3:"tro",pct_christian:62.5,pop:550,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.24,lng:94.09,code:"PG049555"},{name:"Bagti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:62.5,pop:275,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.28,lng:86.43,code:"PG049044"},{name:"Khasi",country:"India",lang:"Khasi",rol3:"kha",pct_christian:45,pop:1675e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.52,lng:91.79,code:"PG041380"},{name:"Pulayan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:45,pop:154e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:10.06,lng:76.53,code:"PG041344"},{name:"Garo",country:"India",lang:"Garo",rol3:"grt",pct_christian:45,pop:1065e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:25.62,lng:90.74,code:"PG041444"},{name:"Meghval",country:"India",lang:"Hindi",rol3:"hin",pct_christian:45,pop:377e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:26.87,lng:73.03,code:"PG041328"},{name:"Santal (Oriya)",country:"India",lang:"Odia",rol3:"ory",pct_christian:45,pop:176e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:22.8,lng:87.48,code:"PG046353"},{name:"Hmar",country:"India",lang:"Hmar",rol3:"hmr",pct_christian:45,pop:113e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.97,lng:93.56,code:"PG041808"},{name:"Paite",country:"India",lang:"Chin, Paite",rol3:"pck",pct_christian:45,pop:94e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.3,lng:93.43,code:"PG041890"},{name:"Naga, Khiamngan",country:"India",lang:"Naga, Khiamniungan",rol3:"kix",pct_christian:45,pop:56e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.17,lng:94.89,code:"PG042023"},{name:"Mizo",country:"India",lang:"Mizo",rol3:"lus",pct_christian:35,pop:1115e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.31,lng:92.83,code:"PG041461"},{name:"Thadou",country:"India",lang:"Chin, Thado",rol3:"tcz",pct_christian:35,pop:268e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.3,lng:93.43,code:"PG041679"},{name:"Mal Paharia",country:"India",lang:"Mal Paharia",rol3:"mkb",pct_christian:35,pop:231e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:24.56,lng:87.66,code:"PG041653"},{name:"Bhil Mina",country:"India",lang:"Vaghri",rol3:"vgr",pct_christian:35,pop:131e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:24.59,lng:73.72,code:"PG048977"},{name:"Nissi",country:"India",lang:"Nyishi",rol3:"njz",pct_christian:35,pop:113e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:27.27,lng:93.61,code:"PG041760"},{name:"Chang (Naga)",country:"India",lang:"Naga, Chang",rol3:"nbc",pct_christian:35,pop:81500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.17,lng:94.89,code:"PG041979"},{name:"Malai Arayan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:35,pop:48e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:9.65,lng:76.66,code:"PG041952"},{name:"Anal",country:"India",lang:"Anal",rol3:"anm",pct_christian:35,pop:31500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.04,lng:94.14,code:"PG042153"},{name:"Nagbansi (Dogri)",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:35,pop:1700,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:33.05,lng:75.08,code:"PG048317"},{name:"Pagi",country:"India",lang:"Konkani",rol3:"knn",pct_christian:35,pop:650,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:14.91,lng:74.23,code:"PG049171"},{name:"Munda ",country:"India",lang:"Munda",rol3:"unx",pct_christian:25,pop:2875e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:23.75,lng:88.2,code:"PG041329"},{name:"Kharia",country:"India",lang:"Kharia",rol3:"khr",pct_christian:25,pop:889e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:22.47,lng:84.55,code:"PG041457"},{name:"Paravar",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:25,pop:162e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:8.62,lng:77,code:"PG041743"},{name:"Koh",country:"India",lang:"Marathi",rol3:"mar",pct_christian:25,pop:96500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:20.29,lng:76.9,code:"PG041285"},{name:"Mehar",country:"India",lang:"Mewari",rol3:"mtr",pct_christian:25,pop:84500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:24.37,lng:76.25,code:"PG041828"},{name:"Madgi",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:76500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:20.17,lng:79.45,code:"PG041802"},{name:"Mech",country:"India",lang:"Assamese",rol3:"asm",pct_christian:25,pop:73500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:27.1,lng:92.43,code:"PG041900"},{name:"Adi Gallong",country:"India",lang:"Adi, Galo",rol3:"adl",pct_christian:25,pop:71e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:28.32,lng:94.51,code:"PG041851"},{name:"Gounder",country:"India",lang:"Tamil",rol3:"tam",pct_christian:25,pop:6e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:11.68,lng:78.22,code:"PG041906"},{name:"Hajong",country:"India",lang:"Hajong",rol3:"haj",pct_christian:25,pop:47e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:25.53,lng:89.89,code:"PG041954"},{name:"Kerala Mudali",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:25,pop:11e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:9.44,lng:78.7,code:"PG049672"},{name:"Noatia",country:"India",lang:"Kok Borok",rol3:"trp",pct_christian:25,pop:9800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:23.79,lng:91.46,code:"PG042172"},{name:"Godari",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:17.69,lng:83.22,code:"PG049205"},{name:"Kambodia Bhagat",country:"India",lang:"Marwari (India)",rol3:"rwr",pct_christian:25,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:23.95,lng:72.49,code:"PG049636"},{name:"Chamail",country:"India",lang:"Hindi",rol3:"hin",pct_christian:25,pop:1200,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:25.48,lng:85.95,code:"PG049469"},{name:"Ghogia",country:"India",lang:"Odia",rol3:"ory",pct_christian:25,pop:800,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:21.15,lng:84.09,code:"PG049008"},{name:"Gangai",country:"India",lang:"Surjapuri",rol3:"sjp",pct_christian:25,pop:500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:25.69,lng:87.53,code:"PG049394"},{name:"Arakala",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:375,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:18.11,lng:83.4,code:"PG049160"},{name:"Mala",country:"India",lang:"Telugu",rol3:"tel",pct_christian:17.5,pop:7615e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:16.36,lng:79.51,code:"PG041263"},{name:"Balmiki (Haryanvi)",country:"India",lang:"Haryanvi",rol3:"bgc",pct_christian:17.5,pop:189e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:29.19,lng:76.36,code:"PG048194"},{name:"Balmiki (Awadhi)",country:"India",lang:"Awadhi",rol3:"awa",pct_christian:17.5,pop:172e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.93,lng:78.08,code:"PG041289"},{name:"Balmiki (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:17.5,pop:1295e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:30.44,lng:75.81,code:"PG048195"},{name:"Balmiki (Pahari)",country:"India",lang:"Garhwali",rol3:"gbm",pct_christian:17.5,pop:131e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:30.26,lng:78.62,code:"PG048196"},{name:"Damor",country:"India",lang:"Wagdi",rol3:"wbr",pct_christian:17.5,pop:128e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:23.74,lng:73.85,code:"PG041876"},{name:"Lepcha",country:"India",lang:"Lepcha",rol3:"lep",pct_christian:17.5,pop:107e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:27.34,lng:88.58,code:"PG041791"},{name:"Kachari",country:"India",lang:"Kachari",rol3:"xac",pct_christian:17.5,pop:73500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:27.37,lng:95.08,code:"PG041505"},{name:"Nadia",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:17.5,pop:69500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG041830"},{name:"Chuhra",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:17.5,pop:59e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:31.92,lng:77.25,code:"PG049402"},{name:"Adi Minyong",country:"India",lang:"Adi",rol3:"adi",pct_christian:17.5,pop:5e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:28.05,lng:94.43,code:"PG041950"},{name:"Nocte",country:"India",lang:"Naga, Nocte",rol3:"njb",pct_christian:17.5,pop:5e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:27.07,lng:95.23,code:"PG042002"},{name:"Ojha",country:"India",lang:"Telugu",rol3:"tel",pct_christian:17.5,pop:46e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:21.74,lng:78.25,code:"PG041974"},{name:"Badhi",country:"India",lang:"Hindi",rol3:"hin",pct_christian:17.5,pop:16e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:29.95,lng:77.55,code:"PG041480"},{name:"Goudu",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:17.71,lng:83.25,code:"PG042158"},{name:"Sutar (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:17.5,pop:11e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:21.4,lng:71.23,code:"PG048301"},{name:"Miji",country:"India",lang:"Miji",rol3:"sjl",pct_christian:17.5,pop:7e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:27.3,lng:92.4,code:"PG049709"},{name:"Barmi",country:"India",lang:"Burmese",rol3:"mya",pct_christian:17.5,pop:600,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:12.6,lng:92.83,code:"PG048889"},{name:"Bari (Oriya)",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:550,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:20.86,lng:84.8,code:"PG048204"},{name:"Babar",country:"India",lang:"Haroti",rol3:"hoj",pct_christian:17.5,pop:500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:25.43,lng:75.65,code:"PG048961"},{name:"Bayil Kammara",country:"India",lang:"Marwari (India)",rol3:"rwr",pct_christian:17.5,pop:375,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:16.34,lng:76.08,code:"PG049856"},{name:"Candhai Maru",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:350,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:21.48,lng:83.97,code:"PG049648"},{name:"Khati (Haryanvi)",country:"India",lang:"Haryanvi",rol3:"bgc",pct_christian:17.5,pop:200,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:29.21,lng:76.34,code:"PG048299"},{name:"Madiga",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:9445e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:16.51,lng:79.06,code:"PG041253"},{name:"Mang",country:"India",lang:"Marathi",rol3:"mar",pct_christian:12.5,pop:304e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:20.38,lng:76.05,code:"PG041315"},{name:"Chakkiliyan",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:1205e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:10.61,lng:77.71,code:"PG041373"},{name:"Saora",country:"India",lang:"Sora",rol3:"srb",pct_christian:12.5,pop:119e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:20.64,lng:83.56,code:"PG041407"},{name:"Nadua Shabar",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:659e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:19.9,lng:85.17,code:"PG049502"},{name:"Senva",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:12.5,pop:161e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG041682"},{name:"Mannan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:12.5,pop:145e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:10.8,lng:76.55,code:"PG041756"},{name:"Chakravar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:45e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:8.62,lng:77,code:"PG041956"},{name:"Bawa Dedh",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:12.5,pop:34500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG042035"},{name:"Domar",country:"India",lang:"Awadhi",rol3:"awa",pct_christian:12.5,pop:27e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:25.45,lng:80.38,code:"PG049077"},{name:"Samban",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:24500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:8.7,lng:77.49,code:"PG041752"},{name:"Mehtar",country:"India",lang:"Hindi",rol3:"hin",pct_christian:12.5,pop:2e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:16.22,lng:75.63,code:"PG042116"},{name:"Panchama",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:7800,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:17.01,lng:81.79,code:"PG042086"},{name:"Palliyan",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:4800,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:9.89,lng:77.09,code:"PG049215"},{name:"Puroik",country:"India",lang:"Adi",rol3:"adi",pct_christian:12.5,pop:4300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:27.43,lng:92.97,code:"PG049739"},{name:"Karen",country:"India",lang:"Karen, S’gaw",rol3:"ksw",pct_christian:12.5,pop:2700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:12.78,lng:92.86,code:"PG048894"},{name:"Padigarajulu",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:15.58,lng:79.51,code:"PG049165"},{name:"Kuda",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:750,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:20.83,lng:85.53,code:"PG049016"},{name:"Gagra",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:12.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:30.84,lng:75.86,code:"PG049079"},{name:"Tharua",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:650,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:21.49,lng:86.93,code:"PG049031"},{name:"Gharrami",country:"India",lang:"Hindi",rol3:"hin",pct_christian:12.5,pop:500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:28.64,lng:77.12,code:"PG049392"},{name:"Dusadh",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:7.5,pop:691e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:25.23,lng:85.31,code:"PG041266"},{name:"Nadar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:6365e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:11.17,lng:77.82,code:"PG041309"},{name:"Oraon",country:"India",lang:"Kurux",rol3:"kru",pct_christian:7.5,pop:551e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:24.4,lng:86.87,code:"PG041304"},{name:"Santal (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:335e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:24,lng:88.81,code:"PG046352"},{name:"Vellalar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:308e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:10.78,lng:77.78,code:"PG041493"},{name:"Kondh",country:"India",lang:"Kuvi",rol3:"kxv",pct_christian:7.5,pop:219e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:18.49,lng:83.27,code:"PG041352"},{name:"Pano",country:"India",lang:"Odia",rol3:"ory",pct_christian:7.5,pop:1735e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:21.04,lng:85.14,code:"PG041345"},{name:"Chamar (Awadhi)",country:"India",lang:"Awadhi",rol3:"awa",pct_christian:7.5,pop:1275e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:26.07,lng:80.62,code:"PG046031"},{name:"Munda (Assamese)",country:"India",lang:"Assamese",rol3:"asm",pct_christian:7.5,pop:1235e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:26.97,lng:94.06,code:"PG048248"},{name:"Santal (Assamese)",country:"India",lang:"Assamese",rol3:"asm",pct_christian:7.5,pop:697e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:26.55,lng:92.86,code:"PG046151"},{name:"Goan",country:"India",lang:"Konkani",rol3:"knn",pct_christian:7.5,pop:661e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:17.38,lng:74.3,code:"PG041474"},{name:"Gamit",country:"India",lang:"Gamit",rol3:"gbl",pct_christian:7.5,pop:649e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:21.11,lng:73.62,code:"PG041462"},{name:"Bhangi (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:6e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:22.76,lng:72.13,code:"PG048218"},{name:"Karbi",country:"India",lang:"Karbi",rol3:"mjw",pct_christian:7.5,pop:537e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:25.62,lng:93.03,code:"PG041521"},{name:"Cheruman",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:467e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:10.61,lng:76.25,code:"PG041452"},{name:"Garasia",country:"India",lang:"Garasia, Adiwasi",rol3:"gas",pct_christian:7.5,pop:295e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:24.08,lng:73.13,code:"PG041610"},{name:"Amant",country:"India",lang:"Maithili",rol3:"mai",pct_christian:7.5,pop:244e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:25.04,lng:86.5,code:"PG042053"},{name:"Lodha, Savar",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:148e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:22.3,lng:87.43,code:"PG041753"},{name:"Jamatia",country:"India",lang:"Kok Borok",rol3:"trp",pct_christian:7.5,pop:138e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:23.36,lng:91.61,code:"PG041812"},{name:"Ghanchi",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:129e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:22.02,lng:73.03,code:"PG041585"},{name:"Tangsa",country:"India",lang:"Naga, Tangshang",rol3:"nst",pct_christian:7.5,pop:85500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:27.37,lng:96.37,code:"PG042146"},{name:"Bharathar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:81e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:8.94,lng:76.82,code:"PG049578"},{name:"Wancho",country:"India",lang:"Naga, Wancho",rol3:"nnp",pct_christian:7.5,pop:7e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:26.56,lng:95.05,code:"PG041877"},{name:"Halam",country:"India",lang:"Kok Borok",rol3:"trp",pct_christian:7.5,pop:69500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:23.79,lng:91.46,code:"PG041914"},{name:"Bangni",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:62500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:27.43,lng:92.97,code:"PG041887"},{name:"Asur",country:"India",lang:"Asuri",rol3:"asr",pct_christian:7.5,pop:52500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:23.18,lng:84.56,code:"PG042115"}]},Pakistan:{target_upg:782,target_pop:250773e3,target_top_langs:["Punjabi, Western","Pashto, Central","Sindhi","Saraiki"],target_top_religion:"Islam",neighbors:[{name:"Chandala",country:"Pakistan",lang:"Saraiki",rol3:"skr",pct_christian:35,pop:752e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:31.73,lng:73.95,code:"PG049353"},{name:"Goan",country:"Pakistan",lang:"Konkani, Goan",rol3:"gom",pct_christian:25,pop:80500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:24.89,lng:67.06,code:"PG006349"},{name:"Marwari, Northern",country:"Pakistan",lang:"Marwari (Pakistan)",rol3:"mve",pct_christian:7.5,pop:17e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:28.82,lng:71.72,code:"PG006386"},{name:"Han Chinese",country:"Pakistan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:6e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:31.52,lng:74.34,code:"PG006354"},{name:"Gujarati",country:"Pakistan",lang:"Gujarati",rol3:"guj",pct_christian:3.5,pop:146e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.88,lng:70.3,code:"PG006352"},{name:"Bhil, Meghwar",country:"Pakistan",lang:"Sindhi Bhil",rol3:"sbn",pct_christian:3.5,pop:73e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:24.75,lng:68.61,code:"PG006381"},{name:"British",country:"Pakistan",lang:"English",rol3:"eng",pct_christian:3.5,pop:18500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:31.38,lng:72.73,code:"PG006336"},{name:"Bagti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:62.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:23.28,lng:86.43,code:"PG049044"},{name:"Bhil Mina",country:"India",lang:"Vaghri",rol3:"vgr",pct_christian:35,pop:131e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:24.59,lng:73.72,code:"PG048977"},{name:"Nagbansi (Dogri)",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:35,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:33.05,lng:75.08,code:"PG048317"},{name:"Balmiki (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:17.5,pop:1295e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.44,lng:75.81,code:"PG048195"},{name:"Chuhra",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:17.5,pop:59e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:31.92,lng:77.25,code:"PG049402"},{name:"Romani, Vlax",country:"Belgium",lang:"Romani, Vlax",rol3:"rmy",pct_christian:17.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:50.85,lng:4.38,code:"PG000068"},{name:"Gagra",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:12.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.84,lng:75.86,code:"PG049079"},{name:"Santal (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:335e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:24,lng:88.81,code:"PG046352"},{name:"Lodha, Savar",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:148e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.3,lng:87.43,code:"PG041753"},{name:"Bangni",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:62500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:27.43,lng:92.97,code:"PG041887"},{name:"Kela",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:29e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:20.46,lng:85.67,code:"PG042031"},{name:"Badhi",country:"India",lang:"Pahari-Potwari",rol3:"phr",pct_christian:7.5,pop:27e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:31.86,lng:76.82,code:"PG041983"},{name:"Baiti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:27e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:23.24,lng:88.24,code:"PG042100"},{name:"Iranian",country:"Armenia",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:40.17,lng:44.49,code:"PG050098"},{name:"Iranian",country:"Greece",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:38.05,lng:23.7,code:"PG047071"},{name:"Cheintz",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:7.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:34.09,lng:74.81,code:"PG049470"},{name:"Sorgir",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:7.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.34,lng:76.39,code:"PG049092"},{name:"Kankali",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:27.7,lng:81.49,code:"PG049096"},{name:"Khadim",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:26.49,lng:74.65,code:"PG048969"},{name:"Watal",country:"India",lang:"Kashmiri",rol3:"kas",pct_christian:7.5,pop:250,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:34.11,lng:74.77,code:"PG049375"},{name:"Mazabi",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:3625e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:30.25,lng:74.91,code:"PG041301"},{name:"Bhangi (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:699e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.15,lng:87.53,code:"PG048219"},{name:"Kora",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:279e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:23.29,lng:86.43,code:"PG041592"},{name:"Persian",country:"Canada",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:46.93,lng:-92.67,code:"PG043458"},{name:"Iranian",country:"Germany",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:175e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:52.51,lng:11.69,code:"PG000259"},{name:"Od",country:"India",lang:"Oadki",rol3:"odk",pct_christian:3.5,pop:166e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:29.22,lng:75.8,code:"PG041691"},{name:"Persian",country:"Turkiye",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:13e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:41.04,lng:28.87,code:"PG024581"},{name:"Batwal",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:3.5,pop:108e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:32.75,lng:74.8,code:"PG041740"},{name:"Chikwa",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:23.97,lng:84.3,code:"PG041852"},{name:"Persian",country:"United Kingdom",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:86e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:51.5,lng:-.17,code:"PG000643"},{name:"Bhattra (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:79e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:30.98,lng:75.73,code:"PG041615"},{name:"Romani, Vlax, Kalderash",country:"Argentina",lang:"Romani, Vlax",rol3:"rmy",pct_christian:3.5,pop:61e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-34.65,lng:-58.56,code:"PG017346"},{name:"Koch",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:51e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:25.68,lng:88.93,code:"PG042084"},{name:"Kotal",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:42500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.42,lng:87.79,code:"PG041946"},{name:"Romani, Vlax",country:"Colombia",lang:"Romani, Vlax",rol3:"rmy",pct_christian:3.5,pop:42e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:4.64,lng:-74.11,code:"PG016290"},{name:"Vaghri",country:"India",lang:"Vaghri",rol3:"vgr",pct_christian:3.5,pop:42e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG042168"},{name:"Arain (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:30.37,lng:75.93,code:"PG048185"},{name:"Bengali",country:"Nepal",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:31e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.42,lng:84.77,code:"PG006178"},{name:"Doai",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:21500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.05,lng:88.57,code:"PG042134"},{name:"Saryara",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:3.5,pop:19500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:33.44,lng:75.87,code:"PG042135"},{name:"Arab",country:"South Africa",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-26.17,lng:28.07,code:"PG015486"},{name:"Punjabi",country:"Singapore",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:15e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:1.36,lng:103.82,code:"PG010717"},{name:"Arab",country:"New Zealand",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-36.89,lng:174.78,code:"PG018478"},{name:"Paharia",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:9200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.37,lng:86.02,code:"PG049049"},{name:"Persian",country:"Indonesia",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:-6.21,lng:106.83,code:"PG050238"},{name:"Jogi (Bagri)",country:"India",lang:"Bagri",rol3:"bgq",pct_christian:3.5,pop:6700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.06,lng:74.08,code:"PG048278"},{name:"Gandhila",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:6600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.34,lng:76.4,code:"PG049080"},{name:"Behera",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:3800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.3,lng:87.44,code:"PG041569"},{name:"Persian",country:"South Korea",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:3500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:37.55,lng:126.99,code:"PG050237"},{name:"Dagi",country:"India",lang:"Pahari-Potwari",rol3:"phr",pct_christian:3.5,pop:3100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:32.6,lng:76.92,code:"PG049401"},{name:"Pinjara (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:3e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:29.48,lng:76.44,code:"PG048167"},{name:"Ratal",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:3.5,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:32.38,lng:75.51,code:"PG049072"},{name:"Daoli",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.97,lng:76.55,code:"PG049445"},{name:"Bhat (Pahari)",country:"India",lang:"Pahari-Potwari",rol3:"phr",pct_christian:3.5,pop:2300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.66,lng:77.43,code:"PG048019"},{name:"Dayare",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.79,lng:77.53,code:"PG049780"},{name:"Arain (Dogri)",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:3.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:32.11,lng:75.88,code:"PG048186"},{name:"Ahluwalia",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:1400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:31.39,lng:75.36,code:"PG049356"}]},Indonesia:{target_upg:237,target_pop:200492130,target_top_langs:["Javanese","Sunda","Malay","Madura"],target_top_religion:"Islam",neighbors:[{name:"Ekagi",country:"Indonesia",lang:"Ekari",rol3:"ekg",pct_christian:75,pop:17e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.83,lng:136.16,code:"PG022913"},{name:"Damal",country:"Indonesia",lang:"Damal",rol3:"uhn",pct_christian:75,pop:19500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.95,lng:137.47,code:"PG022898"},{name:"Waropen",country:"Indonesia",lang:"Waropen",rol3:"wrp",pct_christian:75,pop:9800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.32,lng:136.75,code:"PG023089"},{name:"Kayan River Kenyah",country:"Indonesia",lang:"Kenyah, Mainstream",rol3:"xkl",pct_christian:75,pop:9700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:1.79,lng:115.19,code:"PG022573"},{name:"Wandamen",country:"Indonesia",lang:"Wamesa",rol3:"wad",pct_christian:75,pop:7300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.19,lng:133.96,code:"PG023082"},{name:"Siagha-Yenimu",country:"Indonesia",lang:"Awyu, Edera",rol3:"awy",pct_christian:75,pop:4500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.15,lng:139.79,code:"PG047129"},{name:"Sobei",country:"Indonesia",lang:"Sobei",rol3:"sob",pct_christian:75,pop:3e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.9,lng:138.76,code:"PG023048"},{name:"Turu",country:"Indonesia",lang:"Iau",rol3:"tmu",pct_christian:75,pop:1700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.23,lng:137.67,code:"PG023073"},{name:"Serui-Laut",country:"Indonesia",lang:"Serui-Laut",rol3:"seu",pct_christian:75,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.88,lng:136.25,code:"PG023046"},{name:"Kelinyau Kenyah",country:"Indonesia",lang:"Kenyah, Mainstream",rol3:"xkl",pct_christian:75,pop:1400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:.97,lng:116.7,code:"PG022574"},{name:"Sekar",country:"Indonesia",lang:"Sekar",rol3:"skz",pct_christian:75,pop:900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.68,lng:132.45,code:"PG023040"},{name:"Awera",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:75,pop:80,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.72,lng:136.08,code:"PG022455"},{name:"Mor",country:"Indonesia",lang:"Iha",rol3:"ihp",pct_christian:75,pop:80,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.84,lng:132.97,code:"PG022996"},{name:"Dani, Western",country:"Indonesia",lang:"Dani, Western",rol3:"dnw",pct_christian:62.5,pop:266e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.77,lng:138.31,code:"PG022902"},{name:"Mamasa",country:"Indonesia",lang:"Mamasa",rol3:"mqj",pct_christian:62.5,pop:151e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.93,lng:119.31,code:"PG022838"},{name:"Dani, Mid Grand Valley",country:"Indonesia",lang:"Dani, Mid Grand Valley",rol3:"dnt",pct_christian:62.5,pop:77e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.09,lng:138.94,code:"PG022900"},{name:"Jamden",country:"Indonesia",lang:"Yamdena",rol3:"jmd",pct_christian:62.5,pop:56500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.72,lng:131.43,code:"PG022665"},{name:"Bolongan",country:"Indonesia",lang:"Bulungan",rol3:"blj",pct_christian:62.5,pop:4e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:.38,lng:123.68,code:"PG022556"},{name:"Kedang",country:"Indonesia",lang:"Kedang",rol3:"ksx",pct_christian:62.5,pop:33500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.25,lng:123.76,code:"PG022750"},{name:"Moni",country:"Indonesia",lang:"Moni",rol3:"mnz",pct_christian:62.5,pop:30500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.6,lng:136.94,code:"PG022995"},{name:"Kisar",country:"Indonesia",lang:"Kisar",rol3:"kje",pct_christian:62.5,pop:28500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.79,lng:126.33,code:"PG022683"},{name:"Dani, Lower Grand Valley",country:"Indonesia",lang:"Dani, Lower Grand Valley",rol3:"dni",pct_christian:62.5,pop:28500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.26,lng:138.95,code:"PG022899"},{name:"Dani, Upper Grand Valley",country:"Indonesia",lang:"Dani, Upper Grand Valley",rol3:"dna",pct_christian:62.5,pop:28500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.95,lng:138.86,code:"PG022901"},{name:"Meyah",country:"Indonesia",lang:"Meyah",rol3:"mej",pct_christian:62.5,pop:25e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.07,lng:133.54,code:"PG022988"},{name:"Alune",country:"Indonesia",lang:"Alune",rol3:"alp",pct_christian:62.5,pop:23e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.08,lng:128.41,code:"PG022622"},{name:"Galumpang",country:"Indonesia",lang:"Kalumpang",rol3:"kli",pct_christian:62.5,pop:23e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.51,lng:119.48,code:"PG022810"},{name:"Tabaru",country:"Indonesia",lang:"Tabaru",rol3:"tby",pct_christian:62.5,pop:22500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:.75,lng:127.64,code:"PG022716"},{name:"Bantik",country:"Indonesia",lang:"Malay, Manado",rol3:"xmm",pct_christian:62.5,pop:2e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:1.5,lng:124.84,code:"PG022789"},{name:"Sougb",country:"Indonesia",lang:"Sougb",rol3:"mnx",pct_christian:62.5,pop:19500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.52,lng:134.05,code:"PG022979"},{name:"Nduga",country:"Indonesia",lang:"Nduga",rol3:"ndx",pct_christian:62.5,pop:17e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.03,lng:138.05,code:"PG023007"},{name:"Ngalum",country:"Indonesia",lang:"Ngalum",rol3:"szb",pct_christian:62.5,pop:16500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.84,lng:140.6,code:"PG023008"},{name:"Asmat Casuarina",country:"Indonesia",lang:"Asmat, Casuarina Coast",rol3:"asc",pct_christian:62.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-6.18,lng:138.46,code:"PG022450"},{name:"Kupel",country:"Indonesia",lang:"Ketengban",rol3:"xte",pct_christian:62.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.36,lng:140.41,code:"PG022964"},{name:"Tehit",country:"Indonesia",lang:"Tehit",rol3:"kps",pct_christian:62.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.36,lng:131.98,code:"PG023068"},{name:"Kamoro",country:"Indonesia",lang:"Kamoro",rol3:"kgq",pct_christian:62.5,pop:13e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.51,lng:136.26,code:"PG022935"},{name:"Leboni",country:"Indonesia",lang:"Rampi",rol3:"lje",pct_christian:62.5,pop:12500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.13,lng:120.3,code:"PG022827"},{name:"Dobel",country:"Indonesia",lang:"Dobel",rol3:"kvo",pct_christian:62.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-6.2,lng:134.63,code:"PG022642"},{name:"Meninggo",country:"Indonesia",lang:"Moskona",rol3:"mtj",pct_christian:62.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.57,lng:133.18,code:"PG022990"},{name:"Southeast Marind",country:"Indonesia",lang:"Marind",rol3:"mrz",pct_christian:62.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.04,lng:140.21,code:"PG023051"},{name:"Selaru",country:"Indonesia",lang:"Selaru",rol3:"slu",pct_christian:62.5,pop:11e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.2,lng:130.97,code:"PG022706"},{name:"Amberbaken",country:"Indonesia",lang:"Mpur",rol3:"akc",pct_christian:62.5,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-.73,lng:133.16,code:"PG022444"},{name:"Kulawi",country:"Indonesia",lang:"Moma",rol3:"myl",pct_christian:62.5,pop:9300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.64,lng:119.96,code:"PG022822"},{name:"Muyu North",country:"Indonesia",lang:"Muyu, North",rol3:"kti",pct_christian:62.5,pop:9300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-5.44,lng:140.79,code:"PG023016"},{name:"Iha",country:"Indonesia",lang:"Iha",rol3:"ihp",pct_christian:62.5,pop:9e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.82,lng:132.32,code:"PG022922"},{name:"Wemale, North",country:"Indonesia",lang:"Wemale",rol3:"weo",pct_christian:62.5,pop:8900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.07,lng:128.83,code:"PG022694"},{name:"Seko Padang",country:"Indonesia",lang:"Seko Padang",rol3:"skx",pct_christian:62.5,pop:8100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.21,lng:119.85,code:"PG022864"},{name:"Saparua",country:"Indonesia",lang:"Malay, Ambonese",rol3:"abs",pct_christian:62.5,pop:7800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.55,lng:128.66,code:"PG022704"},{name:"Ansus",country:"Indonesia",lang:"Ansus",rol3:"and",pct_christian:62.5,pop:7500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.72,lng:135.78,code:"PG022446"},{name:"Awyu Asue",country:"Indonesia",lang:"Awyu, Asue",rol3:"psa",pct_christian:62.5,pop:7500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-6.09,lng:139.15,code:"PG022457"},{name:"Ndao",country:"Indonesia",lang:"Dhao",rol3:"nfa",pct_christian:62.5,pop:7100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-10.82,lng:122.66,code:"PG022765"},{name:"Irahutu",country:"Indonesia",lang:"Irarutu",rol3:"irh",pct_christian:62.5,pop:6600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.05,lng:133.32,code:"PG022924"},{name:"Taliabo",country:"Indonesia",lang:"Taliabu",rol3:"tlv",pct_christian:62.5,pop:6e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.81,lng:125.36,code:"PG022717"},{name:"Nimboran",country:"Indonesia",lang:"Malay, Papuan",rol3:"pmy",pct_christian:62.5,pop:5700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.59,lng:140.2,code:"PG023010"},{name:"Tamagario",country:"Indonesia",lang:"Tamagario",rol3:"tcg",pct_christian:62.5,pop:5700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-6.64,lng:138.92,code:"PG023056"},{name:"Tepera",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:5700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.46,lng:140.39,code:"PG023069"},{name:"Hupla",country:"Indonesia",lang:"Hupla",rol3:"hap",pct_christian:62.5,pop:5400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.35,lng:139.17,code:"PG022921"},{name:"Seluwasan",country:"Indonesia",lang:"Seluwasan",rol3:"sws",pct_christian:62.5,pop:5300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.67,lng:131.23,code:"PG022707"},{name:"Sawuy",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:5100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-10.54,lng:121.85,code:"PG023038"},{name:"Babar Tenggara",country:"Indonesia",lang:"Babar, Southeast",rol3:"vbb",pct_christian:62.5,pop:5e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.96,lng:129.8,code:"PG022628"},{name:"Eipomek",country:"Indonesia",lang:"Lik",rol3:"eip",pct_christian:62.5,pop:4900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.36,lng:140.03,code:"PG022912"},{name:"Wambon",country:"Indonesia",lang:"Wambon",rol3:"wms",pct_christian:62.5,pop:4900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-5.47,lng:140.51,code:"PG023080"},{name:"Liana-Seti",country:"Indonesia",lang:"Liana-Seti",rol3:"ste",pct_christian:62.5,pop:4700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.12,lng:129.89,code:"PG022710"},{name:"Muyu South",country:"Indonesia",lang:"Muyu, South",rol3:"kts",pct_christian:62.5,pop:4600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-6.01,lng:140.84,code:"PG023052"},{name:"Kalabra",country:"Indonesia",lang:"Kalabra",rol3:"kzz",pct_christian:62.5,pop:4400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.37,lng:131.65,code:"PG022932"},{name:"Nipsan",country:"Indonesia",lang:"Nipsan",rol3:"nps",pct_christian:62.5,pop:3700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.23,lng:139.04,code:"PG023012"},{name:"Seko, Central",country:"Indonesia",lang:"Seko Tengah",rol3:"sko",pct_christian:62.5,pop:3600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.49,lng:119.82,code:"PG022865"},{name:"Padoe",country:"Indonesia",lang:"Padoe",rol3:"pdo",pct_christian:62.5,pop:3400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.46,lng:121.05,code:"PG022868"},{name:"Nafri",country:"Indonesia",lang:"Malay, Papuan",rol3:"pmy",pct_christian:62.5,pop:3400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.67,lng:140.74,code:"PG023003"},{name:"Pom",country:"Indonesia",lang:"Pom",rol3:"pmo",pct_christian:62.5,pop:3300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.65,lng:135.63,code:"PG023024"},{name:"Kurudu",country:"Indonesia",lang:"Kurudu",rol3:"kjr",pct_christian:62.5,pop:3200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.85,lng:137.01,code:"PG022966"},{name:"Yaosakor Asmat",country:"Indonesia",lang:"Asmat, Yaosakor",rol3:"asy",pct_christian:62.5,pop:3e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-5.62,lng:138.54,code:"PG023099"},{name:"Mairasi",country:"Indonesia",lang:"Mairasi",rol3:"zrs",pct_christian:62.5,pop:2800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.47,lng:134.02,code:"PG022976"},{name:"Marau",country:"Indonesia",lang:"Marau",rol3:"mvr",pct_christian:62.5,pop:2800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.68,lng:135.79,code:"PG022982"},{name:"Somahai",country:"Indonesia",lang:"Momuna",rol3:"mqf",pct_christian:62.5,pop:2700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-5,lng:139.24,code:"PG023049"},{name:"Uria",country:"Indonesia",lang:"Orya",rol3:"ury",pct_christian:62.5,pop:2700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.84,lng:139.74,code:"PG023074"},{name:"Inanwatan",country:"Indonesia",lang:"Suabo",rol3:"szp",pct_christian:62.5,pop:2600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.07,lng:132.16,code:"PG022923"},{name:"Kemberano",country:"Indonesia",lang:"Kemberano",rol3:"bzp",pct_christian:62.5,pop:2500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.37,lng:132.97,code:"PG022933"},{name:"Saberi",country:"Indonesia",lang:"Isirawa",rol3:"srl",pct_christian:62.5,pop:2500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.82,lng:138.48,code:"PG023030"},{name:"Iria",country:"Indonesia",lang:"Kamberau",rol3:"irx",pct_christian:62.5,pop:2300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.45,lng:133.58,code:"PG022926"},{name:"Riantana",country:"Indonesia",lang:"Riantana",rol3:"ran",pct_christian:62.5,pop:2200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.68,lng:138.59,code:"PG023028"},{name:"Ninggrum",country:"Indonesia",lang:"Ninggerum",rol3:"nxr",pct_christian:62.5,pop:2100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-5.3,lng:140.95,code:"PG023011"},{name:"Woi",country:"Indonesia",lang:"Woi",rol3:"wbw",pct_christian:62.5,pop:2100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.64,lng:135.5,code:"PG023092"},{name:"Mekwei",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:2e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.51,lng:140.37,code:"PG022989"},{name:"Seget",country:"Indonesia",lang:"Moi Lemas",rol3:"sbg",pct_christian:62.5,pop:1900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.34,lng:131.17,code:"PG023039"},{name:"Demta",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:1800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.37,lng:140.16,code:"PG022906"},{name:"Berik",country:"Indonesia",lang:"Berik",rol3:"bkl",pct_christian:62.5,pop:1700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.35,lng:138.86,code:"PG022467"},{name:"Bonfia",country:"Indonesia",lang:"Masiwang",rol3:"bnf",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.39,lng:130.57,code:"PG022636"},{name:"Davelor",country:"Indonesia",lang:"Dawera-Daweloor",rol3:"ddw",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.75,lng:130.04,code:"PG022641"},{name:"Dem",country:"Indonesia",lang:"Dem",rol3:"dem",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.73,lng:137.58,code:"PG022904"},{name:"Kamberataro",country:"Indonesia",lang:"Dla",rol3:"kbv",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.54,lng:140.96,code:"PG022934"},{name:"Kaugat",country:"Indonesia",lang:"Atohwaim",rol3:"aqm",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-6.28,lng:138.68,code:"PG022943"},{name:"Moraid",country:"Indonesia",lang:"Moraid",rol3:"msg",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.05,lng:131.88,code:"PG022998"},{name:"Ndom",country:"Indonesia",lang:"Ndom",rol3:"nqm",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.09,lng:138,code:"PG023006"},{name:"Sempan",country:"Indonesia",lang:"Sempan",rol3:"xse",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-5.04,lng:137.68,code:"PG023043"},{name:"Waris",country:"Indonesia",lang:"Waris",rol3:"wrs",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.24,lng:140.93,code:"PG023087"},{name:"Northern Asmat",country:"Indonesia",lang:"Asmat, North",rol3:"nks",pct_christian:62.5,pop:1500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.69,lng:138.52,code:"PG023015"},{name:"Semimi",country:"Indonesia",lang:"Semimi",rol3:"etz",pct_christian:62.5,pop:1500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.77,lng:134.45,code:"PG023042"},{name:"Panasuan",country:"Indonesia",lang:"Panasuan",rol3:"psn",pct_christian:62.5,pop:1400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.26,lng:119.65,code:"PG022852"},{name:"Talondo",country:"Indonesia",lang:"Talondo’",rol3:"tln",pct_christian:62.5,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.51,lng:119.34,code:"PG022874"},{name:"Asienara, Buruwai",country:"Indonesia",lang:"Buruwai",rol3:"asi",pct_christian:62.5,pop:1200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.59,lng:133.34,code:"PG022452"},{name:"Duvele",country:"Indonesia",lang:"Duvle",rol3:"duv",pct_christian:62.5,pop:1200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.16,lng:137.97,code:"PG022911"},{name:"Taikat",country:"Indonesia",lang:"Taikat",rol3:"aos",pct_christian:62.5,pop:1200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.86,lng:140.65,code:"PG023055"},{name:"Masela, West",country:"Indonesia",lang:"Masela, West",rol3:"mss",pct_christian:62.5,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.19,lng:129.83,code:"PG022735"},{name:"Kayupulau",country:"Indonesia",lang:"Malay, Papuan",rol3:"pmy",pct_christian:62.5,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.54,lng:140.72,code:"PG022949"},{name:"Papuma",country:"Indonesia",lang:"Papuma",rol3:"ppm",pct_christian:62.5,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.74,lng:135.86,code:"PG023022"},{name:"Wanggom",country:"Indonesia",lang:"Wanggom",rol3:"wng",pct_christian:62.5,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-5.55,lng:140.17,code:"PG023083"},{name:"Dai",country:"Indonesia",lang:"Dai",rol3:"dij",pct_christian:62.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.55,lng:129.69,code:"PG022640"},{name:"Kaburi",country:"Indonesia",lang:"Kaburi",rol3:"uka",pct_christian:62.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.91,lng:132.48,code:"PG022929"},{name:"Kampung Baru",country:"Indonesia",lang:"Kais",rol3:"kzm",pct_christian:62.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.73,lng:132.29,code:"PG022936"},{name:"Puragi",country:"Indonesia",lang:"Puragi",rol3:"pru",pct_christian:62.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.94,lng:132.24,code:"PG023025"},{name:"Tanahmerah",country:"Indonesia",lang:"Tanahmerah",rol3:"tcm",pct_christian:62.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.56,lng:133.17,code:"PG023058"},{name:"Masela, East",country:"Indonesia",lang:"Malay, Ambonese",rol3:"abs",pct_christian:62.5,pop:950,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.14,lng:129.87,code:"PG022644"},{name:"Masela, Central",country:"Indonesia",lang:"Masela, West",rol3:"mss",pct_christian:62.5,pop:950,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.18,lng:129.84,code:"PG022712"},{name:"Mawes",country:"Indonesia",lang:"Mawes",rol3:"mgk",pct_christian:62.5,pop:950,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.36,lng:139.67,code:"PG022987"},{name:"Bonggo",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.31,lng:139.57,code:"PG022471"},{name:"Kaibubu",country:"Indonesia",lang:"Malay, Ambonese",rol3:"abs",pct_christian:62.5,pop:900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.16,lng:128.22,code:"PG022667"},{name:"Keder",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.04,lng:139.05,code:"PG022950"},{name:"Bonefa",country:"Indonesia",lang:"Nisa",rol3:"njs",pct_christian:62.5,pop:800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.34,lng:137.23,code:"PG022470"},{name:"Konda",country:"Indonesia",lang:"Konda",rol3:"knd",pct_christian:62.5,pop:800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.56,lng:132.01,code:"PG022957"},{name:"Lepki",country:"Indonesia",lang:"Lepki",rol3:"lpe",pct_christian:62.5,pop:800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.13,lng:140.48,code:"PG022973"},{name:"Manem",country:"Indonesia",lang:"Manem",rol3:"jet",pct_christian:62.5,pop:800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.97,lng:140.9,code:"PG022978"},{name:"Yelmek",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.44,lng:139.16,code:"PG023105"},{name:"Kanum",country:"Indonesia",lang:"Kanum, Ngkâlmpw",rol3:"kcd",pct_christian:62.5,pop:750,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.51,lng:140.84,code:"PG022938"},{name:"Tarunggare",country:"Indonesia",lang:"Tunggare",rol3:"trt",pct_christian:62.5,pop:750,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.28,lng:135.6,code:"PG023063"},{name:"Kwansu",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.57,lng:140.29,code:"PG022968"},{name:"Papasena",country:"Indonesia",lang:"Papasena",rol3:"pas",pct_christian:62.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.8,lng:138.63,code:"PG023021"},{name:"Samarkena",country:"Indonesia",lang:"Samarokena",rol3:"tmj",pct_christian:62.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.83,lng:138.26,code:"PG023031"},{name:"Tarpia",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.37,lng:140.05,code:"PG023062"},{name:"Baburiwa",country:"Indonesia",lang:"Eritai",rol3:"ert",pct_christian:62.5,pop:600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.73,lng:138.12,code:"PG022459"},{name:"Serili",country:"Indonesia",lang:"Malay, Ambonese",rol3:"abs",pct_christian:62.5,pop:600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.11,lng:129.91,code:"PG022708"},{name:"Kaure",country:"Indonesia",lang:"Malay, Papuan",rol3:"pmy",pct_christian:62.5,pop:600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.24,lng:140.11,code:"PG022944"},{name:"Koneraw",country:"Indonesia",lang:"Koneraw",rol3:"kdw",pct_christian:62.5,pop:600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.36,lng:138.07,code:"PG022958"},{name:"Wakde",country:"Indonesia",lang:"Mo",rol3:"wkd",pct_christian:62.5,pop:600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.99,lng:138.99,code:"PG023078"},{name:"Sukubatong",country:"Indonesia",lang:"Kimki",rol3:"sbt",pct_christian:62.5,pop:550,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.37,lng:140.91,code:"PG023054"},{name:"Taori-So",country:"Indonesia",lang:"Doutai",rol3:"tds",pct_christian:62.5,pop:475,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.31,lng:138.14,code:"PG023061"},{name:"Yotafa",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:475,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.58,lng:140.68,code:"PG023109"},{name:"Lorang",country:"Indonesia",lang:"Lorang",rol3:"lrn",pct_christian:62.5,pop:450,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-6.3,lng:134.42,code:"PG022685"},{name:"Kirira",country:"Indonesia",lang:"Kirikiri",rol3:"kiy",pct_christian:62.5,pop:450,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.18,lng:137.18,code:"PG022953"},{name:"Saweru",country:"Indonesia",lang:"Saweru",rol3:"swr",pct_christian:62.5,pop:450,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.91,lng:136.29,code:"PG023037"},{name:"Yamna",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:450,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.1,lng:139.21,code:"PG023098"},{name:"Masimasi",country:"Indonesia",lang:"Malay, Papuan",rol3:"pmy",pct_christian:62.5,pop:425,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2,lng:139.14,code:"PG022984"},{name:"Sause",country:"Indonesia",lang:"Sause",rol3:"sao",pct_christian:62.5,pop:425,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.24,lng:139.62,code:"PG023036"},{name:"Biksi",country:"Indonesia",lang:"Yetfa",rol3:"yet",pct_christian:62.5,pop:400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.04,lng:140.79,code:"PG022469"},{name:"Karas",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.45,lng:132.68,code:"PG022940"},{name:"Sasawa",country:"Indonesia",lang:"Kwerba",rol3:"kwe",pct_christian:62.5,pop:400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.18,lng:138.47,code:"PG023034"},{name:"Yeretuar",country:"Indonesia",lang:"Yeretuar",rol3:"gop",pct_christian:62.5,pop:400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.04,lng:134.68,code:"PG023106"},{name:"Foau",country:"Indonesia",lang:"Foau",rol3:"flh",pct_christian:62.5,pop:375,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.99,lng:139.29,code:"PG022917"},{name:"Kosare",country:"Indonesia",lang:"Kosare",rol3:"kiq",pct_christian:62.5,pop:375,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.75,lng:140.22,code:"PG022962"},{name:"Rasawa",country:"Indonesia",lang:"Rasawa",rol3:"rac",pct_christian:62.5,pop:350,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.35,lng:136.41,code:"PG023027"},{name:"Elseng",country:"Indonesia",lang:"Elseng",rol3:"mrf",pct_christian:62.5,pop:325,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.1,lng:140.39,code:"PG023000"}]},Bangladesh:{target_upg:276,target_pop:172467300,target_top_langs:["Bengali","Sylheti","Rohingya","Urdu"],target_top_religion:"Islam",neighbors:[{name:"Garo",country:"Bangladesh",lang:"Garo",rol3:"grt",pct_christian:62.5,pop:137e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.79,lng:90.47,code:"PG001167"},{name:"Pangkhu",country:"Bangladesh",lang:"Pangkhua",rol3:"pkh",pct_christian:62.5,pop:5400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:22.85,lng:92.38,code:"PG001197"},{name:"Santal",country:"Bangladesh",lang:"Santhali",rol3:"sat",pct_christian:45,pop:21e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.62,lng:88.79,code:"PG001203"},{name:"Migam",country:"Bangladesh",lang:"Megam",rol3:"mef",pct_christian:45,pop:8700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.09,lng:91,code:"PG001190"},{name:"Southern Chin",country:"Bangladesh",lang:"Chin, Asho",rol3:"csh",pct_christian:45,pop:4600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.96,lng:92.37,code:"PG001206"},{name:"Riang",country:"Bangladesh",lang:"Riang",rol3:"ria",pct_christian:45,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.56,lng:92.27,code:"PG001200"},{name:"Mahale",country:"Bangladesh",lang:"Santhali",rol3:"sat",pct_christian:35,pop:25e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.62,lng:88.78,code:"PG001187"},{name:"Khumi Chin",country:"Bangladesh",lang:"Chin, Khumi",rol3:"cnk",pct_christian:35,pop:2800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.8,lng:92.5,code:"PG001180"},{name:"Lushai",country:"Bangladesh",lang:"Mizo",rol3:"lus",pct_christian:35,pop:2e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:22.67,lng:92.19,code:"PG001185"},{name:"Koch",country:"Bangladesh",lang:"Koch",rol3:"kdq",pct_christian:25,pop:7100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:25.79,lng:89.7,code:"PG001181"},{name:"Munda",country:"Bangladesh",lang:"Mundari",rol3:"unr",pct_christian:25,pop:5800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:25.4,lng:88.78,code:"PG001192"},{name:"Oraon",country:"Bangladesh",lang:"Kurux",rol3:"kru",pct_christian:7.5,pop:89500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:25.86,lng:88.88,code:"PG001195"},{name:"Han Chinese",country:"Bangladesh",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:3500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:23.75,lng:90.4,code:"PG001172"},{name:"Marma",country:"Bangladesh",lang:"Marma",rol3:"rmz",pct_christian:3.5,pop:276e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:22.56,lng:92.24,code:"PG001189"},{name:"Tripuri",country:"Bangladesh",lang:"Kok Borok",rol3:"trp",pct_christian:3.5,pop:142e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:23.74,lng:91.28,code:"PG001215"},{name:"Manipuri",country:"Bangladesh",lang:"Meitei",rol3:"mni",pct_christian:3.5,pop:44e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:24.73,lng:91.74,code:"PG001188"},{name:"Mru",country:"Bangladesh",lang:"Mru",rol3:"mro",pct_christian:3.5,pop:35e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:21.71,lng:92.45,code:"PG001191"},{name:"Bawm",country:"Bangladesh",lang:"Chin, Bawm",rol3:"bgr",pct_christian:3.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.95,lng:92.46,code:"PG001153"},{name:"British",country:"Bangladesh",lang:"English",rol3:"eng",pct_christian:3.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated",lat:23.73,lng:90.42,code:"PG001159"},{name:"Hajong",country:"Bangladesh",lang:"Hajong",rol3:"haj",pct_christian:3.5,pop:9500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:25.11,lng:90.37,code:"PG001170"},{name:"Mara",country:"Bangladesh",lang:"Shendu",rol3:"shl",pct_christian:3.5,pop:2e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:22.2,lng:92.54,code:"PG001204"},{name:"Ansari-Momin (Sadri)",country:"India",lang:"Sadri",rol3:"sck",pct_christian:75,pop:225,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:23.63,lng:85.55,code:"PG048700"},{name:"Pnar",country:"India",lang:"Pnar",rol3:"pbv",pct_christian:62.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:23.84,lng:92.89,code:"PG049638"},{name:"Rathodia",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:62.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:22.3,lng:73.39,code:"PG048948"},{name:"Bagti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:62.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:23.28,lng:86.43,code:"PG049044"},{name:"Khasi",country:"India",lang:"Khasi",rol3:"kha",pct_christian:45,pop:1675e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:25.52,lng:91.79,code:"PG041380"},{name:"Santal (Oriya)",country:"India",lang:"Odia",rol3:"ory",pct_christian:45,pop:176e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.8,lng:87.48,code:"PG046353"},{name:"Madgi",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:76500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.17,lng:79.45,code:"PG041802"},{name:"Mech",country:"India",lang:"Assamese",rol3:"asm",pct_christian:25,pop:73500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:27.1,lng:92.43,code:"PG041900"},{name:"Godari",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:17.69,lng:83.22,code:"PG049205"},{name:"Ghogia",country:"India",lang:"Odia",rol3:"ory",pct_christian:25,pop:800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.15,lng:84.09,code:"PG049008"},{name:"Burmese",country:"Germany",lang:"Burmese",rol3:"mya",pct_christian:25,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:50,lng:8.01,code:"PG033529"},{name:"Arakala",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:375,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:18.11,lng:83.4,code:"PG049160"},{name:"Mala",country:"India",lang:"Telugu",rol3:"tel",pct_christian:17.5,pop:7615e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:16.36,lng:79.51,code:"PG041263"},{name:"Balmiki (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:17.5,pop:1295e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.44,lng:75.81,code:"PG048195"},{name:"Nadia",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:17.5,pop:69500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG041830"},{name:"Ojha",country:"India",lang:"Telugu",rol3:"tel",pct_christian:17.5,pop:46e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.74,lng:78.25,code:"PG041974"},{name:"Goudu",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:17.71,lng:83.25,code:"PG042158"},{name:"Sutar (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:17.5,pop:11e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.4,lng:71.23,code:"PG048301"},{name:"Barmi",country:"India",lang:"Burmese",rol3:"mya",pct_christian:17.5,pop:600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:12.6,lng:92.83,code:"PG048889"},{name:"Bari (Oriya)",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:550,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.86,lng:84.8,code:"PG048204"},{name:"Candhai Maru",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:350,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.48,lng:83.97,code:"PG049648"},{name:"Madiga",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:9445e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:16.51,lng:79.06,code:"PG041253"},{name:"Chakkiliyan",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:1205e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.61,lng:77.71,code:"PG041373"},{name:"Nadua Shabar",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:659e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:19.9,lng:85.17,code:"PG049502"},{name:"Senva",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:12.5,pop:161e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG041682"},{name:"Bawa Dedh",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:12.5,pop:34500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG042035"},{name:"Panchama",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:7800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:17.01,lng:81.79,code:"PG042086"},{name:"Padigarajulu",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:15.58,lng:79.51,code:"PG049165"},{name:"Kuda",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.83,lng:85.53,code:"PG049016"},{name:"Gagra",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:12.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.84,lng:75.86,code:"PG049079"},{name:"Tharua",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:650,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.49,lng:86.93,code:"PG049031"},{name:"Dusadh",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:7.5,pop:691e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:25.23,lng:85.31,code:"PG041266"},{name:"Santal (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:335e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:24,lng:88.81,code:"PG046352"},{name:"Pano",country:"India",lang:"Odia",rol3:"ory",pct_christian:7.5,pop:1735e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:21.04,lng:85.14,code:"PG041345"},{name:"Munda (Assamese)",country:"India",lang:"Assamese",rol3:"asm",pct_christian:7.5,pop:1235e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:26.97,lng:94.06,code:"PG048248"},{name:"Santal (Assamese)",country:"India",lang:"Assamese",rol3:"asm",pct_christian:7.5,pop:697e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.55,lng:92.86,code:"PG046151"},{name:"Bhangi (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:6e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.76,lng:72.13,code:"PG048218"},{name:"Lodha, Savar",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:148e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.3,lng:87.43,code:"PG041753"},{name:"Telugu",country:"Malaysia",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:137e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:3.07,lng:101.62,code:"PG009356"},{name:"Ghanchi",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:129e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.02,lng:73.03,code:"PG041585"},{name:"Mishmi",country:"India",lang:"Assamese",rol3:"asm",pct_christian:7.5,pop:51500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:27.99,lng:96.59,code:"PG042163"},{name:"Badaik",country:"India",lang:"Sadri",rol3:"sck",pct_christian:7.5,pop:47500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.23,lng:84.86,code:"PG042092"},{name:"Parhaiya",country:"India",lang:"Sadri",rol3:"sck",pct_christian:7.5,pop:38e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.97,lng:84.3,code:"PG041928"},{name:"Mala Dasari",country:"India",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:30500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:15.53,lng:78,code:"PG041919"},{name:"Kela",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:29e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:20.46,lng:85.67,code:"PG042031"},{name:"Baiti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:27e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:23.24,lng:88.24,code:"PG042100"},{name:"Chhetri",country:"India",lang:"Nepali",rol3:"npi",pct_christian:7.5,pop:17e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.34,lng:89.24,code:"PG041565"},{name:"Thoti",country:"India",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:19.26,lng:79.01,code:"PG042167"},{name:"Bhandari",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:6500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.56,lng:73.13,code:"PG041414"},{name:"Ellamalawar",country:"India",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:6300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:18.37,lng:76.49,code:"PG042033"},{name:"Gandla",country:"India",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:2e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:15.61,lng:79.51,code:"PG041598"},{name:"Sorgir",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:7.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.34,lng:76.39,code:"PG049092"},{name:"Telugu",country:"Singapore",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:850,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:1.36,lng:103.82,code:"PG010724"},{name:"Gudugudupandi",country:"India",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:650,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.88,lng:78.56,code:"PG049883"},{name:"Banai",country:"India",lang:"Assamese",rol3:"asm",pct_christian:7.5,pop:650,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:25.61,lng:90.3,code:"PG049560"},{name:"Patni Vankar",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:325,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.04,lng:72.6,code:"PG049948"},{name:"Yadava (Bhojpuri)",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:3.5,pop:8465e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:25.05,lng:84.06,code:"PG046313"},{name:"Chamar (Bhojpuri)",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:3.5,pop:455e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:25.65,lng:84.13,code:"PG046025"},{name:"Mazabi",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:3625e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:30.25,lng:74.91,code:"PG041301"},{name:"Mahyavanshi",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:3.5,pop:2305e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.73,lng:71.51,code:"PG041327"},{name:"Gujarati",country:"Pakistan",lang:"Gujarati",rol3:"guj",pct_christian:3.5,pop:146e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.88,lng:70.3,code:"PG006352"},{name:"Ganda",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:128e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.6,lng:83.11,code:"PG041366"},{name:"Ho",country:"India",lang:"Ho",rol3:"hoc",pct_christian:3.5,pop:118e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:22.28,lng:85.76,code:"PG041399"},{name:"Gond (Oriya)",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:856e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.12,lng:83.68,code:"PG048258"},{name:"Kondara",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:702e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.46,lng:85.67,code:"PG041421"},{name:"Bhangi (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:699e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.15,lng:87.53,code:"PG048219"},{name:"Gond (Assamese)",country:"India",lang:"Assamese",rol3:"asm",pct_christian:3.5,pop:55e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:26.95,lng:94.05,code:"PG048259"},{name:"Adi Andhra",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:344e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:17.06,lng:81.75,code:"PG049197"},{name:"Lohara",country:"India",lang:"Sadri",rol3:"sck",pct_christian:3.5,pop:324e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:25.14,lng:87.24,code:"PG041542"},{name:"Kora",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:279e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:23.29,lng:86.43,code:"PG041592"},{name:"Beda Jangam",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:234e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:15.11,lng:76.53,code:"PG041759"},{name:"Chakma",country:"India",lang:"Chakma",rol3:"ccp",pct_christian:3.5,pop:205e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Folk",lat:23.41,lng:92.17,code:"PG041710"},{name:"Mala Sale",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:169e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:19.26,lng:79.01,code:"PG041624"},{name:"Domban",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:163e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.35,lng:78.88,code:"PG042124"},{name:"Gurung",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:147e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:26.84,lng:90.63,code:"PG041693"},{name:"Nepali",country:"Bhutan",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:131e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.13,lng:89.79,code:"PG042388"},{name:"Beldar (Bhojpuri)",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:3.5,pop:115e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:26.35,lng:83.71,code:"PG048209"},{name:"Kotia",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:104e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:17.9,lng:82.7,code:"PG041783"},{name:"Rajbhar",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:3.5,pop:89e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.68,lng:80.47,code:"PG042085"},{name:"Bhattra (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:79e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:30.98,lng:75.73,code:"PG041615"},{name:"Bania, Brittial",country:"India",lang:"Assamese",rol3:"asm",pct_christian:3.5,pop:71500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.14,lng:91.55,code:"PG041797"},{name:"Damai (Nepali)",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:66500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.66,lng:89.08,code:"PG041874"},{name:"Kunbi (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:3.5,pop:64e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.24,lng:70.76,code:"PG046238"},{name:"Mukha Dhora",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:56e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:17.9,lng:82.7,code:"PG042032"},{name:"Koch",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:51e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:25.68,lng:88.93,code:"PG042084"},{name:"Bagheti",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:48e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:20.46,lng:85.67,code:"PG041964"},{name:"Kotal",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:42500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.42,lng:87.79,code:"PG041946"},{name:"Arain (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:30.37,lng:75.93,code:"PG048185"},{name:"Omanatya",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:34500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:18.81,lng:82.76,code:"PG042004"},{name:"Mala Jangam",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:34e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:18.36,lng:76.78,code:"PG041898"},{name:"Burmese",country:"Malaysia",lang:"Burmese",rol3:"mya",pct_christian:3.5,pop:32500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:3.07,lng:101.64,code:"PG018483"},{name:"Binjhia",country:"India",lang:"Sadri",rol3:"sck",pct_christian:3.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22,lng:82.34,code:"PG042025"},{name:"Bariki",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:19.64,lng:84.68,code:"PG041881"},{name:"Bargunda",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:31500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.38,lng:75.65,code:"PG042022"},{name:"Sudugadu Siddha",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:31500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:12.99,lng:76.11,code:"PG042143"},{name:"Bengali",country:"Nepal",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:31e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.42,lng:84.77,code:"PG006178"},{name:"Gond (Sadri) ",country:"India",lang:"Sadri",rol3:"sck",pct_christian:3.5,pop:30500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.17,lng:85,code:"PG048262"},{name:"Pap",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:23500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:21.21,lng:83.34,code:"PG042122"},{name:"Doai",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:21500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.05,lng:88.57,code:"PG042134"},{name:"Byagara",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:19e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:17.88,lng:78.22,code:"PG041825"},{name:"Konda Kapu",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:18500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:17.19,lng:82.01,code:"PG041904"},{name:"Sarki",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:18e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.96,lng:88.33,code:"PG042059"},{name:"Punjabi",country:"Singapore",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:15e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:1.36,lng:103.82,code:"PG010717"},{name:"Telugu",country:"Sri Lanka",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:6.91,lng:79.9,code:"PG006443"},{name:"Pentia",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:12e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:18.81,lng:82.76,code:"PG042165"},{name:"Panka (Oriya)",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:19.21,lng:82.51,code:"PG049026"},{name:"Gorait",country:"India",lang:"Sadri",rol3:"sck",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:23.21,lng:85.33,code:"PG042169"},{name:"Jaggali",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:9700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:19.64,lng:84.68,code:"PG042152"},{name:"Paharia",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:9200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.37,lng:86.02,code:"PG049049"},{name:"Madiga Dasu",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:7400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:16.39,lng:80.11,code:"PG049163"},{name:"Assamese",country:"Bhutan",lang:"Assamese",rol3:"asm",pct_christian:3.5,pop:7300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:26.87,lng:90.38,code:"PG001218"},{name:"Gandhila",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:6600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.34,lng:76.4,code:"PG049080"},{name:"Mali",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:6500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:17.9,lng:82.7,code:"PG047911"},{name:"Dakkala",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:4600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:18.39,lng:83.94,code:"PG041849"},{name:"Behera",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:3800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.3,lng:87.44,code:"PG041569"},{name:"Thogataveera Kshatriya",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:3100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:15.4,lng:77.89,code:"PG049753"},{name:"Kanda",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:3100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.9,lng:91.74,code:"PG049042"},{name:"Pinjara (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:3e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:29.48,lng:76.44,code:"PG048167"},{name:"Daoli",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.97,lng:76.55,code:"PG049445"},{name:"Reddi Dora",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:2600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:17.68,lng:83.21,code:"PG049166"},{name:"Ahluwalia",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:1400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:31.39,lng:75.36,code:"PG049356"},{name:"Bhagotulu",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:450,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:16.89,lng:81.4,code:"PG049859"},{name:"Kusunda",country:"Nepal",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:27.17,lng:85.13,code:"PG049141"}]},China:{target_upg:444,target_pop:139759490,target_top_langs:["Chinese, Xiang","Chinese, Mandarin","Uyghur","Mongolian, Peripheral"],target_top_religion:"Ethnic Religions",neighbors:[{name:"Lemo",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:75,pop:2300,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:25.84,lng:98.78,code:"PG007252"},{name:"Ayi",country:"China",lang:"Lisu",rol3:"lis",pct_christian:62.5,pop:2400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:27.14,lng:98.85,code:"PG006671"},{name:"Xiandao",country:"China",lang:"Achang",rol3:"acn",pct_christian:62.5,pop:200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.52,lng:97.88,code:"PG022125"},{name:"Hkauri",country:"China",lang:"Tibetan, Central",rol3:"bod",pct_christian:62.5,pop:40,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.55,lng:97.6,code:"PG022169"},{name:"Gha-Mu",country:"China",lang:"Miao, Small Flowery",rol3:"sfm",pct_christian:45,pop:171e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.53,lng:105.11,code:"PG006745"},{name:"Lipo, Eastern",country:"China",lang:"Lipo",rol3:"lpo",pct_christian:45,pop:139e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.84,lng:102.3,code:"PG007265"},{name:"Rawang",country:"China",lang:"Rawang",rol3:"raw",pct_christian:45,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:27.73,lng:98.31,code:"PG023113"},{name:"Lisu",country:"China",lang:"Lisu",rol3:"lis",pct_christian:35,pop:837e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.84,lng:99.07,code:"PG007267"},{name:"A-Hmao",country:"China",lang:"Miao, Large Flowery",rol3:"hmd",pct_christian:35,pop:644e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:27.11,lng:103.41,code:"PG006652"},{name:"Indonesian",country:"China",lang:"Indonesian",rol3:"ind",pct_christian:35,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:19.24,lng:110.15,code:"PG007207"},{name:"Maru",country:"China",lang:"Lhao Vo",rol3:"mhx",pct_christian:25,pop:31e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.33,lng:98.43,code:"PG007279"},{name:"Jingpo",country:"China",lang:"Jingpho",rol3:"kac",pct_christian:25,pop:29500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.41,lng:97.86,code:"PG007217"},{name:"Laka",country:"China",lang:"Nasu, Wusa",rol3:"yig",pct_christian:25,pop:9700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.04,lng:102.28,code:"PG007241"},{name:"Lagou",country:"China",lang:"Nasu, Wusa",rol3:"yig",pct_christian:25,pop:8400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:27.23,lng:104.52,code:"PG007237"},{name:"Lashi",country:"China",lang:"Lacid",rol3:"lsi",pct_christian:25,pop:2600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.06,lng:98.66,code:"PG007248"},{name:"Nasu, Eastern",country:"China",lang:"Nasu, Wusa",rol3:"yig",pct_christian:17.5,pop:65e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:26.07,lng:102.78,code:"PG007326"},{name:"Nasu, Wusa",country:"China",lang:"Nasu, Wusa",rol3:"yig",pct_christian:17.5,pop:412e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.27,lng:103.71,code:"PG007426"},{name:"Naluo",country:"China",lang:"Nuosu",rol3:"iii",pct_christian:17.5,pop:62500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:25.83,lng:102.4,code:"PG007323"},{name:"Minglang",country:"China",lang:"Sani",rol3:"ysn",pct_christian:17.5,pop:2500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.77,lng:102.27,code:"PG007303"},{name:"Lawa",country:"China",lang:"Lawa, Western",rol3:"lcp",pct_christian:12.5,pop:67500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:23.84,lng:99.19,code:"PG007250"},{name:"Nu",country:"China",lang:"Nusu",rol3:"nuf",pct_christian:12.5,pop:37e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:27.08,lng:98.94,code:"PG007338"},{name:"Guopu",country:"China",lang:"Nasu, Wusa",rol3:"yig",pct_christian:12.5,pop:26500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:27.31,lng:104.13,code:"PG006753"},{name:"Bela",country:"China",lang:"Pela",rol3:"bxd",pct_christian:12.5,pop:4800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:24.61,lng:98.31,code:"PG006684"},{name:"Han Chinese, Mandarin",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:90145e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Agnosticism",lat:37.37,lng:110.73,code:"PG006802"},{name:"Han Chinese, Wu",country:"China",lang:"Chinese, Wu",rol3:"wuu",pct_christian:7.5,pop:9253e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:29.71,lng:119.11,code:"PG006806"},{name:"Han Chinese, Cantonese",country:"China",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:6477e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.94,lng:111.32,code:"PG006808"},{name:"Han Chinese, Jinyu",country:"China",lang:"Chinese, Jinyu",rol3:"cjy",pct_christian:7.5,pop:6031e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Agnosticism",lat:38.74,lng:111.39,code:"PG006801"},{name:"Han Chinese, Xiang",country:"China",lang:"Chinese, Xiang",rol3:"hsn",pct_christian:7.5,pop:423e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Agnosticism",lat:27.97,lng:111.27,code:"PG006807"},{name:"Han Chinese, Gan",country:"China",lang:"Chinese, Gan",rol3:"gan",pct_christian:7.5,pop:4128e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Agnosticism",lat:28.29,lng:115.02,code:"PG006798"},{name:"Han Chinese, Min Nan",country:"China",lang:"Chinese, Min Nan",rol3:"nan",pct_christian:7.5,pop:3555e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Agnosticism",lat:23.42,lng:115.05,code:"PG006805"},{name:"Han Chinese, Min Bei",country:"China",lang:"Chinese, Min Bei",rol3:"mnp",pct_christian:7.5,pop:113e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:26.93,lng:117.92,code:"PG006803"},{name:"Han Chinese, Min Dong",country:"China",lang:"Chinese, Min Dong",rol3:"cdo",pct_christian:7.5,pop:106e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:26.54,lng:119.2,code:"PG006804"},{name:"Han Chinese, Puxian",country:"China",lang:"Chinese, Pu-Xian",rol3:"cpx",pct_christian:7.5,pop:31e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:25.37,lng:118.86,code:"PG007003"},{name:"Lahu",country:"China",lang:"Lahu",rol3:"lhu",pct_christian:7.5,pop:59e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:22.76,lng:99.83,code:"PG007238"},{name:"Wumeng",country:"China",lang:"Nasu, Wusa",rol3:"yig",pct_christian:7.5,pop:61500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:27.46,lng:103.62,code:"PG022123"},{name:"Puwa",country:"China",lang:"Phowa, Hlepho",rol3:"yhl",pct_christian:7.5,pop:5e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:23.46,lng:103.33,code:"PG022103"},{name:"Achang",country:"China",lang:"Achang",rol3:"acn",pct_christian:7.5,pop:38500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:24.64,lng:98.23,code:"PG006653"},{name:"Drung",country:"China",lang:"Drung",rol3:"duu",pct_christian:7.5,pop:18e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:27.87,lng:98.32,code:"PG006724"},{name:"Depo",country:"China",lang:"Nasu, Wusa",rol3:"yig",pct_christian:7.5,pop:9900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.39,lng:101.95,code:"PG006723"},{name:"Tuwo",country:"China",lang:"Lisu",rol3:"lis",pct_christian:7.5,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:26.05,lng:98.67,code:"PG007417"},{name:"Han Chinese, Huizhou",country:"China",lang:"Chinese, Huizhou",rol3:"czh",pct_christian:3.5,pop:542e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:29.62,lng:118.21,code:"PG006800"},{name:"Han Chinese, Min Zhong",country:"China",lang:"Chinese, Min Zhong",rol3:"czo",pct_christian:3.5,pop:963e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:26.14,lng:117.51,code:"PG006979"},{name:"Chuanlan",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:416e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:26.86,lng:105.07,code:"PG006713"},{name:"Han Chinese, Waxianghua",country:"China",lang:"Waxianghua",rol3:"wxa",pct_christian:3.5,pop:385e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:28.71,lng:110.24,code:"PG007076"},{name:"Xibe",country:"China",lang:"Xibe",rol3:"sjo",pct_christian:3.5,pop:151e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:41.78,lng:123.3,code:"PG007432"},{name:"Zaiwa",country:"China",lang:"Zaiwa",rol3:"atb",pct_christian:3.5,pop:142e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:24.36,lng:98.39,code:"PG007451"},{name:"Nosu, Tianba",country:"China",lang:"Nuosu",rol3:"iii",pct_christian:3.5,pop:138e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:28.87,lng:102.87,code:"PG022214"},{name:"Manchu",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:132e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:47.66,lng:124.56,code:"PG007275"},{name:"Naisu",country:"China",lang:"Yi, Wuding-Luquan",rol3:"ywq",pct_christian:3.5,pop:82e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:25.49,lng:101.86,code:"PG007322"},{name:"Maonan",country:"China",lang:"Maonan",rol3:"mmd",pct_christian:3.5,pop:79e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Daoism",lat:24.99,lng:108.02,code:"PG007278"},{name:"Michi",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:49e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:25.78,lng:102.18,code:"PG007300"},{name:"Muji, Southern",country:"China",lang:"Muji, Southern",rol3:"ymc",pct_christian:3.5,pop:32500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:23.09,lng:103.31,code:"PG007319"},{name:"Neisu",country:"China",lang:"Akha",rol3:"ahk",pct_christian:3.5,pop:28e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.17,lng:100.64,code:"PG007334"},{name:"Sansu",country:"China",lang:"Hlersu",rol3:"hle",pct_christian:3.5,pop:18500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:23.55,lng:102.25,code:"PG007382"},{name:"Laopang",country:"China",lang:"Laopang",rol3:"lbg",pct_christian:3.5,pop:18e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:23.78,lng:99.39,code:"PG007247"},{name:"Achang, Husa",country:"China",lang:"Achang",rol3:"acn",pct_christian:3.5,pop:8500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Mahayana",lat:24.45,lng:97.87,code:"PG006654"},{name:"Gouzou",country:"China",lang:"Nasu, Wusa",rol3:"yig",pct_christian:3.5,pop:6400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:26.92,lng:104.5,code:"PG006750"},{name:"Meng",country:"China",lang:"Hani",rol3:"hni",pct_christian:3.5,pop:5300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.89,lng:101.81,code:"PG007280"},{name:"Zauzou",country:"China",lang:"Zauzou",rol3:"zal",pct_christian:3.5,pop:3800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:26.37,lng:99.01,code:"PG007453"},{name:"Naxi, Northern",country:"China",lang:"Naxi",rol3:"nxq",pct_christian:3.5,pop:3500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Tibetan",lat:28.78,lng:98.73,code:"PG022209"},{name:"Duoluo",country:"China",lang:"Duoluo",rol3:"giw",pct_christian:3.5,pop:2100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:25.71,lng:105.63,code:"PG022159"},{name:"Fuma",country:"China",lang:"Hlai",rol3:"lic",pct_christian:3.5,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:19.33,lng:108.75,code:"PG006737"},{name:"Thmaun",country:"Cambodia",lang:"Undetermined",rol3:"und",pct_christian:45,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:13.12,lng:106.43,code:"PG022376"},{name:"Hmong",country:"Vietnam",lang:"Hmong Daw",rol3:"mww",pct_christian:35,pop:133e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.86,lng:103.59,code:"PG011142"},{name:"Korean",country:"Thailand",lang:"Korean",rol3:"kor",pct_christian:35,pop:20500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:13.76,lng:100.56,code:"PG010874"},{name:"Rukai",country:"Taiwan",lang:"Rukai",rol3:"dru",pct_christian:35,pop:13500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:22.82,lng:120.83,code:"PG007516"},{name:"Vietnamese",country:"Thailand",lang:"Vietnamese",rol3:"vie",pct_christian:25,pop:119e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:13.76,lng:100.56,code:"PG010933"},{name:"Korean",country:"Argentina",lang:"Korean",rol3:"kor",pct_christian:25,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-34.65,lng:-58.56,code:"PG046918"},{name:"Korean",country:"Singapore",lang:"Korean",rol3:"kor",pct_christian:25,pop:24500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:1.36,lng:103.82,code:"PG010710"},{name:"Sediq",country:"Taiwan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:25,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:24.02,lng:121.35,code:"PG007536"},{name:"Korean",country:"Taiwan",lang:"Korean",rol3:"kor",pct_christian:25,pop:7e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:22.63,lng:120.33,code:"PG007526"},{name:"Lanten",country:"Laos",lang:"Kim Mun",rol3:"mji",pct_christian:25,pop:6300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:21.92,lng:101.91,code:"PG020923"},{name:"Korean",country:"Northern Mariana Islands",lang:"Korean",rol3:"kor",pct_christian:25,pop:1600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:15.91,lng:145.61,code:"PG050228"},{name:"Korean",country:"Australia",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:167e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-33.85,lng:151.03,code:"PG021625"},{name:"Korean",country:"Canada",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:162e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:46.93,lng:-92.67,code:"PG043424"},{name:"Russian",country:"Moldova",lang:"Russian",rol3:"rus",pct_christian:17.5,pop:133e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.13,lng:29.34,code:"PG000867"},{name:"Adi Minyong",country:"India",lang:"Adi",rol3:"adi",pct_christian:17.5,pop:5e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:28.05,lng:94.43,code:"PG041950"},{name:"Korean",country:"United Kingdom",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:51.5,lng:-.17,code:"PG000650"},{name:"Korean",country:"New Zealand",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:38e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-36.89,lng:174.78,code:"PG047592"},{name:"Korean",country:"Hong Kong",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:8600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:22.38,lng:114.13,code:"PG050601"},{name:"Korean",country:"Paraguay",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-25.3,lng:-57.56,code:"PG017246"},{name:"Korean",country:"Guam",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:4300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:13.44,lng:144.78,code:"PG050301"},{name:"Korean",country:"Dominican Republic",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:18.48,lng:-69.91,code:"PG022409"},{name:"Korean",country:"South Korea",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:5025e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:36.38,lng:127.82,code:"PG048088"},{name:"Korean",country:"United States",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:1095e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:38.77,lng:-98.89,code:"PG043310"},{name:"Korean",country:"Uzbekistan",lang:"Russian",rol3:"rus",pct_christian:12.5,pop:254e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:41.31,lng:69.26,code:"PG024684"},{name:"Han Chinese",country:"New Zealand",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:214e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-36.89,lng:174.78,code:"PG018495"},{name:"Korean",country:"Kazakhstan",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:132e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:43.29,lng:76.91,code:"PG024281"},{name:"Nikkei, Brazilian",country:"Japan",lang:"Japanese",rol3:"jpn",pct_christian:12.5,pop:104e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Shinbutso-shugo",lat:35.13,lng:136.92,code:"PG049262"},{name:"Korean",country:"Mozambique",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:36e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-25.89,lng:32.57,code:"PG015382"},{name:"Korean",country:"Madagascar",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:18e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-18.91,lng:47.53,code:"PG015310"},{name:"Blang",country:"Myanmar",lang:"Blang",rol3:"blr",pct_christian:12.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:21.5,lng:100.17,code:"PG022041"},{name:"Hsifan",country:"Myanmar",lang:"Tibetan, Central",rol3:"bod",pct_christian:12.5,pop:5600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Tibetan",lat:27.24,lng:97.64,code:"PG009445"},{name:"Puroik",country:"India",lang:"Adi",rol3:"adi",pct_christian:12.5,pop:4300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:27.43,lng:92.97,code:"PG049739"},{name:"Korean",country:"Honduras",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:150,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:14.08,lng:-87.2,code:"PG024788"},{name:"Han Chinese",country:"Kiribati",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:125,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:1.37,lng:173.11,code:"PG009087"},{name:"Han Chinese",country:"Tuvalu",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-8.5,lng:179.19,code:"PG018319"},{name:"Han Chinese, Cantonese",country:"Hong Kong",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:6255e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.38,lng:114.13,code:"PG050587"},{name:"Han Chinese, Mandarin",country:"Taiwan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:4635e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:24.86,lng:121.36,code:"PG007518"},{name:"Han Chinese, Mandarin",country:"United States",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:2345e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:45.74,lng:-114.4,code:"PG043261"},{name:"Han Chinese, Cantonese",country:"Malaysia",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:19e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:3.65,lng:101.56,code:"PG046594"},{name:"Han Chinese",country:"Vietnam",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:162e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.04,lng:106.1,code:"PG033473"},{name:"Han Chinese, Mandarin",country:"Canada",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:1055e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:46.93,lng:-92.67,code:"PG043404"},{name:"Khmu, Ou",country:"Laos",lang:"Khmu",rol3:"kjg",pct_christian:7.5,pop:817e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:19.8,lng:102.58,code:"PG020913"},{name:"Han Chinese, Cantonese",country:"Vietnam",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:784e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.03,lng:105.82,code:"PG046444"},{name:"Han Chinese, Mandarin",country:"Japan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:736e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:35.72,lng:137.14,code:"PG048925"},{name:"Han Chinese",country:"Australia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:67e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-33.75,lng:144.18,code:"PG033443"},{name:"Han Chinese, Cantonese",country:"Macao",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:663e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.16,lng:113.56,code:"PG050584"},{name:"Han Chinese",country:"Myanmar",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:65e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:16.85,lng:96.15,code:"PG022047"},{name:"Han Chinese, Cantonese",country:"Singapore",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:511e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020725"},{name:"Han Chinese, Mandarin",country:"Singapore",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:467e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020728"},{name:"Han Chinese",country:"Brazil",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:28e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-23.17,lng:-45.54,code:"PG016864"},{name:"Han Chinese, Mandarin",country:"United Arab Emirates",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:202e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:24.67,lng:55.14,code:"PG049240"},{name:"Han Chinese",country:"United Kingdom",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:196e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:51.5,lng:-.17,code:"PG043796"},{name:"Han Chinese, Mandarin",country:"North Korea",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:184e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:39,lng:125.92,code:"PG007584"},{name:"Vietnamese",country:"Australia",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:174e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-33.38,lng:143.4,code:"PG008087"},{name:"Han Chinese",country:"France",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:172e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:48.2,lng:2.3,code:"PG023131"},{name:"Han Chinese, Mandarin",country:"Hong Kong",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:163e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.38,lng:114.13,code:"PG050605"},{name:"Han Chinese, Cantonese",country:"Peru",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:117e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-12.05,lng:-77.02,code:"PG017533"},{name:"Han Chinese, Mandarin",country:"Saudi Arabia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:24.68,lng:46.74,code:"PG049246"},{name:"Han Chinese",country:"Tanzania",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:106e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-6.83,lng:39.25,code:"PG014935"},{name:"Han Chinese",country:"Italy",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:1e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:44.22,lng:10.5,code:"PG000330"},{name:"Han Chinese",country:"South Korea",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:94500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:36.58,lng:127.64,code:"PG007589"},{name:"Han Chinese, Mandarin",country:"Tajikistan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:38.57,lng:68.77,code:"PG049245"},{name:"Han Chinese",country:"Madagascar",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:78500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-18.91,lng:47.53,code:"PG015301"},{name:"Han Chinese",country:"Panama",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:68500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:8.5,lng:-82.42,code:"PG024831"},{name:"Han Chinese, Mandarin",country:"Egypt",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:65500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:30.05,lng:31.32,code:"PG050167"},{name:"Han Chinese, Mandarin",country:"Russian Federation",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:62e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:51.07,lng:119.29,code:"PG048686"},{name:"Han Chinese",country:"Pakistan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:6e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:31.52,lng:74.34,code:"PG006354"},{name:"Han Chinese",country:"Argentina",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:52500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-34.65,lng:-58.56,code:"PG042923"},{name:"Han Chinese",country:"Germany",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:51e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:51.84,lng:11.14,code:"PG023132"},{name:"Korean",country:"Brazil",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:48500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-23.57,lng:-46.57,code:"PG016974"},{name:"Korean",country:"Germany",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:50.12,lng:8.67,code:"PG000249"},{name:"Han Chinese",country:"Trinidad and Tobago",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:44500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:10.68,lng:-61.38,code:"PG016447"},{name:"Han Chinese",country:"Cuba",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:40500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:23.07,lng:-82.32,code:"PG016302"},{name:"Iu Mien",country:"United States",lang:"Iu Mien",rol3:"ium",pct_christian:7.5,pop:38500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:38.75,lng:-111.78,code:"PG043283"},{name:"Han Chinese",country:"Zambia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:38500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Confucianism",lat:-15.4,lng:28.31,code:"PG015577"},{name:"Han Chinese",country:"Laos",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:36500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:17.97,lng:102.64,code:"PG009111"},{name:"Han Chinese",country:"Netherlands",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:30500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:52.33,lng:4.86,code:"PG023133"},{name:"Han Chinese, Cantonese",country:"Venezuela",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:10.48,lng:-66.88,code:"PG016472"},{name:"Russian",country:"Australia",lang:"Russian",rol3:"rus",pct_christian:7.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.52,lng:142.46,code:"PG008063"},{name:"Han Chinese",country:"Greece",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:28e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:38.01,lng:23.77,code:"PG048769"},{name:"Han Chinese, Mandarin",country:"Venezuela",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:27e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:10.48,lng:-66.88,code:"PG016471"},{name:"Han Chinese",country:"Mexico",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:26e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:20.65,lng:-101.28,code:"PG024949"},{name:"Han Chinese",country:"Portugal",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:26e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:38.77,lng:-9.25,code:"PG000483"},{name:"Han Chinese, Mandarin",country:"Belgium",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:21500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:50.85,lng:4.38,code:"PG000057"},{name:"Han Chinese",country:"Mozambique",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:21e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Confucianism",lat:-25.92,lng:32.59,code:"PG015380"},{name:"Korean",country:"Kyrgyzstan",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:19500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:42.88,lng:74.63,code:"PG024358"},{name:"Korean",country:"Iran",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:17500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:35.7,lng:51.38,code:"PG024174"},{name:"Han Chinese, Mandarin",country:"Hungary",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:47.48,lng:19.11,code:"PG042235"}]},Japan:{target_upg:32,target_pop:120582800,target_top_langs:["Japanese","Okinawan, Central","Japanese Sign Language","Burmese"],target_top_religion:"Buddhism",neighbors:[{name:"Nikkei, Brazilian",country:"Japan",lang:"Japanese",rol3:"jpn",pct_christian:12.5,pop:104e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Shinbutso-shugo",lat:35.13,lng:136.92,code:"PG049262"},{name:"Han Chinese, Mandarin",country:"Japan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:736e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:35.72,lng:137.14,code:"PG048925"},{name:"Miyako-Irabu",country:"Japan",lang:"Japanese",rol3:"jpn",pct_christian:3.5,pop:65500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Shinbutso-shugo",lat:24.77,lng:125.33,code:"PG047515"},{name:"Anglo Indian",country:"India",lang:"English",rol3:"eng",pct_christian:62.5,pop:398e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:12.95,lng:77.6,code:"PG041386"},{name:"Indian - Christian",country:"South Africa",lang:"English",rol3:"eng",pct_christian:62.5,pop:31e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-29.84,lng:30.93,code:"PG048045"},{name:"Euronesian",country:"Samoa",lang:"English",rol3:"eng",pct_christian:62.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-13.85,lng:-171.8,code:"PG018323"},{name:"British",country:"Tanzania",lang:"English",rol3:"eng",pct_christian:62.5,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-6.83,lng:39.25,code:"PG014914"},{name:"British",country:"Zimbabwe",lang:"English",rol3:"eng",pct_christian:62.5,pop:5800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-17.83,lng:31.03,code:"PG015650"},{name:"Dominican",country:"Dominican Republic",lang:"Spanish",rol3:"spa",pct_christian:45,pop:109e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:18.9,lng:-70.49,code:"PG016313"},{name:"American",country:"Singapore",lang:"English",rol3:"eng",pct_christian:45,pop:9800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:1.36,lng:103.82,code:"PG018447"},{name:"British",country:"Barbados",lang:"English",rol3:"eng",pct_christian:45,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:13.12,lng:-59.6,code:"PG016197"},{name:"British",country:"Venezuela",lang:"English",rol3:"eng",pct_christian:45,pop:7200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:10.48,lng:-66.88,code:"PG016461"},{name:"British",country:"Botswana",lang:"English",rol3:"eng",pct_christian:45,pop:7100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-24.65,lng:25.91,code:"PG015217"},{name:"Pitcairn Islander",country:"New Zealand",lang:"English",rol3:"eng",pct_christian:45,pop:250,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-36.89,lng:174.78,code:"PG018502"},{name:"American",country:"Australia",lang:"English",rol3:"eng",pct_christian:35,pop:95500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.52,lng:142.46,code:"PG020268"},{name:"Eurasian",country:"Myanmar",lang:"English",rol3:"eng",pct_christian:35,pop:56500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:16.85,lng:96.15,code:"PG022046"},{name:"Korean",country:"Thailand",lang:"Korean",rol3:"kor",pct_christian:35,pop:20500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:13.76,lng:100.56,code:"PG010874"},{name:"Caribbean Hindi",country:"French Guiana",lang:"English",rol3:"eng",pct_christian:35,pop:13500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:4.91,lng:-52.3,code:"PG022284"},{name:"Southwest Aborigine Creol",country:"Australia",lang:"English",rol3:"eng",pct_christian:35,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-32.54,lng:115.99,code:"PG008068"},{name:"Anglo-Australian",country:"Singapore",lang:"English",rol3:"eng",pct_christian:35,pop:3e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:1.36,lng:103.82,code:"PG010684"},{name:"American",country:"Iceland",lang:"English",rol3:"eng",pct_christian:35,pop:1800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:64.14,lng:-21.89,code:"PG000293"},{name:"American",country:"Marshall Islands",lang:"English",rol3:"eng",pct_christian:35,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:7.1,lng:171.22,code:"PG009376"},{name:"Itene",country:"Bolivia",lang:"Spanish",rol3:"spa",pct_christian:35,pop:70,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-11.89,lng:-65.09,code:"PG046959"},{name:"American",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:19474e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:38.3,lng:-93.46,code:"PG043515"},{name:"Guatemalan",country:"Guatemala",lang:"Spanish",rol3:"spa",pct_christian:25,pop:1015e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:15.7,lng:-90.36,code:"PG024712"},{name:"El Salvadoran",country:"El Salvador",lang:"Spanish",rol3:"spa",pct_christian:25,pop:61e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:13.73,lng:-88.87,code:"PG024979"},{name:"Detribalized Aborigine",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:58e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.75,lng:144.18,code:"PG007863"},{name:"Jamaican",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:33e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-95.67,code:"PG047381"},{name:"Barbadian",country:"Barbados",lang:"English",rol3:"eng",pct_christian:25,pop:269e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:13.17,lng:-59.56,code:"PG016195"},{name:"American",country:"Panama",lang:"English",rol3:"eng",pct_christian:25,pop:186e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:9.06,lng:-79.38,code:"PG050309"},{name:"Vietnamese",country:"Thailand",lang:"Vietnamese",rol3:"vie",pct_christian:25,pop:119e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:13.76,lng:100.56,code:"PG010933"},{name:"Barbadian",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:50500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:40.72,lng:-73.97,code:"PG046507"},{name:"Barbadian",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:40500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-95.67,code:"PG047394"},{name:"Korean",country:"Argentina",lang:"Korean",rol3:"kor",pct_christian:25,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-34.65,lng:-58.56,code:"PG046918"},{name:"Guatemalan",country:"Canada",lang:"Spanish",rol3:"spa",pct_christian:25,pop:28e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.72,lng:-95.67,code:"PG047378"},{name:"Korean",country:"Singapore",lang:"Korean",rol3:"kor",pct_christian:25,pop:24500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:1.36,lng:103.82,code:"PG010710"},{name:"Bay Islands Creole",country:"Honduras",lang:"English",rol3:"eng",pct_christian:25,pop:2e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:16.34,lng:-86.39,code:"PG024758"},{name:"American",country:"Virgin Islands",lang:"English",rol3:"eng",pct_christian:25,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.96,lng:-64.8,code:"PG050296"},{name:"American",country:"New Zealand",lang:"English",rol3:"eng",pct_christian:25,pop:15e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-36.89,lng:174.78,code:"PG018513"},{name:"American",country:"Guam",lang:"English",rol3:"eng",pct_christian:25,pop:14e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:13.44,lng:144.78,code:"PG050299"},{name:"Korean",country:"Taiwan",lang:"Korean",rol3:"kor",pct_christian:25,pop:7e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:22.63,lng:120.33,code:"PG007526"},{name:"Mixtec, Southeastern Nochixtlan",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:25,pop:5e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.21,lng:-97.09,code:"PG039145"},{name:"American",country:"Fiji",lang:"English",rol3:"eng",pct_christian:25,pop:4600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-18.13,lng:178.44,code:"PG018421"},{name:"American",country:"Greenland",lang:"English",rol3:"eng",pct_christian:25,pop:3400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:64.18,lng:-51.7,code:"PG000286"},{name:"Itza",country:"Guatemala",lang:"Spanish",rol3:"spa",pct_christian:25,pop:3200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:17,lng:-89.88,code:"PG024726"},{name:"Zapotec, Southeastern Ixtlan",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:25,pop:2900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.23,lng:-96.49,code:"PG039219"},{name:"Maori",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.28,lng:-122.84,code:"PG050518"},{name:"Nakota (Assiniboine)",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.32,lng:-106.26,code:"PG043527"},{name:"Winnebago",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:42.22,lng:-96.6,code:"PG043689"},{name:"Wik-Ngathan",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:2e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-13.84,lng:141.57,code:"PG008118"},{name:"Polynesian",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.28,lng:-122.84,code:"PG050519"},{name:"Korean",country:"Northern Mariana Islands",lang:"Korean",rol3:"kor",pct_christian:25,pop:1600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:15.91,lng:145.61,code:"PG050228"},{name:"Tektiteko",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:25,pop:1200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:15.49,lng:-92.13,code:"PG039080"},{name:"Yankuntatjara",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:950,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-27.14,lng:133.83,code:"PG008134"},{name:"Bora",country:"Peru",lang:"Spanish",rol3:"spa",pct_christian:25,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-3.22,lng:-71.98,code:"PG017505"},{name:"Maori",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:37.75,lng:-122.21,code:"PG047214"},{name:"Mocho",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:25,pop:225,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:15.27,lng:-92.35,code:"PG039159"},{name:"Mixtec, Sindihui",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:25,pop:80,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.01,lng:-97.37,code:"PG039143"},{name:"African Americans",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:4054e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:39.04,lng:-100.02,code:"PG048741"},{name:"Honduran",country:"Honduras",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:9865e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:14.82,lng:-86.62,code:"PG042459"},{name:"Panamanian",country:"Panama",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:2945e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:9.12,lng:-79.12,code:"PG024843"},{name:"Korean",country:"Australia",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:167e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-33.85,lng:151.03,code:"PG021625"},{name:"Korean",country:"Canada",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:162e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:46.93,lng:-92.67,code:"PG043424"},{name:"Salvadoran",country:"Canada",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:70500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.72,lng:-95.67,code:"PG047373"},{name:"Eurasian",country:"Malaysia",lang:"English",rol3:"eng",pct_christian:17.5,pop:68500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:3.07,lng:101.64,code:"PG020233"},{name:"Bermudians",country:"Bermuda",lang:"English",rol3:"eng",pct_christian:17.5,pop:66e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:32.31,lng:-64.77,code:"PG016210"},{name:"Caymanian",country:"Cayman Islands",lang:"English",rol3:"eng",pct_christian:17.5,pop:60500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:19.42,lng:-80.89,code:"PG016216"},{name:"Korean",country:"United Kingdom",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:51.5,lng:-.17,code:"PG000650"},{name:"Nigerian",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:39500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:37.51,lng:-88.1,code:"PG047652"},{name:"Korean",country:"New Zealand",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:38e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-36.89,lng:174.78,code:"PG047592"},{name:"Kenyan",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:26e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:43.83,lng:-79.46,code:"PG047469"},{name:"American",country:"Haiti",lang:"English",rol3:"eng",pct_christian:17.5,pop:19e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:18.55,lng:-72.32,code:"PG016382"},{name:"Mam",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:17500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:15.4,lng:-92.35,code:"PG039078"},{name:"Ghanaian",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:49.22,lng:-122.99,code:"PG047407"},{name:"Nicaraguan",country:"Canada",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.72,lng:-95.67,code:"PG047377"},{name:"Honduran",country:"Canada",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-95.67,code:"PG047379"},{name:"Kanjobal",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:18.63,lng:-89.7,code:"PG039087"},{name:"Korean",country:"Hong Kong",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:8600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:22.38,lng:114.13,code:"PG050601"},{name:"Korean",country:"Paraguay",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-25.3,lng:-57.56,code:"PG017246"},{name:"Zoque, Chimalapa",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:6400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.88,lng:-94.4,code:"PG039236"},{name:"Panamanian",country:"Canada",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:5e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.72,lng:-95.67,code:"PG047376"},{name:"Zapotec, Southern Rincon",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:4900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.35,lng:-96.27,code:"PG039223"},{name:"Korean",country:"Guam",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:4300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:13.44,lng:144.78,code:"PG050301"},{name:"Passamaquoddy",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:3300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:46.36,lng:-67.46,code:"PG043437"},{name:"Tlingit",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:2300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:60.48,lng:-132.29,code:"PG043489"},{name:"Straits Salish",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:2e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.77,lng:-122.64,code:"PG043642"},{name:"Zapotec, San Baltazar Loxicha",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.05,lng:-96.76,code:"PG039195"},{name:"Huave, San Francisco del Mar",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:1200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.24,lng:-94.49,code:"PG039082"},{name:"Onondaga",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:43.05,lng:-80.11,code:"PG043451"},{name:"Korean",country:"Dominican Republic",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:18.48,lng:-69.91,code:"PG022409"},{name:"Popti",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:15.89,lng:-91.99,code:"PG039086"},{name:"Popoluca, Texistepec",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.78,lng:-94.8,code:"PG048643"},{name:"Zapotec, Southern Rincon",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:32.36,lng:-109.45,code:"PG049308"},{name:"K’ómoks",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:350,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-124.96,code:"PG043374"},{name:"Rembarunga",country:"Australia",lang:"English",rol3:"eng",pct_christian:17.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-12.96,lng:134.58,code:"PG008058"},{name:"Korean",country:"South Korea",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:5025e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:36.38,lng:127.82,code:"PG048088"},{name:"Chilean",country:"Chile",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:1776e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:-32.83,lng:-71.15,code:"PG017439"},{name:"Puerto Rican",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:4035e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:35.35,lng:-95.96,code:"PG043603"},{name:"Irish, Northern",country:"United Kingdom",lang:"English",rol3:"eng",pct_christian:12.5,pop:166e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:54.61,lng:-6.69,code:"PG022219"},{name:"Korean",country:"United States",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:1095e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:38.77,lng:-98.89,code:"PG043310"},{name:"Afro-Trinidadian",country:"Trinidad and Tobago",lang:"English",rol3:"eng",pct_christian:12.5,pop:725e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:10.42,lng:-61.3,code:"PG016442"},{name:"Metis",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:704e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:47.13,lng:-97.19,code:"PG043455"},{name:"American",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:402e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.97,lng:-107.63,code:"PG043500"},{name:"English Caribbean",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:394e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:46.73,lng:-90.31,code:"PG049256"},{name:"Han Chinese",country:"Singapore",lang:"English",rol3:"eng",pct_christian:12.5,pop:358e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020724"},{name:"Chiquitano",country:"Bolivia",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:211e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:-15.91,lng:-61.84,code:"PG017398"},{name:"Detribalized Amerindian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.64,lng:-115.72,code:"PG043384"},{name:"Colombian",country:"Venezuela",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:189e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:9.01,lng:-66.66,code:"PG046909"},{name:"Afro-Argentine",country:"Argentina",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:153e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:-34.65,lng:-58.56,code:"PG042890"},{name:"Korean",country:"Kazakhstan",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:132e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:43.29,lng:76.91,code:"PG024281"},{name:"Sub-Saharan Africans, English-Speaking",country:"Belgium",lang:"English",rol3:"eng",pct_christian:12.5,pop:123e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.85,lng:4.38,code:"PG047833"},{name:"Tojolabal",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:92500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.4,lng:-91.85,code:"PG039160"},{name:"Chontal, Tabasco",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:86e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:18.1,lng:-92.61,code:"PG039061"},{name:"Nahuatl, Isthmus",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:78500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:18.12,lng:-94.34,code:"PG048653"},{name:"Fijian",country:"Australia",lang:"English",rol3:"eng",pct_christian:12.5,pop:71500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.75,lng:144.18,code:"PG050451"},{name:"Cree, Woodland",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:68500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:54.6,lng:-106.15,code:"PG043378"},{name:"Dominican",country:"Dominica",lang:"English",rol3:"eng",pct_christian:12.5,pop:67e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:15.43,lng:-61.35,code:"PG016306"},{name:"Chilean",country:"Canada",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:48e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.72,lng:-95.67,code:"PG047386"},{name:"Belizean",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:43500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:33.94,lng:-118.12,code:"PG047184"},{name:"Korean",country:"Mozambique",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:36e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-25.89,lng:32.57,code:"PG015382"},{name:"Welsh",country:"Argentina",lang:"English",rol3:"eng",pct_christian:12.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-43.27,lng:-65.44,code:"PG017376"},{name:"Chilean",country:"Sweden",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:31500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:58.15,lng:15.03,code:"PG000547"},{name:"Mixe, Isthmus",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:30500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.08,lng:-95.14,code:"PG039098"},{name:"Mohawk",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:44.18,lng:-77.77,code:"PG043441"},{name:"Dominican",country:"Canada",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:24500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.72,lng:-95.67,code:"PG047374"},{name:"Barbadian",country:"United Kingdom",lang:"English",rol3:"eng",pct_christian:12.5,pop:24e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:51.5,lng:-.17,code:"PG048436"},{name:"Chinantec, Central",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:21500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.81,lng:-96.26,code:"PG039065"},{name:"Korean",country:"Madagascar",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:18e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-18.91,lng:47.53,code:"PG015310"},{name:"Euronesian",country:"Fiji",lang:"English",rol3:"eng",pct_christian:12.5,pop:16500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-17.95,lng:178.24,code:"PG018419"},{name:"Spaniard",country:"Ireland",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:53.39,lng:-6.28,code:"PG000303"},{name:"Polynesian",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG043599"},{name:"American",country:"Costa Rica",lang:"English",rol3:"eng",pct_christian:12.5,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:10.22,lng:-85.24,code:"PG025025"},{name:"Popoluca, Sayula",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:12e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.73,lng:-94.95,code:"PG048641"},{name:"Mixe, Coatlan",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:9100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.79,lng:-95.6,code:"PG039097"},{name:"Antiguan",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:8400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:35.93,lng:-98.82,code:"PG050335"},{name:"Nahuatl, Isthmus",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:31.63,lng:-89.16,code:"PG049280"},{name:"Tsimshian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:7700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:54.42,lng:-130.3,code:"PG043490"},{name:"Lillooet",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:7500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:50.68,lng:-121.92,code:"PG043432"},{name:"Zapotec, Guevea de Humboldt",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:7200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.73,lng:-95.33,code:"PG039189"},{name:"Latin American",country:"Curacao",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:7e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:12.19,lng:-68.97,code:"PG023181"},{name:"Nakota (Assiniboine)",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:6500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:52.17,lng:-107.03,code:"PG043354"},{name:"Kwakwakaʼwakw",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:6500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.72,lng:-127.5,code:"PG043427"},{name:"Zapotec, Lachiguiri",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:5900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.61,lng:-95.5,code:"PG039196"},{name:"Sac & Fox Nation of Oklahoma",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:5800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:35.71,lng:-96.77,code:"PG050670"},{name:"Dakota",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:5500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.52,lng:-102.88,code:"PG043381"},{name:"American",country:"Micronesia",lang:"English",rol3:"eng",pct_christian:12.5,pop:5400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:6.95,lng:158.2,code:"PG018394"},{name:"Straits Salish",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.49,lng:-123.46,code:"PG043479"},{name:"Bahamian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:43.9,lng:-79.58,code:"PG050486"},{name:"Chuj",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:3800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.06,lng:-91.88,code:"PG039062"},{name:"Zapotec, Xanaguia",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:3600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.1,lng:-96.24,code:"PG039207"}]},Iran:{target_upg:85,target_pop:91827910,target_top_langs:["Persian, Iranian","Azerbaijani, South","Kurdish, Southern","Gilaki"],target_top_religion:"Islam",neighbors:[{name:"Korean",country:"Iran",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:17500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:35.7,lng:51.38,code:"PG024174"},{name:"Armenian",country:"Iran",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:113e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:38.14,lng:46.37,code:"PG024130"},{name:"Romani, Balkan",country:"Italy",lang:"Romani, Balkan",rol3:"rmn",pct_christian:62.5,pop:2500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:45.54,lng:9.19,code:"PG000312"},{name:"Romani, Balkan",country:"Bulgaria",lang:"Romani, Balkan",rol3:"rmn",pct_christian:7.5,pop:267e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:42.86,lng:23.79,code:"PG000737"},{name:"Arab, Syro-Lebanese",country:"Australia",lang:"Arabic, Gulf",rol3:"afb",pct_christian:7.5,pop:192e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-33.38,lng:143.4,code:"PG020267"},{name:"Assyrian",country:"Australia",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:7.5,pop:4e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.85,lng:151.03,code:"PG007833"},{name:"Iranian",country:"Armenia",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:40.17,lng:44.49,code:"PG050098"},{name:"Iranian",country:"Greece",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:38.05,lng:23.7,code:"PG047071"},{name:"Persian",country:"Canada",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:46.93,lng:-92.67,code:"PG043458"},{name:"Iranian",country:"Germany",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:175e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:52.51,lng:11.69,code:"PG000259"},{name:"Persian",country:"Turkiye",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:13e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:41.04,lng:28.87,code:"PG024581"},{name:"Persian",country:"United Kingdom",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:86e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:51.5,lng:-.17,code:"PG000643"},{name:"Assyrian",country:"Germany",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:7e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:50.03,lng:8.25,code:"PG000214"},{name:"Assyrian",country:"United States",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:7e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:37.75,lng:-122.21,code:"PG043528"},{name:"Kurd, Northern",country:"Russian Federation",lang:"Kurdish, Northern",rol3:"kmr",pct_christian:3.5,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:44.63,lng:39.24,code:"PG024465"},{name:"Assyrian",country:"Canada",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG043355"},{name:"Persian",country:"Indonesia",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:-6.21,lng:106.83,code:"PG050238"},{name:"Persian",country:"South Korea",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:3500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:37.55,lng:126.99,code:"PG050237"},{name:"Romani, Balkan",country:"France",lang:"Romani, Balkan",rol3:"rmn",pct_christian:3.5,pop:650,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:48.84,lng:2.35,code:"PG000134"}]},"Türkiye (Turkey)":{target_upg:63,target_pop:86815200,target_top_langs:["Turkish","Kurdish, Northern","Arabic, Levantine","Zazaki, Southern"],target_top_religion:"Islam",neighbors:[{name:"Persian",country:"Turkiye",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:13e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Shia",lat:41.04,lng:28.87,code:"PG024581"},{name:"Armenian",country:"Turkiye",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:45e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:41.05,lng:28.9,code:"PG024538"},{name:"Han Chinese",country:"Turkiye",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:44500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:41.04,lng:28.87,code:"PG024558"},{name:"Romani, Balkan",country:"Italy",lang:"Romani, Balkan",rol3:"rmn",pct_christian:62.5,pop:2500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:45.54,lng:9.19,code:"PG000312"},{name:"Romani, Balkan",country:"Bulgaria",lang:"Romani, Balkan",rol3:"rmn",pct_christian:7.5,pop:267e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:42.86,lng:23.79,code:"PG000737"},{name:"Armenian",country:"Canada",lang:"Armenian, Western",rol3:"hyw",pct_christian:7.5,pop:71e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.83,lng:-77.31,code:"PG043353"},{name:"Bangni",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:62500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:27.43,lng:92.97,code:"PG041887"},{name:"Assyrian",country:"Australia",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:7.5,pop:4e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.85,lng:151.03,code:"PG007833"},{name:"Arab, Lebanese",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024837"},{name:"Arab, Palestinian",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024839"},{name:"Greek",country:"Czech Republic",lang:"Greek",rol3:"ell",pct_christian:7.5,pop:3600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:49.82,lng:17.98,code:"PG048862"},{name:"Kankali",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:27.7,lng:81.49,code:"PG049096"},{name:"Khadim",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:26.49,lng:74.65,code:"PG048969"},{name:"Bulgarian",country:"Germany",lang:"Bulgarian",rol3:"bul",pct_christian:3.5,pop:411e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.5,lng:13.4,code:"PG042446"},{name:"Arab, Lebanese",country:"Canada",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:234e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.53,lng:-73.66,code:"PG043431"},{name:"Arab, Syrian",country:"United States",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:193e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.7,lng:-73.87,code:"PG043644"},{name:"Chikwa",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:23.97,lng:84.3,code:"PG041852"},{name:"Assyrian",country:"Germany",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:7e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:50.03,lng:8.25,code:"PG000214"},{name:"Assyrian",country:"United States",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:7e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:37.75,lng:-122.21,code:"PG043528"},{name:"Kurd, Northern",country:"Russian Federation",lang:"Kurdish, Northern",rol3:"kmr",pct_christian:3.5,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:44.63,lng:39.24,code:"PG024465"},{name:"Assyrian",country:"Canada",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG043355"},{name:"Dayare",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.79,lng:77.53,code:"PG049780"},{name:"Arab, Palestinian",country:"El Salvador",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:13.71,lng:-89.19,code:"PG039263"},{name:"Romani, Balkan",country:"France",lang:"Romani, Balkan",rol3:"rmn",pct_christian:3.5,pop:650,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:48.84,lng:2.35,code:"PG000134"}]},Egypt:{target_upg:34,target_pop:82788900,target_top_langs:["Arabic, Egyptian","Arabic, Sudanese","Arabic, Algerian","Arabic, Moroccan"],target_top_religion:"Islam",neighbors:[{name:"Han Chinese, Mandarin",country:"Egypt",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:65500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:30.05,lng:31.32,code:"PG050167"},{name:"Amhara",country:"Canada",lang:"Amharic",rol3:"amh",pct_christian:25,pop:14e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG047403"},{name:"Arab, Egyptian",country:"Australia",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:12.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-31.94,lng:115.89,code:"PG020254"},{name:"Arab, Syro-Lebanese",country:"Australia",lang:"Arabic, Gulf",rol3:"afb",pct_christian:7.5,pop:192e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-33.38,lng:143.4,code:"PG020267"},{name:"Arab, Egyptian",country:"Germany",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:25500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:52.5,lng:13.4,code:"PG042462"},{name:"Arab, Lebanese",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024837"},{name:"Arab, Palestinian",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024839"},{name:"Arab, Egyptian",country:"Belgium",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:5300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:50.85,lng:4.38,code:"PG000053"},{name:"Indri",country:"South Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:7.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.78,lng:25.73,code:"PG012040"},{name:"Egyptian Copt",country:"United States",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:3.5,pop:242e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:35.35,lng:-111.99,code:"PG047347"},{name:"Arab, Lebanese",country:"Canada",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:234e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.53,lng:-73.66,code:"PG043431"},{name:"Arab, Syrian",country:"United States",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:193e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.7,lng:-73.87,code:"PG043644"},{name:"Arab",country:"South Africa",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-26.17,lng:28.07,code:"PG015486"},{name:"Delen",country:"Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:3.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.06,lng:29.58,code:"PG042814"},{name:"Arab",country:"New Zealand",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-36.89,lng:174.78,code:"PG018478"},{name:"Ethiopian, Oromo",country:"United States",lang:"Oromo, West Central",rol3:"gaz",pct_christian:3.5,pop:7200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:38.9,lng:-77.19,code:"PG047338"},{name:"Arab, Palestinian",country:"El Salvador",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:13.71,lng:-89.19,code:"PG039263"}]},Nigeria:{target_upg:52,target_pop:72422800,target_top_langs:["Hausa","Fulfulde, Nigerian","Kanuri, Yerwa","Fulfulde, Adamawa"],target_top_religion:"Islam",neighbors:[{name:"Rumaya",country:"Nigeria",lang:"Mala (Nigeria)",rol3:"ruy",pct_christian:62.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:10.42,lng:8.67,code:"PG014094"},{name:"Janji",country:"Nigeria",lang:"Janji",rol3:"jni",pct_christian:62.5,pop:2300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:10.12,lng:8.62,code:"PG013870"},{name:"Kagoma",country:"Nigeria",lang:"Gyong",rol3:"kdm",pct_christian:45,pop:50500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.26,lng:8.19,code:"PG013889"},{name:"Kaivi",country:"Nigeria",lang:"Kaivi",rol3:"kce",pct_christian:45,pop:4400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:10.41,lng:8.67,code:"PG013891"},{name:"Sura",country:"Nigeria",lang:"Mwaghavul",rol3:"sur",pct_christian:35,pop:19e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.55,lng:9.02,code:"PG014115"},{name:"Dadiya",country:"Nigeria",lang:"Dadiya",rol3:"dbd",pct_christian:35,pop:66500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.64,lng:11.44,code:"PG013294"},{name:"Bajju",country:"Nigeria",lang:"Jju",rol3:"kaj",pct_christian:25,pop:685e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.68,lng:8.07,code:"PG013892"},{name:"Okpe",country:"Nigeria",lang:"Okpe (Southwestern Edoid)",rol3:"oke",pct_christian:25,pop:465e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.78,lng:5.57,code:"PG014065"},{name:"Wukari Jukun",country:"Nigeria",lang:"Wapan",rol3:"juk",pct_christian:25,pop:222e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.32,lng:9.7,code:"PG014174"},{name:"Aten",country:"Nigeria",lang:"Iten",rol3:"etx",pct_christian:25,pop:73500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.65,lng:8.57,code:"PG013646"},{name:"Gure-Kahugu",country:"Nigeria",lang:"Tugbiri-Niragu",rol3:"grh",pct_christian:25,pop:50500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:10.31,lng:8.42,code:"PG013815"},{name:"Kagoro",country:"Nigeria",lang:"Tyap",rol3:"kcg",pct_christian:25,pop:38e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.59,lng:8.26,code:"PG013890"},{name:"Awak",country:"Nigeria",lang:"Awak",rol3:"awo",pct_christian:25,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.92,lng:11.4,code:"PG013649"},{name:"Binawa",country:"Nigeria",lang:"Bina (Nigeria)",rol3:"byj",pct_christian:25,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:10.29,lng:8.26,code:"PG013689"},{name:"Naraguta",country:"Nigeria",lang:"Iguta",rol3:"nar",pct_christian:25,pop:13e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.99,lng:8.85,code:"PG014012"},{name:"Karim-Maudi",country:"Nigeria",lang:"Karimjo",rol3:"cfg",pct_christian:25,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.86,lng:10.82,code:"PG023179"},{name:"Kono",country:"Nigeria",lang:"Kono (Nigeria)",rol3:"klk",pct_christian:25,pop:11e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:10.23,lng:8.4,code:"PG013929"},{name:"Lakka",country:"Nigeria",lang:"Kabba",rol3:"ksp",pct_christian:25,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:9.15,lng:11.25,code:"PG013956"},{name:"Burak",country:"Nigeria",lang:"Burak",rol3:"bys",pct_christian:25,pop:8800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.74,lng:11.28,code:"PG013704"},{name:"Kholok",country:"Nigeria",lang:"Kholok",rol3:"ktc",pct_christian:25,pop:7100,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:9.3,lng:11.13,code:"PG014377"},{name:"Mingang Doso",country:"Nigeria",lang:"Mingang Doso",rol3:"mko",pct_christian:25,pop:6200,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.4,lng:11.26,code:"PG014411"},{name:"Katab",country:"Nigeria",lang:"Tyap",rol3:"kcg",pct_christian:17.5,pop:287e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.82,lng:8.31,code:"PG013912"},{name:"Begbere",country:"Nigeria",lang:"Koro Wachi",rol3:"bqv",pct_christian:17.5,pop:171e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.69,lng:7.64,code:"PG013046"},{name:"Ndoro",country:"Nigeria",lang:"Ndoola",rol3:"ndr",pct_christian:17.5,pop:121e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:6.98,lng:10.78,code:"PG014016"},{name:"Chamba Leko",country:"Nigeria",lang:"Samba Leko",rol3:"ndi",pct_christian:17.5,pop:118e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:7.83,lng:10.69,code:"PG013720"},{name:"Pero",country:"Nigeria",lang:"Pero",rol3:"pip",pct_christian:17.5,pop:57500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.7,lng:11.17,code:"PG014080"},{name:"Bandawa-Minda",country:"Nigeria",lang:"Shoo-Minda-Nye",rol3:"bcv",pct_christian:17.5,pop:38e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:8.97,lng:10.99,code:"PG013664"},{name:"Etulo",country:"Nigeria",lang:"Etulo",rol3:"utr",pct_christian:17.5,pop:25500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:7.29,lng:9.32,code:"PG013776"},{name:"Ruruma",country:"Nigeria",lang:"Ruma",rol3:"ruz",pct_christian:17.5,pop:16500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:10.23,lng:8.64,code:"PG014095"},{name:"Gwomu",country:"Nigeria",lang:"Moo",rol3:"gwg",pct_christian:17.5,pop:11e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.48,lng:11.3,code:"PG013824"},{name:"Bukwun",country:"Nigeria",lang:"Bukwen",rol3:"buz",pct_christian:17.5,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:6.94,lng:10.2,code:"PG013283"},{name:"Berom",country:"Nigeria",lang:"Berom",rol3:"bom",pct_christian:12.5,pop:1485e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.58,lng:8.8,code:"PG013683"},{name:"Tarok",country:"Nigeria",lang:"Tarok",rol3:"yer",pct_christian:12.5,pop:584e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.13,lng:10.1,code:"PG014124"},{name:"Hyam",country:"Nigeria",lang:"Hyam",rol3:"jab",pct_christian:12.5,pop:396e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.54,lng:8.09,code:"PG013833"},{name:"Bachama",country:"Nigeria",lang:"Bacama",rol3:"bcy",pct_christian:12.5,pop:341e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.46,lng:12.08,code:"PG013653"},{name:"Tangale",country:"Nigeria",lang:"Tangale",rol3:"tan",pct_christian:12.5,pop:326e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.81,lng:11.21,code:"PG014122"},{name:"Kambari",country:"Nigeria",lang:"Tsishingini",rol3:"tsw",pct_christian:12.5,pop:318e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:10.34,lng:5.35,code:"PG013897"},{name:"Marghi Central",country:"Nigeria",lang:"Marghi Central",rol3:"mrt",pct_christian:12.5,pop:279e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:10.63,lng:13.35,code:"PG013988"},{name:"Kyibaku",country:"Nigeria",lang:"Kibaku",rol3:"ckl",pct_christian:12.5,pop:234e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:10.98,lng:12.88,code:"PG013953"},{name:"Chamba Daka",country:"Nigeria",lang:"Samba Daka",rol3:"ccg",pct_christian:12.5,pop:186e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:8.62,lng:11.73,code:"PG013719"},{name:"Rukuba",country:"Nigeria",lang:"Kuce",rol3:"ruk",pct_christian:12.5,pop:18e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.18,lng:8.24,code:"PG014093"},{name:"Kuteb",country:"Nigeria",lang:"Kutep",rol3:"kub",pct_christian:12.5,pop:84500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.24,lng:10.06,code:"PG013946"},{name:"Bitare",country:"Nigeria",lang:"Bitare",rol3:"brt",pct_christian:12.5,pop:73500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.11,lng:10.74,code:"PG013691"},{name:"Glavda",country:"Nigeria",lang:"Glavda",rol3:"glw",pct_christian:12.5,pop:57500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:11.15,lng:13.81,code:"PG013803"},{name:"Kulung",country:"Nigeria",lang:"Kulung (Nigeria)",rol3:"bbu",pct_christian:12.5,pop:56e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.34,lng:11,code:"PG013941"},{name:"Chawai",country:"Nigeria",lang:"Atsam",rol3:"cch",pct_christian:12.5,pop:5e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:10.26,lng:8.29,code:"PG013722"},{name:"Montol",country:"Nigeria",lang:"Tehl",rol3:"mtl",pct_christian:12.5,pop:46500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9,lng:9.64,code:"PG014003"},{name:"Fali",country:"Nigeria",lang:"Fali Muchella",rol3:"fli",pct_christian:12.5,pop:37e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:10.32,lng:13.39,code:"PG013781"},{name:"Passam",country:"Nigeria",lang:"Kpasham",rol3:"pbn",pct_christian:12.5,pop:34500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.27,lng:11.76,code:"PG014079"},{name:"Epinmi",country:"Nigeria",lang:"Ukue",rol3:"uku",pct_christian:12.5,pop:29e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.43,lng:5.78,code:"PG014146"},{name:"Yiwom",country:"Nigeria",lang:"Ywom",rol3:"gek",pct_christian:12.5,pop:29e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:8.91,lng:9.75,code:"PG014192"},{name:"Magu",country:"Nigeria",lang:"Mvanip",rol3:"mcj",pct_christian:12.5,pop:24e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.95,lng:11.02,code:"PG013979"},{name:"Lelau",country:"Nigeria",lang:"Leelau",rol3:"ldk",pct_christian:12.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.33,lng:11.1,code:"PG013964"},{name:"Kam",country:"Nigeria",lang:"Kam",rol3:"kdx",pct_christian:12.5,pop:11e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:8.35,lng:11.06,code:"PG013895"},{name:"Tapshin",country:"Nigeria",lang:"Kusur-Myet",rol3:"tdl",pct_christian:12.5,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.55,lng:9.64,code:"PG014123"},{name:"Hedi",country:"Nigeria",lang:"Hdi",rol3:"xed",pct_christian:12.5,pop:7800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.94,lng:13.69,code:"PG013829"},{name:"Lamja",country:"Nigeria",lang:"Lamja-Dengsa-Tola",rol3:"ldh",pct_christian:12.5,pop:7200,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:8.87,lng:12.06,code:"PG013959"},{name:"Kumba",country:"Nigeria",lang:"Kumba",rol3:"ksm",pct_christian:12.5,pop:6900,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.05,lng:12.04,code:"PG013943"},{name:"Pai",country:"Nigeria",lang:"Pye",rol3:"pai",pct_christian:12.5,pop:6700,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.55,lng:9.29,code:"PG014077"},{name:"Cara",country:"Nigeria",lang:"Cara",rol3:"cfd",pct_christian:12.5,pop:6500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.09,lng:8.78,code:"PG012312"},{name:"Bali",country:"Nigeria",lang:"Bali (Nigeria)",rol3:"bcn",pct_christian:12.5,pop:5300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.29,lng:11.81,code:"PG013660"},{name:"Aduge",country:"Nigeria",lang:"Aduge",rol3:"adu",pct_christian:12.5,pop:4400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:7.61,lng:6.07,code:"PG013624"},{name:"Kapya",country:"Nigeria",lang:"Kapya",rol3:"klo",pct_christian:12.5,pop:350,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:7.05,lng:9.93,code:"PG014375"},{name:"Mangas",country:"Nigeria",lang:"Mansi (Nigeria)",rol3:"zns",pct_christian:12.5,pop:225,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:10.16,lng:9.82,code:"PG013986"},{name:"Igbo",country:"Nigeria",lang:"Igbo",rol3:"ibo",pct_christian:7.5,pop:3486e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.82,lng:7.31,code:"PG013844"},{name:"Ibibio",country:"Nigeria",lang:"Ibibio",rol3:"ibb",pct_christian:7.5,pop:697e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.13,lng:7.76,code:"PG013837"},{name:"Egba",country:"Nigeria",lang:"Yoruba",rol3:"yor",pct_christian:7.5,pop:6085e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:6.98,lng:3.48,code:"PG013759"},{name:"Tiv",country:"Nigeria",lang:"Tiv",rol3:"tiv",pct_christian:7.5,pop:52e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.58,lng:8.92,code:"PG014132"},{name:"Efik",country:"Nigeria",lang:"Efik",rol3:"efi",pct_christian:7.5,pop:289e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.26,lng:8.32,code:"PG013757"},{name:"Egbira",country:"Nigeria",lang:"Ebira",rol3:"igb",pct_christian:7.5,pop:2365e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8,lng:7.12,code:"PG013314"},{name:"Urhobo",country:"Nigeria",lang:"Urhobo",rol3:"urh",pct_christian:7.5,pop:1245e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.78,lng:5.78,code:"PG014152"},{name:"Isekiri",country:"Nigeria",lang:"Isekiri",rol3:"its",pct_christian:7.5,pop:1075e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.23,lng:5.42,code:"PG013858"},{name:"Ezaa",country:"Nigeria",lang:"Ezaa",rol3:"eza",pct_christian:7.5,pop:829e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.42,lng:7.87,code:"PG013780"},{name:"Kerang",country:"Nigeria",lang:"Ngas",rol3:"anc",pct_christian:7.5,pop:772e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.27,lng:9.56,code:"PG013642"},{name:"Isoko",country:"Nigeria",lang:"Isoko",rol3:"iso",pct_christian:7.5,pop:765e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.66,lng:6.09,code:"PG013859"},{name:"Ewe",country:"Nigeria",lang:"Éwé",rol3:"ewe",pct_christian:7.5,pop:696e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:6.76,lng:3.42,code:"PG013779"},{name:"Kamwe",country:"Nigeria",lang:"Kamwe",rol3:"hig",pct_christian:7.5,pop:683e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:10.57,lng:13.41,code:"PG013901"},{name:"Kalabari",country:"Nigeria",lang:"Kalabari",rol3:"ijn",pct_christian:7.5,pop:579e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.57,lng:6.83,code:"PG013754"},{name:"Yekhee",country:"Nigeria",lang:"Etsako",rol3:"ets",pct_christian:7.5,pop:574e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.2,lng:6.48,code:"PG014187"},{name:"Okrika",country:"Nigeria",lang:"Kirike",rol3:"okr",pct_christian:7.5,pop:52e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.69,lng:7.08,code:"PG014067"},{name:"Kana",country:"Nigeria",lang:"Khana",rol3:"ogo",pct_christian:7.5,pop:488e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.7,lng:7.47,code:"PG013902"},{name:"Ogbia",country:"Nigeria",lang:"Ogbia",rol3:"ogb",pct_christian:7.5,pop:45e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.81,lng:6.38,code:"PG014056"},{name:"Saya",country:"Nigeria",lang:"Saya",rol3:"say",pct_christian:7.5,pop:41e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.84,lng:9.64,code:"PG014099"},{name:"Ikwo",country:"Nigeria",lang:"Ikwo",rol3:"iqw",pct_christian:7.5,pop:366e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.99,lng:8.25,code:"PG013856"},{name:"Ukwuani-Aboh",country:"Nigeria",lang:"Ukwuani-Aboh-Ndoni",rol3:"ukw",pct_christian:7.5,pop:354e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.62,lng:6.57,code:"PG014147"},{name:"Bokyi",country:"Nigeria",lang:"Bokyi",rol3:"bky",pct_christian:7.5,pop:31e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.26,lng:8.99,code:"PG013695"},{name:"Yala",country:"Nigeria",lang:"Yala",rol3:"yba",pct_christian:7.5,pop:31e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.36,lng:8.5,code:"PG014182"},{name:"Mo Egon",country:"Nigeria",lang:"Eggon",rol3:"ego",pct_christian:7.5,pop:305e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.74,lng:8.46,code:"PG013760"},{name:"Bokkos",country:"Nigeria",lang:"Ron",rol3:"cla",pct_christian:7.5,pop:287e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.29,lng:8.98,code:"PG013693"},{name:"Yako",country:"Nigeria",lang:"Lokaa",rol3:"yaz",pct_christian:7.5,pop:273e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.9,lng:8.13,code:"PG014181"},{name:"Southeast Ijaw",country:"Nigeria",lang:"Ijo, Southeast",rol3:"ijs",pct_christian:7.5,pop:232e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.59,lng:6.21,code:"PG014113"},{name:"Mada",country:"Nigeria",lang:"Mada (Nigeria)",rol3:"mda",pct_christian:7.5,pop:223e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.01,lng:8.31,code:"PG014403"},{name:"Gokana",country:"Nigeria",lang:"Gokana",rol3:"gkn",pct_christian:7.5,pop:195e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.65,lng:7.29,code:"PG013806"},{name:"Lela",country:"Nigeria",lang:"C’Lela",rol3:"dri",pct_christian:7.5,pop:195e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:11.46,lng:5.28,code:"PG013963"},{name:"Adara",country:"Nigeria",lang:"Adara",rol3:"kad",pct_christian:7.5,pop:149e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.83,lng:7.41,code:"PG013886"},{name:"Obanliku",country:"Nigeria",lang:"Abanglekuo",rol3:"bzy",pct_christian:7.5,pop:141e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.57,lng:9.23,code:"PG014050"},{name:"Mbula-Bwazza",country:"Nigeria",lang:"Mbula-Bwazza",rol3:"mbu",pct_christian:7.5,pop:14e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.59,lng:12.36,code:"PG013994"},{name:"Dza",country:"Nigeria",lang:"Dza",rol3:"jen",pct_christian:7.5,pop:133e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.95,lng:10.93,code:"PG013311"},{name:"Yandang",country:"Nigeria",lang:"Yendang",rol3:"ynq",pct_christian:7.5,pop:127e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:8.95,lng:11.81,code:"PG014184"},{name:"Nungu",country:"Nigeria",lang:"Nungu",rol3:"rin",pct_christian:7.5,pop:108e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.18,lng:8.5,code:"PG014043"},{name:"Amo",country:"Nigeria",lang:"Amo",rol3:"amo",pct_christian:7.5,pop:107e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:10.23,lng:8.64,code:"PG013640"},{name:"Irigwe",country:"Nigeria",lang:"Rigwe",rol3:"iri",pct_christian:7.5,pop:96e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.88,lng:8.83,code:"PG013857"},{name:"Mama",country:"Nigeria",lang:"Mama",rol3:"mma",pct_christian:7.5,pop:72500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9,lng:8.62,code:"PG013982"},{name:"Hwana",country:"Nigeria",lang:"Hwana",rol3:"hwo",pct_christian:7.5,pop:72e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:10.22,lng:12.67,code:"PG013832"},{name:"Koma",country:"Nigeria",lang:"Koma",rol3:"kmy",pct_christian:7.5,pop:7e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.67,lng:12.43,code:"PG013942"},{name:"Cham-Mwana",country:"Nigeria",lang:"Cham",rol3:"cfa",pct_christian:7.5,pop:55e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.77,lng:11.69,code:"PG013716"},{name:"Tigon Mbembe",country:"Nigeria",lang:"Mbembe, Tigon",rol3:"nza",pct_christian:7.5,pop:52e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:7.16,lng:10.68,code:"PG014130"},{name:"Mboi",country:"Nigeria",lang:"Mboi",rol3:"moi",pct_christian:7.5,pop:42500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.48,lng:12.67,code:"PG013992"},{name:"Zari",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:41e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:9.87,lng:9.4,code:"PG014203"},{name:"Etebi",country:"Nigeria",lang:"Etebi",rol3:"etb",pct_christian:7.5,pop:37e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.63,lng:8.07,code:"PG013775"},{name:"Sukur",country:"Nigeria",lang:"Sukur",rol3:"syk",pct_christian:7.5,pop:33e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.88,lng:13.64,code:"PG014114"},{name:"Bassa",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:3e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:10.67,lng:5.82,code:"PG033345"},{name:"Nandu-Tari",country:"Nigeria",lang:"Ahwai",rol3:"nfd",pct_christian:7.5,pop:28e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.26,lng:8.56,code:"PG014011"},{name:"Sasaru",country:"Nigeria",lang:"Sasaru",rol3:"sxs",pct_christian:7.5,pop:26e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.16,lng:6.17,code:"PG014098"},{name:"Yamba",country:"Nigeria",lang:"Yamba",rol3:"yam",pct_christian:7.5,pop:24e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.62,lng:11.1,code:"PG014183"},{name:"Otwa",country:"Nigeria",lang:"Ghotuo",rol3:"aaa",pct_christian:7.5,pop:22e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.18,lng:5.98,code:"PG013800"},{name:"Ngwaba",country:"Nigeria",lang:"Ngwaba",rol3:"ngw",pct_christian:7.5,pop:22e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:10.17,lng:12.85,code:"PG014022"},{name:"Akpet",country:"Nigeria",lang:"Ukpet-Ehom",rol3:"akd",pct_christian:7.5,pop:21500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.57,lng:8.17,code:"PG013636"},{name:"Bumaji",country:"Nigeria",lang:"Bumaji",rol3:"byp",pct_christian:7.5,pop:21500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.48,lng:9.31,code:"PG013702"},{name:"Lubila",country:"Nigeria",lang:"Lubila",rol3:"kcc",pct_christian:7.5,pop:21500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.41,lng:8.29,code:"PG013971"},{name:"Lo",country:"Nigeria",lang:"Loo",rol3:"ldo",pct_christian:7.5,pop:18e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.35,lng:11.11,code:"PG013967"},{name:"Sara Mbai",country:"Nigeria",lang:"Mbay",rol3:"myb",pct_christian:7.5,pop:16500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:11.84,lng:13.14,code:"PG014097"},{name:"Shal",country:"Nigeria",lang:"Shall-Zwall",rol3:"sha",pct_christian:7.5,pop:16500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.26,lng:8.75,code:"PG014103"},{name:"Korop",country:"Nigeria",lang:"Durop",rol3:"krp",pct_christian:7.5,pop:16e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.25,lng:8.66,code:"PG013931"},{name:"Kwa",country:"Nigeria",lang:"Kwa",rol3:"kwb",pct_christian:7.5,pop:15e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.5,lng:11.62,code:"PG013949"},{name:"Banwinji",country:"Nigeria",lang:"Bangwinji",rol3:"bsj",pct_christian:7.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.64,lng:11.33,code:"PG013667"},{name:"Ito",country:"Nigeria",lang:"Ito",rol3:"itw",pct_christian:7.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.06,lng:8,code:"PG013860"},{name:"Ebughu",country:"Nigeria",lang:"Ebughu",rol3:"ebg",pct_christian:7.5,pop:13e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.68,lng:8.25,code:"PG013755"},{name:"Itu Mbon Uzo",country:"Nigeria",lang:"Itu Mbon Uzo",rol3:"itm",pct_christian:7.5,pop:13e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.5,lng:7.81,code:"PG013861"},{name:"Idere",country:"Nigeria",lang:"Idere",rol3:"ide",pct_christian:7.5,pop:12500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.22,lng:8.04,code:"PG013839"},{name:"Kyak",country:"Nigeria",lang:"Kyak",rol3:"bka",pct_christian:7.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.53,lng:11.35,code:"PG014393"},{name:"Arum-Chessu",country:"Nigeria",lang:"Arum",rol3:"aab",pct_christian:7.5,pop:11e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.97,lng:8.7,code:"PG013643"},{name:"Ilue",country:"Nigeria",lang:"Ilue",rol3:"ilv",pct_christian:7.5,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.78,lng:8.25,code:"PG033351"},{name:"Mboa",country:"Nigeria",lang:"Mbonga",rol3:"xmb",pct_christian:7.5,pop:9900,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:11.15,lng:13.75,code:"PG013993"},{name:"Turkwam",country:"Nigeria",lang:"Atoro",rol3:"tdv",pct_christian:7.5,pop:8e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.17,lng:8.65,code:"PG014136"},{name:"Duguza",country:"Nigeria",lang:"Tunzuii",rol3:"dza",pct_christian:7.5,pop:7400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.03,lng:9.12,code:"PG013308"},{name:"Idon",country:"Nigeria",lang:"Ajiya",rol3:"idc",pct_christian:7.5,pop:7300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.17,lng:7.87,code:"PG013841"},{name:"Kugama",country:"Nigeria",lang:"Kugama",rol3:"kow",pct_christian:7.5,pop:7100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.14,lng:12.06,code:"PG013937"},{name:"Lam-nso",country:"Nigeria",lang:"Lamnso'",rol3:"lns",pct_christian:7.5,pop:7100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.61,lng:11.16,code:"PG014395"},{name:"Bete",country:"Nigeria",lang:"Jukun Takum",rol3:"jbu",pct_christian:7.5,pop:6900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.02,lng:9.75,code:"PG013684"},{name:"Obulom",country:"Nigeria",lang:"Obulom",rol3:"obu",pct_christian:7.5,pop:6700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.79,lng:7.05,code:"PG014052"},{name:"Teme",country:"Nigeria",lang:"Teme",rol3:"tdo",pct_christian:7.5,pop:6700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:8.99,lng:11.97,code:"PG014126"},{name:"Mini",country:"Nigeria",lang:"Abureni",rol3:"mgj",pct_christian:7.5,pop:6500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.61,lng:6.45,code:"PG013999"},{name:"Gyanzi",country:"Nigeria",lang:"Gyaazi",rol3:"gyz",pct_christian:7.5,pop:5900,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.35,lng:9.62,code:"PG013826"},{name:"Bakpinka",country:"Nigeria",lang:"Iyongiyong",rol3:"bbs",pct_christian:7.5,pop:5400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.25,lng:8.27,code:"PG013658"},{name:"Firan",country:"Nigeria",lang:"Firan",rol3:"fir",pct_christian:7.5,pop:4400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.6,lng:8.72,code:"PG013321"},{name:"Surubu",country:"Nigeria",lang:"Vori",rol3:"sde",pct_christian:7.5,pop:3800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:10.17,lng:8.32,code:"PG014116"},{name:"Zeem",country:"Nigeria",lang:"Zeem",rol3:"zem",pct_christian:7.5,pop:3400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.95,lng:9.29,code:"PG014204"},{name:"Ambo",country:"Nigeria",lang:"Ambo",rol3:"amb",pct_christian:7.5,pop:3400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.08,lng:10.77,code:"PG014310"},{name:"Tala",country:"Nigeria",lang:"Tala",rol3:"tak",pct_christian:7.5,pop:2200,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.23,lng:9.86,code:"PG014119"}]},Thailand:{target_upg:76,target_pop:61274800,target_top_langs:["Thai","Thai, Northeastern","Thai, Northern","Thai, Southern"],target_top_religion:"Buddhism",neighbors:[{name:"Lahu",country:"Thailand",lang:"Lahu",rol3:"lhu",pct_christian:35,pop:82e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.46,lng:99.05,code:"PG010877"},{name:"Korean",country:"Thailand",lang:"Korean",rol3:"kor",pct_christian:35,pop:20500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:13.76,lng:100.56,code:"PG010874"},{name:"Sgaw Karen",country:"Thailand",lang:"Karen, S’gaw",rol3:"ksw",pct_christian:25,pop:204e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:17.09,lng:98.79,code:"PG010917"},{name:"Vietnamese",country:"Thailand",lang:"Vietnamese",rol3:"vie",pct_christian:25,pop:119e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Mahayana",lat:13.76,lng:100.56,code:"PG010933"},{name:"Red Karen",country:"Thailand",lang:"Kayah, Eastern",rol3:"eky",pct_christian:25,pop:11e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.47,lng:97.98,code:"PG010911"},{name:"Akha",country:"Thailand",lang:"Akha",rol3:"ahk",pct_christian:17.5,pop:58e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:20.08,lng:99.66,code:"PG010820"},{name:"Lahu Shi",country:"Thailand",lang:"Lahu Shi",rol3:"lhi",pct_christian:17.5,pop:15500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:18.98,lng:99.39,code:"PG010939"},{name:"Padaung Karen",country:"Thailand",lang:"Kayan (Myanmar)",rol3:"pdu",pct_christian:17.5,pop:2800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:18.79,lng:98.99,code:"PG010902"},{name:"Bghai Karen",country:"Thailand",lang:"Karen, Bwe",rol3:"bwe",pct_christian:17.5,pop:2100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.53,lng:97.93,code:"PG010827"},{name:"Black Karen",country:"Thailand",lang:"Pa’o",rol3:"blk",pct_christian:17.5,pop:850,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.74,lng:98.06,code:"PG010829"},{name:"Flowery/Southern Lisu",country:"Thailand",lang:"Lisu",rol3:"lis",pct_christian:12.5,pop:42e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:18.96,lng:98.82,code:"PG010847"},{name:"Western Lawa",country:"Thailand",lang:"Lawa, Western",rol3:"lcp",pct_christian:12.5,pop:8600,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:18.36,lng:98.06,code:"PG010935"},{name:"Karen, Pwo Northern",country:"Thailand",lang:"Karen, Pwo Northern",rol3:"pww",pct_christian:7.5,pop:85e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:18.22,lng:98.03,code:"PG010936"},{name:"Kensiu",country:"Thailand",lang:"Kensiu",rol3:"kns",pct_christian:7.5,pop:300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.02,lng:101.16,code:"PG010869"},{name:"Han Chinese",country:"Thailand",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:5785e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:14.64,lng:101.07,code:"PG010849"},{name:"So",country:"Thailand",lang:"So (Laos)",rol3:"sss",pct_christian:3.5,pop:105e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Folk",lat:17.39,lng:104.05,code:"PG010920"},{name:"Mien",country:"Thailand",lang:"Iu Mien",rol3:"ium",pct_christian:3.5,pop:46500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:19.13,lng:100.45,code:"PG010890"},{name:"Tamil",country:"Thailand",lang:"Tamil",rol3:"tam",pct_christian:3.5,pop:35e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:13.76,lng:100.56,code:"PG010925"},{name:"Black Tai",country:"Thailand",lang:"Tai Dam",rol3:"blt",pct_christian:3.5,pop:25e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.92,lng:99.84,code:"PG010830"},{name:"Western Bru",country:"Thailand",lang:"Bru, Western",rol3:"brv",pct_christian:3.5,pop:17e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:17.21,lng:104.15,code:"PG010934"},{name:"Yoy",country:"Thailand",lang:"Yoy",rol3:"yoy",pct_christian:3.5,pop:6300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:17.71,lng:104.01,code:"PG010940"},{name:"Urak Lawoi Aborigine",country:"Thailand",lang:"Urak Lawoi’",rol3:"urk",pct_christian:3.5,pop:2300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:7.44,lng:99.09,code:"PG010931"},{name:"Tonga",country:"Thailand",lang:"Ten’edn",rol3:"tnz",pct_christian:3.5,pop:200,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.03,lng:101.16,code:"PG010894"},{name:"Khamet",country:"Thailand",lang:"Rmeet",rol3:"lbn",pct_christian:3.5,pop:150,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.92,lng:99.84,code:"PG010870"},{name:"Lemo",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:75,pop:2300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:25.84,lng:98.78,code:"PG007252"},{name:"Anglo Indian",country:"India",lang:"English",rol3:"eng",pct_christian:62.5,pop:398e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:12.95,lng:77.6,code:"PG041386"},{name:"Indian - Christian",country:"South Africa",lang:"English",rol3:"eng",pct_christian:62.5,pop:31e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-29.84,lng:30.93,code:"PG048045"},{name:"Euronesian",country:"Samoa",lang:"English",rol3:"eng",pct_christian:62.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-13.85,lng:-171.8,code:"PG018323"},{name:"British",country:"Tanzania",lang:"English",rol3:"eng",pct_christian:62.5,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-6.83,lng:39.25,code:"PG014914"},{name:"British",country:"Zimbabwe",lang:"English",rol3:"eng",pct_christian:62.5,pop:5800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-17.83,lng:31.03,code:"PG015650"},{name:"Bagti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:62.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:23.28,lng:86.43,code:"PG049044"},{name:"American",country:"Singapore",lang:"English",rol3:"eng",pct_christian:45,pop:9800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:1.36,lng:103.82,code:"PG018447"},{name:"British",country:"Barbados",lang:"English",rol3:"eng",pct_christian:45,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:13.12,lng:-59.6,code:"PG016197"},{name:"British",country:"Venezuela",lang:"English",rol3:"eng",pct_christian:45,pop:7200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:10.48,lng:-66.88,code:"PG016461"},{name:"British",country:"Botswana",lang:"English",rol3:"eng",pct_christian:45,pop:7100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-24.65,lng:25.91,code:"PG015217"},{name:"Pitcairn Islander",country:"New Zealand",lang:"English",rol3:"eng",pct_christian:45,pop:250,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-36.89,lng:174.78,code:"PG018502"},{name:"American",country:"Australia",lang:"English",rol3:"eng",pct_christian:35,pop:95500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.52,lng:142.46,code:"PG020268"},{name:"Eurasian",country:"Myanmar",lang:"English",rol3:"eng",pct_christian:35,pop:56500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:16.85,lng:96.15,code:"PG022046"},{name:"Caribbean Hindi",country:"French Guiana",lang:"English",rol3:"eng",pct_christian:35,pop:13500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:4.91,lng:-52.3,code:"PG022284"},{name:"Southwest Aborigine Creol",country:"Australia",lang:"English",rol3:"eng",pct_christian:35,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-32.54,lng:115.99,code:"PG008068"},{name:"Anglo-Australian",country:"Singapore",lang:"English",rol3:"eng",pct_christian:35,pop:3e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:1.36,lng:103.82,code:"PG010684"},{name:"American",country:"Iceland",lang:"English",rol3:"eng",pct_christian:35,pop:1800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:64.14,lng:-21.89,code:"PG000293"},{name:"American",country:"Marshall Islands",lang:"English",rol3:"eng",pct_christian:35,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:7.1,lng:171.22,code:"PG009376"},{name:"American",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:19474e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:38.3,lng:-93.46,code:"PG043515"},{name:"Detribalized Aborigine",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:58e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.75,lng:144.18,code:"PG007863"},{name:"Jamaican",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:33e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-95.67,code:"PG047381"},{name:"Barbadian",country:"Barbados",lang:"English",rol3:"eng",pct_christian:25,pop:269e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:13.17,lng:-59.56,code:"PG016195"},{name:"American",country:"Panama",lang:"English",rol3:"eng",pct_christian:25,pop:186e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:9.06,lng:-79.38,code:"PG050309"},{name:"Barbadian",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:50500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:40.72,lng:-73.97,code:"PG046507"},{name:"Barbadian",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:40500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-95.67,code:"PG047394"},{name:"Bay Islands Creole",country:"Honduras",lang:"English",rol3:"eng",pct_christian:25,pop:2e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:16.34,lng:-86.39,code:"PG024758"},{name:"American",country:"Virgin Islands",lang:"English",rol3:"eng",pct_christian:25,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.96,lng:-64.8,code:"PG050296"},{name:"American",country:"New Zealand",lang:"English",rol3:"eng",pct_christian:25,pop:15e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-36.89,lng:174.78,code:"PG018513"},{name:"American",country:"Guam",lang:"English",rol3:"eng",pct_christian:25,pop:14e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:13.44,lng:144.78,code:"PG050299"},{name:"Sediq",country:"Taiwan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:25,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:24.02,lng:121.35,code:"PG007536"},{name:"American",country:"Fiji",lang:"English",rol3:"eng",pct_christian:25,pop:4600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-18.13,lng:178.44,code:"PG018421"},{name:"American",country:"Greenland",lang:"English",rol3:"eng",pct_christian:25,pop:3400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:64.18,lng:-51.7,code:"PG000286"},{name:"Maori",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.28,lng:-122.84,code:"PG050518"},{name:"Nakota (Assiniboine)",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.32,lng:-106.26,code:"PG043527"},{name:"Winnebago",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:42.22,lng:-96.6,code:"PG043689"},{name:"Wik-Ngathan",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:2e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-13.84,lng:141.57,code:"PG008118"},{name:"Polynesian",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.28,lng:-122.84,code:"PG050519"},{name:"Yankuntatjara",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:950,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-27.14,lng:133.83,code:"PG008134"},{name:"Maori",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:37.75,lng:-122.21,code:"PG047214"},{name:"Burmese",country:"Germany",lang:"Burmese",rol3:"mya",pct_christian:25,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:50,lng:8.01,code:"PG033529"},{name:"African Americans",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:4054e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:39.04,lng:-100.02,code:"PG048741"},{name:"Balmiki (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:17.5,pop:1295e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.44,lng:75.81,code:"PG048195"},{name:"Eurasian",country:"Malaysia",lang:"English",rol3:"eng",pct_christian:17.5,pop:68500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:3.07,lng:101.64,code:"PG020233"},{name:"Bermudians",country:"Bermuda",lang:"English",rol3:"eng",pct_christian:17.5,pop:66e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:32.31,lng:-64.77,code:"PG016210"},{name:"Caymanian",country:"Cayman Islands",lang:"English",rol3:"eng",pct_christian:17.5,pop:60500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:19.42,lng:-80.89,code:"PG016216"},{name:"Nigerian",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:39500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:37.51,lng:-88.1,code:"PG047652"},{name:"Kenyan",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:26e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:43.83,lng:-79.46,code:"PG047469"},{name:"American",country:"Haiti",lang:"English",rol3:"eng",pct_christian:17.5,pop:19e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:18.55,lng:-72.32,code:"PG016382"},{name:"Ghanaian",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:49.22,lng:-122.99,code:"PG047407"},{name:"Passamaquoddy",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:3300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:46.36,lng:-67.46,code:"PG043437"},{name:"Tlingit",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:2300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:60.48,lng:-132.29,code:"PG043489"},{name:"Straits Salish",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:2e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.77,lng:-122.64,code:"PG043642"},{name:"Onondaga",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:43.05,lng:-80.11,code:"PG043451"},{name:"Barmi",country:"India",lang:"Burmese",rol3:"mya",pct_christian:17.5,pop:600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:12.6,lng:92.83,code:"PG048889"},{name:"K’ómoks",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:350,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-124.96,code:"PG043374"},{name:"Rembarunga",country:"Australia",lang:"English",rol3:"eng",pct_christian:17.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-12.96,lng:134.58,code:"PG008058"},{name:"Irish, Northern",country:"United Kingdom",lang:"English",rol3:"eng",pct_christian:12.5,pop:166e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:54.61,lng:-6.69,code:"PG022219"},{name:"Afro-Trinidadian",country:"Trinidad and Tobago",lang:"English",rol3:"eng",pct_christian:12.5,pop:725e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:10.42,lng:-61.3,code:"PG016442"},{name:"Metis",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:704e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:47.13,lng:-97.19,code:"PG043455"},{name:"American",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:402e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.97,lng:-107.63,code:"PG043500"},{name:"English Caribbean",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:394e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:46.73,lng:-90.31,code:"PG049256"},{name:"Han Chinese",country:"Singapore",lang:"English",rol3:"eng",pct_christian:12.5,pop:358e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020724"},{name:"Han Chinese",country:"New Zealand",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:214e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-36.89,lng:174.78,code:"PG018495"},{name:"Detribalized Amerindian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.64,lng:-115.72,code:"PG043384"},{name:"Sub-Saharan Africans, English-Speaking",country:"Belgium",lang:"English",rol3:"eng",pct_christian:12.5,pop:123e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.85,lng:4.38,code:"PG047833"},{name:"Fijian",country:"Australia",lang:"English",rol3:"eng",pct_christian:12.5,pop:71500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.75,lng:144.18,code:"PG050451"},{name:"Cree, Woodland",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:68500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:54.6,lng:-106.15,code:"PG043378"},{name:"Dominican",country:"Dominica",lang:"English",rol3:"eng",pct_christian:12.5,pop:67e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:15.43,lng:-61.35,code:"PG016306"},{name:"Welsh",country:"Argentina",lang:"English",rol3:"eng",pct_christian:12.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-43.27,lng:-65.44,code:"PG017376"},{name:"Mohawk",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:44.18,lng:-77.77,code:"PG043441"},{name:"Barbadian",country:"United Kingdom",lang:"English",rol3:"eng",pct_christian:12.5,pop:24e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:51.5,lng:-.17,code:"PG048436"},{name:"Euronesian",country:"Fiji",lang:"English",rol3:"eng",pct_christian:12.5,pop:16500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-17.95,lng:178.24,code:"PG018419"},{name:"Polynesian",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG043599"},{name:"Hmong Njua",country:"Myanmar",lang:"Hmong Njua",rol3:"hnj",pct_christian:12.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Polytheism",lat:23.63,lng:97.65,code:"PG022056"},{name:"American",country:"Costa Rica",lang:"English",rol3:"eng",pct_christian:12.5,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:10.22,lng:-85.24,code:"PG025025"},{name:"Antiguan",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:8400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:35.93,lng:-98.82,code:"PG050335"},{name:"Tsimshian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:7700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:54.42,lng:-130.3,code:"PG043490"},{name:"Lillooet",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:7500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:50.68,lng:-121.92,code:"PG043432"},{name:"Nakota (Assiniboine)",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:6500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:52.17,lng:-107.03,code:"PG043354"},{name:"Kwakwakaʼwakw",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:6500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.72,lng:-127.5,code:"PG043427"},{name:"Sac & Fox Nation of Oklahoma",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:5800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:35.71,lng:-96.77,code:"PG050670"},{name:"Dakota",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:5500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.52,lng:-102.88,code:"PG043381"},{name:"American",country:"Micronesia",lang:"English",rol3:"eng",pct_christian:12.5,pop:5400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:6.95,lng:158.2,code:"PG018394"},{name:"Straits Salish",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.49,lng:-123.46,code:"PG043479"},{name:"Bahamian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:43.9,lng:-79.58,code:"PG050486"},{name:"Cree, Southern East",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.77,lng:-75.81,code:"PG043411"},{name:"Heiltsuk",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:52.3,lng:-128.28,code:"PG043406"},{name:"Tolowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:41.9,lng:-124.16,code:"PG050627"},{name:"Sac & Fox Tribe of the Mississippi in Iowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:41.98,lng:-92.65,code:"PG043616"},{name:"Iowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:39.99,lng:-95.39,code:"PG043277"},{name:"Central Africans",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:40.74,lng:-73.72,code:"PG047190"},{name:"Jamaican",country:"Germany",lang:"English",rol3:"eng",pct_christian:12.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.13,lng:11.56,code:"PG048546"},{name:"American",country:"Curacao",lang:"English",rol3:"eng",pct_christian:12.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:12.19,lng:-68.97,code:"PG016406"},{name:"Saint Lucian",country:"French Guiana",lang:"English",rol3:"eng",pct_christian:12.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:4.91,lng:-52.3,code:"PG022286"},{name:"Tubatulabal",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:36.07,lng:-118.31,code:"PG043660"},{name:"Euronesian",country:"Cook Islands",lang:"English",rol3:"eng",pct_christian:12.5,pop:850,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-21.23,lng:-159.78,code:"PG018317"},{name:"Nez Perce",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:46.28,lng:-116.41,code:"PG043560"},{name:"Salinan",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:35.83,lng:-120.77,code:"PG050637"},{name:"Gagra",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:12.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.84,lng:75.86,code:"PG049079"},{name:"Kaska",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:58.79,lng:-126.96,code:"PG043421"},{name:"Anuta",country:"Solomon Islands",lang:"English",rol3:"eng",pct_christian:12.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-11.61,lng:169.85,code:"PG010725"},{name:"Sac & Fox Nation of Missouri in Kansas and Nebraska",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:450,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:40.01,lng:-95.52,code:"PG050671"},{name:"British",country:"Lesotho",lang:"English",rol3:"eng",pct_christian:12.5,pop:425,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-29.33,lng:27.51,code:"PG015281"},{name:"Haida",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:150,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:55.19,lng:-132.88,code:"PG043257"},{name:"Han Chinese",country:"Kiribati",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:125,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:1.37,lng:173.11,code:"PG009087"},{name:"Chinuk Wawa",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:125,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.37,lng:-123.2,code:"PG043372"},{name:"Cayuga",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:60,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:42.55,lng:-79,code:"PG043191"},{name:"Han Chinese",country:"Tuvalu",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-8.5,lng:179.19,code:"PG018319"},{name:"Upper Tanana",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:62.07,lng:-140.22,code:"PG043497"},{name:"Han Chinese, Mandarin",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:90145e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:37.37,lng:110.73,code:"PG006802"},{name:"Han Chinese, Mandarin",country:"Taiwan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:4635e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:24.86,lng:121.36,code:"PG007518"},{name:"Santal (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:335e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:24,lng:88.81,code:"PG046352"},{name:"Han Chinese, Mandarin",country:"United States",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:2345e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:45.74,lng:-114.4,code:"PG043261"},{name:"Chinese American",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:175e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:45.74,lng:-114.4,code:"PG050453"},{name:"Han Chinese",country:"Vietnam",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:162e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.04,lng:106.1,code:"PG033473"},{name:"Han Chinese, Mandarin",country:"Canada",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:1055e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:46.93,lng:-92.67,code:"PG043404"},{name:"Khmu, Ou",country:"Laos",lang:"Khmu",rol3:"kjg",pct_christian:7.5,pop:817e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:19.8,lng:102.58,code:"PG020913"},{name:"Han Chinese, Mandarin",country:"Japan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:736e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:35.72,lng:137.14,code:"PG048925"},{name:"Han Chinese",country:"Australia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:67e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-33.75,lng:144.18,code:"PG033443"},{name:"Han Chinese",country:"Myanmar",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:65e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:16.85,lng:96.15,code:"PG022047"},{name:"Jamaican",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:588e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:32.14,lng:-77.63,code:"PG043284"},{name:"Han Chinese, Mandarin",country:"Singapore",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:467e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020728"},{name:"Detribalized Amerindian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:454e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:34.9,lng:-111.06,code:"PG043225"},{name:"Cape Verdean",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:309e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:37.42,lng:-74.94,code:"PG047254"},{name:"Han Chinese",country:"Brazil",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:28e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-23.17,lng:-45.54,code:"PG016864"}]},Sudan:{target_upg:170,target_pop:48623100,target_top_langs:["Arabic, Sudanese","Bedawiyet","Fur","Nobiin"],target_top_religion:"Islam",neighbors:[{name:"Turum",country:"Sudan",lang:"Tagoi",rol3:"tag",pct_christian:45,pop:3200,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:11.6,lng:31.08,code:"PG042842"},{name:"Acheron",country:"Sudan",lang:"Acheron",rol3:"acz",pct_christian:25,pop:29e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:10.81,lng:30.25,code:"PG011958"},{name:"Heiban Nuba",country:"Sudan",lang:"Heiban",rol3:"hbn",pct_christian:25,pop:12500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:11.25,lng:30.48,code:"PG012038"},{name:"Moro",country:"Sudan",lang:"Moro",rol3:"mor",pct_christian:12.5,pop:85e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:10.94,lng:30.18,code:"PG012112"},{name:"Katcha-Kadugli",country:"Sudan",lang:"Katcha-Kadugli-Miri",rol3:"xtc",pct_christian:7.5,pop:97e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:10.96,lng:29.69,code:"PG012053"},{name:"Dgik, Ruwa",country:"Sudan",lang:"Dagik",rol3:"dec",pct_christian:7.5,pop:72e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:10.66,lng:30,code:"PG012102"},{name:"Krongo",country:"Sudan",lang:"Krongo",rol3:"kgo",pct_christian:7.5,pop:66e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:10.55,lng:29.96,code:"PG012074"},{name:"Miri",country:"Sudan",lang:"Katcha-Kadugli-Miri",rol3:"xtc",pct_christian:7.5,pop:3e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:11,lng:29.5,code:"PG012105"},{name:"Tulishi",country:"Sudan",lang:"Tulishi",rol3:"tey",pct_christian:7.5,pop:3e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:11.47,lng:29.11,code:"PG012165"},{name:"Koalib",country:"Sudan",lang:"Koalib",rol3:"kib",pct_christian:3.5,pop:139e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:11.67,lng:30.4,code:"PG012071"},{name:"Laro",country:"Sudan",lang:"Laro",rol3:"lro",pct_christian:3.5,pop:4e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:11.35,lng:30.54,code:"PG012079"},{name:"Shatt",country:"Sudan",lang:"Shatt",rol3:"shj",pct_christian:3.5,pop:37500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:10.82,lng:29.76,code:"PG012132"},{name:"Komo",country:"Sudan",lang:"Komo (Sudan)",rol3:"xom",pct_christian:3.5,pop:36e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:9.82,lng:34.09,code:"PG012072"},{name:"Delen",country:"Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:3.5,pop:13e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:12.06,lng:29.58,code:"PG042814"},{name:"Anglo Indian",country:"India",lang:"English",rol3:"eng",pct_christian:62.5,pop:398e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:12.95,lng:77.6,code:"PG041386"},{name:"Indian - Christian",country:"South Africa",lang:"English",rol3:"eng",pct_christian:62.5,pop:31e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-29.84,lng:30.93,code:"PG048045"},{name:"Euronesian",country:"Samoa",lang:"English",rol3:"eng",pct_christian:62.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-13.85,lng:-171.8,code:"PG018323"},{name:"British",country:"Tanzania",lang:"English",rol3:"eng",pct_christian:62.5,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-6.83,lng:39.25,code:"PG014914"},{name:"British",country:"Zimbabwe",lang:"English",rol3:"eng",pct_christian:62.5,pop:5800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-17.83,lng:31.03,code:"PG015650"},{name:"American",country:"Singapore",lang:"English",rol3:"eng",pct_christian:45,pop:9800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:1.36,lng:103.82,code:"PG018447"},{name:"British",country:"Barbados",lang:"English",rol3:"eng",pct_christian:45,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:13.12,lng:-59.6,code:"PG016197"},{name:"British",country:"Venezuela",lang:"English",rol3:"eng",pct_christian:45,pop:7200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:10.48,lng:-66.88,code:"PG016461"},{name:"British",country:"Botswana",lang:"English",rol3:"eng",pct_christian:45,pop:7100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-24.65,lng:25.91,code:"PG015217"},{name:"Pitcairn Islander",country:"New Zealand",lang:"English",rol3:"eng",pct_christian:45,pop:250,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-36.89,lng:174.78,code:"PG018502"},{name:"American",country:"Australia",lang:"English",rol3:"eng",pct_christian:35,pop:95500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.52,lng:142.46,code:"PG020268"},{name:"Eurasian",country:"Myanmar",lang:"English",rol3:"eng",pct_christian:35,pop:56500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:16.85,lng:96.15,code:"PG022046"},{name:"Caribbean Hindi",country:"French Guiana",lang:"English",rol3:"eng",pct_christian:35,pop:13500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:4.91,lng:-52.3,code:"PG022284"},{name:"Southwest Aborigine Creol",country:"Australia",lang:"English",rol3:"eng",pct_christian:35,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-32.54,lng:115.99,code:"PG008068"},{name:"Anglo-Australian",country:"Singapore",lang:"English",rol3:"eng",pct_christian:35,pop:3e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:1.36,lng:103.82,code:"PG010684"},{name:"American",country:"Iceland",lang:"English",rol3:"eng",pct_christian:35,pop:1800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:64.14,lng:-21.89,code:"PG000293"},{name:"American",country:"Marshall Islands",lang:"English",rol3:"eng",pct_christian:35,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:7.1,lng:171.22,code:"PG009376"},{name:"American",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:19474e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:38.3,lng:-93.46,code:"PG043515"},{name:"Detribalized Aborigine",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:58e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.75,lng:144.18,code:"PG007863"},{name:"Jamaican",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:33e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-95.67,code:"PG047381"},{name:"Barbadian",country:"Barbados",lang:"English",rol3:"eng",pct_christian:25,pop:269e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:13.17,lng:-59.56,code:"PG016195"},{name:"American",country:"Panama",lang:"English",rol3:"eng",pct_christian:25,pop:186e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:9.06,lng:-79.38,code:"PG050309"},{name:"Barbadian",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:50500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:40.72,lng:-73.97,code:"PG046507"},{name:"Barbadian",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:40500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-95.67,code:"PG047394"},{name:"Bay Islands Creole",country:"Honduras",lang:"English",rol3:"eng",pct_christian:25,pop:2e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:16.34,lng:-86.39,code:"PG024758"},{name:"American",country:"Virgin Islands",lang:"English",rol3:"eng",pct_christian:25,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.96,lng:-64.8,code:"PG050296"},{name:"American",country:"New Zealand",lang:"English",rol3:"eng",pct_christian:25,pop:15e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-36.89,lng:174.78,code:"PG018513"},{name:"American",country:"Guam",lang:"English",rol3:"eng",pct_christian:25,pop:14e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:13.44,lng:144.78,code:"PG050299"},{name:"American",country:"Fiji",lang:"English",rol3:"eng",pct_christian:25,pop:4600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-18.13,lng:178.44,code:"PG018421"},{name:"Mono",country:"Cameroon",lang:"Fulfulde, Adamawa",rol3:"fub",pct_christian:25,pop:3700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:8.77,lng:14.12,code:"PG012705"},{name:"American",country:"Greenland",lang:"English",rol3:"eng",pct_christian:25,pop:3400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:64.18,lng:-51.7,code:"PG000286"},{name:"Maori",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.28,lng:-122.84,code:"PG050518"},{name:"Nakota (Assiniboine)",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.32,lng:-106.26,code:"PG043527"},{name:"Winnebago",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:42.22,lng:-96.6,code:"PG043689"},{name:"Wik-Ngathan",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:2e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-13.84,lng:141.57,code:"PG008118"},{name:"Polynesian",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.28,lng:-122.84,code:"PG050519"},{name:"Yankuntatjara",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:950,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-27.14,lng:133.83,code:"PG008134"},{name:"Maori",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:37.75,lng:-122.21,code:"PG047214"},{name:"African Americans",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:4054e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:39.04,lng:-100.02,code:"PG048741"},{name:"Eurasian",country:"Malaysia",lang:"English",rol3:"eng",pct_christian:17.5,pop:68500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:3.07,lng:101.64,code:"PG020233"},{name:"Bermudians",country:"Bermuda",lang:"English",rol3:"eng",pct_christian:17.5,pop:66e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:32.31,lng:-64.77,code:"PG016210"},{name:"Caymanian",country:"Cayman Islands",lang:"English",rol3:"eng",pct_christian:17.5,pop:60500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:19.42,lng:-80.89,code:"PG016216"},{name:"Nigerian",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:39500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:37.51,lng:-88.1,code:"PG047652"},{name:"Kenyan",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:26e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:43.83,lng:-79.46,code:"PG047469"},{name:"American",country:"Haiti",lang:"English",rol3:"eng",pct_christian:17.5,pop:19e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:18.55,lng:-72.32,code:"PG016382"},{name:"Ghanaian",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:49.22,lng:-122.99,code:"PG047407"},{name:"Passamaquoddy",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:3300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:46.36,lng:-67.46,code:"PG043437"},{name:"Tlingit",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:2300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:60.48,lng:-132.29,code:"PG043489"},{name:"Straits Salish",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:2e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.77,lng:-122.64,code:"PG043642"},{name:"Onondaga",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:43.05,lng:-80.11,code:"PG043451"},{name:"K’ómoks",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:350,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-124.96,code:"PG043374"},{name:"Rembarunga",country:"Australia",lang:"English",rol3:"eng",pct_christian:17.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-12.96,lng:134.58,code:"PG008058"},{name:"Irish, Northern",country:"United Kingdom",lang:"English",rol3:"eng",pct_christian:12.5,pop:166e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:54.61,lng:-6.69,code:"PG022219"},{name:"Afro-Trinidadian",country:"Trinidad and Tobago",lang:"English",rol3:"eng",pct_christian:12.5,pop:725e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:10.42,lng:-61.3,code:"PG016442"},{name:"Metis",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:704e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:47.13,lng:-97.19,code:"PG043455"},{name:"Gbaya",country:"Cameroon",lang:"Gbaya, Northwest",rol3:"gya",pct_christian:12.5,pop:442e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:6.26,lng:13.47,code:"PG012601"},{name:"American",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:402e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.97,lng:-107.63,code:"PG043500"},{name:"English Caribbean",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:394e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:46.73,lng:-90.31,code:"PG049256"},{name:"Han Chinese",country:"Singapore",lang:"English",rol3:"eng",pct_christian:12.5,pop:358e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020724"},{name:"Detribalized Amerindian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.64,lng:-115.72,code:"PG043384"},{name:"Sub-Saharan Africans, English-Speaking",country:"Belgium",lang:"English",rol3:"eng",pct_christian:12.5,pop:123e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.85,lng:4.38,code:"PG047833"},{name:"Arab, Egyptian",country:"Australia",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:12.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-31.94,lng:115.89,code:"PG020254"},{name:"Fijian",country:"Australia",lang:"English",rol3:"eng",pct_christian:12.5,pop:71500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.75,lng:144.18,code:"PG050451"},{name:"Cree, Woodland",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:68500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:54.6,lng:-106.15,code:"PG043378"},{name:"Dominican",country:"Dominica",lang:"English",rol3:"eng",pct_christian:12.5,pop:67e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:15.43,lng:-61.35,code:"PG016306"},{name:"Welsh",country:"Argentina",lang:"English",rol3:"eng",pct_christian:12.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-43.27,lng:-65.44,code:"PG017376"},{name:"Mohawk",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:44.18,lng:-77.77,code:"PG043441"},{name:"Barbadian",country:"United Kingdom",lang:"English",rol3:"eng",pct_christian:12.5,pop:24e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:51.5,lng:-.17,code:"PG048436"},{name:"Euronesian",country:"Fiji",lang:"English",rol3:"eng",pct_christian:12.5,pop:16500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-17.95,lng:178.24,code:"PG018419"},{name:"Polynesian",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG043599"},{name:"American",country:"Costa Rica",lang:"English",rol3:"eng",pct_christian:12.5,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:10.22,lng:-85.24,code:"PG025025"},{name:"Antiguan",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:8400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:35.93,lng:-98.82,code:"PG050335"},{name:"Tsimshian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:7700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:54.42,lng:-130.3,code:"PG043490"},{name:"Lillooet",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:7500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:50.68,lng:-121.92,code:"PG043432"},{name:"Nakota (Assiniboine)",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:6500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:52.17,lng:-107.03,code:"PG043354"},{name:"Kwakwakaʼwakw",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:6500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.72,lng:-127.5,code:"PG043427"},{name:"Sac & Fox Nation of Oklahoma",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:5800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:35.71,lng:-96.77,code:"PG050670"},{name:"Dakota",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:5500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.52,lng:-102.88,code:"PG043381"},{name:"American",country:"Micronesia",lang:"English",rol3:"eng",pct_christian:12.5,pop:5400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:6.95,lng:158.2,code:"PG018394"},{name:"Straits Salish",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.49,lng:-123.46,code:"PG043479"},{name:"Bahamian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:43.9,lng:-79.58,code:"PG050486"},{name:"Cree, Southern East",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.77,lng:-75.81,code:"PG043411"},{name:"Heiltsuk",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:52.3,lng:-128.28,code:"PG043406"},{name:"Tolowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:41.9,lng:-124.16,code:"PG050627"},{name:"Sac & Fox Tribe of the Mississippi in Iowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:41.98,lng:-92.65,code:"PG043616"},{name:"Iowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:39.99,lng:-95.39,code:"PG043277"},{name:"Central Africans",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:40.74,lng:-73.72,code:"PG047190"},{name:"Jamaican",country:"Germany",lang:"English",rol3:"eng",pct_christian:12.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.13,lng:11.56,code:"PG048546"},{name:"American",country:"Curacao",lang:"English",rol3:"eng",pct_christian:12.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:12.19,lng:-68.97,code:"PG016406"},{name:"Saint Lucian",country:"French Guiana",lang:"English",rol3:"eng",pct_christian:12.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:4.91,lng:-52.3,code:"PG022286"},{name:"Tubatulabal",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:36.07,lng:-118.31,code:"PG043660"},{name:"Euronesian",country:"Cook Islands",lang:"English",rol3:"eng",pct_christian:12.5,pop:850,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-21.23,lng:-159.78,code:"PG018317"},{name:"Nez Perce",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:46.28,lng:-116.41,code:"PG043560"},{name:"Salinan",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:35.83,lng:-120.77,code:"PG050637"},{name:"Kaska",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:58.79,lng:-126.96,code:"PG043421"},{name:"Anuta",country:"Solomon Islands",lang:"English",rol3:"eng",pct_christian:12.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-11.61,lng:169.85,code:"PG010725"},{name:"Sac & Fox Nation of Missouri in Kansas and Nebraska",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:450,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:40.01,lng:-95.52,code:"PG050671"},{name:"British",country:"Lesotho",lang:"English",rol3:"eng",pct_christian:12.5,pop:425,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-29.33,lng:27.51,code:"PG015281"},{name:"Haida",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:150,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:55.19,lng:-132.88,code:"PG043257"},{name:"Chinuk Wawa",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:125,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.37,lng:-123.2,code:"PG043372"},{name:"Cayuga",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:60,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:42.55,lng:-79,code:"PG043191"},{name:"Upper Tanana",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:62.07,lng:-140.22,code:"PG043497"},{name:"Chinese American",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:175e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:45.74,lng:-114.4,code:"PG050453"},{name:"Jamaican",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:588e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:32.14,lng:-77.63,code:"PG043284"},{name:"Detribalized Amerindian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:454e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:34.9,lng:-111.06,code:"PG043225"},{name:"Cape Verdean",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:309e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:37.42,lng:-74.94,code:"PG047254"},{name:"Ghanaian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:204e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:40.72,lng:-73.97,code:"PG046500"},{name:"Arab, Syro-Lebanese",country:"Australia",lang:"Arabic, Gulf",rol3:"afb",pct_christian:7.5,pop:192e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-33.38,lng:143.4,code:"PG020267"},{name:"Trinidadian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:174e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:40.69,lng:-73.86,code:"PG046512"},{name:"Choctaw",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:121e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:34.5,lng:-95.33,code:"PG043202"},{name:"Liberian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:107e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:40.72,lng:-73.97,code:"PG047273"},{name:"American",country:"Dominican Republic",lang:"English",rol3:"eng",pct_christian:7.5,pop:96500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:18.48,lng:-69.91,code:"PG016327"},{name:"Kenyan",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:96e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:33.32,lng:-92.72,code:"PG050473"},{name:"Anglo-Australian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:84e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:35.02,lng:-98.4,code:"PG043519"},{name:"Trinidadian",country:"Canada",lang:"English",rol3:"eng",pct_christian:7.5,pop:84e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-95.67,code:"PG047383"},{name:"Swahili",country:"United States",lang:"Swahili",rol3:"swh",pct_christian:7.5,pop:81500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:34.52,lng:-105.83,code:"PG047306"},{name:"Channel Islanders",country:"Guernsey",lang:"English",rol3:"eng",pct_christian:7.5,pop:65e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.48,lng:-2.52,code:"PG048818"},{name:"South African",country:"Canada",lang:"English",rol3:"eng",pct_christian:7.5,pop:44e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:47.85,lng:-102.06,code:"PG050480"},{name:"Cree, Plains",country:"Canada",lang:"English",rol3:"eng",pct_christian:7.5,pop:43e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:53.8,lng:-109.54,code:"PG043505"},{name:"Zari",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.87,lng:9.4,code:"PG014203"},{name:"British",country:"Zambia",lang:"English",rol3:"eng",pct_christian:7.5,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-15.4,lng:28.31,code:"PG015570"},{name:"Blackfoot, Siksika",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.66,lng:-112.87,code:"PG043538"},{name:"Bassa",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:10.67,lng:5.82,code:"PG033345"},{name:"American",country:"Ecuador",lang:"English",rol3:"eng",pct_christian:7.5,pop:28e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-.18,lng:-78.49,code:"PG017483"},{name:"Arab, Egyptian",country:"Germany",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:25500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:52.5,lng:13.4,code:"PG042462"},{name:"Potawatomi",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:24e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:39.34,lng:-95.84,code:"PG043601"},{name:"Euronesian",country:"Solomon Islands",lang:"English",rol3:"eng",pct_christian:7.5,pop:23500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-9.43,lng:159.96,code:"PG018398"},{name:"Halkomelem",country:"Canada",lang:"English",rol3:"eng",pct_christian:7.5,pop:21e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.22,lng:-121.97,code:"PG043403"},{name:"Tlingit",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:18e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:57.16,lng:-133.75,code:"PG043653"},{name:"Filipino",country:"New Zealand",lang:"English",rol3:"eng",pct_christian:7.5,pop:17e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-36.89,lng:174.78,code:"PG047593"},{name:"Comanche",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:34.56,lng:-98.43,code:"PG043209"},{name:"British",country:"Cayman Islands",lang:"English",rol3:"eng",pct_christian:7.5,pop:14e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:19.33,lng:-81.38,code:"PG016215"},{name:"Cheyenne",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:13500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:45.53,lng:-106.68,code:"PG043198"},{name:"American",country:"Papua New Guinea",lang:"English",rol3:"eng",pct_christian:7.5,pop:12e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:-9.45,lng:147.18,code:"PG022038"},{name:"Pueblo, Santa Clara",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:12e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Native American religions",lat:35.98,lng:-106.22,code:"PG050653"},{name:"Shuswap",country:"Canada",lang:"English",rol3:"eng",pct_christian:7.5,pop:11e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:51.26,lng:-120.93,code:"PG043468"}]},Algeria:{target_upg:38,target_pop:47320600,target_top_langs:["Arabic, Algerian","Kabyle","Tachawit","Tamazight, Central Atlas"],target_top_religion:"Islam",neighbors:[{name:"Han Chinese, Mandarin",country:"Algeria",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:55e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:36.73,lng:3.13,code:"PG049244"},{name:"Bakole",country:"Cameroon",lang:"French",rol3:"fra",pct_christian:35,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:4.43,lng:8.97,code:"PG012493"},{name:"PoaPoa",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:25,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-20.87,lng:164.66,code:"PG018370"},{name:"Romani, Vlax",country:"Belgium",lang:"Romani, Vlax",rol3:"rmy",pct_christian:17.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:50.85,lng:4.38,code:"PG000068"},{name:"Arab, Egyptian",country:"Australia",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:12.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-31.94,lng:115.89,code:"PG020254"},{name:"Euronesian",country:"French Polynesia",lang:"French",rol3:"fra",pct_christian:12.5,pop:58500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-17.56,lng:-149.57,code:"PG018408"},{name:"Euronesian",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:12.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-22.27,lng:166.45,code:"PG018406"},{name:"Aeke",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:12.5,pop:350,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-21.07,lng:164.88,code:"PG009564"},{name:"French",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:7.5,pop:93500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-21.33,lng:165.49,code:"PG018389"},{name:"Zari",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.87,lng:9.4,code:"PG014203"},{name:"Bassa",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:10.67,lng:5.82,code:"PG033345"},{name:"Arab, Egyptian",country:"Germany",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:25500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:52.5,lng:13.4,code:"PG042462"},{name:"Sake",country:"Gabon",lang:"French",rol3:"fra",pct_christian:7.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:.07,lng:11.63,code:"PG013210"},{name:"Burundi",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.58,lng:-73.7,code:"PG050494"},{name:"Burundi",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:37.74,lng:-92.31,code:"PG047181"},{name:"Arab, Egyptian",country:"Belgium",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:5300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:50.85,lng:4.38,code:"PG000053"},{name:"Kande",country:"Gabon",lang:"French",rol3:"fra",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-.09,lng:11.75,code:"PG013189"},{name:"Chadian",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.58,lng:-73.7,code:"PG050504"},{name:"New Caledonian",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.22,lng:-122.99,code:"PG047444"},{name:"Gabonese",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:38.9,lng:-77.19,code:"PG047191"},{name:"Chinese-Tahitian Creole",country:"French Polynesia",lang:"French",rol3:"fra",pct_christian:7.5,pop:300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-17.56,lng:-149.57,code:"PG018407"},{name:"Chadian",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:250,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:38.02,lng:-84.5,code:"PG047189"},{name:"Walloon",country:"Belgium",lang:"French",rol3:"fra",pct_christian:3.5,pop:3755e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:50.32,lng:4.95,code:"PG000076"},{name:"Swiss",country:"Switzerland",lang:"French",rol3:"fra",pct_christian:3.5,pop:2015e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:46.6,lng:6.93,code:"PG000585"},{name:"Egyptian Copt",country:"United States",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:3.5,pop:242e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:35.35,lng:-111.99,code:"PG047347"},{name:"Franco-Mauritian",country:"Mauritius",lang:"French",rol3:"fra",pct_christian:3.5,pop:72500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-20.25,lng:57.51,code:"PG015346"},{name:"Romani, Vlax, Kalderash",country:"Argentina",lang:"Romani, Vlax",rol3:"rmy",pct_christian:3.5,pop:61e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-34.65,lng:-58.56,code:"PG017346"},{name:"Romani, Vlax",country:"Colombia",lang:"Romani, Vlax",rol3:"rmy",pct_christian:3.5,pop:42e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:4.64,lng:-74.11,code:"PG016290"},{name:"Arab",country:"South Africa",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-26.17,lng:28.07,code:"PG015486"},{name:"Romanian",country:"France",lang:"French",rol3:"fra",pct_christian:3.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:48.84,lng:2.35,code:"PG000192"},{name:"Arab",country:"New Zealand",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-36.89,lng:174.78,code:"PG018478"},{name:"French Caribbean",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:6300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.5,lng:-73.81,code:"PG047395"},{name:"Togolese",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:5600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:45.52,lng:-73.68,code:"PG050478"},{name:"Congolese",country:"Spain",lang:"French",rol3:"fra",pct_christian:3.5,pop:4800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:40.41,lng:-3.69,code:"PG042340"},{name:"Abenaki",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:46.07,lng:-72.82,code:"PG043348"},{name:"Ivorian",country:"United States",lang:"French",rol3:"fra",pct_christian:3.5,pop:3600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:40.74,lng:-73.72,code:"PG047266"},{name:"Guinean",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.5,lng:-73.81,code:"PG047454"},{name:"Sighu",country:"Gabon",lang:"French",rol3:"fra",pct_christian:3.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-.84,lng:12.69,code:"PG013213"},{name:"Rwandan",country:"Netherlands",lang:"French",rol3:"fra",pct_christian:3.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:51.9,lng:4.47,code:"PG000430"},{name:"Gabonese",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:1600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.58,lng:-73.7,code:"PG050505"}]},Iraq:{target_upg:31,target_pop:46011e3,target_top_langs:["Arabic, Mesopotamian","Arabic, North Mesopotamian","Kurdish, Central","Kurdish, Northern"],target_top_religion:"Islam",neighbors:[{name:"Arab, Egyptian",country:"Australia",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:12.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-31.94,lng:115.89,code:"PG020254"},{name:"Armenian",country:"United Kingdom",lang:"Armenian",rol3:"hye",pct_christian:12.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000627"},{name:"Bangni",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:62500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:27.43,lng:92.97,code:"PG041887"},{name:"Assyrian",country:"Australia",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:7.5,pop:4e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.85,lng:151.03,code:"PG007833"},{name:"Arab, Egyptian",country:"Germany",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:25500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:52.5,lng:13.4,code:"PG042462"},{name:"Arab, Lebanese",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024837"},{name:"Arab, Palestinian",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024839"},{name:"Iranian",country:"Armenia",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:40.17,lng:44.49,code:"PG050098"},{name:"Arab, Egyptian",country:"Belgium",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:5300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:50.85,lng:4.38,code:"PG000053"},{name:"Iranian",country:"Greece",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:38.05,lng:23.7,code:"PG047071"},{name:"Kankali",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:27.7,lng:81.49,code:"PG049096"},{name:"Khadim",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:26.49,lng:74.65,code:"PG048969"},{name:"Egyptian Copt",country:"United States",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:3.5,pop:242e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:35.35,lng:-111.99,code:"PG047347"},{name:"Arab, Lebanese",country:"Canada",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:234e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.53,lng:-73.66,code:"PG043431"},{name:"Armenian",country:"Lebanon",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:22e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:33.87,lng:35.58,code:"PG048928"},{name:"Persian",country:"Canada",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:46.93,lng:-92.67,code:"PG043458"},{name:"Arab, Syrian",country:"United States",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:193e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.7,lng:-73.87,code:"PG043644"},{name:"Iranian",country:"Germany",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:175e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:52.51,lng:11.69,code:"PG000259"},{name:"Persian",country:"Turkiye",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:13e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:41.04,lng:28.87,code:"PG024581"},{name:"Armenian",country:"Iran",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:38.14,lng:46.37,code:"PG024130"},{name:"Chikwa",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:23.97,lng:84.3,code:"PG041852"},{name:"Persian",country:"United Kingdom",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:86e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:51.5,lng:-.17,code:"PG000643"},{name:"Assyrian",country:"Germany",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:7e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:50.03,lng:8.25,code:"PG000214"},{name:"Assyrian",country:"United States",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:7e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:37.75,lng:-122.21,code:"PG043528"},{name:"Armenian",country:"Turkiye",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:41.05,lng:28.9,code:"PG024538"},{name:"Kurd, Northern",country:"Russian Federation",lang:"Kurdish, Northern",rol3:"kmr",pct_christian:3.5,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:44.63,lng:39.24,code:"PG024465"},{name:"Arab",country:"South Africa",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-26.17,lng:28.07,code:"PG015486"},{name:"Assyrian",country:"Canada",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG043355"},{name:"Arab",country:"New Zealand",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-36.89,lng:174.78,code:"PG018478"},{name:"Persian",country:"Indonesia",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:-6.21,lng:106.83,code:"PG050238"},{name:"Persian",country:"South Korea",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:3500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:37.55,lng:126.99,code:"PG050237"},{name:"Dayare",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.79,lng:77.53,code:"PG049780"},{name:"Arab, Palestinian",country:"El Salvador",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:13.71,lng:-89.19,code:"PG039263"}]},"Myanmar (Burma)":{target_upg:58,target_pop:44445100,target_top_langs:["Burmese","Shan","Rakhine","Chinese, Mandarin"],target_top_religion:"Buddhism",neighbors:[{name:"Kayaw",country:"Myanmar",lang:"Kayaw",rol3:"kvl",pct_christian:75,pop:26e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:19.26,lng:96.85,code:"PG009414"},{name:"Zanniat Chin",country:"Myanmar",lang:"Chin, Falam",rol3:"cfm",pct_christian:75,pop:2e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23,lng:93.84,code:"PG009549"},{name:"Lushai",country:"Myanmar",lang:"Mizo",rol3:"lus",pct_christian:75,pop:19500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.44,lng:93.63,code:"PG009473"},{name:"Siyin Chin",country:"Myanmar",lang:"Chin, Siyin",rol3:"csy",pct_christian:75,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.41,lng:93.63,code:"PG009521"},{name:"Anal",country:"Myanmar",lang:"Anal",rol3:"anm",pct_christian:75,pop:50,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.21,lng:94.31,code:"PG022039"},{name:"Karen, S'gaw",country:"Myanmar",lang:"Karen, S’gaw",rol3:"ksw",pct_christian:62.5,pop:201e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:17.51,lng:96.16,code:"PG009518"},{name:"Tiddim Chin",country:"Myanmar",lang:"Chin, Tedim",rol3:"ctd",pct_christian:62.5,pop:256e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.5,lng:94.06,code:"PG009534"},{name:"Falam Chin",country:"Myanmar",lang:"Chin, Falam",rol3:"cfm",pct_christian:62.5,pop:147e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.02,lng:93.67,code:"PG022048"},{name:"Haka Chin",country:"Myanmar",lang:"Chin, Hakha",rol3:"cnh",pct_christian:62.5,pop:133e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:22.45,lng:93.8,code:"PG009431"},{name:"Rawang",country:"Myanmar",lang:"Rawang",rol3:"raw",pct_christian:62.5,pop:73500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:27.25,lng:97.97,code:"PG009509"},{name:"Kuki Chin",country:"Myanmar",lang:"Chin, Thado",rol3:"tcz",pct_christian:62.5,pop:41e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.9,lng:94.73,code:"PG009461"},{name:"K'cho Chin",country:"Myanmar",lang:"Chin, Müün",rol3:"mwq",pct_christian:62.5,pop:3e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:20.29,lng:94.3,code:"PG022045"},{name:"Ngawn Chin",country:"Myanmar",lang:"Chin, Ngawn",rol3:"cnw",pct_christian:62.5,pop:23e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.09,lng:93.85,code:"PG009493"},{name:"Bawm",country:"Myanmar",lang:"Chin, Bawm",rol3:"bgr",pct_christian:62.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.59,lng:92.9,code:"PG009408"},{name:"Pyen",country:"Myanmar",lang:"Pyen",rol3:"pyy",pct_christian:62.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:22.03,lng:99.65,code:"PG009506"},{name:"Lahu",country:"Myanmar",lang:"Lahu",rol3:"lhu",pct_christian:45,pop:2e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.58,lng:99.59,code:"PG009463"},{name:"Zome",country:"Myanmar",lang:"Zo",rol3:"zom",pct_christian:45,pop:61e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.53,lng:94.12,code:"PG009551"},{name:"Zotung Chin",country:"Myanmar",lang:"Chin, Zotung",rol3:"czt",pct_christian:45,pop:54e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:22.55,lng:93.32,code:"PG009552"},{name:"Chin, Mara",country:"Myanmar",lang:"Mara",rol3:"mrh",pct_christian:45,pop:25e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:22.05,lng:93.12,code:"PG009481"},{name:"Karen, Gheko",country:"Myanmar",lang:"Karen, Geko",rol3:"ghk",pct_christian:45,pop:17e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:19.51,lng:96.75,code:"PG009428"},{name:"Kawyaw",country:"Myanmar",lang:"Kawyaw",rol3:"kxf",pct_christian:45,pop:12e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:19.28,lng:97.08,code:"PG009479"},{name:"Naga, Konyak",country:"Myanmar",lang:"Naga, Konyak",rol3:"nbe",pct_christian:45,pop:2200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.56,lng:95.18,code:"PG009460"},{name:"Kachin",country:"Myanmar",lang:"Jingpho",rol3:"kac",pct_christian:35,pop:1065e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.05,lng:97.44,code:"PG009448"},{name:"Eurasian",country:"Myanmar",lang:"English",rol3:"eng",pct_christian:35,pop:56500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:16.85,lng:96.15,code:"PG022046"},{name:"Lashi",country:"Myanmar",lang:"Lacid",rol3:"lsi",pct_christian:35,pop:3e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.83,lng:98.25,code:"PG009469"},{name:"Rawngtu Chin",country:"Myanmar",lang:"Chin, Rawngtu",rol3:"weu",pct_christian:35,pop:5e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Polytheism",lat:21.55,lng:93.73,code:"PG009539"},{name:"Mro-Khimi",country:"Myanmar",lang:"Mro-Khimi",rol3:"cmr",pct_christian:25,pop:75e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:20.7,lng:92.98,code:"PG009456"},{name:"Karen, Geba",country:"Myanmar",lang:"Karen, Geba",rol3:"kvq",pct_christian:25,pop:4e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:19.5,lng:96.62,code:"PG009427"},{name:"Karen, Bghai",country:"Myanmar",lang:"Karen, Bwe",rol3:"bwe",pct_christian:25,pop:21e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.09,lng:96.72,code:"PG009510"},{name:"Karen, Yinbaw",country:"Myanmar",lang:"Yinbaw",rol3:"kvu",pct_christian:25,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:18.96,lng:97.21,code:"PG009546"},{name:"Anu",country:"Myanmar",lang:"Chin, Anu-Khongso",rol3:"anl",pct_christian:25,pop:4400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Polytheism",lat:21.31,lng:92.84,code:"PG009405"},{name:"Drung",country:"Myanmar",lang:"Drung",rol3:"duu",pct_christian:25,pop:400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Polytheism",lat:28.1,lng:97.69,code:"PG009535"},{name:"Achang",country:"Myanmar",lang:"Achang",rol3:"acn",pct_christian:17.5,pop:4e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Polytheism",lat:24.31,lng:97.54,code:"PG009475"},{name:"Karen, Zayein",country:"Myanmar",lang:"Zayein",rol3:"kxk",pct_christian:17.5,pop:14500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.8,lng:97.06,code:"PG009550"},{name:"Chin, Asho",country:"Myanmar",lang:"Chin, Asho",rol3:"csh",pct_christian:12.5,pop:32500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:20.4,lng:94.79,code:"PG009406"},{name:"Blang",country:"Myanmar",lang:"Blang",rol3:"blr",pct_christian:12.5,pop:16e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:21.5,lng:100.17,code:"PG022041"},{name:"Hmong Njua",country:"Myanmar",lang:"Hmong Njua",rol3:"hnj",pct_christian:12.5,pop:14500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Polytheism",lat:23.63,lng:97.65,code:"PG022056"},{name:"Hsifan",country:"Myanmar",lang:"Tibetan, Central",rol3:"bod",pct_christian:12.5,pop:5600,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Tibetan",lat:27.24,lng:97.64,code:"PG009445"},{name:"Karen, Mobwa",country:"Myanmar",lang:"Karen, Mobwa",rol3:"jkm",pct_christian:12.5,pop:4500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:18.98,lng:96.63,code:"PG048772"},{name:"Tawr Chin",country:"Myanmar",lang:"Chin, Tawr",rol3:"tcp",pct_christian:12.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:22.5,lng:93.78,code:"PG009532"},{name:"Han Chinese",country:"Myanmar",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:65e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:16.85,lng:96.15,code:"PG022047"},{name:"Karen, Kayan",country:"Myanmar",lang:"Kayan (Myanmar)",rol3:"pdu",pct_christian:7.5,pop:133e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.56,lng:96.82,code:"PG009497"},{name:"Tai Mao",country:"Myanmar",lang:"Tai Long",rol3:"thi",pct_christian:7.5,pop:12e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:23.89,lng:97.73,code:"PG047888"},{name:"Chin, Daai",country:"Myanmar",lang:"Chin, Daai",rol3:"dao",pct_christian:7.5,pop:41e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:21.05,lng:93.67,code:"PG009421"},{name:"Senthang",country:"Myanmar",lang:"Chin, Senthang",rol3:"sez",pct_christian:7.5,pop:33e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:22.46,lng:93.85,code:"PG009516"},{name:"Uppu",country:"Myanmar",lang:"Chin, Uppu",rol3:"cnb",pct_christian:7.5,pop:30500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Folk",lat:19.9,lng:94.08,code:"PG009419"},{name:"Hrangkhol",country:"Myanmar",lang:"Hrangkhol",rol3:"hra",pct_christian:7.5,pop:9e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:23.75,lng:93.78,code:"PG009444"},{name:"Karen, Paku",country:"Myanmar",lang:"Karen, Paku",rol3:"jkp",pct_christian:7.5,pop:5300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:18.94,lng:96.86,code:"PG009499"},{name:"Lisu",country:"Myanmar",lang:"Lisu",rol3:"lis",pct_christian:3.5,pop:327e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.78,lng:97.17,code:"PG009523"},{name:"Akha",country:"Myanmar",lang:"Akha",rol3:"ahk",pct_christian:3.5,pop:23e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:21.71,lng:99.8,code:"PG009402"},{name:"Karen, Pow Western",country:"Myanmar",lang:"Karen, Pwo Western",rol3:"pwo",pct_christian:3.5,pop:21e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:15.46,lng:97.72,code:"PG046602"},{name:"Khumi Chin",country:"Myanmar",lang:"Chin, Khumi",rol3:"cnk",pct_christian:3.5,pop:6e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:21.17,lng:92.98,code:"PG009457"},{name:"Naga, Tase",country:"Myanmar",lang:"Naga, Tangshang",rol3:"nst",pct_christian:3.5,pop:6e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.71,lng:96.23,code:"PG009528"},{name:"Riang",country:"Myanmar",lang:"Riang Lang",rol3:"ril",pct_christian:3.5,pop:57500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:23.22,lng:98.73,code:"PG009511"},{name:"Zaiwa",country:"Myanmar",lang:"Zaiwa",rol3:"atb",pct_christian:3.5,pop:38500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:24.47,lng:97.99,code:"PG009407"},{name:"Lao",country:"Myanmar",lang:"Lao",rol3:"lao",pct_christian:3.5,pop:26e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:16.85,lng:96.15,code:"PG009467"},{name:"Anong",country:"Myanmar",lang:"Lisu",rol3:"lis",pct_christian:3.5,pop:12500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:27.29,lng:98.68,code:"PG009495"},{name:"Karen, Lahta",country:"Myanmar",lang:"Lahta",rol3:"kvt",pct_christian:3.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:20.32,lng:96.89,code:"PG009462"},{name:"Karen, Yintale",country:"Myanmar",lang:"Yintale",rol3:"kvy",pct_christian:3.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:18.84,lng:97.26,code:"PG009547"},{name:"Samtao",country:"Myanmar",lang:"Samtao",rol3:"stu",pct_christian:3.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:21.3,lng:99.63,code:"PG022054"},{name:"Naga, Yimchungru",country:"Myanmar",lang:"Naga, Yimchungru",rol3:"yim",pct_christian:3.5,pop:5600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.38,lng:94.8,code:"PG009545"},{name:"Tailoi",country:"Myanmar",lang:"Tai Loi",rol3:"tlq",pct_christian:3.5,pop:5100,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:21.52,lng:100.94,code:"PG009525"},{name:"Lemo",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:75,pop:2300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:25.84,lng:98.78,code:"PG007252"},{name:"Syrian Christian",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:62.5,pop:4495e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:12.35,lng:76.09,code:"PG041308"},{name:"Naga, Tangkhul",country:"India",lang:"Naga, Tangkhul (India)",rol3:"nmf",pct_christian:62.5,pop:214e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:25.07,lng:94.38,code:"PG041697"},{name:"Soria",country:"India",lang:"Hindi",rol3:"hin",pct_christian:62.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.2,lng:77.09,code:"PG048955"},{name:"Rathodia",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:62.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:22.3,lng:73.39,code:"PG048948"},{name:"Bagti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:62.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:23.28,lng:86.43,code:"PG049044"},{name:"Naga, Tangkhul",country:"United States",lang:"Naga, Tangkhul (India)",rol3:"nmf",pct_christian:62.5,pop:100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:32.85,lng:-96.97,code:"PG050369"},{name:"Pulayan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:45,pop:154e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:10.06,lng:76.53,code:"PG041344"},{name:"Meghval",country:"India",lang:"Hindi",rol3:"hin",pct_christian:45,pop:377e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:26.87,lng:73.03,code:"PG041328"},{name:"Santal (Oriya)",country:"India",lang:"Odia",rol3:"ory",pct_christian:45,pop:176e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.8,lng:87.48,code:"PG046353"},{name:"Naga, Khiamngan",country:"India",lang:"Naga, Khiamniungan",rol3:"kix",pct_christian:45,pop:56e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:26.17,lng:94.89,code:"PG042023"},{name:"Hmong",country:"Vietnam",lang:"Hmong Daw",rol3:"mww",pct_christian:35,pop:133e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.86,lng:103.59,code:"PG011142"},{name:"Malai Arayan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:35,pop:48e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:9.65,lng:76.66,code:"PG041952"},{name:"Paravar",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:25,pop:162e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:8.62,lng:77,code:"PG041743"},{name:"Madgi",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:76500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.17,lng:79.45,code:"PG041802"},{name:"Gounder",country:"India",lang:"Tamil",rol3:"tam",pct_christian:25,pop:6e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:11.68,lng:78.22,code:"PG041906"},{name:"Maru",country:"China",lang:"Lhao Vo",rol3:"mhx",pct_christian:25,pop:31e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:24.33,lng:98.43,code:"PG007279"},{name:"Kerala Mudali",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:25,pop:11e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:9.44,lng:78.7,code:"PG049672"},{name:"Sediq",country:"Taiwan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:25,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:24.02,lng:121.35,code:"PG007536"},{name:"Godari",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:17.69,lng:83.22,code:"PG049205"},{name:"Chamail",country:"India",lang:"Hindi",rol3:"hin",pct_christian:25,pop:1200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:25.48,lng:85.95,code:"PG049469"},{name:"Ghogia",country:"India",lang:"Odia",rol3:"ory",pct_christian:25,pop:800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.15,lng:84.09,code:"PG049008"},{name:"Burmese",country:"Germany",lang:"Burmese",rol3:"mya",pct_christian:25,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:50,lng:8.01,code:"PG033529"},{name:"Arakala",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:375,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:18.11,lng:83.4,code:"PG049160"},{name:"Mala",country:"India",lang:"Telugu",rol3:"tel",pct_christian:17.5,pop:7615e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:16.36,lng:79.51,code:"PG041263"},{name:"Balmiki (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:17.5,pop:1295e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.44,lng:75.81,code:"PG048195"},{name:"Nadia",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:17.5,pop:69500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG041830"},{name:"Ojha",country:"India",lang:"Telugu",rol3:"tel",pct_christian:17.5,pop:46e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.74,lng:78.25,code:"PG041974"},{name:"Badhi",country:"India",lang:"Hindi",rol3:"hin",pct_christian:17.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:29.95,lng:77.55,code:"PG041480"},{name:"Lahu Shi",country:"Thailand",lang:"Lahu Shi",rol3:"lhi",pct_christian:17.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:18.98,lng:99.39,code:"PG010939"},{name:"Goudu",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:17.71,lng:83.25,code:"PG042158"},{name:"Sutar (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:17.5,pop:11e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.4,lng:71.23,code:"PG048301"},{name:"Black Karen",country:"Thailand",lang:"Pa’o",rol3:"blk",pct_christian:17.5,pop:850,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:19.74,lng:98.06,code:"PG010829"},{name:"Barmi",country:"India",lang:"Burmese",rol3:"mya",pct_christian:17.5,pop:600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:12.6,lng:92.83,code:"PG048889"},{name:"Bari (Oriya)",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:550,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.86,lng:84.8,code:"PG048204"},{name:"Candhai Maru",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:350,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.48,lng:83.97,code:"PG049648"},{name:"Madiga",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:9445e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:16.51,lng:79.06,code:"PG041253"},{name:"Chakkiliyan",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:1205e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.61,lng:77.71,code:"PG041373"},{name:"Nadua Shabar",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:659e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:19.9,lng:85.17,code:"PG049502"},{name:"Han Chinese",country:"New Zealand",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:214e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-36.89,lng:174.78,code:"PG018495"},{name:"Senva",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:12.5,pop:161e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG041682"},{name:"Mannan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:12.5,pop:145e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.8,lng:76.55,code:"PG041756"},{name:"Chakravar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:8.62,lng:77,code:"PG041956"},{name:"Bawa Dedh",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:12.5,pop:34500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG042035"},{name:"Samban",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:24500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:8.7,lng:77.49,code:"PG041752"},{name:"Mehtar",country:"India",lang:"Hindi",rol3:"hin",pct_christian:12.5,pop:2e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:16.22,lng:75.63,code:"PG042116"},{name:"Panchama",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:7800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:17.01,lng:81.79,code:"PG042086"},{name:"Peranakan",country:"Malaysia",lang:"Malay",rol3:"zlm",pct_christian:12.5,pop:5e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:3.4,lng:101.64,code:"PG018232"},{name:"Palliyan",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:4800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:9.89,lng:77.09,code:"PG049215"},{name:"Padigarajulu",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:15.58,lng:79.51,code:"PG049165"},{name:"Malayali",country:"Maldives",lang:"Malayalam",rol3:"mal",pct_christian:12.5,pop:950,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:4.17,lng:73.51,code:"PG006163"},{name:"Kuda",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.83,lng:85.53,code:"PG049016"},{name:"Gagra",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:12.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.84,lng:75.86,code:"PG049079"},{name:"Tharua",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:650,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.49,lng:86.93,code:"PG049031"},{name:"Gharrami",country:"India",lang:"Hindi",rol3:"hin",pct_christian:12.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:28.64,lng:77.12,code:"PG049392"},{name:"Han Chinese",country:"Kiribati",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:125,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:1.37,lng:173.11,code:"PG009087"},{name:"Han Chinese",country:"Tuvalu",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-8.5,lng:179.19,code:"PG018319"},{name:"Han Chinese, Mandarin",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:90145e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:37.37,lng:110.73,code:"PG006802"},{name:"Nadar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:6365e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:11.17,lng:77.82,code:"PG041309"},{name:"Han Chinese, Mandarin",country:"Taiwan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:4635e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:24.86,lng:121.36,code:"PG007518"},{name:"Santal (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:335e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:24,lng:88.81,code:"PG046352"},{name:"Vellalar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:308e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.78,lng:77.78,code:"PG041493"},{name:"Han Chinese, Mandarin",country:"United States",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:2345e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:45.74,lng:-114.4,code:"PG043261"},{name:"Pano",country:"India",lang:"Odia",rol3:"ory",pct_christian:7.5,pop:1735e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:21.04,lng:85.14,code:"PG041345"},{name:"Han Chinese",country:"Vietnam",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:162e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.04,lng:106.1,code:"PG033473"},{name:"Indian - Hindu",country:"South Africa",lang:"Hindi",rol3:"hin",pct_christian:7.5,pop:1365e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:-28.9,lng:26.75,code:"PG042180"},{name:"Han Chinese, Mandarin",country:"Canada",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:1055e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:46.93,lng:-92.67,code:"PG043404"},{name:"Han Chinese, Mandarin",country:"Japan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:736e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:35.72,lng:137.14,code:"PG048925"},{name:"Han Chinese",country:"Australia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:67e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-33.75,lng:144.18,code:"PG033443"},{name:"Bhangi (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:6e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.76,lng:72.13,code:"PG048218"},{name:"Cheruman",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:467e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.61,lng:76.25,code:"PG041452"},{name:"Han Chinese, Mandarin",country:"Singapore",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:467e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020728"},{name:"Han Chinese",country:"Brazil",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:28e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-23.17,lng:-45.54,code:"PG016864"},{name:"Malayali",country:"Malaysia",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:206e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:3.07,lng:101.64,code:"PG020224"},{name:"Han Chinese, Mandarin",country:"United Arab Emirates",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:202e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:24.67,lng:55.14,code:"PG049240"},{name:"Han Chinese, Mandarin",country:"North Korea",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:184e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:39,lng:125.92,code:"PG007584"},{name:"Han Chinese",country:"France",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:172e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:48.2,lng:2.3,code:"PG023131"},{name:"Malayali",country:"United States",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:165e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:40.72,lng:-73.97,code:"PG043340"},{name:"Han Chinese, Mandarin",country:"Hong Kong",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:163e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.38,lng:114.13,code:"PG050605"},{name:"Lodha, Savar",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:148e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.3,lng:87.43,code:"PG041753"},{name:"Telugu",country:"Malaysia",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:137e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:3.07,lng:101.62,code:"PG009356"},{name:"Ghanchi",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:129e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.02,lng:73.03,code:"PG041585"},{name:"Han Chinese, Mandarin",country:"Saudi Arabia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:24.68,lng:46.74,code:"PG049246"},{name:"Han Chinese",country:"Tanzania",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:106e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-6.83,lng:39.25,code:"PG014935"},{name:"Han Chinese",country:"Italy",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:1e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:44.22,lng:10.5,code:"PG000330"},{name:"Han Chinese",country:"South Korea",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:94500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:36.58,lng:127.64,code:"PG007589"},{name:"Han Chinese, Mandarin",country:"Tajikistan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:38.57,lng:68.77,code:"PG049245"},{name:"Bharathar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:81e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:8.94,lng:76.82,code:"PG049578"}]},Afghanistan:{target_upg:68,target_pop:43626100,target_top_langs:["Pashto, Southern","Dari","Pashto, Northern","Hazaragi"],target_top_religion:"Islam",neighbors:[{name:"Romani, Balkan",country:"Italy",lang:"Romani, Balkan",rol3:"rmn",pct_christian:62.5,pop:2500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:45.54,lng:9.19,code:"PG000312"},{name:"Balmiki (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:17.5,pop:1295e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.44,lng:75.81,code:"PG048195"},{name:"Gagra",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:12.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.84,lng:75.86,code:"PG049079"},{name:"Romani, Balkan",country:"Bulgaria",lang:"Romani, Balkan",rol3:"rmn",pct_christian:7.5,pop:267e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:42.86,lng:23.79,code:"PG000737"},{name:"Bangni",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:62500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:27.43,lng:92.97,code:"PG041887"},{name:"Iranian",country:"Armenia",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:40.17,lng:44.49,code:"PG050098"},{name:"Iranian",country:"Greece",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:38.05,lng:23.7,code:"PG047071"},{name:"Sorgir",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:7.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.34,lng:76.39,code:"PG049092"},{name:"Kankali",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:27.7,lng:81.49,code:"PG049096"},{name:"Khadim",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:26.49,lng:74.65,code:"PG048969"},{name:"Mazabi",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:3625e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:30.25,lng:74.91,code:"PG041301"},{name:"Persian",country:"Canada",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:46.93,lng:-92.67,code:"PG043458"},{name:"Iranian",country:"Germany",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:175e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:52.51,lng:11.69,code:"PG000259"},{name:"Persian",country:"Turkiye",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:13e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:41.04,lng:28.87,code:"PG024581"},{name:"Chikwa",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:23.97,lng:84.3,code:"PG041852"},{name:"Persian",country:"United Kingdom",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:86e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:51.5,lng:-.17,code:"PG000643"},{name:"Bhattra (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:79e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:30.98,lng:75.73,code:"PG041615"},{name:"Arain (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:30.37,lng:75.93,code:"PG048185"},{name:"Punjabi",country:"Singapore",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:15e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:1.36,lng:103.82,code:"PG010717"},{name:"Persian",country:"Indonesia",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:-6.21,lng:106.83,code:"PG050238"},{name:"Gandhila",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:6600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.34,lng:76.4,code:"PG049080"},{name:"Persian",country:"South Korea",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:3500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:37.55,lng:126.99,code:"PG050237"},{name:"Pinjara (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:3e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:29.48,lng:76.44,code:"PG048167"},{name:"Daoli",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.97,lng:76.55,code:"PG049445"},{name:"Dayare",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.79,lng:77.53,code:"PG049780"},{name:"Ahluwalia",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:1400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:31.39,lng:75.36,code:"PG049356"},{name:"Romani, Balkan",country:"France",lang:"Romani, Balkan",rol3:"rmn",pct_christian:3.5,pop:650,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:48.84,lng:2.35,code:"PG000134"}]},Yemen:{target_upg:20,target_pop:41244500,target_top_langs:["Arabic, Sanaani","Arabic, Ta'izzi-Adeni","Arabic, Hadrami","Somali"],target_top_religion:"Islam",neighbors:[{name:"Arab, Egyptian",country:"Australia",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:12.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-31.94,lng:115.89,code:"PG020254"},{name:"Hasidim",country:"United Kingdom",lang:"Hebrew",rol3:"heb",pct_christian:7.5,pop:32500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:51.5,lng:-.17,code:"PG000648"},{name:"Arab, Egyptian",country:"Germany",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:25500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:52.5,lng:13.4,code:"PG042462"},{name:"Arab, Lebanese",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024837"},{name:"Arab, Palestinian",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024839"},{name:"Arab, Egyptian",country:"Belgium",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:5300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:50.85,lng:4.38,code:"PG000053"},{name:"Indri",country:"South Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:7.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.78,lng:25.73,code:"PG012040"},{name:"Egyptian Copt",country:"United States",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:3.5,pop:242e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:35.35,lng:-111.99,code:"PG047347"},{name:"Arab, Lebanese",country:"Canada",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:234e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.53,lng:-73.66,code:"PG043431"},{name:"Arab, Syrian",country:"United States",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:193e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.7,lng:-73.87,code:"PG043644"},{name:"Delen",country:"Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:3.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.06,lng:29.58,code:"PG042814"},{name:"Arab, Palestinian",country:"El Salvador",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:13.71,lng:-89.19,code:"PG039263"}]},Morocco:{target_upg:29,target_pop:38094500,target_top_langs:["Arabic, Moroccan","Tachelhit","Tamazight, Central Atlas","Tarifit"],target_top_religion:"Islam",neighbors:[]},Uzbekistan:{target_upg:34,target_pop:35401700,target_top_langs:["Uzbek, Northern","Tajik","Kazakh","Karakalpak"],target_top_religion:"Islam",neighbors:[{name:"Korean",country:"Uzbekistan",lang:"Russian",rol3:"rus",pct_christian:12.5,pop:254e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:41.31,lng:69.26,code:"PG024684"},{name:"Pole",country:"Uzbekistan",lang:"Polish",rol3:"pol",pct_christian:7.5,pop:3700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:41.31,lng:69.26,code:"PG024310"},{name:"Han Chinese",country:"Uzbekistan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:1500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:41.33,lng:69.29,code:"PG024675"},{name:"Ukrainian",country:"Uzbekistan",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:47e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:41.31,lng:69.26,code:"PG024323"},{name:"Vietnamese",country:"Thailand",lang:"Vietnamese",rol3:"vie",pct_christian:25,pop:119e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:13.76,lng:100.56,code:"PG010933"},{name:"Romanian",country:"Czech Republic",lang:"Romanian",rol3:"ron",pct_christian:25,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:50.07,lng:14.47,code:"PG050033"},{name:"Russian",country:"Moldova",lang:"Russian",rol3:"rus",pct_christian:17.5,pop:133e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.13,lng:29.34,code:"PG000867"},{name:"Moldovan",country:"United States",lang:"Romanian",rol3:"ron",pct_christian:12.5,pop:49e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:40.17,lng:-74.79,code:"PG047277"},{name:"Armenian",country:"United Kingdom",lang:"Armenian",rol3:"hye",pct_christian:12.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000627"},{name:"Estonian",country:"Estonia",lang:"Estonian, Standard",rol3:"ekk",pct_christian:7.5,pop:9e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:58.67,lng:25.55,code:"PG000779"},{name:"Vietnamese",country:"Australia",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:174e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-33.38,lng:143.4,code:"PG008087"},{name:"Romanian",country:"United States",lang:"Romanian",rol3:"ron",pct_christian:7.5,pop:173e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:36.09,lng:-110.56,code:"PG043611"},{name:"Russian",country:"Australia",lang:"Russian",rol3:"rus",pct_christian:7.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.52,lng:142.46,code:"PG008063"},{name:"Estonian",country:"Canada",lang:"Estonian, Standard",rol3:"ekk",pct_christian:7.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG043392"},{name:"Iranian",country:"Armenia",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:40.17,lng:44.49,code:"PG050098"},{name:"Vietnamese",country:"New Zealand",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:4900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-36.89,lng:174.78,code:"PG018514"},{name:"Iranian",country:"Greece",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:38.05,lng:23.7,code:"PG047071"},{name:"Gelao",country:"Vietnam",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:23.08,lng:105.2,code:"PG011133"},{name:"Romanian",country:"Romania",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:1637e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:45.84,lng:24.98,code:"PG000899"},{name:"Russian",country:"Ukraine",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:708e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.69,lng:34.82,code:"PG042915"},{name:"Romanian",country:"Italy",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:13e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:44.5,lng:9.8,code:"PG048833"},{name:"Bulgarian",country:"Germany",lang:"Bulgarian",rol3:"bul",pct_christian:3.5,pop:411e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.5,lng:13.4,code:"PG042446"},{name:"Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:26e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.48,lng:12.44,code:"PG049403"},{name:"Armenian",country:"Lebanon",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:22e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:33.87,lng:35.58,code:"PG048928"},{name:"Jew",country:"Russian Federation",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:208e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:52.97,lng:74.32,code:"PG042910"},{name:"Persian",country:"Canada",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:46.93,lng:-92.67,code:"PG043458"},{name:"Iranian",country:"Germany",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:175e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:52.51,lng:11.69,code:"PG000259"},{name:"Russian",country:"Lithuania",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:155e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:55.25,lng:24.5,code:"PG000853"},{name:"Kinh",country:"Laos",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:138e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:17.97,lng:102.64,code:"PG020963"},{name:"Persian",country:"Turkiye",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:13e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:41.04,lng:28.87,code:"PG024581"},{name:"Armenian",country:"Iran",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:38.14,lng:46.37,code:"PG024130"},{name:"Jew, Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:99500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:52.5,lng:13.4,code:"PG046578"},{name:"Romanian",country:"Hungary",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:96500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:46.8,lng:20.84,code:"PG000835"},{name:"Persian",country:"United Kingdom",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:86e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:51.5,lng:-.17,code:"PG000643"},{name:"Vietnamese Migrant Workers",country:"Malaysia",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:85e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Confucianism",lat:5.35,lng:100.41,code:"PG046599"},{name:"Romanian ",country:"Austria",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:48.18,lng:16.35,code:"PG049963"},{name:"Russian",country:"United Kingdom",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:64e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000675"},{name:"Armenian",country:"Turkiye",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:41.05,lng:28.9,code:"PG024538"},{name:"Kurd, Northern",country:"Russian Federation",lang:"Kurdish, Northern",rol3:"kmr",pct_christian:3.5,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:44.63,lng:39.24,code:"PG024465"},{name:"Romanian",country:"Ireland",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:53.39,lng:-6.28,code:"PG048049"},{name:"Moldovan",country:"Canada",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:49.72,lng:-95.67,code:"PG047364"},{name:"Vietnamese",country:"Netherlands",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:8800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:52.47,lng:5.36,code:"PG000445"},{name:"Persian",country:"Indonesia",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:-6.21,lng:106.83,code:"PG050238"},{name:"Belarusian",country:"Argentina",lang:"Belarusian",rol3:"bel",pct_christian:3.5,pop:4600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-34.65,lng:-58.56,code:"PG017330"},{name:"Persian",country:"South Korea",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:3500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:37.55,lng:126.99,code:"PG050237"},{name:"Karakalpak",country:"Kazakhstan",lang:"Karakalpak",rol3:"kaa",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.62,lng:62.06,code:"PG024276"},{name:"Romanian",country:"Venezuela",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:10.48,lng:-66.88,code:"PG016490"}]},"Saudi Arabia":{target_upg:44,target_pop:31109500,target_top_langs:["Arabic, Najdi","Arabic, Hijazi","Bengali","Urdu"],target_top_religion:"Islam",neighbors:[{name:"Han Chinese, Mandarin",country:"Saudi Arabia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:113e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:24.68,lng:46.74,code:"PG049246"},{name:"Bagti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:62.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:23.28,lng:86.43,code:"PG049044"},{name:"Arab, Egyptian",country:"Australia",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:12.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-31.94,lng:115.89,code:"PG020254"},{name:"Santal (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:335e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:24,lng:88.81,code:"PG046352"},{name:"Arab, Syro-Lebanese",country:"Australia",lang:"Arabic, Gulf",rol3:"afb",pct_christian:7.5,pop:192e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-33.38,lng:143.4,code:"PG020267"},{name:"Lodha, Savar",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:148e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.3,lng:87.43,code:"PG041753"},{name:"Swahili",country:"United States",lang:"Swahili",rol3:"swh",pct_christian:7.5,pop:81500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:34.52,lng:-105.83,code:"PG047306"},{name:"Bangni",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:62500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:27.43,lng:92.97,code:"PG041887"},{name:"Kela",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:29e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:20.46,lng:85.67,code:"PG042031"},{name:"Baiti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:27e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:23.24,lng:88.24,code:"PG042100"},{name:"Arab, Egyptian",country:"Germany",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:25500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:52.5,lng:13.4,code:"PG042462"},{name:"Chhetri",country:"India",lang:"Nepali",rol3:"npi",pct_christian:7.5,pop:17e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.34,lng:89.24,code:"PG041565"},{name:"Arab, Lebanese",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024837"},{name:"Arab, Palestinian",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024839"},{name:"Arab, Egyptian",country:"Belgium",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:5300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:50.85,lng:4.38,code:"PG000053"},{name:"Indri",country:"South Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:7.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.78,lng:25.73,code:"PG012040"},{name:"Kankali",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:27.7,lng:81.49,code:"PG049096"},{name:"Khadim",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:26.49,lng:74.65,code:"PG048969"},{name:"Chagga",country:"Tanzania",lang:"Swahili",rol3:"swh",pct_christian:3.5,pop:1185e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-3.29,lng:37.08,code:"PG014916"},{name:"Bhangi (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:699e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.15,lng:87.53,code:"PG048219"},{name:"Kora",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:279e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:23.29,lng:86.43,code:"PG041592"},{name:"Egyptian Copt",country:"United States",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:3.5,pop:242e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:35.35,lng:-111.99,code:"PG047347"},{name:"Arab, Lebanese",country:"Canada",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:234e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.53,lng:-73.66,code:"PG043431"},{name:"Arab, Syrian",country:"United States",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:193e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.7,lng:-73.87,code:"PG043644"},{name:"Gurung",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:147e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:26.84,lng:90.63,code:"PG041693"},{name:"Nepali",country:"Bhutan",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:131e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.13,lng:89.79,code:"PG042388"},{name:"Chikwa",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:23.97,lng:84.3,code:"PG041852"},{name:"Damai (Nepali)",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:66500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.66,lng:89.08,code:"PG041874"},{name:"Koch",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:51e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:25.68,lng:88.93,code:"PG042084"},{name:"Kotal",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:42500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.42,lng:87.79,code:"PG041946"},{name:"Swahili",country:"Zambia",lang:"Swahili",rol3:"swh",pct_christian:3.5,pop:38500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-15.4,lng:28.31,code:"PG015634"},{name:"Bengali",country:"Nepal",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:31e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.42,lng:84.77,code:"PG006178"},{name:"Doai",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:21500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.05,lng:88.57,code:"PG042134"},{name:"Sarki",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:18e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.96,lng:88.33,code:"PG042059"},{name:"Delen",country:"Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:3.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.06,lng:29.58,code:"PG042814"},{name:"Paharia",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:9200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.37,lng:86.02,code:"PG049049"},{name:"Behera",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:3800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.3,lng:87.44,code:"PG041569"},{name:"Dayare",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.79,lng:77.53,code:"PG049780"},{name:"Zanzibari",country:"South Africa",lang:"Swahili",rol3:"swh",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-29.84,lng:30.93,code:"PG015550"},{name:"Arab, Palestinian",country:"El Salvador",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:13.71,lng:-89.19,code:"PG039263"},{name:"Kusunda",country:"Nepal",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:27.17,lng:85.13,code:"PG049141"}]},Ethiopia:{target_upg:33,target_pop:30668900,target_top_langs:["Somali","Amharic","Oromo, West Central","Oromo, Borana-Arsi-Guji"],target_top_religion:"Islam",neighbors:[{name:"Sidama",country:"Ethiopia",lang:"Sidamo",rol3:"sid",pct_christian:62.5,pop:524e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.66,lng:38.54,code:"PG011635"},{name:"Koorete",country:"Ethiopia",lang:"Koorete",rol3:"kqy",pct_christian:62.5,pop:252e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.79,lng:37.83,code:"PG011608"},{name:"Basketo",country:"Ethiopia",lang:"Basketo",rol3:"bst",pct_christian:62.5,pop:127e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.26,lng:36.56,code:"PG011552"},{name:"Konso",country:"Ethiopia",lang:"Konso",rol3:"kxc",pct_christian:45,pop:407e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:5.35,lng:37.39,code:"PG011607"},{name:"Naath",country:"Ethiopia",lang:"Nuer",rol3:"nus",pct_christian:45,pop:25e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:8.29,lng:34.17,code:"PG011572"},{name:"Oyda",country:"Ethiopia",lang:"Oyda",rol3:"oyd",pct_christian:45,pop:73500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.18,lng:36.81,code:"PG011629"},{name:"Bussa",country:"Ethiopia",lang:"Mositacha",rol3:"dox",pct_christian:45,pop:31e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.75,lng:37.22,code:"PG042702"},{name:"Wolaitta",country:"Ethiopia",lang:"Wolaytta",rol3:"wal",pct_christian:35,pop:305e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.68,lng:37.63,code:"PG011653"},{name:"Hadiyya",country:"Ethiopia",lang:"Hadiyya",rol3:"hdy",pct_christian:35,pop:2255e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.48,lng:37.77,code:"PG011591"},{name:"Gedeo",country:"Ethiopia",lang:"Gedeo",rol3:"drs",pct_christian:35,pop:158e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.15,lng:38.28,code:"PG011567"},{name:"Kambata",country:"Ethiopia",lang:"Kambaata",rol3:"ktb",pct_christian:35,pop:1025e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.29,lng:37.83,code:"PG011602"},{name:"Meen",country:"Ethiopia",lang:"Me’en",rol3:"mym",pct_christian:35,pop:242e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:6.86,lng:35.75,code:"PG011617"},{name:"Melo",country:"Ethiopia",lang:"Melo",rol3:"mfx",pct_christian:35,pop:168e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:6.51,lng:36.68,code:"PG011618"},{name:"Gidole",country:"Ethiopia",lang:"Dirasha",rol3:"gdl",pct_christian:35,pop:67e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.63,lng:37.38,code:"PG011583"},{name:"Tambaro",country:"Ethiopia",lang:"Kambaata",rol3:"ktb",pct_christian:25,pop:158e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.26,lng:37.48,code:"PG011648"},{name:"Guji",country:"Ethiopia",lang:"Oromo, Borana-Arsi-Guji",rol3:"gax",pct_christian:17.5,pop:938e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:6.17,lng:39.39,code:"PG011557"},{name:"Dawro",country:"Ethiopia",lang:"Dawro",rol3:"dwr",pct_christian:17.5,pop:88e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:6.97,lng:37.1,code:"PG011568"},{name:"Gofa",country:"Ethiopia",lang:"Gofa",rol3:"gof",pct_christian:17.5,pop:59e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.27,lng:37.17,code:"PG011587"},{name:"Gamo",country:"Ethiopia",lang:"Gamo",rol3:"gmv",pct_christian:12.5,pop:18e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.26,lng:37.18,code:"PG011579"},{name:"Chara",country:"Ethiopia",lang:"Tsaara",rol3:"cra",pct_christian:12.5,pop:21500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.35,lng:36.16,code:"PG011565"},{name:"Dache",country:"Ethiopia",lang:"Gamo",rol3:"gmv",pct_christian:7.5,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:5.96,lng:37.53,code:"PG042703"},{name:"Kachama",country:"Ethiopia",lang:"Kachama-Ganjule",rol3:"kcx",pct_christian:7.5,pop:4100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.88,lng:37.48,code:"PG011600"},{name:"Borana",country:"Ethiopia",lang:"Oromo, Borana-Arsi-Guji",rol3:"gax",pct_christian:3.5,pop:965e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:4.91,lng:38.51,code:"PG011558"},{name:"Ari",country:"Ethiopia",lang:"Aari",rol3:"aiw",pct_christian:3.5,pop:472e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:5.88,lng:36.5,code:"PG011548"},{name:"Mesqan",country:"Ethiopia",lang:"Mesqan",rol3:"mvz",pct_christian:3.5,pop:317e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:8.12,lng:38.39,code:"PG050130"},{name:"Zayse",country:"Ethiopia",lang:"Zayse",rol3:"zay",pct_christian:3.5,pop:29e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.78,lng:37.38,code:"PG011659"},{name:"Gorose",country:"Ethiopia",lang:"Ale",rol3:"gwd",pct_christian:3.5,pop:7200,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.46,lng:37.44,code:"PG042713"},{name:"Amhara",country:"Canada",lang:"Amharic",rol3:"amh",pct_christian:25,pop:14e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG047403"},{name:"Zari",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.87,lng:9.4,code:"PG014203"},{name:"Bassa",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:10.67,lng:5.82,code:"PG033345"},{name:"Eritreans",country:"Kenya",lang:"Tigrigna",rol3:"tir",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-1.3,lng:36.86,code:"PG050216"},{name:"Indri",country:"South Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:7.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.78,lng:25.73,code:"PG012040"},{name:"Komo",country:"Sudan",lang:"Komo (Sudan)",rol3:"xom",pct_christian:3.5,pop:36e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.82,lng:34.09,code:"PG012072"},{name:"Eritreans",country:"Uganda",lang:"Tigrigna",rol3:"tir",pct_christian:3.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:.34,lng:32.6,code:"PG050217"},{name:"Arab",country:"South Africa",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-26.17,lng:28.07,code:"PG015486"},{name:"Delen",country:"Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:3.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.06,lng:29.58,code:"PG042814"},{name:"Arab",country:"New Zealand",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-36.89,lng:174.78,code:"PG018478"},{name:"Ethiopian, Oromo",country:"United States",lang:"Oromo, West Central",rol3:"gaz",pct_christian:3.5,pop:7200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:38.9,lng:-77.19,code:"PG047338"}]},Niger:{target_upg:30,target_pop:27011e3,target_top_langs:["Hausa","Zarma","Fulfulde, Western Niger","Tamajaq, Tawallammat"],target_top_religion:"Islam",neighbors:[{name:"Gurma",country:"Niger",lang:"Gourmanchéma",rol3:"gux",pct_christian:3.5,pop:88500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:12.86,lng:1.82,code:"PG013599"},{name:"Yoruba",country:"Niger",lang:"Yoruba",rol3:"yor",pct_christian:3.5,pop:88500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:13.51,lng:2.12,code:"PG013615"},{name:"Burkina Faso",country:"Canada",lang:"Moore",rol3:"mos",pct_christian:12.5,pop:425,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:43.83,lng:-79.46,code:"PG047453"},{name:"Mossi",country:"Burkina Faso",lang:"Moore",rol3:"mos",pct_christian:7.5,pop:8335e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.73,lng:-1.3,code:"PG012424"},{name:"Mossi",country:"Ghana",lang:"Moore",rol3:"mos",pct_christian:7.5,pop:526e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:5.57,lng:-.22,code:"PG013360"},{name:"Zaore",country:"Burkina Faso",lang:"Moore",rol3:"mos",pct_christian:7.5,pop:68e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:12.36,lng:-1.52,code:"PG012427"},{name:"Zari",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.87,lng:9.4,code:"PG014203"},{name:"Bassa",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:10.67,lng:5.82,code:"PG033345"},{name:"Bambara",country:"Cote d’Ivoire",lang:"Bamanankan",rol3:"bam",pct_christian:3.5,pop:1485e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.88,lng:-7.05,code:"PG013042"},{name:"Mossi",country:"United States",lang:"Moore",rol3:"mos",pct_christian:3.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.74,lng:-73.72,code:"PG047647"}]},"Korea, North":{target_upg:2,target_pop:263e5,target_top_langs:["Korean","Language unknown"],target_top_religion:"Non-Religious",neighbors:[{name:"Han Chinese, Mandarin",country:"North Korea",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:184e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Agnosticism",lat:39,lng:125.92,code:"PG007584"},{name:"Korean",country:"Thailand",lang:"Korean",rol3:"kor",pct_christian:35,pop:20500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:13.76,lng:100.56,code:"PG010874"},{name:"Korean",country:"Argentina",lang:"Korean",rol3:"kor",pct_christian:25,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-34.65,lng:-58.56,code:"PG046918"},{name:"Korean",country:"Singapore",lang:"Korean",rol3:"kor",pct_christian:25,pop:24500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:1.36,lng:103.82,code:"PG010710"},{name:"Korean",country:"Taiwan",lang:"Korean",rol3:"kor",pct_christian:25,pop:7e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:22.63,lng:120.33,code:"PG007526"},{name:"Korean",country:"Northern Mariana Islands",lang:"Korean",rol3:"kor",pct_christian:25,pop:1600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:15.91,lng:145.61,code:"PG050228"},{name:"Korean",country:"Australia",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:167e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-33.85,lng:151.03,code:"PG021625"},{name:"Korean",country:"Canada",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:162e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:46.93,lng:-92.67,code:"PG043424"},{name:"Russian",country:"Moldova",lang:"Russian",rol3:"rus",pct_christian:17.5,pop:133e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.13,lng:29.34,code:"PG000867"},{name:"Korean",country:"United Kingdom",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:51.5,lng:-.17,code:"PG000650"},{name:"Korean",country:"New Zealand",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:38e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-36.89,lng:174.78,code:"PG047592"},{name:"Korean",country:"Hong Kong",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:8600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:22.38,lng:114.13,code:"PG050601"},{name:"Korean",country:"Paraguay",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-25.3,lng:-57.56,code:"PG017246"},{name:"Korean",country:"Guam",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:4300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:13.44,lng:144.78,code:"PG050301"},{name:"Korean",country:"Dominican Republic",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:18.48,lng:-69.91,code:"PG022409"},{name:"Korean",country:"South Korea",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:5025e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:36.38,lng:127.82,code:"PG048088"},{name:"Korean",country:"United States",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:1095e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:38.77,lng:-98.89,code:"PG043310"},{name:"Korean",country:"Uzbekistan",lang:"Russian",rol3:"rus",pct_christian:12.5,pop:254e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:41.31,lng:69.26,code:"PG024684"},{name:"Korean",country:"Kazakhstan",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:132e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:43.29,lng:76.91,code:"PG024281"},{name:"Korean",country:"Mozambique",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:36e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-25.89,lng:32.57,code:"PG015382"},{name:"Korean",country:"Madagascar",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:18e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-18.91,lng:47.53,code:"PG015310"},{name:"Korean",country:"Honduras",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:150,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:14.08,lng:-87.2,code:"PG024788"},{name:"Korean",country:"Brazil",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:48500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-23.57,lng:-46.57,code:"PG016974"},{name:"Korean",country:"Germany",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:50.12,lng:8.67,code:"PG000249"},{name:"Russian",country:"Australia",lang:"Russian",rol3:"rus",pct_christian:7.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.52,lng:142.46,code:"PG008063"},{name:"Korean",country:"Kyrgyzstan",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:19500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:42.88,lng:74.63,code:"PG024358"},{name:"Korean",country:"Iran",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:17500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:35.7,lng:51.38,code:"PG024174"},{name:"Korean",country:"Guatemala",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:14.6,lng:-90.55,code:"PG024719"},{name:"Korean",country:"Turkmenistan",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:5200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:37.94,lng:58.39,code:"PG024622"},{name:"Russian",country:"Ukraine",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:708e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.69,lng:34.82,code:"PG042915"},{name:"Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:26e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.48,lng:12.44,code:"PG049403"},{name:"Jew",country:"Russian Federation",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:208e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:52.97,lng:74.32,code:"PG042910"},{name:"Russian",country:"Lithuania",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:155e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:55.25,lng:24.5,code:"PG000853"},{name:"Jew, Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:99500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:52.5,lng:13.4,code:"PG046578"},{name:"Russian",country:"United Kingdom",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:64e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000675"},{name:"Korean",country:"France",lang:"Korean",rol3:"kor",pct_christian:3.5,pop:29e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:48.84,lng:2.35,code:"PG000171"},{name:"Korean",country:"Spain",lang:"Korean",rol3:"kor",pct_christian:3.5,pop:2900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:40.41,lng:-3.69,code:"PG042347"},{name:"Korean",country:"Panama",lang:"Korean",rol3:"kor",pct_christian:3.5,pop:325,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:9.02,lng:-79.5,code:"PG024842"}]},Nepal:{target_upg:214,target_pop:26044700,target_top_langs:["Nepali","Maithili","Tharu, Dangaura","Newar"],target_top_religion:"Hinduism",neighbors:[{name:"Rai, Chamlinge",country:"Nepal",lang:"Chamling",rol3:"rab",pct_christian:25,pop:15e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.06,lng:86.49,code:"PG006185"},{name:"Chepang",country:"Nepal",lang:"Chepang",rol3:"cdm",pct_christian:7.5,pop:68500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:27.58,lng:84.79,code:"PG006189"},{name:"Rai, Sampange",country:"Nepal",lang:"Sampang",rol3:"rav",pct_christian:7.5,pop:14e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.57,lng:85.77,code:"PG006288"},{name:"Munda",country:"Nepal",lang:"Munda",rol3:"unx",pct_christian:7.5,pop:9e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:26.75,lng:87.41,code:"PG006260"},{name:"Jirel",country:"Nepal",lang:"Jirel",rol3:"jul",pct_christian:7.5,pop:6500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:27.8,lng:85.63,code:"PG006224"},{name:"Lepcha",country:"Nepal",lang:"Lepcha",rol3:"lep",pct_christian:7.5,pop:4800,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Tibetan",lat:26.86,lng:87.66,code:"PG006247"},{name:"Koi",country:"Nepal",lang:"Koyee",rol3:"kkt",pct_christian:7.5,pop:3400,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.15,lng:86.8,code:"PG006235"},{name:"Nawa Sherpa",country:"Nepal",lang:"Naaba",rol3:"nao",pct_christian:7.5,pop:950,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:27.7,lng:87.34,code:"PG006265"},{name:"Danuwar",country:"Nepal",lang:"Danuwar",rol3:"dhw",pct_christian:3.5,pop:7e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.04,lng:86.13,code:"PG006196"},{name:"Santal",country:"Nepal",lang:"Santhali",rol3:"sat",pct_christian:3.5,pop:55500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:26.77,lng:86.99,code:"PG006289"},{name:"Bengali",country:"Nepal",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:31e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.42,lng:84.77,code:"PG006178"},{name:"Han Chinese",country:"Nepal",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:23e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:27.71,lng:85.32,code:"PG006216"},{name:"Yakha",country:"Nepal",lang:"Yakkha",rol3:"ybh",pct_christian:3.5,pop:22e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Other - Kirati",lat:27.08,lng:86.54,code:"PG006317"},{name:"Brahman (Hindi)",country:"Nepal",lang:"Hindi",rol3:"hin",pct_christian:3.5,pop:18e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.43,lng:85.17,code:"PG045937"},{name:"Badhi",country:"Nepal",lang:"Jumli",rol3:"jml",pct_christian:3.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:28.3,lng:82.82,code:"PG049104"},{name:"Lhomi",country:"Nepal",lang:"Lhomi",rol3:"lhm",pct_christian:3.5,pop:7300,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Tibetan",lat:27.75,lng:86.08,code:"PG006248"},{name:"British",country:"Nepal",lang:"English",rol3:"eng",pct_christian:3.5,pop:3300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:27.71,lng:85.32,code:"PG006183"},{name:"Raji",country:"Nepal",lang:"Raji",rol3:"rji",pct_christian:3.5,pop:3100,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:28.61,lng:81.28,code:"PG006282"},{name:"Syuba",country:"Nepal",lang:"Syuba",rol3:"syw",pct_christian:3.5,pop:1700,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Tibetan",lat:27.45,lng:86.19,code:"PG006226"},{name:"Kusunda",country:"Nepal",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:275,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:27.17,lng:85.13,code:"PG049141"},{name:"Koirao",country:"India",lang:"Boro (India)",rol3:"brx",pct_christian:75,pop:1800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:25.2,lng:94.05,code:"PG049766"},{name:"Majhi",country:"India",lang:"Majhi",rol3:"mjz",pct_christian:75,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.11,lng:88.35,code:"PG049075"},{name:"Ansari-Momin (Sadri)",country:"India",lang:"Sadri",rol3:"sck",pct_christian:75,pop:225,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:23.63,lng:85.55,code:"PG048700"},{name:"Hkauri",country:"China",lang:"Tibetan, Central",rol3:"bod",pct_christian:62.5,pop:40,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:24.55,lng:97.6,code:"PG022169"},{name:"Kharia",country:"India",lang:"Kharia",rol3:"khr",pct_christian:25,pop:889e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:22.47,lng:84.55,code:"PG041457"},{name:"Oraon",country:"Bhutan",lang:"Kurux",rol3:"kru",pct_christian:25,pop:4200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:26.88,lng:89.21,code:"PG001235"},{name:"Balmiki (Awadhi)",country:"India",lang:"Awadhi",rol3:"awa",pct_christian:17.5,pop:172e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.93,lng:78.08,code:"PG041289"},{name:"Balmiki (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:17.5,pop:1295e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.44,lng:75.81,code:"PG048195"},{name:"Domar",country:"India",lang:"Awadhi",rol3:"awa",pct_christian:12.5,pop:27e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:25.45,lng:80.38,code:"PG049077"},{name:"Hsifan",country:"Myanmar",lang:"Tibetan, Central",rol3:"bod",pct_christian:12.5,pop:5600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Tibetan",lat:27.24,lng:97.64,code:"PG009445"},{name:"Gagra",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:12.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.84,lng:75.86,code:"PG049079"},{name:"Dusadh",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:7.5,pop:691e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:25.23,lng:85.31,code:"PG041266"},{name:"Oraon",country:"India",lang:"Kurux",rol3:"kru",pct_christian:7.5,pop:551e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:24.4,lng:86.87,code:"PG041304"},{name:"Chamar (Awadhi)",country:"India",lang:"Awadhi",rol3:"awa",pct_christian:7.5,pop:1275e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.07,lng:80.62,code:"PG046031"},{name:"Amant",country:"India",lang:"Maithili",rol3:"mai",pct_christian:7.5,pop:244e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:25.04,lng:86.5,code:"PG042053"},{name:"Oraon",country:"Bangladesh",lang:"Kurux",rol3:"kru",pct_christian:7.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:25.86,lng:88.88,code:"PG001195"},{name:"Bangni",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:62500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:27.43,lng:92.97,code:"PG041887"},{name:"Badaik",country:"India",lang:"Sadri",rol3:"sck",pct_christian:7.5,pop:47500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.23,lng:84.86,code:"PG042092"},{name:"Parhaiya",country:"India",lang:"Sadri",rol3:"sck",pct_christian:7.5,pop:38e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.97,lng:84.3,code:"PG041928"},{name:"Chhetri",country:"India",lang:"Nepali",rol3:"npi",pct_christian:7.5,pop:17e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.34,lng:89.24,code:"PG041565"},{name:"Sorgir",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:7.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.34,lng:76.39,code:"PG049092"},{name:"Kankali",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:27.7,lng:81.49,code:"PG049096"},{name:"Khadim",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:26.49,lng:74.65,code:"PG048969"},{name:"Kharwar (Khotta)",country:"India",lang:"Maithili",rol3:"mai",pct_christian:7.5,pop:125,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.85,lng:87.96,code:"PG048298"},{name:"Yadava (Bhojpuri)",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:3.5,pop:8465e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:25.05,lng:84.06,code:"PG046313"},{name:"Chamar (Bhojpuri)",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:3.5,pop:455e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:25.65,lng:84.13,code:"PG046025"},{name:"Mazabi",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:3625e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:30.25,lng:74.91,code:"PG041301"},{name:"Boro",country:"India",lang:"Boro (India)",rol3:"brx",pct_christian:3.5,pop:1545e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.71,lng:89.29,code:"PG041371"},{name:"Kisan (Kurukh)",country:"India",lang:"Kurux",rol3:"kru",pct_christian:3.5,pop:544e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.1,lng:84.53,code:"PG041504"},{name:"Chamar (Maithili)",country:"India",lang:"Maithili",rol3:"mai",pct_christian:3.5,pop:43e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:26.09,lng:85.94,code:"PG046040"},{name:"Lohara",country:"India",lang:"Sadri",rol3:"sck",pct_christian:3.5,pop:324e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:25.14,lng:87.24,code:"PG041542"},{name:"Gurung",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:147e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:26.84,lng:90.63,code:"PG041693"},{name:"Nepali",country:"Bhutan",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:131e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.13,lng:89.79,code:"PG042388"},{name:"Beldar (Bhojpuri)",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:3.5,pop:115e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:26.35,lng:83.71,code:"PG048209"},{name:"Chikwa",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:23.97,lng:84.3,code:"PG041852"},{name:"Rajbhar",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:3.5,pop:89e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.68,lng:80.47,code:"PG042085"},{name:"Bhattra (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:79e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:30.98,lng:75.73,code:"PG041615"},{name:"Damai (Nepali)",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:66500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.66,lng:89.08,code:"PG041874"},{name:"Arain (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:30.37,lng:75.93,code:"PG048185"},{name:"Binjhia",country:"India",lang:"Sadri",rol3:"sck",pct_christian:3.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22,lng:82.34,code:"PG042025"},{name:"Gond (Sadri) ",country:"India",lang:"Sadri",rol3:"sck",pct_christian:3.5,pop:30500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.17,lng:85,code:"PG048262"},{name:"Sarki",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:18e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.96,lng:88.33,code:"PG042059"},{name:"Punjabi",country:"Singapore",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:15e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:1.36,lng:103.82,code:"PG010717"},{name:"Gorait",country:"India",lang:"Sadri",rol3:"sck",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:23.21,lng:85.33,code:"PG042169"},{name:"Gandhila",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:6600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.34,lng:76.4,code:"PG049080"},{name:"Boria",country:"India",lang:"Awadhi",rol3:"awa",pct_christian:3.5,pop:5e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:27.09,lng:82.01,code:"PG049076"},{name:"Sherpa",country:"Bhutan",lang:"Sherpa",rol3:"xsr",pct_christian:3.5,pop:3700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Tibetan",lat:27.49,lng:89.64,code:"PG048796"},{name:"Pinjara (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:3e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:29.48,lng:76.44,code:"PG048167"},{name:"Daoli",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.97,lng:76.55,code:"PG049445"},{name:"Dayare",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.79,lng:77.53,code:"PG049780"},{name:"Ahluwalia",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:1400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:31.39,lng:75.36,code:"PG049356"},{name:"Dhamin",country:"India",lang:"Maithili",rol3:"mai",pct_christian:3.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:25.82,lng:87.13,code:"PG049396"}]},Mali:{target_upg:44,target_pop:22708100,target_top_langs:["Bamanankan","Soninke","Senoufo, Mamara","Fulfulde, Maasina"],target_top_religion:"Islam",neighbors:[{name:"Dogon",country:"Mali",lang:"Dogon, Toro So",rol3:"dts",pct_christian:3.5,pop:107e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:14.21,lng:-3.27,code:"PG013545"},{name:"Bobo, Black",country:"Mali",lang:"Konabéré",rol3:"bbo",pct_christian:3.5,pop:48500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:12.6,lng:-4.54,code:"PG013536"},{name:"Burkina Faso",country:"Canada",lang:"Moore",rol3:"mos",pct_christian:12.5,pop:425,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:43.83,lng:-79.46,code:"PG047453"},{name:"Mossi",country:"Burkina Faso",lang:"Moore",rol3:"mos",pct_christian:7.5,pop:8335e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.73,lng:-1.3,code:"PG012424"},{name:"Mossi",country:"Ghana",lang:"Moore",rol3:"mos",pct_christian:7.5,pop:526e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:5.57,lng:-.22,code:"PG013360"},{name:"Zaore",country:"Burkina Faso",lang:"Moore",rol3:"mos",pct_christian:7.5,pop:68e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:12.36,lng:-1.52,code:"PG012427"},{name:"Fulfulde Masina",country:"Burkina Faso",lang:"Fulfulde, Maasina",rol3:"ffm",pct_christian:7.5,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:13.38,lng:-3.94,code:"PG012397"},{name:"Bambara",country:"Cote d’Ivoire",lang:"Bamanankan",rol3:"bam",pct_christian:3.5,pop:1485e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.88,lng:-7.05,code:"PG013042"},{name:"Mossi",country:"United States",lang:"Moore",rol3:"mos",pct_christian:3.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.74,lng:-73.72,code:"PG047647"}]},Somalia:{target_upg:20,target_pop:19407100,target_top_langs:["Somali","Maay","Swahili","Garre"],target_top_religion:"Islam",neighbors:[{name:"Swahili",country:"United States",lang:"Swahili",rol3:"swh",pct_christian:7.5,pop:81500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:34.52,lng:-105.83,code:"PG047306"},{name:"Chagga",country:"Tanzania",lang:"Swahili",rol3:"swh",pct_christian:3.5,pop:1185e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-3.29,lng:37.08,code:"PG014916"},{name:"Swahili",country:"Zambia",lang:"Swahili",rol3:"swh",pct_christian:3.5,pop:38500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-15.4,lng:28.31,code:"PG015634"},{name:"Zanzibari",country:"South Africa",lang:"Swahili",rol3:"swh",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-29.84,lng:30.93,code:"PG015550"}]},Malaysia:{target_upg:80,target_pop:18071880,target_top_langs:["Malay","Negeri Sembilan Malay","Bengali","Bajau, West Coast"],target_top_religion:"Islam",neighbors:[{name:"Chavacano",country:"Malaysia",lang:"Chavacano",rol3:"cbk",pct_christian:62.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:4.47,lng:118.57,code:"PG009226"},{name:"Bundu Dusun",country:"Malaysia",lang:"Kadazan Dusun",rol3:"dtp",pct_christian:45,pop:82e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.2,lng:116.43,code:"PG018481"},{name:"Tutoh Kenyah",country:"Malaysia",lang:"Long Wat",rol3:"ttw",pct_christian:45,pop:1500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:3.86,lng:114.62,code:"PG019323"},{name:"Beketan",country:"Malaysia",lang:"Bukitan",rol3:"bkn",pct_christian:45,pop:450,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:2.31,lng:113.01,code:"PG009208"},{name:"Central Dusun",country:"Malaysia",lang:"Kadazan Dusun",rol3:"dtp",pct_christian:35,pop:263e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:5.99,lng:116.62,code:"PG018484"},{name:"Tagal Murut",country:"Malaysia",lang:"Murut, Tahol",rol3:"mvv",pct_christian:35,pop:71e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:4.64,lng:116.14,code:"PG009348"},{name:"Southern Murut",country:"Malaysia",lang:"Lundayeh",rol3:"lnd",pct_christian:35,pop:32500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.42,lng:115.51,code:"PG019277"},{name:"Tambunan Dusun",country:"Malaysia",lang:"Kadazan Dusun",rol3:"dtp",pct_christian:35,pop:24e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.68,lng:116.39,code:"PG019283"},{name:"Madang",country:"Malaysia",lang:"Kenyah, Mainstream",rol3:"xkl",pct_christian:35,pop:23500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:3.5,lng:114.32,code:"PG009289"},{name:"Upper Kinabatangan",country:"Malaysia",lang:"Kinabatangan, Upper",rol3:"dmg",pct_christian:35,pop:12e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.42,lng:116.97,code:"PG019329"},{name:"Central Murut",country:"Malaysia",lang:"Murut, Keningau",rol3:"kxi",pct_christian:35,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:5.35,lng:116.23,code:"PG018486"},{name:"Kalabit",country:"Malaysia",lang:"Kelabit",rol3:"kzi",pct_christian:35,pop:6700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:3.76,lng:115.3,code:"PG009259"},{name:"Western Kenyah",country:"Malaysia",lang:"Uma’ Lasan",rol3:"xky",pct_christian:35,pop:3e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:2.06,lng:114.21,code:"PG019333"},{name:"Sekapan",country:"Malaysia",lang:"Sekapan",rol3:"skp",pct_christian:35,pop:1800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:2.6,lng:113.74,code:"PG018249"},{name:"Tungara",country:"Malaysia",lang:"Murut, Bookan",rol3:"bnb",pct_christian:35,pop:650,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:5.28,lng:116.53,code:"PG019322"},{name:"Bukar Sadong",country:"Malaysia",lang:"Bidayuh Serian",rol3:"sdo",pct_christian:25,pop:72500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:1.07,lng:110.62,code:"PG009221"},{name:"Sungai Dusun",country:"Malaysia",lang:"Kadazan, Labuk-Kinabatangan",rol3:"dtb",pct_christian:25,pop:62e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:5.68,lng:116.42,code:"PG019280"},{name:"Sugut Kadazan",country:"Malaysia",lang:"Sugut Dusun",rol3:"kzs",pct_christian:25,pop:19e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.13,lng:117.18,code:"PG019279"},{name:"Tobilang",country:"Malaysia",lang:"Tobilung",rol3:"tgb",pct_christian:25,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.56,lng:116.64,code:"PG009362"},{name:"Baram Kayan",country:"Malaysia",lang:"Kayan, Baram",rol3:"kys",pct_christian:25,pop:1e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:3.53,lng:114.46,code:"PG009203"},{name:"Sinabu",country:"Malaysia",lang:"Kinabatangan, Upper",rol3:"dmg",pct_christian:25,pop:2e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.3,lng:116.96,code:"PG019271"},{name:"Minokok Dusun",country:"Malaysia",lang:"Minokok",rol3:"mqq",pct_christian:25,pop:1700,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.46,lng:116.8,code:"PG018523"},{name:"Eurasian",country:"Malaysia",lang:"English",rol3:"eng",pct_christian:17.5,pop:68500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:3.07,lng:101.64,code:"PG020233"},{name:"Kimaragan",country:"Malaysia",lang:"Kimaragang",rol3:"kqr",pct_christian:17.5,pop:36e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.53,lng:117.02,code:"PG009265"},{name:"Eastern Kadazan",country:"Malaysia",lang:"Kadazan, Labuk-Kinabatangan",rol3:"dtb",pct_christian:17.5,pop:31500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:5.58,lng:117.41,code:"PG020232"},{name:"Tidung",country:"Malaysia",lang:"Tidung, Northern",rol3:"ntd",pct_christian:17.5,pop:24500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.34,lng:117.7,code:"PG019289"},{name:"Tudan Dusun",country:"Malaysia",lang:"Kadazan Dusun",rol3:"dtp",pct_christian:17.5,pop:17e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.01,lng:116.16,code:"PG019321"},{name:"Tambanua",country:"Malaysia",lang:"Tombonuo",rol3:"txa",pct_christian:17.5,pop:16500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:6.39,lng:117.23,code:"PG019282"},{name:"Tempasuk Dusun",country:"Malaysia",lang:"Kadazan Dusun",rol3:"dtp",pct_christian:17.5,pop:14500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.36,lng:116.55,code:"PG009358"},{name:"Balau",country:"Malaysia",lang:"Iban",rol3:"iba",pct_christian:17.5,pop:12e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:1.32,lng:110.85,code:"PG009199"},{name:"Kwijau Dusun",country:"Malaysia",lang:"Kuijau",rol3:"dkr",pct_christian:17.5,pop:12e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.43,lng:116.24,code:"PG009274"},{name:"Dusun Segama",country:"Malaysia",lang:"Kinabatangan, Upper",rol3:"dmg",pct_christian:17.5,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:5.16,lng:118.34,code:"PG020229"},{name:"Filipino",country:"Malaysia",lang:"Tagalog",rol3:"tgl",pct_christian:12.5,pop:874e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:3.07,lng:101.64,code:"PG018269"},{name:"Sea Dayak",country:"Malaysia",lang:"Iban",rol3:"iba",pct_christian:12.5,pop:68e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:2.27,lng:112.58,code:"PG009325"},{name:"Biatah",country:"Malaysia",lang:"Bidayuh, Biatah",rol3:"bth",pct_christian:12.5,pop:91e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:1.41,lng:110.32,code:"PG009211"},{name:"Rungus Dusun",country:"Malaysia",lang:"Rungus",rol3:"drg",pct_christian:12.5,pop:68e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.84,lng:116.91,code:"PG009320"},{name:"Sarawak Dayak",country:"Malaysia",lang:"Bidayuh, Bau",rol3:"sne",pct_christian:12.5,pop:31500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:1.46,lng:110.08,code:"PG009324"},{name:"Tutong",country:"Malaysia",lang:"Bisaya, Brunei",rol3:"bsb",pct_christian:12.5,pop:29e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.35,lng:114.68,code:"PG019324"},{name:"Tuaran Dusun",country:"Malaysia",lang:"Lotud",rol3:"dtr",pct_christian:12.5,pop:11e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.11,lng:116.24,code:"PG019320"},{name:"Lanas Lobu",country:"Malaysia",lang:"Lobu, Lanas",rol3:"ruu",pct_christian:12.5,pop:6100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.44,lng:116.54,code:"PG009276"},{name:"Millikin",country:"Malaysia",lang:"Remun",rol3:"lkj",pct_christian:12.5,pop:5500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:1.08,lng:110.66,code:"PG009300"},{name:"Peranakan",country:"Malaysia",lang:"Malay",rol3:"zlm",pct_christian:12.5,pop:5e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:3.4,lng:101.64,code:"PG018232"},{name:"Keningau Dusun",country:"Malaysia",lang:"Malay, Sabah",rol3:"msi",pct_christian:12.5,pop:4400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.4,lng:116.19,code:"PG019337"},{name:"Baokan",country:"Malaysia",lang:"Murut, Bookan",rol3:"bnb",pct_christian:12.5,pop:4200,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.28,lng:116.54,code:"PG009202"},{name:"Tampias Lobu",country:"Malaysia",lang:"Lobu, Tampias",rol3:"low",pct_christian:12.5,pop:4e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.74,lng:116.8,code:"PG019284"},{name:"Southern Kota Marudu",country:"Malaysia",lang:"Kadazan Dusun",rol3:"dtp",pct_christian:12.5,pop:2800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.46,lng:116.83,code:"PG019276"},{name:"Dusun - Murut",country:"Malaysia",lang:"Kadazan Dusun",rol3:"dtp",pct_christian:12.5,pop:2600,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.34,lng:116.17,code:"PG020231"},{name:"Klias River Kadazan",country:"Malaysia",lang:"Kadazan, Klias River",rol3:"kqt",pct_christian:12.5,pop:2500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.44,lng:115.63,code:"PG009270"},{name:"Han Chinese, Min Nan",country:"Malaysia",lang:"Chinese, Min Nan",rol3:"nan",pct_christian:7.5,pop:2375e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:3.94,lng:102.06,code:"PG046598"},{name:"Han Chinese, Cantonese",country:"Malaysia",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:19e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:3.65,lng:101.56,code:"PG046594"},{name:"Malayali",country:"Malaysia",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:206e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:3.07,lng:101.64,code:"PG020224"},{name:"Telugu",country:"Malaysia",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:137e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:3.07,lng:101.62,code:"PG009356"},{name:"Han Chinese, Hainanese",country:"Malaysia",lang:"Hainanese",rol3:"hnm",pct_christian:7.5,pop:79e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:3.07,lng:101.64,code:"PG046595"},{name:"Idahan Dusun",country:"Malaysia",lang:"Ida’an",rol3:"dbj",pct_christian:7.5,pop:18500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.38,lng:118.38,code:"PG009252"},{name:"Timogun Murut",country:"Malaysia",lang:"Murut, Timugon",rol3:"tih",pct_christian:7.5,pop:18500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:5.22,lng:115.85,code:"PG009361"},{name:"Kinabatangan Sungai",country:"Malaysia",lang:"Kadazan, Labuk-Kinabatangan",rol3:"dtb",pct_christian:7.5,pop:18e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:5.54,lng:117.88,code:"PG019338"},{name:"Lara",country:"Malaysia",lang:"Bakati’, Rara",rol3:"lra",pct_christian:7.5,pop:17500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:1.59,lng:109.77,code:"PG009280"},{name:"Penan",country:"Malaysia",lang:"Penan, Eastern",rol3:"pez",pct_christian:7.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:3.59,lng:114.98,code:"PG018231"},{name:"Tatana",country:"Malaysia",lang:"Tatana",rol3:"txx",pct_christian:7.5,pop:13e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.47,lng:115.52,code:"PG019285"},{name:"Kalabuan",country:"Malaysia",lang:"Kinabatangan, Upper",rol3:"dmg",pct_christian:7.5,pop:12500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:5.4,lng:117.02,code:"PG009260"},{name:"Sembakung Murut",country:"Malaysia",lang:"Murut, Sembakung",rol3:"sbr",pct_christian:7.5,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.38,lng:116.43,code:"PG009334"},{name:"Sebuyau",country:"Malaysia",lang:"Iban",rol3:"iba",pct_christian:7.5,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:1.45,lng:110.55,code:"PG018247"},{name:"Bintulu",country:"Malaysia",lang:"Vaie",rol3:"bny",pct_christian:7.5,pop:1e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:3.23,lng:112.98,code:"PG009212"},{name:"Selekau",country:"Malaysia",lang:"Kendayan",rol3:"knx",pct_christian:7.5,pop:1e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:1.71,lng:109.77,code:"PG018250"},{name:"Rejang Kayan",country:"Malaysia",lang:"Kayan, Rejang",rol3:"ree",pct_christian:7.5,pop:7400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:2.55,lng:113.9,code:"PG018236"},{name:"Sonsogon",country:"Malaysia",lang:"Kimaragang",rol3:"kqr",pct_christian:7.5,pop:4800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.5,lng:116.86,code:"PG019275"},{name:"Sibop Kenyah",country:"Malaysia",lang:"Sebop",rol3:"sib",pct_christian:7.5,pop:4200,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:3.35,lng:114.3,code:"PG019270"},{name:"Kalabakan Murut",country:"Malaysia",lang:"Murut, Kalabakan",rol3:"kve",pct_christian:7.5,pop:3400,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:4.53,lng:117.34,code:"PG009258"},{name:"Serudung Murut",country:"Malaysia",lang:"Murut, Serudung",rol3:"srk",pct_christian:7.5,pop:2e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.37,lng:117.31,code:"PG009338"},{name:"Saban",country:"Malaysia",lang:"Sa’ban",rol3:"snv",pct_christian:7.5,pop:1800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:3.22,lng:115.4,code:"PG009321"},{name:"Dumpas",country:"Malaysia",lang:"Dumpas",rol3:"dmv",pct_christian:7.5,pop:1700,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:5.97,lng:117.35,code:"PG009244"},{name:"Rejang Punan",country:"Malaysia",lang:"Punan Bah-Biau",rol3:"pna",pct_christian:7.5,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:2.09,lng:113.39,code:"PG009319"},{name:"Tring",country:"Malaysia",lang:"Tring",rol3:"tgq",pct_christian:7.5,pop:900,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:3.98,lng:114.64,code:"PG019319"},{name:"Selungai Murut",country:"Malaysia",lang:"Murut, Selungai",rol3:"slg",pct_christian:7.5,pop:600,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.52,lng:116.43,code:"PG009330"},{name:"Tamil",country:"Malaysia",lang:"Tamil",rol3:"tam",pct_christian:3.5,pop:26e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:3.9,lng:104.29,code:"PG009351"},{name:"Han Chinese, English",country:"Malaysia",lang:"English",rol3:"eng",pct_christian:3.5,pop:2395e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:3.04,lng:102.22,code:"PG046932"},{name:"Han Chinese, Mandarin",country:"Malaysia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:1015e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:4.14,lng:101.06,code:"PG046597"},{name:"Indonesian",country:"Malaysia",lang:"Indonesian",rol3:"ind",pct_christian:3.5,pop:343e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:3.07,lng:101.64,code:"PG020239"},{name:"Melanau",country:"Malaysia",lang:"Melanau, Central",rol3:"mel",pct_christian:3.5,pop:159e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:2.54,lng:111.89,code:"PG018518"},{name:"Coastal Kadazan",country:"Malaysia",lang:"Papar",rol3:"dpp",pct_christian:3.5,pop:137e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:5.43,lng:115.5,code:"PG020225"},{name:"Vietnamese Migrant Workers",country:"Malaysia",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:85e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Confucianism",lat:5.35,lng:100.41,code:"PG046599"},{name:"Kanarese",country:"Malaysia",lang:"Kannada",rol3:"kan",pct_christian:3.5,pop:72e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:1.51,lng:103.76,code:"PG019334"},{name:"Semai",country:"Malaysia",lang:"Semai",rol3:"sea",pct_christian:3.5,pop:6e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.11,lng:101.3,code:"PG009331"},{name:"Sinhalese",country:"Malaysia",lang:"Sinhala",rol3:"sin",pct_christian:3.5,pop:36e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:3.07,lng:101.64,code:"PG018261"},{name:"Burmese",country:"Malaysia",lang:"Burmese",rol3:"mya",pct_christian:3.5,pop:32500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:3.07,lng:101.64,code:"PG018483"},{name:"Temuan",country:"Malaysia",lang:"Temuan",rol3:"tmw",pct_christian:3.5,pop:22500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:3.56,lng:101.72,code:"PG009359"},{name:"Daro - Matu",country:"Malaysia",lang:"Melanau, Daro-Matu",rol3:"dro",pct_christian:3.5,pop:18500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:2.62,lng:111.54,code:"PG020227"},{name:"British",country:"Malaysia",lang:"English",rol3:"eng",pct_christian:3.5,pop:17e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated",lat:3.07,lng:101.62,code:"PG009217"},{name:"Japanese",country:"Malaysia",lang:"Japanese",rol3:"jpn",pct_christian:3.5,pop:17e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Shinbutso-shugo",lat:3.07,lng:101.64,code:"PG020241"},{name:"Semelai",country:"Malaysia",lang:"Semelai",rol3:"sza",pct_christian:3.5,pop:8e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:3.05,lng:102.62,code:"PG009335"},{name:"Peluan",country:"Malaysia",lang:"Murut, Paluan",rol3:"plz",pct_christian:3.5,pop:5700,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:5.12,lng:116.24,code:"PG009313"},{name:"Jah Hut",country:"Malaysia",lang:"Jah Hut",rol3:"jah",pct_christian:3.5,pop:5300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:3.59,lng:102.33,code:"PG009254"},{name:"Semoq Beri",country:"Malaysia",lang:"Semaq Beri",rol3:"szc",pct_christian:3.5,pop:5300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.06,lng:102.85,code:"PG009333"},{name:"Narom",country:"Malaysia",lang:"Narom",rol3:"nrm",pct_christian:3.5,pop:5200,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:4.21,lng:113.93,code:"PG009306"},{name:"Lower Murut",country:"Malaysia",lang:"Murut, Timugon",rol3:"tih",pct_christian:3.5,pop:3400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.18,lng:115.93,code:"PG020131"},{name:"Pandewan Murut",country:"Malaysia",lang:"Murut, Paluan",rol3:"plz",pct_christian:3.5,pop:2900,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.13,lng:116.22,code:"PG018226"},{name:"Murik Kayan",country:"Malaysia",lang:"Murik (Malaysia)",rol3:"mxr",pct_christian:3.5,pop:2700,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:3.6,lng:114.41,code:"PG009305"},{name:"Bakong Kenyah",country:"Malaysia",lang:"Kenyah, Mainstream",rol3:"xkl",pct_christian:3.5,pop:2100,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:1.48,lng:114.55,code:"PG009198"},{name:"Bateq",country:"Malaysia",lang:"Batek",rol3:"btq",pct_christian:3.5,pop:1800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.68,lng:102.47,code:"PG009204"},{name:"Bajau Bukit",country:"Malaysia",lang:"Papar",rol3:"dpp",pct_christian:3.5,pop:1500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:5.6,lng:115.6,code:"PG018466"},{name:"Berawan",country:"Malaysia",lang:"Berawan, West",rol3:"zbw",pct_christian:3.5,pop:1400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4,lng:114.71,code:"PG009210"},{name:"Orang Seletar",country:"Malaysia",lang:"Orang Seletar",rol3:"ors",pct_christian:3.5,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:1.6,lng:104.13,code:"PG018223"},{name:"Kayaman",country:"Malaysia",lang:"Kajaman",rol3:"kag",pct_christian:3.5,pop:1200,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:2.7,lng:114.06,code:"PG009262"},{name:"Siduan",country:"Malaysia",lang:"Melanau, Sibu",rol3:"sdx",pct_christian:3.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:2.33,lng:111.76,code:"PG009341"},{name:"Kanowit",country:"Malaysia",lang:"Melanau, Kanowit-Tanjong",rol3:"kxn",pct_christian:3.5,pop:425,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:2.06,lng:112.25,code:"PG009261"},{name:"Lanoh",country:"Malaysia",lang:"Lanoh",rol3:"lnh",pct_christian:3.5,pop:350,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.1,lng:101.03,code:"PG009279"},{name:"Ukit",country:"Malaysia",lang:"Ukit",rol3:"umi",pct_christian:3.5,pop:300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:2.71,lng:113.04,code:"PG019326"},{name:"Tanjong",country:"Malaysia",lang:"Melanau, Kanowit-Tanjong",rol3:"kxn",pct_christian:3.5,pop:250,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:2.06,lng:112.25,code:"PG009353"},{name:"Sian",country:"Malaysia",lang:"Sihan (Malaysia)",rol3:"spg",pct_christian:3.5,pop:175,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:2.7,lng:113.83,code:"PG009339"},{name:"Batu Punan",country:"Malaysia",lang:"Punan Batu",rol3:"pnm",pct_christian:3.5,pop:125,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.21,lng:114.35,code:"PG018470"},{name:"Orang Kanaq",country:"Malaysia",lang:"Malay",rol3:"zlm",pct_christian:3.5,pop:80,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:1.88,lng:104.03,code:"PG018222"},{name:"Lemo",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:75,pop:2300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:25.84,lng:98.78,code:"PG007252"},{name:"Soria",country:"India",lang:"Hindi",rol3:"hin",pct_christian:62.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.2,lng:77.09,code:"PG048955"},{name:"Rathodia",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:62.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:22.3,lng:73.39,code:"PG048948"},{name:"Bagti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:62.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:23.28,lng:86.43,code:"PG049044"},{name:"Meghval",country:"India",lang:"Hindi",rol3:"hin",pct_christian:45,pop:377e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:26.87,lng:73.03,code:"PG041328"},{name:"Gounder",country:"India",lang:"Tamil",rol3:"tam",pct_christian:25,pop:6e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:11.68,lng:78.22,code:"PG041906"},{name:"Sediq",country:"Taiwan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:25,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:24.02,lng:121.35,code:"PG007536"},{name:"Chamail",country:"India",lang:"Hindi",rol3:"hin",pct_christian:25,pop:1200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:25.48,lng:85.95,code:"PG049469"},{name:"Balmiki (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:17.5,pop:1295e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.44,lng:75.81,code:"PG048195"},{name:"Nadia",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:17.5,pop:69500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG041830"},{name:"Badhi",country:"India",lang:"Hindi",rol3:"hin",pct_christian:17.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:29.95,lng:77.55,code:"PG041480"},{name:"Sutar (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:17.5,pop:11e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.4,lng:71.23,code:"PG048301"},{name:"Han Chinese",country:"New Zealand",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:214e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-36.89,lng:174.78,code:"PG018495"},{name:"Senva",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:12.5,pop:161e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG041682"},{name:"Chakravar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:8.62,lng:77,code:"PG041956"},{name:"Bawa Dedh",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:12.5,pop:34500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG042035"},{name:"Han Chinese, Min Nan",country:"Canada",lang:"Chinese, Min Nan",rol3:"nan",pct_christian:12.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:45.42,lng:-75.69,code:"PG047427"},{name:"Samban",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:24500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:8.7,lng:77.49,code:"PG041752"},{name:"Mehtar",country:"India",lang:"Hindi",rol3:"hin",pct_christian:12.5,pop:2e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:16.22,lng:75.63,code:"PG042116"},{name:"Palliyan",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:4800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:9.89,lng:77.09,code:"PG049215"},{name:"Gagra",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:12.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.84,lng:75.86,code:"PG049079"},{name:"Gharrami",country:"India",lang:"Hindi",rol3:"hin",pct_christian:12.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:28.64,lng:77.12,code:"PG049392"},{name:"Han Chinese",country:"Kiribati",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:125,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:1.37,lng:173.11,code:"PG009087"},{name:"Han Chinese",country:"Tuvalu",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-8.5,lng:179.19,code:"PG018319"},{name:"Han Chinese, Mandarin",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:90145e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:37.37,lng:110.73,code:"PG006802"},{name:"Han Chinese, Min Nan",country:"China",lang:"Chinese, Min Nan",rol3:"nan",pct_christian:7.5,pop:3555e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:23.42,lng:115.05,code:"PG006805"},{name:"Nadar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:6365e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:11.17,lng:77.82,code:"PG041309"},{name:"Han Chinese, Mandarin",country:"Taiwan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:4635e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:24.86,lng:121.36,code:"PG007518"},{name:"Santal (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:335e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:24,lng:88.81,code:"PG046352"},{name:"Vellalar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:308e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.78,lng:77.78,code:"PG041493"},{name:"Han Chinese, Mandarin",country:"United States",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:2345e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:45.74,lng:-114.4,code:"PG043261"},{name:"Han Chinese, Min Nan",country:"Singapore",lang:"Chinese, Min Nan",rol3:"nan",pct_christian:7.5,pop:1785e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020729"},{name:"Han Chinese",country:"Vietnam",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:162e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.04,lng:106.1,code:"PG033473"},{name:"Indian - Hindu",country:"South Africa",lang:"Hindi",rol3:"hin",pct_christian:7.5,pop:1365e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:-28.9,lng:26.75,code:"PG042180"},{name:"Han Chinese, Mandarin",country:"Canada",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:1055e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:46.93,lng:-92.67,code:"PG043404"},{name:"Han Chinese, Mandarin",country:"Japan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:736e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:35.72,lng:137.14,code:"PG048925"},{name:"Han Chinese",country:"Australia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:67e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-33.75,lng:144.18,code:"PG033443"},{name:"Han Chinese",country:"Myanmar",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:65e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:16.85,lng:96.15,code:"PG022047"},{name:"Bhangi (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:6e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.76,lng:72.13,code:"PG048218"}]},Russia:{target_upg:120,target_pop:17727020,target_top_langs:["Tatar","Chechen","Bashkort","Avar"],target_top_religion:"Islam",neighbors:[{name:"Han Chinese, Mandarin",country:"Russian Federation",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:62e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:51.07,lng:119.29,code:"PG048686"},{name:"Ukrainian",country:"Russian Federation",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:112e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:51.59,lng:82.8,code:"PG048814"},{name:"Jew",country:"Russian Federation",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:208e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Agnosticism",lat:52.97,lng:74.32,code:"PG042910"},{name:"Kurd, Northern",country:"Russian Federation",lang:"Kurdish, Northern",rol3:"kmr",pct_christian:3.5,pop:35e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Shia",lat:44.63,lng:39.24,code:"PG024465"},{name:"Vietnamese",country:"Thailand",lang:"Vietnamese",rol3:"vie",pct_christian:25,pop:119e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:13.76,lng:100.56,code:"PG010933"},{name:"Russian",country:"Moldova",lang:"Russian",rol3:"rus",pct_christian:17.5,pop:133e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.13,lng:29.34,code:"PG000867"},{name:"Korean",country:"Uzbekistan",lang:"Russian",rol3:"rus",pct_christian:12.5,pop:254e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:41.31,lng:69.26,code:"PG024684"},{name:"Finn",country:"Canada",lang:"Finnish",rol3:"fin",pct_christian:12.5,pop:36500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:47.13,lng:-83.66,code:"PG043394"},{name:"Armenian",country:"United Kingdom",lang:"Armenian",rol3:"hye",pct_christian:12.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000627"},{name:"Saami, Aanaar",country:"Finland",lang:"Finnish",rol3:"fin",pct_christian:12.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:69.11,lng:27.17,code:"PG000110"},{name:"Vietnamese",country:"Australia",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:174e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-33.38,lng:143.4,code:"PG008087"},{name:"Russian",country:"Australia",lang:"Russian",rol3:"rus",pct_christian:7.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.52,lng:142.46,code:"PG008063"},{name:"Vietnamese",country:"New Zealand",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:4900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-36.89,lng:174.78,code:"PG018514"},{name:"Gelao",country:"Vietnam",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:23.08,lng:105.2,code:"PG011133"},{name:"Russian",country:"Ukraine",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:708e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.69,lng:34.82,code:"PG042915"},{name:"Finn",country:"Finland",lang:"Finnish",rol3:"fin",pct_christian:3.5,pop:4975e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:64.5,lng:26.27,code:"PG000109"},{name:"Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:26e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.48,lng:12.44,code:"PG049403"},{name:"Finn",country:"Sweden",lang:"Finnish",rol3:"fin",pct_christian:3.5,pop:223e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:58.52,lng:14.92,code:"PG000553"},{name:"Armenian",country:"Lebanon",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:22e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:33.87,lng:35.58,code:"PG048928"},{name:"Russian",country:"Lithuania",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:155e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:55.25,lng:24.5,code:"PG000853"},{name:"Kinh",country:"Laos",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:138e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:17.97,lng:102.64,code:"PG020963"},{name:"Armenian",country:"Iran",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:38.14,lng:46.37,code:"PG024130"},{name:"Jew, Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:99500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:52.5,lng:13.4,code:"PG046578"},{name:"Vietnamese Migrant Workers",country:"Malaysia",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:85e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Confucianism",lat:5.35,lng:100.41,code:"PG046599"},{name:"Russian",country:"United Kingdom",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:64e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000675"},{name:"Armenian",country:"Turkiye",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:41.05,lng:28.9,code:"PG024538"},{name:"Finn",country:"United States",lang:"Finnish",rol3:"fin",pct_christian:3.5,pop:39e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:46.89,lng:-88.69,code:"PG043240"},{name:"Vietnamese",country:"Netherlands",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:8800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:52.47,lng:5.36,code:"PG000445"},{name:"Belarusian",country:"Argentina",lang:"Belarusian",rol3:"bel",pct_christian:3.5,pop:4600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-34.65,lng:-58.56,code:"PG017330"}]},Cambodia:{target_upg:19,target_pop:17466400,target_top_langs:["Khmer","Vietnamese","Cham, Western","Chinese, Min Nan"],target_top_religion:"Buddhism",neighbors:[{name:"Thmaun",country:"Cambodia",lang:"Undetermined",rol3:"und",pct_christian:45,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:13.12,lng:106.43,code:"PG022376"},{name:"Stieng",country:"Cambodia",lang:"Stieng, Bulo",rol3:"sti",pct_christian:17.5,pop:6500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:12.11,lng:106.45,code:"PG008194"},{name:"Jarai",country:"Cambodia",lang:"Jarai",rol3:"jra",pct_christian:7.5,pop:21e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:13.64,lng:107.44,code:"PG020437"},{name:"Kachok",country:"Cambodia",lang:"Kachok",rol3:"xkk",pct_christian:7.5,pop:3900,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:13.93,lng:107.31,code:"PG020439"},{name:"Tamil",country:"Cambodia",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:1800,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:11.55,lng:104.91,code:"PG008196"},{name:"Han Chinese",country:"Cambodia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:519e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:11.55,lng:104.87,code:"PG033445"},{name:"Phnong",country:"Cambodia",lang:"Mnong, Central",rol3:"cmo",pct_christian:3.5,pop:47500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:12.77,lng:106.83,code:"PG020443"},{name:"Brao",country:"Cambodia",lang:"Brao",rol3:"brb",pct_christian:3.5,pop:9e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:14.32,lng:107.24,code:"PG018251"},{name:"Khmer Keh",country:"Cambodia",lang:"Khmer, Northern",rol3:"kxm",pct_christian:3.5,pop:5200,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Folk",lat:14.12,lng:106.34,code:"PG047854"},{name:"Rhade",country:"United States",lang:"Rade",rol3:"rad",pct_christian:62.5,pop:250,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:35.17,lng:-80.8,code:"PG050362"},{name:"Rhade",country:"Vietnam",lang:"Rade",rol3:"rad",pct_christian:45,pop:331e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:12.96,lng:108.31,code:"PG011211"},{name:"Vietnamese",country:"Thailand",lang:"Vietnamese",rol3:"vie",pct_christian:25,pop:119e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:13.76,lng:100.56,code:"PG010933"},{name:"Burmese",country:"Germany",lang:"Burmese",rol3:"mya",pct_christian:25,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:50,lng:8.01,code:"PG033529"},{name:"Barmi",country:"India",lang:"Burmese",rol3:"mya",pct_christian:17.5,pop:600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:12.6,lng:92.83,code:"PG048889"},{name:"Sin",country:"Laos",lang:"Lao",rol3:"lao",pct_christian:12.5,pop:300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:18.06,lng:105.09,code:"PG050561"},{name:"Vietnamese",country:"Australia",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:174e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-33.38,lng:143.4,code:"PG008087"},{name:"Vietnamese",country:"New Zealand",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:4900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-36.89,lng:174.78,code:"PG018514"},{name:"Gelao",country:"Vietnam",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:23.08,lng:105.2,code:"PG011133"},{name:"Kinh",country:"Laos",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:138e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:17.97,lng:102.64,code:"PG020963"},{name:"Vietnamese Migrant Workers",country:"Malaysia",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:85e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Confucianism",lat:5.35,lng:100.41,code:"PG046599"},{name:"Burmese",country:"Malaysia",lang:"Burmese",rol3:"mya",pct_christian:3.5,pop:32500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:3.07,lng:101.64,code:"PG018483"},{name:"Lao",country:"Myanmar",lang:"Lao",rol3:"lao",pct_christian:3.5,pop:26e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:16.85,lng:96.15,code:"PG009467"},{name:"Vietnamese",country:"Netherlands",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:8800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:52.47,lng:5.36,code:"PG000445"}]},Kazakhstan:{target_upg:39,target_pop:16547800,target_top_langs:["Kazakh","Uzbek, Northern","Uyghur","Tatar"],target_top_religion:"Islam",neighbors:[{name:"Latvian",country:"Kazakhstan",lang:"Latvian, Standard",rol3:"lvs",pct_christian:17.5,pop:2400,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated",lat:43.29,lng:76.91,code:"PG024285"},{name:"Ukrainian",country:"Kazakhstan",lang:"Ukrainian",rol3:"ukr",pct_christian:12.5,pop:415e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:48.48,lng:71.3,code:"PG024330"},{name:"Korean",country:"Kazakhstan",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:132e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:43.29,lng:76.91,code:"PG024281"},{name:"Pole",country:"Kazakhstan",lang:"Polish",rol3:"pol",pct_christian:12.5,pop:62e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:43.29,lng:76.91,code:"PG024292"},{name:"Han Chinese, Mandarin",country:"Kazakhstan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:6500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:51.17,lng:71.45,code:"PG049243"},{name:"Karakalpak",country:"Kazakhstan",lang:"Karakalpak",rol3:"kaa",pct_christian:3.5,pop:1900,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:45.62,lng:62.06,code:"PG024276"},{name:"Russian",country:"Moldova",lang:"Russian",rol3:"rus",pct_christian:17.5,pop:133e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.13,lng:29.34,code:"PG000867"},{name:"Korean",country:"Uzbekistan",lang:"Russian",rol3:"rus",pct_christian:12.5,pop:254e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:41.31,lng:69.26,code:"PG024684"},{name:"Romani, Sinte",country:"Canada",lang:"Romani, Sinte",rol3:"rmo",pct_christian:12.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.52,lng:-73.68,code:"PG043471"},{name:"Armenian",country:"United Kingdom",lang:"Armenian",rol3:"hye",pct_christian:12.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000627"},{name:"Estonian",country:"Estonia",lang:"Estonian, Standard",rol3:"ekk",pct_christian:7.5,pop:9e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:58.67,lng:25.55,code:"PG000779"},{name:"Russian",country:"Australia",lang:"Russian",rol3:"rus",pct_christian:7.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.52,lng:142.46,code:"PG008063"},{name:"Estonian",country:"Canada",lang:"Estonian, Standard",rol3:"ekk",pct_christian:7.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG043392"},{name:"Greek",country:"Czech Republic",lang:"Greek",rol3:"ell",pct_christian:7.5,pop:3600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:49.82,lng:17.98,code:"PG048862"},{name:"Russian",country:"Ukraine",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:708e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.69,lng:34.82,code:"PG042915"},{name:"Bulgarian",country:"Germany",lang:"Bulgarian",rol3:"bul",pct_christian:3.5,pop:411e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.5,lng:13.4,code:"PG042446"},{name:"Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:26e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.48,lng:12.44,code:"PG049403"},{name:"Armenian",country:"Lebanon",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:22e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:33.87,lng:35.58,code:"PG048928"},{name:"Jew",country:"Russian Federation",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:208e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:52.97,lng:74.32,code:"PG042910"},{name:"Russian",country:"Lithuania",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:155e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:55.25,lng:24.5,code:"PG000853"},{name:"Armenian",country:"Iran",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:38.14,lng:46.37,code:"PG024130"},{name:"Jew, Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:99500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:52.5,lng:13.4,code:"PG046578"},{name:"Russian",country:"United Kingdom",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:64e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000675"},{name:"Armenian",country:"Turkiye",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:41.05,lng:28.9,code:"PG024538"},{name:"Kurd, Northern",country:"Russian Federation",lang:"Kurdish, Northern",rol3:"kmr",pct_christian:3.5,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:44.63,lng:39.24,code:"PG024465"}]},Senegal:{target_upg:30,target_pop:15310200,target_top_langs:["Wolof","Pulaar","Maninkakan, Western","Mandinka"],target_top_religion:"Islam",neighbors:[{name:"Caboverdian Mestico",country:"Senegal",lang:"Kabuverdianu",rol3:"kea",pct_christian:12.5,pop:54e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:14.73,lng:-17.44,code:"PG014223"},{name:"English Creole",country:"Senegal",lang:"Krio",rol3:"kri",pct_christian:3.5,pop:9600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:14.73,lng:-17.44,code:"PG014225"},{name:"Papel",country:"Senegal",lang:"Papel",rol3:"pbo",pct_christian:3.5,pop:9600,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:12.57,lng:-16.27,code:"PG014254"},{name:"Bambara",country:"Cote d’Ivoire",lang:"Bamanankan",rol3:"bam",pct_christian:3.5,pop:1485e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.88,lng:-7.05,code:"PG013042"},{name:"Mandyak",country:"Gambia",lang:"Mandjak",rol3:"mfv",pct_christian:3.5,pop:47e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:13.39,lng:-16.69,code:"PG013238"},{name:"Badyara",country:"Guinea-Bissau",lang:"Badyara",rol3:"pbp",pct_christian:3.5,pop:7300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.59,lng:-13.77,code:"PG013442"}]},"United States":{target_upg:98,target_pop:14806100,target_top_langs:["English","Hindi","Gujarati","Russian"],target_top_religion:"Ethnic Religions",neighbors:[{name:"Mennonite",country:"United States",lang:"Plautdietsch",rol3:"pdt",pct_christian:62.5,pop:15500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.43,lng:-97.5,code:"PG043327"},{name:"Kachin, Rawang",country:"United States",lang:"Rawang",rol3:"raw",pct_christian:62.5,pop:750,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:32.85,lng:-96.97,code:"PG050380"},{name:"Bunong",country:"United States",lang:"Mnong, Central",rol3:"cmo",pct_christian:62.5,pop:450,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.28,lng:-80.21,code:"PG050338"},{name:"Rhade",country:"United States",lang:"Rade",rol3:"rad",pct_christian:62.5,pop:250,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.17,lng:-80.8,code:"PG050362"},{name:"Chin, Zomi",country:"United States",lang:"Zo",rol3:"zom",pct_christian:62.5,pop:225,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:36.03,lng:-85.61,code:"PG050344"},{name:"Chin, Zotung",country:"United States",lang:"Chin, Zotung",rol3:"czt",pct_christian:62.5,pop:175,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:36.28,lng:-89.53,code:"PG050345"},{name:"Chin, Haka",country:"United States",lang:"Chin, Hakha",rol3:"cnh",pct_christian:62.5,pop:150,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:37.35,lng:-90.04,code:"PG050340"},{name:"Naga, Tangkhul",country:"United States",lang:"Naga, Tangkhul (India)",rol3:"nmf",pct_christian:62.5,pop:100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:32.85,lng:-96.97,code:"PG050369"},{name:"Niuean",country:"United States",lang:"Niue",rol3:"niu",pct_christian:62.5,pop:80,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG047289"},{name:"Chin, Falam",country:"United States",lang:"Chin, Falam",rol3:"cfm",pct_christian:62.5,pop:30,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:34.09,lng:-81.04,code:"PG050339"},{name:"Chin, Mara",country:"United States",lang:"Mara",rol3:"mrh",pct_christian:62.5,pop:30,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:34.09,lng:-81.04,code:"PG050341"},{name:"Chin, Tiddim",country:"United States",lang:"Chin, Tedim",rol3:"ctd",pct_christian:62.5,pop:30,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:34.09,lng:-81.04,code:"PG050342"},{name:"Kuripako",country:"United States",lang:"Curripaco",rol3:"kpc",pct_christian:45,pop:225,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:40.74,lng:-73.72,code:"PG043219"},{name:"Lisu",country:"United States",lang:"Lisu",rol3:"lis",pct_christian:45,pop:150,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:34.05,lng:-112.65,code:"PG050353"},{name:"Koho",country:"United States",lang:"Koho",rol3:"kpm",pct_christian:35,pop:3100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.17,lng:-80.8,code:"PG050364"},{name:"French Polynesian",country:"United States",lang:"Tahitian",rol3:"tah",pct_christian:35,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG047193"},{name:"Karen S'gaw",country:"United States",lang:"Karen, S’gaw",rol3:"ksw",pct_christian:35,pop:325,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.35,lng:-119.02,code:"PG047263"},{name:"American",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:19474e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:38.3,lng:-93.46,code:"PG043515"},{name:"Yoruba",country:"United States",lang:"Yoruba",rol3:"yor",pct_christian:25,pop:152e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - African Traditional Religion",lat:38.9,lng:-77.19,code:"PG047644"},{name:"Barbadian",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:50500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:40.72,lng:-73.97,code:"PG046507"},{name:"Bahamian",country:"United States",lang:"Bahamas English Creole",rol3:"bah",pct_christian:25,pop:33e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.18,lng:-80.23,code:"PG043531"},{name:"Marshallese",country:"United States",lang:"Marshallese",rol3:"mah",pct_christian:25,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG047281"},{name:"Jarai",country:"United States",lang:"Jarai",rol3:"jra",pct_christian:25,pop:4500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:35.17,lng:-80.8,code:"PG050355"},{name:"Nakota (Assiniboine)",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:2400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:48.32,lng:-106.26,code:"PG043527"},{name:"Rwandan",country:"United States",lang:"Kinyarwanda",rol3:"kin",pct_christian:25,pop:2400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:40.74,lng:-73.72,code:"PG047295"},{name:"Winnebago",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:2100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:42.22,lng:-96.6,code:"PG043689"},{name:"Motilon, Bari",country:"United States",lang:"Barí",rol3:"mot",pct_christian:25,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:40.74,lng:-73.72,code:"PG043532"},{name:"Madi",country:"United States",lang:"Ma’di",rol3:"mhi",pct_christian:25,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:29.79,lng:-95.4,code:"PG050386"},{name:"Maori",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:37.75,lng:-122.21,code:"PG047214"},{name:"Zapotec, Cajonos",country:"United States",lang:"Zapotec, Cajonos",rol3:"zad",pct_christian:25,pop:400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:34.22,lng:-118.15,code:"PG049292"},{name:"Kachin, Jingpho",country:"United States",lang:"Jingpho",rol3:"kac",pct_christian:25,pop:175,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:31.43,lng:-96.28,code:"PG047264"},{name:"Marquesan",country:"United States",lang:"Marquesan, North",rol3:"mrq",pct_christian:25,pop:150,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:21.46,lng:-157.97,code:"PG047282"},{name:"Rarotongan",country:"United States",lang:"Cook Islands Maori",rol3:"rar",pct_christian:25,pop:100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG047297"},{name:"African Americans",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:4054e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:39.04,lng:-100.02,code:"PG048741"},{name:"Tzeltal",country:"United States",lang:"Tzeltal",rol3:"tzh",pct_christian:17.5,pop:85e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.17,lng:-119.44,code:"PG049313"},{name:"Nigerian",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:39500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:37.51,lng:-88.1,code:"PG047652"},{name:"Hutterite",country:"United States",lang:"Hutterisch",rol3:"geh",pct_christian:17.5,pop:7e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:46.28,lng:-104.13,code:"PG043273"},{name:"Montserratian",country:"United States",lang:"Leeward Caribbean English Creole",rol3:"aig",pct_christian:17.5,pop:5100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.18,lng:-80.23,code:"PG047292"},{name:"Straits Salish",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:2e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:48.77,lng:-122.64,code:"PG043642"},{name:"Melanesian",country:"United States",lang:"Tok Pisin",rol3:"tpi",pct_christian:17.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:38.78,lng:-121,code:"PG046504"},{name:"Mokilese",country:"United States",lang:"Mokilese",rol3:"mkj",pct_christian:17.5,pop:550,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG047278"},{name:"Kikuyu",country:"United States",lang:"Gikuyu",rol3:"kik",pct_christian:17.5,pop:550,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:38.94,lng:-94.44,code:"PG050382"},{name:"Zapotec, Southern Rincon",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:32.36,lng:-109.45,code:"PG049308"},{name:"Puerto Rican",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:4035e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.35,lng:-95.96,code:"PG043603"},{name:"Filipino, Tagalog",country:"United States",lang:"Tagalog",rol3:"tgl",pct_christian:12.5,pop:252e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.26,lng:-104.56,code:"PG043239"},{name:"Korean",country:"United States",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:1095e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:38.77,lng:-98.89,code:"PG043310"},{name:"Latvian",country:"United States",lang:"Latvian, Standard",rol3:"lvs",pct_christian:12.5,pop:111e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated",lat:38.9,lng:-77.19,code:"PG043321"},{name:"Garifuna",country:"United States",lang:"Garifuna",rol3:"cab",pct_christian:12.5,pop:71500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:26.18,lng:-80.23,code:"PG047649"},{name:"American Samoan",country:"United States",lang:"Samoan",rol3:"smo",pct_christian:12.5,pop:69500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:33.98,lng:-118.1,code:"PG043514"},{name:"Moldovan",country:"United States",lang:"Romanian",rol3:"ron",pct_christian:12.5,pop:49e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:40.17,lng:-74.79,code:"PG047277"},{name:"Belizean",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:43500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:33.94,lng:-118.12,code:"PG047184"},{name:"Chol",country:"United States",lang:"Chol",rol3:"ctu",pct_christian:12.5,pop:39e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.17,lng:-119.44,code:"PG049314"},{name:"Tongan",country:"United States",lang:"Tongan",rol3:"ton",pct_christian:12.5,pop:29e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:37.74,lng:-122.29,code:"PG043655"},{name:"Polynesian",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:14500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG043599"},{name:"Antiguan",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:8400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.93,lng:-98.82,code:"PG050335"},{name:"Nahuatl, Isthmus",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:7900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:31.63,lng:-89.16,code:"PG049280"},{name:"Krio",country:"United States",lang:"Krio",rol3:"kri",pct_christian:12.5,pop:7800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:40.74,lng:-73.72,code:"PG047260"},{name:"Trukese",country:"United States",lang:"Chuukese",rol3:"chk",pct_christian:12.5,pop:6700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:21.46,lng:-157.97,code:"PG046505"},{name:"Sac & Fox Nation of Oklahoma",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:5800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.71,lng:-96.77,code:"PG050670"},{name:"Palauan",country:"United States",lang:"Palauan",rol3:"pau",pct_christian:12.5,pop:4700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG047310"},{name:"Fijian",country:"United States",lang:"Fijian",rol3:"fij",pct_christian:12.5,pop:4500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:39.73,lng:-120.56,code:"PG043238"},{name:"Ewe",country:"United States",lang:"Éwé",rol3:"ewe",pct_christian:12.5,pop:3400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:32.85,lng:-96.97,code:"PG050366"},{name:"Pueblo, Jemez",country:"United States",lang:"Jemez",rol3:"tow",pct_christian:12.5,pop:2400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.68,lng:-106.79,code:"PG043288"},{name:"Mohawk",country:"United States",lang:"Mohawk",rol3:"moh",pct_christian:12.5,pop:2200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:44.97,lng:-74.54,code:"PG043551"},{name:"Tolowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:41.9,lng:-124.16,code:"PG050627"},{name:"Sac & Fox Tribe of the Mississippi in Iowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:41.98,lng:-92.65,code:"PG043616"},{name:"Iowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:39.99,lng:-95.39,code:"PG043277"},{name:"Central Africans",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:40.74,lng:-73.72,code:"PG047190"},{name:"Kusaiean",country:"United States",lang:"Kosraean",rol3:"kos",pct_christian:12.5,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG047209"},{name:"Tubatulabal",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:36.07,lng:-118.31,code:"PG043660"},{name:"Nez Perce",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:46.28,lng:-116.41,code:"PG043560"},{name:"Salinan",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Folk Catholicism",lat:35.83,lng:-120.77,code:"PG050637"},{name:"Swazi",country:"United States",lang:"Swati",rol3:"ssw",pct_christian:12.5,pop:550,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:40.74,lng:-73.72,code:"PG047227"},{name:"Chuj",country:"United States",lang:"Chuj",rol3:"cac",pct_christian:12.5,pop:450,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:34.88,lng:-82.36,code:"PG049269"},{name:"Sac & Fox Nation of Missouri in Kansas and Nebraska",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:450,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:40.01,lng:-95.52,code:"PG050671"},{name:"Kwakwakaʼwakw",country:"United States",lang:"Kwakwala",rol3:"kwk",pct_christian:12.5,pop:400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:48.1,lng:-123.12,code:"PG047208"},{name:"Puinave",country:"United States",lang:"Puinave",rol3:"pui",pct_christian:12.5,pop:350,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:40.74,lng:-73.72,code:"PG043604"},{name:"Basotho",country:"United States",lang:"Sotho, Southern",rol3:"sot",pct_christian:12.5,pop:300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:40.74,lng:-73.72,code:"PG047274"},{name:"Bahnar",country:"United States",lang:"Bahnar",rol3:"bdq",pct_christian:12.5,pop:300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:35.17,lng:-80.8,code:"PG050336"},{name:"Haida",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:150,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:55.19,lng:-132.88,code:"PG043257"},{name:"Tokelauan",country:"United States",lang:"Tokelauan",rol3:"tkl",pct_christian:12.5,pop:150,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG047304"},{name:"Embu-Mbeere",country:"United States",lang:"Kiembu",rol3:"ebu",pct_christian:12.5,pop:100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:32.85,lng:-96.97,code:"PG050365"},{name:"Cayuga",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:60,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:42.55,lng:-79,code:"PG043191"},{name:"American, Spanish Speaking",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:2056e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.62,lng:-106.27,code:"PG043518"},{name:"Han Chinese, Mandarin",country:"United States",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:2345e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:45.74,lng:-114.4,code:"PG043261"},{name:"Salvadoran",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:1915e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.62,lng:-108.3,code:"PG046515"},{name:"Chinese American",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:175e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:45.74,lng:-114.4,code:"PG050453"},{name:"Dominican",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:1465e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.36,lng:-86.45,code:"PG046509"},{name:"Guatemalan",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:125e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:34.99,lng:-105.58,code:"PG046516"},{name:"Honduran",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:1105e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:34.51,lng:-104,code:"PG046517"},{name:"Haitian",country:"United States",lang:"Haitian Creole",rol3:"hat",pct_christian:7.5,pop:716e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:31.04,lng:-78.18,code:"PG046510"},{name:"Jamaican",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:588e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:32.14,lng:-77.63,code:"PG043284"},{name:"Detribalized Amerindian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:454e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:34.9,lng:-111.06,code:"PG043225"},{name:"Ecuadorian",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:432e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:34.55,lng:-86.97,code:"PG046525"},{name:"Brazilian",country:"United States",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:32e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:34.44,lng:-97.31,code:"PG046522"},{name:"Cape Verdean",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:309e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:37.42,lng:-74.94,code:"PG047254"},{name:"Nicaraguan",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:259e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:33.99,lng:-111.48,code:"PG046518"},{name:"Guyanese",country:"United States",lang:"Guyanese English Creole",rol3:"gyn",pct_christian:7.5,pop:245e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:40.72,lng:-73.86,code:"PG046526"},{name:"Igbo",country:"United States",lang:"Igbo",rol3:"ibo",pct_christian:7.5,pop:234e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:39.21,lng:-76.75,code:"PG047202"},{name:"Argentine",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:223e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:32.49,lng:-103.74,code:"PG046520"},{name:"Ghanaian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:204e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:40.72,lng:-73.97,code:"PG046500"},{name:"Yucatec",country:"United States",lang:"Maya, Yucatec",rol3:"yua",pct_christian:7.5,pop:201e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:34.58,lng:-118.81,code:"PG047279"},{name:"Trinidadian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:174e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:40.69,lng:-73.86,code:"PG046512"},{name:"Romanian",country:"United States",lang:"Romanian",rol3:"ron",pct_christian:7.5,pop:173e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:36.09,lng:-110.56,code:"PG043611"},{name:"Malayali",country:"United States",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:165e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:40.72,lng:-73.97,code:"PG043340"},{name:"Chilean",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:147e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:34.62,lng:-116.39,code:"PG046523"},{name:"Pennsylvania Dutch",country:"United States",lang:"German, Pennsylvania",rol3:"pdc",pct_christian:7.5,pop:139e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:40.34,lng:-75.87,code:"PG043593"},{name:"Choctaw",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:121e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:34.5,lng:-95.33,code:"PG043202"},{name:"Bolivian",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:115e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:32.67,lng:-99.44,code:"PG046521"},{name:"Liberian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:107e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:40.72,lng:-73.97,code:"PG047273"},{name:"Kenyan",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:96e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:33.32,lng:-92.72,code:"PG050473"},{name:"Ilocano",country:"United States",lang:"Ilocano",rol3:"ilo",pct_christian:7.5,pop:88500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:21.46,lng:-157.97,code:"PG043275"},{name:"Nahuatl, Huasteca",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:87e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:33.97,lng:-84.02,code:"PG049279"},{name:"Anglo-Australian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:84e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.02,lng:-98.4,code:"PG043519"},{name:"Swahili",country:"United States",lang:"Swahili",rol3:"swh",pct_christian:7.5,pop:81500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:34.52,lng:-105.83,code:"PG047306"},{name:"Mam",country:"United States",lang:"Mam",rol3:"mam",pct_christian:7.5,pop:78500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:33.98,lng:-118.1,code:"PG047319"},{name:"Tzotzil",country:"United States",lang:"Tzotzil",rol3:"tzo",pct_christian:7.5,pop:76500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:37.59,lng:-122.17,code:"PG049309"},{name:"Swede",country:"United States",lang:"Swedish",rol3:"swe",pct_christian:7.5,pop:63e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated",lat:33.94,lng:-118.12,code:"PG043643"},{name:"Creek, Muskogee",country:"United States",lang:"Muskogee",rol3:"mus",pct_christian:7.5,pop:56500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.65,lng:-96.02,code:"PG043554"},{name:"Norwegian",country:"United States",lang:"Norwegian",rol3:"nor",pct_christian:7.5,pop:44500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated",lat:44.96,lng:-93.28,code:"PG043575"},{name:"Iu Mien",country:"United States",lang:"Iu Mien",rol3:"ium",pct_christian:7.5,pop:38500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:38.75,lng:-111.78,code:"PG043283"},{name:"Saint Lucian",country:"United States",lang:"Lesser Antillean French Creole",rol3:"acf",pct_christian:7.5,pop:34e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:40.72,lng:-73.97,code:"PG047284"},{name:"Cree, Plains",country:"United States",lang:"Cree, Plains",rol3:"crk",pct_christian:7.5,pop:33500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:48.71,lng:-102.69,code:"PG043683"},{name:"Blackfoot, Siksika",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:32e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:48.66,lng:-112.87,code:"PG043538"},{name:"O'odham, Tohono",country:"United States",lang:"Tohono O’odham",rol3:"ood",pct_christian:7.5,pop:30500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:32.15,lng:-112.07,code:"PG043670"},{name:"Potawatomi",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:24e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:39.34,lng:-95.84,code:"PG043601"},{name:"Chamorro",country:"United States",lang:"Chamorro",rol3:"cha",pct_christian:7.5,pop:22e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:33.94,lng:-118.12,code:"PG047251"},{name:"Hopi, Hopitu-Shinumu",country:"United States",lang:"Hopi",rol3:"hop",pct_christian:7.5,pop:21e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.9,lng:-110.58,code:"PG043269"},{name:"Popti",country:"United States",lang:"Jakalteko",rol3:"jac",pct_christian:7.5,pop:20500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:26.61,lng:-80.17,code:"PG049284"},{name:"Tlingit",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:18e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:57.16,lng:-133.75,code:"PG043653"},{name:"Nahuatl, Northern Puebla",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:18e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:36.03,lng:-78.88,code:"PG049281"},{name:"Apache, Western",country:"United States",lang:"Apache, Western",rol3:"apw",pct_christian:7.5,pop:17e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:33.88,lng:-110.16,code:"PG043682"},{name:"Nuer",country:"United States",lang:"Nuer",rol3:"nus",pct_christian:7.5,pop:15e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:32.82,lng:-96.97,code:"PG046705"},{name:"Comanche",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:14500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:34.56,lng:-98.43,code:"PG043209"},{name:"Cheyenne",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:45.53,lng:-106.68,code:"PG043198"},{name:"Azande",country:"United States",lang:"Zande",rol3:"zne",pct_christian:7.5,pop:13e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:33.59,lng:-96.89,code:"PG046709"},{name:"Crow",country:"United States",lang:"Crow",rol3:"cro",pct_christian:7.5,pop:12e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:45.4,lng:-107.76,code:"PG043215"},{name:"Afro-Grenadian",country:"United States",lang:"Grenadian English Creole",rol3:"gcl",pct_christian:7.5,pop:12e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:41.29,lng:-75.74,code:"PG050350"},{name:"Pueblo, Santa Clara",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:12e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Native American religions",lat:35.98,lng:-106.22,code:"PG050653"},{name:"Zuni Pueblo",country:"United States",lang:"Zuni",rol3:"zun",pct_christian:7.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Native American religions",lat:35.09,lng:-108.74,code:"PG043703"},{name:"Shoshoni",country:"United States",lang:"Shoshoni",rol3:"shh",pct_christian:7.5,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:41.35,lng:-109.85,code:"PG043624"},{name:"Burundi",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:1e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:37.74,lng:-92.31,code:"PG047181"},{name:"Houma, Half-Choctaw",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:9500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:29.78,lng:-90.59,code:"PG043270"},{name:"Arapaho",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:9300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:38.15,lng:-102.16,code:"PG043524"},{name:"Flathead-Kalispel",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:8400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:47.5,lng:-114.28,code:"PG043241"},{name:"Han Chinese, Wu",country:"United States",lang:"Chinese, Wu",rol3:"wuu",pct_christian:7.5,pop:8400,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:40.74,lng:-73.72,code:"PG047187"},{name:"Zapotec, Loxicha",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:8e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Folk Catholicism",lat:32.79,lng:-117.08,code:"PG049324"},{name:"Paiute, Southern",country:"United States",lang:"Ute-Southern Paiute",rol3:"ute",pct_christian:7.5,pop:7600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:38.9,lng:-110.13,code:"PG043634"},{name:"Paiute, Northern",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:7400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:39.69,lng:-119.19,code:"PG043570"},{name:"Kiowa",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:7200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.01,lng:-98.78,code:"PG043305"}]},Guinea:{target_upg:30,target_pop:13009200,target_top_langs:["Pular","Maninkakan, Eastern","Susu","Konyanka"],target_top_religion:"Islam",neighbors:[{name:"Kissi",country:"Guinea",lang:"Kissi, Northern",rol3:"kqs",pct_christian:7.5,pop:646e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:8.89,lng:-10.2,code:"PG013412"},{name:"Baga Binari",country:"Guinea",lang:"Baga Pokur",rol3:"bcg",pct_christian:7.5,pop:4900,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:10.53,lng:-14.62,code:"PG042197"},{name:"Loko",country:"Guinea",lang:"Loko",rol3:"lok",pct_christian:7.5,pop:900,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.34,lng:-12.86,code:"PG013423"},{name:"Kpelle",country:"Guinea",lang:"Kpelle, Guinea",rol3:"gkp",pct_christian:3.5,pop:6e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:7.83,lng:-8.89,code:"PG013413"},{name:"Toma",country:"Guinea",lang:"Toma",rol3:"tod",pct_christian:3.5,pop:331e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.8,lng:-9.82,code:"PG013433"},{name:"Dan Yakuba",country:"Liberia",lang:"Dan",rol3:"dnj",pct_christian:12.5,pop:245e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:6.83,lng:-8.77,code:"PG013483"},{name:"Zari",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.87,lng:9.4,code:"PG014203"},{name:"Bassa",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:10.67,lng:5.82,code:"PG033345"},{name:"Dan Yakuba",country:"Cote d’Ivoire",lang:"Dan",rol3:"dnj",pct_christian:3.5,pop:1945e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:7.48,lng:-7.86,code:"PG013066"},{name:"Bambara",country:"Cote d’Ivoire",lang:"Bamanankan",rol3:"bam",pct_christian:3.5,pop:1485e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.88,lng:-7.05,code:"PG013042"},{name:"Mano",country:"Liberia",lang:"Maan",rol3:"mev",pct_christian:3.5,pop:44e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:6.87,lng:-8.98,code:"PG013517"},{name:"Arab",country:"South Africa",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-26.17,lng:28.07,code:"PG015486"},{name:"Arab",country:"New Zealand",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-36.89,lng:174.78,code:"PG018478"},{name:"Badyara",country:"Guinea-Bissau",lang:"Badyara",rol3:"pbp",pct_christian:3.5,pop:7300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.59,lng:-13.77,code:"PG013442"}]},Tunisia:{target_upg:17,target_pop:12220300,target_top_langs:["Arabic, Tunisian","Arabic, Libyan","Arabic, Algerian","Arabic, Algerian Saharan"],target_top_religion:"Islam",neighbors:[{name:"Arab",country:"South Africa",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-26.17,lng:28.07,code:"PG015486"},{name:"Arab",country:"New Zealand",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-36.89,lng:174.78,code:"PG018478"}]},Chad:{target_upg:82,target_pop:11754900,target_top_langs:["Arabic, Chadian","Kanembu","Dazaga","Maba (Chad)"],target_top_religion:"Islam",neighbors:[{name:"Goundo",country:"Chad",lang:"Kabalai",rol3:"kvf",pct_christian:45,pop:50,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:9.55,lng:16.2,code:"PG011355"},{name:"Nzakmbay",country:"Chad",lang:"Nzakambay",rol3:"nzy",pct_christian:25,pop:45500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:7.77,lng:15.86,code:"PG011438"},{name:"Ruto",country:"Chad",lang:"Luto",rol3:"ndy",pct_christian:25,pop:6400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.22,lng:18.44,code:"PG011443"},{name:"Besme",country:"Chad",lang:"Besme",rol3:"bes",pct_christian:25,pop:4e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.59,lng:16.09,code:"PG011321"},{name:"Mesme",country:"Chad",lang:"Mesme",rol3:"zim",pct_christian:17.5,pop:39e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.32,lng:15.53,code:"PG011414"},{name:"Mangbai",country:"Chad",lang:"Mambai",rol3:"mcs",pct_christian:12.5,pop:6400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.63,lng:14.06,code:"PG011400"},{name:"Pana",country:"Chad",lang:"Pana (Central African Republic)",rol3:"pnz",pct_christian:12.5,pop:2600,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:7.54,lng:15.7,code:"PG011439"},{name:"Nancere",country:"Chad",lang:"Nancere",rol3:"nnc",pct_christian:7.5,pop:231e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.28,lng:16.12,code:"PG011432"},{name:"Gabere",country:"Chad",lang:"Gabri",rol3:"gab",pct_christian:7.5,pop:84e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.35,lng:16.66,code:"PG042668"},{name:"Kaba-Lai",country:"Chad",lang:"Kabalai",rol3:"kvf",pct_christian:7.5,pop:58e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.41,lng:16.31,code:"PG011370"},{name:"Kaba",country:"Chad",lang:"Kabba",rol3:"ksp",pct_christian:7.5,pop:22e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:7.85,lng:16.74,code:"PG011366"},{name:"Sara Gambai",country:"Chad",lang:"Ngambay",rol3:"sba",pct_christian:3.5,pop:2095e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.7,lng:15.82,code:"PG011447"},{name:"Musey",country:"Chad",lang:"Musey",rol3:"mse",pct_christian:3.5,pop:535e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.69,lng:15.3,code:"PG011312"},{name:"Mundang",country:"Chad",lang:"Mundang",rol3:"mua",pct_christian:3.5,pop:517e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.67,lng:14.62,code:"PG011430"},{name:"Marba",country:"Chad",lang:"Marba",rol3:"mpg",pct_christian:3.5,pop:397e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.52,lng:15.92,code:"PG042679"},{name:"Masa",country:"Chad",lang:"Masana",rol3:"mcn",pct_christian:3.5,pop:352e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:10.33,lng:15.61,code:"PG011403"},{name:"Sara Mbai",country:"Chad",lang:"Mbay",rol3:"myb",pct_christian:3.5,pop:267e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.29,lng:17.75,code:"PG011449"},{name:"Bediondo Mbai",country:"Chad",lang:"Bedjond",rol3:"bjv",pct_christian:3.5,pop:192e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.65,lng:17.28,code:"PG011318"},{name:"Karang Laka",country:"Chad",lang:"Laka",rol3:"lap",pct_christian:3.5,pop:188e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.02,lng:16.2,code:"PG011376"},{name:"Gor",country:"Chad",lang:"Kabba",rol3:"ksp",pct_christian:3.5,pop:163e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:7.8,lng:16.72,code:"PG042670"},{name:"Dai",country:"Chad",lang:"Day",rol3:"dai",pct_christian:3.5,pop:161e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.52,lng:17.55,code:"PG011334"},{name:"Kera",country:"Chad",lang:"Kera",rol3:"ker",pct_christian:3.5,pop:144e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.78,lng:15.18,code:"PG011382"},{name:"Ngama",country:"Chad",lang:"Ngam",rol3:"nmc",pct_christian:3.5,pop:135e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:8.52,lng:18.59,code:"PG011434"},{name:"Kaba Na",country:"Chad",lang:"Kaba Naa, Sara",rol3:"kwv",pct_christian:3.5,pop:113e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.58,lng:18.93,code:"PG011369"},{name:"Kado",country:"Chad",lang:"Herdé",rol3:"hed",pct_christian:3.5,pop:104e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.36,lng:14.71,code:"PG011371"},{name:"Gulfe",country:"Chad",lang:"Malgbe",rol3:"mxf",pct_christian:3.5,pop:96e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:12.48,lng:14.92,code:"PG011359"},{name:"Lele",country:"Chad",lang:"Lele (Chad)",rol3:"lln",pct_christian:3.5,pop:89e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.15,lng:15.73,code:"PG011395"},{name:"Peve",country:"Chad",lang:"Pévé",rol3:"lme",pct_christian:3.5,pop:78e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.3,lng:14.58,code:"PG011441"},{name:"Sango",country:"Chad",lang:"Sango",rol3:"sag",pct_christian:3.5,pop:58e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.57,lng:16.07,code:"PG011446"},{name:"Gidar",country:"Chad",lang:"Gidar",rol3:"gid",pct_christian:3.5,pop:38e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.85,lng:14.2,code:"PG011351"},{name:"Kimre",country:"Chad",lang:"Kimré",rol3:"kqp",pct_christian:3.5,pop:37e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.3,lng:16.88,code:"PG011385"},{name:"Mbum",country:"Chad",lang:"Mbum",rol3:"mdd",pct_christian:3.5,pop:34e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:7.64,lng:15.64,code:"PG011412"},{name:"Kuo",country:"Chad",lang:"Kuo",rol3:"xuo",pct_christian:3.5,pop:19500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:7.75,lng:15.75,code:"PG011393"},{name:"Mire",country:"Chad",lang:"Mulgi",rol3:"mvh",pct_christian:3.5,pop:7800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.43,lng:16.3,code:"PG011419"},{name:"Kotoko-Kuseri",country:"Chad",lang:"Mser",rol3:"kqx",pct_christian:3.5,pop:3900,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:11.93,lng:15.11,code:"PG011388"},{name:"Gori",country:"Chad",lang:"Laal",rol3:"gdm",pct_christian:3.5,pop:1800,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:9.98,lng:17.62,code:"PG011353"},{name:"Miltu",country:"Chad",lang:"Miltu",rol3:"mlj",pct_christian:3.5,pop:900,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:10.23,lng:17.41,code:"PG011416"},{name:"Bakole",country:"Cameroon",lang:"French",rol3:"fra",pct_christian:35,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:4.43,lng:8.97,code:"PG012493"},{name:"Mono",country:"Cameroon",lang:"Fulfulde, Adamawa",rol3:"fub",pct_christian:25,pop:3700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:8.77,lng:14.12,code:"PG012705"},{name:"PoaPoa",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:25,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-20.87,lng:164.66,code:"PG018370"},{name:"Kotoko",country:"Cameroon",lang:"Lagwan",rol3:"kot",pct_christian:17.5,pop:24500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:11.86,lng:14.9,code:"PG012650"},{name:"Euronesian",country:"French Polynesia",lang:"French",rol3:"fra",pct_christian:12.5,pop:58500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-17.56,lng:-149.57,code:"PG018408"},{name:"Euronesian",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:12.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-22.27,lng:166.45,code:"PG018406"},{name:"Aeke",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:12.5,pop:350,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-21.07,lng:164.88,code:"PG009564"},{name:"French",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:7.5,pop:93500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-21.33,lng:165.49,code:"PG018389"},{name:"Zari",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.87,lng:9.4,code:"PG014203"},{name:"Bassa",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:10.67,lng:5.82,code:"PG033345"},{name:"Sake",country:"Gabon",lang:"French",rol3:"fra",pct_christian:7.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:.07,lng:11.63,code:"PG013210"},{name:"Burundi",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.58,lng:-73.7,code:"PG050494"},{name:"Burundi",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:37.74,lng:-92.31,code:"PG047181"},{name:"Kaba Dunjo",country:"Central African Republic",lang:"Kaba Naa, Sara",rol3:"kwv",pct_christian:7.5,pop:6300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:9.03,lng:19.98,code:"PG012874"},{name:"Kande",country:"Gabon",lang:"French",rol3:"fra",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-.09,lng:11.75,code:"PG013189"},{name:"Chadian",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.58,lng:-73.7,code:"PG050504"},{name:"Indri",country:"South Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:7.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.78,lng:25.73,code:"PG012040"},{name:"New Caledonian",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.22,lng:-122.99,code:"PG047444"},{name:"Gabonese",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:38.9,lng:-77.19,code:"PG047191"},{name:"Chinese-Tahitian Creole",country:"French Polynesia",lang:"French",rol3:"fra",pct_christian:7.5,pop:300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-17.56,lng:-149.57,code:"PG018407"},{name:"Chadian",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:250,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:38.02,lng:-84.5,code:"PG047189"},{name:"Walloon",country:"Belgium",lang:"French",rol3:"fra",pct_christian:3.5,pop:3755e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:50.32,lng:4.95,code:"PG000076"},{name:"Swiss",country:"Switzerland",lang:"French",rol3:"fra",pct_christian:3.5,pop:2015e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:46.6,lng:6.93,code:"PG000585"},{name:"Tuburi",country:"Cameroon",lang:"Tupuri",rol3:"tui",pct_christian:3.5,pop:345e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:10.27,lng:14.75,code:"PG012796"},{name:"Masa",country:"Cameroon",lang:"Masana",rol3:"mcn",pct_christian:3.5,pop:345e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:10.29,lng:15.19,code:"PG012678"},{name:"Musgum",country:"Cameroon",lang:"Musgu",rol3:"mug",pct_christian:3.5,pop:239e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:10.9,lng:14.93,code:"PG012718"},{name:"Dakpa",country:"Central African Republic",lang:"Banda, West Central",rol3:"bbp",pct_christian:3.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:5.98,lng:20,code:"PG012849"},{name:"Franco-Mauritian",country:"Mauritius",lang:"French",rol3:"fra",pct_christian:3.5,pop:72500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-20.25,lng:57.51,code:"PG015346"},{name:"Romanian",country:"France",lang:"French",rol3:"fra",pct_christian:3.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:48.84,lng:2.35,code:"PG000192"},{name:"Delen",country:"Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:3.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.06,lng:29.58,code:"PG042814"},{name:"French Caribbean",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:6300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.5,lng:-73.81,code:"PG047395"},{name:"Togolese",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:5600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:45.52,lng:-73.68,code:"PG050478"},{name:"Congolese",country:"Spain",lang:"French",rol3:"fra",pct_christian:3.5,pop:4800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:40.41,lng:-3.69,code:"PG042340"},{name:"Abenaki",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:46.07,lng:-72.82,code:"PG043348"},{name:"Ivorian",country:"United States",lang:"French",rol3:"fra",pct_christian:3.5,pop:3600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:40.74,lng:-73.72,code:"PG047266"},{name:"Guinean",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.5,lng:-73.81,code:"PG047454"},{name:"Sighu",country:"Gabon",lang:"French",rol3:"fra",pct_christian:3.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-.84,lng:12.69,code:"PG013213"},{name:"Rwandan",country:"Netherlands",lang:"French",rol3:"fra",pct_christian:3.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:51.9,lng:4.47,code:"PG000430"},{name:"Gabonese",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:1600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.58,lng:-73.7,code:"PG050505"},{name:"Maslam",country:"Cameroon",lang:"Maslam",rol3:"msv",pct_christian:3.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:12.22,lng:14.83,code:"PG012681"}]},Tajikistan:{target_upg:31,target_pop:10692e3,target_top_langs:["Tajik","Uzbek, Northern","Shughni","Language unknown"],target_top_religion:"Islam",neighbors:[{name:"Han Chinese, Mandarin",country:"Tajikistan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:89500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:38.57,lng:68.77,code:"PG049245"},{name:"Ukrainian",country:"Tajikistan",lang:"Ukrainian",rol3:"ukr",pct_christian:7.5,pop:12500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:38.57,lng:68.77,code:"PG024536"},{name:"Russian",country:"Moldova",lang:"Russian",rol3:"rus",pct_christian:17.5,pop:133e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.13,lng:29.34,code:"PG000867"},{name:"Korean",country:"Uzbekistan",lang:"Russian",rol3:"rus",pct_christian:12.5,pop:254e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:41.31,lng:69.26,code:"PG024684"},{name:"Armenian",country:"United Kingdom",lang:"Armenian",rol3:"hye",pct_christian:12.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000627"},{name:"Russian",country:"Australia",lang:"Russian",rol3:"rus",pct_christian:7.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.52,lng:142.46,code:"PG008063"},{name:"Russian",country:"Ukraine",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:708e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.69,lng:34.82,code:"PG042915"},{name:"Bulgarian",country:"Germany",lang:"Bulgarian",rol3:"bul",pct_christian:3.5,pop:411e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.5,lng:13.4,code:"PG042446"},{name:"Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:26e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.48,lng:12.44,code:"PG049403"},{name:"Armenian",country:"Lebanon",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:22e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:33.87,lng:35.58,code:"PG048928"},{name:"Jew",country:"Russian Federation",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:208e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:52.97,lng:74.32,code:"PG042910"},{name:"Russian",country:"Lithuania",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:155e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:55.25,lng:24.5,code:"PG000853"},{name:"Armenian",country:"Iran",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:38.14,lng:46.37,code:"PG024130"},{name:"Jew, Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:99500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:52.5,lng:13.4,code:"PG046578"},{name:"Russian",country:"United Kingdom",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:64e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000675"},{name:"Armenian",country:"Turkiye",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:41.05,lng:28.9,code:"PG024538"},{name:"Belarusian",country:"Argentina",lang:"Belarusian",rol3:"bel",pct_christian:3.5,pop:4600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-34.65,lng:-58.56,code:"PG017330"}]},Jordan:{target_upg:21,target_pop:10660500,target_top_langs:["Arabic, Levantine","Arabic, Eastern Egyptian Bedawi","Arabic, North Mesopotamian","Kabardian"],target_top_religion:"Islam",neighbors:[{name:"Arab, Egyptian",country:"Australia",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:12.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-31.94,lng:115.89,code:"PG020254"},{name:"Arab, Egyptian",country:"Germany",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:25500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:52.5,lng:13.4,code:"PG042462"},{name:"Arab, Lebanese",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024837"},{name:"Arab, Palestinian",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024839"},{name:"Arab, Egyptian",country:"Belgium",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:5300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:50.85,lng:4.38,code:"PG000053"},{name:"Egyptian Copt",country:"United States",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:3.5,pop:242e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:35.35,lng:-111.99,code:"PG047347"},{name:"Arab, Lebanese",country:"Canada",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:234e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.53,lng:-73.66,code:"PG043431"},{name:"Arab, Syrian",country:"United States",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:193e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.7,lng:-73.87,code:"PG043644"},{name:"Kurd, Northern",country:"Russian Federation",lang:"Kurdish, Northern",rol3:"kmr",pct_christian:3.5,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:44.63,lng:39.24,code:"PG024465"},{name:"Arab, Palestinian",country:"El Salvador",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:13.71,lng:-89.19,code:"PG039263"}]},Azerbaijan:{target_upg:26,target_pop:9953800,target_top_langs:["Azerbaijani, North","Talysh","Lezgi","Azerbaijani, South"],target_top_religion:"Islam",neighbors:[{name:"Ukrainian",country:"Kyrgyzstan",lang:"Ukrainian",rol3:"ukr",pct_christian:35,pop:28e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:42.88,lng:74.63,code:"PG024375"},{name:"Ukrainian",country:"Turkmenistan",lang:"Ukrainian",rol3:"ukr",pct_christian:35,pop:8400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:37.94,lng:58.39,code:"PG024648"},{name:"Romanian",country:"Czech Republic",lang:"Romanian",rol3:"ron",pct_christian:25,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:50.07,lng:14.47,code:"PG050033"},{name:"Russian",country:"Moldova",lang:"Russian",rol3:"rus",pct_christian:17.5,pop:133e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.13,lng:29.34,code:"PG000867"},{name:"Ukrainian",country:"Kazakhstan",lang:"Ukrainian",rol3:"ukr",pct_christian:12.5,pop:415e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:48.48,lng:71.3,code:"PG024330"},{name:"Korean",country:"Uzbekistan",lang:"Russian",rol3:"rus",pct_christian:12.5,pop:254e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:41.31,lng:69.26,code:"PG024684"},{name:"Moldovan",country:"United States",lang:"Romanian",rol3:"ron",pct_christian:12.5,pop:49e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:40.17,lng:-74.79,code:"PG047277"},{name:"Armenian",country:"United Kingdom",lang:"Armenian",rol3:"hye",pct_christian:12.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000627"},{name:"Romanian",country:"United States",lang:"Romanian",rol3:"ron",pct_christian:7.5,pop:173e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:36.09,lng:-110.56,code:"PG043611"},{name:"Ukrainian",country:"United Kingdom",lang:"Ukrainian",rol3:"ukr",pct_christian:7.5,pop:33e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000692"},{name:"Russian",country:"Australia",lang:"Russian",rol3:"rus",pct_christian:7.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.52,lng:142.46,code:"PG008063"},{name:"Ukrainian",country:"Tajikistan",lang:"Ukrainian",rol3:"ukr",pct_christian:7.5,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:38.57,lng:68.77,code:"PG024536"},{name:"Iranian",country:"Armenia",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:40.17,lng:44.49,code:"PG050098"},{name:"Iranian",country:"Greece",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:38.05,lng:23.7,code:"PG047071"},{name:"Romanian",country:"Romania",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:1637e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:45.84,lng:24.98,code:"PG000899"},{name:"Russian",country:"Ukraine",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:708e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.69,lng:34.82,code:"PG042915"},{name:"Romanian",country:"Italy",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:13e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:44.5,lng:9.8,code:"PG048833"},{name:"Ukrainian",country:"Russian Federation",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:112e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.59,lng:82.8,code:"PG048814"},{name:"Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:26e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.48,lng:12.44,code:"PG049403"},{name:"Ukrainian",country:"Canada",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:253e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:46.93,lng:-92.67,code:"PG043496"},{name:"Armenian",country:"Lebanon",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:22e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:33.87,lng:35.58,code:"PG048928"},{name:"Jew",country:"Russian Federation",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:208e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:52.97,lng:74.32,code:"PG042910"},{name:"Persian",country:"Canada",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:46.93,lng:-92.67,code:"PG043458"},{name:"Iranian",country:"Germany",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:175e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:52.51,lng:11.69,code:"PG000259"},{name:"Russian",country:"Lithuania",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:155e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:55.25,lng:24.5,code:"PG000853"},{name:"Ukrainian",country:"Germany",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:145e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.72,lng:11.84,code:"PG000275"},{name:"Persian",country:"Turkiye",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:13e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:41.04,lng:28.87,code:"PG024581"},{name:"Armenian",country:"Iran",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:38.14,lng:46.37,code:"PG024130"},{name:"Jew, Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:99500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:52.5,lng:13.4,code:"PG046578"},{name:"Romanian",country:"Hungary",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:96500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:46.8,lng:20.84,code:"PG000835"},{name:"Persian",country:"United Kingdom",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:86e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:51.5,lng:-.17,code:"PG000643"},{name:"Romanian ",country:"Austria",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:48.18,lng:16.35,code:"PG049963"},{name:"Russian",country:"United Kingdom",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:64e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000675"},{name:"Ukrainian",country:"Latvia",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:48500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:56.93,lng:24.12,code:"PG000850"},{name:"Ukrainian",country:"Uzbekistan",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:47e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:41.31,lng:69.26,code:"PG024323"},{name:"Armenian",country:"Turkiye",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:41.05,lng:28.9,code:"PG024538"},{name:"Ukrainian",country:"Poland",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.5,lng:19.47,code:"PG000887"},{name:"Ukrainian",country:"Argentina",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:36500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-34.65,lng:-58.56,code:"PG017373"},{name:"Kurd, Northern",country:"Russian Federation",lang:"Kurdish, Northern",rol3:"kmr",pct_christian:3.5,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:44.63,lng:39.24,code:"PG024465"},{name:"Ukrainian",country:"Estonia",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:33500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:59.31,lng:24.93,code:"PG050308"},{name:"Romanian",country:"Ireland",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:53.39,lng:-6.28,code:"PG048049"},{name:"Ukrainian",country:"France",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:23e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:48.84,lng:2.35,code:"PG000205"},{name:"Moldovan",country:"Canada",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:49.72,lng:-95.67,code:"PG047364"},{name:"Persian",country:"Indonesia",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:-6.21,lng:106.83,code:"PG050238"},{name:"Belarusian",country:"Argentina",lang:"Belarusian",rol3:"bel",pct_christian:3.5,pop:4600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-34.65,lng:-58.56,code:"PG017330"},{name:"Persian",country:"South Korea",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:3500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:37.55,lng:126.99,code:"PG050237"},{name:"Romanian",country:"Venezuela",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:10.48,lng:-66.88,code:"PG016490"}]},Vietnam:{target_upg:70,target_pop:9637e3,target_top_langs:["Tay","Muong","Khmer","Nung"],target_top_religion:"Ethnic Religions",neighbors:[{name:"Central Mnong",country:"Vietnam",lang:"Mnong, Central",rol3:"cmo",pct_christian:62.5,pop:36e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:12.5,lng:107.57,code:"PG011118"},{name:"Southern Mnong",country:"Vietnam",lang:"Mnong, Southern",rol3:"mnn",pct_christian:62.5,pop:33500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:11.99,lng:107.56,code:"PG011224"},{name:"Rhade",country:"Vietnam",lang:"Rade",rol3:"rad",pct_christian:45,pop:331e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:12.96,lng:108.31,code:"PG011211"},{name:"Stieng",country:"Vietnam",lang:"Stieng, Bulo",rol3:"sti",pct_christian:45,pop:85500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:11.87,lng:107.08,code:"PG011226"},{name:"Maa",country:"Vietnam",lang:"Maa",rol3:"cma",pct_christian:45,pop:41500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:11.61,lng:107.49,code:"PG011179"},{name:"Chru",country:"Vietnam",lang:"Chru",rol3:"cje",pct_christian:45,pop:19500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:11.69,lng:108.54,code:"PG011123"},{name:"Hmong",country:"Vietnam",lang:"Hmong Daw",rol3:"mww",pct_christian:35,pop:133e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.86,lng:103.59,code:"PG011142"},{name:"Koho",country:"Vietnam",lang:"Koho",rol3:"kpm",pct_christian:35,pop:166e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:11.63,lng:108.01,code:"PG011167"},{name:"Chrau",country:"Vietnam",lang:"Chrau",rol3:"crw",pct_christian:35,pop:27e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.91,lng:107.29,code:"PG011122"},{name:"Jarai",country:"Vietnam",lang:"Jarai",rol3:"jra",pct_christian:25,pop:411e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:13.93,lng:108.21,code:"PG011149"},{name:"Jeh",country:"Vietnam",lang:"Jeh",rol3:"jeh",pct_christian:25,pop:51e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:15.19,lng:107.91,code:"PG011150"},{name:"Eastern Mnong",country:"Vietnam",lang:"Mnong, Eastern",rol3:"mng",pct_christian:25,pop:33500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:12.31,lng:108.34,code:"PG011128"},{name:"Trieng",country:"Vietnam",lang:"Trieng",rol3:"stg",pct_christian:25,pop:19e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:15.48,lng:107.55,code:"PG011239"},{name:"Halang",country:"Vietnam",lang:"Halang",rol3:"hal",pct_christian:25,pop:16500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:14.62,lng:107.64,code:"PG011135"},{name:"O-du",country:"Vietnam",lang:"O’du",rol3:"tyh",pct_christian:17.5,pop:375,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.48,lng:104.58,code:"PG020927"},{name:"Northern Roglai",country:"Vietnam",lang:"Roglai, Northern",rol3:"rog",pct_christian:12.5,pop:65e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:12.16,lng:108.85,code:"PG011190"},{name:"Brao",country:"Vietnam",lang:"Brao",rol3:"brb",pct_christian:12.5,pop:400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:14.17,lng:107.43,code:"PG011112"},{name:"Han Chinese",country:"Vietnam",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:162e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.04,lng:106.1,code:"PG033473"},{name:"Han Chinese, Cantonese",country:"Vietnam",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:784e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.03,lng:105.82,code:"PG046444"},{name:"Bahnar",country:"Vietnam",lang:"Bahnar",rol3:"bdq",pct_christian:7.5,pop:228e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:14.05,lng:108.45,code:"PG011108"},{name:"San Chay",country:"Vietnam",lang:"Cao Lan",rol3:"mlc",pct_christian:7.5,pop:17e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:21.86,lng:105.77,code:"PG011217"},{name:"Hre",country:"Vietnam",lang:"Hre",rol3:"hre",pct_christian:7.5,pop:127e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:14.7,lng:108.66,code:"PG011143"},{name:"Eastern Bru",country:"Vietnam",lang:"Bru, Eastern",rol3:"bru",pct_christian:7.5,pop:74500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:16.94,lng:106.67,code:"PG011126"},{name:"Lahu",country:"Vietnam",lang:"Lahu",rol3:"lhu",pct_christian:7.5,pop:9700,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:22.56,lng:102.66,code:"PG011172"},{name:"Gelao",country:"Vietnam",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:2100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:23.08,lng:105.2,code:"PG011133"},{name:"Iu Mien",country:"Vietnam",lang:"Iu Mien",rol3:"ium",pct_christian:3.5,pop:433e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Polytheism",lat:22.01,lng:105.54,code:"PG011148"},{name:"Eastern Cham",country:"Vietnam",lang:"Cham, Eastern",rol3:"cjm",pct_christian:3.5,pop:88500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:10.94,lng:107.68,code:"PG011127"},{name:"Cua",country:"Vietnam",lang:"Cua",rol3:"cua",pct_christian:3.5,pop:34e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:15.15,lng:108.39,code:"PG011125"},{name:"Khao",country:"Vietnam",lang:"Khao",rol3:"xao",pct_christian:3.5,pop:18500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:21.44,lng:103.48,code:"PG011159"},{name:"Romam",country:"Vietnam",lang:"Romam",rol3:"rmx",pct_christian:3.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:14.42,lng:107.55,code:"PG011212"},{name:"Vietnamese",country:"Thailand",lang:"Vietnamese",rol3:"vie",pct_christian:25,pop:119e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:13.76,lng:100.56,code:"PG010933"},{name:"Akha",country:"Thailand",lang:"Akha",rol3:"ahk",pct_christian:17.5,pop:58e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:20.08,lng:99.66,code:"PG010820"},{name:"Sin",country:"Laos",lang:"Lao",rol3:"lao",pct_christian:12.5,pop:300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:18.06,lng:105.09,code:"PG050561"},{name:"Han Chinese, Cantonese",country:"China",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:6477e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.94,lng:111.32,code:"PG006808"},{name:"Han Chinese, Cantonese",country:"Hong Kong",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:6255e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.38,lng:114.13,code:"PG050587"},{name:"Han Chinese, Cantonese",country:"Malaysia",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:19e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:3.65,lng:101.56,code:"PG046594"},{name:"Khmu, Ou",country:"Laos",lang:"Khmu",rol3:"kjg",pct_christian:7.5,pop:817e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:19.8,lng:102.58,code:"PG020913"},{name:"Han Chinese, Cantonese",country:"Macao",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:663e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.16,lng:113.56,code:"PG050584"},{name:"Han Chinese, Cantonese",country:"Singapore",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:511e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020725"},{name:"Han Chinese",country:"United Kingdom",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:196e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:51.5,lng:-.17,code:"PG043796"},{name:"Vietnamese",country:"Australia",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:174e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-33.38,lng:143.4,code:"PG008087"},{name:"Han Chinese, Cantonese",country:"Peru",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:117e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-12.05,lng:-77.02,code:"PG017533"},{name:"Han Chinese",country:"Panama",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:68500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:8.5,lng:-82.42,code:"PG024831"},{name:"Han Chinese",country:"Trinidad and Tobago",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:44500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:10.68,lng:-61.38,code:"PG016447"},{name:"Iu Mien",country:"United States",lang:"Iu Mien",rol3:"ium",pct_christian:7.5,pop:38500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:38.75,lng:-111.78,code:"PG043283"},{name:"Han Chinese",country:"Laos",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:36500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:17.97,lng:102.64,code:"PG009111"},{name:"Han Chinese, Cantonese",country:"Venezuela",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:10.48,lng:-66.88,code:"PG016472"},{name:"Han Chinese",country:"Mexico",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:26e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:20.65,lng:-101.28,code:"PG024949"},{name:"Han Chinese, Cantonese",country:"Dominican Republic",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:12e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:18.48,lng:-69.91,code:"PG016322"},{name:"Han Chinese, Cantonese",country:"Ecuador",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:9600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-.18,lng:-78.49,code:"PG042924"},{name:"Han Chinese, Cantonese",country:"Belgium",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:50.85,lng:4.38,code:"PG000058"},{name:"Pako Kado",country:"Laos",lang:"Pacoh",rol3:"pac",pct_christian:7.5,pop:9200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:16.41,lng:106.8,code:"PG050547"},{name:"Han Chinese, Cantonese",country:"Mauritius",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:8400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-20.24,lng:57.49,code:"PG015361"},{name:"Han Chinese",country:"Brunei",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:4.91,lng:114.92,code:"PG033444"},{name:"Han Chinese, Cantonese",country:"Honduras",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:7700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:14.08,lng:-87.2,code:"PG024760"},{name:"Vietnamese",country:"New Zealand",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:4900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-36.89,lng:174.78,code:"PG018514"},{name:"Han Chinese, Cantonese",country:"Guyana",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:3300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:6.8,lng:-58.15,code:"PG016362"},{name:"Pako Kanai",country:"Laos",lang:"Pacoh",rol3:"pac",pct_christian:7.5,pop:2e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:16.53,lng:106.84,code:"PG050548"},{name:"Khmu",country:"France",lang:"Khmu",rol3:"kjg",pct_christian:7.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:48.88,lng:2.37,code:"PG048522"},{name:"Han Chinese, Cantonese",country:"Haiti",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:550,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:18.55,lng:-72.32,code:"PG016380"},{name:"Han Chinese, Cantonese",country:"United States",lang:"Chinese, Yue",rol3:"yue",pct_christian:3.5,pop:103e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:41.02,lng:-113.16,code:"PG043259"},{name:"Han Chinese, Cantonese",country:"Canada",lang:"Chinese, Yue",rol3:"yue",pct_christian:3.5,pop:569e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:46.93,lng:-92.67,code:"PG047426"},{name:"Akha",country:"Myanmar",lang:"Akha",rol3:"ahk",pct_christian:3.5,pop:23e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:21.71,lng:99.8,code:"PG009402"},{name:"Kinh",country:"Laos",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:138e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:17.97,lng:102.64,code:"PG020963"},{name:"Vietnamese Migrant Workers",country:"Malaysia",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:85e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Confucianism",lat:5.35,lng:100.41,code:"PG046599"},{name:"Mien",country:"Thailand",lang:"Iu Mien",rol3:"ium",pct_christian:3.5,pop:46500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:19.13,lng:100.45,code:"PG010890"},{name:"Ta Oi",country:"Laos",lang:"Ta’oih, Upper",rol3:"tth",pct_christian:3.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:16.08,lng:106.7,code:"PG020964"},{name:"Han Chinese",country:"Reunion",lang:"Chinese, Yue",rol3:"yue",pct_christian:3.5,pop:31500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-20.92,lng:55.51,code:"PG015468"},{name:"Neisu",country:"China",lang:"Akha",rol3:"ahk",pct_christian:3.5,pop:28e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.17,lng:100.64,code:"PG007334"},{name:"Lao",country:"Myanmar",lang:"Lao",rol3:"lao",pct_christian:3.5,pop:26e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:16.85,lng:96.15,code:"PG009467"},{name:"Black Tai",country:"Thailand",lang:"Tai Dam",rol3:"blt",pct_christian:3.5,pop:25e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:19.92,lng:99.84,code:"PG010830"},{name:"Khmu",country:"United States",lang:"Khmu",rol3:"kjg",pct_christian:3.5,pop:9300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:32.77,lng:-117.08,code:"PG043302"},{name:"Macanese",country:"Macao",lang:"Chinese, Yue",rol3:"yue",pct_christian:3.5,pop:8900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:22.16,lng:113.56,code:"PG050585"},{name:"Vietnamese",country:"Netherlands",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:8800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:52.47,lng:5.36,code:"PG000445"},{name:"Ta-Oy Yin",country:"Laos",lang:"Ta’oih, Upper",rol3:"tth",pct_christian:3.5,pop:8500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:15.72,lng:106.48,code:"PG050569"},{name:"Meng",country:"China",lang:"Hani",rol3:"hni",pct_christian:3.5,pop:5300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.89,lng:101.81,code:"PG007280"},{name:"Iu Mien",country:"France",lang:"Iu Mien",rol3:"ium",pct_christian:3.5,pop:2300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:43.61,lng:1.41,code:"PG000166"},{name:"Han Chinese, Cantonese",country:"Zimbabwe",lang:"Chinese, Yue",rol3:"yue",pct_christian:3.5,pop:1600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-17.83,lng:31.03,code:"PG015656"},{name:"Han Chinese",country:"Curacao",lang:"Chinese, Yue",rol3:"yue",pct_christian:3.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:12.19,lng:-68.97,code:"PG016401"},{name:"Sadang Duan",country:"Laos",lang:"Sedang",rol3:"sed",pct_christian:3.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:14.73,lng:107.51,code:"PG050560"},{name:"Ta-Oy Haang",country:"Laos",lang:"Ta’oih, Upper",rol3:"tth",pct_christian:3.5,pop:300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:15.93,lng:106.55,code:"PG050565"}]},Israel:{target_upg:42,target_pop:9176590,target_top_langs:["Hebrew","Arabic, Levantine","Russian","Yiddish, Eastern"],target_top_religion:"Ethnic Religions",neighbors:[{name:"Syrian Christian",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:62.5,pop:4495e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:12.35,lng:76.09,code:"PG041308"},{name:"Pulayan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:45,pop:154e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:10.06,lng:76.53,code:"PG041344"},{name:"Malai Arayan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:35,pop:48e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:9.65,lng:76.66,code:"PG041952"},{name:"Bakole",country:"Cameroon",lang:"French",rol3:"fra",pct_christian:35,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:4.43,lng:8.97,code:"PG012493"},{name:"Tupari",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:35,pop:175,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-12.09,lng:-63.32,code:"PG017148"},{name:"Paravar",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:25,pop:162e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:8.62,lng:77,code:"PG041743"},{name:"Koh",country:"India",lang:"Marathi",rol3:"mar",pct_christian:25,pop:96500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.29,lng:76.9,code:"PG041285"},{name:"Mozambican",country:"Portugal",lang:"Portuguese",rol3:"por",pct_christian:25,pop:40500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:38.77,lng:-9.25,code:"PG000493"},{name:"Amhara",country:"Canada",lang:"Amharic",rol3:"amh",pct_christian:25,pop:14e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG047403"},{name:"Romanian",country:"Czech Republic",lang:"Romanian",rol3:"ron",pct_christian:25,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:50.07,lng:14.47,code:"PG050033"},{name:"Kerala Mudali",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:25,pop:11e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:9.44,lng:78.7,code:"PG049672"},{name:"PoaPoa",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:25,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-20.87,lng:164.66,code:"PG018370"},{name:"Russian",country:"Moldova",lang:"Russian",rol3:"rus",pct_christian:17.5,pop:133e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.13,lng:29.34,code:"PG000867"},{name:"Brazilian",country:"French Guiana",lang:"Portuguese",rol3:"por",pct_christian:17.5,pop:16500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:4.92,lng:-52.3,code:"PG016329"},{name:"Machineri",country:"Bolivia",lang:"Portuguese",rol3:"por",pct_christian:17.5,pop:35,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-10.96,lng:-69.48,code:"PG046933"},{name:"Mang",country:"India",lang:"Marathi",rol3:"mar",pct_christian:12.5,pop:304e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:20.38,lng:76.05,code:"PG041315"},{name:"Brazilian",country:"Paraguay",lang:"Portuguese",rol3:"por",pct_christian:12.5,pop:461e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:-25.3,lng:-57.56,code:"PG046804"},{name:"Korean",country:"Uzbekistan",lang:"Russian",rol3:"rus",pct_christian:12.5,pop:254e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:41.31,lng:69.26,code:"PG024684"},{name:"Mannan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:12.5,pop:145e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.8,lng:76.55,code:"PG041756"},{name:"Arab, Egyptian",country:"Australia",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:12.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-31.94,lng:115.89,code:"PG020254"},{name:"Pole",country:"Kazakhstan",lang:"Polish",rol3:"pol",pct_christian:12.5,pop:62e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:43.29,lng:76.91,code:"PG024292"},{name:"Euronesian",country:"French Polynesia",lang:"French",rol3:"fra",pct_christian:12.5,pop:58500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-17.56,lng:-149.57,code:"PG018408"},{name:"Moldovan",country:"United States",lang:"Romanian",rol3:"ron",pct_christian:12.5,pop:49e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:40.17,lng:-74.79,code:"PG047277"},{name:"Euronesian",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:12.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-22.27,lng:166.45,code:"PG018406"},{name:"Sao Tomean",country:"Portugal",lang:"Portuguese",rol3:"por",pct_christian:12.5,pop:8500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:38.65,lng:-9.1,code:"PG000499"},{name:"Malayali",country:"Maldives",lang:"Malayalam",rol3:"mal",pct_christian:12.5,pop:950,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:4.17,lng:73.51,code:"PG006163"},{name:"Brazilian",country:"Austria",lang:"Portuguese",rol3:"por",pct_christian:12.5,pop:850,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:48.18,lng:16.35,code:"PG000009"},{name:"Aeke",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:12.5,pop:350,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-21.07,lng:164.88,code:"PG009564"},{name:"Kanoe",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:12.5,pop:325,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-11.73,lng:-62.68,code:"PG016942"},{name:"Brazilian",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:20624e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:-12.63,lng:-48.09,code:"PG016600"},{name:"Cheruman",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:467e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.61,lng:76.25,code:"PG041452"},{name:"Brazilian",country:"United States",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:32e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:34.44,lng:-97.31,code:"PG046522"},{name:"Brazilian",country:"United Kingdom",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:275e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:51.5,lng:-.17,code:"PG048432"},{name:"Malayali",country:"Malaysia",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:206e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:3.07,lng:101.64,code:"PG020224"},{name:"Brazilian",country:"Portugal",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:182e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:40.04,lng:-8.79,code:"PG000471"},{name:"Romanian",country:"United States",lang:"Romanian",rol3:"ron",pct_christian:7.5,pop:173e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:36.09,lng:-110.56,code:"PG043611"},{name:"Malayali",country:"United States",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:165e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:40.72,lng:-73.97,code:"PG043340"},{name:"French",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:7.5,pop:93500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-21.33,lng:165.49,code:"PG018389"},{name:"Angolan",country:"Portugal",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:80500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:39,lng:-9.17,code:"PG000467"},{name:"Brazilian",country:"Italy",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:46500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:45.54,lng:9.19,code:"PG048554"},{name:"Mang Garodi",country:"India",lang:"Marathi",rol3:"mar",pct_christian:7.5,pop:42e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:18.57,lng:74.08,code:"PG041892"},{name:"Assyrian",country:"Australia",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:7.5,pop:4e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.85,lng:151.03,code:"PG007833"},{name:"Hasidim",country:"United Kingdom",lang:"Hebrew",rol3:"heb",pct_christian:7.5,pop:32500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:51.5,lng:-.17,code:"PG000648"},{name:"Uraly",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:29500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:12.85,lng:75.26,code:"PG041815"},{name:"Russian",country:"Australia",lang:"Russian",rol3:"rus",pct_christian:7.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.52,lng:142.46,code:"PG008063"},{name:"Brazilian",country:"Canada",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:28e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:43.83,lng:-79.46,code:"PG047367"},{name:"Arab, Egyptian",country:"Germany",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:25500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:52.5,lng:13.4,code:"PG042462"},{name:"Brazilian",country:"Switzerland",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:21500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:47.43,lng:8.44,code:"PG048542"},{name:"Malai Vedan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:18500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:9.91,lng:77.99,code:"PG042150"},{name:"Portuguese",country:"Argentina",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:18e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-34.65,lng:-58.56,code:"PG017360"},{name:"Brazilian",country:"Belgium",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:17e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:50.85,lng:4.38,code:"PG047834"},{name:"Sake",country:"Gabon",lang:"French",rol3:"fra",pct_christian:7.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:.07,lng:11.63,code:"PG013210"},{name:"Burundi",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.58,lng:-73.7,code:"PG050494"},{name:"Brazilian",country:"Guyana",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:6.49,lng:-58.12,code:"PG016369"},{name:"Burundi",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:37.74,lng:-92.31,code:"PG047181"},{name:"Kokama",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:9600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-3.43,lng:-64.82,code:"PG016815"},{name:"Arab, Lebanese",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024837"},{name:"Arab, Palestinian",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024839"},{name:"Iranian",country:"Armenia",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:40.17,lng:44.49,code:"PG050098"},{name:"Brazilian",country:"Jamaica",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:6e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:18.05,lng:-76.95,code:"PG016388"},{name:"Arab, Egyptian",country:"Belgium",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:5300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:50.85,lng:4.38,code:"PG000053"},{name:"Pole",country:"Uzbekistan",lang:"Polish",rol3:"pol",pct_christian:7.5,pop:3700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:41.31,lng:69.26,code:"PG024310"},{name:"Tremembe",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:3e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-3.09,lng:-40.02,code:"PG017135"},{name:"Iranian",country:"Greece",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:38.05,lng:23.7,code:"PG047071"},{name:"Kande",country:"Gabon",lang:"French",rol3:"fra",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-.09,lng:11.75,code:"PG013189"},{name:"Chadian",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.58,lng:-73.7,code:"PG050504"},{name:"New Caledonian",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.22,lng:-122.99,code:"PG047444"},{name:"Rikbaktsa",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:950,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-11.27,lng:-58.27,code:"PG017085"},{name:"Kambeba",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:850,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-3.17,lng:-64.85,code:"PG016936"},{name:"Miranha",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:850,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-2.86,lng:-64.74,code:"PG017022"},{name:"Gabonese",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:38.9,lng:-77.19,code:"PG047191"},{name:"Makurap",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:475,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-12.56,lng:-62.57,code:"PG017001"},{name:"Chinese-Tahitian Creole",country:"French Polynesia",lang:"French",rol3:"fra",pct_christian:7.5,pop:300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-17.56,lng:-149.57,code:"PG018407"},{name:"Chadian",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:250,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:38.02,lng:-84.5,code:"PG047189"},{name:"Kariri",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:125,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-7.27,lng:-39.77,code:"PG016956"},{name:"Romanian",country:"Romania",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:1637e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:45.84,lng:24.98,code:"PG000899"},{name:"Variyar",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:3.5,pop:1417e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:12.13,lng:78.55,code:"PG042083"},{name:"Izhattu Pillaimar",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:3.5,pop:852e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.6,lng:77.56,code:"PG041254"},{name:"Russian",country:"Ukraine",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:708e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.69,lng:34.82,code:"PG042915"},{name:"Walloon",country:"Belgium",lang:"French",rol3:"fra",pct_christian:3.5,pop:3755e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:50.32,lng:4.95,code:"PG000076"},{name:"Swiss",country:"Switzerland",lang:"French",rol3:"fra",pct_christian:3.5,pop:2015e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:46.6,lng:6.93,code:"PG000585"},{name:"Kokna",country:"India",lang:"Marathi",rol3:"mar",pct_christian:3.5,pop:136e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.59,lng:73.8,code:"PG041403"},{name:"Romanian",country:"Italy",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:13e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:44.5,lng:9.8,code:"PG048833"},{name:"Portuguese",country:"France",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:984e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:47.39,lng:2.44,code:"PG000186"},{name:"Portuguese",country:"United States",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:861e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:39.45,lng:-96.6,code:"PG046462"},{name:"Portuguese",country:"Canada",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:307e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:46.93,lng:-92.67,code:"PG043365"},{name:"Thandan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:3.5,pop:285e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:9.05,lng:76.86,code:"PG041497"},{name:"Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:26e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.48,lng:12.44,code:"PG049403"},{name:"Portuguese",country:"Venezuela",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:242e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:10.47,lng:-69.1,code:"PG016488"},{name:"Egyptian Copt",country:"United States",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:3.5,pop:242e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:35.35,lng:-111.99,code:"PG047347"},{name:"Arab, Lebanese",country:"Canada",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:234e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.53,lng:-73.66,code:"PG043431"},{name:"Jew",country:"Russian Federation",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:208e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:52.97,lng:74.32,code:"PG042910"},{name:"Persian",country:"Canada",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:46.93,lng:-92.67,code:"PG043458"},{name:"Arab, Syrian",country:"United States",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:193e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.7,lng:-73.87,code:"PG043644"},{name:"Iranian",country:"Germany",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:175e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:52.51,lng:11.69,code:"PG000259"},{name:"Russian",country:"Lithuania",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:155e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:55.25,lng:24.5,code:"PG000853"},{name:"Persian",country:"Turkiye",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:13e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:41.04,lng:28.87,code:"PG024581"},{name:"Jew, Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:99500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:52.5,lng:13.4,code:"PG046578"},{name:"Romanian",country:"Hungary",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:96500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:46.8,lng:20.84,code:"PG000835"},{name:"Persian",country:"United Kingdom",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:86e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:51.5,lng:-.17,code:"PG000643"},{name:"Romanian ",country:"Austria",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:48.18,lng:16.35,code:"PG049963"},{name:"Franco-Mauritian",country:"Mauritius",lang:"French",rol3:"fra",pct_christian:3.5,pop:72500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-20.25,lng:57.51,code:"PG015346"},{name:"Assyrian",country:"Germany",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:7e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:50.03,lng:8.25,code:"PG000214"},{name:"Assyrian",country:"United States",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:7e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:37.75,lng:-122.21,code:"PG043528"},{name:"Hungarian",country:"Austria",lang:"Hungarian",rol3:"hun",pct_christian:3.5,pop:64500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:47.59,lng:16.37,code:"PG000021"},{name:"Russian",country:"United Kingdom",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:64e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000675"},{name:"Kurichian",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:3.5,pop:52500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:11.72,lng:76.1,code:"PG041910"},{name:"Hungarian",country:"Canada",lang:"Hungarian",rol3:"hun",pct_christian:3.5,pop:42e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:43.83,lng:-79.46,code:"PG043408"},{name:"Sillekyatha",country:"India",lang:"Marathi",rol3:"mar",pct_christian:3.5,pop:34500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:15.11,lng:76.53,code:"PG042138"},{name:"Romanian",country:"Ireland",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:53.39,lng:-6.28,code:"PG048049"},{name:"Bissau-Guineans",country:"Portugal",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:16500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:39,lng:-9.17,code:"PG000482"},{name:"Moldovan",country:"Canada",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:49.72,lng:-95.67,code:"PG047364"},{name:"Romanian",country:"France",lang:"French",rol3:"fra",pct_christian:3.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:48.84,lng:2.35,code:"PG000192"},{name:"Assyrian",country:"Canada",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG043355"},{name:"Portuguese",country:"Macao",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:22.16,lng:113.56,code:"PG050586"},{name:"Persian",country:"Indonesia",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:-6.21,lng:106.83,code:"PG050238"},{name:"Kummara , Kusuvan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:3.5,pop:7e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:12.31,lng:75.54,code:"PG048341"},{name:"French Caribbean",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:6300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.5,lng:-73.81,code:"PG047395"},{name:"Togolese",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:5600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:45.52,lng:-73.68,code:"PG050478"},{name:"Congolese",country:"Spain",lang:"French",rol3:"fra",pct_christian:3.5,pop:4800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:40.41,lng:-3.69,code:"PG042340"},{name:"Abenaki",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:46.07,lng:-72.82,code:"PG043348"},{name:"Ivorian",country:"United States",lang:"French",rol3:"fra",pct_christian:3.5,pop:3600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:40.74,lng:-73.72,code:"PG047266"},{name:"Persian",country:"South Korea",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:3500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:37.55,lng:126.99,code:"PG050237"},{name:"Guinean",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.5,lng:-73.81,code:"PG047454"},{name:"Sighu",country:"Gabon",lang:"French",rol3:"fra",pct_christian:3.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-.84,lng:12.69,code:"PG013213"},{name:"Rwandan",country:"Netherlands",lang:"French",rol3:"fra",pct_christian:3.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:51.9,lng:4.47,code:"PG000430"},{name:"Gabonese",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:1600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.58,lng:-73.7,code:"PG050505"},{name:"Romanian",country:"Venezuela",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:10.48,lng:-66.88,code:"PG016490"},{name:"Arab, Palestinian",country:"El Salvador",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:13.71,lng:-89.19,code:"PG039263"},{name:"Chiquitano",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-16.15,lng:-59.48,code:"PG050662"},{name:"Poyanawa",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:550,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-7.55,lng:-73.09,code:"PG017081"},{name:"Jabuti",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-12.08,lng:-64.7,code:"PG016889"},{name:"Yuruti",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:40,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:.61,lng:-69.19,code:"PG017210"}]}}},fg={"a-ou":"Guizhou Province",accukattavandlu:"Andhra Pradesh",adi:"Tibet Autonomous Region",adiyan:"Karnātaka",agaria:"Gujarāt",agasa:"Karnātaka",agri:"Gujarāt",aguru:"Andhra Pradesh",ahmadiya:"Uttar Pradesh","ai-cham":"Guizhou Province","ainu-china":"Xinjiang Uyghur Autonomous Region",aiton:"Assam",aiyarakulu:"Andhra Pradesh",akeu:"Yunnan Province",alavan:"Tamil Nādu",aling:"Yunnan Province",allar:"Kerala",alu:"Yunnan Province","alxa-mongols":"Inner Mongolia Autonomous Region",ambalavasi:"Kerala",andamanese:"Andaman and Nicobar Islands","andhra-vaisnawa":"Andhra Pradesh",angarok:"West Bengal",angku:"Yunnan Province",ani:"Yunnan Province",anjana:"Madhya Pradesh","anjana-patel-gujarati":"Gujarāt","ansari-momin-bengali":"West Bengal","ansari-momin-kannada":"Karnātaka","ansari-momin-tamil":"Tamil Nādu","ansari-momin-telugu":"Andhra Pradesh","anthur-nair":"Kerala",anuppan:"Tamil Nādu",anwal:"Uttarākhand",aoka:"Hunan Province",apu:"Yunnan Province","arain-dogri":"Jammu and Kashmīr","arain-kannauji":"Uttar Pradesh","arain-punjabi":"Haryāna",arakala:"Andhra Pradesh",aranadan:"Tamil Nādu",arasu:"Karnātaka",arayavati:"Kerala","are-bondili":"Andhra Pradesh","are-kapu":"Telangāna","are-katika":"Andhra Pradesh",atollu:"Andhra Pradesh",attagara:"Telangāna","attar-saibulu":"Mahārāshtra",ayri:"Karnātaka",ayyanavar:"Kerala","badhai-chhattisgarhi":"Chhattīsgarh",badhik:"Uttar Pradesh",badi:"Uttar Pradesh","badi-marwari":"Rājasthān",bafan:"Gujarāt",bagga:"Karnātaka",bagti:"West Bengal","baha-i":"Odisha",baharupi:"Mahārāshtra",baida:"West Bengal",baig:"Tamil Nādu",baira:"Karnātaka","bairagi-chhattisgarhi":"Chhattīsgarh","bairagi-gujarati":"Gujarāt","bairagi-odia":"Odisha",baisya:"West Bengal",bajandar:"Tripura",bakuda:"Kerala",balahar:"Uttar Pradesh",balasantoshi:"Karnātaka",baloch:"Gujarāt",bamcha:"Gujarāt",banai:"Meghālaya",banchada:"Madhya Pradesh",bandi:"Karnātaka",bandollu:"Andhra Pradesh",bangti:"Odisha","bania-agarwal-telegu":"Andhra Pradesh","bania-dogri":"Jammu and Kashmīr","bania-kannada":"Karnātaka","bania-kashmiri":"Ladākh","bania-konkani":"Goa","bania-malayalam":"Kerala","banik-bania":"Tripura",banjania:"Gujarāt",banka:"Odisha",banpar:"Bihār",baonuo:"Guangxi Zhuang Autonomous Region",baraua:"Madhya Pradesh",barda:"Mahārāshtra",baret:"Rājasthān",bargah:"Chhattīsgarh",bargala:"Uttar Pradesh",bargi:"Rājasthān",bargujar:"Uttar Pradesh","bari-hindi":"Madhya Pradesh","bari-marathi":"Mahārāshtra","bari-odia":"Odisha",barot:"Gujarāt",barthari:"Gujarāt",barua:"Tripura",basudeva:"Madhya Pradesh",batada:"Karnātaka",bauti:"Odisha",bavuri:"Odisha","bayil-kammara":"Karnātaka","bayil-pattar":"Karnātaka","bayita-kammara":"Andhra Pradesh",beidongnuo:"Guizhou Province","beldar-chhattisgarhi":"Chhattīsgarh",bellara:"Karnātaka",berad:"Andhra Pradesh",berar:"Madhya Pradesh",bestha:"Karnātaka",bhakta:"West Bengal",bhalla:"West Bengal","bhand-kashmiri":"Jammu and Kashmīr","bhangi-chhattisgarhi":"Chhattīsgarh",bhanumati:"Madhya Pradesh",bharewa:"Chhattīsgarh","bharia-bhumia-chhattisgarhi":"Chhattīsgarh",bharwad:"Mahārāshtra",bhatrajulu:"Telangāna","bhattra-bhatri":"Chhattīsgarh","bhatu-andamani":"Andaman and Nicobar Islands",bhodala:"Gujarāt","bhoi-marathi":"Mahārāshtra","bhoi-odia":"Odisha",bhojki:"Himāchal Pradesh",bhondari:"Andhra Pradesh",bhopa:"Rājasthān",bhuiyar:"Uttar Pradesh",bhujel:"West Bengal",bhunjia:"Chhattīsgarh",bhurtia:"Madhya Pradesh",bhutta:"Rājasthān",bilaspuri:"Assam",bindla:"Telangāna",bisati:"Uttar Pradesh","bit-china":"Yunnan Province","black-thai":"Yunnan Province","bogar-lhoba":"Tibet Autonomous Region",bogol:"Inner Mongolia Autonomous Region",bolla:"Telangāna",bomba:"Jammu and Kashmīr",bondili:"Tamil Nādu",bondo:"Odisha",borpi:"Gujarāt","bowis-mogeyar":"Kerala","boyu-tibetans":"Gansu Province","brahman-jyoti":"Odisha","brahmin-andamani":"Andaman and Nicobar Islands",brukpa:"Ladākh",budakukkala:"Andhra Pradesh",budhan:"Jammu and Kashmīr",bugan:"Yunnan Province",bunan:"Tibet Autonomous Region",buryat:"Inner Mongolia Autonomous Region","butuo-nosu":"Sichuan Province",buyang:"Yunnan Province",byadh:"West Bengal",cai:"Guizhou Province",caki:"Gujarāt",cakkala:"Kerala",cakketakare:"Andhra Pradesh","cakkyar-nambiyar":"Kerala",camadollu:"Andhra Pradesh",camma:"Bihār",campa:"Ladākh","candhai-maru":"Odisha",cejara:"Rājasthān",cekkala:"Tamil Nādu",chadwa:"Rājasthān",chaikwa:"Chhattīsgarh",chakkiyar:"Kerala","chamar-assamese":"Assam","chamar-muchi-malayalam":"Kerala","chamar-muchi-tamil":"Tamil Nādu",champta:"Gujarāt",changpao:"Guizhou Province",chaptegar:"Karnātaka",chari:"Mahārāshtra",charodi:"Karnātaka",charwaha:"Uttar Pradesh",chatarkheya:"Odisha",chaudangsi:"Uttarākhand",chayakkaran:"Tamil Nādu",cheintz:"Jammu and Kashmīr","chengazhi-nambiar":"Kerala","chenna-dasar":"Karnātaka",cherua:"Odisha",chesu:"Yunnan Province",chheepi:"Rājasthān",chitari:"Mahārāshtra",chobdar:"Rājasthān",chopan:"Jammu and Kashmīr",chunari:"West Bengal",chungar:"Rājasthān",cingatanmar:"Kerala",cippollu:"Telangāna",citrakar:"Odisha",citrakathi:"Mahārāshtra","cona-monba":"Tibet Autonomous Region","coorgi-andamanese":"Andaman and Nicobar Islands",cudigar:"Rājasthān",cunara:"Gujarāt",cundollu:"Andhra Pradesh",dadupanthi:"Rājasthān",dafer:"Gujarāt",daitapati:"Odisha","dalu-india":"Meghālaya",damami:"Rājasthān",damla:"Odisha",dammali:"Andhra Pradesh",dangasiya:"Gujarāt",daoli:"Punjab","darang-deng":"Tibet Autonomous Region","darji-odia":"Odisha","dasa-palanjika":"Tamil Nādu",dasari:"Andhra Pradesh","dasnami-bawa":"Gujarāt",daule:"Himāchal Pradesh",dayare:"Tamil Nādu",depala:"Gujarāt","dhakad-halbi":"Chhattīsgarh",dhaki:"Himāchal Pradesh","dhal-kstriya":"West Bengal",dhamin:"Bihār",dhawad:"Mahārāshtra",dhed:"Madhya Pradesh",dheevara:"Kerala",dhekaro:"Jhārkhand",dhera:"Odisha",dhimal:"West Bengal","dhobi-dogri":"Jammu and Kashmīr","dhobi-tamil":"Tamil Nādu",dhola:"Rājasthān",dhyar:"Jammu and Kashmīr",dianbao:"Yunnan Province",diao:"Guizhou Province",didayi:"Odisha",dokhpa:"Ladākh","dom-chhattisgarhi":"Chhattīsgarh","dom-marathi":"Mahārāshtra",domal:"Jammu and Kashmīr","dombi-dasa":"Karnātaka",dosali:"Himāchal Pradesh",doupo:"Yunnan Province",dudhwala:"Gujarāt","durga-murga":"Karnātaka","eastern-samadu":"Yunnan Province","eastern-xiangxi-miao":"Hunan Province","eneti-dora":"Odisha","enger-yugur":"Gansu Province",erawallan:"Kerala",ersu:"Sichuan Province",ezhavathi:"Kerala","ga-mong":"Guizhou Province",gabit:"Goa",gachha:"Madhya Pradesh",gadhai:"Gujarāt",gadhia:"Uttar Pradesh",gadihar:"Bihār",gagra:"Punjab","galada-kokani":"Karnātaka",galiara:"Gujarāt",galwan:"Jammu and Kashmīr",gandalla:"Andhra Pradesh",gandharv:"Bihār",gandla:"Andhra Pradesh",gangawar:"Tamil Nādu",gangireddula:"Telangāna","ganta-sayebulu":"Andhra Pradesh","ganti-chores":"Karnātaka",ganz:"Jammu and Kashmīr",gao:"Guizhou Province",garadi:"Andhra Pradesh",gardi:"Jammu and Kashmīr",garmatan:"Gujarāt",garodi:"Mahārāshtra",garpagari:"Mahārāshtra",garvi:"Gujarāt",gatti:"Karnātaka",gauli:"Karnātaka",gavara:"Andhra Pradesh",gavli:"Gujarāt",gelao:"Guizhou Province","geman-deng":"Tibet Autonomous Region",ghadi:"Karnātaka",ghadwa:"Chhattīsgarh",ghantarghada:"Odisha",ghantiya:"Gujarāt",ghazi:"West Bengal",ghihara:"Rājasthān",ghogia:"Odisha",ghusuria:"Odisha",godagali:"Andhra Pradesh",godari:"Andhra Pradesh",godda:"Karnātaka",godra:"Odisha",golarana:"Gujarāt","gomantak-maratha":"Goa","gond-kannada":"Karnātaka",gondhali:"Mahārāshtra",gopal:"Mahārāshtra",gorkun:"Jammu and Kashmīr","gosain-chhattisgarhi":"Chhattīsgarh","gosain-gujarati":"Gujarāt","gosain-kangri":"Himāchal Pradesh","gosain-rajasthani":"Rājasthān",gosangi:"Telangāna","great-andamanese":"Andaman and Nicobar Islands",guaigun:"Yunnan Province","guddi-eluguwallu":"Andhra Pradesh",gudikara:"Karnātaka",gudugudupandi:"Tamil Nādu",guna:"Odisha",guraw:"Karnātaka",gurika:"Telangāna",gurru:"Rājasthān",gurukkal:"Tamil Nādu","ha-li":"Hainan Province",habura:"Uttar Pradesh",hadi:"Himāchal Pradesh",hagei:"Guizhou Province","hajjam-assamese":"Assam","hajjam-bengali":"West Bengal","hajjam-gujarati":"Gujarāt","hajjam-haryanvi":"Haryāna","hajjam-hindi":"Madhya Pradesh","hajjam-kannada":"Karnātaka","hajjam-kashmiri":"Jammu and Kashmīr","hajjam-telugu":"Andhra Pradesh",halaypotra:"Gujarāt",halleer:"Karnātaka",haluadas:"Tripura",hardas:"Mahārāshtra",harkantra:"Karnātaka",hasalaru:"Karnātaka",hatgar:"Andhra Pradesh",hatkar:"Mahārāshtra",heishui:"Sichuan Province",helawa:"Karnātaka","henan-mongols":"Qinghai Province",hesi:"Himāchal Pradesh",hijra:"Uttar Pradesh","hindu-santarash":"Bihār",hingora:"Gujarāt",hingorza:"Gujarāt",hiranbaj:"Rājasthān","holeya-dasari":"Karnātaka","hongjin-tai":"Yunnan Province",hu:"Yunnan Province","huishui-miao":"Guizhou Province",ilayatu:"Kerala","indo-french":"Puducherry","indo-vietnamese":"Puducherry",irika:"Odisha",jadam:"Madhya Pradesh",jadupetia:"Jhārkhand","jains-bengali":"West Bengal","jains-hindi":"Madhya Pradesh","jains-maithili":"Bihār","jains-tamil":"Tamil Nādu","jains-telugu":"Telangāna",jakkula:"Andhra Pradesh",jandra:"Andhra Pradesh",janughanta:"Odisha",jarawas:"Andaman and Nicobar Islands","jarkhandi-hajjam":"Jhārkhand","jarkhandi-julaha":"Jhārkhand","jat-muslim":"Gujarāt","jati-pillai":"Tamil Nādu",jatigar:"Karnātaka",jaweri:"Karnātaka",jethi:"Andhra Pradesh",jhadi:"Mahārāshtra","jharkhandi-nai":"Jhārkhand","jiamao-li":"Hainan Province",jiasou:"Yunnan Province",jimdar:"Uttarākhand",jino:"Yunnan Province","jogi-angika":"Bihār","jogi-halbi":"Chhattīsgarh","jogi-odia":"Odisha","jogi-telugu":"Karnātaka","jogi-tulu":"Karnātaka",juneja:"Gujarāt","kachchi-alia":"Odisha","kachchi-kushwaha":"Mahārāshtra","kachera-bagheli":"Madhya Pradesh",kachi:"Telangāna",kadar:"Bihār",kaghzi:"Mahārāshtra","kahar-gujarati":"Gujarāt",kaikali:"Andhra Pradesh",kakkalan:"Kerala",kakmara:"West Bengal","kalal-sadri":"Chhattīsgarh",kalanadies:"Kerala",kalladi:"Kerala","kallattu-kurup":"Kerala",kamalia:"Gujarāt",kambalattan:"Tamil Nādu",kambar:"Tamil Nādu","kambodia-bhagat":"Gujarāt",kamila:"Odisha",kanda:"Tripura",kandera:"Madhya Pradesh",kankali:"Uttar Pradesh","kannada-naicker":"Tamil Nādu","kannada-saineegar":"Tamil Nādu",kapadi:"Gujarāt",kapasiya:"Odisha",kapewar:"Mahārāshtra",kapuria:"West Bengal",karaiyar:"Tamil Nādu",karimpalan:"Kerala",karlar:"Tamil Nādu","karna-sale":"Tamil Nādu",karnam:"Andhra Pradesh",karnibhakthulu:"Andhra Pradesh","kasar-bengali":"West Bengal","kasar-gujarati":"Gujarāt","kasar-hindi":"Madhya Pradesh","kasar-odia":"Odisha",kasbati:"Gujarāt",kasikapadi:"Mahārāshtra",katesar:"Tamil Nādu",kathar:"Mahārāshtra",kathi:"Gujarāt",katipamula:"Telangāna",kattiakaran:"Tamil Nādu",kavara:"Kerala",kavuthiyan:"Kerala",kawoj:"Jammu and Kashmīr",kayalar:"Tamil Nādu",keji:"Tibet Autonomous Region",kepmari:"Tamil Nādu",ker:"Gujarāt",khadim:"Rājasthān",khadura:"Odisha","khairwar-bengali":"West Bengal","khairwar-chhattisgarhi":"Chhattīsgarh",khakar:"Karnātaka",khalifa:"West Bengal",khalpa:"Gujarāt",khamba:"Arunāchal Pradesh",khamyang:"Arunāchal Pradesh",khandwal:"Odisha","khangar-bundeli":"Uttar Pradesh",kharol:"Rājasthān",kharvi:"Mahārāshtra",khaskeli:"Gujarāt",khatbune:"Delhi","khati-odia":"Odisha","khatik-bengali":"West Bengal","khatik-chambeali":"Himāchal Pradesh","khatik-chhattisgarhi":"Chhattīsgarh","khatik-gujarati":"Gujarāt","khatik-marathi":"Mahārāshtra","khatik-punjabi":"Chandīgarh","khatik-telugu":"Telangāna",khmu:"Yunnan Province",khowa:"Arunāchal Pradesh",kidaran:"Kerala",kobari:"Odisha","kocu-wellan":"Kerala",koiren:"Manipur",kokaniz:"Mahārāshtra","kol-chhattisgarhi":"Chhattīsgarh",kolari:"Karnātaka",kolhati:"Mahārāshtra",koliyan:"Tamil Nādu",kollan:"Kerala","komara-panta":"Karnātaka","kommu-dasari":"Andhra Pradesh","konda-kammara":"Andhra Pradesh","kong-ge":"Yunnan Province","kongu-vaisnawa":"Tamil Nādu","kongu-vellala-gounder":"Tamil Nādu",koosa:"Karnātaka",kootan:"Kerala",koraga:"Odisha","koraga-korra":"Karnātaka",kota:"Tamil Nādu",kottari:"Karnātaka",koyava:"Karnātaka",kraal:"Jammu and Kashmīr",krishnavaka:"Tamil Nādu",kriyagar:"Rājasthān",kucband:"Haryāna",kucong:"Yunnan Province",kuda:"Odisha",kudimahan:"Mahārāshtra",kudiya:"Karnātaka",kudubi:"Karnātaka",kudumi:"Tamil Nādu",kuli:"Odisha",kuliya:"Andhra Pradesh",kuluvan:"Tamil Nādu","kumar-kshatriya":"Kerala","kumhar-assamese":"Assam","kummara-kumbara":"Karnātaka","kummara-kummari":"Tamil Nādu","kummara-kusuvan":"Kerala",kunduvadian:"Kerala","kunnuva-vellalar":"Tamil Nādu","kurahina-setti":"Karnātaka",kurakula:"Andhra Pradesh",kurol:"West Bengal",kurukkal:"Kerala",kurunga:"Odisha",kusta:"Odisha","kuthliya-bora":"Uttarākhand",kyrgyz:"Xinjiang Uyghur Autonomous Region",laba:"Guizhou Province",labapo:"Yunnan Province",laccadive:"Lakshadweep",ladar:"Karnātaka",ladia:"Madhya Pradesh",ladsi:"Mahārāshtra",lahangir:"Madhya Pradesh",lajjhar:"Mahārāshtra","lakhera-haryanvi":"Haryāna","lakkamari-kapu":"Telangāna",langa:"Gujarāt",laowu:"Yunnan Province",laskari:"Rājasthān","lati-china":"Yunnan Province",lawu:"Yunnan Province","liang-e":"Yunnan Province",liari:"Odisha",linghua:"Guangxi Zhuang Autonomous Region","liping-baheng":"Guizhou Province",liude:"Yunnan Province",liujia:"Guizhou Province","lodha-marathi":"Mahārāshtra","lohar-dogri":"Jammu and Kashmīr",lois:"Manipur",lonar:"Mahārāshtra",longjia:"Guizhou Province",lu:"Guizhou Province","lupanshui-miao":"Guizhou Province",luzu:"Sichuan Province",machhiyara:"Gujarāt","madiga-dasu":"Andhra Pradesh",maghia:"Odisha",mahisyadas:"Tripura",mahuria:"Odisha",maila:"Karnātaka",majjula:"Andhra Pradesh",majothi:"Gujarāt",makrani:"Gujarāt","mala-masti":"Telangāna","malai-pandaram":"Kerala","malai-vellala":"Tamil Nādu",malaikudi:"Karnātaka",malakar:"Tripura",malaneese:"Himāchal Pradesh",malayalar:"Kerala",maleru:"Karnātaka",maleyan:"Tamil Nādu",malia:"Odisha",malis:"Andhra Pradesh",man:"Assam",mana:"Mahārāshtra",manbhav:"Madhya Pradesh","mandali-muslims":"Gujarāt",mandula:"Andhra Pradesh","mang-china":"Yunnan Province","mangnyar-muslims":"Rājasthān",manhas:"Jammu and Kashmīr",maniyattikkaran:"Tamil Nādu","manjygur-muslims":"Jammu and Kashmīr",mankar:"Madhya Pradesh",manmet:"Yunnan Province","manna-dhora":"Andhra Pradesh",manser:"Karnātaka",manyak:"Sichuan Province","maran-nairs":"Kerala",marasari:"Kerala","maria-muslims":"Assam","markande-kanjia":"Odisha","mashan-miao":"Guizhou Province",masku:"Himāchal Pradesh",matak:"Assam",matangi:"Telangāna",mavilan:"Kerala",meda:"Karnātaka",medari:"Andhra Pradesh","medog-monba":"Tibet Autonomous Region","meifu-li":"Hainan Province",mengwu:"Yunnan Province",mer:"Gujarāt",mhalo:"Goa",miguba:"Tibet Autonomous Region",ming:"Sichuan Province",minyak:"Sichuan Province",mir:"Gujarāt",mirshikar:"West Bengal","mishaba-laluo":"Yunnan Province","mith-gauda":"Goa","mitha-ayyalavar":"Telangāna",mitna:"Mahārāshtra",miyana:"Gujarāt",mo:"Guizhou Province",modaks:"Jhārkhand",mogaveera:"Karnātaka","moger-malayalam":"Kerala","moghal-telugu":"Telangāna","moghol-dogri":"Jammu and Kashmīr","moghol-gujarati":"Gujarāt","moghol-marwari":"Rājasthān",mogia:"Rājasthān",momba:"Arunāchal Pradesh","mon-india":"Ladākh",mondivogula:"Andhra Pradesh",mondiwar:"Mahārāshtra",moothan:"Kerala",mosuo:"Yunnan Province",mozhihei:"Hunan Province","muchi-chamar":"Telangāna",muda:"Yunnan Province",mudugar:"Tamil Nādu",mujavar:"Gujarāt",mujavir:"Uttar Pradesh",mukeri:"Bihār",mukhi:"Assam",mukkari:"Kerala",muli:"Andhra Pradesh",mundala:"Karnātaka",mundapotta:"Odisha",munnewar:"Chhattīsgarh",murhid:"Rājasthān",musari:"Kerala",muskhan:"Madhya Pradesh","muslim-gond":"Madhya Pradesh","muslim-kachera":"Mahārāshtra","muslim-khatri":"Gujarāt","muslim-lakhera":"Gujarāt","muslim-patel":"Gujarāt","musti-chenchu":"Andhra Pradesh",muttatu:"Kerala",mutwa:"Gujarāt",muzi:"Yunnan Province",na:"Arunāchal Pradesh",nadors:"Karnātaka",nagavamsam:"Andhra Pradesh",nagbansi:"Jhārkhand","nagbansi-dogri":"Jammu and Kashmīr",nagda:"Rājasthān",nahal:"Mahārāshtra",naheng:"Yunnan Province","nai-assamese":"Assam","nai-kannada":"Karnātaka","nai-mewari":"Rājasthān","nai-odia":"Odisha",naikpod:"Mahārāshtra",nairy:"Karnātaka",naita:"Madhya Pradesh",najjar:"Jammu and Kashmīr",naju:"Sichuan Province",nakhasa:"Andhra Pradesh",nakkala:"Tamil Nādu",naksia:"Odisha",nalband:"Bihār",nalkadaya:"Kerala","namasudra-assamese":"Assam",nambutiris:"Kerala",namdagur:"Jammu and Kashmīr",namdeo:"Madhya Pradesh","namdeo-maratha":"Tamil Nādu",namuyi:"Sichuan Province",nandiwala:"Mahārāshtra","nanjil-mudali":"Tamil Nādu",nanjingren:"Guizhou Province",naoda:"Madhya Pradesh",naqqas:"Jammu and Kashmīr",nar:"Himāchal Pradesh",narsanna:"Kerala",narsinghpura:"Gujarāt",nasuvan:"Kerala","nat-bagheli":"Madhya Pradesh",natua:"Karnātaka",nawaiyat:"Karnātaka",nayadi:"Kerala","nayak-muslims":"Gujarāt",neeli:"Mahārāshtra",nema:"Madhya Pradesh",neyyala:"Andhra Pradesh","nghari-tibetans":"Tibet Autonomous Region",nicar:"Himāchal Pradesh",nilkanth:"Mahārāshtra",node:"Gujarāt",noliya:"Odisha","northern-awu":"Yunnan Province","northern-dong":"Guizhou Province","northern-muji":"Yunnan Province",numao:"Guizhou Province",nyaria:"Rājasthān",olot:"Heilongjiang Province",onge:"Andaman and Nicobar Islands",ongkor:"Xinjiang Uyghur Autonomous Region",ontaris:"Andhra Pradesh",oriya:"Odisha",otans:"Kerala",padannan:"Kerala",padarthis:"Karnātaka",padhar:"Gujarāt",padigarajulu:"Andhra Pradesh",padiyar:"Karnātaka",pagativeshagallu:"Andhra Pradesh",paharia:"West Bengal",pajabgar:"Rājasthān",pakhimara:"Rājasthān",paky:"Andhra Pradesh","palakad-tandans":"Kerala",palyu:"Guangxi Zhuang Autonomous Region",pambada:"Karnātaka",pambala:"Telangāna",pamidi:"Andhra Pradesh",pamula:"Andhra Pradesh",panar:"Gujarāt",panara:"Chhattīsgarh","pancaratra-srivaisnavas-brahmans":"Andhra Pradesh",pandithar:"Kerala",pando:"Chhattīsgarh",pangans:"Manipur",pangul:"Mahārāshtra","pangwal-buddhists":"Himāchal Pradesh",pangwala:"Himāchal Pradesh","panka-odia":"Odisha",pankhiya:"Uttar Pradesh",pannadi:"Tamil Nādu",panniandi:"Tamil Nādu","panxian-nasu":"Guizhou Province",paradhi:"Gujarāt",parenga:"Odisha","pariki-muggula":"Telangāna",parkavakulam:"Tamil Nādu",parvatarajakulam:"Tamil Nādu",patanwadia:"Gujarāt",patari:"Uttar Pradesh",pathinaickans:"Kerala",pathiyan:"Kerala",patkars:"Telangāna","patni-jamat":"Gujarāt","patni-vankars":"Gujarāt",pattanavan:"Tamil Nādu",pattegar:"Karnātaka",pendar:"Karnātaka",perumkollar:"Tamil Nādu",phularis:"Mahārāshtra","pingdi-yao":"Hunan Province","pinjara-dhunia-bengali":"West Bengal","pinjara-kannada":"Karnātaka","pinjara-marathi":"Mahārāshtra","pinjara-punjabi":"Punjab",pisaroti:"Kerala",pochammalollu:"Mahārāshtra",poduval:"Kerala",pohul:"Jammu and Kashmīr",pomla:"Gujarāt",popei:"Yunnan Province","prabhu-patane":"Mahārāshtra",pubiao:"Yunnan Province",pulisari:"Kerala",puman:"Yunnan Province",puran:"Jhārkhand","purig-pa":"Ladākh",puroik:"Tibet Autonomous Region",pusha:"Guangxi Zhuang Autonomous Region","puspakan-unni":"Kerala",putliwale:"Uttar Pradesh",qanu:"Guizhou Province","qiubei-zhuang":"Yunnan Province",qixingmin:"Guizhou Province",racband:"Punjab",rachavar:"Karnātaka",raddi:"Karnātaka",radhi:"Odisha","rai-bhat-muslims":"Uttar Pradesh",rajannalu:"Telangāna",rajapuri:"Karnātaka",rajdhop:"Bihār","raji-india":"Uttarākhand",rajkumhar:"Rājasthān",rajpurohit:"Rājasthān",rana:"Odisha",raneyar:"Karnātaka",rao:"Guizhou Province",rastogi:"Uttar Pradesh",ratal:"Jammu and Kashmīr",rath:"Rājasthān",rathodia:"Gujarāt",raval:"Karnātaka",rave:"Uttar Pradesh","raya-rawat":"Karnātaka",raysipotra:"Gujarāt",reddi:"Kerala","reddi-dora":"Andhra Pradesh",reddika:"Andhra Pradesh",rehar:"Himāchal Pradesh",royma:"Gujarāt",rujjhar:"Madhya Pradesh","rumai-de-ang":"Yunnan Province",runjalavallu:"Andhra Pradesh",runwalas:"Rājasthān",sabakhia:"Odisha",sabar:"Tripura",sadaru:"Andhra Pradesh","sadhu-chetty":"Andhra Pradesh",sagar:"Gujarāt",sagharias:"Dādra and Nagar Haveli and Damān and Diu",saha:"Tripura",sahi:"Mahārāshtra",sahisia:"Bihār",sain:"Rājasthān",sais:"Madhya Pradesh",sakunapaksollu:"Andhra Pradesh",salivahanam:"Tamil Nādu",saman:"Heilongjiang Province",samanthan:"Kerala",samasi:"Odisha",samayavallu:"Andhra Pradesh",sanchia:"Rājasthān",sanda:"Yunnan Province","sandhai-muslims":"Gujarāt",sanei:"Odisha",sanghar:"Mahārāshtra",sanhai:"Himāchal Pradesh",sanqiao:"Guizhou Province",sansoi:"Himāchal Pradesh",santia:"Rājasthān",sapalyas:"Karnātaka",saradagallu:"Telangāna","saragh-yugur":"Gansu Province",saranias:"Gujarāt",saraogi:"Rājasthān","sarikoli-tajiks":"Xinjiang Uyghur Autonomous Region",sarodi:"Mahārāshtra",savalakkarar:"Tamil Nādu","sayyid-chhattisgarhi":"Chhattīsgarh","sayyid-garhwali":"Uttarākhand","sayyid-gujarati":"Gujarāt","sayyid-kannada":"Karnātaka","sayyid-odia":"Odisha","sayyid-pahari":"Jammu and Kashmīr","sayyid-tamil":"Tamil Nādu",semman:"Tamil Nādu",senaithalaivar:"Tamil Nādu",senapathi:"Andhra Pradesh",sentinelese:"Andaman and Nicobar Islands",seok:"Himāchal Pradesh",serdukpen:"Arunāchal Pradesh",shabdakar:"Tripura",shaksaz:"Jammu and Kashmīr",sheikhzade:"Uttar Pradesh",shenzhou:"Guizhou Province",shershabadia:"Bihār",shikari:"Rājasthān","shina-india":"Jammu and Kashmīr",shixing:"Sichuan Province",shravan:"Gujarāt","sichuan-mongols":"Yunnan Province",siddi:"Gujarāt",sikligar:"Madhya Pradesh",silavantulu:"Andhra Pradesh",sindhollu:"Telangāna",sinduria:"Odisha",singiwala:"Rājasthān",sisgars:"Madhya Pradesh",siviar:"Tamil Nādu",siyalgar:"West Bengal",sofi:"Jammu and Kashmīr",soligaru:"Karnātaka","sompura-salat":"Gujarāt","son-koli":"Chhattīsgarh",sonavar:"Puducherry",sorgars:"Rājasthān",soria:"Madhya Pradesh",suda:"Odisha",sudhan:"Jammu and Kashmīr",sudir:"Karnātaka","sudra-das":"Assam",sukiyar:"Jhārkhand",sunga:"Rājasthān",sunuwar:"West Bengal","suodi-nosu":"Sichuan Province","sutar-mistry":"Mahārāshtra",sutradhar:"West Bengal","swakulasali-koshti":"Andhra Pradesh",swangla:"Himāchal Pradesh","ta-er":"Yunnan Province",tagewale:"Uttarākhand",tagu:"Yunnan Province",tai:"Gujarāt","tai-lu":"Yunnan Province","tai-pong":"Yunnan Province",taiphake:"Assam",tak:"Rājasthān",takari:"Mahārāshtra",tambiran:"Tamil Nādu","tamboli-bengali":"West Bengal","tamboli-telugu":"Andhra Pradesh",targala:"Gujarāt",telengi:"Andaman and Nicobar Islands","teli-assamese":"Assam","thachanad-moopan":"Kerala",thakurai:"Bihār",thammadi:"Karnātaka",thanapati:"Odisha",thanga:"Manipur",tharua:"Odisha",thavi:"Himāchal Pradesh",theba:"Gujarāt","thogataveera-kshatriya":"Andhra Pradesh","tholuva-naicker":"Tamil Nādu",thoraiyar:"Tamil Nādu",tikulhara:"Bihār",tilli:"Bihār",tirgar:"Gujarāt",tirugatigantla:"Andhra Pradesh",tiyattunni:"Kerala",tolakari:"Andhra Pradesh",tondman:"Tamil Nādu","tongren-bonan":"Qinghai Province","tripuri-kumhar":"West Bengal","tripuri-namasudra":"Tripura","tula-vina":"Odisha",tulao:"Yunnan Province","turi-barot":"Gujarāt","turuk-pasi":"Bihār",turun:"Assam",tusu:"Yunnan Province",udupula:"Andhra Pradesh",uppara:"Andhra Pradesh",uppillian:"Tamil Nādu","urikkar-naicker":"Tamil Nādu",urindavan:"Kerala",usta:"Rājasthān",uzbeks:"Xinjiang Uyghur Autonomous Region",vadi:"Gujarāt",vadugan:"Kerala","vahivanca-barot":"Gujarāt","vaikhanasa-brahmans":"Andhra Pradesh",valinjiyar:"Kerala","van-baoriya":"Rājasthān",vayati:"Gujarāt",ved:"Rājasthān",velip:"Mahārāshtra","vellaiyan-kuppam-padaiyaci":"Tamil Nādu","verra-musti":"Telangāna",vetan:"Kerala",vettaikkaran:"Tamil Nādu",vettalaikarans:"Puducherry",vettiyan:"Puducherry",vijabargiya:"Rājasthān",vilkurup:"Kerala",vilyagaras:"Karnātaka",vipravinodulu:"Andhra Pradesh",visavan:"Kerala",vyapari:"Gujarāt",wagheri:"Gujarāt",waidu:"Mahārāshtra","wainadan-cetti":"Kerala","wainadan-kader":"Kerala","wainadan-pulayan":"Kerala","wakhi-china":"Xinjiang Uyghur Autonomous Region",wandharo:"Gujarāt","wayanad-pathiyan":"Kerala",waza:"Jammu and Kashmīr","wenma-zhuang":"Yunnan Province","western-gaisu":"Yunnan Province","western-samadu":"Yunnan Province","western-xibe":"Xinjiang Uyghur Autonomous Region",wopu:"Guizhou Province",wunai:"Hunan Province",wutun:"Qinghai Province",xi:"Guizhou Province",xialusi:"Guizhou Province","xiaoliangshan-nosu":"Yunnan Province",xijima:"Yunnan Province","xinping-lalu":"Yunnan Province","xuzhang-lalu":"Yunnan Province",ya:"Yunnan Province",yakha:"Sikkim",yanghuang:"Guizhou Province",yata:"Andhra Pradesh",yatagiri:"Andhra Pradesh",yatibi:"Manipur",yatla:"Andhra Pradesh",yelmar:"Mahārāshtra",yerong:"Guangxi Zhuang Autonomous Region","yidu-lhoba":"Tibet Autonomous Region","yinuo-nosu":"Sichuan Province",yite:"Andhra Pradesh",yizi:"Guizhou Province",youmai:"Guizhou Province","younuo-bunu":"Guangxi Zhuang Autonomous Region","yunnan-mongol":"Yunnan Province","yunnan-shui":"Yunnan Province",za:"Tibet Autonomous Region",zakhrin:"Arunāchal Pradesh",zamral:"Madhya Pradesh"},ia={RED:"#e11d48",RED_DK:"#9f1239",NAVY:"#002e6e",GOLD:"#f59e0b",WHITE:"#ffffff",GREEN_BINS:["#9bcf9b","#5cb874","#1f9d55","#0f7a3d","#0a5c2e"],RED_RAMP:["#fdba74","#fb923c","#f97316","#ea580c","#c2410c"],CAT:["#002e6e","#1f9d55","#f59e0b","#e11d48","#7c3aed","#0891b2","#65a30d","#be123c","#a16207"]},yr=["2–10%","10–25%","25–50%","50–75%","75–100%"];function $t(a){const n=+a||0;return n<10?0:n<25?1:n<50?2:n<75?3:4}function qe(a){return ia.GREEN_BINS[$t(a)]}function Fi(a){const n=+a||0;return n>=80?ia.RED_RAMP[4]:n>=40?ia.RED_RAMP[3]:n>=15?ia.RED_RAMP[2]:n>=5?ia.RED_RAMP[1]:ia.RED_RAMP[0]}function Ki(a,n=4,e=22){const i=Math.max(1,+a||0),t=Math.min(1,Math.log10(i)/9);return n+(e-n)*t}function br(a){return a==="same-language"?null:a==="related-cluster"?[4,3]:[1,3]}function Pg(a){const n=String(a||"").trim();return n&&n.split(" - ")[0].trim()||"Unknown"}function _e(a){const n=+a||0;return n>=1e9?(n/1e9).toFixed(1)+"B":n>=1e6?(n/1e6).toFixed(1)+"M":n>=1e3?Math.round(n/1e3)+"K":String(Math.round(n))}const Un=a=>String(a||"").trim().toLowerCase(),Cg=a=>a&&typeof a=="object"?a.label??a.value??"":a??"",Ib=a=>a&&typeof a=="object"?a.value??a.label??"":a??"",wb={"People's Republic of China":"China","Lao People’s Democratic Republic":"Laos","Lao People's Democratic Republic":"Laos"},xb=a=>wb[a]||a;function Tb(){const a=ua(null),n=ua({languages:new Set,countries:new Set,religions:new Set,bridges:new Set,reachedMin:null}),e=ua(""),i=ua("pct"),t=ua(null),o=ua(!1),r=ua("map"),l=ua("mobilization"),s=ua(null),g=ua(!1),d=ua(""),_=ua(""),k=ua([]),x=ua([]),D=ua(fg||{}),T=ua((ee==null?void 0:ee.meta)||{});async function $(p){const M=p||{};d.value="",x.value=Nb(ee);const N=Lb(x.value);let U=[];try{U=await Kb(M)}catch(h){d.value="Live unreached API unreachable — "+((h==null?void 0:h.message)||h),k.value=$b(ee,N),_.value=new Date().toISOString(),g.value=!0;return}k.value=Rb(U,N),_.value=new Date().toISOString(),g.value=!0}const w=la(()=>{let p=k.value;const M=n.value;M.countries.size&&(p=p.filter(U=>M.countries.has(U.country))),M.languages.size&&(p=p.filter(U=>U.langs.some(h=>M.languages.has(h))));const N=Un(e.value);if(N&&(p=p.filter(U=>Un(U.label).includes(N)||Un(U.country).includes(N)||U.langs.some(h=>Un(h).includes(N)))),t.value){const U=Un(t.value),h=P(U);p=p.filter(C=>h.has(C.id))}return[...p].sort((U,h)=>h.senderCount-U.senderCount||h.target_pop-U.target_pop||h.count-U.count)}),L=la(()=>a.value&&k.value.find(p=>p.id===a.value)||null),E=la(()=>a.value?x.value.filter(p=>p.targetId===a.value):[]),I=la(()=>{let p=E.value;const M=n.value;M.languages.size&&(p=p.filter(U=>M.languages.has(U.lang))),M.countries.size&&(p=p.filter(U=>M.countries.has(U.country))),M.religions.size&&(p=p.filter(U=>M.religions.has(U.religionFamily))),M.bridges.size&&(p=p.filter(U=>M.bridges.has(U.bridge))),M.reachedMin!=null&&(p=p.filter(U=>U.pct>=M.reachedMin));const N=Un(e.value);return N&&(p=p.filter(U=>Un(U.name).includes(N)||Un(U.lang).includes(N)||Un(U.country).includes(N))),p}),G=la(()=>I.value.filter(p=>isFinite(p.lat)&&isFinite(p.lng)).map(p=>({...p,isPool:!1}))),S=la(()=>{const p=w.value.length;if(a.value){const N=E.value.length,U=I.value.length;return{senders:U,clusters:p,hidden:Math.max(0,N-U)}}return{senders:w.value.reduce((N,U)=>N+U.senderCount,0),clusters:p,hidden:0}}),v=la(()=>{const p=L.value;if(!p)return S.value.clusters+" unreached clusters · "+S.value.senders.toLocaleString()+" reached senders nearby — pick a red to send";const M=I.value,N=t.value||[...n.value.languages][0]||"",U=[...M].sort((y,R)=>R.pct-y.pct||R.pop-y.pop)[0],h=(N?N+" × ":"")+p.country,C=U?" · top "+U.name+" "+Math.round(U.pct)+"%, "+_e(U.pop):"";return h+": "+p.count+" unreached · "+M.length+(N?" nearby "+N+" senders":" nearby senders")+C}),K=la(()=>{const p=[...I.value],M={"same-language":0,"related-cluster":1,"same-country":2};switch(l.value){case"pct":p.sort((N,U)=>U.pct-N.pct||U.pop-N.pop);break;case"pop":p.sort((N,U)=>U.pop-N.pop||U.pct-N.pct);break;case"name":p.sort((N,U)=>N.name.localeCompare(U.name));break;case"bridge":p.sort((N,U)=>(M[N.bridge]??9)-(M[U.bridge]??9)||U.pct-N.pct);break;case"frontier":p.sort((N,U)=>U.pop-N.pop||N.pct-U.pct);break;case"mobilization":default:p.sort((N,U)=>U.pct-N.pct||U.pop-N.pop);break}return p}),O=la(()=>{const p=a.value?I.value:x.value.filter(M=>c().has(M.targetId));return{languageBar:jg(p,M=>M.lang,12),countryBar:jg(p,M=>M.country,12),reachedHist:yr.map((M,N)=>({key:N,label:M,value:p.filter(U=>U.bin===N).length,color:ia.GREEN_BINS[N]})),donut:i.value==="religion"?kg(p,M=>M.religionFamily):kg(p,M=>M.bridge)}}),q=la(()=>{var p,M,N;return{liveTargets:k.value.length,liveUnreached:k.value.reduce((U,h)=>U+h.count,0),loadedAt:_.value,bakedGenerated:((p=T.value)==null?void 0:p.generated)||"",bakedSenders:((M=T.value)==null?void 0:M.total_neighbors)||x.value.length,reachedFilter:((N=T.value)==null?void 0:N.reached_filter)||"",admin1Level:"IN/CN admin1 (point-in-polygon, "+Object.keys(D.value).length+" groups)",apiError:d.value}}),sa=la(()=>{const p=[],M=n.value;a.value&&L.value&&p.push({kind:"focus",value:L.value.country,label:L.value.country});for(const N of M.languages)p.push({kind:"languages",value:N,label:N});for(const N of M.countries)p.push({kind:"countries",value:N,label:N});for(const N of M.religions)p.push({kind:"religions",value:N,label:N});for(const N of M.bridges)p.push({kind:"bridges",value:N,label:N});return M.reachedMin!=null&&p.push({kind:"reachedMin",value:M.reachedMin,label:"reached% ≥ "+M.reachedMin}),t.value&&p.push({kind:"lens",value:t.value,label:"lens: "+t.value}),p});function ea(p){a.value=p}function ga(){a.value=null}function Sa(p,M){const N=n.value[p];N instanceof Set&&(N.has(M)?N.delete(M):N.add(M),n.value={...n.value})}function Ma(p){n.value={...n.value,reachedMin:p==null||p===""?null:+p}}function ma(p){e.value=String(p??"")}function pa(p){i.value=p==="religion"?"religion":"pct"}function Y(p){t.value=p||null}function ta(){o.value=!o.value}function aa(p){r.value=p==="flower"?"flower":"map"}function ba(p){l.value=p||"mobilization"}function na(p){s.value=p||null}function u(p){if(p)return p.kind==="focus"?ga():p.kind==="reachedMin"?Ma(null):p.kind==="lens"?Y(null):Sa(p.kind,p.value)}function A(){n.value={languages:new Set,countries:new Set,religions:new Set,bridges:new Set,reachedMin:null},t.value=null,e.value=""}function j(p){var H,V,oa;const M=Array.isArray(p)?p:K.value,N=["name","country","lang","rol3","pct","pop","bridge","adjacency","religion_bg"],U=Q=>{let m=String(Q??"");return/^[=+\-@]/.test(m)&&(m="'"+m),'"'+m.replace(/"/g,'""')+'"'},h="# BloomField Cockpit — reached neighbors for "+(((H=L.value)==null?void 0:H.country)||"all targets")+" · baked "+(((V=T.value)==null?void 0:V.generated)||"")+" · "+M.length+" rows · "+(_.value||""),C=N.join(","),y=M.map(Q=>N.map(m=>U(Q[m])).join(",")).join(` +`),R=h+` +`+C+` +`+y+` +`;try{const Q=new Blob([R],{type:"text/csv;charset=utf-8;"}),m=URL.createObjectURL(Q),b=document.createElement("a");b.href=m,b.download="send-list-"+(((oa=L.value)==null?void 0:oa.country)||"all").replace(/\W+/g,"-").toLowerCase()+".csv",document.body.appendChild(b),b.click(),b.remove(),setTimeout(()=>URL.revokeObjectURL(m),1e3)}catch{}return R}function c(){return new Set(w.value.map(p=>p.id))}function P(p){const M=new Set;for(const N of x.value)Un(N.lang)===p&&M.add(N.targetId);return M}return{focusedTargetId:a,facets:n,search:e,colorBy:i,languageLens:t,provinceDrill:o,mode:r,sortKey:l,hoveredId:s,hoveredSenderId:s,ready:g,loadError:d,loadedAt:_,meta:T,admin1:D,allClusters:k,allSenders:x,clusters:w,focusedTarget:L,sendersForFocus:E,visibleSenders:I,mapNodes:G,counts:S,headline:v,listRows:K,chartData:O,provenance:q,chips:sa,loadData:$,selectTarget:ea,clearFocus:ga,toggleFacet:Sa,setReachedMin:Ma,setSearch:ma,setColorBy:pa,setLanguageLens:Y,toggleProvince:ta,setMode:aa,setSort:ba,setHover:na,removeChip:u,clearAllFacets:A,exportSelectionCSV:j,quantileBin:$t,reachedColor:qe,redColor:Fi,logRadius:Ki,bridgeDash:br,religionFamily:Pg,fmtPop:_e,COLORS:ia}}function Ft(){const a=Ya("cockpitStore",null);if(!a)throw new Error("[useCockpitStore] no cockpitStore provided — mount inside ");return a}function Nb(a){const n=[],e=(a==null?void 0:a.countries)||{};for(const[i,t]of Object.entries(e))for(const o of t.neighbors||[]){const r=Number(o.lat),l=Number(o.lng);if(!isFinite(r)||!isFinite(l))continue;const s=+o.pct_christian||0;n.push({id:o.code||i+"|"+o.name+"|"+o.country+"|"+(o.rol3||""),targetId:i,name:o.name,country:o.country,lang:o.lang,rol3:o.rol3||"",pct:s,pop:+o.pop||0,bridge:o.bridge||"",adjacency:o.adjacency||"",religion_bg:o.religion_bg||"",religionFamily:Pg(o.religion_bg),lat:r,lng:l,code:o.code||"",bin:$t(s),color:qe(s)})}return n}function Lb(a){const n=new Map;for(const e of a){let i=n.get(e.targetId);i||(i={count:0,pop:0},n.set(e.targetId,i)),i.count++,i.pop+=e.pop}return n}function Rb(a,n){const e=new Map;for(const i of a){const t=Number(i.latitude),o=Number(i.longitude),r=xb(Cg(i.country_code)||"(unknown)"),l=Cg(i.primary_language)||"",s=i.slug||Ib(i.primary_language)+":"+i.name;let g=e.get(r);g||(g={id:r,country:r,label:r,count:0,target_pop:0,_sumLat:0,_sumLng:0,_n:0,langSet:new Set,members:[]},e.set(r,g)),g.count++,l&&g.langSet.add(l),g.members.push({name:i.name,slug:s,lang:l,lat:t,lng:o}),isFinite(t)&&isFinite(o)&&(g._sumLat+=t,g._sumLng+=o,g._n++)}return Fb([...e.values()],n)}function $b(a,n){const e=[];for(const[i,t]of Object.entries((a==null?void 0:a.countries)||{})){const o=n.get(i);e.push({id:i,country:i,label:i,count:+t.target_upg||0,target_pop:+t.target_pop||0,lat:null,lng:null,langs:t.target_top_langs||[],target_top_langs:t.target_top_langs||[],target_top_religion:t.target_top_religion||"",senderCount:o?o.count:0,hasSenders:!!o,color:Fi(+t.target_upg||0)})}return e}function Fb(a,n){const e=[];for(const i of a){i._n?(i.lat=i._sumLat/i._n,i.lng=i._sumLng/i._n):(i.lat=null,i.lng=null);const t=n.get(i.id);e.push({id:i.id,country:i.country,label:i.label,count:i.count,target_pop:i.target_pop,lat:i.lat,lng:i.lng,langs:[...i.langSet],target_top_langs:[...i.langSet].slice(0,4),target_top_religion:"",members:i.members,senderCount:t?t.count:0,hasSenders:!!t,color:Fi(i.count)})}return e.sort((i,t)=>t.count-i.count),e}async function Kb(a){const n=a.apiBase||typeof window<"u"&&(window.MAP_APP_API_URL||window.VITE_API_BASE_URL);if(!n)throw new Error("No API base configured (apiBase / window.MAP_APP_API_URL / VITE_API_BASE_URL) — failing closed, no default host.");const i=n.replace(/\/?$/,"")+"/api/people-groups/list?fields="+"slug,name,latitude,longitude,country_code,primary_language,wagf_block"+"&lang=en",t=await fetch(i,{cache:"no-store"});if(!t.ok)throw new Error("list "+t.status);const o=await t.json();return o.posts||o.data||o.records||o.results||o.items||(Array.isArray(o)?o:[])}function jg(a,n,e){const i=new Map;for(const t of a){const o=n(t)||"—";i.set(o,(i.get(o)||0)+1)}return[...i.entries()].map(([t,o])=>({key:t,label:t,value:o})).sort((t,o)=>o.value-t.value).slice(0,e)}function kg(a,n){const e=new Map;for(const t of a){const o=n(t)||"—";e.set(o,(e.get(o)||0)+1)}return[...e.entries()].sort((t,o)=>o[1]-t[1]).map(([t,o],r)=>({key:t,label:t,value:o,color:ia.CAT[r%ia.CAT.length]}))}const Gg="https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.css";async function Bb(a){const n=a.getRootNode();if(!(n instanceof ShadowRoot))return;const e=o=>new Promise(r=>setTimeout(r,o)),i=n.querySelector(`link[href="${Gg}"]`);if(i){if(i.sheet)return;await Promise.race([new Promise(o=>{i.addEventListener("load",o,{once:!0}),i.addEventListener("error",o,{once:!0})}),e(2e3)]);return}const t=document.createElement("link");t.rel="stylesheet",t.href=Gg,await Promise.race([new Promise(o=>{t.addEventListener("load",o,{once:!0}),t.addEventListener("error",o,{once:!0}),n.prepend(t)}),e(2e3)])}const Ob=85.0511,vg=-2,Ub=0,Hb=-60;function Ag(a){return(1-Math.log(Math.tan(Math.PI/4+a*Math.PI/180/2))/Math.PI)/2}function Db(a,n,e,i){if(!a||a<=0||!n||n<=0)return Ub;const t=Math.log2(a/512),o=Ag(i)-Ag(Ob),r=Math.log2(n/(512*o)),l=Math.max(t,r);return Math.max(vg,Math.min(l,(e??18)-1))}function Kt({containerRef:a,accessToken:n,style:e,center:i=[20,10],zoom:t=2,minZoom:o=void 0,maxZoom:r=18,pitch:l=0,bearing:s=0,renderWorldCopies:g=!0,southCutoff:d=Hb,maxBounds:_=void 0}){const k=ua(null),x=ua(!1);let D=null,T=null;async function $(){var O;if(typeof mapboxgl>"u"){console.error("mapboxgl is not available. Add the Mapbox GL JS script to your page.");return}if(!a.value){console.error("containerRef.value is null — call initializeMap() inside onMounted()");return}if(!n){console.error('No Mapbox access token provided. Pass "tk" in profile-config JSON.');return}if(!n.startsWith("pk.")){console.error('Mapbox token looks invalid (expected "pk." prefix). Got:',n.slice(0,10)+"...");return}await Bb(a.value),await new Promise(q=>requestAnimationFrame(q));const L=a.value,E=L.clientWidth,I=L.clientHeight;if(E===0||I===0){console.error(`[useMapInstance] Container has ZERO dimensions (${E}×${I}). Map will be invisible. Check that parent elements have CSS sizing.`);let q=L.parentElement,sa=0;for(;q&&sa<5;)q=q.parentElement,sa++}const G=n;mapboxgl.accessToken=G;const S=()=>typeof window<"u"&&window.innerWidth>=1024,v=(q,sa)=>{if(!S())return vg;const ea=Db(q,sa,r,d);return typeof o=="number"?Math.max(o,ea):ea},K=v(L.clientWidth,L.clientHeight);k.value=new mapboxgl.Map({accessToken:G,container:a.value,style:e,center:i,zoom:t,minZoom:K,maxZoom:r,pitch:l,bearing:s,dragRotate:!1,touchPitch:!1,renderWorldCopies:g,..._?{maxBounds:_}:{},attributionControl:!1}),k.value.touchZoomRotate.disableRotation();{const q=((O=a.value)==null?void 0:O.parentElement)||null,sa=q?Array.from(q.querySelectorAll(".map-scroll-edge")):[];if(sa.length){const ea="rgba(120, 128, 134, 0.28)",ga="36px",Sa=p=>p.classList.contains("map-scroll-edge--left");for(const p of sa)p.style.background=`linear-gradient(${Sa(p)?"to right":"to left"}, ${ea} ${ga}, transparent ${ga})`,p.style.opacity="0",p.style.transition="opacity 0.16s ease",p.style.userSelect="none",p.style.webkitUserSelect="none";const Ma=p=>{p.style.opacity="1"},ma=p=>{p.style.opacity="0"},pa=()=>sa.find(p=>S()?!Sa(p):Sa(p))||null,Y=new Set;let ta=!1,aa=null;const ba=()=>{for(const p of sa)Y.has(p)||ma(p)},na=()=>{const p=pa();p&&(Ma(p),aa&&clearTimeout(aa),aa=setTimeout(ba,250))},u=()=>{S()&&na()},A=p=>{if(!(p.touches&&p.touches.length===1))return;const M=p.target;M&&M.classList&&M.classList.contains("map-scroll-edge")||na()},j=()=>{aa&&clearTimeout(aa),ba()};q.addEventListener("wheel",u,{passive:!0}),q.addEventListener("touchmove",A,{passive:!0}),q.addEventListener("touchend",j,{passive:!0}),q.addEventListener("touchcancel",j,{passive:!0});const c=()=>{ta||na()};typeof window<"u"&&window.addEventListener("scroll",c,{passive:!0});const P=[];for(const p of sa){const M=()=>{Y.add(p),Ma(p)},N=()=>{Y.delete(p),ma(p)},U=()=>{ta=!0,Ma(p)},h=()=>{ta=!1,ma(p)};p.addEventListener("mouseenter",M),p.addEventListener("mouseleave",N),p.addEventListener("touchstart",U,{passive:!0}),p.addEventListener("touchend",h,{passive:!0}),P.push(()=>{p.removeEventListener("mouseenter",M),p.removeEventListener("mouseleave",N),p.removeEventListener("touchstart",U),p.removeEventListener("touchend",h)})}T=()=>{aa&&(clearTimeout(aa),aa=null),q.removeEventListener("wheel",u),q.removeEventListener("touchmove",A),q.removeEventListener("touchend",j),q.removeEventListener("touchcancel",j),typeof window<"u"&&window.removeEventListener("scroll",c);for(const p of P)p();for(const p of sa)ma(p)}}}D=()=>{const q=k.value;if(!q)return;const sa=v(L.clientWidth,L.clientHeight);q.setMinZoom(sa),q.getZoom(){requestAnimationFrame(()=>{var q;(q=k.value)==null||q.resize(),k.value&&k.value.setMinZoom(v(L.clientWidth,L.clientHeight)),x.value=!0})})}function w(){k.value&&(D&&(k.value.off("resize",D),typeof window<"u"&&(window.removeEventListener("resize",D),window.removeEventListener("orientationchange",D)),D=null),T&&(T(),T=null),k.value.remove(),k.value=null,x.value=!1)}return{map:k,isMapReady:x,initializeMap:$,destroy:w}}const zb={key:0,class:"cpt-mc-ctl"},Vb={class:"cpt-mc-seg",role:"group","aria-label":"Green color encoding"},Yb={key:1,class:"cpt-mc-headline"},Wb={key:2,class:"cpt-mc-loading"},Jb={key:0},Zb={key:1},qb=["innerHTML"],_r="cpt-red-src",fr="cpt-green-src",Bt="cpt-arc-src",fe="cpt-red",Sg="cpt-red-lbl",ie="cpt-green",Eg="cpt-green-lbl",Ot="cpt-arc-solid",Ut="cpt-arc-dash",Ht="cpt-arc-dot",Bi="cpt-prov",Xb={__name:"MapCell",setup(a){const n=Ft(),e=Ya("profileConfig"),i=Ya("mapboxToken"),t=la(()=>(e==null?void 0:e.value)||{}),o=la(()=>!(i!=null&&i.value||t.value.tk)),r=ua(null),l=ua(null),s=ua(!1),g=ua({show:!1,pinned:!1,x:0,y:0,html:""}),d=ia.GREEN_BINS[3],{map:_,initializeMap:k,destroy:x}=Kt({containerRef:l,accessToken:(i==null?void 0:i.value)||t.value.tk||"",style:t.value.style??"mapbox://styles/mapbox/light-v11",center:t.value.center??[55,22],zoom:t.value.zoom??1.7,minZoom:t.value.minZoom??1,maxZoom:t.value.maxZoom??12}),D=la(()=>{const u=[...new Set(n.visibleSenders.value.map(j=>j.religionFamily).filter(Boolean))].sort(),A={};return u.forEach((j,c)=>{A[j]=ia.CAT[c%ia.CAT.length]}),A}),T=u=>({type:"FeatureCollection",features:u});function $(u,A,j=48){const c=Math.PI/180,P=180/Math.PI,p=u[1]*c,M=u[0]*c,N=A[1]*c,U=A[0]*c,h=(N-p)/2,C=(U-M)/2,y=Math.sin(h)**2+Math.cos(p)*Math.cos(N)*Math.sin(C)**2,R=2*Math.asin(Math.min(1,Math.sqrt(y)));if(!R)return[u,A];const H=[];for(let V=0;V<=j;V++){const oa=V/j,Q=Math.sin((1-oa)*R)/Math.sin(R),m=Math.sin(oa*R)/Math.sin(R),b=Q*Math.cos(p)*Math.cos(M)+m*Math.cos(N)*Math.cos(U),F=Q*Math.cos(p)*Math.sin(M)+m*Math.cos(N)*Math.sin(U),J=Q*Math.sin(p)+m*Math.sin(N);H.push([Math.atan2(F,b)*P,Math.atan2(J,Math.sqrt(b*b+F*F))*P])}return H}function w(){const u=[];for(const A of n.clusters.value)!isFinite(A.lat)||!isFinite(A.lng)||u.push({type:"Feature",geometry:{type:"Point",coordinates:[A.lng,A.lat]},properties:{id:A.id,count:A.count,hasSenders:!!A.hasSenders,senderCount:A.senderCount||0,color:Fi(A.count),r:Math.min(34,6+Math.sqrt(Math.max(0,A.count))*2.4),label:A.country+" ("+A.count+")",country:A.country,langs:(A.target_top_langs||[]).slice(0,3).join(", ")}});return T(u)}function L(){const u=[],A=n.colorBy.value==="religion";for(const j of n.mapNodes.value){if(!isFinite(j.lng)||!isFinite(j.lat))continue;let c,P,p,M,N;if(j.isPool){const U=j.members||[],h=U.length?U.reduce((y,R)=>y+(R.pct||0),0)/U.length:0,C=U.reduce((y,R)=>y+(R.pop||0),0);c=qe(h),P=Ki(C,7,26),p="",M=_e(C),N=""}else c=A?D.value[j.religionFamily]||ia.GREEN_BINS[2]:j.color||qe(j.pct),P=Ki(j.pop),p=Math.round(j.pct)+"%",M=_e(j.pop),N=j.religionFamily||"";u.push({type:"Feature",geometry:{type:"Point",coordinates:[j.lng,j.lat]},properties:{id:j.id,name:j.name,label:j.name,color:c,r:P,isPool:!!j.isPool,country:j.country||"",lang:j.lang||"",pct:p,pop:M,religion:N,bridge:j.bridge||""}})}return T(u)}function E(){const u=n.focusedTarget.value;if(!u||!isFinite(u.lat)||!isFinite(u.lng))return T([]);const A=[u.lng,u.lat],j=[];for(const c of n.mapNodes.value){if(!isFinite(c.lng)||!isFinite(c.lat))continue;const P=c.isPool?"same-country":c.bridge||"same-country";j.push({type:"Feature",geometry:{type:"LineString",coordinates:$([c.lng,c.lat],A)},properties:{bridge:P}})}return T(j)}function I(u,A,j){const c=u.getSource(A);c?c.setData(j):u.addSource(A,{type:"geojson",data:j})}function G(u){const j=(u.getStyle&&u.getStyle().layers||[]).find(c=>c.type==="symbol");return j?j.id:void 0}function S(u){u.getLayer(Ot)||u.addLayer({id:Ot,type:"line",source:Bt,filter:["==",["get","bridge"],"same-language"],layout:{"line-cap":"round"},paint:{"line-color":ia.NAVY,"line-width":1.4,"line-opacity":.6}}),u.getLayer(Ut)||u.addLayer({id:Ut,type:"line",source:Bt,filter:["==",["get","bridge"],"related-cluster"],layout:{"line-cap":"butt"},paint:{"line-color":ia.NAVY,"line-width":1.4,"line-opacity":.6,"line-dasharray":[4,3]}}),u.getLayer(Ht)||u.addLayer({id:Ht,type:"line",source:Bt,filter:["all",["!=",["get","bridge"],"same-language"],["!=",["get","bridge"],"related-cluster"]],layout:{"line-cap":"round"},paint:{"line-color":ia.NAVY,"line-width":1.6,"line-opacity":.6,"line-dasharray":[1,3]}}),u.getLayer(ie)||u.addLayer({id:ie,type:"circle",source:fr,paint:{"circle-color":["get","color"],"circle-radius":["max",2,["*",["get","r"],.55]],"circle-stroke-width":["case",["get","isPool"],2.5,.8],"circle-stroke-color":["case",["get","isPool"],ia.GOLD,"#ffffff"],"circle-opacity":.92,"circle-opacity-transition":{duration:350}}}),u.getLayer(Eg)||u.addLayer({id:Eg,type:"symbol",source:fr,minzoom:3.4,layout:{"text-field":["get","label"],"text-size":10,"text-offset":[0,1.1],"text-anchor":"top","text-allow-overlap":!1,"text-optional":!0},paint:{"text-color":"#0b5e33","text-halo-color":"#ffffff","text-halo-width":1.3}}),u.getLayer(fe)||u.addLayer({id:fe,type:"circle",source:_r,paint:{"circle-color":["get","color"],"circle-radius":["get","r"],"circle-opacity":.82,"circle-stroke-width":2,"circle-stroke-color":d,"circle-opacity-transition":{duration:300}}}),u.getLayer(Sg)||u.addLayer({id:Sg,type:"symbol",source:_r,minzoom:2.4,layout:{"text-field":["get","label"],"text-size":11,"text-offset":[0,1.2],"text-anchor":"top","text-allow-overlap":!1,"text-optional":!0},paint:{"text-color":ia.RED_DK,"text-halo-color":"#ffffff","text-halo-width":1.4}})}function v(u){if(!u.getLayer(fe))return;const A=n.focusedTargetId.value;u.setPaintProperty(fe,"circle-opacity",A?["case",["==",["get","id"],A],.95,.5]:["case",["get","hasSenders"],.82,.14]),u.setPaintProperty(fe,"circle-stroke-color",A?["case",["==",["get","id"],A],ia.GOLD,["case",["get","hasSenders"],d,ia.RED_DK]]:["case",["get","hasSenders"],d,ia.RED_DK]),u.setPaintProperty(fe,"circle-stroke-width",A?["case",["==",["get","id"],A],4,["case",["get","hasSenders"],2.4,1.6]]:["case",["get","hasSenders"],2.4,1.6])}function K(u,A){if(A)if(u.getLayer(Bi))try{u.setLayoutProperty(Bi,"visibility","visible")}catch{}else try{const j=u.getLayer(Ot)?Ot:G(u);u.addLayer({id:Bi,type:"line",source:"composite","source-layer":"admin",filter:["all",["==",["get","admin_level"],1],["==",["get","maritime"],"false"]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":ia.NAVY,"line-width":.7,"line-opacity":.45,"line-dasharray":[2,2]}},j)}catch{}else if(u.getLayer(Bi))try{u.setLayoutProperty(Bi,"visibility","none")}catch{}}function O(){var A;const u=_.value;!u||!((A=u.isStyleLoaded)!=null&&A.call(u))||(I(u,Bt,E()),I(u,fr,L()),I(u,_r,w()),S(u),v(u),Y(pa),K(u,n.provinceDrill.value),n.focusedTargetId.value?Ma():ma())}function q(){const u=_.value;if(!u)return;const A=n.focusedTarget.value;if(!A){try{u.stop(),u.easeTo({center:t.value.center??[55,22],zoom:t.value.zoom??1.7,duration:700})}catch{}return}const j=[];isFinite(A.lat)&&isFinite(A.lng)&&j.push([A.lng,A.lat]);for(const N of n.mapNodes.value)isFinite(N.lng)&&isFinite(N.lat)&&j.push([N.lng,N.lat]);if(!j.length)return;let c=j[0][0],P=j[0][0],p=j[0][1],M=j[0][1];for(const N of j)c=Math.min(c,N[0]),P=Math.max(P,N[0]),p=Math.min(p,N[1]),M=Math.max(M,N[1]);try{u.stop(),c===P&&p===M?u.easeTo({center:[c,p],zoom:4.5,duration:800}):u.fitBounds([[c,p],[P,M]],{padding:80,maxZoom:6,duration:800})}catch{}}const sa=[[0,4,3],[.5,4,2.5],[1,4,2],[1.5,4,1.5],[2,4,1],[2.5,4,.5],[3,4,0],[0,.5,4,2.5],[0,1,4,2],[0,1.5,4,1.5],[0,2,4,1],[0,2.5,4,.5]],ea=[[1,3],[0,.75,1,2.25],[0,1.5,1,1.5],[0,2.25,1,.75]];let ga=null,Sa=0;function Ma(){ga||(ga=setInterval(()=>{const u=_.value;if(u){Sa++;try{u.getLayer(Ut)&&u.setPaintProperty(Ut,"line-dasharray",sa[Sa%sa.length]),u.getLayer(Ht)&&u.setPaintProperty(Ht,"line-dasharray",ea[Sa%ea.length])}catch{}}},80))}function ma(){ga&&(clearInterval(ga),ga=null)}let pa=null;function Y(u){pa=u;const A=_.value;!A||!A.getLayer(ie)||(A.setPaintProperty(ie,"circle-stroke-width",u?["case",["==",["get","id"],u],4,["case",["get","isPool"],2.5,1.2]]:["case",["get","isPool"],2.5,1.2]),A.setPaintProperty(ie,"circle-stroke-color",u?["case",["==",["get","id"],u],ia.GOLD,["case",["get","isPool"],ia.GOLD,"#ffffff"]]:["case",["get","isPool"],ia.GOLD,"#ffffff"]))}function ta(u){return String(u??"").replace(/[&<>"']/g,A=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[A])}function aa(u){g.value.show&&!g.value.pinned&&(g.value.x=u.clientX,g.value.y=u.clientY)}function ba(u){return""+ta(u.country)+'
'+ta(u.count)+" unreached groups
"+(u.langs?'
langs '+ta(u.langs)+"
":"")+'
senders '+(u.hasSenders?ta(u.senderCount)+" reached nearby":"frontier — 0 (pray for laborers)")+'
click → SEND view
'}function na(u){return u.isPool?""+ta(u.name)+'
same-country reached pool
pop '+ta(u.pop)+'
spiderfies in the list
':""+ta(u.name)+'
'+ta(u.country)+" · "+ta(u.lang)+'
reached '+ta(u.pct)+' Christian
pop '+ta(u.pop)+"
"+(u.bridge?'
bridge '+ta(u.bridge)+"
":"")+(u.religion?'
religion '+ta(u.religion)+"
":"")+'
click → pin · highlights the list
'}return Rn(async()=>{var c,P,p,M,N,U;await k();const u=_.value;if(!u)return;try{u.setProjection("mercator")}catch{}if(t.value.debugExpose&&typeof window<"u")try{(((p=(P=(c=r.value)==null?void 0:c.getRootNode)==null?void 0:P.call(c))==null?void 0:p.host)||window).__cockpitmap=u}catch{}const A=(h,C)=>{u.on("mouseenter",h,()=>{u.getCanvas().style.cursor="pointer"}),u.on("mouseleave",h,()=>{u.getCanvas().style.cursor="",g.value.pinned||(g.value={...g.value,show:!1})}),u.on("mousemove",h,y=>{var H;const R=(H=y.features)==null?void 0:H[0];R&&(g.value={show:!0,x:y.originalEvent.clientX,y:y.originalEvent.clientY,html:C(R.properties)})})},j=()=>{O(),u.on("click",fe,h=>{var y;const C=(y=h.features)==null?void 0:y[0];C&&(g.value={...g.value,show:!1,pinned:!1},n.selectTarget(C.properties.id))}),A(fe,ba),A(ie,na),u.on("mousemove",ie,h=>{var y;const C=(y=h.features)==null?void 0:y[0];if(C){Y(C.properties.id);try{n.setHover&&n.setHover(C.properties.id)}catch{}}}),u.on("mouseleave",ie,()=>{Y(null);try{n.setHover&&n.setHover(null)}catch{}}),u.on("click",ie,h=>{var R;const C=(R=h.features)==null?void 0:R[0];if(!C)return;const y=h.originalEvent||{};g.value={show:!0,pinned:!0,x:y.clientX||g.value.x,y:y.clientY||g.value.y,html:na(C.properties)};try{n.setHover&&n.setHover(C.properties.id)}catch{}try{u.stop(),u.easeTo({center:C.geometry.coordinates,zoom:Math.max(u.getZoom(),4.5),duration:700})}catch{}}),s.value=!0,n.focusedTargetId.value&&q()};(M=u.isStyleLoaded)!=null&&M.call(u)?j():(N=u.once)==null||N.call(u,"load",j),(U=u.once)==null||U.call(u,"idle",()=>{s.value&&O()})}),cn(()=>[n.ready.value,n.clusters.value,n.mapNodes.value,n.colorBy.value,n.provinceDrill.value],()=>O()),cn(()=>n.focusedTargetId.value,()=>{O(),q()}),cn(()=>n.mode.value,()=>{bi(()=>{var u;try{(u=_.value)==null||u.resize()}catch{}})}),n.hoveredId&&cn(()=>n.hoveredId.value,u=>Y(u)),Ue(()=>{ma(),x()}),On(` + .cpt-mc-root { position:absolute; inset:0; overflow:hidden; background:#eef2f7; isolation:isolate; + font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; } + .cpt-mc-map { position:absolute; inset:0; } + .cpt-mc-loading { position:absolute; inset:0; z-index:5; display:flex; align-items:center; justify-content:center; + background:#eef2f7; color:${ia.NAVY}; font:600 12px/1.5 ui-monospace,monospace; text-align:center; padding:18px; } + + /* on-map control cluster (top-left) — color-by + province drill + reset */ + .cpt-mc-ctl { position:absolute; top:8px; left:8px; z-index:30; display:flex; flex-direction:column; gap:6px; align-items:flex-start; } + .cpt-mc-seg { display:inline-flex; background:rgba(255,255,255,.95); border:1px solid #cbd5e1; border-radius:999px; padding:2px; gap:2px; box-shadow:0 2px 8px rgba(0,0,0,.14); } + .cpt-mc-seg button { border:0; background:transparent; color:#475569; cursor:pointer; font:700 10px/1 ui-monospace,monospace; padding:5px 9px; border-radius:999px; } + .cpt-mc-seg button.on { background:${ia.NAVY}; color:#fff; } + .cpt-mc-btn { border:1px solid #cbd5e1; background:rgba(255,255,255,.95); color:${ia.NAVY}; cursor:pointer; + font:700 10px/1 ui-monospace,monospace; padding:6px 10px; border-radius:8px; box-shadow:0 2px 8px rgba(0,0,0,.14); } + .cpt-mc-btn.on { background:${ia.NAVY}; color:#fff; border-color:${ia.NAVY}; } + .cpt-mc-btn.gold { background:${ia.GOLD}; color:#3a2600; border-color:${ia.GOLD}; } + + /* SEND headline (bottom-left) when a target is focused */ + .cpt-mc-headline { position:absolute; left:8px; bottom:8px; right:8px; z-index:28; pointer-events:none; + background:rgba(0,46,110,.92); color:#fff; border-radius:9px; padding:7px 11px; max-width:560px; + font:700 12px/1.35 -apple-system,sans-serif; box-shadow:0 4px 14px rgba(0,0,0,.28); } + + /* hover-pin tooltip */ + .cpt-mc-tip { position:fixed; z-index:60; pointer-events:none; max-width:250px; background:#0e1730; + border:1px solid #34508c; border-radius:9px; padding:9px 11px; box-shadow:0 6px 22px rgba(0,0,0,.5); font-size:11.5px; color:#dbe4f3; } + .cpt-mc-tip strong { font-size:13px; color:#fff; } + .cpt-mc-tsub { color:#fda4af; font:600 10px/1.3 ui-monospace,monospace; margin:2px 0 6px; } + .cpt-mc-trow { display:flex; gap:6px; line-height:1.5; } + .cpt-mc-tk { color:#7e90b6; min-width:62px; } + + @media (max-width:560px){ .cpt-mc-headline{ font-size:11px; } } +`,"cockpit-mapcell"),(u,A)=>(z(),W("div",{ref_key:"mcRoot",ref:r,class:"cpt-mc-root",onMousemove:aa},[f("div",{ref_key:"mapContainer",ref:l,class:"cpt-mc-map"},null,512),s.value?(z(),W("div",zb,[f("div",Vb,[f("button",{class:Ia({on:ha(n).colorBy.value==="pct"}),onClick:A[0]||(A[0]=j=>ha(n).setColorBy("pct"))},"% reached",2),f("button",{class:Ia({on:ha(n).colorBy.value==="religion"}),onClick:A[1]||(A[1]=j=>ha(n).setColorBy("religion"))},"religion",2)]),f("button",{class:Ia(["cpt-mc-btn",{on:ha(n).provinceDrill.value}]),onClick:A[2]||(A[2]=j=>ha(n).toggleProvince()),title:"Overlay IN/CN admin-1 boundaries"},"IN/CN provinces",2),ha(n).focusedTarget.value?(z(),W("button",{key:0,class:"cpt-mc-btn gold",onClick:A[3]||(A[3]=j=>ha(n).clearFocus())},"✕ reset focus")):fa("",!0)])):fa("",!0),s.value&&ha(n).focusedTarget.value?(z(),W("div",Yb,X(ha(n).headline.value),1)):fa("",!0),s.value?fa("",!0):(z(),W("div",Wb,[o.value?(z(),W("span",Jb,"Map needs a Mapbox token (tk in profile-config)…")):(z(),W("span",Zb,"Rendering the harvest field…"))])),g.value.show?(z(),W("div",{key:3,class:"cpt-mc-tip",style:Ka({left:g.value.x+14+"px",top:g.value.y+14+"px"}),innerHTML:g.value.html},null,12,qb)):fa("",!0)],544))}},Qb={class:"cf-bar"},a1={key:0,class:"cf-meta"},n1={class:"cf-stage"},e1={key:0,class:"cf-empty"},i1=["viewBox"],t1={key:0},o1=["cx","cy","fill","opacity","transform"],r1=["d","stroke-dasharray"],l1=["d"],s1=["onClick","onMouseenter"],c1=["cx","cy","r"],g1=["x","y"],u1=["cx","cy","r","fill"],d1=["x","y"],p1={class:"cf-center",style:{"pointer-events":"none"}},m1=["cx","cy","r","fill"],h1=["cx","cy","fill"],y1=["x","y"],b1=["x","y"],_1={key:2,class:"cf-rings"},f1=["innerHTML"],Xe=1e3,P1=212,C1=372,Mg=48,j1=8,k1=16,G1={__name:"FlowerCell",setup(a){const n=Ft(),e=Xe/2,i=Xe/2,t=ua(n.mode.value==="flower"?1:0),o=ua(!1),r=ua(null),l=ua(""),s=ua({show:!1,x:0,y:0,html:""});function g(Y,ta,aa,ba){const na=(ba-90)*Math.PI/180;return[Y+aa*Math.cos(na),ta+aa*Math.sin(na)]}function d(Y){return String(Y&&(Y.rol3||Y.lang)||"").trim().toLowerCase()}function _(Y){return String(Y??"").replace(/[&<>"']/g,ta=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[ta])}const k=la(()=>{const Y=[...new Set(n.visibleSenders.value.map(aa=>aa.religionFamily||"Unknown"))].sort(),ta={};return Y.forEach((aa,ba)=>{ta[aa]=ia.CAT[ba%ia.CAT.length]}),ta}),x=la(()=>{const Y=n.focusedTarget.value;if(!Y)return null;const ta=[...n.visibleSenders.value].sort((Pa,$a)=>$a.pct-Pa.pct||$a.pop-Pa.pop),aa=ta.filter(Pa=>Pa.adjacency==="same-country"),ba=ta.filter(Pa=>Pa.adjacency!=="same-country"),na=o.value?aa:aa.slice(0,j1),u=o.value?ba:ba.slice(0,k1),A=aa.length-na.length+(ba.length-u.length),j=A>0&&!o.value,c=k.value,P=Pa=>n.colorBy.value==="religion"?c[Pa.religionFamily||"Unknown"]||ia.CAT[0]:qe(Pa.pct),p=[],M=[];for(const Pa of na)p.push(Pa.lng),M.push(Pa.lat);for(const Pa of u)p.push(Pa.lng),M.push(Pa.lat);let N=Y.lng,U=Y.lat;(!isFinite(N)||!isFinite(U))&&(N=p.length?p.reduce((Pa,$a)=>Pa+$a,0)/p.length:0,U=M.length?M.reduce((Pa,$a)=>Pa+$a,0)/M.length:0),p.push(N),M.push(U);const h=Math.min(...p),C=Math.max(...p),y=Math.min(...M),R=Math.max(...M),H=Math.max(C-h,.01),V=Math.max(R-y,.01),oa=130;let Q=Math.min((Xe-oa*2)/H,(Xe-oa*2)/V);(!isFinite(Q)||Q<=0)&&(Q=1);const m=(h+C)/2,b=(y+R)/2,F=(Pa,$a)=>[e+(Pa-m)*Q,i-($a-b)*Q],J=[],ca=u.map(Pa=>({kind:"node",s:Pa}));j&&ca.push({kind:"more"});const ra=na.length;na.forEach((Pa,$a)=>{const Ba=ra?($a+.5)/ra*360:0,[dn,Ne]=g(e,i,P1,Ba),[hn,Zi]=F(Pa.lng,Pa.lat);J.push({id:Pa.id,s:Pa,isMore:!1,ring:"inner",ang:Ba,r:Ki(Pa.pop,7,20),color:P(Pa),lang:d(Pa),fx:dn,fy:Ne,gx:hn,gy:Zi})});const B=ca.length,Z=B?180/B:0;ca.forEach((Pa,$a)=>{const Ba=B?($a+.5)/B*360+Z:0,[dn,Ne]=g(e,i,C1,Ba);if(Pa.kind==="more"){const[hn,Zi]=F(N,U);J.push({id:"__more__",isMore:!0,ring:"outer",ang:Ba,r:18,color:ia.NAVY,lang:"",fx:dn,fy:Ne,gx:hn,gy:Zi,hidden:A})}else{const hn=Pa.s,[Zi,Uf]=F(hn.lng,hn.lat);J.push({id:hn.id,s:hn,isMore:!1,ring:"outer",ang:Ba,r:Ki(hn.pop,7,20),color:P(hn),lang:d(hn),fx:dn,fy:Ne,gx:Zi,gy:Uf})}});const[_a,va]=F(N,U),Ra={fx:e,fy:i,gx:_a,gy:va,country:Y.country,count:Y.count,color:Fi(Y.count)},an=new Map;for(const Pa of J){if(Pa.isMore||!Pa.lang)continue;let $a=an.get(Pa.lang);$a||($a=[],an.set(Pa.lang,$a)),$a.push(Pa)}const qa=[];for(const[Pa,$a]of an)if(!($a.length<2))for(let Ba=0;Ba<$a.length-1;Ba++)qa.push({id:"mesh-"+$a[Ba].id+"-"+$a[Ba+1].id,from:$a[Ba].id,to:$a[Ba+1].id,lang:Pa});return{nodes:J,center:Ra,mesh:qa,hidden:A,shown:na.length+u.length,total:ta.length}}),D=la(()=>{const Y={};if(x.value)for(const ta of x.value.nodes)Y[ta.id]=ta;return Y});function T(Y){return!l.value||!Y.isMore&&Y.lang===l.value}function $(Y){return!l.value||Y.lang===l.value}function w(Y){return!Y.isMore&&n.facets.value.languages.has(Y.s.lang)}function L(Y){return Y.gx+(Y.fx-Y.gx)*t.value}function E(Y){return Y.gy+(Y.fy-Y.gy)*t.value}function I(){const Y=x.value.center;return Y.gx+(Y.fx-Y.gx)*t.value}function G(){const Y=x.value.center;return Y.gy+(Y.fy-Y.gy)*t.value}function S(Y){return"M "+I().toFixed(1)+" "+G().toFixed(1)+" L "+L(Y).toFixed(1)+" "+E(Y).toFixed(1)}function v(Y){const ta=D.value[Y.from],aa=D.value[Y.to];if(!ta||!aa)return"";const ba=L(ta),na=E(ta),u=L(aa),A=E(aa),j=(ba+u)/2,c=(na+A)/2,P=j+(e-j)*.45*t.value,p=c+(i-c)*.45*t.value;return"M "+ba.toFixed(1)+" "+na.toFixed(1)+" Q "+P.toFixed(1)+" "+p.toFixed(1)+" "+u.toFixed(1)+" "+A.toFixed(1)}function K(Y){if(Y.isMore)return"4 6";const ta=br(Y.s.bridge);return ta?ta.map(aa=>aa*3).join(" "):"none"}function O(Y){return[L(Y),E(Y)]}function q(Y,ta){if(r.value=Y.id,l.value=Y.isMore?"":Y.lang,!Y.isMore)try{n.setHover&&n.setHover(Y.id)}catch{}if(Y.isMore){s.value={show:!0,x:ta.clientX,y:ta.clientY,html:"+"+Y.hidden+' more senders
click to bloom the full roster
'};return}const aa=Y.s;s.value={show:!0,x:ta.clientX,y:ta.clientY,html:""+_(aa.name)+'
'+_(aa.country)+" · "+_(aa.lang||"—")+'
reached '+Math.round(aa.pct||0)+'% Christian
people '+_e(aa.pop)+'
bridge '+_(aa.bridge||"—")+'
near '+_(aa.adjacency||"—")+"
"}}function sa(Y){s.value.show&&(s.value.x=Y.clientX,s.value.y=Y.clientY)}function ea(){r.value=null,l.value="";try{n.setHover&&n.setHover(null)}catch{}s.value={...s.value,show:!1}}function ga(Y){if(Y.isMore){o.value=!0;return}n.toggleFacet("languages",Y.s.lang)}function Sa(){n.setMode(n.mode.value==="flower"?"map":"flower")}const Ma=typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;let ma=0;function pa(Y){if(cancelAnimationFrame(ma),Ma||typeof requestAnimationFrame>"u"){t.value=Y;return}const ta=t.value,aa=performance.now(),ba=720,na=A=>A<.5?2*A*A:1-Math.pow(-2*A+2,2)/2,u=A=>{const j=Math.min(1,(A-aa)/ba);t.value=ta+(Y-ta)*na(j),j<1&&(ma=requestAnimationFrame(u))};ma=requestAnimationFrame(u)}return cn(()=>n.mode.value,Y=>pa(Y==="flower"?1:0)),cn(()=>n.focusedTargetId.value,()=>{o.value=!1}),Ue(()=>cancelAnimationFrame(ma)),On(".cpt-flower{position:absolute;inset:0;display:flex;flex-direction:column;overflow:hidden;isolation:isolate;background:radial-gradient(circle at 50% 44%, #16203a 0%, #0b1020 72%);color:#e5e7eb;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;}.cf-bar{position:absolute;top:10px;left:10px;right:10px;z-index:30;display:flex;gap:8px;align-items:center;flex-wrap:wrap;pointer-events:none;}.cf-bar > *{pointer-events:auto;}.cf-title{background:"+ia.NAVY+";color:#fff;font:700 11px/1 ui-monospace,monospace;letter-spacing:.07em;text-transform:uppercase;padding:8px 12px;border-radius:8px;box-shadow:0 2px 10px rgba(0,0,0,.4);}.cf-meta{font:600 11px/1.4 ui-monospace,monospace;color:#9fb3d9;background:rgba(8,12,24,.7);border:1px solid #1c2742;border-radius:8px;padding:6px 10px;}.cf-meta b{color:#fff;}.cf-bloom{margin-left:auto;background:#13224a;border:1px solid #3f7bd6;color:#fff;cursor:pointer;font:700 11px/1 ui-monospace,monospace;letter-spacing:.04em;padding:8px 13px;border-radius:8px;display:inline-flex;align-items:center;gap:7px;user-select:none;}.cf-bloom:hover{background:#1b2e5e;}.cf-bloom .cf-dot{width:8px;height:8px;border-radius:50%;background:"+ia.GOLD+";}.cf-stage{flex:1 1 0;position:relative;}.cf-svg{position:absolute;inset:0;width:100%;height:100%;display:block;}.cf-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;color:#7e90b6;font:600 12px/1.6 ui-monospace,monospace;padding:24px;}.cf-petal{transition:opacity .15s;}.cf-spoke{fill:none;stroke:"+ia.NAVY+";stroke-width:2;opacity:.45;transition:opacity .15s;}.cf-spoke.lit{opacity:.9;stroke-width:2.6;}.cf-spoke.dim{opacity:.06;}.cf-mesh{fill:none;stroke:"+ia.GOLD+";stroke-width:1.6;opacity:.5;stroke-linecap:round;transition:opacity .15s;}.cf-mesh.lit{opacity:.95;stroke-width:2.6;}.cf-mesh.dim{opacity:.05;}.cf-node{cursor:pointer;transition:opacity .15s;}.cf-node.dim{opacity:.2;}.cf-node circle{stroke:#0b1020;stroke-width:2;}.cf-node.hov circle{stroke:#fff;stroke-width:3;}.cf-node.fac circle{stroke:"+ia.GOLD+";stroke-width:3.5;}.cf-more circle{fill:"+ia.NAVY+";stroke:#3f7bd6;stroke-width:2;stroke-dasharray:4 4;}.cf-more text{fill:#cfe0ff;font:700 13px/1 ui-monospace,monospace;text-anchor:middle;}.cf-label{fill:#cdd9f2;font:600 12px/1 -apple-system,sans-serif;text-anchor:middle;paint-order:stroke;stroke:#0b1020;stroke-width:3px;pointer-events:none;}.cf-center-glow{opacity:.18;}.cf-center circle{stroke:#ffd9bd;stroke-width:3;}.cf-center-name{fill:#fff;font:800 18px/1 -apple-system,sans-serif;text-anchor:middle;paint-order:stroke;stroke:"+ia.RED_DK+";stroke-width:3px;}.cf-center-sub{fill:#ffe1cb;font:600 11px/1 ui-monospace,monospace;text-anchor:middle;}.cf-rings{position:absolute;left:10px;bottom:10px;z-index:25;background:rgba(8,12,24,.8);border:1px solid #1c2742;border-radius:8px;padding:7px 10px;font:600 10px/1.5 ui-monospace,monospace;color:#9fb3d9;}.cf-rings b{color:#dbe4f3;}.cf-tip{position:fixed;z-index:60;pointer-events:none;max-width:240px;background:#0e1730;border:1px solid #34508c;border-radius:9px;padding:9px 11px;box-shadow:0 6px 22px rgba(0,0,0,.55);font-size:11.5px;color:#dbe4f3;}.cf-tip strong{font-size:13px;color:#fff;}.cf-tip-sub{color:"+ia.GOLD+";font:600 10px/1.3 ui-monospace,monospace;margin:2px 0 6px;}.cf-tip-row{display:flex;gap:6px;line-height:1.5;}.cf-tip-k{color:#7e90b6;min-width:54px;}@media (max-width:720px){.cf-meta{display:none;}}","cockpit-flowercell"),(Y,ta)=>(z(),W("div",{class:"cpt-flower",onMousemove:sa},[f("div",Qb,[ta[1]||(ta[1]=f("span",{class:"cf-title"},"Bloom",-1)),x.value?(z(),W("span",a1,[f("b",null,X(x.value.center.country),1),ya(" · "+X(x.value.center.count)+" unreached · ",1),f("b",null,X(x.value.shown),1),ya("/"+X(x.value.total)+" senders ",1)])):fa("",!0),f("button",{class:"cf-bloom",type:"button",onClick:Sa},[ta[0]||(ta[0]=f("span",{class:"cf-dot"},null,-1)),ya(X(ha(n).mode.value==="flower"?"To map":"Bloom")+" ▸ ",1)])]),f("div",n1,[x.value?(z(),W("svg",{key:1,class:"cf-svg",viewBox:"0 0 "+Xe+" "+Xe,preserveAspectRatio:"xMidYMid meet"},[t.value>.05?(z(),W("g",t1,[(z(!0),W(Aa,null,Ua(x.value.nodes,aa=>Ed((z(),W("ellipse",{key:"pt-"+aa.id,class:"cf-petal",cx:O(aa)[0],cy:O(aa)[1],rx:"74",ry:"38",fill:aa.color,opacity:.13*t.value,transform:"rotate("+aa.ang+" "+O(aa)[0]+" "+O(aa)[1]+")"},null,8,o1)),[[Hp,aa.ring==="outer"&&!aa.isMore]])),128))])):fa("",!0),f("g",null,[(z(!0),W(Aa,null,Ua(x.value.nodes,aa=>(z(),W("path",{key:"sp-"+aa.id,class:Ia(["cf-spoke",{lit:l.value&&T(aa),dim:l.value&&!T(aa)}]),d:S(aa),"stroke-dasharray":K(aa)},null,10,r1))),128))]),f("g",null,[(z(!0),W(Aa,null,Ua(x.value.mesh,aa=>(z(),W("path",{key:aa.id,class:Ia(["cf-mesh",{lit:l.value&&$(aa),dim:l.value&&!$(aa)}]),d:v(aa)},null,10,l1))),128))]),f("g",null,[(z(!0),W(Aa,null,Ua(x.value.nodes,aa=>(z(),W("g",{key:"nd-"+aa.id,class:Ia(["cf-node",{dim:l.value&&!T(aa),hov:r.value===aa.id||ha(n).hoveredId.value===aa.id,fac:w(aa),"cf-more":aa.isMore}]),onClick:Xn(ba=>ga(aa),["stop"]),onMouseenter:ba=>q(aa,ba),onMouseleave:ea},[aa.isMore?(z(),W(Aa,{key:0},[f("circle",{cx:L(aa),cy:E(aa),r:aa.r},null,8,c1),f("text",{x:L(aa),y:E(aa)+4},"+"+X(aa.hidden),9,g1)],64)):(z(),W(Aa,{key:1},[f("circle",{cx:L(aa),cy:E(aa),r:aa.r,fill:aa.color},null,8,u1),r.value===aa.id||aa.r>=12?(z(),W("text",{key:0,class:"cf-label",x:L(aa),y:E(aa)+aa.r+14},X(aa.s.name),9,d1)):fa("",!0)],64))],42,s1))),128))]),f("g",p1,[f("circle",{class:"cf-center-glow",cx:I(),cy:G(),r:Mg+26,fill:x.value.center.color},null,8,m1),f("circle",{cx:I(),cy:G(),r:Mg,fill:x.value.center.color},null,8,h1),f("text",{class:"cf-center-name",x:I(),y:G()-1},X(x.value.center.country),9,y1),f("text",{class:"cf-center-sub",x:I(),y:G()+16},X(x.value.center.count)+" unreached",9,b1)])],8,i1)):(z(),W("div",e1,[...ta[2]||(ta[2]=[ya(" Pick a red target on the map —",-1),f("br",null,null,-1),ya("its reached neighbors bloom here as a flower. ",-1)])])),x.value?(z(),W("div",_1,[ta[3]||(ta[3]=f("b",null,"inner",-1)),ta[4]||(ta[4]=ya(" same-country · ",-1)),ta[5]||(ta[5]=f("b",null,"petals",-1)),ta[6]||(ta[6]=ya(" cross-border",-1)),ta[7]||(ta[7]=f("br",null,null,-1)),ta[8]||(ta[8]=ya(" navy = SEND · ",-1)),f("span",{style:Ka({color:ha(ia).GOLD})},"gold",4),ta[9]||(ta[9]=ya(" = same-language mesh ",-1))])):fa("",!0)]),s.value.show?(z(),W("div",{key:0,class:"cf-tip",style:Ka({left:s.value.x+14+"px",top:s.value.y+14+"px"}),innerHTML:s.value.html},null,12,f1)):fa("",!0)],32))}},v1={class:"cpt-list",style:{"container-type":"inline-size"}},A1={class:"cpt-l-head"},S1={class:"cpt-l-title"},E1={key:0,class:"cpt-l-sub"},M1={class:"cpt-l-badge"},I1={key:0,class:"cpt-l-hidden"},w1={key:1,class:"cpt-l-sorts"},x1=["onClick"],T1={key:0,class:"cpt-l-actions"},N1={class:"cpt-l-selall"},L1=["checked"],R1={key:0,class:"cpt-l-selcount"},$1=["disabled"],F1=["disabled"],K1=["data-sid","onMouseenter","onClick"],B1=["checked","onChange"],O1=["title"],U1={class:"cpt-l-body"},H1=["title"],D1={class:"cpt-l-meta"},z1={class:"cpt-l-lang"},V1={key:0,class:"cpt-l-rol3"},Y1=["title"],W1=["title"],J1={class:"cpt-l-right"},Z1={class:"cpt-l-pop"},q1=["onClick"],X1={key:0},Q1={key:0},a3={key:1},n3={key:2,class:"cpt-l-empty"},e3={key:0,class:"sm"},i3={key:1,class:"sm"},t3={key:3,class:"cpt-l-empty"},o3={class:"sm"},r3={__name:"ListCell",setup(a){const n=Ft(),e=la(()=>n.listRows.value),i=la(()=>n.focusedTarget.value),t=la(()=>n.counts.value),o=la(()=>n.sortKey.value),r=la(()=>{const na=i.value;return na&&(na.target_top_langs&&na.target_top_langs.length?na.target_top_langs:na.langs||[])[0]||""}),l=la(()=>{const na=i.value;if(!na)return"Pick a red target to build a send list";const u=e.value.length,A=r.value?" — they speak "+r.value:"";return"Send "+u.toLocaleString()+" reached neighbor"+(u===1?"":"s")+" INTO "+na.country+A}),s=la(()=>i.value&&i.value.senderCount||0),g=la(()=>t.value.hidden||0),d=[{key:"mobilization",label:"Mobilization"},{key:"pct",label:"%Christian"},{key:"pop",label:"Population"},{key:"bridge",label:"Bridge"},{key:"name",label:"Name"},{key:"frontier",label:"Frontier first"}];function _(na){n.setSort(na)}const k=ua(new Set);function x(na){const u=new Set(k.value);u.has(na)?u.delete(na):u.add(na),k.value=u,G.value=""}const D=la(()=>e.value.filter(na=>k.value.has(na.id))),T=la(()=>D.value.length),$=la(()=>e.value.length>0&&e.value.every(na=>k.value.has(na.id)));function w(){k.value=$.value?new Set:new Set(e.value.map(na=>na.id)),G.value=""}function L(){k.value=new Set,G.value=""}const E=la(()=>T.value?D.value:e.value);function I(){E.value.length&&(n.exportSelectionCSV(E.value),G.value="CSV downloaded ("+E.value.length+")",v())}const G=ua("");let S=null;function v(){S&&clearTimeout(S),S=setTimeout(()=>{G.value=""},1900)}function K(na){const u=i.value,A="Send list — "+(u?u.country:"all targets")+(r.value?" ("+r.value+")":"")+" · "+na.length+" senders",j=na.map(c=>c.name+" · "+c.country+" · "+c.lang+(c.rol3?" ("+c.rol3+")":"")+" · "+Math.round(c.pct)+"% Christian · "+_e(c.pop)+" · "+c.bridge);return A+` +`+j.join(` +`)+` +`}function O(na){try{const u=document.createElement("textarea");u.value=na,u.style.position="fixed",u.style.opacity="0",u.style.top="0",document.body.appendChild(u),u.focus(),u.select();const A=document.execCommand&&document.execCommand("copy");return document.body.removeChild(u),!!A}catch{return!1}}async function q(){const na=E.value;if(!na.length)return;const u=K(na);let A=!1;try{navigator.clipboard&&navigator.clipboard.writeText?(await navigator.clipboard.writeText(u),A=!0):A=O(u)}catch{A=O(u)}G.value=A?"Copied ("+na.length+")":"Copy failed — press Ctrl/Cmd-C",v()}function sa(na){typeof n.setHover=="function"&&n.setHover(na)}const ea=la(()=>n.hoveredSenderId&&typeof n.hoveredSenderId=="object"?n.hoveredSenderId.value:null),ga=ua(null);cn(ea,na=>{!na||!ga.value||bi(()=>{const u=ga.value&&ga.value.querySelector('[data-sid="'+Sa(na)+'"]');u&&typeof u.scrollIntoView=="function"&&u.scrollIntoView({block:"nearest"})})});function Sa(na){return String(na).replace(/["\\]/g,"\\$&")}function Ma(na){sa(ea.value===na?null:na)}const ma=ua(null);function pa(na){ma.value=ma.value===na?null:na}function Y(na){return qe(na)}function ta(na){return yr[$t(na)]}function aa(na){const u=br(na);return u===null?"solid":u[0]===4?"dashed":"dotted"}function ba(na){return Math.round(+na||0)+"%"}return On(` +.cpt-list{position:absolute;inset:0;display:flex;flex-direction:column;background:#ffffff; + color:${ia.NAVY};font:400 12px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; + overflow:hidden} +.cpt-list *{box-sizing:border-box} + +/* header */ +.cpt-l-head{flex:0 0 auto;padding:8px 10px 6px;border-bottom:1px solid #e6eaf2;background:#fbfcfe} +.cpt-l-title{font-size:12.5px;font-weight:700;color:${ia.NAVY};line-height:1.35} +.cpt-l-sub{margin-top:3px;display:flex;align-items:center;gap:6px;flex-wrap:wrap; + font-size:10.5px;color:#5b6577} +.cpt-l-badge{display:inline-flex;align-items:center;gap:5px;font-weight:700;font-size:10px; + letter-spacing:.03em;text-transform:uppercase;color:${ia.NAVY}; + background:rgba(0,46,110,.08);border:1px solid rgba(0,46,110,.18); + padding:2px 7px;border-radius:999px} +.cpt-l-badge b{font-size:11px} +.cpt-l-hidden{color:#9aa3b2} + +/* sort row */ +.cpt-l-sorts{display:flex;gap:4px;flex-wrap:wrap;margin-top:7px} +.cpt-l-sort{cursor:pointer;border:1px solid #d6dceb;background:#fff;color:#4a5468; + font:600 10px/1 ui-monospace,monospace;padding:5px 8px;border-radius:7px;white-space:nowrap} +.cpt-l-sort:hover{border-color:${ia.NAVY};color:${ia.NAVY}} +.cpt-l-sort.active{background:${ia.NAVY};border-color:${ia.NAVY};color:#fff} +.cpt-l-sort.frontier.active{background:${ia.GOLD};border-color:${ia.GOLD};color:#3a2a00} + +/* action bar */ +.cpt-l-actions{flex:0 0 auto;display:flex;align-items:center;gap:6px;flex-wrap:wrap; + padding:6px 10px;border-bottom:1px solid #eef1f7;background:#fff} +.cpt-l-selall{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;color:#5b6577; + cursor:pointer;user-select:none} +.cpt-l-selcount{font-weight:700;color:${ia.NAVY}} +.cpt-l-btn{margin-left:0;cursor:pointer;border:1px solid #cdd5e6;background:#fff; + color:${ia.NAVY};font:600 11px/1 ui-monospace,monospace;padding:7px 10px;border-radius:8px} +.cpt-l-btn:hover{border-color:${ia.NAVY};background:rgba(0,46,110,.06)} +.cpt-l-btn:disabled{opacity:.45;cursor:not-allowed} +.cpt-l-btn.primary{background:${ia.NAVY};border-color:${ia.NAVY};color:#fff} +.cpt-l-btn.primary:hover{background:#013a8a} +.cpt-l-btn.ghost{color:#7b8498;border-color:#e0e5f0} +.cpt-l-spacer{flex:1 1 auto} +.cpt-l-flash{font-size:10px;color:#0f7a3d;min-height:12px;white-space:nowrap} +.cpt-l-flash.warn{color:${ia.RED}} + +/* rows */ +.cpt-l-rows{flex:1 1 auto;overflow:auto;padding:2px 0} +.cpt-l-row{display:grid;grid-template-columns:auto 12px 1fr auto;align-items:center;gap:8px; + padding:6px 10px;border-bottom:1px solid #f1f3f8;cursor:pointer;position:relative} +.cpt-l-row:hover,.cpt-l-row.hovered{background:rgba(245,158,11,.10)} +.cpt-l-row.hovered{box-shadow:inset 3px 0 0 0 ${ia.GOLD}} +.cpt-l-row.picked{background:rgba(0,46,110,.05)} +.cpt-l-chk{width:15px;height:15px;cursor:pointer;accent-color:${ia.NAVY};margin:0} +.cpt-l-swatch{width:12px;height:12px;border-radius:3px;border:1px solid rgba(0,0,0,.18)} +.cpt-l-body{min-width:0} +.cpt-l-name{font-weight:700;font-size:12px;color:${ia.NAVY}; + white-space:nowrap;overflow:hidden;text-overflow:ellipsis} +.cpt-l-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:2px; + font-size:10px;color:#6b7587} +.cpt-l-meta .sep{color:#c4ccda} +.cpt-l-lang{font-family:ui-monospace,monospace} +.cpt-l-rol3{color:#9aa3b2} +.cpt-l-right{display:flex;align-items:center;gap:8px;justify-self:end;white-space:nowrap} +.cpt-l-pct{font-weight:700;font-size:11.5px;font-family:ui-monospace,monospace} +.cpt-l-pop{font-size:10px;color:#6b7587;font-family:ui-monospace,monospace;min-width:34px;text-align:right} + +/* chips */ +.cpt-l-chip{display:inline-flex;align-items:center;gap:4px;font-size:9.5px; + padding:1px 6px;border-radius:999px;border:1px solid #dde3ef;color:#4a5468;background:#f7f9fc; + white-space:nowrap} +.cpt-l-chip.relig{border-color:#e3dcf0;background:#f6f3fc;color:#5b4a86} +.cpt-l-bridgeline{display:inline-block;width:14px;height:0; + border-top:2px solid ${ia.NAVY}} +.cpt-l-info{flex:0 0 auto;width:16px;height:16px;border-radius:50%;cursor:pointer; + border:1px solid #d6dceb;background:#fff;color:#7b8498;font:700 10px/14px ui-monospace,monospace; + text-align:center} +.cpt-l-info:hover,.cpt-l-info.on{border-color:${ia.NAVY};color:${ia.NAVY}} + +/* pinned tooltip */ +.cpt-l-tip{grid-column:1 / -1;margin-top:6px;padding:7px 9px;border-radius:8px; + background:${ia.NAVY};color:#eef3fb;font-size:10px;line-height:1.5} +.cpt-l-tip dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:2px 10px} +.cpt-l-tip dt{color:#9fb6db;font-weight:600} +.cpt-l-tip dd{margin:0;color:#eef3fb;word-break:break-word} + +/* empty / placeholder states */ +.cpt-l-empty{flex:1 1 auto;display:flex;flex-direction:column;align-items:center; + justify-content:center;gap:6px;text-align:center;color:#8a93a5;padding:24px} +.cpt-l-empty .big{font-size:13px;font-weight:700;color:${ia.NAVY}} +.cpt-l-empty .sm{font-size:11px} + +/* container-query polish for narrow frames */ +@container (max-width: 420px){ + .cpt-l-pop{display:none} + .cpt-l-meta .relig{display:none} +} +`,"cockpit-listcell"),(na,u)=>(z(),W("div",v1,[f("div",A1,[f("div",S1,X(l.value),1),i.value?(z(),W("div",E1,[f("span",M1,[f("b",null,X(s.value.toLocaleString()),1),u[3]||(u[3]=ya(" senders available ",-1))]),g.value?(z(),W("span",I1,"· "+X(g.value.toLocaleString())+" hidden by filters",1)):fa("",!0)])):fa("",!0),i.value?(z(),W("div",w1,[(z(),W(Aa,null,Ua(d,A=>f("button",{key:A.key,class:Ia(["cpt-l-sort",{active:o.value===A.key,frontier:A.key==="frontier"}]),type:"button",onClick:j=>_(A.key)},X(A.label),11,x1)),64))])):fa("",!0)]),i.value&&e.value.length?(z(),W("div",T1,[f("label",N1,[f("input",{class:"cpt-l-chk",type:"checkbox",checked:$.value,onChange:w},null,40,L1),u[4]||(u[4]=ya(" Build send list ",-1)),T.value?(z(),W("span",R1,"("+X(T.value)+")",1)):fa("",!0)]),u[5]||(u[5]=f("span",{class:"cpt-l-spacer"},null,-1)),f("span",{class:Ia(["cpt-l-flash",{warn:G.value.indexOf("fail")!==-1}])},X(G.value),3),T.value?(z(),W("button",{key:0,class:"cpt-l-btn ghost",type:"button",onClick:L},"Clear")):fa("",!0),f("button",{class:"cpt-l-btn",type:"button",disabled:!E.value.length,onClick:q},"Copy",8,$1),f("button",{class:"cpt-l-btn primary",type:"button",disabled:!E.value.length,onClick:I}," Export "+X(T.value?"selection":"all")+" · CSV ",9,F1)])):fa("",!0),i.value&&e.value.length?(z(),W("div",{key:1,class:"cpt-l-rows",ref_key:"rowsEl",ref:ga},[(z(!0),W(Aa,null,Ua(e.value,A=>(z(),W("div",{key:A.id,class:Ia(["cpt-l-row",{hovered:ea.value===A.id,picked:k.value.has(A.id)}]),"data-sid":A.id,onMouseenter:j=>sa(A.id),onMouseleave:u[2]||(u[2]=j=>sa(null)),onClick:j=>Ma(A.id)},[f("input",{class:"cpt-l-chk",type:"checkbox",checked:k.value.has(A.id),onClick:u[0]||(u[0]=Xn(()=>{},["stop"])),onChange:j=>x(A.id)},null,40,B1),f("span",{class:"cpt-l-swatch",style:Ka({background:Y(A.pct)}),title:ta(A.pct)},null,12,O1),f("div",U1,[f("div",{class:"cpt-l-name",title:A.name},X(A.name),9,H1),f("div",D1,[f("span",null,X(A.country),1),u[6]||(u[6]=f("span",{class:"sep"},"·",-1)),f("span",z1,[ya(X(A.lang),1),A.rol3?(z(),W("span",V1," ("+X(A.rol3)+")",1)):fa("",!0)]),f("span",{class:"cpt-l-chip",title:"bridge: "+A.bridge},[f("span",{class:"cpt-l-bridgeline",style:Ka({borderTopStyle:aa(A.bridge)})},null,4),ya(" "+X(A.bridge),1)],8,Y1),f("span",{class:"cpt-l-chip relig",title:A.religion_bg},X(A.religionFamily),9,W1)])]),f("div",J1,[f("span",{class:"cpt-l-pct",style:Ka({color:Y(A.pct)})},X(ba(A.pct)),5),f("span",Z1,X(ha(_e)(A.pop)),1),f("button",{class:Ia(["cpt-l-info",{on:ma.value===A.id}]),type:"button",title:"Details",onClick:Xn(j=>pa(A.id),["stop"])},"i",10,q1)]),ma.value===A.id?(z(),W("div",{key:0,class:"cpt-l-tip",onClick:u[1]||(u[1]=Xn(()=>{},["stop"]))},[f("dl",null,[u[7]||(u[7]=f("dt",null,"People group",-1)),f("dd",null,X(A.name),1),u[8]||(u[8]=f("dt",null,"Country",-1)),f("dd",null,X(A.country),1),u[9]||(u[9]=f("dt",null,"Language",-1)),f("dd",null,[ya(X(A.lang),1),A.rol3?(z(),W("span",X1," · "+X(A.rol3),1)):fa("",!0)]),u[10]||(u[10]=f("dt",null,"%Christian",-1)),f("dd",null,X(ba(A.pct))+" · "+X(ta(A.pct)),1),u[11]||(u[11]=f("dt",null,"Population",-1)),f("dd",null,X(ha(_e)(A.pop)),1),u[12]||(u[12]=f("dt",null,"Bridge",-1)),f("dd",null,X(A.bridge),1),u[13]||(u[13]=f("dt",null,"Adjacency",-1)),f("dd",null,X(A.adjacency),1),u[14]||(u[14]=f("dt",null,"Religion",-1)),f("dd",null,X(A.religion_bg||A.religionFamily),1),A.code?(z(),W("dt",Q1,"Code")):fa("",!0),A.code?(z(),W("dd",a3,X(A.code),1)):fa("",!0)])])):fa("",!0)],42,K1))),128))],512)):i.value?(z(),W("div",n3,[u[15]||(u[15]=f("div",{class:"big"},"No senders match the current filters",-1)),g.value?(z(),W("div",e3,X(g.value.toLocaleString())+" senders hidden — clear a facet to see them",1)):(z(),W("div",i3,"This target has no reached neighbors in the baked set yet"))])):(z(),W("div",t3,[u[16]||(u[16]=f("div",{class:"big"},"Pick a red target",-1)),f("div",o3,X(t.value.clusters.toLocaleString())+" unreached clusters · "+X(t.value.senders.toLocaleString())+" reached senders nearby",1),u[17]||(u[17]=f("div",{class:"sm"},"Tap a red bubble on the map to build its send list.",-1))]))]))}},l3={class:"cpt-cs"},s3={class:"cs-controls"},c3={class:"cs-searchwrap"},g3=["value"],u3={key:0,class:"cs-suggest",role:"listbox"},d3=["onMousedown"],p3={class:"cs-tag"},m3={class:"cs-lens"},h3=["value"],y3=["value"],b3={class:"cs-colorby",role:"group","aria-label":"Color reached senders by"},_3={class:"cs-grid"},f3={class:"cs-card"},P3=["viewBox"],C3=["onClick"],j3=["x","y"],k3=["x","y","width","height"],G3=["x","y"],v3={key:1,class:"cs-empty"},A3={class:"cs-card"},S3=["viewBox"],E3=["onClick"],M3=["x","y"],I3=["x","y","width","height"],w3=["x","y"],x3={key:1,class:"cs-empty"},T3={class:"cs-card"},N3=["viewBox"],L3=["x2"],R3=["onClick"],$3=["x","y","width","height","fill"],F3=["x","y"],K3=["x","y"],B3={class:"cs-card"},O3={class:"cs-donutwrap"},U3={key:0,class:"cs-donut",viewBox:"0 0 160 160",preserveAspectRatio:"xMidYMid meet",role:"img","aria-label":"Donut by category"},H3=["d","fill","onClick"],D3={class:"cs-dctr",x:"80",y:"84","text-anchor":"middle"},z3={class:"cs-legend"},V3=["onClick"],Y3={key:0,class:"cs-empty"},Ig=300,Qe=15,Pr=5,Dt=94,W3=150,Cr=230,J3=120,Z3=10,Oi=96,jr=12,q3=80,X3=80,ai=70,ni=42,Q3={__name:"ChartStrip",setup(a){const n=Ft(),e=ua(!1),i=[0,10,25,50,75],t=(G,S)=>{const v=String(G??"");return v.length>S?v.slice(0,S-1)+"…":v},o=la(()=>n.chartData.value),r=la(()=>n.colorBy.value==="religion"?"religions":"bridges"),l=la(()=>{const G=new Map;for(const S of n.allSenders.value){const v=S.lang||"—";G.set(v,(G.get(v)||0)+1)}return[...G.entries()].map(([S,v])=>({lang:S,count:v})).sort((S,v)=>v.count-S.count)}),s=la(()=>{const G=n.search.value.trim().toLowerCase();if(G.length<1)return[];const S=[];for(const v of n.allClusters.value)if(v.country.toLowerCase().includes(G)&&(S.push({type:"target",label:v.country+" · "+v.count+" unreached",value:v.id,targetId:v.id}),S.length>=6))break;for(const v of l.value)if(v.lang.toLowerCase().includes(G)&&(S.push({type:"lang",label:v.lang+" · "+v.count+" senders",value:v.lang}),S.length>=9))break;for(const v of n.allSenders.value)if(v.name.toLowerCase().includes(G)&&(S.push({type:"sender",label:v.name+" → "+v.country,value:v.name,targetId:v.targetId}),S.length>=13))break;return S.slice(0,11)});function g(G,S){const v=n.facets.value[S],K=v&&v.size>0;let O=1;for(const q of G)q.value>O&&(O=q.value);return G.map((q,sa)=>{const ea=Math.max(2,q.value/O*W3),ga=v?v.has(q.key):!1;return{key:q.key,label:q.label,value:q.value,y:sa*(Qe+Pr),h:Qe,x:Dt,w:ea,ty:sa*(Qe+Pr)+Qe-4,vx:Dt+ea+4,active:ga,dim:K&&!ga}})}const d=G=>Math.max(Qe,G.length*(Qe+Pr)),_=la(()=>g(o.value.languageBar,"languages")),k=la(()=>g(o.value.countryBar,"countries")),x=la(()=>{const G=o.value.reachedHist;let S=1;for(const ea of G)ea.value>S&&(S=ea.value);const v=G.length,K=(Cr-jr-8)/v,O=K*.7,q=n.facets.value.reachedMin,sa=Oi-Z3;return G.map((ea,ga)=>{const Sa=ea.value/S*sa,Ma=jr+ga*K+(K-O)/2,ma=i[ga],pa=q!=null&&q===ma;return{key:ga,label:yr[ga],value:ea.value,color:ea.color,x:Ma,w:O,y:Oi-Sa,h:Sa,cx:Ma+O/2,min:ma,active:pa,dim:q!=null&&q!==ma&&ma>0}})});function D(G){G.min<=0||n.facets.value.reachedMin===G.min?n.setReachedMin(null):n.setReachedMin(G.min)}function T(G,S){const v=(q,sa)=>q3+q*Math.cos(sa),K=(q,sa)=>X3+q*Math.sin(sa),O=S-G>Math.PI?1:0;return"M"+v(ai,G)+" "+K(ai,G)+" A"+ai+" "+ai+" 0 "+O+" 1 "+v(ai,S)+" "+K(ai,S)+" L"+v(ni,S)+" "+K(ni,S)+" A"+ni+" "+ni+" 0 "+O+" 0 "+v(ni,G)+" "+K(ni,G)+" Z"}const $=la(()=>{const G=o.value.donut,S=n.facets.value[r.value],v=S&&S.size>0;let K=0;for(const q of G)K+=q.value;K=K||1;let O=-Math.PI/2;return G.map(q=>{let sa=q.value/K*Math.PI*2;sa>=Math.PI*2&&(sa=Math.PI*2-1e-4);const ea=O,ga=O+sa;O=ga;const Sa=S?S.has(q.key):!1;return{key:q.key,label:q.label,value:q.value,color:q.color,path:T(ea,ga),active:Sa,dim:v&&!Sa}})}),w=la(()=>$.value.reduce((G,S)=>G+S.value,0));function L(G){n.setSearch(G.target.value),e.value=!0}function E(G){G.type==="target"?(n.selectTarget(G.targetId),n.setSearch("")):(G.type==="sender"&&G.targetId&&n.selectTarget(G.targetId),n.setSearch(G.value)),e.value=!1}function I(G){n.setLanguageLens(G.target.value||null)}return On(` + .cpt-cs{position:absolute;inset:0;display:flex;flex-direction:column;overflow:auto; + background:#f8fafc;color:${ia.NAVY}; + font:600 11px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;} + + /* control bar */ + .cs-controls{position:sticky;top:0;z-index:20;display:flex;flex-wrap:wrap;align-items:center; + gap:8px;padding:8px 10px;background:rgba(248,250,252,.96);border-bottom:1px solid #e2e8f0;} + .cs-searchwrap{position:relative;flex:1 1 180px;min-width:140px;} + .cs-search{width:100%;box-sizing:border-box;padding:6px 9px;border:1px solid #cbd5e1;border-radius:8px; + background:#fff;color:${ia.NAVY};font:600 11px/1.2 ui-monospace,monospace;outline:none;} + .cs-search:focus{border-color:${ia.NAVY};box-shadow:0 0 0 2px rgba(0,46,110,.12);} + .cs-suggest{position:absolute;left:0;right:0;top:calc(100% + 3px);z-index:60;margin:0;padding:4px; + list-style:none;background:#fff;border:1px solid #cbd5e1;border-radius:8px; + box-shadow:0 8px 22px rgba(0,0,0,.16);max-height:230px;overflow:auto;} + .cs-suggest li{display:flex;align-items:center;gap:6px;padding:5px 7px;border-radius:6px;cursor:pointer; + font:600 11px/1.25 ui-monospace,monospace;color:${ia.NAVY};} + .cs-suggest li:hover{background:#eef2f7;} + .cs-tag{flex:0 0 auto;font:700 8px/1 ui-monospace,monospace;letter-spacing:.5px;color:#fff; + padding:2px 4px;border-radius:4px;background:#94a3b8;} + .cs-suggest li.t-target .cs-tag{background:${ia.RED};} + .cs-suggest li.t-lang .cs-tag{background:${ia.GOLD};} + .cs-suggest li.t-sender .cs-tag{background:${ia.NAVY};} + + .cs-lens{display:inline-flex;align-items:center;gap:5px;font:700 10px/1 ui-monospace,monospace;color:#475569;} + .cs-lens select{padding:5px 6px;border:1px solid #cbd5e1;border-radius:7px;background:#fff; + color:${ia.NAVY};font:600 10px/1.1 ui-monospace,monospace;max-width:140px;} + .cs-colorby{display:inline-flex;align-items:center;gap:4px;font:700 10px/1 ui-monospace,monospace;color:#475569;} + .cs-colorby button{border:1px solid #cbd5e1;background:#fff;color:#475569;cursor:pointer; + font:700 10px/1 ui-monospace,monospace;padding:5px 8px;border-radius:7px;} + .cs-colorby button.on{background:${ia.NAVY};color:#fff;border-color:${ia.NAVY};} + + /* charts grid */ + .cs-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px 10px 12px;} + @container (max-width:520px){ .cs-grid{grid-template-columns:1fr;} } + .cs-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #e2e8f0; + border-radius:10px;padding:7px 8px;} + .cs-card header{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px;} + .cs-card h4{margin:0;font:700 10px/1.2 ui-monospace,monospace;letter-spacing:.3px; + text-transform:uppercase;color:#475569;} + .cs-clr{border:0;background:transparent;color:${ia.RED};cursor:pointer; + font:700 9px/1 ui-monospace,monospace;padding:2px 4px;} + .cs-clr:hover{text-decoration:underline;} + .cs-svg{width:100%;height:auto;display:block;} + .cs-empty{margin:8px 0;color:#94a3b8;font:600 10px/1 ui-monospace,monospace;text-align:center;} + + /* horizontal bars */ + .cs-barrow{cursor:pointer;} + .cs-bar{fill:${ia.NAVY};transition:opacity .15s;} + .cs-bar--country{fill:#1f5fa8;} + .cs-barrow:hover .cs-bar{fill:${ia.GOLD};} + .cs-barrow.active .cs-bar{fill:${ia.GOLD};} + .cs-barrow.dim{opacity:.4;} + .cs-blabel{fill:#334155;font:600 9px/1 ui-monospace,monospace;} + .cs-bval{fill:#64748b;font:600 8.5px/1 ui-monospace,monospace;dominant-baseline:alphabetic;} + .cs-barrow.active .cs-blabel,.cs-barrow.active .cs-bval{fill:${ia.NAVY};} + + /* histogram */ + .cs-axis{stroke:#cbd5e1;stroke-width:1;} + .cs-histbar{cursor:pointer;transition:opacity .15s;} + .cs-histbar rect{stroke:#fff;stroke-width:.5;} + .cs-histbar:hover rect{stroke:${ia.NAVY};stroke-width:1.5;} + .cs-histbar.active rect{stroke:${ia.GOLD};stroke-width:2;} + .cs-histbar.dim{opacity:.4;} + .cs-hval{fill:#334155;font:700 8px/1 ui-monospace,monospace;} + .cs-hlabel{fill:#64748b;font:600 6.5px/1 ui-monospace,monospace;} + + /* donut */ + .cs-donutwrap{display:flex;align-items:center;gap:8px;} + .cs-donut{flex:0 0 96px;width:96px;height:96px;} + .cs-arc{cursor:pointer;stroke:#fff;stroke-width:1;transition:opacity .15s;} + .cs-arc:hover{stroke:${ia.NAVY};stroke-width:1.5;} + .cs-arc.active{stroke:${ia.GOLD};stroke-width:2.5;} + .cs-arc.dim{opacity:.4;} + .cs-dctr{fill:${ia.NAVY};font:700 16px/1 ui-monospace,monospace;} + .cs-legend{flex:1 1 auto;margin:0;padding:0;list-style:none;max-height:104px;overflow:auto;min-width:0;} + .cs-legend li{display:flex;align-items:center;gap:5px;padding:2px 2px;cursor:pointer;border-radius:4px; + font:600 9.5px/1.3 ui-monospace,monospace;color:#334155;white-space:nowrap;overflow:hidden;} + .cs-legend li:hover{background:#eef2f7;} + .cs-legend li.active{color:${ia.NAVY};font-weight:800;} + .cs-legend li.dim{opacity:.45;} + .cs-legend li i{flex:0 0 auto;width:10px;height:10px;border-radius:3px;border:1px solid rgba(0,0,0,.12);} + .cs-legend li b{margin-left:auto;color:#64748b;} +`,"chartstrip"),(G,S)=>(z(),W("div",l3,[f("div",s3,[f("div",c3,[f("input",{class:"cs-search",type:"search",value:ha(n).search.value,onInput:L,onFocus:S[0]||(S[0]=v=>e.value=!0),onBlur:S[1]||(S[1]=v=>e.value=!1),placeholder:"Search target / language / sender…","aria-label":"Search and brush"},null,40,g3),e.value&&s.value.length?(z(),W("ul",u3,[(z(!0),W(Aa,null,Ua(s.value,(v,K)=>(z(),W("li",{key:K,class:Ia("t-"+v.type),role:"option",onMousedown:Xn(O=>E(v),["prevent"])},[f("span",p3,X(v.type==="target"?"RED":v.type==="lang"?"LANG":"SEND"),1),ya(" "+X(v.label),1)],42,d3))),128))])):fa("",!0)]),f("label",m3,[S[9]||(S[9]=f("span",null,"Lens",-1)),f("select",{value:ha(n).languageLens.value||"",onChange:I,"aria-label":"Language lens"},[S[8]||(S[8]=f("option",{value:""},"— no lens —",-1)),(z(!0),W(Aa,null,Ua(l.value.slice(0,40),v=>(z(),W("option",{key:v.lang,value:v.lang},X(v.lang)+" ("+X(v.count)+") ",9,y3))),128))],40,h3)]),f("div",b3,[S[10]||(S[10]=f("span",null,"Color",-1)),f("button",{class:Ia({on:ha(n).colorBy.value==="pct"}),onClick:S[2]||(S[2]=v=>ha(n).setColorBy("pct"))},"% reached",2),f("button",{class:Ia({on:ha(n).colorBy.value==="religion"}),onClick:S[3]||(S[3]=v=>ha(n).setColorBy("religion"))},"religion",2)])]),f("div",_3,[f("section",f3,[f("header",null,[S[11]||(S[11]=f("h4",null,"Sender language",-1)),ha(n).facets.value.languages.size?(z(),W("button",{key:0,class:"cs-clr",onClick:S[4]||(S[4]=v=>ha(n).facets.value.languages.forEach(K=>ha(n).toggleFacet("languages",K)))},"clear")):fa("",!0)]),_.value.length?(z(),W("svg",{key:0,class:"cs-svg",viewBox:"0 0 "+Ig+" "+d(o.value.languageBar),preserveAspectRatio:"xMinYMin meet",role:"img","aria-label":"Senders by language"},[(z(!0),W(Aa,null,Ua(_.value,v=>(z(),W("g",{key:v.key,class:Ia(["cs-barrow",{active:v.active,dim:v.dim}]),onClick:K=>ha(n).toggleFacet("languages",v.key)},[f("text",{class:"cs-blabel",x:Dt-4,y:v.ty,"text-anchor":"end"},X(t(v.label,13)),9,j3),f("rect",{class:"cs-bar",x:v.x,y:v.y,width:v.w,height:v.h},null,8,k3),f("text",{class:"cs-bval",x:v.vx,y:v.ty},X(v.value),9,G3)],10,C3))),128))],8,P3)):(z(),W("p",v3,"no senders"))]),f("section",A3,[f("header",null,[S[12]||(S[12]=f("h4",null,"Sender country",-1)),ha(n).facets.value.countries.size?(z(),W("button",{key:0,class:"cs-clr",onClick:S[5]||(S[5]=v=>ha(n).facets.value.countries.forEach(K=>ha(n).toggleFacet("countries",K)))},"clear")):fa("",!0)]),k.value.length?(z(),W("svg",{key:0,class:"cs-svg",viewBox:"0 0 "+Ig+" "+d(o.value.countryBar),preserveAspectRatio:"xMinYMin meet",role:"img","aria-label":"Senders by country"},[(z(!0),W(Aa,null,Ua(k.value,v=>(z(),W("g",{key:v.key,class:Ia(["cs-barrow cs-barrow--country",{active:v.active,dim:v.dim}]),onClick:K=>ha(n).toggleFacet("countries",v.key)},[f("text",{class:"cs-blabel",x:Dt-4,y:v.ty,"text-anchor":"end"},X(t(v.label,13)),9,M3),f("rect",{class:"cs-bar cs-bar--country",x:v.x,y:v.y,width:v.w,height:v.h},null,8,I3),f("text",{class:"cs-bval",x:v.vx,y:v.ty},X(v.value),9,w3)],10,E3))),128))],8,S3)):(z(),W("p",x3,"no senders"))]),f("section",T3,[f("header",null,[S[13]||(S[13]=f("h4",null,"% reached (quantile)",-1)),ha(n).facets.value.reachedMin!=null?(z(),W("button",{key:0,class:"cs-clr",onClick:S[6]||(S[6]=v=>ha(n).setReachedMin(null))},"clear")):fa("",!0)]),(z(),W("svg",{class:"cs-svg",viewBox:"0 0 "+Cr+" "+J3,preserveAspectRatio:"xMidYMid meet",role:"img","aria-label":"Reached percent histogram"},[f("line",{class:"cs-axis",x1:jr,y1:Oi,x2:Cr-4,y2:Oi},null,8,L3),(z(!0),W(Aa,null,Ua(x.value,v=>(z(),W("g",{key:v.key,class:Ia(["cs-histbar",{active:v.active,dim:v.dim}]),onClick:K=>D(v)},[f("rect",{x:v.x,y:v.y,width:v.w,height:v.h,fill:v.color},null,8,$3),f("text",{class:"cs-hval",x:v.cx,y:v.y-3,"text-anchor":"middle"},X(v.value),9,F3),f("text",{class:"cs-hlabel",x:v.cx,y:Oi+12,"text-anchor":"middle"},X(v.label),9,K3)],10,R3))),128))],8,N3))]),f("section",B3,[f("header",null,[f("h4",null,X(ha(n).colorBy.value==="religion"?"Religion family":"Bridge type"),1),ha(n).facets.value[r.value].size?(z(),W("button",{key:0,class:"cs-clr",onClick:S[7]||(S[7]=v=>ha(n).facets.value[r.value].forEach(K=>ha(n).toggleFacet(r.value,K)))},"clear")):fa("",!0)]),f("div",O3,[w.value?(z(),W("svg",U3,[(z(!0),W(Aa,null,Ua($.value,v=>(z(),W("path",{key:v.key,class:Ia(["cs-arc",{active:v.active,dim:v.dim}]),d:v.path,fill:v.color,onClick:K=>ha(n).toggleFacet(r.value,v.key)},null,10,H3))),128)),f("text",D3,X(w.value),1)])):fa("",!0),f("ul",z3,[(z(!0),W(Aa,null,Ua($.value,v=>(z(),W("li",{key:v.key,class:Ia({active:v.active,dim:v.dim}),onClick:K=>ha(n).toggleFacet(r.value,v.key)},[f("i",{style:Ka({background:v.color})},null,4),ya(X(t(v.label,16))+" ",1),f("b",null,X(v.value),1)],10,V3))),128))])]),w.value?fa("",!0):(z(),W("p",Y3,"no senders"))])])]))}},a_={class:"cpt-header"},n_={class:"cpt-chips"},e_=["onClick","title"],i_=["value"],t_={class:"cpt-counter"},o_=["title"],r_={class:"cpt-cell map"},l_={class:"cpt-cell flower"},s_={class:"cpt-seg",role:"tablist","aria-label":"Map or flower view"},c_={class:"cpt-lower"},g_={class:"cpt-cell"},u_={class:"cpt-cell"},d_={class:"cpt-legend"},p_={class:"cpt-lg"},m_={class:"cpt-lg"},h_={class:"cpt-ramp"},y_={class:"cpt-lg"},b_={class:"cpt-lg"},__={key:0,class:"cpt-overlay"},f_={key:1,class:"cpt-overlay err"},wg={__name:"bloom-cockpit",setup(a){const n=Ya("profileConfig"),e=Ya("mapboxToken"),i=la(()=>(n==null?void 0:n.value)||{}),t=Tb();vn("cockpitStore",t);const o=ua(null);Rn(()=>{var s,g,d;if(t.loadData({...i.value,tk:(e==null?void 0:e.value)||i.value.tk}),i.value.debugExpose&&typeof window<"u")try{(((d=(g=(s=o.value)==null?void 0:s.getRootNode)==null?void 0:g.call(s))==null?void 0:d.host)||window).__cockpit=t}catch{}});function r(s){t.setSearch(s.target.value)}function l(s){t.setMode(s)}return On(` + .cpt-root { position:absolute; inset:0; display:grid; overflow:hidden; + grid-template-rows: auto minmax(0,1.45fr) minmax(0,1fr) auto; + grid-template-areas: "header" "upper" "lower" "legend"; + background:#eef2f7; color:#1f2937; isolation:isolate; container-type:inline-size; + font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; } + + /* ── HEADER ── */ + .cpt-header { grid-area:header; display:flex; flex-wrap:wrap; gap:8px; align-items:center; + padding:8px 12px; background:${ia.NAVY}; color:#fff; border-bottom:1px solid #001b44; } + .cpt-brand { font:800 12px/1 ui-monospace,monospace; letter-spacing:.05em; text-transform:uppercase; + padding:6px 10px; background:rgba(255,255,255,.1); border-radius:7px; } + .cpt-chips { display:flex; flex-wrap:wrap; gap:5px; align-items:center; } + .cpt-chip { display:inline-flex; align-items:center; gap:5px; font:600 11px/1 -apple-system,sans-serif; + padding:4px 8px; border-radius:999px; background:#fff; color:${ia.NAVY}; cursor:pointer; border:0; } + .cpt-chip.focus { background:${ia.GOLD}; color:#3a2600; } + .cpt-chip .x { font-weight:800; opacity:.6; } + .cpt-chip:hover .x { opacity:1; } + .cpt-search { flex:1 1 180px; min-width:120px; max-width:360px; margin-left:auto; + background:#0e1f44; border:1px solid #284a86; color:#dbe4f3; font:600 12px/1 -apple-system,sans-serif; + padding:7px 11px; border-radius:8px; } + .cpt-search::placeholder { color:#7e90b6; } + .cpt-counter { font:700 11px/1.3 ui-monospace,monospace; color:#cdd9f2; text-align:right; white-space:nowrap; } + .cpt-counter b { color:#fff; } + .cpt-prov { font:600 10px/1.3 ui-monospace,monospace; color:#9fb3d9; background:rgba(0,0,0,.25); + border:1px solid #284a86; border-radius:7px; padding:5px 9px; max-width:280px; } + .cpt-prov.err { color:#fecaca; border-color:#9f1239; } + + /* ── UPPER ROW: map + flower ── */ + .cpt-upper { grid-area:upper; display:grid; grid-template-columns: 58fr 42fr; gap:1px; + background:#cbd5e1; position:relative; min-height:0; } + .cpt-cell { position:relative; overflow:hidden; min-height:0; background:#fff; } + .cpt-seg { position:absolute; top:8px; left:50%; transform:translateX(-50%); z-index:40; + display:inline-flex; background:rgba(255,255,255,.95); border:1px solid #cbd5e1; border-radius:999px; + padding:3px; gap:2px; box-shadow:0 2px 10px rgba(0,0,0,.15); } + .cpt-seg button { border:0; background:transparent; color:#475569; cursor:pointer; + font:700 11px/1 ui-monospace,monospace; padding:6px 12px; border-radius:999px; } + .cpt-seg button.on { background:${ia.NAVY}; color:#fff; } + + /* ── LOWER ROW: charts + list ── */ + .cpt-lower { grid-area:lower; display:grid; grid-template-columns: 42fr 58fr; gap:1px; + background:#cbd5e1; min-height:0; } + + /* ── LEGEND RIBBON ── */ + .cpt-legend { grid-area:legend; display:flex; flex-wrap:wrap; gap:6px 16px; align-items:center; + padding:6px 12px; background:#0e1730; color:#cdd9f2; font:600 10px/1.4 ui-monospace,monospace; + border-top:1px solid #1c2742; } + .cpt-lg { display:inline-flex; align-items:center; gap:6px; } + .cpt-sw { width:12px; height:12px; border-radius:50%; flex:0 0 auto; border:1px solid rgba(255,255,255,.3); } + .cpt-line { width:18px; height:0; border-top:2px solid; flex:0 0 auto; } + .cpt-ramp { display:inline-flex; gap:0; } + .cpt-ramp i { width:13px; height:11px; display:inline-block; } + + /* ── loading / error overlay ── */ + .cpt-overlay { position:absolute; inset:0; z-index:80; display:flex; align-items:center; + justify-content:center; background:rgba(238,242,247,.92); color:${ia.NAVY}; + font:600 13px/1.5 ui-monospace,monospace; text-align:center; padding:24px; } + .cpt-overlay.err { color:${ia.RED_DK}; } + + /* ── responsive: stack the two cells per row on narrow frames ── */ + @container (max-width: 720px) { + .cpt-upper { grid-template-columns: 1fr; grid-template-rows: 1fr; } + .cpt-upper .cpt-cell.flower { display:none; } + .cpt-upper.flower-mode .cpt-cell.map { display:none; } + .cpt-upper.flower-mode .cpt-cell.flower { display:block; } + .cpt-lower { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; } + .cpt-prov { display:none; } + } +`,"cockpit-shell"),(s,g)=>(z(),W("div",{ref_key:"rootEl",ref:o,class:"cpt-root"},[f("div",a_,[g[4]||(g[4]=f("span",{class:"cpt-brand"},"My UPG Neighbor · Overview",-1)),f("div",n_,[(z(!0),W(Aa,null,Ua(ha(t).chips.value,(d,_)=>(z(),W("button",{key:_,class:Ia(["cpt-chip",{focus:d.kind==="focus"}]),onClick:k=>ha(t).removeChip(d),title:"remove "+d.label},[ya(X(d.label)+" ",1),g[2]||(g[2]=f("span",{class:"x"},"×",-1))],10,e_))),128))]),f("input",{class:"cpt-search",type:"search",value:ha(t).search.value,onInput:r,placeholder:"Search target / sender / language…","aria-label":"Search"},null,40,i_),f("span",t_,[f("b",null,X(ha(t).counts.value.senders.toLocaleString()),1),g[3]||(g[3]=ya(" senders → ",-1)),f("b",null,X(ha(t).counts.value.clusters.toLocaleString()),1),ya(" clusters · "+X(ha(t).counts.value.hidden)+" hidden ",1)]),f("span",{class:Ia(["cpt-prov",{err:ha(t).provenance.value.apiError}]),title:ha(t).provenance.value.reachedFilter},[ha(t).provenance.value.apiError?(z(),W(Aa,{key:0},[ya(X(ha(t).provenance.value.apiError),1)],64)):(z(),W(Aa,{key:1},[ya(" LIVE "+X(ha(t).provenance.value.liveUnreached.toLocaleString())+" unreached · baked senders "+X(ha(t).provenance.value.bakedGenerated),1)],64))],10,o_)]),f("div",{class:Ia(["cpt-upper",{"flower-mode":ha(t).mode.value==="flower"}])},[f("div",r_,[Wa(Xb)]),f("div",l_,[Wa(G1)]),f("div",s_,[f("button",{class:Ia({on:ha(t).mode.value==="map"}),onClick:g[0]||(g[0]=d=>l("map"))},"MAP",2),f("button",{class:Ia({on:ha(t).mode.value==="flower"}),onClick:g[1]||(g[1]=d=>l("flower"))},"FLOWER",2)])],2),f("div",c_,[f("div",g_,[Wa(Q3)]),f("div",u_,[Wa(r3)])]),f("div",d_,[f("span",p_,[f("span",{class:"cpt-sw",style:Ka({background:ha(ia).RED})},null,4),g[5]||(g[5]=ya(" unreached target",-1))]),f("span",m_,[g[6]||(g[6]=ya("reached % ",-1)),f("span",h_,[(z(!0),W(Aa,null,Ua(ha(ia).GREEN_BINS,(d,_)=>(z(),W("i",{key:_,style:Ka({background:d})},null,4))),128))])]),f("span",y_,[f("span",{class:"cpt-line",style:Ka({borderColor:ha(ia).NAVY})},null,4),g[7]||(g[7]=ya(" SEND (solid=same-lang · dashed=cluster · dotted=in-country)",-1))]),f("span",b_,[f("span",{class:"cpt-sw",style:Ka({background:ha(ia).GOLD})},null,4),g[8]||(g[8]=ya(" selection · pop = log radius · Luke 10:2",-1))])]),ha(t).ready.value?ha(t).loadError.value&&!ha(t).allClusters.value.length?(z(),W("div",f_,X(ha(t).loadError.value),1)):fa("",!0):(z(),W("div",__,"Loading the harvest field…"))],512))}},P_=Object.freeze(Object.defineProperty({__proto__:null,default:wg},Symbol.toStringTag,{value:"Module"})),C_={class:"fm-top"},j_=["value"],k_=["value"],G_=["aria-checked"],v_={key:1,class:"fm-stats"},A_={class:"fm-stage"},S_={key:0,class:"fm-loading"},E_={key:1,class:"fm-loading"},M_=["viewBox"],I_=["cx","cy","fill","transform"],w_=["x1","y1","x2","y2","stroke-dasharray"],x_=["d"],T_=["onClick","onMouseenter"],N_=["cx","cy","r","fill"],L_=["x","y"],R_=["r"],$_=["y"],F_=["y"],K_=["y"],B_={key:3,class:"fm-legend"},O_={class:"fm-lrow"},U_={class:"fm-lrow"},H_={class:"fm-footer"},D_=["innerHTML"],kr="#FF6600",z_="#002e6e",V_="#0b1020",zt=1e3,xg=205,Gr=360,Tg=46,Ng={__name:"flower-mesh",setup(a){function n(c){const P=+c||0;return P>=80?"#0f7a3d":P>=40?"#1f9d55":P>=15?"#5cb874":"#9bcf9b"}const e=Ya("profileConfig");Ya("dataSource",null);const i=la(()=>(e==null?void 0:e.value)||{}),t=ua(null),o=ua(!1),r=ua(""),l=ua(i.value.target??"India"),s=ua(!0),g=ua(null),d=ua(null),_=ua({show:!1,x:0,y:0,html:""}),k=zt/2,x=zt/2;function D(c,P,p,M){const N=(M-90)*Math.PI/180;return[c+p*Math.cos(N),P+p*Math.sin(N)]}function T(c){const P=Math.max(0,+c||0);return Math.max(7,Math.min(22,6+Math.sqrt(P)/320))}function $(c){return String(c||"").trim().toLowerCase()}const w=la(()=>t.value?Object.keys(t.value.countries):[]),L=la(()=>{var c,P;return((P=(c=t.value)==null?void 0:c.countries)==null?void 0:P[l.value])??null}),E=la(()=>{const c=L.value;return c?(c.neighbors||[]).map((P,p)=>({...P,_i:p})):[]}),I=la(()=>E.value.filter(c=>c.adjacency==="same-country")),G=la(()=>E.value.filter(c=>c.adjacency!=="same-country")),S=la(()=>{const c=[],P=(p,M,N)=>{const U=p.length;p.forEach((h,C)=>{const y=U?(C+.5)/U*360+N:0,[R,H]=D(k,x,M,y);c.push({id:"n"+h._i,node:h,x:R,y:H,ang:y,r:T(h.pop),color:n(h.pct_christian),ring:M===xg?"inner":"outer"})})};return P(I.value,xg,0),P(G.value,Gr,G.value.length?180/G.value.length:0),c}),v=la(()=>S.value.map(c=>({id:"s-"+c.id,x1:k,y1:x,x2:c.x,y2:c.y,strong:c.node.bridge==="same-language",to:c.id}))),K=la(()=>{if(!s.value)return[];const c=S.value,P=[];for(let p=0;pS.value.filter(c=>c.ring==="outer").map(c=>({id:"p-"+c.id,cx:D(k,x,Gr-6,c.ang)[0],cy:D(k,x,Gr-6,c.ang)[1],rot:c.ang,color:c.color}))),q=la(()=>{const c=L.value,P=d.value;return{name:l.value,upg:(P==null?void 0:P.upg)??(c==null?void 0:c.target_upg)??0,pop:(P==null?void 0:P.pop)??(c==null?void 0:c.target_pop)??0,religion:(c==null?void 0:c.target_top_religion)??"",langs:(c==null?void 0:c.target_top_langs)??[]}}),sa=la(()=>({total:E.value.length,inner:I.value.length,outer:G.value.length,countries:new Set(E.value.map(c=>c.country)).size,meshes:K.value.length}));function ea(c){return g.value?c.from===g.value||c.to===g.value:!0}function ga(c){return g.value?c.to===g.value:!0}function Sa(c){return!g.value||c.id===g.value?!0:K.value.some(P=>P.from===g.value&&P.to===c.id||P.to===g.value&&P.from===c.id)}const Ma=c=>(+c||0).toLocaleString();function ma(c){const P=+c||0;return P>=1e9?(P/1e9).toFixed(1)+"B":P>=1e6?(P/1e6).toFixed(1)+"M":P>=1e3?(P/1e3).toFixed(0)+"K":String(P)}function pa(c,P){const p=c.node,M=p.province||p.segment;_.value={show:!0,x:P.clientX,y:P.clientY,html:`${u(p.name)}
${u(p.country)}${M?" · "+u(M):""}
reached ${Math.round(p.pct_christian||0)}% Christian
language ${u(p.lang||"—")}
people ${ma(p.pop)}
bridge ${u(p.bridge||"—")}
near ${u(p.adjacency||"—")}
`}}function Y(c){_.value.show&&(_.value.x=c.clientX,_.value.y=c.clientY)}function ta(){_.value={..._.value,show:!1}}function aa(c){g.value=g.value===c.id?null:c.id}function ba(){g.value=null}function na(c){l.value=c.target.value,g.value=null}function u(c){return String(c??"").replace(/[&<>"']/g,P=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[P])}async function A(){const c=i.value.dataUrl;if(c)try{const P=await fetch(c);if(P.ok)return await P.json()}catch{}return ee}async function j(){const c=i.value.apiBase||typeof window<"u"&&(window.MAP_APP_API_URL||window.VITE_API_BASE_URL);if(c)try{const P=await fetch(c.replace(/\/?$/,"")+"/api/people-groups/statistics");if(P.ok){const p=await P.json();p&&typeof p.total=="number"&&(d.value=null)}}catch{}}return Rn(async()=>{if(t.value=await A(),!t.value){r.value="Could not load reached-neighbors.json",o.value=!0;return}w.value.includes(l.value)||(l.value=w.value[0]||l.value),o.value=!0,j()}),On(` + .fm-root { position:absolute; inset:0; display:flex; flex-direction:column; overflow:hidden; + background:radial-gradient(circle at 50% 42%, #16203a 0%, ${V_} 70%); color:#e5e7eb; + isolation:isolate; font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; } + + /* top bar */ + .fm-top { position:absolute; top:12px; left:12px; right:12px; z-index:30; + display:flex; flex-wrap:wrap; gap:8px; align-items:center; pointer-events:none; } + .fm-top > * { pointer-events:auto; } + .fm-title { background:${z_}; color:#fff; font:700 12px/1 ui-monospace,monospace; + letter-spacing:.05em; text-transform:uppercase; padding:9px 13px; border-radius:9px; + box-shadow:0 2px 10px rgba(0,0,0,.4); } + .fm-select { background:#0e1730; border:1px solid #2b3b63; color:#dbe4f3; + font:600 12px/1 -apple-system,sans-serif; padding:8px 11px; border-radius:9px; cursor:pointer; max-width:240px; } + .fm-toggle { background:#0e1730; border:1px solid #2b3b63; color:#9fb3d9; + font:600 11px/1 ui-monospace,monospace; padding:8px 11px; border-radius:9px; cursor:pointer; + display:inline-flex; align-items:center; gap:7px; user-select:none; } + .fm-toggle.on { color:#fff; border-color:#3f7bd6; background:#13224a; } + .fm-toggle .fm-sw { width:9px; height:9px; border-radius:50%; background:#3f7bd6; opacity:.35; } + .fm-toggle.on .fm-sw { opacity:1; } + .fm-stats { margin-left:auto; font:600 11px/1.5 ui-monospace,monospace; color:#9fb3d9; + background:rgba(8,12,24,.7); border:1px solid #1c2742; border-radius:9px; padding:7px 11px; text-align:right; } + .fm-stats b { color:#fff; } + + /* canvas */ + .fm-stage { flex:1 1 0; position:relative; } + .fm-svg { position:absolute; inset:0; width:100%; height:100%; display:block; } + + .fm-loading { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; + color:#9fb3d9; font:13px/1 ui-monospace,monospace; z-index:5; } + + /* svg node + link styling driven by classes */ + .fm-spoke { stroke:#3a4f86; stroke-width:1.4; fill:none; opacity:.5; transition:opacity .15s; } + .fm-spoke.strong { stroke:#5b7fd0; stroke-width:2; opacity:.7; } + .fm-spoke.dim { opacity:.06; } + .fm-mesh { stroke:#ffae66; stroke-width:1.3; fill:none; opacity:.5; stroke-linecap:round; transition:opacity .15s; } + .fm-mesh.lit { opacity:.92; stroke-width:2; } + .fm-mesh.dim { opacity:.05; } + .fm-petal { opacity:.13; transition:opacity .15s; } + .fm-petal.dim { opacity:.04; } + .fm-node { cursor:pointer; transition:opacity .15s; } + .fm-node.dim { opacity:.18; } + .fm-node circle { stroke:#0b1020; stroke-width:2; } + .fm-node.sel circle { stroke:#ffffff; stroke-width:3; } + .fm-node-label { fill:#cdd9f2; font:600 12px/1 -apple-system,sans-serif; paint-order:stroke; + stroke:#0b1020; stroke-width:3px; text-anchor:middle; pointer-events:none; } + .fm-center-glow { fill:${kr}; opacity:.16; } + .fm-center circle { fill:${kr}; stroke:#ffd9bd; stroke-width:3; } + .fm-center-name { fill:#fff; font:800 19px/1 -apple-system,sans-serif; text-anchor:middle; + paint-order:stroke; stroke:#7a2e00; stroke-width:3px; } + .fm-center-sub { fill:#ffe1cb; font:600 11px/1 ui-monospace,monospace; text-anchor:middle; } + + /* legend */ + .fm-legend { position:absolute; left:12px; bottom:38px; z-index:25; background:rgba(8,12,24,.82); + border:1px solid #1c2742; border-radius:10px; padding:10px 12px; max-width:230px; + box-shadow:0 4px 16px rgba(0,0,0,.45); } + .fm-legend h4 { font:700 9px/1 ui-monospace,monospace; letter-spacing:.12em; text-transform:uppercase; + color:#7e90b6; margin-bottom:8px; } + .fm-lrow { display:flex; align-items:center; gap:8px; padding:3px 0; font-size:11px; color:#c4d0e8; } + .fm-dot { width:12px; height:12px; border-radius:50%; flex:0 0 auto; } + .fm-line { width:18px; height:0; border-top:2px solid; flex:0 0 auto; } + + /* footer provenance (honesty contract) */ + .fm-footer { position:absolute; left:0; right:0; bottom:0; z-index:20; background:rgba(8,12,24,.86); + color:#8fa2c8; font:10px/1.4 ui-monospace,monospace; padding:6px 12px; + display:flex; flex-wrap:wrap; gap:3px 14px; align-items:center; border-top:1px solid #1c2742; } + .fm-footer b { color:#dbe4f3; } + + /* tooltip */ + .fm-tip { position:fixed; z-index:60; pointer-events:none; max-width:240px; + background:#0e1730; border:1px solid #34508c; border-radius:9px; padding:9px 11px; + box-shadow:0 6px 22px rgba(0,0,0,.55); font-size:11.5px; color:#dbe4f3; } + .fm-tip strong { font-size:13px; color:#fff; } + .fm-tip-sub { color:#ffae66; font:600 10px/1.3 ui-monospace,monospace; margin:2px 0 6px; } + .fm-tip-row { display:flex; gap:6px; line-height:1.5; } + .fm-tip-k { color:#7e90b6; min-width:56px; } + + @media (max-width:720px) { + .fm-stats { display:none; } + .fm-legend { max-width:170px; } + } +`,"flower-mesh"),(c,P)=>{var p,M,N,U,h,C;return z(),W("div",{class:"fm-root",onMousemove:Y},[f("div",C_,[P[9]||(P[9]=f("span",{class:"fm-title"},"My UPG Neighbor · Flower-Mesh",-1)),w.value.length?(z(),W("select",{key:0,class:"fm-select",value:l.value,onChange:na,"aria-label":"Select unreached target country"},[(z(!0),W(Aa,null,Ua(w.value,y=>(z(),W("option",{key:y,value:y},X(y),9,k_))),128))],40,j_)):fa("",!0),f("span",{class:Ia(["fm-toggle",{on:s.value}]),role:"switch","aria-checked":s.value,tabindex:"0",onClick:P[0]||(P[0]=y=>s.value=!s.value),onKeydown:[P[1]||(P[1]=Ys(Xn(y=>s.value=!s.value,["prevent"]),["enter"])),P[2]||(P[2]=Ys(Xn(y=>s.value=!s.value,["prevent"]),["space"]))]},[...P[3]||(P[3]=[f("span",{class:"fm-sw"},null,-1),ya(" language mesh ",-1)])],42,G_),L.value?(z(),W("span",v_,[f("b",null,X(sa.value.total),1),P[4]||(P[4]=ya(" reached neighbors · ",-1)),f("b",null,X(sa.value.countries),1),P[5]||(P[5]=ya(" countries",-1)),P[6]||(P[6]=f("br",null,null,-1)),f("b",null,X(Ma(q.value.upg)),1),P[7]||(P[7]=ya(" UPGs in center · ",-1)),f("b",null,X(sa.value.meshes),1),P[8]||(P[8]=ya(" mesh links ",-1))])):fa("",!0)]),f("div",A_,[o.value?r.value?(z(),W("div",E_,X(r.value),1)):(z(),W("svg",{key:2,class:"fm-svg",viewBox:`0 0 ${zt} ${zt}`,preserveAspectRatio:"xMidYMid meet",onClick:ba},[f("g",null,[(z(!0),W(Aa,null,Ua(O.value,y=>(z(),W("ellipse",{key:y.id,class:Ia(["fm-petal",{dim:g.value}]),cx:y.cx,cy:y.cy,rx:"78",ry:"40",fill:y.color,transform:`rotate(${y.rot} ${y.cx} ${y.cy})`},null,10,I_))),128))]),f("g",null,[(z(!0),W(Aa,null,Ua(v.value,y=>(z(),W("line",{key:y.id,class:Ia(["fm-spoke",{strong:y.strong,dim:!ga(y)}]),x1:y.x1,y1:y.y1,x2:y.x2,y2:y.y2,"stroke-dasharray":y.strong?"0":"5 5"},null,10,w_))),128))]),f("g",null,[(z(!0),W(Aa,null,Ua(K.value,y=>(z(),W("path",{key:y.id,class:Ia(["fm-mesh",{lit:ea(y)&&g.value,dim:g.value&&!ea(y)}]),d:y.d},null,10,x_))),128))]),f("g",null,[(z(!0),W(Aa,null,Ua(S.value,y=>(z(),W("g",{key:y.id,class:Ia(["fm-node",{dim:!Sa(y),sel:y.id===g.value}]),onClick:Xn(R=>aa(y),["stop"]),onMouseenter:R=>pa(y,R),onMouseleave:ta},[f("title",null,X(y.node.name)+" — "+X(Math.round(y.node.pct_christian||0))+"% Christian, "+X(y.node.lang),1),f("circle",{cx:y.x,cy:y.y,r:y.r,fill:y.color},null,8,N_),y.r>=9||y.id===g.value?(z(),W("text",{key:0,class:"fm-node-label",x:y.x,y:y.y+y.r+14},X(y.node.name),9,L_)):fa("",!0)],42,T_))),128))]),f("g",{class:"fm-center",onClick:Xn(ba,["stop"]),style:{cursor:"default"}},[f("circle",{class:"fm-center-glow",cx:k,cy:x,r:Tg+26},null,8,R_),f("circle",{cx:k,cy:x,r:Tg}),f("text",{class:"fm-center-name",x:k,y:x-2},X(q.value.name),9,$_),f("text",{class:"fm-center-sub",x:k,y:x+16},X(Ma(q.value.upg))+" UPGs",9,F_),f("text",{class:"fm-center-sub",x:k,y:x+30,style:{opacity:".85"}},X(ma(q.value.pop))+" people",9,K_)])],8,M_)):(z(),W("div",S_,"Growing the flower…")),o.value&&!r.value?(z(),W("div",B_,[P[12]||(P[12]=f("h4",null,"The flower",-1)),f("div",O_,[f("span",{class:"fm-dot",style:Ka({background:kr})},null,4),P[10]||(P[10]=ya(" Unreached target (unreached-2000)",-1))]),f("div",U_,[f("span",{class:"fm-dot",style:Ka({background:n(90)})},null,4),P[11]||(P[11]=ya(" Reached neighbor (deeper = more Christian)",-1))]),P[13]||(P[13]=As('
SEND path → into the unreached
via related language cluster
Same-language collaboration mesh
inner whorl = same country · petals = surrounding countries
',4))])):fa("",!0)]),f("div",H_,[P[14]||(P[14]=f("span",null,[f("b",null,"Flower-Mesh"),ya(" reached neighbor → unreached center")],-1)),P[15]||(P[15]=f("span",null,"center = unreached-2000 (live UPG data)",-1)),f("span",null,"neighbors = baked "+X(((M=(p=t.value)==null?void 0:p.meta)==null?void 0:M.generated)||"2026-06-12")+" (≥"+X(((U=(N=t.value)==null?void 0:N.meta)==null?void 0:U.threshold_pct_christian)||10)+"% Christian, "+X(((C=(h=t.value)==null?void 0:h.meta)==null?void 0:C.adjacency_km)||1500)+" km)",1),P[16]||(P[16]=f("span",null,"province N/A in source — finest grain = country (see RE)",-1)),P[17]||(P[17]=f("span",null,"Luke 10:2 · send laborers into the harvest",-1))]),_.value.show?(z(),W("div",{key:0,class:"fm-tip",style:Ka({left:_.value.x+14+"px",top:_.value.y+14+"px"}),innerHTML:_.value.html},null,12,D_)):fa("",!0)],32)}}},Y_=Object.freeze(Object.defineProperty({__proto__:null,default:Ng},Symbol.toStringTag,{value:"Module"})),W_={key:0,class:"lc-loading"},J_={class:"lc-top"},Z_={key:0,class:"lc-stats"},q_={key:1,class:"lc-legend"},X_={class:"lc-lrow"},Q_={class:"lc-lrow"},a5={key:2,class:"lc-panel"},n5={class:"lc-panel-head"},e5={class:"lc-h-lang"},i5={class:"lc-h-sub"},t5={class:"lc-panel-body"},o5={class:"lc-sec"},r5={key:0,class:"lc-chip"},l5={class:"lc-sec",style:{"margin-top":"10px"}},s5={key:1,class:"lc-muted"},c5={class:"lc-re-name"},g5={class:"lc-re-meta"},u5={key:3,class:"lc-footer"},d5=["innerHTML"],Vt="#e11d48",Ui="#9f1239",Yt="#002e6e",vr="#f59e0b",Ar="lc-clusters-src",Lg="lc-pins-src",Sr="lc-reached-src",Er="lc-links-src",xe="lc-clusters",Rg="lc-cluster-labels",$g="lc-pins",Mr="lc-reached",Fg="lc-links",Kg={__name:"lang-cluster",setup(a){function n(c){const P=+c||0;return P>=80?"#0f7a3d":P>=40?"#1f9d55":P>=15?"#5cb874":"#9bcf9b"}const e=Ya("profileConfig"),i=Ya("mapboxToken"),t=Ya("instanceId",null),o=la(()=>(e==null?void 0:e.value)||{});t!=null&&t.value||t||""+Date.now().toString(36)+Math.random().toString(36).slice(2,8);const r=ua(null),l=ua(null),s=ua(!1),g=ua("Loading people groups…"),d=ua([]),_=ua([]),k=ua(null),x=ua({show:!1,x:0,y:0,html:""}),D={India:[79,22],Pakistan:[69.3,30],Indonesia:[113,-1],Bangladesh:[90.3,23.7],China:[104,35],Japan:[138,37],Iran:[53,32],"Türkiye (Turkey)":[35,39],Egypt:[30,26.5],Nigeria:[8,9.5],Thailand:[101,15],Sudan:[30,15.5],Algeria:[3,28],Iraq:[44,33],"Myanmar (Burma)":[96,21],Afghanistan:[66,34],Yemen:[47.5,15.5],Morocco:[-6,32],Uzbekistan:[64,41.5],"Saudi Arabia":[45,24],Ethiopia:[39.5,9],Niger:[9,17.5],"Korea, North":[127,40],Nepal:[84,28.2],Mali:[-3.5,17],Somalia:[46.5,5.5],Malaysia:[108,3.5],Russia:[90,60],Cambodia:[105,12.7],Kazakhstan:[67,48],Senegal:[-14.5,14.5],"United States":[-98,39],Guinea:[-11,10.5],Tunisia:[9.5,34],Chad:[19,15.5],Tajikistan:[71,38.7],Jordan:[36.5,31],Azerbaijan:[47.5,40.3],Vietnam:[106,16],Israel:[35,31.3],Armenia:[45,40.2],Austria:[14.5,47.5],Bahrain:[50.6,26],Brunei:[114.7,4.5],Bulgaria:[25.5,42.7],"Burkina Faso":[-1.7,12.3],Cameroon:[12.5,6],Canada:[-106,56],"Cape Verde":[-23.6,16],"China, Hong Kong":[114.2,22.3],"China, Macau":[113.5,22.2],Cyprus:[33.2,35.1],"Côte d'Ivoire":[-5.5,7.5],Eritrea:[39,15.3],France:[2.5,47],Georgia:[43.5,42],Ghana:[-1,7.9],Greece:[22,39],"Guinea-Bissau":[-15,12],Italy:[12.5,42.5],Kenya:[38,.2],"Korea, South":[128,36.5],Kuwait:[47.7,29.3],Kyrgyzstan:[74.5,41.3],Lebanon:[35.8,33.9],Liberia:[-9.4,6.5],Moldova:[28.5,47.2],Oman:[56,21],Portugal:[-8,39.5],Qatar:[51.2,25.3],Serbia:[21,44],"Sierra Leone":[-11.8,8.5],Singapore:[103.8,1.35],"South Sudan":[31,7.5],Spain:[-3.7,40.3],Switzerland:[8.2,46.8],Syria:[38,35],Tanzania:[35,-6.3],Togo:[1,8.6],Turkmenistan:[59,39],Uganda:[32.5,1.4],Ukraine:[31,49],"United Arab Emirates":[54,24]};function T(c,P){const p=D[c];if(!p)return null;let M=0;const N=String(P||"");for(let U=0;U>8&255)/255-.5)*4]}const $=c=>String(c||"").trim().toLowerCase(),{map:w,initializeMap:L,destroy:E}=Kt({containerRef:l,accessToken:(i==null?void 0:i.value)||o.value.tk||"",style:o.value.style??"mapbox://styles/mapbox/light-v11",center:o.value.center??[55,22],zoom:o.value.zoom??1.7,minZoom:o.value.minZoom??1,maxZoom:o.value.maxZoom??12}),I=la(()=>{const c=d.value,P=new Set(c.filter(M=>M.scope==="province").map(M=>M.province)),p=new Set(c.map(M=>M.lang));return{clusters:c.length,pgs:c.reduce((M,N)=>M+N.count,0),provinces:P.size,langs:p.size,withReach:c.filter(M=>M.reached.length).length}}),G=la(()=>d.value.find(c=>c.key===k.value)||null);function S(c){return c&&typeof c=="object"?c.label??c.value??"":c??""}function v(c){return c&&typeof c=="object"?c.value??c.label??"":c??""}const K={"People's Republic of China":"China","Lao People’s Democratic Republic":"Laos","Lao People's Democratic Republic":"Laos"};function O(c){return K[c]||c}function q(c,P){const p=new Map;for(const N of c){const U=Number(N.latitude),h=Number(N.longitude),C=S(N.primary_language)||"(unknown language)",y=O(S(N.country_code)||"(unknown)"),R=N.slug||v(N.primary_language)+":"+N.name,H=P[R]||null,V=H?"province":"country",oa=H||y,Q=C+" · "+oa+(H?" ("+y+")":"");let m=p.get(Q);m||(m={key:Q,lang:C,rol3:v(N.primary_language)||"",country:y,province:H,scope:V,scopeName:oa,count:0,_sumLat:0,_sumLng:0,_n:0,members:[],reached:[]},p.set(Q,m)),m.count++,m.members.push({name:N.name,slug:R,lang:C,country:y}),isFinite(U)&&isFinite(h)&&(m._sumLat+=U,m._sumLng+=h,m._n++)}const M=[];for(const N of p.values())N._n&&(N.lat=N._sumLat/N._n,N.lng=N._sumLng/N._n,delete N._sumLat,delete N._sumLng,delete N._n,M.push(N));return M.sort((N,U)=>U.count-N.count),M}function sa(c,P){const p=new Set(P.map(y=>y.rol3).filter(Boolean)),M=new Set(P.map(y=>$(y.lang))),N=new Set,U=[],h=new Map,C=new Map;for(const y of Object.values(c.countries||{}))for(const R of y.neighbors||[]){const H=$(R.lang),V=R.rol3||"";if(!(V&&p.has(V))&&!M.has(H))continue;const Q=R.name+"|"+R.country+"|"+(V||H);if(N.has(Q))continue;N.add(Q);const m=Number(R.lng)&&Number(R.lat)?[Number(R.lng),Number(R.lat)]:T(R.country,Q);if(!m)continue;const b={name:R.name,country:R.country,lang:R.lang,rol3:V,lk:H,pct:R.pct_christian||0,pop:R.pop||0,lng:m[0],lat:m[1]};U.push(b),V&&(h.has(V)||h.set(V,[]),h.get(V).push(b)),C.has(H)||C.set(H,[]),C.get(H).push(b)}for(const y of P){const R=y.rol3?h.get(y.rol3)||[]:[],H=C.get($(y.lang))||[];y.reached=R.length&&H.length?[...new Set([...R,...H])]:R.length?R:H}return U}const ea=c=>({type:"FeatureCollection",features:c});function ga(){return ea(d.value.map(c=>({type:"Feature",geometry:{type:"Point",coordinates:[c.lng,c.lat]},properties:{key:c.key,lang:c.lang,count:c.count,scope:c.scope,hasReach:c.reached.length>0,label:c.lang+" ("+c.count+")"}})))}function Sa(){var P;const c=[];for(const p of d.value)for(const M of p.members){const U=T(p.country,M.slug)||[p.lng,p.lat];c.push({type:"Feature",geometry:{type:"Point",coordinates:[p.lng+(U[0]-(((P=D[p.country])==null?void 0:P[0])??U[0]))*.15,p.lat]},properties:{key:p.key}})}return ea(c)}function Ma(){const c=G.value,P=c&&c.rol3||"",p=c?$(c.lang):null;return ea(_.value.map(M=>({type:"Feature",geometry:{type:"Point",coordinates:[M.lng,M.lat]},properties:{name:M.name,country:M.country,lang:M.lang,pct:M.pct,color:n(M.pct),matched:c?P&&M.rol3===P||!!p&&M.lk===p:!1}})))}function ma(){const c=G.value;return ea(c?c.reached.map(P=>({type:"Feature",geometry:{type:"LineString",coordinates:[[c.lng,c.lat],[P.lng,P.lat]]},properties:{}})):[])}function pa(c,P,p){const M=c.getSource(P);M?M.setData(p):c.addSource(P,{type:"geojson",data:p})}function Y(){var P;const c=w.value;!c||!((P=c.isStyleLoaded)!=null&&P.call(c))||(pa(c,Er,ma()),pa(c,Lg,Sa()),pa(c,Sr,Ma()),pa(c,Ar,ga()),c.getLayer(Fg)||c.addLayer({id:Fg,type:"line",source:Er,paint:{"line-color":vr,"line-width":1.1,"line-opacity":.5,"line-dasharray":[2,2]}}),c.getLayer($g)||c.addLayer({id:$g,type:"circle",source:Lg,minzoom:3.6,paint:{"circle-radius":["interpolate",["linear"],["zoom"],3.6,1.6,8,4],"circle-color":Vt,"circle-opacity":.5}}),c.getLayer(Mr)||c.addLayer({id:Mr,type:"circle",source:Sr,paint:{"circle-radius":["case",["get","matched"],4.5,["interpolate",["linear"],["zoom"],1,2,6,3.5]],"circle-color":["get","color"],"circle-stroke-width":["case",["get","matched"],1.5,.5],"circle-stroke-color":["case",["get","matched"],vr,"#ffffff"],"circle-opacity":["case",["boolean",["feature-state","dim"],!1],.15,["case",["get","matched"],.95,.6]]}}),c.getLayer(xe)||c.addLayer({id:xe,type:"circle",source:Ar,paint:{"circle-radius":["interpolate",["linear"],["get","count"],1,7,25,16,80,26,130,34],"circle-color":Vt,"circle-opacity":["case",["==",["get","key"],["literal",""]],.6,.55],"circle-stroke-width":["case",["get","hasReach"],2.4,1],"circle-stroke-color":["case",["get","hasReach"],n(80),Ui]}}),c.getLayer(Rg)||c.addLayer({id:Rg,type:"symbol",source:Ar,minzoom:2.6,layout:{"text-field":["get","label"],"text-size":11,"text-offset":[0,1.3],"text-anchor":"top","text-allow-overlap":!1,"text-optional":!0},paint:{"text-color":Ui,"text-halo-color":"#ffffff","text-halo-width":1.4}}),ta())}function ta(){const c=w.value;!c||!c.getLayer(xe)||(c.setPaintProperty(xe,"circle-stroke-color",k.value?["case",["==",["get","key"],k.value],vr,["case",["get","hasReach"],n(80),Ui]]:["case",["get","hasReach"],n(80),Ui]),c.setPaintProperty(xe,"circle-stroke-width",k.value?["case",["==",["get","key"],k.value],4,["case",["get","hasReach"],2.4,1]]:["case",["get","hasReach"],2.4,1]))}function aa(c){k.value=k.value===c?null:c;const P=w.value;P&&(pa(P,Sr,Ma()),pa(P,Er,ma()),ta());const p=G.value;if(p&&P)try{let M=p.lng,N=p.lng,U=p.lat,h=p.lat;for(const C of p.reached)M=Math.min(M,C.lng),N=Math.max(N,C.lng),U=Math.min(U,C.lat),h=Math.max(h,C.lat);P.stop(),M===N&&U===h?P.easeTo({center:[p.lng,p.lat],zoom:4,duration:800}):P.fitBounds([[M,U],[N,h]],{padding:110,maxZoom:5.5,duration:800})}catch{}}function ba(){const c=G.value;if(!c)return;const P={target:c.country,language:c.lang,province:c.province||null,scope:c.scope,clusterKey:c.key};try{const M=r.value&&r.value.getRootNode&&r.value.getRootNode().host||r.value;M&&M.dispatchEvent(new CustomEvent("upgn:drill-flower",{bubbles:!0,composed:!0,detail:P}))}catch{}}function na(c){return String(c??"").replace(/[&<>"']/g,P=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[P])}function u(c){x.value.show&&(x.value.x=c.clientX,x.value.y=c.clientY)}async function A(c){for(const P of c)try{const p=await fetch(P);if(p.ok)return await p.json()}catch{}return null}async function j(){const c=o.value.apiBase||typeof window<"u"&&(window.MAP_APP_API_URL||window.VITE_API_BASE_URL);if(!c)throw new Error("No API base configured (apiBase / window.MAP_APP_API_URL / VITE_API_BASE_URL) — failing closed, no default host.");const p=c.replace(/\/?$/,"")+"/api/people-groups/list?fields="+"slug,name,latitude,longitude,country_code,primary_language,wagf_block,population"+"&lang=en",M=await fetch(p,{cache:"no-store"});if(!M.ok)throw new Error("list "+M.status);const N=await M.json();return N.posts||N.data||N.records||N.results||N.items||(Array.isArray(N)?N:[])}return Rn(async()=>{var C,y,R;await L();const c=w.value;try{c&&c.setProjection("mercator")}catch{}const P=o.value.dataBase||typeof window<"u"&&window.MAP_APP_BASE_URL||"",p=H=>P?P.replace(/\/?$/,"/")+"data/"+H:null,M=await A([o.value.adminUrl,p("admin1-membership.json")].filter(Boolean))||fg||{},N=await A([o.value.dataUrl,p("reached-neighbors.json")].filter(Boolean))||ee||{countries:{}};let U=[];try{U=await j()}catch(H){g.value="Live API unreachable — "+H.message,s.value=!0;return}d.value=q(U,M),_.value=sa(N,d.value),s.value=!0;try{window.__lcStats={reachedPins:_.value.length,matchedClusters:d.value.filter(H=>H.reached&&H.reached.length).length,totalClusters:d.value.length,matchedByRol3:_.value.filter(H=>H.rol3).length}}catch{}const h=()=>{Y(),c.on("click",xe,V=>{var Q;const oa=(Q=V.features)==null?void 0:Q[0];oa&&aa(oa.properties.key)});const H=(V,oa)=>{c.on("mouseenter",V,()=>{c.getCanvas().style.cursor="pointer"}),c.on("mouseleave",V,()=>{c.getCanvas().style.cursor="",x.value={...x.value,show:!1}}),c.on("mousemove",V,Q=>{var b;const m=(b=Q.features)==null?void 0:b[0];m&&(x.value={show:!0,x:Q.originalEvent.clientX,y:Q.originalEvent.clientY,html:oa(m.properties)})})};H(xe,V=>`${na(V.lang)}
${na(V.key)}
unreached ${V.count} groups
reached ${V.hasReach?"matching neighbors ✓":"none found"}
click → bounded set + flower
`),H(Mr,V=>`${na(V.name)}
${na(V.country)} · ${na(V.lang)}
reached ${Math.round(V.pct)}% Christian
`)};(C=c==null?void 0:c.isStyleLoaded)!=null&&C.call(c)?h():(y=c==null?void 0:c.once)==null||y.call(c,"load",h),(R=c==null?void 0:c.once)==null||R.call(c,"idle",()=>{s.value&&Y()})}),Ue(()=>{E()}),On(` + .lc-root { position:absolute; inset:0; display:flex; flex-direction:column; overflow:hidden; + background:#ffffff; color:#1f2937; isolation:isolate; + font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; } + .lc-map { position:absolute; inset:0; } + .lc-loading { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; + background:#ffffff; color:${Yt}; font:13px/1 ui-monospace,monospace; z-index:5; } + + .lc-top { position:absolute; top:10px; left:10px; right:10px; z-index:30; display:flex; + flex-wrap:wrap; gap:8px; align-items:center; pointer-events:none; } + .lc-top > * { pointer-events:auto; } + .lc-title { background:${Yt}; color:#fff; font:700 12px/1 ui-monospace,monospace; + letter-spacing:.04em; text-transform:uppercase; padding:8px 12px; border-radius:8px; } + .lc-stats { margin-left:auto; background:rgba(255,255,255,.94); border:1px solid #d1d5db; + border-radius:8px; padding:7px 11px; font:600 11px/1.5 ui-monospace,monospace; color:#374151; text-align:right; } + .lc-stats b { color:${Ui}; } + + .lc-legend { position:absolute; left:10px; bottom:34px; z-index:25; background:rgba(255,255,255,.95); + border:1px solid #d1d5db; border-radius:10px; padding:9px 12px; max-width:240px; box-shadow:0 4px 14px rgba(0,0,0,.12); } + .lc-legend h4 { font:700 9px/1 ui-monospace,monospace; letter-spacing:.1em; text-transform:uppercase; color:#6b7280; margin-bottom:8px; } + .lc-lrow { display:flex; align-items:center; gap:8px; padding:3px 0; font-size:11px; color:#374151; } + .lc-dot { width:12px; height:12px; border-radius:50%; flex:0 0 auto; border:1px solid rgba(0,0,0,.25); } + + .lc-panel { position:absolute; top:52px; right:10px; bottom:34px; z-index:26; width:290px; max-width:48vw; + background:rgba(255,255,255,.98); border:1px solid #d1d5db; border-radius:10px; box-shadow:0 4px 16px rgba(0,0,0,.16); + display:flex; flex-direction:column; overflow:hidden; } + .lc-panel-head { padding:11px 13px; background:${Vt}; color:#fff; } + .lc-panel-head .lc-h-lang { font:800 15px/1.2 -apple-system,sans-serif; } + .lc-panel-head .lc-h-sub { margin-top:3px; font:600 11px/1.3 ui-monospace,monospace; color:#ffe4e6; } + .lc-panel-body { flex:1 1 0; overflow-y:auto; padding:9px 11px; } + .lc-sec { font:700 9px/1 ui-monospace,monospace; letter-spacing:.1em; text-transform:uppercase; color:#6b7280; margin:6px 0 6px; } + .lc-chip { display:inline-block; font:600 10px/1 ui-monospace,monospace; padding:3px 7px; border-radius:999px; + border:1px solid #d1d5db; color:#374151; background:#f9fafb; margin:0 4px 4px 0; } + .lc-re { border:1px solid #e5e7eb; border-radius:8px; padding:6px 8px; margin-bottom:5px; } + .lc-re-name { font:700 12px/1.2 -apple-system,sans-serif; color:#111827; display:flex; align-items:center; gap:6px; } + .lc-re-meta { margin-top:3px; font:11px/1.3 ui-monospace,monospace; color:#4b5563; } + .lc-drill { display:block; width:100%; margin-top:8px; padding:9px; border:0; border-radius:8px; cursor:pointer; + background:${Yt}; color:#fff; font:700 12px/1 -apple-system,sans-serif; } + .lc-drill:hover { background:#013a8a; } + .lc-muted { color:#6b7280; font-size:11px; padding:8px 2px; } + + .lc-footer { position:absolute; left:0; right:0; bottom:0; z-index:20; background:${Yt}; color:#dbe4f3; + font:10px/1.4 ui-monospace,monospace; padding:5px 12px; display:flex; flex-wrap:wrap; gap:3px 14px; align-items:center; } + .lc-footer b { color:#fff; } + + .lc-tip { position:fixed; z-index:60; pointer-events:none; max-width:240px; background:#0e1730; + border:1px solid #34508c; border-radius:9px; padding:9px 11px; box-shadow:0 6px 22px rgba(0,0,0,.5); font-size:11.5px; color:#dbe4f3; } + .lc-tip strong { font-size:13px; color:#fff; } + .lc-tip-sub { color:#fda4af; font:600 10px/1.3 ui-monospace,monospace; margin:2px 0 6px; } + .lc-tip-row { display:flex; gap:6px; line-height:1.5; } + .lc-tip-k { color:#7e90b6; min-width:64px; } + + @media (max-width:720px){ .lc-stats{ display:none; } .lc-panel{ width:210px; } .lc-legend{ max-width:160px; } } +`,"lang-cluster"),(c,P)=>(z(),W("div",{ref_key:"lcRoot",ref:r,class:"lc-root",onMousemove:u},[f("div",{ref_key:"mapContainer",ref:l,class:"lc-map"},null,512),s.value?fa("",!0):(z(),W("div",W_,X(g.value),1)),f("div",J_,[P[5]||(P[5]=f("span",{class:"lc-title"},"My UPG Neighbor · Language Clusters",-1)),s.value?(z(),W("span",Z_,[f("b",null,X(I.value.clusters),1),P[0]||(P[0]=ya(" language clusters · ",-1)),f("b",null,X(I.value.pgs),1),P[1]||(P[1]=ya(" unreached",-1)),P[2]||(P[2]=f("br",null,null,-1)),f("b",null,X(I.value.provinces),1),P[3]||(P[3]=ya(" IN/CN provinces · ",-1)),f("b",null,X(I.value.withReach),1),P[4]||(P[4]=ya(" with reached match ",-1))])):fa("",!0)]),s.value?(z(),W("div",q_,[P[8]||(P[8]=f("h4",null,"Bounded sets",-1)),f("div",X_,[f("span",{class:"lc-dot",style:Ka({background:Vt})},null,4),P[6]||(P[6]=ya(" Unreached language cluster (size = #groups)",-1))]),f("div",Q_,[f("span",{class:"lc-dot",style:Ka({background:n(80)})},null,4),P[7]||(P[7]=ya(" Reached neighbor (matched by language)",-1))]),P[9]||(P[9]=f("div",{class:"lc-lrow",style:{color:"#6b7280","font-size":"10px","margin-top":"4px"}},"green ring = cluster has a reached match · click a cluster to drill",-1))])):fa("",!0),s.value&&G.value?(z(),W("div",a5,[f("div",n5,[f("div",e5,X(G.value.lang),1),f("div",i5,X(G.value.scope==="province"?G.value.province+" · "+G.value.country:G.value.country),1)]),f("div",t5,[f("div",o5,"Bounded set — "+X(G.value.count)+" unreached groups",1),(z(!0),W(Aa,null,Ua(G.value.members.slice(0,18),(p,M)=>(z(),W("span",{key:M,class:"lc-chip"},X(p.name),1))),128)),G.value.members.length>18?(z(),W("span",r5,"+"+X(G.value.members.length-18)+" more",1)):fa("",!0),f("div",l5,"Reached neighbors (same language) — "+X(G.value.reached.length),1),G.value.reached.length?fa("",!0):(z(),W("div",s5,"No reached people-group shares this language in the baked set. A frontier — pray for laborers (Luke 10:2).")),(z(!0),W(Aa,null,Ua(G.value.reached,(p,M)=>(z(),W("div",{key:"r"+M,class:"lc-re"},[f("div",c5,[f("span",{class:"lc-dot",style:Ka({background:n(p.pct)})},null,4),ya(X(p.name),1)]),f("div",g5,X(p.country)+" · "+X(Math.round(p.pct))+"% Christian · "+X(p.lang),1)]))),128)),f("button",{class:"lc-drill",onClick:ba},"Open flower view ▸")])])):fa("",!0),s.value?(z(),W("div",u5,[P[10]||(P[10]=f("span",null,[f("b",null,"Language clusters"),ya(" red unreached · green reached-by-language")],-1)),f("span",null,"unreached = LIVE UPG data ("+X(I.value.pgs)+")",1),P[11]||(P[11]=f("span",null,"IN/CN province = real ADM1 (my-upg-100-list point-in-polygon)",-1)),P[12]||(P[12]=f("span",null,"reached = baked reached-neighbors",-1)),P[13]||(P[13]=f("span",null,"Luke 10:2 · bounded sets → flowers",-1))])):fa("",!0),x.value.show?(z(),W("div",{key:4,class:"lc-tip",style:Ka({left:x.value.x+14+"px",top:x.value.y+14+"px"}),innerHTML:x.value.html},null,12,d5)):fa("",!0)],544))}},p5=Object.freeze(Object.defineProperty({__proto__:null,default:Kg},Symbol.toStringTag,{value:"Module"})),Wt={churches:[{name:"Antioch Fellowship",lat:13.08,lng:80.27,region:"Chennai, India",network:"South Asia Partners"},{name:"Cornerstone Church",lat:-1.29,lng:36.82,region:"Nairobi, Kenya",network:"East Africa Network"},{name:"Living Hope Church",lat:14.6,lng:120.98,region:"Manila, Philippines",network:"Southeast Asia Partners"},{name:"Grace Harbor Church",lat:34.05,lng:-118.24,region:"Los Angeles, USA",network:"North America Sending"},{name:"Redeemer Fellowship",lat:51.51,lng:-.13,region:"London, United Kingdom",network:"Europe Partners"},{name:"New Life Church",lat:-23.55,lng:-46.63,region:"Sao Paulo, Brazil",network:"Latin America Network"},{name:"Emmanuel Church",lat:37.57,lng:126.98,region:"Seoul, South Korea",network:"East Asia Sending"},{name:"Bethel Community",lat:6.52,lng:3.38,region:"Lagos, Nigeria",network:"West Africa Network"}]},m5={class:"sn-map-area"},h5={key:0,class:"sn-loading"},y5={class:"sn-top"},b5=["value"],_5=["value"],f5=["aria-pressed"],P5={class:"sn-legend"},C5={class:"sn-legend-row"},j5={class:"sn-legend-row"},k5={class:"sn-legend-row"},G5={key:1,class:"sn-panel"},v5={class:"sn-panel-head"},A5={class:"sn-target"},S5={class:"sn-sub"},E5={class:"sn-panel-body"},M5=["onClick"],I5={class:"sn-sender-name"},w5={class:"sn-sender-meta"},x5={class:"sn-chip pct"},T5={class:"sn-chip bridge"},N5={class:"sn-chip adj"},L5={class:"sn-chip"},R5={key:0,style:{padding:"14px","font-size":"12px",color:"#6b7280"}},$5={class:"sn-footer"},Jt="#FF6600",te="#002e6e",Bg="#1f9d55",F5="#9bcf9b",Hi="#7c3aed",Og="sn-arrows-src",Ir="sn-senders-src",wr="sn-target-src",Ug="sn-targets-all-src",Hg="sn-arrows",Di="sn-senders",Dg="sn-sender-labels",zg="sn-target",Vg="sn-target-label",Pe="sn-targets-all",Zt="sn-churches-src",ei="sn-churches",qt="sn-church-labels",Yg={__name:"send-map",setup(a){var ta,aa,ba,na,u,A;On(` + .sn-root { position:absolute;inset:0;display:flex;flex-direction:column;overflow:hidden;background:#ffffff;color:#1f2937;isolation:isolate; + font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; } + .sn-map-area { flex:1 1 0;position:relative;overflow:hidden; } + .sn-map-canvas { position:absolute;inset:0; } + .sn-loading { position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#ffffff;color:${te};font-size:13px;z-index:5; } + + /* ── Top bar: title + target selector ── */ + .sn-top { position:absolute;top:10px;left:10px;z-index:30;display:flex;flex-wrap:wrap;gap:8px;align-items:center; } + .sn-title { background:${te};color:#fff;font:700 12px/1 ui-monospace,monospace;letter-spacing:.04em;text-transform:uppercase;padding:8px 12px;border-radius:8px; } + .sn-select { background:#fff;border:1px solid ${te};color:${te};font:600 12px/1 -apple-system,sans-serif;padding:7px 10px;border-radius:8px;cursor:pointer;max-width:240px; } + .sn-toggle { background:${Hi};border:1px solid ${Hi};color:#fff;font:700 11px/1 ui-monospace,monospace;letter-spacing:.03em;padding:8px 11px;border-radius:8px;cursor:pointer; } + .sn-toggle.off { background:#fff;color:${Hi}; } + + /* ── Left: 4-D JOIN legend (the gate the connectors pass through) ── */ + .sn-legend { position:absolute;top:58px;left:10px;z-index:25;background:rgba(255,255,255,0.95);border:1px solid #d1d5db;border-radius:10px;padding:9px 12px;box-shadow:0 4px 14px rgba(0,0,0,0.12);max-width:230px; } + .sn-legend h4 { font:700 9px/1 ui-monospace,monospace;letter-spacing:.1em;text-transform:uppercase;color:#6b7280;margin-bottom:8px; } + .sn-legend-row { display:flex;align-items:flex-start;gap:7px;padding:3px 0;font-size:11px;color:#374151;line-height:1.3; } + .sn-dot { width:11px;height:11px;border-radius:50%;flex:0 0 auto;border:1px solid rgba(0,0,0,0.35);margin-top:1px; } + .sn-legend .sn-num { font-weight:700;color:${te};flex:0 0 auto; } + + /* ── Right: worked sender table for the selected target ── */ + .sn-panel { position:absolute;top:10px;right:10px;bottom:42px;z-index:25;width:280px;max-width:46vw;background:rgba(255,255,255,0.97);border:1px solid #d1d5db;border-radius:10px;box-shadow:0 4px 14px rgba(0,0,0,0.12);display:flex;flex-direction:column;overflow:hidden; } + .sn-panel-head { padding:10px 12px;border-bottom:1px solid #e5e7eb;background:${te};color:#fff; } + .sn-panel-head .sn-target { font:700 13px/1.2 -apple-system,sans-serif; } + .sn-panel-head .sn-sub { margin-top:4px;font:11px/1.3 ui-monospace,monospace;color:#c7d2fe; } + .sn-panel-body { flex:1 1 0;overflow-y:auto;padding:6px 8px; } + .sn-sender { border:1px solid #e5e7eb;border-radius:8px;padding:7px 9px;margin-bottom:6px;cursor:pointer;transition:border-color .12s,box-shadow .12s; } + .sn-sender:hover { border-color:${Jt};box-shadow:0 2px 8px rgba(255,102,0,0.18); } + .sn-sender-name { font:700 12px/1.2 -apple-system,sans-serif;color:#111827;display:flex;align-items:center;gap:6px; } + .sn-sender-meta { margin-top:4px;display:flex;flex-wrap:wrap;gap:4px; } + .sn-chip { font:600 10px/1 ui-monospace,monospace;padding:3px 6px;border-radius:999px;border:1px solid #d1d5db;color:#374151;background:#f9fafb; } + .sn-chip.pct { color:#0b5e33;background:#e7f6ec;border-color:#b7e0c4; } + .sn-chip.bridge { color:${te};background:#e7edf8;border-color:#c2d2ee; } + .sn-chip.adj { color:#7a3e00;background:#fdeedd;border-color:#f3d4ac; } + + /* ── Footer: provenance (honesty contract, spec §3 + §5) ── */ + .sn-footer { flex:0 0 auto;background:${te};color:#dbe4f3;font:10px/1.4 ui-monospace,monospace;padding:6px 12px;display:flex;flex-wrap:wrap;gap:4px 14px;align-items:center; } + .sn-footer strong { color:#fff; } + + @media(max-width:760px){ + .sn-panel { width:200px; } + .sn-legend { max-width:180px; } + } +`,"send-map");const n=Ya("profileConfig"),e=Ya("mapboxToken"),i=Ya("instanceId",null);i!=null&&i.value||i||""+Date.now().toString(36)+Math.random().toString(36).slice(2,8);const t=ua(null),o=ua(null),r=ua(!1),l=ua(null),s=ua(((ta=n==null?void 0:n.value)==null?void 0:ta.target)??"India"),g=ua(!0),d={India:[79,22],Pakistan:[69.3,30],Indonesia:[113,-1],Bangladesh:[90.3,23.7],China:[104,35],Japan:[138,37],Iran:[53,32],"Türkiye (Turkey)":[35,39],Egypt:[30,26.5],Nigeria:[8,9.5],Thailand:[101,15],Sudan:[30,15.5],Algeria:[3,28],Iraq:[44,33],"Myanmar (Burma)":[96,21],Afghanistan:[66,34],Yemen:[47.5,15.5],Morocco:[-6,32],Uzbekistan:[64,41.5],"Saudi Arabia":[45,24],Ethiopia:[39.5,9],Niger:[9,17.5],"Korea, North":[127,40],Nepal:[84,28.2],Mali:[-3.5,17],Somalia:[46.5,5.5],Malaysia:[108,3.5],Russia:[90,60],Cambodia:[105,12.7],Kazakhstan:[67,48],Senegal:[-14.5,14.5],"United States":[-98,39],Guinea:[-11,10.5],Tunisia:[9.5,34],Chad:[19,15.5],Tajikistan:[71,38.7],Jordan:[36.5,31],Azerbaijan:[47.5,40.3],Vietnam:[106,16],Israel:[35,31.3],Armenia:[45,40.2],Austria:[14.5,47.5],Bahrain:[50.6,26],Brunei:[114.7,4.5],Bulgaria:[25.5,42.7],"Burkina Faso":[-1.7,12.3],Cameroon:[12.5,6],Canada:[-106,56],"Cape Verde":[-23.6,16],"China, Hong Kong":[114.2,22.3],"China, Macau":[113.5,22.2],Cyprus:[33.2,35.1],"Côte d'Ivoire":[-5.5,7.5],Eritrea:[39,15.3],France:[2.5,47],Georgia:[43.5,42],Ghana:[-1,7.9],Greece:[22,39],"Guinea-Bissau":[-15,12],Italy:[12.5,42.5],Kenya:[38,.2],"Korea, South":[128,36.5],Kuwait:[47.7,29.3],Kyrgyzstan:[74.5,41.3],Lebanon:[35.8,33.9],Liberia:[-9.4,6.5],Moldova:[28.5,47.2],Oman:[56,21],Portugal:[-8,39.5],Qatar:[51.2,25.3],Serbia:[21,44],"Sierra Leone":[-11.8,8.5],Singapore:[103.8,1.35],"South Sudan":[31,7.5],Spain:[-3.7,40.3],Syria:[38,35],Tanzania:[35,-6.3],Togo:[1,8.6],Turkmenistan:[59,39],Uganda:[32.5,1.4],Ukraine:[31,49],"United Arab Emirates":[54,24]};function _(j,c){const P=d[j];if(!P)return null;let p=0;const M=String(c||"");for(let h=0;h>8&255)/255-.5)*3.2;return[P[0]+N,P[1]+U]}const{map:k,initializeMap:x,destroy:D}=Kt({containerRef:o,accessToken:e.value,style:((aa=n==null?void 0:n.value)==null?void 0:aa.style)??"mapbox://styles/mapbox/light-v11",center:((ba=n==null?void 0:n.value)==null?void 0:ba.center)??[60,25],zoom:((na=n==null?void 0:n.value)==null?void 0:na.zoom)??2.4,minZoom:((u=n==null?void 0:n.value)==null?void 0:u.minZoom)??1,maxZoom:((A=n==null?void 0:n.value)==null?void 0:A.maxZoom)??12}),T=la(()=>l.value?Object.keys(l.value.countries):[]),$=la(()=>{var j,c;return((c=(j=l.value)==null?void 0:j.countries)==null?void 0:c[s.value])??null}),w=la(()=>{const j=$.value;return j?[...j.neighbors||[]].filter(c=>d[c.country]).sort((c,P)=>(P.pct_christian||0)-(c.pct_christian||0)):[]});function L(j){return j>=50?Bg:F5}function E(){var P;const j=l.value;if(!j)return G([]);const c=[];for(const p of Object.keys(j.countries)){const M=d[p];M&&c.push({type:"Feature",geometry:{type:"Point",coordinates:M},properties:{name:p,kind:"target",upg:((P=j.countries[p])==null?void 0:P.target_upg)||0}})}return G(c)}function I(){if(!$.value)return{arrows:G([]),senders:G([]),target:G([])};const c=d[s.value]||[60,25],P={type:"Feature",geometry:{type:"Point",coordinates:c},properties:{name:s.value,kind:"target"}},p=[],M=[];for(const N of w.value){const U=_(N.country,N.name+N.lang);U&&(p.push({type:"Feature",geometry:{type:"Point",coordinates:U},properties:{name:N.name,country:N.country,pct:N.pct_christian||0,color:L(N.pct_christian||0)}}),M.push({type:"Feature",geometry:{type:"LineString",coordinates:[U,c]},properties:{bridge:N.bridge,adjacency:N.adjacency}}))}return{arrows:G(M),senders:G(p),target:G([P])}}function G(j){return{type:"FeatureCollection",features:j}}function S(){const j=Array.isArray(Wt==null?void 0:Wt.churches)?Wt.churches:[],c=[];for(const P of j){const p=Number(P.lng),M=Number(P.lat);!Number.isFinite(p)||!Number.isFinite(M)||c.push({type:"Feature",geometry:{type:"Point",coordinates:[p,M]},properties:{name:P.name||"Church",region:P.region||"",network:P.network||""}})}return G(c)}function v(j){if(!j||j.getLayer(ei))return;ga(j,Zt,S()),j.addLayer({id:ei,type:"circle",source:Zt,paint:{"circle-color":Hi,"circle-radius":["interpolate",["linear"],["zoom"],1,5,5,8,9,12],"circle-stroke-width":2,"circle-stroke-color":"#ffffff","circle-opacity":.95}}),j.addLayer({id:qt,type:"symbol",source:Zt,layout:{"text-field":"✝","text-size":["interpolate",["linear"],["zoom"],1,8,9,14],"text-allow-overlap":!0,"text-offset":[0,.05]},paint:{"text-color":"#ffffff"}}),j.addLayer({id:qt+"-name",type:"symbol",source:Zt,minzoom:3,layout:{"text-field":["get","name"],"text-size":11,"text-offset":[0,1.3],"text-anchor":"top","text-allow-overlap":!1},paint:{"text-color":"#4c1d95","text-halo-color":"#ffffff","text-halo-width":1.4}});const c=typeof window<"u"?window.mapboxgl:null;j.on("click",ei,P=>{var U;const p=(U=P.features)==null?void 0:U[0];if(!p||!c)return;const M=p.properties||{},N='
✝ '+K(M.name)+"
"+(M.network?'
'+K(M.network)+"
":"")+(M.region?'
'+K(M.region)+"
":"")+"
";new c.Popup({maxWidth:"260px",offset:10}).setLngLat(p.geometry.coordinates).setHTML(N).addTo(j)}),j.on("mouseenter",ei,()=>{j.getCanvas().style.cursor="pointer"}),j.on("mouseleave",ei,()=>{j.getCanvas().style.cursor=""}),O(j)}function K(j){return String(j??"").replace(/[&<>"]/g,c=>({"&":"&","<":"<",">":">",'"':"""})[c])}function O(j){if(!j)return;const c=g.value?"visible":"none";for(const P of[ei,qt,qt+"-name"])j.getLayer(P)&&j.setLayoutProperty(P,"visibility",c)}function q(){g.value=!g.value,O(k.value)}function sa(){var M;const j=k.value;if(!j||!((M=j.isStyleLoaded)!=null&&M.call(j)))return;const{arrows:c,senders:P,target:p}=I();ga(j,Og,c),ga(j,Ir,P),ga(j,wr,p),ga(j,Ug,E()),j.getLayer(Pe)||j.addLayer({id:Pe,type:"circle",source:Ug,paint:{"circle-color":Jt,"circle-radius":["interpolate",["linear"],["zoom"],1,5,5,9,9,13],"circle-stroke-width":1.5,"circle-stroke-color":"#ffffff"}}),j.getLayer(Hg)||j.addLayer({id:Hg,type:"line",source:Og,layout:{"line-cap":"round"},paint:{"line-color":te,"line-width":1.4,"line-opacity":.55,"line-dasharray":[2,2]}}),j.getLayer(Di)||j.addLayer({id:Di,type:"circle",source:Ir,paint:{"circle-color":["get","color"],"circle-radius":["interpolate",["linear"],["zoom"],1,2.5,5,4,9,6],"circle-stroke-width":.8,"circle-stroke-color":"#ffffff","circle-opacity":.92}}),j.getLayer(Dg)||j.addLayer({id:Dg,type:"symbol",source:Ir,minzoom:3.4,layout:{"text-field":["get","name"],"text-size":10,"text-offset":[0,1.1],"text-anchor":"top","text-allow-overlap":!1},paint:{"text-color":"#0b5e33","text-halo-color":"#ffffff","text-halo-width":1.3}}),j.getLayer(zg)||j.addLayer({id:zg,type:"circle",source:wr,paint:{"circle-color":Jt,"circle-radius":["interpolate",["linear"],["zoom"],1,8,5,13,9,18],"circle-stroke-width":2.5,"circle-stroke-color":"#ffffff","circle-opacity":.95}}),j.getLayer(Vg)||j.addLayer({id:Vg,type:"symbol",source:wr,layout:{"text-field":["get","name"],"text-size":13,"text-font":["DIN Offc Pro Bold","Arial Unicode MS Bold"],"text-offset":[0,-1.4],"text-anchor":"bottom","text-allow-overlap":!0},paint:{"text-color":"#8a3800","text-halo-color":"#ffffff","text-halo-width":1.6}}),ea(j)}function ea(j){if(!j||!j.getLayer(Pe))return;const c=s.value;j.setPaintProperty(Pe,"circle-opacity",c?["case",["==",["get","name"],c],0,.28]:.9),j.setPaintProperty(Pe,"circle-stroke-opacity",c?["case",["==",["get","name"],c],0,.5]:.9)}function ga(j,c,P){j.getSource(c)?j.getSource(c).setData(P):j.addSource(c,{type:"geojson",data:P})}function Sa(){const j=k.value;if(!j)return;const c=d[s.value];if(!c)return;let P=c[0],p=c[0],M=c[1],N=c[1];for(const U of w.value){const h=d[U.country];h&&(P=Math.min(P,h[0]),p=Math.max(p,h[0]),M=Math.min(M,h[1]),N=Math.max(N,h[1]))}try{j.stop(),P===p&&M===N?j.easeTo({center:c,zoom:4,duration:900}):j.fitBounds([[P,M],[p,N]],{padding:90,maxZoom:5.5,duration:900})}catch{}}function Ma(j){!j||!d[j]||(s.value=j,sa(),Sa())}function ma(j){Ma(j.target.value)}function pa(j){const c=k.value,P=d[j.country];if(!(!c||!P))try{c.stop(),c.easeTo({center:P,zoom:4.5,duration:800})}catch{}}async function Y(){var c;const j=(c=n==null?void 0:n.value)==null?void 0:c.dataUrl;if(j)try{const P=await fetch(j);if(P.ok)return await P.json()}catch{}return ee}return Rn(async()=>{var P,p,M,N,U,h;await x();const j=k.value;try{j&&j.setProjection("mercator")}catch{}if((P=n==null?void 0:n.value)!=null&&P.debugExpose&&typeof window<"u")try{(((N=(M=(p=t.value)==null?void 0:p.getRootNode)==null?void 0:M.call(p))==null?void 0:N.host)||window).__sendmap=j}catch{}if(l.value=await Y(),!l.value){r.value=!0;return}T.value.includes(s.value)||(s.value=T.value[0]||s.value);const c=()=>{sa(),v(j),j.on("click",Pe,C=>{var R;const y=(R=C.features)==null?void 0:R[0];y&&Ma(y.properties.name)}),j.on("mouseenter",Pe,()=>{j.getCanvas().style.cursor="pointer"}),j.on("mouseleave",Pe,()=>{j.getCanvas().style.cursor=""}),j.on("click",Di,C=>{var R;const y=(R=C.features)==null?void 0:R[0];if(y)try{j.stop(),j.easeTo({center:y.geometry.coordinates,zoom:4.5,duration:800})}catch{}}),j.on("mouseenter",Di,()=>{j.getCanvas().style.cursor="pointer"}),j.on("mouseleave",Di,()=>{j.getCanvas().style.cursor=""}),Sa(),r.value=!0};(U=j==null?void 0:j.isStyleLoaded)!=null&&U.call(j)?c():(h=j==null?void 0:j.once)==null||h.call(j,"load",c)}),Ue(()=>{D()}),(j,c)=>{var P,p,M,N,U,h;return z(),W("div",{ref_key:"snRoot",ref:t,class:"sn-root"},[f("div",m5,[f("div",{ref_key:"mapContainer",ref:o,class:"sn-map-canvas"},null,512),r.value?fa("",!0):(z(),W("div",h5,"Loading SEND map…")),f("div",y5,[c[0]||(c[0]=f("span",{class:"sn-title"},"Church Map · My UPG Neighbor",-1)),T.value.length?(z(),W("select",{key:0,class:"sn-select",value:s.value,onChange:ma,"aria-label":"Select unreached target country"},[(z(!0),W(Aa,null,Ua(T.value,C=>(z(),W("option",{key:C,value:C},X(C),9,_5))),128))],40,b5)):fa("",!0),f("button",{class:Ia(["sn-toggle",{off:!g.value}]),onClick:q,"aria-pressed":g.value,"aria-label":"Toggle partnering churches layer"}," ✝ Churches "+X(g.value?"on":"off"),11,f5)]),f("div",P5,[c[4]||(c[4]=As('

4-D SEND join

1·Adjacency — same-country, else neighbor ≤1500 km
2·Language pair — same language (strong) / cluster (soft)
3·Reached % — sender ≥10% Christian (more = more laborers)
4·Lower pressure — sender from a freer place
',6)),f("div",C5,[f("span",{class:"sn-dot",style:Ka({background:Jt})},null,4),c[1]||(c[1]=f("span",null,[ya("Unreached target — "),f("strong",null,"click one"),ya(" to SEND-focus")],-1))]),f("div",j5,[f("span",{class:"sn-dot",style:Ka({background:Bg})},null,4),c[2]||(c[2]=f("span",null,"Reached sender (SEND →) — who we mobilize",-1))]),f("div",k5,[f("span",{class:"sn-dot",style:Ka({background:Hi})},null,4),c[3]||(c[3]=f("span",null,[f("strong",null,"Partnering church"),ya(" — the network (click for details)")],-1))])]),$.value?(z(),W("div",G5,[f("div",v5,[f("div",A5,X(s.value),1),f("div",S5,X(($.value.target_upg||0).toLocaleString())+" UPGs · "+X(w.value.length)+" reached senders ",1)]),f("div",E5,[(z(!0),W(Aa,null,Ua(w.value,(C,y)=>(z(),W("div",{key:C.name+y,class:"sn-sender",onClick:R=>pa(C)},[f("div",I5,[f("span",{class:"sn-dot",style:Ka({background:L(C.pct_christian||0)})},null,4),ya(" "+X(C.name),1)]),f("div",w5,[f("span",x5,X(Math.round(C.pct_christian||0))+"% Christian",1),f("span",T5,X(C.bridge),1),f("span",N5,X(C.adjacency),1),f("span",L5,X(C.lang),1)])],8,M5))),128)),w.value.length?fa("",!0):(z(),W("div",R5," No qualifying reached senders with a known country centroid for this target. "))])])):fa("",!0),f("div",$5,[c[5]||(c[5]=f("span",null,[f("strong",null,"SEND"),ya(" reached neighbor → unreached target")],-1)),c[6]||(c[6]=f("span",null,"target = LIVE (JP UnreachedPeoplesByCountry)",-1)),f("span",null,"senders = baked "+X(((p=(P=l.value)==null?void 0:P.meta)==null?void 0:p.generated)||"2026-06-12")+" (≥"+X(((N=(M=l.value)==null?void 0:M.meta)==null?void 0:N.threshold_pct_christian)||10)+"% Christian, "+X(((h=(U=l.value)==null?void 0:U.meta)==null?void 0:h.adjacency_km)||1500)+" km)",1),c[7]||(c[7]=f("span",null,"Hab 2:2 · mobilize existing laborers",-1)),c[8]||(c[8]=f("span",null,"chain: UPG-100 → FPG base → My UPG Neighbor",-1))])])],512)}}},K5=Object.freeze(Object.defineProperty({__proto__:null,default:Yg},Symbol.toStringTag,{value:"Module"})),Wg="adoptionStatus",oe={notAdopted:"#e74c3c",hasAdoption:"#22c55e"},B5=oe,xr={notAdopted:"Needs Adoption",hasAdopted:"Has Adoption"},O5=xr;function Jg(a){var i;const n=a.adoptionStatus??((i=a._raw)==null?void 0:i.adopted_by_churches);return n===!0||n===1||typeof n=="number"&&n>0||typeof n=="object"&&(n==null?void 0:n.value)?oe.hasAdoption:oe.notAdopted}function Tr({colorSource:a="properties"}={}){const n=a==="feature-state"?["feature-state","adoptionStatus"]:["get","adoptionStatus"];return["case",["==",n,!0],oe.hasAdoption,["==",n,1],oe.hasAdoption,oe.notAdopted]}const Zg=Tr,U5=Object.freeze(Object.defineProperty({__proto__:null,ADOPTION_COLORS:B5,ADOPTION_LABELS:O5,LABELS:xr,PALETTE:oe,PROPERTY_KEY:Wg,applyColor:Tr,buildColorExpression:Zg,default:{name:"Adoption Progress",propertyKey:Wg,palette:oe,colors:oe,labels:xr,getColor:Jg,applyColor:Tr,buildColorExpression:Zg},getColor:Jg},Symbol.toStringTag,{value:"Module"})),Nr="affinityBlock",ii="#95a5a6",re={A001:"Arab World",A002:"East Asian Peoples",A003:"Eurasian Peoples",A004:"Horn of Africa Peoples",A005:"Jewish",A006:"Malay Peoples",A007:"Persian-Median Peoples",A008:"South Asian Peoples",A009:"North American Peoples",A010:"Pacific Islanders",A011:"Southeast Asian Peoples",A012:"Sub-Saharan Peoples",A013:"Tibetan-Himalayan Peoples",A014:"Turkic Peoples",A015:"Latin-Caribbean Americans",A017:"Deaf"},Xt={A001:"#E74C3C",A002:"#3498DB",A003:"#2ECC71",A004:"#F39C12",A005:"#9B59B6",A006:"#1ABC9C",A007:"#E67E22",A008:"#34495E",A009:"#95A5A6",A010:"#5DADE2",A011:"#16A085",A012:"#C0392B",A013:"#8E44AD",A014:"#D35400",A015:"#27AE60",A017:"#000000"},Ce=Xt,qg=Object.entries(re).reduce((a,[n,e])=>(a[e]=n,a),{}),Lr=Object.entries(re).reduce((a,[n,e])=>(a[e]=Ce[n],a),{}),Xg=re;function Rr(a){return re[a]||"Unknown"}function $r(a){return Ce[a]||ii}function Qg(a){return a?typeof a=="string"&&/^A\d{3}$/.test(a)?Ce[a]||ii:Lr[a]||ii:ii}function au(){return Object.entries(re).map(([a,n])=>({code:a,name:n,color:Ce[a]}))}function nu(a){return{code:a,name:re[a]||"Unknown",color:Ce[a]||ii}}function eu(a){var e;const n=a.affinityBlock||((e=a._raw)==null?void 0:e.ROP1);return $r(n)}function iu(a){var e;const n=a.affinityBlock||((e=a._raw)==null?void 0:e.ROP1);return Rr(n)}function Fr(){const a=["match",["get",Nr]];return Object.entries(Ce).forEach(([n,e])=>{a.push(n,e)}),a.push(ii),a}const tu=Fr,H5=Object.freeze(Object.defineProperty({__proto__:null,AFFINITY_BLOCK_COLORS:Ce,AFFINITY_BLOCK_COLORS_BY_NAME:Lr,AFFINITY_BLOCK_NAMES:re,AFFINITY_BLOCK_NAME_TO_CODE:qg,NAMES:Xg,PALETTE:Xt,PROPERTY_KEY:Nr,affinityBlockCodeLookup:re,affinityBlockCodeToColor:Ce,affinityBlockCodeToName:re,affinityBlockColors:Lr,affinityBlockNameToCode:qg,applyColor:Fr,buildColorExpression:tu,default:{name:"Affinity Block",propertyKey:Nr,palette:Xt,colors:Xt,names:Xg,getColor:eu,applyColor:Fr,buildColorExpression:tu,getName:iu,getAffinityBlockName:Rr,getAffinityBlockColor:Qg,getAffinityBlockColorByCode:$r,getAffinityBlocksArray:au,getAffinityBlockData:nu},getAffinityBlockColor:Qg,getAffinityBlockColorByCode:$r,getAffinityBlockData:nu,getAffinityBlockName:Rr,getAffinityBlocksArray:au,getColor:eu,getName:iu},Symbol.toStringTag,{value:"Module"})),ou="engagementStatus",le={notEngaged:"#e74c3c",hasEngagement:"#22c55e"},D5=le,Kr={notEngaged:"Unengaged",hasEngagement:"Engaged"},z5=Kr;function ru(a){var i;const n=a.engagementStatus??((i=a._raw)==null?void 0:i.people_committed);return n===!0||n===1||typeof n=="number"&&n>0||typeof n=="object"&&(n==null?void 0:n.value)?le.hasEngagement:le.notEngaged}function Br({colorSource:a="properties"}={}){const n=a==="feature-state"?["feature-state","engagementStatus"]:["get","engagementStatus"];return["case",["==",n,!0],le.hasEngagement,["==",n,1],le.hasEngagement,le.notEngaged]}const lu=Br,V5=Object.freeze(Object.defineProperty({__proto__:null,ENGAGEMENT_COLORS:D5,ENGAGEMENT_LABELS:z5,LABELS:Kr,PALETTE:le,PROPERTY_KEY:ou,applyColor:Br,buildColorExpression:lu,default:{name:"Engagement Progress",propertyKey:ou,palette:le,colors:le,labels:Kr,getColor:ru,applyColor:Br,buildColorExpression:lu},getColor:ru},Symbol.toStringTag,{value:"Module"}));function Y5(a){if(!a)return"hsl(0, 60%, 50%)";let n=0;for(let i=0;i{a.push(n,e)}),a.push(Ur),a}const uu=zr,J5=Object.freeze(Object.defineProperty({__proto__:null,GEO_REGION_COLORS:W5,PALETTE:Qt,PROPERTY_KEY:Or,REGION_COLOR_ALIASES:Dr,SLUG_PALETTE:ao,applyColor:zr,buildColorExpression:uu,default:{name:"DOXA Region",propertyKey:Or,palette:Qt,colors:Qt,slugColors:ao,aliases:Dr,fallback:Ur,getColor:gu,applyColor:zr,buildColorExpression:uu,getRegionColor:cu,getRegionColorBySlug:Hr},getColor:gu,getRegionColor:cu,getRegionColorBySlug:Hr},Symbol.toStringTag,{value:"Module"})),Vr="languageFamily",Z5="#000000",se={"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"},q5=se;function Hn(a){return se[a]||Z5}const X5=(()=>{const a=e=>String(e||"").toLowerCase().trim(),n={};for(const e of Object.keys(se))n[a(e)]=e;return n})();function Yr(a){if(!a)return"Unknown";const n=String(a).trim();return X5[n.toLowerCase()]||n}function du(a){var n;return Hn(a.languageFamily||((n=a._normalized)==null?void 0:n.languageFamily))}function Wr(){const a=["match",["get",Vr]];return Object.entries(se).forEach(([n,e])=>{a.push(n,e)}),a.push("#95a5a6"),a}const pu=Wr,Q5=Object.freeze(Object.defineProperty({__proto__:null,LANGUAGE_FAMILY_COLORS:q5,PALETTE:se,PROPERTY_KEY:Vr,applyColor:Wr,buildColorExpression:pu,canonicalFamilyName:Yr,default:{name:"Language Family",propertyKey:Vr,palette:se,colors:se,getColor:du,applyColor:Wr,buildColorExpression:pu,getLanguageFamilyColor:Hn,canonicalFamilyName:Yr},defaultFamilyColor:"#95a5a6",getColor:du,getLanguageFamilyColor:Hn,languageFamilyColors:se},Symbol.toStringTag,{value:"Module"})),mu="peoplePraying",no=144,je={noPrayer:"#e74c3c",hasPrayer:"#f39c12",fullPrayer:"#22c55e"},af=je,Jr={noPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayer:"Has Full Prayer Coverage"},nf=Jr;function eo(a){var i;const n=(a==null?void 0:a.peoplePraying)??((i=a==null?void 0:a._raw)==null?void 0:i.people_praying)??null,e=Number(n)||0;return e>=no?"fullPrayer":e>0?"hasPrayer":"noPrayer"}function Zr(a){return je[eo(a)]}function hu(a){var e;const n=(a==null?void 0:a.peoplePraying)??((e=a==null?void 0:a._raw)==null?void 0:e.people_praying)??null;return n!==null&&n>0}function yu(a){return eo(a)==="fullPrayer"}function bu(a){return Zr(a)}function qr({colorSource:a="properties"}={}){const n=a==="feature-state"?["feature-state","peoplePraying"]:["get","peoplePraying"];return["case",[">=",n,no],je.fullPrayer,[">",n,0],je.hasPrayer,je.noPrayer]}const _u=qr,ef=Object.freeze(Object.defineProperty({__proto__:null,FULL_PRAYER_THRESHOLD:no,LABELS:Jr,PALETTE:je,PRAYER_COLORS:af,PRAYER_LABELS:nf,PROPERTY_KEY:mu,applyColor:qr,buildColorExpression:_u,checkHasFullPrayer:yu,checkHasPrayer:hu,default:{name:"Prayer Progress",propertyKey:mu,palette:je,colors:je,labels:Jr,threshold:no,getColor:bu,applyColor:qr,buildColorExpression:_u,getPrayerLevel:eo,getPrayerColor:Zr,checkHasPrayer:hu,checkHasFullPrayer:yu},getColor:bu,getPrayerColor:Zr,getPrayerLevel:eo},Symbol.toStringTag,{value:"Module"})),fu="religion",Xr="#94a3b8",Qr={C:"Christianity",M:"Islam",H:"Hinduism",B:"Buddhism",E:"Ethnoreligion",J:"Judaism",S:"Sikhism",N:"Unaffiliated",O:"Other",U:"Unknown"},jn={C:"#3b82f6",M:"#ef4444",H:"#f59e0b",B:"#facc15",E:"#84cc16",J:"#a855f7",S:"#ec4899",N:"#71717a",O:"#ff6b2b",U:"#94a3b8"};function Pu(a){if(!a||typeof a!="string")return"U";const n=a.charAt(0).toUpperCase();return Qr[n]?n:"U"}function Cu(a){var e,i,t;const n=(a==null?void 0:a.religion)||((i=(e=a==null?void 0:a._raw)==null?void 0:e.religion)==null?void 0:i.value)||((t=a==null?void 0:a._raw)==null?void 0:t.religion);return jn[Pu(n)]||Xr}function al(){return["match",["slice",["coalesce",["get","religion"],""],0,1],"C",jn.C,"M",jn.M,"H",jn.H,"B",jn.B,"E",jn.E,"J",jn.J,"S",jn.S,"N",jn.N,"O",jn.O,Xr]}const ju=al,tf=Object.freeze(Object.defineProperty({__proto__:null,PALETTE:jn,PROPERTY_KEY:fu,RELIGION_FAMILIES:Qr,applyColor:al,buildColorExpression:ju,default:{name:"Religion",propertyKey:fu,palette:jn,families:Qr,getColor:Cu,applyColor:al,buildColorExpression:ju,fallback:Xr},getColor:Cu,getReligionFamily:Pu},Symbol.toStringTag,{value:"Module"})),ku="resourceType",ke={bible:"#3498db",jesusFilm:"#20c997",radio:"#9b59b6",gospel:"#f39c12",audio:"#1abc9c",stories:"#e74c3c",hasResources:"#27ae60",noResources:"#2c3e50"},of=ke,zi=["bible","jesusFilm","radio","gospel","audio","stories"],nl={bible:"Bible",jesusFilm:"Jesus Film",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",hasResources:"Has Resources",noResources:"No Resources"},rf=nl;function Vi(a){return{bible:"Bible",jesusFilm:"Jesus",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories"}[a]}function Gu(a){var n;for(const e of zi)if((a[e]||((n=a._raw)==null?void 0:n[Vi(e)]))==="Available")return ke.hasResources;return ke.noResources}function vu(a){var n;for(const e of zi)if((a[e]||((n=a._raw)==null?void 0:n[Vi(e)]))==="Available")return!0;return!1}function Au(a){var n;for(const e of zi)if((a[e]||((n=a._raw)==null?void 0:n[Vi(e)]))==="Available")return e;return"noResources"}function el(){return["case",["any",["==",["get","bible"],"Available"],["==",["get","jesusFilm"],"Available"],["==",["get","radio"],"Available"],["==",["get","gospel"],"Available"],["==",["get","audio"],"Available"],["==",["get","stories"],"Available"]],ke.hasResources,ke.noResources]}const Su=el,Eu=Object.assign({"./adoption.js":U5,"./affinity-block.js":H5,"./engagement.js":V5,"./geo-region.js":J5,"./language-family.js":Q5,"./prayer-progress.js":ef,"./religion.js":tf,"./resource.js":Object.freeze(Object.defineProperty({__proto__:null,NAMES:nl,PALETTE:ke,PROPERTY_KEY:ku,RESOURCE_COLORS:of,RESOURCE_NAMES:rf,RESOURCE_PRIORITY:zi,applyColor:el,buildColorExpression:Su,default:{name:"Gospel Resources",propertyKey:ku,palette:ke,colors:ke,names:nl,priority:zi,getColor:Gu,applyColor:el,buildColorExpression:Su,hasAnyResource:vu,getResourceType:Au,getCSVColumn:Vi},getCSVColumn:Vi,getColor:Gu,getResourceType:Au,hasAnyResource:vu},Symbol.toStringTag,{value:"Module"}))}),lf=a=>a.replace(/-([a-z0-9])/g,(n,e)=>e.toUpperCase()),sf=a=>a.replace(/-/g,"_").toUpperCase(),cf={...{STATUS:"status",CUSTOM:"custom"}};for(const a of Object.keys(Eu).sort()){const n=a.split("/").pop().replace(/\.js$/,"");if(n.startsWith("_")||n.startsWith(".")||!Eu[a].default)continue;const i=lf(n);cf[sf(n)]=i}const ln={Chamacoco:"Zamucoan",Ninam:"Yanomaman",Yagua:"Yaguan",Muinane:"Witotoan",Finnish:"Uralic","Hill Mari":"Uralic",Mansi:"Uralic","Meadow Mari":"Uralic","North Saami":"Uralic",Carabayo:"Unclassified",Kujarge:"Unclassified",Shabo:"Unclassified",Ainu:"Turkic",Kazakh:"Turkic","Khorasani Turkish":"Turkic",Kyrgyz:"Turkic","Northern Uzbek":"Turkic","South Azerbaijani":"Turkic",Turkish:"Turkic",Tuvan:"Turkic",Uyghur:"Turkic",Amundava:"Tupian",Araweté:"Tupian","Asurini of Xingú":"Tupian","Avá-Canoeiro":"Tupian",Awetí:"Tupian",Kamayurá:"Tupian",Karo:"Tupian",Morerebi:"Tupian",Tenharim:"Tupian","Uru-Eu-Wau-Wau":"Tupian","Uru-Pa-In":"Tupian",Wayampi:"Tupian","Zo’é":"Tupian",Evenki:"Tungusic",Xibe:"Tungusic",Carapana:"Tucanoan",Cubeo:"Tucanoan",Desano:"Tucanoan",Macuna:"Tucanoan",Piratapuyo:"Tucanoan",Siona:"Tucanoan",Siriano:"Tucanoan",Tucano:"Tucanoan",Tuyuca:"Tucanoan",Waimaha:"Tucanoan",Tay:"Trans-New Guinea",Adi:"Sino-Tibetan",Akha:"Sino-Tibetan","Amdo Tibetan":"Sino-Tibetan",Axi:"Sino-Tibetan",Biyo:"Sino-Tibetan","Boro (India)":"Sino-Tibetan",Brokkat:"Sino-Tibetan",Bugun:"Sino-Tibetan",Byangsi:"Sino-Tibetan","Central Lalo":"Sino-Tibetan","Central Tibetan":"Sino-Tibetan",Chak:"Sino-Tibetan",Chalikha:"Sino-Tibetan",Chaudangsi:"Sino-Tibetan",Chocangacakha:"Sino-Tibetan",Darlong:"Sino-Tibetan",Dhimal:"Sino-Tibetan","Digaro-Mishmi":"Sino-Tibetan",Dzalakha:"Sino-Tibetan","Eastern Nisu":"Sino-Tibetan",Ersu:"Sino-Tibetan",Gahri:"Sino-Tibetan",Gongduk:"Sino-Tibetan",Gyalsumdo:"Sino-Tibetan",Hani:"Sino-Tibetan","Idu-Mishmi":"Sino-Tibetan",Kaike:"Sino-Tibetan",Kanashi:"Sino-Tibetan",Katso:"Sino-Tibetan",Khamba:"Sino-Tibetan",Koireng:"Sino-Tibetan",Kucong:"Sino-Tibetan",Kurtokha:"Sino-Tibetan",Ladakhi:"Sino-Tibetan",Lakha:"Sino-Tibetan","Lang’e":"Sino-Tibetan",Lhokpu:"Sino-Tibetan",Lolopo:"Sino-Tibetan",Lunanakha:"Sino-Tibetan","Mandarin Chinese":"Sino-Tibetan",Meitei:"Sino-Tibetan","Miju-Mishmi":"Sino-Tibetan",Mpi:"Sino-Tibetan",Na:"Sino-Tibetan",Namuyi:"Sino-Tibetan",Narua:"Sino-Tibetan",Naxi:"Sino-Tibetan","Northern Muji":"Sino-Tibetan",Nuosu:"Sino-Tibetan",Nupbikha:"Sino-Tibetan",Nyenkha:"Sino-Tibetan",Olekha:"Sino-Tibetan",Pahari:"Sino-Tibetan",Pattani:"Sino-Tibetan","Phana’":"Sino-Tibetan",Phula:"Sino-Tibetan",Phunoi:"Sino-Tibetan",Puma:"Sino-Tibetan",Puroik:"Sino-Tibetan",Raji:"Sino-Tibetan",Rawat:"Sino-Tibetan",Sani:"Sino-Tibetan",Sherdukpen:"Sino-Tibetan",Sherpa:"Sino-Tibetan",Shuhi:"Sino-Tibetan",Sila:"Sino-Tibetan",Singpho:"Sino-Tibetan",Sunwar:"Sino-Tibetan","Tawang Monpa":"Sino-Tibetan",Tseku:"Sino-Tibetan",Tshangla:"Sino-Tibetan",Usoi:"Sino-Tibetan","Western Minyag":"Sino-Tibetan","Wusa Nasu":"Sino-Tibetan","Xiang Chinese":"Sino-Tibetan",Yakkha:"Sino-Tibetan","Youle Jinuo":"Sino-Tibetan","Yue Chinese":"Sino-Tibetan",Zakhring:"Sino-Tibetan","Afghan Sign Language":"Sign Language","Albanian Sign Language":"Sign Language","Algerian Sign Language":"Sign Language","American Sign Language":"Sign Language","Armenian Sign Language":"Sign Language","British Sign Language":"Sign Language","Bulgarian Sign Language":"Sign Language","Cambodian Sign Language":"Sign language","Cuban Sign Language":"Sign Language","Egyptian Sign Language":"Sign Language","Greek Sign Language":"Sign Language","Guinean Sign Language":"Sign Language","Hong Kong Sign Language":"Sign Language","Icelandic Sign Language":"Sign Language","Iranian Sign Language":"Sign Language","Israeli Sign Language":"Sign Language","Jamaican Sign Language":"Sign Language","Jordanian Sign Language":"Sign Language","Laos Sign Language":"Sign Language","Libyan Sign Language":"Sign Language","Maltese Sign Language":"Sign Language","Mauritian Sign Language":"Sign Language","Moroccan Sign Language":"Sign Language","Mozambican Sign Language":"Sign Language","Myanmar Sign Language":"Sign language","Natural Sign Language":"Sign Language","Pakistan Sign Language":"Sign Language","Papua New Guinean Sign Language":"Sign language","Russian Sign Language":"Sign Language","Saudi Arabian Sign Language":"Sign Language","Sign Language of the Netherlands":"Sign Language","Solomon Islands Sign Language":"Sign Language","Sri Lankan Sign Language":"Sign Language","Swedish Sign Language":"Sign Language","Turkish Sign Language":"Sign Language","Northern Conchucos Ancash Quechua":"Quechuan","Northern Pastaza Quichua":"Quechuan",Hupdë:"Puinavean",Amahuaca:"Panoan",Korubo:"Panoan",Sharanahua:"Panoan","Shipibo-Conibo":"Panoan",Yaminahua:"Panoan",Yawanawa:"Panoan",Afitti:"Nilo-Saharan",Assangori:"Nilo-Saharan","Beli (South Sudan)":"Nilo-Saharan",Berta:"Nilo-Saharan",Burun:"Nilo-Saharan","Dar Daju Daju":"Nilo-Saharan","Dar Fur Daju":"Nilo-Saharan","Dar Sila Daju":"Nilo-Saharan",Dazaga:"Nilo-Saharan","Dendi (Benin)":"Nilo-Saharan",Dilling:"Nilo-Saharan",Fur:"Nilo-Saharan",Gbaya:"Nilo-Saharan",Ghulfan:"Nilo-Saharan",Gwama:"Nilo-Saharan","Humburi Senni Songhay":"Nilo-Saharan",Jopadhola:"Nilo-Saharan",Kadaru:"Nilo-Saharan",Kanga:"Nilo-Saharan",Karanga:"Nilo-Saharan",Karko:"Nilo-Saharan",Kebu:"Nilo-Saharan",Keiga:"Nilo-Saharan",Keliko:"Nilo-Saharan",Kendeje:"Nilo-Saharan",Kibet:"Nilo-Saharan","Komo (Sudan)":"Nilo-Saharan",Korandje:"Nilo-Saharan",Kulfa:"Nilo-Saharan",Kwegu:"Nilo-Saharan",Laarim:"Nilo-Saharan",Logorik:"Nilo-Saharan",Majang:"Nilo-Saharan","Manga Kanuri":"Nilo-Saharan",Mango:"Nilo-Saharan",Mararit:"Nilo-Saharan",Marfa:"Nilo-Saharan",Midob:"Nilo-Saharan","Mo’da":"Nilo-Saharan",Morom:"Nilo-Saharan",Moru:"Nilo-Saharan",Naba:"Nilo-Saharan",Nara:"Nilo-Saharan",Njalgulgule:"Nilo-Saharan",Nuer:"Nilo-Saharan","Nyamusa-Molo":"Nilo-Saharan",Nyangatom:"Nilo-Saharan","Olu’bo":"Nilo-Saharan",Opo:"Nilo-Saharan",Päri:"Nilo-Saharan","Sara Kaba Naa":"Nilo-Saharan",Surbakhal:"Nilo-Saharan",Tadaksahak:"Nilo-Saharan","Tama (Chad)":"Nilo-Saharan",Temein:"Nilo-Saharan",Thuri:"Nilo-Saharan","Tirmaga-Chai Suri":"Nilo-Saharan",Toposa:"Nilo-Saharan",Tumtum:"Nilo-Saharan","Wali (Sudan)":"Nilo-Saharan","Yerwa Kanuri":"Nilo-Saharan",Yulu:"Nilo-Saharan",Zaghawa:"Nilo-Saharan","Adamawa Fulfulde":"Niger-Congo",Akaselem:"Niger-Congo","Amba (Uganda)":"Niger-Congo",Anii:"Niger-Congo",Baangi:"Niger-Congo",Badyara:"Niger-Congo","Bago-Kusuntu":"Niger-Congo",Bai:"Niger-Congo","Bainouk-Gunyaamolo":"Niger-Congo",Bamanankan:"Niger-Congo","Banda-Mbrès":"Niger-Congo",Bandial:"Niger-Congo",Bankagooma:"Niger-Congo","Belanda Viri":"Niger-Congo",Bemba:"Niger-Congo",Bolgo:"Niger-Congo","Bon Gula":"Niger-Congo",Bua:"Niger-Congo",Chichewa:"Niger-Congo","Chung (Cameroon)":"Niger-Congo","Ci Gbe":"Niger-Congo",Degema:"Niger-Congo",Dek:"Niger-Congo",Dhimba:"Niger-Congo",Dogoso:"Niger-Congo","East Limba":"Niger-Congo",Engenni:"Niger-Congo",Epie:"Niger-Congo",Éwé:"Niger-Congo",Fania:"Niger-Congo",Foodo:"Niger-Congo",Fwe:"Niger-Congo",Gciriku:"Niger-Congo",Gwa:"Niger-Congo",Herero:"Niger-Congo",Ibuoro:"Niger-Congo","Jenaama Bozo":"Niger-Congo",Jita:"Niger-Congo",Jula:"Niger-Congo",Kabiyè:"Niger-Congo",Kadung:"Niger-Congo",Kakabe:"Niger-Congo",Kalamsé:"Niger-Congo","Kami (Tanzania)":"Niger-Congo","Kango (Bas-Uélé District)":"Niger-Congo",Kasem:"Niger-Congo","Kelengaxo Bozo":"Niger-Congo",Khe:"Niger-Congo",Khisa:"Niger-Congo",Kim:"Niger-Congo",Kinyarwanda:"Niger-Congo",Kipfokomu:"Niger-Congo",Kitharaka:"Niger-Congo",Kiyombe:"Niger-Congo",Ko:"Niger-Congo",Koalib:"Niger-Congo",Koke:"Niger-Congo",Konongo:"Niger-Congo","Koro Nulu":"Niger-Congo","Koro Zuba":"Niger-Congo",Kuhane:"Niger-Congo",Kunda:"Niger-Congo",Kuranko:"Niger-Congo",Kuria:"Niger-Congo",Kwangali:"Niger-Congo",Lame:"Niger-Congo",Laru:"Niger-Congo",Lopa:"Niger-Congo","Makhuwa-Meetto":"Niger-Congo","Makhuwa-Shirima":"Niger-Congo","Malawi Nyiha":"Niger-Congo",Mandinka:"Niger-Congo",Mankanya:"Niger-Congo",Mansoanka:"Niger-Congo",Mbukushu:"Niger-Congo","Mende (Sierra Leone)":"Niger-Congo",Miyobe:"Niger-Congo",Mushungulu:"Niger-Congo","Mwali Comorian":"Niger-Congo","Mwera (Chimwera)":"Niger-Congo",Ndemli:"Niger-Congo",Ndengereko:"Niger-Congo",Ndumu:"Niger-Congo",Ndunga:"Niger-Congo","Ndzwani Comorian":"Niger-Congo",Ngile:"Niger-Congo","Northwest Gbaya":"Niger-Congo",Notre:"Niger-Congo",Nyamwanga:"Niger-Congo",Nyankore:"Niger-Congo",Nyengo:"Niger-Congo",Okpamheri:"Niger-Congo",Osatu:"Niger-Congo","Pana (Burkina Faso)":"Niger-Congo",Pulaar:"Niger-Congo",Pular:"Niger-Congo",Rufiji:"Niger-Congo","Sankaran Maninka":"Niger-Congo",Sapo:"Niger-Congo","Senara Sénoufo":"Niger-Congo",Shanga:"Niger-Congo",Sininkere:"Niger-Congo","Southern Ngbandi":"Niger-Congo",Swahili:"Niger-Congo","Syenara Sénoufo":"Niger-Congo",Tagbu:"Niger-Congo",Tagoi:"Niger-Congo",Tegali:"Niger-Congo",Tem:"Niger-Congo","Tiéyaxo Bozo":"Niger-Congo",Tiyaa:"Niger-Congo",Tocho:"Niger-Congo","Tonga (Zambia)":"Niger-Congo",Totela:"Niger-Congo","Toura (Côte d’Ivoire)":"Niger-Congo",Tswa:"Niger-Congo",Tumbuka:"Niger-Congo",Ukaan:"Niger-Congo",Uneme:"Niger-Congo",Vai:"Niger-Congo",Vute:"Niger-Congo",Waama:"Niger-Congo",Warnang:"Niger-Congo",Wolof:"Niger-Congo",Yao:"Niger-Congo",Yauma:"Niger-Congo",Yom:"Niger-Congo","Zan Gula":"Niger-Congo",Zande:"Niger-Congo",Zigula:"Niger-Congo",Mamaindê:"Nambikwara",Aghul:"Nakh-Daghestanian",Akhvakh:"Nakh-Daghestanian",Andi:"Nakh-Daghestanian",Avar:"Nakh-Daghestanian",Bagvalal:"Nakh-Daghestanian",Botlikh:"Nakh-Daghestanian",Chamalal:"Nakh-Daghestanian",Chechen:"Nakh-Daghestanian",Dargwa:"Nakh-Daghestanian",Kaitag:"Nakh-Daghestanian",Karata:"Nakh-Daghestanian",Khvarshi:"Nakh-Daghestanian",Tindi:"Nakh-Daghestanian",Pirahã:"Muran",Bonan:"Mongolic","China Buriat":"Mongolic",Daur:"Mongolic","Kalmyk-Oirat":"Mongolic","Peripheral Mongolian":"Mongolic","Russia Buriat":"Mongolic",Tagdal:"Mixed language",Wutunhua:"Mixed language","Ashéninka Perené":"Maipurean",Baniwa:"Maipurean",Cabiyarí:"Maipurean",Curripaco:"Maipurean","Enawené-Nawé":"Maipurean",Kanamarí:"Maipurean",Mehináku:"Maipurean","Pichis Ashéninka":"Maipurean",Waurá:"Maipurean",Bangime:"Language isolate",Burushaski:"Language isolate","Ai-Cham":"Kra-Dai",Aiton:"Kra-Dai","Dai Zhuang":"Kra-Dai",Duoluo:"Kra-Dai","Green Gelao":"Kra-Dai","Guibian Zhuang":"Kra-Dai",Hlai:"Kra-Dai",Jiamao:"Kra-Dai",Kang:"Kra-Dai",Khün:"Kra-Dai",Kuan:"Kra-Dai",Lachi:"Kra-Dai","Laha (Viet Nam)":"Kra-Dai",Lao:"Kra-Dai",Lü:"Kra-Dai","Mak (China)":"Kra-Dai","Northeastern Thai":"Kra-Dai","Northern Dong":"Kra-Dai","Northern Thai":"Kra-Dai",Nyaw:"Kra-Dai",Phake:"Kra-Dai","Phu Thai":"Kra-Dai",Qabiao:"Kra-Dai",Qau:"Kra-Dai","Qiubei Zhuang":"Kra-Dai",Shan:"Kra-Dai","Southern Dong":"Kra-Dai",Sui:"Kra-Dai","T’en":"Kra-Dai","Tai Daeng":"Kra-Dai","Tai Dam":"Kra-Dai","Tai Hongjin":"Kra-Dai","Tai Nüa":"Kra-Dai","Tai Ya":"Kra-Dai","Tai Yo":"Kra-Dai","Ts’ün-Lao":"Kra-Dai","Yang Zhuang":"Kra-Dai",Yerong:"Kra-Dai",Yong:"Kra-Dai",Yoy:"Kra-Dai",Khoekhoe:"Khoe-Kwadi",Karajá:"Karajá","Pará Gavião":"Jean",Suyá:"Jean",Japanese:"Japonic","Oki-No-Erabu":"Japonic","Toku-No-Shima":"Japonic",Yaeyama:"Japonic",Yoron:"Japonic","Adivasi Oriya":"Indo-European",Afrikaans:"Indo-European","Alviri-Vidari":"Indo-European",Angika:"Indo-European",Assamese:"Indo-European",Bagheli:"Indo-European",Bagri:"Indo-European",Bashkardi:"Indo-European",Bateri:"Indo-European",Bengali:"Indo-European",Bhojpuri:"Indo-European",Bhunjia:"Indo-European",Bilaspuri:"Indo-European",Bosnian:"Indo-European","Braj Bhasha":"Indo-European",Brokskat:"Indo-European",Bundeli:"Indo-European",Catalan:"Indo-European",Chambeali:"Indo-European",Chhattisgarhi:"Indo-European",Dameli:"Indo-European",Dari:"Indo-European",Dhundari:"Indo-European",Dogri:"Indo-European",Domari:"Indo-European",Dutch:"Indo-European","Eastern Balochi":"Indo-European","Eastern Panjabi":"Indo-European","Eastern Yiddish":"Indo-European",English:"Indo-European",French:"Indo-European",Gaddi:"Indo-European",Garhwali:"Indo-European",Gawri:"Indo-European",Gowro:"Indo-European",Gujarati:"Indo-European",Gujari:"Indo-European",Halbi:"Indo-European",Haroti:"Indo-European",Haryanvi:"Indo-European",Hindi:"Indo-European","Indus Kohistani":"Indo-European","Iranian Persian":"Indo-European",Ishkashimi:"Indo-European",Kacchi:"Indo-European",Kalkoti:"Indo-European",Kanauji:"Indo-European",Kangri:"Indo-European",Karingani:"Indo-European",Kashmiri:"Indo-European",Kati:"Indo-European",Khunsari:"Indo-European",Konkani:"Indo-European",Kudmali:"Indo-European",Kumaoni:"Indo-European",Kumzari:"Indo-European",Laki:"Indo-European",Lasi:"Indo-European",Luwati:"Indo-European",Magahi:"Indo-European",Maithili:"Indo-European",Maldivian:"Indo-European",Malvi:"Indo-European",Marathi:"Indo-European","Marwari (India)":"Indo-European",Mewari:"Indo-European",Munji:"Indo-European",Nepali:"Indo-European",Nimadi:"Indo-European","Northern Kurdish":"Indo-European",Odia:"Indo-European","Pahari-Potwari":"Indo-European",Palula:"Indo-European",Panchpargania:"Indo-European",Pangwali:"Indo-European",Parachi:"Indo-European",Portuguese:"Indo-European",Russian:"Indo-European",Sadri:"Indo-European",Sanglechi:"Indo-European",Sarikoli:"Indo-European",Savi:"Indo-European",Semnani:"Indo-European",Serbian:"Indo-European",Shabak:"Indo-European",Shahrudi:"Indo-European",Shekhawati:"Indo-European",Shina:"Indo-European",Shughni:"Indo-European",Shumashti:"Indo-European",Sindhi:"Indo-European",Sivandi:"Indo-European",Soi:"Indo-European","Southern Balochi":"Indo-European",Spanish:"Indo-European",Tajik:"Indo-European",Talysh:"Indo-European",Urdu:"Indo-European",Ushojo:"Indo-European",Vaghri:"Indo-European","Vlax Romani":"Indo-European",Wagdi:"Indo-European",Wakhi:"Indo-European",Waneci:"Indo-European","Western Balochi":"Indo-European",Yadgha:"Indo-European","Bu-Nao Bunu":"Hmong-Mien","Central Mashan Miao":"Hmong-Mien","Chuanqiandian Cluster Miao":"Hmong-Mien","Eastern Xiangxi Miao":"Hmong-Mien","Iu Mien":"Hmong-Mien","Luopohe Miao":"Hmong-Mien","Northern Qiandong Miao":"Hmong-Mien","Pa-Hng":"Hmong-Mien","Southwestern Huishui Miao":"Hmong-Mien","Wunai Bunu":"Hmong-Mien","Younuo Bunu":"Hmong-Mien",Amarakaeri:"Harákmbut",Huachipaeri:"Harákmbut",Cuiba:"Guajiboan",Macaguán:"Guajiboan",Tlicho:"Eyak-Athabaskan",Kannada:"Dravidian",Kodava:"Dravidian","Korra Koraga":"Dravidian","Kota (India)":"Dravidian",Kudiya:"Dravidian",Malapandaram:"Dravidian",Malayalam:"Dravidian",Muthuvan:"Dravidian",Ravula:"Dravidian",Sholaga:"Dravidian",Tamil:"Dravidian",Telugu:"Dravidian",Tulu:"Dravidian",Vishavan:"Dravidian","Andaman Hindi Creole":"Creole","Cocos Islands Malay":"Creole","Juba Arabic":"Creole",Nubi:"Creole",Barí:"Chibchan","Barro Negro Tunebo":"Chibchan","Western Tunebo":"Chibchan",Ikpeng:"Cariban","Kuikúro-Kalapálo":"Cariban",Pemon:"Cariban",Trió:"Cariban","Waimiri-Atroarí":"Cariban",Waiwai:"Cariban",Yukpa:"Cariban",Borôro:"Bororoan",Chachi:"Barbacoan","Abai Sungai":"Austronesian",Ambelau:"Austronesian",Asilulu:"Austronesian",Balaesang:"Austronesian","Batak Alas-Kluet":"Austronesian","Batak Dairi":"Austronesian","Batak Karo":"Austronesian",Bonerate:"Austronesian",Bonggi:"Austronesian",Brunei:"Austronesian","Brunei Bisaya":"Austronesian",Buol:"Austronesian","Central Malay":"Austronesian","Central Sama":"Austronesian","Coastal Konjo":"Austronesian",Dampelas:"Austronesian","Dibabawon Manobo":"Austronesian",Dondo:"Austronesian",Gane:"Austronesian","Geser-Gorom":"Austronesian","Highland Konjo":"Austronesian",Hitu:"Austronesian",Iban:"Austronesian",Indonesian:"Austronesian","Kadazan Dusun":"Austronesian",Kiput:"Austronesian",Komodo:"Austronesian",Kompane:"Austronesian",Lahanan:"Austronesian","Lampung Nyo":"Austronesian","Larike-Wakasihu":"Austronesian",Lola:"Austronesian",Luhu:"Austronesian",Malay:"Austronesian",Mariri:"Austronesian",Moronene:"Austronesian",Rukai:"Austronesian","Sabah Bisaya":"Austronesian","Seit-Kaitetu":"Austronesian",Sula:"Austronesian","Tae’":"Austronesian",Tajio:"Austronesian",Tomini:"Austronesian",Tutong:"Austronesian",Ujir:"Austronesian",Aheu:"Austro-Asiatic",Alak:"Austro-Asiatic",Bit:"Austro-Asiatic","Bo (Laos)":"Austro-Asiatic",Bondo:"Austro-Asiatic",Brao:"Austro-Asiatic",Bugan:"Austro-Asiatic",Chong:"Austro-Asiatic",Chut:"Austro-Asiatic",Danau:"Austro-Asiatic",Halang:"Austro-Asiatic","Halang Doan":"Austro-Asiatic",Hu:"Austro-Asiatic",Hung:"Austro-Asiatic",Ir:"Austro-Asiatic",Kensiu:"Austro-Asiatic",Khmu:"Austro-Asiatic",Khua:"Austro-Asiatic",Khuen:"Austro-Asiatic",Koda:"Austro-Asiatic","Kon Keu":"Austro-Asiatic",Kriang:"Austro-Asiatic",Kuay:"Austro-Asiatic",Laven:"Austro-Asiatic",Maleng:"Austro-Asiatic","Man Met":"Austro-Asiatic",Mang:"Austro-Asiatic",Minriq:"Austro-Asiatic",Mlabri:"Austro-Asiatic",Nguôn:"Austro-Asiatic",Nyaheun:"Austro-Asiatic",Nyahkur:"Austro-Asiatic","O’du":"Austro-Asiatic",Ong:"Austro-Asiatic",Oy:"Austro-Asiatic",Pacoh:"Austro-Asiatic","Phong-Kniang":"Austro-Asiatic",Prai:"Austro-Asiatic",Puoc:"Austro-Asiatic",Rengao:"Austro-Asiatic",Rmeet:"Austro-Asiatic","Rumai Palaung":"Austro-Asiatic",Sapuan:"Austro-Asiatic","Shwe Palaung":"Austro-Asiatic","So (Laos)":"Austro-Asiatic",Sou:"Austro-Asiatic","Tai Loi":"Austro-Asiatic",Talieng:"Austro-Asiatic",Tareng:"Austro-Asiatic",Tho:"Austro-Asiatic",U:"Austro-Asiatic","Upper Ta’oih":"Austro-Asiatic",Vietnamese:"Austro-Asiatic","Western Katu":"Austro-Asiatic",Suruahá:"Arauan",Jarawa:"Andamanese",Öñge:"Andamanese",Sentinel:"Andamanese",Afar:"Afro-Asiatic","Alaba-K’abeena":"Afro-Asiatic",Alagwa:"Afro-Asiatic",Ale:"Afro-Asiatic","Algerian Arabic":"Afro-Asiatic",Amharic:"Afro-Asiatic",Arbore:"Afro-Asiatic","Baharna Arabic":"Afro-Asiatic",Barein:"Afro-Asiatic",Bedawiyet:"Afro-Asiatic",Bidiyo:"Afro-Asiatic",Bilen:"Afro-Asiatic",Birgit:"Afro-Asiatic",Boor:"Afro-Asiatic","Borana-Arsi-Guji Oromo":"Afro-Asiatic",Buduma:"Afro-Asiatic","Central Atlas Tamazight":"Afro-Asiatic","Chadian Arabic":"Afro-Asiatic",Chenoua:"Afro-Asiatic",Ciwogai:"Afro-Asiatic",Daasanach:"Afro-Asiatic",Dabarre:"Afro-Asiatic",Dangaléat:"Afro-Asiatic",Deno:"Afro-Asiatic",Diri:"Afro-Asiatic",Duwai:"Afro-Asiatic","Eastern Egyptian Bedawi Arabic":"Afro-Asiatic","Eastern Oromo":"Afro-Asiatic",Garre:"Afro-Asiatic",Geruma:"Afro-Asiatic",Giiwo:"Afro-Asiatic",Gorowa:"Afro-Asiatic","Gulf Arabic":"Afro-Asiatic","Hadrami Arabic":"Afro-Asiatic",Harsusi:"Afro-Asiatic",Hassaniyya:"Afro-Asiatic",Hausa:"Afro-Asiatic",Hebrew:"Afro-Asiatic","Hijazi Arabic":"Afro-Asiatic",Hobyót:"Afro-Asiatic",Hozo:"Afro-Asiatic",Jiiddu:"Afro-Asiatic",Jimi:"Afro-Asiatic",Jina:"Afro-Asiatic","Jonkor Bourmataguil":"Afro-Asiatic","Judeo-Iraqi Arabic":"Afro-Asiatic","Judeo-Moroccan Arabic":"Afro-Asiatic",Kabalai:"Afro-Asiatic",Kajakse:"Afro-Asiatic",Kariya:"Afro-Asiatic","Karo (Ethiopia)":"Afro-Asiatic",Kutto:"Afro-Asiatic","Levantine Arabic":"Afro-Asiatic",Libido:"Afro-Asiatic","Libyan Arabic":"Afro-Asiatic","Lishana Deni":"Afro-Asiatic",Maaka:"Afro-Asiatic",Maay:"Afro-Asiatic",Majera:"Afro-Asiatic",Male:"Afro-Asiatic",Maslam:"Afro-Asiatic",Masmaje:"Afro-Asiatic",Mburku:"Afro-Asiatic",Mehri:"Afro-Asiatic","Mesopotamian Arabic":"Afro-Asiatic",Migaama:"Afro-Asiatic",Mogum:"Afro-Asiatic","Moroccan Arabic":"Afro-Asiatic",Mositacha:"Afro-Asiatic",Mubi:"Afro-Asiatic",Mukulu:"Afro-Asiatic",Nafusi:"Afro-Asiatic","Najdi Arabic":"Afro-Asiatic",Nyam:"Afro-Asiatic","Omani Arabic":"Afro-Asiatic","Pa’a":"Afro-Asiatic",Saba:"Afro-Asiatic",Saho:"Afro-Asiatic","Sanaani Arabic":"Afro-Asiatic",Seze:"Afro-Asiatic",Shehri:"Afro-Asiatic",Shekkacho:"Afro-Asiatic",Sheko:"Afro-Asiatic","Shihhi Arabic":"Afro-Asiatic",Siwi:"Afro-Asiatic",Sokoro:"Afro-Asiatic",Soqotri:"Afro-Asiatic","South Levantine Arabic":"Afro-Asiatic","Standard Arabic":"Afro-Asiatic","Sudanese Arabic":"Afro-Asiatic","Ta’izzi-Adeni Arabic":"Afro-Asiatic","Tahaggart Tamahaq":"Afro-Asiatic",Taznatit:"Afro-Asiatic",Tigré:"Afro-Asiatic",Toram:"Afro-Asiatic",Tsamai:"Afro-Asiatic",Tumzabt:"Afro-Asiatic",Tunni:"Afro-Asiatic",Waata:"Afro-Asiatic","West Central Oromo":"Afro-Asiatic",Xamtanga:"Afro-Asiatic",Zumbun:"Afro-Asiatic"};function gf(a){return(a==null?void 0:a.properties)||a||{}}function io(a){return a&&typeof a=="object"&&"label"in a?a.label||a.value||"":a}function uf(a){if(!a||typeof a!="string")return null;const n=a.split(",").map(i=>i.trim()).filter(Boolean);if(n.length>=2){const i=[...n].reverse().join(" ");if(ln[i])return ln[i];if(n.length>=3){const t=[n[1],n[0]].join(" ");if(ln[t])return ln[t]}}if(ln[a])return ln[a];const e=a.replace(/\s*\(.*?\)\s*$/,"").trim();return e!==a&&ln[e]?ln[e]:null}const df=[[/ sign language$/i,"Sign Language"]];function pf(a){if(!a||typeof a!="string")return"— Unknown —";const n=a.indexOf(",");return n>0?a.slice(0,n).trim():a.trim()}function mf(a){if(!a||typeof a!="string")return null;const n=a.indexOf(",");return n>=0&&a.slice(n+1).trim()||null}function hf(a){var r,l,s,g;const n=a.language_family??a.languageFamily??((r=a._raw)==null?void 0:r.LanguageFamily)??((l=a._raw)==null?void 0:l.language_family),e=io(n),i=Yr(e);if(i&&i!=="Unknown")return i;const t=a.primary_language??a.primaryLanguage??((s=a._raw)==null?void 0:s.PrimaryLanguage)??((g=a._raw)==null?void 0:g.primary_language),o=io(t);if(o){const d=String(o).trim(),_=uf(d);if(_)return _;for(const[k,x]of df)if(k.test(d))return x}return"Unknown"}function yf(a){var t,o;const n=((t=a._raw)==null?void 0:t.primary_language)??((o=a._raw)==null?void 0:o.PrimaryLanguage);if(n){const r=io(n);if(r)return String(r).trim()}const e=a.primary_language??a.primaryLanguage??a.language,i=io(e);return i&&String(i).trim()||"— Unknown —"}function bf(a){var e,i;const n=a.population??((e=a._raw)==null?void 0:e.Population)??((i=a._raw)==null?void 0:i.population)??0;return parseInt(n,10)||0}function _f(a,n){var e,i;return(a==null?void 0:a.id)??n.id??n.peopleGroupId??((e=n._raw)==null?void 0:e.PeopleID3)??((i=n._raw)==null?void 0:i.PeopleID)??null}function ff(a,n){return(a==null?void 0:a.clusterId)??n.clusterId??null}function Pf(a,n){var t,o,r,l;const e=parseFloat(n.latitude??n.lat??((t=n._raw)==null?void 0:t.Latitude)??((o=n._raw)==null?void 0:o.latitude)),i=parseFloat(n.longitude??n.lng??((r=n._raw)==null?void 0:r.Longitude)??((l=n._raw)==null?void 0:l.longitude));return!isFinite(e)||!isFinite(i)?null:[i,e]}function Cf(a,n){return n.peopleGroupCount!==a.peopleGroupCount?n.peopleGroupCount-a.peopleGroupCount:(n.population||0)-(a.population||0)}function to(a,n){return(n.population||0)!==(a.population||0)?(n.population||0)-(a.population||0):n.peopleGroupCount-a.peopleGroupCount}function jf(a,n={}){n.aggregator;const e=pi({});function i(T){return!!e[T]}function t(T){e[T]=!e[T]}function o(T){const $=new Set(Array.isArray(T)?T:[]);for(const w of Object.keys(e))$.has(w)||(e[w]=!1);for(const w of $)e[w]=!0}const r=la(()=>{const T=(a==null?void 0:a.value)||[],$=new Map;for(const w of T){const L=gf(w),E=hf(L),I=yf(L),G=pf(I),S=mf(I),v=bf(L),K=_f(w,L),O=ff(w,L),q=Pf(w,L);let sa=$.get(E);sa||(sa={key:E,peopleGroupCount:0,population:0,pinIds:[],coords:[],clusterId:null,languages:new Map},$.set(E,sa)),sa.peopleGroupCount+=1,sa.population+=v,K!=null&&sa.pinIds.push(K),q&&sa.coords.push(q),O&&!sa.clusterId&&(sa.clusterId=O);let ea=sa.languages.get(G);if(ea||(ea={key:G,peopleGroupCount:0,population:0,pinIds:[],coords:[],clusterId:null,dialects:new Map},sa.languages.set(G,ea)),ea.peopleGroupCount+=1,ea.population+=v,K!=null&&ea.pinIds.push(K),q&&ea.coords.push(q),O&&!ea.clusterId&&(ea.clusterId=O),S){let ga=ea.dialects.get(S);ga?ga.originalLabels.add(I):(ga={key:S,peopleGroupCount:0,population:0,pinIds:[],coords:[],originalLabels:new Set([I])},ea.dialects.set(S,ga)),ga.peopleGroupCount+=1,ga.population+=v,K!=null&&ga.pinIds.push(K),q&&ga.coords.push(q)}}return $}),l=n.showAllKnown!==!1,s=la(()=>{const T=r.value,$=[],w=new Set;for(const L of T.values())$.push({key:L.key,label:L.key,color:Hn(L.key),peopleGroupCount:L.peopleGroupCount,population:L.population,kind:L.clusterId?"cluster":"family",clusterId:L.clusterId||void 0,pinIds:L.pinIds,coords:L.coords}),w.add(L.key);if(l)for(const L of Object.keys(se))w.has(L)||$.push({key:L,label:L,color:Hn(L),peopleGroupCount:0,population:0,kind:"family",pinIds:[],coords:[]});return $.sort(Cf),$});function g(T){const $=r.value.get(T);if(!$)return[];const w=[];for(const L of $.languages.values())w.push({key:`${T}__${L.key}`,label:L.key,color:Hn(T),peopleGroupCount:L.peopleGroupCount,population:L.population,kind:L.clusterId?"cluster":"language",familyKey:T,clusterId:L.clusterId||void 0,pinIds:L.pinIds,coords:L.coords,hasDialects:L.dialects.size>0});return w.sort(to),w}function d(T){const $=T.indexOf("__");if($<0)return[];const w=T.slice(0,$),L=T.slice($+2),E=r.value.get(w);if(!E)return[];const I=E.languages.get(L);if(!I)return[];const G=[];for(const S of I.dialects.values())G.push({key:`${T}__${S.key}`,label:`${L}, ${S.key}`,dialectOnly:S.key,color:Hn(w),peopleGroupCount:S.peopleGroupCount,population:S.population,kind:"dialect",languageKey:L,familyKey:w,pinIds:S.pinIds,coords:S.coords,originalLabels:Array.from(S.originalLabels)});return G.sort(to),G}const _=la(()=>{const T=r.value,$=[];for(const w of T.values())for(const L of w.languages.values())$.push({key:`${w.key}__${L.key}`,label:L.key,color:Hn(w.key),peopleGroupCount:L.peopleGroupCount,population:L.population,kind:L.clusterId?"cluster":"language",familyKey:w.key,clusterId:L.clusterId||void 0,pinIds:L.pinIds,coords:L.coords,hasDialects:L.dialects.size>0});return $.sort(to),$}),k=la(()=>{const T=r.value,$=[];for(const w of T.values())for(const L of w.languages.values())for(const E of L.dialects.values())$.push({key:`${w.key}__${L.key}__${E.key}`,label:`${L.key}, ${E.key}`,dialectOnly:E.key,color:Hn(w.key),peopleGroupCount:E.peopleGroupCount,population:E.population,kind:"dialect",languageKey:L.key,familyKey:w.key,pinIds:E.pinIds,coords:E.coords,originalLabels:Array.from(E.originalLabels)});return $.sort(to),$});function x(T){let $=T;if(typeof T=="string"&&($=s.value.find(L=>L.key===T),!$))return;const w={kind:$.kind,pinIds:$.pinIds||[],coords:$.coords||[]};$.kind==="family"&&(w.familyKey=$.label),$.kind==="language"&&(w.languageKey=$.label,w.familyKey=$.familyKey),$.kind==="dialect"&&(w.dialectKey=$.key,w.dialectOnly=$.dialectOnly||$.label,w.languageKey=$.languageKey,w.familyKey=$.familyKey,w.originalLabels=$.originalLabels||[]),$.kind==="cluster"&&(w.clusterId=$.clusterId),typeof window<"u"&&typeof window.CustomEvent=="function"&&window.dispatchEvent(new CustomEvent("legend:highlight",{detail:w}))}const D=la(()=>{const T=r.value,$=[];for(const w of T.values()){const L=Hn(w.key),E=[];for(const G of w.languages.values()){G.key&&G.key!=="— Unknown —"&&E.push(G.key);for(const S of G.dialects.values())for(const v of S.originalLabels)v&&E.push(v)}const I={id:`fam:${w.key}`,label:w.key,color:L,count:w.peopleGroupCount,pop:w.population,filter:E.length>0?["any",["==",["get","languageFamily"],w.key],["in",["get","language"],["literal",Array.from(new Set(E))]]]:["==",["get","languageFamily"],w.key],children:[]};for(const G of w.languages.values()){const S=G.key,v={id:`lang:${w.key}__${S}`,label:S,color:L,count:G.peopleGroupCount,pop:G.population,filter:["any",["==",["get","language"],S],["==",["slice",["get","language"],0,S.length+1],S+","],["in"," "+S,["get","language"]]],children:[]};for(const K of G.dialects.values()){const O=Array.from(K.originalLabels);v.children.push({id:`dial:${w.key}__${S}__${K.key}`,label:`${S}, ${K.key}`,color:L,count:K.peopleGroupCount,pop:K.population,filter:O.length===1?["==",["get","language"],O[0]]:["in",["get","language"],["literal",O]],originalLabels:O,children:[]})}I.children.push(v)}$.push(I)}return $.sort((w,L)=>L.pop-w.pop||L.count-w.count),$});return{rows:s,languageRows:_,dialectRows:k,langTree:D,toggle:t,isExpanded:i,setExpansionToOnly:o,childRowsFor:g,dialectRowsFor:d,highlight:x}}const kf={key:0,class:"fc-loading"},Gf={class:"fc-modes",role:"tablist","aria-label":"Cluster by"},vf=["aria-selected","onClick"],Af={class:"fc-circle"},Sf={class:"fc-mode-lbl"},Ef={class:"fc-mode-sz"},Mf={key:1,class:"fc-stats"},If={key:2,class:"fc-legend"},wf={class:"fc-lrow"},xf={class:"fc-lrow"},Tf={key:3,class:"fc-footer"},ti="#e11d48",Yi="#9f1239",Wi="#002e6e",Nf="#f59e0b",il="fc-core-src",Mu="fc-green-src",Iu="fc-link-src",Te="fc-core",wu="fc-core-lbl",oo="fc-green",Ji="fc-link",Lf={__name:"FlowerClusters",setup(a){function n(u){const A=+u||0;return A>=80?"#0f7a3d":A>=40?"#1f9d55":A>=15?"#5cb874":"#9bcf9b"}const e=Ya("profileConfig"),i=Ya("mapboxToken"),t=la(()=>(e==null?void 0:e.value)||{}),o=ua(null),r=ua(null),l=ua(!1),s=ua("Clustering the harvest by language…"),g=ua("language"),d=ua(null),_=ua([]),{rows:k,languageRows:x}=jf(_,{showAllKnown:!1});function D(u){return u&&typeof u=="object"?u.label||u.value||"":u||""}const T=la(()=>{const u=new Map;for(const A of _.value){const j=(D(A.primary_language)||"— Unknown —").trim(),c=parseFloat(A.latitude),P=parseFloat(A.longitude);let p=u.get(j);p||(p={key:"full:"+j,label:j,color:ti,peopleGroupCount:0,population:0,coords:[],originalLabels:[j]},u.set(j,p)),p.peopleGroupCount++,p.population+=parseInt(A.population,10)||0,isFinite(c)&&isFinite(P)&&p.coords.push([P,c])}return[...u.values()].sort((A,j)=>j.peopleGroupCount-A.peopleGroupCount)});function $(u){if(!u||typeof u!="string")return"";const A=u.indexOf(",");return(A>0?u.slice(0,A):u).trim()}function w(u){return(u||"").trim()}function L(u){if(!u||typeof u!="string")return"Unknown";const A=u.split(",").map(c=>c.trim()).filter(Boolean);if(A.length>=2){const c=[...A].reverse().join(" ");if(ln[c])return ln[c];if(A.length>=3){const P=[A[1],A[0]].join(" ");if(ln[P])return ln[P]}}if(ln[u])return ln[u];const j=u.replace(/\s*\(.*?\)\s*$/,"").trim();return j!==u&&ln[j]?ln[j]:/ sign language$/i.test(u)?"Sign Language":"Unknown"}const E=la(()=>{const u=[],A=new Set;for(const j of Object.values(ee.countries||{}))for(const c of j.neighbors||[]){const P=Number(c.lat),p=Number(c.lng);if(!isFinite(P)||!isFinite(p))continue;const M=(c.code||c.name)+"|"+c.country;A.has(M)||(A.add(M),u.push({id:M,name:c.name,country:c.country,lang:c.lang,pct:c.pct_christian||0,pop:c.pop||0,lat:P,lng:p,family:L(c.lang),base:$(c.lang),full:w(c.lang)}))}return u});function I(u){let A=0,j=0,c=0;for(const P of u||[])Array.isArray(P)&&(A+=P[0],j+=P[1],c++);return c?[A/c,j/c]:null}const G=la(()=>{const u=g.value,A=u==="family"?k.value:u==="dialect"?T.value:x.value,j=[];for(const c of A){if(!c.peopleGroupCount)continue;const P=I(c.coords);if(!P)continue;let p;u==="family"?p={kind:"family",set:new Set([c.label])}:u==="dialect"?p={kind:"full",set:new Set(c.originalLabels||[c.label])}:p={kind:"base",set:new Set([c.label])},j.push({key:c.key||c.label,label:c.label,level:u,count:c.peopleGroupCount,pop:c.population||0,lng:P[0],lat:P[1],color:c.color||ti,match:p})}return j.sort((c,P)=>P.count-c.count),j}),S=la(()=>{const u=[],A=[],j=E.value;for(const c of G.value){const{kind:P,set:p}=c.match;for(const M of j){const N=P==="family"?M.family:P==="full"?M.full:M.base;p.has(N)&&(u.push({...M,coreKey:c.key,color:n(M.pct)}),A.push({coreKey:c.key,from:[M.lng,M.lat],to:[c.lng,c.lat]}))}}return{greens:u,links:A}}),v=la(()=>({cores:G.value.length,unreached:G.value.reduce((u,A)=>u+A.count,0),petals:S.value.greens.length})),K=la(()=>G.value.find(u=>u.key===d.value)||null),{map:O,initializeMap:q,destroy:sa}=Kt({containerRef:r,accessToken:(i==null?void 0:i.value)||t.value.tk||"",style:t.value.style??"mapbox://styles/mapbox/light-v11",center:t.value.center??[55,22],zoom:t.value.zoom??1.7,minZoom:1,maxZoom:12}),ea=u=>({type:"FeatureCollection",features:u});function ga(){return ea(G.value.map(u=>({type:"Feature",geometry:{type:"Point",coordinates:[u.lng,u.lat]},properties:{key:u.key,label:u.label+" ("+u.count+")",count:u.count,color:u.color}})))}function Sa(){return ea(S.value.greens.map(u=>({type:"Feature",geometry:{type:"Point",coordinates:[u.lng,u.lat]},properties:{name:u.name,country:u.country,lang:u.lang,pct:u.pct,color:u.color,coreKey:u.coreKey}})))}function Ma(){return ea(S.value.links.map(u=>({type:"Feature",geometry:{type:"LineString",coordinates:[u.from,u.to]},properties:{coreKey:u.coreKey}})))}function ma(u,A,j){const c=u.getSource(A);c?c.setData(j):u.addSource(A,{type:"geojson",data:j})}function pa(){var A;const u=O.value;!u||!((A=u.isStyleLoaded)!=null&&A.call(u))||(ma(u,Iu,Ma()),ma(u,Mu,Sa()),ma(u,il,ga()),u.getLayer(Ji)||u.addLayer({id:Ji,type:"line",source:Iu,paint:{"line-color":Wi,"line-width":.6,"line-opacity":.12}}),u.getLayer(oo)||u.addLayer({id:oo,type:"circle",source:Mu,paint:{"circle-radius":["interpolate",["linear"],["zoom"],1,1.4,6,3],"circle-color":["get","color"],"circle-stroke-width":.4,"circle-stroke-color":"#fff","circle-opacity":.82}}),u.getLayer(Te)||u.addLayer({id:Te,type:"circle",source:il,paint:{"circle-radius":["interpolate",["linear"],["get","count"],1,8,25,18,120,30],"circle-color":ti,"circle-opacity":.5,"circle-stroke-width":2,"circle-stroke-color":Yi}}),u.getLayer(wu)||u.addLayer({id:wu,type:"symbol",source:il,minzoom:2.2,layout:{"text-field":["get","label"],"text-size":11,"text-offset":[0,1.4],"text-anchor":"top","text-allow-overlap":!1,"text-optional":!0},paint:{"text-color":Yi,"text-halo-color":"#fff","text-halo-width":1.4}}),Y())}function Y(){const u=O.value;if(!u||!u.getLayer(Ji))return;const A=d.value;u.setPaintProperty(Ji,"line-opacity",A?["case",["==",["get","coreKey"],A],.7,.04]:.12),u.setPaintProperty(Ji,"line-color",A?["case",["==",["get","coreKey"],A],Nf,Wi]:Wi),u.getLayer(oo)&&u.setPaintProperty(oo,"circle-opacity",A?["case",["==",["get","coreKey"],A],.95,.18]:.82),u.getLayer(Te)&&u.setPaintProperty(Te,"circle-opacity",A?["case",["==",["get","key"],A],.9,.4]:.5)}function ta(u){d.value=d.value===u?null:u,Y();const A=K.value,j=O.value;if(A&&j){const c=S.value.links.filter(U=>U.coreKey===A.key).map(U=>U.from).concat([[A.lng,A.lat]]);let P=A.lng,p=A.lng,M=A.lat,N=A.lat;for(const U of c)P=Math.min(P,U[0]),p=Math.max(p,U[0]),M=Math.min(M,U[1]),N=Math.max(N,U[1]);try{j.stop(),j.fitBounds([[P,M],[p,N]],{padding:90,maxZoom:5.5,duration:700})}catch{}}}function aa(u){g.value!==u&&(g.value=u,d.value=null)}cn([g,()=>_.value.length],()=>{l.value&&pa()});async function ba(){const u=t.value.apiBase||typeof window<"u"&&(window.MAP_APP_API_URL||window.VITE_API_BASE_URL);if(!u)throw new Error("No API base configured (apiBase / window.MAP_APP_API_URL / VITE_API_BASE_URL) — failing closed, no default host.");const j=await fetch(u.replace(/\/?$/,"")+"/api/people-groups/list?fields="+"slug,name,latitude,longitude,country_code,primary_language,wagf_block"+"&lang=en",{cache:"no-store"});if(!j.ok)throw new Error("list "+j.status);const c=await j.json();return(c.posts||c.data||c.records||c.results||(Array.isArray(c)?c:[])).map(p=>({...p,id:p.slug}))}Rn(async()=>{var j,c,P,p,M,N;await q();const u=O.value;try{u&&u.setProjection("mercator")}catch{}try{_.value=await ba()}catch(U){s.value="Live API unreachable — "+U.message,l.value=!0;return}if(l.value=!0,t.value.debugExpose&&typeof window<"u")try{(((P=(c=(j=o.value)==null?void 0:j.getRootNode)==null?void 0:c.call(j))==null?void 0:P.host)||window).__flowers={get mode(){return g.value},setMode:aa,get stats(){return v.value},selectCore:ta}}catch{}const A=()=>{pa(),u.on("click",Te,U=>{var C;const h=(C=U.features)==null?void 0:C[0];h&&ta(h.properties.key)}),u.on("mouseenter",Te,()=>{u.getCanvas().style.cursor="pointer"}),u.on("mouseleave",Te,()=>{u.getCanvas().style.cursor=""})};(p=u==null?void 0:u.isStyleLoaded)!=null&&p.call(u)?A():(M=u==null?void 0:u.once)==null||M.call(u,"load",A),(N=u==null?void 0:u.once)==null||N.call(u,"idle",()=>{l.value&&pa()})}),Ue(()=>{sa()}),On(` + .fc-root { position:absolute; inset:0; overflow:hidden; background:#ffffff; color:#1f2937; isolation:isolate; + font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; } + .fc-map { position:absolute; inset:0; } + .fc-loading { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:${Wi}; font:13px/1 ui-monospace,monospace; z-index:5; } + /* the 3 MODE CIRCLES at the top */ + .fc-modes { position:absolute; top:12px; left:50%; transform:translateX(-50%); z-index:30; display:flex; gap:14px; align-items:flex-start; } + .fc-mode { display:flex; flex-direction:column; align-items:center; gap:5px; cursor:pointer; background:none; border:0; } + .fc-circle { width:54px; height:54px; border-radius:50%; background:#fff; border:3px solid #d1d5db; display:flex; + align-items:center; justify-content:center; font:800 11px/1 ui-monospace,monospace; color:#9ca3af; box-shadow:0 2px 10px rgba(0,0,0,.12); transition:all .15s; } + .fc-mode.on .fc-circle { border-color:${ti}; color:${Yi}; transform:scale(1.08); box-shadow:0 4px 16px rgba(225,29,72,.3); } + .fc-mode:hover .fc-circle { border-color:${ti}; } + .fc-mode-lbl { font:700 10px/1 ui-monospace,monospace; letter-spacing:.04em; text-transform:uppercase; color:#6b7280; } + .fc-mode.on .fc-mode-lbl { color:${Yi}; } + .fc-mode-sz { font:600 9px/1 ui-monospace,monospace; color:#9ca3af; } + .fc-stats { position:absolute; top:14px; right:12px; z-index:30; background:rgba(255,255,255,.95); border:1px solid #d1d5db; + border-radius:8px; padding:7px 11px; font:600 11px/1.5 ui-monospace,monospace; color:#374151; text-align:right; } + .fc-stats b { color:${Yi}; } + .fc-legend { position:absolute; left:12px; bottom:30px; z-index:25; background:rgba(255,255,255,.95); border:1px solid #d1d5db; + border-radius:10px; padding:9px 12px; max-width:250px; box-shadow:0 4px 14px rgba(0,0,0,.12); font-size:11px; color:#374151; } + .fc-legend h4 { font:700 9px/1 ui-monospace,monospace; letter-spacing:.1em; text-transform:uppercase; color:#6b7280; margin-bottom:6px; } + .fc-lrow { display:flex; align-items:center; gap:8px; padding:2px 0; } + .fc-dot { width:12px; height:12px; border-radius:50%; border:1px solid rgba(0,0,0,.25); flex:0 0 auto; } + .fc-footer { position:absolute; left:0; right:0; bottom:0; z-index:20; background:${Wi}; color:#dbe4f3; + font:10px/1.4 ui-monospace,monospace; padding:5px 12px; display:flex; flex-wrap:wrap; gap:3px 14px; } + .fc-footer b { color:#fff; } +`,"flower-clusters");const na=[{key:"family",label:"Family",sz:"fewer · bigger"},{key:"language",label:"Language",sz:"more"},{key:"dialect",label:"Dialect",sz:"most"}];return(u,A)=>(z(),W("div",{ref_key:"fcRoot",ref:o,class:"fc-root"},[f("div",{ref_key:"mapContainer",ref:r,class:"fc-map"},null,512),l.value?fa("",!0):(z(),W("div",kf,X(s.value),1)),f("div",Gf,[(z(),W(Aa,null,Ua(na,j=>f("button",{key:j.key,class:Ia(["fc-mode",{on:g.value===j.key}]),role:"tab","aria-selected":g.value===j.key,onClick:c=>aa(j.key)},[f("span",Af,X(j.label.slice(0,3).toUpperCase()),1),f("span",Sf,X(j.label),1),f("span",Ef,X(j.sz),1)],10,vf)),64))]),l.value?(z(),W("div",Mf,[f("b",null,X(v.value.cores),1),A[0]||(A[0]=ya(" flowers · ",-1)),f("b",null,X(v.value.unreached.toLocaleString()),1),A[1]||(A[1]=ya(" unreached",-1)),A[2]||(A[2]=f("br",null,null,-1)),f("b",null,X(v.value.petals.toLocaleString()),1),ya(" reached petals · by "+X(g.value),1)])):fa("",!0),l.value?(z(),W("div",If,[A[5]||(A[5]=f("h4",null,"Flower clusters",-1)),f("div",wf,[f("span",{class:"fc-dot",style:Ka({background:ti})},null,4),A[3]||(A[3]=ya(" Unreached language cluster (core, size = #PGs)",-1))]),f("div",xf,[f("span",{class:"fc-dot",style:Ka({background:n(80)})},null,4),A[4]||(A[4]=ya(" Reached neighbor (granular, real coord)",-1))]),A[6]||(A[6]=f("div",{class:"fc-lrow",style:{color:"#6b7280","font-size":"10px","margin-top":"4px"}},"click a top circle to re-cluster · click a core to bloom its petals",-1))])):fa("",!0),l.value?(z(),W("div",Tf,[...A[7]||(A[7]=[f("span",null,[f("b",null,"Flower-clusters"),ya(" red cores (clustered) → granular green reached petals (same language)")],-1),f("span",null,"taxonomy = research-map semantic tree (family→language→dialect)",-1),f("span",null,"unreached = LIVE UPG data · reached = baked PPLR",-1),f("span",null,"Luke 10:2",-1)])])):fa("",!0)],512))}},Rf={class:"dun-bar"},$f={class:"dun-seg",role:"tablist","aria-label":"Choose a view"},Ff=["aria-selected","onClick"],Kf={class:"dun-hint"},Bf={class:"dun-stage"},Of=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"upg-neighbors",setup(a){const n=Ya("profileConfig"),e=la(()=>(n==null?void 0:n.value)||{}),i=[{key:"cockpit",label:"Overview",hint:"crossfilter hub"},{key:"send-map",label:"Send Map",hint:"reached → unreached arcs"},{key:"flower-mesh",label:"Flower Mesh",hint:"radial bloom"},{key:"lang-cluster",label:"Lang Cluster",hint:"language bounded-sets"},{key:"flowers",label:"Flowers",hint:"family · language · dialect cores + granular petals"}],t=new Set(i.map(g=>g.key)),o=ua("cockpit"),r=ua(null);function l(g){t.has(g)&&(o.value=g)}Rn(()=>{var d,_,k;const g=e.value.view;if(g&&t.has(g)&&(o.value=g),e.value.debugExpose&&typeof window<"u")try{const x=((k=(_=(d=r.value)==null?void 0:d.getRootNode)==null?void 0:_.call(d))==null?void 0:k.host)||window;x.__neighbors={get view(){return o.value},setView:l}}catch{}}),On(` + .dun-root { position:absolute; inset:0; display:flex; flex-direction:column; overflow:hidden; + background:#0e1730; isolation:isolate; + font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; } + .dun-bar { flex:0 0 auto; display:flex; align-items:center; gap:10px; padding:7px 12px; + background:#001b44; border-bottom:1px solid #002e6e; z-index:50; } + .dun-brand { font:800 11px/1 ui-monospace,monospace; letter-spacing:.06em; text-transform:uppercase; + color:#fff; background:rgba(255,255,255,.1); padding:6px 10px; border-radius:7px; white-space:nowrap; } + .dun-seg { display:inline-flex; background:#0e1730; border:1px solid #284a86; border-radius:999px; + padding:3px; gap:2px; flex-wrap:wrap; } + .dun-seg button { border:0; background:transparent; color:#9fb3d9; cursor:pointer; + font:700 11px/1 ui-monospace,monospace; padding:6px 12px; border-radius:999px; } + .dun-seg button.on { background:#002e6e; color:#fff; } + .dun-seg button:hover:not(.on) { color:#dbe4f3; } + .dun-hint { margin-left:auto; font:600 10px/1.3 ui-monospace,monospace; color:#7e90b6; white-space:nowrap; } + .dun-stage { flex:1 1 0; position:relative; min-height:0; background:#fff; } + /* each child view root is position:absolute;inset:0 → fills the stage */ + @media (max-width:640px){ .dun-hint{ display:none; } .dun-brand{ display:none; } } +`,"upg-neighbors");const s=la(()=>{var g;return((g=i.find(d=>d.key===o.value))==null?void 0:g.hint)||""});return(g,d)=>(z(),W("div",{ref_key:"rootEl",ref:r,class:"dun-root"},[f("div",Rf,[d[0]||(d[0]=f("span",{class:"dun-brand"},"My UPG Neighbors",-1)),f("div",$f,[(z(),W(Aa,null,Ua(i,_=>f("button",{key:_.key,role:"tab","aria-selected":o.value===_.key,class:Ia({on:o.value===_.key}),onClick:k=>l(_.key)},X(_.label),11,Ff)),64))]),f("span",Kf,X(s.value),1)]),f("div",Bf,[o.value==="cockpit"?(z(),Me(wg,{key:0})):o.value==="send-map"?(z(),Me(Yg,{key:1})):o.value==="flower-mesh"?(z(),Me(Ng,{key:2})):o.value==="lang-cluster"?(z(),Me(Kg,{key:3})):o.value==="flowers"?(z(),Me(Lf,{key:4})):fa("",!0)])],512))}}},Symbol.toStringTag,{value:"Module"}))})(); diff --git a/public/doxa-maps/assets/fonts/noto-serif-devanagari/LICENSE b/public/doxa-maps/assets/fonts/noto-serif-devanagari/LICENSE new file mode 100644 index 000000000..cd2cc5c94 --- /dev/null +++ b/public/doxa-maps/assets/fonts/noto-serif-devanagari/LICENSE @@ -0,0 +1,93 @@ +Copyright 2022 The Noto Project Authors (https://github.com/notofonts/devanagari) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +https://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/public/doxa-maps/assets/fonts/noto-serif-devanagari/README.md b/public/doxa-maps/assets/fonts/noto-serif-devanagari/README.md new file mode 100644 index 000000000..68253f5db --- /dev/null +++ b/public/doxa-maps/assets/fonts/noto-serif-devanagari/README.md @@ -0,0 +1,24 @@ +# Noto Serif Devanagari — the Devanagari subset only + +**Why vendored:** the prayer packet's font stack is Georgia / Palatino Linotype / +serif, none of which carry Devanagari. Measured by rendering Devanagari at 48px +and READING THE PIXELS, Hindi came out as **tofu boxes** — this machine has zero +Devanagari fonts (`fc-list`). A `hi` translation without this file would ship a +page of empty rectangles. + +**Licence:** SIL Open Font License 1.1 (see `LICENSE`). Free to bundle and serve. + +**Subset:** `U+0900-097F` plus the Devanagari extensions Google's own subsetting +selects — the *devanagari* range ONLY, matching how `poppins/` ships `latin` and +`latin-ext` separately so a page downloads only what it needs. 124 KB, against +6-8 KB for a Latin subset; that is the cost of the script's glyph count, and it +loads only on a Hindi packet. + +**Source:** the woff2 Google Fonts serves for +`Noto+Serif+Devanagari:wght@400;700` with a modern browser UA. Note the 400 and +700 faces resolve to the SAME file — it is a variable font, so one file covers +both weights and vendoring two would duplicate 124 KB for nothing. + +To refresh: request that CSS with a Chrome user-agent (without one Google serves +unsubsetted TTF), take the `@font-face` block whose `unicode-range` contains +`U+0900`, and download its woff2. diff --git a/public/doxa-maps/assets/fonts/noto-serif-devanagari/noto-serif-devanagari-400-devanagari.woff2 b/public/doxa-maps/assets/fonts/noto-serif-devanagari/noto-serif-devanagari-400-devanagari.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..713584ed3de8fcb85e9f8ddf5b2275f7dba2fad1 GIT binary patch literal 126864 zcmV)2K+L~)Pew8T0RR910q>9i6#xJL1)g{S0q+$60RR9100000000000000000000 z0000QpKKd~_i7x2zG^>6RzXsbOFvCkK~hErU_Vn-K~#Y>CoTYrATMkY2nvPeOoYTG z3yW|7Fo@D>0X7081D9F^AO(hG2jG4T2U~JRwF>^5hTKGyqVG?jW_hk|NsC0|NsC0 z|Nq}i^5e11=1o3t{t*%&az>C-K|t?PwQ8%qw%zUS3eo7jmq3YQ1E{Q)+KxPL8aDMhca#iOC7Uf?=Qu!NBJ-Rc1El z5%&B-!V(u@970#x{XSO_T6L5VPKDDTr8lf3`7>vIx2s~k2~nlHbGJo0g4tG!?sjhL z)RK{#edClNh;OTOQ{)$?_2ouVeI@Z4!WFd8kjQFN=lPAKJ~Yvg8JjS?g@K>XTCEPW zzCcQ%tzEjpCX&o%? zBpku^0vAx(h597J(b6m96xuM8=l9!Cw@W!sUgcEV*-m9wt@ROpgwx()UiD7ltFs}U zeUpMxQr_XKLLl-Oj9_R;Boc{y(ZeY*m+!gcUpf%L`!|R(2nO-t$0A0E(lMW#1bL89 zmJ)LPzPTqh_g*|EWZ?&9(?tvMUP zZQ-e0ML7VWzJU_1?g?HlA8Qshqc7VdNA!(H$U2{QEn8vKmH)a9p3ff77GWZ zyKm}G{oX;hVgABP9OxJCc)*aMr9Zh^50y*#AxuhIOQns+&O+v24no6Sk0#n=(f$4R z@Ef}U$pz7eB*y; zGahT4Gb5Mqze4!W@eton4lA5yJ%jZUeyt$lq6W7AsGaTW>*7Rts??dOY@ESwYUk@w z^L^MWclB**W&q=ep!JQk>P0bdcAT8affH+@ zHS4_Y@gV#a`qbjDGNFIs_p_?b?fyVa351M@T4q+oGg&p`{rx+&zvtY0MV2L5mTlRV zF^=tZ69>paD2GZZQJQwzEN79jO!U6?WrNV~)Hc6N~spyYPRPS z2un1gfFch(4&!WQtGg39d;xEDG}0>M#v4LR-3d7_#smNN?*26^@Dhk*98Y*mq$N~5 z>3#bD{s29DUx0&{sc@yHF)HR;0efUu)xsybE=fPjx=->fd$67-L=SQJ_5jm39H4Zr z91507>Gs5M5)=1}Lt*ophD{0`GiI3&UsxG6J=pO+*Przlq zzX!9BQY)2}(wUpBw$PrW)TvYILepUwjGm;I&z6C`|EJTci!ItM`rGQbWYPjDKnf}L z7$c8?Mqt_b1{!nnLweo`&@7M+APSocQbEh~lnhPPyS|W&Fs2&t1l&@$nr*l3*iJIZ0Zt|}VcRkK z^m9_b3@HVG8o)QJUAmx7o^UJ_APR&3H}{{rT(_uPEm|_B&h*q+#{c<2a6*#|B)NAo zfyY#!AD!Cg)*Hqf);|t^Tklq9#iTW=2-qDEEr=#tfNYSS26g)1!vZF@Y>rGUTQYHy z!fOwSwuMH*@iye~Bi;Y`%le8NgpZO1MKnFcXs<=)o>I2qtz!e=2cAz2SSnCSB}#rA zKiJv-pIm_(Z9JI_h=6Ncmi6ym`Kw=xHI?TYCT{QUZSFk%zWqR+iD%~0S7_C;{sw1n zXTs4e2?zs~=e}(xasPk1_U~y=&g>c^jHM9;2YVP0JsC^KlbCy-gAHN&^4B@8#_eO9 zU~8EW59PAxIaf+&n{$1BSQPvU1j8j#4*WIi7qrc<1_xhgn1;=Dfa7_dqo}q${ ziL;9H|J(BW_dsETx6C=D!3K-9tV zfRd)&MinR9k&w?bxAR&K@FEAFJ+P-fx@hn8LP<5)YwfBq-6E zmb9}r`6R-XDWFJ28rxb^CBhb{%9iYKk1C1(kq?SYW}a;OpO%m-1P0?QdTNSB!()r% z6cAdCkq)>7!vActc#>UNC={+<6jitqj_`E#z{8_kh3H5|jhPjZrr5Io5884?o_!xb&+kvVCY9V0R z8cu<>KwAb!!ZiK~j-G6D#)#3WQhNO`Oh5n(#p!x#^SbQvjGzQs0SF(M!l?xqV1Oe$ z;bDabYSH5sV1O6qRMiRkU_tJh?D_R;nw_|N*)S+nr^1qm+Eh*{@*EkcMTjL|2-}&rnvrTzaBHe`>opF`>AiUhzAPhE$Z~7`{-!)%J zKnmNx3wnD++tE+GKGE&z2m!=X9CVWiF>V9OrO4%$2Iv-tCgs?XENfFwB6Ce6k_!+;=iWzJ)s;Y2pke3XX&m zK8gIK_qZ=URiSeE{+FrRV)5?j01`KYuT`S6lws$h!w2b*F|JgV))5p0EY}zbq|)gW zVsOYuI(8{kF74J;3aN6}xN_IKE)D&?0YC>y(wBV_DJUxh^lc6RIw{%Vu@vSK@<=p{8O9>9+1*Cz`ez6c=?fbP| zS?xOz#8Qh_1&Pv0;wah=rS-svWz3ZK6M{$4e)0Da&z zAPiu}KgJvFEbVO4jatPRzBzoB>H!f?a6Usi*^Y_&9jA0Fmr8H`QZzyj&wz%oWZ^R# z9)amik<#FgkqJoeN-2df6B-8Xf2o=+m!>@5dB+v5Qz>^YN+rrElvh<0E?@yVKq(&J zNIB9O<~glC9@YbL9f_-KcPSUuT679noN2hOwLe84 z>;OE%kLUZp*Y~&14&4C^c{qrz+E9LLhB5qw1QbN8bFRfh$zJ&<%*I~(1Q}AA*=_`R zx4+kxr5dtv=f(*IECdL7k@VK%d+@($RNj}%6t@E#f{2J%R997JZB$Vm3f1>D)G$aP zk|c?Uh%1GNh!oN^LtTRgOjGg!KbF63vMJE_sb*cjF`(0mB}0oH;wil(yk*UbIJ#F_ zb(KL>q$omw=*|0h_^GVC{~^vdI26fHju50nDRP529g-n_6F+m`=wkP`;ALx!st)R4 z24(6Kj&bt$-Cq$K_xm%p{JH6}-5FqFAiPre_bsNgB&qo160wI0+=XFJFMsnp#`^s0 z#3&JBs71H6$De8*MoK!@U*@7V1);m3XXzTKkS&Vg$hrQnSTgILE>L04agTC9bams> zz`skGe@*Vlur}0c3N_^og3w7&3NTIO0)z@B+2e9PQpHK0x!+Iu{*cSKZ*#Z!_gYIL zNQ|1qf(Df`z-%`aS80-h)EwXw*3D(f@e?iPwyvMxU$p7TN=i3%SquU8e^D8sG*d+i zt8~@Zstu4%an?DFM<}MJ|I>48NS+On$4LN^awxNu07{jj)dDfHRzha*oSTZg4Z;7Pp|>>UO~0?nb%K{U}d) z8-jOy1ThsFfYcB*09j-Ky2s;9R z9ROe)K-s!>a5;#JqzuANDhZ4mCo$;)G8emy#w~7P4uT=zU3s2jts%`s*OFFJd!GeF z0GtYyD-SW1AS`V2)y5R}moKIwEl3~=Svf>FR&{bF7U$9=1a`1b;zBMn&J|uhS#MyN z1viKq!o3;9m0d*A0LKNx6Op`Y%Lp<6iPGd>qhQqG<3$kQ*aQ#=G5Zw=M#5V_kokwl ziJ$k!o94Y3Y~QpRJ_`vBw~{vEE9yW%^wDaUOHw|uz3kKySvb}TY@Eo6q8QgE+c4eS z8RBP|GuxrhwS_42=ZTwd`Vun}x9C%gUoL8ed8b@ZjH;-H>ZylDX-oVuQ6?=cgSnZHn|YP^ zB*LPjs1#D$c)g!r&SPFM`dBmB2Ya!T-QR;db2#UcE8Zf%=EIjing-%R=oq<2$_lG& z@DU^?po%H9VkUORp6aQ3q$~w0m-4BgdJm!P?~Pi$7f+lt@|S+S{Q1(+^%pODvU#_R z;_~Xo=0?raGYSez%F65fLs;4ZSQ48nmS|i$kSR167b&F7PeUubg9}8%#KotgV_*#n zhlq-YPe96$bx(=ZbwpOy_HJb4w2U3P7e%BtGBwsG+VMJ@MnNr1oNfjLf)u!0E>0YY>bF@xrpY>Bz#kpg8lY&nymNS84a zw%OsK&gm#ard;Kk#fbM`{4;pymAB>%t=e_y#DyozZhJj{$v@L*F=L0M&yXopXijCQcdh5+JNVF~t&F90{e8UPgKO1n+%SJ=N+{DdjZQMqjeQ_s*)Lw(K(A zZ1c>w*rsdQt<~Gsesg~JuS>23jw2_Y``{b*c^${O<&}ht903YC43R`heJC6al34%@ z90DRT5EUH*2Nw(>r=w?J!i5_TIYf!Ylh_BHtpWreQoslT1&%RZ5V?_8TrN-)NTGuO z10)zA8GuLzsZ2zsP^w)EEZgaiNTFpWIuM)KDwrRxZBETCp2RBFGO9-bhs85ELXFlH zyUGk?&mo|g@dc1XL{^x1_-t|G!%u*G{}C%(_}ojRGPz1xAg`$GN~o%-XCN}McJSP= zk<~^{OO>O{az0|L1d^9fs?w0I3}q|}c_y!^&QOc7fa29kX-Zd? za+Rlu%2o3V!g5m@qDN7U@z~Jx%B8d!As5Cl*$zpT3Frw0Eb$Wvdg~1VNbe>O@qAp}b%Co8d zy}J5nJP{;QQGuA)xWwdEDQW2$c@>pieVgrO?`^+(4h@eFrch`co=9b~*c=`oGJfB| z!{^@jci)St!Rp%j#_r+yn>#DrfB{$m1PT!{l)8`NBrQS} zq46?WOcD!;)cNMk&J`S%G*sv?;Uh*(kT5TbbzB+aA3a9Dw`s>@>cGP#)*8iAU+PK7HByzRE#HEz9jGWNG%E7G`N-EN@ zIBX32!{6cma6FI)ib_I>Mzq3;LCj(mo6bm3A|gmenvU3{&Dp%I+L~?KZ`-jywrBhH z&kpUx$cBKh5FJDhu^NvF8NoDt!~gi9pE}twFg?ubIOlbKC&Wzr3{ot{N^HdcI1X}9 z5G4c(fkiMNc!EEKLNcU7C9a2}M-}Tg@&$!OM8zbfRLIDw*4EJ_R-&Lf{z(Kv5>p^B zSR5W8P@n*_`Gtc=0;1rN`#$I97FIU4cJ>AbXH(n9Umnv2UfDIVLbmx!!hpaeDWYQ% zgLCHzmsMbts4?QE&e(64Rrj*vP8t>z6_-@Cs;aJQXxFn(*}|H2_ovw-V@sD$Ois-& zt>3w8?zQE>n0@FpiYW}Za_!cu55E$boG=ch#`IYJwm==01NA}pQkhb1W?|nEJ>T=4 zGdX*xXXQxq4hT=v-|J_8`rE8|iKG)Dz~m>kFnIUt0*C>}|F(&JQT_w(;1b$(v`qtcGtn8MKhEoZ-tQMQ#@WvRiKxtSKwUTe;dpu>Z&lu^s9P*B zh@=`rSg?fZTEfkvTy+3k&j|oH@Ocs;%wgD5ghRjD`B8X1e#9UOZ~Ba>(WIZa9+dYZ z`V6G-rN^itsTT%;Auhv0y^H`U{G#7u1~d3-&{#iCG_>u8L5ws}z?%r&CgKPki;rJ` zjZj<}AnNmQW4O`KF?g7~)*}`Wk&sbvp%U~{zGwUhqEWO_h|%{grLKLPb^}F6+2w28 zuPjTg6xzeQ0I?g{A!Vi}z%;#N;ecF_zg4J#4!#Y{106UCV1Z#o01*J+0NCJrAWG7` z));O-!SFAcnTMK|3<2yH22xCkAVLf9C=1BIaqEDm|F|5z_3gBXOfUI+*%*I0^{N-u^(i!f$g)Le^MRuMY(5y8i(UBLIfyU%VrH z;^NKcft%cgd1(v2e0=XP;`1{@3KjI{ckG32(=gqxAO|FQn?vi#dg5_%Fs7nQv?}zKj zfDCCvoA+k(U_H-Br2(2Zo*-RF-FS6oXPYE<+s{Eiy9n{3f zc{UH`L`bEXUbMiTVTDdGg6|mNf*6&MAj%6C+>_+WOU@7b#e5CJCULGBUl5cv{qxK~ zPM*^3i64bZw*7?Y(>70iKp;m{-y%3G{e%EDYp@2dK!>yy@ZYyB2!k))O{g=lA4k9; zxaAc17i9Dm@5tltS`Tv;J&=NEYhYb#1W-T~GuzT9*-B+*)xph0I(hkB+|g~`%FXeP z2w(SgUj0>G{&lWEiKAvd!@&lf)P&}73sq`&fzEUA+&vhUhk~S}g4x1dRnt3g9fF^u;uCEB4KUCCfzzM(7eH@w5Mgf9TYrHw z8_9?F^ehRfql?O5Zaa2nv5EHIQM@Q6>=z} z9$4SRL4W~plc^{N6Dc0L%Z_da%z$G*T#7E|x=s)a>e-ZnBiN-F!q7CO|Gy6IFgs42 z3r7x)O_E#+rVT;k9?H*M=+cO8+|l(#1E#sYUFRYfbC99E!43nwmew**;gV+a%#@bW zWccvC5Ektd>M!{wz(btBljGha`Ya+f%rW1RJW+}nbK;2KMxCSGgi6Ig* z3me(5TTm!VmW7G#IqD5rzAVg!UcW!5D=+hPP=~T6jj@{N`uMA z#I42YoHtJAS{h1dh-~9Sq>BXR&1qga@rxm&HuNSu7f-syEw5bkuLAS(`z$Nh%%9ljcP=6QDV((x?kJE__{;xrr62%TE1di|O@PrM7746OD!fGmb{@OXxtX zgn4gO^K~wx*gAu^qv%v{BVi5BeKpku=1qO@kMGF=1WZ+&sa#|6g%1S*CCT@;BYN7d z7u66J=}TpZSIyLh6(f7C80!ih^XYx$fL@Zct`;RK0KTvPBIXj>ySKB(4{6~I+ow>8 zUjGWDSK7!wB3#3#rTy^S0iIG)-B#7WGs*TaQuEK6cWSmWRxLzO;Np2mK`Ed-=MKyb zaU$ToMM(>eF!KdWyP3A^wkDo0y`lCU9z4xa&lQ{VRDn7ta!VNC8@|y`s+{#|Q|85E zLZ#Sr=%gUvUEz|IKK;C+5_CO zF;UZtI+%au@2ur?j`SK{vZJWu#CRkoV4iRw>Td>c(F%{X$*UmThTwJFl<@*^=Vqss zTyz{x!MxzA5 zGj2Z%d5waY^yO$(pXrG?{^;%~Nb^UA;-m_O=UX`z7~5YOEE$22TX~C8NtO4G-)tK{@RNKcpYy4V_S7TZ^z~o!RbKAJp6@vy^t4a@ z#4q>a&v?Xry>y8kF1F|*8(r@@R=0}fZF-F*>h*Q@^-gZ*R&V~sum8f=dUaQEg*Sbj zYhHuT3vs z5Gs-==*Y}dDm_$})FpvB;59u41JL)C$Ue7Cq6qs|{8S%waw@ouf7C1JksE4$i~g zb^-=>X;h`6Y68PQZajVJ>cqjUg!p*Ir;5JFw+7`OmM;!~dS$7yg9cY_{J&93iO)7& zq~|q_njU=u+&e0eyJzv}hOQ+FYHue*(a6)-Mt-S|5}+6T$60!a!*t3)GLA{%_16%> zRhmmhHjACj2x(KwlAGcdf6@`)^RsBSO%eg?oJW**ryn_-n^{J5hGSKk7rJX?3JQhrLGFG;q1^yX(K$GzXP%gqXhGp zj92j}|1?W=U`o2QwZm;b1M`ISfw)w8Ru)_2vQed`qS!s%mE%py&?gip$cPp-ui8da z4lgxH`|x>0opo0zA1Ef-(8^J&)YYVhZ$&{u?Yfa2Hr6ak9C_PtZiuD?Mc8LW?ine% zH1*fWlKvQt>|hSfXi-vL8|i1CA$qr>oOLs$WunA7LFL=cO})qvUy~kTn$x^)ek9dE zW|hr!I${<&ki2P0^gn^2o^xvq3gw<>z$FB}82Sfb8rYNQcS;6F@V)a4SI5+PQS6%e|5A!vF~2ml#kS|uPPP)oe51+iUU_2HGQd?Ax!yQ%kHTf z0Lt3q$x@Zun(Euk+{qegR298oTQnOOXsQ;9=A*wkYK>hMMe?SWPf|9UdO3Bj zYS+>y4yiJunG^GfWq-w}VKAGX0pMT?<4H4tF3Fejhe*-EhTt-|qd(0^T3~6VDI&~p zyg%U`;JoGMOU#18(R7hX5!-@#(uRP2PNLiC5A^dF&>pTJznA!WxrUDr4xznMW0*fc zP=tuhvC|gn<2Ee!-o2s$*N;Yf0#VMfoGj_%j@S8DOO4CEa z(~g<1tgx6v*30Le2R^ofAOIFcoEoDi4?)U8f`TT84A60#o&~?i^rY{=FyW^*>B&pF zeBgwdQ~b494hEL;u*G6Z3S(pvzkIHIb;n(g8zvWV8qHH45uQg#N&?LngOg)L3Ia5x z1b>94OotCjV>b9gp_g?JborzMnTyti30NyJa&bKo^XZfS3e4kE<_e&7Qf3>16%V&* zC`YUH-Dno3j?5GGm9*GnO_77u#LGIQG2C3NK(C*D0RYkD1g;R`cnU}rSs!KG;iw9y zYJtm)bX~bPe!f$u8j`Fi(0k0RYDG;|Ux*CtL+4{!(=0%PENg}qmaZeA`+*YHn)IC! zOUFRyagNRr1LeRx_ZBHG#grU9X4YyV27u*#*BG7|H`Nj05|s7%;lJVGtDJk@fkB)z z@~DwWZ56S+Z%=UC@=}OJ+y$7PyLcL~1B(XulxUk;n8Zg!K5|Fd?$QjT%RPYDX~YGu z$A~I<|6Gmo~mIk{)x8eEL2M^$akk zsT&J?v!&CrWNRN|**1*K$|U2>$DD=OuCF%LGHZo@^pif)OY;xu4qfr1Gk6o~l$KZE zE2Q+&Z+8a$b;Pie6aR2#_B&hct7TBoQLn`i?~G|Yn_$DXDq zqZ%eYQDy-Z^>l|?Zy4z1*;il8d!33#hw7~z2rvk!O&*WUOK*kl9i1|U8IgZ3zWa#9dpng zTdcC&;spVp-=v?4P}7{tPep{O7&6Xs=TbLbli$&i3* z`*v_k&ILzov%(x>^i5tKv+fcQ5@ZYWIEUY1Ua^2J|<%%dZQ_-A~)in$xdMvrlA)~vITu zf2lsG*X+syh}h~`H^!CsnAv-9oP?}8TF>u1LWJx~bq&zB{ow{d|6J{QxK@k!@N=Uh zJh|@Z?0C53L{Q2PBJW@qTH08&VNNYAkiyYQyC0rpC)qb`-Y%=J) zc-zB9bZE5mVZBT1r*=;UXK`(%{%USHy&^)FwxW-xO4YK4Y)R6{8nYKDcoP>5>o&ys zb6=HB2qbj&WQl_?gN_T04$!UHzOzEa-lEgjQe-^b!a!JiHR`j#JlloPL+314mPraft_ zj)^nA1ai$Nj!-&N3QD29j*h#5*^d0=${x=iX{K=wHfF^f&j$4V5jFqEaVdD>?BjY< zgK-%$XYMFDDa@KfoBU(c<0(Lc}lO_zeg1|#`GeraS!ptJW0SzL5w?|a?4o$mC zLLeEgZ#5}|nG*s6#>8EKd1&`(-cC#a9UGmHY&}G$MeBzs($vZ#N6oI8nM@WP$`+LX z{vg5z!a9*=@=j?=hl#yfWMWuN;>svaak8{-`Y6`1vd|J)4>40mr@st6( z%$U3beCW#4BSLbZ72`Drw6Zngn;AYcG45Rz)kxtggml6tT9c`)FQFxwIZF%LaOWCW&%7t3LzKk znE+tTf^6UiE#pz>ofP$^gEnV;9m~VxJRa9EDOrhxir#oy-d29Jpv#566j?~`fgL=q zTS7Bhq2!tlnk--aHub-yD@Du$zX(PkVeWhDILwircOtH5a@{xX;9=gY-XkJTV5`y) zBKGAlmD1Osfqj-26S3S_-|IaqA}%9^_=1R7Us(BD5L{BiZl9vVvq43dMFfT1mDZbL zy}C1rm=n!hH|m7xuXeZxHf1*T0XTO0prqnUBFx$;zAF5;((Co!5N=;Q9ACjgn04zE zecjrOG<4gR$d^r&QXgp>s8o96fPjp`q-5_Ep1A0*ErAab)rHDX}EP z&&P+bfdm*Aaz8KxL?q-?hJ*7;rq5bu)Pb%+0R?YP6w$0?vvyn{?0*0179=HB%Gs3q z!bPm7aNTk0)OXf@=VzX7QUhucQH4rYh+LoXWVbl}2ms9VA*mB}l>(Tmc#S(L39^}6 z^Js6m$}%KX?n5Y$+OoWN`2#Z?5C^HW@^m=nJQ+} z|Ex&%CNax1GZW$(%jicVQi8=$0$;JY?Ysjvix+E>5qk2`geM<|^3J^`mvVc7Altpb z%q$7^rJ{VKH7B2VXG5YEd*AW;P%(;4d}O>H*9i#vXwB+hqUmOtvQMJl;-Ow4lVUxB zKZ&}9A?ECos24o7Q=%1;ZHGj$6QVJ=TJ6P2lSR!U(6+AqXAJeWc64P^y3ilSm6Yss zYQg!IPFY`Vxq-3ugo!iAR;Cm8V6h*fZ9`=rMCSr;FGTIaq6cuoP;aQ>}&kme@q_QkV zJF-Qav;k`|qGemG`I%!W|9ce^GrVEI5$nt_LML?;l1vD$Sc349Zl*f5GzYD0)*o)+ zWIIPR@zcg=z@nAuKvWAei;~S8uA!wCtFRhTR4!Cj{e%N@`Un(S_EPvCHG3%1$`!jQ zDghf^L>yjrQq9GNql;CU;g%A5n=p_;MxftQ2qU8{9TU{pnqe``wqzuOE}OHO)wchh zaDW&|3!VxOo%|=oGrNiblw(my&o>Uo0C>*?qF$L|Gx=V3aEy z(BEeXELUXP^aCAcr9vzt62p*I;SrU`Bz&4&`;cF$DU&_ft$dAjY=Ia`_TwsFm@KV@!zk*Fcf&-QbZt5ty4iHah0`ZrJxS~F zgdn6h`Hn3!jF;5WtTfk9T{TrvK^esrTCb{CF4+W0D?l;{RidP9X&8(u%t_xVNq5;~ zWdUa>&JewlW>P+6BSfwH#RHU4$Ta;F5V2^@t5=OGR_Yy-A#>?Vb+~jPhg%@52j)ZK z@c?Y5n7`hT$cD~|SgVN@<_J=67XZ!hCcqz2h})3adqo@}c;SML!mvgHf))Vw%}YQi zByiXlr6&(-O-MiULdL0&ROYPCe6=0Qb}&JnQ#**Xr*v{Bc_PPuU^m%u%twDzNB$gK ze9BMyILAB^%>^d=wl9*H@$o%z$h*ARYrJHm#`%<@4jt(M?(Pn5TGntqSE@)n7CE7r zr<~z&Rz)Q-NS9TPQSQ~PKN$J$0TCyY_7NlWHgE6Lq*(UFLfj(kvFwdSrn)q=ZPgwc zPo(>n@lF4J-45+~A~1!_rlsnXw4RP>(CnEGIjbZn_{ZD*DpoDw;GZ2^5~JY!Qko zY-*A$O0g~<!WUs=OU4pY?f@zTol1P?85urR|c)NV3>;3ZISk;_ezu(Ijx%q~Lz? zDecWXm$WqtsM^{gGe)*_(2ca_<`pOnqZ3%w76uNOeOmMv_=?o}EAY#sdQMF1uJK84 z*Y#W@_(m-p>P)M}=9yNNqi9-1_J~?p>u@@3s{||)YzsCXS&KZfur1hbWGyH{jAYd1 z9Ny9@gkcOK168ZC-wukX!`P}(^&lDNX2iHwaa(m_sFe?%nwAs$%(P(ZO?JSNOt#7T zP)34%o29@Go)F5$;I7SJbKx_@J2NsE?OIKXOhvbLATucAR?{ZSoQNH>M6DOQX5so* z?w!G|pBl%B|A9hyL1CGuK0i zp-oXvZR(B-PEH*Dk`?vbjn53aTOSpiSzWaz9C38;IYDNy9WNSac3-c+)r!pPpugnt$o%7bqLnALs^hv)=7rL-WjX6X2wc;)*@MwF8EVk+{VzkzDe^3K2^ zB(2Hvl)VfE(BkLQYKbdXp;E9lI0$*Mz8+q1KnJa#`O3&3VlOADeu?|RiUMBBTW`9zG5t(_1Q^yr!S^AO>-QcYvMFVdNQ6()bX244$e~##JmQlyXvEW`stR+8FC{gRV)Wc-1Od2Q_Mq?ZM0YK? zei+`RAW_P>W*yE@o%in9HEQaCpiik+dTIo{!|4d?BLZrW+#!`g?n$aF)ll#G4#=D& zQ1@E(%4iMFdwv1w0{)>o*f*-TtNq@X@JHT$a51J?L%xBl&Kl_VOmDmPF`u*H5+lMd zPQ~Z37(@klT_|TxRdV=D=E-QIksu8Ww=y-0a1NJjU zY54~g*(x=ac+GM@1T1b;sueLmEmehJ`a-$h65;Jq@PjZlE984PV<{(2l(rvUjED$3 zW#GmG3pP`$YK4Q6z)AhD9|jj&%pMhH3FemPHQ5agvj`$FN4`yjXBe}-U;t}t4yjqN z^58SimF3luYl`-#VYGZ9TFk{w`wRy#ki~A>*}k@M9jsS$CF=C0sW!>b5;^0kXoMd{ zPnAy<$xITXZA$6UJg*^Y%xfaS>hZ2HO^u!&6sW}at}5w|Ces?)2$-&F=xI}QE;{`{ zDqjxyUBh6eRoN@ai#yB#$;)sE$%C#05Xw~;*Fdn1R$-qoUO3?+7i=>s9wz%9q+p^^ zABl9&xM%=jvxYkiv6{wF~+*~q`MhsTm8QwVkK zUy^-&gnTRwgaZJ>M0rfUPsao%A2By%cbjXz{~l2l0W$s?9P^7VSBOk5cP?tt-f-Kq@TF$BVH6Jcy`<*v>5=68*^42)VXJm2$q3z?WxbpF)jZ94Cn zSIHg==8KfY1>D*MZM7b5tfyZR2( za3mmD1-UZ&D>hyMWH2L_I~so-nPulKCj5h+fxTtzO-+q1<8ttL1fT8*w&%J_)+A?6 z+`)!?x?j;B+3MvT$t#|f#L;H+;@kWd%*f~Yrk}1y!FqKxO4EB=FeFFFvw+pZGMzG( zf>?5B()L6m3HeDReKdnaX$g4|zj{0#|jD2Wh8%$Iecc zoYYx*WVDIb0D*LW(^*DC(z5TJqVG}Wi7K-k{4n|9lA5Yy` z^D%nbnn>m?U5r*cBk_EMuBO1FyW>#{v-xE1J%JSqU+q-eTf7e|L5ErMOWu4+wPa{* zS8laXjE3a#hq&Lx755wcrQ+Yr_Al?7Kzp9_#6b_*kq>yyc9_ogdtP+=antP@vr&I_ zQMU8Mg2J5vo#b`QAAcC>0HeLi4O{Llf4XI9LvI;p24K3h;1d5dW+XwzJ>*=#3s^ew+{#F}ApcXYTf;P`ChIrhP559^6)m$Czb_JtzR8(P{@#`4R=G303$pOf8UTa77$7wBBv=)^<6~sGz* zz4xh8=Z~K5(>>EwQ*&mzo;hBepwLAEG#z16>Q9{fb%v1#I zOH%G2NXb1&SZeIL1?1e8%HV#&yZWG#pJ>}ex{{_?VwUPTKh)J(;T`kXLB&BgO-o{i zT8FxM0l11F>GKraYPtdAfW9JC~4e~Th;o%dd93o&NbHa2i7>|zrx;O7jqo6 z*g0fFerbsqw&8HaG*G29Ua>yhs@1@kNV7P!D0%eJ?2IW z@a0*GYPPC+Uo*>FF7+=k!}rEp!H6$2PaGHjq;hGNo|FKqC!;8`3R@av!XV7KHM=#Z z4zQumU2JGeHeP`xvwZS8<%esrvPkFrg>%$1L2Gu;!H}MdA(H~bn6@^yj7TpX5>Kpm4_L4MY#!RQoNU5xe%oD|BG0H%=Pwd| z(yKo{fBnYl!GQ|y8DySeGuZ%>5KpecGn)OD!vuoFvytWJZ_4t-gn8Pm=JJ#v2f2oTUO?aVkPx=M|??1^p7{ zr|Ppg(<6TYvxeCsElFLWK0==lt)4SyRA44w*hAO&@Pb=0b(i|eE7sL)w{ud151nd4 z(aPvo&!QbJy!7@Syh3}HQFWuvKoLO&Cd0WMJ3?~$U!ca?*Z#iqyF3t2lp8bGfo?)1 z9y5R(aW(h8ho+t+sU}v4pe(&(ZNhVNjpNRMlHykLgg0wm&QThzY5FR~Mo&O;toh$> zY%kWxbF0|xM)$PqH&M;B#}Aa+zX@RCG+p`a&e{$Rprq=Gtyf8EMv$Y_{xap+hD<-! z83>lJ*Be{=xWTx{8ch&jnU2nxF3Vb;KFvRS!=x#w@URaG8h?c9WHU%jIY{M5PP>&k z2s=hv^Bfa0HkqL`66-R-1NI$MGG0!(3h*xVR0ZtncP?>w?|jw={xEpc`7Y*#M{myq71D#>U$#j<7 z*^*z~2jubJ?vcL{eCF5%bw>xrL2BRIf62VN>rG=viadK|ehe64>tJIH5WL2Y4JqA; z>GNA$Aw^Bml(9yol0#lk62WRKSGy`b$Z0SUhe>VRZvhI~t#{43DcO8zsnbkq3+gCd zIbG;u%!Vk&leH@b0#b#~jW`Ut+xx@#Q%t0WOz3|oJuuHKK^GeNawoR%dq0sVL~s;> zZSp3Z$s+xARf%I;L*w@oHoHugwOfd5RoFxq*>Gw;BY?w_TXU!!y==;aNZr))P?K7j zr6?5=Bt;;akhY2jFJ#D{y`Y-q(vK{QYbw}&#d#KTCzs$rI z*-@3Ra}$Mm2H?QldR`=)A*8r|)G7^UwH60hqLr=;Am53&IEVFg3H7kBYSr+Vir$_1{Mye0(j1bw)HEI)@`tmQBm z8qEZO_%u5>FI_S90(TgjZgrJkPgxoS)3(SDf9%oZY*hmfo0pbCTWc{kHohCG125C^hEA)!n5sf6WEK3)5V96P8Yo?0UfQ%(cCGJPW2zt z7w8GfVy&&C|#fUGqueDGa6_BH!Ol)Q=biQ@1jPjD#KZp#7qJX4*4@iu6yT(y+O%f#vA4RRK@A<$Ya@MfMc z$XP;N0;9QnT)wnR(p8IYaJvjRH+tZ2Zi~Q9VM~fEK4JCngDfsI)Vl73i8PCeSwIS5 zu@8T+s<&#g>%p{i%G7$hD>Nl4leY?| zXTmM06TqO}Y*24AKAhAlDx)<0nTJ~meQwS<^3|5D-?BMUWf&zp#|Ll>>KZ*!u z;cbu-7=a3C(3dhPJ4DeUU|zZywJhiJ2#9V0K6fvat;qY8ElMA%uD`a1y{c?Wp1((4 zk7-<+Y(&A8r9Id5COX14b{bs|owUr#diu2x8Ueh0XqLr;-t@74KZi9u`%yf#xVPGc4J&o~WjjME z#f@^L)i>Y72EDCKp`039H(l9fOm7!vZfCVly0_H%_qh2D3)Z>EJ@aKGLkcw~7o5E1 zFWfjdjQ2ik%J}P~A`%v(P`G~g=pX`=!$TdJ;je~ zn=agEV9+Hp3x40$Ri(h(fQOs_XWQxbA)-~aOa?KneLR^hCfRR)ShiPb4cjcZl4ys~ zs3k4rYa*u)#LYB~nrqRrM_=05+&dp3Hz{J%)q008R~dSmR2gn z!xPHoexJOlN*NI2t%BTOTZ`*FMW)EFd+y~ot_I>EhTVjRFxFTmgiHI8_ z#uc8VxY4jaq=;Smf=}ZW0!=+WsxiHtkL;MpLuu!oKa@txL2=di??byw-+;B8g-*|oNiI_ z`Sn&Cxv>H{0dvwq04`LCj{?i(W7mKW%7ZUz(4PGj_81)fZ_qUt#y^z+HQG`=No@AVq9`GueS zd~Jl3{GKE2F8sFQ9}1r7?r_NL8?HJLbFr%?7M$=A5N2wpcK}4tnn%F%TQi}IG1=s{ zru}-0KF%?$=Yse{Hm`B_@GPF_AsZXk7*CoeDU|X10zRP7MAhh#L_x`P2_haO^fW#H zAhELrBZ21`8vpK(h#6T|Y%kl^HKTQDW#SpQ>4-n)%X9+?dU~j@Wv0^8*?3OVQ+~nAT#F!VtaS!j+d6J6PS5UR#xiKY|hGaHZ_F4+v~Y zq(cq zwBUNnWFPZ{@sx^pwt^u^hTxc?#8VN7&mr3~=he1JeNu_Dj7oA@x@Lw&r)T5drK$Qc zus9za$EM~84p=5R)$RHglA zY1&=gS3XhttP#RPCIJ&`7#CtXyyGp;#HXvBRn7CrA210GJ;>)qlw151ODZ_W1JreQ zZB%OhT(-_%>PdwoQN3gJx2C2F^s1e(sHh(Bn-i&>{`I8_|QT$+iYv>VvsarOBAQMoL{}i@1SbsZy zTYfS5pyKudLIkA|j%O$x(V52YZj@74%}%*SIP$=K<;Xq1$-L_KRl1*ekgBUTfKi3_ zv<9bwlskpIQjvnN`4A%qZFiBxG20%vfG{iPO2IB%A4-jdvF zi-&!p<1@=$xcx17pkWj4QX&;$dnmtJ3M_4|grwcIC-}zylFQNjxfw_u#$QO;rgXrr zBZlTbSZIBFq$W6}my5<~O@uFX-{&y(FoZ)$(P1F2v2{~NyZGd{MlSzOg}UYDvqJO! z6RjF<6F)8R2{8GX;67)y_1oCS_3xidbe8a_?vnLLE{gH=qa&2vJKusrB@uyoggo@n zaRrDX;=%bJznIl!iP8J_orczFTj-8Oe9U{s;^>5BN){?64g zK}yEzM5xM{!UMqaU(@Hdgd?_XFgsyU=ti@(C1#lM13(r0&OOlS)vs;5Wq8fB7Z-I~ znkOpcZCA?pWl~YMOrm0TBwtf?4_{BgKrB9GIsTw7;E}!*`0j9)M#Qp9d`)IzU?nAk z)swr))RL8KC#xP)SGqPYWhT{_l3!|9y5y$u8LBEKb)!)nXo=kC%-wbge~>hP(6IkS z1pxOOqz0a1>UPWCZRO&`5Vaaq5pClhez(?U_1Yb!;>de z_9hvJHVF6ywhK3q@q;ukoXa>Wh8P<(n-R5}s;v$Tc(`EDXsG&_PDRA?O1tf^^C~lM zBniq2kIp8&^iw86noHd(vmN=6PQQWlkO8$wWiAd1JJ!rOQ-dFg2E_^$B6aVHq#wOq zKHQF1oo$x}O;IQ68Afwmc`8_iaq6yr3c3X(C47znOc&wG^o3TWhU!KWZoaYDpt8)Y zzwZ5oNi!7hhuzC=ofe%z)}2{Xa6c=GE+^Qeh}A1h4M+zDrH^pCN2yQ!gA#xf5?M$=!pcd_= zLo>cFo^&)_JZ5}7xLggV_sbcF2FGdBrbHs3{DO;dckbq#)1+gzw!C(RlP~u%vhTCF zq^K+zI<;4DcbZJ;P7=gU>PM5K_<`hiSPjk@FHA34z8klIT&OiIM~Qhh6N$a_N;4@% zX|CH<-kBzxG?A*Stm0YX-|WCLtQRuR_baeKl1cGhp(n)5&-#6*ou^NFQ@IYqu|ilE ztLG>zm!z#NuTX9W3^hS!uMdjUqxx+-46>`ppFI1TSNNNr0;ZhC_^4r;Hde+kyXAgF zh!2+xe_*I3+khnRs7ZS;k+7jYrDPUcdvJ|dh^eexe*lApaKSb#aJ>+5yVbam{;=B< z()`AUaxmx4r#+{TD3Z_~^y3B|i0#PrSNq5NuuOl?2~Q!E@CMqM!N7Ok1@-$jgZKiN z=c!*sb1Au1U{LTO$&S9a0;BnAD5+sm{uLjMc1?HmbM24*45G9WJ;i8*G!l_Yx;=Ow zePf8b1x^EzMc=MYE+C$W28wQgLOdgz;fcdo-L6_-v0Y`m6O)`Dz~yk?q=*nUDxSLc z==v$<$t{AH-Usou1gveV1L$D((g*MgVv|~dOnsVLxLFh7V_|plWe2%dtV%{)Wo5?r z3e3tp+w;xUXk$z49D)RH3QS8xQ$YGnk`Z_X0ntwAd&1nRd(Tx8<{NoLf#r#1uU4K1 z@97~1@PWk%zC-djUeBc6ac0`2`&N9=GI8)FWV3?ABu0o#XeA;&AwM}fD;z+D>99N- zh={d3ORM)vTfj=oe>GTM!90Y?Y0Oe)O#Wtqh*<<4Pc4GEZw!?m67oZL4&o>YDtQ;4 zLm5W!cL?0gnJ4NY^nwa+-T60B+|I}%i=acC?MV1Rn)AzxRX2|z5mUV7t3cnLn-5QR zTxaoHg-zPGP+`F2(s!N(`uEQuL>s8}&=--pU8mog0i}~<;h&&|u;1O6G9?Td7C@^! zhfDi-U4rzibX<5F+mYIlvk0sRx`^6N%1d3uD&E@cU$XTH2i(X_wj4j& zhK`HbPZz6w-YDds7frttfX3hN=gS_>AU%%A(H^0#% z7t>jGE58$2)4eDKrgvR`f3qf97-y_qrE|95m}O-4uSp6`>^(^t7?5_}6c_fPn8yTc zREA@C&ea$ZKV6tSY6M8*D4I6rd6Y!I21&Im*Nl1q0=#k2-;PEHzq`3PSqE zqU8j`Li}IP_dl>E)`QSwm)97I=6edr2- zKYmA%9vxf+#$!Tt*Z);!#*hbJ9B@nis{!T>$=e_^1-Co1KJGbSKx8kEddGa`oz@Ml z|J%uJKQ*`6i~?&GbQATB~d15ky+&>XU5}p|qw?Lcrc)=|jLNtvVuWr)jR~jjGaj zgFdHUUq`YPgf7Uy$h<;KH^&kfXtA)dke}f8RQFfb(`V|oeldsZEcK?v971x(zBf;@ z`l|5xW#YF572a|^v0=z0N2sFb5(^f7p!1H4#zez(m1+Gp2NTwyPr{}arcN}3!riD! z%TjL|`uF2IQoJEv$bG>Pjzxeh!)RMpj;42p_PzQE7QHIH$$-C}0#$$r-DS;ePW}^Q zG?}Iln?OZtUf9Xgy<@3_S8Q6rPSMNp^jC9YxnaWq6st7Uw*DQjzir$@zM6gOFz05E z>;3kd-wE`nzLT8fl+SKBMg78JMFpw_kta;Fq2k|!m6TSuI^h}W%tT&|-`&$r+vY={ zIDJlmP^_6GsG_k{;JXz7P0D_0y8dTQurTvfm>B}c4Ts9)&Kr?Z=yyMJ;T}1B+jv25 zbjIk=>ivft^rZV3k9WKySJ=qc00!7mv1i1U;T*3^8w0*f9v4uf`l+M*$>a>Nmp6*R zu0v6uO_})k7u`}*v_W}&;u9x-b4<7~mDMah_Tc=SsOhwqgZ>^uh8LPV`snvtOK_(kLaj*(YR8Y$i zy)gZcVaZf6;&iD-Pqs1?Gp2s?dae<{7IFdFIsV$+bui(Ib16d^W$xeP*qPNp8~p`0 z*};U;X??r}Ep54(!L0$o%68Le5cswlIoyktx-i))am_pN!)jlnV06#YYp*K?>XT_U zH);6`&>StNmuu&NKfP>lJ@M`SW}A8Y)C+w{?5jSxGfJ%|vvV8e1cjt@5|NIw5PXHRT?e#bnMOOG9LXgtvm70UQoHmYBx)#Z^>==Oh2-c(-|P9^42n0+DoleF zk3X=>rRKBTF?K77XsZ?irUPNIuOoI?&@lKSz*(dH!tMqv4kQRy5}6jrF2WRqUEi|< z1SuhqtdLIEs2-2@X+v1qt_Wi%(Y1rv+U8? zgeKmo(2qC5`ENjfgDFk2&5SsT00kCzjbBaYTmGHd7Vig?G^DZ7r*P36>51uB$%A@$ zPpM!&_{O=IbA0TIxq}MYf#Xnx;nt(C+&3pTb=>fOLLumyIVbYNahhBCe|M46)rb`UG<6&&m?ky(PP|LgG$nbCG?Zm9G&Jr* z&JF+Ok4PRyjaO&7`F=bHxKt8pRV&MNVL(tws&%kJpt*4Fg(@`xArm$s^i$H-akN$3 zkv#B{Wzbsbq?FPo7EZ1#l7&@Co0AvUcUo)h%Cbem-p4 zp+*<);VafRURAU_cJ$+Q z(f?{HUDAhzl1wKJhJJ`LUdu>%3-)OqJ&R_mk4;u+B_lglX?+a#6;`L+-580O*Piep zs(tww;Ak`os``-DF=gbQuPAk+^l{W0d5Hl5OO?i*mcuyE3{lQ`lXE3b7yM?ZtDUqT z#KG<@FUn!=wQCuNo%uC#4nWy-S#uy~ne>4rJ2wfifPjJ3OWz~qOihh6_JnG$*_)-& zVL0sxxh@S4n(;KdsP>UaaBsydsVrCm!OzCz6ZfUKqeTeC*l6fs66yx4XC3N82X8YL zxdjd8Dj}2@>VfGqRj^S%&BL3jwueiPOzwb4dqr~LisAdh}y&6EB9DS0{T zQJ9rwkx=4e;X&0TONQvum+s(8oLuVDPvJ~XaT&*P+kC0+j`Cus`ma|0{h-no1MXrG z@(!S{lN5n**Jr}IR+D0zpgfSHptCLV289sm32E4m)bUzD6H!|!0{_A=G{yYq_IAo9 zJ)^ffn@u3p?1y{-q09n27G3R0{)`?&52C=ekzdBVouInA`nS3RPkt{*0Li0F!X&@o zOEx8eTLDUt#G7Q}F%|&PK&A6k+1JFd!=~kBVZMAEPDO-STKE)1B0Xxpn+lGUD7xej z93|&EM^2rprI6r~D6`0Pqc(Jdk6DGPxo&WSi&Ow^y~pktq{eO9#WT^``%CzZdHASt{P|>OHYvZRlNLEUpZ$o_oF{h_^B`r1>1vwt5X4k6^FasOg)V>}TR9Gew+!+WT(Ss-ocbA3>p^=e z43GP>pG;mEzeL_!fTqB&%!wslgYSX4T%L{ffag?d3hUH1ewklJr#DH#GB{JRo zMB;nNiwp^F%Xa*|Bd2^OlnB^*%Y(=D#_Nxb9pAPGe7*wKL{==jTTn5FI=wgW%wfHJ z-dz2->FfLQTl!e(uGJgU8L=+k+*@F1+EC4j>4-d^sh=jfIqBD5zN$*41;} z((t+VX{gM>B~ju4dN4ap$oozt3hm>Vy5m%{jP#3-Hrv)_Q&{g7Rp8(mW@|OQ{}v2* z;2Fs|XTg8nho^8_bp`i6VpAiL2l>tRxNhxfRfhO8f25!+v)qc{d3MgHc4+RZKvJ8`bf-Xv6(7#RK0KHUxRBgY2cf2!EPnAId~34;aoHc%pNFSp6T^y zR)rIUSmG$~0LOrqlS zbG0Om!PH06uUF2_SN|3*uv`=m|% zBYvvuq(QsiF9*1)M8&3Gv)!bK^V2%SiK7-m&Sh^kTV#;6gVGFi(e z{p(!w5A2%;y7wKru?a4$3vVhP?r2K<8YQ9v7Zy8-zoI!~{J?;I{2KS%i@eFiAEriy zCWNMMJ;Tbcr*`ZVI`tA=Ema1(OYB48!Jyf|6Z=?nPqwn_0fIa$n(#BEjQ%`y-ZnIl zTe!Mlduh>66tPe*_88gJc5BQ&O_bA=-ww_XQR4Mu4>JAwC|OjD$FWL%#NeVh==CJg zIGCHHpqO$?k_~auGX)`Ly4>#)d&27o2t91A{OBpx!uRDM=D08p<#OGTZqr)TGKt%C zZCE>}N_@dR<;gCtgh&tW*3dqntEVZhym;8vU;DF(>%nFG4(zI+u1yS~I}`<#h`lP9 zWZv?sqG*3u3+zUJd!#JQEgbfwzrZ(>rG=QZ`F=Ar{6P4+ie||6O;z+r zvtQA%31&nLv8KT$W$_T=Q64ajp(#oNyBjCVz;E;x$ILQIQpBw+xk)lhnE{A^3&ff$ z)Og1m>vfmI^flB4a;T&G$k|`16KV9XXWWg^<9;+TQDm_eSsM97+UoBveU`CQBM@fT z!1R~~a_o%y2r%V3i z`drIN$#d!FykOwaYKDz~U3Dg^MPKyXxfLRMi6(jtzJ5)BcF^x|Iu=)wk`q&qkP%TF zNlpukN&+Fe-gZ=)8OP>A(xa05ZoT@1V|}ujY>3M~pPvsCpvK+VaN5W-bSl8w@qO^z<`>pw2MVB|F}5Vsx9VQ>jQ&~^kq7>5dba$QY> zzfV!ac;RD)N|K;3Q$rxg7ctVBp(cauI;VO-`e~8@@U3xwsYpZMj|`3VlRR6@CYA)F zxpROhpCH=$Bmk2&{mciAl0HPkXv)gBw`@Su?EK5v^`==(^Q@$AY`K2sO!uiY<`NZ# zIWHD1vV$g2Djz0`V;k}hfC&hX5es7?Auz*-aM$$eR*d7;)!ERR9BIi)r0+f`BkT%bJ)kvxdR6V&*Av7~st zM(7*Q_x)_zM}zBi*vadYC9s}*l$A3U7j0{2f(xvWCKE^4dyOT?c~_<2A)dE^A96YR zApi+e)Z6>qix2eme*iG~U9s)lmvR~UJ{``7`g%G5+dYmJ!d)#D72@)^Ib9CtMBWq_ zbXQ%rfU1;{i0_SUD_O>B8w}j{>!UyVdTu)d9k(RnfTkla>3#-MYWQr-kdwjQA6XT~Iz(zof0r z&dX~hVAU=mZLhx6{{Xh}H^KDYVy;K<_xD|u-WH4X_&VL?`=~-Z=sB95$qUWC4VlYs znd0V%f0%|?2w|AIWZ>T##U^l2zu5PHe{er z9~tZ(4J=&G>cJjzO(Q?Wv|AT=R~b8{bwyCUsVvjJMup%JXJ?B!0hyno-iFlv%{&QG zVwq}|l+S@KvmS9=#5Zg6AvVmSJguQ?jp3o7<(JQvF3b{<+dE~(T}whqmwc=L3MQB6 zqzx{{7lGfhi0c}^tObZd7(V=g`1CT;PWaq0vYybmR}*_eDv4!GIR!gq#h87d%pb|J z&(S&9Y+5em6r+w?T>0Rj(}ee%k)=B50Uu(aDbdQ}Z}*cn7hoQo9a>Qog9VUmF3x70 zzGqPLBVzfbJezL?ip+yny?9xN1EAM%z|CKU5akgSFkHNSi9f|+OiTJ;9@}CeK#dn=*(1{S0ECuGexU!$vWug2Hw%#4hM`M61v#pUK@r@A~ftOHSS}ebB8sfOH`XU!(c!!X!Mh*BhmZ{A{(~{NJ8S zH;eyW@W0ycGye}g`%MqVrvI0$^-}RaYY%~@#`mki!8eY}h{377$o@hNO~#T*kh3q(Spw_jr2WterEZWF*I}(>0;I5!u~gNjsO0<9spp>5Qk+ z*|FNb8nGpOLsWHB+J-M>Lo|Mv=bwUDe2cnXwR6p~#}ancqW?X<|C_g$l1-{ls!k;$ z$4ub}PudkDt|H@kTWnT)+wzKyEeGaF(h{c)9!Fg~Zmg?x$^*a0FGXBGgAGah;#L(? z=Y`#a1?^mfRmuMxaBJDn|NF>3{y%-p6XnecXI6bYj_sNwx(A$JZ*IdQR(LJ(3qTZ8 zpn!-4##!j~v)b|ev2X;uFmO)Apar zRr7xqtDvRI?O5`=O-Kp;kH`gz`$A*0U)S&XUu3%91!&nRqDo15o&^^kd83!SiN29+ zvWju0X-;vdf+4L}y{*7j#x8q_fSdaFj@D%y1EUxKOWP=2icbSN_#o z@4AE8y{BqM*Rp+i3L{d6Fp;<)*d#;nVb%)=SGJq>7mb@M<~u7-+x45k%T83CK}`@u z=qw8^ga3RlYJ2Q-{&U(>Xa82GkV;l7>LC$JQeMHvW*L7{b2}5Upg||2RP}Gsnu|S3 zy@zekyD`vQ@h>*5Qdk5Su^&HSz~X+67ORgqw`xjx5el;3qu|+=p6a>7ugBhRdfVez(c-12oIiA>vg@x?YnKzk6_<)vVoZWKPSV&9NBrhNsJC;=g+c zog-zd)#SJcvl)HQL;fDS-re?LbyPOcXrHw0K zAh6IGioKCNs{V`2Dh&>&9e-p87WF@%$cX*}>Hd^er@W31&nt)q87G#hn6b|c!5}DMb{|Cy- z|NLNK^?8ZNYuBbhJ)SqOI+*>R)nOv-p~evSbXSt6n}= z2K_8Qt9#NjMu|!nVXJyQ0;wD~aD+x0A4^)nK@OW6uwe@iC`OS%iaF>d{HsWzT6Nn? z)0zFq3F=e6x!vG8yT|w!k>52}E`+jAappY{m0? zc^WsL*2Wgg$@HME&%jz$)mCdtT>H!~9~;%;ViOh;LhNc6Sy^RaMrYQT;3Stlrk#e= zams0buF_8GaTe&mDOSbH>AL;>$%PT1LpoDGvySd`%>f@Pdi6mNuy7j|U7|=GLx4XN zpE&XeJz|lVh&JlP)VHBvJgg?Nd- z$jNc!4IjI3T+A15<)*;eMgm8CTrH;M9?7y1bk21^(bYeL$d!h+8Ylmd&bv`Xwze-SR zNJIZlVi``5GCfze`K6O&=)n9CrzUX1{Jd-dvv{99t zxx&C4xkji`gs{VuUNosF`SjAb5$1K}Yf$Llg`0G!XZ`M3w(}D+Q%@2>WKX6NDx%Y) z);CJaDC501GRe+*Djg7*^ejzP&>1Mg$UBu3Dr1RN`0GmLd626_8bXiwI-%P)GqVFw z>R>x!p*<9&$dKHCi7r84ogfO;kM(va4!eEL+ z8X<2p!Rul__G2$gdUcgpUe)y_a7U?1EVnZ}){{+@c+!t?rZ>eHjg!uxk*Wg=k10*S zr#^$Ia$s@Nf;y#P*s16-c5CfsnYz>-CAlVR2vf(P4{fscaI3Z{sin7*gG5ny{4sc( zjX#THFg8a#lgPQKzd2UT&E%32ZY!~mh)CMdByj+b+eL-EQ|%&}5~h|o*Sr8~72(jzO>XD10LM?9Fvx~WX-u_{pR z{;4Errg4()Hs+JOV&sLz>bDQS^ZKU`T_ytGjE!C89q~j||8-r7z@l16%W*&rLn0PF zd=<8!hIT&WOrX4t(QnFEf)5%v5r^eIy2@{)I?WnyeR^Psu$x08&%Q~Ro+Y~@3A&oS zX?f>Xh}Rn=PyWHixbu$SMW&Qw^A-V~;opmMR13TjazvKq+(g@3>*+nE{u?H_=%P4E zrc7&og|9P_W413jkd5H)6^i5saS54!Ex1~z&+U1fFNbH_G;TF_(Tv+7TbU$-qD>kh zE(-c*>no4SKl`k8?5{di6~>|eIM5lFa0TR^f#8iW-@68>&QwLJtEp27>dH>qS>!zG z6#F#u3j4~+L%ux?Ub;gVk5PFQ(#Jd4hEX|ZmFk&5ayHMRu*A73K9lbG0XkY|hdqg6 zjvWEC#4dg}|GEp!E>b7B@*)wdpIIA>v{>Mz1av>z=QUie{{f2qGTsq;2-{hUVG&V5 zk>d&WJ@I!JhobfKiIHPf@P`8DSRG_(e7m51lGho@PC}3ehj5~CS7<8Hgdk_Oab+i} zo$4ewGCh~N*udnxm>3aUyr{<=R zV$F*aX?52wvgQT^(=*L0iy5s9PF;^0tqJ_aDi{c_!a1eU>$9a(%Us=3;NUv%>=2C# ztH0B%_5ltg;D(HNyF^#>e-IiM#+g6`o`LH`255sz8SujTG137F#G}(#nUfjt)>Pbl zt(EyMo9d|LQ+`^HoJNiIBehxrTV9|3M@d|e zA}6gE(A<@*E}@rPFM?0mtAh9D<2>uXK3;!6qFGGUOM|Tb0U?I#e^DJT1XZ$#%{5&H zo4=4)74Jjd{U##Za2*wkaL-)1=Ll5#1U{yyr`(YKncNkwHgVSnptF=$pmH<{K9(M3 zQQHoAA&^$}i|S^^pfarD8vKGzYgW~Hs$K##G-}RwHvZu-kCzc9dJ4w6au)=+V`A;> zx5r0Tc*i0dO)+}9tFo>8^rB|Ca>*}|XAOi+a&O+-7z%zJa{+zIHClV}41j~aURM}e zhOR(^+_n0P$t9c3LQ}5gu74E3XCF0xbGt(pR#=>~Iw0M1nx6*qfISD}XUmV%mxK39 zTLb4SPxGNzg7AHw|4PSk;wTYx=8j6z;-&_ay)O>`@)n!(hEn_(C!e;bB<6+93}$#m zSEW*r7`zY}Aq?z1JF(+G(E9@=_heFh(z#DWcBJIM-SK*ukeV@+sH&A~=1ydOv#xJ<5cOchl%9b+ zIuGndHBZ{!O1?7NbEJl(OCXoKqA;7obY5pIs%`5YgIg;h+f|Esli*iIMq*%JzThfM zkat0WtMT$(Nc_!FX-0PIb>`Z~SGB4t6G1DdKYnw1Q4}0bN81&g6irk?Am?60*^BDx z16R_!o^=RVTN)+3lesl1WF57FdT_NYT5W&KzWD64{UT9*d)CxX!JJK*c3#fI4`f!te0Uo-A`9Ss%^V7q}%ZC#(kN&yo)-}ti~Zv`h+ z;Z0KqP=1Gjp8u}p4RnDFH`fNsj9A`v^rPBk2=b2B`^oy%MoYxytrg!gVnDWZwbE^a zQj8Sy+|)gyhE~h7+$|N)SK!bbsY!D&@Z-)=3;PSH z4{8)Oo9YYj<{A;mv%7jS$bn!?$lCW{)8uE$7uOHX8_Z|?V%k$*(ECP5Jeh+(+_Xc~ z;+k^NdvS1*9(n1E;fKF^6G$&`e+&3rRi6|NP1_y$nwkA-L}jBOt}GkExyRvSFOk27B@BMS1ZF`f2A$?BA68eeixx6o#w_2MVR|KY$8RV)NYc_?FZPoT-a59tu|#W!-% z)C(QmdBmB3M~+K~EBVf_G_^S{?NG#6&*Hy4a)9>0^-6~V@qxe+GKOa6svKb$6%yK_ z15=1|%pglb(Yo)ItX?wVoO5R^kXVq~?YVlOV2SM2)v@9+ys##N34yQ)tSFO#Y537yA$T7>j{1baVZ#lL@=vZsio2H(R zI=*kYD)SD~&gCzOlYf-T?v~eV`u1e9#_J7t+GGc`94f<4DOr;hWU0LXv1R_oKfJ#r zs##cPq4Ky$Xt*J^!u_8Ia+z3F{%u8~P`)ISIp`+@@+mXf)*GFjNCVM4iN6bfsxF#c&!XFd+K92%rn3M8^&8!_bi^ zk~!`r7!N&rx%p0eHoT5C3dBG|zgzUb2A5UAexZ>`jo>sbBUbDac#y!Br!n{!wJ?5^ z7FQbUZgb!@;6+DV`ZR~b0)D9@o`C({UunY24K5l+?IDHN0na(M#}bP~%VWFX9XJh< zdqty{kui@`i_HCu?`%#0rSIXR@p6rDR6ErYxT^xX#v=yLxYR^f*(!A!v?4&%d09~{_#Ec)05ReFPSt|XYqTc0YDxg#_QAWYvR?mQti4Ww!%ob*BBb%}#BdW!p@s zLZ}XNAJlDIlB`eFt(M zE~tiX>yfg!=+6l0c~rH2n((=#2gfNjqde$G(w{G^3$Q3ET4=Y{7Kb#}I;0RK@T(D1 zBisI6vzdP4Ij2bkNGGBk>|+3BpJ0tfBI>Jx6V13_3z3pRX@Ey^vD3M64#pD-cu}Wu z6&x4C!D|h_?wRIN0rS zThbJzz%Q|JWm_?6Y5^pl&tzwnA!P2O^z5f(C_+3v0>Ao6+;o&5PX{ufA@SZ0Is0#K zLf`&&xgL}5I8T=Z;NsaQ${@OD;}qqS*aZF(p?WwNwrRD7Dy1I+tm-vKs#!+aHc~9z z1(ya>_N1yc8r8Z_0^-`LegPsjs(#`aU>d}W)wO@SR$pSM$FuM^NHqHN7~Y>#H{O3y ze%j(?pO=yigXP|gypd8Iag1WmY|#jSbDSoUGdXZ*a15*savY`9wl(4G8|7=k0IF81q z+q1@$gJz}^1e`mH z;7*$)MeL>eDxwWW>^>8}u{shx-MJVajM?^*lZG||Wg#E7A8rZgh|sF=jyYS+xi)`S57Bfdb_w(f#^jKInK{imvX>~-8 ztJ^UNZH2U9jG+5tYxsggVDwZnOOkd-xtaKBM|ngmrsb_tZu?$2dqM*MDk!l4~_&49z;gwn5RB4LLPOGI1#Z zXlMFyg=HK_T6!{XiXX1@XGp}htX@M%E7VxEejd^<2=fp5k* zJa;YXpAcw~wO8sZZbjXB3+AC$5j?MYDI9|ttClUiaRzieqZd%&45?CkIh_xUMs6jM z;`xA53 zU@|h^EBzUlWUg*I=M|+1*o0y`B}zMyI2&eF&`c6cEwv#rYnZTNT{7h@U=#YpX-OH5 z&R*W+uZot+k2Zh|T{iGM9xfswC9`I7xoR_%uslieZmKKvhq)8gJ7I76R@1ctZxA3v zK<%aheZqz`&Ca|jfVQPs8YStwvG;XN&Y{f2m`h!~lYbsw$(|gd;x)${ zuaSo(f}x+9ZAhKr*zw`=CXa^xB^#SFvx}??3~j?iojSU77w*1 zZB;cn@y!uGz0E=TG8%;^q!I0w%Re=GHxm82U5so1V4k{Attde#OtLfmxXaJ1z!_BF zo2avaHFP^M1cg7c3-Md7m(ga~0H=yU?h7&s9umc@h&5LI=uMhBuAv~Bp;+Ir4`6G; z?Ns_7@*MsVy?(?I?Af)(LcHyI#HnM`GFw%$WSG5Lb&i6D<+QjPGAhm!v|U_&gr=QM4xg)evUlMYyYuKVb25 zDuy!H2F`QfWU!#(9}e6&dcr7<9a=$TLgw5;iuU9Vhy>(N06jJVL80A1>nQ{f+-n-Q zIlH?<;J!;Dq*`QC{Nx+{(+i}LXt6|yK_+AUgJ~t9!6+ZxScM<;uwZS}zYe;+Ce$xU zF+@KjXH)S7HJF!%Hvzs56{<*|OoJJ}iArL#n&AzUZ1E^a%*S8BvXiE1%)FwUdvJ$p z!Vm(Xa7wvK<^ONG+fkyFJ{jKv(vBd?QB;7l)3MMSbyS)L%`(KigL$|Y29h~?IaZJ~!sT5N3%xpgimQAJ&E zu=6T}a2(#%-7m*L`t_Kqa3L#Hw`mB(UVGH$0dP=(-QM;q0N4{AF*?6avng1Vr;eBf zwJ}SurwCbx)g5nk4dJZeGUP0o=)%#(uux$Tngrca;ppZwK@_EC!!melB+fATpUn0v z>9!_q6^4{lTW<{cjH4e8TO=yucM&2c|+e!7>BS;x& z>{)Ee5yuECg_dzPj#EY6$^lm^A~$YugvDX4kHPe-e4c)gYhYwq^&*=-vRa-kkTxVV z5!wOdxa8W_+gs(&tGbgmJlz|ZTGmJ+*aRCBCGo@t43Cz@y69|`_ z{l@DY_jdha;_O{zeH471AJxT)sO2?f4e4fxJS;qJIQ5LM7cp2X3Jx2*w;U?P*z4Ny zmfOEZB=~$?g=CEmLj@7H;$TORJ7W5=w-ll+8GALD&&tN;U`w~O8|PW_l&@TA1El@5AfT++P10)TcDWF!&$UCZ+!XZ z!f+q%^#r?0qQDmsN-dnUp3dIj0r|FtU!Gu{+xnZsG=t&QF}jE{IUeXW8PUNo?VXF> z@8&j69@rMd==CS4XmsnPVr6m~oBG0a|F@d<;r>73`G*fgt7SEYW*t=6E*KfQCtRX& zL}0>uqHL{oyrm6CYBOP1n+L^+JuC$x1ee$ZeW1Ey;*4liBRy^So*#{12u2xrwZ-#s z`>Q$2SIAZDnpK7V3>JkVisIXH=*Wvxm)kk67iM_(R!w~-wDM?)dQq7Kz%Yz4>KWzr zd7W}*^m!Eyc-ooFhFe@zi*8x8lil)Rhi%9#I7TS9m9YQFQeXt_Cb(MBRJsJ;JSwJoEk7t%fA=Jvuik}{9<%!_<924qum~E zU-LC)W$!hSGeY0)6^Je9Qc&q|vMuw0t}Xm*yc5$Ort^1XGdy*AqQ<3~ardbvEn;Bh zaCq$Tvfv91M^ESF4XPtx(fWfvsgLz15A>lK6V(Q968ck0dvP-sBl~|3fXFVZ5L=VB81y zG+^nmsG?wgaG|XO8bCHYPqdP&CB{irO4Ai2It^TDW9@Hyxz<#fMnVHS9w=QUI?(K? zw8Rc_2-DS~^yq6;{kc>;fVwJ%%_T?`XU>B!rva%8D4!56gTuwBnQ`l;^UWe9jO3;RNyg=o4pd5jLfcii%Ayh$rW|Bh^*13wRu>cWH3rcwIMzyH? zz!@4~Y3o+jVeZU%^MX?tXCsl-X!oP#$Rw(hK>={!+>8Z|m6k5?ZXYuPQj9urucT<< zpaH*Pi>n-M|10Vms7?ey8Vi{b&`Mr_&EM363oJ33tDcq{DwQkBH_S{gaObE!I#2uj zWvs|4T}{MnjggGY)5I0(bs_t#d|$flknPcTF3n}?3xVQzUOYjdjewpVyLRq3r^>Uy zlAPvmPb-k~zo5tZdJHX3?}^NwVrTE`lXy3l+?bG zVj3gyqnR_!Vp=VqjF*y>36D2`R2*Uulf9Tg zzc{^oqld|A42rOliPa^pKaw>YJFzjcns}zVNGBs-r0{8<` zJRR2LkNK+zy(dPs5hV-AysVkOOjD&M!VD1DPfJiCP@Bhg1owzU?oOA&rnayxV{z#4e+G;nN1YEm8 znlh*bPYP-ba?_$@bf=?w0?}$6n%S%DMBOHIEMI`H_J>>6M^)8jS)7@OkMu8s^5y2Oh8p`t+sznMLyCiyUyHN z$c~a7Z16kSa7JVlSsr+xH^-PZeL~)DsThhUn8yO7-s2J{f8Z1x1bUr%sIp_OT zJ6b-}oJhR}JcOk(rSr_p2`f;7bz^WVJ7LIWodOzDaQDiqlppHS5#&X;)Iq9SJ6Xm1 zSN^_#03f}rTTt|CPPQoMjT5u>MiJ&Y> zi57IndcvWGIibJAKFK_;ttcDU)aw*!1Jjq_WdJd`3s;em(=G#x>4Ns%BvAkkI{LX0 zk6s0C-203d3&dBYf%slmBeB^5x%mez4_VAFS-oZ;^+l9A<8<{@i<~i$z&0EBFkehh z?!$F2PNwz2LOoYjUGZtC>AOh)BZ!EcmXZWzXva21IM%LN0;k$eD7{#0!BPLdnG*uj z-m2{kaxSM_K`&8-SZbXL=3cSY-m;K_vgg7p(6K%C&E*vhKJ7mALC68a!U!s{x2F7V zD6ym7!ym(isRM+P;j{}|TtP_mw_xV(84sp#Lr&4|#+H!6GX?5*UY3oM4nImwhDx5; zQ-b2syY7h|gzMDPCnrCuc(d3G5Ci&|;E>s+Hp{-11Cm7R!t0$q19j z26|KJdYz;UokN=Q4)yVYUu9WD&x4UX_06ejZ&(aeWtEQ*0?Pol*$unLHKf(jDkjqP zGTYG7s#_jPvIZ(S55W`Wr z8P;+$yusYN>D0wy9HTmnqox~+kn+aj!}4$jbT_d4valj=+CK7*I?z4nZ@_)5fKp?R z6)aY6_q2jDXWo7)cXWh8S5Wnj`CqE(#f|Ll)F`*D2tH{WO4FoH^OQN6Jdwwk`Qha7 z3F`I7xbscy9Ea9sOgLsIWAMAnR^dU*Y|T*kJL6yvY0^Vayt={Rg@v>I=#)5zIe3Q$D&O7{!WE9Za=WnCX3hfoD(biz_jOiyVVN)`7IzPAx?yMu@fW zkl%1v8oWEM<-{}SGphN>UG!qXv#pmICBV>(ruo4mP7*rSM!pnEomD7n3GkQ(Xnt0A z%dtz9{^BJbSUh-^m#Im4RXk%+s^NvzV^29Vi!J)tX&9WEt~`HlZ4`n-%%{h@!HEj} zgVV( zvF>X!v|(8oW%=PD8@z=(9qOgR4iBkMad&mb+}%Lf((%J%VKIglRr|}#%EzK_O5qk9 zv}n< zzly3Sjn{O9nv0yuZDr})Ks23U)w4B9Vnr+`W?3br*pFqmE@ws2%;1ULt=v*A+~u0H ziMONkKk+LY(evmTlKxKA7}<9@(lg#qF%d!4OwDv8WA2ee2rRV@OJ~)adMt zY&swWC5Ew=>b1y~R})|C+)-F%7~!MHSrEl*hJt2Qw1Or)C@Fd%61b0_Z+|-UGCulQ$Va%YmY_9xiuGL_?=UJkk(-N zGfpE{E4_@Bd9~5NK0sQB>*v@d1e~o6C$ou^V7ffGAX+_xQwuY|HT;<~zJpFbmBBLN z2FSv8fVP`C>H@-Rpfai6iNJ0*-l4j7cIO&T_!zAj)!we^9!MD{ax9%@VmO40>N}x1 z`do?Oo_nCI4M`iE(+-x!E5kb4P;}GOhModIQf>%BL#WWgzzt_&k;>fuASFffYi(S9AO6Yy(33J zLkARtr#vr|>y)~OuP5b+f|68A-V~O0CBRb?*jj@qC@VnRSY=UU1Yj6u{FLl=S8c~X_EnnMpL2N1u9f?75Fm(h?8}F z7yO5n01BUWg~Q4EB6F@xY|SstdD|-fbai%9ia&k}|Ahg>9isYAoPSu!p>Q=(e7Hk& zkvT6W?nGZ2nbJdXW+cO`G6?giA7Z=u+GDvo!FLEkRUs<)d!ENFbxl2NsBi>@2~hak zdB!^n?fej>D|pFzJPoAhsm|g$-wVr~&#DWksH}or1C2rZV8h@hQ{(feC0(n_3YA=B zL7mZL30?dT2MN&k0wRa^l1L+Whb@g-a%0SrQAs~aqpaL<5rFNCAkHqy$48iodbBWZ zk058h$Qy-6!}=_+Wzf1!!yVq#+4}J--O3%|j?IJK*NzV#L8OdDcRd}{9vO@P7Gkz|# zE&YV#lCIHzZ!10_qLj3#<7z|Lm|6mJ7`%MXp4*UmmwHO*dYjb!QRDj$hjM?{x9K`dL+{`U^D z@VG4-xP>5`JkV{^e<@%r@Z6wLSk{J66Slh!D{r2L=J1D(G8SP66YdHM{am#CFzLp3 zMf?rVk8lb-4-o}ozIdVSPuUBMG$?x{E5EZ3l5BW~BmMepnC^!?tY#Piwn_&{oAt)^ zaMZ@KcyVvu`KzC-N&mWhy)FmVWYEv*su$VfAaxCCbnCcv2-JCXP}^{O%FbZQ|13o^ zI4rMBs0<{~=%29p)}PUm-Tp7HH`SPc zud(#fY-dB)p-`l#B2)5H!1!x~Dg)QM1CK3?)w~pXgVeA_42D4vqx=*HQZ-Vz;4ueH z#cXplduc$Gr)WnSzlje|tttETX*(0sg2B*yw1L3ch69Ue2A|XHWCq{8zQN8_qK+boX3o-; z-O6fzT-uT|Y)A`XzYPbtuQJH?}1qc2l24|9Ze@yUhL0x~gVDRhq&$aK|1U+adM z`@7Th)1B~wvSoK4Lg4=teNHUMge6a~tl2rnS9UEJ3VkF<$IeEipm_aHMyBs{S+5Xe zcW|h47^0ie%BViBef;DODmx}QO=_4!;vihu2Es?&f(ZGGpoMU)mAg!8gwYojIH@Xs z+ED)M9UNjNk+#4&8n$nWjU7G=*EcebjdUDxF2Nq!)2Z3T_UU2b|DqK;I!umN*&UM8 zr0OYn9tDJyZNtq+BQoCb{@T$`SiG#7f$pfndFf4U?M*BzJ%Gei?i^3LJR)`v)^1_RSL&US+Jyv43!$qGhgo?l zcna8UKm6&8iZ-?YzNO@Gq)>uXYpzetf}P)d4E(W0noj$Y8JoxKBM>;L8ozl6@AXM` zN{Gn)-wT0#b8g$l7D9I$4zuKF;3!a86onPZbY6W+O_muqM=c5pMDuFr)@JjKP6f{? zFLWvmGt}3EPmGXzA=Zsl(}7%+jcYGPTk$*>e}F?)kNE-<=C_(6rnCZa(u5c@eVmAAZP8S5o zFOb(~4^Mguggy8-VW*IR+D+aS4W|&&MKZTu8^f(6jqSx)lP6VN6CRAx%*mOC@w#U(p|h+0UM zCFIJ+j-B0_!VZAEcin)pGUbh~cwttLRgqRB-M-$Rf;mI;1gXX(IF|w>|9Rmocg&ad z&tIk_j!bOyo*W?MB=dcEY7>#xB&v%a&H=>^jy==SD2f0QPOR{bf$y2g)l0#Or701>Bg(T{A}m1rinn;r}0b&sbchh^KLFQ@Yu8Q*9cfY6 z^ZMl$Ow*|yvOWKm5Io1t$Z*W@_4-}NvVoG)W1@Is2WqyG$Y%B8u4(nbI5K-gLP7_I z;p;uF6J%Xkt<=1OYRZDTr;$;CvNHo{1L5uR0{Bk!5s}WdsI5FaM+mz?otx6#fCUBn zimLHyoe5z1f#%}uH9y3vi*7`k9+HgE9Lp8Rr(EGe2UYq)>_IP%OF44*(>Z=`t`mJA z7{ljYX7i>Q%)RCu6~dOh+VKj7tgz)!3*mPN4#Z+S{jH^Chm-3W;4Ll#TbysW1w->& z9m|M8ktaJ3ON=DrE>0;O_wqSud5zki1z+nW!qtcaoZWvHENiy&Boe=1uDa|Si=QWf zL?2+0PnOl8*kkO!ry~wE0d2)&+Hj!Y6@9iOOs6-nQ_x-3IYpi4dIA<*c$5pVNjrt{om24xG8649c;nxfjj*2Uw8V^(_p$5S_lXjLLK_ zCQY8~lIN){S=h_6IRUSngR&)v&;ZO>HQ61>F3GVFTY2J7?-reu(;**=$Z3dyB1UjC z#~4t{`PHId7!ow+50KZg@pZWz1&S4k`9t!@o9i0L-qsuwJ1I7xP0}#Ut;@j_GErLx zVId!3|GhvQKA*)^oXtqA;pyZqzi{kt$y!tXi^q51xwtZ1`LKQs?Q}r|MxT%+at19D zyByMdt-%=RD9t3dyWhVlaPmu*Z<5ltwSb$K5=1y`!T~`XS}1g8 zOAGX7W28{2PZ{<$Ze8$b&r5i$NUI8}#6Nc`)IPDoqg9)WS2PZEn&o*Gn=ZdpRY`5d zUtGU|+a2!u{O;p6h!@)VrgMfov$7*1a;plA*0kJerGrWq2&aX19Dc(t>sOF37TKLr zRK0Wyox6YuS0ZdDvhBFYCsu7pgQRiZJg!871tndWEd)Xv4uENa_j3=7hCT-gGCgIg zO5@j12Qyb5bCFeXYfvYU9ApK%<3FevU`}5MzX8m7}D_aPMZ8*TSl z&On#nPK8r;IM=0nM;^lmFR^(;wML*v{2`&h=c=6`SICOqouq|u+J*yvyBQsVb9)7L zsYZ?Yh4S>Ec!cIyXMu9-Ly+C{RjAFg-sw*JKwWTW=7L*!o*Gur1lw-zYtpxvekO=< zX#oC2rGCa)n@F)wkBpzxRj@!dnd-dHqzR))W-puxF3P%iN*EBsP=>%6tOD}N zLzIR2Wz@X;EE;RXNJdr%IX=p=c}S?8IF33*=1N5yNAZF@yr!1+b+mt2!Ap-QGyFKII`;JCvn3sSj23_ZTxbW;LHY@>NCs#qvJDW#eMq$Ky(s*TTMgi|XSx2ZqX_&wh&V$7{u5$38liE4m;8&vO z4Wa`@Z#f=e*w-47Mz?OCC&e&0eFK5UuBQKf!K_P$RUz$|~jx9Nl~rtl&`H&>X(;#%Bir`5P|OaBw6NR(bx}Z&Bb4D}9K}wUAzQHlgR8ea z7!_J0u(#*Re+84iK3_~rK$*L<>f-gI*9u%ZojmMOt5vz`S9_M{3gL8~TVdP}A^RaO zFGuQKua=A-v)4L~T6x5y(I}(ppW20LNFe9A6sCRr3pe~6$+DjGUoie_FrH!7w!k(Z zEpE%WfuYX$%xxr*6a4AG@k*p!PSh!RoQEK1s!(D&>L-b9AyygaALt~>bzL~q*3G`n zPjg!|($%e|6#^c=_(TaAR+#zBr>hedmE)m?SvQMC=M{DHI;`to0h=%vINI?uUNSzT z$&-sn(s;Z^0VX=gD?DBVK{_^3bN-r>d@vfUn(K1tCw9>8E*wrGg`RU!xdBEBE@72o zk5GQv#nmsvGV*7t32wvdBlWHLh(E`_Ny=OXI;$(eHyw?w(>SE?VLzaO6U0nC(^apaeW z7+#g#ekO3sX$$Zr_CkXKY`81s(BKfF^P61)d2ZI^I*#qt2vXSpcfd$9;Mm~l!4dZe zNjan3_-Z$Pe^LuUvJD3gCqkXim`ts<`w?x?h?HZdo<4BdZKcL6=h}6lzrQ{wmN(i( zsQ<(3nY^8M|KdVRU%+Y*E`#NU!Y9v;8pPIdxdpbaM|eW2(28Ij&bf#*WU^6lQCRU0 zy}_Wr^M7mmhIF2r*kjqcTGMsOU~wSJg3;Yh_m*lyG0n@m3) z%mHZwdd0KGZ%z>V8Ec@w=m8VE2o`=%>!wZ9tGs#RJP7_83X2t{lbQ!WxJ7)dPlFW-FRGe5KtgxYZ6 zDU|`UXFgz)9$sVmw|^kPki{PU0i5hInN22x$qXcxPp?e(=QW!Sb#j>1JPD81d21b4 zDD+y!jl)e6J!P>qJ&rXXm_$0j0|Rg3?b?6Iv4*kPj=MNA?SC%h;*_AiPXQ2N^LFAd z@l#ptvYmf?t^(fzHSF}Ad}s%qb^_v`1afPR*^U9D>CQDyz^`t^ykR5e1NZBOj+j3T zfb$O3MkMCQdJl!*ab)T1B6bHe&iU<$S0XRBWl`d+yuv3c2Tv?bieK{yp$ML{60F>HG8utgaYD^;UuR*?489k?hph)gh z9=qouyRPxXr#x33?iFM_KOGi8T@%cS4+s`r+n?qKPyi(dcpW;_$Q z??u9N07K&4sq)vPZmB}+4rJz~1q|;vtc-SN-VB$BUieJ82A}DLSUFkD`S95Xz4vSK zwSLntd9r27h;0W-&;QBg-}kF?QGdF|qn0(_0a#urKA%}7jp;RLs~OADCZ_ezFg}%n zwWn3_bBW?ACV#M4sj&w|vKo?4bL)iz|RX$G}$Myt`IOwaS>F#ApC=Pt(* zd8ISt4A-3gfHha?_<=d`AJ>wmD9&WHh0~PcE0Rv03|8zv0Voql&WFYEHum_v9ql@) zM`N{T8ATgnJryBROzB3d7drSr`=SyTJfgEWAY<}Z`-45|!)`}br^43W_CQ}QbbyWU zZ(rJi*`9dJ0T6Hs2Mr_hDZ)twfg|RPn>h-p&#OY^U-z9`E6`z%YLOw+X({K|3x#W7 zF=GrUK6`IeZ&${C5qmp;2+Ta)4#Od}S4vdBy2b$%>a?i=-h%h2Q-k|}g2bol9-qFdN)KnVyi{~xacjpwSK*|pF`)2N<1r2=Y z9mKuf&|qWBGa@7ZZ^eHO#siCLr4!kyDGaV7g$MKX{29Jp)1&|CE{F=ov6BpGi{eRa zMNd?m!*w9r%@?irWn{|YCrzS=he7?e-QfkrI0_fCgtTy)h4mzl}5Eul1u=n@%#MvaT5S6 z+V@<#J$FyOIzM&&keson{_j|Y%UcPs3S~6nbz1SDBny0D=Dk?Px~u~Tb#2A--FE}j zkvzlj-#85Ps#hidOk!Lob51L)E}lt)S%(0GElZF8M}s^UNV(eniSu(MYv4|1Y?7FW8-<&rP*`oYMrwEfF{cKLOIU2f{^&LME-ZqGBz7&F-# zmrvBkUSR3n(;D;kHRhG7d)gY(q8k25SRO&ANwG?~&8ODdvrHPVLKk6ovDf9#oSO&a zAuUZ%fkmIIlc$xHTb1B>P?iNz`)*9EGlj+SADO%Z- z+jdK&`rQR7#UBTX<#xkdfj@TnB{jv!R62}Wpvn6a}0Ei;( zb?LS;quvs3(0dcPV^w$ye;RM!|2%H{x6SG0NjzRe5P(IW!u)mUM_ZZBT^@B@<36#BZ1&~U}p?db2zUu`CQ%;VoC!wdD~Tb;Am&OVC=b288it;+SAgA z*#SkD`elgO*k>fL4Ha=pqYQQGA&Z?!}dM*fxydt&TdLNa%Z zGjANI9;TN}S{<)xxd^h)u<6`2i^+4C|C@T#lf8_)9IJjzYWZw;AU z2+K!Xv*fj$)&}&7FbI5|65v3ep06}VcekC5xG-zLn&fg*l8d?(T>p?tAr^Pb3t93N z7LTjj_U71U3EF@sxPr>Y0@A8=uAG{^)}Ski*$+{~3tZa2}8(jmK?$Vd$ z5iLg2S?)e+cd65WRH(|3Dr2~7Q!|;FS5wMu)F}id%1S}Cp}4ShMi!9p97$_`_XA2( zjZre%-~HZ>t{gLs>gh{k?xNEQI#b!V0OW?Hfx_}cEX#gsUNf77kZG+{Qe_~rErrWW z6w(gu|NAd0op_TwVJO)Nf6P5wzFbeo)6m$Tzk-|ulLsoCTd z_RSg3O39R0Z-8!E#_v%8<$IaPz&+5UvXg+*PA7yqUPKlSsUE?OPJpasHc_WpwaXebkpc`)bsh|bp0D1y| z2DSGuoz>N2&DS$`$mD(`QgW^B^F}sU2;d{q41L$;shW0EqW92Rm zZ!|)y)Zk{Gp)m3pseQ@h_M>{fzUQ#Ge<-Piyuk;*6SyGprmOG5CJHTHKx1E*o&(UW z0W_FWs^p^=Qc3e^WN&;dzsE7Q1W#VqQfB(Dpqy?8puYiV(0)?psJ^r&#ekIVWU|;= zdvSxI(DY3~KHd&M+erxk;@J?sDS?FprffJXT)&q}j>RPX2Qm4NkHtC?zL;-(4xo<$ zXh6i?gOI@}u+Zr+|2%=rXDIFU!P*aq>6?N)JB@RCH4EN_&?Z$Tt*nxuFErA03RN(x z(=W2SzbVM3b^y9JDFHy&yeE6GV}O1)n`|dB+D+-e=8ofAfrJLBp%kVcOTO^HJm9eY zP^;L7VzphoA|YJauY1jPpO!iSpum>A^I7cT<$P$B5FDvCyQVo=uyonFU(DMG(iPK$ zIWlPwV%}ka=#Swqdz5K4E|#PEQCn9@p-We0vVDcck73TCBQpwi zhJ`Oxf?utR7~>~$B4|3=sW8w-4!mhO^9DC%?U3mkooRqFh>+Tb1G0XZ9VI#0{zxcV z>K$`*Q$fc<=*EX@!rQ3LOw zoGCdLPx9S9Mr*dqnK?hW-K@@uDHpt9%xEvCaqBc`O*limkM;1Do-mOLCox9mWIv6pHJGG79} zo&(hOV$xu+Ps&@p_wj!!wQj3aYl0>LX}hCz?qBN*6Ls+#3hurynSkZka_)^m+XGjV z7u%(QVDDIW3>D)6P92e*J<2dvZrKC-v>_J*AH~7oHzL@cvn;nd5rii6) zHB0>4Tz(IL^#03!?i%(L>zlcvX+YVCSw>|C@~l4)?}HVT&l6Y}o(&JEI6=lx3S@Ui z;YkZKU;e{@_qP*;i_fpjUKV(SwX32Yp(~ zbtcdqEKz66^$A8xFc64_I{eU}W5&}Z9`+p=Z@S&Z5D{FESG%w9*Z4gKm9c39vxT5f zI=B)fomRL>IeV3*Ss}Gps&Y!eHKLWU6jN$zZIUh+IdRMwQvX)G0N~Khw(czi4YGl$ z3KSp@w6FNN2cT6Z_HZ%%QoU2%-Lvk^roXtj72h9%16l#7LvUj!2L=#+dPmaq#X1@4 zOs_--ZfhaH0rEgv=)fY2^C<29V%#XSSU0%QYkR8WF>XM{Eg{|l;i1|)f4l`Z3BY8v zQeOc2KY`PJOU>Hys^{fIVOX%58QuT#gQkTbi@JmIZl2IN*<0quiWTh67iK?_r`8(+ z74l3;0H0ttVu}3j9EVjQj%Ik&3G^013f$g-_TDaw##__N0|?xe__)MT4HSBtpi+Xz zbhgIKgL?O#M(4V>-AcjpXy9lE)1=Eu*UguP2HJ@ZJFv1x3n2nJlgW#WqoK&PgjwKt zkAiu)na_S+`79E{?&|z=MZXsI%tYJ9t6CvtwnYF(K)AmX;vT`wFCAiSzid^3@$vWn zO7+vaTyOViH7X~}qXb85`QAAFc+EsJ>*OhscKynz^2&(wbY|wG`kI-``n~2= zT-&!6!b9$ROfMGue+U_uHLW9ZB3h-wA?IOl$zQv5ErkELcaVQwmGt^Tfj0~AI%8(8 z5x8|I!>dt+ZSV3JxwvcdTG)+hr4g4#l{~3_q7x~yK-WW9K{QQ&1uA9Sh>Ykry zLHt5BhY+SsP~gEbEMo3SYx?CEEZvLfR&ae936Vy9<-w@WkGWgRHCpv(6}1*fT}r*K z1aGA#JY6r<|RsVmCNz)lXzcqv4u0$C=6?_*{Fi z2VoMYw$BjDe4@KwT3PYmD(|Sn=eLB5UzPStgK<_BbeZaHt|u$ch*of-DERu`ErV z*qPW7x1=wa#p@ZBKwaXXsj9H(|GXL zS=3b5bkgC)4ab$y{Vm=<#YQNF57?K<3;s(`Jnub%@Fj=Z1;pTI{OdHJ7u?^WtfN`UJ|B#{4$p(yS=e#H{e?^T8*dF@{V!#@f%ORjA%=l8p~up9)=27F!K zz&b^zX@Wp*z=fU?b0`Sw=LB(hJ`a>U7~EX|3R_%o>dAi9kMhzgg2R#*7)_`FN}29j zKBjRSjA#VFL(qAJF9jcN(pJG z?h=+K+`>(Ab-w>IQeVcUclVm%Bk|(uGb8uyNAbFDd&FcyvF27BX&AILv*-S_YJ$j} z(aqF|e#eI<2{fQy`43>%z-(jBe#^-g+_viXI-QUp^Kwo<7kg!xUA|b_^B(z;nhz^M z$O^hDQ!CXv5@-+qO*8zS}#%^XnvUx@Ji@YCdr1&boQ%O1hba z#?ka39dAC^TosJV_AP`Bj}kLWjaX6jSc!|fx+Er6(#JPR;WzES&<27<_r21vXL*NM zHtP&jQ#Qsw!*oR(Vi^@(#D_KpOZP}G@Hw8} z@FxsuaA)S|Av2HLN2u}^43Cybt`LhA<(3?mE=Q$xWEpgRwIZO>J4?Gpv(GQpelJe@ zjtQm!!$suFQ2zJ+6^-M_u$}kUnO+{~beJS`fn-U6`f07mj*g0h1OBIaNdDuhlt0rk z!FzdJs4Xp{9NF=F(R-OZm;0%G{>lYOV<||%UB&(t*2W0WT)AN0C76sKGm*7pC&!eo z{H)PKS5II&i5C`KI)qo3T^$t+#o1mEsO7~rG))?+hT9ZHA05m=dp!)8)J56ZVyhxy z$wP}EVZqj9g&L7=xD+B+h7FOWI0^1P-Tq#m4axd~?v}EdQoy}8cVYSiWx#ilb%9Cc z!(V1o-TC;sd+)Z{lJ#@Jdg|%%`S7u6WE?B6nz2bGhjc=M#Le8!lDZ^{zx+@nnBmCY zI6;Sgvf*44b3>=!%4N^o_!t+V;c}$ zq$44o#^vo%<@09QwIbTXUML&uy)oN6^}vF%q1RjSd5w6?@0ivR?9C{wZnzlI)0a<|;oB#Z8O_0Zwc-m;Wjp17Y(UBhKzaNDKIUMD+neONy?2hk7Wmvf3rxL51o5{ zndF5yClahh_u93gcE^H}av|;vmIT5*Ws5G%U!pc6E?9okExAjh`aWC{2*N~A!g_V) z@}pEt_Qdk%)?>FNs5cP&G*xiqOGF4`JSW1=MZNM0QifSwn!tAL>3lXqy1Z9|9q_&o z5jy$q?3aF-7W=7@SQ#BERxzh8<2IL>t|%}DXHP${;PLd86p2%!E!VVt)#^u=MY4V? z)6H$`4w|OGZtNDk*$VhFeEG3kU9*$MXShL<%^I=9uO%v-8LM|DS(624bK^opWsFN~ zh{+L4ruJ{<4(~-Qd$W5wYc2Be`9&91qVUqT5Tj!UFaUI1hG%_B$DoZvbAV4O;t$Q{ zK8!MvNqIYd+b%9`#VcZdXp>7e*-QvQ%FIrt{3ePWR%E5H4h&r=$BH`uK~(Wh4ftCK zm1utjXru$lB`Gq>saI1Y=W|nJ%>6l-6q7mf)Hj2Lu8Yqwcn+qg_tGlJ>qn1OEjowH zCHRHm$KwfcgY11w!B{gT$iS z%b9A{{WO@7Gtj50Xg;-uW|0}jF54kV6nvtv?8l~*bt^E;9~*YZGqVSYs*sbzmaSia zQ>yY47c~(qj?alX^)hiV!>OF$qgULXTo?MDeAETP99xBg^p#oelZRUIawId9+_z{S zn!XD=iuU|r7l;JDSC?PzCDW!328cQ?-F<#Pko$(c{QH)SbZbncB@ExkU5i4MvJFM~t_Lq{5iXyNW8(v!7)tn~TE@IJc@pxWFU2iZRQu(zW z+B=t{XK!@-qt z%5>M<#i8GdHo%yzO^R@nr7$Bhkwd&1$b;^JWjLi|bD}lh>Wv zjd&`ci^5ajg+GKR`v0@o&man@w0@F!$9Y0%!0Ec+c(bLX0iF5_s6BV6QadRng&coa zDv^Sh#JT9A9!ahQ-pJNI8Ig=GH5S?25;hZXZ!$H@*@^LX&WDwH`|eZwh$lO75_2;)?%6(Tr}@Yy{M*Ys*gj9nX!>+>@D*U=V5A+C!vr|utz(^crF%atL)t=$p9x$d@BAhZbXH1xjl z6erm5z^m3NgTqfQfkve@;vd&#vfmQQG+o;#HE#Ivdw|P6D3VmB#m>Ej1v9Qs1^K!= z$`(xSt(vTq*bSm#L~Yh&LpVd+pdG;a?dNS?YJnicrl` z|B88h{jPS%)89*S*me5kR7L)Wp(za-%DhmtE437AvvMj0c5Vulu}X4V=lpE?y!1+Y zGBT(!kv4hSIu+yQUUKEn=&Ijq>|D~xF@79J>-YS6uC~xTVKB;R1MpUGW9#S}Y zfM8v%IOXQs6R?RJ5=n9byPuqbvlJ#0M>6)oA3t4zys0`)BV{`leXzR!X$TfvB=)G; zw#U_gVt;Ni=-du4xAD zSB$CEI=R0o{gY#C#gK0MoqDOe#URjn8`l;{Rxxd<&=a<)sSVkC5GsXjBT+H&f|4T8A%@3R zy!yB_(mUlqSrZpz1O#l_bQuIWRg$lx91EC8U0sAsW!)oIjzRyS z=7ME`6c+ixVdx$`7xQ8hbKDSfI?g5IF;_)Twj*MPf#Kew$yeS{PHRXYl}l6;Vy%Cm zErhEfRgjDqq43P`W$WkToo#ystXjFPy-dHVIB8L%SG0qO$5}*5>GQC#`A3&whL|e$ z?rA2BiTsZumqeagB3i!iP-mI*e#%zADA~1;)-_+$p#0!ACZV8^9C!P)N&47&q{se{Mw`rblV3+c4D{W68KDgiWr77uTyzv;CWYqN8@ zhd6#2kG@K>G{wHqbZyzcvx(=9mU|Q~a(G_~nf01!yS$Ge^MW^Igp@?WqLY6o|7XC& zrQ$*9IIjr}g1&ZrX*vqQ*!&ijVaL?1V%iwlv3mzhn0QD*AqLL-8;ygJ_V0BXLybOI zBUWfjg*GxmeqUtubmTvle=Tn5YUlUZbl&X;x6?lGag^Vu&6+T!AOx+g?t21aZ+&PG zE!#665guXlU?}WN#4;x57gD5L=Ni_O76PIT2W~BLE!o)QG*#b2ej|~sBPl6TEx%Xq z`p-DRU0UjG2669~K?U_Zd3O>mwW#?n7$7|2>J> zB;h#Xt|VMaU;NKz2%i!^(!^rji(=aR;E4K$R{T;34jd~G7pEJGudBBfpuR|<2w|1W zvztPmmPz^gE%z781(F|Wbcf*Qpy0wO0NsDxc$7u+4dvaT-LIqAQj~sRt_f)kuHWs} z-}~k4|0i&l;r@ZyA4|029#_+t>gZU_P$JBj8gWbd$uMlV=`mv_h+n^JDpy;CdEy+G zJE5*zHUt{d%L@{*2}35P=2*63O+7Twt}lT{h0)AxZh^o7rcmj-BuDR5@CzsX5iNz9 zWdB=C<*t(nJH|UC`NcCi+GQ~DY^;dqNaalXBE&SNV9jz@8&0$hXMvoQ4rB~Id$HgB zd});|j{WNIa^;A@PNO(%eUs5x@!Ps)}CFGbkUTvyC`EfQ) z#7c=n!OCqk%htGggLb=JG9M(Zu-5O0t$~#8L&QsS5x-&#LXF{}~x2`Zt=a(NQ+b1*yxQK8 z;^ji6Yx)-*ds>;1XO}+PLZj|vu=j=k^=o99T{uyLX|%zPiydJJ#ZuarkvlD2L<7l| ztF95$K9b@zolljmi@EpHyz!M}%L&cbwc&7WIAhUF*GP1Ol)>%g z(1wi>y(k$=51KG-?#v&Brk29-?*zcOw+`zdtXq#X=1COUzItmvc`32up=)*49FICI zjn+3JQ@Bh1`Csze4p*QiAVJ!WFTsIDyBD*$?=b;NyVfJE$gcBC^;nicQZ+}_id`Ux zHQ&%E?*e^!lz)ODJIUrU@NDip^_727k?Z&b4W_x97_6432$5m(E}8w`m!2|3gGw5; z6;HIzoF1*o2kiz4CQ?ke{75XxpL1}utao^?qDh=Gb<3C{&i>#5?fza(0&OElh-s{v z2&ae2`z4CR*^^i1lb|d*enbB$s)^OE8K#?C1t`gu`$io%YJ%}q5pxUL zLO5Tik9ABC5hk)JTgMjeDpIf3s`7G|3!zDIn{#aCdbw?+gF-=CAL*ttvBK+;>j2zB zH{Uig4tPqaqEaetu_!-8ZBiq0d!tC5U+{$R(Wjco;+`s0CI=3T&$GNAo_vd7aL2vN+g|Q z48}(4$hYpEFhiysi%(wMA?C`c;5xyu%Upj*EGGXjAOeM?G?r71$`?`SO?grZ`K+)7 zuYq<~VK%)h$CW97-H|Lei(E~czn4M(ET9~vkI-zcViJh)c+f_qQ4ZZXX%px|CbuLf zPW$Sp;JT?ral&q|P)Pkn$t<7U)1+wwQ6;LeBNJM!JVzX-uu&p?9elY=a#zy_&SlWk zd8}(r9L_wX6Ny70VvS}R!oFj8zCzogm^L>!v}0`x;XAGCdZ<2_r!?q&;xRn-oW&;+ z@Jgx(V-IyC+2rRawOWq^`sih9DJhqEr4GRYm3ce)bO}p(PighjaEH!ZW3vnuOD+ zdO0fDst~(M>&t|P42<=NsnF`@jTl-wGG|9GEKbnr5R2&@!++nV@4eN5DFvc7?VaN9 z;Hu&~^=xMgaMNQ|LP8RE<(F|d1_!rV=TV5G(f2wIu6r8}Y}5JE2ZZ|Akuh?E&SxNq z@VQhbmuQsw-BKlUhFzT&(#gQU#kU^{j|ZHtLRGavQ}Iim4EG=k4`C`->h;RvK;)e= z)&67BkP}u1Rs&?BKV9kVW0!1KW!U^C#AMOV#eSxpd26N7FA0bfm~9%FBg5$ST8v<~Ecwn%{~k-0K` zxw{mgmv&m^xgO*wRd)Hr^jaQL@F+y>xO>Du=;GZ6x2_JZmaJH}^%@o0imz+K;R&ll zHkkWu+z&t>hue$AD2cSVOjiM2dds4sgr1THC-?J`9AInPr26HG7*h%F8B5O{{a8h4 zA#gY0Ks)SYAd4sS4nfgC4ag+0ws9k^;R4xbm^$|`o+!D26 zOt#4C>cNZM3f?-h&F4&pq2*WfA30^{o&X!eeJL!Kd1cXdv1&XImCgq0B7 zRH7$+w>QtoHTH)22afy~D6&&ouzofptwNg~Ge|(^B*2wkwKhOKyj5ck2~;qCGWrmA zc^F96dT{ER7$26kxcKbhRx|kK-e$|Tg|xpgFpmRmt#>Wt^Z(qUq&F&<+^2hJT01q} z>vqjsysWEi8IlzF1}FNxwr(3$ejgAeUKH8)BOj|9%U?q8+PK{GA>3}m0ZtV3X~R%g>mDGW z%Hcl-*?|neAw`nf)^H%xiBMRIf(ZY;t=3Q&Rk7A)1_JF2&DslXI-WY24)RJx#(a*f z(Zzot1UnV=iMJt?;oGk@+P#3U^|~_{N3uJmmuYQM^3ICx?alUwdneGlAILSWlsi1% z(-qU8ftX6KbPLCjrDVqVSmm%3;!!r{r-HUIejb0u!}AQ*?|GF&iDU+>z>uI+tjuZh zlyl-cQR%T&i?FhwpC{`c(q`klK4lQ@ahK`x9xdy{>;ns&RJA{C2=U$!J0*ii+i==P zOK;9~Or!~9p}ta8AhuR8pr$ev*G?jd|QFriy;8Huc2oO-l0k zhbmr$iI#c8Ny?Fgm74WL3~tbunP@_`O#tn$In0?n^O(mfO&4fyU|GA%wqw-3#Xz!u zd(Z^XnbPirY}oVh=nIf0S|Ecj%J0*6^7v&hX?&g(|96`y0xO-`PtX=NYb(D{YcP3} zH|e-s4wnP)=6R3b6X@&yTIFo-KhT*%C*&)0BN!+Ctuxo} zOG4y!=0(~=ZkpEZ+v^U8?jN(QU!1G)y{?&$w%)3rOP7f+1JcNyxO?VKLtmdzWsWG( z*qXNW9(S4?_%@bM>0EpXtmy zCq%1ZpBO8Oy0yi!a4@5RjFs0ap>_(|%ACbjHHHkQC%dH(XU9lx&PaEUA*$m2sxIpF zY~`*lRsGwt{n-}QUm^C&XgD<6Gis=|@PSITvQ=SCom$LJPf$g4ist9f^^Y8?%lluQ z@vv1p`*#{@z?`9MD^taY9G!A=qszQghM0yUHqAM*(*&c-6U(-#EMBo%y4#kQxA?2N|%{jHxTw@@Zr!qL}atk~Y zWn+Q^n~e54)w5ISa4zn=+<3EFf@LruM&#-eD=$CgJv20@cxHb?+PBK*T-SNCDHC2!Oz6^E)4 z$NB0%(;6z9?AZ+UM32bZ66;xZK(;r$p-a$iLh7z>X)ss)Dvxf@*d-|F)yIwv8HVN! z?|emmDRi()*kRMFJ9Gr9?AjH%`!mi6>RJcd9gN#+bybeQ=)4Ji9w}~x4|fgOv)ijH zSD346-M<`zdE%&1c4wDOpY0hgt{d>b{8{8e*Qmoq5an^}ejCd!AAZy&&lkAd3^c-g z8JAmwKho$Lg_g>fez|REzkIsOO~gku%9f%V(H06jW7TSs9nXP&Ko{%)5*U+UMrf%h0I$T5e`tM(Ah!Zd;;dVxXZ6RSx<_eVIvt zipB6xhMu29C0lt01A`0$bV;j=)EVHJ<7j)vR=04cl^noVJR>$hf_Ul7APt)t9WY3{ zMo9~>FqtM)=1U7y1u>fwAS;Q7K_VzLi{~IjP@53djfbE`3T}`MLATt=9x#NfeNOgM zQChWSXEL02=RTvP^W%><{-=n?NQ6*grbDaOYtd_5;y`1DmhG9$ny951+>9D$Ir!*n z#lqbx<4gx65+o8QJ4hiCr#o*iL_b1XSnRF*0@Psk5>APn{}cW4X3(~B*T`oz z1Gg2lWO_4rT*<^{0J);6%^>n8SOg^3A~5-^CN%@fqnXnTDz|2CGq8L#^P9otk{33= zAx=iOq8VhqPPn)kXzuc|X0Y#Rba-gW)1~4fjvSpe8gyDa8FTV%RW|j=Kv`*;UO!0%g4n3gjoyPg4p&VGH%gya{ zP~Fqzj%8Gcb(wBMd&cdNTP8gJp^kRpcLmT7!#C{0gQK1DExb?)S}n`F3xzqD^Zy&X zY_&^b#3Yxjbb=X}34Z{y)~e;^ADOS0{wHdz_TYMVy8 z={x!(lY$HoQCC<_X-eu5RUq(fUND@Zyb^7$nW8#N&ffF|QXh6|p_Q4eGD-5ShiP!5 zka}|5XLO{$tRzjZ+Z8h?=VNl9v^r^-qakEt5mgqo_7J}u;vgDig6J$|7eh~nJ2#_T zjFzE%*)cy|r!P}80oBa^dQtSKQu;j^ZBsORFk9H{29~c@OEKG+2#Jrnl(HgSm4@!T zOTn7$(JRayKQXqXZOr>7I`7yvR>>Vc8`cPE3`LVF?k!r<`gVlBoTCy~S=YJcOIvGQ z3Rd!p>oSbuwTV19f`i>Y_mQQ!vDc>PV_4)&Uy*&R-z7)?6ML^68lCv+jj@8;_Q;GO z0lB|tuv2;==gTSfI>a9~nZ;t)IavbKLNH#`F29|*pYzPF{lFM^7;rMP&SuI34VtSe zlrA=w`6!bYX{mBk@cnt!*T&f;m?a`CDMQ1+Z6KYI-7~G~$7H>HWw#zx(c>Hw)C#XZ z<45M`aYW?!RFgP}N#*)&J^KE_VX4AtuaBW_Pzzzn6$c``HL~rknWET_pNd{z2u6&t zE$s@kbj{Rg@|lSHgI2R+u8>Bu-{OWe*byl|emjj)&0ri}{Oey-Q1ofANE0>!drr6} z7hlRpj)AOOAZ^oNe$byr2WKW6Iiqq|jl60M&Cg#1RMmdmF=*ecy_0*e@PS`^{;YST zbL+*$KZj6+-~3lH2xeds?swk;l(iV`35ePI-o7Jvy11(6JJ$I>aYHa zMEY!ek562KI|{1L+r`LAm@(XuRg*wV>fje{J(=|5ud^vc8nkQP*p>MBns~N3GcI1N zxAZ5=`}p=OWs-+{t;M&z0|^@82>k%OT0Z%*nl)z8vRnPyxcB%5qsd?}838s_^Ng+o zUMdF;dqSDhD-+IfbX$#7T@w*B8!vT@U65`R?i!Wg+34Q2E3whj1Ce(m*c%e<3Av#L zU1c4Og+6%I!zj}ZRx4JT?fF<)YE{35AFa`d=+W!c{3#zAch24Y4y&DL>Od=89Ab_A zqWJREKmYFB+~SMQjY)5M6ko`>cjp75EBIeze&PwQXz{Q0$d~2YdbXe+&X3OPz;%9Q z|M|@{7i~kP$5Jo3{nLqQO!-iq2$Iy@$vK5%KV`oCU*prg%o4$O?RQdEXppqC_J(%7 zdc+G(4{gtEZKN|AYwvrknF$dUKu)6qKNqE@R{l}M5l`!Ucz>X zQ@A9eunBI@`K>@-W>Ro-jnd%Z6L|J~)FaQ^Yk4j8NNLaZXqmFCH%!3G#X`T3yuAj( zDTI>|EY32q^<~b@8;{eH7-ki(yhQfgUXbN4@#mZiRJ!SM?24qrW8dVy^w%TxpR*6} z>I#iu&RnHy0fOy^5%)$ViD0fqpqRFI^}OkB){*2JNWAf3qeL+jwDkoE?Aar%IP4XE za>4vQqp9IS31@;s(n2wZ#g@uod0(u!m;F_p{!Rbx|A4d+%0H!ubUzJIM$7I@!|#H) z!RB|vVaMbi`2mr8B?x2gbFtul$s<4eSNi;0{CJc7#|-`}RU~jm_Neb1NYT`158B56 z$|;zQ8lZ9|QISFAR4SGktRUAL8KQmL?omUcoS?muq1MHgdkN73zHR#`3)QGDIl}h1p9(YMAcGq+zB4*}hN#FE0mSCE?{EfApIQf(DF% zVxKF>QAuXGKxJ9Oh$?c57*!<*9;yi&5q|-WPKfFfhcz$C9~3$omKuvdv+K85YKb*f z9qp+wKQcNBdYG;V1U(dK80G20ta`jFNd`<=H}kc-_M{hFLT@vseYCH>pY=Cb2k1Z@ zq=U0zCh7+|Tt`$zHmzZcZ?jDtb>K-(ZV}yCPTzQBc9)-r+n$I2gcd|q9iD?QS#2xh zyf^o!dkDk)=|L`kfT_tk=#Mmt8T_a#wg%l0|o707~B%X z{R-ugBTf)s7kMHtMG;OhWKkRylt3%bVTzKN4$k)$L@5YUTCTxC86;8`n}J+!yFhu| zr$YWsiNrK^k%>GSzZiqBj73+bV2yZ)7cK7lAVQK)p9ZP&$v+1n6m2qGwwkh&;%wUO zy%hJ`8HDr>BClZ41BJ}S9vM!;*f)t*h-qzK1&5;Vj3CV+&P6rxZnfda*FH&KrK2=RSCn{tm(Y{CbuPcC3`_PW%*8ppR4nL}EdeQK58!J> zUhAMcunH%n>#bO>1t`Q&c!)w}*tY~&d4qpfem_qK0E18`%Mi8JPyoXT_{NpB5aJMl zS=}vCQ~#m{pgA1XsNdK0;NgA*`kjtZjo?rd`KV3V3^xwloEuG^3P1YAbk2=T`Td^R zr-!)yjPqw=Sh1o))0~qYkuumvo^Yejzws~kN>4Cd-{G z!?F6aF^WM|p5+_A>YjOHFHH}h^1BycI|^fuB5!LmXdNSIeM3lhBIERpB= z8cPR{dg6aN^j@_6&f2emQuE}D3B}Yp>Jl(XHvNrqo+(8L`vdqMgtX9)HT9Ue2^#aX zp|JeX@=GAD{UG3A**9zE)UfC)Up!X(UFc#6Xv1(1+yu3?Dd99#b>`Gup`=|bvEg{@ zqFD-qY+{UUe4OlLT2jjruneR2b4W>BoL%`|d={`m(GIhjLb8ah53}6HMIz13>6ADj zP1Y&x$=#Tx=;O#%rmY+vzC(~#X{x25YPZurNyMr9%FBbiD6C_ith!}ZYLV{<1&Y0~ z@}pB`J`bYg#}U_4DH#z-3<`&)3Qn>1;Cy6gfR3yMSK^W)*b60XJCdH{rF}@ZqThG7 zDVZ_~@{_NSa@-lc3Kr|iITq9Gbi;~Dv9DYZ<;exEgSy;OS@v4y1oorfR551)v=$Cz#*(UPyxhe0K+Imj7V)HBOWWzk_yBA-$mrX$R~$bNGBkMDAQ5o-J)4XlI#5( z%G(QW4f@Hgc1p5Er#$odZ+?Mc0PT;^xBbw5r{g*BQvUzfKo5`w&`QAX0O16PR6yDR z-40amfF=mEE?B~90=o~`tANb}I!B-@1$17Z3j*CZ(Cqla`<2)LF2xHEyf6}TF(-wXCR;5Z2!H-lpw zILpAV!I|zjQw6Rvcs2*m67Y@!-~Zqr1;OqRT!6DzLiiVm)Phii=z|cef_OC~_J+g; zoU6n6_K-RX(ggtN=OFV8WG{x?laN0G3hkjV1B&CIbU&1Vh%zE85p^M=3lM!fVs=MtCE_kb{QF2KA+ZKYGmu;#l6S{hG#235nP^&p=Or|sjTimVQh=Au;pH5>{1L59p>-fy_eJaJXuTP& z&!P1bw9Y{5w`gk!ZGF+UC)z5}b|c!JL0buJ)6iCf_WID?8|}NJy%Oy=qWu}Pm(V^9 z?cbuaKVDU%s}kMEprxk7*I{xBz7#Q4!t{;!b~$E7VD=q+e+l2e!1p=${v+m^ zYRnD9+`gDQ9dkEh?m5hTg1H%(`xf&JHRk(beoxGwg8Az)UxoP(F+TJ;K$YY@i-QWAaw?*j9;%|@f0jxkEKnqJPIo%tX5!k64u6GeFHY0!{%UYb;MQ; zwtvL$A=nv$KLOY+fZZhQjl=!~?8oD;9}e8`&j}6};r|dECF0nElM^7f1Gyi_(IBq{ z`54G|LH-O%Yfv@^42K0sA#P>%Xh5|ZQ0+qGxr^$BPy;*0*S*xcNPU)3pE~M0g8G%H|KrrZNCRqV;079e5Dl3_L*J)ii)ch!8u>nr zK7qzeqOm{H_|0kjK{Wncn(zuu+L9)ZpsD@IGJ-5i$npn8zCh7CQuHen(-6h%OfhFu zOdZ9RDRvRX*3z^xO~0LH^rsnPXy$`7tAb`%(44(#&Pg=)1e&)s#cfLS&!+h|(}HER zs6JYJI>oP{_j<(gBkSLk(3ujpr-Y*@;c`lNloE=R_!(_2)3#BxeFE*6Mmy)wu4S})1MT^q z_WnZq>gYfL9c)jB`qJUU=*YfwbbC5BkdAkx6OGY{zv*NxowCvCyOfklXHL=C19a{L zoj*hulIda^U9!{vCQT{%=yDlK^`tAE=xRT@Hi53k(T(+V^9bE~LwC%Y?t0O^MRear z4?XG8bb5TB(kfAUBt5-L&nwW2>14Z4ud31OM9MI0%A8GatI*r4^ll8jTR`u2(7R-M zXQTI@>BC>LJEBho=(7v@VxTW}`ud8#JE0#n=%)|;nnb@-=&uL;^JW`IUIW_$Is=>( zFg0K)fOP`4MzCjt{RA8lz)=r4rXP+i0FRNuaU3`<0gmg0<5uCgUpSrxPN;zs+rV>z z!ns=EyhLyT65xW6aKSL}LL9iT7+ly6E}REm^lEU?2f;<(0$vQs;`f4!zXZJacfd=Q zfJ=S`yySmy=_I&xe{k6%aM_mNvO~dTSA)xU2A3ZVF25XH{$6nT4}e!RfGai!R~!tk z90#~^PjKb4!Ihr^Uil|DIS=6E`QYS3;N)w;$xi@J{s4H@E5TJ?1D@I$oVpa8dOSGw za&YSX;M7-ur+x!G9e~qQ;PlSm^wHq-#o+Ya;PlhM>9_w_vif@P74A1BGly?O9pb*EM9uzL4raD6?>+Z$nsfYXmy zLrHc5w0EJ#Z!Rw{FV6Ou5aLQQMuWEN(h?D+RBn9ayPGfHgZu4ITS~v)wGLnaBRgfk z=F|Rncp>zQhrw&$H3F_{jBP3dhT}_WdS}!x;d z3?(B#pM>-2c*<-OCKKvyicz_$&f?&YeA5CHB&iJjFd2iw$P*#Ly(-ZKmlIzU%11#e z@Fwo{I=BtgmNWH6B7nA9aUmSC!pyJ(J;njbq4YighK0fr!EAOC2e1mPWH@7PF*mI~6xy^7+cpGV(BCokZ>LI-@*$izKb7-G+KyOdg8WEF6{@ z_i{nGVmP_Owk-#dkA|>;q86QGBUGXb$B@atJt_m?vpD$XJr;yKa>xOQShBjyvo8nU znQbDe2B>|LC>^;PPX@NR2S3c{*P2^hdz zp|@uH-_9hEuOiQKthM9X1tR6k`}R8^M{Wr12w)sI&+4SQn#E15+6`r2+m`9pCq>9C zV7CI$keO&M87C*M7K7M(^HLNOBhBPgw@NPG+mB{oEo`V7XU@9?w|=HK{jJeESBb98 zitI{Z6Rl5O&L&qxIjc9O|Gxas!lW;uN=7*kL?_v248WSSAfXw_(?04m3#zE-^F zD-k)Eyu!0zS|Z0SB~yozBrR-|%_K<^l`j-{SO;U0{NZO3aC-3@kxLA8GPbj($ka-XOv<42aUeST1$nH10h&H=@~|;gri|wR-dUPwM0Xl4;x~ z5T;`qd;~t*6m492WS?MJ`VR8E2d@3OOwqHQfB=N_s`SdgrNQo2(u8UBpeolCXNbAY zqS9;YbmAZB4_r-wr0(SiF=nb<)#W%YhXF%%0sl~;kv_8pq8Pf?0JbaW5x!?=nPR8c z@C4TSJ*OCVMt;=a*1^w)&^`t_i7yZhj_YCI2NoMKLUDYPW0z5rrn$7Eg_8L>y3eA; z<>Gwz{@qs!1a%Lnae=N$a>@*@Krj%&67>Tp|v1%{8#|J%i8Hjx3rOi(>SdZot2(M zBYJ{U;VdfA;v~6Qt-Z@Hx>7v|7~1P=_wSyFf!pVjibZWML(Sj7-;lWM!?>F`Af>ah zycJ-1abOL0J`fOJA6r@`L&#a>F5|@q@THibIiPWsDAwrY;OHTd<;bd)H&38l&=9Mm zT-0C?AkyEput=^*Hx!@vJlC$BD*wc=B;&U8wqONVVcGIWlv$djYGPLmfeBjcJCStv zL&ClD=NmO^>tY^hIVQD5g>WgYoOf!7wLJE#PRXyoEdqgGH)V5}5z>;d?1DT-o0hwu2TH&xl)b9{iRRNm z!1rJpfzju(3QY~eMA^}$w)=gtv^^Dqc?2-U|5B;>X|DLsat;pUxMrCO1YisphZEt(8dtH6~k1(=;hy45>&La+B7MNuziKVs- zg<>r)!V541Cm~6a(%~!)-I5t_Ntg{XmNJ6*9&KZ@S9Zn%nBtG8qOPU1cwQi*fZQZr z(gsyvKP3r!-#38evxoV=@dg7363944a0Fb^&hPs#Y&q6v#OaAH<*&hHFohvRgMy%o zPolavnRy7UNP1CUa}P)FU~mgy~`6@rZ%ogKkcFs+N& z40)O#XIjf{r#*vi&uqi>%uZ&>t`XVgad@K7Vnc!{mF$SJ?sH{4-mE9UG%&aHs6PwY zu{g22ZmXDBgBb`1LJ`C1|B`cEViAhVxG37ifz0>GY8xT(kY3Nd)52kZJ7+vHN6?Em zi_Q`JsTa@#wV;+f{ljrCy$FTZj`2J|m5M&0(Mgokm7$SJ6?Aw2hWH9%^Aftpr#Isq z!I5YRKTwQokzqXl<5JvZ_K37}i%d(LXRwK@eb+~`E3y>|ECh>4-BTfDZ)5SOjO4)D z>A5k&XyLpFhu4mNH8?(@nF1MR5PE#GV%Eik*@**!Ok8{K9AFeUq()!SlWafhb$SO% z7B3acfZm$f{W5*UcbGF!Tpi0+<@Ii6pUP^}2jSgSWrF+IRTnU!M_}K#SV;+W~humJj3%7yv z;Z_KlW?41^Y^`55isXTDO2NV9}**6W$IVJGFr&mgX);D~@wZi{zukQv2< zaRM~}-jxr)Hfb4AMWzKYh=X;nBf^aF?+J0@FVRWqS1UWbM zeKku~?Jr#(R|RSeVTzLU-xzuO`np;Ry)P)B1e65Wtr{A4E+agI2z2UiZyQkt8S}dRLuU2w)PJWIP$)8}0jNWl!RG z@EUJwc5+EjKZN9!f_dMb(yf%T6|}CH^+4^-61DWab0yZO{N;6agU;FM&mEr5+xLCb z8jr@~?&-UqOD8>(<=XDjO#=qS`~gI`A0XtkHxVUYh`YEe69W@M6Z)RlUhiFKb#Tfe zay#{0yH~+=4uiH;eTIQa{jr5jJ~!j_V(2PMp9_-2IDlaWc4m$7m@JRD+t?QA>s*U00g0 z%DPHfs)&+=%)4;wo-gMir-xXPqq7$ESJX`>K#WcXFOLpypl44Bt}*nxl#bt;a0cSq zkr;AhKPKtU@q;CanB^pK0Bpz0<(-rXxp77*FxGN-VMdl{43_Hg_wg!2{WvmoRmuAR z1M@~O-QV9xc?ea=njXjjIe}Lx4}4=lcv3cMA&ytp;6gN2ts=e0%v+4+@w?xij{8I1 z@n?7o*%lQf)rF>Rve_%~j&&FXqpHv))99o>0KGA>j6}-meVvE4}S%-+1%xmT1!dXLD1}c-**T9Y_8k_2RKB^(VF5Ze`Ae zY;)a%wk)B|Lm@JBt^>nbvrU;WK!A16t1d3;=(hdHxA!xv4{JGvS#waO&B2O2q5x~w zR(E}5Yl2G3tPcz>Y_t?3*Jcid{d(D91)tN6=w0-AZj_qe7Mo4!4~ul)i#ZhbDfNb0 zwWA=;yi=|e7StEei+2QYt`N$${rTO;D!@$;a?|EnSvGFY=!$1b(5>61CjZDQ-dP;% z{oprD&;qVXHIa;bI^qFC#>;-4= z+9O2GD8aZx*lj$94DV-lz1 zQISQAzjlD(<%+11l5lbR#!S9ohvze29o)KT{@Ube9Q^338mIuz-;G_l&O}N{x=oLi zDCEqpVHi5LW$nA!Y?CKhTo9E~aBiqR1hw`#CctXW$S0X&n4T(uFLP4#W#cR8(O}b}d1i%r9O%ezaI_ zzHD*%E!YKik#{XwV9?@J44x;ROI4Xq34c;!WX_cZZ(a?F(_HwqwLY!aiq5kE%<9%dn!M$K_0p>tl2kCS7x8)Q)~Lap*>(X0_Q+y+ZU7|T1=J=ltTZiYmLSivaq z%LSDrMyK_5J{Ww+vmjiIq4>7OQ&Q$xf$77<>#MFwGn);+s~KIta+?GQd};+4B;_C> z*QqgN5D@-$XR_C2^dV`jQtqG@-q#*onYOGsD0zK}c2XGQ;&(JH-@Z!dxXZ9irzTq* z=RJt1-?yR@=c*wz8&_6qZ!Bd_PhAz!kMOr z;ir0sn3OD#m zgo|dLII-aPhTfEJy`}_qXUu7>7h+fxuHUEHnw7mEPi@@?Scs|tb5tp+k?akCDw|=i)3y4f z9u8E85a$?!b9;y@vDAhA(IK{s+;->SaWH-Z%Zk2f9iHohte!5h#eDG!YbsDb_FaIn zoorJe7?g4FhreNd>;L97&@3!0$RrFPaNWO}s?F-Qm~bSaXZhfUq`;_5Fs_vUfP+zY z6soF~wA|(}#Mo)4=iSenv^>SbqfLaN&@x~NSi&%iG4*_LEjXQJ)6n8UFZ6%-k{RNf zS>She$u}m=+WKrf)*#t-n|iR1m?lObOC?vaJUmfZa8vqJT`)|ytuQX``8qNN2Yq(T zC{6!yM`cUvvZ42837Q_qQ(9V_6-}I(7@j3pX+xmLyAG}xQ-9^J!C&An0^>Cse5is5 z2K$0CP5^@5X+UI29Ahe?j10Kl(2B=#f$lil8{e6oLl29 z0;RIfFlE7a5BPV&DYrddM^0_AxDbYW>*ZAB1J`jMEuW|*gvKrgeMs4?=Vy*U${FJg z)6r5Ct{x#v~}8$hHW@ZCbPs*#I>DWq`JR|rRe)SwG%ScjdR$>dcVWun=t~r1oQRPex zH)P9lmMeYqB5Zb;RZYc>i70cD%u@up*eMHx5cBN*ZfW=I4X#rAxChqQwb$E9crz77 zJ$8L-yq?dO%Y~bl&W-H+5AD6t=v!~{Aa-*MFvFBG1sJPiIGs!}KQ8lmqK~#-?n!Sw z*ao%{ktFApi^HZA*{ab_Sd)Pp1!8hTrSlkp=aL3@hA29RQi2IwK_1tjAg1Mn+O~x` zrmRa$iAz&UOFNA|RvDq9yF_05hSp&f&Q{wfKqb|+npX3mI6&L7>VA=-9&4(f;?Z+l{Pp7&Wx_H<(6~ixmQ`U zwysxLtEtSl<)Rx!RoU$v8;gzV@P+GsC2#8S_Nc3cqcbmmm7T@G*Y46Fpfb`x4_F~_ zV;7`z1Kg(EDWymi%R&oSm$wLr8{LZZ8(z-^UM!LT9L@mueE zvq_qlE3n!#qitZ9`y<57v4U}9vv^dFo?#lD#lg4VOm5H+P)NmCHJPU4|6;rOTJ75Z!LW){RZDNG`1m=JO_i-zPcf8|Obe1=nG8H80 z{5kE_rxVHLQ+z!#N{AGz3$DZQaDNzM(u zSdjv)9^=A=xEL$UGn#meJKaC^Ho5@Z4ep)}2M7*%-xMUA1ZEawAyRYqeFUkCFo@vb zUf`#UIY`DmAGSz$7mV$hSP+#KR+O}+9YqNaU$G_;YP^#*^+BbEx zb#P=p=ovI}wPj_~R0)J?au;%IDI+BR&+rhR!Tf=sZlL9|q`BrmSEbf31#@-7AMjM@ znGRPJDRD-tCnt*-dl|59w0G8_LBXu^Up;Mt#U>q@+OIj-+#KpnU#8J0GiU=Q6 zITFNVJi5o1ev#4*_dG=#v+1z<^l-io^Q`BYg{PpZSNgeSYQEI zKo3TA^yPNKffVY3LPFnfxd@#oyIhgYdPe1bu5OXq&gAN#O%{FJoQC3r!1WyM{& zKX&1YT3wpzqwR;{PaSB5iiQ42z^2dv;2m&3UFN9W+y7B$ZcVpSU8Phcl&tFEK4Rio zBV&WtCI7&A4_f;t@=*U>5--dR-c%e(zH={*&BUqcMz663q#1$UdqxetufkUTC1Cce z3qDP2!RT0QG~s`#%1v!Rc8r;wN_wnIwA7Dse=^8C@zHr;nzNv$f0C(l>5Aq#u*$XU zT1+F4lKP$^OVk_JfR)Y#jg_kz?wz@Y*C$bIhsWP?W$(M}r%iEQ8_WaSgnYYGcrCNT{zuGuIsUBre%9otkt5#K?@zP)k zGvSh)Ep$HxYIk0_mMk)`;ZCO}?OX*1F_DHDa%N%J-4xN>x_Yr$oImzR{^^Zu_IDl# zAiFNdSOu>D}En-)J zSS?Fri$damE-qi)f5_fU+D0MToWnpJ8kt7I=bUDl? zFE3$d7=5XDU#aB_-s%#JdqBeH%Rrz^MU%QHUDwhyuVXxjS(Q!hXd)Do&gL@dS!WfF ziCWC>NOrX4FRS1G`n}7wXY5~r{yd$1js6w8%hFZpMyb)4rVtCy-xTBXj(x9VAn$xc)>RatIi=EZ?r4G(-mrw{b7YonXrwg1E%(zpHV z(8^<6nfS?W$f!t|fsX)rGSpcPlfzHJp*oR}0OTlQIuA(@1Fz&Z8HK?z=pP+Sv6gn) zc6vr1PFAb)nrn-hF{xWDL+t&*c$|;Q5DTAEqOProZ#UW(+Tl!L3sg5&+?s})dwij7 z8*0#2#x*natNO@0CI38~#=+lk#^4%Ci*MmA>6!`4*%X2qVXP`V;dq1k*Dn2aqP40J z%oIT1)rzWpMD0&hc7a*8_x`kd2~y*(A|%OzIg7!}!IBLlE_MB_EURqru4QwNw1*O@ z@sI4?&QptLO>;dM&5l5S%^HHkl|Z=;2&8W~w417tGUn{|NC4mW++8*FV*rQ1VIr?C zs`ZgnYXfW6Y=<9R1I$@}`@lB*SRZsl3=N{tuOHaC!M>$8YwO8$s$oc_DT2=}-1_b^Tl0!JfnrMi7`bm;rOGPrVSZ)lWa(Wx=P59TZGj15gQ+&N% zEf@EEda&`#{IC1dIQUP7Fl-G(Aj~AOK0}?IfXhA792z4F>wa0AX9-J^Y`Hm_dxomn zCrioD^YCPMu{Qw$?tFHvhJ9hSg5BgCHY*24?C^p%jY*kaDbBc?FIS%xc|+emTOK_a zKOPuQwjIbU73>bGNnFNAl^w@f&H=TqIi0Vc59$_awQ65nBkAYh8Jgt|kv1!lv{gFa-H3){{kt)Q#3 zIgTY#af^3C#$o9^ws+q!ANHE2RRS4P0H7=jBY~XZSw{m+;3uoie4gq@9yMZt_mm+c zJg7Dgu(!9VwG7WF^V9kcleArZ?~VU+A1fmJS0s#CDFnjt9FUTWvUP1{LN5f!?sdzd z56U)YyiK28@ug#qjn)?~o(1?sppp{o;j2^%c8#x%)dq;_@@JaW*9DFtC!ZM<~rcI0MX}Da>y!l;-(jU6~=6`%ol0gPPzDT}|KI&unrtCb+8(;4| zqrO3z?}(hKgnM-bZkZ3<6rWS#XcAJVQn-0BaU45A*kx4CQL^~b*SlHUs2Nw<_&RAd zsz{B0c=zZxt{Ud`WZ?GZhxw!_vgxR9s!*_O^nh3K!-vpet5iYl2wmYQC_9XN|J-_E z4=Tcs)oq6Hc`G)B5&ku+yzU3!t*Kw{-Y!NpL!eie(OKX7qtWN1c(pv(E-_uk{rxY= zAgAWIVPiDIu#r=S_%2=|Zw%eSsahWu@3SVG$Wj^MW7s|#N!0*Hq)?@>Ckk7vwOaHw zU7a3f1%n{Swp6>svTcPl;`(p{uQ@^hoAr=0=0oryS$k4wD+P(h z#!w{O%-=+D>>F=TT4)ypF(KlFwCFHm@+%YpQojsLkZsz>T@lN@+MF_Tj=H%A4FO$e z*b})nKq4sXe&hxgHrHpWgwR(ha&_X(`rElV^;1MN3~pY4-o^OxKHZ?M0xkRrS$K+d(Wah z4ubRG0@D?&;?OX5W4kb(M^PclCGfJgE`ksI67Pij#&buPmTc1H9neUyVh9SXNxv;X zEs>+4l?ZD7;Lpg*?}$6KMw|G9zSyHDy`JXfev%Z3_EyNi+k(raw2{~>nS*&Q7;K9O zVfS1CRB-EatXPw{Tx@1pK!G7|UyKn1K4UVC(Y1&s=T(q`wREB~k9Er`62bQF)*_KH zN=T6=rx-* zhkxh%KN#KO|JBNyh4nXgccB0}LKx>0As9x%ryIuj#5N>uIT$n=RmQ<{4U zj#Aj_mJAFd^8c$p8H~YkfQ*y|b8WZdD8*e%yGDV7dT{Qu$(gh`Uajv4S;LWw*0>8O z?(%ANhcEynE*&zDDbs`lo%Q77zfdrp_&&gqeT`vUtD5ybIruC(WODA+KcTwbx_|!H zlM)$xM6xrlR>sI06JeYcg35CsAP6A6`q%(>1C5F>C_5;{EeJo*-A^9690%LLK`RPy zUWpTcO4k$AUhEsuSo}=(czwb0_E2_#>LTa|FBHybpb)D9@h@vdC zfUOwK>nzvF$EQ?06JAYAot8h1;%o>vsB08Qw)W=oGhFEw6-uhmy$nWA2a=f~g+8_9vpB`(H zO4QDeYa5yqJcZ2}cO=~jG2?;mJU-;FVlZqZsB-tqtzq( z!f5mgS%{f^0`z?Eu`RBds3-MK{UU5C^(6xk5iizL*qpIGXty_*XkIK^)e5TS>P6Zv zYPG*7pHk#WrbmN1G;dqfWdubbHWj-Yc?6m~)Lc}X&3{_*RSD0T^^{z<|MJ+Lf5HDn zdm0CS)183ZHjc-%4qYA<2s}7!@C99;(jQu)$&Phw-bwju@KE9b^v-Ios!^)y+&D*_ zdjQ3WjIFuvxv<2YPRQqRMq`K?I^YV@9l`p^=wDy01`wfKs)jl?2FtFVb{X4oln4#r zvAG#>kK+N7`g=IO49#X4M?~)TV!2hcLK+5@t?YPe4#Ch);B|tYc`RQ=%8~7K9H~cU z-<@uz!);>UwDi#!i6aY?cHW z(K9(74R9!mLJ{~$nh@7g3jOs_V!h*l2g0{&u3pu~`uL<|sK<0z3&V{W)|E5}=M^zW z{&}~1mz*yj?*=dS)ii7CY5}#9RIw9<2mpFaR$DDKg#b!VuBN39dUt5O_96_m{qt-! zyYb@xv&UuihpH$TereAlD+H2l&EXWZ2Z7EZIFeR<* zj08Y6K8O#hY1RX#7-L&~AL<;qFRrEP?~IWkwJGBN><4AT)$OZ$hRA89TXd^fcBp;} zsS=9CI=YDUrnjHmw})3ZGZ9&7*dvDI;$C1<+KAHTdDt}nW@3p=i*S+ZN>LatC5m;vY|n9UTceo(@hSZ71n2QEJSIws}hwiR!dIhdsPCxcPElZ&j_Fr zVxATescdoZ9P!qJssNI0uM=8&H|h!g7!ljO^@?gUJa0>JS)4`L5|0Aq?4w?b>FKu% zoR2W(aS=mv)-0@d)`efRRl$Mgfo+bfaeg@F;D=t9B5$6cS{92KiU2DePD7aS2+#l9 zzppAfumNl!{MK#d@?fv`9n%iV(6~&s5=hQ?tK@DK0dscInY)mBg(9kUZi*Gn6nTDG zYWI;AyNiZ`jaOXK0(4&xe(p!vZYH+5OV_$LuvVCZ_Esnr^0V=5d(YmUykLJdT+jO6 z7bTG4wmiXhKkhBDUMC;Jb3xx`X_XseQluKuKeGA6P_t9ud+-Z^_Fcu*Fs|n$vUW9v z-pGl8g(6!b%DRw)*TFu&)ZJpj6u`54HLtfxw_f71A+tUL8U=kzY&*1heGYxyZnU40 zF;}N~(KsI1n97tN2bPVoXV9xw9US;lE$(bV%w1X7UPZ@UBL#A_A%@xb<&KNB_H{Cw zgfU-jHajqwEVpj+b_CW&G3{>Ud_rAE6KV|ScO@s*<>jL_+N-+t2mr?%8M18}n!7VG z?S7`#qlW6m|2rR}?}jF!j4nQO9ZP8I&^u4o z{GL*wzLFZ9&(Ehl#e@V$wZ-Txu}ee1TWxQqMZVV3|VK>p)9PxtiA zgV;sAv-QLaEoBlmJ4@M)gja?4%&0C9bB&c+pXvAEhU zEgXk;zYOnZ(YWF`)Hny8lmNDPhi7^aqe8_H{KWCWn!%fkURVM=ftXhnT;<`V7<)s1 z_v}nFNURu#)(w|Zl5i}9(_W^mElDP>nQOxU!GyvOhdKEBLcHqEmBZG(EX%X_Tlb%x zykGilla2N)nl3)UKRhdP(Aalc)H2?9^T?)+7;dqb@@tI;wIiQDbCbA1Uv zWnd9lL^YB?YZP-s<0eHI+NKkX@bv;NN5^)30FfOz^xV_cWIz>c0NT*1X?7zqB^O0GV8X#5jToU&yR#ADSO|P0~UF zYw~+{nvg0<=vn#%6(?#m6{}@-13ax7*b>J0*H9@R2-m(2jp(yCw>U348te&=M8JU7g-48Gb{IGc?J&Xg|e{qst?(3un$2#TpdLQ4J2@j|g8-+o}vvJuTA&iz(`ePCZQ?LUpPcMBi%$BD3dfyNUmBM&vTZ}%b%i|oXeaq0nuG_lbfWrS zWC(+OB@ORrw?Zm3Z@b_Gf>Q2VwrvG>SRvoclMXfm1!HAYFk{J%Zke7ABn;C>@6sF^ zGi^YV>P-9KRi5;|yIIT%ehiokjv-iMAW{U%XB69BiD#kLzQ(Qq7Q?h^Hv7x*L?81# zdH-3F=fO?i-^dn?93jU%{I&uxW!N?XnV$hCR8uQmdns%-;zS*lO*6s+q*v-J@jDBb zKVL>nqDdT-xvlNxRP6*Ut-QApO~j}7efxSg$heR?$ZoG;fIMqDyo`{mK1Yt}jTZFG z&yOd)0UAv$*Ed2(<6a#^v@8LS6D4I@E8>x!Ghm7%)i!78L6oP8F=?aXfF7Pn{Qzm4 zQ3{L^iEO=hi-kx9EDb7#H;Wy#8mAsX5MoC|5*p4rc2q6b(JAdLs^(khW2t1Gr`lAs z*&H*5ZB_6V%_>|0L0M8K>W2KOxw2(-S)>t(2 zKMMPTNV}atHR;2W@BNnmz)yhTL_eoea;7N?AObBQpe0exk*}902tWWlk63zeoXruT zxzlY2WCw&`Cq;$iS^@{T;SVoUfk$AE0Ta;f*E=tKe+^Y(oO)Q+i@igs7$=tPd6(K5 zQ(o{*U&Kt3rcXM84t)9>Zq2kl^&EZ7{m`eVL*O~^oQ7HqXR2w~CQ)S~i>wPH^DudT zF&=@s7YPa-9kq?!MVmKu>%=}irnC7h5zyuAXzA`x$)R7E%FgtFs4~YxwQ%HRDx`{~ z_%x*UP}Z@84u`9>x``f5&7mJtLn&SqF1Eo=0Q}KP{@w=Vt~HEy7hc8)a&{DpbwV_zS!!YD3+EnqV% zw2Pwom4LXebKwQqHzG4q*ug>MXO*|V;4(d|$Q@)BECQelitRSXH+BG5$P24U)gZC} z(s_+pB`5+JL&{+r4FYT*^Uf2vG#?O+iIB*hsNb*Fcc@5|jz-JfOg&mN&ssLZ z)h!Di?v>IY{5UQOL5~hs7@4Fsh}f0_P3c>NE6uhn4@uWvs|!P;ESg~0hLFJ_^e~&1 zM{dD7{{N=-q}$&Jr;J@?-VelX zecx@eZ3lr?^1Y=%GVbgs5s0oJfsOfMB>Fg_Ywo5A=F>LY>t)b1;2GDPKc*3T>IeY^#m6s|`wHLd)X`7C2|Y)>w|_pLLDHDIjVJnZ`Ett;z02iAZ!miyn1PTc$k%7l|V zw2w)D`EK#2%~S0<3mw@)Y6#}DVsT|#KSt@iIVdL>PQT^`RyQLCovRv7K7%UH5&%fu zd)h0ikKGapDi`2lA|M)P+*V=#P9}nN=^;f)HCy{BY|B^K_rEBC1)F^idod`|5_%<4 zN;yLEwrL7Ed~r+0Tf+4Bw~T$g*BNjEoUp3@cXg_MLnlIN~%|B8#S_)LK8r*|NKpc-K0pIMAfnOG@PtYoe5;%ycwG9+LYjzVvOd z%Q2$IRpwJdC*UU922pb%#YeRSnR_I~0FDL1w%P+C3L2CF7*_=ka(b6ifP#GvyV)nQ zG9^|b6b4F}&_1Q}sbJG2PTjuK1M)!4jeMWQ*CzK6TUL(B>H^xFJ>w5d{8+t|t_@+ad)YpT$ zMlLapa}r5Dg&mS^jxk${rnpDE5)8iabR|2A;<8z8Z?D!+n{j#~cZyUvID9}MVXRgJ zA+5c{kV+O1p?32pX!Au2^Ud66r>cf=9*-yCg^9@DiIdbo5xxM4c;qUW1DgJ1{%)&* zu})mNB@F@X5Rh_~mf)U_VRiT(^$e&gr2Mgs5rVE`vriYkiFFfh<0;W@<+Cpkv=aH( z-H)}lC+$)03&d}}5M9>#1?cR}kre)wmOF$ZA)3-|nMe*|)ZMnw7D}3!*=#xtU^1BO z-(PxiL>o3F7?_X#qS`ZR4~xpVWOCmw#qY3NX@c>e3H4q~idqc}mR}&Xz`a{5tmd8&?!rPK(W$JZ<9a z`?t<;=Ua-lg?usraGjHG_&cEeurqWD`NUH!gEz0ETU}8{3$3G0zrZ-lph00}-n@-lJ z;0l5$TF>aFFVX4XbYCNdC~5%1F->EJw(0(%V9n*=vs+g;=)0@4zuL0*e((Q-?)N^t zLD!?_6j$WRsX`F;iiXJzv+C-OdgAI>y4#MfCx2*_Qh7lnv76DWWPBkS@tI-`hxoPf z+!UG9CDBv-P%a4RF*mkuu$z_TO<-`KT(DlR9IUx((!MN*)cIwwv_^x{e{Pf0 zwG+pyD&(#gW@m0el1%*MJ_ga%0QX*x!u}f^&b(JWy-Ghn<>no;94GRmfaOGvuh-6Z zcfqfK{PX{tXC2sh@J<8#(uaK)^1F69*aejj`j&(r0izf7(;0>Nd%K ztMjz;;lb!J15}85R_fvK^hB8}g&V5aI6Ip6Bie`Lk^lzqRLVCHyZ0>RUh+#4M5a{h ziL=hN1?I!le zKL{~BEu_~IX}MhjUf1Eq7(Tn15VLUL=NZsicEkY6mPlyBu&FHxz-07gxYP6B8j<1iB6#fzD_8s6Q9OB&}ktOpiDGvdE!MzI<_?hAU1H zXC1NzFGpaUI|Kb;<`!={f+Os!R{Mo zPR*uYFI!>_h#ppl?%l@UY@|{S!&t0GvkC8PKL6pgEQCA#jCIHGvH~mUn(!t}f=gq9 zwLmgb*?okG{5@#NHGj}G9G40!VB*njGG87V)mW<3X7=*f1O78MVHuYXYDoSiZ1axL zhr@YZhJ4+fuPv!5%qBOIS;C?3{e+zq=`Gb~u2!^M+*yh3K5!l%ZOPD%E*<)Q3;2Y# z9#1Wy-Tjru$!=e2)e`|=4wy|<1q}$F00mk)P+Le23Hd0y3@hY6tOvh9!k^6 zW=FP@-uM*C*h4a_To?tSa2-HrtyJVO_4Brd=8#F-3KR=YM9aW%ZNpT_k15dWoh@|y z5YQ8?K-Rrcz#ayqI5@797?XC2?M>=X=jJ(VN*lFwo0G^qu;msN7Rq|TYP9!Ft9hY8 zk!}{rMw)a=hl!JNQ)J#Mc`--tiY9&#WA#6(a7Fpl1s*?eHgucS^hptlRkUP}5P42~ zU7=-y^mANSs}#Y)N4u1rM6;CQw7 z6|54DmSl!c1hfG3|rcAemEDy>0p;T}e`1hSFy3@v1V)Hv=u~dZhr_+46B#HTq z#aV;qdsZbajWwbJAAlbSylGEy5vW|qa6dYKgQhmf1s1fQ!Vw(w+UHo`@?lM2^o(H# z3W3qXC*wz-Ec^tgZ+gFFYO%WI*HgsiDng}f|k}wkP z5T6-djW0{7T|l^VmltBdxNYoC)^-&rWdhf+YzGYDSHTm{NqH{}Op11dmqvFH4FasN zu`pamqX}GCS>M9CJVr

4uqh@@oHpatw%T$SiQImA$pO(CUtRpffZ=8^n+RK|SmM zph1qXh-%cP3V}ZbOv=)m=!4>d@aI{BNKOg0)H?$sV0At%r+fI6t;@^AKF2z(SGE;U z*~+4R0SF8#MWyA9y&RDP40QH(NPr_sj#2>#!*Z)34v9Ri)H6^!K}IqhoXaVyZrSiG z>~G=;mO8Q)*@s)R9unjS3JtR&};Q(;_pekDZVr&v~Wb1GCBt8jA? zROjL6BVQ-JS`F!m$Q)YoB!x5*`@1XnH5?6uKOCx%b<55cK-g^ znQ~ZA_f+PXRBCHArdrEEfAA=FY;f)I($JO( z>^z#4s}`+dbwMGTJQ--<+ggg!JMA&|9M(%DD;G8)La1BUL9%H(_-FY?>MaAG|JnZy z_Jb2v>A6PR#E^+VcGJBv3*y8BLKSxP;y5`{1mzfUO>+HUdKo_B^&-|dG%;1t67Vnh zRCc`S->9n1~P{Y(c3HFhjwzv>C9-zsnp+qS8y2i#FC9O8nuNMQ5~Nj5NHL@ z^=OQGb{^R_nONQa@15d1@e8n3mvk3EgI3xITBA0^W-epy|MkVHr2uiw_xsYMG?j)l ziPRzog#{7DzNv2+(X!1RU!Poa2s{cNBk)NtglJ0dK(c>nD%x|nXofU?_swN8q znqYMzl10ZN22{)oy{RK}R{NLP)daN}7dJFWC5NiS?^%@C>Rm5sz~o(!Uocg^!%0HO zV`yun!C&`8I!dmeFJ}A^vm%Nkcex(Ufl*{;aFm?bTU4Wb=tf6&e?pag`x;ds$l{_y z(g~I^WcPaNJhwU>NNe95j49ZEix=FI%0Pm6A}ABQYegmUGe44yPYFBDGV>s2=ou`a z^Ao{AP~|ZoIew+cwwfSu+&qjIbi668=3GUqLDk}#=;cO#j-?0j0FAR!y_CeUa`5aU6t@{ zc6Iu#)=TFhN>APu4>o{S{<@t-Ik)~lST75&eg};@1wKWKMJeWoDlzh`Luw1Uw5!k+ z?nAlwrFQKo!*^m0W&pY-aN$x3q!^*X1$4R0%6f@eUsxW#6!N@Z=BrO{WkpCli2hbc z3D9A0b@?(=t#_>f*t3q21;)@A6qwUY{r0b^XOM;RbLQ`kmH zsZ_*aL>qqZe7Z`shNk5Jb-BudYIGBXi^rg^J;W1Rqr3Vfaq!yL_e2$zQNh+XsxoGeOQ$V2)>$wBu*qSPbtTECDHCb4eJGT*88*UzLY-h%RXIu?kzE% zVv2@zK$eOM0ZZ5kP@MAKR{a?HUJc5nFSmK>H1Ak$8SuNB?y%4hoSHHO#yf$ zLs$uHdG@BksEno>psL66PhD=ZVpvI8<%1 z?D=>A@#Ve)r#}Nw04;v478m^$L*u>#4qX@@GfaE{u_gBvN~A19W0sRd*>Mgmbe2W{ z=_|C-WpSiZMoBe~VgQ`(CBal)=QSGGx=BV0*o6F~LoyAjd9g{RDI}qzSy)bVA{E6I z%jVs{^r;LDud7^4pO1(Fmm%x-cLtPc+P1s9xQ zmkEpz`LwhU3k^~@mrPFDr>{nAP4y84Lfc{#YI=?v%s!!WMxYd`=LZYa@4ehHZT|#M z=iA$=Rl~_%VcRMJBCtt3YQ|MiB#pvM5FNY3TkZt!v_}EY?y30V4JZ{qhZtxiujZ^= zWV3p3Oit*ao!2zZ8s{{&u~XN2E9yaaizKLQE`o#NX86^b8P>9!!S=UkcXoU>oY6Q> zM(TTlgwBr_O^sMX6^F<^m1bX!JTKlkMlgc=2;-Yl{ZTLtOzSOe!FJ1Lw8@li`YPeT zqKyzN-je3xC;^!ZVbbWIIXm~IaY`Rz^pG6-;kObujA>0cjT;G^R+(rQ@R~5&QS5MX zWl0F7Kqxd$K)C>3IBo89thG^`E~fpU2m<0PO>1Kv689K{k+?J<56Z!C%vBsA zL5nGc69bZ#gA)}F+KlYevf}-n6$RB}191xy%|fnv+%n85N{B{=x+|8sRqb4eDfnn? zYVkWgJFBfzFdG%-T${||o&uqBYqc^vmkHfLBVl2RlDO*_9w5)XPtb97lj+bWOH`CO zHerIHaA(h0FyTwHov8_ugifTaxD>x$WJ{&8)~ID504)%piV4<-@&(7#+hr)m)kdza z6i??>MnY$hiavVI$MSO3OX-fI?M825O z$(#LNKS*;E$m&)lJU!D#Dt?UsGNpN#TpBR-zT}RZB!tE=>hmQ8Vg{vfYn5P3*g%93&^RS^DD?}uQVCS=;{uRI7KzuKQk4c3 zlk0i{QUhdb4U}wjL*=ntk*Gy(nTZhdm=Dxb#JEQ~>xlT}$D7t^q6r zQJK^>n;t_*+Av^hZ0%><+~}lH(Dw^L(yFkdXA`Ia^GV}zuv!RH*6)_(N~NuqvSKl2 zToq!aoj`IH0l30_E(kMc{tW7Ro9Vu>N42d8zqin)(Yc2>f1^j97 zr^y>;!ltr9Yi#=0TOY*Y5VHsf*!)&eC>axi3s;gkqX0)hxW9}=uEk74=o3UsDu~MH zN2^H-F=}0;jnXf;oo5mw>U_u;5aCP4HAHfh(SA2N@=sgO6|zZD0wkPajpD_O<%9v; zO$mkpDVRJ?e!3PKQY9qDq(>oLb5gQ(CQ+Nf%@fBVmKetvEi)YG7%s#ZS97N^q{VIu zAy4KWiYeCxrV}G{(&yd>P}KQnwBDJR11zn8MmdKFq)RndxTYBrRcI^kz(puqIwms> zDxr|*XQcL_v_O2C4s0#vOc-G$D{C+6IbMBmH+4B)|={l?kbt5SJ?O zS=jmiqDns)$1HgRt_ULIgkXrKR9ia?=jB(Zkl(8w4MZ`9Etdxb{Rnuy9Dw=0*T5YsY}!afQ8Jw z)`SGO=vC)a=)@2leWWO$_RlD6bcY?FFQdJs~!bbKd=5NC*%-f^4 z0o^q)^s?IR^6UG&DVEMkOfFEQK0m-{k z;vh9fS@9@%X^pUglBvWPq`Z@#UFnrr>QVzJB_@?E^$lwTT2L}CyeCEnQ^XbE8rq0u zp@Dw4@SgP9TUufKL{sNR_tA96jOGCNi{LMs?AD=Z(3H^WomE2YpUgxyd?~OH(fbX% z3I=!X%+ybkdxfY_iKO+BrybE~JM>?y2~FJY9j%p8OmEG?_EKW!=Iod@2`L4ZT&rEF zgdXRpOV)m_QKfAW_%q;5erOp}s8JCdNqlZc=x z?&{N~o}!pyW`5~P*P8)|1dg~k}5FFD_cNqg0xqKf`?TI)wm^=P=zZrQLAmX1Sjl9{lB3dR0Yhhr2+(k32tN1Y3C z2cXP~DW4Kn6bS&@GP95|jG69D=7KRDmCO>g853IfcWi1Xc-?VF0#6Lcr3?YXf?N%N zvg*cH6*l~XQ0CKB`3WANM#%hgT!wPZ%3>bwEDHb0xTino!)MEwXFpT+pEC66533Nq z1#niZvJX*i>!3eDX)SU2RT?B+M*bkv^cuB^2X_cG&#eBU4EcIjVT}wdOZ%biCL3kx zzgQUAuYane?f&g)?@fiQghgsj^Xcl~f#t&h#$TK%!!Km1yU&k4FdfL|tF@h1bRGlK zbvg4P`G?A!T zgzI=nd$j|x}at_MznQ`EXIXLhs$wZt|_-f{Kmu;Q17 z-w!ft-Y_ME9fvThu02^ILq7n;xM^kN8x0bMO8|qo@7Mv$7I4t3aj8_yxsFn7DUy?Z zAQR;nGk{$)n?pL0$Yw zL=v7fkjm?!$cesHtO8Ghr|is(bLCi)1nJH;3N2l>xO31QkdIBgMTKCTG>Q)bVi961 zSJR%Zl`74sua75XI!I%LPXs}#ujH3QKO^=4PCF-9T={OVeJsrxB<2CS-(VxE3VPIw zS+A?OGFB@`3-8bP$iv!QOeo1v$6^Mw;04_^*7T*r{#_^s)r+vY=?N@{LtZ6SH(}T? z@&tQr3YFM#JQ6`9-)!zy+Z#$6Cw5`bl-Ne<{^i(|o8ufT1nup@bfbnA$gFL=Eb`tj z9Cpl3vC0ppiiya@{^u@kKd0W+?L0|CsPQZ!W*KDUSBZx$P8oAlSS68N7N(U^MPY(O zUDKIz8EY{#3v88h+J^9ZlMD=Nbzs44xwubjfb@QcH5l!Ez8oWdmQaq|IMiX)^++zoKpY>wz?R!L)s1rY<#EsF8}JsVZ=JOxVvFg$Ul zV>R+a`ieu2x7=EIizWN2(UAfdaQ(}2+6;D=8+T8Gma$)h_wCI`$J6ZVD~n#bl!A=A zn`1@U)7!EIn==-^bjVa?MRZAVFi8@vO?q|*unuer61WCoj6epBG!9~*M%W^3cN4W3 zRY^>lj3Ci{aETn9(vk{B2yv1)bZryzvbwv34CDSKc;aXr0Y@W9D$dE@E4#c zbWm>0hg&@0AS&=1_=AS5ORcM6VnGKnpf=3%Y1Sp(<9UAkSwlf?G``iHsr1mNr}l%6 z6h-rcCfvJ$Y1$5-FQu{ZXfQvfRltLEvO?ZS*5(B>6BkV;xo0Wls^8Oq`yk|kP8!$Q zWNf%p6TE^|!i+a@mUdHhLiMAuWzwOzYA+Xdz+&^+p5=hf9OK>`b(aG`Yz6KwS0(z> zvy1mXPvmFibn^h2>B+?Zd*R~0Px}2%mM}mf@SFs&pCYZIBqbl%G|{ZS5>u?I8Gg|% z4SaBEl()AFzb+fZ@4=hRd;|b3kQ#Y)GX)Q&^9WW5f^M>oyL+8yxfO&psgqF8gwo%X zP72o~?KV#3IjGBq{q9u84p~)ma(g4=R}21rM0vI-(D?%Q)#$7RN#r_@Turv1{bQtc z`^9>0Zq85#LuY-=2;a@Fjo4AbWc;=3_F4H|6y5)4!%cUeR5kEIXDat~G9#++WBSOs z(Fxfc;tj~W*w)tPF2Z$0RBFYb`|f(O%NZ3mbsY`C^n)Ea;@tNm0e6BslSran z?G&vKMDfTeiSnQU8ePTcXo8?Mr^6B^&+HRsI!XIcHW2kKeV{6H-w*s0=iQ81KMfUw zY}JnIgf&9OriM>2R}D~azyWZeXZA0QS3Z_Tpqdo!N0xq-lnUiJim*s4%?Ynfw_8uKTqOxy(=&O`(37Y5d4An~e&ZXbm2vo$`Bc)qTa<_=qGy%~ zZb}}Ev;l5_E%!|;{s1c#^VkKGt}h;WsBF@rXFi{$v7(dNO!AT>sc8hK?Bk%W(I)@k zme&Rkk~P=3eqF3J^lm9qJV1!JYM;D&5_DY$id$)|GiVaW3)9e;%B<8>qT&zsZNa)BHxtzR>w3= zp}X>pKI4KylI5u{O6AGzLmjnNE*nK&FU1~a37?kr5a47eZllbl7e}!tC?DVsakp`*Z=?G zIz%GYVmED?+J1=dHiA3A-91*{_Ec@XAVM{}WG{-3Aa9f^{OUKXb2*sk+vFm3c$*Sz zH2OZY2g@6%b(`R}3};fGYBYDkPhG1LSEMOAc>n&1Way^aKa$MG+BzIYRMh@ZsyYMc zif%`}*}5##Ll!z* z2zT*J3?%5tme=-g+(`(x_J6zAc%)MrhDHziciu>pdQaw$D{|rAH9NdsJPd0a;l|cp z(m1A2ii-mBtebJ`v#R13h3x#j>-NL^n8`w|EqS+oxc#P>=?(E$Q}4zpDcpMFIw5yb z%J}0zMv&G_ZNGV6AL6rJ^0l)@D@j?jHg8;hw`KlqTcpS*twu`Fips%3YiG@|vV5pj z%8uh&$)nauVNnuhxK*l#FCB>>_ZFUggL6*(ykYV2hrB)f zakg?9${D5uKdSTckUyT1%AlP#`zq>Tg2-s+E+b0KdVf8etwG=Wt_QN%)oCrgH&R5~ zkCRg82p7o~PeUi_zS+r7$E7#6Y|4P2Hn)Q@3*)KM#o+14s8%*mv6qkQ=Di?k_YF)BrU~1-ay4YRqBFI$%vz- zWnZhYxrP>ShRhv~&x1)7=M>#~tJ}deua9{y&Ci)Z-McrL9N)7%b)~$o=9^KHqmROJ za<|mvGMVe;zfRJE)xJz>?+HWz^(v&>F`kUX8G*g zEb`^H1|n7U-!RqqRffyeTEjzUcX~q9*CL5*>Z#BaMF>NuUYmgC`XI2FO*ozChgGP` zm)qpf3-J2AJl&a*vtDxP;JL0t1BbE8g+;{qISQP1{droO>9?nTHlb~ylWE8TA3w(D zfT)~m-VDW+(Z4c>peLrOk&{GuEhW=5ZwSJ>hFeG7CXX1YuC1gJ8DVZf8lo@-39x>ZK|tcLsi$&vR3ug-Rn{`%`c?lc1+E zz1;rh^sI|U`fLh*ctC!@eP3CGCR~t#*rHOtWS1*0zjlLjrEQeUVSJ=lI@xCLC`mb; z*L56!OLL#QU4ku3HGBI3KEJmo1qV>Htm)>qsm6cy(|I;CvllVEeb`3d8IPKG(@I!he-sB|3cpkDX`) z=q-^-C}?REB7R=#m!)r)&KMDD^J0dl5I28^n-!pK3#B8{7m<>B?Bn=wAybP+jID% zx5EMKdDE?L(Ppui73;sLvyjUX#qo5l^IWKnihU!S$PndhBGLjPP06TJwS;=Q1 zM3T#$=LVRs_JK38aGvo4To4K+jnV&=jpC6fN!^Y5vz8Bcjxi+pkHuL#ApY!*su>oG zHS@Zfp2fkZn~juCsE{c5p;aNkdQPk z^0CnOuNUE6Y5sYZUV)~pPyRch&7*TK_npe%}V3m^F`S6;{t^w zW@CS{|Ap&aO}zW=h=E3?f=q`559V=V^Y3_`qGow~7a6${*!q zjALJVJXGi@UY`MA3*P0_nWfdIj+YbaVY7xs%?aQs%#>C>{6Dh{@1I8*6Q3xv6 z866IrqU-wvu3z|Y`(%isL;N<&!@S%udPC~@3kgD;&gMF!S_mmmijB6UeiSn}Pp0Q? zQF005x8eBIJDQ;P@5Bhz`jk@A>O>Z3uLC$Q&hXYywpY1&R(%r`_88JVRff0ngM%=*X#V7zJ=?cB zZ6SuY(%p~j?X{|N&~`#4@4iu92@G!q-Jc?!OB+a!3u@WXg>Nt0q|sB=MuVt-;|%q~ zhjB$$ffn-9>3muP)p`i;S$agdWnAIgP(Epz?XD_&efSlUG|^AZ^Tk5SB7q8d5f*!0 z9;^DSM6h1}m zto~NFTgl~vOaIYt*^q@F(&{(kj1Axh!6VB*avM}q<#EQ=(i-MF3uI?6dAg@-smdY7ZCtGhOY&elMHj9X8Ku#Ka#D_l2;7U@r%SAFixIQ18&xF}iaG z0nT>PLA3%o6H;zhXMlSTU=CGN@#ja*-S-{2oH1-d&P>~gtyUCWpNck{EqglMxuus<$j^?x$Q<= z^G@~?BMMT|7;f7*OQum9kl^gcsw1W1SDPc0*drYI2SAfEE@KmbfT@s)(!IE3O{+~` z${U-HNP^yDy0B zD?hHt=kBg>Y5msUNG59yKiyA+%ldu)o#{q&i^nHIyo4!#?YWzr<;91MHfP{;8Vdd7 zIQ_CJ%XlF|qWtdu(rxl`#Hdt_-!8k`W)@`t{J#7NTXQ*&YA_&2>9@S^_Qzez!1jFv z0RL&h=GQ!5F3$^%m{9g9r;{*;m?rt2p5we9hnB{#MrgUc@9TMVfN7P;W+bnT5U^Nm z)(<@HV6NKXZzr9vq-XP`fNt%xR=GDZPAVcot;As_LUO}6L6P;6kFV1YHfceU4oYP) z=TZy->RrCW##j_I?KIPmc`2Pc4EWAiL!0}3l3iW2&6hR5ne#2?q33JJ&t^> z>?$rnI#c8RR(`m#F9K-V?Bu)QIK7%X>g-1YfPTvnH^p&tQodT9SLX-exmG=k>U7|< z97)jA>bzqxwNc$JTQKe?PRG@s(36C>t0||G)Mz;!01I1ghboMAKGqZVP80em1c#oS zCVgQCp|Pu>m-@wk5pbJsqMLghA$Fk)Uzf|CIQo*Js@#Ek<5BaCjt&`43sDbuD^d9y$?>4f7&3uQEKVObO0 zzm@aW*L;o~ag}t|+DNn0BGH|X(RN0G-_9_>ZFt_~=akI*nr6rwGuVxkCRhB00OZfS z0xnk{U>@t;@TuUF)|FxytfZN=qVfc^KD2Q4R>oV`s}@Y*mjp+=Qq=dg>d`iF&*Y$0 zC7_J@+LgOANd=Z*8;SS z$+Mm$trzeVJoO2Me|d*QR;KHM`4A7O^U6cde)8B2|I=yG#e7GC{D%oQBca@!+QQUq0x2QjpkZg>bmhZ zZ(ZvU*`2HkPXbD_50-RYuD5WV@*-q17zbL~?*4QWt51$EgT!dG>yoKi9?#CF58o>! z#O*7J9$Yu*^4jTm*3@N$B*;W5)$68ConewqXjE9p&P>bq-+B!lALeH6E8N5ghvSu7 z9?|CjVsschq?_a&d-C)zC$8F@q#T3C@0M7;PD(YdGw)y7(ccX+G5g??P8^C_0rJnv zJV&3Jfp62m(?4IUHR#IkkJ;P$vR6W&7~ZEhr6E&WO4*1ucA6$I`~Lp=KI3nn;C~vo zWZ|z#4@lpBSm(+G!tE7-tuy+8|NqusH&!*3s`t*3d^;5CrcCBR#co_)Iu+CJ8ICH? ziFpN9g%^k(PibA~_e~RGUyo;ZH~dt_?vi=najQVC15DK`*#UOSohz2ld$A)mZV7J+ z-k3u8?1VyoUv|YU z$LNq9sWKfKjN4&)D^BCrw%dEAd;5De#zoZHdV$yOKZOY1K_+B|(4f%D+J4XyOSzu>B-iVsJc z3&{XrvDXX@-4C#T_F|5ChKivy&qp~JAfm={`=yVF?*#bGbK=cJAnBZ4 zn#OdY)YYMU*V_5t7O(~vBSG0+`;J?Nh*%%|iQ9thpU_YDQfm=~QRn7c#G}1*IdSDp zS%R(PMWn83#yVzmeR1)eML{qQ>R+{R$a(6D2qT?~F^HlRb#ZEG)-r-bhfC*9iYSzd zckld%|E=jt_7*e?h&dvwQ)l>wssaHMm;4Ck?Bk~$R4&C}#C^J~xpt)6?5Fedp9Dw8 zFc>=OPObG!3H^*O-9qm9!MA;;vb@)lkWQCWatM8MRGD(&bI{0~;vP>FqG{%+V?3ty z{?UwNbutw#mXew1Z7Mtu+eY#PJhckiXWCw56knv)&HNd?xoJ~tA2ijIaWHTd=zg_K zF}jKT3KUz3=nP)dxnBrRsG1!deD|cN1MMo?p&g{Ng|ICA4r;%zwW3RDZUIDacy;x^ zJgSB8Hkkz5O({LW(CD-Hiw~KRRqA7$!>@g{ zP{0z%iZ!tu?&G&_&gXLEYC@ju#zB_R=#`j z#vlG(*Fyjg4S7fj>pNspv7A}o!fxMr|61K0Ri?ztH1fRi_y=HzY<**d?IiuZPhyEJ~8J-F-{pzL_R1&CriSV2Y!pJDEb@D9zixJ(*9xSvDlPpN2A3tbIG(+eA*k-_K>y+3@EZwoiw&*TovO z9u+;LSrhUdl?&c@K9)`yYt$b_WgaB+N)N6x?{zgB=MX9tk3EY zN%{!Y7&{??<~U?S-o18B>$_$|&w)3qr92khj6UdnfslCKCL*zH$mx@uP0nIHsQ3f9 z64@xQx!oPbku9k0wLYbM_9qKjyxerYfKPLw8!Q>>oc7s=S6_-`eSF37miT5K32`m? zRwrveDt#PVCFRD37u+z8t9eQPJj9WBU(`)X^Ci2tk|Ljb6^TMXv^E3kTXe;9nEVQpr%P7_&c@#opQ%yJ&;GBR?ksg06W2gQge@_q==f=_|Kc zyXw799{T!j*z|<%5TX4M+SAMW0cU7?On4K5*V%pEZRpq#p(V4#=%J9{i0HHVT&1iZ zx;IKRYrj$O^+>&YJ{HfhYYmola`g;OEY~2cRrI)v?a1eaZH6cFA6Er3xe~VNO4m`eI!j z3u`kTJ$Rm}E2kH66gvuKfiITF3wp9Rw|{w60#?v@|M7qOY^df`$ik(erK}le9THXj zd|A)g5L(2cW$QJ8v9Lt`u#ub%yebKI-Rs+34rIPS4b-@;p5TkIU$Wa`9Xh{f{pBHG z#3-;_CSPC-s7SHn)YjUY_v=g;!q@k<4w1aO(nCV=hNYnQ5W@ffnx#fu-bwvn{Z)e( zLv{BU{mWzOjhxn__6xE>uE2hrvU!oV0GYiJD>|3QpMvAdl*MY0RO!}tjzbk;l2Xbf zrDf~8Q}R-&>urk@r;BHQYHRAwcaT;}pnji=i+fk<`Uwh8FMZoFMP_Evb#hvXyYX#b z&w#^=J;@*9T;}kSUebzEhx8%B$@PO990SMq-_=6hX$_0Vd(Wxn)p#`^;^XOadfS~B z^N&9?rxxhmXQNn2j52DvH=2KMLXg*st8%hlFPrf_&kU+p=14Fy@+TCSS2QDaGkplk}hN){?WqYZj(TC!b6%?*IaGyS3 zzn3_a&~{7yATL;;+`w>I+lKRBcm4G_bo-ln3R^h6o7z{(T^zUwl_Eujf*=73ErKFJ zowB3Mftvz*exoja0}UEIS6M}#+dbvddk+*_LD0M1CY zJe|2J%D|h=nlw~r#%%%>c($(Zsnju!cb{})jHU;!4gSM5=rX%`s${Rss=~BN2#F4a zK(P+-ejPvUHFVWSiV!{phA-(fO7C7)6MRUq5S>j|G<{ajPOYu_@+Y6bZ=ruq(Airb%3S&68$O?U(rCo{ZBCyyk|L>~jH+yuBHz)|?m5zlQJ+;S zDbo6=j!z%HczV(LNwF!b4HkDfnp>bqV;AqYIo;JsNoxtEpW_<&UQeswj<&R%-cw4+ zLO3QZqX2L;dtHTAb4U{eSH|3I`YbGbB10dKhw(RJ`|%`NbO9+jR38TqwkEAva8TzL z=5LK}%w~->qZW}SKexJn{`K>2ey5i!2p0)6&Ab0Ytq=|<8T{&fpzUssv;*<6o!pMU z4zAxt0oe?;=dPrx=e|3G&u&A;n&cZR~$ zjgXU=Vj9kT5VbAm)7P<-OZi*@a{QH;u})%iy2u%Q1We0!gw=b`lcY0%%E+9wOW!GP zIbR-L_MiEF@Xwv#{Gk_YOkXQV*OI-1QlSVg`H(2V5XZx_H)sf1(Y>)`SN>Lbe~|y} zea&BkTc61$HiTz)G-w8`SHg^BxKon~bu(a9vpWhKUX3!Jp7s^Hc6!AhMI6hp-_dE& zgsj=LWcS?6bf$y$`%ixReRxGf){``io!ohP!z~p>=5RX22u)9v7l-6CH9Ht+A!U~f zG)2~q0ea?*m7=fOBl(PfN}_*0bNt*HtGuj&ggHhMk=(#@2c6aTS zJY5-oPVL0T{U=&ujgY`Nm>89r&inP!%$@tc5PSdl)s(L%fB)SM&ZzDpUTtOCW3h}E z4<4Hb$~&TRe@k<3exNx?D|&aOtIoW*zRf(=)=6@hjYjU`J8pRRArHUaJsvTz#rz#{ zob|Xk{=cn$ZpjO*=dCp$@GquxzLk2odqq4Kbne$fbo_@5^w-}CCsO)|Vy z_BH=L{uO(YA!RyZ#<(bmW>=TL?wvjUsQKf%8^7rDggEUcJfBW|Dymt1OP*!!0D-1t z)wk5qki3kc@{SPCi!mASHVKE~0T-5`Ru( z65TjtXXxk{W(l1~xw5)!Dg^a}MmGDYm4bSL?<;2Syd?(pYY@rk36_JBa_KGN!Ga3; z9=T31+G^Ri>D;Swj5~VEFK}r3vsAn3ly=W~nVLjtUr?-+%Z63{ z_;*||khUC$M0oW zj~AiRX8)gCg7PIo^bh113ngf^CH7iN+rjALFJY7+`X`*MUt^`^S*saU?yf27Qi&t& z0UoZ)blg_EpwWN71E_TnX(tr9|>Tqx#E5? z^Px2tZ>jHWwec6IR;&GEe3+C8q;YDvgAuxoG|sly^>C^K$ryb?qFu0aK7qt>iHYUf(`Z@*P=pH9v-Y0n9+v5%E)y)A z4)gv)XdKZJGtaOOk$3GQQs@SWJ0VYxwdBvf>ZAA!6zKpui_06)+yM9zQ9vFoskpqS zUv_tj@aoL(KYGTQhMguO_em1dF7H(?|hY<$&zUz^BcfPwK%f7vi1U1^@$zmS&lJn6ehuTeJnI2hy4BW1R zY}Je~W^pZliuGVASk`KNThu(+N{joTnI+YM|4}7MwqhX?0eQD3a(6$yB35l1eumZ! zr4|GfnPUbTNp#oo;QZXnCG4po-$nqkMd@O;h6We6lJ`*8_$=Gr)-?tefdwNN)AhIP z)Vjlc^{TkfNE%XB{^736(}_8_z9rAsiO-K8JN#q<$>x8Vo9(zd{Q&+b`okDl@4S~| zPLY-EzV@*waCqW{rFnj;m@EjqEVaZ4&$x#axg`J}oM|=`x;~)|E7fp!Wubyy?~hKN zzqg^!4@ADU_l@iu?4EniqQhr*%UeWx)Al^O0<3rXgWE=xpJq&fCBt0%f#_jAtE`FuWK zZ+Gw!PZnViFxM&v{NX$9&HONm3=%t>Z@$tFKe&=hqxNM$Hbx%p{%;oAp1tA-(dlqJ z9(5P_#~(c0rZc}?hmTf&y8q;o1clXc2egp|9&BAJ<=%4v%7sJ0Rt-KrXC8IideP!R zWro0oz?`&g^_{J+t7G)eq_*PfdRiRKMzv^EU08Ehtn79A645o1I@OsNB|Ef9m@In7RJDd=Pf$4D?cZvz#4<+#2W38Gp>lN4FDrMtYH|H~3Ur@lZ>BZkur=XX~ zevy0aby|ZE5GeaVhLW9@+eS4 z3+c1@dNeLELXTbEESgb(`sK{lon=Ul@_bxBM|jYBpR3r16QjY78~??NJqg$HeYvAs zKO%!VIic6npt~DQl4bt6Wx-YN)!wbw^M4Fn{Lg#mqu;XYRFJCuHV4s{$*nxwM^xUv z5?;=aNFe!9)=jxB9MV6(0#x_bSG9V)s{)OKI&Uw3$c`C~9Ea75_;J=4XMxZ^Z?Cy| z%8eh?*~70XpP#4ue>raEXRpo5JM}~tWLqxFW5DMt1Xr~=s7i9(WqW=e*L-l7Zp51k z(AV$Mka}?I(e@Xt=LZOx+s0Y=Tb)Ab*7tc%m*`pVs7jnU4#_+ZZGUQL9?n|?)%88r zpgp%&sN~_%U;0$7$PAKatK7HraC`TkI}gc=L$F_@4>@%wD4}=&)-!dCpN7pdhsL5^ zSr9z8Yi~*oNiIYmCXLRNTGj4!Ht^2v{MqH`gYevvu*;&IncHdm%G2bl<%T3Dq7OUx zn%5fc+zC!xXE~CxF zbt(dmL_X)+czo&}B9f-H4FdDP+|g=m&S`}cZ9oQ)vs>vM3a9+~wEkijswmjae!@>q z*2neGAEup}vNrMU<;L0v8+QM6|7~^CDC{wmg3u?kd|t0Y=XZlfT&RPOi4(L{x%7rW8NCPFiZb-%K*EYeQy1C`g4a*3ldA zawcjtIdH-~$tUpE>_^sI!hOGVo4oeytE=awMq?le<5wr@YnC*$Hba8rEhj8~yRHR$ z^|XwXth)ao!miUh$qvB31%SBoMXRy9ZF|=6A%RqcAFSlM{hRkmD9KZIn#8&<+7%SC zAP=Th(#8isq$=d$pj4}-nl9ePfrML<<>uejbKqESAqU^)=tfcEo+uw%O;8nVTUq<^QUGO{XR&>2I`<>xr z=w<5|HK&j5w1aymKWQVu@+7p6!}w08Y~oj`x$@ADZ&v#RLAgP(_j|RfCbQYj!2`Bd z=VqbC6&y~eW;Y#h;sPr!jl>#)i-mhRZt+N0@1sjjGn?Q+yO->`lX>z1U;kokMy5;k zi`9QQoq}E-JK9hCg$68nc&1L;o{PF`S?PIKQ2~)oq5X$z{{Gt9i)jyFFjmQ10s-E) zX}E4aNoN4S6Wj}5lQoxA{GG?I_|?g6dG+X>jKO!0)DP(q?DoB1*TV|P-ZCC*pNof_ zlH!Mk33?JXf$9Wl{##3{E%d2ub~gbq6biekJ376}P(EdaEf(ah*0`@Fvvt6DNTx&Dl`nP<9zsDhmQnn!BRdB~kbRzQR?hi|~vW_?k1^ zOFp-McWw1JWJ{7ou4vmVCQiG^mL!b^@17$GlSfWMHD63V1qAp>q+H55;mlph&23dO z$>mMV_1I}VTa{EAd~f?I9@SmD+zsv{Fac`WVcytEA03FBX3fLpy_a2qZ9W7LJ_%dQJ*G zBvrtjQPVGR2vB>re}oQY9_;Kk_PnCF)H4#}=f#vl+j09#TT~xh9&SIG)zc`@wDx-3 z)143H(ULxin#_QcwAVU1Q9y6I!M=BKIMZ&(?J{OET3hbe8YfzV(Xd<#(>OE`Lfk62 zmfS%D7!~sY&+YVuE$$|%mDfe{jE_)C6{x=Dnl9ruFXZ;uW#On z9Bh~-y{UG21R^MQ7^WO5VfN`p$1{i8WHD7Xt=1P|#S2@&!#GT%i{TGdr|5%D_SA1H zs~4OdjE@76wY`0#MZTi@GwfoV8~Gpz3TGy5F<~5&??oPiE&CpdI3$LMErdi=G zHmV`06Y;C^)a?&E9T>(BUE?KKxZgRfd%HWnu!9!AT#pW8n#O|}l9?${*-os$LKi!7nf^w$DOGcN1gI8^eyIrUWR7EhVDagCc5As z{)Ce^*(*1HOmN>W@Lxw4VRPW?9zaYgwZ@B3W3X_q!)8HS1T76(-!vno%3(heJ`zp zaEP;03Bu0Vq-enY-#vZY4a3l#WBXOVPMa!EGr;*_c}%zW*2Tqn#jH9I4vQ_q%y8~_ z&aa;*MbdYQn&)aTe{zw}=dfl{p2YuoKOBwy){I9(jnh%d-Dgo^a>IjK2$H%4D*4jK zT3bC%uH3OK-_DcbqomhRMD&VpYmI9i2f99j;Gb+U>EvLJGm|+M(lDrZ`}{Rm$C_Yl zGih^PC=Y5>@%J>9;l6FuQwT4Gx9<4!7PpYQz=;u@?S?N_+W6VnGRY;|Z9^%8_04Tr z@kRHG8>}uki&**8V96-P2PFT6rLT&^fL8Q-X70~G>h{R%^tI=lTq{+IlKR?CU%~SPR7F>0li`)yt6uF8{edilN>7xPta=9O9**=Ef z|Aq;Ge>iH4jLzMR$QyD4wk`zi_NC$aI2NcZFJ-seS!!xHSkRd<8UfR2goBVTaP4f> z&a}ESqxy3UbJdWRy&}2p;@+}tpB~l#@KG^}qx18rhq5d~-t@dngSa}1CDuT|TVG0V z1)OA31%h$!{=$XnlrdV#H6B`8hWYeqzlCCsa10GtA(ZtoCPWD10@i?r02G)Cj-x4e z$q9S#c|DS9WFh^;@0xAHb=?g!l&*0q*` zQ>u(Hk`4T#D23Av7wXBqa21JiR^{|Q`jUrj(DH z_jQaQA+(<$+cvb;3;{do3sVJ}W>&8(Ab;z+{Va0}0YOnL_G%aRR&@W8hg+%0G{Yn- zhV>VoVX4mid=KgaJ+vGE5rofb*)R%C9jk&*X;$(vPSTv+0?&2O67f>ZfqBCVg}&CU zj~kn(?YM2jnkrvAA!t{E-|34OJLB{uGJb=-B;C!n;ZDO#q^0hZ=i}Gb7iUvVZhm&i zcFW4fkd*t{OTL3~A;0v8y ztm^hMt(64^zH|nfa_+_z4sY1^ol#qS`Q`<8QYw~_Z9oQ7H@ zI-M7{4OYxKzejk;koZ6U|47DX1oQ+agtEdltYSpA8(Nu30@cHzoJu+TeJ;B=9|L!T zP}rm$>nFioCr*vJ^>zCPQ|10>eCx{!DE{?sZVe<1$QY$R{)DHqP1%DB(jj>F z4#r7ogKV#{R5rNzrE_z2T$b;-qm|nJ)|s|%mXZKs|ChoJ#7hFM(v@GwB&BwzRl23E z|Kj|t?Y#1~Yi9Ivjklw12x|ShcnyDgMsYT&scbnRY;9r^pIG`s&4!T(qBtqG>mWOk zUlj8${r+`rzPrKZ3(+t@9}e{+`;+R}w^nxD`oz+@x-TyXdv#1{!|wNYs#%}8Zrf@o zK`1oI9qknWgtYPHG-8Q+Upg;*0;_$7y>Kd>)zDa`d>!7ue~+#rE|!wM{lb{(A$K(;t=i>8v=-O{8sj9@rPMv1g?aw8;A(vSfSMrb zfL*UlOhs57rS86RKW(sTj9Z3`p5sq16^uy%>Mq+GW)QQQEWu>B9$-qnLw+bAftPJ1 z&B9E>ymks{f*zGUNsD6bZVKiIDK%ifc29oi1Pnc4Ps0SEkOU!swt-3XV4r5PJc5F> z#?vH5B#1TQ|C`CxaaybIwzjh__Uw;484S6l#D*_Cl5pG`gQRYeQ@4}#7OT$4yi+p( za;OF#gdRA$2cmUa%V`w>V)&)W@d1uftihK!SU*|*68fQ!?gS=T&wi2+jY4EJl+$2h ztDXS@U{xazoA`?w7)~3-_6*>N1;GY70^_F6@(aVz@BKx$J2=WT^FX|3+qFssUNz5M zL$ip7yoKTi=B_s_sUVjK?6j17t5i*mF&uZKk%*I8?N5IeE}ddrESa7)*f}*{6<2pk zbbmWa6+-A`VB6e;^@b%Ko75Nslh@$J8TvJ#+W9P@*FDYjeJ9&svBqtf?l?NXq{+@1 zBdEl4kvZM`j_*9`ctRqZ-p$^Fn1Qa38hc`^LDLMwSrn#`v#P*BuRL#;3Y7+jcWLkNex{Fn9 zzfxtq?nH+aL8nEOPi@QkzhNl^Aj17*lcNd9O}iKKkSH-l@a6vHV1k$JaKmi5Lf$3S zPdAHH>l(+|c4G$Sq}$d@+m_192g){t!n60MlivAenC^=^ECB#SNO$jWRd{bAw|9Mu zZ(JDd^S3kn!ry&UPYP6PDzu|^t^W6^S&G;1-Z|$U%bx`Ah^dp>AH;X+QjE)ppH6Ts z`gFRrx4W9m=S`;WT;M)@#FGB`6WpKPdpq=gK<_13?RG}oK}?$FAx;i^`g-qOlUEH%J4JagNLMrDT^Pwm2hIVPtDRew)bo`)>tl z@Ot|WAIk&CB86+v4WjP;$!+^|q9BesL-7)(rnU$RO9_Ftej!es5p<&wz4X)`OH^Rk zo)v{USD*iy$M?fK@pJdHdpU)INv%!yF}h0-XXU!Cx^r8bX)#3?23H~2=_m!gmeT!K zWjU&ey$NX;C24iUEIYXOKS>_#)yi&{!Z~)tp;lz0aWhFh+TTAV-x~rUj zcoW8 z%5T|A7RVueKH>T<{46zwX5hV1zau>>SI7;yFpmQU2#JV1D91dhF(CbHE2hnf9^s-*8*&qMV#GhpcNH^7yRb$$sb<-!JPBi{-9UL!%PtAMu$Xc z>CIJqE{Gf5k|+!UcvQ=oiMRJ(cO)tAXtlw2gCWFU-l46hDNbd2-e1;dU%BpO{>O9p z7{t3gp7^XA<+#DyqybB%bTpwBrchP^_PeZVTPa6kj9f6hxeuN}8Y}7&@Y<~{wY~9a ze>bEHuo38NrV~uG?96jiEN<>>@BVS@L+{I34Y` z|M%WLTf8>RZuPi@uIlLYHFQQ3kEZE;TLY}Q#`MURey4td+Kl}0-DO|Q?)YuiHGA-y z9QM*<71G_x;GfVxWD+u+yTd3Z`BC*AxMEuuG+fU{XYU5S-qDzk4gy!U#;joxnK;XeY^a(d zP#6u+UyvVrQ#+MBo>aw$bY1xTK7GFa^H1l21EV(|odA^5s?Y|$(QseibY8!H^*e^% z`}F0@PahOT)9Aaz4LmlkK1s@9t9P{LWAQ0~tKjM};Si|wSC6+rw}hJ68s@8TNB*Ge ziu6jbwX|7V@d3&hL}69C2qslsn9u^+V{@eHmSpoZ=W=63qW%f4w2@vPR+0<^OFqc6`LG8;IEh)}I*Pfii6PZD)u?0Gh% zqLdZAY7ydTmL-LID9D`FkS~J;L)Uh{l$=Ljo)Em2`$BP`ITW%~wWw@=6v(<(R62js znBXVxhn^S7I@s3j3R{XuTCT177>F_>h$LlgrE!M0KB+8SNuirEf`FK}drjDYq}LVo zeyv~J$41MZ2-}tNHc;az6$54scot^5KL0at!ZnRZ~+5z`6U6r75^o^7` zWS3~Yb4{4a?5b;Zr*H93`l}3jpy~Ne1;vgyj*yb*&nl}9F|5KOlM~sbWlwY6e%+J@ z!wkeKH%CoV`cV`I;5>D-F}PuJe`ozm<378>HIt2@l2-$iTRZv4vS?h)!3VZw z%!GU`v9$8U^zUD1{@KEhzhTG5?qDA!lD^NSSHwRskRPmSV@__Yp{+Uf1zViG8&zZHpDuYzd?H`Mu$6MBN((#)0|05DiomMr?|jB|taRqW$4Rm~5OM553Sw;;w_ToZ zhy%AQ=>-_5!d0kd6Kaf9l>2*i4S>k%HTY%UbDo~fDt_67(efYP7XH-=@xo59HA6N6 z2C69Bg6>Z3eyFv;^@4pNvQ(zTH%tpao;Nzyn-hoIYZe$OtZ^MLT7?d`l85_TQk%QO z-VRBw-PcOtvHQ>?>!2o!BmiRbz{~Ti=PaSg@N|sy7P8&ved-$4`X`$&9vpw;7$r`@ zN0a+Xbc#QU&+__57=UE|D*ehoKdz|OW2JT#prA_;;&svQj`6di@_Lt-Kfj`bAYilg zgNmTzd$}ZdUFy4$^0J+NmEarjH3PRMnP(fE2r68L=~a``cRBwwmMKb8PH?X&@^Kt9 zWGSo>nwh5uK0!}(uXLGheNi>)I>1Mo3YH49C-+;v|wOW8`v4r|g93?SmZ<;!!i&ZveLl|h8)9egwM5hw=6EFXqoc?M#Q0^>O+bWYlu63r~*yu3yT>ynEsLSdh-&IPgrc` zP-1@)IuW&-6G*RIP}u0~kZGtTHA1%RAam>KA+{-q9hk{3&od`HTI1Z8XPZXEsk8+5 zN*D;wGsGk(<5F=_06I9i+6&tXqL+`dP%P%#w>Bk|V=3BpPHbg}Pnt*+GSvudu%rOs zXvAw_x285WuiRv^lhdbm?!fl^!_>o=vOhQI1GHFHWe$B?1BhWml!!Z1r)@hKfhOr~ z*tEtr`KgZ!zlJRCn?pa?YN55mL%UGRjUWE&2$Jrns!zLqGA zUhmG#zqBkS8-^ zUG7tz#QRZ*|LNFkzOo5`=mXf@8)^uFl<(H8(d+_E;iCS#&N{`|%uOo)&c4#RAGzF3 z{ZH(-b>CP*Kx5yXra-H{U9HN`=q@t4lF?h!qv?DfqZZ1zH18>E_aIxw!_VzL{GxjM zTZk<2ldR%60E{ev=-e6d(aDF^d;LokezL(=@${C6Z><5H$p7__wo;c}W9WbJ4z7Ok zi*G5KjZ#=7!w~m`bz>ZQNhC1mjOeSG^@EFRYI_RsEZe5j{~~G(f0B{SP19ltiZ;8? zau1b!z6Fo0@%z1v1EE#(Z~dP;MgR$|>HqFQRb$&W#WyuEf0D9riXNcW6&m7poEmy1 z0)8s$naG-aJo~J2-@DoI#5lNAb7Any=YnGknOwrlX0+(Bib3YO`&LFPEY+3eJuD;2S78`hO%qBnMAjJ3y2KNNluI3E&NWen z)kxKeYns+bUBbkoJnBt>c8Jpi-%wrTC1GDoJy({D5ptyvshY4t}hZw z?OF!VF{sJTwa|>)kK*xGl+FBh<5ifd)ho1QHajdsM)kzN)QlLDfoeK!x&?6z%3xd{ z>lgUNGidl~vru{y?Ie8z^g=#B7j=r2Ug09VN<#JP^ceRe*%*(bwe|TI}(t zNSvGT&vYXdbM_W|r&&&t;qI`mY{;RmTiA@U2{j()Vx#?gSMF?S6!k}^o0Ldpon9eb^tTZ)3{o(s}_?P&gyx8Jo%>+|3_cbLHUYsvzp4eg5aKGOIb?kov5bQ`}m_z zlWay5Kd5%vn9`1|XnO8x18ML!cu&m>dShJI5T&)p7;h@k>yIsygNyeEXVK6cr`$I? zdT&8~BunkTk5G1XagIe|;U4sct**UG4)UOVKAC8UV0+{doLgu}dd^L{YygrZN%8rk z5gOexp7L%>8tyM`ON~0|d7awA`+kB?_Xk0cNNw9pni&<3KS|BAoPzAfj(F*>L>5A^h%lL%-JFzn+<p9dusk;ORdVA8Fl@Ql1#J1J|IPm9w6A6We*`m25Dh7GjC>j}ziU{|q~c1O*|iwtd$-wSDkV zAj_lTFbfN+y}Edd2k^!u;o!?94k zs{{ThK)20Pt76Shjo-Ije5xa6eo0_{G?IcbAM}Ddx!+Pt|BL9J^C5HXn4G6+$cX`3 z5#Pl(oD4ypq%pZZ@r8?r{oaFr>iZV_vzPV#N&UY6d8%D0azKly5&kqw<=nuO>jb$3 zm0K8tqFF8{c~y-HuYKj-z&y_Q*jH|?>}r0`zdb3w$=3Y^7p(eJ*SVEQGm>oZFMoT+L;)COl1F+}gA4<>hNfr8O zlAuoW$o2c|FJ>Su0@c<#fp{w^z2nTt zt;kX(MW*GmH_AIXaQqlyQ+9>HZD%-sepb_#%QNf>hUAFf!@$xl|41<^S?e6yyV<T-(EKTz7g4?zJ{fW(Gw>F8zX?-l>%fm- z&D{VhNVDx6?7owuwezL5&3c#SBaQAs+@Pl!-3@3AvdX(mt^t-i9i;+jD5)qkWBN5s z^JRf1a|$$2EwaYyvaDY@+&*yNi*bbX?xM6{;(mG_*26WbC&Bp7hA`m=t~`~GZ^Q88 zA}|1-*_o{I;B_o6DUKRe)Wl5sWHrXYSD`=1fiJ}F0SK83atnRe(O*R)Z)adh;0Dbk zO+M=&F$J+Infda_4)ViryC%r*+jU5XqKFHCqtX(`p1e%R46P72HkBH7_P5`B@M{U; z@pQF%`dIQ%|P?^Ik`Ji^_E&h0nC{+a5 zTbV3^FhsZ@jAVf8f`2#iqO_4{WwlQPrSDiPT!Df?9z0Wfh#>HSSSGqTLw(iClX0$wI?uRKt7M4h!OoIi zp(pcq9C;j;+9zJce}F_vr*RbE#5;%k6}ZN5)3cC!DHg&y_CtE$FQ-Lx-YdKZG{d(Z zHwmS)SyO-SbRaNqdv>5*=)I%8V@>QTB|#jgxgrRaKGO<+(Sm@Rt|Q}hZVMh1;}e9# zU6Hxhopi$>2$B%Uj>fzMoKB;or(B=9TqZQAmo*PBItjM4`zszaw2V3)IBDqB7gKX-U&TobD>ONX| zK4VtKHy!k?<-*W&{j(A6{`8*pQ*ZMWpMQq4?6|hcC67<_F~y!8xHrE!(j}*3W7|ys z>`33!e(@oHs`HfU!QOrN+tJj5@)N2vNk!KvXcj}na~gF3!6df z*kGws6Rc2``%X|cX}#eIilQ0ZN2=?eHv|?@on8&GX0^RFN##ivqX9y^i}0FT)Q^Ar zee}$?*B*+BUGa4tRk1txrk5_XZ>h|IVR?fWIP}NepRR&+*|VK>^?>D&l3iKSo-E#2 zV#5bQmfJcULc`8%ds}o`aU<{9OOPp+Wy04-<5`_wRPuklBcG{T-oDkwpySgbHb2G4 z3d1DFu0b2a4!9uht7&)f1Py`Khl#Z5c(YtKsh*eE9{YT!o6K0lPibUmskt31RNW_} zyDXF&$r>(NKD-cL0B%T17;7iRd?RgNy?$iH)I$_-*e~{OQOjv6I2{JDP0;wANRB# zf%@~+1$OuNXpg6+BY&dZ8EJh8Ek1g8$MlZWmbfG=&Zo&S#W6>u<@fDmyD^Hi1}>Xe zMzYP!%PJ`X$AN~h12kIQMK)R;5$%qBQ!!=3b1{09YnY(6%`8 z8E+rxKPysdSxGY6|Nd1P>CM}o9cT;bm<7+sfGHj!>CCW?TTZ7#P|LDz(cO9j%`^bxcC2- z(I&k0A1tvYoQaFpLE|m=KHjuKn~B1`kF4=EyuIigL8HE&=+|k=KcEUOsReNZVZaMn zGtMdy_McI^eHJZFYMcq-0!3dM>S{G<>%m!Vh`x_rw`rncOb>Cwz4Z6}+ycMjeuQTf zIo3_i{Sh>alu78@dKuryZa3AlYqJ~EQSAu2SH@ z?#%q(vmRsM{d=K}(IZgwp}VUiLZ#XixK9|Zp&vyaB!nV$F>y%m{RZV=$6Lr_6s&UK zLK?DJQ#(fS2gf;dz4qJ%<0OtKYDv@LY{p))GS2zq+j)k0+lLReGDa1EZpC#8TKs5s zWZTN`;#R4&Q4>!}!4K<}Lt7t=e)-#S_R+hMp2NEq$MkC;;RqU#W}L`1dceB01eXj-FRVcrK;Hx2*WAbCd!@VW?tE`mjOF(s z#>nYxQLyw%%9F})zd)@LLNDbvKqj1d)xc z?@{np^w@nLGGnK+R)!cT0n#U6h}=WO`Z!K!H_Q6Yn|AwQ5{c9?<)$LgRxyFRgp4ik zaQ6+lXT7-M{~A*Gz@~s%viPC1oZtAaMS4S)*kg-H$3tK-$v|WL;w1(dGa8B^eJY$K zKG}I`Du|1GRwrcOZjhM$8fID@Y?kMCE8NQi7H@ye@6E-O5YVRL5eP-pQZ z&dVuzTVnPzFu)%N-O~WxZmZ&6q(Qz8-BIM>L;U(o#cp1^!4HDxht;;+De*xiYet>T4 z(FpYf>9{rAQbL)d;0fb07ocexYlA%#<^9q3C0}*$6SE+xtFJDA%ASfF3A#C8-k$;&!JNW(QGVwXz(L8jEo~ABPn`ETtv4ffDC*U*HWsn5P>t$5Iq) zQxOwi6s7?6iL5DZe|IQCQk;t^YXa+#=Uc+JX^L6&LxI(w#;;Vqq%c`)n-r6c_|wH4 z<0IRwNjQkQwYM25k%BWhqBm~-$;c#d)pkeO4kl?1y-2!*V?1$}@%EGD=itAg|MbJf z3;9r8%i?=!735vP;0MZJMZDjoBroF>5YQ>HqhGjqcg~)C0fxxe)$Em+_Ns~r$c39x zAu=ekm6dUkLQFcJKB49f*ReZn`MTz#lrcRIX)&^GTCo?08(CLV&FM@CWt_1+z{dyWt^Q}MP$0zwna|dE(T*ue* zo|{h;XrrjHn6m7e0FX{SelHJJX0`(Sz5{W-ShgFCQf`8o*2&a&d z$$ibKamb7~Ns}T`5a%#WnjNJHbLj4>9`)|>VD*=MaF^Hxv3m@FiPZx477?()VtkBj z++nPLmyebQ5EAM+VNxNOsM$Y*ZV_Untf_A!Sftl>NY5hROKmcZ$3I%CwO z_KN3Wg-WT@wr7XH0Qq-npPy(>nN*j7n7(@}u z%?I-4P4iO#D=v)l3I~GIV%qG6bR)#YJbzLG>T?~zMamsJ{eI8i7kR3`H4Sr@XPQV6 zf<6Ob;MW;sFf??;jaQ$p4rfFusQtTRo@h#f`=*R-Ahlh?jZtHD0-lJ2&dobholl^n z58c+OZ)ir19~Hd!mLVT{txY(ovGURs4zQA3PgyCzz_PspF`~tqb$Bnc24dsZ-0y*O zRipIbqB)F7jym8?im4YY&g@R4-F~PFy!tF%*jf(-R*L7S4Xb1Y8?)rfl z)Is6M-Y zjj}ygL{_U;PPpJ)20TFzi&%!ZoUc2PukvbxN{alqVaAX?TIhxt25zbnRe`5U+~^aF z&ZCpq$-%v6Du0l>rQv$f+T3h@G1G#}V-Z<}uUk);g7c|hy-HJ;2TMi(WPkofr5wRkeN0~3KD*s)wxP~ ztbcF_Nz?Ae?DOwKcRJfSVg zdB>+;PJzIOgX_|yW^efjhJ-{We&6Y|%(BKls=66Z??UzlYybAr>3Vl}HH!Tnh|6yf zQtiMsY^KT+mOyOw2$R@-=2^>NG8o*Zc;-?rAah` zxMri}7<50aGBP@OKps7h_TyWC8Zk2->w&7YgupPz;D%S2R95viMk{pJ;aMEqc~DB| z)8IB&D5VN|dy)y^@qj~{02#H1Rc-Ipj0njHmgBJl_@cH`My$(h44dX~5a|KkhVN%W zP7HB`A+*v>PHwstW_Zcv65HZ1hR7P=lB5J`kBNPm4PG{(H(!71kzrXrWF<88(<_GI zTE*ggUf{In^h)pp^qH<3i^Xf>L9f5k<8nB%c`k&>idN8;vdqmZf>XTN9o}0pgR#dQ zeAxr@118c5fKIXllXTycH)xd?-Z%w=;oj#G;pwq{`7Em<9v%CY?e=t?Ty#QzH0?J? zmzK!Igs*-t4ma`py=HBF)a`06RfMyVjDhP?Q4@;z3jw2_jmWE`!78l~pY^L%(Mh0_ z#pbT$g@c*tmB3Udfcsm^{1bk@e&><=GvDBbI6x^W8Eqt`S16>0<0$ZBNvUZA?}7JR zhyx;1YtZJ#uh^^ZRpg%&(}?OW86S?U7Tsd^?zY{N@0|s<;T?EzwRlc>SZUUBc#AGJ z_X$oSW`HW!D92fsF6}y=?9=Yh{jpD3l;x0@+2%VTCdKzXd1sbw_!D?=!8s%BorAXF z*H9^C@Kfj~>$gc34dK{*ffV{OZjW<02&`-_MT1=(xhR0ZvoSH(%7%OgZ`y8u^!ql* zmB`8=m}(RKK$z?O2utdumBCp%H{UUj9TMMcLhO96tyH#~ZC6nFodp^h${75osT==4#A`twd z7^Cqe_VzW!qZa~y>|;?u^7s7C2LPdD83JkDhBVwqIbrzxqgfD1Ma$52(9%alMBlRd zsVx{!a<^`6|I%>lps^;rnKMN~?;r!)n%T?oHnjx>iAq&ZixJFEGc5yUv|frSz0evF z>xHT>fOCl%y%&p5rm^>-6}fYKi%zFIQk5H{Vt$X3p5q4;uv!Y7O11bmWQDuh|1N^& zwi&jr#iz+QuhZ_S$q)9*(N1k4^l&_gDX{{smNW@9jWrHp|AKqXHYpq|Q8rqZ1tH*9 ztphT&y+-FnBvftM4BSjL@RiOotUB!n*dH}1D~~5l^F}V0t9h=KF8lzV@~lOUzm&G- zkl-6vtg1`1sn;gYN)C;;EPD62c-ijRcx#7(wA*R>nKdg;s~LMSHsj++mD?a+aNA>s{)9_GYKsXSxSxU+oAyAKGH z;=#FJvceMAE|tS(OdEGK3N|S2b5y{psqUf#cSY(%J38J% ziDSY7z=~AQPjO-1#7#v{M2Xq_;&8Cb?YP_`LFB8r*(8#i76G|$Y+kYZp)Y3fhxiAC zN%{2U#%M-$i{qxS5KlWeB}npVUyQm*VuZq#Hr+^gAdq0*VJ@kPgtDN$4T!NnZV1q@!H44_rbE<=sE>o zOu9ezVJK)bhd5jat!p;L)8TqRCXIolZg%4;j8dgZTGCk}^qHmcAxef(FfvhI>f5;&fA#9>uvPYR6hDPjPxM3|eI zW@Pc{dD^hTuu}!{k~pjnHU`LUXDE4>-K{qo*W50Fj3a|wz0m?$t3#}25KHHulGb_m z3|X`;j`$@w(+URD@xqt&}CGtAq)j>JA{?^r^Z1@xTev31l4kV>m1J2%|{n-%9H^L|;`l5KnO18SANbB=M8? zr{js=8ThK=*^@-5=e614^pO&Xv2joBK?WZ4$ihYdm=Z3$XZ->=3NgoHHeX^$DK`C_`nedFbxL@ok1=*QWBtQe(lx)z~<+GTHIl- z+k(nOwO#a-DgNx>BNvriV@Fa_TriN2^@So5?$wTbqz#NsFK zUZI}Wlvh6xFx!4gFC|hAqnZ*0uUy-qoJyw7tOd{|aK{t; zprPM(*Ibb3$I6Fz)j4z36x>IQvlsJ-sz4svqva!Kr}C5KTJJpjeSJ3`mIt-pHFMLM zZZStWH07$^Ln66s)Hy>UK6Nd1>2?@3EYsZ`9nS%zPz^S}{&dN&RkgNU4gFCWC zIvSToqL)EYaTjdGmi^PMlr2t#EtJWFQ zdi~`osXbt+SpP*b$q9X+P5c~&%Ug$6Kyr|xD4Z_6ZiRl00w*dx-sq_dGp}Hb|Ni!K zu7;6aaHAa|1CdZO9u}Exc^UFIwohTSR`526j8zO_@^|BaTA0Y(c(nP+FNJYmxf1=n|=Ba&so0 zyBe=DlSe-IR8d+58TqbI!uKzTEqNEBj!TbW3o;K&9EdBt$7`oiQ77+|{K1!%8riqM z*zoVG7QXm;>%3ooAN-g2 zk1!|d)hzghA`F;Rp7d%(;&T1dG?d>EFczU=FYUNie3v~?U%>S%O?1PpZi^wPPLW8j zE*Co1U%9hKaq_8k5!=Ku^^L%PTgoz~-4T<>RvC646Xr4TY?h({rhQ4d&05-^n9f!` zyyY|w4OryvF5>z87N{YlRwyz~QSWk3n;0%|)AqW}>Vb*mNWN&s9dFaac>(6Ngt-a9+I_sL1S7hp(&qw$2rIqdJ0LJG`RSZ8%?w`KJovwtxyyVIIOz z>(nTw6;Nuq=MhSF5)P3aP`Q9At}|vpFjOBH#EZx;HIH#|s3(*yXUNVVVcKe43>5m4 zNpIYtftG|1NvksJSEU1S2&eLVL?L~*#DVVF_wOsET}Q1bIlLraE$YOTN)8TOhf50*s*zgF+{jvwI-*X{anwa-AS-Pis8$hi4G zy!~Y7L5YZdcDX=Xtuj9;69HTungqr$fXEQ7+>R>ISs0ifsdnigPsS<3VC$Nu<758k z4|%k6VDYsvN<2b{Fb)xfJWGYyNiy6jm1m_R>q1Q8aYsb!aA!*6Rvx#Mi0H>B<7iD2 z5D^P(I6=#4?mOs;PLY?UU8;tJ$0KK#$JRxXoC}UpZVd)K)Ubr4NW$jUuP+7S^>%Em z)pETs0E;=sQpT}Ll1h%TWcWDKPVyRpch{|1!`y7Q(Kff`(fm#|*nD zi0{x%GE1>;=MDkUUhyGWni8SBj$6_rx`;Wkc4(L zFMXDB;=MYD9?r!+Iw_D%#Eb&Qm@Mq`vtDaVZZlAyZ3W2JJmH!_Kyqg|0qIY#%O6GW8zJQ@VS zvyso^I0>Om0}2MTr$=mum$*fz?P_hI&V*4w5QqcXouZT%cvm8&v;XVea5@h1*HFgu zK`M!cmvGyo<0f{}#%~vbr)2s-txAd;Lq(aI8i74RjyH1y226~5$3b{5O7fsWw)!d& za$Hv%Bnq&w?gkN~ge0jb@;;lp(MwodJgOyQ^ku)amd`D#? zd~Y2c*~qiC<~mQ7&jo$by%k&6)O9@7?>~Kb<~EKAw10m(vtib#|MhNcnIPZBY3k5O z1Hl`y5n+sHCi#NY9N0C9=1!I^%SBSm8Vxs)0WnHb&MGeO?ZqB$OnFO{7}k_K-7t7Q zE;AEFZ(I_>b1?sT5l zsInXcTa>AkJ4KF>*eZS546Cb`?)zz@Nnx4ZM9*@Xq3(CT5}&RCjHM)Kl9fRJXV3c9 zuWbVr+79n!+yRqp`yxtz)qoTj=0Vs8mrG5Z78W)^E~UI7tCAk9ZuGj@AeuYS(uh7F zrWO<;Nr9yr#bO*;_SgNR3qHscYnUc9&U45>LDQ@9ObF+wW)EKlB4l%Q<^H3Eg(WRu zBqHHRL|<9HKeM)BIQ5XuY&-M*QwcAv!y7NYR2})(Y-Of25A8ObANt^o-jw5RXxi4h zXYON|xVCJ=v#qQp>$|Zwr}}9yAP^VpXTpb~~4;q#n)YcNi2` ztQiOL_&_5ANhTtgFv2sjCoSDcUTIxsbLjT0ttLuZs8FJmE<4o84Iv+5Y*G2mY!U*N zp*WHq7R4}3c&7$J8s)_7x`A9F9ODFto%l>VKiU2UXAfTuO49g-ktAuF<;)m99$ZL# zTJFgP!qQi%4-NQ^?t&t(pO# zG=8KM6c|({2#VO=HdM|VBY>Ek2Z5V>$B&dkYKO@gTO#VpTRX*L?s2MNj0GY>euR4< zl2B}h(uYZ>NO(Ur~ zlOoGv9|e)_v@lGq9v&s*I^SgCV=wZEu89Yl9z%Nj8(@(o`u!%A84D*mprxOcS3VsL zU%xzDUls+%#1rPgEb$;Ja#dH0bA2Kd0$GN8O(I%-F}Ec)5Wa{UC_09KV&uMTZ@p~x zs}-MWCw9T(XT_u8;=};+rifXPM7E2A@pxLsAz>6pX_@CqfWp}DMv!p3Pj1y!>v$|s zi%&5uFqY!}Aeis&5uY}+t>YFDBwBKBTO@NXwr{aEL@@@KOBeg?b}D5Yoc+@J zKs)xC&tQs#Sj;O|4+Eytz1T=_qtsiv3~CgUQ<_5lw)k+0`vEG>!&T{|DQ>6q>$I5U zOo!yUqlq`_qYR`QPHcPfIB0MroYYqyv<2#d9~lD+vrA#`mlxCr%5g7$xv_R3?6l7u zZduqiCq73JoBB*lIVvl4O}P}^NZZ)DkaJHfKpq3*{#HrWpG`beN#G4chsXhDcxdm= zaZ$Z~>!m^k^vqPo1ZtTkFXRNIYa$bsvxfBkD4 z$2tC_FkTQmo!>Es70;v{TT_iX*c{g7!a<5DC1$Zk%*(>~mp$En^zz|7nH@B>uV5qC z6vUqd-1)Ah(q`sG5i040X@p#msRucFpVeexwLuV{mJ}0XthU}3&{4GzHqPf_jX=oJ z{{$v$8xFu6Fn2hCd_ZP}AJ90?QU-XykSdRQ0Q+Ynr1!a%QC@uwLi2^ahD+*6|83=_ z<3obSJuN%|K3}2_{*f$CtJ=46$%`a!t2()M#L21P;&Nollg%92YUWH$(?`YCN^>Af zEKXtqAh%G(1hfXdi2et;711_pu9BHvS!*@QJNhS4$I~Y9u|I@HQGE5Jg>#6)s2avc z$|(AeGDlO=_1g#9mK+GvtV&8bNX_6>T;TMVz!~o1<~p(3SovZQmk#^H#T)wJ&%63T zW|bjwG9xa|8yVVTYa!?@TxX5r&3Qfi#<6XY!m*};tCS})f4(r;=ir29 z6|a&h80X|Gn{+$|11aBtf==LqQnDG?wu(n2f|yd1yllMZ|`BbY}V z3C2wDF5~gdP2y{PXE-FMP@{T6ZnZ=}`QU~C>q=WYPIdQVNxr16vT_P@>hA3wRF(i< zO-|Jf0s7r1wE8~Ous3emvDw;c6FaHxELB7l(jlc;tkJ6$E_)UkteBQLn~T*rU+t&9 zoV-sr3Kb$?M@3Sjoj^>`OrJ-pM<5oyOvBb$U{N}%iXdfk*7yf^)F3YRgIP)z4k!lT zv5BYoMT|Jax?xhR1t72(wtJt>Ic#p$^%vug?xEjiG?~i+ zh`a-mnji};Z6@Dh6RG*_(S?Sasz;b6T1*02N^^8qDfI&F$<4p9ap1UAApn*Gss_)D zqmtW9rW!?P95V!CK}ht#L7OiKWopJ|Yqa`iyUV#G8dfhfAJ_~C(^@m|EKC86{)pWc zDB@h6BWq`V9LHa!*}ESXiJPQqzPpvD6sLMM-`~1#htRJNyBeoqFAYqo>7kUM9?Sys z&Y<*NeSGnov-MA8cNn_;S7L{RhG|H%7>9z_GB`Q4)U-_EW$3tGJpSI+MwW*Sunfl7 zE~h;bS(V$enA_4Z_8F$veUI;$h!haWi8e_vIDOj&SLkRS%qT61er%GR`DkcI%)=R! zS$K1Ju*&MGE|2T)tnP0UHR{~#TRjD=2*->aFz)XYpZ#Kg--1{f z@QHM`1F3prKR#D}k}YYf7xaoK^3hvAIOrRm25a>T^HNoBla#5`SH=lIYw@3qvp<(( zj8rtDN1>+5|NbWy{Ab`FHp?%x|1sb<|Nb?@unpes78AUGk1@`Fo3YS;ow35d&zPBz zeL+Hto)G6z|H|J3|J2)mF|2>`HO~H%IxW55Le5?F|BFSexa$ApQ(Lv;IIN+_+`0#z zlqULLjn%s(Ew!AIP+)u6Nsm}D9PP2|G_o)rj#jJna=l%P(qXlnk*m$te%*bKSSdQ* zm+Q|Pld~Cc$39|t0rv8LU88kI(zflIZs@k`=yRmNt8KrZAMWx;ENcPx|N2D@xRM2( zL#A@c{?J3NN-{@*1%?5Z05Tv3U;;Ck8M^%i&C^CEG|stIdv-Q!I%LhD1qTS`AWiB6^sh=0)n46YWU0ufc+ z{nNj*{@o${3!JRcu~EQ5M8QWw+7nQsxbqItx3oYVLE*`D3X8V1EF_^Ozbgqlz%I#* zw}MR&-ExAwSzQ=Vv5@XZ7MUBS3#zGUOnv{X@x}T|$R}&J!Ap|gaB+sT7E83Cac7FN z&EmX&uo*cETgH1(l1N!X)X+$+5OiTyl*Z%10J6Ol^}12&Bqnao>d~^J z?T6`I67OKrME!}HA{H?6Z&k<$7Pz17Tu=Wftsl-lXRb#VUKKBmiSI^C(8gl@Cug)C zgFECjQvyQ;uSzQqaD8v3{w46wA)8E zEj?pw@2&B5504a@hoD>_wFR~rDRp_XNrSnRwqI!deq$P`YKPi(L0RqgGkzKWJhWv& z@@!kMntiz*aGh&arXT@#RnXmYKywcef_fXd}%jwqaCmX9=x^km?D*q1L0Ks9! z*h8-6TXE0wL|d@tK#=e7NSHvjAy2@BR9=V$P7)gyANF0LFZKI~5d|Qt=0yBMsG*AH zIy=(#kT&JJ*pH-2aX_kb(j6MnOn0>BL+IM=ILQ-a#WN)?ZZ%u5yed&NnshnRRC@y^ z?(f)Kb4K4Y-s2?jXqrIK!pF`;o)rwEyds!$PU4yOH>3yP%(p#ymokLOhJNjH1%;6F zi5tVf&(RG8Bi)`GcyY}e?kK;NWljg>B^pt|=_Z=OAjrGW1TM#Jg%P0sD&YC2@W< z_{=b?(5(VB?y9f5siiaGh&yC?r-Sqd+f(xUIB$C-lzlOC!s7$(w!8+#+qWAw9>R+_ zY>hC(rBams7HGsbucU(4|hgGHkFxI!4zkM_LFnGU8{KfRK1^8+)pfuJ!1=5Gghq1@SU~2#-g_T|MV(gN%PDN!H z*$eoXERCAVlrs;rTIRLoPWN1LptfbDCtozjdk$0HmYbZXK^K>~fD@OTVoB(DA_|ae zte}dIUNM#*eqhY<6h&fjfT91>IG-@p79hB88qQy_2zongWo+;BcbbuAY_-Sf%N;zZCh_<)bN^ zisA?o3-wzsQsh=k9sZN%Ea^TPR25)wvz_*p!wHJ4&Bq}L>M3#|EFw%8ZezWOCH{&5 zI+$fLmf8u&OSK}!Kf46r#7z(=Z-p9eZK<5vPOb?8t~Q*W^26|9e(0hy^U7x*6WSbt zZZa9O&(f6d_P~2yBRTYk4W-`&WY5SU51IU zo~Q?$+j&rPBMNm;S^+VISA&3R6Y@gm7yJs-B5ANhY$Q!wlqiVx(cN!0@{oTL8EGoY z&bWsvrBOxcf-^LAR^9@tNb%dwcrtetcorlXfeixpGEuJW=5IV;7#M>X# zS(3H_q2wM&mS|%hp%6d84s>1<2DI<#G}8*9&yX!0FweRl0EfD6IhVi+6~r|LD;TZi zX7ur2w?=fB7SB2Y)eOr6&+l|0T&&3`iZ8zem64rJmA3g~$F0%-i-q1rGW!338WH>l zVj=0QGX%ob$0pZM;Tou~QZHkopG# zn_=9As4|bt+0kk;iJ0*>B`L4Yd7pWwxSX)a+jka+qMP6~yuh#^79F@8_~sxrCDNdS zkz@nR%U$ijI_TUfAZ7^Bd37Ku_z^m^RP1l<4&>-hC2%1c{0mspLBxwQ0BPHle z0Xy>|6RWgSI4kX``ZME)qb8j?*~Czr%O(od_)~bLw)Fof4^3ChYU+u;N6=})fQA9R zr3`cAOM3J1x~g}7EK1gs$N5!x$-{8-LeR}Lb_A)1{Fv^gPw6HEDv{{jbD}mxrpjPD_Dh2b+n1hytfoM zJCouxt#|btcpiSp8^+Q8k2C;5X^{L4th$hiOu4l zrx+Xv)2#)@SCUl|G;IP|^NS&tWg1ya;XBIOC~7TZ5X;1*G^I+mhg-Zum=rovG6nVi zfVR`Jznsx?gDN^tU~tR7vszWkb7fx;-LDDzl8U2%Dzhd_akV5TnB?T9o%F-u{m|?- zNKpT++0dqweo@t5k7b_&<%Lq0i#O@BHpiEu!hC$#UPfow^5Uf3U@q>n+}`_Q9$h9QsbU9MMr^n%&C zw-@apT6VM}sn&hRt;wUjbhA+-r?f;k7yxtH)9*YP*bcvyyHsy_IP*=Ksf#Xa-g%{= z-fL0a3mTh0fzPykhAY4l5O>@gr*7iZ=O53jC3r06!imnQ5`VuU6e{;cq%UqjqgW4cNL#EY7!#V*Nwem^HyxEVGOV%y(_I*s&dY zZXV8E4qahy*S^VM+4E4ji%Y$Q02+4}lH)I6Rs+4qLi{h-r!k(A?#(ond0VT%_ALr3 z@HBo{e^~pGc^&h09u{!ZR3Bw1cq8n`4uVas@0=fH_D37I)8*tG`+7z)$$6-g->%Xr zcSSbn(B+2t&+7u+30#Wa8%EyxP{X)A*2-$Y^JD%uWLHy|jH5ydcTtv@jTy2wls6#X zJu5JR_~AINd|76QfE0%;DDvpG{H0+{E zIbcr>&6l5uR_?Xo!9EyCrtOdfgM0xTbr8_xA7elcr%%P85Nwq)FQW=F0S!vjkewJQ z?neWit8Oy&)U58xO?I_FDEvz+C923kp8=w%;faCl;jbQ{g`Qclvia+85uyuKY^QGR z8Yz%1p-ME>VpF8w=H&31Q>4}?Lu8O#U6(ReybD+Ol+!4cQ0q8vWWTUM-g*)-{-T_M zzdJ`FM!VyJ6)RzelKjkCqDh1p>xABKh03^^TbTw8dkJLKugU`ccATN|3(2izM)5(? zku}8PHv-2r28gcg1QP9+!c7yJYa|V8(ezScElqYE>2fU$5)h$0W)vWSn{U=-Hv@&$sf}wNV2Z+h81O+UT^W>VCLq|SVoP@V0%DTW14sVir^@bKwVxa8(6Hm5@BQDXPCt0-sG^%g^& zC$75ygAUhXaw;dCV_Z7CAr@=Ecl+kWhL>bt(Dp3Piub@ zNbuaIwA>QP_Ro3y@u^I7Tmj6@npJ!7&KSI97x=)0%IZujs-a|MNTJ{-$o(mqBz*z| zS-_8z5KXocQAWMAxuIb<7ul>M;|gB?Vm9VG&ZO(|&cPZ}o3rRTcm_E6{LOlrKoeD} zBG6W%NW$Lho9jJKMs~-4eP<5EJ0uDvxMQON`A1~(l~u9EHX~f=OxY%BAZ>~jO=%no zlnpC(GpJm?+Kk;#|Q~^7ptvt9|W7#X{82Z z)iyq7l$-~@*q3+F6c>d z1CFMBy|ot86iiA6e@xYyJ-*M#sjNG2y9#c6_;wpjq%r#%!ZeamqV3_*uMmw!Nk#7` zjWeN_V7Ko7T_;1W2izjuTK|rN(nwTEUT&+3O%K)H)XPd@Kg$@+=a|)YshE9Y@_fnj z6XDOr)Mq4r)Je2emJM^eeNVyWXR5>_5la)NNPksEfoUQWdN2AhaRD={lUW&XSBWof% zfLiwT6-WrX_fs6J+ND6Mv4)wr;BD5Q`B@9qgNQAEwwycpK0IB{$;dp0vv1e2w_NjQ zPZl`U!S#S$@gffwsJ8r3AtutBG=WmR83w;^S?b&WlCO87A5k~FSN0xYT9cv@eC7v@ zz_$c4Q*d2&_OhZYc;Io4ZJ2SbZ?(Ri_CkXm3cQ z*1M8lN5KyBwu}p`r7-Dcr)4aVVr3?)w|1fKexJ7vo`CU^Vs?W{K4&~k`~U@M z_0o^{p!tYFm;h^{B;I&ijC4t|@)|8M3ockGDWw}tJr49ta#O7IioG&C3U(U}p5b2! z($<2>i=_y9oVAt$n<%EJePJvv^fTW`wHe$oP0bL?8wc^i`{QjjAd=mgFXS`$M0EkA zo(%$ni`AecRjyvP3?L&<{O=vSqVt@&NAuiRA-R-tGE@wGKDLjR!&bTpzfE;mwK`Eb*ox6pbXpvrC``C0dM@6VV zZ7v^6LDvP#sILSUUTxQ;a7J_?ao$m;`E0ezpvX-TsY@rP`%>dH@f){INR{$F=-_Av z()w}8=8RmlSQweoC$N-PxpIrOk%H!YPwZr9qxC81DvNYgTo(0m;b}`IrNMv|yNJYY z2{#z}o#9F8WIfzoa=Ik}yA7{&CuX8m>X}F8A|0LijBxOhA<_b2PiNFffivqE6VW{8 zvd#<`wFDU2b2bzbm{k>JIk-f+x=O;B%pQx65Ju2Nu4S#i2~^jCnjD6i_uZws8dO0Y zSjd#l4*^vcI6EXOliM0UnZt^rbG!a`fX}F5*+^b5&i7F7Mt4jDU-CROf>l*YojT4D zGKcTJ4aRF+biNFdop$o7FnH+9=ieL>=mth(F4O=4;7}59pf3GUPl60#b{V{>tTxS& zu!2bCxUrO=0u8PSlDBoty!X<7fy-WIvWHAv0+%Q^@OS8?UN&~bB^V{H z?elAt+I4PijRTQ$PQcR7l|UJ#NMQ4=SpQz`A8Snwj84}Sn_?PkoJa$8kz2!3xnM0n zrbJG3zFbQh9O~co_;E*L?KpyMqGBny_1eZdP*O0;I@n;VTmzj}{-cPEcT1IRtGy&2 zrhw7V0kNr6W=y~%W;R%xn&)-wWe^)}zvzdBqvZ`Q9UDuwCyb3+((F3e{c-Qr7HE9w zM3^857{5d)r!3`COSYz#uM=`N={8@yc1=oyDgE>?>HbGmtj(2Sp_#;ogI`mhMwKjN z?h<*kCtSZKx3y8wx70{x@7V`SX2L;8V`i06AH`WCwCbGlIP(86#*dSEpdgOr2U5gg zXo#);Y`HpqOMKj)kQT5M$&xQKHMxM6HhUBc>%2#TmTBOEtN#tCoA)J5i(PP$qPoGR z&ZHf=NbdaisZ?1m$gS; z`w$^w7$?~YrI~E7kdGF_U_+Hh(^&ZfOT0yFkF|i=5G~BM>I{Sc>THg-I68!JnF3H& zUrpluGn7E+#e;~S>(C#dz2N;dSip%DAAu^ner~lU!0QLOvw3>0$#6>NtU$(JG#|v(29KQT zEgF@J+WA`)WogUK3PC4w~zS!5nCFs~LPVaJ2pNaJ`Oxff*f74gi`_L1x`|K06 z92g;`3v4ScumNrVL9w{;M)*X_XV9N?XESy^be$ z-mGV*_Td_V*0vQGP*F4}i<}2i-Q}g@7veggYgh$o< z;RnjF0KKBFZ5M_5KE zq4>)ACkmN4!1^o%mTc-&s#Rn2g&FY@d?n}WSa+PYX+s3OW&3+{Xej6-*z+O-GhL9K z(N_V@e{lo<^6ip-Z4Dy)qj`^PF<|MpCR@K#g|#Nd#M}y5@@F+;RH%hM-n?x^SJCm* zedf_!BpWA56|I$s5|#epWf;y~2tz=)>F>f6(3dz^Z;2**gKPA7sVkUll(Pgw15l0k ziRq3Uhv}tHE?+qibHuDgZgGPxLd-R{eu=Bh2tr@y8|%TvY{v><6rB#Z_~M7g!`qL) z(Oy1Ui9`gwJH|N0?Z^V!F(3FJyb6oYy{s>-s53o#)U9gZhM@F4kNwynw}Y<^<#{|+ zm2zy0NqS2bjAcJVfU9oPyXK0XzQ_5guOEb1?Bf~je>A!7hr>_HM%VpdQpJf(qXSH} zF%M8>F*CRX9=}^HmI;cOCFCUiphHm6CH528zCNd691DEE{5>z-g)!91qO7dNR|d*- zI~M8mmxkz#nqqAKo_f&(EVq#4>NRqgZ$E01PG5}jioPFSPD9V*yST-&RkB1T}89%+7SSLPHm`oLa$xBz{r^aE1 zobDiHIdl5G89;_rWv@@KQ>p~_V!*b!-hh<6;;tgfJYOp`?^hqm-85)h&65tBqp-an z%$0ai?T)L;3y1SUNWVJR=g@qa1+;Z0A2{aW=O48q+F2em9;HNl>51=}+jMtgoX0%O z#MkW)SX2H$MlPRyNiZF+HhnoR%#N%-^T%*Lo2+R{jUA_hlmJblrVjTw3>1g z@Ukm8bMZH&5>`>*?IN+h(=N?kre~5*1D0}2WL1LlccBI!$8Bw5h>MyT(=RV!@0k6j z_v4e>w!w>S!+sqCMj`WbXSj=rd9OPW%r`<6AOEI0+y=TpQ*LP+{Ki-U&F&Evxn`kQ z2}5{Vt=Rh)o}e~qLDBJqTfVoWpt>ENlXs-7A%^ad!jVp^g4dpas7tq?<*|VJ*ViCt z;Q(r$&yl%ifKM95PNqVuw-_3IR^dFN3Dyd{opxppi=^t63SABUw`N44qSh>&3Dl+<5 zeM_dxaI#-v+fnuU;9K^~7V zC%ec%r!x!@=j8oRcWrQ&5tW~}5TuHWJr@HXzg8WZQn% z^z>dUjp_?UgKkt>AuDIpdlV5SSb16R<>2+*Tt3FFU(Ub%I76lv`(?1%#`sdQseWuD z2WcJazOUdu3!LRYG4}rS`*bBlUp|aWVPi3~eE*S^q35>`7JNabuBE;Fabm4mpWR5v z=*R9NabcfzQ(H8fNwH`YoAhE{Ph1=b_5~X&Vq8t+(Pl&2-_vlVcS&q1rvd{4p_j>T zVja;M-MMaZ9UC$Nk$@Xq>TlGE0)eOAaH?(B}nVm)ns=r#-UkGor zu7Os8>XLj&lq%Az`Io*5whR<%39&9UD7*msg6`dKR6;Gxy=5BX6^!A2D)j3EC|#Y@ z@iwW&GeGRr>q|svRH5?>0_h47d30i*;8Q5h%a_$Hl8TO@$@U(GFtcJ)^= zG(J<|kI+bN>n^Uyqe%J*?+)vKkDw90hxwq)jxGNlZh=;O${HkD=0S;VbL<5+?HLio z_(R|kNA{V=%Uy*SX+y2ciw$SgQxZ>c#dLJGS=i91UGcoNrf37!rs3-zUzM4VJar1} z$20EM;hY1?SlCL(y$C{hN(PXT3Y&LgT+tP9Sl^cT!iHC%j&i}HgJE6keH^??_~Nb# z@n8R*Q(qC{@-JPWcebV5=EJ7*B$0VbEzQE=Ok{uPozRS(?+Y)0*k7k*FR+)n z*@nn}S;d&NLVrdP?Y#ME^0ivVq;nW7Z?a4gcP0*8&Y;5MS^XA?$MBISQIDj0CYmZO zIMZ`1=Vvl3%D@;b7Q^Qk6|W1W_%h1EWKy%R0tw;s;GK4;5G&M4rxTpiR^K__z=S}A z&I>vQ?Zo~jxp)p_s~OL_EB>LmB{?wLKzaqX%{16r-PW?wfrZJ?-4Dh+_arPwc^AZO zsh=8h$dF)cKtkVyjTMO4GU1erx?=PKGPwFt6dRmy3ZMe>g(Vzjy~F;YadhQn{@P>` zQzM^5TNE@as`zo5_$2E0(n249tr#tSB*1uPN|zK%c;m-A+7GNq1NPC1<%h2@jTbH6 z2=h!>d!H@=CnPXSVOTPT#gcEk`TLXZHGBf$(XD~s1&gY$hKu*0Je~OR$d(23r9-;= zV1)y^G5sUW7%L~hH+}KzE!qABo+Qq~ZVv_bU)6eIi(^^ivl)Zv0ioVfDYaOCY8XDB zv?Ap_@B&9JUWgz^;_83&38sL_jx?R*we$@un9N1j5c9fttv?@k_;G3PQgfw2WLKrc zFk=f)1aYOwa;h{xkZJ5_*ioNi3~b9Z?MK(R(!&_!VlPBjylpcBCd(1_p+B20fK-%B ze~L~GLlFy&u^yy0>|bdb{-2zxV=WB?N$a2|U}*zI9H#~vT;FLfHxx$cD&~olcqvS3 z#mTS?5LvruDX85jUfi)pqahE)g!79+ifeS*-xalA74T0~q81ZlwgGE=03p-1a;>hn zHLhM;8@jS|p>xEDa-nudR&s4OS!3Zr?%lR(3eanFaSeSAW)J>+@)-nX$4Y-KJ+SVW zg>#dz<*NC$SDI_5I-He*8 z442}~b(c${%;=>x@SX1wVfbqa~K4!_7%n7LyR zD%Y&nlyTbFW$Y6f%uRp-kj<&rt*fw|2>aC4W2GAh{cr9a50OZzBw|Tmae$HpxPCWhl?hNMCvUl_L^(|sB6)+X) zf5s!BEDr1Omw$z^My0){ABt)&%C6rR|GM<@e*zPMky3@Dl8Lj%ax#N6qjlyvWMFLh z4ErOwsLTO__lvH`Z$1xmIX8wR%a24^k!&x)oLlHj2!t>dIS&CNNx$Y=a2L=(fjkI) zxi4NKh8N$P@nkcmRXXfRMaB3ACnX=&GV&&y#rs?TwYwYc=ueN!SBFTWr zMA2yCW{rlRqWAx|u2JlQDuot6(<)KD$jjZ`(dBgq2^2hlLSZ&YVfx4gquj9$W;OCe4UTSjOB1h#I_Bt&-jQ9U@#} zjH1lq1S3sjg`*8>L->b_`PMh9F5dC7zgB&c1VHe9J3sQH9jca<=N!XR$BN*BV=}Kr z`KZ&~)R^4M&O6*wmhZm?evO7;j@ybabJ^zl8!U0`Uy1t59`^ox|GJMi+syDu_9O#> z$%XG-pq39ipPhK~HRItg2vw=l^Kflht;?}Tj^nPGoFX8Vu`snRV;v8LN+L`Z>)Hg? zCx#h~ttQ`IZ0C_jx%Gq|*Ejjizjp2T>XZ}9IA8E4zyGvp2!ZYE67tsm{qlNHjV$d<5lid2FS zV+jvOhm$ml(fqgQNWsW#HCj~v^Uh)Q|q7s({-6%NGo-&et9oetRpnV(c%&wOEPsy53%fP4Mt>cNiwYDl_-w z(!Z+Aa?tUJSUf(dS^D>L^nHtsTo#@D^v|ATX{G)nKc8dn_1Eux9nitqqGJf&xA13o z(iOwFyzp1)KAz+{l$jNMtjW9tOC&G16++m@yyro-&@~F+*HD(RQyYP^GMVp#$^UJ? z1P>a=fTD;u#$1s~mDQ!8Z;8}NbeYty@Uk?H*)(O6Bq=gDEt2e%gx5OVAG82JLa=Q{M9W4$(#%o21NaThexJc4m)jelyM!sSEaPBure&Sf~E6+ zMx}8n0GBWoad!G%e|Ajimey|6>l-o1?I*1F3jYM}+bk!w=bV)Hl=i2`_O36E%inOE zK2(#T5SIVa?onvQxfIGYb?J?Z0U*4ym6=?z_HDj+{kU40P-Ej`>&H2RXb{&RVDJsOT*OVa_-m>3ym&PK3S$J^B&7G)j zuiy1G3*VRO51-8DF(1=Ar?01lr%JLY(nZKM3j=vJNZ4fk)ReQin2&EiYsCmJ2L=B= zL4R*cqY7q#y9k6H(hITB+0~9!?0A2Fyz*$bZ+|*A<*yp=L?s89rbKs{Y;G%q3|r=M zo~%o~Zy&8r(I&GO)M)UGDazG<&|szC-}6WSPPx66&hF*wnHo7>v=$L-8C*-Rg!06k2uGlf|Wc_KLxTls+EuV7FkFs!(NIrgPS(L{@^zTfs904g0#9Y6e zdM{1|arsu>*(+bd9|-rC{}$J~ck_Fw^3=Qp=;7~Q{OXA_iD)lXWqdOu)XQ4yPqU%e znXIZ?`WpsHjp#MS%Kz?)9BG3^Bf^aO{@R-0)j3prvBW1I{*d6bi2NtF{I*DqLX%3p z1)eCFDs|>V)Hah5>64>^2n|A#NZIrQ1Xzgbs+<#x4CsG1Ct^l|H{p40Pp~$9ITLEHkQMtXU`t7Md*uAmc#ca2C2FT_O)`qd;H?tpC$#8F{(x zjyRpMm=w1s;}l0U!gS0+V@R4J5j6nuy&&3BXV0buc?B~2QL`S-XwjbE@lEeHM+^WN z38l`6HE|B+_i{`UFOiMiT197#7*MD0#hj)17U|`8t0X0sKfH48HzsrZdKsT2{!2rl zVU`Y=fkk+r{{`tVL?r+K literal 0 HcmV?d00001 diff --git a/public/doxa-maps/assets/legacy/upg-neighbor/index.html b/public/doxa-maps/assets/legacy/upg-neighbor/index.html new file mode 100644 index 000000000..d909579ce --- /dev/null +++ b/public/doxa-maps/assets/legacy/upg-neighbor/index.html @@ -0,0 +1,75 @@ + + + + + + legacy map host + + + +

+ + + diff --git a/public/doxa-maps/assets/legacy/upg-neighbor/maplibre-gl.css b/public/doxa-maps/assets/legacy/upg-neighbor/maplibre-gl.css new file mode 100644 index 000000000..6b4bfda74 --- /dev/null +++ b/public/doxa-maps/assets/legacy/upg-neighbor/maplibre-gl.css @@ -0,0 +1 @@ +.maplibregl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgb(0 0 0/0)}.maplibregl-canvas{left:0;position:absolute;top:0}.maplibregl-map:fullscreen{height:100%;width:100%}.maplibregl-ctrl-group button.maplibregl-ctrl-compass{touch-action:none}.maplibregl-canvas-container.maplibregl-interactive,.maplibregl-ctrl-group button.maplibregl-ctrl-compass{cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none}.maplibregl-canvas-container.maplibregl-interactive.maplibregl-track-pointer{cursor:pointer}.maplibregl-canvas-container.maplibregl-interactive:active,.maplibregl-ctrl-group button.maplibregl-ctrl-compass:active{cursor:grabbing}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-canvas-container.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:pinch-zoom}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:none}.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures,.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-ctrl-bottom-left,.maplibregl-ctrl-bottom-right,.maplibregl-ctrl-top-left,.maplibregl-ctrl-top-right{pointer-events:none;position:absolute;z-index:2}.maplibregl-ctrl-top-left{left:0;top:0}.maplibregl-ctrl-top-right{right:0;top:0}.maplibregl-ctrl-bottom-left{bottom:0;left:0}.maplibregl-ctrl-bottom-right{bottom:0;right:0}.maplibregl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.maplibregl-ctrl-top-left .maplibregl-ctrl{float:left;margin:10px 0 0 10px}.maplibregl-ctrl-top-right .maplibregl-ctrl{float:right;margin:10px 10px 0 0}.maplibregl-ctrl-bottom-left .maplibregl-ctrl{float:left;margin:0 0 10px 10px}.maplibregl-ctrl-bottom-right .maplibregl-ctrl{float:right;margin:0 10px 10px 0}.maplibregl-ctrl-group{background:#fff;border-radius:4px}.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px rgba(0,0,0,.1)}@media (forced-colors:active){.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.maplibregl-ctrl-group button{background-color:transparent;border:0;box-sizing:border-box;cursor:pointer;display:block;height:29px;outline:none;padding:0;width:29px}.maplibregl-ctrl-group button+button{border-top:1px solid #ddd}.maplibregl-ctrl button .maplibregl-ctrl-icon{background-position:50%;background-repeat:no-repeat;display:block;height:100%;width:100%}@media (forced-colors:active){.maplibregl-ctrl-icon{background-color:transparent}.maplibregl-ctrl-group button+button{border-top:1px solid ButtonText}}.maplibregl-ctrl button::-moz-focus-inner{border:0;padding:0}.maplibregl-ctrl-attrib-button:focus,.maplibregl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl button:disabled{cursor:not-allowed}.maplibregl-ctrl button:disabled .maplibregl-ctrl-icon{opacity:.25}@media (hover:hover){.maplibregl-ctrl button:not(:disabled):hover{background-color:rgba(0,0,0,.05)}}.maplibregl-ctrl button:not(:disabled):active{background-color:rgba(0,0,0,.05)}.maplibregl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.maplibregl-ctrl-group button:focus:first-child{border-radius:4px 4px 0 0}.maplibregl-ctrl-group button:focus:last-child{border-radius:0 0 4px 4px}.maplibregl-ctrl-group button:focus:only-child{border-radius:inherit}.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-globe .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='none' stroke='%23333' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='8.5'/%3E%3Cpath d='M17.5 11c0 4.819-3.02 8.5-6.5 8.5S4.5 15.819 4.5 11 7.52 2.5 11 2.5s6.5 3.681 6.5 8.5Z'/%3E%3Cpath d='M13.5 11c0 2.447-.331 4.64-.853 6.206-.262.785-.562 1.384-.872 1.777-.314.399-.58.517-.775.517s-.461-.118-.775-.517c-.31-.393-.61-.992-.872-1.777C8.831 15.64 8.5 13.446 8.5 11s.331-4.64.853-6.206c.262-.785.562-1.384.872-1.777.314-.399.58-.517.775-.517s.461.118.775.517c.31.393.61.992.872 1.777.522 1.565.853 3.76.853 6.206Z'/%3E%3Cpath d='M11 7.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138q.07-.058.224-.138c.299-.151.763-.302 1.379-.434C7.378 5.666 9.091 5.5 11 5.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138q-.07.058-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428ZM4.486 6.436ZM11 16.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138 1.3 1.3 0 0 1 .224-.138c.299-.151.763-.302 1.379-.434C7.378 14.666 9.091 14.5 11 14.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138a1.3 1.3 0 0 1-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428Zm-6.514-1.064ZM11 12.5c-2.46 0-4.672-.222-6.255-.574-.796-.177-1.406-.38-1.805-.59a1.5 1.5 0 0 1-.39-.272.3.3 0 0 1-.047-.064.3.3 0 0 1 .048-.064c.066-.073.189-.167.389-.272.399-.21 1.009-.413 1.805-.59C6.328 9.722 8.54 9.5 11 9.5s4.672.222 6.256.574c.795.177 1.405.38 1.804.59.2.105.323.2.39.272a.3.3 0 0 1 .047.064.3.3 0 0 1-.048.064 1.4 1.4 0 0 1-.389.272c-.399.21-1.009.413-1.804.59-1.584.352-3.796.574-6.256.574Zm-8.501-1.51v.002zm0 .018v.002zm17.002.002v-.002zm0-.018v-.002z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-globe-enabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='none' stroke='%2333b5e5' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='8.5'/%3E%3Cpath d='M17.5 11c0 4.819-3.02 8.5-6.5 8.5S4.5 15.819 4.5 11 7.52 2.5 11 2.5s6.5 3.681 6.5 8.5Z'/%3E%3Cpath d='M13.5 11c0 2.447-.331 4.64-.853 6.206-.262.785-.562 1.384-.872 1.777-.314.399-.58.517-.775.517s-.461-.118-.775-.517c-.31-.393-.61-.992-.872-1.777C8.831 15.64 8.5 13.446 8.5 11s.331-4.64.853-6.206c.262-.785.562-1.384.872-1.777.314-.399.58-.517.775-.517s.461.118.775.517c.31.393.61.992.872 1.777.522 1.565.853 3.76.853 6.206Z'/%3E%3Cpath d='M11 7.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138q.07-.058.224-.138c.299-.151.763-.302 1.379-.434C7.378 5.666 9.091 5.5 11 5.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138q-.07.058-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428ZM4.486 6.436ZM11 16.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138 1.3 1.3 0 0 1 .224-.138c.299-.151.763-.302 1.379-.434C7.378 14.666 9.091 14.5 11 14.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138a1.3 1.3 0 0 1-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428Zm-6.514-1.064ZM11 12.5c-2.46 0-4.672-.222-6.255-.574-.796-.177-1.406-.38-1.805-.59a1.5 1.5 0 0 1-.39-.272.3.3 0 0 1-.047-.064.3.3 0 0 1 .048-.064c.066-.073.189-.167.389-.272.399-.21 1.009-.413 1.805-.59C6.328 9.722 8.54 9.5 11 9.5s4.672.222 6.256.574c.795.177 1.405.38 1.804.59.2.105.323.2.39.272a.3.3 0 0 1 .047.064.3.3 0 0 1-.048.064 1.4 1.4 0 0 1-.389.272c-.399.21-1.009.413-1.804.59-1.584.352-3.796.574-6.256.574Zm-8.501-1.51v.002zm0 .018v.002zm17.002.002v-.002zm0-.018v-.002z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-terrain .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='%23333' viewBox='0 0 22 22'%3E%3Cpath d='m1.754 13.406 4.453-4.851 3.09 3.09 3.281 3.277.969-.969-3.309-3.312 3.844-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-terrain-enabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='%2333b5e5' viewBox='0 0 22 22'%3E%3Cpath d='m1.754 13.406 4.453-4.851 3.09 3.09 3.281 3.277.969-.969-3.309-3.312 3.844-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23aaa' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e58978' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e54e33' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-waiting .maplibregl-ctrl-icon{animation:maplibregl-spin 2s linear infinite}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23999' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e58978' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e54e33' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23666' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}}@keyframes maplibregl-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}a.maplibregl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;cursor:pointer;display:block;height:23px;margin:0 0 -4px -4px;overflow:hidden;width:88px}a.maplibregl-ctrl-logo.maplibregl-compact{width:14px}@media (forced-colors:active){a.maplibregl-ctrl-logo{background-color:transparent;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){a.maplibregl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E")}}.maplibregl-ctrl.maplibregl-ctrl-attrib{background-color:hsla(0,0%,100%,.5);margin:0;padding:0 5px}@media screen{.maplibregl-ctrl-attrib.maplibregl-compact{background-color:#fff;border-radius:12px;box-sizing:content-box;color:#000;margin:10px;min-height:20px;padding:2px 24px 2px 0;position:relative}.maplibregl-ctrl-attrib.maplibregl-compact-show{padding:2px 28px 2px 8px;visibility:visible}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact-show,.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact-show{border-radius:12px;padding:2px 8px 2px 28px}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-inner{display:none}.maplibregl-ctrl-attrib-button{background-color:hsla(0,0%,100%,.5);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E");border:0;border-radius:12px;box-sizing:border-box;cursor:pointer;display:none;height:24px;outline:none;position:absolute;right:0;top:0;width:24px}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;list-style:none}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button::-webkit-details-marker{display:none}.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-top-left .maplibregl-ctrl-attrib-button{left:0}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-inner{display:block}.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-button{background-color:rgba(0,0,0,.05)}.maplibregl-ctrl-bottom-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;right:0}.maplibregl-ctrl-top-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{right:0;top:0}.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{left:0;top:0}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;left:0}}@media screen and (forced-colors:active){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='%23fff' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}@media screen and (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}.maplibregl-ctrl-attrib a{color:rgba(0,0,0,.75);text-decoration:none}.maplibregl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.maplibregl-attrib-empty{display:none}.maplibregl-ctrl-scale{background-color:hsla(0,0%,100%,.75);border:2px solid #333;border-top:#333;box-sizing:border-box;color:#333;font-size:10px;padding:0 5px;white-space:nowrap}.maplibregl-popup{display:flex;left:0;pointer-events:none;position:absolute;top:0;will-change:transform}.maplibregl-popup-anchor-top,.maplibregl-popup-anchor-top-left,.maplibregl-popup-anchor-top-right{flex-direction:column}.maplibregl-popup-anchor-bottom,.maplibregl-popup-anchor-bottom-left,.maplibregl-popup-anchor-bottom-right{flex-direction:column-reverse}.maplibregl-popup-anchor-left{flex-direction:row}.maplibregl-popup-anchor-right{flex-direction:row-reverse}.maplibregl-popup-tip{border:10px solid transparent;height:0;width:0;z-index:1}.maplibregl-popup-anchor-top .maplibregl-popup-tip{align-self:center;border-bottom-color:#fff;border-top:none}.maplibregl-popup-anchor-top-left .maplibregl-popup-tip{align-self:flex-start;border-bottom-color:#fff;border-left:none;border-top:none}.maplibregl-popup-anchor-top-right .maplibregl-popup-tip{align-self:flex-end;border-bottom-color:#fff;border-right:none;border-top:none}.maplibregl-popup-anchor-bottom .maplibregl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip{align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.maplibregl-popup-anchor-left .maplibregl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.maplibregl-popup-anchor-right .maplibregl-popup-tip{align-self:center;border-left-color:#fff;border-right:none}[dir=rtl] .maplibregl-popup-anchor-left{flex-direction:row-reverse}[dir=rtl] .maplibregl-popup-anchor-right{flex-direction:row}[dir=rtl] .maplibregl-popup-anchor-top-left .maplibregl-popup-tip{align-self:flex-end}[dir=rtl] .maplibregl-popup-anchor-top-right .maplibregl-popup-tip{align-self:flex-start}[dir=rtl] .maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip{align-self:flex-end}[dir=rtl] .maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{align-self:flex-start}.maplibregl-popup-close-button{background-color:transparent;border:0;border-radius:0 3px 0 0;cursor:pointer;position:absolute;right:0;top:0}.maplibregl-popup-close-button:hover{background-color:rgba(0,0,0,.05)}.maplibregl-popup-content{background:#fff;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.1);padding:15px 10px;pointer-events:auto;position:relative}.maplibregl-popup-anchor-top-left .maplibregl-popup-content{border-top-left-radius:0}.maplibregl-popup-anchor-top-right .maplibregl-popup-content{border-top-right-radius:0}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-content{border-bottom-left-radius:0}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-content{border-bottom-right-radius:0}.maplibregl-popup-track-pointer{display:none}.maplibregl-popup-track-pointer *{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.maplibregl-map:hover .maplibregl-popup-track-pointer{display:flex}.maplibregl-map:active .maplibregl-popup-track-pointer{display:none}.maplibregl-marker{left:0;position:absolute;top:0;transition:opacity .2s;will-change:transform}.maplibregl-user-location-dot,.maplibregl-user-location-dot:before{background-color:#1da1f2;border-radius:50%;height:15px;width:15px}.maplibregl-user-location-dot:before{animation:maplibregl-user-location-dot-pulse 2s infinite;content:"";position:absolute}.maplibregl-user-location-dot:after{border:2px solid #fff;border-radius:50%;box-shadow:0 0 3px rgba(0,0,0,.35);box-sizing:border-box;content:"";height:19px;left:-2px;position:absolute;top:-2px;width:19px}@media (prefers-reduced-motion:reduce){.maplibregl-user-location-dot:before{animation:none}}@keyframes maplibregl-user-location-dot-pulse{0%{opacity:1;transform:scale(1)}70%{opacity:0;transform:scale(3)}to{opacity:0;transform:scale(1)}}.maplibregl-user-location-dot-stale{background-color:#aaa}.maplibregl-user-location-dot-stale:after{display:none}.maplibregl-user-location-accuracy-circle{background-color:#1da1f233;border-radius:100%;height:1px;width:1px}.maplibregl-crosshair,.maplibregl-crosshair .maplibregl-interactive,.maplibregl-crosshair .maplibregl-interactive:active{cursor:crosshair}.maplibregl-boxzoom{background:#fff;border:2px dotted #202020;height:0;left:0;opacity:.5;position:absolute;top:0;width:0}.maplibregl-cooperative-gesture-screen{align-items:center;background:rgba(0,0,0,.4);color:#fff;display:flex;font-size:1.4em;inset:0;justify-content:center;line-height:1.2;opacity:0;padding:1rem;pointer-events:none;position:absolute;transition:opacity 1s ease 1s;z-index:99999}.maplibregl-cooperative-gesture-screen.maplibregl-show{opacity:1;transition:opacity .05s}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:none}@media (hover:none),(pointer:coarse){.maplibregl-cooperative-gesture-screen .maplibregl-desktop-message{display:none}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:block}}.maplibregl-pseudo-fullscreen{height:100%!important;left:0!important;position:fixed!important;top:0!important;width:100%!important;z-index:99999} \ No newline at end of file diff --git a/public/doxa-maps/assets/legacy/upg-neighbor/maplibre-gl.js b/public/doxa-maps/assets/legacy/upg-neighbor/maplibre-gl.js new file mode 100644 index 000000000..c5acb688e --- /dev/null +++ b/public/doxa-maps/assets/legacy/upg-neighbor/maplibre-gl.js @@ -0,0 +1,59 @@ +/** + * MapLibre GL JS + * @license 3-Clause BSD. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v5.24.0/LICENSE.txt + */ +(function (global, factory) { +typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : +typeof define === 'function' && define.amd ? define(factory) : +(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.maplibregl = factory()); +})(this, (function () { 'use strict'; + +/* eslint-disable */ + +var maplibregl = {}; +var modules = {}; +function define(moduleName, _dependencies, moduleFactory) { + modules[moduleName] = moduleFactory; + + // to get the list of modules see generated dist/maplibre-gl-dev.js file (look for `define(` calls) + if (moduleName !== 'index') { + return; + } + + // we assume that when an index module is initializing then other modules are loaded already + var workerBundleString = 'var sharedModule = {}; (' + modules.shared + ')(sharedModule); (' + modules.worker + ')(sharedModule);' + + var sharedModule = {}; + // the order of arguments of a module factory depends on rollup (it decides who is whose dependency) + // to check the correct order, see dist/maplibre-gl-dev.js file (look for `define(` calls) + // we assume that for our 3 chunks it will generate 3 modules and their order is predefined like the following + modules.shared(sharedModule); + modules.index(maplibregl, sharedModule); + + if (typeof window !== 'undefined') { + maplibregl.setWorkerUrl(window.URL.createObjectURL(new Blob([workerBundleString], { type: 'text/javascript' }))); + } + + return maplibregl; +}; + + + +define("shared",["exports"],(function(t){"use strict";function e(t,e,n,r){return new(n||(n=Promise))((function(i,s){function o(t){try{l(r.next(t));}catch(t){s(t);}}function a(t){try{l(r.throw(t));}catch(t){s(t);}}function l(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e);}))).then(o,a);}l((r=r.apply(t,e||[])).next());}))}function n(t,e){this.x=t,this.y=e;}function r(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var i,s;"function"==typeof SuppressedError&&SuppressedError,n.prototype={clone(){return new n(this.x,this.y)},add(t){return this.clone()._add(t)},sub(t){return this.clone()._sub(t)},multByPoint(t){return this.clone()._multByPoint(t)},divByPoint(t){return this.clone()._divByPoint(t)},mult(t){return this.clone()._mult(t)},div(t){return this.clone()._div(t)},rotate(t){return this.clone()._rotate(t)},rotateAround(t,e){return this.clone()._rotateAround(t,e)},matMult(t){return this.clone()._matMult(t)},unit(){return this.clone()._unit()},perp(){return this.clone()._perp()},round(){return this.clone()._round()},mag(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals(t){return this.x===t.x&&this.y===t.y},dist(t){return Math.sqrt(this.distSqr(t))},distSqr(t){const e=t.x-this.x,n=t.y-this.y;return e*e+n*n},angle(){return Math.atan2(this.y,this.x)},angleTo(t){return Math.atan2(this.y-t.y,this.x-t.x)},angleWith(t){return this.angleWithSep(t.x,t.y)},angleWithSep(t,e){return Math.atan2(this.x*e-this.y*t,this.x*t+this.y*e)},_matMult(t){const e=t[2]*this.x+t[3]*this.y;return this.x=t[0]*this.x+t[1]*this.y,this.y=e,this},_add(t){return this.x+=t.x,this.y+=t.y,this},_sub(t){return this.x-=t.x,this.y-=t.y,this},_mult(t){return this.x*=t,this.y*=t,this},_div(t){return this.x/=t,this.y/=t,this},_multByPoint(t){return this.x*=t.x,this.y*=t.y,this},_divByPoint(t){return this.x/=t.x,this.y/=t.y,this},_unit(){return this._div(this.mag()),this},_perp(){const t=this.y;return this.y=this.x,this.x=-t,this},_rotate(t){const e=Math.cos(t),n=Math.sin(t),r=n*this.x+e*this.y;return this.x=e*this.x-n*this.y,this.y=r,this},_rotateAround(t,e){const n=Math.cos(t),r=Math.sin(t),i=e.y+r*(this.x-e.x)+n*(this.y-e.y);return this.x=e.x+n*(this.x-e.x)-r*(this.y-e.y),this.y=i,this},_round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},constructor:n},n.convert=function(t){if(t instanceof n)return t;if(Array.isArray(t))return new n(+t[0],+t[1]);if(void 0!==t.x&&void 0!==t.y)return new n(+t.x,+t.y);throw new Error("Expected [x, y] or {x, y} point format")};var o=function(){if(s)return i;function t(t,e,n,r){this.cx=3*t,this.bx=3*(n-t)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(r-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=t,this.p1y=e,this.p2x=n,this.p2y=r;}return s=1,i=t,t.prototype={sampleCurveX:function(t){return ((this.ax*t+this.bx)*t+this.cx)*t},sampleCurveY:function(t){return ((this.ay*t+this.by)*t+this.cy)*t},sampleCurveDerivativeX:function(t){return (3*this.ax*t+2*this.bx)*t+this.cx},solveCurveX:function(t,e){if(void 0===e&&(e=1e-6),t<0)return 0;if(t>1)return 1;for(var n=t,r=0;r<8;r++){var i=this.sampleCurveX(n)-t;if(Math.abs(i)i?o=n:a=n,n=.5*(a-o)+o;return n},solve:function(t,e){return this.sampleCurveY(this.solveCurveX(t,e))}},i}(),a=r(o);let l,u;function c(){return null!=l||(l="undefined"!=typeof OffscreenCanvas&&new OffscreenCanvas(1,1).getContext("2d")&&"function"==typeof createImageBitmap),l}function h(){if(null==u&&(u=!1,c())){const t=5,e=new OffscreenCanvas(t,t).getContext("2d",{willReadFrequently:!0});if(e){for(let n=0;n4&&void 0!==arguments[4]?arguments[4]:"zyx",s=Math.PI/360;e*=s,r*=s,n*=s;var o=Math.sin(e),a=Math.cos(e),l=Math.sin(n),u=Math.cos(n),c=Math.sin(r),h=Math.cos(r);switch(i){case "xyz":t[0]=o*u*h+a*l*c,t[1]=a*l*h-o*u*c,t[2]=a*u*c+o*l*h,t[3]=a*u*h-o*l*c;break;case "xzy":t[0]=o*u*h-a*l*c,t[1]=a*l*h-o*u*c,t[2]=a*u*c+o*l*h,t[3]=a*u*h+o*l*c;break;case "yxz":t[0]=o*u*h+a*l*c,t[1]=a*l*h-o*u*c,t[2]=a*u*c-o*l*h,t[3]=a*u*h+o*l*c;break;case "yzx":t[0]=o*u*h+a*l*c,t[1]=a*l*h+o*u*c,t[2]=a*u*c-o*l*h,t[3]=a*u*h-o*l*c;break;case "zxy":t[0]=o*u*h-a*l*c,t[1]=a*l*h+o*u*c,t[2]=a*u*c+o*l*h,t[3]=a*u*h-o*l*c;break;case "zyx":t[0]=o*u*h-a*l*c,t[1]=a*l*h+o*u*c,t[2]=a*u*c-o*l*h,t[3]=a*u*h+o*l*c;break;default:throw new Error("Unknown angle order "+i)}return t}function I(){var t=new f(2);return f!=Float32Array&&(t[0]=0,t[1]=0),t}function E(t,e){var n=new f(2);return n[0]=t,n[1]=e,n}m(),_=new f(4),f!=Float32Array&&(_[0]=0,_[1]=0,_[2]=0,_[3]=0),m(),x(1,0,0),x(0,1,0),M(),M(),d(),I();const T=8192;function F(t,e,n){return e*(T/(t.tileSize*Math.pow(2,n-t.tileID.overscaledZ)))}function P(t){return t instanceof Error?t:new Error("string"==typeof t?t:String(t))}function D(t,e){return (t%e+e)%e}function z(t,e,n){return t*(1-n)+e*n}function B(t){if(t<=0)return 0;if(t>=1)return 1;const e=t*t,n=e*t;return 4*(t<.5?n:3*(t-e)+n-.75)}function C(t,e,n,r){const i=new a(t,e,n,r);return t=>i.solve(t)}const V=C(.25,.1,.25,1);function L(t,e,n){return Math.min(n,Math.max(e,t))}function O(t,e,n){const r=n-e,i=((t-e)%r+r)%r+e;return i===e?n:i}function $(t,...e){for(const n of e)for(const e in n)t[e]=n[e];return t}let R=1;function N(t,e,n){const r={};for(const n in t)r[n]=e.call(this,t[n],n,t);return r}function U(t,e,n){const r={};for(const n in t)e.call(this,t[n],n,t)&&(r[n]=t[n]);return r}function j(t){return Array.isArray(t)?t.map(j):"object"==typeof t&&t?N(t,j):t}const q={};function G(t){q[t]||("undefined"!=typeof console&&console.warn(t),q[t]=!0);}function X(t,e,n){return (n.y-t.y)*(e.x-t.x)>(e.y-t.y)*(n.x-t.x)}function Y(t){return "undefined"!=typeof WorkerGlobalScope&&void 0!==t&&t instanceof WorkerGlobalScope}let Z=null;function H(t){return "undefined"!=typeof ImageBitmap&&t instanceof ImageBitmap}const W="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";function K(t,n,r,i,s){return e(this,void 0,void 0,(function*(){if("undefined"==typeof VideoFrame)throw new Error("VideoFrame not supported");const e=new VideoFrame(t,{timestamp:0});try{const o=null==e?void 0:e.format;if(!o||!o.startsWith("BGR")&&!o.startsWith("RGB"))throw new Error(`Unrecognized format ${o}`);const a=o.startsWith("BGR"),l=new Uint8ClampedArray(i*s*4);if(yield e.copyTo(l,function(t,e,n,r,i){const s=4*Math.max(-e,0),o=(Math.max(0,n)-n)*r*4+s,a=4*r,l=Math.max(0,e),u=Math.max(0,n);return {rect:{x:l,y:u,width:Math.min(t.width,e+r)-l,height:Math.min(t.height,n+i)-u},layout:[{offset:o,stride:a}]}}(t,n,r,i,s)),a)for(let t=0;t{t.removeEventListener(e,n,r);}}}function et(t){return t*Math.PI/180}function nt(t){return t/Math.PI*180}const rt={touchstart:!0,touchmove:!0,touchmoveWindow:!0,touchend:!0,touchcancel:!0},it={dblclick:!0,click:!0,mouseover:!0,mouseout:!0,mousedown:!0,mousemove:!0,mousemoveWindow:!0,mouseup:!0,mouseupWindow:!0,contextmenu:!0,wheel:!0},st="AbortError";class ot extends Error{constructor(t=st){super(t instanceof Error?t.message:t),this.name=st,t instanceof Error&&t.stack&&(this.stack=t.stack);}}function at(t){return t instanceof Error&&t.name===st}function lt(t){if(t.aborted)throw new ot(t.reason)}const ut={MAX_PARALLEL_IMAGE_REQUESTS:16,MAX_PARALLEL_IMAGE_REQUESTS_PER_FRAME:8,MAX_TILE_CACHE_ZOOM_LEVELS:5,REGISTERED_PROTOCOLS:{},WORKER_URL:""};function ct(t){return ut.REGISTERED_PROTOCOLS[t.substring(0,t.indexOf("://"))]}const ht="global-dispatcher";class pt extends Error{constructor(t,e,n,r){super(`AJAXError: ${e} (${t}): ${n}`),this.status=t,this.statusText=e,this.url=n,this.body=r;}}const ft=()=>{var t;return Y(self)?null===(t=self.worker)||void 0===t?void 0:t.referrer:("blob:"===window.location.protocol?window.parent:window).location.href},dt=function(t,n){return e(this,void 0,void 0,(function*(){var r,i;if(t.url.includes("://")&&!/^https?:|^file:/.test(t.url)){const e=ct(t.url);if(e){const r=yield e(t,n);return r.data||"arrayBuffer"!==t.type?r:$(r,{data:new ArrayBuffer(0)})}if(Y(self)&&(null===(r=self.worker)||void 0===r?void 0:r.actor))return self.worker.actor.sendAsync({type:"GR",data:t,targetMapId:ht},n)}if(!(t=>{var e;return t.startsWith("file:")||(null===(e=ft())||void 0===e?void 0:e.startsWith("file:"))&&!/^\w+:/.test(t)})(t.url)){if(fetch&&Request&&AbortController&&Object.hasOwn(Request.prototype,"signal"))return function(t,n){return e(this,void 0,void 0,(function*(){const e=new Request(t.url,{method:t.method||"GET",body:t.body,credentials:t.credentials,headers:t.headers,cache:t.cache,referrer:ft(),referrerPolicy:t.referrerPolicy,signal:n.signal});let r,i;"json"!==t.type||e.headers.has("Accept")||e.headers.set("Accept","application/json");try{r=yield fetch(e);}catch(e){if(at(e))throw e;throw new pt(0,P(e).message,t.url,new Blob)}if(!r.ok){const e=yield r.blob();throw new pt(r.status,r.statusText,t.url,e)}i="arrayBuffer"===t.type||"image"===t.type?r.arrayBuffer():"json"===t.type?r.json():r.text();const s=yield i;return lt(n.signal),{data:s,cacheControl:r.headers.get("Cache-Control"),expires:r.headers.get("Expires"),etag:r.headers.get("ETag")}}))}(t,n);if(Y(self)&&(null===(i=self.worker)||void 0===i?void 0:i.actor))return self.worker.actor.sendAsync({type:"GR",data:t,mustQueue:!0,targetMapId:ht},n)}return function(t,e){return new Promise(((n,r)=>{var i;const s=new XMLHttpRequest;s.open(t.method||"GET",t.url,!0),"arrayBuffer"!==t.type&&"image"!==t.type||(s.responseType="arraybuffer");for(const e in t.headers)s.setRequestHeader(e,t.headers[e]);"json"===t.type&&(s.responseType="text",(null===(i=t.headers)||void 0===i?void 0:i.Accept)||s.setRequestHeader("Accept","application/json")),s.withCredentials="include"===t.credentials,s.onerror=()=>{r(new Error(s.statusText));},s.onload=()=>{if(!e.signal.aborted)if((s.status>=200&&s.status<300||0===s.status)&&null!==s.response){let e=s.response;if("json"===t.type)try{e=JSON.parse(s.response);}catch(t){return void r(t)}n({data:e,cacheControl:s.getResponseHeader("Cache-Control"),expires:s.getResponseHeader("Expires"),etag:s.getResponseHeader("ETag")});}else {const e=new Blob([s.response],{type:s.getResponseHeader("Content-Type")});r(new pt(s.status,s.statusText,t.url,e));}},e.signal.addEventListener("abort",(()=>{s.abort(),r(new ot(e.signal.reason));})),s.send(t.body);}))}(t,n)}))};function yt(t){if(!t||t.indexOf("://")<=0||t.startsWith("data:image/")||t.startsWith("blob:"))return !0;const e=new URL(t),n=window.location;return e.protocol===n.protocol&&e.host===n.host}function mt(t,e,n){var r;(null===(r=n[t])||void 0===r?void 0:r.includes(e))||(n[t]||(n[t]=[]),n[t].push(e));}function gt(t,e,n){if(null==n?void 0:n[t]){const r=n[t].indexOf(e);-1!==r&&n[t].splice(r,1);}}class xt{constructor(t,e={}){$(this,e),this.type=t;}}class vt extends xt{constructor(t,e={}){super("error",$({error:t},e));}}class bt{on(t,e){return this._listeners||(this._listeners={}),mt(t,e,this._listeners),{unsubscribe:()=>{this.off(t,e);}}}off(t,e){return gt(t,e,this._listeners),gt(t,e,this._oneTimeListeners),this}once(t,e){return e?(this._oneTimeListeners||(this._oneTimeListeners={}),mt(t,e,this._oneTimeListeners),this):new Promise((e=>this.once(t,e)))}fire(t,e){var n,r;"string"==typeof t&&(t=new xt(t,e||{}));const i=t.type;if(this.listens(i)){t.target=this;const e=(null===(n=this._listeners)||void 0===n?void 0:n[i])?this._listeners[i].slice():[];for(const n of e)n.call(this,t);const s=(null===(r=this._oneTimeListeners)||void 0===r?void 0:r[i])?this._oneTimeListeners[i].slice():[];for(const e of s)gt(i,e,this._oneTimeListeners),e.call(this,t);const o=this._eventedParent;o&&($(t,"function"==typeof this._eventedParentData?this._eventedParentData():this._eventedParentData),o.fire(t));}else t instanceof vt&&console.error(t.error);return this}listens(t){var e,n,r,i,s;return (null===(n=null===(e=this._listeners)||void 0===e?void 0:e[t])||void 0===n?void 0:n.length)>0||(null===(i=null===(r=this._oneTimeListeners)||void 0===r?void 0:r[t])||void 0===i?void 0:i.length)>0||(null===(s=this._eventedParent)||void 0===s?void 0:s.listens(t))}setEventedParent(t,e){return this._eventedParent=t,this._eventedParentData=e,this}}var wt={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number",length:2},centerAltitude:{type:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},roll:{type:"number",default:0,units:"degrees"},state:{type:"state",default:{}},light:{type:"light"},sky:{type:"sky"},projection:{type:"projection"},terrain:{type:"terrain"},sources:{required:!0,type:"sources"},sprite:{type:"sprite"},glyphs:{type:"string"},"font-faces":{type:"fontFaces"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},volatile:{type:"boolean",default:!1},encoding:{type:"enum",values:{mvt:{},mlt:{}},default:"mvt"},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{},custom:{}},default:"mapbox"},redFactor:{type:"number",default:1},blueFactor:{type:"number",default:1},greenFactor:{type:"number",default:1},baseShift:{type:"number",default:0},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{required:!0,type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},filter:{type:"filter"},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterMinPoints:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},"color-relief":{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_color-relief","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image",{"!":"icon-overlap"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-overlap":{type:"enum",values:{never:{},always:{},cooperative:{}},requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"padding",default:[2],units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},"viewport-glyph":{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-variable-anchor-offset":{type:"variableAnchorOffsetCollection",requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field",{"!":"text-overlap"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-overlap":{type:"enum",values:{never:{},always:{},cooperative:{}},requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},"layout_color-relief":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible",expression:{interpolated:!1,parameters:["global-state"]},"property-type":"data-constant"}},filter:{type:"boolean",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"expression_name",minimum:1},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},sky:{"sky-color":{type:"color","property-type":"data-constant",default:"#88C6FC",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"horizon-color":{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"fog-color":{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"fog-ground-blend":{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"horizon-fog-blend":{type:"number","property-type":"data-constant",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"sky-horizon-blend":{type:"number","property-type":"data-constant",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"atmosphere-blend":{type:"number","property-type":"data-constant",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},terrain:{source:{type:"string",required:!0},exaggeration:{type:"number",minimum:0,default:1}},projection:{type:{type:"projectionDefinition",default:"mercator","property-type":"data-constant",transition:!1,expression:{interpolated:!0,parameters:["zoom"]}}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_color-relief","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},resampling:{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"numberArray",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-altitude":{type:"numberArray",default:45,minimum:0,maximum:90,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"colorArray",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"colorArray",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-method":{type:"enum",values:{standard:{},basic:{},combined:{},igor:{},multidirectional:{}},default:"standard",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},resampling:{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},"paint_color-relief":{"color-relief-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"color-relief-color":{type:"color",transition:!1,expression:{interpolated:!0,parameters:["elevation"]},"property-type":"color-ramp"},resampling:{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:{"*":{type:"string"}},interpolation:{type:"array",value:"interpolation_name",minimum:1},interpolation_name:{type:"enum",values:{linear:{syntax:{overloads:[{parameters:[],"output-type":"interpolation"}],parameters:[]}},exponential:{syntax:{overloads:[{parameters:["base"],"output-type":"interpolation"}],parameters:[{name:"base",type:"number literal"}]}},"cubic-bezier":{syntax:{overloads:[{parameters:["x1","y1","x2","y2"],"output-type":"interpolation"}],parameters:[{name:"x1",type:"number literal"},{name:"y1",type:"number literal"},{name:"x2",type:"number literal"},{name:"y2",type:"number literal"}]}}}}};const _t=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function St(t,e){const n={};for(const e in t)"ref"!==e&&(n[e]=t[e]);return _t.forEach((t=>{t in e&&(n[t]=e[t]);})),n}function At(t,e){if(Array.isArray(t)){if(!Array.isArray(e)||t.length!==e.length)return !1;for(let n=0;n`:"value"===t.itemType.kind?"array":`array<${e}>`}return t.kind}const te=[Lt,Ot,$t,Rt,Nt,Ut,Xt,jt,Jt(qt),Yt,Ht,Zt,Wt,Kt];function ee(t,e){if("error"===e.kind)return null;if("array"===t.kind){if("array"===e.kind&&(0===e.N&&"value"===e.itemType.kind||!ee(t.itemType,e.itemType))&&("number"!=typeof t.N||t.N===e.N))return null}else {if(t.kind===e.kind)return null;if("value"===t.kind)for(const t of te)if(!ee(t,e))return null}return `Expected ${Qt(t)} but found ${Qt(e)} instead.`}function ne(t,e){return e.some((e=>e.kind===t.kind))}function re(t,e){return e.some((e=>"null"===e?null===t:"array"===e?Array.isArray(t):"object"===e?t&&!Array.isArray(t)&&"object"==typeof t:e===typeof t))}function ie(t,e){return "array"===t.kind&&"array"===e.kind?t.itemType.kind===e.itemType.kind&&"number"==typeof t.N:t.kind===e.kind}const se=.96422,oe=.82521,ae=4/29,le=6/29,ue=3*le*le,ce=le*le*le,he=Math.PI/180,pe=180/Math.PI;function fe(t){return (t%=360)<0&&(t+=360),t}function de([t,e,n,r]){let i,s;const o=me((.2225045*(t=ye(t))+.7168786*(e=ye(e))+.0606169*(n=ye(n)))/1);t===e&&e===n?i=s=o:(i=me((.4360747*t+.3850649*e+.1430804*n)/se),s=me((.0139322*t+.0971045*e+.7141733*n)/oe));const a=116*o-16;return [a<0?0:a,500*(i-o),200*(o-s),r]}function ye(t){return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function me(t){return t>ce?Math.pow(t,1/3):t/ue+ae}function ge([t,e,n,r]){let i=(t+16)/116,s=isNaN(e)?i:i+e/500,o=isNaN(n)?i:i-n/200;return i=1*ve(i),s=se*ve(s),o=oe*ve(o),[xe(3.1338561*s-1.6168667*i-.4906146*o),xe(-.9787684*s+1.9161415*i+.033454*o),xe(.0719453*s-.2289914*i+1.4052427*o),r]}function xe(t){return (t=t<=.00304?12.92*t:1.055*Math.pow(t,1/2.4)-.055)<0?0:t>1?1:t}function ve(t){return t>le?t*t*t:ue*(t-ae)}const be=Object.hasOwn||function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};function we(t,e){return be(t,e)?t[e]:void 0}function _e(t){return parseInt(t.padEnd(2,t),16)/255}function Se(t,e){return Ae(e?t/100:t,0,1)}function Ae(t,e,n){return Math.min(Math.max(e,t),n)}function Me(t){return !t.some(Number.isNaN)}const ke={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};function Ie(t,e,n){return t+n*(e-t)}function Ee(t,e,n){return t.map(((t,r)=>Ie(t,e[r],n)))}class Te{constructor(t,e,n,r=1,i=!0){this.r=t,this.g=e,this.b=n,this.a=r,i||(this.r*=r,this.g*=r,this.b*=r,r||this.overwriteGetter("rgb",[t,e,n,r]));}static parse(t){if(t instanceof Te)return t;if("string"!=typeof t)return;const e=function(t){if("transparent"===(t=t.toLowerCase().trim()))return [0,0,0,0];const e=we(ke,t);if(e){const[t,n,r]=e;return [t/255,n/255,r/255,1]}if(t.startsWith("#")&&/^#(?:[0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/.test(t)){const e=t.length<6?1:2;let n=1;return [_e(t.slice(n,n+=e)),_e(t.slice(n,n+=e)),_e(t.slice(n,n+=e)),_e(t.slice(n,n+e)||"ff")]}if(t.startsWith("rgb")){const e=t.match(/^rgba?\(\s*([\de.+-]+)(%)?(?:\s+|\s*(,)\s*)([\de.+-]+)(%)?(?:\s+|\s*(,)\s*)([\de.+-]+)(%)?(?:\s*([,\/])\s*([\de.+-]+)(%)?)?\s*\)$/);if(e){const[t,n,r,i,s,o,a,l,u,c,h,p]=e,f=[i||" ",a||" ",c].join("");if(" "===f||" /"===f||",,"===f||",,,"===f){const t=[r,o,u].join(""),e="%%%"===t?100:""===t?255:0;if(e){const t=[Ae(+n/e,0,1),Ae(+s/e,0,1),Ae(+l/e,0,1),h?Se(+h,p):1];if(Me(t))return t}}return}}const n=t.match(/^hsla?\(\s*([\de.+-]+)(?:deg)?(?:\s+|\s*(,)\s*)([\de.+-]+)%(?:\s+|\s*(,)\s*)([\de.+-]+)%(?:\s*([,\/])\s*([\de.+-]+)(%)?)?\s*\)$/);if(n){const[t,e,r,i,s,o,a,l,u]=n,c=[r||" ",s||" ",a].join("");if(" "===c||" /"===c||",,"===c||",,,"===c){const t=[+e,Ae(+i,0,100),Ae(+o,0,100),l?Se(+l,u):1];if(Me(t))return function([t,e,n,r]){function i(r){const i=(r+t/30)%12,s=e*Math.min(n,1-n);return n-s*Math.max(-1,Math.min(i-3,9-i,1))}return t=fe(t),e/=100,n/=100,[i(0),i(8),i(4),r]}(t)}}}(t);return e?new Te(...e,!1):void 0}get rgb(){const{r:t,g:e,b:n,a:r}=this,i=r||1/0;return this.overwriteGetter("rgb",[t/i,e/i,n/i,r])}get hcl(){return this.overwriteGetter("hcl",function(t){const[e,n,r,i]=de(t),s=Math.sqrt(n*n+r*r);return [Math.round(1e4*s)?fe(Math.atan2(r,n)*pe):NaN,s,e,i]}(this.rgb))}get lab(){return this.overwriteGetter("lab",de(this.rgb))}overwriteGetter(t,e){return Object.defineProperty(this,t,{value:e}),e}toString(){const[t,e,n,r]=this.rgb;return `rgba(${[t,e,n].map((t=>Math.round(255*t))).join(",")},${r})`}static interpolate(t,e,n,r="rgb"){switch(r){case "rgb":{const[r,i,s,o]=Ee(t.rgb,e.rgb,n);return new Te(r,i,s,o,!1)}case "hcl":{const[r,i,s,o]=t.hcl,[a,l,u,c]=e.hcl;let h,p;if(isNaN(r)||isNaN(a))isNaN(r)?isNaN(a)?h=NaN:(h=a,1!==s&&0!==s||(p=l)):(h=r,1!==u&&0!==u||(p=i));else {let t=a-r;a>r&&t>180?t-=360:a180&&(t+=360),h=r+n*t;}const[f,d,y,m]=function([t,e,n,r]){return t=isNaN(t)?0:t*he,ge([n,Math.cos(t)*e,Math.sin(t)*e,r])}([h,null!=p?p:Ie(i,l,n),Ie(s,u,n),Ie(o,c,n)]);return new Te(f,d,y,m,!1)}case "lab":{const[r,i,s,o]=ge(Ee(t.lab,e.lab,n));return new Te(r,i,s,o,!1)}}}}Te.black=new Te(0,0,0,1),Te.white=new Te(1,1,1,1),Te.transparent=new Te(0,0,0,0),Te.red=new Te(1,0,0,1);class Fe{constructor(t,e,n){this.sensitivity=t?e?"variant":"case":e?"accent":"base",this.locale=n,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"});}compare(t,e){return this.collator.compare(t,e)}resolvedLocale(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale}}const Pe=["bottom","center","top"];class De{constructor(t,e,n,r,i,s){this.text=t,this.image=e,this.scale=n,this.fontStack=r,this.textColor=i,this.verticalAlign=s;}}class ze{constructor(t){this.sections=t;}static fromString(t){return new ze([new De(t,null,null,null,null,null)])}isEmpty(){return 0===this.sections.length||!this.sections.some((t=>0!==t.text.length||t.image&&0!==t.image.name.length))}static factory(t){return t instanceof ze?t:ze.fromString(t)}toString(){return 0===this.sections.length?"":this.sections.map((t=>t.text)).join("")}}class Be{constructor(t){this.values=t.slice();}static parse(t){if(t instanceof Be)return t;if("number"==typeof t)return new Be([t,t,t,t]);if(Array.isArray(t)&&!(t.length<1||t.length>4)){for(const e of t)if("number"!=typeof e)return;switch(t.length){case 1:t=[t[0],t[0],t[0],t[0]];break;case 2:t=[t[0],t[1],t[0],t[1]];break;case 3:t=[t[0],t[1],t[2],t[1]];}return new Be(t)}}toString(){return JSON.stringify(this.values)}static interpolate(t,e,n){return new Be(Ee(t.values,e.values,n))}}class Ce{constructor(t){this.values=t.slice();}static parse(t){if(t instanceof Ce)return t;if("number"==typeof t)return new Ce([t]);if(Array.isArray(t)){for(const e of t)if("number"!=typeof e)return;return new Ce(t)}}toString(){return JSON.stringify(this.values)}static interpolate(t,e,n){return new Ce(Ee(t.values,e.values,n))}}class Ve{constructor(t){this.values=t.slice();}static parse(t){if(t instanceof Ve)return t;if("string"==typeof t){const e=Te.parse(t);if(!e)return;return new Ve([e])}if(!Array.isArray(t))return;const e=[];for(const n of t){if("string"!=typeof n)return;const t=Te.parse(n);if(!t)return;e.push(t);}return new Ve(e)}toString(){return JSON.stringify(this.values)}static interpolate(t,e,n,r="rgb"){const i=[];if(t.values.length!=e.values.length)throw new Error(`colorArray: Arrays have mismatched length (${t.values.length} vs. ${e.values.length}), cannot interpolate.`);for(let s=0;s=0&&t<=255&&"number"==typeof e&&e>=0&&e<=255&&"number"==typeof n&&n>=0&&n<=255?void 0===r||"number"==typeof r&&r>=0&&r<=1?null:`Invalid rgba value [${[t,e,n,r].join(", ")}]: 'a' must be between 0 and 1.`:`Invalid rgba value [${("number"==typeof r?[t,e,n,r]:[t,e,n]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`}function je(t){if(null===t||"string"==typeof t||"boolean"==typeof t||"number"==typeof t||t instanceof Ne||t instanceof Te||t instanceof Fe||t instanceof ze||t instanceof Be||t instanceof Ce||t instanceof Ve||t instanceof $e||t instanceof Re)return !0;if(Array.isArray(t)){for(const e of t)if(!je(e))return !1;return !0}if("object"==typeof t){for(const e in t)if(!je(t[e]))return !1;return !0}return !1}function qe(t){if(null===t)return Lt;if("string"==typeof t)return $t;if("boolean"==typeof t)return Rt;if("number"==typeof t)return Ot;if(t instanceof Te)return Nt;if(t instanceof Ne)return Ut;if(t instanceof Fe)return Gt;if(t instanceof ze)return Xt;if(t instanceof Be)return Yt;if(t instanceof Ce)return Ht;if(t instanceof Ve)return Zt;if(t instanceof $e)return Kt;if(t instanceof Re)return Wt;if(Array.isArray(t)){const e=t.length;let n;for(const e of t){const t=qe(e);if(n){if(n===t)continue;n=qt;break}n=t;}return Jt(n||qt,e)}return jt}function Ge(t){const e=typeof t;return null===t?"":"string"===e||"number"===e||"boolean"===e?String(t):t instanceof Te||t instanceof Ne||t instanceof ze||t instanceof Be||t instanceof Ce||t instanceof Ve||t instanceof $e||t instanceof Re?t.toString():JSON.stringify(t)}class Xe{constructor(t,e){this.type=t,this.value=e;}static parse(t,e){if(2!==t.length)return e.error(`'literal' expression requires exactly one argument, but found ${t.length-1} instead.`);if(!je(t[1]))return e.error("invalid value");const n=t[1];let r=qe(n);const i=e.expectedType;return "array"!==r.kind||0!==r.N||!i||"array"!==i.kind||"number"==typeof i.N&&0!==i.N||(r=i),new Xe(r,n)}evaluate(){return this.value}eachChild(){}outputDefined(){return !0}}const Ye={string:$t,number:Ot,boolean:Rt,object:jt};class Ze{constructor(t,e){this.type=t,this.args=e;}static parse(t,e){if(t.length<2)return e.error("Expected at least one argument.");let n,r=1;const i=t[0];if("array"===i){let i,s;if(t.length>2){const n=t[1];if("string"!=typeof n||!(n in Ye)||"object"===n)return e.error('The item type argument of "array" must be one of string, number, boolean',1);i=Ye[n],r++;}else i=qt;if(t.length>3){if(null!==t[2]&&("number"!=typeof t[2]||t[2]<0||t[2]!==Math.floor(t[2])))return e.error('The length argument to "array" must be a positive integer literal',2);s=t[2],r++;}n=Jt(i,s);}else {if(!Ye[i])throw new Error(`Types doesn't contain name = ${i}`);n=Ye[i];}const s=[];for(;rt.outputDefined()))}}const He={"to-boolean":Rt,"to-color":Nt,"to-number":Ot,"to-string":$t};class We{constructor(t,e){this.type=t,this.args=e;}static parse(t,e){if(t.length<2)return e.error("Expected at least one argument.");const n=t[0];if(!He[n])throw new Error(`Can't parse ${n} as it is not part of the known types`);if(("to-boolean"===n||"to-string"===n)&&2!==t.length)return e.error("Expected one argument.");const r=He[n],i=[];for(let n=1;n4?`Invalid rgba value ${JSON.stringify(e)}: expected an array containing either three or four numeric values.`:Ue(e[0],e[1],e[2],e[3]),!n))return new Te(e[0]/255,e[1]/255,e[2]/255,e[3])}throw new Le(n||`Could not parse color from value '${"string"==typeof e?e:JSON.stringify(e)}'`)}case "padding":{let e;for(const n of this.args){e=n.evaluate(t);const r=Be.parse(e);if(r)return r}throw new Le(`Could not parse padding from value '${"string"==typeof e?e:JSON.stringify(e)}'`)}case "numberArray":{let e;for(const n of this.args){e=n.evaluate(t);const r=Ce.parse(e);if(r)return r}throw new Le(`Could not parse numberArray from value '${"string"==typeof e?e:JSON.stringify(e)}'`)}case "colorArray":{let e;for(const n of this.args){e=n.evaluate(t);const r=Ve.parse(e);if(r)return r}throw new Le(`Could not parse colorArray from value '${"string"==typeof e?e:JSON.stringify(e)}'`)}case "variableAnchorOffsetCollection":{let e;for(const n of this.args){e=n.evaluate(t);const r=$e.parse(e);if(r)return r}throw new Le(`Could not parse variableAnchorOffsetCollection from value '${"string"==typeof e?e:JSON.stringify(e)}'`)}case "number":{let e=null;for(const n of this.args){if(e=n.evaluate(t),null===e)return 0;const r=Number(e);if(!isNaN(r))return r}throw new Le(`Could not convert ${JSON.stringify(e)} to number.`)}case "formatted":return ze.fromString(Ge(this.args[0].evaluate(t)));case "resolvedImage":return Re.fromString(Ge(this.args[0].evaluate(t)));case "projectionDefinition":return this.args[0].evaluate(t);default:return Ge(this.args[0].evaluate(t))}}eachChild(t){this.args.forEach(t);}outputDefined(){return this.args.every((t=>t.outputDefined()))}}const Ke=["Unknown","Point","LineString","Polygon"];class Je{constructor(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache=new Map,this.availableImages=null,this.canonical=null;}id(){return this.feature&&"id"in this.feature?this.feature.id:null}geometryType(){return this.feature?"number"==typeof this.feature.type?Ke[this.feature.type]:this.feature.type:null}geometry(){return this.feature&&"geometry"in this.feature?this.feature.geometry:null}canonicalID(){return this.canonical}properties(){return this.feature&&this.feature.properties||{}}parseColor(t){let e=this._parseColorCache.get(t);return e||(e=Te.parse(t),this._parseColorCache.set(t,e)),e}}class Qe{constructor(t,e,n=[],r,i=new Vt,s=[]){this.registry=t,this.path=n,this.key=n.map((t=>`[${t}]`)).join(""),this.scope=i,this.errors=s,this.expectedType=r,this._isConstant=e;}parse(t,e,n,r,i={}){return e?this.concat(e,n,r)._parse(t,i):this._parse(t,i)}_parse(t,e){function n(t,e,n){return "assert"===n?new Ze(e,[t]):"coerce"===n?new We(e,[t]):t}if(null!==t&&"string"!=typeof t&&"boolean"!=typeof t&&"number"!=typeof t||(t=["literal",t]),Array.isArray(t)){if(0===t.length)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');const r=t[0];if("string"!=typeof r)return this.error(`Expression name must be a string, but found ${typeof r} instead. If you wanted a literal array, use ["literal", [...]].`,0),null;const i=this.registry[r];if(i){let r=i.parse(t,this);if(!r)return null;if(this.expectedType){const t=this.expectedType,i=r.type;if("string"!==t.kind&&"number"!==t.kind&&"boolean"!==t.kind&&"object"!==t.kind&&"array"!==t.kind||"value"!==i.kind){if("projectionDefinition"===t.kind&&["string","array"].includes(i.kind)||["color","formatted","resolvedImage"].includes(t.kind)&&["value","string"].includes(i.kind)||["padding","numberArray"].includes(t.kind)&&["value","number","array"].includes(i.kind)||"colorArray"===t.kind&&["value","string","array"].includes(i.kind)||"variableAnchorOffsetCollection"===t.kind&&["value","array"].includes(i.kind))r=n(r,t,e.typeAnnotation||"coerce");else if(this.checkSubtype(t,i))return null}else r=n(r,t,e.typeAnnotation||"assert");}if(!(r instanceof Xe)&&"resolvedImage"!==r.type.kind&&this._isConstant(r)){const t=new Je;try{r=new Xe(r.type,r.evaluate(t));}catch(t){return this.error(t.message),null}}return r}return this.error(`Unknown expression "${r}". If you wanted a literal array, use ["literal", [...]].`,0)}return this.error(void 0===t?"'undefined' value invalid. Use null instead.":"object"==typeof t?'Bare objects invalid. Use ["literal", {...}] instead.':`Expected an array, but found ${typeof t} instead.`)}concat(t,e,n){const r="number"==typeof t?this.path.concat(t):this.path,i=n?this.scope.concat(n):this.scope;return new Qe(this.registry,this._isConstant,r,e||null,i,this.errors)}error(t,...e){const n=`${this.key}${e.map((t=>`[${t}]`)).join("")}`;this.errors.push(new Ct(n,t));}checkSubtype(t,e){const n=ee(t,e);return n&&this.error(n),n}}class tn{constructor(t,e){this.type=e.type,this.bindings=[].concat(t),this.result=e;}evaluate(t){return this.result.evaluate(t)}eachChild(t){for(const e of this.bindings)t(e[1]);t(this.result);}static parse(t,e){if(t.length<4)return e.error(`Expected at least 3 arguments, but found ${t.length-1} instead.`);const n=[];for(let r=1;r=n.length)throw new Le(`Array index out of bounds: ${e} > ${n.length-1}.`);if(e!==Math.floor(e))throw new Le(`Array index must be an integer, but found ${e} instead.`);return n[e]}eachChild(t){t(this.index),t(this.input);}outputDefined(){return !1}}class rn{constructor(t,e){this.type=Rt,this.needle=t,this.haystack=e;}static parse(t,e){if(3!==t.length)return e.error(`Expected 2 arguments, but found ${t.length-1} instead.`);const n=e.parse(t[1],1,qt),r=e.parse(t[2],2,qt);return n&&r?ne(n.type,[Rt,$t,Ot,Lt,qt])?new rn(n,r):e.error(`Expected first argument to be of type boolean, string, number or null, but found ${Qt(n.type)} instead`):null}evaluate(t){const e=this.needle.evaluate(t),n=this.haystack.evaluate(t);if(!n)return !1;if(!re(e,["boolean","string","number","null"]))throw new Le(`Expected first argument to be of type boolean, string, number or null, but found ${Qt(qe(e))} instead.`);if(!re(n,["string","array"]))throw new Le(`Expected second argument to be of type array or string, but found ${Qt(qe(n))} instead.`);return n.indexOf(e)>=0}eachChild(t){t(this.needle),t(this.haystack);}outputDefined(){return !0}}class sn{constructor(t,e,n){this.type=Ot,this.needle=t,this.haystack=e,this.fromIndex=n;}static parse(t,e){if(t.length<=2||t.length>=5)return e.error(`Expected 2 or 3 arguments, but found ${t.length-1} instead.`);const n=e.parse(t[1],1,qt),r=e.parse(t[2],2,qt);if(!n||!r)return null;if(!ne(n.type,[Rt,$t,Ot,Lt,qt]))return e.error(`Expected first argument to be of type boolean, string, number or null, but found ${Qt(n.type)} instead`);if(4===t.length){const i=e.parse(t[3],3,Ot);return i?new sn(n,r,i):null}return new sn(n,r)}evaluate(t){const e=this.needle.evaluate(t),n=this.haystack.evaluate(t);if(!re(e,["boolean","string","number","null"]))throw new Le(`Expected first argument to be of type boolean, string, number or null, but found ${Qt(qe(e))} instead.`);let r;if(this.fromIndex&&(r=this.fromIndex.evaluate(t)),re(n,["string"])){const t=n.indexOf(e,r);return -1===t?-1:[...n.slice(0,t)].length}if(re(n,["array"]))return n.indexOf(e,r);throw new Le(`Expected second argument to be of type array or string, but found ${Qt(qe(n))} instead.`)}eachChild(t){t(this.needle),t(this.haystack),this.fromIndex&&t(this.fromIndex);}outputDefined(){return !1}}class on{constructor(t,e,n,r,i,s){this.inputType=t,this.type=e,this.input=n,this.cases=r,this.outputs=i,this.otherwise=s;}static parse(t,e){if(t.length<5)return e.error(`Expected at least 4 arguments, but found only ${t.length-1}.`);if(t.length%2!=1)return e.error("Expected an even number of arguments.");let n,r;e.expectedType&&"value"!==e.expectedType.kind&&(r=e.expectedType);const i={},s=[];for(let o=2;oNumber.MAX_SAFE_INTEGER)return u.error(`Branch labels must be integers no larger than ${Number.MAX_SAFE_INTEGER}.`);if("number"==typeof t&&Math.floor(t)!==t)return u.error("Numeric branch labels must be integer values.");if(n){if(u.checkSubtype(n,qe(t)))return null}else n=qe(t);if(void 0!==i[String(t)])return u.error("Branch labels must be unique.");i[String(t)]=s.length;}const c=e.parse(l,o,r);if(!c)return null;r=r||c.type,s.push(c);}const o=e.parse(t[1],1,qt);if(!o)return null;const a=e.parse(t[t.length-1],t.length-1,r);return a?"value"!==o.type.kind&&e.concat(1).checkSubtype(n,o.type)?null:new on(n,r,o,i,s,a):null}evaluate(t){const e=this.input.evaluate(t);return (qe(e)===this.inputType&&this.outputs[this.cases[e]]||this.otherwise).evaluate(t)}eachChild(t){t(this.input),this.outputs.forEach(t),t(this.otherwise);}outputDefined(){return this.outputs.every((t=>t.outputDefined()))&&this.otherwise.outputDefined()}}class an{constructor(t,e,n){this.type=t,this.branches=e,this.otherwise=n;}static parse(t,e){if(t.length<4)return e.error(`Expected at least 3 arguments, but found only ${t.length-1}.`);if(t.length%2!=0)return e.error("Expected an odd number of arguments.");let n;e.expectedType&&"value"!==e.expectedType.kind&&(n=e.expectedType);const r=[];for(let i=1;ie.outputDefined()))&&this.otherwise.outputDefined()}}class ln{constructor(t,e,n,r){this.type=t,this.input=e,this.beginIndex=n,this.endIndex=r;}static parse(t,e){if(t.length<=2||t.length>=5)return e.error(`Expected 2 or 3 arguments, but found ${t.length-1} instead.`);const n=e.parse(t[1],1,qt),r=e.parse(t[2],2,Ot);if(!n||!r)return null;if(!ne(n.type,[Jt(qt),$t,qt]))return e.error(`Expected first argument to be of type array or string, but found ${Qt(n.type)} instead`);if(4===t.length){const i=e.parse(t[3],3,Ot);return i?new ln(n.type,n,r,i):null}return new ln(n.type,n,r)}evaluate(t){const e=this.input.evaluate(t),n=this.beginIndex.evaluate(t);let r;if(this.endIndex&&(r=this.endIndex.evaluate(t)),re(e,["string"]))return [...e].slice(n,r).join("");if(re(e,["array"]))return e.slice(n,r);throw new Le(`Expected first argument to be of type array or string, but found ${Qt(qe(e))} instead.`)}eachChild(t){t(this.input),t(this.beginIndex),this.endIndex&&t(this.endIndex);}outputDefined(){return !1}}function un(t,e){const n=t.length-1;let r,i,s=0,o=n,a=0;for(;s<=o;)if(a=Math.floor((s+o)/2),r=t[a],i=t[a+1],r<=e){if(a===n||ee))throw new Le("Input is not a number.");o=a-1;}return 0}class cn{constructor(t,e,n){this.type=t,this.input=e,this.labels=[],this.outputs=[];for(const[t,e]of n)this.labels.push(t),this.outputs.push(e);}static parse(t,e){if(t.length-1<4)return e.error(`Expected at least 4 arguments, but found only ${t.length-1}.`);if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");const n=e.parse(t[1],1,Ot);if(!n)return null;const r=[];let i=null;e.expectedType&&"value"!==e.expectedType.kind&&(i=e.expectedType);for(let n=1;n=s)return e.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',a);const u=e.parse(o,l,i);if(!u)return null;i=i||u.type,r.push([s,u]);}return new cn(i,n,r)}evaluate(t){const e=this.labels,n=this.outputs;if(1===e.length)return n[0].evaluate(t);const r=this.input.evaluate(t);if(r<=e[0])return n[0].evaluate(t);const i=e.length;return r>=e[i-1]?n[i-1].evaluate(t):n[un(e,r)].evaluate(t)}eachChild(t){t(this.input);for(const e of this.outputs)t(e);}outputDefined(){return this.outputs.every((t=>t.outputDefined()))}}function hn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var pn,fn,dn=function(){if(fn)return pn;function t(t,e,n,r){this.cx=3*t,this.bx=3*(n-t)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(r-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=t,this.p1y=e,this.p2x=n,this.p2y=r;}return fn=1,pn=t,t.prototype={sampleCurveX:function(t){return ((this.ax*t+this.bx)*t+this.cx)*t},sampleCurveY:function(t){return ((this.ay*t+this.by)*t+this.cy)*t},sampleCurveDerivativeX:function(t){return (3*this.ax*t+2*this.bx)*t+this.cx},solveCurveX:function(t,e){if(void 0===e&&(e=1e-6),t<0)return 0;if(t>1)return 1;for(var n=t,r=0;r<8;r++){var i=this.sampleCurveX(n)-t;if(Math.abs(i)i?o=n:a=n,n=.5*(a-o)+o;return n},solve:function(t,e){return this.sampleCurveY(this.solveCurveX(t,e))}},pn}(),yn=hn(dn);class mn{constructor(t,e,n,r,i){this.type=t,this.operator=e,this.interpolation=n,this.input=r,this.labels=[],this.outputs=[];for(const[t,e]of i)this.labels.push(t),this.outputs.push(e);}static interpolationFactor(t,e,n,r){let i=0;if("exponential"===t.name)i=gn(e,t.base,n,r);else if("linear"===t.name)i=gn(e,1,n,r);else if("cubic-bezier"===t.name){const s=t.controlPoints;i=new yn(s[0],s[1],s[2],s[3]).solve(gn(e,1,n,r));}return i}static parse(t,e){let[n,r,i,...s]=t;if(!Array.isArray(r)||0===r.length)return e.error("Expected an interpolation type expression.",1);if("linear"===r[0])r={name:"linear"};else if("exponential"===r[0]){const t=r[1];if("number"!=typeof t)return e.error("Exponential interpolation requires a numeric base.",1,1);r={name:"exponential",base:t};}else {if("cubic-bezier"!==r[0])return e.error(`Unknown interpolation type ${String(r[0])}`,1,0);{const t=r.slice(1);if(4!==t.length||t.some((t=>"number"!=typeof t||t<0||t>1)))return e.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);r={name:"cubic-bezier",controlPoints:t};}}if(t.length-1<4)return e.error(`Expected at least 4 arguments, but found only ${t.length-1}.`);if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");if(i=e.parse(i,2,Ot),!i)return null;const o=[];let a=null;"interpolate-hcl"!==n&&"interpolate-lab"!==n||e.expectedType==Zt?e.expectedType&&"value"!==e.expectedType.kind&&(a=e.expectedType):a=Nt;for(let t=0;t=n)return e.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',i);const u=e.parse(r,l,a);if(!u)return null;a=a||u.type,o.push([n,u]);}return ie(a,Ot)||ie(a,Ut)||ie(a,Nt)||ie(a,Yt)||ie(a,Ht)||ie(a,Zt)||ie(a,Kt)||ie(a,Jt(Ot))?new mn(a,n,r,i,o):e.error(`Type ${Qt(a)} is not interpolatable.`)}evaluate(t){const e=this.labels,n=this.outputs;if(1===e.length)return n[0].evaluate(t);const r=this.input.evaluate(t);if(r<=e[0])return n[0].evaluate(t);const i=e.length;if(r>=e[i-1])return n[i-1].evaluate(t);const s=un(e,r),o=mn.interpolationFactor(this.interpolation,r,e[s],e[s+1]),a=n[s].evaluate(t),l=n[s+1].evaluate(t);switch(this.operator){case "interpolate":switch(this.type.kind){case "number":return Ie(a,l,o);case "color":return Te.interpolate(a,l,o);case "padding":return Be.interpolate(a,l,o);case "colorArray":return Ve.interpolate(a,l,o);case "numberArray":return Ce.interpolate(a,l,o);case "variableAnchorOffsetCollection":return $e.interpolate(a,l,o);case "array":return Ee(a,l,o);case "projectionDefinition":return Ne.interpolate(a,l,o)}case "interpolate-hcl":switch(this.type.kind){case "color":return Te.interpolate(a,l,o,"hcl");case "colorArray":return Ve.interpolate(a,l,o,"hcl")}case "interpolate-lab":switch(this.type.kind){case "color":return Te.interpolate(a,l,o,"lab");case "colorArray":return Ve.interpolate(a,l,o,"lab")}}}eachChild(t){t(this.input);for(const e of this.outputs)t(e);}outputDefined(){return this.outputs.every((t=>t.outputDefined()))}}function gn(t,e,n,r){const i=r-n,s=t-n;return 0===i?0:1===e?s/i:(Math.pow(e,s)-1)/(Math.pow(e,i)-1)}const xn={color:Te.interpolate,number:Ie,padding:Be.interpolate,numberArray:Ce.interpolate,colorArray:Ve.interpolate,variableAnchorOffsetCollection:$e.interpolate,array:Ee};class vn{constructor(t,e){this.type=t,this.args=e;}static parse(t,e){if(t.length<2)return e.error("Expected at least one argument.");let n=null;const r=e.expectedType;r&&"value"!==r.kind&&(n=r);const i=[];for(const r of t.slice(1)){const t=e.parse(r,1+i.length,n,void 0,{typeAnnotation:"omit"});if(!t)return null;n=n||t.type,i.push(t);}if(!n)throw new Error("No output type");const s=r&&i.some((t=>ee(r,t.type)));return new vn(s?qt:n,i)}evaluate(t){let e,n=null,r=0;for(const i of this.args)if(r++,n=i.evaluate(t),n&&n instanceof Re&&!n.available&&(e||(e=n.name),n=null,r===this.args.length&&(n=e)),null!==n)break;return n}eachChild(t){this.args.forEach(t);}outputDefined(){return this.args.every((t=>t.outputDefined()))}}function bn(t,e){return "=="===t||"!="===t?"boolean"===e.kind||"string"===e.kind||"number"===e.kind||"null"===e.kind||"value"===e.kind:"string"===e.kind||"number"===e.kind||"value"===e.kind}function wn(t,e,n,r){return 0===r.compare(e,n)}function _n(t,e,n){const r="=="!==t&&"!="!==t;return class i{constructor(t,e,n){this.type=Rt,this.lhs=t,this.rhs=e,this.collator=n,this.hasUntypedArgument="value"===t.type.kind||"value"===e.type.kind;}static parse(t,e){if(3!==t.length&&4!==t.length)return e.error("Expected two or three arguments.");const n=t[0];let s=e.parse(t[1],1,qt);if(!s)return null;if(!bn(n,s.type))return e.concat(1).error(`"${n}" comparisons are not supported for type '${Qt(s.type)}'.`);let o=e.parse(t[2],2,qt);if(!o)return null;if(!bn(n,o.type))return e.concat(2).error(`"${n}" comparisons are not supported for type '${Qt(o.type)}'.`);if(s.type.kind!==o.type.kind&&"value"!==s.type.kind&&"value"!==o.type.kind)return e.error(`Cannot compare types '${Qt(s.type)}' and '${Qt(o.type)}'.`);r&&("value"===s.type.kind&&"value"!==o.type.kind?s=new Ze(o.type,[s]):"value"!==s.type.kind&&"value"===o.type.kind&&(o=new Ze(s.type,[o])));let a=null;if(4===t.length){if("string"!==s.type.kind&&"string"!==o.type.kind&&"value"!==s.type.kind&&"value"!==o.type.kind)return e.error("Cannot use collator to compare non-string types.");if(a=e.parse(t[3],3,Gt),!a)return null}return new i(s,o,a)}evaluate(i){const s=this.lhs.evaluate(i),o=this.rhs.evaluate(i);if(r&&this.hasUntypedArgument){const e=qe(s),n=qe(o);if(e.kind!==n.kind||"string"!==e.kind&&"number"!==e.kind)throw new Le(`Expected arguments for "${t}" to be (string, string) or (number, number), but found (${e.kind}, ${n.kind}) instead.`)}if(this.collator&&!r&&this.hasUntypedArgument){const t=qe(s),n=qe(o);if("string"!==t.kind||"string"!==n.kind)return e(i,s,o)}return this.collator?n(i,s,o,this.collator.evaluate(i)):e(i,s,o)}eachChild(t){t(this.lhs),t(this.rhs),this.collator&&t(this.collator);}outputDefined(){return !0}}}const Sn=_n("==",(function(t,e,n){return e===n}),wn),An=_n("!=",(function(t,e,n){return e!==n}),(function(t,e,n,r){return !wn(0,e,n,r)})),Mn=_n("<",(function(t,e,n){return e",(function(t,e,n){return e>n}),(function(t,e,n,r){return r.compare(e,n)>0})),In=_n("<=",(function(t,e,n){return e<=n}),(function(t,e,n,r){return r.compare(e,n)<=0})),En=_n(">=",(function(t,e,n){return e>=n}),(function(t,e,n,r){return r.compare(e,n)>=0}));class Tn{constructor(t,e,n){this.type=Gt,this.locale=n,this.caseSensitive=t,this.diacriticSensitive=e;}static parse(t,e){if(2!==t.length)return e.error("Expected one argument.");const n=t[1];if("object"!=typeof n||Array.isArray(n))return e.error("Collator options argument must be an object.");const r=e.parse(void 0!==n["case-sensitive"]&&n["case-sensitive"],1,Rt);if(!r)return null;const i=e.parse(void 0!==n["diacritic-sensitive"]&&n["diacritic-sensitive"],1,Rt);if(!i)return null;let s=null;return n.locale&&(s=e.parse(n.locale,1,$t),!s)?null:new Tn(r,i,s)}evaluate(t){return new Fe(this.caseSensitive.evaluate(t),this.diacriticSensitive.evaluate(t),this.locale?this.locale.evaluate(t):null)}eachChild(t){t(this.caseSensitive),t(this.diacriticSensitive),this.locale&&t(this.locale);}outputDefined(){return !1}}class Fn{constructor(t,e,n,r,i,s){this.type=$t,this.number=t,this.locale=e,this.currency=n,this.unit=r,this.minFractionDigits=i,this.maxFractionDigits=s;}static parse(t,e){if(3!==t.length)return e.error("Expected two arguments.");const n=e.parse(t[1],1,Ot);if(!n)return null;const r=t[2];if("object"!=typeof r||Array.isArray(r))return e.error("NumberFormat options argument must be an object.");let i=null;if(r.locale&&(i=e.parse(r.locale,1,$t),!i))return null;let s=null;if(r.currency&&(s=e.parse(r.currency,1,$t),!s))return null;let o=null;if(r.unit&&(o=e.parse(r.unit,1,$t),!o))return null;if(s&&o)return e.error("NumberFormat options `currency` and `unit` are mutually exclusive");let a=null;if(r["min-fraction-digits"]&&(a=e.parse(r["min-fraction-digits"],1,Ot),!a))return null;let l=null;return r["max-fraction-digits"]&&(l=e.parse(r["max-fraction-digits"],1,Ot),!l)?null:new Fn(n,i,s,o,a,l)}evaluate(t){return new Intl.NumberFormat(this.locale?this.locale.evaluate(t):[],{style:this.currency?"currency":this.unit?"unit":"decimal",currency:this.currency?this.currency.evaluate(t):void 0,unit:this.unit?this.unit.evaluate(t):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(t):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(t):void 0}).format(this.number.evaluate(t))}eachChild(t){t(this.number),this.locale&&t(this.locale),this.currency&&t(this.currency),this.unit&&t(this.unit),this.minFractionDigits&&t(this.minFractionDigits),this.maxFractionDigits&&t(this.maxFractionDigits);}outputDefined(){return !1}}class Pn{constructor(t){this.type=Xt,this.sections=t;}static parse(t,e){if(t.length<2)return e.error("Expected at least one argument.");const n=t[1];if(!Array.isArray(n)&&"object"==typeof n)return e.error("First argument must be an image or text section.");const r=[];let i=!1;for(let n=1;n<=t.length-1;++n){const s=t[n];if(i&&"object"==typeof s&&!Array.isArray(s)){i=!1;let t=null;if(s["font-scale"]&&(t=e.parse(s["font-scale"],1,Ot),!t))return null;let n=null;if(s["text-font"]&&(n=e.parse(s["text-font"],1,Jt($t)),!n))return null;let o=null;if(s["text-color"]&&(o=e.parse(s["text-color"],1,Nt),!o))return null;let a=null;if(s["vertical-align"]){if("string"==typeof s["vertical-align"]&&!Pe.includes(s["vertical-align"]))return e.error(`'vertical-align' must be one of: 'bottom', 'center', 'top' but found '${s["vertical-align"]}' instead.`);if(a=e.parse(s["vertical-align"],1,$t),!a)return null}const l=r[r.length-1];l.scale=t,l.font=n,l.textColor=o,l.verticalAlign=a;}else {const s=e.parse(t[n],1,qt);if(!s)return null;const o=s.type.kind;if("string"!==o&&"value"!==o&&"null"!==o&&"resolvedImage"!==o)return e.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");i=!0,r.push({content:s,scale:null,font:null,textColor:null,verticalAlign:null});}}return new Pn(r)}evaluate(t){return new ze(this.sections.map((e=>{const n=e.content.evaluate(t);return qe(n)===Wt?new De("",n,null,null,null,e.verticalAlign?e.verticalAlign.evaluate(t):null):new De(Ge(n),null,e.scale?e.scale.evaluate(t):null,e.font?e.font.evaluate(t).join(","):null,e.textColor?e.textColor.evaluate(t):null,e.verticalAlign?e.verticalAlign.evaluate(t):null)})))}eachChild(t){for(const e of this.sections)t(e.content),e.scale&&t(e.scale),e.font&&t(e.font),e.textColor&&t(e.textColor),e.verticalAlign&&t(e.verticalAlign);}outputDefined(){return !1}}class Dn{constructor(t){this.type=Wt,this.input=t;}static parse(t,e){if(2!==t.length)return e.error("Expected two arguments.");const n=e.parse(t[1],1,$t);return n?new Dn(n):e.error("No image name provided.")}evaluate(t){const e=this.input.evaluate(t),n=Re.fromString(e);return n&&t.availableImages&&(n.available=t.availableImages.indexOf(e)>-1),n}eachChild(t){t(this.input);}outputDefined(){return !1}}class zn{constructor(t){this.type=Ot,this.input=t;}static parse(t,e){if(2!==t.length)return e.error(`Expected 1 argument, but found ${t.length-1} instead.`);const n=e.parse(t[1],1);return n?"array"!==n.type.kind&&"string"!==n.type.kind&&"value"!==n.type.kind?e.error(`Expected argument of type string or array, but found ${Qt(n.type)} instead.`):new zn(n):null}evaluate(t){const e=this.input.evaluate(t);if("string"==typeof e)return [...e].length;if(Array.isArray(e))return e.length;throw new Le(`Expected value to be of type string or array, but found ${Qt(qe(e))} instead.`)}eachChild(t){t(this.input);}outputDefined(){return !1}}const Bn=8192;function Cn(t,e){const n=(180+t[0])/360,r=(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+t[1]*Math.PI/360)))/360,i=Math.pow(2,e.z);return [Math.round(n*i*Bn),Math.round(r*i*Bn)]}function Vn(t,e){const n=Math.pow(2,e.z);return [(i=(t[0]/Bn+e.x)/n,360*i-180),(r=(t[1]/Bn+e.y)/n,360/Math.PI*Math.atan(Math.exp((180-360*r)*Math.PI/180))-90)];var r,i;}function Ln(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.max(t[2],e[0]),t[3]=Math.max(t[3],e[1]);}function On(t,e){return !(t[0]<=e[0]||t[2]>=e[2]||t[1]<=e[1]||t[3]>=e[3])}function $n(t,e,n){const r=t[0]-e[0],i=t[1]-e[1],s=t[0]-n[0],o=t[1]-n[1];return r*o-s*i==0&&r*s<=0&&i*o<=0}function Rn(t,e,n,r){return 0!=(i=[r[0]-n[0],r[1]-n[1]])[0]*(s=[e[0]-t[0],e[1]-t[1]])[1]-i[1]*s[0]&&!(!Xn(t,e,n,r)||!Xn(n,r,t,e));var i,s;}function Nn(t,e,n){for(const r of n)for(let n=0;n(i=t)[1]!=(o=a[e+1])[1]>i[1]&&i[0]<(o[0]-s[0])*(i[1]-s[1])/(o[1]-s[1])+s[0]&&(r=!r);}var i,s,o;return r}function jn(t,e){for(const n of e)if(Un(t,n))return !0;return !1}function qn(t,e){for(const n of t)if(!Un(n,e))return !1;for(let n=0;n0&&a<0||o<0&&a>0}function Yn(t,e,n){const r=[];for(let i=0;in[2]){const e=.5*r;let i=t[0]-n[0]>e?-r:n[0]-t[0]>e?r:0;0===i&&(i=t[0]-n[2]>e?-r:n[2]-t[0]>e?r:0),t[0]+=i;}Ln(e,t);}function Wn(t,e,n,r){const i=Math.pow(2,r.z)*Bn,s=[r.x*Bn,r.y*Bn],o=[];for(const r of t)for(const t of r){const r=[t.x+s[0],t.y+s[1]];Hn(r,e,n,i),o.push(r);}return o}function Kn(t,e,n,r){const i=Math.pow(2,r.z)*Bn,s=[r.x*Bn,r.y*Bn],o=[];for(const n of t){const t=[];for(const r of n){const n=[r.x+s[0],r.y+s[1]];Ln(e,n),t.push(n);}o.push(t);}if(e[2]-e[0]<=i/2){(a=e)[0]=a[1]=1/0,a[2]=a[3]=-1/0;for(const t of o)for(const r of t)Hn(r,e,n,i);}var a;return o}class Jn{constructor(t,e){this.type=Rt,this.geojson=t,this.geometries=e;}static parse(t,e){if(2!==t.length)return e.error(`'within' expression requires exactly one argument, but found ${t.length-1} instead.`);if(je(t[1])){const e=t[1];if("FeatureCollection"===e.type){const t=[];for(const n of e.features){const{type:e,coordinates:r}=n.geometry;"Polygon"===e&&t.push(r),"MultiPolygon"===e&&t.push(...r);}if(t.length)return new Jn(e,{type:"MultiPolygon",coordinates:t})}else if("Feature"===e.type){const t=e.geometry.type;if("Polygon"===t||"MultiPolygon"===t)return new Jn(e,e.geometry)}else if("Polygon"===e.type||"MultiPolygon"===e.type)return new Jn(e,e)}return e.error("'within' expression requires valid geojson object that contains polygon geometry type.")}evaluate(t){if(null!=t.geometry()&&null!=t.canonicalID()){if("Point"===t.geometryType())return function(t,e){const n=[1/0,1/0,-1/0,-1/0],r=[1/0,1/0,-1/0,-1/0],i=t.canonicalID();if("Polygon"===e.type){const s=Yn(e.coordinates,r,i),o=Wn(t.geometry(),n,r,i);if(!On(n,r))return !1;for(const t of o)if(!Un(t,s))return !1}if("MultiPolygon"===e.type){const s=Zn(e.coordinates,r,i),o=Wn(t.geometry(),n,r,i);if(!On(n,r))return !1;for(const t of o)if(!jn(t,s))return !1}return !0}(t,this.geometries);if("LineString"===t.geometryType())return function(t,e){const n=[1/0,1/0,-1/0,-1/0],r=[1/0,1/0,-1/0,-1/0],i=t.canonicalID();if("Polygon"===e.type){const s=Yn(e.coordinates,r,i),o=Kn(t.geometry(),n,r,i);if(!On(n,r))return !1;for(const t of o)if(!qn(t,s))return !1}if("MultiPolygon"===e.type){const s=Zn(e.coordinates,r,i),o=Kn(t.geometry(),n,r,i);if(!On(n,r))return !1;for(const t of o)if(!Gn(t,s))return !1}return !0}(t,this.geometries)}return !1}eachChild(){}outputDefined(){return !0}}let Qn=class{constructor(t=[],e=(t,e)=>te?1:0){if(this.data=t,this.length=this.data.length,this.compare=e,this.length>0)for(let t=(this.length>>1)-1;t>=0;t--)this._down(t);}push(t){this.data.push(t),this._up(this.length++);}pop(){if(0===this.length)return;const t=this.data[0],e=this.data.pop();return --this.length>0&&(this.data[0]=e,this._down(0)),t}peek(){return this.data[0]}_up(t){const{data:e,compare:n}=this,r=e[t];for(;t>0;){const i=t-1>>1,s=e[i];if(n(r,s)>=0)break;e[t]=s,t=i;}e[t]=r;}_down(t){const{data:e,compare:n}=this,r=this.length>>1,i=e[t];for(;t=0)break;e[t]=e[r],t=r;}e[t]=i;}};function tr(t,e,n=0,r=t.length-1,i=nr){for(;r>n;){if(r-n>600){const s=r-n+1,o=e-n+1,a=Math.log(s),l=.5*Math.exp(2*a/3),u=.5*Math.sqrt(a*l*(s-l)/s)*(o-s/2<0?-1:1);tr(t,e,Math.max(n,Math.floor(e-o*l/s+u)),Math.min(r,Math.floor(e+(s-o)*l/s+u)),i);}const s=t[e];let o=n,a=r;for(er(t,n,e),i(t[r],s)>0&&er(t,n,r);o0;)a--;}0===i(t[n],s)?er(t,n,a):(a++,er(t,a,r)),a<=e&&(n=a+1),e<=a&&(r=a-1);}}function er(t,e,n){const r=t[e];t[e]=t[n],t[n]=r;}function nr(t,e){return te?1:0}function rr(t,e){if(t.length<=1)return [t];const n=[];let r,i;for(const e of t){const t=sr(e);0!==t&&(e.area=Math.abs(t),void 0===i&&(i=t<0),i===t<0?(r&&n.push(r),r=[e]):r.push(e));}if(r&&n.push(r),e>1)for(let t=0;t1?(l=t[a+1][0],u=t[a+1][1]):p>0&&(l+=c/this.kx*p,u+=h/this.ky*p)),c=this.wrap(e[0]-l)*this.kx,h=(e[1]-u)*this.ky;const f=c*c+h*h;f180;)t-=360;return t}}function cr(t,e){return e[0]-t[0]}function hr(t){return t[1]-t[0]+1}function pr(t,e){return t[1]>=t[0]&&t[1]t[1])return [null,null];const n=hr(t);if(e){if(2===n)return [t,null];const e=Math.floor(n/2);return [[t[0],t[0]+e],[t[0]+e,t[1]]]}if(1===n)return [t,null];const r=Math.floor(n/2)-1;return [[t[0],t[0]+r],[t[0]+r+1,t[1]]]}function dr(t,e){if(!pr(e,t.length))return [1/0,1/0,-1/0,-1/0];const n=[1/0,1/0,-1/0,-1/0];for(let r=e[0];r<=e[1];++r)Ln(n,t[r]);return n}function yr(t){const e=[1/0,1/0,-1/0,-1/0];for(const n of t)for(const t of n)Ln(e,t);return e}function mr(t){return t[0]!==-1/0&&t[1]!==-1/0&&t[2]!==1/0&&t[3]!==1/0}function gr(t,e,n){if(!mr(t)||!mr(e))return NaN;let r=0,i=0;return t[2]e[2]&&(r=t[0]-e[2]),t[1]>e[3]&&(i=t[1]-e[3]),t[3]=r)return r;if(On(i,s)){if(Ar(t,e))return 0}else if(Ar(e,t))return 0;let o=1/0;for(const r of t)for(let t=0,i=r.length,s=i-1;t0;){const i=o.pop();if(i[0]>=s)continue;const l=i[1],u=e?50:100;if(hr(l)<=u){if(!pr(l,t.length))return NaN;if(e){const e=Sr(t,l,n,r);if(isNaN(e)||0===e)return e;s=Math.min(s,e);}else for(let e=l[0];e<=l[1];++e){const i=_r(t[e],n,r);if(s=Math.min(s,i),0===s)return 0}}else {const n=fr(l,e);kr(o,s,r,t,a,n[0]),kr(o,s,r,t,a,n[1]);}}return s}function Tr(t,e,n,r,i,s=1/0){let o=Math.min(s,i.distance(t[0],n[0]));if(0===o)return o;const a=new Qn([[0,[0,t.length-1],[0,n.length-1]]],cr);for(;a.length>0;){const s=a.pop();if(s[0]>=o)continue;const l=s[1],u=s[2],c=e?50:100,h=r?50:100;if(hr(l)<=c&&hr(u)<=h){if(!pr(l,t.length)&&pr(u,n.length))return NaN;let s;if(e&&r)s=br(t,l,n,u,i),o=Math.min(o,s);else if(e&&!r){const e=t.slice(l[0],l[1]+1);for(let t=u[0];t<=u[1];++t)if(s=xr(n[t],e,i),o=Math.min(o,s),0===o)return o}else if(!e&&r){const e=n.slice(u[0],u[1]+1);for(let n=l[0];n<=l[1];++n)if(s=xr(t[n],e,i),o=Math.min(o,s),0===o)return o}else s=wr(t,l,n,u,i),o=Math.min(o,s);}else {const s=fr(l,e),c=fr(u,r);Ir(a,o,i,t,n,s[0],c[0]),Ir(a,o,i,t,n,s[0],c[1]),Ir(a,o,i,t,n,s[1],c[0]),Ir(a,o,i,t,n,s[1],c[1]);}}return o}function Fr(t){return "MultiPolygon"===t.type?t.coordinates.map((t=>({type:"Polygon",coordinates:t}))):"MultiLineString"===t.type?t.coordinates.map((t=>({type:"LineString",coordinates:t}))):"MultiPoint"===t.type?t.coordinates.map((t=>({type:"Point",coordinates:t}))):[t]}class Pr{constructor(t,e){this.type=Ot,this.geojson=t,this.geometries=e;}static parse(t,e){if(2!==t.length)return e.error(`'distance' expression requires exactly one argument, but found ${t.length-1} instead.`);if(je(t[1])){const e=t[1];if("FeatureCollection"===e.type)return new Pr(e,e.features.map((t=>Fr(t.geometry))).flat());if("Feature"===e.type)return new Pr(e,Fr(e.geometry));if("type"in e&&"coordinates"in e)return new Pr(e,Fr(e))}return e.error("'distance' expression requires valid geojson object that contains polygon geometry type.")}evaluate(t){if(null!=t.geometry()&&null!=t.canonicalID()){if("Point"===t.geometryType())return function(t,e){const n=t.geometry(),r=n.flat().map((e=>Vn([e.x,e.y],t.canonical)));if(0===n.length)return NaN;const i=new ur(r[0][1]);let s=1/0;for(const t of e){switch(t.type){case "Point":s=Math.min(s,Tr(r,!1,[t.coordinates],!1,i,s));break;case "LineString":s=Math.min(s,Tr(r,!1,t.coordinates,!0,i,s));break;case "Polygon":s=Math.min(s,Er(r,!1,t.coordinates,i,s));}if(0===s)return s}return s}(t,this.geometries);if("LineString"===t.geometryType())return function(t,e){const n=t.geometry(),r=n.flat().map((e=>Vn([e.x,e.y],t.canonical)));if(0===n.length)return NaN;const i=new ur(r[0][1]);let s=1/0;for(const t of e){switch(t.type){case "Point":s=Math.min(s,Tr(r,!0,[t.coordinates],!1,i,s));break;case "LineString":s=Math.min(s,Tr(r,!0,t.coordinates,!0,i,s));break;case "Polygon":s=Math.min(s,Er(r,!0,t.coordinates,i,s));}if(0===s)return s}return s}(t,this.geometries);if("Polygon"===t.geometryType())return function(t,e){const n=t.geometry();if(0===n.length||0===n[0].length)return NaN;const r=rr(n,0).map((e=>e.map((e=>e.map((e=>Vn([e.x,e.y],t.canonical))))))),i=new ur(r[0][0][0][1]);let s=1/0;for(const t of e)for(const e of r){switch(t.type){case "Point":s=Math.min(s,Er([t.coordinates],!1,e,i,s));break;case "LineString":s=Math.min(s,Er(t.coordinates,!0,e,i,s));break;case "Polygon":s=Math.min(s,Mr(e,t.coordinates,i,s));}if(0===s)return s}return s}(t,this.geometries)}return NaN}eachChild(){}outputDefined(){return !0}}class Dr{constructor(t){this.type=qt,this.key=t;}static parse(t,e){if(2!==t.length)return e.error(`Expected 1 argument, but found ${t.length-1} instead.`);const n=t[1];return null==n?e.error("Global state property must be defined."):"string"!=typeof n?e.error(`Global state property must be string, but found ${typeof t[1]} instead.`):new Dr(n)}evaluate(t){var e;const n=null===(e=t.globals)||void 0===e?void 0:e.globalState;return n&&0!==Object.keys(n).length?we(n,this.key):null}eachChild(){}outputDefined(){return !1}}const zr={"==":Sn,"!=":An,">":kn,"<":Mn,">=":En,"<=":In,array:Ze,at:nn,boolean:Ze,case:an,coalesce:vn,collator:Tn,format:Pn,image:Dn,in:rn,"index-of":sn,interpolate:mn,"interpolate-hcl":mn,"interpolate-lab":mn,length:zn,let:tn,literal:Xe,match:on,number:Ze,"number-format":Fn,object:Ze,slice:ln,step:cn,string:Ze,"to-boolean":We,"to-color":We,"to-number":We,"to-string":We,var:en,within:Jn,distance:Pr,"global-state":Dr};class Br{constructor(t,e,n,r){this.name=t,this.type=e,this._evaluate=n,this.args=r;}evaluate(t){return this._evaluate(t,this.args)}eachChild(t){this.args.forEach(t);}outputDefined(){return !1}static parse(t,e){const n=t[0],r=Br.definitions[n];if(!r)return e.error(`Unknown expression "${n}". If you wanted a literal array, use ["literal", [...]].`,0);const i=Array.isArray(r)?r[0]:r.type,s=Array.isArray(r)?[[r[1],r[2]]]:r.overloads,o=s.filter((([e])=>!Array.isArray(e)||e.length===t.length-1));let a=null;for(const[r,s]of o){a=new Qe(e.registry,$r,e.path,null,e.scope);const o=[];let l=!1;for(let e=1;e{return e=t,Array.isArray(e)?`(${e.map(Qt).join(", ")})`:`(${Qt(e.type)}...)`;var e;})).join(" | "),r=[];for(let n=1;n{n=e?n&&$r(t):n&&t instanceof Xe;})),!!n&&Rr(t)&&Ur(t,["zoom","heatmap-density","elevation","line-progress","accumulated","is-supported-script"])}function Rr(t){if(t instanceof Br){if("get"===t.name&&1===t.args.length)return !1;if("feature-state"===t.name)return !1;if("has"===t.name&&1===t.args.length)return !1;if("properties"===t.name||"geometry-type"===t.name||"id"===t.name)return !1;if(/^filter-/.test(t.name))return !1}if(t instanceof Jn)return !1;if(t instanceof Pr)return !1;let e=!0;return t.eachChild((t=>{e&&!Rr(t)&&(e=!1);})),e}function Nr(t){if(t instanceof Br&&"feature-state"===t.name)return !1;let e=!0;return t.eachChild((t=>{e&&!Nr(t)&&(e=!1);})),e}function Ur(t,e){if(t instanceof Br&&e.indexOf(t.name)>=0)return !1;let n=!0;return t.eachChild((t=>{n&&!Ur(t,e)&&(n=!1);})),n}function jr(t){return {result:"success",value:t}}function qr(t){return {result:"error",value:t}}function Gr(t){return "data-driven"===t["property-type"]||"cross-faded-data-driven"===t["property-type"]}function Xr(t){return !!t.expression&&t.expression.parameters.indexOf("zoom")>-1}function Yr(t){return !!t.expression&&t.expression.interpolated}function Zr(t){return t instanceof Number?"number":t instanceof String?"string":t instanceof Boolean?"boolean":Array.isArray(t)?"array":null===t?"null":typeof t}function Hr(t){return "object"==typeof t&&null!==t&&!Array.isArray(t)&&qe(t)===jt}function Wr(t){return t}function Kr(t,e){const n=t.stops&&"object"==typeof t.stops[0][0],r=n||!(n||void 0!==t.property),i=t.type||(Yr(e)?"exponential":"interval"),s=function(t){switch(t.type){case "color":return Te.parse;case "padding":return Be.parse;case "numberArray":return Ce.parse;case "colorArray":return Ve.parse;default:return null}}(e);if(s&&((t=Bt({},t)).stops&&(t.stops=t.stops.map((t=>[t[0],s(t[1])]))),t.default=s(t.default?t.default:e.default)),t.colorSpace&&"rgb"!==(o=t.colorSpace)&&"hcl"!==o&&"lab"!==o)throw new Error(`Unknown color space: "${t.colorSpace}"`);var o;const a=function(t){switch(t){case "exponential":return ei;case "interval":return ti;case "categorical":return Qr;case "identity":return ni;default:throw new Error(`Unknown function type "${t}"`)}}(i);let l,u;if("categorical"===i){l=Object.create(null);for(const e of t.stops)l[e[0]]=e[1];u=typeof t.stops[0][0];}if(n){const n={},r=[];for(let e=0;et[0])),evaluate:({zoom:n},r)=>ei({stops:i,base:t.base},e,n).evaluate(n,r)}}if(r){const n="exponential"===i?{name:"exponential",base:void 0!==t.base?t.base:1}:null;return {kind:"camera",interpolationType:n,interpolationFactor:mn.interpolationFactor.bind(void 0,n),zoomStops:t.stops.map((t=>t[0])),evaluate:({zoom:n})=>a(t,e,n,l,u)}}return {kind:"source",evaluate(n,r){const i=r&&r.properties?r.properties[t.property]:void 0;return void 0===i?Jr(t.default,e.default):a(t,e,i,l,u)}}}function Jr(t,e,n){return void 0!==t?t:void 0!==e?e:void 0!==n?n:void 0}function Qr(t,e,n,r,i){return Jr(typeof n===i?r[n]:void 0,t.default,e.default)}function ti(t,e,n){if("number"!==Zr(n))return Jr(t.default,e.default);const r=t.stops.length;if(1===r)return t.stops[0][1];if(n<=t.stops[0][0])return t.stops[0][1];if(n>=t.stops[r-1][0])return t.stops[r-1][1];const i=un(t.stops.map((t=>t[0])),n);return t.stops[i][1]}function ei(t,e,n){const r=void 0!==t.base?t.base:1;if("number"!==Zr(n))return Jr(t.default,e.default);const i=t.stops.length;if(1===i)return t.stops[0][1];if(n<=t.stops[0][0])return t.stops[0][1];if(n>=t.stops[i-1][0])return t.stops[i-1][1];const s=un(t.stops.map((t=>t[0])),n),o=function(t,e,n,r){const i=r-n,s=t-n;return 0===i?0:1===e?s/i:(Math.pow(e,s)-1)/(Math.pow(e,i)-1)}(n,r,t.stops[s][0],t.stops[s+1][0]),a=t.stops[s][1],l=t.stops[s+1][1],u=xn[e.type]||Wr;return "function"==typeof a.evaluate?{evaluate(...e){const n=a.evaluate.apply(void 0,e),r=l.evaluate.apply(void 0,e);if(void 0!==n&&void 0!==r)return u(n,r,o,t.colorSpace)}}:u(a,l,o,t.colorSpace)}function ni(t,e,n){switch(e.type){case "color":n=Te.parse(n);break;case "formatted":n=ze.fromString(n.toString());break;case "resolvedImage":n=Re.fromString(n.toString());break;case "padding":n=Be.parse(n);break;case "colorArray":n=Ve.parse(n);break;case "numberArray":n=Ce.parse(n);break;default:Zr(n)===e.type||"enum"===e.type&&e.values[n]||(n=void 0);}return Jr(n,t.default,e.default)}Br.register(zr,{error:[{kind:"error"},[$t],(t,[e])=>{throw new Le(e.evaluate(t))}],typeof:[$t,[qt],(t,[e])=>Qt(qe(e.evaluate(t)))],"to-rgba":[Jt(Ot,4),[Nt],(t,[e])=>{const[n,r,i,s]=e.evaluate(t).rgb;return [255*n,255*r,255*i,s]}],rgb:[Nt,[Ot,Ot,Ot],Cr],rgba:[Nt,[Ot,Ot,Ot,Ot],Cr],has:{type:Rt,overloads:[[[$t],(t,[e])=>Vr(e.evaluate(t),t.properties())],[[$t,jt],(t,[e,n])=>Vr(e.evaluate(t),n.evaluate(t))]]},get:{type:qt,overloads:[[[$t],(t,[e])=>Lr(e.evaluate(t),t.properties())],[[$t,jt],(t,[e,n])=>Lr(e.evaluate(t),n.evaluate(t))]]},"feature-state":[qt,[$t],(t,[e])=>Lr(e.evaluate(t),t.featureState||{})],properties:[jt,[],t=>t.properties()],"geometry-type":[$t,[],t=>t.geometryType()],id:[qt,[],t=>t.id()],zoom:[Ot,[],t=>t.globals.zoom],"heatmap-density":[Ot,[],t=>t.globals.heatmapDensity||0],elevation:[Ot,[],t=>t.globals.elevation||0],"line-progress":[Ot,[],t=>t.globals.lineProgress||0],accumulated:[qt,[],t=>void 0===t.globals.accumulated?null:t.globals.accumulated],"+":[Ot,Or(Ot),(t,e)=>{let n=0;for(const r of e)n+=r.evaluate(t);return n}],"*":[Ot,Or(Ot),(t,e)=>{let n=1;for(const r of e)n*=r.evaluate(t);return n}],"-":{type:Ot,overloads:[[[Ot,Ot],(t,[e,n])=>e.evaluate(t)-n.evaluate(t)],[[Ot],(t,[e])=>-e.evaluate(t)]]},"/":[Ot,[Ot,Ot],(t,[e,n])=>e.evaluate(t)/n.evaluate(t)],"%":[Ot,[Ot,Ot],(t,[e,n])=>e.evaluate(t)%n.evaluate(t)],ln2:[Ot,[],()=>Math.LN2],pi:[Ot,[],()=>Math.PI],e:[Ot,[],()=>Math.E],"^":[Ot,[Ot,Ot],(t,[e,n])=>Math.pow(e.evaluate(t),n.evaluate(t))],sqrt:[Ot,[Ot],(t,[e])=>Math.sqrt(e.evaluate(t))],log10:[Ot,[Ot],(t,[e])=>Math.log(e.evaluate(t))/Math.LN10],ln:[Ot,[Ot],(t,[e])=>Math.log(e.evaluate(t))],log2:[Ot,[Ot],(t,[e])=>Math.log(e.evaluate(t))/Math.LN2],sin:[Ot,[Ot],(t,[e])=>Math.sin(e.evaluate(t))],cos:[Ot,[Ot],(t,[e])=>Math.cos(e.evaluate(t))],tan:[Ot,[Ot],(t,[e])=>Math.tan(e.evaluate(t))],asin:[Ot,[Ot],(t,[e])=>Math.asin(e.evaluate(t))],acos:[Ot,[Ot],(t,[e])=>Math.acos(e.evaluate(t))],atan:[Ot,[Ot],(t,[e])=>Math.atan(e.evaluate(t))],min:[Ot,Or(Ot),(t,e)=>Math.min(...e.map((e=>e.evaluate(t))))],max:[Ot,Or(Ot),(t,e)=>Math.max(...e.map((e=>e.evaluate(t))))],abs:[Ot,[Ot],(t,[e])=>Math.abs(e.evaluate(t))],round:[Ot,[Ot],(t,[e])=>{const n=e.evaluate(t);return n<0?-Math.round(-n):Math.round(n)}],floor:[Ot,[Ot],(t,[e])=>Math.floor(e.evaluate(t))],ceil:[Ot,[Ot],(t,[e])=>Math.ceil(e.evaluate(t))],"filter-==":[Rt,[$t,qt],(t,[e,n])=>t.properties()[e.value]===n.value],"filter-id-==":[Rt,[qt],(t,[e])=>t.id()===e.value],"filter-type-==":[Rt,[$t],(t,[e])=>t.geometryType()===e.value],"filter-<":[Rt,[$t,qt],(t,[e,n])=>{const r=t.properties()[e.value],i=n.value;return typeof r==typeof i&&r{const n=t.id(),r=e.value;return typeof n==typeof r&&n":[Rt,[$t,qt],(t,[e,n])=>{const r=t.properties()[e.value],i=n.value;return typeof r==typeof i&&r>i}],"filter-id->":[Rt,[qt],(t,[e])=>{const n=t.id(),r=e.value;return typeof n==typeof r&&n>r}],"filter-<=":[Rt,[$t,qt],(t,[e,n])=>{const r=t.properties()[e.value],i=n.value;return typeof r==typeof i&&r<=i}],"filter-id-<=":[Rt,[qt],(t,[e])=>{const n=t.id(),r=e.value;return typeof n==typeof r&&n<=r}],"filter->=":[Rt,[$t,qt],(t,[e,n])=>{const r=t.properties()[e.value],i=n.value;return typeof r==typeof i&&r>=i}],"filter-id->=":[Rt,[qt],(t,[e])=>{const n=t.id(),r=e.value;return typeof n==typeof r&&n>=r}],"filter-has":[Rt,[qt],(t,[e])=>e.value in t.properties()],"filter-has-id":[Rt,[],t=>null!==t.id()&&void 0!==t.id()],"filter-type-in":[Rt,[Jt($t)],(t,[e])=>e.value.indexOf(t.geometryType())>=0],"filter-id-in":[Rt,[Jt(qt)],(t,[e])=>e.value.indexOf(t.id())>=0],"filter-in-small":[Rt,[$t,Jt(qt)],(t,[e,n])=>n.value.indexOf(t.properties()[e.value])>=0],"filter-in-large":[Rt,[$t,Jt(qt)],(t,[e,n])=>function(t,e,n,r){for(;n<=r;){const i=n+r>>1;if(e[i]===t)return !0;e[i]>t?r=i-1:n=i+1;}return !1}(t.properties()[e.value],n.value,0,n.value.length-1)],all:{type:Rt,overloads:[[[Rt,Rt],(t,[e,n])=>e.evaluate(t)&&n.evaluate(t)],[Or(Rt),(t,e)=>{for(const n of e)if(!n.evaluate(t))return !1;return !0}]]},any:{type:Rt,overloads:[[[Rt,Rt],(t,[e,n])=>e.evaluate(t)||n.evaluate(t)],[Or(Rt),(t,e)=>{for(const n of e)if(n.evaluate(t))return !0;return !1}]]},"!":[Rt,[Rt],(t,[e])=>!e.evaluate(t)],"is-supported-script":[Rt,[$t],(t,[e])=>{const n=t.globals&&t.globals.isSupportedScript;return !n||n(e.evaluate(t))}],upcase:[$t,[$t],(t,[e])=>e.evaluate(t).toUpperCase()],downcase:[$t,[$t],(t,[e])=>e.evaluate(t).toLowerCase()],concat:[$t,Or(qt),(t,e)=>e.map((e=>Ge(e.evaluate(t)))).join("")],split:[Jt($t),[$t,$t],(t,[e,n])=>e.evaluate(t).split(n.evaluate(t))],join:[$t,[Jt($t),$t],(t,[e,n])=>e.evaluate(t).join(n.evaluate(t))],"resolved-locale":[$t,[Gt],(t,[e])=>e.evaluate(t).resolvedLocale()]});class ri{constructor(t,e,n){this.expression=t,this._warningHistory={},this._evaluator=new Je,this._defaultValue=e?function(t){if("color"===t.type&&Hr(t.default))return new Te(0,0,0,0);switch(t.type){case "color":return Te.parse(t.default)||null;case "padding":return Be.parse(t.default)||null;case "numberArray":return Ce.parse(t.default)||null;case "colorArray":return Ve.parse(t.default)||null;case "variableAnchorOffsetCollection":return $e.parse(t.default)||null;case "projectionDefinition":return Ne.parse(t.default)||null;default:return void 0===t.default?null:t.default}}(e):null,this._enumValues=e&&"enum"===e.type?e.values:null,this._globalState=n;}evaluateWithoutErrorHandling(t,e,n,r,i,s){return this._globalState&&(t=pi(t,this._globalState)),this._evaluator.globals=t,this._evaluator.feature=e,this._evaluator.featureState=n,this._evaluator.canonical=r,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=s,this.expression.evaluate(this._evaluator)}evaluate(t,e,n,r,i,s){this._globalState&&(t=pi(t,this._globalState)),this._evaluator.globals=t,this._evaluator.feature=e||null,this._evaluator.featureState=n||null,this._evaluator.canonical=r,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=s||null;try{const t=this.expression.evaluate(this._evaluator);if(null==t||"number"==typeof t&&t!=t)return this._defaultValue;if(this._enumValues&&!(t in this._enumValues))throw new Le(`Expected value to be one of ${Object.keys(this._enumValues).map((t=>JSON.stringify(t))).join(", ")}, but found ${JSON.stringify(t)} instead.`);return t}catch(t){return this._warningHistory[t.message]||(this._warningHistory[t.message]=!0,"undefined"!=typeof console&&console.warn(t.message)),this._defaultValue}}}function ii(t){return Array.isArray(t)&&t.length>0&&"string"==typeof t[0]&&t[0]in zr}function si(t,e,n){const r=new Qe(zr,$r,[],e?function(t){const e={color:Nt,string:$t,number:Ot,enum:$t,boolean:Rt,formatted:Xt,padding:Yt,numberArray:Ht,colorArray:Zt,projectionDefinition:Ut,resolvedImage:Wt,variableAnchorOffsetCollection:Kt};return "array"===t.type?Jt(e[t.value]||qt,t.length):e[t.type]}(e):void 0),i=r.parse(t,void 0,void 0,void 0,e&&"string"===e.type?{typeAnnotation:"coerce"}:void 0);return i?jr(new ri(i,e,n)):qr(r.errors)}class oi{constructor(t,e,n){this.kind=t,this._styleExpression=e,this.isStateDependent="constant"!==t&&!Nr(e.expression),this.globalStateRefs=hi(e.expression),this._globalState=n;}evaluateWithoutErrorHandling(t,e,n,r,i,s){return this._globalState&&(t=pi(t,this._globalState)),this._styleExpression.evaluateWithoutErrorHandling(t,e,n,r,i,s)}evaluate(t,e,n,r,i,s){return this._globalState&&(t=pi(t,this._globalState)),this._styleExpression.evaluate(t,e,n,r,i,s)}}class ai{constructor(t,e,n,r,i){this.kind=t,this.zoomStops=n,this._styleExpression=e,this.isStateDependent="camera"!==t&&!Nr(e.expression),this.globalStateRefs=hi(e.expression),this.interpolationType=r,this._globalState=i;}evaluateWithoutErrorHandling(t,e,n,r,i,s){return this._globalState&&(t=pi(t,this._globalState)),this._styleExpression.evaluateWithoutErrorHandling(t,e,n,r,i,s)}evaluate(t,e,n,r,i,s){return this._globalState&&(t=pi(t,this._globalState)),this._styleExpression.evaluate(t,e,n,r,i,s)}interpolationFactor(t,e,n){return this.interpolationType?mn.interpolationFactor(this.interpolationType,t,e,n):0}}function li(t,e,n){const r=si(t,e,n);if("error"===r.result)return r;const i=r.value.expression,s=Rr(i);if(!s&&!Gr(e))return qr([new Ct("","data expressions not supported")]);const o=Ur(i,["zoom"]);if(!o&&!Xr(e))return qr([new Ct("","zoom expressions not supported")]);const a=ci(i);return a||o?a instanceof Ct?qr([a]):a instanceof mn&&!Yr(e)?qr([new Ct("",'"interpolate" expressions cannot be used with this property')]):jr(a?new ai(s?"camera":"composite",r.value,a.labels,a instanceof mn?a.interpolation:void 0,n):new oi(s?"constant":"source",r.value,n)):qr([new Ct("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')])}class ui{constructor(t,e){this._parameters=t,this._specification=e,Bt(this,Kr(this._parameters,this._specification));}static deserialize(t){return new ui(t._parameters,t._specification)}static serialize(t){return {_parameters:t._parameters,_specification:t._specification}}}function ci(t){let e=null;if(t instanceof tn)e=ci(t.result);else if(t instanceof vn){for(const n of t.args)if(e=ci(n),e)break}else (t instanceof cn||t instanceof mn)&&t.input instanceof Br&&"zoom"===t.input.name&&(e=t);return e instanceof Ct||t.eachChild((t=>{const n=ci(t);n instanceof Ct?e=n:!e&&n?e=new Ct("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):e&&n&&e!==n&&(e=new Ct("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'));})),e}function hi(t,e=new Set){return t instanceof Dr&&e.add(t.key),t.eachChild((t=>{hi(t,e);})),e}function pi(t,e){const{zoom:n,heatmapDensity:r,elevation:i,lineProgress:s,isSupportedScript:o,accumulated:a}=null!=t?t:{};return {zoom:n,heatmapDensity:r,elevation:i,lineProgress:s,isSupportedScript:o,accumulated:a,globalState:e}}function fi(t){if(!0===t||!1===t)return !0;if(!Array.isArray(t)||0===t.length)return !1;switch(t[0]){case "has":return t.length>=2&&"$id"!==t[1]&&"$type"!==t[1];case "in":return t.length>=3&&("string"!=typeof t[1]||Array.isArray(t[2]));case "!in":case "!has":case "none":return !1;case "==":case "!=":case ">":case ">=":case "<":case "<=":return 3!==t.length||Array.isArray(t[1])||Array.isArray(t[2]);case "any":case "all":for(const e of t.slice(1))if(!fi(e)&&"boolean"!=typeof e)return !1;return !0;default:return !0}}const di={type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}};function yi(t,e){if(null==t)return {filter:()=>!0,needGeometry:!1,getGlobalStateRefs:()=>new Set};fi(t)||(t=xi(t));const n=si(t,di,e);if("error"===n.result)throw new Error(n.value.map((t=>`${t.key}: ${t.message}`)).join(", "));return {filter:(t,e,r)=>n.value.evaluate(t,e,{},r),needGeometry:gi(t),getGlobalStateRefs:()=>hi(n.value.expression)}}function mi(t,e){return te?1:0}function gi(t){if(!Array.isArray(t))return !1;if("within"===t[0]||"distance"===t[0])return !0;for(let e=1;e"===e||"<="===e||">="===e?vi(t[1],t[2],e):"any"===e?(n=t.slice(1),["any"].concat(n.map(xi))):"all"===e?["all"].concat(t.slice(1).map(xi)):"none"===e?["all"].concat(t.slice(1).map(xi).map(_i)):"in"===e?bi(t[1],t.slice(2)):"!in"===e?_i(bi(t[1],t.slice(2))):"has"===e?wi(t[1]):"!has"!==e||_i(wi(t[1]));var n;}function vi(t,e,n){switch(t){case "$type":return [`filter-type-${n}`,e];case "$id":return [`filter-id-${n}`,e];default:return [`filter-${n}`,t,e]}}function bi(t,e){if(0===e.length)return !1;switch(t){case "$type":return ["filter-type-in",["literal",e]];case "$id":return ["filter-id-in",["literal",e]];default:return e.length>200&&!e.some((t=>typeof t!=typeof e[0]))?["filter-in-large",t,["literal",e.sort(mi)]]:["filter-in-small",t,["literal",e]]}}function wi(t){switch(t){case "$type":return !0;case "$id":return ["filter-has-id"];default:return ["filter-has",t]}}function _i(t){return ["!",t]}function Si(t){const e=typeof t;if("number"===e||"boolean"===e||"string"===e||null==t)return JSON.stringify(t);if(Array.isArray(t)){let e="[";for(const n of t)e+=`${Si(n)},`;return `${e}]`}const n=Object.keys(t).sort();let r="{";for(let e=0;er.maximum?[new zt(e,n,`${n} is greater than the maximum value ${r.maximum}`)]:[]}function Pi(t){const e=t.valueSpec,n=ki(t.value.type);let r,i,s,o={};const a="categorical"!==n&&void 0===t.value.property,l=!a,u="array"===Zr(t.value.stops)&&"array"===Zr(t.value.stops[0])&&"object"===Zr(t.value.stops[0][0]),c=Ei({key:t.key,value:t.value,valueSpec:t.styleSpec.function,validateSpec:t.validateSpec,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{stops:function(t){if("identity"===n)return [new zt(t.key,t.value,'identity function may not have a "stops" property')];let e=[];const r=t.value;return e=e.concat(Ti({key:t.key,value:r,valueSpec:t.valueSpec,validateSpec:t.validateSpec,style:t.style,styleSpec:t.styleSpec,arrayElementValidator:h})),"array"===Zr(r)&&0===r.length&&e.push(new zt(t.key,r,"array must have at least one stop")),e},default:function(t){return t.validateSpec({key:t.key,value:t.value,valueSpec:e,validateSpec:t.validateSpec,style:t.style,styleSpec:t.styleSpec})}}});return "identity"===n&&a&&c.push(new zt(t.key,t.value,'missing required property "property"')),"identity"===n||t.value.stops||c.push(new zt(t.key,t.value,'missing required property "stops"')),"exponential"===n&&t.valueSpec.expression&&!Yr(t.valueSpec)&&c.push(new zt(t.key,t.value,"exponential functions not supported")),t.styleSpec.$version>=8&&(l&&!Gr(t.valueSpec)?c.push(new zt(t.key,t.value,"property functions not supported")):a&&!Xr(t.valueSpec)&&c.push(new zt(t.key,t.value,"zoom functions not supported"))),"categorical"!==n&&!u||void 0!==t.value.property||c.push(new zt(t.key,t.value,'"property" property is required')),c;function h(t){let n=[];const r=t.value,a=t.key;if("array"!==Zr(r))return [new zt(a,r,`array expected, ${Zr(r)} found`)];if(2!==r.length)return [new zt(a,r,`array length 2 expected, length ${r.length} found`)];if(u){if("object"!==Zr(r[0]))return [new zt(a,r,`object expected, ${Zr(r[0])} found`)];if(void 0===r[0].zoom)return [new zt(a,r,"object stop key must have zoom")];if(void 0===r[0].value)return [new zt(a,r,"object stop key must have value")];if(s&&s>ki(r[0].zoom))return [new zt(a,r[0].zoom,"stop zoom values must appear in ascending order")];ki(r[0].zoom)!==s&&(s=ki(r[0].zoom),i=void 0,o={}),n=n.concat(Ei({key:`${a}[0]`,value:r[0],valueSpec:{zoom:{}},validateSpec:t.validateSpec,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{zoom:Fi,value:p}}));}else n=n.concat(p({key:`${a}[0]`,value:r[0],validateSpec:t.validateSpec,style:t.style,styleSpec:t.styleSpec},r));return ii(Ii(r[1]))?n.concat([new zt(`${a}[1]`,r[1],"expressions are not allowed in function stops.")]):n.concat(t.validateSpec({key:`${a}[1]`,value:r[1],valueSpec:e,validateSpec:t.validateSpec,style:t.style,styleSpec:t.styleSpec}))}function p(t,s){const a=Zr(t.value),l=ki(t.value),u=null!==t.value?t.value:s;if(r){if(a!==r)return [new zt(t.key,u,`${a} stop domain type must match previous stop domain type ${r}`)]}else r=a;if("number"!==a&&"string"!==a&&"boolean"!==a)return [new zt(t.key,u,"stop domain value must be a number, string, or boolean")];if("number"!==a&&"categorical"!==n){let r=`number expected, ${a} found`;return Gr(e)&&void 0===n&&(r+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new zt(t.key,u,r)]}return "categorical"!==n||"number"!==a||isFinite(l)&&Math.floor(l)===l?"categorical"!==n&&"number"===a&&void 0!==i&&lnew zt(`${t.key}${e.key}`,t.value,e.message)));const n=e.value.expression||e.value._styleExpression.expression;if("property"===t.expressionContext&&"text-font"===t.propertyKey&&!n.outputDefined())return [new zt(t.key,t.value,`Invalid data expression for "${t.propertyKey}". Output values must be contained as literals within the expression.`)];if("property"===t.expressionContext&&"layout"===t.propertyType&&!Nr(n))return [new zt(t.key,t.value,'"feature-state" data expressions are not supported with layout properties.')];if("filter"===t.expressionContext&&!Nr(n))return [new zt(t.key,t.value,'"feature-state" data expressions are not supported with filters.')];if(t.expressionContext&&0===t.expressionContext.indexOf("cluster")){if(!Ur(n,["zoom","feature-state"]))return [new zt(t.key,t.value,'"zoom" and "feature-state" expressions are not supported with cluster properties.')];if("cluster-initial"===t.expressionContext&&!Rr(n))return [new zt(t.key,t.value,"Feature data expressions are not supported with initial expression part of cluster properties.")]}return []}function zi(t){const e=t.key,n=t.value,r=Zr(n);return "string"!==r?[new zt(e,n,`color expected, ${r} found`)]:Te.parse(String(n))?[]:[new zt(e,n,`color expected, "${n}" found`)]}function Bi(t){const e=t.key,n=t.value,r=t.valueSpec,i=[];return Array.isArray(r.values)?-1===r.values.indexOf(ki(n))&&i.push(new zt(e,n,`expected one of [${r.values.join(", ")}], ${JSON.stringify(n)} found`)):-1===Object.keys(r.values).indexOf(ki(n))&&i.push(new zt(e,n,`expected one of [${Object.keys(r.values).join(", ")}], ${JSON.stringify(n)} found`)),i}function Ci(t){return fi(Ii(t.value))?Di(Bt({},t,{expressionContext:"filter",valueSpec:{value:"boolean"}})):Vi(t)}function Vi(t){const e=t.value,n=t.key;if("array"!==Zr(e))return [new zt(n,e,`array expected, ${Zr(e)} found`)];const r=t.styleSpec;let i,s=[];if(e.length<1)return [new zt(n,e,"filter array must have at least 1 element")];switch(s=s.concat(Bi({key:`${n}[0]`,value:e[0],valueSpec:r.filter_operator,style:t.style,styleSpec:t.styleSpec})),ki(e[0])){case "<":case "<=":case ">":case ">=":e.length>=2&&"$type"===ki(e[1])&&s.push(new zt(n,e,`"$type" cannot be use with operator "${e[0]}"`));case "==":case "!=":3!==e.length&&s.push(new zt(n,e,`filter array for operator "${e[0]}" must have 3 elements`));case "in":case "!in":e.length>=2&&(i=Zr(e[1]),"string"!==i&&s.push(new zt(`${n}[1]`,e[1],`string expected, ${i} found`)));for(let o=2;o{t in i&&r.push(new zt(s,i[t],`"${t}" is prohibited for ref layers`));})),o.layers.forEach((e=>{ki(e.id)===u&&(t=e);})),t?t.ref?r.push(new zt(s,i.ref,"ref cannot reference another ref layer")):l=ki(t.type):r.push(new zt(s,i.ref,`ref layer "${u}" not found`));}else if("background"!==l)if(i.source){const t=o.sources&&o.sources[i.source],e=t&&ki(t.type);t?"vector"===e&&"raster"===l?r.push(new zt(s,i.source,`layer "${i.id}" requires a raster source`)):"raster-dem"!==e&&"hillshade"===l||"raster-dem"!==e&&"color-relief"===l?r.push(new zt(s,i.source,`layer "${i.id}" requires a raster-dem source`)):"raster"===e&&"raster"!==l?r.push(new zt(s,i.source,`layer "${i.id}" requires a vector source`)):"vector"!==e||i["source-layer"]?"raster-dem"===e&&"hillshade"!==l&&"color-relief"!==l?r.push(new zt(s,i.source,"raster-dem source can only be used with layer type 'hillshade' or 'color-relief'.")):"line"!==l||!i.paint||!i.paint["line-gradient"]||"geojson"===e&&t.lineMetrics||r.push(new zt(s,i,`layer "${i.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):r.push(new zt(s,i,`layer "${i.id}" must specify a "source-layer"`)):r.push(new zt(s,i.source,`source "${i.source}" not found`));}else r.push(new zt(s,i,'missing required property "source"'));return "raster"===l&&(null===(e=i.paint)||void 0===e?void 0:e.resampling)&&(null===(n=i.paint)||void 0===n?void 0:n["raster-resampling"])&&r.push(new zt(s,i.paint,`layer "${i.id}" redundantly specifies "resampling" and "raster-resampling" paint properties, but only one is allowed. It is advised to use "resampling".`)),r=r.concat(Ei({key:s,value:i,valueSpec:a.layer,style:t.style,styleSpec:t.styleSpec,validateSpec:t.validateSpec,objectElementValidators:{"*":()=>[],type:()=>t.validateSpec({key:`${s}.type`,value:i.type,valueSpec:a.layer.type,style:t.style,styleSpec:t.styleSpec,validateSpec:t.validateSpec,object:i,objectKey:"type"}),filter:Ci,layout:t=>Ei({layer:i,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,validateSpec:t.validateSpec,objectElementValidators:{"*":t=>$i(Bt({layerType:l},t))}}),paint:t=>Ei({layer:i,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,validateSpec:t.validateSpec,objectElementValidators:{"*":t=>Oi(Bt({layerType:l},t))}})}})),r}function Ni(t){const e=t.value,n=t.key,r=Zr(e);return "string"!==r?[new zt(n,e,`string expected, ${r} found`)]:[]}const Ui={promoteId:function({key:t,value:e}){if("string"===Zr(e))return Ni({key:t,value:e});{const n=[];for(const r in e)n.push(...Ni({key:`${t}.${r}`,value:e[r]}));return n}}};function ji(t){const e=t.value,n=t.key,r=t.styleSpec,i=t.style,s=t.validateSpec;if(!e.type)return [new zt(n,e,'"type" is required')];const o=ki(e.type);let a;switch(o){case "vector":case "raster":return a=Ei({key:n,value:e,valueSpec:r[`source_${o.replace("-","_")}`],style:t.style,styleSpec:r,objectElementValidators:Ui,validateSpec:s}),a;case "raster-dem":return a=function(t){var e;const n=null!==(e=t.sourceName)&&void 0!==e?e:"",r=t.value,i=t.styleSpec,s=i.source_raster_dem,o=t.style;let a=[];const l=Zr(r);if(void 0===r)return a;if("object"!==l)return a.push(new zt("source_raster_dem",r,`object expected, ${l} found`)),a;const u="custom"===ki(r.encoding),c=["redFactor","greenFactor","blueFactor","baseShift"],h=t.value.encoding?`"${t.value.encoding}"`:"Default";for(const e in r)!u&&c.includes(e)?a.push(new zt(e,r[e],`In "${n}": "${e}" is only valid when "encoding" is set to "custom". ${h} encoding found`)):s[e]?a=a.concat(t.validateSpec({key:e,value:r[e],valueSpec:s[e],validateSpec:t.validateSpec,style:o,styleSpec:i})):a.push(new zt(e,r[e],`unknown property "${e}"`));return a}({sourceName:n,value:e,style:t.style,styleSpec:r,validateSpec:s}),a;case "geojson":if(a=Ei({key:n,value:e,valueSpec:r.source_geojson,style:i,styleSpec:r,validateSpec:s,objectElementValidators:Ui}),e.cluster)for(const t in e.clusterProperties){const[r,i]=e.clusterProperties[t],s="string"==typeof r?[r,["accumulated"],["get",t]]:r;a.push(...Di({key:`${n}.${t}.map`,value:i,expressionContext:"cluster-map"})),a.push(...Di({key:`${n}.${t}.reduce`,value:s,expressionContext:"cluster-reduce"}));}return a;case "video":return Ei({key:n,value:e,valueSpec:r.source_video,style:i,validateSpec:s,styleSpec:r});case "image":return Ei({key:n,value:e,valueSpec:r.source_image,style:i,validateSpec:s,styleSpec:r});case "canvas":return [new zt(n,null,"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.","source.canvas")];default:return Bi({key:`${n}.type`,value:e.type,valueSpec:{values:["vector","raster","raster-dem","geojson","video","image"]}})}}function qi(t){const e=t.value,n=t.styleSpec,r=n.light,i=t.style;let s=[];const o=Zr(e);if(void 0===e)return s;if("object"!==o)return s=s.concat([new zt("light",e,`object expected, ${o} found`)]),s;for(const o in e){const a=o.match(/^(.*)-transition$/);s=s.concat(a&&r[a[1]]&&r[a[1]].transition?t.validateSpec({key:o,value:e[o],valueSpec:n.transition,validateSpec:t.validateSpec,style:i,styleSpec:n}):r[o]?t.validateSpec({key:o,value:e[o],valueSpec:r[o],validateSpec:t.validateSpec,style:i,styleSpec:n}):[new zt(o,e[o],`unknown property "${o}"`)]);}return s}function Gi(t){const e=t.value,n=t.styleSpec,r=n.sky,i=t.style,s=Zr(e);if(void 0===e)return [];if("object"!==s)return [new zt("sky",e,`object expected, ${s} found`)];let o=[];for(const s in e)o=o.concat(r[s]?t.validateSpec({key:s,value:e[s],valueSpec:r[s],style:i,styleSpec:n}):[new zt(s,e[s],`unknown property "${s}"`)]);return o}function Xi(t){const e=t.value,n=t.styleSpec,r=n.terrain,i=t.style;let s=[];const o=Zr(e);if(void 0===e)return s;if("object"!==o)return s=s.concat([new zt("terrain",e,`object expected, ${o} found`)]),s;for(const o in e)s=s.concat(r[o]?t.validateSpec({key:o,value:e[o],valueSpec:r[o],validateSpec:t.validateSpec,style:i,styleSpec:n}):[new zt(o,e[o],`unknown property "${o}"`)]);return s}function Yi(t){let e=[];const n=t.value,r=t.key;if(Array.isArray(n)){const i=[],s=[];for(const o in n)n[o].id&&i.includes(n[o].id)&&e.push(new zt(r,n,`all the sprites' ids must be unique, but ${n[o].id} is duplicated`)),i.push(n[o].id),n[o].url&&s.includes(n[o].url)&&e.push(new zt(r,n,`all the sprites' URLs must be unique, but ${n[o].url} is duplicated`)),s.push(n[o].url),e=e.concat(Ei({key:`${r}[${o}]`,value:n[o],valueSpec:{id:{type:"string",required:!0},url:{type:"string",required:!0}},validateSpec:t.validateSpec}));return e}return Ni({key:r,value:n})}function Zi(t){return Boolean(t)&&t.constructor===Object}function Hi(t){return Zi(t.value)?[]:[new zt(t.key,t.value,`object expected, ${Zr(t.value)} found`)]}const Wi={"*":()=>[],array:Ti,boolean:function(t){const e=t.value,n=t.key,r=Zr(e);return "boolean"!==r?[new zt(n,e,`boolean expected, ${r} found`)]:[]},number:Fi,color:zi,constants:Mi,enum:Bi,filter:Ci,function:Pi,layer:Ri,object:Ei,source:ji,light:qi,sky:Gi,terrain:Xi,projection:function(t){const e=t.value,n=t.styleSpec,r=n.projection,i=t.style,s=Zr(e);if(void 0===e)return [];if("object"!==s)return [new zt("projection",e,`object expected, ${s} found`)];let o=[];for(const s in e)o=o.concat(r[s]?t.validateSpec({key:s,value:e[s],valueSpec:r[s],style:i,styleSpec:n}):[new zt(s,e[s],`unknown property "${s}"`)]);return o},projectionDefinition:function(t){const e=t.key;let n=t.value;n=n instanceof String?n.valueOf():n;const r=Zr(n);return "array"!==r||function(t){return Array.isArray(t)&&3===t.length&&"string"==typeof t[0]&&"string"==typeof t[1]&&"number"==typeof t[2]}(n)||function(t){return !!["interpolate","step","literal"].includes(t[0])}(n)?["array","string"].includes(r)?[]:[new zt(e,n,`projection expected, invalid type "${r}" found`)]:[new zt(e,n,`projection expected, invalid array ${JSON.stringify(n)} found`)]},string:Ni,formatted:function(t){return 0===Ni(t).length?[]:Di(t)},resolvedImage:function(t){return 0===Ni(t).length?[]:Di(t)},padding:function(t){const e=t.key,n=t.value;if("array"===Zr(n)){if(n.length<1||n.length>4)return [new zt(e,n,`padding requires 1 to 4 values; ${n.length} values found`)];const r={type:"number"};let i=[];for(let s=0;s[]}})),t.constants&&(n=n.concat(Mi({key:"constants",value:t.constants}))),es(n)}function ts(t){return function(e){return t(Object.assign({},e,{validateSpec:Ki}))}}function es(t){return [].concat(t).sort(((t,e)=>t.line-e.line))}function ns(t){return function(...e){return es(t.apply(this,e))}}Qi.source=ns(ts(ji)),Qi.sprite=ns(ts(Yi)),Qi.glyphs=ns(ts(Ji)),Qi.light=ns(ts(qi)),Qi.sky=ns(ts(Gi)),Qi.terrain=ns(ts(Xi)),Qi.state=ns(ts(Hi)),Qi.layer=ns(ts(Ri)),Qi.filter=ns(ts(Ci)),Qi.paintProperty=ns(ts(Oi)),Qi.layoutProperty=ns(ts($i));const rs={type:"enum","property-type":"data-constant",expression:{interpolated:!1,parameters:["global-state"]},values:{visible:{},none:{}},transition:!1,default:"visible"};class is{constructor(t,e){this._globalState=e,this.setValue(t);}evaluate(){var t;return null!==(t=this._literalValue)&&void 0!==t?t:this._compiledValue.evaluate({})}setValue(t){if(null==t||"visible"===t||"none"===t)return this._literalValue="none"===t?"none":"visible",this._compiledValue=void 0,void(this._globalStateRefs=new Set);const e=si(t,rs,this._globalState);if("error"===e.result)throw this._literalValue="visible",this._compiledValue=void 0,new Error(e.value.map((t=>`${t.key}: ${t.message}`)).join(", "));this._literalValue=void 0,this._compiledValue=e.value,this._globalStateRefs=hi(e.value.expression);}getGlobalStateRefs(){return this._globalStateRefs}}const ss=wt,os=Qi,as=os.light,ls=os.sky,us=os.paintProperty,cs=os.layoutProperty;function hs(t,e){let n=!1;if(null==e?void 0:e.length)for(const r of e)t.fire(new vt(new Error(r.message))),n=!0;return n}class ps{constructor(t,e,n){const r=this.cells=[];if(t instanceof ArrayBuffer){this.arrayBuffer=t;const i=new Int32Array(this.arrayBuffer);t=i[0],this.d=(e=i[1])+2*(n=i[2]);for(let t=0;t=u[l+0]&&r>=u[l+1])?(o[c]=!0,s.push(i[c])):o[c]=!1;}}}_forEachCell(t,e,n,r,i,s,o,a){const l=this._convertToCellCoord(t),u=this._convertToCellCoord(e),c=this._convertToCellCoord(n),h=this._convertToCellCoord(r);for(let p=l;p<=c;p++)for(let l=u;l<=h;l++){const u=this.d*l+p;if((!a||a(this._convertFromCellCoord(p),this._convertFromCellCoord(l),this._convertFromCellCoord(p+1),this._convertFromCellCoord(l+1)))&&i.call(this,t,e,n,r,u,s,o,a))return}}_convertFromCellCoord(t){return (t-this.padding)/this.scale}_convertToCellCoord(t){return Math.max(0,Math.min(this.d-1,Math.floor(t*this.scale)+this.padding))}toArrayBuffer(){if(this.arrayBuffer)return this.arrayBuffer;const t=this.cells,e=3+this.cells.length+1+1;let n=0;for(const t of this.cells)n+=t.length;const r=new Int32Array(e+n+this.keys.length+this.bboxes.length);r[0]=this.extent,r[1]=this.n,r[2]=this.padding;let i=e;for(let e=0;en?(this.lastIntegerZoom=n+1,this.lastIntegerZoomTime=e):this.lastFloorZoom{try{return new RegExp(`\\p{sc=${t}}`,"u").source}catch(t){return null}})).filter((t=>t));return new RegExp(e.join("|"),"u")}const Is=ks(["Arab","Dupl","Mong","Ougr","Syrc"]);function Es(t){return !Is.test(String.fromCodePoint(t))}function Ts(t){return !(_s(t)||(e=t,/[\xA7\xA9\xAE\xB1\xBC-\xBE\xD7\xF7\u2016\u2020\u2021\u2030\u2031\u203B\u203C\u2042\u2047-\u2049\u2051\u2100-\u218F\u221E\u2234\u2235\u2300-\u2307\u230C-\u231F\u2324-\u2328\u232B\u237D-\u239A\u23BE-\u23CD\u23CF\u23D1-\u23DB\u23E2-\u2422\u2424-\u24FF\u25A0-\u2619\u2620-\u2767\u2776-\u2793\u2B12-\u2B2F\u2B50-\u2B59\u2BB8-\u2BEB\u3000-\u303F\u30A0-\u30FF\uE000-\uF8FF\uFE30-\uFE6F\uFF00-\uFFEF\uFFFC\uFFFD]|[\uDB80-\uDBFF][\uDC00-\uDFFF]/gim.test(String.fromCodePoint(e))));var e;}const Fs=ks(["Adlm","Arab","Armi","Avst","Chrs","Cprt","Egyp","Elym","Gara","Hatr","Hebr","Hung","Khar","Lydi","Mand","Mani","Mend","Merc","Mero","Narb","Nbat","Nkoo","Orkh","Palm","Phli","Phlp","Phnx","Prti","Rohg","Samr","Sarb","Sogo","Syrc","Thaa","Todr","Yezi"]);function Ps(t){return Fs.test(String.fromCodePoint(t))}function Ds(t,e){return !(!e&&Ps(t)||/[\u0900-\u0DFF\u0F00-\u109F\u1780-\u17FF]/gim.test(String.fromCodePoint(t)))}function zs(t){for(const e of t)if(Ps(e.codePointAt(0)))return !0;return !1}const Bs=new class{constructor(){this.TIMEOUT=5e3,this.applyArabicShaping=null,this.processBidirectionalText=null,this.processStyledBidirectionalText=null,this.pluginStatus="unavailable",this.pluginURL=null,this.loadScriptResolve=()=>{};}setState(t){this.pluginStatus=t.pluginStatus,this.pluginURL=t.pluginURL;}getState(){return {pluginStatus:this.pluginStatus,pluginURL:this.pluginURL}}setMethods(t){if(Bs.isParsed())throw new Error("RTL text plugin already registered.");this.applyArabicShaping=t.applyArabicShaping,this.processBidirectionalText=t.processBidirectionalText,this.processStyledBidirectionalText=t.processStyledBidirectionalText,this.loadScriptResolve();}isParsed(){return null!=this.applyArabicShaping&&null!=this.processBidirectionalText&&null!=this.processStyledBidirectionalText}getRTLTextPluginStatus(){return this.pluginStatus}syncState(t,n){return e(this,void 0,void 0,(function*(){if(this.isParsed())return this.getState();if("loading"!==t.pluginStatus)return this.setState(t),t;const e=t.pluginURL,r=new Promise((t=>{this.loadScriptResolve=t;}));n(e);const i=new Promise((t=>setTimeout((()=>t()),this.TIMEOUT)));if(yield Promise.race([r,i]),this.isParsed()){const t={pluginStatus:"loaded",pluginURL:e};return this.setState(t),t}throw this.setState({pluginStatus:"error",pluginURL:""}),new Error(`RTL Text Plugin failed to import scripts from ${e}`)}))}};class Cs{constructor(t,e){this.isSupportedScript=Vs,this.zoom=t,e?(this.now=e.now||0,this.fadeDuration=e.fadeDuration||0,this.zoomHistory=e.zoomHistory||new bs,this.transition=e.transition||{}):(this.now=0,this.fadeDuration=0,this.zoomHistory=new bs,this.transition={});}crossFadingFactor(){return 0===this.fadeDuration?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)}getCrossfadeParameters(){const t=this.zoom,e=t-Math.floor(t),n=this.crossFadingFactor();return t>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:e+(1-e)*n}:{fromScale:.5,toScale:1,t:1-(1-n)*e}}}function Vs(t){return function(t,e){for(const n of t)if(!Ds(n.codePointAt(0),e))return !1;return !0}(t,"loaded"===Bs.getRTLTextPluginStatus())}const Ls="-transition";class Os{constructor(t,e,n){this.property=t,this.value=e,this.expression=function(t,e,n){if(Hr(t))return new ui(t,e);if(ii(t)){const r=li(t,e,n);if("error"===r.result)throw new Error(r.value.map((t=>`${t.key}: ${t.message}`)).join(", "));return r.value}{let n=t;return "color"===e.type&&"string"==typeof t?n=Te.parse(t):"padding"!==e.type||"number"!=typeof t&&!Array.isArray(t)?"numberArray"!==e.type||"number"!=typeof t&&!Array.isArray(t)?"colorArray"!==e.type||"string"!=typeof t&&!Array.isArray(t)?"variableAnchorOffsetCollection"===e.type&&Array.isArray(t)?n=$e.parse(t):"projectionDefinition"===e.type&&"string"==typeof t&&(n=Ne.parse(t)):n=Ve.parse(t):n=Ce.parse(t):n=Be.parse(t),{globalStateRefs:new Set,_globalState:null,kind:"constant",evaluate:()=>n}}}(void 0===e?t.specification.default:e,t.specification,n);}isDataDriven(){return "source"===this.expression.kind||"composite"===this.expression.kind}getGlobalStateRefs(){return this.expression.globalStateRefs||new Set}possiblyEvaluate(t,e,n){return this.property.possiblyEvaluate(this,t,e,n)}}class $s{constructor(t,e){this.property=t,this.value=new Os(t,void 0,e);}transitioned(t,e){return new Ns(this.property,this.value,e,$({},t.transition,this.transition),t.now)}untransitioned(){return new Ns(this.property,this.value,null,{},0)}}class Rs{constructor(t,e){this._properties=t,this._values=Object.create(t.defaultTransitionablePropertyValues),this._globalState=e;}hasProperty(t){return t in this._properties.defaultTransitionablePropertyValues}getValue(t){return j(this._values[t].value.value)}setValue(t,e){Object.hasOwn(this._values,t)||(this._values[t]=new $s(this._values[t].property,this._globalState)),this._values[t].value=new Os(this._values[t].property,null===e?void 0:j(e),this._globalState);}getTransition(t){return j(this._values[t].transition)}setTransition(t,e){Object.hasOwn(this._values,t)||(this._values[t]=new $s(this._values[t].property,this._globalState)),this._values[t].transition=j(e)||void 0;}serialize(){const t={};for(const e of Object.keys(this._values)){const n=this.getValue(e);void 0!==n&&(t[e]=n);const r=this.getTransition(e);void 0!==r&&(t[`${e}${Ls}`]=r);}return t}transitioned(t,e){const n=new Us(this._properties);for(const r of Object.keys(this._values))n._values[r]=this._values[r].transitioned(t,e._values[r]);return n}untransitioned(){const t=new Us(this._properties);for(const e of Object.keys(this._values))t._values[e]=this._values[e].untransitioned();return t}}class Ns{constructor(t,e,n,r,i){this.property=t,this.value=e,this.begin=i+r.delay||0,this.end=this.begin+r.duration||0,t.specification.transition&&(r.delay||r.duration)&&(this.prior=n);}possiblyEvaluate(t,e,n){const r=t.now||0,i=this.value.possiblyEvaluate(t,e,n),s=this.prior;if(s){if(r>this.end)return this.prior=null,i;if(this.value.isDataDriven())return this.prior=null,i;if(rr.zoomHistory.lastIntegerZoom?{from:t,to:e}:{from:n,to:e}}interpolate(t){return t}}class Hs{constructor(t){this.specification=t;}possiblyEvaluate(t,e,n,r){if(void 0!==t.value){if("constant"===t.expression.kind){const i=t.expression.evaluate(e,null,{},n,r);return this._calculate(i,i,i,e)}return this._calculate(t.expression.evaluate(new Cs(Math.floor(e.zoom-1),e)),t.expression.evaluate(new Cs(Math.floor(e.zoom),e)),t.expression.evaluate(new Cs(Math.floor(e.zoom+1),e)),e)}}_calculate(t,e,n,r){return r.zoom>r.zoomHistory.lastIntegerZoom?{from:t,to:e}:{from:n,to:e}}interpolate(t){return t}}class Ws{constructor(t){this.specification=t;}possiblyEvaluate(t,e,n,r){return !!t.expression.evaluate(e,null,{},n,r)}interpolate(){return !1}}class Ks{constructor(t){this.properties=t,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[];for(const e in t){const n=t[e];n.specification.overridable&&this.overridableProperties.push(e);const r=this.defaultPropertyValues[e]=new Os(n,void 0,void 0),i=this.defaultTransitionablePropertyValues[e]=new $s(n,void 0);this.defaultTransitioningPropertyValues[e]=i.untransitioned(),this.defaultPossiblyEvaluatedValues[e]=r.possiblyEvaluate({});}}}ds("DataDrivenProperty",Ys),ds("DataConstantProperty",Xs),ds("CrossFadedDataDrivenProperty",Zs),ds("CrossFadedProperty",Hs),ds("ColorRampProperty",Ws);const Js=" is a PAINT property not a LAYOUT property. Use get/setPaintProperty instead?",Qs=" is a LAYOUT property not a PAINT property. Use get/setLayoutProperty instead?";class to extends bt{constructor(t,e,n){if(super(),this.id=t.id,this.type=t.type,this._globalState=n,this._featureFilter={filter:()=>!0,needGeometry:!1,getGlobalStateRefs:()=>new Set},this._visibilityExpression=function(t,e){return new is(t,e)}(this.visibility,n),"custom"!==t.type&&(this.metadata=t.metadata,this.minzoom=t.minzoom,this.maxzoom=t.maxzoom,"background"!==t.type&&(this.source=t.source,this.sourceLayer=t["source-layer"],this.filter=t.filter,this._featureFilter=yi(t.filter,n)),e.layout&&(this._unevaluatedLayout=new js(e.layout,n)),e.paint)){this._transitionablePaint=new Rs(e.paint,n);for(const e in t.paint)this.setPaintProperty(e,t.paint[e],{validate:!1});for(const e in t.layout)this.setLayoutProperty(e,t.layout[e],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new Gs(e.paint);}}setFilter(t){this.filter=t,this._featureFilter=yi(t,this._globalState);}getCrossfadeParameters(){return this._crossfadeParameters}getLayoutProperty(t){var e;if("visibility"===t)return this.visibility;if(null===(e=this._transitionablePaint)||void 0===e?void 0:e.hasProperty(t))throw new Error(t+Js);if(!this._unevaluatedLayout)throw new Error(`Cannot get layout property "${t}" on layer type "${this.type}" which has no layout properties.`);return this._unevaluatedLayout.getValue(t)}getLayoutAffectingGlobalStateRefs(){const t=new Set;for(const e of this._visibilityExpression.getGlobalStateRefs())t.add(e);if(this._unevaluatedLayout)for(const e in this._unevaluatedLayout._values){const n=this._unevaluatedLayout._values[e];for(const e of n.getGlobalStateRefs())t.add(e);}for(const e of this._featureFilter.getGlobalStateRefs())t.add(e);return t}getPaintAffectingGlobalStateRefs(){var t;const e=new globalThis.Map;if(this._transitionablePaint)for(const n in this._transitionablePaint._values){const r=this._transitionablePaint._values[n].value;for(const i of r.getGlobalStateRefs()){const s=null!==(t=e.get(i))&&void 0!==t?t:[];s.push({name:n,value:r.value}),e.set(i,s);}}return e}getVisibilityAffectingGlobalStateRefs(){return this._visibilityExpression.getGlobalStateRefs()}setLayoutProperty(t,e,n={}){var r;if("visibility"===t)return this.visibility=e,this._visibilityExpression.setValue(e),void this.recalculateVisibility();(null===(r=this._transitionablePaint)||void 0===r?void 0:r.hasProperty(t))?this.fire(new vt(new Error(t+Js))):null!=e&&this._validate(cs,`layers.${this.id}.layout.${t}`,t,e,n)||this._unevaluatedLayout.setValue(t,e);}getPaintProperty(t){var e,n;if(t.endsWith(Ls)){const n=t.slice(0,-11);if("visibility"===n||(null===(e=this._unevaluatedLayout)||void 0===e?void 0:e.hasProperty(n)))throw new Error(t+Qs);return this._transitionablePaint.getTransition(n)}if("visibility"===t||(null===(n=this._unevaluatedLayout)||void 0===n?void 0:n.hasProperty(t)))throw new Error(t+Qs);return this._transitionablePaint.getValue(t)}setPaintProperty(t,e,n={}){var r;if("visibility"===t||(null===(r=this._unevaluatedLayout)||void 0===r?void 0:r.hasProperty(t)))return this.fire(new vt(new Error(t+Qs))),!1;if(null!=e&&this._validate(us,`layers.${this.id}.paint.${t}`,t,e,n))return !1;if(t.endsWith(Ls))return this._transitionablePaint.setTransition(t.slice(0,-11),e||void 0),!1;{const n=this._transitionablePaint._values[t],r="cross-faded-data-driven"===n.property.specification["property-type"],i=n.value.isDataDriven(),s=n.value;this._transitionablePaint.setValue(t,e),this._handleSpecialPaintPropertyUpdate(t);const o=this._transitionablePaint._values[t].value;return o.isDataDriven()||i||r||this._handleOverridablePaintPropertyUpdate(t,s,o)}}_handleSpecialPaintPropertyUpdate(t){}_handleOverridablePaintPropertyUpdate(t,e,n){return !1}isHidden(t=this.minzoom,e=!1){return !!(this.minzoom&&t<(e?Math.floor(this.minzoom):this.minzoom))||!!(this.maxzoom&&t>=this.maxzoom)||"none"===this._evaluatedVisibility}updateTransitions(t){this._transitioningPaint=this._transitionablePaint.transitioned(t,this._transitioningPaint);}hasTransition(){return this._transitioningPaint.hasTransition()}recalculateVisibility(){this._evaluatedVisibility=this._visibilityExpression.evaluate();}recalculate(t,e){t.getCrossfadeParameters&&(this._crossfadeParameters=t.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(t,void 0,e)),this.paint=this._transitioningPaint.possiblyEvaluate(t,void 0,e);}serialize(){var t,e;const n={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:null===(t=this._unevaluatedLayout)||void 0===t?void 0:t.serialize(),paint:null===(e=this._transitionablePaint)||void 0===e?void 0:e.serialize()};return this.visibility&&(n.layout||(n.layout={}),n.layout.visibility=this.visibility),U(n,((t,e)=>!(void 0===t||"layout"===e&&!Object.keys(t).length||"paint"===e&&!Object.keys(t).length)))}_validate(t,e,n,r,i={}){return !1!==(null==i?void 0:i.validate)&&hs(this,t.call(os,{key:e,layerType:this.type,objectKey:n,value:r,styleSpec:wt,style:{glyphs:!0,sprite:!0}}))}is3D(){return !1}isTileClipped(){return !1}hasOffscreenPass(){return !1}resize(){}isStateDependent(){for(const t in this.paint._values){const e=this.paint.get(t);if(e instanceof qs&&Gr(e.property.specification)&&("source"===e.value.kind||"composite"===e.value.kind)&&e.value.isStateDependent)return !0}return !1}}let eo;var no={get paint(){return eo=eo||new Ks({"raster-opacity":new Xs(wt.paint_raster["raster-opacity"]),"raster-hue-rotate":new Xs(wt.paint_raster["raster-hue-rotate"]),"raster-brightness-min":new Xs(wt.paint_raster["raster-brightness-min"]),"raster-brightness-max":new Xs(wt.paint_raster["raster-brightness-max"]),"raster-saturation":new Xs(wt.paint_raster["raster-saturation"]),"raster-contrast":new Xs(wt.paint_raster["raster-contrast"]),resampling:new Xs(wt.paint_raster.resampling),"raster-resampling":new Xs(wt.paint_raster["raster-resampling"]),"raster-fade-duration":new Xs(wt.paint_raster["raster-fade-duration"])})}};class ro extends to{constructor(t,e){super(t,no,e);}}const io={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array};class so{constructor(t,e){this._structArray=t,this._pos1=e*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8;}}class oo{constructor(){this.isTransferred=!1,this.capacity=-1,this.resize(0);}static serialize(t,e){return t._trim(),e&&(t.isTransferred=!0,e.push(t.arrayBuffer)),{length:t.length,arrayBuffer:t.arrayBuffer}}static deserialize(t){const e=Object.create(this.prototype);return e.arrayBuffer=t.arrayBuffer,e.length=t.length,e.capacity=t.arrayBuffer.byteLength/e.bytesPerElement,e._refreshViews(),e}_trim(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews());}clear(){this.length=0;}resize(t){this.reserve(t),this.length=t;}reserve(t){if(t>this.capacity){this.capacity=Math.max(t,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);const e=this.uint8;this._refreshViews(),e&&this.uint8.set(e);}}_refreshViews(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")}freeBufferAfterUpload(){this.arrayBuffer=new ArrayBuffer(0),this._refreshViews();}}function ao(t,e=1){let n=0,r=0;return {members:t.map((t=>{const i=io[t.type].BYTES_PER_ELEMENT,s=n=lo(n,Math.max(e,i)),o=t.components||1;return r=Math.max(r,i),n+=i*o,{name:t.name,type:t.type,components:o,offset:s}})),size:lo(n,Math.max(r,e)),alignment:e}}function lo(t,e){return Math.ceil(t/e)*e}class uo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);}emplaceBack(t,e){const n=this.length;return this.resize(n+1),this.emplace(n,t,e)}emplace(t,e,n){const r=2*t;return this.int16[r+0]=e,this.int16[r+1]=n,t}}uo.prototype.bytesPerElement=4,ds("StructArrayLayout2i4",uo);class co extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);}emplaceBack(t,e,n){const r=this.length;return this.resize(r+1),this.emplace(r,t,e,n)}emplace(t,e,n,r){const i=3*t;return this.int16[i+0]=e,this.int16[i+1]=n,this.int16[i+2]=r,t}}co.prototype.bytesPerElement=6,ds("StructArrayLayout3i6",co);class ho extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);}emplaceBack(t,e,n,r){const i=this.length;return this.resize(i+1),this.emplace(i,t,e,n,r)}emplace(t,e,n,r,i){const s=4*t;return this.int16[s+0]=e,this.int16[s+1]=n,this.int16[s+2]=r,this.int16[s+3]=i,t}}ho.prototype.bytesPerElement=8,ds("StructArrayLayout4i8",ho);class po extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s){const o=this.length;return this.resize(o+1),this.emplace(o,t,e,n,r,i,s)}emplace(t,e,n,r,i,s,o){const a=6*t;return this.int16[a+0]=e,this.int16[a+1]=n,this.int16[a+2]=r,this.int16[a+3]=i,this.int16[a+4]=s,this.int16[a+5]=o,t}}po.prototype.bytesPerElement=12,ds("StructArrayLayout2i4i12",po);class fo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s){const o=this.length;return this.resize(o+1),this.emplace(o,t,e,n,r,i,s)}emplace(t,e,n,r,i,s,o){const a=4*t,l=8*t;return this.int16[a+0]=e,this.int16[a+1]=n,this.uint8[l+4]=r,this.uint8[l+5]=i,this.uint8[l+6]=s,this.uint8[l+7]=o,t}}fo.prototype.bytesPerElement=8,ds("StructArrayLayout2i4ub8",fo);class yo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);}emplaceBack(t,e){const n=this.length;return this.resize(n+1),this.emplace(n,t,e)}emplace(t,e,n){const r=2*t;return this.float32[r+0]=e,this.float32[r+1]=n,t}}yo.prototype.bytesPerElement=8,ds("StructArrayLayout2f8",yo);class mo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s,o,a,l,u){const c=this.length;return this.resize(c+1),this.emplace(c,t,e,n,r,i,s,o,a,l,u)}emplace(t,e,n,r,i,s,o,a,l,u,c){const h=10*t;return this.uint16[h+0]=e,this.uint16[h+1]=n,this.uint16[h+2]=r,this.uint16[h+3]=i,this.uint16[h+4]=s,this.uint16[h+5]=o,this.uint16[h+6]=a,this.uint16[h+7]=l,this.uint16[h+8]=u,this.uint16[h+9]=c,t}}mo.prototype.bytesPerElement=20,ds("StructArrayLayout10ui20",mo);class go extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s,o,a){const l=this.length;return this.resize(l+1),this.emplace(l,t,e,n,r,i,s,o,a)}emplace(t,e,n,r,i,s,o,a,l){const u=8*t;return this.uint16[u+0]=e,this.uint16[u+1]=n,this.uint16[u+2]=r,this.uint16[u+3]=i,this.uint16[u+4]=s,this.uint16[u+5]=o,this.uint16[u+6]=a,this.uint16[u+7]=l,t}}go.prototype.bytesPerElement=16,ds("StructArrayLayout8ui16",go);class xo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s,o,a,l,u,c,h){const p=this.length;return this.resize(p+1),this.emplace(p,t,e,n,r,i,s,o,a,l,u,c,h)}emplace(t,e,n,r,i,s,o,a,l,u,c,h,p){const f=12*t;return this.int16[f+0]=e,this.int16[f+1]=n,this.int16[f+2]=r,this.int16[f+3]=i,this.uint16[f+4]=s,this.uint16[f+5]=o,this.uint16[f+6]=a,this.uint16[f+7]=l,this.int16[f+8]=u,this.int16[f+9]=c,this.int16[f+10]=h,this.int16[f+11]=p,t}}xo.prototype.bytesPerElement=24,ds("StructArrayLayout4i4ui4i24",xo);class vo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);}emplaceBack(t,e,n){const r=this.length;return this.resize(r+1),this.emplace(r,t,e,n)}emplace(t,e,n,r){const i=3*t;return this.float32[i+0]=e,this.float32[i+1]=n,this.float32[i+2]=r,t}}vo.prototype.bytesPerElement=12,ds("StructArrayLayout3f12",vo);class bo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer);}emplaceBack(t){const e=this.length;return this.resize(e+1),this.emplace(e,t)}emplace(t,e){return this.uint32[1*t+0]=e,t}}bo.prototype.bytesPerElement=4,ds("StructArrayLayout1ul4",bo);class wo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s,o,a,l){const u=this.length;return this.resize(u+1),this.emplace(u,t,e,n,r,i,s,o,a,l)}emplace(t,e,n,r,i,s,o,a,l,u){const c=10*t,h=5*t;return this.int16[c+0]=e,this.int16[c+1]=n,this.int16[c+2]=r,this.int16[c+3]=i,this.int16[c+4]=s,this.int16[c+5]=o,this.uint32[h+3]=a,this.uint16[c+8]=l,this.uint16[c+9]=u,t}}wo.prototype.bytesPerElement=20,ds("StructArrayLayout6i1ul2ui20",wo);class _o extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s){const o=this.length;return this.resize(o+1),this.emplace(o,t,e,n,r,i,s)}emplace(t,e,n,r,i,s,o){const a=6*t;return this.int16[a+0]=e,this.int16[a+1]=n,this.int16[a+2]=r,this.int16[a+3]=i,this.int16[a+4]=s,this.int16[a+5]=o,t}}_o.prototype.bytesPerElement=12,ds("StructArrayLayout2i2i2i12",_o);class So extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i){const s=this.length;return this.resize(s+1),this.emplace(s,t,e,n,r,i)}emplace(t,e,n,r,i,s){const o=4*t,a=8*t;return this.float32[o+0]=e,this.float32[o+1]=n,this.float32[o+2]=r,this.int16[a+6]=i,this.int16[a+7]=s,t}}So.prototype.bytesPerElement=16,ds("StructArrayLayout2f1f2i16",So);class Ao extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s){const o=this.length;return this.resize(o+1),this.emplace(o,t,e,n,r,i,s)}emplace(t,e,n,r,i,s,o){const a=16*t,l=4*t,u=8*t;return this.uint8[a+0]=e,this.uint8[a+1]=n,this.float32[l+1]=r,this.float32[l+2]=i,this.int16[u+6]=s,this.int16[u+7]=o,t}}Ao.prototype.bytesPerElement=16,ds("StructArrayLayout2ub2f2i16",Ao);class Mo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);}emplaceBack(t,e,n){const r=this.length;return this.resize(r+1),this.emplace(r,t,e,n)}emplace(t,e,n,r){const i=3*t;return this.uint16[i+0]=e,this.uint16[i+1]=n,this.uint16[i+2]=r,t}}Mo.prototype.bytesPerElement=6,ds("StructArrayLayout3ui6",Mo);class ko extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s,o,a,l,u,c,h,p,f,d,y,m){const g=this.length;return this.resize(g+1),this.emplace(g,t,e,n,r,i,s,o,a,l,u,c,h,p,f,d,y,m)}emplace(t,e,n,r,i,s,o,a,l,u,c,h,p,f,d,y,m,g){const x=24*t,v=12*t,b=48*t;return this.int16[x+0]=e,this.int16[x+1]=n,this.uint16[x+2]=r,this.uint16[x+3]=i,this.uint32[v+2]=s,this.uint32[v+3]=o,this.uint32[v+4]=a,this.uint16[x+10]=l,this.uint16[x+11]=u,this.uint16[x+12]=c,this.float32[v+7]=h,this.float32[v+8]=p,this.uint8[b+36]=f,this.uint8[b+37]=d,this.uint8[b+38]=y,this.uint32[v+10]=m,this.int16[x+22]=g,t}}ko.prototype.bytesPerElement=48,ds("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",ko);class Io extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);}emplaceBack(t,e,n,r,i,s,o,a,l,u,c,h,p,f,d,y,m,g,x,v,b,w,_,S,A,M,k,I){const E=this.length;return this.resize(E+1),this.emplace(E,t,e,n,r,i,s,o,a,l,u,c,h,p,f,d,y,m,g,x,v,b,w,_,S,A,M,k,I)}emplace(t,e,n,r,i,s,o,a,l,u,c,h,p,f,d,y,m,g,x,v,b,w,_,S,A,M,k,I,E){const T=32*t,F=16*t;return this.int16[T+0]=e,this.int16[T+1]=n,this.int16[T+2]=r,this.int16[T+3]=i,this.int16[T+4]=s,this.int16[T+5]=o,this.int16[T+6]=a,this.int16[T+7]=l,this.uint16[T+8]=u,this.uint16[T+9]=c,this.uint16[T+10]=h,this.uint16[T+11]=p,this.uint16[T+12]=f,this.uint16[T+13]=d,this.uint16[T+14]=y,this.uint16[T+15]=m,this.uint16[T+16]=g,this.uint16[T+17]=x,this.uint16[T+18]=v,this.uint16[T+19]=b,this.uint16[T+20]=w,this.uint16[T+21]=_,this.uint16[T+22]=S,this.uint32[F+12]=A,this.float32[F+13]=M,this.float32[F+14]=k,this.uint16[T+30]=I,this.uint16[T+31]=E,t}}Io.prototype.bytesPerElement=64,ds("StructArrayLayout8i15ui1ul2f2ui64",Io);class Eo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);}emplaceBack(t){const e=this.length;return this.resize(e+1),this.emplace(e,t)}emplace(t,e){return this.float32[1*t+0]=e,t}}Eo.prototype.bytesPerElement=4,ds("StructArrayLayout1f4",Eo);class To extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);}emplaceBack(t,e,n){const r=this.length;return this.resize(r+1),this.emplace(r,t,e,n)}emplace(t,e,n,r){const i=3*t;return this.uint16[6*t+0]=e,this.float32[i+1]=n,this.float32[i+2]=r,t}}To.prototype.bytesPerElement=12,ds("StructArrayLayout1ui2f12",To);class Fo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);}emplaceBack(t,e,n){const r=this.length;return this.resize(r+1),this.emplace(r,t,e,n)}emplace(t,e,n,r){const i=4*t;return this.uint32[2*t+0]=e,this.uint16[i+2]=n,this.uint16[i+3]=r,t}}Fo.prototype.bytesPerElement=8,ds("StructArrayLayout1ul2ui8",Fo);class Po extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);}emplaceBack(t,e){const n=this.length;return this.resize(n+1),this.emplace(n,t,e)}emplace(t,e,n){const r=2*t;return this.uint16[r+0]=e,this.uint16[r+1]=n,t}}Po.prototype.bytesPerElement=4,ds("StructArrayLayout2ui4",Po);class Do extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);}emplaceBack(t){const e=this.length;return this.resize(e+1),this.emplace(e,t)}emplace(t,e){return this.uint16[1*t+0]=e,t}}Do.prototype.bytesPerElement=2,ds("StructArrayLayout1ui2",Do);class zo extends oo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);}emplaceBack(t,e,n,r){const i=this.length;return this.resize(i+1),this.emplace(i,t,e,n,r)}emplace(t,e,n,r,i){const s=4*t;return this.float32[s+0]=e,this.float32[s+1]=n,this.float32[s+2]=r,this.float32[s+3]=i,t}}zo.prototype.bytesPerElement=16,ds("StructArrayLayout4f16",zo);class Bo extends so{get anchorPointX(){return this._structArray.int16[this._pos2+0]}get anchorPointY(){return this._structArray.int16[this._pos2+1]}get x1(){return this._structArray.int16[this._pos2+2]}get y1(){return this._structArray.int16[this._pos2+3]}get x2(){return this._structArray.int16[this._pos2+4]}get y2(){return this._structArray.int16[this._pos2+5]}get featureIndex(){return this._structArray.uint32[this._pos4+3]}get sourceLayerIndex(){return this._structArray.uint16[this._pos2+8]}get bucketIndex(){return this._structArray.uint16[this._pos2+9]}get anchorPoint(){return new n(this.anchorPointX,this.anchorPointY)}}Bo.prototype.size=20;class Co extends wo{get(t){return new Bo(this,t)}}ds("CollisionBoxArray",Co);class Vo extends so{get anchorX(){return this._structArray.int16[this._pos2+0]}get anchorY(){return this._structArray.int16[this._pos2+1]}get glyphStartIndex(){return this._structArray.uint16[this._pos2+2]}get numGlyphs(){return this._structArray.uint16[this._pos2+3]}get vertexStartIndex(){return this._structArray.uint32[this._pos4+2]}get lineStartIndex(){return this._structArray.uint32[this._pos4+3]}get lineLength(){return this._structArray.uint32[this._pos4+4]}get segment(){return this._structArray.uint16[this._pos2+10]}get lowerSize(){return this._structArray.uint16[this._pos2+11]}get upperSize(){return this._structArray.uint16[this._pos2+12]}get lineOffsetX(){return this._structArray.float32[this._pos4+7]}get lineOffsetY(){return this._structArray.float32[this._pos4+8]}get writingMode(){return this._structArray.uint8[this._pos1+36]}get placedOrientation(){return this._structArray.uint8[this._pos1+37]}set placedOrientation(t){this._structArray.uint8[this._pos1+37]=t;}get hidden(){return this._structArray.uint8[this._pos1+38]}set hidden(t){this._structArray.uint8[this._pos1+38]=t;}get crossTileID(){return this._structArray.uint32[this._pos4+10]}set crossTileID(t){this._structArray.uint32[this._pos4+10]=t;}get associatedIconIndex(){return this._structArray.int16[this._pos2+22]}}Vo.prototype.size=48;class Lo extends ko{get(t){return new Vo(this,t)}}ds("PlacedSymbolArray",Lo);class Oo extends so{get anchorX(){return this._structArray.int16[this._pos2+0]}get anchorY(){return this._structArray.int16[this._pos2+1]}get rightJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+2]}get centerJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+3]}get leftJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+4]}get verticalPlacedTextSymbolIndex(){return this._structArray.int16[this._pos2+5]}get placedIconSymbolIndex(){return this._structArray.int16[this._pos2+6]}get verticalPlacedIconSymbolIndex(){return this._structArray.int16[this._pos2+7]}get key(){return this._structArray.uint16[this._pos2+8]}get textBoxStartIndex(){return this._structArray.uint16[this._pos2+9]}get textBoxEndIndex(){return this._structArray.uint16[this._pos2+10]}get verticalTextBoxStartIndex(){return this._structArray.uint16[this._pos2+11]}get verticalTextBoxEndIndex(){return this._structArray.uint16[this._pos2+12]}get iconBoxStartIndex(){return this._structArray.uint16[this._pos2+13]}get iconBoxEndIndex(){return this._structArray.uint16[this._pos2+14]}get verticalIconBoxStartIndex(){return this._structArray.uint16[this._pos2+15]}get verticalIconBoxEndIndex(){return this._structArray.uint16[this._pos2+16]}get featureIndex(){return this._structArray.uint16[this._pos2+17]}get numHorizontalGlyphVertices(){return this._structArray.uint16[this._pos2+18]}get numVerticalGlyphVertices(){return this._structArray.uint16[this._pos2+19]}get numIconVertices(){return this._structArray.uint16[this._pos2+20]}get numVerticalIconVertices(){return this._structArray.uint16[this._pos2+21]}get useRuntimeCollisionCircles(){return this._structArray.uint16[this._pos2+22]}get crossTileID(){return this._structArray.uint32[this._pos4+12]}set crossTileID(t){this._structArray.uint32[this._pos4+12]=t;}get textBoxScale(){return this._structArray.float32[this._pos4+13]}get collisionCircleDiameter(){return this._structArray.float32[this._pos4+14]}get textAnchorOffsetStartIndex(){return this._structArray.uint16[this._pos2+30]}get textAnchorOffsetEndIndex(){return this._structArray.uint16[this._pos2+31]}}Oo.prototype.size=64;class $o extends Io{get(t){return new Oo(this,t)}}ds("SymbolInstanceArray",$o);class Ro extends Eo{getoffsetX(t){return this.float32[1*t+0]}}ds("GlyphOffsetArray",Ro);class No extends co{getx(t){return this.int16[3*t+0]}gety(t){return this.int16[3*t+1]}gettileUnitDistanceFromAnchor(t){return this.int16[3*t+2]}}ds("SymbolLineVertexArray",No);class Uo extends so{get textAnchor(){return this._structArray.uint16[this._pos2+0]}get textOffset0(){return this._structArray.float32[this._pos4+1]}get textOffset1(){return this._structArray.float32[this._pos4+2]}}Uo.prototype.size=12;class jo extends To{get(t){return new Uo(this,t)}}ds("TextAnchorOffsetArray",jo);class qo extends so{get featureIndex(){return this._structArray.uint32[this._pos4+0]}get sourceLayerIndex(){return this._structArray.uint16[this._pos2+2]}get bucketIndex(){return this._structArray.uint16[this._pos2+3]}}qo.prototype.size=8;class Go extends Fo{get(t){return new qo(this,t)}}ds("FeatureIndexArray",Go);class Xo extends uo{}class Yo extends uo{}class Zo extends uo{}class Ho extends po{}class Wo extends fo{}class Ko extends yo{}class Jo extends mo{}class Qo extends go{}class ta extends xo{}class ea extends vo{}class na extends bo{}class ra extends _o{}class ia extends Ao{}class sa extends Mo{}class oa extends Po{}const aa=ao([{name:"a_pos",components:2,type:"Int16"}],4),{members:la}=aa;class ua{constructor(t=[]){this._forceNewSegmentOnNextPrepare=!1,this.segments=t;}prepareSegment(t,e,n,r){const i=this.segments[this.segments.length-1];return t>ua.MAX_VERTEX_ARRAY_LENGTH&&G(`Max vertices per segment is ${ua.MAX_VERTEX_ARRAY_LENGTH}: bucket requested ${t}. Consider using the \`fillLargeMeshArrays\` function if you require meshes with more than ${ua.MAX_VERTEX_ARRAY_LENGTH} vertices.`),this._forceNewSegmentOnNextPrepare||!i||i.vertexLength+t>ua.MAX_VERTEX_ARRAY_LENGTH||i.sortKey!==r?this.createNewSegment(e,n,r):i}createNewSegment(t,e,n){const r={vertexOffset:t.length,primitiveOffset:e.length,vertexLength:0,primitiveLength:0,vaos:{}};return void 0!==n&&(r.sortKey=n),this._forceNewSegmentOnNextPrepare=!1,this.segments.push(r),r}getOrCreateLatestSegment(t,e,n){return this.prepareSegment(0,t,e,n)}forceNewSegmentOnNextPrepare(){this._forceNewSegmentOnNextPrepare=!0;}get(){return this.segments}destroy(){for(const t of this.segments)for(const e in t.vaos)t.vaos[e].destroy();}static simpleSegment(t,e,n,r){return new ua([{vertexOffset:t,primitiveOffset:e,vertexLength:n,primitiveLength:r,vaos:{},sortKey:0}])}}function ca(t,e){return 256*(t=L(Math.floor(t),0,255))+L(Math.floor(e),0,255)}ua.MAX_VERTEX_ARRAY_LENGTH=Math.pow(2,16)-1,ds("SegmentVector",ua);const ha=ao([{name:"a_pattern_from",components:4,type:"Uint16"},{name:"a_pattern_to",components:4,type:"Uint16"},{name:"a_pixel_ratio_from",components:1,type:"Uint16"},{name:"a_pixel_ratio_to",components:1,type:"Uint16"}]),pa=ao([{name:"a_dasharray_from",components:4,type:"Uint16"},{name:"a_dasharray_to",components:4,type:"Uint16"}]);var fa,da,ya,ma={exports:{}},ga={exports:{}},xa={exports:{}},va=function(){if(ya)return ma.exports;ya=1;var t=(fa||(fa=1,ga.exports=function(t,e){var n,r,i,s,o,a,l,u;for(r=t.length-(n=3&t.length),i=e,o=3432918353,a=461845907,u=0;u>>16)*o&65535)<<16)&4294967295)<<15|l>>>17))*a+(((l>>>16)*a&65535)<<16)&4294967295)<<13|i>>>19))+((5*(i>>>16)&65535)<<16)&4294967295))+((58964+(s>>>16)&65535)<<16);switch(l=0,n){case 3:l^=(255&t.charCodeAt(u+2))<<16;case 2:l^=(255&t.charCodeAt(u+1))<<8;case 1:i^=l=(65535&(l=(l=(65535&(l^=255&t.charCodeAt(u)))*o+(((l>>>16)*o&65535)<<16)&4294967295)<<15|l>>>17))*a+(((l>>>16)*a&65535)<<16)&4294967295;}return i^=t.length,i=2246822507*(65535&(i^=i>>>16))+((2246822507*(i>>>16)&65535)<<16)&4294967295,i=3266489909*(65535&(i^=i>>>13))+((3266489909*(i>>>16)&65535)<<16)&4294967295,(i^=i>>>16)>>>0}),ga.exports),e=(da||(da=1,xa.exports=function(t,e){for(var n,r=t.length,i=e^r,s=0;r>=4;)n=1540483477*(65535&(n=255&t.charCodeAt(s)|(255&t.charCodeAt(++s))<<8|(255&t.charCodeAt(++s))<<16|(255&t.charCodeAt(++s))<<24))+((1540483477*(n>>>16)&65535)<<16),i=1540483477*(65535&i)+((1540483477*(i>>>16)&65535)<<16)^(n=1540483477*(65535&(n^=n>>>24))+((1540483477*(n>>>16)&65535)<<16)),r-=4,++s;switch(r){case 3:i^=(255&t.charCodeAt(s+2))<<16;case 2:i^=(255&t.charCodeAt(s+1))<<8;case 1:i=1540483477*(65535&(i^=255&t.charCodeAt(s)))+((1540483477*(i>>>16)&65535)<<16);}return i=1540483477*(65535&(i^=i>>>13))+((1540483477*(i>>>16)&65535)<<16),(i^=i>>>15)>>>0}),xa.exports);return ma.exports=t,ma.exports.murmur3=t,ma.exports.murmur2=e,ma.exports}(),ba=r(va);class wa{constructor(){this.ids=[],this.positions=[],this.indexed=!1;}add(t,e,n,r){this.ids.push(_a(t)),this.positions.push(e,n,r);}getPositions(t){if(!this.indexed)throw new Error("Trying to get index, but feature positions are not indexed");const e=_a(t);let n=0,r=this.ids.length-1;for(;n>1;this.ids[t]>=e?r=t:n=t+1;}const i=[];for(;this.ids[n]===e;)i.push({index:this.positions[3*n],start:this.positions[3*n+1],end:this.positions[3*n+2]}),n++;return i}static serialize(t,e){const n=new Float64Array(t.ids),r=new Uint32Array(t.positions);return Sa(n,r,0,n.length-1),e&&e.push(n.buffer,r.buffer),{ids:n,positions:r}}static deserialize(t){const e=new wa;return e.ids=t.ids,e.positions=t.positions,e.indexed=!0,e}}function _a(t){const e=+t;return !isNaN(e)&&e<=Number.MAX_SAFE_INTEGER?e:ba(String(t))}function Sa(t,e,n,r){for(;n>1];let s=n-1,o=r+1;for(;;){do{s++;}while(t[s]i);if(s>=o)break;Aa(t,s,o),Aa(e,3*s,3*o),Aa(e,3*s+1,3*o+1),Aa(e,3*s+2,3*o+2);}o-n`u_${t}`)),this.type=n;}setUniform(t,e,n){t.set(n.constantOr(this.value));}getBinding(t,e,n){return "color"===this.type?new Ea(t,e):new ka(t,e)}}class Da{constructor(t,e){this.uniformNames=e.map((t=>`u_${t}`)),this.patternFrom=null,this.patternTo=null,this.pixelRatioFrom=1,this.pixelRatioTo=1;}setConstantPatternPositions(t,e){this.pixelRatioFrom=e.pixelRatio,this.pixelRatioTo=t.pixelRatio,this.patternFrom=e.tlbr,this.patternTo=t.tlbr;}setConstantDashPositions(t,e){this.dashTo=[0,t.y,t.height,t.width],this.dashFrom=[0,e.y,e.height,e.width];}setUniform(t,e,n,r){let i=null;"u_pattern_to"===r?i=this.patternTo:"u_pattern_from"===r?i=this.patternFrom:"u_dasharray_to"===r?i=this.dashTo:"u_dasharray_from"===r?i=this.dashFrom:"u_pixel_ratio_to"===r?i=this.pixelRatioTo:"u_pixel_ratio_from"===r&&(i=this.pixelRatioFrom),null!==i&&t.set(i);}getBinding(t,e,n){return n.startsWith("u_pattern")||n.startsWith("u_dasharray_")?new Ia(t,e):new ka(t,e)}}class za{constructor(t,e,n,r){this.expression=t,this.type=n,this.maxValue=0,this.paintVertexAttributes=e.map((t=>({name:`a_${t}`,type:"Float32",components:"color"===n?2:1,offset:0}))),this.paintVertexArray=new r;}populatePaintArray(t,e,n){const r=this.paintVertexArray.length,i=this.expression.evaluate(new Cs(0,n),e,{},n.canonical,[],n.formattedSection);this.paintVertexArray.resize(t),this._setPaintValue(r,t,i);}updatePaintArray(t,e,n,r,i){const s=this.expression.evaluate(new Cs(0,i),n,r);this._setPaintValue(t,e,s);}_setPaintValue(t,e,n){if("color"===this.type){const r=Fa(n);for(let n=t;n`u_${t}_t`)),this.type=n,this.useIntegerZoom=r,this.zoom=i,this.maxValue=0,this.paintVertexAttributes=e.map((t=>({name:`a_${t}`,type:"Float32",components:"color"===n?4:2,offset:0}))),this.paintVertexArray=new s;}populatePaintArray(t,e,n){const r=this.expression.evaluate(new Cs(this.zoom,n),e,{},n.canonical,[],n.formattedSection),i=this.expression.evaluate(new Cs(this.zoom+1,n),e,{},n.canonical,[],n.formattedSection),s=this.paintVertexArray.length;this.paintVertexArray.resize(t),this._setPaintValue(s,t,r,i);}updatePaintArray(t,e,n,r,i){const s=this.expression.evaluate(new Cs(this.zoom,i),n,r),o=this.expression.evaluate(new Cs(this.zoom+1,i),n,r);this._setPaintValue(t,e,s,o);}_setPaintValue(t,e,n,r){if("color"===this.type){const i=Fa(n),s=Fa(r);for(let n=t;n`#define HAS_UNIFORM_${t}`)));}return t}getBinderAttributes(){const t=[];for(const e in this.binders){const n=this.binders[e];if(n instanceof za||n instanceof Ba)for(const e of n.paintVertexAttributes)t.push(e.name);else if(n instanceof Ca){const e=n.getVertexAttributes();for(const n of e)t.push(n.name);}}return t}getBinderUniforms(){const t=[];for(const e in this.binders){const n=this.binders[e];if(n instanceof Pa||n instanceof Da||n instanceof Ba)for(const e of n.uniformNames)t.push(e);}return t}getPaintVertexBuffers(){return this._buffers}getUniforms(t,e){const n=[];for(const r in this.binders){const i=this.binders[r];if(i instanceof Pa||i instanceof Da||i instanceof Ba)for(const s of i.uniformNames)if(e[s]){const o=i.getBinding(t,e[s],s);n.push({name:s,property:r,binding:o});}}return n}setUniforms(t,e,n,r){for(const{name:t,property:i,binding:s}of e)this.binders[i].setUniform(s,r,n.get(i),t);}updatePaintBuffers(t){this._buffers=[];for(const e in this.binders){const n=this.binders[e];if(t&&n instanceof Ca){const e=2===t.fromScale?n.zoomInPaintVertexBuffer:n.zoomOutPaintVertexBuffer;e&&this._buffers.push(e);}else (n instanceof za||n instanceof Ba)&&n.paintVertexBuffer&&this._buffers.push(n.paintVertexBuffer);}}upload(t){for(const e in this.binders){const n=this.binders[e];(n instanceof za||n instanceof Ba||n instanceof Ca)&&n.upload(t);}this.updatePaintBuffers();}destroy(){for(const t in this.binders){const e=this.binders[t];(e instanceof za||e instanceof Ba||e instanceof Ca)&&e.destroy();}}}class $a{constructor(t,e,n=()=>!0){this.programConfigurations={};for(const r of t)this.programConfigurations[r.id]=new Oa(r,e,n);this.needsUpload=!1,this._featureMap=new wa,this._bufferOffset=0;}populatePaintArrays(t,e,n,r){for(const n in this.programConfigurations)this.programConfigurations[n].populatePaintArrays(t,e,r);void 0!==e.id&&this._featureMap.add(e.id,n,this._bufferOffset,t),this._bufferOffset=t,this.needsUpload=!0;}updatePaintArrays(t,e,n,r){for(const i of n)this.needsUpload=this.programConfigurations[i.id].updatePaintArrays(t,this._featureMap,e,i,r)||this.needsUpload;}get(t){return this.programConfigurations[t]}upload(t){if(this.needsUpload){for(const e in this.programConfigurations)this.programConfigurations[e].upload(t);this.needsUpload=!1;}}destroy(){for(const t in this.programConfigurations)this.programConfigurations[t].destroy();}}function Ra(t,e){return {"text-opacity":["opacity"],"icon-opacity":["opacity"],"text-color":["fill_color"],"icon-color":["fill_color"],"text-halo-color":["halo_color"],"icon-halo-color":["halo_color"],"text-halo-blur":["halo_blur"],"icon-halo-blur":["halo_blur"],"text-halo-width":["halo_width"],"icon-halo-width":["halo_width"],"line-gap-width":["gapwidth"],"line-dasharray":["dasharray_to","dasharray_from"],"line-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"fill-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"fill-extrusion-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"]}[t]||[t.replace(`${e}-`,"").replace(/-/g,"_")]}function Na(t,e,n){const r={color:{source:yo,composite:zo},number:{source:Eo,composite:yo}},i=function(t){return {"line-pattern":{source:Jo,composite:Jo},"fill-pattern":{source:Jo,composite:Jo},"fill-extrusion-pattern":{source:Jo,composite:Jo},"line-dasharray":{source:Qo,composite:Qo}}[t]}(t);return (null==i?void 0:i[n])||r[e][n]}ds("ConstantBinder",Pa),ds("CrossFadedConstantBinder",Da),ds("SourceExpressionBinder",za),ds("CrossFadedPatternBinder",Va),ds("CrossFadedDasharrayBinder",La),ds("CompositeExpressionBinder",Ba),ds("ProgramConfiguration",Oa,{omit:["_buffers"]}),ds("ProgramConfigurationSet",$a);const Ua=Math.pow(2,14)-1,ja=-Ua-1;function qa(t){const e=T/t.extent,n=t.loadGeometry();for(const t of n)for(const n of t){const t=Math.round(n.x*e),r=Math.round(n.y*e);n.x=L(t,ja,Ua),n.y=L(r,ja,Ua),(tn.x+1||rn.y+1)&&G("Geometry exceeds allowed extent, reduce your vector tile buffer size");}return n}function Ga(t,e){return {type:t.type,id:t.id,properties:t.properties,geometry:e?qa(t):[]}}const Xa=-32768;function Ya(t,e,n,r,i){t.emplaceBack(Xa+8*e+r,Xa+8*n+i);}class Za{constructor(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((t=>t.id)),this.index=t.index,this.hasDependencies=!1,this.layoutVertexArray=new Yo,this.indexArray=new sa,this.segments=new ua,this.programConfigurations=new $a(t.layers,t.zoom),this.stateDependentLayerIds=this.layers.filter((t=>t.isStateDependent())).map((t=>t.id));}populate(t,e,n){const r=this.layers[0],i=[];let s=null,o=!1,a="heatmap"===r.type;if("circle"===r.type){const t=r;s=t.layout.get("circle-sort-key"),o=!s.isConstant(),a||(a="map"===t.paint.get("circle-pitch-alignment"));}const l=a?e.subdivisionGranularity.circle:1;for(const{feature:e,id:r,index:a,sourceLayerIndex:l}of t){const t=this.layers[0]._featureFilter.needGeometry,u=Ga(e,t);if(!this.layers[0]._featureFilter.filter(new Cs(this.zoom),u,n))continue;const c=o?s.evaluate(u,{},n):void 0,h={id:r,properties:e.properties,type:e.type,sourceLayerIndex:l,index:a,geometry:t?u.geometry:qa(e),patterns:{},sortKey:c};i.push(h);}o&&i.sort(((t,e)=>t.sortKey-e.sortKey));for(const r of i){const{geometry:i,index:s,sourceLayerIndex:o}=r,a=t[s].feature;this.addFeature(r,i,s,n,l),e.featureIndex.insert(a,i,s,o,this.index);}}update(t,e,n){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,{imagePositions:n});}isEmpty(){return 0===this.layoutVertexArray.length}uploadPending(){return !this.uploaded||this.programConfigurations.needsUpload}upload(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,la),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0;}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy());}addFeature(t,e,n,r,i=1){let s;switch(i){case 1:s=[0,7];break;case 3:s=[0,2,5,7];break;case 5:s=[0,1,3,4,6,7];break;case 7:s=[0,1,2,3,4,5,6,7];break;default:throw new Error(`Invalid circle bucket granularity: ${i}; valid values are 1, 3, 5, 7.`)}const o=s.length;for(const n of e)for(const e of n){const n=e.x,r=e.y;if(n<0||n>=T||r<0||r>=T)continue;const i=this.segments.prepareSegment(o*o,this.layoutVertexArray,this.indexArray,t.sortKey),a=i.vertexLength;for(let t=0;t1){if(Qa(t,e))return !0;for(const r of e)if(el(r,t,n))return !0}for(const r of t)if(el(r,e,n))return !0;return !1}function Qa(t,e){if(0===t.length||0===e.length)return !1;for(let n=0;n1?n:n.sub(e)._mult(i)._add(e))}function rl(t,e){let n,r,i,s=!1;for(const o of t){n=o;for(let t=0,o=n.length-1;te.y!=i.y>e.y&&e.x<(i.x-r.x)*(e.y-r.y)/(i.y-r.y)+r.x&&(s=!s);}return s}function il(t,e){let n=!1;for(let r=0,i=t.length-1;re.y!=o.y>e.y&&e.x<(o.x-s.x)*(e.y-s.y)/(o.y-s.y)+s.x&&(n=!n);}return n}function sl(t,e,n){const r=n[0],i=n[2];if(t.xi.x&&e.x>i.x||t.yi.y&&e.y>i.y)return !1;const s=X(t,e,n[0]);return s!==X(t,e,n[1])||s!==X(t,e,n[2])||s!==X(t,e,n[3])}function ol(t,e,n){const r=e.paint.get(t).value;return "constant"===r.kind?r.value:n.programConfigurations.get(e.id).getMaxValue(t)}function al(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function ll(t,e,r,i,s){if(!e[0]&&!e[1])return t;const o=n.convert(e)._mult(s);"viewport"===r&&o._rotate(-i);const a=[];for(const e of t)a.push(e.sub(o));return a}function ul(t){const e=[];for(let n=0;nyl(t,e,n,r)))}(l,i,o,a),f=u),dl({queryGeometry:p,size:f,transform:i,unwrappedTileID:o,getElevation:a,pitchAlignment:h,pitchScale:c},r)}}class bl extends Za{}let wl;ds("HeatmapBucket",bl,{omit:["layers"]});var _l={get paint(){return wl=wl||new Ks({"heatmap-radius":new Ys(wt.paint_heatmap["heatmap-radius"]),"heatmap-weight":new Ys(wt.paint_heatmap["heatmap-weight"]),"heatmap-intensity":new Xs(wt.paint_heatmap["heatmap-intensity"]),"heatmap-color":new Ws(wt.paint_heatmap["heatmap-color"]),"heatmap-opacity":new Xs(wt.paint_heatmap["heatmap-opacity"])})}};function Sl(t,{width:e,height:n},r,i){if(i){if(i instanceof Uint8ClampedArray)i=new Uint8Array(i.buffer);else if(i.length!==e*n*r)throw new RangeError(`mismatched image size. expected: ${i.length} but got: ${e*n*r}`)}else i=new Uint8Array(e*n*r);return t.width=e,t.height=n,t.data=i,t}function Al(t,{width:e,height:n},r){if(e===t.width&&n===t.height)return;const i=Sl({},{width:e,height:n},r);Ml(t,i,{x:0,y:0},{x:0,y:0},{width:Math.min(t.width,e),height:Math.min(t.height,n)},r),t.width=e,t.height=n,t.data=i.data;}function Ml(t,e,n,r,i,s){if(0===i.width||0===i.height)return e;if(i.width>t.width||i.height>t.height||n.x>t.width-i.width||n.y>t.height-i.height)throw new RangeError("out of range source coordinates for image copy");if(i.width>e.width||i.height>e.height||r.x>e.width-i.width||r.y>e.height-i.height)throw new RangeError("out of range destination coordinates for image copy");const o=t.data,a=e.data;if(o===a)throw new Error("srcData equals dstData, so image is already copied");for(let l=0;l{e[t.evaluationKey]=o;const a=t.expression.evaluate(e);i.setPixel(r/4/n,s/4,a);};if(t.clips)for(let e=0,i=0;ethis.max&&(this.max=n),n=this.dim+1||e<-1||e>=this.dim+1)throw new RangeError(`Out of range source coordinates for DEM data. x: ${t}, y: ${e}, dim: ${this.dim}`);return (e+1)*this.stride+(t+1)}unpack(t,e,n){return t*this.redFactor+e*this.greenFactor+n*this.blueFactor-this.baseShift}pack(t){return Rl(t,this.getUnpackVector())}getPixels(){return new Il({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))}backfillBorder(t,e,n){if(this.dim!==t.dim)throw new Error("dem dimension mismatch");let r=e*this.dim,i=e*this.dim+this.dim,s=n*this.dim,o=n*this.dim+this.dim;switch(e){case -1:r=i-1;break;case 1:i=r+1;}switch(n){case -1:s=o-1;break;case 1:o=s+1;}const a=-e*this.dim,l=-n*this.dim;for(let e=s;e0)for(let i=e;i=e;i-=r)s=du(i/r|0,t[i],t[i+1],s);return s&&lu(s,s.next)&&(yu(s),s=s.next),s}function Yl(t,e){if(!t)return t;e||(e=t);let n,r=t;do{if(n=!1,r.steiner||!lu(r,r.next)&&0!==au(r.prev,r,r.next))r=r.next;else {if(yu(r),r=e=r.prev,r===r.next)break;n=!0;}}while(n||r!==e);return e}function Zl(t,e,n,r,i,s,o){if(!t)return;!o&&s&&function(t,e,n,r){let i=t;do{0===i.z&&(i.z=nu(i.x,i.y,e,n,r)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next;}while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,function(t){let e,n=1;do{let r,i=t;t=null;let s=null;for(e=0;i;){e++;let o=i,a=0;for(let t=0;t0||l>0&&o;)0!==a&&(0===l||!o||i.z<=o.z)?(r=i,i=i.nextZ,a--):(r=o,o=o.nextZ,l--),s?s.nextZ=r:t=r,r.prevZ=s,s=r;i=o;}s.nextZ=null,n*=2;}while(e>1)}(i);}(t,r,i,s);let a=t;for(;t.prev!==t.next;){const l=t.prev,u=t.next;if(s?Wl(t,r,i,s):Hl(t))e.push(l.i,t.i,u.i),yu(t),t=u.next,a=u.next;else if((t=u)===a){o?1===o?Zl(t=Kl(Yl(t),e),e,n,r,i,s,2):2===o&&Jl(t,e,n,r,i,s):Zl(Yl(t),e,n,r,i,s,1);break}}}function Hl(t){const e=t.prev,n=t,r=t.next;if(au(e,n,r)>=0)return !1;const i=e.x,s=n.x,o=r.x,a=e.y,l=n.y,u=r.y,c=Math.min(i,s,o),h=Math.min(a,l,u),p=Math.max(i,s,o),f=Math.max(a,l,u);let d=r.next;for(;d!==e;){if(d.x>=c&&d.x<=p&&d.y>=h&&d.y<=f&&su(i,a,s,l,o,u,d.x,d.y)&&au(d.prev,d,d.next)>=0)return !1;d=d.next;}return !0}function Wl(t,e,n,r){const i=t.prev,s=t,o=t.next;if(au(i,s,o)>=0)return !1;const a=i.x,l=s.x,u=o.x,c=i.y,h=s.y,p=o.y,f=Math.min(a,l,u),d=Math.min(c,h,p),y=Math.max(a,l,u),m=Math.max(c,h,p),g=nu(f,d,e,n,r),x=nu(y,m,e,n,r);let v=t.prevZ,b=t.nextZ;for(;v&&v.z>=g&&b&&b.z<=x;){if(v.x>=f&&v.x<=y&&v.y>=d&&v.y<=m&&v!==i&&v!==o&&su(a,c,l,h,u,p,v.x,v.y)&&au(v.prev,v,v.next)>=0)return !1;if(v=v.prevZ,b.x>=f&&b.x<=y&&b.y>=d&&b.y<=m&&b!==i&&b!==o&&su(a,c,l,h,u,p,b.x,b.y)&&au(b.prev,b,b.next)>=0)return !1;b=b.nextZ;}for(;v&&v.z>=g;){if(v.x>=f&&v.x<=y&&v.y>=d&&v.y<=m&&v!==i&&v!==o&&su(a,c,l,h,u,p,v.x,v.y)&&au(v.prev,v,v.next)>=0)return !1;v=v.prevZ;}for(;b&&b.z<=x;){if(b.x>=f&&b.x<=y&&b.y>=d&&b.y<=m&&b!==i&&b!==o&&su(a,c,l,h,u,p,b.x,b.y)&&au(b.prev,b,b.next)>=0)return !1;b=b.nextZ;}return !0}function Kl(t,e){let n=t;do{const r=n.prev,i=n.next.next;!lu(r,i)&&uu(r,n,n.next,i)&&pu(r,i)&&pu(i,r)&&(e.push(r.i,n.i,i.i),yu(n),yu(n.next),n=t=i),n=n.next;}while(n!==t);return Yl(n)}function Jl(t,e,n,r,i,s){let o=t;do{let t=o.next.next;for(;t!==o.prev;){if(o.i!==t.i&&ou(o,t)){let a=fu(o,t);return o=Yl(o,o.next),a=Yl(a,a.next),Zl(o,e,n,r,i,s,0),void Zl(a,e,n,r,i,s,0)}t=t.next;}o=o.next;}while(o!==t)}function Ql(t,e){let n=t.x-e.x;return 0===n&&(n=t.y-e.y,0===n)&&(n=(t.next.y-t.y)/(t.next.x-t.x)-(e.next.y-e.y)/(e.next.x-e.x)),n}function tu(t,e){const n=function(t,e){let n=e;const r=t.x,i=t.y;let s,o=-1/0;if(lu(t,n))return n;do{if(lu(t,n.next))return n.next;if(i<=n.y&&i>=n.next.y&&n.next.y!==n.y){const t=n.x+(i-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(t<=r&&t>o&&(o=t,s=n.x=n.x&&n.x>=l&&r!==n.x&&iu(is.x||n.x===s.x&&eu(s,n)))&&(s=n,c=e);}n=n.next;}while(n!==a);return s}(t,e);if(!n)return e;const r=fu(n,t);return Yl(r,r.next),Yl(n,n.next)}function eu(t,e){return au(t.prev,t,e.prev)<0&&au(e.next,t,t.next)<0}function nu(t,e,n,r,i){return (t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=(t-n)*i|0)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=(e-r)*i|0)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function ru(t){let e=t,n=t;do{(e.x=(t-o)*(s-a)&&(t-o)*(r-a)>=(n-o)*(e-a)&&(n-o)*(s-a)>=(i-o)*(r-a)}function su(t,e,n,r,i,s,o,a){return !(t===o&&e===a)&&iu(t,e,n,r,i,s,o,a)}function ou(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){let n=t;do{if(n.i!==t.i&&n.next.i!==t.i&&n.i!==e.i&&n.next.i!==e.i&&uu(n,n.next,t,e))return !0;n=n.next;}while(n!==t);return !1}(t,e)&&(pu(t,e)&&pu(e,t)&&function(t,e){let n=t,r=!1;const i=(t.x+e.x)/2,s=(t.y+e.y)/2;do{n.y>s!=n.next.y>s&&n.next.y!==n.y&&i<(n.next.x-n.x)*(s-n.y)/(n.next.y-n.y)+n.x&&(r=!r),n=n.next;}while(n!==t);return r}(t,e)&&(au(t.prev,t,e.prev)||au(t,e.prev,e))||lu(t,e)&&au(t.prev,t,t.next)>0&&au(e.prev,e,e.next)>0)}function au(t,e,n){return (e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y)}function lu(t,e){return t.x===e.x&&t.y===e.y}function uu(t,e,n,r){const i=hu(au(t,e,n)),s=hu(au(t,e,r)),o=hu(au(n,r,t)),a=hu(au(n,r,e));return i!==s&&o!==a||!(0!==i||!cu(t,n,e))||!(0!==s||!cu(t,r,e))||!(0!==o||!cu(n,t,r))||!(0!==a||!cu(n,e,r))}function cu(t,e,n){return e.x<=Math.max(t.x,n.x)&&e.x>=Math.min(t.x,n.x)&&e.y<=Math.max(t.y,n.y)&&e.y>=Math.min(t.y,n.y)}function hu(t){return t>0?1:t<0?-1:0}function pu(t,e){return au(t.prev,t,t.next)<0?au(t,e,t.next)>=0&&au(t,t.prev,e)>=0:au(t,e,t.prev)<0||au(t,t.next,e)<0}function fu(t,e){const n=mu(t.i,t.x,t.y),r=mu(e.i,e.x,e.y),i=t.next,s=e.prev;return t.next=e,e.prev=t,n.next=i,i.prev=n,r.next=n,n.prev=r,s.next=r,r.prev=s,r}function du(t,e,n,r){const i=mu(t,e,n);return r?(i.next=r.next,i.prev=r,r.next.prev=i,r.next=i):(i.prev=i,i.next=i),i}function yu(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ);}function mu(t,e,n){return {i:t,x:e,y:n,prev:null,next:null,z:0,prevZ:null,nextZ:null,steiner:!1}}class gu{constructor(t,e){if(e>t)throw new Error("Min granularity must not be greater than base granularity.");this._baseZoomGranularity=t,this._minGranularity=e;}getGranularityForZoomLevel(t){return Math.max(Math.floor(this._baseZoomGranularity/(1<32767||e>32767)throw new Error("Vertex coordinates are out of signed 16 bit integer range.");const n=0|Math.round(t),r=0|Math.round(e),i=this._getKey(n,r);if(this._vertexDictionary.has(i))return this._vertexDictionary.get(i);const s=this._vertexBuffer.length/2;return this._vertexDictionary.set(i,s),this._vertexBuffer.push(n,r),s}_subdivideTrianglesScanline(t){if(this._granularity<2)return function(t,e){const n=[];for(let r=0;r0?(n.push(i),n.push(o),n.push(s)):(n.push(i),n.push(s),n.push(o));}return n}(this._vertexBuffer,t);const e=[],n=t.length;for(let r=0;r=1||v<=0)||y&&(ai)){u>=r&&u<=i&&s.push(n[(t+1)%3]);continue}!y&&x>0&&s.push(this._vertexToIndex(o+p*x,a+f*x));const b=o+p*Math.max(x,0),w=o+p*Math.min(v,1);d||this._generateIntraEdgeVertices(s,o,a,l,u,b,w),!y&&v<1&&s.push(this._vertexToIndex(o+p*v,a+f*v)),(y||u>=r&&u<=i)&&s.push(n[(t+1)%3]),!y&&(u<=r||u>=i)&&this._generateInterEdgeVertices(s,o,a,l,u,c,h,w,r,i);}return s}_generateIntraEdgeVertices(t,e,n,r,i,s,o){const a=r-e,l=i-n,u=0===l,c=u?Math.min(e,r):Math.min(s,o),h=u?Math.max(e,r):Math.max(s,o),p=Math.floor(c/this._granularityCellSize)+1,f=Math.ceil(h/this._granularityCellSize)-1;if(u?e=p;r--){const i=r*this._granularityCellSize;t.push(this._vertexToIndex(i,n+l*(i-e)/a));}}_generateInterEdgeVertices(t,e,n,r,i,s,o,a,l,u){const c=i-n,h=s-r,p=o-i,f=(l-i)/p,d=(u-i)/p,y=Math.min(f,d),m=Math.max(f,d),g=r+h*y;let x=Math.floor(Math.min(g,a)/this._granularityCellSize)+1,v=Math.ceil(Math.max(g,a)/this._granularityCellSize)-1,b=a=1||m<=0){const t=n-o,r=s+(e-s)*Math.min((l-o)/t,(u-o)/t);x=Math.floor(Math.min(r,a)/this._granularityCellSize)+1,v=Math.ceil(Math.max(r,a)/this._granularityCellSize)-1,b=a0?u:l;if(b)for(let e=x;e<=v;e++)t.push(this._vertexToIndex(e*this._granularityCellSize,_));else for(let e=v;e>=x;e--)t.push(this._vertexToIndex(e*this._granularityCellSize,_));}_generateOutline(t){const e=[];for(const n of t){const t=Su(n,this._granularity,!0),r=this._pointArrayToIndices(t),i=[];for(let t=1;ti!=(s===vu)?(t.push(e),t.push(n),t.push(this._vertexToIndex(r,s)),t.push(n),t.push(this._vertexToIndex(i,s)),t.push(this._vertexToIndex(r,s))):(t.push(n),t.push(e),t.push(this._vertexToIndex(r,s)),t.push(this._vertexToIndex(i,s)),t.push(n),t.push(this._vertexToIndex(r,s)));}_fillPoles(t,e,n){const r=this._vertexBuffer,i=T,s=t.length;for(let o=2;o80*n){a=t[0],l=t[1];let e=a,r=l;for(let s=n;se&&(e=n),i>r&&(r=i);}u=Math.max(e-a,r-l),u=0!==u?32767/u:0;}return Zl(s,o,n,a,l,u,0),o}(n,r),e=this._convertIndices(n,t);i=this._subdivideTrianglesScanline(e);}catch(t){console.error(t);}let s=[];return e&&(s=this._generateOutline(t)),this._ensureNoPoleVertices(),this._handlePoles(i),{verticesFlattened:this._vertexBuffer,indicesTriangles:i,indicesLineList:s}}_convertIndices(t,e){const n=[];for(const r of e)n.push(this._vertexToIndex(t[2*r],t[2*r+1]));return n}_pointArrayToIndices(t){const e=[];for(const n of t)e.push(this._vertexToIndex(n.x,n.y));return e}}function _u(t,e,n,r=!0){return new wu(n,e).subdividePolygonInternal(t,r)}function Su(t,e,r=!1){if(!t||t.length<1)return [];if(t.length<2)return [];const i=t[0],s=t[t.length-1],o=r&&(i.x!==s.x||i.y!==s.y);if(e<2)return o?[...t,t[0]]:[...t];const a=Math.floor(T/e),l=[];l.push(new n(t[0].x,t[0].y));const u=t.length,c=o?u:u-1;for(let e=0;e0?(Math.floor(x/a)+1)*a:(Math.ceil(x/a)-1)*a,e=y>0?(Math.floor(v/a)+1)*a:(Math.ceil(v/a)-1)*a,r=Math.abs(x-t),i=Math.abs(v-e),s=Math.abs(x-c),o=Math.abs(v-h),u=p?r/m:Number.POSITIVE_INFINITY,b=f?i/g:Number.POSITIVE_INFINITY;if((s<=r||!p)&&(o<=i||!f))break;if(u=0?o-1:s-1,i=(a+1)%s,l=t[2*e[r]],u=t[2*e[i]],c=t[2*e[o]],h=t[2*e[o]+1],p=t[2*e[a]+1];let f=!1;if(lu)f=!1;else {const n=p-h,s=-(t[2*e[a]]-c),o=h((u-c)*n+(t[2*e[i]+1]-h)*s)*o&&(f=!0);}if(f){const t=e[r],i=e[o],l=e[a];t!==i&&t!==l&&i!==l&&n.push(l,i,t),o--,o<0&&(o=s-1);}else {const t=e[i],r=e[o],l=e[a];t!==r&&t!==l&&r!==l&&n.push(l,r,t),a++,a>=s&&(a=0);}if(r===i)break}}function Mu(t,e,n,r,i,s,o,a,l){const u=i.length/2,c=o&&a&&l;if(uua.MAX_VERTEX_ARRAY_LENGTH&&(u=t.createNewSegment(e,n),l=a.count,y=!0,m=!0,g=!0,c=0);const x=ku(o,r,s,a,p,y,u),v=ku(o,r,s,a,f,m,u),b=ku(o,r,s,a,d,g,u);n.emplaceBack(c+x-l,c+v-l,c+b-l),u.primitiveLength++;}}(e,n,r,i,s,t),c&&function(t,e,n,r,i,s){const o=[];for(let t=0;tua.MAX_VERTEX_ARRAY_LENGTH&&(u=t.createNewSegment(e,n),l=a.count,d=!0,y=!0,c=0);const m=ku(o,r,s,a,p,d,u),g=ku(o,r,s,a,f,y,u);n.emplaceBack(c+m-l,c+g-l),u.primitiveLength++;}}(o,n,a,i,l,t),e.forceNewSegmentOnNextPrepare(),null==o||o.forceNewSegmentOnNextPrepare();}function ku(t,e,n,r,i,s,o){if(s){const s=r.count;return n(e[2*i],e[2*i+1]),t[i]=r.count,r.count++,o.vertexLength++,s}return t[i]}class Iu{constructor(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((t=>t.id)),this.index=t.index,this.hasDependencies=!1,this.patternFeatures=[],this.layoutVertexArray=new Zo,this.indexArray=new sa,this.indexArray2=new oa,this.programConfigurations=new $a(t.layers,t.zoom),this.segments=new ua,this.segments2=new ua,this.stateDependentLayerIds=this.layers.filter((t=>t.isStateDependent())).map((t=>t.id));}populate(t,e,n){this.hasDependencies=ql("fill",this.layers,e);const r=this.layers[0].layout.get("fill-sort-key"),i=!r.isConstant(),s=[];for(const{feature:o,id:a,index:l,sourceLayerIndex:u}of t){const t=this.layers[0]._featureFilter.needGeometry,c=Ga(o,t);if(!this.layers[0]._featureFilter.filter(new Cs(this.zoom),c,n))continue;const h=i?r.evaluate(c,{},n,e.availableImages):void 0,p={id:a,properties:o.properties,type:o.type,sourceLayerIndex:u,index:l,geometry:t?c.geometry:qa(o),patterns:{},sortKey:h};s.push(p);}i&&s.sort(((t,e)=>t.sortKey-e.sortKey));for(const r of s){const{geometry:i,index:s,sourceLayerIndex:o}=r;if(this.hasDependencies){const t=Gl("fill",this.layers,r,{zoom:this.zoom},e);this.patternFeatures.push(t);}else this.addFeature(r,i,s,n,{},e.subdivisionGranularity);e.featureIndex.insert(t[s].feature,i,s,o,this.index);}}update(t,e,n){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,{imagePositions:n});}addFeatures(t,e,n){for(const r of this.patternFeatures)this.addFeature(r,r.geometry,r.index,e,n,t.subdivisionGranularity);}isEmpty(){return 0===this.layoutVertexArray.length}uploadPending(){return !this.uploaded||this.programConfigurations.needsUpload}upload(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,jl),this.indexBuffer=t.createIndexBuffer(this.indexArray),this.indexBuffer2=t.createIndexBuffer(this.indexArray2)),this.programConfigurations.upload(t),this.uploaded=!0;}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.indexBuffer2.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.segments2.destroy());}addFeature(t,e,n,r,i,s){for(const t of rr(e,500)){const e=_u(t,r,s.fill.getGranularityForZoomLevel(r.z)),n=this.layoutVertexArray;Mu(((t,e)=>{n.emplaceBack(t,e);}),this.segments,this.layoutVertexArray,this.indexArray,e.verticesFlattened,e.indicesTriangles,this.segments2,this.indexArray2,e.indicesLineList);}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,n,{imagePositions:i,canonical:r});}}let Eu,Tu;ds("FillBucket",Iu,{omit:["layers","patternFeatures"]});var Fu={get paint(){return Tu=Tu||new Ks({"fill-antialias":new Xs(wt.paint_fill["fill-antialias"]),"fill-opacity":new Ys(wt.paint_fill["fill-opacity"]),"fill-color":new Ys(wt.paint_fill["fill-color"]),"fill-outline-color":new Ys(wt.paint_fill["fill-outline-color"]),"fill-translate":new Xs(wt.paint_fill["fill-translate"]),"fill-translate-anchor":new Xs(wt.paint_fill["fill-translate-anchor"]),"fill-pattern":new Zs(wt.paint_fill["fill-pattern"])})},get layout(){return Eu=Eu||new Ks({"fill-sort-key":new Ys(wt.layout_fill["fill-sort-key"])})}};class Pu extends to{constructor(t,e){super(t,Fu,e);}recalculate(t,e){super.recalculate(t,e);const n=this.paint._values["fill-outline-color"];"constant"===n.value.kind&&void 0===n.value.value&&(this.paint._values["fill-outline-color"]=this.paint._values["fill-color"]);}createBucket(t){return new Iu(t)}queryRadius(){return al(this.paint.get("fill-translate"))}queryIntersectsFeature({queryGeometry:t,geometry:e,transform:n,pixelsToTileUnits:r}){return Ka(ll(t,this.paint.get("fill-translate"),this.paint.get("fill-translate-anchor"),-n.bearingInRadians,r),e)}isTileClipped(){return !0}}const Du=ao([{name:"a_pos",components:2,type:"Int16"},{name:"a_normal_ed",components:4,type:"Int16"}],4),zu=ao([{name:"a_centroid",components:2,type:"Int16"}],4),{members:Bu}=Du;class Cu{constructor(t,e,n,r,i){this.properties={},this.extent=n,this.type=0,this.id=void 0,this._pbf=t,this._geometry=-1,this._keys=r,this._values=i,t.readFields(Vu,this,e);}loadGeometry(){const t=this._pbf;t.pos=this._geometry;const e=t.readVarint()+t.pos,r=[];let i,s=1,o=0,a=0,l=0;for(;t.pos>3;}if(o--,1===s||2===s)a+=t.readSVarint(),l+=t.readSVarint(),1===s&&(i&&r.push(i),i=[]),i&&i.push(new n(a,l));else {if(7!==s)throw new Error(`unknown command ${s}`);i&&i.push(i[0].clone());}}return i&&r.push(i),r}bbox(){const t=this._pbf;t.pos=this._geometry;const e=t.readVarint()+t.pos;let n=1,r=0,i=0,s=0,o=1/0,a=-1/0,l=1/0,u=-1/0;for(;t.pos>3;}if(r--,1===n||2===n)i+=t.readSVarint(),s+=t.readSVarint(),ia&&(a=i),su&&(u=s);else if(7!==n)throw new Error(`unknown command ${n}`)}return [o,l,a,u]}toGeoJSON(t,e,n){const r=this.extent*Math.pow(2,n),i=this.extent*t,s=this.extent*e,o=this.loadGeometry();function a(t){return [360*(t.x+i)/r-180,360/Math.PI*Math.atan(Math.exp((1-2*(t.y+s)/r)*Math.PI))-90]}function l(t){return t.map(a)}let u;if(1===this.type){const t=[];for(const e of o)t.push(e[0]);const e=l(t);u=1===t.length?{type:"Point",coordinates:e[0]}:{type:"MultiPoint",coordinates:e};}else if(2===this.type){const t=o.map(l);u=1===t.length?{type:"LineString",coordinates:t[0]}:{type:"MultiLineString",coordinates:t};}else {if(3!==this.type)throw new Error("unknown feature type");{const t=Lu(o),e=[];for(const n of t)e.push(n.map(l));u=1===e.length?{type:"Polygon",coordinates:e[0]}:{type:"MultiPolygon",coordinates:e};}}const c={type:"Feature",geometry:u,properties:this.properties};return null!=this.id&&(c.id=this.id),c}}function Vu(t,e,n){1===t?e.id=n.readVarint():2===t?function(t,e){const n=t.readVarint()+t.pos;for(;t.pos=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[t];const e=this._pbf.readVarint()+this._pbf.pos;return new Cu(this._pbf,e,this.extent,this._keys,this._values)}}function Ru(t,e,n){15===t?e.version=n.readVarint():1===t?e.name=n.readString():5===t?e.extent=n.readVarint():2===t?e._features.push(n.pos):3===t?e._keys.push(n.readString()):4===t&&e._values.push(function(t){let e=null;const n=t.readVarint()+t.pos;for(;t.pos>3;e=1===n?t.readString():2===n?t.readFloat():3===n?t.readDouble():4===n?t.readVarint64():5===n?t.readVarint():6===n?t.readSVarint():7===n?t.readBoolean():null;}if(null==e)throw new Error("unknown feature value");return e}(n));}class Nu{constructor(t,e){this.layers=t.readFields(Uu,{},e);}}function Uu(t,e,n){if(3===t){const t=new $u(n,n.readVarint()+n.pos);t.length&&(e[t.name]=t);}}const ju=Math.pow(2,13);function qu(t,e,n,r,i,s,o,a){t.emplaceBack(e,n,2*Math.floor(r*ju)+o,i*ju*2,s*ju*2,Math.round(a));}class Gu{constructor(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((t=>t.id)),this.index=t.index,this.hasDependencies=!1,this.layoutVertexArray=new Ho,this.centroidVertexArray=new Xo,this.indexArray=new sa,this.programConfigurations=new $a(t.layers,t.zoom),this.segments=new ua,this.stateDependentLayerIds=this.layers.filter((t=>t.isStateDependent())).map((t=>t.id));}populate(t,e,n){this.features=[],this.hasDependencies=ql("fill-extrusion",this.layers,e);for(const{feature:r,id:i,index:s,sourceLayerIndex:o}of t){const t=this.layers[0]._featureFilter.needGeometry,a=Ga(r,t);if(!this.layers[0]._featureFilter.filter(new Cs(this.zoom),a,n))continue;const l={id:i,sourceLayerIndex:o,index:s,geometry:t?a.geometry:qa(r),properties:r.properties,type:r.type,patterns:{}};this.hasDependencies?this.features.push(Gl("fill-extrusion",this.layers,l,{zoom:this.zoom},e)):this.addFeature(l,l.geometry,s,n,{},e.subdivisionGranularity),e.featureIndex.insert(r,l.geometry,s,o,this.index,!0);}}addFeatures(t,e,n){for(const r of this.features){const{geometry:i}=r;this.addFeature(r,i,r.index,e,n,t.subdivisionGranularity);}}update(t,e,n){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,{imagePositions:n});}isEmpty(){return 0===this.layoutVertexArray.length&&0===this.centroidVertexArray.length}uploadPending(){return !this.uploaded||this.programConfigurations.needsUpload}upload(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,Bu),this.centroidVertexBuffer=t.createVertexBuffer(this.centroidVertexArray,zu.members,!0),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0;}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.centroidVertexBuffer.destroy());}addFeature(t,e,n,r,i,s){for(const n of rr(e,500)){const e={x:0,y:0,sampleCount:0},i=this.layoutVertexArray.length;this.processPolygon(e,r,t,n,s);const o=this.layoutVertexArray.length-i,a=Math.floor(e.x/e.sampleCount),l=Math.floor(e.y/e.sampleCount);for(let t=0;t{qu(u,t,e,0,0,1,1,0);}),this.segments,this.layoutVertexArray,this.indexArray,l.verticesFlattened,l.indicesTriangles);}_generateSideFaces(t,e){let n=0;for(let r=1;rua.MAX_VERTEX_ARRAY_LENGTH&&(e.segment=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));const o=i.sub(s)._perp()._unit(),a=s.dist(i);n+a>32768&&(n=0),qu(this.layoutVertexArray,i.x,i.y,o.x,o.y,0,0,n),qu(this.layoutVertexArray,i.x,i.y,o.x,o.y,0,1,n),n+=a,qu(this.layoutVertexArray,s.x,s.y,o.x,o.y,0,0,n),qu(this.layoutVertexArray,s.x,s.y,o.x,o.y,0,1,n);const l=e.segment.vertexLength;this.indexArray.emplaceBack(l,l+2,l+1),this.indexArray.emplaceBack(l+1,l+2,l+3),e.segment.vertexLength+=4,e.segment.primitiveLength+=2;}}}function Xu(t,e){for(let n=0;nT)||t.y===e.y&&(t.y<0||t.y>T)}function Zu(t){return t.every((t=>t.x<0))||t.every((t=>t.x>T))||t.every((t=>t.y<0))||t.every((t=>t.y>T))}let Hu;ds("FillExtrusionBucket",Gu,{omit:["layers","features"]});var Wu={get paint(){return Hu=Hu||new Ks({"fill-extrusion-opacity":new Xs(wt["paint_fill-extrusion"]["fill-extrusion-opacity"]),"fill-extrusion-color":new Ys(wt["paint_fill-extrusion"]["fill-extrusion-color"]),"fill-extrusion-translate":new Xs(wt["paint_fill-extrusion"]["fill-extrusion-translate"]),"fill-extrusion-translate-anchor":new Xs(wt["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),"fill-extrusion-pattern":new Zs(wt["paint_fill-extrusion"]["fill-extrusion-pattern"]),"fill-extrusion-height":new Ys(wt["paint_fill-extrusion"]["fill-extrusion-height"]),"fill-extrusion-base":new Ys(wt["paint_fill-extrusion"]["fill-extrusion-base"]),"fill-extrusion-vertical-gradient":new Xs(wt["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"])})}};class Ku extends to{constructor(t,e){super(t,Wu,e);}createBucket(t){return new Gu(t)}queryRadius(){return al(this.paint.get("fill-extrusion-translate"))}is3D(){return !0}queryIntersectsFeature({queryGeometry:t,feature:e,featureState:r,geometry:i,transform:s,pixelsToTileUnits:o,pixelPosMatrix:a}){const l=ll(t,this.paint.get("fill-extrusion-translate"),this.paint.get("fill-extrusion-translate-anchor"),-s.bearingInRadians,o),u=this.paint.get("fill-extrusion-height").evaluate(e,r),c=this.paint.get("fill-extrusion-base").evaluate(e,r),h=function(t,e){const r=[];for(const i of t){const t=[i.x,i.y,0,1];A(t,t,e),r.push(new n(t[0]/t[3],t[1]/t[3]));}return r}(l,a),p=function(t,e,r,i){const s=[],o=[],a=i[8]*e,l=i[9]*e,u=i[10]*e,c=i[11]*e,h=i[8]*r,p=i[9]*r,f=i[10]*r,d=i[11]*r;for(const e of t){const t=[],r=[];for(const s of e){const e=s.x,o=s.y,y=i[0]*e+i[4]*o+i[12],m=i[1]*e+i[5]*o+i[13],g=i[2]*e+i[6]*o+i[14],x=i[3]*e+i[7]*o+i[15],v=g+u,b=x+c,w=y+h,_=m+p,S=g+f,A=x+d,M=new n((y+a)/b,(m+l)/b);M.z=v/b,t.push(M);const k=new n(w/A,_/A);k.z=S/A,r.push(k);}s.push(t),o.push(r);}return [s,o]}(i,c,u,a);return function(t,e,n){let r=1/0;Ka(n,e)&&(r=Qu(n,e[0]));for(let i=0;i>4;if(1!==r)throw new Error(`Got v${r} data when expected v1.`);const i=tc[15&n];if(!i)throw new Error("Unrecognized array type.");const[s]=new Uint16Array(t,2,1),[o]=new Uint32Array(t,4,1);return new ec(o,s,i,t)}constructor(t,e=64,n=Float64Array,r){if(isNaN(t)||t<0)throw new Error(`Unpexpected numItems value: ${t}.`);this.numItems=+t,this.nodeSize=Math.min(Math.max(+e,2),65535),this.ArrayType=n,this.IndexArrayType=t<65536?Uint16Array:Uint32Array;const i=tc.indexOf(this.ArrayType),s=2*t*this.ArrayType.BYTES_PER_ELEMENT,o=t*this.IndexArrayType.BYTES_PER_ELEMENT,a=(8-o%8)%8;if(i<0)throw new Error(`Unexpected typed array class: ${n}.`);r&&r instanceof ArrayBuffer?(this.data=r,this.ids=new this.IndexArrayType(this.data,8,t),this.coords=new this.ArrayType(this.data,8+o+a,2*t),this._pos=2*t,this._finished=!0):(this.data=new ArrayBuffer(8+s+o+a),this.ids=new this.IndexArrayType(this.data,8,t),this.coords=new this.ArrayType(this.data,8+o+a,2*t),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,16+i]),new Uint16Array(this.data,2,1)[0]=e,new Uint32Array(this.data,4,1)[0]=t);}add(t,e){const n=this._pos>>1;return this.ids[n]=n,this.coords[this._pos++]=t,this.coords[this._pos++]=e,n}finish(){const t=this._pos>>1;if(t!==this.numItems)throw new Error(`Added ${t} items when expected ${this.numItems}.`);return nc(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(t,e,n,r){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:i,coords:s,nodeSize:o}=this,a=[0,i.length-1,0],l=[];for(;a.length;){const u=a.pop()||0,c=a.pop()||0,h=a.pop()||0;if(c-h<=o){for(let o=h;o<=c;o++){const a=s[2*o],u=s[2*o+1];a>=t&&a<=n&&u>=e&&u<=r&&l.push(i[o]);}continue}const p=h+c>>1,f=s[2*p],d=s[2*p+1];f>=t&&f<=n&&d>=e&&d<=r&&l.push(i[p]),(0===u?t<=f:e<=d)&&(a.push(h),a.push(p-1),a.push(1-u)),(0===u?n>=f:r>=d)&&(a.push(p+1),a.push(c),a.push(1-u));}return l}within(t,e,n){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:r,coords:i,nodeSize:s}=this,o=[0,r.length-1,0],a=[],l=n*n;for(;o.length;){const u=o.pop()||0,c=o.pop()||0,h=o.pop()||0;if(c-h<=s){for(let n=h;n<=c;n++)oc(i[2*n],i[2*n+1],t,e)<=l&&a.push(r[n]);continue}const p=h+c>>1,f=i[2*p],d=i[2*p+1];oc(f,d,t,e)<=l&&a.push(r[p]),(0===u?t-n<=f:e-n<=d)&&(o.push(h),o.push(p-1),o.push(1-u)),(0===u?t+n>=f:e+n>=d)&&(o.push(p+1),o.push(c),o.push(1-u));}return a}}function nc(t,e,n,r,i,s){if(i-r<=n)return;const o=r+i>>1;rc(t,e,o,r,i,s),nc(t,e,n,r,o-1,1-s),nc(t,e,n,o+1,i,1-s);}function rc(t,e,n,r,i,s){for(;i>r;){if(i-r>600){const o=i-r+1,a=n-r+1,l=Math.log(o),u=.5*Math.exp(2*l/3),c=.5*Math.sqrt(l*u*(o-u)/o)*(a-o/2<0?-1:1);rc(t,e,n,Math.max(r,Math.floor(n-a*u/o+c)),Math.min(i,Math.floor(n+(o-a)*u/o+c)),s);}const o=e[2*n+s];let a=r,l=i;for(ic(t,e,r,n),e[2*i+s]>o&&ic(t,e,r,i);ao;)l--;}e[2*r+s]===o?ic(t,e,r,l):(l++,ic(t,e,l,i)),l<=n&&(r=l+1),n<=l&&(i=l-1);}}function ic(t,e,n,r){sc(t,n,r),sc(e,2*n,2*r),sc(e,2*n+1,2*r+1);}function sc(t,e,n){const r=t[e];t[e]=t[n],t[n]=r;}function oc(t,e,n,r){const i=t-n,s=e-r;return i*i+s*s}function ac(t,e,n,r){let i=r;const s=e+(n-e>>1);let o,a=n-e;const l=t[e],u=t[e+1],c=t[n],h=t[n+1];for(let r=e+3;ri)o=r,i=e;else if(e===i){const t=Math.abs(r-s);tr&&(o-e>3&&ac(t,e,o,r),t[o+2]=i,n-o>3&&ac(t,o,n,r));}function lc(t,e,n,r,i,s){let o=i-n,a=s-r;if(0!==o||0!==a){const l=((t-n)*o+(e-r)*a)/(o*o+a*a);l>1?(n=i,r=s):l>0&&(n+=o*l,r+=a*l);}return o=t-n,a=e-r,o*o+a*a}function uc(t,e,n,r){const i={type:e,geom:n},s={id:null==t?null:t,type:i.type,geometry:i.geom,tags:r,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};switch(i.type){case "Point":case "MultiPoint":hc(s,i.geom);break;case "LineString":hc(s,i.geom.points);break;case "Polygon":hc(s,i.geom[0].points);break;case "MultiLineString":for(const t of i.geom)hc(s,t.points);break;case "MultiPolygon":for(const t of i.geom)hc(s,t[0].points);}return s}function cc(t){t.points.length>64&&(t.points=new Float64Array(t.points));}function hc(t,e){for(let n=0;n0&&(o+=r?(i*l-a*s)/2:Math.sqrt(Math.pow(a-i,2)+Math.pow(l-s,2))),i=a,s=l;}const a=e.points.length-3;e.points[2]=1,n>0&&ac(e.points,0,a,n),e.points[a+2]=1,cc(e),e.size=Math.abs(o),e.start=0,e.end=e.size;}function yc(t,e,n,r){for(let i=0;i1?1:n}function xc(t){const e={type:"Feature",geometry:vc(t),properties:t.tags};return null!=t.id&&(e.id=t.id),e}function vc(t){const{type:e,geometry:n}=t;switch(e){case "Point":return {type:e,coordinates:wc(n[0],n[1])};case "MultiPoint":return {type:e,coordinates:bc(n)};case "LineString":return {type:e,coordinates:bc(n.points)};case "MultiLineString":case "Polygon":return {type:e,coordinates:n.map((t=>bc(t.points)))};case "MultiPolygon":return {type:e,coordinates:n.map((t=>t.map((t=>bc(t.points)))))}}}function bc(t){const e=[];for(let n=0;n=(n/=e)&&o=r)return null;const l=[];for(const e of t){const t=i===Ac.X?e.minX:e.minY,s=i===Ac.X?e.maxX:e.maxY;if(t>=n&&s=r))switch(e.type){case "Point":case "MultiPoint":kc(e,l,n,r,i);continue;case "LineString":Ic(e,l,n,r,i,a);continue;case "MultiLineString":Ec(e,l,n,r,i);continue;case "Polygon":Tc(e,l,n,r,i);continue;case "MultiPolygon":Fc(e,l,n,r,i);continue}}return l.length?l:null}function kc(t,e,n,r,i){const s=[];((function(t,e,n,r,i){for(let s=0;s=n&&o<=r&&Bc(e,t[s],t[s+1],t[s+2]);}}))(t.geometry,s,n,r,i),s.length&&e.push(uc(t.id,3===s.length?"Point":"MultiPoint",s,t.tags));}function Ic(t,e,n,r,i,s){const o=[];if(Pc(t.geometry,o,n,r,i,!1,s.lineMetrics),o.length)if(s.lineMetrics)for(const n of o)e.push(uc(t.id,"LineString",n,t.tags));else e.push(o.length>1?uc(t.id,"MultiLineString",o,t.tags):uc(t.id,"LineString",o[0],t.tags));}function Ec(t,e,n,r,i){const s=[];zc(t.geometry,s,n,r,i,!1),s.length&&e.push(1!==s.length?uc(t.id,"MultiLineString",s,t.tags):uc(t.id,"LineString",s[0],t.tags));}function Tc(t,e,n,r,i){const s=[];zc(t.geometry,s,n,r,i,!0),s.length&&e.push(uc(t.id,"Polygon",s,t.tags));}function Fc(t,e,n,r,i){const s=[];for(const e of t.geometry){const t=[];zc(e,t,n,r,i,!0),t.length&&s.push(t);}s.length&&e.push(uc(t.id,"MultiPolygon",s,t.tags));}function Pc(t,e,n,r,i,s,o){let a=Dc(t);const l=i===Ac.X?Cc:Vc;let u,c,h=t.start;for(let p=0;pn&&(c=l(a,f,d,m,g,n),o&&(a.start=h+u*c)):x>r?v=n&&(c=l(a,f,d,m,g,n),b=!0),v>r&&x<=r&&(c=l(a,f,d,m,g,r),b=!0),!s&&b&&(o&&(a.end=h+u*c),e.push(a),a=Dc(t)),o&&(h+=u);}let p=t.points.length-3;const f=t.points[p],d=t.points[p+1],y=i===Ac.X?f:d;y>=n&&y<=r&&Bc(a.points,f,d,t.points[p+2]),p=a.points.length-3,s&&p>=3&&(a.points[p]!==a.points[0]||a.points[p+1]!==a.points[1])&&Bc(a.points,a.points[0],a.points[1],a.points[2]),a.points.length&&(cc(a),e.push(a));}function Dc(t){return {points:[],size:t.size,start:t.start,end:t.end}}function zc(t,e,n,r,i,s){for(const o of t)Pc(o,e,n,r,i,s,!1);}function Bc(t,e,n,r){t.push(e,n,r);}function Cc(t,e,n,r,i,s){const o=(s-e)/(r-e);return Bc(t.points,s,n+(i-n)*o,1),o}function Vc(t,e,n,r,i,s){const o=(s-n)/(i-n);return Bc(t.points,e+(r-e)*o,s,1),o}function Lc(t,e){const n=e.buffer/e.extent;let r=t;const i=Mc(t,1,-1-n,n,Ac.X,-1,2,e),s=Mc(t,1,1-n,2+n,Ac.X,-1,2,e);return i||s?(r=Mc(t,1,-n,1+n,Ac.X,-1,2,e)||[],i&&(r=Oc(i,1).concat(r)),s&&(r=r.concat(Oc(s,-1))),r):r}function Oc(t,e){const n=[];for(const r of t)switch(r.type){case "Point":case "MultiPoint":{const t=$c(r.geometry,e);n.push(uc(r.id,r.type,t,r.tags));continue}case "LineString":{const t=Rc(r.geometry,e);n.push(uc(r.id,r.type,t,r.tags));continue}case "MultiLineString":case "Polygon":{const t=[];for(const n of r.geometry)t.push(Rc(n,e));n.push(uc(r.id,r.type,t,r.tags));continue}case "MultiPolygon":{const t=[];for(const n of r.geometry){const r=[];for(const t of n)r.push(Rc(t,e));t.push(r);}n.push(uc(r.id,r.type,t,r.tags));continue}}return n}function $c(t,e){const n=[];for(let r=0;r0||e.addOrUpdateProperties?.length>0;if(r){const r=t[0];let s=pc({type:"FeatureCollection",features:[{type:"Feature",id:r.id,geometry:e.newGeometry,properties:i?Uc(r.tags,e):r.tags}]},n);return s=Lc(s,n),s}if(i){const n=[];for(const r of t){const t={...r};t.tags=Uc(t.tags,e),n.push(t);}return n}return t}function Uc(t,e){if(e.removeAllProperties)return {};const n={...t||{}};if(e.removeProperties)for(const t of e.removeProperties)delete n[t];if(e.addOrUpdateProperties)for(const{key:t,value:r}of e.addOrUpdateProperties)n[t]=r;return n}!function(t){t[t.X=0]="X",t[t.Y=1]="Y";}(Ac||(Ac={}));const jc={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:t=>t};class qc{constructor(t){this.options=Object.assign(Object.create(jc),t),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[],this.points=[];}load(t){const e=[];for(const n of t){if(!n.geometry)continue;const[t,r]=n.geometry.coordinates,[i,s]=[mc(t),gc(r)];e.push({id:n.id,type:"Point",geometry:[i,s],tags:n.properties});}this.createIndex(e);}initialize(t){const e=[];for(const n of t)"Point"===n.type&&e.push(n);this.createIndex(e);}updateIndex(t,e,n){this.options=Object.assign(Object.create(jc),n.clusterOptions),this.initialize(t);}createIndex(t){const{log:e,minZoom:n,maxZoom:r}=this.options;e&&console.time("total time");const i=`prepare ${t.length} points`;e&&console.time(i),this.points=t;const s=[];for(let e=0;e=n;t--){const n=Date.now();o=this.trees[t]=this.createTree(this.cluster(o,t)),e&&console.log("z%d: %d clusters in %dms",t,o.numItems,Date.now()-n);}e&&console.timeEnd("total time");}getClusters(t,e){return this.getClustersInternal(t,e).map((t=>xc(t)))}getClustersInternal(t,e){let n=((t[0]+180)%360+360)%360-180;const r=Math.max(-90,Math.min(90,t[1]));let i=180===t[2]?180:((t[2]+180)%360+360)%360-180;const s=Math.max(-90,Math.min(90,t[3]));if(t[2]-t[0]>=360)n=-180,i=180;else if(n>i){const t=this.getClustersInternal([n,r,180,s],e),o=this.getClustersInternal([-180,r,i,s],e);return t.concat(o)}const o=this.trees[this.limitZoom(e)],a=o.range(mc(n),gc(s),mc(i),gc(r)),l=o.flatData,u=[];for(const t of a){const e=this.stride*t;u.push(l[e+5]>1?Gc(l,e,this.clusterProps):this.points[l[e+3]]);}return u}getChildren(t){const e=this.getOriginId(t),n=this.getOriginZoom(t),r=new Error("No cluster with the specified id: "+t),i=this.trees[n];if(!i)throw r;const s=i.flatData;if(e*this.stride>=s.length)throw r;const o=this.options.radius/(this.options.extent*Math.pow(2,n-1)),a=i.within(s[e*this.stride],s[e*this.stride+1],o),l=[];for(const e of a){const n=e*this.stride;s[n+4]===t&&l.push(s[n+5]>1?Xc(s,n,this.clusterProps):xc(this.points[s[n+3]]));}if(0===l.length)throw r;return l}getLeaves(t,e,n){const r=[];return this.appendLeaves(r,t,e=e||10,n=n||0,0),r}getTile(t,e,n){const r=this.trees[this.limitZoom(t)];if(!r)return null;const i=Math.pow(2,t),{extent:s,radius:o}=this.options,a=o/s,l=(n-a)/i,u=(n+1+a)/i,c={transformed:!0,features:[],source:null,x:e,y:n,z:t};return this.addTileFeatures(r.range((e-a)/i,l,(e+1+a)/i,u),r.flatData,e,n,i,c),0===e&&this.addTileFeatures(r.range(1-a/i,l,1,u),r.flatData,i,n,i,c),e===i-1&&this.addTileFeatures(r.range(0,l,a/i,u),r.flatData,-1,n,i,c),c}getClusterExpansionZoom(t){return this.getOriginZoom(t)}appendLeaves(t,e,n,r,i){const s=this.getChildren(e);for(const e of s){const s=e.properties;if(s?.cluster?i+s.point_count<=r?i+=s.point_count:i=this.appendLeaves(t,s.cluster_id,n,r,i):i1;let l,u,c;if(a)l=Yc(e,t,this.clusterProps),u=e[t],c=e[t+1];else {const n=this.points[e[t+3]];l=n.tags,[u,c]=n.geometry;}const h={type:1,geometry:[[Math.round(this.options.extent*(u*i-n)),Math.round(this.options.extent*(c*i-r))]],tags:l};let p;p=a||this.options.generateId?e[t+3]:this.points[e[t+3]].id,void 0!==p&&(h.id=p),s.features.push(h);}}limitZoom(t){return Math.max(this.options.minZoom,Math.min(Math.floor(+t),this.options.maxZoom+1))}cluster(t,e){const{radius:n,extent:r,reduce:i,minPoints:s}=this.options,o=n/(r*Math.pow(2,e)),a=t.flatData,l=[],u=this.stride;for(let n=0;ne&&(f+=a[n+5]);}if(f>p&&f>=s){let t,s=r*p,o=c*p,d=-1;const y=(n/u<<5)+(e+1)+this.points.length;for(const r of h){const l=r*u;if(a[l+2]<=e)continue;a[l+2]=e;const c=a[l+5];s+=a[l]*c,o+=a[l+1]*c,a[l+4]=y,i&&(t||(t=this.map(a,n,!0),d=this.clusterProps.length,this.clusterProps.push(t)),i(t,this.map(a,l)));}a[n+4]=y,l.push(s/f,o/f,1/0,y,-1,f),i&&l.push(d);}else {for(let t=0;t1)for(const t of h){const n=t*u;if(!(a[n+2]<=e)){a[n+2]=e;for(let t=0;t>5}getOriginZoom(t){return (t-this.points.length)%32}map(t,e,n){if(t[e+5]>1){const r=this.clusterProps[t[e+6]];return n?Object.assign({},r):r}const r=this.points[t[e+3]].tags,i=this.options.map(r);return n&&i===r?Object.assign({},i):i}}function Gc(t,e,n){return {id:t[e+3],type:"Point",tags:Yc(t,e,n),geometry:[t[e],t[e+1]]}}function Xc(t,e,n){return {type:"Feature",id:t[e+3],properties:Yc(t,e,n),geometry:{type:"Point",coordinates:[_c(t[e]),Sc(t[e+1])]}}}function Yc(t,e,n){const r=t[e+5],i=r>=1e4?`${Math.round(r/1e3)}k`:r>=1e3?Math.round(r/100)/10+"k":r,s=t[e+6],o=-1===s?{}:Object.assign({},n[s]);return Object.assign(o,{cluster:!0,cluster_id:t[e+3],point_count:r,point_count_abbreviated:i})}const Zc="geojsonvt_clip_start",Hc="geojsonvt_clip_end";function Wc(t,e,n,r,i){const s=e===i.maxZoom?0:i.tolerance/((1<0&&e.size<(i?o:r))return void(n.numPoints+=e.points.length/3);const a=[];for(let t=0;to)&&(n.numSimplified++,a.push(e.points[t],e.points[t+1])),n.numPoints++;i&&function(t,e){let n=0;for(let e=0,r=t.length,i=r-2;e0===e)for(let e=0,n=t.length;e1&&(console.log("invalidating tiles"),console.time("invalidating")),this.invalidateTiles(e),n.debug>1&&console.timeEnd("invalidating");const[r,i,s]=[0,0,0],o=Wc(t,r,i,s,n);o.source=t;const a=ih(r,i,s);if(this.tiles[a]=o,this.tileCoords.push({z:r,x:i,y:s,id:a}),n.debug){const t=`z${r}`;this.stats[t]=(this.stats[t]||0)+1,this.total++;}}getClusterExpansionZoom(t){return null}getChildren(t){return null}getLeaves(t,e,n){return null}getTile(t,e,n){const{extent:r,debug:i}=this.options,s=1<1&&console.log("drilling down to z%d-%d-%d",t,e,n);let a,l=t,u=e,c=n;for(;!a&&l>0;)l--,u>>=1,c>>=1,a=this.tiles[ih(l,u,c)];return a?.source?(i>1&&(console.log("found parent tile z%d-%d-%d",l,u,c),console.time("drilling down")),this.splitTile(a.source,l,u,c,t,e,n),i>1&&console.timeEnd("drilling down"),this.tiles[o]?Qc(this.tiles[o],r):null):null}splitTile(t,e,n,r,i,s,o){const a=[t,e,n,r],l=this.options,u=l.debug;for(;a.length;){r=a.pop(),n=a.pop(),e=a.pop(),t=a.pop();const c=1<1&&console.time("creation"),p=this.tiles[h]=Wc(t,e,n,r,l),this.tileCoords.push({z:e,x:n,y:r,id:h}),u)){u>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",e,n,r,p.numFeatures,p.numPoints,p.numSimplified),console.timeEnd("creation"));const t=`z${e}`;this.stats[t]=(this.stats[t]||0)+1,this.total++;}if(p.source=t,null==i){if(e===l.indexMaxZoom||p.numPoints<=l.indexMaxPoints)continue}else {if(e===l.maxZoom||e===i)continue;if(null!=i){const t=i-e;if(n!==s>>t||r!==o>>t)continue}}if(p.source=null,!t.length)continue;u>1&&console.time("clipping");const f=.5*l.buffer/l.extent,d=.5-f,y=.5+f,m=1+f;let g=null,x=null,v=null,b=null;const w=Mc(t,c,n-f,n+y,Ac.X,p.minX,p.maxX,l),_=Mc(t,c,n+d,n+m,Ac.X,p.minX,p.maxX,l);w&&(g=Mc(w,c,r-f,r+y,Ac.Y,p.minY,p.maxY,l),x=Mc(w,c,r+d,r+m,Ac.Y,p.minY,p.maxY,l)),_&&(v=Mc(_,c,r-f,r+y,Ac.Y,p.minY,p.maxY,l),b=Mc(_,c,r+d,r+m,Ac.Y,p.minY,p.maxY,l)),u>1&&console.timeEnd("clipping"),a.push(g||[],e+1,2*n,2*r),a.push(x||[],e+1,2*n,2*r+1),a.push(v||[],e+1,2*n+1,2*r),a.push(b||[],e+1,2*n+1,2*r+1);}}invalidateTiles(t){if(!t.length)return;const e=this.options,{debug:n}=e;let r=1/0,i=-1/0,s=1/0,o=-1/0;for(const e of t)r=Math.min(r,e.minX),i=Math.max(i,e.maxX),s=Math.min(s,e.minY),o=Math.max(o,e.maxY);const a=e.buffer/e.extent,l=new Set;for(const e in this.tiles){const u=this.tiles[e],c=1<=p||o=d)continue;let y=!1;for(const e of t)if(e.maxX>=h&&e.minX=f&&e.minY1&&console.log("invalidate tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",u.z,u.x,u.y,u.numFeatures,u.numPoints,u.numSimplified);const t=`z${u.z}`;this.stats[t]=(this.stats[t]||0)-1,this.total--;}delete this.tiles[e],l.add(e);}}l.size&&(this.tileCoords=this.tileCoords.filter((t=>!l.has(t.id))));}}function ih(t,e,n){return 32*((1<t.id)),this.index=t.index,this.hasDependencies=!1,this.patternFeatures=[],this.lineClipsArray=[],this.gradients={};for(const t of this.layers)this.gradients[t.id]={};this.layoutVertexArray=new Wo,this.layoutVertexArray2=new Ko,this.indexArray=new sa,this.programConfigurations=new $a(t.layers,t.zoom),this.segments=new ua,this.maxLineLength=0,this.stateDependentLayerIds=this.layers.filter((t=>t.isStateDependent())).map((t=>t.id));}populate(t,e,n){this.hasDependencies=ql("line",this.layers,e)||this.hasLineDasharray(this.layers);const r=this.layers[0].layout.get("line-sort-key"),i=!r.isConstant(),s=[];for(const{feature:e,id:o,index:a,sourceLayerIndex:l}of t){const t=this.layers[0]._featureFilter.needGeometry,u=Ga(e,t);if(!this.layers[0]._featureFilter.filter(new Cs(this.zoom),u,n))continue;const c=i?r.evaluate(u,{},n):void 0,h={id:o,properties:e.properties,type:e.type,sourceLayerIndex:l,index:a,geometry:t?u.geometry:qa(e),patterns:{},dashes:{},sortKey:c};s.push(h);}i&&s.sort(((t,e)=>t.sortKey-e.sortKey));for(const r of s){const{geometry:i,index:s,sourceLayerIndex:o}=r;this.hasDependencies?(ql("line",this.layers,e)?Gl("line",this.layers,r,{zoom:this.zoom},e):this.hasLineDasharray(this.layers)&&this.addLineDashDependencies(this.layers,r,this.zoom,e),this.patternFeatures.push(r)):this.addFeature(r,i,s,n,{},{},e.subdivisionGranularity),e.featureIndex.insert(t[s].feature,i,s,o,this.index);}}update(t,e,n,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,{imagePositions:n,dashPositions:r});}addFeatures(t,e,n,r){for(const i of this.patternFeatures)this.addFeature(i,i.geometry,i.index,e,n,r,t.subdivisionGranularity);}isEmpty(){return 0===this.layoutVertexArray.length}uploadPending(){return !this.uploaded||this.programConfigurations.needsUpload}upload(t){this.uploaded||(0!==this.layoutVertexArray2.length&&(this.layoutVertexBuffer2=t.createVertexBuffer(this.layoutVertexArray2,uh)),this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,ah),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0;}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy());}lineFeatureClips(t){if(t.properties&&Object.hasOwn(t.properties,Zc)&&Object.hasOwn(t.properties,Hc))return {start:+t.properties[Zc],end:+t.properties[Hc]}}addFeature(t,e,n,r,i,s,o){const a=this.layers[0].layout,l=a.get("line-join").evaluate(t,{}),u=a.get("line-cap").evaluate(t,{}),c=a.get("line-miter-limit").evaluate(t,{}),h=a.get("line-round-limit").evaluate(t,{});this.lineClips=this.lineFeatureClips(t);for(const n of e)this.addLine(n,t,l,u,c,h,r,o);this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,n,{imagePositions:i,dashPositions:s,canonical:r});}addLine(t,e,n,r,i,s,o,a){if(this.distance=0,this.scaledDistance=0,this.totalDistance=0,t=Su(t,o?a.line.getGranularityForZoomLevel(o.z):1),this.lineClips){this.lineClipsArray.push(this.lineClips);for(let e=0;e=2&&t[u-1].equals(t[u-2]);)u--;let c=0;for(;c0;if(w&&e>c){const t=f.dist(d);if(t>2*h){const e=f.sub(f.sub(d)._mult(h/t)._round());this.updateDistance(d,e),this.addCurrentVertex(e,m,0,0,p),d=e;}}const S=d&&y;let A=S?n:l?"butt":r;if(S&&"round"===A&&(vi&&(A="bevel"),"bevel"===A&&(v>2&&(A="flipbevel"),v100)o=g.mult(-1);else {const t=v*m.add(g).mag()/m.sub(g).mag();o._perp()._mult(t*(_?-1:1));}this.addCurrentVertex(f,o,0,0,p),this.addCurrentVertex(f,o.mult(-1),0,0,p);}else if("bevel"===A||"fakeround"===A){const t=-Math.sqrt(v*v-1),e=_?t:0,n=_?0:t;if(d&&this.addCurrentVertex(f,m,e,n,p),"fakeround"===A){const t=Math.round(180*b/Math.PI/20);for(let e=1;e2*h){const e=f.add(y.sub(f)._mult(h/t)._round());this.updateDistance(f,e),this.addCurrentVertex(e,g,0,0,p),f=e;}}}}addCurrentVertex(t,e,n,r,i,s=!1){const o=e.y*r-e.x,a=-e.y-e.x*r;this.addHalfVertex(t,e.x+e.y*n,e.y-e.x*n,s,!1,n,i),this.addHalfVertex(t,o,a,s,!0,-r,i),this.distance>hh/2&&0===this.totalDistance&&(this.distance=0,this.updateScaledDistance(),this.addCurrentVertex(t,e,n,r,i,s));}addHalfVertex({x:t,y:e},n,r,i,s,o,a){const l=.5*(this.lineClips?this.scaledDistance*(hh-1):this.scaledDistance);this.layoutVertexArray.emplaceBack((t<<1)+(i?1:0),(e<<1)+(s?1:0),Math.round(63*n)+128,Math.round(63*r)+128,1+(0===o?0:o<0?-1:1)|(63&l)<<2,l>>6),this.lineClips&&this.layoutVertexArray2.emplaceBack((this.scaledDistance-this.lineClips.start)/(this.lineClips.end-this.lineClips.start),this.lineClipsArray.length);const u=a.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,u,this.e2),a.primitiveLength++),s?this.e2=u:this.e1=u;}updateScaledDistance(){this.scaledDistance=this.lineClips?this.lineClips.start+(this.lineClips.end-this.lineClips.start)*this.distance/this.totalDistance:this.distance;}updateDistance(t,e){this.distance+=t.dist(e),this.updateScaledDistance();}hasLineDasharray(t){for(const e of t){const t=e.paint.get("line-dasharray");if(t&&!t.isConstant())return !0}return !1}addLineDashDependencies(t,e,n,r){for(const i of t){const t=i.paint.get("line-dasharray");if(!t||"constant"===t.value.kind)continue;const s="round"===i.layout.get("line-cap").evaluate(e,{}),o={dasharray:t.value.evaluate({zoom:n-1},e,{}),round:s},a={dasharray:t.value.evaluate({zoom:n},e,{}),round:s},l={dasharray:t.value.evaluate({zoom:n+1},e,{}),round:s},u=`${o.dasharray.join(",")},${o.round}`,c=`${a.dasharray.join(",")},${a.round}`,h=`${l.dasharray.join(",")},${l.round}`;r.dashDependencies[u]=o,r.dashDependencies[c]=a,r.dashDependencies[h]=l,e.dashes[i.id]={min:u,mid:c,max:h};}}}let fh,dh;ds("LineBucket",ph,{omit:["layers","patternFeatures"]});var yh={get paint(){return dh=dh||new Ks({"line-opacity":new Ys(wt.paint_line["line-opacity"]),"line-color":new Ys(wt.paint_line["line-color"]),"line-translate":new Xs(wt.paint_line["line-translate"]),"line-translate-anchor":new Xs(wt.paint_line["line-translate-anchor"]),"line-width":new Ys(wt.paint_line["line-width"]),"line-gap-width":new Ys(wt.paint_line["line-gap-width"]),"line-offset":new Ys(wt.paint_line["line-offset"]),"line-blur":new Ys(wt.paint_line["line-blur"]),"line-dasharray":new Zs(wt.paint_line["line-dasharray"]),"line-pattern":new Zs(wt.paint_line["line-pattern"]),"line-gradient":new Ws(wt.paint_line["line-gradient"])})},get layout(){return fh=fh||new Ks({"line-cap":new Ys(wt.layout_line["line-cap"]),"line-join":new Ys(wt.layout_line["line-join"]),"line-miter-limit":new Ys(wt.layout_line["line-miter-limit"]),"line-round-limit":new Ys(wt.layout_line["line-round-limit"]),"line-sort-key":new Ys(wt.layout_line["line-sort-key"])})}};class mh extends Ys{possiblyEvaluate(t,e){return e=new Cs(Math.floor(e.zoom),{now:e.now,fadeDuration:e.fadeDuration,zoomHistory:e.zoomHistory,transition:e.transition}),super.possiblyEvaluate(t,e)}evaluate(t,e,n,r){return e=$({},e,{zoom:Math.floor(e.zoom)}),super.evaluate(t,e,n,r)}}let gh;class xh extends to{constructor(t,e){super(t,yh,e),this.gradientVersion=0,gh||(gh=new mh(yh.paint.properties["line-width"].specification),gh.useIntegerZoom=!0);}_handleSpecialPaintPropertyUpdate(t){if("line-gradient"===t){const t=this.gradientExpression();this.stepInterpolant=!!function(t){return void 0!==t._styleExpression}(t)&&t._styleExpression.expression instanceof cn,this.gradientVersion=(this.gradientVersion+1)%Number.MAX_SAFE_INTEGER;}}gradientExpression(){return this._transitionablePaint._values["line-gradient"].value.expression}recalculate(t,e){super.recalculate(t,e),this.paint._values["line-floorwidth"]=gh.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,t);}createBucket(t){return new ph(t)}queryRadius(t){const e=t,n=vh(ol("line-width",this,e),ol("line-gap-width",this,e)),r=ol("line-offset",this,e);return n/2+Math.abs(r)+al(this.paint.get("line-translate"))}queryIntersectsFeature({queryGeometry:t,feature:e,featureState:r,geometry:i,transform:s,pixelsToTileUnits:o}){const a=ll(t,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),-s.bearingInRadians,o),l=o/2*vh(this.paint.get("line-width").evaluate(e,r),this.paint.get("line-gap-width").evaluate(e,r)),u=this.paint.get("line-offset").evaluate(e,r);return u&&(i=function(t,e){const r=[];for(const i of t){const t=ul(i),s=[];for(let r=0;r=3)for(const e of r)if(il(t,e))return !0;if(Ja(t,r,n))return !0}return !1}(a,i,l)}isTileClipped(){return !0}}function vh(t,e){return e>0?e+2*t:t}const bh=ao([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),wh=ao([{name:"a_projected_pos",components:3,type:"Float32"}],4);ao([{name:"a_fade_opacity",components:1,type:"Uint32"}],4);const _h=ao([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"},{name:"a_box_real",components:2,type:"Int16"}]);ao([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"}]);const Sh=ao([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4),Ah=ao([{name:"a_pos",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);function Mh(t,e,n){const r=e.layout.get("text-transform").evaluate(n,{});return "uppercase"===r?t=t.toLocaleUpperCase():"lowercase"===r&&(t=t.toLocaleLowerCase()),Bs.applyArabicShaping&&(t=Bs.applyArabicShaping(t)),t}function kh(t,e,n){for(const r of t.sections)r.text=Mh(r.text,e,n);return t}ao([{name:"triangle",components:3,type:"Uint16"}]),ao([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),ao([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint16",name:"useRuntimeCollisionCircles"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",name:"collisionCircleDiameter"},{type:"Uint16",name:"textAnchorOffsetStartIndex"},{type:"Uint16",name:"textAnchorOffsetEndIndex"}]),ao([{type:"Float32",name:"offsetX"}]),ao([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]),ao([{type:"Uint16",name:"textAnchor"},{type:"Float32",components:2,name:"textOffset"}]);var Ih=24;const Eh={"!":"︕","#":"#",$:"$","%":"%","&":"&","(":"︵",")":"︶","*":"*","+":"+",",":"︐","-":"︲",".":"・","/":"/",":":"︓",";":"︔","<":"︿","=":"=",">":"﹀","?":"︖","@":"@","[":"﹇","\\":"\","]":"﹈","^":"^",_:"︳","`":"`","{":"︷","|":"―","}":"︸","~":"~","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","–":"︲","—":"︱","‘":"﹃","’":"﹄","“":"﹁","”":"﹂","…":"︙","⋯":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","〔":"︹","〕":"︺","〖":"︗","〗":"︘","!":"︕","(":"︵",")":"︶",",":"︐","-":"︲",".":"・",":":"︓",";":"︔","<":"︿",">":"﹀","?":"︖","[":"﹇","]":"﹈","_":"︳","{":"︷","|":"―","}":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"},Th={10:!0,32:!0,38:!0,41:!0,43:!0,45:!0,47:!0,173:!0,183:!0,8203:!0,8208:!0,8211:!0,8231:!0},Fh={40:!0};function Ph(t,e,n,r,i,s){if("fontStack"in e){const r=n[e.fontStack],s=null==r?void 0:r[t];return s?s.metrics.advance*e.scale+i:0}{const t=r[e.imageName];return t?t.displaySize[0]*e.scale*Ih/s+i:0}}function Dh(t,e,n,r){const i=Math.pow(t-e,2);return r?tMath.max(t,this.sections[e].scale)),0)}getMaxImageSize(t){let e=0,n=0;for(let r=0;rn)));}addImageSection(t){const e=t.image?t.image.name:"";if(0===e.length)return void G("Can't add FormattedSection with an empty image.");const n=this.getNextImageSectionCharCode();n?(this.text+=String.fromCharCode(n),this.sections.push({scale:1,verticalAlign:t.verticalAlign||"bottom",imageName:e}),this.sectionIndex.push(this.sections.length-1)):G("Reached maximum number of images 6401");}getNextImageSectionCharCode(){return this.imageSectionID?this.imageSectionID>=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)}determineLineBreaks(t,e,n,r,i){const s=[],o=this.determineAverageLineWidth(t,e,n,r,i),a=this.hasZeroWidthSpaces();let l=0,u=0;const c=this.text[Symbol.iterator]();let h=c.next();const p=this.text[Symbol.iterator]();p.next();let f=p.next();const d=this.text[Symbol.iterator]();d.next(),d.next();let y=d.next();for(;!h.done;){const e=this.getSection(u),m=h.value.codePointAt(0);if(Ss(m)||(l+=Ph(m,e,n,r,t,i)),!f.done){const t=ws(m),n=f.value.codePointAt(0);(Th[m]||t||"imageName"in e||!y.done&&Fh[n])&&s.push(Bh(u+1,l,o,s,zh(m,n,t&&a),!1));}u++,h=c.next(),f=p.next(),y=d.next();}return Ch(Bh(this.length(),l,o,s,0,!0))}determineAverageLineWidth(t,e,n,r,i){let s=0,o=0;for(const e of this.text){const a=this.getSection(o);s+=Ph(e.codePointAt(0),a,n,r,t,i),o++;}return s/Math.max(1,Math.ceil(s/e))}}const Lh=4294967296,Oh=1/Lh,$h="undefined"==typeof TextDecoder?null:new TextDecoder("utf-8");class Rh{constructor(t=new Uint8Array(16)){this.buf=ArrayBuffer.isView(t)?t:new Uint8Array(t),this.dataView=new DataView(this.buf.buffer),this.pos=0,this.type=0,this.length=this.buf.length;}readFields(t,e,n=this.length){for(;this.pos>3,i=this.pos;this.type=7&n,t(r,e,this),this.pos===i&&this.skip(n);}return e}readMessage(t,e){return this.readFields(t,e,this.readVarint()+this.pos)}readFixed32(){const t=this.dataView.getUint32(this.pos,!0);return this.pos+=4,t}readSFixed32(){const t=this.dataView.getInt32(this.pos,!0);return this.pos+=4,t}readFixed64(){const t=this.dataView.getUint32(this.pos,!0)+this.dataView.getUint32(this.pos+4,!0)*Lh;return this.pos+=8,t}readSFixed64(){const t=this.dataView.getUint32(this.pos,!0)+this.dataView.getInt32(this.pos+4,!0)*Lh;return this.pos+=8,t}readFloat(){const t=this.dataView.getFloat32(this.pos,!0);return this.pos+=4,t}readDouble(){const t=this.dataView.getFloat64(this.pos,!0);return this.pos+=8,t}readVarint(t){const e=this.buf;let n,r;return r=e[this.pos++],n=127&r,r<128?n:(r=e[this.pos++],n|=(127&r)<<7,r<128?n:(r=e[this.pos++],n|=(127&r)<<14,r<128?n:(r=e[this.pos++],n|=(127&r)<<21,r<128?n:(r=e[this.pos],n|=(15&r)<<28,function(t,e,n){const r=n.buf;let i,s;if(s=r[n.pos++],i=(112&s)>>4,s<128)return Nh(t,i,e);if(s=r[n.pos++],i|=(127&s)<<3,s<128)return Nh(t,i,e);if(s=r[n.pos++],i|=(127&s)<<10,s<128)return Nh(t,i,e);if(s=r[n.pos++],i|=(127&s)<<17,s<128)return Nh(t,i,e);if(s=r[n.pos++],i|=(127&s)<<24,s<128)return Nh(t,i,e);if(s=r[n.pos++],i|=(1&s)<<31,s<128)return Nh(t,i,e);throw new Error("Expected varint not more than 10 bytes")}(n,t,this)))))}readVarint64(){return this.readVarint(!0)}readSVarint(){const t=this.readVarint();return t%2==1?(t+1)/-2:t/2}readBoolean(){return Boolean(this.readVarint())}readString(){const t=this.readVarint()+this.pos,e=this.pos;return this.pos=t,t-e>=12&&$h?$h.decode(this.buf.subarray(e,t)):function(t,e,n){let r="",i=e;for(;i239?4:e>223?3:e>191?2:1;if(i+u>n)break;1===u?e<128&&(l=e):2===u?(s=t[i+1],128==(192&s)&&(l=(31&e)<<6|63&s,l<=127&&(l=null))):3===u?(s=t[i+1],o=t[i+2],128==(192&s)&&128==(192&o)&&(l=(15&e)<<12|(63&s)<<6|63&o,(l<=2047||l>=55296&&l<=57343)&&(l=null))):4===u&&(s=t[i+1],o=t[i+2],a=t[i+3],128==(192&s)&&128==(192&o)&&128==(192&a)&&(l=(15&e)<<18|(63&s)<<12|(63&o)<<6|63&a,(l<=65535||l>=1114112)&&(l=null))),null===l?(l=65533,u=1):l>65535&&(l-=65536,r+=String.fromCharCode(l>>>10&1023|55296),l=56320|1023&l),r+=String.fromCharCode(l),i+=u;}return r}(this.buf,e,t)}readBytes(){const t=this.readVarint()+this.pos,e=this.buf.subarray(this.pos,t);return this.pos=t,e}readPackedVarint(t=[],e){const n=this.readPackedEnd();for(;this.pos127;);else if(2===e)this.pos=this.readVarint()+this.pos;else if(5===e)this.pos+=4;else {if(1!==e)throw new Error(`Unimplemented type: ${e}`);this.pos+=8;}}writeTag(t,e){this.writeVarint(t<<3|e);}realloc(t){let e=this.length||16;for(;e268435455||t<0?function(t,e){let n,r;if(t>=0?(n=t%4294967296|0,r=t/4294967296|0):(n=~(-t%4294967296),r=~(-t/4294967296),4294967295^n?n=n+1|0:(n=0,r=r+1|0)),t>=0x10000000000000000||t<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");e.realloc(10),function(t,e,n){n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,n.buf[n.pos]=127&(t>>>=7);}(n,0,e),function(t,e){const n=(7&t)<<4;e.buf[e.pos++]|=n|((t>>>=3)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t)))));}(r,e);}(t,this):(this.realloc(4),this.buf[this.pos++]=127&t|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=t>>>7&127))));}writeSVarint(t){this.writeVarint(t<0?2*-t-1:2*t);}writeBoolean(t){this.writeVarint(+t);}writeString(t){t=String(t),this.realloc(4*t.length),this.pos++;const e=this.pos;this.pos=function(t,e,n){for(let r,i,s=0;s55295&&r<57344){if(!i){r>56319||s+1===e.length?(t[n++]=239,t[n++]=191,t[n++]=189):i=r;continue}if(r<56320){t[n++]=239,t[n++]=191,t[n++]=189,i=r;continue}r=i-55296<<10|r-56320|65536,i=null;}else i&&(t[n++]=239,t[n++]=191,t[n++]=189,i=null);r<128?t[n++]=r:(r<2048?t[n++]=r>>6|192:(r<65536?t[n++]=r>>12|224:(t[n++]=r>>18|240,t[n++]=r>>12&63|128),t[n++]=r>>6&63|128),t[n++]=63&r|128);}return n}(this.buf,t,this.pos);const n=this.pos-e;n>=128&&Uh(e,n,this),this.pos=e-1,this.writeVarint(n),this.pos+=n;}writeFloat(t){this.realloc(4),this.dataView.setFloat32(this.pos,t,!0),this.pos+=4;}writeDouble(t){this.realloc(8),this.dataView.setFloat64(this.pos,t,!0),this.pos+=8;}writeBytes(t){const e=t.length;this.writeVarint(e),this.realloc(e);for(let n=0;n=128&&Uh(n,r,this),this.pos=n-1,this.writeVarint(r),this.pos+=r;}writeMessage(t,e,n){this.writeTag(t,2),this.writeRawMessage(e,n);}writePackedVarint(t,e){e.length&&this.writeMessage(t,jh,e);}writePackedSVarint(t,e){e.length&&this.writeMessage(t,qh,e);}writePackedBoolean(t,e){e.length&&this.writeMessage(t,Yh,e);}writePackedFloat(t,e){e.length&&this.writeMessage(t,Gh,e);}writePackedDouble(t,e){e.length&&this.writeMessage(t,Xh,e);}writePackedFixed32(t,e){e.length&&this.writeMessage(t,Zh,e);}writePackedSFixed32(t,e){e.length&&this.writeMessage(t,Hh,e);}writePackedFixed64(t,e){e.length&&this.writeMessage(t,Wh,e);}writePackedSFixed64(t,e){e.length&&this.writeMessage(t,Kh,e);}writeBytesField(t,e){this.writeTag(t,2),this.writeBytes(e);}writeFixed32Field(t,e){this.writeTag(t,5),this.writeFixed32(e);}writeSFixed32Field(t,e){this.writeTag(t,5),this.writeSFixed32(e);}writeFixed64Field(t,e){this.writeTag(t,1),this.writeFixed64(e);}writeSFixed64Field(t,e){this.writeTag(t,1),this.writeSFixed64(e);}writeVarintField(t,e){this.writeTag(t,0),this.writeVarint(e);}writeSVarintField(t,e){this.writeTag(t,0),this.writeSVarint(e);}writeStringField(t,e){this.writeTag(t,2),this.writeString(e);}writeFloatField(t,e){this.writeTag(t,5),this.writeFloat(e);}writeDoubleField(t,e){this.writeTag(t,1),this.writeDouble(e);}writeBooleanField(t,e){this.writeVarintField(t,+e);}}function Nh(t,e,n){return n?4294967296*e+(t>>>0):4294967296*(e>>>0)+(t>>>0)}function Uh(t,e,n){const r=e<=16383?1:e<=2097151?2:e<=268435455?3:Math.floor(Math.log(e)/(7*Math.LN2));n.realloc(r);for(let e=n.pos-1;e>=t;e--)n.buf[e+r]=n.buf[e];}function jh(t,e){for(let n=0;ne.h-t.h));const r=[{x:0,y:0,w:Math.max(Math.ceil(Math.sqrt(e/.95)),n),h:1/0}];let i=0,s=0;for(const e of t)for(let t=r.length-1;t>=0;t--){const n=r[t];if(!(e.w>n.w||e.h>n.h)){if(e.x=n.x,e.y=n.y,s=Math.max(s,e.y+e.h),i=Math.max(i,e.x+e.w),e.w===n.w&&e.h===n.h){const e=r.pop();e&&tm.toCodeUnitIndex(t)));const t=v(m.toString(),x);for(const e of t){const t=[...e].map((()=>0));g.push(new Vh(e,m.sections,t));}}else if(b){g=[],x=x.map((t=>m.toCodeUnitIndex(t)));let t=0;const e=[];for(const n of m.text)e.push(...Array(n.length).fill(m.sectionIndex[t])),t++;const n=b(m.text,e,x);for(const t of n){const e=[];let n="";for(const r of t[0])e.push(t[1][n.length]),n+=r;g.push(new Vh(t[0],m.sections,e));}}else g=function(t,e){const n=[];let r=0;for(const i of e)n.push(t.substring(r,i)),r=i;return ru){const t=Math.ceil(s/u);i*=t/o,o=t;}return {x1:r,y1:i,x2:r+s,y2:i+o}}function yp(t,e,n,r,i,s){const o=t.image;let a;if(o.content){const t=o.content,e=o.pixelRatio||1;a=[t[0]/e,t[1]/e,o.displaySize[0]-t[2]/e,o.displaySize[1]-t[3]/e];}const l=e.left*s,u=e.right*s;let c,h,p,f;"width"===n||"both"===n?(f=i[0]+l-r[3],h=i[0]+u+r[1]):(f=i[0]+(l+u-o.displaySize[0])/2,h=f+o.displaySize[0]);const d=e.top*s,y=e.bottom*s;return "height"===n||"both"===n?(c=i[1]+d-r[0],p=i[1]+y+r[2]):(c=i[1]+(d+y-o.displaySize[1])/2,p=c+o.displaySize[1]),{image:o,top:c,right:h,bottom:p,left:f,collisionPadding:a}}ds("ImagePosition",np),ds("ImageAtlas",rp),t.ax=void 0,(ip=t.ax||(t.ax={}))[ip.none=0]="none",ip[ip.horizontal=1]="horizontal",ip[ip.vertical=2]="vertical",ip[ip.horizontalOnly=3]="horizontalOnly";const mp=128,gp=32640;function xp(t,e){const{expression:n}=e;if("constant"===n.kind)return {kind:"constant",layoutSize:n.evaluate(new Cs(t+1))};if("source"===n.kind)return {kind:"source"};{const{zoomStops:e,interpolationType:r}=n;let i=0;for(;it.id)),this.index=e.index,this.pixelRatio=e.pixelRatio,this.sourceLayerIndex=e.sourceLayerIndex,this.hasDependencies=!1,this.hasRTLText=!1,this.sortKeyRanges=[],this.collisionCircleArray=[];const n=this.layers[0]._unevaluatedLayout._values;this.textSizeData=xp(this.zoom,n["text-size"]),this.iconSizeData=xp(this.zoom,n["icon-size"]);const r=this.layers[0].layout,i=r.get("symbol-sort-key"),s=r.get("symbol-z-order");this.canOverlap="never"!==vp(r,"text-overlap","text-allow-overlap")||"never"!==vp(r,"icon-overlap","icon-allow-overlap")||r.get("text-ignore-placement")||r.get("icon-ignore-placement"),this.sortFeaturesByKey="viewport-y"!==s&&!i.isConstant(),this.sortFeaturesByY=("viewport-y"===s||"auto"===s&&!this.sortFeaturesByKey)&&this.canOverlap,"point"===r.get("symbol-placement")&&(this.writingModes=r.get("text-writing-mode").map((e=>t.ax[e]))),this.stateDependentLayerIds=this.layers.filter((t=>t.isStateDependent())).map((t=>t.id)),this.sourceID=e.sourceID;}createArrays(){this.text=new Ap(new $a(this.layers,this.zoom,(t=>t.startsWith("text")))),this.icon=new Ap(new $a(this.layers,this.zoom,(t=>t.startsWith("icon")))),this.glyphOffsetArray=new Ro,this.lineVertexArray=new No,this.symbolInstances=new $o,this.textAnchorOffsets=new jo;}calculateGlyphDependencies(t,e,n,r,i){for(const s of t)if(e[s.codePointAt(0)]=!0,(n||r)&&i){const t=Eh[s];t&&(e[t.codePointAt(0)]=!0);}}populate(e,n,r){var i;const s=this.layers[0],o=s.layout,a=o.get("text-font"),l=o.get("text-field"),u=o.get("icon-image"),c=("constant"!==l.value.kind||l.value.value instanceof ze&&!l.value.value.isEmpty()||l.value.value.toString().length>0)&&("constant"!==a.value.kind||a.value.value.length>0),h="constant"!==u.value.kind||!!u.value.value||Object.keys(u.parameters).length>0,p=o.get("symbol-sort-key");if(this.features=[],!c&&!h)return;const f=n.iconDependencies,d=n.glyphDependencies,y=n.availableImages,m=new Cs(this.zoom);for(const{feature:n,id:l,index:u,sourceLayerIndex:g}of e){const e=s._featureFilter.needGeometry,x=Ga(n,e);if(!s._featureFilter.filter(m,x,r))continue;let v,b;if(e||(x.geometry=qa(n)),c){const t=s.getValueAndResolveTokens("text-field",x,r,y),e=ze.factory(t);this.hasRTLText||(this.hasRTLText=Sp(e)),(!this.hasRTLText||"unavailable"===Bs.getRTLTextPluginStatus()||this.hasRTLText&&Bs.isParsed())&&(v=kh(e,s,x));}if(h){const t=s.getValueAndResolveTokens("icon-image",x,r,y);b=t instanceof Re?t:Re.fromString(t);}if(!v&&!b)continue;const w=this.sortFeaturesByKey?p.evaluate(x,{},r):void 0;if(this.features.push({id:l,text:v,icon:b,index:u,sourceLayerIndex:g,geometry:x.geometry,properties:n.properties,type:Cu.types[n.type],sortKey:w}),b&&(f[b.name]=!0),v){const e=a.evaluate(x,{},r).join(","),n="viewport"!==o.get("text-rotation-alignment")&&"point"!==o.get("symbol-placement");this.allowVerticalPlacement=null===(i=this.writingModes)||void 0===i?void 0:i.includes(t.ax.vertical);for(const t of v.sections)if(t.image)f[t.image.name]=!0;else {const r=As(v.toString()),i=t.fontStack||e;d[i]||(d[i]={}),this.calculateGlyphDependencies(t.text,d[i],n,this.allowVerticalPlacement,r);}}}"line"===o.get("symbol-placement")&&(this.features=function(t){const e={},n={},r=[];let i=0;function s(e){r.push(t[e]),i++;}function o(t,e,i){const s=n[t];return delete n[t],n[e]=s,r[s].geometry[0].pop(),r[s].geometry[0]=r[s].geometry[0].concat(i[0]),s}function a(t,n,i){const s=e[n];return delete e[n],e[t]=s,r[s].geometry[0].shift(),r[s].geometry[0]=i[0].concat(r[s].geometry[0]),s}function l(t,e,n){const r=n?e[0][e[0].length-1]:e[0][0];return `${t}:${r.x}:${r.y}`}for(let u=0;ut.geometry))}(this.features)),this.sortFeaturesByKey&&this.features.sort(((t,e)=>t.sortKey-e.sortKey));}update(t,e,n){this.stateDependentLayers.length&&(this.text.programConfigurations.updatePaintArrays(t,e,this.layers,{imagePositions:n}),this.icon.programConfigurations.updatePaintArrays(t,e,this.layers,{imagePositions:n}));}isEmpty(){return 0===this.symbolInstances.length&&!this.hasRTLText}uploadPending(){return !this.uploaded||this.text.programConfigurations.needsUpload||this.icon.programConfigurations.needsUpload}upload(t){!this.uploaded&&this.hasDebugData()&&(this.textCollisionBox.upload(t),this.iconCollisionBox.upload(t)),this.text.upload(t,this.sortFeaturesByY,!this.uploaded,this.text.programConfigurations.needsUpload),this.icon.upload(t,this.sortFeaturesByY,!this.uploaded,this.icon.programConfigurations.needsUpload),this.uploaded=!0;}destroyDebugData(){this.textCollisionBox.destroy(),this.iconCollisionBox.destroy();}destroy(){this.text.destroy(),this.icon.destroy(),this.hasDebugData()&&this.destroyDebugData();}addToLineVertexArray(t,e){const n=this.lineVertexArray.length;if(void 0!==t.segment){let n=t.dist(e[t.segment+1]),r=t.dist(e[t.segment]);const i={};for(let r=t.segment+1;r=0;n--)i[n]={x:e[n].x,y:e[n].y,tileUnitDistanceFromAnchor:r},n>0&&(r+=e[n-1].dist(e[n]));for(let t=0;t0}hasIconData(){return this.icon.segments.get().length>0}hasDebugData(){return this.textCollisionBox&&this.iconCollisionBox}hasTextCollisionBoxData(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0}hasIconCollisionBoxData(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0}addIndicesForPlacedSymbol(t,e){const n=t.placedSymbolArray.get(e),r=n.vertexStartIndex+4*n.numGlyphs;for(let e=n.vertexStartIndex;er[t]-r[e]||i[e]-i[t])),s}addToSortKeyRanges(t,e){const n=this.sortKeyRanges[this.sortKeyRanges.length-1];(null==n?void 0:n.sortKey)===e?n.symbolInstanceEnd=t+1:this.sortKeyRanges.push({sortKey:e,symbolInstanceStart:t,symbolInstanceEnd:t+1});}sortFeatures(t){if(this.sortFeaturesByY&&this.sortedAngle!==t&&!(this.text.segments.get().length>1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(t),this.sortedAngle=t,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(const t of this.symbolInstanceIndexes){const e=this.symbolInstances.get(t);this.featureSortOrder.push(e.featureIndex);const n=[e.rightJustifiedTextSymbolIndex,e.centerJustifiedTextSymbolIndex,e.leftJustifiedTextSymbolIndex];for(let t=0;t=0&&n.indexOf(e)===t&&this.addIndicesForPlacedSymbol(this.text,e);}e.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,e.verticalPlacedTextSymbolIndex),e.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,e.placedIconSymbolIndex),e.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,e.verticalPlacedIconSymbolIndex);}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray);}}}let Ip,Ep;ds("SymbolBucket",kp,{omit:["layers","collisionBoxArray","features","compareText"]}),kp.MAX_GLYPHS=65535,kp.addDynamicAttributes=_p;var Tp={get paint(){return Ep=Ep||new Ks({"icon-opacity":new Ys(wt.paint_symbol["icon-opacity"]),"icon-color":new Ys(wt.paint_symbol["icon-color"]),"icon-halo-color":new Ys(wt.paint_symbol["icon-halo-color"]),"icon-halo-width":new Ys(wt.paint_symbol["icon-halo-width"]),"icon-halo-blur":new Ys(wt.paint_symbol["icon-halo-blur"]),"icon-translate":new Xs(wt.paint_symbol["icon-translate"]),"icon-translate-anchor":new Xs(wt.paint_symbol["icon-translate-anchor"]),"text-opacity":new Ys(wt.paint_symbol["text-opacity"]),"text-color":new Ys(wt.paint_symbol["text-color"],{runtimeType:Nt,getOverride:t=>t.textColor,hasOverride:t=>!!t.textColor}),"text-halo-color":new Ys(wt.paint_symbol["text-halo-color"]),"text-halo-width":new Ys(wt.paint_symbol["text-halo-width"]),"text-halo-blur":new Ys(wt.paint_symbol["text-halo-blur"]),"text-translate":new Xs(wt.paint_symbol["text-translate"]),"text-translate-anchor":new Xs(wt.paint_symbol["text-translate-anchor"])})},get layout(){return Ip=Ip||new Ks({"symbol-placement":new Xs(wt.layout_symbol["symbol-placement"]),"symbol-spacing":new Xs(wt.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new Xs(wt.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new Ys(wt.layout_symbol["symbol-sort-key"]),"symbol-z-order":new Xs(wt.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new Xs(wt.layout_symbol["icon-allow-overlap"]),"icon-overlap":new Xs(wt.layout_symbol["icon-overlap"]),"icon-ignore-placement":new Xs(wt.layout_symbol["icon-ignore-placement"]),"icon-optional":new Xs(wt.layout_symbol["icon-optional"]),"icon-rotation-alignment":new Xs(wt.layout_symbol["icon-rotation-alignment"]),"icon-size":new Ys(wt.layout_symbol["icon-size"]),"icon-text-fit":new Xs(wt.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new Xs(wt.layout_symbol["icon-text-fit-padding"]),"icon-image":new Ys(wt.layout_symbol["icon-image"]),"icon-rotate":new Ys(wt.layout_symbol["icon-rotate"]),"icon-padding":new Ys(wt.layout_symbol["icon-padding"]),"icon-keep-upright":new Xs(wt.layout_symbol["icon-keep-upright"]),"icon-offset":new Ys(wt.layout_symbol["icon-offset"]),"icon-anchor":new Ys(wt.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new Xs(wt.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new Xs(wt.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new Xs(wt.layout_symbol["text-rotation-alignment"]),"text-field":new Ys(wt.layout_symbol["text-field"]),"text-font":new Ys(wt.layout_symbol["text-font"]),"text-size":new Ys(wt.layout_symbol["text-size"]),"text-max-width":new Ys(wt.layout_symbol["text-max-width"]),"text-line-height":new Xs(wt.layout_symbol["text-line-height"]),"text-letter-spacing":new Ys(wt.layout_symbol["text-letter-spacing"]),"text-justify":new Ys(wt.layout_symbol["text-justify"]),"text-radial-offset":new Ys(wt.layout_symbol["text-radial-offset"]),"text-variable-anchor":new Xs(wt.layout_symbol["text-variable-anchor"]),"text-variable-anchor-offset":new Ys(wt.layout_symbol["text-variable-anchor-offset"]),"text-anchor":new Ys(wt.layout_symbol["text-anchor"]),"text-max-angle":new Xs(wt.layout_symbol["text-max-angle"]),"text-writing-mode":new Xs(wt.layout_symbol["text-writing-mode"]),"text-rotate":new Ys(wt.layout_symbol["text-rotate"]),"text-padding":new Xs(wt.layout_symbol["text-padding"]),"text-keep-upright":new Xs(wt.layout_symbol["text-keep-upright"]),"text-transform":new Ys(wt.layout_symbol["text-transform"]),"text-offset":new Ys(wt.layout_symbol["text-offset"]),"text-allow-overlap":new Xs(wt.layout_symbol["text-allow-overlap"]),"text-overlap":new Xs(wt.layout_symbol["text-overlap"]),"text-ignore-placement":new Xs(wt.layout_symbol["text-ignore-placement"]),"text-optional":new Xs(wt.layout_symbol["text-optional"])})}};class Fp{constructor(t){if(void 0===t.property.overrides)throw new Error("overrides must be provided to instantiate FormatSectionOverride class");this.type=t.property.overrides?t.property.overrides.runtimeType:Lt,this.defaultValue=t;}evaluate(t){if(t.formattedSection){const e=this.defaultValue.property.overrides;if(null==e?void 0:e.hasOverride(t.formattedSection))return e.getOverride(t.formattedSection)}return t.feature&&t.featureState?this.defaultValue.evaluate(t.feature,t.featureState):this.defaultValue.property.specification.default}eachChild(t){this.defaultValue.isConstant()||t(this.defaultValue.value._styleExpression.expression);}outputDefined(){return !1}serialize(){return null}}ds("FormatSectionOverride",Fp,{omit:["defaultValue"]});class Pp extends to{constructor(t,e){super(t,Tp,e);}recalculate(t,e){if(super.recalculate(t,e),"auto"===this.layout.get("icon-rotation-alignment")&&(this.layout._values["icon-rotation-alignment"]="point"!==this.layout.get("symbol-placement")?"map":"viewport"),"auto"===this.layout.get("text-rotation-alignment")&&(this.layout._values["text-rotation-alignment"]="point"!==this.layout.get("symbol-placement")?"map":"viewport"),"auto"===this.layout.get("text-pitch-alignment")&&(this.layout._values["text-pitch-alignment"]="map"===this.layout.get("text-rotation-alignment")?"map":"viewport"),"auto"===this.layout.get("icon-pitch-alignment")&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),"point"===this.layout.get("symbol-placement")){const t=this.layout.get("text-writing-mode");if(t){const e=[];for(const n of t)e.includes(n)||e.push(n);this.layout._values["text-writing-mode"]=e;}else this.layout._values["text-writing-mode"]=["horizontal"];}this._setPaintOverrides();}getValueAndResolveTokens(t,e,n,r){const i=this.layout.get(t).evaluate(e,{},n,r),s=this._unevaluatedLayout._values[t];return s.isDataDriven()||ii(s.value)||!i?i:function(t,e){return e.replace(/{([^{}]+)}/g,((e,n)=>t&&n in t?String(t[n]):""))}(e.properties,i)}createBucket(t){return new kp(t)}queryRadius(){return 0}queryIntersectsFeature(){throw new Error("Should take a different path in FeatureIndex")}_setPaintOverrides(){for(const t of Tp.paint.overridableProperties){if(!Pp.hasPaintOverride(this.layout,t))continue;const e=this.paint.get(t),n=new Fp(e),r=new ri(n,e.property.specification);let i=null;i="constant"===e.value.kind||"source"===e.value.kind?new oi("source",r):new ai("composite",r,e.value.zoomStops),this.paint._values[t]=new qs(e.property,i,e.parameters);}}_handleOverridablePaintPropertyUpdate(t,e,n){return !(!this.layout||e.isDataDriven()||n.isDataDriven())&&Pp.hasPaintOverride(this.layout,t)}static hasPaintOverride(t,e){const n=t.get("text-field"),r=Tp.paint.properties[e];let i=!1;const s=t=>{var e;for(const n of t)if(null===(e=r.overrides)||void 0===e?void 0:e.hasOverride(n))return void(i=!0)};if("constant"===n.value.kind&&n.value.value instanceof ze)s(n.value.value.sections);else if("source"===n.value.kind||"composite"===n.value.kind){const t=e=>{i||(e instanceof Xe&&qe(e.value)===Xt?s(e.value.sections):e instanceof Pn?s(e.sections):e.eachChild(t));},e=n.value;e._styleExpression&&t(e._styleExpression.expression);}return i}}let Dp;var zp={get paint(){return Dp=Dp||new Ks({"background-color":new Xs(wt.paint_background["background-color"]),"background-pattern":new Hs(wt.paint_background["background-pattern"]),"background-opacity":new Xs(wt.paint_background["background-opacity"])})}};class Bp extends to{constructor(t,e){super(t,zp,e);}}class Cp extends to{constructor(t,e){super(t,{},e),this.onAdd=t=>{this.implementation.onAdd&&this.implementation.onAdd(t,t.painter.context.gl);},this.onRemove=t=>{this.implementation.onRemove&&this.implementation.onRemove(t,t.painter.context.gl);},this.implementation=t;}is3D(){return "3d"===this.implementation.renderingMode}hasOffscreenPass(){return void 0!==this.implementation.prerender}recalculate(){}updateTransitions(){}hasTransition(){return !1}serialize(){throw new Error("Custom layers cannot be serialized")}}class Vp{constructor(t){this._methodToThrottle=t,this._triggered=!1,this._channel=new MessageChannel,this._channel.port2.onmessage=()=>{this._triggered=!1,this._methodToThrottle();};}trigger(){var t;this._triggered||(this._triggered=!0,null===(t=this._channel)||void 0===t||t.port1.postMessage(!0));}remove(){delete this._channel,this._methodToThrottle=()=>{};}}const Lp={once:!0},Op=6371008.8;class $p{constructor(t,e){if(isNaN(t)||isNaN(e))throw new Error(`Invalid LngLat object: (${t}, ${e})`);if(this.lng=+t,this.lat=+e,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")}wrap(){return new $p(O(this.lng,-180,180),this.lat)}toArray(){return [this.lng,this.lat]}toString(){return `LngLat(${this.lng}, ${this.lat})`}distanceTo(t){const e=Math.PI/180,n=this.lat*e,r=t.lat*e,i=Math.sin(n)*Math.sin(r)+Math.cos(n)*Math.cos(r)*Math.cos((t.lng-this.lng)*e);return Op*Math.acos(Math.min(i,1))}static convert(t){if(t instanceof $p)return t;if(Array.isArray(t)&&(2===t.length||3===t.length))return new $p(Number(t[0]),Number(t[1]));if(!Array.isArray(t)&&"object"==typeof t&&null!==t)return new $p(Number("lng"in t?t.lng:t.lon),Number(t.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]")}}const Rp=2*Math.PI*Op;function Np(t){return Rp*Math.cos(t*Math.PI/180)}function Up(t){return (180+t)/360}function jp(t){return (180-180/Math.PI*Math.log(Math.tan(Math.PI/4+t*Math.PI/360)))/360}function qp(t,e){return t/Np(e)}function Gp(t){return 360*t-180}function Xp(t){return 360/Math.PI*Math.atan(Math.exp((180-360*t)*Math.PI/180))-90}function Yp(t,e){return t*Np(Xp(e))}class Zp{constructor(t,e,n=0){this.x=+t,this.y=+e,this.z=+n;}static fromLngLat(t,e=0){const n=$p.convert(t);return new Zp(Up(n.lng),jp(n.lat),qp(e,n.lat))}toLngLat(){return new $p(Gp(this.x),Xp(this.y))}toAltitude(){return Yp(this.z,this.y)}meterInMercatorCoordinateUnits(){return 1/Rp*(t=Xp(this.y),1/Math.cos(t*Math.PI/180));var t;}}function Hp(t,e,n){var r=2*Math.PI*6378137/256/Math.pow(2,n);return [t*r-2*Math.PI*6378137/2,e*r-2*Math.PI*6378137/2]}class Wp{constructor(t,e,n){if(!function(t,e,n){return !(t<0||t>25||n<0||n>=Math.pow(2,t)||e<0||e>=Math.pow(2,t))}(t,e,n))throw new Error(`x=${e}, y=${n}, z=${t} outside of bounds. 0<=x<${Math.pow(2,t)}, 0<=y<${Math.pow(2,t)} 0<=z<=25 `);this.z=t,this.x=e,this.y=n,this.key=Qp(0,t,t,e,n);}equals(t){return this.z===t.z&&this.x===t.x&&this.y===t.y}url(t,e,n){const r=(s=this.y,o=this.z,a=Hp(256*(i=this.x),256*(s=Math.pow(2,o)-s-1),o),l=Hp(256*(i+1),256*(s+1),o),a[0]+","+a[1]+","+l[0]+","+l[1]);var i,s,o,a,l;const u=function(t,e,n){let r="";for(let i=t;i>0;i--){const t=1<1?"@2x":"").replace(/{quadkey}/g,u).replace(/{bbox-epsg-3857}/g,r)}isChildOf(t){const e=this.z-t.z;return e>0&&t.x===this.x>>e&&t.y===this.y>>e}getTilePoint(t){const e=Math.pow(2,this.z);return new n((t.x*e-this.x)*T,(t.y*e-this.y)*T)}toString(){return `${this.z}/${this.x}/${this.y}`}}class Kp{constructor(t,e){this.wrap=t,this.canonical=e,this.key=Qp(t,e.z,e.z,e.x,e.y);}}class Jp{constructor(t,e,n,r,i){if(this.terrainRttPosMatrix32f=null,t= z; overscaledZ = ${t}; z = ${n}`);this.overscaledZ=t,this.wrap=e,this.canonical=new Wp(n,+r,+i),this.key=Qp(e,t,n,r,i);}clone(){return new Jp(this.overscaledZ,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)}equals(t){return this.overscaledZ===t.overscaledZ&&this.wrap===t.wrap&&this.canonical.equals(t.canonical)}scaledTo(t){if(t>this.overscaledZ)throw new Error(`targetZ > this.overscaledZ; targetZ = ${t}; overscaledZ = ${this.overscaledZ}`);const e=this.canonical.z-t;return t>this.canonical.z?new Jp(t,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new Jp(t,this.wrap,t,this.canonical.x>>e,this.canonical.y>>e)}isOverscaled(){return this.overscaledZ>this.canonical.z}calculateScaledKey(t,e){if(t>this.overscaledZ)throw new Error(`targetZ > this.overscaledZ; targetZ = ${t}; overscaledZ = ${this.overscaledZ}`);const n=this.canonical.z-t;return t>this.canonical.z?Qp(this.wrap*+e,t,this.canonical.z,this.canonical.x,this.canonical.y):Qp(this.wrap*+e,t,t,this.canonical.x>>n,this.canonical.y>>n)}isChildOf(t){if(t.wrap!==this.wrap)return !1;if(this.overscaledZ-t.overscaledZ<=0)return !1;if(0===t.overscaledZ)return this.overscaledZ>0;const e=this.canonical.z-t.canonical.z;return !(e<0)&&t.canonical.x===this.canonical.x>>e&&t.canonical.y===this.canonical.y>>e}children(t){if(this.overscaledZ>=t)return [new Jp(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];const e=this.canonical.z+1,n=2*this.canonical.x,r=2*this.canonical.y;return [new Jp(e,this.wrap,e,n,r),new Jp(e,this.wrap,e,n+1,r),new Jp(e,this.wrap,e,n,r+1),new Jp(e,this.wrap,e,n+1,r+1)]}isLessThan(t){return this.wrapt.wrap)&&(this.overscaledZt.overscaledZ)&&(this.canonical.xt.canonical.x)&&this.canonical.y=0&&t=0&&e=l)return null;let c=this.canonical.x+r,h=this.wrap;return c<0?(h-=Math.ceil(-c/l),c=(c%l+l)%l):c>=l&&(h+=Math.floor(c/l),c%=l),{tileID:new Jp(this.overscaledZ,h,a,c,u),x:s,y:o}}}function Qp(t,e,n,r,i){(t*=2)<0&&(t=-1*t-1);const s=1<this.maxX||this.minY>this.maxY)&&(this.minX=1/0,this.maxX=-1/0,this.minY=1/0,this.maxY=-1/0),this}shrinkBy(t){return this.expandBy(-t)}map(t){const e=new tf;return e.extend(t(new n(this.minX,this.minY))),e.extend(t(new n(this.maxX,this.minY))),e.extend(t(new n(this.minX,this.maxY))),e.extend(t(new n(this.maxX,this.maxY))),e}static fromPoints(t){const e=new tf;for(const n of t)e.extend(n);return e}contains(t){return t.x>=this.minX&&t.x<=this.maxX&&t.y>=this.minY&&t.y<=this.maxY}empty(){return this.minX>this.maxX}width(){return this.maxX-this.minX}height(){return this.maxY-this.minY}covers(t){return !this.empty()&&!t.empty()&&t.minX>=this.minX&&t.maxX<=this.maxX&&t.minY>=this.minY&&t.maxY<=this.maxY}intersects(t){return !this.empty()&&!t.empty()&&t.minX<=this.maxX&&t.maxX>=this.minX&&t.minY<=this.maxY&&t.maxY>=this.minY}}class ef{constructor(t){this._stringToNumber={},this._numberToString=[];for(let e=0;e=this._numberToString.length)throw new Error(`Out of bounds. Index requested n=${t} can't be >= this._numberToString.length ${this._numberToString.length}`);return this._numberToString[t]}}class nf{constructor(t,e,n,r,i){this.type="Feature",this._vectorTileFeature=t,this._x=n,this._y=r,this._z=e,this.properties=t.properties,this.id=i;}projectPoint(t,e,n,r){return [360*(t.x+e)/r-180,360/Math.PI*Math.atan(Math.exp((1-2*(t.y+n)/r)*Math.PI))-90]}projectLine(t,e,n,r){return t.map((t=>this.projectPoint(t,e,n,r)))}get geometry(){if(this._geometry)return this._geometry;const t=this._vectorTileFeature,e=t.extent*Math.pow(2,this._z),n=t.extent*this._x,r=t.extent*this._y,i=t.loadGeometry();switch(t.type){case 1:{const t=[];for(const e of i)t.push(e[0]);const s=this.projectLine(t,n,r,e);this._geometry=1===t.length?{type:"Point",coordinates:s[0]}:{type:"MultiPoint",coordinates:s};break}case 2:{const t=i.map((t=>this.projectLine(t,n,r,e)));this._geometry=1===t.length?{type:"LineString",coordinates:t[0]}:{type:"MultiLineString",coordinates:t};break}case 3:{const t=Lu(i),s=[];for(const i of t)s.push(i.map((t=>this.projectLine(t,n,r,e))));this._geometry=1===s.length?{type:"Polygon",coordinates:s[0]}:{type:"MultiPolygon",coordinates:s};break}default:throw new Error(`unknown feature type: ${t.type}`)}return this._geometry}set geometry(t){this._geometry=t;}toJSON(){const t={geometry:this.geometry};for(const e in this)"_geometry"!==e&&"_vectorTileFeature"!==e&&"_x"!==e&&"_y"!==e&&"_z"!==e&&(t[e]=this[e]);return t}}class rf{constructor(t,e,n){this._name=t,this.dataBuffer=e,"number"==typeof n?this._size=n:(this.nullabilityBuffer=n,this._size=n.size());}getValue(t){return this.nullabilityBuffer&&!this.nullabilityBuffer.get(t)?null:this.getValueFromBuffer(t)}has(t){return this.nullabilityBuffer?.get(t)||!this.nullabilityBuffer}get name(){return this._name}get size(){return this._size}}class sf extends rf{}class of extends sf{getValueFromBuffer(t){return this.dataBuffer[t]}}class af extends sf{getValueFromBuffer(t){return this.dataBuffer[t]}}class lf extends rf{constructor(t,e,n,r){super(t,e,r),this.delta=n;}}class uf extends lf{constructor(t,e,n,r){super(t,Int32Array.of(e),n,r);}getValueFromBuffer(t){return this.dataBuffer[0]+t*this.delta}}class cf extends rf{constructor(t,e,n,r){super(t,r?Int32Array.of(e):Uint32Array.of(e),n);}getValueFromBuffer(t){return this.dataBuffer[0]}}class hf{constructor(t,e,n,r,i=4096){this._name=t,this._geometryVector=e,this._idVector=n,this._propertyVectors=r,this._extent=i;}get name(){return this._name}get idVector(){return this._idVector}get geometryVector(){return this._geometryVector}get propertyVectors(){return this._propertyVectors}getPropertyVector(t){return this.propertyVectorsMap||(this.propertyVectorsMap=new Map(this._propertyVectors.map((t=>[t.name,t])))),this.propertyVectorsMap.get(t)}get numFeatures(){return this.geometryVector.numGeometries}get extent(){return this._extent}getFeatures(){const t=[],e=this.geometryVector.getGeometries();for(let n=0;n>>32-t;const mf=yf,gf=256;function xf(t,e){return t-t%e}function vf(t){const e=t>>>0;return ((255&e)<<24|(65280&e)<<8|e>>>8&65280|e>>>24&255)>>>0}const bf=function(){if(!Number.isFinite(65536))return 65536;const t=xf(Math.floor(65536),gf);return 0===t?gf:t}(),wf=3*bf/gf+bf|0;function _f(){const t=new Uint8Array(wf);return {dataToBePacked:new Array(33),dataPointers:new Int32Array(33),byteContainer:t,byteContainerI32:new Int32Array(t.buffer,t.byteOffset,t.byteLength>>>2),exceptionSizes:new Int32Array(33)}}function Sf(t,e,n,r,i){switch(i){case 1:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<8;e++){const e=t[s++]>>>0;n[i++]=e>>>0&1,n[i++]=e>>>1&1,n[i++]=e>>>2&1,n[i++]=e>>>3&1,n[i++]=e>>>4&1,n[i++]=e>>>5&1,n[i++]=e>>>6&1,n[i++]=e>>>7&1,n[i++]=e>>>8&1,n[i++]=e>>>9&1,n[i++]=e>>>10&1,n[i++]=e>>>11&1,n[i++]=e>>>12&1,n[i++]=e>>>13&1,n[i++]=e>>>14&1,n[i++]=e>>>15&1,n[i++]=e>>>16&1,n[i++]=e>>>17&1,n[i++]=e>>>18&1,n[i++]=e>>>19&1,n[i++]=e>>>20&1,n[i++]=e>>>21&1,n[i++]=e>>>22&1,n[i++]=e>>>23&1,n[i++]=e>>>24&1,n[i++]=e>>>25&1,n[i++]=e>>>26&1,n[i++]=e>>>27&1,n[i++]=e>>>28&1,n[i++]=e>>>29&1,n[i++]=e>>>30&1,n[i++]=e>>>31&1;}}(t,e,n,r);break;case 2:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<8;e++){const e=t[s++]>>>0,r=t[s++]>>>0;n[i++]=e>>>0&3,n[i++]=e>>>2&3,n[i++]=e>>>4&3,n[i++]=e>>>6&3,n[i++]=e>>>8&3,n[i++]=e>>>10&3,n[i++]=e>>>12&3,n[i++]=e>>>14&3,n[i++]=e>>>16&3,n[i++]=e>>>18&3,n[i++]=e>>>20&3,n[i++]=e>>>22&3,n[i++]=e>>>24&3,n[i++]=e>>>26&3,n[i++]=e>>>28&3,n[i++]=e>>>30&3,n[i++]=r>>>0&3,n[i++]=r>>>2&3,n[i++]=r>>>4&3,n[i++]=r>>>6&3,n[i++]=r>>>8&3,n[i++]=r>>>10&3,n[i++]=r>>>12&3,n[i++]=r>>>14&3,n[i++]=r>>>16&3,n[i++]=r>>>18&3,n[i++]=r>>>20&3,n[i++]=r>>>22&3,n[i++]=r>>>24&3,n[i++]=r>>>26&3,n[i++]=r>>>28&3,n[i++]=r>>>30&3;}}(t,e,n,r);break;case 3:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<8;e++){const e=t[s++]>>>0,r=t[s++]>>>0,o=t[s++]>>>0;n[i++]=e>>>0&7,n[i++]=e>>>3&7,n[i++]=e>>>6&7,n[i++]=e>>>9&7,n[i++]=e>>>12&7,n[i++]=e>>>15&7,n[i++]=e>>>18&7,n[i++]=e>>>21&7,n[i++]=e>>>24&7,n[i++]=e>>>27&7,n[i++]=7&(e>>>30|(1&r)<<2),n[i++]=r>>>1&7,n[i++]=r>>>4&7,n[i++]=r>>>7&7,n[i++]=r>>>10&7,n[i++]=r>>>13&7,n[i++]=r>>>16&7,n[i++]=r>>>19&7,n[i++]=r>>>22&7,n[i++]=r>>>25&7,n[i++]=r>>>28&7,n[i++]=7&(r>>>31|(3&o)<<1),n[i++]=o>>>2&7,n[i++]=o>>>5&7,n[i++]=o>>>8&7,n[i++]=o>>>11&7,n[i++]=o>>>14&7,n[i++]=o>>>17&7,n[i++]=o>>>20&7,n[i++]=o>>>23&7,n[i++]=o>>>26&7,n[i++]=o>>>29&7;}}(t,e,n,r);break;case 4:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<8;e++){const e=t[s++]>>>0,r=t[s++]>>>0,o=t[s++]>>>0,a=t[s++]>>>0;n[i++]=e>>>0&15,n[i++]=e>>>4&15,n[i++]=e>>>8&15,n[i++]=e>>>12&15,n[i++]=e>>>16&15,n[i++]=e>>>20&15,n[i++]=e>>>24&15,n[i++]=e>>>28&15,n[i++]=r>>>0&15,n[i++]=r>>>4&15,n[i++]=r>>>8&15,n[i++]=r>>>12&15,n[i++]=r>>>16&15,n[i++]=r>>>20&15,n[i++]=r>>>24&15,n[i++]=r>>>28&15,n[i++]=o>>>0&15,n[i++]=o>>>4&15,n[i++]=o>>>8&15,n[i++]=o>>>12&15,n[i++]=o>>>16&15,n[i++]=o>>>20&15,n[i++]=o>>>24&15,n[i++]=o>>>28&15,n[i++]=a>>>0&15,n[i++]=a>>>4&15,n[i++]=a>>>8&15,n[i++]=a>>>12&15,n[i++]=a>>>16&15,n[i++]=a>>>20&15,n[i++]=a>>>24&15,n[i++]=a>>>28&15;}}(t,e,n,r);break;case 5:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<8;e++){const e=t[s++]>>>0,r=t[s++]>>>0,o=t[s++]>>>0,a=t[s++]>>>0,l=t[s++]>>>0;n[i++]=e>>>0&31,n[i++]=e>>>5&31,n[i++]=e>>>10&31,n[i++]=e>>>15&31,n[i++]=e>>>20&31,n[i++]=e>>>25&31,n[i++]=31&(e>>>30|(7&r)<<2),n[i++]=r>>>3&31,n[i++]=r>>>8&31,n[i++]=r>>>13&31,n[i++]=r>>>18&31,n[i++]=r>>>23&31,n[i++]=31&(r>>>28|(1&o)<<4),n[i++]=o>>>1&31,n[i++]=o>>>6&31,n[i++]=o>>>11&31,n[i++]=o>>>16&31,n[i++]=o>>>21&31,n[i++]=o>>>26&31,n[i++]=31&(o>>>31|(15&a)<<1),n[i++]=a>>>4&31,n[i++]=a>>>9&31,n[i++]=a>>>14&31,n[i++]=a>>>19&31,n[i++]=a>>>24&31,n[i++]=31&(a>>>29|(3&l)<<3),n[i++]=l>>>2&31,n[i++]=l>>>7&31,n[i++]=l>>>12&31,n[i++]=l>>>17&31,n[i++]=l>>>22&31,n[i++]=l>>>27&31;}}(t,e,n,r);break;case 6:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<8;e++){const e=t[s++]>>>0,r=t[s++]>>>0,o=t[s++]>>>0,a=t[s++]>>>0,l=t[s++]>>>0,u=t[s++]>>>0;n[i++]=e>>>0&63,n[i++]=e>>>6&63,n[i++]=e>>>12&63,n[i++]=e>>>18&63,n[i++]=e>>>24&63,n[i++]=63&(e>>>30|(15&r)<<2),n[i++]=r>>>4&63,n[i++]=r>>>10&63,n[i++]=r>>>16&63,n[i++]=r>>>22&63,n[i++]=63&(r>>>28|(3&o)<<4),n[i++]=o>>>2&63,n[i++]=o>>>8&63,n[i++]=o>>>14&63,n[i++]=o>>>20&63,n[i++]=o>>>26&63,n[i++]=a>>>0&63,n[i++]=a>>>6&63,n[i++]=a>>>12&63,n[i++]=a>>>18&63,n[i++]=a>>>24&63,n[i++]=63&(a>>>30|(15&l)<<2),n[i++]=l>>>4&63,n[i++]=l>>>10&63,n[i++]=l>>>16&63,n[i++]=l>>>22&63,n[i++]=63&(l>>>28|(3&u)<<4),n[i++]=u>>>2&63,n[i++]=u>>>8&63,n[i++]=u>>>14&63,n[i++]=u>>>20&63,n[i++]=u>>>26&63;}}(t,e,n,r);break;case 7:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<8;e++){const e=t[s++]>>>0,r=t[s++]>>>0,o=t[s++]>>>0,a=t[s++]>>>0,l=t[s++]>>>0,u=t[s++]>>>0,c=t[s++]>>>0;n[i++]=e>>>0&127,n[i++]=e>>>7&127,n[i++]=e>>>14&127,n[i++]=e>>>21&127,n[i++]=127&(e>>>28|(7&r)<<4),n[i++]=r>>>3&127,n[i++]=r>>>10&127,n[i++]=r>>>17&127,n[i++]=r>>>24&127,n[i++]=127&(r>>>31|(63&o)<<1),n[i++]=o>>>6&127,n[i++]=o>>>13&127,n[i++]=o>>>20&127,n[i++]=127&(o>>>27|(3&a)<<5),n[i++]=a>>>2&127,n[i++]=a>>>9&127,n[i++]=a>>>16&127,n[i++]=a>>>23&127,n[i++]=127&(a>>>30|(31&l)<<2),n[i++]=l>>>5&127,n[i++]=l>>>12&127,n[i++]=l>>>19&127,n[i++]=127&(l>>>26|(1&u)<<6),n[i++]=u>>>1&127,n[i++]=u>>>8&127,n[i++]=u>>>15&127,n[i++]=u>>>22&127,n[i++]=127&(u>>>29|(15&c)<<3),n[i++]=c>>>4&127,n[i++]=c>>>11&127,n[i++]=c>>>18&127,n[i++]=c>>>25&127;}}(t,e,n,r);break;case 8:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<8;e++){const e=t[s++]>>>0,r=t[s++]>>>0,o=t[s++]>>>0,a=t[s++]>>>0,l=t[s++]>>>0,u=t[s++]>>>0,c=t[s++]>>>0,h=t[s++]>>>0;n[i++]=e>>>0&255,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=r>>>0&255,n[i++]=r>>>8&255,n[i++]=r>>>16&255,n[i++]=r>>>24&255,n[i++]=o>>>0&255,n[i++]=o>>>8&255,n[i++]=o>>>16&255,n[i++]=o>>>24&255,n[i++]=a>>>0&255,n[i++]=a>>>8&255,n[i++]=a>>>16&255,n[i++]=a>>>24&255,n[i++]=l>>>0&255,n[i++]=l>>>8&255,n[i++]=l>>>16&255,n[i++]=l>>>24&255,n[i++]=u>>>0&255,n[i++]=u>>>8&255,n[i++]=u>>>16&255,n[i++]=u>>>24&255,n[i++]=c>>>0&255,n[i++]=c>>>8&255,n[i++]=c>>>16&255,n[i++]=c>>>24&255,n[i++]=h>>>0&255,n[i++]=h>>>8&255,n[i++]=h>>>16&255,n[i++]=h>>>24&255;}}(t,e,n,r);break;case 16:!function(t,e,n,r){let i=r,s=e;for(let e=0;e<128;e++){const e=t[s++]>>>0;n[i++]=65535&e,n[i++]=e>>>16&65535;}}(t,e,n,r);break;default:!function(t,e,n,r,i){const s=mf[i]>>>0;let o=e,a=0,l=t[o]>>>0,u=r;for(let e=0;e<8;e++){for(let e=0;e<32;e++)if(a+i<=32)n[u+e]=l>>>a&s,a+=i,32===a&&(a=0,o++,31!==e&&(l=t[o]>>>0));else {const r=32-a,c=l>>>a;o++,l=t[o]>>>0;const h=i-r;n[u+e]=(c|(l&-1>>>32-h>>>0)<>>0);}}(t,e,n,r,i);}return e+(i<<3)|0}function Af(t,e,n,r){if(n+2>e)throw new Error(`FastPFOR decode: byteContainer underflow at block=${r} (need 2 bytes for [bitWidth, exceptionCount], bytePos=${n}, byteSize=${e})`);const i=t[n++],s=t[n++];if(i>32)throw new Error(`FastPFOR decode: invalid bitWidth=${i} at block=${r} (expected 0..32). This likely indicates corrupted or truncated input.`);return {bitWidth:i,exceptionCount:s,bytePosIn:n}}function Mf(t,e,n,r,i,s,o,a,l){const{maxBits:u,exceptionBitWidth:c,bytePosIn:h}=function(t,e,n,r,i,s){if(n+1>e)throw new Error(`FastPFOR decode: exception header underflow at block=${s} (need 1 byte for maxBits, bytePos=${n}, byteSize=${e})`);const o=t[n++];if(o32)throw new Error(`FastPFOR decode: invalid maxBits=${o} at block=${s} (bitWidth=${r}, expected ${r}..32)`);const a=o-r|0;if(a<1||a>32)throw new Error(`FastPFOR decode: invalid exceptionBitWidth=${a} at block=${s} (bitWidth=${r}, maxBits=${o})`);if(n+i>e)throw new Error(`FastPFOR decode: exception positions underflow at block=${s} (need=${i}, have=${e-n})`);return {maxBits:o,exceptionBitWidth:a,bytePosIn:n}}(i,s,o,n,r,l);if(o=h,1===c){const s=1<y)throw new Error(`FastPFOR decode: exception stream overflow for exceptionBitWidth=${c} (ptr=${d}, need ${r}, size=${y}) at block ${l}`);for(let s=0;st.length-1)throw new Error(`FastPFOR decode: invalid whereMeta=${a} at pageStart=${o} (expected > 0 and pageStart+whereMeta < encoded.length=${t.length})`);const l=o+1|0,u=o+a|0,c=t[u]>>>0,h=c+3>>>2,p=u+1,f=p+h;if(f>=t.length)throw new Error(`FastPFOR decode: invalid byteSize=${c} (metaInts=${h}, pageStart=${o}, packedEnd=${u}, byteContainerStart=${p}) causes bitmapPos=${f} out of bounds (encoded.length=${t.length})`);const d=function(t,e,n,r){r.byteContainer.length>>2;if(3&i.byteOffset)for(let n=0;n>>8&255,i[s+2|0]=r>>>16&255,i[s+3|0]=r>>>24&255;}else {let n=r.byteContainerI32;(!n||n.buffer!==i.buffer||n.byteOffset!==i.byteOffset||n.length>>2)),n.set(t.subarray(e,e+s));}const o=3&n;if(o>0){const n=0|t[e+s|0],r=s<<2;for(let t=0;t>>(t<<3)&255;}return i}(t,p,c,s),y=c,m=function(t,e,n){const r=0|t[e++],i=n.dataToBePacked;for(let s=2;s<=32;s=s+1|0){if(!(r>>>s-1&1))continue;if(e>=t.length)throw new Error(`FastPFOR decode: truncated exception stream header (bitWidth=${s}, streamWordIndex=${e}, needWords=1, availableWords=${t.length-e}, encodedWords=${t.length})`);const o=t[e++]>>>0,a=xf(o+31,32),l=o*s+31>>>5;if(e+l>t.length)throw new Error(`FastPFOR decode: truncated exception stream (bitWidth=${s}, size=${o}, streamWordIndex=${e}, needWords=${l}, availableWords=${t.length-e}, encodedWords=${t.length})`);let u=i[s];(!u||u.length>>5)|0,n.exceptionSizes[s]=o;}return e}(t,f,s);return s.dataPointers.fill(0),function(t,e,n,r,i,s,o,a,l,u){let c=0|n,h=0;for(let e=0;e0&&(h=Mf(i,p,r,o,a,l,h,u,e));}if(c!==r)throw new Error(`FastPFOR decode: packed region mismatch (pageStart=${e}, packedStart=${n}, consumedPackedEnd=${c}, expectedPackedEnd=${r}, packedWords=${r-n}, encoded.length=${t.length})`)}(t,o,l,u,e,0|r,i/gf|0,d,y,s),m}function If(t,e,n,r,i){switch(i){case 2:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0;n[i++]=s>>>0&3,n[i++]=s>>>2&3,n[i++]=s>>>4&3,n[i++]=s>>>6&3,n[i++]=s>>>8&3,n[i++]=s>>>10&3,n[i++]=s>>>12&3,n[i++]=s>>>14&3,n[i++]=s>>>16&3,n[i++]=s>>>18&3,n[i++]=s>>>20&3,n[i++]=s>>>22&3,n[i++]=s>>>24&3,n[i++]=s>>>26&3,n[i++]=s>>>28&3,n[i++]=s>>>30&3,n[i++]=o>>>0&3,n[i++]=o>>>2&3,n[i++]=o>>>4&3,n[i++]=o>>>6&3,n[i++]=o>>>8&3,n[i++]=o>>>10&3,n[i++]=o>>>12&3,n[i++]=o>>>14&3,n[i++]=o>>>16&3,n[i++]=o>>>18&3,n[i++]=o>>>20&3,n[i++]=o>>>22&3,n[i++]=o>>>24&3,n[i++]=o>>>26&3,n[i++]=o>>>28&3,n[i]=o>>>30&3;}(t,e,n,r);case 3:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0;n[i++]=s>>>0&7,n[i++]=s>>>3&7,n[i++]=s>>>6&7,n[i++]=s>>>9&7,n[i++]=s>>>12&7,n[i++]=s>>>15&7,n[i++]=s>>>18&7,n[i++]=s>>>21&7,n[i++]=s>>>24&7,n[i++]=s>>>27&7,n[i++]=7&(s>>>30|(1&o)<<2),n[i++]=o>>>1&7,n[i++]=o>>>4&7,n[i++]=o>>>7&7,n[i++]=o>>>10&7,n[i++]=o>>>13&7,n[i++]=o>>>16&7,n[i++]=o>>>19&7,n[i++]=o>>>22&7,n[i++]=o>>>25&7,n[i++]=o>>>28&7,n[i++]=7&(o>>>31|(3&a)<<1),n[i++]=a>>>2&7,n[i++]=a>>>5&7,n[i++]=a>>>8&7,n[i++]=a>>>11&7,n[i++]=a>>>14&7,n[i++]=a>>>17&7,n[i++]=a>>>20&7,n[i++]=a>>>23&7,n[i++]=a>>>26&7,n[i]=a>>>29&7;}(t,e,n,r);case 4:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0;n[i++]=s>>>0&15,n[i++]=s>>>4&15,n[i++]=s>>>8&15,n[i++]=s>>>12&15,n[i++]=s>>>16&15,n[i++]=s>>>20&15,n[i++]=s>>>24&15,n[i++]=s>>>28&15,n[i++]=o>>>0&15,n[i++]=o>>>4&15,n[i++]=o>>>8&15,n[i++]=o>>>12&15,n[i++]=o>>>16&15,n[i++]=o>>>20&15,n[i++]=o>>>24&15,n[i++]=o>>>28&15,n[i++]=a>>>0&15,n[i++]=a>>>4&15,n[i++]=a>>>8&15,n[i++]=a>>>12&15,n[i++]=a>>>16&15,n[i++]=a>>>20&15,n[i++]=a>>>24&15,n[i++]=a>>>28&15,n[i++]=l>>>0&15,n[i++]=l>>>4&15,n[i++]=l>>>8&15,n[i++]=l>>>12&15,n[i++]=l>>>16&15,n[i++]=l>>>20&15,n[i++]=l>>>24&15,n[i]=l>>>28&15;}(t,e,n,r);case 5:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0;n[i++]=s>>>0&31,n[i++]=s>>>5&31,n[i++]=s>>>10&31,n[i++]=s>>>15&31,n[i++]=s>>>20&31,n[i++]=s>>>25&31,n[i++]=31&(s>>>30|(7&o)<<2),n[i++]=o>>>3&31,n[i++]=o>>>8&31,n[i++]=o>>>13&31,n[i++]=o>>>18&31,n[i++]=o>>>23&31,n[i++]=31&(o>>>28|(1&a)<<4),n[i++]=a>>>1&31,n[i++]=a>>>6&31,n[i++]=a>>>11&31,n[i++]=a>>>16&31,n[i++]=a>>>21&31,n[i++]=a>>>26&31,n[i++]=31&(a>>>31|(15&l)<<1),n[i++]=l>>>4&31,n[i++]=l>>>9&31,n[i++]=l>>>14&31,n[i++]=l>>>19&31,n[i++]=l>>>24&31,n[i++]=31&(l>>>29|(3&u)<<3),n[i++]=u>>>2&31,n[i++]=u>>>7&31,n[i++]=u>>>12&31,n[i++]=u>>>17&31,n[i++]=u>>>22&31,n[i]=u>>>27&31;}(t,e,n,r);case 6:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0,c=t[e+5]>>>0;n[i++]=s>>>0&63,n[i++]=s>>>6&63,n[i++]=s>>>12&63,n[i++]=s>>>18&63,n[i++]=s>>>24&63,n[i++]=63&(s>>>30|(15&o)<<2),n[i++]=o>>>4&63,n[i++]=o>>>10&63,n[i++]=o>>>16&63,n[i++]=o>>>22&63,n[i++]=63&(o>>>28|(3&a)<<4),n[i++]=a>>>2&63,n[i++]=a>>>8&63,n[i++]=a>>>14&63,n[i++]=a>>>20&63,n[i++]=a>>>26&63,n[i++]=l>>>0&63,n[i++]=l>>>6&63,n[i++]=l>>>12&63,n[i++]=l>>>18&63,n[i++]=l>>>24&63,n[i++]=63&(l>>>30|(15&u)<<2),n[i++]=u>>>4&63,n[i++]=u>>>10&63,n[i++]=u>>>16&63,n[i++]=u>>>22&63,n[i++]=63&(u>>>28|(3&c)<<4),n[i++]=c>>>2&63,n[i++]=c>>>8&63,n[i++]=c>>>14&63,n[i++]=c>>>20&63,n[i]=c>>>26&63;}(t,e,n,r);case 7:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0,c=t[e+5]>>>0,h=t[e+6]>>>0;n[i++]=s>>>0&127,n[i++]=s>>>7&127,n[i++]=s>>>14&127,n[i++]=s>>>21&127,n[i++]=127&(s>>>28|(7&o)<<4),n[i++]=o>>>3&127,n[i++]=o>>>10&127,n[i++]=o>>>17&127,n[i++]=o>>>24&127,n[i++]=127&(o>>>31|(63&a)<<1),n[i++]=a>>>6&127,n[i++]=a>>>13&127,n[i++]=a>>>20&127,n[i++]=127&(a>>>27|(3&l)<<5),n[i++]=l>>>2&127,n[i++]=l>>>9&127,n[i++]=l>>>16&127,n[i++]=l>>>23&127,n[i++]=127&(l>>>30|(31&u)<<2),n[i++]=u>>>5&127,n[i++]=u>>>12&127,n[i++]=u>>>19&127,n[i++]=127&(u>>>26|(1&c)<<6),n[i++]=c>>>1&127,n[i++]=c>>>8&127,n[i++]=c>>>15&127,n[i++]=c>>>22&127,n[i++]=127&(c>>>29|(15&h)<<3),n[i++]=h>>>4&127,n[i++]=h>>>11&127,n[i++]=h>>>18&127,n[i]=h>>>25&127;}(t,e,n,r);case 8:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0,c=t[e+5]>>>0,h=t[e+6]>>>0,p=t[e+7]>>>0;n[i++]=s>>>0&255,n[i++]=s>>>8&255,n[i++]=s>>>16&255,n[i++]=s>>>24&255,n[i++]=o>>>0&255,n[i++]=o>>>8&255,n[i++]=o>>>16&255,n[i++]=o>>>24&255,n[i++]=a>>>0&255,n[i++]=a>>>8&255,n[i++]=a>>>16&255,n[i++]=a>>>24&255,n[i++]=l>>>0&255,n[i++]=l>>>8&255,n[i++]=l>>>16&255,n[i++]=l>>>24&255,n[i++]=u>>>0&255,n[i++]=u>>>8&255,n[i++]=u>>>16&255,n[i++]=u>>>24&255,n[i++]=c>>>0&255,n[i++]=c>>>8&255,n[i++]=c>>>16&255,n[i++]=c>>>24&255,n[i++]=h>>>0&255,n[i++]=h>>>8&255,n[i++]=h>>>16&255,n[i++]=h>>>24&255,n[i++]=p>>>0&255,n[i++]=p>>>8&255,n[i++]=p>>>16&255,n[i]=p>>>24&255;}(t,e,n,r);case 9:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0,c=t[e+5]>>>0,h=t[e+6]>>>0,p=t[e+7]>>>0,f=t[e+8]>>>0;n[i++]=s>>>0&511,n[i++]=s>>>9&511,n[i++]=s>>>18&511,n[i++]=511&(s>>>27|(15&o)<<5),n[i++]=o>>>4&511,n[i++]=o>>>13&511,n[i++]=o>>>22&511,n[i++]=511&(o>>>31|(255&a)<<1),n[i++]=a>>>8&511,n[i++]=a>>>17&511,n[i++]=511&(a>>>26|(7&l)<<6),n[i++]=l>>>3&511,n[i++]=l>>>12&511,n[i++]=l>>>21&511,n[i++]=511&(l>>>30|(127&u)<<2),n[i++]=u>>>7&511,n[i++]=u>>>16&511,n[i++]=511&(u>>>25|(3&c)<<7),n[i++]=c>>>2&511,n[i++]=c>>>11&511,n[i++]=c>>>20&511,n[i++]=511&(c>>>29|(63&h)<<3),n[i++]=h>>>6&511,n[i++]=h>>>15&511,n[i++]=511&(h>>>24|(1&p)<<8),n[i++]=p>>>1&511,n[i++]=p>>>10&511,n[i++]=p>>>19&511,n[i++]=511&(p>>>28|(31&f)<<4),n[i++]=f>>>5&511,n[i++]=f>>>14&511,n[i]=f>>>23&511;}(t,e,n,r);case 10:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0,c=t[e+5]>>>0,h=t[e+6]>>>0,p=t[e+7]>>>0,f=t[e+8]>>>0,d=t[e+9]>>>0;n[i++]=s>>>0&1023,n[i++]=s>>>10&1023,n[i++]=s>>>20&1023,n[i++]=1023&(s>>>30|(255&o)<<2),n[i++]=o>>>8&1023,n[i++]=o>>>18&1023,n[i++]=1023&(o>>>28|(63&a)<<4),n[i++]=a>>>6&1023,n[i++]=a>>>16&1023,n[i++]=1023&(a>>>26|(15&l)<<6),n[i++]=l>>>4&1023,n[i++]=l>>>14&1023,n[i++]=1023&(l>>>24|(3&u)<<8),n[i++]=u>>>2&1023,n[i++]=u>>>12&1023,n[i++]=u>>>22&1023,n[i++]=c>>>0&1023,n[i++]=c>>>10&1023,n[i++]=c>>>20&1023,n[i++]=1023&(c>>>30|(255&h)<<2),n[i++]=h>>>8&1023,n[i++]=h>>>18&1023,n[i++]=1023&(h>>>28|(63&p)<<4),n[i++]=p>>>6&1023,n[i++]=p>>>16&1023,n[i++]=1023&(p>>>26|(15&f)<<6),n[i++]=f>>>4&1023,n[i++]=f>>>14&1023,n[i++]=1023&(f>>>24|(3&d)<<8),n[i++]=d>>>2&1023,n[i++]=d>>>12&1023,n[i]=d>>>22&1023;}(t,e,n,r);case 11:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0,c=t[e+5]>>>0,h=t[e+6]>>>0,p=t[e+7]>>>0,f=t[e+8]>>>0,d=t[e+9]>>>0,y=t[e+10]>>>0;n[i++]=s>>>0&2047,n[i++]=s>>>11&2047,n[i++]=2047&(s>>>22|(1&o)<<10),n[i++]=o>>>1&2047,n[i++]=o>>>12&2047,n[i++]=2047&(o>>>23|(3&a)<<9),n[i++]=a>>>2&2047,n[i++]=a>>>13&2047,n[i++]=2047&(a>>>24|(7&l)<<8),n[i++]=l>>>3&2047,n[i++]=l>>>14&2047,n[i++]=2047&(l>>>25|(15&u)<<7),n[i++]=u>>>4&2047,n[i++]=u>>>15&2047,n[i++]=2047&(u>>>26|(31&c)<<6),n[i++]=c>>>5&2047,n[i++]=c>>>16&2047,n[i++]=2047&(c>>>27|(63&h)<<5),n[i++]=h>>>6&2047,n[i++]=h>>>17&2047,n[i++]=2047&(h>>>28|(127&p)<<4),n[i++]=p>>>7&2047,n[i++]=p>>>18&2047,n[i++]=2047&(p>>>29|(255&f)<<3),n[i++]=f>>>8&2047,n[i++]=f>>>19&2047,n[i++]=2047&(f>>>30|(511&d)<<2),n[i++]=d>>>9&2047,n[i++]=d>>>20&2047,n[i++]=2047&(d>>>31|(1023&y)<<1),n[i++]=y>>>10&2047,n[i]=y>>>21&2047;}(t,e,n,r);case 12:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0,c=t[e+5]>>>0,h=t[e+6]>>>0,p=t[e+7]>>>0,f=t[e+8]>>>0,d=t[e+9]>>>0,y=t[e+10]>>>0,m=t[e+11]>>>0;n[i++]=s>>>0&4095,n[i++]=s>>>12&4095,n[i++]=4095&(s>>>24|(15&o)<<8),n[i++]=o>>>4&4095,n[i++]=o>>>16&4095,n[i++]=4095&(o>>>28|(255&a)<<4),n[i++]=a>>>8&4095,n[i++]=a>>>20&4095,n[i++]=l>>>0&4095,n[i++]=l>>>12&4095,n[i++]=4095&(l>>>24|(15&u)<<8),n[i++]=u>>>4&4095,n[i++]=u>>>16&4095,n[i++]=4095&(u>>>28|(255&c)<<4),n[i++]=c>>>8&4095,n[i++]=c>>>20&4095,n[i++]=h>>>0&4095,n[i++]=h>>>12&4095,n[i++]=4095&(h>>>24|(15&p)<<8),n[i++]=p>>>4&4095,n[i++]=p>>>16&4095,n[i++]=4095&(p>>>28|(255&f)<<4),n[i++]=f>>>8&4095,n[i++]=f>>>20&4095,n[i++]=d>>>0&4095,n[i++]=d>>>12&4095,n[i++]=4095&(d>>>24|(15&y)<<8),n[i++]=y>>>4&4095,n[i++]=y>>>16&4095,n[i++]=4095&(y>>>28|(255&m)<<4),n[i++]=m>>>8&4095,n[i]=m>>>20&4095;}(t,e,n,r);case 16:return void function(t,e,n,r){let i=r;const s=t[e]>>>0,o=t[e+1]>>>0,a=t[e+2]>>>0,l=t[e+3]>>>0,u=t[e+4]>>>0,c=t[e+5]>>>0,h=t[e+6]>>>0,p=t[e+7]>>>0,f=t[e+8]>>>0,d=t[e+9]>>>0,y=t[e+10]>>>0,m=t[e+11]>>>0,g=t[e+12]>>>0,x=t[e+13]>>>0,v=t[e+14]>>>0,b=t[e+15]>>>0;n[i++]=s>>>0&65535,n[i++]=s>>>16&65535,n[i++]=o>>>0&65535,n[i++]=o>>>16&65535,n[i++]=a>>>0&65535,n[i++]=a>>>16&65535,n[i++]=l>>>0&65535,n[i++]=l>>>16&65535,n[i++]=u>>>0&65535,n[i++]=u>>>16&65535,n[i++]=c>>>0&65535,n[i++]=c>>>16&65535,n[i++]=h>>>0&65535,n[i++]=h>>>16&65535,n[i++]=p>>>0&65535,n[i++]=p>>>16&65535,n[i++]=f>>>0&65535,n[i++]=f>>>16&65535,n[i++]=d>>>0&65535,n[i++]=d>>>16&65535,n[i++]=y>>>0&65535,n[i++]=y>>>16&65535,n[i++]=m>>>0&65535,n[i++]=m>>>16&65535,n[i++]=g>>>0&65535,n[i++]=g>>>16&65535,n[i++]=x>>>0&65535,n[i++]=x>>>16&65535,n[i++]=v>>>0&65535,n[i++]=v>>>16&65535,n[i++]=b>>>0&65535,n[i]=b>>>16&65535;}(t,e,n,r);case 32:for(let i=0;i<32;i=i+1|0)n[r+i|0]=0|t[e+i|0];return}const s=mf[i]>>>0;let o=e,a=0,l=t[o]>>>0;for(let e=0;e<32;e++)if(a+i<=32)n[r+e]=l>>>a&s,a+=i,32===a&&(a=0,o++,31!==e&&(l=t[o]>>>0));else {const u=32-a,c=l>>>a;o++,l=t[o]>>>0,n[r+e]=(c|(l&mf[i-u]>>>0)<=64)throw new Error("Varint too long")}return e.set(i),n}function Pf(t,e){let n,r;return r=t[e.get()],e.increment(),n=127&r,r<128?n:(r=t[e.get()],e.increment(),n|=(127&r)<<7,r<128?n:(r=t[e.get()],e.increment(),n|=(127&r)<<14,r<128?n:(r=t[e.get()],e.increment(),n|=(127&r)<<21,r<128?n:(r=t[e.get()],n|=(15&r)<<28,function(t,e,n){let r,i;if(i=e[n.get()],n.increment(),r=(112&i)>>4,i<128)return 4294967296*r+(t>>>0);if(i=e[n.get()],n.increment(),r|=(127&i)<<3,i<128)return 4294967296*r+(t>>>0);if(i=e[n.get()],n.increment(),r|=(127&i)<<10,i<128)return 4294967296*r+(t>>>0);if(i=e[n.get()],n.increment(),r|=(127&i)<<17,i<128)return 4294967296*r+(t>>>0);if(i=e[n.get()],n.increment(),r|=(127&i)<<24,i<128)return 4294967296*r+(t>>>0);if(i=e[n.get()],n.increment(),r|=(1&i)<<31,i<128)return 4294967296*r+(t>>>0);throw new Error("Expected varint not more than 10 bytes")}(n,t,e)))))}function Df(t){return t>>>1^-(1&t)}function zf(t){return t>>1n^-(1n&t)}function Bf(t){return t%2==1?(t+1)/-2:t/2}function Cf(t,e,n){if(void 0===n){n=0;for(let r=0;r=4)for(;r=4)for(;r=4)for(let r=t[0];n>4];let i=null;switch(r){case Nf.DATA:i={dictionaryType:Object.values(Uf)[15&n]};break;case Nf.OFFSET:i={offsetType:Object.values(jf)[15&n]};break;case Nf.LENGTH:i={lengthType:Object.values(qf)[15&n]};}e.increment();const s=t[e.get()],o=Object.values(ff)[s>>5],a=Object.values(ff)[s>>2&7],l=Object.values(df)[3&s];e.increment();const u=Ef(t,e,2),c=u[0];return {physicalStreamType:r,logicalStreamType:i,logicalLevelTechnique1:o,logicalLevelTechnique2:a,physicalLevelTechnique:l,numValues:c,byteLength:u[1],decompressedCount:c}}(t,e);return n.logicalLevelTechnique1===ff.MORTON?function(t,e,n){const r=Ef(e,n,2);return {physicalStreamType:t.physicalStreamType,logicalStreamType:t.logicalStreamType,logicalLevelTechnique1:t.logicalLevelTechnique1,logicalLevelTechnique2:t.logicalLevelTechnique2,physicalLevelTechnique:t.physicalLevelTechnique,numValues:t.numValues,byteLength:t.byteLength,decompressedCount:t.decompressedCount,numBits:r[0],coordinateShift:r[1]}}(n,t,e):ff.RLE!==n.logicalLevelTechnique1&&ff.RLE!==n.logicalLevelTechnique2||df.NONE===n.physicalLevelTechnique?n:function(t,e,n){const r=Ef(e,n,2);return {physicalStreamType:t.physicalStreamType,logicalStreamType:t.logicalStreamType,logicalLevelTechnique1:t.logicalLevelTechnique1,logicalLevelTechnique2:t.logicalLevelTechnique2,physicalLevelTechnique:t.physicalLevelTechnique,numValues:t.numValues,byteLength:t.byteLength,decompressedCount:r[1],runs:r[0],numRleValues:r[1]}}(n,t,e)}!function(t){t.PRESENT="PRESENT",t.DATA="DATA",t.OFFSET="OFFSET",t.LENGTH="LENGTH";}(Nf||(Nf={})),function(t){t.NONE="NONE",t.SINGLE="SINGLE",t.SHARED="SHARED",t.VERTEX="VERTEX",t.MORTON="MORTON",t.FSST="FSST";}(Uf||(Uf={})),function(t){t.VERTEX="VERTEX",t.INDEX="INDEX",t.STRING="STRING",t.KEY="KEY";}(jf||(jf={})),function(t){t.VAR_BINARY="VAR_BINARY",t.GEOMETRIES="GEOMETRIES",t.PARTS="PARTS",t.RINGS="RINGS",t.TRIANGLES="TRIANGLES",t.SYMBOL="SYMBOL",t.DICTIONARY="DICTIONARY";}(qf||(qf={})),function(t){t[t.FLAT=0]="FLAT",t[t.CONST=1]="CONST",t[t.SEQUENCE=2]="SEQUENCE",t[t.DICTIONARY=3]="DICTIONARY",t[t.FSST_DICTIONARY=4]="FSST_DICTIONARY";}(Gf||(Gf={}));class Wf{constructor(t,e){this.values=t,this._size=e;}get(t){const e=Math.floor(t/8);return 1==(this.values[e]>>t%8&1)}set(t,e){const n=Math.floor(t/8);this.values[n]=this.values[n]|(e?1:0)<>t%8&1}size(){return this._size}getBuffer(){return this.values}}function Kf(t,e,n){if(!e)return t;const r=e.size(),i=new(0,t.constructor)(r);let s=0;for(let o=0;o=4)for(;r>>0;for(let n=1;n>>0;return e}(e.logicalLevelTechnique2===ff.RLE?Cf(t,e.runs,e.numRleValues):t);break;case ff.RLE:i=Cf(t,e.runs,e.numRleValues);break;case ff.MORTON:Rf(t),i=t;break;case ff.COMPONENTWISE_DELTA:i=function(t){if(t.length<2)return new Uint32Array(t);const e=new Uint32Array(t.length);e[0]=Df(t[0])>>>0,e[1]=Df(t[1])>>>0;for(let n=2;n>>0,e[n+1]=e[n-1]+Df(t[n+1])>>>0;return e}(t);break;case ff.NONE:i=t;break;default:throw new Error(`The specified Logical level technique is not supported: ${e.logicalLevelTechnique1}`)}return r?Kf(i,r,0):i}(ed(t,e,n),n,0,i)}function td(t,e,n){return function(t,e){if(e.logicalLevelTechnique1===ff.DELTA&&e.logicalLevelTechnique2===ff.NONE)return function(t){const e=new Int32Array(t.length+1);e[0]=0,e[1]=Df(t[0]);let n=e[1];for(let r=2;r!==e.length;++r)n+=Df(t[r-1]),e[r]=e[r-1]+n;return new Uint32Array(e)}(t);if(e.logicalLevelTechnique1===ff.RLE&&e.logicalLevelTechnique2===ff.NONE)return function(t,e,n){const r=new Uint32Array(n+1);r[0]=0;let i=1,s=r[0];for(let n=0;n>>2,a=function(t,e){if(e<=t.encodedWords.length)return t.encodedWords;const n=new Uint32Array(Math.max(16,2*e));return t.encodedWords=n,n}(i,o);!function(t,e,n,r){if(e<0||n<0||e+n>t.length)throw new RangeError(`decodeBigEndianInt32sInto: out of bounds (offset=${e}, byteLength=${n}, bytes.length=${t.length})`);const i=Math.floor(n/4),s=n%4!=0,o=s?i+1:i;if(r.length0){const n=t.byteOffset+e;if(3&n)for(let n=0;n0){const e=0|t[r];if(r=r+1|0,255&e)throw new Error(`FastPFOR decode: invalid alignedLength=${e} (expected multiple of 256)`);if(i+e>s.length)throw new Error(`FastPFOR decode: output buffer too small (outPos=${i}, alignedLength=${e}, out.length=${s.length})`);r=function(t,e,n,r,i,s){const o=r+xf(i,gf);let a=r,l=n;for(;a!==o;){const n=Math.min(bf,o-a);l=kf(t,e,l,a,n,s),a=a+n|0;}return l}(t,s,r,i,e,o),i=i+e|0;}return function(t,e,n,r,i,s){if(0===s)return e;let o=0,a=e;const l=e+n,u=i;let c=i;const h=i+s;let p=0,f=0;for(;a>>o&255;if(o+=8,a+=o>>>5,o&=31,p|=(127&e)<28)throw new Error(`FastPFOR VByte: unterminated value (expected MSB=1 terminator within 5 bytes; shift=${f}, partial=${p}, decoded=${c-u}/${s}, inPos=${a}, inEnd=${l})`)}if(c!==h)throw new Error(`FastPFOR VByte: truncated stream (decoded=${c-u}, expected=${s}, consumedWords=${a-e}/${n}, vbyteStart=${e}, vbyteEnd=${l})`)}(t,r,t.length-r|0,s,i,e-i|0),s}(a.subarray(0,o),e,i.decoderWorkspace);return r.add(n),l}(t,e,n,r,function(t=16){if(t<0)throw new RangeError(`initialEncodedWordCapacity must be >= 0, got ${t}`);const e=Math.max(16,0|t);return {encodedWords:new Uint32Array(e),decoderWorkspace:_f()}}(n>>>2))}(t,n.numValues,n.byteLength,e);case df.VARINT:return Ef(t,e,n.numValues);case df.NONE:{const r=e.get();e.add(n.byteLength);const i=t.subarray(r,e.get());return new Uint32Array(i)}default:throw new Error(`Specified physicalLevelTechnique ${r} is not supported (yet).`)}}function nd(t,e,n){const r=ed(t,e,n);return 1===r.length?r[0]:function(t){return t[1]}(r)}function rd(t,e,n){return function(t){if(2===t.length){const e=Df(t[1]);return [e,e]}return [Df(t[2]),Df(t[3])]}(ed(t,e,n))}function id(t,e,n){return function(t){if(2===t.length){const e=zf(t[1]);return [e,e]}return [zf(t[2]),zf(t[3])]}(Tf(t,e,n.numValues))}function sd(t,e,n,r){return function(t,e,n){let r;switch(e.logicalLevelTechnique1){case ff.DELTA:r=function(t){const e=new BigUint64Array(t.length);e[0]=BigInt.asUintN(64,zf(t[0]));for(let n=1;n>1,e)-n}}function hd(t,e){let n=0;for(let r=0;r>r;return n}function pd(t,e,r,i,s,o,a){return t===Zf.MORTON?function(t,e,r,i,s,o){const a=new Array(s?i+1:i);for(let s=0;s[t])),r+=t,i+=t;}break;case Xf.LINESTRING:{let n,c;m?(n=f[i]-f[i-1],i++):n=p[r]-p[r-1],r++,y?(c=fd(g,a,n,!1),a+=2*n):(c=pd(t.vertexBufferType,g,d,l,n,!1,u),l+=n),e[o++]=[c],h&&s++;}break;case Xf.POLYGON:{const n=p[r]-p[r-1];r++;const c=new Array(n-1);let m,x=f[i]-f[i-1];if(i++,y){m=fd(g,a,x,!0),a+=2*x;for(let t=0;t0&&e.push(e[0]),h.push(e);}t[e]=h,s&&u++;}break;case Xf.MULTIPOLYGON:{const c=s[u]-s[u-1];u++;const h=[];for(let t=0;t0&&e.push(e[0]),h.push(e);}}t[e]=h;}}return t}[Symbol.iterator](){return null}}function xd(t,e,n,r,i,s){return new vd(t,e,n,r,i,s)}class vd extends gd{constructor(t,e,n,r,i,s){super(n,r,i,s),this._numGeometries=t,this._geometryType=e;}geometryType(t){return this._geometryType}get numGeometries(){return this._numGeometries}containsSingleGeometryType(){return !0}}function bd(t,e,n,r,i){return new wd(t,e,n,r,i)}class wd extends gd{constructor(t,e,n,r,i){super(e,n,r,i),this._geometryTypes=t;}geometryType(t){return this._geometryTypes[t]}get numGeometries(){return this._geometryTypes.length}containsSingleGeometryType(){return !1}}function _d(t,e,n,r,i){const s=Hf(t,n);let o,a,l,u;if(ad(s,r,t,n)===Gf.CONST){const i=nd(t,n,s);let c,h,p,f;for(let r=0;rn?e[s++]:1);return r}function Ad(t,e,n,r){const i=new Uint32Array(e[e.length-1]+1);let s=0;i[0]=s;let o=1,a=0;for(let l=0;l=o);){const n=t[r.increment()];if(n<=127){const o=n+3,a=t[r.increment()],l=Math.min(s+o,e);i.fill(a,s,l),s=l;}else {const o=256-n;for(let n=0;n=12?Td.decode(t.subarray(e,n)):function(t,e,n){let r="",i=e;for(;i239?4:e>223?3:e>191?2:1;if(i+u>n)break;1===u?e<128&&(l=e):2===u?(s=t[i+1],128==(192&s)&&(l=(31&e)<<6|63&s,l<=127&&(l=null))):3===u?(s=t[i+1],o=t[i+2],128==(192&s)&&128==(192&o)&&(l=(15&e)<<12|(63&s)<<6|63&o,(l<=2047||l>=55296&&l<=57343)&&(l=null))):4===u&&(s=t[i+1],o=t[i+2],a=t[i+3],128==(192&s)&&128==(192&o)&&128==(192&a)&&(l=(15&e)<<18|(63&s)<<12|(63&o)<<6|63&a,(l<=65535||l>=1114112)&&(l=null))),null===l?(l=65533,u=1):l>65535&&(l-=65536,r+=String.fromCharCode(l>>>10&1023|55296),l=56320|1023&l),r+=String.fromCharCode(l),i+=u;}return r}(t,e,n)}class Pd extends rf{constructor(t,e,n,r){super(t,n,r),this.offsetBuffer=e;}}class Dd extends Pd{constructor(t,e,n,r){super(t,e,n,r??e.length-1);}getValueFromBuffer(t){return Fd(this.dataBuffer,this.offsetBuffer[t],this.offsetBuffer[t+1])}}class zd extends Pd{constructor(t,e,n,r,i){super(t,n,r,i??e.length),this.indexBuffer=e,this.indexBuffer=e;}getValueFromBuffer(t){const e=this.indexBuffer[t];return Fd(this.dataBuffer,this.offsetBuffer[e],this.offsetBuffer[e+1])}}class Bd extends Pd{constructor(t,e,n,r,i,s,o){super(t,n,r,o),this.indexBuffer=e,this.symbolOffsetBuffer=i,this.symbolTableBuffer=s;}getValueFromBuffer(t){null==this.decodedDictionary&&(null==this.symbolLengthBuffer&&(this.symbolLengthBuffer=this.offsetToLengthBuffer(this.symbolOffsetBuffer)),this.decodedDictionary=function(t,e,n){const r=[],i=new Array(e.length).fill(0);for(let t=1;t=10}function $d(t){return 30===t}function Rd(t){if("scalarType"===t.type){const e=t.scalarType;if("physicalType"===e.type)switch(e.physicalType){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:default:return !1;case 9:return !0}if("logicalType"===e.type)return !1}else if("complexType"===t.type){const e=t.complexType;if("physicalType"===e.type)switch(e.physicalType){case 0:case 1:return !0;default:return !1}}return console.warn("Unexpected column type in hasStreamCount",t),!1}function Nd(t){return "complexType"===t.type&&"physicalType"===t.complexType?.type&&0===t.complexType.physicalType}const Ud=new TextDecoder;function jd(t,e){const n=Ef(t,e,1)[0];if(0===n)return "";const r=e.get(),i=t.subarray(r,r+n);return e.add(n),Ud.decode(i)}function qd(t,e){const n=Ef(t,e,1)[0]>>>0;if(n<10||n>30)throw new Error(`Unsupported field type code ${n}. Supported: 10-29(scalars), 30(STRUCT)`);const r=Ld(n);if(Od(n)&&(r.name=jd(t,e)),$d(n)){const n=Ef(t,e,1)[0]>>>0;r.complexType.children=new Array(n);for(let i=0;i>>0,r=Ld(n);if(!r)throw new Error(`Unsupported column type code ${n}. Supported: 0-3(ID), 4(GEOMETRY), 10-29(scalars), 30(STRUCT)`);if(Od(n)?r.name=jd(t,e):n>=0&&n<=3?r.name="id":4===n&&(r.name="geometry"),$d(n)){const n=Ef(t,e,1)[0]>>>0,i=r.complexType;i.children=new Array(n);for(let r=0;r>>0,s=Ef(t,e,1)[0]>>>0;r.columns=new Array(s);for(let n=0;n=4)for(;n>>0,o=r.get()+e;if(o>t.length)throw new Error(`Block overruns tile: ${o} > ${t.length}`);if(1!=Ef(t,r,1)[0]>>>0){r.set(o);continue}const[a,l]=Xd(t,r),u=a.featureTables[0];let c=null,h=null;const p=[];let f=0;for(const e of u.columns){const i=e.name;if("scalarType"===(s=e).type&&"logicalType"===s.scalarType?.type&&0===s.scalarType.logicalType){let s=null;if(e.nullable){const e=Hf(t,r),n=r.get(),i=Ed(t,e.numValues,e.byteLength,r);r.set(n+e.byteLength),s=new Wf(i,e.numValues);}const o=Hf(t,r);f=s?s.size():o.decompressedCount,c=Yd(t,e,r,i,o,s??f,n);}else if(Nd(e)){const e=Ef(t,r,1)[0];if(0===f){const e=r.get();f=Hf(t,r).decompressedCount,r.set(e);}h=_d(t,e,r,f);}else {const n=Rd(e)?Ef(t,r,1)[0]:1;if(0===n)continue;const i=Cd(t,r,e,n,f);if(i)if(Array.isArray(i))for(const t of i)p.push(t);else p.push(i);}}const d=new hf(u.name,h,c,p,l);i.push(d),r.set(o);}var s;return i}(new Uint8Array(t));this.layers=e.reduce(((t,e)=>Object.assign(Object.assign({},t),{[e.name]:new Hd(e)})),{});}}class Kd{constructor(t,e){this.feature=t,this.type=t.type,this.properties=t.tags?t.tags:{},this.extent=e,"id"in t&&("string"==typeof t.id?this.id=parseInt(t.id,10):"number"!=typeof t.id||isNaN(t.id)||(this.id=t.id));}loadGeometry(){const t=[],e=1===this.feature.type?[this.feature.geometry]:this.feature.geometry;for(const r of e){const e=[];for(const t of r)e.push(new n(t[0],t[1]));t.push(e);}return t}}const Jd="_geojsonTileLayer";function Qd(t,e,n=""){e.writeVarintField(15,t.version||1),e.writeStringField(1,t.name||""),e.writeVarintField(5,t.extent||4096);const r={jsonPrefix:n,keys:[],values:[],keycache:{},valuecache:{}};for(let n=0;n>31}function iy(t,e){const n=t.loadGeometry(),r=t.type;let i=0,s=0;for(const o of n){let n=1;1===r&&(n=o.length),e.writeVarint(ny(1,n));const a=3===r?o.length-1:o.length;for(let t=0;t=0&&e[3]>=0&&a.insert(o,e[0],e[1],e[2],e[3]);}}loadVTLayers(){return this.vtLayers||(this.vtLayers="mlt"!==this.encoding?new Nu(new Rh(this.rawTileData)).layers:new Wd(this.rawTileData).layers,this.sourceLayerCoder=new ef(this.vtLayers?Object.keys(this.vtLayers).sort():[Jd])),this.vtLayers}query(t,e,r,i){this.loadVTLayers();const s=t.params,o=T/t.tileSize/t.scale,a=yi(s.filter,s.globalState),l=t.queryGeometry,u=t.queryPadding*o,c=tf.fromPoints(l),h=this.grid.query(c.minX-u,c.minY-u,c.maxX+u,c.maxY+u),p=tf.fromPoints(t.cameraQueryGeometry).expandBy(u),f=this.grid3D.query(p.minX,p.minY,p.maxX,p.maxY,((e,r,i,s)=>function(t,e,r,i,s){for(const n of t)if(e<=n.x&&r<=n.y&&i>=n.x&&s>=n.y)return !0;const o=[new n(e,r),new n(e,s),new n(i,s),new n(i,r)];if(t.length>2)for(const e of o)if(il(t,e))return !0;for(let e=0;e(c||(c=qa(e)),n.queryIntersectsFeature({queryGeometry:l,feature:e,featureState:r,geometry:c,zoom:this.z,transform:t.transform,pixelsToTileUnits:o,pixelPosMatrix:t.pixelPosMatrix,unwrappedTileID:this.tileID.toUnwrapped(),getElevation:t.getElevation}))));}return d}loadMatchingFeature(t,e,n,r,i,s,o,a,l,u,c){const h=this.bucketLayerIDs[e];if(s&&!h.some((t=>s.has(t))))return;const p=this.sourceLayerCoder.decode(n),f=this.vtLayers[p].feature(r);if(i.needGeometry){const t=Ga(f,!0);if(!i.filter(new Cs(this.tileID.overscaledZ),t,this.tileID.canonical))return}else if(!i.filter(new Cs(this.tileID.overscaledZ),f))return;const d=this.getId(f,p);for(const e of h){if(s&&!s.has(e))continue;const n=a[e];if(!n)continue;let i={};d&&u&&(i=u.getState(n.sourceLayer||Jd,d));const h=$({},l[e]);h.paint=ay(h.paint,n.paint,f,i,o),h.layout=ay(h.layout,n.layout,f,i,o);const p=!c||c(f,n,i);if(!p)continue;const y=new nf(f,this.z,this.x,this.y,d);y.layer=h;let m=t[e];void 0===m&&(m=t[e]=[]),m.push({featureIndex:r,feature:y,intersectionZ:p});}}lookupSymbolFeatures(t,e,n,r,i,s,o,a){const l={};this.loadVTLayers();const u=yi(i.filterSpec,i.globalState);for(const i of t)this.loadMatchingFeature(l,n,r,i,u,s,o,a,e);return l}hasLayer(t){for(const e of this.bucketLayerIDs)for(const n of e)if(t===n)return !0;return !1}getId(t,e){var n;let r=t.id;return this.promoteId&&(r=t.properties["string"==typeof this.promoteId?this.promoteId:this.promoteId[e]],"boolean"==typeof r&&(r=Number(r)),void 0===r&&(null===(n=t.properties)||void 0===n?void 0:n.cluster)&&this.promoteId&&(r=Number(t.properties.cluster_id))),r}}function ay(t,e,n,r,i){return N(t,((t,s)=>{const o=e instanceof Gs?e.get(s):null;return (null==o?void 0:o.evaluate)?o.evaluate(n,r,i):o}))}function ly(t,e){return e-t}function uy(t,e,r,i,s){const o=[];for(const a of t){let t;for(let l=0;l=i&&c.x>=i||(u.x>=i?u=new n(i,u.y+(i-u.x)/(c.x-u.x)*(c.y-u.y))._round():c.x>=i&&(c=new n(i,u.y+(i-u.x)/(c.x-u.x)*(c.y-u.y))._round()),u.y>=s&&c.y>=s||(u.y>=s?u=new n(u.x+(s-u.y)/(c.y-u.y)*(c.x-u.x),s)._round():c.y>=s&&(c=new n(u.x+(s-u.y)/(c.y-u.y)*(c.x-u.x),s)._round()),t&&u.equals(t[t.length-1])||(t=[u],o.push(t)),t.push(c)))));}}return o}function cy(t,e,n,r,i){switch(e){case 1:return function(t,e,n,r){const i=[];for(const s of t)for(const t of s){const s=0===r?t.x:t.y;s>=e&&s<=n&&i.push([t]);}return i}(t,n,r,i);case 2:return py(t,n,r,i,!1);case 3:return py(t,n,r,i,!0)}return []}function hy(t,e,r,i,s){const o=0===i?fy:dy;let a=[];const l=[];for(let n=0;ne&&a.push(o(u,c,e)):h>r?p=e&&(a.push(o(u,c,e)),f=!0),p>r&&h<=r&&(a.push(o(u,c,r)),f=!0),!s&&f&&(l.push(a),a=[]);}const u=t.length-1,c=0===i?t[u].x:t[u].y;return c>=e&&c<=r&&a.push(t[u]),s&&a.length>0&&!a[0].equals(a[a.length-1])&&a.push(new n(a[0].x,a[0].y)),a.length>0&&l.push(a),l}function py(t,e,n,r,i){const s=[];for(const o of t){const t=hy(o,e,n,r,i);t.length>0&&s.push(...t);}return s}function fy(t,e,r){return new n(r,t.y+(r-t.x)/(e.x-t.x)*(e.y-t.y))}function dy(t,e,r){return new n(t.x+(r-t.y)/(e.y-t.y)*(e.x-t.x),r)}ds("FeatureIndex",oy,{omit:["rawTileData","sourceLayerCoder"]});class yy extends n{constructor(t,e,n,r){super(t,e),this.angle=n,void 0!==r&&(this.segment=r);}clone(){return new yy(this.x,this.y,this.angle,this.segment)}}function my(t,e,n,r,i){if(void 0===e.segment||0===n)return !0;let s=e,o=e.segment+1,a=0;for(;a>-n/2;){if(o--,o<0)return !1;a-=t[o].dist(s),s=t[o];}a+=t[o].dist(t[o+1]),o++;const l=[];let u=0;for(;ar;)u-=l.shift().angleDelta;if(u>i)return !1;o++,a+=e.dist(n);}return !0}function gy(t){let e=0;for(let n=0;nu){const c=(u-l)/s,h=xn.number(r.x,i.x,c),p=xn.number(r.y,i.y,c),f=new yy(h,p,i.angleTo(r),n);return f._round(),!o||my(t,f,a,o,e)?f:void 0}l+=s;}}function wy(t,e,n,r,i,s,o,a,l){const u=xy(r,s,o),c=vy(r,i),h=c*o,p=0===t[0].x||t[0].x===l||0===t[0].y||t[0].y===l;return e-h=0&&g=0&&x=0&&p+u<=c){const n=new yy(g,x,y,e);n._round(),r&&!my(t,n,s,r,i)||f.push(n);}}h+=d;}return a||f.length||o||(f=_y(t,h/2,n,r,i,s,o,!0,l)),f}function Sy(t,e,r,i){const s=[],o=t.image,a=o.pixelRatio,l=o.paddedRect.w-2,u=o.paddedRect.h-2;let c={x1:t.left,y1:t.top,x2:t.right,y2:t.bottom};const h=o.stretchX||[[0,l]],p=o.stretchY||[[0,u]],f=(t,e)=>t+e[1]-e[0],d=h.reduce(f,0),y=p.reduce(f,0),m=l-d,g=u-y;let x=0,v=d,b=0,w=y,_=0,S=m,A=0,M=g;if(o.content&&i){const e=o.content,n=e[2]-e[0],r=e[3]-e[1];(o.textFitWidth||o.textFitHeight)&&(c=dp(t)),x=Ay(h,0,e[0]),b=Ay(p,0,e[1]),v=Ay(h,e[0],e[2]),w=Ay(p,e[1],e[3]),_=e[0]-x,A=e[1]-b,S=n-v,M=r-w;}const k=c.x1,I=c.y1,E=c.x2-k,T=c.y2-I,F=(t,i,s,l)=>{const u=ky(t.stretch-x,v,E,k),c=Iy(t.fixed-_,S,t.stretch,d),h=ky(i.stretch-b,w,T,I),p=Iy(i.fixed-A,M,i.stretch,y),f=ky(s.stretch-x,v,E,k),m=Iy(s.fixed-_,S,s.stretch,d),g=ky(l.stretch-b,w,T,I),F=Iy(l.fixed-A,M,l.stretch,y),P=new n(u,h),D=new n(f,h),z=new n(f,g),B=new n(u,g),C=new n(c/a,p/a),V=new n(m/a,F/a),L=e*Math.PI/180;if(L){const t=Math.sin(L),e=Math.cos(L),n=[e,-t,t,e];P._matMult(n),D._matMult(n),B._matMult(n),z._matMult(n);}const O=t.stretch+t.fixed,$=i.stretch+i.fixed;return {tl:P,tr:D,bl:B,br:z,tex:{x:o.paddedRect.x+1+O,y:o.paddedRect.y+1+$,w:s.stretch+s.fixed-O,h:l.stretch+l.fixed-$},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:C,pixelOffsetBR:V,minFontScaleX:S/a/E,minFontScaleY:M/a/T,isSDF:r}};if(i&&(o.stretchX||o.stretchY)){const t=My(h,m,d),e=My(p,g,y);for(let n=0;n0&&(r=Math.max(10,r),this.circleDiameter=r);}else {const u=(null===(h=o.image)||void 0===h?void 0:h.content)&&(o.image.textFitWidth||o.image.textFitHeight)?dp(o):{x1:o.left,y1:o.top,x2:o.right,y2:o.bottom};u.y1=u.y1*a-l[0],u.y2=u.y2*a+l[2],u.x1=u.x1*a-l[3],u.x2=u.x2*a+l[1];const p=o.collisionPadding;if(p&&(u.x1-=p[0]*a,u.y1-=p[1]*a,u.x2+=p[2]*a,u.y2+=p[3]*a),c){const t=new n(u.x1,u.y1),e=new n(u.x2,u.y1),r=new n(u.x1,u.y2),i=new n(u.x2,u.y2),s=c*Math.PI/180;t._rotate(s),e._rotate(s),r._rotate(s),i._rotate(s),u.x1=Math.min(t.x,e.x,r.x,i.x),u.x2=Math.max(t.x,e.x,r.x,i.x),u.y1=Math.min(t.y,e.y,r.y,i.y),u.y2=Math.max(t.y,e.y,r.y,i.y);}t.emplaceBack(e.x,e.y,u.x1,u.y1,u.x2,u.y2,r,i,s);}this.boxEndIndex=t.length;}}class Ty{constructor(t=[],e=(t,e)=>te?1:0){if(this.data=t,this.length=this.data.length,this.compare=e,this.length>0)for(let t=(this.length>>1)-1;t>=0;t--)this._down(t);}push(t){this.data.push(t),this._up(this.length++);}pop(){if(0===this.length)return;const t=this.data[0],e=this.data.pop();return --this.length>0&&(this.data[0]=e,this._down(0)),t}peek(){return this.data[0]}_up(t){const{data:e,compare:n}=this,r=e[t];for(;t>0;){const i=t-1>>1,s=e[i];if(n(r,s)>=0)break;e[t]=s,t=i;}e[t]=r;}_down(t){const{data:e,compare:n}=this,r=this.length>>1,i=e[t];for(;t=0)break;e[t]=e[r],t=r;}e[t]=i;}}function Fy(t,e=1){const r=tf.fromPoints(t[0]),i=Math.min(r.width(),r.height());let s=i/2;const o=new Ty([],Py),{minX:a,minY:l,maxX:u,maxY:c}=r;if(0===i)return new n(a,l);for(let e=a;ep.d||!p.d)&&(p=n),n.max-p.d<=e||(s=n.h/2,o.push(new Dy(n.p.x-s,n.p.y-s,s,t)),o.push(new Dy(n.p.x+s,n.p.y-s,s,t)),o.push(new Dy(n.p.x-s,n.p.y+s,s,t)),o.push(new Dy(n.p.x+s,n.p.y+s,s,t)));}return h.d>0&&p.d-h.d<=e?h.p:p.p}function Py(t,e){return e.max-t.max}class Dy{constructor(t,e,r,i){this.p=new n(t,e),this.h=r,this.d=function(t,e){let n=!1,r=1/0;for(const i of e)for(let e=0,s=i.length,o=s-1;et.y!=a.y>t.y&&t.x<(a.x-s.x)*(t.y-s.y)/(a.y-s.y)+s.x&&(n=!n),r=Math.min(r,nl(t,s,a));}return (n?1:-1)*Math.sqrt(r)}(this.p,i),this.max=this.d+this.h*Math.SQRT2;}}var zy;t.aM=void 0,(zy=t.aM||(t.aM={}))[zy.center=1]="center",zy[zy.left=2]="left",zy[zy.right=3]="right",zy[zy.top=4]="top",zy[zy.bottom=5]="bottom",zy[zy["top-left"]=6]="top-left",zy[zy["top-right"]=7]="top-right",zy[zy["bottom-left"]=8]="bottom-left",zy[zy["bottom-right"]=9]="bottom-right";const By=Number.POSITIVE_INFINITY;function Cy(t,e){return e[1]!==By?function(t,e,n){let r=0,i=0;switch(e=Math.abs(e),n=Math.abs(n),t){case "top-right":case "top-left":case "top":i=n-7;break;case "bottom-right":case "bottom-left":case "bottom":i=7-n;}switch(t){case "top-right":case "bottom-right":case "right":r=-e;break;case "top-left":case "bottom-left":case "left":r=e;}return [r,i]}(t,e[0],e[1]):function(t,e){let n=0,r=0;e<0&&(e=0);const i=e/Math.SQRT2;switch(t){case "top-right":case "top-left":r=i-7;break;case "bottom-right":case "bottom-left":r=7-i;break;case "bottom":r=7-e;break;case "top":r=e-7;}switch(t){case "top-right":case "bottom-right":n=-i;break;case "top-left":case "bottom-left":n=i;break;case "left":n=e;break;case "right":n=-e;}return [n,r]}(t,e[0])}function Vy(t,e,n){var r;const i=t.layout,s=null===(r=i.get("text-variable-anchor-offset"))||void 0===r?void 0:r.evaluate(e,{},n);if(s){const t=s.values,e=[];for(let n=0;nt*Ih));r.startsWith("top")?i[1]-=7:r.startsWith("bottom")&&(i[1]+=7),e[n+1]=i;}return new $e(e)}const o=i.get("text-variable-anchor");if(o){let r;r=void 0!==t._unevaluatedLayout.getValue("text-radial-offset")?[i.get("text-radial-offset").evaluate(e,{},n)*Ih,By]:i.get("text-offset").evaluate(e,{},n).map((t=>t*Ih));const s=[];for(const t of o)s.push(t,Cy(t,r));return new $e(s)}return null}function Ly(t){switch(t){case "right":case "top-right":case "bottom-right":return "right";case "left":case "top-left":case "bottom-left":return "left"}return "center"}function Oy(e,n,r,i,s,o,a,l,u,c,h,p){let f=o.textMaxSize.evaluate(n,{});void 0===f&&(f=a);const d=e.layers[0].layout,y=d.get("icon-offset").evaluate(n,{},h),m=Ry(r.horizontal),g=a/24,x=e.tilePixelRatio*g,v=e.tilePixelRatio*f/24,b=e.tilePixelRatio*l,w=e.tilePixelRatio*d.get("symbol-spacing"),_=d.get("text-padding")*e.tilePixelRatio,S=function(t,e,n,r=1){const i=t.get("icon-padding").evaluate(e,{},n),s=null==i?void 0:i.values;return [s[0]*r,s[1]*r,s[2]*r,s[3]*r]}(d,n,h,e.tilePixelRatio),A=d.get("text-max-angle")/180*Math.PI,M="viewport"!==d.get("text-rotation-alignment")&&"point"!==d.get("symbol-placement"),k="map"===d.get("icon-rotation-alignment")&&"point"!==d.get("symbol-placement"),I=d.get("symbol-placement"),E=w/2,F=d.get("icon-text-fit");let P;i&&"none"!==F&&(e.allowVerticalPlacement&&r.vertical&&(P=yp(i,r.vertical,F,d.get("icon-text-fit-padding"),y,g)),m&&(i=yp(i,m,F,d.get("icon-text-fit-padding"),y,g)));const D=h?p.line.getGranularityForZoomLevel(h.z):1,z=(l,p)=>{p.x<0||p.x>=T||p.y<0||p.y>=T||function(e,n,r,i,s,o,a,l,u,c,h,p,f,d,y,m,g,x,v,b,w,_,S,A,M){const k=e.addToLineVertexArray(n,r);let I,E,T,F,P=0,D=0,z=0,B=0,C=-1,V=-1;const L={};let O=ba("");if(e.allowVerticalPlacement&&i.vertical){const t=l.layout.get("text-rotate").evaluate(w,{},A)+90;T=new Ey(u,n,c,h,p,i.vertical,f,d,y,t),a&&(F=new Ey(u,n,c,h,p,a,g,x,y,t));}if(s){const r=l.layout.get("icon-rotate").evaluate(w,{}),i="none"!==l.layout.get("icon-text-fit"),o=Sy(s,r,S,i),f=a?Sy(a,r,S,i):void 0;E=new Ey(u,n,c,h,p,s,g,x,!1,r),P=4*o.length;const d=e.iconSizeData;let y=null;"source"===d.kind?(y=[mp*l.layout.get("icon-size").evaluate(w,{})],y[0]>gp&&G(`${e.layerIds[0]}: Value for "icon-size" is >= 255. Reduce your "icon-size".`)):"composite"===d.kind&&(y=[mp*_.compositeIconSizes[0].evaluate(w,{},A),mp*_.compositeIconSizes[1].evaluate(w,{},A)],(y[0]>gp||y[1]>gp)&&G(`${e.layerIds[0]}: Value for "icon-size" is >= 255. Reduce your "icon-size".`)),e.addSymbols(e.icon,o,y,b,v,w,t.ax.none,n,k.lineStartIndex,k.lineLength,-1,A),C=e.icon.placedSymbolArray.length-1,f&&(D=4*f.length,e.addSymbols(e.icon,f,y,b,v,w,t.ax.vertical,n,k.lineStartIndex,k.lineLength,-1,A),V=e.icon.placedSymbolArray.length-1);}const $=Object.keys(i.horizontal);for(const r of $){const s=i.horizontal[r];if(!I){O=ba(s.text);const t=l.layout.get("text-rotate").evaluate(w,{},A);I=new Ey(u,n,c,h,p,s,f,d,y,t);}const a=1===s.positionedLines.length;if(z+=$y(e,n,s,o,l,y,w,m,k,i.vertical?t.ax.horizontal:t.ax.horizontalOnly,a?$:[r],L,C,_,A),a)break}i.vertical&&(B+=$y(e,n,i.vertical,o,l,y,w,m,k,t.ax.vertical,["vertical"],L,V,_,A));const R=I?I.boxStartIndex:e.collisionBoxArray.length,N=I?I.boxEndIndex:e.collisionBoxArray.length,U=T?T.boxStartIndex:e.collisionBoxArray.length,j=T?T.boxEndIndex:e.collisionBoxArray.length,q=E?E.boxStartIndex:e.collisionBoxArray.length,X=E?E.boxEndIndex:e.collisionBoxArray.length,Y=F?F.boxStartIndex:e.collisionBoxArray.length,Z=F?F.boxEndIndex:e.collisionBoxArray.length;let H=-1;const W=(t,e)=>(null==t?void 0:t.circleDiameter)?Math.max(t.circleDiameter,e):e;H=W(I,H),H=W(T,H),H=W(E,H),H=W(F,H);const K=H>-1?1:0;K&&(H*=M/Ih),e.glyphOffsetArray.length>=kp.MAX_GLYPHS&&G("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),void 0!==w.sortKey&&e.addToSortKeyRanges(e.symbolInstances.length,w.sortKey);const J=Vy(l,w,A),[Q,tt]=function(e,n){const r=e.length,i=null==n?void 0:n.values;if((null==i?void 0:i.length)>0)for(let n=0;n=0?L.right:-1,L.center>=0?L.center:-1,L.left>=0?L.left:-1,L.vertical||-1,C,V,O,R,N,U,j,q,X,Y,Z,c,z,B,P,D,K,0,f,H,Q,tt);}(e,p,l,r,i,s,P,e.layers[0],e.collisionBoxArray,n.index,n.sourceLayerIndex,e.index,x,[_,_,_,_],M,u,b,S,k,y,n,o,c,h,a);};if("line"===I)for(const t of uy(n.geometry,0,0,T,T)){const n=Su(t,D),s=wy(n,w,A,r.vertical||m,i,24,v,e.overscaling,T);for(const t of s)m&&Ny(e,m.text,E,t)||z(n,t);}else if("line-center"===I){for(const t of n.geometry)if(t.length>1){const e=Su(t,D),n=by(e,A,r.vertical||m,i,24,v);n&&z(e,n);}}else if("Polygon"===n.type)for(const t of rr(n.geometry,0)){const e=Fy(t,16);z(Su(t[0],D,!0),new yy(e.x,e.y,0));}else if("LineString"===n.type)for(const t of n.geometry){const e=Su(t,D);z(e,new yy(e[0].x,e[0].y,0));}else if("Point"===n.type)for(const t of n.geometry)for(const e of t)z([e],new yy(e.x,e.y,0));}function $y(t,e,r,i,s,o,a,l,u,c,h,p,f,d,y){const m=function(t,e,r,i,s,o,a,l){const u=i.layout.get("text-rotate").evaluate(o,{})*Math.PI/180,c=[];for(const t of e.positionedLines)for(const i of t.positionedGlyphs){if(!i.rect)continue;const o=i.rect||{};let h=4,p=!0,f=1,d=0;const y=(s||l)&&i.vertical,m=i.metrics.advance*i.scale/2;if(l&&e.verticalizable&&(d=t.lineOffset/2-(i.imageName?-(Ih-i.metrics.width*i.scale)/2:(i.scale-1)*Ih)),i.imageName){const t=a[i.imageName];p=t.sdf,f=t.pixelRatio,h=1/f;}const g=s?[i.x+m,i.y]:[0,0];let x=s?[0,0]:[i.x+m+r[0],i.y+r[1]-d],v=[0,0];y&&(v=x,x=[0,0]);const b=i.metrics.isDoubleResolution?2:1,w=(i.metrics.left-h)*i.scale-m+x[0],_=(-i.metrics.top-h)*i.scale+x[1],S=w+o.w/b*i.scale/f,A=_+o.h/b*i.scale/f,M=new n(w,_),k=new n(S,_),I=new n(w,A),E=new n(S,A);if(y){const t=new n(-m,m- -17),e=-Math.PI/2,r=12-m,s=new n(22-r,-(i.imageName?r:0)),o=new n(...v);M._rotateAround(e,t)._add(s)._add(o),k._rotateAround(e,t)._add(s)._add(o),I._rotateAround(e,t)._add(s)._add(o),E._rotateAround(e,t)._add(s)._add(o);}if(u){const t=Math.sin(u),e=Math.cos(u),n=[e,-t,t,e];M._matMult(n),k._matMult(n),I._matMult(n),E._matMult(n);}const T=new n(0,0),F=new n(0,0);c.push({tl:M,tr:k,bl:I,br:E,tex:o,writingMode:e.writingMode,glyphOffset:g,sectionIndex:i.sectionIndex,isSDF:p,pixelOffsetTL:T,pixelOffsetBR:F,minFontScaleX:0,minFontScaleY:0});}return c}(0,r,l,s,o,a,i,t.allowVerticalPlacement),g=t.textSizeData;let x=null;"source"===g.kind?(x=[mp*s.layout.get("text-size").evaluate(a,{})],x[0]>gp&&G(`${t.layerIds[0]}: Value for "text-size" is >= 255. Reduce your "text-size".`)):"composite"===g.kind&&(x=[mp*d.compositeTextSizes[0].evaluate(a,{},y),mp*d.compositeTextSizes[1].evaluate(a,{},y)],(x[0]>gp||x[1]>gp)&&G(`${t.layerIds[0]}: Value for "text-size" is >= 255. Reduce your "text-size".`)),t.addSymbols(t.text,m,x,l,o,a,c,e,u.lineStartIndex,u.lineLength,f,y);for(const e of h)p[e]=t.text.placedSymbolArray.length-1;return 4*m.length}function Ry(t){for(const e in t)return t[e];return null}function Ny(t,e,n,r){const i=t.compareText;if(e in i){const t=i[e];for(let e=t.length-1;e>=0;e--)if(r.dist(t[e])this.process())),this.subscription=tt(this.target,"message",(t=>this.receive(t)),!1),this.globalScope=Y(self)?t:window;}registerMessageHandler(t,e){this.messageHandlers[t]=e;}unregisterMessageHandler(t){delete this.messageHandlers[t];}sendAsync(t,e){return new Promise(((n,r)=>{const i=Math.round(1e18*Math.random()).toString(36).substring(0,10),s=e?tt(e.signal,"abort",(()=>{null==s||s.unsubscribe(),delete this.resolveRejects[i];const e={id:i,type:"",origin:location.origin,targetMapId:t.targetMapId,sourceMapId:this.mapId};this.target.postMessage(e);}),Lp):null;this.resolveRejects[i]={resolve:t=>{null==s||s.unsubscribe(),n(t);},reject:t=>{null==s||s.unsubscribe(),r(t);}};const o=[],a=Object.assign(Object.assign({},t),{id:i,sourceMapId:this.mapId,origin:location.origin,data:xs(t.data,o)});this.target.postMessage(a,{transfer:o});}))}receive(t){const e=t.data,n=e.id,r=["file://","resource://android","null"],i=[e.origin,location.origin],s=e.origin===location.origin,o=i.some((t=>r.includes(t)));if((s||o)&&(!e.targetMapId||this.mapId===e.targetMapId)){if(""===e.type){delete this.tasks[n];const t=this.abortControllers[n];return delete this.abortControllers[n],void(t&&t.abort())}if(Y(self)||e.mustQueue)return this.tasks[n]=e,this.taskQueue.push(n),void this.invoker.trigger();this.processTask(n,e);}}process(){if(0===this.taskQueue.length)return;const t=this.taskQueue.shift(),e=this.tasks[t];delete this.tasks[t],this.taskQueue.length>0&&this.invoker.trigger(),e&&this.processTask(t,e);}processTask(t,n){return e(this,void 0,void 0,(function*(){if(""===n.type){const e=this.resolveRejects[t];if(delete this.resolveRejects[t],!e)return;return void(n.error?e.reject(P(vs(n.error))):e.resolve(vs(n.data)))}if(!this.messageHandlers[n.type])return void this.completeTask(t,new Error(`Could not find a registered handler for ${n.type}, map ID: ${this.mapId}, available handlers: ${Object.keys(this.messageHandlers).join(", ")}`));const e=vs(n.data),r=new AbortController;this.abortControllers[t]=r;try{const i=yield this.messageHandlers[n.type](n.sourceMapId,e,r);this.completeTask(t,null,i);}catch(e){this.completeTask(t,P(e));}}))}completeTask(t,e,n){const r=[];delete this.abortControllers[t];const i={id:t,type:"",sourceMapId:this.mapId,origin:location.origin,error:e?xs(e):null,data:xs(n,r)};this.target.postMessage(i,{transfer:r});}remove(){this.invoker.remove(),this.subscription.unsubscribe();}},t.O=function(){var t=new f(16);return f!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0),t[0]=1,t[5]=1,t[10]=1,t[15]=1,t},t.P=n,t.Q=function(t,e,n){var r,i,s,o,a,l,u,c,h,p,f,d,y=n[0],m=n[1],g=n[2];return e===t?(t[12]=e[0]*y+e[4]*m+e[8]*g+e[12],t[13]=e[1]*y+e[5]*m+e[9]*g+e[13],t[14]=e[2]*y+e[6]*m+e[10]*g+e[14],t[15]=e[3]*y+e[7]*m+e[11]*g+e[15]):(i=e[1],s=e[2],o=e[3],a=e[4],l=e[5],u=e[6],c=e[7],h=e[8],p=e[9],f=e[10],d=e[11],t[0]=r=e[0],t[1]=i,t[2]=s,t[3]=o,t[4]=a,t[5]=l,t[6]=u,t[7]=c,t[8]=h,t[9]=p,t[10]=f,t[11]=d,t[12]=r*y+a*m+h*g+e[12],t[13]=i*y+l*m+p*g+e[13],t[14]=s*y+u*m+f*g+e[14],t[15]=o*y+c*m+d*g+e[15]),t},t.R=Il,t.S=function(t,e,n){var r=n[0],i=n[1],s=n[2];return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*i,t[6]=e[6]*i,t[7]=e[7]*i,t[8]=e[8]*s,t[9]=e[9]*s,t[10]=e[10]*s,t[11]=e[11]*s,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},t.T=Ol,t.U=function(t,e,n){var r=e[0],i=e[1],s=e[2],o=e[3],a=e[4],l=e[5],u=e[6],c=e[7],h=e[8],p=e[9],f=e[10],d=e[11],y=e[12],m=e[13],g=e[14],x=e[15],v=n[0],b=n[1],w=n[2],_=n[3];return t[0]=v*r+b*a+w*h+_*y,t[1]=v*i+b*l+w*p+_*m,t[2]=v*s+b*u+w*f+_*g,t[3]=v*o+b*c+w*d+_*x,t[4]=(v=n[4])*r+(b=n[5])*a+(w=n[6])*h+(_=n[7])*y,t[5]=v*i+b*l+w*p+_*m,t[6]=v*s+b*u+w*f+_*g,t[7]=v*o+b*c+w*d+_*x,t[8]=(v=n[8])*r+(b=n[9])*a+(w=n[10])*h+(_=n[11])*y,t[9]=v*i+b*l+w*p+_*m,t[10]=v*s+b*u+w*f+_*g,t[11]=v*o+b*c+w*d+_*x,t[12]=(v=n[12])*r+(b=n[13])*a+(w=n[14])*h+(_=n[15])*y,t[13]=v*i+b*l+w*p+_*m,t[14]=v*s+b*u+w*f+_*g,t[15]=v*o+b*c+w*d+_*x,t},t.V=function(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n},t.W=$p,t.X=O,t.Y=jp,t.Z=Up,t._=e,t.a=ot,t.a$=function(t){var e=new f(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},t.a0=c,t.a1=h,t.a2=K,t.a3=Jp,t.a4=Gp,t.a5=Xp,t.a6=T,t.a7=Zp,t.a8=tf,t.a9=25,t.aA=function(t){var e=t[0],n=t[1];return Math.sqrt(e*e+n*n)},t.aB=function(t){return t[0]=0,t[1]=0,t},t.aC=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t},t.aD=_p,t.aE=A,t.aF=function(t,e,r,i){const s=e.y-t.y,o=e.x-t.x,a=i.y-r.y,l=i.x-r.x,u=a*o-l*s;if(0===u)return null;const c=(l*(t.y-r.y)-a*(t.x-r.x))/u;return new n(t.x+c*o,t.y+c*s)},t.aG=uy,t.aH=Ha,t.aI=function(t){let e=1/0,n=1/0,r=-1/0,i=-1/0;for(const s of t)e=Math.min(e,s.x),n=Math.min(n,s.y),r=Math.max(r,s.x),i=Math.max(i,s.y);return [e,n,r,i]},t.aJ=Ih,t.aK=F,t.aL=function(t,e,n,r,i=!1){if(!n[0]&&!n[1])return [0,0];const s=i?"map"===r?-t.bearingInRadians:0:"viewport"===r?t.bearingInRadians:0;if(s){const t=Math.sin(s),e=Math.cos(s);n=[n[0]*e-n[1]*t,n[0]*t+n[1]*e];}return [i?n[0]:F(e,n[0],t.zoom),i?n[1]:F(e,n[1],t.zoom)]},t.aN=vp,t.aO=Ly,t.aP=op,t.aQ=t=>"symbol"===t.type,t.aR=ec,t.aS=ao,t.aT=xu,t.aU=Xo,t.aV=ua,t.aW=sa,t.aX=nt,t.aY=Yp,t.aZ=b,t.a_=v,t.aa=Wp,t.ab=t=>{const e=window.document.createElement("video");return e.muted=!0,new Promise((n=>{e.onloadstart=()=>{n(e);};for(const n of t){const t=window.document.createElement("source");yt(n)||(e.crossOrigin="Anonymous"),t.src=n,e.appendChild(t);}}))},t.ac=zt,t.ad=function(){return R++},t.ae=Co,t.af=kp,t.ag=Jd,t.ah=yi,t.ai=Ga,t.aj=nf,t.ak=function(t){const e={};if(t.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,((t,n,r,i)=>{const s=r||i;return e[n]=!s||s.toLowerCase(),""})),e["max-age"]){const t=parseInt(e["max-age"],10);isNaN(t)?delete e["max-age"]:e["max-age"]=t;}return e},t.al=L,t.am=85.051129,t.an=et,t.ao=function(t){return Math.pow(2,t)},t.ap=y,t.aq=qp,t.ar=function(t){return Math.log(t)/Math.LN2},t.as=function(t){var e=t[0],n=t[1];return e*e+n*n},t.at=function(t){if(!t.length)return new Set;const e=Math.max(...t.map((t=>t.canonical.z)));let n=1/0,r=-1/0,i=1/0,s=-1/0;const o=[];for(const a of t){const{x:t,y:l,z:u}=a.canonical,c=Math.pow(2,e-u),h=t*c,p=l*c;o.push({id:a,x:h,y:p}),hr&&(r=h),ps&&(s=p);}const a=new Set;for(const t of o)t.x!==n&&t.x!==r&&t.y!==i&&t.y!==s||a.add(t.id);return a},t.au=function(t,e){const n=Math.abs(2*t.wrap)-+(t.wrap<0),r=Math.abs(2*e.wrap)-+(e.wrap<0);return t.overscaledZ-e.overscaledZ||r-n||e.canonical.y-t.canonical.y||e.canonical.x-t.canonical.x},t.av=class{constructor(t,e){this.max=t,this.onRemove=e,this.reset();}reset(){for(const t in this.data)for(const e of this.data[t])e.timeout&&clearTimeout(e.timeout),this.onRemove(e.value);return this.data={},this.order=[],this}add(t,e,n){const r=t.wrapped().key;void 0===this.data[r]&&(this.data[r]=[]);const i={value:e,timeout:void 0};if(void 0!==n&&(i.timeout=setTimeout((()=>{this.remove(t,i);}),n)),this.data[r].push(i),this.order.push(r),this.order.length>this.max){const t=this._getAndRemoveByKey(this.order[0]);t&&this.onRemove(t);}return this}has(t){return t.wrapped().key in this.data}getAndRemove(t){return this.has(t)?this._getAndRemoveByKey(t.wrapped().key):null}_getAndRemoveByKey(t){const e=this.data[t].shift();return e.timeout&&clearTimeout(e.timeout),0===this.data[t].length&&delete this.data[t],this.order.splice(this.order.indexOf(t),1),e.value}getByKey(t){const e=this.data[t];return e?e[0].value:null}get(t){return this.has(t)?this.data[t.wrapped().key][0].value:null}remove(t,e){if(!this.has(t))return this;const n=t.wrapped().key,r=void 0===e?0:this.data[n].indexOf(e),i=this.data[n][r];return this.data[n].splice(r,1),i.timeout&&clearTimeout(i.timeout),0===this.data[n].length&&delete this.data[n],this.onRemove(i.value),this.order.splice(this.order.indexOf(n),1),this}setMaxSize(t){for(this.max=t;this.order.length>this.max;){const t=this._getAndRemoveByKey(this.order[0]);t&&this.onRemove(t);}return this}filter(t){const e=[];for(const n in this.data)for(const r of this.data[n])t(r.value)||e.push(r);for(const t of e)this.remove(t.value.tileID,t);}},t.aw=function(t,e){let n=0,r=0;if("constant"===t.kind)r=t.layoutSize;else if("source"!==t.kind){const{interpolationType:i,minZoom:s,maxZoom:o}=t,a=i?L(mn.interpolationFactor(i,e,s,o),0,1):0;"camera"===t.kind?r=xn.number(t.minSize,t.maxSize,a):n=a;}return {uSizeT:n,uSize:r}},t.ay=function(t,{uSize:e,uSizeT:n},{lowerSize:r,upperSize:i}){return "source"===t.kind?r/mp:"composite"===t.kind?xn.number(r/mp,i/mp,n):e},t.az=I,t.b=H,t.b$=Ea,t.b0=function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t},t.b1=function(t,e){var n=e[0],r=e[1],i=e[2],s=n*n+r*r+i*i;return s>0&&(s=1/Math.sqrt(s)),t[0]=e[0]*s,t[1]=e[1]*s,t[2]=e[2]*s,t},t.b2=w,t.b3=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]},t.b4=function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t[3]=e[3]*n[3],t},t.b5=g,t.b6=function(t,e,n){const r=e[0]*n[0]+e[1]*n[1]+e[2]*n[2];return 0===r?null:(-(t[0]*n[0]+t[1]*n[1]+t[2]*n[2])-n[3])/r},t.b7=S,t.b8=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t},t.b9=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]},t.bA=k,t.bB=function(t,e,n){var r=n[0],i=n[1],s=n[2],o=n[3],a=e[0],l=e[1],u=e[2],c=i*u-s*l,h=s*a-r*u,p=r*l-i*a;return t[0]=a+o*(c+=c)+i*(p+=p)-s*(h+=h),t[1]=l+o*h+s*c-r*p,t[2]=u+o*p+r*h-i*c,t},t.bC=function(t,e,n){const r=(i=[t[0],t[1],t[2],e[0],e[1],e[2],n[0],n[1],n[2]])[0]*((c=i[8])*(o=i[4])-(a=i[5])*(u=i[7]))+i[1]*(-c*(s=i[3])+a*(l=i[6]))+i[2]*(u*s-o*l);var i,s,o,a,l,u,c;if(0===r)return null;const h=w([],[e[0],e[1],e[2]],[n[0],n[1],n[2]]),p=w([],[n[0],n[1],n[2]],[t[0],t[1],t[2]]),f=w([],[t[0],t[1],t[2]],[e[0],e[1],e[2]]),d=b([],h,-t[3]);return v(d,d,b([],p,-e[3])),v(d,d,b([],f,-n[3])),b(d,d,1/r),d},t.bD=Op,t.bE=function(){return new Float64Array(4)},t.bF=function(t,e,n,r){var i=[],s=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],s[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),s[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),s[2]=i[2],t[0]=s[0]+n[0],t[1]=s[1]+n[1],t[2]=s[2]+n[2],t},t.bG=function(t,e,n,r){var i=[],s=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],s[0]=i[0],s[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),s[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),t[0]=s[0]+n[0],t[1]=s[1]+n[1],t[2]=s[2]+n[2],t},t.bH=function(t,e,n,r){var i=[],s=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],s[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),s[1]=i[1],s[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),t[0]=s[0]+n[0],t[1]=s[1]+n[1],t[2]=s[2]+n[2],t},t.bI=function(t,e,n){var r=Math.sin(n),i=Math.cos(n),s=e[0],o=e[1],a=e[2],l=e[3],u=e[8],c=e[9],h=e[10],p=e[11];return e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=s*i-u*r,t[1]=o*i-c*r,t[2]=a*i-h*r,t[3]=l*i-p*r,t[8]=s*r+u*i,t[9]=o*r+c*i,t[10]=a*r+h*i,t[11]=l*r+p*i,t},t.bJ=function(t,e){const n=D(t,360),r=D(e,360),i=r-n,s=r>n?i-360:i+360;return Math.abs(i)0?o:-o},t.bM=function(t,e){const n=D(t,2*Math.PI),r=D(e,2*Math.PI);return Math.min(Math.abs(n-r),Math.abs(n-r+2*Math.PI),Math.abs(n-r-2*Math.PI))},t.bN=function(){const t={},e=wt.$version;for(const n in wt.$root){const r=wt.$root[n];if(r.required){let i=null;i="version"===n?e:"array"===r.type?[]:{},null!=i&&(t[n]=i);}}return t},t.bO=ft,t.bP=bs,t.bQ=function t(e,n){if(Array.isArray(e)){if(!Array.isArray(n)||e.length!==n.length)return !1;for(let r=0;r"raster"===t.type,t.bV=j,t.bW=function(t,e){if(!t)return [{command:"setStyle",args:[e]}];let n=[];try{if(!At(t.version,e.version))return [{command:"setStyle",args:[e]}];At(t.center,e.center)||n.push({command:"setCenter",args:[e.center]}),At(t.state,e.state)||n.push({command:"setGlobalState",args:[e.state]}),At(t.centerAltitude,e.centerAltitude)||n.push({command:"setCenterAltitude",args:[e.centerAltitude]}),At(t.zoom,e.zoom)||n.push({command:"setZoom",args:[e.zoom]}),At(t.bearing,e.bearing)||n.push({command:"setBearing",args:[e.bearing]}),At(t.pitch,e.pitch)||n.push({command:"setPitch",args:[e.pitch]}),At(t.roll,e.roll)||n.push({command:"setRoll",args:[e.roll]}),At(t.sprite,e.sprite)||n.push({command:"setSprite",args:[e.sprite]}),At(t.glyphs,e.glyphs)||n.push({command:"setGlyphs",args:[e.glyphs]}),At(t.transition,e.transition)||n.push({command:"setTransition",args:[e.transition]}),At(t.light,e.light)||n.push({command:"setLight",args:[e.light]}),At(t.terrain,e.terrain)||n.push({command:"setTerrain",args:[e.terrain]}),At(t.sky,e.sky)||n.push({command:"setSky",args:[e.sky]}),At(t.projection,e.projection)||n.push({command:"setProjection",args:[e.projection]});const r={},i=[];!function(t,e,n,r){let i;for(i in e=e||{},t=t||{})Object.prototype.hasOwnProperty.call(t,i)&&(Object.prototype.hasOwnProperty.call(e,i)||It(i,n,r));for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&(Object.prototype.hasOwnProperty.call(t,i)?At(t[i],e[i])||("geojson"===t[i].type&&"geojson"===e[i].type&&Tt(t,e,i)?Mt(n,{command:"setGeoJSONSourceData",args:[i,e[i].data]}):Et(i,e,n,r)):kt(i,e,n));}(t.sources,e.sources,i,r);const s=[];t.layers&&t.layers.forEach((t=>{"source"in t&&r[t.source]?n.push({command:"removeLayer",args:[t.id]}):s.push(t);})),n=n.concat(i),function(t,e,n){e=e||[];const r=(t=t||[]).map(Pt),i=e.map(Pt),s=t.reduce(Dt,{}),o=e.reduce(Dt,{}),a=r.slice(),l=Object.create(null);let u,c,h,p,f;for(let t=0,e=0;tp?(i=Math.acos(s),o=Math.sin(i),a=Math.sin((1-r)*i)/o,l=Math.sin(r*i)/o):(a=1-r,l=r),t[0]=a*u+l*d,t[1]=a*c+l*y,t[2]=a*h+l*m,t[3]=a*f+l*g,t},t.bm=function(t){const e=new Float64Array(9);var n,r,i,s,o,a,l,u,c,h,p,f,d,y,m,g,x,v;h=(i=(r=t)[0])*(l=i+i),p=(s=r[1])*l,d=(o=r[2])*l,y=o*(u=s+s),g=(a=r[3])*l,x=a*u,v=a*(c=o+o),(n=e)[0]=1-(f=s*u)-(m=o*c),n[3]=p-v,n[6]=d+x,n[1]=p+v,n[4]=1-h-m,n[7]=y-g,n[2]=d-x,n[5]=y+g,n[8]=1-h-f;const b=nt(-Math.asin(L(e[2],-1,1)));let w,_;return Math.hypot(e[5],e[8])<.001?(w=0,_=-nt(Math.atan2(e[3],e[4]))):(w=nt(0===e[5]&&0===e[8]?0:Math.atan2(e[5],e[8])),_=nt(0===e[1]&&0===e[0]?0:Math.atan2(e[1],e[0]))),{roll:w,pitch:b+90,bearing:_}},t.bn=function(t,e){return t.roll==e.roll&&t.pitch==e.pitch&&t.bearing==e.bearing},t.bo=Te,t.bp=ka,t.bq=vu,t.br=bu,t.bs=gu,t.bt=z,t.bu=B,t.bv=Ne,t.bw=function(t,e,n,r,i){return z(r,i,L((t-e)/(n-e),0,1))},t.bx=function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t},t.by=D,t.bz=function(){return new Float64Array(3)},t.c=ut,t.c$=si,t.c0=class extends Ma{constructor(t,e){super(t,e),this.current=Ta;}set(t){if(t[12]!==this.current[12]||t[0]!==this.current[0])return this.current=t,void this.gl.uniformMatrix4fv(this.location,!1,t);for(let e=1;e<16;e++)if(t[e]!==this.current[e]){this.current=t,this.gl.uniformMatrix4fv(this.location,!1,t);break}}},t.c1=Ia,t.c2=class extends Ma{constructor(t,e){super(t,e),this.current=[0,0,0];}set(t){t[0]===this.current[0]&&t[1]===this.current[1]&&t[2]===this.current[2]||(this.current=t,this.gl.uniform3f(this.location,t[0],t[1],t[2]));}},t.c3=class extends Ma{constructor(t,e){super(t,e),this.current=[0,0];}set(t){t[0]===this.current[0]&&t[1]===this.current[1]||(this.current=t,this.gl.uniform2f(this.location,t[0],t[1]));}},t.c4=d,t.c5=function(t,e){var n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=-n,t[4]=r,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},t.c6=function(t,e,n){var r=e[0],i=e[1],s=e[2];return t[0]=r*n[0]+i*n[3]+s*n[6],t[1]=r*n[1]+i*n[4]+s*n[7],t[2]=r*n[2]+i*n[5]+s*n[8],t},t.c7=function(t,e,n,r,i,s,o){var a=1/(e-n),l=1/(r-i),u=1/(s-o);return t[0]=-2*a,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*l,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*u,t[11]=0,t[12]=(e+n)*a,t[13]=(i+r)*l,t[14]=(o+s)*u,t[15]=1,t},t.c8=class extends Ma{constructor(t,e){super(t,e),this.current=new Array;}set(t){if(t!=this.current){this.current=t;const e=new Float32Array(4*t.length);for(let n=0;n25||r<0||r>=1||n<0||n>=1)},t.cE=function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=e[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},t.cF=class extends co{},t.cG=pt,t.cH=function(t,e){ut.REGISTERED_PROTOCOLS[t]=e;},t.cI=function(t){delete ut.REGISTERED_PROTOCOLS[t];},t.cJ=function(t,e){const n={};for(let r=0;rt*Ih));}let x=u?"center":s.get("text-justify").evaluate(o,{},e.canonical);const b="point"===s.get("symbol-placement")?s.get("text-max-width").evaluate(o,{},e.canonical)*Ih:1/0,w=()=>{e.bucket.allowVerticalPlacement&&As(n)&&(m.vertical=sp(g,e.glyphMap,e.glyphPositions,e.imagePositions,p,b,l,h,"left",a,v,t.ax.vertical,!0,d,f));};if(!u&&y){const n=new Set;if("auto"===x)for(let t=0;tQd(t,e,n)),t.layers[r]);}(t,n,e),n.finish()},t.cT=function(t,e,n,r,i,s){let o=cy(t,e,n,i,0);return o=cy(o,e,r,s,1),o},t.cU=class{constructor(t){this.maxEntries=t,this.map=new Map;}get(t){const e=this.map.get(t);return void 0!==e&&(this.map.delete(t),this.map.set(t,e)),e}set(t,e){if(this.map.has(t))this.map.delete(t);else if(this.map.size>=this.maxEntries){const t=this.map.keys().next().value;this.map.delete(t);}this.map.set(t,e);}clear(){this.map.clear();}},t.cV=Nu,t.cW=Rh,t.cX=Wd,t.cY=function(t,n,r,i,s){return e(this,void 0,void 0,(function*(){if(h())try{return yield K(t,n,r,i,s)}catch(t){}return function(t,e,n,r,i){const s=t.width,o=t.height;J&&Q||(J=new OffscreenCanvas(s,o),Q=J.getContext("2d",{willReadFrequently:!0})),J.width=s,J.height=o,Q.drawImage(t,0,0,s,o);const a=Q.getImageData(e,n,r,i);return Q.clearRect(0,0,s,o),a.data}(t,n,r,i,s)}))},t.cZ=$l,t.c_=class{constructor(t,e){this.layers={[Jd]:this},this.name=Jd,this.version=e?e.version:1,this.extent=e?e.extent:4096,this.length=t.length,this.features=t;}feature(t){return new Kd(this.features[t],this.extent)}},t.ca=class extends So{},t.cb=Ah,t.cc=class extends Mo{},t.cd=Fl,t.ce=function(t){return t<=1?1:Math.pow(2,Math.ceil(Math.log(t)/Math.LN2))},t.cf=Tl,t.cg=function(t,e,n){var r=e[0],i=e[1],s=e[2],o=n[3]*r+n[7]*i+n[11]*s+n[15];return t[0]=(n[0]*r+n[4]*i+n[8]*s+n[12])/(o=o||1),t[1]=(n[1]*r+n[5]*i+n[9]*s+n[13])/o,t[2]=(n[2]*r+n[6]*i+n[10]*s+n[14])/o,t},t.ch=class extends ho{},t.ci=class extends Do{},t.cj=function(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]&&t[9]===e[9]&&t[10]===e[10]&&t[11]===e[11]&&t[12]===e[12]&&t[13]===e[13]&&t[14]===e[14]&&t[15]===e[15]},t.ck=function(t,e){var n=t[0],r=t[1],i=t[2],s=t[3],o=t[4],a=t[5],l=t[6],u=t[7],c=t[8],h=t[9],f=t[10],d=t[11],y=t[12],m=t[13],g=t[14],x=t[15],v=e[0],b=e[1],w=e[2],_=e[3],S=e[4],A=e[5],M=e[6],k=e[7],I=e[8],E=e[9],T=e[10],F=e[11],P=e[12],D=e[13],z=e[14],B=e[15];return Math.abs(n-v)<=p*Math.max(1,Math.abs(n),Math.abs(v))&&Math.abs(r-b)<=p*Math.max(1,Math.abs(r),Math.abs(b))&&Math.abs(i-w)<=p*Math.max(1,Math.abs(i),Math.abs(w))&&Math.abs(s-_)<=p*Math.max(1,Math.abs(s),Math.abs(_))&&Math.abs(o-S)<=p*Math.max(1,Math.abs(o),Math.abs(S))&&Math.abs(a-A)<=p*Math.max(1,Math.abs(a),Math.abs(A))&&Math.abs(l-M)<=p*Math.max(1,Math.abs(l),Math.abs(M))&&Math.abs(u-k)<=p*Math.max(1,Math.abs(u),Math.abs(k))&&Math.abs(c-I)<=p*Math.max(1,Math.abs(c),Math.abs(I))&&Math.abs(h-E)<=p*Math.max(1,Math.abs(h),Math.abs(E))&&Math.abs(f-T)<=p*Math.max(1,Math.abs(f),Math.abs(T))&&Math.abs(d-F)<=p*Math.max(1,Math.abs(d),Math.abs(F))&&Math.abs(y-P)<=p*Math.max(1,Math.abs(y),Math.abs(P))&&Math.abs(m-D)<=p*Math.max(1,Math.abs(m),Math.abs(D))&&Math.abs(g-z)<=p*Math.max(1,Math.abs(g),Math.abs(z))&&Math.abs(x-B)<=p*Math.max(1,Math.abs(x),Math.abs(B))},t.cl=function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},t.cm=t=>"circle"===t.type,t.cn=t=>"heatmap"===t.type,t.co=t=>"line"===t.type,t.cp=t=>"fill"===t.type,t.cq=t=>"fill-extrusion"===t.type,t.cr=t=>"hillshade"===t.type,t.cs=t=>"color-relief"===t.type,t.ct=t=>"background"===t.type,t.cu=t=>"custom"===t.type,t.cv=C,t.cw=function(t,e,n){if(e<=0)return t;const r=1/e;return void 0===n||Math.abs(n)<1e-10?Math.round(t*r)/r:(n>0?Math.ceil(t*r-1e-9):Math.floor(t*r+1e-10))/r},t.cx=function(t,e,n){const r=E(e.x-n.x,e.y-n.y),i=E(t.x-n.x,t.y-n.y);var s,o;return nt(Math.atan2(r[0]*i[1]-r[1]*i[0],(s=r)[0]*(o=i)[0]+s[1]*o[1]))},t.cy=V,t.cz=function(t,e){var n;if(!it[e])return !1;const r=null==t?void 0:t.target,i=(null===(n=null==r?void 0:r.ownerDocument)||void 0===n?void 0:n.defaultView)||window;return t instanceof i.MouseEvent||t instanceof i.WheelEvent},t.d=P,t.d0=class{constructor(t,e){const n=(e=this.options=Object.assign({},sh,e)).debug;if(n&&console.time("preprocess data"),e.maxZoom<0||e.maxZoom>24)throw new Error("maxZoom should be in the 0-24 range");if(e.promoteId&&e.generateId)throw new Error("promoteId and generateId cannot be used together.");let r=pc(t,e);n&&(console.timeEnd("preprocess data"),console.log("index: maxZoom: %d, maxPoints: %d",e.indexMaxZoom,e.indexMaxPoints),console.time("generate tiles")),r=Lc(r,e),e.updateable&&(this.source=r),this.initializeIndex(r,e);}initializeIndex(t,e){this.tileIndex=e.cluster?new qc(e.clusterOptions):new rh(e),t.length&&this.tileIndex.initialize(t);}getTile(t,e,n){return e=+e,n=+n,(t=+t)<0||t>24?null:this.tileIndex.getTile(t,e,n)}updateData(t,e){const n=this.options;if(!n.updateable)throw new Error("to update tile geojson `updateable` option must be set to true");let{affected:r,source:i}=function(t,e,n){const r=function(t,e){return t?{removeAll:t.removeAll,remove:new Set(t.remove||[]),add:new Map(t.add?.map((t=>[e.promoteId?t.properties[e.promoteId]:t.id,t]))),update:new Map(t.update?.map((t=>[t.id,t])))}:{remove:new Set,add:new Map,update:new Map}}(e,n);let i=[];if(r.removeAll&&(i=t,t=[]),r.remove.size||r.add.size){const e=[];for(const n of t)(r.remove.has(n.id)||r.add.has(n.id))&&e.push(n);if(e.length){i.push(...e);const n=new Set(e.map((t=>t.id)));t=t.filter((t=>!n.has(t.id)));}if(r.add.size){let e=pc({type:"FeatureCollection",features:Array.from(r.add.values())},n);e=Lc(e,n),i.push(...e),t.push(...e);}}if(r.update.size){const e=new Map,s=[];for(const n of t)r.update.has(n.id)?e.set(n.id,[...e.get(n.id)||[],n]):s.push(n);for(const[t,o]of r.update){const r=e.get(t);if(!r||0===r.length)continue;const a=Nc(r,o,n);i.push(...r,...a),s.push(...a);}t=s;}return {affected:i,source:t}}(this.source,t,n);e&&({affected:r,source:i}=this.filterUpdate(i,r,e)),r.length&&(this.source=i,this.tileIndex.updateIndex(i,r,n));}filterUpdate(t,e,n){const r=new Set;for(const i of t)null!=i.id&&(n(xc(i))||(e.push(i),r.add(i.id)));return {affected:e,source:t=t.filter((t=>!r.has(t.id)))}}getData(){if(!this.options.updateable)throw new Error("to retrieve data the `updateable` option must be set to true");return {type:"FeatureCollection",features:this.source.map((t=>xc(t)))}}updateClusterOptions(t,e){const n=this.options.cluster;this.options.cluster=t,this.options.clusterOptions=e,n!=t?this.initializeIndex(this.source,this.options):this.tileIndex.updateIndex(this.source,[],this.options);}getClusterExpansionZoom(t){return this.tileIndex.getClusterExpansionZoom(t)}getClusterChildren(t){return this.tileIndex.getChildren(t)}getClusterLeaves(t,e,n){return this.tileIndex.getLeaves(t,e,n)}},t.d1=Bs,t.e=$,t.f=yt,t.g=ct,t.h=t=>e(void 0,void 0,void 0,(function*(){if(0===t.byteLength)return createImageBitmap(new ImageData(1,1));const e=new Blob([new Uint8Array(t)],{type:"image/png"});try{return createImageBitmap(e)}catch(t){throw new Error(`Could not load image because of ${P(t).message}. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.`)}})),t.i=Y,t.j=t=>new Promise(((e,n)=>{const r=new Image;r.onload=()=>{e(r),URL.revokeObjectURL(r.src),r.onload=null,window.requestAnimationFrame((()=>r.src=W));},r.onerror=()=>n(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."));const i=new Blob([new Uint8Array(t)],{type:"image/png"});r.src=t.byteLength?URL.createObjectURL(i):W;})),t.k=(t,e)=>dt($(t,{type:"json"}),e),t.l=vt,t.m=dt,t.n=xt,t.o=(t,e)=>dt($(t,{type:"arrayBuffer"}),e),t.p=ep,t.q=function(t){return new Rh(t).readFields(Jh,[])},t.r=function(t){return /[\u02EA\u02EB\u1100-\u11FF\u2E80-\u2FDF\u3000-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFE10-\uFE1F\uFE30-\uFE4F\uFF00-\uFFEF]|\uD81B[\uDFE0-\uDFFF]|[\uD81C-\uD822\uD840-\uD868\uD86A-\uD86D\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD88C][\uDC00-\uDFFF]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD1E\uDD80-\uDDF2]|\uD82B[\uDFF0-\uDFFF]|\uD82C[\uDC00-\uDEFB]|\uD83C[\uDE00-\uDEFF]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEAD\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD88D[\uDC00-\uDC79]/gim.test(String.fromCodePoint(t))},t.s=tt,t.t=kl,t.u=Ks,t.v=ss,t.w=G,t.x=wt,t.y=Rs,t.z=as;})); + +define("worker",["./shared"],(function(e){"use strict";class t{constructor(e,t){this.keyCache={},e&&this.replace(e,t);}replace(e,t){this._layerConfigs={},this._layers={},this.update(e,[],t);}update(t,i,s){for(const i of t){this._layerConfigs[i.id]=i;const t=this._layers[i.id]=e.bT(i,s);t._featureFilter=e.ah(t.filter,s),this.keyCache[i.id]&&delete this.keyCache[i.id];}for(const e of i)delete this.keyCache[e],delete this._layerConfigs[e],delete this._layers[e];this.familiesBySource={};const r=e.cJ(Object.values(this._layerConfigs),this.keyCache);for(const t of r){const i=t.map((e=>this._layers[e.id])),s=i[0];if(s.isHidden())continue;const r=s.source||"";let o=this.familiesBySource[r];o||(o=this.familiesBySource[r]={});const n=s.sourceLayer||e.ag;let a=o[n];a||(a=o[n]=[]),a.push(i);}}}class i{constructor(t){const i={},s=[];for(const e in t){const r=t[e],o=i[e]={};for(const e in r){const t=r[+e];if(!t||0===t.bitmap.width||0===t.bitmap.height)continue;const i={x:0,y:0,w:t.bitmap.width+2,h:t.bitmap.height+2};s.push(i),o[e]={rect:i,metrics:t.metrics};}}const{w:r,h:o}=e.p(s),n=new e.t({width:r||1,height:o||1});for(const s in t){const r=t[s];for(const t in r){const o=r[+t];if(!o||0===o.bitmap.width||0===o.bitmap.height)continue;const a=i[s][t].rect;e.t.copy(o.bitmap,n,{x:0,y:0},{x:a.x+1,y:a.y+1},o.bitmap);}}this.image=n,this.positions=i;}}e.cK("GlyphAtlas",i);class s{constructor(t){this.tileID=new e.a3(t.tileID.overscaledZ,t.tileID.wrap,t.tileID.canonical.z,t.tileID.canonical.x,t.tileID.canonical.y),this.uid=t.uid,this.zoom=t.zoom,this.pixelRatio=t.pixelRatio,this.tileSize=t.tileSize,this.source=t.source,this.overscaling=this.tileID.overscaleFactor(),this.showCollisionBoxes=t.showCollisionBoxes,this.collectResourceTiming=!!t.collectResourceTiming,this.returnDependencies=!!t.returnDependencies,this.promoteId=t.promoteId,this.inFlightDependencies=[];}parse(t,s,o,n,a){return e._(this,void 0,void 0,(function*(){this.status="parsing",this.data=t,this.collisionBoxArray=new e.ae;const l=new e.cL(Object.keys(t.layers).sort()),c=new e.cM(this.tileID,this.promoteId);c.bucketLayerIDs=[];const h={},d={featureIndex:c,iconDependencies:{},patternDependencies:{},glyphDependencies:{},dashDependencies:{},availableImages:o,subdivisionGranularity:a},u=s.familiesBySource[this.source];for(const i in u){const s=t.layers[i];if(!s)continue;1===s.version&&e.w(`Vector tile source "${this.source}" layer "${i}" does not use vector tile spec v2 and therefore may have some rendering errors.`);const n=l.encode(i),a=[];for(let e=0;ee.id))));}}const g=e.bY(d.glyphDependencies,(e=>Object.keys(e).map(Number)));for(const e of this.inFlightDependencies)null==e||e.abort();this.inFlightDependencies=[];let p=Promise.resolve({});if(Object.keys(g).length){const e=new AbortController;this.inFlightDependencies.push(e),p=n.sendAsync({type:"GG",data:{stacks:g,source:this.source,tileID:this.tileID,type:"glyphs"}},e);}const f=Object.keys(d.iconDependencies);let y=Promise.resolve({});if(f.length){const e=new AbortController;this.inFlightDependencies.push(e),y=n.sendAsync({type:"GI",data:{icons:f,source:this.source,tileID:this.tileID,type:"icons"}},e);}const v=Object.keys(d.patternDependencies);let m=Promise.resolve({});if(v.length){const e=new AbortController;this.inFlightDependencies.push(e),m=n.sendAsync({type:"GI",data:{icons:v,source:this.source,tileID:this.tileID,type:"patterns"}},e);}const _=d.dashDependencies;let S=Promise.resolve({});if(Object.keys(_).length){const e=new AbortController;this.inFlightDependencies.push(e),S=n.sendAsync({type:"GDA",data:{dashes:_}},e);}const[w,b,I,T]=yield Promise.all([p,y,m,S]),k=new i(w),x=new e.cN(b,I);for(const t in h){const i=h[t];i instanceof e.af?(r(i.layers,this.zoom,o),e.cO({bucket:i,glyphMap:w,glyphPositions:k.positions,imageMap:b,imagePositions:x.iconPositions,showCollisionBoxes:this.showCollisionBoxes,canonical:this.tileID.canonical,subdivisionGranularity:d.subdivisionGranularity})):i.hasDependencies&&(i instanceof e.cP||i instanceof e.cQ||i instanceof e.cR)&&(r(i.layers,this.zoom,o),i.addFeatures(d,this.tileID.canonical,x.patternPositions,T));}return this.status="done",{buckets:Object.values(h).filter((e=>!e.isEmpty())),featureIndex:c,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:k.image,imageAtlas:x,dashPositions:T,glyphMap:this.returnDependencies?w:null,iconMap:this.returnDependencies?b:null,glyphPositions:this.returnDependencies?k.positions:null}}))}}function r(t,i,s){const r=new e.J(i);for(const e of t)e.recalculate(r,s);}class o{constructor(){this.loading={},this.loaded={},this.parsing={};}startLoading(e,t){this.loading[e]=t;}finishLoading(e){delete this.loading[e];}abort(e){const t=this.loading[e];(null==t?void 0:t.abort)&&(t.abort.abort(),delete this.loading[e]);}setParsing(e,t){this.parsing[e]=t;}consumeParsing(e){const t=this.parsing[e];if(t)return delete this.parsing[e],t}clearParsing(e){delete this.parsing[e];}markLoaded(e,t){this.loaded[e]=t;}getLoaded(e){const t=this.loaded[e];if(t)return t}removeLoaded(e){delete this.loaded[e];}clearLoaded(){this.loaded={};}}class n{constructor(e){this.start=`${e}#start`,this.end=`${e}#end`,this.measure=e,performance.mark(this.start);}finish(){performance.mark(this.end);let e=performance.getEntriesByName(this.measure);return 0===e.length&&(performance.measure(this.measure,this.start,this.end),e=performance.getEntriesByName(this.measure),performance.clearMarks(this.start),performance.clearMarks(this.end),performance.clearMeasures(this.measure)),e}}class a{constructor(e,t,i,s,r){this.type=e,this.properties=i||{},this.extent=r,this.pointsArray=t,this.id=s;}loadGeometry(){return this.pointsArray.map((t=>t.map((t=>new e.P(t.x,t.y)))))}}class l{constructor(e,t,i){this.version=2,this._myFeatures=e,this.name=t,this.length=e.length,this.extent=i;}feature(e){return this._myFeatures[e]}}class c{constructor(){this.layers={};}addLayer(e){this.layers[e.name]=e;}}function h(t){let i=e.cS(t);return 0===i.byteOffset&&i.byteLength===i.buffer.byteLength||(i=new Uint8Array(i)),{vectorTile:t,rawData:i.buffer}}function d(t,i,s){const{extent:r}=t,o=Math.pow(2,s.z-i.z),n=(s.x-i.x*o)*r,c=(s.y-i.y*o)*r,h=[];for(let i=0;i0&&u.addLayer(r);}const p=h(u);return this.overzoomedTileResultCache.set(a,p),p}reloadTile(t){return e._(this,void 0,void 0,(function*(){const e=t.uid,i=this.tileState.getLoaded(e);if(!i)throw new Error("Should not be trying to reload a tile that was never loaded or has been removed");if(i.showCollisionBoxes=t.showCollisionBoxes,"parsing"===i.status){const s=this.tileState.consumeParsing(e);return yield this._parseWorkerTile(i,t,s)}if("done"===i.status&&i.vectorTile)return yield this._parseWorkerTile(i,t)}))}abortTile(t){return e._(this,void 0,void 0,(function*(){this.tileState.abort(t.uid);}))}removeTile(t){return e._(this,void 0,void 0,(function*(){this.tileState.removeLoaded(t.uid);}))}}class g{constructor(){this.loaded={};}loadTile(t){return e._(this,void 0,void 0,(function*(){const{uid:i,encoding:s,rawImageData:r,redFactor:o,greenFactor:n,blueFactor:a,baseShift:l}=t,c=r.width+2,h=r.height+2,d=e.b(r)?new e.R({width:c,height:h},yield e.cY(r,-1,-1,c,h)):r,u=new e.cZ(i,d,s,o,n,a,l);return this.loaded||(this.loaded={}),this.loaded[i]=u,u}))}removeTile(e){const t=this.loaded,i=e.uid;(null==t?void 0:t[i])&&delete t[i];}}class p{constructor(e,t,i,s=f){this.actor=e,this.layerIndex=t,this.availableImages=i,this.tileState=new o,this._createGeoJSONIndex=s;}loadVectorTile(t){if(!this._geoJSONIndex)throw new Error("Unable to parse the data into a cluster or geojson");const{z:i,x:s,y:r}=t.tileID.canonical,o=this._geoJSONIndex.getTile(i,s,r);return o?h(new e.c_(o.features,{version:2,extent:e.a6})):null}loadTile(t){return e._(this,void 0,void 0,(function*(){const{uid:e}=t,i=new s(t);i.abort=new AbortController;try{const s=this.loadVectorTile(t);if(!s)return null;const{vectorTile:r,rawData:o}=s;i.vectorTile=r,this.tileState.markLoaded(e,i);const n={rawData:o};this.tileState.setParsing(e,n);try{return yield this._parseWorkerTile(i,t,n)}finally{this.tileState.clearParsing(e);}}catch(t){throw i.status="done",this.tileState.markLoaded(e,i),t}}))}_reloadLoadedTile(t){return e._(this,void 0,void 0,(function*(){const e=t.uid,i=this.tileState.getLoaded(e);if(!i)throw new Error("Should not be trying to reload a tile that was never loaded or has been removed");if(i.showCollisionBoxes=t.showCollisionBoxes,"parsing"===i.status){const s=this.tileState.consumeParsing(e);return yield this._parseWorkerTile(i,t,s)}if("done"===i.status&&i.vectorTile)return yield this._parseWorkerTile(i,t)}))}_parseWorkerTile(t,i,s){return e._(this,void 0,void 0,(function*(){let r=yield t.parse(t.vectorTile,this.layerIndex,this.availableImages,this.actor,i.subdivisionGranularity);if(s){const{rawData:t}=s;r=e.e({rawTileData:t.slice(0),encoding:"mvt"},r);}return r}))}abortTile(t){return e._(this,void 0,void 0,(function*(){this.tileState.abort(t.uid);}))}removeTile(t){return e._(this,void 0,void 0,(function*(){this.tileState.removeLoaded(t.uid);}))}loadData(t){return e._(this,void 0,void 0,(function*(){var i;null===(i=this._pendingRequest)||void 0===i||i.abort();const s=this._startRequestTiming(t);this._pendingRequest=new AbortController;try{yield this.loadAndProcessGeoJSON(t,this._pendingRequest),delete this._pendingRequest,this.tileState.clearLoaded();const e={};return t.request&&(e.data=t.data),this._finishRequestTiming(s,t,e),e}catch(t){if(delete this._pendingRequest,!e.$(t))throw t;return {abandoned:!0}}}))}_startRequestTiming(e){var t;if(null===(t=e.request)||void 0===t?void 0:t.collectResourceTiming)return new n(e.request.url)}_finishRequestTiming(e,t,i){const s=null==e?void 0:e.finish();s&&(i.resourceTiming={[t.source]:JSON.parse(JSON.stringify(s))});}reloadTile(e){return this.tileState.getLoaded(e.uid)?this._reloadLoadedTile(e):this.loadTile(e)}loadAndProcessGeoJSON(t,i){return e._(this,void 0,void 0,(function*(){var s;if(t.request&&(t.data=(yield e.k(t.request,i)).data),t.data)return t.data=this._filterGeoJSON(t.data,t.filter),void(this._geoJSONIndex=this._createGeoJSONIndex(t.data,t));if(t.dataDiff)return null!==(s=this._geoJSONIndex)&&void 0!==s||(this._geoJSONIndex=this._createGeoJSONIndex({type:"FeatureCollection",features:[]},t)),void this._geoJSONIndex.updateData(t.dataDiff,this._getFilterPredicate(t.filter));if(t.updateCluster&&this._geoJSONIndex.updateClusterOptions(t.geojsonVtOptions.cluster,y(t)),null==this._geoJSONIndex)throw new Error(`Input data given to '${t.source}' is not a valid GeoJSON object.`)}))}_filterGeoJSON(e,t){if("FeatureCollection"!==e.type)return e;const i=this._getFilterPredicate(t);return i?{type:"FeatureCollection",features:e.features.filter((e=>i(e)))}:e}_getFilterPredicate(t){if("boolean"!=typeof t&&!(null==t?void 0:t.length))return;const i=e.c$(t,{type:"boolean","property-type":"data-driven",overridable:!1,transition:!1});if("error"===i.result)throw new Error(i.value.map((e=>`${e.key}: ${e.message}`)).join(", "));return e=>i.value.evaluate({zoom:0},e)}removeSource(t){return e._(this,void 0,void 0,(function*(){var e;null===(e=this._pendingRequest)||void 0===e||e.abort();}))}getClusterExpansionZoom(e){return this._geoJSONIndex.getClusterExpansionZoom(e.clusterId)}getClusterChildren(e){return this._geoJSONIndex.getClusterChildren(e.clusterId)}getClusterLeaves(e){return this._geoJSONIndex.getClusterLeaves(e.clusterId,e.limit,e.offset)}}function f(t,i){const s=e.e(i.geojsonVtOptions||{},{updateable:!0,clusterOptions:y(i)});return new e.d0(t,s)}function y({geojsonVtOptions:t,clusterProperties:i}){if(!i||!t.clusterOptions)return t.clusterOptions;const s={},r={},o={accumulated:null,zoom:0},n={properties:null},a=Object.keys(i);for(const t of a){const[o,n]=i[t],a=e.c$(n),l=e.c$("string"==typeof o?[o,["accumulated"],["get",t]]:o);s[t]=a.value,r[t]=l.value;}return t.clusterOptions.map=e=>{n.properties=e;const t={};for(const e of a)t[e]=s[e].evaluate(o,n);return t},t.clusterOptions.reduce=(e,t)=>{n.properties=t;for(const t of a)o.accumulated=e[t],e[t]=r[t].evaluate(o,n);},t.clusterOptions}class v{constructor(t){this.self=t,this.actor=new e.N(t),this.layerIndexes={},this.availableImages={},this.workerSources={},this.demWorkerSources={},this.externalWorkerSourceTypes={},this.globalStates=new Map,this.self.registerWorkerSource=(e,t)=>{if(this.externalWorkerSourceTypes[e])throw new Error(`Worker source with name "${e}" already registered.`);this.externalWorkerSourceTypes[e]=t;},this.self.addProtocol=e.cH,this.self.removeProtocol=e.cI,this.self.registerRTLTextPlugin=t=>{e.d1.setMethods(t);},this.self.makeRequest=e.m,this.actor.registerMessageHandler("LDT",((e,t)=>this._getDEMWorkerSource(e,t.source).loadTile(t))),this.actor.registerMessageHandler("RDT",((t,i)=>e._(this,void 0,void 0,(function*(){this._getDEMWorkerSource(t,i.source).removeTile(i);})))),this.actor.registerMessageHandler("GCEZ",((t,i)=>e._(this,void 0,void 0,(function*(){return this._getWorkerSource(t,i.type,i.source).getClusterExpansionZoom(i)})))),this.actor.registerMessageHandler("GCC",((t,i)=>e._(this,void 0,void 0,(function*(){return this._getWorkerSource(t,i.type,i.source).getClusterChildren(i)})))),this.actor.registerMessageHandler("GCL",((t,i)=>e._(this,void 0,void 0,(function*(){return this._getWorkerSource(t,i.type,i.source).getClusterLeaves(i)})))),this.actor.registerMessageHandler("LD",((e,t)=>this._getWorkerSource(e,t.type,t.source).loadData(t))),this.actor.registerMessageHandler("LT",((e,t)=>this._getWorkerSource(e,t.type,t.source).loadTile(t))),this.actor.registerMessageHandler("RT",((e,t)=>this._getWorkerSource(e,t.type,t.source).reloadTile(t))),this.actor.registerMessageHandler("AT",((e,t)=>this._getWorkerSource(e,t.type,t.source).abortTile(t))),this.actor.registerMessageHandler("RMT",((e,t)=>this._getWorkerSource(e,t.type,t.source).removeTile(t))),this.actor.registerMessageHandler("RS",((t,i)=>e._(this,void 0,void 0,(function*(){var e,s;if(!(null===(s=null===(e=this.workerSources[t])||void 0===e?void 0:e[i.type])||void 0===s?void 0:s[i.source]))return;const r=this.workerSources[t][i.type][i.source];delete this.workerSources[t][i.type][i.source],void 0!==r.removeSource&&r.removeSource(i);})))),this.actor.registerMessageHandler("RM",(t=>e._(this,void 0,void 0,(function*(){delete this.layerIndexes[t],delete this.availableImages[t],delete this.workerSources[t],delete this.demWorkerSources[t],this.globalStates.delete(t);})))),this.actor.registerMessageHandler("SR",((t,i)=>e._(this,void 0,void 0,(function*(){this.referrer=i;})))),this.actor.registerMessageHandler("SRPS",((e,t)=>this._syncRTLPluginState(e,t))),this.actor.registerMessageHandler("IS",((t,i)=>e._(this,void 0,void 0,(function*(){this.self.importScripts(i);})))),this.actor.registerMessageHandler("SI",((e,t)=>this._setImages(e,t))),this.actor.registerMessageHandler("UL",((t,i)=>e._(this,void 0,void 0,(function*(){this._getLayerIndex(t).update(i.layers,i.removedIds,this._getGlobalState(t));})))),this.actor.registerMessageHandler("UGS",((t,i)=>e._(this,void 0,void 0,(function*(){const e=this._getGlobalState(t);for(const t in i)e[t]=i[t];})))),this.actor.registerMessageHandler("SL",((t,i)=>e._(this,void 0,void 0,(function*(){this._getLayerIndex(t).replace(i,this._getGlobalState(t));}))));}_getGlobalState(e){let t=this.globalStates.get(e);return t||(t={},this.globalStates.set(e,t)),t}_setImages(t,i){return e._(this,void 0,void 0,(function*(){this.availableImages[t]=i;for(const e in this.workerSources[t]){const s=this.workerSources[t][e];for(const e in s)s[e].availableImages=i;}}))}_syncRTLPluginState(t,i){return e._(this,void 0,void 0,(function*(){return yield e.d1.syncState(i,this.self.importScripts)}))}_getAvailableImages(e){let t=this.availableImages[e];return t||(t=[]),t}_getLayerIndex(e){let i=this.layerIndexes[e];return i||(i=this.layerIndexes[e]=new t),i}_getWorkerSource(e,t,i){var s,r;if((s=this.workerSources)[e]||(s[e]={}),(r=this.workerSources[e])[t]||(r[t]={}),!this.workerSources[e][t][i]){const s={sendAsync:(t,i)=>(t.targetMapId=e,this.actor.sendAsync(t,i))};switch(t){case "vector":this.workerSources[e][t][i]=new u(s,this._getLayerIndex(e),this._getAvailableImages(e));break;case "geojson":this.workerSources[e][t][i]=new p(s,this._getLayerIndex(e),this._getAvailableImages(e));break;default:this.workerSources[e][t][i]=new this.externalWorkerSourceTypes[t](s,this._getLayerIndex(e),this._getAvailableImages(e));}}return this.workerSources[e][t][i]}_getDEMWorkerSource(e,t){var i,s;return (i=this.demWorkerSources)[e]||(i[e]={}),(s=this.demWorkerSources[e])[t]||(s[t]=new g),this.demWorkerSources[e][t]}}return e.i(self)&&(self.worker=new v(self)),v})); + +define("index",["exports","./shared"],(function(e,t){"use strict";var i="5.24.0";function o(){var e=new t.A(4);return t.A!=Float32Array&&(e[1]=0,e[2]=0),e[0]=1,e[3]=1,e}let a,r,s;const n={frame(e,i,o,a){const r=a||window,s=r.requestAnimationFrame((e=>{n(),i(e);})),{unsubscribe:n}=t.s(e.signal,"abort",(()=>{n(),r.cancelAnimationFrame(s),o(new t.a(e.signal.reason));}),!1);},frameAsync(e,t){return new Promise(((i,o)=>{this.frame(e,i,o,t);}))},getImageData(e,t=0){return this.getImageCanvasContext(e).getImageData(-t,-t,e.width+2*t,e.height+2*t)},getImageCanvasContext(e){const t=window.document.createElement("canvas"),i=t.getContext("2d",{willReadFrequently:!0});if(!i)throw new Error("failed to create canvas 2d context");return t.width=e.width,t.height=e.height,i.drawImage(e,0,0,e.width,e.height),i},resolveURL:e=>(a||(a=document.createElement("a")),a.href=e,a.href),hardwareConcurrency:"undefined"!=typeof navigator&&navigator.hardwareConcurrency||4,get prefersReducedMotion(){return void 0!==s?s:!!matchMedia&&(null!=r||(r=matchMedia("(prefers-reduced-motion: reduce)")),r.matches)},set prefersReducedMotion(e){s=e;}},l=new class{constructor(){this._frozenAt=null;}getCurrentTime(){return null!==this._frozenAt?this._frozenAt:performance.now()}setNow(e){this._frozenAt=e;}restoreNow(){this._frozenAt=null;}isFrozen(){return null!==this._frozenAt}};function c(){return l.getCurrentTime()}var h,u;class d{static create(e,t,i){const o=window.document.createElement(e);return void 0!==t&&(o.className=t),i&&i.appendChild(o),o}static createNS(e,t){return window.document.createElementNS(e,t)}static disableDrag(){d.docStyle&&d.selectProp&&(d.userSelect=d.docStyle[d.selectProp],d.docStyle[d.selectProp]="none");}static enableDrag(){d.docStyle&&d.selectProp&&(d.docStyle[d.selectProp]=d.userSelect);}static suppressClickInternal(e){e.preventDefault(),e.stopPropagation(),window.removeEventListener("click",d.suppressClickInternal,!0);}static suppressClick(){window.addEventListener("click",d.suppressClickInternal,!0),window.setTimeout((()=>{window.removeEventListener("click",d.suppressClickInternal,!0);}),0);}static getScale(e){const t=e.getBoundingClientRect();return {x:t.width/e.offsetWidth||1,y:t.height/e.offsetHeight||1,boundingClientRect:t}}static getPoint(e,i,o){const a=i.boundingClientRect;return new t.P((o.clientX-a.left)/i.x-e.clientLeft,(o.clientY-a.top)/i.y-e.clientTop)}static mousePos(e,t){const i=d.getScale(e);return d.getPoint(e,i,t)}static touchPos(e,t){const i=[],o=d.getScale(e);for(const a of t)i.push(d.getPoint(e,o,a));return i}static sanitize(e){const t=(new DOMParser).parseFromString(e,"text/html").body||document.createElement("body"),i=t.querySelectorAll("script");for(const e of i)e.remove();return d.clean(t),t.innerHTML}static isPossiblyDangerous(e,t){const i=t.replace(/\s+/g,"").toLowerCase();return !(!["src","href","xlink:href"].includes(e)||!i.includes("javascript:")&&!i.includes("data:"))||!!e.startsWith("on")||void 0}static clean(e){const t=e.children;for(const e of t)d.removeAttributes(e),d.clean(e);}static removeAttributes(e){for(const{name:t,value:i}of e.attributes)d.isPossiblyDangerous(t,i)&&e.removeAttribute(t);}}d.docStyle="undefined"!=typeof window&&(null===(h=window.document)||void 0===h?void 0:h.documentElement.style),d.selectProp=!d.docStyle||"userSelect"in d.docStyle?"userSelect":"webkitUserSelect",function(e){let i,o,a,r;e.resetRequestQueue=()=>{i=[],o=0,a=0,r={};},e.addThrottleControl=e=>{const t=a++;return r[t]=e,t},e.removeThrottleControl=e=>{delete r[e],n();},e.getImage=(e,o,a=!0)=>new Promise(((r,s)=>{e.headers||(e.headers={}),e.headers.accept="image/webp,*/*",t.e(e,{type:"image"}),i.push({abortController:o,requestParameters:e,supportImageRefresh:a,state:"queued",onError:e=>{s(e);},onSuccess:e=>{r(e);}}),n();}));const s=e=>t._(this,void 0,void 0,(function*(){e.state="running";const{requestParameters:i,supportImageRefresh:a,onError:r,onSuccess:s,abortController:c}=e,h=!1===a&&!t.i(self)&&!t.g(i.url)&&(!i.headers||Object.keys(i.headers).reduce(((e,t)=>e&&"accept"===t),!0));o++;const u=h?l(i,c):t.m(i,c);try{const i=yield u;delete e.abortController,e.state="completed",i.data instanceof HTMLImageElement||t.b(i.data)?s(i):i.data&&s({data:yield(d=i.data,"function"==typeof createImageBitmap?t.h(d):t.j(d)),cacheControl:i.cacheControl,expires:i.expires});}catch(i){delete e.abortController,r(t.d(i));}finally{o--,n();}var d;})),n=()=>{const e=(()=>{for(const e of Object.keys(r))if(r[e]())return !0;return !1})()?t.c.MAX_PARALLEL_IMAGE_REQUESTS_PER_FRAME:t.c.MAX_PARALLEL_IMAGE_REQUESTS;for(let t=o;t0;t++){const e=i.shift();e.abortController.signal.aborted?t--:s(e);}},l=(e,i)=>new Promise(((o,a)=>{const r=new Image,s=e.url,n=e.credentials;n&&"include"===n?r.crossOrigin="use-credentials":(n&&"same-origin"===n||!t.f(s))&&(r.crossOrigin="anonymous"),i.signal.addEventListener("abort",(()=>{r.src="",a(new t.a(i.signal.reason));})),r.fetchPriority="high",r.onload=()=>{r.onerror=r.onload=null,o({data:r});},r.onerror=()=>{r.onerror=r.onload=null,i.signal.aborted||a(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."));},r.src=s;}));}(u||(u={})),u.resetRequestQueue();class _{constructor(e){this._transformRequestFn=null!=e?e:null;}transformRequest(e,t){return this._transformRequestFn&&this._transformRequestFn(e,t)||{url:e}}setTransformRequest(e){this._transformRequestFn=e;}}function p(e){const t=[];if("string"==typeof e)t.push({id:"default",url:e});else if(e&&e.length>0){const i=[];for(const{id:o,url:a}of e){const e=`${o}${a}`;i.includes(e)||(i.push(e),t.push({id:o,url:a}));}}return t}function m(e,t,i){try{const o=new URL(e);return o.pathname+=`${t}${i}`,o.toString()}catch(t){throw new Error(`Invalid sprite URL "${e}", must be absolute. Modify style specification directly or use TransformStyleFunction to correct the issue dynamically`)}}function f(e){const{userImage:t}=e;return !(!(null==t?void 0:t.render)||!t.render()||(e.data.replace(new Uint8Array(t.data.buffer)),0))}class g extends t.E{constructor(){super(),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new t.R({width:1,height:1}),this.dirty=!0;}destroy(){this.atlasTexture&&(this.atlasTexture.destroy(),this.atlasTexture=null);for(const e of Object.keys(this.images))this.removeImage(e);this.patterns={},this.atlasImage=new t.R({width:1,height:1}),this.dirty=!0;}isLoaded(){return this.loaded}setLoaded(e){if(this.loaded!==e&&(this.loaded=e,e)){for(const{ids:e,promiseResolve:t}of this.requestors)t(this._getImagesForIds(e));this.requestors=[];}}getImage(e){const i=this.images[e];if(i&&!i.data&&i.spriteData){const e=i.spriteData;i.data=new t.R({width:e.width,height:e.height},e.context.getImageData(e.x,e.y,e.width,e.height).data),i.spriteData=null;}return i}addImage(e,t){if(this.images[e])throw new Error(`Image id ${e} already exist, use updateImage instead`);this._validate(e,t)&&(this.images[e]=t);}_validate(e,i){let o=!0;const a=i.data||i.spriteData;return this._validateStretch(i.stretchX,null==a?void 0:a.width)||(this.fire(new t.l(new Error(`Image "${e}" has invalid "stretchX" value`))),o=!1),this._validateStretch(i.stretchY,null==a?void 0:a.height)||(this.fire(new t.l(new Error(`Image "${e}" has invalid "stretchY" value`))),o=!1),this._validateContent(i.content,i)||(this.fire(new t.l(new Error(`Image "${e}" has invalid "content" value`))),o=!1),o}_validateStretch(e,t){if(!e)return !0;let i=0;for(const o of e){if(o[0]=e[1]))}updateImage(e,t,i=!0){const o=this.getImage(e);if(i&&(o.data.width!==t.data.width||o.data.height!==t.data.height))throw new Error(`size mismatch between old image (${o.data.width}x${o.data.height}) and new image (${t.data.width}x${t.data.height}).`);t.version=o.version+1,this.images[e]=t,this.updatedImages[e]=!0;}removeImage(e){var t;const i=this.images[e];delete this.images[e],delete this.patterns[e],(null===(t=i.userImage)||void 0===t?void 0:t.onRemove)&&i.userImage.onRemove();}listImages(){return Object.keys(this.images)}getImages(e){return new Promise(((t,i)=>{let o=!0;if(!this.isLoaded())for(const t of e)this.images[t]||(o=!1);this.isLoaded()||o?t(this._getImagesForIds(e)):this.requestors.push({ids:e,promiseResolve:t});}))}_getImagesForIds(e){var i;const o={};for(const a of e){let e=this.getImage(a);e||(this.fire(new t.n("styleimagemissing",{id:a})),e=this.getImage(a)),e?o[a]={data:e.data.clone(),pixelRatio:e.pixelRatio,sdf:e.sdf,version:e.version,stretchX:e.stretchX,stretchY:e.stretchY,content:e.content,textFitWidth:e.textFitWidth,textFitHeight:e.textFitHeight,hasRenderCallback:Boolean(null===(i=e.userImage)||void 0===i?void 0:i.render)}:t.w(`Image "${a}" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.`);}return o}getPixelSize(){const{width:e,height:t}=this.atlasImage;return {width:e,height:t}}getPattern(e){const i=this.patterns[e],o=this.getImage(e);if(!o)return null;if(i&&i.position.version===o.version)return i.position;if(i)i.position.version=o.version;else {const i={w:o.data.width+2,h:o.data.height+2,x:0,y:0},a=new t.I(i,o);this.patterns[e]={bin:i,position:a};}return this._updatePatternAtlas(),this.patterns[e].position}bind(e){const i=e.gl;this.atlasTexture?this.dirty&&(this.atlasTexture.update(this.atlasImage),this.dirty=!1):this.atlasTexture=new t.T(e,this.atlasImage,i.RGBA),this.atlasTexture.bind(i.LINEAR,i.CLAMP_TO_EDGE);}_updatePatternAtlas(){const e=[];for(const t in this.patterns)e.push(this.patterns[t].bin);const{w:i,h:o}=t.p(e),a=this.atlasImage;a.resize({width:i||1,height:o||1});for(const e in this.patterns){const{bin:i}=this.patterns[e],o=i.x+1,r=i.y+1,s=this.getImage(e).data,n=s.width,l=s.height;t.R.copy(s,a,{x:0,y:0},{x:o,y:r},{width:n,height:l}),t.R.copy(s,a,{x:0,y:l-1},{x:o,y:r-1},{width:n,height:1}),t.R.copy(s,a,{x:0,y:0},{x:o,y:r+l},{width:n,height:1}),t.R.copy(s,a,{x:n-1,y:0},{x:o-1,y:r},{width:1,height:l}),t.R.copy(s,a,{x:0,y:0},{x:o+n,y:r},{width:1,height:l});}this.dirty=!0;}beginFrame(){this.callbackDispatchedThisFrame={};}dispatchRenderCallbacks(e){for(const i of e){if(this.callbackDispatchedThisFrame[i])continue;this.callbackDispatchedThisFrame[i]=!0;const e=this.getImage(i);e||t.w(`Image with ID: "${i}" was not found`),f(e)&&this.updateImage(i,e);}}cloneImages(){const e={};for(const t in this.images){const i=this.images[t];e[t]=Object.assign(Object.assign({},i),{data:i.data?i.data.clone():null});}return e}}const v=1e20,x=new Float64Array(256);for(let e=0;e<256;e++){const t=.5-Math.pow(e/255,1/2.2);x[e]=t*Math.abs(t);}function b(e,t,i,o,a,r,s,n,l){for(let c=t;c-1);l++,r[l]=n,s[l]=c,s[l+1]=v;}for(let n=0,l=0;n/[-\w]+/.test(e)?e:`'${CSS.escape(e)}'`)).join(",");return new T.TinySDF({fontSize:48,buffer:6,radius:16,cutoff:.25,fontFamily:i,fontWeight:this._fontWeight(t[0]),fontStyle:this._fontStyle(t[0]),lang:this.lang})}_fontStyle(e){return /italic/i.test(e)?"italic":/oblique/i.test(e)?"oblique":"normal"}_fontWeight(e){const t={thin:100,hairline:100,"extra light":200,"ultra light":200,light:300,normal:400,regular:400,medium:500,semibold:600,demibold:600,bold:700,"extra bold":800,"ultra bold":800,black:900,heavy:900,"extra black":950,"ultra black":950};let i;for(const[o,a]of Object.entries(t))new RegExp(`\\b${o}\\b`,"i").test(e)&&(i=`${a}`);return i}destroy(){for(const e in this.entries){const t=this.entries[e];t.tinySDF=null,t.ideographTinySDF=null,t.glyphs={},t.requests={},t.ranges={};}this.entries={};}}T.loadGlyphRange=function(e,i,o,a){return t._(this,void 0,void 0,(function*(){const r=256*i,s=r+255,n=yield a.transformRequest(o.replace("{fontstack}",e).replace("{range}",`${r}-${s}`),"Glyphs"),l=yield t.o(n,new AbortController);if(!(null==l?void 0:l.data))throw new Error(`Could not load glyph range. range: ${i}, ${r}-${s}`);const c={};for(const e of t.q(l.data))c[e.id]=e;return c}))},T.TinySDF=class{constructor({fontSize:e=24,buffer:t=3,radius:i=8,cutoff:o=.25,fontFamily:a="sans-serif",fontWeight:r="normal",fontStyle:s="normal",lang:n=null}={}){this.buffer=t,this.radius=i,this.cutoff=o,this.lang=n;const l=this.size=e+4*t,c=this._createCanvas(l),h=this.ctx=c.getContext("2d",{willReadFrequently:!0});h.font=`${s} ${r} ${e}px ${a}`,h.textBaseline="alphabetic",h.textAlign="left",h.fillStyle="black",this.gridOuter=new Float64Array(l*l),this.gridInner=new Float64Array(l*l),this.f=new Float64Array(l),this.z=new Float64Array(l+1),this.v=new Uint16Array(l);}_createCanvas(e){if("undefined"!=typeof OffscreenCanvas)return new OffscreenCanvas(e,e);const t=document.createElement("canvas");return t.width=t.height=e,t}draw(e){const{width:t,actualBoundingBoxAscent:i,actualBoundingBoxDescent:o,actualBoundingBoxLeft:a,actualBoundingBoxRight:r}=this.ctx.measureText(e),s=Math.ceil(i),n=Math.floor(a),l=Math.max(0,Math.min(this.size-this.buffer,Math.ceil(r)-n)),c=Math.max(0,Math.min(this.size-this.buffer,s+Math.ceil(o))),h=l+2*this.buffer,u=c+2*this.buffer,d=Math.max(h*u,0),_=new Uint8ClampedArray(d),p={data:_,width:h,height:u,glyphWidth:l,glyphHeight:c,glyphTop:s,glyphLeft:n,glyphAdvance:t};if(0===l||0===c)return p;const{ctx:m,buffer:f,gridInner:g,gridOuter:y}=this;this.lang&&(m.lang=this.lang),m.clearRect(f,f,l,c),m.fillText(e,f-n,f+s);const w=m.getImageData(f,f,l,c);y.fill(v,0,d),g.fill(0,0,d);let T=3;for(let e=0;e1&&(s=e[++r]);const l=Math.abs(n-s.left),c=Math.abs(n-s.right),h=Math.min(l,c);let u;const d=t/i*(o+1);if(s.isDash){const e=o-Math.abs(d);u=Math.sqrt(h*h+e*e);}else u=o-Math.sqrt(h*h+d*d);this.data[a+n]=Math.max(0,Math.min(255,u+128));}}}addRegularDash(e){for(let t=e.length-1;t>=0;--t){const i=e[t],o=e[t+1];i.zeroLength?e.splice(t,1):o&&o.isDash===i.isDash&&(o.left=i.left,e.splice(t,1));}const t=e[0],i=e[e.length-1];t.isDash===i.isDash&&(t.left=i.left-this.width,i.right=t.right+this.width);const o=this.width*this.nextRow;let a=0,r=e[a];for(let t=0;t1&&(r=e[++a]);const i=Math.abs(t-r.left),s=Math.abs(t-r.right),n=Math.min(i,s);this.data[o+t]=Math.max(0,Math.min(255,(r.isDash?n:-n)+128));}}addDash(e,i){const o=i?7:0,a=2*o+1;if(this.nextRow+a>this.height)return t.w("LineAtlas out of space"),null;let r=0;for(const t of e)r+=t;if(0!==r){const t=this.width/r,a=this.getDashRanges(e,this.width,t);i?this.addRoundDash(a,t,o):this.addRegularDash(a);}const s={y:this.nextRow+o,height:2*o,width:r};return this.nextRow+=a,this.dirty=!0,s}bind(e){const t=e.gl;this.texture?(t.bindTexture(t.TEXTURE_2D,this.texture),this.dirty&&(this.dirty=!1,t.texSubImage2D(t.TEXTURE_2D,0,0,0,this.width,this.height,t.ALPHA,t.UNSIGNED_BYTE,this.data))):(this.texture=t.createTexture(),t.bindTexture(t.TEXTURE_2D,this.texture),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.REPEAT),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.REPEAT),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.LINEAR),t.texImage2D(t.TEXTURE_2D,0,t.ALPHA,this.width,this.height,0,t.ALPHA,t.UNSIGNED_BYTE,this.data));}}const z="maplibre_preloaded_worker_pool";class R{constructor(){this.active={};}acquire(e){if(!this.workers)for(this.workers=[];this.workers.lengtht.m(i,o)))),L}function O(e,i){const o=t.O();return t.Q(o,o,[1,1,0]),t.S(o,o,[.5*e.width,.5*e.height,1]),e.calculatePosMatrix?t.U(o,o,e.calculatePosMatrix(i.toUnwrapped())):o}function j(e,t,i,o,a,r,s){var n;const l=function(e,t,i){if(e)for(const o of e){const e=t[o];if((null==e?void 0:e.source)===i&&"fill-extrusion"===e.type)return !0}else for(const e in t){const o=t[e];if(o.source===i&&"fill-extrusion"===o.type)return !0}return !1}(null!==(n=null==a?void 0:a.layers)&&void 0!==n?n:null,t,e.id),c=r.maxPitchScaleFactor(),h=e.tilesIn(o,c,l);h.sort(N);const u=[];for(const o of h)u.push({wrappedTileID:o.tileID.wrapped().key,queryResults:o.tile.queryRenderedFeatures(t,i,e.getState(),o.queryGeometry,o.cameraQueryGeometry,o.scale,a,r,c,O(r,o.tileID),s?(e,t)=>s(o.tileID,e,t):void 0)});return function(e,t){for(const i in e)for(const o of e[i])Z(o,t);return e}(function(e){const t={},i={};for(const{queryResults:o,wrappedTileID:a}of e){i[a]||(i[a]={});const e=i[a];for(const i in o){const a=o[i];e[i]||(e[i]={});const r=e[i];t[i]||(t[i]=[]);for(const e of a)r[e.featureIndex]||(r[e.featureIndex]=!0,t[i].push(e));}}return t}(u),e)}function N(e,t){const i=e.tileID,o=t.tileID;return i.overscaledZ-o.overscaledZ||i.canonical.y-o.canonical.y||i.wrap-o.wrap||i.canonical.x-o.canonical.x}function Z(e,t){const i=e.feature,o=t.getFeatureState(i.layer["source-layer"],i.id);i.source=i.layer.source,i.layer["source-layer"]&&(i.sourceLayer=i.layer["source-layer"]),i.state=o;}function U(e,i,o,a){return t._(this,void 0,void 0,(function*(){let r=e;if(e.url?r=(yield t.k(yield i.transformRequest(e.url,"Source"),o)).data:yield n.frameAsync(o,a),!r)return null;const s=t.V(t.e(r,e),["tiles","minzoom","maxzoom","attribution","bounds","scheme","tileSize","encoding"]);return "vector_layers"in r&&r.vector_layers&&(s.vectorLayerIds=r.vector_layers.map((e=>e.id))),s}))}class G{constructor(e,t){e&&(t?this.setSouthWest(e).setNorthEast(t):Array.isArray(e)&&(4===e.length?this.setSouthWest([e[0],e[1]]).setNorthEast([e[2],e[3]]):this.setSouthWest(e[0]).setNorthEast(e[1])));}setNorthEast(e){return this._ne=e instanceof t.W?new t.W(e.lng,e.lat):t.W.convert(e),this}setSouthWest(e){return this._sw=e instanceof t.W?new t.W(e.lng,e.lat):t.W.convert(e),this}extend(e){const i=this._sw,o=this._ne;let a,r;if(e instanceof t.W)a=e,r=e;else {if(!(e instanceof G))return Array.isArray(e)?4===e.length||e.every(Array.isArray)?this.extend(G.convert(e)):this.extend(t.W.convert(e)):e&&("lng"in e||"lon"in e)&&"lat"in e?this.extend(t.W.convert(e)):this;if(a=e._sw,r=e._ne,!a||!r)return this}return i||o?(i.lng=Math.min(a.lng,i.lng),i.lat=Math.min(a.lat,i.lat),o.lng=Math.max(r.lng,o.lng),o.lat=Math.max(r.lat,o.lat)):(this._sw=new t.W(a.lng,a.lat),this._ne=new t.W(r.lng,r.lat)),this}getCenter(){return new t.W((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)}getSouthWest(){return this._sw}getNorthEast(){return this._ne}getNorthWest(){return new t.W(this.getWest(),this.getNorth())}getSouthEast(){return new t.W(this.getEast(),this.getSouth())}getWest(){return this._sw.lng}getSouth(){return this._sw.lat}getEast(){return this._ne.lng}getNorth(){return this._ne.lat}toArray(){return [this._sw.toArray(),this._ne.toArray()]}toString(){return `LngLatBounds(${this._sw.toString()}, ${this._ne.toString()})`}isEmpty(){return !(this._sw&&this._ne)}contains(e){const{lng:i,lat:o}=t.W.convert(e);let a=this._sw.lng<=i&&i<=this._ne.lng;return this._sw.lng>this._ne.lng&&(a=this._sw.lng>=i&&i>=this._ne.lng),this._sw.lat<=o&&o<=this._ne.lat&&a}intersects(e){if(!((e=G.convert(e)).getNorth()>=this.getSouth()&&e.getSouth()<=this.getNorth()))return !1;const i=Math.abs(this.getEast()-this.getWest()),o=Math.abs(e.getEast()-e.getWest());if(i>=360||o>=360)return !0;const a=t.X(this.getWest(),-180,180),r=t.X(this.getEast(),-180,180),s=t.X(e.getWest(),-180,180),n=t.X(e.getEast(),-180,180),l=a>r,c=s>n;return !(!l||!c)||(l?n>=a||s<=r:c?r>=s||a<=n:s<=r&&n>=a)}static convert(e){return e instanceof G?e:e?new G(e):e}static fromLngLat(e,i=0){const o=360*i/40075017,a=o/Math.cos(Math.PI/180*e.lat);return new G(new t.W(e.lng-a,e.lat-o),new t.W(e.lng+a,e.lat+o))}adjustAntiMeridian(){const e=new t.W(this._sw.lng,this._sw.lat),i=new t.W(this._ne.lng,this._ne.lat);return new G(e,e.lng>i.lng?new t.W(i.lng+360,i.lat):i)}}class V{constructor(e,t,i){this.bounds=G.convert(this.validateBounds(e)),this.minzoom=t||0,this.maxzoom=i||24;}validateBounds(e){return Array.isArray(e)&&4===e.length?[Math.max(-180,e[0]),Math.max(-90,e[1]),Math.min(180,e[2]),Math.min(90,e[3])]:[-180,-90,180,90]}contains(e){const i=Math.pow(2,e.z),o=Math.floor(t.Z(this.bounds.getWest())*i),a=Math.floor(t.Y(this.bounds.getNorth())*i),r=Math.ceil(t.Z(this.bounds.getEast())*i),s=Math.ceil(t.Y(this.bounds.getSouth())*i);return e.x>=o&&e.x=a&&e.y{this._options.tiles=e;})),this}setUrl(e){return this.setSourceProperty((()=>{this.url=e,this._options.url=e;})),this}onRemove(){this._tileJSONRequest&&(this._tileJSONRequest.abort(),this._tileJSONRequest=null);}serialize(){return t.e({},this._options)}loadTile(e){return t._(this,void 0,void 0,(function*(){const t=e.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme),i={request:yield this.map._requestManager.transformRequest(t,"Tile"),uid:e.uid,tileID:e.tileID,zoom:e.tileID.overscaledZ,tileSize:this.tileSize*e.tileID.overscaleFactor(),type:this.type,source:this.id,pixelRatio:this.map.getPixelRatio(),showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId,subdivisionGranularity:this.map.style.projection.subdivisionGranularity,encoding:this.encoding,overzoomParameters:yield this._getOverzoomParameters(e),etag:e.etag};i.request.collectResourceTiming=this._collectResourceTiming;let o="RT";if(e.actor&&"expired"!==e.state){if("loading"===e.state)return new Promise(((t,i)=>{e.reloadPromise={resolve:t,reject:i};}))}else e.actor=this.dispatcher.getActor(),o="LT";e.abortController=new AbortController;try{const t=yield e.actor.sendAsync({type:o,data:i},e.abortController);if(delete e.abortController,e.aborted)return;this._afterTileLoadWorkerResponse(e,t);const a={};return (null==t?void 0:t.etagUnmodified)&&(a.unmodified=!0),a}catch(t){if(delete e.abortController,e.aborted)return;if(t&&404!==t.status)throw t;this._afterTileLoadWorkerResponse(e,null);}}))}_getOverzoomParameters(e){return t._(this,void 0,void 0,(function*(){if(e.tileID.canonical.z<=this.maxzoom)return;if(void 0===this.map._zoomLevelsToOverscale)return;const t=e.tileID.scaledTo(this.maxzoom).canonical,i=t.url(this.tiles,this.map.getPixelRatio(),this.scheme);return {maxZoomTileID:t,overzoomRequest:yield this.map._requestManager.transformRequest(i,"Tile")}}))}_afterTileLoadWorkerResponse(e,t){if((null==t?void 0:t.resourceTiming)&&(e.resourceTiming=t.resourceTiming),t&&this.map._refreshExpiredTiles&&e.setExpiryData(t),e.etag=null==t?void 0:t.etag,e.loadVectorData(t,this.map.painter),e.reloadPromise){const t=e.reloadPromise;e.reloadPromise=null,this.loadTile(e).then(t.resolve).catch(t.reject);}}abortTile(e){return t._(this,void 0,void 0,(function*(){e.abortController&&(e.abortController.abort(),delete e.abortController),e.actor&&(yield e.actor.sendAsync({type:"AT",data:{uid:e.uid,type:this.type,source:this.id}}));}))}unloadTile(e){return t._(this,void 0,void 0,(function*(){e.unloadVectorData(),e.actor&&(yield e.actor.sendAsync({type:"RMT",data:{uid:e.uid,type:this.type,source:this.id}}));}))}hasTransition(){return !1}}class q extends t.E{constructor(e,i,o,a){super(),this.id=e,this.dispatcher=o,this.setEventedParent(a),this.type="raster",this.minzoom=0,this.maxzoom=22,this.roundZoom=!0,this.scheme="xyz",this.tileSize=512,this._loaded=!1,this._options=t.e({type:"raster"},i),t.e(this,t.V(i,["url","scheme","tileSize"]));}load(){return t._(this,arguments,void 0,(function*(e=!1){this._loaded=!1,this.fire(new t.n("dataloading",{dataType:"source"})),this._tileJSONRequest=new AbortController;try{const i=yield U(this._options,this.map._requestManager,this._tileJSONRequest,this.map._ownerWindow);this._tileJSONRequest=null,this._loaded=!0,i&&(t.e(this,i),i.bounds&&(this.tileBounds=new V(i.bounds,this.minzoom,this.maxzoom)),this.fire(new t.n("data",{dataType:"source",sourceDataType:"metadata"})),this.fire(new t.n("data",{dataType:"source",sourceDataType:"content",sourceDataChanged:e})));}catch(e){this._tileJSONRequest=null,this._loaded=!0,t.$(e)||this.fire(new t.l(t.d(e)));}}))}loaded(){return this._loaded}onAdd(e){this.map=e,this.load();}onRemove(){this._tileJSONRequest&&(this._tileJSONRequest.abort(),this._tileJSONRequest=null);}setSourceProperty(e){this._tileJSONRequest&&(this._tileJSONRequest.abort(),this._tileJSONRequest=null),e(),this.load(!0);}setTiles(e){return this.setSourceProperty((()=>{this._options.tiles=e;})),this}setUrl(e){return this.setSourceProperty((()=>{this.url=e,this._options.url=e;})),this}serialize(){return t.e({},this._options)}hasTile(e){return !this.tileBounds||this.tileBounds.contains(e.canonical)}loadTile(e){return t._(this,void 0,void 0,(function*(){const i=e.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme);e.abortController=new AbortController;try{const o=yield u.getImage(yield this.map._requestManager.transformRequest(i,"Tile"),e.abortController,this.map._refreshExpiredTiles);if(delete e.abortController,e.aborted)return void(e.state="unloaded");if(null==o?void 0:o.data){this.map._refreshExpiredTiles&&(o.cacheControl||o.expires)&&e.setExpiryData({cacheControl:o.cacheControl,expires:o.expires});const i=this.map.painter.context,a=i.gl,r=o.data;e.texture=this.map.painter.getTileTexture(r.width),e.texture?e.texture.update(r,{useMipmap:!0}):(e.texture=new t.T(i,r,a.RGBA,{useMipmap:!0}),e.texture.bind(a.LINEAR,a.CLAMP_TO_EDGE,a.LINEAR_MIPMAP_NEAREST)),e.state="loaded";}}catch(t){if(delete e.abortController,e.aborted)e.state="unloaded";else if(t)throw e.state="errored",t}}))}abortTile(e){return t._(this,void 0,void 0,(function*(){e.abortController&&(e.abortController.abort(),delete e.abortController);}))}unloadTile(e){return t._(this,void 0,void 0,(function*(){e.texture&&this.map.painter.saveTileTexture(e.texture);}))}hasTransition(){return !1}}class $ extends q{constructor(e,i,o,a){super(e,i,o,a),this.type="raster-dem",this.maxzoom=22,this._options=t.e({type:"raster-dem"},i),this.encoding=i.encoding||"mapbox",this.redFactor=i.redFactor,this.greenFactor=i.greenFactor,this.blueFactor=i.blueFactor,this.baseShift=i.baseShift;}loadTile(e){return t._(this,void 0,void 0,(function*(){const i=e.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme),o=yield this.map._requestManager.transformRequest(i,"Tile");e.neighboringTiles=this._getNeighboringTiles(e.tileID),e.abortController=new AbortController;try{const i=yield u.getImage(o,e.abortController,this.map._refreshExpiredTiles);if(delete e.abortController,e.aborted)return void(e.state="unloaded");if(null==i?void 0:i.data){const o=i.data;this.map._refreshExpiredTiles&&(i.cacheControl||i.expires)&&e.setExpiryData({cacheControl:i.cacheControl,expires:i.expires});const a=t.b(o)&&t.a0()?o:yield this.readImageNow(o),r={type:this.type,uid:e.uid,source:this.id,rawImageData:a,encoding:this.encoding,redFactor:this.redFactor,greenFactor:this.greenFactor,blueFactor:this.blueFactor,baseShift:this.baseShift};if(e.actor&&"expired"!==e.state&&"reloading"!==e.state)return;e.actor&&"expired"!==e.state||(e.actor=this.dispatcher.getActor()),e.dem=yield e.actor.sendAsync({type:"LDT",data:r}),e.needsHillshadePrepare=!0,e.needsTerrainPrepare=!0,e.state="loaded";}}catch(t){if(delete e.abortController,e.aborted)e.state="unloaded";else if(t)throw e.state="errored",t}}))}readImageNow(e){return t._(this,void 0,void 0,(function*(){if("undefined"!=typeof VideoFrame&&t.a1()){const i=e.width+2,o=e.height+2;try{return new t.R({width:i,height:o},yield t.a2(e,-1,-1,i,o))}catch(e){}}return n.getImageData(e,1)}))}_getNeighboringTiles(e){const i=e.canonical,o=Math.pow(2,i.z),a=(i.x-1+o)%o,r=0===i.x?e.wrap-1:e.wrap,s=(i.x+1+o)%o,n=i.x+1===o?e.wrap+1:e.wrap,l={};return l[new t.a3(e.overscaledZ,r,i.z,a,i.y).key]={backfilled:!1},l[new t.a3(e.overscaledZ,n,i.z,s,i.y).key]={backfilled:!1},i.y>0&&(l[new t.a3(e.overscaledZ,r,i.z,a,i.y-1).key]={backfilled:!1},l[new t.a3(e.overscaledZ,e.wrap,i.z,i.x,i.y-1).key]={backfilled:!1},l[new t.a3(e.overscaledZ,n,i.z,s,i.y-1).key]={backfilled:!1}),i.y+1e.key===i));t>-1&&e.addOrUpdateProperties.splice(t,1);}return (e.removeAllProperties||t.removeAllProperties)&&(i.removeAllProperties=!0),(e.removeProperties||t.removeProperties)&&(i.removeProperties=[...e.removeProperties||[],...t.removeProperties||[]]),(e.addOrUpdateProperties||t.addOrUpdateProperties)&&(i.addOrUpdateProperties=[...e.addOrUpdateProperties||[],...t.addOrUpdateProperties||[]]),(e.newGeometry||t.newGeometry)&&(i.newGeometry=t.newGeometry||e.newGeometry),i}function K(e){var t,i;if(!e)return {};const o={};return o.removeAll=e.removeAll,o.remove=new Set(e.remove||[]),o.add=new Map(null===(t=e.add)||void 0===t?void 0:t.map((e=>[e.id,e]))),o.update=new Map(null===(i=e.update)||void 0===i?void 0:i.map((e=>[e.id,e]))),o}function Y(e){return e&&0!==e.length?"number"==typeof e[0]?[e]:e.flatMap((e=>Y(e))):[]}function Q(e){return "GeometryCollection"===e.type?e.geometries.flatMap((e=>Q(e))):Y(e.coordinates)}function J(e){const t=new G;let i;switch(e.type){case "FeatureCollection":i=e.features.flatMap((e=>Q(e.geometry)));break;case "Feature":i=Q(e.geometry);break;default:i=Q(e);}if(0===i.length)return t;for(const e of i){const[i,o]=e;t.extend([i,o]);}return t}class ee extends t.E{constructor(e,i,o,a){super(),this.id=e,this.type="geojson",this.minzoom=0,this.maxzoom=18,this.tileSize=512,this.isTileClipped=!0,this.reparseOverscaled=!0,this._removed=!1,this._isUpdatingWorker=!1,this._pendingWorkerUpdate={data:i.data},this.actor=o.getActor(),this.setEventedParent(a),this._data="string"==typeof i.data?{url:i.data}:{geojson:i.data},this._options=t.e({},i),this._collectResourceTiming=i.collectResourceTiming,void 0!==i.maxzoom&&(this.maxzoom=i.maxzoom),i.type&&(this.type=i.type),i.attribution&&(this.attribution=i.attribution),this.promoteId=i.promoteId,void 0!==i.clusterMaxZoom&&this.maxzoom<=i.clusterMaxZoom&&t.w(`The maxzoom value "${this.maxzoom}" is expected to be greater than the clusterMaxZoom value "${i.clusterMaxZoom}".`),this.workerOptions=t.e({source:this.id,geojsonVtOptions:{buffer:this._pixelsToTileUnits(void 0!==i.buffer?i.buffer:128),tolerance:this._pixelsToTileUnits(void 0!==i.tolerance?i.tolerance:.375),extent:t.a6,maxZoom:this.maxzoom,lineMetrics:i.lineMetrics||!1,generateId:i.generateId||!1,promoteId:"string"==typeof i.promoteId?i.promoteId:void 0,cluster:i.cluster||!1,clusterOptions:{maxZoom:this._getClusterMaxZoom(i.clusterMaxZoom),minPoints:Math.max(2,i.clusterMinPoints||2),extent:t.a6,radius:this._pixelsToTileUnits(i.clusterRadius||50),log:!1,generateId:i.generateId||!1}},clusterProperties:i.clusterProperties,filter:i.filter},i.workerOptions);}_hasPendingWorkerUpdate(){return void 0!==this._pendingWorkerUpdate.data||void 0!==this._pendingWorkerUpdate.diff||this._pendingWorkerUpdate.updateCluster}_pixelsToTileUnits(e){return e*(t.a6/this.tileSize)}_getClusterMaxZoom(e){const i=e?Math.round(e):this.maxzoom-1;return Number.isInteger(e)||void 0===e||t.w(`Integer expected for option 'clusterMaxZoom': provided value "${e}" rounded to "${i}"`),i}load(){return t._(this,void 0,void 0,(function*(){yield this._updateWorkerData();}))}onAdd(e){this.map=e,this.load();}setData(e,t){this._data="string"==typeof e?{url:e}:{geojson:e},this._pendingWorkerUpdate={data:e};const i=this._updateWorkerData();return t?i:this}updateData(e,t){this._pendingWorkerUpdate.diff=function(e,t){if(!e)return t||{};if(!t)return e||{};const i=K(e),o=K(t);!function(e,t){t.removeAll&&(e.add.clear(),e.update.clear(),e.remove.clear(),t.remove.clear());for(const i of t.remove)e.add.delete(i),e.update.delete(i);for(const[i,o]of t.update){const a=e.update.get(i);a&&(t.update.set(i,X(a,o)),e.update.delete(i));}}(i,o);const a={};if((i.removeAll||o.removeAll)&&(a.removeAll=!0),a.remove=new Set([...i.remove,...o.remove]),a.add=new Map([...i.add,...o.add]),a.update=new Map([...i.update,...o.update]),a.remove.size&&a.add.size)for(const e of a.add.keys())a.remove.delete(e);return function(e){const t={};return e.removeAll&&(t.removeAll=e.removeAll),e.remove&&(t.remove=Array.from(e.remove)),e.add&&(t.add=Array.from(e.add.values())),e.update&&(t.update=Array.from(e.update.values())),t}(a)}(this._pendingWorkerUpdate.diff,e);const i=this._updateWorkerData();return t?i:this}getData(){return t._(this,void 0,void 0,(function*(){return this._data.url&&(yield this.once("data")),this._data.geojson?this._data.geojson:{type:"FeatureCollection",features:Array.from(this._data.updateable.values())}}))}getBounds(){return t._(this,void 0,void 0,(function*(){return J(yield this.getData())}))}setClusterOptions(e){return this.workerOptions.geojsonVtOptions.cluster=e.cluster,void 0!==e.clusterRadius&&(this.workerOptions.geojsonVtOptions.clusterOptions.radius=this._pixelsToTileUnits(e.clusterRadius)),void 0!==e.clusterMaxZoom&&(this.workerOptions.geojsonVtOptions.clusterOptions.maxZoom=this._getClusterMaxZoom(e.clusterMaxZoom)),this._pendingWorkerUpdate.updateCluster=!0,this._updateWorkerData(),this}getClusterExpansionZoom(e){return this.actor.sendAsync({type:"GCEZ",data:{type:this.type,clusterId:e,source:this.id}})}getClusterChildren(e){return this.actor.sendAsync({type:"GCC",data:{type:this.type,clusterId:e,source:this.id}})}getClusterLeaves(e,t,i){return this.actor.sendAsync({type:"GCL",data:{type:this.type,source:this.id,clusterId:e,limit:t,offset:i}})}_updateWorkerData(){return t._(this,void 0,void 0,(function*(){if(this._isUpdatingWorker)return;if(!this._hasPendingWorkerUpdate())return void t.w(`No pending worker updates for GeoJSONSource ${this.id}.`);const{data:e,diff:i,updateCluster:o}=this._pendingWorkerUpdate,a=this._getLoadGeoJSONParameters(e,i,o);void 0!==e?this._pendingWorkerUpdate.data=void 0:i?this._pendingWorkerUpdate.diff=void 0:o&&(this._pendingWorkerUpdate.updateCluster=void 0),yield this._dispatchWorkerUpdate(a);}))}_getLoadGeoJSONParameters(e,i,o){return t._(this,void 0,void 0,(function*(){const a=t.e({type:this.type},this.workerOptions);return "string"==typeof e?(a.request=yield this.map._requestManager.transformRequest(n.resolveURL(e),"Source"),a.request.collectResourceTiming=this._collectResourceTiming,a):void 0!==e?(a.data=e,a):i?(a.dataDiff=i,a):o?(a.updateCluster=!0,a):void 0}))}_dispatchWorkerUpdate(e){return t._(this,void 0,void 0,(function*(){this._isUpdatingWorker=!0,this.fire(new t.n("dataloading",{dataType:"source"}));try{const i=yield e,o=yield this.actor.sendAsync({type:"LD",data:i});if(this._isUpdatingWorker=!1,this._removed||o.abandoned)return void this.fire(new t.n("dataabort",{dataType:"source"}));o.data&&(this._data={geojson:o.data});const a=this._applyDiffToSource(i.dataDiff),r=this._getShouldReloadTileOptions(a),s={dataType:"source"};this._applyResourceTiming(s,o),this.fire(new t.n("data",Object.assign(Object.assign({},s),{sourceDataType:"metadata"}))),this.fire(new t.n("data",Object.assign(Object.assign({},s),{sourceDataType:"content",shouldReloadTileOptions:r})));}catch(e){if(this._isUpdatingWorker=!1,this._removed)return void this.fire(new t.n("dataabort",{dataType:"source"}));this.fire(new t.l(t.d(e)));}finally{this._hasPendingWorkerUpdate()&&this._updateWorkerData();}}))}_applyResourceTiming(e,i){var o;if(!this._collectResourceTiming)return;const a=null===(o=i.resourceTiming)||void 0===o?void 0:o[this.id];if(!a)return;const r=a.slice(0);(null==r?void 0:r.length)&&t.e(e,{resourceTiming:r});}_applyDiffToSource(e){if(!e)return;const t="string"==typeof this.promoteId?this.promoteId:void 0;if(!this._data.url&&!this._data.updateable){const e=function(e,t){const i=new Map;if(null==e)return i;if(null==e.type)return i;if("Feature"===e.type){const o=H(e,t);if(null==o)return;return i.set(o,e),i}if("FeatureCollection"===e.type){const o=new Set;for(const a of e.features){const e=H(a,t);if(null==e)return;if(o.has(e))return;o.add(e),i.set(e,a);}return i}}(this._data.geojson,t);if(!e)throw new Error(`GeoJSONSource "${this.id}": GeoJSON data is not compatible with updateData`);this._data={updateable:e};}if(!this._data.updateable)return;const i=function(e,t,i){var o,a;const r=[];if(t.removeAll)e.clear();else if(t.remove)for(const i of t.remove){const t=e.get(i);t&&(r.push(t.geometry),e.delete(i));}if(t.add)for(const o of t.add){const t=H(o,i);if(null==t)continue;const a=e.get(t);a&&r.push(a.geometry),r.push(o.geometry),e.set(t,o);}if(t.update)for(const i of t.update){const t=e.get(i.id);if(!t)continue;const s=!!i.newGeometry,n=i.removeAllProperties||(null===(o=i.removeProperties)||void 0===o?void 0:o.length)>0||(null===(a=i.addOrUpdateProperties)||void 0===a?void 0:a.length)>0;if(!s&&!n)continue;r.push(t.geometry);const l=Object.assign({},t);if(e.set(i.id,l),s&&(r.push(i.newGeometry),l.geometry=i.newGeometry),n){if(l.properties=i.removeAllProperties?{}:Object.assign({},l.properties||{}),i.removeProperties)for(const e of i.removeProperties)delete l.properties[e];if(i.addOrUpdateProperties)for(const{key:e,value:t}of i.addOrUpdateProperties)l.properties[e]=t;}}return r}(this._data.updateable,e,t);return e.removeAll||this._options.cluster?void 0:i}_getShouldReloadTileOptions(e){if(e)return {affectedBounds:e.filter(Boolean).map((e=>J(e)))}}shouldReloadTile(e,{affectedBounds:i}){if("loading"===e.state)return !0;if("unloaded"===e.state)return !1;const{buffer:o,extent:a}=this.workerOptions.geojsonVtOptions,r=function({x:e,y:i,z:o},a=0){const r=t.a4((e-a)/Math.pow(2,o)),s=t.a5((i+1+a)/Math.pow(2,o)),n=t.a4((e+1+a)/Math.pow(2,o)),l=t.a5((i-a)/Math.pow(2,o));return new G([r,s],[n,l])}(e.tileID.canonical,o/a);for(const e of i)if(r.intersects(e))return !0;return !1}loaded(){return !this._isUpdatingWorker&&!this._hasPendingWorkerUpdate()}loadTile(e){return t._(this,void 0,void 0,(function*(){const t=e.actor?"RT":"LT";e.actor=this.actor;const i={type:this.type,uid:e.uid,tileID:e.tileID,zoom:e.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:this.map.getPixelRatio(),showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId,subdivisionGranularity:this.map.style.projection.subdivisionGranularity};e.abortController=new AbortController;const o=yield this.actor.sendAsync({type:t,data:i},e.abortController);delete e.abortController,e.unloadVectorData(),e.aborted||e.loadVectorData(o,this.map.painter,"RT"===t);}))}abortTile(e){return t._(this,void 0,void 0,(function*(){e.abortController&&(e.abortController.abort(),delete e.abortController),e.aborted=!0;}))}unloadTile(e){return t._(this,void 0,void 0,(function*(){e.unloadVectorData(),yield this.actor.sendAsync({type:"RMT",data:{uid:e.uid,type:this.type,source:this.id}});}))}onRemove(){this._removed=!0,this.actor.sendAsync({type:"RS",data:{type:this.type,source:this.id}});}serialize(){return t.e({},this._options,{type:this.type,data:this._data.updateable?{type:"FeatureCollection",features:Array.from(this._data.updateable.values())}:this._data.url||this._data.geojson})}hasTransition(){return !1}}class te extends t.E{constructor(e,t,i,o){super(),this.flippedWindingOrder=!1,this.id=e,this.dispatcher=i,this.coordinates=t.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(o),this.options=t;}load(e){return t._(this,void 0,void 0,(function*(){this._loaded=!1,this.fire(new t.n("dataloading",{dataType:"source"})),this.url=this.options.url,this._request=new AbortController;try{const t=yield u.getImage(yield this.map._requestManager.transformRequest(this.url,"Image"),this._request);this._request=null,this._loaded=!0,(null==t?void 0:t.data)&&(this.image=t.data,e&&(this.coordinates=e),this._finishLoading());}catch(e){this._request=null,this._loaded=!0,t.$(e)||this.fire(new t.l(t.d(e)));}}))}loaded(){return this._loaded}updateImage(e){return e.url?(this._request&&(this._request.abort(),this._request=null),this.options.url=e.url,this.load(e.coordinates).finally((()=>this.texture=null)),this):this}_finishLoading(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new t.n("data",{dataType:"source",sourceDataType:"metadata"})));}onAdd(e){this.map=e,this.load();}onRemove(){this._request&&(this._request.abort(),this._request=null);}setCoordinates(e){this.coordinates=e;const i=e.map(t.a7.fromLngLat);var o;return this.tileID=function(e){const i=t.a8.fromPoints(e),o=i.width(),a=i.height(),r=Math.max(o,a),s=Math.max(0,Math.floor(-Math.log(r)/Math.LN2)),n=Math.pow(2,s);return new t.aa(s,Math.floor((i.minX+i.maxX)/2*n),Math.floor((i.minY+i.maxY)/2*n))}(i),this.terrainTileRanges=this._getOverlappingTileRanges(i),this.minzoom=this.maxzoom=this.tileID.z,this.tileCoords=i.map((e=>this.tileID.getTilePoint(e)._round())),this.flippedWindingOrder=((o=this.tileCoords)[1].x-o[0].x)*(o[2].y-o[0].y)-(o[1].y-o[0].y)*(o[2].x-o[0].x)<0,this.fire(new t.n("data",{dataType:"source",sourceDataType:"content"})),this}prepare(){if(0===Object.keys(this.tiles).length||!this.image)return;const e=this.map.painter.context,i=e.gl;this.texture||(this.texture=new t.T(e,this.image,i.RGBA),this.texture.bind(i.LINEAR,i.CLAMP_TO_EDGE));let o=!1;for(const e in this.tiles){const t=this.tiles[e];"loaded"!==t.state&&(t.state="loaded",t.texture=this.texture,o=!0);}o&&this.fire(new t.n("data",{dataType:"source",sourceDataType:"idle",sourceId:this.id}));}loadTile(e){return t._(this,void 0,void 0,(function*(){var t;(null===(t=this.tileID)||void 0===t?void 0:t.equals(e.tileID.canonical))?(this.tiles[String(e.tileID.wrap)]=e,e.buckets={}):e.state="errored";}))}serialize(){return {type:"image",url:this.options.url,coordinates:this.coordinates}}hasTransition(){return !1}_getOverlappingTileRanges(e){const{minX:i,minY:o,maxX:a,maxY:r}=t.a8.fromPoints(e),s={};for(let e=0;e<=t.a9;e++){const t=Math.pow(2,e),n=Math.floor(i*t),l=Math.floor(o*t),c=Math.floor(a*t),h=Math.floor(r*t),u=(n%t+t)%t,d=c%t,_=Math.floor(n/t),p=Math.floor(c/t);s[e]={minWrap:_,maxWrap:p,minTileXWrapped:u,maxTileXWrapped:d,minTileY:l,maxTileY:h};}return s}}class ie extends te{constructor(e,t,i,o){super(e,t,i,o),this._onPlayingHandler=()=>{var e;null===(e=this.map)||void 0===e||e.triggerRepaint();},this.roundZoom=!0,this.type="video",this.options=t;}load(){return t._(this,void 0,void 0,(function*(){this._loaded=!1;const e=this.options;this.urls=[];for(const t of e.urls)this.urls.push((yield this.map._requestManager.transformRequest(t,"Source")).url);try{const e=yield t.ab(this.urls);if(this._loaded=!0,!e)return;this.video=e,this.video.loop=!0,this.video.addEventListener("playing",this._onPlayingHandler),this.map&&this.video.play(),this._finishLoading();}catch(e){this.fire(new t.l(t.d(e)));}}))}pause(){this.video&&this.video.pause();}play(){this.video&&this.video.play();}seek(e){if(this.video){const i=this.video.seekable;ei.end(0)?this.fire(new t.l(new t.ac(`sources.${this.id}`,null,`Playback for this video can be set only between the ${i.start(0)} and ${i.end(0)}-second mark.`))):this.video.currentTime=e;}}getVideo(){return this.video}onAdd(e){this.map||(this.map=e,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)));}onRemove(){super.onRemove(),this.video&&(this.video.removeEventListener("playing",this._onPlayingHandler),this.video.pause());}prepare(){if(0===Object.keys(this.tiles).length||this.video.readyState<2)return;const e=this.map.painter.context,i=e.gl;this.texture?this.video.paused||(this.texture.bind(i.LINEAR,i.CLAMP_TO_EDGE),i.texSubImage2D(i.TEXTURE_2D,0,0,0,i.RGBA,i.UNSIGNED_BYTE,this.video)):(this.texture=new t.T(e,this.video,i.RGBA),this.texture.bind(i.LINEAR,i.CLAMP_TO_EDGE));let o=!1;for(const e in this.tiles){const t=this.tiles[e];"loaded"!==t.state&&(t.state="loaded",t.texture=this.texture,o=!0);}o&&this.fire(new t.n("data",{dataType:"source",sourceDataType:"idle",sourceId:this.id}));}serialize(){return {type:"video",urls:this.urls,coordinates:this.coordinates}}hasTransition(){return this.video&&!this.video.paused}}class oe extends te{constructor(e,i,o,a){super(e,i,o,a),i.coordinates?Array.isArray(i.coordinates)&&4===i.coordinates.length&&!i.coordinates.some((e=>!Array.isArray(e)||2!==e.length||e.some((e=>"number"!=typeof e))))||this.fire(new t.l(new t.ac(`sources.${e}`,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new t.l(new t.ac(`sources.${e}`,null,'missing required property "coordinates"'))),i.animate&&"boolean"!=typeof i.animate&&this.fire(new t.l(new t.ac(`sources.${e}`,null,'optional "animate" property must be a boolean value'))),i.canvas?"string"==typeof i.canvas||i.canvas instanceof HTMLCanvasElement||this.fire(new t.l(new t.ac(`sources.${e}`,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new t.l(new t.ac(`sources.${e}`,null,'missing required property "canvas"'))),this.options=i,this.animate=void 0===i.animate||i.animate;}load(){return t._(this,void 0,void 0,(function*(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof HTMLCanvasElement?this.options.canvas:document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new t.l(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint();},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1);},this._finishLoading());}))}getCanvas(){return this.canvas}onAdd(e){this.map=e,this.load(),this.canvas&&this.animate&&this.play();}onRemove(){this.pause();}prepare(){let e=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,e=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,e=!0),this._hasInvalidDimensions())return;if(0===Object.keys(this.tiles).length)return;const i=this.map.painter.context,o=i.gl;this.texture?(e||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):(this.texture=new t.T(i,this.canvas,o.RGBA,{premultiply:!0}),this.texture.bind(o.LINEAR,o.CLAMP_TO_EDGE));let a=!1;for(const e in this.tiles){const t=this.tiles[e];"loaded"!==t.state&&(t.state="loaded",t.texture=this.texture,a=!0);}a&&this.fire(new t.n("data",{dataType:"source",sourceDataType:"idle",sourceId:this.id}));}serialize(){return {type:"canvas",animate:this.animate,canvas:this.options.canvas,coordinates:this.coordinates}}hasTransition(){return this._playing}_hasInvalidDimensions(){for(const e of [this.canvas.width,this.canvas.height])if(isNaN(e)||e<=0)return !0;return !1}}const ae={},re=e=>{switch(e){case "geojson":return ee;case "image":return te;case "raster":return q;case "raster-dem":return $;case "vector":return W;case "video":return ie;case "canvas":return oe}return ae[e]},se="RTLPluginLoaded";class ne extends t.E{constructor(){super(...arguments),this.status="unavailable",this.url=null,this.dispatcher=B();}_syncState(e){return this.status=e,this.dispatcher.broadcast("SRPS",{pluginStatus:e,pluginURL:this.url}).catch((e=>{throw this.status="error",e}))}getRTLTextPluginStatus(){return this.status}clearRTLTextPlugin(){this.status="unavailable",this.url=null;}setRTLTextPlugin(e){return t._(this,arguments,void 0,(function*(e,t=!1){if(this.url)throw new Error("setRTLTextPlugin cannot be called multiple times.");if(this.url=n.resolveURL(e),!this.url)throw new Error(`requested url ${e} is invalid`);if("unavailable"===this.status){if(!t)return this._requestImport();this.status="deferred",this._syncState(this.status);}else if("requested"===this.status)return this._requestImport()}))}_requestImport(){return t._(this,void 0,void 0,(function*(){yield this._syncState("loading"),this.status="loaded",this.fire(new t.n(se));}))}lazyLoad(){"unavailable"===this.status?this.status="requested":"deferred"===this.status&&this._requestImport();}}let le=null;function ce(){return le||(le=new ne),le}var he,ue;!function(e){e[e.Base=0]="Base",e[e.Parent=1]="Parent";}(he||(he={})),function(e){e[e.Departing=0]="Departing",e[e.Incoming=1]="Incoming";}(ue||(ue={}));class de{constructor(e,i){this.timeAdded=0,this.fadeEndTime=0,this.fadeOpacity=1,this.tileID=e,this.uid=t.ad(),this.uses=0,this.tileSize=i,this.buckets={},this.expirationTime=null,this.queryPadding=0,this.hasSymbolBuckets=!1,this.hasRTLText=!1,this.dependencies={},this.rtt=[],this.rttFingerprint={},this.expiredRequestCount=0,this.state="loading";}isRenderable(e){return this.hasData()&&(!this.fadeEndTime||this.fadeOpacity>0)&&(e||!this.holdingForSymbolFade())}setCrossFadeLogic({fadingRole:e,fadingDirection:t,fadingParentID:i,fadeEndTime:o}){this.resetFadeLogic(),this.fadingRole=e,this.fadingDirection=t,this.fadingParentID=i,this.fadeEndTime=o;}setSelfFadeLogic(e){this.resetFadeLogic(),this.selfFading=!0,this.fadeEndTime=e;}resetFadeLogic(){this.fadingRole=null,this.fadingDirection=null,this.fadingParentID=null,this.selfFading=!1,this.timeAdded=c(),this.fadeEndTime=0,this.fadeOpacity=1;}wasRequested(){return "errored"===this.state||"loaded"===this.state||"reloading"===this.state}clearTextures(e){this.demTexture&&e.saveTileTexture(this.demTexture),this.demTexture=null;}loadVectorData(e,i,o){if(!0!==(null==e?void 0:e.etagUnmodified))if(this.hasData()&&this.unloadVectorData(),this.state="loaded",e){e.featureIndex&&(this.latestFeatureIndex=e.featureIndex,e.rawTileData?(this.latestRawTileData=e.rawTileData,this.latestEncoding=e.encoding,this.latestFeatureIndex.rawTileData=e.rawTileData,this.latestFeatureIndex.encoding=e.encoding):this.latestRawTileData&&(this.latestFeatureIndex.rawTileData=this.latestRawTileData,this.latestFeatureIndex.encoding=this.latestEncoding)),this.collisionBoxArray=e.collisionBoxArray,this.buckets=function(e,t){const i={};if(!t)return i;for(const o of e){const e=o.layerIds.map((e=>t.getLayer(e))).filter(Boolean);if(0!==e.length){o.layers=e,o.stateDependentLayerIds&&(o.stateDependentLayers=o.stateDependentLayerIds.map((t=>e.filter((e=>e.id===t))[0])));for(const t of e)i[t.id]=o;}}return i}(e.buckets,null==i?void 0:i.style),this.hasSymbolBuckets=!1;for(const e in this.buckets){const i=this.buckets[e];if(i instanceof t.af){if(this.hasSymbolBuckets=!0,!o)break;i.justReloaded=!0;}}if(this.hasRTLText=!1,this.hasSymbolBuckets)for(const e in this.buckets){const i=this.buckets[e];if(i instanceof t.af&&i.hasRTLText){this.hasRTLText=!0,ce().lazyLoad();break}}this.queryPadding=0;for(const e in this.buckets){const t=this.buckets[e];this.queryPadding=Math.max(this.queryPadding,i.style.getLayer(e).queryRadius(t));}e.imageAtlas&&(this.imageAtlas=e.imageAtlas),e.glyphAtlasImage&&(this.glyphAtlasImage=e.glyphAtlasImage),this.dashPositions=e.dashPositions;}else this.collisionBoxArray=new t.ae;else this.state="loaded";}unloadVectorData(){for(const e in this.buckets)this.buckets[e].destroy();this.buckets={},this.imageAtlasTexture&&this.imageAtlasTexture.destroy(),this.glyphAtlasTexture&&this.glyphAtlasTexture.destroy(),this.imageAtlas=null,this.dashPositions=null,this.latestFeatureIndex=null,this.state="unloaded";}getBucket(e){return this.buckets[e.id]}upload(e){for(const t in this.buckets){const i=this.buckets[t];i.uploadPending()&&i.upload(e);}const i=e.gl;this.imageAtlas&&!this.imageAtlas.uploaded&&(this.imageAtlasTexture=new t.T(e,this.imageAtlas.image,i.RGBA),this.imageAtlas.uploaded=!0),this.glyphAtlasImage&&(this.glyphAtlasTexture=new t.T(e,this.glyphAtlasImage,i.ALPHA),this.glyphAtlasImage=null);}prepare(e){this.imageAtlas&&this.imageAtlas.patchUpdatedImages(e,this.imageAtlasTexture);}queryRenderedFeatures(e,t,i,o,a,r,s,n,l,c,h){var u;return (null===(u=this.latestFeatureIndex)||void 0===u?void 0:u.rawTileData)?this.latestFeatureIndex.query({queryGeometry:o,cameraQueryGeometry:a,scale:r,tileSize:this.tileSize,pixelPosMatrix:c,transform:n,params:s,queryPadding:this.queryPadding*l,getElevation:h},e,t,i):{}}querySourceFeatures(e,i){const o=this.latestFeatureIndex;if(!(null==o?void 0:o.rawTileData))return;const a=o.loadVTLayers(),r=(null==i?void 0:i.sourceLayer)?i.sourceLayer:"",s=a[t.ag]||a[r];if(!s)return;const n=t.ah(null==i?void 0:i.filter,null==i?void 0:i.globalState),{z:l,x:c,y:h}=this.tileID.canonical,u={z:l,x:c,y:h};for(let i=0;ie)t=!1;else if(i)if(this.expirationTime({zoom:0,x:0,y:0,wrap:e,fullyVisible:!1}),b=[],y=[];if(e.renderWorldCopies&&n.allowWorldCopies())for(let e=1;e<=3;e++)b.push(x(-e)),b.push(x(e));for(b.push(x(0));b.length>0;){const _=b.pop(),f=_.x,x=_.y;let w=_.fullyVisible;const T={x:f,y:x,z:_.zoom},P=n.getTileBoundingVolume(T,_.wrap,e.elevation,i);if(!w){const e=ye(o,P,a);if(0===e)continue;w=2===e;}const C=n.distanceToTile2d(r.x,r.y,T,P);let M=c;l&&(M=(i.calculateTileZoom||Pe)(e.zoom+t.ar(e.tileSize/i.tileSize),C,g,v,e.fov)),M=(i.roundZoom?Math.round:Math.floor)(M),M=Math.max(0,M);const I=Math.min(M,u);if(_.wrap=n.getWrap(s,T,_.wrap),_.zoom>=I){if(_.zoom>1),wrap:_.wrap,fullyVisible:w});}return y.sort(((e,t)=>e.distanceSq-t.distanceSq)).map((e=>e.tileID))}const Ie=t.a8.fromPoints([new t.P(0,0),new t.P(t.a6,t.a6)]);function Ee(e){return "raster"===e||"image"===e||"video"===e}function Se(e,t,i,o,a,r,s){if(!t.hasData())return !1;const{tileID:n,fadingRole:l,fadingDirection:c,fadingParentID:h}=t;if(l===he.Base&&c===ue.Incoming&&h)return i[h.key]=h,!0;const u=Math.max(n.overscaledZ-a,r);for(let a=n.overscaledZ-1;a>=u;a--){const r=n.scaledTo(a),l=e.getLoadedTile(r);if(l)return t.setCrossFadeLogic({fadingRole:he.Base,fadingDirection:ue.Incoming,fadingParentID:l.tileID,fadeEndTime:o+s}),l.setCrossFadeLogic({fadingRole:he.Parent,fadingDirection:ue.Departing,fadeEndTime:o+s}),i[r.key]=r,!0}return !1}function ze(e,t,i,o,a,r){if(!t.hasData())return !1;const s=t.tileID.children(a);let n=Re(e,t,s,i,o,a,r);if(n)return !0;for(const l of s)Re(e,t,l.children(a),i,o,a,r)&&(n=!0);return n}function Re(e,t,i,o,a,r,s){if(i[0].overscaledZ>=r)return !1;let n=!1;for(const r of i){const i=e.getLoadedTile(r);if(!i)continue;const{fadingRole:l,fadingDirection:c,fadingParentID:h}=i;l===he.Base&&c===ue.Departing&&h||(i.setCrossFadeLogic({fadingRole:he.Base,fadingDirection:ue.Departing,fadingParentID:t.tileID,fadeEndTime:a+s}),t.setCrossFadeLogic({fadingRole:he.Parent,fadingDirection:ue.Incoming,fadeEndTime:a+s})),o[r.key]=r,n=!0;}return n}function De(e,t,i,o){const a=e.tileID;return !!e.selfFading||!e.hasData()&&!!t.has(a)&&(e.setSelfFadeLogic(i+o),!0)}function Ae(e,t){var i;e.needsHillshadePrepare=!0,e.needsTerrainPrepare=!0;let o=t.tileID.canonical.x-e.tileID.canonical.x;const a=t.tileID.canonical.y-e.tileID.canonical.y,r=Math.pow(2,e.tileID.canonical.z),s=t.tileID.key;0===o&&0===a||Math.abs(a)>1||(Math.abs(o)>1&&(1===Math.abs(o+r)?o+=r:1===Math.abs(o-r)&&(o-=r)),t.dem&&e.dem&&(e.dem.backfillBorder(t.dem,o,a),(null===(i=e.neighboringTiles)||void 0===i?void 0:i[s])&&(e.neighboringTiles[s].backfilled=!0)));}class Le{constructor(){this._tiles={};}handleWrapJump(e){const t={};for(const i in this._tiles){const o=this._tiles[i];o.tileID=o.tileID.unwrapTo(o.tileID.wrap+e),t[o.tileID.key]=o;}this._tiles=t;}setFeatureState(e,t){for(const i in this._tiles)this._tiles[i].setFeatureState(e,t);}getAllTiles(){return Object.values(this._tiles)}getAllIds(e=!1){return e?Object.values(this._tiles).map((e=>e.tileID)).sort(t.au).map((e=>e.key)):Object.keys(this._tiles)}getTileById(e){return this._tiles[e]}setTile(e,t){this._tiles[e]=t;}deleteTileById(e){delete this._tiles[e];}getLoadedTile(e){const t=this.getTileById(e.key);return (null==t?void 0:t.hasData())?t:null}isIdRenderable(e,t=!1){var i;return null===(i=this.getTileById(e))||void 0===i?void 0:i.isRenderable(t)}getRenderableIds(e=0,i){const o=[];for(const e of this.getAllIds())this.isIdRenderable(e,i)&&o.push(this.getTileById(e));return i?o.sort(((i,o)=>{const a=i.tileID,r=o.tileID,s=new t.P(a.canonical.x,a.canonical.y)._rotate(-e),n=new t.P(r.canonical.x,r.canonical.y)._rotate(-e);return a.overscaledZ-r.overscaledZ||n.y-s.y||n.x-s.x})).map((e=>e.tileID.key)):o.map((e=>e.tileID)).sort(t.au).map((e=>e.key))}}class Fe extends t.E{constructor(e,i,o){super(),this.id=e,this.dispatcher=o,this.on("data",(e=>{this._dataHandler(e);})),this.on("dataloading",(()=>{this._sourceErrored=!1;})),this.on("error",(()=>{this._sourceErrored=this._source.loaded();})),this._source=((e,t,i,o)=>{const a=new(re(t.type))(e,t,i,o);if(a.id!==e)throw new Error(`Expected Source id to be ${e} instead of ${a.id}`);return a})(e,i,o,this),this._inViewTiles=new Le,this._outOfViewCache=new t.av(0,(e=>this._unloadTile(e))),this._timers={},this._maxTileCacheSize=null,this._maxTileCacheZoomLevels=null,this._rasterFadeDuration=0,this._maxFadingAncestorLevels=5,this._state=new _e,this._didEmitContent=!1,this._updated=!1;}onAdd(e){var t;this.map=e,this._maxTileCacheSize=e?e._maxTileCacheSize:null,this._maxTileCacheZoomLevels=e?e._maxTileCacheZoomLevels:null,(null===(t=this._source)||void 0===t?void 0:t.onAdd)&&this._source.onAdd(e);}onRemove(e){var t;for(const e of this._inViewTiles.getAllTiles())e.unloadVectorData();this.clearTiles(),(null===(t=this._source)||void 0===t?void 0:t.onRemove)&&this._source.onRemove(e),this._inViewTiles=new Le;}loaded(){if(this._sourceErrored)return !0;if(!this._sourceLoaded)return !1;if(!this._source.loaded())return !1;if(!(void 0===this.used&&void 0===this.usedForTerrain||this.used||this.usedForTerrain))return !0;if(!this._updated)return !1;for(const e of this._inViewTiles.getAllTiles())if("loaded"!==e.state&&"errored"!==e.state)return !1;return !0}getSource(){return this._source}getState(){return this._state}pause(){this._paused=!0;}resume(){if(!this._paused)return;const e=this._shouldReloadOnResume;this._paused=!1,this._shouldReloadOnResume=!1,e&&this.reload(),this.transform&&this.update(this.transform,this.terrain);}_loadTile(e,i,o){return t._(this,void 0,void 0,(function*(){try{const t=yield this._source.loadTile(e);this._tileLoaded(e,i,o,t);}catch(i){e.state="errored",404!==i.status?this._source.fire(new t.l(t.d(i),{tile:e})):this.update(this.transform,this.terrain);}}))}_unloadTile(e){this._source.unloadTile&&this._source.unloadTile(e);}_abortTile(e){this._source.abortTile&&this._source.abortTile(e),this._source.fire(new t.n("dataabort",{tile:e,coord:e.tileID,dataType:"source"}));}serialize(){return this._source.serialize()}prepare(e){this._source.prepare&&this._source.prepare(),this._state.coalesceChanges(this._inViewTiles,this.map?this.map.painter:null);for(const t of this._inViewTiles.getAllTiles())t.upload(e),t.prepare(this.map.style.imageManager);}getIds(){return this._inViewTiles.getAllIds(!0)}getRenderableIds(e){var t;return this._inViewTiles.getRenderableIds(null===(t=this.transform)||void 0===t?void 0:t.bearingInRadians,e)}hasRenderableParent(e){const t=e.overscaledZ-1;if(t>=this._source.minzoom){const i=this.getLoadedTile(e.scaledTo(t));if(i)return this._inViewTiles.isIdRenderable(i.tileID.key)}return !1}reload(e,t=void 0){if(this._paused)this._shouldReloadOnResume=!0;else {this._outOfViewCache.reset();for(const i of this._inViewTiles.getAllIds()){const o=this._inViewTiles.getTileById(i);t&&!this._source.shouldReloadTile(o,t)||(e?this._reloadTile(i,"expired"):"errored"!==o.state&&this._reloadTile(i,"reloading"));}}}_reloadTile(e,i){return t._(this,void 0,void 0,(function*(){const t=this._inViewTiles.getTileById(e);t&&("loading"!==t.state&&(t.state=i),yield this._loadTile(t,e,i));}))}_tileLoaded(e,i,o,a){e.timeAdded=c(),e.selfFading&&(e.fadeEndTime=e.timeAdded+this._rasterFadeDuration),"expired"===o&&(e.refreshedUponExpiration=!0),this._setTileReloadTimer(i,e),(null==a?void 0:a.unmodified)||("raster-dem"===this.getSource().type&&e.dem&&function(e,t){var i,o,a;const r=t.getRenderableIds();for(const s of r){if(!(null===(i=e.neighboringTiles)||void 0===i?void 0:i[s]))continue;const r=t.getTileById(s);e.neighboringTiles[s].backfilled||Ae(e,r),(null===(a=null===(o=r.neighboringTiles)||void 0===o?void 0:o[e.tileID.key])||void 0===a?void 0:a.backfilled)||Ae(r,e);}}(e,this._inViewTiles),this._state.initializeTileState(e,this.map?this.map.painter:null),e.aborted||this._source.fire(new t.n("data",{dataType:"source",tile:e,coord:e.tileID})));}getTile(e){return this.getTileByID(e.key)}getTileByID(e){return this._inViewTiles.getTileById(e)}_retainLoadedChildren(e,t){const i=this._getLoadedDescendents(t),o=new Set;for(const a of t){const t=i[a.key];if(!(null==t?void 0:t.length)){o.add(a);continue}const r=a.overscaledZ+Fe.maxOverzooming,s=t.filter((e=>e.tileID.overscaledZ<=r));if(!s.length){o.add(a);continue}const n=Math.min(...s.map((e=>e.tileID.overscaledZ))),l=s.filter((e=>e.tileID.overscaledZ===n)).map((e=>e.tileID));for(const t of l)e[t.key]=t;this._areDescendentsComplete(l,n,a.overscaledZ)||o.add(a);}return o}_getLoadedDescendents(e){var t;const i={};for(const o of this._inViewTiles.getAllTiles().filter((e=>e.hasData())))for(const a of e)o.tileID.isChildOf(a)&&(i[t=a.key]||(i[t]=[]),i[a.key].push(o));return i}_areDescendentsComplete(e,t,i){return 1===e.length&&e[0].isOverscaled()?e[0].overscaledZ===t:Math.pow(4,t-i)===e.length}getLoadedTile(e){return this._inViewTiles.getLoadedTile(e)}updateCacheSize(e){const i=Math.ceil(e.width/this._source.tileSize)+1,o=Math.ceil(e.height/this._source.tileSize)+1,a=Math.floor(i*o*(null===this._maxTileCacheZoomLevels?t.c.MAX_TILE_CACHE_ZOOM_LEVELS:this._maxTileCacheZoomLevels)),r="number"==typeof this._maxTileCacheSize?Math.min(this._maxTileCacheSize,a):a;this._outOfViewCache.setMaxSize(r);}handleWrapJump(e){const t=Math.round((e-(void 0===this._prevLng?e:this._prevLng))/360);this._prevLng=e,t&&(this._inViewTiles.handleWrapJump(t),this._resetTileReloadTimers());}update(e,i){if(!this._sourceLoaded||this._paused)return;let o;this.transform=e,this.terrain=i,this.updateCacheSize(e),this.handleWrapJump(this.transform.center.lng),this.used||this.usedForTerrain?this._source.tileID?o=e.getVisibleUnwrappedCoordinates(this._source.tileID).map((e=>new t.a3(e.canonical.z,e.wrap,e.canonical.z,e.canonical.x,e.canonical.y))):(o=Me(e,{tileSize:this.usedForTerrain?this.tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:"vector"===this._source.type&&void 0!==this.map._zoomLevelsToOverscale?e.maxZoom-this.map._zoomLevelsToOverscale:this._source.maxzoom,roundZoom:!this.usedForTerrain&&this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled,terrain:i,calculateTileZoom:this._source.calculateTileZoom}),this._source.hasTile&&(o=o.filter((e=>this._source.hasTile(e))))):o=[],this.usedForTerrain&&(o=this._addTerrainIdealTiles(o));const a=0===o.length&&!this._updated&&this._didEmitContent;this._updated=!0,a&&this.fire(new t.n("data",{sourceDataType:"idle",dataType:"source",sourceId:this.id}));const r=Ce(e,this._source),s=this._updateRetainedTiles(o,r),n=Ee(this._source.type);n&&this._rasterFadeDuration>0&&!i&&function(e,i,o,a,r,s,n){const l=c(),h=t.at(i);for(const t of i){const i=e.getTileById(t.key);i.fadingDirection!==ue.Departing&&0!==i.fadeOpacity||i.resetFadeLogic(),Se(e,i,o,l,a,r,n)||ze(e,i,o,l,s,n)||De(i,h,l,n)||i.resetFadeLogic();}}(this._inViewTiles,o,s,this._maxFadingAncestorLevels,this._source.minzoom,this._source.maxzoom,this._rasterFadeDuration),n?this._cleanUpRasterTiles(s):this._cleanUpVectorTiles(s);}_cleanUpRasterTiles(e){for(const t of this._inViewTiles.getAllIds())e[t]||this._removeTile(t);}_cleanUpVectorTiles(e){for(const t of this._inViewTiles.getAllIds()){const i=this._inViewTiles.getTileById(t);e[t]?i.clearSymbolFadeHold():i.hasSymbolBuckets?i.holdingForSymbolFade()?i.symbolFadeFinished()&&this._removeTile(t):i.setSymbolHoldDuration(this.map._fadeDuration):this._removeTile(t);}}_addTerrainIdealTiles(e){const t=[];for(const i of e)if(i.canonical.z>this._source.minzoom){const e=i.scaledTo(i.canonical.z-1);t.push(e);const o=i.scaledTo(Math.max(this._source.minzoom,Math.min(i.canonical.z,5)));t.push(o);}return e.concat(t)}releaseSymbolFadeTiles(){for(const e of this._inViewTiles.getAllIds())this._inViewTiles.getTileById(e).holdingForSymbolFade()&&this._removeTile(e);}_updateRetainedTiles(e,t){var i;const o=new Set;for(const t of e)this._addTile(t).hasData()||o.add(t);const a=e.reduce(((e,t)=>(e[t.key]=t,e)),{}),r=this._retainLoadedChildren(a,o),s={},n=Math.max(t-Fe.maxUnderzooming,this._source.minzoom);for(const e of r){let t=this._inViewTiles.getTileById(e.key),o=null==t?void 0:t.wasRequested();for(let r=e.overscaledZ-1;r>=n;--r){const n=e.scaledTo(r);if(s[n.key])break;if(s[n.key]=!0,t=this.getTile(n),!t&&o&&(t=this._addTile(n)),t){const e=t.hasData();if((e||!(null===(i=this.map)||void 0===i?void 0:i.cancelPendingTileRequestsWhileZooming)||o)&&(a[n.key]=n),o=t.wasRequested(),e)break}}}return a}_addTile(e){let i=this._inViewTiles.getTileById(e.key);if(i)return i;i=this._outOfViewCache.getAndRemove(e),i&&(i.resetFadeLogic(),this._setTileReloadTimer(e.key,i),i.tileID=e,this._state.initializeTileState(i,this.map?this.map.painter:null));const o=i;return i||(i=new de(e,this._source.tileSize*e.overscaleFactor()),this._loadTile(i,e.key,i.state)),i.uses++,this._inViewTiles.setTile(e.key,i),o||this._source.fire(new t.n("dataloading",{tile:i,coord:i.tileID,dataType:"source"})),i}_setTileReloadTimer(e,t){this._clearTileReloadTimer(e);const i=t.getExpiryTimeout();i&&(this._timers[e]=setTimeout((()=>{this._reloadTile(e,"expired"),delete this._timers[e];}),i));}_clearTileReloadTimer(e){const t=this._timers[e];t&&(clearTimeout(t),delete this._timers[e]);}_resetTileReloadTimers(){for(const e in this._timers)clearTimeout(this._timers[e]),delete this._timers[e];for(const e of this._inViewTiles.getAllIds()){const t=this._inViewTiles.getTileById(e);this._setTileReloadTimer(e,t);}}refreshTiles(e){for(const t of this._inViewTiles.getAllIds()){const i=this._inViewTiles.getTileById(t);(this._inViewTiles.isIdRenderable(t)||"errored"==i.state)&&e.some((e=>e.equals(i.tileID.canonical)))&&this._reloadTile(t,"expired");}}_removeTile(e){const t=this._inViewTiles.getTileById(e);t&&(t.uses--,this._inViewTiles.deleteTileById(e),this._clearTileReloadTimer(e),t.uses>0||(t.hasData()&&"reloading"!==t.state?this._outOfViewCache.add(t.tileID,t,t.getExpiryTimeout()):(t.aborted=!0,this._abortTile(t),this._unloadTile(t))));}_dataHandler(e){"source"===e.dataType&&("metadata"!==e.sourceDataType?"content"===e.sourceDataType&&this._sourceLoaded&&!this._paused&&(this.reload(e.sourceDataChanged,e.shouldReloadTileOptions),this.transform&&this.update(this.transform,this.terrain),this._didEmitContent=!0):this._sourceLoaded=!0);}clearTiles(){this._shouldReloadOnResume=!1,this._paused=!1;for(const e of this._inViewTiles.getAllIds())this._removeTile(e);this._outOfViewCache.reset();}tilesIn(e,i,o){const a=[],r=this.transform;if(!r)return a;const s=r.getCoveringTilesDetailsProvider().allowWorldCopies(),n=o?r.getCameraQueryGeometry(e):e,l=e=>r.screenPointToMercatorCoordinate(e,this.terrain),c=this.transformBbox(e,l,!s),h=this.transformBbox(n,l,!s),u=this.getIds(),d=t.a8.fromPoints(h);for(const e of u){const o=this._inViewTiles.getTileById(e);if(o.holdingForSymbolFade())continue;const n=s?[o.tileID]:[o.tileID.unwrapTo(-1),o.tileID.unwrapTo(0)],l=Math.pow(2,r.zoom-o.tileID.overscaledZ),u=i*o.queryPadding*t.a6/o.tileSize/l;for(const e of n){const i=d.map((i=>e.getTilePoint(new t.a7(i.x,i.y))));if(i.expandBy(u),i.intersects(Ie)){const t=c.map((t=>e.getTilePoint(t))),i=h.map((t=>e.getTilePoint(t)));a.push({tile:o,tileID:s?e:e.unwrapTo(0),queryGeometry:t,cameraQueryGeometry:i,scale:l});}}}return a}transformBbox(e,i,o){let a=e.map(i);if(o){const o=t.a8.fromPoints(e);o.shrinkBy(.001*Math.min(o.width(),o.height()));const r=o.map(i);t.a8.fromPoints(a).covers(r)||(a=a.map((e=>e.x>.5?new t.a7(e.x-1,e.y,e.z):e)));}return a}getVisibleCoordinates(e){const t=this.getRenderableIds(e).map((e=>this._inViewTiles.getTileById(e).tileID));return this.transform&&this.transform.populateCache(t),t}hasTransition(){return !!this._source.hasTransition()||Ee(this._source.type)&&function(e,t){if(t<=0)return !1;const i=c();for(const t of e.getAllTiles())if(t.fadeEndTime>=i)return !0;return !1}(this._inViewTiles,this._rasterFadeDuration)}setRasterFadeDuration(e){this._rasterFadeDuration=e;}setFeatureState(e,i,o){e||(e=t.ag),this._state.updateState(e,i,o);}removeFeatureState(e,i,o){e||(e=t.ag),this._state.removeFeatureState(e,i,o);}getFeatureState(e,i){return e||(e=t.ag),this._state.getState(e,i)}setDependencies(e,t,i){const o=this._inViewTiles.getTileById(e);o&&o.setDependencies(t,i);}reloadTilesForDependencies(e,t){for(const i of this._inViewTiles.getAllIds())this._inViewTiles.getTileById(i).hasDependency(e,t)&&this._reloadTile(i,"reloading");this._outOfViewCache.filter((i=>!i.hasDependency(e,t)));}areTilesLoaded(){for(const e of this._inViewTiles.getAllTiles())if("loaded"!==e.state&&"errored"!==e.state)return !1;return !0}}Fe.maxUnderzooming=10,Fe.maxOverzooming=3;class ke{constructor(e,t){this.reset(e,t);}reset(e,t){this.points=e||[],this._distances=[0];for(let e=1;e0?(a-s)/n:0;return this.points[r].mult(1-l).add(this.points[i].mult(l))}}function Be(e,t){let i=!0;return "always"===e||"never"!==e&&"never"!==t||(i=!1),i}class Oe{constructor(e,t,i){const o=this.boxCells=[],a=this.circleCells=[];this.xCellCount=Math.ceil(e/i),this.yCellCount=Math.ceil(t/i);for(let e=0;ethis.width||o<0||t>this.height)return [];const n=[];if(e<=0&&t<=0&&this.width<=i&&this.height<=o){if(a)return [{key:null,x1:e,y1:t,x2:i,y2:o}];for(let e=0;e0}hitTestCircle(e,t,i,o,a){const r=e-i,s=e+i,n=t-i,l=t+i;if(s<0||r>this.width||l<0||n>this.height)return !1;const c=[];return this._forEachCell(r,n,s,l,this._queryCellCircle,c,{hitTest:!0,overlapMode:o,circle:{x:e,y:t,radius:i},seenUids:{box:{},circle:{}}},a),c.length>0}_queryCell(e,t,i,o,a,r,s,n){const{seenUids:l,hitTest:c,overlapMode:h}=s,u=this.boxCells[a],d=1e-6;if(null!==u){const a=this.bboxes;for(const s of u)if(!l.box[s]){l.box[s]=!0;const u=4*s,_=this.boxKeys[s];if(e<=a[u+2]+d&&t<=a[u+3]+d&&i>=a[u+0]-d&&o>=a[u+1]-d&&(!n||n(_))&&(!c||!Be(h,_.overlapMode))&&(r.push({key:_,x1:a[u],y1:a[u+1],x2:a[u+2],y2:a[u+3]}),c))return !0}}const _=this.circleCells[a];if(null!==_){const a=this.circles;for(const s of _)if(!l.circle[s]){l.circle[s]=!0;const u=3*s,d=this.circleKeys[s];if(this._circleAndRectCollide(a[u],a[u+1],a[u+2],e,t,i,o)&&(!n||n(d))&&(!c||!Be(h,d.overlapMode))){const e=a[u],t=a[u+1],i=a[u+2];if(r.push({key:d,x1:e-i,y1:t-i,x2:e+i,y2:t+i}),c)return !0}}}return !1}_queryCellCircle(e,t,i,o,a,r,s,n){const{circle:l,seenUids:c,overlapMode:h}=s,u=this.boxCells[a];if(null!==u){const e=this.bboxes;for(const t of u)if(!c.box[t]){c.box[t]=!0;const i=4*t,o=this.boxKeys[t];if(this._circleAndRectCollide(l.x,l.y,l.radius,e[i+0],e[i+1],e[i+2],e[i+3])&&(!n||n(o))&&!Be(h,o.overlapMode))return r.push(!0),!0}}const d=this.circleCells[a];if(null!==d){const e=this.circles;for(const t of d)if(!c.circle[t]){c.circle[t]=!0;const i=3*t,o=this.circleKeys[t];if(this._circlesCollide(e[i],e[i+1],e[i+2],l.x,l.y,l.radius)&&(!n||n(o))&&!Be(h,o.overlapMode))return r.push(!0),!0}}}_forEachCell(e,t,i,o,a,r,s,n){const l=this._convertToXCellCoord(e),c=this._convertToYCellCoord(t),h=this._convertToXCellCoord(i),u=this._convertToYCellCoord(o);for(let d=l;d<=h;d++)for(let l=c;l<=u;l++)if(a.call(this,e,t,i,o,this.xCellCount*l+d,r,s,n))return}_convertToXCellCoord(e){return Math.max(0,Math.min(this.xCellCount-1,Math.floor(e*this.xScale)))}_convertToYCellCoord(e){return Math.max(0,Math.min(this.yCellCount-1,Math.floor(e*this.yScale)))}_circlesCollide(e,t,i,o,a,r){const s=o-e,n=a-t,l=i+r;return l*l>s*s+n*n}_circleAndRectCollide(e,t,i,o,a,r,s){const n=(r-o)/2,l=Math.abs(e-(o+n));if(l>n+i)return !1;const c=(s-a)/2,h=Math.abs(t-(a+c));if(h>c+i)return !1;if(l<=n||h<=c)return !0;const u=l-n,d=h-c;return u*u+d*d<=i*i}}function je(e,t){const i=1/(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]),o=1/(t[8]*t[8]+t[9]*t[9]+t[10]*t[10]),a=t[0]*i,r=t[4]*i,s=t[8]*o,n=t[1]*i,l=t[5]*i,c=t[9]*o,h=t[2]*i,u=t[6]*i,d=t[10]*o;e[0]=a,e[1]=r,e[2]=s,e[4]=n,e[5]=l,e[6]=c,e[8]=h,e[9]=u,e[10]=d;const _=t[12],p=t[13],m=t[14];return e[12]=-a*_-n*p-h*m,e[13]=-r*_-l*p-u*m,e[14]=-s*_-c*p-d*m,e[3]=0,e[7]=0,e[11]=0,e[15]=1,e}const Ne=t.O();function Ze(e,i,a){const r=t.O();if(!e){const{vecSouth:e,vecEast:t}=Ge(i),a=o();a[0]=t[0],a[1]=t[1],a[2]=e[0],a[3]=e[1],s=a,(d=(l=(n=a)[0])*(u=n[3])-(h=n[2])*(c=n[1]))&&(s[0]=u*(d=1/d),s[1]=-c*d,s[2]=-h*d,s[3]=l*d),r[0]=a[0],r[1]=a[1],r[4]=a[2],r[5]=a[3];}var s,n,l,c,h,u,d;return t.S(r,r,[1/a,1/a,1]),r}function Ue(e,i,o,a){if(e){const e=t.O();if(!i){const{vecSouth:t,vecEast:i}=Ge(o);e[0]=i[0],e[1]=i[1],e[4]=t[0],e[5]=t[1];}return t.S(e,e,[a,a,1]),e}return o.pixelsToClipSpaceMatrix}function Ge(e){const i=Math.cos(e.rollInRadians),o=Math.sin(e.rollInRadians),a=Math.cos(e.pitchInRadians),r=Math.cos(e.bearingInRadians),s=Math.sin(e.bearingInRadians),n=t.az();n[0]=-r*a*o-s*i,n[1]=-s*a*o+r*i;const l=t.aA(n);l<1e-9?t.aB(n):t.aC(n,n,1/l);const c=t.az();c[0]=r*a*i-s*o,c[1]=s*a*i+r*o;const h=t.aA(c);return h<1e-9?t.aB(c):t.aC(c,c,1/h),{vecEast:c,vecSouth:n}}function Ve(e,i,o,a){let r;a?(r=[e,i,a(e,i),1],t.aE(r,r,o)):(r=[e,i,0,1],nt(r,r,o));const s=r[3];return {point:new t.P(r[0]/s,r[1]/s),signedDistanceFromCamera:s,isOccluded:!1}}function We(e,t){return .5+e/t*.5}function qe(e,t){return e.x>=-t[0]&&e.x<=t[0]&&e.y>=-t[1]&&e.y<=t[1]}function $e(e,i,o,a,r,s,n,l,c,h,u,d,_){const p=o?e.textSizeData:e.iconSizeData,m=t.aw(p,i.transform.zoom),f=[256/i.width*2+1,256/i.height*2+1],g=o?e.text.dynamicLayoutVertexArray:e.icon.dynamicLayoutVertexArray;g.clear();const v=e.lineVertexArray,x=o?e.text.placedSymbolArray:e.icon.placedSymbolArray,b=i.transform.width/i.transform.height;let y=!1;for(let o=0;oMath.abs(o.x-i.x)*a?{useVertical:!0}:(e===t.ax.vertical?i.yo.x)?{needsFlipping:!0}:null}function Ke(e){const{projectionContext:i,pitchedLabelPlaneMatrixInverse:o,symbol:a,fontSize:r,flip:s,keepUpright:n,glyphOffsetArray:l,dynamicLayoutVertexArray:c,aspectRatio:h,rotateToLine:u}=e,d=r/24,_=a.lineOffsetX*d,p=a.lineOffsetY*d;let m;if(a.numGlyphs>1){const e=a.glyphStartIndex+a.numGlyphs,t=a.lineStartIndex,r=a.lineStartIndex+a.lineLength,c=He(d,l,_,p,s,a,u,i);if(!c)return {notEnoughRoom:!0};const f=et(c.first.point.x,c.first.point.y,i,o),g=et(c.last.point.x,c.last.point.y,i,o);if(n&&!s){const e=Xe(a.writingMode,f,g,h);if(e)return e}m=[c.first];for(let o=a.glyphStartIndex+1;o0?n.point:Ye(i.tileAnchorPoint,s,e,1,i),c=et(e.x,e.y,i,o),u=et(l.x,l.y,i,o),d=Xe(a.writingMode,c,u,h);if(d)return d}const e=at(d*l.getoffsetX(a.glyphStartIndex),_,p,s,a.segment,a.lineStartIndex,a.lineStartIndex+a.lineLength,i,u);if(!e||i.projectionCache.anyProjectionOccluded)return {notEnoughRoom:!0};m=[e];}for(const e of m)t.aD(c,e.point,e.angle);return {}}function Ye(e,t,i,o,a){const r=e.add(e.sub(t)._unit()),s=Je(r.x,r.y,a).point,n=i.sub(s);return i.add(n._mult(o/n.mag()))}function Qe(e,i,o){const a=i.projectionCache;if(a.projections[e])return a.projections[e];const r=new t.P(i.lineVertexArray.getx(e),i.lineVertexArray.gety(e)),s=Je(r.x,r.y,i);if(s.signedDistanceFromCamera>0)return a.projections[e]=s.point,a.anyProjectionOccluded||(a.anyProjectionOccluded=s.isOccluded),s.point;const n=e-o.direction;return Ye(0===o.distanceFromAnchor?i.tileAnchorPoint:new t.P(i.lineVertexArray.getx(n),i.lineVertexArray.gety(n)),r,o.previousVertex,o.absOffsetX-o.distanceFromAnchor+1,i)}function Je(e,t,i){const o=e+i.translation[0],a=t+i.translation[1];let r;return i.pitchWithMap?(r=Ve(o,a,i.pitchedLabelPlaneMatrix,i.getElevation),r.isOccluded=!1):(r=i.transform.projectTileCoordinates(o,a,i.unwrappedTileID,i.getElevation),r.point.x=(.5*r.point.x+.5)*i.width,r.point.y=(.5*-r.point.y+.5)*i.height),r}function et(e,i,o,a){if(o.pitchWithMap){const r=[e,i,0,1];return t.aE(r,r,a),o.transform.projectTileCoordinates(r[0]/r[3],r[1]/r[3],o.unwrappedTileID,o.getElevation).point}return {x:e/o.width*2-1,y:1-i/o.height*2}}function tt(e,t,i){return i.transform.projectTileCoordinates(e,t,i.unwrappedTileID,i.getElevation)}function it(e,t,i){return e._unit()._perp()._mult(t*i)}function ot(e,i,o,a,r,s,n,l,c){if(l.projectionCache.offsets[e])return l.projectionCache.offsets[e];const h=o.add(i);if(e+c.direction=r)return l.projectionCache.offsets[e]=h,h;const u=Qe(e+c.direction,l,c),d=it(u.sub(o),n,c.direction),_=o.add(d),p=u.add(d);return l.projectionCache.offsets[e]=t.aF(s,h,_,p)||h,l.projectionCache.offsets[e]}function at(e,t,i,o,a,r,s,n,l){const c=o?e-t:e+t;let h=c>0?1:-1,u=0;o&&(h*=-1,u=Math.PI),h<0&&(u+=Math.PI);let d,_=h>0?r+a:r+a+1;n.projectionCache.cachedAnchorPoint?d=n.projectionCache.cachedAnchorPoint:(d=Je(n.tileAnchorPoint.x,n.tileAnchorPoint.y,n).point,n.projectionCache.cachedAnchorPoint=d);let p,m,f=d,g=d,v=0,x=0;const b=Math.abs(c),y=[];let w;for(;v+x<=b;){if(_+=h,_=s)return null;v+=x,g=f,m=p;const e={absOffsetX:b,direction:h,distanceFromAnchor:v,previousVertex:g};if(f=Qe(_,n,e),0===i)y.push(g),w=f.sub(g);else {let t;const o=f.sub(g);t=0===o.mag()?it(Qe(_+h,n,e).sub(f),i,h):it(o,i,h),m||(m=g.add(t)),p=ot(_,t,f,r,s,m,i,n,e),y.push(m),w=p.sub(m);}x=w.mag();}const T=w._mult((b-v)/x)._add(m||g),P=u+Math.atan2(f.y-g.y,f.x-g.x);return y.push(T),{point:T,angle:l?P:0,path:y}}const rt=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function st(e,t){for(let i=0;i=1;e--)_.push(s.path[e]);for(let e=1;ee.signedDistanceFromCamera<=0))?[]:e.map((e=>e.point));}let f=[];if(_.length>0){const e=_[0].clone(),i=_[0].clone();for(let t=1;t<_.length;t++)e.x=Math.min(e.x,_[t].x),e.y=Math.min(e.y,_[t].y),i.x=Math.max(i.x,_[t].x),i.y=Math.max(i.y,_[t].y);f=e.x>=o.x&&i.x<=a.x&&e.y>=o.y&&i.y<=a.y?[_]:i.xa.x||i.ya.y?[]:t.aG([_],o.x,o.y,a.x,a.y);}for(const t of f){r.reset(t,.25*i);let o=0;o=r.length<=.5*i?1:Math.ceil(r.paddedLength/p)+1;for(let t=0;t{const o=Ve(e.x,e.y,i,t.getElevation),a=t.transform.projectTileCoordinates(o.point.x,o.point.y,t.unwrappedTileID,t.getElevation);return a.point.x=(.5*a.point.x+.5)*t.width,a.point.y=(.5*-a.point.y+.5)*t.height,a}))}(e,t);return function(e){let t=0,i=0,o=0,a=0;for(let r=0;ri&&(i=a,t=o));return e.slice(t,t+i)}(i)}queryRenderedSymbols(e){if(0===e.length||0===this.grid.keysLength()&&0===this.ignoredGrid.keysLength())return {};const i=[],o=new t.a8;for(const a of e){const e=new t.P(a.x+lt,a.y+lt);o.extend(e),i.push(e);}const{minX:a,minY:r,maxX:s,maxY:n}=o,l=this.grid.query(a,r,s,n).concat(this.ignoredGrid.query(a,r,s,n)),c={},h={};for(const e of l){const o=e.key;if(void 0===c[o.bucketInstanceId]&&(c[o.bucketInstanceId]={}),c[o.bucketInstanceId][o.featureIndex])continue;const a=[new t.P(e.x1,e.y1),new t.P(e.x2,e.y1),new t.P(e.x2,e.y2),new t.P(e.x1,e.y2)];t.aH(i,a)&&(c[o.bucketInstanceId][o.featureIndex]=!0,void 0===h[o.bucketInstanceId]&&(h[o.bucketInstanceId]=[]),h[o.bucketInstanceId].push(o.featureIndex));}return h}insertCollisionBox(e,t,i,o,a,r){(i?this.ignoredGrid:this.grid).insert({bucketInstanceId:o,featureIndex:a,collisionGroupID:r,overlapMode:t},e[0],e[1],e[2],e[3]);}insertCollisionCircles(e,t,i,o,a,r){const s=i?this.ignoredGrid:this.grid,n={bucketInstanceId:o,featureIndex:a,collisionGroupID:r,overlapMode:t};for(let t=0;t=this.screenRightBoundary||othis.screenBottomBoundary}isInsideGrid(e,t,i,o){return i>=0&&e=0&&tthis.projectAndGetPerspectiveRatio(e.x,e.y,a,c,u)));S=e.some((e=>!e.isOccluded)),E=e.map((e=>new t.P(e.x,e.y)));}else S=!0;return {box:t.aI(E),allPointsOccluded:!S}}}class ht{constructor(e,t,i,o){this.opacity=e?Math.max(0,Math.min(1,e.opacity+(e.placed?t:-t))):o&&i?1:0,this.placed=i;}isHidden(){return 0===this.opacity&&!this.placed}}class ut{constructor(e,t,i,o,a){this.text=new ht(e?e.text:null,t,i,a),this.icon=new ht(e?e.icon:null,t,o,a);}isHidden(){return this.text.isHidden()&&this.icon.isHidden()}}class dt{constructor(e,t,i){this.text=e,this.icon=t,this.skipFade=i;}}class _t{constructor(e,t,i,o,a){this.bucketInstanceId=e,this.featureIndex=t,this.sourceLayerIndex=i,this.bucketIndex=o,this.tileID=a;}}class pt{constructor(e){this.crossSourceCollisions=e,this.maxGroupID=0,this.collisionGroups={};}get(e){if(this.crossSourceCollisions)return {ID:0,predicate:null};if(!this.collisionGroups[e]){const t=++this.maxGroupID;this.collisionGroups[e]={ID:t,predicate:e=>e.collisionGroupID===t};}return this.collisionGroups[e]}}function mt(e,i,o,a,r){const{horizontalAlign:s,verticalAlign:n}=t.aP(e);return new t.P(-(s-.5)*i+a[0]*r,-(n-.5)*o+a[1]*r)}class ft{constructor(e,t,i,o,a){this.transform=e.clone(),this.terrain=t,this.collisionIndex=new ct(this.transform),this.placements={},this.opacities={},this.variableOffsets={},this.stale=!1,this.commitTime=0,this.fadeDuration=i,this.retainedQueryData={},this.collisionGroups=new pt(o),this.collisionCircleArrays={},this.collisionBoxArrays=new Map,this.prevPlacement=a,a&&(a.prevPlacement=void 0),this.placedOrientations={};}_getTerrainElevationFunc(e){const t=this.terrain;return t?(i,o)=>t.getElevation(e,i,o):null}getBucketParts(e,i,o,a){const r=o.getBucket(i),s=o.latestFeatureIndex;if(!r||!s||i.id!==r.layerIds[0])return;const n=o.collisionBoxArray,l=r.layers[0].layout,c=r.layers[0].paint,h=Math.pow(2,this.transform.zoom-o.tileID.overscaledZ),u=o.tileSize/t.a6,d=o.tileID.toUnwrapped(),_="map"===l.get("text-rotation-alignment"),p=t.aK(o,1,this.transform.zoom),m=t.aL(this.collisionIndex.transform,o,c.get("text-translate"),c.get("text-translate-anchor")),f=t.aL(this.collisionIndex.transform,o,c.get("icon-translate"),c.get("icon-translate-anchor")),g=Ze(_,this.transform,p);this.retainedQueryData[r.bucketInstanceId]=new _t(r.bucketInstanceId,s,r.sourceLayerIndex,r.index,o.tileID);const v={bucket:r,layout:l,translationText:m,translationIcon:f,unwrappedTileID:d,pitchedLabelPlaneMatrix:g,scale:h,textPixelRatio:u,holdingForFade:o.holdingForSymbolFade(),collisionBoxArray:n,partiallyEvaluatedTextSize:t.aw(r.textSizeData,this.transform.zoom),collisionGroup:this.collisionGroups.get(r.sourceID)};if(a)for(const t of r.sortKeyRanges){const{sortKey:i,symbolInstanceStart:o,symbolInstanceEnd:a}=t;e.push({sortKey:i,symbolInstanceStart:o,symbolInstanceEnd:a,parameters:v});}else e.push({symbolInstanceStart:0,symbolInstanceEnd:r.symbolInstances.length,parameters:v});}attemptAnchorPlacement(e,i,o,a,r,s,n,l,c,h,u,d,_,p,m,f,g,v,x,b){var y,w,T;const P=t.aM[e.textAnchor],C=[e.textOffset0,e.textOffset1],M=mt(P,o,a,C,r),I=this.collisionIndex.placeCollisionBox(i,d,l,c,h,n,s,f,u.predicate,x,M,b);if((!v||this.collisionIndex.placeCollisionBox(v,d,l,c,h,n,s,g,u.predicate,x,M,b).placeable)&&I.placeable){let e;if((null===(y=this.prevPlacement)||void 0===y?void 0:y.variableOffsets[_.crossTileID])&&(null===(T=null===(w=this.prevPlacement)||void 0===w?void 0:w.placements[_.crossTileID])||void 0===T?void 0:T.text)&&(e=this.prevPlacement.variableOffsets[_.crossTileID].anchor),0===_.crossTileID)throw new Error("symbolInstance.crossTileID can't be 0");return this.variableOffsets[_.crossTileID]={textOffset:C,width:o,height:a,anchor:P,textBoxScale:r,prevAnchor:e},this.markUsedJustification(p,P,_,m),p.allowVerticalPlacement&&(this.markUsedOrientation(p,m,_),this.placedOrientations[_.crossTileID]=m),{shift:M,placedGlyphBoxes:I}}}placeLayerBucketPart(e,i,o){const{bucket:a,layout:r,translationText:s,translationIcon:n,unwrappedTileID:l,pitchedLabelPlaneMatrix:c,textPixelRatio:h,holdingForFade:u,collisionBoxArray:d,partiallyEvaluatedTextSize:_,collisionGroup:p}=e.parameters,m=r.get("text-optional"),f=r.get("icon-optional"),g=t.aN(r,"text-overlap","text-allow-overlap"),v="always"===g,x=t.aN(r,"icon-overlap","icon-allow-overlap"),b="always"===x,y="map"===r.get("text-rotation-alignment"),w="map"===r.get("text-pitch-alignment"),T="none"!==r.get("icon-text-fit"),P="viewport-y"===r.get("symbol-z-order"),C=v&&(b||!a.hasIconData()||f),M=b&&(v||!a.hasTextData()||m);!a.collisionArrays&&d&&a.deserializeCollisionBoxes(d);const I=this.retainedQueryData[a.bucketInstanceId].tileID,E=this._getTerrainElevationFunc(I),S=this.transform.getFastPathSimpleProjectionMatrix(I),z=(e,d,b)=>{var P,z;if(i[e.crossTileID])return;if(u)return void(this.placements[e.crossTileID]=new dt(!1,!1,!1));let R=!1,D=!1,A=!0,L=null,F={box:null,placeable:!1,offscreen:null,occluded:!1},k={placeable:!1},B=null,O=null,j=null,N=0,Z=0,U=0;d.textFeatureIndex?N=d.textFeatureIndex:e.useRuntimeCollisionCircles&&(N=e.featureIndex),d.verticalTextFeatureIndex&&(Z=d.verticalTextFeatureIndex);const G=d.textBox;if(G){const i=i=>{let o=t.ax.horizontal;if(a.allowVerticalPlacement&&!i&&this.prevPlacement){const t=this.prevPlacement.placedOrientations[e.crossTileID];t&&(this.placedOrientations[e.crossTileID]=t,o=t,this.markUsedOrientation(a,o,e));}return o},r=(i,o)=>{if(a.allowVerticalPlacement&&e.numVerticalGlyphVertices>0&&d.verticalTextBox){for(const e of a.writingModes)if(e===t.ax.vertical?(F=o(),k=F):F=i(),null==F?void 0:F.placeable)break}else F=i();},c=e.textAnchorOffsetStartIndex,u=e.textAnchorOffsetEndIndex;if(u===c){const o=(t,i)=>{const o=this.collisionIndex.placeCollisionBox(t,g,h,I,l,w,y,s,p.predicate,E,void 0,S);return (null==o?void 0:o.placeable)&&(this.markUsedOrientation(a,i,e),this.placedOrientations[e.crossTileID]=i),o};r((()=>o(G,t.ax.horizontal)),(()=>{const i=d.verticalTextBox;return a.allowVerticalPlacement&&e.numVerticalGlyphVertices>0&&i?o(i,t.ax.vertical):{box:null,offscreen:null}})),i(null==F?void 0:F.placeable);}else {let _=t.aM[null===(z=null===(P=this.prevPlacement)||void 0===P?void 0:P.variableOffsets[e.crossTileID])||void 0===z?void 0:z.anchor];const m=(t,i,r)=>{const d=t.x2-t.x1,m=t.y2-t.y1,f=e.textBoxScale,v=T&&"never"===x?i:null;let b=null,P="never"===g?1:2,C="never";_&&P++;for(let i=0;im(G,d.iconBox,t.ax.horizontal)),(()=>{const i=d.verticalTextBox;return a.allowVerticalPlacement&&!(null==F?void 0:F.placeable)&&e.numVerticalGlyphVertices>0&&i?m(i,d.verticalIconBox,t.ax.vertical):{box:null,occluded:!0,offscreen:null}})),F&&(R=F.placeable,A=F.offscreen);const f=i(null==F?void 0:F.placeable);if(!R&&this.prevPlacement){const t=this.prevPlacement.variableOffsets[e.crossTileID];t&&(this.variableOffsets[e.crossTileID]=t,this.markUsedJustification(a,t.anchor,e,f));}}}if(B=F,R=null==B?void 0:B.placeable,A=null==B?void 0:B.offscreen,e.useRuntimeCollisionCircles&&e.centerJustifiedTextSymbolIndex>=0){const i=a.text.placedSymbolArray.get(e.centerJustifiedTextSymbolIndex),n=t.ay(a.textSizeData,_,i),h=r.get("text-padding");O=this.collisionIndex.placeCollisionCircles(g,i,a.lineVertexArray,a.glyphOffsetArray,n,l,c,o,w,p.predicate,e.collisionCircleDiameter,h,s,E),O.circles.length&&O.collisionDetected&&!o&&t.w("Collisions detected, but collision boxes are not shown"),R=v||O.circles.length>0&&!O.collisionDetected,A&&(A=O.offscreen);}if(d.iconFeatureIndex&&(U=d.iconFeatureIndex),d.iconBox){const e=e=>this.collisionIndex.placeCollisionBox(e,x,h,I,l,w,y,n,p.predicate,E,T&&L?L:void 0,S);k&&k.placeable&&d.verticalIconBox?(j=e(d.verticalIconBox),D=j.placeable):(j=e(d.iconBox),D=j.placeable),A&&(A=j.offscreen);}const V=m||0===e.numHorizontalGlyphVertices&&0===e.numVerticalGlyphVertices,W=f||0===e.numIconVertices;V||W?W?V||D&&(D=R):R=D&&R:D=R=D&&R;const q=D&&j.placeable;if(R&&B.placeable&&this.collisionIndex.insertCollisionBox(B.box,g,r.get("text-ignore-placement"),a.bucketInstanceId,k&&k.placeable&&Z?Z:N,p.ID),q&&this.collisionIndex.insertCollisionBox(j.box,x,r.get("icon-ignore-placement"),a.bucketInstanceId,U,p.ID),O&&R&&this.collisionIndex.insertCollisionCircles(O.circles,g,r.get("text-ignore-placement"),a.bucketInstanceId,N,p.ID),o&&this.storeCollisionData(a.bucketInstanceId,b,d,B,j,O),0===e.crossTileID)throw new Error("symbolInstance.crossTileID can't be 0");if(0===a.bucketInstanceId)throw new Error("bucket.bucketInstanceId can't be 0");this.placements[e.crossTileID]=new dt((R||C)&&!(null==B?void 0:B.occluded),(D||M)&&!(null==j?void 0:j.occluded),A||a.justReloaded),i[e.crossTileID]=!0;};if(P){if(0!==e.symbolInstanceStart)throw new Error("bucket.bucketInstanceId should be 0");const t=a.getSortedSymbolIndexes(-this.transform.bearingInRadians);for(let e=t.length-1;e>=0;--e){const i=t[e];z(a.symbolInstances.get(i),a.collisionArrays[i],i);}}else for(let t=e.symbolInstanceStart;t=0&&(e.text.placedSymbolArray.get(t).crossTileID=r>=0&&t!==r?0:o.crossTileID);}markUsedOrientation(e,i,o){const a=i===t.ax.horizontal||i===t.ax.horizontalOnly?i:0,r=i===t.ax.vertical?i:0,s=[o.leftJustifiedTextSymbolIndex,o.centerJustifiedTextSymbolIndex,o.rightJustifiedTextSymbolIndex];for(const t of s)e.text.placedSymbolArray.get(t).placedOrientation=a;o.verticalPlacedTextSymbolIndex&&(e.text.placedSymbolArray.get(o.verticalPlacedTextSymbolIndex).placedOrientation=r);}commit(e){this.commitTime=e,this.zoomAtLastRecencyCheck=this.transform.zoom;const t=this.prevPlacement;let i=!1;this.prevZoomAdjustment=t?t.zoomAdjustment(this.transform.zoom):0;const o=t?t.symbolFadeChange(e):1,a=t?t.opacities:{},r=t?t.variableOffsets:{},s=t?t.placedOrientations:{};for(const e in this.placements){const t=this.placements[e],r=a[e];r?(this.opacities[e]=new ut(r,o,t.text,t.icon),i||(i=t.text!==r.text.placed),i||(i=t.icon!==r.icon.placed)):(this.opacities[e]=new ut(null,o,t.text,t.icon,t.skipFade),i||(i=t.text||t.icon));}for(const e in a){const t=a[e];if(!this.opacities[e]){const a=new ut(t,o,!1,!1);a.isHidden()||(this.opacities[e]=a,i||(i=t.text.placed),i||(i=t.icon.placed));}}for(const e in r)this.variableOffsets[e]||!this.opacities[e]||this.opacities[e].isHidden()||(this.variableOffsets[e]=r[e]);for(const e in s)this.placedOrientations[e]||!this.opacities[e]||this.opacities[e].isHidden()||(this.placedOrientations[e]=s[e]);if(t&&void 0===t.lastPlacementChangeTime)throw new Error("Last placement time for previous placement is not defined");i?this.lastPlacementChangeTime=e:"number"!=typeof this.lastPlacementChangeTime&&(this.lastPlacementChangeTime=t?t.lastPlacementChangeTime:e);}updateLayerOpacities(e,t){const i={};for(const o of t){const t=o.getBucket(e);t&&o.latestFeatureIndex&&e.id===t.layerIds[0]&&this.updateBucketOpacities(t,o.tileID,i,o.collisionBoxArray);}}updateBucketOpacities(e,i,o,a){e.hasTextData()&&(e.text.opacityVertexArray.clear(),e.text.hasVisibleVertices=!1),e.hasIconData()&&(e.icon.opacityVertexArray.clear(),e.icon.hasVisibleVertices=!1),e.hasIconCollisionBoxData()&&e.iconCollisionBox.collisionVertexArray.clear(),e.hasTextCollisionBoxData()&&e.textCollisionBox.collisionVertexArray.clear();const r=e.layers[0],s=r.layout,n=new ut(null,0,!1,!1,!0),l=s.get("text-allow-overlap"),c=s.get("icon-allow-overlap"),h=r._unevaluatedLayout.hasValue("text-variable-anchor")||r._unevaluatedLayout.hasValue("text-variable-anchor-offset"),u="map"===s.get("text-rotation-alignment"),d="map"===s.get("text-pitch-alignment"),_="none"!==s.get("icon-text-fit"),p=new ut(null,0,l&&(c||!e.hasIconData()||s.get("icon-optional")),c&&(l||!e.hasTextData()||s.get("text-optional")),!0);!e.collisionArrays&&a&&(e.hasIconCollisionBoxData()||e.hasTextCollisionBoxData())&&e.deserializeCollisionBoxes(a);const m=(e,t,i)=>{for(let o=0;o0,v=this.placedOrientations[a.crossTileID],x=v===t.ax.vertical,b=v===t.ax.horizontal||v===t.ax.horizontalOnly;if(r>0||s>0){const t=Ct(c.text);m(e.text,r,x?Mt:t),m(e.text,s,b?Mt:t);const i=c.text.isHidden(),o=[a.rightJustifiedTextSymbolIndex,a.centerJustifiedTextSymbolIndex,a.leftJustifiedTextSymbolIndex];for(const t of o)t>=0&&(e.text.placedSymbolArray.get(t).hidden=i||x?1:0);a.verticalPlacedTextSymbolIndex>=0&&(e.text.placedSymbolArray.get(a.verticalPlacedTextSymbolIndex).hidden=i||b?1:0);const n=this.variableOffsets[a.crossTileID];n&&this.markUsedJustification(e,n.anchor,a,v);const l=this.placedOrientations[a.crossTileID];l&&(this.markUsedJustification(e,"left",a,l),this.markUsedOrientation(e,l,a));}if(g){const t=Ct(c.icon),i=!(_&&a.verticalPlacedIconSymbolIndex&&x);a.placedIconSymbolIndex>=0&&(m(e.icon,a.numIconVertices,i?t:Mt),e.icon.placedSymbolArray.get(a.placedIconSymbolIndex).hidden=c.icon.isHidden()),a.verticalPlacedIconSymbolIndex>=0&&(m(e.icon,a.numVerticalIconVertices,i?Mt:t),e.icon.placedSymbolArray.get(a.verticalPlacedIconSymbolIndex).hidden=c.icon.isHidden());}const y=(null==f?void 0:f.has(i))?f.get(i):{text:null,icon:null};if(e.hasIconCollisionBoxData()||e.hasTextCollisionBoxData()){const o=e.collisionArrays[i];if(o){let i=new t.P(0,0);if(o.textBox||o.verticalTextBox){let t=!0;if(h){const e=this.variableOffsets[l];e?(i=mt(e.anchor,e.width,e.height,e.textOffset,e.textBoxScale),u&&i._rotate(d?-this.transform.bearingInRadians:this.transform.bearingInRadians)):t=!1;}if(o.textBox||o.verticalTextBox){let a;o.textBox&&(a=x),o.verticalTextBox&&(a=b),gt(e.textCollisionBox.collisionVertexArray,c.text.placed,!t||a,y.text,i.x,i.y);}}if(o.iconBox||o.verticalIconBox){const t=Boolean(!b&&o.verticalIconBox);let a;o.iconBox&&(a=t),o.verticalIconBox&&(a=!t),gt(e.iconCollisionBox.collisionVertexArray,c.icon.placed,a,y.icon,_?i.x:0,_?i.y:0);}}}}if(e.sortFeatures(-this.transform.bearingInRadians),this.retainedQueryData[e.bucketInstanceId]&&(this.retainedQueryData[e.bucketInstanceId].featureSortOrder=e.featureSortOrder),e.hasTextData()&&e.text.opacityVertexBuffer&&e.text.opacityVertexBuffer.updateData(e.text.opacityVertexArray),e.hasIconData()&&e.icon.opacityVertexBuffer&&e.icon.opacityVertexBuffer.updateData(e.icon.opacityVertexArray),e.hasIconCollisionBoxData()&&e.iconCollisionBox.collisionVertexBuffer&&e.iconCollisionBox.collisionVertexBuffer.updateData(e.iconCollisionBox.collisionVertexArray),e.hasTextCollisionBoxData()&&e.textCollisionBox.collisionVertexBuffer&&e.textCollisionBox.collisionVertexBuffer.updateData(e.textCollisionBox.collisionVertexArray),e.text.opacityVertexArray.length!==e.text.layoutVertexArray.length/4)throw new Error(`bucket.text.opacityVertexArray.length (= ${e.text.opacityVertexArray.length}) !== bucket.text.layoutVertexArray.length (= ${e.text.layoutVertexArray.length}) / 4`);if(e.icon.opacityVertexArray.length!==e.icon.layoutVertexArray.length/4)throw new Error(`bucket.icon.opacityVertexArray.length (= ${e.icon.opacityVertexArray.length}) !== bucket.icon.layoutVertexArray.length (= ${e.icon.layoutVertexArray.length}) / 4`);e.bucketInstanceId in this.collisionCircleArrays&&(e.collisionCircleArray=this.collisionCircleArrays[e.bucketInstanceId],delete this.collisionCircleArrays[e.bucketInstanceId]);}symbolFadeChange(e){return 0===this.fadeDuration?1:(e-this.commitTime)/this.fadeDuration+this.prevZoomAdjustment}zoomAdjustment(e){return Math.max(0,(this.transform.zoom-e)/1.5)}hasTransitions(e){return this.stale||e-this.lastPlacementChangeTimee}setStale(){this.stale=!0;}}function gt(e,t,i,o,a,r){o&&0!==o.length||(o=[0,0,0,0]);const s=o[0]-lt,n=o[1]-lt,l=o[2]-lt,c=o[3]-lt;e.emplaceBack(t?1:0,i?1:0,a||0,r||0,s,n),e.emplaceBack(t?1:0,i?1:0,a||0,r||0,l,n),e.emplaceBack(t?1:0,i?1:0,a||0,r||0,l,c),e.emplaceBack(t?1:0,i?1:0,a||0,r||0,s,c);}const vt=Math.pow(2,25),xt=Math.pow(2,24),bt=Math.pow(2,17),yt=Math.pow(2,16),wt=Math.pow(2,9),Tt=Math.pow(2,8),Pt=Math.pow(2,1);function Ct(e){if(0===e.opacity&&!e.placed)return 0;if(1===e.opacity&&e.placed)return 4294967295;const t=e.placed?1:0,i=Math.floor(127*e.opacity);return i*vt+t*xt+i*bt+t*yt+i*wt+t*Tt+i*Pt+t}const Mt=0;class It{constructor(e){this._sortAcrossTiles="viewport-y"!==e.layout.get("symbol-z-order")&&!e.layout.get("symbol-sort-key").isConstant(),this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[];}continuePlacement(e,t,i,o,a){const r=this._bucketParts;for(;this._currentTileIndexe.sortKey-t.sortKey)));this._currentPartIndex!this._forceFullPlacement&&c()-a>2;for(;this._currentPlacementIndex>=0;){const a=i[e[this._currentPlacementIndex]],s=this.placement.collisionIndex.transform.zoom;if(t.aQ(a)&&a.layout&&(!a.minzoom||a.minzoom<=s)&&(!a.maxzoom||a.maxzoom>s)){if(this._inProgressLayer||(this._inProgressLayer=new It(a)),this._inProgressLayer.continuePlacement(o[a.source],this.placement,this._showCollisionBoxes,a,r))return;delete this._inProgressLayer;}this._currentPlacementIndex--;}this._done=!0;}commit(e){return this.placement.commit(e),this.placement}}const St=512/t.a6/2;class zt{constructor(e,i,o){this.tileID=e,this.bucketInstanceId=o,this._symbolsByKey={};const a=new Map;for(let e=0;e({x:Math.floor(e.anchorX*St),y:Math.floor(e.anchorY*St)}))),crossTileIDs:i.map((e=>e.crossTileID))};if(o.positions.length>128){const e=new t.aR(o.positions.length,16,Uint16Array);for(const{x:t,y:i}of o.positions)e.add(t,i);e.finish(),delete o.positions,o.index=e;}this._symbolsByKey[e]=o;}}getScaledCoordinates(e,i){const{x:o,y:a,z:r}=this.tileID.canonical,{x:s,y:n,z:l}=i.canonical,c=St/Math.pow(2,l-r),h=(n*t.a6+e.anchorY)*c,u=a*t.a6*St;return {x:Math.floor((s*t.a6+e.anchorX)*c-o*t.a6*St),y:Math.floor(h-u)}}findMatches(e,t,i){const o=this.tileID.canonical.ze))}}class Rt{constructor(){this.maxCrossTileID=0;}generate(){return ++this.maxCrossTileID}}class Dt{constructor(){this.indexes={},this.usedCrossTileIDs={},this.lng=0;}handleWrapJump(e){const t=Math.round((e-this.lng)/360);if(0!==t)for(const e in this.indexes){const i=this.indexes[e],o={};for(const e in i){const a=i[e];a.tileID=a.tileID.unwrapTo(a.tileID.wrap+t),o[a.tileID.key]=a;}this.indexes[e]=o;}this.lng=e;}addBucket(e,t,i){var o,a,r;if(null===(o=this.indexes[e.overscaledZ])||void 0===o?void 0:o[e.key]){if(this.indexes[e.overscaledZ][e.key].bucketInstanceId===t.bucketInstanceId)return !1;this.removeBucketCrossTileIDs(e.overscaledZ,this.indexes[e.overscaledZ][e.key]);}for(let e=0;ee.overscaledZ)for(const i in o){const a=o[i];a.tileID.isChildOf(e)&&a.findMatches(t.symbolInstances,e,s);}else {const a=o[e.scaledTo(Number(i)).key];a&&a.findMatches(t.symbolInstances,e,s);}}for(let e=0;e 0.95) return 1.0;return (d+depthOpacity(frag+vec3(0.0,0.01,0.0)))/2.0;\n#else\nreturn 1.0;\n#endif\n}float ele(vec2 pos) {\n#ifdef TERRAIN3D\nvec4 rgb=(texture(u_terrain,pos)*255.0)*u_terrain_unpack;return rgb.r+rgb.g+rgb.b-u_terrain_unpack.a;\n#else\nreturn 0.0;\n#endif\n}float get_elevation(vec2 pos) {\n#ifdef TERRAIN3D\n#ifdef GLOBE\nif ((pos.y <-32767.5) || (pos.y > 32766.5)) {return 0.0;}\n#endif\nvec2 coord=(u_terrain_matrix*vec4(pos,0.0,1.0)).xy*u_terrain_dim+1.0;vec2 f=fract(coord);vec2 c=(floor(coord)+0.5)/(u_terrain_dim+2.0);float d=1.0/(u_terrain_dim+2.0);float tl=ele(c);float tr=ele(c+vec2(d,0.0));float bl=ele(c+vec2(0.0,d));float br=ele(c+vec2(d,d));float elevation=mix(mix(tl,tr,f.x),mix(bl,br,f.x),f.y);return elevation*u_terrain_exaggeration;\n#else\nreturn 0.0;\n#endif\n}const float PI=3.141592653589793;uniform mat4 u_projection_matrix;"),projectionMercator:kt("","float projectLineThickness(float tileY) {return 1.0;}float projectCircleRadius(float tileY) {return 1.0;}vec4 projectTile(vec2 p) {vec4 result=u_projection_matrix*vec4(p,0.0,1.0);return result;}vec4 projectTile(vec2 p,vec2 rawPos) {vec4 result=u_projection_matrix*vec4(p,0.0,1.0);if (rawPos.y <-32767.5 || rawPos.y > 32766.5) {result.z=-10000000.0;}return result;}vec4 projectTileWithElevation(vec2 posInTile,float elevation) {return u_projection_matrix*vec4(posInTile,elevation,1.0);}vec4 projectTileFor3D(vec2 posInTile,float elevation) {return projectTileWithElevation(posInTile,elevation);}"),projectionGlobe:kt("","#define GLOBE_RADIUS 6371008.8\nuniform highp vec4 u_projection_tile_mercator_coords;uniform highp vec4 u_projection_clipping_plane;uniform highp float u_projection_transition;uniform mat4 u_projection_fallback_matrix;vec3 globeRotateVector(vec3 vec,vec2 angles) {vec3 axisRight=vec3(vec.z,0.0,-vec.x);vec3 axisUp=cross(axisRight,vec);axisRight=normalize(axisRight);axisUp=normalize(axisUp);vec2 t=tan(angles);return normalize(vec+axisRight*t.x+axisUp*t.y);}mat3 globeGetRotationMatrix(vec3 spherePos) {vec3 axisRight=vec3(spherePos.z,0.0,-spherePos.x);vec3 axisDown=cross(axisRight,spherePos);axisRight=normalize(axisRight);axisDown=normalize(axisDown);return mat3(axisRight,axisDown,spherePos\n);}float circumferenceRatioAtTileY(float tileY) {float mercator_pos_y=u_projection_tile_mercator_coords.y+u_projection_tile_mercator_coords.w*tileY;float spherical_y=2.0*atan(exp(PI-(mercator_pos_y*PI*2.0)))-PI*0.5;return cos(spherical_y);}float projectLineThickness(float tileY) {float thickness=1.0/circumferenceRatioAtTileY(tileY); \nif (u_projection_transition < 0.999) {return mix(1.0,thickness,u_projection_transition);} else {return thickness;}}vec3 projectToSphere(vec2 translatedPos,vec2 rawPos) {vec2 mercator_pos=u_projection_tile_mercator_coords.xy+u_projection_tile_mercator_coords.zw*translatedPos;vec2 spherical;spherical.x=mercator_pos.x*PI*2.0+PI;spherical.y=2.0*atan(exp(PI-(mercator_pos.y*PI*2.0)))-PI*0.5;float len=cos(spherical.y);vec3 pos=vec3(sin(spherical.x)*len,sin(spherical.y),cos(spherical.x)*len\n);if (rawPos.y <-32767.5) {pos=vec3(0.0,1.0,0.0);}if (rawPos.y > 32766.5) {pos=vec3(0.0,-1.0,0.0);}return pos;}vec3 projectToSphere(vec2 posInTile) {return projectToSphere(posInTile,vec2(0.0,0.0));}float globeComputeClippingZ(vec3 spherePos) {return (1.0-(dot(spherePos,u_projection_clipping_plane.xyz)+u_projection_clipping_plane.w));}vec4 interpolateProjection(vec2 posInTile,vec3 spherePos,float elevation) {vec3 elevatedPos=spherePos*(1.0+elevation/GLOBE_RADIUS);vec4 globePosition=u_projection_matrix*vec4(elevatedPos,1.0);globePosition.z=globeComputeClippingZ(elevatedPos)*globePosition.w;if (u_projection_transition > 0.999) {return globePosition;}vec4 flatPosition=u_projection_fallback_matrix*vec4(posInTile,elevation,1.0);const float z_globeness_threshold=0.2;vec4 result=globePosition;result.z=mix(0.0,globePosition.z,clamp((u_projection_transition-z_globeness_threshold)/(1.0-z_globeness_threshold),0.0,1.0));result.xyw=mix(flatPosition.xyw,globePosition.xyw,u_projection_transition);if ((posInTile.y <-32767.5) || (posInTile.y > 32766.5)) {result=globePosition;const float poles_hidden_anim_percentage=0.02;result.z=mix(globePosition.z,100.0,pow(max((1.0-u_projection_transition)/poles_hidden_anim_percentage,0.0),8.0));}return result;}vec4 interpolateProjectionFor3D(vec2 posInTile,vec3 spherePos,float elevation) {vec3 elevatedPos=spherePos*(1.0+elevation/GLOBE_RADIUS);vec4 globePosition=u_projection_matrix*vec4(elevatedPos,1.0);if (u_projection_transition > 0.999) {return globePosition;}vec4 fallbackPosition=u_projection_fallback_matrix*vec4(posInTile,elevation,1.0);return mix(fallbackPosition,globePosition,u_projection_transition);}vec4 projectTile(vec2 posInTile) {return interpolateProjection(posInTile,projectToSphere(posInTile),0.0);}vec4 projectTile(vec2 posInTile,vec2 rawPos) {return interpolateProjection(posInTile,projectToSphere(posInTile,rawPos),0.0);}vec4 projectTileWithElevation(vec2 posInTile,float elevation) {return interpolateProjection(posInTile,projectToSphere(posInTile),elevation);}vec4 projectTileFor3D(vec2 posInTile,float elevation) {vec3 spherePos=projectToSphere(posInTile,posInTile);return interpolateProjectionFor3D(posInTile,spherePos,elevation);}"),background:kt("uniform vec4 u_color;uniform float u_opacity;void main() {fragColor=u_color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","in vec2 a_pos;void main() {gl_Position=projectTile(a_pos);}"),backgroundPattern:kt("uniform vec2 u_pattern_tl_a;uniform vec2 u_pattern_br_a;uniform vec2 u_pattern_tl_b;uniform vec2 u_pattern_br_b;uniform vec2 u_texsize;uniform float u_mix;uniform float u_opacity;uniform sampler2D u_image;in vec2 v_pos_a;in vec2 v_pos_b;void main() {vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(u_pattern_tl_a/u_texsize,u_pattern_br_a/u_texsize,imagecoord);vec4 color1=texture(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(u_pattern_tl_b/u_texsize,u_pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture(u_image,pos2);fragColor=mix(color1,color2,u_mix)*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec2 u_pattern_size_a;uniform vec2 u_pattern_size_b;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_scale_a;uniform float u_scale_b;uniform float u_tile_units_to_pixels;in vec2 a_pos;out vec2 v_pos_a;out vec2 v_pos_b;void main() {gl_Position=projectTile(a_pos);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_a*u_pattern_size_a,u_tile_units_to_pixels,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_b*u_pattern_size_b,u_tile_units_to_pixels,a_pos);}"),circle:kt("in vec3 v_data;in float v_visibility;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=v_data.xy;float extrude_length=length(extrude);float antialiased_blur=v_data.z;float opacity_t=smoothstep(0.0,antialiased_blur,extrude_length-1.0);float color_t=stroke_width < 0.01 ? 0.0 : smoothstep(antialiased_blur,0.0,extrude_length-radius/(radius+stroke_width));fragColor=v_visibility*opacity_t*mix(color*opacity,stroke_color*stroke_opacity,color_t);const float epsilon=0.5/255.0;if (fragColor.r < epsilon && fragColor.g < epsilon && fragColor.b < epsilon && fragColor.a < epsilon) {discard;}\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform bool u_scale_with_map;uniform bool u_pitch_with_map;uniform vec2 u_extrude_scale;uniform highp float u_globe_extrude_scale;uniform lowp float u_device_pixel_ratio;uniform highp float u_camera_to_center_distance;uniform vec2 u_translate;in vec2 a_pos;out vec3 v_data;out float v_visibility;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main(void) {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 pos_raw=a_pos+32768.0;vec2 extrude=vec2(mod(pos_raw,8.0)/7.0*2.0-1.0);vec2 circle_center=floor(pos_raw/8.0)+u_translate;float ele=get_elevation(circle_center);v_visibility=calculate_visibility(projectTileWithElevation(circle_center,ele));if (u_pitch_with_map) {\n#ifdef GLOBE\nvec3 center_vector=projectToSphere(circle_center);\n#endif\nfloat angle_scale=u_globe_extrude_scale;vec2 corner_position=circle_center;if (u_scale_with_map) {angle_scale*=(radius+stroke_width);corner_position+=extrude*u_extrude_scale*(radius+stroke_width);} else {\n#ifdef GLOBE\nvec4 projected_center=interpolateProjection(circle_center,center_vector,ele);\n#else\nvec4 projected_center=projectTileWithElevation(circle_center,ele);\n#endif\ncorner_position+=extrude*u_extrude_scale*(radius+stroke_width)*(projected_center.w/u_camera_to_center_distance);angle_scale*=(radius+stroke_width)*(projected_center.w/u_camera_to_center_distance);}\n#ifdef GLOBE\nvec2 angles=extrude*angle_scale;vec3 corner_vector=globeRotateVector(center_vector,angles);gl_Position=interpolateProjection(corner_position,corner_vector,ele);\n#else\ngl_Position=projectTileWithElevation(corner_position,ele);\n#endif\n} else {gl_Position=projectTileWithElevation(circle_center,ele);if (gl_Position.z/gl_Position.w > 1.0) {gl_Position.xy=vec2(10000.0);}if (u_scale_with_map) {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*u_camera_to_center_distance;} else {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*gl_Position.w;}}float antialiasblur=-max(1.0/u_device_pixel_ratio/(radius+stroke_width),blur);v_data=vec3(extrude.x,extrude.y,antialiasblur);}"),clippingMask:kt(Lt,"in vec2 a_pos;void main() {gl_Position=projectTile(a_pos);}"),heatmap:kt("uniform highp float u_intensity;in vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#define GAUSS_COEF 0.3989422804014327\nvoid main() {\n#pragma mapbox: initialize highp float weight\nfloat d=-0.5*3.0*3.0*dot(v_extrude,v_extrude);float val=weight*u_intensity*GAUSS_COEF*exp(d);fragColor=vec4(val,1.0,1.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform float u_extrude_scale;uniform float u_opacity;uniform float u_intensity;uniform highp float u_globe_extrude_scale;in vec2 a_pos;out vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#pragma mapbox: define mediump float radius\nconst highp float ZERO=1.0/255.0/16.0;\n#define GAUSS_COEF 0.3989422804014327\nvoid main(void) {\n#pragma mapbox: initialize highp float weight\n#pragma mapbox: initialize mediump float radius\nvec2 pos_raw=a_pos+32768.0;vec2 unscaled_extrude=vec2(mod(pos_raw,8.0)/7.0*2.0-1.0);float S=sqrt(-2.0*log(ZERO/weight/u_intensity/GAUSS_COEF))/3.0;v_extrude=S*unscaled_extrude;vec2 extrude=v_extrude*radius*u_extrude_scale;vec2 circle_center=floor(pos_raw/8.0);\n#ifdef GLOBE\nvec2 angles=v_extrude*radius*u_globe_extrude_scale;vec3 center_vector=projectToSphere(circle_center);vec3 corner_vector=globeRotateVector(center_vector,angles);gl_Position=interpolateProjection(circle_center+extrude,corner_vector,0.0);\n#else\ngl_Position=projectTileFor3D(circle_center+extrude,get_elevation(circle_center));\n#endif\n}"),heatmapTexture:kt("uniform sampler2D u_image;uniform sampler2D u_color_ramp;uniform float u_opacity;in vec2 v_pos;void main() {float t=texture(u_image,v_pos).r;vec4 color=texture(u_color_ramp,vec2(t,0.5));fragColor=color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(0.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_world;in vec2 a_pos;out vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}"),collisionBox:kt("in float v_placed;in float v_notUsed;void main() {float alpha=0.5;fragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {fragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {fragColor*=.1;}}","in vec2 a_anchor_pos;in vec2 a_placed;in vec2 a_box_real;uniform vec2 u_pixel_extrude_scale;out float v_placed;out float v_notUsed;void main() {gl_Position=projectTileWithElevation(a_anchor_pos,get_elevation(a_anchor_pos));gl_Position.xy=((a_box_real+0.5)*u_pixel_extrude_scale*2.0-1.0)*vec2(1.0,-1.0)*gl_Position.w;if (gl_Position.z/gl_Position.w < 1.1) {gl_Position.z=0.5;}v_placed=a_placed.x;v_notUsed=a_placed.y;}"),collisionCircle:kt("in float v_radius;in vec2 v_extrude;in float v_collision;void main() {float alpha=0.5;float stroke_radius=0.9;float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);fragColor=color*alpha*opacity_t;}","in vec2 a_pos;in float a_radius;in vec2 a_flags;uniform vec2 u_viewport_size;out float v_radius;out vec2 v_extrude;out float v_collision;void main() {float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_collision=collision;gl_Position=vec4((a_pos/u_viewport_size*2.0-1.0)*vec2(1.0,-1.0),0.0,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}"),colorRelief:kt("#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D u_image;uniform vec4 u_unpack;uniform sampler2D u_elevation_stops;uniform sampler2D u_color_stops;uniform int u_color_ramp_size;uniform float u_opacity;in vec2 v_pos;float getElevation(vec2 coord) {vec4 data=texture(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack);}float getElevationStop(int stop) {float x=(float(stop)+0.5)/float(u_color_ramp_size);vec4 data=texture(u_elevation_stops,vec2(x,0))*255.0;data.a=-1.0;return dot(data,u_unpack);}void main() {float el=getElevation(v_pos);int r=(u_color_ramp_size-1);int l=0;float el_l=getElevationStop(l);float el_r=getElevationStop(r);while(r-l > 1){int m=(r+l)/2;float el_m=getElevationStop(m);if(el < el_m){r=m;el_r=el_m;}else\n{l=m;el_l=el_m;}}float x=(float(l)+(el-el_l)/(el_r-el_l)+0.5)/float(u_color_ramp_size);fragColor=u_opacity*texture(u_color_stops,vec2(x,0));\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec2 u_dimension;in vec2 a_pos;out vec2 v_pos;void main() {gl_Position=projectTile(a_pos,a_pos);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_pos/8192.0)*scale+epsilon;if (a_pos.y <-32767.5) {v_pos.y=0.0;}if (a_pos.y > 32766.5) {v_pos.y=1.0;}}"),debug:kt("uniform highp vec4 u_color;uniform sampler2D u_overlay;in vec2 v_uv;void main() {vec4 overlay_color=texture(u_overlay,v_uv);fragColor=mix(u_color,overlay_color,overlay_color.a);}","in vec2 a_pos;out vec2 v_uv;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=projectTileWithElevation(a_pos*u_overlay_scale,get_elevation(a_pos));}"),depth:kt(Lt,"in vec2 a_pos;void main() {\n#ifdef GLOBE\ngl_Position=projectTileFor3D(a_pos,0.0);\n#else\ngl_Position=u_projection_matrix*vec4(a_pos,0.0,1.0);\n#endif\n}"),fill:kt("#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\nfragColor=color*opacity;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec2 u_fill_translate;in vec2 a_pos;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=projectTile(a_pos+u_fill_translate,a_pos);}"),fillOutline:kt("in vec2 v_pos;\n#ifdef GLOBE\nin float v_depth;\n#endif\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);fragColor=outline_color*(alpha*opacity);\n#ifdef GLOBE\nif (v_depth > 1.0) {discard;}\n#endif\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec2 u_world;uniform vec2 u_fill_translate;in vec2 a_pos;out vec2 v_pos;\n#ifdef GLOBE\nout float v_depth;\n#endif\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=projectTile(a_pos+u_fill_translate,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;\n#ifdef GLOBE\nv_depth=gl_Position.z/gl_Position.w;\n#endif\n}"),fillOutlinePattern:kt("uniform vec2 u_texsize;uniform sampler2D u_image;uniform float u_fade;in vec2 v_pos_a;in vec2 v_pos_b;in vec2 v_pos;\n#ifdef GLOBE\nin float v_depth;\n#endif\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture(u_image,pos2);float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);fragColor=mix(color1,color2,u_fade)*alpha*opacity;\n#ifdef GLOBE\nif (v_depth > 1.0) {discard;}\n#endif\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec2 u_world;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;uniform vec2 u_fill_translate;in vec2 a_pos;out vec2 v_pos_a;out vec2 v_pos_b;out vec2 v_pos;\n#ifdef GLOBE\nout float v_depth;\n#endif\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;gl_Position=projectTile(a_pos+u_fill_translate,a_pos);vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;\n#ifdef GLOBE\nv_depth=gl_Position.z/gl_Position.w;\n#endif\n}"),fillPattern:kt("#ifdef GL_ES\nprecision highp float;\n#endif\nuniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;in vec2 v_pos_a;in vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture(u_image,pos2);fragColor=mix(color1,color2,u_fade)*opacity;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;uniform vec2 u_fill_translate;in vec2 a_pos;out vec2 v_pos_a;out vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;gl_Position=projectTile(a_pos+u_fill_translate,a_pos);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}"),fillExtrusion:kt("in vec4 v_color;void main() {fragColor=v_color;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp vec3 u_lightpos_globe;uniform lowp float u_lightintensity;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec2 u_fill_translate;in vec2 a_pos;in vec4 a_normal_ed;\n#ifdef TERRAIN3D\nin vec2 a_centroid;\n#endif\nout vec4 v_color;\n#pragma mapbox: define highp float base\n#pragma mapbox: define highp float height\n#pragma mapbox: define highp vec4 color\nvoid main() {\n#pragma mapbox: initialize highp float base\n#pragma mapbox: initialize highp float height\n#pragma mapbox: initialize highp vec4 color\nvec3 normal=a_normal_ed.xyz;\n#ifdef TERRAIN3D\nfloat height_terrain3d_offset=get_elevation(a_centroid);float base_terrain3d_offset=height_terrain3d_offset-(base > 0.0 ? 0.0 : 10.0);\n#else\nfloat height_terrain3d_offset=0.0;float base_terrain3d_offset=0.0;\n#endif\nbase=max(0.0,base)+base_terrain3d_offset;height=max(0.0,height)+height_terrain3d_offset;float t=mod(normal.x,2.0);float elevation=t > 0.0 ? height : base;vec2 posInTile=a_pos+u_fill_translate;\n#ifdef GLOBE\nvec3 spherePos=projectToSphere(posInTile,a_pos);gl_Position=interpolateProjectionFor3D(posInTile,spherePos,elevation);\n#else\ngl_Position=u_projection_matrix*vec4(posInTile,elevation,1.0);\n#endif\nfloat colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;vec3 normalForLighting=normal/16384.0;float directional=clamp(dot(normalForLighting,u_lightpos),0.0,1.0);\n#ifdef GLOBE\nmat3 rotMatrix=globeGetRotationMatrix(spherePos);normalForLighting=rotMatrix*normalForLighting;directional=mix(directional,clamp(dot(normalForLighting,u_lightpos_globe),0.0,1.0),u_projection_transition);\n#endif\ndirectional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}"),fillExtrusionPattern:kt("uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;in vec2 v_pos_a;in vec2 v_pos_b;in vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);fragColor=mixedColor*v_lighting;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec3 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec2 u_fill_translate;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp vec3 u_lightpos_globe;uniform lowp float u_lightintensity;in vec2 a_pos;in vec4 a_normal_ed;\n#ifdef TERRAIN3D\nin vec2 a_centroid;\n#endif\n#ifdef GLOBE\nout vec3 v_sphere_pos;\n#endif\nout vec2 v_pos_a;out vec2 v_pos_b;out vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;\n#ifdef TERRAIN3D\nfloat height_terrain3d_offset=get_elevation(a_centroid);float base_terrain3d_offset=height_terrain3d_offset-(base > 0.0 ? 0.0 : 10.0);\n#else\nfloat height_terrain3d_offset=0.0;float base_terrain3d_offset=0.0;\n#endif\nbase=max(0.0,base)+base_terrain3d_offset;height=max(0.0,height)+height_terrain3d_offset;float t=mod(normal.x,2.0);float elevation=t > 0.0 ? height : base;vec2 posInTile=a_pos+u_fill_translate;\n#ifdef GLOBE\nvec3 spherePos=projectToSphere(posInTile,a_pos);vec3 elevatedPos=spherePos*(1.0+elevation/GLOBE_RADIUS);v_sphere_pos=elevatedPos;gl_Position=interpolateProjectionFor3D(posInTile,spherePos,elevation);\n#else\ngl_Position=u_projection_matrix*vec4(posInTile,elevation,1.0);\n#endif\nvec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0\n? a_pos\n: vec2(edgedistance,elevation*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}"),hillshadePrepare:kt("#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D u_image;in vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack);}void main() {vec2 epsilon=1.0/u_dimension;float tileSize=u_dimension.x-2.0;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggerationFactor=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;float exaggeration=u_zoom < 15.0 ? (u_zoom-15.0)*exaggerationFactor : 0.0;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))*tileSize/pow(2.0,exaggeration+(28.2562-u_zoom));fragColor=clamp(vec4(deriv.x/8.0+0.5,deriv.y/8.0+0.5,1.0,1.0),0.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_dimension;in vec2 a_pos;in vec2 a_texture_pos;out vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}"),hillshade:kt("uniform sampler2D u_image;in vec2 v_pos;uniform vec2 u_latrange;uniform float u_exaggeration;uniform vec4 u_accent;uniform int u_method;uniform float u_altitudes[NUM_ILLUMINATION_SOURCES];uniform float u_azimuths[NUM_ILLUMINATION_SOURCES];uniform vec4 u_shadows[NUM_ILLUMINATION_SOURCES];uniform vec4 u_highlights[NUM_ILLUMINATION_SOURCES];\n#define PI 3.141592653589793\n#define STANDARD 0\n#define COMBINED 1\n#define IGOR 2\n#define MULTIDIRECTIONAL 3\n#define BASIC 4\nfloat get_aspect(vec2 deriv){return deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);}void igor_hillshade(vec2 deriv){deriv=deriv*u_exaggeration*2.0;float aspect=get_aspect(deriv);float azimuth=u_azimuths[0]+PI;float slope_stength=atan(length(deriv))*2.0/PI;float aspect_strength=1.0-abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);float shadow_strength=slope_stength*aspect_strength;float highlight_strength=slope_stength*(1.0-aspect_strength);fragColor=u_shadows[0]*shadow_strength+u_highlights[0]*highlight_strength;}void standard_hillshade(vec2 deriv){float azimuth=u_azimuths[0]+PI;float slope=atan(0.625*length(deriv));float aspect=get_aspect(deriv);float intensity=u_exaggeration;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadows[0],u_highlights[0],shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);fragColor=accent_color*(1.0-shade_color.a)+shade_color;}void basic_hillshade(vec2 deriv){deriv=deriv*u_exaggeration*2.0;float azimuth=u_azimuths[0]+PI;float cos_az=cos(azimuth);float sin_az=sin(azimuth);float cos_alt=cos(u_altitudes[0]);float sin_alt=sin(u_altitudes[0]);float cang=(sin_alt-(deriv.y*cos_az*cos_alt-deriv.x*sin_az*cos_alt))/sqrt(1.0+dot(deriv,deriv));float shade=clamp(cang,0.0,1.0);if(shade > 0.5){fragColor=u_highlights[0]*(2.0*shade-1.0);}else\n{fragColor=u_shadows[0]*(1.0-2.0*shade);}}void multidirectional_hillshade(vec2 deriv){deriv=deriv*u_exaggeration*2.0;fragColor=vec4(0,0,0,0);for(int i=0; i < NUM_ILLUMINATION_SOURCES; i++){float cos_alt=cos(u_altitudes[i]);float sin_alt=sin(u_altitudes[i]);float cos_az=-cos(u_azimuths[i]);float sin_az=-sin(u_azimuths[i]);float cang=(sin_alt-(deriv.y*cos_az*cos_alt-deriv.x*sin_az*cos_alt))/sqrt(1.0+dot(deriv,deriv));float shade=clamp(cang,0.0,1.0);if(shade > 0.5){fragColor+=u_highlights[i]*(2.0*shade-1.0)/float(NUM_ILLUMINATION_SOURCES);}else\n{fragColor+=u_shadows[i]*(1.0-2.0*shade)/float(NUM_ILLUMINATION_SOURCES);}}}void combined_hillshade(vec2 deriv){deriv=deriv*u_exaggeration*2.0;float azimuth=u_azimuths[0]+PI;float cos_az=cos(azimuth);float sin_az=sin(azimuth);float cos_alt=cos(u_altitudes[0]);float sin_alt=sin(u_altitudes[0]);float cang=acos((sin_alt-(deriv.y*cos_az*cos_alt-deriv.x*sin_az*cos_alt))/sqrt(1.0+dot(deriv,deriv)));cang=clamp(cang,0.0,PI/2.0);float shade=cang*atan(length(deriv))*4.0/PI/PI;float highlight=(PI/2.0-cang)*atan(length(deriv))*4.0/PI/PI;fragColor=u_shadows[0]*shade+u_highlights[0]*highlight;}void main() {vec4 pixel=texture(u_image,v_pos);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));vec2 deriv=((pixel.rg*8.0)-4.0)/scaleFactor;if (u_method==BASIC) {basic_hillshade(deriv);} else if (u_method==COMBINED) {combined_hillshade(deriv);} else if (u_method==IGOR) {igor_hillshade(deriv);} else if (u_method==MULTIDIRECTIONAL) {multidirectional_hillshade(deriv);} else if (u_method==STANDARD) {standard_hillshade(deriv);} else {standard_hillshade(deriv);}\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;in vec2 a_pos;out vec2 v_pos;void main() {gl_Position=projectTile(a_pos,a_pos);v_pos=a_pos/8192.0;if (a_pos.y <-32767.5) {v_pos.y=0.0;}if (a_pos.y > 32766.5) {v_pos.y=1.0;}}"),line:kt("uniform lowp float u_device_pixel_ratio;in vec2 v_width2;in vec2 v_normal;in float v_gamma_scale;\n#ifdef GLOBE\nin float v_depth;\n#endif\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);fragColor=color*(alpha*opacity);\n#ifdef GLOBE\nif (v_depth > 1.0) {discard;}\n#endif\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\nin vec2 a_pos_normal;in vec4 a_data;uniform vec2 u_translation;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;out vec2 v_normal;out vec2 v_width2;out float v_gamma_scale;out highp float v_linesofar;\n#ifdef GLOBE\nout float v_depth;\n#endif\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);float adjustedThickness=projectLineThickness(pos.y);vec4 projected_no_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation);vec4 projected_with_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation+dist/u_ratio*adjustedThickness);gl_Position=projected_with_extrude;\n#ifdef GLOBE\nv_depth=gl_Position.z/gl_Position.w;\n#endif\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length((projected_with_extrude.xy-projected_no_extrude.xy)/projected_with_extrude.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nv_width2=vec2(outset,inset);}"),lineGradient:kt("uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;in vec2 v_width2;in vec2 v_normal;in float v_gamma_scale;in highp vec2 v_uv;\n#ifdef GLOBE\nin float v_depth;\n#endif\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture(u_image,v_uv);fragColor=color*(alpha*opacity);\n#ifdef GLOBE\nif (v_depth > 1.0) {discard;}\n#endif\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\nin vec2 a_pos_normal;in vec4 a_data;in float a_uv_x;in float a_split_index;uniform vec2 u_translation;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;uniform float u_image_height;out vec2 v_normal;out vec2 v_width2;out float v_gamma_scale;out highp vec2 v_uv;\n#ifdef GLOBE\nout float v_depth;\n#endif\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;highp float texel_height=1.0/u_image_height;highp float half_texel_height=0.5*texel_height;v_uv=vec2(a_uv_x,a_split_index*texel_height-half_texel_height);vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);float adjustedThickness=projectLineThickness(pos.y);vec4 projected_no_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation);vec4 projected_with_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation+dist/u_ratio*adjustedThickness);gl_Position=projected_with_extrude;\n#ifdef GLOBE\nv_depth=gl_Position.z/gl_Position.w;\n#endif\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length((projected_with_extrude.xy-projected_no_extrude.xy)/projected_with_extrude.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nv_width2=vec2(outset,inset);}"),linePattern:kt("#ifdef GL_ES\nprecision highp float;\n#endif\nuniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec3 u_scale;uniform sampler2D u_image;in vec2 v_normal;in vec2 v_width2;in float v_linesofar;in float v_gamma_scale;in float v_width;\n#ifdef GLOBE\nin float v_depth;\n#endif\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float aspect_a=display_size_a.y/v_width;float aspect_b=display_size_b.y/v_width;float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x*aspect_a,1.0);float x_b=mod(v_linesofar/pattern_size_b.x*aspect_b,1.0);float y=0.5*v_normal.y+0.5;vec2 texel_size=1.0/u_texsize;vec2 pos_a=mix(pattern_tl_a*texel_size-texel_size,pattern_br_a*texel_size+texel_size,vec2(x_a,y));vec2 pos_b=mix(pattern_tl_b*texel_size-texel_size,pattern_br_b*texel_size+texel_size,vec2(x_b,y));vec4 color=mix(texture(u_image,pos_a),texture(u_image,pos_b),u_fade);fragColor=color*alpha*opacity;\n#ifdef GLOBE\nif (v_depth > 1.0) {discard;}\n#endif\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nin vec2 a_pos_normal;in vec4 a_data;uniform vec2 u_translation;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;out vec2 v_normal;out vec2 v_width2;out float v_linesofar;out float v_gamma_scale;out float v_width;\n#ifdef GLOBE\nout float v_depth;\n#endif\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);float adjustedThickness=projectLineThickness(pos.y);vec4 projected_no_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation);vec4 projected_with_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation+dist/u_ratio*adjustedThickness);gl_Position=projected_with_extrude;\n#ifdef GLOBE\nv_depth=gl_Position.z/gl_Position.w;\n#endif\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length((projected_with_extrude.xy-projected_no_extrude.xy)/projected_with_extrude.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nv_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}"),lineSDF:kt("uniform lowp float u_device_pixel_ratio;uniform lowp float u_lineatlas_width;uniform sampler2D u_image;uniform float u_mix;in vec2 v_normal;in vec2 v_width2;in vec2 v_tex_a;in vec2 v_tex_b;in float v_gamma_scale;\n#ifdef GLOBE\nin float v_depth;\n#endif\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define mediump vec4 dasharray_from\n#pragma mapbox: define mediump vec4 dasharray_to\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize mediump vec4 dasharray_from\n#pragma mapbox: initialize mediump vec4 dasharray_to\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture(u_image,v_tex_a).a;float sdfdist_b=texture(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);float sdfgamma=(u_lineatlas_width/256.0/u_device_pixel_ratio)/min(dasharray_from.w,dasharray_to.w);alpha*=smoothstep(0.5-sdfgamma/floorwidth,0.5+sdfgamma/floorwidth,sdfdist);fragColor=color*(alpha*opacity);\n#ifdef GLOBE\nif (v_depth > 1.0) {discard;}\n#endif\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nin vec2 a_pos_normal;in vec4 a_data;uniform vec2 u_translation;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;uniform float u_tileratio;uniform float u_crossfade_from;uniform float u_crossfade_to;uniform float u_lineatlas_height;out vec2 v_normal;out vec2 v_width2;out vec2 v_tex_a;out vec2 v_tex_b;out float v_gamma_scale;\n#ifdef GLOBE\nout float v_depth;\n#endif\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define mediump vec4 dasharray_from\n#pragma mapbox: define mediump vec4 dasharray_to\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize mediump vec4 dasharray_from\n#pragma mapbox: initialize mediump vec4 dasharray_to\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);float adjustedThickness=projectLineThickness(pos.y);vec4 projected_no_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation);vec4 projected_with_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation+dist/u_ratio*adjustedThickness);gl_Position=projected_with_extrude;\n#ifdef GLOBE\nv_depth=gl_Position.z/gl_Position.w;\n#endif\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length((projected_with_extrude.xy-projected_no_extrude.xy)/projected_with_extrude.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nfloat u_patternscale_a_x=u_tileratio/dasharray_from.w/u_crossfade_from;float u_patternscale_a_y=-dasharray_from.z/2.0/u_lineatlas_height;float u_patternscale_b_x=u_tileratio/dasharray_to.w/u_crossfade_to;float u_patternscale_b_y=-dasharray_to.z/2.0/u_lineatlas_height;v_tex_a=vec2(a_linesofar*u_patternscale_a_x/floorwidth,normal.y*u_patternscale_a_y+(float(dasharray_from.y)+0.5)/u_lineatlas_height);v_tex_b=vec2(a_linesofar*u_patternscale_b_x/floorwidth,normal.y*u_patternscale_b_y+(float(dasharray_to.y)+0.5)/u_lineatlas_height);v_width2=vec2(outset,inset);}"),lineGradientSDF:kt("uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform sampler2D u_image_dash;uniform float u_mix;uniform lowp float u_lineatlas_width;in vec2 v_normal;in vec2 v_width2;in vec2 v_tex_a;in vec2 v_tex_b;in float v_gamma_scale;in highp vec2 v_uv;\n#ifdef GLOBE\nin float v_depth;\n#endif\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define mediump vec4 dasharray_from\n#pragma mapbox: define mediump vec4 dasharray_to\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize mediump vec4 dasharray_from\n#pragma mapbox: initialize mediump vec4 dasharray_to\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture(u_image,v_uv);float sdfdist_a=texture(u_image_dash,v_tex_a).a;float sdfdist_b=texture(u_image_dash,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);float sdfgamma=(u_lineatlas_width/256.0)/min(dasharray_from.w,dasharray_to.w);float dash_alpha=smoothstep(0.5-sdfgamma/floorwidth,0.5+sdfgamma/floorwidth,sdfdist);fragColor=color*(alpha*dash_alpha*opacity);\n#ifdef GLOBE\nif (v_depth > 1.0) {discard;}\n#endif\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nin vec2 a_pos_normal;in vec4 a_data;in float a_uv_x;in float a_split_index;uniform vec2 u_translation;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;uniform float u_image_height;uniform float u_tileratio;uniform float u_crossfade_from;uniform float u_crossfade_to;uniform float u_lineatlas_height;out vec2 v_normal;out vec2 v_width2;out float v_gamma_scale;out highp vec2 v_uv;out vec2 v_tex_a;out vec2 v_tex_b;\n#ifdef GLOBE\nout float v_depth;\n#endif\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define mediump vec4 dasharray_from\n#pragma mapbox: define mediump vec4 dasharray_to\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize mediump vec4 dasharray_from\n#pragma mapbox: initialize mediump vec4 dasharray_to\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;float texel_height=1.0/u_image_height;float half_texel_height=0.5*texel_height;v_uv=vec2(a_uv_x,a_split_index*texel_height-half_texel_height);vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);float adjustedThickness=projectLineThickness(pos.y);vec4 projected_no_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation);vec4 projected_with_extrude=projectTile(pos+offset2/u_ratio*adjustedThickness+u_translation+dist/u_ratio*adjustedThickness);gl_Position=projected_with_extrude;\n#ifdef GLOBE\nv_depth=gl_Position.z/gl_Position.w;\n#endif\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length((projected_with_extrude.xy-projected_no_extrude.xy)/projected_with_extrude.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nfloat u_patternscale_a_x=u_tileratio/dasharray_from.w/u_crossfade_from;float u_patternscale_a_y=-dasharray_from.z/2.0/u_lineatlas_height;float u_patternscale_b_x=u_tileratio/dasharray_to.w/u_crossfade_to;float u_patternscale_b_y=-dasharray_to.z/2.0/u_lineatlas_height;v_tex_a=vec2(a_linesofar*u_patternscale_a_x/floorwidth,normal.y*u_patternscale_a_y+(float(dasharray_from.y)+0.5)/u_lineatlas_height);v_tex_b=vec2(a_linesofar*u_patternscale_b_x/floorwidth,normal.y*u_patternscale_b_y+(float(dasharray_to.y)+0.5)/u_lineatlas_height);v_width2=vec2(outset,inset);}"),raster:kt("uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;in vec2 v_pos0;in vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture(u_image0,v_pos0);vec4 color1=texture(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);fragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a);\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;uniform vec4 u_coords_top;uniform vec4 u_coords_bottom;in vec2 a_pos;out vec2 v_pos0;out vec2 v_pos1;void main() {vec2 fractionalPos=a_pos/8192.0;vec2 position=mix(mix(u_coords_top.xy,u_coords_top.zw,fractionalPos.x),mix(u_coords_bottom.xy,u_coords_bottom.zw,fractionalPos.x),fractionalPos.y);gl_Position=projectTile(position,position);v_pos0=((fractionalPos-0.5)/u_buffer_scale)+0.5;\n#ifdef GLOBE\nif (a_pos.y <-32767.5) {v_pos0.y=0.0;}if (a_pos.y > 32766.5) {v_pos0.y=1.0;}\n#endif\nv_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}"),symbolIcon:kt("uniform sampler2D u_texture;in vec2 v_tex;in float v_total_opacity;void main() {fragColor=texture(u_texture,v_tex)*v_total_opacity;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","in vec4 a_pos_offset;in vec4 a_data;in vec4 a_pixeloffset;in vec3 a_projected_pos;in float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;uniform bool u_is_along_line;uniform bool u_is_variable_anchor;uniform vec2 u_translation;uniform float u_pitched_scale;out vec2 v_tex;out float v_total_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 translated_a_pos=a_pos+u_translation;vec4 projectedPoint=projectTileWithElevation(translated_a_pos,ele);vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float visibility=calculate_visibility(projectedPoint);v_total_opacity=opacity*max(0.0,min(visibility,fade_opacity[0]+fade_change));if (v_total_opacity < 0.1){gl_Position=vec4(-2.,-2.,-2.,1.);return;}highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=projectTileWithElevation(translated_a_pos+vec2(1,0),ele);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos;if (u_is_along_line || u_is_variable_anchor) {projected_pos=vec4(a_projected_pos.xy,ele,1.0);} else if (u_pitch_with_map) {projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy+u_translation,ele,1.0);} else {projected_pos=u_label_plane_matrix*projectTileWithElevation(a_projected_pos.xy+u_translation,ele);}float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;float projectionScaling=1.0;\n#ifdef GLOBE\nif(u_pitch_with_map) {float anchor_pos_tile_y=(u_coord_matrix*vec4(projected_pos.xy/projected_pos.w,z,1.0)).y;projectionScaling=mix(projectionScaling,1.0/circumferenceRatioAtTileY(anchor_pos_tile_y)*u_pitched_scale,u_projection_transition);}\n#endif\nvec4 finalPos=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0)*projectionScaling,z,1.0);if(u_pitch_with_map) {finalPos=projectTileWithElevation(finalPos.xy,finalPos.z);}gl_Position=finalPos;v_tex=a_tex/u_texsize;}"),symbolSDF:kt("#define SDF_PX 8.0\nuniform bool u_is_halo;uniform bool u_is_plain;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;in vec2 v_data0;in vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float total_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float inner_edge=(256.0-64.0)/256.0;lowp float dist=texture(u_texture,tex).a;lowp vec4 color_alpha_out_text,color_alpha_out_halo;if (u_is_plain){highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(inner_edge-gamma_scaled,inner_edge+gamma_scaled,dist);color_alpha_out_text=total_opacity*alpha*fill_color;}if (u_is_halo) {float gamma_halo=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);float inner_edge_halo=inner_edge+gamma_halo*gamma_scale;highp float gamma_scaled_halo=gamma_halo*gamma_scale;highp float alpha_halo=smoothstep(inner_edge_halo-gamma_scaled_halo,inner_edge_halo+gamma_scaled_halo,dist);highp float halo_edge=(6.0-halo_width/fontScale)/SDF_PX;alpha_halo= min(smoothstep(halo_edge-gamma_scaled_halo,halo_edge+gamma_scaled_halo,dist),1.0-alpha_halo);color_alpha_out_halo=total_opacity*alpha_halo*halo_color;}if (u_is_plain && u_is_halo) {fragColor=color_alpha_out_text+(1.-color_alpha_out_text.a)*color_alpha_out_halo;} else if (u_is_halo){fragColor=color_alpha_out_halo;} else {fragColor=color_alpha_out_text;}\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","in vec4 a_pos_offset;in vec4 a_data;in vec4 a_pixeloffset;in vec3 a_projected_pos;in float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform bool u_is_along_line;uniform bool u_is_variable_anchor;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_translation;uniform float u_pitched_scale;out vec2 v_data0;out vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy/16.0;vec2 a_minFontScale=a_pixeloffset.zw/256.0;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 translated_a_pos=a_pos+u_translation;vec4 projectedPoint=projectTileWithElevation(translated_a_pos,ele);vec2 fade_opacity=unpack_opacity(a_fade_opacity);float visibility=calculate_visibility(projectedPoint);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));float total_opacity=opacity*interpolated_fade_opacity;if (total_opacity < 0.1){gl_Position=vec4(-2.,-2.,-2.,1.);return;}highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=projectTileWithElevation(translated_a_pos+vec2(1,0),ele);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos;if (u_is_along_line || u_is_variable_anchor) {projected_pos=vec4(a_projected_pos.xy,ele,1.0);} else if (u_pitch_with_map) {projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy+u_translation,ele,1.0);} else {projected_pos=u_label_plane_matrix*projectTileWithElevation(a_projected_pos.xy+u_translation,ele);}float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;float projectionScaling=1.0;\n#ifdef GLOBE\nif(u_pitch_with_map) {float anchor_pos_tile_y=(u_coord_matrix*vec4(projected_pos.xy/projected_pos.w,z,1.0)).y;projectionScaling=mix(projectionScaling,1.0/circumferenceRatioAtTileY(anchor_pos_tile_y)*u_pitched_scale,u_projection_transition);}\n#endif\nvec4 finalPos=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset)*projectionScaling,z,1.0);if(u_pitch_with_map) {finalPos=projectTileWithElevation(finalPos.xy,finalPos.z);}float gamma_scale=finalPos.w;gl_Position=finalPos;v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,total_opacity);}"),symbolTextAndIcon:kt("#define SDF_PX 8.0\n#define SDF 1.0\n#define ICON 0.0\nuniform bool u_is_halo;uniform bool u_is_text;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;in vec4 v_data0;in vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat total_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;fragColor=texture(u_texture_icon,tex_icon)*total_opacity;\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\nreturn;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;lowp float dist=texture(u_texture,tex).a;lowp vec4 color_alpha_out,color_alpha_out_halo;if (u_is_text) {highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);color_alpha_out=fill_color*(alpha*total_opacity);}if (u_is_halo) {highp float gamma_halo=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);lowp float buff_halo=(6.0-halo_width/fontScale)/SDF_PX;highp float gamma_scaled_halo=gamma_halo*gamma_scale;highp float alpha_halo=smoothstep(buff_halo-gamma_scaled_halo,buff_halo+gamma_scaled_halo,dist);color_alpha_out_halo=halo_color*(alpha_halo*total_opacity);}if (u_is_text && u_is_halo) {fragColor=color_alpha_out+(1.-color_alpha_out.a)*color_alpha_out_halo;} else if (u_is_halo) {fragColor=color_alpha_out_halo;} else {fragColor=color_alpha_out;}\n#ifdef OVERDRAW_INSPECTOR\nfragColor=vec4(1.0);\n#endif\n}","in vec4 a_pos_offset;in vec4 a_data;in vec3 a_projected_pos;in float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_texsize_icon;uniform bool u_is_along_line;uniform bool u_is_variable_anchor;uniform vec2 u_translation;uniform float u_pitched_scale;out vec4 v_data0;out vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 translated_a_pos=a_pos+u_translation;vec4 projectedPoint=projectTileWithElevation(translated_a_pos,ele);vec2 fade_opacity=unpack_opacity(a_fade_opacity);float visibility=calculate_visibility(projectedPoint);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));float total_opacity=opacity*interpolated_fade_opacity;if (total_opacity < 0.1){gl_Position=vec4(-2.,-2.,-2.,1.);return;}highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=projectTileWithElevation(translated_a_pos+vec2(1,0),ele);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos;if (u_is_along_line || u_is_variable_anchor) {projected_pos=vec4(a_projected_pos.xy,ele,1.0);} else if (u_pitch_with_map) {projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy+u_translation,ele,1.0);} else {projected_pos=u_label_plane_matrix*projectTileWithElevation(a_projected_pos.xy+u_translation,ele);}float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;float projectionScaling=1.0;\n#ifdef GLOBE\nif(u_pitch_with_map && !u_is_along_line) {float anchor_pos_tile_y=(u_coord_matrix*vec4(projected_pos.xy/projected_pos.w,z,1.0)).y;projectionScaling=mix(projectionScaling,1.0/circumferenceRatioAtTileY(anchor_pos_tile_y)*u_pitched_scale,u_projection_transition);}\n#endif\nvec4 finalPos=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale)*projectionScaling,z,1.0);if(u_pitch_with_map) {finalPos=projectTileWithElevation(finalPos.xy,finalPos.z);}float gamma_scale=finalPos.w;gl_Position=finalPos;v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,total_opacity,is_sdf);}"),terrain:kt("uniform sampler2D u_texture;uniform vec4 u_fog_color;uniform vec4 u_horizon_color;uniform float u_fog_ground_blend;uniform float u_fog_ground_blend_opacity;uniform float u_horizon_fog_blend;uniform bool u_is_globe_mode;in vec2 v_texture_pos;in float v_fog_depth;const float gamma=2.2;vec4 gammaToLinear(vec4 color) {return pow(color,vec4(gamma));}vec4 linearToGamma(vec4 color) {return pow(color,vec4(1.0/gamma));}void main() {vec4 surface_color=texture(u_texture,vec2(v_texture_pos.x,1.0-v_texture_pos.y));if (!u_is_globe_mode && u_fog_ground_blend_opacity > 0.0 && v_fog_depth > u_fog_ground_blend) {vec4 surface_color_linear=gammaToLinear(surface_color);float blend_color=smoothstep(0.0,1.0,max((v_fog_depth-u_horizon_fog_blend)/(1.0-u_horizon_fog_blend),0.0));vec4 fog_horizon_color_linear=mix(gammaToLinear(u_fog_color),gammaToLinear(u_horizon_color),blend_color);float factor_fog=max(v_fog_depth-u_fog_ground_blend,0.0)/(1.0-u_fog_ground_blend);fragColor=linearToGamma(mix(surface_color_linear,fog_horizon_color_linear,pow(factor_fog,2.0)*u_fog_ground_blend_opacity));} else {fragColor=surface_color;}}","in vec3 a_pos3d;uniform mat4 u_fog_matrix;uniform float u_ele_delta;out vec2 v_texture_pos;out float v_fog_depth;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;v_texture_pos=a_pos3d.xy/8192.0;gl_Position=projectTileFor3D(a_pos3d.xy,ele-ele_delta);vec4 pos=u_fog_matrix*vec4(a_pos3d.xy,ele,1.0);v_fog_depth=pos.z/pos.w*0.5+0.5;}"),terrainDepth:kt("in float v_depth;const highp vec4 bitSh=vec4(256.*256.*256.,256.*256.,256.,1.);const highp vec4 bitMsk=vec4(0.,vec3(1./256.0));highp vec4 pack(highp float value) {highp vec4 comp=fract(value*bitSh);comp-=comp.xxyz*bitMsk;return comp;}void main() {fragColor=pack(v_depth);}","in vec3 a_pos3d;uniform float u_ele_delta;out float v_depth;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;gl_Position=projectTileFor3D(a_pos3d.xy,ele-ele_delta);v_depth=gl_Position.z/gl_Position.w;}"),terrainCoords:kt("precision mediump float;uniform sampler2D u_texture;uniform float u_terrain_coords_id;in vec2 v_texture_pos;void main() {vec4 rgba=texture(u_texture,v_texture_pos);fragColor=vec4(rgba.r,rgba.g,rgba.b,u_terrain_coords_id);}","in vec3 a_pos3d;uniform float u_ele_delta;out vec2 v_texture_pos;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;v_texture_pos=a_pos3d.xy/8192.0;gl_Position=projectTileFor3D(a_pos3d.xy,ele-ele_delta);}"),projectionErrorMeasurement:kt("in vec4 v_output_error_encoded;void main() {fragColor=v_output_error_encoded;}","in vec2 a_pos;uniform highp float u_input;uniform highp float u_output_expected;out vec4 v_output_error_encoded;void main() {float real_output=2.0*atan(exp(PI-(u_input*PI*2.0)))-PI*0.5;float error=real_output-u_output_expected;float abs_error=abs(error)*128.0;v_output_error_encoded.x=min(floor(abs_error*256.0),255.0)/255.0;abs_error-=v_output_error_encoded.x;v_output_error_encoded.y=min(floor(abs_error*65536.0),255.0)/255.0;abs_error-=v_output_error_encoded.x/255.0;v_output_error_encoded.z=min(floor(abs_error*16777216.0),255.0)/255.0;v_output_error_encoded.w=error >=0.0 ? 1.0 : 0.0;gl_Position=vec4(a_pos,0.0,1.0);}"),atmosphere:kt("#ifdef GL_ES\nprecision highp float;\n#endif\nin vec3 view_direction;uniform vec3 u_sun_pos;uniform vec3 u_globe_position;uniform float u_globe_radius;uniform float u_atmosphere_blend;/**Shader use from https:*Made some change to adapt to MapLibre Globe geometry*/const float PI=3.141592653589793;const int iSteps=5;const int jSteps=3;/*radius of the planet*/const float EARTH_RADIUS=6371e3;/*radius of the atmosphere*/const float ATMOS_RADIUS=6471e3;vec2 rsi(vec3 r0,vec3 rd,float sr) {float a=dot(rd,rd);float b=2.0*dot(rd,r0);float c=dot(r0,r0)-(sr*sr);float d=(b*b)-4.0*a*c;if (d < 0.0) return vec2(1e5,-1e5);return vec2((-b-sqrt(d))/(2.0*a),(-b+sqrt(d))/(2.0*a));}vec4 atmosphere(vec3 r,vec3 r0,vec3 pSun,float iSun,float rPlanet,float rAtmos,vec3 kRlh,float kMie,float shRlh,float shMie,float g) {pSun=normalize(pSun);r=normalize(r);vec2 p=rsi(r0,r,rAtmos);if (p.x > p.y) {return vec4(0.0,0.0,0.0,1.0);}if (p.x < 0.0) {p.x=0.0;}vec3 pos=r0+r*p.x;vec2 p2=rsi(r0,r,rPlanet);if (p2.x <=p2.y && p2.x > 0.0) {p.y=min(p.y,p2.x);}float iStepSize=(p.y-p.x)/float(iSteps);float iTime=p.x+iStepSize*0.5;vec3 totalRlh=vec3(0,0,0);vec3 totalMie=vec3(0,0,0);float iOdRlh=0.0;float iOdMie=0.0;float mu=dot(r,pSun);float mumu=mu*mu;float gg=g*g;float pRlh=3.0/(16.0*PI)*(1.0+mumu);float pMie=3.0/(8.0*PI)*((1.0-gg)*(mumu+1.0))/(pow(1.0+gg-2.0*mu*g,1.5)*(2.0+gg));for (int i=0; i < iSteps; i++) {vec3 iPos=r0+r*iTime;float iHeight=length(iPos)-rPlanet;float odStepRlh=exp(-iHeight/shRlh)*iStepSize;float odStepMie=exp(-iHeight/shMie)*iStepSize;iOdRlh+=odStepRlh;iOdMie+=odStepMie;float jStepSize=rsi(iPos,pSun,rAtmos).y/float(jSteps);float jTime=jStepSize*0.5;float jOdRlh=0.0;float jOdMie=0.0;for (int j=0; j < jSteps; j++) {vec3 jPos=iPos+pSun*jTime;float jHeight=length(jPos)-rPlanet;jOdRlh+=exp(-jHeight/shRlh)*jStepSize;jOdMie+=exp(-jHeight/shMie)*jStepSize;jTime+=jStepSize;}vec3 attn=exp(-(kMie*(iOdMie+jOdMie)+kRlh*(iOdRlh+jOdRlh)));totalRlh+=odStepRlh*attn;totalMie+=odStepMie*attn;iTime+=iStepSize;}float opacity=exp(-(length(kRlh)*length(totalRlh)+kMie*length(totalMie)));vec3 color=iSun*(pRlh*kRlh*totalRlh+pMie*kMie*totalMie);return vec4(color,opacity);}void main() {vec3 scale_camera_pos=-u_globe_position*EARTH_RADIUS/u_globe_radius;vec4 color=atmosphere(normalize(view_direction),scale_camera_pos,u_sun_pos,22.0,EARTH_RADIUS,ATMOS_RADIUS,vec3(5.5e-6,13.0e-6,22.4e-6),21e-6,8e3,1.2e3,0.758\n);color.rgb=1.0-exp(-1.0*color.rgb);color=pow(color,vec4(1.0/2.2));fragColor=vec4(color.rgb,1.0-color.a)*u_atmosphere_blend;}","in vec2 a_pos;uniform mat4 u_inv_proj_matrix;out vec3 view_direction;void main() {view_direction=(u_inv_proj_matrix*vec4(a_pos,0.0,1.0)).xyz;gl_Position=vec4(a_pos,0.0,1.0);}"),sky:kt("uniform vec4 u_sky_color;uniform vec4 u_horizon_color;uniform vec2 u_horizon;uniform vec2 u_horizon_normal;uniform float u_sky_horizon_blend;uniform float u_sky_blend;void main() {float x=gl_FragCoord.x;float y=gl_FragCoord.y;float blend=(y-u_horizon.y)*u_horizon_normal.y+(x-u_horizon.x)*u_horizon_normal.x;if (blend > 0.0) {if (blend < u_sky_horizon_blend) {fragColor=mix(u_sky_color,u_horizon_color,pow(1.0-blend/u_sky_horizon_blend,2.0));} else {fragColor=u_sky_color;}}fragColor=mix(fragColor,vec4(vec3(0.0),0.0),u_sky_blend);}","in vec2 a_pos;void main() {gl_Position=vec4(a_pos,1.0,1.0);}")};function kt(e,t){const i=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,o=t.match(/in ([\w]+) ([\w]+)/g),a=e.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),r=t.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),s=r?r.concat(a):a,n={};return {fragmentSource:e=e.replace(i,((e,t,i,o,a)=>(n[a]=!0,"define"===t?`\n#ifndef HAS_UNIFORM_u_${a}\nin ${i} ${o} ${a};\n#else\nuniform ${i} ${o} u_${a};\n#endif\n`:`\n#ifdef HAS_UNIFORM_u_${a}\n ${i} ${o} ${a} = u_${a};\n#endif\n`))),vertexSource:t=t.replace(i,((e,t,i,o,a)=>{const r="float"===o?"vec2":"vec4",s=a.match(/color/)?"color":r;return n[a]?"define"===t?`\n#ifndef HAS_UNIFORM_u_${a}\nuniform lowp float u_${a}_t;\nin ${i} ${r} a_${a};\nout ${i} ${o} ${a};\n#else\nuniform ${i} ${o} u_${a};\n#endif\n`:"vec4"===s?`\n#ifndef HAS_UNIFORM_u_${a}\n ${a} = a_${a};\n#else\n ${i} ${o} ${a} = u_${a};\n#endif\n`:`\n#ifndef HAS_UNIFORM_u_${a}\n ${a} = unpack_mix_${s}(a_${a}, u_${a}_t);\n#else\n ${i} ${o} ${a} = u_${a};\n#endif\n`:"define"===t?`\n#ifndef HAS_UNIFORM_u_${a}\nuniform lowp float u_${a}_t;\nin ${i} ${r} a_${a};\n#else\nuniform ${i} ${o} u_${a};\n#endif\n`:"vec4"===s?`\n#ifndef HAS_UNIFORM_u_${a}\n ${i} ${o} ${a} = a_${a};\n#else\n ${i} ${o} ${a} = u_${a};\n#endif\n`:`\n#ifndef HAS_UNIFORM_u_${a}\n ${i} ${o} ${a} = unpack_mix_${s}(a_${a}, u_${a}_t);\n#else\n ${i} ${o} ${a} = u_${a};\n#endif\n`})),staticAttributes:o,staticUniforms:s}}class Bt{constructor(e,t,i){this.vertexBuffer=e,this.indexBuffer=t,this.segments=i;}destroy(){this.vertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.vertexBuffer=null,this.indexBuffer=null,this.segments=null;}}var Ot=t.aS([{name:"a_pos",type:"Int16",components:2}]);const jt="#define PROJECTION_MERCATOR",Nt="mercator";class Zt{constructor(){this._cachedMesh=null;}get name(){return "mercator"}get useSubdivision(){return !1}get shaderVariantName(){return Nt}get shaderDefine(){return jt}get shaderPreludeCode(){return Ft.projectionMercator}get vertexShaderPreludeCode(){return Ft.projectionMercator.vertexSource}get subdivisionGranularity(){return t.aT.noSubdivision}get useGlobeControls(){return !1}get transitionState(){return 0}get latitudeErrorCorrectionRadians(){return 0}destroy(){}updateGPUdependent(e){}getMeshFromTileID(e,i,o,a,r){if(this._cachedMesh)return this._cachedMesh;const s=new t.aU;s.emplaceBack(0,0),s.emplaceBack(t.a6,0),s.emplaceBack(0,t.a6),s.emplaceBack(t.a6,t.a6);const n=e.createVertexBuffer(s,Ot.members),l=t.aV.simpleSegment(0,0,4,2),c=new t.aW;c.emplaceBack(1,0,2),c.emplaceBack(1,2,3);const h=e.createIndexBuffer(c);return this._cachedMesh=new Bt(n,h,l),this._cachedMesh}recalculate(){}hasTransition(){return !1}setErrorQueryLatitudeDegrees(e){}}class Ut{constructor(e=0,t=0,i=0,o=0){if(isNaN(e)||e<0||isNaN(t)||t<0||isNaN(i)||i<0||isNaN(o)||o<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=e,this.bottom=t,this.left=i,this.right=o;}interpolate(e,i,o){return null!=i.top&&null!=e.top&&(this.top=t.H.number(e.top,i.top,o)),null!=i.bottom&&null!=e.bottom&&(this.bottom=t.H.number(e.bottom,i.bottom,o)),null!=i.left&&null!=e.left&&(this.left=t.H.number(e.left,i.left,o)),null!=i.right&&null!=e.right&&(this.right=t.H.number(e.right,i.right,o)),this}getCenter(e,i){const o=t.al((this.left+e-this.right)/2,0,e),a=t.al((this.top+i-this.bottom)/2,0,i);return new t.P(o,a)}equals(e){return this.top===e.top&&this.bottom===e.bottom&&this.left===e.left&&this.right===e.right}clone(){return new Ut(this.top,this.bottom,this.left,this.right)}toJSON(){return {top:this.top,bottom:this.bottom,left:this.left,right:this.right}}}function Gt(e,t){if(!e.renderWorldCopies||e.lngRange)return;const i=t.lng-e.center.lng;t.lng+=i>180?-360:i<-180?360:0;}function Vt(e){return Math.max(0,Math.floor(e))}class Wt{constructor(e,i){var o;this.applyConstrain=(e,t)=>null!==this._constrainOverride?this._constrainOverride(e,t):this._callbacks.defaultConstrain(e,t),this._callbacks=e,this._tileSize=512,this._renderWorldCopies=void 0===(null==i?void 0:i.renderWorldCopies)||!!(null==i?void 0:i.renderWorldCopies),this._minZoom=(null==i?void 0:i.minZoom)||0,this._maxZoom=(null==i?void 0:i.maxZoom)||22,this._minPitch=null==(null==i?void 0:i.minPitch)?0:null==i?void 0:i.minPitch,this._maxPitch=null==(null==i?void 0:i.maxPitch)?60:null==i?void 0:i.maxPitch,this._constrainOverride=null!==(o=null==i?void 0:i.constrainOverride)&&void 0!==o?o:null,this.setMaxBounds(),this._width=0,this._height=0,this._center=new t.W(0,0),this._elevation=0,this._zoom=0,this._tileZoom=Vt(this._zoom),this._scale=t.ao(this._zoom),this._bearingInRadians=0,this._fovInRadians=.6435011087932844,this._pitchInRadians=0,this._rollInRadians=0,this._unmodified=!0,this._edgeInsets=new Ut,this._minElevationForCurrentTile=0,this._autoCalculateNearFarZ=!0;}apply(e,i,o){this._constrainOverride=e.constrainOverride,this._latRange=e.latRange,this._lngRange=e.lngRange,this._width=e.width,this._height=e.height,this._center=e.center,this._elevation=e.elevation,this._minElevationForCurrentTile=e.minElevationForCurrentTile,this._zoom=e.zoom,this._tileZoom=Vt(this._zoom),this._scale=t.ao(this._zoom),this._bearingInRadians=e.bearingInRadians,this._fovInRadians=e.fovInRadians,this._pitchInRadians=e.pitchInRadians,this._rollInRadians=e.rollInRadians,this._unmodified=e.unmodified,this._edgeInsets=new Ut(e.padding.top,e.padding.bottom,e.padding.left,e.padding.right),this._minZoom=e.minZoom,this._maxZoom=e.maxZoom,this._minPitch=e.minPitch,this._maxPitch=e.maxPitch,this._renderWorldCopies=e.renderWorldCopies,this._cameraToCenterDistance=e.cameraToCenterDistance,this._nearZ=e.nearZ,this._farZ=e.farZ,this._autoCalculateNearFarZ=!o&&e.autoCalculateNearFarZ,i&&this.constrainInternal(),this._calcMatrices();}get pixelsToClipSpaceMatrix(){return this._pixelsToClipSpaceMatrix}get clipSpaceToPixelsMatrix(){return this._clipSpaceToPixelsMatrix}get minElevationForCurrentTile(){return this._minElevationForCurrentTile}setMinElevationForCurrentTile(e){this._minElevationForCurrentTile=e;}get tileSize(){return this._tileSize}get tileZoom(){return this._tileZoom}get scale(){return this._scale}get width(){return this._width}get height(){return this._height}get bearingInRadians(){return this._bearingInRadians}get lngRange(){return this._lngRange}get latRange(){return this._latRange}get pixelsToGLUnits(){return this._pixelsToGLUnits}get minZoom(){return this._minZoom}setMinZoom(e){this._minZoom!==e&&(this._minZoom=e,this.setZoom(this.applyConstrain(this._center,this.zoom).zoom));}get maxZoom(){return this._maxZoom}setMaxZoom(e){this._maxZoom!==e&&(this._maxZoom=e,this.setZoom(this.applyConstrain(this._center,this.zoom).zoom));}get minPitch(){return this._minPitch}setMinPitch(e){this._minPitch!==e&&(this._minPitch=e,this.setPitch(Math.max(this.pitch,e)));}get maxPitch(){return this._maxPitch}setMaxPitch(e){this._maxPitch!==e&&(this._maxPitch=e,this.setPitch(Math.min(this.pitch,e)));}get renderWorldCopies(){return this._renderWorldCopies}setRenderWorldCopies(e){void 0===e?e=!0:null===e&&(e=!1),this._renderWorldCopies=e;}get constrainOverride(){return this._constrainOverride}setConstrainOverride(e){void 0===e&&(e=null),this._constrainOverride!==e&&(this._constrainOverride=e,this.constrainInternal(),this._calcMatrices());}get worldSize(){return this._tileSize*this._scale}get centerOffset(){return this.centerPoint._sub(this.size._div(2))}get size(){return new t.P(this._width,this._height)}get bearing(){return this._bearingInRadians/Math.PI*180}setBearing(e){const i=t.X(e,-180,180)*Math.PI/180;var a,r,s,n,l,c,h,u,d;this._bearingInRadians!==i&&(this._unmodified=!1,this._bearingInRadians=i,this._calcMatrices(),this._rotationMatrix=o(),a=this._rotationMatrix,s=-this._bearingInRadians,n=(r=this._rotationMatrix)[0],l=r[1],c=r[2],h=r[3],u=Math.sin(s),d=Math.cos(s),a[0]=n*d+c*u,a[1]=l*d+h*u,a[2]=n*-u+c*d,a[3]=l*-u+h*d);}get rotationMatrix(){return this._rotationMatrix}get pitchInRadians(){return this._pitchInRadians}get pitch(){return this._pitchInRadians/Math.PI*180}setPitch(e){const i=t.al(e,this.minPitch,this.maxPitch)/180*Math.PI;this._pitchInRadians!==i&&(this._unmodified=!1,this._pitchInRadians=i,this._calcMatrices());}get rollInRadians(){return this._rollInRadians}get roll(){return this._rollInRadians/Math.PI*180}setRoll(e){const t=e/180*Math.PI;this._rollInRadians!==t&&(this._unmodified=!1,this._rollInRadians=t,this._calcMatrices());}get fovInRadians(){return this._fovInRadians}get fov(){return t.aX(this._fovInRadians)}setFov(e){e=t.al(e,.1,150),this.fov!==e&&(this._unmodified=!1,this._fovInRadians=t.an(e),this._calcMatrices());}get zoom(){return this._zoom}setZoom(e){const i=this.applyConstrain(this._center,e).zoom;this._zoom!==i&&(this._unmodified=!1,this._zoom=i,this._tileZoom=Math.max(0,Math.floor(i)),this._scale=t.ao(i),this.constrainInternal(),this._calcMatrices());}get center(){return this._center}setCenter(e){e.lat===this._center.lat&&e.lng===this._center.lng||(this._unmodified=!1,this._center=e,this.constrainInternal(),this._calcMatrices());}get elevation(){return this._elevation}setElevation(e){e!==this._elevation&&(this._elevation=e,this.constrainInternal(),this._calcMatrices());}get padding(){return this._edgeInsets.toJSON()}setPadding(e){this._edgeInsets.equals(e)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,e,1),this._calcMatrices());}get centerPoint(){return this._edgeInsets.getCenter(this._width,this._height)}get pixelsPerMeter(){return this._pixelPerMeter}get unmodified(){return this._unmodified}get cameraToCenterDistance(){return this._cameraToCenterDistance}get nearZ(){return this._nearZ}get farZ(){return this._farZ}get autoCalculateNearFarZ(){return this._autoCalculateNearFarZ}overrideNearFarZ(e,t){this._autoCalculateNearFarZ=!1,this._nearZ=e,this._farZ=t,this._calcMatrices();}clearNearFarZOverride(){this._autoCalculateNearFarZ=!0,this._calcMatrices();}isPaddingEqual(e){return this._edgeInsets.equals(e)}interpolatePadding(e,t,i){this._unmodified=!1,this._edgeInsets.interpolate(e,t,i),this.constrainInternal(),this._calcMatrices();}resize(e,t,i=!0){this._width=e,this._height=t,i&&this.constrainInternal(),this._calcMatrices();}getMaxBounds(){var e,t;return 2!==(null===(e=this._latRange)||void 0===e?void 0:e.length)||2!==(null===(t=this._lngRange)||void 0===t?void 0:t.length)?null:new G([this._lngRange[0],this._latRange[0]],[this._lngRange[1],this._latRange[1]])}setMaxBounds(e){e?(this._lngRange=[e.getWest(),e.getEast()],this._latRange=[e.getSouth(),e.getNorth()],this.constrainInternal()):(this._lngRange=null,this._latRange=[-t.am,t.am]);}getCameraQueryGeometry(e,i){if(1===i.length)return [i[0],e];{const{minX:o,minY:a,maxX:r,maxY:s}=t.a8.fromPoints(i).extend(e);return [new t.P(o,a),new t.P(r,a),new t.P(r,s),new t.P(o,s),new t.P(o,a)]}}constrainInternal(){if(!this.center||!this._width||!this._height||this._constraining)return;this._constraining=!0;const e=this._unmodified,{center:t,zoom:i}=this.applyConstrain(this.center,this.zoom);this.setCenter(t),this.setZoom(i),this._unmodified=e,this._constraining=!1;}_calcMatrices(){if(this._width&&this._height){this._pixelsToGLUnits=[2/this._width,-2/this._height];let e=t.ap(new Float64Array(16));t.S(e,e,[this._width/2,-this._height/2,1]),t.Q(e,e,[1,-1,0]),this._clipSpaceToPixelsMatrix=e,e=t.ap(new Float64Array(16)),t.S(e,e,[1,-1,1]),t.Q(e,e,[-1,-1,0]),t.S(e,e,[2/this._width,2/this._height,1]),this._pixelsToClipSpaceMatrix=e,this._cameraToCenterDistance=.5/Math.tan(this.fovInRadians/2)*this._height;}this._callbacks.calcMatrices();}calculateCenterFromCameraLngLatAlt(e,i,o,a){const r=void 0!==o?o:this.bearing,s=a=void 0!==a?a:this.pitch,{distanceToCenter:n,clampedElevation:l}=this._distanceToCenterFromAltElevationPitch(i,this.elevation,s),{x:c,y:h}=be(s,r),u=t.a7.fromLngLat(e,i);let d,_,p=t.aY(1,u.y),m=0;do{if(m+=1,m>10)break;_=n/p,d=new t.a7(u.x+c*_,u.y+h*_),p=1/d.meterInMercatorCoordinateUnits();}while(Math.abs(n-_*p)>1e-12);return {center:d.toLngLat(),elevation:l,zoom:t.ar(this.height/2/Math.tan(this.fovInRadians/2)/_/this.tileSize)}}recalculateZoomAndCenter(e){if(this.elevation-e==0)return;const i=1/this.worldSize,o=t.aq(1,this.center.lat)*this.worldSize,a=t.a7.fromLngLat(this.center,this.elevation),r=a.x/i,s=a.y/i,n=a.z/i,l=this.pitch,c=this.bearing,{x:h,y:u,z:d}=be(l,c),_=this.cameraToCenterDistance,p=r+_*-h,m=s+_*-u,f=n+_*d,{distanceToCenter:g,clampedElevation:v}=this._distanceToCenterFromAltElevationPitch(f/o,e,l),x=g*o,b=new t.a7((p+h*x)*i,(m+u*x)*i,0).toLngLat(),y=t.aq(1,b.lat),w=t.ar(this.height/2/Math.tan(this.fovInRadians/2)/g/y/this.tileSize);this._elevation=v,this._center=b,this.setZoom(w);}_distanceToCenterFromAltElevationPitch(e,i,o){const a=-Math.cos(t.an(o)),r=e-i;let s,n=i;return a*r>=0||Math.abs(a)<.1?(s=1e4,n=e+s*a):s=-r/a,{distanceToCenter:s,clampedElevation:n}}getCameraPoint(){const e=Math.tan(this.pitchInRadians)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new t.P(e*Math.sin(this.rollInRadians),e*Math.cos(this.rollInRadians)))}getCameraAltitude(){return Math.cos(this.pitchInRadians)*this._cameraToCenterDistance/this._pixelPerMeter+this.elevation}getCameraLngLat(){const e=t.aq(1,this.center.lat)*this.worldSize;return xe(this.center,this.elevation,this.pitch,this.bearing,this.cameraToCenterDistance/e).toLngLat()}getMercatorTileCoordinates(e){if(!e)return [0,0,1,1];const i=e.canonical.z>=0?1<this.max[0]||e.aabb.min[1]>this.max[1]||e.aabb.min[2]>this.max[2]||e.aabb.max[0]0?(t+=e[o]*this.min[o],i+=e[o]*this.max[o]):(i+=e[o]*this.min[o],t+=e[o]*this.max[o]);return t>=0?2:i<0?0:1}}class $t{distanceToTile2d(e,t,i,o){const a=o,r=a.distanceX([e,t]),s=a.distanceY([e,t]);return Math.hypot(r,s)}getWrap(e,t,i){return i}getTileBoundingVolume(e,i,o,a){var r,s;let n=0,l=0;if(null==a?void 0:a.terrain){const c=new t.a3(e.z,i,e.z,e.x,e.y),h=a.terrain.getMinMaxElevation(c);n=null!==(r=h.minElevation)&&void 0!==r?r:Math.min(0,o),l=null!==(s=h.maxElevation)&&void 0!==s?s:Math.max(0,o);}const c=1<a}allowWorldCopies(){return !0}prepareNextFrame(){}}class Ht{constructor(e,t,i){this.points=e,this.planes=t,this.aabb=i;}static fromInvProjectionMatrix(e,i=1,o=0,a,r){const s=r?[[6,5,4],[0,1,2],[0,3,7],[2,1,5],[3,2,6],[0,4,5]]:[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]],n=Math.pow(2,o),l=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map((o=>function(e,i,o,a){const r=t.aE([],e,i),s=1/r[3]/o*a;return t.b4(r,r,[s,s,1/r[3],s])}(o,e,i,n)));a&&function(e,i,o,a){const r=a?4:0,s=a?0:4;let n=0;const l=[],c=[];for(let i=0;i<4;i++){const o=t.b0([],e[i+s],e[i+r]),a=t.b5(o);t.aZ(o,o,1/a),l.push(a),c.push(o);}for(let i=0;i<4;i++){const a=t.b6(e[i+r],c[i],o);n=null!==a&&a>=0?Math.max(n,a):Math.max(n,l[i]);}const h=function(e,i){const o=t.b0([],e[i[0]],e[i[1]]),a=t.b0([],e[i[2]],e[i[1]]),r=[0,0,0,0];return t.b1(r,t.b2([],o,a)),r[3]=-t.b3(r,e[i[0]]),r}(e,i),u=function(e,i){const o=t.b7(e),a=t.b8([],e,1/o),r=t.b0([],i,t.aZ([],a,t.b3(i,a))),s=t.b7(r);if(s>0){const e=Math.sqrt(1-a[3]*a[3]),o=t.aZ([],a,-a[3]),n=t.a_([],o,t.aZ([],r,e/s));return t.b9(i,n)}return null}(o,h);if(null!==u){const e=u/t.b3(c[0],h);n=Math.min(n,e);}for(let t=0;t<4;t++){const i=Math.min(n,l[t]);e[t+s]=[e[t+r][0]+c[t][0]*i,e[t+r][1]+c[t][1]*i,e[t+r][2]+c[t][2]*i,1];}}(l,s[0],a,r);const c=s.map((e=>{const i=t.b0([],l[e[0]],l[e[1]]),o=t.b0([],l[e[2]],l[e[1]]),a=t.b1([],t.b2([],i,o)),r=-t.b3(a,l[e[1]]);return a.concat(r)})),h=[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY],u=[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY];for(const e of l)for(let t=0;t<3;t++)h[t]=Math.min(h[t],e[t]),u[t]=Math.max(u[t],e[t]);return new Ht(l,c,new qt(h,u))}}class Xt{get pixelsToClipSpaceMatrix(){return this._helper.pixelsToClipSpaceMatrix}get clipSpaceToPixelsMatrix(){return this._helper.clipSpaceToPixelsMatrix}get pixelsToGLUnits(){return this._helper.pixelsToGLUnits}get centerOffset(){return this._helper.centerOffset}get size(){return this._helper.size}get rotationMatrix(){return this._helper.rotationMatrix}get centerPoint(){return this._helper.centerPoint}get pixelsPerMeter(){return this._helper.pixelsPerMeter}setMinZoom(e){this._helper.setMinZoom(e);}setMaxZoom(e){this._helper.setMaxZoom(e);}setMinPitch(e){this._helper.setMinPitch(e);}setMaxPitch(e){this._helper.setMaxPitch(e);}setRenderWorldCopies(e){this._helper.setRenderWorldCopies(e);}setBearing(e){this._helper.setBearing(e);}setPitch(e){this._helper.setPitch(e);}setRoll(e){this._helper.setRoll(e);}setFov(e){this._helper.setFov(e);}setZoom(e){this._helper.setZoom(e);}setCenter(e){this._helper.setCenter(e);}setElevation(e){this._helper.setElevation(e);}setMinElevationForCurrentTile(e){this._helper.setMinElevationForCurrentTile(e);}setPadding(e){this._helper.setPadding(e);}interpolatePadding(e,t,i){this._helper.interpolatePadding(e,t,i);}isPaddingEqual(e){return this._helper.isPaddingEqual(e)}resize(e,t,i=!0){this._helper.resize(e,t,i);}getMaxBounds(){return this._helper.getMaxBounds()}setMaxBounds(e){this._helper.setMaxBounds(e);}setConstrainOverride(e){this._helper.setConstrainOverride(e);}overrideNearFarZ(e,t){this._helper.overrideNearFarZ(e,t);}clearNearFarZOverride(){this._helper.clearNearFarZOverride();}getCameraQueryGeometry(e){return this._helper.getCameraQueryGeometry(this.getCameraPoint(),e)}get tileSize(){return this._helper.tileSize}get tileZoom(){return this._helper.tileZoom}get scale(){return this._helper.scale}get worldSize(){return this._helper.worldSize}get width(){return this._helper.width}get height(){return this._helper.height}get lngRange(){return this._helper.lngRange}get latRange(){return this._helper.latRange}get minZoom(){return this._helper.minZoom}get maxZoom(){return this._helper.maxZoom}get zoom(){return this._helper.zoom}get center(){return this._helper.center}get minPitch(){return this._helper.minPitch}get maxPitch(){return this._helper.maxPitch}get pitch(){return this._helper.pitch}get pitchInRadians(){return this._helper.pitchInRadians}get roll(){return this._helper.roll}get rollInRadians(){return this._helper.rollInRadians}get bearing(){return this._helper.bearing}get bearingInRadians(){return this._helper.bearingInRadians}get fov(){return this._helper.fov}get fovInRadians(){return this._helper.fovInRadians}get elevation(){return this._helper.elevation}get minElevationForCurrentTile(){return this._helper.minElevationForCurrentTile}get padding(){return this._helper.padding}get unmodified(){return this._helper.unmodified}get renderWorldCopies(){return this._helper.renderWorldCopies}get cameraToCenterDistance(){return this._helper.cameraToCenterDistance}get constrainOverride(){return this._helper.constrainOverride}get nearZ(){return this._helper.nearZ}get farZ(){return this._helper.farZ}get autoCalculateNearFarZ(){return this._helper.autoCalculateNearFarZ}setTransitionState(e,t){}constructor(e){this._posMatrixCache=new Map,this._alignedPosMatrixCache=new Map,this._fogMatrixCacheF32=new Map,this.defaultConstrain=(e,i)=>{i=t.al(+i,this.minZoom,this.maxZoom);const o={center:new t.W(e.lng,e.lat),zoom:i};let a=this._helper._lngRange;if(!this._helper._renderWorldCopies&&null===a){const e=180-1e-10;a=[-e,e];}const r=this.tileSize*t.ao(o.zoom);let s=0,n=r,l=0,c=r,h=0,u=0;const{x:d,y:_}=this.size;if(this._helper._latRange){const e=this._helper._latRange;s=t.Y(e[1])*r,n=t.Y(e[0])*r,n-s<_&&(h=_/(n-s));}a&&(l=t.X(t.Z(a[0])*r,0,r),c=t.X(t.Z(a[1])*r,0,r),cn&&(g=n-e);}if(a){const e=(l+c)/2;let i=p;this._helper._renderWorldCopies&&(i=t.X(p,e-r/2,e+r/2));const o=d/2;i-oc&&(f=c-o);}if(void 0!==f||void 0!==g){const e=new t.P(null!=f?f:p,null!=g?g:m);o.center=fe(r,e).wrap();}return o},this.applyConstrain=(e,t)=>this._helper.applyConstrain(e,t),this._helper=new Wt({calcMatrices:()=>this._calcMatrices(),defaultConstrain:(e,t)=>this.defaultConstrain(e,t)},e),this._coveringTilesDetailsProvider=new $t;}clone(){const e=new Xt;return e.apply(this,!1),e}apply(e,t,i){this._helper.apply(e,t,i);}get cameraPosition(){return this._cameraPosition}get projectionMatrix(){return this._projectionMatrix}get modelViewProjectionMatrix(){return this._viewProjMatrix}get inverseProjectionMatrix(){return this._invProjMatrix}get mercatorMatrix(){return this._mercatorMatrix}getVisibleUnwrappedCoordinates(e){const i=[new t.ba(0,e)];if(this._helper._renderWorldCopies){const o=this.screenPointToMercatorCoordinate(new t.P(0,0)),a=this.screenPointToMercatorCoordinate(new t.P(this._helper._width,0)),r=this.screenPointToMercatorCoordinate(new t.P(this._helper._width,this._helper._height)),s=this.screenPointToMercatorCoordinate(new t.P(0,this._helper._height)),n=Math.floor(Math.min(o.x,a.x,r.x,s.x)),l=Math.floor(Math.max(o.x,a.x,r.x,s.x)),c=1;for(let o=n-c;o<=l+c;o++)0!==o&&i.push(new t.ba(o,e));}return i}getCameraFrustum(){return Ht.fromInvProjectionMatrix(this._invViewProjMatrix,this.worldSize)}getClippingPlane(){return null}getCoveringTilesDetailsProvider(){return this._coveringTilesDetailsProvider}recalculateZoomAndCenter(e){const t=this.screenPointToLocation(this.centerPoint,e),i=e?e.getElevationForLngLatZoom(t,this._helper._tileZoom):0;this._helper.recalculateZoomAndCenter(i);}setLocationAtPoint(e,i){const o=t.aq(this.elevation,this.center.lat),a=this.screenPointToMercatorCoordinateAtZ(i,o),r=this.screenPointToMercatorCoordinateAtZ(this.centerPoint,o),s=t.a7.fromLngLat(e),n=new t.a7(s.x-(a.x-r.x),s.y-(a.y-r.y));this.setCenter(null==n?void 0:n.toLngLat()),this._helper._renderWorldCopies&&this.setCenter(this.center.wrap());}locationToScreenPoint(e,i){return i?this.coordinatePoint(t.a7.fromLngLat(e),i.getElevationForLngLat(e,this),this._pixelMatrix3D):this.coordinatePoint(t.a7.fromLngLat(e))}screenPointToLocation(e,t){var i;return null===(i=this.screenPointToMercatorCoordinate(e,t))||void 0===i?void 0:i.toLngLat()}screenPointToMercatorCoordinate(e,t){if(t){const i=t.pointCoordinate(e);if(null!=i)return i}return this.screenPointToMercatorCoordinateAtZ(e)}screenPointToMercatorCoordinateAtZ(e,i){const o=i||0,a=[e.x,e.y,0,1],r=[e.x,e.y,1,1];t.aE(a,a,this._pixelMatrixInverse),t.aE(r,r,this._pixelMatrixInverse);const s=a[3],n=r[3],l=a[1]/s,c=r[1]/n,h=a[2]/s,u=r[2]/n,d=h===u?0:(o-h)/(u-h);return new t.a7(t.H.number(a[0]/s,r[0]/n,d)/this.worldSize,t.H.number(l,c,d)/this.worldSize,o)}coordinatePoint(e,i=0,o=this._pixelMatrix){const a=[e.x*this.worldSize,e.y*this.worldSize,i,1];return t.aE(a,a,o),new t.P(a[0]/a[3],a[1]/a[3])}getBounds(){const e=Math.max(0,this._helper._height/2-ge(this));return (new G).extend(this.screenPointToLocation(new t.P(0,e))).extend(this.screenPointToLocation(new t.P(this._helper._width,e))).extend(this.screenPointToLocation(new t.P(this._helper._width,this._helper._height))).extend(this.screenPointToLocation(new t.P(0,this._helper._height)))}isPointOnMapSurface(e,t){return t?null!=t.pointCoordinate(e):e.y>this.height/2-ge(this)}calculatePosMatrix(e,i=!1,o){var a;const r=null!==(a=e.key)&&void 0!==a?a:t.bb(e.wrap,e.canonical.z,e.canonical.z,e.canonical.x,e.canonical.y),s=i?this._alignedPosMatrixCache:this._posMatrixCache;if(s.has(r)){const e=s.get(r);return o?e.f32:e.f64}const n=ve(e,this.worldSize);t.U(n,i?this._alignedProjMatrix:this._viewProjMatrix,n);const l={f64:n,f32:new Float32Array(n)};return s.set(r,l),o?l.f32:l.f64}calculateFogMatrix(e){const i=e.key,o=this._fogMatrixCacheF32;if(o.has(i))return o.get(i);const a=ve(e,this.worldSize);return t.U(a,this._fogMatrix,a),o.set(i,new Float32Array(a)),o.get(i)}calculateCenterFromCameraLngLatAlt(e,t,i,o){return this._helper.calculateCenterFromCameraLngLatAlt(e,t,i,o)}_calculateNearFarZIfNeeded(e,i,o){if(!this._helper.autoCalculateNearFarZ)return;const a=Math.min(this.elevation,this.minElevationForCurrentTile,this.getCameraAltitude()-100),r=e-a*this._helper._pixelPerMeter/Math.cos(i),s=a<0?r:e,n=Math.PI/2+this.pitchInRadians,l=t.an(this.fov)*(Math.abs(Math.cos(t.an(this.roll)))*this.height+Math.abs(Math.sin(t.an(this.roll)))*this.width)/this.height*(.5+o.y/this.height),c=Math.sin(l)*s/Math.sin(t.al(Math.PI-n-l,.01,Math.PI-.01)),h=ge(this),u=Math.atan(h/this._helper.cameraToCenterDistance),d=t.an(.75),_=u>d?2*u*(.5+o.y/(2*h)):d,p=Math.sin(_)*s/Math.sin(t.al(Math.PI-n-_,.01,Math.PI-.01)),m=Math.min(c,p);this._helper._farZ=1.01*(Math.cos(Math.PI/2-i)*m+s),this._helper._nearZ=this._helper._height/50;}_calcMatrices(){if(!this._helper._height)return;const e=this.centerOffset,i=me(this.worldSize,this.center),o=i.x,a=i.y;this._helper._pixelPerMeter=t.aq(1,this.center.lat)*this.worldSize;const r=t.an(Math.min(this.pitch,pe)),s=Math.max(this._helper.cameraToCenterDistance/2,this._helper.cameraToCenterDistance+this._helper._elevation*this._helper._pixelPerMeter/Math.cos(r));let n;var l,c;this._calculateNearFarZIfNeeded(s,r,e),n=new Float64Array(16),t.bc(n,this.fovInRadians,this._helper._width/this._helper._height,this._helper._nearZ,this._helper._farZ),this._invProjMatrix=new Float64Array(16),(l=this._invProjMatrix)[0]=1/(c=n)[0],l[1]=0,l[2]=0,l[3]=0,l[4]=0,l[5]=1/c[5],l[6]=0,l[7]=0,l[8]=0,l[9]=0,l[10]=0,l[11]=1/c[14],l[12]=0,l[13]=0,l[14]=-1,l[15]=c[10]/c[14],n[8]=2*-e.x/this._helper._width,n[9]=2*e.y/this._helper._height,this._projectionMatrix=t.bd(n),t.S(n,n,[1,-1,1]),t.Q(n,n,[0,0,-this._helper.cameraToCenterDistance]),t.be(n,n,-this.rollInRadians),t.bf(n,n,this.pitchInRadians),t.be(n,n,-this.bearingInRadians),t.Q(n,n,[-o,-a,0]),this._mercatorMatrix=t.S([],n,[this.worldSize,this.worldSize,this.worldSize]),t.S(n,n,[1,1,this._helper._pixelPerMeter]),this._pixelMatrix=t.U(new Float64Array(16),this.clipSpaceToPixelsMatrix,n),t.Q(n,n,[0,0,-this.elevation]),this._viewProjMatrix=n,this._invViewProjMatrix=t.bg([],n);const h=[0,0,-1,1];t.aE(h,h,this._invViewProjMatrix),this._cameraPosition=[h[0]/h[3],h[1]/h[3],h[2]/h[3]],this._fogMatrix=new Float64Array(16),t.bc(this._fogMatrix,this.fovInRadians,this.width/this.height,s,this._helper._farZ),this._fogMatrix[8]=2*-e.x/this.width,this._fogMatrix[9]=2*e.y/this.height,t.S(this._fogMatrix,this._fogMatrix,[1,-1,1]),t.Q(this._fogMatrix,this._fogMatrix,[0,0,-this.cameraToCenterDistance]),t.be(this._fogMatrix,this._fogMatrix,-this.rollInRadians),t.bf(this._fogMatrix,this._fogMatrix,this.pitchInRadians),t.be(this._fogMatrix,this._fogMatrix,-this.bearingInRadians),t.Q(this._fogMatrix,this._fogMatrix,[-o,-a,0]),t.S(this._fogMatrix,this._fogMatrix,[1,1,this._helper._pixelPerMeter]),t.Q(this._fogMatrix,this._fogMatrix,[0,0,-this.elevation]),this._pixelMatrix3D=t.U(new Float64Array(16),this.clipSpaceToPixelsMatrix,n);const u=this._helper._width%2/2,d=this._helper._height%2/2,_=Math.cos(this.bearingInRadians),p=Math.sin(-this.bearingInRadians),m=o-Math.round(o)+_*u+p*d,f=a-Math.round(a)+_*d+p*u,g=new Float64Array(n);if(t.Q(g,g,[m>.5?m-1:m,f>.5?f-1:f,0]),this._alignedProjMatrix=g,n=t.bg(new Float64Array(16),this._pixelMatrix),!n)throw new Error("failed to invert matrix");this._pixelMatrixInverse=n,this._clearMatrixCaches();}_clearMatrixCaches(){this._posMatrixCache.clear(),this._alignedPosMatrixCache.clear(),this._fogMatrixCacheF32.clear();}maxPitchScaleFactor(){if(!this._pixelMatrixInverse)return 1;const e=this.screenPointToMercatorCoordinate(new t.P(0,0)),i=[e.x*this.worldSize,e.y*this.worldSize,0,1];return t.aE(i,i,this._pixelMatrix)[3]/this._helper.cameraToCenterDistance}getCameraPoint(){return this._helper.getCameraPoint()}getCameraAltitude(){return this._helper.getCameraAltitude()}getCameraLngLat(){const e=t.aq(1,this.center.lat)*this.worldSize;return xe(this.center,this.elevation,this.pitch,this.bearing,this._helper.cameraToCenterDistance/e).toLngLat()}lngLatToCameraDepth(e,i){const o=t.a7.fromLngLat(e),a=[o.x*this.worldSize,o.y*this.worldSize,i,1];return t.aE(a,a,this._viewProjMatrix),a[2]/a[3]}getProjectionData(e){const{overscaledTileID:i,aligned:o,applyTerrainMatrix:a}=e,r=this._helper.getMercatorTileCoordinates(i),s=i?this.calculatePosMatrix(i,o,!0):null;let n;return n=(null==i?void 0:i.terrainRttPosMatrix32f)&&a?i.terrainRttPosMatrix32f:s||t.bh(),{mainMatrix:n,tileMercatorCoords:r,clippingPlane:[0,0,0,0],projectionTransition:0,fallbackMatrix:n}}isLocationOccluded(e){return !1}getPixelScale(){return 1}getCircleRadiusCorrection(){return 1}getPitchedTextCorrection(e,t,i){return 1}transformLightDirection(e){return t.a$(e)}getRayDirectionFromPixel(e){throw new Error("Not implemented.")}projectTileCoordinates(e,i,o,a){const r=this.calculatePosMatrix(o);let s;a?(s=[e,i,a(e,i),1],t.aE(s,s,r)):(s=[e,i,0,1],nt(s,s,r));const n=s[3];return {point:new t.P(s[0]/n,s[1]/n),signedDistanceFromCamera:n,isOccluded:!1}}populateCache(e){for(const t of e)this.calculatePosMatrix(t);}getMatrixForModel(e,i){const o=t.a7.fromLngLat(e,i),a=o.meterInMercatorCoordinateUnits(),r=t.bi();return t.Q(r,r,[o.x,o.y,o.z]),t.be(r,r,Math.PI),t.bf(r,r,Math.PI/2),t.S(r,r,[-a,a,a]),r}getProjectionDataForCustomLayer(e=!0){const i=new t.a3(0,0,0,0,0),o=this.getProjectionData({overscaledTileID:i,applyGlobeMatrix:e}),a=ve(i,this.worldSize);t.U(a,this._viewProjMatrix,a),o.tileMercatorCoords=[0,0,1,1];const r=[t.a6,t.a6,this.worldSize/this._helper.pixelsPerMeter],s=t.bj();return t.S(s,a,r),o.fallbackMatrix=s,o.mainMatrix=s,o}getFastPathSimpleProjectionMatrix(e){return this.calculatePosMatrix(e)}}function Kt(){t.w("Map cannot fit within canvas with the given bounds, padding, and/or offset.");}function Yt(e){if(e.useSlerp)if(e.k<1){const i=t.bk(e.startEulerAngles.roll,e.startEulerAngles.pitch,e.startEulerAngles.bearing),o=t.bk(e.endEulerAngles.roll,e.endEulerAngles.pitch,e.endEulerAngles.bearing),a=new Float64Array(4);t.bl(a,i,o,e.k);const r=t.bm(a);e.tr.setRoll(r.roll),e.tr.setPitch(r.pitch),e.tr.setBearing(r.bearing);}else e.tr.setRoll(e.endEulerAngles.roll),e.tr.setPitch(e.endEulerAngles.pitch),e.tr.setBearing(e.endEulerAngles.bearing);else e.tr.setRoll(t.H.number(e.startEulerAngles.roll,e.endEulerAngles.roll,e.k)),e.tr.setPitch(t.H.number(e.startEulerAngles.pitch,e.endEulerAngles.pitch,e.k)),e.tr.setBearing(t.H.number(e.startEulerAngles.bearing,e.endEulerAngles.bearing,e.k));}function Qt(e,i,o,a,r){const s=r.padding,n=me(r.worldSize,o.getNorthWest()),l=me(r.worldSize,o.getNorthEast()),c=me(r.worldSize,o.getSouthEast()),h=me(r.worldSize,o.getSouthWest()),u=t.an(-a),d=n.rotate(u),_=l.rotate(u),p=c.rotate(u),m=h.rotate(u),f=new t.P(Math.max(d.x,_.x,m.x,p.x),Math.max(d.y,_.y,m.y,p.y)),g=new t.P(Math.min(d.x,_.x,m.x,p.x),Math.min(d.y,_.y,m.y,p.y)),v=f.sub(g),x=(r.width-(s.left+s.right+i.left+i.right))/v.x,b=(r.height-(s.top+s.bottom+i.top+i.bottom))/v.y;if(b<0||x<0)return void Kt();const y=Math.min(t.ar(r.scale*Math.min(x,b)),e.maxZoom),w=t.P.convert(e.offset),T=new t.P((i.left-i.right)/2,(i.top-i.bottom)/2).rotate(t.an(a)),P=w.add(T).mult(r.scale/t.ao(y));return {center:fe(r.worldSize,n.add(c).div(2).sub(P)),zoom:y,bearing:a}}class Jt{get useGlobeControls(){return !1}handlePanInertia(e,t){const i=e.mag(),o=Math.abs(ge(t));return {easingOffset:e.mult(Math.min(.75*o/i,1)),easingCenter:t.center}}handleMapControlsRollPitchBearingZoom(e,t){e.bearingDelta&&t.setBearing(t.bearing+e.bearingDelta),e.pitchDelta&&t.setPitch(t.pitch+e.pitchDelta),e.rollDelta&&t.setRoll(t.roll+e.rollDelta),e.zoomDelta&&t.setZoom(t.zoom+e.zoomDelta);}handleMapControlsPan(e,t,i){e.around.distSqr(t.centerPoint)<.01||t.setLocationAtPoint(i,e.around);}cameraForBoxAndBearing(e,t,i,o,a){return Qt(e,t,i,o,a)}handleJumpToCenterZoom(e,i){e.zoom!==(void 0!==i.zoom?+i.zoom:e.zoom)&&e.setZoom(+i.zoom),void 0!==i.center&&e.setCenter(t.W.convert(i.center));}handleEaseTo(e,i){const o=e.zoom,a=e.padding,r={roll:e.roll,pitch:e.pitch,bearing:e.bearing},s={roll:void 0===i.roll?e.roll:i.roll,pitch:void 0===i.pitch?e.pitch:i.pitch,bearing:void 0===i.bearing?e.bearing:i.bearing},n=void 0!==i.zoom,l=!e.isPaddingEqual(i.padding);let c=!1;const h=n?+i.zoom:e.zoom;let u=e.centerPoint.add(i.offsetAsPoint);const d=e.screenPointToLocation(u),{center:_,zoom:p}=e.applyConstrain(t.W.convert(i.center||d),null!=h?h:o);Gt(e,_);const m=me(e.worldSize,d),f=me(e.worldSize,_).sub(m),g=t.ao(p-o);return c=p!==o,{easeFunc:n=>{if(c&&e.setZoom(t.H.number(o,p,n)),t.bn(r,s)||Yt({startEulerAngles:r,endEulerAngles:s,tr:e,k:n,useSlerp:r.roll!=s.roll}),l&&(e.interpolatePadding(a,i.padding,n),u=e.centerPoint.add(i.offsetAsPoint)),i.around)e.setLocationAtPoint(i.around,i.aroundPoint);else {const i=t.ao(e.zoom-o),a=p>o?Math.min(2,g):Math.max(.5,g),r=Math.pow(a,1-n),s=fe(e.worldSize,m.add(f.mult(n*r)).mult(i));e.setLocationAtPoint(e.renderWorldCopies?s.wrap():s,u);}},isZooming:c,elevationCenter:_}}handleFlyTo(e,i){const o=void 0!==i.zoom,a=e.zoom,r=e.applyConstrain(t.W.convert(i.center||i.locationAtOffset),o?+i.zoom:a),s=r.center,n=r.zoom;Gt(e,s);const l=me(e.worldSize,i.locationAtOffset),c=me(e.worldSize,s).sub(l),h=c.mag(),u=t.ao(n-a);let d;if(void 0!==i.minZoom){const o=Math.min(+i.minZoom,a,n),r=e.applyConstrain(s,o).zoom;d=t.ao(r-a);}return {easeFunc:(i,o,r,h)=>{e.setZoom(1===i?n:a+t.ar(o));const u=1===i?s:fe(e.worldSize,l.add(c.mult(r)).mult(o));e.setLocationAtPoint(e.renderWorldCopies?u.wrap():u,h);},scaleOfZoom:u,targetCenter:s,scaleOfMinZoom:d,pixelPathLength:h}}}class ei{constructor(e,t,i){this.blendFunction=e,this.blendColor=t,this.mask=i;}}ei.Replace=[1,0],ei.disabled=new ei(ei.Replace,t.bo.transparent,[!1,!1,!1,!1]),ei.unblended=new ei(ei.Replace,t.bo.transparent,[!0,!0,!0,!0]),ei.alphaBlended=new ei([1,771],t.bo.transparent,[!0,!0,!0,!0]);const ti=2305;class ii{constructor(e,t,i){this.enable=e,this.mode=t,this.frontFace=i;}}ii.disabled=new ii(!1,1029,ti),ii.backCCW=new ii(!0,1029,ti),ii.frontCCW=new ii(!0,1028,ti);class oi{constructor(e,t,i){this.func=e,this.mask=t,this.range=i;}}oi.ReadOnly=!1,oi.ReadWrite=!0,oi.disabled=new oi(519,oi.ReadOnly,[0,1]);const ai=7680;class ri{constructor(e,t,i,o,a,r){this.test=e,this.ref=t,this.mask=i,this.fail=o,this.depthFail=a,this.pass=r;}}function si(e){return "undefined"!=typeof WebGL2RenderingContext&&e instanceof WebGL2RenderingContext}ri.disabled=new ri({func:519,mask:0},0,0,ai,ai,ai);class ni{get awaitingQuery(){return !!this._readbackQueue}constructor(e){this._readbackWaitFrames=4,this._measureWaitFrames=6,this._texWidth=1,this._texHeight=1,this._measuredError=0,this._updateCount=0,this._lastReadbackFrame=-1e3,this._readbackQueue=null,this._cachedRenderContext=e;const i=e.context,o=i.gl;this._texFormat=o.RGBA,this._texType=o.UNSIGNED_BYTE;const a=new t.aU;a.emplaceBack(-1,-1),a.emplaceBack(2,-1),a.emplaceBack(-1,2);const r=new t.aW;r.emplaceBack(0,1,2),this._fullscreenTriangle=new Bt(i.createVertexBuffer(a,Ot.members),i.createIndexBuffer(r),t.aV.simpleSegment(0,0,a.length,r.length)),this._resultBuffer=new Uint8Array(4),i.activeTexture.set(o.TEXTURE1);const s=o.createTexture();o.bindTexture(o.TEXTURE_2D,s),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_WRAP_S,o.CLAMP_TO_EDGE),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_WRAP_T,o.CLAMP_TO_EDGE),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_MIN_FILTER,o.NEAREST),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_MAG_FILTER,o.NEAREST),o.texImage2D(o.TEXTURE_2D,0,this._texFormat,this._texWidth,this._texHeight,0,this._texFormat,this._texType,null),this._fbo=i.createFramebuffer(this._texWidth,this._texHeight,!1,!1),this._fbo.colorAttachment.set(s),si(o)&&(this._pbo=o.createBuffer(),o.bindBuffer(o.PIXEL_PACK_BUFFER,this._pbo),o.bufferData(o.PIXEL_PACK_BUFFER,4,o.STREAM_READ),o.bindBuffer(o.PIXEL_PACK_BUFFER,null));}destroy(){const e=this._cachedRenderContext.context.gl;this._fullscreenTriangle.destroy(),this._fbo.destroy(),e.deleteBuffer(this._pbo),this._fullscreenTriangle=null,this._fbo=null,this._pbo=null,this._resultBuffer=null;}updateErrorLoop(e,t){const i=this._updateCount;return this._readbackQueue?i>=this._readbackQueue.frameNumberIssued+this._readbackWaitFrames&&this._tryReadback():i>=this._lastReadbackFrame+this._measureWaitFrames&&this._renderErrorTexture(e,t),this._updateCount++,this._measuredError}_bindFramebuffer(){const e=this._cachedRenderContext.context,t=e.gl;e.activeTexture.set(t.TEXTURE1),t.bindTexture(t.TEXTURE_2D,this._fbo.colorAttachment.get()),e.bindFramebuffer.set(this._fbo.framebuffer);}_renderErrorTexture(e,i){const o=this._cachedRenderContext.context,a=o.gl;if(this._bindFramebuffer(),o.viewport.set([0,0,this._texWidth,this._texHeight]),o.clear({color:t.bo.transparent}),this._cachedRenderContext.useProgram("projectionErrorMeasurement").draw(o,a.TRIANGLES,oi.disabled,ri.disabled,ei.unblended,ii.disabled,((e,t)=>({u_input:e,u_output_expected:t}))(e,i),null,null,"$clipping",this._fullscreenTriangle.vertexBuffer,this._fullscreenTriangle.indexBuffer,this._fullscreenTriangle.segments),this._pbo&&si(a)){a.bindBuffer(a.PIXEL_PACK_BUFFER,this._pbo),a.readBuffer(a.COLOR_ATTACHMENT0),a.readPixels(0,0,this._texWidth,this._texHeight,this._texFormat,this._texType,0),a.bindBuffer(a.PIXEL_PACK_BUFFER,null);const e=a.fenceSync(a.SYNC_GPU_COMMANDS_COMPLETE,0);a.flush(),this._readbackQueue={frameNumberIssued:this._updateCount,sync:e};}else this._readbackQueue={frameNumberIssued:this._updateCount,sync:null};}_tryReadback(){const e=this._cachedRenderContext.context.gl;if(this._pbo&&this._readbackQueue&&si(e)){const i=e.clientWaitSync(this._readbackQueue.sync,0,0);if(i===e.WAIT_FAILED)return t.w("WebGL2 clientWaitSync failed."),this._readbackQueue=null,void(this._lastReadbackFrame=this._updateCount);if(i===e.TIMEOUT_EXPIRED)return;e.bindBuffer(e.PIXEL_PACK_BUFFER,this._pbo),e.getBufferSubData(e.PIXEL_PACK_BUFFER,0,this._resultBuffer,0,4),e.bindBuffer(e.PIXEL_PACK_BUFFER,null);}else this._bindFramebuffer(),e.readPixels(0,0,this._texWidth,this._texHeight,this._texFormat,this._texType,this._resultBuffer);this._readbackQueue=null,this._measuredError=ni._parseRGBA8float(this._resultBuffer),this._lastReadbackFrame=this._updateCount;}static _parseRGBA8float(e){let t=0;return t+=e[0]/256,t+=e[1]/65536,t+=e[2]/16777216,e[3]<127&&(t=-t),t/128}}const li=t.a6/128;function ci(e,i){const o=void 0!==e.granularity?Math.max(e.granularity,1):1,a=o+(e.generateBorders?2:0),r=o+(e.extendToNorthPole||e.generateBorders?1:0)+(e.extendToSouthPole||e.generateBorders?1:0),s=a+1,n=r+1,l=e.generateBorders?-1:0,c=e.generateBorders||e.extendToNorthPole?-1:0,h=o+(e.generateBorders?1:0),u=o+(e.generateBorders||e.extendToSouthPole?1:0),d=s*n,_=a*r*6,p=s*n>65536;if(p&&"16bit"===i)throw new Error("Granularity is too large and meshes would not fit inside 16 bit vertex indices.");const m=p||"32bit"===i,f=new Int16Array(2*d);let g=0;for(let i=c;i<=u;i++)for(let a=l;a<=h;a++){let r=a/o*t.a6;-1===a&&(r=-li),a===o+1&&(r=t.a6+li);let s=i/o*t.a6;-1===i&&(s=e.extendToNorthPole?t.bq:-li),i===o+1&&(s=e.extendToSouthPole?t.br:t.a6+li),f[g++]=r,f[g++]=s;}const v=m?new Uint32Array(_):new Uint16Array(_);let x=0;for(let e=0;e0}get latitudeErrorCorrectionRadians(){return this._verticalPerspectiveProjection.latitudeErrorCorrectionRadians}get currentProjection(){return this.useGlobeRendering?this._verticalPerspectiveProjection:this._mercatorProjection}get name(){return "globe"}get useSubdivision(){return this.currentProjection.useSubdivision}get shaderVariantName(){return this.currentProjection.shaderVariantName}get shaderDefine(){return this.currentProjection.shaderDefine}get shaderPreludeCode(){return this.currentProjection.shaderPreludeCode}get vertexShaderPreludeCode(){return this.currentProjection.vertexShaderPreludeCode}get subdivisionGranularity(){return this.currentProjection.subdivisionGranularity}get useGlobeControls(){return this.transitionState>0}destroy(){this._mercatorProjection.destroy(),this._verticalPerspectiveProjection.destroy();}updateGPUdependent(e){this._mercatorProjection.updateGPUdependent(e),this._verticalPerspectiveProjection.updateGPUdependent(e);}getMeshFromTileID(e,t,i,o,a){return this.currentProjection.getMeshFromTileID(e,t,i,o,a)}setProjection(e){this._transitionable.setValue("type",(null==e?void 0:e.type)||"mercator");}updateTransitions(e){this._transitioning=this._transitionable.transitioned(e,this._transitioning);}hasTransition(){return this._transitioning.hasTransition()||this.currentProjection.hasTransition()}recalculate(e){this.properties=this._transitioning.possiblyEvaluate(e);}setErrorQueryLatitudeDegrees(e){this._verticalPerspectiveProjection.setErrorQueryLatitudeDegrees(e),this._mercatorProjection.setErrorQueryLatitudeDegrees(e);}}function pi(e){const t=gi(e.worldSize,e.center.lat);return 2*Math.PI*t}function mi(e,i,o,a,r){const s=1/(1<1e-6){const a=e[0]/o,r=Math.acos(e[2]/o),s=(a>0?r:-r)/Math.PI*180;return new t.W(t.X(s,-180,180),i)}return new t.W(0,i)}function xi(e){return Math.cos(e*Math.PI/180)}function bi(e,i){const o=xi(e),a=xi(i);return t.ar(a/o)}function yi(e,i){const o=e.rotate(i.bearingInRadians),a=i.zoom+bi(i.center.lat,0),r=t.bt(1/xi(i.center.lat),1/xi(Math.min(Math.abs(i.center.lat),60)),t.bw(a,7,3,0,1)),s=360/pi({worldSize:i.worldSize,center:{lat:i.center.lat}});return new t.W(i.center.lng-o.x*s*r,t.al(i.center.lat+o.y*s,-t.am,t.am))}function wi(e){const t=.5*e,i=Math.sin(t),o=Math.cos(t);return Math.log(i+o)-Math.log(o-i)}function Ti(e,i,o,a){const r=e.lat+o*a;if(Math.abs(o)>1){const s=(Math.sign(e.lat+o)!==Math.sign(e.lat)?-Math.abs(e.lat):Math.abs(e.lat))*Math.PI/180,n=Math.abs(e.lat+o)*Math.PI/180,l=wi(s+a*(n-s)),c=wi(s),h=wi(n);return new t.W(e.lng+i*((l-c)/(h-c)),r)}return new t.W(e.lng+i*a,r)}class Pi{constructor(e){this._cachePrevious=new Map,this._cache=new Map,this._hadAnyChanges=!1,this._boundingVolumeFactory=e;}swapBuffers(){if(!this._hadAnyChanges)return;const e=this._cachePrevious;this._cachePrevious=this._cache,this._cache=e,this._cache.clear(),this._hadAnyChanges=!1;}getTileBoundingVolume(e,t,i,o){const a=`${e.z}_${e.x}_${e.y}_${(null==o?void 0:o.terrain)?"t":""}`,r=this._cache.get(a);if(r)return r;const s=this._cachePrevious.get(a);if(s)return this._cache.set(a,s),s;const n=this._boundingVolumeFactory(e,t,i,o);return this._cache.set(a,n),this._hadAnyChanges=!0,n}}class Ci{constructor(e,t,i,o){this.min=i,this.max=o,this.points=e,this.planes=t;}static fromAabb(e,t){const i=[];for(let o=0;o<8;o++)i.push([1&~o?e[0]:t[0],1==(o>>1&1)?t[1]:e[1],1==(o>>2&1)?t[2]:e[2]]);return new Ci(i,[[-1,0,0,t[0]],[1,0,0,-e[0]],[0,-1,0,t[1]],[0,1,0,-e[1]],[0,0,-1,t[2]],[0,0,1,-e[2]]],e,t)}static fromCenterSizeAngles(e,i,o){const a=t.bA([],o[0],o[1],o[2]),r=t.bB([],[i[0],0,0],a),s=t.bB([],[0,i[1],0],a),n=t.bB([],[0,0,i[2]],a),l=[...e],c=[...e];for(let t=0;t<8;t++)for(let i=0;i<3;i++){const o=e[i]+r[i]*(1&~t?-1:1)+s[i]*(1==(t>>1&1)?1:-1)+n[i]*(1==(t>>2&1)?1:-1);l[i]=Math.min(l[i],o),c[i]=Math.max(c[i],o);}const h=[];for(let i=0;i<8;i++){const o=[...e];t.a_(o,o,t.aZ([],r,1&~i?-1:1)),t.a_(o,o,t.aZ([],s,1==(i>>1&1)?1:-1)),t.a_(o,o,t.aZ([],n,1==(i>>2&1)?1:-1)),h.push(o);}return new Ci(h,[[...r,-t.b3(r,h[0])],[...s,-t.b3(s,h[0])],[...n,-t.b3(n,h[0])],[-r[0],-r[1],-r[2],-t.b3(r,h[7])],[-s[0],-s[1],-s[2],-t.b3(s,h[7])],[-n[0],-n[1],-n[2],-t.b3(n,h[7])]],l,c)}intersectsFrustum(e){let t=!0;const i=this.points.length,o=this.planes.length,a=e.planes.length,r=e.points.length;for(let o=0;o=0&&r++;}if(0===r)return 0;r=0&&o++;}if(0===o)return 0}return 1}intersectsPlane(e){const t=this.points.length;let i=0;for(let o=0;o=0&&i++;}return i===t?2:0===i?0:1}}function Mi(e,t,i){const o=e-t;return o<0?-o:Math.max(0,o-i)}function Ii(e,t,i,o,a){const r=e-i;let s;return s=r<0?Math.min(-r,1+r-a):r>a?Math.min(Math.max(r-a,0),1-r):0,Math.max(s,Mi(t,o,a))}class Ei{constructor(){this._boundingVolumeCache=new Pi(this._computeTileBoundingVolume);}prepareNextFrame(){this._boundingVolumeCache.swapBuffers();}distanceToTile2d(e,t,i,o){const a=1<4}allowWorldCopies(){return !1}getTileBoundingVolume(e,t,i,o){return this._boundingVolumeCache.getTileBoundingVolume(e,t,i,o)}_computeTileBoundingVolume(e,i,o,a){var r,s;let n=0,l=0;if(null==a?void 0:a.terrain){const c=new t.a3(e.z,i,e.z,e.x,e.y),h=a.terrain.getMinMaxElevation(c);n=null!==(r=h.minElevation)&&void 0!==r?r:Math.min(0,o),l=null!==(s=h.maxElevation)&&void 0!==s?s:Math.max(0,o);}if(n/=t.bD,l/=t.bD,n+=1,l+=1,e.z<=0)return Ci.fromAabb([-l,-l,-l],[l,l,l]);if(1===e.z)return Ci.fromAabb([0===e.x?-l:0,0===e.y?0:-l,-l],[0===e.x?0:l,0===e.y?l:0,l]);{const i=[mi(0,0,e.x,e.y,e.z),mi(t.a6,0,e.x,e.y,e.z),mi(t.a6,t.a6,e.x,e.y,e.z),mi(0,t.a6,e.x,e.y,e.z)],o=[];for(const e of i)o.push(t.aZ([],e,l));if(l!==n)for(const e of i)o.push(t.aZ([],e,n));0===e.y&&o.push([0,1,0]),e.y===(1<=(1<{const o=t.al(e.lat,-t.am,t.am),a=t.al(+i,this.minZoom+bi(0,o),this.maxZoom);return {center:new t.W(e.lng,o),zoom:a}},this.applyConstrain=(e,t)=>this._helper.applyConstrain(e,t),this._helper=new Wt({calcMatrices:()=>this._calcMatrices(),defaultConstrain:(e,t)=>this.defaultConstrain(e,t)},e),this._coveringTilesDetailsProvider=new Ei;}clone(){const e=new zi;return e.apply(this,!1),e}apply(e,t,i){this._globeLatitudeErrorCorrectionRadians=i||0,this._helper.apply(e,t);}get projectionMatrix(){return this._projectionMatrix}get modelViewProjectionMatrix(){return this._globeViewProjMatrixNoCorrection}get inverseProjectionMatrix(){return this._globeProjMatrixInverted}get cameraPosition(){const e=t.bz();return e[0]=this._cameraPosition[0],e[1]=this._cameraPosition[1],e[2]=this._cameraPosition[2],e}get cameraToCenterDistance(){return this._helper.cameraToCenterDistance}getProjectionData(e){const{overscaledTileID:t,applyGlobeMatrix:i}=e,o=this._helper.getMercatorTileCoordinates(t);return {mainMatrix:this._globeViewProjMatrix32f,tileMercatorCoords:o,clippingPlane:this._cachedClippingPlane,projectionTransition:i?1:0,fallbackMatrix:this._globeViewProjMatrix32f}}_computeClippingPlane(e){const i=this.pitchInRadians,o=this.cameraToCenterDistance/e,a=Math.sin(i)*o,r=Math.cos(i)*o+1,s=1/Math.sqrt(a*a+r*r)*1;let n=-a,l=r;const c=Math.sqrt(n*n+l*l);n/=c,l/=c;const h=[0,n,l];t.bF(h,h,[0,0,0],-this.bearingInRadians),t.bG(h,h,[0,0,0],-1*this.center.lat*Math.PI/180),t.bH(h,h,[0,0,0],this.center.lng*Math.PI/180);const u=1/t.b5(h);return t.aZ(h,h,u),[...h,-s*u]}isLocationOccluded(e){return !this.isSurfacePointVisible(fi(e))}transformLightDirection(e){const i=this._helper._center.lng*Math.PI/180,o=this._helper._center.lat*Math.PI/180,a=Math.cos(o),r=[Math.sin(i)*a,Math.sin(o),Math.cos(i)*a],s=[r[2],0,-r[0]],n=[0,0,0];t.b2(n,s,r),t.b1(s,s),t.b1(n,n);const l=[0,0,0];return t.b1(l,[s[0]*e[0]+n[0]*e[1]+r[0]*e[2],s[1]*e[0]+n[1]*e[1]+r[1]*e[2],s[2]*e[0]+n[2]*e[1]+r[2]*e[2]]),l}getPixelScale(){return 1/Math.cos(this._helper._center.lat*Math.PI/180)}getCircleRadiusCorrection(){return Math.cos(this._helper._center.lat*Math.PI/180)}getPitchedTextCorrection(e,i,o){const a=function(e,i,o){const a=1/(1<r&&(r=i),on&&(n=o);}const h=[c.lng+s,c.lat+l,c.lng+r,c.lat+n];return this.isSurfacePointOnScreen([0,1,0])&&(h[3]=90,h[0]=-180,h[2]=180),this.isSurfacePointOnScreen([0,-1,0])&&(h[1]=-90,h[0]=-180,h[2]=180),new G(h)}calculateCenterFromCameraLngLatAlt(e,t,i,o){return this._helper.calculateCenterFromCameraLngLatAlt(e,t,i,o)}setLocationAtPoint(e,i){const o=fi(this.unprojectScreenPoint(i)),a=fi(e),r=t.bz();t.bK(r);const s=t.bz();t.bH(s,o,r,-this.center.lng*Math.PI/180),t.bG(s,s,r,this.center.lat*Math.PI/180);const n=a[0]*a[0]+a[2]*a[2],l=s[0]*s[0];if(n=-g&&p<=g,x=f>=-g&&f<=g;let b,y;if(v&&x){const e=this.center.lng*Math.PI/180,i=this.center.lat*Math.PI/180;t.bM(u,e)+t.bM(p,i)=0}isSurfacePointOnScreen(e){if(!this.isSurfacePointVisible(e))return !1;const i=t.bE();return t.aE(i,[...e,1],this._globeViewProjMatrixNoCorrection),i[0]/=i[3],i[1]/=i[3],i[2]/=i[3],i[0]>-1&&i[0]<1&&i[1]>-1&&i[1]<1&&i[2]>-1&&i[2]<1}rayPlanetIntersection(e,i){const o=t.b3(e,i),a=t.bz(),r=t.bz();t.aZ(r,i,o),t.b0(a,e,r);const s=1-t.b3(a,a);if(s<0)return null;const n=t.b3(e,e)-1,l=-o+(o<0?1:-1)*Math.sqrt(s),c=n/l,h=l;return {tMin:Math.min(c,h),tMax:Math.max(c,h)}}unprojectScreenPoint(e){const i=this._cameraPosition,o=this.getRayDirectionFromPixel(e),a=this.rayPlanetIntersection(i,o);if(a){const e=t.bz();t.a_(e,i,[o[0]*a.tMin,o[1]*a.tMin,o[2]*a.tMin]);const r=t.bz();return t.b1(r,e),vi(r)}const r=this._cachedClippingPlane,s=r[0]*o[0]+r[1]*o[1]+r[2]*o[2],n=-t.b9(r,i)/s,l=t.bz();if(n>0)t.a_(l,i,[o[0]*n,o[1]*n,o[2]*n]);else {const e=t.bz();t.a_(e,i,[2*o[0],2*o[1],2*o[2]]);const a=t.b9(this._cachedClippingPlane,e);t.b0(l,e,[this._cachedClippingPlane[0]*a,this._cachedClippingPlane[1]*a,this._cachedClippingPlane[2]*a]);}const c=function(e){const i=t.bz();return i[0]=e[0]*-e[3],i[1]=e[1]*-e[3],i[2]=e[2]*-e[3],{center:i,radius:Math.sqrt(1-e[3]*e[3])}}(r);return vi(function(e,i,o){const a=t.bz();t.b0(a,o,e);const r=t.bz();return t.bx(r,e,a,i/t.b7(a)),r}(c.center,c.radius,l))}getMatrixForModel(e,i){const o=t.W.convert(e),a=1/t.bD,r=t.bi();return t.bI(r,r,o.lng/180*Math.PI),t.bf(r,r,-o.lat/180*Math.PI),t.Q(r,r,[0,0,1+i/t.bD]),t.bf(r,r,.5*Math.PI),t.S(r,r,[a,a,a]),r}getProjectionDataForCustomLayer(e=!0){const i=this.getProjectionData({overscaledTileID:new t.a3(0,0,0,0,0),applyGlobeMatrix:e});return i.tileMercatorCoords=[0,0,1,1],i}getFastPathSimpleProjectionMatrix(e){}}class Ri{get pixelsToClipSpaceMatrix(){return this._helper.pixelsToClipSpaceMatrix}get clipSpaceToPixelsMatrix(){return this._helper.clipSpaceToPixelsMatrix}get pixelsToGLUnits(){return this._helper.pixelsToGLUnits}get centerOffset(){return this._helper.centerOffset}get size(){return this._helper.size}get rotationMatrix(){return this._helper.rotationMatrix}get centerPoint(){return this._helper.centerPoint}get pixelsPerMeter(){return this._helper.pixelsPerMeter}setMinZoom(e){this._helper.setMinZoom(e);}setMaxZoom(e){this._helper.setMaxZoom(e);}setMinPitch(e){this._helper.setMinPitch(e);}setMaxPitch(e){this._helper.setMaxPitch(e);}setRenderWorldCopies(e){this._helper.setRenderWorldCopies(e);}setBearing(e){this._helper.setBearing(e);}setPitch(e){this._helper.setPitch(e);}setRoll(e){this._helper.setRoll(e);}setFov(e){this._helper.setFov(e);}setZoom(e){this._helper.setZoom(e);}setCenter(e){this._helper.setCenter(e);}setElevation(e){this._helper.setElevation(e);}setMinElevationForCurrentTile(e){this._helper.setMinElevationForCurrentTile(e);}setPadding(e){this._helper.setPadding(e);}interpolatePadding(e,t,i){this._helper.interpolatePadding(e,t,i);}isPaddingEqual(e){return this._helper.isPaddingEqual(e)}resize(e,t,i=!0){this._helper.resize(e,t,i);}getMaxBounds(){return this._helper.getMaxBounds()}setMaxBounds(e){this._helper.setMaxBounds(e);}setConstrainOverride(e){this._helper.setConstrainOverride(e);}overrideNearFarZ(e,t){this._helper.overrideNearFarZ(e,t);}clearNearFarZOverride(){this._helper.clearNearFarZOverride();}getCameraQueryGeometry(e){return this._helper.getCameraQueryGeometry(this.getCameraPoint(),e)}get tileSize(){return this._helper.tileSize}get tileZoom(){return this._helper.tileZoom}get scale(){return this._helper.scale}get worldSize(){return this._helper.worldSize}get width(){return this._helper.width}get height(){return this._helper.height}get lngRange(){return this._helper.lngRange}get latRange(){return this._helper.latRange}get minZoom(){return this._helper.minZoom}get maxZoom(){return this._helper.maxZoom}get zoom(){return this._helper.zoom}get center(){return this._helper.center}get minPitch(){return this._helper.minPitch}get maxPitch(){return this._helper.maxPitch}get pitch(){return this._helper.pitch}get pitchInRadians(){return this._helper.pitchInRadians}get roll(){return this._helper.roll}get rollInRadians(){return this._helper.rollInRadians}get bearing(){return this._helper.bearing}get bearingInRadians(){return this._helper.bearingInRadians}get fov(){return this._helper.fov}get fovInRadians(){return this._helper.fovInRadians}get elevation(){return this._helper.elevation}get minElevationForCurrentTile(){return this._helper.minElevationForCurrentTile}get padding(){return this._helper.padding}get unmodified(){return this._helper.unmodified}get renderWorldCopies(){return this._helper.renderWorldCopies}get cameraToCenterDistance(){return this._helper.cameraToCenterDistance}get constrainOverride(){return this._helper.constrainOverride}get nearZ(){return this._helper.nearZ}get farZ(){return this._helper.farZ}get autoCalculateNearFarZ(){return this._helper.autoCalculateNearFarZ}get isGlobeRendering(){return this._globeness>0}setTransitionState(e,t){this._globeness=e,this._globeLatitudeErrorCorrectionRadians=t,this._calcMatrices(),this._verticalPerspectiveTransform.getCoveringTilesDetailsProvider().prepareNextFrame(),this._mercatorTransform.getCoveringTilesDetailsProvider().prepareNextFrame();}get currentTransform(){return this.isGlobeRendering?this._verticalPerspectiveTransform:this._mercatorTransform}constructor(e){this._globeLatitudeErrorCorrectionRadians=0,this._globeness=1,this.defaultConstrain=(e,t)=>this.currentTransform.defaultConstrain(e,t),this.applyConstrain=(e,t)=>this._helper.applyConstrain(e,t),this._helper=new Wt({calcMatrices:()=>this._calcMatrices(),defaultConstrain:(e,t)=>this.defaultConstrain(e,t)},e),this._globeness=1,this._mercatorTransform=new Xt,this._verticalPerspectiveTransform=new zi;}clone(){const e=new Ri;return e._globeness=this._globeness,e._globeLatitudeErrorCorrectionRadians=this._globeLatitudeErrorCorrectionRadians,e.apply(this,!1),e}apply(e,t){this._helper.apply(e,t),this._mercatorTransform.apply(this,!1),this._verticalPerspectiveTransform.apply(this,!1,this._globeLatitudeErrorCorrectionRadians);}get projectionMatrix(){return this.currentTransform.projectionMatrix}get modelViewProjectionMatrix(){return this.currentTransform.modelViewProjectionMatrix}get inverseProjectionMatrix(){return this.currentTransform.inverseProjectionMatrix}get cameraPosition(){return this.currentTransform.cameraPosition}getProjectionData(e){const t=this._mercatorTransform.getProjectionData(e),i=this._verticalPerspectiveTransform.getProjectionData(e);return {mainMatrix:this.isGlobeRendering?i.mainMatrix:t.mainMatrix,clippingPlane:i.clippingPlane,tileMercatorCoords:i.tileMercatorCoords,projectionTransition:e.applyGlobeMatrix?this._globeness:0,fallbackMatrix:t.fallbackMatrix}}isLocationOccluded(e){return this.currentTransform.isLocationOccluded(e)}transformLightDirection(e){return this.currentTransform.transformLightDirection(e)}getPixelScale(){return t.bt(this._mercatorTransform.getPixelScale(),this._verticalPerspectiveTransform.getPixelScale(),this._globeness)}getCircleRadiusCorrection(){return t.bt(this._mercatorTransform.getCircleRadiusCorrection(),this._verticalPerspectiveTransform.getCircleRadiusCorrection(),this._globeness)}getPitchedTextCorrection(e,i,o){const a=this._mercatorTransform.getPitchedTextCorrection(e,i,o),r=this._verticalPerspectiveTransform.getPitchedTextCorrection(e,i,o);return t.bt(a,r,this._globeness)}projectTileCoordinates(e,t,i,o){return this.currentTransform.projectTileCoordinates(e,t,i,o)}_calcMatrices(){this._helper._width&&this._helper._height&&(this._verticalPerspectiveTransform.apply(this,!1,this._globeLatitudeErrorCorrectionRadians),this._helper._nearZ=this._verticalPerspectiveTransform.nearZ,this._helper._farZ=this._verticalPerspectiveTransform.farZ,this._mercatorTransform.apply(this,!0,this.isGlobeRendering),this._helper._nearZ=this._mercatorTransform.nearZ,this._helper._farZ=this._mercatorTransform.farZ);}calculateFogMatrix(e){return this.currentTransform.calculateFogMatrix(e)}getVisibleUnwrappedCoordinates(e){return this.currentTransform.getVisibleUnwrappedCoordinates(e)}getCameraFrustum(){return this.currentTransform.getCameraFrustum()}getClippingPlane(){return this.currentTransform.getClippingPlane()}getCoveringTilesDetailsProvider(){return this.currentTransform.getCoveringTilesDetailsProvider()}recalculateZoomAndCenter(e){this._mercatorTransform.recalculateZoomAndCenter(e),this._verticalPerspectiveTransform.recalculateZoomAndCenter(e);}maxPitchScaleFactor(){return this._mercatorTransform.maxPitchScaleFactor()}getCameraPoint(){return this._helper.getCameraPoint()}getCameraAltitude(){return this._helper.getCameraAltitude()}getCameraLngLat(){return this._helper.getCameraLngLat()}lngLatToCameraDepth(e,t){return this.currentTransform.lngLatToCameraDepth(e,t)}populateCache(e){this._mercatorTransform.populateCache(e),this._verticalPerspectiveTransform.populateCache(e);}getBounds(){return this.currentTransform.getBounds()}calculateCenterFromCameraLngLatAlt(e,t,i,o){return this._helper.calculateCenterFromCameraLngLatAlt(e,t,i,o)}setLocationAtPoint(e,t){if(!this.isGlobeRendering)return this._mercatorTransform.setLocationAtPoint(e,t),void this.apply(this._mercatorTransform,!1);this._verticalPerspectiveTransform.setLocationAtPoint(e,t),this.apply(this._verticalPerspectiveTransform,!1);}locationToScreenPoint(e,t){return this.currentTransform.locationToScreenPoint(e,t)}screenPointToMercatorCoordinate(e,t){return this.currentTransform.screenPointToMercatorCoordinate(e,t)}screenPointToLocation(e,t){return this.currentTransform.screenPointToLocation(e,t)}isPointOnMapSurface(e,t){return this.currentTransform.isPointOnMapSurface(e,t)}getRayDirectionFromPixel(e){return this._verticalPerspectiveTransform.getRayDirectionFromPixel(e)}getMatrixForModel(e,t){return this.currentTransform.getMatrixForModel(e,t)}getProjectionDataForCustomLayer(e=!0){const t=this._mercatorTransform.getProjectionDataForCustomLayer(e);if(!this.isGlobeRendering)return t;const i=this._verticalPerspectiveTransform.getProjectionDataForCustomLayer(e);return i.fallbackMatrix=t.mainMatrix,i}getFastPathSimpleProjectionMatrix(e){return this.currentTransform.getFastPathSimpleProjectionMatrix(e)}}class Di{get useGlobeControls(){return !0}handlePanInertia(e,i){const o=yi(e,i);return Math.abs(o.lng-i.center.lng)>180&&(o.lng=i.center.lng+179.5*Math.sign(o.lng-i.center.lng)),{easingCenter:o,easingOffset:new t.P(0,0)}}handleMapControlsRollPitchBearingZoom(e,i){const o=e.around,a=i.screenPointToLocation(o);e.bearingDelta&&i.setBearing(i.bearing+e.bearingDelta),e.pitchDelta&&i.setPitch(i.pitch+e.pitchDelta),e.rollDelta&&i.setRoll(i.roll+e.rollDelta);const r=i.zoom;e.zoomDelta&&i.setZoom(i.zoom+e.zoomDelta);const s=i.zoom-r;if(0===s)return;const n=t.bJ(i.center.lng,a.lng),l=n/(Math.abs(n/180)+1),c=t.bJ(i.center.lat,a.lat),h=i.getRayDirectionFromPixel(o),u=i.cameraPosition,d=-1*t.b3(u,h),_=t.bz();t.a_(_,u,[h[0]*d,h[1]*d,h[2]*d]);const p=t.b5(_)-1,m=Math.exp(.5*-Math.max(p-.3,0)),f=gi(i.worldSize,i.center.lat)/Math.min(i.width,i.height),g=t.bw(f,.9,.5,1,.25),v=(1-t.ao(-s))*Math.min(m,g),x=i.center.lat,b=i.zoom,y=new t.W(i.center.lng+l*v,t.al(i.center.lat+c*v,-t.am,t.am));i.setLocationAtPoint(a,o);const w=i.center,T=t.bw(Math.abs(n),45,85,0,1),P=t.bw(f,.75,.35,0,1),C=Math.pow(Math.max(T,P),.25),M=t.bJ(w.lng,y.lng),I=t.bJ(w.lat,y.lat);i.setCenter(new t.W(w.lng+M*C,w.lat+I*C).wrap()),i.setZoom(b+bi(x,i.center.lat));}handleMapControlsPan(e,t,i){if(!e.panDelta)return;const o=t.center.lat,a=t.zoom;t.setCenter(yi(e.panDelta,t).wrap()),t.setZoom(a+bi(o,t.center.lat));}cameraForBoxAndBearing(e,i,o,a,r){const s=Qt(e,i,o,a,r),n=i.left/r.width*2-1,l=(r.width-i.right)/r.width*2-1,c=i.top/r.height*-2+1,h=(r.height-i.bottom)/r.height*-2+1,u=t.bJ(o.getWest(),o.getEast())<0,d=u?o.getEast():o.getWest(),_=u?o.getWest():o.getEast(),p=Math.max(o.getNorth(),o.getSouth()),m=Math.min(o.getNorth(),o.getSouth()),f=d+.5*t.bJ(d,_),g=p+.5*t.bJ(p,m),v=r.clone();v.setCenter(s.center),v.setBearing(s.bearing),v.setPitch(0),v.setRoll(0),v.setZoom(s.zoom);const x=v.modelViewProjectionMatrix,b=[fi(o.getNorthWest()),fi(o.getNorthEast()),fi(o.getSouthWest()),fi(o.getSouthEast()),fi(new t.W(_,g)),fi(new t.W(d,g)),fi(new t.W(f,p)),fi(new t.W(f,m))],y=fi(s.center);let w=Number.POSITIVE_INFINITY;for(const e of b)n<0&&(w=Di.getLesserNonNegativeNonNull(w,Di.solveVectorScale(e,y,x,"x",n))),l>0&&(w=Di.getLesserNonNegativeNonNull(w,Di.solveVectorScale(e,y,x,"x",l))),c>0&&(w=Di.getLesserNonNegativeNonNull(w,Di.solveVectorScale(e,y,x,"y",c))),h<0&&(w=Di.getLesserNonNegativeNonNull(w,Di.solveVectorScale(e,y,x,"y",h)));if(Number.isFinite(w)&&0!==w)return s.zoom=Math.min(v.zoom+t.ar(w),e.maxZoom),s;Kt();}handleJumpToCenterZoom(e,i){const o=e.center.lat,a=e.applyConstrain(i.center?t.W.convert(i.center):e.center,e.zoom).center;e.setCenter(a.wrap());const r=void 0!==i.zoom?+i.zoom:e.zoom+bi(o,a.lat);e.zoom!==r&&e.setZoom(r);}handleEaseTo(e,i){const o=e.zoom,a=e.center,r=e.padding,s={roll:e.roll,pitch:e.pitch,bearing:e.bearing},n={roll:void 0===i.roll?e.roll:i.roll,pitch:void 0===i.pitch?e.pitch:i.pitch,bearing:void 0===i.bearing?e.bearing:i.bearing},l=void 0!==i.zoom,c=!e.isPaddingEqual(i.padding);let h=!1;const u=i.center?t.W.convert(i.center):a,d=e.applyConstrain(u,o).center;Gt(e,d);const _=e.clone();_.setCenter(d),_.setZoom(l?+i.zoom:o+bi(a.lat,u.lat)),_.setBearing(i.bearing);const p=new t.P(t.al(e.centerPoint.x+i.offsetAsPoint.x,0,e.width),t.al(e.centerPoint.y+i.offsetAsPoint.y,0,e.height));_.setLocationAtPoint(d,p);const m=(i.offset&&i.offsetAsPoint.mag())>0?_.center:d,f=l?+i.zoom:o+bi(a.lat,m.lat),g=o+bi(a.lat,0),v=f+bi(m.lat,0),x=t.bJ(a.lng,m.lng),b=t.bJ(a.lat,m.lat),y=t.ao(v-g);return h=f!==o,{easeFunc:o=>{if(t.bn(s,n)||Yt({startEulerAngles:s,endEulerAngles:n,tr:e,k:o,useSlerp:s.roll!=n.roll}),c&&e.interpolatePadding(r,i.padding,o),i.around)t.w("Easing around a point is not supported under globe projection."),e.setLocationAtPoint(i.around,i.aroundPoint);else {const t=v>g?Math.min(2,y):Math.max(.5,y),i=Math.pow(t,1-o),r=Ti(a,x,b,o*i);e.setCenter(r.wrap());}if(h){const i=t.H.number(g,v,o)+bi(0,e.center.lat);e.setZoom(i);}},isZooming:h,elevationCenter:m}}handleFlyTo(e,i){const o=void 0!==i.zoom,a=e.center,r=e.zoom,s=e.padding,n=!e.isPaddingEqual(i.padding),l=e.applyConstrain(t.W.convert(i.center||i.locationAtOffset),r).center,c=o?+i.zoom:e.zoom+bi(e.center.lat,l.lat),h=e.clone();h.setCenter(l),h.setZoom(c),h.setBearing(i.bearing);const u=new t.P(t.al(e.centerPoint.x+i.offsetAsPoint.x,0,e.width),t.al(e.centerPoint.y+i.offsetAsPoint.y,0,e.height));h.setLocationAtPoint(l,u);const d=h.center;Gt(e,d);const _=function(e,i,o){const a=fi(i),r=fi(o),s=t.b3(a,r),n=Math.acos(s),l=pi(e);return n/(2*Math.PI)*l}(e,a,d),p=r+bi(a.lat,0),m=c+bi(d.lat,0),f=t.ao(m-p);let g;if("number"==typeof i.minZoom){const o=+i.minZoom+bi(d.lat,0),a=Math.min(o,p,m)+bi(0,d.lat),r=e.applyConstrain(d,a).zoom+bi(d.lat,0);g=t.ao(r-p);}const v=t.bJ(a.lng,d.lng),x=t.bJ(a.lat,d.lat);return {easeFunc:(o,r,l,h)=>{const u=Ti(a,v,x,l);n&&e.interpolatePadding(s,i.padding,o);const _=1===o?d:u;e.setCenter(_.wrap());const m=p+t.ar(r);e.setZoom(1===o?c:m+bi(0,_.lat));},scaleOfZoom:f,targetCenter:d,scaleOfMinZoom:g,pixelPathLength:_}}static solveVectorScale(e,t,i,o,a){const r="x"===o?[i[0],i[4],i[8],i[12]]:[i[1],i[5],i[9],i[13]],s=[i[3],i[7],i[11],i[15]],n=e[0]*r[0]+e[1]*r[1]+e[2]*r[2],l=e[0]*s[0]+e[1]*s[1]+e[2]*s[2],c=t[0]*r[0]+t[1]*r[1]+t[2]*r[2],h=t[0]*s[0]+t[1]*s[1]+t[2]*s[2];return c+a*l===n+a*h||s[3]*(n-c)+r[3]*(h-l)+n*h==c*l?null:(c+r[3]-a*h-a*s[3])/(c-n-a*h+a*l)}static getLesserNonNegativeNonNull(e,t){return null!==t&&t>=0&&tt.C(e,null==i?void 0:i.filter((e=>"source.canvas"!==e.identifier))),Fi=t.bN();class ki extends t.E{constructor(e,i={}){var o,a;super(),this._rtlPluginLoaded=()=>{for(const e in this.tileManagers){const t=this.tileManagers[e].getSource().type;"vector"!==t&&"geojson"!==t||this.tileManagers[e].reload();}},this.map=e,this.dispatcher=new k(F(),e._getMapId()),this.dispatcher.registerMessageHandler("GG",((e,t)=>this.getGlyphs(e,t))),this.dispatcher.registerMessageHandler("GI",((e,t)=>this.getImages(e,t))),this.dispatcher.registerMessageHandler("GDA",((e,t)=>this.getDashes(e,t))),this.imageManager=new g,this.imageManager.setEventedParent(this);const r=(null===(o=e._container)||void 0===o?void 0:o.lang)||"undefined"!=typeof document&&(null===(a=document.documentElement)||void 0===a?void 0:a.lang)||void 0;this.glyphManager=new T(e._requestManager,i.localIdeographFontFamily,r),this.lineAtlas=new S(256,512),this.crossTileSymbolIndex=new At,this._setInitialValues(),this._resetUpdates(),this.dispatcher.broadcast("SR",t.bO()),ce().on(se,this._rtlPluginLoaded),this.on("data",(e=>{if("source"!==e.dataType||"metadata"!==e.sourceDataType)return;const t=this.tileManagers[e.sourceId];if(!t)return;const i=t.getSource();if(null==i?void 0:i.vectorLayerIds)for(const e in this._layers){const t=this._layers[e];t.source===i.id&&this._validateLayer(t);}}));}_setInitialValues(){var e;this._spritesImagesIds={},this._layers={},this._order=[],this.tileManagers={},this.zoomHistory=new t.bP,this._availableImages=[],this._globalState={},this._serializedLayers={},this.stylesheet=null,this.light=null,this.sky=null,this.projection&&(this.projection.destroy(),delete this.projection),this._loaded=!1,this._changed=!1,this._updatedLayers={},this._updatedSources={},this._changedImages={},this._glyphsDidChange=!1,this._updatedPaintProps={},this._layerOrderChanged=!1,this.crossTileSymbolIndex=new((null===(e=this.crossTileSymbolIndex)||void 0===e?void 0:e.constructor)||Object),this.pauseablePlacement=void 0,this.placement=void 0,this.z=0;}setGlobalStateProperty(e,i){var o,a,r;this._checkLoaded();const s=null===i?null!==(r=null===(a=null===(o=this.stylesheet.state)||void 0===o?void 0:o[e])||void 0===a?void 0:a.default)&&void 0!==r?r:null:i;if(t.bQ(s,this._globalState[e]))return this;this._globalState[e]=s,this._applyGlobalStateChanges([e]);}getGlobalState(){return this._globalState}setGlobalState(e){this._checkLoaded();const i=[];for(const o in e)!t.bQ(this._globalState[o],e[o].default)&&(i.push(o),this._globalState[o]=e[o].default);this._applyGlobalStateChanges(i);}_applyGlobalStateChanges(e){if(0===e.length)return;const t=new Set,i={};for(const o of e){i[o]=this._globalState[o];for(const e in this._layers){const i=this._layers[e],a=i.getLayoutAffectingGlobalStateRefs(),r=i.getPaintAffectingGlobalStateRefs(),s=i.getVisibilityAffectingGlobalStateRefs();if(a.has(o)&&t.add(i.source),r.has(o))for(const{name:e,value:t}of r.get(o))this._updatePaintProperty(i,e,t);(null==s?void 0:s.has(o))&&(i.recalculateVisibility(),this._updateLayer(i));}}this.dispatcher.broadcast("UGS",i);for(const e in this.tileManagers)t.has(e)&&(this._reloadSource(e),this._changed=!0);}loadURL(e){return t._(this,arguments,void 0,(function*(e,i={},o){this.fire(new t.n("dataloading",{dataType:"style"})),i.validate="boolean"!=typeof i.validate||i.validate,this._loadStyleRequest=new AbortController;const a=this._loadStyleRequest;try{const r=yield this.map._requestManager.transformRequest(e,"Style");t.bR(a.signal);const s=yield t.k(r,a);this._loadStyleRequest===a&&(this._loadStyleRequest=null),this._load(s.data,i,o);}catch(e){this._loadStyleRequest===a&&(this._loadStyleRequest=null),e&&!a.signal.aborted&&this.fire(new t.l(t.d(e)));}}))}loadJSON(e,i={},o){this.fire(new t.n("dataloading",{dataType:"style"})),this._frameRequest=new AbortController,n.frameAsync(this._frameRequest,this.map._ownerWindow).then((()=>{this._frameRequest=null,i.validate=!1!==i.validate,this._load(e,i,o);})).catch((()=>{}));}loadEmpty(){this.fire(new t.n("dataloading",{dataType:"style"})),this._load(Fi,{validate:!1});}_load(e,i,o){var a,r;let s=i.transformStyle?i.transformStyle(o,e):e;if(!i.validate||!Li(this,t.F(s))){s=Object.assign({},s),this._loaded=!0,this.stylesheet=s;for(const e in s.sources)this.addSource(e,s.sources[e],{validate:!1});s.sprite?this._loadSprite(s.sprite):this.imageManager.setLoaded(!0),this.glyphManager.setURL(s.glyphs),this._createLayers(),this.light=new M(this.stylesheet.light),this._setProjectionInternal((null===(a=this.stylesheet.projection)||void 0===a?void 0:a.type)||"mercator"),this.sky=new E(this.stylesheet.sky),this.map.setTerrain(null!==(r=this.stylesheet.terrain)&&void 0!==r?r:null),this.fire(new t.n("data",{dataType:"style"})),this.fire(new t.n("style.load"));}}_createLayers(){var e,i,o;const a=t.bS(this.stylesheet.layers);this.setGlobalState(null!==(e=this.stylesheet.state)&&void 0!==e?e:null),this.dispatcher.broadcast("SL",a),this._order=a.map((e=>e.id)),this._layers={},this._serializedLayers=null;for(const e of a){const a=t.bT(e,this._globalState);if(a.setEventedParent(this,{layer:{id:e.id}}),this._layers[e.id]=a,t.bU(a)&&this.tileManagers[a.source]){const t=null!==(o=null===(i=e.paint)||void 0===i?void 0:i["raster-fade-duration"])&&void 0!==o?o:a.paint.get("raster-fade-duration");this.tileManagers[a.source].setRasterFadeDuration(t);}}}_loadSprite(e,i=!1,o=void 0){this.imageManager.setLoaded(!1);const a=new AbortController;let r;this._spriteRequest=a,function(e,i,o,a){return t._(this,void 0,void 0,(function*(){const r=p(e),s=o>1?"@2x":"",l={},c={};for(const{id:e,url:o}of r){const r=yield i.transformRequest(m(o,s,".json"),"SpriteJSON");l[e]=t.k(r,a);const n=yield i.transformRequest(m(o,s,".png"),"SpriteImage");c[e]=u.getImage(n,a);}return yield Promise.all([...Object.values(l),...Object.values(c)]),function(e,i){return t._(this,void 0,void 0,(function*(){const t={};for(const o in e){t[o]={};const a=n.getImageCanvasContext((yield i[o]).data),r=(yield e[o]).data;for(const e in r){const{width:i,height:s,x:n,y:l,sdf:c,pixelRatio:h,stretchX:u,stretchY:d,content:_,textFitWidth:p,textFitHeight:m}=r[e];t[o][e]={data:null,pixelRatio:h,sdf:c,stretchX:u,stretchY:d,content:_,textFitWidth:p,textFitHeight:m,spriteData:{width:i,height:s,x:n,y:l,context:a}};}}return t}))}(l,c)}))}(e,this.map._requestManager,this.map.getPixelRatio(),this._spriteRequest).then((e=>{if(this._spriteRequest=null,e)for(const t in e){this._spritesImagesIds[t]=[];const o=this._spritesImagesIds[t]?this._spritesImagesIds[t].filter((t=>!(t in e))):[];for(const e of o)this.imageManager.removeImage(e),this._changedImages[e]=!0;for(const o in e[t]){const a="default"===t?o:`${t}:${o}`;this._spritesImagesIds[t].push(a),a in this.imageManager.images?this.imageManager.updateImage(a,e[t][o],!1):this.imageManager.addImage(a,e[t][o]),i&&(this._changedImages[a]=!0);}}})).catch((e=>{this._spriteRequest=null,r=e,a.signal.aborted||this.fire(new t.l(r));})).finally((()=>{this.imageManager.setLoaded(!0),this._availableImages=this.imageManager.listImages(),i&&(this._changed=!0),this.dispatcher.broadcast("SI",this._availableImages),this.fire(new t.n("data",{dataType:"style"})),o&&o(r);}));}_unloadSprite(){for(const e of Object.values(this._spritesImagesIds).flat())this.imageManager.removeImage(e),this._changedImages[e]=!0;this._spritesImagesIds={},this._availableImages=this.imageManager.listImages(),this._changed=!0,this.dispatcher.broadcast("SI",this._availableImages),this.fire(new t.n("data",{dataType:"style"}));}_validateLayer(e){const i=this.tileManagers[e.source];if(!i)return;const o=e.sourceLayer;if(!o)return;const a=i.getSource();("geojson"===a.type||a.vectorLayerIds&&!a.vectorLayerIds.includes(o))&&this.fire(new t.l(new Error(`Source layer "${o}" does not exist on source "${a.id}" as specified by style layer "${e.id}".`)));}loaded(){if(!this._loaded)return !1;if(Object.keys(this._updatedSources).length)return !1;for(const e in this.tileManagers)if(!this.tileManagers[e].loaded())return !1;return this.imageManager.isLoaded()}_serializeByIds(e,i=!1){const o=this._serializedAllLayers();if(!e||0===e.length)return Object.values(i?t.bV(o):o);const a=[];for(const r of e)if(o[r]){const e=i?t.bV(o[r]):o[r];a.push(e);}return a}_serializedAllLayers(){let e=this._serializedLayers;if(e)return e;e=this._serializedLayers={};const t=Object.keys(this._layers);for(const i of t){const t=this._layers[i];"custom"!==t.type&&(e[i]=t.serialize());}return e}hasTransitions(){var e,t,i;if(null===(e=this.light)||void 0===e?void 0:e.hasTransition())return !0;if(null===(t=this.sky)||void 0===t?void 0:t.hasTransition())return !0;if(null===(i=this.projection)||void 0===i?void 0:i.hasTransition())return !0;for(const e in this.tileManagers)if(this.tileManagers[e].hasTransition())return !0;for(const e in this._layers)if(this._layers[e].hasTransition())return !0;return !1}_checkLoaded(){if(!this._loaded)throw new Error("Style is not done loading.")}update(e){if(!this._loaded)return;const i=this._changed;if(i){const t=Object.keys(this._updatedLayers),i=Object.keys(this._removedLayers);(t.length||i.length)&&this._updateWorkerLayers(t,i);for(const e in this._updatedSources){const t=this._updatedSources[e];if("reload"===t)this._reloadSource(e);else {if("clear"!==t)throw new Error(`Invalid action ${t}`);this._clearSource(e);}}this._updateTilesForChangedImages(),this._updateTilesForChangedGlyphs();for(const t in this._updatedPaintProps)this._layers[t].updateTransitions(e);this.light.updateTransitions(e),this.sky.updateTransitions(e),this._resetUpdates();}const o={};for(const e in this.tileManagers){const t=this.tileManagers[e];o[e]=t.used,t.used=!1;}for(const t of this._order){const i=this._layers[t];i.recalculate(e,this._availableImages),!i.isHidden(e.zoom)&&i.source&&(this.tileManagers[i.source].used=!0);}for(const e in o){const i=this.tileManagers[e];!!o[e]!=!!i.used&&i.fire(new t.n("data",{sourceDataType:"visibility",dataType:"source",sourceId:e}));}this.light.recalculate(e),this.sky.recalculate(e),this.projection.recalculate(e),this.z=e.zoom,i&&this.fire(new t.n("data",{dataType:"style"}));}_updateTilesForChangedImages(){const e=Object.keys(this._changedImages);if(e.length){for(const t in this.tileManagers)this.tileManagers[t].reloadTilesForDependencies(["icons","patterns"],e);this._changedImages={};}}_updateTilesForChangedGlyphs(){if(this._glyphsDidChange){for(const e in this.tileManagers)this.tileManagers[e].reloadTilesForDependencies(["glyphs"],[""]);this._glyphsDidChange=!1;}}_updateWorkerLayers(e,t){this.dispatcher.broadcast("UL",{layers:this._serializeByIds(e,!1),removedIds:t});}_resetUpdates(){this._changed=!1,this._updatedLayers={},this._removedLayers={},this._updatedSources={},this._updatedPaintProps={},this._changedImages={},this._glyphsDidChange=!1;}setState(e,i={}){var o;this._checkLoaded();const a=this.serialize();if(e=i.transformStyle?i.transformStyle(a,e):e,(null===(o=i.validate)||void 0===o||o)&&Li(this,t.F(e)))return !1;(e=t.bV(e)).layers=t.bS(e.layers);const r=t.bW(a,e),s=this._getOperationsToPerform(r);if(s.unimplemented.length>0)throw new Error(`Unimplemented: ${s.unimplemented.join(", ")}.`);if(0===s.operations.length)return !1;for(const e of s.operations)e();return this.stylesheet=e,this._serializedLayers=null,this.fire(new t.n("style.load",{style:this})),!0}_getOperationsToPerform(e){const t=[],i=[];for(const o of e)switch(o.command){case "setCenter":case "setZoom":case "setBearing":case "setPitch":case "setRoll":continue;case "addLayer":t.push((()=>this.addLayer.apply(this,o.args)));break;case "removeLayer":t.push((()=>this.removeLayer.apply(this,o.args)));break;case "setPaintProperty":t.push((()=>this.setPaintProperty.apply(this,o.args)));break;case "setLayoutProperty":t.push((()=>this.setLayoutProperty.apply(this,o.args)));break;case "setFilter":t.push((()=>this.setFilter.apply(this,o.args)));break;case "addSource":t.push((()=>this.addSource.apply(this,o.args)));break;case "removeSource":t.push((()=>this.removeSource.apply(this,o.args)));break;case "setLayerZoomRange":t.push((()=>this.setLayerZoomRange.apply(this,o.args)));break;case "setLight":t.push((()=>this.setLight.apply(this,o.args)));break;case "setGeoJSONSourceData":t.push((()=>this.setGeoJSONSourceData.apply(this,o.args)));break;case "setGlyphs":t.push((()=>this.setGlyphs.apply(this,o.args)));break;case "setSprite":t.push((()=>this.setSprite.apply(this,o.args)));break;case "setTerrain":t.push((()=>this.map.setTerrain.apply(this,o.args)));break;case "setSky":t.push((()=>this.setSky.apply(this,o.args)));break;case "setProjection":this.setProjection.apply(this,o.args);break;case "setGlobalState":t.push((()=>this.setGlobalState.apply(this,o.args)));break;case "setTransition":t.push((()=>{}));break;default:i.push(o.command);}return {operations:t,unimplemented:i}}addImage(e,i){if(this.getImage(e))return this.fire(new t.l(new Error(`An image named "${e}" already exists.`)));this.imageManager.addImage(e,i),this._afterImageUpdated(e);}updateImage(e,t){this.imageManager.updateImage(e,t);}getImage(e){return this.imageManager.getImage(e)}removeImage(e){if(!this.getImage(e))return this.fire(new t.l(new Error(`An image named "${e}" does not exist.`)));this.imageManager.removeImage(e),this._afterImageUpdated(e);}_afterImageUpdated(e){this._availableImages=this.imageManager.listImages(),this._changedImages[e]=!0,this._changed=!0,this.dispatcher.broadcast("SI",this._availableImages),this.fire(new t.n("data",{dataType:"style"}));}listImages(){return this._checkLoaded(),this.imageManager.listImages()}addSource(e,i,o={}){var a;if(this._checkLoaded(),void 0!==this.tileManagers[e])throw new Error(`Source "${e}" already exists.`);if(!i.type)throw new Error(`The type property must be defined, but only the following properties were given: ${Object.keys(i).join(", ")}.`);if(["vector","raster","geojson","video","image"].includes(i.type)&&this._validate(t.F.source,`sources.${e}`,i,null,o))return;(null===(a=this.map)||void 0===a?void 0:a._collectResourceTiming)&&(i.collectResourceTiming=!0);const r=this.tileManagers[e]=new Fe(e,i,this.dispatcher);r.style=this,r.setEventedParent(this,(()=>({isSourceLoaded:r.loaded(),source:r.serialize(),sourceId:e}))),r.onAdd(this.map),this._changed=!0;}removeSource(e){if(this._checkLoaded(),void 0===this.tileManagers[e])throw new Error(`There is no source with this ID=${e}`);for(const i in this._layers)if(this._layers[i].source===e)return this.fire(new t.l(new Error(`Source "${e}" cannot be removed while layer "${i}" is using it.`)));const i=this.tileManagers[e];delete this.tileManagers[e],delete this._updatedSources[e],i.fire(new t.n("data",{sourceDataType:"metadata",dataType:"source",sourceId:e})),i.setEventedParent(null),i.onRemove(this.map),this._changed=!0;}setGeoJSONSourceData(e,t){if(this._checkLoaded(),void 0===this.tileManagers[e])throw new Error(`There is no source with this ID=${e}`);const i=this.tileManagers[e].getSource();if("geojson"!==i.type)throw new Error(`geojsonSource.type is ${i.type}, which is !== 'geojson`);i.setData(t),this._changed=!0;}getSource(e){var t;return null===(t=this.tileManagers[e])||void 0===t?void 0:t.getSource()}addLayer(e,i,o={}){this._checkLoaded();const a=e.id;if(this.getLayer(a))return void this.fire(new t.l(new Error(`Layer "${a}" already exists on this map.`)));let r;if("custom"===e.type){if(Li(this,t.bX(e)))return;r=t.bT(e,this._globalState);}else {if("source"in e&&"object"==typeof e.source&&(this.addSource(a,e.source),e=t.bV(e),e=t.e(e,{source:a})),this._validate(t.F.layer,`layers.${a}`,e,{arrayIndex:-1},o))return;r=t.bT(e,this._globalState),this._validateLayer(r),r.setEventedParent(this,{layer:{id:a}});}const s=i?this._order.indexOf(i):this._order.length;if(i&&-1===s)this.fire(new t.l(new Error(`Cannot add layer "${a}" before non-existing layer "${i}".`)));else {if(this._order.splice(s,0,a),this._layerOrderChanged=!0,this._layers[a]=r,this._removedLayers[a]&&r.source&&"custom"!==r.type){const e=this._removedLayers[a];delete this._removedLayers[a],e.type!==r.type?this._updatedSources[r.source]="clear":(this._updatedSources[r.source]="reload",this.tileManagers[r.source].pause());}this._updateLayer(r),r.onAdd&&r.onAdd(this.map);}}moveLayer(e,i){if(this._checkLoaded(),this._changed=!0,!this._layers[e])return void this.fire(new t.l(new Error(`The layer '${e}' does not exist in the map's style and cannot be moved.`)));if(e===i)return;const o=this._order.indexOf(e);this._order.splice(o,1);const a=i?this._order.indexOf(i):this._order.length;i&&-1===a?this.fire(new t.l(new Error(`Cannot move layer "${e}" before non-existing layer "${i}".`))):(this._order.splice(a,0,e),this._layerOrderChanged=!0);}removeLayer(e){this._checkLoaded();const i=this._layers[e];if(!i)return void this.fire(new t.l(new Error(`Cannot remove non-existing layer "${e}".`)));i.setEventedParent(null);const o=this._order.indexOf(e);this._order.splice(o,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[e]=i,delete this._layers[e],this._serializedLayers&&delete this._serializedLayers[e],delete this._updatedLayers[e],delete this._updatedPaintProps[e],i.onRemove&&i.onRemove(this.map);}getLayer(e){return this._layers[e]}getLayersOrder(){return [...this._order]}hasLayer(e){return e in this._layers}setLayerZoomRange(e,i,o){this._checkLoaded();const a=this.getLayer(e);a?a.minzoom===i&&a.maxzoom===o||(null!=i&&(a.minzoom=i),null!=o&&(a.maxzoom=o),this._updateLayer(a)):this.fire(new t.l(new Error(`Cannot set the zoom range of non-existing layer "${e}".`)));}setFilter(e,i,o={}){this._checkLoaded();const a=this.getLayer(e);if(a){if(!t.bQ(a.filter,i))return null==i?(a.setFilter(void 0),void this._updateLayer(a)):void(this._validate(t.F.filter,`layers.${a.id}.filter`,i,null,o)||(a.setFilter(t.bV(i)),this._updateLayer(a)))}else this.fire(new t.l(new Error(`Cannot filter non-existing layer "${e}".`)));}getFilter(e){return t.bV(this.getLayer(e).filter)}setLayoutProperty(e,i,o,a={}){this._checkLoaded();const r=this.getLayer(e);r?t.bQ(r.getLayoutProperty(i),o)||(r.setLayoutProperty(i,o,a),this._updateLayer(r)):this.fire(new t.l(new Error(`Cannot style non-existing layer "${e}".`)));}getLayoutProperty(e,i){const o=this.getLayer(e);if(o)return o.getLayoutProperty(i);this.fire(new t.l(new Error(`Cannot get style of non-existing layer "${e}".`)));}setPaintProperty(e,i,o,a={}){this._checkLoaded();const r=this.getLayer(e);r?t.bQ(r.getPaintProperty(i),o)||this._updatePaintProperty(r,i,o,a):this.fire(new t.l(new Error(`Cannot style non-existing layer "${e}".`)));}_updatePaintProperty(e,i,o,a={}){e.setPaintProperty(i,o,a)&&this._updateLayer(e),t.bU(e)&&"raster-fade-duration"===i&&this.tileManagers[e.source].setRasterFadeDuration(o),this._changed=!0,this._updatedPaintProps[e.id]=!0,this._serializedLayers=null;}getPaintProperty(e,t){return this.getLayer(e).getPaintProperty(t)}setFeatureState(e,i){this._checkLoaded();const o=e.source,a=e.sourceLayer,r=this.tileManagers[o];if(void 0===r)return void this.fire(new t.l(new Error(`The source '${o}' does not exist in the map's style.`)));const s=r.getSource().type;"geojson"===s&&a?this.fire(new t.l(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):"vector"!==s||a?(void 0===e.id&&this.fire(new t.l(new Error("The feature id parameter must be provided."))),r.setFeatureState(a,e.id,i)):this.fire(new t.l(new Error("The sourceLayer parameter must be provided for vector source types.")));}removeFeatureState(e,i){this._checkLoaded();const o=e.source,a=this.tileManagers[o];if(void 0===a)return void this.fire(new t.l(new Error(`The source '${o}' does not exist in the map's style.`)));const r=a.getSource().type,s="vector"===r?e.sourceLayer:void 0;"vector"!==r||s?i&&"string"!=typeof e.id&&"number"!=typeof e.id?this.fire(new t.l(new Error("A feature id is required to remove its specific state property."))):a.removeFeatureState(s,e.id,i):this.fire(new t.l(new Error("The sourceLayer parameter must be provided for vector source types.")));}getFeatureState(e){this._checkLoaded();const i=e.source,o=e.sourceLayer,a=this.tileManagers[i];if(void 0!==a)return "vector"!==a.getSource().type||o?(void 0===e.id&&this.fire(new t.l(new Error("The feature id parameter must be provided."))),a.getFeatureState(o,e.id)):void this.fire(new t.l(new Error("The sourceLayer parameter must be provided for vector source types.")));this.fire(new t.l(new Error(`The source '${i}' does not exist in the map's style.`)));}getTransition(){var e;return t.e({duration:300,delay:0},null===(e=this.stylesheet)||void 0===e?void 0:e.transition)}serialize(){if(!this._loaded)return;const e=t.bY(this.tileManagers,(e=>e.serialize())),i=this._serializeByIds(this._order,!0),o=this.map.getTerrain()||void 0,a=this.stylesheet;return t.bZ({version:a.version,name:a.name,metadata:a.metadata,light:a.light,sky:a.sky,center:a.center,zoom:a.zoom,bearing:a.bearing,pitch:a.pitch,sprite:a.sprite,glyphs:a.glyphs,transition:a.transition,projection:a.projection,sources:e,layers:i,terrain:o},(e=>void 0!==e))}_updateLayer(e){this._updatedLayers[e.id]=!0,e.source&&!this._updatedSources[e.source]&&"raster"!==this.tileManagers[e.source].getSource().type&&(this._updatedSources[e.source]="reload",this.tileManagers[e.source].pause()),this._serializedLayers=null,this._changed=!0;}_flattenAndSortRenderedFeatures(e){const t=e=>"fill-extrusion"===this._layers[e].type,i={},o=[];for(let a=this._order.length-1;a>=0;a--){const r=this._order[a];if(t(r)){i[r]=a;for(const t of e){const e=t[r];if(e)for(const t of e)o.push(t);}}}o.sort(((e,t)=>t.intersectionZ-e.intersectionZ));const a=[];for(let r=this._order.length-1;r>=0;r--){const s=this._order[r];if(t(s))for(let e=o.length-1;e>=0;e--){const t=o[e].feature;if(i[t.layer.id]this.map.terrain.getElevation(e,t,i):void 0));return this.placement&&r.push(function(e,t,i,o,a,r,s){const n={},l=r.queryRenderedSymbols(o),c=[];for(const e of Object.keys(l).map(Number))c.push(s[e]);c.sort(N);for(const i of c){const o=i.featureIndex.lookupSymbolFeatures(l[i.bucketInstanceId],t,i.bucketIndex,i.sourceLayerIndex,{filterSpec:a.filter,globalState:a.globalState},a.layers,a.availableImages,e);for(const e in o){n[e]||(n[e]=[]);const t=o[e];t.sort(((e,t)=>{const o=i.featureSortOrder;if(o){const i=o.indexOf(e.featureIndex);return o.indexOf(t.featureIndex)-i}return t.featureIndex-e.featureIndex}));for(const i of t)n[e].push(i);}}return function(e,t,i){for(const o in e)for(const a of e[o])Z(a,i[t[o].source]);return e}(n,e,i)}(this._layers,s,this.tileManagers,e,l,this.placement.collisionIndex,this.placement.retainedQueryData)),this._flattenAndSortRenderedFeatures(r)}querySourceFeatures(e,i){(null==i?void 0:i.filter)&&this._validate(t.F.filter,"querySourceFeatures.filter",i.filter,null,i);const o=this.tileManagers[e];return o?function(e,t){const i=e.getRenderableIds().map((t=>e.getTileByID(t))),o=[],a={};for(const e of i){const i=e.tileID.canonical.key;a[i]||(a[i]=!0,e.querySourceFeatures(o,t));}return o}(o,i?Object.assign(Object.assign({},i),{globalState:this._globalState}):{globalState:this._globalState}):[]}getLight(){return this.light.getLight()}setLight(e,i={}){this._checkLoaded();const o=this.light.getLight();let a=!1;for(const i in e)if(!t.bQ(e[i],o[i])){a=!0;break}if(!a)return;const r={now:c(),transition:t.e({duration:300,delay:0},this.stylesheet.transition)};this.light.setLight(e,i),this.light.updateTransitions(r);}getProjection(){var e;return null===(e=this.stylesheet)||void 0===e?void 0:e.projection}setProjection(e){this._checkLoaded();const t=null!=e?e:{type:"mercator"};if(this.stylesheet.projection=e,this.projection){if(this.projection.name===t.type)return;this.projection.destroy(),delete this.projection;}this._setProjectionInternal(t.type);}getSky(){var e;return null===(e=this.stylesheet)||void 0===e?void 0:e.sky}setSky(e,i={}){this._checkLoaded();const o=this.getSky();let a=!1;if(!e&&!o)return;if(e&&!o)a=!0;else if(!e&&o)a=!0;else for(const i in e)if(!t.bQ(e[i],o[i])){a=!0;break}if(!a)return;const r={now:c(),transition:t.e({duration:300,delay:0},this.stylesheet.transition)};this.stylesheet.sky=e,this.sky.setSky(e,i),this.sky.updateTransitions(r);}_setProjectionInternal(e){const i=function(e,i){const o={constrainOverride:i};if(Array.isArray(e)){const t=new _i({type:e});return {projection:t,transform:new Ri(o),cameraHelper:new Ai(t)}}switch(e){case "mercator":return {projection:new Zt,transform:new Xt(o),cameraHelper:new Jt};case "globe":{const e=new _i({type:["interpolate",["linear"],["zoom"],11,"vertical-perspective",12,"mercator"]});return {projection:e,transform:new Ri(o),cameraHelper:new Ai(e)}}case "vertical-perspective":return {projection:new ui,transform:new zi(o),cameraHelper:new Di};default:return t.w(`Unknown projection name: ${e}. Falling back to mercator projection.`),{projection:new Zt,transform:new Xt(o),cameraHelper:new Jt}}}(e,this.map.transformConstrain);this.projection=i.projection,this.map.migrateProjection(i.transform,i.cameraHelper);for(const e in this.tileManagers)this.tileManagers[e].reload();}_validate(e,i,o,a,r={}){return !1!==(null==r?void 0:r.validate)&&Li(this,e.call(t.F,t.e({key:i,style:this.serialize(),value:o,styleSpec:t.x},a)))}_remove(e=!0){this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this._loadStyleRequest&&(this._loadStyleRequest.abort(),this._loadStyleRequest=null),this._spriteRequest&&(this._spriteRequest.abort(),this._spriteRequest=null),ce().off(se,this._rtlPluginLoaded);for(const e in this._layers)this._layers[e].setEventedParent(null);for(const e in this.tileManagers){const t=this.tileManagers[e];t.setEventedParent(null),t.onRemove(this.map);}this.imageManager.setEventedParent(null),this.setEventedParent(null),e&&this.dispatcher.broadcast("RM",void 0),this.dispatcher.remove(e);}_clearSource(e){this.tileManagers[e].clearTiles();}_reloadSource(e){this.tileManagers[e].resume(),this.tileManagers[e].reload();}_updateSources(e){for(const t in this.tileManagers)this.tileManagers[t].update(e,this.map.terrain);}_generateCollisionBoxes(){for(const e in this.tileManagers)this._reloadSource(e);}_updatePlacement(e,t,i,o,a=!1){let r=!1,s=!1;const n={};for(const t of this._order){const i=this._layers[t];if("symbol"!==i.type)continue;if(!n[i.source]){const e=this.tileManagers[i.source];n[i.source]=e.getRenderableIds(!0).map((t=>e.getTileByID(t))).sort(((e,t)=>t.tileID.overscaledZ-e.tileID.overscaledZ||(e.tileID.isLessThan(t.tileID)?-1:1)));}const o=this.crossTileSymbolIndex.addLayer(i,n[i.source],e.center.lng);r||(r=o);}if(this.crossTileSymbolIndex.pruneUnusedLayers(this._order),a||(a=this._layerOrderChanged||0===i),(a||!this.pauseablePlacement||this.pauseablePlacement.isDone()&&!this.placement.stillRecent(c(),e.zoom))&&(this.pauseablePlacement=new Et(e,this.map.terrain,this._order,a,t,i,o,this.placement),this._layerOrderChanged=!1),this.pauseablePlacement.isDone()?this.placement.setStale():(this.pauseablePlacement.continuePlacement(this._order,this._layers,n),this.pauseablePlacement.isDone()&&(this.placement=this.pauseablePlacement.commit(c()),s=!0),r&&this.pauseablePlacement.placement.setStale()),s||r)for(const e of this._order){const t=this._layers[e];"symbol"===t.type&&this.placement.updateLayerOpacities(t,n[t.source]);}return !this.pauseablePlacement.isDone()||this.placement.hasTransitions(c())}_releaseSymbolFadeTiles(){for(const e in this.tileManagers)this.tileManagers[e].releaseSymbolFadeTiles();}getImages(e,i){return t._(this,void 0,void 0,(function*(){const e=yield this.imageManager.getImages(i.icons);this._updateTilesForChangedImages();const t=this.tileManagers[i.source];return t&&t.setDependencies(i.tileID.key,i.type,i.icons),e}))}getGlyphs(e,i){return t._(this,void 0,void 0,(function*(){const e=yield this.glyphManager.getGlyphs(i.stacks),t=this.tileManagers[i.source];return t&&t.setDependencies(i.tileID.key,i.type,[""]),e}))}getGlyphsUrl(){return this.stylesheet.glyphs||null}setGlyphs(e,i={}){this._checkLoaded(),e&&this._validate(t.F.glyphs,"glyphs",e,null,i)||(this._glyphsDidChange=!0,this.stylesheet.glyphs=e,this.glyphManager.entries={},this.glyphManager.setURL(e));}getDashes(e,i){return t._(this,void 0,void 0,(function*(){const e={};for(const[t,o]of Object.entries(i.dashes))e[t]=this.lineAtlas.getDash(o.dasharray,o.round);return e}))}addSprite(e,i,o={},a){this._checkLoaded();const r=[{id:e,url:i}],s=[...p(this.stylesheet.sprite),...r];this._validate(t.F.sprite,"sprite",s,null,o)||(this.stylesheet.sprite=s,this._loadSprite(r,!0,a));}removeSprite(e){this._checkLoaded();const i=p(this.stylesheet.sprite);if(i.find((t=>t.id===e))){if(this._spritesImagesIds[e])for(const t of this._spritesImagesIds[e])this.imageManager.removeImage(t),this._changedImages[t]=!0;i.splice(i.findIndex((t=>t.id===e)),1),this.stylesheet.sprite=i.length>0?i:void 0,delete this._spritesImagesIds[e],this._availableImages=this.imageManager.listImages(),this._changed=!0,this.dispatcher.broadcast("SI",this._availableImages),this.fire(new t.n("data",{dataType:"style"}));}else this.fire(new t.l(new Error(`Sprite "${e}" doesn't exists on this map.`)));}getSprite(){return p(this.stylesheet.sprite)}setSprite(e,i={},o){this._checkLoaded(),e&&this._validate(t.F.sprite,"sprite",e,null,i)||(this.stylesheet.sprite=e,e?this._loadSprite(e,!0,o):(this._unloadSprite(),o&&o(null)));}destroy(){this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this._loadStyleRequest&&(this._loadStyleRequest.abort(),this._loadStyleRequest=null),this._spriteRequest&&(this._spriteRequest.abort(),this._spriteRequest=null);for(const e in this.tileManagers){const t=this.tileManagers[e];t.setEventedParent(null),t.onRemove(this.map);}this.tileManagers={},this.imageManager&&(this.imageManager.setEventedParent(null),this.imageManager.destroy(),this._availableImages=[],this._spritesImagesIds={}),this.glyphManager&&this.glyphManager.destroy();for(const e in this._layers){const t=this._layers[e];t.setEventedParent(null),t.onRemove&&t.onRemove(this.map);}this._setInitialValues(),this.setEventedParent(null),this.dispatcher.unregisterMessageHandler("GG"),this.dispatcher.unregisterMessageHandler("GI"),this.dispatcher.unregisterMessageHandler("GDA"),this.dispatcher.remove(!0),this._listeners={},this._oneTimeListeners={};}}var Bi=t.aS([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]);class Oi{constructor(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null;}bind(e,t,i,o,a,r,s,n,l){this.context=e;let c=this.boundPaintVertexBuffers.length!==o.length;for(let e=0;!c&&e({u_texture:0,u_ele_delta:e,u_fog_matrix:i,u_fog_color:o?o.properties.get("fog-color"):t.bo.white,u_fog_ground_blend:o?o.properties.get("fog-ground-blend"):1,u_fog_ground_blend_opacity:r?0:o?o.calculateFogBlendOpacity(a):0,u_horizon_color:o?o.properties.get("horizon-color"):t.bo.white,u_horizon_fog_blend:o?o.properties.get("horizon-fog-blend"):1,u_is_globe_mode:r?1:0}),Ni={mainMatrix:"u_projection_matrix",tileMercatorCoords:"u_projection_tile_mercator_coords",clippingPlane:"u_projection_clipping_plane",projectionTransition:"u_projection_transition",fallbackMatrix:"u_projection_fallback_matrix"};function Zi(e){const t=[];for(const i of e){if(null===i)continue;const e=i.split(" ");t.push(e.pop());}return t}class Ui{constructor(e,i,o,a,r,s,n,l,c=[]){const h=e.gl;this.program=h.createProgram();const u=Zi(i.staticAttributes),d=o?o.getBinderAttributes():[],_=u.concat(d),p=Ft.prelude.staticUniforms?Zi(Ft.prelude.staticUniforms):[],m=n.staticUniforms?Zi(n.staticUniforms):[],f=i.staticUniforms?Zi(i.staticUniforms):[],g=o?o.getBinderUniforms():[],v=p.concat(m).concat(f).concat(g),x=[];for(const e of v)x.includes(e)||x.push(e);const b=o?o.defines():[];si(h)&&b.unshift("#version 300 es"),r&&b.push("#define OVERDRAW_INSPECTOR;"),s&&b.push("#define TERRAIN3D;"),l&&b.push(l),c&&b.push(...c);let y=b.concat(Ft.prelude.fragmentSource,n.fragmentSource,i.fragmentSource).join("\n"),w=b.concat(Ft.prelude.vertexSource,n.vertexSource,i.vertexSource).join("\n");si(h)||(y=function(e){return e.replace(/\bin\s/g,"varying ").replace("out highp vec4 fragColor;","").replace(/fragColor/g,"gl_FragColor").replace(/texture\(/g,"texture2D(")}(y),w=function(e){return e.replace(/\bin\s/g,"attribute ").replace(/\bout\s/g,"varying ").replace(/texture\(/g,"texture2D(")}(w));const T=h.createShader(h.FRAGMENT_SHADER);if(h.isContextLost())return void(this.failedToCreate=!0);if(h.shaderSource(T,y),h.compileShader(T),!h.getShaderParameter(T,h.COMPILE_STATUS))throw new Error(`Could not compile fragment shader: ${h.getShaderInfoLog(T)}`);h.attachShader(this.program,T);const P=h.createShader(h.VERTEX_SHADER);if(h.isContextLost())return void(this.failedToCreate=!0);if(h.shaderSource(P,w),h.compileShader(P),!h.getShaderParameter(P,h.COMPILE_STATUS))throw new Error(`Could not compile vertex shader: ${h.getShaderInfoLog(P)}`);h.attachShader(this.program,P),this.attributes={};const C={};this.numAttributes=_.length;for(let e=0;e({u_depth:new t.b_(e,i.u_depth),u_terrain:new t.b_(e,i.u_terrain),u_terrain_dim:new t.bp(e,i.u_terrain_dim),u_terrain_matrix:new t.c0(e,i.u_terrain_matrix),u_terrain_unpack:new t.c1(e,i.u_terrain_unpack),u_terrain_exaggeration:new t.bp(e,i.u_terrain_exaggeration)}))(e,C),this.projectionUniforms=((e,i)=>({u_projection_matrix:new t.c0(e,i.u_projection_matrix),u_projection_tile_mercator_coords:new t.c1(e,i.u_projection_tile_mercator_coords),u_projection_clipping_plane:new t.c1(e,i.u_projection_clipping_plane),u_projection_transition:new t.bp(e,i.u_projection_transition),u_projection_fallback_matrix:new t.c0(e,i.u_projection_fallback_matrix)}))(e,C),this.binderUniforms=o?o.getUniforms(e,C):[];}draw(e,t,i,o,a,r,s,n,l,c,h,u,d,_,p,m,f,g,v){var x;const b=e.gl;if(this.failedToCreate)return;if(e.program.set(this.program),e.setDepthMode(i),e.setStencilMode(o),e.setColorMode(a),e.setCullFace(r),n){e.activeTexture.set(b.TEXTURE2),b.bindTexture(b.TEXTURE_2D,n.depthTexture),e.activeTexture.set(b.TEXTURE3),b.bindTexture(b.TEXTURE_2D,n.texture);for(const e in this.terrainUniforms)this.terrainUniforms[e].set(n[e]);}if(l)for(const e in l)this.projectionUniforms[Ni[e]].set(l[e]);if(s)for(const e in this.fixedUniforms)this.fixedUniforms[e].set(s[e]);m&&m.setUniforms(e,this.binderUniforms,_,{zoom:p});let y=0;switch(t){case b.LINES:y=2;break;case b.TRIANGLES:y=3;break;case b.LINE_STRIP:y=1;}for(const i of d.get())i.vaos||(i.vaos={}),(x=i.vaos)[c]||(x[c]=new Oi),i.vaos[c].bind(e,this,h,m?m.getPaintVertexBuffers():[],u,i.vertexOffset,f,g,v),b.drawElements(t,i.primitiveLength*y,b.UNSIGNED_SHORT,i.primitiveOffset*y*2);}}function Gi(e,i,o){const a=1/t.aK(o,1,i.transform.tileZoom),r=Math.pow(2,o.tileID.overscaledZ),s=o.tileSize*Math.pow(2,i.transform.tileZoom)/r,n=s*(o.tileID.canonical.x+o.tileID.wrap*r),l=s*o.tileID.canonical.y;return {u_image:0,u_texsize:o.imageAtlasTexture.size,u_scale:[a,e.fromScale,e.toScale],u_fade:e.t,u_pixel_coord_upper:[n>>16,l>>16],u_pixel_coord_lower:[65535&n,65535&l]}}const Vi=(e,i,o,a)=>{const r=e.style.light,s=r.properties.get("position"),n=[s.x,s.y,s.z],l=t.c4();"viewport"===r.properties.get("anchor")&&t.c5(l,e.transform.bearingInRadians),t.c6(n,n,l);const c=e.transform.transformLightDirection(n),h=r.properties.get("color");return {u_lightpos:n,u_lightpos_globe:c,u_lightintensity:r.properties.get("intensity"),u_lightcolor:[h.r,h.g,h.b],u_vertical_gradient:+i,u_opacity:o,u_fill_translate:a}},Wi=(e,i,o,a,r,s,n)=>t.e(Vi(e,i,o,a),Gi(s,e,n),{u_height_factor:-Math.pow(2,r.overscaledZ)/n.tileSize/8}),qi=(e,i,o,a)=>t.e(Gi(i,e,o),{u_fill_translate:a}),$i=(e,t)=>({u_world:e,u_fill_translate:t}),Hi=(e,i,o,a,r)=>t.e(qi(e,i,o,r),{u_world:a}),Xi=(e,i,o,a,r)=>{const s=e.transform;let n,l,c=0;if("map"===o.paint.get("circle-pitch-alignment")){const e=t.aK(i,1,s.zoom);n=!0,l=[e,e],c=e/(t.a6*Math.pow(2,i.tileID.overscaledZ))*2*Math.PI*r;}else n=!1,l=s.pixelsToGLUnits;return {u_camera_to_center_distance:s.cameraToCenterDistance,u_scale_with_map:+("map"===o.paint.get("circle-pitch-scale")),u_pitch_with_map:+n,u_device_pixel_ratio:e.pixelRatio,u_extrude_scale:l,u_globe_extrude_scale:c,u_translate:a}},Ki=e=>({u_pixel_extrude_scale:[1/e.width,1/e.height]}),Yi=e=>({u_viewport_size:[e.width,e.height]}),Qi=(e,t=1)=>({u_color:e,u_overlay:0,u_overlay_scale:t}),Ji=(e,i,o,a)=>{const r=t.aK(e,1,i)/(t.a6*Math.pow(2,e.tileID.overscaledZ))*2*Math.PI*a;return {u_extrude_scale:t.aK(e,1,i),u_intensity:o,u_globe_extrude_scale:r}},eo=(e,i,o,a)=>{const r=t.O();t.c7(r,0,e.width,e.height,0,0,1);const s=e.context.gl;return {u_matrix:r,u_world:[s.drawingBufferWidth,s.drawingBufferHeight],u_image:o,u_color_ramp:a,u_opacity:i.paint.get("heatmap-opacity")}},to=(e,t,i)=>{const o=i.paint.get("hillshade-accent-color");let a;switch(i.paint.get("hillshade-method")){case "basic":a=4;break;case "combined":a=1;break;case "igor":a=2;break;case "multidirectional":a=3;break;default:a=0;}const r=i.getIlluminationProperties();for(let t=0;t{const o=i.stride,a=t.O();return t.c7(a,0,t.a6,-t.a6,0,0,1),t.Q(a,a,[0,-t.a6,0]),{u_matrix:a,u_image:1,u_dimension:[o,o],u_zoom:e.overscaledZ,u_unpack:i.getUnpackVector()}};function oo(e,i){const o=Math.pow(2,i.canonical.z),a=i.canonical.y;return [new t.a7(0,a/o).toLngLat().lat,new t.a7(0,(a+1)/o).toLngLat().lat]}const ao=(e,t,i=0)=>({u_image:0,u_unpack:t.getUnpackVector(),u_dimension:[t.stride,t.stride],u_elevation_stops:1,u_color_stops:4,u_color_ramp_size:i,u_opacity:e.paint.get("color-relief-opacity")}),ro=(e,i,o,a)=>{const r=e.transform;return {u_translation:uo(e,i,o),u_ratio:a/t.aK(i,1,r.zoom),u_device_pixel_ratio:e.pixelRatio,u_units_to_pixels:[1/r.pixelsToGLUnits[0],1/r.pixelsToGLUnits[1]]}},so=(e,i,o,a,r)=>t.e(ro(e,i,o,a),{u_image:0,u_image_height:r}),no=(e,i,o,a,r)=>{const s=e.transform,n=ho(i,s);return {u_translation:uo(e,i,o),u_texsize:i.imageAtlasTexture.size,u_ratio:a/t.aK(i,1,s.zoom),u_device_pixel_ratio:e.pixelRatio,u_image:0,u_scale:[n,r.fromScale,r.toScale],u_fade:r.t,u_units_to_pixels:[1/s.pixelsToGLUnits[0],1/s.pixelsToGLUnits[1]]}},lo=(e,i,o,a,r)=>{const s=ho(i,e.transform);return t.e(ro(e,i,o,a),{u_tileratio:s,u_crossfade_from:r.fromScale,u_crossfade_to:r.toScale,u_image:0,u_mix:r.t,u_lineatlas_width:e.lineAtlas.width,u_lineatlas_height:e.lineAtlas.height})},co=(e,i,o,a,r,s)=>{const n=ho(i,e.transform);return t.e(ro(e,i,o,a),{u_image:0,u_image_height:s,u_tileratio:n,u_crossfade_from:r.fromScale,u_crossfade_to:r.toScale,u_image_dash:1,u_mix:r.t,u_lineatlas_width:e.lineAtlas.width,u_lineatlas_height:e.lineAtlas.height})};function ho(e,i){return 1/t.aK(e,1,i.tileZoom)}function uo(e,i,o){return t.aL(e.transform,i,o.paint.get("line-translate"),o.paint.get("line-translate-anchor"))}const _o=(e,t,i,o,a)=>{return {u_tl_parent:e,u_scale_parent:t,u_buffer_scale:1,u_fade_t:i.mix,u_opacity:i.opacity*o.paint.get("raster-opacity"),u_image0:0,u_image1:1,u_brightness_low:o.paint.get("raster-brightness-min"),u_brightness_high:o.paint.get("raster-brightness-max"),u_saturation_factor:(s=o.paint.get("raster-saturation"),s>0?1-1/(1.001-s):-s),u_contrast_factor:(r=o.paint.get("raster-contrast"),r>0?1/(1-r):1+r),u_spin_weights:po(o.paint.get("raster-hue-rotate")),u_coords_top:[a[0].x,a[0].y,a[1].x,a[1].y],u_coords_bottom:[a[3].x,a[3].y,a[2].x,a[2].y]};var r,s;};function po(e){e*=Math.PI/180;const t=Math.sin(e),i=Math.cos(e);return [(2*i+1)/3,(-Math.sqrt(3)*t-i+1)/3,(Math.sqrt(3)*t-i+1)/3]}const mo=(e,t,i,o,a,r,s,n,l,c,h,u,d)=>{const _=s.transform;return {u_is_size_zoom_constant:+("constant"===e||"source"===e),u_is_size_feature_constant:+("constant"===e||"camera"===e),u_size_t:t?t.uSizeT:0,u_size:t?t.uSize:0,u_camera_to_center_distance:_.cameraToCenterDistance,u_pitch:_.pitch/360*2*Math.PI,u_rotate_symbol:+i,u_aspect_ratio:_.width/_.height,u_fade_change:s.options.fadeDuration?s.symbolFadeChange:1,u_label_plane_matrix:n,u_coord_matrix:l,u_is_text:+h,u_pitch_with_map:+o,u_is_along_line:a,u_is_variable_anchor:r,u_texsize:u,u_texture:0,u_translation:c,u_pitched_scale:d}},fo=(e,i,o,a,r,s,n,l,c,h,u,d,_,p)=>{const m=n.transform;return t.e(mo(e,i,o,a,r,s,n,l,c,h,u,d,p),{u_gamma_scale:a?Math.cos(m.pitch*Math.PI/180)*m.cameraToCenterDistance:1,u_device_pixel_ratio:n.pixelRatio,u_is_halo:_?1:0,u_is_plain:1})},go=(e,i,o,a,r,s,n,l,c,h,u,d,_)=>t.e(fo(e,i,o,a,r,s,n,l,c,h,!0,u,!0,_),{u_texsize_icon:d,u_texture_icon:1}),vo=(e,t)=>({u_opacity:e,u_color:t}),xo=(e,i,o,a,r)=>t.e(function(e,i,o,a){const r=o.imageManager.getPattern(e.from.toString()),s=o.imageManager.getPattern(e.to.toString()),{width:n,height:l}=o.imageManager.getPixelSize(),c=Math.pow(2,a.tileID.overscaledZ),h=a.tileSize*Math.pow(2,o.transform.tileZoom)/c,u=h*(a.tileID.canonical.x+a.tileID.wrap*c),d=h*a.tileID.canonical.y;return {u_image:0,u_pattern_tl_a:r.tl,u_pattern_br_a:r.br,u_pattern_tl_b:s.tl,u_pattern_br_b:s.br,u_texsize:[n,l],u_mix:i.t,u_pattern_size_a:r.displaySize,u_pattern_size_b:s.displaySize,u_scale_a:i.fromScale,u_scale_b:i.toScale,u_tile_units_to_pixels:1/t.aK(a,1,o.transform.tileZoom),u_pixel_coord_upper:[u>>16,d>>16],u_pixel_coord_lower:[65535&u,65535&d]}}(o,r,i,a),{u_opacity:e}),bo=(e,t)=>{},yo={fillExtrusion:(e,i)=>({u_lightpos:new t.c2(e,i.u_lightpos),u_lightpos_globe:new t.c2(e,i.u_lightpos_globe),u_lightintensity:new t.bp(e,i.u_lightintensity),u_lightcolor:new t.c2(e,i.u_lightcolor),u_vertical_gradient:new t.bp(e,i.u_vertical_gradient),u_opacity:new t.bp(e,i.u_opacity),u_fill_translate:new t.c3(e,i.u_fill_translate)}),fillExtrusionPattern:(e,i)=>({u_lightpos:new t.c2(e,i.u_lightpos),u_lightpos_globe:new t.c2(e,i.u_lightpos_globe),u_lightintensity:new t.bp(e,i.u_lightintensity),u_lightcolor:new t.c2(e,i.u_lightcolor),u_vertical_gradient:new t.bp(e,i.u_vertical_gradient),u_height_factor:new t.bp(e,i.u_height_factor),u_opacity:new t.bp(e,i.u_opacity),u_fill_translate:new t.c3(e,i.u_fill_translate),u_image:new t.b_(e,i.u_image),u_texsize:new t.c3(e,i.u_texsize),u_pixel_coord_upper:new t.c3(e,i.u_pixel_coord_upper),u_pixel_coord_lower:new t.c3(e,i.u_pixel_coord_lower),u_scale:new t.c2(e,i.u_scale),u_fade:new t.bp(e,i.u_fade)}),fill:(e,i)=>({u_fill_translate:new t.c3(e,i.u_fill_translate)}),fillPattern:(e,i)=>({u_image:new t.b_(e,i.u_image),u_texsize:new t.c3(e,i.u_texsize),u_pixel_coord_upper:new t.c3(e,i.u_pixel_coord_upper),u_pixel_coord_lower:new t.c3(e,i.u_pixel_coord_lower),u_scale:new t.c2(e,i.u_scale),u_fade:new t.bp(e,i.u_fade),u_fill_translate:new t.c3(e,i.u_fill_translate)}),fillOutline:(e,i)=>({u_world:new t.c3(e,i.u_world),u_fill_translate:new t.c3(e,i.u_fill_translate)}),fillOutlinePattern:(e,i)=>({u_world:new t.c3(e,i.u_world),u_image:new t.b_(e,i.u_image),u_texsize:new t.c3(e,i.u_texsize),u_pixel_coord_upper:new t.c3(e,i.u_pixel_coord_upper),u_pixel_coord_lower:new t.c3(e,i.u_pixel_coord_lower),u_scale:new t.c2(e,i.u_scale),u_fade:new t.bp(e,i.u_fade),u_fill_translate:new t.c3(e,i.u_fill_translate)}),circle:(e,i)=>({u_camera_to_center_distance:new t.bp(e,i.u_camera_to_center_distance),u_scale_with_map:new t.b_(e,i.u_scale_with_map),u_pitch_with_map:new t.b_(e,i.u_pitch_with_map),u_extrude_scale:new t.c3(e,i.u_extrude_scale),u_device_pixel_ratio:new t.bp(e,i.u_device_pixel_ratio),u_globe_extrude_scale:new t.bp(e,i.u_globe_extrude_scale),u_translate:new t.c3(e,i.u_translate)}),collisionBox:(e,i)=>({u_pixel_extrude_scale:new t.c3(e,i.u_pixel_extrude_scale)}),collisionCircle:(e,i)=>({u_viewport_size:new t.c3(e,i.u_viewport_size)}),debug:(e,i)=>({u_color:new t.b$(e,i.u_color),u_overlay:new t.b_(e,i.u_overlay),u_overlay_scale:new t.bp(e,i.u_overlay_scale)}),depth:bo,clippingMask:bo,heatmap:(e,i)=>({u_extrude_scale:new t.bp(e,i.u_extrude_scale),u_intensity:new t.bp(e,i.u_intensity),u_globe_extrude_scale:new t.bp(e,i.u_globe_extrude_scale)}),heatmapTexture:(e,i)=>({u_matrix:new t.c0(e,i.u_matrix),u_world:new t.c3(e,i.u_world),u_image:new t.b_(e,i.u_image),u_color_ramp:new t.b_(e,i.u_color_ramp),u_opacity:new t.bp(e,i.u_opacity)}),hillshade:(e,i)=>({u_image:new t.b_(e,i.u_image),u_latrange:new t.c3(e,i.u_latrange),u_exaggeration:new t.bp(e,i.u_exaggeration),u_altitudes:new t.c9(e,i.u_altitudes),u_azimuths:new t.c9(e,i.u_azimuths),u_accent:new t.b$(e,i.u_accent),u_method:new t.b_(e,i.u_method),u_shadows:new t.c8(e,i.u_shadows),u_highlights:new t.c8(e,i.u_highlights)}),hillshadePrepare:(e,i)=>({u_matrix:new t.c0(e,i.u_matrix),u_image:new t.b_(e,i.u_image),u_dimension:new t.c3(e,i.u_dimension),u_zoom:new t.bp(e,i.u_zoom),u_unpack:new t.c1(e,i.u_unpack)}),colorRelief:(e,i)=>({u_image:new t.b_(e,i.u_image),u_unpack:new t.c1(e,i.u_unpack),u_dimension:new t.c3(e,i.u_dimension),u_elevation_stops:new t.b_(e,i.u_elevation_stops),u_color_stops:new t.b_(e,i.u_color_stops),u_color_ramp_size:new t.b_(e,i.u_color_ramp_size),u_opacity:new t.bp(e,i.u_opacity)}),line:(e,i)=>({u_translation:new t.c3(e,i.u_translation),u_ratio:new t.bp(e,i.u_ratio),u_device_pixel_ratio:new t.bp(e,i.u_device_pixel_ratio),u_units_to_pixels:new t.c3(e,i.u_units_to_pixels)}),lineGradient:(e,i)=>({u_translation:new t.c3(e,i.u_translation),u_ratio:new t.bp(e,i.u_ratio),u_device_pixel_ratio:new t.bp(e,i.u_device_pixel_ratio),u_units_to_pixels:new t.c3(e,i.u_units_to_pixels),u_image:new t.b_(e,i.u_image),u_image_height:new t.bp(e,i.u_image_height)}),linePattern:(e,i)=>({u_translation:new t.c3(e,i.u_translation),u_texsize:new t.c3(e,i.u_texsize),u_ratio:new t.bp(e,i.u_ratio),u_device_pixel_ratio:new t.bp(e,i.u_device_pixel_ratio),u_image:new t.b_(e,i.u_image),u_units_to_pixels:new t.c3(e,i.u_units_to_pixels),u_scale:new t.c2(e,i.u_scale),u_fade:new t.bp(e,i.u_fade)}),lineSDF:(e,i)=>({u_translation:new t.c3(e,i.u_translation),u_ratio:new t.bp(e,i.u_ratio),u_device_pixel_ratio:new t.bp(e,i.u_device_pixel_ratio),u_units_to_pixels:new t.c3(e,i.u_units_to_pixels),u_image:new t.b_(e,i.u_image),u_mix:new t.bp(e,i.u_mix),u_tileratio:new t.bp(e,i.u_tileratio),u_crossfade_from:new t.bp(e,i.u_crossfade_from),u_crossfade_to:new t.bp(e,i.u_crossfade_to),u_lineatlas_width:new t.bp(e,i.u_lineatlas_width),u_lineatlas_height:new t.bp(e,i.u_lineatlas_height)}),lineGradientSDF:(e,i)=>({u_translation:new t.c3(e,i.u_translation),u_ratio:new t.bp(e,i.u_ratio),u_device_pixel_ratio:new t.bp(e,i.u_device_pixel_ratio),u_units_to_pixels:new t.c3(e,i.u_units_to_pixels),u_image:new t.b_(e,i.u_image),u_image_height:new t.bp(e,i.u_image_height),u_tileratio:new t.bp(e,i.u_tileratio),u_crossfade_from:new t.bp(e,i.u_crossfade_from),u_crossfade_to:new t.bp(e,i.u_crossfade_to),u_image_dash:new t.b_(e,i.u_image_dash),u_mix:new t.bp(e,i.u_mix),u_lineatlas_width:new t.bp(e,i.u_lineatlas_width),u_lineatlas_height:new t.bp(e,i.u_lineatlas_height)}),raster:(e,i)=>({u_tl_parent:new t.c3(e,i.u_tl_parent),u_scale_parent:new t.bp(e,i.u_scale_parent),u_buffer_scale:new t.bp(e,i.u_buffer_scale),u_fade_t:new t.bp(e,i.u_fade_t),u_opacity:new t.bp(e,i.u_opacity),u_image0:new t.b_(e,i.u_image0),u_image1:new t.b_(e,i.u_image1),u_brightness_low:new t.bp(e,i.u_brightness_low),u_brightness_high:new t.bp(e,i.u_brightness_high),u_saturation_factor:new t.bp(e,i.u_saturation_factor),u_contrast_factor:new t.bp(e,i.u_contrast_factor),u_spin_weights:new t.c2(e,i.u_spin_weights),u_coords_top:new t.c1(e,i.u_coords_top),u_coords_bottom:new t.c1(e,i.u_coords_bottom)}),symbolIcon:(e,i)=>({u_is_size_zoom_constant:new t.b_(e,i.u_is_size_zoom_constant),u_is_size_feature_constant:new t.b_(e,i.u_is_size_feature_constant),u_size_t:new t.bp(e,i.u_size_t),u_size:new t.bp(e,i.u_size),u_camera_to_center_distance:new t.bp(e,i.u_camera_to_center_distance),u_pitch:new t.bp(e,i.u_pitch),u_rotate_symbol:new t.b_(e,i.u_rotate_symbol),u_aspect_ratio:new t.bp(e,i.u_aspect_ratio),u_fade_change:new t.bp(e,i.u_fade_change),u_label_plane_matrix:new t.c0(e,i.u_label_plane_matrix),u_coord_matrix:new t.c0(e,i.u_coord_matrix),u_is_text:new t.b_(e,i.u_is_text),u_pitch_with_map:new t.b_(e,i.u_pitch_with_map),u_is_along_line:new t.b_(e,i.u_is_along_line),u_is_variable_anchor:new t.b_(e,i.u_is_variable_anchor),u_texsize:new t.c3(e,i.u_texsize),u_texture:new t.b_(e,i.u_texture),u_translation:new t.c3(e,i.u_translation),u_pitched_scale:new t.bp(e,i.u_pitched_scale)}),symbolSDF:(e,i)=>({u_is_size_zoom_constant:new t.b_(e,i.u_is_size_zoom_constant),u_is_size_feature_constant:new t.b_(e,i.u_is_size_feature_constant),u_size_t:new t.bp(e,i.u_size_t),u_size:new t.bp(e,i.u_size),u_camera_to_center_distance:new t.bp(e,i.u_camera_to_center_distance),u_pitch:new t.bp(e,i.u_pitch),u_rotate_symbol:new t.b_(e,i.u_rotate_symbol),u_aspect_ratio:new t.bp(e,i.u_aspect_ratio),u_fade_change:new t.bp(e,i.u_fade_change),u_label_plane_matrix:new t.c0(e,i.u_label_plane_matrix),u_coord_matrix:new t.c0(e,i.u_coord_matrix),u_is_text:new t.b_(e,i.u_is_text),u_pitch_with_map:new t.b_(e,i.u_pitch_with_map),u_is_along_line:new t.b_(e,i.u_is_along_line),u_is_variable_anchor:new t.b_(e,i.u_is_variable_anchor),u_texsize:new t.c3(e,i.u_texsize),u_texture:new t.b_(e,i.u_texture),u_gamma_scale:new t.bp(e,i.u_gamma_scale),u_device_pixel_ratio:new t.bp(e,i.u_device_pixel_ratio),u_is_halo:new t.b_(e,i.u_is_halo),u_is_plain:new t.b_(e,i.u_is_plain),u_translation:new t.c3(e,i.u_translation),u_pitched_scale:new t.bp(e,i.u_pitched_scale)}),symbolTextAndIcon:(e,i)=>({u_is_size_zoom_constant:new t.b_(e,i.u_is_size_zoom_constant),u_is_size_feature_constant:new t.b_(e,i.u_is_size_feature_constant),u_size_t:new t.bp(e,i.u_size_t),u_size:new t.bp(e,i.u_size),u_camera_to_center_distance:new t.bp(e,i.u_camera_to_center_distance),u_pitch:new t.bp(e,i.u_pitch),u_rotate_symbol:new t.b_(e,i.u_rotate_symbol),u_aspect_ratio:new t.bp(e,i.u_aspect_ratio),u_fade_change:new t.bp(e,i.u_fade_change),u_label_plane_matrix:new t.c0(e,i.u_label_plane_matrix),u_coord_matrix:new t.c0(e,i.u_coord_matrix),u_is_text:new t.b_(e,i.u_is_text),u_pitch_with_map:new t.b_(e,i.u_pitch_with_map),u_is_along_line:new t.b_(e,i.u_is_along_line),u_is_variable_anchor:new t.b_(e,i.u_is_variable_anchor),u_texsize:new t.c3(e,i.u_texsize),u_texsize_icon:new t.c3(e,i.u_texsize_icon),u_texture:new t.b_(e,i.u_texture),u_texture_icon:new t.b_(e,i.u_texture_icon),u_gamma_scale:new t.bp(e,i.u_gamma_scale),u_device_pixel_ratio:new t.bp(e,i.u_device_pixel_ratio),u_is_halo:new t.b_(e,i.u_is_halo),u_translation:new t.c3(e,i.u_translation),u_pitched_scale:new t.bp(e,i.u_pitched_scale)}),background:(e,i)=>({u_opacity:new t.bp(e,i.u_opacity),u_color:new t.b$(e,i.u_color)}),backgroundPattern:(e,i)=>({u_opacity:new t.bp(e,i.u_opacity),u_image:new t.b_(e,i.u_image),u_pattern_tl_a:new t.c3(e,i.u_pattern_tl_a),u_pattern_br_a:new t.c3(e,i.u_pattern_br_a),u_pattern_tl_b:new t.c3(e,i.u_pattern_tl_b),u_pattern_br_b:new t.c3(e,i.u_pattern_br_b),u_texsize:new t.c3(e,i.u_texsize),u_mix:new t.bp(e,i.u_mix),u_pattern_size_a:new t.c3(e,i.u_pattern_size_a),u_pattern_size_b:new t.c3(e,i.u_pattern_size_b),u_scale_a:new t.bp(e,i.u_scale_a),u_scale_b:new t.bp(e,i.u_scale_b),u_pixel_coord_upper:new t.c3(e,i.u_pixel_coord_upper),u_pixel_coord_lower:new t.c3(e,i.u_pixel_coord_lower),u_tile_units_to_pixels:new t.bp(e,i.u_tile_units_to_pixels)}),terrain:(e,i)=>({u_texture:new t.b_(e,i.u_texture),u_ele_delta:new t.bp(e,i.u_ele_delta),u_fog_matrix:new t.c0(e,i.u_fog_matrix),u_fog_color:new t.b$(e,i.u_fog_color),u_fog_ground_blend:new t.bp(e,i.u_fog_ground_blend),u_fog_ground_blend_opacity:new t.bp(e,i.u_fog_ground_blend_opacity),u_horizon_color:new t.b$(e,i.u_horizon_color),u_horizon_fog_blend:new t.bp(e,i.u_horizon_fog_blend),u_is_globe_mode:new t.bp(e,i.u_is_globe_mode)}),terrainDepth:(e,i)=>({u_ele_delta:new t.bp(e,i.u_ele_delta)}),terrainCoords:(e,i)=>({u_texture:new t.b_(e,i.u_texture),u_terrain_coords_id:new t.bp(e,i.u_terrain_coords_id),u_ele_delta:new t.bp(e,i.u_ele_delta)}),projectionErrorMeasurement:(e,i)=>({u_input:new t.bp(e,i.u_input),u_output_expected:new t.bp(e,i.u_output_expected)}),atmosphere:(e,i)=>({u_sun_pos:new t.c2(e,i.u_sun_pos),u_atmosphere_blend:new t.bp(e,i.u_atmosphere_blend),u_globe_position:new t.c2(e,i.u_globe_position),u_globe_radius:new t.bp(e,i.u_globe_radius),u_inv_proj_matrix:new t.c0(e,i.u_inv_proj_matrix)}),sky:(e,i)=>({u_sky_color:new t.b$(e,i.u_sky_color),u_horizon_color:new t.b$(e,i.u_horizon_color),u_horizon:new t.c3(e,i.u_horizon),u_horizon_normal:new t.c3(e,i.u_horizon_normal),u_sky_horizon_blend:new t.bp(e,i.u_sky_horizon_blend),u_sky_blend:new t.bp(e,i.u_sky_blend)})};class wo{constructor(e,t,i){this.context=e;const o=e.gl;this.buffer=o.createBuffer(),this.dynamicDraw=Boolean(i),this.context.unbindVAO(),e.bindElementBuffer.set(this.buffer),o.bufferData(o.ELEMENT_ARRAY_BUFFER,t.arrayBuffer,this.dynamicDraw?o.DYNAMIC_DRAW:o.STATIC_DRAW),this.dynamicDraw||t.freeBufferAfterUpload();}bind(){this.context.bindElementBuffer.set(this.buffer);}updateData(e){const t=this.context.gl;if(!this.dynamicDraw)throw new Error("Attempted to update data while not in dynamic mode.");this.context.unbindVAO(),this.bind(),t.bufferSubData(t.ELEMENT_ARRAY_BUFFER,0,e.arrayBuffer);}destroy(){this.buffer&&(this.context.gl.deleteBuffer(this.buffer),delete this.buffer);}}const To={Int8:"BYTE",Uint8:"UNSIGNED_BYTE",Int16:"SHORT",Uint16:"UNSIGNED_SHORT",Int32:"INT",Uint32:"UNSIGNED_INT",Float32:"FLOAT"};class Po{constructor(e,t,i,o){this.length=t.length,this.attributes=i,this.itemSize=t.bytesPerElement,this.dynamicDraw=o,this.context=e;const a=e.gl;this.buffer=a.createBuffer(),e.bindVertexBuffer.set(this.buffer),a.bufferData(a.ARRAY_BUFFER,t.arrayBuffer,this.dynamicDraw?a.DYNAMIC_DRAW:a.STATIC_DRAW),this.dynamicDraw||t.freeBufferAfterUpload();}bind(){this.context.bindVertexBuffer.set(this.buffer);}updateData(e){if(e.length!==this.length)throw new Error(`Length of new data is ${e.length}, which doesn't match current length of ${this.length}`);const t=this.context.gl;this.bind(),t.bufferSubData(t.ARRAY_BUFFER,0,e.arrayBuffer);}enableAttributes(e,t){for(const i of this.attributes){const o=t.attributes[i.name];void 0!==o&&e.enableVertexAttribArray(o);}}setVertexAttribPointers(e,t,i){for(const o of this.attributes){const a=t.attributes[o.name];void 0!==a&&e.vertexAttribPointer(a,o.components,e[To[o.type]],!1,this.itemSize,o.offset+this.itemSize*(i||0));}}destroy(){this.buffer&&(this.context.gl.deleteBuffer(this.buffer),delete this.buffer);}}class Co{constructor(e){this.gl=e.gl,this.default=this.getDefault(),this.current=this.default,this.dirty=!1;}get(){return this.current}set(e){}getDefault(){return this.default}setDefault(){this.set(this.default);}}class Mo extends Co{getDefault(){return t.bo.transparent}set(e){const t=this.current;(e.r!==t.r||e.g!==t.g||e.b!==t.b||e.a!==t.a||this.dirty)&&(this.gl.clearColor(e.r,e.g,e.b,e.a),this.current=e,this.dirty=!1);}}class Io extends Co{getDefault(){return 1}set(e){(e!==this.current||this.dirty)&&(this.gl.clearDepth(e),this.current=e,this.dirty=!1);}}class Eo extends Co{getDefault(){return 0}set(e){(e!==this.current||this.dirty)&&(this.gl.clearStencil(e),this.current=e,this.dirty=!1);}}class So extends Co{getDefault(){return [!0,!0,!0,!0]}set(e){const t=this.current;(e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||this.dirty)&&(this.gl.colorMask(e[0],e[1],e[2],e[3]),this.current=e,this.dirty=!1);}}class zo extends Co{getDefault(){return !0}set(e){(e!==this.current||this.dirty)&&(this.gl.depthMask(e),this.current=e,this.dirty=!1);}}class Ro extends Co{getDefault(){return 255}set(e){(e!==this.current||this.dirty)&&(this.gl.stencilMask(e),this.current=e,this.dirty=!1);}}class Do extends Co{getDefault(){return {func:this.gl.ALWAYS,ref:0,mask:255}}set(e){const t=this.current;(e.func!==t.func||e.ref!==t.ref||e.mask!==t.mask||this.dirty)&&(this.gl.stencilFunc(e.func,e.ref,e.mask),this.current=e,this.dirty=!1);}}class Ao extends Co{getDefault(){const e=this.gl;return [e.KEEP,e.KEEP,e.KEEP]}set(e){const t=this.current;(e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||this.dirty)&&(this.gl.stencilOp(e[0],e[1],e[2]),this.current=e,this.dirty=!1);}}class Lo extends Co{getDefault(){return !1}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;e?t.enable(t.STENCIL_TEST):t.disable(t.STENCIL_TEST),this.current=e,this.dirty=!1;}}class Fo extends Co{getDefault(){return [0,1]}set(e){const t=this.current;(e[0]!==t[0]||e[1]!==t[1]||this.dirty)&&(this.gl.depthRange(e[0],e[1]),this.current=e,this.dirty=!1);}}class ko extends Co{getDefault(){return !1}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;e?t.enable(t.DEPTH_TEST):t.disable(t.DEPTH_TEST),this.current=e,this.dirty=!1;}}class Bo extends Co{getDefault(){return this.gl.LESS}set(e){(e!==this.current||this.dirty)&&(this.gl.depthFunc(e),this.current=e,this.dirty=!1);}}class Oo extends Co{getDefault(){return !1}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;e?t.enable(t.BLEND):t.disable(t.BLEND),this.current=e,this.dirty=!1;}}class jo extends Co{getDefault(){const e=this.gl;return [e.ONE,e.ZERO]}set(e){const t=this.current;(e[0]!==t[0]||e[1]!==t[1]||this.dirty)&&(this.gl.blendFunc(e[0],e[1]),this.current=e,this.dirty=!1);}}class No extends Co{getDefault(){return t.bo.transparent}set(e){const t=this.current;(e.r!==t.r||e.g!==t.g||e.b!==t.b||e.a!==t.a||this.dirty)&&(this.gl.blendColor(e.r,e.g,e.b,e.a),this.current=e,this.dirty=!1);}}class Zo extends Co{getDefault(){return this.gl.FUNC_ADD}set(e){(e!==this.current||this.dirty)&&(this.gl.blendEquation(e),this.current=e,this.dirty=!1);}}class Uo extends Co{getDefault(){return !1}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;e?t.enable(t.CULL_FACE):t.disable(t.CULL_FACE),this.current=e,this.dirty=!1;}}class Go extends Co{getDefault(){return this.gl.BACK}set(e){(e!==this.current||this.dirty)&&(this.gl.cullFace(e),this.current=e,this.dirty=!1);}}class Vo extends Co{getDefault(){return this.gl.CCW}set(e){(e!==this.current||this.dirty)&&(this.gl.frontFace(e),this.current=e,this.dirty=!1);}}class Wo extends Co{getDefault(){return null}set(e){(e!==this.current||this.dirty)&&(this.gl.useProgram(e),this.current=e,this.dirty=!1);}}class qo extends Co{getDefault(){return this.gl.TEXTURE0}set(e){(e!==this.current||this.dirty)&&(this.gl.activeTexture(e),this.current=e,this.dirty=!1);}}class $o extends Co{getDefault(){const e=this.gl;return [0,0,e.drawingBufferWidth,e.drawingBufferHeight]}set(e){const t=this.current;(e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||this.dirty)&&(this.gl.viewport(e[0],e[1],e[2],e[3]),this.current=e,this.dirty=!1);}}class Ho extends Co{getDefault(){return null}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.bindFramebuffer(t.FRAMEBUFFER,e),this.current=e,this.dirty=!1;}}class Xo extends Co{getDefault(){return null}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.bindRenderbuffer(t.RENDERBUFFER,e),this.current=e,this.dirty=!1;}}class Ko extends Co{getDefault(){return null}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.bindTexture(t.TEXTURE_2D,e),this.current=e,this.dirty=!1;}}class Yo extends Co{getDefault(){return null}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.bindBuffer(t.ARRAY_BUFFER,e),this.current=e,this.dirty=!1;}}class Qo extends Co{getDefault(){return null}set(e){const t=this.gl;t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,e),this.current=e,this.dirty=!1;}}class Jo extends Co{getDefault(){return null}set(e){var t;if(e===this.current&&!this.dirty)return;const i=this.gl;si(i)?i.bindVertexArray(e):null===(t=i.getExtension("OES_vertex_array_object"))||void 0===t||t.bindVertexArrayOES(e),this.current=e,this.dirty=!1;}}class ea extends Co{getDefault(){return 4}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.pixelStorei(t.UNPACK_ALIGNMENT,e),this.current=e,this.dirty=!1;}}class ta extends Co{getDefault(){return !1}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL,e),this.current=e,this.dirty=!1;}}class ia extends Co{getDefault(){return !1}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.pixelStorei(t.UNPACK_FLIP_Y_WEBGL,e),this.current=e,this.dirty=!1;}}class oa extends Co{constructor(e,t){super(e),this.context=e,this.parent=t;}getDefault(){return null}}class aa extends oa{setDirty(){this.dirty=!0;}set(e){if(e===this.current&&!this.dirty)return;this.context.bindFramebuffer.set(this.parent);const t=this.gl;t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,e,0),this.current=e,this.dirty=!1;}}class ra extends oa{set(e){if(e===this.current&&!this.dirty)return;this.context.bindFramebuffer.set(this.parent);const t=this.gl;t.framebufferRenderbuffer(t.FRAMEBUFFER,t.DEPTH_ATTACHMENT,t.RENDERBUFFER,e),this.current=e,this.dirty=!1;}}class sa extends oa{set(e){if(e===this.current&&!this.dirty)return;this.context.bindFramebuffer.set(this.parent);const t=this.gl;t.framebufferRenderbuffer(t.FRAMEBUFFER,t.DEPTH_STENCIL_ATTACHMENT,t.RENDERBUFFER,e),this.current=e,this.dirty=!1;}}const na="Framebuffer is not complete";class la{constructor(e,t,i,o,a){this.context=e,this.width=t,this.height=i;const r=e.gl,s=this.framebuffer=r.createFramebuffer();if(this.colorAttachment=new aa(e,s),o)this.depthAttachment=a?new sa(e,s):new ra(e,s);else if(a)throw new Error("Stencil cannot be set without depth");if(r.checkFramebufferStatus(r.FRAMEBUFFER)!==r.FRAMEBUFFER_COMPLETE)throw new Error(na)}destroy(){const e=this.context.gl,t=this.colorAttachment.get();if(t&&e.deleteTexture(t),this.depthAttachment){const t=this.depthAttachment.get();t&&e.deleteRenderbuffer(t);}e.deleteFramebuffer(this.framebuffer);}}class ca{constructor(e){var t,i;if(this.gl=e,this.clearColor=new Mo(this),this.clearDepth=new Io(this),this.clearStencil=new Eo(this),this.colorMask=new So(this),this.depthMask=new zo(this),this.stencilMask=new Ro(this),this.stencilFunc=new Do(this),this.stencilOp=new Ao(this),this.stencilTest=new Lo(this),this.depthRange=new Fo(this),this.depthTest=new ko(this),this.depthFunc=new Bo(this),this.blend=new Oo(this),this.blendFunc=new jo(this),this.blendColor=new No(this),this.blendEquation=new Zo(this),this.cullFace=new Uo(this),this.cullFaceSide=new Go(this),this.frontFace=new Vo(this),this.program=new Wo(this),this.activeTexture=new qo(this),this.viewport=new $o(this),this.bindFramebuffer=new Ho(this),this.bindRenderbuffer=new Xo(this),this.bindTexture=new Ko(this),this.bindVertexBuffer=new Yo(this),this.bindElementBuffer=new Qo(this),this.bindVertexArray=new Jo(this),this.pixelStoreUnpack=new ea(this),this.pixelStoreUnpackPremultiplyAlpha=new ta(this),this.pixelStoreUnpackFlipY=new ia(this),this.extTextureFilterAnisotropic=e.getExtension("EXT_texture_filter_anisotropic"),this.extTextureFilterAnisotropic&&(this.extTextureFilterAnisotropicMax=e.getParameter(this.extTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT)),this.maxTextureSize=e.getParameter(e.MAX_TEXTURE_SIZE),si(e)){this.HALF_FLOAT=e.HALF_FLOAT;const o=e.getExtension("EXT_color_buffer_half_float");this.RGBA16F=null!==(t=e.RGBA16F)&&void 0!==t?t:null==o?void 0:o.RGBA16F_EXT,this.RGB16F=null!==(i=e.RGB16F)&&void 0!==i?i:null==o?void 0:o.RGB16F_EXT,e.getExtension("EXT_color_buffer_float");}else {e.getExtension("EXT_color_buffer_half_float"),e.getExtension("OES_texture_half_float_linear");const t=e.getExtension("OES_texture_half_float");this.HALF_FLOAT=null==t?void 0:t.HALF_FLOAT_OES;}}setDefault(){this.unbindVAO(),this.clearColor.setDefault(),this.clearDepth.setDefault(),this.clearStencil.setDefault(),this.colorMask.setDefault(),this.depthMask.setDefault(),this.stencilMask.setDefault(),this.stencilFunc.setDefault(),this.stencilOp.setDefault(),this.stencilTest.setDefault(),this.depthRange.setDefault(),this.depthTest.setDefault(),this.depthFunc.setDefault(),this.blend.setDefault(),this.blendFunc.setDefault(),this.blendColor.setDefault(),this.blendEquation.setDefault(),this.cullFace.setDefault(),this.cullFaceSide.setDefault(),this.frontFace.setDefault(),this.program.setDefault(),this.activeTexture.setDefault(),this.bindFramebuffer.setDefault(),this.pixelStoreUnpack.setDefault(),this.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.pixelStoreUnpackFlipY.setDefault();}setDirty(){this.clearColor.dirty=!0,this.clearDepth.dirty=!0,this.clearStencil.dirty=!0,this.colorMask.dirty=!0,this.depthMask.dirty=!0,this.stencilMask.dirty=!0,this.stencilFunc.dirty=!0,this.stencilOp.dirty=!0,this.stencilTest.dirty=!0,this.depthRange.dirty=!0,this.depthTest.dirty=!0,this.depthFunc.dirty=!0,this.blend.dirty=!0,this.blendFunc.dirty=!0,this.blendColor.dirty=!0,this.blendEquation.dirty=!0,this.cullFace.dirty=!0,this.cullFaceSide.dirty=!0,this.frontFace.dirty=!0,this.program.dirty=!0,this.activeTexture.dirty=!0,this.viewport.dirty=!0,this.bindFramebuffer.dirty=!0,this.bindRenderbuffer.dirty=!0,this.bindTexture.dirty=!0,this.bindVertexBuffer.dirty=!0,this.bindElementBuffer.dirty=!0,this.bindVertexArray.dirty=!0,this.pixelStoreUnpack.dirty=!0,this.pixelStoreUnpackPremultiplyAlpha.dirty=!0,this.pixelStoreUnpackFlipY.dirty=!0;}createIndexBuffer(e,t){return new wo(this,e,t)}createVertexBuffer(e,t,i){return new Po(this,e,t,i)}createRenderbuffer(e,t,i){const o=this.gl,a=o.createRenderbuffer();return this.bindRenderbuffer.set(a),o.renderbufferStorage(o.RENDERBUFFER,e,t,i),this.bindRenderbuffer.set(null),a}createFramebuffer(e,t,i,o){return new la(this,e,t,i,o)}clear({color:e,depth:t,stencil:i}){const o=this.gl;let a=0;e&&(a|=o.COLOR_BUFFER_BIT,this.clearColor.set(e),this.colorMask.set([!0,!0,!0,!0])),void 0!==t&&(a|=o.DEPTH_BUFFER_BIT,this.depthRange.set([0,1]),this.clearDepth.set(t),this.depthMask.set(!0)),void 0!==i&&(a|=o.STENCIL_BUFFER_BIT,this.clearStencil.set(i),this.stencilMask.set(255)),o.clear(a);}setCullFace(e){!1===e.enable?this.cullFace.set(!1):(this.cullFace.set(!0),this.cullFaceSide.set(e.mode),this.frontFace.set(e.frontFace));}setDepthMode(e){e.func!==this.gl.ALWAYS||e.mask?(this.depthTest.set(!0),this.depthFunc.set(e.func),this.depthMask.set(e.mask),this.depthRange.set(e.range)):this.depthTest.set(!1);}setStencilMode(e){e.test.func!==this.gl.ALWAYS||e.mask?(this.stencilTest.set(!0),this.stencilMask.set(e.mask),this.stencilOp.set([e.fail,e.depthFail,e.pass]),this.stencilFunc.set({func:e.test.func,ref:e.ref,mask:e.test.mask})):this.stencilTest.set(!1);}setColorMode(e){t.bQ(e.blendFunction,ei.Replace)?this.blend.set(!1):(this.blend.set(!0),this.blendFunc.set(e.blendFunction),this.blendColor.set(e.blendColor)),this.colorMask.set(e.mask);}createVertexArray(){var e;return si(this.gl)?this.gl.createVertexArray():null===(e=this.gl.getExtension("OES_vertex_array_object"))||void 0===e?void 0:e.createVertexArrayOES()}deleteVertexArray(e){var t;si(this.gl)?this.gl.deleteVertexArray(e):null===(t=this.gl.getExtension("OES_vertex_array_object"))||void 0===t||t.deleteVertexArrayOES(e);}unbindVAO(){this.bindVertexArray.set(null);}}let ha;function ua(e,i,o,a,r){var s,n;const l=e.context,c=e.transform,h=l.gl,u=e.useProgram("collisionBox"),d=[];let _=0,p=0;for(const t of a){const a=i.getTile(t).getBucket(o);if(!a)continue;const n=r?a.textCollisionBox:a.iconCollisionBox,m=a.collisionCircleArray;m.length>0&&(d.push({circleArray:m,circleOffset:p,coord:t}),_+=m.length/4,p=_),n&&u.draw(l,h.LINES,oi.disabled,ri.disabled,e.colorModeForRenderPass(),ii.disabled,Ki(e.transform),null===(s=e.style.map.terrain)||void 0===s?void 0:s.getTerrainData(t),c.getProjectionData({overscaledTileID:t,applyGlobeMatrix:!0,applyTerrainMatrix:!0}),o.id,n.layoutVertexBuffer,n.indexBuffer,n.segments,null,e.transform.zoom,null,null,n.collisionVertexBuffer);}if(!r||!d.length)return;const m=e.useProgram("collisionCircle"),f=new t.ca;f.resize(4*_),f._trim();let g=0;for(const e of d)for(let t=0;t=0&&(f[g.associatedIconIndex]={shiftedAnchor:E,angle:S});}else st(g.numGlyphs,p);}if(c){m.clear();const i=e.icon.placedSymbolArray;for(let e=0;ee.style.map.terrain.getElevation(l,t,i):null,s="map"===o.layout.get("text-rotation-alignment");$e(c,e,r,j,i,b,h,s,l.toUnwrapped(),v.width,v.height,Z,a);}const W=r&&M||V,q=y||W?da:b?j:e.transform.clipSpaceToPixelsMatrix,$=m&&0!==o.paint.get(r?"text-halo-width":"icon-halo-width").constantOr(1);let H;H=m?c.iconsInText?go(f.kind,z,w,b,y,W,e,q,N,Z,D,k,E):fo(f.kind,z,w,b,y,W,e,q,N,Z,r,D,$,E):mo(f.kind,z,w,b,y,W,e,q,N,Z,r,D,E);const X={program:S,buffers:u,uniformValues:H,projectionData:U,atlasTexture:A,atlasTextureIcon:B,atlasInterpolation:L,atlasInterpolationIcon:F,isSDF:m,hasHalo:$};if(T&&c.canOverlap){P=!0;const e=u.segments.get();for(const i of e)I.push({segments:new t.aV([i]),sortKey:i.sortKey,state:X,terrainData:R});}else I.push({segments:u.segments,sortKey:0,state:X,terrainData:R});}P&&I.sort(((e,t)=>e.sortKey-t.sortKey));const S=null!==(m=o.paint.get(r?"text-halo-width":"icon-halo-width").constantOr(null))&&void 0!==m?m:1/0,z=o.layout.get("text-letter-spacing").constantOr(0)*t.aJ<0||S>1;for(const t of I){const i=t.state;f.activeTexture.set(g.TEXTURE0),i.atlasTexture.bind(i.atlasInterpolation,g.CLAMP_TO_EDGE),i.atlasTextureIcon&&(f.activeTexture.set(g.TEXTURE1),i.atlasTextureIcon&&i.atlasTextureIcon.bind(i.atlasInterpolationIcon,g.CLAMP_TO_EDGE));const a=i.isSDF&&i.hasHalo;if(a){const a=i.uniformValues;a.u_is_halo=1,z&&(a.u_is_plain=0,va(i.buffers,t.segments,o,e,i.program,C,u,d,a,i.projectionData,t.terrainData),a.u_is_halo=0,a.u_is_plain=1);}va(i.buffers,t.segments,o,e,i.program,C,u,d,i.uniformValues,i.projectionData,t.terrainData),a&&!z&&(i.uniformValues.u_is_halo=0);}}function va(e,t,i,o,a,r,s,n,l,c,h){const u=o.context;a.draw(u,u.gl.TRIANGLES,r,s,n,ii.backCCW,l,h,c,i.id,e.layoutVertexBuffer,e.indexBuffer,t,i.paint,o.transform.zoom,e.programConfigurations.get(i.id),e.dynamicLayoutVertexBuffer,e.opacityVertexBuffer);}function xa(e,i,o,a,r){const s=e.context,n=s.gl,l=ri.disabled,c=new ei([n.ONE,n.ONE],t.bo.transparent,[!0,!0,!0,!0]),h=i.getBucket(o);if(!h)return;const u=a.key;let d=o.heatmapFbos.get(u);d||(d=ya(s,i.tileSize,i.tileSize),o.heatmapFbos.set(u,d)),s.bindFramebuffer.set(d.framebuffer),s.viewport.set([0,0,i.tileSize,i.tileSize]),s.clear({color:t.bo.transparent});const _=h.programConfigurations.get(o.id),p=e.useProgram("heatmap",_,!r),m=e.transform.getProjectionData({overscaledTileID:i.tileID,applyGlobeMatrix:!0,applyTerrainMatrix:!0}),f=e.style.map.terrain.getTerrainData(a);p.draw(s,n.TRIANGLES,oi.disabled,l,c,ii.disabled,Ji(i,e.transform.zoom,o.paint.get("heatmap-intensity"),1),f,m,o.id,h.layoutVertexBuffer,h.indexBuffer,h.segments,o.paint,e.transform.zoom,_);}function ba(e,t,i,o,a){const r=e.context,s=r.gl,n=e.transform;r.setColorMode(e.colorModeForRenderPass());const l=wa(r,t),c=i.key,h=t.heatmapFbos.get(c);if(!h)return;r.activeTexture.set(s.TEXTURE0),s.bindTexture(s.TEXTURE_2D,h.colorAttachment.get()),r.activeTexture.set(s.TEXTURE1),l.bind(s.LINEAR,s.CLAMP_TO_EDGE);const u=n.getProjectionData({overscaledTileID:i,applyTerrainMatrix:a,applyGlobeMatrix:!o});e.useProgram("heatmapTexture").draw(r,s.TRIANGLES,oi.disabled,ri.disabled,e.colorModeForRenderPass(),ii.disabled,eo(e,t,0,1),null,u,t.id,e.rasterBoundsBuffer,e.quadTriangleIndexBuffer,e.rasterBoundsSegments,t.paint,n.zoom),h.destroy(),t.heatmapFbos.delete(c);}function ya(e,t,i){var o,a;const r=e.gl,s=r.createTexture();r.bindTexture(r.TEXTURE_2D,s),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,r.CLAMP_TO_EDGE),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_T,r.CLAMP_TO_EDGE),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MIN_FILTER,r.LINEAR),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MAG_FILTER,r.LINEAR);const n=null!==(o=e.HALF_FLOAT)&&void 0!==o?o:r.UNSIGNED_BYTE,l=null!==(a=e.RGBA16F)&&void 0!==a?a:r.RGBA;r.texImage2D(r.TEXTURE_2D,0,l,t,i,0,r.RGBA,n,null);const c=e.createFramebuffer(t,i,!1,!1);return c.colorAttachment.set(s),c}function wa(e,i){return i.colorRampTexture||(i.colorRampTexture=new t.T(e,i.colorRamp,e.gl.RGBA)),i.colorRampTexture}function Ta(e,i,o,a,r,s,n,l){let c=256;if(r.stepInterpolant){const a=i.getSource().maxzoom,r=n.canonical.z===a?Math.ceil(1<e.options.anisotropicFilterPitch&&_.texParameterf(_.TEXTURE_2D,d.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,d.extTextureFilterAnisotropicMax);const S=null===(h=e.style.map.terrain)||void 0===h?void 0:h.getTerrainData(T),z=m.getProjectionData({overscaledTileID:T,aligned:v,applyGlobeMatrix:!c,applyTerrainMatrix:!0}),R=_o(I,M,E.fadeMix,i,n),D=f.getMeshFromTileID(d,T.canonical,r,s,"raster");p.draw(d,_.TRIANGLES,o,a?a[T.overscaledZ]:ri.disabled,g,l?ii.frontCCW:ii.backCCW,R,S,z,i.id,D.vertexBuffer,D.indexBuffer,D.segments);}}function ka(e,i,o,a){const r={parentTile:null,parentScaleBy:1,parentTopLeft:[0,0],fadeValues:{tileOpacity:1,parentTileOpacity:1,fadeMix:{opacity:1,mix:0}}};if(0===o||a)return r;if(e.fadingParentID){const a=i.getLoadedTile(e.fadingParentID);if(!a)return r;const s=Math.pow(2,a.tileID.overscaledZ-e.tileID.overscaledZ),n=[e.tileID.canonical.x*s%1,e.tileID.canonical.y*s%1],l=function(e,i,o){const a=c(),r=(a-i.timeAdded)/o,s=e.fadingDirection===ue.Incoming,n=t.al((a-e.timeAdded)/o,0,1),l=t.al(1-r,0,1),h=s?n:l;return {tileOpacity:h,parentTileOpacity:s?l:n,fadeMix:{opacity:1,mix:1-h}}}(e,a,o);return {parentTile:a,parentScaleBy:s,parentTopLeft:n,fadeValues:l}}if(e.selfFading){const i=function(e,i){const o=(c()-e.timeAdded)/i,a=t.al(o,0,1);return {tileOpacity:a,fadeMix:{opacity:a,mix:0}}}(e,o);return {parentTile:null,parentScaleBy:1,parentTopLeft:[0,0],fadeValues:i}}return r}const Ba=new t.bo(1,0,0,1),Oa=new t.bo(0,1,0,1),ja=new t.bo(0,0,1,1),Na=new t.bo(1,0,1,1),Za=new t.bo(0,1,1,1);function Ua(e,t,i,o){Va(e,0,t+i/2,e.transform.width,i,o);}function Ga(e,t,i,o){Va(e,t-i/2,0,i,e.transform.height,o);}function Va(e,t,i,o,a,r){const s=e.context,n=s.gl;n.enable(n.SCISSOR_TEST),n.scissor(t*e.pixelRatio,i*e.pixelRatio,o*e.pixelRatio,a*e.pixelRatio),s.clear({color:r}),n.disable(n.SCISSOR_TEST);}function Wa(e,i,o){var a;const r=e.context,s=r.gl,n=e.useProgram("debug"),l=oi.disabled,c=ri.disabled,h=e.colorModeForRenderPass(),u="$debug",d=null===(a=e.style.map.terrain)||void 0===a?void 0:a.getTerrainData(o);r.activeTexture.set(s.TEXTURE0);const _=i.getTileByID(o.key).latestRawTileData,p=Math.floor(((null==_?void 0:_.byteLength)||0)/1024),m=i.getTile(o).tileSize,f=512/Math.min(m,512)*(o.overscaledZ/e.transform.zoom)*.5;let g=o.canonical.toString();o.overscaledZ!==o.canonical.z&&(g+=` => ${o.overscaledZ}`),function(e,t){e.initDebugOverlayCanvas();const i=e.debugOverlayCanvas,o=e.context.gl,a=e.debugOverlayCanvas.getContext("2d");a.clearRect(0,0,i.width,i.height),a.shadowColor="white",a.shadowBlur=2,a.lineWidth=1.5,a.strokeStyle="white",a.textBaseline="top",a.font="bold 36px Open Sans, sans-serif",a.fillText(t,5,5),a.strokeText(t,5,5),e.debugOverlayTexture.update(i),e.debugOverlayTexture.bind(o.LINEAR,o.CLAMP_TO_EDGE);}(e,`${g} ${p}kB`);const v=e.transform.getProjectionData({overscaledTileID:o,applyGlobeMatrix:!0,applyTerrainMatrix:!0});n.draw(r,s.TRIANGLES,l,c,ei.alphaBlended,ii.disabled,Qi(t.bo.transparent,f),null,v,u,e.debugBuffer,e.quadTriangleIndexBuffer,e.debugSegments),n.draw(r,s.LINE_STRIP,l,c,h,ii.disabled,Qi(t.bo.red),d,v,u,e.debugBuffer,e.tileBorderIndexBuffer,e.debugSegments);}function qa(e,t,i,o){const{isRenderingGlobe:a}=o,r=e.context,s=r.gl,n=e.transform,l=e.colorModeForRenderPass(),c=e.getDepthModeFor3D(),h=e.useProgram("terrain");r.bindFramebuffer.set(null),r.viewport.set([0,0,e.width,e.height]);for(const o of i){const i=t.getTerrainMesh(o.tileID),u=e.renderToTexture.getTexture(o),d=t.getTerrainData(o.tileID);r.activeTexture.set(s.TEXTURE0),s.bindTexture(s.TEXTURE_2D,u.texture);const _=t.getMeshFrameDelta(n.zoom),p=n.calculateFogMatrix(o.tileID.toUnwrapped()),m=ji(_,p,e.style.sky,n.pitch,a),f=n.getProjectionData({overscaledTileID:o.tileID,applyTerrainMatrix:!1,applyGlobeMatrix:!0});h.draw(r,s.TRIANGLES,c,ri.disabled,l,ii.backCCW,m,d,f,"terrain",i.vertexBuffer,i.indexBuffer,i.segments);}}function $a(e,i){if(!i.mesh){const o=new t.aU;o.emplaceBack(-1,-1),o.emplaceBack(1,-1),o.emplaceBack(1,1),o.emplaceBack(-1,1);const a=new t.aW;a.emplaceBack(0,1,2),a.emplaceBack(0,2,3),i.mesh=new Bt(e.createVertexBuffer(o,Ot.members),e.createIndexBuffer(a),t.aV.simpleSegment(0,0,o.length,a.length));}return i.mesh}const Ha={symbol:function(e,i,o,a,r,s){if("translucent"!==e.renderPass)return;const{isRenderingToTexture:n}=s,l=ri.disabled,c=e.colorModeForRenderPass();(o._unevaluatedLayout.hasValue("text-variable-anchor")||o._unevaluatedLayout.hasValue("text-variable-anchor-offset"))&&function(e,i,o,a,r,s,n,l,c){var h;const u=i.transform,d=i.style.map.terrain,_="map"===r,p="map"===s;for(const r of e){const e=a.getTile(r),s=e.getBucket(o);if(!(null===(h=null==s?void 0:s.text)||void 0===h?void 0:h.segments.get().length))continue;const m=t.aw(s.textSizeData,u.zoom),f=t.aK(e,1,i.transform.zoom),g=Ze(_,i.transform,f),v="none"!==o.layout.get("icon-text-fit")&&s.hasIconData();if(m){const i=Math.pow(2,u.zoom-e.tileID.overscaledZ),o=d?(e,t)=>d.getElevation(r,e,t):null;ma(s,_,p,c,u,g,i,m,v,t.aL(u,e,n,l),r.toUnwrapped(),o);}}}(a,e,o,i,o.layout.get("text-rotation-alignment"),o.layout.get("text-pitch-alignment"),o.paint.get("text-translate"),o.paint.get("text-translate-anchor"),r),0!==o.paint.get("icon-opacity").constantOr(1)&&ga(e,i,o,a,!1,o.paint.get("icon-translate"),o.paint.get("icon-translate-anchor"),o.layout.get("icon-rotation-alignment"),o.layout.get("icon-pitch-alignment"),o.layout.get("icon-keep-upright"),l,c,n),0!==o.paint.get("text-opacity").constantOr(1)&&ga(e,i,o,a,!0,o.paint.get("text-translate"),o.paint.get("text-translate-anchor"),o.layout.get("text-rotation-alignment"),o.layout.get("text-pitch-alignment"),o.layout.get("text-keep-upright"),l,c,n),i.map.showCollisionBoxes&&(ua(e,i,o,a,!0),ua(e,i,o,a,!1));},circle:function(e,i,o,a,r){var s;if("translucent"!==e.renderPass)return;const{isRenderingToTexture:n}=r,l=o.paint.get("circle-opacity"),c=o.paint.get("circle-stroke-width"),h=o.paint.get("circle-stroke-opacity"),u=!o.layout.get("circle-sort-key").isConstant();if(0===l.constantOr(1)&&(0===c.constantOr(1)||0===h.constantOr(1)))return;const d=e.context,_=d.gl,p=e.transform,m=e.getDepthModeForSublayer(0,oi.ReadOnly),f=ri.disabled,g=e.colorModeForRenderPass(),v=[],x=p.getCircleRadiusCorrection();for(const r of a){const a=i.getTile(r),l=a.getBucket(o);if(!l)continue;const c=o.paint.get("circle-translate"),h=o.paint.get("circle-translate-anchor"),d=t.aL(p,a,c,h),_=l.programConfigurations.get(o.id),m=e.useProgram("circle",_),f=l.layoutVertexBuffer,g=l.indexBuffer,b=null===(s=e.style.map.terrain)||void 0===s?void 0:s.getTerrainData(r),y={programConfiguration:_,program:m,layoutVertexBuffer:f,indexBuffer:g,uniformValues:Xi(e,a,o,d,x),terrainData:b,projectionData:p.getProjectionData({overscaledTileID:r,applyGlobeMatrix:!n,applyTerrainMatrix:!0})};if(u){const e=l.segments.get();for(const i of e)v.push({segments:new t.aV([i]),sortKey:i.sortKey,state:y});}else v.push({segments:l.segments,sortKey:0,state:y});}u&&v.sort(((e,t)=>e.sortKey-t.sortKey));for(const t of v){const{programConfiguration:i,program:a,layoutVertexBuffer:r,indexBuffer:s,uniformValues:n,terrainData:l,projectionData:c}=t.state;a.draw(d,_.TRIANGLES,m,f,g,ii.backCCW,n,l,c,o.id,r,s,t.segments,o.paint,e.transform.zoom,i);}},heatmap:function(e,i,o,a,r){if(0===o.paint.get("heatmap-opacity"))return;const s=e.context,{isRenderingToTexture:n,isRenderingGlobe:l}=r;if(e.style.map.terrain){for(const t of a){const a=i.getTile(t);i.hasRenderableParent(t)||("offscreen"===e.renderPass?xa(e,a,o,t,l):"translucent"===e.renderPass&&ba(e,o,t,n,l));}s.viewport.set([0,0,e.width,e.height]);}else "offscreen"===e.renderPass?function(e,i,o,a){const r=e.context,s=r.gl,n=e.transform,l=ri.disabled,c=new ei([s.ONE,s.ONE],t.bo.transparent,[!0,!0,!0,!0]);((function(e,i,o){const a=e.gl;e.activeTexture.set(a.TEXTURE1),e.viewport.set([0,0,i.width/4,i.height/4]);let r=o.heatmapFbos.get(t.cd);r?(a.bindTexture(a.TEXTURE_2D,r.colorAttachment.get()),e.bindFramebuffer.set(r.framebuffer)):(r=ya(e,i.width/4,i.height/4),o.heatmapFbos.set(t.cd,r));}))(r,e,o),r.clear({color:t.bo.transparent});for(const t of a){if(i.hasRenderableParent(t))continue;const a=i.getTile(t),h=a.getBucket(o);if(!h)continue;const u=h.programConfigurations.get(o.id),d=e.useProgram("heatmap",u),_=n.getProjectionData({overscaledTileID:t,applyGlobeMatrix:!0,applyTerrainMatrix:!1}),p=n.getCircleRadiusCorrection();d.draw(r,s.TRIANGLES,oi.disabled,l,c,ii.backCCW,Ji(a,n.zoom,o.paint.get("heatmap-intensity"),p),null,_,o.id,h.layoutVertexBuffer,h.indexBuffer,h.segments,o.paint,n.zoom,u);}r.viewport.set([0,0,e.width,e.height]);}(e,i,o,a):"translucent"===e.renderPass&&function(e,i){const o=e.context,a=o.gl;o.setColorMode(e.colorModeForRenderPass());const r=i.heatmapFbos.get(t.cd);r&&(o.activeTexture.set(a.TEXTURE0),a.bindTexture(a.TEXTURE_2D,r.colorAttachment.get()),o.activeTexture.set(a.TEXTURE1),wa(o,i).bind(a.LINEAR,a.CLAMP_TO_EDGE),e.useProgram("heatmapTexture").draw(o,a.TRIANGLES,oi.disabled,ri.disabled,e.colorModeForRenderPass(),ii.disabled,eo(e,i,0,1),null,null,i.id,e.viewportBuffer,e.quadTriangleIndexBuffer,e.viewportSegments,i.paint,e.transform.zoom));}(e,o);},line:function(e,t,i,o,a){var r;if("translucent"!==e.renderPass)return;const{isRenderingToTexture:s}=a,n=i.paint.get("line-opacity"),l=i.paint.get("line-width");if(0===n.constantOr(1)||0===l.constantOr(1))return;const c=e.getDepthModeForSublayer(0,oi.ReadOnly),h=e.colorModeForRenderPass(),u=i.paint.get("line-dasharray"),d=u.constantOr(1),_=i.paint.get("line-pattern"),p=_.constantOr(1),m=i.paint.get("line-gradient"),f=i.getCrossfadeParameters();let g;g=p?"linePattern":d&&m?"lineGradientSDF":d?"lineSDF":m?"lineGradient":"line";const v=e.context,x=v.gl,b=e.transform;let y=!0;for(const a of o){const o=t.getTile(a);if(p&&!o.patternsLoaded())continue;const n=o.getBucket(i);if(!n)continue;const l=n.programConfigurations.get(i.id),w=e.context.program.get(),T=e.useProgram(g,l),P=y||T.program!==w,C=null===(r=e.style.map.terrain)||void 0===r?void 0:r.getTerrainData(a),M=_.constantOr(null),I=null==u?void 0:u.constantOr(null);if(M&&o.imageAtlas){const e=o.imageAtlas,t=e.patternPositions[M.to.toString()],i=e.patternPositions[M.from.toString()];t&&i&&l.setConstantPatternPositions(t,i);}else if(I){const t="round"===i.layout.get("line-cap").constantOr(null),o=e.lineAtlas.getDash(I.to,t),a=e.lineAtlas.getDash(I.from,t);l.setConstantDashPositions(o,a);}const E=b.getProjectionData({overscaledTileID:a,applyGlobeMatrix:!s,applyTerrainMatrix:!0}),S=b.getPixelScale();let z;p?(z=no(e,o,i,S,f),Pa(v,x,o,l,f)):d&&m?(z=co(e,o,i,S,f,n.lineClipsArray.length),Ia(e,t,v,x,i,n,a,l,f)):d?(z=lo(e,o,i,S,f),Ca(e,v,x,l,P,f)):m?(z=so(e,o,i,S,n.lineClipsArray.length),Ma(e,t,v,x,i,n,a)):z=ro(e,o,i,S);const R=e.stencilModeForClipping(a);T.draw(v,x.TRIANGLES,c,R,h,ii.disabled,z,C,E,i.id,n.layoutVertexBuffer,n.indexBuffer,n.segments,i.paint,e.transform.zoom,l,n.layoutVertexBuffer2),y=!1;}},fill:function(e,i,o,a,r){const s=o.paint.get("fill-color"),n=o.paint.get("fill-opacity");if(0===n.constantOr(1))return;const{isRenderingToTexture:l}=r,c=e.colorModeForRenderPass(),h=o.paint.get("fill-pattern"),u=e.opaquePassEnabledForLayer()&&!h.constantOr(1)&&1===s.constantOr(t.bo.transparent).a&&1===n.constantOr(0)?"opaque":"translucent";if(e.renderPass===u){const t=e.getDepthModeForSublayer(1,"opaque"===e.renderPass?oi.ReadWrite:oi.ReadOnly);Sa(e,i,o,a,t,c,!1,l);}if("translucent"===e.renderPass&&o.paint.get("fill-antialias")){const t=e.getDepthModeForSublayer(o.getPaintProperty("fill-outline-color")?2:0,oi.ReadOnly);Sa(e,i,o,a,t,c,!0,l);}},fillExtrusion:function(e,t,i,o,a){const r=i.paint.get("fill-extrusion-opacity");if(0===r)return;const{isRenderingToTexture:s}=a;if("translucent"===e.renderPass){const a=new oi(e.context.gl.LEQUAL,oi.ReadWrite,e.depthRangeFor3D);if(1!==r||i.paint.get("fill-extrusion-pattern").constantOr(1))za(e,t,i,o,a,ri.disabled,ei.disabled,s),za(e,t,i,o,a,e.stencilModeFor3D(),e.colorModeForRenderPass(),s);else {const r=e.colorModeForRenderPass();za(e,t,i,o,a,ri.disabled,r,s);}}},hillshade:function(e,i,o,a,r){if("offscreen"!==e.renderPass&&"translucent"!==e.renderPass)return;const{isRenderingToTexture:s}=r,n=e.context,l=e.style.projection.useSubdivision,c=e.getDepthModeForSublayer(0,oi.ReadOnly),h=e.colorModeForRenderPass();if("offscreen"===e.renderPass)!function(e,i,o,a,r,s,n){const l=e.context,c=l.gl,h="nearest"===a.paint.get("resampling")?c.NEAREST:c.LINEAR;for(const u of o){const o=i.getTile(u),d=o.dem;if(!(null==d?void 0:d.data))continue;if(!o.needsHillshadePrepare)continue;const _=d.dim,p=d.stride,m=d.getPixels();if(l.activeTexture.set(c.TEXTURE1),l.pixelStoreUnpackPremultiplyAlpha.set(!1),o.demTexture||(o.demTexture=e.getTileTexture(p)),o.demTexture){const e=o.demTexture;e.update(m,{premultiply:!1}),e.bind(c.NEAREST,c.CLAMP_TO_EDGE);}else o.demTexture=new t.T(l,m,c.RGBA,{premultiply:!1}),o.demTexture.bind(c.NEAREST,c.CLAMP_TO_EDGE);l.activeTexture.set(c.TEXTURE0);let f=o.fbo;if(!f){const e=new t.T(l,{width:_,height:_,data:null},c.RGBA);e.bind(h,c.CLAMP_TO_EDGE),f=o.fbo=l.createFramebuffer(_,_,!0,!1),f.colorAttachment.set(e.texture);}l.bindFramebuffer.set(f.framebuffer),l.viewport.set([0,0,_,_]),e.useProgram("hillshadePrepare").draw(l,c.TRIANGLES,r,s,n,ii.disabled,io(o.tileID,d),null,null,a.id,e.rasterBoundsBuffer,e.quadTriangleIndexBuffer,e.rasterBoundsSegments),o.needsHillshadePrepare=!1;}}(e,i,a,o,c,ri.disabled,h),n.viewport.set([0,0,e.width,e.height]);else if("translucent"===e.renderPass)if(l){const[t,r,n]=e.stencilConfigForOverlapTwoPass(a);Ra(e,i,o,n,t,c,h,!1,s),Ra(e,i,o,n,r,c,h,!0,s);}else {const[t,r]=e.getStencilConfigForOverlapAndUpdateStencilID(a);Ra(e,i,o,r,t,c,h,!1,s);}},colorRelief:function(e,t,i,o,a){if("translucent"!==e.renderPass)return;if(!o.length)return;const{isRenderingToTexture:r}=a,s=e.style.projection.useSubdivision,n=e.getDepthModeForSublayer(0,oi.ReadOnly),l=e.colorModeForRenderPass();if(s){const[a,s,c]=e.stencilConfigForOverlapTwoPass(o);Aa(e,t,i,c,a,n,l,!1,r),Aa(e,t,i,c,s,n,l,!0,r);}else {const[a,s]=e.getStencilConfigForOverlapAndUpdateStencilID(o);Aa(e,t,i,s,a,n,l,!1,r);}},raster:function(e,t,i,o,a){if("translucent"!==e.renderPass)return;if(0===i.paint.get("raster-opacity"))return;if(!o.length)return;const{isRenderingToTexture:r}=a,s=t.getSource(),n=e.style.projection.useSubdivision;if(s instanceof te)Fa(e,t,i,o,null,!1,!1,s.tileCoords,s.flippedWindingOrder,r);else if(n){const[a,s,n]=e.stencilConfigForOverlapTwoPass(o);Fa(e,t,i,n,a,!1,!0,La,!1,r),Fa(e,t,i,n,s,!0,!0,La,!1,r);}else {const[a,s]=e.getStencilConfigForOverlapAndUpdateStencilID(o);Fa(e,t,i,s,a,!1,!0,La,!1,r);}},background:function(e,t,i,o,a){var r;const s=i.paint.get("background-color"),n=i.paint.get("background-opacity");if(0===n)return;const{isRenderingToTexture:l}=a,c=e.context,h=c.gl,u=e.style.projection,d=e.transform,_=d.tileSize,p=i.paint.get("background-pattern");if(e.isPatternMissing(p))return;const m=!p&&1===s.a&&1===n&&e.opaquePassEnabledForLayer()?"opaque":"translucent";if(e.renderPass!==m)return;const f=ri.disabled,g=e.getDepthModeForSublayer(0,"opaque"===m?oi.ReadWrite:oi.ReadOnly),v=e.colorModeForRenderPass(),x=e.useProgram(p?"backgroundPattern":"background"),b=o||Me(d,{tileSize:_,terrain:e.style.map.terrain});p&&(c.activeTexture.set(h.TEXTURE0),e.imageManager.bind(e.context));const y=i.getCrossfadeParameters();for(const t of b){const o=d.getProjectionData({overscaledTileID:t,applyGlobeMatrix:!l,applyTerrainMatrix:!0}),a=p?xo(n,e,p,{tileID:t,tileSize:_},y):vo(n,s),m=null===(r=e.style.map.terrain)||void 0===r?void 0:r.getTerrainData(t),b=u.getMeshFromTileID(c,t.canonical,!1,!0,"raster");x.draw(c,h.TRIANGLES,g,f,v,ii.backCCW,a,m,o,i.id,b.vertexBuffer,b.indexBuffer,b.segments);}},sky:function(e,t){const i=e.context,o=i.gl,a=((e,t,i)=>{const o=Math.cos(t.rollInRadians),a=Math.sin(t.rollInRadians),r=ge(t),s=t.getProjectionData({overscaledTileID:null,applyGlobeMatrix:!0,applyTerrainMatrix:!0}).projectionTransition;return {u_sky_color:e.properties.get("sky-color"),u_horizon_color:e.properties.get("horizon-color"),u_horizon:[(t.width/2-r*a)*i,(t.height/2+r*o)*i],u_horizon_normal:[-a,o],u_sky_horizon_blend:e.properties.get("sky-horizon-blend")*t.height/2*i,u_sky_blend:s}})(t,e.style.map.transform,e.pixelRatio),r=new oi(o.LEQUAL,oi.ReadWrite,[0,1]),s=ri.disabled,n=e.colorModeForRenderPass(),l=e.useProgram("sky"),c=$a(i,t);l.draw(i,o.TRIANGLES,r,s,n,ii.disabled,a,null,void 0,"sky",c.vertexBuffer,c.indexBuffer,c.segments);},atmosphere:function(e,i,o){const a=e.context,r=a.gl,s=e.useProgram("atmosphere"),n=new oi(r.LEQUAL,oi.ReadOnly,[0,1]),l=e.transform,c=function(e,i){const o=e.properties.get("position"),a=[-o.x,-o.y,-o.z],r=t.ap(new Float64Array(16));return "map"===e.properties.get("anchor")&&(t.be(r,r,i.rollInRadians),t.bf(r,r,-i.pitchInRadians),t.be(r,r,i.bearingInRadians),t.bf(r,r,i.center.lat*Math.PI/180),t.bI(r,r,-i.center.lng*Math.PI/180)),t.cg(a,a,r),a}(o,e.transform),h=l.getProjectionData({overscaledTileID:null,applyGlobeMatrix:!0,applyTerrainMatrix:!0}),u=i.properties.get("atmosphere-blend")*h.projectionTransition;if(0===u)return;const d=gi(l.worldSize,l.center.lat),_=l.inverseProjectionMatrix,p=new Float64Array(4);p[3]=1,t.aE(p,p,l.modelViewProjectionMatrix),p[0]/=p[3],p[1]/=p[3],p[2]/=p[3],p[3]=1,t.aE(p,p,_),p[0]/=p[3],p[1]/=p[3],p[2]/=p[3],p[3]=1;const m=((e,t,i,o,a)=>({u_sun_pos:e,u_atmosphere_blend:t,u_globe_position:i,u_globe_radius:o,u_inv_proj_matrix:a}))(c,u,[p[0],p[1],p[2]],d,_),f=$a(a,i);s.draw(a,r.TRIANGLES,n,ri.disabled,ei.alphaBlended,ii.disabled,m,null,null,"atmosphere",f.vertexBuffer,f.indexBuffer,f.segments);},custom:function(e,t,i,o){const{isRenderingGlobe:a}=o,r=e.context,s=i.implementation,n=e.style.projection,l=e.transform,c=l.getProjectionDataForCustomLayer(a),h={farZ:l.farZ,nearZ:l.nearZ,fov:l.fov*Math.PI/180,modelViewProjectionMatrix:l.modelViewProjectionMatrix,projectionMatrix:l.projectionMatrix,shaderData:{variantName:n.shaderVariantName,vertexShaderPrelude:`const float PI = 3.141592653589793;\nuniform mat4 u_projection_matrix;\n${n.shaderPreludeCode.vertexSource}`,define:n.shaderDefine},defaultProjectionData:c},u=s.renderingMode?s.renderingMode:"2d";if("offscreen"===e.renderPass){const t=s.prerender;t&&(e.setCustomLayerDefaults(),r.setColorMode(e.colorModeForRenderPass()),t.call(s,r.gl,h),r.setDirty(),e.setBaseState());}else if("translucent"===e.renderPass){e.setCustomLayerDefaults(),r.setColorMode(e.colorModeForRenderPass()),r.setStencilMode(ri.disabled);const t="3d"===u?e.getDepthModeFor3D():e.getDepthModeForSublayer(0,oi.ReadOnly);r.setDepthMode(t),s.render(r.gl,h),r.setDirty(),e.setBaseState(),r.bindFramebuffer.set(null);}},debug:function(e,t,i){for(const o of i)Wa(e,t,o);},debugPadding:function(e){const t=e.transform.padding;Ua(e,e.transform.height-(t.top||0),3,Ba),Ua(e,t.bottom||0,3,Oa),Ga(e,t.left||0,3,ja),Ga(e,e.transform.width-(t.right||0),3,Na);const i=e.transform.centerPoint;!function(e,t,i,o){Va(e,t-1,i-10,2,20,o),Va(e,t-10,i-1,20,2,o);}(e,i.x,e.transform.height-i.y,Za);},terrainDepth:function(e,i){const o=e.context,a=o.gl,r=e.transform,s=ei.unblended,n=new oi(a.LEQUAL,oi.ReadWrite,[0,1]),l=i.tileManager.getRenderableTiles(),c=e.useProgram("terrainDepth");o.bindFramebuffer.set(i.getFramebuffer("depth").framebuffer),o.viewport.set([0,0,e.width/devicePixelRatio,e.height/devicePixelRatio]),o.clear({color:t.bo.transparent,depth:1});for(const e of l){const t=i.getTerrainMesh(e.tileID),l=i.getTerrainData(e.tileID),h=r.getProjectionData({overscaledTileID:e.tileID,applyTerrainMatrix:!1,applyGlobeMatrix:!0}),u={u_ele_delta:i.getMeshFrameDelta(r.zoom)};c.draw(o,a.TRIANGLES,n,ri.disabled,s,ii.backCCW,u,l,h,"terrain",t.vertexBuffer,t.indexBuffer,t.segments);}o.bindFramebuffer.set(null),o.viewport.set([0,0,e.width,e.height]);},terrainCoords:function(e,i){const o=e.context,a=o.gl,r=e.transform,s=ei.unblended,n=new oi(a.LEQUAL,oi.ReadWrite,[0,1]),l=i.getCoordsTexture(),c=i.tileManager.getRenderableTiles(),h=e.useProgram("terrainCoords");o.bindFramebuffer.set(i.getFramebuffer("coords").framebuffer),o.viewport.set([0,0,e.width/devicePixelRatio,e.height/devicePixelRatio]),o.clear({color:t.bo.transparent,depth:1}),i.coordsIndex=[];for(const e of c){const t=i.getTerrainMesh(e.tileID),c=i.getTerrainData(e.tileID);o.activeTexture.set(a.TEXTURE0),a.bindTexture(a.TEXTURE_2D,l.texture);const u={u_terrain_coords_id:(255-i.coordsIndex.length)/255,u_texture:0,u_ele_delta:i.getMeshFrameDelta(r.zoom)},d=r.getProjectionData({overscaledTileID:e.tileID,applyTerrainMatrix:!1,applyGlobeMatrix:!0});h.draw(o,a.TRIANGLES,n,ri.disabled,s,ii.backCCW,u,c,d,"terrain",t.vertexBuffer,t.indexBuffer,t.segments),i.coordsIndex.push(e.tileID.key);}o.bindFramebuffer.set(null),o.viewport.set([0,0,e.width,e.height]);}};class Xa{constructor(e,i){this.drawFunctions=Ha,this.context=new ca(e),this.transform=i,this._tileTextures={},this.terrainFacilitator={depthDirty:!0,coordsDirty:!1,matrix:t.ap(new Float64Array(16)),renderTime:0},this.setup(),this.numSublayers=Fe.maxOverzooming+Fe.maxUnderzooming+1,this.depthEpsilon=1/Math.pow(2,16),this.crossTileSymbolIndex=new At;}resize(e,t,i){if(this.width=Math.floor(e*i),this.height=Math.floor(t*i),this.pixelRatio=i,this.context.viewport.set([0,0,this.width,this.height]),this.style)for(const e of this.style._order)this.style._layers[e].resize();}setup(){const e=this.context,i=new t.aU;i.emplaceBack(0,0),i.emplaceBack(t.a6,0),i.emplaceBack(0,t.a6),i.emplaceBack(t.a6,t.a6),this.tileExtentBuffer=e.createVertexBuffer(i,Ot.members),this.tileExtentSegments=t.aV.simpleSegment(0,0,4,2);const o=new t.aU;o.emplaceBack(0,0),o.emplaceBack(t.a6,0),o.emplaceBack(0,t.a6),o.emplaceBack(t.a6,t.a6),this.debugBuffer=e.createVertexBuffer(o,Ot.members),this.debugSegments=t.aV.simpleSegment(0,0,4,5);const a=new t.ch;a.emplaceBack(0,0,0,0),a.emplaceBack(t.a6,0,t.a6,0),a.emplaceBack(0,t.a6,0,t.a6),a.emplaceBack(t.a6,t.a6,t.a6,t.a6),this.rasterBoundsBuffer=e.createVertexBuffer(a,Bi.members),this.rasterBoundsSegments=t.aV.simpleSegment(0,0,4,2);const r=new t.aU;r.emplaceBack(0,0),r.emplaceBack(t.a6,0),r.emplaceBack(0,t.a6),r.emplaceBack(t.a6,t.a6),this.rasterBoundsBufferPosOnly=e.createVertexBuffer(r,Ot.members),this.rasterBoundsSegmentsPosOnly=t.aV.simpleSegment(0,0,4,5);const s=new t.aU;s.emplaceBack(0,0),s.emplaceBack(1,0),s.emplaceBack(0,1),s.emplaceBack(1,1),this.viewportBuffer=e.createVertexBuffer(s,Ot.members),this.viewportSegments=t.aV.simpleSegment(0,0,4,2);const n=new t.ci;n.emplaceBack(0),n.emplaceBack(1),n.emplaceBack(3),n.emplaceBack(2),n.emplaceBack(0),this.tileBorderIndexBuffer=e.createIndexBuffer(n);const l=new t.aW;l.emplaceBack(1,0,2),l.emplaceBack(1,2,3),this.quadTriangleIndexBuffer=e.createIndexBuffer(l);const c=this.context.gl;this.stencilClearMode=new ri({func:c.ALWAYS,mask:0},0,255,c.ZERO,c.ZERO,c.ZERO),this.tileExtentMesh=new Bt(this.tileExtentBuffer,this.quadTriangleIndexBuffer,this.tileExtentSegments);}clearStencil(){const e=this.context,i=e.gl;this.nextStencilID=1,this.currentStencilSource=void 0;const o=t.O();t.c7(o,0,this.width,this.height,0,0,1),t.S(o,o,[i.drawingBufferWidth,i.drawingBufferHeight,0]);const a={mainMatrix:o,tileMercatorCoords:[0,0,1,1],clippingPlane:[0,0,0,0],projectionTransition:0,fallbackMatrix:o};this.useProgram("clippingMask",null,!0).draw(e,i.TRIANGLES,oi.disabled,this.stencilClearMode,ei.disabled,ii.disabled,null,null,a,"$clipping",this.viewportBuffer,this.quadTriangleIndexBuffer,this.viewportSegments);}_renderTileClippingMasks(e,t,i){if(this.currentStencilSource===e.source||!e.isTileClipped()||!(null==t?void 0:t.length))return;this.currentStencilSource=e.source,this.nextStencilID+t.length>256&&this.clearStencil();const o=this.context;o.setColorMode(ei.disabled),o.setDepthMode(oi.disabled);const a={};for(const e of t)a[e.key]=this.nextStencilID++;this._renderTileMasks(a,t,i,!0),this._renderTileMasks(a,t,i,!1),this._tileClippingMaskIDs=a;}_renderTileMasks(e,t,i,o){var a;const r=this.context,s=r.gl,n=this.style.projection,l=this.transform,c=this.useProgram("clippingMask");for(const h of t){const t=e[h.key],u=null===(a=this.style.map.terrain)||void 0===a?void 0:a.getTerrainData(h),d=n.getMeshFromTileID(this.context,h.canonical,o,!0,"stencil"),_=l.getProjectionData({overscaledTileID:h,applyGlobeMatrix:!i,applyTerrainMatrix:!0});c.draw(r,s.TRIANGLES,oi.disabled,new ri({func:s.ALWAYS,mask:0},t,255,s.KEEP,s.KEEP,s.REPLACE),ei.disabled,i?ii.disabled:ii.backCCW,null,u,_,"$clipping",d.vertexBuffer,d.indexBuffer,d.segments);}}_renderTilesDepthBuffer(){var e;const t=this.context,i=t.gl,o=this.style.projection,a=this.transform,r=this.useProgram("depth"),s=this.getDepthModeFor3D(),n=Me(a,{tileSize:a.tileSize});for(const l of n){const n=null===(e=this.style.map.terrain)||void 0===e?void 0:e.getTerrainData(l),c=o.getMeshFromTileID(this.context,l.canonical,!0,!0,"raster"),h=a.getProjectionData({overscaledTileID:l,applyGlobeMatrix:!0,applyTerrainMatrix:!0});r.draw(t,i.TRIANGLES,s,ri.disabled,ei.disabled,ii.backCCW,null,n,h,"$clipping",c.vertexBuffer,c.indexBuffer,c.segments);}}stencilModeFor3D(){this.currentStencilSource=void 0,this.nextStencilID+1>256&&this.clearStencil();const e=this.nextStencilID++,t=this.context.gl;return new ri({func:t.NOTEQUAL,mask:255},e,255,t.KEEP,t.KEEP,t.REPLACE)}stencilModeForClipping(e){const t=this.context.gl;return new ri({func:t.EQUAL,mask:255},this._tileClippingMaskIDs[e.key],0,t.KEEP,t.KEEP,t.REPLACE)}getStencilConfigForOverlapAndUpdateStencilID(e){const t=this.context.gl,i=e.sort(((e,t)=>t.overscaledZ-e.overscaledZ)),o=i[i.length-1].overscaledZ,a=i[0].overscaledZ-o+1;if(a>1){this.currentStencilSource=void 0,this.nextStencilID+a>256&&this.clearStencil();const e={};for(let i=0;it.overscaledZ-e.overscaledZ)),o=i[i.length-1].overscaledZ,a=i[0].overscaledZ-o+1;if(this.clearStencil(),a>1){const e={},r={};for(let i=0;i0};for(const e in n){const t=n[e];t.used&&t.prepare(this.context),l[e]=t.getVisibleCoordinates(!1),h[e]=l[e].slice().reverse(),u[e]=t.getVisibleCoordinates(!0).reverse();}this.opaquePassCutoff=1/0;for(let e=0;ethis.useProgram(e)}),this.context.viewport.set([0,0,this.width,this.height]),this.context.bindFramebuffer.set(null),this.context.clear({color:i.showOverdrawInspector?t.bo.black:t.bo.transparent,depth:1}),this.clearStencil(),this.style.sky&&this.drawFunctions.sky(this,this.style.sky),this._showOverdrawInspector=i.showOverdrawInspector,this.depthRangeFor3D=[0,1-(e._order.length+2)*this.numSublayers*this.depthEpsilon],!this.renderToTexture)for(this.renderPass="opaque",this.currentLayer=s.length-1;this.currentLayer>=0;this.currentLayer--){const e=this.style._layers[s[this.currentLayer]],t=n[e.source],i=l[e.source];this._renderTileClippingMasks(e,i,!1),this.renderLayer(this,t,e,i,d);}this.renderPass="translucent";let _=!1;for(this.currentLayer=0;this.currentLayeri.source&&!i.isHidden(t)?[e.tileManagers[i.source]]:[])),a=o.filter((e=>"vector"===e.getSource().type)),r=o.filter((e=>"vector"!==e.getSource().type)),s=e=>{(!i||i.getSource().maxzoom0?t.pop():null}isPatternMissing(e){if(!e)return !1;if(!e.from||!e.to)return !0;const t=this.imageManager.getPattern(e.from.toString()),i=this.imageManager.getPattern(e.to.toString());return !t||!i}useProgram(e,t,i=!1,o=[]){var a;this.cache||(this.cache={});const r=!!this.style.map.terrain,s=this.style.projection,n=i?Ft.projectionMercator:s.shaderPreludeCode,l=i?jt:s.shaderDefine,c=e+(t?t.cacheKey:"")+`/${i?Nt:s.shaderVariantName}`+(this._showOverdrawInspector?"/overdraw":"")+(r?"/terrain":"")+(o?`/${o.join("/")}`:"");return (a=this.cache)[c]||(a[c]=new Ui(this.context,Ft[e],t,yo[e],this._showOverdrawInspector,r,n,l,o)),this.cache[c]}setCustomLayerDefaults(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault();}setBaseState(){const e=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(e.FUNC_ADD);}initDebugOverlayCanvas(){null==this.debugOverlayCanvas&&(this.debugOverlayCanvas=document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512,this.debugOverlayTexture=new t.T(this.context,this.debugOverlayCanvas,this.context.gl.RGBA));}destroy(){var e,t;if(this._tileTextures){for(const e in this._tileTextures){const t=this._tileTextures[e];if(t)for(const e of t)e.destroy();}this._tileTextures={};}if(this.tileExtentBuffer&&this.tileExtentBuffer.destroy(),this.debugBuffer&&this.debugBuffer.destroy(),this.rasterBoundsBuffer&&this.rasterBoundsBuffer.destroy(),this.rasterBoundsBufferPosOnly&&this.rasterBoundsBufferPosOnly.destroy(),this.viewportBuffer&&this.viewportBuffer.destroy(),this.tileBorderIndexBuffer&&this.tileBorderIndexBuffer.destroy(),this.quadTriangleIndexBuffer&&this.quadTriangleIndexBuffer.destroy(),this.tileExtentMesh&&(null===(e=this.tileExtentMesh.vertexBuffer)||void 0===e||e.destroy()),this.tileExtentMesh&&(null===(t=this.tileExtentMesh.indexBuffer)||void 0===t||t.destroy()),this.debugOverlayTexture&&this.debugOverlayTexture.destroy(),this.cache){for(const e in this.cache){const t=this.cache[e];(null==t?void 0:t.program)&&this.context.gl.deleteProgram(t.program);}this.cache={};}this.context&&this.context.setDefault();}overLimit(){const{drawingBufferWidth:e,drawingBufferHeight:t}=this.context.gl;return this.width!==e||this.height!==t}}function Ka(e,t){let i,o=!1,a=null;const r=()=>{a=null,o&&(e(...i),a=setTimeout(r,t),o=!1);};return (...e)=>(o=!0,i=e,a||r(),a)}Xa.MAX_TEXTURE_POOL_SIZE_PER_BUCKET=50;class Ya{constructor(e){this._getCurrentHash=()=>{const e=window.location.hash.replace("#","");if(this._hashName){let t;const i=e.split("&").map((e=>e.split("=")));for(const e of i)e[0]===this._hashName&&(t=e);return (t&&t[1]||"").split("/")}return e.split("/")},this._onHashChange=()=>{const e=this._getCurrentHash();if(!this._isValidHash(e))return !1;const t=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(e[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+e[2],+e[1]],zoom:+e[0],bearing:t,pitch:+(e[4]||0)}),!0},this._updateHashUnthrottled=()=>{const e=window.location.href.replace(/(#.*)?$/,this.getHashString());window.history.replaceState(window.history.state,null,e);},this._removeHash=()=>{const e=this._getCurrentHash();if(0===e.length)return;const t=e.join("/");let i=t;i.split("&").length>0&&(i=i.split("&")[0]),this._hashName&&(i=`${this._hashName}=${t}`);let o=window.location.hash.replace(i,"");o.startsWith("#&")?o=o.slice(0,1)+o.slice(2):"#"===o&&(o="");let a=window.location.href.replace(/(#.+)?$/,o);a=a.replace("&&","&"),window.history.replaceState(window.history.state,null,a);},this._updateHash=Ka(this._updateHashUnthrottled,300),this._hashName=e&&encodeURIComponent(e);}addTo(e){return this._map=e,addEventListener("hashchange",this._onHashChange,!1),this._map.on("moveend",this._updateHash),this}remove(){return removeEventListener("hashchange",this._onHashChange,!1),this._map.off("moveend",this._updateHash),clearTimeout(this._updateHash()),this._removeHash(),delete this._map,this}getHashString(e){const t=this._map.getCenter(),i=Math.round(100*this._map.getZoom())/100,o=Math.ceil((i*Math.LN2+Math.log(512/360/.5))/Math.LN10),a=Math.pow(10,o),r=Math.round(t.lng*a)/a,s=Math.round(t.lat*a)/a,n=this._map.getBearing(),l=this._map.getPitch();let c="";if(c+=e?`/${r}/${s}/${i}`:`${i}/${s}/${r}`,(n||l)&&(c+="/"+Math.round(10*n)/10),l&&(c+=`/${Math.round(l)}`),this._hashName){const e=this._hashName;let t=!1;const i=window.location.hash.slice(1).split("&").map((i=>{const o=i.split("=")[0];return o===e?(t=!0,`${o}=${c}`):i})).filter((e=>e));return t||i.push(`${e}=${c}`),`#${i.join("&")}`}return `#${c}`}_isValidHash(e){if(e.length<3||e.some(isNaN))return !1;try{new t.W(+e[2],+e[1]);}catch(e){return !1}const i=+e[0],o=+(e[3]||0),a=+(e[4]||0);return i>=this._map.getMinZoom()&&i<=this._map.getMaxZoom()&&o>=-180&&o<=180&&a>=this._map.getMinPitch()&&a<=this._map.getMaxPitch()}}const Qa={linearity:.3,easing:t.cv(0,0,.3,1)},Ja=t.e({deceleration:2500,maxSpeed:1400},Qa),er=t.e({deceleration:20,maxSpeed:1400},Qa),tr=t.e({deceleration:1e3,maxSpeed:360},Qa),ir=t.e({deceleration:1e3,maxSpeed:90},Qa),or=t.e({deceleration:1e3,maxSpeed:360},Qa);class ar{constructor(e){this._map=e,this.clear();}clear(){this._inertiaBuffer=[];}record(e){this._drainInertiaBuffer(),this._inertiaBuffer.push({time:c(),settings:e});}_drainInertiaBuffer(){const e=this._inertiaBuffer,t=c();for(;e.length>0&&t-e[0].time>160;)e.shift();}_onMoveEnd(e){if(this._drainInertiaBuffer(),this._inertiaBuffer.length<2)return;const i={zoom:0,bearing:0,pitch:0,roll:0,pan:new t.P(0,0),pinchAround:void 0,around:void 0};for(const{settings:e}of this._inertiaBuffer)i.zoom+=e.zoomDelta||0,i.bearing+=e.bearingDelta||0,i.pitch+=e.pitchDelta||0,i.roll+=e.rollDelta||0,e.panDelta&&i.pan._add(e.panDelta),e.around&&(i.around=e.around),e.pinchAround&&(i.pinchAround=e.pinchAround);const o=this._inertiaBuffer[this._inertiaBuffer.length-1].time-this._inertiaBuffer[0].time,a={};if(i.pan.mag()){const r=sr(i.pan.mag(),o,t.e({},Ja,e||{})),s=i.pan.mult(r.amount/i.pan.mag()),n=this._map.cameraHelper.handlePanInertia(s,this._map.transform);a.center=n.easingCenter,a.offset=n.easingOffset,rr(a,r);}if(i.zoom){const e=sr(i.zoom,o,er);a.zoom=t.cw(this._map.transform.zoom+e.amount,this._map.getZoomSnap(),e.amount),rr(a,e);}if(i.bearing){const e=sr(i.bearing,o,tr);a.bearing=this._map.transform.bearing+t.al(e.amount,-179,179),rr(a,e);}if(i.pitch){const e=sr(i.pitch,o,ir);a.pitch=this._map.transform.pitch+e.amount,rr(a,e);}if(i.roll){const e=sr(i.roll,o,or);a.roll=this._map.transform.roll+t.al(e.amount,-179,179),rr(a,e);}if(a.zoom||a.bearing){const e=void 0===i.pinchAround?i.around:i.pinchAround;a.around=e?this._map.unproject(e):this._map.getCenter();}return this.clear(),t.e(a,{noMoveStart:!0})}}function rr(e,t){(!e.duration||e.durationi.unproject(e))),n=r.reduce(((e,t,i,o)=>e.add(t.div(o.length))),new t.P(0,0));super(e,{points:r,point:n,lngLats:s,lngLat:i.unproject(n),originalEvent:o}),this._defaultPrevented=!1;}}class cr extends t.n{preventDefault(){this._defaultPrevented=!0;}get defaultPrevented(){return this._defaultPrevented}constructor(e,t,i){super(e,{originalEvent:i}),this._defaultPrevented=!1;}}class hr{constructor(e,t){this._map=e,this._clickTolerance=t.clickTolerance;}reset(){delete this._mousedownPos;}wheel(e){return this._firePreventable(new cr(e.type,this._map,e))}mousedown(e,t){return this._mousedownPos=t,this._firePreventable(new nr(e.type,this._map,e))}mouseup(e){this._map.fire(new nr(e.type,this._map,e));}click(e,t){this._mousedownPos&&this._mousedownPos.dist(t)>=this._clickTolerance||this._map.fire(new nr(e.type,this._map,e));}dblclick(e){return this._firePreventable(new nr(e.type,this._map,e))}mouseover(e){this._map.fire(new nr(e.type,this._map,e));}mouseout(e){this._map.fire(new nr(e.type,this._map,e));}touchstart(e){return this._firePreventable(new lr(e.type,this._map,e))}touchmove(e){this._map.fire(new lr(e.type,this._map,e));}touchend(e){this._map.fire(new lr(e.type,this._map,e));}touchcancel(e){this._map.fire(new lr(e.type,this._map,e));}_firePreventable(e){if(this._map.fire(e),e.defaultPrevented)return {}}isEnabled(){return !0}isActive(){return !1}enable(){}disable(){}}class ur{constructor(e){this._map=e;}reset(){this._delayContextMenu=!1,this._ignoreContextMenu=!0,delete this._contextMenuEvent;}mousemove(e){this._map.fire(new nr(e.type,this._map,e));}mousedown(){this._delayContextMenu=!0,this._ignoreContextMenu=!1;}mouseup(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new nr("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent);}contextmenu(e){this._delayContextMenu?this._contextMenuEvent=e:this._ignoreContextMenu||this._map.fire(new nr(e.type,this._map,e)),this._map.listens("contextmenu")&&e.preventDefault();}isEnabled(){return !0}isActive(){return !1}enable(){}disable(){}}class dr{constructor(e){this._map=e;}get transform(){return this._map._requestedCameraState||this._map.transform}get center(){return {lng:this.transform.center.lng,lat:this.transform.center.lat}}get zoom(){return this.transform.zoom}get pitch(){return this.transform.pitch}get bearing(){return this.transform.bearing}unproject(e){return this.transform.screenPointToLocation(t.P.convert(e),this._map.terrain)}}class _r{constructor(e,t){this._map=e,this._tr=new dr(e),this._el=e.getCanvasContainer(),this._container=e.getContainer(),this._clickTolerance=t.clickTolerance||1,t.boxZoom&&"object"==typeof t.boxZoom&&(this._boxZoomEnd=t.boxZoom.boxZoomEnd);}isEnabled(){return !!this._enabled}isActive(){return !!this._active}enable(){this.isEnabled()||(this._enabled=!0);}disable(){this.isEnabled()&&(this._enabled=!1);}mousedown(e,t){this.isEnabled()&&e.shiftKey&&0===e.button&&(d.disableDrag(),this._startPos=this._lastPos=t,this._active=!0);}mousemoveWindow(e,t){if(!this._active)return;const i=t;if(this._lastPos.equals(i)||!this._box&&i.dist(this._startPos)e.fitScreenCoordinates(o,a,this._tr.bearing,{linear:!0})};this._fireEvent("boxzoomcancel",e);}keydown(e){this._active&&27===e.keyCode&&(this.reset(),this._fireEvent("boxzoomcancel",e));}reset(){this._active=!1,this._container.classList.remove("maplibregl-crosshair"),this._box&&(this._box.remove(),this._box=null),d.enableDrag(),delete this._startPos,delete this._lastPos;}_fireEvent(e,i){return this._map.fire(new t.n(e,{originalEvent:i}))}}function pr(e,t){if(e.length!==t.length)throw new Error(`The number of touches and points are not equal - touches ${e.length}, points ${t.length}`);const i={};for(let o=0;othis.numTouches)&&(this.aborted=!0),this.aborted||(void 0===this.startTime&&(this.startTime=e.timeStamp),o.length===this.numTouches&&(this.centroid=function(e){const i=new t.P(0,0);for(const t of e)i._add(t);return i.div(e.length)}(i),this.touches=pr(o,i)));}touchmove(e,t,i){if(this.aborted||!this.centroid)return;const o=pr(i,t);for(const e in this.touches){const t=o[e];(!t||t.dist(this.touches[e])>30)&&(this.aborted=!0);}}touchend(e,t,i){if((!this.centroid||e.timeStamp-this.startTime>500)&&(this.aborted=!0),0===i.length){const e=!this.aborted&&this.centroid;if(this.reset(),e)return e}}}class fr{constructor(e){this.singleTap=new mr(e),this.numTaps=e.numTaps,this.reset();}reset(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset();}touchstart(e,t,i){this.singleTap.touchstart(e,t,i);}touchmove(e,t,i){this.singleTap.touchmove(e,t,i);}touchend(e,t,i){const o=this.singleTap.touchend(e,t,i);if(o){const t=e.timeStamp-this.lastTime<500,i=!this.lastTap||this.lastTap.dist(o)<30;if(t&&i||this.reset(),this.count++,this.lastTime=e.timeStamp,this.lastTap=o,this.count===this.numTaps)return this.reset(),o}}}class gr{constructor(e){this._tr=new dr(e),this._zoomIn=new fr({numTouches:1,numTaps:2}),this._zoomOut=new fr({numTouches:2,numTaps:1}),this.reset();}reset(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset();}touchstart(e,t,i){this._zoomIn.touchstart(e,t,i),this._zoomOut.touchstart(e,t,i);}touchmove(e,t,i){this._zoomIn.touchmove(e,t,i),this._zoomOut.touchmove(e,t,i);}touchend(e,i,o){const a=this._zoomIn.touchend(e,i,o),r=this._zoomOut.touchend(e,i,o),s=this._tr;return a?(this._active=!0,e.preventDefault(),setTimeout((()=>this.reset()),0),{cameraAnimation:i=>i.easeTo({duration:300,zoom:t.cw(s.zoom+1,i.getZoomSnap()),around:s.unproject(a)},{originalEvent:e})}):r?(this._active=!0,e.preventDefault(),setTimeout((()=>this.reset()),0),{cameraAnimation:i=>i.easeTo({duration:300,zoom:t.cw(s.zoom-1,i.getZoomSnap()),around:s.unproject(r)},{originalEvent:e})}):void 0}touchcancel(){this.reset();}enable(){this._enabled=!0;}disable(){this._enabled=!1,this.reset();}isEnabled(){return this._enabled}isActive(){return this._active}}class vr{constructor(e){this._enabled=!!e.enable,this._moveStateManager=e.moveStateManager,this._clickTolerance=e.clickTolerance||1,this._moveFunction=e.move,this._activateOnStart=!!e.activateOnStart,e.assignEvents(this),this.reset();}reset(e){this._active=!1,this._moved=!1,delete this._lastPoint,this._moveStateManager.endMove(e);}_move(...e){const t=this._moveFunction(...e);if(t.bearingDelta||t.pitchDelta||t.rollDelta||t.around||t.panDelta)return this._active=!0,t}dragStart(e,t){this.isEnabled()&&!this._lastPoint&&this._moveStateManager.isValidStartEvent(e)&&(this._moveStateManager.startMove(e),this._lastPoint=Array.isArray(t)?t[0]:t,this._activateOnStart&&this._lastPoint&&(this._active=!0));}dragMove(e,t){if(!this.isEnabled())return;const i=this._lastPoint;if(!i)return;if(e.preventDefault(),!this._moveStateManager.isValidMoveEvent(e))return void this.reset(e);const o=Array.isArray(t)?t[0]:t;return !this._moved&&o.dist(i)!0}),t=new Tr){this.mouseMoveStateManager=e,this.oneFingerTouchMoveStateManager=t;}_executeRelevantHandler(e,t,i){return e instanceof MouseEvent?t(e):"undefined"!=typeof TouchEvent&&e instanceof TouchEvent?i(e):void 0}startMove(e){this._executeRelevantHandler(e,(e=>{this.mouseMoveStateManager.startMove(e);}),(e=>{this.oneFingerTouchMoveStateManager.startMove(e);}));}endMove(e){this._executeRelevantHandler(e,(e=>{this.mouseMoveStateManager.endMove(e);}),(e=>{this.oneFingerTouchMoveStateManager.endMove(e);}));}isValidStartEvent(e){return this._executeRelevantHandler(e,(e=>this.mouseMoveStateManager.isValidStartEvent(e)),(e=>this.oneFingerTouchMoveStateManager.isValidStartEvent(e)))}isValidMoveEvent(e){return this._executeRelevantHandler(e,(e=>this.mouseMoveStateManager.isValidMoveEvent(e)),(e=>this.oneFingerTouchMoveStateManager.isValidMoveEvent(e)))}isValidEndEvent(e){return this._executeRelevantHandler(e,(e=>this.mouseMoveStateManager.isValidEndEvent(e)),(e=>this.oneFingerTouchMoveStateManager.isValidEndEvent(e)))}}const Cr=e=>{e.mousedown=e.dragStart,e.mousemoveWindow=e.dragMove,e.mouseup=e.dragEnd,e.contextmenu=e=>{e.preventDefault();};};class Mr{constructor(e,t){this._clickTolerance=e.clickTolerance||1,this._map=t,this.reset();}reset(){this._active=!1,this._touches={},this._sum=new t.P(0,0);}_shouldBePrevented(e){return e<(this._map.cooperativeGestures.isEnabled()?2:1)}touchstart(e,t,i){return this._calculateTransform(e,t,i)}touchmove(e,t,i){if(this._active){if(!this._shouldBePrevented(i.length))return e.preventDefault(),this._calculateTransform(e,t,i);this._map.cooperativeGestures.notifyGestureBlocked("touch_pan",e);}}touchend(e,t,i){this._calculateTransform(e,t,i),this._active&&this._shouldBePrevented(i.length)&&this.reset();}touchcancel(){this.reset();}_calculateTransform(e,i,o){o.length>0&&(this._active=!0);const a=pr(o,i),r=new t.P(0,0),s=new t.P(0,0);let n=0;for(const e in a){const t=a[e],i=this._touches[e];i&&(r._add(t),s._add(t.sub(i)),n++,a[e]=t);}if(this._touches=a,this._shouldBePrevented(n)||!s.mag())return;const l=s.div(n);return this._sum._add(l),this._sum.mag()Math.abs(e.x)}class Lr extends Ir{constructor(e){super(),this._currentTouchCount=0,this._map=e;}reset(){super.reset(),this._valid=void 0,delete this._firstMove,delete this._lastPoints;}touchstart(e,t,i){super.touchstart(e,t,i),this._currentTouchCount=i.length;}_start(e){this._lastPoints=e,Ar(e[0].sub(e[1]))&&(this._valid=!1);}_move(e,t,i){if(this._map.cooperativeGestures.isEnabled()&&this._currentTouchCount<3)return;const o=e[0].sub(this._lastPoints[0]),a=e[1].sub(this._lastPoints[1]);return this._valid=this.gestureBeginsVertically(o,a,i.timeStamp),this._valid?(this._lastPoints=e,this._active=!0,{pitchDelta:(o.y+a.y)/2*-.5}):void 0}gestureBeginsVertically(e,t,i){if(void 0!==this._valid)return this._valid;const o=e.mag()>=2,a=t.mag()>=2;if(!o&&!a)return;if(!o||!a)return void 0===this._firstMove&&(this._firstMove=i),i-this._firstMove<100&&void 0;const r=e.y>0==t.y>0;return Ar(e)&&Ar(t)&&r}}const Fr={panStep:100,bearingStep:15,pitchStep:10};class kr{constructor(e){this._tr=new dr(e);const t=Fr;this._panStep=t.panStep,this._bearingStep=t.bearingStep,this._pitchStep=t.pitchStep,this._rotationDisabled=!1;}reset(){this._active=!1;}keydown(e){if(e.altKey||e.ctrlKey||e.metaKey)return;let i=0,o=0,a=0,r=0,s=0;switch(e.keyCode){case 61:case 107:case 171:case 187:i=1;break;case 189:case 109:case 173:i=-1;break;case 37:e.shiftKey?o=-1:(e.preventDefault(),r=-1);break;case 39:e.shiftKey?o=1:(e.preventDefault(),r=1);break;case 38:e.shiftKey?a=1:(e.preventDefault(),s=-1);break;case 40:e.shiftKey?a=-1:(e.preventDefault(),s=1);break;default:return}return this._rotationDisabled&&(o=0,a=0),{cameraAnimation:n=>{const l=this._tr;n.easeTo({duration:300,easeId:"keyboardHandler",easing:Br,zoom:i?t.cw(l.zoom+i*(e.shiftKey?2:1),n.getZoomSnap()):l.zoom,bearing:l.bearing+o*this._bearingStep,pitch:l.pitch+a*this._pitchStep,offset:[-r*this._panStep,-s*this._panStep],center:l.center},{originalEvent:e});}}}enable(){this._enabled=!0;}disable(){this._enabled=!1,this.reset();}isEnabled(){return this._enabled}isActive(){return this._active}disableRotation(){this._rotationDisabled=!0;}enableRotation(){this._rotationDisabled=!1;}}function Br(e){return e*(2-e)}const Or=4.000244140625,jr=1/450;class Nr{constructor(e,t){this._onTimeout=e=>{this._type="wheel",this._delta-=this._lastValue,this._active||this._start(e);},this._map=e,this._tr=new dr(e),this._triggerRenderFrame=t,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=jr;}setZoomRate(e){this._defaultZoomRate=e;}setWheelZoomRate(e){this._wheelZoomRate=e;}isEnabled(){return !!this._enabled}isActive(){return !!this._active||void 0!==this._finishTimeout}isZooming(){return !!this._zooming}enable(e){this.isEnabled()||(this._enabled=!0,this._aroundCenter=!!e&&"center"===e.around);}disable(){this.isEnabled()&&(this._enabled=!1);}_shouldBePrevented(e){return !!this._map.cooperativeGestures.isEnabled()&&!(e.ctrlKey||this._map.cooperativeGestures.isBypassed(e))}wheel(e){if(!this.isEnabled())return;if(this._shouldBePrevented(e))return void this._map.cooperativeGestures.notifyGestureBlocked("wheel_zoom",e);let t=e.deltaMode===WheelEvent.DOM_DELTA_LINE?40*e.deltaY:e.deltaY;const i=c(),o=i-(this._lastWheelEventTime||0);this._lastWheelEventTime=i,0!==t&&t%Or==0?this._type="wheel":0!==t&&Math.abs(t)<4?this._type="trackpad":o>400?(this._type=null,this._lastValue=t,this._timeout=setTimeout(this._onTimeout,40,e)):this._type||(this._type=Math.abs(o*t)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,t+=this._lastValue)),e.shiftKey&&t&&(t/=4),this._type&&(this._lastWheelEvent=e,this._delta-=t,this._active||this._start(e)),e.preventDefault();}_start(e){if(!this._delta)return;this._needsRerender=!1,this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);const i=d.mousePos(this._map.getCanvas(),e),o=this._tr;this._aroundPoint=this._aroundCenter?o.transform.locationToScreenPoint(t.W.convert(o.center)):i,this._needsRerender||(this._needsRerender=!0,this._triggerRenderFrame());}renderFrame(){if(!this._needsRerender)return;if(this._needsRerender=!1,!this.isActive())return;const e=this._tr.transform;if("number"==typeof this._lastExpectedZoom){const t=e.zoom-this._lastExpectedZoom;"number"==typeof this._startZoom&&(this._startZoom+=t),"number"==typeof this._targetZoom&&(this._targetZoom+=t);}if(0!==this._delta){const i="wheel"===this._type&&Math.abs(this._delta)>Or?this._wheelZoomRate:this._defaultZoomRate;let o=2/(1+Math.exp(-Math.abs(this._delta*i)));this._delta<0&&0!==o&&(o=1/o);const a="number"!=typeof this._targetZoom?e.scale:t.ao(this._targetZoom),r=e.applyConstrain(e.getCameraLngLat(),t.ar(a*o)).zoom,s=this._map.getZoomSnap();if("wheel"===this._type&&s>0){const i=t.cw(e.zoom,s);this._targetZoom=t.cw(r,s,r-i);}else this._targetZoom=r;"wheel"===this._type&&(this._startZoom=e.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0;}const i="number"!=typeof this._targetZoom?e.zoom:this._targetZoom,o=this._startZoom,a=this._easing;let r,s=!1;if("wheel"===this._type&&o&&a){const e=c()-this._lastWheelEventTime,n=Math.min((e+5)/200,1),l=a(n);r=t.H.number(o,i,l),n<1?this._needsRerender=!0:s=!0;}else r=i,s=!0;return this._active=!0,s&&(this._active=!1,this._finishTimeout=setTimeout((()=>{this._zooming=!1,this._triggerRenderFrame(),delete this._targetZoom,delete this._lastExpectedZoom,delete this._finishTimeout;}),200)),this._lastExpectedZoom=r,{noInertia:!0,needsRenderFrame:!s,zoomDelta:r-e.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}_smoothOutEasing(e){let i=t.cy;if(this._prevEase){const e=this._prevEase,o=(c()-e.start)/e.duration,a=e.easing(o+.01)-e.easing(o),r=.27/Math.sqrt(a*a+1e-4)*.01,s=Math.sqrt(.0729-r*r);i=t.cv(r,s,.25,1);}return this._prevEase={start:c(),duration:e,easing:i},i}reset(){this._active=!1,this._zooming=!1,delete this._targetZoom,delete this._lastExpectedZoom,this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);}}class Zr{constructor(e,t){this._clickZoom=e,this._tapZoom=t;}enable(){this._clickZoom.enable(),this._tapZoom.enable();}disable(){this._clickZoom.disable(),this._tapZoom.disable();}isEnabled(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()}isActive(){return this._clickZoom.isActive()||this._tapZoom.isActive()}}class Ur{constructor(e){this._tr=new dr(e),this.reset();}reset(){this._active=!1;}dblclick(e,i){return e.preventDefault(),{cameraAnimation:o=>{o.easeTo({duration:300,zoom:t.cw(this._tr.zoom+(e.shiftKey?-1:1),o.getZoomSnap()),around:this._tr.unproject(i)},{originalEvent:e});}}}enable(){this._enabled=!0;}disable(){this._enabled=!1,this.reset();}isEnabled(){return this._enabled}isActive(){return this._active}}class Gr{constructor(){this._tap=new fr({numTouches:1,numTaps:1}),this._zoomRate=1,this.reset();}setZoomRate(e){this._zoomRate=null!=e?e:1;}reset(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,delete this._tapPoint,this._tap.reset();}touchstart(e,t,i){if(!this._swipePoint)if(this._tapTime){const o=t[0],a=e.timeStamp-this._tapTime<500,r=this._tapPoint.dist(o)<30;a&&r?i.length>0&&(this._swipePoint=o,this._swipeTouch=i[0].identifier):this.reset();}else this._tap.touchstart(e,t,i);}touchmove(e,t,i){if(this._tapTime){if(this._swipePoint){if(i[0].identifier!==this._swipeTouch)return;const o=t[0],a=o.y-this._swipePoint.y;return this._swipePoint=o,e.preventDefault(),this._active=!0,{zoomDelta:a/128*this._zoomRate}}}else this._tap.touchmove(e,t,i);}touchend(e,t,i){if(this._tapTime)this._swipePoint&&0===i.length&&this.reset();else {const o=this._tap.touchend(e,t,i);o&&(this._tapTime=e.timeStamp,this._tapPoint=o);}}touchcancel(){this.reset();}enable(){this._enabled=!0;}disable(){this._enabled=!1,this.reset();}isEnabled(){return this._enabled}isActive(){return this._active}}class Vr{constructor(e,t,i){this._el=e,this._mousePan=t,this._touchPan=i;}enable(e){this._inertiaOptions=e||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("maplibregl-touch-drag-pan");}disable(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("maplibregl-touch-drag-pan");}isEnabled(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()}isActive(){return this._mousePan.isActive()||this._touchPan.isActive()}}class Wr{constructor(e,t,i,o){this._pitchWithRotate=e.pitchWithRotate,this._rollEnabled=e.rollEnabled,this._mouseRotate=t,this._mousePitch=i,this._mouseRoll=o;}enable(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable(),this._rollEnabled&&this._mouseRoll.enable();}disable(){this._mouseRotate.disable(),this._mousePitch.disable(),this._mouseRoll.disable();}isEnabled(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())&&(!this._rollEnabled||this._mouseRoll.isEnabled())}isActive(){return this._mouseRotate.isActive()||this._mousePitch.isActive()||this._mouseRoll.isActive()}}class qr{constructor(e,t,i,o){this._el=e,this._touchZoom=t,this._touchRotate=i,this._tapDragZoom=o,this._rotationDisabled=!1,this._enabled=!0;}enable(e){this._touchZoom.enable(e),this._rotationDisabled||this._touchRotate.enable(e),this._tapDragZoom.enable(),this._el.classList.add("maplibregl-touch-zoom-rotate");}disable(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("maplibregl-touch-zoom-rotate");}isEnabled(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()}isActive(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()}setZoomRate(e){this._touchZoom.setZoomRate(e),this._tapDragZoom.setZoomRate(e);}setZoomThreshold(e){this._touchZoom.setZoomThreshold(e);}disableRotation(){this._rotationDisabled=!0,this._touchRotate.disable();}enableRotation(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable();}}class $r{constructor(e,t){this._bypassKey=navigator.userAgent.includes("Mac")?"metaKey":"ctrlKey",this._map=e,this._options=t,this._enabled=!1;}isActive(){return !1}reset(){}_setupUI(){if(this._container)return;const e=this._map.getCanvasContainer();e.classList.add("maplibregl-cooperative-gestures"),this._container=d.create("div","maplibregl-cooperative-gesture-screen",e);let t=this._map._getUIString("CooperativeGesturesHandler.WindowsHelpText");"metaKey"===this._bypassKey&&(t=this._map._getUIString("CooperativeGesturesHandler.MacHelpText"));const i=this._map._getUIString("CooperativeGesturesHandler.MobileHelpText"),o=document.createElement("div");o.className="maplibregl-desktop-message",o.textContent=t,this._container.appendChild(o);const a=document.createElement("div");a.className="maplibregl-mobile-message",a.textContent=i,this._container.appendChild(a),this._container.setAttribute("aria-hidden","true");}_destroyUI(){this._container&&(this._container.remove(),this._map.getCanvasContainer().classList.remove("maplibregl-cooperative-gestures")),delete this._container;}enable(){this._setupUI(),this._enabled=!0;}disable(){this._enabled=!1,this._destroyUI();}isEnabled(){return this._enabled}isBypassed(e){return e[this._bypassKey]}notifyGestureBlocked(e,i){this._enabled&&(this._map.fire(new t.n("cooperativegestureprevented",{gestureType:e,originalEvent:i})),this._container.classList.add("maplibregl-show"),setTimeout((()=>{this._container.classList.remove("maplibregl-show");}),100));}}const Hr=e=>e.zoom||e.drag||e.roll||e.pitch||e.rotate;class Xr extends t.n{}function Kr(e){var t;return (null===(t=e.panDelta)||void 0===t?void 0:t.mag())||e.zoomDelta||e.bearingDelta||e.pitchDelta||e.rollDelta}class Yr{get _ownerDocument(){var e;return (null===(e=this._el)||void 0===e?void 0:e.ownerDocument)||document}get _ownerWindow(){var e,t;return (null===(t=null===(e=this._el)||void 0===e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView)||window}constructor(e,i){this.handleWindowEvent=e=>{this.handleEvent(e,`${e.type}Window`);},this.handleEvent=(e,i)=>{if("blur"===e.type)return void this.stop(!0);this._updatingCamera=!0;const o="renderFrame"===e.type?void 0:e,a={needsRenderFrame:!1},r={},s={};for(const{handlerName:n,handler:l,allowed:c}of this._handlers){if(!l.isEnabled())continue;let h;if(this._blockedByActive(s,c,n))l.reset();else if(l[i||e.type]){if(t.cz(e,i||e.type)){const t=d.mousePos(this._map.getCanvas(),e);h=l[i||e.type](e,t);}else if(t.cA(e,i||e.type)){const t=this._getMapTouches(e.touches),o=d.touchPos(this._map.getCanvas(),t);h=l[i||e.type](e,o,t);}else t.cB(i||e.type)||(h=l[i||e.type](e));this.mergeHandlerResult(a,r,h,n,o),(null==h?void 0:h.needsRenderFrame)&&this._triggerRenderFrame();}(h||l.isActive())&&(s[n]=l);}const n={};for(const e in this._previousActiveHandlers)s[e]||(n[e]=o);this._previousActiveHandlers=s,(Object.keys(n).length||Kr(a))&&(this._changes.push([a,r,n]),this._triggerRenderFrame()),(Object.keys(s).length||Kr(a))&&this._map._stop(!0),this._updatingCamera=!1;const{cameraAnimation:l}=a;l&&(this._inertia.clear(),this._fireEvents({},{},!0),this._changes=[],l(this._map));},this._map=e,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new ar(e),this._bearingSnap=i.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(i);const o=this._el;this._listeners=[[o,"touchstart",{passive:!0}],[o,"touchmove",{passive:!1}],[o,"touchend",void 0],[o,"touchcancel",void 0],[o,"mousedown",void 0],[o,"mousemove",void 0],[o,"mouseup",void 0],[this._ownerDocument,"mousemove",{capture:!0}],[this._ownerDocument,"mouseup",void 0],[o,"mouseover",void 0],[o,"mouseout",void 0],[o,"dblclick",void 0],[o,"click",void 0],[o,"keydown",{capture:!1}],[o,"keyup",void 0],[o,"wheel",{passive:!1}],[o,"contextmenu",void 0],[this._ownerWindow,"blur",void 0]];for(const[e,t,i]of this._listeners)e.addEventListener(t,e===this._ownerDocument?this.handleWindowEvent:this.handleEvent,i);}destroy(){for(const[e,t,i]of this._listeners)e.removeEventListener(t,e===this._ownerDocument?this.handleWindowEvent:this.handleEvent,i);}_addDefaultHandlers(e){const i=this._map,o=i.getCanvasContainer();this._add("mapEvent",new hr(i,e));const a=i.boxZoom=new _r(i,e);this._add("boxZoom",a),e.interactive&&e.boxZoom&&a.enable();const r=i.cooperativeGestures=new $r(i,e.cooperativeGestures);this._add("cooperativeGestures",r),e.cooperativeGestures&&r.enable();const s=new gr(i),n=new Ur(i);i.doubleClickZoom=new Zr(n,s),this._add("tapZoom",s),this._add("clickZoom",n),e.interactive&&e.doubleClickZoom&&i.doubleClickZoom.enable();const l=new Gr;this._add("tapDragZoom",l);const c=i.touchPitch=new Lr(i);this._add("touchPitch",c),e.interactive&&e.touchPitch&&i.touchPitch.enable(e.touchPitch);const h=()=>i.project(i.getCenter()),u=function({enable:e,clickTolerance:i,aroundCenter:o=!0,minPixelCenterThreshold:a=100,rotateDegreesPerPixelMoved:r=.8},s){const n=new wr({checkCorrectEvent:e=>0===e.button&&e.ctrlKey||2===e.button&&!e.ctrlKey});return new vr({clickTolerance:i,move:(e,i)=>{const n=s();if(o&&Math.abs(n.y-e.y)>a)return {bearingDelta:t.cx(new t.P(e.x,i.y),i,n)};let l=(i.x-e.x)*r;return o&&i.y0===e.button&&e.ctrlKey||2===e.button});return new vr({clickTolerance:t,move:(e,t)=>({pitchDelta:(t.y-e.y)*i}),moveStateManager:o,enable:e,assignEvents:Cr})}(e),_=function({enable:e,clickTolerance:t,rollDegreesPerPixelMoved:i=.3},o){const a=new wr({checkCorrectEvent:e=>2===e.button&&e.ctrlKey});return new vr({clickTolerance:t,move:(e,t)=>{const a=o();let r=(t.x-e.x)*i;return t.y0===e.button&&!e.ctrlKey});return new vr({clickTolerance:t,move:(e,t)=>({around:t,panDelta:t.sub(e)}),activateOnStart:!0,moveStateManager:i,enable:e,assignEvents:Cr})}(e),m=new Mr(e,i);i.dragPan=new Vr(o,p,m),this._add("mousePan",p),this._add("touchPan",m,["touchZoom","touchRotate"]),e.interactive&&e.dragPan&&i.dragPan.enable(e.dragPan);const f=new Dr,g=new zr;i.touchZoomRotate=new qr(o,g,f,l),this._add("touchRotate",f,["touchPan","touchZoom"]),this._add("touchZoom",g,["touchPan","touchRotate"]),e.interactive&&e.touchZoomRotate&&i.touchZoomRotate.enable(e.touchZoomRotate),this._add("blockableMapEvent",new ur(i));const v=i.scrollZoom=new Nr(i,(()=>this._triggerRenderFrame()));this._add("scrollZoom",v,["mousePan"]),e.interactive&&e.scrollZoom&&i.scrollZoom.enable(e.scrollZoom);const x=i.keyboard=new kr(i);this._add("keyboard",x),e.interactive&&e.keyboard&&i.keyboard.enable();}_add(e,t,i){this._handlers.push({handlerName:e,handler:t,allowed:i}),this._handlersById[e]=t;}stop(e){if(!this._updatingCamera){for(const{handler:e}of this._handlers)e.reset();this._inertia.clear(),this._fireEvents({},{},e),this._changes=[];}}isActive(){for(const{handler:e}of this._handlers)if(e.isActive())return !0;return !1}isZooming(){return !!this._eventsInProgress.zoom||this._map.scrollZoom.isZooming()}isRotating(){return !!this._eventsInProgress.rotate}isMoving(){return Boolean(Hr(this._eventsInProgress))||this.isZooming()}_blockedByActive(e,t,i){for(const o in e)if(o!==i&&!(null==t?void 0:t.includes(o)))return !0;return !1}_getMapTouches(e){const t=[];for(const i of e)this._el.contains(i.target)&&t.push(i);return t}mergeHandlerResult(e,i,o,a,r){if(!o)return;t.e(e,o);const s={handlerName:a,originalEvent:o.originalEvent||r};void 0!==o.zoomDelta&&(i.zoom=s),void 0!==o.panDelta&&(i.drag=s),void 0!==o.rollDelta&&(i.roll=s),void 0!==o.pitchDelta&&(i.pitch=s),void 0!==o.bearingDelta&&(i.rotate=s);}_applyChanges(){const e={},i={},o={};for(const[a,r,s]of this._changes)a.panDelta&&(e.panDelta=(e.panDelta||new t.P(0,0))._add(a.panDelta)),a.zoomDelta&&(e.zoomDelta=(e.zoomDelta||0)+a.zoomDelta),a.bearingDelta&&(e.bearingDelta=(e.bearingDelta||0)+a.bearingDelta),a.pitchDelta&&(e.pitchDelta=(e.pitchDelta||0)+a.pitchDelta),a.rollDelta&&(e.rollDelta=(e.rollDelta||0)+a.rollDelta),void 0!==a.around&&(e.around=a.around),void 0!==a.pinchAround&&(e.pinchAround=a.pinchAround),a.noInertia&&(e.noInertia=a.noInertia),t.e(i,r),t.e(o,s);this._updateMapTransform(e,i,o),this._changes=[];}_updateMapTransform(e,t,i){const o=this._map,a=o._getTransformForUpdate(),r=o.terrain;if(!(Kr(e)||r&&this._terrainMovement))return void this._fireEvents(t,i,!0);o._stop(!0);let{panDelta:s,zoomDelta:n,bearingDelta:l,pitchDelta:c,rollDelta:h,around:u,pinchAround:d}=e;void 0!==d&&(u=d),u||(u=o.transform.centerPoint),r&&!a.isPointOnMapSurface(u)&&(u=a.centerPoint);const _={panDelta:s,zoomDelta:n,rollDelta:h,pitchDelta:c,bearingDelta:l,around:u};this._map.cameraHelper.useGlobeControls&&!a.isPointOnMapSurface(u)&&(u=a.centerPoint);const p=u.distSqr(a.centerPoint)<.01?a.center:a.screenPointToLocation(s?u.sub(s):u);this._handleMapControls({terrain:r,tr:a,deltasForHelper:_,preZoomAroundLoc:p,combinedEventsInProgress:t,panDelta:s}),o._applyUpdatedTransform(a),this._map._update(),e.noInertia||this._inertia.record(e),this._fireEvents(t,i,!0);}_handleMapControls({terrain:e,tr:t,deltasForHelper:i,preZoomAroundLoc:o,combinedEventsInProgress:a,panDelta:r}){const s=this._map.cameraHelper;if(s.handleMapControlsRollPitchBearingZoom(i,t),e)return s.useGlobeControls?(this._terrainMovement||!a.drag&&!a.zoom||(this._terrainMovement=!0,this._map._elevationFreeze=!0),void s.handleMapControlsPan(i,t,o)):this._terrainMovement||!a.drag&&!a.zoom?void(a.drag&&this._terrainMovement&&r?t.setCenter(t.screenPointToLocation(t.centerPoint.sub(r))):s.handleMapControlsPan(i,t,o)):(this._terrainMovement=!0,this._map._elevationFreeze=!0,void s.handleMapControlsPan(i,t,o));s.handleMapControlsPan(i,t,o);}_fireEvents(e,i,o){const a=Hr(this._eventsInProgress),r=Hr(e),s={};for(const t in e){const{originalEvent:i}=e[t];this._eventsInProgress[t]||(s[`${t}start`]=i),this._eventsInProgress[t]=e[t];}!a&&r&&this._fireEvent("movestart",r.originalEvent);for(const e in s)this._fireEvent(e,s[e]);r&&this._fireEvent("move",r.originalEvent);for(const t in e){const{originalEvent:i}=e[t];this._fireEvent(t,i);}const l={};let c;for(const e in this._eventsInProgress){const{handlerName:t,originalEvent:o}=this._eventsInProgress[e];this._handlersById[t].isActive()||(delete this._eventsInProgress[e],c=i[t]||o,l[`${e}end`]=c);}for(const e in l)this._fireEvent(e,l[e]);const h=Hr(this._eventsInProgress),u=(a||r)&&!h;if(u&&this._terrainMovement){this._map._elevationFreeze=!1,this._terrainMovement=!1;const e=this._map._getTransformForUpdate();this._map.getCenterClampedToGround()&&e.recalculateZoomAndCenter(this._map.terrain),this._map._applyUpdatedTransform(e);}if(o&&u){this._updatingCamera=!0;const e=this._inertia._onMoveEnd(this._map.dragPan._inertiaOptions),i=e=>0!==e&&-this._bearingSnap{delete this._frameId,this.handleEvent(new Xr("renderFrame",{timeStamp:e})),this._applyChanges();}))}_triggerRenderFrame(){void 0===this._frameId&&(this._frameId=this._requestFrame());}}class Qr extends t.E{constructor(e,t,i){super(),this._renderFrameCallback=()=>{const e=Math.min((c()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(e)),e<1&&this._easeFrameId?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop();},this._moving=!1,this._zooming=!1,this.transform=e,this._bearingSnap=i.bearingSnap,this._zoomSnap=i.zoomSnap,this.cameraHelper=t,this.on("moveend",(()=>{delete this._requestedCameraState;}));}migrateProjection(e,t){e.apply(this.transform,!0),this.transform=e,this.cameraHelper=t;}getCenter(){return new t.W(this.transform.center.lng,this.transform.center.lat)}setCenter(e,t){return this.jumpTo({center:e},t)}getCenterElevation(){return this.transform.elevation}setCenterElevation(e,t){return this.jumpTo({elevation:e},t),this}getCenterClampedToGround(){return this._centerClampedToGround}setCenterClampedToGround(e){this._centerClampedToGround=e;}panBy(e,i,o){return e=t.P.convert(e).mult(-1),this.panTo(this.transform.center,t.e({offset:e},i),o)}panTo(e,i,o){return this.easeTo(t.e({center:e},i),o)}getZoom(){return this.transform.zoom}setZoom(e,t){return this.jumpTo({zoom:e},t),this}zoomTo(e,i,o){return this.easeTo(t.e({zoom:e},i),o)}zoomIn(e,i){return this.zoomTo(t.cw(this.getZoom()+1,this._zoomSnap),e,i),this}zoomOut(e,i){return this.zoomTo(t.cw(this.getZoom()-1,this._zoomSnap),e,i),this}getVerticalFieldOfView(){return this.transform.fov}setVerticalFieldOfView(e,i){return e!=this.transform.fov&&(this.transform.setFov(e),this.fire(new t.n("movestart",i)).fire(new t.n("move",i)).fire(new t.n("moveend",i))),this}getBearing(){return this.transform.bearing}setZoomSnap(e){return this._zoomSnap=e,this}getZoomSnap(){return this._zoomSnap}setBearing(e,t){return this.jumpTo({bearing:e},t),this}getPadding(){return this.transform.padding}setPadding(e,t){return this.jumpTo({padding:e},t),this}rotateTo(e,i,o){return this.easeTo(t.e({bearing:e},i),o)}resetNorth(e,i){return this.rotateTo(0,t.e({duration:1e3},e),i),this}resetNorthPitch(e,i){return this.easeTo(t.e({bearing:0,pitch:0,roll:0,duration:1e3},e),i),this}snapToNorth(e,t){return Math.abs(this.getBearing()){f.easeFunc(t),this.terrain&&!e.freezeElevation&&this._updateElevation(t),this._applyUpdatedTransform(o),this._fireMoveEvents(i);}),(t=>{this.terrain&&e.freezeElevation&&this._finalizeElevation(),this._afterEase(i,t);}),e),this}_prepareEase(e,i,o={}){this._moving=!0,i||o.moving||this.fire(new t.n("movestart",e)),this._zooming&&!o.zooming&&this.fire(new t.n("zoomstart",e)),this._rotating&&!o.rotating&&this.fire(new t.n("rotatestart",e)),this._pitching&&!o.pitching&&this.fire(new t.n("pitchstart",e)),this._rolling&&!o.rolling&&this.fire(new t.n("rollstart",e));}_prepareElevation(e){this._elevationCenter=e,this._elevationStart=this.transform.elevation,this._elevationTarget=this.terrain.getElevationForLngLatZoom(e,this.transform.tileZoom),this._elevationFreeze=!0;}_updateElevation(e){void 0!==this._elevationStart&&void 0!==this._elevationCenter||this._prepareElevation(this.transform.center),this.transform.setMinElevationForCurrentTile(this.terrain.getMinTileElevationForLngLatZoom(this._elevationCenter,this.transform.tileZoom));const i=this.terrain.getElevationForLngLatZoom(this._elevationCenter,this.transform.tileZoom);if(e<1&&i!==this._elevationTarget){const t=this._elevationTarget-this._elevationStart;this._elevationStart+=e*(t-(i-(t*e+this._elevationStart))/(1-e)),this._elevationTarget=i;}this.transform.setElevation(t.H.number(this._elevationStart,this._elevationTarget,e));}_finalizeElevation(){this._elevationFreeze=!1,this.getCenterClampedToGround()&&this.transform.recalculateZoomAndCenter(this.terrain);}_getTransformForUpdate(){return this.transformCameraUpdate||this.terrain?(this._requestedCameraState||(this._requestedCameraState=this.transform.clone()),this._requestedCameraState):this.transform}_elevateCameraIfInsideTerrain(e){if(!this.terrain&&e.elevation>=0&&e.pitch<=90)return {};const t=e.getCameraLngLat(),i=e.getCameraAltitude(),o=this.terrain?this.terrain.getElevationForLngLatZoom(t,e.zoom):0;if(ithis._elevateCameraIfInsideTerrain(e))),this.transformCameraUpdate&&t.push((e=>this.transformCameraUpdate(e))),!t.length)return;const i=e.clone();for(const e of t){const t=i.clone(),{center:o,zoom:a,roll:r,pitch:s,bearing:n,elevation:l}=e(t);o&&t.setCenter(o),void 0!==l&&t.setElevation(l),void 0!==a&&t.setZoom(a),void 0!==r&&t.setRoll(r),void 0!==s&&t.setPitch(s),void 0!==n&&t.setBearing(n),i.apply(t,!1);}this.transform.apply(i,!1);}_fireMoveEvents(e){this.fire(new t.n("move",e)),this._zooming&&this.fire(new t.n("zoom",e)),this._rotating&&this.fire(new t.n("rotate",e)),this._pitching&&this.fire(new t.n("pitch",e)),this._rolling&&this.fire(new t.n("roll",e));}_afterEase(e,i){if(this._easeId&&i&&this._easeId===i)return;delete this._easeId;const o=this._zooming,a=this._rotating,r=this._pitching,s=this._rolling;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._rolling=!1,this._padding=!1,o&&this.fire(new t.n("zoomend",e)),a&&this.fire(new t.n("rotateend",e)),r&&this.fire(new t.n("pitchend",e)),s&&this.fire(new t.n("rollend",e)),this.fire(new t.n("moveend",e));}flyTo(e,i){if(!e.essential&&n.prefersReducedMotion){const o=t.V(e,["center","zoom","bearing","pitch","roll","elevation","padding"]);return this.jumpTo(o,i)}this.stop(),"zoom"in(e=t.e({offset:[0,0],speed:1.2,curve:1.42,easing:t.cy},e))&&this._zoomSnap&&(e.zoom=t.cw(e.zoom,this._zoomSnap));const o=this._getTransformForUpdate(),a=o.bearing,r=o.pitch,s=o.roll,l=o.padding,c="bearing"in e?this._normalizeBearing(e.bearing,a):a,h="pitch"in e?+e.pitch:r,u="roll"in e?this._normalizeBearing(e.roll,s):s,d="padding"in e?e.padding:o.padding,_=t.P.convert(e.offset);let p=o.centerPoint.add(_);const m=o.screenPointToLocation(p),f=this.cameraHelper.handleFlyTo(o,{bearing:c,pitch:h,roll:u,padding:d,locationAtOffset:m,offsetAsPoint:_,center:e.center,minZoom:e.minZoom,zoom:e.zoom});let g=e.curve;const v=Math.max(o.width,o.height),x=v/f.scaleOfZoom,b=f.pixelPathLength;"number"==typeof f.scaleOfMinZoom&&(g=Math.sqrt(v/f.scaleOfMinZoom/b*2));const y=g*g;function w(e){const t=(x*x-v*v+(e?-1:1)*y*y*b*b)/(2*(e?x:v)*y*b);return Math.log(Math.sqrt(t*t+1)-t)}function T(e){return (Math.exp(e)-Math.exp(-e))/2}function P(e){return (Math.exp(e)+Math.exp(-e))/2}const C=w(!1);let M=function(e){return P(C)/P(C+g*e)},I=function(e){return v*((P(C)*(T(t=C+g*e)/P(t))-T(C))/y)/b;var t;},E=(w(!0)-C)/g;if(Math.abs(b)<2e-6||!isFinite(E)){if(Math.abs(v-x)<1e-6)return this.easeTo(e,i);const t=x0,M=e=>Math.exp(t*g*e);}return e.duration="duration"in e?+e.duration:1e3*E/("screenSpeed"in e?+e.screenSpeed/g:+e.speed),e.maxDuration&&e.duration>e.maxDuration&&(e.duration=0),this._zooming=!0,this._rotating=a!==c,this._pitching=h!==r,this._rolling=u!==s,this._padding=!o.isPaddingEqual(d),this._prepareEase(i,!1),this.terrain&&this._prepareElevation(f.targetCenter),this._ease((n=>{const m=n*E,g=1/M(m),v=I(m);this._rotating&&o.setBearing(t.H.number(a,c,n)),this._pitching&&o.setPitch(t.H.number(r,h,n)),this._rolling&&o.setRoll(t.H.number(s,u,n)),this._padding&&(o.interpolatePadding(l,d,n),p=o.centerPoint.add(_)),f.easeFunc(n,g,v,p),this.terrain&&!e.freezeElevation&&this._updateElevation(n),this._applyUpdatedTransform(o),this._fireMoveEvents(i);}),(()=>{this.terrain&&e.freezeElevation&&this._finalizeElevation(),this._afterEase(i);}),e),this}isEasing(){return !!this._easeFrameId}stop(){return this._stop()}_stop(e,t){var i;if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){const e=this._onEaseEnd;delete this._onEaseEnd,e.call(this,t);}return e||null===(i=this.handlers)||void 0===i||i.stop(!1),this}_ease(e,t,i){!1===i.animate||0===i.duration?(e(1),t()):(this._easeStart=c(),this._easeOptions=i,this._onEaseFrame=e,this._onEaseEnd=t,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback));}_normalizeBearing(e,i){e=t.X(e,-180,180);const o=Math.abs(e-i);return Math.abs(e-360-i)MapLibre'};class es{constructor(e=Jr){this._toggleAttribution=()=>{this._container.classList.contains("maplibregl-compact")&&(this._container.classList.contains("maplibregl-compact-show")?(this._container.setAttribute("open",""),this._container.classList.remove("maplibregl-compact-show")):(this._container.classList.add("maplibregl-compact-show"),this._container.removeAttribute("open")));},this._updateData=e=>{!e||"metadata"!==e.sourceDataType&&"visibility"!==e.sourceDataType&&"style"!==e.dataType&&"terrain"!==e.type||this._updateAttributions();},this._updateCompact=()=>{this._map.getCanvasContainer().offsetWidth<=640||this._compact?!1===this._compact?this._container.setAttribute("open",""):this._container.classList.contains("maplibregl-compact")||this._container.classList.contains("maplibregl-attrib-empty")||(this._container.setAttribute("open",""),this._container.classList.add("maplibregl-compact","maplibregl-compact-show")):(this._container.setAttribute("open",""),this._container.classList.contains("maplibregl-compact")&&this._container.classList.remove("maplibregl-compact","maplibregl-compact-show"));},this._updateCompactMinimize=()=>{this._container.classList.contains("maplibregl-compact")&&this._container.classList.contains("maplibregl-compact-show")&&this._container.classList.remove("maplibregl-compact-show");},this.options=e;}getDefaultPosition(){return "bottom-right"}onAdd(e){return this._map=e,this._compact=this.options.compact,this._container=d.create("details","maplibregl-ctrl maplibregl-ctrl-attrib"),this._compactButton=d.create("summary","maplibregl-ctrl-attrib-button",this._container),this._compactButton.addEventListener("click",this._toggleAttribution),this._setElementTitle(this._compactButton,"ToggleAttribution"),this._innerContainer=d.create("div","maplibregl-ctrl-attrib-inner",this._container),this._updateAttributions(),this._updateCompact(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("terrain",this._updateData),this._map.on("resize",this._updateCompact),this._map.on("drag",this._updateCompactMinimize),this._container}onRemove(){this._container.remove(),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("terrain",this._updateData),this._map.off("resize",this._updateCompact),this._map.off("drag",this._updateCompactMinimize),this._map=void 0,this._compact=void 0,this._attribHTML=void 0;}_setElementTitle(e,t){const i=this._map._getUIString(`AttributionControl.${t}`);e.title=i,e.setAttribute("aria-label",i);}_updateAttributions(){if(!this._map.style)return;let e=[];if(this.options.customAttribution&&(Array.isArray(this.options.customAttribution)?e=e.concat(this.options.customAttribution.map((e=>"string"!=typeof e?"":e))):"string"==typeof this.options.customAttribution&&e.push(this.options.customAttribution)),this._map.style.stylesheet){const e=this._map.style.stylesheet;this.styleOwner=e.owner,this.styleId=e.id;}const t=this._map.style.tileManagers;for(const i in t){const o=t[i];if(o.used||o.usedForTerrain){const t=o.getSource();t.attribution&&!e.includes(t.attribution)&&e.push(t.attribution);}}e=e.filter((e=>String(e).trim())),e.sort(((e,t)=>e.length-t.length)),e=e.filter(((t,i)=>{for(let o=i+1;o{const e=this._container.children;if(e.length){const t=e[0];this._map.getCanvasContainer().offsetWidth<=640||this._compact?!1!==this._compact&&t.classList.add("maplibregl-compact"):t.classList.remove("maplibregl-compact");}},this.options=e;}getDefaultPosition(){return "bottom-left"}onAdd(e){var t;this._map=e,this._compact=null===(t=this.options)||void 0===t?void 0:t.compact,this._container=d.create("div","maplibregl-ctrl");const i=d.create("a","maplibregl-ctrl-logo");return i.target="_blank",i.rel="noopener nofollow",i.href="https://maplibre.org/",i.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),i.setAttribute("rel","noopener nofollow"),this._container.appendChild(i),this._container.style.display="block",this._map.on("resize",this._updateCompact),this._updateCompact(),this._container}onRemove(){this._container.remove(),this._map.off("resize",this._updateCompact),this._map=void 0,this._compact=void 0;}}class is{constructor(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1;}add(e){const t=++this._id;return this._queue.push({callback:e,id:t,cancelled:!1}),t}remove(e){const t=this._currentlyRunning,i=t?this._queue.concat(t):this._queue;for(const t of i)if(t.id===e)return void(t.cancelled=!0)}run(e=0){if(this._currentlyRunning)throw new Error("Attempting to run(), but is already running.");const t=this._currentlyRunning=this._queue;this._queue=[];for(const i of t)if(!i.cancelled&&(i.callback(e),this._cleared))break;this._cleared=!1,this._currentlyRunning=!1;}clear(){this._currentlyRunning&&(this._cleared=!0),this._queue=[];}}var os=t.aS([{name:"a_pos3d",type:"Int16",components:3}]);class as extends t.E{constructor(e){super(),this._lastTilesetChange=c(),this.tileManager=e,this._tiles={},this._renderableTilesKeys=[],this._sourceTileCache={},this.minzoom=0,this.maxzoom=22,this.deltaZoom=1,this.tileSize=e._source.tileSize*2**this.deltaZoom,e.usedForTerrain=!0,e.tileSize=this.tileSize;}destruct(){this.tileManager.usedForTerrain=!1,this.tileManager.tileSize=null;}getSource(){return this.tileManager._source}update(e,i){this.tileManager.update(e,i),this._renderableTilesKeys=[];const o={};for(const a of Me(e,{tileSize:this.tileSize,minzoom:this.minzoom,maxzoom:this.maxzoom,reparseOverscaled:!1,terrain:i,calculateTileZoom:this.tileManager._source.calculateTileZoom}))o[a.key]=!0,this._renderableTilesKeys.push(a.key),this._tiles[a.key]||(a.terrainRttPosMatrix32f=new Float64Array(16),t.c7(a.terrainRttPosMatrix32f,0,t.a6,t.a6,0,0,1),this._tiles[a.key]=new de(a,this.tileSize),this._lastTilesetChange=c());for(const e in this._tiles)o[e]||delete this._tiles[e];}freeRtt(e){for(const t in this._tiles){const i=this._tiles[t];(!e||i.tileID.equals(e)||i.tileID.isChildOf(e)||e.isChildOf(i.tileID))&&(i.rtt=[]);}}getRenderableTiles(){return this._renderableTilesKeys.map((e=>this.getTileByID(e)))}getTileByID(e){return this._tiles[e]}getTerrainCoords(e,t){return t?this._getTerrainCoordsForTileRanges(e,t):this._getTerrainCoordsForRegularTile(e)}_getTerrainCoordsForRegularTile(e){const i={};for(const o of this._renderableTilesKeys){const a=this._tiles[o].tileID,r=e.clone(),s=t.bj();if(a.canonical.equals(e.canonical))t.c7(s,0,t.a6,t.a6,0,0,1);else if(a.canonical.isChildOf(e.canonical)){const i=a.canonical.z-e.canonical.z,o=a.canonical.x-(a.canonical.x>>i<>i<>i;t.c7(s,0,n,n,0,0,1),t.Q(s,s,[-o*n,-r*n,0]);}else {if(!e.canonical.isChildOf(a.canonical))continue;{const i=e.canonical.z-a.canonical.z,o=e.canonical.x-(e.canonical.x>>i<>i<>i;t.c7(s,0,t.a6,t.a6,0,0,1),t.Q(s,s,[o*n,r*n,0]),t.S(s,s,[1/2**i,1/2**i,0]);}}r.terrainRttPosMatrix32f=new Float32Array(s),i[o]=r;}return i}_getTerrainCoordsForTileRanges(e,i){const o={};for(const a of this._renderableTilesKeys){const r=this._tiles[a].tileID;if(!this._isWithinTileRanges(r,i))continue;const s=e.clone(),n=t.bj();if(r.canonical.z===e.canonical.z){const i=e.canonical.x-r.canonical.x+e.wrap*(1<e.canonical.z){const i=r.canonical.z-e.canonical.z,o=r.canonical.x-(r.canonical.x>>i<>i<>i),l=e.canonical.y-(r.canonical.y>>i),c=t.a6>>i;t.c7(n,0,c,c,0,0,1),t.Q(n,n,[-o*c+s*t.a6,-a*c+l*t.a6,0]);}else {const i=e.canonical.z-r.canonical.z,o=e.canonical.x-(e.canonical.x>>i<>i<>i)-r.canonical.x,l=(e.canonical.y>>i)-r.canonical.y,c=t.a6<a.maxzoom&&(r=a.maxzoom),r=a.minzoom&&!(null==s?void 0:s.dem);)s=this.findTileInCaches(e.scaledTo(r--).key);return s}findTileInCaches(e){let t=this.tileManager.getTileByID(e);return t||(t=this.tileManager._outOfViewCache.getByKey(e),t)}anyTilesAfterTime(e=Date.now()){return this._lastTilesetChange>=e}_isWithinTileRanges(e,t){const i=t[e.canonical.z];return !!i&&(e.wrap>i.minWrap||e.wrap=i.minTileXWrapped&&e.canonical.x<=i.maxTileXWrapped&&e.canonical.y>=i.minTileY&&e.canonical.y<=i.maxTileY)}}class rs{constructor(e,t,i){this._meshCache={},this.painter=e,this.tileManager=new as(t),this.options=i,this.exaggeration="number"==typeof i.exaggeration?i.exaggeration:1,this.qualityFactor=2,this.meshSize=128,this._demMatrixCache={},this.coordsIndex=[],this._coordsTextureSize=1024;}destroy(){this._fbo&&(this._fbo.destroy(),this._fbo=null),this._fboCoordsTexture&&(this._fboCoordsTexture.destroy(),this._fboCoordsTexture=null),this._fboDepthTexture&&(this._fboDepthTexture.destroy(),this._fboDepthTexture=null),this._emptyDemTexture&&(this._emptyDemTexture.destroy(),this._emptyDemTexture=null),this._emptyDepthTexture&&(this._emptyDepthTexture.destroy(),this._emptyDepthTexture=null),this._coordsTexture&&(this._coordsTexture.destroy(),this._coordsTexture=null);for(const e in this._meshCache)this._meshCache[e].destroy();this._meshCache={},this.tileManager.destruct();}getDEMElevation(e,i,o,a=t.a6){var r;const s=e.normalizeCoordinates(i,o,a);if(!s)return 0;const n=this.getTerrainData(s.tileID),l=null===(r=n.tile)||void 0===r?void 0:r.dem;if(!l)return 0;const c=t.cC([],[s.x/a*t.a6,s.y/a*t.a6],n.u_terrain_matrix),h=[c[0]*l.dim,c[1]*l.dim],u=Math.floor(h[0]),d=Math.floor(h[1]),_=h[0]-u,p=h[1]-d;return l.get(u,d)*(1-_)*(1-p)+l.get(u+1,d)*_*(1-p)+l.get(u,d+1)*(1-_)*p+l.get(u+1,d+1)*_*p}getElevationForLngLatZoom(e,i){if(!t.cD(i,e.wrap()))return 0;const{tileID:o,mercatorX:a,mercatorY:r}=this._getOverscaledTileIDFromLngLatZoom(e,i);return this.getElevation(o,a%t.a6,r%t.a6,t.a6)}getElevationForLngLat(e,t){const i=Me(t,{maxzoom:this.tileManager.maxzoom,minzoom:this.tileManager.minzoom,tileSize:512,terrain:this});let o=0;for(const e of i)e.canonical.z>o&&(o=Math.min(e.canonical.z,this.tileManager.maxzoom));return this.getElevationForLngLatZoom(e,o)}getElevation(e,i,o,a=t.a6){return this.getDEMElevation(e,i,o,a)*this.exaggeration}getTerrainData(e){var i,o;if(!this._emptyDemTexture){const e=this.painter.context,i=new t.R({width:1,height:1},new Uint8Array(4));this._emptyDepthTexture=new t.T(e,i,e.gl.RGBA,{premultiply:!1}),this._emptyDemUnpack=[0,0,0,0],this._emptyDemTexture=new t.T(e,new t.R({width:1,height:1}),e.gl.RGBA,{premultiply:!1}),this._emptyDemTexture.bind(e.gl.NEAREST,e.gl.CLAMP_TO_EDGE),this._emptyDemMatrix=t.ap([]);}const a=this.tileManager.getSourceTile(e,!0);if((null==a?void 0:a.dem)&&(!a.demTexture||a.needsTerrainPrepare)){const e=this.painter.context;a.demTexture=this.painter.getTileTexture(a.dem.stride),a.demTexture?a.demTexture.update(a.dem.getPixels(),{premultiply:!1}):a.demTexture=new t.T(e,a.dem.getPixels(),e.gl.RGBA,{premultiply:!1}),a.demTexture.bind(e.gl.NEAREST,e.gl.CLAMP_TO_EDGE),a.needsTerrainPrepare=!1;}const r=a&&a.toString()+a.tileID.key+e.key;if(r&&!this._demMatrixCache[r]){const i=this.tileManager.getSource().maxzoom;let o=e.canonical.z-a.tileID.canonical.z;e.overscaledZ>e.canonical.z&&(e.canonical.z>=i?o=e.canonical.z-i:t.w("cannot calculate elevation if elevation maxzoom > source.maxzoom"));const s=e.canonical.x-(e.canonical.x>>o<>o<>8<<4|e>>8,i[t+3]=0;const o=new t.R({width:this._coordsTextureSize,height:this._coordsTextureSize},new Uint8Array(i.buffer)),a=new t.T(e,o,e.gl.RGBA,{premultiply:!1});return a.bind(e.gl.NEAREST,e.gl.CLAMP_TO_EDGE),this._coordsTexture=a,a}pointCoordinate(e){this.painter.maybeDrawDepth(!0),this.painter.maybeDrawCoords();const i=new Uint8Array(4),o=this.painter.context,a=o.gl,r=Math.round(e.x*this.painter.pixelRatio/devicePixelRatio),s=Math.round(e.y*this.painter.pixelRatio/devicePixelRatio),n=Math.round(this.painter.height/devicePixelRatio);o.bindFramebuffer.set(this.getFramebuffer("coords").framebuffer),a.readPixels(r,n-s-1,1,1,a.RGBA,a.UNSIGNED_BYTE,i),o.bindFramebuffer.set(null);const l=i[0]+(i[2]>>4<<8),c=i[1]+((15&i[2])<<8),h=this.coordsIndex[255-i[3]],u=h&&this.tileManager.getTileByID(h);if(!u)return null;const d=this._coordsTextureSize,_=(1<0,a=o&&0===e.canonical.y,r=o&&e.canonical.y===(1<e.id!==t)),this._recentlyUsed.push(e.id);}stampObject(e){e.stamp=++this._stamp;}getOrCreateFreeObject(){for(const e of this._recentlyUsed)if(!this._objects[e].inUse)return this._objects[e];if(this._objects.length>=this._size)throw new Error("No free RenderPool available, call freeAllObjects() required!");const e=this._createObject(this._objects.length);return this._objects.push(e),e}freeObject(e){e.inUse=!1;}freeAllObjects(){for(const e of this._objects)this.freeObject(e);}isFull(){return !(this._objects.length!e.inUse))}}const ns={background:!0,fill:!0,line:!0,raster:!0,hillshade:!0,"color-relief":!0};class ls{constructor(e,t){this.painter=e,this.terrain=t,this.pool=new ss(e.context,30,t.tileManager.tileSize*t.qualityFactor);}destruct(){this.pool.destruct();}getTexture(e){return this.pool.getObjectForId(e.rtt[this._stacks.length-1].id).texture}prepareForRender(e,t){var i,o,a;this._stacks=[],this._prevType=null,this._rttTiles=[],this._renderableTiles=this.terrain.tileManager.getRenderableTiles(),this._renderableLayerIds=e._order.filter((i=>!e._layers[i].isHidden(t))),this._coordsAscending={};for(const t in e.tileManagers){this._coordsAscending[t]={};const i=e.tileManagers[t].getVisibleCoordinates(),o=e.tileManagers[t].getSource(),r=o instanceof te?o.terrainTileRanges:null;for(const e of i){const i=this.terrain.tileManager.getTerrainCoords(e,r);for(const e in i)(a=this._coordsAscending[t])[e]||(a[e]=[]),this._coordsAscending[t][e].push(i[e]);}}this._rttFingerprints={};for(const t of e._order){const a=e._layers[t],r=a.source;if(ns[a.type]&&!this._rttFingerprints[r]){this._rttFingerprints[r]={};const t=null!==(o=null===(i=e.tileManagers[r])||void 0===i?void 0:i.getState().revision)&&void 0!==o?o:0;for(const e in this._coordsAscending[r])this._rttFingerprints[r][e]=`${this._coordsAscending[r][e].map((e=>e.key)).sort().join()}#${t}`;}}for(const e of this._renderableTiles)for(const t in this._rttFingerprints){const i=this._rttFingerprints[t][e.tileID.key];i&&i!==e.rttFingerprint[t]&&(e.rtt=[]);}}renderLayer(e,i){if(e.isHidden(this.painter.transform.zoom))return !1;const o=Object.assign(Object.assign({},i),{isRenderingToTexture:!0}),a=e.type,r=this.painter,s=this._renderableLayerIds[this._renderableLayerIds.length-1]===e.id;if(ns[a]&&(this._prevType&&ns[this._prevType]||this._stacks.push([]),this._prevType=a,this._stacks[this._stacks.length-1].push(e.id),!s))return !0;if(ns[this._prevType]||ns[a]&&s){this._prevType=a;const e=this._stacks.length-1,i=this._stacks[e]||[];for(const a of this._renderableTiles){if(this.pool.isFull()&&(qa(this.painter,this.terrain,this._rttTiles,o),this._rttTiles=[],this.pool.freeAllObjects()),this._rttTiles.push(a),a.rtt[e]){const t=this.pool.getObjectForId(a.rtt[e].id);if(t.stamp===a.rtt[e].stamp){this.pool.useObject(t);continue}}const s=this.pool.getOrCreateFreeObject();this.pool.useObject(s),this.pool.stampObject(s),a.rtt[e]={id:s.id,stamp:s.stamp},r.context.bindFramebuffer.set(s.fbo.framebuffer),r.context.clear({color:t.bo.transparent,stencil:0}),r.currentStencilSource=void 0;for(const e of i){const t=r.style._layers[e],i=t.source?this._coordsAscending[t.source][a.tileID.key]:[a.tileID];r.context.viewport.set([0,0,s.fbo.width,s.fbo.height]),r._renderTileClippingMasks(t,i,!0),r.renderLayer(r,r.style.tileManagers[t.source],t,i,o),t.source&&(a.rttFingerprint[t.source]=this._rttFingerprints[t.source][a.tileID.key]);}}return qa(this.painter,this.terrain,this._rttTiles,o),this._rttTiles=[],this.pool.freeAllObjects(),ns[a]}return !1}}const cs={"AttributionControl.ToggleAttribution":"Toggle attribution","AttributionControl.MapFeedback":"Map feedback","FullscreenControl.Enter":"Enter fullscreen","FullscreenControl.Exit":"Exit fullscreen","GeolocateControl.FindMyLocation":"Find my location","GeolocateControl.LocationNotAvailable":"Location not available","LogoControl.Title":"MapLibre logo","Map.Title":"Map","Marker.Title":"Map marker","NavigationControl.ResetBearing":"Drag to rotate map, click to reset north","NavigationControl.ZoomIn":"Zoom in","NavigationControl.ZoomOut":"Zoom out","Popup.Close":"Close popup","ScaleControl.Feet":"ft","ScaleControl.Meters":"m","ScaleControl.Kilometers":"km","ScaleControl.Miles":"mi","ScaleControl.NauticalMiles":"nm","GlobeControl.Enable":"Enable globe","GlobeControl.Disable":"Disable globe","TerrainControl.Enable":"Enable terrain","TerrainControl.Disable":"Disable terrain","CooperativeGesturesHandler.WindowsHelpText":"Use Ctrl + scroll to zoom the map","CooperativeGesturesHandler.MacHelpText":"Use ⌘ + scroll to zoom the map","CooperativeGesturesHandler.MobileHelpText":"Use two fingers to move the map"},hs=i,us={hash:!1,interactive:!0,bearingSnap:7,zoomSnap:0,attributionControl:Jr,maplibreLogo:!1,refreshExpiredTiles:!0,canvasContextAttributes:{antialias:!1,preserveDrawingBuffer:!1,powerPreference:"high-performance",failIfMajorPerformanceCaveat:!1,desynchronized:!1,contextType:void 0},scrollZoom:!0,minZoom:-2,maxZoom:22,minPitch:0,maxPitch:60,boxZoom:!0,dragRotate:!0,dragPan:!0,keyboard:!0,doubleClickZoom:!0,touchZoomRotate:!0,touchPitch:!0,cooperativeGestures:!1,trackResize:!0,center:[0,0],elevation:0,zoom:0,bearing:0,pitch:0,roll:0,renderWorldCopies:!0,maxTileCacheSize:null,maxTileCacheZoomLevels:t.c.MAX_TILE_CACHE_ZOOM_LEVELS,transformRequest:null,transformCameraUpdate:null,transformConstrain:null,fadeDuration:300,crossSourceCollisions:!0,clickTolerance:3,localIdeographFontFamily:"sans-serif",pitchWithRotate:!0,rollEnabled:!1,reduceMotion:void 0,validateStyle:!0,maxCanvasSize:[4096,4096],cancelPendingTileRequestsWhileZooming:!0,centerClampedToGround:!0,experimentalZoomLevelsToOverscale:void 0,anisotropicFilterPitch:20};let ds=class extends Qr{get _ownerWindow(){var e,t;return (null===(t=null===(e=this._container)||void 0===e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView)||window}constructor(e){var i,o,a;const r=Object.assign(Object.assign(Object.assign({},us),e),{canvasContextAttributes:Object.assign(Object.assign({},us.canvasContextAttributes),e.canvasContextAttributes)});if(null!=r.minZoom&&null!=r.maxZoom&&r.minZoom>r.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(null!=r.minPitch&&null!=r.maxPitch&&r.minPitch>r.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(null!=r.minPitch&&r.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(null!=r.maxPitch&&r.maxPitch>180)throw new Error("maxPitch must be less than or equal to 180");const s=new Xt,l=new Jt;void 0!==r.minZoom&&s.setMinZoom(r.minZoom),void 0!==r.maxZoom&&s.setMaxZoom(r.maxZoom),void 0!==r.minPitch&&s.setMinPitch(r.minPitch),void 0!==r.maxPitch&&s.setMaxPitch(r.maxPitch),void 0!==r.renderWorldCopies&&s.setRenderWorldCopies(r.renderWorldCopies),null!==r.transformConstrain&&s.setConstrainOverride(r.transformConstrain),super(s,l,{bearingSnap:r.bearingSnap,zoomSnap:r.zoomSnap}),this._idleTriggered=!1,this._crossFadingFactor=1,this._renderTaskQueue=new is,this._controls=[],this._mapId=t.ad(),this._lostContextStyle={style:null,images:null},this._contextLost=e=>{if(e.preventDefault(),this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this.painter.destroy(),this._lostContextStyle=this._getStyleAndImages(),this.style){for(const e of Object.values(this.style._layers))if("custom"===e.type&&console.warn(`Custom layer with id '${e.id}' cannot be restored after WebGL context loss. You will need to re-add it manually after context restoration.`),e._listeners)for(const[t]of Object.entries(e._listeners))console.warn(`Custom layer with id '${e.id}' had event listeners for event '${t}' which cannot be restored after WebGL context loss. You will need to re-add them manually after context restoration.`);this.style.destroy(),this.style=null,this.fire(new t.n("webglcontextlost",{originalEvent:e}));}else this.fire(new t.n("webglcontextlost",{originalEvent:e}));},this._contextRestored=e=>{this._lostContextStyle.style&&this.setStyle(this._lostContextStyle.style,{diff:!1}),this._lostContextStyle.images&&this.style&&(this.style.imageManager.images=this._lostContextStyle.images),this._lostContextStyle={style:null,images:null},this._setupPainter(),this.resize(),this._update(),this._resizeInternal(),this.fire(new t.n("webglcontextrestored",{originalEvent:e}));},this._onMapScroll=e=>{if(e.target===this._container)return this._container.scrollTop=0,this._container.scrollLeft=0,!1},this._onWindowOnline=()=>{this._update();},this._interactive=r.interactive,this._maxTileCacheSize=r.maxTileCacheSize,this._maxTileCacheZoomLevels=r.maxTileCacheZoomLevels,this._canvasContextAttributes=Object.assign({},r.canvasContextAttributes),this._trackResize=!0===r.trackResize,this._bearingSnap=r.bearingSnap,this._zoomSnap=r.zoomSnap,this._centerClampedToGround=r.centerClampedToGround,this._refreshExpiredTiles=!0===r.refreshExpiredTiles,this._fadeDuration=r.fadeDuration,this._crossSourceCollisions=!0===r.crossSourceCollisions,this._collectResourceTiming=!0===r.collectResourceTiming,this._locale=Object.assign(Object.assign({},cs),r.locale),this._clickTolerance=r.clickTolerance,this._overridePixelRatio=r.pixelRatio,this._maxCanvasSize=r.maxCanvasSize,this._zoomLevelsToOverscale=r.experimentalZoomLevelsToOverscale,this.transformCameraUpdate=r.transformCameraUpdate,this.transformConstrain=r.transformConstrain,this.cancelPendingTileRequestsWhileZooming=!0===r.cancelPendingTileRequestsWhileZooming,this.setAnisotropicFilterPitch(r.anisotropicFilterPitch),void 0!==r.reduceMotion&&(n.prefersReducedMotion=r.reduceMotion),this._imageQueueHandle=u.addThrottleControl((()=>this.isMoving())),this._requestManager=new _(r.transformRequest),this._container=this._resolveContainer(r.container),r.maxBounds&&this.setMaxBounds(r.maxBounds),this._setupContainer(),this._setupPainter(),this.on("move",(()=>this._update(!1))),this.on("moveend",(()=>this._update(!1))),this.on("zoom",(()=>this._update(!0))),this.on("terrain",(()=>{this.painter.terrainFacilitator.depthDirty=!0,this._update(!0);})),this.once("idle",(()=>this._idleTriggered=!0)),"undefined"!=typeof window&&(this._ownerWindow.addEventListener("online",this._onWindowOnline,!1),this._setupResizeObserver()),this.handlers=new Yr(this,r),this._hash=r.hash?new Ya("string"==typeof r.hash&&r.hash||void 0).addTo(this):void 0,(null===(i=this._hash)||void 0===i?void 0:i._onHashChange())||(this.jumpTo({center:r.center,elevation:r.elevation,zoom:r.zoom,bearing:r.bearing,pitch:r.pitch,roll:r.roll}),r.bounds&&(this.resize(),this.fitBounds(r.bounds,t.e({},r.fitBoundsOptions,{duration:0}))));const c="string"==typeof r.style||!("globe"===(null===(a=null===(o=r.style)||void 0===o?void 0:o.projection)||void 0===a?void 0:a.type));this.resize(null,c),this._localIdeographFontFamily=r.localIdeographFontFamily,this._validateStyle=r.validateStyle,r.style&&this.setStyle(r.style,{localIdeographFontFamily:r.localIdeographFontFamily}),r.attributionControl&&this.addControl(new es("boolean"==typeof r.attributionControl?void 0:r.attributionControl)),r.maplibreLogo&&this.addControl(new ts,r.logoPosition),this.on("style.load",(()=>{if(c||this._resizeTransform(),this.transform.unmodified){const e=t.V(this.style.stylesheet,["center","zoom","bearing","pitch","roll"]);this.jumpTo(e);}})),this.on("data",(e=>{this._update("style"===e.dataType),this.fire(new t.n(`${e.dataType}data`,e));})),this.on("dataloading",(e=>{this.fire(new t.n(`${e.dataType}dataloading`,e));})),this.on("dataabort",(e=>{this.fire(new t.n("sourcedataabort",e));}));}_getMapId(){return this._mapId}setGlobalStateProperty(e,t){return this.style.setGlobalStateProperty(e,t),this._update(!0)}getGlobalState(){return this.style.getGlobalState()}addControl(e,i){if(void 0===i&&(i=e.getDefaultPosition?e.getDefaultPosition():"top-right"),!(null==e?void 0:e.onAdd))return this.fire(new t.l(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));const o=e.onAdd(this);this._controls.push(e);const a=this._controlPositions[i];return i.includes("bottom")?a.insertBefore(o,a.firstChild):a.appendChild(o),this}removeControl(e){if(!(null==e?void 0:e.onRemove))return this.fire(new t.l(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));const i=this._controls.indexOf(e);return i>-1&&this._controls.splice(i,1),e.onRemove(this),this}hasControl(e){return this._controls.includes(e)}coveringTiles(e){return Me(this.transform,e)}calculateCameraOptionsFromTo(e,t,i,o){return null==o&&this.terrain&&(o=this.terrain.getElevationForLngLat(i,this.transform)),super.calculateCameraOptionsFromTo(e,t,i,o)}resize(e,i=!0){if(null!==this._lostContextStyle.style)return this;this._resizeInternal(i);const o=!this._moving;return o&&(this.stop(),this.fire(new t.n("movestart",e)).fire(new t.n("move",e))),this.fire(new t.n("resize",e)),o&&this.fire(new t.n("moveend",e)),this}_resizeInternal(e=!0){const[t,i]=this._containerDimensions(),o=this._getClampedPixelRatio(t,i);if(this._resizeCanvas(t,i,o),this.painter.resize(t,i,o),this.painter.overLimit()){const e=this.painter.context.gl;this._maxCanvasSize=[e.drawingBufferWidth,e.drawingBufferHeight];const o=this._getClampedPixelRatio(t,i);this._resizeCanvas(t,i,o),this.painter.resize(t,i,o);}this._resizeTransform(e);}_resizeTransform(e=!0){var t;const[i,o]=this._containerDimensions();this.transform.resize(i,o,e),null===(t=this._requestedCameraState)||void 0===t||t.resize(i,o,e);}_getClampedPixelRatio(e,t){const{0:i,1:o}=this._maxCanvasSize,a=this.getPixelRatio(),r=e*a,s=t*a;return Math.min(r>i?i/r:1,s>o?o/s:1)*a}getPixelRatio(){var e;return null!==(e=this._overridePixelRatio)&&void 0!==e?e:devicePixelRatio}setPixelRatio(e){this._overridePixelRatio=e,this.resize();}getBounds(){return this.transform.getBounds()}getMaxBounds(){return this.transform.getMaxBounds()}setMaxBounds(e){return this.transform.setMaxBounds(G.convert(e)),this._update()}setMinZoom(e){if((e=null==e?-2:e)>=-2&&e<=this.transform.maxZoom){const i=this.transform.zoom,o=this._getTransformForUpdate();return o.setMinZoom(e),this._applyUpdatedTransform(o),this._update(),i!==this.transform.zoom&&this.fire(new t.n("zoomstart")).fire(new t.n("zoom")).fire(new t.n("zoomend")).fire(new t.n("movestart")).fire(new t.n("move")).fire(new t.n("moveend")),this}throw new Error("minZoom must be between -2 and the current maxZoom, inclusive")}getMinZoom(){return this.transform.minZoom}setMaxZoom(e){if((e=null==e?22:e)>=this.transform.minZoom){const i=this.transform.zoom,o=this._getTransformForUpdate();return o.setMaxZoom(e),this._applyUpdatedTransform(o),this._update(),i!==this.transform.zoom&&this.fire(new t.n("zoomstart")).fire(new t.n("zoom")).fire(new t.n("zoomend")).fire(new t.n("movestart")).fire(new t.n("move")).fire(new t.n("moveend")),this}throw new Error("maxZoom must be greater than the current minZoom")}getMaxZoom(){return this.transform.maxZoom}setMinPitch(e){if((e=null==e?0:e)<0)throw new Error("minPitch must be greater than or equal to 0");if(e>=0&&e<=this.transform.maxPitch){const i=this.transform.pitch,o=this._getTransformForUpdate();return o.setMinPitch(e),this._applyUpdatedTransform(o),this._update(),i!==this.transform.pitch&&this.fire(new t.n("pitchstart")).fire(new t.n("pitch")).fire(new t.n("pitchend")).fire(new t.n("movestart")).fire(new t.n("move")).fire(new t.n("moveend")),this}throw new Error("minPitch must be between 0 and the current maxPitch, inclusive")}getMinPitch(){return this.transform.minPitch}setMaxPitch(e){if((e=null==e?60:e)>180)throw new Error("maxPitch must be less than or equal to 180");if(e>=this.transform.minPitch){const i=this.transform.pitch,o=this._getTransformForUpdate();return o.setMaxPitch(e),this._applyUpdatedTransform(o),this._update(),i!==this.transform.pitch&&this.fire(new t.n("pitchstart")).fire(new t.n("pitch")).fire(new t.n("pitchend")).fire(new t.n("movestart")).fire(new t.n("move")).fire(new t.n("moveend")),this}throw new Error("maxPitch must be greater than the current minPitch")}getMaxPitch(){return this.transform.maxPitch}getAnisotropicFilterPitch(){return this._anisotropicFilterPitch}setAnisotropicFilterPitch(e){if((e=null==e?20:e)>180)throw new Error("anisotropicFilterPitch must be less than or equal to 180");if(e<0)throw new Error("anisotropicFilterPitch must be greater than or equal to 0");return this._anisotropicFilterPitch=e,this._update()}getRenderWorldCopies(){return this.transform.renderWorldCopies}setRenderWorldCopies(e){return this.transform.setRenderWorldCopies(e),this._update()}setTransformConstrain(e){return this.transform.setConstrainOverride(e),this._update()}project(e){return this.transform.locationToScreenPoint(t.W.convert(e),this.style&&this.terrain)}unproject(e){return this.transform.screenPointToLocation(t.P.convert(e),this.terrain)}isMoving(){var e;return this._moving||(null===(e=this.handlers)||void 0===e?void 0:e.isMoving())}isZooming(){var e;return this._zooming||(null===(e=this.handlers)||void 0===e?void 0:e.isZooming())}isRotating(){var e;return this._rotating||(null===(e=this.handlers)||void 0===e?void 0:e.isRotating())}_createDelegatedListener(e,t,i){if("mouseenter"===e||"mouseover"===e){let o=!1;const a=a=>{const r=t.filter((e=>this.getLayer(e))),s=0!==r.length?this.queryRenderedFeatures(a.point,{layers:r}):[];s.length?o||(o=!0,i.call(this,new nr(e,this,a.originalEvent,{features:s}))):o=!1;};return {layers:t,listener:i,delegates:{mousemove:a,mouseout:()=>{o=!1;}}}}if("mouseleave"===e||"mouseout"===e){let o=!1;const a=a=>{const r=t.filter((e=>this.getLayer(e)));(0!==r.length?this.queryRenderedFeatures(a.point,{layers:r}):[]).length?o=!0:o&&(o=!1,i.call(this,new nr(e,this,a.originalEvent)));},r=t=>{o&&(o=!1,i.call(this,new nr(e,this,t.originalEvent)));};return {layers:t,listener:i,delegates:{mousemove:a,mouseout:r}}}{const o=e=>{const o=t.filter((e=>this.getLayer(e))),a=0!==o.length?this.queryRenderedFeatures(e.point,{layers:o}):[];a.length&&(e.features=a,i.call(this,e),delete e.features);};return {layers:t,listener:i,delegates:{[e]:o}}}}_saveDelegatedListener(e,t){var i;this._delegatedListeners||(this._delegatedListeners={}),(i=this._delegatedListeners)[e]||(i[e]=[]),this._delegatedListeners[e].push(t);}_removeDelegatedListener(e,t,i){var o;if(!(null===(o=this._delegatedListeners)||void 0===o?void 0:o[e]))return;const a=this._delegatedListeners[e];for(let e=0;et.includes(e)))){for(const e in o.delegates)this.off(e,o.delegates[e]);return void a.splice(e,1)}}}on(e,t,i){if(void 0===i)return super.on(e,t);const o="string"==typeof t?[t]:t,a=this._createDelegatedListener(e,o,i);this._saveDelegatedListener(e,a);for(const e in a.delegates)this.on(e,a.delegates[e]);return {unsubscribe:()=>{this._removeDelegatedListener(e,o,i);}}}once(e,t,i){if(void 0===i)return super.once(e,t);const o="string"==typeof t?[t]:t,a=this._createDelegatedListener(e,o,i);for(const t in a.delegates){const r=a.delegates[t];a.delegates[t]=(...t)=>{this._removeDelegatedListener(e,o,i),r(...t);};}this._saveDelegatedListener(e,a);for(const e in a.delegates)this.once(e,a.delegates[e]);return this}off(e,t,i){return void 0===i?super.off(e,t):(this._removeDelegatedListener(e,"string"==typeof t?[t]:t,i),this)}queryRenderedFeatures(e,i){if(!this.style)return [];let o;const a=e instanceof t.P||Array.isArray(e),r=a?e:[[0,0],[this.transform.width,this.transform.height]];if(i||(i=(a?{}:e)||{}),r instanceof t.P||"number"==typeof r[0])o=[t.P.convert(r)];else {const e=t.P.convert(r[0]),i=t.P.convert(r[1]);o=[e,new t.P(i.x,e.y),i,new t.P(e.x,i.y),e];}return this.style.queryRenderedFeatures(o,i,this.transform)}querySourceFeatures(e,t){return this.style.querySourceFeatures(e,t)}setStyle(e,i){return !1!==(i=t.e({},{localIdeographFontFamily:this._localIdeographFontFamily,validate:this._validateStyle},i)).diff&&i.localIdeographFontFamily===this._localIdeographFontFamily&&this.style&&e?(this._diffStyle(e,i),this):(this._localIdeographFontFamily=i.localIdeographFontFamily,this._updateStyle(e,i))}setTransformRequest(e){return this._requestManager.setTransformRequest(e),this}_getUIString(e){const t=this._locale[e];if(null==t)throw new Error(`Missing UI string '${e}'`);return t}_updateStyle(e,t){var i,o,a;if(null===(i=this._diffStyleRequest)||void 0===i||i.abort(),this._diffStyleRequest=null,t.transformStyle&&this.style&&!this.style._loaded)return void this.style.once("style.load",(()=>this._updateStyle(e,t)));const r=this.style&&t.transformStyle?this.style.serialize():void 0;return this.style&&(this.style.setEventedParent(null),this.style._remove(!e)),e?(this.style=new ki(this,t||{}),this.style.setEventedParent(this,{style:this.style}),"string"==typeof e?this.style.loadURL(e,t,r):this.style.loadJSON(e,t,r),this):(this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),null===(a=null===(o=this.style)||void 0===o?void 0:o.projection)||void 0===a||a.destroy(),delete this.style,this)}_lazyInitEmptyStyle(){this.style||(this.style=new ki(this,{}),this.style.setEventedParent(this,{style:this.style}),this.style.loadEmpty());}_diffStyle(e,i){return t._(this,void 0,void 0,(function*(){var o;if(null===(o=this._diffStyleRequest)||void 0===o||o.abort(),"string"==typeof e){const o=e;this._diffStyleRequest=new AbortController;const a=this._diffStyleRequest;try{const e=yield this._requestManager.transformRequest(o,"Style");if(a.signal.aborted)return void(this._diffStyleRequest=null);const r=yield t.k(e,a);this._diffStyleRequest=null,this._updateDiff(r.data,i);}catch(e){this._diffStyleRequest=null,t.$(e)||this.fire(new t.l(t.d(e)));}}else "object"==typeof e&&(this._diffStyleRequest=null,this._updateDiff(e,i));}))}_updateDiff(e,i){try{this.style.setState(e,i)&&this._update(!0);}catch(o){t.w(`Unable to perform style diff: ${t.d(o).message}. Rebuilding the style from scratch.`),this._updateStyle(e,i);}}getStyle(){if(this.style)return this.style.serialize()}_getStyleAndImages(){return this.style?{style:this.style.serialize(),images:this.style.imageManager.cloneImages()}:{style:null,images:{}}}isStyleLoaded(){if(this.style)return this.style.loaded();t.w("There is no style added to the map.");}addSource(e,t){return this._lazyInitEmptyStyle(),this.style.addSource(e,t),this._update(!0)}isSourceLoaded(e){var i;const o=null===(i=this.style)||void 0===i?void 0:i.tileManagers[e];if(void 0!==o)return o.loaded();this.fire(new t.l(new Error(`There is no tile manager with ID '${e}'`)));}setTerrain(e){if(this.style._checkLoaded(),this._terrainDataCallback&&this.style.off("data",this._terrainDataCallback),e){const i=this.style.tileManagers[e.source];if(!i)throw new Error(`cannot load terrain, because there exists no source with ID: ${e.source}`);null===this.terrain&&i.reload();for(const i in this.style._layers){const o=this.style._layers[i];"hillshade"===o.type&&o.source===e.source&&t.w("You are using the same source for a hillshade layer and for 3D terrain. Please consider using two separate sources to improve rendering quality."),"color-relief"===o.type&&o.source===e.source&&t.w("You are using the same source for a color-relief layer and for 3D terrain. Please consider using two separate sources to improve rendering quality.");}this.terrain=new rs(this.painter,i,e),this.painter.renderToTexture=new ls(this.painter,this.terrain),this.transform.setMinElevationForCurrentTile(this.terrain.getMinTileElevationForLngLatZoom(this.transform.center,this.transform.tileZoom)),this.transform.setElevation(this.terrain.getElevationForLngLatZoom(this.transform.center,this.transform.tileZoom)),this._terrainDataCallback=t=>{var i;"style"===t.dataType?this.terrain.tileManager.freeRtt():"source"===t.dataType&&t.tile&&(t.sourceId!==e.source||this._elevationFreeze||(this.transform.setMinElevationForCurrentTile(this.terrain.getMinTileElevationForLngLatZoom(this.transform.center,this.transform.tileZoom)),this._centerClampedToGround&&this.transform.setElevation(this.terrain.getElevationForLngLatZoom(this.transform.center,this.transform.tileZoom))),"image"===(null===(i=t.source)||void 0===i?void 0:i.type)?this.terrain.tileManager.freeRtt():this.terrain.tileManager.freeRtt(t.tile.tileID));},this.style.on("data",this._terrainDataCallback);}else this.terrain&&this.terrain.destroy(),this.terrain=null,this.painter.renderToTexture&&this.painter.renderToTexture.destruct(),this.painter.renderToTexture=null,this.transform.setMinElevationForCurrentTile(0),this._centerClampedToGround&&this.transform.setElevation(0);return this.fire(new t.n("terrain",{terrain:e})),this}getTerrain(){var e,t;return null!==(t=null===(e=this.terrain)||void 0===e?void 0:e.options)&&void 0!==t?t:null}areTilesLoaded(){var e;const t=null===(e=this.style)||void 0===e?void 0:e.tileManagers;for(const e of Object.values(t))if(!e.areTilesLoaded())return !1;return !0}removeSource(e){return this.style.removeSource(e),this._update(!0)}getSource(e){return this.style.getSource(e)}setSourceTileLodParams(e,t,i){if(i){const o=this.getSource(i);if(!o)throw new Error(`There is no source with ID "${i}", cannot set LOD parameters`);o.calculateTileZoom=Te(Math.max(1,e),Math.max(1,t));}else for(const i in this.style.tileManagers)this.style.tileManagers[i].getSource().calculateTileZoom=Te(Math.max(1,e),Math.max(1,t));return this._update(!0),this}refreshTiles(e,i){const o=this.style.tileManagers[e];if(!o)throw new Error(`There is no tile manager with ID "${e}", cannot refresh tile`);void 0===i?o.reload(!0):o.refreshTiles(i.map((e=>new t.aa(e.z,e.x,e.y))));}addImage(e,i,o={}){const{pixelRatio:a=1,sdf:r=!1,stretchX:s,stretchY:l,content:c,textFitWidth:h,textFitHeight:u}=o;if(this._lazyInitEmptyStyle(),!(i instanceof HTMLImageElement||t.b(i))){if(void 0===i.width||void 0===i.height)return this.fire(new t.l(new Error("Invalid arguments to map.addImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));{const{width:o,height:n,data:d}=i,_=i;return this.style.addImage(e,{data:new t.R({width:o,height:n},new Uint8Array(d)),pixelRatio:a,stretchX:s,stretchY:l,content:c,textFitWidth:h,textFitHeight:u,sdf:r,version:0,userImage:_}),_.onAdd&&_.onAdd(this,e),this}}{const{width:o,height:d,data:_}=n.getImageData(i);this.style.addImage(e,{data:new t.R({width:o,height:d},_),pixelRatio:a,stretchX:s,stretchY:l,content:c,textFitWidth:h,textFitHeight:u,sdf:r,version:0});}}updateImage(e,i){const o=this.style.getImage(e);if(!o)return this.fire(new t.l(new Error("The map has no image with that id. If you are adding a new image use `map.addImage(...)` instead.")));const a=i instanceof HTMLImageElement||t.b(i)?n.getImageData(i):i,{width:r,height:s,data:l}=a;if(void 0===r||void 0===s)return this.fire(new t.l(new Error("Invalid arguments to map.updateImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));if(r!==o.data.width||s!==o.data.height)return this.fire(new t.l(new Error("The width and height of the updated image must be that same as the previous version of the image")));const c=!(i instanceof HTMLImageElement||t.b(i));return o.data.replace(l,c),this.style.updateImage(e,o),this}getImage(e){return this.style.getImage(e)}hasImage(e){return e?!!this.style.getImage(e):(this.fire(new t.l(new Error("Missing required image id"))),!1)}removeImage(e){this.style.removeImage(e);}loadImage(e){return t._(this,void 0,void 0,(function*(){return u.getImage(yield this._requestManager.transformRequest(e,"Image"),new AbortController)}))}listImages(){return this.style.listImages()}addLayer(e,t){return this._lazyInitEmptyStyle(),this.style.addLayer(e,t),this._update(!0)}moveLayer(e,t){return this.style.moveLayer(e,t),this._update(!0)}removeLayer(e){return this.style.removeLayer(e),this._update(!0)}getLayer(e){return this.style.getLayer(e)}getLayersOrder(){return this.style.getLayersOrder()}setLayerZoomRange(e,t,i){return this.style.setLayerZoomRange(e,t,i),this._update(!0)}setFilter(e,t,i={}){return this.style.setFilter(e,t,i),this._update(!0)}getFilter(e){return this.style.getFilter(e)}setPaintProperty(e,t,i,o={}){return this.style.setPaintProperty(e,t,i,o),this._update(!0)}getPaintProperty(e,t){return this.style.getPaintProperty(e,t)}setLayoutProperty(e,t,i,o={}){return this.style.setLayoutProperty(e,t,i,o),this._update(!0)}getLayoutProperty(e,t){return this.style.getLayoutProperty(e,t)}setGlyphs(e,t={}){return this._lazyInitEmptyStyle(),this.style.setGlyphs(e,t),this._update(!0)}getGlyphs(){return this.style.getGlyphsUrl()}addSprite(e,t,i={}){return this._lazyInitEmptyStyle(),this.style.addSprite(e,t,i,(e=>{e||this._update(!0);})),this}removeSprite(e){return this._lazyInitEmptyStyle(),this.style.removeSprite(e),this._update(!0)}getSprite(){return this.style.getSprite()}setSprite(e,t={}){return this._lazyInitEmptyStyle(),this.style.setSprite(e,t,(e=>{e||this._update(!0);})),this}setLight(e,t={}){return this._lazyInitEmptyStyle(),this.style.setLight(e,t),this._update(!0)}getLight(){return this.style.getLight()}setSky(e,t={}){return this._lazyInitEmptyStyle(),this.style.setSky(e,t),this._update(!0)}getSky(){return this.style.getSky()}setFeatureState(e,t){return this.style.setFeatureState(e,t),this._update()}removeFeatureState(e,t){return this.style.removeFeatureState(e,t),this._update()}getFeatureState(e){return this.style.getFeatureState(e)}getContainer(){return this._container}getCanvasContainer(){return this._canvasContainer}getCanvas(){return this._canvas}_containerDimensions(){let e=0,t=0;return this._container&&(e=this._container.clientWidth||400,t=this._container.clientHeight||300),[e,t]}_setupResizeObserver(){var e;let t=!1;const i=Ka((e=>{this._trackResize&&!this._removed&&(this.resize(e),this.redraw());}),50),o=null!==(e=this._ownerWindow.ResizeObserver)&&void 0!==e?e:ResizeObserver;this._resizeObserver=new o((e=>{t?i(e):t=!0;})),this._resizeObserver.observe(this._container);}_resolveContainer(e){if("string"==typeof e){const t=document.getElementById(e);if(!t)throw new Error(`Container '${e}' not found.`);return t}if(e instanceof HTMLElement)return e;if(e&&"object"==typeof e&&1===e.nodeType)return e;throw new Error("Invalid type: 'container' must be a String or HTMLElement.")}_setupContainer(){const e=this._container;e.classList.add("maplibregl-map");const t=this._canvasContainer=d.create("div","maplibregl-canvas-container",e);this._interactive&&t.classList.add("maplibregl-interactive"),this._canvas=d.create("canvas","maplibregl-canvas",t),this._canvas.addEventListener("webglcontextlost",this._contextLost,!1),this._canvas.addEventListener("webglcontextrestored",this._contextRestored,!1),this._canvas.setAttribute("tabindex",this._interactive?"0":"-1"),this._canvas.setAttribute("aria-label",this._getUIString("Map.Title")),this._canvas.setAttribute("role","region");const i=this._containerDimensions(),o=this._getClampedPixelRatio(i[0],i[1]);this._resizeCanvas(i[0],i[1],o);const a=this._controlContainer=d.create("div","maplibregl-control-container",e),r=this._controlPositions={};for(const e of ["top-left","top-right","bottom-left","bottom-right"])r[e]=d.create("div",`maplibregl-ctrl-${e} `,a);this._container.addEventListener("scroll",this._onMapScroll,!1);}_resizeCanvas(e,t,i){this._canvas.width=Math.floor(i*e),this._canvas.height=Math.floor(i*t),this._canvas.style.width=`${e}px`,this._canvas.style.height=`${t}px`;}_setupPainter(){const e=Object.assign(Object.assign({},this._canvasContextAttributes),{alpha:!0,depth:!0,stencil:!0,premultipliedAlpha:!0});let t=null;this._canvas.addEventListener("webglcontextcreationerror",(i=>{t={requestedAttributes:e},i&&(t.statusMessage=i.statusMessage,t.type=i.type);}),{once:!0});let i=null;if(i=this._canvasContextAttributes.contextType?this._canvas.getContext(this._canvasContextAttributes.contextType,e):this._canvas.getContext("webgl2",e)||this._canvas.getContext("webgl",e),!i){const e="Failed to initialize WebGL";throw t?(t.message=e,new Error(JSON.stringify(t))):new Error(e)}this.painter=new Xa(i,this.transform);}migrateProjection(e,i){super.migrateProjection(e,i),this.painter.transform=e,this.fire(new t.n("projectiontransition",{newProjection:this.style.projection.name}));}loaded(){return !this._styleDirty&&!this._sourcesDirty&&!!this.style&&this.style.loaded()}_update(e){var t;return (null===(t=this.style)||void 0===t?void 0:t._loaded)?(this._styleDirty||(this._styleDirty=e),this._sourcesDirty=!0,this.triggerRepaint(),this):this}_requestRenderFrame(e){return this._update(),this._renderTaskQueue.add(e)}_cancelRenderFrame(e){this._renderTaskQueue.remove(e);}_render(e){var i,o,a,r,s,n;const l=this._idleTriggered?this._fadeDuration:0,h=(null===(i=this.style.projection)||void 0===i?void 0:i.transitionState)>0;if(this.painter.context.setDirty(),this.painter.setBaseState(),this._renderTaskQueue.run(e),this._removed)return;let u=!1;if(this.style&&this._styleDirty){this._styleDirty=!1;const e=this.transform.zoom,i=c();this.style.zoomHistory.update(e,i);const o=new t.J(e,{now:i,fadeDuration:l,zoomHistory:this.style.zoomHistory,transition:this.style.getTransition()}),a=o.crossFadingFactor();1===a&&a===this._crossFadingFactor||(u=!0,this._crossFadingFactor=a),this.style.update(o);}const d=(null===(o=this.style.projection)||void 0===o?void 0:o.transitionState)>0!==h;null===(a=this.style.projection)||void 0===a||a.setErrorQueryLatitudeDegrees(this.transform.center.lat),this.transform.setTransitionState(null===(r=this.style.projection)||void 0===r?void 0:r.transitionState,null===(s=this.style.projection)||void 0===s?void 0:s.latitudeErrorCorrectionRadians),this.style&&(this._sourcesDirty||d)&&(this._sourcesDirty=!1,this.style._updateSources(this.transform)),this.terrain?(this.terrain.tileManager.update(this.transform,this.terrain),this.transform.setMinElevationForCurrentTile(this.terrain.getMinTileElevationForLngLatZoom(this.transform.center,this.transform.tileZoom)),!this._elevationFreeze&&this._centerClampedToGround&&this.transform.setElevation(this.terrain.getElevationForLngLatZoom(this.transform.center,this.transform.tileZoom))):(this.transform.setMinElevationForCurrentTile(0),this._centerClampedToGround&&this.transform.setElevation(0)),this._placementDirty=null===(n=this.style)||void 0===n?void 0:n._updatePlacement(this.transform,this.showCollisionBoxes,l,this._crossSourceCollisions,d),this.painter.render(this.style,{showTileBoundaries:this.showTileBoundaries,showOverdrawInspector:this._showOverdrawInspector,rotating:this.isRotating(),zooming:this.isZooming(),moving:this.isMoving(),fadeDuration:l,showPadding:this.showPadding,anisotropicFilterPitch:this.getAnisotropicFilterPitch()}),this.fire(new t.n("render")),this.loaded()&&!this._loaded&&(this._loaded=!0,this.fire(new t.n("load"))),this.style&&(this.style.hasTransitions()||u)&&(this._styleDirty=!0),this.style&&!this._placementDirty&&this.style._releaseSymbolFadeTiles();const _=this._sourcesDirty||this._styleDirty||this._placementDirty;return _||this._repaint?this.triggerRepaint():!this.isMoving()&&this.loaded()&&this.fire(new t.n("idle")),!this._loaded||this._fullyLoaded||_||(this._fullyLoaded=!0),this}redraw(){return this.style&&(this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this._render(0)),this}remove(){var e,i;this._hash&&this._hash.remove();for(const e of this._controls)e.onRemove(this);this._controls=[],this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this._renderTaskQueue.clear(),null===(e=this._diffStyleRequest)||void 0===e||e.abort(),this.painter.destroy(),this.handlers.destroy(),delete this.handlers,this.setStyle(null),"undefined"!=typeof window&&this._ownerWindow.removeEventListener("online",this._onWindowOnline,!1),u.removeThrottleControl(this._imageQueueHandle),null===(i=this._resizeObserver)||void 0===i||i.disconnect();const o=this.painter.context.gl.getExtension("WEBGL_lose_context");(null==o?void 0:o.loseContext)&&o.loseContext(),this._canvas.removeEventListener("webglcontextrestored",this._contextRestored,!1),this._canvas.removeEventListener("webglcontextlost",this._contextLost,!1),this._canvasContainer.remove(),this._controlContainer.remove(),this._container.removeEventListener("scroll",this._onMapScroll,!1),this._container.classList.remove("maplibregl-map"),this._removed=!0,this.fire(new t.n("remove"));}triggerRepaint(){this.style&&!this._frameRequest&&(this._frameRequest=new AbortController,n.frame(this._frameRequest,(e=>{this._frameRequest=null;try{this._render(e);}catch(e){if(!t.$(e)&&!function(e){return e.message===na}(e))throw e}}),(()=>{}),this._ownerWindow));}get showTileBoundaries(){return !!this._showTileBoundaries}set showTileBoundaries(e){this._showTileBoundaries!==e&&(this._showTileBoundaries=e,this._update());}get showPadding(){return !!this._showPadding}set showPadding(e){this._showPadding!==e&&(this._showPadding=e,this._update());}get showCollisionBoxes(){return !!this._showCollisionBoxes}set showCollisionBoxes(e){this._showCollisionBoxes!==e&&(this._showCollisionBoxes=e,e?this.style._generateCollisionBoxes():this._update());}get showOverdrawInspector(){return !!this._showOverdrawInspector}set showOverdrawInspector(e){this._showOverdrawInspector!==e&&(this._showOverdrawInspector=e,this._update());}get repaint(){return !!this._repaint}set repaint(e){this._repaint!==e&&(this._repaint=e,this.triggerRepaint());}get vertices(){return !!this._vertices}set vertices(e){this._vertices=e,this._update();}get version(){return hs}getCameraTargetElevation(){return this.transform.elevation}getProjection(){return this.style.getProjection()}setProjection(e){return this._lazyInitEmptyStyle(),this.style.setProjection(e),this._update(!0)}};const _s={showCompass:!0,showZoom:!0,visualizePitch:!1,visualizeRoll:!0};class ps{constructor(e,i,o=!1){this.mousedown=e=>{this.startMove(e,d.mousePos(this.element,e)),window.addEventListener("mousemove",this.mousemove),window.addEventListener("mouseup",this.mouseup);},this.mousemove=e=>{this.move(e,d.mousePos(this.element,e));},this.mouseup=e=>{this._rotatePitchHandler.dragEnd(e),this.offTemp();},this.touchstart=e=>{1!==e.targetTouches.length?this.reset():(this._startPos=this._lastPos=d.touchPos(this.element,e.targetTouches)[0],this.startMove(e,this._startPos),window.addEventListener("touchmove",this.touchmove,{passive:!1}),window.addEventListener("touchend",this.touchend));},this.touchmove=e=>{1!==e.targetTouches.length?this.reset():(this._lastPos=d.touchPos(this.element,e.targetTouches)[0],this.move(e,this._lastPos));},this.touchend=e=>{0===e.targetTouches.length&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos){this._rotatePitchHandler.reset(),delete this._startPos,delete this._lastPos,this.offTemp();},this._clickTolerance=10,this.element=i;const a=new Pr;this._rotatePitchHandler=new vr({clickTolerance:3,move:(e,a)=>{const r=i.getBoundingClientRect(),s=new t.P((r.bottom-r.top)/2,(r.right-r.left)/2);return {bearingDelta:t.cx(new t.P(e.x,a.y),a,s),pitchDelta:o?-.5*(a.y-e.y):void 0}},moveStateManager:a,enable:!0,assignEvents:()=>{}}),this.map=e,i.addEventListener("mousedown",this.mousedown),i.addEventListener("touchstart",this.touchstart,{passive:!1}),i.addEventListener("touchcancel",this.reset);}startMove(e,t){this._rotatePitchHandler.dragStart(e,t),d.disableDrag();}move(e,t){const i=this.map,{bearingDelta:o,pitchDelta:a}=this._rotatePitchHandler.dragMove(e,t)||{};o&&i.setBearing(i.getBearing()+o),a&&i.setPitch(i.getPitch()+a);}off(){const e=this.element;e.removeEventListener("mousedown",this.mousedown),e.removeEventListener("touchstart",this.touchstart),window.removeEventListener("touchmove",this.touchmove),window.removeEventListener("touchend",this.touchend),e.removeEventListener("touchcancel",this.reset),this.offTemp();}offTemp(){d.enableDrag(),window.removeEventListener("mousemove",this.mousemove),window.removeEventListener("mouseup",this.mouseup),window.removeEventListener("touchmove",this.touchmove),window.removeEventListener("touchend",this.touchend);}}let ms;function fs(e,i,o,a=!1){if(a||!o.getCoveringTilesDetailsProvider().allowWorldCopies())return null==e?void 0:e.wrap();const r=new t.W(e.lng,e.lat);if(e=new t.W(e.lng,e.lat),i){const a=new t.W(e.lng-360,e.lat),r=new t.W(e.lng+360,e.lat),s=o.locationToScreenPoint(e).distSqr(i);o.locationToScreenPoint(a).distSqr(i)180;){const t=o.locationToScreenPoint(e);if(t.x>=0&&t.y>=0&&t.x<=o.width&&t.y<=o.height)break;e.lng>o.center.lng?e.lng-=360:e.lng+=360;}return e.lng!==r.lng&&o.isPointOnMapSurface(o.locationToScreenPoint(e))?e:r}const gs={center:"translate(-50%,-50%)",top:"translate(-50%,0)","top-left":"translate(0,0)","top-right":"translate(-100%,0)",bottom:"translate(-50%,-100%)","bottom-left":"translate(0,-100%)","bottom-right":"translate(-100%,-100%)",left:"translate(0,-50%)",right:"translate(-100%,-50%)"};function vs(e,t,i){const o=e.classList;for(const e in gs)o.remove(`maplibregl-${i}-anchor-${e}`);o.add(`maplibregl-${i}-anchor-${t}`);}class xs extends t.E{constructor(e){if(super(),this._onClick=e=>{this.fire(new t.n("click",{originalEvent:e}));},this._onKeyPress=e=>{"Space"!==e.code&&"Enter"!==e.code||this.togglePopup();},this._onMapClick=e=>{const t=e.originalEvent.target,i=this._element;this._popup&&(t===i||i.contains(t))&&this.togglePopup();},this._update=e=>{if(!this._map)return;const t=this._map.loaded()&&!this._map.isMoving();("terrain"===(null==e?void 0:e.type)||"render"===(null==e?void 0:e.type)&&!t)&&this._map.once("render",this._update),this._lngLat=fs(this._lngLat,this._flatPos,this._map.transform),this._flatPos=this._pos=this._map.project(this._lngLat)._add(this._offset),this._map.terrain&&(this._flatPos=this._map.transform.locationToScreenPoint(this._lngLat)._add(this._offset));let i="";"viewport"===this._rotationAlignment||"auto"===this._rotationAlignment?i=`rotateZ(${this._rotation}deg)`:"map"===this._rotationAlignment&&(i=`rotateZ(${this._rotation-this._map.getBearing()}deg)`);let o="";"viewport"===this._pitchAlignment||"auto"===this._pitchAlignment?o="rotateX(0deg)":"map"===this._pitchAlignment&&(o=`rotateX(${this._map.getPitch()}deg)`),this._subpixelPositioning||e&&"moveend"!==e.type||(this._pos=this._pos.round()),this._element.style.transform=`${gs[this._anchor]} translate(${this._pos.x}px, ${this._pos.y}px) ${o} ${i}`,n.frameAsync(new AbortController,this._map._ownerWindow).then((()=>{this._updateOpacity("moveend"===(null==e?void 0:e.type));})).catch((()=>{}));},this._onMove=e=>{if(!this._isDragging){const t=this._clickTolerance||this._map._clickTolerance;this._isDragging=e.point.dist(this._pointerdownPos)>=t;}this._isDragging&&(this._pos=e.point.sub(this._positionDelta),this._lngLat=this._map.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents="none","pending"===this._state&&(this._state="active",this.fire(new t.n("dragstart"))),this.fire(new t.n("drag")));},this._onUp=()=>{this._element.style.pointerEvents="auto",this._positionDelta=null,this._pointerdownPos=null,this._isDragging=!1,this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),"active"===this._state&&this.fire(new t.n("dragend")),this._state="inactive";},this._addDragHandler=e=>{this._element.contains(e.originalEvent.target)&&(e.preventDefault(),this._positionDelta=e.point.sub(this._pos).add(this._offset),this._pointerdownPos=e.point,this._state="pending",this._map.on("mousemove",this._onMove),this._map.on("touchmove",this._onMove),this._map.once("mouseup",this._onUp),this._map.once("touchend",this._onUp));},this._anchor=(null==e?void 0:e.anchor)||"center",this._color=(null==e?void 0:e.color)||"#3FB1CE",this._scale=(null==e?void 0:e.scale)||1,this._draggable=(null==e?void 0:e.draggable)||!1,this._clickTolerance=(null==e?void 0:e.clickTolerance)||0,this._subpixelPositioning=(null==e?void 0:e.subpixelPositioning)||!1,this._isDragging=!1,this._state="inactive",this._rotation=(null==e?void 0:e.rotation)||0,this._rotationAlignment=(null==e?void 0:e.rotationAlignment)||"auto",this._pitchAlignment=(null==e?void 0:e.pitchAlignment)&&"auto"!==e.pitchAlignment?e.pitchAlignment:this._rotationAlignment,this.setOpacity(null==e?void 0:e.opacity,null==e?void 0:e.opacityWhenCovered),null==e?void 0:e.element)this._element=e.element,this._offset=t.P.convert((null==e?void 0:e.offset)||[0,0]);else {this._defaultMarker=!0,this._element=d.create("div");const i=d.createNS("http://www.w3.org/2000/svg","svg"),o=41,a=27;i.setAttributeNS(null,"display","block"),i.setAttributeNS(null,"height",`${o}px`),i.setAttributeNS(null,"width",`${a}px`),i.setAttributeNS(null,"viewBox",`0 0 ${a} ${o}`);const r=d.createNS("http://www.w3.org/2000/svg","g");r.setAttributeNS(null,"stroke","none"),r.setAttributeNS(null,"stroke-width","1"),r.setAttributeNS(null,"fill","none"),r.setAttributeNS(null,"fill-rule","evenodd");const s=d.createNS("http://www.w3.org/2000/svg","g");s.setAttributeNS(null,"fill-rule","nonzero");const n=d.createNS("http://www.w3.org/2000/svg","g");n.setAttributeNS(null,"transform","translate(3.0, 29.0)"),n.setAttributeNS(null,"fill","#000000");const l=[{rx:"10.5",ry:"5.25002273"},{rx:"10.5",ry:"5.25002273"},{rx:"9.5",ry:"4.77275007"},{rx:"8.5",ry:"4.29549936"},{rx:"7.5",ry:"3.81822308"},{rx:"6.5",ry:"3.34094679"},{rx:"5.5",ry:"2.86367051"},{rx:"4.5",ry:"2.38636864"}];for(const e of l){const t=d.createNS("http://www.w3.org/2000/svg","ellipse");t.setAttributeNS(null,"opacity","0.04"),t.setAttributeNS(null,"cx","10.5"),t.setAttributeNS(null,"cy","5.80029008"),t.setAttributeNS(null,"rx",e.rx),t.setAttributeNS(null,"ry",e.ry),n.appendChild(t);}const c=d.createNS("http://www.w3.org/2000/svg","g");c.setAttributeNS(null,"fill",this._color);const h=d.createNS("http://www.w3.org/2000/svg","path");h.setAttributeNS(null,"d","M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z"),c.appendChild(h);const u=d.createNS("http://www.w3.org/2000/svg","g");u.setAttributeNS(null,"opacity","0.25"),u.setAttributeNS(null,"fill","#000000");const _=d.createNS("http://www.w3.org/2000/svg","path");_.setAttributeNS(null,"d","M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z"),u.appendChild(_);const p=d.createNS("http://www.w3.org/2000/svg","g");p.setAttributeNS(null,"transform","translate(6.0, 7.0)"),p.setAttributeNS(null,"fill","#FFFFFF");const m=d.createNS("http://www.w3.org/2000/svg","g");m.setAttributeNS(null,"transform","translate(8.0, 8.0)");const f=d.createNS("http://www.w3.org/2000/svg","circle");f.setAttributeNS(null,"fill","#000000"),f.setAttributeNS(null,"opacity","0.25"),f.setAttributeNS(null,"cx","5.5"),f.setAttributeNS(null,"cy","5.5"),f.setAttributeNS(null,"r","5.4999962");const g=d.createNS("http://www.w3.org/2000/svg","circle");g.setAttributeNS(null,"fill","#FFFFFF"),g.setAttributeNS(null,"cx","5.5"),g.setAttributeNS(null,"cy","5.5"),g.setAttributeNS(null,"r","5.4999962"),m.appendChild(f),m.appendChild(g),s.appendChild(n),s.appendChild(c),s.appendChild(u),s.appendChild(p),s.appendChild(m),i.appendChild(s),i.setAttributeNS(null,"height",o*this._scale+"px"),i.setAttributeNS(null,"width",a*this._scale+"px"),this._element.appendChild(i),this._offset=t.P.convert((null==e?void 0:e.offset)||[0,-14]);}if(this._element.classList.add("maplibregl-marker"),this._element.addEventListener("dragstart",(e=>{e.preventDefault();})),this._element.addEventListener("mousedown",(e=>{e.preventDefault();})),vs(this._element,this._anchor,"marker"),null==e?void 0:e.className)for(const t of e.className.split(" "))this._element.classList.add(t);this._popup=null;}addTo(e){return this.remove(),this._map=e,this._element.hasAttribute("aria-label")||this._element.setAttribute("aria-label",e._getUIString("Marker.Title")),this._element.hasAttribute("role")||this._element.setAttribute("role","button"),e.getCanvasContainer().appendChild(this._element),e.on("move",this._update),e.on("moveend",this._update),e.on("terrain",this._update),e.on("projectiontransition",this._update),this._element.addEventListener("click",this._onClick),this.setDraggable(this._draggable),this._update(),this._map.on("click",this._onMapClick),this}remove(){return this._opacityTimeout&&(clearTimeout(this._opacityTimeout),delete this._opacityTimeout),this._map&&(this._map.off("click",this._onMapClick),this._map.off("move",this._update),this._map.off("moveend",this._update),this._map.off("terrain",this._update),this._map.off("projectiontransition",this._update),this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler),this._map.off("mouseup",this._onUp),this._map.off("touchend",this._onUp),this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),delete this._map),this._element.removeEventListener("click",this._onClick),this._element.remove(),this._popup&&this._popup.remove(),this}getLngLat(){return this._lngLat}setLngLat(e){return this._lngLat=t.W.convert(e),this._pos=null,this._popup&&this._popup.setLngLat(this._lngLat),this._update(),this}getElement(){return this._element}setPopup(e){if(this._popup&&(this._popup.remove(),this._popup=null,this._element.removeEventListener("keypress",this._onKeyPress),this._originalTabIndex||this._element.removeAttribute("tabindex")),e){if(!("offset"in e.options)){const t=38.1,i=13.5,o=Math.abs(i)/Math.SQRT2;e.options.offset=this._defaultMarker?{top:[0,0],"top-left":[0,0],"top-right":[0,0],bottom:[0,-t],"bottom-left":[o,-1*(t-i+o)],"bottom-right":[-o,-1*(t-i+o)],left:[i,-1*(t-i)],right:[-i,-1*(t-i)]}:this._offset;}this._popup=e,this._originalTabIndex=this._element.getAttribute("tabindex"),this._originalTabIndex||this._element.setAttribute("tabindex","0"),this._element.addEventListener("keypress",this._onKeyPress);}return this}setSubpixelPositioning(e){return this._subpixelPositioning=e,this}getPopup(){return this._popup}togglePopup(){const e=this._popup;return this._element.style.opacity===this._opacityWhenCovered?this:e?(e.isOpen()?e.remove():(e.setLngLat(this._lngLat),e.addTo(this._map)),this):this}_updateOpacity(e=!1){var i,o;const a=null===(i=this._map)||void 0===i?void 0:i.terrain,r=this._map.transform.isLocationOccluded(this._lngLat);if(!a||r){const e=r?this._opacityWhenCovered:this._opacity;return void(this._element.style.opacity!==e&&(this._element.style.opacity=e,this._element.classList.toggle("maplibregl-marker-covered",r)))}if(e)this._opacityTimeout=null;else {if(this._opacityTimeout)return;this._opacityTimeout=setTimeout((()=>{this._opacityTimeout=null;}),100);}const s=this._map,n=s.terrain.depthAtPoint(this._pos),l=s.terrain.getElevationForLngLat(this._lngLat,s.transform);if(s.transform.lngLatToCameraDepth(this._lngLat,l)-n<.006)return this._element.style.opacity=this._opacity,void this._element.classList.remove("maplibregl-marker-covered");const c=-this._offset.y/s.transform.pixelsPerMeter,h=Math.sin(s.getPitch()*Math.PI/180)*c,u=s.terrain.depthAtPoint(new t.P(this._pos.x,this._pos.y-this._offset.y)),d=s.transform.lngLatToCameraDepth(this._lngLat,l+h)-u>.006;(null===(o=this._popup)||void 0===o?void 0:o.isOpen())&&d&&this._popup.remove(),this._element.style.opacity=d?this._opacityWhenCovered:this._opacity,this._element.classList.toggle("maplibregl-marker-covered",d);}getOffset(){return this._offset}setOffset(e){return this._offset=t.P.convert(e),this._update(),this}addClassName(e){this._element.classList.add(e);}removeClassName(e){this._element.classList.remove(e);}toggleClassName(e){return this._element.classList.toggle(e)}setDraggable(e){return this._draggable=!!e,this._map&&(e?(this._map.on("mousedown",this._addDragHandler),this._map.on("touchstart",this._addDragHandler)):(this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler))),this}isDraggable(){return this._draggable}setRotation(e){return this._rotation=e||0,this._update(),this}getRotation(){return this._rotation}setRotationAlignment(e){return this._rotationAlignment=e||"auto",this._update(),this}getRotationAlignment(){return this._rotationAlignment}setPitchAlignment(e){return this._pitchAlignment=e&&"auto"!==e?e:this._rotationAlignment,this._update(),this}getPitchAlignment(){return this._pitchAlignment}setOpacity(e,t){return (void 0===this._opacity||void 0===e&&void 0===t)&&(this._opacity="1",this._opacityWhenCovered="0.2"),void 0!==e&&(this._opacity=String(e)),void 0!==t&&(this._opacityWhenCovered=String(t)),this._map&&this._updateOpacity(!0),this}}const bs={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showAccuracyCircle:!0,showUserLocation:!0};let ys=0,ws=!1;const Ts={maxWidth:100,unit:"metric"};function Ps(e,t,i){const o=(null==i?void 0:i.maxWidth)||100,a=e._container.clientHeight/2,r=e._container.clientWidth/2,s=e.unproject([r-o/2,a]),n=e.unproject([r+o/2,a]),l=Math.round(e.project(n).x-e.project(s).x),c=Math.min(o,l,e._container.clientWidth),h=s.distanceTo(n);if("imperial"===(null==i?void 0:i.unit)){const i=3.2808*h;i>5280?Cs(t,c,i/5280,e._getUIString("ScaleControl.Miles")):Cs(t,c,i,e._getUIString("ScaleControl.Feet"));}else "nautical"===(null==i?void 0:i.unit)?Cs(t,c,h/1852,e._getUIString("ScaleControl.NauticalMiles")):h>=1e3?Cs(t,c,h/1e3,e._getUIString("ScaleControl.Kilometers")):Cs(t,c,h,e._getUIString("ScaleControl.Meters"));}function Cs(e,t,i,o){const a=function(e){const t=Math.pow(10,`${Math.floor(e)}`.length-1);let i=e/t;return i=i>=10?10:i>=5?5:i>=3?3:i>=2?2:i>=1?1:function(e){const t=Math.pow(10,Math.ceil(-Math.log(e)/Math.LN10));return Math.round(e*t)/t}(i),t*i}(i);e.style.width=t*(a/i)+"px",e.innerHTML=`${a} ${o}`;}const Ms={closeButton:!0,closeOnClick:!0,focusAfterOpen:!0,className:"",maxWidth:"240px",subpixelPositioning:!1,locationOccludedOpacity:void 0,padding:void 0},Is=["a[href]","[tabindex]:not([tabindex='-1'])","[contenteditable]:not([contenteditable='false'])","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].join(", ");function Es(e){if(e){if("number"==typeof e){const i=Math.round(Math.abs(e)/Math.SQRT2);return {center:new t.P(0,0),top:new t.P(0,e),"top-left":new t.P(i,i),"top-right":new t.P(-i,i),bottom:new t.P(0,-e),"bottom-left":new t.P(i,-i),"bottom-right":new t.P(-i,-i),left:new t.P(e,0),right:new t.P(-e,0)}}if(e instanceof t.P||Array.isArray(e)){const i=t.P.convert(e);return {center:i,top:i,"top-left":i,"top-right":i,bottom:i,"bottom-left":i,"bottom-right":i,left:i,right:i}}return {center:t.P.convert(e.center||[0,0]),top:t.P.convert(e.top||[0,0]),"top-left":t.P.convert(e["top-left"]||[0,0]),"top-right":t.P.convert(e["top-right"]||[0,0]),bottom:t.P.convert(e.bottom||[0,0]),"bottom-left":t.P.convert(e["bottom-left"]||[0,0]),"bottom-right":t.P.convert(e["bottom-right"]||[0,0]),left:t.P.convert(e.left||[0,0]),right:t.P.convert(e.right||[0,0])}}return Es(new t.P(0,0))}const Ss=i;e.AJAXError=t.cG,e.EXTENT=t.a6,e.Event=t.n,e.Evented=t.E,e.LngLat=t.W,e.MercatorCoordinate=t.a7,e.Point=t.P,e.addProtocol=t.cH,e.config=t.c,e.removeProtocol=t.cI,e.AttributionControl=es,e.BoxZoomHandler=_r,e.CanvasSource=oe,e.CooperativeGesturesHandler=$r,e.DoubleClickZoomHandler=Zr,e.DragPanHandler=Vr,e.DragRotateHandler=Wr,e.EdgeInsets=Ut,e.FullscreenControl=class extends t.E{constructor(e={}){var i;super(),this._onFullscreenChange=()=>{var e;let t=window.document.fullscreenElement||window.document.webkitFullscreenElement;for(;null===(e=null==t?void 0:t.shadowRoot)||void 0===e?void 0:e.fullscreenElement;)t=t.shadowRoot.fullscreenElement;t===this._container!==this._fullscreen&&this._handleFullscreenChange();},this._onClickFullscreen=()=>{this._isFullscreen()?this._exitFullscreen():this._requestFullscreen();},this._fullscreen=!1,this._pseudo=null!==(i=e.pseudo)&&void 0!==i&&i,(null==e?void 0:e.container)&&(e.container instanceof HTMLElement?this._container=e.container:t.w("Full screen control 'container' must be a DOM element.")),"onfullscreenchange"in document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in document&&(this._fullscreenchange="MSFullscreenChange");}onAdd(e){return this._map=e,this._container||(this._container=this._map.getContainer()),this._controlContainer=d.create("div","maplibregl-ctrl maplibregl-ctrl-group"),this._setupUI(),this._controlContainer}onRemove(){this._controlContainer.remove(),this._map=null,window.document.removeEventListener(this._fullscreenchange,this._onFullscreenChange);}_setupUI(){const e=this._fullscreenButton=d.create("button","maplibregl-ctrl-fullscreen",this._controlContainer);d.create("span","maplibregl-ctrl-icon",e).setAttribute("aria-hidden","true"),e.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),window.document.addEventListener(this._fullscreenchange,this._onFullscreenChange);}_updateTitle(){const e=this._getTitle();this._fullscreenButton.setAttribute("aria-label",e),this._fullscreenButton.title=e;}_getTitle(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")}_isFullscreen(){return this._fullscreen}_handleFullscreenChange(){this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("maplibregl-ctrl-shrink"),this._fullscreenButton.classList.toggle("maplibregl-ctrl-fullscreen"),this._updateTitle(),this._fullscreen?(this.fire(new t.n("fullscreenstart")),this._prevCooperativeGesturesEnabled=this._map.cooperativeGestures.isEnabled(),this._map.cooperativeGestures.disable()):(this.fire(new t.n("fullscreenend")),this._prevCooperativeGesturesEnabled&&this._map.cooperativeGestures.enable());}_exitFullscreen(){this._pseudo?this._togglePseudoFullScreen():window.document.exitFullscreen?window.document.exitFullscreen():window.document.webkitCancelFullScreen?window.document.webkitCancelFullScreen():this._togglePseudoFullScreen();}_requestFullscreen(){this._pseudo?this._togglePseudoFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.webkitRequestFullscreen?this._container.webkitRequestFullscreen():this._togglePseudoFullScreen();}_togglePseudoFullScreen(){this._container.classList.toggle("maplibregl-pseudo-fullscreen"),this._handleFullscreenChange(),this._map.resize();}},e.GeoJSONSource=ee,e.GeolocateControl=class extends t.E{constructor(e){super(),this._onSuccess=e=>{if(this._map){if(this._isOutOfMapMaxBounds(e))return this._setErrorState(),this.fire(new t.n("outofmaxbounds",e)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=e,this._watchState){case "WAITING_ACTIVE":case "ACTIVE_LOCK":case "ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active");break;case "BACKGROUND":case "BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-background");break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}this.options.showUserLocation&&"OFF"!==this._watchState&&this._updateMarker(e),this.options.trackUserLocation&&"ACTIVE_LOCK"!==this._watchState||this._updateCamera(e),this.options.showUserLocation&&this._dotElement.classList.remove("maplibregl-user-location-dot-stale"),this.fire(new t.n("geolocate",e)),this._finish();}},this._updateCamera=e=>{const i=new t.W(e.coords.longitude,e.coords.latitude),o=e.coords.accuracy,a=this._map.getBearing(),r=t.e({bearing:a},this.options.fitBoundsOptions),s=G.fromLngLat(i,o);this._map.fitBounds(s,r,{geolocateSource:!0});},this._updateMarker=e=>{if(e){const i=new t.W(e.coords.longitude,e.coords.latitude);this._accuracyCircleMarker.setLngLat(i).addTo(this._map),this._userLocationDotMarker.setLngLat(i).addTo(this._map),this._accuracy=e.coords.accuracy,this._updateCircleRadiusIfNeeded();}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove();},this._onUpdate=()=>{this._updateCircleRadiusIfNeeded();},this._onError=e=>{if(this._map){if(1===e.code){this._watchState="OFF",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;const e=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=e,this._geolocateButton.setAttribute("aria-label",e),void 0!==this._geolocationWatchID&&this._clearWatch();}else {if(3===e.code&&ws)return;this._setErrorState();}"OFF"!==this._watchState&&this.options.showUserLocation&&this._dotElement.classList.add("maplibregl-user-location-dot-stale"),this.fire(new t.n("error",e)),this._finish();}},this._finish=()=>{this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0;},this._onMoveStart=e=>{if(!this._map)return;const i=(null==e?void 0:e[0])instanceof ResizeObserverEntry;e.geolocateSource||"ACTIVE_LOCK"!==this._watchState||i||this._map.isZooming()||(this._watchState="BACKGROUND",this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this.fire(new t.n("trackuserlocationend")),this.fire(new t.n("userlocationlostfocus")));},this._setupUI=()=>{this._map&&(this._container.addEventListener("contextmenu",(e=>{e.preventDefault();})),this._geolocateButton=d.create("button","maplibregl-ctrl-geolocate",this._container),d.create("span","maplibregl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden","true"),this._geolocateButton.type="button",this._geolocateButton.disabled=!0);},this._finishSetupUI=e=>{if(this._map){if(!1===e){t.w("Geolocation support is not available so the GeolocateControl will be disabled.");const e=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=e,this._geolocateButton.setAttribute("aria-label",e);}else {const e=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.disabled=!1,this._geolocateButton.title=e,this._geolocateButton.setAttribute("aria-label",e);}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=d.create("div","maplibregl-user-location-dot"),this._userLocationDotMarker=new xs({element:this._dotElement}),this._circleElement=d.create("div","maplibregl-user-location-accuracy-circle"),this._accuracyCircleMarker=new xs({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onUpdate),this._map.on("move",this._onUpdate),this._map.on("rotate",this._onUpdate),this._map.on("pitch",this._onUpdate)),this._geolocateButton.addEventListener("click",(()=>this.trigger())),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",this._onMoveStart);}},this.options=t.e({},bs,e);}onAdd(e){return this._map=e,this._container=d.create("div","maplibregl-ctrl maplibregl-ctrl-group"),this._setupUI(),function(){return t._(this,arguments,void 0,(function*(e=!1){if(void 0!==ms&&!e)return ms;if(void 0===window.navigator.permissions)return ms=!!window.navigator.geolocation,ms;try{const e=yield window.navigator.permissions.query({name:"geolocation"});ms="denied"!==e.state;}catch(e){ms=!!window.navigator.geolocation;}return ms}))}().then((e=>this._finishSetupUI(e))),this._container}onRemove(){void 0!==this._geolocationWatchID&&(window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),this.options.showAccuracyCircle&&this._accuracyCircleMarker&&this._accuracyCircleMarker.remove(),this._container.remove(),this._map.off("movestart",this._onMoveStart),this._map.off("zoom",this._onUpdate),this._map.off("move",this._onUpdate),this._map.off("rotate",this._onUpdate),this._map.off("pitch",this._onUpdate),this._map=void 0,ys=0,ws=!1;}_isOutOfMapMaxBounds(e){const t=this._map.getMaxBounds(),i=e.coords;return t&&(i.longitudet.getEast()||i.latitudet.getNorth())}_setErrorState(){switch(this._watchState){case "WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active-error");break;case "ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting");break;case "BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting");break;case "ACTIVE_ERROR":case "BACKGROUND_ERROR":case "OFF":case void 0:break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}}_updateCircleRadiusIfNeeded(){const e=this._userLocationDotMarker.getLngLat();if(!(this.options.showUserLocation&&this.options.showAccuracyCircle&&this._accuracy&&e))return;const t=this._map.project(e),i=this._map.unproject([t.x+100,t.y]),o=e.distanceTo(i)/100,a=2*this._accuracy/o;this._circleElement.style.width=`${a.toFixed(2)}px`,this._circleElement.style.height=`${a.toFixed(2)}px`;}trigger(){if(!this._setup)return t.w("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case "OFF":this._watchState="WAITING_ACTIVE",this.fire(new t.n("trackuserlocationstart"));break;case "WAITING_ACTIVE":case "ACTIVE_LOCK":case "ACTIVE_ERROR":case "BACKGROUND_ERROR":ys--,ws=!1,this._watchState="OFF",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background-error"),this.fire(new t.n("trackuserlocationend"));break;case "BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new t.n("trackuserlocationstart")),this.fire(new t.n("userlocationfocus"));break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}switch(this._watchState){case "WAITING_ACTIVE":this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active");break;case "ACTIVE_LOCK":this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active");break;case "OFF":break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}if("OFF"===this._watchState&&void 0!==this._geolocationWatchID)this._clearWatch();else if(void 0===this._geolocationWatchID){let e;this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),ys++,ys>1?(e={maximumAge:6e5,timeout:0},ws=!0):(e=this.options.positionOptions,ws=!1),this._geolocationWatchID=window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,e);}}else window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return !0}_clearWatch(){window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null);}},e.GlobeControl=class{constructor(){this._toggleProjection=()=>{var e;const t=null===(e=this._map.getProjection())||void 0===e?void 0:e.type;this._map.setProjection("mercator"!==t&&t?{type:"mercator"}:{type:"globe"}),this._updateGlobeIcon();},this._updateGlobeIcon=()=>{var e;this._globeButton.classList.remove("maplibregl-ctrl-globe"),this._globeButton.classList.remove("maplibregl-ctrl-globe-enabled"),"globe"===(null===(e=this._map.getProjection())||void 0===e?void 0:e.type)?(this._globeButton.classList.add("maplibregl-ctrl-globe-enabled"),this._globeButton.title=this._map._getUIString("GlobeControl.Disable")):(this._globeButton.classList.add("maplibregl-ctrl-globe"),this._globeButton.title=this._map._getUIString("GlobeControl.Enable"));};}onAdd(e){return this._map=e,this._container=d.create("div","maplibregl-ctrl maplibregl-ctrl-group"),this._globeButton=d.create("button","maplibregl-ctrl-globe",this._container),d.create("span","maplibregl-ctrl-icon",this._globeButton).setAttribute("aria-hidden","true"),this._globeButton.type="button",this._globeButton.addEventListener("click",this._toggleProjection),this._updateGlobeIcon(),this._map.on("styledata",this._updateGlobeIcon),this._map.on("projectiontransition",this._updateGlobeIcon),this._container}onRemove(){this._container.remove(),this._map.off("styledata",this._updateGlobeIcon),this._map.off("projectiontransition",this._updateGlobeIcon),this._globeButton.removeEventListener("click",this._toggleProjection),this._map=void 0;}},e.Hash=Ya,e.ImageSource=te,e.KeyboardHandler=kr,e.LngLatBounds=G,e.LogoControl=ts,e.Map=ds,e.MapLibreMap=ds,e.MapMouseEvent=nr,e.MapTouchEvent=lr,e.MapWheelEvent=cr,e.Marker=xs,e.NavigationControl=class{constructor(e){this._updateZoomButtons=()=>{const e=this._map.getZoom(),t=e===this._map.getMaxZoom(),i=e===this._map.getMinZoom();this._zoomInButton.disabled=t,this._zoomOutButton.disabled=i,this._zoomInButton.setAttribute("aria-disabled",t.toString()),this._zoomOutButton.setAttribute("aria-disabled",i.toString());},this._rotateCompassArrow=()=>{this._compassIcon.style.transform=this.options.visualizePitch&&this.options.visualizeRoll?`scale(${1/Math.pow(Math.cos(this._map.transform.pitchInRadians),.5)}) rotateZ(${-this._map.transform.roll}deg) rotateX(${this._map.transform.pitch}deg) rotateZ(${-this._map.transform.bearing}deg)`:this.options.visualizePitch?`scale(${1/Math.pow(Math.cos(this._map.transform.pitchInRadians),.5)}) rotateX(${this._map.transform.pitch}deg) rotateZ(${-this._map.transform.bearing}deg)`:this.options.visualizeRoll?`rotate(${-this._map.transform.bearing-this._map.transform.roll}deg)`:`rotate(${-this._map.transform.bearing}deg)`;},this._setButtonTitle=(e,t)=>{const i=this._map._getUIString(`NavigationControl.${t}`);e.title=i,e.setAttribute("aria-label",i);},this.options=t.e({},_s,e),this._container=d.create("div","maplibregl-ctrl maplibregl-ctrl-group"),this._container.addEventListener("contextmenu",(e=>e.preventDefault())),this.options.showZoom&&(this._zoomInButton=this._createButton("maplibregl-ctrl-zoom-in",(e=>this._map.zoomIn({},{originalEvent:e}))),d.create("span","maplibregl-ctrl-icon",this._zoomInButton).setAttribute("aria-hidden","true"),this._zoomOutButton=this._createButton("maplibregl-ctrl-zoom-out",(e=>this._map.zoomOut({},{originalEvent:e}))),d.create("span","maplibregl-ctrl-icon",this._zoomOutButton).setAttribute("aria-hidden","true")),this.options.showCompass&&(this._compass=this._createButton("maplibregl-ctrl-compass",(e=>{this.options.visualizePitch?this._map.resetNorthPitch({},{originalEvent:e}):this._map.resetNorth({},{originalEvent:e});})),this._compassIcon=d.create("span","maplibregl-ctrl-icon",this._compass),this._compassIcon.setAttribute("aria-hidden","true"));}onAdd(e){return this._map=e,this.options.showZoom&&(this._setButtonTitle(this._zoomInButton,"ZoomIn"),this._setButtonTitle(this._zoomOutButton,"ZoomOut"),this._map.on("zoom",this._updateZoomButtons),this._updateZoomButtons()),this.options.showCompass&&(this._setButtonTitle(this._compass,"ResetBearing"),this.options.visualizePitch&&this._map.on("pitch",this._rotateCompassArrow),this.options.visualizeRoll&&this._map.on("roll",this._rotateCompassArrow),this._map.on("rotate",this._rotateCompassArrow),this._rotateCompassArrow(),this._handler=new ps(this._map,this._compass,this.options.visualizePitch)),this._container}onRemove(){this._container.remove(),this.options.showZoom&&this._map.off("zoom",this._updateZoomButtons),this.options.showCompass&&(this.options.visualizePitch&&this._map.off("pitch",this._rotateCompassArrow),this.options.visualizeRoll&&this._map.off("roll",this._rotateCompassArrow),this._map.off("rotate",this._rotateCompassArrow),this._handler.off(),delete this._handler),delete this._map;}_createButton(e,t){const i=d.create("button",e,this._container);return i.type="button",i.addEventListener("click",t),i}},e.Popup=class extends t.E{constructor(e){super(),this._updateOpacity=()=>{void 0!==this.options.locationOccludedOpacity&&(this._container.style.opacity=this._map.transform.isLocationOccluded(this.getLngLat())?`${this.options.locationOccludedOpacity}`:"");},this.remove=()=>(this._content&&this._content.remove(),this._container&&(this._container.remove(),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("terrain",this._update),this._map.off("projectiontransition",this._update),this._map.off("mousemove",this._update),this._map.off("mouseup",this._update),this._map.off("drag",this._update),this._map._canvasContainer.classList.remove("maplibregl-track-pointer"),delete this._map,this.fire(new t.n("close"))),this),this._update=e=>{if(!this._map||!this._lngLat&&!this._trackPointer||!this._content)return;if(!this._container){if(this._container=d.create("div","maplibregl-popup",this._map.getContainer()),this._tip=d.create("div","maplibregl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className)for(const e of this.options.className.split(" "))this._container.classList.add(e);this._closeButton&&this._closeButton.setAttribute("aria-label",this._map._getUIString("Popup.Close")),this._trackPointer&&this._container.classList.add("maplibregl-popup-track-pointer");}let t;if(this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._lngLat=fs(this._lngLat,this._flatPos,this._map.transform,this._trackPointer),e&&"point"in e&&e.point&&(t=e.point),this._trackPointer&&!t)return;const i=this._flatPos=this._pos=this._trackPointer&&t?t:this._map.project(this._lngLat);this._map.terrain&&(this._flatPos=this._trackPointer&&t?t:this._map.transform.locationToScreenPoint(this._lngLat));let o=this.options.anchor;const a=Es(this.options.offset);if(!o){const e=this._container.offsetWidth,t=this._container.offsetHeight,r=function(e){var t,i,o,a;return e?{top:null!==(t=e.top)&&void 0!==t?t:0,right:null!==(i=e.right)&&void 0!==i?i:0,bottom:null!==(o=e.bottom)&&void 0!==o?o:0,left:null!==(a=e.left)&&void 0!==a?a:0}:{top:0,right:0,bottom:0,left:0}}(this.options.padding);let s;s=i.y+a.bottom.ythis._map.transform.height-t-r.bottom?["bottom"]:[],i.xthis._map.transform.width-e/2-r.right&&s.push("right"),o=0===s.length?"bottom":s.join("-");}let r=i.add(a[o]);this.options.subpixelPositioning||(r=r.round()),this._container.style.transform=`${gs[o]} translate(${r.x}px,${r.y}px)`,vs(this._container,o,"popup"),this._updateOpacity();},this._onClose=()=>{this.remove();},this.options=t.e(Object.create(Ms),e);}addTo(e){return this._map&&this.remove(),this._map=e,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._map.on("terrain",this._update),this._map.on("projectiontransition",this._update),this._update(),this._focusFirstElement(),this._trackPointer?(this._map.on("mousemove",this._update),this._map.on("mouseup",this._update),this._container&&this._container.classList.add("maplibregl-popup-track-pointer"),this._map._canvasContainer.classList.add("maplibregl-track-pointer")):this._map.on("move",this._update),this.fire(new t.n("open")),this}isOpen(){return !!this._map}getLngLat(){return this._lngLat}setLngLat(e){return this._lngLat=t.W.convert(e),this._pos=null,this._flatPos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._update),this._container&&this._container.classList.remove("maplibregl-popup-track-pointer"),this._map._canvasContainer.classList.remove("maplibregl-track-pointer")),this}trackPointer(){return this._trackPointer=!0,this._pos=null,this._flatPos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._update),this._map.on("drag",this._update),this._container&&this._container.classList.add("maplibregl-popup-track-pointer"),this._map._canvasContainer.classList.add("maplibregl-track-pointer")),this}getElement(){return this._container}setText(e){return this.setDOMContent(document.createTextNode(e))}setHTML(e){const t=document.createDocumentFragment(),i=document.createElement("body");let o;for(i.innerHTML=e;o=i.firstChild,o;)t.appendChild(o);return this.setDOMContent(t)}getMaxWidth(){var e;return null===(e=this._container)||void 0===e?void 0:e.style.maxWidth}setMaxWidth(e){return this.options.maxWidth=e,this._update(),this}setDOMContent(e){if(this._content)for(;this._content.hasChildNodes();)this._content.firstChild&&this._content.removeChild(this._content.firstChild);else this._content=d.create("div","maplibregl-popup-content",this._container);return this._content.appendChild(e),this._createCloseButton(),this._update(),this._focusFirstElement(),this}addClassName(e){return this._container&&this._container.classList.add(e),this}removeClassName(e){return this._container&&this._container.classList.remove(e),this}setOffset(e){return this.options.offset=e,this._update(),this}toggleClassName(e){if(this._container)return this._container.classList.toggle(e)}setSubpixelPositioning(e){this.options.subpixelPositioning=e;}setPadding(e){this.options.padding=e,this._update();}_createCloseButton(){this.options.closeButton&&(this._closeButton=d.create("button","maplibregl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.innerHTML="×",this._closeButton.addEventListener("click",this._onClose));}_focusFirstElement(){if(!this.options.focusAfterOpen||!this._container)return;const e=this._container.querySelector(Is);e&&e.focus();}},e.RasterDEMTileSource=$,e.RasterTileSource=q,e.ScaleControl=class{constructor(e){this._onMove=()=>{Ps(this._map,this._container,this.options);},this.setUnit=e=>{this.options.unit=e,Ps(this._map,this._container,this.options);},this.options=Object.assign(Object.assign({},Ts),e);}getDefaultPosition(){return "bottom-left"}onAdd(e){return this._map=e,this._container=d.create("div","maplibregl-ctrl maplibregl-ctrl-scale",e.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container}onRemove(){this._container.remove(),this._map.off("move",this._onMove),this._map=void 0;}},e.ScrollZoomHandler=Nr,e.Style=ki,e.TerrainControl=class{constructor(e){this._toggleTerrain=()=>{this._map.getTerrain()?this._map.setTerrain(null):this._map.setTerrain(this.options),this._updateTerrainIcon();},this._updateTerrainIcon=()=>{this._terrainButton.classList.remove("maplibregl-ctrl-terrain"),this._terrainButton.classList.remove("maplibregl-ctrl-terrain-enabled"),this._map.terrain?(this._terrainButton.classList.add("maplibregl-ctrl-terrain-enabled"),this._terrainButton.title=this._map._getUIString("TerrainControl.Disable")):(this._terrainButton.classList.add("maplibregl-ctrl-terrain"),this._terrainButton.title=this._map._getUIString("TerrainControl.Enable"));},this.options=e;}onAdd(e){return this._map=e,this._container=d.create("div","maplibregl-ctrl maplibregl-ctrl-group"),this._terrainButton=d.create("button","maplibregl-ctrl-terrain",this._container),d.create("span","maplibregl-ctrl-icon",this._terrainButton).setAttribute("aria-hidden","true"),this._terrainButton.type="button",this._terrainButton.addEventListener("click",this._toggleTerrain),this._updateTerrainIcon(),this._map.on("terrain",this._updateTerrainIcon),this._container}onRemove(){this._container.remove(),this._map.off("terrain",this._updateTerrainIcon),this._map=void 0;}},e.TwoFingersTouchPitchHandler=Lr,e.TwoFingersTouchRotateHandler=Dr,e.TwoFingersTouchZoomHandler=zr,e.TwoFingersTouchZoomRotateHandler=qr,e.VectorTileSource=W,e.VideoSource=ie,e.addSourceType=(e,i)=>t._(void 0,void 0,void 0,(function*(){if(re(e))throw new Error(`A source type called "${e}" already exists.`);((e,t)=>{ae[e]=t;})(e,i);})),e.clearPrewarmedResources=function(){const e=A;e&&(e.isPreloaded()&&1===e.numActive()?(e.release(z),A=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"));},e.createTileMesh=ci,e.getGlobalDispatcher=B,e.getMaxParallelImageRequests=function(){return t.c.MAX_PARALLEL_IMAGE_REQUESTS},e.getRTLTextPluginStatus=function(){return ce().getRTLTextPluginStatus()},e.getVersion=function(){return Ss},e.getWorkerCount=function(){return R.workerCount},e.getWorkerUrl=function(){return t.c.WORKER_URL},e.importScriptInWorkers=function(e){return B().broadcast("IS",e)},e.isTimeFrozen=function(){return l.isFrozen()},e.now=c,e.prewarm=function(){F().acquire(z);},e.restoreNow=function(){l.restoreNow();},e.setMaxParallelImageRequests=function(e){t.c.MAX_PARALLEL_IMAGE_REQUESTS=e;},e.setNow=function(e){l.setNow(e);},e.setRTLTextPlugin=function(e,t){return ce().setRTLTextPlugin(e,t)},e.setWorkerCount=function(e){R.workerCount=e;},e.setWorkerUrl=function(e){t.c.WORKER_URL=e;};})); + +// +// Our custom intro provides a specialized "define()" function, called by the +// AMD modules below, that sets up the worker blob URL and then executes the +// main module, storing its exported value as 'maplibregl' + + +var maplibregl$1 = maplibregl; + +return maplibregl$1; + +})); +//# sourceMappingURL=maplibre-gl.js.map diff --git a/public/doxa-maps/assets/legacy/upg-neighbor/upg-neighbor.iife.js b/public/doxa-maps/assets/legacy/upg-neighbor/upg-neighbor.iife.js new file mode 100644 index 000000000..58523ca2e --- /dev/null +++ b/public/doxa-maps/assets/legacy/upg-neighbor/upg-neighbor.iife.js @@ -0,0 +1,548 @@ +(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".profile-loader[data-v-8d448c33]{width:100%;height:100%;position:relative}.profile-error[data-v-8d448c33]{padding:1rem;background:#fff3cd;border:1px solid #ffc107;border-radius:4px;font-family:monospace;font-size:13px}")),document.head.appendChild(e)}}catch(d){console.error("vite-plugin-css-injected-by-js",d)}})(); +(function(){"use strict";var xu;const Hf="modulepreload",Df=function(a){return"/"+a},zf={},oi=function(n,e,i){let t=Promise.resolve();function o(r){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=r,window.dispatchEvent(l),!l.defaultPrevented)throw r}return t.then(r=>{for(const l of r||[])l.status==="rejected"&&o(l.reason);return n().catch(o)})};/** +* @vue/shared v3.5.34 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function ro(a){const n=Object.create(null);for(const e of a.split(","))n[e]=1;return e=>e in n}const Fa={},Le=[],Mn=()=>{},tl=()=>!1,qi=a=>a.charCodeAt(0)===111&&a.charCodeAt(1)===110&&(a.charCodeAt(2)>122||a.charCodeAt(2)<97),Xi=a=>a.startsWith("onUpdate:"),Ja=Object.assign,lo=(a,n)=>{const e=a.indexOf(n);e>-1&&a.splice(e,1)},Tu=Object.prototype.hasOwnProperty,Ta=(a,n)=>Tu.call(a,n),Ca=Array.isArray,Re=a=>ri(a)==="[object Map]",ol=a=>ri(a)==="[object Set]",rl=a=>ri(a)==="[object Date]",ka=a=>typeof a=="function",Da=a=>typeof a=="string",Pn=a=>typeof a=="symbol",Na=a=>a!==null&&typeof a=="object",ll=a=>(Na(a)||ka(a))&&ka(a.then)&&ka(a.catch),sl=Object.prototype.toString,ri=a=>sl.call(a),Nu=a=>ri(a).slice(8,-1),Qi=a=>ri(a)==="[object Object]",at=a=>Da(a)&&a!=="NaN"&&a[0]!=="-"&&""+parseInt(a,10)===a,li=ro(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),nt=a=>{const n=Object.create(null);return e=>n[e]||(n[e]=a(e))},Lu=/-\w/g,nn=nt(a=>a.replace(Lu,n=>n.slice(1).toUpperCase())),Ru=/\B([A-Z])/g,yn=nt(a=>a.replace(Ru,"-$1").toLowerCase()),et=nt(a=>a.charAt(0).toUpperCase()+a.slice(1)),so=nt(a=>a?`on${et(a)}`:""),In=(a,n)=>!Object.is(a,n),co=(a,...n)=>{for(let e=0;e{Object.defineProperty(a,n,{configurable:!0,enumerable:!1,writable:i,value:e})},$u=a=>{const n=parseFloat(a);return isNaN(n)?a:n},gl=a=>{const n=Da(a)?Number(a):NaN;return isNaN(n)?a:n};let ul;const it=()=>ul||(ul=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ka(a){if(Ca(a)){const n={};for(let e=0;e{if(e){const i=e.split(Ku);i.length>1&&(n[i[0].trim()]=i[1].trim())}}),n}function Ia(a){let n="";if(Da(a))n=a;else if(Ca(a))for(let e=0;e!!(a&&a.__v_isRef===!0),X=a=>Da(a)?a:a==null?"":Ca(a)||Na(a)&&(a.toString===sl||!ka(a.toString))?pl(a)?X(a.value):JSON.stringify(a,ml,2):String(a),ml=(a,n)=>pl(n)?ml(a,n.value):Re(n)?{[`Map(${n.size})`]:[...n.entries()].reduce((e,[i,t],o)=>(e[uo(i,o)+" =>"]=t,e),{})}:ol(n)?{[`Set(${n.size})`]:[...n.values()].map(e=>uo(e))}:Pn(n)?uo(n):Na(n)&&!Ca(n)&&!Qi(n)?String(n):n,uo=(a,n="")=>{var e;return Pn(a)?`Symbol(${(e=a.description)!=null?e:n})`:a};/** +* @vue/reactivity v3.5.34 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Xa;class hl{constructor(n=!1){this.detached=n,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!n&&Xa&&(Xa.active?(this.parent=Xa,this.index=(Xa.scopes||(Xa.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let n,e;if(this.scopes)for(n=0,e=this.scopes.length;n0&&--this._on===0){if(Xa===this)Xa=this.prevScope;else{let n=Xa;for(;n;){if(n.prevScope===this){n.prevScope=this.prevScope;break}n=n.prevScope}}this.prevScope=void 0}}stop(n){if(this._active){this._active=!1;let e,i;for(e=0,i=this.effects.length;e0)return;if(ci){let n=ci;for(ci=void 0;n;){const e=n.next;n.next=void 0,n.flags&=-9,n=e}}let a;for(;si;){let n=si;for(si=void 0;n;){const e=n.next;if(n.next=void 0,n.flags&=-9,n.flags&1)try{n.trigger()}catch(i){a||(a=i)}n=e}}if(a)throw a}function Pl(a){for(let n=a.deps;n;n=n.nextDep)n.version=-1,n.prevActiveLink=n.dep.activeLink,n.dep.activeLink=n}function Cl(a){let n,e=a.depsTail,i=e;for(;i;){const t=i.prevDep;i.version===-1?(i===e&&(e=t),_o(i),zu(i)):n=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=t}a.deps=n,a.depsTail=e}function bo(a){for(let n=a.deps;n;n=n.nextDep)if(n.dep.version!==n.version||n.dep.computed&&(jl(n.dep.computed)||n.dep.version!==n.version))return!0;return!!a._dirty}function jl(a){if(a.flags&4&&!(a.flags&16)||(a.flags&=-17,a.globalVersion===gi)||(a.globalVersion=gi,!a.isSSR&&a.flags&128&&(!a.deps&&!a._dirty||!bo(a))))return;a.flags|=2;const n=a.dep,e=Oa,i=kn;Oa=a,kn=!0;try{Pl(a);const t=a.fn(a._value);(n.version===0||In(t,a._value))&&(a.flags|=128,a._value=t,n.version++)}catch(t){throw n.version++,t}finally{Oa=e,kn=i,Cl(a),a.flags&=-3}}function _o(a,n=!1){const{dep:e,prevSub:i,nextSub:t}=a;if(i&&(i.nextSub=t,a.prevSub=void 0),t&&(t.prevSub=i,a.nextSub=void 0),e.subs===a&&(e.subs=i,!i&&e.computed)){e.computed.flags&=-5;for(let o=e.computed.deps;o;o=o.nextDep)_o(o,!0)}!n&&!--e.sc&&e.map&&e.map.delete(e.key)}function zu(a){const{prevDep:n,nextDep:e}=a;n&&(n.nextDep=e,a.prevDep=void 0),e&&(e.prevDep=n,a.nextDep=void 0)}let kn=!0;const kl=[];function wn(){kl.push(kn),kn=!1}function xn(){const a=kl.pop();kn=a===void 0?!0:a}function Gl(a){const{cleanup:n}=a;if(a.cleanup=void 0,n){const e=Oa;Oa=void 0;try{n()}finally{Oa=e}}}let gi=0;class Vu{constructor(n,e){this.sub=n,this.dep=e,this.version=e.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class fo{constructor(n){this.computed=n,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(n){if(!Oa||!kn||Oa===this.computed)return;let e=this.activeLink;if(e===void 0||e.sub!==Oa)e=this.activeLink=new Vu(Oa,this),Oa.deps?(e.prevDep=Oa.depsTail,Oa.depsTail.nextDep=e,Oa.depsTail=e):Oa.deps=Oa.depsTail=e,vl(e);else if(e.version===-1&&(e.version=this.version,e.nextDep)){const i=e.nextDep;i.prevDep=e.prevDep,e.prevDep&&(e.prevDep.nextDep=i),e.prevDep=Oa.depsTail,e.nextDep=void 0,Oa.depsTail.nextDep=e,Oa.depsTail=e,Oa.deps===e&&(Oa.deps=i)}return e}trigger(n){this.version++,gi++,this.notify(n)}notify(n){ho();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{yo()}}}function vl(a){if(a.dep.sc++,a.sub.flags&4){const n=a.dep.computed;if(n&&!a.dep.subs){n.flags|=20;for(let i=n.deps;i;i=i.nextDep)vl(i)}const e=a.dep.subs;e!==a&&(a.prevSub=e,e&&(e.nextSub=a)),a.dep.subs=a}}const tt=new WeakMap,Ge=Symbol(""),Po=Symbol(""),ui=Symbol("");function rn(a,n,e){if(kn&&Oa){let i=tt.get(a);i||tt.set(a,i=new Map);let t=i.get(e);t||(i.set(e,t=new fo),t.map=i,t.key=e),t.track()}}function Dn(a,n,e,i,t,o){const r=tt.get(a);if(!r){gi++;return}const l=s=>{s&&s.trigger()};if(ho(),n==="clear")r.forEach(l);else{const s=Ca(a),g=s&&at(e);if(s&&e==="length"){const d=Number(i);r.forEach((_,k)=>{(k==="length"||k===ui||!Pn(k)&&k>=d)&&l(_)})}else switch((e!==void 0||r.has(void 0))&&l(r.get(e)),g&&l(r.get(ui)),n){case"add":s?g&&l(r.get("length")):(l(r.get(Ge)),Re(a)&&l(r.get(Po)));break;case"delete":s||(l(r.get(Ge)),Re(a)&&l(r.get(Po)));break;case"set":Re(a)&&l(r.get(Ge));break}}yo()}function Yu(a,n){const e=tt.get(a);return e&&e.get(n)}function $e(a){const n=wa(a);return n===a?n:(rn(n,"iterate",ui),bn(a)?n:n.map(Gn))}function ot(a){return rn(a=wa(a),"iterate",ui),a}function Tn(a,n){return Yn(a)?Fe(Vn(a)?Gn(n):n):Gn(n)}const Wu={__proto__:null,[Symbol.iterator](){return Co(this,Symbol.iterator,a=>Tn(this,a))},concat(...a){return $e(this).concat(...a.map(n=>Ca(n)?$e(n):n))},entries(){return Co(this,"entries",a=>(a[1]=Tn(this,a[1]),a))},every(a,n){return zn(this,"every",a,n,void 0,arguments)},filter(a,n){return zn(this,"filter",a,n,e=>e.map(i=>Tn(this,i)),arguments)},find(a,n){return zn(this,"find",a,n,e=>Tn(this,e),arguments)},findIndex(a,n){return zn(this,"findIndex",a,n,void 0,arguments)},findLast(a,n){return zn(this,"findLast",a,n,e=>Tn(this,e),arguments)},findLastIndex(a,n){return zn(this,"findLastIndex",a,n,void 0,arguments)},forEach(a,n){return zn(this,"forEach",a,n,void 0,arguments)},includes(...a){return jo(this,"includes",a)},indexOf(...a){return jo(this,"indexOf",a)},join(a){return $e(this).join(a)},lastIndexOf(...a){return jo(this,"lastIndexOf",a)},map(a,n){return zn(this,"map",a,n,void 0,arguments)},pop(){return di(this,"pop")},push(...a){return di(this,"push",a)},reduce(a,...n){return Al(this,"reduce",a,n)},reduceRight(a,...n){return Al(this,"reduceRight",a,n)},shift(){return di(this,"shift")},some(a,n){return zn(this,"some",a,n,void 0,arguments)},splice(...a){return di(this,"splice",a)},toReversed(){return $e(this).toReversed()},toSorted(a){return $e(this).toSorted(a)},toSpliced(...a){return $e(this).toSpliced(...a)},unshift(...a){return di(this,"unshift",a)},values(){return Co(this,"values",a=>Tn(this,a))}};function Co(a,n,e){const i=ot(a),t=i[n]();return i!==a&&!bn(a)&&(t._next=t.next,t.next=()=>{const o=t._next();return o.done||(o.value=e(o.value)),o}),t}const Ju=Array.prototype;function zn(a,n,e,i,t,o){const r=ot(a),l=r!==a&&!bn(a),s=r[n];if(s!==Ju[n]){const _=s.apply(a,o);return l?Gn(_):_}let g=e;r!==a&&(l?g=function(_,k){return e.call(this,Tn(a,_),k,a)}:e.length>2&&(g=function(_,k){return e.call(this,_,k,a)}));const d=s.call(r,g,i);return l&&t?t(d):d}function Al(a,n,e,i){const t=ot(a),o=t!==a&&!bn(a);let r=e,l=!1;t!==a&&(o?(l=i.length===0,r=function(g,d,_){return l&&(l=!1,g=Tn(a,g)),e.call(this,g,Tn(a,d),_,a)}):e.length>3&&(r=function(g,d,_){return e.call(this,g,d,_,a)}));const s=t[n](r,...i);return l?Tn(a,s):s}function jo(a,n,e){const i=wa(a);rn(i,"iterate",ui);const t=i[n](...e);return(t===-1||t===!1)&>(e[0])?(e[0]=wa(e[0]),i[n](...e)):t}function di(a,n,e=[]){wn(),ho();const i=wa(a)[n].apply(a,e);return yo(),xn(),i}const Zu=ro("__proto__,__v_isRef,__isVue"),Sl=new Set(Object.getOwnPropertyNames(Symbol).filter(a=>a!=="arguments"&&a!=="caller").map(a=>Symbol[a]).filter(Pn));function qu(a){Pn(a)||(a=String(a));const n=wa(this);return rn(n,"has",a),n.hasOwnProperty(a)}class El{constructor(n=!1,e=!1){this._isReadonly=n,this._isShallow=e}get(n,e,i){if(e==="__v_skip")return n.__v_skip;const t=this._isReadonly,o=this._isShallow;if(e==="__v_isReactive")return!t;if(e==="__v_isReadonly")return t;if(e==="__v_isShallow")return o;if(e==="__v_raw")return i===(t?o?Nl:Tl:o?xl:wl).get(n)||Object.getPrototypeOf(n)===Object.getPrototypeOf(i)?n:void 0;const r=Ca(n);if(!t){let s;if(r&&(s=Wu[e]))return s;if(e==="hasOwnProperty")return qu}const l=Reflect.get(n,e,Va(n)?n:i);if((Pn(e)?Sl.has(e):Zu(e))||(t||rn(n,"get",e),o))return l;if(Va(l)){const s=r&&at(e)?l:l.value;return t&&Na(s)?Go(s):s}return Na(l)?t?Go(l):pi(l):l}}class Ml extends El{constructor(n=!1){super(!1,n)}set(n,e,i,t){let o=n[e];const r=Ca(n)&&at(e);if(!this._isShallow){const g=Yn(o);if(!bn(i)&&!Yn(i)&&(o=wa(o),i=wa(i)),!r&&Va(o)&&!Va(i))return g||(o.value=i),!0}const l=r?Number(e)a,rt=a=>Reflect.getPrototypeOf(a);function ed(a,n,e){return function(...i){const t=this.__v_raw,o=wa(t),r=Re(o),l=a==="entries"||a===Symbol.iterator&&r,s=a==="keys"&&r,g=t[a](...i),d=e?ko:n?Fe:Gn;return!n&&rn(o,"iterate",s?Po:Ge),Ja(Object.create(g),{next(){const{value:_,done:k}=g.next();return k?{value:_,done:k}:{value:l?[d(_[0]),d(_[1])]:d(_),done:k}}})}}function lt(a){return function(...n){return a==="delete"?!1:a==="clear"?void 0:this}}function id(a,n){const e={get(t){const o=this.__v_raw,r=wa(o),l=wa(t);a||(In(t,l)&&rn(r,"get",t),rn(r,"get",l));const{has:s}=rt(r),g=n?ko:a?Fe:Gn;if(s.call(r,t))return g(o.get(t));if(s.call(r,l))return g(o.get(l));o!==r&&o.get(t)},get size(){const t=this.__v_raw;return!a&&rn(wa(t),"iterate",Ge),t.size},has(t){const o=this.__v_raw,r=wa(o),l=wa(t);return a||(In(t,l)&&rn(r,"has",t),rn(r,"has",l)),t===l?o.has(t):o.has(t)||o.has(l)},forEach(t,o){const r=this,l=r.__v_raw,s=wa(l),g=n?ko:a?Fe:Gn;return!a&&rn(s,"iterate",Ge),l.forEach((d,_)=>t.call(o,g(d),g(_),r))}};return Ja(e,a?{add:lt("add"),set:lt("set"),delete:lt("delete"),clear:lt("clear")}:{add(t){const o=wa(this),r=rt(o),l=wa(t),s=!n&&!bn(t)&&!Yn(t)?l:t;return r.has.call(o,s)||In(t,s)&&r.has.call(o,t)||In(l,s)&&r.has.call(o,l)||(o.add(s),Dn(o,"add",s,s)),this},set(t,o){!n&&!bn(o)&&!Yn(o)&&(o=wa(o));const r=wa(this),{has:l,get:s}=rt(r);let g=l.call(r,t);g||(t=wa(t),g=l.call(r,t));const d=s.call(r,t);return r.set(t,o),g?In(o,d)&&Dn(r,"set",t,o):Dn(r,"add",t,o),this},delete(t){const o=wa(this),{has:r,get:l}=rt(o);let s=r.call(o,t);s||(t=wa(t),s=r.call(o,t)),l&&l.call(o,t);const g=o.delete(t);return s&&Dn(o,"delete",t,void 0),g},clear(){const t=wa(this),o=t.size!==0,r=t.clear();return o&&Dn(t,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(t=>{e[t]=ed(t,a,n)}),e}function st(a,n){const e=id(a,n);return(i,t,o)=>t==="__v_isReactive"?!a:t==="__v_isReadonly"?a:t==="__v_raw"?i:Reflect.get(Ta(e,t)&&t in i?e:i,t,o)}const td={get:st(!1,!1)},od={get:st(!1,!0)},rd={get:st(!0,!1)},ld={get:st(!0,!0)},wl=new WeakMap,xl=new WeakMap,Tl=new WeakMap,Nl=new WeakMap;function sd(a){switch(a){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function cd(a){return a.__v_skip||!Object.isExtensible(a)?0:sd(Nu(a))}function pi(a){return Yn(a)?a:ct(a,!1,Xu,td,wl)}function gd(a){return ct(a,!1,ad,od,xl)}function Go(a){return ct(a,!0,Qu,rd,Tl)}function Yf(a){return ct(a,!0,nd,ld,Nl)}function ct(a,n,e,i,t){if(!Na(a)||a.__v_raw&&!(n&&a.__v_isReactive))return a;const o=cd(a);if(o===0)return a;const r=t.get(a);if(r)return r;const l=new Proxy(a,o===2?i:e);return t.set(a,l),l}function Vn(a){return Yn(a)?Vn(a.__v_raw):!!(a&&a.__v_isReactive)}function Yn(a){return!!(a&&a.__v_isReadonly)}function bn(a){return!!(a&&a.__v_isShallow)}function gt(a){return a?!!a.__v_raw:!1}function wa(a){const n=a&&a.__v_raw;return n?wa(n):a}function mi(a){return!Ta(a,"__v_skip")&&Object.isExtensible(a)&&cl(a,"__v_skip",!0),a}const Gn=a=>Na(a)?pi(a):a,Fe=a=>Na(a)?Go(a):a;function Va(a){return a?a.__v_isRef===!0:!1}function ua(a){return Rl(a,!1)}function Ll(a){return Rl(a,!0)}function Rl(a,n){return Va(a)?a:new ud(a,n)}class ud{constructor(n,e){this.dep=new fo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=e?n:wa(n),this._value=e?n:Gn(n),this.__v_isShallow=e}get value(){return this.dep.track(),this._value}set value(n){const e=this._rawValue,i=this.__v_isShallow||bn(n)||Yn(n);n=i?n:wa(n),In(n,e)&&(this._rawValue=n,this._value=i?n:Gn(n),this.dep.trigger())}}function ha(a){return Va(a)?a.value:a}const dd={get:(a,n,e)=>n==="__v_raw"?a:ha(Reflect.get(a,n,e)),set:(a,n,e,i)=>{const t=a[n];return Va(t)&&!Va(e)?(t.value=e,!0):Reflect.set(a,n,e,i)}};function $l(a){return Vn(a)?a:new Proxy(a,dd)}function pd(a){const n=Ca(a)?new Array(a.length):{};for(const e in a)n[e]=hd(a,e);return n}class md{constructor(n,e,i){this._object=n,this._defaultValue=i,this.__v_isRef=!0,this._value=void 0,this._key=Pn(e)?e:String(e),this._raw=wa(n);let t=!0,o=n;if(!Ca(n)||Pn(this._key)||!at(this._key))do t=!gt(o)||bn(o);while(t&&(o=o.__v_raw));this._shallow=t}get value(){let n=this._object[this._key];return this._shallow&&(n=ha(n)),this._value=n===void 0?this._defaultValue:n}set value(n){if(this._shallow&&Va(this._raw[this._key])){const e=this._object[this._key];if(Va(e)){e.value=n;return}}this._object[this._key]=n}get dep(){return Yu(this._raw,this._key)}}function hd(a,n,e){return new md(a,n,e)}class yd{constructor(n,e,i){this.fn=n,this.setter=e,this._value=void 0,this.dep=new fo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=gi-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!e,this.isSSR=i}notify(){if(this.flags|=16,!(this.flags&8)&&Oa!==this)return fl(this,!0),!0}get value(){const n=this.dep.track();return jl(this),n&&(n.version=this.dep.version),this._value}set value(n){this.setter&&this.setter(n)}}function bd(a,n,e=!1){let i,t;return ka(a)?i=a:(i=a.get,t=a.set),new yd(i,t,e)}const ut={},dt=new WeakMap;let ve;function _d(a,n=!1,e=ve){if(e){let i=dt.get(e);i||dt.set(e,i=[]),i.push(a)}}function fd(a,n,e=Fa){const{immediate:i,deep:t,once:o,scheduler:r,augmentJob:l,call:s}=e,g=I=>t?I:bn(I)||t===!1||t===0?Wn(I,1):Wn(I);let d,_,k,x,D=!1,T=!1;if(Va(a)?(_=()=>a.value,D=bn(a)):Vn(a)?(_=()=>g(a),D=!0):Ca(a)?(T=!0,D=a.some(I=>Vn(I)||bn(I)),_=()=>a.map(I=>{if(Va(I))return I.value;if(Vn(I))return g(I);if(ka(I))return s?s(I,2):I()})):ka(a)?n?_=s?()=>s(a,2):a:_=()=>{if(k){wn();try{k()}finally{xn()}}const I=ve;ve=d;try{return s?s(a,3,[x]):a(x)}finally{ve=I}}:_=Mn,n&&t){const I=_,G=t===!0?1/0:t;_=()=>Wn(I(),G)}const $=yl(),w=()=>{d.stop(),$&&$.active&&lo($.effects,d)};if(o&&n){const I=n;n=(...G)=>{I(...G),w()}}let L=T?new Array(a.length).fill(ut):ut;const E=I=>{if(!(!(d.flags&1)||!d.dirty&&!I))if(n){const G=d.run();if(t||D||(T?G.some((S,v)=>In(S,L[v])):In(G,L))){k&&k();const S=ve;ve=d;try{const v=[G,L===ut?void 0:T&&L[0]===ut?[]:L,x];L=G,s?s(n,3,v):n(...v)}finally{ve=S}}}else d.run()};return l&&l(E),d=new bl(_),d.scheduler=r?()=>r(E,!1):E,x=I=>_d(I,!1,d),k=d.onStop=()=>{const I=dt.get(d);if(I){if(s)s(I,4);else for(const G of I)G();dt.delete(d)}},n?i?E(!0):L=d.run():r?r(E.bind(null,!0),!0):d.run(),w.pause=d.pause.bind(d),w.resume=d.resume.bind(d),w.stop=w,w}function Wn(a,n=1/0,e){if(n<=0||!Na(a)||a.__v_skip||(e=e||new Map,(e.get(a)||0)>=n))return a;if(e.set(a,n),n--,Va(a))Wn(a.value,n,e);else if(Ca(a))for(let i=0;i{Wn(i,n,e)});else if(Qi(a)){for(const i in a)Wn(a[i],n,e);for(const i of Object.getOwnPropertySymbols(a))Object.prototype.propertyIsEnumerable.call(a,i)&&Wn(a[i],n,e)}return a}/** +* @vue/runtime-core v3.5.34 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const hi=[];let vo=!1;function Wf(a,...n){if(vo)return;vo=!0,wn();const e=hi.length?hi[hi.length-1].component:null,i=e&&e.appContext.config.warnHandler,t=Pd();if(i)Ke(i,e,11,[a+n.map(o=>{var r,l;return(l=(r=o.toString)==null?void 0:r.call(o))!=null?l:JSON.stringify(o)}).join(""),e&&e.proxy,t.map(({vnode:o})=>`at <${xs(e,o.type)}>`).join(` +`),t]);else{const o=[`[Vue warn]: ${a}`,...n];t.length&&o.push(` +`,...Cd(t)),console.warn(...o)}xn(),vo=!1}function Pd(){let a=hi[hi.length-1];if(!a)return[];const n=[];for(;a;){const e=n[0];e&&e.vnode===a?e.recurseCount++:n.push({vnode:a,recurseCount:0});const i=a.component&&a.component.parent;a=i&&i.vnode}return n}function Cd(a){const n=[];return a.forEach((e,i)=>{n.push(...i===0?[]:[` +`],...jd(e))}),n}function jd({vnode:a,recurseCount:n}){const e=n>0?`... (${n} recursive calls)`:"",i=a.component?a.component.parent==null:!1,t=` at <${xs(a.component,a.type,i)}`,o=">"+e;return a.props?[t,...kd(a.props),o]:[t+o]}function kd(a){const n=[],e=Object.keys(a);return e.slice(0,3).forEach(i=>{n.push(...Fl(i,a[i]))}),e.length>3&&n.push(" ..."),n}function Fl(a,n,e){return Da(n)?(n=JSON.stringify(n),e?n:[`${a}=${n}`]):typeof n=="number"||typeof n=="boolean"||n==null?e?n:[`${a}=${n}`]:Va(n)?(n=Fl(a,wa(n.value),!0),e?n:[`${a}=Ref<`,n,">"]):ka(n)?[`${a}=fn${n.name?`<${n.name}>`:""}`]:(n=wa(n),e?n:[`${a}=`,n])}function Ke(a,n,e,i){try{return i?a(...i):a()}catch(t){yi(t,n,e)}}function Nn(a,n,e,i){if(ka(a)){const t=Ke(a,n,e,i);return t&&ll(t)&&t.catch(o=>{yi(o,n,e)}),t}if(Ca(a)){const t=[];for(let o=0;o>>1,t=sn[i],o=_i(t);o=_i(e)?sn.push(a):sn.splice(vd(n),0,a),a.flags|=1,Bl()}}function Bl(){pt||(pt=Kl.then(Hl))}function Ad(a){Ca(a)?Be.push(...a):ce&&a.id===-1?ce.splice(Oe+1,0,a):a.flags&1||(Be.push(a),a.flags|=1),Bl()}function Ol(a,n,e=Ln+1){for(;e_i(e)-_i(i));if(Be.length=0,ce){ce.push(...n);return}for(ce=n,Oe=0;Oea.id==null?a.flags&2?-1:1/0:a.id;function Hl(a){try{for(Ln=0;Ln{i._d&&Ct(-1);const o=mt(n);let r;try{r=a(...t)}finally{mt(o),i._d&&Ct(1)}return r};return i._n=!0,i._c=!0,i._d=!0,i}function Ed(a,n){if(_n===null)return a;const e=vt(_n),i=a.dirs||(a.dirs=[]);for(let t=0;t1)return e&&ka(n)?n.call(i&&i.proxy):n}}function Md(){return!!(ue()||Se)}const Id=Symbol.for("v-scx"),wd=()=>Ya(Id);function xd(a,n){return So(a,null,n)}function cn(a,n,e){return So(a,n,e)}function So(a,n,e=Fa){const{immediate:i,deep:t,flush:o,once:r}=e,l=Ja({},e),s=n&&i||!n&&o!=="post";let g;if(De){if(o==="sync"){const x=wd();g=x.__watcherHandles||(x.__watcherHandles=[])}else if(!s){const x=()=>{};return x.stop=Mn,x.resume=Mn,x.pause=Mn,x}}const d=tn;l.call=(x,D,T)=>Nn(x,d,D,T);let _=!1;o==="post"?l.scheduler=x=>{pn(x,d&&d.suspense)}:o!=="sync"&&(_=!0,l.scheduler=(x,D)=>{D?x():Ao(x)}),l.augmentJob=x=>{n&&(x.flags|=4),_&&(x.flags|=2,d&&(x.id=d.uid,x.i=d))};const k=fd(a,n,l);return De&&(g?g.push(k):s&&k()),k}function Td(a,n,e){const i=this.proxy,t=Da(a)?a.includes(".")?zl(i,a):()=>i[a]:a.bind(i,i);let o;ka(n)?o=n:(o=n.handler,e=n);const r=Ei(this),l=So(t,o.bind(i),e);return r(),l}function zl(a,n){const e=n.split(".");return()=>{let i=a;for(let t=0;ta.__isTeleport,Rd=Symbol("_leaveCb");function Eo(a,n){a.shapeFlag&6&&a.component?(a.transition=n,Eo(a.component.subTree,n)):a.shapeFlag&128?(a.ssContent.transition=n.clone(a.ssContent),a.ssFallback.transition=n.clone(a.ssFallback)):a.transition=n}function fi(a,n){return ka(a)?Ja({name:a.name},n,{setup:a}):a}function Mo(a){a.ids=[a.ids[0]+a.ids[2]+++"-",0,0]}function Vl(a,n){let e;return!!((e=Object.getOwnPropertyDescriptor(a,n))&&!e.configurable)}const ht=new WeakMap;function Pi(a,n,e,i,t=!1){if(Ca(a)){a.forEach((T,$)=>Pi(T,n&&(Ca(n)?n[$]:n),e,i,t));return}if(Ci(i)&&!t){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&Pi(a,n,e,i.component.subTree);return}const o=i.shapeFlag&4?vt(i.component):i.el,r=t?null:o,{i:l,r:s}=a,g=n&&n.r,d=l.refs===Fa?l.refs={}:l.refs,_=l.setupState,k=wa(_),x=_===Fa?tl:T=>Vl(d,T)?!1:Ta(k,T),D=(T,$)=>!($&&Vl(d,$));if(g!=null&&g!==s){if(Yl(n),Da(g))d[g]=null,x(g)&&(_[g]=null);else if(Va(g)){const T=n;D(g,T.k)&&(g.value=null),T.k&&(d[T.k]=null)}}if(ka(s))Ke(s,l,12,[r,d]);else{const T=Da(s),$=Va(s);if(T||$){const w=()=>{if(a.f){const L=T?x(s)?_[s]:d[s]:D()||!a.k?s.value:d[a.k];if(t)Ca(L)&&lo(L,o);else if(Ca(L))L.includes(o)||L.push(o);else if(T)d[s]=[o],x(s)&&(_[s]=d[s]);else{const E=[o];D(s,a.k)&&(s.value=E),a.k&&(d[a.k]=E)}}else T?(d[s]=r,x(s)&&(_[s]=r)):$&&(D(s,a.k)&&(s.value=r),a.k&&(d[a.k]=r))};if(r){const L=()=>{w(),ht.delete(a)};L.id=-1,ht.set(a,L),pn(L,e)}else Yl(a),w()}}}function Yl(a){const n=ht.get(a);n&&(n.flags|=8,ht.delete(a))}const Wl=a=>a.nodeType===8;it().requestIdleCallback,it().cancelIdleCallback;function $d(a,n){if(Wl(a)&&a.data==="["){let e=1,i=a.nextSibling;for(;i;){if(i.nodeType===1){if(n(i)===!1)break}else if(Wl(i))if(i.data==="]"){if(--e===0)break}else i.data==="["&&e++;i=i.nextSibling}}else n(a)}const Ci=a=>!!a.type.__asyncLoader;function Fd(a){ka(a)&&(a={loader:a});const{loader:n,loadingComponent:e,errorComponent:i,delay:t=200,hydrate:o,timeout:r,suspensible:l=!0,onError:s}=a;let g=null,d,_=0;const k=()=>(_++,g=null,x()),x=()=>{let D;return g||(D=g=n().catch(T=>{if(T=T instanceof Error?T:new Error(String(T)),s)return new Promise(($,w)=>{s(T,()=>$(k()),()=>w(T),_+1)});throw T}).then(T=>D!==g&&g?g:(T&&(T.__esModule||T[Symbol.toStringTag]==="Module")&&(T=T.default),d=T,T)))};return fi({name:"AsyncComponentWrapper",__asyncLoader:x,__asyncHydrate(D,T,$){let w=!1;(T.bu||(T.bu=[])).push(()=>w=!0);const L=()=>{w||$()},E=o?()=>{const I=o(L,G=>$d(D,G));I&&(T.bum||(T.bum=[])).push(I)}:L;d?E():x().then(()=>!T.isUnmounted&&E())},get __asyncResolved(){return d},setup(){const D=tn;if(Mo(D),d)return()=>yt(d,D);const T=E=>{g=null,yi(E,D,13,!i)};if(l&&D.suspense||De)return x().then(E=>()=>yt(E,D)).catch(E=>(T(E),()=>i?Wa(i,{error:E}):null));const $=ua(!1),w=ua(),L=ua(!!t);return t&&setTimeout(()=>{L.value=!1},t),r!=null&&setTimeout(()=>{if(!$.value&&!w.value){const E=new Error(`Async component timed out after ${r}ms.`);T(E),w.value=E}},r),x().then(()=>{$.value=!0,D.parent&&Io(D.parent.vnode)&&D.parent.update()}).catch(E=>{T(E),w.value=E}),()=>{if($.value&&d)return yt(d,D);if(w.value&&i)return Wa(i,{error:w.value});if(e&&!L.value)return yt(e,D)}}})}function yt(a,n){const{ref:e,props:i,children:t,ce:o}=n.vnode,r=Wa(a,i,t);return r.ref=e,r.ce=o,delete n.vnode.ce,r}const Io=a=>a.type.__isKeepAlive;function Kd(a,n){Jl(a,"a",n)}function Bd(a,n){Jl(a,"da",n)}function Jl(a,n,e=tn){const i=a.__wdc||(a.__wdc=()=>{let t=e;for(;t;){if(t.isDeactivated)return;t=t.parent}return a()});if(bt(n,i,e),e){let t=e.parent;for(;t&&t.parent;)Io(t.parent.vnode)&&Od(i,n,e,t),t=t.parent}}function Od(a,n,e,i){const t=bt(n,a,i,!0);wo(()=>{lo(i[n],t)},e)}function bt(a,n,e=tn,i=!1){if(e){const t=e[a]||(e[a]=[]),o=n.__weh||(n.__weh=(...r)=>{wn();const l=Ei(e),s=Nn(n,e,a,r);return l(),xn(),s});return i?t.unshift(o):t.push(o),o}}const Jn=a=>(n,e=tn)=>{(!De||a==="sp")&&bt(a,(...i)=>n(...i),e)},Zl=Jn("bm"),Rn=Jn("m"),Ud=Jn("bu"),Hd=Jn("u"),Ue=Jn("bum"),wo=Jn("um"),Dd=Jn("sp"),zd=Jn("rtg"),Vd=Jn("rtc");function Yd(a,n=tn){bt("ec",a,n)}const Wd="components",ql=Symbol.for("v-ndc");function Jd(a){return Da(a)?Zd(Wd,a,!1)||a:a||ql}function Zd(a,n,e=!0,i=!1){const t=_n||tn;if(t){const o=t.type;{const l=ws(o,!1);if(l&&(l===n||l===nn(n)||l===et(nn(n))))return o}const r=Xl(t[a]||o[a],n)||Xl(t.appContext[a],n);return!r&&i?o:r}}function Xl(a,n){return a&&(a[n]||a[nn(n)]||a[et(nn(n))])}function Ua(a,n,e,i){let t;const o=e,r=Ca(a);if(r||Da(a)){const l=r&&Vn(a);let s=!1,g=!1;l&&(s=!bn(a),g=Yn(a),a=ot(a)),t=new Array(a.length);for(let d=0,_=a.length;d<_;d++)t[d]=n(s?g?Fe(Gn(a[d])):Gn(a[d]):a[d],d,void 0,o)}else if(typeof a=="number"){t=new Array(a);for(let l=0;ln(l,s,void 0,o));else{const l=Object.keys(a);t=new Array(l.length);for(let s=0,g=l.length;sa?Es(a)?vt(a):xo(a.parent):null,ji=Ja(Object.create(null),{$:a=>a,$el:a=>a.vnode.el,$data:a=>a.data,$props:a=>a.props,$attrs:a=>a.attrs,$slots:a=>a.slots,$refs:a=>a.refs,$parent:a=>xo(a.parent),$root:a=>xo(a.root),$host:a=>a.ce,$emit:a=>a.emit,$options:a=>es(a),$forceUpdate:a=>a.f||(a.f=()=>{Ao(a.update)}),$nextTick:a=>a.n||(a.n=bi.bind(a.proxy)),$watch:a=>Td.bind(a)}),To=(a,n)=>a!==Fa&&!a.__isScriptSetup&&Ta(a,n),qd={get({_:a},n){if(n==="__v_skip")return!0;const{ctx:e,setupState:i,data:t,props:o,accessCache:r,type:l,appContext:s}=a;if(n[0]!=="$"){const k=r[n];if(k!==void 0)switch(k){case 1:return i[n];case 2:return t[n];case 4:return e[n];case 3:return o[n]}else{if(To(i,n))return r[n]=1,i[n];if(t!==Fa&&Ta(t,n))return r[n]=2,t[n];if(Ta(o,n))return r[n]=3,o[n];if(e!==Fa&&Ta(e,n))return r[n]=4,e[n];No&&(r[n]=0)}}const g=ji[n];let d,_;if(g)return n==="$attrs"&&rn(a.attrs,"get",""),g(a);if((d=l.__cssModules)&&(d=d[n]))return d;if(e!==Fa&&Ta(e,n))return r[n]=4,e[n];if(_=s.config.globalProperties,Ta(_,n))return _[n]},set({_:a},n,e){const{data:i,setupState:t,ctx:o}=a;return To(t,n)?(t[n]=e,!0):i!==Fa&&Ta(i,n)?(i[n]=e,!0):Ta(a.props,n)||n[0]==="$"&&n.slice(1)in a?!1:(o[n]=e,!0)},has({_:{data:a,setupState:n,accessCache:e,ctx:i,appContext:t,props:o,type:r}},l){let s;return!!(e[l]||a!==Fa&&l[0]!=="$"&&Ta(a,l)||To(n,l)||Ta(o,l)||Ta(i,l)||Ta(ji,l)||Ta(t.config.globalProperties,l)||(s=r.__cssModules)&&s[l])},defineProperty(a,n,e){return e.get!=null?a._.accessCache[n]=0:Ta(e,"value")&&this.set(a,n,e.value,null),Reflect.defineProperty(a,n,e)}};function Ql(a){return Ca(a)?a.reduce((n,e)=>(n[e]=null,n),{}):a}let No=!0;function Xd(a){const n=es(a),e=a.proxy,i=a.ctx;No=!1,n.beforeCreate&&as(n.beforeCreate,a,"bc");const{data:t,computed:o,methods:r,watch:l,provide:s,inject:g,created:d,beforeMount:_,mounted:k,beforeUpdate:x,updated:D,activated:T,deactivated:$,beforeDestroy:w,beforeUnmount:L,destroyed:E,unmounted:I,render:G,renderTracked:S,renderTriggered:v,errorCaptured:K,serverPrefetch:O,expose:q,inheritAttrs:sa,components:ea,directives:ga,filters:Sa}=n;if(g&&Qd(g,i,null),r)for(const pa in r){const Y=r[pa];ka(Y)&&(i[pa]=Y.bind(e))}if(t){const pa=t.call(e,e);Na(pa)&&(a.data=pi(pa))}if(No=!0,o)for(const pa in o){const Y=o[pa],ta=ka(Y)?Y.bind(e,e):ka(Y.get)?Y.get.bind(e,e):Mn,aa=!ka(Y)&&ka(Y.set)?Y.set.bind(e):Mn,ba=la({get:ta,set:aa});Object.defineProperty(i,pa,{enumerable:!0,configurable:!0,get:()=>ba.value,set:na=>ba.value=na})}if(l)for(const pa in l)ns(l[pa],i,e,pa);if(s){const pa=ka(s)?s.call(e):s;Reflect.ownKeys(pa).forEach(Y=>{vn(Y,pa[Y])})}d&&as(d,a,"c");function ma(pa,Y){Ca(Y)?Y.forEach(ta=>pa(ta.bind(e))):Y&&pa(Y.bind(e))}if(ma(Zl,_),ma(Rn,k),ma(Ud,x),ma(Hd,D),ma(Kd,T),ma(Bd,$),ma(Yd,K),ma(Vd,S),ma(zd,v),ma(Ue,L),ma(wo,I),ma(Dd,O),Ca(q))if(q.length){const pa=a.exposed||(a.exposed={});q.forEach(Y=>{Object.defineProperty(pa,Y,{get:()=>e[Y],set:ta=>e[Y]=ta,enumerable:!0})})}else a.exposed||(a.exposed={});G&&a.render===Mn&&(a.render=G),sa!=null&&(a.inheritAttrs=sa),ea&&(a.components=ea),ga&&(a.directives=ga),O&&Mo(a)}function Qd(a,n,e=Mn){Ca(a)&&(a=Lo(a));for(const i in a){const t=a[i];let o;Na(t)?"default"in t?o=Ya(t.from||i,t.default,!0):o=Ya(t.from||i):o=Ya(t),Va(o)?Object.defineProperty(n,i,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):n[i]=o}}function as(a,n,e){Nn(Ca(a)?a.map(i=>i.bind(n.proxy)):a.bind(n.proxy),n,e)}function ns(a,n,e,i){let t=i.includes(".")?zl(e,i):()=>e[i];if(Da(a)){const o=n[a];ka(o)&&cn(t,o)}else if(ka(a))cn(t,a.bind(e));else if(Na(a))if(Ca(a))a.forEach(o=>ns(o,n,e,i));else{const o=ka(a.handler)?a.handler.bind(e):n[a.handler];ka(o)&&cn(t,o,a)}}function es(a){const n=a.type,{mixins:e,extends:i}=n,{mixins:t,optionsCache:o,config:{optionMergeStrategies:r}}=a.appContext,l=o.get(n);let s;return l?s=l:!t.length&&!e&&!i?s=n:(s={},t.length&&t.forEach(g=>_t(s,g,r,!0)),_t(s,n,r)),Na(n)&&o.set(n,s),s}function _t(a,n,e,i=!1){const{mixins:t,extends:o}=n;o&&_t(a,o,e,!0),t&&t.forEach(r=>_t(a,r,e,!0));for(const r in n)if(!(i&&r==="expose")){const l=ap[r]||e&&e[r];a[r]=l?l(a[r],n[r]):n[r]}return a}const ap={data:is,props:ts,emits:ts,methods:ki,computed:ki,beforeCreate:gn,created:gn,beforeMount:gn,mounted:gn,beforeUpdate:gn,updated:gn,beforeDestroy:gn,beforeUnmount:gn,destroyed:gn,unmounted:gn,activated:gn,deactivated:gn,errorCaptured:gn,serverPrefetch:gn,components:ki,directives:ki,watch:ep,provide:is,inject:np};function is(a,n){return n?a?function(){return Ja(ka(a)?a.call(this,this):a,ka(n)?n.call(this,this):n)}:n:a}function np(a,n){return ki(Lo(a),Lo(n))}function Lo(a){if(Ca(a)){const n={};for(let e=0;en==="modelValue"||n==="model-value"?a.modelModifiers:a[`${n}Modifiers`]||a[`${nn(n)}Modifiers`]||a[`${yn(n)}Modifiers`];function rp(a,n,...e){if(a.isUnmounted)return;const i=a.vnode.props||Fa;let t=e;const o=n.startsWith("update:"),r=o&&op(i,n.slice(7));r&&(r.trim&&(t=e.map(d=>Da(d)?d.trim():d)),r.number&&(t=e.map($u)));let l,s=i[l=so(n)]||i[l=so(nn(n))];!s&&o&&(s=i[l=so(yn(n))]),s&&Nn(s,a,6,t);const g=i[l+"Once"];if(g){if(!a.emitted)a.emitted={};else if(a.emitted[l])return;a.emitted[l]=!0,Nn(g,a,6,t)}}const lp=new WeakMap;function rs(a,n,e=!1){const i=e?lp:n.emitsCache,t=i.get(a);if(t!==void 0)return t;const o=a.emits;let r={},l=!1;if(!ka(a)){const s=g=>{const d=rs(g,n,!0);d&&(l=!0,Ja(r,d))};!e&&n.mixins.length&&n.mixins.forEach(s),a.extends&&s(a.extends),a.mixins&&a.mixins.forEach(s)}return!o&&!l?(Na(a)&&i.set(a,null),null):(Ca(o)?o.forEach(s=>r[s]=null):Ja(r,o),Na(a)&&i.set(a,r),r)}function ft(a,n){return!a||!qi(n)?!1:(n=n.slice(2).replace(/Once$/,""),Ta(a,n[0].toLowerCase()+n.slice(1))||Ta(a,yn(n))||Ta(a,n))}function Jf(){}function ls(a){const{type:n,vnode:e,proxy:i,withProxy:t,propsOptions:[o],slots:r,attrs:l,emit:s,render:g,renderCache:d,props:_,data:k,setupState:x,ctx:D,inheritAttrs:T}=a,$=mt(a);let w,L;try{if(e.shapeFlag&4){const I=t||i,G=I;w=$n(g.call(G,I,d,_,x,k,D)),L=l}else{const I=n;w=$n(I.length>1?I(_,{attrs:l,slots:r,emit:s}):I(_,null)),L=n.props?l:sp(l)}}catch(I){vi.length=0,yi(I,a,1),w=Wa(ge)}let E=w;if(L&&T!==!1){const I=Object.keys(L),{shapeFlag:G}=E;I.length&&G&7&&(o&&I.some(Xi)&&(L=cp(L,o)),E=He(E,L,!1,!0))}return e.dirs&&(E=He(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(e.dirs):e.dirs),e.transition&&Eo(E,e.transition),w=E,mt($),w}const sp=a=>{let n;for(const e in a)(e==="class"||e==="style"||qi(e))&&((n||(n={}))[e]=a[e]);return n},cp=(a,n)=>{const e={};for(const i in a)(!Xi(i)||!(i.slice(9)in n))&&(e[i]=a[i]);return e};function gp(a,n,e){const{props:i,children:t,component:o}=a,{props:r,children:l,patchFlag:s}=n,g=o.emitsOptions;if(n.dirs||n.transition)return!0;if(e&&s>=0){if(s&1024)return!0;if(s&16)return i?ss(i,r,g):!!r;if(s&8){const d=n.dynamicProps;for(let _=0;_Object.create(gs),ds=a=>Object.getPrototypeOf(a)===gs;function dp(a,n,e,i=!1){const t={},o=us();a.propsDefaults=Object.create(null),ps(a,n,t,o);for(const r in a.propsOptions[0])r in t||(t[r]=void 0);e?a.props=i?t:gd(t):a.type.props?a.props=t:a.props=o,a.attrs=o}function pp(a,n,e,i){const{props:t,attrs:o,vnode:{patchFlag:r}}=a,l=wa(t),[s]=a.propsOptions;let g=!1;if((i||r>0)&&!(r&16)){if(r&8){const d=a.vnode.dynamicProps;for(let _=0;_{s=!0;const[k,x]=ms(_,n,!0);Ja(r,k),x&&l.push(...x)};!e&&n.mixins.length&&n.mixins.forEach(d),a.extends&&d(a.extends),a.mixins&&a.mixins.forEach(d)}if(!o&&!s)return Na(a)&&i.set(a,Le),Le;if(Ca(o))for(let d=0;da==="_"||a==="_ctx"||a==="$stable",Fo=a=>Ca(a)?a.map($n):[$n(a)],hp=(a,n,e)=>{if(n._n)return n;const i=Sd((...t)=>Fo(n(...t)),e);return i._c=!1,i},ys=(a,n,e)=>{const i=a._ctx;for(const t in a){if($o(t))continue;const o=a[t];if(ka(o))n[t]=hp(t,o,i);else if(o!=null){const r=Fo(o);n[t]=()=>r}}},bs=(a,n)=>{const e=Fo(n);a.slots.default=()=>e},_s=(a,n,e)=>{for(const i in n)(e||!$o(i))&&(a[i]=n[i])},yp=(a,n,e)=>{const i=a.slots=us();if(a.vnode.shapeFlag&32){const t=n._;t?(_s(i,n,e),e&&cl(i,"_",t,!0)):ys(n,i)}else n&&bs(a,n)},bp=(a,n,e)=>{const{vnode:i,slots:t}=a;let o=!0,r=Fa;if(i.shapeFlag&32){const l=n._;l?e&&l===1?o=!1:_s(t,n,e):(o=!n.$stable,ys(n,t)),r=n}else n&&(bs(a,n),r={default:1});if(o)for(const l in t)!$o(l)&&r[l]==null&&delete t[l]},pn=jp;function _p(a){return fp(a)}function fp(a,n){const e=it();e.__VUE__=!0;const{insert:i,remove:t,patchProp:o,createElement:r,createText:l,createComment:s,setText:g,setElementText:d,parentNode:_,nextSibling:k,setScopeId:x=Mn,insertStaticContent:D}=a,T=(h,C,y,R=null,H=null,V=null,oa=void 0,Q=null,m=!!C.dynamicChildren)=>{if(h===C)return;h&&!Si(h,C)&&(R=P(h),na(h,H,V,!0),h=null),C.patchFlag===-2&&(m=!1,C.dynamicChildren=null);const{type:b,ref:F,shapeFlag:J}=C;switch(b){case Gi:$(h,C,y,R);break;case ge:w(h,C,y,R);break;case Pt:h==null&&L(C,y,R,oa);break;case Aa:ea(h,C,y,R,H,V,oa,Q,m);break;default:J&1?G(h,C,y,R,H,V,oa,Q,m):J&6?ga(h,C,y,R,H,V,oa,Q,m):(J&64||J&128)&&b.process(h,C,y,R,H,V,oa,Q,m,N)}F!=null&&H?Pi(F,h&&h.ref,V,C||h,!C):F==null&&h&&h.ref!=null&&Pi(h.ref,null,V,h,!0)},$=(h,C,y,R)=>{if(h==null)i(C.el=l(C.children),y,R);else{const H=C.el=h.el;C.children!==h.children&&g(H,C.children)}},w=(h,C,y,R)=>{h==null?i(C.el=s(C.children||""),y,R):C.el=h.el},L=(h,C,y,R)=>{[h.el,h.anchor]=D(h.children,C,y,R,h.el,h.anchor)},E=({el:h,anchor:C},y,R)=>{let H;for(;h&&h!==C;)H=k(h),i(h,y,R),h=H;i(C,y,R)},I=({el:h,anchor:C})=>{let y;for(;h&&h!==C;)y=k(h),t(h),h=y;t(C)},G=(h,C,y,R,H,V,oa,Q,m)=>{if(C.type==="svg"?oa="svg":C.type==="math"&&(oa="mathml"),h==null)S(C,y,R,H,V,oa,Q,m);else{const b=h.el&&h.el._isVueCE?h.el:null;try{b&&b._beginPatch(),O(h,C,H,V,oa,Q,m)}finally{b&&b._endPatch()}}},S=(h,C,y,R,H,V,oa,Q)=>{let m,b;const{props:F,shapeFlag:J,transition:ca,dirs:ra}=h;if(m=h.el=r(h.type,V,F&&F.is,F),J&8?d(m,h.children):J&16&&K(h.children,m,null,R,H,Ko(h,V),oa,Q),ra&&Ae(h,null,R,"created"),v(m,h,h.scopeId,oa,R),F){for(const Z in F)Z!=="value"&&!li(Z)&&o(m,Z,null,F[Z],V,R);"value"in F&&o(m,"value",null,F.value,V),(b=F.onVnodeBeforeMount)&&Fn(b,R,h)}ra&&Ae(h,null,R,"beforeMount");const B=Pp(H,ca);B&&ca.beforeEnter(m),i(m,C,y),((b=F&&F.onVnodeMounted)||B||ra)&&pn(()=>{try{b&&Fn(b,R,h),B&&ca.enter(m),ra&&Ae(h,null,R,"mounted")}finally{}},H)},v=(h,C,y,R,H)=>{if(y&&x(h,y),R)for(let V=0;V{for(let b=m;b{const Q=C.el=h.el;let{patchFlag:m,dynamicChildren:b,dirs:F}=C;m|=h.patchFlag&16;const J=h.props||Fa,ca=C.props||Fa;let ra;if(y&&Ee(y,!1),(ra=ca.onVnodeBeforeUpdate)&&Fn(ra,y,C,h),F&&Ae(C,h,y,"beforeUpdate"),y&&Ee(y,!0),(J.innerHTML&&ca.innerHTML==null||J.textContent&&ca.textContent==null)&&d(Q,""),b?q(h.dynamicChildren,b,Q,y,R,Ko(C,H),V):oa||Y(h,C,Q,null,y,R,Ko(C,H),V,!1),m>0){if(m&16)sa(Q,J,ca,y,H);else if(m&2&&J.class!==ca.class&&o(Q,"class",null,ca.class,H),m&4&&o(Q,"style",J.style,ca.style,H),m&8){const B=C.dynamicProps;for(let Z=0;Z{ra&&Fn(ra,y,C,h),F&&Ae(C,h,y,"updated")},R)},q=(h,C,y,R,H,V,oa)=>{for(let Q=0;Q{if(C!==y){if(C!==Fa)for(const V in C)!li(V)&&!(V in y)&&o(h,V,C[V],null,H,R);for(const V in y){if(li(V))continue;const oa=y[V],Q=C[V];oa!==Q&&V!=="value"&&o(h,V,Q,oa,H,R)}"value"in y&&o(h,"value",C.value,y.value,H)}},ea=(h,C,y,R,H,V,oa,Q,m)=>{const b=C.el=h?h.el:l(""),F=C.anchor=h?h.anchor:l("");let{patchFlag:J,dynamicChildren:ca,slotScopeIds:ra}=C;ra&&(Q=Q?Q.concat(ra):ra),h==null?(i(b,y,R),i(F,y,R),K(C.children||[],y,F,H,V,oa,Q,m)):J>0&&J&64&&ca&&h.dynamicChildren&&h.dynamicChildren.length===ca.length?(q(h.dynamicChildren,ca,y,H,V,oa,Q),(C.key!=null||H&&C===H.subTree)&&fs(h,C,!0)):Y(h,C,y,F,H,V,oa,Q,m)},ga=(h,C,y,R,H,V,oa,Q,m)=>{C.slotScopeIds=Q,h==null?C.shapeFlag&512?H.ctx.activate(C,y,R,oa,m):Sa(C,y,R,H,V,oa,m):Ma(h,C,m)},Sa=(h,C,y,R,H,V,oa)=>{const Q=h.component=Mp(h,R,H);if(Io(h)&&(Q.ctx.renderer=N),Ip(Q,!1,oa),Q.asyncDep){if(H&&H.registerDep(Q,ma,oa),!h.el){const m=Q.subTree=Wa(ge);w(null,m,C,y),h.placeholder=m.el}}else ma(Q,h,C,y,H,V,oa)},Ma=(h,C,y)=>{const R=C.component=h.component;if(gp(h,C,y))if(R.asyncDep&&!R.asyncResolved){pa(R,C,y);return}else R.next=C,R.update();else C.el=h.el,R.vnode=C},ma=(h,C,y,R,H,V,oa)=>{const Q=()=>{if(h.isMounted){let{next:J,bu:ca,u:ra,parent:B,vnode:Z}=h;{const qa=Ps(h);if(qa){J&&(J.el=Z.el,pa(h,J,oa)),qa.asyncDep.then(()=>{pn(()=>{h.isUnmounted||b()},H)});return}}let _a=J,va;Ee(h,!1),J?(J.el=Z.el,pa(h,J,oa)):J=Z,ca&&co(ca),(va=J.props&&J.props.onVnodeBeforeUpdate)&&Fn(va,B,J,Z),Ee(h,!0);const Ra=ls(h),an=h.subTree;h.subTree=Ra,T(an,Ra,_(an.el),P(an),h,H,V),J.el=Ra.el,_a===null&&up(h,Ra.el),ra&&pn(ra,H),(va=J.props&&J.props.onVnodeUpdated)&&pn(()=>Fn(va,B,J,Z),H)}else{let J;const{el:ca,props:ra}=C,{bm:B,m:Z,parent:_a,root:va,type:Ra}=h,an=Ci(C);Ee(h,!1),B&&co(B),!an&&(J=ra&&ra.onVnodeBeforeMount)&&Fn(J,_a,C),Ee(h,!0);{va.ce&&va.ce._hasShadowRoot()&&va.ce._injectChildStyle(Ra,h.parent?h.parent.type:void 0);const qa=h.subTree=ls(h);T(null,qa,y,R,h,H,V),C.el=qa.el}if(Z&&pn(Z,H),!an&&(J=ra&&ra.onVnodeMounted)){const qa=C;pn(()=>Fn(J,_a,qa),H)}(C.shapeFlag&256||_a&&Ci(_a.vnode)&&_a.vnode.shapeFlag&256)&&h.a&&pn(h.a,H),h.isMounted=!0,C=y=R=null}};h.scope.on();const m=h.effect=new bl(Q);h.scope.off();const b=h.update=m.run.bind(m),F=h.job=m.runIfDirty.bind(m);F.i=h,F.id=h.uid,m.scheduler=()=>Ao(F),Ee(h,!0),b()},pa=(h,C,y)=>{C.component=h;const R=h.vnode.props;h.vnode=C,h.next=null,pp(h,C.props,R,y),bp(h,C.children,y),wn(),Ol(h),xn()},Y=(h,C,y,R,H,V,oa,Q,m=!1)=>{const b=h&&h.children,F=h?h.shapeFlag:0,J=C.children,{patchFlag:ca,shapeFlag:ra}=C;if(ca>0){if(ca&128){aa(b,J,y,R,H,V,oa,Q,m);return}else if(ca&256){ta(b,J,y,R,H,V,oa,Q,m);return}}ra&8?(F&16&&c(b,H,V),J!==b&&d(y,J)):F&16?ra&16?aa(b,J,y,R,H,V,oa,Q,m):c(b,H,V,!0):(F&8&&d(y,""),ra&16&&K(J,y,R,H,V,oa,Q,m))},ta=(h,C,y,R,H,V,oa,Q,m)=>{h=h||Le,C=C||Le;const b=h.length,F=C.length,J=Math.min(b,F);let ca;for(ca=0;caF?c(h,H,V,!0,!1,J):K(C,y,R,H,V,oa,Q,m,J)},aa=(h,C,y,R,H,V,oa,Q,m)=>{let b=0;const F=C.length;let J=h.length-1,ca=F-1;for(;b<=J&&b<=ca;){const ra=h[b],B=C[b]=m?Zn(C[b]):$n(C[b]);if(Si(ra,B))T(ra,B,y,null,H,V,oa,Q,m);else break;b++}for(;b<=J&&b<=ca;){const ra=h[J],B=C[ca]=m?Zn(C[ca]):$n(C[ca]);if(Si(ra,B))T(ra,B,y,null,H,V,oa,Q,m);else break;J--,ca--}if(b>J){if(b<=ca){const ra=ca+1,B=raca)for(;b<=J;)na(h[b],H,V,!0),b++;else{const ra=b,B=b,Z=new Map;for(b=B;b<=ca;b++){const Ba=C[b]=m?Zn(C[b]):$n(C[b]);Ba.key!=null&&Z.set(Ba.key,b)}let _a,va=0;const Ra=ca-B+1;let an=!1,qa=0;const Pa=new Array(Ra);for(b=0;b=Ra){na(Ba,H,V,!0);continue}let dn;if(Ba.key!=null)dn=Z.get(Ba.key);else for(_a=B;_a<=ca;_a++)if(Pa[_a-B]===0&&Si(Ba,C[_a])){dn=_a;break}dn===void 0?na(Ba,H,V,!0):(Pa[dn-B]=b+1,dn>=qa?qa=dn:an=!0,T(Ba,C[dn],y,null,H,V,oa,Q,m),va++)}const $a=an?Cp(Pa):Le;for(_a=$a.length-1,b=Ra-1;b>=0;b--){const Ba=B+b,dn=C[Ba],Ne=C[Ba+1],hn=Ba+1{const{el:V,type:oa,transition:Q,children:m,shapeFlag:b}=h;if(b&6){ba(h.component.subTree,C,y,R);return}if(b&128){h.suspense.move(C,y,R);return}if(b&64){oa.move(h,C,y,N);return}if(oa===Aa){i(V,C,y);for(let J=0;JQ.enter(V),H);else{const{leave:J,delayLeave:ca,afterLeave:ra}=Q,B=()=>{h.ctx.isUnmounted?t(V):i(V,C,y)},Z=()=>{V._isLeaving&&V[Rd](!0),J(V,()=>{B(),ra&&ra()})};ca?ca(V,B,Z):Z()}else i(V,C,y)},na=(h,C,y,R=!1,H=!1)=>{const{type:V,props:oa,ref:Q,children:m,dynamicChildren:b,shapeFlag:F,patchFlag:J,dirs:ca,cacheIndex:ra,memo:B}=h;if(J===-2&&(H=!1),Q!=null&&(wn(),Pi(Q,null,y,h,!0),xn()),ra!=null&&(C.renderCache[ra]=void 0),F&256){C.ctx.deactivate(h);return}const Z=F&1&&ca,_a=!Ci(h);let va;if(_a&&(va=oa&&oa.onVnodeBeforeUnmount)&&Fn(va,C,h),F&6)j(h.component,y,R);else{if(F&128){h.suspense.unmount(y,R);return}Z&&Ae(h,null,C,"beforeUnmount"),F&64?h.type.remove(h,C,y,N,R):b&&!b.hasOnce&&(V!==Aa||J>0&&J&64)?c(b,C,y,!1,!0):(V===Aa&&J&384||!H&&F&16)&&c(m,C,y),R&&u(h)}const Ra=B!=null&&ra==null;(_a&&(va=oa&&oa.onVnodeUnmounted)||Z||Ra)&&pn(()=>{va&&Fn(va,C,h),Z&&Ae(h,null,C,"unmounted"),Ra&&(h.el=null)},y)},u=h=>{const{type:C,el:y,anchor:R,transition:H}=h;if(C===Aa){A(y,R);return}if(C===Pt){I(h);return}const V=()=>{t(y),H&&!H.persisted&&H.afterLeave&&H.afterLeave()};if(h.shapeFlag&1&&H&&!H.persisted){const{leave:oa,delayLeave:Q}=H,m=()=>oa(y,V);Q?Q(h.el,V,m):m()}else V()},A=(h,C)=>{let y;for(;h!==C;)y=k(h),t(h),h=y;t(C)},j=(h,C,y)=>{const{bum:R,scope:H,job:V,subTree:oa,um:Q,m,a:b}=h;Cs(m),Cs(b),R&&co(R),H.stop(),V&&(V.flags|=8,na(oa,h,C,y)),Q&&pn(Q,C),pn(()=>{h.isUnmounted=!0},C)},c=(h,C,y,R=!1,H=!1,V=0)=>{for(let oa=V;oa{if(h.shapeFlag&6)return P(h.component.subTree);if(h.shapeFlag&128)return h.suspense.next();const C=k(h.anchor||h.el),y=C&&C[Nd];return y?k(y):C};let p=!1;const M=(h,C,y)=>{let R;h==null?C._vnode&&(na(C._vnode,null,null,!0),R=C._vnode.component):T(C._vnode||null,h,C,null,null,null,y),C._vnode=h,p||(p=!0,Ol(R),Ul(),p=!1)},N={p:T,um:na,m:ba,r:u,mt:Sa,mc:K,pc:Y,pbc:q,n:P,o:a};return{render:M,hydrate:void 0,createApp:tp(M)}}function Ko({type:a,props:n},e){return e==="svg"&&a==="foreignObject"||e==="mathml"&&a==="annotation-xml"&&n&&n.encoding&&n.encoding.includes("html")?void 0:e}function Ee({effect:a,job:n},e){e?(a.flags|=32,n.flags|=4):(a.flags&=-33,n.flags&=-5)}function Pp(a,n){return(!a||a&&!a.pendingBranch)&&n&&!n.persisted}function fs(a,n,e=!1){const i=a.children,t=n.children;if(Ca(i)&&Ca(t))for(let o=0;o>1,a[e[l]]0&&(n[i]=e[o-1]),e[o]=i)}}for(o=e.length,r=e[o-1];o-- >0;)e[o]=r,r=n[r];return e}function Ps(a){const n=a.subTree.component;if(n)return n.asyncDep&&!n.asyncResolved?n:Ps(n)}function Cs(a){if(a)for(let n=0;na.__isSuspense;function jp(a,n){n&&n.pendingBranch?Ca(a)?n.effects.push(...a):n.effects.push(a):Ad(a)}const Aa=Symbol.for("v-fgt"),Gi=Symbol.for("v-txt"),ge=Symbol.for("v-cmt"),Pt=Symbol.for("v-stc"),vi=[];let fn=null;function z(a=!1){vi.push(fn=a?null:[])}function kp(){vi.pop(),fn=vi[vi.length-1]||null}let Ai=1;function Ct(a,n=!1){Ai+=a,a<0&&fn&&n&&(fn.hasOnce=!0)}function Gs(a){return a.dynamicChildren=Ai>0?fn||Le:null,kp(),Ai>0&&fn&&fn.push(a),a}function W(a,n,e,i,t,o){return Gs(f(a,n,e,i,t,o,!0))}function Me(a,n,e,i,t){return Gs(Wa(a,n,e,i,t,!0))}function jt(a){return a?a.__v_isVNode===!0:!1}function Si(a,n){return a.type===n.type&&a.key===n.key}const vs=({key:a})=>a??null,kt=({ref:a,ref_key:n,ref_for:e})=>(typeof a=="number"&&(a=""+a),a!=null?Da(a)||Va(a)||ka(a)?{i:_n,r:a,k:n,f:!!e}:a:null);function f(a,n=null,e=null,i=0,t=null,o=a===Aa?0:1,r=!1,l=!1){const s={__v_isVNode:!0,__v_skip:!0,type:a,props:n,key:n&&vs(n),ref:n&&kt(n),scopeId:Dl,slotScopeIds:null,children:e,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:o,patchFlag:i,dynamicProps:t,dynamicChildren:null,appContext:null,ctx:_n};return l?(Bo(s,e),o&128&&a.normalize(s)):e&&(s.shapeFlag|=Da(e)?8:16),Ai>0&&!r&&fn&&(s.patchFlag>0||o&6)&&s.patchFlag!==32&&fn.push(s),s}const Wa=Gp;function Gp(a,n=null,e=null,i=0,t=null,o=!1){if((!a||a===ql)&&(a=ge),jt(a)){const l=He(a,n,!0);return e&&Bo(l,e),Ai>0&&!o&&fn&&(l.shapeFlag&6?fn[fn.indexOf(a)]=l:fn.push(l)),l.patchFlag=-2,l}if(Rp(a)&&(a=a.__vccOpts),n){n=vp(n);let{class:l,style:s}=n;l&&!Da(l)&&(n.class=Ia(l)),Na(s)&&(gt(s)&&!Ca(s)&&(s=Ja({},s)),n.style=Ka(s))}const r=Da(a)?1:ks(a)?128:Ld(a)?64:Na(a)?4:ka(a)?2:0;return f(a,n,e,i,t,r,o,!0)}function vp(a){return a?gt(a)||ds(a)?Ja({},a):a:null}function He(a,n,e=!1,i=!1){const{props:t,ref:o,patchFlag:r,children:l,transition:s}=a,g=n?Ap(t||{},n):t,d={__v_isVNode:!0,__v_skip:!0,type:a.type,props:g,key:g&&vs(g),ref:n&&n.ref?e&&o?Ca(o)?o.concat(kt(n)):[o,kt(n)]:kt(n):o,scopeId:a.scopeId,slotScopeIds:a.slotScopeIds,children:l,target:a.target,targetStart:a.targetStart,targetAnchor:a.targetAnchor,staticCount:a.staticCount,shapeFlag:a.shapeFlag,patchFlag:n&&a.type!==Aa?r===-1?16:r|16:r,dynamicProps:a.dynamicProps,dynamicChildren:a.dynamicChildren,appContext:a.appContext,dirs:a.dirs,transition:s,component:a.component,suspense:a.suspense,ssContent:a.ssContent&&He(a.ssContent),ssFallback:a.ssFallback&&He(a.ssFallback),placeholder:a.placeholder,el:a.el,anchor:a.anchor,ctx:a.ctx,ce:a.ce};return s&&i&&Eo(d,s.clone(d)),d}function ya(a=" ",n=0){return Wa(Gi,null,a,n)}function As(a,n){const e=Wa(Pt,null,a);return e.staticCount=n,e}function fa(a="",n=!1){return n?(z(),Me(ge,null,a)):Wa(ge,null,a)}function $n(a){return a==null||typeof a=="boolean"?Wa(ge):Ca(a)?Wa(Aa,null,a.slice()):jt(a)?Zn(a):Wa(Gi,null,String(a))}function Zn(a){return a.el===null&&a.patchFlag!==-1||a.memo?a:He(a)}function Bo(a,n){let e=0;const{shapeFlag:i}=a;if(n==null)n=null;else if(Ca(n))e=16;else if(typeof n=="object")if(i&65){const t=n.default;t&&(t._c&&(t._d=!1),Bo(a,t()),t._c&&(t._d=!0));return}else{e=32;const t=n._;!t&&!ds(n)?n._ctx=_n:t===3&&_n&&(_n.slots._===1?n._=1:(n._=2,a.patchFlag|=1024))}else ka(n)?(n={default:n,_ctx:_n},e=32):(n=String(n),i&64?(e=16,n=[ya(n)]):e=8);a.children=n,a.shapeFlag|=e}function Ap(...a){const n={};for(let e=0;etn||_n;let Gt,Oo;{const a=it(),n=(e,i)=>{let t;return(t=a[e])||(t=a[e]=[]),t.push(i),o=>{t.length>1?t.forEach(r=>r(o)):t[0](o)}};Gt=n("__VUE_INSTANCE_SETTERS__",e=>tn=e),Oo=n("__VUE_SSR_SETTERS__",e=>De=e)}const Ei=a=>{const n=tn;return Gt(a),a.scope.on(),()=>{a.scope.off(),Gt(n)}},Ss=()=>{tn&&tn.scope.off(),Gt(null)};function Es(a){return a.vnode.shapeFlag&4}let De=!1;function Ip(a,n=!1,e=!1){n&&Oo(n);const{props:i,children:t}=a.vnode,o=Es(a);dp(a,i,o,n),yp(a,t,e||n);const r=o?wp(a,n):void 0;return n&&Oo(!1),r}function wp(a,n){const e=a.type;a.accessCache=Object.create(null),a.proxy=new Proxy(a.ctx,qd);const{setup:i}=e;if(i){wn();const t=a.setupContext=i.length>1?Tp(a):null,o=Ei(a),r=Ke(i,a,0,[a.props,t]),l=ll(r);if(xn(),o(),(l||a.sp)&&!Ci(a)&&Mo(a),l){if(r.then(Ss,Ss),n)return r.then(s=>{Ms(a,s)}).catch(s=>{yi(s,a,0)});a.asyncDep=r}else Ms(a,r)}else Is(a)}function Ms(a,n,e){ka(n)?a.type.__ssrInlineRender?a.ssrRender=n:a.render=n:Na(n)&&(a.setupState=$l(n)),Is(a)}function Is(a,n,e){const i=a.type;a.render||(a.render=i.render||Mn);{const t=Ei(a);wn();try{Xd(a)}finally{xn(),t()}}}const xp={get(a,n){return rn(a,"get",""),a[n]}};function Tp(a){const n=e=>{a.exposed=e||{}};return{attrs:new Proxy(a.attrs,xp),slots:a.slots,emit:a.emit,expose:n}}function vt(a){return a.exposed?a.exposeProxy||(a.exposeProxy=new Proxy($l(mi(a.exposed)),{get(n,e){if(e in n)return n[e];if(e in ji)return ji[e](a)},has(n,e){return e in n||e in ji}})):a.proxy}const Np=/(?:^|[-_])\w/g,Lp=a=>a.replace(Np,n=>n.toUpperCase()).replace(/[-_]/g,"");function ws(a,n=!0){return ka(a)?a.displayName||a.name:a.name||n&&a.__name}function xs(a,n,e=!1){let i=ws(n);if(!i&&n.__file){const t=n.__file.match(/([^/\\]+)\.\w+$/);t&&(i=t[1])}if(!i&&a){const t=o=>{for(const r in o)if(o[r]===n)return r};i=t(a.components)||a.parent&&t(a.parent.type.components)||t(a.appContext.components)}return i?Lp(i):e?"App":"Anonymous"}function Rp(a){return ka(a)&&"__vccOpts"in a}const la=(a,n)=>bd(a,n,De);function Ts(a,n,e){try{Ct(-1);const i=arguments.length;return i===2?Na(n)&&!Ca(n)?jt(n)?Wa(a,null,[n]):Wa(a,n):Wa(a,null,n):(i>3?e=Array.prototype.slice.call(arguments,2):i===3&&jt(e)&&(e=[e]),Wa(a,n,e))}finally{Ct(1)}}const $p="3.5.34";/** +* @vue/runtime-dom v3.5.34 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Uo;const Ns=typeof window<"u"&&window.trustedTypes;if(Ns)try{Uo=Ns.createPolicy("vue",{createHTML:a=>a})}catch{}const Ls=Uo?a=>Uo.createHTML(a):a=>a,Fp="http://www.w3.org/2000/svg",Kp="http://www.w3.org/1998/Math/MathML",qn=typeof document<"u"?document:null,Rs=qn&&qn.createElement("template"),Bp={insert:(a,n,e)=>{n.insertBefore(a,e||null)},remove:a=>{const n=a.parentNode;n&&n.removeChild(a)},createElement:(a,n,e,i)=>{const t=n==="svg"?qn.createElementNS(Fp,a):n==="mathml"?qn.createElementNS(Kp,a):e?qn.createElement(a,{is:e}):qn.createElement(a);return a==="select"&&i&&i.multiple!=null&&t.setAttribute("multiple",i.multiple),t},createText:a=>qn.createTextNode(a),createComment:a=>qn.createComment(a),setText:(a,n)=>{a.nodeValue=n},setElementText:(a,n)=>{a.textContent=n},parentNode:a=>a.parentNode,nextSibling:a=>a.nextSibling,querySelector:a=>qn.querySelector(a),setScopeId(a,n){a.setAttribute(n,"")},insertStaticContent(a,n,e,i,t,o){const r=e?e.previousSibling:n.lastChild;if(t&&(t===o||t.nextSibling))for(;n.insertBefore(t.cloneNode(!0),e),!(t===o||!(t=t.nextSibling)););else{Rs.innerHTML=Ls(i==="svg"?`${a}`:i==="mathml"?`${a}`:a);const l=Rs.content;if(i==="svg"||i==="mathml"){const s=l.firstChild;for(;s.firstChild;)l.appendChild(s.firstChild);l.removeChild(s)}n.insertBefore(l,e)}return[r?r.nextSibling:n.firstChild,e?e.previousSibling:n.lastChild]}},Op=Symbol("_vtc");function Up(a,n,e){const i=a[Op];i&&(n=(n?[n,...i]:[...i]).join(" ")),n==null?a.removeAttribute("class"):e?a.setAttribute("class",n):a.className=n}const At=Symbol("_vod"),$s=Symbol("_vsh"),Hp={name:"show",beforeMount(a,{value:n},{transition:e}){a[At]=a.style.display==="none"?"":a.style.display,e&&n?e.beforeEnter(a):Mi(a,n)},mounted(a,{value:n},{transition:e}){e&&n&&e.enter(a)},updated(a,{value:n,oldValue:e},{transition:i}){!n!=!e&&(i?n?(i.beforeEnter(a),Mi(a,!0),i.enter(a)):i.leave(a,()=>{Mi(a,!1)}):Mi(a,n))},beforeUnmount(a,{value:n}){Mi(a,n)}};function Mi(a,n){a.style.display=n?a[At]:"none",a[$s]=!n}const Dp=Symbol(""),zp=/(?:^|;)\s*display\s*:/;function Vp(a,n,e){const i=a.style,t=Da(e);let o=!1;if(e&&!t){if(n)if(Da(n))for(const r of n.split(";")){const l=r.slice(0,r.indexOf(":")).trim();e[l]==null&&Ii(i,l,"")}else for(const r in n)e[r]==null&&Ii(i,r,"");for(const r in e){r==="display"&&(o=!0);const l=e[r];l!=null?Wp(a,r,!Da(n)&&n?n[r]:void 0,l)||Ii(i,r,l):Ii(i,r,"")}}else if(t){if(n!==e){const r=i[Dp];r&&(e+=";"+r),i.cssText=e,o=zp.test(e)}}else n&&a.removeAttribute("style");At in a&&(a[At]=o?i.display:"",a[$s]&&(i.display="none"))}const Fs=/\s*!important$/;function Ii(a,n,e){if(Ca(e))e.forEach(i=>Ii(a,n,i));else if(e==null&&(e=""),n.startsWith("--"))a.setProperty(n,e);else{const i=Yp(a,n);Fs.test(e)?a.setProperty(yn(i),e.replace(Fs,""),"important"):a[i]=e}}const Ks=["Webkit","Moz","ms"],Ho={};function Yp(a,n){const e=Ho[n];if(e)return e;let i=nn(n);if(i!=="filter"&&i in a)return Ho[n]=i;i=et(i);for(let t=0;tDo||(Qp.then(()=>Do=0),Do=Date.now());function nm(a,n){const e=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=e.attached)return;Nn(em(i,e.value),n,5,[i])};return e.value=a,e.attached=am(),e}function em(a,n){if(Ca(n)){const e=a.stopImmediatePropagation;return a.stopImmediatePropagation=()=>{e.call(a),a._stopped=!0},n.map(i=>t=>!t._stopped&&i&&i(t))}else return n}const zs=a=>a.charCodeAt(0)===111&&a.charCodeAt(1)===110&&a.charCodeAt(2)>96&&a.charCodeAt(2)<123,im=(a,n,e,i,t,o)=>{const r=t==="svg";n==="class"?Up(a,i,r):n==="style"?Vp(a,e,i):qi(n)?Xi(n)||qp(a,n,e,i,o):(n[0]==="."?(n=n.slice(1),!0):n[0]==="^"?(n=n.slice(1),!1):tm(a,n,i,r))?(Us(a,n,i),!a.tagName.includes("-")&&(n==="value"||n==="checked"||n==="selected")&&Os(a,n,i,r,o,n!=="value")):a._isVueCE&&(om(a,n)||a._def.__asyncLoader&&(/[A-Z]/.test(n)||!Da(i)))?Us(a,nn(n),i,o,n):(n==="true-value"?a._trueValue=i:n==="false-value"&&(a._falseValue=i),Os(a,n,i,r))};function tm(a,n,e,i){if(i)return!!(n==="innerHTML"||n==="textContent"||n in a&&zs(n)&&ka(e));if(n==="spellcheck"||n==="draggable"||n==="translate"||n==="autocorrect"||n==="sandbox"&&a.tagName==="IFRAME"||n==="form"||n==="list"&&a.tagName==="INPUT"||n==="type"&&a.tagName==="TEXTAREA")return!1;if(n==="width"||n==="height"){const t=a.tagName;if(t==="IMG"||t==="VIDEO"||t==="CANVAS"||t==="SOURCE")return!1}return zs(n)&&Da(e)?!1:n in a}function om(a,n){const e=a._def.props;if(!e)return!1;const i=nn(n);return Array.isArray(e)?e.some(t=>nn(t)===i):Object.keys(e).some(t=>nn(t)===i)}const Vs={};function rm(a,n,e){let i=fi(a,n);Qi(i)&&(i=Ja({},i,n));class t extends zo{constructor(r){super(i,r,e)}}return t.def=i,t}const lm=typeof HTMLElement<"u"?HTMLElement:class{};class zo extends lm{constructor(n,e={},i=Zs){super(),this._def=n,this._props=e,this._createApp=i,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&&i!==Zs?this._root=this.shadowRoot:n.shadowRoot!==!1?(this.attachShadow(Ja({},n.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 n=this;for(;n=n&&(n.assignedSlot||n.parentNode||n.host);)if(n instanceof zo){this._parent=n;break}this._instance||(this._resolved?this._mount(this._def):n&&n._pendingResolve?this._pendingResolve=n._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(n=this._parent){n&&(this._instance.parent=n._instance,this._inheritParentContext(n))}_inheritParentContext(n=this._parent){n&&this._app&&Object.setPrototypeOf(this._app._context.provides,n._instance.provides)}disconnectedCallback(){this._connected=!1,bi(()=>{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(n){for(const e of n)this._setAttr(e.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let i=0;i{this._resolved=!0,this._pendingResolve=void 0;const{props:o,styles:r}=i;let l;if(o&&!Ca(o))for(const s in o){const g=o[s];(g===Number||g&&g.type===Number)&&(s in this._props&&(this._props[s]=gl(this._props[s])),(l||(l=Object.create(null)))[nn(s)]=!0)}this._numberProps=l,this._resolveProps(i),this.shadowRoot&&this._applyStyles(r),this._mount(i)},e=this._def.__asyncLoader;e?this._pendingResolve=e().then(i=>{i.configureApp=this._def.configureApp,n(this._def=i,!0)}):n(this._def)}_mount(n){this._app=this._createApp(n),this._inheritParentContext(),n.configureApp&&n.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const e=this._instance&&this._instance.exposed;if(e)for(const i in e)Ta(this,i)||Object.defineProperty(this,i,{get:()=>ha(e[i])})}_resolveProps(n){const{props:e}=n,i=Ca(e)?e:Object.keys(e||{});for(const t of Object.keys(this))t[0]!=="_"&&i.includes(t)&&this._setProp(t,this[t]);for(const t of i.map(nn))Object.defineProperty(this,t,{get(){return this._getProp(t)},set(o){this._setProp(t,o,!0,!this._patching)}})}_setAttr(n){if(n.startsWith("data-v-"))return;const e=this.hasAttribute(n);let i=e?this.getAttribute(n):Vs;const t=nn(n);e&&this._numberProps&&this._numberProps[t]&&(i=gl(i)),this._setProp(t,i,!1,!0)}_getProp(n){return this._props[n]}_setProp(n,e,i=!0,t=!1){if(e!==this._props[n]&&(this._dirty=!0,e===Vs?delete this._props[n]:(this._props[n]=e,n==="key"&&this._app&&(this._app._ceVNode.key=e)),t&&this._instance&&this._update(),i)){const o=this._ob;o&&(this._processMutations(o.takeRecords()),o.disconnect()),e===!0?this.setAttribute(yn(n),""):typeof e=="string"||typeof e=="number"?this.setAttribute(yn(n),e+""):e||this.removeAttribute(yn(n)),o&&o.observe(this,{attributes:!0})}}_update(){const n=this._createVNode();this._app&&(n.appContext=this._app._context),dm(n,this._root)}_createVNode(){const n={};this.shadowRoot||(n.onVnodeMounted=n.onVnodeUpdated=this._renderSlots.bind(this));const e=Wa(this._def,Ja(n,this._props));return this._instance||(e.ce=i=>{this._instance=i,i.ce=this,i.isCE=!0;const t=(o,r)=>{this.dispatchEvent(new CustomEvent(o,Qi(r[0])?Ja({detail:r},r[0]):{detail:r}))};i.emit=(o,...r)=>{t(o,r),yn(o)!==o&&t(yn(o),r)},this._setParent()}),e}_applyStyles(n,e,i){if(!n)return;if(e){if(e===this._def||this._styleChildren.has(e))return;this._styleChildren.add(e)}const t=this._nonce,o=this.shadowRoot,r=i?this._getStyleAnchor(i)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(o);let l=null;for(let s=n.length-1;s>=0;s--){const g=document.createElement("style");t&&g.setAttribute("nonce",t),g.textContent=n[s],o.insertBefore(g,l||r),l=g,s===0&&(i||this._styleAnchors.set(this._def,g),e&&this._styleAnchors.set(e,g))}}_getStyleAnchor(n){if(!n)return null;const e=this._styleAnchors.get(n);return e&&e.parentNode===this.shadowRoot?e:(e&&this._styleAnchors.delete(n),null)}_getRootStyleInsertionAnchor(n){for(let e=0;ea.stopPropagation(),prevent:a=>a.preventDefault(),self:a=>a.target!==a.currentTarget,ctrl:a=>!a.ctrlKey,shift:a=>!a.shiftKey,alt:a=>!a.altKey,meta:a=>!a.metaKey,left:a=>"button"in a&&a.button!==0,middle:a=>"button"in a&&a.button!==1,right:a=>"button"in a&&a.button!==2,exact:(a,n)=>sm.some(e=>a[`${e}Key`]&&!n.includes(e))},Xn=(a,n)=>{if(!a)return a;const e=a._withMods||(a._withMods={}),i=n.join(".");return e[i]||(e[i]=(t,...o)=>{for(let r=0;r{const e=a._withKeys||(a._withKeys={}),i=n.join(".");return e[i]||(e[i]=t=>{if(!("key"in t))return;const o=yn(t.key);if(n.some(r=>r===o||gm[r]===o))return a(t)})},um=Ja({patchProp:im},Bp);let Ws;function Js(){return Ws||(Ws=_p(um))}const dm=(...a)=>{Js().render(...a)},Zs=(...a)=>{const n=Js().createApp(...a),{mount:e}=n;return n.mount=i=>{const t=mm(i);if(!t)return;const o=n._component;!ka(o)&&!o.render&&!o.template&&(o.template=t.innerHTML),t.nodeType===1&&(t.textContent="");const r=e(t,!1,pm(t));return t instanceof Element&&(t.removeAttribute("v-cloak"),t.setAttribute("data-v-app","")),r},n};function pm(a){if(a instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&a instanceof MathMLElement)return"mathml"}function mm(a){return Da(a)?document.querySelector(a):a}/*! + * pinia v2.3.1 + * (c) 2025 Eduardo San Martin Morote + * @license MIT + */let qs;const St=a=>qs=a,Xs=Symbol();function Vo(a){return a&&typeof a=="object"&&Object.prototype.toString.call(a)==="[object Object]"&&typeof a.toJSON!="function"}var wi;(function(a){a.direct="direct",a.patchObject="patch object",a.patchFunction="patch function"})(wi||(wi={}));function hm(){const a=po(!0),n=a.run(()=>ua({}));let e=[],i=[];const t=mi({install(o){St(t),t._a=o,o.provide(Xs,t),o.config.globalProperties.$pinia=t,i.forEach(r=>e.push(r)),i=[]},use(o){return this._a?e.push(o):i.push(o),this},_p:e,_a:null,_e:a,_s:new Map,state:n});return t}const Qs=()=>{};function ac(a,n,e,i=Qs){a.push(n);const t=()=>{const o=a.indexOf(n);o>-1&&(a.splice(o,1),i())};return!e&&yl()&&Du(t),t}function ze(a,...n){a.slice().forEach(e=>{e(...n)})}const ym=a=>a(),nc=Symbol(),Yo=Symbol();function Wo(a,n){a instanceof Map&&n instanceof Map?n.forEach((e,i)=>a.set(i,e)):a instanceof Set&&n instanceof Set&&n.forEach(a.add,a);for(const e in n){if(!n.hasOwnProperty(e))continue;const i=n[e],t=a[e];Vo(t)&&Vo(i)&&a.hasOwnProperty(e)&&!Va(i)&&!Vn(i)?a[e]=Wo(t,i):a[e]=i}return a}const bm=Symbol();function _m(a){return!Vo(a)||!a.hasOwnProperty(bm)}const{assign:de}=Object;function fm(a){return!!(Va(a)&&a.effect)}function Pm(a,n,e,i){const{state:t,actions:o,getters:r}=n,l=e.state.value[a];let s;function g(){l||(e.state.value[a]=t?t():{});const d=pd(e.state.value[a]);return de(d,o,Object.keys(r||{}).reduce((_,k)=>(_[k]=mi(la(()=>{St(e);const x=e._s.get(a);return r[k].call(x,x)})),_),{}))}return s=ec(a,g,n,e,i,!0),s}function ec(a,n,e={},i,t,o){let r;const l=de({actions:{}},e),s={deep:!0};let g,d,_=[],k=[],x;const D=i.state.value[a];!o&&!D&&(i.state.value[a]={});let T;function $(K){let O;g=d=!1,typeof K=="function"?(K(i.state.value[a]),O={type:wi.patchFunction,storeId:a,events:x}):(Wo(i.state.value[a],K),O={type:wi.patchObject,payload:K,storeId:a,events:x});const q=T=Symbol();bi().then(()=>{T===q&&(g=!0)}),d=!0,ze(_,O,i.state.value[a])}const w=o?function(){const{state:O}=e,q=O?O():{};this.$patch(sa=>{de(sa,q)})}:Qs;function L(){r.stop(),_=[],k=[],i._s.delete(a)}const E=(K,O="")=>{if(nc in K)return K[Yo]=O,K;const q=function(){St(i);const sa=Array.from(arguments),ea=[],ga=[];function Sa(pa){ea.push(pa)}function Ma(pa){ga.push(pa)}ze(k,{args:sa,name:q[Yo],store:G,after:Sa,onError:Ma});let ma;try{ma=K.apply(this&&this.$id===a?this:G,sa)}catch(pa){throw ze(ga,pa),pa}return ma instanceof Promise?ma.then(pa=>(ze(ea,pa),pa)).catch(pa=>(ze(ga,pa),Promise.reject(pa))):(ze(ea,ma),ma)};return q[nc]=!0,q[Yo]=O,q},I={_p:i,$id:a,$onAction:ac.bind(null,k),$patch:$,$reset:w,$subscribe(K,O={}){const q=ac(_,K,O.detached,()=>sa()),sa=r.run(()=>cn(()=>i.state.value[a],ea=>{(O.flush==="sync"?d:g)&&K({storeId:a,type:wi.direct,events:x},ea)},de({},s,O)));return q},$dispose:L},G=pi(I);i._s.set(a,G);const v=(i._a&&i._a.runWithContext||ym)(()=>i._e.run(()=>(r=po()).run(()=>n({action:E}))));for(const K in v){const O=v[K];if(Va(O)&&!fm(O)||Vn(O))o||(D&&_m(O)&&(Va(O)?O.value=D[K]:Wo(O,D[K])),i.state.value[a][K]=O);else if(typeof O=="function"){const q=E(O,K);v[K]=q,l.actions[K]=O}}return de(G,v),de(wa(G),v),Object.defineProperty(G,"$state",{get:()=>i.state.value[a],set:K=>{$(O=>{de(O,K)})}}),i._p.forEach(K=>{de(G,r.run(()=>K({store:G,app:i._a,pinia:i,options:l})))}),D&&o&&e.hydrate&&e.hydrate(G.$state,D),g=!0,d=!0,G}/*! #__NO_SIDE_EFFECTS__ */function Jo(a,n,e){let i,t;const o=typeof n=="function";typeof a=="string"?(i=a,t=o?e:n):(t=a,i=a.id);function r(l,s){const g=Md();return l=l||(g?Ya(Xs,null):null),l&&St(l),l=qs,l._s.has(i)||(o?ec(i,n,t,l):Pm(i,t,l)),l._s.get(i)}return r.$id=i,r}const Cm={backToLegend:"العودة إلى المفتاح",closeDetailView:"إغلاق عرض التفاصيل"},jm={prayForThem:"صلِّ من أجلهم",adoptThem:"تبنَّهم",moreInfo:"مزيد من المعلومات",zoomIn:"تكبير",zoomOut:"تصغير",switchToLightMode:"التبديل إلى الوضع الفاتح",switchToDarkMode:"التبديل إلى الوضع الداكن",resetView:"إعادة تعيين العرض",toggleFullscreen:"تبديل ملء الشاشة",aboutThisMap:"حول هذه الخريطة",closeMenu:"إغلاق القائمة",reloadMap:"إعادة تحميل الخريطة",showClusters:"إظهار المجموعات",clusterSettings:"إعدادات المجموعات",startAutoFly:"بدء الطيران التلقائي",stopFlight:"إيقاف الطيران",speedLabel:"السرعة:",speedOption:{slow:"بطيء",normal:"عادي",fast:"سريع"},shareEmbed:"مشاركة وتضمين"},km={labels:{country:"الدولة:",population:"السكان:",language:"اللغة:",religion:"الديانة:",languageFamily:"العائلة اللغوية:",peopleCommitted:"ملتزمون بالصلاة:"},messages:{noDescription:"لا يوجد وصف متاح."}},Gm={title:{prayer:"تقدم الصلاة",engagement:"تقدم الانخراط",adoption:"تقدم التبني",languageFamilies:"العائلات اللغوية",geoRegions:"مناطق",affinityBlocs:"كتل القرابة",gospelResources:"موارد الإنجيل"},header:{collapsed:"وسيلة الإيضاح",peopleGroupFallback:"مجموعة الشعب"},prayer:{needsPrayer:"يحتاج إلى صلاة",hasPrayer:"لديه صلاة",fullPrayerCoverage:"تغطية صلاة كاملة"},engagement:{needsEngagement:"يحتاج إلى انخراط",hasEngagement:"لديه انخراط"},adoption:{needsAdoption:"يحتاج إلى تبني",hasAdoption:"لديه تبني"},columns:{upgs:"UUPGs",population:"السكان",name:"الاسم"},footer:{total:"الإجمالي"},sortByUpgs:"ترتيب حسب UUPG",sortByPop:"ترتيب حسب السكان",colLabel:{religion:"ديانات UUPG",prayer:"حالة الصلاة",engagement:"حالة المشاركة",adoption:"حالة التبني",status:"الحالة"},titleBar:{legend:"مفتاح الخريطة",peopleGroups:"الشعوب",wagfRegions:"مناطق WAGF",languages:"اللغات"}},vm={menuComingSoon:"القائمة قادمة قريباً"},Am={clusterByRegion:"حسب منطقة",clusterByLanguageFamily:"حسب العائلة اللغوية",clusterByGospelResource:"حسب مورد الإنجيل"},Sm={header:"دورة الصلاة الحالية",lap:"الدورة",upgs:"UUPGs",separator:" من "},Em={placeholder:"شعب، مكان، لغة، ديانة",labels:{people:"الشعب:",place:"المكان:",language:"اللغة:",religion:"الديانة:"},kinds:{people:"الشعب + الدولة",peopleGroup:"الشعب",bloc:"كتلة التقارب",cluster:"مجموعة شعوب",country:"الدولة",region:"المنطقة",family:"عائلة اللغة",languageKind:"اللغة",dialect:"اللهجة",religionKind:"الدين"}},Mm={prayer:"الصلاة",adoption:"التبني",engagement:"المشاركة","affinity-blocks":"الشعوب",regions:"المناطق",countries:"الدول","language-families":"اللغات",religion:"الأديان",family:"عائلة اللغة",language:"اللغة",dialect:"اللهجة/التنوع",bloc:"كتلة التقارب",cluster:"المجموعة",group:"الشعب",pgic:"الشعب في الدولة",region:"منطقة WAGF",block:"كتلة WAGF",country:"الدولة"},Im={backToLegend:"Zurück zur Legende",closeDetailView:"Detailansicht schließen"},wm={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"},xm={labels:{country:"Land:",population:"Bevölkerung:",language:"Sprache:",religion:"Religion:",languageFamily:"Sprachfamilie:",peopleCommitted:"Zum Gebet verpflichtet:"},messages:{noDescription:"Keine Beschreibung verfügbar."}},Tm={title:{prayer:"Gebetsfortschritt",engagement:"Engagement-Fortschritt",adoption:"Adoptionsfortschritt",languageFamilies:"Sprachfamilien",geoRegions:"Regionen",affinityBlocs:"Affinitätsblöcke",gospelResources:"Evangeliumsressourcen"},header:{collapsed:"Legende",peopleGroupFallback:"Volksgruppe"},prayer:{needsPrayer:"Braucht Gebet",hasPrayer:"Hat Gebet",fullPrayerCoverage:"Vollständige Gebetsabdeckung"},engagement:{needsEngagement:"Braucht Engagement",hasEngagement:"Hat Engagement"},adoption:{needsAdoption:"Braucht Adoption",hasAdoption:"Hat Adoption"},columns:{upgs:"UUPGs",population:"Bevölkerung"},footer:{total:"Gesamt"}},Nm={menuComingSoon:"Menü folgt in Kürze"},Lm={clusterByRegion:"Nach Region",clusterByLanguageFamily:"Nach Sprachfamilie",clusterByGospelResource:"Nach Evangeliumsressource"},Rm={header:"AKTUELLE GEBETSRUNDE",lap:"Runde",upgs:"UUPGs",separator:" von "},$m={placeholder:"Volk, Ort, Sprache, Religion",labels:{people:"Volk:",place:"Ort:",language:"Sprache:",religion:"Religion:"},sections:{within:"Innerhalb {selection}",allData:"Alle Daten"}},Fm={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"},Km={backToLegend:"Back to Legend",closeDetailView:"Close detail view"},Bm={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"},Om={labels:{country:"Country:",population:"Population:",language:"Language:",religion:"Religion:",languageFamily:"Language Family:",peopleCommitted:"Committed to pray:"},messages:{noDescription:"No description available."}},Um={title:{prayer:"Prayer Progress",engagement:"Engagement Progress",adoption:"Adoption Progress",languageFamilies:"Language Families",geoRegions:"Regions",affinityBlocs:"Affinity Blocks",gospelResources:"Gospel Resources"},header:{default:"Legend",collapsed:"Legend",peopleGroupFallback:"People Group"},prayer:{needsPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayerCoverage:"Full Prayer Coverage"},engagement:{needsEngagement:"Unengaged",hasEngagement:"Engaged"},adoption:{needsAdoption:"Needs Adoption",hasAdoption:"Has Adoption"},columns:{upgs:"UUPGs",population:"Population",name:"Name"},footer:{total:"Total"},sortByUpgs:"Sort by UUPGs",sortByPop:"Sort by Population",colLabel:{religion:"UUPG Religions",prayer:"Prayer Status",engagement:"Engagement Status",adoption:"Adoption Status",status:"Status"},titleBar:{legend:"Legend",peopleGroups:"People Groups",wagfRegions:"WAGF Regions",languages:"Languages"}},Hm={menuComingSoon:"Menu coming soon"},Dm={clusterByRegion:"By Region",clusterByLanguageFamily:"By Language Family",clusterByGospelResource:"By Gospel Resource"},zm={country:{wagfRegion:"WAGF Region",wagfBlock:"WAGF Bloc",country:"Country",uupgCount:"UUPG Count"}},Vm={header:"CURRENT PRAYER LAP",lap:"Lap",upgs:"UUPGs",separator:" of "},Ym={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 Data"}},Wm={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"},Jm={backToLegend:"Volver a la leyenda",closeDetailView:"Cerrar vista de detalle"},Zm={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"},qm={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."}},Xm={title:{prayer:"Progreso de oración",engagement:"Progreso de implicación",adoption:"Progreso de adopción",languageFamilies:"Familias lingüísticas",geoRegions:"Regiones",affinityBlocs:"Bloques de afinidad",gospelResources:"Recursos del Evangelio"},header:{collapsed:"Leyenda",peopleGroupFallback:"Grupo de personas"},prayer:{needsPrayer:"Necesita oración",hasPrayer:"Tiene oración",fullPrayerCoverage:"Cobertura de oración completa"},engagement:{needsEngagement:"Necesita implicación",hasEngagement:"Tiene implicación"},adoption:{needsAdoption:"Necesita adopción",hasAdoption:"Tiene adopción"},columns:{upgs:"UUPGs",population:"Población",name:"Nombre"},footer:{total:"Total"},sortByUpgs:"Ordenar por UUPG",sortByPop:"Ordenar por población",colLabel:{religion:"Religiones UUPG",prayer:"Estado de oración",engagement:"Estado de compromiso",adoption:"Estado de adopción",status:"Estado"},titleBar:{legend:"Leyenda",peopleGroups:"Pueblos",wagfRegions:"Regiones WAGF",languages:"Idiomas"}},Qm={menuComingSoon:"Menú próximamente"},ah={clusterByRegion:"Por región",clusterByLanguageFamily:"Por familia lingüística",clusterByGospelResource:"Por recurso del Evangelio"},nh={header:"VUELTA DE ORACIÓN ACTUAL",lap:"Vuelta",upgs:"UUPGs",separator:" de "},eh={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"}},ih={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"},th={backToLegend:"Retour à la légende",closeDetailView:"Fermer la vue détaillée"},oh={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"},rh={labels:{country:"Pays :",population:"Population :",language:"Langue :",religion:"Religion :",languageFamily:"Famille de langues :",peopleCommitted:"Engagés à prier :"},messages:{noDescription:"Aucune description disponible."}},lh={title:{prayer:"Progression de la prière",engagement:"Progression de l'engagement",adoption:"Progression de l'adoption",languageFamilies:"Familles de langues",geoRegions:"Régions",affinityBlocs:"Blocs d'affinité",gospelResources:"Ressources de l'Évangile"},header:{collapsed:"Légende",peopleGroupFallback:"Groupe de personnes"},prayer:{needsPrayer:"Besoin de prière",hasPrayer:"Prière en cours",fullPrayerCoverage:"Couverture de prière complète"},engagement:{needsEngagement:"Besoin d'engagement",hasEngagement:"Engagement en cours"},adoption:{needsAdoption:"Besoin d'adoption",hasAdoption:"Adoption en cours"},columns:{upgs:"UUPGs",population:"Population",name:"Nom"},footer:{total:"Total"},sortByUpgs:"Trier par UUPG",sortByPop:"Trier par population",colLabel:{religion:"Religions UUPG",prayer:"Statut de prière",engagement:"Statut d'engagement",adoption:"Statut d'adoption",status:"Statut"},titleBar:{legend:"Légende",peopleGroups:"Peuples",wagfRegions:"Régions WAGF",languages:"Langues"}},sh={menuComingSoon:"Menu bientôt disponible"},ch={clusterByRegion:"Par région",clusterByLanguageFamily:"Par famille de langues",clusterByGospelResource:"Par ressource de l'Évangile"},gh={country:{wagfRegion:"Région WAGF",wagfBlock:"Bloc WAGF",country:"Pays",uupgCount:"Nombre d'UUPG"}},uh={header:"TOUR DE PRIÈRE ACTUEL",lap:"Tour",upgs:"UUPGs",separator:" sur "},dh={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"}},ph={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"},mh={backToLegend:"लेजेंड पर वापस जाएं",closeDetailView:"विवरण दृश्य बंद करें"},hh={prayForThem:"उनके लिए प्रार्थना करें",adoptThem:"उन्हें गोद लें",moreInfo:"अधिक जानकारी",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",switchToLightMode:"लाइट मोड पर जाएं",switchToDarkMode:"डार्क मोड पर जाएं",resetView:"दृश्य रीसेट करें",toggleFullscreen:"फ़ुलस्क्रीन टॉगल करें",aboutThisMap:"इस मानचित्र के बारे में",closeMenu:"मेनू बंद करें",reloadMap:"मानचित्र पुनः लोड करें",showClusters:"क्लस्टर दिखाएं",clusterSettings:"क्लस्टर सेटिंग्स",startAutoFly:"ऑटो फ्लाई शुरू करें",stopFlight:"उड़ान रोकें",speedLabel:"गति:",speedOption:{slow:"धीमी",normal:"सामान्य",fast:"तेज़"},shareEmbed:"साझा करें और एम्बेड करें"},yh={labels:{country:"देश:",population:"जनसंख्या:",language:"भाषा:",religion:"धर्म:",languageFamily:"भाषा परिवार:",peopleCommitted:"प्रार्थना के लिए प्रतिबद्ध:"},messages:{noDescription:"कोई विवरण उपलब्ध नहीं है।"}},bh={title:{prayer:"प्रार्थना प्रगति",engagement:"सहभागिता प्रगति",adoption:"गोद लेने की प्रगति",languageFamilies:"भाषा परिवार",geoRegions:"क्षेत्र",affinityBlocs:"समानता समूह",gospelResources:"सुसमाचार संसाधन"},header:{collapsed:"किंवदंती",peopleGroupFallback:"जनजाति समूह"},prayer:{needsPrayer:"प्रार्थना चाहिए",hasPrayer:"प्रार्थना है",fullPrayerCoverage:"पूर्ण प्रार्थना कवरेज"},engagement:{needsEngagement:"सहभागिता चाहिए",hasEngagement:"सहभागिता है"},adoption:{needsAdoption:"गोद लेना चाहिए",hasAdoption:"गोद लिया गया"},columns:{upgs:"UUPGs",population:"जनसंख्या"},footer:{total:"कुल"}},_h={menuComingSoon:"मेनू शीघ्र आ रहा है"},fh={clusterByRegion:"क्षेत्र के अनुसार",clusterByLanguageFamily:"भाषा परिवार के अनुसार",clusterByGospelResource:"सुसमाचार संसाधन के अनुसार"},Ph={header:"वर्तमान प्रार्थना चक्र",lap:"चक्र",upgs:"UUPGs",separator:" में से "},Ch={placeholder:"लोग, स्थान, भाषा, धर्म",labels:{people:"लोग:",place:"स्थान:",language:"भाषा:",religion:"धर्म:"}},jh={backToLegend:"Torna alla legenda",closeDetailView:"Chiudi vista dettaglio"},kh={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"},Gh={labels:{country:"Paese:",population:"Popolazione:",language:"Lingua:",religion:"Religione:",languageFamily:"Famiglia linguistica:",peopleCommitted:"Impegnati a pregare:"},messages:{noDescription:"Nessuna descrizione disponibile."}},vh={title:{prayer:"Avanzamento della preghiera",engagement:"Avanzamento dell'impegno",adoption:"Avanzamento dell'adozione",languageFamilies:"Famiglie linguistiche",geoRegions:"Regioni",affinityBlocs:"Blocchi di affinità",gospelResources:"Risorse del Vangelo"},header:{collapsed:"Legenda",peopleGroupFallback:"Gruppo di persone"},prayer:{needsPrayer:"Necessita preghiera",hasPrayer:"Ha preghiera",fullPrayerCoverage:"Copertura di preghiera completa"},engagement:{needsEngagement:"Necessita impegno",hasEngagement:"Ha impegno"},adoption:{needsAdoption:"Necessita adozione",hasAdoption:"Ha adozione"},columns:{upgs:"UUPGs",population:"Popolazione"},footer:{total:"Totale"}},Ah={menuComingSoon:"Menu in arrivo"},Sh={clusterByRegion:"Per regione",clusterByLanguageFamily:"Per famiglia linguistica",clusterByGospelResource:"Per risorsa del Vangelo"},Eh={header:"GIRO DI PREGHIERA ATTUALE",lap:"Giro",upgs:"UUPGs",separator:" di "},Mh={placeholder:"Popolo, luogo, lingua, religione",labels:{people:"Popolo:",place:"Luogo:",language:"Lingua:",religion:"Religione:"}},Ih={backToLegend:"Voltar à legenda",closeDetailView:"Fechar vista de detalhe"},wh={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"},xh={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."}},Th={title:{prayer:"Progresso da oração",engagement:"Progresso do envolvimento",adoption:"Progresso da adoção",languageFamilies:"Famílias linguísticas",geoRegions:"Regiões",affinityBlocs:"Blocos de afinidade",gospelResources:"Recursos do Evangelho"},header:{collapsed:"Legenda",peopleGroupFallback:"Grupo de pessoas"},prayer:{needsPrayer:"Precisa de oração",hasPrayer:"Tem oração",fullPrayerCoverage:"Cobertura de oração completa"},engagement:{needsEngagement:"Precisa de envolvimento",hasEngagement:"Tem envolvimento"},adoption:{needsAdoption:"Precisa de adoção",hasAdoption:"Tem adoção"},columns:{upgs:"UUPGs",population:"População",name:"Nome"},footer:{total:"Total"},sortByUpgs:"Ordenar por UUPG",sortByPop:"Ordenar por população",colLabel:{religion:"Religiões UUPG",prayer:"Status de oração",engagement:"Status de engajamento",adoption:"Status de adoção",status:"Status"},titleBar:{legend:"Legenda",peopleGroups:"Povos",wagfRegions:"Regiões WAGF",languages:"Idiomas"}},Nh={menuComingSoon:"Menu em breve"},Lh={clusterByRegion:"Por região",clusterByLanguageFamily:"Por família linguística",clusterByGospelResource:"Por recurso do Evangelho"},Rh={header:"VOLTA DE ORAÇÃO ATUAL",lap:"Volta",upgs:"UUPGs",separator:" de "},$h={placeholder:"Povo, local, língua, religião",labels:{people:"Povo:",place:"Local:",language:"Língua:",religion:"Religião:"},kinds:{people:"Povo + país",peopleGroup:"Povo",bloc:"Bloco de afinidade",cluster:"Agrupamento de povos",country:"País",region:"Região",family:"Família linguística",languageKind:"Idioma",dialect:"Dialeto",religionKind:"Religião"}},Fh={prayer:"Oração",adoption:"Adoção",engagement:"Engajamento","affinity-blocks":"Povos",regions:"Regiões",countries:"Países","language-families":"Idiomas",religion:"Religiões",family:"Família linguística",language:"Idioma",dialect:"Dialeto/Variedade",bloc:"Bloco de afinidade",cluster:"Agrupamento",group:"Povo",pgic:"Povo no país",region:"Região WAGF",block:"Bloco WAGF",country:"País"},Kh={backToLegend:"Înapoi la legendă",closeDetailView:"Închide vizualizarea detaliată"},Bh={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ă"},Oh={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ă."}},Uh={title:{prayer:"Progresul rugăciunii",engagement:"Progresul implicării",adoption:"Progresul adopției",languageFamilies:"Familii de limbi",geoRegions:"Regiuni",affinityBlocs:"Blocuri de afinitate",gospelResources:"Resurse ale Evangheliei"},header:{collapsed:"Legendă",peopleGroupFallback:"Grup de popoare"},prayer:{needsPrayer:"Necesită rugăciune",hasPrayer:"Are rugăciune",fullPrayerCoverage:"Acoperire completă de rugăciune"},engagement:{needsEngagement:"Necesită implicare",hasEngagement:"Are implicare"},adoption:{needsAdoption:"Necesită adopție",hasAdoption:"Are adopție"},columns:{upgs:"UUPGs",population:"Populație"},footer:{total:"Total"}},Hh={menuComingSoon:"Meniu în curând"},Dh={clusterByRegion:"După regiune",clusterByLanguageFamily:"După familia de limbi",clusterByGospelResource:"După resursa Evangheliei"},zh={header:"TURUL DE RUGĂCIUNE CURENT",lap:"Tur",upgs:"UUPGs",separator:" din "},Vh={placeholder:"Popor, loc, limbă, religie",labels:{people:"Popor:",place:"Loc:",language:"Limbă:",religion:"Religie:"}},Yh={backToLegend:"Назад к легенде",closeDetailView:"Закрыть подробный вид"},Wh={prayForThem:"Молитесь о них",adoptThem:"Усыновите их",moreInfo:"Подробнее",zoomIn:"Приблизить",zoomOut:"Отдалить",switchToLightMode:"Переключить на светлый режим",switchToDarkMode:"Переключить на тёмный режим",resetView:"Сбросить вид",toggleFullscreen:"Полноэкранный режим",aboutThisMap:"Об этой карте",closeMenu:"Закрыть меню",reloadMap:"Перезагрузить карту",showClusters:"Показать кластеры",clusterSettings:"Настройки кластеров",startAutoFly:"Начать авто-полёт",stopFlight:"Остановить полёт",speedLabel:"Скорость:",speedOption:{slow:"Медленно",normal:"Нормально",fast:"Быстро"},shareEmbed:"Поделиться и встроить"},Jh={labels:{country:"Страна:",population:"Население:",language:"Язык:",religion:"Религия:",languageFamily:"Языковая семья:",peopleCommitted:"Обязались молиться:"},messages:{noDescription:"Описание недоступно."}},Zh={title:{prayer:"Прогресс молитвы",engagement:"Прогресс вовлечённости",adoption:"Прогресс усыновления",languageFamilies:"Языковые семьи",geoRegions:"Регионы",affinityBlocs:"Блоки родства",gospelResources:"Евангельские ресурсы"},header:{collapsed:"Условные обозначения",peopleGroupFallback:"Народная группа"},prayer:{needsPrayer:"Нуждается в молитве",hasPrayer:"Есть молитва",fullPrayerCoverage:"Полное молитвенное покрытие"},engagement:{needsEngagement:"Нуждается в вовлечённости",hasEngagement:"Есть вовлечённость"},adoption:{needsAdoption:"Нуждается в усыновлении",hasAdoption:"Есть усыновление"},columns:{upgs:"UUPGs",population:"Население",name:"Название"},footer:{total:"Всего"},sortByUpgs:"Сортировать по UUPG",sortByPop:"Сортировать по населению",colLabel:{religion:"Религии UUPG",prayer:"Статус молитвы",engagement:"Статус вовлечённости",adoption:"Статус усыновления",status:"Статус"},titleBar:{legend:"Легенда",peopleGroups:"Народы",wagfRegions:"Регионы WAGF",languages:"Языки"}},qh={menuComingSoon:"Меню скоро появится"},Xh={clusterByRegion:"По региону",clusterByLanguageFamily:"По языковой семье",clusterByGospelResource:"По евангельскому ресурсу"},Qh={header:"ТЕКУЩИЙ КРУГ МОЛИТВЫ",lap:"Круг",upgs:"UUPGs",separator:" из "},a0={placeholder:"Народ, место, язык, религия",labels:{people:"Народ:",place:"Место:",language:"Язык:",religion:"Религия:"},kinds:{people:"Народ + страна",peopleGroup:"Народ",bloc:"Блок родства",cluster:"Кластер народов",country:"Страна",region:"Регион",family:"Языковая семья",languageKind:"Язык",dialect:"Диалект",religionKind:"Религия"}},n0={prayer:"Молитва",adoption:"Усыновление",engagement:"Вовлечённость","affinity-blocks":"Народы",regions:"Регионы",countries:"Страны","language-families":"Языки",religion:"Религии",family:"Языковая семья",language:"Язык",dialect:"Диалект/вариант",bloc:"Блок родства",cluster:"Кластер",group:"Народ",pgic:"Народ в стране",region:"Регион WAGF",block:"Блок WAGF",country:"Страна"},e0={backToLegend:"返回图例",closeDetailView:"关闭详情视图"},i0={prayForThem:"为他们祷告",adoptThem:"认领他们",moreInfo:"更多信息",zoomIn:"放大",zoomOut:"缩小",switchToLightMode:"切换至浅色模式",switchToDarkMode:"切换至深色模式",resetView:"重置视图",toggleFullscreen:"切换全屏",aboutThisMap:"关于此地图",closeMenu:"关闭菜单",reloadMap:"重新加载地图",showClusters:"显示聚类",clusterSettings:"聚类设置",startAutoFly:"开始自动飞行",stopFlight:"停止飞行",speedLabel:"速度:",speedOption:{slow:"慢",normal:"正常",fast:"快"},shareEmbed:"分享与嵌入"},t0={labels:{country:"国家:",population:"人口:",language:"语言:",religion:"宗教:",languageFamily:"语系:",peopleCommitted:"承诺祷告人数:"},messages:{noDescription:"暂无描述。"}},o0={title:{prayer:"祷告进度",engagement:"参与进度",adoption:"认领进度",languageFamilies:"语系",geoRegions:"区域",affinityBlocs:"亲缘板块",gospelResources:"福音资源"},header:{collapsed:"图例",peopleGroupFallback:"民族群体"},prayer:{needsPrayer:"需要祷告",hasPrayer:"已有祷告",fullPrayerCoverage:"全面祷告覆盖"},engagement:{needsEngagement:"需要参与",hasEngagement:"已有参与"},adoption:{needsAdoption:"需要认领",hasAdoption:"已有认领"},columns:{upgs:"UUPGs",population:"人口"},footer:{total:"总计"}},r0={menuComingSoon:"菜单即将推出"},l0={clusterByRegion:"按 区域",clusterByLanguageFamily:"按语系",clusterByGospelResource:"按福音资源"},s0={header:"当前祷告轮次",lap:"第",upgs:"UUPGs",separator:" / "},c0={placeholder:"民族、地点、语言、宗教",labels:{people:"民族:",place:"地点:",language:"语言:",religion:"宗教:"}};/*! + * shared v9.14.5 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */function g0(a,n){typeof console<"u"&&(console.warn("[intlify] "+a),n&&console.warn(n.stack))}const Et=typeof window<"u",pe=(a,n=!1)=>n?Symbol.for(a):Symbol(a),u0=(a,n,e)=>d0({l:a,k:n,s:e}),d0=a=>JSON.stringify(a).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Za=a=>typeof a=="number"&&isFinite(a),p0=a=>lc(a)==="[object Date]",me=a=>lc(a)==="[object RegExp]",Mt=a=>Ga(a)&&Object.keys(a).length===0,on=Object.assign,m0=Object.create,La=(a=null)=>m0(a);let ic;const Qn=()=>ic||(ic=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:La());function tc(a){return a.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function oc(a){return a.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function h0(a){return a=a.replace(/(\w+)\s*=\s*"([^"]*)"/g,(i,t,o)=>`${t}="${oc(o)}"`),a=a.replace(/(\w+)\s*=\s*'([^']*)'/g,(i,t,o)=>`${t}='${oc(o)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(a)&&(a=a.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(i=>{a=a.replace(i,"$1javascript:")}),a}const y0=Object.prototype.hasOwnProperty;function An(a,n){return y0.call(a,n)}const za=Array.isArray,Ha=a=>typeof a=="function",da=a=>typeof a=="string",Ea=a=>typeof a=="boolean",xa=a=>a!==null&&typeof a=="object",b0=a=>xa(a)&&Ha(a.then)&&Ha(a.catch),rc=Object.prototype.toString,lc=a=>rc.call(a),Ga=a=>{if(!xa(a))return!1;const n=Object.getPrototypeOf(a);return n===null||n.constructor===Object},_0=a=>a==null?"":za(a)||Ga(a)&&a.toString===rc?JSON.stringify(a,null,2):String(a);function f0(a,n=""){return a.reduce((e,i,t)=>t===0?e+i:e+n+i,"")}function It(a){let n=a;return()=>++n}const wt=a=>!xa(a)||za(a);function xt(a,n){if(wt(a)||wt(n))throw new Error("Invalid value");const e=[{src:a,des:n}];for(;e.length;){const{src:i,des:t}=e.pop();Object.keys(i).forEach(o=>{o!=="__proto__"&&(xa(i[o])&&!xa(t[o])&&(t[o]=Array.isArray(i[o])?[]:La()),wt(t[o])||wt(i[o])?t[o]=i[o]:e.push({src:i[o],des:t[o]}))})}}/*! + * message-compiler v9.14.5 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */function P0(a,n,e){return{line:a,column:n,offset:e}}function Tt(a,n,e){return{start:a,end:n}}const C0=/\{([0-9a-zA-Z]+)\}/g;function sc(a,...n){return n.length===1&&j0(n[0])&&(n=n[0]),(!n||!n.hasOwnProperty)&&(n={}),a.replace(C0,(e,i)=>n.hasOwnProperty(i)?n[i]:"")}const cc=Object.assign,gc=a=>typeof a=="string",j0=a=>a!==null&&typeof a=="object";function uc(a,n=""){return a.reduce((e,i,t)=>t===0?e+i:e+n+i,"")}const Zo={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},k0={[Zo.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function G0(a,n,...e){const i=sc(k0[a],...e||[]),t={message:String(i),code:a};return n&&(t.location=n),t}const ja={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},v0={[ja.EXPECTED_TOKEN]:"Expected token: '{0}'",[ja.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ja.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ja.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ja.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ja.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ja.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ja.EMPTY_PLACEHOLDER]:"Empty placeholder",[ja.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ja.INVALID_LINKED_FORMAT]:"Invalid linked format",[ja.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ja.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ja.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ja.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ja.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ja.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Ve(a,n,e={}){const{domain:i,messages:t,args:o}=e,r=sc((t||v0)[a]||"",...o||[]),l=new SyntaxError(String(r));return l.code=a,n&&(l.location=n),l.domain=i,l}function A0(a){throw a}const ae=" ",S0="\r",un=` +`,E0="\u2028",M0="\u2029";function I0(a){const n=a;let e=0,i=1,t=1,o=0;const r=v=>n[v]===S0&&n[v+1]===un,l=v=>n[v]===un,s=v=>n[v]===M0,g=v=>n[v]===E0,d=v=>r(v)||l(v)||s(v)||g(v),_=()=>e,k=()=>i,x=()=>t,D=()=>o,T=v=>r(v)||s(v)||g(v)?un:n[v],$=()=>T(e),w=()=>T(e+o);function L(){return o=0,d(e)&&(i++,t=0),r(e)&&e++,e++,t++,n[e]}function E(){return r(e+o)&&o++,o++,n[e+o]}function I(){e=0,i=1,t=1,o=0}function G(v=0){o=v}function S(){const v=e+o;for(;v!==e;)L();o=0}return{index:_,line:k,column:x,peekOffset:D,charAt:T,currentChar:$,currentPeek:w,next:L,peek:E,reset:I,resetPeek:G,skipToPeek:S}}const he=void 0,w0=".",dc="'",x0="tokenizer";function T0(a,n={}){const e=n.location!==!1,i=I0(a),t=()=>i.index(),o=()=>P0(i.line(),i.column(),i.index()),r=o(),l=t(),s={currentType:14,offset:l,startLoc:r,endLoc:r,lastType:14,lastOffset:l,lastStartLoc:r,lastEndLoc:r,braceNest:0,inLinked:!1,text:""},g=()=>s,{onError:d}=n;function _(m,b,F,...J){const ca=g();if(b.column+=F,b.offset+=F,d){const ra=e?Tt(ca.startLoc,b):null,B=Ve(m,ra,{domain:x0,args:J});d(B)}}function k(m,b,F){m.endLoc=o(),m.currentType=b;const J={type:b};return e&&(J.loc=Tt(m.startLoc,m.endLoc)),F!=null&&(J.value=F),J}const x=m=>k(m,14);function D(m,b){return m.currentChar()===b?(m.next(),b):(_(ja.EXPECTED_TOKEN,o(),0,b),"")}function T(m){let b="";for(;m.currentPeek()===ae||m.currentPeek()===un;)b+=m.currentPeek(),m.peek();return b}function $(m){const b=T(m);return m.skipToPeek(),b}function w(m){if(m===he)return!1;const b=m.charCodeAt(0);return b>=97&&b<=122||b>=65&&b<=90||b===95}function L(m){if(m===he)return!1;const b=m.charCodeAt(0);return b>=48&&b<=57}function E(m,b){const{currentType:F}=b;if(F!==2)return!1;T(m);const J=w(m.currentPeek());return m.resetPeek(),J}function I(m,b){const{currentType:F}=b;if(F!==2)return!1;T(m);const J=m.currentPeek()==="-"?m.peek():m.currentPeek(),ca=L(J);return m.resetPeek(),ca}function G(m,b){const{currentType:F}=b;if(F!==2)return!1;T(m);const J=m.currentPeek()===dc;return m.resetPeek(),J}function S(m,b){const{currentType:F}=b;if(F!==8)return!1;T(m);const J=m.currentPeek()===".";return m.resetPeek(),J}function v(m,b){const{currentType:F}=b;if(F!==9)return!1;T(m);const J=w(m.currentPeek());return m.resetPeek(),J}function K(m,b){const{currentType:F}=b;if(!(F===8||F===12))return!1;T(m);const J=m.currentPeek()===":";return m.resetPeek(),J}function O(m,b){const{currentType:F}=b;if(F!==10)return!1;const J=()=>{const ra=m.currentPeek();return ra==="{"?w(m.peek()):ra==="@"||ra==="%"||ra==="|"||ra===":"||ra==="."||ra===ae||!ra?!1:ra===un?(m.peek(),J()):ea(m,!1)},ca=J();return m.resetPeek(),ca}function q(m){T(m);const b=m.currentPeek()==="|";return m.resetPeek(),b}function sa(m){const b=T(m),F=m.currentPeek()==="%"&&m.peek()==="{";return m.resetPeek(),{isModulo:F,hasSpace:b.length>0}}function ea(m,b=!0){const F=(ca=!1,ra="",B=!1)=>{const Z=m.currentPeek();return Z==="{"?ra==="%"?!1:ca:Z==="@"||!Z?ra==="%"?!0:ca:Z==="%"?(m.peek(),F(ca,"%",!0)):Z==="|"?ra==="%"||B?!0:!(ra===ae||ra===un):Z===ae?(m.peek(),F(!0,ae,B)):Z===un?(m.peek(),F(!0,un,B)):!0},J=F();return b&&m.resetPeek(),J}function ga(m,b){const F=m.currentChar();return F===he?he:b(F)?(m.next(),F):null}function Sa(m){const b=m.charCodeAt(0);return b>=97&&b<=122||b>=65&&b<=90||b>=48&&b<=57||b===95||b===36}function Ma(m){return ga(m,Sa)}function ma(m){const b=m.charCodeAt(0);return b>=97&&b<=122||b>=65&&b<=90||b>=48&&b<=57||b===95||b===36||b===45}function pa(m){return ga(m,ma)}function Y(m){const b=m.charCodeAt(0);return b>=48&&b<=57}function ta(m){return ga(m,Y)}function aa(m){const b=m.charCodeAt(0);return b>=48&&b<=57||b>=65&&b<=70||b>=97&&b<=102}function ba(m){return ga(m,aa)}function na(m){let b="",F="";for(;b=ta(m);)F+=b;return F}function u(m){$(m);const b=m.currentChar();return b!=="%"&&_(ja.EXPECTED_TOKEN,o(),0,b),m.next(),"%"}function A(m){let b="";for(;;){const F=m.currentChar();if(F==="{"||F==="}"||F==="@"||F==="|"||!F)break;if(F==="%")if(ea(m))b+=F,m.next();else break;else if(F===ae||F===un)if(ea(m))b+=F,m.next();else{if(q(m))break;b+=F,m.next()}else b+=F,m.next()}return b}function j(m){$(m);let b="",F="";for(;b=pa(m);)F+=b;return m.currentChar()===he&&_(ja.UNTERMINATED_CLOSING_BRACE,o(),0),F}function c(m){$(m);let b="";return m.currentChar()==="-"?(m.next(),b+=`-${na(m)}`):b+=na(m),m.currentChar()===he&&_(ja.UNTERMINATED_CLOSING_BRACE,o(),0),b}function P(m){return m!==dc&&m!==un}function p(m){$(m),D(m,"'");let b="",F="";for(;b=ga(m,P);)b==="\\"?F+=M(m):F+=b;const J=m.currentChar();return J===un||J===he?(_(ja.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),J===un&&(m.next(),D(m,"'")),F):(D(m,"'"),F)}function M(m){const b=m.currentChar();switch(b){case"\\":case"'":return m.next(),`\\${b}`;case"u":return N(m,b,4);case"U":return N(m,b,6);default:return _(ja.UNKNOWN_ESCAPE_SEQUENCE,o(),0,b),""}}function N(m,b,F){D(m,b);let J="";for(let ca=0;ca{const J=m.currentChar();return J==="{"||J==="%"||J==="@"||J==="|"||J==="("||J===")"||!J||J===ae?F:(F+=J,m.next(),b(F))};return b("")}function R(m){$(m);const b=D(m,"|");return $(m),b}function H(m,b){let F=null;switch(m.currentChar()){case"{":return b.braceNest>=1&&_(ja.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),m.next(),F=k(b,2,"{"),$(m),b.braceNest++,F;case"}":return b.braceNest>0&&b.currentType===2&&_(ja.EMPTY_PLACEHOLDER,o(),0),m.next(),F=k(b,3,"}"),b.braceNest--,b.braceNest>0&&$(m),b.inLinked&&b.braceNest===0&&(b.inLinked=!1),F;case"@":return b.braceNest>0&&_(ja.UNTERMINATED_CLOSING_BRACE,o(),0),F=V(m,b)||x(b),b.braceNest=0,F;default:{let ca=!0,ra=!0,B=!0;if(q(m))return b.braceNest>0&&_(ja.UNTERMINATED_CLOSING_BRACE,o(),0),F=k(b,1,R(m)),b.braceNest=0,b.inLinked=!1,F;if(b.braceNest>0&&(b.currentType===5||b.currentType===6||b.currentType===7))return _(ja.UNTERMINATED_CLOSING_BRACE,o(),0),b.braceNest=0,oa(m,b);if(ca=E(m,b))return F=k(b,5,j(m)),$(m),F;if(ra=I(m,b))return F=k(b,6,c(m)),$(m),F;if(B=G(m,b))return F=k(b,7,p(m)),$(m),F;if(!ca&&!ra&&!B)return F=k(b,13,h(m)),_(ja.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,F.value),$(m),F;break}}return F}function V(m,b){const{currentType:F}=b;let J=null;const ca=m.currentChar();switch((F===8||F===9||F===12||F===10)&&(ca===un||ca===ae)&&_(ja.INVALID_LINKED_FORMAT,o(),0),ca){case"@":return m.next(),J=k(b,8,"@"),b.inLinked=!0,J;case".":return $(m),m.next(),k(b,9,".");case":":return $(m),m.next(),k(b,10,":");default:return q(m)?(J=k(b,1,R(m)),b.braceNest=0,b.inLinked=!1,J):S(m,b)||K(m,b)?($(m),V(m,b)):v(m,b)?($(m),k(b,12,C(m))):O(m,b)?($(m),ca==="{"?H(m,b)||J:k(b,11,y(m))):(F===8&&_(ja.INVALID_LINKED_FORMAT,o(),0),b.braceNest=0,b.inLinked=!1,oa(m,b))}}function oa(m,b){let F={type:14};if(b.braceNest>0)return H(m,b)||x(b);if(b.inLinked)return V(m,b)||x(b);switch(m.currentChar()){case"{":return H(m,b)||x(b);case"}":return _(ja.UNBALANCED_CLOSING_BRACE,o(),0),m.next(),k(b,3,"}");case"@":return V(m,b)||x(b);default:{if(q(m))return F=k(b,1,R(m)),b.braceNest=0,b.inLinked=!1,F;const{isModulo:ca,hasSpace:ra}=sa(m);if(ca)return ra?k(b,0,A(m)):k(b,4,u(m));if(ea(m))return k(b,0,A(m));break}}return F}function Q(){const{currentType:m,offset:b,startLoc:F,endLoc:J}=s;return s.lastType=m,s.lastOffset=b,s.lastStartLoc=F,s.lastEndLoc=J,s.offset=t(),s.startLoc=o(),i.currentChar()===he?k(s,14):oa(i,s)}return{nextToken:Q,currentOffset:t,currentPosition:o,context:g}}const N0="parser",L0=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function R0(a,n,e){switch(a){case"\\\\":return"\\";case"\\'":return"'";default:{const i=parseInt(n||e,16);return i<=55295||i>=57344?String.fromCodePoint(i):"�"}}}function $0(a={}){const n=a.location!==!1,{onError:e,onWarn:i}=a;function t(E,I,G,S,...v){const K=E.currentPosition();if(K.offset+=S,K.column+=S,e){const O=n?Tt(G,K):null,q=Ve(I,O,{domain:N0,args:v});e(q)}}function o(E,I,G,S,...v){const K=E.currentPosition();if(K.offset+=S,K.column+=S,i){const O=n?Tt(G,K):null;i(G0(I,O,v))}}function r(E,I,G){const S={type:E};return n&&(S.start=I,S.end=I,S.loc={start:G,end:G}),S}function l(E,I,G,S){n&&(E.end=I,E.loc&&(E.loc.end=G))}function s(E,I){const G=E.context(),S=r(3,G.offset,G.startLoc);return S.value=I,l(S,E.currentOffset(),E.currentPosition()),S}function g(E,I){const G=E.context(),{lastOffset:S,lastStartLoc:v}=G,K=r(5,S,v);return K.index=parseInt(I,10),E.nextToken(),l(K,E.currentOffset(),E.currentPosition()),K}function d(E,I,G){const S=E.context(),{lastOffset:v,lastStartLoc:K}=S,O=r(4,v,K);return O.key=I,G===!0&&(O.modulo=!0),E.nextToken(),l(O,E.currentOffset(),E.currentPosition()),O}function _(E,I){const G=E.context(),{lastOffset:S,lastStartLoc:v}=G,K=r(9,S,v);return K.value=I.replace(L0,R0),E.nextToken(),l(K,E.currentOffset(),E.currentPosition()),K}function k(E){const I=E.nextToken(),G=E.context(),{lastOffset:S,lastStartLoc:v}=G,K=r(8,S,v);return I.type!==12?(t(E,ja.UNEXPECTED_EMPTY_LINKED_MODIFIER,G.lastStartLoc,0),K.value="",l(K,S,v),{nextConsumeToken:I,node:K}):(I.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,G.lastStartLoc,0,Sn(I)),K.value=I.value||"",l(K,E.currentOffset(),E.currentPosition()),{node:K})}function x(E,I){const G=E.context(),S=r(7,G.offset,G.startLoc);return S.value=I,l(S,E.currentOffset(),E.currentPosition()),S}function D(E){const I=E.context(),G=r(6,I.offset,I.startLoc);let S=E.nextToken();if(S.type===9){const v=k(E);G.modifier=v.node,S=v.nextConsumeToken||E.nextToken()}switch(S.type!==10&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(S)),S=E.nextToken(),S.type===2&&(S=E.nextToken()),S.type){case 11:S.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(S)),G.key=x(E,S.value||"");break;case 5:S.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(S)),G.key=d(E,S.value||"");break;case 6:S.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(S)),G.key=g(E,S.value||"");break;case 7:S.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(S)),G.key=_(E,S.value||"");break;default:{t(E,ja.UNEXPECTED_EMPTY_LINKED_KEY,I.lastStartLoc,0);const v=E.context(),K=r(7,v.offset,v.startLoc);return K.value="",l(K,v.offset,v.startLoc),G.key=K,l(G,v.offset,v.startLoc),{nextConsumeToken:S,node:G}}}return l(G,E.currentOffset(),E.currentPosition()),{node:G}}function T(E){const I=E.context(),G=I.currentType===1?E.currentOffset():I.offset,S=I.currentType===1?I.endLoc:I.startLoc,v=r(2,G,S);v.items=[];let K=null,O=null;do{const ea=K||E.nextToken();switch(K=null,ea.type){case 0:ea.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(ea)),v.items.push(s(E,ea.value||""));break;case 6:ea.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(ea)),v.items.push(g(E,ea.value||""));break;case 4:O=!0;break;case 5:ea.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(ea)),v.items.push(d(E,ea.value||"",!!O)),O&&(o(E,Zo.USE_MODULO_SYNTAX,I.lastStartLoc,0,Sn(ea)),O=null);break;case 7:ea.value==null&&t(E,ja.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Sn(ea)),v.items.push(_(E,ea.value||""));break;case 8:{const ga=D(E);v.items.push(ga.node),K=ga.nextConsumeToken||null;break}}}while(I.currentType!==14&&I.currentType!==1);const q=I.currentType===1?I.lastOffset:E.currentOffset(),sa=I.currentType===1?I.lastEndLoc:E.currentPosition();return l(v,q,sa),v}function $(E,I,G,S){const v=E.context();let K=S.items.length===0;const O=r(1,I,G);O.cases=[],O.cases.push(S);do{const q=T(E);K||(K=q.items.length===0),O.cases.push(q)}while(v.currentType!==14);return K&&t(E,ja.MUST_HAVE_MESSAGES_IN_PLURAL,G,0),l(O,E.currentOffset(),E.currentPosition()),O}function w(E){const I=E.context(),{offset:G,startLoc:S}=I,v=T(E);return I.currentType===14?v:$(E,G,S,v)}function L(E){const I=T0(E,cc({},a)),G=I.context(),S=r(0,G.offset,G.startLoc);return n&&S.loc&&(S.loc.source=E),S.body=w(I),a.onCacheKey&&(S.cacheKey=a.onCacheKey(E)),G.currentType!==14&&t(I,ja.UNEXPECTED_LEXICAL_ANALYSIS,G.lastStartLoc,0,E[G.offset]||""),l(S,I.currentOffset(),I.currentPosition()),S}return{parse:L}}function Sn(a){if(a.type===14)return"EOF";const n=(a.value||"").replace(/\r?\n/gu,"\\n");return n.length>10?n.slice(0,9)+"…":n}function F0(a,n={}){const e={ast:a,helpers:new Set};return{context:()=>e,helper:o=>(e.helpers.add(o),o)}}function pc(a,n){for(let e=0;emc(e)),a}function mc(a){if(a.items.length===1){const n=a.items[0];(n.type===3||n.type===9)&&(a.static=n.value,delete n.value)}else{const n=[];for(let e=0;er;function s(T,$){r.code+=T}function g(T,$=!0){const w=$?i:"";s(t?w+" ".repeat(T):w)}function d(T=!0){const $=++r.indentLevel;T&&g($)}function _(T=!0){const $=--r.indentLevel;T&&g($)}function k(){g(r.indentLevel)}return{context:l,push:s,indent:d,deindent:_,newline:k,helper:T=>`_${T}`,needIndent:()=>r.needIndent}}function D0(a,n){const{helper:e}=a;a.push(`${e("linked")}(`),We(a,n.key),n.modifier?(a.push(", "),We(a,n.modifier),a.push(", _type")):a.push(", undefined, _type"),a.push(")")}function z0(a,n){const{helper:e,needIndent:i}=a;a.push(`${e("normalize")}([`),a.indent(i());const t=n.items.length;for(let o=0;o1){a.push(`${e("plural")}([`),a.indent(i());const t=n.cases.length;for(let o=0;o{const e=gc(n.mode)?n.mode:"normal",i=gc(n.filename)?n.filename:"message.intl";n.sourceMap;const t=n.breakLineCode!=null?n.breakLineCode:e==="arrow"?";":` +`,o=n.needIndent?n.needIndent:e!=="arrow",r=a.helpers||[],l=H0(a,{filename:i,breakLineCode:t,needIndent:o});l.push(e==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(o),r.length>0&&(l.push(`const { ${uc(r.map(d=>`${d}: _${d}`),", ")} } = ctx`),l.newline()),l.push("return "),We(l,a),l.deindent(o),l.push("}"),delete a.helpers;const{code:s,map:g}=l.context();return{ast:a,code:s,map:g?g.toJSON():void 0}};function J0(a,n={}){const e=cc({},n),i=!!e.jit,t=!!e.minify,o=e.optimize==null?!0:e.optimize,l=$0(e).parse(a);return i?(o&&B0(l),t&&Ye(l),{ast:l,code:""}):(K0(l,e),W0(l,e))}/*! + * core-base v9.14.5 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */function Z0(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Qn().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Qn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Qn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function Kn(a){return xa(a)&&Xo(a)===0&&(An(a,"b")||An(a,"body"))}const hc=["b","body"];function q0(a){return ye(a,hc)}const yc=["c","cases"];function X0(a){return ye(a,yc,[])}const bc=["s","static"];function Q0(a){return ye(a,bc)}const _c=["i","items"];function ay(a){return ye(a,_c,[])}const fc=["t","type"];function Xo(a){return ye(a,fc)}const Pc=["v","value"];function Nt(a,n){const e=ye(a,Pc);if(e!=null)return e;throw xi(n)}const Cc=["m","modifier"];function ny(a){return ye(a,Cc)}const jc=["k","key"];function ey(a){const n=ye(a,jc);if(n)return n;throw xi(6)}function ye(a,n,e){for(let i=0;i{r===void 0?r=l:r+=l},k[1]=()=>{r!==void 0&&(n.push(r),r=void 0)},k[2]=()=>{k[0](),t++},k[3]=()=>{if(t>0)t--,i=4,k[0]();else{if(t=0,r===void 0||(r=ly(r),r===!1))return!1;k[1]()}};function x(){const D=a[e+1];if(i===5&&D==="'"||i===6&&D==='"')return e++,l="\\"+D,k[0](),!0}for(;i!==null;)if(e++,o=a[e],!(o==="\\"&&x())){if(s=ry(o),_=be[i],g=_[s]||_.l||8,g===8||(i=g[0],g[1]!==void 0&&(d=k[g[1]],d&&(l=o,d()===!1))))return;if(i===7)return n}}const Gc=new Map;function cy(a,n){return xa(a)?a[n]:null}function gy(a,n){if(!xa(a))return null;let e=Gc.get(n);if(e||(e=sy(n),e&&Gc.set(n,e)),!e)return null;const i=e.length;let t=a,o=0;for(;oa,dy=a=>"",py="text",my=a=>a.length===0?"":f0(a),hy=_0;function vc(a,n){return a=Math.abs(a),n===2?a?a>1?1:0:1:a?Math.min(a,2):0}function yy(a){const n=Za(a.pluralIndex)?a.pluralIndex:-1;return a.named&&(Za(a.named.count)||Za(a.named.n))?Za(a.named.count)?a.named.count:Za(a.named.n)?a.named.n:n:n}function by(a,n){n.count||(n.count=a),n.n||(n.n=a)}function _y(a={}){const n=a.locale,e=yy(a),i=xa(a.pluralRules)&&da(n)&&Ha(a.pluralRules[n])?a.pluralRules[n]:vc,t=xa(a.pluralRules)&&da(n)&&Ha(a.pluralRules[n])?vc:void 0,o=w=>w[i(e,w.length,t)],r=a.list||[],l=w=>r[w],s=a.named||La();Za(a.pluralIndex)&&by(e,s);const g=w=>s[w];function d(w){const L=Ha(a.messages)?a.messages(w):xa(a.messages)?a.messages[w]:!1;return L||(a.parent?a.parent.message(w):dy)}const _=w=>a.modifiers?a.modifiers[w]:uy,k=Ga(a.processor)&&Ha(a.processor.normalize)?a.processor.normalize:my,x=Ga(a.processor)&&Ha(a.processor.interpolate)?a.processor.interpolate:hy,D=Ga(a.processor)&&da(a.processor.type)?a.processor.type:py,$={list:l,named:g,plural:o,linked:(w,...L)=>{const[E,I]=L;let G="text",S="";L.length===1?xa(E)?(S=E.modifier||S,G=E.type||G):da(E)&&(S=E||S):L.length===2&&(da(E)&&(S=E||S),da(I)&&(G=I||G));const v=d(w)($),K=G==="vnode"&&za(v)&&S?v[0]:v;return S?_(S)(K,G):K},message:d,type:D,interpolate:x,normalize:k,values:on(La(),r,s)};return $}let Ti=null;function fy(a){Ti=a}function Py(a,n,e){Ti&&Ti.emit("i18n:init",{timestamp:Date.now(),i18n:a,version:n,meta:e})}const Cy=jy("function:translate");function jy(a){return n=>Ti&&Ti.emit(a,n)}const ky=Zo.__EXTEND_POINT__,Ie=It(ky),Gy={FALLBACK_TO_TRANSLATE:Ie(),CANNOT_FORMAT_NUMBER:Ie(),FALLBACK_TO_NUMBER_FORMAT:Ie(),CANNOT_FORMAT_DATE:Ie(),FALLBACK_TO_DATE_FORMAT:Ie(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Ie(),__EXTEND_POINT__:Ie()},Ac=ja.__EXTEND_POINT__,we=It(Ac),En={INVALID_ARGUMENT:Ac,INVALID_DATE_ARGUMENT:we(),INVALID_ISO_DATE_ARGUMENT:we(),NOT_SUPPORT_NON_STRING_MESSAGE:we(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:we(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:we(),NOT_SUPPORT_LOCALE_TYPE:we(),__EXTEND_POINT__:we()};function Bn(a){return Ve(a,null,void 0)}function Qo(a,n){return n.locale!=null?Sc(n.locale):Sc(a.locale)}let ar;function Sc(a){if(da(a))return a;if(Ha(a)){if(a.resolvedOnce&&ar!=null)return ar;if(a.constructor.name==="Function"){const n=a();if(b0(n))throw Bn(En.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ar=n}else throw Bn(En.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Bn(En.NOT_SUPPORT_LOCALE_TYPE)}function vy(a,n,e){return[...new Set([e,...za(n)?n:xa(n)?Object.keys(n):da(n)?[n]:[e]])]}function Ec(a,n,e){const i=da(e)?e:Je,t=a;t.__localeChainCache||(t.__localeChainCache=new Map);let o=t.__localeChainCache.get(i);if(!o){o=[];let r=[e];for(;za(r);)r=Mc(o,r,n);const l=za(n)||!Ga(n)?n:n.default?n.default:null;r=da(l)?[l]:l,za(r)&&Mc(o,r,!1),t.__localeChainCache.set(i,o)}return o}function Mc(a,n,e){let i=!0;for(let t=0;t`${a.charAt(0).toLocaleUpperCase()}${a.substr(1)}`;function My(){return{upper:(a,n)=>n==="text"&&da(a)?a.toUpperCase():n==="vnode"&&xa(a)&&"__v_isVNode"in a?a.children.toUpperCase():a,lower:(a,n)=>n==="text"&&da(a)?a.toLowerCase():n==="vnode"&&xa(a)&&"__v_isVNode"in a?a.children.toLowerCase():a,capitalize:(a,n)=>n==="text"&&da(a)?wc(a):n==="vnode"&&xa(a)&&"__v_isVNode"in a?wc(a.children):a}}let xc;function Tc(a){xc=a}let Nc;function Iy(a){Nc=a}let Lc;function wy(a){Lc=a}let Rc=null;const xy=a=>{Rc=a},Ty=()=>Rc;let $c=null;const Fc=a=>{$c=a},Ny=()=>$c;let Kc=0;function Ly(a={}){const n=Ha(a.onWarn)?a.onWarn:g0,e=da(a.version)?a.version:Ey,i=da(a.locale)||Ha(a.locale)?a.locale:Je,t=Ha(i)?Je:i,o=za(a.fallbackLocale)||Ga(a.fallbackLocale)||da(a.fallbackLocale)||a.fallbackLocale===!1?a.fallbackLocale:t,r=Ga(a.messages)?a.messages:nr(t),l=Ga(a.datetimeFormats)?a.datetimeFormats:nr(t),s=Ga(a.numberFormats)?a.numberFormats:nr(t),g=on(La(),a.modifiers,My()),d=a.pluralRules||La(),_=Ha(a.missing)?a.missing:null,k=Ea(a.missingWarn)||me(a.missingWarn)?a.missingWarn:!0,x=Ea(a.fallbackWarn)||me(a.fallbackWarn)?a.fallbackWarn:!0,D=!!a.fallbackFormat,T=!!a.unresolving,$=Ha(a.postTranslation)?a.postTranslation:null,w=Ga(a.processor)?a.processor:null,L=Ea(a.warnHtmlMessage)?a.warnHtmlMessage:!0,E=!!a.escapeParameter,I=Ha(a.messageCompiler)?a.messageCompiler:xc,G=Ha(a.messageResolver)?a.messageResolver:Nc||cy,S=Ha(a.localeFallbacker)?a.localeFallbacker:Lc||vy,v=xa(a.fallbackContext)?a.fallbackContext:void 0,K=a,O=xa(K.__datetimeFormatters)?K.__datetimeFormatters:new Map,q=xa(K.__numberFormatters)?K.__numberFormatters:new Map,sa=xa(K.__meta)?K.__meta:{};Kc++;const ea={version:e,cid:Kc,locale:i,fallbackLocale:o,messages:r,modifiers:g,pluralRules:d,missing:_,missingWarn:k,fallbackWarn:x,fallbackFormat:D,unresolving:T,postTranslation:$,processor:w,warnHtmlMessage:L,escapeParameter:E,messageCompiler:I,messageResolver:G,localeFallbacker:S,fallbackContext:v,onWarn:n,__meta:sa};return ea.datetimeFormats=l,ea.numberFormats=s,ea.__datetimeFormatters=O,ea.__numberFormatters=q,__INTLIFY_PROD_DEVTOOLS__&&Py(ea,e,sa),ea}const nr=a=>({[a]:La()});function er(a,n,e,i,t){const{missing:o,onWarn:r}=a;if(o!==null){const l=o(a,e,n,t);return da(l)?l:n}else return n}function Ni(a,n,e){const i=a;i.__localeChainCache=new Map,a.localeFallbacker(a,e,n)}function Ry(a,n){return a===n?!1:a.split("-")[0]===n.split("-")[0]}function $y(a,n){const e=n.indexOf(a);if(e===-1)return!1;for(let i=e+1;iFy(e,a)}function Fy(a,n){const e=q0(n);if(e==null)throw xi(0);if(Xo(e)===1){const o=X0(e);return a.plural(o.reduce((r,l)=>[...r,Bc(a,l)],[]))}else return Bc(a,e)}function Bc(a,n){const e=Q0(n);if(e!=null)return a.type==="text"?e:a.normalize([e]);{const i=ay(n).reduce((t,o)=>[...t,tr(a,o)],[]);return a.normalize(i)}}function tr(a,n){const e=Xo(n);switch(e){case 3:return Nt(n,e);case 9:return Nt(n,e);case 4:{const i=n;if(An(i,"k")&&i.k)return a.interpolate(a.named(i.k));if(An(i,"key")&&i.key)return a.interpolate(a.named(i.key));throw xi(e)}case 5:{const i=n;if(An(i,"i")&&Za(i.i))return a.interpolate(a.list(i.i));if(An(i,"index")&&Za(i.index))return a.interpolate(a.list(i.index));throw xi(e)}case 6:{const i=n,t=ny(i),o=ey(i);return a.linked(tr(a,o),t?tr(a,t):void 0,a.type)}case 7:return Nt(n,e);case 8:return Nt(n,e);default:throw new Error(`unhandled node on format message part: ${e}`)}}const Oc=a=>a;let Ze=La();function Uc(a,n={}){let e=!1;const i=n.onError||A0;return n.onError=t=>{e=!0,i(t)},{...J0(a,n),detectError:e}}const Ky=(a,n)=>{if(!da(a))throw Bn(En.NOT_SUPPORT_NON_STRING_MESSAGE);{Ea(n.warnHtmlMessage)&&n.warnHtmlMessage;const i=(n.onCacheKey||Oc)(a),t=Ze[i];if(t)return t;const{code:o,detectError:r}=Uc(a,n),l=new Function(`return ${o}`)();return r?l:Ze[i]=l}};function By(a,n){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&da(a)){Ea(n.warnHtmlMessage)&&n.warnHtmlMessage;const i=(n.onCacheKey||Oc)(a),t=Ze[i];if(t)return t;const{ast:o,detectError:r}=Uc(a,{...n,location:!1,jit:!0}),l=ir(o);return r?l:Ze[i]=l}else{const e=a.cacheKey;if(e){const i=Ze[e];return i||(Ze[e]=ir(a))}else return ir(a)}}const Hc=()=>"",Cn=a=>Ha(a);function Dc(a,...n){const{fallbackFormat:e,postTranslation:i,unresolving:t,messageCompiler:o,fallbackLocale:r,messages:l}=a,[s,g]=or(...n),d=Ea(g.missingWarn)?g.missingWarn:a.missingWarn,_=Ea(g.fallbackWarn)?g.fallbackWarn:a.fallbackWarn,k=Ea(g.escapeParameter)?g.escapeParameter:a.escapeParameter,x=!!g.resolvedMessage,D=da(g.default)||Ea(g.default)?Ea(g.default)?o?s:()=>s:g.default:e?o?s:()=>s:"",T=e||D!=="",$=Qo(a,g);k&&Oy(g);let[w,L,E]=x?[s,$,l[$]||La()]:zc(a,s,$,r,_,d),I=w,G=s;if(!x&&!(da(I)||Kn(I)||Cn(I))&&T&&(I=D,G=I),!x&&(!(da(I)||Kn(I)||Cn(I))||!da(L)))return t?Lt:s;let S=!1;const v=()=>{S=!0},K=Cn(I)?I:Vc(a,s,L,I,G,v);if(S)return I;const O=Dy(a,L,E,g),q=_y(O),sa=Uy(a,K,q);let ea=i?i(sa,s):sa;if(k&&da(ea)&&(ea=h0(ea)),__INTLIFY_PROD_DEVTOOLS__){const ga={timestamp:Date.now(),key:da(s)?s:Cn(I)?I.key:"",locale:L||(Cn(I)?I.locale:""),format:da(I)?I:Cn(I)?I.source:"",message:ea};ga.meta=on({},a.__meta,Ty()||{}),Cy(ga)}return ea}function Oy(a){za(a.list)?a.list=a.list.map(n=>da(n)?tc(n):n):xa(a.named)&&Object.keys(a.named).forEach(n=>{da(a.named[n])&&(a.named[n]=tc(a.named[n]))})}function zc(a,n,e,i,t,o){const{messages:r,onWarn:l,messageResolver:s,localeFallbacker:g}=a,d=g(a,i,e);let _=La(),k,x=null;const D="translate";for(let T=0;Ti;return g.locale=e,g.key=n,g}const s=r(i,Hy(a,e,t,i,l,o));return s.locale=e,s.key=n,s.source=i,s}function Uy(a,n,e){return n(e)}function or(...a){const[n,e,i]=a,t=La();if(!da(n)&&!Za(n)&&!Cn(n)&&!Kn(n))throw Bn(En.INVALID_ARGUMENT);const o=Za(n)?String(n):(Cn(n),n);return Za(e)?t.plural=e:da(e)?t.default=e:Ga(e)&&!Mt(e)?t.named=e:za(e)&&(t.list=e),Za(i)?t.plural=i:da(i)?t.default=i:Ga(i)&&on(t,i),[o,t]}function Hy(a,n,e,i,t,o){return{locale:n,key:e,warnHtmlMessage:t,onError:r=>{throw o&&o(r),r},onCacheKey:r=>u0(n,e,r)}}function Dy(a,n,e,i){const{modifiers:t,pluralRules:o,messageResolver:r,fallbackLocale:l,fallbackWarn:s,missingWarn:g,fallbackContext:d}=a,k={locale:n,modifiers:t,pluralRules:o,messages:x=>{let D=r(e,x);if(D==null&&d){const[,,T]=zc(d,x,n,l,s,g);D=r(T,x)}if(da(D)||Kn(D)){let T=!1;const w=Vc(a,x,n,D,x,()=>{T=!0});return T?Hc:w}else return Cn(D)?D:Hc}};return a.processor&&(k.processor=a.processor),i.list&&(k.list=i.list),i.named&&(k.named=i.named),Za(i.plural)&&(k.pluralIndex=i.plural),k}function Yc(a,...n){const{datetimeFormats:e,unresolving:i,fallbackLocale:t,onWarn:o,localeFallbacker:r}=a,{__datetimeFormatters:l}=a,[s,g,d,_]=rr(...n),k=Ea(d.missingWarn)?d.missingWarn:a.missingWarn;Ea(d.fallbackWarn)?d.fallbackWarn:a.fallbackWarn;const x=!!d.part,D=Qo(a,d),T=r(a,t,D);if(!da(s)||s==="")return new Intl.DateTimeFormat(D,_).format(g);let $={},w,L=null;const E="datetime format";for(let S=0;S{Wc.includes(s)?r[s]=e[s]:o[s]=e[s]}),da(i)?o.locale=i:Ga(i)&&(r=i),Ga(t)&&(r=t),[o.key||"",l,o,r]}function Jc(a,n,e){const i=a;for(const t in e){const o=`${n}__${t}`;i.__datetimeFormatters.has(o)&&i.__datetimeFormatters.delete(o)}}function Zc(a,...n){const{numberFormats:e,unresolving:i,fallbackLocale:t,onWarn:o,localeFallbacker:r}=a,{__numberFormatters:l}=a,[s,g,d,_]=lr(...n),k=Ea(d.missingWarn)?d.missingWarn:a.missingWarn;Ea(d.fallbackWarn)?d.fallbackWarn:a.fallbackWarn;const x=!!d.part,D=Qo(a,d),T=r(a,t,D);if(!da(s)||s==="")return new Intl.NumberFormat(D,_).format(g);let $={},w,L=null;const E="number format";for(let S=0;S{qc.includes(s)?r[s]=e[s]:o[s]=e[s]}),da(i)?o.locale=i:Ga(i)&&(r=i),Ga(t)&&(r=t),[o.key||"",l,o,r]}function Xc(a,n,e){const i=a;for(const t in e){const o=`${n}__${t}`;i.__numberFormatters.has(o)&&i.__numberFormatters.delete(o)}}Z0();/*! + * vue-i18n v9.14.5 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */const zy="9.14.5";function Vy(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Qn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Qn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Qn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Qn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Qn().__INTLIFY_PROD_DEVTOOLS__=!1)}const Yy=Gy.__EXTEND_POINT__,ne=It(Yy);ne(),ne(),ne(),ne(),ne(),ne(),ne(),ne(),ne();const Qc=En.__EXTEND_POINT__,mn=It(Qc),Qa={UNEXPECTED_RETURN_TYPE:Qc,INVALID_ARGUMENT:mn(),MUST_BE_CALL_SETUP_TOP:mn(),NOT_INSTALLED:mn(),NOT_AVAILABLE_IN_LEGACY_MODE:mn(),REQUIRED_VALUE:mn(),INVALID_VALUE:mn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:mn(),NOT_INSTALLED_WITH_PROVIDE:mn(),UNEXPECTED_ERROR:mn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:mn(),BRIDGE_SUPPORT_VUE_2_ONLY:mn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:mn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:mn(),__EXTEND_POINT__:mn()};function en(a,...n){return Ve(a,null,void 0)}const sr=pe("__translateVNode"),cr=pe("__datetimeParts"),gr=pe("__numberParts"),ag=pe("__setPluralRules"),ng=pe("__injectWithOption"),ur=pe("__dispose");function Li(a){if(!xa(a)||Kn(a))return a;for(const n in a)if(An(a,n))if(!n.includes("."))xa(a[n])&&Li(a[n]);else{const e=n.split("."),i=e.length-1;let t=a,o=!1;for(let r=0;r{if("locale"in l&&"resource"in l){const{locale:s,resource:g}=l;s?(r[s]=r[s]||La(),xt(g,r[s])):xt(g,r)}else da(l)&&xt(JSON.parse(l),r)}),t==null&&o)for(const l in r)An(r,l)&&Li(r[l]);return r}function eg(a){return a.type}function ig(a,n,e){let i=xa(n.messages)?n.messages:La();"__i18nGlobal"in e&&(i=Rt(a.locale.value,{messages:i,__i18n:e.__i18nGlobal}));const t=Object.keys(i);t.length&&t.forEach(o=>{a.mergeLocaleMessage(o,i[o])});{if(xa(n.datetimeFormats)){const o=Object.keys(n.datetimeFormats);o.length&&o.forEach(r=>{a.mergeDateTimeFormat(r,n.datetimeFormats[r])})}if(xa(n.numberFormats)){const o=Object.keys(n.numberFormats);o.length&&o.forEach(r=>{a.mergeNumberFormat(r,n.numberFormats[r])})}}}function tg(a){return Wa(Gi,null,a,0)}const og="__INTLIFY_META__",rg=()=>[],Wy=()=>!1;let lg=0;function sg(a){return(n,e,i,t)=>a(e,i,ue()||void 0,t)}const Jy=()=>{const a=ue();let n=null;return a&&(n=eg(a)[og])?{[og]:n}:null};function dr(a={},n){const{__root:e,__injectWithOption:i}=a,t=e===void 0,o=a.flatJson,r=Et?ua:Ll,l=!!a.translateExistCompatible;let s=Ea(a.inheritLocale)?a.inheritLocale:!0;const g=r(e&&s?e.locale.value:da(a.locale)?a.locale:Je),d=r(e&&s?e.fallbackLocale.value:da(a.fallbackLocale)||za(a.fallbackLocale)||Ga(a.fallbackLocale)||a.fallbackLocale===!1?a.fallbackLocale:g.value),_=r(Rt(g.value,a)),k=r(Ga(a.datetimeFormats)?a.datetimeFormats:{[g.value]:{}}),x=r(Ga(a.numberFormats)?a.numberFormats:{[g.value]:{}});let D=e?e.missingWarn:Ea(a.missingWarn)||me(a.missingWarn)?a.missingWarn:!0,T=e?e.fallbackWarn:Ea(a.fallbackWarn)||me(a.fallbackWarn)?a.fallbackWarn:!0,$=e?e.fallbackRoot:Ea(a.fallbackRoot)?a.fallbackRoot:!0,w=!!a.fallbackFormat,L=Ha(a.missing)?a.missing:null,E=Ha(a.missing)?sg(a.missing):null,I=Ha(a.postTranslation)?a.postTranslation:null,G=e?e.warnHtmlMessage:Ea(a.warnHtmlMessage)?a.warnHtmlMessage:!0,S=!!a.escapeParameter;const v=e?e.modifiers:Ga(a.modifiers)?a.modifiers:{};let K=a.pluralRules||e&&e.pluralRules,O;O=(()=>{t&&Fc(null);const B={version:zy,locale:g.value,fallbackLocale:d.value,messages:_.value,modifiers:v,pluralRules:K,missing:E===null?void 0:E,missingWarn:D,fallbackWarn:T,fallbackFormat:w,unresolving:!0,postTranslation:I===null?void 0:I,warnHtmlMessage:G,escapeParameter:S,messageResolver:a.messageResolver,messageCompiler:a.messageCompiler,__meta:{framework:"vue"}};B.datetimeFormats=k.value,B.numberFormats=x.value,B.__datetimeFormatters=Ga(O)?O.__datetimeFormatters:void 0,B.__numberFormatters=Ga(O)?O.__numberFormatters:void 0;const Z=Ly(B);return t&&Fc(Z),Z})(),Ni(O,g.value,d.value);function sa(){return[g.value,d.value,_.value,k.value,x.value]}const ea=la({get:()=>g.value,set:B=>{g.value=B,O.locale=g.value}}),ga=la({get:()=>d.value,set:B=>{d.value=B,O.fallbackLocale=d.value,Ni(O,g.value,B)}}),Sa=la(()=>_.value),Ma=la(()=>k.value),ma=la(()=>x.value);function pa(){return Ha(I)?I:null}function Y(B){I=B,O.postTranslation=B}function ta(){return L}function aa(B){B!==null&&(E=sg(B)),L=B,O.missing=E}const ba=(B,Z,_a,va,Ra,an)=>{sa();let qa;try{__INTLIFY_PROD_DEVTOOLS__,t||(O.fallbackContext=e?Ny():void 0),qa=B(O)}finally{__INTLIFY_PROD_DEVTOOLS__,t||(O.fallbackContext=void 0)}if(_a!=="translate exists"&&Za(qa)&&qa===Lt||_a==="translate exists"&&!qa){const[Pa,$a]=Z();return e&&$?va(e):Ra(Pa)}else{if(an(qa))return qa;throw en(Qa.UNEXPECTED_RETURN_TYPE)}};function na(...B){return ba(Z=>Reflect.apply(Dc,null,[Z,...B]),()=>or(...B),"translate",Z=>Reflect.apply(Z.t,Z,[...B]),Z=>Z,Z=>da(Z))}function u(...B){const[Z,_a,va]=B;if(va&&!xa(va))throw en(Qa.INVALID_ARGUMENT);return na(Z,_a,on({resolvedMessage:!0},va||{}))}function A(...B){return ba(Z=>Reflect.apply(Yc,null,[Z,...B]),()=>rr(...B),"datetime format",Z=>Reflect.apply(Z.d,Z,[...B]),()=>Ic,Z=>da(Z))}function j(...B){return ba(Z=>Reflect.apply(Zc,null,[Z,...B]),()=>lr(...B),"number format",Z=>Reflect.apply(Z.n,Z,[...B]),()=>Ic,Z=>da(Z))}function c(B){return B.map(Z=>da(Z)||Za(Z)||Ea(Z)?tg(String(Z)):Z)}const p={normalize:c,interpolate:B=>B,type:"vnode"};function M(...B){return ba(Z=>{let _a;const va=Z;try{va.processor=p,_a=Reflect.apply(Dc,null,[va,...B])}finally{va.processor=null}return _a},()=>or(...B),"translate",Z=>Z[sr](...B),Z=>[tg(Z)],Z=>za(Z))}function N(...B){return ba(Z=>Reflect.apply(Zc,null,[Z,...B]),()=>lr(...B),"number format",Z=>Z[gr](...B),rg,Z=>da(Z)||za(Z))}function U(...B){return ba(Z=>Reflect.apply(Yc,null,[Z,...B]),()=>rr(...B),"datetime format",Z=>Z[cr](...B),rg,Z=>da(Z)||za(Z))}function h(B){K=B,O.pluralRules=K}function C(B,Z){return ba(()=>{if(!B)return!1;const _a=da(Z)?Z:g.value,va=H(_a),Ra=O.messageResolver(va,B);return l?Ra!=null:Kn(Ra)||Cn(Ra)||da(Ra)},()=>[B],"translate exists",_a=>Reflect.apply(_a.te,_a,[B,Z]),Wy,_a=>Ea(_a))}function y(B){let Z=null;const _a=Ec(O,d.value,g.value);for(let va=0;va<_a.length;va++){const Ra=_.value[_a[va]]||{},an=O.messageResolver(Ra,B);if(an!=null){Z=an;break}}return Z}function R(B){const Z=y(B);return Z??(e?e.tm(B)||{}:{})}function H(B){return _.value[B]||{}}function V(B,Z){if(o){const _a={[B]:Z};for(const va in _a)An(_a,va)&&Li(_a[va]);Z=_a[B]}_.value[B]=Z,O.messages=_.value}function oa(B,Z){_.value[B]=_.value[B]||{};const _a={[B]:Z};if(o)for(const va in _a)An(_a,va)&&Li(_a[va]);Z=_a[B],xt(Z,_.value[B]),O.messages=_.value}function Q(B){return k.value[B]||{}}function m(B,Z){k.value[B]=Z,O.datetimeFormats=k.value,Jc(O,B,Z)}function b(B,Z){k.value[B]=on(k.value[B]||{},Z),O.datetimeFormats=k.value,Jc(O,B,Z)}function F(B){return x.value[B]||{}}function J(B,Z){x.value[B]=Z,O.numberFormats=x.value,Xc(O,B,Z)}function ca(B,Z){x.value[B]=on(x.value[B]||{},Z),O.numberFormats=x.value,Xc(O,B,Z)}lg++,e&&Et&&(cn(e.locale,B=>{s&&(g.value=B,O.locale=B,Ni(O,g.value,d.value))}),cn(e.fallbackLocale,B=>{s&&(d.value=B,O.fallbackLocale=B,Ni(O,g.value,d.value))}));const ra={id:lg,locale:ea,fallbackLocale:ga,get inheritLocale(){return s},set inheritLocale(B){s=B,B&&e&&(g.value=e.locale.value,d.value=e.fallbackLocale.value,Ni(O,g.value,d.value))},get availableLocales(){return Object.keys(_.value).sort()},messages:Sa,get modifiers(){return v},get pluralRules(){return K||{}},get isGlobal(){return t},get missingWarn(){return D},set missingWarn(B){D=B,O.missingWarn=D},get fallbackWarn(){return T},set fallbackWarn(B){T=B,O.fallbackWarn=T},get fallbackRoot(){return $},set fallbackRoot(B){$=B},get fallbackFormat(){return w},set fallbackFormat(B){w=B,O.fallbackFormat=w},get warnHtmlMessage(){return G},set warnHtmlMessage(B){G=B,O.warnHtmlMessage=B},get escapeParameter(){return S},set escapeParameter(B){S=B,O.escapeParameter=B},t:na,getLocaleMessage:H,setLocaleMessage:V,mergeLocaleMessage:oa,getPostTranslationHandler:pa,setPostTranslationHandler:Y,getMissingHandler:ta,setMissingHandler:aa,[ag]:h};return ra.datetimeFormats=Ma,ra.numberFormats=ma,ra.rt=u,ra.te=C,ra.tm=R,ra.d=A,ra.n=j,ra.getDateTimeFormat=Q,ra.setDateTimeFormat=m,ra.mergeDateTimeFormat=b,ra.getNumberFormat=F,ra.setNumberFormat=J,ra.mergeNumberFormat=ca,ra[ng]=i,ra[sr]=M,ra[cr]=U,ra[gr]=N,ra}function Zy(a){const n=da(a.locale)?a.locale:Je,e=da(a.fallbackLocale)||za(a.fallbackLocale)||Ga(a.fallbackLocale)||a.fallbackLocale===!1?a.fallbackLocale:n,i=Ha(a.missing)?a.missing:void 0,t=Ea(a.silentTranslationWarn)||me(a.silentTranslationWarn)?!a.silentTranslationWarn:!0,o=Ea(a.silentFallbackWarn)||me(a.silentFallbackWarn)?!a.silentFallbackWarn:!0,r=Ea(a.fallbackRoot)?a.fallbackRoot:!0,l=!!a.formatFallbackMessages,s=Ga(a.modifiers)?a.modifiers:{},g=a.pluralizationRules,d=Ha(a.postTranslation)?a.postTranslation:void 0,_=da(a.warnHtmlInMessage)?a.warnHtmlInMessage!=="off":!0,k=!!a.escapeParameterHtml,x=Ea(a.sync)?a.sync:!0;let D=a.messages;if(Ga(a.sharedMessages)){const S=a.sharedMessages;D=Object.keys(S).reduce((K,O)=>{const q=K[O]||(K[O]={});return on(q,S[O]),K},D||{})}const{__i18n:T,__root:$,__injectWithOption:w}=a,L=a.datetimeFormats,E=a.numberFormats,I=a.flatJson,G=a.translateExistCompatible;return{locale:n,fallbackLocale:e,messages:D,flatJson:I,datetimeFormats:L,numberFormats:E,missing:i,missingWarn:t,fallbackWarn:o,fallbackRoot:r,fallbackFormat:l,modifiers:s,pluralRules:g,postTranslation:d,warnHtmlMessage:_,escapeParameter:k,messageResolver:a.messageResolver,inheritLocale:x,translateExistCompatible:G,__i18n:T,__root:$,__injectWithOption:w}}function pr(a={},n){{const e=dr(Zy(a)),{__extender:i}=a,t={id:e.id,get locale(){return e.locale.value},set locale(o){e.locale.value=o},get fallbackLocale(){return e.fallbackLocale.value},set fallbackLocale(o){e.fallbackLocale.value=o},get messages(){return e.messages.value},get datetimeFormats(){return e.datetimeFormats.value},get numberFormats(){return e.numberFormats.value},get availableLocales(){return e.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(o){},get missing(){return e.getMissingHandler()},set missing(o){e.setMissingHandler(o)},get silentTranslationWarn(){return Ea(e.missingWarn)?!e.missingWarn:e.missingWarn},set silentTranslationWarn(o){e.missingWarn=Ea(o)?!o:o},get silentFallbackWarn(){return Ea(e.fallbackWarn)?!e.fallbackWarn:e.fallbackWarn},set silentFallbackWarn(o){e.fallbackWarn=Ea(o)?!o:o},get modifiers(){return e.modifiers},get formatFallbackMessages(){return e.fallbackFormat},set formatFallbackMessages(o){e.fallbackFormat=o},get postTranslation(){return e.getPostTranslationHandler()},set postTranslation(o){e.setPostTranslationHandler(o)},get sync(){return e.inheritLocale},set sync(o){e.inheritLocale=o},get warnHtmlInMessage(){return e.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){e.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return e.escapeParameter},set escapeParameterHtml(o){e.escapeParameter=o},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(o){},get pluralizationRules(){return e.pluralRules||{}},__composer:e,t(...o){const[r,l,s]=o,g={};let d=null,_=null;if(!da(r))throw en(Qa.INVALID_ARGUMENT);const k=r;return da(l)?g.locale=l:za(l)?d=l:Ga(l)&&(_=l),za(s)?d=s:Ga(s)&&(_=s),Reflect.apply(e.t,e,[k,d||_||{},g])},rt(...o){return Reflect.apply(e.rt,e,[...o])},tc(...o){const[r,l,s]=o,g={plural:1};let d=null,_=null;if(!da(r))throw en(Qa.INVALID_ARGUMENT);const k=r;return da(l)?g.locale=l:Za(l)?g.plural=l:za(l)?d=l:Ga(l)&&(_=l),da(s)?g.locale=s:za(s)?d=s:Ga(s)&&(_=s),Reflect.apply(e.t,e,[k,d||_||{},g])},te(o,r){return e.te(o,r)},tm(o){return e.tm(o)},getLocaleMessage(o){return e.getLocaleMessage(o)},setLocaleMessage(o,r){e.setLocaleMessage(o,r)},mergeLocaleMessage(o,r){e.mergeLocaleMessage(o,r)},d(...o){return Reflect.apply(e.d,e,[...o])},getDateTimeFormat(o){return e.getDateTimeFormat(o)},setDateTimeFormat(o,r){e.setDateTimeFormat(o,r)},mergeDateTimeFormat(o,r){e.mergeDateTimeFormat(o,r)},n(...o){return Reflect.apply(e.n,e,[...o])},getNumberFormat(o){return e.getNumberFormat(o)},setNumberFormat(o,r){e.setNumberFormat(o,r)},mergeNumberFormat(o,r){e.mergeNumberFormat(o,r)},getChoiceIndex(o,r){return-1}};return t.__extender=i,t}}const mr={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:a=>a==="parent"||a==="global",default:"parent"},i18n:{type:Object}};function qy({slots:a},n){return n.length===1&&n[0]==="default"?(a.default?a.default():[]).reduce((i,t)=>[...i,...t.type===Aa?t.children:[t]],[]):n.reduce((e,i)=>{const t=a[i];return t&&(e[i]=t()),e},La())}function cg(a){return Aa}const gg=fi({name:"i18n-t",props:on({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:a=>Za(a)||!isNaN(a)}},mr),setup(a,n){const{slots:e,attrs:i}=n,t=a.i18n||hr({useScope:a.scope,__useComponent:!0});return()=>{const o=Object.keys(e).filter(_=>_!=="_"),r=La();a.locale&&(r.locale=a.locale),a.plural!==void 0&&(r.plural=da(a.plural)?+a.plural:a.plural);const l=qy(n,o),s=t[sr](a.keypath,l,r),g=on(La(),i),d=da(a.tag)||xa(a.tag)?a.tag:cg();return Ts(d,g,s)}}});function Xy(a){return za(a)&&!da(a[0])}function ug(a,n,e,i){const{slots:t,attrs:o}=n;return()=>{const r={part:!0};let l=La();a.locale&&(r.locale=a.locale),da(a.format)?r.key=a.format:xa(a.format)&&(da(a.format.key)&&(r.key=a.format.key),l=Object.keys(a.format).reduce((k,x)=>e.includes(x)?on(La(),k,{[x]:a.format[x]}):k,La()));const s=i(a.value,r,l);let g=[r.key];za(s)?g=s.map((k,x)=>{const D=t[k.type],T=D?D({[k.type]:k.value,index:x,parts:s}):[k.value];return Xy(T)&&(T[0].key=`${k.type}-${x}`),T}):da(s)&&(g=[s]);const d=on(La(),o),_=da(a.tag)||xa(a.tag)?a.tag:cg();return Ts(_,d,g)}}const dg=fi({name:"i18n-n",props:on({value:{type:Number,required:!0},format:{type:[String,Object]}},mr),setup(a,n){const e=a.i18n||hr({useScope:a.scope,__useComponent:!0});return ug(a,n,qc,(...i)=>e[gr](...i))}}),pg=fi({name:"i18n-d",props:on({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},mr),setup(a,n){const e=a.i18n||hr({useScope:a.scope,__useComponent:!0});return ug(a,n,Wc,(...i)=>e[cr](...i))}});function Qy(a,n){const e=a;if(a.mode==="composition")return e.__getInstance(n)||a.global;{const i=e.__getInstance(n);return i!=null?i.__composer:a.global.__composer}}function ab(a){const n=r=>{const{instance:l,modifiers:s,value:g}=r;if(!l||!l.$)throw en(Qa.UNEXPECTED_ERROR);const d=Qy(a,l.$),_=mg(g);return[Reflect.apply(d.t,d,[...hg(_)]),d]};return{created:(r,l)=>{const[s,g]=n(l);Et&&a.global===g&&(r.__i18nWatcher=cn(g.locale,()=>{l.instance&&l.instance.$forceUpdate()})),r.__composer=g,r.textContent=s},unmounted:r=>{Et&&r.__i18nWatcher&&(r.__i18nWatcher(),r.__i18nWatcher=void 0,delete r.__i18nWatcher),r.__composer&&(r.__composer=void 0,delete r.__composer)},beforeUpdate:(r,{value:l})=>{if(r.__composer){const s=r.__composer,g=mg(l);r.textContent=Reflect.apply(s.t,s,[...hg(g)])}},getSSRProps:r=>{const[l]=n(r);return{textContent:l}}}}function mg(a){if(da(a))return{path:a};if(Ga(a)){if(!("path"in a))throw en(Qa.REQUIRED_VALUE,"path");return a}else throw en(Qa.INVALID_VALUE)}function hg(a){const{path:n,locale:e,args:i,choice:t,plural:o}=a,r={},l=i||{};return da(e)&&(r.locale=e),Za(t)&&(r.plural=t),Za(o)&&(r.plural=o),[n,l,r]}function nb(a,n,...e){const i=Ga(e[0])?e[0]:{},t=!!i.useI18nComponentName;(Ea(i.globalInstall)?i.globalInstall:!0)&&([t?"i18n":gg.name,"I18nT"].forEach(r=>a.component(r,gg)),[dg.name,"I18nN"].forEach(r=>a.component(r,dg)),[pg.name,"I18nD"].forEach(r=>a.component(r,pg))),a.directive("t",ab(n))}function eb(a,n,e){return{beforeCreate(){const i=ue();if(!i)throw en(Qa.UNEXPECTED_ERROR);const t=this.$options;if(t.i18n){const o=t.i18n;if(t.__i18n&&(o.__i18n=t.__i18n),o.__root=n,this===this.$root)this.$i18n=yg(a,o);else{o.__injectWithOption=!0,o.__extender=e.__vueI18nExtend,this.$i18n=pr(o);const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}}else if(t.__i18n)if(this===this.$root)this.$i18n=yg(a,t);else{this.$i18n=pr({__i18n:t.__i18n,__injectWithOption:!0,__extender:e.__vueI18nExtend,__root:n});const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}else this.$i18n=a;t.__i18nGlobal&&ig(n,t,t),this.$t=(...o)=>this.$i18n.t(...o),this.$rt=(...o)=>this.$i18n.rt(...o),this.$tc=(...o)=>this.$i18n.tc(...o),this.$te=(o,r)=>this.$i18n.te(o,r),this.$d=(...o)=>this.$i18n.d(...o),this.$n=(...o)=>this.$i18n.n(...o),this.$tm=o=>this.$i18n.tm(o),e.__setInstance(i,this.$i18n)},mounted(){},unmounted(){const i=ue();if(!i)throw en(Qa.UNEXPECTED_ERROR);const t=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),e.__deleteInstance(i),delete this.$i18n}}}function yg(a,n){a.locale=n.locale||a.locale,a.fallbackLocale=n.fallbackLocale||a.fallbackLocale,a.missing=n.missing||a.missing,a.silentTranslationWarn=n.silentTranslationWarn||a.silentFallbackWarn,a.silentFallbackWarn=n.silentFallbackWarn||a.silentFallbackWarn,a.formatFallbackMessages=n.formatFallbackMessages||a.formatFallbackMessages,a.postTranslation=n.postTranslation||a.postTranslation,a.warnHtmlInMessage=n.warnHtmlInMessage||a.warnHtmlInMessage,a.escapeParameterHtml=n.escapeParameterHtml||a.escapeParameterHtml,a.sync=n.sync||a.sync,a.__composer[ag](n.pluralizationRules||a.pluralizationRules);const e=Rt(a.locale,{messages:n.messages,__i18n:n.__i18n});return Object.keys(e).forEach(i=>a.mergeLocaleMessage(i,e[i])),n.datetimeFormats&&Object.keys(n.datetimeFormats).forEach(i=>a.mergeDateTimeFormat(i,n.datetimeFormats[i])),n.numberFormats&&Object.keys(n.numberFormats).forEach(i=>a.mergeNumberFormat(i,n.numberFormats[i])),a}const ib=pe("global-vue-i18n");function tb(a={},n){const e=__VUE_I18N_LEGACY_API__&&Ea(a.legacy)?a.legacy:__VUE_I18N_LEGACY_API__,i=Ea(a.globalInjection)?a.globalInjection:!0,t=__VUE_I18N_LEGACY_API__&&e?!!a.allowComposition:!0,o=new Map,[r,l]=ob(a,e),s=pe("");function g(k){return o.get(k)||null}function d(k,x){o.set(k,x)}function _(k){o.delete(k)}{const k={get mode(){return __VUE_I18N_LEGACY_API__&&e?"legacy":"composition"},get allowComposition(){return t},async install(x,...D){if(x.__VUE_I18N_SYMBOL__=s,x.provide(x.__VUE_I18N_SYMBOL__,k),Ga(D[0])){const w=D[0];k.__composerExtend=w.__composerExtend,k.__vueI18nExtend=w.__vueI18nExtend}let T=null;!e&&i&&(T=mb(x,k.global)),__VUE_I18N_FULL_INSTALL__&&nb(x,k,...D),__VUE_I18N_LEGACY_API__&&e&&x.mixin(eb(l,l.__composer,k));const $=x.unmount;x.unmount=()=>{T&&T(),k.dispose(),$()}},get global(){return l},dispose(){r.stop()},__instances:o,__getInstance:g,__setInstance:d,__deleteInstance:_};return k}}function hr(a={}){const n=ue();if(n==null)throw en(Qa.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw en(Qa.NOT_INSTALLED);const e=rb(n),i=sb(e),t=eg(n),o=lb(a,t);if(__VUE_I18N_LEGACY_API__&&e.mode==="legacy"&&!a.__useComponent){if(!e.allowComposition)throw en(Qa.NOT_AVAILABLE_IN_LEGACY_MODE);return db(n,o,i,a)}if(o==="global")return ig(i,a,t),i;if(o==="parent"){let s=cb(e,n,a.__useComponent);return s==null&&(s=i),s}const r=e;let l=r.__getInstance(n);if(l==null){const s=on({},a);"__i18n"in t&&(s.__i18n=t.__i18n),i&&(s.__root=i),l=dr(s),r.__composerExtend&&(l[ur]=r.__composerExtend(l)),ub(r,n,l),r.__setInstance(n,l)}return l}function ob(a,n,e){const i=po();{const t=__VUE_I18N_LEGACY_API__&&n?i.run(()=>pr(a)):i.run(()=>dr(a));if(t==null)throw en(Qa.UNEXPECTED_ERROR);return[i,t]}}function rb(a){{const n=Ya(a.isCE?ib:a.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw en(a.isCE?Qa.NOT_INSTALLED_WITH_PROVIDE:Qa.UNEXPECTED_ERROR);return n}}function lb(a,n){return Mt(a)?"__i18n"in n?"local":"global":a.useScope?a.useScope:"local"}function sb(a){return a.mode==="composition"?a.global:a.global.__composer}function cb(a,n,e=!1){let i=null;const t=n.root;let o=gb(n,e);for(;o!=null;){const r=a;if(a.mode==="composition")i=r.__getInstance(o);else if(__VUE_I18N_LEGACY_API__){const l=r.__getInstance(o);l!=null&&(i=l.__composer,e&&i&&!i[ng]&&(i=null))}if(i!=null||t===o)break;o=o.parent}return i}function gb(a,n=!1){return a==null?null:n&&a.vnode.ctx||a.parent}function ub(a,n,e){Rn(()=>{},n),wo(()=>{const i=e;a.__deleteInstance(n);const t=i[ur];t&&(t(),delete i[ur])},n)}function db(a,n,e,i={}){const t=n==="local",o=Ll(null);if(t&&a.proxy&&!(a.proxy.$options.i18n||a.proxy.$options.__i18n))throw en(Qa.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const r=Ea(i.inheritLocale)?i.inheritLocale:!da(i.locale),l=ua(!t||r?e.locale.value:da(i.locale)?i.locale:Je),s=ua(!t||r?e.fallbackLocale.value:da(i.fallbackLocale)||za(i.fallbackLocale)||Ga(i.fallbackLocale)||i.fallbackLocale===!1?i.fallbackLocale:l.value),g=ua(Rt(l.value,i)),d=ua(Ga(i.datetimeFormats)?i.datetimeFormats:{[l.value]:{}}),_=ua(Ga(i.numberFormats)?i.numberFormats:{[l.value]:{}}),k=t?e.missingWarn:Ea(i.missingWarn)||me(i.missingWarn)?i.missingWarn:!0,x=t?e.fallbackWarn:Ea(i.fallbackWarn)||me(i.fallbackWarn)?i.fallbackWarn:!0,D=t?e.fallbackRoot:Ea(i.fallbackRoot)?i.fallbackRoot:!0,T=!!i.fallbackFormat,$=Ha(i.missing)?i.missing:null,w=Ha(i.postTranslation)?i.postTranslation:null,L=t?e.warnHtmlMessage:Ea(i.warnHtmlMessage)?i.warnHtmlMessage:!0,E=!!i.escapeParameter,I=t?e.modifiers:Ga(i.modifiers)?i.modifiers:{},G=i.pluralRules||t&&e.pluralRules;function S(){return[l.value,s.value,g.value,d.value,_.value]}const v=la({get:()=>o.value?o.value.locale.value:l.value,set:y=>{o.value&&(o.value.locale.value=y),l.value=y}}),K=la({get:()=>o.value?o.value.fallbackLocale.value:s.value,set:y=>{o.value&&(o.value.fallbackLocale.value=y),s.value=y}}),O=la(()=>o.value?o.value.messages.value:g.value),q=la(()=>d.value),sa=la(()=>_.value);function ea(){return o.value?o.value.getPostTranslationHandler():w}function ga(y){o.value&&o.value.setPostTranslationHandler(y)}function Sa(){return o.value?o.value.getMissingHandler():$}function Ma(y){o.value&&o.value.setMissingHandler(y)}function ma(y){return S(),y()}function pa(...y){return o.value?ma(()=>Reflect.apply(o.value.t,null,[...y])):ma(()=>"")}function Y(...y){return o.value?Reflect.apply(o.value.rt,null,[...y]):""}function ta(...y){return o.value?ma(()=>Reflect.apply(o.value.d,null,[...y])):ma(()=>"")}function aa(...y){return o.value?ma(()=>Reflect.apply(o.value.n,null,[...y])):ma(()=>"")}function ba(y){return o.value?o.value.tm(y):{}}function na(y,R){return o.value?o.value.te(y,R):!1}function u(y){return o.value?o.value.getLocaleMessage(y):{}}function A(y,R){o.value&&(o.value.setLocaleMessage(y,R),g.value[y]=R)}function j(y,R){o.value&&o.value.mergeLocaleMessage(y,R)}function c(y){return o.value?o.value.getDateTimeFormat(y):{}}function P(y,R){o.value&&(o.value.setDateTimeFormat(y,R),d.value[y]=R)}function p(y,R){o.value&&o.value.mergeDateTimeFormat(y,R)}function M(y){return o.value?o.value.getNumberFormat(y):{}}function N(y,R){o.value&&(o.value.setNumberFormat(y,R),_.value[y]=R)}function U(y,R){o.value&&o.value.mergeNumberFormat(y,R)}const h={get id(){return o.value?o.value.id:-1},locale:v,fallbackLocale:K,messages:O,datetimeFormats:q,numberFormats:sa,get inheritLocale(){return o.value?o.value.inheritLocale:r},set inheritLocale(y){o.value&&(o.value.inheritLocale=y)},get availableLocales(){return o.value?o.value.availableLocales:Object.keys(g.value)},get modifiers(){return o.value?o.value.modifiers:I},get pluralRules(){return o.value?o.value.pluralRules:G},get isGlobal(){return o.value?o.value.isGlobal:!1},get missingWarn(){return o.value?o.value.missingWarn:k},set missingWarn(y){o.value&&(o.value.missingWarn=y)},get fallbackWarn(){return o.value?o.value.fallbackWarn:x},set fallbackWarn(y){o.value&&(o.value.missingWarn=y)},get fallbackRoot(){return o.value?o.value.fallbackRoot:D},set fallbackRoot(y){o.value&&(o.value.fallbackRoot=y)},get fallbackFormat(){return o.value?o.value.fallbackFormat:T},set fallbackFormat(y){o.value&&(o.value.fallbackFormat=y)},get warnHtmlMessage(){return o.value?o.value.warnHtmlMessage:L},set warnHtmlMessage(y){o.value&&(o.value.warnHtmlMessage=y)},get escapeParameter(){return o.value?o.value.escapeParameter:E},set escapeParameter(y){o.value&&(o.value.escapeParameter=y)},t:pa,getPostTranslationHandler:ea,setPostTranslationHandler:ga,getMissingHandler:Sa,setMissingHandler:Ma,rt:Y,d:ta,n:aa,tm:ba,te:na,getLocaleMessage:u,setLocaleMessage:A,mergeLocaleMessage:j,getDateTimeFormat:c,setDateTimeFormat:P,mergeDateTimeFormat:p,getNumberFormat:M,setNumberFormat:N,mergeNumberFormat:U};function C(y){y.locale.value=l.value,y.fallbackLocale.value=s.value,Object.keys(g.value).forEach(R=>{y.mergeLocaleMessage(R,g.value[R])}),Object.keys(d.value).forEach(R=>{y.mergeDateTimeFormat(R,d.value[R])}),Object.keys(_.value).forEach(R=>{y.mergeNumberFormat(R,_.value[R])}),y.escapeParameter=E,y.fallbackFormat=T,y.fallbackRoot=D,y.fallbackWarn=x,y.missingWarn=k,y.warnHtmlMessage=L}return Zl(()=>{if(a.proxy==null||a.proxy.$i18n==null)throw en(Qa.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const y=o.value=a.proxy.$i18n.__composer;n==="global"?(l.value=y.locale.value,s.value=y.fallbackLocale.value,g.value=y.messages.value,d.value=y.datetimeFormats.value,_.value=y.numberFormats.value):t&&C(y)}),h}const pb=["locale","fallbackLocale","availableLocales"],bg=["t","rt","d","n","tm","te"];function mb(a,n){const e=Object.create(null);return pb.forEach(t=>{const o=Object.getOwnPropertyDescriptor(n,t);if(!o)throw en(Qa.UNEXPECTED_ERROR);const r=Va(o.value)?{get(){return o.value.value},set(l){o.value.value=l}}:{get(){return o.get&&o.get()}};Object.defineProperty(e,t,r)}),a.config.globalProperties.$i18n=e,bg.forEach(t=>{const o=Object.getOwnPropertyDescriptor(n,t);if(!o||!o.value)throw en(Qa.UNEXPECTED_ERROR);Object.defineProperty(a.config.globalProperties,`$${t}`,o)}),()=>{delete a.config.globalProperties.$i18n,bg.forEach(t=>{delete a.config.globalProperties[`$${t}`]})}}if(Vy(),__INTLIFY_JIT_COMPILATION__?Tc(By):Tc(Ky),Iy(gy),wy(Ec),__INTLIFY_PROD_DEVTOOLS__){const a=Qn();a.__INTLIFY__=!0,fy(a.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const hb=Object.assign({"./locales/ar/aria.json":Cm,"./locales/ar/buttons.json":jm,"./locales/ar/detail.json":km,"./locales/ar/legend.json":Gm,"./locales/ar/messages.json":vm,"./locales/ar/options.json":Am,"./locales/ar/prayerLaps.json":Sm,"./locales/ar/search.json":Em,"./locales/ar/tabs.json":Mm,"./locales/de/aria.json":Im,"./locales/de/buttons.json":wm,"./locales/de/detail.json":xm,"./locales/de/legend.json":Tm,"./locales/de/messages.json":Nm,"./locales/de/options.json":Lm,"./locales/de/prayerLaps.json":Rm,"./locales/de/search.json":$m,"./locales/de/tabs.json":Fm,"./locales/en/aria.json":Km,"./locales/en/buttons.json":Bm,"./locales/en/detail.json":Om,"./locales/en/legend.json":Um,"./locales/en/messages.json":Hm,"./locales/en/options.json":Dm,"./locales/en/popup.json":zm,"./locales/en/prayerLaps.json":Vm,"./locales/en/search.json":Ym,"./locales/en/tabs.json":Wm,"./locales/es/aria.json":Jm,"./locales/es/buttons.json":Zm,"./locales/es/detail.json":qm,"./locales/es/legend.json":Xm,"./locales/es/messages.json":Qm,"./locales/es/options.json":ah,"./locales/es/prayerLaps.json":nh,"./locales/es/search.json":eh,"./locales/es/tabs.json":ih,"./locales/fr/aria.json":th,"./locales/fr/buttons.json":oh,"./locales/fr/detail.json":rh,"./locales/fr/legend.json":lh,"./locales/fr/messages.json":sh,"./locales/fr/options.json":ch,"./locales/fr/popup.json":gh,"./locales/fr/prayerLaps.json":uh,"./locales/fr/search.json":dh,"./locales/fr/tabs.json":ph,"./locales/hi/aria.json":mh,"./locales/hi/buttons.json":hh,"./locales/hi/detail.json":yh,"./locales/hi/legend.json":bh,"./locales/hi/messages.json":_h,"./locales/hi/options.json":fh,"./locales/hi/prayerLaps.json":Ph,"./locales/hi/search.json":Ch,"./locales/it/aria.json":jh,"./locales/it/buttons.json":kh,"./locales/it/detail.json":Gh,"./locales/it/legend.json":vh,"./locales/it/messages.json":Ah,"./locales/it/options.json":Sh,"./locales/it/prayerLaps.json":Eh,"./locales/it/search.json":Mh,"./locales/pt/aria.json":Ih,"./locales/pt/buttons.json":wh,"./locales/pt/detail.json":xh,"./locales/pt/legend.json":Th,"./locales/pt/messages.json":Nh,"./locales/pt/options.json":Lh,"./locales/pt/prayerLaps.json":Rh,"./locales/pt/search.json":$h,"./locales/pt/tabs.json":Fh,"./locales/ro/aria.json":Kh,"./locales/ro/buttons.json":Bh,"./locales/ro/detail.json":Oh,"./locales/ro/legend.json":Uh,"./locales/ro/messages.json":Hh,"./locales/ro/options.json":Dh,"./locales/ro/prayerLaps.json":zh,"./locales/ro/search.json":Vh,"./locales/ru/aria.json":Yh,"./locales/ru/buttons.json":Wh,"./locales/ru/detail.json":Jh,"./locales/ru/legend.json":Zh,"./locales/ru/messages.json":qh,"./locales/ru/options.json":Xh,"./locales/ru/prayerLaps.json":Qh,"./locales/ru/search.json":a0,"./locales/ru/tabs.json":n0,"./locales/zh/aria.json":e0,"./locales/zh/buttons.json":i0,"./locales/zh/detail.json":t0,"./locales/zh/legend.json":o0,"./locales/zh/messages.json":r0,"./locales/zh/options.json":l0,"./locales/zh/prayerLaps.json":s0,"./locales/zh/search.json":c0}),Ri={};for(const[a,n]of Object.entries(hb)){const e=a.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!e)continue;const[,i,t]=e;Ri[i]??(Ri[i]={}),Ri[i][t]=n}const _g=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"];function yb(){var e;const n=(((e=document==null?void 0:document.documentElement)==null?void 0:e.lang)||"").split("-")[0].toLowerCase();return _g.includes(n)?n:"en"}function bb(){return tb({legacy:!1,globalInjection:!0,locale:yb(),fallbackLocale:"en",messages:Ri,missingWarn:!1,fallbackWarn:!1})}let _b=0;const fb=Jo("ui",{state:()=>({_storeInstanceId:++_b,theme:"light",colorScheme:"default",reducedMotion:!1,highContrast:!1,activeTab:"geo-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:a=>a.theme==="auto"?window.matchMedia("(prefers-color-scheme: dark)").matches:a.theme==="dark",isMobile:a=>a.breakpoint==="mobile",isTablet:a=>a.breakpoint==="tablet",isDesktop:a=>a.breakpoint==="desktop"||a.breakpoint==="wide",legendHeight:a=>a._customLegendHeight?a._customLegendHeight:a.legendState==="collapsed"?"48px":a.legendState==="open"?"30%":a.legendState==="fullyOpen"?"calc(100% - 80px)":"48px",caretRotation:a=>a.legendState==="collapsed"?0:90,showPullTab:a=>a.legendState==="open"||a.legendState==="fullyOpen",getToastsByType:a=>n=>a.toasts.filter(e=>e.type===n),hasOpenModal:a=>a.openModals.length>0,topModal:a=>a.openModals.length===0?null:a.openModals[a.openModals.length-1],isModalOpen:a=>n=>a.openModals.includes(n),isAnyLoading:a=>a.isGlobalLoading||a.loadingStates.size>0,isLoading:a=>n=>a.loadingStates.get(n)||!1},actions:{setTheme(a){if(!["light","dark","auto"].includes(a))return;this.theme=a;const e=this.isDarkTheme;document.documentElement.setAttribute("data-theme",e?"dark":"light"),localStorage.setItem("theme",a)},toggleTheme(){const a=this.theme==="light"?"dark":"light";this.setTheme(a)},setColorScheme(a){this.colorScheme=a,document.documentElement.setAttribute("data-color-scheme",a)},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(a){this.activeTab=a,this.addToHistory({type:"tab-change",tabId:a,timestamp:Date.now()})},toggleSidebar(){this.sidebarCollapsed=!this.sidebarCollapsed},openMobileMenu(){this.mobileMenuOpen=!0},closeMobileMenu(){this.mobileMenuOpen=!1},setLegendMode(a){["prayer","detail"].includes(a)&&(this.legendMode=a)},setPrayerFilter(a){[null,"noPrayer","hasPrayer","fullPrayer"].includes(a)&&(this.prayerFilter=a)},setEngagementFilter(a){[null,"notEngaged","hasEngagement"].includes(a)&&(this.engagementFilter=a)},setAdoptionFilter(a){[null,"notAdopted","hasAdoption"].includes(a)&&(this.adoptionFilter=a)},setReligionFilter(a){[null,"C","M","H","B","E","J","S","N","O","U"].includes(a)&&(this.religionFilter=a)},selectPeopleGroup(a){this.selectedPeopleGroup=a,a?(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(a){["collapsed","open","fullyOpen"].includes(a)&&(this.legendState=a)},toggleSearchMode(){this.searchMode=!this.searchMode},setSearchMode(a){this.searchMode=a},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},updateBreakpoint(a){let n;a<768?n="mobile":a<1024?n="tablet":a<1920?n="desktop":n="wide",n!==this.breakpoint&&(this.breakpoint=n)},updateWindowSize(a,n){this.windowSize.width=a,this.windowSize.height=n,this.updateBreakpoint(a)},showToast(a){const{message:n,type:e="info",duration:i=this.toastDuration,action:t=null,persistent:o=!1}=a,r={id:this.nextToastId++,message:n,type:e,duration:i,action:t,persistent:o,createdAt:Date.now()};return this.toasts.push(r),!o&&i>0&&setTimeout(()=>{this.removeToast(r.id)},i),r.id},showSuccess(a,n={}){return this.showToast({message:a,type:"success",...n})},showError(a,n={}){return this.showToast({message:a,type:"error",duration:7e3,...n})},showWarning(a,n={}){return this.showToast({message:a,type:"warning",...n})},showInfo(a,n={}){return this.showToast({message:a,type:"info",...n})},removeToast(a){const n=this.toasts.findIndex(e=>e.id===a);n!==-1&&this.toasts.splice(n,1)},clearAllToasts(){this.toasts=[]},openModal(a,n={}){this.openModals.includes(a)||(this.openModals.push(a),this.modalData.set(a,n),this.focusTrapActive=!0)},closeModal(a=null){if(a){const n=this.openModals.indexOf(a);n!==-1&&(this.openModals.splice(n,1),this.modalData.delete(a))}else{const n=this.openModals.pop();n&&this.modalData.delete(n)}this.openModals.length===0&&(this.focusTrapActive=!1)},closeAllModals(){this.openModals=[],this.modalData.clear(),this.focusTrapActive=!1},getModalData(a){return this.modalData.get(a)},showGlobalLoading(a="Loading..."){this.isGlobalLoading=!0,this.globalLoadingMessage=a},hideGlobalLoading(){this.isGlobalLoading=!1},setLoading(a,n=!0){n?this.loadingStates.set(a,!0):this.loadingStates.delete(a)},addToHistory(a){this.interactionHistory.push(a),this.interactionHistory.length>this.maxHistoryLength&&this.interactionHistory.shift()},clearHistory(){this.interactionHistory=[]},announce(a,n="polite"){this.screenReaderAnnouncement=a,setTimeout(()=>{this.screenReaderAnnouncement===a&&(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(a){this._customLegendHeight=a},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(){const a=localStorage.getItem("theme");a&&this.setTheme(a),new ResizeObserver(e=>{for(const i of e)this.updateWindowSize(i.contentRect.width,i.contentRect.height)}).observe(document.documentElement),window.matchMedia&&(window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",e=>{this.theme==="auto"&&document.documentElement.setAttribute("data-theme",e.matches?"dark":"light")}),window.matchMedia("(prefers-reduced-motion: reduce)").addEventListener("change",e=>{this.reducedMotion=e.matches,document.documentElement.setAttribute("data-reduced-motion",e.matches)}))}}}),Pb=Jo("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:a=>n=>a.maps[n],activeMap:a=>a.activeMapId?a.maps[a.activeMapId]:null,hasMap:a=>n=>n in a.maps,allMapIds:a=>Object.keys(a.maps),hasSelection:a=>!!(a.selectedRegion||a.selectedFamily||a.selectedAffinityBlock||a.selectedPeopleGroup),isAutoFlying:a=>a.autoFly.isActive,isGuidedTourActive:a=>a.guidedTour.isActive,isMapFullscreen:a=>n=>a.fullscreenMapId===n},actions:{registerMap(a,n,e={}){let i=1.5;e.zoom!==void 0?i=e.zoom:n&&typeof n.getZoom=="function"&&(i=n.getZoom());let t=[0,0];if(e.center)t=e.center;else if(n&&typeof n.getCenter=="function"){const o=n.getCenter();o&&(t=[o.lng,o.lat])}this.maps[a]={instance:n,config:e,isReady:!1,zoom:i,center:t,registeredAt:Date.now()},this.activeMapId||(this.activeMapId=a)},setMapReady(a){const n=this.maps[a];n&&(n.isReady=!0)},updateMapState(a,n){const e=this.maps[a];e&&Object.assign(e,n)},unregisterMap(a){if(delete this.maps[a],this.activeMapId===a){const n=this.allMapIds;this.activeMapId=n.length>0?n[0]:null}},setActiveMap(a){a in this.maps&&(this.activeMapId=a)},selectRegion(a){this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedRegion=a},selectFamily(a){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedFamily=a},setActiveLegendTab(a){this.activeLegendTab=a},selectLanguage(a){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedFamily=null,this.selectedDialect=null,this.selectedLanguage=a},selectDialect(a){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedDialect=a},selectAffinityBlock(a){this.selectedRegion=null,this.selectedFamily=null,this.selectedPeopleGroup=null,this.selectedAffinityBlock=a},selectPeopleGroup(a){this.selectedPeopleGroup=a},selectResource(a){this.selectedRegion=null,this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedResource===a?this.selectedResource=null:this.selectedResource=a},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(a){this.selectedPinIds=a||[]},setFilter(a,n){this.globalFilters[a]=n},removeFilter(a){delete this.globalFilters[a]},clearFilters(){this.globalFilters={},this.searchQuery=""},setSearchQuery(a){this.searchQuery=a},startAutoFly(a,n=1){this.stopAutoFly(),this.autoFly.isActive=!0,this.autoFly.speed=n,this.autoFly.items=a,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(a){this.autoFly.speed=Math.max(.5,Math.min(2,a))},nextAutoFlyItem(){if(!this.autoFly.isActive||this.autoFly.items.length===0)return;this.autoFly.currentIndex=(this.autoFly.currentIndex+1)%this.autoFly.items.length;const a=this.autoFly.items[this.autoFly.currentIndex];a.type==="region"?this.selectRegion(a):a.type==="family"&&this.selectFamily(a)},toggleClusters(a){typeof a=="boolean"?this.showClusters=a:this.showClusters=!this.showClusters},setClusterMode(a){["region","language-family","affinity-block","mst","resource"].includes(a)&&(this.clusterMode=a)},setClusterFilter(a,n){this.clusterFilterProperty=a||null,this.clusterFilterValue=n||null},clearClusterFilter(){this.clusterFilterProperty=null,this.clusterFilterValue=null},setFlySpeed(a){["slow","normal","fast"].includes(a)&&(this.flySpeed=a)},setSelectedFamily(a){this.selectFamily(a)},clearSelectedFamily(){this.selectFamily(null)},setSelectedRegion(a){this.selectRegion(a)},clearSelectedRegion(){this.selectRegion(null)},clearSelectedResource(){this.selectResource(null)},clearSelectedLanguage(){this.selectLanguage(null)},clearSelectedDialect(){this.selectDialect(null)},toggleFullscreen(a){this.fullscreenMapId===a?this.fullscreenMapId=null:this.fullscreenMapId=a},loadPreferences(){try{const a=localStorage.getItem("mapUserPreferences");if(a){const n=JSON.parse(a);this.preferences={...this.preferences,...n}}}catch(a){console.error("[mapStore] Failed to load preferences:",a)}},savePreferences(){try{localStorage.setItem("mapUserPreferences",JSON.stringify(this.preferences))}catch(a){console.error("[mapStore] Failed to save preferences:",a)}},setPreference(a,n){this.preferences[a]=n,this.preferences.autoSavePreferences&&this.savePreferences()}}}),Cb=Jo("data",{state:()=>({sources:{},loadingStates:{}}),actions:{async load(a,n){if(!this.sources[a]){this.loadingStates[a]={isLoading:!0,error:null};try{const e=await n();this.sources[a]=mi({features:e,timestamp:Date.now()}),this.loadingStates[a]={isLoading:!1,error:null}}catch(e){console.error(`[dataStore] Failed to load source "${a}":`,e),this.loadingStates[a]={isLoading:!1,error:e}}}},clearSource(a){delete this.sources[a],delete this.loadingStates[a]},cacheSourceData(a,n){this.sources[a]=mi({features:n.normalizedData||[],timestamp:n.timestamp||Date.now()})},hasSourceData(a){return!!this.sources[a]},getSourceData(a){return this.sources[a]?{normalizedData:this.sources[a].features}:null}},getters:{getData:a=>n=>{var e;return((e=a.sources[n])==null?void 0:e.features)??null},isLoading:a=>n=>{var e;return((e=a.loadingStates[n])==null?void 0:e.isLoading)??!1},getError:a=>n=>{var e;return((e=a.loadingStates[n])==null?void 0:e.error)??null}}}),jb={activeSource:"pray-tools"},kb=(a,n)=>{const e=a.__vccOpts||a;for(const[i,t]of n)e[i]=t;return e},Gb={class:"profile-loader"},vb={key:0,class:"profile-error"},Ab={key:1,class:"profile-error"},Sb=kb({__name:"ProfileLoader",props:{profileConfig:{type:String,default:""}},setup(a){var $;const n=a,e=la(()=>{if(!n.profileConfig)return null;try{return JSON.parse(n.profileConfig)}catch{return console.error("[ProfileLoader] Invalid profile-config JSON:",n.profileConfig),null}}),i=la(()=>{var w;return((w=e.value)==null?void 0:w.profile)||null}),t=la(()=>{var w;return((w=e.value)==null?void 0:w.tk)||""}),o=la(()=>{var w;return((w=e.value)==null?void 0:w.dataSource)||jb.activeSource}),r=la(()=>{var w;return((w=e.value)==null?void 0:w.colorSet)||"default"}),l=la(()=>{var L,E;const w=(((L=e.value)==null?void 0:L.locale)||((E=e.value)==null?void 0:E.lang)||"").split("-")[0].toLowerCase();return _g.includes(w)?w:""}),s=Ya("appI18n",null);xd(()=>{l.value&&s&&(s.global.locale.value=l.value)});const g=la(()=>{var w,L;return l.value||((L=(w=s==null?void 0:s.global)==null?void 0:w.locale)==null?void 0:L.value)||"en"}),d=la(()=>{var w;return((w=e.value)==null?void 0:w.instanceId)||"map-embed-"+Math.random().toString(36).slice(2,9)}),_=Ya("profileModules",null);if(!_)throw new Error('[ProfileLoader] No profileModules provided. Bundle entry must `app.provide("profileModules", import.meta.glob("./*.vue"))`');const k=la(()=>{if(!i.value)return null;const w=`./${i.value}.vue`;return _[w]?Fd(_[w]):(console.error(`[ProfileLoader] Profile not found: "${i.value}". Available:`,Object.keys(_)),null)});vn("mapboxToken",t),vn("dataSource",o),vn("colorSet",r),vn("profileConfig",e),vn("instanceId",d),vn("lang",g);const x=fb(),D=Pb(),T=Cb();try{window.localStorage.getItem("__probe__")}catch{const L=Object.create(null),E={getItem:I=>I in L?L[I]:null,setItem:(I,G)=>{L[I]=String(G)},removeItem:I=>{delete L[I]},clear:()=>{for(const I in L)delete L[I]},key:I=>Object.keys(L)[I]??null,get length(){return Object.keys(L).length}};try{Object.defineProperty(window,"localStorage",{configurable:!0,value:E})}catch{}}try{const w=localStorage.getItem("theme");w&&(($=x.setTheme)==null||$.call(x,w))}catch{}return vn("uiStore",x),vn("mapStore",D),vn("dataStore",T),(w,L)=>(z(),W("div",Gb,[e.value?k.value?(z(),Me(Jd(k.value),{key:2})):(z(),W("div",Ab,[f("p",null,[L[1]||(L[1]=ya("⚠️ Profile ",-1)),f("strong",null,'"'+X(i.value)+'"',1),L[2]||(L[2]=ya(" not found.",-1))])])):(z(),W("div",vb,[...L[0]||(L[0]=[f("p",null,[ya("⚠️ "),f("strong",null,"map-embed"),ya(": missing or invalid "),f("code",null,"profile-config"),ya(" prop.")],-1),f("p",null,[ya("Example: "),f("code",null,`profile-config='{"profile":"example-map","tk":"pk.YOUR_MAPBOX_TOKEN"}'`)],-1)])]))]))}},[["__scopeId","data-v-8d448c33"]]),Eb=Object.assign({"./bloom-cockpit.vue":()=>oi(()=>Promise.resolve().then(()=>P_),void 0),"./flower-mesh.vue":()=>oi(()=>Promise.resolve().then(()=>Y_),void 0),"./lang-cluster.vue":()=>oi(()=>Promise.resolve().then(()=>p5),void 0),"./send-map.vue":()=>oi(()=>Promise.resolve().then(()=>K5),void 0),"./upg-neighbors.vue":()=>oi(()=>Promise.resolve().then(()=>Of),void 0)});if(typeof window<"u"&&((xu=window.mapboxgl)!=null&&xu.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 $i(){return rm(Sb,{configureApp(a){a.use(hm()),a.use(bb()),a.provide("profileModules",Eb)}})}typeof customElements<"u"&&(customElements.get("send-map")||customElements.define("send-map",$i()),customElements.get("flower-mesh")||customElements.define("flower-mesh",$i()),customElements.get("lang-cluster")||customElements.define("lang-cluster",$i()),customElements.get("bloom-cockpit")||customElements.define("bloom-cockpit",$i()),customElements.get("upg-neighbors")||customElements.define("upg-neighbors",$i()));function On(a,n){const e=n||Mb(a);Rn(()=>{var l;const i=ue();if(!i)return;const t=(l=i.proxy)==null?void 0:l.$el;if(!t)return;const o=t.getRootNode();if(!(o instanceof ShadowRoot)||o.querySelector(`style[data-shadow-styles="${e}"]`))return;const r=document.createElement("style");r.setAttribute("data-shadow-styles",e),r.textContent=a,o.appendChild(r)})}function Mb(a){let n=0;for(let e=0;e=2% (>=2% evangelical) OR GSEC>=4 — senders only; 'Engaged' excluded (engaged != reached)",reached_pool:5146,target_countries:40,total_neighbors:2603,neighbors_with_rol3:2603,neighbors_with_coords:2603},countries:{India:{target_upg:2040,target_pop:1394512400,target_top_langs:["Hindi","Urdu","Gujarati","Marathi"],target_top_religion:"Hinduism",neighbors:[{name:"Naga, Sangtam",country:"India",lang:"Naga, Sangtam",rol3:"nsa",pct_christian:75,pop:12e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.85,lng:94.62,code:"PG041909"},{name:"Naga Kacha",country:"India",lang:"Naga, Zeme",rol3:"nzm",pct_christian:75,pop:69500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.21,lng:94.04,code:"PG049568"},{name:"Moyon",country:"India",lang:"Naga, Moyon",rol3:"nmo",pct_christian:75,pop:3600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.24,lng:94.09,code:"PG049747"},{name:"Lisu",country:"India",lang:"Lisu",rol3:"lis",pct_christian:75,pop:2600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:27.37,lng:96.37,code:"PG049761"},{name:"Koirao",country:"India",lang:"Boro (India)",rol3:"brx",pct_christian:75,pop:1800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.2,lng:94.05,code:"PG049766"},{name:"Beldar (Bundelkhandi)",country:"India",lang:"Bundeli",rol3:"bns",pct_christian:75,pop:550,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:24.76,lng:81.58,code:"PG048210"},{name:"Majhi",country:"India",lang:"Majhi",rol3:"mjz",pct_christian:75,pop:500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.11,lng:88.35,code:"PG049075"},{name:"Ansari-Momin (Sadri)",country:"India",lang:"Sadri",rol3:"sck",pct_christian:75,pop:225,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:23.63,lng:85.55,code:"PG048700"},{name:"Syrian Christian",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:62.5,pop:4495e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:12.35,lng:76.09,code:"PG041308"},{name:"Naga, Ao",country:"India",lang:"Naga, Ao",rol3:"njo",pct_christian:62.5,pop:411e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:26.34,lng:94.36,code:"PG041361"},{name:"Anglo Indian",country:"India",lang:"English",rol3:"eng",pct_christian:62.5,pop:398e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:12.95,lng:77.6,code:"PG041386"},{name:"Naga, Sema",country:"India",lang:"Naga, Sumi",rol3:"nsm",pct_christian:62.5,pop:368e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.93,lng:94.23,code:"PG041651"},{name:"Naga, Konyak",country:"India",lang:"Naga, Konyak",rol3:"nbe",pct_christian:62.5,pop:361e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.72,lng:95.04,code:"PG041687"},{name:"Naga, Angami",country:"India",lang:"Naga, Angami",rol3:"njm",pct_christian:62.5,pop:241e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.69,lng:93.9,code:"PG041738"},{name:"Naga, Lotha",country:"India",lang:"Naga, Lotha",rol3:"njh",pct_christian:62.5,pop:234e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.01,lng:94.06,code:"PG041755"},{name:"Naga, Tangkhul",country:"India",lang:"Naga, Tangkhul (India)",rol3:"nmf",pct_christian:62.5,pop:214e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.07,lng:94.38,code:"PG041697"},{name:"Naga, Chakhesang",country:"India",lang:"Naga, Chokri",rol3:"nri",pct_christian:62.5,pop:198e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.56,lng:94.3,code:"PG041748"},{name:"Kuki",country:"India",lang:"Chin, Thado",rol3:"tcz",pct_christian:62.5,pop:179e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.49,lng:93.86,code:"PG041761"},{name:"Naga, Kabui",country:"India",lang:"Naga, Rongmei",rol3:"nbu",pct_christian:62.5,pop:121e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.15,lng:93.79,code:"PG041943"},{name:"Naga, Yimchunger",country:"India",lang:"Naga, Yimchungru",rol3:"yim",pct_christian:62.5,pop:112e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.8,lng:94.83,code:"PG041978"},{name:"Naga, Mao",country:"India",lang:"Naga, Mao",rol3:"nbi",pct_christian:62.5,pop:106e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.2,lng:94.04,code:"PG041779"},{name:"Naga, Zeliang",country:"India",lang:"Naga, Zeme",rol3:"nzm",pct_christian:62.5,pop:106e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.62,lng:93.83,code:"PG041995"},{name:"Naga, Rengma",country:"India",lang:"Naga, Southern Rengma",rol3:"nre",pct_christian:62.5,pop:79e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.26,lng:94.7,code:"PG042067"},{name:"Vaiphei",country:"India",lang:"Vaiphei",rol3:"vap",pct_christian:62.5,pop:56e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.31,lng:93.43,code:"PG042060"},{name:"Kahha",country:"India",lang:"Naga, Phom",rol3:"nph",pct_christian:62.5,pop:50500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.48,lng:94.74,code:"PG041953"},{name:"Mizo, Pawi",country:"India",lang:"Chin, Paite",rol3:"pck",pct_christian:62.5,pop:47500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.84,lng:92.88,code:"PG041966"},{name:"Nicobarese",country:"India",lang:"Nicobarese, Car",rol3:"caq",pct_christian:62.5,pop:42500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.18,lng:92.77,code:"PG041984"},{name:"Naga, Maring",country:"India",lang:"Naga, Maring",rol3:"nng",pct_christian:62.5,pop:34500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.24,lng:94.09,code:"PG042119"},{name:"Chin, Mara",country:"India",lang:"Mara",rol3:"mrh",pct_christian:62.5,pop:34e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.84,lng:92.89,code:"PG042043"},{name:"Zou",country:"India",lang:"Zo",rol3:"zom",pct_christian:62.5,pop:3e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.16,lng:93.71,code:"PG042107"},{name:"Naga, Pochury",country:"India",lang:"Naga, Pochuri",rol3:"npo",pct_christian:62.5,pop:24500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.03,lng:94.53,code:"PG049624"},{name:"Gangte",country:"India",lang:"Gangte",rol3:"gnb",pct_christian:62.5,pop:16e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.28,lng:93.69,code:"PG042166"},{name:"Lamgang",country:"India",lang:"Lamkang",rol3:"lmk",pct_christian:62.5,pop:8700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.44,lng:94.05,code:"PG049002"},{name:"Chiru",country:"India",lang:"Chiru",rol3:"cdf",pct_christian:62.5,pop:8300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.35,lng:94.11,code:"PG049001"},{name:"Cote",country:"India",lang:"Naga, Chothe",rol3:"nct",pct_christian:62.5,pop:4100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.24,lng:94.09,code:"PG049749"},{name:"Aimol",country:"India",lang:"Aimol",rol3:"aim",pct_christian:62.5,pop:3700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.7,lng:93.92,code:"PG048880"},{name:"Ucai",country:"India",lang:"Kok Borok",rol3:"trp",pct_christian:62.5,pop:3100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.36,lng:92.17,code:"PG049762"},{name:"Monsang",country:"India",lang:"Naga, Monsang",rol3:"nmh",pct_christian:62.5,pop:2600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.24,lng:94.09,code:"PG049759"},{name:"Soria",country:"India",lang:"Hindi",rol3:"hin",pct_christian:62.5,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:23.2,lng:77.09,code:"PG048955"},{name:"Pnar",country:"India",lang:"Pnar",rol3:"pbv",pct_christian:62.5,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.84,lng:92.89,code:"PG049638"},{name:"Mangli",country:"India",lang:"Sambalpuri",rol3:"spv",pct_christian:62.5,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:19.91,lng:83.18,code:"PG049616"},{name:"Rathodia",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:62.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:22.3,lng:73.39,code:"PG048948"},{name:"Tarao",country:"India",lang:"Naga, Tarao",rol3:"tro",pct_christian:62.5,pop:550,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.24,lng:94.09,code:"PG049555"},{name:"Bagti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:62.5,pop:275,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.28,lng:86.43,code:"PG049044"},{name:"Khasi",country:"India",lang:"Khasi",rol3:"kha",pct_christian:45,pop:1675e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.52,lng:91.79,code:"PG041380"},{name:"Pulayan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:45,pop:154e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:10.06,lng:76.53,code:"PG041344"},{name:"Garo",country:"India",lang:"Garo",rol3:"grt",pct_christian:45,pop:1065e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:25.62,lng:90.74,code:"PG041444"},{name:"Meghval",country:"India",lang:"Hindi",rol3:"hin",pct_christian:45,pop:377e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:26.87,lng:73.03,code:"PG041328"},{name:"Santal (Oriya)",country:"India",lang:"Odia",rol3:"ory",pct_christian:45,pop:176e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:22.8,lng:87.48,code:"PG046353"},{name:"Hmar",country:"India",lang:"Hmar",rol3:"hmr",pct_christian:45,pop:113e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.97,lng:93.56,code:"PG041808"},{name:"Paite",country:"India",lang:"Chin, Paite",rol3:"pck",pct_christian:45,pop:94e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.3,lng:93.43,code:"PG041890"},{name:"Naga, Khiamngan",country:"India",lang:"Naga, Khiamniungan",rol3:"kix",pct_christian:45,pop:56e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.17,lng:94.89,code:"PG042023"},{name:"Mizo",country:"India",lang:"Mizo",rol3:"lus",pct_christian:35,pop:1115e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.31,lng:92.83,code:"PG041461"},{name:"Thadou",country:"India",lang:"Chin, Thado",rol3:"tcz",pct_christian:35,pop:268e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.3,lng:93.43,code:"PG041679"},{name:"Mal Paharia",country:"India",lang:"Mal Paharia",rol3:"mkb",pct_christian:35,pop:231e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:24.56,lng:87.66,code:"PG041653"},{name:"Bhil Mina",country:"India",lang:"Vaghri",rol3:"vgr",pct_christian:35,pop:131e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:24.59,lng:73.72,code:"PG048977"},{name:"Nissi",country:"India",lang:"Nyishi",rol3:"njz",pct_christian:35,pop:113e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:27.27,lng:93.61,code:"PG041760"},{name:"Chang (Naga)",country:"India",lang:"Naga, Chang",rol3:"nbc",pct_christian:35,pop:81500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.17,lng:94.89,code:"PG041979"},{name:"Malai Arayan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:35,pop:48e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:9.65,lng:76.66,code:"PG041952"},{name:"Anal",country:"India",lang:"Anal",rol3:"anm",pct_christian:35,pop:31500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.04,lng:94.14,code:"PG042153"},{name:"Nagbansi (Dogri)",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:35,pop:1700,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:33.05,lng:75.08,code:"PG048317"},{name:"Pagi",country:"India",lang:"Konkani",rol3:"knn",pct_christian:35,pop:650,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:14.91,lng:74.23,code:"PG049171"},{name:"Munda ",country:"India",lang:"Munda",rol3:"unx",pct_christian:25,pop:2875e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:23.75,lng:88.2,code:"PG041329"},{name:"Kharia",country:"India",lang:"Kharia",rol3:"khr",pct_christian:25,pop:889e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:22.47,lng:84.55,code:"PG041457"},{name:"Paravar",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:25,pop:162e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:8.62,lng:77,code:"PG041743"},{name:"Koh",country:"India",lang:"Marathi",rol3:"mar",pct_christian:25,pop:96500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:20.29,lng:76.9,code:"PG041285"},{name:"Mehar",country:"India",lang:"Mewari",rol3:"mtr",pct_christian:25,pop:84500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:24.37,lng:76.25,code:"PG041828"},{name:"Madgi",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:76500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:20.17,lng:79.45,code:"PG041802"},{name:"Mech",country:"India",lang:"Assamese",rol3:"asm",pct_christian:25,pop:73500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:27.1,lng:92.43,code:"PG041900"},{name:"Adi Gallong",country:"India",lang:"Adi, Galo",rol3:"adl",pct_christian:25,pop:71e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:28.32,lng:94.51,code:"PG041851"},{name:"Gounder",country:"India",lang:"Tamil",rol3:"tam",pct_christian:25,pop:6e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:11.68,lng:78.22,code:"PG041906"},{name:"Hajong",country:"India",lang:"Hajong",rol3:"haj",pct_christian:25,pop:47e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:25.53,lng:89.89,code:"PG041954"},{name:"Kerala Mudali",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:25,pop:11e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:9.44,lng:78.7,code:"PG049672"},{name:"Noatia",country:"India",lang:"Kok Borok",rol3:"trp",pct_christian:25,pop:9800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:23.79,lng:91.46,code:"PG042172"},{name:"Godari",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:17.69,lng:83.22,code:"PG049205"},{name:"Kambodia Bhagat",country:"India",lang:"Marwari (India)",rol3:"rwr",pct_christian:25,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:23.95,lng:72.49,code:"PG049636"},{name:"Chamail",country:"India",lang:"Hindi",rol3:"hin",pct_christian:25,pop:1200,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:25.48,lng:85.95,code:"PG049469"},{name:"Ghogia",country:"India",lang:"Odia",rol3:"ory",pct_christian:25,pop:800,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:21.15,lng:84.09,code:"PG049008"},{name:"Gangai",country:"India",lang:"Surjapuri",rol3:"sjp",pct_christian:25,pop:500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:25.69,lng:87.53,code:"PG049394"},{name:"Arakala",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:375,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:18.11,lng:83.4,code:"PG049160"},{name:"Mala",country:"India",lang:"Telugu",rol3:"tel",pct_christian:17.5,pop:7615e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:16.36,lng:79.51,code:"PG041263"},{name:"Balmiki (Haryanvi)",country:"India",lang:"Haryanvi",rol3:"bgc",pct_christian:17.5,pop:189e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:29.19,lng:76.36,code:"PG048194"},{name:"Balmiki (Awadhi)",country:"India",lang:"Awadhi",rol3:"awa",pct_christian:17.5,pop:172e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.93,lng:78.08,code:"PG041289"},{name:"Balmiki (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:17.5,pop:1295e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:30.44,lng:75.81,code:"PG048195"},{name:"Balmiki (Pahari)",country:"India",lang:"Garhwali",rol3:"gbm",pct_christian:17.5,pop:131e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:30.26,lng:78.62,code:"PG048196"},{name:"Damor",country:"India",lang:"Wagdi",rol3:"wbr",pct_christian:17.5,pop:128e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:23.74,lng:73.85,code:"PG041876"},{name:"Lepcha",country:"India",lang:"Lepcha",rol3:"lep",pct_christian:17.5,pop:107e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:27.34,lng:88.58,code:"PG041791"},{name:"Kachari",country:"India",lang:"Kachari",rol3:"xac",pct_christian:17.5,pop:73500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:27.37,lng:95.08,code:"PG041505"},{name:"Nadia",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:17.5,pop:69500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG041830"},{name:"Chuhra",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:17.5,pop:59e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:31.92,lng:77.25,code:"PG049402"},{name:"Adi Minyong",country:"India",lang:"Adi",rol3:"adi",pct_christian:17.5,pop:5e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:28.05,lng:94.43,code:"PG041950"},{name:"Nocte",country:"India",lang:"Naga, Nocte",rol3:"njb",pct_christian:17.5,pop:5e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:27.07,lng:95.23,code:"PG042002"},{name:"Ojha",country:"India",lang:"Telugu",rol3:"tel",pct_christian:17.5,pop:46e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:21.74,lng:78.25,code:"PG041974"},{name:"Badhi",country:"India",lang:"Hindi",rol3:"hin",pct_christian:17.5,pop:16e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:29.95,lng:77.55,code:"PG041480"},{name:"Goudu",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:17.71,lng:83.25,code:"PG042158"},{name:"Sutar (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:17.5,pop:11e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:21.4,lng:71.23,code:"PG048301"},{name:"Miji",country:"India",lang:"Miji",rol3:"sjl",pct_christian:17.5,pop:7e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:27.3,lng:92.4,code:"PG049709"},{name:"Barmi",country:"India",lang:"Burmese",rol3:"mya",pct_christian:17.5,pop:600,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:12.6,lng:92.83,code:"PG048889"},{name:"Bari (Oriya)",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:550,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:20.86,lng:84.8,code:"PG048204"},{name:"Babar",country:"India",lang:"Haroti",rol3:"hoj",pct_christian:17.5,pop:500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:25.43,lng:75.65,code:"PG048961"},{name:"Bayil Kammara",country:"India",lang:"Marwari (India)",rol3:"rwr",pct_christian:17.5,pop:375,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:16.34,lng:76.08,code:"PG049856"},{name:"Candhai Maru",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:350,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:21.48,lng:83.97,code:"PG049648"},{name:"Khati (Haryanvi)",country:"India",lang:"Haryanvi",rol3:"bgc",pct_christian:17.5,pop:200,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:29.21,lng:76.34,code:"PG048299"},{name:"Madiga",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:9445e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:16.51,lng:79.06,code:"PG041253"},{name:"Mang",country:"India",lang:"Marathi",rol3:"mar",pct_christian:12.5,pop:304e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:20.38,lng:76.05,code:"PG041315"},{name:"Chakkiliyan",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:1205e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:10.61,lng:77.71,code:"PG041373"},{name:"Saora",country:"India",lang:"Sora",rol3:"srb",pct_christian:12.5,pop:119e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:20.64,lng:83.56,code:"PG041407"},{name:"Nadua Shabar",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:659e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:19.9,lng:85.17,code:"PG049502"},{name:"Senva",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:12.5,pop:161e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG041682"},{name:"Mannan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:12.5,pop:145e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:10.8,lng:76.55,code:"PG041756"},{name:"Chakravar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:45e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:8.62,lng:77,code:"PG041956"},{name:"Bawa Dedh",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:12.5,pop:34500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG042035"},{name:"Domar",country:"India",lang:"Awadhi",rol3:"awa",pct_christian:12.5,pop:27e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:25.45,lng:80.38,code:"PG049077"},{name:"Samban",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:24500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:8.7,lng:77.49,code:"PG041752"},{name:"Mehtar",country:"India",lang:"Hindi",rol3:"hin",pct_christian:12.5,pop:2e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:16.22,lng:75.63,code:"PG042116"},{name:"Panchama",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:7800,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:17.01,lng:81.79,code:"PG042086"},{name:"Palliyan",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:4800,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:9.89,lng:77.09,code:"PG049215"},{name:"Puroik",country:"India",lang:"Adi",rol3:"adi",pct_christian:12.5,pop:4300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:27.43,lng:92.97,code:"PG049739"},{name:"Karen",country:"India",lang:"Karen, S’gaw",rol3:"ksw",pct_christian:12.5,pop:2700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:12.78,lng:92.86,code:"PG048894"},{name:"Padigarajulu",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:15.58,lng:79.51,code:"PG049165"},{name:"Kuda",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:750,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:20.83,lng:85.53,code:"PG049016"},{name:"Gagra",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:12.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:30.84,lng:75.86,code:"PG049079"},{name:"Tharua",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:650,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:21.49,lng:86.93,code:"PG049031"},{name:"Gharrami",country:"India",lang:"Hindi",rol3:"hin",pct_christian:12.5,pop:500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:28.64,lng:77.12,code:"PG049392"},{name:"Dusadh",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:7.5,pop:691e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:25.23,lng:85.31,code:"PG041266"},{name:"Nadar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:6365e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:11.17,lng:77.82,code:"PG041309"},{name:"Oraon",country:"India",lang:"Kurux",rol3:"kru",pct_christian:7.5,pop:551e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:24.4,lng:86.87,code:"PG041304"},{name:"Santal (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:335e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:24,lng:88.81,code:"PG046352"},{name:"Vellalar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:308e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:10.78,lng:77.78,code:"PG041493"},{name:"Kondh",country:"India",lang:"Kuvi",rol3:"kxv",pct_christian:7.5,pop:219e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:18.49,lng:83.27,code:"PG041352"},{name:"Pano",country:"India",lang:"Odia",rol3:"ory",pct_christian:7.5,pop:1735e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:21.04,lng:85.14,code:"PG041345"},{name:"Chamar (Awadhi)",country:"India",lang:"Awadhi",rol3:"awa",pct_christian:7.5,pop:1275e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:26.07,lng:80.62,code:"PG046031"},{name:"Munda (Assamese)",country:"India",lang:"Assamese",rol3:"asm",pct_christian:7.5,pop:1235e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:26.97,lng:94.06,code:"PG048248"},{name:"Santal (Assamese)",country:"India",lang:"Assamese",rol3:"asm",pct_christian:7.5,pop:697e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:26.55,lng:92.86,code:"PG046151"},{name:"Goan",country:"India",lang:"Konkani",rol3:"knn",pct_christian:7.5,pop:661e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:17.38,lng:74.3,code:"PG041474"},{name:"Gamit",country:"India",lang:"Gamit",rol3:"gbl",pct_christian:7.5,pop:649e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:21.11,lng:73.62,code:"PG041462"},{name:"Bhangi (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:6e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:22.76,lng:72.13,code:"PG048218"},{name:"Karbi",country:"India",lang:"Karbi",rol3:"mjw",pct_christian:7.5,pop:537e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:25.62,lng:93.03,code:"PG041521"},{name:"Cheruman",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:467e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:10.61,lng:76.25,code:"PG041452"},{name:"Garasia",country:"India",lang:"Garasia, Adiwasi",rol3:"gas",pct_christian:7.5,pop:295e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:24.08,lng:73.13,code:"PG041610"},{name:"Amant",country:"India",lang:"Maithili",rol3:"mai",pct_christian:7.5,pop:244e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:25.04,lng:86.5,code:"PG042053"},{name:"Lodha, Savar",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:148e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:22.3,lng:87.43,code:"PG041753"},{name:"Jamatia",country:"India",lang:"Kok Borok",rol3:"trp",pct_christian:7.5,pop:138e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:23.36,lng:91.61,code:"PG041812"},{name:"Ghanchi",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:129e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:22.02,lng:73.03,code:"PG041585"},{name:"Tangsa",country:"India",lang:"Naga, Tangshang",rol3:"nst",pct_christian:7.5,pop:85500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:27.37,lng:96.37,code:"PG042146"},{name:"Bharathar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:81e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:8.94,lng:76.82,code:"PG049578"},{name:"Wancho",country:"India",lang:"Naga, Wancho",rol3:"nnp",pct_christian:7.5,pop:7e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:26.56,lng:95.05,code:"PG041877"},{name:"Halam",country:"India",lang:"Kok Borok",rol3:"trp",pct_christian:7.5,pop:69500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:23.79,lng:91.46,code:"PG041914"},{name:"Bangni",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:62500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:27.43,lng:92.97,code:"PG041887"},{name:"Asur",country:"India",lang:"Asuri",rol3:"asr",pct_christian:7.5,pop:52500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:23.18,lng:84.56,code:"PG042115"}]},Pakistan:{target_upg:782,target_pop:250773e3,target_top_langs:["Punjabi, Western","Pashto, Central","Sindhi","Saraiki"],target_top_religion:"Islam",neighbors:[{name:"Chandala",country:"Pakistan",lang:"Saraiki",rol3:"skr",pct_christian:35,pop:752e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:31.73,lng:73.95,code:"PG049353"},{name:"Goan",country:"Pakistan",lang:"Konkani, Goan",rol3:"gom",pct_christian:25,pop:80500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:24.89,lng:67.06,code:"PG006349"},{name:"Marwari, Northern",country:"Pakistan",lang:"Marwari (Pakistan)",rol3:"mve",pct_christian:7.5,pop:17e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:28.82,lng:71.72,code:"PG006386"},{name:"Han Chinese",country:"Pakistan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:6e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:31.52,lng:74.34,code:"PG006354"},{name:"Gujarati",country:"Pakistan",lang:"Gujarati",rol3:"guj",pct_christian:3.5,pop:146e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.88,lng:70.3,code:"PG006352"},{name:"Bhil, Meghwar",country:"Pakistan",lang:"Sindhi Bhil",rol3:"sbn",pct_christian:3.5,pop:73e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:24.75,lng:68.61,code:"PG006381"},{name:"British",country:"Pakistan",lang:"English",rol3:"eng",pct_christian:3.5,pop:18500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:31.38,lng:72.73,code:"PG006336"},{name:"Bagti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:62.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:23.28,lng:86.43,code:"PG049044"},{name:"Bhil Mina",country:"India",lang:"Vaghri",rol3:"vgr",pct_christian:35,pop:131e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:24.59,lng:73.72,code:"PG048977"},{name:"Nagbansi (Dogri)",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:35,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:33.05,lng:75.08,code:"PG048317"},{name:"Balmiki (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:17.5,pop:1295e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.44,lng:75.81,code:"PG048195"},{name:"Chuhra",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:17.5,pop:59e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:31.92,lng:77.25,code:"PG049402"},{name:"Romani, Vlax",country:"Belgium",lang:"Romani, Vlax",rol3:"rmy",pct_christian:17.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:50.85,lng:4.38,code:"PG000068"},{name:"Gagra",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:12.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.84,lng:75.86,code:"PG049079"},{name:"Santal (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:335e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:24,lng:88.81,code:"PG046352"},{name:"Lodha, Savar",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:148e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.3,lng:87.43,code:"PG041753"},{name:"Bangni",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:62500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:27.43,lng:92.97,code:"PG041887"},{name:"Kela",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:29e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:20.46,lng:85.67,code:"PG042031"},{name:"Badhi",country:"India",lang:"Pahari-Potwari",rol3:"phr",pct_christian:7.5,pop:27e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:31.86,lng:76.82,code:"PG041983"},{name:"Baiti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:27e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:23.24,lng:88.24,code:"PG042100"},{name:"Iranian",country:"Armenia",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:40.17,lng:44.49,code:"PG050098"},{name:"Iranian",country:"Greece",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:38.05,lng:23.7,code:"PG047071"},{name:"Cheintz",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:7.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:34.09,lng:74.81,code:"PG049470"},{name:"Sorgir",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:7.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.34,lng:76.39,code:"PG049092"},{name:"Kankali",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:27.7,lng:81.49,code:"PG049096"},{name:"Khadim",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:26.49,lng:74.65,code:"PG048969"},{name:"Watal",country:"India",lang:"Kashmiri",rol3:"kas",pct_christian:7.5,pop:250,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:34.11,lng:74.77,code:"PG049375"},{name:"Mazabi",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:3625e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:30.25,lng:74.91,code:"PG041301"},{name:"Bhangi (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:699e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.15,lng:87.53,code:"PG048219"},{name:"Kora",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:279e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:23.29,lng:86.43,code:"PG041592"},{name:"Persian",country:"Canada",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:46.93,lng:-92.67,code:"PG043458"},{name:"Iranian",country:"Germany",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:175e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:52.51,lng:11.69,code:"PG000259"},{name:"Od",country:"India",lang:"Oadki",rol3:"odk",pct_christian:3.5,pop:166e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:29.22,lng:75.8,code:"PG041691"},{name:"Persian",country:"Turkiye",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:13e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:41.04,lng:28.87,code:"PG024581"},{name:"Batwal",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:3.5,pop:108e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:32.75,lng:74.8,code:"PG041740"},{name:"Chikwa",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:23.97,lng:84.3,code:"PG041852"},{name:"Persian",country:"United Kingdom",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:86e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:51.5,lng:-.17,code:"PG000643"},{name:"Bhattra (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:79e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:30.98,lng:75.73,code:"PG041615"},{name:"Romani, Vlax, Kalderash",country:"Argentina",lang:"Romani, Vlax",rol3:"rmy",pct_christian:3.5,pop:61e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-34.65,lng:-58.56,code:"PG017346"},{name:"Koch",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:51e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:25.68,lng:88.93,code:"PG042084"},{name:"Kotal",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:42500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.42,lng:87.79,code:"PG041946"},{name:"Romani, Vlax",country:"Colombia",lang:"Romani, Vlax",rol3:"rmy",pct_christian:3.5,pop:42e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:4.64,lng:-74.11,code:"PG016290"},{name:"Vaghri",country:"India",lang:"Vaghri",rol3:"vgr",pct_christian:3.5,pop:42e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG042168"},{name:"Arain (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:30.37,lng:75.93,code:"PG048185"},{name:"Bengali",country:"Nepal",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:31e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.42,lng:84.77,code:"PG006178"},{name:"Doai",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:21500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.05,lng:88.57,code:"PG042134"},{name:"Saryara",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:3.5,pop:19500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:33.44,lng:75.87,code:"PG042135"},{name:"Arab",country:"South Africa",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-26.17,lng:28.07,code:"PG015486"},{name:"Punjabi",country:"Singapore",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:15e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:1.36,lng:103.82,code:"PG010717"},{name:"Arab",country:"New Zealand",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-36.89,lng:174.78,code:"PG018478"},{name:"Paharia",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:9200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.37,lng:86.02,code:"PG049049"},{name:"Persian",country:"Indonesia",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:-6.21,lng:106.83,code:"PG050238"},{name:"Jogi (Bagri)",country:"India",lang:"Bagri",rol3:"bgq",pct_christian:3.5,pop:6700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.06,lng:74.08,code:"PG048278"},{name:"Gandhila",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:6600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.34,lng:76.4,code:"PG049080"},{name:"Behera",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:3800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.3,lng:87.44,code:"PG041569"},{name:"Persian",country:"South Korea",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:3500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:37.55,lng:126.99,code:"PG050237"},{name:"Dagi",country:"India",lang:"Pahari-Potwari",rol3:"phr",pct_christian:3.5,pop:3100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:32.6,lng:76.92,code:"PG049401"},{name:"Pinjara (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:3e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:29.48,lng:76.44,code:"PG048167"},{name:"Ratal",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:3.5,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:32.38,lng:75.51,code:"PG049072"},{name:"Daoli",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.97,lng:76.55,code:"PG049445"},{name:"Bhat (Pahari)",country:"India",lang:"Pahari-Potwari",rol3:"phr",pct_christian:3.5,pop:2300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.66,lng:77.43,code:"PG048019"},{name:"Dayare",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.79,lng:77.53,code:"PG049780"},{name:"Arain (Dogri)",country:"India",lang:"Dogri",rol3:"dgo",pct_christian:3.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:32.11,lng:75.88,code:"PG048186"},{name:"Ahluwalia",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:1400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:31.39,lng:75.36,code:"PG049356"}]},Indonesia:{target_upg:237,target_pop:200492130,target_top_langs:["Javanese","Sunda","Malay","Madura"],target_top_religion:"Islam",neighbors:[{name:"Ekagi",country:"Indonesia",lang:"Ekari",rol3:"ekg",pct_christian:75,pop:17e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.83,lng:136.16,code:"PG022913"},{name:"Damal",country:"Indonesia",lang:"Damal",rol3:"uhn",pct_christian:75,pop:19500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.95,lng:137.47,code:"PG022898"},{name:"Waropen",country:"Indonesia",lang:"Waropen",rol3:"wrp",pct_christian:75,pop:9800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.32,lng:136.75,code:"PG023089"},{name:"Kayan River Kenyah",country:"Indonesia",lang:"Kenyah, Mainstream",rol3:"xkl",pct_christian:75,pop:9700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:1.79,lng:115.19,code:"PG022573"},{name:"Wandamen",country:"Indonesia",lang:"Wamesa",rol3:"wad",pct_christian:75,pop:7300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.19,lng:133.96,code:"PG023082"},{name:"Siagha-Yenimu",country:"Indonesia",lang:"Awyu, Edera",rol3:"awy",pct_christian:75,pop:4500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.15,lng:139.79,code:"PG047129"},{name:"Sobei",country:"Indonesia",lang:"Sobei",rol3:"sob",pct_christian:75,pop:3e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.9,lng:138.76,code:"PG023048"},{name:"Turu",country:"Indonesia",lang:"Iau",rol3:"tmu",pct_christian:75,pop:1700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.23,lng:137.67,code:"PG023073"},{name:"Serui-Laut",country:"Indonesia",lang:"Serui-Laut",rol3:"seu",pct_christian:75,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.88,lng:136.25,code:"PG023046"},{name:"Kelinyau Kenyah",country:"Indonesia",lang:"Kenyah, Mainstream",rol3:"xkl",pct_christian:75,pop:1400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:.97,lng:116.7,code:"PG022574"},{name:"Sekar",country:"Indonesia",lang:"Sekar",rol3:"skz",pct_christian:75,pop:900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.68,lng:132.45,code:"PG023040"},{name:"Awera",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:75,pop:80,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.72,lng:136.08,code:"PG022455"},{name:"Mor",country:"Indonesia",lang:"Iha",rol3:"ihp",pct_christian:75,pop:80,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.84,lng:132.97,code:"PG022996"},{name:"Dani, Western",country:"Indonesia",lang:"Dani, Western",rol3:"dnw",pct_christian:62.5,pop:266e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.77,lng:138.31,code:"PG022902"},{name:"Mamasa",country:"Indonesia",lang:"Mamasa",rol3:"mqj",pct_christian:62.5,pop:151e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.93,lng:119.31,code:"PG022838"},{name:"Dani, Mid Grand Valley",country:"Indonesia",lang:"Dani, Mid Grand Valley",rol3:"dnt",pct_christian:62.5,pop:77e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.09,lng:138.94,code:"PG022900"},{name:"Jamden",country:"Indonesia",lang:"Yamdena",rol3:"jmd",pct_christian:62.5,pop:56500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.72,lng:131.43,code:"PG022665"},{name:"Bolongan",country:"Indonesia",lang:"Bulungan",rol3:"blj",pct_christian:62.5,pop:4e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:.38,lng:123.68,code:"PG022556"},{name:"Kedang",country:"Indonesia",lang:"Kedang",rol3:"ksx",pct_christian:62.5,pop:33500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.25,lng:123.76,code:"PG022750"},{name:"Moni",country:"Indonesia",lang:"Moni",rol3:"mnz",pct_christian:62.5,pop:30500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.6,lng:136.94,code:"PG022995"},{name:"Kisar",country:"Indonesia",lang:"Kisar",rol3:"kje",pct_christian:62.5,pop:28500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.79,lng:126.33,code:"PG022683"},{name:"Dani, Lower Grand Valley",country:"Indonesia",lang:"Dani, Lower Grand Valley",rol3:"dni",pct_christian:62.5,pop:28500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.26,lng:138.95,code:"PG022899"},{name:"Dani, Upper Grand Valley",country:"Indonesia",lang:"Dani, Upper Grand Valley",rol3:"dna",pct_christian:62.5,pop:28500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.95,lng:138.86,code:"PG022901"},{name:"Meyah",country:"Indonesia",lang:"Meyah",rol3:"mej",pct_christian:62.5,pop:25e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.07,lng:133.54,code:"PG022988"},{name:"Alune",country:"Indonesia",lang:"Alune",rol3:"alp",pct_christian:62.5,pop:23e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.08,lng:128.41,code:"PG022622"},{name:"Galumpang",country:"Indonesia",lang:"Kalumpang",rol3:"kli",pct_christian:62.5,pop:23e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.51,lng:119.48,code:"PG022810"},{name:"Tabaru",country:"Indonesia",lang:"Tabaru",rol3:"tby",pct_christian:62.5,pop:22500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:.75,lng:127.64,code:"PG022716"},{name:"Bantik",country:"Indonesia",lang:"Malay, Manado",rol3:"xmm",pct_christian:62.5,pop:2e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:1.5,lng:124.84,code:"PG022789"},{name:"Sougb",country:"Indonesia",lang:"Sougb",rol3:"mnx",pct_christian:62.5,pop:19500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.52,lng:134.05,code:"PG022979"},{name:"Nduga",country:"Indonesia",lang:"Nduga",rol3:"ndx",pct_christian:62.5,pop:17e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.03,lng:138.05,code:"PG023007"},{name:"Ngalum",country:"Indonesia",lang:"Ngalum",rol3:"szb",pct_christian:62.5,pop:16500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.84,lng:140.6,code:"PG023008"},{name:"Asmat Casuarina",country:"Indonesia",lang:"Asmat, Casuarina Coast",rol3:"asc",pct_christian:62.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-6.18,lng:138.46,code:"PG022450"},{name:"Kupel",country:"Indonesia",lang:"Ketengban",rol3:"xte",pct_christian:62.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.36,lng:140.41,code:"PG022964"},{name:"Tehit",country:"Indonesia",lang:"Tehit",rol3:"kps",pct_christian:62.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.36,lng:131.98,code:"PG023068"},{name:"Kamoro",country:"Indonesia",lang:"Kamoro",rol3:"kgq",pct_christian:62.5,pop:13e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.51,lng:136.26,code:"PG022935"},{name:"Leboni",country:"Indonesia",lang:"Rampi",rol3:"lje",pct_christian:62.5,pop:12500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.13,lng:120.3,code:"PG022827"},{name:"Dobel",country:"Indonesia",lang:"Dobel",rol3:"kvo",pct_christian:62.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-6.2,lng:134.63,code:"PG022642"},{name:"Meninggo",country:"Indonesia",lang:"Moskona",rol3:"mtj",pct_christian:62.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.57,lng:133.18,code:"PG022990"},{name:"Southeast Marind",country:"Indonesia",lang:"Marind",rol3:"mrz",pct_christian:62.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.04,lng:140.21,code:"PG023051"},{name:"Selaru",country:"Indonesia",lang:"Selaru",rol3:"slu",pct_christian:62.5,pop:11e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.2,lng:130.97,code:"PG022706"},{name:"Amberbaken",country:"Indonesia",lang:"Mpur",rol3:"akc",pct_christian:62.5,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-.73,lng:133.16,code:"PG022444"},{name:"Kulawi",country:"Indonesia",lang:"Moma",rol3:"myl",pct_christian:62.5,pop:9300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.64,lng:119.96,code:"PG022822"},{name:"Muyu North",country:"Indonesia",lang:"Muyu, North",rol3:"kti",pct_christian:62.5,pop:9300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-5.44,lng:140.79,code:"PG023016"},{name:"Iha",country:"Indonesia",lang:"Iha",rol3:"ihp",pct_christian:62.5,pop:9e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.82,lng:132.32,code:"PG022922"},{name:"Wemale, North",country:"Indonesia",lang:"Wemale",rol3:"weo",pct_christian:62.5,pop:8900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.07,lng:128.83,code:"PG022694"},{name:"Seko Padang",country:"Indonesia",lang:"Seko Padang",rol3:"skx",pct_christian:62.5,pop:8100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.21,lng:119.85,code:"PG022864"},{name:"Saparua",country:"Indonesia",lang:"Malay, Ambonese",rol3:"abs",pct_christian:62.5,pop:7800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.55,lng:128.66,code:"PG022704"},{name:"Ansus",country:"Indonesia",lang:"Ansus",rol3:"and",pct_christian:62.5,pop:7500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.72,lng:135.78,code:"PG022446"},{name:"Awyu Asue",country:"Indonesia",lang:"Awyu, Asue",rol3:"psa",pct_christian:62.5,pop:7500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-6.09,lng:139.15,code:"PG022457"},{name:"Ndao",country:"Indonesia",lang:"Dhao",rol3:"nfa",pct_christian:62.5,pop:7100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-10.82,lng:122.66,code:"PG022765"},{name:"Irahutu",country:"Indonesia",lang:"Irarutu",rol3:"irh",pct_christian:62.5,pop:6600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.05,lng:133.32,code:"PG022924"},{name:"Taliabo",country:"Indonesia",lang:"Taliabu",rol3:"tlv",pct_christian:62.5,pop:6e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.81,lng:125.36,code:"PG022717"},{name:"Nimboran",country:"Indonesia",lang:"Malay, Papuan",rol3:"pmy",pct_christian:62.5,pop:5700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.59,lng:140.2,code:"PG023010"},{name:"Tamagario",country:"Indonesia",lang:"Tamagario",rol3:"tcg",pct_christian:62.5,pop:5700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-6.64,lng:138.92,code:"PG023056"},{name:"Tepera",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:5700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.46,lng:140.39,code:"PG023069"},{name:"Hupla",country:"Indonesia",lang:"Hupla",rol3:"hap",pct_christian:62.5,pop:5400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.35,lng:139.17,code:"PG022921"},{name:"Seluwasan",country:"Indonesia",lang:"Seluwasan",rol3:"sws",pct_christian:62.5,pop:5300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.67,lng:131.23,code:"PG022707"},{name:"Sawuy",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:5100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-10.54,lng:121.85,code:"PG023038"},{name:"Babar Tenggara",country:"Indonesia",lang:"Babar, Southeast",rol3:"vbb",pct_christian:62.5,pop:5e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.96,lng:129.8,code:"PG022628"},{name:"Eipomek",country:"Indonesia",lang:"Lik",rol3:"eip",pct_christian:62.5,pop:4900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.36,lng:140.03,code:"PG022912"},{name:"Wambon",country:"Indonesia",lang:"Wambon",rol3:"wms",pct_christian:62.5,pop:4900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-5.47,lng:140.51,code:"PG023080"},{name:"Liana-Seti",country:"Indonesia",lang:"Liana-Seti",rol3:"ste",pct_christian:62.5,pop:4700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.12,lng:129.89,code:"PG022710"},{name:"Muyu South",country:"Indonesia",lang:"Muyu, South",rol3:"kts",pct_christian:62.5,pop:4600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-6.01,lng:140.84,code:"PG023052"},{name:"Kalabra",country:"Indonesia",lang:"Kalabra",rol3:"kzz",pct_christian:62.5,pop:4400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.37,lng:131.65,code:"PG022932"},{name:"Nipsan",country:"Indonesia",lang:"Nipsan",rol3:"nps",pct_christian:62.5,pop:3700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.23,lng:139.04,code:"PG023012"},{name:"Seko, Central",country:"Indonesia",lang:"Seko Tengah",rol3:"sko",pct_christian:62.5,pop:3600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.49,lng:119.82,code:"PG022865"},{name:"Padoe",country:"Indonesia",lang:"Padoe",rol3:"pdo",pct_christian:62.5,pop:3400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.46,lng:121.05,code:"PG022868"},{name:"Nafri",country:"Indonesia",lang:"Malay, Papuan",rol3:"pmy",pct_christian:62.5,pop:3400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.67,lng:140.74,code:"PG023003"},{name:"Pom",country:"Indonesia",lang:"Pom",rol3:"pmo",pct_christian:62.5,pop:3300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.65,lng:135.63,code:"PG023024"},{name:"Kurudu",country:"Indonesia",lang:"Kurudu",rol3:"kjr",pct_christian:62.5,pop:3200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.85,lng:137.01,code:"PG022966"},{name:"Yaosakor Asmat",country:"Indonesia",lang:"Asmat, Yaosakor",rol3:"asy",pct_christian:62.5,pop:3e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-5.62,lng:138.54,code:"PG023099"},{name:"Mairasi",country:"Indonesia",lang:"Mairasi",rol3:"zrs",pct_christian:62.5,pop:2800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.47,lng:134.02,code:"PG022976"},{name:"Marau",country:"Indonesia",lang:"Marau",rol3:"mvr",pct_christian:62.5,pop:2800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.68,lng:135.79,code:"PG022982"},{name:"Somahai",country:"Indonesia",lang:"Momuna",rol3:"mqf",pct_christian:62.5,pop:2700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-5,lng:139.24,code:"PG023049"},{name:"Uria",country:"Indonesia",lang:"Orya",rol3:"ury",pct_christian:62.5,pop:2700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.84,lng:139.74,code:"PG023074"},{name:"Inanwatan",country:"Indonesia",lang:"Suabo",rol3:"szp",pct_christian:62.5,pop:2600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.07,lng:132.16,code:"PG022923"},{name:"Kemberano",country:"Indonesia",lang:"Kemberano",rol3:"bzp",pct_christian:62.5,pop:2500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.37,lng:132.97,code:"PG022933"},{name:"Saberi",country:"Indonesia",lang:"Isirawa",rol3:"srl",pct_christian:62.5,pop:2500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.82,lng:138.48,code:"PG023030"},{name:"Iria",country:"Indonesia",lang:"Kamberau",rol3:"irx",pct_christian:62.5,pop:2300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.45,lng:133.58,code:"PG022926"},{name:"Riantana",country:"Indonesia",lang:"Riantana",rol3:"ran",pct_christian:62.5,pop:2200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.68,lng:138.59,code:"PG023028"},{name:"Ninggrum",country:"Indonesia",lang:"Ninggerum",rol3:"nxr",pct_christian:62.5,pop:2100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-5.3,lng:140.95,code:"PG023011"},{name:"Woi",country:"Indonesia",lang:"Woi",rol3:"wbw",pct_christian:62.5,pop:2100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.64,lng:135.5,code:"PG023092"},{name:"Mekwei",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:2e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.51,lng:140.37,code:"PG022989"},{name:"Seget",country:"Indonesia",lang:"Moi Lemas",rol3:"sbg",pct_christian:62.5,pop:1900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.34,lng:131.17,code:"PG023039"},{name:"Demta",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:1800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.37,lng:140.16,code:"PG022906"},{name:"Berik",country:"Indonesia",lang:"Berik",rol3:"bkl",pct_christian:62.5,pop:1700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.35,lng:138.86,code:"PG022467"},{name:"Bonfia",country:"Indonesia",lang:"Masiwang",rol3:"bnf",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.39,lng:130.57,code:"PG022636"},{name:"Davelor",country:"Indonesia",lang:"Dawera-Daweloor",rol3:"ddw",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.75,lng:130.04,code:"PG022641"},{name:"Dem",country:"Indonesia",lang:"Dem",rol3:"dem",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.73,lng:137.58,code:"PG022904"},{name:"Kamberataro",country:"Indonesia",lang:"Dla",rol3:"kbv",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.54,lng:140.96,code:"PG022934"},{name:"Kaugat",country:"Indonesia",lang:"Atohwaim",rol3:"aqm",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-6.28,lng:138.68,code:"PG022943"},{name:"Moraid",country:"Indonesia",lang:"Moraid",rol3:"msg",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.05,lng:131.88,code:"PG022998"},{name:"Ndom",country:"Indonesia",lang:"Ndom",rol3:"nqm",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.09,lng:138,code:"PG023006"},{name:"Sempan",country:"Indonesia",lang:"Sempan",rol3:"xse",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-5.04,lng:137.68,code:"PG023043"},{name:"Waris",country:"Indonesia",lang:"Waris",rol3:"wrs",pct_christian:62.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.24,lng:140.93,code:"PG023087"},{name:"Northern Asmat",country:"Indonesia",lang:"Asmat, North",rol3:"nks",pct_christian:62.5,pop:1500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.69,lng:138.52,code:"PG023015"},{name:"Semimi",country:"Indonesia",lang:"Semimi",rol3:"etz",pct_christian:62.5,pop:1500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.77,lng:134.45,code:"PG023042"},{name:"Panasuan",country:"Indonesia",lang:"Panasuan",rol3:"psn",pct_christian:62.5,pop:1400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.26,lng:119.65,code:"PG022852"},{name:"Talondo",country:"Indonesia",lang:"Talondo’",rol3:"tln",pct_christian:62.5,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.51,lng:119.34,code:"PG022874"},{name:"Asienara, Buruwai",country:"Indonesia",lang:"Buruwai",rol3:"asi",pct_christian:62.5,pop:1200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.59,lng:133.34,code:"PG022452"},{name:"Duvele",country:"Indonesia",lang:"Duvle",rol3:"duv",pct_christian:62.5,pop:1200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.16,lng:137.97,code:"PG022911"},{name:"Taikat",country:"Indonesia",lang:"Taikat",rol3:"aos",pct_christian:62.5,pop:1200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.86,lng:140.65,code:"PG023055"},{name:"Masela, West",country:"Indonesia",lang:"Masela, West",rol3:"mss",pct_christian:62.5,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.19,lng:129.83,code:"PG022735"},{name:"Kayupulau",country:"Indonesia",lang:"Malay, Papuan",rol3:"pmy",pct_christian:62.5,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.54,lng:140.72,code:"PG022949"},{name:"Papuma",country:"Indonesia",lang:"Papuma",rol3:"ppm",pct_christian:62.5,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.74,lng:135.86,code:"PG023022"},{name:"Wanggom",country:"Indonesia",lang:"Wanggom",rol3:"wng",pct_christian:62.5,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-5.55,lng:140.17,code:"PG023083"},{name:"Dai",country:"Indonesia",lang:"Dai",rol3:"dij",pct_christian:62.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.55,lng:129.69,code:"PG022640"},{name:"Kaburi",country:"Indonesia",lang:"Kaburi",rol3:"uka",pct_christian:62.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.91,lng:132.48,code:"PG022929"},{name:"Kampung Baru",country:"Indonesia",lang:"Kais",rol3:"kzm",pct_christian:62.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.73,lng:132.29,code:"PG022936"},{name:"Puragi",country:"Indonesia",lang:"Puragi",rol3:"pru",pct_christian:62.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.94,lng:132.24,code:"PG023025"},{name:"Tanahmerah",country:"Indonesia",lang:"Tanahmerah",rol3:"tcm",pct_christian:62.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.56,lng:133.17,code:"PG023058"},{name:"Masela, East",country:"Indonesia",lang:"Malay, Ambonese",rol3:"abs",pct_christian:62.5,pop:950,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.14,lng:129.87,code:"PG022644"},{name:"Masela, Central",country:"Indonesia",lang:"Masela, West",rol3:"mss",pct_christian:62.5,pop:950,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.18,lng:129.84,code:"PG022712"},{name:"Mawes",country:"Indonesia",lang:"Mawes",rol3:"mgk",pct_christian:62.5,pop:950,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.36,lng:139.67,code:"PG022987"},{name:"Bonggo",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.31,lng:139.57,code:"PG022471"},{name:"Kaibubu",country:"Indonesia",lang:"Malay, Ambonese",rol3:"abs",pct_christian:62.5,pop:900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.16,lng:128.22,code:"PG022667"},{name:"Keder",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.04,lng:139.05,code:"PG022950"},{name:"Bonefa",country:"Indonesia",lang:"Nisa",rol3:"njs",pct_christian:62.5,pop:800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.34,lng:137.23,code:"PG022470"},{name:"Konda",country:"Indonesia",lang:"Konda",rol3:"knd",pct_christian:62.5,pop:800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.56,lng:132.01,code:"PG022957"},{name:"Lepki",country:"Indonesia",lang:"Lepki",rol3:"lpe",pct_christian:62.5,pop:800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.13,lng:140.48,code:"PG022973"},{name:"Manem",country:"Indonesia",lang:"Manem",rol3:"jet",pct_christian:62.5,pop:800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.97,lng:140.9,code:"PG022978"},{name:"Yelmek",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-7.44,lng:139.16,code:"PG023105"},{name:"Kanum",country:"Indonesia",lang:"Kanum, Ngkâlmpw",rol3:"kcd",pct_christian:62.5,pop:750,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.51,lng:140.84,code:"PG022938"},{name:"Tarunggare",country:"Indonesia",lang:"Tunggare",rol3:"trt",pct_christian:62.5,pop:750,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.28,lng:135.6,code:"PG023063"},{name:"Kwansu",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.57,lng:140.29,code:"PG022968"},{name:"Papasena",country:"Indonesia",lang:"Papasena",rol3:"pas",pct_christian:62.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.8,lng:138.63,code:"PG023021"},{name:"Samarkena",country:"Indonesia",lang:"Samarokena",rol3:"tmj",pct_christian:62.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.83,lng:138.26,code:"PG023031"},{name:"Tarpia",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.37,lng:140.05,code:"PG023062"},{name:"Baburiwa",country:"Indonesia",lang:"Eritai",rol3:"ert",pct_christian:62.5,pop:600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.73,lng:138.12,code:"PG022459"},{name:"Serili",country:"Indonesia",lang:"Malay, Ambonese",rol3:"abs",pct_christian:62.5,pop:600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.11,lng:129.91,code:"PG022708"},{name:"Kaure",country:"Indonesia",lang:"Malay, Papuan",rol3:"pmy",pct_christian:62.5,pop:600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.24,lng:140.11,code:"PG022944"},{name:"Koneraw",country:"Indonesia",lang:"Koneraw",rol3:"kdw",pct_christian:62.5,pop:600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-8.36,lng:138.07,code:"PG022958"},{name:"Wakde",country:"Indonesia",lang:"Mo",rol3:"wkd",pct_christian:62.5,pop:600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.99,lng:138.99,code:"PG023078"},{name:"Sukubatong",country:"Indonesia",lang:"Kimki",rol3:"sbt",pct_christian:62.5,pop:550,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.37,lng:140.91,code:"PG023054"},{name:"Taori-So",country:"Indonesia",lang:"Doutai",rol3:"tds",pct_christian:62.5,pop:475,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.31,lng:138.14,code:"PG023061"},{name:"Yotafa",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:475,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.58,lng:140.68,code:"PG023109"},{name:"Lorang",country:"Indonesia",lang:"Lorang",rol3:"lrn",pct_christian:62.5,pop:450,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-6.3,lng:134.42,code:"PG022685"},{name:"Kirira",country:"Indonesia",lang:"Kirikiri",rol3:"kiy",pct_christian:62.5,pop:450,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.18,lng:137.18,code:"PG022953"},{name:"Saweru",country:"Indonesia",lang:"Saweru",rol3:"swr",pct_christian:62.5,pop:450,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-1.91,lng:136.29,code:"PG023037"},{name:"Yamna",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:450,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.1,lng:139.21,code:"PG023098"},{name:"Masimasi",country:"Indonesia",lang:"Malay, Papuan",rol3:"pmy",pct_christian:62.5,pop:425,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2,lng:139.14,code:"PG022984"},{name:"Sause",country:"Indonesia",lang:"Sause",rol3:"sao",pct_christian:62.5,pop:425,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.24,lng:139.62,code:"PG023036"},{name:"Biksi",country:"Indonesia",lang:"Yetfa",rol3:"yet",pct_christian:62.5,pop:400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-4.04,lng:140.79,code:"PG022469"},{name:"Karas",country:"Indonesia",lang:"Indonesian",rol3:"ind",pct_christian:62.5,pop:400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.45,lng:132.68,code:"PG022940"},{name:"Sasawa",country:"Indonesia",lang:"Kwerba",rol3:"kwe",pct_christian:62.5,pop:400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.18,lng:138.47,code:"PG023034"},{name:"Yeretuar",country:"Indonesia",lang:"Yeretuar",rol3:"gop",pct_christian:62.5,pop:400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.04,lng:134.68,code:"PG023106"},{name:"Foau",country:"Indonesia",lang:"Foau",rol3:"flh",pct_christian:62.5,pop:375,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.99,lng:139.29,code:"PG022917"},{name:"Kosare",country:"Indonesia",lang:"Kosare",rol3:"kiq",pct_christian:62.5,pop:375,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.75,lng:140.22,code:"PG022962"},{name:"Rasawa",country:"Indonesia",lang:"Rasawa",rol3:"rac",pct_christian:62.5,pop:350,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-2.35,lng:136.41,code:"PG023027"},{name:"Elseng",country:"Indonesia",lang:"Elseng",rol3:"mrf",pct_christian:62.5,pop:325,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:-3.1,lng:140.39,code:"PG023000"}]},Bangladesh:{target_upg:276,target_pop:172467300,target_top_langs:["Bengali","Sylheti","Rohingya","Urdu"],target_top_religion:"Islam",neighbors:[{name:"Garo",country:"Bangladesh",lang:"Garo",rol3:"grt",pct_christian:62.5,pop:137e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.79,lng:90.47,code:"PG001167"},{name:"Pangkhu",country:"Bangladesh",lang:"Pangkhua",rol3:"pkh",pct_christian:62.5,pop:5400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:22.85,lng:92.38,code:"PG001197"},{name:"Santal",country:"Bangladesh",lang:"Santhali",rol3:"sat",pct_christian:45,pop:21e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.62,lng:88.79,code:"PG001203"},{name:"Migam",country:"Bangladesh",lang:"Megam",rol3:"mef",pct_christian:45,pop:8700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.09,lng:91,code:"PG001190"},{name:"Southern Chin",country:"Bangladesh",lang:"Chin, Asho",rol3:"csh",pct_christian:45,pop:4600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.96,lng:92.37,code:"PG001206"},{name:"Riang",country:"Bangladesh",lang:"Riang",rol3:"ria",pct_christian:45,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.56,lng:92.27,code:"PG001200"},{name:"Mahale",country:"Bangladesh",lang:"Santhali",rol3:"sat",pct_christian:35,pop:25e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.62,lng:88.78,code:"PG001187"},{name:"Khumi Chin",country:"Bangladesh",lang:"Chin, Khumi",rol3:"cnk",pct_christian:35,pop:2800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.8,lng:92.5,code:"PG001180"},{name:"Lushai",country:"Bangladesh",lang:"Mizo",rol3:"lus",pct_christian:35,pop:2e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:22.67,lng:92.19,code:"PG001185"},{name:"Koch",country:"Bangladesh",lang:"Koch",rol3:"kdq",pct_christian:25,pop:7100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:25.79,lng:89.7,code:"PG001181"},{name:"Munda",country:"Bangladesh",lang:"Mundari",rol3:"unr",pct_christian:25,pop:5800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:25.4,lng:88.78,code:"PG001192"},{name:"Oraon",country:"Bangladesh",lang:"Kurux",rol3:"kru",pct_christian:7.5,pop:89500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:25.86,lng:88.88,code:"PG001195"},{name:"Han Chinese",country:"Bangladesh",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:3500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:23.75,lng:90.4,code:"PG001172"},{name:"Marma",country:"Bangladesh",lang:"Marma",rol3:"rmz",pct_christian:3.5,pop:276e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:22.56,lng:92.24,code:"PG001189"},{name:"Tripuri",country:"Bangladesh",lang:"Kok Borok",rol3:"trp",pct_christian:3.5,pop:142e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:23.74,lng:91.28,code:"PG001215"},{name:"Manipuri",country:"Bangladesh",lang:"Meitei",rol3:"mni",pct_christian:3.5,pop:44e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:24.73,lng:91.74,code:"PG001188"},{name:"Mru",country:"Bangladesh",lang:"Mru",rol3:"mro",pct_christian:3.5,pop:35e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:21.71,lng:92.45,code:"PG001191"},{name:"Bawm",country:"Bangladesh",lang:"Chin, Bawm",rol3:"bgr",pct_christian:3.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.95,lng:92.46,code:"PG001153"},{name:"British",country:"Bangladesh",lang:"English",rol3:"eng",pct_christian:3.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated",lat:23.73,lng:90.42,code:"PG001159"},{name:"Hajong",country:"Bangladesh",lang:"Hajong",rol3:"haj",pct_christian:3.5,pop:9500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:25.11,lng:90.37,code:"PG001170"},{name:"Mara",country:"Bangladesh",lang:"Shendu",rol3:"shl",pct_christian:3.5,pop:2e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:22.2,lng:92.54,code:"PG001204"},{name:"Ansari-Momin (Sadri)",country:"India",lang:"Sadri",rol3:"sck",pct_christian:75,pop:225,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:23.63,lng:85.55,code:"PG048700"},{name:"Pnar",country:"India",lang:"Pnar",rol3:"pbv",pct_christian:62.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:23.84,lng:92.89,code:"PG049638"},{name:"Rathodia",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:62.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:22.3,lng:73.39,code:"PG048948"},{name:"Bagti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:62.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:23.28,lng:86.43,code:"PG049044"},{name:"Khasi",country:"India",lang:"Khasi",rol3:"kha",pct_christian:45,pop:1675e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:25.52,lng:91.79,code:"PG041380"},{name:"Santal (Oriya)",country:"India",lang:"Odia",rol3:"ory",pct_christian:45,pop:176e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.8,lng:87.48,code:"PG046353"},{name:"Madgi",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:76500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.17,lng:79.45,code:"PG041802"},{name:"Mech",country:"India",lang:"Assamese",rol3:"asm",pct_christian:25,pop:73500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:27.1,lng:92.43,code:"PG041900"},{name:"Godari",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:17.69,lng:83.22,code:"PG049205"},{name:"Ghogia",country:"India",lang:"Odia",rol3:"ory",pct_christian:25,pop:800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.15,lng:84.09,code:"PG049008"},{name:"Burmese",country:"Germany",lang:"Burmese",rol3:"mya",pct_christian:25,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:50,lng:8.01,code:"PG033529"},{name:"Arakala",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:375,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:18.11,lng:83.4,code:"PG049160"},{name:"Mala",country:"India",lang:"Telugu",rol3:"tel",pct_christian:17.5,pop:7615e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:16.36,lng:79.51,code:"PG041263"},{name:"Balmiki (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:17.5,pop:1295e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.44,lng:75.81,code:"PG048195"},{name:"Nadia",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:17.5,pop:69500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG041830"},{name:"Ojha",country:"India",lang:"Telugu",rol3:"tel",pct_christian:17.5,pop:46e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.74,lng:78.25,code:"PG041974"},{name:"Goudu",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:17.71,lng:83.25,code:"PG042158"},{name:"Sutar (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:17.5,pop:11e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.4,lng:71.23,code:"PG048301"},{name:"Barmi",country:"India",lang:"Burmese",rol3:"mya",pct_christian:17.5,pop:600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:12.6,lng:92.83,code:"PG048889"},{name:"Bari (Oriya)",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:550,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.86,lng:84.8,code:"PG048204"},{name:"Candhai Maru",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:350,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.48,lng:83.97,code:"PG049648"},{name:"Madiga",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:9445e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:16.51,lng:79.06,code:"PG041253"},{name:"Chakkiliyan",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:1205e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.61,lng:77.71,code:"PG041373"},{name:"Nadua Shabar",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:659e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:19.9,lng:85.17,code:"PG049502"},{name:"Senva",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:12.5,pop:161e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG041682"},{name:"Bawa Dedh",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:12.5,pop:34500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG042035"},{name:"Panchama",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:7800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:17.01,lng:81.79,code:"PG042086"},{name:"Padigarajulu",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:15.58,lng:79.51,code:"PG049165"},{name:"Kuda",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.83,lng:85.53,code:"PG049016"},{name:"Gagra",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:12.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.84,lng:75.86,code:"PG049079"},{name:"Tharua",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:650,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.49,lng:86.93,code:"PG049031"},{name:"Dusadh",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:7.5,pop:691e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:25.23,lng:85.31,code:"PG041266"},{name:"Santal (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:335e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:24,lng:88.81,code:"PG046352"},{name:"Pano",country:"India",lang:"Odia",rol3:"ory",pct_christian:7.5,pop:1735e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:21.04,lng:85.14,code:"PG041345"},{name:"Munda (Assamese)",country:"India",lang:"Assamese",rol3:"asm",pct_christian:7.5,pop:1235e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:26.97,lng:94.06,code:"PG048248"},{name:"Santal (Assamese)",country:"India",lang:"Assamese",rol3:"asm",pct_christian:7.5,pop:697e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.55,lng:92.86,code:"PG046151"},{name:"Bhangi (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:6e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.76,lng:72.13,code:"PG048218"},{name:"Lodha, Savar",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:148e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.3,lng:87.43,code:"PG041753"},{name:"Telugu",country:"Malaysia",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:137e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:3.07,lng:101.62,code:"PG009356"},{name:"Ghanchi",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:129e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.02,lng:73.03,code:"PG041585"},{name:"Mishmi",country:"India",lang:"Assamese",rol3:"asm",pct_christian:7.5,pop:51500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:27.99,lng:96.59,code:"PG042163"},{name:"Badaik",country:"India",lang:"Sadri",rol3:"sck",pct_christian:7.5,pop:47500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.23,lng:84.86,code:"PG042092"},{name:"Parhaiya",country:"India",lang:"Sadri",rol3:"sck",pct_christian:7.5,pop:38e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.97,lng:84.3,code:"PG041928"},{name:"Mala Dasari",country:"India",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:30500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:15.53,lng:78,code:"PG041919"},{name:"Kela",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:29e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:20.46,lng:85.67,code:"PG042031"},{name:"Baiti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:27e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:23.24,lng:88.24,code:"PG042100"},{name:"Chhetri",country:"India",lang:"Nepali",rol3:"npi",pct_christian:7.5,pop:17e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.34,lng:89.24,code:"PG041565"},{name:"Thoti",country:"India",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:19.26,lng:79.01,code:"PG042167"},{name:"Bhandari",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:6500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.56,lng:73.13,code:"PG041414"},{name:"Ellamalawar",country:"India",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:6300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:18.37,lng:76.49,code:"PG042033"},{name:"Gandla",country:"India",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:2e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:15.61,lng:79.51,code:"PG041598"},{name:"Sorgir",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:7.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.34,lng:76.39,code:"PG049092"},{name:"Telugu",country:"Singapore",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:850,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:1.36,lng:103.82,code:"PG010724"},{name:"Gudugudupandi",country:"India",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:650,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.88,lng:78.56,code:"PG049883"},{name:"Banai",country:"India",lang:"Assamese",rol3:"asm",pct_christian:7.5,pop:650,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:25.61,lng:90.3,code:"PG049560"},{name:"Patni Vankar",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:325,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.04,lng:72.6,code:"PG049948"},{name:"Yadava (Bhojpuri)",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:3.5,pop:8465e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:25.05,lng:84.06,code:"PG046313"},{name:"Chamar (Bhojpuri)",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:3.5,pop:455e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:25.65,lng:84.13,code:"PG046025"},{name:"Mazabi",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:3625e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:30.25,lng:74.91,code:"PG041301"},{name:"Mahyavanshi",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:3.5,pop:2305e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.73,lng:71.51,code:"PG041327"},{name:"Gujarati",country:"Pakistan",lang:"Gujarati",rol3:"guj",pct_christian:3.5,pop:146e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.88,lng:70.3,code:"PG006352"},{name:"Ganda",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:128e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.6,lng:83.11,code:"PG041366"},{name:"Ho",country:"India",lang:"Ho",rol3:"hoc",pct_christian:3.5,pop:118e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:22.28,lng:85.76,code:"PG041399"},{name:"Gond (Oriya)",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:856e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.12,lng:83.68,code:"PG048258"},{name:"Kondara",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:702e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.46,lng:85.67,code:"PG041421"},{name:"Bhangi (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:699e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.15,lng:87.53,code:"PG048219"},{name:"Gond (Assamese)",country:"India",lang:"Assamese",rol3:"asm",pct_christian:3.5,pop:55e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:26.95,lng:94.05,code:"PG048259"},{name:"Adi Andhra",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:344e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:17.06,lng:81.75,code:"PG049197"},{name:"Lohara",country:"India",lang:"Sadri",rol3:"sck",pct_christian:3.5,pop:324e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:25.14,lng:87.24,code:"PG041542"},{name:"Kora",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:279e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:23.29,lng:86.43,code:"PG041592"},{name:"Beda Jangam",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:234e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:15.11,lng:76.53,code:"PG041759"},{name:"Chakma",country:"India",lang:"Chakma",rol3:"ccp",pct_christian:3.5,pop:205e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Folk",lat:23.41,lng:92.17,code:"PG041710"},{name:"Mala Sale",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:169e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:19.26,lng:79.01,code:"PG041624"},{name:"Domban",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:163e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.35,lng:78.88,code:"PG042124"},{name:"Gurung",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:147e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:26.84,lng:90.63,code:"PG041693"},{name:"Nepali",country:"Bhutan",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:131e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.13,lng:89.79,code:"PG042388"},{name:"Beldar (Bhojpuri)",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:3.5,pop:115e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:26.35,lng:83.71,code:"PG048209"},{name:"Kotia",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:104e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:17.9,lng:82.7,code:"PG041783"},{name:"Rajbhar",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:3.5,pop:89e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.68,lng:80.47,code:"PG042085"},{name:"Bhattra (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:79e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:30.98,lng:75.73,code:"PG041615"},{name:"Bania, Brittial",country:"India",lang:"Assamese",rol3:"asm",pct_christian:3.5,pop:71500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.14,lng:91.55,code:"PG041797"},{name:"Damai (Nepali)",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:66500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.66,lng:89.08,code:"PG041874"},{name:"Kunbi (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:3.5,pop:64e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.24,lng:70.76,code:"PG046238"},{name:"Mukha Dhora",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:56e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:17.9,lng:82.7,code:"PG042032"},{name:"Koch",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:51e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:25.68,lng:88.93,code:"PG042084"},{name:"Bagheti",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:48e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:20.46,lng:85.67,code:"PG041964"},{name:"Kotal",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:42500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.42,lng:87.79,code:"PG041946"},{name:"Arain (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:30.37,lng:75.93,code:"PG048185"},{name:"Omanatya",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:34500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:18.81,lng:82.76,code:"PG042004"},{name:"Mala Jangam",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:34e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:18.36,lng:76.78,code:"PG041898"},{name:"Burmese",country:"Malaysia",lang:"Burmese",rol3:"mya",pct_christian:3.5,pop:32500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:3.07,lng:101.64,code:"PG018483"},{name:"Binjhia",country:"India",lang:"Sadri",rol3:"sck",pct_christian:3.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22,lng:82.34,code:"PG042025"},{name:"Bariki",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:19.64,lng:84.68,code:"PG041881"},{name:"Bargunda",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:31500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.38,lng:75.65,code:"PG042022"},{name:"Sudugadu Siddha",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:31500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:12.99,lng:76.11,code:"PG042143"},{name:"Bengali",country:"Nepal",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:31e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.42,lng:84.77,code:"PG006178"},{name:"Gond (Sadri) ",country:"India",lang:"Sadri",rol3:"sck",pct_christian:3.5,pop:30500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.17,lng:85,code:"PG048262"},{name:"Pap",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:23500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:21.21,lng:83.34,code:"PG042122"},{name:"Doai",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:21500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.05,lng:88.57,code:"PG042134"},{name:"Byagara",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:19e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:17.88,lng:78.22,code:"PG041825"},{name:"Konda Kapu",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:18500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:17.19,lng:82.01,code:"PG041904"},{name:"Sarki",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:18e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.96,lng:88.33,code:"PG042059"},{name:"Punjabi",country:"Singapore",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:15e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:1.36,lng:103.82,code:"PG010717"},{name:"Telugu",country:"Sri Lanka",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:6.91,lng:79.9,code:"PG006443"},{name:"Pentia",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:12e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:18.81,lng:82.76,code:"PG042165"},{name:"Panka (Oriya)",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:19.21,lng:82.51,code:"PG049026"},{name:"Gorait",country:"India",lang:"Sadri",rol3:"sck",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:23.21,lng:85.33,code:"PG042169"},{name:"Jaggali",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:9700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:19.64,lng:84.68,code:"PG042152"},{name:"Paharia",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:9200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.37,lng:86.02,code:"PG049049"},{name:"Madiga Dasu",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:7400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:16.39,lng:80.11,code:"PG049163"},{name:"Assamese",country:"Bhutan",lang:"Assamese",rol3:"asm",pct_christian:3.5,pop:7300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:26.87,lng:90.38,code:"PG001218"},{name:"Gandhila",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:6600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.34,lng:76.4,code:"PG049080"},{name:"Mali",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:6500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:17.9,lng:82.7,code:"PG047911"},{name:"Dakkala",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:4600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:18.39,lng:83.94,code:"PG041849"},{name:"Behera",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:3800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.3,lng:87.44,code:"PG041569"},{name:"Thogataveera Kshatriya",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:3100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:15.4,lng:77.89,code:"PG049753"},{name:"Kanda",country:"India",lang:"Odia",rol3:"ory",pct_christian:3.5,pop:3100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.9,lng:91.74,code:"PG049042"},{name:"Pinjara (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:3e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:29.48,lng:76.44,code:"PG048167"},{name:"Daoli",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.97,lng:76.55,code:"PG049445"},{name:"Reddi Dora",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:2600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:17.68,lng:83.21,code:"PG049166"},{name:"Ahluwalia",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:1400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:31.39,lng:75.36,code:"PG049356"},{name:"Bhagotulu",country:"India",lang:"Telugu",rol3:"tel",pct_christian:3.5,pop:450,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:16.89,lng:81.4,code:"PG049859"},{name:"Kusunda",country:"Nepal",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:27.17,lng:85.13,code:"PG049141"}]},China:{target_upg:444,target_pop:139759490,target_top_langs:["Chinese, Xiang","Chinese, Mandarin","Uyghur","Mongolian, Peripheral"],target_top_religion:"Ethnic Religions",neighbors:[{name:"Lemo",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:75,pop:2300,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:25.84,lng:98.78,code:"PG007252"},{name:"Ayi",country:"China",lang:"Lisu",rol3:"lis",pct_christian:62.5,pop:2400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:27.14,lng:98.85,code:"PG006671"},{name:"Xiandao",country:"China",lang:"Achang",rol3:"acn",pct_christian:62.5,pop:200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.52,lng:97.88,code:"PG022125"},{name:"Hkauri",country:"China",lang:"Tibetan, Central",rol3:"bod",pct_christian:62.5,pop:40,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.55,lng:97.6,code:"PG022169"},{name:"Gha-Mu",country:"China",lang:"Miao, Small Flowery",rol3:"sfm",pct_christian:45,pop:171e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.53,lng:105.11,code:"PG006745"},{name:"Lipo, Eastern",country:"China",lang:"Lipo",rol3:"lpo",pct_christian:45,pop:139e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.84,lng:102.3,code:"PG007265"},{name:"Rawang",country:"China",lang:"Rawang",rol3:"raw",pct_christian:45,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:27.73,lng:98.31,code:"PG023113"},{name:"Lisu",country:"China",lang:"Lisu",rol3:"lis",pct_christian:35,pop:837e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.84,lng:99.07,code:"PG007267"},{name:"A-Hmao",country:"China",lang:"Miao, Large Flowery",rol3:"hmd",pct_christian:35,pop:644e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:27.11,lng:103.41,code:"PG006652"},{name:"Indonesian",country:"China",lang:"Indonesian",rol3:"ind",pct_christian:35,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:19.24,lng:110.15,code:"PG007207"},{name:"Maru",country:"China",lang:"Lhao Vo",rol3:"mhx",pct_christian:25,pop:31e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.33,lng:98.43,code:"PG007279"},{name:"Jingpo",country:"China",lang:"Jingpho",rol3:"kac",pct_christian:25,pop:29500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.41,lng:97.86,code:"PG007217"},{name:"Laka",country:"China",lang:"Nasu, Wusa",rol3:"yig",pct_christian:25,pop:9700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.04,lng:102.28,code:"PG007241"},{name:"Lagou",country:"China",lang:"Nasu, Wusa",rol3:"yig",pct_christian:25,pop:8400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:27.23,lng:104.52,code:"PG007237"},{name:"Lashi",country:"China",lang:"Lacid",rol3:"lsi",pct_christian:25,pop:2600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.06,lng:98.66,code:"PG007248"},{name:"Nasu, Eastern",country:"China",lang:"Nasu, Wusa",rol3:"yig",pct_christian:17.5,pop:65e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:26.07,lng:102.78,code:"PG007326"},{name:"Nasu, Wusa",country:"China",lang:"Nasu, Wusa",rol3:"yig",pct_christian:17.5,pop:412e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.27,lng:103.71,code:"PG007426"},{name:"Naluo",country:"China",lang:"Nuosu",rol3:"iii",pct_christian:17.5,pop:62500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:25.83,lng:102.4,code:"PG007323"},{name:"Minglang",country:"China",lang:"Sani",rol3:"ysn",pct_christian:17.5,pop:2500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.77,lng:102.27,code:"PG007303"},{name:"Lawa",country:"China",lang:"Lawa, Western",rol3:"lcp",pct_christian:12.5,pop:67500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:23.84,lng:99.19,code:"PG007250"},{name:"Nu",country:"China",lang:"Nusu",rol3:"nuf",pct_christian:12.5,pop:37e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:27.08,lng:98.94,code:"PG007338"},{name:"Guopu",country:"China",lang:"Nasu, Wusa",rol3:"yig",pct_christian:12.5,pop:26500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:27.31,lng:104.13,code:"PG006753"},{name:"Bela",country:"China",lang:"Pela",rol3:"bxd",pct_christian:12.5,pop:4800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:24.61,lng:98.31,code:"PG006684"},{name:"Han Chinese, Mandarin",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:90145e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Agnosticism",lat:37.37,lng:110.73,code:"PG006802"},{name:"Han Chinese, Wu",country:"China",lang:"Chinese, Wu",rol3:"wuu",pct_christian:7.5,pop:9253e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:29.71,lng:119.11,code:"PG006806"},{name:"Han Chinese, Cantonese",country:"China",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:6477e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.94,lng:111.32,code:"PG006808"},{name:"Han Chinese, Jinyu",country:"China",lang:"Chinese, Jinyu",rol3:"cjy",pct_christian:7.5,pop:6031e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Agnosticism",lat:38.74,lng:111.39,code:"PG006801"},{name:"Han Chinese, Xiang",country:"China",lang:"Chinese, Xiang",rol3:"hsn",pct_christian:7.5,pop:423e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Agnosticism",lat:27.97,lng:111.27,code:"PG006807"},{name:"Han Chinese, Gan",country:"China",lang:"Chinese, Gan",rol3:"gan",pct_christian:7.5,pop:4128e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Agnosticism",lat:28.29,lng:115.02,code:"PG006798"},{name:"Han Chinese, Min Nan",country:"China",lang:"Chinese, Min Nan",rol3:"nan",pct_christian:7.5,pop:3555e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Agnosticism",lat:23.42,lng:115.05,code:"PG006805"},{name:"Han Chinese, Min Bei",country:"China",lang:"Chinese, Min Bei",rol3:"mnp",pct_christian:7.5,pop:113e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:26.93,lng:117.92,code:"PG006803"},{name:"Han Chinese, Min Dong",country:"China",lang:"Chinese, Min Dong",rol3:"cdo",pct_christian:7.5,pop:106e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:26.54,lng:119.2,code:"PG006804"},{name:"Han Chinese, Puxian",country:"China",lang:"Chinese, Pu-Xian",rol3:"cpx",pct_christian:7.5,pop:31e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:25.37,lng:118.86,code:"PG007003"},{name:"Lahu",country:"China",lang:"Lahu",rol3:"lhu",pct_christian:7.5,pop:59e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:22.76,lng:99.83,code:"PG007238"},{name:"Wumeng",country:"China",lang:"Nasu, Wusa",rol3:"yig",pct_christian:7.5,pop:61500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:27.46,lng:103.62,code:"PG022123"},{name:"Puwa",country:"China",lang:"Phowa, Hlepho",rol3:"yhl",pct_christian:7.5,pop:5e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:23.46,lng:103.33,code:"PG022103"},{name:"Achang",country:"China",lang:"Achang",rol3:"acn",pct_christian:7.5,pop:38500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:24.64,lng:98.23,code:"PG006653"},{name:"Drung",country:"China",lang:"Drung",rol3:"duu",pct_christian:7.5,pop:18e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:27.87,lng:98.32,code:"PG006724"},{name:"Depo",country:"China",lang:"Nasu, Wusa",rol3:"yig",pct_christian:7.5,pop:9900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.39,lng:101.95,code:"PG006723"},{name:"Tuwo",country:"China",lang:"Lisu",rol3:"lis",pct_christian:7.5,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:26.05,lng:98.67,code:"PG007417"},{name:"Han Chinese, Huizhou",country:"China",lang:"Chinese, Huizhou",rol3:"czh",pct_christian:3.5,pop:542e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:29.62,lng:118.21,code:"PG006800"},{name:"Han Chinese, Min Zhong",country:"China",lang:"Chinese, Min Zhong",rol3:"czo",pct_christian:3.5,pop:963e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:26.14,lng:117.51,code:"PG006979"},{name:"Chuanlan",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:416e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:26.86,lng:105.07,code:"PG006713"},{name:"Han Chinese, Waxianghua",country:"China",lang:"Waxianghua",rol3:"wxa",pct_christian:3.5,pop:385e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:28.71,lng:110.24,code:"PG007076"},{name:"Xibe",country:"China",lang:"Xibe",rol3:"sjo",pct_christian:3.5,pop:151e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:41.78,lng:123.3,code:"PG007432"},{name:"Zaiwa",country:"China",lang:"Zaiwa",rol3:"atb",pct_christian:3.5,pop:142e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:24.36,lng:98.39,code:"PG007451"},{name:"Nosu, Tianba",country:"China",lang:"Nuosu",rol3:"iii",pct_christian:3.5,pop:138e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:28.87,lng:102.87,code:"PG022214"},{name:"Manchu",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:132e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:47.66,lng:124.56,code:"PG007275"},{name:"Naisu",country:"China",lang:"Yi, Wuding-Luquan",rol3:"ywq",pct_christian:3.5,pop:82e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:25.49,lng:101.86,code:"PG007322"},{name:"Maonan",country:"China",lang:"Maonan",rol3:"mmd",pct_christian:3.5,pop:79e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Daoism",lat:24.99,lng:108.02,code:"PG007278"},{name:"Michi",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:49e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:25.78,lng:102.18,code:"PG007300"},{name:"Muji, Southern",country:"China",lang:"Muji, Southern",rol3:"ymc",pct_christian:3.5,pop:32500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:23.09,lng:103.31,code:"PG007319"},{name:"Neisu",country:"China",lang:"Akha",rol3:"ahk",pct_christian:3.5,pop:28e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.17,lng:100.64,code:"PG007334"},{name:"Sansu",country:"China",lang:"Hlersu",rol3:"hle",pct_christian:3.5,pop:18500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:23.55,lng:102.25,code:"PG007382"},{name:"Laopang",country:"China",lang:"Laopang",rol3:"lbg",pct_christian:3.5,pop:18e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:23.78,lng:99.39,code:"PG007247"},{name:"Achang, Husa",country:"China",lang:"Achang",rol3:"acn",pct_christian:3.5,pop:8500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Mahayana",lat:24.45,lng:97.87,code:"PG006654"},{name:"Gouzou",country:"China",lang:"Nasu, Wusa",rol3:"yig",pct_christian:3.5,pop:6400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:26.92,lng:104.5,code:"PG006750"},{name:"Meng",country:"China",lang:"Hani",rol3:"hni",pct_christian:3.5,pop:5300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.89,lng:101.81,code:"PG007280"},{name:"Zauzou",country:"China",lang:"Zauzou",rol3:"zal",pct_christian:3.5,pop:3800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:26.37,lng:99.01,code:"PG007453"},{name:"Naxi, Northern",country:"China",lang:"Naxi",rol3:"nxq",pct_christian:3.5,pop:3500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Tibetan",lat:28.78,lng:98.73,code:"PG022209"},{name:"Duoluo",country:"China",lang:"Duoluo",rol3:"giw",pct_christian:3.5,pop:2100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:25.71,lng:105.63,code:"PG022159"},{name:"Fuma",country:"China",lang:"Hlai",rol3:"lic",pct_christian:3.5,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:19.33,lng:108.75,code:"PG006737"},{name:"Thmaun",country:"Cambodia",lang:"Undetermined",rol3:"und",pct_christian:45,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:13.12,lng:106.43,code:"PG022376"},{name:"Hmong",country:"Vietnam",lang:"Hmong Daw",rol3:"mww",pct_christian:35,pop:133e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.86,lng:103.59,code:"PG011142"},{name:"Korean",country:"Thailand",lang:"Korean",rol3:"kor",pct_christian:35,pop:20500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:13.76,lng:100.56,code:"PG010874"},{name:"Rukai",country:"Taiwan",lang:"Rukai",rol3:"dru",pct_christian:35,pop:13500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:22.82,lng:120.83,code:"PG007516"},{name:"Vietnamese",country:"Thailand",lang:"Vietnamese",rol3:"vie",pct_christian:25,pop:119e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:13.76,lng:100.56,code:"PG010933"},{name:"Korean",country:"Argentina",lang:"Korean",rol3:"kor",pct_christian:25,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-34.65,lng:-58.56,code:"PG046918"},{name:"Korean",country:"Singapore",lang:"Korean",rol3:"kor",pct_christian:25,pop:24500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:1.36,lng:103.82,code:"PG010710"},{name:"Sediq",country:"Taiwan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:25,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:24.02,lng:121.35,code:"PG007536"},{name:"Korean",country:"Taiwan",lang:"Korean",rol3:"kor",pct_christian:25,pop:7e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:22.63,lng:120.33,code:"PG007526"},{name:"Lanten",country:"Laos",lang:"Kim Mun",rol3:"mji",pct_christian:25,pop:6300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:21.92,lng:101.91,code:"PG020923"},{name:"Korean",country:"Northern Mariana Islands",lang:"Korean",rol3:"kor",pct_christian:25,pop:1600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:15.91,lng:145.61,code:"PG050228"},{name:"Korean",country:"Australia",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:167e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-33.85,lng:151.03,code:"PG021625"},{name:"Korean",country:"Canada",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:162e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:46.93,lng:-92.67,code:"PG043424"},{name:"Russian",country:"Moldova",lang:"Russian",rol3:"rus",pct_christian:17.5,pop:133e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.13,lng:29.34,code:"PG000867"},{name:"Adi Minyong",country:"India",lang:"Adi",rol3:"adi",pct_christian:17.5,pop:5e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:28.05,lng:94.43,code:"PG041950"},{name:"Korean",country:"United Kingdom",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:51.5,lng:-.17,code:"PG000650"},{name:"Korean",country:"New Zealand",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:38e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-36.89,lng:174.78,code:"PG047592"},{name:"Korean",country:"Hong Kong",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:8600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:22.38,lng:114.13,code:"PG050601"},{name:"Korean",country:"Paraguay",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-25.3,lng:-57.56,code:"PG017246"},{name:"Korean",country:"Guam",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:4300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:13.44,lng:144.78,code:"PG050301"},{name:"Korean",country:"Dominican Republic",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:18.48,lng:-69.91,code:"PG022409"},{name:"Korean",country:"South Korea",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:5025e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:36.38,lng:127.82,code:"PG048088"},{name:"Korean",country:"United States",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:1095e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:38.77,lng:-98.89,code:"PG043310"},{name:"Korean",country:"Uzbekistan",lang:"Russian",rol3:"rus",pct_christian:12.5,pop:254e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:41.31,lng:69.26,code:"PG024684"},{name:"Han Chinese",country:"New Zealand",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:214e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-36.89,lng:174.78,code:"PG018495"},{name:"Korean",country:"Kazakhstan",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:132e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:43.29,lng:76.91,code:"PG024281"},{name:"Nikkei, Brazilian",country:"Japan",lang:"Japanese",rol3:"jpn",pct_christian:12.5,pop:104e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Shinbutso-shugo",lat:35.13,lng:136.92,code:"PG049262"},{name:"Korean",country:"Mozambique",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:36e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-25.89,lng:32.57,code:"PG015382"},{name:"Korean",country:"Madagascar",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:18e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-18.91,lng:47.53,code:"PG015310"},{name:"Blang",country:"Myanmar",lang:"Blang",rol3:"blr",pct_christian:12.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:21.5,lng:100.17,code:"PG022041"},{name:"Hsifan",country:"Myanmar",lang:"Tibetan, Central",rol3:"bod",pct_christian:12.5,pop:5600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Tibetan",lat:27.24,lng:97.64,code:"PG009445"},{name:"Puroik",country:"India",lang:"Adi",rol3:"adi",pct_christian:12.5,pop:4300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:27.43,lng:92.97,code:"PG049739"},{name:"Korean",country:"Honduras",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:150,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:14.08,lng:-87.2,code:"PG024788"},{name:"Han Chinese",country:"Kiribati",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:125,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:1.37,lng:173.11,code:"PG009087"},{name:"Han Chinese",country:"Tuvalu",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-8.5,lng:179.19,code:"PG018319"},{name:"Han Chinese, Cantonese",country:"Hong Kong",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:6255e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.38,lng:114.13,code:"PG050587"},{name:"Han Chinese, Mandarin",country:"Taiwan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:4635e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:24.86,lng:121.36,code:"PG007518"},{name:"Han Chinese, Mandarin",country:"United States",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:2345e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:45.74,lng:-114.4,code:"PG043261"},{name:"Han Chinese, Cantonese",country:"Malaysia",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:19e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:3.65,lng:101.56,code:"PG046594"},{name:"Han Chinese",country:"Vietnam",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:162e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.04,lng:106.1,code:"PG033473"},{name:"Han Chinese, Mandarin",country:"Canada",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:1055e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:46.93,lng:-92.67,code:"PG043404"},{name:"Khmu, Ou",country:"Laos",lang:"Khmu",rol3:"kjg",pct_christian:7.5,pop:817e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:19.8,lng:102.58,code:"PG020913"},{name:"Han Chinese, Cantonese",country:"Vietnam",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:784e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.03,lng:105.82,code:"PG046444"},{name:"Han Chinese, Mandarin",country:"Japan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:736e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:35.72,lng:137.14,code:"PG048925"},{name:"Han Chinese",country:"Australia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:67e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-33.75,lng:144.18,code:"PG033443"},{name:"Han Chinese, Cantonese",country:"Macao",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:663e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.16,lng:113.56,code:"PG050584"},{name:"Han Chinese",country:"Myanmar",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:65e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:16.85,lng:96.15,code:"PG022047"},{name:"Han Chinese, Cantonese",country:"Singapore",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:511e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020725"},{name:"Han Chinese, Mandarin",country:"Singapore",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:467e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020728"},{name:"Han Chinese",country:"Brazil",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:28e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-23.17,lng:-45.54,code:"PG016864"},{name:"Han Chinese, Mandarin",country:"United Arab Emirates",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:202e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:24.67,lng:55.14,code:"PG049240"},{name:"Han Chinese",country:"United Kingdom",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:196e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:51.5,lng:-.17,code:"PG043796"},{name:"Han Chinese, Mandarin",country:"North Korea",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:184e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:39,lng:125.92,code:"PG007584"},{name:"Vietnamese",country:"Australia",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:174e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-33.38,lng:143.4,code:"PG008087"},{name:"Han Chinese",country:"France",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:172e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:48.2,lng:2.3,code:"PG023131"},{name:"Han Chinese, Mandarin",country:"Hong Kong",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:163e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.38,lng:114.13,code:"PG050605"},{name:"Han Chinese, Cantonese",country:"Peru",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:117e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-12.05,lng:-77.02,code:"PG017533"},{name:"Han Chinese, Mandarin",country:"Saudi Arabia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:24.68,lng:46.74,code:"PG049246"},{name:"Han Chinese",country:"Tanzania",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:106e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-6.83,lng:39.25,code:"PG014935"},{name:"Han Chinese",country:"Italy",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:1e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:44.22,lng:10.5,code:"PG000330"},{name:"Han Chinese",country:"South Korea",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:94500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:36.58,lng:127.64,code:"PG007589"},{name:"Han Chinese, Mandarin",country:"Tajikistan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:38.57,lng:68.77,code:"PG049245"},{name:"Han Chinese",country:"Madagascar",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:78500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-18.91,lng:47.53,code:"PG015301"},{name:"Han Chinese",country:"Panama",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:68500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:8.5,lng:-82.42,code:"PG024831"},{name:"Han Chinese, Mandarin",country:"Egypt",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:65500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:30.05,lng:31.32,code:"PG050167"},{name:"Han Chinese, Mandarin",country:"Russian Federation",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:62e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:51.07,lng:119.29,code:"PG048686"},{name:"Han Chinese",country:"Pakistan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:6e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:31.52,lng:74.34,code:"PG006354"},{name:"Han Chinese",country:"Argentina",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:52500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-34.65,lng:-58.56,code:"PG042923"},{name:"Han Chinese",country:"Germany",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:51e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:51.84,lng:11.14,code:"PG023132"},{name:"Korean",country:"Brazil",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:48500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-23.57,lng:-46.57,code:"PG016974"},{name:"Korean",country:"Germany",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:50.12,lng:8.67,code:"PG000249"},{name:"Han Chinese",country:"Trinidad and Tobago",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:44500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:10.68,lng:-61.38,code:"PG016447"},{name:"Han Chinese",country:"Cuba",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:40500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:23.07,lng:-82.32,code:"PG016302"},{name:"Iu Mien",country:"United States",lang:"Iu Mien",rol3:"ium",pct_christian:7.5,pop:38500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:38.75,lng:-111.78,code:"PG043283"},{name:"Han Chinese",country:"Zambia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:38500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Confucianism",lat:-15.4,lng:28.31,code:"PG015577"},{name:"Han Chinese",country:"Laos",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:36500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:17.97,lng:102.64,code:"PG009111"},{name:"Han Chinese",country:"Netherlands",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:30500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:52.33,lng:4.86,code:"PG023133"},{name:"Han Chinese, Cantonese",country:"Venezuela",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:10.48,lng:-66.88,code:"PG016472"},{name:"Russian",country:"Australia",lang:"Russian",rol3:"rus",pct_christian:7.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.52,lng:142.46,code:"PG008063"},{name:"Han Chinese",country:"Greece",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:28e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:38.01,lng:23.77,code:"PG048769"},{name:"Han Chinese, Mandarin",country:"Venezuela",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:27e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:10.48,lng:-66.88,code:"PG016471"},{name:"Han Chinese",country:"Mexico",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:26e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:20.65,lng:-101.28,code:"PG024949"},{name:"Han Chinese",country:"Portugal",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:26e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:38.77,lng:-9.25,code:"PG000483"},{name:"Han Chinese, Mandarin",country:"Belgium",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:21500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:50.85,lng:4.38,code:"PG000057"},{name:"Han Chinese",country:"Mozambique",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:21e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Confucianism",lat:-25.92,lng:32.59,code:"PG015380"},{name:"Korean",country:"Kyrgyzstan",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:19500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:42.88,lng:74.63,code:"PG024358"},{name:"Korean",country:"Iran",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:17500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:35.7,lng:51.38,code:"PG024174"},{name:"Han Chinese, Mandarin",country:"Hungary",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:47.48,lng:19.11,code:"PG042235"}]},Japan:{target_upg:32,target_pop:120582800,target_top_langs:["Japanese","Okinawan, Central","Japanese Sign Language","Burmese"],target_top_religion:"Buddhism",neighbors:[{name:"Nikkei, Brazilian",country:"Japan",lang:"Japanese",rol3:"jpn",pct_christian:12.5,pop:104e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Shinbutso-shugo",lat:35.13,lng:136.92,code:"PG049262"},{name:"Han Chinese, Mandarin",country:"Japan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:736e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:35.72,lng:137.14,code:"PG048925"},{name:"Miyako-Irabu",country:"Japan",lang:"Japanese",rol3:"jpn",pct_christian:3.5,pop:65500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Shinbutso-shugo",lat:24.77,lng:125.33,code:"PG047515"},{name:"Anglo Indian",country:"India",lang:"English",rol3:"eng",pct_christian:62.5,pop:398e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:12.95,lng:77.6,code:"PG041386"},{name:"Indian - Christian",country:"South Africa",lang:"English",rol3:"eng",pct_christian:62.5,pop:31e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-29.84,lng:30.93,code:"PG048045"},{name:"Euronesian",country:"Samoa",lang:"English",rol3:"eng",pct_christian:62.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-13.85,lng:-171.8,code:"PG018323"},{name:"British",country:"Tanzania",lang:"English",rol3:"eng",pct_christian:62.5,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-6.83,lng:39.25,code:"PG014914"},{name:"British",country:"Zimbabwe",lang:"English",rol3:"eng",pct_christian:62.5,pop:5800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-17.83,lng:31.03,code:"PG015650"},{name:"Dominican",country:"Dominican Republic",lang:"Spanish",rol3:"spa",pct_christian:45,pop:109e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:18.9,lng:-70.49,code:"PG016313"},{name:"American",country:"Singapore",lang:"English",rol3:"eng",pct_christian:45,pop:9800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:1.36,lng:103.82,code:"PG018447"},{name:"British",country:"Barbados",lang:"English",rol3:"eng",pct_christian:45,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:13.12,lng:-59.6,code:"PG016197"},{name:"British",country:"Venezuela",lang:"English",rol3:"eng",pct_christian:45,pop:7200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:10.48,lng:-66.88,code:"PG016461"},{name:"British",country:"Botswana",lang:"English",rol3:"eng",pct_christian:45,pop:7100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-24.65,lng:25.91,code:"PG015217"},{name:"Pitcairn Islander",country:"New Zealand",lang:"English",rol3:"eng",pct_christian:45,pop:250,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-36.89,lng:174.78,code:"PG018502"},{name:"American",country:"Australia",lang:"English",rol3:"eng",pct_christian:35,pop:95500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.52,lng:142.46,code:"PG020268"},{name:"Eurasian",country:"Myanmar",lang:"English",rol3:"eng",pct_christian:35,pop:56500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:16.85,lng:96.15,code:"PG022046"},{name:"Korean",country:"Thailand",lang:"Korean",rol3:"kor",pct_christian:35,pop:20500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:13.76,lng:100.56,code:"PG010874"},{name:"Caribbean Hindi",country:"French Guiana",lang:"English",rol3:"eng",pct_christian:35,pop:13500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:4.91,lng:-52.3,code:"PG022284"},{name:"Southwest Aborigine Creol",country:"Australia",lang:"English",rol3:"eng",pct_christian:35,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-32.54,lng:115.99,code:"PG008068"},{name:"Anglo-Australian",country:"Singapore",lang:"English",rol3:"eng",pct_christian:35,pop:3e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:1.36,lng:103.82,code:"PG010684"},{name:"American",country:"Iceland",lang:"English",rol3:"eng",pct_christian:35,pop:1800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:64.14,lng:-21.89,code:"PG000293"},{name:"American",country:"Marshall Islands",lang:"English",rol3:"eng",pct_christian:35,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:7.1,lng:171.22,code:"PG009376"},{name:"Itene",country:"Bolivia",lang:"Spanish",rol3:"spa",pct_christian:35,pop:70,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-11.89,lng:-65.09,code:"PG046959"},{name:"American",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:19474e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:38.3,lng:-93.46,code:"PG043515"},{name:"Guatemalan",country:"Guatemala",lang:"Spanish",rol3:"spa",pct_christian:25,pop:1015e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:15.7,lng:-90.36,code:"PG024712"},{name:"El Salvadoran",country:"El Salvador",lang:"Spanish",rol3:"spa",pct_christian:25,pop:61e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:13.73,lng:-88.87,code:"PG024979"},{name:"Detribalized Aborigine",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:58e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.75,lng:144.18,code:"PG007863"},{name:"Jamaican",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:33e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-95.67,code:"PG047381"},{name:"Barbadian",country:"Barbados",lang:"English",rol3:"eng",pct_christian:25,pop:269e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:13.17,lng:-59.56,code:"PG016195"},{name:"American",country:"Panama",lang:"English",rol3:"eng",pct_christian:25,pop:186e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:9.06,lng:-79.38,code:"PG050309"},{name:"Vietnamese",country:"Thailand",lang:"Vietnamese",rol3:"vie",pct_christian:25,pop:119e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:13.76,lng:100.56,code:"PG010933"},{name:"Barbadian",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:50500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:40.72,lng:-73.97,code:"PG046507"},{name:"Barbadian",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:40500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-95.67,code:"PG047394"},{name:"Korean",country:"Argentina",lang:"Korean",rol3:"kor",pct_christian:25,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-34.65,lng:-58.56,code:"PG046918"},{name:"Guatemalan",country:"Canada",lang:"Spanish",rol3:"spa",pct_christian:25,pop:28e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.72,lng:-95.67,code:"PG047378"},{name:"Korean",country:"Singapore",lang:"Korean",rol3:"kor",pct_christian:25,pop:24500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:1.36,lng:103.82,code:"PG010710"},{name:"Bay Islands Creole",country:"Honduras",lang:"English",rol3:"eng",pct_christian:25,pop:2e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:16.34,lng:-86.39,code:"PG024758"},{name:"American",country:"Virgin Islands",lang:"English",rol3:"eng",pct_christian:25,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.96,lng:-64.8,code:"PG050296"},{name:"American",country:"New Zealand",lang:"English",rol3:"eng",pct_christian:25,pop:15e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-36.89,lng:174.78,code:"PG018513"},{name:"American",country:"Guam",lang:"English",rol3:"eng",pct_christian:25,pop:14e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:13.44,lng:144.78,code:"PG050299"},{name:"Korean",country:"Taiwan",lang:"Korean",rol3:"kor",pct_christian:25,pop:7e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:22.63,lng:120.33,code:"PG007526"},{name:"Mixtec, Southeastern Nochixtlan",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:25,pop:5e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.21,lng:-97.09,code:"PG039145"},{name:"American",country:"Fiji",lang:"English",rol3:"eng",pct_christian:25,pop:4600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-18.13,lng:178.44,code:"PG018421"},{name:"American",country:"Greenland",lang:"English",rol3:"eng",pct_christian:25,pop:3400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:64.18,lng:-51.7,code:"PG000286"},{name:"Itza",country:"Guatemala",lang:"Spanish",rol3:"spa",pct_christian:25,pop:3200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:17,lng:-89.88,code:"PG024726"},{name:"Zapotec, Southeastern Ixtlan",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:25,pop:2900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.23,lng:-96.49,code:"PG039219"},{name:"Maori",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.28,lng:-122.84,code:"PG050518"},{name:"Nakota (Assiniboine)",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.32,lng:-106.26,code:"PG043527"},{name:"Winnebago",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:42.22,lng:-96.6,code:"PG043689"},{name:"Wik-Ngathan",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:2e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-13.84,lng:141.57,code:"PG008118"},{name:"Polynesian",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.28,lng:-122.84,code:"PG050519"},{name:"Korean",country:"Northern Mariana Islands",lang:"Korean",rol3:"kor",pct_christian:25,pop:1600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:15.91,lng:145.61,code:"PG050228"},{name:"Tektiteko",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:25,pop:1200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:15.49,lng:-92.13,code:"PG039080"},{name:"Yankuntatjara",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:950,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-27.14,lng:133.83,code:"PG008134"},{name:"Bora",country:"Peru",lang:"Spanish",rol3:"spa",pct_christian:25,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-3.22,lng:-71.98,code:"PG017505"},{name:"Maori",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:37.75,lng:-122.21,code:"PG047214"},{name:"Mocho",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:25,pop:225,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:15.27,lng:-92.35,code:"PG039159"},{name:"Mixtec, Sindihui",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:25,pop:80,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.01,lng:-97.37,code:"PG039143"},{name:"African Americans",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:4054e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:39.04,lng:-100.02,code:"PG048741"},{name:"Honduran",country:"Honduras",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:9865e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:14.82,lng:-86.62,code:"PG042459"},{name:"Panamanian",country:"Panama",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:2945e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:9.12,lng:-79.12,code:"PG024843"},{name:"Korean",country:"Australia",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:167e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-33.85,lng:151.03,code:"PG021625"},{name:"Korean",country:"Canada",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:162e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:46.93,lng:-92.67,code:"PG043424"},{name:"Salvadoran",country:"Canada",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:70500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.72,lng:-95.67,code:"PG047373"},{name:"Eurasian",country:"Malaysia",lang:"English",rol3:"eng",pct_christian:17.5,pop:68500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:3.07,lng:101.64,code:"PG020233"},{name:"Bermudians",country:"Bermuda",lang:"English",rol3:"eng",pct_christian:17.5,pop:66e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:32.31,lng:-64.77,code:"PG016210"},{name:"Caymanian",country:"Cayman Islands",lang:"English",rol3:"eng",pct_christian:17.5,pop:60500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:19.42,lng:-80.89,code:"PG016216"},{name:"Korean",country:"United Kingdom",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:51.5,lng:-.17,code:"PG000650"},{name:"Nigerian",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:39500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:37.51,lng:-88.1,code:"PG047652"},{name:"Korean",country:"New Zealand",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:38e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-36.89,lng:174.78,code:"PG047592"},{name:"Kenyan",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:26e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:43.83,lng:-79.46,code:"PG047469"},{name:"American",country:"Haiti",lang:"English",rol3:"eng",pct_christian:17.5,pop:19e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:18.55,lng:-72.32,code:"PG016382"},{name:"Mam",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:17500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:15.4,lng:-92.35,code:"PG039078"},{name:"Ghanaian",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:49.22,lng:-122.99,code:"PG047407"},{name:"Nicaraguan",country:"Canada",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.72,lng:-95.67,code:"PG047377"},{name:"Honduran",country:"Canada",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-95.67,code:"PG047379"},{name:"Kanjobal",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:18.63,lng:-89.7,code:"PG039087"},{name:"Korean",country:"Hong Kong",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:8600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:22.38,lng:114.13,code:"PG050601"},{name:"Korean",country:"Paraguay",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-25.3,lng:-57.56,code:"PG017246"},{name:"Zoque, Chimalapa",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:6400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.88,lng:-94.4,code:"PG039236"},{name:"Panamanian",country:"Canada",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:5e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.72,lng:-95.67,code:"PG047376"},{name:"Zapotec, Southern Rincon",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:4900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.35,lng:-96.27,code:"PG039223"},{name:"Korean",country:"Guam",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:4300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:13.44,lng:144.78,code:"PG050301"},{name:"Passamaquoddy",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:3300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:46.36,lng:-67.46,code:"PG043437"},{name:"Tlingit",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:2300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:60.48,lng:-132.29,code:"PG043489"},{name:"Straits Salish",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:2e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.77,lng:-122.64,code:"PG043642"},{name:"Zapotec, San Baltazar Loxicha",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.05,lng:-96.76,code:"PG039195"},{name:"Huave, San Francisco del Mar",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:1200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.24,lng:-94.49,code:"PG039082"},{name:"Onondaga",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:43.05,lng:-80.11,code:"PG043451"},{name:"Korean",country:"Dominican Republic",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:18.48,lng:-69.91,code:"PG022409"},{name:"Popti",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:15.89,lng:-91.99,code:"PG039086"},{name:"Popoluca, Texistepec",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.78,lng:-94.8,code:"PG048643"},{name:"Zapotec, Southern Rincon",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:32.36,lng:-109.45,code:"PG049308"},{name:"K’ómoks",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:350,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-124.96,code:"PG043374"},{name:"Rembarunga",country:"Australia",lang:"English",rol3:"eng",pct_christian:17.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-12.96,lng:134.58,code:"PG008058"},{name:"Korean",country:"South Korea",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:5025e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:36.38,lng:127.82,code:"PG048088"},{name:"Chilean",country:"Chile",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:1776e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:-32.83,lng:-71.15,code:"PG017439"},{name:"Puerto Rican",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:4035e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:35.35,lng:-95.96,code:"PG043603"},{name:"Irish, Northern",country:"United Kingdom",lang:"English",rol3:"eng",pct_christian:12.5,pop:166e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:54.61,lng:-6.69,code:"PG022219"},{name:"Korean",country:"United States",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:1095e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:38.77,lng:-98.89,code:"PG043310"},{name:"Afro-Trinidadian",country:"Trinidad and Tobago",lang:"English",rol3:"eng",pct_christian:12.5,pop:725e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:10.42,lng:-61.3,code:"PG016442"},{name:"Metis",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:704e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:47.13,lng:-97.19,code:"PG043455"},{name:"American",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:402e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.97,lng:-107.63,code:"PG043500"},{name:"English Caribbean",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:394e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:46.73,lng:-90.31,code:"PG049256"},{name:"Han Chinese",country:"Singapore",lang:"English",rol3:"eng",pct_christian:12.5,pop:358e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020724"},{name:"Chiquitano",country:"Bolivia",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:211e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:-15.91,lng:-61.84,code:"PG017398"},{name:"Detribalized Amerindian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.64,lng:-115.72,code:"PG043384"},{name:"Colombian",country:"Venezuela",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:189e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:9.01,lng:-66.66,code:"PG046909"},{name:"Afro-Argentine",country:"Argentina",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:153e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:-34.65,lng:-58.56,code:"PG042890"},{name:"Korean",country:"Kazakhstan",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:132e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:43.29,lng:76.91,code:"PG024281"},{name:"Sub-Saharan Africans, English-Speaking",country:"Belgium",lang:"English",rol3:"eng",pct_christian:12.5,pop:123e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.85,lng:4.38,code:"PG047833"},{name:"Tojolabal",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:92500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.4,lng:-91.85,code:"PG039160"},{name:"Chontal, Tabasco",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:86e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:18.1,lng:-92.61,code:"PG039061"},{name:"Nahuatl, Isthmus",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:78500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:18.12,lng:-94.34,code:"PG048653"},{name:"Fijian",country:"Australia",lang:"English",rol3:"eng",pct_christian:12.5,pop:71500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.75,lng:144.18,code:"PG050451"},{name:"Cree, Woodland",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:68500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:54.6,lng:-106.15,code:"PG043378"},{name:"Dominican",country:"Dominica",lang:"English",rol3:"eng",pct_christian:12.5,pop:67e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:15.43,lng:-61.35,code:"PG016306"},{name:"Chilean",country:"Canada",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:48e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.72,lng:-95.67,code:"PG047386"},{name:"Belizean",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:43500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:33.94,lng:-118.12,code:"PG047184"},{name:"Korean",country:"Mozambique",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:36e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-25.89,lng:32.57,code:"PG015382"},{name:"Welsh",country:"Argentina",lang:"English",rol3:"eng",pct_christian:12.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-43.27,lng:-65.44,code:"PG017376"},{name:"Chilean",country:"Sweden",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:31500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:58.15,lng:15.03,code:"PG000547"},{name:"Mixe, Isthmus",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:30500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.08,lng:-95.14,code:"PG039098"},{name:"Mohawk",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:44.18,lng:-77.77,code:"PG043441"},{name:"Dominican",country:"Canada",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:24500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.72,lng:-95.67,code:"PG047374"},{name:"Barbadian",country:"United Kingdom",lang:"English",rol3:"eng",pct_christian:12.5,pop:24e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:51.5,lng:-.17,code:"PG048436"},{name:"Chinantec, Central",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:21500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.81,lng:-96.26,code:"PG039065"},{name:"Korean",country:"Madagascar",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:18e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-18.91,lng:47.53,code:"PG015310"},{name:"Euronesian",country:"Fiji",lang:"English",rol3:"eng",pct_christian:12.5,pop:16500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-17.95,lng:178.24,code:"PG018419"},{name:"Spaniard",country:"Ireland",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:53.39,lng:-6.28,code:"PG000303"},{name:"Polynesian",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG043599"},{name:"American",country:"Costa Rica",lang:"English",rol3:"eng",pct_christian:12.5,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:10.22,lng:-85.24,code:"PG025025"},{name:"Popoluca, Sayula",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:12e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.73,lng:-94.95,code:"PG048641"},{name:"Mixe, Coatlan",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:9100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.79,lng:-95.6,code:"PG039097"},{name:"Antiguan",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:8400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:35.93,lng:-98.82,code:"PG050335"},{name:"Nahuatl, Isthmus",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:31.63,lng:-89.16,code:"PG049280"},{name:"Tsimshian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:7700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:54.42,lng:-130.3,code:"PG043490"},{name:"Lillooet",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:7500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:50.68,lng:-121.92,code:"PG043432"},{name:"Zapotec, Guevea de Humboldt",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:7200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.73,lng:-95.33,code:"PG039189"},{name:"Latin American",country:"Curacao",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:7e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:12.19,lng:-68.97,code:"PG023181"},{name:"Nakota (Assiniboine)",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:6500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:52.17,lng:-107.03,code:"PG043354"},{name:"Kwakwakaʼwakw",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:6500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.72,lng:-127.5,code:"PG043427"},{name:"Zapotec, Lachiguiri",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:5900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.61,lng:-95.5,code:"PG039196"},{name:"Sac & Fox Nation of Oklahoma",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:5800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:35.71,lng:-96.77,code:"PG050670"},{name:"Dakota",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:5500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.52,lng:-102.88,code:"PG043381"},{name:"American",country:"Micronesia",lang:"English",rol3:"eng",pct_christian:12.5,pop:5400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:6.95,lng:158.2,code:"PG018394"},{name:"Straits Salish",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.49,lng:-123.46,code:"PG043479"},{name:"Bahamian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:43.9,lng:-79.58,code:"PG050486"},{name:"Chuj",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:3800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.06,lng:-91.88,code:"PG039062"},{name:"Zapotec, Xanaguia",country:"Mexico",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:3600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:16.1,lng:-96.24,code:"PG039207"}]},Iran:{target_upg:85,target_pop:91827910,target_top_langs:["Persian, Iranian","Azerbaijani, South","Kurdish, Southern","Gilaki"],target_top_religion:"Islam",neighbors:[{name:"Korean",country:"Iran",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:17500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:35.7,lng:51.38,code:"PG024174"},{name:"Armenian",country:"Iran",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:113e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:38.14,lng:46.37,code:"PG024130"},{name:"Romani, Balkan",country:"Italy",lang:"Romani, Balkan",rol3:"rmn",pct_christian:62.5,pop:2500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:45.54,lng:9.19,code:"PG000312"},{name:"Romani, Balkan",country:"Bulgaria",lang:"Romani, Balkan",rol3:"rmn",pct_christian:7.5,pop:267e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:42.86,lng:23.79,code:"PG000737"},{name:"Arab, Syro-Lebanese",country:"Australia",lang:"Arabic, Gulf",rol3:"afb",pct_christian:7.5,pop:192e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-33.38,lng:143.4,code:"PG020267"},{name:"Assyrian",country:"Australia",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:7.5,pop:4e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.85,lng:151.03,code:"PG007833"},{name:"Iranian",country:"Armenia",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:40.17,lng:44.49,code:"PG050098"},{name:"Iranian",country:"Greece",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:38.05,lng:23.7,code:"PG047071"},{name:"Persian",country:"Canada",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:46.93,lng:-92.67,code:"PG043458"},{name:"Iranian",country:"Germany",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:175e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:52.51,lng:11.69,code:"PG000259"},{name:"Persian",country:"Turkiye",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:13e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:41.04,lng:28.87,code:"PG024581"},{name:"Persian",country:"United Kingdom",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:86e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:51.5,lng:-.17,code:"PG000643"},{name:"Assyrian",country:"Germany",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:7e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:50.03,lng:8.25,code:"PG000214"},{name:"Assyrian",country:"United States",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:7e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:37.75,lng:-122.21,code:"PG043528"},{name:"Kurd, Northern",country:"Russian Federation",lang:"Kurdish, Northern",rol3:"kmr",pct_christian:3.5,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:44.63,lng:39.24,code:"PG024465"},{name:"Assyrian",country:"Canada",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG043355"},{name:"Persian",country:"Indonesia",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:-6.21,lng:106.83,code:"PG050238"},{name:"Persian",country:"South Korea",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:3500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:37.55,lng:126.99,code:"PG050237"},{name:"Romani, Balkan",country:"France",lang:"Romani, Balkan",rol3:"rmn",pct_christian:3.5,pop:650,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:48.84,lng:2.35,code:"PG000134"}]},"Türkiye (Turkey)":{target_upg:63,target_pop:86815200,target_top_langs:["Turkish","Kurdish, Northern","Arabic, Levantine","Zazaki, Southern"],target_top_religion:"Islam",neighbors:[{name:"Persian",country:"Turkiye",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:13e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Shia",lat:41.04,lng:28.87,code:"PG024581"},{name:"Armenian",country:"Turkiye",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:45e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:41.05,lng:28.9,code:"PG024538"},{name:"Han Chinese",country:"Turkiye",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:44500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:41.04,lng:28.87,code:"PG024558"},{name:"Romani, Balkan",country:"Italy",lang:"Romani, Balkan",rol3:"rmn",pct_christian:62.5,pop:2500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:45.54,lng:9.19,code:"PG000312"},{name:"Romani, Balkan",country:"Bulgaria",lang:"Romani, Balkan",rol3:"rmn",pct_christian:7.5,pop:267e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:42.86,lng:23.79,code:"PG000737"},{name:"Armenian",country:"Canada",lang:"Armenian, Western",rol3:"hyw",pct_christian:7.5,pop:71e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.83,lng:-77.31,code:"PG043353"},{name:"Bangni",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:62500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:27.43,lng:92.97,code:"PG041887"},{name:"Assyrian",country:"Australia",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:7.5,pop:4e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.85,lng:151.03,code:"PG007833"},{name:"Arab, Lebanese",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024837"},{name:"Arab, Palestinian",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024839"},{name:"Greek",country:"Czech Republic",lang:"Greek",rol3:"ell",pct_christian:7.5,pop:3600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:49.82,lng:17.98,code:"PG048862"},{name:"Kankali",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:27.7,lng:81.49,code:"PG049096"},{name:"Khadim",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:26.49,lng:74.65,code:"PG048969"},{name:"Bulgarian",country:"Germany",lang:"Bulgarian",rol3:"bul",pct_christian:3.5,pop:411e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.5,lng:13.4,code:"PG042446"},{name:"Arab, Lebanese",country:"Canada",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:234e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.53,lng:-73.66,code:"PG043431"},{name:"Arab, Syrian",country:"United States",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:193e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.7,lng:-73.87,code:"PG043644"},{name:"Chikwa",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:23.97,lng:84.3,code:"PG041852"},{name:"Assyrian",country:"Germany",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:7e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:50.03,lng:8.25,code:"PG000214"},{name:"Assyrian",country:"United States",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:7e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:37.75,lng:-122.21,code:"PG043528"},{name:"Kurd, Northern",country:"Russian Federation",lang:"Kurdish, Northern",rol3:"kmr",pct_christian:3.5,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:44.63,lng:39.24,code:"PG024465"},{name:"Assyrian",country:"Canada",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG043355"},{name:"Dayare",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.79,lng:77.53,code:"PG049780"},{name:"Arab, Palestinian",country:"El Salvador",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:13.71,lng:-89.19,code:"PG039263"},{name:"Romani, Balkan",country:"France",lang:"Romani, Balkan",rol3:"rmn",pct_christian:3.5,pop:650,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:48.84,lng:2.35,code:"PG000134"}]},Egypt:{target_upg:34,target_pop:82788900,target_top_langs:["Arabic, Egyptian","Arabic, Sudanese","Arabic, Algerian","Arabic, Moroccan"],target_top_religion:"Islam",neighbors:[{name:"Han Chinese, Mandarin",country:"Egypt",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:65500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:30.05,lng:31.32,code:"PG050167"},{name:"Amhara",country:"Canada",lang:"Amharic",rol3:"amh",pct_christian:25,pop:14e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG047403"},{name:"Arab, Egyptian",country:"Australia",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:12.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-31.94,lng:115.89,code:"PG020254"},{name:"Arab, Syro-Lebanese",country:"Australia",lang:"Arabic, Gulf",rol3:"afb",pct_christian:7.5,pop:192e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-33.38,lng:143.4,code:"PG020267"},{name:"Arab, Egyptian",country:"Germany",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:25500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:52.5,lng:13.4,code:"PG042462"},{name:"Arab, Lebanese",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024837"},{name:"Arab, Palestinian",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024839"},{name:"Arab, Egyptian",country:"Belgium",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:5300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:50.85,lng:4.38,code:"PG000053"},{name:"Indri",country:"South Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:7.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.78,lng:25.73,code:"PG012040"},{name:"Egyptian Copt",country:"United States",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:3.5,pop:242e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:35.35,lng:-111.99,code:"PG047347"},{name:"Arab, Lebanese",country:"Canada",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:234e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.53,lng:-73.66,code:"PG043431"},{name:"Arab, Syrian",country:"United States",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:193e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.7,lng:-73.87,code:"PG043644"},{name:"Arab",country:"South Africa",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-26.17,lng:28.07,code:"PG015486"},{name:"Delen",country:"Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:3.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.06,lng:29.58,code:"PG042814"},{name:"Arab",country:"New Zealand",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-36.89,lng:174.78,code:"PG018478"},{name:"Ethiopian, Oromo",country:"United States",lang:"Oromo, West Central",rol3:"gaz",pct_christian:3.5,pop:7200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:38.9,lng:-77.19,code:"PG047338"},{name:"Arab, Palestinian",country:"El Salvador",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:13.71,lng:-89.19,code:"PG039263"}]},Nigeria:{target_upg:52,target_pop:72422800,target_top_langs:["Hausa","Fulfulde, Nigerian","Kanuri, Yerwa","Fulfulde, Adamawa"],target_top_religion:"Islam",neighbors:[{name:"Rumaya",country:"Nigeria",lang:"Mala (Nigeria)",rol3:"ruy",pct_christian:62.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:10.42,lng:8.67,code:"PG014094"},{name:"Janji",country:"Nigeria",lang:"Janji",rol3:"jni",pct_christian:62.5,pop:2300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:10.12,lng:8.62,code:"PG013870"},{name:"Kagoma",country:"Nigeria",lang:"Gyong",rol3:"kdm",pct_christian:45,pop:50500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.26,lng:8.19,code:"PG013889"},{name:"Kaivi",country:"Nigeria",lang:"Kaivi",rol3:"kce",pct_christian:45,pop:4400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:10.41,lng:8.67,code:"PG013891"},{name:"Sura",country:"Nigeria",lang:"Mwaghavul",rol3:"sur",pct_christian:35,pop:19e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.55,lng:9.02,code:"PG014115"},{name:"Dadiya",country:"Nigeria",lang:"Dadiya",rol3:"dbd",pct_christian:35,pop:66500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.64,lng:11.44,code:"PG013294"},{name:"Bajju",country:"Nigeria",lang:"Jju",rol3:"kaj",pct_christian:25,pop:685e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.68,lng:8.07,code:"PG013892"},{name:"Okpe",country:"Nigeria",lang:"Okpe (Southwestern Edoid)",rol3:"oke",pct_christian:25,pop:465e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.78,lng:5.57,code:"PG014065"},{name:"Wukari Jukun",country:"Nigeria",lang:"Wapan",rol3:"juk",pct_christian:25,pop:222e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.32,lng:9.7,code:"PG014174"},{name:"Aten",country:"Nigeria",lang:"Iten",rol3:"etx",pct_christian:25,pop:73500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.65,lng:8.57,code:"PG013646"},{name:"Gure-Kahugu",country:"Nigeria",lang:"Tugbiri-Niragu",rol3:"grh",pct_christian:25,pop:50500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:10.31,lng:8.42,code:"PG013815"},{name:"Kagoro",country:"Nigeria",lang:"Tyap",rol3:"kcg",pct_christian:25,pop:38e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.59,lng:8.26,code:"PG013890"},{name:"Awak",country:"Nigeria",lang:"Awak",rol3:"awo",pct_christian:25,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.92,lng:11.4,code:"PG013649"},{name:"Binawa",country:"Nigeria",lang:"Bina (Nigeria)",rol3:"byj",pct_christian:25,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:10.29,lng:8.26,code:"PG013689"},{name:"Naraguta",country:"Nigeria",lang:"Iguta",rol3:"nar",pct_christian:25,pop:13e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.99,lng:8.85,code:"PG014012"},{name:"Karim-Maudi",country:"Nigeria",lang:"Karimjo",rol3:"cfg",pct_christian:25,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.86,lng:10.82,code:"PG023179"},{name:"Kono",country:"Nigeria",lang:"Kono (Nigeria)",rol3:"klk",pct_christian:25,pop:11e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:10.23,lng:8.4,code:"PG013929"},{name:"Lakka",country:"Nigeria",lang:"Kabba",rol3:"ksp",pct_christian:25,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:9.15,lng:11.25,code:"PG013956"},{name:"Burak",country:"Nigeria",lang:"Burak",rol3:"bys",pct_christian:25,pop:8800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.74,lng:11.28,code:"PG013704"},{name:"Kholok",country:"Nigeria",lang:"Kholok",rol3:"ktc",pct_christian:25,pop:7100,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:9.3,lng:11.13,code:"PG014377"},{name:"Mingang Doso",country:"Nigeria",lang:"Mingang Doso",rol3:"mko",pct_christian:25,pop:6200,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.4,lng:11.26,code:"PG014411"},{name:"Katab",country:"Nigeria",lang:"Tyap",rol3:"kcg",pct_christian:17.5,pop:287e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.82,lng:8.31,code:"PG013912"},{name:"Begbere",country:"Nigeria",lang:"Koro Wachi",rol3:"bqv",pct_christian:17.5,pop:171e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.69,lng:7.64,code:"PG013046"},{name:"Ndoro",country:"Nigeria",lang:"Ndoola",rol3:"ndr",pct_christian:17.5,pop:121e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:6.98,lng:10.78,code:"PG014016"},{name:"Chamba Leko",country:"Nigeria",lang:"Samba Leko",rol3:"ndi",pct_christian:17.5,pop:118e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:7.83,lng:10.69,code:"PG013720"},{name:"Pero",country:"Nigeria",lang:"Pero",rol3:"pip",pct_christian:17.5,pop:57500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.7,lng:11.17,code:"PG014080"},{name:"Bandawa-Minda",country:"Nigeria",lang:"Shoo-Minda-Nye",rol3:"bcv",pct_christian:17.5,pop:38e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:8.97,lng:10.99,code:"PG013664"},{name:"Etulo",country:"Nigeria",lang:"Etulo",rol3:"utr",pct_christian:17.5,pop:25500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:7.29,lng:9.32,code:"PG013776"},{name:"Ruruma",country:"Nigeria",lang:"Ruma",rol3:"ruz",pct_christian:17.5,pop:16500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:10.23,lng:8.64,code:"PG014095"},{name:"Gwomu",country:"Nigeria",lang:"Moo",rol3:"gwg",pct_christian:17.5,pop:11e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.48,lng:11.3,code:"PG013824"},{name:"Bukwun",country:"Nigeria",lang:"Bukwen",rol3:"buz",pct_christian:17.5,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:6.94,lng:10.2,code:"PG013283"},{name:"Berom",country:"Nigeria",lang:"Berom",rol3:"bom",pct_christian:12.5,pop:1485e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.58,lng:8.8,code:"PG013683"},{name:"Tarok",country:"Nigeria",lang:"Tarok",rol3:"yer",pct_christian:12.5,pop:584e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.13,lng:10.1,code:"PG014124"},{name:"Hyam",country:"Nigeria",lang:"Hyam",rol3:"jab",pct_christian:12.5,pop:396e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.54,lng:8.09,code:"PG013833"},{name:"Bachama",country:"Nigeria",lang:"Bacama",rol3:"bcy",pct_christian:12.5,pop:341e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.46,lng:12.08,code:"PG013653"},{name:"Tangale",country:"Nigeria",lang:"Tangale",rol3:"tan",pct_christian:12.5,pop:326e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.81,lng:11.21,code:"PG014122"},{name:"Kambari",country:"Nigeria",lang:"Tsishingini",rol3:"tsw",pct_christian:12.5,pop:318e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:10.34,lng:5.35,code:"PG013897"},{name:"Marghi Central",country:"Nigeria",lang:"Marghi Central",rol3:"mrt",pct_christian:12.5,pop:279e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:10.63,lng:13.35,code:"PG013988"},{name:"Kyibaku",country:"Nigeria",lang:"Kibaku",rol3:"ckl",pct_christian:12.5,pop:234e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:10.98,lng:12.88,code:"PG013953"},{name:"Chamba Daka",country:"Nigeria",lang:"Samba Daka",rol3:"ccg",pct_christian:12.5,pop:186e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:8.62,lng:11.73,code:"PG013719"},{name:"Rukuba",country:"Nigeria",lang:"Kuce",rol3:"ruk",pct_christian:12.5,pop:18e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.18,lng:8.24,code:"PG014093"},{name:"Kuteb",country:"Nigeria",lang:"Kutep",rol3:"kub",pct_christian:12.5,pop:84500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.24,lng:10.06,code:"PG013946"},{name:"Bitare",country:"Nigeria",lang:"Bitare",rol3:"brt",pct_christian:12.5,pop:73500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.11,lng:10.74,code:"PG013691"},{name:"Glavda",country:"Nigeria",lang:"Glavda",rol3:"glw",pct_christian:12.5,pop:57500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:11.15,lng:13.81,code:"PG013803"},{name:"Kulung",country:"Nigeria",lang:"Kulung (Nigeria)",rol3:"bbu",pct_christian:12.5,pop:56e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.34,lng:11,code:"PG013941"},{name:"Chawai",country:"Nigeria",lang:"Atsam",rol3:"cch",pct_christian:12.5,pop:5e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:10.26,lng:8.29,code:"PG013722"},{name:"Montol",country:"Nigeria",lang:"Tehl",rol3:"mtl",pct_christian:12.5,pop:46500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9,lng:9.64,code:"PG014003"},{name:"Fali",country:"Nigeria",lang:"Fali Muchella",rol3:"fli",pct_christian:12.5,pop:37e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:10.32,lng:13.39,code:"PG013781"},{name:"Passam",country:"Nigeria",lang:"Kpasham",rol3:"pbn",pct_christian:12.5,pop:34500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.27,lng:11.76,code:"PG014079"},{name:"Epinmi",country:"Nigeria",lang:"Ukue",rol3:"uku",pct_christian:12.5,pop:29e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.43,lng:5.78,code:"PG014146"},{name:"Yiwom",country:"Nigeria",lang:"Ywom",rol3:"gek",pct_christian:12.5,pop:29e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:8.91,lng:9.75,code:"PG014192"},{name:"Magu",country:"Nigeria",lang:"Mvanip",rol3:"mcj",pct_christian:12.5,pop:24e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.95,lng:11.02,code:"PG013979"},{name:"Lelau",country:"Nigeria",lang:"Leelau",rol3:"ldk",pct_christian:12.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.33,lng:11.1,code:"PG013964"},{name:"Kam",country:"Nigeria",lang:"Kam",rol3:"kdx",pct_christian:12.5,pop:11e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:8.35,lng:11.06,code:"PG013895"},{name:"Tapshin",country:"Nigeria",lang:"Kusur-Myet",rol3:"tdl",pct_christian:12.5,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.55,lng:9.64,code:"PG014123"},{name:"Hedi",country:"Nigeria",lang:"Hdi",rol3:"xed",pct_christian:12.5,pop:7800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.94,lng:13.69,code:"PG013829"},{name:"Lamja",country:"Nigeria",lang:"Lamja-Dengsa-Tola",rol3:"ldh",pct_christian:12.5,pop:7200,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:8.87,lng:12.06,code:"PG013959"},{name:"Kumba",country:"Nigeria",lang:"Kumba",rol3:"ksm",pct_christian:12.5,pop:6900,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.05,lng:12.04,code:"PG013943"},{name:"Pai",country:"Nigeria",lang:"Pye",rol3:"pai",pct_christian:12.5,pop:6700,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.55,lng:9.29,code:"PG014077"},{name:"Cara",country:"Nigeria",lang:"Cara",rol3:"cfd",pct_christian:12.5,pop:6500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.09,lng:8.78,code:"PG012312"},{name:"Bali",country:"Nigeria",lang:"Bali (Nigeria)",rol3:"bcn",pct_christian:12.5,pop:5300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.29,lng:11.81,code:"PG013660"},{name:"Aduge",country:"Nigeria",lang:"Aduge",rol3:"adu",pct_christian:12.5,pop:4400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:7.61,lng:6.07,code:"PG013624"},{name:"Kapya",country:"Nigeria",lang:"Kapya",rol3:"klo",pct_christian:12.5,pop:350,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:7.05,lng:9.93,code:"PG014375"},{name:"Mangas",country:"Nigeria",lang:"Mansi (Nigeria)",rol3:"zns",pct_christian:12.5,pop:225,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:10.16,lng:9.82,code:"PG013986"},{name:"Igbo",country:"Nigeria",lang:"Igbo",rol3:"ibo",pct_christian:7.5,pop:3486e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.82,lng:7.31,code:"PG013844"},{name:"Ibibio",country:"Nigeria",lang:"Ibibio",rol3:"ibb",pct_christian:7.5,pop:697e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.13,lng:7.76,code:"PG013837"},{name:"Egba",country:"Nigeria",lang:"Yoruba",rol3:"yor",pct_christian:7.5,pop:6085e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:6.98,lng:3.48,code:"PG013759"},{name:"Tiv",country:"Nigeria",lang:"Tiv",rol3:"tiv",pct_christian:7.5,pop:52e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.58,lng:8.92,code:"PG014132"},{name:"Efik",country:"Nigeria",lang:"Efik",rol3:"efi",pct_christian:7.5,pop:289e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.26,lng:8.32,code:"PG013757"},{name:"Egbira",country:"Nigeria",lang:"Ebira",rol3:"igb",pct_christian:7.5,pop:2365e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8,lng:7.12,code:"PG013314"},{name:"Urhobo",country:"Nigeria",lang:"Urhobo",rol3:"urh",pct_christian:7.5,pop:1245e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.78,lng:5.78,code:"PG014152"},{name:"Isekiri",country:"Nigeria",lang:"Isekiri",rol3:"its",pct_christian:7.5,pop:1075e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.23,lng:5.42,code:"PG013858"},{name:"Ezaa",country:"Nigeria",lang:"Ezaa",rol3:"eza",pct_christian:7.5,pop:829e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.42,lng:7.87,code:"PG013780"},{name:"Kerang",country:"Nigeria",lang:"Ngas",rol3:"anc",pct_christian:7.5,pop:772e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.27,lng:9.56,code:"PG013642"},{name:"Isoko",country:"Nigeria",lang:"Isoko",rol3:"iso",pct_christian:7.5,pop:765e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.66,lng:6.09,code:"PG013859"},{name:"Ewe",country:"Nigeria",lang:"Éwé",rol3:"ewe",pct_christian:7.5,pop:696e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:6.76,lng:3.42,code:"PG013779"},{name:"Kamwe",country:"Nigeria",lang:"Kamwe",rol3:"hig",pct_christian:7.5,pop:683e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:10.57,lng:13.41,code:"PG013901"},{name:"Kalabari",country:"Nigeria",lang:"Kalabari",rol3:"ijn",pct_christian:7.5,pop:579e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.57,lng:6.83,code:"PG013754"},{name:"Yekhee",country:"Nigeria",lang:"Etsako",rol3:"ets",pct_christian:7.5,pop:574e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.2,lng:6.48,code:"PG014187"},{name:"Okrika",country:"Nigeria",lang:"Kirike",rol3:"okr",pct_christian:7.5,pop:52e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.69,lng:7.08,code:"PG014067"},{name:"Kana",country:"Nigeria",lang:"Khana",rol3:"ogo",pct_christian:7.5,pop:488e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.7,lng:7.47,code:"PG013902"},{name:"Ogbia",country:"Nigeria",lang:"Ogbia",rol3:"ogb",pct_christian:7.5,pop:45e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.81,lng:6.38,code:"PG014056"},{name:"Saya",country:"Nigeria",lang:"Saya",rol3:"say",pct_christian:7.5,pop:41e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.84,lng:9.64,code:"PG014099"},{name:"Ikwo",country:"Nigeria",lang:"Ikwo",rol3:"iqw",pct_christian:7.5,pop:366e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.99,lng:8.25,code:"PG013856"},{name:"Ukwuani-Aboh",country:"Nigeria",lang:"Ukwuani-Aboh-Ndoni",rol3:"ukw",pct_christian:7.5,pop:354e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.62,lng:6.57,code:"PG014147"},{name:"Bokyi",country:"Nigeria",lang:"Bokyi",rol3:"bky",pct_christian:7.5,pop:31e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.26,lng:8.99,code:"PG013695"},{name:"Yala",country:"Nigeria",lang:"Yala",rol3:"yba",pct_christian:7.5,pop:31e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.36,lng:8.5,code:"PG014182"},{name:"Mo Egon",country:"Nigeria",lang:"Eggon",rol3:"ego",pct_christian:7.5,pop:305e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.74,lng:8.46,code:"PG013760"},{name:"Bokkos",country:"Nigeria",lang:"Ron",rol3:"cla",pct_christian:7.5,pop:287e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.29,lng:8.98,code:"PG013693"},{name:"Yako",country:"Nigeria",lang:"Lokaa",rol3:"yaz",pct_christian:7.5,pop:273e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.9,lng:8.13,code:"PG014181"},{name:"Southeast Ijaw",country:"Nigeria",lang:"Ijo, Southeast",rol3:"ijs",pct_christian:7.5,pop:232e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.59,lng:6.21,code:"PG014113"},{name:"Mada",country:"Nigeria",lang:"Mada (Nigeria)",rol3:"mda",pct_christian:7.5,pop:223e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.01,lng:8.31,code:"PG014403"},{name:"Gokana",country:"Nigeria",lang:"Gokana",rol3:"gkn",pct_christian:7.5,pop:195e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.65,lng:7.29,code:"PG013806"},{name:"Lela",country:"Nigeria",lang:"C’Lela",rol3:"dri",pct_christian:7.5,pop:195e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:11.46,lng:5.28,code:"PG013963"},{name:"Adara",country:"Nigeria",lang:"Adara",rol3:"kad",pct_christian:7.5,pop:149e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.83,lng:7.41,code:"PG013886"},{name:"Obanliku",country:"Nigeria",lang:"Abanglekuo",rol3:"bzy",pct_christian:7.5,pop:141e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.57,lng:9.23,code:"PG014050"},{name:"Mbula-Bwazza",country:"Nigeria",lang:"Mbula-Bwazza",rol3:"mbu",pct_christian:7.5,pop:14e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.59,lng:12.36,code:"PG013994"},{name:"Dza",country:"Nigeria",lang:"Dza",rol3:"jen",pct_christian:7.5,pop:133e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.95,lng:10.93,code:"PG013311"},{name:"Yandang",country:"Nigeria",lang:"Yendang",rol3:"ynq",pct_christian:7.5,pop:127e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:8.95,lng:11.81,code:"PG014184"},{name:"Nungu",country:"Nigeria",lang:"Nungu",rol3:"rin",pct_christian:7.5,pop:108e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.18,lng:8.5,code:"PG014043"},{name:"Amo",country:"Nigeria",lang:"Amo",rol3:"amo",pct_christian:7.5,pop:107e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:10.23,lng:8.64,code:"PG013640"},{name:"Irigwe",country:"Nigeria",lang:"Rigwe",rol3:"iri",pct_christian:7.5,pop:96e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.88,lng:8.83,code:"PG013857"},{name:"Mama",country:"Nigeria",lang:"Mama",rol3:"mma",pct_christian:7.5,pop:72500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9,lng:8.62,code:"PG013982"},{name:"Hwana",country:"Nigeria",lang:"Hwana",rol3:"hwo",pct_christian:7.5,pop:72e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:10.22,lng:12.67,code:"PG013832"},{name:"Koma",country:"Nigeria",lang:"Koma",rol3:"kmy",pct_christian:7.5,pop:7e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.67,lng:12.43,code:"PG013942"},{name:"Cham-Mwana",country:"Nigeria",lang:"Cham",rol3:"cfa",pct_christian:7.5,pop:55e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.77,lng:11.69,code:"PG013716"},{name:"Tigon Mbembe",country:"Nigeria",lang:"Mbembe, Tigon",rol3:"nza",pct_christian:7.5,pop:52e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:7.16,lng:10.68,code:"PG014130"},{name:"Mboi",country:"Nigeria",lang:"Mboi",rol3:"moi",pct_christian:7.5,pop:42500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.48,lng:12.67,code:"PG013992"},{name:"Zari",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:41e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:9.87,lng:9.4,code:"PG014203"},{name:"Etebi",country:"Nigeria",lang:"Etebi",rol3:"etb",pct_christian:7.5,pop:37e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.63,lng:8.07,code:"PG013775"},{name:"Sukur",country:"Nigeria",lang:"Sukur",rol3:"syk",pct_christian:7.5,pop:33e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.88,lng:13.64,code:"PG014114"},{name:"Bassa",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:3e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:10.67,lng:5.82,code:"PG033345"},{name:"Nandu-Tari",country:"Nigeria",lang:"Ahwai",rol3:"nfd",pct_christian:7.5,pop:28e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.26,lng:8.56,code:"PG014011"},{name:"Sasaru",country:"Nigeria",lang:"Sasaru",rol3:"sxs",pct_christian:7.5,pop:26e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.16,lng:6.17,code:"PG014098"},{name:"Yamba",country:"Nigeria",lang:"Yamba",rol3:"yam",pct_christian:7.5,pop:24e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.62,lng:11.1,code:"PG014183"},{name:"Otwa",country:"Nigeria",lang:"Ghotuo",rol3:"aaa",pct_christian:7.5,pop:22e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.18,lng:5.98,code:"PG013800"},{name:"Ngwaba",country:"Nigeria",lang:"Ngwaba",rol3:"ngw",pct_christian:7.5,pop:22e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:10.17,lng:12.85,code:"PG014022"},{name:"Akpet",country:"Nigeria",lang:"Ukpet-Ehom",rol3:"akd",pct_christian:7.5,pop:21500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.57,lng:8.17,code:"PG013636"},{name:"Bumaji",country:"Nigeria",lang:"Bumaji",rol3:"byp",pct_christian:7.5,pop:21500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.48,lng:9.31,code:"PG013702"},{name:"Lubila",country:"Nigeria",lang:"Lubila",rol3:"kcc",pct_christian:7.5,pop:21500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.41,lng:8.29,code:"PG013971"},{name:"Lo",country:"Nigeria",lang:"Loo",rol3:"ldo",pct_christian:7.5,pop:18e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.35,lng:11.11,code:"PG013967"},{name:"Sara Mbai",country:"Nigeria",lang:"Mbay",rol3:"myb",pct_christian:7.5,pop:16500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:11.84,lng:13.14,code:"PG014097"},{name:"Shal",country:"Nigeria",lang:"Shall-Zwall",rol3:"sha",pct_christian:7.5,pop:16500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.26,lng:8.75,code:"PG014103"},{name:"Korop",country:"Nigeria",lang:"Durop",rol3:"krp",pct_christian:7.5,pop:16e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.25,lng:8.66,code:"PG013931"},{name:"Kwa",country:"Nigeria",lang:"Kwa",rol3:"kwb",pct_christian:7.5,pop:15e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.5,lng:11.62,code:"PG013949"},{name:"Banwinji",country:"Nigeria",lang:"Bangwinji",rol3:"bsj",pct_christian:7.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.64,lng:11.33,code:"PG013667"},{name:"Ito",country:"Nigeria",lang:"Ito",rol3:"itw",pct_christian:7.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.06,lng:8,code:"PG013860"},{name:"Ebughu",country:"Nigeria",lang:"Ebughu",rol3:"ebg",pct_christian:7.5,pop:13e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.68,lng:8.25,code:"PG013755"},{name:"Itu Mbon Uzo",country:"Nigeria",lang:"Itu Mbon Uzo",rol3:"itm",pct_christian:7.5,pop:13e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.5,lng:7.81,code:"PG013861"},{name:"Idere",country:"Nigeria",lang:"Idere",rol3:"ide",pct_christian:7.5,pop:12500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.22,lng:8.04,code:"PG013839"},{name:"Kyak",country:"Nigeria",lang:"Kyak",rol3:"bka",pct_christian:7.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.53,lng:11.35,code:"PG014393"},{name:"Arum-Chessu",country:"Nigeria",lang:"Arum",rol3:"aab",pct_christian:7.5,pop:11e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.97,lng:8.7,code:"PG013643"},{name:"Ilue",country:"Nigeria",lang:"Ilue",rol3:"ilv",pct_christian:7.5,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.78,lng:8.25,code:"PG033351"},{name:"Mboa",country:"Nigeria",lang:"Mbonga",rol3:"xmb",pct_christian:7.5,pop:9900,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:11.15,lng:13.75,code:"PG013993"},{name:"Turkwam",country:"Nigeria",lang:"Atoro",rol3:"tdv",pct_christian:7.5,pop:8e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.17,lng:8.65,code:"PG014136"},{name:"Duguza",country:"Nigeria",lang:"Tunzuii",rol3:"dza",pct_christian:7.5,pop:7400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.03,lng:9.12,code:"PG013308"},{name:"Idon",country:"Nigeria",lang:"Ajiya",rol3:"idc",pct_christian:7.5,pop:7300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.17,lng:7.87,code:"PG013841"},{name:"Kugama",country:"Nigeria",lang:"Kugama",rol3:"kow",pct_christian:7.5,pop:7100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.14,lng:12.06,code:"PG013937"},{name:"Lam-nso",country:"Nigeria",lang:"Lamnso'",rol3:"lns",pct_christian:7.5,pop:7100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.61,lng:11.16,code:"PG014395"},{name:"Bete",country:"Nigeria",lang:"Jukun Takum",rol3:"jbu",pct_christian:7.5,pop:6900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.02,lng:9.75,code:"PG013684"},{name:"Obulom",country:"Nigeria",lang:"Obulom",rol3:"obu",pct_christian:7.5,pop:6700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.79,lng:7.05,code:"PG014052"},{name:"Teme",country:"Nigeria",lang:"Teme",rol3:"tdo",pct_christian:7.5,pop:6700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:8.99,lng:11.97,code:"PG014126"},{name:"Mini",country:"Nigeria",lang:"Abureni",rol3:"mgj",pct_christian:7.5,pop:6500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:4.61,lng:6.45,code:"PG013999"},{name:"Gyanzi",country:"Nigeria",lang:"Gyaazi",rol3:"gyz",pct_christian:7.5,pop:5900,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.35,lng:9.62,code:"PG013826"},{name:"Bakpinka",country:"Nigeria",lang:"Iyongiyong",rol3:"bbs",pct_christian:7.5,pop:5400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.25,lng:8.27,code:"PG013658"},{name:"Firan",country:"Nigeria",lang:"Firan",rol3:"fir",pct_christian:7.5,pop:4400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.6,lng:8.72,code:"PG013321"},{name:"Surubu",country:"Nigeria",lang:"Vori",rol3:"sde",pct_christian:7.5,pop:3800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:10.17,lng:8.32,code:"PG014116"},{name:"Zeem",country:"Nigeria",lang:"Zeem",rol3:"zem",pct_christian:7.5,pop:3400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.95,lng:9.29,code:"PG014204"},{name:"Ambo",country:"Nigeria",lang:"Ambo",rol3:"amb",pct_christian:7.5,pop:3400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.08,lng:10.77,code:"PG014310"},{name:"Tala",country:"Nigeria",lang:"Tala",rol3:"tak",pct_christian:7.5,pop:2200,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.23,lng:9.86,code:"PG014119"}]},Thailand:{target_upg:76,target_pop:61274800,target_top_langs:["Thai","Thai, Northeastern","Thai, Northern","Thai, Southern"],target_top_religion:"Buddhism",neighbors:[{name:"Lahu",country:"Thailand",lang:"Lahu",rol3:"lhu",pct_christian:35,pop:82e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.46,lng:99.05,code:"PG010877"},{name:"Korean",country:"Thailand",lang:"Korean",rol3:"kor",pct_christian:35,pop:20500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:13.76,lng:100.56,code:"PG010874"},{name:"Sgaw Karen",country:"Thailand",lang:"Karen, S’gaw",rol3:"ksw",pct_christian:25,pop:204e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:17.09,lng:98.79,code:"PG010917"},{name:"Vietnamese",country:"Thailand",lang:"Vietnamese",rol3:"vie",pct_christian:25,pop:119e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Mahayana",lat:13.76,lng:100.56,code:"PG010933"},{name:"Red Karen",country:"Thailand",lang:"Kayah, Eastern",rol3:"eky",pct_christian:25,pop:11e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.47,lng:97.98,code:"PG010911"},{name:"Akha",country:"Thailand",lang:"Akha",rol3:"ahk",pct_christian:17.5,pop:58e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:20.08,lng:99.66,code:"PG010820"},{name:"Lahu Shi",country:"Thailand",lang:"Lahu Shi",rol3:"lhi",pct_christian:17.5,pop:15500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:18.98,lng:99.39,code:"PG010939"},{name:"Padaung Karen",country:"Thailand",lang:"Kayan (Myanmar)",rol3:"pdu",pct_christian:17.5,pop:2800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:18.79,lng:98.99,code:"PG010902"},{name:"Bghai Karen",country:"Thailand",lang:"Karen, Bwe",rol3:"bwe",pct_christian:17.5,pop:2100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.53,lng:97.93,code:"PG010827"},{name:"Black Karen",country:"Thailand",lang:"Pa’o",rol3:"blk",pct_christian:17.5,pop:850,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.74,lng:98.06,code:"PG010829"},{name:"Flowery/Southern Lisu",country:"Thailand",lang:"Lisu",rol3:"lis",pct_christian:12.5,pop:42e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:18.96,lng:98.82,code:"PG010847"},{name:"Western Lawa",country:"Thailand",lang:"Lawa, Western",rol3:"lcp",pct_christian:12.5,pop:8600,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:18.36,lng:98.06,code:"PG010935"},{name:"Karen, Pwo Northern",country:"Thailand",lang:"Karen, Pwo Northern",rol3:"pww",pct_christian:7.5,pop:85e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:18.22,lng:98.03,code:"PG010936"},{name:"Kensiu",country:"Thailand",lang:"Kensiu",rol3:"kns",pct_christian:7.5,pop:300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.02,lng:101.16,code:"PG010869"},{name:"Han Chinese",country:"Thailand",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:5785e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:14.64,lng:101.07,code:"PG010849"},{name:"So",country:"Thailand",lang:"So (Laos)",rol3:"sss",pct_christian:3.5,pop:105e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Folk",lat:17.39,lng:104.05,code:"PG010920"},{name:"Mien",country:"Thailand",lang:"Iu Mien",rol3:"ium",pct_christian:3.5,pop:46500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:19.13,lng:100.45,code:"PG010890"},{name:"Tamil",country:"Thailand",lang:"Tamil",rol3:"tam",pct_christian:3.5,pop:35e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:13.76,lng:100.56,code:"PG010925"},{name:"Black Tai",country:"Thailand",lang:"Tai Dam",rol3:"blt",pct_christian:3.5,pop:25e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.92,lng:99.84,code:"PG010830"},{name:"Western Bru",country:"Thailand",lang:"Bru, Western",rol3:"brv",pct_christian:3.5,pop:17e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:17.21,lng:104.15,code:"PG010934"},{name:"Yoy",country:"Thailand",lang:"Yoy",rol3:"yoy",pct_christian:3.5,pop:6300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:17.71,lng:104.01,code:"PG010940"},{name:"Urak Lawoi Aborigine",country:"Thailand",lang:"Urak Lawoi’",rol3:"urk",pct_christian:3.5,pop:2300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:7.44,lng:99.09,code:"PG010931"},{name:"Tonga",country:"Thailand",lang:"Ten’edn",rol3:"tnz",pct_christian:3.5,pop:200,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.03,lng:101.16,code:"PG010894"},{name:"Khamet",country:"Thailand",lang:"Rmeet",rol3:"lbn",pct_christian:3.5,pop:150,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.92,lng:99.84,code:"PG010870"},{name:"Lemo",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:75,pop:2300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:25.84,lng:98.78,code:"PG007252"},{name:"Anglo Indian",country:"India",lang:"English",rol3:"eng",pct_christian:62.5,pop:398e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:12.95,lng:77.6,code:"PG041386"},{name:"Indian - Christian",country:"South Africa",lang:"English",rol3:"eng",pct_christian:62.5,pop:31e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-29.84,lng:30.93,code:"PG048045"},{name:"Euronesian",country:"Samoa",lang:"English",rol3:"eng",pct_christian:62.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-13.85,lng:-171.8,code:"PG018323"},{name:"British",country:"Tanzania",lang:"English",rol3:"eng",pct_christian:62.5,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-6.83,lng:39.25,code:"PG014914"},{name:"British",country:"Zimbabwe",lang:"English",rol3:"eng",pct_christian:62.5,pop:5800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-17.83,lng:31.03,code:"PG015650"},{name:"Bagti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:62.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:23.28,lng:86.43,code:"PG049044"},{name:"American",country:"Singapore",lang:"English",rol3:"eng",pct_christian:45,pop:9800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:1.36,lng:103.82,code:"PG018447"},{name:"British",country:"Barbados",lang:"English",rol3:"eng",pct_christian:45,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:13.12,lng:-59.6,code:"PG016197"},{name:"British",country:"Venezuela",lang:"English",rol3:"eng",pct_christian:45,pop:7200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:10.48,lng:-66.88,code:"PG016461"},{name:"British",country:"Botswana",lang:"English",rol3:"eng",pct_christian:45,pop:7100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-24.65,lng:25.91,code:"PG015217"},{name:"Pitcairn Islander",country:"New Zealand",lang:"English",rol3:"eng",pct_christian:45,pop:250,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-36.89,lng:174.78,code:"PG018502"},{name:"American",country:"Australia",lang:"English",rol3:"eng",pct_christian:35,pop:95500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.52,lng:142.46,code:"PG020268"},{name:"Eurasian",country:"Myanmar",lang:"English",rol3:"eng",pct_christian:35,pop:56500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:16.85,lng:96.15,code:"PG022046"},{name:"Caribbean Hindi",country:"French Guiana",lang:"English",rol3:"eng",pct_christian:35,pop:13500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:4.91,lng:-52.3,code:"PG022284"},{name:"Southwest Aborigine Creol",country:"Australia",lang:"English",rol3:"eng",pct_christian:35,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-32.54,lng:115.99,code:"PG008068"},{name:"Anglo-Australian",country:"Singapore",lang:"English",rol3:"eng",pct_christian:35,pop:3e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:1.36,lng:103.82,code:"PG010684"},{name:"American",country:"Iceland",lang:"English",rol3:"eng",pct_christian:35,pop:1800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:64.14,lng:-21.89,code:"PG000293"},{name:"American",country:"Marshall Islands",lang:"English",rol3:"eng",pct_christian:35,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:7.1,lng:171.22,code:"PG009376"},{name:"American",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:19474e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:38.3,lng:-93.46,code:"PG043515"},{name:"Detribalized Aborigine",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:58e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.75,lng:144.18,code:"PG007863"},{name:"Jamaican",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:33e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-95.67,code:"PG047381"},{name:"Barbadian",country:"Barbados",lang:"English",rol3:"eng",pct_christian:25,pop:269e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:13.17,lng:-59.56,code:"PG016195"},{name:"American",country:"Panama",lang:"English",rol3:"eng",pct_christian:25,pop:186e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:9.06,lng:-79.38,code:"PG050309"},{name:"Barbadian",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:50500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:40.72,lng:-73.97,code:"PG046507"},{name:"Barbadian",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:40500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-95.67,code:"PG047394"},{name:"Bay Islands Creole",country:"Honduras",lang:"English",rol3:"eng",pct_christian:25,pop:2e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:16.34,lng:-86.39,code:"PG024758"},{name:"American",country:"Virgin Islands",lang:"English",rol3:"eng",pct_christian:25,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.96,lng:-64.8,code:"PG050296"},{name:"American",country:"New Zealand",lang:"English",rol3:"eng",pct_christian:25,pop:15e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-36.89,lng:174.78,code:"PG018513"},{name:"American",country:"Guam",lang:"English",rol3:"eng",pct_christian:25,pop:14e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:13.44,lng:144.78,code:"PG050299"},{name:"Sediq",country:"Taiwan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:25,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:24.02,lng:121.35,code:"PG007536"},{name:"American",country:"Fiji",lang:"English",rol3:"eng",pct_christian:25,pop:4600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-18.13,lng:178.44,code:"PG018421"},{name:"American",country:"Greenland",lang:"English",rol3:"eng",pct_christian:25,pop:3400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:64.18,lng:-51.7,code:"PG000286"},{name:"Maori",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.28,lng:-122.84,code:"PG050518"},{name:"Nakota (Assiniboine)",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.32,lng:-106.26,code:"PG043527"},{name:"Winnebago",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:42.22,lng:-96.6,code:"PG043689"},{name:"Wik-Ngathan",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:2e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-13.84,lng:141.57,code:"PG008118"},{name:"Polynesian",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.28,lng:-122.84,code:"PG050519"},{name:"Yankuntatjara",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:950,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-27.14,lng:133.83,code:"PG008134"},{name:"Maori",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:37.75,lng:-122.21,code:"PG047214"},{name:"Burmese",country:"Germany",lang:"Burmese",rol3:"mya",pct_christian:25,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:50,lng:8.01,code:"PG033529"},{name:"African Americans",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:4054e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:39.04,lng:-100.02,code:"PG048741"},{name:"Balmiki (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:17.5,pop:1295e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.44,lng:75.81,code:"PG048195"},{name:"Eurasian",country:"Malaysia",lang:"English",rol3:"eng",pct_christian:17.5,pop:68500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:3.07,lng:101.64,code:"PG020233"},{name:"Bermudians",country:"Bermuda",lang:"English",rol3:"eng",pct_christian:17.5,pop:66e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:32.31,lng:-64.77,code:"PG016210"},{name:"Caymanian",country:"Cayman Islands",lang:"English",rol3:"eng",pct_christian:17.5,pop:60500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:19.42,lng:-80.89,code:"PG016216"},{name:"Nigerian",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:39500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:37.51,lng:-88.1,code:"PG047652"},{name:"Kenyan",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:26e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:43.83,lng:-79.46,code:"PG047469"},{name:"American",country:"Haiti",lang:"English",rol3:"eng",pct_christian:17.5,pop:19e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:18.55,lng:-72.32,code:"PG016382"},{name:"Ghanaian",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:49.22,lng:-122.99,code:"PG047407"},{name:"Passamaquoddy",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:3300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:46.36,lng:-67.46,code:"PG043437"},{name:"Tlingit",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:2300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:60.48,lng:-132.29,code:"PG043489"},{name:"Straits Salish",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:2e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.77,lng:-122.64,code:"PG043642"},{name:"Onondaga",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:43.05,lng:-80.11,code:"PG043451"},{name:"Barmi",country:"India",lang:"Burmese",rol3:"mya",pct_christian:17.5,pop:600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:12.6,lng:92.83,code:"PG048889"},{name:"K’ómoks",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:350,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-124.96,code:"PG043374"},{name:"Rembarunga",country:"Australia",lang:"English",rol3:"eng",pct_christian:17.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-12.96,lng:134.58,code:"PG008058"},{name:"Irish, Northern",country:"United Kingdom",lang:"English",rol3:"eng",pct_christian:12.5,pop:166e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:54.61,lng:-6.69,code:"PG022219"},{name:"Afro-Trinidadian",country:"Trinidad and Tobago",lang:"English",rol3:"eng",pct_christian:12.5,pop:725e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:10.42,lng:-61.3,code:"PG016442"},{name:"Metis",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:704e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:47.13,lng:-97.19,code:"PG043455"},{name:"American",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:402e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.97,lng:-107.63,code:"PG043500"},{name:"English Caribbean",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:394e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:46.73,lng:-90.31,code:"PG049256"},{name:"Han Chinese",country:"Singapore",lang:"English",rol3:"eng",pct_christian:12.5,pop:358e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020724"},{name:"Han Chinese",country:"New Zealand",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:214e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-36.89,lng:174.78,code:"PG018495"},{name:"Detribalized Amerindian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.64,lng:-115.72,code:"PG043384"},{name:"Sub-Saharan Africans, English-Speaking",country:"Belgium",lang:"English",rol3:"eng",pct_christian:12.5,pop:123e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.85,lng:4.38,code:"PG047833"},{name:"Fijian",country:"Australia",lang:"English",rol3:"eng",pct_christian:12.5,pop:71500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.75,lng:144.18,code:"PG050451"},{name:"Cree, Woodland",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:68500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:54.6,lng:-106.15,code:"PG043378"},{name:"Dominican",country:"Dominica",lang:"English",rol3:"eng",pct_christian:12.5,pop:67e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:15.43,lng:-61.35,code:"PG016306"},{name:"Welsh",country:"Argentina",lang:"English",rol3:"eng",pct_christian:12.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-43.27,lng:-65.44,code:"PG017376"},{name:"Mohawk",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:44.18,lng:-77.77,code:"PG043441"},{name:"Barbadian",country:"United Kingdom",lang:"English",rol3:"eng",pct_christian:12.5,pop:24e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:51.5,lng:-.17,code:"PG048436"},{name:"Euronesian",country:"Fiji",lang:"English",rol3:"eng",pct_christian:12.5,pop:16500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-17.95,lng:178.24,code:"PG018419"},{name:"Polynesian",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG043599"},{name:"Hmong Njua",country:"Myanmar",lang:"Hmong Njua",rol3:"hnj",pct_christian:12.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Polytheism",lat:23.63,lng:97.65,code:"PG022056"},{name:"American",country:"Costa Rica",lang:"English",rol3:"eng",pct_christian:12.5,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:10.22,lng:-85.24,code:"PG025025"},{name:"Antiguan",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:8400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:35.93,lng:-98.82,code:"PG050335"},{name:"Tsimshian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:7700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:54.42,lng:-130.3,code:"PG043490"},{name:"Lillooet",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:7500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:50.68,lng:-121.92,code:"PG043432"},{name:"Nakota (Assiniboine)",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:6500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:52.17,lng:-107.03,code:"PG043354"},{name:"Kwakwakaʼwakw",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:6500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.72,lng:-127.5,code:"PG043427"},{name:"Sac & Fox Nation of Oklahoma",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:5800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:35.71,lng:-96.77,code:"PG050670"},{name:"Dakota",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:5500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.52,lng:-102.88,code:"PG043381"},{name:"American",country:"Micronesia",lang:"English",rol3:"eng",pct_christian:12.5,pop:5400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:6.95,lng:158.2,code:"PG018394"},{name:"Straits Salish",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.49,lng:-123.46,code:"PG043479"},{name:"Bahamian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:43.9,lng:-79.58,code:"PG050486"},{name:"Cree, Southern East",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.77,lng:-75.81,code:"PG043411"},{name:"Heiltsuk",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:52.3,lng:-128.28,code:"PG043406"},{name:"Tolowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:41.9,lng:-124.16,code:"PG050627"},{name:"Sac & Fox Tribe of the Mississippi in Iowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:41.98,lng:-92.65,code:"PG043616"},{name:"Iowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:39.99,lng:-95.39,code:"PG043277"},{name:"Central Africans",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:40.74,lng:-73.72,code:"PG047190"},{name:"Jamaican",country:"Germany",lang:"English",rol3:"eng",pct_christian:12.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.13,lng:11.56,code:"PG048546"},{name:"American",country:"Curacao",lang:"English",rol3:"eng",pct_christian:12.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:12.19,lng:-68.97,code:"PG016406"},{name:"Saint Lucian",country:"French Guiana",lang:"English",rol3:"eng",pct_christian:12.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:4.91,lng:-52.3,code:"PG022286"},{name:"Tubatulabal",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:36.07,lng:-118.31,code:"PG043660"},{name:"Euronesian",country:"Cook Islands",lang:"English",rol3:"eng",pct_christian:12.5,pop:850,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-21.23,lng:-159.78,code:"PG018317"},{name:"Nez Perce",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:46.28,lng:-116.41,code:"PG043560"},{name:"Salinan",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:35.83,lng:-120.77,code:"PG050637"},{name:"Gagra",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:12.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.84,lng:75.86,code:"PG049079"},{name:"Kaska",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:58.79,lng:-126.96,code:"PG043421"},{name:"Anuta",country:"Solomon Islands",lang:"English",rol3:"eng",pct_christian:12.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-11.61,lng:169.85,code:"PG010725"},{name:"Sac & Fox Nation of Missouri in Kansas and Nebraska",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:450,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:40.01,lng:-95.52,code:"PG050671"},{name:"British",country:"Lesotho",lang:"English",rol3:"eng",pct_christian:12.5,pop:425,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-29.33,lng:27.51,code:"PG015281"},{name:"Haida",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:150,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:55.19,lng:-132.88,code:"PG043257"},{name:"Han Chinese",country:"Kiribati",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:125,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:1.37,lng:173.11,code:"PG009087"},{name:"Chinuk Wawa",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:125,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.37,lng:-123.2,code:"PG043372"},{name:"Cayuga",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:60,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:42.55,lng:-79,code:"PG043191"},{name:"Han Chinese",country:"Tuvalu",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-8.5,lng:179.19,code:"PG018319"},{name:"Upper Tanana",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:62.07,lng:-140.22,code:"PG043497"},{name:"Han Chinese, Mandarin",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:90145e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:37.37,lng:110.73,code:"PG006802"},{name:"Han Chinese, Mandarin",country:"Taiwan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:4635e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:24.86,lng:121.36,code:"PG007518"},{name:"Santal (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:335e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:24,lng:88.81,code:"PG046352"},{name:"Han Chinese, Mandarin",country:"United States",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:2345e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:45.74,lng:-114.4,code:"PG043261"},{name:"Chinese American",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:175e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:45.74,lng:-114.4,code:"PG050453"},{name:"Han Chinese",country:"Vietnam",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:162e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.04,lng:106.1,code:"PG033473"},{name:"Han Chinese, Mandarin",country:"Canada",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:1055e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:46.93,lng:-92.67,code:"PG043404"},{name:"Khmu, Ou",country:"Laos",lang:"Khmu",rol3:"kjg",pct_christian:7.5,pop:817e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:19.8,lng:102.58,code:"PG020913"},{name:"Han Chinese, Mandarin",country:"Japan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:736e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:35.72,lng:137.14,code:"PG048925"},{name:"Han Chinese",country:"Australia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:67e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-33.75,lng:144.18,code:"PG033443"},{name:"Han Chinese",country:"Myanmar",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:65e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:16.85,lng:96.15,code:"PG022047"},{name:"Jamaican",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:588e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:32.14,lng:-77.63,code:"PG043284"},{name:"Han Chinese, Mandarin",country:"Singapore",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:467e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020728"},{name:"Detribalized Amerindian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:454e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:34.9,lng:-111.06,code:"PG043225"},{name:"Cape Verdean",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:309e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:37.42,lng:-74.94,code:"PG047254"},{name:"Han Chinese",country:"Brazil",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:28e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-23.17,lng:-45.54,code:"PG016864"}]},Sudan:{target_upg:170,target_pop:48623100,target_top_langs:["Arabic, Sudanese","Bedawiyet","Fur","Nobiin"],target_top_religion:"Islam",neighbors:[{name:"Turum",country:"Sudan",lang:"Tagoi",rol3:"tag",pct_christian:45,pop:3200,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:11.6,lng:31.08,code:"PG042842"},{name:"Acheron",country:"Sudan",lang:"Acheron",rol3:"acz",pct_christian:25,pop:29e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:10.81,lng:30.25,code:"PG011958"},{name:"Heiban Nuba",country:"Sudan",lang:"Heiban",rol3:"hbn",pct_christian:25,pop:12500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:11.25,lng:30.48,code:"PG012038"},{name:"Moro",country:"Sudan",lang:"Moro",rol3:"mor",pct_christian:12.5,pop:85e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:10.94,lng:30.18,code:"PG012112"},{name:"Katcha-Kadugli",country:"Sudan",lang:"Katcha-Kadugli-Miri",rol3:"xtc",pct_christian:7.5,pop:97e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:10.96,lng:29.69,code:"PG012053"},{name:"Dgik, Ruwa",country:"Sudan",lang:"Dagik",rol3:"dec",pct_christian:7.5,pop:72e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:10.66,lng:30,code:"PG012102"},{name:"Krongo",country:"Sudan",lang:"Krongo",rol3:"kgo",pct_christian:7.5,pop:66e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:10.55,lng:29.96,code:"PG012074"},{name:"Miri",country:"Sudan",lang:"Katcha-Kadugli-Miri",rol3:"xtc",pct_christian:7.5,pop:3e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:11,lng:29.5,code:"PG012105"},{name:"Tulishi",country:"Sudan",lang:"Tulishi",rol3:"tey",pct_christian:7.5,pop:3e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:11.47,lng:29.11,code:"PG012165"},{name:"Koalib",country:"Sudan",lang:"Koalib",rol3:"kib",pct_christian:3.5,pop:139e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:11.67,lng:30.4,code:"PG012071"},{name:"Laro",country:"Sudan",lang:"Laro",rol3:"lro",pct_christian:3.5,pop:4e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:11.35,lng:30.54,code:"PG012079"},{name:"Shatt",country:"Sudan",lang:"Shatt",rol3:"shj",pct_christian:3.5,pop:37500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:10.82,lng:29.76,code:"PG012132"},{name:"Komo",country:"Sudan",lang:"Komo (Sudan)",rol3:"xom",pct_christian:3.5,pop:36e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:9.82,lng:34.09,code:"PG012072"},{name:"Delen",country:"Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:3.5,pop:13e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:12.06,lng:29.58,code:"PG042814"},{name:"Anglo Indian",country:"India",lang:"English",rol3:"eng",pct_christian:62.5,pop:398e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:12.95,lng:77.6,code:"PG041386"},{name:"Indian - Christian",country:"South Africa",lang:"English",rol3:"eng",pct_christian:62.5,pop:31e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-29.84,lng:30.93,code:"PG048045"},{name:"Euronesian",country:"Samoa",lang:"English",rol3:"eng",pct_christian:62.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-13.85,lng:-171.8,code:"PG018323"},{name:"British",country:"Tanzania",lang:"English",rol3:"eng",pct_christian:62.5,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-6.83,lng:39.25,code:"PG014914"},{name:"British",country:"Zimbabwe",lang:"English",rol3:"eng",pct_christian:62.5,pop:5800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-17.83,lng:31.03,code:"PG015650"},{name:"American",country:"Singapore",lang:"English",rol3:"eng",pct_christian:45,pop:9800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:1.36,lng:103.82,code:"PG018447"},{name:"British",country:"Barbados",lang:"English",rol3:"eng",pct_christian:45,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:13.12,lng:-59.6,code:"PG016197"},{name:"British",country:"Venezuela",lang:"English",rol3:"eng",pct_christian:45,pop:7200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:10.48,lng:-66.88,code:"PG016461"},{name:"British",country:"Botswana",lang:"English",rol3:"eng",pct_christian:45,pop:7100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-24.65,lng:25.91,code:"PG015217"},{name:"Pitcairn Islander",country:"New Zealand",lang:"English",rol3:"eng",pct_christian:45,pop:250,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-36.89,lng:174.78,code:"PG018502"},{name:"American",country:"Australia",lang:"English",rol3:"eng",pct_christian:35,pop:95500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.52,lng:142.46,code:"PG020268"},{name:"Eurasian",country:"Myanmar",lang:"English",rol3:"eng",pct_christian:35,pop:56500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:16.85,lng:96.15,code:"PG022046"},{name:"Caribbean Hindi",country:"French Guiana",lang:"English",rol3:"eng",pct_christian:35,pop:13500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:4.91,lng:-52.3,code:"PG022284"},{name:"Southwest Aborigine Creol",country:"Australia",lang:"English",rol3:"eng",pct_christian:35,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-32.54,lng:115.99,code:"PG008068"},{name:"Anglo-Australian",country:"Singapore",lang:"English",rol3:"eng",pct_christian:35,pop:3e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:1.36,lng:103.82,code:"PG010684"},{name:"American",country:"Iceland",lang:"English",rol3:"eng",pct_christian:35,pop:1800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:64.14,lng:-21.89,code:"PG000293"},{name:"American",country:"Marshall Islands",lang:"English",rol3:"eng",pct_christian:35,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:7.1,lng:171.22,code:"PG009376"},{name:"American",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:19474e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:38.3,lng:-93.46,code:"PG043515"},{name:"Detribalized Aborigine",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:58e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.75,lng:144.18,code:"PG007863"},{name:"Jamaican",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:33e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-95.67,code:"PG047381"},{name:"Barbadian",country:"Barbados",lang:"English",rol3:"eng",pct_christian:25,pop:269e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:13.17,lng:-59.56,code:"PG016195"},{name:"American",country:"Panama",lang:"English",rol3:"eng",pct_christian:25,pop:186e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:9.06,lng:-79.38,code:"PG050309"},{name:"Barbadian",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:50500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:40.72,lng:-73.97,code:"PG046507"},{name:"Barbadian",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:40500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-95.67,code:"PG047394"},{name:"Bay Islands Creole",country:"Honduras",lang:"English",rol3:"eng",pct_christian:25,pop:2e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:16.34,lng:-86.39,code:"PG024758"},{name:"American",country:"Virgin Islands",lang:"English",rol3:"eng",pct_christian:25,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:17.96,lng:-64.8,code:"PG050296"},{name:"American",country:"New Zealand",lang:"English",rol3:"eng",pct_christian:25,pop:15e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-36.89,lng:174.78,code:"PG018513"},{name:"American",country:"Guam",lang:"English",rol3:"eng",pct_christian:25,pop:14e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:13.44,lng:144.78,code:"PG050299"},{name:"American",country:"Fiji",lang:"English",rol3:"eng",pct_christian:25,pop:4600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-18.13,lng:178.44,code:"PG018421"},{name:"Mono",country:"Cameroon",lang:"Fulfulde, Adamawa",rol3:"fub",pct_christian:25,pop:3700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:8.77,lng:14.12,code:"PG012705"},{name:"American",country:"Greenland",lang:"English",rol3:"eng",pct_christian:25,pop:3400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:64.18,lng:-51.7,code:"PG000286"},{name:"Maori",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.28,lng:-122.84,code:"PG050518"},{name:"Nakota (Assiniboine)",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.32,lng:-106.26,code:"PG043527"},{name:"Winnebago",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:42.22,lng:-96.6,code:"PG043689"},{name:"Wik-Ngathan",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:2e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-13.84,lng:141.57,code:"PG008118"},{name:"Polynesian",country:"Canada",lang:"English",rol3:"eng",pct_christian:25,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.28,lng:-122.84,code:"PG050519"},{name:"Yankuntatjara",country:"Australia",lang:"English",rol3:"eng",pct_christian:25,pop:950,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-27.14,lng:133.83,code:"PG008134"},{name:"Maori",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:37.75,lng:-122.21,code:"PG047214"},{name:"African Americans",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:4054e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:39.04,lng:-100.02,code:"PG048741"},{name:"Eurasian",country:"Malaysia",lang:"English",rol3:"eng",pct_christian:17.5,pop:68500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:3.07,lng:101.64,code:"PG020233"},{name:"Bermudians",country:"Bermuda",lang:"English",rol3:"eng",pct_christian:17.5,pop:66e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:32.31,lng:-64.77,code:"PG016210"},{name:"Caymanian",country:"Cayman Islands",lang:"English",rol3:"eng",pct_christian:17.5,pop:60500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:19.42,lng:-80.89,code:"PG016216"},{name:"Nigerian",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:39500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:37.51,lng:-88.1,code:"PG047652"},{name:"Kenyan",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:26e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:43.83,lng:-79.46,code:"PG047469"},{name:"American",country:"Haiti",lang:"English",rol3:"eng",pct_christian:17.5,pop:19e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:18.55,lng:-72.32,code:"PG016382"},{name:"Ghanaian",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:49.22,lng:-122.99,code:"PG047407"},{name:"Passamaquoddy",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:3300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:46.36,lng:-67.46,code:"PG043437"},{name:"Tlingit",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:2300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:60.48,lng:-132.29,code:"PG043489"},{name:"Straits Salish",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:2e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.77,lng:-122.64,code:"PG043642"},{name:"Onondaga",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:43.05,lng:-80.11,code:"PG043451"},{name:"K’ómoks",country:"Canada",lang:"English",rol3:"eng",pct_christian:17.5,pop:350,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-124.96,code:"PG043374"},{name:"Rembarunga",country:"Australia",lang:"English",rol3:"eng",pct_christian:17.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-12.96,lng:134.58,code:"PG008058"},{name:"Irish, Northern",country:"United Kingdom",lang:"English",rol3:"eng",pct_christian:12.5,pop:166e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:54.61,lng:-6.69,code:"PG022219"},{name:"Afro-Trinidadian",country:"Trinidad and Tobago",lang:"English",rol3:"eng",pct_christian:12.5,pop:725e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:10.42,lng:-61.3,code:"PG016442"},{name:"Metis",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:704e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:47.13,lng:-97.19,code:"PG043455"},{name:"Gbaya",country:"Cameroon",lang:"Gbaya, Northwest",rol3:"gya",pct_christian:12.5,pop:442e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:6.26,lng:13.47,code:"PG012601"},{name:"American",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:402e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.97,lng:-107.63,code:"PG043500"},{name:"English Caribbean",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:394e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:46.73,lng:-90.31,code:"PG049256"},{name:"Han Chinese",country:"Singapore",lang:"English",rol3:"eng",pct_christian:12.5,pop:358e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020724"},{name:"Detribalized Amerindian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.64,lng:-115.72,code:"PG043384"},{name:"Sub-Saharan Africans, English-Speaking",country:"Belgium",lang:"English",rol3:"eng",pct_christian:12.5,pop:123e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.85,lng:4.38,code:"PG047833"},{name:"Arab, Egyptian",country:"Australia",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:12.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-31.94,lng:115.89,code:"PG020254"},{name:"Fijian",country:"Australia",lang:"English",rol3:"eng",pct_christian:12.5,pop:71500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-33.75,lng:144.18,code:"PG050451"},{name:"Cree, Woodland",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:68500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:54.6,lng:-106.15,code:"PG043378"},{name:"Dominican",country:"Dominica",lang:"English",rol3:"eng",pct_christian:12.5,pop:67e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:15.43,lng:-61.35,code:"PG016306"},{name:"Welsh",country:"Argentina",lang:"English",rol3:"eng",pct_christian:12.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-43.27,lng:-65.44,code:"PG017376"},{name:"Mohawk",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:44.18,lng:-77.77,code:"PG043441"},{name:"Barbadian",country:"United Kingdom",lang:"English",rol3:"eng",pct_christian:12.5,pop:24e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:51.5,lng:-.17,code:"PG048436"},{name:"Euronesian",country:"Fiji",lang:"English",rol3:"eng",pct_christian:12.5,pop:16500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-17.95,lng:178.24,code:"PG018419"},{name:"Polynesian",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG043599"},{name:"American",country:"Costa Rica",lang:"English",rol3:"eng",pct_christian:12.5,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:10.22,lng:-85.24,code:"PG025025"},{name:"Antiguan",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:8400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:35.93,lng:-98.82,code:"PG050335"},{name:"Tsimshian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:7700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:54.42,lng:-130.3,code:"PG043490"},{name:"Lillooet",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:7500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:50.68,lng:-121.92,code:"PG043432"},{name:"Nakota (Assiniboine)",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:6500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:52.17,lng:-107.03,code:"PG043354"},{name:"Kwakwakaʼwakw",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:6500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.72,lng:-127.5,code:"PG043427"},{name:"Sac & Fox Nation of Oklahoma",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:5800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:35.71,lng:-96.77,code:"PG050670"},{name:"Dakota",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:5500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.52,lng:-102.88,code:"PG043381"},{name:"American",country:"Micronesia",lang:"English",rol3:"eng",pct_christian:12.5,pop:5400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:6.95,lng:158.2,code:"PG018394"},{name:"Straits Salish",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.49,lng:-123.46,code:"PG043479"},{name:"Bahamian",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:43.9,lng:-79.58,code:"PG050486"},{name:"Cree, Southern East",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:3200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:50.77,lng:-75.81,code:"PG043411"},{name:"Heiltsuk",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:52.3,lng:-128.28,code:"PG043406"},{name:"Tolowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:41.9,lng:-124.16,code:"PG050627"},{name:"Sac & Fox Tribe of the Mississippi in Iowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:41.98,lng:-92.65,code:"PG043616"},{name:"Iowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:39.99,lng:-95.39,code:"PG043277"},{name:"Central Africans",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:40.74,lng:-73.72,code:"PG047190"},{name:"Jamaican",country:"Germany",lang:"English",rol3:"eng",pct_christian:12.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.13,lng:11.56,code:"PG048546"},{name:"American",country:"Curacao",lang:"English",rol3:"eng",pct_christian:12.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:12.19,lng:-68.97,code:"PG016406"},{name:"Saint Lucian",country:"French Guiana",lang:"English",rol3:"eng",pct_christian:12.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:4.91,lng:-52.3,code:"PG022286"},{name:"Tubatulabal",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:36.07,lng:-118.31,code:"PG043660"},{name:"Euronesian",country:"Cook Islands",lang:"English",rol3:"eng",pct_christian:12.5,pop:850,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-21.23,lng:-159.78,code:"PG018317"},{name:"Nez Perce",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:46.28,lng:-116.41,code:"PG043560"},{name:"Salinan",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:35.83,lng:-120.77,code:"PG050637"},{name:"Kaska",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:58.79,lng:-126.96,code:"PG043421"},{name:"Anuta",country:"Solomon Islands",lang:"English",rol3:"eng",pct_christian:12.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-11.61,lng:169.85,code:"PG010725"},{name:"Sac & Fox Nation of Missouri in Kansas and Nebraska",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:450,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:40.01,lng:-95.52,code:"PG050671"},{name:"British",country:"Lesotho",lang:"English",rol3:"eng",pct_christian:12.5,pop:425,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-29.33,lng:27.51,code:"PG015281"},{name:"Haida",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:150,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:55.19,lng:-132.88,code:"PG043257"},{name:"Chinuk Wawa",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:125,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.37,lng:-123.2,code:"PG043372"},{name:"Cayuga",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:60,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:42.55,lng:-79,code:"PG043191"},{name:"Upper Tanana",country:"Canada",lang:"English",rol3:"eng",pct_christian:12.5,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:62.07,lng:-140.22,code:"PG043497"},{name:"Chinese American",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:175e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:45.74,lng:-114.4,code:"PG050453"},{name:"Jamaican",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:588e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:32.14,lng:-77.63,code:"PG043284"},{name:"Detribalized Amerindian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:454e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:34.9,lng:-111.06,code:"PG043225"},{name:"Cape Verdean",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:309e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:37.42,lng:-74.94,code:"PG047254"},{name:"Ghanaian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:204e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:40.72,lng:-73.97,code:"PG046500"},{name:"Arab, Syro-Lebanese",country:"Australia",lang:"Arabic, Gulf",rol3:"afb",pct_christian:7.5,pop:192e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-33.38,lng:143.4,code:"PG020267"},{name:"Trinidadian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:174e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:40.69,lng:-73.86,code:"PG046512"},{name:"Choctaw",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:121e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:34.5,lng:-95.33,code:"PG043202"},{name:"Liberian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:107e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:40.72,lng:-73.97,code:"PG047273"},{name:"American",country:"Dominican Republic",lang:"English",rol3:"eng",pct_christian:7.5,pop:96500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:18.48,lng:-69.91,code:"PG016327"},{name:"Kenyan",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:96e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Neo-Pentecostalism",lat:33.32,lng:-92.72,code:"PG050473"},{name:"Anglo-Australian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:84e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:35.02,lng:-98.4,code:"PG043519"},{name:"Trinidadian",country:"Canada",lang:"English",rol3:"eng",pct_christian:7.5,pop:84e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.72,lng:-95.67,code:"PG047383"},{name:"Swahili",country:"United States",lang:"Swahili",rol3:"swh",pct_christian:7.5,pop:81500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:34.52,lng:-105.83,code:"PG047306"},{name:"Channel Islanders",country:"Guernsey",lang:"English",rol3:"eng",pct_christian:7.5,pop:65e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.48,lng:-2.52,code:"PG048818"},{name:"South African",country:"Canada",lang:"English",rol3:"eng",pct_christian:7.5,pop:44e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:47.85,lng:-102.06,code:"PG050480"},{name:"Cree, Plains",country:"Canada",lang:"English",rol3:"eng",pct_christian:7.5,pop:43e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:53.8,lng:-109.54,code:"PG043505"},{name:"Zari",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.87,lng:9.4,code:"PG014203"},{name:"British",country:"Zambia",lang:"English",rol3:"eng",pct_christian:7.5,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-15.4,lng:28.31,code:"PG015570"},{name:"Blackfoot, Siksika",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:48.66,lng:-112.87,code:"PG043538"},{name:"Bassa",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:10.67,lng:5.82,code:"PG033345"},{name:"American",country:"Ecuador",lang:"English",rol3:"eng",pct_christian:7.5,pop:28e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-.18,lng:-78.49,code:"PG017483"},{name:"Arab, Egyptian",country:"Germany",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:25500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:52.5,lng:13.4,code:"PG042462"},{name:"Potawatomi",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:24e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:39.34,lng:-95.84,code:"PG043601"},{name:"Euronesian",country:"Solomon Islands",lang:"English",rol3:"eng",pct_christian:7.5,pop:23500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-9.43,lng:159.96,code:"PG018398"},{name:"Halkomelem",country:"Canada",lang:"English",rol3:"eng",pct_christian:7.5,pop:21e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:49.22,lng:-121.97,code:"PG043403"},{name:"Tlingit",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:18e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:57.16,lng:-133.75,code:"PG043653"},{name:"Filipino",country:"New Zealand",lang:"English",rol3:"eng",pct_christian:7.5,pop:17e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-36.89,lng:174.78,code:"PG047593"},{name:"Comanche",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:34.56,lng:-98.43,code:"PG043209"},{name:"British",country:"Cayman Islands",lang:"English",rol3:"eng",pct_christian:7.5,pop:14e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:19.33,lng:-81.38,code:"PG016215"},{name:"Cheyenne",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:13500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:45.53,lng:-106.68,code:"PG043198"},{name:"American",country:"Papua New Guinea",lang:"English",rol3:"eng",pct_christian:7.5,pop:12e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:-9.45,lng:147.18,code:"PG022038"},{name:"Pueblo, Santa Clara",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:12e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Native American religions",lat:35.98,lng:-106.22,code:"PG050653"},{name:"Shuswap",country:"Canada",lang:"English",rol3:"eng",pct_christian:7.5,pop:11e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:51.26,lng:-120.93,code:"PG043468"}]},Algeria:{target_upg:38,target_pop:47320600,target_top_langs:["Arabic, Algerian","Kabyle","Tachawit","Tamazight, Central Atlas"],target_top_religion:"Islam",neighbors:[{name:"Han Chinese, Mandarin",country:"Algeria",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:55e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:36.73,lng:3.13,code:"PG049244"},{name:"Bakole",country:"Cameroon",lang:"French",rol3:"fra",pct_christian:35,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:4.43,lng:8.97,code:"PG012493"},{name:"PoaPoa",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:25,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-20.87,lng:164.66,code:"PG018370"},{name:"Romani, Vlax",country:"Belgium",lang:"Romani, Vlax",rol3:"rmy",pct_christian:17.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:50.85,lng:4.38,code:"PG000068"},{name:"Arab, Egyptian",country:"Australia",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:12.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-31.94,lng:115.89,code:"PG020254"},{name:"Euronesian",country:"French Polynesia",lang:"French",rol3:"fra",pct_christian:12.5,pop:58500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-17.56,lng:-149.57,code:"PG018408"},{name:"Euronesian",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:12.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-22.27,lng:166.45,code:"PG018406"},{name:"Aeke",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:12.5,pop:350,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-21.07,lng:164.88,code:"PG009564"},{name:"French",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:7.5,pop:93500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-21.33,lng:165.49,code:"PG018389"},{name:"Zari",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.87,lng:9.4,code:"PG014203"},{name:"Bassa",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:10.67,lng:5.82,code:"PG033345"},{name:"Arab, Egyptian",country:"Germany",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:25500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:52.5,lng:13.4,code:"PG042462"},{name:"Sake",country:"Gabon",lang:"French",rol3:"fra",pct_christian:7.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:.07,lng:11.63,code:"PG013210"},{name:"Burundi",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.58,lng:-73.7,code:"PG050494"},{name:"Burundi",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:37.74,lng:-92.31,code:"PG047181"},{name:"Arab, Egyptian",country:"Belgium",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:5300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:50.85,lng:4.38,code:"PG000053"},{name:"Kande",country:"Gabon",lang:"French",rol3:"fra",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-.09,lng:11.75,code:"PG013189"},{name:"Chadian",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.58,lng:-73.7,code:"PG050504"},{name:"New Caledonian",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.22,lng:-122.99,code:"PG047444"},{name:"Gabonese",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:38.9,lng:-77.19,code:"PG047191"},{name:"Chinese-Tahitian Creole",country:"French Polynesia",lang:"French",rol3:"fra",pct_christian:7.5,pop:300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-17.56,lng:-149.57,code:"PG018407"},{name:"Chadian",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:250,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:38.02,lng:-84.5,code:"PG047189"},{name:"Walloon",country:"Belgium",lang:"French",rol3:"fra",pct_christian:3.5,pop:3755e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:50.32,lng:4.95,code:"PG000076"},{name:"Swiss",country:"Switzerland",lang:"French",rol3:"fra",pct_christian:3.5,pop:2015e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:46.6,lng:6.93,code:"PG000585"},{name:"Egyptian Copt",country:"United States",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:3.5,pop:242e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:35.35,lng:-111.99,code:"PG047347"},{name:"Franco-Mauritian",country:"Mauritius",lang:"French",rol3:"fra",pct_christian:3.5,pop:72500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-20.25,lng:57.51,code:"PG015346"},{name:"Romani, Vlax, Kalderash",country:"Argentina",lang:"Romani, Vlax",rol3:"rmy",pct_christian:3.5,pop:61e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-34.65,lng:-58.56,code:"PG017346"},{name:"Romani, Vlax",country:"Colombia",lang:"Romani, Vlax",rol3:"rmy",pct_christian:3.5,pop:42e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:4.64,lng:-74.11,code:"PG016290"},{name:"Arab",country:"South Africa",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-26.17,lng:28.07,code:"PG015486"},{name:"Romanian",country:"France",lang:"French",rol3:"fra",pct_christian:3.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:48.84,lng:2.35,code:"PG000192"},{name:"Arab",country:"New Zealand",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-36.89,lng:174.78,code:"PG018478"},{name:"French Caribbean",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:6300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.5,lng:-73.81,code:"PG047395"},{name:"Togolese",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:5600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:45.52,lng:-73.68,code:"PG050478"},{name:"Congolese",country:"Spain",lang:"French",rol3:"fra",pct_christian:3.5,pop:4800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:40.41,lng:-3.69,code:"PG042340"},{name:"Abenaki",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:46.07,lng:-72.82,code:"PG043348"},{name:"Ivorian",country:"United States",lang:"French",rol3:"fra",pct_christian:3.5,pop:3600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:40.74,lng:-73.72,code:"PG047266"},{name:"Guinean",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.5,lng:-73.81,code:"PG047454"},{name:"Sighu",country:"Gabon",lang:"French",rol3:"fra",pct_christian:3.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-.84,lng:12.69,code:"PG013213"},{name:"Rwandan",country:"Netherlands",lang:"French",rol3:"fra",pct_christian:3.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:51.9,lng:4.47,code:"PG000430"},{name:"Gabonese",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:1600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.58,lng:-73.7,code:"PG050505"}]},Iraq:{target_upg:31,target_pop:46011e3,target_top_langs:["Arabic, Mesopotamian","Arabic, North Mesopotamian","Kurdish, Central","Kurdish, Northern"],target_top_religion:"Islam",neighbors:[{name:"Arab, Egyptian",country:"Australia",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:12.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-31.94,lng:115.89,code:"PG020254"},{name:"Armenian",country:"United Kingdom",lang:"Armenian",rol3:"hye",pct_christian:12.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000627"},{name:"Bangni",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:62500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:27.43,lng:92.97,code:"PG041887"},{name:"Assyrian",country:"Australia",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:7.5,pop:4e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.85,lng:151.03,code:"PG007833"},{name:"Arab, Egyptian",country:"Germany",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:25500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:52.5,lng:13.4,code:"PG042462"},{name:"Arab, Lebanese",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024837"},{name:"Arab, Palestinian",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024839"},{name:"Iranian",country:"Armenia",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:40.17,lng:44.49,code:"PG050098"},{name:"Arab, Egyptian",country:"Belgium",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:5300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:50.85,lng:4.38,code:"PG000053"},{name:"Iranian",country:"Greece",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:38.05,lng:23.7,code:"PG047071"},{name:"Kankali",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:27.7,lng:81.49,code:"PG049096"},{name:"Khadim",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:26.49,lng:74.65,code:"PG048969"},{name:"Egyptian Copt",country:"United States",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:3.5,pop:242e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:35.35,lng:-111.99,code:"PG047347"},{name:"Arab, Lebanese",country:"Canada",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:234e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.53,lng:-73.66,code:"PG043431"},{name:"Armenian",country:"Lebanon",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:22e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:33.87,lng:35.58,code:"PG048928"},{name:"Persian",country:"Canada",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:46.93,lng:-92.67,code:"PG043458"},{name:"Arab, Syrian",country:"United States",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:193e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.7,lng:-73.87,code:"PG043644"},{name:"Iranian",country:"Germany",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:175e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:52.51,lng:11.69,code:"PG000259"},{name:"Persian",country:"Turkiye",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:13e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:41.04,lng:28.87,code:"PG024581"},{name:"Armenian",country:"Iran",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:38.14,lng:46.37,code:"PG024130"},{name:"Chikwa",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:23.97,lng:84.3,code:"PG041852"},{name:"Persian",country:"United Kingdom",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:86e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:51.5,lng:-.17,code:"PG000643"},{name:"Assyrian",country:"Germany",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:7e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:50.03,lng:8.25,code:"PG000214"},{name:"Assyrian",country:"United States",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:7e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:37.75,lng:-122.21,code:"PG043528"},{name:"Armenian",country:"Turkiye",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:41.05,lng:28.9,code:"PG024538"},{name:"Kurd, Northern",country:"Russian Federation",lang:"Kurdish, Northern",rol3:"kmr",pct_christian:3.5,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:44.63,lng:39.24,code:"PG024465"},{name:"Arab",country:"South Africa",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-26.17,lng:28.07,code:"PG015486"},{name:"Assyrian",country:"Canada",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG043355"},{name:"Arab",country:"New Zealand",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-36.89,lng:174.78,code:"PG018478"},{name:"Persian",country:"Indonesia",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:-6.21,lng:106.83,code:"PG050238"},{name:"Persian",country:"South Korea",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:3500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:37.55,lng:126.99,code:"PG050237"},{name:"Dayare",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.79,lng:77.53,code:"PG049780"},{name:"Arab, Palestinian",country:"El Salvador",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:13.71,lng:-89.19,code:"PG039263"}]},"Myanmar (Burma)":{target_upg:58,target_pop:44445100,target_top_langs:["Burmese","Shan","Rakhine","Chinese, Mandarin"],target_top_religion:"Buddhism",neighbors:[{name:"Kayaw",country:"Myanmar",lang:"Kayaw",rol3:"kvl",pct_christian:75,pop:26e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:19.26,lng:96.85,code:"PG009414"},{name:"Zanniat Chin",country:"Myanmar",lang:"Chin, Falam",rol3:"cfm",pct_christian:75,pop:2e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23,lng:93.84,code:"PG009549"},{name:"Lushai",country:"Myanmar",lang:"Mizo",rol3:"lus",pct_christian:75,pop:19500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.44,lng:93.63,code:"PG009473"},{name:"Siyin Chin",country:"Myanmar",lang:"Chin, Siyin",rol3:"csy",pct_christian:75,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.41,lng:93.63,code:"PG009521"},{name:"Anal",country:"Myanmar",lang:"Anal",rol3:"anm",pct_christian:75,pop:50,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.21,lng:94.31,code:"PG022039"},{name:"Karen, S'gaw",country:"Myanmar",lang:"Karen, S’gaw",rol3:"ksw",pct_christian:62.5,pop:201e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:17.51,lng:96.16,code:"PG009518"},{name:"Tiddim Chin",country:"Myanmar",lang:"Chin, Tedim",rol3:"ctd",pct_christian:62.5,pop:256e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.5,lng:94.06,code:"PG009534"},{name:"Falam Chin",country:"Myanmar",lang:"Chin, Falam",rol3:"cfm",pct_christian:62.5,pop:147e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.02,lng:93.67,code:"PG022048"},{name:"Haka Chin",country:"Myanmar",lang:"Chin, Hakha",rol3:"cnh",pct_christian:62.5,pop:133e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:22.45,lng:93.8,code:"PG009431"},{name:"Rawang",country:"Myanmar",lang:"Rawang",rol3:"raw",pct_christian:62.5,pop:73500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:27.25,lng:97.97,code:"PG009509"},{name:"Kuki Chin",country:"Myanmar",lang:"Chin, Thado",rol3:"tcz",pct_christian:62.5,pop:41e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.9,lng:94.73,code:"PG009461"},{name:"K'cho Chin",country:"Myanmar",lang:"Chin, Müün",rol3:"mwq",pct_christian:62.5,pop:3e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:20.29,lng:94.3,code:"PG022045"},{name:"Ngawn Chin",country:"Myanmar",lang:"Chin, Ngawn",rol3:"cnw",pct_christian:62.5,pop:23e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.09,lng:93.85,code:"PG009493"},{name:"Bawm",country:"Myanmar",lang:"Chin, Bawm",rol3:"bgr",pct_christian:62.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.59,lng:92.9,code:"PG009408"},{name:"Pyen",country:"Myanmar",lang:"Pyen",rol3:"pyy",pct_christian:62.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:22.03,lng:99.65,code:"PG009506"},{name:"Lahu",country:"Myanmar",lang:"Lahu",rol3:"lhu",pct_christian:45,pop:2e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.58,lng:99.59,code:"PG009463"},{name:"Zome",country:"Myanmar",lang:"Zo",rol3:"zom",pct_christian:45,pop:61e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:23.53,lng:94.12,code:"PG009551"},{name:"Zotung Chin",country:"Myanmar",lang:"Chin, Zotung",rol3:"czt",pct_christian:45,pop:54e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:22.55,lng:93.32,code:"PG009552"},{name:"Chin, Mara",country:"Myanmar",lang:"Mara",rol3:"mrh",pct_christian:45,pop:25e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:22.05,lng:93.12,code:"PG009481"},{name:"Karen, Gheko",country:"Myanmar",lang:"Karen, Geko",rol3:"ghk",pct_christian:45,pop:17e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:19.51,lng:96.75,code:"PG009428"},{name:"Kawyaw",country:"Myanmar",lang:"Kawyaw",rol3:"kxf",pct_christian:45,pop:12e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:19.28,lng:97.08,code:"PG009479"},{name:"Naga, Konyak",country:"Myanmar",lang:"Naga, Konyak",rol3:"nbe",pct_christian:45,pop:2200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.56,lng:95.18,code:"PG009460"},{name:"Kachin",country:"Myanmar",lang:"Jingpho",rol3:"kac",pct_christian:35,pop:1065e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.05,lng:97.44,code:"PG009448"},{name:"Eurasian",country:"Myanmar",lang:"English",rol3:"eng",pct_christian:35,pop:56500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:16.85,lng:96.15,code:"PG022046"},{name:"Lashi",country:"Myanmar",lang:"Lacid",rol3:"lsi",pct_christian:35,pop:3e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.83,lng:98.25,code:"PG009469"},{name:"Rawngtu Chin",country:"Myanmar",lang:"Chin, Rawngtu",rol3:"weu",pct_christian:35,pop:5e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Polytheism",lat:21.55,lng:93.73,code:"PG009539"},{name:"Mro-Khimi",country:"Myanmar",lang:"Mro-Khimi",rol3:"cmr",pct_christian:25,pop:75e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:20.7,lng:92.98,code:"PG009456"},{name:"Karen, Geba",country:"Myanmar",lang:"Karen, Geba",rol3:"kvq",pct_christian:25,pop:4e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:19.5,lng:96.62,code:"PG009427"},{name:"Karen, Bghai",country:"Myanmar",lang:"Karen, Bwe",rol3:"bwe",pct_christian:25,pop:21e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.09,lng:96.72,code:"PG009510"},{name:"Karen, Yinbaw",country:"Myanmar",lang:"Yinbaw",rol3:"kvu",pct_christian:25,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:18.96,lng:97.21,code:"PG009546"},{name:"Anu",country:"Myanmar",lang:"Chin, Anu-Khongso",rol3:"anl",pct_christian:25,pop:4400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Polytheism",lat:21.31,lng:92.84,code:"PG009405"},{name:"Drung",country:"Myanmar",lang:"Drung",rol3:"duu",pct_christian:25,pop:400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Polytheism",lat:28.1,lng:97.69,code:"PG009535"},{name:"Achang",country:"Myanmar",lang:"Achang",rol3:"acn",pct_christian:17.5,pop:4e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Polytheism",lat:24.31,lng:97.54,code:"PG009475"},{name:"Karen, Zayein",country:"Myanmar",lang:"Zayein",rol3:"kxk",pct_christian:17.5,pop:14500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.8,lng:97.06,code:"PG009550"},{name:"Chin, Asho",country:"Myanmar",lang:"Chin, Asho",rol3:"csh",pct_christian:12.5,pop:32500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:20.4,lng:94.79,code:"PG009406"},{name:"Blang",country:"Myanmar",lang:"Blang",rol3:"blr",pct_christian:12.5,pop:16e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:21.5,lng:100.17,code:"PG022041"},{name:"Hmong Njua",country:"Myanmar",lang:"Hmong Njua",rol3:"hnj",pct_christian:12.5,pop:14500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Polytheism",lat:23.63,lng:97.65,code:"PG022056"},{name:"Hsifan",country:"Myanmar",lang:"Tibetan, Central",rol3:"bod",pct_christian:12.5,pop:5600,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Tibetan",lat:27.24,lng:97.64,code:"PG009445"},{name:"Karen, Mobwa",country:"Myanmar",lang:"Karen, Mobwa",rol3:"jkm",pct_christian:12.5,pop:4500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:18.98,lng:96.63,code:"PG048772"},{name:"Tawr Chin",country:"Myanmar",lang:"Chin, Tawr",rol3:"tcp",pct_christian:12.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:22.5,lng:93.78,code:"PG009532"},{name:"Han Chinese",country:"Myanmar",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:65e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:16.85,lng:96.15,code:"PG022047"},{name:"Karen, Kayan",country:"Myanmar",lang:"Kayan (Myanmar)",rol3:"pdu",pct_christian:7.5,pop:133e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.56,lng:96.82,code:"PG009497"},{name:"Tai Mao",country:"Myanmar",lang:"Tai Long",rol3:"thi",pct_christian:7.5,pop:12e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:23.89,lng:97.73,code:"PG047888"},{name:"Chin, Daai",country:"Myanmar",lang:"Chin, Daai",rol3:"dao",pct_christian:7.5,pop:41e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:21.05,lng:93.67,code:"PG009421"},{name:"Senthang",country:"Myanmar",lang:"Chin, Senthang",rol3:"sez",pct_christian:7.5,pop:33e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:22.46,lng:93.85,code:"PG009516"},{name:"Uppu",country:"Myanmar",lang:"Chin, Uppu",rol3:"cnb",pct_christian:7.5,pop:30500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Folk",lat:19.9,lng:94.08,code:"PG009419"},{name:"Hrangkhol",country:"Myanmar",lang:"Hrangkhol",rol3:"hra",pct_christian:7.5,pop:9e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:23.75,lng:93.78,code:"PG009444"},{name:"Karen, Paku",country:"Myanmar",lang:"Karen, Paku",rol3:"jkp",pct_christian:7.5,pop:5300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:18.94,lng:96.86,code:"PG009499"},{name:"Lisu",country:"Myanmar",lang:"Lisu",rol3:"lis",pct_christian:3.5,pop:327e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:24.78,lng:97.17,code:"PG009523"},{name:"Akha",country:"Myanmar",lang:"Akha",rol3:"ahk",pct_christian:3.5,pop:23e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:21.71,lng:99.8,code:"PG009402"},{name:"Karen, Pow Western",country:"Myanmar",lang:"Karen, Pwo Western",rol3:"pwo",pct_christian:3.5,pop:21e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:15.46,lng:97.72,code:"PG046602"},{name:"Khumi Chin",country:"Myanmar",lang:"Chin, Khumi",rol3:"cnk",pct_christian:3.5,pop:6e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:21.17,lng:92.98,code:"PG009457"},{name:"Naga, Tase",country:"Myanmar",lang:"Naga, Tangshang",rol3:"nst",pct_christian:3.5,pop:6e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.71,lng:96.23,code:"PG009528"},{name:"Riang",country:"Myanmar",lang:"Riang Lang",rol3:"ril",pct_christian:3.5,pop:57500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:23.22,lng:98.73,code:"PG009511"},{name:"Zaiwa",country:"Myanmar",lang:"Zaiwa",rol3:"atb",pct_christian:3.5,pop:38500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:24.47,lng:97.99,code:"PG009407"},{name:"Lao",country:"Myanmar",lang:"Lao",rol3:"lao",pct_christian:3.5,pop:26e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:16.85,lng:96.15,code:"PG009467"},{name:"Anong",country:"Myanmar",lang:"Lisu",rol3:"lis",pct_christian:3.5,pop:12500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:27.29,lng:98.68,code:"PG009495"},{name:"Karen, Lahta",country:"Myanmar",lang:"Lahta",rol3:"kvt",pct_christian:3.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:20.32,lng:96.89,code:"PG009462"},{name:"Karen, Yintale",country:"Myanmar",lang:"Yintale",rol3:"kvy",pct_christian:3.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:18.84,lng:97.26,code:"PG009547"},{name:"Samtao",country:"Myanmar",lang:"Samtao",rol3:"stu",pct_christian:3.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:21.3,lng:99.63,code:"PG022054"},{name:"Naga, Yimchungru",country:"Myanmar",lang:"Naga, Yimchungru",rol3:"yim",pct_christian:3.5,pop:5600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:25.38,lng:94.8,code:"PG009545"},{name:"Tailoi",country:"Myanmar",lang:"Tai Loi",rol3:"tlq",pct_christian:3.5,pop:5100,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:21.52,lng:100.94,code:"PG009525"},{name:"Lemo",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:75,pop:2300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:25.84,lng:98.78,code:"PG007252"},{name:"Syrian Christian",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:62.5,pop:4495e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:12.35,lng:76.09,code:"PG041308"},{name:"Naga, Tangkhul",country:"India",lang:"Naga, Tangkhul (India)",rol3:"nmf",pct_christian:62.5,pop:214e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:25.07,lng:94.38,code:"PG041697"},{name:"Soria",country:"India",lang:"Hindi",rol3:"hin",pct_christian:62.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.2,lng:77.09,code:"PG048955"},{name:"Rathodia",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:62.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:22.3,lng:73.39,code:"PG048948"},{name:"Bagti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:62.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:23.28,lng:86.43,code:"PG049044"},{name:"Naga, Tangkhul",country:"United States",lang:"Naga, Tangkhul (India)",rol3:"nmf",pct_christian:62.5,pop:100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:32.85,lng:-96.97,code:"PG050369"},{name:"Pulayan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:45,pop:154e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:10.06,lng:76.53,code:"PG041344"},{name:"Meghval",country:"India",lang:"Hindi",rol3:"hin",pct_christian:45,pop:377e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:26.87,lng:73.03,code:"PG041328"},{name:"Santal (Oriya)",country:"India",lang:"Odia",rol3:"ory",pct_christian:45,pop:176e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.8,lng:87.48,code:"PG046353"},{name:"Naga, Khiamngan",country:"India",lang:"Naga, Khiamniungan",rol3:"kix",pct_christian:45,pop:56e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:26.17,lng:94.89,code:"PG042023"},{name:"Hmong",country:"Vietnam",lang:"Hmong Daw",rol3:"mww",pct_christian:35,pop:133e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.86,lng:103.59,code:"PG011142"},{name:"Malai Arayan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:35,pop:48e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:9.65,lng:76.66,code:"PG041952"},{name:"Paravar",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:25,pop:162e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:8.62,lng:77,code:"PG041743"},{name:"Madgi",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:76500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.17,lng:79.45,code:"PG041802"},{name:"Gounder",country:"India",lang:"Tamil",rol3:"tam",pct_christian:25,pop:6e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:11.68,lng:78.22,code:"PG041906"},{name:"Maru",country:"China",lang:"Lhao Vo",rol3:"mhx",pct_christian:25,pop:31e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:24.33,lng:98.43,code:"PG007279"},{name:"Kerala Mudali",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:25,pop:11e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:9.44,lng:78.7,code:"PG049672"},{name:"Sediq",country:"Taiwan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:25,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:24.02,lng:121.35,code:"PG007536"},{name:"Godari",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:17.69,lng:83.22,code:"PG049205"},{name:"Chamail",country:"India",lang:"Hindi",rol3:"hin",pct_christian:25,pop:1200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:25.48,lng:85.95,code:"PG049469"},{name:"Ghogia",country:"India",lang:"Odia",rol3:"ory",pct_christian:25,pop:800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.15,lng:84.09,code:"PG049008"},{name:"Burmese",country:"Germany",lang:"Burmese",rol3:"mya",pct_christian:25,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:50,lng:8.01,code:"PG033529"},{name:"Arakala",country:"India",lang:"Telugu",rol3:"tel",pct_christian:25,pop:375,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:18.11,lng:83.4,code:"PG049160"},{name:"Mala",country:"India",lang:"Telugu",rol3:"tel",pct_christian:17.5,pop:7615e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:16.36,lng:79.51,code:"PG041263"},{name:"Balmiki (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:17.5,pop:1295e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.44,lng:75.81,code:"PG048195"},{name:"Nadia",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:17.5,pop:69500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG041830"},{name:"Ojha",country:"India",lang:"Telugu",rol3:"tel",pct_christian:17.5,pop:46e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.74,lng:78.25,code:"PG041974"},{name:"Badhi",country:"India",lang:"Hindi",rol3:"hin",pct_christian:17.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:29.95,lng:77.55,code:"PG041480"},{name:"Lahu Shi",country:"Thailand",lang:"Lahu Shi",rol3:"lhi",pct_christian:17.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:18.98,lng:99.39,code:"PG010939"},{name:"Goudu",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:17.71,lng:83.25,code:"PG042158"},{name:"Sutar (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:17.5,pop:11e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.4,lng:71.23,code:"PG048301"},{name:"Black Karen",country:"Thailand",lang:"Pa’o",rol3:"blk",pct_christian:17.5,pop:850,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:19.74,lng:98.06,code:"PG010829"},{name:"Barmi",country:"India",lang:"Burmese",rol3:"mya",pct_christian:17.5,pop:600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:12.6,lng:92.83,code:"PG048889"},{name:"Bari (Oriya)",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:550,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.86,lng:84.8,code:"PG048204"},{name:"Candhai Maru",country:"India",lang:"Odia",rol3:"ory",pct_christian:17.5,pop:350,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.48,lng:83.97,code:"PG049648"},{name:"Madiga",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:9445e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:16.51,lng:79.06,code:"PG041253"},{name:"Chakkiliyan",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:1205e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.61,lng:77.71,code:"PG041373"},{name:"Nadua Shabar",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:659e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:19.9,lng:85.17,code:"PG049502"},{name:"Han Chinese",country:"New Zealand",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:214e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-36.89,lng:174.78,code:"PG018495"},{name:"Senva",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:12.5,pop:161e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG041682"},{name:"Mannan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:12.5,pop:145e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.8,lng:76.55,code:"PG041756"},{name:"Chakravar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:8.62,lng:77,code:"PG041956"},{name:"Bawa Dedh",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:12.5,pop:34500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG042035"},{name:"Samban",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:24500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:8.7,lng:77.49,code:"PG041752"},{name:"Mehtar",country:"India",lang:"Hindi",rol3:"hin",pct_christian:12.5,pop:2e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:16.22,lng:75.63,code:"PG042116"},{name:"Panchama",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:7800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:17.01,lng:81.79,code:"PG042086"},{name:"Peranakan",country:"Malaysia",lang:"Malay",rol3:"zlm",pct_christian:12.5,pop:5e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:3.4,lng:101.64,code:"PG018232"},{name:"Palliyan",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:4800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:9.89,lng:77.09,code:"PG049215"},{name:"Padigarajulu",country:"India",lang:"Telugu",rol3:"tel",pct_christian:12.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:15.58,lng:79.51,code:"PG049165"},{name:"Malayali",country:"Maldives",lang:"Malayalam",rol3:"mal",pct_christian:12.5,pop:950,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:4.17,lng:73.51,code:"PG006163"},{name:"Kuda",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.83,lng:85.53,code:"PG049016"},{name:"Gagra",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:12.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.84,lng:75.86,code:"PG049079"},{name:"Tharua",country:"India",lang:"Odia",rol3:"ory",pct_christian:12.5,pop:650,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.49,lng:86.93,code:"PG049031"},{name:"Gharrami",country:"India",lang:"Hindi",rol3:"hin",pct_christian:12.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:28.64,lng:77.12,code:"PG049392"},{name:"Han Chinese",country:"Kiribati",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:125,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:1.37,lng:173.11,code:"PG009087"},{name:"Han Chinese",country:"Tuvalu",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-8.5,lng:179.19,code:"PG018319"},{name:"Han Chinese, Mandarin",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:90145e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:37.37,lng:110.73,code:"PG006802"},{name:"Nadar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:6365e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:11.17,lng:77.82,code:"PG041309"},{name:"Han Chinese, Mandarin",country:"Taiwan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:4635e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:24.86,lng:121.36,code:"PG007518"},{name:"Santal (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:335e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:24,lng:88.81,code:"PG046352"},{name:"Vellalar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:308e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.78,lng:77.78,code:"PG041493"},{name:"Han Chinese, Mandarin",country:"United States",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:2345e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:45.74,lng:-114.4,code:"PG043261"},{name:"Pano",country:"India",lang:"Odia",rol3:"ory",pct_christian:7.5,pop:1735e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:21.04,lng:85.14,code:"PG041345"},{name:"Han Chinese",country:"Vietnam",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:162e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.04,lng:106.1,code:"PG033473"},{name:"Indian - Hindu",country:"South Africa",lang:"Hindi",rol3:"hin",pct_christian:7.5,pop:1365e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:-28.9,lng:26.75,code:"PG042180"},{name:"Han Chinese, Mandarin",country:"Canada",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:1055e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:46.93,lng:-92.67,code:"PG043404"},{name:"Han Chinese, Mandarin",country:"Japan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:736e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:35.72,lng:137.14,code:"PG048925"},{name:"Han Chinese",country:"Australia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:67e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-33.75,lng:144.18,code:"PG033443"},{name:"Bhangi (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:6e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.76,lng:72.13,code:"PG048218"},{name:"Cheruman",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:467e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.61,lng:76.25,code:"PG041452"},{name:"Han Chinese, Mandarin",country:"Singapore",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:467e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020728"},{name:"Han Chinese",country:"Brazil",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:28e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-23.17,lng:-45.54,code:"PG016864"},{name:"Malayali",country:"Malaysia",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:206e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:3.07,lng:101.64,code:"PG020224"},{name:"Han Chinese, Mandarin",country:"United Arab Emirates",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:202e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:24.67,lng:55.14,code:"PG049240"},{name:"Han Chinese, Mandarin",country:"North Korea",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:184e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:39,lng:125.92,code:"PG007584"},{name:"Han Chinese",country:"France",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:172e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:48.2,lng:2.3,code:"PG023131"},{name:"Malayali",country:"United States",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:165e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:40.72,lng:-73.97,code:"PG043340"},{name:"Han Chinese, Mandarin",country:"Hong Kong",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:163e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.38,lng:114.13,code:"PG050605"},{name:"Lodha, Savar",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:148e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.3,lng:87.43,code:"PG041753"},{name:"Telugu",country:"Malaysia",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:137e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:3.07,lng:101.62,code:"PG009356"},{name:"Ghanchi",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:129e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.02,lng:73.03,code:"PG041585"},{name:"Han Chinese, Mandarin",country:"Saudi Arabia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:24.68,lng:46.74,code:"PG049246"},{name:"Han Chinese",country:"Tanzania",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:106e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-6.83,lng:39.25,code:"PG014935"},{name:"Han Chinese",country:"Italy",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:1e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:44.22,lng:10.5,code:"PG000330"},{name:"Han Chinese",country:"South Korea",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:94500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:36.58,lng:127.64,code:"PG007589"},{name:"Han Chinese, Mandarin",country:"Tajikistan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:38.57,lng:68.77,code:"PG049245"},{name:"Bharathar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:81e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:8.94,lng:76.82,code:"PG049578"}]},Afghanistan:{target_upg:68,target_pop:43626100,target_top_langs:["Pashto, Southern","Dari","Pashto, Northern","Hazaragi"],target_top_religion:"Islam",neighbors:[{name:"Romani, Balkan",country:"Italy",lang:"Romani, Balkan",rol3:"rmn",pct_christian:62.5,pop:2500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:45.54,lng:9.19,code:"PG000312"},{name:"Balmiki (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:17.5,pop:1295e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.44,lng:75.81,code:"PG048195"},{name:"Gagra",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:12.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.84,lng:75.86,code:"PG049079"},{name:"Romani, Balkan",country:"Bulgaria",lang:"Romani, Balkan",rol3:"rmn",pct_christian:7.5,pop:267e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:42.86,lng:23.79,code:"PG000737"},{name:"Bangni",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:62500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:27.43,lng:92.97,code:"PG041887"},{name:"Iranian",country:"Armenia",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:40.17,lng:44.49,code:"PG050098"},{name:"Iranian",country:"Greece",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:38.05,lng:23.7,code:"PG047071"},{name:"Sorgir",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:7.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.34,lng:76.39,code:"PG049092"},{name:"Kankali",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:27.7,lng:81.49,code:"PG049096"},{name:"Khadim",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:26.49,lng:74.65,code:"PG048969"},{name:"Mazabi",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:3625e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:30.25,lng:74.91,code:"PG041301"},{name:"Persian",country:"Canada",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:46.93,lng:-92.67,code:"PG043458"},{name:"Iranian",country:"Germany",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:175e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:52.51,lng:11.69,code:"PG000259"},{name:"Persian",country:"Turkiye",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:13e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:41.04,lng:28.87,code:"PG024581"},{name:"Chikwa",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:23.97,lng:84.3,code:"PG041852"},{name:"Persian",country:"United Kingdom",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:86e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:51.5,lng:-.17,code:"PG000643"},{name:"Bhattra (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:79e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:30.98,lng:75.73,code:"PG041615"},{name:"Arain (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:30.37,lng:75.93,code:"PG048185"},{name:"Punjabi",country:"Singapore",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:15e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:1.36,lng:103.82,code:"PG010717"},{name:"Persian",country:"Indonesia",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:-6.21,lng:106.83,code:"PG050238"},{name:"Gandhila",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:6600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.34,lng:76.4,code:"PG049080"},{name:"Persian",country:"South Korea",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:3500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:37.55,lng:126.99,code:"PG050237"},{name:"Pinjara (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:3e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:29.48,lng:76.44,code:"PG048167"},{name:"Daoli",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.97,lng:76.55,code:"PG049445"},{name:"Dayare",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.79,lng:77.53,code:"PG049780"},{name:"Ahluwalia",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:1400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:31.39,lng:75.36,code:"PG049356"},{name:"Romani, Balkan",country:"France",lang:"Romani, Balkan",rol3:"rmn",pct_christian:3.5,pop:650,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:48.84,lng:2.35,code:"PG000134"}]},Yemen:{target_upg:20,target_pop:41244500,target_top_langs:["Arabic, Sanaani","Arabic, Ta'izzi-Adeni","Arabic, Hadrami","Somali"],target_top_religion:"Islam",neighbors:[{name:"Arab, Egyptian",country:"Australia",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:12.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-31.94,lng:115.89,code:"PG020254"},{name:"Hasidim",country:"United Kingdom",lang:"Hebrew",rol3:"heb",pct_christian:7.5,pop:32500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:51.5,lng:-.17,code:"PG000648"},{name:"Arab, Egyptian",country:"Germany",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:25500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:52.5,lng:13.4,code:"PG042462"},{name:"Arab, Lebanese",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024837"},{name:"Arab, Palestinian",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024839"},{name:"Arab, Egyptian",country:"Belgium",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:5300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:50.85,lng:4.38,code:"PG000053"},{name:"Indri",country:"South Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:7.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.78,lng:25.73,code:"PG012040"},{name:"Egyptian Copt",country:"United States",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:3.5,pop:242e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:35.35,lng:-111.99,code:"PG047347"},{name:"Arab, Lebanese",country:"Canada",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:234e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.53,lng:-73.66,code:"PG043431"},{name:"Arab, Syrian",country:"United States",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:193e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.7,lng:-73.87,code:"PG043644"},{name:"Delen",country:"Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:3.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.06,lng:29.58,code:"PG042814"},{name:"Arab, Palestinian",country:"El Salvador",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:13.71,lng:-89.19,code:"PG039263"}]},Morocco:{target_upg:29,target_pop:38094500,target_top_langs:["Arabic, Moroccan","Tachelhit","Tamazight, Central Atlas","Tarifit"],target_top_religion:"Islam",neighbors:[]},Uzbekistan:{target_upg:34,target_pop:35401700,target_top_langs:["Uzbek, Northern","Tajik","Kazakh","Karakalpak"],target_top_religion:"Islam",neighbors:[{name:"Korean",country:"Uzbekistan",lang:"Russian",rol3:"rus",pct_christian:12.5,pop:254e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:41.31,lng:69.26,code:"PG024684"},{name:"Pole",country:"Uzbekistan",lang:"Polish",rol3:"pol",pct_christian:7.5,pop:3700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:41.31,lng:69.26,code:"PG024310"},{name:"Han Chinese",country:"Uzbekistan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:1500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:41.33,lng:69.29,code:"PG024675"},{name:"Ukrainian",country:"Uzbekistan",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:47e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:41.31,lng:69.26,code:"PG024323"},{name:"Vietnamese",country:"Thailand",lang:"Vietnamese",rol3:"vie",pct_christian:25,pop:119e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:13.76,lng:100.56,code:"PG010933"},{name:"Romanian",country:"Czech Republic",lang:"Romanian",rol3:"ron",pct_christian:25,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:50.07,lng:14.47,code:"PG050033"},{name:"Russian",country:"Moldova",lang:"Russian",rol3:"rus",pct_christian:17.5,pop:133e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.13,lng:29.34,code:"PG000867"},{name:"Moldovan",country:"United States",lang:"Romanian",rol3:"ron",pct_christian:12.5,pop:49e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:40.17,lng:-74.79,code:"PG047277"},{name:"Armenian",country:"United Kingdom",lang:"Armenian",rol3:"hye",pct_christian:12.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000627"},{name:"Estonian",country:"Estonia",lang:"Estonian, Standard",rol3:"ekk",pct_christian:7.5,pop:9e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:58.67,lng:25.55,code:"PG000779"},{name:"Vietnamese",country:"Australia",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:174e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-33.38,lng:143.4,code:"PG008087"},{name:"Romanian",country:"United States",lang:"Romanian",rol3:"ron",pct_christian:7.5,pop:173e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:36.09,lng:-110.56,code:"PG043611"},{name:"Russian",country:"Australia",lang:"Russian",rol3:"rus",pct_christian:7.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.52,lng:142.46,code:"PG008063"},{name:"Estonian",country:"Canada",lang:"Estonian, Standard",rol3:"ekk",pct_christian:7.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG043392"},{name:"Iranian",country:"Armenia",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:40.17,lng:44.49,code:"PG050098"},{name:"Vietnamese",country:"New Zealand",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:4900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-36.89,lng:174.78,code:"PG018514"},{name:"Iranian",country:"Greece",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:38.05,lng:23.7,code:"PG047071"},{name:"Gelao",country:"Vietnam",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:23.08,lng:105.2,code:"PG011133"},{name:"Romanian",country:"Romania",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:1637e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:45.84,lng:24.98,code:"PG000899"},{name:"Russian",country:"Ukraine",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:708e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.69,lng:34.82,code:"PG042915"},{name:"Romanian",country:"Italy",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:13e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:44.5,lng:9.8,code:"PG048833"},{name:"Bulgarian",country:"Germany",lang:"Bulgarian",rol3:"bul",pct_christian:3.5,pop:411e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.5,lng:13.4,code:"PG042446"},{name:"Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:26e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.48,lng:12.44,code:"PG049403"},{name:"Armenian",country:"Lebanon",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:22e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:33.87,lng:35.58,code:"PG048928"},{name:"Jew",country:"Russian Federation",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:208e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:52.97,lng:74.32,code:"PG042910"},{name:"Persian",country:"Canada",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:46.93,lng:-92.67,code:"PG043458"},{name:"Iranian",country:"Germany",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:175e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:52.51,lng:11.69,code:"PG000259"},{name:"Russian",country:"Lithuania",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:155e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:55.25,lng:24.5,code:"PG000853"},{name:"Kinh",country:"Laos",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:138e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:17.97,lng:102.64,code:"PG020963"},{name:"Persian",country:"Turkiye",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:13e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:41.04,lng:28.87,code:"PG024581"},{name:"Armenian",country:"Iran",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:38.14,lng:46.37,code:"PG024130"},{name:"Jew, Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:99500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:52.5,lng:13.4,code:"PG046578"},{name:"Romanian",country:"Hungary",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:96500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:46.8,lng:20.84,code:"PG000835"},{name:"Persian",country:"United Kingdom",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:86e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:51.5,lng:-.17,code:"PG000643"},{name:"Vietnamese Migrant Workers",country:"Malaysia",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:85e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Confucianism",lat:5.35,lng:100.41,code:"PG046599"},{name:"Romanian ",country:"Austria",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:48.18,lng:16.35,code:"PG049963"},{name:"Russian",country:"United Kingdom",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:64e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000675"},{name:"Armenian",country:"Turkiye",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:41.05,lng:28.9,code:"PG024538"},{name:"Kurd, Northern",country:"Russian Federation",lang:"Kurdish, Northern",rol3:"kmr",pct_christian:3.5,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:44.63,lng:39.24,code:"PG024465"},{name:"Romanian",country:"Ireland",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:53.39,lng:-6.28,code:"PG048049"},{name:"Moldovan",country:"Canada",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:49.72,lng:-95.67,code:"PG047364"},{name:"Vietnamese",country:"Netherlands",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:8800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:52.47,lng:5.36,code:"PG000445"},{name:"Persian",country:"Indonesia",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:-6.21,lng:106.83,code:"PG050238"},{name:"Belarusian",country:"Argentina",lang:"Belarusian",rol3:"bel",pct_christian:3.5,pop:4600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-34.65,lng:-58.56,code:"PG017330"},{name:"Persian",country:"South Korea",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:3500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:37.55,lng:126.99,code:"PG050237"},{name:"Karakalpak",country:"Kazakhstan",lang:"Karakalpak",rol3:"kaa",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.62,lng:62.06,code:"PG024276"},{name:"Romanian",country:"Venezuela",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:10.48,lng:-66.88,code:"PG016490"}]},"Saudi Arabia":{target_upg:44,target_pop:31109500,target_top_langs:["Arabic, Najdi","Arabic, Hijazi","Bengali","Urdu"],target_top_religion:"Islam",neighbors:[{name:"Han Chinese, Mandarin",country:"Saudi Arabia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:113e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:24.68,lng:46.74,code:"PG049246"},{name:"Bagti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:62.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:23.28,lng:86.43,code:"PG049044"},{name:"Arab, Egyptian",country:"Australia",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:12.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-31.94,lng:115.89,code:"PG020254"},{name:"Santal (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:335e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:24,lng:88.81,code:"PG046352"},{name:"Arab, Syro-Lebanese",country:"Australia",lang:"Arabic, Gulf",rol3:"afb",pct_christian:7.5,pop:192e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-33.38,lng:143.4,code:"PG020267"},{name:"Lodha, Savar",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:148e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.3,lng:87.43,code:"PG041753"},{name:"Swahili",country:"United States",lang:"Swahili",rol3:"swh",pct_christian:7.5,pop:81500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:34.52,lng:-105.83,code:"PG047306"},{name:"Bangni",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:62500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:27.43,lng:92.97,code:"PG041887"},{name:"Kela",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:29e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:20.46,lng:85.67,code:"PG042031"},{name:"Baiti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:27e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:23.24,lng:88.24,code:"PG042100"},{name:"Arab, Egyptian",country:"Germany",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:25500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:52.5,lng:13.4,code:"PG042462"},{name:"Chhetri",country:"India",lang:"Nepali",rol3:"npi",pct_christian:7.5,pop:17e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.34,lng:89.24,code:"PG041565"},{name:"Arab, Lebanese",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024837"},{name:"Arab, Palestinian",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024839"},{name:"Arab, Egyptian",country:"Belgium",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:5300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:50.85,lng:4.38,code:"PG000053"},{name:"Indri",country:"South Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:7.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.78,lng:25.73,code:"PG012040"},{name:"Kankali",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:27.7,lng:81.49,code:"PG049096"},{name:"Khadim",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:26.49,lng:74.65,code:"PG048969"},{name:"Chagga",country:"Tanzania",lang:"Swahili",rol3:"swh",pct_christian:3.5,pop:1185e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-3.29,lng:37.08,code:"PG014916"},{name:"Bhangi (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:699e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.15,lng:87.53,code:"PG048219"},{name:"Kora",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:279e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:23.29,lng:86.43,code:"PG041592"},{name:"Egyptian Copt",country:"United States",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:3.5,pop:242e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:35.35,lng:-111.99,code:"PG047347"},{name:"Arab, Lebanese",country:"Canada",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:234e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.53,lng:-73.66,code:"PG043431"},{name:"Arab, Syrian",country:"United States",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:193e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.7,lng:-73.87,code:"PG043644"},{name:"Gurung",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:147e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:26.84,lng:90.63,code:"PG041693"},{name:"Nepali",country:"Bhutan",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:131e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.13,lng:89.79,code:"PG042388"},{name:"Chikwa",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:23.97,lng:84.3,code:"PG041852"},{name:"Damai (Nepali)",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:66500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.66,lng:89.08,code:"PG041874"},{name:"Koch",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:51e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:25.68,lng:88.93,code:"PG042084"},{name:"Kotal",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:42500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.42,lng:87.79,code:"PG041946"},{name:"Swahili",country:"Zambia",lang:"Swahili",rol3:"swh",pct_christian:3.5,pop:38500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-15.4,lng:28.31,code:"PG015634"},{name:"Bengali",country:"Nepal",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:31e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.42,lng:84.77,code:"PG006178"},{name:"Doai",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:21500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.05,lng:88.57,code:"PG042134"},{name:"Sarki",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:18e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.96,lng:88.33,code:"PG042059"},{name:"Delen",country:"Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:3.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.06,lng:29.58,code:"PG042814"},{name:"Paharia",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:9200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.37,lng:86.02,code:"PG049049"},{name:"Behera",country:"India",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:3800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.3,lng:87.44,code:"PG041569"},{name:"Dayare",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.79,lng:77.53,code:"PG049780"},{name:"Zanzibari",country:"South Africa",lang:"Swahili",rol3:"swh",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-29.84,lng:30.93,code:"PG015550"},{name:"Arab, Palestinian",country:"El Salvador",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:13.71,lng:-89.19,code:"PG039263"},{name:"Kusunda",country:"Nepal",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:27.17,lng:85.13,code:"PG049141"}]},Ethiopia:{target_upg:33,target_pop:30668900,target_top_langs:["Somali","Amharic","Oromo, West Central","Oromo, Borana-Arsi-Guji"],target_top_religion:"Islam",neighbors:[{name:"Sidama",country:"Ethiopia",lang:"Sidamo",rol3:"sid",pct_christian:62.5,pop:524e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.66,lng:38.54,code:"PG011635"},{name:"Koorete",country:"Ethiopia",lang:"Koorete",rol3:"kqy",pct_christian:62.5,pop:252e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.79,lng:37.83,code:"PG011608"},{name:"Basketo",country:"Ethiopia",lang:"Basketo",rol3:"bst",pct_christian:62.5,pop:127e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.26,lng:36.56,code:"PG011552"},{name:"Konso",country:"Ethiopia",lang:"Konso",rol3:"kxc",pct_christian:45,pop:407e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:5.35,lng:37.39,code:"PG011607"},{name:"Naath",country:"Ethiopia",lang:"Nuer",rol3:"nus",pct_christian:45,pop:25e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:8.29,lng:34.17,code:"PG011572"},{name:"Oyda",country:"Ethiopia",lang:"Oyda",rol3:"oyd",pct_christian:45,pop:73500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.18,lng:36.81,code:"PG011629"},{name:"Bussa",country:"Ethiopia",lang:"Mositacha",rol3:"dox",pct_christian:45,pop:31e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.75,lng:37.22,code:"PG042702"},{name:"Wolaitta",country:"Ethiopia",lang:"Wolaytta",rol3:"wal",pct_christian:35,pop:305e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.68,lng:37.63,code:"PG011653"},{name:"Hadiyya",country:"Ethiopia",lang:"Hadiyya",rol3:"hdy",pct_christian:35,pop:2255e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.48,lng:37.77,code:"PG011591"},{name:"Gedeo",country:"Ethiopia",lang:"Gedeo",rol3:"drs",pct_christian:35,pop:158e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.15,lng:38.28,code:"PG011567"},{name:"Kambata",country:"Ethiopia",lang:"Kambaata",rol3:"ktb",pct_christian:35,pop:1025e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.29,lng:37.83,code:"PG011602"},{name:"Meen",country:"Ethiopia",lang:"Me’en",rol3:"mym",pct_christian:35,pop:242e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:6.86,lng:35.75,code:"PG011617"},{name:"Melo",country:"Ethiopia",lang:"Melo",rol3:"mfx",pct_christian:35,pop:168e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:6.51,lng:36.68,code:"PG011618"},{name:"Gidole",country:"Ethiopia",lang:"Dirasha",rol3:"gdl",pct_christian:35,pop:67e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.63,lng:37.38,code:"PG011583"},{name:"Tambaro",country:"Ethiopia",lang:"Kambaata",rol3:"ktb",pct_christian:25,pop:158e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:7.26,lng:37.48,code:"PG011648"},{name:"Guji",country:"Ethiopia",lang:"Oromo, Borana-Arsi-Guji",rol3:"gax",pct_christian:17.5,pop:938e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:6.17,lng:39.39,code:"PG011557"},{name:"Dawro",country:"Ethiopia",lang:"Dawro",rol3:"dwr",pct_christian:17.5,pop:88e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:6.97,lng:37.1,code:"PG011568"},{name:"Gofa",country:"Ethiopia",lang:"Gofa",rol3:"gof",pct_christian:17.5,pop:59e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.27,lng:37.17,code:"PG011587"},{name:"Gamo",country:"Ethiopia",lang:"Gamo",rol3:"gmv",pct_christian:12.5,pop:18e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.26,lng:37.18,code:"PG011579"},{name:"Chara",country:"Ethiopia",lang:"Tsaara",rol3:"cra",pct_christian:12.5,pop:21500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.35,lng:36.16,code:"PG011565"},{name:"Dache",country:"Ethiopia",lang:"Gamo",rol3:"gmv",pct_christian:7.5,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:5.96,lng:37.53,code:"PG042703"},{name:"Kachama",country:"Ethiopia",lang:"Kachama-Ganjule",rol3:"kcx",pct_christian:7.5,pop:4100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.88,lng:37.48,code:"PG011600"},{name:"Borana",country:"Ethiopia",lang:"Oromo, Borana-Arsi-Guji",rol3:"gax",pct_christian:3.5,pop:965e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:4.91,lng:38.51,code:"PG011558"},{name:"Ari",country:"Ethiopia",lang:"Aari",rol3:"aiw",pct_christian:3.5,pop:472e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:5.88,lng:36.5,code:"PG011548"},{name:"Mesqan",country:"Ethiopia",lang:"Mesqan",rol3:"mvz",pct_christian:3.5,pop:317e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:8.12,lng:38.39,code:"PG050130"},{name:"Zayse",country:"Ethiopia",lang:"Zayse",rol3:"zay",pct_christian:3.5,pop:29e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.78,lng:37.38,code:"PG011659"},{name:"Gorose",country:"Ethiopia",lang:"Ale",rol3:"gwd",pct_christian:3.5,pop:7200,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.46,lng:37.44,code:"PG042713"},{name:"Amhara",country:"Canada",lang:"Amharic",rol3:"amh",pct_christian:25,pop:14e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG047403"},{name:"Zari",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.87,lng:9.4,code:"PG014203"},{name:"Bassa",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:10.67,lng:5.82,code:"PG033345"},{name:"Eritreans",country:"Kenya",lang:"Tigrigna",rol3:"tir",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-1.3,lng:36.86,code:"PG050216"},{name:"Indri",country:"South Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:7.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.78,lng:25.73,code:"PG012040"},{name:"Komo",country:"Sudan",lang:"Komo (Sudan)",rol3:"xom",pct_christian:3.5,pop:36e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.82,lng:34.09,code:"PG012072"},{name:"Eritreans",country:"Uganda",lang:"Tigrigna",rol3:"tir",pct_christian:3.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:.34,lng:32.6,code:"PG050217"},{name:"Arab",country:"South Africa",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-26.17,lng:28.07,code:"PG015486"},{name:"Delen",country:"Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:3.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.06,lng:29.58,code:"PG042814"},{name:"Arab",country:"New Zealand",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-36.89,lng:174.78,code:"PG018478"},{name:"Ethiopian, Oromo",country:"United States",lang:"Oromo, West Central",rol3:"gaz",pct_christian:3.5,pop:7200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:38.9,lng:-77.19,code:"PG047338"}]},Niger:{target_upg:30,target_pop:27011e3,target_top_langs:["Hausa","Zarma","Fulfulde, Western Niger","Tamajaq, Tawallammat"],target_top_religion:"Islam",neighbors:[{name:"Gurma",country:"Niger",lang:"Gourmanchéma",rol3:"gux",pct_christian:3.5,pop:88500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:12.86,lng:1.82,code:"PG013599"},{name:"Yoruba",country:"Niger",lang:"Yoruba",rol3:"yor",pct_christian:3.5,pop:88500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:13.51,lng:2.12,code:"PG013615"},{name:"Burkina Faso",country:"Canada",lang:"Moore",rol3:"mos",pct_christian:12.5,pop:425,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:43.83,lng:-79.46,code:"PG047453"},{name:"Mossi",country:"Burkina Faso",lang:"Moore",rol3:"mos",pct_christian:7.5,pop:8335e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.73,lng:-1.3,code:"PG012424"},{name:"Mossi",country:"Ghana",lang:"Moore",rol3:"mos",pct_christian:7.5,pop:526e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:5.57,lng:-.22,code:"PG013360"},{name:"Zaore",country:"Burkina Faso",lang:"Moore",rol3:"mos",pct_christian:7.5,pop:68e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:12.36,lng:-1.52,code:"PG012427"},{name:"Zari",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.87,lng:9.4,code:"PG014203"},{name:"Bassa",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:10.67,lng:5.82,code:"PG033345"},{name:"Bambara",country:"Cote d’Ivoire",lang:"Bamanankan",rol3:"bam",pct_christian:3.5,pop:1485e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.88,lng:-7.05,code:"PG013042"},{name:"Mossi",country:"United States",lang:"Moore",rol3:"mos",pct_christian:3.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.74,lng:-73.72,code:"PG047647"}]},"Korea, North":{target_upg:2,target_pop:263e5,target_top_langs:["Korean","Language unknown"],target_top_religion:"Non-Religious",neighbors:[{name:"Han Chinese, Mandarin",country:"North Korea",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:184e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Agnosticism",lat:39,lng:125.92,code:"PG007584"},{name:"Korean",country:"Thailand",lang:"Korean",rol3:"kor",pct_christian:35,pop:20500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:13.76,lng:100.56,code:"PG010874"},{name:"Korean",country:"Argentina",lang:"Korean",rol3:"kor",pct_christian:25,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-34.65,lng:-58.56,code:"PG046918"},{name:"Korean",country:"Singapore",lang:"Korean",rol3:"kor",pct_christian:25,pop:24500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:1.36,lng:103.82,code:"PG010710"},{name:"Korean",country:"Taiwan",lang:"Korean",rol3:"kor",pct_christian:25,pop:7e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:22.63,lng:120.33,code:"PG007526"},{name:"Korean",country:"Northern Mariana Islands",lang:"Korean",rol3:"kor",pct_christian:25,pop:1600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:15.91,lng:145.61,code:"PG050228"},{name:"Korean",country:"Australia",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:167e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-33.85,lng:151.03,code:"PG021625"},{name:"Korean",country:"Canada",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:162e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:46.93,lng:-92.67,code:"PG043424"},{name:"Russian",country:"Moldova",lang:"Russian",rol3:"rus",pct_christian:17.5,pop:133e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.13,lng:29.34,code:"PG000867"},{name:"Korean",country:"United Kingdom",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:51.5,lng:-.17,code:"PG000650"},{name:"Korean",country:"New Zealand",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:38e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-36.89,lng:174.78,code:"PG047592"},{name:"Korean",country:"Hong Kong",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:8600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:22.38,lng:114.13,code:"PG050601"},{name:"Korean",country:"Paraguay",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-25.3,lng:-57.56,code:"PG017246"},{name:"Korean",country:"Guam",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:4300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:13.44,lng:144.78,code:"PG050301"},{name:"Korean",country:"Dominican Republic",lang:"Korean",rol3:"kor",pct_christian:17.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:18.48,lng:-69.91,code:"PG022409"},{name:"Korean",country:"South Korea",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:5025e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:36.38,lng:127.82,code:"PG048088"},{name:"Korean",country:"United States",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:1095e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:38.77,lng:-98.89,code:"PG043310"},{name:"Korean",country:"Uzbekistan",lang:"Russian",rol3:"rus",pct_christian:12.5,pop:254e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:41.31,lng:69.26,code:"PG024684"},{name:"Korean",country:"Kazakhstan",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:132e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:43.29,lng:76.91,code:"PG024281"},{name:"Korean",country:"Mozambique",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:36e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-25.89,lng:32.57,code:"PG015382"},{name:"Korean",country:"Madagascar",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:18e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-18.91,lng:47.53,code:"PG015310"},{name:"Korean",country:"Honduras",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:150,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:14.08,lng:-87.2,code:"PG024788"},{name:"Korean",country:"Brazil",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:48500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-23.57,lng:-46.57,code:"PG016974"},{name:"Korean",country:"Germany",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:50.12,lng:8.67,code:"PG000249"},{name:"Russian",country:"Australia",lang:"Russian",rol3:"rus",pct_christian:7.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.52,lng:142.46,code:"PG008063"},{name:"Korean",country:"Kyrgyzstan",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:19500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:42.88,lng:74.63,code:"PG024358"},{name:"Korean",country:"Iran",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:17500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:35.7,lng:51.38,code:"PG024174"},{name:"Korean",country:"Guatemala",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:14.6,lng:-90.55,code:"PG024719"},{name:"Korean",country:"Turkmenistan",lang:"Korean",rol3:"kor",pct_christian:7.5,pop:5200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:37.94,lng:58.39,code:"PG024622"},{name:"Russian",country:"Ukraine",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:708e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.69,lng:34.82,code:"PG042915"},{name:"Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:26e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.48,lng:12.44,code:"PG049403"},{name:"Jew",country:"Russian Federation",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:208e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:52.97,lng:74.32,code:"PG042910"},{name:"Russian",country:"Lithuania",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:155e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:55.25,lng:24.5,code:"PG000853"},{name:"Jew, Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:99500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:52.5,lng:13.4,code:"PG046578"},{name:"Russian",country:"United Kingdom",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:64e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000675"},{name:"Korean",country:"France",lang:"Korean",rol3:"kor",pct_christian:3.5,pop:29e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:48.84,lng:2.35,code:"PG000171"},{name:"Korean",country:"Spain",lang:"Korean",rol3:"kor",pct_christian:3.5,pop:2900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:40.41,lng:-3.69,code:"PG042347"},{name:"Korean",country:"Panama",lang:"Korean",rol3:"kor",pct_christian:3.5,pop:325,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:9.02,lng:-79.5,code:"PG024842"}]},Nepal:{target_upg:214,target_pop:26044700,target_top_langs:["Nepali","Maithili","Tharu, Dangaura","Newar"],target_top_religion:"Hinduism",neighbors:[{name:"Rai, Chamlinge",country:"Nepal",lang:"Chamling",rol3:"rab",pct_christian:25,pop:15e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.06,lng:86.49,code:"PG006185"},{name:"Chepang",country:"Nepal",lang:"Chepang",rol3:"cdm",pct_christian:7.5,pop:68500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:27.58,lng:84.79,code:"PG006189"},{name:"Rai, Sampange",country:"Nepal",lang:"Sampang",rol3:"rav",pct_christian:7.5,pop:14e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.57,lng:85.77,code:"PG006288"},{name:"Munda",country:"Nepal",lang:"Munda",rol3:"unx",pct_christian:7.5,pop:9e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:26.75,lng:87.41,code:"PG006260"},{name:"Jirel",country:"Nepal",lang:"Jirel",rol3:"jul",pct_christian:7.5,pop:6500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:27.8,lng:85.63,code:"PG006224"},{name:"Lepcha",country:"Nepal",lang:"Lepcha",rol3:"lep",pct_christian:7.5,pop:4800,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Tibetan",lat:26.86,lng:87.66,code:"PG006247"},{name:"Koi",country:"Nepal",lang:"Koyee",rol3:"kkt",pct_christian:7.5,pop:3400,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.15,lng:86.8,code:"PG006235"},{name:"Nawa Sherpa",country:"Nepal",lang:"Naaba",rol3:"nao",pct_christian:7.5,pop:950,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:27.7,lng:87.34,code:"PG006265"},{name:"Danuwar",country:"Nepal",lang:"Danuwar",rol3:"dhw",pct_christian:3.5,pop:7e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.04,lng:86.13,code:"PG006196"},{name:"Santal",country:"Nepal",lang:"Santhali",rol3:"sat",pct_christian:3.5,pop:55500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:26.77,lng:86.99,code:"PG006289"},{name:"Bengali",country:"Nepal",lang:"Bengali",rol3:"ben",pct_christian:3.5,pop:31e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.42,lng:84.77,code:"PG006178"},{name:"Han Chinese",country:"Nepal",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:23e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:27.71,lng:85.32,code:"PG006216"},{name:"Yakha",country:"Nepal",lang:"Yakkha",rol3:"ybh",pct_christian:3.5,pop:22e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Other - Kirati",lat:27.08,lng:86.54,code:"PG006317"},{name:"Brahman (Hindi)",country:"Nepal",lang:"Hindi",rol3:"hin",pct_christian:3.5,pop:18e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:27.43,lng:85.17,code:"PG045937"},{name:"Badhi",country:"Nepal",lang:"Jumli",rol3:"jml",pct_christian:3.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:28.3,lng:82.82,code:"PG049104"},{name:"Lhomi",country:"Nepal",lang:"Lhomi",rol3:"lhm",pct_christian:3.5,pop:7300,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Tibetan",lat:27.75,lng:86.08,code:"PG006248"},{name:"British",country:"Nepal",lang:"English",rol3:"eng",pct_christian:3.5,pop:3300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:27.71,lng:85.32,code:"PG006183"},{name:"Raji",country:"Nepal",lang:"Raji",rol3:"rji",pct_christian:3.5,pop:3100,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:28.61,lng:81.28,code:"PG006282"},{name:"Syuba",country:"Nepal",lang:"Syuba",rol3:"syw",pct_christian:3.5,pop:1700,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Tibetan",lat:27.45,lng:86.19,code:"PG006226"},{name:"Kusunda",country:"Nepal",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:275,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:27.17,lng:85.13,code:"PG049141"},{name:"Koirao",country:"India",lang:"Boro (India)",rol3:"brx",pct_christian:75,pop:1800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:25.2,lng:94.05,code:"PG049766"},{name:"Majhi",country:"India",lang:"Majhi",rol3:"mjz",pct_christian:75,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.11,lng:88.35,code:"PG049075"},{name:"Ansari-Momin (Sadri)",country:"India",lang:"Sadri",rol3:"sck",pct_christian:75,pop:225,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:23.63,lng:85.55,code:"PG048700"},{name:"Hkauri",country:"China",lang:"Tibetan, Central",rol3:"bod",pct_christian:62.5,pop:40,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:24.55,lng:97.6,code:"PG022169"},{name:"Kharia",country:"India",lang:"Kharia",rol3:"khr",pct_christian:25,pop:889e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:22.47,lng:84.55,code:"PG041457"},{name:"Oraon",country:"Bhutan",lang:"Kurux",rol3:"kru",pct_christian:25,pop:4200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:26.88,lng:89.21,code:"PG001235"},{name:"Balmiki (Awadhi)",country:"India",lang:"Awadhi",rol3:"awa",pct_christian:17.5,pop:172e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.93,lng:78.08,code:"PG041289"},{name:"Balmiki (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:17.5,pop:1295e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.44,lng:75.81,code:"PG048195"},{name:"Domar",country:"India",lang:"Awadhi",rol3:"awa",pct_christian:12.5,pop:27e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:25.45,lng:80.38,code:"PG049077"},{name:"Hsifan",country:"Myanmar",lang:"Tibetan, Central",rol3:"bod",pct_christian:12.5,pop:5600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Tibetan",lat:27.24,lng:97.64,code:"PG009445"},{name:"Gagra",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:12.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.84,lng:75.86,code:"PG049079"},{name:"Dusadh",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:7.5,pop:691e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:25.23,lng:85.31,code:"PG041266"},{name:"Oraon",country:"India",lang:"Kurux",rol3:"kru",pct_christian:7.5,pop:551e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:24.4,lng:86.87,code:"PG041304"},{name:"Chamar (Awadhi)",country:"India",lang:"Awadhi",rol3:"awa",pct_christian:7.5,pop:1275e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.07,lng:80.62,code:"PG046031"},{name:"Amant",country:"India",lang:"Maithili",rol3:"mai",pct_christian:7.5,pop:244e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:25.04,lng:86.5,code:"PG042053"},{name:"Oraon",country:"Bangladesh",lang:"Kurux",rol3:"kru",pct_christian:7.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:25.86,lng:88.88,code:"PG001195"},{name:"Bangni",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:62500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:27.43,lng:92.97,code:"PG041887"},{name:"Badaik",country:"India",lang:"Sadri",rol3:"sck",pct_christian:7.5,pop:47500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.23,lng:84.86,code:"PG042092"},{name:"Parhaiya",country:"India",lang:"Sadri",rol3:"sck",pct_christian:7.5,pop:38e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.97,lng:84.3,code:"PG041928"},{name:"Chhetri",country:"India",lang:"Nepali",rol3:"npi",pct_christian:7.5,pop:17e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.34,lng:89.24,code:"PG041565"},{name:"Sorgir",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:7.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.34,lng:76.39,code:"PG049092"},{name:"Kankali",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:27.7,lng:81.49,code:"PG049096"},{name:"Khadim",country:"India",lang:"Urdu",rol3:"urd",pct_christian:7.5,pop:400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:26.49,lng:74.65,code:"PG048969"},{name:"Kharwar (Khotta)",country:"India",lang:"Maithili",rol3:"mai",pct_christian:7.5,pop:125,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.85,lng:87.96,code:"PG048298"},{name:"Yadava (Bhojpuri)",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:3.5,pop:8465e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:25.05,lng:84.06,code:"PG046313"},{name:"Chamar (Bhojpuri)",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:3.5,pop:455e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:25.65,lng:84.13,code:"PG046025"},{name:"Mazabi",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:3625e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:30.25,lng:74.91,code:"PG041301"},{name:"Boro",country:"India",lang:"Boro (India)",rol3:"brx",pct_christian:3.5,pop:1545e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.71,lng:89.29,code:"PG041371"},{name:"Kisan (Kurukh)",country:"India",lang:"Kurux",rol3:"kru",pct_christian:3.5,pop:544e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.1,lng:84.53,code:"PG041504"},{name:"Chamar (Maithili)",country:"India",lang:"Maithili",rol3:"mai",pct_christian:3.5,pop:43e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:26.09,lng:85.94,code:"PG046040"},{name:"Lohara",country:"India",lang:"Sadri",rol3:"sck",pct_christian:3.5,pop:324e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:25.14,lng:87.24,code:"PG041542"},{name:"Gurung",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:147e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:26.84,lng:90.63,code:"PG041693"},{name:"Nepali",country:"Bhutan",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:131e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:27.13,lng:89.79,code:"PG042388"},{name:"Beldar (Bhojpuri)",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:3.5,pop:115e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:26.35,lng:83.71,code:"PG048209"},{name:"Chikwa",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:89500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:23.97,lng:84.3,code:"PG041852"},{name:"Rajbhar",country:"India",lang:"Bhojpuri",rol3:"bho",pct_christian:3.5,pop:89e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.68,lng:80.47,code:"PG042085"},{name:"Bhattra (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:79e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:30.98,lng:75.73,code:"PG041615"},{name:"Damai (Nepali)",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:66500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.66,lng:89.08,code:"PG041874"},{name:"Arain (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:30.37,lng:75.93,code:"PG048185"},{name:"Binjhia",country:"India",lang:"Sadri",rol3:"sck",pct_christian:3.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22,lng:82.34,code:"PG042025"},{name:"Gond (Sadri) ",country:"India",lang:"Sadri",rol3:"sck",pct_christian:3.5,pop:30500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.17,lng:85,code:"PG048262"},{name:"Sarki",country:"India",lang:"Nepali",rol3:"npi",pct_christian:3.5,pop:18e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:26.96,lng:88.33,code:"PG042059"},{name:"Punjabi",country:"Singapore",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:15e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Sikhism",lat:1.36,lng:103.82,code:"PG010717"},{name:"Gorait",country:"India",lang:"Sadri",rol3:"sck",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:23.21,lng:85.33,code:"PG042169"},{name:"Gandhila",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:6600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.34,lng:76.4,code:"PG049080"},{name:"Boria",country:"India",lang:"Awadhi",rol3:"awa",pct_christian:3.5,pop:5e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:27.09,lng:82.01,code:"PG049076"},{name:"Sherpa",country:"Bhutan",lang:"Sherpa",rol3:"xsr",pct_christian:3.5,pop:3700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Tibetan",lat:27.49,lng:89.64,code:"PG048796"},{name:"Pinjara (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:3e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:29.48,lng:76.44,code:"PG048167"},{name:"Daoli",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:2800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.97,lng:76.55,code:"PG049445"},{name:"Dayare",country:"India",lang:"Urdu",rol3:"urd",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.79,lng:77.53,code:"PG049780"},{name:"Ahluwalia",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:3.5,pop:1400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:31.39,lng:75.36,code:"PG049356"},{name:"Dhamin",country:"India",lang:"Maithili",rol3:"mai",pct_christian:3.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:25.82,lng:87.13,code:"PG049396"}]},Mali:{target_upg:44,target_pop:22708100,target_top_langs:["Bamanankan","Soninke","Senoufo, Mamara","Fulfulde, Maasina"],target_top_religion:"Islam",neighbors:[{name:"Dogon",country:"Mali",lang:"Dogon, Toro So",rol3:"dts",pct_christian:3.5,pop:107e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:14.21,lng:-3.27,code:"PG013545"},{name:"Bobo, Black",country:"Mali",lang:"Konabéré",rol3:"bbo",pct_christian:3.5,pop:48500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:12.6,lng:-4.54,code:"PG013536"},{name:"Burkina Faso",country:"Canada",lang:"Moore",rol3:"mos",pct_christian:12.5,pop:425,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:43.83,lng:-79.46,code:"PG047453"},{name:"Mossi",country:"Burkina Faso",lang:"Moore",rol3:"mos",pct_christian:7.5,pop:8335e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.73,lng:-1.3,code:"PG012424"},{name:"Mossi",country:"Ghana",lang:"Moore",rol3:"mos",pct_christian:7.5,pop:526e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:5.57,lng:-.22,code:"PG013360"},{name:"Zaore",country:"Burkina Faso",lang:"Moore",rol3:"mos",pct_christian:7.5,pop:68e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:12.36,lng:-1.52,code:"PG012427"},{name:"Fulfulde Masina",country:"Burkina Faso",lang:"Fulfulde, Maasina",rol3:"ffm",pct_christian:7.5,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:13.38,lng:-3.94,code:"PG012397"},{name:"Bambara",country:"Cote d’Ivoire",lang:"Bamanankan",rol3:"bam",pct_christian:3.5,pop:1485e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.88,lng:-7.05,code:"PG013042"},{name:"Mossi",country:"United States",lang:"Moore",rol3:"mos",pct_christian:3.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.74,lng:-73.72,code:"PG047647"}]},Somalia:{target_upg:20,target_pop:19407100,target_top_langs:["Somali","Maay","Swahili","Garre"],target_top_religion:"Islam",neighbors:[{name:"Swahili",country:"United States",lang:"Swahili",rol3:"swh",pct_christian:7.5,pop:81500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:34.52,lng:-105.83,code:"PG047306"},{name:"Chagga",country:"Tanzania",lang:"Swahili",rol3:"swh",pct_christian:3.5,pop:1185e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-3.29,lng:37.08,code:"PG014916"},{name:"Swahili",country:"Zambia",lang:"Swahili",rol3:"swh",pct_christian:3.5,pop:38500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-15.4,lng:28.31,code:"PG015634"},{name:"Zanzibari",country:"South Africa",lang:"Swahili",rol3:"swh",pct_christian:3.5,pop:1900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-29.84,lng:30.93,code:"PG015550"}]},Malaysia:{target_upg:80,target_pop:18071880,target_top_langs:["Malay","Negeri Sembilan Malay","Bengali","Bajau, West Coast"],target_top_religion:"Islam",neighbors:[{name:"Chavacano",country:"Malaysia",lang:"Chavacano",rol3:"cbk",pct_christian:62.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:4.47,lng:118.57,code:"PG009226"},{name:"Bundu Dusun",country:"Malaysia",lang:"Kadazan Dusun",rol3:"dtp",pct_christian:45,pop:82e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.2,lng:116.43,code:"PG018481"},{name:"Tutoh Kenyah",country:"Malaysia",lang:"Long Wat",rol3:"ttw",pct_christian:45,pop:1500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:3.86,lng:114.62,code:"PG019323"},{name:"Beketan",country:"Malaysia",lang:"Bukitan",rol3:"bkn",pct_christian:45,pop:450,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:2.31,lng:113.01,code:"PG009208"},{name:"Central Dusun",country:"Malaysia",lang:"Kadazan Dusun",rol3:"dtp",pct_christian:35,pop:263e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:5.99,lng:116.62,code:"PG018484"},{name:"Tagal Murut",country:"Malaysia",lang:"Murut, Tahol",rol3:"mvv",pct_christian:35,pop:71e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:4.64,lng:116.14,code:"PG009348"},{name:"Southern Murut",country:"Malaysia",lang:"Lundayeh",rol3:"lnd",pct_christian:35,pop:32500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.42,lng:115.51,code:"PG019277"},{name:"Tambunan Dusun",country:"Malaysia",lang:"Kadazan Dusun",rol3:"dtp",pct_christian:35,pop:24e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.68,lng:116.39,code:"PG019283"},{name:"Madang",country:"Malaysia",lang:"Kenyah, Mainstream",rol3:"xkl",pct_christian:35,pop:23500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:3.5,lng:114.32,code:"PG009289"},{name:"Upper Kinabatangan",country:"Malaysia",lang:"Kinabatangan, Upper",rol3:"dmg",pct_christian:35,pop:12e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.42,lng:116.97,code:"PG019329"},{name:"Central Murut",country:"Malaysia",lang:"Murut, Keningau",rol3:"kxi",pct_christian:35,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:5.35,lng:116.23,code:"PG018486"},{name:"Kalabit",country:"Malaysia",lang:"Kelabit",rol3:"kzi",pct_christian:35,pop:6700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:3.76,lng:115.3,code:"PG009259"},{name:"Western Kenyah",country:"Malaysia",lang:"Uma’ Lasan",rol3:"xky",pct_christian:35,pop:3e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:2.06,lng:114.21,code:"PG019333"},{name:"Sekapan",country:"Malaysia",lang:"Sekapan",rol3:"skp",pct_christian:35,pop:1800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:2.6,lng:113.74,code:"PG018249"},{name:"Tungara",country:"Malaysia",lang:"Murut, Bookan",rol3:"bnb",pct_christian:35,pop:650,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:5.28,lng:116.53,code:"PG019322"},{name:"Bukar Sadong",country:"Malaysia",lang:"Bidayuh Serian",rol3:"sdo",pct_christian:25,pop:72500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:1.07,lng:110.62,code:"PG009221"},{name:"Sungai Dusun",country:"Malaysia",lang:"Kadazan, Labuk-Kinabatangan",rol3:"dtb",pct_christian:25,pop:62e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:5.68,lng:116.42,code:"PG019280"},{name:"Sugut Kadazan",country:"Malaysia",lang:"Sugut Dusun",rol3:"kzs",pct_christian:25,pop:19e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.13,lng:117.18,code:"PG019279"},{name:"Tobilang",country:"Malaysia",lang:"Tobilung",rol3:"tgb",pct_christian:25,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.56,lng:116.64,code:"PG009362"},{name:"Baram Kayan",country:"Malaysia",lang:"Kayan, Baram",rol3:"kys",pct_christian:25,pop:1e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:3.53,lng:114.46,code:"PG009203"},{name:"Sinabu",country:"Malaysia",lang:"Kinabatangan, Upper",rol3:"dmg",pct_christian:25,pop:2e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:5.3,lng:116.96,code:"PG019271"},{name:"Minokok Dusun",country:"Malaysia",lang:"Minokok",rol3:"mqq",pct_christian:25,pop:1700,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.46,lng:116.8,code:"PG018523"},{name:"Eurasian",country:"Malaysia",lang:"English",rol3:"eng",pct_christian:17.5,pop:68500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:3.07,lng:101.64,code:"PG020233"},{name:"Kimaragan",country:"Malaysia",lang:"Kimaragang",rol3:"kqr",pct_christian:17.5,pop:36e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.53,lng:117.02,code:"PG009265"},{name:"Eastern Kadazan",country:"Malaysia",lang:"Kadazan, Labuk-Kinabatangan",rol3:"dtb",pct_christian:17.5,pop:31500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:5.58,lng:117.41,code:"PG020232"},{name:"Tidung",country:"Malaysia",lang:"Tidung, Northern",rol3:"ntd",pct_christian:17.5,pop:24500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.34,lng:117.7,code:"PG019289"},{name:"Tudan Dusun",country:"Malaysia",lang:"Kadazan Dusun",rol3:"dtp",pct_christian:17.5,pop:17e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.01,lng:116.16,code:"PG019321"},{name:"Tambanua",country:"Malaysia",lang:"Tombonuo",rol3:"txa",pct_christian:17.5,pop:16500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:6.39,lng:117.23,code:"PG019282"},{name:"Tempasuk Dusun",country:"Malaysia",lang:"Kadazan Dusun",rol3:"dtp",pct_christian:17.5,pop:14500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.36,lng:116.55,code:"PG009358"},{name:"Balau",country:"Malaysia",lang:"Iban",rol3:"iba",pct_christian:17.5,pop:12e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:1.32,lng:110.85,code:"PG009199"},{name:"Kwijau Dusun",country:"Malaysia",lang:"Kuijau",rol3:"dkr",pct_christian:17.5,pop:12e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.43,lng:116.24,code:"PG009274"},{name:"Dusun Segama",country:"Malaysia",lang:"Kinabatangan, Upper",rol3:"dmg",pct_christian:17.5,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:5.16,lng:118.34,code:"PG020229"},{name:"Filipino",country:"Malaysia",lang:"Tagalog",rol3:"tgl",pct_christian:12.5,pop:874e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:3.07,lng:101.64,code:"PG018269"},{name:"Sea Dayak",country:"Malaysia",lang:"Iban",rol3:"iba",pct_christian:12.5,pop:68e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:2.27,lng:112.58,code:"PG009325"},{name:"Biatah",country:"Malaysia",lang:"Bidayuh, Biatah",rol3:"bth",pct_christian:12.5,pop:91e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:1.41,lng:110.32,code:"PG009211"},{name:"Rungus Dusun",country:"Malaysia",lang:"Rungus",rol3:"drg",pct_christian:12.5,pop:68e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:6.84,lng:116.91,code:"PG009320"},{name:"Sarawak Dayak",country:"Malaysia",lang:"Bidayuh, Bau",rol3:"sne",pct_christian:12.5,pop:31500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:1.46,lng:110.08,code:"PG009324"},{name:"Tutong",country:"Malaysia",lang:"Bisaya, Brunei",rol3:"bsb",pct_christian:12.5,pop:29e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.35,lng:114.68,code:"PG019324"},{name:"Tuaran Dusun",country:"Malaysia",lang:"Lotud",rol3:"dtr",pct_christian:12.5,pop:11e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.11,lng:116.24,code:"PG019320"},{name:"Lanas Lobu",country:"Malaysia",lang:"Lobu, Lanas",rol3:"ruu",pct_christian:12.5,pop:6100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.44,lng:116.54,code:"PG009276"},{name:"Millikin",country:"Malaysia",lang:"Remun",rol3:"lkj",pct_christian:12.5,pop:5500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:1.08,lng:110.66,code:"PG009300"},{name:"Peranakan",country:"Malaysia",lang:"Malay",rol3:"zlm",pct_christian:12.5,pop:5e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:3.4,lng:101.64,code:"PG018232"},{name:"Keningau Dusun",country:"Malaysia",lang:"Malay, Sabah",rol3:"msi",pct_christian:12.5,pop:4400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.4,lng:116.19,code:"PG019337"},{name:"Baokan",country:"Malaysia",lang:"Murut, Bookan",rol3:"bnb",pct_christian:12.5,pop:4200,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.28,lng:116.54,code:"PG009202"},{name:"Tampias Lobu",country:"Malaysia",lang:"Lobu, Tampias",rol3:"low",pct_christian:12.5,pop:4e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.74,lng:116.8,code:"PG019284"},{name:"Southern Kota Marudu",country:"Malaysia",lang:"Kadazan Dusun",rol3:"dtp",pct_christian:12.5,pop:2800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.46,lng:116.83,code:"PG019276"},{name:"Dusun - Murut",country:"Malaysia",lang:"Kadazan Dusun",rol3:"dtp",pct_christian:12.5,pop:2600,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.34,lng:116.17,code:"PG020231"},{name:"Klias River Kadazan",country:"Malaysia",lang:"Kadazan, Klias River",rol3:"kqt",pct_christian:12.5,pop:2500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.44,lng:115.63,code:"PG009270"},{name:"Han Chinese, Min Nan",country:"Malaysia",lang:"Chinese, Min Nan",rol3:"nan",pct_christian:7.5,pop:2375e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:3.94,lng:102.06,code:"PG046598"},{name:"Han Chinese, Cantonese",country:"Malaysia",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:19e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:3.65,lng:101.56,code:"PG046594"},{name:"Malayali",country:"Malaysia",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:206e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:3.07,lng:101.64,code:"PG020224"},{name:"Telugu",country:"Malaysia",lang:"Telugu",rol3:"tel",pct_christian:7.5,pop:137e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:3.07,lng:101.62,code:"PG009356"},{name:"Han Chinese, Hainanese",country:"Malaysia",lang:"Hainanese",rol3:"hnm",pct_christian:7.5,pop:79e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:3.07,lng:101.64,code:"PG046595"},{name:"Idahan Dusun",country:"Malaysia",lang:"Ida’an",rol3:"dbj",pct_christian:7.5,pop:18500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.38,lng:118.38,code:"PG009252"},{name:"Timogun Murut",country:"Malaysia",lang:"Murut, Timugon",rol3:"tih",pct_christian:7.5,pop:18500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:5.22,lng:115.85,code:"PG009361"},{name:"Kinabatangan Sungai",country:"Malaysia",lang:"Kadazan, Labuk-Kinabatangan",rol3:"dtb",pct_christian:7.5,pop:18e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:5.54,lng:117.88,code:"PG019338"},{name:"Lara",country:"Malaysia",lang:"Bakati’, Rara",rol3:"lra",pct_christian:7.5,pop:17500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:1.59,lng:109.77,code:"PG009280"},{name:"Penan",country:"Malaysia",lang:"Penan, Eastern",rol3:"pez",pct_christian:7.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:3.59,lng:114.98,code:"PG018231"},{name:"Tatana",country:"Malaysia",lang:"Tatana",rol3:"txx",pct_christian:7.5,pop:13e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.47,lng:115.52,code:"PG019285"},{name:"Kalabuan",country:"Malaysia",lang:"Kinabatangan, Upper",rol3:"dmg",pct_christian:7.5,pop:12500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:5.4,lng:117.02,code:"PG009260"},{name:"Sembakung Murut",country:"Malaysia",lang:"Murut, Sembakung",rol3:"sbr",pct_christian:7.5,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.38,lng:116.43,code:"PG009334"},{name:"Sebuyau",country:"Malaysia",lang:"Iban",rol3:"iba",pct_christian:7.5,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:1.45,lng:110.55,code:"PG018247"},{name:"Bintulu",country:"Malaysia",lang:"Vaie",rol3:"bny",pct_christian:7.5,pop:1e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:3.23,lng:112.98,code:"PG009212"},{name:"Selekau",country:"Malaysia",lang:"Kendayan",rol3:"knx",pct_christian:7.5,pop:1e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:1.71,lng:109.77,code:"PG018250"},{name:"Rejang Kayan",country:"Malaysia",lang:"Kayan, Rejang",rol3:"ree",pct_christian:7.5,pop:7400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:2.55,lng:113.9,code:"PG018236"},{name:"Sonsogon",country:"Malaysia",lang:"Kimaragang",rol3:"kqr",pct_christian:7.5,pop:4800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:6.5,lng:116.86,code:"PG019275"},{name:"Sibop Kenyah",country:"Malaysia",lang:"Sebop",rol3:"sib",pct_christian:7.5,pop:4200,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:3.35,lng:114.3,code:"PG019270"},{name:"Kalabakan Murut",country:"Malaysia",lang:"Murut, Kalabakan",rol3:"kve",pct_christian:7.5,pop:3400,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:4.53,lng:117.34,code:"PG009258"},{name:"Serudung Murut",country:"Malaysia",lang:"Murut, Serudung",rol3:"srk",pct_christian:7.5,pop:2e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.37,lng:117.31,code:"PG009338"},{name:"Saban",country:"Malaysia",lang:"Sa’ban",rol3:"snv",pct_christian:7.5,pop:1800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:3.22,lng:115.4,code:"PG009321"},{name:"Dumpas",country:"Malaysia",lang:"Dumpas",rol3:"dmv",pct_christian:7.5,pop:1700,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:5.97,lng:117.35,code:"PG009244"},{name:"Rejang Punan",country:"Malaysia",lang:"Punan Bah-Biau",rol3:"pna",pct_christian:7.5,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:2.09,lng:113.39,code:"PG009319"},{name:"Tring",country:"Malaysia",lang:"Tring",rol3:"tgq",pct_christian:7.5,pop:900,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:3.98,lng:114.64,code:"PG019319"},{name:"Selungai Murut",country:"Malaysia",lang:"Murut, Selungai",rol3:"slg",pct_christian:7.5,pop:600,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.52,lng:116.43,code:"PG009330"},{name:"Tamil",country:"Malaysia",lang:"Tamil",rol3:"tam",pct_christian:3.5,pop:26e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:3.9,lng:104.29,code:"PG009351"},{name:"Han Chinese, English",country:"Malaysia",lang:"English",rol3:"eng",pct_christian:3.5,pop:2395e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:3.04,lng:102.22,code:"PG046932"},{name:"Han Chinese, Mandarin",country:"Malaysia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:1015e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:4.14,lng:101.06,code:"PG046597"},{name:"Indonesian",country:"Malaysia",lang:"Indonesian",rol3:"ind",pct_christian:3.5,pop:343e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:3.07,lng:101.64,code:"PG020239"},{name:"Melanau",country:"Malaysia",lang:"Melanau, Central",rol3:"mel",pct_christian:3.5,pop:159e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:2.54,lng:111.89,code:"PG018518"},{name:"Coastal Kadazan",country:"Malaysia",lang:"Papar",rol3:"dpp",pct_christian:3.5,pop:137e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:5.43,lng:115.5,code:"PG020225"},{name:"Vietnamese Migrant Workers",country:"Malaysia",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:85e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Confucianism",lat:5.35,lng:100.41,code:"PG046599"},{name:"Kanarese",country:"Malaysia",lang:"Kannada",rol3:"kan",pct_christian:3.5,pop:72e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:1.51,lng:103.76,code:"PG019334"},{name:"Semai",country:"Malaysia",lang:"Semai",rol3:"sea",pct_christian:3.5,pop:6e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.11,lng:101.3,code:"PG009331"},{name:"Sinhalese",country:"Malaysia",lang:"Sinhala",rol3:"sin",pct_christian:3.5,pop:36e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:3.07,lng:101.64,code:"PG018261"},{name:"Burmese",country:"Malaysia",lang:"Burmese",rol3:"mya",pct_christian:3.5,pop:32500,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Theravada",lat:3.07,lng:101.64,code:"PG018483"},{name:"Temuan",country:"Malaysia",lang:"Temuan",rol3:"tmw",pct_christian:3.5,pop:22500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:3.56,lng:101.72,code:"PG009359"},{name:"Daro - Matu",country:"Malaysia",lang:"Melanau, Daro-Matu",rol3:"dro",pct_christian:3.5,pop:18500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:2.62,lng:111.54,code:"PG020227"},{name:"British",country:"Malaysia",lang:"English",rol3:"eng",pct_christian:3.5,pop:17e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated",lat:3.07,lng:101.62,code:"PG009217"},{name:"Japanese",country:"Malaysia",lang:"Japanese",rol3:"jpn",pct_christian:3.5,pop:17e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Shinbutso-shugo",lat:3.07,lng:101.64,code:"PG020241"},{name:"Semelai",country:"Malaysia",lang:"Semelai",rol3:"sza",pct_christian:3.5,pop:8e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:3.05,lng:102.62,code:"PG009335"},{name:"Peluan",country:"Malaysia",lang:"Murut, Paluan",rol3:"plz",pct_christian:3.5,pop:5700,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:5.12,lng:116.24,code:"PG009313"},{name:"Jah Hut",country:"Malaysia",lang:"Jah Hut",rol3:"jah",pct_christian:3.5,pop:5300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:3.59,lng:102.33,code:"PG009254"},{name:"Semoq Beri",country:"Malaysia",lang:"Semaq Beri",rol3:"szc",pct_christian:3.5,pop:5300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.06,lng:102.85,code:"PG009333"},{name:"Narom",country:"Malaysia",lang:"Narom",rol3:"nrm",pct_christian:3.5,pop:5200,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:4.21,lng:113.93,code:"PG009306"},{name:"Lower Murut",country:"Malaysia",lang:"Murut, Timugon",rol3:"tih",pct_christian:3.5,pop:3400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.18,lng:115.93,code:"PG020131"},{name:"Pandewan Murut",country:"Malaysia",lang:"Murut, Paluan",rol3:"plz",pct_christian:3.5,pop:2900,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.13,lng:116.22,code:"PG018226"},{name:"Murik Kayan",country:"Malaysia",lang:"Murik (Malaysia)",rol3:"mxr",pct_christian:3.5,pop:2700,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:3.6,lng:114.41,code:"PG009305"},{name:"Bakong Kenyah",country:"Malaysia",lang:"Kenyah, Mainstream",rol3:"xkl",pct_christian:3.5,pop:2100,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:1.48,lng:114.55,code:"PG009198"},{name:"Bateq",country:"Malaysia",lang:"Batek",rol3:"btq",pct_christian:3.5,pop:1800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.68,lng:102.47,code:"PG009204"},{name:"Bajau Bukit",country:"Malaysia",lang:"Papar",rol3:"dpp",pct_christian:3.5,pop:1500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:5.6,lng:115.6,code:"PG018466"},{name:"Berawan",country:"Malaysia",lang:"Berawan, West",rol3:"zbw",pct_christian:3.5,pop:1400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4,lng:114.71,code:"PG009210"},{name:"Orang Seletar",country:"Malaysia",lang:"Orang Seletar",rol3:"ors",pct_christian:3.5,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:1.6,lng:104.13,code:"PG018223"},{name:"Kayaman",country:"Malaysia",lang:"Kajaman",rol3:"kag",pct_christian:3.5,pop:1200,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:2.7,lng:114.06,code:"PG009262"},{name:"Siduan",country:"Malaysia",lang:"Melanau, Sibu",rol3:"sdx",pct_christian:3.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:2.33,lng:111.76,code:"PG009341"},{name:"Kanowit",country:"Malaysia",lang:"Melanau, Kanowit-Tanjong",rol3:"kxn",pct_christian:3.5,pop:425,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:2.06,lng:112.25,code:"PG009261"},{name:"Lanoh",country:"Malaysia",lang:"Lanoh",rol3:"lnh",pct_christian:3.5,pop:350,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:5.1,lng:101.03,code:"PG009279"},{name:"Ukit",country:"Malaysia",lang:"Ukit",rol3:"umi",pct_christian:3.5,pop:300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:2.71,lng:113.04,code:"PG019326"},{name:"Tanjong",country:"Malaysia",lang:"Melanau, Kanowit-Tanjong",rol3:"kxn",pct_christian:3.5,pop:250,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:2.06,lng:112.25,code:"PG009353"},{name:"Sian",country:"Malaysia",lang:"Sihan (Malaysia)",rol3:"spg",pct_christian:3.5,pop:175,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:2.7,lng:113.83,code:"PG009339"},{name:"Batu Punan",country:"Malaysia",lang:"Punan Batu",rol3:"pnm",pct_christian:3.5,pop:125,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:4.21,lng:114.35,code:"PG018470"},{name:"Orang Kanaq",country:"Malaysia",lang:"Malay",rol3:"zlm",pct_christian:3.5,pop:80,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:1.88,lng:104.03,code:"PG018222"},{name:"Lemo",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:75,pop:2300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:25.84,lng:98.78,code:"PG007252"},{name:"Soria",country:"India",lang:"Hindi",rol3:"hin",pct_christian:62.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:23.2,lng:77.09,code:"PG048955"},{name:"Rathodia",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:62.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:22.3,lng:73.39,code:"PG048948"},{name:"Bagti",country:"India",lang:"Bengali",rol3:"ben",pct_christian:62.5,pop:275,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:23.28,lng:86.43,code:"PG049044"},{name:"Meghval",country:"India",lang:"Hindi",rol3:"hin",pct_christian:45,pop:377e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:26.87,lng:73.03,code:"PG041328"},{name:"Gounder",country:"India",lang:"Tamil",rol3:"tam",pct_christian:25,pop:6e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:11.68,lng:78.22,code:"PG041906"},{name:"Sediq",country:"Taiwan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:25,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:24.02,lng:121.35,code:"PG007536"},{name:"Chamail",country:"India",lang:"Hindi",rol3:"hin",pct_christian:25,pop:1200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:25.48,lng:85.95,code:"PG049469"},{name:"Balmiki (Punjabi)",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:17.5,pop:1295e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.44,lng:75.81,code:"PG048195"},{name:"Nadia",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:17.5,pop:69500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG041830"},{name:"Badhi",country:"India",lang:"Hindi",rol3:"hin",pct_christian:17.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:29.95,lng:77.55,code:"PG041480"},{name:"Sutar (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:17.5,pop:11e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:21.4,lng:71.23,code:"PG048301"},{name:"Han Chinese",country:"New Zealand",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:214e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-36.89,lng:174.78,code:"PG018495"},{name:"Senva",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:12.5,pop:161e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG041682"},{name:"Chakravar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:8.62,lng:77,code:"PG041956"},{name:"Bawa Dedh",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:12.5,pop:34500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:22.72,lng:72.18,code:"PG042035"},{name:"Han Chinese, Min Nan",country:"Canada",lang:"Chinese, Min Nan",rol3:"nan",pct_christian:12.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:45.42,lng:-75.69,code:"PG047427"},{name:"Samban",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:24500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:8.7,lng:77.49,code:"PG041752"},{name:"Mehtar",country:"India",lang:"Hindi",rol3:"hin",pct_christian:12.5,pop:2e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:16.22,lng:75.63,code:"PG042116"},{name:"Palliyan",country:"India",lang:"Tamil",rol3:"tam",pct_christian:12.5,pop:4800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:9.89,lng:77.09,code:"PG049215"},{name:"Gagra",country:"India",lang:"Punjabi, Eastern",rol3:"pan",pct_christian:12.5,pop:700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:30.84,lng:75.86,code:"PG049079"},{name:"Gharrami",country:"India",lang:"Hindi",rol3:"hin",pct_christian:12.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:28.64,lng:77.12,code:"PG049392"},{name:"Han Chinese",country:"Kiribati",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:125,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:1.37,lng:173.11,code:"PG009087"},{name:"Han Chinese",country:"Tuvalu",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:12.5,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-8.5,lng:179.19,code:"PG018319"},{name:"Han Chinese, Mandarin",country:"China",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:90145e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:37.37,lng:110.73,code:"PG006802"},{name:"Han Chinese, Min Nan",country:"China",lang:"Chinese, Min Nan",rol3:"nan",pct_christian:7.5,pop:3555e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:23.42,lng:115.05,code:"PG006805"},{name:"Nadar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:6365e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:11.17,lng:77.82,code:"PG041309"},{name:"Han Chinese, Mandarin",country:"Taiwan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:4635e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:24.86,lng:121.36,code:"PG007518"},{name:"Santal (Bengali)",country:"India",lang:"Bengali",rol3:"ben",pct_christian:7.5,pop:335e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:24,lng:88.81,code:"PG046352"},{name:"Vellalar",country:"India",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:308e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.78,lng:77.78,code:"PG041493"},{name:"Han Chinese, Mandarin",country:"United States",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:2345e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:45.74,lng:-114.4,code:"PG043261"},{name:"Han Chinese, Min Nan",country:"Singapore",lang:"Chinese, Min Nan",rol3:"nan",pct_christian:7.5,pop:1785e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020729"},{name:"Han Chinese",country:"Vietnam",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:162e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.04,lng:106.1,code:"PG033473"},{name:"Indian - Hindu",country:"South Africa",lang:"Hindi",rol3:"hin",pct_christian:7.5,pop:1365e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:-28.9,lng:26.75,code:"PG042180"},{name:"Han Chinese, Mandarin",country:"Canada",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:1055e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:46.93,lng:-92.67,code:"PG043404"},{name:"Han Chinese, Mandarin",country:"Japan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:736e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:35.72,lng:137.14,code:"PG048925"},{name:"Han Chinese",country:"Australia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:67e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-33.75,lng:144.18,code:"PG033443"},{name:"Han Chinese",country:"Myanmar",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:65e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:16.85,lng:96.15,code:"PG022047"},{name:"Bhangi (Gujarati)",country:"India",lang:"Gujarati",rol3:"guj",pct_christian:7.5,pop:6e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:22.76,lng:72.13,code:"PG048218"}]},Russia:{target_upg:120,target_pop:17727020,target_top_langs:["Tatar","Chechen","Bashkort","Avar"],target_top_religion:"Islam",neighbors:[{name:"Han Chinese, Mandarin",country:"Russian Federation",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:62e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:51.07,lng:119.29,code:"PG048686"},{name:"Ukrainian",country:"Russian Federation",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:112e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:51.59,lng:82.8,code:"PG048814"},{name:"Jew",country:"Russian Federation",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:208e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Agnosticism",lat:52.97,lng:74.32,code:"PG042910"},{name:"Kurd, Northern",country:"Russian Federation",lang:"Kurdish, Northern",rol3:"kmr",pct_christian:3.5,pop:35e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Shia",lat:44.63,lng:39.24,code:"PG024465"},{name:"Vietnamese",country:"Thailand",lang:"Vietnamese",rol3:"vie",pct_christian:25,pop:119e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:13.76,lng:100.56,code:"PG010933"},{name:"Russian",country:"Moldova",lang:"Russian",rol3:"rus",pct_christian:17.5,pop:133e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.13,lng:29.34,code:"PG000867"},{name:"Korean",country:"Uzbekistan",lang:"Russian",rol3:"rus",pct_christian:12.5,pop:254e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:41.31,lng:69.26,code:"PG024684"},{name:"Finn",country:"Canada",lang:"Finnish",rol3:"fin",pct_christian:12.5,pop:36500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:47.13,lng:-83.66,code:"PG043394"},{name:"Armenian",country:"United Kingdom",lang:"Armenian",rol3:"hye",pct_christian:12.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000627"},{name:"Saami, Aanaar",country:"Finland",lang:"Finnish",rol3:"fin",pct_christian:12.5,pop:750,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:69.11,lng:27.17,code:"PG000110"},{name:"Vietnamese",country:"Australia",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:174e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-33.38,lng:143.4,code:"PG008087"},{name:"Russian",country:"Australia",lang:"Russian",rol3:"rus",pct_christian:7.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.52,lng:142.46,code:"PG008063"},{name:"Vietnamese",country:"New Zealand",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:4900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-36.89,lng:174.78,code:"PG018514"},{name:"Gelao",country:"Vietnam",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:23.08,lng:105.2,code:"PG011133"},{name:"Russian",country:"Ukraine",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:708e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.69,lng:34.82,code:"PG042915"},{name:"Finn",country:"Finland",lang:"Finnish",rol3:"fin",pct_christian:3.5,pop:4975e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:64.5,lng:26.27,code:"PG000109"},{name:"Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:26e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.48,lng:12.44,code:"PG049403"},{name:"Finn",country:"Sweden",lang:"Finnish",rol3:"fin",pct_christian:3.5,pop:223e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:58.52,lng:14.92,code:"PG000553"},{name:"Armenian",country:"Lebanon",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:22e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:33.87,lng:35.58,code:"PG048928"},{name:"Russian",country:"Lithuania",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:155e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:55.25,lng:24.5,code:"PG000853"},{name:"Kinh",country:"Laos",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:138e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:17.97,lng:102.64,code:"PG020963"},{name:"Armenian",country:"Iran",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:38.14,lng:46.37,code:"PG024130"},{name:"Jew, Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:99500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:52.5,lng:13.4,code:"PG046578"},{name:"Vietnamese Migrant Workers",country:"Malaysia",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:85e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Confucianism",lat:5.35,lng:100.41,code:"PG046599"},{name:"Russian",country:"United Kingdom",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:64e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000675"},{name:"Armenian",country:"Turkiye",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:41.05,lng:28.9,code:"PG024538"},{name:"Finn",country:"United States",lang:"Finnish",rol3:"fin",pct_christian:3.5,pop:39e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:46.89,lng:-88.69,code:"PG043240"},{name:"Vietnamese",country:"Netherlands",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:8800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:52.47,lng:5.36,code:"PG000445"},{name:"Belarusian",country:"Argentina",lang:"Belarusian",rol3:"bel",pct_christian:3.5,pop:4600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-34.65,lng:-58.56,code:"PG017330"}]},Cambodia:{target_upg:19,target_pop:17466400,target_top_langs:["Khmer","Vietnamese","Cham, Western","Chinese, Min Nan"],target_top_religion:"Buddhism",neighbors:[{name:"Thmaun",country:"Cambodia",lang:"Undetermined",rol3:"und",pct_christian:45,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:13.12,lng:106.43,code:"PG022376"},{name:"Stieng",country:"Cambodia",lang:"Stieng, Bulo",rol3:"sti",pct_christian:17.5,pop:6500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:12.11,lng:106.45,code:"PG008194"},{name:"Jarai",country:"Cambodia",lang:"Jarai",rol3:"jra",pct_christian:7.5,pop:21e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:13.64,lng:107.44,code:"PG020437"},{name:"Kachok",country:"Cambodia",lang:"Kachok",rol3:"xkk",pct_christian:7.5,pop:3900,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:13.93,lng:107.31,code:"PG020439"},{name:"Tamil",country:"Cambodia",lang:"Tamil",rol3:"tam",pct_christian:7.5,pop:1800,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:11.55,lng:104.91,code:"PG008196"},{name:"Han Chinese",country:"Cambodia",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:519e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:11.55,lng:104.87,code:"PG033445"},{name:"Phnong",country:"Cambodia",lang:"Mnong, Central",rol3:"cmo",pct_christian:3.5,pop:47500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:12.77,lng:106.83,code:"PG020443"},{name:"Brao",country:"Cambodia",lang:"Brao",rol3:"brb",pct_christian:3.5,pop:9e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:14.32,lng:107.24,code:"PG018251"},{name:"Khmer Keh",country:"Cambodia",lang:"Khmer, Northern",rol3:"kxm",pct_christian:3.5,pop:5200,bridge:"same-country",adjacency:"same-country",religion_bg:"Buddhism - Folk",lat:14.12,lng:106.34,code:"PG047854"},{name:"Rhade",country:"United States",lang:"Rade",rol3:"rad",pct_christian:62.5,pop:250,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:35.17,lng:-80.8,code:"PG050362"},{name:"Rhade",country:"Vietnam",lang:"Rade",rol3:"rad",pct_christian:45,pop:331e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:12.96,lng:108.31,code:"PG011211"},{name:"Vietnamese",country:"Thailand",lang:"Vietnamese",rol3:"vie",pct_christian:25,pop:119e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:13.76,lng:100.56,code:"PG010933"},{name:"Burmese",country:"Germany",lang:"Burmese",rol3:"mya",pct_christian:25,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:50,lng:8.01,code:"PG033529"},{name:"Barmi",country:"India",lang:"Burmese",rol3:"mya",pct_christian:17.5,pop:600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:12.6,lng:92.83,code:"PG048889"},{name:"Sin",country:"Laos",lang:"Lao",rol3:"lao",pct_christian:12.5,pop:300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:18.06,lng:105.09,code:"PG050561"},{name:"Vietnamese",country:"Australia",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:174e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-33.38,lng:143.4,code:"PG008087"},{name:"Vietnamese",country:"New Zealand",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:4900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-36.89,lng:174.78,code:"PG018514"},{name:"Gelao",country:"Vietnam",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:23.08,lng:105.2,code:"PG011133"},{name:"Kinh",country:"Laos",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:138e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:17.97,lng:102.64,code:"PG020963"},{name:"Vietnamese Migrant Workers",country:"Malaysia",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:85e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Confucianism",lat:5.35,lng:100.41,code:"PG046599"},{name:"Burmese",country:"Malaysia",lang:"Burmese",rol3:"mya",pct_christian:3.5,pop:32500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:3.07,lng:101.64,code:"PG018483"},{name:"Lao",country:"Myanmar",lang:"Lao",rol3:"lao",pct_christian:3.5,pop:26e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:16.85,lng:96.15,code:"PG009467"},{name:"Vietnamese",country:"Netherlands",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:8800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:52.47,lng:5.36,code:"PG000445"}]},Kazakhstan:{target_upg:39,target_pop:16547800,target_top_langs:["Kazakh","Uzbek, Northern","Uyghur","Tatar"],target_top_religion:"Islam",neighbors:[{name:"Latvian",country:"Kazakhstan",lang:"Latvian, Standard",rol3:"lvs",pct_christian:17.5,pop:2400,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated",lat:43.29,lng:76.91,code:"PG024285"},{name:"Ukrainian",country:"Kazakhstan",lang:"Ukrainian",rol3:"ukr",pct_christian:12.5,pop:415e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:48.48,lng:71.3,code:"PG024330"},{name:"Korean",country:"Kazakhstan",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:132e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:43.29,lng:76.91,code:"PG024281"},{name:"Pole",country:"Kazakhstan",lang:"Polish",rol3:"pol",pct_christian:12.5,pop:62e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:43.29,lng:76.91,code:"PG024292"},{name:"Han Chinese, Mandarin",country:"Kazakhstan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:3.5,pop:6500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:51.17,lng:71.45,code:"PG049243"},{name:"Karakalpak",country:"Kazakhstan",lang:"Karakalpak",rol3:"kaa",pct_christian:3.5,pop:1900,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:45.62,lng:62.06,code:"PG024276"},{name:"Russian",country:"Moldova",lang:"Russian",rol3:"rus",pct_christian:17.5,pop:133e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.13,lng:29.34,code:"PG000867"},{name:"Korean",country:"Uzbekistan",lang:"Russian",rol3:"rus",pct_christian:12.5,pop:254e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:41.31,lng:69.26,code:"PG024684"},{name:"Romani, Sinte",country:"Canada",lang:"Romani, Sinte",rol3:"rmo",pct_christian:12.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.52,lng:-73.68,code:"PG043471"},{name:"Armenian",country:"United Kingdom",lang:"Armenian",rol3:"hye",pct_christian:12.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000627"},{name:"Estonian",country:"Estonia",lang:"Estonian, Standard",rol3:"ekk",pct_christian:7.5,pop:9e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:58.67,lng:25.55,code:"PG000779"},{name:"Russian",country:"Australia",lang:"Russian",rol3:"rus",pct_christian:7.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.52,lng:142.46,code:"PG008063"},{name:"Estonian",country:"Canada",lang:"Estonian, Standard",rol3:"ekk",pct_christian:7.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG043392"},{name:"Greek",country:"Czech Republic",lang:"Greek",rol3:"ell",pct_christian:7.5,pop:3600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:49.82,lng:17.98,code:"PG048862"},{name:"Russian",country:"Ukraine",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:708e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.69,lng:34.82,code:"PG042915"},{name:"Bulgarian",country:"Germany",lang:"Bulgarian",rol3:"bul",pct_christian:3.5,pop:411e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.5,lng:13.4,code:"PG042446"},{name:"Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:26e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.48,lng:12.44,code:"PG049403"},{name:"Armenian",country:"Lebanon",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:22e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:33.87,lng:35.58,code:"PG048928"},{name:"Jew",country:"Russian Federation",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:208e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:52.97,lng:74.32,code:"PG042910"},{name:"Russian",country:"Lithuania",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:155e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:55.25,lng:24.5,code:"PG000853"},{name:"Armenian",country:"Iran",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:38.14,lng:46.37,code:"PG024130"},{name:"Jew, Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:99500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:52.5,lng:13.4,code:"PG046578"},{name:"Russian",country:"United Kingdom",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:64e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000675"},{name:"Armenian",country:"Turkiye",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:41.05,lng:28.9,code:"PG024538"},{name:"Kurd, Northern",country:"Russian Federation",lang:"Kurdish, Northern",rol3:"kmr",pct_christian:3.5,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:44.63,lng:39.24,code:"PG024465"}]},Senegal:{target_upg:30,target_pop:15310200,target_top_langs:["Wolof","Pulaar","Maninkakan, Western","Mandinka"],target_top_religion:"Islam",neighbors:[{name:"Caboverdian Mestico",country:"Senegal",lang:"Kabuverdianu",rol3:"kea",pct_christian:12.5,pop:54e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:14.73,lng:-17.44,code:"PG014223"},{name:"English Creole",country:"Senegal",lang:"Krio",rol3:"kri",pct_christian:3.5,pop:9600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:14.73,lng:-17.44,code:"PG014225"},{name:"Papel",country:"Senegal",lang:"Papel",rol3:"pbo",pct_christian:3.5,pop:9600,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:12.57,lng:-16.27,code:"PG014254"},{name:"Bambara",country:"Cote d’Ivoire",lang:"Bamanankan",rol3:"bam",pct_christian:3.5,pop:1485e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.88,lng:-7.05,code:"PG013042"},{name:"Mandyak",country:"Gambia",lang:"Mandjak",rol3:"mfv",pct_christian:3.5,pop:47e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:13.39,lng:-16.69,code:"PG013238"},{name:"Badyara",country:"Guinea-Bissau",lang:"Badyara",rol3:"pbp",pct_christian:3.5,pop:7300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.59,lng:-13.77,code:"PG013442"}]},"United States":{target_upg:98,target_pop:14806100,target_top_langs:["English","Hindi","Gujarati","Russian"],target_top_religion:"Ethnic Religions",neighbors:[{name:"Mennonite",country:"United States",lang:"Plautdietsch",rol3:"pdt",pct_christian:62.5,pop:15500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.43,lng:-97.5,code:"PG043327"},{name:"Kachin, Rawang",country:"United States",lang:"Rawang",rol3:"raw",pct_christian:62.5,pop:750,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:32.85,lng:-96.97,code:"PG050380"},{name:"Bunong",country:"United States",lang:"Mnong, Central",rol3:"cmo",pct_christian:62.5,pop:450,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.28,lng:-80.21,code:"PG050338"},{name:"Rhade",country:"United States",lang:"Rade",rol3:"rad",pct_christian:62.5,pop:250,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.17,lng:-80.8,code:"PG050362"},{name:"Chin, Zomi",country:"United States",lang:"Zo",rol3:"zom",pct_christian:62.5,pop:225,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:36.03,lng:-85.61,code:"PG050344"},{name:"Chin, Zotung",country:"United States",lang:"Chin, Zotung",rol3:"czt",pct_christian:62.5,pop:175,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:36.28,lng:-89.53,code:"PG050345"},{name:"Chin, Haka",country:"United States",lang:"Chin, Hakha",rol3:"cnh",pct_christian:62.5,pop:150,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:37.35,lng:-90.04,code:"PG050340"},{name:"Naga, Tangkhul",country:"United States",lang:"Naga, Tangkhul (India)",rol3:"nmf",pct_christian:62.5,pop:100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:32.85,lng:-96.97,code:"PG050369"},{name:"Niuean",country:"United States",lang:"Niue",rol3:"niu",pct_christian:62.5,pop:80,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG047289"},{name:"Chin, Falam",country:"United States",lang:"Chin, Falam",rol3:"cfm",pct_christian:62.5,pop:30,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:34.09,lng:-81.04,code:"PG050339"},{name:"Chin, Mara",country:"United States",lang:"Mara",rol3:"mrh",pct_christian:62.5,pop:30,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:34.09,lng:-81.04,code:"PG050341"},{name:"Chin, Tiddim",country:"United States",lang:"Chin, Tedim",rol3:"ctd",pct_christian:62.5,pop:30,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:34.09,lng:-81.04,code:"PG050342"},{name:"Kuripako",country:"United States",lang:"Curripaco",rol3:"kpc",pct_christian:45,pop:225,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:40.74,lng:-73.72,code:"PG043219"},{name:"Lisu",country:"United States",lang:"Lisu",rol3:"lis",pct_christian:45,pop:150,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:34.05,lng:-112.65,code:"PG050353"},{name:"Koho",country:"United States",lang:"Koho",rol3:"kpm",pct_christian:35,pop:3100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.17,lng:-80.8,code:"PG050364"},{name:"French Polynesian",country:"United States",lang:"Tahitian",rol3:"tah",pct_christian:35,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG047193"},{name:"Karen S'gaw",country:"United States",lang:"Karen, S’gaw",rol3:"ksw",pct_christian:35,pop:325,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.35,lng:-119.02,code:"PG047263"},{name:"American",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:19474e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:38.3,lng:-93.46,code:"PG043515"},{name:"Yoruba",country:"United States",lang:"Yoruba",rol3:"yor",pct_christian:25,pop:152e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - African Traditional Religion",lat:38.9,lng:-77.19,code:"PG047644"},{name:"Barbadian",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:50500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:40.72,lng:-73.97,code:"PG046507"},{name:"Bahamian",country:"United States",lang:"Bahamas English Creole",rol3:"bah",pct_christian:25,pop:33e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.18,lng:-80.23,code:"PG043531"},{name:"Marshallese",country:"United States",lang:"Marshallese",rol3:"mah",pct_christian:25,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG047281"},{name:"Jarai",country:"United States",lang:"Jarai",rol3:"jra",pct_christian:25,pop:4500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:35.17,lng:-80.8,code:"PG050355"},{name:"Nakota (Assiniboine)",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:2400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:48.32,lng:-106.26,code:"PG043527"},{name:"Rwandan",country:"United States",lang:"Kinyarwanda",rol3:"kin",pct_christian:25,pop:2400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:40.74,lng:-73.72,code:"PG047295"},{name:"Winnebago",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:2100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:42.22,lng:-96.6,code:"PG043689"},{name:"Motilon, Bari",country:"United States",lang:"Barí",rol3:"mot",pct_christian:25,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:40.74,lng:-73.72,code:"PG043532"},{name:"Madi",country:"United States",lang:"Ma’di",rol3:"mhi",pct_christian:25,pop:1100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:29.79,lng:-95.4,code:"PG050386"},{name:"Maori",country:"United States",lang:"English",rol3:"eng",pct_christian:25,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:37.75,lng:-122.21,code:"PG047214"},{name:"Zapotec, Cajonos",country:"United States",lang:"Zapotec, Cajonos",rol3:"zad",pct_christian:25,pop:400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:34.22,lng:-118.15,code:"PG049292"},{name:"Kachin, Jingpho",country:"United States",lang:"Jingpho",rol3:"kac",pct_christian:25,pop:175,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:31.43,lng:-96.28,code:"PG047264"},{name:"Marquesan",country:"United States",lang:"Marquesan, North",rol3:"mrq",pct_christian:25,pop:150,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:21.46,lng:-157.97,code:"PG047282"},{name:"Rarotongan",country:"United States",lang:"Cook Islands Maori",rol3:"rar",pct_christian:25,pop:100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG047297"},{name:"African Americans",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:4054e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:39.04,lng:-100.02,code:"PG048741"},{name:"Tzeltal",country:"United States",lang:"Tzeltal",rol3:"tzh",pct_christian:17.5,pop:85e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.17,lng:-119.44,code:"PG049313"},{name:"Nigerian",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:39500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:37.51,lng:-88.1,code:"PG047652"},{name:"Hutterite",country:"United States",lang:"Hutterisch",rol3:"geh",pct_christian:17.5,pop:7e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:46.28,lng:-104.13,code:"PG043273"},{name:"Montserratian",country:"United States",lang:"Leeward Caribbean English Creole",rol3:"aig",pct_christian:17.5,pop:5100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:26.18,lng:-80.23,code:"PG047292"},{name:"Straits Salish",country:"United States",lang:"English",rol3:"eng",pct_christian:17.5,pop:2e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:48.77,lng:-122.64,code:"PG043642"},{name:"Melanesian",country:"United States",lang:"Tok Pisin",rol3:"tpi",pct_christian:17.5,pop:1600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:38.78,lng:-121,code:"PG046504"},{name:"Mokilese",country:"United States",lang:"Mokilese",rol3:"mkj",pct_christian:17.5,pop:550,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG047278"},{name:"Kikuyu",country:"United States",lang:"Gikuyu",rol3:"kik",pct_christian:17.5,pop:550,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:38.94,lng:-94.44,code:"PG050382"},{name:"Zapotec, Southern Rincon",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:17.5,pop:500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:32.36,lng:-109.45,code:"PG049308"},{name:"Puerto Rican",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:4035e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.35,lng:-95.96,code:"PG043603"},{name:"Filipino, Tagalog",country:"United States",lang:"Tagalog",rol3:"tgl",pct_christian:12.5,pop:252e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.26,lng:-104.56,code:"PG043239"},{name:"Korean",country:"United States",lang:"Korean",rol3:"kor",pct_christian:12.5,pop:1095e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:38.77,lng:-98.89,code:"PG043310"},{name:"Latvian",country:"United States",lang:"Latvian, Standard",rol3:"lvs",pct_christian:12.5,pop:111e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated",lat:38.9,lng:-77.19,code:"PG043321"},{name:"Garifuna",country:"United States",lang:"Garifuna",rol3:"cab",pct_christian:12.5,pop:71500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:26.18,lng:-80.23,code:"PG047649"},{name:"American Samoan",country:"United States",lang:"Samoan",rol3:"smo",pct_christian:12.5,pop:69500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:33.98,lng:-118.1,code:"PG043514"},{name:"Moldovan",country:"United States",lang:"Romanian",rol3:"ron",pct_christian:12.5,pop:49e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:40.17,lng:-74.79,code:"PG047277"},{name:"Belizean",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:43500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:33.94,lng:-118.12,code:"PG047184"},{name:"Chol",country:"United States",lang:"Chol",rol3:"ctu",pct_christian:12.5,pop:39e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.17,lng:-119.44,code:"PG049314"},{name:"Tongan",country:"United States",lang:"Tongan",rol3:"ton",pct_christian:12.5,pop:29e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:37.74,lng:-122.29,code:"PG043655"},{name:"Polynesian",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:14500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG043599"},{name:"Antiguan",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:8400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.93,lng:-98.82,code:"PG050335"},{name:"Nahuatl, Isthmus",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:12.5,pop:7900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:31.63,lng:-89.16,code:"PG049280"},{name:"Krio",country:"United States",lang:"Krio",rol3:"kri",pct_christian:12.5,pop:7800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:40.74,lng:-73.72,code:"PG047260"},{name:"Trukese",country:"United States",lang:"Chuukese",rol3:"chk",pct_christian:12.5,pop:6700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:21.46,lng:-157.97,code:"PG046505"},{name:"Sac & Fox Nation of Oklahoma",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:5800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.71,lng:-96.77,code:"PG050670"},{name:"Palauan",country:"United States",lang:"Palauan",rol3:"pau",pct_christian:12.5,pop:4700,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG047310"},{name:"Fijian",country:"United States",lang:"Fijian",rol3:"fij",pct_christian:12.5,pop:4500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:39.73,lng:-120.56,code:"PG043238"},{name:"Ewe",country:"United States",lang:"Éwé",rol3:"ewe",pct_christian:12.5,pop:3400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:32.85,lng:-96.97,code:"PG050366"},{name:"Pueblo, Jemez",country:"United States",lang:"Jemez",rol3:"tow",pct_christian:12.5,pop:2400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.68,lng:-106.79,code:"PG043288"},{name:"Mohawk",country:"United States",lang:"Mohawk",rol3:"moh",pct_christian:12.5,pop:2200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:44.97,lng:-74.54,code:"PG043551"},{name:"Tolowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1900,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:41.9,lng:-124.16,code:"PG050627"},{name:"Sac & Fox Tribe of the Mississippi in Iowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:41.98,lng:-92.65,code:"PG043616"},{name:"Iowa",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:39.99,lng:-95.39,code:"PG043277"},{name:"Central Africans",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:40.74,lng:-73.72,code:"PG047190"},{name:"Kusaiean",country:"United States",lang:"Kosraean",rol3:"kos",pct_christian:12.5,pop:1300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG047209"},{name:"Tubatulabal",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:1e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:36.07,lng:-118.31,code:"PG043660"},{name:"Nez Perce",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:46.28,lng:-116.41,code:"PG043560"},{name:"Salinan",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:800,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Folk Catholicism",lat:35.83,lng:-120.77,code:"PG050637"},{name:"Swazi",country:"United States",lang:"Swati",rol3:"ssw",pct_christian:12.5,pop:550,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:40.74,lng:-73.72,code:"PG047227"},{name:"Chuj",country:"United States",lang:"Chuj",rol3:"cac",pct_christian:12.5,pop:450,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:34.88,lng:-82.36,code:"PG049269"},{name:"Sac & Fox Nation of Missouri in Kansas and Nebraska",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:450,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:40.01,lng:-95.52,code:"PG050671"},{name:"Kwakwakaʼwakw",country:"United States",lang:"Kwakwala",rol3:"kwk",pct_christian:12.5,pop:400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:48.1,lng:-123.12,code:"PG047208"},{name:"Puinave",country:"United States",lang:"Puinave",rol3:"pui",pct_christian:12.5,pop:350,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:40.74,lng:-73.72,code:"PG043604"},{name:"Basotho",country:"United States",lang:"Sotho, Southern",rol3:"sot",pct_christian:12.5,pop:300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:40.74,lng:-73.72,code:"PG047274"},{name:"Bahnar",country:"United States",lang:"Bahnar",rol3:"bdq",pct_christian:12.5,pop:300,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:35.17,lng:-80.8,code:"PG050336"},{name:"Haida",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:150,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:55.19,lng:-132.88,code:"PG043257"},{name:"Tokelauan",country:"United States",lang:"Tokelauan",rol3:"tkl",pct_christian:12.5,pop:150,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:21.46,lng:-157.97,code:"PG047304"},{name:"Embu-Mbeere",country:"United States",lang:"Kiembu",rol3:"ebu",pct_christian:12.5,pop:100,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:32.85,lng:-96.97,code:"PG050365"},{name:"Cayuga",country:"United States",lang:"English",rol3:"eng",pct_christian:12.5,pop:60,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:42.55,lng:-79,code:"PG043191"},{name:"American, Spanish Speaking",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:2056e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.62,lng:-106.27,code:"PG043518"},{name:"Han Chinese, Mandarin",country:"United States",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:2345e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:45.74,lng:-114.4,code:"PG043261"},{name:"Salvadoran",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:1915e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.62,lng:-108.3,code:"PG046515"},{name:"Chinese American",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:175e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:45.74,lng:-114.4,code:"PG050453"},{name:"Dominican",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:1465e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.36,lng:-86.45,code:"PG046509"},{name:"Guatemalan",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:125e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:34.99,lng:-105.58,code:"PG046516"},{name:"Honduran",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:1105e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:34.51,lng:-104,code:"PG046517"},{name:"Haitian",country:"United States",lang:"Haitian Creole",rol3:"hat",pct_christian:7.5,pop:716e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:31.04,lng:-78.18,code:"PG046510"},{name:"Jamaican",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:588e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:32.14,lng:-77.63,code:"PG043284"},{name:"Detribalized Amerindian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:454e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:34.9,lng:-111.06,code:"PG043225"},{name:"Ecuadorian",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:432e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:34.55,lng:-86.97,code:"PG046525"},{name:"Brazilian",country:"United States",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:32e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:34.44,lng:-97.31,code:"PG046522"},{name:"Cape Verdean",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:309e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:37.42,lng:-74.94,code:"PG047254"},{name:"Nicaraguan",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:259e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:33.99,lng:-111.48,code:"PG046518"},{name:"Guyanese",country:"United States",lang:"Guyanese English Creole",rol3:"gyn",pct_christian:7.5,pop:245e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:40.72,lng:-73.86,code:"PG046526"},{name:"Igbo",country:"United States",lang:"Igbo",rol3:"ibo",pct_christian:7.5,pop:234e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:39.21,lng:-76.75,code:"PG047202"},{name:"Argentine",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:223e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:32.49,lng:-103.74,code:"PG046520"},{name:"Ghanaian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:204e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:40.72,lng:-73.97,code:"PG046500"},{name:"Yucatec",country:"United States",lang:"Maya, Yucatec",rol3:"yua",pct_christian:7.5,pop:201e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:34.58,lng:-118.81,code:"PG047279"},{name:"Trinidadian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:174e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:40.69,lng:-73.86,code:"PG046512"},{name:"Romanian",country:"United States",lang:"Romanian",rol3:"ron",pct_christian:7.5,pop:173e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:36.09,lng:-110.56,code:"PG043611"},{name:"Malayali",country:"United States",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:165e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism",lat:40.72,lng:-73.97,code:"PG043340"},{name:"Chilean",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:147e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:34.62,lng:-116.39,code:"PG046523"},{name:"Pennsylvania Dutch",country:"United States",lang:"German, Pennsylvania",rol3:"pdc",pct_christian:7.5,pop:139e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:40.34,lng:-75.87,code:"PG043593"},{name:"Choctaw",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:121e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:34.5,lng:-95.33,code:"PG043202"},{name:"Bolivian",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:115e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:32.67,lng:-99.44,code:"PG046521"},{name:"Liberian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:107e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:40.72,lng:-73.97,code:"PG047273"},{name:"Kenyan",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:96e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:33.32,lng:-92.72,code:"PG050473"},{name:"Ilocano",country:"United States",lang:"Ilocano",rol3:"ilo",pct_christian:7.5,pop:88500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:21.46,lng:-157.97,code:"PG043275"},{name:"Nahuatl, Huasteca",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:87e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:33.97,lng:-84.02,code:"PG049279"},{name:"Anglo-Australian",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:84e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:35.02,lng:-98.4,code:"PG043519"},{name:"Swahili",country:"United States",lang:"Swahili",rol3:"swh",pct_christian:7.5,pop:81500,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:34.52,lng:-105.83,code:"PG047306"},{name:"Mam",country:"United States",lang:"Mam",rol3:"mam",pct_christian:7.5,pop:78500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:33.98,lng:-118.1,code:"PG047319"},{name:"Tzotzil",country:"United States",lang:"Tzotzil",rol3:"tzo",pct_christian:7.5,pop:76500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:37.59,lng:-122.17,code:"PG049309"},{name:"Swede",country:"United States",lang:"Swedish",rol3:"swe",pct_christian:7.5,pop:63e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated",lat:33.94,lng:-118.12,code:"PG043643"},{name:"Creek, Muskogee",country:"United States",lang:"Muskogee",rol3:"mus",pct_christian:7.5,pop:56500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.65,lng:-96.02,code:"PG043554"},{name:"Norwegian",country:"United States",lang:"Norwegian",rol3:"nor",pct_christian:7.5,pop:44500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated",lat:44.96,lng:-93.28,code:"PG043575"},{name:"Iu Mien",country:"United States",lang:"Iu Mien",rol3:"ium",pct_christian:7.5,pop:38500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:38.75,lng:-111.78,code:"PG043283"},{name:"Saint Lucian",country:"United States",lang:"Lesser Antillean French Creole",rol3:"acf",pct_christian:7.5,pop:34e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:40.72,lng:-73.97,code:"PG047284"},{name:"Cree, Plains",country:"United States",lang:"Cree, Plains",rol3:"crk",pct_christian:7.5,pop:33500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:48.71,lng:-102.69,code:"PG043683"},{name:"Blackfoot, Siksika",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:32e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:48.66,lng:-112.87,code:"PG043538"},{name:"O'odham, Tohono",country:"United States",lang:"Tohono O’odham",rol3:"ood",pct_christian:7.5,pop:30500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:32.15,lng:-112.07,code:"PG043670"},{name:"Potawatomi",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:24e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:39.34,lng:-95.84,code:"PG043601"},{name:"Chamorro",country:"United States",lang:"Chamorro",rol3:"cha",pct_christian:7.5,pop:22e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:33.94,lng:-118.12,code:"PG047251"},{name:"Hopi, Hopitu-Shinumu",country:"United States",lang:"Hopi",rol3:"hop",pct_christian:7.5,pop:21e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.9,lng:-110.58,code:"PG043269"},{name:"Popti",country:"United States",lang:"Jakalteko",rol3:"jac",pct_christian:7.5,pop:20500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:26.61,lng:-80.17,code:"PG049284"},{name:"Tlingit",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:18e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:57.16,lng:-133.75,code:"PG043653"},{name:"Nahuatl, Northern Puebla",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:18e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:36.03,lng:-78.88,code:"PG049281"},{name:"Apache, Western",country:"United States",lang:"Apache, Western",rol3:"apw",pct_christian:7.5,pop:17e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:33.88,lng:-110.16,code:"PG043682"},{name:"Nuer",country:"United States",lang:"Nuer",rol3:"nus",pct_christian:7.5,pop:15e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:32.82,lng:-96.97,code:"PG046705"},{name:"Comanche",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:14500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:34.56,lng:-98.43,code:"PG043209"},{name:"Cheyenne",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:13500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:45.53,lng:-106.68,code:"PG043198"},{name:"Azande",country:"United States",lang:"Zande",rol3:"zne",pct_christian:7.5,pop:13e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:33.59,lng:-96.89,code:"PG046709"},{name:"Crow",country:"United States",lang:"Crow",rol3:"cro",pct_christian:7.5,pop:12e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:45.4,lng:-107.76,code:"PG043215"},{name:"Afro-Grenadian",country:"United States",lang:"Grenadian English Creole",rol3:"gcl",pct_christian:7.5,pop:12e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:41.29,lng:-75.74,code:"PG050350"},{name:"Pueblo, Santa Clara",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:12e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Native American religions",lat:35.98,lng:-106.22,code:"PG050653"},{name:"Zuni Pueblo",country:"United States",lang:"Zuni",rol3:"zun",pct_christian:7.5,pop:11500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Native American religions",lat:35.09,lng:-108.74,code:"PG043703"},{name:"Shoshoni",country:"United States",lang:"Shoshoni",rol3:"shh",pct_christian:7.5,pop:10500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:41.35,lng:-109.85,code:"PG043624"},{name:"Burundi",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:1e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:37.74,lng:-92.31,code:"PG047181"},{name:"Houma, Half-Choctaw",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:9500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:29.78,lng:-90.59,code:"PG043270"},{name:"Arapaho",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:9300,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:38.15,lng:-102.16,code:"PG043524"},{name:"Flathead-Kalispel",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:8400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:47.5,lng:-114.28,code:"PG043241"},{name:"Han Chinese, Wu",country:"United States",lang:"Chinese, Wu",rol3:"wuu",pct_christian:7.5,pop:8400,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:40.74,lng:-73.72,code:"PG047187"},{name:"Zapotec, Loxicha",country:"United States",lang:"Spanish",rol3:"spa",pct_christian:7.5,pop:8e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Folk Catholicism",lat:32.79,lng:-117.08,code:"PG049324"},{name:"Paiute, Southern",country:"United States",lang:"Ute-Southern Paiute",rol3:"ute",pct_christian:7.5,pop:7600,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:38.9,lng:-110.13,code:"PG043634"},{name:"Paiute, Northern",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:7400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:39.69,lng:-119.19,code:"PG043570"},{name:"Kiowa",country:"United States",lang:"English",rol3:"eng",pct_christian:7.5,pop:7200,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:35.01,lng:-98.78,code:"PG043305"}]},Guinea:{target_upg:30,target_pop:13009200,target_top_langs:["Pular","Maninkakan, Eastern","Susu","Konyanka"],target_top_religion:"Islam",neighbors:[{name:"Kissi",country:"Guinea",lang:"Kissi, Northern",rol3:"kqs",pct_christian:7.5,pop:646e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:8.89,lng:-10.2,code:"PG013412"},{name:"Baga Binari",country:"Guinea",lang:"Baga Pokur",rol3:"bcg",pct_christian:7.5,pop:4900,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:10.53,lng:-14.62,code:"PG042197"},{name:"Loko",country:"Guinea",lang:"Loko",rol3:"lok",pct_christian:7.5,pop:900,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.34,lng:-12.86,code:"PG013423"},{name:"Kpelle",country:"Guinea",lang:"Kpelle, Guinea",rol3:"gkp",pct_christian:3.5,pop:6e5,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:7.83,lng:-8.89,code:"PG013413"},{name:"Toma",country:"Guinea",lang:"Toma",rol3:"tod",pct_christian:3.5,pop:331e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.8,lng:-9.82,code:"PG013433"},{name:"Dan Yakuba",country:"Liberia",lang:"Dan",rol3:"dnj",pct_christian:12.5,pop:245e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:6.83,lng:-8.77,code:"PG013483"},{name:"Zari",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.87,lng:9.4,code:"PG014203"},{name:"Bassa",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:10.67,lng:5.82,code:"PG033345"},{name:"Dan Yakuba",country:"Cote d’Ivoire",lang:"Dan",rol3:"dnj",pct_christian:3.5,pop:1945e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:7.48,lng:-7.86,code:"PG013066"},{name:"Bambara",country:"Cote d’Ivoire",lang:"Bamanankan",rol3:"bam",pct_christian:3.5,pop:1485e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.88,lng:-7.05,code:"PG013042"},{name:"Mano",country:"Liberia",lang:"Maan",rol3:"mev",pct_christian:3.5,pop:44e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:6.87,lng:-8.98,code:"PG013517"},{name:"Arab",country:"South Africa",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-26.17,lng:28.07,code:"PG015486"},{name:"Arab",country:"New Zealand",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-36.89,lng:174.78,code:"PG018478"},{name:"Badyara",country:"Guinea-Bissau",lang:"Badyara",rol3:"pbp",pct_christian:3.5,pop:7300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.59,lng:-13.77,code:"PG013442"}]},Tunisia:{target_upg:17,target_pop:12220300,target_top_langs:["Arabic, Tunisian","Arabic, Libyan","Arabic, Algerian","Arabic, Algerian Saharan"],target_top_religion:"Islam",neighbors:[{name:"Arab",country:"South Africa",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:15500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-26.17,lng:28.07,code:"PG015486"},{name:"Arab",country:"New Zealand",lang:"Arabic, Standard",rol3:"arb",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-36.89,lng:174.78,code:"PG018478"}]},Chad:{target_upg:82,target_pop:11754900,target_top_langs:["Arabic, Chadian","Kanembu","Dazaga","Maba (Chad)"],target_top_religion:"Islam",neighbors:[{name:"Goundo",country:"Chad",lang:"Kabalai",rol3:"kvf",pct_christian:45,pop:50,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:9.55,lng:16.2,code:"PG011355"},{name:"Nzakmbay",country:"Chad",lang:"Nzakambay",rol3:"nzy",pct_christian:25,pop:45500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:7.77,lng:15.86,code:"PG011438"},{name:"Ruto",country:"Chad",lang:"Luto",rol3:"ndy",pct_christian:25,pop:6400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.22,lng:18.44,code:"PG011443"},{name:"Besme",country:"Chad",lang:"Besme",rol3:"bes",pct_christian:25,pop:4e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.59,lng:16.09,code:"PG011321"},{name:"Mesme",country:"Chad",lang:"Mesme",rol3:"zim",pct_christian:17.5,pop:39e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.32,lng:15.53,code:"PG011414"},{name:"Mangbai",country:"Chad",lang:"Mambai",rol3:"mcs",pct_christian:12.5,pop:6400,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.63,lng:14.06,code:"PG011400"},{name:"Pana",country:"Chad",lang:"Pana (Central African Republic)",rol3:"pnz",pct_christian:12.5,pop:2600,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:7.54,lng:15.7,code:"PG011439"},{name:"Nancere",country:"Chad",lang:"Nancere",rol3:"nnc",pct_christian:7.5,pop:231e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.28,lng:16.12,code:"PG011432"},{name:"Gabere",country:"Chad",lang:"Gabri",rol3:"gab",pct_christian:7.5,pop:84e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.35,lng:16.66,code:"PG042668"},{name:"Kaba-Lai",country:"Chad",lang:"Kabalai",rol3:"kvf",pct_christian:7.5,pop:58e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.41,lng:16.31,code:"PG011370"},{name:"Kaba",country:"Chad",lang:"Kabba",rol3:"ksp",pct_christian:7.5,pop:22e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:7.85,lng:16.74,code:"PG011366"},{name:"Sara Gambai",country:"Chad",lang:"Ngambay",rol3:"sba",pct_christian:3.5,pop:2095e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.7,lng:15.82,code:"PG011447"},{name:"Musey",country:"Chad",lang:"Musey",rol3:"mse",pct_christian:3.5,pop:535e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.69,lng:15.3,code:"PG011312"},{name:"Mundang",country:"Chad",lang:"Mundang",rol3:"mua",pct_christian:3.5,pop:517e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.67,lng:14.62,code:"PG011430"},{name:"Marba",country:"Chad",lang:"Marba",rol3:"mpg",pct_christian:3.5,pop:397e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.52,lng:15.92,code:"PG042679"},{name:"Masa",country:"Chad",lang:"Masana",rol3:"mcn",pct_christian:3.5,pop:352e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:10.33,lng:15.61,code:"PG011403"},{name:"Sara Mbai",country:"Chad",lang:"Mbay",rol3:"myb",pct_christian:3.5,pop:267e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.29,lng:17.75,code:"PG011449"},{name:"Bediondo Mbai",country:"Chad",lang:"Bedjond",rol3:"bjv",pct_christian:3.5,pop:192e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.65,lng:17.28,code:"PG011318"},{name:"Karang Laka",country:"Chad",lang:"Laka",rol3:"lap",pct_christian:3.5,pop:188e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.02,lng:16.2,code:"PG011376"},{name:"Gor",country:"Chad",lang:"Kabba",rol3:"ksp",pct_christian:3.5,pop:163e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:7.8,lng:16.72,code:"PG042670"},{name:"Dai",country:"Chad",lang:"Day",rol3:"dai",pct_christian:3.5,pop:161e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.52,lng:17.55,code:"PG011334"},{name:"Kera",country:"Chad",lang:"Kera",rol3:"ker",pct_christian:3.5,pop:144e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.78,lng:15.18,code:"PG011382"},{name:"Ngama",country:"Chad",lang:"Ngam",rol3:"nmc",pct_christian:3.5,pop:135e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:8.52,lng:18.59,code:"PG011434"},{name:"Kaba Na",country:"Chad",lang:"Kaba Naa, Sara",rol3:"kwv",pct_christian:3.5,pop:113e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.58,lng:18.93,code:"PG011369"},{name:"Kado",country:"Chad",lang:"Herdé",rol3:"hed",pct_christian:3.5,pop:104e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.36,lng:14.71,code:"PG011371"},{name:"Gulfe",country:"Chad",lang:"Malgbe",rol3:"mxf",pct_christian:3.5,pop:96e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:12.48,lng:14.92,code:"PG011359"},{name:"Lele",country:"Chad",lang:"Lele (Chad)",rol3:"lln",pct_christian:3.5,pop:89e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:9.15,lng:15.73,code:"PG011395"},{name:"Peve",country:"Chad",lang:"Pévé",rol3:"lme",pct_christian:3.5,pop:78e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:9.3,lng:14.58,code:"PG011441"},{name:"Sango",country:"Chad",lang:"Sango",rol3:"sag",pct_christian:3.5,pop:58e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:8.57,lng:16.07,code:"PG011446"},{name:"Gidar",country:"Chad",lang:"Gidar",rol3:"gid",pct_christian:3.5,pop:38e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.85,lng:14.2,code:"PG011351"},{name:"Kimre",country:"Chad",lang:"Kimré",rol3:"kqp",pct_christian:3.5,pop:37e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Neo-Pentecostalism",lat:9.3,lng:16.88,code:"PG011385"},{name:"Mbum",country:"Chad",lang:"Mbum",rol3:"mdd",pct_christian:3.5,pop:34e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:7.64,lng:15.64,code:"PG011412"},{name:"Kuo",country:"Chad",lang:"Kuo",rol3:"xuo",pct_christian:3.5,pop:19500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:7.75,lng:15.75,code:"PG011393"},{name:"Mire",country:"Chad",lang:"Mulgi",rol3:"mvh",pct_christian:3.5,pop:7800,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:9.43,lng:16.3,code:"PG011419"},{name:"Kotoko-Kuseri",country:"Chad",lang:"Mser",rol3:"kqx",pct_christian:3.5,pop:3900,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Folk",lat:11.93,lng:15.11,code:"PG011388"},{name:"Gori",country:"Chad",lang:"Laal",rol3:"gdm",pct_christian:3.5,pop:1800,bridge:"same-country",adjacency:"same-country",religion_bg:"Islam - Sunni",lat:9.98,lng:17.62,code:"PG011353"},{name:"Miltu",country:"Chad",lang:"Miltu",rol3:"mlj",pct_christian:3.5,pop:900,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:10.23,lng:17.41,code:"PG011416"},{name:"Bakole",country:"Cameroon",lang:"French",rol3:"fra",pct_christian:35,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:4.43,lng:8.97,code:"PG012493"},{name:"Mono",country:"Cameroon",lang:"Fulfulde, Adamawa",rol3:"fub",pct_christian:25,pop:3700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:8.77,lng:14.12,code:"PG012705"},{name:"PoaPoa",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:25,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-20.87,lng:164.66,code:"PG018370"},{name:"Kotoko",country:"Cameroon",lang:"Lagwan",rol3:"kot",pct_christian:17.5,pop:24500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:11.86,lng:14.9,code:"PG012650"},{name:"Euronesian",country:"French Polynesia",lang:"French",rol3:"fra",pct_christian:12.5,pop:58500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-17.56,lng:-149.57,code:"PG018408"},{name:"Euronesian",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:12.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-22.27,lng:166.45,code:"PG018406"},{name:"Aeke",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:12.5,pop:350,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-21.07,lng:164.88,code:"PG009564"},{name:"French",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:7.5,pop:93500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-21.33,lng:165.49,code:"PG018389"},{name:"Zari",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:41e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:9.87,lng:9.4,code:"PG014203"},{name:"Bassa",country:"Nigeria",lang:"Hausa",rol3:"hau",pct_christian:7.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Folk",lat:10.67,lng:5.82,code:"PG033345"},{name:"Sake",country:"Gabon",lang:"French",rol3:"fra",pct_christian:7.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:.07,lng:11.63,code:"PG013210"},{name:"Burundi",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.58,lng:-73.7,code:"PG050494"},{name:"Burundi",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:37.74,lng:-92.31,code:"PG047181"},{name:"Kaba Dunjo",country:"Central African Republic",lang:"Kaba Naa, Sara",rol3:"kwv",pct_christian:7.5,pop:6300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:9.03,lng:19.98,code:"PG012874"},{name:"Kande",country:"Gabon",lang:"French",rol3:"fra",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-.09,lng:11.75,code:"PG013189"},{name:"Chadian",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.58,lng:-73.7,code:"PG050504"},{name:"Indri",country:"South Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:7.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:8.78,lng:25.73,code:"PG012040"},{name:"New Caledonian",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.22,lng:-122.99,code:"PG047444"},{name:"Gabonese",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:38.9,lng:-77.19,code:"PG047191"},{name:"Chinese-Tahitian Creole",country:"French Polynesia",lang:"French",rol3:"fra",pct_christian:7.5,pop:300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-17.56,lng:-149.57,code:"PG018407"},{name:"Chadian",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:250,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:38.02,lng:-84.5,code:"PG047189"},{name:"Walloon",country:"Belgium",lang:"French",rol3:"fra",pct_christian:3.5,pop:3755e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:50.32,lng:4.95,code:"PG000076"},{name:"Swiss",country:"Switzerland",lang:"French",rol3:"fra",pct_christian:3.5,pop:2015e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:46.6,lng:6.93,code:"PG000585"},{name:"Tuburi",country:"Cameroon",lang:"Tupuri",rol3:"tui",pct_christian:3.5,pop:345e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:10.27,lng:14.75,code:"PG012796"},{name:"Masa",country:"Cameroon",lang:"Masana",rol3:"mcn",pct_christian:3.5,pop:345e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:10.29,lng:15.19,code:"PG012678"},{name:"Musgum",country:"Cameroon",lang:"Musgu",rol3:"mug",pct_christian:3.5,pop:239e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:10.9,lng:14.93,code:"PG012718"},{name:"Dakpa",country:"Central African Republic",lang:"Banda, West Central",rol3:"bbp",pct_christian:3.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:5.98,lng:20,code:"PG012849"},{name:"Franco-Mauritian",country:"Mauritius",lang:"French",rol3:"fra",pct_christian:3.5,pop:72500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-20.25,lng:57.51,code:"PG015346"},{name:"Romanian",country:"France",lang:"French",rol3:"fra",pct_christian:3.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:48.84,lng:2.35,code:"PG000192"},{name:"Delen",country:"Sudan",lang:"Arabic, Sudanese",rol3:"apd",pct_christian:3.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:12.06,lng:29.58,code:"PG042814"},{name:"French Caribbean",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:6300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.5,lng:-73.81,code:"PG047395"},{name:"Togolese",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:5600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:45.52,lng:-73.68,code:"PG050478"},{name:"Congolese",country:"Spain",lang:"French",rol3:"fra",pct_christian:3.5,pop:4800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:40.41,lng:-3.69,code:"PG042340"},{name:"Abenaki",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:46.07,lng:-72.82,code:"PG043348"},{name:"Ivorian",country:"United States",lang:"French",rol3:"fra",pct_christian:3.5,pop:3600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:40.74,lng:-73.72,code:"PG047266"},{name:"Guinean",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.5,lng:-73.81,code:"PG047454"},{name:"Sighu",country:"Gabon",lang:"French",rol3:"fra",pct_christian:3.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-.84,lng:12.69,code:"PG013213"},{name:"Rwandan",country:"Netherlands",lang:"French",rol3:"fra",pct_christian:3.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:51.9,lng:4.47,code:"PG000430"},{name:"Gabonese",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:1600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.58,lng:-73.7,code:"PG050505"},{name:"Maslam",country:"Cameroon",lang:"Maslam",rol3:"msv",pct_christian:3.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:12.22,lng:14.83,code:"PG012681"}]},Tajikistan:{target_upg:31,target_pop:10692e3,target_top_langs:["Tajik","Uzbek, Northern","Shughni","Language unknown"],target_top_religion:"Islam",neighbors:[{name:"Han Chinese, Mandarin",country:"Tajikistan",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:89500,bridge:"same-country",adjacency:"same-country",religion_bg:"Unaffiliated - Atheism",lat:38.57,lng:68.77,code:"PG049245"},{name:"Ukrainian",country:"Tajikistan",lang:"Ukrainian",rol3:"ukr",pct_christian:7.5,pop:12500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Orthodox",lat:38.57,lng:68.77,code:"PG024536"},{name:"Russian",country:"Moldova",lang:"Russian",rol3:"rus",pct_christian:17.5,pop:133e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.13,lng:29.34,code:"PG000867"},{name:"Korean",country:"Uzbekistan",lang:"Russian",rol3:"rus",pct_christian:12.5,pop:254e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:41.31,lng:69.26,code:"PG024684"},{name:"Armenian",country:"United Kingdom",lang:"Armenian",rol3:"hye",pct_christian:12.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000627"},{name:"Russian",country:"Australia",lang:"Russian",rol3:"rus",pct_christian:7.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.52,lng:142.46,code:"PG008063"},{name:"Russian",country:"Ukraine",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:708e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.69,lng:34.82,code:"PG042915"},{name:"Bulgarian",country:"Germany",lang:"Bulgarian",rol3:"bul",pct_christian:3.5,pop:411e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.5,lng:13.4,code:"PG042446"},{name:"Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:26e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.48,lng:12.44,code:"PG049403"},{name:"Armenian",country:"Lebanon",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:22e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:33.87,lng:35.58,code:"PG048928"},{name:"Jew",country:"Russian Federation",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:208e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:52.97,lng:74.32,code:"PG042910"},{name:"Russian",country:"Lithuania",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:155e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:55.25,lng:24.5,code:"PG000853"},{name:"Armenian",country:"Iran",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:38.14,lng:46.37,code:"PG024130"},{name:"Jew, Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:99500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:52.5,lng:13.4,code:"PG046578"},{name:"Russian",country:"United Kingdom",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:64e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000675"},{name:"Armenian",country:"Turkiye",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:41.05,lng:28.9,code:"PG024538"},{name:"Belarusian",country:"Argentina",lang:"Belarusian",rol3:"bel",pct_christian:3.5,pop:4600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-34.65,lng:-58.56,code:"PG017330"}]},Jordan:{target_upg:21,target_pop:10660500,target_top_langs:["Arabic, Levantine","Arabic, Eastern Egyptian Bedawi","Arabic, North Mesopotamian","Kabardian"],target_top_religion:"Islam",neighbors:[{name:"Arab, Egyptian",country:"Australia",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:12.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-31.94,lng:115.89,code:"PG020254"},{name:"Arab, Egyptian",country:"Germany",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:25500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:52.5,lng:13.4,code:"PG042462"},{name:"Arab, Lebanese",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024837"},{name:"Arab, Palestinian",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024839"},{name:"Arab, Egyptian",country:"Belgium",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:5300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:50.85,lng:4.38,code:"PG000053"},{name:"Egyptian Copt",country:"United States",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:3.5,pop:242e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:35.35,lng:-111.99,code:"PG047347"},{name:"Arab, Lebanese",country:"Canada",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:234e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.53,lng:-73.66,code:"PG043431"},{name:"Arab, Syrian",country:"United States",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:193e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.7,lng:-73.87,code:"PG043644"},{name:"Kurd, Northern",country:"Russian Federation",lang:"Kurdish, Northern",rol3:"kmr",pct_christian:3.5,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:44.63,lng:39.24,code:"PG024465"},{name:"Arab, Palestinian",country:"El Salvador",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:13.71,lng:-89.19,code:"PG039263"}]},Azerbaijan:{target_upg:26,target_pop:9953800,target_top_langs:["Azerbaijani, North","Talysh","Lezgi","Azerbaijani, South"],target_top_religion:"Islam",neighbors:[{name:"Ukrainian",country:"Kyrgyzstan",lang:"Ukrainian",rol3:"ukr",pct_christian:35,pop:28e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:42.88,lng:74.63,code:"PG024375"},{name:"Ukrainian",country:"Turkmenistan",lang:"Ukrainian",rol3:"ukr",pct_christian:35,pop:8400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:37.94,lng:58.39,code:"PG024648"},{name:"Romanian",country:"Czech Republic",lang:"Romanian",rol3:"ron",pct_christian:25,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:50.07,lng:14.47,code:"PG050033"},{name:"Russian",country:"Moldova",lang:"Russian",rol3:"rus",pct_christian:17.5,pop:133e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.13,lng:29.34,code:"PG000867"},{name:"Ukrainian",country:"Kazakhstan",lang:"Ukrainian",rol3:"ukr",pct_christian:12.5,pop:415e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:48.48,lng:71.3,code:"PG024330"},{name:"Korean",country:"Uzbekistan",lang:"Russian",rol3:"rus",pct_christian:12.5,pop:254e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:41.31,lng:69.26,code:"PG024684"},{name:"Moldovan",country:"United States",lang:"Romanian",rol3:"ron",pct_christian:12.5,pop:49e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:40.17,lng:-74.79,code:"PG047277"},{name:"Armenian",country:"United Kingdom",lang:"Armenian",rol3:"hye",pct_christian:12.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000627"},{name:"Romanian",country:"United States",lang:"Romanian",rol3:"ron",pct_christian:7.5,pop:173e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:36.09,lng:-110.56,code:"PG043611"},{name:"Ukrainian",country:"United Kingdom",lang:"Ukrainian",rol3:"ukr",pct_christian:7.5,pop:33e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000692"},{name:"Russian",country:"Australia",lang:"Russian",rol3:"rus",pct_christian:7.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.52,lng:142.46,code:"PG008063"},{name:"Ukrainian",country:"Tajikistan",lang:"Ukrainian",rol3:"ukr",pct_christian:7.5,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:38.57,lng:68.77,code:"PG024536"},{name:"Iranian",country:"Armenia",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:40.17,lng:44.49,code:"PG050098"},{name:"Iranian",country:"Greece",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:38.05,lng:23.7,code:"PG047071"},{name:"Romanian",country:"Romania",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:1637e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:45.84,lng:24.98,code:"PG000899"},{name:"Russian",country:"Ukraine",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:708e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.69,lng:34.82,code:"PG042915"},{name:"Romanian",country:"Italy",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:13e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:44.5,lng:9.8,code:"PG048833"},{name:"Ukrainian",country:"Russian Federation",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:112e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.59,lng:82.8,code:"PG048814"},{name:"Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:26e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.48,lng:12.44,code:"PG049403"},{name:"Ukrainian",country:"Canada",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:253e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:46.93,lng:-92.67,code:"PG043496"},{name:"Armenian",country:"Lebanon",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:22e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:33.87,lng:35.58,code:"PG048928"},{name:"Jew",country:"Russian Federation",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:208e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:52.97,lng:74.32,code:"PG042910"},{name:"Persian",country:"Canada",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:46.93,lng:-92.67,code:"PG043458"},{name:"Iranian",country:"Germany",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:175e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:52.51,lng:11.69,code:"PG000259"},{name:"Russian",country:"Lithuania",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:155e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:55.25,lng:24.5,code:"PG000853"},{name:"Ukrainian",country:"Germany",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:145e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.72,lng:11.84,code:"PG000275"},{name:"Persian",country:"Turkiye",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:13e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:41.04,lng:28.87,code:"PG024581"},{name:"Armenian",country:"Iran",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:113e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:38.14,lng:46.37,code:"PG024130"},{name:"Jew, Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:99500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:52.5,lng:13.4,code:"PG046578"},{name:"Romanian",country:"Hungary",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:96500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:46.8,lng:20.84,code:"PG000835"},{name:"Persian",country:"United Kingdom",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:86e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:51.5,lng:-.17,code:"PG000643"},{name:"Romanian ",country:"Austria",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:48.18,lng:16.35,code:"PG049963"},{name:"Russian",country:"United Kingdom",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:64e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000675"},{name:"Ukrainian",country:"Latvia",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:48500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:56.93,lng:24.12,code:"PG000850"},{name:"Ukrainian",country:"Uzbekistan",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:47e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:41.31,lng:69.26,code:"PG024323"},{name:"Armenian",country:"Turkiye",lang:"Armenian",rol3:"hye",pct_christian:3.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:41.05,lng:28.9,code:"PG024538"},{name:"Ukrainian",country:"Poland",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:45e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.5,lng:19.47,code:"PG000887"},{name:"Ukrainian",country:"Argentina",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:36500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-34.65,lng:-58.56,code:"PG017373"},{name:"Kurd, Northern",country:"Russian Federation",lang:"Kurdish, Northern",rol3:"kmr",pct_christian:3.5,pop:35e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:44.63,lng:39.24,code:"PG024465"},{name:"Ukrainian",country:"Estonia",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:33500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:59.31,lng:24.93,code:"PG050308"},{name:"Romanian",country:"Ireland",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:53.39,lng:-6.28,code:"PG048049"},{name:"Ukrainian",country:"France",lang:"Ukrainian",rol3:"ukr",pct_christian:3.5,pop:23e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:48.84,lng:2.35,code:"PG000205"},{name:"Moldovan",country:"Canada",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:49.72,lng:-95.67,code:"PG047364"},{name:"Persian",country:"Indonesia",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:-6.21,lng:106.83,code:"PG050238"},{name:"Belarusian",country:"Argentina",lang:"Belarusian",rol3:"bel",pct_christian:3.5,pop:4600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:-34.65,lng:-58.56,code:"PG017330"},{name:"Persian",country:"South Korea",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:3500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:37.55,lng:126.99,code:"PG050237"},{name:"Romanian",country:"Venezuela",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:10.48,lng:-66.88,code:"PG016490"}]},Vietnam:{target_upg:70,target_pop:9637e3,target_top_langs:["Tay","Muong","Khmer","Nung"],target_top_religion:"Ethnic Religions",neighbors:[{name:"Central Mnong",country:"Vietnam",lang:"Mnong, Central",rol3:"cmo",pct_christian:62.5,pop:36e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:12.5,lng:107.57,code:"PG011118"},{name:"Southern Mnong",country:"Vietnam",lang:"Mnong, Southern",rol3:"mnn",pct_christian:62.5,pop:33500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:11.99,lng:107.56,code:"PG011224"},{name:"Rhade",country:"Vietnam",lang:"Rade",rol3:"rad",pct_christian:45,pop:331e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:12.96,lng:108.31,code:"PG011211"},{name:"Stieng",country:"Vietnam",lang:"Stieng, Bulo",rol3:"sti",pct_christian:45,pop:85500,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:11.87,lng:107.08,code:"PG011226"},{name:"Maa",country:"Vietnam",lang:"Maa",rol3:"cma",pct_christian:45,pop:41500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:11.61,lng:107.49,code:"PG011179"},{name:"Chru",country:"Vietnam",lang:"Chru",rol3:"cje",pct_christian:45,pop:19500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:11.69,lng:108.54,code:"PG011123"},{name:"Hmong",country:"Vietnam",lang:"Hmong Daw",rol3:"mww",pct_christian:35,pop:133e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.86,lng:103.59,code:"PG011142"},{name:"Koho",country:"Vietnam",lang:"Koho",rol3:"kpm",pct_christian:35,pop:166e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Roman Catholicism",lat:11.63,lng:108.01,code:"PG011167"},{name:"Chrau",country:"Vietnam",lang:"Chrau",rol3:"crw",pct_christian:35,pop:27e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:10.91,lng:107.29,code:"PG011122"},{name:"Jarai",country:"Vietnam",lang:"Jarai",rol3:"jra",pct_christian:25,pop:411e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:13.93,lng:108.21,code:"PG011149"},{name:"Jeh",country:"Vietnam",lang:"Jeh",rol3:"jeh",pct_christian:25,pop:51e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:15.19,lng:107.91,code:"PG011150"},{name:"Eastern Mnong",country:"Vietnam",lang:"Mnong, Eastern",rol3:"mng",pct_christian:25,pop:33500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:12.31,lng:108.34,code:"PG011128"},{name:"Trieng",country:"Vietnam",lang:"Trieng",rol3:"stg",pct_christian:25,pop:19e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:15.48,lng:107.55,code:"PG011239"},{name:"Halang",country:"Vietnam",lang:"Halang",rol3:"hal",pct_christian:25,pop:16500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:14.62,lng:107.64,code:"PG011135"},{name:"O-du",country:"Vietnam",lang:"O’du",rol3:"tyh",pct_christian:17.5,pop:375,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:19.48,lng:104.58,code:"PG020927"},{name:"Northern Roglai",country:"Vietnam",lang:"Roglai, Northern",rol3:"rog",pct_christian:12.5,pop:65e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Christianity - Protestantism",lat:12.16,lng:108.85,code:"PG011190"},{name:"Brao",country:"Vietnam",lang:"Brao",rol3:"brb",pct_christian:12.5,pop:400,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:14.17,lng:107.43,code:"PG011112"},{name:"Han Chinese",country:"Vietnam",lang:"Chinese, Mandarin",rol3:"cmn",pct_christian:7.5,pop:162e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.04,lng:106.1,code:"PG033473"},{name:"Han Chinese, Cantonese",country:"Vietnam",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:784e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:21.03,lng:105.82,code:"PG046444"},{name:"Bahnar",country:"Vietnam",lang:"Bahnar",rol3:"bdq",pct_christian:7.5,pop:228e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:14.05,lng:108.45,code:"PG011108"},{name:"San Chay",country:"Vietnam",lang:"Cao Lan",rol3:"mlc",pct_christian:7.5,pop:17e4,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion",lat:21.86,lng:105.77,code:"PG011217"},{name:"Hre",country:"Vietnam",lang:"Hre",rol3:"hre",pct_christian:7.5,pop:127e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:14.7,lng:108.66,code:"PG011143"},{name:"Eastern Bru",country:"Vietnam",lang:"Bru, Eastern",rol3:"bru",pct_christian:7.5,pop:74500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:16.94,lng:106.67,code:"PG011126"},{name:"Lahu",country:"Vietnam",lang:"Lahu",rol3:"lhu",pct_christian:7.5,pop:9700,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:22.56,lng:102.66,code:"PG011172"},{name:"Gelao",country:"Vietnam",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:2100,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:23.08,lng:105.2,code:"PG011133"},{name:"Iu Mien",country:"Vietnam",lang:"Iu Mien",rol3:"ium",pct_christian:3.5,pop:433e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Polytheism",lat:22.01,lng:105.54,code:"PG011148"},{name:"Eastern Cham",country:"Vietnam",lang:"Cham, Eastern",rol3:"cjm",pct_christian:3.5,pop:88500,bridge:"same-country",adjacency:"same-country",religion_bg:"Hinduism - Folk",lat:10.94,lng:107.68,code:"PG011127"},{name:"Cua",country:"Vietnam",lang:"Cua",rol3:"cua",pct_christian:3.5,pop:34e3,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:15.15,lng:108.39,code:"PG011125"},{name:"Khao",country:"Vietnam",lang:"Khao",rol3:"xao",pct_christian:3.5,pop:18500,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:21.44,lng:103.48,code:"PG011159"},{name:"Romam",country:"Vietnam",lang:"Romam",rol3:"rmx",pct_christian:3.5,pop:700,bridge:"same-country",adjacency:"same-country",religion_bg:"Ethnoreligion - Animism",lat:14.42,lng:107.55,code:"PG011212"},{name:"Vietnamese",country:"Thailand",lang:"Vietnamese",rol3:"vie",pct_christian:25,pop:119e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:13.76,lng:100.56,code:"PG010933"},{name:"Akha",country:"Thailand",lang:"Akha",rol3:"ahk",pct_christian:17.5,pop:58e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:20.08,lng:99.66,code:"PG010820"},{name:"Sin",country:"Laos",lang:"Lao",rol3:"lao",pct_christian:12.5,pop:300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:18.06,lng:105.09,code:"PG050561"},{name:"Han Chinese, Cantonese",country:"China",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:6477e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.94,lng:111.32,code:"PG006808"},{name:"Han Chinese, Cantonese",country:"Hong Kong",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:6255e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.38,lng:114.13,code:"PG050587"},{name:"Han Chinese, Cantonese",country:"Malaysia",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:19e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:3.65,lng:101.56,code:"PG046594"},{name:"Khmu, Ou",country:"Laos",lang:"Khmu",rol3:"kjg",pct_christian:7.5,pop:817e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:19.8,lng:102.58,code:"PG020913"},{name:"Han Chinese, Cantonese",country:"Macao",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:663e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.16,lng:113.56,code:"PG050584"},{name:"Han Chinese, Cantonese",country:"Singapore",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:511e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:1.36,lng:103.82,code:"PG020725"},{name:"Han Chinese",country:"United Kingdom",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:196e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:51.5,lng:-.17,code:"PG043796"},{name:"Vietnamese",country:"Australia",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:174e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-33.38,lng:143.4,code:"PG008087"},{name:"Han Chinese, Cantonese",country:"Peru",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:117e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-12.05,lng:-77.02,code:"PG017533"},{name:"Han Chinese",country:"Panama",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:68500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:8.5,lng:-82.42,code:"PG024831"},{name:"Han Chinese",country:"Trinidad and Tobago",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:44500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:10.68,lng:-61.38,code:"PG016447"},{name:"Iu Mien",country:"United States",lang:"Iu Mien",rol3:"ium",pct_christian:7.5,pop:38500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:38.75,lng:-111.78,code:"PG043283"},{name:"Han Chinese",country:"Laos",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:36500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:17.97,lng:102.64,code:"PG009111"},{name:"Han Chinese, Cantonese",country:"Venezuela",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:3e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:10.48,lng:-66.88,code:"PG016472"},{name:"Han Chinese",country:"Mexico",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:26e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:20.65,lng:-101.28,code:"PG024949"},{name:"Han Chinese, Cantonese",country:"Dominican Republic",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:12e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:18.48,lng:-69.91,code:"PG016322"},{name:"Han Chinese, Cantonese",country:"Ecuador",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:9600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:-.18,lng:-78.49,code:"PG042924"},{name:"Han Chinese, Cantonese",country:"Belgium",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:50.85,lng:4.38,code:"PG000058"},{name:"Pako Kado",country:"Laos",lang:"Pacoh",rol3:"pac",pct_christian:7.5,pop:9200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:16.41,lng:106.8,code:"PG050547"},{name:"Han Chinese, Cantonese",country:"Mauritius",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:8400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-20.24,lng:57.49,code:"PG015361"},{name:"Han Chinese",country:"Brunei",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:4.91,lng:114.92,code:"PG033444"},{name:"Han Chinese, Cantonese",country:"Honduras",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:7700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:14.08,lng:-87.2,code:"PG024760"},{name:"Vietnamese",country:"New Zealand",lang:"Vietnamese",rol3:"vie",pct_christian:7.5,pop:4900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:-36.89,lng:174.78,code:"PG018514"},{name:"Han Chinese, Cantonese",country:"Guyana",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:3300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:6.8,lng:-58.15,code:"PG016362"},{name:"Pako Kanai",country:"Laos",lang:"Pacoh",rol3:"pac",pct_christian:7.5,pop:2e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:16.53,lng:106.84,code:"PG050548"},{name:"Khmu",country:"France",lang:"Khmu",rol3:"kjg",pct_christian:7.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:48.88,lng:2.37,code:"PG048522"},{name:"Han Chinese, Cantonese",country:"Haiti",lang:"Chinese, Yue",rol3:"yue",pct_christian:7.5,pop:550,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:18.55,lng:-72.32,code:"PG016380"},{name:"Han Chinese, Cantonese",country:"United States",lang:"Chinese, Yue",rol3:"yue",pct_christian:3.5,pop:103e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:41.02,lng:-113.16,code:"PG043259"},{name:"Han Chinese, Cantonese",country:"Canada",lang:"Chinese, Yue",rol3:"yue",pct_christian:3.5,pop:569e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:46.93,lng:-92.67,code:"PG047426"},{name:"Akha",country:"Myanmar",lang:"Akha",rol3:"ahk",pct_christian:3.5,pop:23e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:21.71,lng:99.8,code:"PG009402"},{name:"Kinh",country:"Laos",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:138e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:17.97,lng:102.64,code:"PG020963"},{name:"Vietnamese Migrant Workers",country:"Malaysia",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:85e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Confucianism",lat:5.35,lng:100.41,code:"PG046599"},{name:"Mien",country:"Thailand",lang:"Iu Mien",rol3:"ium",pct_christian:3.5,pop:46500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:19.13,lng:100.45,code:"PG010890"},{name:"Ta Oi",country:"Laos",lang:"Ta’oih, Upper",rol3:"tth",pct_christian:3.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:16.08,lng:106.7,code:"PG020964"},{name:"Han Chinese",country:"Reunion",lang:"Chinese, Yue",rol3:"yue",pct_christian:3.5,pop:31500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-20.92,lng:55.51,code:"PG015468"},{name:"Neisu",country:"China",lang:"Akha",rol3:"ahk",pct_christian:3.5,pop:28e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.17,lng:100.64,code:"PG007334"},{name:"Lao",country:"Myanmar",lang:"Lao",rol3:"lao",pct_christian:3.5,pop:26e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Theravada",lat:16.85,lng:96.15,code:"PG009467"},{name:"Black Tai",country:"Thailand",lang:"Tai Dam",rol3:"blt",pct_christian:3.5,pop:25e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:19.92,lng:99.84,code:"PG010830"},{name:"Khmu",country:"United States",lang:"Khmu",rol3:"kjg",pct_christian:3.5,pop:9300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:32.77,lng:-117.08,code:"PG043302"},{name:"Macanese",country:"Macao",lang:"Chinese, Yue",rol3:"yue",pct_christian:3.5,pop:8900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:22.16,lng:113.56,code:"PG050585"},{name:"Vietnamese",country:"Netherlands",lang:"Vietnamese",rol3:"vie",pct_christian:3.5,pop:8800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Buddhism - Mahayana",lat:52.47,lng:5.36,code:"PG000445"},{name:"Ta-Oy Yin",country:"Laos",lang:"Ta’oih, Upper",rol3:"tth",pct_christian:3.5,pop:8500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:15.72,lng:106.48,code:"PG050569"},{name:"Meng",country:"China",lang:"Hani",rol3:"hni",pct_christian:3.5,pop:5300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:22.89,lng:101.81,code:"PG007280"},{name:"Iu Mien",country:"France",lang:"Iu Mien",rol3:"ium",pct_christian:3.5,pop:2300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:43.61,lng:1.41,code:"PG000166"},{name:"Han Chinese, Cantonese",country:"Zimbabwe",lang:"Chinese, Yue",rol3:"yue",pct_christian:3.5,pop:1600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-17.83,lng:31.03,code:"PG015656"},{name:"Han Chinese",country:"Curacao",lang:"Chinese, Yue",rol3:"yue",pct_christian:3.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:12.19,lng:-68.97,code:"PG016401"},{name:"Sadang Duan",country:"Laos",lang:"Sedang",rol3:"sed",pct_christian:3.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:14.73,lng:107.51,code:"PG050560"},{name:"Ta-Oy Haang",country:"Laos",lang:"Ta’oih, Upper",rol3:"tth",pct_christian:3.5,pop:300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:15.93,lng:106.55,code:"PG050565"}]},Israel:{target_upg:42,target_pop:9176590,target_top_langs:["Hebrew","Arabic, Levantine","Russian","Yiddish, Eastern"],target_top_religion:"Ethnic Religions",neighbors:[{name:"Syrian Christian",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:62.5,pop:4495e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:12.35,lng:76.09,code:"PG041308"},{name:"Pulayan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:45,pop:154e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:10.06,lng:76.53,code:"PG041344"},{name:"Malai Arayan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:35,pop:48e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:9.65,lng:76.66,code:"PG041952"},{name:"Bakole",country:"Cameroon",lang:"French",rol3:"fra",pct_christian:35,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:4.43,lng:8.97,code:"PG012493"},{name:"Tupari",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:35,pop:175,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-12.09,lng:-63.32,code:"PG017148"},{name:"Paravar",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:25,pop:162e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:8.62,lng:77,code:"PG041743"},{name:"Koh",country:"India",lang:"Marathi",rol3:"mar",pct_christian:25,pop:96500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.29,lng:76.9,code:"PG041285"},{name:"Mozambican",country:"Portugal",lang:"Portuguese",rol3:"por",pct_christian:25,pop:40500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:38.77,lng:-9.25,code:"PG000493"},{name:"Amhara",country:"Canada",lang:"Amharic",rol3:"amh",pct_christian:25,pop:14e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG047403"},{name:"Romanian",country:"Czech Republic",lang:"Romanian",rol3:"ron",pct_christian:25,pop:12500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:50.07,lng:14.47,code:"PG050033"},{name:"Kerala Mudali",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:25,pop:11e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:9.44,lng:78.7,code:"PG049672"},{name:"PoaPoa",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:25,pop:50,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-20.87,lng:164.66,code:"PG018370"},{name:"Russian",country:"Moldova",lang:"Russian",rol3:"rus",pct_christian:17.5,pop:133e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.13,lng:29.34,code:"PG000867"},{name:"Brazilian",country:"French Guiana",lang:"Portuguese",rol3:"por",pct_christian:17.5,pop:16500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:4.92,lng:-52.3,code:"PG016329"},{name:"Machineri",country:"Bolivia",lang:"Portuguese",rol3:"por",pct_christian:17.5,pop:35,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-10.96,lng:-69.48,code:"PG046933"},{name:"Mang",country:"India",lang:"Marathi",rol3:"mar",pct_christian:12.5,pop:304e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:20.38,lng:76.05,code:"PG041315"},{name:"Brazilian",country:"Paraguay",lang:"Portuguese",rol3:"por",pct_christian:12.5,pop:461e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:-25.3,lng:-57.56,code:"PG046804"},{name:"Korean",country:"Uzbekistan",lang:"Russian",rol3:"rus",pct_christian:12.5,pop:254e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Atheism",lat:41.31,lng:69.26,code:"PG024684"},{name:"Mannan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:12.5,pop:145e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.8,lng:76.55,code:"PG041756"},{name:"Arab, Egyptian",country:"Australia",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:12.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:-31.94,lng:115.89,code:"PG020254"},{name:"Pole",country:"Kazakhstan",lang:"Polish",rol3:"pol",pct_christian:12.5,pop:62e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:43.29,lng:76.91,code:"PG024292"},{name:"Euronesian",country:"French Polynesia",lang:"French",rol3:"fra",pct_christian:12.5,pop:58500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-17.56,lng:-149.57,code:"PG018408"},{name:"Moldovan",country:"United States",lang:"Romanian",rol3:"ron",pct_christian:12.5,pop:49e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:40.17,lng:-74.79,code:"PG047277"},{name:"Euronesian",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:12.5,pop:14500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-22.27,lng:166.45,code:"PG018406"},{name:"Sao Tomean",country:"Portugal",lang:"Portuguese",rol3:"por",pct_christian:12.5,pop:8500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:38.65,lng:-9.1,code:"PG000499"},{name:"Malayali",country:"Maldives",lang:"Malayalam",rol3:"mal",pct_christian:12.5,pop:950,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:4.17,lng:73.51,code:"PG006163"},{name:"Brazilian",country:"Austria",lang:"Portuguese",rol3:"por",pct_christian:12.5,pop:850,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:48.18,lng:16.35,code:"PG000009"},{name:"Aeke",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:12.5,pop:350,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-21.07,lng:164.88,code:"PG009564"},{name:"Kanoe",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:12.5,pop:325,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-11.73,lng:-62.68,code:"PG016942"},{name:"Brazilian",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:20624e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:-12.63,lng:-48.09,code:"PG016600"},{name:"Cheruman",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:467e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.61,lng:76.25,code:"PG041452"},{name:"Brazilian",country:"United States",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:32e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:34.44,lng:-97.31,code:"PG046522"},{name:"Brazilian",country:"United Kingdom",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:275e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:51.5,lng:-.17,code:"PG048432"},{name:"Malayali",country:"Malaysia",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:206e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:3.07,lng:101.64,code:"PG020224"},{name:"Brazilian",country:"Portugal",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:182e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:40.04,lng:-8.79,code:"PG000471"},{name:"Romanian",country:"United States",lang:"Romanian",rol3:"ron",pct_christian:7.5,pop:173e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:36.09,lng:-110.56,code:"PG043611"},{name:"Malayali",country:"United States",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:165e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:40.72,lng:-73.97,code:"PG043340"},{name:"French",country:"New Caledonia",lang:"French",rol3:"fra",pct_christian:7.5,pop:93500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-21.33,lng:165.49,code:"PG018389"},{name:"Angolan",country:"Portugal",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:80500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:39,lng:-9.17,code:"PG000467"},{name:"Brazilian",country:"Italy",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:46500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:45.54,lng:9.19,code:"PG048554"},{name:"Mang Garodi",country:"India",lang:"Marathi",rol3:"mar",pct_christian:7.5,pop:42e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:18.57,lng:74.08,code:"PG041892"},{name:"Assyrian",country:"Australia",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:7.5,pop:4e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.85,lng:151.03,code:"PG007833"},{name:"Hasidim",country:"United Kingdom",lang:"Hebrew",rol3:"heb",pct_christian:7.5,pop:32500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:51.5,lng:-.17,code:"PG000648"},{name:"Uraly",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:29500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:12.85,lng:75.26,code:"PG041815"},{name:"Russian",country:"Australia",lang:"Russian",rol3:"rus",pct_christian:7.5,pop:28500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:-33.52,lng:142.46,code:"PG008063"},{name:"Brazilian",country:"Canada",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:28e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:43.83,lng:-79.46,code:"PG047367"},{name:"Arab, Egyptian",country:"Germany",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:25500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:52.5,lng:13.4,code:"PG042462"},{name:"Brazilian",country:"Switzerland",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:21500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:47.43,lng:8.44,code:"PG048542"},{name:"Malai Vedan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:7.5,pop:18500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:9.91,lng:77.99,code:"PG042150"},{name:"Portuguese",country:"Argentina",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:18e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-34.65,lng:-58.56,code:"PG017360"},{name:"Brazilian",country:"Belgium",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:17e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:50.85,lng:4.38,code:"PG047834"},{name:"Sake",country:"Gabon",lang:"French",rol3:"fra",pct_christian:7.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:.07,lng:11.63,code:"PG013210"},{name:"Burundi",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.58,lng:-73.7,code:"PG050494"},{name:"Brazilian",country:"Guyana",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:10500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:6.49,lng:-58.12,code:"PG016369"},{name:"Burundi",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:37.74,lng:-92.31,code:"PG047181"},{name:"Kokama",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:9600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-3.43,lng:-64.82,code:"PG016815"},{name:"Arab, Lebanese",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024837"},{name:"Arab, Palestinian",country:"Panama",lang:"Arabic, Levantine",rol3:"apc",pct_christian:7.5,pop:9500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:9.34,lng:-79.87,code:"PG024839"},{name:"Iranian",country:"Armenia",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:7900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:40.17,lng:44.49,code:"PG050098"},{name:"Brazilian",country:"Jamaica",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:6e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Folk Catholicism",lat:18.05,lng:-76.95,code:"PG016388"},{name:"Arab, Egyptian",country:"Belgium",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:7.5,pop:5300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:50.85,lng:4.38,code:"PG000053"},{name:"Pole",country:"Uzbekistan",lang:"Polish",rol3:"pol",pct_christian:7.5,pop:3700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:41.31,lng:69.26,code:"PG024310"},{name:"Tremembe",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:3e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-3.09,lng:-40.02,code:"PG017135"},{name:"Iranian",country:"Greece",lang:"Persian, Iranian",rol3:"pes",pct_christian:7.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:38.05,lng:23.7,code:"PG047071"},{name:"Kande",country:"Gabon",lang:"French",rol3:"fra",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-.09,lng:11.75,code:"PG013189"},{name:"Chadian",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.58,lng:-73.7,code:"PG050504"},{name:"New Caledonian",country:"Canada",lang:"French",rol3:"fra",pct_christian:7.5,pop:1100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:49.22,lng:-122.99,code:"PG047444"},{name:"Rikbaktsa",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:950,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-11.27,lng:-58.27,code:"PG017085"},{name:"Kambeba",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:850,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-3.17,lng:-64.85,code:"PG016936"},{name:"Miranha",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:850,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-2.86,lng:-64.74,code:"PG017022"},{name:"Gabonese",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:38.9,lng:-77.19,code:"PG047191"},{name:"Makurap",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:475,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-12.56,lng:-62.57,code:"PG017001"},{name:"Chinese-Tahitian Creole",country:"French Polynesia",lang:"French",rol3:"fra",pct_christian:7.5,pop:300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Chinese Folk Religion",lat:-17.56,lng:-149.57,code:"PG018407"},{name:"Chadian",country:"United States",lang:"French",rol3:"fra",pct_christian:7.5,pop:250,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:38.02,lng:-84.5,code:"PG047189"},{name:"Kariri",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:7.5,pop:125,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-7.27,lng:-39.77,code:"PG016956"},{name:"Romanian",country:"Romania",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:1637e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:45.84,lng:24.98,code:"PG000899"},{name:"Variyar",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:3.5,pop:1417e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:12.13,lng:78.55,code:"PG042083"},{name:"Izhattu Pillaimar",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:3.5,pop:852e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:10.6,lng:77.56,code:"PG041254"},{name:"Russian",country:"Ukraine",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:708e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:47.69,lng:34.82,code:"PG042915"},{name:"Walloon",country:"Belgium",lang:"French",rol3:"fra",pct_christian:3.5,pop:3755e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:50.32,lng:4.95,code:"PG000076"},{name:"Swiss",country:"Switzerland",lang:"French",rol3:"fra",pct_christian:3.5,pop:2015e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:46.6,lng:6.93,code:"PG000585"},{name:"Kokna",country:"India",lang:"Marathi",rol3:"mar",pct_christian:3.5,pop:136e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:20.59,lng:73.8,code:"PG041403"},{name:"Romanian",country:"Italy",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:13e5,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:44.5,lng:9.8,code:"PG048833"},{name:"Portuguese",country:"France",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:984e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:47.39,lng:2.44,code:"PG000186"},{name:"Portuguese",country:"United States",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:861e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:39.45,lng:-96.6,code:"PG046462"},{name:"Portuguese",country:"Canada",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:307e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:46.93,lng:-92.67,code:"PG043365"},{name:"Thandan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:3.5,pop:285e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:9.05,lng:76.86,code:"PG041497"},{name:"Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:26e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:52.48,lng:12.44,code:"PG049403"},{name:"Portuguese",country:"Venezuela",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:242e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:10.47,lng:-69.1,code:"PG016488"},{name:"Egyptian Copt",country:"United States",lang:"Arabic, Egyptian",rol3:"arz",pct_christian:3.5,pop:242e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:35.35,lng:-111.99,code:"PG047347"},{name:"Arab, Lebanese",country:"Canada",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:234e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.53,lng:-73.66,code:"PG043431"},{name:"Jew",country:"Russian Federation",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:208e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated - Agnosticism",lat:52.97,lng:74.32,code:"PG042910"},{name:"Persian",country:"Canada",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:201e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:46.93,lng:-92.67,code:"PG043458"},{name:"Arab, Syrian",country:"United States",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:193e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:40.7,lng:-73.87,code:"PG043644"},{name:"Iranian",country:"Germany",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:175e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:52.51,lng:11.69,code:"PG000259"},{name:"Russian",country:"Lithuania",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:155e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:55.25,lng:24.5,code:"PG000853"},{name:"Persian",country:"Turkiye",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:13e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:41.04,lng:28.87,code:"PG024581"},{name:"Jew, Russian",country:"Germany",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:99500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Judaism",lat:52.5,lng:13.4,code:"PG046578"},{name:"Romanian",country:"Hungary",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:96500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:46.8,lng:20.84,code:"PG000835"},{name:"Persian",country:"United Kingdom",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:86e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:51.5,lng:-.17,code:"PG000643"},{name:"Romanian ",country:"Austria",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:84500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:48.18,lng:16.35,code:"PG049963"},{name:"Franco-Mauritian",country:"Mauritius",lang:"French",rol3:"fra",pct_christian:3.5,pop:72500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:-20.25,lng:57.51,code:"PG015346"},{name:"Assyrian",country:"Germany",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:7e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:50.03,lng:8.25,code:"PG000214"},{name:"Assyrian",country:"United States",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:7e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:37.75,lng:-122.21,code:"PG043528"},{name:"Hungarian",country:"Austria",lang:"Hungarian",rol3:"hun",pct_christian:3.5,pop:64500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:47.59,lng:16.37,code:"PG000021"},{name:"Russian",country:"United Kingdom",lang:"Russian",rol3:"rus",pct_christian:3.5,pop:64e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:51.5,lng:-.17,code:"PG000675"},{name:"Kurichian",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:3.5,pop:52500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism - Folk",lat:11.72,lng:76.1,code:"PG041910"},{name:"Hungarian",country:"Canada",lang:"Hungarian",rol3:"hun",pct_christian:3.5,pop:42e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Unaffiliated",lat:43.83,lng:-79.46,code:"PG043408"},{name:"Sillekyatha",country:"India",lang:"Marathi",rol3:"mar",pct_christian:3.5,pop:34500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:15.11,lng:76.53,code:"PG042138"},{name:"Romanian",country:"Ireland",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:32e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:53.39,lng:-6.28,code:"PG048049"},{name:"Bissau-Guineans",country:"Portugal",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:16500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:39,lng:-9.17,code:"PG000482"},{name:"Moldovan",country:"Canada",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:16e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:49.72,lng:-95.67,code:"PG047364"},{name:"Romanian",country:"France",lang:"French",rol3:"fra",pct_christian:3.5,pop:13e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:48.84,lng:2.35,code:"PG000192"},{name:"Assyrian",country:"Canada",lang:"Assyrian Neo-Aramaic",rol3:"aii",pct_christian:3.5,pop:11500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Orthodox",lat:43.83,lng:-79.46,code:"PG043355"},{name:"Portuguese",country:"Macao",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:1e4,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:22.16,lng:113.56,code:"PG050586"},{name:"Persian",country:"Indonesia",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:8e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:-6.21,lng:106.83,code:"PG050238"},{name:"Kummara , Kusuvan",country:"India",lang:"Malayalam",rol3:"mal",pct_christian:3.5,pop:7e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Hinduism",lat:12.31,lng:75.54,code:"PG048341"},{name:"French Caribbean",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:6300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.5,lng:-73.81,code:"PG047395"},{name:"Togolese",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:5600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:45.52,lng:-73.68,code:"PG050478"},{name:"Congolese",country:"Spain",lang:"French",rol3:"fra",pct_christian:3.5,pop:4800,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:40.41,lng:-3.69,code:"PG042340"},{name:"Abenaki",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:3900,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:46.07,lng:-72.82,code:"PG043348"},{name:"Ivorian",country:"United States",lang:"French",rol3:"fra",pct_christian:3.5,pop:3600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:40.74,lng:-73.72,code:"PG047266"},{name:"Persian",country:"South Korea",lang:"Persian, Iranian",rol3:"pes",pct_christian:3.5,pop:3500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Shia",lat:37.55,lng:126.99,code:"PG050237"},{name:"Guinean",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:2400,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:45.5,lng:-73.81,code:"PG047454"},{name:"Sighu",country:"Gabon",lang:"French",rol3:"fra",pct_christian:3.5,pop:2100,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Protestantism",lat:-.84,lng:12.69,code:"PG013213"},{name:"Rwandan",country:"Netherlands",lang:"French",rol3:"fra",pct_christian:3.5,pop:1700,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:51.9,lng:4.47,code:"PG000430"},{name:"Gabonese",country:"Canada",lang:"French",rol3:"fra",pct_christian:3.5,pop:1600,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:45.58,lng:-73.7,code:"PG050505"},{name:"Romanian",country:"Venezuela",lang:"Romanian",rol3:"ron",pct_christian:3.5,pop:1500,bridge:"same-language",adjacency:"shared-language",religion_bg:"Christianity - Roman Catholicism",lat:10.48,lng:-66.88,code:"PG016490"},{name:"Arab, Palestinian",country:"El Salvador",lang:"Arabic, Levantine",rol3:"apc",pct_christian:3.5,pop:1300,bridge:"same-language",adjacency:"shared-language",religion_bg:"Islam - Sunni",lat:13.71,lng:-89.19,code:"PG039263"},{name:"Chiquitano",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:1e3,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:-16.15,lng:-59.48,code:"PG050662"},{name:"Poyanawa",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:550,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-7.55,lng:-73.09,code:"PG017081"},{name:"Jabuti",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:200,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion",lat:-12.08,lng:-64.7,code:"PG016889"},{name:"Yuruti",country:"Brazil",lang:"Portuguese",rol3:"por",pct_christian:3.5,pop:40,bridge:"same-language",adjacency:"shared-language",religion_bg:"Ethnoreligion - Animism",lat:.61,lng:-69.19,code:"PG017210"}]}}},fg={"a-ou":"Guizhou Province",accukattavandlu:"Andhra Pradesh",adi:"Tibet Autonomous Region",adiyan:"Karnātaka",agaria:"Gujarāt",agasa:"Karnātaka",agri:"Gujarāt",aguru:"Andhra Pradesh",ahmadiya:"Uttar Pradesh","ai-cham":"Guizhou Province","ainu-china":"Xinjiang Uyghur Autonomous Region",aiton:"Assam",aiyarakulu:"Andhra Pradesh",akeu:"Yunnan Province",alavan:"Tamil Nādu",aling:"Yunnan Province",allar:"Kerala",alu:"Yunnan Province","alxa-mongols":"Inner Mongolia Autonomous Region",ambalavasi:"Kerala",andamanese:"Andaman and Nicobar Islands","andhra-vaisnawa":"Andhra Pradesh",angarok:"West Bengal",angku:"Yunnan Province",ani:"Yunnan Province",anjana:"Madhya Pradesh","anjana-patel-gujarati":"Gujarāt","ansari-momin-bengali":"West Bengal","ansari-momin-kannada":"Karnātaka","ansari-momin-tamil":"Tamil Nādu","ansari-momin-telugu":"Andhra Pradesh","anthur-nair":"Kerala",anuppan:"Tamil Nādu",anwal:"Uttarākhand",aoka:"Hunan Province",apu:"Yunnan Province","arain-dogri":"Jammu and Kashmīr","arain-kannauji":"Uttar Pradesh","arain-punjabi":"Haryāna",arakala:"Andhra Pradesh",aranadan:"Tamil Nādu",arasu:"Karnātaka",arayavati:"Kerala","are-bondili":"Andhra Pradesh","are-kapu":"Telangāna","are-katika":"Andhra Pradesh",atollu:"Andhra Pradesh",attagara:"Telangāna","attar-saibulu":"Mahārāshtra",ayri:"Karnātaka",ayyanavar:"Kerala","badhai-chhattisgarhi":"Chhattīsgarh",badhik:"Uttar Pradesh",badi:"Uttar Pradesh","badi-marwari":"Rājasthān",bafan:"Gujarāt",bagga:"Karnātaka",bagti:"West Bengal","baha-i":"Odisha",baharupi:"Mahārāshtra",baida:"West Bengal",baig:"Tamil Nādu",baira:"Karnātaka","bairagi-chhattisgarhi":"Chhattīsgarh","bairagi-gujarati":"Gujarāt","bairagi-odia":"Odisha",baisya:"West Bengal",bajandar:"Tripura",bakuda:"Kerala",balahar:"Uttar Pradesh",balasantoshi:"Karnātaka",baloch:"Gujarāt",bamcha:"Gujarāt",banai:"Meghālaya",banchada:"Madhya Pradesh",bandi:"Karnātaka",bandollu:"Andhra Pradesh",bangti:"Odisha","bania-agarwal-telegu":"Andhra Pradesh","bania-dogri":"Jammu and Kashmīr","bania-kannada":"Karnātaka","bania-kashmiri":"Ladākh","bania-konkani":"Goa","bania-malayalam":"Kerala","banik-bania":"Tripura",banjania:"Gujarāt",banka:"Odisha",banpar:"Bihār",baonuo:"Guangxi Zhuang Autonomous Region",baraua:"Madhya Pradesh",barda:"Mahārāshtra",baret:"Rājasthān",bargah:"Chhattīsgarh",bargala:"Uttar Pradesh",bargi:"Rājasthān",bargujar:"Uttar Pradesh","bari-hindi":"Madhya Pradesh","bari-marathi":"Mahārāshtra","bari-odia":"Odisha",barot:"Gujarāt",barthari:"Gujarāt",barua:"Tripura",basudeva:"Madhya Pradesh",batada:"Karnātaka",bauti:"Odisha",bavuri:"Odisha","bayil-kammara":"Karnātaka","bayil-pattar":"Karnātaka","bayita-kammara":"Andhra Pradesh",beidongnuo:"Guizhou Province","beldar-chhattisgarhi":"Chhattīsgarh",bellara:"Karnātaka",berad:"Andhra Pradesh",berar:"Madhya Pradesh",bestha:"Karnātaka",bhakta:"West Bengal",bhalla:"West Bengal","bhand-kashmiri":"Jammu and Kashmīr","bhangi-chhattisgarhi":"Chhattīsgarh",bhanumati:"Madhya Pradesh",bharewa:"Chhattīsgarh","bharia-bhumia-chhattisgarhi":"Chhattīsgarh",bharwad:"Mahārāshtra",bhatrajulu:"Telangāna","bhattra-bhatri":"Chhattīsgarh","bhatu-andamani":"Andaman and Nicobar Islands",bhodala:"Gujarāt","bhoi-marathi":"Mahārāshtra","bhoi-odia":"Odisha",bhojki:"Himāchal Pradesh",bhondari:"Andhra Pradesh",bhopa:"Rājasthān",bhuiyar:"Uttar Pradesh",bhujel:"West Bengal",bhunjia:"Chhattīsgarh",bhurtia:"Madhya Pradesh",bhutta:"Rājasthān",bilaspuri:"Assam",bindla:"Telangāna",bisati:"Uttar Pradesh","bit-china":"Yunnan Province","black-thai":"Yunnan Province","bogar-lhoba":"Tibet Autonomous Region",bogol:"Inner Mongolia Autonomous Region",bolla:"Telangāna",bomba:"Jammu and Kashmīr",bondili:"Tamil Nādu",bondo:"Odisha",borpi:"Gujarāt","bowis-mogeyar":"Kerala","boyu-tibetans":"Gansu Province","brahman-jyoti":"Odisha","brahmin-andamani":"Andaman and Nicobar Islands",brukpa:"Ladākh",budakukkala:"Andhra Pradesh",budhan:"Jammu and Kashmīr",bugan:"Yunnan Province",bunan:"Tibet Autonomous Region",buryat:"Inner Mongolia Autonomous Region","butuo-nosu":"Sichuan Province",buyang:"Yunnan Province",byadh:"West Bengal",cai:"Guizhou Province",caki:"Gujarāt",cakkala:"Kerala",cakketakare:"Andhra Pradesh","cakkyar-nambiyar":"Kerala",camadollu:"Andhra Pradesh",camma:"Bihār",campa:"Ladākh","candhai-maru":"Odisha",cejara:"Rājasthān",cekkala:"Tamil Nādu",chadwa:"Rājasthān",chaikwa:"Chhattīsgarh",chakkiyar:"Kerala","chamar-assamese":"Assam","chamar-muchi-malayalam":"Kerala","chamar-muchi-tamil":"Tamil Nādu",champta:"Gujarāt",changpao:"Guizhou Province",chaptegar:"Karnātaka",chari:"Mahārāshtra",charodi:"Karnātaka",charwaha:"Uttar Pradesh",chatarkheya:"Odisha",chaudangsi:"Uttarākhand",chayakkaran:"Tamil Nādu",cheintz:"Jammu and Kashmīr","chengazhi-nambiar":"Kerala","chenna-dasar":"Karnātaka",cherua:"Odisha",chesu:"Yunnan Province",chheepi:"Rājasthān",chitari:"Mahārāshtra",chobdar:"Rājasthān",chopan:"Jammu and Kashmīr",chunari:"West Bengal",chungar:"Rājasthān",cingatanmar:"Kerala",cippollu:"Telangāna",citrakar:"Odisha",citrakathi:"Mahārāshtra","cona-monba":"Tibet Autonomous Region","coorgi-andamanese":"Andaman and Nicobar Islands",cudigar:"Rājasthān",cunara:"Gujarāt",cundollu:"Andhra Pradesh",dadupanthi:"Rājasthān",dafer:"Gujarāt",daitapati:"Odisha","dalu-india":"Meghālaya",damami:"Rājasthān",damla:"Odisha",dammali:"Andhra Pradesh",dangasiya:"Gujarāt",daoli:"Punjab","darang-deng":"Tibet Autonomous Region","darji-odia":"Odisha","dasa-palanjika":"Tamil Nādu",dasari:"Andhra Pradesh","dasnami-bawa":"Gujarāt",daule:"Himāchal Pradesh",dayare:"Tamil Nādu",depala:"Gujarāt","dhakad-halbi":"Chhattīsgarh",dhaki:"Himāchal Pradesh","dhal-kstriya":"West Bengal",dhamin:"Bihār",dhawad:"Mahārāshtra",dhed:"Madhya Pradesh",dheevara:"Kerala",dhekaro:"Jhārkhand",dhera:"Odisha",dhimal:"West Bengal","dhobi-dogri":"Jammu and Kashmīr","dhobi-tamil":"Tamil Nādu",dhola:"Rājasthān",dhyar:"Jammu and Kashmīr",dianbao:"Yunnan Province",diao:"Guizhou Province",didayi:"Odisha",dokhpa:"Ladākh","dom-chhattisgarhi":"Chhattīsgarh","dom-marathi":"Mahārāshtra",domal:"Jammu and Kashmīr","dombi-dasa":"Karnātaka",dosali:"Himāchal Pradesh",doupo:"Yunnan Province",dudhwala:"Gujarāt","durga-murga":"Karnātaka","eastern-samadu":"Yunnan Province","eastern-xiangxi-miao":"Hunan Province","eneti-dora":"Odisha","enger-yugur":"Gansu Province",erawallan:"Kerala",ersu:"Sichuan Province",ezhavathi:"Kerala","ga-mong":"Guizhou Province",gabit:"Goa",gachha:"Madhya Pradesh",gadhai:"Gujarāt",gadhia:"Uttar Pradesh",gadihar:"Bihār",gagra:"Punjab","galada-kokani":"Karnātaka",galiara:"Gujarāt",galwan:"Jammu and Kashmīr",gandalla:"Andhra Pradesh",gandharv:"Bihār",gandla:"Andhra Pradesh",gangawar:"Tamil Nādu",gangireddula:"Telangāna","ganta-sayebulu":"Andhra Pradesh","ganti-chores":"Karnātaka",ganz:"Jammu and Kashmīr",gao:"Guizhou Province",garadi:"Andhra Pradesh",gardi:"Jammu and Kashmīr",garmatan:"Gujarāt",garodi:"Mahārāshtra",garpagari:"Mahārāshtra",garvi:"Gujarāt",gatti:"Karnātaka",gauli:"Karnātaka",gavara:"Andhra Pradesh",gavli:"Gujarāt",gelao:"Guizhou Province","geman-deng":"Tibet Autonomous Region",ghadi:"Karnātaka",ghadwa:"Chhattīsgarh",ghantarghada:"Odisha",ghantiya:"Gujarāt",ghazi:"West Bengal",ghihara:"Rājasthān",ghogia:"Odisha",ghusuria:"Odisha",godagali:"Andhra Pradesh",godari:"Andhra Pradesh",godda:"Karnātaka",godra:"Odisha",golarana:"Gujarāt","gomantak-maratha":"Goa","gond-kannada":"Karnātaka",gondhali:"Mahārāshtra",gopal:"Mahārāshtra",gorkun:"Jammu and Kashmīr","gosain-chhattisgarhi":"Chhattīsgarh","gosain-gujarati":"Gujarāt","gosain-kangri":"Himāchal Pradesh","gosain-rajasthani":"Rājasthān",gosangi:"Telangāna","great-andamanese":"Andaman and Nicobar Islands",guaigun:"Yunnan Province","guddi-eluguwallu":"Andhra Pradesh",gudikara:"Karnātaka",gudugudupandi:"Tamil Nādu",guna:"Odisha",guraw:"Karnātaka",gurika:"Telangāna",gurru:"Rājasthān",gurukkal:"Tamil Nādu","ha-li":"Hainan Province",habura:"Uttar Pradesh",hadi:"Himāchal Pradesh",hagei:"Guizhou Province","hajjam-assamese":"Assam","hajjam-bengali":"West Bengal","hajjam-gujarati":"Gujarāt","hajjam-haryanvi":"Haryāna","hajjam-hindi":"Madhya Pradesh","hajjam-kannada":"Karnātaka","hajjam-kashmiri":"Jammu and Kashmīr","hajjam-telugu":"Andhra Pradesh",halaypotra:"Gujarāt",halleer:"Karnātaka",haluadas:"Tripura",hardas:"Mahārāshtra",harkantra:"Karnātaka",hasalaru:"Karnātaka",hatgar:"Andhra Pradesh",hatkar:"Mahārāshtra",heishui:"Sichuan Province",helawa:"Karnātaka","henan-mongols":"Qinghai Province",hesi:"Himāchal Pradesh",hijra:"Uttar Pradesh","hindu-santarash":"Bihār",hingora:"Gujarāt",hingorza:"Gujarāt",hiranbaj:"Rājasthān","holeya-dasari":"Karnātaka","hongjin-tai":"Yunnan Province",hu:"Yunnan Province","huishui-miao":"Guizhou Province",ilayatu:"Kerala","indo-french":"Puducherry","indo-vietnamese":"Puducherry",irika:"Odisha",jadam:"Madhya Pradesh",jadupetia:"Jhārkhand","jains-bengali":"West Bengal","jains-hindi":"Madhya Pradesh","jains-maithili":"Bihār","jains-tamil":"Tamil Nādu","jains-telugu":"Telangāna",jakkula:"Andhra Pradesh",jandra:"Andhra Pradesh",janughanta:"Odisha",jarawas:"Andaman and Nicobar Islands","jarkhandi-hajjam":"Jhārkhand","jarkhandi-julaha":"Jhārkhand","jat-muslim":"Gujarāt","jati-pillai":"Tamil Nādu",jatigar:"Karnātaka",jaweri:"Karnātaka",jethi:"Andhra Pradesh",jhadi:"Mahārāshtra","jharkhandi-nai":"Jhārkhand","jiamao-li":"Hainan Province",jiasou:"Yunnan Province",jimdar:"Uttarākhand",jino:"Yunnan Province","jogi-angika":"Bihār","jogi-halbi":"Chhattīsgarh","jogi-odia":"Odisha","jogi-telugu":"Karnātaka","jogi-tulu":"Karnātaka",juneja:"Gujarāt","kachchi-alia":"Odisha","kachchi-kushwaha":"Mahārāshtra","kachera-bagheli":"Madhya Pradesh",kachi:"Telangāna",kadar:"Bihār",kaghzi:"Mahārāshtra","kahar-gujarati":"Gujarāt",kaikali:"Andhra Pradesh",kakkalan:"Kerala",kakmara:"West Bengal","kalal-sadri":"Chhattīsgarh",kalanadies:"Kerala",kalladi:"Kerala","kallattu-kurup":"Kerala",kamalia:"Gujarāt",kambalattan:"Tamil Nādu",kambar:"Tamil Nādu","kambodia-bhagat":"Gujarāt",kamila:"Odisha",kanda:"Tripura",kandera:"Madhya Pradesh",kankali:"Uttar Pradesh","kannada-naicker":"Tamil Nādu","kannada-saineegar":"Tamil Nādu",kapadi:"Gujarāt",kapasiya:"Odisha",kapewar:"Mahārāshtra",kapuria:"West Bengal",karaiyar:"Tamil Nādu",karimpalan:"Kerala",karlar:"Tamil Nādu","karna-sale":"Tamil Nādu",karnam:"Andhra Pradesh",karnibhakthulu:"Andhra Pradesh","kasar-bengali":"West Bengal","kasar-gujarati":"Gujarāt","kasar-hindi":"Madhya Pradesh","kasar-odia":"Odisha",kasbati:"Gujarāt",kasikapadi:"Mahārāshtra",katesar:"Tamil Nādu",kathar:"Mahārāshtra",kathi:"Gujarāt",katipamula:"Telangāna",kattiakaran:"Tamil Nādu",kavara:"Kerala",kavuthiyan:"Kerala",kawoj:"Jammu and Kashmīr",kayalar:"Tamil Nādu",keji:"Tibet Autonomous Region",kepmari:"Tamil Nādu",ker:"Gujarāt",khadim:"Rājasthān",khadura:"Odisha","khairwar-bengali":"West Bengal","khairwar-chhattisgarhi":"Chhattīsgarh",khakar:"Karnātaka",khalifa:"West Bengal",khalpa:"Gujarāt",khamba:"Arunāchal Pradesh",khamyang:"Arunāchal Pradesh",khandwal:"Odisha","khangar-bundeli":"Uttar Pradesh",kharol:"Rājasthān",kharvi:"Mahārāshtra",khaskeli:"Gujarāt",khatbune:"Delhi","khati-odia":"Odisha","khatik-bengali":"West Bengal","khatik-chambeali":"Himāchal Pradesh","khatik-chhattisgarhi":"Chhattīsgarh","khatik-gujarati":"Gujarāt","khatik-marathi":"Mahārāshtra","khatik-punjabi":"Chandīgarh","khatik-telugu":"Telangāna",khmu:"Yunnan Province",khowa:"Arunāchal Pradesh",kidaran:"Kerala",kobari:"Odisha","kocu-wellan":"Kerala",koiren:"Manipur",kokaniz:"Mahārāshtra","kol-chhattisgarhi":"Chhattīsgarh",kolari:"Karnātaka",kolhati:"Mahārāshtra",koliyan:"Tamil Nādu",kollan:"Kerala","komara-panta":"Karnātaka","kommu-dasari":"Andhra Pradesh","konda-kammara":"Andhra Pradesh","kong-ge":"Yunnan Province","kongu-vaisnawa":"Tamil Nādu","kongu-vellala-gounder":"Tamil Nādu",koosa:"Karnātaka",kootan:"Kerala",koraga:"Odisha","koraga-korra":"Karnātaka",kota:"Tamil Nādu",kottari:"Karnātaka",koyava:"Karnātaka",kraal:"Jammu and Kashmīr",krishnavaka:"Tamil Nādu",kriyagar:"Rājasthān",kucband:"Haryāna",kucong:"Yunnan Province",kuda:"Odisha",kudimahan:"Mahārāshtra",kudiya:"Karnātaka",kudubi:"Karnātaka",kudumi:"Tamil Nādu",kuli:"Odisha",kuliya:"Andhra Pradesh",kuluvan:"Tamil Nādu","kumar-kshatriya":"Kerala","kumhar-assamese":"Assam","kummara-kumbara":"Karnātaka","kummara-kummari":"Tamil Nādu","kummara-kusuvan":"Kerala",kunduvadian:"Kerala","kunnuva-vellalar":"Tamil Nādu","kurahina-setti":"Karnātaka",kurakula:"Andhra Pradesh",kurol:"West Bengal",kurukkal:"Kerala",kurunga:"Odisha",kusta:"Odisha","kuthliya-bora":"Uttarākhand",kyrgyz:"Xinjiang Uyghur Autonomous Region",laba:"Guizhou Province",labapo:"Yunnan Province",laccadive:"Lakshadweep",ladar:"Karnātaka",ladia:"Madhya Pradesh",ladsi:"Mahārāshtra",lahangir:"Madhya Pradesh",lajjhar:"Mahārāshtra","lakhera-haryanvi":"Haryāna","lakkamari-kapu":"Telangāna",langa:"Gujarāt",laowu:"Yunnan Province",laskari:"Rājasthān","lati-china":"Yunnan Province",lawu:"Yunnan Province","liang-e":"Yunnan Province",liari:"Odisha",linghua:"Guangxi Zhuang Autonomous Region","liping-baheng":"Guizhou Province",liude:"Yunnan Province",liujia:"Guizhou Province","lodha-marathi":"Mahārāshtra","lohar-dogri":"Jammu and Kashmīr",lois:"Manipur",lonar:"Mahārāshtra",longjia:"Guizhou Province",lu:"Guizhou Province","lupanshui-miao":"Guizhou Province",luzu:"Sichuan Province",machhiyara:"Gujarāt","madiga-dasu":"Andhra Pradesh",maghia:"Odisha",mahisyadas:"Tripura",mahuria:"Odisha",maila:"Karnātaka",majjula:"Andhra Pradesh",majothi:"Gujarāt",makrani:"Gujarāt","mala-masti":"Telangāna","malai-pandaram":"Kerala","malai-vellala":"Tamil Nādu",malaikudi:"Karnātaka",malakar:"Tripura",malaneese:"Himāchal Pradesh",malayalar:"Kerala",maleru:"Karnātaka",maleyan:"Tamil Nādu",malia:"Odisha",malis:"Andhra Pradesh",man:"Assam",mana:"Mahārāshtra",manbhav:"Madhya Pradesh","mandali-muslims":"Gujarāt",mandula:"Andhra Pradesh","mang-china":"Yunnan Province","mangnyar-muslims":"Rājasthān",manhas:"Jammu and Kashmīr",maniyattikkaran:"Tamil Nādu","manjygur-muslims":"Jammu and Kashmīr",mankar:"Madhya Pradesh",manmet:"Yunnan Province","manna-dhora":"Andhra Pradesh",manser:"Karnātaka",manyak:"Sichuan Province","maran-nairs":"Kerala",marasari:"Kerala","maria-muslims":"Assam","markande-kanjia":"Odisha","mashan-miao":"Guizhou Province",masku:"Himāchal Pradesh",matak:"Assam",matangi:"Telangāna",mavilan:"Kerala",meda:"Karnātaka",medari:"Andhra Pradesh","medog-monba":"Tibet Autonomous Region","meifu-li":"Hainan Province",mengwu:"Yunnan Province",mer:"Gujarāt",mhalo:"Goa",miguba:"Tibet Autonomous Region",ming:"Sichuan Province",minyak:"Sichuan Province",mir:"Gujarāt",mirshikar:"West Bengal","mishaba-laluo":"Yunnan Province","mith-gauda":"Goa","mitha-ayyalavar":"Telangāna",mitna:"Mahārāshtra",miyana:"Gujarāt",mo:"Guizhou Province",modaks:"Jhārkhand",mogaveera:"Karnātaka","moger-malayalam":"Kerala","moghal-telugu":"Telangāna","moghol-dogri":"Jammu and Kashmīr","moghol-gujarati":"Gujarāt","moghol-marwari":"Rājasthān",mogia:"Rājasthān",momba:"Arunāchal Pradesh","mon-india":"Ladākh",mondivogula:"Andhra Pradesh",mondiwar:"Mahārāshtra",moothan:"Kerala",mosuo:"Yunnan Province",mozhihei:"Hunan Province","muchi-chamar":"Telangāna",muda:"Yunnan Province",mudugar:"Tamil Nādu",mujavar:"Gujarāt",mujavir:"Uttar Pradesh",mukeri:"Bihār",mukhi:"Assam",mukkari:"Kerala",muli:"Andhra Pradesh",mundala:"Karnātaka",mundapotta:"Odisha",munnewar:"Chhattīsgarh",murhid:"Rājasthān",musari:"Kerala",muskhan:"Madhya Pradesh","muslim-gond":"Madhya Pradesh","muslim-kachera":"Mahārāshtra","muslim-khatri":"Gujarāt","muslim-lakhera":"Gujarāt","muslim-patel":"Gujarāt","musti-chenchu":"Andhra Pradesh",muttatu:"Kerala",mutwa:"Gujarāt",muzi:"Yunnan Province",na:"Arunāchal Pradesh",nadors:"Karnātaka",nagavamsam:"Andhra Pradesh",nagbansi:"Jhārkhand","nagbansi-dogri":"Jammu and Kashmīr",nagda:"Rājasthān",nahal:"Mahārāshtra",naheng:"Yunnan Province","nai-assamese":"Assam","nai-kannada":"Karnātaka","nai-mewari":"Rājasthān","nai-odia":"Odisha",naikpod:"Mahārāshtra",nairy:"Karnātaka",naita:"Madhya Pradesh",najjar:"Jammu and Kashmīr",naju:"Sichuan Province",nakhasa:"Andhra Pradesh",nakkala:"Tamil Nādu",naksia:"Odisha",nalband:"Bihār",nalkadaya:"Kerala","namasudra-assamese":"Assam",nambutiris:"Kerala",namdagur:"Jammu and Kashmīr",namdeo:"Madhya Pradesh","namdeo-maratha":"Tamil Nādu",namuyi:"Sichuan Province",nandiwala:"Mahārāshtra","nanjil-mudali":"Tamil Nādu",nanjingren:"Guizhou Province",naoda:"Madhya Pradesh",naqqas:"Jammu and Kashmīr",nar:"Himāchal Pradesh",narsanna:"Kerala",narsinghpura:"Gujarāt",nasuvan:"Kerala","nat-bagheli":"Madhya Pradesh",natua:"Karnātaka",nawaiyat:"Karnātaka",nayadi:"Kerala","nayak-muslims":"Gujarāt",neeli:"Mahārāshtra",nema:"Madhya Pradesh",neyyala:"Andhra Pradesh","nghari-tibetans":"Tibet Autonomous Region",nicar:"Himāchal Pradesh",nilkanth:"Mahārāshtra",node:"Gujarāt",noliya:"Odisha","northern-awu":"Yunnan Province","northern-dong":"Guizhou Province","northern-muji":"Yunnan Province",numao:"Guizhou Province",nyaria:"Rājasthān",olot:"Heilongjiang Province",onge:"Andaman and Nicobar Islands",ongkor:"Xinjiang Uyghur Autonomous Region",ontaris:"Andhra Pradesh",oriya:"Odisha",otans:"Kerala",padannan:"Kerala",padarthis:"Karnātaka",padhar:"Gujarāt",padigarajulu:"Andhra Pradesh",padiyar:"Karnātaka",pagativeshagallu:"Andhra Pradesh",paharia:"West Bengal",pajabgar:"Rājasthān",pakhimara:"Rājasthān",paky:"Andhra Pradesh","palakad-tandans":"Kerala",palyu:"Guangxi Zhuang Autonomous Region",pambada:"Karnātaka",pambala:"Telangāna",pamidi:"Andhra Pradesh",pamula:"Andhra Pradesh",panar:"Gujarāt",panara:"Chhattīsgarh","pancaratra-srivaisnavas-brahmans":"Andhra Pradesh",pandithar:"Kerala",pando:"Chhattīsgarh",pangans:"Manipur",pangul:"Mahārāshtra","pangwal-buddhists":"Himāchal Pradesh",pangwala:"Himāchal Pradesh","panka-odia":"Odisha",pankhiya:"Uttar Pradesh",pannadi:"Tamil Nādu",panniandi:"Tamil Nādu","panxian-nasu":"Guizhou Province",paradhi:"Gujarāt",parenga:"Odisha","pariki-muggula":"Telangāna",parkavakulam:"Tamil Nādu",parvatarajakulam:"Tamil Nādu",patanwadia:"Gujarāt",patari:"Uttar Pradesh",pathinaickans:"Kerala",pathiyan:"Kerala",patkars:"Telangāna","patni-jamat":"Gujarāt","patni-vankars":"Gujarāt",pattanavan:"Tamil Nādu",pattegar:"Karnātaka",pendar:"Karnātaka",perumkollar:"Tamil Nādu",phularis:"Mahārāshtra","pingdi-yao":"Hunan Province","pinjara-dhunia-bengali":"West Bengal","pinjara-kannada":"Karnātaka","pinjara-marathi":"Mahārāshtra","pinjara-punjabi":"Punjab",pisaroti:"Kerala",pochammalollu:"Mahārāshtra",poduval:"Kerala",pohul:"Jammu and Kashmīr",pomla:"Gujarāt",popei:"Yunnan Province","prabhu-patane":"Mahārāshtra",pubiao:"Yunnan Province",pulisari:"Kerala",puman:"Yunnan Province",puran:"Jhārkhand","purig-pa":"Ladākh",puroik:"Tibet Autonomous Region",pusha:"Guangxi Zhuang Autonomous Region","puspakan-unni":"Kerala",putliwale:"Uttar Pradesh",qanu:"Guizhou Province","qiubei-zhuang":"Yunnan Province",qixingmin:"Guizhou Province",racband:"Punjab",rachavar:"Karnātaka",raddi:"Karnātaka",radhi:"Odisha","rai-bhat-muslims":"Uttar Pradesh",rajannalu:"Telangāna",rajapuri:"Karnātaka",rajdhop:"Bihār","raji-india":"Uttarākhand",rajkumhar:"Rājasthān",rajpurohit:"Rājasthān",rana:"Odisha",raneyar:"Karnātaka",rao:"Guizhou Province",rastogi:"Uttar Pradesh",ratal:"Jammu and Kashmīr",rath:"Rājasthān",rathodia:"Gujarāt",raval:"Karnātaka",rave:"Uttar Pradesh","raya-rawat":"Karnātaka",raysipotra:"Gujarāt",reddi:"Kerala","reddi-dora":"Andhra Pradesh",reddika:"Andhra Pradesh",rehar:"Himāchal Pradesh",royma:"Gujarāt",rujjhar:"Madhya Pradesh","rumai-de-ang":"Yunnan Province",runjalavallu:"Andhra Pradesh",runwalas:"Rājasthān",sabakhia:"Odisha",sabar:"Tripura",sadaru:"Andhra Pradesh","sadhu-chetty":"Andhra Pradesh",sagar:"Gujarāt",sagharias:"Dādra and Nagar Haveli and Damān and Diu",saha:"Tripura",sahi:"Mahārāshtra",sahisia:"Bihār",sain:"Rājasthān",sais:"Madhya Pradesh",sakunapaksollu:"Andhra Pradesh",salivahanam:"Tamil Nādu",saman:"Heilongjiang Province",samanthan:"Kerala",samasi:"Odisha",samayavallu:"Andhra Pradesh",sanchia:"Rājasthān",sanda:"Yunnan Province","sandhai-muslims":"Gujarāt",sanei:"Odisha",sanghar:"Mahārāshtra",sanhai:"Himāchal Pradesh",sanqiao:"Guizhou Province",sansoi:"Himāchal Pradesh",santia:"Rājasthān",sapalyas:"Karnātaka",saradagallu:"Telangāna","saragh-yugur":"Gansu Province",saranias:"Gujarāt",saraogi:"Rājasthān","sarikoli-tajiks":"Xinjiang Uyghur Autonomous Region",sarodi:"Mahārāshtra",savalakkarar:"Tamil Nādu","sayyid-chhattisgarhi":"Chhattīsgarh","sayyid-garhwali":"Uttarākhand","sayyid-gujarati":"Gujarāt","sayyid-kannada":"Karnātaka","sayyid-odia":"Odisha","sayyid-pahari":"Jammu and Kashmīr","sayyid-tamil":"Tamil Nādu",semman:"Tamil Nādu",senaithalaivar:"Tamil Nādu",senapathi:"Andhra Pradesh",sentinelese:"Andaman and Nicobar Islands",seok:"Himāchal Pradesh",serdukpen:"Arunāchal Pradesh",shabdakar:"Tripura",shaksaz:"Jammu and Kashmīr",sheikhzade:"Uttar Pradesh",shenzhou:"Guizhou Province",shershabadia:"Bihār",shikari:"Rājasthān","shina-india":"Jammu and Kashmīr",shixing:"Sichuan Province",shravan:"Gujarāt","sichuan-mongols":"Yunnan Province",siddi:"Gujarāt",sikligar:"Madhya Pradesh",silavantulu:"Andhra Pradesh",sindhollu:"Telangāna",sinduria:"Odisha",singiwala:"Rājasthān",sisgars:"Madhya Pradesh",siviar:"Tamil Nādu",siyalgar:"West Bengal",sofi:"Jammu and Kashmīr",soligaru:"Karnātaka","sompura-salat":"Gujarāt","son-koli":"Chhattīsgarh",sonavar:"Puducherry",sorgars:"Rājasthān",soria:"Madhya Pradesh",suda:"Odisha",sudhan:"Jammu and Kashmīr",sudir:"Karnātaka","sudra-das":"Assam",sukiyar:"Jhārkhand",sunga:"Rājasthān",sunuwar:"West Bengal","suodi-nosu":"Sichuan Province","sutar-mistry":"Mahārāshtra",sutradhar:"West Bengal","swakulasali-koshti":"Andhra Pradesh",swangla:"Himāchal Pradesh","ta-er":"Yunnan Province",tagewale:"Uttarākhand",tagu:"Yunnan Province",tai:"Gujarāt","tai-lu":"Yunnan Province","tai-pong":"Yunnan Province",taiphake:"Assam",tak:"Rājasthān",takari:"Mahārāshtra",tambiran:"Tamil Nādu","tamboli-bengali":"West Bengal","tamboli-telugu":"Andhra Pradesh",targala:"Gujarāt",telengi:"Andaman and Nicobar Islands","teli-assamese":"Assam","thachanad-moopan":"Kerala",thakurai:"Bihār",thammadi:"Karnātaka",thanapati:"Odisha",thanga:"Manipur",tharua:"Odisha",thavi:"Himāchal Pradesh",theba:"Gujarāt","thogataveera-kshatriya":"Andhra Pradesh","tholuva-naicker":"Tamil Nādu",thoraiyar:"Tamil Nādu",tikulhara:"Bihār",tilli:"Bihār",tirgar:"Gujarāt",tirugatigantla:"Andhra Pradesh",tiyattunni:"Kerala",tolakari:"Andhra Pradesh",tondman:"Tamil Nādu","tongren-bonan":"Qinghai Province","tripuri-kumhar":"West Bengal","tripuri-namasudra":"Tripura","tula-vina":"Odisha",tulao:"Yunnan Province","turi-barot":"Gujarāt","turuk-pasi":"Bihār",turun:"Assam",tusu:"Yunnan Province",udupula:"Andhra Pradesh",uppara:"Andhra Pradesh",uppillian:"Tamil Nādu","urikkar-naicker":"Tamil Nādu",urindavan:"Kerala",usta:"Rājasthān",uzbeks:"Xinjiang Uyghur Autonomous Region",vadi:"Gujarāt",vadugan:"Kerala","vahivanca-barot":"Gujarāt","vaikhanasa-brahmans":"Andhra Pradesh",valinjiyar:"Kerala","van-baoriya":"Rājasthān",vayati:"Gujarāt",ved:"Rājasthān",velip:"Mahārāshtra","vellaiyan-kuppam-padaiyaci":"Tamil Nādu","verra-musti":"Telangāna",vetan:"Kerala",vettaikkaran:"Tamil Nādu",vettalaikarans:"Puducherry",vettiyan:"Puducherry",vijabargiya:"Rājasthān",vilkurup:"Kerala",vilyagaras:"Karnātaka",vipravinodulu:"Andhra Pradesh",visavan:"Kerala",vyapari:"Gujarāt",wagheri:"Gujarāt",waidu:"Mahārāshtra","wainadan-cetti":"Kerala","wainadan-kader":"Kerala","wainadan-pulayan":"Kerala","wakhi-china":"Xinjiang Uyghur Autonomous Region",wandharo:"Gujarāt","wayanad-pathiyan":"Kerala",waza:"Jammu and Kashmīr","wenma-zhuang":"Yunnan Province","western-gaisu":"Yunnan Province","western-samadu":"Yunnan Province","western-xibe":"Xinjiang Uyghur Autonomous Region",wopu:"Guizhou Province",wunai:"Hunan Province",wutun:"Qinghai Province",xi:"Guizhou Province",xialusi:"Guizhou Province","xiaoliangshan-nosu":"Yunnan Province",xijima:"Yunnan Province","xinping-lalu":"Yunnan Province","xuzhang-lalu":"Yunnan Province",ya:"Yunnan Province",yakha:"Sikkim",yanghuang:"Guizhou Province",yata:"Andhra Pradesh",yatagiri:"Andhra Pradesh",yatibi:"Manipur",yatla:"Andhra Pradesh",yelmar:"Mahārāshtra",yerong:"Guangxi Zhuang Autonomous Region","yidu-lhoba":"Tibet Autonomous Region","yinuo-nosu":"Sichuan Province",yite:"Andhra Pradesh",yizi:"Guizhou Province",youmai:"Guizhou Province","younuo-bunu":"Guangxi Zhuang Autonomous Region","yunnan-mongol":"Yunnan Province","yunnan-shui":"Yunnan Province",za:"Tibet Autonomous Region",zakhrin:"Arunāchal Pradesh",zamral:"Madhya Pradesh"},ia={RED:"#e11d48",RED_DK:"#9f1239",NAVY:"#002e6e",GOLD:"#f59e0b",WHITE:"#ffffff",GREEN_BINS:["#9bcf9b","#5cb874","#1f9d55","#0f7a3d","#0a5c2e"],RED_RAMP:["#fdba74","#fb923c","#f97316","#ea580c","#c2410c"],CAT:["#002e6e","#1f9d55","#f59e0b","#e11d48","#7c3aed","#0891b2","#65a30d","#be123c","#a16207"]},yr=["2–10%","10–25%","25–50%","50–75%","75–100%"];function $t(a){const n=+a||0;return n<10?0:n<25?1:n<50?2:n<75?3:4}function qe(a){return ia.GREEN_BINS[$t(a)]}function Fi(a){const n=+a||0;return n>=80?ia.RED_RAMP[4]:n>=40?ia.RED_RAMP[3]:n>=15?ia.RED_RAMP[2]:n>=5?ia.RED_RAMP[1]:ia.RED_RAMP[0]}function Ki(a,n=4,e=22){const i=Math.max(1,+a||0),t=Math.min(1,Math.log10(i)/9);return n+(e-n)*t}function br(a){return a==="same-language"?null:a==="related-cluster"?[4,3]:[1,3]}function Pg(a){const n=String(a||"").trim();return n&&n.split(" - ")[0].trim()||"Unknown"}function _e(a){const n=+a||0;return n>=1e9?(n/1e9).toFixed(1)+"B":n>=1e6?(n/1e6).toFixed(1)+"M":n>=1e3?Math.round(n/1e3)+"K":String(Math.round(n))}const Un=a=>String(a||"").trim().toLowerCase(),Cg=a=>a&&typeof a=="object"?a.label??a.value??"":a??"",Ib=a=>a&&typeof a=="object"?a.value??a.label??"":a??"",wb={"People's Republic of China":"China","Lao People’s Democratic Republic":"Laos","Lao People's Democratic Republic":"Laos"},xb=a=>wb[a]||a;function Tb(){const a=ua(null),n=ua({languages:new Set,countries:new Set,religions:new Set,bridges:new Set,reachedMin:null}),e=ua(""),i=ua("pct"),t=ua(null),o=ua(!1),r=ua("map"),l=ua("mobilization"),s=ua(null),g=ua(!1),d=ua(""),_=ua(""),k=ua([]),x=ua([]),D=ua(fg||{}),T=ua((ee==null?void 0:ee.meta)||{});async function $(p){const M=p||{};d.value="",x.value=Nb(ee);const N=Lb(x.value);let U=[];try{U=await Kb(M)}catch(h){d.value="Live unreached API unreachable — "+((h==null?void 0:h.message)||h),k.value=$b(ee,N),_.value=new Date().toISOString(),g.value=!0;return}k.value=Rb(U,N),_.value=new Date().toISOString(),g.value=!0}const w=la(()=>{let p=k.value;const M=n.value;M.countries.size&&(p=p.filter(U=>M.countries.has(U.country))),M.languages.size&&(p=p.filter(U=>U.langs.some(h=>M.languages.has(h))));const N=Un(e.value);if(N&&(p=p.filter(U=>Un(U.label).includes(N)||Un(U.country).includes(N)||U.langs.some(h=>Un(h).includes(N)))),t.value){const U=Un(t.value),h=P(U);p=p.filter(C=>h.has(C.id))}return[...p].sort((U,h)=>h.senderCount-U.senderCount||h.target_pop-U.target_pop||h.count-U.count)}),L=la(()=>a.value&&k.value.find(p=>p.id===a.value)||null),E=la(()=>a.value?x.value.filter(p=>p.targetId===a.value):[]),I=la(()=>{let p=E.value;const M=n.value;M.languages.size&&(p=p.filter(U=>M.languages.has(U.lang))),M.countries.size&&(p=p.filter(U=>M.countries.has(U.country))),M.religions.size&&(p=p.filter(U=>M.religions.has(U.religionFamily))),M.bridges.size&&(p=p.filter(U=>M.bridges.has(U.bridge))),M.reachedMin!=null&&(p=p.filter(U=>U.pct>=M.reachedMin));const N=Un(e.value);return N&&(p=p.filter(U=>Un(U.name).includes(N)||Un(U.lang).includes(N)||Un(U.country).includes(N))),p}),G=la(()=>I.value.filter(p=>isFinite(p.lat)&&isFinite(p.lng)).map(p=>({...p,isPool:!1}))),S=la(()=>{const p=w.value.length;if(a.value){const N=E.value.length,U=I.value.length;return{senders:U,clusters:p,hidden:Math.max(0,N-U)}}return{senders:w.value.reduce((N,U)=>N+U.senderCount,0),clusters:p,hidden:0}}),v=la(()=>{const p=L.value;if(!p)return S.value.clusters+" unreached clusters · "+S.value.senders.toLocaleString()+" reached senders nearby — pick a red to send";const M=I.value,N=t.value||[...n.value.languages][0]||"",U=[...M].sort((y,R)=>R.pct-y.pct||R.pop-y.pop)[0],h=(N?N+" × ":"")+p.country,C=U?" · top "+U.name+" "+Math.round(U.pct)+"%, "+_e(U.pop):"";return h+": "+p.count+" unreached · "+M.length+(N?" nearby "+N+" senders":" nearby senders")+C}),K=la(()=>{const p=[...I.value],M={"same-language":0,"related-cluster":1,"same-country":2};switch(l.value){case"pct":p.sort((N,U)=>U.pct-N.pct||U.pop-N.pop);break;case"pop":p.sort((N,U)=>U.pop-N.pop||U.pct-N.pct);break;case"name":p.sort((N,U)=>N.name.localeCompare(U.name));break;case"bridge":p.sort((N,U)=>(M[N.bridge]??9)-(M[U.bridge]??9)||U.pct-N.pct);break;case"frontier":p.sort((N,U)=>U.pop-N.pop||N.pct-U.pct);break;case"mobilization":default:p.sort((N,U)=>U.pct-N.pct||U.pop-N.pop);break}return p}),O=la(()=>{const p=a.value?I.value:x.value.filter(M=>c().has(M.targetId));return{languageBar:jg(p,M=>M.lang,12),countryBar:jg(p,M=>M.country,12),reachedHist:yr.map((M,N)=>({key:N,label:M,value:p.filter(U=>U.bin===N).length,color:ia.GREEN_BINS[N]})),donut:i.value==="religion"?kg(p,M=>M.religionFamily):kg(p,M=>M.bridge)}}),q=la(()=>{var p,M,N;return{liveTargets:k.value.length,liveUnreached:k.value.reduce((U,h)=>U+h.count,0),loadedAt:_.value,bakedGenerated:((p=T.value)==null?void 0:p.generated)||"",bakedSenders:((M=T.value)==null?void 0:M.total_neighbors)||x.value.length,reachedFilter:((N=T.value)==null?void 0:N.reached_filter)||"",admin1Level:"IN/CN admin1 (point-in-polygon, "+Object.keys(D.value).length+" groups)",apiError:d.value}}),sa=la(()=>{const p=[],M=n.value;a.value&&L.value&&p.push({kind:"focus",value:L.value.country,label:L.value.country});for(const N of M.languages)p.push({kind:"languages",value:N,label:N});for(const N of M.countries)p.push({kind:"countries",value:N,label:N});for(const N of M.religions)p.push({kind:"religions",value:N,label:N});for(const N of M.bridges)p.push({kind:"bridges",value:N,label:N});return M.reachedMin!=null&&p.push({kind:"reachedMin",value:M.reachedMin,label:"reached% ≥ "+M.reachedMin}),t.value&&p.push({kind:"lens",value:t.value,label:"lens: "+t.value}),p});function ea(p){a.value=p}function ga(){a.value=null}function Sa(p,M){const N=n.value[p];N instanceof Set&&(N.has(M)?N.delete(M):N.add(M),n.value={...n.value})}function Ma(p){n.value={...n.value,reachedMin:p==null||p===""?null:+p}}function ma(p){e.value=String(p??"")}function pa(p){i.value=p==="religion"?"religion":"pct"}function Y(p){t.value=p||null}function ta(){o.value=!o.value}function aa(p){r.value=p==="flower"?"flower":"map"}function ba(p){l.value=p||"mobilization"}function na(p){s.value=p||null}function u(p){if(p)return p.kind==="focus"?ga():p.kind==="reachedMin"?Ma(null):p.kind==="lens"?Y(null):Sa(p.kind,p.value)}function A(){n.value={languages:new Set,countries:new Set,religions:new Set,bridges:new Set,reachedMin:null},t.value=null,e.value=""}function j(p){var H,V,oa;const M=Array.isArray(p)?p:K.value,N=["name","country","lang","rol3","pct","pop","bridge","adjacency","religion_bg"],U=Q=>{let m=String(Q??"");return/^[=+\-@]/.test(m)&&(m="'"+m),'"'+m.replace(/"/g,'""')+'"'},h="# BloomField Cockpit — reached neighbors for "+(((H=L.value)==null?void 0:H.country)||"all targets")+" · baked "+(((V=T.value)==null?void 0:V.generated)||"")+" · "+M.length+" rows · "+(_.value||""),C=N.join(","),y=M.map(Q=>N.map(m=>U(Q[m])).join(",")).join(` +`),R=h+` +`+C+` +`+y+` +`;try{const Q=new Blob([R],{type:"text/csv;charset=utf-8;"}),m=URL.createObjectURL(Q),b=document.createElement("a");b.href=m,b.download="send-list-"+(((oa=L.value)==null?void 0:oa.country)||"all").replace(/\W+/g,"-").toLowerCase()+".csv",document.body.appendChild(b),b.click(),b.remove(),setTimeout(()=>URL.revokeObjectURL(m),1e3)}catch{}return R}function c(){return new Set(w.value.map(p=>p.id))}function P(p){const M=new Set;for(const N of x.value)Un(N.lang)===p&&M.add(N.targetId);return M}return{focusedTargetId:a,facets:n,search:e,colorBy:i,languageLens:t,provinceDrill:o,mode:r,sortKey:l,hoveredId:s,hoveredSenderId:s,ready:g,loadError:d,loadedAt:_,meta:T,admin1:D,allClusters:k,allSenders:x,clusters:w,focusedTarget:L,sendersForFocus:E,visibleSenders:I,mapNodes:G,counts:S,headline:v,listRows:K,chartData:O,provenance:q,chips:sa,loadData:$,selectTarget:ea,clearFocus:ga,toggleFacet:Sa,setReachedMin:Ma,setSearch:ma,setColorBy:pa,setLanguageLens:Y,toggleProvince:ta,setMode:aa,setSort:ba,setHover:na,removeChip:u,clearAllFacets:A,exportSelectionCSV:j,quantileBin:$t,reachedColor:qe,redColor:Fi,logRadius:Ki,bridgeDash:br,religionFamily:Pg,fmtPop:_e,COLORS:ia}}function Ft(){const a=Ya("cockpitStore",null);if(!a)throw new Error("[useCockpitStore] no cockpitStore provided — mount inside ");return a}function Nb(a){const n=[],e=(a==null?void 0:a.countries)||{};for(const[i,t]of Object.entries(e))for(const o of t.neighbors||[]){const r=Number(o.lat),l=Number(o.lng);if(!isFinite(r)||!isFinite(l))continue;const s=+o.pct_christian||0;n.push({id:o.code||i+"|"+o.name+"|"+o.country+"|"+(o.rol3||""),targetId:i,name:o.name,country:o.country,lang:o.lang,rol3:o.rol3||"",pct:s,pop:+o.pop||0,bridge:o.bridge||"",adjacency:o.adjacency||"",religion_bg:o.religion_bg||"",religionFamily:Pg(o.religion_bg),lat:r,lng:l,code:o.code||"",bin:$t(s),color:qe(s)})}return n}function Lb(a){const n=new Map;for(const e of a){let i=n.get(e.targetId);i||(i={count:0,pop:0},n.set(e.targetId,i)),i.count++,i.pop+=e.pop}return n}function Rb(a,n){const e=new Map;for(const i of a){const t=Number(i.latitude),o=Number(i.longitude),r=xb(Cg(i.country_code)||"(unknown)"),l=Cg(i.primary_language)||"",s=i.slug||Ib(i.primary_language)+":"+i.name;let g=e.get(r);g||(g={id:r,country:r,label:r,count:0,target_pop:0,_sumLat:0,_sumLng:0,_n:0,langSet:new Set,members:[]},e.set(r,g)),g.count++,l&&g.langSet.add(l),g.members.push({name:i.name,slug:s,lang:l,lat:t,lng:o}),isFinite(t)&&isFinite(o)&&(g._sumLat+=t,g._sumLng+=o,g._n++)}return Fb([...e.values()],n)}function $b(a,n){const e=[];for(const[i,t]of Object.entries((a==null?void 0:a.countries)||{})){const o=n.get(i);e.push({id:i,country:i,label:i,count:+t.target_upg||0,target_pop:+t.target_pop||0,lat:null,lng:null,langs:t.target_top_langs||[],target_top_langs:t.target_top_langs||[],target_top_religion:t.target_top_religion||"",senderCount:o?o.count:0,hasSenders:!!o,color:Fi(+t.target_upg||0)})}return e}function Fb(a,n){const e=[];for(const i of a){i._n?(i.lat=i._sumLat/i._n,i.lng=i._sumLng/i._n):(i.lat=null,i.lng=null);const t=n.get(i.id);e.push({id:i.id,country:i.country,label:i.label,count:i.count,target_pop:i.target_pop,lat:i.lat,lng:i.lng,langs:[...i.langSet],target_top_langs:[...i.langSet].slice(0,4),target_top_religion:"",members:i.members,senderCount:t?t.count:0,hasSenders:!!t,color:Fi(i.count)})}return e.sort((i,t)=>t.count-i.count),e}async function Kb(a){const n=a.apiBase||typeof window<"u"&&(window.MAP_APP_API_URL||window.VITE_API_BASE_URL);if(!n)throw new Error("No API base configured (apiBase / window.MAP_APP_API_URL / VITE_API_BASE_URL) — failing closed, no default host.");const i=n.replace(/\/?$/,"")+"/api/people-groups/list?fields="+"slug,name,latitude,longitude,country_code,primary_language,wagf_block"+"&lang=en",t=await fetch(i,{cache:"no-store"});if(!t.ok)throw new Error("list "+t.status);const o=await t.json();return o.posts||o.data||o.records||o.results||o.items||(Array.isArray(o)?o:[])}function jg(a,n,e){const i=new Map;for(const t of a){const o=n(t)||"—";i.set(o,(i.get(o)||0)+1)}return[...i.entries()].map(([t,o])=>({key:t,label:t,value:o})).sort((t,o)=>o.value-t.value).slice(0,e)}function kg(a,n){const e=new Map;for(const t of a){const o=n(t)||"—";e.set(o,(e.get(o)||0)+1)}return[...e.entries()].sort((t,o)=>o[1]-t[1]).map(([t,o],r)=>({key:t,label:t,value:o,color:ia.CAT[r%ia.CAT.length]}))}const Gg="https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.css";async function Bb(a){const n=a.getRootNode();if(!(n instanceof ShadowRoot))return;const e=o=>new Promise(r=>setTimeout(r,o)),i=n.querySelector(`link[href="${Gg}"]`);if(i){if(i.sheet)return;await Promise.race([new Promise(o=>{i.addEventListener("load",o,{once:!0}),i.addEventListener("error",o,{once:!0})}),e(2e3)]);return}const t=document.createElement("link");t.rel="stylesheet",t.href=Gg,await Promise.race([new Promise(o=>{t.addEventListener("load",o,{once:!0}),t.addEventListener("error",o,{once:!0}),n.prepend(t)}),e(2e3)])}const Ob=85.0511,vg=-2,Ub=0,Hb=-60;function Ag(a){return(1-Math.log(Math.tan(Math.PI/4+a*Math.PI/180/2))/Math.PI)/2}function Db(a,n,e,i){if(!a||a<=0||!n||n<=0)return Ub;const t=Math.log2(a/512),o=Ag(i)-Ag(Ob),r=Math.log2(n/(512*o)),l=Math.max(t,r);return Math.max(vg,Math.min(l,(e??18)-1))}function Kt({containerRef:a,accessToken:n,style:e,center:i=[20,10],zoom:t=2,minZoom:o=void 0,maxZoom:r=18,pitch:l=0,bearing:s=0,renderWorldCopies:g=!0,southCutoff:d=Hb,maxBounds:_=void 0}){const k=ua(null),x=ua(!1);let D=null,T=null;async function $(){var O;if(typeof mapboxgl>"u"){console.error("mapboxgl is not available. Add the Mapbox GL JS script to your page.");return}if(!a.value){console.error("containerRef.value is null — call initializeMap() inside onMounted()");return}if(!n){console.error('No Mapbox access token provided. Pass "tk" in profile-config JSON.');return}if(!n.startsWith("pk.")){console.error('Mapbox token looks invalid (expected "pk." prefix). Got:',n.slice(0,10)+"...");return}await Bb(a.value),await new Promise(q=>requestAnimationFrame(q));const L=a.value,E=L.clientWidth,I=L.clientHeight;if(E===0||I===0){console.error(`[useMapInstance] Container has ZERO dimensions (${E}×${I}). Map will be invisible. Check that parent elements have CSS sizing.`);let q=L.parentElement,sa=0;for(;q&&sa<5;)q=q.parentElement,sa++}const G=n;mapboxgl.accessToken=G;const S=()=>typeof window<"u"&&window.innerWidth>=1024,v=(q,sa)=>{if(!S())return vg;const ea=Db(q,sa,r,d);return typeof o=="number"?Math.max(o,ea):ea},K=v(L.clientWidth,L.clientHeight);k.value=new mapboxgl.Map({accessToken:G,container:a.value,style:e,center:i,zoom:t,minZoom:K,maxZoom:r,pitch:l,bearing:s,dragRotate:!1,touchPitch:!1,renderWorldCopies:g,..._?{maxBounds:_}:{},attributionControl:!1}),k.value.touchZoomRotate.disableRotation();{const q=((O=a.value)==null?void 0:O.parentElement)||null,sa=q?Array.from(q.querySelectorAll(".map-scroll-edge")):[];if(sa.length){const ea="rgba(120, 128, 134, 0.28)",ga="36px",Sa=p=>p.classList.contains("map-scroll-edge--left");for(const p of sa)p.style.background=`linear-gradient(${Sa(p)?"to right":"to left"}, ${ea} ${ga}, transparent ${ga})`,p.style.opacity="0",p.style.transition="opacity 0.16s ease",p.style.userSelect="none",p.style.webkitUserSelect="none";const Ma=p=>{p.style.opacity="1"},ma=p=>{p.style.opacity="0"},pa=()=>sa.find(p=>S()?!Sa(p):Sa(p))||null,Y=new Set;let ta=!1,aa=null;const ba=()=>{for(const p of sa)Y.has(p)||ma(p)},na=()=>{const p=pa();p&&(Ma(p),aa&&clearTimeout(aa),aa=setTimeout(ba,250))},u=()=>{S()&&na()},A=p=>{if(!(p.touches&&p.touches.length===1))return;const M=p.target;M&&M.classList&&M.classList.contains("map-scroll-edge")||na()},j=()=>{aa&&clearTimeout(aa),ba()};q.addEventListener("wheel",u,{passive:!0}),q.addEventListener("touchmove",A,{passive:!0}),q.addEventListener("touchend",j,{passive:!0}),q.addEventListener("touchcancel",j,{passive:!0});const c=()=>{ta||na()};typeof window<"u"&&window.addEventListener("scroll",c,{passive:!0});const P=[];for(const p of sa){const M=()=>{Y.add(p),Ma(p)},N=()=>{Y.delete(p),ma(p)},U=()=>{ta=!0,Ma(p)},h=()=>{ta=!1,ma(p)};p.addEventListener("mouseenter",M),p.addEventListener("mouseleave",N),p.addEventListener("touchstart",U,{passive:!0}),p.addEventListener("touchend",h,{passive:!0}),P.push(()=>{p.removeEventListener("mouseenter",M),p.removeEventListener("mouseleave",N),p.removeEventListener("touchstart",U),p.removeEventListener("touchend",h)})}T=()=>{aa&&(clearTimeout(aa),aa=null),q.removeEventListener("wheel",u),q.removeEventListener("touchmove",A),q.removeEventListener("touchend",j),q.removeEventListener("touchcancel",j),typeof window<"u"&&window.removeEventListener("scroll",c);for(const p of P)p();for(const p of sa)ma(p)}}}D=()=>{const q=k.value;if(!q)return;const sa=v(L.clientWidth,L.clientHeight);q.setMinZoom(sa),q.getZoom(){requestAnimationFrame(()=>{var q;(q=k.value)==null||q.resize(),k.value&&k.value.setMinZoom(v(L.clientWidth,L.clientHeight)),x.value=!0})})}function w(){k.value&&(D&&(k.value.off("resize",D),typeof window<"u"&&(window.removeEventListener("resize",D),window.removeEventListener("orientationchange",D)),D=null),T&&(T(),T=null),k.value.remove(),k.value=null,x.value=!1)}return{map:k,isMapReady:x,initializeMap:$,destroy:w}}const zb={key:0,class:"cpt-mc-ctl"},Vb={class:"cpt-mc-seg",role:"group","aria-label":"Green color encoding"},Yb={key:1,class:"cpt-mc-headline"},Wb={key:2,class:"cpt-mc-loading"},Jb={key:0},Zb={key:1},qb=["innerHTML"],_r="cpt-red-src",fr="cpt-green-src",Bt="cpt-arc-src",fe="cpt-red",Sg="cpt-red-lbl",ie="cpt-green",Eg="cpt-green-lbl",Ot="cpt-arc-solid",Ut="cpt-arc-dash",Ht="cpt-arc-dot",Bi="cpt-prov",Xb={__name:"MapCell",setup(a){const n=Ft(),e=Ya("profileConfig"),i=Ya("mapboxToken"),t=la(()=>(e==null?void 0:e.value)||{}),o=la(()=>!(i!=null&&i.value||t.value.tk)),r=ua(null),l=ua(null),s=ua(!1),g=ua({show:!1,pinned:!1,x:0,y:0,html:""}),d=ia.GREEN_BINS[3],{map:_,initializeMap:k,destroy:x}=Kt({containerRef:l,accessToken:(i==null?void 0:i.value)||t.value.tk||"",style:t.value.style??"mapbox://styles/mapbox/light-v11",center:t.value.center??[55,22],zoom:t.value.zoom??1.7,minZoom:t.value.minZoom??1,maxZoom:t.value.maxZoom??12}),D=la(()=>{const u=[...new Set(n.visibleSenders.value.map(j=>j.religionFamily).filter(Boolean))].sort(),A={};return u.forEach((j,c)=>{A[j]=ia.CAT[c%ia.CAT.length]}),A}),T=u=>({type:"FeatureCollection",features:u});function $(u,A,j=48){const c=Math.PI/180,P=180/Math.PI,p=u[1]*c,M=u[0]*c,N=A[1]*c,U=A[0]*c,h=(N-p)/2,C=(U-M)/2,y=Math.sin(h)**2+Math.cos(p)*Math.cos(N)*Math.sin(C)**2,R=2*Math.asin(Math.min(1,Math.sqrt(y)));if(!R)return[u,A];const H=[];for(let V=0;V<=j;V++){const oa=V/j,Q=Math.sin((1-oa)*R)/Math.sin(R),m=Math.sin(oa*R)/Math.sin(R),b=Q*Math.cos(p)*Math.cos(M)+m*Math.cos(N)*Math.cos(U),F=Q*Math.cos(p)*Math.sin(M)+m*Math.cos(N)*Math.sin(U),J=Q*Math.sin(p)+m*Math.sin(N);H.push([Math.atan2(F,b)*P,Math.atan2(J,Math.sqrt(b*b+F*F))*P])}return H}function w(){const u=[];for(const A of n.clusters.value)!isFinite(A.lat)||!isFinite(A.lng)||u.push({type:"Feature",geometry:{type:"Point",coordinates:[A.lng,A.lat]},properties:{id:A.id,count:A.count,hasSenders:!!A.hasSenders,senderCount:A.senderCount||0,color:Fi(A.count),r:Math.min(34,6+Math.sqrt(Math.max(0,A.count))*2.4),label:A.country+" ("+A.count+")",country:A.country,langs:(A.target_top_langs||[]).slice(0,3).join(", ")}});return T(u)}function L(){const u=[],A=n.colorBy.value==="religion";for(const j of n.mapNodes.value){if(!isFinite(j.lng)||!isFinite(j.lat))continue;let c,P,p,M,N;if(j.isPool){const U=j.members||[],h=U.length?U.reduce((y,R)=>y+(R.pct||0),0)/U.length:0,C=U.reduce((y,R)=>y+(R.pop||0),0);c=qe(h),P=Ki(C,7,26),p="",M=_e(C),N=""}else c=A?D.value[j.religionFamily]||ia.GREEN_BINS[2]:j.color||qe(j.pct),P=Ki(j.pop),p=Math.round(j.pct)+"%",M=_e(j.pop),N=j.religionFamily||"";u.push({type:"Feature",geometry:{type:"Point",coordinates:[j.lng,j.lat]},properties:{id:j.id,name:j.name,label:j.name,color:c,r:P,isPool:!!j.isPool,country:j.country||"",lang:j.lang||"",pct:p,pop:M,religion:N,bridge:j.bridge||""}})}return T(u)}function E(){const u=n.focusedTarget.value;if(!u||!isFinite(u.lat)||!isFinite(u.lng))return T([]);const A=[u.lng,u.lat],j=[];for(const c of n.mapNodes.value){if(!isFinite(c.lng)||!isFinite(c.lat))continue;const P=c.isPool?"same-country":c.bridge||"same-country";j.push({type:"Feature",geometry:{type:"LineString",coordinates:$([c.lng,c.lat],A)},properties:{bridge:P}})}return T(j)}function I(u,A,j){const c=u.getSource(A);c?c.setData(j):u.addSource(A,{type:"geojson",data:j})}function G(u){const j=(u.getStyle&&u.getStyle().layers||[]).find(c=>c.type==="symbol");return j?j.id:void 0}function S(u){u.getLayer(Ot)||u.addLayer({id:Ot,type:"line",source:Bt,filter:["==",["get","bridge"],"same-language"],layout:{"line-cap":"round"},paint:{"line-color":ia.NAVY,"line-width":1.4,"line-opacity":.6}}),u.getLayer(Ut)||u.addLayer({id:Ut,type:"line",source:Bt,filter:["==",["get","bridge"],"related-cluster"],layout:{"line-cap":"butt"},paint:{"line-color":ia.NAVY,"line-width":1.4,"line-opacity":.6,"line-dasharray":[4,3]}}),u.getLayer(Ht)||u.addLayer({id:Ht,type:"line",source:Bt,filter:["all",["!=",["get","bridge"],"same-language"],["!=",["get","bridge"],"related-cluster"]],layout:{"line-cap":"round"},paint:{"line-color":ia.NAVY,"line-width":1.6,"line-opacity":.6,"line-dasharray":[1,3]}}),u.getLayer(ie)||u.addLayer({id:ie,type:"circle",source:fr,paint:{"circle-color":["get","color"],"circle-radius":["max",2,["*",["get","r"],.55]],"circle-stroke-width":["case",["get","isPool"],2.5,.8],"circle-stroke-color":["case",["get","isPool"],ia.GOLD,"#ffffff"],"circle-opacity":.92,"circle-opacity-transition":{duration:350}}}),u.getLayer(Eg)||u.addLayer({id:Eg,type:"symbol",source:fr,minzoom:3.4,layout:{"text-field":["get","label"],"text-size":10,"text-offset":[0,1.1],"text-anchor":"top","text-allow-overlap":!1,"text-optional":!0},paint:{"text-color":"#0b5e33","text-halo-color":"#ffffff","text-halo-width":1.3}}),u.getLayer(fe)||u.addLayer({id:fe,type:"circle",source:_r,paint:{"circle-color":["get","color"],"circle-radius":["get","r"],"circle-opacity":.82,"circle-stroke-width":2,"circle-stroke-color":d,"circle-opacity-transition":{duration:300}}}),u.getLayer(Sg)||u.addLayer({id:Sg,type:"symbol",source:_r,minzoom:2.4,layout:{"text-field":["get","label"],"text-size":11,"text-offset":[0,1.2],"text-anchor":"top","text-allow-overlap":!1,"text-optional":!0},paint:{"text-color":ia.RED_DK,"text-halo-color":"#ffffff","text-halo-width":1.4}})}function v(u){if(!u.getLayer(fe))return;const A=n.focusedTargetId.value;u.setPaintProperty(fe,"circle-opacity",A?["case",["==",["get","id"],A],.95,.5]:["case",["get","hasSenders"],.82,.14]),u.setPaintProperty(fe,"circle-stroke-color",A?["case",["==",["get","id"],A],ia.GOLD,["case",["get","hasSenders"],d,ia.RED_DK]]:["case",["get","hasSenders"],d,ia.RED_DK]),u.setPaintProperty(fe,"circle-stroke-width",A?["case",["==",["get","id"],A],4,["case",["get","hasSenders"],2.4,1.6]]:["case",["get","hasSenders"],2.4,1.6])}function K(u,A){if(A)if(u.getLayer(Bi))try{u.setLayoutProperty(Bi,"visibility","visible")}catch{}else try{const j=u.getLayer(Ot)?Ot:G(u);u.addLayer({id:Bi,type:"line",source:"composite","source-layer":"admin",filter:["all",["==",["get","admin_level"],1],["==",["get","maritime"],"false"]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":ia.NAVY,"line-width":.7,"line-opacity":.45,"line-dasharray":[2,2]}},j)}catch{}else if(u.getLayer(Bi))try{u.setLayoutProperty(Bi,"visibility","none")}catch{}}function O(){var A;const u=_.value;!u||!((A=u.isStyleLoaded)!=null&&A.call(u))||(I(u,Bt,E()),I(u,fr,L()),I(u,_r,w()),S(u),v(u),Y(pa),K(u,n.provinceDrill.value),n.focusedTargetId.value?Ma():ma())}function q(){const u=_.value;if(!u)return;const A=n.focusedTarget.value;if(!A){try{u.stop(),u.easeTo({center:t.value.center??[55,22],zoom:t.value.zoom??1.7,duration:700})}catch{}return}const j=[];isFinite(A.lat)&&isFinite(A.lng)&&j.push([A.lng,A.lat]);for(const N of n.mapNodes.value)isFinite(N.lng)&&isFinite(N.lat)&&j.push([N.lng,N.lat]);if(!j.length)return;let c=j[0][0],P=j[0][0],p=j[0][1],M=j[0][1];for(const N of j)c=Math.min(c,N[0]),P=Math.max(P,N[0]),p=Math.min(p,N[1]),M=Math.max(M,N[1]);try{u.stop(),c===P&&p===M?u.easeTo({center:[c,p],zoom:4.5,duration:800}):u.fitBounds([[c,p],[P,M]],{padding:80,maxZoom:6,duration:800})}catch{}}const sa=[[0,4,3],[.5,4,2.5],[1,4,2],[1.5,4,1.5],[2,4,1],[2.5,4,.5],[3,4,0],[0,.5,4,2.5],[0,1,4,2],[0,1.5,4,1.5],[0,2,4,1],[0,2.5,4,.5]],ea=[[1,3],[0,.75,1,2.25],[0,1.5,1,1.5],[0,2.25,1,.75]];let ga=null,Sa=0;function Ma(){ga||(ga=setInterval(()=>{const u=_.value;if(u){Sa++;try{u.getLayer(Ut)&&u.setPaintProperty(Ut,"line-dasharray",sa[Sa%sa.length]),u.getLayer(Ht)&&u.setPaintProperty(Ht,"line-dasharray",ea[Sa%ea.length])}catch{}}},80))}function ma(){ga&&(clearInterval(ga),ga=null)}let pa=null;function Y(u){pa=u;const A=_.value;!A||!A.getLayer(ie)||(A.setPaintProperty(ie,"circle-stroke-width",u?["case",["==",["get","id"],u],4,["case",["get","isPool"],2.5,1.2]]:["case",["get","isPool"],2.5,1.2]),A.setPaintProperty(ie,"circle-stroke-color",u?["case",["==",["get","id"],u],ia.GOLD,["case",["get","isPool"],ia.GOLD,"#ffffff"]]:["case",["get","isPool"],ia.GOLD,"#ffffff"]))}function ta(u){return String(u??"").replace(/[&<>"']/g,A=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[A])}function aa(u){g.value.show&&!g.value.pinned&&(g.value.x=u.clientX,g.value.y=u.clientY)}function ba(u){return""+ta(u.country)+'
'+ta(u.count)+" unreached groups
"+(u.langs?'
langs '+ta(u.langs)+"
":"")+'
senders '+(u.hasSenders?ta(u.senderCount)+" reached nearby":"frontier — 0 (pray for laborers)")+'
click → SEND view
'}function na(u){return u.isPool?""+ta(u.name)+'
same-country reached pool
pop '+ta(u.pop)+'
spiderfies in the list
':""+ta(u.name)+'
'+ta(u.country)+" · "+ta(u.lang)+'
reached '+ta(u.pct)+' Christian
pop '+ta(u.pop)+"
"+(u.bridge?'
bridge '+ta(u.bridge)+"
":"")+(u.religion?'
religion '+ta(u.religion)+"
":"")+'
click → pin · highlights the list
'}return Rn(async()=>{var c,P,p,M,N,U;await k();const u=_.value;if(!u)return;try{u.setProjection("mercator")}catch{}if(t.value.debugExpose&&typeof window<"u")try{(((p=(P=(c=r.value)==null?void 0:c.getRootNode)==null?void 0:P.call(c))==null?void 0:p.host)||window).__cockpitmap=u}catch{}const A=(h,C)=>{u.on("mouseenter",h,()=>{u.getCanvas().style.cursor="pointer"}),u.on("mouseleave",h,()=>{u.getCanvas().style.cursor="",g.value.pinned||(g.value={...g.value,show:!1})}),u.on("mousemove",h,y=>{var H;const R=(H=y.features)==null?void 0:H[0];R&&(g.value={show:!0,x:y.originalEvent.clientX,y:y.originalEvent.clientY,html:C(R.properties)})})},j=()=>{O(),u.on("click",fe,h=>{var y;const C=(y=h.features)==null?void 0:y[0];C&&(g.value={...g.value,show:!1,pinned:!1},n.selectTarget(C.properties.id))}),A(fe,ba),A(ie,na),u.on("mousemove",ie,h=>{var y;const C=(y=h.features)==null?void 0:y[0];if(C){Y(C.properties.id);try{n.setHover&&n.setHover(C.properties.id)}catch{}}}),u.on("mouseleave",ie,()=>{Y(null);try{n.setHover&&n.setHover(null)}catch{}}),u.on("click",ie,h=>{var R;const C=(R=h.features)==null?void 0:R[0];if(!C)return;const y=h.originalEvent||{};g.value={show:!0,pinned:!0,x:y.clientX||g.value.x,y:y.clientY||g.value.y,html:na(C.properties)};try{n.setHover&&n.setHover(C.properties.id)}catch{}try{u.stop(),u.easeTo({center:C.geometry.coordinates,zoom:Math.max(u.getZoom(),4.5),duration:700})}catch{}}),s.value=!0,n.focusedTargetId.value&&q()};(M=u.isStyleLoaded)!=null&&M.call(u)?j():(N=u.once)==null||N.call(u,"load",j),(U=u.once)==null||U.call(u,"idle",()=>{s.value&&O()})}),cn(()=>[n.ready.value,n.clusters.value,n.mapNodes.value,n.colorBy.value,n.provinceDrill.value],()=>O()),cn(()=>n.focusedTargetId.value,()=>{O(),q()}),cn(()=>n.mode.value,()=>{bi(()=>{var u;try{(u=_.value)==null||u.resize()}catch{}})}),n.hoveredId&&cn(()=>n.hoveredId.value,u=>Y(u)),Ue(()=>{ma(),x()}),On(` + .cpt-mc-root { position:absolute; inset:0; overflow:hidden; background:#eef2f7; isolation:isolate; + font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; } + .cpt-mc-map { position:absolute; inset:0; } + .cpt-mc-loading { position:absolute; inset:0; z-index:5; display:flex; align-items:center; justify-content:center; + background:#eef2f7; color:${ia.NAVY}; font:600 12px/1.5 ui-monospace,monospace; text-align:center; padding:18px; } + + /* on-map control cluster (top-left) — color-by + province drill + reset */ + .cpt-mc-ctl { position:absolute; top:8px; left:8px; z-index:30; display:flex; flex-direction:column; gap:6px; align-items:flex-start; } + .cpt-mc-seg { display:inline-flex; background:rgba(255,255,255,.95); border:1px solid #cbd5e1; border-radius:999px; padding:2px; gap:2px; box-shadow:0 2px 8px rgba(0,0,0,.14); } + .cpt-mc-seg button { border:0; background:transparent; color:#475569; cursor:pointer; font:700 10px/1 ui-monospace,monospace; padding:5px 9px; border-radius:999px; } + .cpt-mc-seg button.on { background:${ia.NAVY}; color:#fff; } + .cpt-mc-btn { border:1px solid #cbd5e1; background:rgba(255,255,255,.95); color:${ia.NAVY}; cursor:pointer; + font:700 10px/1 ui-monospace,monospace; padding:6px 10px; border-radius:8px; box-shadow:0 2px 8px rgba(0,0,0,.14); } + .cpt-mc-btn.on { background:${ia.NAVY}; color:#fff; border-color:${ia.NAVY}; } + .cpt-mc-btn.gold { background:${ia.GOLD}; color:#3a2600; border-color:${ia.GOLD}; } + + /* SEND headline (bottom-left) when a target is focused */ + .cpt-mc-headline { position:absolute; left:8px; bottom:8px; right:8px; z-index:28; pointer-events:none; + background:rgba(0,46,110,.92); color:#fff; border-radius:9px; padding:7px 11px; max-width:560px; + font:700 12px/1.35 -apple-system,sans-serif; box-shadow:0 4px 14px rgba(0,0,0,.28); } + + /* hover-pin tooltip */ + .cpt-mc-tip { position:fixed; z-index:60; pointer-events:none; max-width:250px; background:#0e1730; + border:1px solid #34508c; border-radius:9px; padding:9px 11px; box-shadow:0 6px 22px rgba(0,0,0,.5); font-size:11.5px; color:#dbe4f3; } + .cpt-mc-tip strong { font-size:13px; color:#fff; } + .cpt-mc-tsub { color:#fda4af; font:600 10px/1.3 ui-monospace,monospace; margin:2px 0 6px; } + .cpt-mc-trow { display:flex; gap:6px; line-height:1.5; } + .cpt-mc-tk { color:#7e90b6; min-width:62px; } + + @media (max-width:560px){ .cpt-mc-headline{ font-size:11px; } } +`,"cockpit-mapcell"),(u,A)=>(z(),W("div",{ref_key:"mcRoot",ref:r,class:"cpt-mc-root",onMousemove:aa},[f("div",{ref_key:"mapContainer",ref:l,class:"cpt-mc-map"},null,512),s.value?(z(),W("div",zb,[f("div",Vb,[f("button",{class:Ia({on:ha(n).colorBy.value==="pct"}),onClick:A[0]||(A[0]=j=>ha(n).setColorBy("pct"))},"% reached",2),f("button",{class:Ia({on:ha(n).colorBy.value==="religion"}),onClick:A[1]||(A[1]=j=>ha(n).setColorBy("religion"))},"religion",2)]),f("button",{class:Ia(["cpt-mc-btn",{on:ha(n).provinceDrill.value}]),onClick:A[2]||(A[2]=j=>ha(n).toggleProvince()),title:"Overlay IN/CN admin-1 boundaries"},"IN/CN provinces",2),ha(n).focusedTarget.value?(z(),W("button",{key:0,class:"cpt-mc-btn gold",onClick:A[3]||(A[3]=j=>ha(n).clearFocus())},"✕ reset focus")):fa("",!0)])):fa("",!0),s.value&&ha(n).focusedTarget.value?(z(),W("div",Yb,X(ha(n).headline.value),1)):fa("",!0),s.value?fa("",!0):(z(),W("div",Wb,[o.value?(z(),W("span",Jb,"Map needs a Mapbox token (tk in profile-config)…")):(z(),W("span",Zb,"Rendering the harvest field…"))])),g.value.show?(z(),W("div",{key:3,class:"cpt-mc-tip",style:Ka({left:g.value.x+14+"px",top:g.value.y+14+"px"}),innerHTML:g.value.html},null,12,qb)):fa("",!0)],544))}},Qb={class:"cf-bar"},a1={key:0,class:"cf-meta"},n1={class:"cf-stage"},e1={key:0,class:"cf-empty"},i1=["viewBox"],t1={key:0},o1=["cx","cy","fill","opacity","transform"],r1=["d","stroke-dasharray"],l1=["d"],s1=["onClick","onMouseenter"],c1=["cx","cy","r"],g1=["x","y"],u1=["cx","cy","r","fill"],d1=["x","y"],p1={class:"cf-center",style:{"pointer-events":"none"}},m1=["cx","cy","r","fill"],h1=["cx","cy","fill"],y1=["x","y"],b1=["x","y"],_1={key:2,class:"cf-rings"},f1=["innerHTML"],Xe=1e3,P1=212,C1=372,Mg=48,j1=8,k1=16,G1={__name:"FlowerCell",setup(a){const n=Ft(),e=Xe/2,i=Xe/2,t=ua(n.mode.value==="flower"?1:0),o=ua(!1),r=ua(null),l=ua(""),s=ua({show:!1,x:0,y:0,html:""});function g(Y,ta,aa,ba){const na=(ba-90)*Math.PI/180;return[Y+aa*Math.cos(na),ta+aa*Math.sin(na)]}function d(Y){return String(Y&&(Y.rol3||Y.lang)||"").trim().toLowerCase()}function _(Y){return String(Y??"").replace(/[&<>"']/g,ta=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[ta])}const k=la(()=>{const Y=[...new Set(n.visibleSenders.value.map(aa=>aa.religionFamily||"Unknown"))].sort(),ta={};return Y.forEach((aa,ba)=>{ta[aa]=ia.CAT[ba%ia.CAT.length]}),ta}),x=la(()=>{const Y=n.focusedTarget.value;if(!Y)return null;const ta=[...n.visibleSenders.value].sort((Pa,$a)=>$a.pct-Pa.pct||$a.pop-Pa.pop),aa=ta.filter(Pa=>Pa.adjacency==="same-country"),ba=ta.filter(Pa=>Pa.adjacency!=="same-country"),na=o.value?aa:aa.slice(0,j1),u=o.value?ba:ba.slice(0,k1),A=aa.length-na.length+(ba.length-u.length),j=A>0&&!o.value,c=k.value,P=Pa=>n.colorBy.value==="religion"?c[Pa.religionFamily||"Unknown"]||ia.CAT[0]:qe(Pa.pct),p=[],M=[];for(const Pa of na)p.push(Pa.lng),M.push(Pa.lat);for(const Pa of u)p.push(Pa.lng),M.push(Pa.lat);let N=Y.lng,U=Y.lat;(!isFinite(N)||!isFinite(U))&&(N=p.length?p.reduce((Pa,$a)=>Pa+$a,0)/p.length:0,U=M.length?M.reduce((Pa,$a)=>Pa+$a,0)/M.length:0),p.push(N),M.push(U);const h=Math.min(...p),C=Math.max(...p),y=Math.min(...M),R=Math.max(...M),H=Math.max(C-h,.01),V=Math.max(R-y,.01),oa=130;let Q=Math.min((Xe-oa*2)/H,(Xe-oa*2)/V);(!isFinite(Q)||Q<=0)&&(Q=1);const m=(h+C)/2,b=(y+R)/2,F=(Pa,$a)=>[e+(Pa-m)*Q,i-($a-b)*Q],J=[],ca=u.map(Pa=>({kind:"node",s:Pa}));j&&ca.push({kind:"more"});const ra=na.length;na.forEach((Pa,$a)=>{const Ba=ra?($a+.5)/ra*360:0,[dn,Ne]=g(e,i,P1,Ba),[hn,Zi]=F(Pa.lng,Pa.lat);J.push({id:Pa.id,s:Pa,isMore:!1,ring:"inner",ang:Ba,r:Ki(Pa.pop,7,20),color:P(Pa),lang:d(Pa),fx:dn,fy:Ne,gx:hn,gy:Zi})});const B=ca.length,Z=B?180/B:0;ca.forEach((Pa,$a)=>{const Ba=B?($a+.5)/B*360+Z:0,[dn,Ne]=g(e,i,C1,Ba);if(Pa.kind==="more"){const[hn,Zi]=F(N,U);J.push({id:"__more__",isMore:!0,ring:"outer",ang:Ba,r:18,color:ia.NAVY,lang:"",fx:dn,fy:Ne,gx:hn,gy:Zi,hidden:A})}else{const hn=Pa.s,[Zi,Uf]=F(hn.lng,hn.lat);J.push({id:hn.id,s:hn,isMore:!1,ring:"outer",ang:Ba,r:Ki(hn.pop,7,20),color:P(hn),lang:d(hn),fx:dn,fy:Ne,gx:Zi,gy:Uf})}});const[_a,va]=F(N,U),Ra={fx:e,fy:i,gx:_a,gy:va,country:Y.country,count:Y.count,color:Fi(Y.count)},an=new Map;for(const Pa of J){if(Pa.isMore||!Pa.lang)continue;let $a=an.get(Pa.lang);$a||($a=[],an.set(Pa.lang,$a)),$a.push(Pa)}const qa=[];for(const[Pa,$a]of an)if(!($a.length<2))for(let Ba=0;Ba<$a.length-1;Ba++)qa.push({id:"mesh-"+$a[Ba].id+"-"+$a[Ba+1].id,from:$a[Ba].id,to:$a[Ba+1].id,lang:Pa});return{nodes:J,center:Ra,mesh:qa,hidden:A,shown:na.length+u.length,total:ta.length}}),D=la(()=>{const Y={};if(x.value)for(const ta of x.value.nodes)Y[ta.id]=ta;return Y});function T(Y){return!l.value||!Y.isMore&&Y.lang===l.value}function $(Y){return!l.value||Y.lang===l.value}function w(Y){return!Y.isMore&&n.facets.value.languages.has(Y.s.lang)}function L(Y){return Y.gx+(Y.fx-Y.gx)*t.value}function E(Y){return Y.gy+(Y.fy-Y.gy)*t.value}function I(){const Y=x.value.center;return Y.gx+(Y.fx-Y.gx)*t.value}function G(){const Y=x.value.center;return Y.gy+(Y.fy-Y.gy)*t.value}function S(Y){return"M "+I().toFixed(1)+" "+G().toFixed(1)+" L "+L(Y).toFixed(1)+" "+E(Y).toFixed(1)}function v(Y){const ta=D.value[Y.from],aa=D.value[Y.to];if(!ta||!aa)return"";const ba=L(ta),na=E(ta),u=L(aa),A=E(aa),j=(ba+u)/2,c=(na+A)/2,P=j+(e-j)*.45*t.value,p=c+(i-c)*.45*t.value;return"M "+ba.toFixed(1)+" "+na.toFixed(1)+" Q "+P.toFixed(1)+" "+p.toFixed(1)+" "+u.toFixed(1)+" "+A.toFixed(1)}function K(Y){if(Y.isMore)return"4 6";const ta=br(Y.s.bridge);return ta?ta.map(aa=>aa*3).join(" "):"none"}function O(Y){return[L(Y),E(Y)]}function q(Y,ta){if(r.value=Y.id,l.value=Y.isMore?"":Y.lang,!Y.isMore)try{n.setHover&&n.setHover(Y.id)}catch{}if(Y.isMore){s.value={show:!0,x:ta.clientX,y:ta.clientY,html:"+"+Y.hidden+' more senders
click to bloom the full roster
'};return}const aa=Y.s;s.value={show:!0,x:ta.clientX,y:ta.clientY,html:""+_(aa.name)+'
'+_(aa.country)+" · "+_(aa.lang||"—")+'
reached '+Math.round(aa.pct||0)+'% Christian
people '+_e(aa.pop)+'
bridge '+_(aa.bridge||"—")+'
near '+_(aa.adjacency||"—")+"
"}}function sa(Y){s.value.show&&(s.value.x=Y.clientX,s.value.y=Y.clientY)}function ea(){r.value=null,l.value="";try{n.setHover&&n.setHover(null)}catch{}s.value={...s.value,show:!1}}function ga(Y){if(Y.isMore){o.value=!0;return}n.toggleFacet("languages",Y.s.lang)}function Sa(){n.setMode(n.mode.value==="flower"?"map":"flower")}const Ma=typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;let ma=0;function pa(Y){if(cancelAnimationFrame(ma),Ma||typeof requestAnimationFrame>"u"){t.value=Y;return}const ta=t.value,aa=performance.now(),ba=720,na=A=>A<.5?2*A*A:1-Math.pow(-2*A+2,2)/2,u=A=>{const j=Math.min(1,(A-aa)/ba);t.value=ta+(Y-ta)*na(j),j<1&&(ma=requestAnimationFrame(u))};ma=requestAnimationFrame(u)}return cn(()=>n.mode.value,Y=>pa(Y==="flower"?1:0)),cn(()=>n.focusedTargetId.value,()=>{o.value=!1}),Ue(()=>cancelAnimationFrame(ma)),On(".cpt-flower{position:absolute;inset:0;display:flex;flex-direction:column;overflow:hidden;isolation:isolate;background:radial-gradient(circle at 50% 44%, #16203a 0%, #0b1020 72%);color:#e5e7eb;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;}.cf-bar{position:absolute;top:10px;left:10px;right:10px;z-index:30;display:flex;gap:8px;align-items:center;flex-wrap:wrap;pointer-events:none;}.cf-bar > *{pointer-events:auto;}.cf-title{background:"+ia.NAVY+";color:#fff;font:700 11px/1 ui-monospace,monospace;letter-spacing:.07em;text-transform:uppercase;padding:8px 12px;border-radius:8px;box-shadow:0 2px 10px rgba(0,0,0,.4);}.cf-meta{font:600 11px/1.4 ui-monospace,monospace;color:#9fb3d9;background:rgba(8,12,24,.7);border:1px solid #1c2742;border-radius:8px;padding:6px 10px;}.cf-meta b{color:#fff;}.cf-bloom{margin-left:auto;background:#13224a;border:1px solid #3f7bd6;color:#fff;cursor:pointer;font:700 11px/1 ui-monospace,monospace;letter-spacing:.04em;padding:8px 13px;border-radius:8px;display:inline-flex;align-items:center;gap:7px;user-select:none;}.cf-bloom:hover{background:#1b2e5e;}.cf-bloom .cf-dot{width:8px;height:8px;border-radius:50%;background:"+ia.GOLD+";}.cf-stage{flex:1 1 0;position:relative;}.cf-svg{position:absolute;inset:0;width:100%;height:100%;display:block;}.cf-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;color:#7e90b6;font:600 12px/1.6 ui-monospace,monospace;padding:24px;}.cf-petal{transition:opacity .15s;}.cf-spoke{fill:none;stroke:"+ia.NAVY+";stroke-width:2;opacity:.45;transition:opacity .15s;}.cf-spoke.lit{opacity:.9;stroke-width:2.6;}.cf-spoke.dim{opacity:.06;}.cf-mesh{fill:none;stroke:"+ia.GOLD+";stroke-width:1.6;opacity:.5;stroke-linecap:round;transition:opacity .15s;}.cf-mesh.lit{opacity:.95;stroke-width:2.6;}.cf-mesh.dim{opacity:.05;}.cf-node{cursor:pointer;transition:opacity .15s;}.cf-node.dim{opacity:.2;}.cf-node circle{stroke:#0b1020;stroke-width:2;}.cf-node.hov circle{stroke:#fff;stroke-width:3;}.cf-node.fac circle{stroke:"+ia.GOLD+";stroke-width:3.5;}.cf-more circle{fill:"+ia.NAVY+";stroke:#3f7bd6;stroke-width:2;stroke-dasharray:4 4;}.cf-more text{fill:#cfe0ff;font:700 13px/1 ui-monospace,monospace;text-anchor:middle;}.cf-label{fill:#cdd9f2;font:600 12px/1 -apple-system,sans-serif;text-anchor:middle;paint-order:stroke;stroke:#0b1020;stroke-width:3px;pointer-events:none;}.cf-center-glow{opacity:.18;}.cf-center circle{stroke:#ffd9bd;stroke-width:3;}.cf-center-name{fill:#fff;font:800 18px/1 -apple-system,sans-serif;text-anchor:middle;paint-order:stroke;stroke:"+ia.RED_DK+";stroke-width:3px;}.cf-center-sub{fill:#ffe1cb;font:600 11px/1 ui-monospace,monospace;text-anchor:middle;}.cf-rings{position:absolute;left:10px;bottom:10px;z-index:25;background:rgba(8,12,24,.8);border:1px solid #1c2742;border-radius:8px;padding:7px 10px;font:600 10px/1.5 ui-monospace,monospace;color:#9fb3d9;}.cf-rings b{color:#dbe4f3;}.cf-tip{position:fixed;z-index:60;pointer-events:none;max-width:240px;background:#0e1730;border:1px solid #34508c;border-radius:9px;padding:9px 11px;box-shadow:0 6px 22px rgba(0,0,0,.55);font-size:11.5px;color:#dbe4f3;}.cf-tip strong{font-size:13px;color:#fff;}.cf-tip-sub{color:"+ia.GOLD+";font:600 10px/1.3 ui-monospace,monospace;margin:2px 0 6px;}.cf-tip-row{display:flex;gap:6px;line-height:1.5;}.cf-tip-k{color:#7e90b6;min-width:54px;}@media (max-width:720px){.cf-meta{display:none;}}","cockpit-flowercell"),(Y,ta)=>(z(),W("div",{class:"cpt-flower",onMousemove:sa},[f("div",Qb,[ta[1]||(ta[1]=f("span",{class:"cf-title"},"Bloom",-1)),x.value?(z(),W("span",a1,[f("b",null,X(x.value.center.country),1),ya(" · "+X(x.value.center.count)+" unreached · ",1),f("b",null,X(x.value.shown),1),ya("/"+X(x.value.total)+" senders ",1)])):fa("",!0),f("button",{class:"cf-bloom",type:"button",onClick:Sa},[ta[0]||(ta[0]=f("span",{class:"cf-dot"},null,-1)),ya(X(ha(n).mode.value==="flower"?"To map":"Bloom")+" ▸ ",1)])]),f("div",n1,[x.value?(z(),W("svg",{key:1,class:"cf-svg",viewBox:"0 0 "+Xe+" "+Xe,preserveAspectRatio:"xMidYMid meet"},[t.value>.05?(z(),W("g",t1,[(z(!0),W(Aa,null,Ua(x.value.nodes,aa=>Ed((z(),W("ellipse",{key:"pt-"+aa.id,class:"cf-petal",cx:O(aa)[0],cy:O(aa)[1],rx:"74",ry:"38",fill:aa.color,opacity:.13*t.value,transform:"rotate("+aa.ang+" "+O(aa)[0]+" "+O(aa)[1]+")"},null,8,o1)),[[Hp,aa.ring==="outer"&&!aa.isMore]])),128))])):fa("",!0),f("g",null,[(z(!0),W(Aa,null,Ua(x.value.nodes,aa=>(z(),W("path",{key:"sp-"+aa.id,class:Ia(["cf-spoke",{lit:l.value&&T(aa),dim:l.value&&!T(aa)}]),d:S(aa),"stroke-dasharray":K(aa)},null,10,r1))),128))]),f("g",null,[(z(!0),W(Aa,null,Ua(x.value.mesh,aa=>(z(),W("path",{key:aa.id,class:Ia(["cf-mesh",{lit:l.value&&$(aa),dim:l.value&&!$(aa)}]),d:v(aa)},null,10,l1))),128))]),f("g",null,[(z(!0),W(Aa,null,Ua(x.value.nodes,aa=>(z(),W("g",{key:"nd-"+aa.id,class:Ia(["cf-node",{dim:l.value&&!T(aa),hov:r.value===aa.id||ha(n).hoveredId.value===aa.id,fac:w(aa),"cf-more":aa.isMore}]),onClick:Xn(ba=>ga(aa),["stop"]),onMouseenter:ba=>q(aa,ba),onMouseleave:ea},[aa.isMore?(z(),W(Aa,{key:0},[f("circle",{cx:L(aa),cy:E(aa),r:aa.r},null,8,c1),f("text",{x:L(aa),y:E(aa)+4},"+"+X(aa.hidden),9,g1)],64)):(z(),W(Aa,{key:1},[f("circle",{cx:L(aa),cy:E(aa),r:aa.r,fill:aa.color},null,8,u1),r.value===aa.id||aa.r>=12?(z(),W("text",{key:0,class:"cf-label",x:L(aa),y:E(aa)+aa.r+14},X(aa.s.name),9,d1)):fa("",!0)],64))],42,s1))),128))]),f("g",p1,[f("circle",{class:"cf-center-glow",cx:I(),cy:G(),r:Mg+26,fill:x.value.center.color},null,8,m1),f("circle",{cx:I(),cy:G(),r:Mg,fill:x.value.center.color},null,8,h1),f("text",{class:"cf-center-name",x:I(),y:G()-1},X(x.value.center.country),9,y1),f("text",{class:"cf-center-sub",x:I(),y:G()+16},X(x.value.center.count)+" unreached",9,b1)])],8,i1)):(z(),W("div",e1,[...ta[2]||(ta[2]=[ya(" Pick a red target on the map —",-1),f("br",null,null,-1),ya("its reached neighbors bloom here as a flower. ",-1)])])),x.value?(z(),W("div",_1,[ta[3]||(ta[3]=f("b",null,"inner",-1)),ta[4]||(ta[4]=ya(" same-country · ",-1)),ta[5]||(ta[5]=f("b",null,"petals",-1)),ta[6]||(ta[6]=ya(" cross-border",-1)),ta[7]||(ta[7]=f("br",null,null,-1)),ta[8]||(ta[8]=ya(" navy = SEND · ",-1)),f("span",{style:Ka({color:ha(ia).GOLD})},"gold",4),ta[9]||(ta[9]=ya(" = same-language mesh ",-1))])):fa("",!0)]),s.value.show?(z(),W("div",{key:0,class:"cf-tip",style:Ka({left:s.value.x+14+"px",top:s.value.y+14+"px"}),innerHTML:s.value.html},null,12,f1)):fa("",!0)],32))}},v1={class:"cpt-list",style:{"container-type":"inline-size"}},A1={class:"cpt-l-head"},S1={class:"cpt-l-title"},E1={key:0,class:"cpt-l-sub"},M1={class:"cpt-l-badge"},I1={key:0,class:"cpt-l-hidden"},w1={key:1,class:"cpt-l-sorts"},x1=["onClick"],T1={key:0,class:"cpt-l-actions"},N1={class:"cpt-l-selall"},L1=["checked"],R1={key:0,class:"cpt-l-selcount"},$1=["disabled"],F1=["disabled"],K1=["data-sid","onMouseenter","onClick"],B1=["checked","onChange"],O1=["title"],U1={class:"cpt-l-body"},H1=["title"],D1={class:"cpt-l-meta"},z1={class:"cpt-l-lang"},V1={key:0,class:"cpt-l-rol3"},Y1=["title"],W1=["title"],J1={class:"cpt-l-right"},Z1={class:"cpt-l-pop"},q1=["onClick"],X1={key:0},Q1={key:0},a3={key:1},n3={key:2,class:"cpt-l-empty"},e3={key:0,class:"sm"},i3={key:1,class:"sm"},t3={key:3,class:"cpt-l-empty"},o3={class:"sm"},r3={__name:"ListCell",setup(a){const n=Ft(),e=la(()=>n.listRows.value),i=la(()=>n.focusedTarget.value),t=la(()=>n.counts.value),o=la(()=>n.sortKey.value),r=la(()=>{const na=i.value;return na&&(na.target_top_langs&&na.target_top_langs.length?na.target_top_langs:na.langs||[])[0]||""}),l=la(()=>{const na=i.value;if(!na)return"Pick a red target to build a send list";const u=e.value.length,A=r.value?" — they speak "+r.value:"";return"Send "+u.toLocaleString()+" reached neighbor"+(u===1?"":"s")+" INTO "+na.country+A}),s=la(()=>i.value&&i.value.senderCount||0),g=la(()=>t.value.hidden||0),d=[{key:"mobilization",label:"Mobilization"},{key:"pct",label:"%Christian"},{key:"pop",label:"Population"},{key:"bridge",label:"Bridge"},{key:"name",label:"Name"},{key:"frontier",label:"Frontier first"}];function _(na){n.setSort(na)}const k=ua(new Set);function x(na){const u=new Set(k.value);u.has(na)?u.delete(na):u.add(na),k.value=u,G.value=""}const D=la(()=>e.value.filter(na=>k.value.has(na.id))),T=la(()=>D.value.length),$=la(()=>e.value.length>0&&e.value.every(na=>k.value.has(na.id)));function w(){k.value=$.value?new Set:new Set(e.value.map(na=>na.id)),G.value=""}function L(){k.value=new Set,G.value=""}const E=la(()=>T.value?D.value:e.value);function I(){E.value.length&&(n.exportSelectionCSV(E.value),G.value="CSV downloaded ("+E.value.length+")",v())}const G=ua("");let S=null;function v(){S&&clearTimeout(S),S=setTimeout(()=>{G.value=""},1900)}function K(na){const u=i.value,A="Send list — "+(u?u.country:"all targets")+(r.value?" ("+r.value+")":"")+" · "+na.length+" senders",j=na.map(c=>c.name+" · "+c.country+" · "+c.lang+(c.rol3?" ("+c.rol3+")":"")+" · "+Math.round(c.pct)+"% Christian · "+_e(c.pop)+" · "+c.bridge);return A+` +`+j.join(` +`)+` +`}function O(na){try{const u=document.createElement("textarea");u.value=na,u.style.position="fixed",u.style.opacity="0",u.style.top="0",document.body.appendChild(u),u.focus(),u.select();const A=document.execCommand&&document.execCommand("copy");return document.body.removeChild(u),!!A}catch{return!1}}async function q(){const na=E.value;if(!na.length)return;const u=K(na);let A=!1;try{navigator.clipboard&&navigator.clipboard.writeText?(await navigator.clipboard.writeText(u),A=!0):A=O(u)}catch{A=O(u)}G.value=A?"Copied ("+na.length+")":"Copy failed — press Ctrl/Cmd-C",v()}function sa(na){typeof n.setHover=="function"&&n.setHover(na)}const ea=la(()=>n.hoveredSenderId&&typeof n.hoveredSenderId=="object"?n.hoveredSenderId.value:null),ga=ua(null);cn(ea,na=>{!na||!ga.value||bi(()=>{const u=ga.value&&ga.value.querySelector('[data-sid="'+Sa(na)+'"]');u&&typeof u.scrollIntoView=="function"&&u.scrollIntoView({block:"nearest"})})});function Sa(na){return String(na).replace(/["\\]/g,"\\$&")}function Ma(na){sa(ea.value===na?null:na)}const ma=ua(null);function pa(na){ma.value=ma.value===na?null:na}function Y(na){return qe(na)}function ta(na){return yr[$t(na)]}function aa(na){const u=br(na);return u===null?"solid":u[0]===4?"dashed":"dotted"}function ba(na){return Math.round(+na||0)+"%"}return On(` +.cpt-list{position:absolute;inset:0;display:flex;flex-direction:column;background:#ffffff; + color:${ia.NAVY};font:400 12px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; + overflow:hidden} +.cpt-list *{box-sizing:border-box} + +/* header */ +.cpt-l-head{flex:0 0 auto;padding:8px 10px 6px;border-bottom:1px solid #e6eaf2;background:#fbfcfe} +.cpt-l-title{font-size:12.5px;font-weight:700;color:${ia.NAVY};line-height:1.35} +.cpt-l-sub{margin-top:3px;display:flex;align-items:center;gap:6px;flex-wrap:wrap; + font-size:10.5px;color:#5b6577} +.cpt-l-badge{display:inline-flex;align-items:center;gap:5px;font-weight:700;font-size:10px; + letter-spacing:.03em;text-transform:uppercase;color:${ia.NAVY}; + background:rgba(0,46,110,.08);border:1px solid rgba(0,46,110,.18); + padding:2px 7px;border-radius:999px} +.cpt-l-badge b{font-size:11px} +.cpt-l-hidden{color:#9aa3b2} + +/* sort row */ +.cpt-l-sorts{display:flex;gap:4px;flex-wrap:wrap;margin-top:7px} +.cpt-l-sort{cursor:pointer;border:1px solid #d6dceb;background:#fff;color:#4a5468; + font:600 10px/1 ui-monospace,monospace;padding:5px 8px;border-radius:7px;white-space:nowrap} +.cpt-l-sort:hover{border-color:${ia.NAVY};color:${ia.NAVY}} +.cpt-l-sort.active{background:${ia.NAVY};border-color:${ia.NAVY};color:#fff} +.cpt-l-sort.frontier.active{background:${ia.GOLD};border-color:${ia.GOLD};color:#3a2a00} + +/* action bar */ +.cpt-l-actions{flex:0 0 auto;display:flex;align-items:center;gap:6px;flex-wrap:wrap; + padding:6px 10px;border-bottom:1px solid #eef1f7;background:#fff} +.cpt-l-selall{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;color:#5b6577; + cursor:pointer;user-select:none} +.cpt-l-selcount{font-weight:700;color:${ia.NAVY}} +.cpt-l-btn{margin-left:0;cursor:pointer;border:1px solid #cdd5e6;background:#fff; + color:${ia.NAVY};font:600 11px/1 ui-monospace,monospace;padding:7px 10px;border-radius:8px} +.cpt-l-btn:hover{border-color:${ia.NAVY};background:rgba(0,46,110,.06)} +.cpt-l-btn:disabled{opacity:.45;cursor:not-allowed} +.cpt-l-btn.primary{background:${ia.NAVY};border-color:${ia.NAVY};color:#fff} +.cpt-l-btn.primary:hover{background:#013a8a} +.cpt-l-btn.ghost{color:#7b8498;border-color:#e0e5f0} +.cpt-l-spacer{flex:1 1 auto} +.cpt-l-flash{font-size:10px;color:#0f7a3d;min-height:12px;white-space:nowrap} +.cpt-l-flash.warn{color:${ia.RED}} + +/* rows */ +.cpt-l-rows{flex:1 1 auto;overflow:auto;padding:2px 0} +.cpt-l-row{display:grid;grid-template-columns:auto 12px 1fr auto;align-items:center;gap:8px; + padding:6px 10px;border-bottom:1px solid #f1f3f8;cursor:pointer;position:relative} +.cpt-l-row:hover,.cpt-l-row.hovered{background:rgba(245,158,11,.10)} +.cpt-l-row.hovered{box-shadow:inset 3px 0 0 0 ${ia.GOLD}} +.cpt-l-row.picked{background:rgba(0,46,110,.05)} +.cpt-l-chk{width:15px;height:15px;cursor:pointer;accent-color:${ia.NAVY};margin:0} +.cpt-l-swatch{width:12px;height:12px;border-radius:3px;border:1px solid rgba(0,0,0,.18)} +.cpt-l-body{min-width:0} +.cpt-l-name{font-weight:700;font-size:12px;color:${ia.NAVY}; + white-space:nowrap;overflow:hidden;text-overflow:ellipsis} +.cpt-l-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:2px; + font-size:10px;color:#6b7587} +.cpt-l-meta .sep{color:#c4ccda} +.cpt-l-lang{font-family:ui-monospace,monospace} +.cpt-l-rol3{color:#9aa3b2} +.cpt-l-right{display:flex;align-items:center;gap:8px;justify-self:end;white-space:nowrap} +.cpt-l-pct{font-weight:700;font-size:11.5px;font-family:ui-monospace,monospace} +.cpt-l-pop{font-size:10px;color:#6b7587;font-family:ui-monospace,monospace;min-width:34px;text-align:right} + +/* chips */ +.cpt-l-chip{display:inline-flex;align-items:center;gap:4px;font-size:9.5px; + padding:1px 6px;border-radius:999px;border:1px solid #dde3ef;color:#4a5468;background:#f7f9fc; + white-space:nowrap} +.cpt-l-chip.relig{border-color:#e3dcf0;background:#f6f3fc;color:#5b4a86} +.cpt-l-bridgeline{display:inline-block;width:14px;height:0; + border-top:2px solid ${ia.NAVY}} +.cpt-l-info{flex:0 0 auto;width:16px;height:16px;border-radius:50%;cursor:pointer; + border:1px solid #d6dceb;background:#fff;color:#7b8498;font:700 10px/14px ui-monospace,monospace; + text-align:center} +.cpt-l-info:hover,.cpt-l-info.on{border-color:${ia.NAVY};color:${ia.NAVY}} + +/* pinned tooltip */ +.cpt-l-tip{grid-column:1 / -1;margin-top:6px;padding:7px 9px;border-radius:8px; + background:${ia.NAVY};color:#eef3fb;font-size:10px;line-height:1.5} +.cpt-l-tip dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:2px 10px} +.cpt-l-tip dt{color:#9fb6db;font-weight:600} +.cpt-l-tip dd{margin:0;color:#eef3fb;word-break:break-word} + +/* empty / placeholder states */ +.cpt-l-empty{flex:1 1 auto;display:flex;flex-direction:column;align-items:center; + justify-content:center;gap:6px;text-align:center;color:#8a93a5;padding:24px} +.cpt-l-empty .big{font-size:13px;font-weight:700;color:${ia.NAVY}} +.cpt-l-empty .sm{font-size:11px} + +/* container-query polish for narrow frames */ +@container (max-width: 420px){ + .cpt-l-pop{display:none} + .cpt-l-meta .relig{display:none} +} +`,"cockpit-listcell"),(na,u)=>(z(),W("div",v1,[f("div",A1,[f("div",S1,X(l.value),1),i.value?(z(),W("div",E1,[f("span",M1,[f("b",null,X(s.value.toLocaleString()),1),u[3]||(u[3]=ya(" senders available ",-1))]),g.value?(z(),W("span",I1,"· "+X(g.value.toLocaleString())+" hidden by filters",1)):fa("",!0)])):fa("",!0),i.value?(z(),W("div",w1,[(z(),W(Aa,null,Ua(d,A=>f("button",{key:A.key,class:Ia(["cpt-l-sort",{active:o.value===A.key,frontier:A.key==="frontier"}]),type:"button",onClick:j=>_(A.key)},X(A.label),11,x1)),64))])):fa("",!0)]),i.value&&e.value.length?(z(),W("div",T1,[f("label",N1,[f("input",{class:"cpt-l-chk",type:"checkbox",checked:$.value,onChange:w},null,40,L1),u[4]||(u[4]=ya(" Build send list ",-1)),T.value?(z(),W("span",R1,"("+X(T.value)+")",1)):fa("",!0)]),u[5]||(u[5]=f("span",{class:"cpt-l-spacer"},null,-1)),f("span",{class:Ia(["cpt-l-flash",{warn:G.value.indexOf("fail")!==-1}])},X(G.value),3),T.value?(z(),W("button",{key:0,class:"cpt-l-btn ghost",type:"button",onClick:L},"Clear")):fa("",!0),f("button",{class:"cpt-l-btn",type:"button",disabled:!E.value.length,onClick:q},"Copy",8,$1),f("button",{class:"cpt-l-btn primary",type:"button",disabled:!E.value.length,onClick:I}," Export "+X(T.value?"selection":"all")+" · CSV ",9,F1)])):fa("",!0),i.value&&e.value.length?(z(),W("div",{key:1,class:"cpt-l-rows",ref_key:"rowsEl",ref:ga},[(z(!0),W(Aa,null,Ua(e.value,A=>(z(),W("div",{key:A.id,class:Ia(["cpt-l-row",{hovered:ea.value===A.id,picked:k.value.has(A.id)}]),"data-sid":A.id,onMouseenter:j=>sa(A.id),onMouseleave:u[2]||(u[2]=j=>sa(null)),onClick:j=>Ma(A.id)},[f("input",{class:"cpt-l-chk",type:"checkbox",checked:k.value.has(A.id),onClick:u[0]||(u[0]=Xn(()=>{},["stop"])),onChange:j=>x(A.id)},null,40,B1),f("span",{class:"cpt-l-swatch",style:Ka({background:Y(A.pct)}),title:ta(A.pct)},null,12,O1),f("div",U1,[f("div",{class:"cpt-l-name",title:A.name},X(A.name),9,H1),f("div",D1,[f("span",null,X(A.country),1),u[6]||(u[6]=f("span",{class:"sep"},"·",-1)),f("span",z1,[ya(X(A.lang),1),A.rol3?(z(),W("span",V1," ("+X(A.rol3)+")",1)):fa("",!0)]),f("span",{class:"cpt-l-chip",title:"bridge: "+A.bridge},[f("span",{class:"cpt-l-bridgeline",style:Ka({borderTopStyle:aa(A.bridge)})},null,4),ya(" "+X(A.bridge),1)],8,Y1),f("span",{class:"cpt-l-chip relig",title:A.religion_bg},X(A.religionFamily),9,W1)])]),f("div",J1,[f("span",{class:"cpt-l-pct",style:Ka({color:Y(A.pct)})},X(ba(A.pct)),5),f("span",Z1,X(ha(_e)(A.pop)),1),f("button",{class:Ia(["cpt-l-info",{on:ma.value===A.id}]),type:"button",title:"Details",onClick:Xn(j=>pa(A.id),["stop"])},"i",10,q1)]),ma.value===A.id?(z(),W("div",{key:0,class:"cpt-l-tip",onClick:u[1]||(u[1]=Xn(()=>{},["stop"]))},[f("dl",null,[u[7]||(u[7]=f("dt",null,"People group",-1)),f("dd",null,X(A.name),1),u[8]||(u[8]=f("dt",null,"Country",-1)),f("dd",null,X(A.country),1),u[9]||(u[9]=f("dt",null,"Language",-1)),f("dd",null,[ya(X(A.lang),1),A.rol3?(z(),W("span",X1," · "+X(A.rol3),1)):fa("",!0)]),u[10]||(u[10]=f("dt",null,"%Christian",-1)),f("dd",null,X(ba(A.pct))+" · "+X(ta(A.pct)),1),u[11]||(u[11]=f("dt",null,"Population",-1)),f("dd",null,X(ha(_e)(A.pop)),1),u[12]||(u[12]=f("dt",null,"Bridge",-1)),f("dd",null,X(A.bridge),1),u[13]||(u[13]=f("dt",null,"Adjacency",-1)),f("dd",null,X(A.adjacency),1),u[14]||(u[14]=f("dt",null,"Religion",-1)),f("dd",null,X(A.religion_bg||A.religionFamily),1),A.code?(z(),W("dt",Q1,"Code")):fa("",!0),A.code?(z(),W("dd",a3,X(A.code),1)):fa("",!0)])])):fa("",!0)],42,K1))),128))],512)):i.value?(z(),W("div",n3,[u[15]||(u[15]=f("div",{class:"big"},"No senders match the current filters",-1)),g.value?(z(),W("div",e3,X(g.value.toLocaleString())+" senders hidden — clear a facet to see them",1)):(z(),W("div",i3,"This target has no reached neighbors in the baked set yet"))])):(z(),W("div",t3,[u[16]||(u[16]=f("div",{class:"big"},"Pick a red target",-1)),f("div",o3,X(t.value.clusters.toLocaleString())+" unreached clusters · "+X(t.value.senders.toLocaleString())+" reached senders nearby",1),u[17]||(u[17]=f("div",{class:"sm"},"Tap a red bubble on the map to build its send list.",-1))]))]))}},l3={class:"cpt-cs"},s3={class:"cs-controls"},c3={class:"cs-searchwrap"},g3=["value"],u3={key:0,class:"cs-suggest",role:"listbox"},d3=["onMousedown"],p3={class:"cs-tag"},m3={class:"cs-lens"},h3=["value"],y3=["value"],b3={class:"cs-colorby",role:"group","aria-label":"Color reached senders by"},_3={class:"cs-grid"},f3={class:"cs-card"},P3=["viewBox"],C3=["onClick"],j3=["x","y"],k3=["x","y","width","height"],G3=["x","y"],v3={key:1,class:"cs-empty"},A3={class:"cs-card"},S3=["viewBox"],E3=["onClick"],M3=["x","y"],I3=["x","y","width","height"],w3=["x","y"],x3={key:1,class:"cs-empty"},T3={class:"cs-card"},N3=["viewBox"],L3=["x2"],R3=["onClick"],$3=["x","y","width","height","fill"],F3=["x","y"],K3=["x","y"],B3={class:"cs-card"},O3={class:"cs-donutwrap"},U3={key:0,class:"cs-donut",viewBox:"0 0 160 160",preserveAspectRatio:"xMidYMid meet",role:"img","aria-label":"Donut by category"},H3=["d","fill","onClick"],D3={class:"cs-dctr",x:"80",y:"84","text-anchor":"middle"},z3={class:"cs-legend"},V3=["onClick"],Y3={key:0,class:"cs-empty"},Ig=300,Qe=15,Pr=5,Dt=94,W3=150,Cr=230,J3=120,Z3=10,Oi=96,jr=12,q3=80,X3=80,ai=70,ni=42,Q3={__name:"ChartStrip",setup(a){const n=Ft(),e=ua(!1),i=[0,10,25,50,75],t=(G,S)=>{const v=String(G??"");return v.length>S?v.slice(0,S-1)+"…":v},o=la(()=>n.chartData.value),r=la(()=>n.colorBy.value==="religion"?"religions":"bridges"),l=la(()=>{const G=new Map;for(const S of n.allSenders.value){const v=S.lang||"—";G.set(v,(G.get(v)||0)+1)}return[...G.entries()].map(([S,v])=>({lang:S,count:v})).sort((S,v)=>v.count-S.count)}),s=la(()=>{const G=n.search.value.trim().toLowerCase();if(G.length<1)return[];const S=[];for(const v of n.allClusters.value)if(v.country.toLowerCase().includes(G)&&(S.push({type:"target",label:v.country+" · "+v.count+" unreached",value:v.id,targetId:v.id}),S.length>=6))break;for(const v of l.value)if(v.lang.toLowerCase().includes(G)&&(S.push({type:"lang",label:v.lang+" · "+v.count+" senders",value:v.lang}),S.length>=9))break;for(const v of n.allSenders.value)if(v.name.toLowerCase().includes(G)&&(S.push({type:"sender",label:v.name+" → "+v.country,value:v.name,targetId:v.targetId}),S.length>=13))break;return S.slice(0,11)});function g(G,S){const v=n.facets.value[S],K=v&&v.size>0;let O=1;for(const q of G)q.value>O&&(O=q.value);return G.map((q,sa)=>{const ea=Math.max(2,q.value/O*W3),ga=v?v.has(q.key):!1;return{key:q.key,label:q.label,value:q.value,y:sa*(Qe+Pr),h:Qe,x:Dt,w:ea,ty:sa*(Qe+Pr)+Qe-4,vx:Dt+ea+4,active:ga,dim:K&&!ga}})}const d=G=>Math.max(Qe,G.length*(Qe+Pr)),_=la(()=>g(o.value.languageBar,"languages")),k=la(()=>g(o.value.countryBar,"countries")),x=la(()=>{const G=o.value.reachedHist;let S=1;for(const ea of G)ea.value>S&&(S=ea.value);const v=G.length,K=(Cr-jr-8)/v,O=K*.7,q=n.facets.value.reachedMin,sa=Oi-Z3;return G.map((ea,ga)=>{const Sa=ea.value/S*sa,Ma=jr+ga*K+(K-O)/2,ma=i[ga],pa=q!=null&&q===ma;return{key:ga,label:yr[ga],value:ea.value,color:ea.color,x:Ma,w:O,y:Oi-Sa,h:Sa,cx:Ma+O/2,min:ma,active:pa,dim:q!=null&&q!==ma&&ma>0}})});function D(G){G.min<=0||n.facets.value.reachedMin===G.min?n.setReachedMin(null):n.setReachedMin(G.min)}function T(G,S){const v=(q,sa)=>q3+q*Math.cos(sa),K=(q,sa)=>X3+q*Math.sin(sa),O=S-G>Math.PI?1:0;return"M"+v(ai,G)+" "+K(ai,G)+" A"+ai+" "+ai+" 0 "+O+" 1 "+v(ai,S)+" "+K(ai,S)+" L"+v(ni,S)+" "+K(ni,S)+" A"+ni+" "+ni+" 0 "+O+" 0 "+v(ni,G)+" "+K(ni,G)+" Z"}const $=la(()=>{const G=o.value.donut,S=n.facets.value[r.value],v=S&&S.size>0;let K=0;for(const q of G)K+=q.value;K=K||1;let O=-Math.PI/2;return G.map(q=>{let sa=q.value/K*Math.PI*2;sa>=Math.PI*2&&(sa=Math.PI*2-1e-4);const ea=O,ga=O+sa;O=ga;const Sa=S?S.has(q.key):!1;return{key:q.key,label:q.label,value:q.value,color:q.color,path:T(ea,ga),active:Sa,dim:v&&!Sa}})}),w=la(()=>$.value.reduce((G,S)=>G+S.value,0));function L(G){n.setSearch(G.target.value),e.value=!0}function E(G){G.type==="target"?(n.selectTarget(G.targetId),n.setSearch("")):(G.type==="sender"&&G.targetId&&n.selectTarget(G.targetId),n.setSearch(G.value)),e.value=!1}function I(G){n.setLanguageLens(G.target.value||null)}return On(` + .cpt-cs{position:absolute;inset:0;display:flex;flex-direction:column;overflow:auto; + background:#f8fafc;color:${ia.NAVY}; + font:600 11px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;} + + /* control bar */ + .cs-controls{position:sticky;top:0;z-index:20;display:flex;flex-wrap:wrap;align-items:center; + gap:8px;padding:8px 10px;background:rgba(248,250,252,.96);border-bottom:1px solid #e2e8f0;} + .cs-searchwrap{position:relative;flex:1 1 180px;min-width:140px;} + .cs-search{width:100%;box-sizing:border-box;padding:6px 9px;border:1px solid #cbd5e1;border-radius:8px; + background:#fff;color:${ia.NAVY};font:600 11px/1.2 ui-monospace,monospace;outline:none;} + .cs-search:focus{border-color:${ia.NAVY};box-shadow:0 0 0 2px rgba(0,46,110,.12);} + .cs-suggest{position:absolute;left:0;right:0;top:calc(100% + 3px);z-index:60;margin:0;padding:4px; + list-style:none;background:#fff;border:1px solid #cbd5e1;border-radius:8px; + box-shadow:0 8px 22px rgba(0,0,0,.16);max-height:230px;overflow:auto;} + .cs-suggest li{display:flex;align-items:center;gap:6px;padding:5px 7px;border-radius:6px;cursor:pointer; + font:600 11px/1.25 ui-monospace,monospace;color:${ia.NAVY};} + .cs-suggest li:hover{background:#eef2f7;} + .cs-tag{flex:0 0 auto;font:700 8px/1 ui-monospace,monospace;letter-spacing:.5px;color:#fff; + padding:2px 4px;border-radius:4px;background:#94a3b8;} + .cs-suggest li.t-target .cs-tag{background:${ia.RED};} + .cs-suggest li.t-lang .cs-tag{background:${ia.GOLD};} + .cs-suggest li.t-sender .cs-tag{background:${ia.NAVY};} + + .cs-lens{display:inline-flex;align-items:center;gap:5px;font:700 10px/1 ui-monospace,monospace;color:#475569;} + .cs-lens select{padding:5px 6px;border:1px solid #cbd5e1;border-radius:7px;background:#fff; + color:${ia.NAVY};font:600 10px/1.1 ui-monospace,monospace;max-width:140px;} + .cs-colorby{display:inline-flex;align-items:center;gap:4px;font:700 10px/1 ui-monospace,monospace;color:#475569;} + .cs-colorby button{border:1px solid #cbd5e1;background:#fff;color:#475569;cursor:pointer; + font:700 10px/1 ui-monospace,monospace;padding:5px 8px;border-radius:7px;} + .cs-colorby button.on{background:${ia.NAVY};color:#fff;border-color:${ia.NAVY};} + + /* charts grid */ + .cs-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px 10px 12px;} + @container (max-width:520px){ .cs-grid{grid-template-columns:1fr;} } + .cs-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #e2e8f0; + border-radius:10px;padding:7px 8px;} + .cs-card header{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px;} + .cs-card h4{margin:0;font:700 10px/1.2 ui-monospace,monospace;letter-spacing:.3px; + text-transform:uppercase;color:#475569;} + .cs-clr{border:0;background:transparent;color:${ia.RED};cursor:pointer; + font:700 9px/1 ui-monospace,monospace;padding:2px 4px;} + .cs-clr:hover{text-decoration:underline;} + .cs-svg{width:100%;height:auto;display:block;} + .cs-empty{margin:8px 0;color:#94a3b8;font:600 10px/1 ui-monospace,monospace;text-align:center;} + + /* horizontal bars */ + .cs-barrow{cursor:pointer;} + .cs-bar{fill:${ia.NAVY};transition:opacity .15s;} + .cs-bar--country{fill:#1f5fa8;} + .cs-barrow:hover .cs-bar{fill:${ia.GOLD};} + .cs-barrow.active .cs-bar{fill:${ia.GOLD};} + .cs-barrow.dim{opacity:.4;} + .cs-blabel{fill:#334155;font:600 9px/1 ui-monospace,monospace;} + .cs-bval{fill:#64748b;font:600 8.5px/1 ui-monospace,monospace;dominant-baseline:alphabetic;} + .cs-barrow.active .cs-blabel,.cs-barrow.active .cs-bval{fill:${ia.NAVY};} + + /* histogram */ + .cs-axis{stroke:#cbd5e1;stroke-width:1;} + .cs-histbar{cursor:pointer;transition:opacity .15s;} + .cs-histbar rect{stroke:#fff;stroke-width:.5;} + .cs-histbar:hover rect{stroke:${ia.NAVY};stroke-width:1.5;} + .cs-histbar.active rect{stroke:${ia.GOLD};stroke-width:2;} + .cs-histbar.dim{opacity:.4;} + .cs-hval{fill:#334155;font:700 8px/1 ui-monospace,monospace;} + .cs-hlabel{fill:#64748b;font:600 6.5px/1 ui-monospace,monospace;} + + /* donut */ + .cs-donutwrap{display:flex;align-items:center;gap:8px;} + .cs-donut{flex:0 0 96px;width:96px;height:96px;} + .cs-arc{cursor:pointer;stroke:#fff;stroke-width:1;transition:opacity .15s;} + .cs-arc:hover{stroke:${ia.NAVY};stroke-width:1.5;} + .cs-arc.active{stroke:${ia.GOLD};stroke-width:2.5;} + .cs-arc.dim{opacity:.4;} + .cs-dctr{fill:${ia.NAVY};font:700 16px/1 ui-monospace,monospace;} + .cs-legend{flex:1 1 auto;margin:0;padding:0;list-style:none;max-height:104px;overflow:auto;min-width:0;} + .cs-legend li{display:flex;align-items:center;gap:5px;padding:2px 2px;cursor:pointer;border-radius:4px; + font:600 9.5px/1.3 ui-monospace,monospace;color:#334155;white-space:nowrap;overflow:hidden;} + .cs-legend li:hover{background:#eef2f7;} + .cs-legend li.active{color:${ia.NAVY};font-weight:800;} + .cs-legend li.dim{opacity:.45;} + .cs-legend li i{flex:0 0 auto;width:10px;height:10px;border-radius:3px;border:1px solid rgba(0,0,0,.12);} + .cs-legend li b{margin-left:auto;color:#64748b;} +`,"chartstrip"),(G,S)=>(z(),W("div",l3,[f("div",s3,[f("div",c3,[f("input",{class:"cs-search",type:"search",value:ha(n).search.value,onInput:L,onFocus:S[0]||(S[0]=v=>e.value=!0),onBlur:S[1]||(S[1]=v=>e.value=!1),placeholder:"Search target / language / sender…","aria-label":"Search and brush"},null,40,g3),e.value&&s.value.length?(z(),W("ul",u3,[(z(!0),W(Aa,null,Ua(s.value,(v,K)=>(z(),W("li",{key:K,class:Ia("t-"+v.type),role:"option",onMousedown:Xn(O=>E(v),["prevent"])},[f("span",p3,X(v.type==="target"?"RED":v.type==="lang"?"LANG":"SEND"),1),ya(" "+X(v.label),1)],42,d3))),128))])):fa("",!0)]),f("label",m3,[S[9]||(S[9]=f("span",null,"Lens",-1)),f("select",{value:ha(n).languageLens.value||"",onChange:I,"aria-label":"Language lens"},[S[8]||(S[8]=f("option",{value:""},"— no lens —",-1)),(z(!0),W(Aa,null,Ua(l.value.slice(0,40),v=>(z(),W("option",{key:v.lang,value:v.lang},X(v.lang)+" ("+X(v.count)+") ",9,y3))),128))],40,h3)]),f("div",b3,[S[10]||(S[10]=f("span",null,"Color",-1)),f("button",{class:Ia({on:ha(n).colorBy.value==="pct"}),onClick:S[2]||(S[2]=v=>ha(n).setColorBy("pct"))},"% reached",2),f("button",{class:Ia({on:ha(n).colorBy.value==="religion"}),onClick:S[3]||(S[3]=v=>ha(n).setColorBy("religion"))},"religion",2)])]),f("div",_3,[f("section",f3,[f("header",null,[S[11]||(S[11]=f("h4",null,"Sender language",-1)),ha(n).facets.value.languages.size?(z(),W("button",{key:0,class:"cs-clr",onClick:S[4]||(S[4]=v=>ha(n).facets.value.languages.forEach(K=>ha(n).toggleFacet("languages",K)))},"clear")):fa("",!0)]),_.value.length?(z(),W("svg",{key:0,class:"cs-svg",viewBox:"0 0 "+Ig+" "+d(o.value.languageBar),preserveAspectRatio:"xMinYMin meet",role:"img","aria-label":"Senders by language"},[(z(!0),W(Aa,null,Ua(_.value,v=>(z(),W("g",{key:v.key,class:Ia(["cs-barrow",{active:v.active,dim:v.dim}]),onClick:K=>ha(n).toggleFacet("languages",v.key)},[f("text",{class:"cs-blabel",x:Dt-4,y:v.ty,"text-anchor":"end"},X(t(v.label,13)),9,j3),f("rect",{class:"cs-bar",x:v.x,y:v.y,width:v.w,height:v.h},null,8,k3),f("text",{class:"cs-bval",x:v.vx,y:v.ty},X(v.value),9,G3)],10,C3))),128))],8,P3)):(z(),W("p",v3,"no senders"))]),f("section",A3,[f("header",null,[S[12]||(S[12]=f("h4",null,"Sender country",-1)),ha(n).facets.value.countries.size?(z(),W("button",{key:0,class:"cs-clr",onClick:S[5]||(S[5]=v=>ha(n).facets.value.countries.forEach(K=>ha(n).toggleFacet("countries",K)))},"clear")):fa("",!0)]),k.value.length?(z(),W("svg",{key:0,class:"cs-svg",viewBox:"0 0 "+Ig+" "+d(o.value.countryBar),preserveAspectRatio:"xMinYMin meet",role:"img","aria-label":"Senders by country"},[(z(!0),W(Aa,null,Ua(k.value,v=>(z(),W("g",{key:v.key,class:Ia(["cs-barrow cs-barrow--country",{active:v.active,dim:v.dim}]),onClick:K=>ha(n).toggleFacet("countries",v.key)},[f("text",{class:"cs-blabel",x:Dt-4,y:v.ty,"text-anchor":"end"},X(t(v.label,13)),9,M3),f("rect",{class:"cs-bar cs-bar--country",x:v.x,y:v.y,width:v.w,height:v.h},null,8,I3),f("text",{class:"cs-bval",x:v.vx,y:v.ty},X(v.value),9,w3)],10,E3))),128))],8,S3)):(z(),W("p",x3,"no senders"))]),f("section",T3,[f("header",null,[S[13]||(S[13]=f("h4",null,"% reached (quantile)",-1)),ha(n).facets.value.reachedMin!=null?(z(),W("button",{key:0,class:"cs-clr",onClick:S[6]||(S[6]=v=>ha(n).setReachedMin(null))},"clear")):fa("",!0)]),(z(),W("svg",{class:"cs-svg",viewBox:"0 0 "+Cr+" "+J3,preserveAspectRatio:"xMidYMid meet",role:"img","aria-label":"Reached percent histogram"},[f("line",{class:"cs-axis",x1:jr,y1:Oi,x2:Cr-4,y2:Oi},null,8,L3),(z(!0),W(Aa,null,Ua(x.value,v=>(z(),W("g",{key:v.key,class:Ia(["cs-histbar",{active:v.active,dim:v.dim}]),onClick:K=>D(v)},[f("rect",{x:v.x,y:v.y,width:v.w,height:v.h,fill:v.color},null,8,$3),f("text",{class:"cs-hval",x:v.cx,y:v.y-3,"text-anchor":"middle"},X(v.value),9,F3),f("text",{class:"cs-hlabel",x:v.cx,y:Oi+12,"text-anchor":"middle"},X(v.label),9,K3)],10,R3))),128))],8,N3))]),f("section",B3,[f("header",null,[f("h4",null,X(ha(n).colorBy.value==="religion"?"Religion family":"Bridge type"),1),ha(n).facets.value[r.value].size?(z(),W("button",{key:0,class:"cs-clr",onClick:S[7]||(S[7]=v=>ha(n).facets.value[r.value].forEach(K=>ha(n).toggleFacet(r.value,K)))},"clear")):fa("",!0)]),f("div",O3,[w.value?(z(),W("svg",U3,[(z(!0),W(Aa,null,Ua($.value,v=>(z(),W("path",{key:v.key,class:Ia(["cs-arc",{active:v.active,dim:v.dim}]),d:v.path,fill:v.color,onClick:K=>ha(n).toggleFacet(r.value,v.key)},null,10,H3))),128)),f("text",D3,X(w.value),1)])):fa("",!0),f("ul",z3,[(z(!0),W(Aa,null,Ua($.value,v=>(z(),W("li",{key:v.key,class:Ia({active:v.active,dim:v.dim}),onClick:K=>ha(n).toggleFacet(r.value,v.key)},[f("i",{style:Ka({background:v.color})},null,4),ya(X(t(v.label,16))+" ",1),f("b",null,X(v.value),1)],10,V3))),128))])]),w.value?fa("",!0):(z(),W("p",Y3,"no senders"))])])]))}},a_={class:"cpt-header"},n_={class:"cpt-chips"},e_=["onClick","title"],i_=["value"],t_={class:"cpt-counter"},o_=["title"],r_={class:"cpt-cell map"},l_={class:"cpt-cell flower"},s_={class:"cpt-seg",role:"tablist","aria-label":"Map or flower view"},c_={class:"cpt-lower"},g_={class:"cpt-cell"},u_={class:"cpt-cell"},d_={class:"cpt-legend"},p_={class:"cpt-lg"},m_={class:"cpt-lg"},h_={class:"cpt-ramp"},y_={class:"cpt-lg"},b_={class:"cpt-lg"},__={key:0,class:"cpt-overlay"},f_={key:1,class:"cpt-overlay err"},wg={__name:"bloom-cockpit",setup(a){const n=Ya("profileConfig"),e=Ya("mapboxToken"),i=la(()=>(n==null?void 0:n.value)||{}),t=Tb();vn("cockpitStore",t);const o=ua(null);Rn(()=>{var s,g,d;if(t.loadData({...i.value,tk:(e==null?void 0:e.value)||i.value.tk}),i.value.debugExpose&&typeof window<"u")try{(((d=(g=(s=o.value)==null?void 0:s.getRootNode)==null?void 0:g.call(s))==null?void 0:d.host)||window).__cockpit=t}catch{}});function r(s){t.setSearch(s.target.value)}function l(s){t.setMode(s)}return On(` + .cpt-root { position:absolute; inset:0; display:grid; overflow:hidden; + grid-template-rows: auto minmax(0,1.45fr) minmax(0,1fr) auto; + grid-template-areas: "header" "upper" "lower" "legend"; + background:#eef2f7; color:#1f2937; isolation:isolate; container-type:inline-size; + font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; } + + /* ── HEADER ── */ + .cpt-header { grid-area:header; display:flex; flex-wrap:wrap; gap:8px; align-items:center; + padding:8px 12px; background:${ia.NAVY}; color:#fff; border-bottom:1px solid #001b44; } + .cpt-brand { font:800 12px/1 ui-monospace,monospace; letter-spacing:.05em; text-transform:uppercase; + padding:6px 10px; background:rgba(255,255,255,.1); border-radius:7px; } + .cpt-chips { display:flex; flex-wrap:wrap; gap:5px; align-items:center; } + .cpt-chip { display:inline-flex; align-items:center; gap:5px; font:600 11px/1 -apple-system,sans-serif; + padding:4px 8px; border-radius:999px; background:#fff; color:${ia.NAVY}; cursor:pointer; border:0; } + .cpt-chip.focus { background:${ia.GOLD}; color:#3a2600; } + .cpt-chip .x { font-weight:800; opacity:.6; } + .cpt-chip:hover .x { opacity:1; } + .cpt-search { flex:1 1 180px; min-width:120px; max-width:360px; margin-left:auto; + background:#0e1f44; border:1px solid #284a86; color:#dbe4f3; font:600 12px/1 -apple-system,sans-serif; + padding:7px 11px; border-radius:8px; } + .cpt-search::placeholder { color:#7e90b6; } + .cpt-counter { font:700 11px/1.3 ui-monospace,monospace; color:#cdd9f2; text-align:right; white-space:nowrap; } + .cpt-counter b { color:#fff; } + .cpt-prov { font:600 10px/1.3 ui-monospace,monospace; color:#9fb3d9; background:rgba(0,0,0,.25); + border:1px solid #284a86; border-radius:7px; padding:5px 9px; max-width:280px; } + .cpt-prov.err { color:#fecaca; border-color:#9f1239; } + + /* ── UPPER ROW: map + flower ── */ + .cpt-upper { grid-area:upper; display:grid; grid-template-columns: 58fr 42fr; gap:1px; + background:#cbd5e1; position:relative; min-height:0; } + .cpt-cell { position:relative; overflow:hidden; min-height:0; background:#fff; } + .cpt-seg { position:absolute; top:8px; left:50%; transform:translateX(-50%); z-index:40; + display:inline-flex; background:rgba(255,255,255,.95); border:1px solid #cbd5e1; border-radius:999px; + padding:3px; gap:2px; box-shadow:0 2px 10px rgba(0,0,0,.15); } + .cpt-seg button { border:0; background:transparent; color:#475569; cursor:pointer; + font:700 11px/1 ui-monospace,monospace; padding:6px 12px; border-radius:999px; } + .cpt-seg button.on { background:${ia.NAVY}; color:#fff; } + + /* ── LOWER ROW: charts + list ── */ + .cpt-lower { grid-area:lower; display:grid; grid-template-columns: 42fr 58fr; gap:1px; + background:#cbd5e1; min-height:0; } + + /* ── LEGEND RIBBON ── */ + .cpt-legend { grid-area:legend; display:flex; flex-wrap:wrap; gap:6px 16px; align-items:center; + padding:6px 12px; background:#0e1730; color:#cdd9f2; font:600 10px/1.4 ui-monospace,monospace; + border-top:1px solid #1c2742; } + .cpt-lg { display:inline-flex; align-items:center; gap:6px; } + .cpt-sw { width:12px; height:12px; border-radius:50%; flex:0 0 auto; border:1px solid rgba(255,255,255,.3); } + .cpt-line { width:18px; height:0; border-top:2px solid; flex:0 0 auto; } + .cpt-ramp { display:inline-flex; gap:0; } + .cpt-ramp i { width:13px; height:11px; display:inline-block; } + + /* ── loading / error overlay ── */ + .cpt-overlay { position:absolute; inset:0; z-index:80; display:flex; align-items:center; + justify-content:center; background:rgba(238,242,247,.92); color:${ia.NAVY}; + font:600 13px/1.5 ui-monospace,monospace; text-align:center; padding:24px; } + .cpt-overlay.err { color:${ia.RED_DK}; } + + /* ── responsive: stack the two cells per row on narrow frames ── */ + @container (max-width: 720px) { + .cpt-upper { grid-template-columns: 1fr; grid-template-rows: 1fr; } + .cpt-upper .cpt-cell.flower { display:none; } + .cpt-upper.flower-mode .cpt-cell.map { display:none; } + .cpt-upper.flower-mode .cpt-cell.flower { display:block; } + .cpt-lower { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; } + .cpt-prov { display:none; } + } +`,"cockpit-shell"),(s,g)=>(z(),W("div",{ref_key:"rootEl",ref:o,class:"cpt-root"},[f("div",a_,[g[4]||(g[4]=f("span",{class:"cpt-brand"},"My UPG Neighbor · Overview",-1)),f("div",n_,[(z(!0),W(Aa,null,Ua(ha(t).chips.value,(d,_)=>(z(),W("button",{key:_,class:Ia(["cpt-chip",{focus:d.kind==="focus"}]),onClick:k=>ha(t).removeChip(d),title:"remove "+d.label},[ya(X(d.label)+" ",1),g[2]||(g[2]=f("span",{class:"x"},"×",-1))],10,e_))),128))]),f("input",{class:"cpt-search",type:"search",value:ha(t).search.value,onInput:r,placeholder:"Search target / sender / language…","aria-label":"Search"},null,40,i_),f("span",t_,[f("b",null,X(ha(t).counts.value.senders.toLocaleString()),1),g[3]||(g[3]=ya(" senders → ",-1)),f("b",null,X(ha(t).counts.value.clusters.toLocaleString()),1),ya(" clusters · "+X(ha(t).counts.value.hidden)+" hidden ",1)]),f("span",{class:Ia(["cpt-prov",{err:ha(t).provenance.value.apiError}]),title:ha(t).provenance.value.reachedFilter},[ha(t).provenance.value.apiError?(z(),W(Aa,{key:0},[ya(X(ha(t).provenance.value.apiError),1)],64)):(z(),W(Aa,{key:1},[ya(" LIVE "+X(ha(t).provenance.value.liveUnreached.toLocaleString())+" unreached · baked senders "+X(ha(t).provenance.value.bakedGenerated),1)],64))],10,o_)]),f("div",{class:Ia(["cpt-upper",{"flower-mode":ha(t).mode.value==="flower"}])},[f("div",r_,[Wa(Xb)]),f("div",l_,[Wa(G1)]),f("div",s_,[f("button",{class:Ia({on:ha(t).mode.value==="map"}),onClick:g[0]||(g[0]=d=>l("map"))},"MAP",2),f("button",{class:Ia({on:ha(t).mode.value==="flower"}),onClick:g[1]||(g[1]=d=>l("flower"))},"FLOWER",2)])],2),f("div",c_,[f("div",g_,[Wa(Q3)]),f("div",u_,[Wa(r3)])]),f("div",d_,[f("span",p_,[f("span",{class:"cpt-sw",style:Ka({background:ha(ia).RED})},null,4),g[5]||(g[5]=ya(" unreached target",-1))]),f("span",m_,[g[6]||(g[6]=ya("reached % ",-1)),f("span",h_,[(z(!0),W(Aa,null,Ua(ha(ia).GREEN_BINS,(d,_)=>(z(),W("i",{key:_,style:Ka({background:d})},null,4))),128))])]),f("span",y_,[f("span",{class:"cpt-line",style:Ka({borderColor:ha(ia).NAVY})},null,4),g[7]||(g[7]=ya(" SEND (solid=same-lang · dashed=cluster · dotted=in-country)",-1))]),f("span",b_,[f("span",{class:"cpt-sw",style:Ka({background:ha(ia).GOLD})},null,4),g[8]||(g[8]=ya(" selection · pop = log radius · Luke 10:2",-1))])]),ha(t).ready.value?ha(t).loadError.value&&!ha(t).allClusters.value.length?(z(),W("div",f_,X(ha(t).loadError.value),1)):fa("",!0):(z(),W("div",__,"Loading the harvest field…"))],512))}},P_=Object.freeze(Object.defineProperty({__proto__:null,default:wg},Symbol.toStringTag,{value:"Module"})),C_={class:"fm-top"},j_=["value"],k_=["value"],G_=["aria-checked"],v_={key:1,class:"fm-stats"},A_={class:"fm-stage"},S_={key:0,class:"fm-loading"},E_={key:1,class:"fm-loading"},M_=["viewBox"],I_=["cx","cy","fill","transform"],w_=["x1","y1","x2","y2","stroke-dasharray"],x_=["d"],T_=["onClick","onMouseenter"],N_=["cx","cy","r","fill"],L_=["x","y"],R_=["r"],$_=["y"],F_=["y"],K_=["y"],B_={key:3,class:"fm-legend"},O_={class:"fm-lrow"},U_={class:"fm-lrow"},H_={class:"fm-footer"},D_=["innerHTML"],kr="#FF6600",z_="#002e6e",V_="#0b1020",zt=1e3,xg=205,Gr=360,Tg=46,Ng={__name:"flower-mesh",setup(a){function n(c){const P=+c||0;return P>=80?"#0f7a3d":P>=40?"#1f9d55":P>=15?"#5cb874":"#9bcf9b"}const e=Ya("profileConfig");Ya("dataSource",null);const i=la(()=>(e==null?void 0:e.value)||{}),t=ua(null),o=ua(!1),r=ua(""),l=ua(i.value.target??"India"),s=ua(!0),g=ua(null),d=ua(null),_=ua({show:!1,x:0,y:0,html:""}),k=zt/2,x=zt/2;function D(c,P,p,M){const N=(M-90)*Math.PI/180;return[c+p*Math.cos(N),P+p*Math.sin(N)]}function T(c){const P=Math.max(0,+c||0);return Math.max(7,Math.min(22,6+Math.sqrt(P)/320))}function $(c){return String(c||"").trim().toLowerCase()}const w=la(()=>t.value?Object.keys(t.value.countries):[]),L=la(()=>{var c,P;return((P=(c=t.value)==null?void 0:c.countries)==null?void 0:P[l.value])??null}),E=la(()=>{const c=L.value;return c?(c.neighbors||[]).map((P,p)=>({...P,_i:p})):[]}),I=la(()=>E.value.filter(c=>c.adjacency==="same-country")),G=la(()=>E.value.filter(c=>c.adjacency!=="same-country")),S=la(()=>{const c=[],P=(p,M,N)=>{const U=p.length;p.forEach((h,C)=>{const y=U?(C+.5)/U*360+N:0,[R,H]=D(k,x,M,y);c.push({id:"n"+h._i,node:h,x:R,y:H,ang:y,r:T(h.pop),color:n(h.pct_christian),ring:M===xg?"inner":"outer"})})};return P(I.value,xg,0),P(G.value,Gr,G.value.length?180/G.value.length:0),c}),v=la(()=>S.value.map(c=>({id:"s-"+c.id,x1:k,y1:x,x2:c.x,y2:c.y,strong:c.node.bridge==="same-language",to:c.id}))),K=la(()=>{if(!s.value)return[];const c=S.value,P=[];for(let p=0;pS.value.filter(c=>c.ring==="outer").map(c=>({id:"p-"+c.id,cx:D(k,x,Gr-6,c.ang)[0],cy:D(k,x,Gr-6,c.ang)[1],rot:c.ang,color:c.color}))),q=la(()=>{const c=L.value,P=d.value;return{name:l.value,upg:(P==null?void 0:P.upg)??(c==null?void 0:c.target_upg)??0,pop:(P==null?void 0:P.pop)??(c==null?void 0:c.target_pop)??0,religion:(c==null?void 0:c.target_top_religion)??"",langs:(c==null?void 0:c.target_top_langs)??[]}}),sa=la(()=>({total:E.value.length,inner:I.value.length,outer:G.value.length,countries:new Set(E.value.map(c=>c.country)).size,meshes:K.value.length}));function ea(c){return g.value?c.from===g.value||c.to===g.value:!0}function ga(c){return g.value?c.to===g.value:!0}function Sa(c){return!g.value||c.id===g.value?!0:K.value.some(P=>P.from===g.value&&P.to===c.id||P.to===g.value&&P.from===c.id)}const Ma=c=>(+c||0).toLocaleString();function ma(c){const P=+c||0;return P>=1e9?(P/1e9).toFixed(1)+"B":P>=1e6?(P/1e6).toFixed(1)+"M":P>=1e3?(P/1e3).toFixed(0)+"K":String(P)}function pa(c,P){const p=c.node,M=p.province||p.segment;_.value={show:!0,x:P.clientX,y:P.clientY,html:`${u(p.name)}
${u(p.country)}${M?" · "+u(M):""}
reached ${Math.round(p.pct_christian||0)}% Christian
language ${u(p.lang||"—")}
people ${ma(p.pop)}
bridge ${u(p.bridge||"—")}
near ${u(p.adjacency||"—")}
`}}function Y(c){_.value.show&&(_.value.x=c.clientX,_.value.y=c.clientY)}function ta(){_.value={..._.value,show:!1}}function aa(c){g.value=g.value===c.id?null:c.id}function ba(){g.value=null}function na(c){l.value=c.target.value,g.value=null}function u(c){return String(c??"").replace(/[&<>"']/g,P=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[P])}async function A(){const c=i.value.dataUrl;if(c)try{const P=await fetch(c);if(P.ok)return await P.json()}catch{}return ee}async function j(){const c=i.value.apiBase||typeof window<"u"&&(window.MAP_APP_API_URL||window.VITE_API_BASE_URL);if(c)try{const P=await fetch(c.replace(/\/?$/,"")+"/api/people-groups/statistics");if(P.ok){const p=await P.json();p&&typeof p.total=="number"&&(d.value=null)}}catch{}}return Rn(async()=>{if(t.value=await A(),!t.value){r.value="Could not load reached-neighbors.json",o.value=!0;return}w.value.includes(l.value)||(l.value=w.value[0]||l.value),o.value=!0,j()}),On(` + .fm-root { position:absolute; inset:0; display:flex; flex-direction:column; overflow:hidden; + background:radial-gradient(circle at 50% 42%, #16203a 0%, ${V_} 70%); color:#e5e7eb; + isolation:isolate; font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; } + + /* top bar */ + .fm-top { position:absolute; top:12px; left:12px; right:12px; z-index:30; + display:flex; flex-wrap:wrap; gap:8px; align-items:center; pointer-events:none; } + .fm-top > * { pointer-events:auto; } + .fm-title { background:${z_}; color:#fff; font:700 12px/1 ui-monospace,monospace; + letter-spacing:.05em; text-transform:uppercase; padding:9px 13px; border-radius:9px; + box-shadow:0 2px 10px rgba(0,0,0,.4); } + .fm-select { background:#0e1730; border:1px solid #2b3b63; color:#dbe4f3; + font:600 12px/1 -apple-system,sans-serif; padding:8px 11px; border-radius:9px; cursor:pointer; max-width:240px; } + .fm-toggle { background:#0e1730; border:1px solid #2b3b63; color:#9fb3d9; + font:600 11px/1 ui-monospace,monospace; padding:8px 11px; border-radius:9px; cursor:pointer; + display:inline-flex; align-items:center; gap:7px; user-select:none; } + .fm-toggle.on { color:#fff; border-color:#3f7bd6; background:#13224a; } + .fm-toggle .fm-sw { width:9px; height:9px; border-radius:50%; background:#3f7bd6; opacity:.35; } + .fm-toggle.on .fm-sw { opacity:1; } + .fm-stats { margin-left:auto; font:600 11px/1.5 ui-monospace,monospace; color:#9fb3d9; + background:rgba(8,12,24,.7); border:1px solid #1c2742; border-radius:9px; padding:7px 11px; text-align:right; } + .fm-stats b { color:#fff; } + + /* canvas */ + .fm-stage { flex:1 1 0; position:relative; } + .fm-svg { position:absolute; inset:0; width:100%; height:100%; display:block; } + + .fm-loading { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; + color:#9fb3d9; font:13px/1 ui-monospace,monospace; z-index:5; } + + /* svg node + link styling driven by classes */ + .fm-spoke { stroke:#3a4f86; stroke-width:1.4; fill:none; opacity:.5; transition:opacity .15s; } + .fm-spoke.strong { stroke:#5b7fd0; stroke-width:2; opacity:.7; } + .fm-spoke.dim { opacity:.06; } + .fm-mesh { stroke:#ffae66; stroke-width:1.3; fill:none; opacity:.5; stroke-linecap:round; transition:opacity .15s; } + .fm-mesh.lit { opacity:.92; stroke-width:2; } + .fm-mesh.dim { opacity:.05; } + .fm-petal { opacity:.13; transition:opacity .15s; } + .fm-petal.dim { opacity:.04; } + .fm-node { cursor:pointer; transition:opacity .15s; } + .fm-node.dim { opacity:.18; } + .fm-node circle { stroke:#0b1020; stroke-width:2; } + .fm-node.sel circle { stroke:#ffffff; stroke-width:3; } + .fm-node-label { fill:#cdd9f2; font:600 12px/1 -apple-system,sans-serif; paint-order:stroke; + stroke:#0b1020; stroke-width:3px; text-anchor:middle; pointer-events:none; } + .fm-center-glow { fill:${kr}; opacity:.16; } + .fm-center circle { fill:${kr}; stroke:#ffd9bd; stroke-width:3; } + .fm-center-name { fill:#fff; font:800 19px/1 -apple-system,sans-serif; text-anchor:middle; + paint-order:stroke; stroke:#7a2e00; stroke-width:3px; } + .fm-center-sub { fill:#ffe1cb; font:600 11px/1 ui-monospace,monospace; text-anchor:middle; } + + /* legend */ + .fm-legend { position:absolute; left:12px; bottom:38px; z-index:25; background:rgba(8,12,24,.82); + border:1px solid #1c2742; border-radius:10px; padding:10px 12px; max-width:230px; + box-shadow:0 4px 16px rgba(0,0,0,.45); } + .fm-legend h4 { font:700 9px/1 ui-monospace,monospace; letter-spacing:.12em; text-transform:uppercase; + color:#7e90b6; margin-bottom:8px; } + .fm-lrow { display:flex; align-items:center; gap:8px; padding:3px 0; font-size:11px; color:#c4d0e8; } + .fm-dot { width:12px; height:12px; border-radius:50%; flex:0 0 auto; } + .fm-line { width:18px; height:0; border-top:2px solid; flex:0 0 auto; } + + /* footer provenance (honesty contract) */ + .fm-footer { position:absolute; left:0; right:0; bottom:0; z-index:20; background:rgba(8,12,24,.86); + color:#8fa2c8; font:10px/1.4 ui-monospace,monospace; padding:6px 12px; + display:flex; flex-wrap:wrap; gap:3px 14px; align-items:center; border-top:1px solid #1c2742; } + .fm-footer b { color:#dbe4f3; } + + /* tooltip */ + .fm-tip { position:fixed; z-index:60; pointer-events:none; max-width:240px; + background:#0e1730; border:1px solid #34508c; border-radius:9px; padding:9px 11px; + box-shadow:0 6px 22px rgba(0,0,0,.55); font-size:11.5px; color:#dbe4f3; } + .fm-tip strong { font-size:13px; color:#fff; } + .fm-tip-sub { color:#ffae66; font:600 10px/1.3 ui-monospace,monospace; margin:2px 0 6px; } + .fm-tip-row { display:flex; gap:6px; line-height:1.5; } + .fm-tip-k { color:#7e90b6; min-width:56px; } + + @media (max-width:720px) { + .fm-stats { display:none; } + .fm-legend { max-width:170px; } + } +`,"flower-mesh"),(c,P)=>{var p,M,N,U,h,C;return z(),W("div",{class:"fm-root",onMousemove:Y},[f("div",C_,[P[9]||(P[9]=f("span",{class:"fm-title"},"My UPG Neighbor · Flower-Mesh",-1)),w.value.length?(z(),W("select",{key:0,class:"fm-select",value:l.value,onChange:na,"aria-label":"Select unreached target country"},[(z(!0),W(Aa,null,Ua(w.value,y=>(z(),W("option",{key:y,value:y},X(y),9,k_))),128))],40,j_)):fa("",!0),f("span",{class:Ia(["fm-toggle",{on:s.value}]),role:"switch","aria-checked":s.value,tabindex:"0",onClick:P[0]||(P[0]=y=>s.value=!s.value),onKeydown:[P[1]||(P[1]=Ys(Xn(y=>s.value=!s.value,["prevent"]),["enter"])),P[2]||(P[2]=Ys(Xn(y=>s.value=!s.value,["prevent"]),["space"]))]},[...P[3]||(P[3]=[f("span",{class:"fm-sw"},null,-1),ya(" language mesh ",-1)])],42,G_),L.value?(z(),W("span",v_,[f("b",null,X(sa.value.total),1),P[4]||(P[4]=ya(" reached neighbors · ",-1)),f("b",null,X(sa.value.countries),1),P[5]||(P[5]=ya(" countries",-1)),P[6]||(P[6]=f("br",null,null,-1)),f("b",null,X(Ma(q.value.upg)),1),P[7]||(P[7]=ya(" UPGs in center · ",-1)),f("b",null,X(sa.value.meshes),1),P[8]||(P[8]=ya(" mesh links ",-1))])):fa("",!0)]),f("div",A_,[o.value?r.value?(z(),W("div",E_,X(r.value),1)):(z(),W("svg",{key:2,class:"fm-svg",viewBox:`0 0 ${zt} ${zt}`,preserveAspectRatio:"xMidYMid meet",onClick:ba},[f("g",null,[(z(!0),W(Aa,null,Ua(O.value,y=>(z(),W("ellipse",{key:y.id,class:Ia(["fm-petal",{dim:g.value}]),cx:y.cx,cy:y.cy,rx:"78",ry:"40",fill:y.color,transform:`rotate(${y.rot} ${y.cx} ${y.cy})`},null,10,I_))),128))]),f("g",null,[(z(!0),W(Aa,null,Ua(v.value,y=>(z(),W("line",{key:y.id,class:Ia(["fm-spoke",{strong:y.strong,dim:!ga(y)}]),x1:y.x1,y1:y.y1,x2:y.x2,y2:y.y2,"stroke-dasharray":y.strong?"0":"5 5"},null,10,w_))),128))]),f("g",null,[(z(!0),W(Aa,null,Ua(K.value,y=>(z(),W("path",{key:y.id,class:Ia(["fm-mesh",{lit:ea(y)&&g.value,dim:g.value&&!ea(y)}]),d:y.d},null,10,x_))),128))]),f("g",null,[(z(!0),W(Aa,null,Ua(S.value,y=>(z(),W("g",{key:y.id,class:Ia(["fm-node",{dim:!Sa(y),sel:y.id===g.value}]),onClick:Xn(R=>aa(y),["stop"]),onMouseenter:R=>pa(y,R),onMouseleave:ta},[f("title",null,X(y.node.name)+" — "+X(Math.round(y.node.pct_christian||0))+"% Christian, "+X(y.node.lang),1),f("circle",{cx:y.x,cy:y.y,r:y.r,fill:y.color},null,8,N_),y.r>=9||y.id===g.value?(z(),W("text",{key:0,class:"fm-node-label",x:y.x,y:y.y+y.r+14},X(y.node.name),9,L_)):fa("",!0)],42,T_))),128))]),f("g",{class:"fm-center",onClick:Xn(ba,["stop"]),style:{cursor:"default"}},[f("circle",{class:"fm-center-glow",cx:k,cy:x,r:Tg+26},null,8,R_),f("circle",{cx:k,cy:x,r:Tg}),f("text",{class:"fm-center-name",x:k,y:x-2},X(q.value.name),9,$_),f("text",{class:"fm-center-sub",x:k,y:x+16},X(Ma(q.value.upg))+" UPGs",9,F_),f("text",{class:"fm-center-sub",x:k,y:x+30,style:{opacity:".85"}},X(ma(q.value.pop))+" people",9,K_)])],8,M_)):(z(),W("div",S_,"Growing the flower…")),o.value&&!r.value?(z(),W("div",B_,[P[12]||(P[12]=f("h4",null,"The flower",-1)),f("div",O_,[f("span",{class:"fm-dot",style:Ka({background:kr})},null,4),P[10]||(P[10]=ya(" Unreached target (unreached-2000)",-1))]),f("div",U_,[f("span",{class:"fm-dot",style:Ka({background:n(90)})},null,4),P[11]||(P[11]=ya(" Reached neighbor (deeper = more Christian)",-1))]),P[13]||(P[13]=As('
SEND path → into the unreached
via related language cluster
Same-language collaboration mesh
inner whorl = same country · petals = surrounding countries
',4))])):fa("",!0)]),f("div",H_,[P[14]||(P[14]=f("span",null,[f("b",null,"Flower-Mesh"),ya(" reached neighbor → unreached center")],-1)),P[15]||(P[15]=f("span",null,"center = unreached-2000 (live UPG data)",-1)),f("span",null,"neighbors = baked "+X(((M=(p=t.value)==null?void 0:p.meta)==null?void 0:M.generated)||"2026-06-12")+" (≥"+X(((U=(N=t.value)==null?void 0:N.meta)==null?void 0:U.threshold_pct_christian)||10)+"% Christian, "+X(((C=(h=t.value)==null?void 0:h.meta)==null?void 0:C.adjacency_km)||1500)+" km)",1),P[16]||(P[16]=f("span",null,"province N/A in source — finest grain = country (see RE)",-1)),P[17]||(P[17]=f("span",null,"Luke 10:2 · send laborers into the harvest",-1))]),_.value.show?(z(),W("div",{key:0,class:"fm-tip",style:Ka({left:_.value.x+14+"px",top:_.value.y+14+"px"}),innerHTML:_.value.html},null,12,D_)):fa("",!0)],32)}}},Y_=Object.freeze(Object.defineProperty({__proto__:null,default:Ng},Symbol.toStringTag,{value:"Module"})),W_={key:0,class:"lc-loading"},J_={class:"lc-top"},Z_={key:0,class:"lc-stats"},q_={key:1,class:"lc-legend"},X_={class:"lc-lrow"},Q_={class:"lc-lrow"},a5={key:2,class:"lc-panel"},n5={class:"lc-panel-head"},e5={class:"lc-h-lang"},i5={class:"lc-h-sub"},t5={class:"lc-panel-body"},o5={class:"lc-sec"},r5={key:0,class:"lc-chip"},l5={class:"lc-sec",style:{"margin-top":"10px"}},s5={key:1,class:"lc-muted"},c5={class:"lc-re-name"},g5={class:"lc-re-meta"},u5={key:3,class:"lc-footer"},d5=["innerHTML"],Vt="#e11d48",Ui="#9f1239",Yt="#002e6e",vr="#f59e0b",Ar="lc-clusters-src",Lg="lc-pins-src",Sr="lc-reached-src",Er="lc-links-src",xe="lc-clusters",Rg="lc-cluster-labels",$g="lc-pins",Mr="lc-reached",Fg="lc-links",Kg={__name:"lang-cluster",setup(a){function n(c){const P=+c||0;return P>=80?"#0f7a3d":P>=40?"#1f9d55":P>=15?"#5cb874":"#9bcf9b"}const e=Ya("profileConfig"),i=Ya("mapboxToken"),t=Ya("instanceId",null),o=la(()=>(e==null?void 0:e.value)||{});t!=null&&t.value||t||""+Date.now().toString(36)+Math.random().toString(36).slice(2,8);const r=ua(null),l=ua(null),s=ua(!1),g=ua("Loading people groups…"),d=ua([]),_=ua([]),k=ua(null),x=ua({show:!1,x:0,y:0,html:""}),D={India:[79,22],Pakistan:[69.3,30],Indonesia:[113,-1],Bangladesh:[90.3,23.7],China:[104,35],Japan:[138,37],Iran:[53,32],"Türkiye (Turkey)":[35,39],Egypt:[30,26.5],Nigeria:[8,9.5],Thailand:[101,15],Sudan:[30,15.5],Algeria:[3,28],Iraq:[44,33],"Myanmar (Burma)":[96,21],Afghanistan:[66,34],Yemen:[47.5,15.5],Morocco:[-6,32],Uzbekistan:[64,41.5],"Saudi Arabia":[45,24],Ethiopia:[39.5,9],Niger:[9,17.5],"Korea, North":[127,40],Nepal:[84,28.2],Mali:[-3.5,17],Somalia:[46.5,5.5],Malaysia:[108,3.5],Russia:[90,60],Cambodia:[105,12.7],Kazakhstan:[67,48],Senegal:[-14.5,14.5],"United States":[-98,39],Guinea:[-11,10.5],Tunisia:[9.5,34],Chad:[19,15.5],Tajikistan:[71,38.7],Jordan:[36.5,31],Azerbaijan:[47.5,40.3],Vietnam:[106,16],Israel:[35,31.3],Armenia:[45,40.2],Austria:[14.5,47.5],Bahrain:[50.6,26],Brunei:[114.7,4.5],Bulgaria:[25.5,42.7],"Burkina Faso":[-1.7,12.3],Cameroon:[12.5,6],Canada:[-106,56],"Cape Verde":[-23.6,16],"China, Hong Kong":[114.2,22.3],"China, Macau":[113.5,22.2],Cyprus:[33.2,35.1],"Côte d'Ivoire":[-5.5,7.5],Eritrea:[39,15.3],France:[2.5,47],Georgia:[43.5,42],Ghana:[-1,7.9],Greece:[22,39],"Guinea-Bissau":[-15,12],Italy:[12.5,42.5],Kenya:[38,.2],"Korea, South":[128,36.5],Kuwait:[47.7,29.3],Kyrgyzstan:[74.5,41.3],Lebanon:[35.8,33.9],Liberia:[-9.4,6.5],Moldova:[28.5,47.2],Oman:[56,21],Portugal:[-8,39.5],Qatar:[51.2,25.3],Serbia:[21,44],"Sierra Leone":[-11.8,8.5],Singapore:[103.8,1.35],"South Sudan":[31,7.5],Spain:[-3.7,40.3],Switzerland:[8.2,46.8],Syria:[38,35],Tanzania:[35,-6.3],Togo:[1,8.6],Turkmenistan:[59,39],Uganda:[32.5,1.4],Ukraine:[31,49],"United Arab Emirates":[54,24]};function T(c,P){const p=D[c];if(!p)return null;let M=0;const N=String(P||"");for(let U=0;U>8&255)/255-.5)*4]}const $=c=>String(c||"").trim().toLowerCase(),{map:w,initializeMap:L,destroy:E}=Kt({containerRef:l,accessToken:(i==null?void 0:i.value)||o.value.tk||"",style:o.value.style??"mapbox://styles/mapbox/light-v11",center:o.value.center??[55,22],zoom:o.value.zoom??1.7,minZoom:o.value.minZoom??1,maxZoom:o.value.maxZoom??12}),I=la(()=>{const c=d.value,P=new Set(c.filter(M=>M.scope==="province").map(M=>M.province)),p=new Set(c.map(M=>M.lang));return{clusters:c.length,pgs:c.reduce((M,N)=>M+N.count,0),provinces:P.size,langs:p.size,withReach:c.filter(M=>M.reached.length).length}}),G=la(()=>d.value.find(c=>c.key===k.value)||null);function S(c){return c&&typeof c=="object"?c.label??c.value??"":c??""}function v(c){return c&&typeof c=="object"?c.value??c.label??"":c??""}const K={"People's Republic of China":"China","Lao People’s Democratic Republic":"Laos","Lao People's Democratic Republic":"Laos"};function O(c){return K[c]||c}function q(c,P){const p=new Map;for(const N of c){const U=Number(N.latitude),h=Number(N.longitude),C=S(N.primary_language)||"(unknown language)",y=O(S(N.country_code)||"(unknown)"),R=N.slug||v(N.primary_language)+":"+N.name,H=P[R]||null,V=H?"province":"country",oa=H||y,Q=C+" · "+oa+(H?" ("+y+")":"");let m=p.get(Q);m||(m={key:Q,lang:C,rol3:v(N.primary_language)||"",country:y,province:H,scope:V,scopeName:oa,count:0,_sumLat:0,_sumLng:0,_n:0,members:[],reached:[]},p.set(Q,m)),m.count++,m.members.push({name:N.name,slug:R,lang:C,country:y}),isFinite(U)&&isFinite(h)&&(m._sumLat+=U,m._sumLng+=h,m._n++)}const M=[];for(const N of p.values())N._n&&(N.lat=N._sumLat/N._n,N.lng=N._sumLng/N._n,delete N._sumLat,delete N._sumLng,delete N._n,M.push(N));return M.sort((N,U)=>U.count-N.count),M}function sa(c,P){const p=new Set(P.map(y=>y.rol3).filter(Boolean)),M=new Set(P.map(y=>$(y.lang))),N=new Set,U=[],h=new Map,C=new Map;for(const y of Object.values(c.countries||{}))for(const R of y.neighbors||[]){const H=$(R.lang),V=R.rol3||"";if(!(V&&p.has(V))&&!M.has(H))continue;const Q=R.name+"|"+R.country+"|"+(V||H);if(N.has(Q))continue;N.add(Q);const m=Number(R.lng)&&Number(R.lat)?[Number(R.lng),Number(R.lat)]:T(R.country,Q);if(!m)continue;const b={name:R.name,country:R.country,lang:R.lang,rol3:V,lk:H,pct:R.pct_christian||0,pop:R.pop||0,lng:m[0],lat:m[1]};U.push(b),V&&(h.has(V)||h.set(V,[]),h.get(V).push(b)),C.has(H)||C.set(H,[]),C.get(H).push(b)}for(const y of P){const R=y.rol3?h.get(y.rol3)||[]:[],H=C.get($(y.lang))||[];y.reached=R.length&&H.length?[...new Set([...R,...H])]:R.length?R:H}return U}const ea=c=>({type:"FeatureCollection",features:c});function ga(){return ea(d.value.map(c=>({type:"Feature",geometry:{type:"Point",coordinates:[c.lng,c.lat]},properties:{key:c.key,lang:c.lang,count:c.count,scope:c.scope,hasReach:c.reached.length>0,label:c.lang+" ("+c.count+")"}})))}function Sa(){var P;const c=[];for(const p of d.value)for(const M of p.members){const U=T(p.country,M.slug)||[p.lng,p.lat];c.push({type:"Feature",geometry:{type:"Point",coordinates:[p.lng+(U[0]-(((P=D[p.country])==null?void 0:P[0])??U[0]))*.15,p.lat]},properties:{key:p.key}})}return ea(c)}function Ma(){const c=G.value,P=c&&c.rol3||"",p=c?$(c.lang):null;return ea(_.value.map(M=>({type:"Feature",geometry:{type:"Point",coordinates:[M.lng,M.lat]},properties:{name:M.name,country:M.country,lang:M.lang,pct:M.pct,color:n(M.pct),matched:c?P&&M.rol3===P||!!p&&M.lk===p:!1}})))}function ma(){const c=G.value;return ea(c?c.reached.map(P=>({type:"Feature",geometry:{type:"LineString",coordinates:[[c.lng,c.lat],[P.lng,P.lat]]},properties:{}})):[])}function pa(c,P,p){const M=c.getSource(P);M?M.setData(p):c.addSource(P,{type:"geojson",data:p})}function Y(){var P;const c=w.value;!c||!((P=c.isStyleLoaded)!=null&&P.call(c))||(pa(c,Er,ma()),pa(c,Lg,Sa()),pa(c,Sr,Ma()),pa(c,Ar,ga()),c.getLayer(Fg)||c.addLayer({id:Fg,type:"line",source:Er,paint:{"line-color":vr,"line-width":1.1,"line-opacity":.5,"line-dasharray":[2,2]}}),c.getLayer($g)||c.addLayer({id:$g,type:"circle",source:Lg,minzoom:3.6,paint:{"circle-radius":["interpolate",["linear"],["zoom"],3.6,1.6,8,4],"circle-color":Vt,"circle-opacity":.5}}),c.getLayer(Mr)||c.addLayer({id:Mr,type:"circle",source:Sr,paint:{"circle-radius":["case",["get","matched"],4.5,["interpolate",["linear"],["zoom"],1,2,6,3.5]],"circle-color":["get","color"],"circle-stroke-width":["case",["get","matched"],1.5,.5],"circle-stroke-color":["case",["get","matched"],vr,"#ffffff"],"circle-opacity":["case",["boolean",["feature-state","dim"],!1],.15,["case",["get","matched"],.95,.6]]}}),c.getLayer(xe)||c.addLayer({id:xe,type:"circle",source:Ar,paint:{"circle-radius":["interpolate",["linear"],["get","count"],1,7,25,16,80,26,130,34],"circle-color":Vt,"circle-opacity":["case",["==",["get","key"],["literal",""]],.6,.55],"circle-stroke-width":["case",["get","hasReach"],2.4,1],"circle-stroke-color":["case",["get","hasReach"],n(80),Ui]}}),c.getLayer(Rg)||c.addLayer({id:Rg,type:"symbol",source:Ar,minzoom:2.6,layout:{"text-field":["get","label"],"text-size":11,"text-offset":[0,1.3],"text-anchor":"top","text-allow-overlap":!1,"text-optional":!0},paint:{"text-color":Ui,"text-halo-color":"#ffffff","text-halo-width":1.4}}),ta())}function ta(){const c=w.value;!c||!c.getLayer(xe)||(c.setPaintProperty(xe,"circle-stroke-color",k.value?["case",["==",["get","key"],k.value],vr,["case",["get","hasReach"],n(80),Ui]]:["case",["get","hasReach"],n(80),Ui]),c.setPaintProperty(xe,"circle-stroke-width",k.value?["case",["==",["get","key"],k.value],4,["case",["get","hasReach"],2.4,1]]:["case",["get","hasReach"],2.4,1]))}function aa(c){k.value=k.value===c?null:c;const P=w.value;P&&(pa(P,Sr,Ma()),pa(P,Er,ma()),ta());const p=G.value;if(p&&P)try{let M=p.lng,N=p.lng,U=p.lat,h=p.lat;for(const C of p.reached)M=Math.min(M,C.lng),N=Math.max(N,C.lng),U=Math.min(U,C.lat),h=Math.max(h,C.lat);P.stop(),M===N&&U===h?P.easeTo({center:[p.lng,p.lat],zoom:4,duration:800}):P.fitBounds([[M,U],[N,h]],{padding:110,maxZoom:5.5,duration:800})}catch{}}function ba(){const c=G.value;if(!c)return;const P={target:c.country,language:c.lang,province:c.province||null,scope:c.scope,clusterKey:c.key};try{const M=r.value&&r.value.getRootNode&&r.value.getRootNode().host||r.value;M&&M.dispatchEvent(new CustomEvent("upgn:drill-flower",{bubbles:!0,composed:!0,detail:P}))}catch{}}function na(c){return String(c??"").replace(/[&<>"']/g,P=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[P])}function u(c){x.value.show&&(x.value.x=c.clientX,x.value.y=c.clientY)}async function A(c){for(const P of c)try{const p=await fetch(P);if(p.ok)return await p.json()}catch{}return null}async function j(){const c=o.value.apiBase||typeof window<"u"&&(window.MAP_APP_API_URL||window.VITE_API_BASE_URL);if(!c)throw new Error("No API base configured (apiBase / window.MAP_APP_API_URL / VITE_API_BASE_URL) — failing closed, no default host.");const p=c.replace(/\/?$/,"")+"/api/people-groups/list?fields="+"slug,name,latitude,longitude,country_code,primary_language,wagf_block,population"+"&lang=en",M=await fetch(p,{cache:"no-store"});if(!M.ok)throw new Error("list "+M.status);const N=await M.json();return N.posts||N.data||N.records||N.results||N.items||(Array.isArray(N)?N:[])}return Rn(async()=>{var C,y,R;await L();const c=w.value;try{c&&c.setProjection("mercator")}catch{}const P=o.value.dataBase||typeof window<"u"&&window.MAP_APP_BASE_URL||"",p=H=>P?P.replace(/\/?$/,"/")+"data/"+H:null,M=await A([o.value.adminUrl,p("admin1-membership.json")].filter(Boolean))||fg||{},N=await A([o.value.dataUrl,p("reached-neighbors.json")].filter(Boolean))||ee||{countries:{}};let U=[];try{U=await j()}catch(H){g.value="Live API unreachable — "+H.message,s.value=!0;return}d.value=q(U,M),_.value=sa(N,d.value),s.value=!0;try{window.__lcStats={reachedPins:_.value.length,matchedClusters:d.value.filter(H=>H.reached&&H.reached.length).length,totalClusters:d.value.length,matchedByRol3:_.value.filter(H=>H.rol3).length}}catch{}const h=()=>{Y(),c.on("click",xe,V=>{var Q;const oa=(Q=V.features)==null?void 0:Q[0];oa&&aa(oa.properties.key)});const H=(V,oa)=>{c.on("mouseenter",V,()=>{c.getCanvas().style.cursor="pointer"}),c.on("mouseleave",V,()=>{c.getCanvas().style.cursor="",x.value={...x.value,show:!1}}),c.on("mousemove",V,Q=>{var b;const m=(b=Q.features)==null?void 0:b[0];m&&(x.value={show:!0,x:Q.originalEvent.clientX,y:Q.originalEvent.clientY,html:oa(m.properties)})})};H(xe,V=>`${na(V.lang)}
${na(V.key)}
unreached ${V.count} groups
reached ${V.hasReach?"matching neighbors ✓":"none found"}
click → bounded set + flower
`),H(Mr,V=>`${na(V.name)}
${na(V.country)} · ${na(V.lang)}
reached ${Math.round(V.pct)}% Christian
`)};(C=c==null?void 0:c.isStyleLoaded)!=null&&C.call(c)?h():(y=c==null?void 0:c.once)==null||y.call(c,"load",h),(R=c==null?void 0:c.once)==null||R.call(c,"idle",()=>{s.value&&Y()})}),Ue(()=>{E()}),On(` + .lc-root { position:absolute; inset:0; display:flex; flex-direction:column; overflow:hidden; + background:#ffffff; color:#1f2937; isolation:isolate; + font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; } + .lc-map { position:absolute; inset:0; } + .lc-loading { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; + background:#ffffff; color:${Yt}; font:13px/1 ui-monospace,monospace; z-index:5; } + + .lc-top { position:absolute; top:10px; left:10px; right:10px; z-index:30; display:flex; + flex-wrap:wrap; gap:8px; align-items:center; pointer-events:none; } + .lc-top > * { pointer-events:auto; } + .lc-title { background:${Yt}; color:#fff; font:700 12px/1 ui-monospace,monospace; + letter-spacing:.04em; text-transform:uppercase; padding:8px 12px; border-radius:8px; } + .lc-stats { margin-left:auto; background:rgba(255,255,255,.94); border:1px solid #d1d5db; + border-radius:8px; padding:7px 11px; font:600 11px/1.5 ui-monospace,monospace; color:#374151; text-align:right; } + .lc-stats b { color:${Ui}; } + + .lc-legend { position:absolute; left:10px; bottom:34px; z-index:25; background:rgba(255,255,255,.95); + border:1px solid #d1d5db; border-radius:10px; padding:9px 12px; max-width:240px; box-shadow:0 4px 14px rgba(0,0,0,.12); } + .lc-legend h4 { font:700 9px/1 ui-monospace,monospace; letter-spacing:.1em; text-transform:uppercase; color:#6b7280; margin-bottom:8px; } + .lc-lrow { display:flex; align-items:center; gap:8px; padding:3px 0; font-size:11px; color:#374151; } + .lc-dot { width:12px; height:12px; border-radius:50%; flex:0 0 auto; border:1px solid rgba(0,0,0,.25); } + + .lc-panel { position:absolute; top:52px; right:10px; bottom:34px; z-index:26; width:290px; max-width:48vw; + background:rgba(255,255,255,.98); border:1px solid #d1d5db; border-radius:10px; box-shadow:0 4px 16px rgba(0,0,0,.16); + display:flex; flex-direction:column; overflow:hidden; } + .lc-panel-head { padding:11px 13px; background:${Vt}; color:#fff; } + .lc-panel-head .lc-h-lang { font:800 15px/1.2 -apple-system,sans-serif; } + .lc-panel-head .lc-h-sub { margin-top:3px; font:600 11px/1.3 ui-monospace,monospace; color:#ffe4e6; } + .lc-panel-body { flex:1 1 0; overflow-y:auto; padding:9px 11px; } + .lc-sec { font:700 9px/1 ui-monospace,monospace; letter-spacing:.1em; text-transform:uppercase; color:#6b7280; margin:6px 0 6px; } + .lc-chip { display:inline-block; font:600 10px/1 ui-monospace,monospace; padding:3px 7px; border-radius:999px; + border:1px solid #d1d5db; color:#374151; background:#f9fafb; margin:0 4px 4px 0; } + .lc-re { border:1px solid #e5e7eb; border-radius:8px; padding:6px 8px; margin-bottom:5px; } + .lc-re-name { font:700 12px/1.2 -apple-system,sans-serif; color:#111827; display:flex; align-items:center; gap:6px; } + .lc-re-meta { margin-top:3px; font:11px/1.3 ui-monospace,monospace; color:#4b5563; } + .lc-drill { display:block; width:100%; margin-top:8px; padding:9px; border:0; border-radius:8px; cursor:pointer; + background:${Yt}; color:#fff; font:700 12px/1 -apple-system,sans-serif; } + .lc-drill:hover { background:#013a8a; } + .lc-muted { color:#6b7280; font-size:11px; padding:8px 2px; } + + .lc-footer { position:absolute; left:0; right:0; bottom:0; z-index:20; background:${Yt}; color:#dbe4f3; + font:10px/1.4 ui-monospace,monospace; padding:5px 12px; display:flex; flex-wrap:wrap; gap:3px 14px; align-items:center; } + .lc-footer b { color:#fff; } + + .lc-tip { position:fixed; z-index:60; pointer-events:none; max-width:240px; background:#0e1730; + border:1px solid #34508c; border-radius:9px; padding:9px 11px; box-shadow:0 6px 22px rgba(0,0,0,.5); font-size:11.5px; color:#dbe4f3; } + .lc-tip strong { font-size:13px; color:#fff; } + .lc-tip-sub { color:#fda4af; font:600 10px/1.3 ui-monospace,monospace; margin:2px 0 6px; } + .lc-tip-row { display:flex; gap:6px; line-height:1.5; } + .lc-tip-k { color:#7e90b6; min-width:64px; } + + @media (max-width:720px){ .lc-stats{ display:none; } .lc-panel{ width:210px; } .lc-legend{ max-width:160px; } } +`,"lang-cluster"),(c,P)=>(z(),W("div",{ref_key:"lcRoot",ref:r,class:"lc-root",onMousemove:u},[f("div",{ref_key:"mapContainer",ref:l,class:"lc-map"},null,512),s.value?fa("",!0):(z(),W("div",W_,X(g.value),1)),f("div",J_,[P[5]||(P[5]=f("span",{class:"lc-title"},"My UPG Neighbor · Language Clusters",-1)),s.value?(z(),W("span",Z_,[f("b",null,X(I.value.clusters),1),P[0]||(P[0]=ya(" language clusters · ",-1)),f("b",null,X(I.value.pgs),1),P[1]||(P[1]=ya(" unreached",-1)),P[2]||(P[2]=f("br",null,null,-1)),f("b",null,X(I.value.provinces),1),P[3]||(P[3]=ya(" IN/CN provinces · ",-1)),f("b",null,X(I.value.withReach),1),P[4]||(P[4]=ya(" with reached match ",-1))])):fa("",!0)]),s.value?(z(),W("div",q_,[P[8]||(P[8]=f("h4",null,"Bounded sets",-1)),f("div",X_,[f("span",{class:"lc-dot",style:Ka({background:Vt})},null,4),P[6]||(P[6]=ya(" Unreached language cluster (size = #groups)",-1))]),f("div",Q_,[f("span",{class:"lc-dot",style:Ka({background:n(80)})},null,4),P[7]||(P[7]=ya(" Reached neighbor (matched by language)",-1))]),P[9]||(P[9]=f("div",{class:"lc-lrow",style:{color:"#6b7280","font-size":"10px","margin-top":"4px"}},"green ring = cluster has a reached match · click a cluster to drill",-1))])):fa("",!0),s.value&&G.value?(z(),W("div",a5,[f("div",n5,[f("div",e5,X(G.value.lang),1),f("div",i5,X(G.value.scope==="province"?G.value.province+" · "+G.value.country:G.value.country),1)]),f("div",t5,[f("div",o5,"Bounded set — "+X(G.value.count)+" unreached groups",1),(z(!0),W(Aa,null,Ua(G.value.members.slice(0,18),(p,M)=>(z(),W("span",{key:M,class:"lc-chip"},X(p.name),1))),128)),G.value.members.length>18?(z(),W("span",r5,"+"+X(G.value.members.length-18)+" more",1)):fa("",!0),f("div",l5,"Reached neighbors (same language) — "+X(G.value.reached.length),1),G.value.reached.length?fa("",!0):(z(),W("div",s5,"No reached people-group shares this language in the baked set. A frontier — pray for laborers (Luke 10:2).")),(z(!0),W(Aa,null,Ua(G.value.reached,(p,M)=>(z(),W("div",{key:"r"+M,class:"lc-re"},[f("div",c5,[f("span",{class:"lc-dot",style:Ka({background:n(p.pct)})},null,4),ya(X(p.name),1)]),f("div",g5,X(p.country)+" · "+X(Math.round(p.pct))+"% Christian · "+X(p.lang),1)]))),128)),f("button",{class:"lc-drill",onClick:ba},"Open flower view ▸")])])):fa("",!0),s.value?(z(),W("div",u5,[P[10]||(P[10]=f("span",null,[f("b",null,"Language clusters"),ya(" red unreached · green reached-by-language")],-1)),f("span",null,"unreached = LIVE UPG data ("+X(I.value.pgs)+")",1),P[11]||(P[11]=f("span",null,"IN/CN province = real ADM1 (my-upg-100-list point-in-polygon)",-1)),P[12]||(P[12]=f("span",null,"reached = baked reached-neighbors",-1)),P[13]||(P[13]=f("span",null,"Luke 10:2 · bounded sets → flowers",-1))])):fa("",!0),x.value.show?(z(),W("div",{key:4,class:"lc-tip",style:Ka({left:x.value.x+14+"px",top:x.value.y+14+"px"}),innerHTML:x.value.html},null,12,d5)):fa("",!0)],544))}},p5=Object.freeze(Object.defineProperty({__proto__:null,default:Kg},Symbol.toStringTag,{value:"Module"})),Wt={churches:[{name:"Antioch Fellowship",lat:13.08,lng:80.27,region:"Chennai, India",network:"South Asia Partners"},{name:"Cornerstone Church",lat:-1.29,lng:36.82,region:"Nairobi, Kenya",network:"East Africa Network"},{name:"Living Hope Church",lat:14.6,lng:120.98,region:"Manila, Philippines",network:"Southeast Asia Partners"},{name:"Grace Harbor Church",lat:34.05,lng:-118.24,region:"Los Angeles, USA",network:"North America Sending"},{name:"Redeemer Fellowship",lat:51.51,lng:-.13,region:"London, United Kingdom",network:"Europe Partners"},{name:"New Life Church",lat:-23.55,lng:-46.63,region:"Sao Paulo, Brazil",network:"Latin America Network"},{name:"Emmanuel Church",lat:37.57,lng:126.98,region:"Seoul, South Korea",network:"East Asia Sending"},{name:"Bethel Community",lat:6.52,lng:3.38,region:"Lagos, Nigeria",network:"West Africa Network"}]},m5={class:"sn-map-area"},h5={key:0,class:"sn-loading"},y5={class:"sn-top"},b5=["value"],_5=["value"],f5=["aria-pressed"],P5={class:"sn-legend"},C5={class:"sn-legend-row"},j5={class:"sn-legend-row"},k5={class:"sn-legend-row"},G5={key:1,class:"sn-panel"},v5={class:"sn-panel-head"},A5={class:"sn-target"},S5={class:"sn-sub"},E5={class:"sn-panel-body"},M5=["onClick"],I5={class:"sn-sender-name"},w5={class:"sn-sender-meta"},x5={class:"sn-chip pct"},T5={class:"sn-chip bridge"},N5={class:"sn-chip adj"},L5={class:"sn-chip"},R5={key:0,style:{padding:"14px","font-size":"12px",color:"#6b7280"}},$5={class:"sn-footer"},Jt="#FF6600",te="#002e6e",Bg="#1f9d55",F5="#9bcf9b",Hi="#7c3aed",Og="sn-arrows-src",Ir="sn-senders-src",wr="sn-target-src",Ug="sn-targets-all-src",Hg="sn-arrows",Di="sn-senders",Dg="sn-sender-labels",zg="sn-target",Vg="sn-target-label",Pe="sn-targets-all",Zt="sn-churches-src",ei="sn-churches",qt="sn-church-labels",Yg={__name:"send-map",setup(a){var ta,aa,ba,na,u,A;On(` + .sn-root { position:absolute;inset:0;display:flex;flex-direction:column;overflow:hidden;background:#ffffff;color:#1f2937;isolation:isolate; + font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; } + .sn-map-area { flex:1 1 0;position:relative;overflow:hidden; } + .sn-map-canvas { position:absolute;inset:0; } + .sn-loading { position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#ffffff;color:${te};font-size:13px;z-index:5; } + + /* ── Top bar: title + target selector ── */ + .sn-top { position:absolute;top:10px;left:10px;z-index:30;display:flex;flex-wrap:wrap;gap:8px;align-items:center; } + .sn-title { background:${te};color:#fff;font:700 12px/1 ui-monospace,monospace;letter-spacing:.04em;text-transform:uppercase;padding:8px 12px;border-radius:8px; } + .sn-select { background:#fff;border:1px solid ${te};color:${te};font:600 12px/1 -apple-system,sans-serif;padding:7px 10px;border-radius:8px;cursor:pointer;max-width:240px; } + .sn-toggle { background:${Hi};border:1px solid ${Hi};color:#fff;font:700 11px/1 ui-monospace,monospace;letter-spacing:.03em;padding:8px 11px;border-radius:8px;cursor:pointer; } + .sn-toggle.off { background:#fff;color:${Hi}; } + + /* ── Left: 4-D JOIN legend (the gate the connectors pass through) ── */ + .sn-legend { position:absolute;top:58px;left:10px;z-index:25;background:rgba(255,255,255,0.95);border:1px solid #d1d5db;border-radius:10px;padding:9px 12px;box-shadow:0 4px 14px rgba(0,0,0,0.12);max-width:230px; } + .sn-legend h4 { font:700 9px/1 ui-monospace,monospace;letter-spacing:.1em;text-transform:uppercase;color:#6b7280;margin-bottom:8px; } + .sn-legend-row { display:flex;align-items:flex-start;gap:7px;padding:3px 0;font-size:11px;color:#374151;line-height:1.3; } + .sn-dot { width:11px;height:11px;border-radius:50%;flex:0 0 auto;border:1px solid rgba(0,0,0,0.35);margin-top:1px; } + .sn-legend .sn-num { font-weight:700;color:${te};flex:0 0 auto; } + + /* ── Right: worked sender table for the selected target ── */ + .sn-panel { position:absolute;top:10px;right:10px;bottom:42px;z-index:25;width:280px;max-width:46vw;background:rgba(255,255,255,0.97);border:1px solid #d1d5db;border-radius:10px;box-shadow:0 4px 14px rgba(0,0,0,0.12);display:flex;flex-direction:column;overflow:hidden; } + .sn-panel-head { padding:10px 12px;border-bottom:1px solid #e5e7eb;background:${te};color:#fff; } + .sn-panel-head .sn-target { font:700 13px/1.2 -apple-system,sans-serif; } + .sn-panel-head .sn-sub { margin-top:4px;font:11px/1.3 ui-monospace,monospace;color:#c7d2fe; } + .sn-panel-body { flex:1 1 0;overflow-y:auto;padding:6px 8px; } + .sn-sender { border:1px solid #e5e7eb;border-radius:8px;padding:7px 9px;margin-bottom:6px;cursor:pointer;transition:border-color .12s,box-shadow .12s; } + .sn-sender:hover { border-color:${Jt};box-shadow:0 2px 8px rgba(255,102,0,0.18); } + .sn-sender-name { font:700 12px/1.2 -apple-system,sans-serif;color:#111827;display:flex;align-items:center;gap:6px; } + .sn-sender-meta { margin-top:4px;display:flex;flex-wrap:wrap;gap:4px; } + .sn-chip { font:600 10px/1 ui-monospace,monospace;padding:3px 6px;border-radius:999px;border:1px solid #d1d5db;color:#374151;background:#f9fafb; } + .sn-chip.pct { color:#0b5e33;background:#e7f6ec;border-color:#b7e0c4; } + .sn-chip.bridge { color:${te};background:#e7edf8;border-color:#c2d2ee; } + .sn-chip.adj { color:#7a3e00;background:#fdeedd;border-color:#f3d4ac; } + + /* ── Footer: provenance (honesty contract, spec §3 + §5) ── */ + .sn-footer { flex:0 0 auto;background:${te};color:#dbe4f3;font:10px/1.4 ui-monospace,monospace;padding:6px 12px;display:flex;flex-wrap:wrap;gap:4px 14px;align-items:center; } + .sn-footer strong { color:#fff; } + + @media(max-width:760px){ + .sn-panel { width:200px; } + .sn-legend { max-width:180px; } + } +`,"send-map");const n=Ya("profileConfig"),e=Ya("mapboxToken"),i=Ya("instanceId",null);i!=null&&i.value||i||""+Date.now().toString(36)+Math.random().toString(36).slice(2,8);const t=ua(null),o=ua(null),r=ua(!1),l=ua(null),s=ua(((ta=n==null?void 0:n.value)==null?void 0:ta.target)??"India"),g=ua(!0),d={India:[79,22],Pakistan:[69.3,30],Indonesia:[113,-1],Bangladesh:[90.3,23.7],China:[104,35],Japan:[138,37],Iran:[53,32],"Türkiye (Turkey)":[35,39],Egypt:[30,26.5],Nigeria:[8,9.5],Thailand:[101,15],Sudan:[30,15.5],Algeria:[3,28],Iraq:[44,33],"Myanmar (Burma)":[96,21],Afghanistan:[66,34],Yemen:[47.5,15.5],Morocco:[-6,32],Uzbekistan:[64,41.5],"Saudi Arabia":[45,24],Ethiopia:[39.5,9],Niger:[9,17.5],"Korea, North":[127,40],Nepal:[84,28.2],Mali:[-3.5,17],Somalia:[46.5,5.5],Malaysia:[108,3.5],Russia:[90,60],Cambodia:[105,12.7],Kazakhstan:[67,48],Senegal:[-14.5,14.5],"United States":[-98,39],Guinea:[-11,10.5],Tunisia:[9.5,34],Chad:[19,15.5],Tajikistan:[71,38.7],Jordan:[36.5,31],Azerbaijan:[47.5,40.3],Vietnam:[106,16],Israel:[35,31.3],Armenia:[45,40.2],Austria:[14.5,47.5],Bahrain:[50.6,26],Brunei:[114.7,4.5],Bulgaria:[25.5,42.7],"Burkina Faso":[-1.7,12.3],Cameroon:[12.5,6],Canada:[-106,56],"Cape Verde":[-23.6,16],"China, Hong Kong":[114.2,22.3],"China, Macau":[113.5,22.2],Cyprus:[33.2,35.1],"Côte d'Ivoire":[-5.5,7.5],Eritrea:[39,15.3],France:[2.5,47],Georgia:[43.5,42],Ghana:[-1,7.9],Greece:[22,39],"Guinea-Bissau":[-15,12],Italy:[12.5,42.5],Kenya:[38,.2],"Korea, South":[128,36.5],Kuwait:[47.7,29.3],Kyrgyzstan:[74.5,41.3],Lebanon:[35.8,33.9],Liberia:[-9.4,6.5],Moldova:[28.5,47.2],Oman:[56,21],Portugal:[-8,39.5],Qatar:[51.2,25.3],Serbia:[21,44],"Sierra Leone":[-11.8,8.5],Singapore:[103.8,1.35],"South Sudan":[31,7.5],Spain:[-3.7,40.3],Syria:[38,35],Tanzania:[35,-6.3],Togo:[1,8.6],Turkmenistan:[59,39],Uganda:[32.5,1.4],Ukraine:[31,49],"United Arab Emirates":[54,24]};function _(j,c){const P=d[j];if(!P)return null;let p=0;const M=String(c||"");for(let h=0;h>8&255)/255-.5)*3.2;return[P[0]+N,P[1]+U]}const{map:k,initializeMap:x,destroy:D}=Kt({containerRef:o,accessToken:e.value,style:((aa=n==null?void 0:n.value)==null?void 0:aa.style)??"mapbox://styles/mapbox/light-v11",center:((ba=n==null?void 0:n.value)==null?void 0:ba.center)??[60,25],zoom:((na=n==null?void 0:n.value)==null?void 0:na.zoom)??2.4,minZoom:((u=n==null?void 0:n.value)==null?void 0:u.minZoom)??1,maxZoom:((A=n==null?void 0:n.value)==null?void 0:A.maxZoom)??12}),T=la(()=>l.value?Object.keys(l.value.countries):[]),$=la(()=>{var j,c;return((c=(j=l.value)==null?void 0:j.countries)==null?void 0:c[s.value])??null}),w=la(()=>{const j=$.value;return j?[...j.neighbors||[]].filter(c=>d[c.country]).sort((c,P)=>(P.pct_christian||0)-(c.pct_christian||0)):[]});function L(j){return j>=50?Bg:F5}function E(){var P;const j=l.value;if(!j)return G([]);const c=[];for(const p of Object.keys(j.countries)){const M=d[p];M&&c.push({type:"Feature",geometry:{type:"Point",coordinates:M},properties:{name:p,kind:"target",upg:((P=j.countries[p])==null?void 0:P.target_upg)||0}})}return G(c)}function I(){if(!$.value)return{arrows:G([]),senders:G([]),target:G([])};const c=d[s.value]||[60,25],P={type:"Feature",geometry:{type:"Point",coordinates:c},properties:{name:s.value,kind:"target"}},p=[],M=[];for(const N of w.value){const U=_(N.country,N.name+N.lang);U&&(p.push({type:"Feature",geometry:{type:"Point",coordinates:U},properties:{name:N.name,country:N.country,pct:N.pct_christian||0,color:L(N.pct_christian||0)}}),M.push({type:"Feature",geometry:{type:"LineString",coordinates:[U,c]},properties:{bridge:N.bridge,adjacency:N.adjacency}}))}return{arrows:G(M),senders:G(p),target:G([P])}}function G(j){return{type:"FeatureCollection",features:j}}function S(){const j=Array.isArray(Wt==null?void 0:Wt.churches)?Wt.churches:[],c=[];for(const P of j){const p=Number(P.lng),M=Number(P.lat);!Number.isFinite(p)||!Number.isFinite(M)||c.push({type:"Feature",geometry:{type:"Point",coordinates:[p,M]},properties:{name:P.name||"Church",region:P.region||"",network:P.network||""}})}return G(c)}function v(j){if(!j||j.getLayer(ei))return;ga(j,Zt,S()),j.addLayer({id:ei,type:"circle",source:Zt,paint:{"circle-color":Hi,"circle-radius":["interpolate",["linear"],["zoom"],1,5,5,8,9,12],"circle-stroke-width":2,"circle-stroke-color":"#ffffff","circle-opacity":.95}}),j.addLayer({id:qt,type:"symbol",source:Zt,layout:{"text-field":"✝","text-size":["interpolate",["linear"],["zoom"],1,8,9,14],"text-allow-overlap":!0,"text-offset":[0,.05]},paint:{"text-color":"#ffffff"}}),j.addLayer({id:qt+"-name",type:"symbol",source:Zt,minzoom:3,layout:{"text-field":["get","name"],"text-size":11,"text-offset":[0,1.3],"text-anchor":"top","text-allow-overlap":!1},paint:{"text-color":"#4c1d95","text-halo-color":"#ffffff","text-halo-width":1.4}});const c=typeof window<"u"?window.mapboxgl:null;j.on("click",ei,P=>{var U;const p=(U=P.features)==null?void 0:U[0];if(!p||!c)return;const M=p.properties||{},N='
✝ '+K(M.name)+"
"+(M.network?'
'+K(M.network)+"
":"")+(M.region?'
'+K(M.region)+"
":"")+"
";new c.Popup({maxWidth:"260px",offset:10}).setLngLat(p.geometry.coordinates).setHTML(N).addTo(j)}),j.on("mouseenter",ei,()=>{j.getCanvas().style.cursor="pointer"}),j.on("mouseleave",ei,()=>{j.getCanvas().style.cursor=""}),O(j)}function K(j){return String(j??"").replace(/[&<>"]/g,c=>({"&":"&","<":"<",">":">",'"':"""})[c])}function O(j){if(!j)return;const c=g.value?"visible":"none";for(const P of[ei,qt,qt+"-name"])j.getLayer(P)&&j.setLayoutProperty(P,"visibility",c)}function q(){g.value=!g.value,O(k.value)}function sa(){var M;const j=k.value;if(!j||!((M=j.isStyleLoaded)!=null&&M.call(j)))return;const{arrows:c,senders:P,target:p}=I();ga(j,Og,c),ga(j,Ir,P),ga(j,wr,p),ga(j,Ug,E()),j.getLayer(Pe)||j.addLayer({id:Pe,type:"circle",source:Ug,paint:{"circle-color":Jt,"circle-radius":["interpolate",["linear"],["zoom"],1,5,5,9,9,13],"circle-stroke-width":1.5,"circle-stroke-color":"#ffffff"}}),j.getLayer(Hg)||j.addLayer({id:Hg,type:"line",source:Og,layout:{"line-cap":"round"},paint:{"line-color":te,"line-width":1.4,"line-opacity":.55,"line-dasharray":[2,2]}}),j.getLayer(Di)||j.addLayer({id:Di,type:"circle",source:Ir,paint:{"circle-color":["get","color"],"circle-radius":["interpolate",["linear"],["zoom"],1,2.5,5,4,9,6],"circle-stroke-width":.8,"circle-stroke-color":"#ffffff","circle-opacity":.92}}),j.getLayer(Dg)||j.addLayer({id:Dg,type:"symbol",source:Ir,minzoom:3.4,layout:{"text-field":["get","name"],"text-size":10,"text-offset":[0,1.1],"text-anchor":"top","text-allow-overlap":!1},paint:{"text-color":"#0b5e33","text-halo-color":"#ffffff","text-halo-width":1.3}}),j.getLayer(zg)||j.addLayer({id:zg,type:"circle",source:wr,paint:{"circle-color":Jt,"circle-radius":["interpolate",["linear"],["zoom"],1,8,5,13,9,18],"circle-stroke-width":2.5,"circle-stroke-color":"#ffffff","circle-opacity":.95}}),j.getLayer(Vg)||j.addLayer({id:Vg,type:"symbol",source:wr,layout:{"text-field":["get","name"],"text-size":13,"text-font":["DIN Offc Pro Bold","Arial Unicode MS Bold"],"text-offset":[0,-1.4],"text-anchor":"bottom","text-allow-overlap":!0},paint:{"text-color":"#8a3800","text-halo-color":"#ffffff","text-halo-width":1.6}}),ea(j)}function ea(j){if(!j||!j.getLayer(Pe))return;const c=s.value;j.setPaintProperty(Pe,"circle-opacity",c?["case",["==",["get","name"],c],0,.28]:.9),j.setPaintProperty(Pe,"circle-stroke-opacity",c?["case",["==",["get","name"],c],0,.5]:.9)}function ga(j,c,P){j.getSource(c)?j.getSource(c).setData(P):j.addSource(c,{type:"geojson",data:P})}function Sa(){const j=k.value;if(!j)return;const c=d[s.value];if(!c)return;let P=c[0],p=c[0],M=c[1],N=c[1];for(const U of w.value){const h=d[U.country];h&&(P=Math.min(P,h[0]),p=Math.max(p,h[0]),M=Math.min(M,h[1]),N=Math.max(N,h[1]))}try{j.stop(),P===p&&M===N?j.easeTo({center:c,zoom:4,duration:900}):j.fitBounds([[P,M],[p,N]],{padding:90,maxZoom:5.5,duration:900})}catch{}}function Ma(j){!j||!d[j]||(s.value=j,sa(),Sa())}function ma(j){Ma(j.target.value)}function pa(j){const c=k.value,P=d[j.country];if(!(!c||!P))try{c.stop(),c.easeTo({center:P,zoom:4.5,duration:800})}catch{}}async function Y(){var c;const j=(c=n==null?void 0:n.value)==null?void 0:c.dataUrl;if(j)try{const P=await fetch(j);if(P.ok)return await P.json()}catch{}return ee}return Rn(async()=>{var P,p,M,N,U,h;await x();const j=k.value;try{j&&j.setProjection("mercator")}catch{}if((P=n==null?void 0:n.value)!=null&&P.debugExpose&&typeof window<"u")try{(((N=(M=(p=t.value)==null?void 0:p.getRootNode)==null?void 0:M.call(p))==null?void 0:N.host)||window).__sendmap=j}catch{}if(l.value=await Y(),!l.value){r.value=!0;return}T.value.includes(s.value)||(s.value=T.value[0]||s.value);const c=()=>{sa(),v(j),j.on("click",Pe,C=>{var R;const y=(R=C.features)==null?void 0:R[0];y&&Ma(y.properties.name)}),j.on("mouseenter",Pe,()=>{j.getCanvas().style.cursor="pointer"}),j.on("mouseleave",Pe,()=>{j.getCanvas().style.cursor=""}),j.on("click",Di,C=>{var R;const y=(R=C.features)==null?void 0:R[0];if(y)try{j.stop(),j.easeTo({center:y.geometry.coordinates,zoom:4.5,duration:800})}catch{}}),j.on("mouseenter",Di,()=>{j.getCanvas().style.cursor="pointer"}),j.on("mouseleave",Di,()=>{j.getCanvas().style.cursor=""}),Sa(),r.value=!0};(U=j==null?void 0:j.isStyleLoaded)!=null&&U.call(j)?c():(h=j==null?void 0:j.once)==null||h.call(j,"load",c)}),Ue(()=>{D()}),(j,c)=>{var P,p,M,N,U,h;return z(),W("div",{ref_key:"snRoot",ref:t,class:"sn-root"},[f("div",m5,[f("div",{ref_key:"mapContainer",ref:o,class:"sn-map-canvas"},null,512),r.value?fa("",!0):(z(),W("div",h5,"Loading SEND map…")),f("div",y5,[c[0]||(c[0]=f("span",{class:"sn-title"},"Church Map · My UPG Neighbor",-1)),T.value.length?(z(),W("select",{key:0,class:"sn-select",value:s.value,onChange:ma,"aria-label":"Select unreached target country"},[(z(!0),W(Aa,null,Ua(T.value,C=>(z(),W("option",{key:C,value:C},X(C),9,_5))),128))],40,b5)):fa("",!0),f("button",{class:Ia(["sn-toggle",{off:!g.value}]),onClick:q,"aria-pressed":g.value,"aria-label":"Toggle partnering churches layer"}," ✝ Churches "+X(g.value?"on":"off"),11,f5)]),f("div",P5,[c[4]||(c[4]=As('

4-D SEND join

1·Adjacency — same-country, else neighbor ≤1500 km
2·Language pair — same language (strong) / cluster (soft)
3·Reached % — sender ≥10% Christian (more = more laborers)
4·Lower pressure — sender from a freer place
',6)),f("div",C5,[f("span",{class:"sn-dot",style:Ka({background:Jt})},null,4),c[1]||(c[1]=f("span",null,[ya("Unreached target — "),f("strong",null,"click one"),ya(" to SEND-focus")],-1))]),f("div",j5,[f("span",{class:"sn-dot",style:Ka({background:Bg})},null,4),c[2]||(c[2]=f("span",null,"Reached sender (SEND →) — who we mobilize",-1))]),f("div",k5,[f("span",{class:"sn-dot",style:Ka({background:Hi})},null,4),c[3]||(c[3]=f("span",null,[f("strong",null,"Partnering church"),ya(" — the network (click for details)")],-1))])]),$.value?(z(),W("div",G5,[f("div",v5,[f("div",A5,X(s.value),1),f("div",S5,X(($.value.target_upg||0).toLocaleString())+" UPGs · "+X(w.value.length)+" reached senders ",1)]),f("div",E5,[(z(!0),W(Aa,null,Ua(w.value,(C,y)=>(z(),W("div",{key:C.name+y,class:"sn-sender",onClick:R=>pa(C)},[f("div",I5,[f("span",{class:"sn-dot",style:Ka({background:L(C.pct_christian||0)})},null,4),ya(" "+X(C.name),1)]),f("div",w5,[f("span",x5,X(Math.round(C.pct_christian||0))+"% Christian",1),f("span",T5,X(C.bridge),1),f("span",N5,X(C.adjacency),1),f("span",L5,X(C.lang),1)])],8,M5))),128)),w.value.length?fa("",!0):(z(),W("div",R5," No qualifying reached senders with a known country centroid for this target. "))])])):fa("",!0),f("div",$5,[c[5]||(c[5]=f("span",null,[f("strong",null,"SEND"),ya(" reached neighbor → unreached target")],-1)),c[6]||(c[6]=f("span",null,"target = LIVE (JP UnreachedPeoplesByCountry)",-1)),f("span",null,"senders = baked "+X(((p=(P=l.value)==null?void 0:P.meta)==null?void 0:p.generated)||"2026-06-12")+" (≥"+X(((N=(M=l.value)==null?void 0:M.meta)==null?void 0:N.threshold_pct_christian)||10)+"% Christian, "+X(((h=(U=l.value)==null?void 0:U.meta)==null?void 0:h.adjacency_km)||1500)+" km)",1),c[7]||(c[7]=f("span",null,"Hab 2:2 · mobilize existing laborers",-1)),c[8]||(c[8]=f("span",null,"chain: UPG-100 → FPG base → My UPG Neighbor",-1))])])],512)}}},K5=Object.freeze(Object.defineProperty({__proto__:null,default:Yg},Symbol.toStringTag,{value:"Module"})),Wg="adoptionStatus",oe={notAdopted:"#e74c3c",hasAdoption:"#22c55e"},B5=oe,xr={notAdopted:"Needs Adoption",hasAdopted:"Has Adoption"},O5=xr;function Jg(a){var i;const n=a.adoptionStatus??((i=a._raw)==null?void 0:i.adopted_by_churches);return n===!0||n===1||typeof n=="number"&&n>0||typeof n=="object"&&(n==null?void 0:n.value)?oe.hasAdoption:oe.notAdopted}function Tr({colorSource:a="properties"}={}){const n=a==="feature-state"?["feature-state","adoptionStatus"]:["get","adoptionStatus"];return["case",["==",n,!0],oe.hasAdoption,["==",n,1],oe.hasAdoption,oe.notAdopted]}const Zg=Tr,U5=Object.freeze(Object.defineProperty({__proto__:null,ADOPTION_COLORS:B5,ADOPTION_LABELS:O5,LABELS:xr,PALETTE:oe,PROPERTY_KEY:Wg,applyColor:Tr,buildColorExpression:Zg,default:{name:"Adoption Progress",propertyKey:Wg,palette:oe,colors:oe,labels:xr,getColor:Jg,applyColor:Tr,buildColorExpression:Zg},getColor:Jg},Symbol.toStringTag,{value:"Module"})),Nr="affinityBlock",ii="#95a5a6",re={A001:"Arab World",A002:"East Asian Peoples",A003:"Eurasian Peoples",A004:"Horn of Africa Peoples",A005:"Jewish",A006:"Malay Peoples",A007:"Persian-Median Peoples",A008:"South Asian Peoples",A009:"North American Peoples",A010:"Pacific Islanders",A011:"Southeast Asian Peoples",A012:"Sub-Saharan Peoples",A013:"Tibetan-Himalayan Peoples",A014:"Turkic Peoples",A015:"Latin-Caribbean Americans",A017:"Deaf"},Xt={A001:"#E74C3C",A002:"#3498DB",A003:"#2ECC71",A004:"#F39C12",A005:"#9B59B6",A006:"#1ABC9C",A007:"#E67E22",A008:"#34495E",A009:"#95A5A6",A010:"#5DADE2",A011:"#16A085",A012:"#C0392B",A013:"#8E44AD",A014:"#D35400",A015:"#27AE60",A017:"#000000"},Ce=Xt,qg=Object.entries(re).reduce((a,[n,e])=>(a[e]=n,a),{}),Lr=Object.entries(re).reduce((a,[n,e])=>(a[e]=Ce[n],a),{}),Xg=re;function Rr(a){return re[a]||"Unknown"}function $r(a){return Ce[a]||ii}function Qg(a){return a?typeof a=="string"&&/^A\d{3}$/.test(a)?Ce[a]||ii:Lr[a]||ii:ii}function au(){return Object.entries(re).map(([a,n])=>({code:a,name:n,color:Ce[a]}))}function nu(a){return{code:a,name:re[a]||"Unknown",color:Ce[a]||ii}}function eu(a){var e;const n=a.affinityBlock||((e=a._raw)==null?void 0:e.ROP1);return $r(n)}function iu(a){var e;const n=a.affinityBlock||((e=a._raw)==null?void 0:e.ROP1);return Rr(n)}function Fr(){const a=["match",["get",Nr]];return Object.entries(Ce).forEach(([n,e])=>{a.push(n,e)}),a.push(ii),a}const tu=Fr,H5=Object.freeze(Object.defineProperty({__proto__:null,AFFINITY_BLOCK_COLORS:Ce,AFFINITY_BLOCK_COLORS_BY_NAME:Lr,AFFINITY_BLOCK_NAMES:re,AFFINITY_BLOCK_NAME_TO_CODE:qg,NAMES:Xg,PALETTE:Xt,PROPERTY_KEY:Nr,affinityBlockCodeLookup:re,affinityBlockCodeToColor:Ce,affinityBlockCodeToName:re,affinityBlockColors:Lr,affinityBlockNameToCode:qg,applyColor:Fr,buildColorExpression:tu,default:{name:"Affinity Block",propertyKey:Nr,palette:Xt,colors:Xt,names:Xg,getColor:eu,applyColor:Fr,buildColorExpression:tu,getName:iu,getAffinityBlockName:Rr,getAffinityBlockColor:Qg,getAffinityBlockColorByCode:$r,getAffinityBlocksArray:au,getAffinityBlockData:nu},getAffinityBlockColor:Qg,getAffinityBlockColorByCode:$r,getAffinityBlockData:nu,getAffinityBlockName:Rr,getAffinityBlocksArray:au,getColor:eu,getName:iu},Symbol.toStringTag,{value:"Module"})),ou="engagementStatus",le={notEngaged:"#e74c3c",hasEngagement:"#22c55e"},D5=le,Kr={notEngaged:"Unengaged",hasEngagement:"Engaged"},z5=Kr;function ru(a){var i;const n=a.engagementStatus??((i=a._raw)==null?void 0:i.people_committed);return n===!0||n===1||typeof n=="number"&&n>0||typeof n=="object"&&(n==null?void 0:n.value)?le.hasEngagement:le.notEngaged}function Br({colorSource:a="properties"}={}){const n=a==="feature-state"?["feature-state","engagementStatus"]:["get","engagementStatus"];return["case",["==",n,!0],le.hasEngagement,["==",n,1],le.hasEngagement,le.notEngaged]}const lu=Br,V5=Object.freeze(Object.defineProperty({__proto__:null,ENGAGEMENT_COLORS:D5,ENGAGEMENT_LABELS:z5,LABELS:Kr,PALETTE:le,PROPERTY_KEY:ou,applyColor:Br,buildColorExpression:lu,default:{name:"Engagement Progress",propertyKey:ou,palette:le,colors:le,labels:Kr,getColor:ru,applyColor:Br,buildColorExpression:lu},getColor:ru},Symbol.toStringTag,{value:"Module"}));function Y5(a){if(!a)return"hsl(0, 60%, 50%)";let n=0;for(let i=0;i{a.push(n,e)}),a.push(Ur),a}const uu=zr,J5=Object.freeze(Object.defineProperty({__proto__:null,GEO_REGION_COLORS:W5,PALETTE:Qt,PROPERTY_KEY:Or,REGION_COLOR_ALIASES:Dr,SLUG_PALETTE:ao,applyColor:zr,buildColorExpression:uu,default:{name:"DOXA Region",propertyKey:Or,palette:Qt,colors:Qt,slugColors:ao,aliases:Dr,fallback:Ur,getColor:gu,applyColor:zr,buildColorExpression:uu,getRegionColor:cu,getRegionColorBySlug:Hr},getColor:gu,getRegionColor:cu,getRegionColorBySlug:Hr},Symbol.toStringTag,{value:"Module"})),Vr="languageFamily",Z5="#000000",se={"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"},q5=se;function Hn(a){return se[a]||Z5}const X5=(()=>{const a=e=>String(e||"").toLowerCase().trim(),n={};for(const e of Object.keys(se))n[a(e)]=e;return n})();function Yr(a){if(!a)return"Unknown";const n=String(a).trim();return X5[n.toLowerCase()]||n}function du(a){var n;return Hn(a.languageFamily||((n=a._normalized)==null?void 0:n.languageFamily))}function Wr(){const a=["match",["get",Vr]];return Object.entries(se).forEach(([n,e])=>{a.push(n,e)}),a.push("#95a5a6"),a}const pu=Wr,Q5=Object.freeze(Object.defineProperty({__proto__:null,LANGUAGE_FAMILY_COLORS:q5,PALETTE:se,PROPERTY_KEY:Vr,applyColor:Wr,buildColorExpression:pu,canonicalFamilyName:Yr,default:{name:"Language Family",propertyKey:Vr,palette:se,colors:se,getColor:du,applyColor:Wr,buildColorExpression:pu,getLanguageFamilyColor:Hn,canonicalFamilyName:Yr},defaultFamilyColor:"#95a5a6",getColor:du,getLanguageFamilyColor:Hn,languageFamilyColors:se},Symbol.toStringTag,{value:"Module"})),mu="peoplePraying",no=144,je={noPrayer:"#e74c3c",hasPrayer:"#f39c12",fullPrayer:"#22c55e"},af=je,Jr={noPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayer:"Has Full Prayer Coverage"},nf=Jr;function eo(a){var i;const n=(a==null?void 0:a.peoplePraying)??((i=a==null?void 0:a._raw)==null?void 0:i.people_praying)??null,e=Number(n)||0;return e>=no?"fullPrayer":e>0?"hasPrayer":"noPrayer"}function Zr(a){return je[eo(a)]}function hu(a){var e;const n=(a==null?void 0:a.peoplePraying)??((e=a==null?void 0:a._raw)==null?void 0:e.people_praying)??null;return n!==null&&n>0}function yu(a){return eo(a)==="fullPrayer"}function bu(a){return Zr(a)}function qr({colorSource:a="properties"}={}){const n=a==="feature-state"?["feature-state","peoplePraying"]:["get","peoplePraying"];return["case",[">=",n,no],je.fullPrayer,[">",n,0],je.hasPrayer,je.noPrayer]}const _u=qr,ef=Object.freeze(Object.defineProperty({__proto__:null,FULL_PRAYER_THRESHOLD:no,LABELS:Jr,PALETTE:je,PRAYER_COLORS:af,PRAYER_LABELS:nf,PROPERTY_KEY:mu,applyColor:qr,buildColorExpression:_u,checkHasFullPrayer:yu,checkHasPrayer:hu,default:{name:"Prayer Progress",propertyKey:mu,palette:je,colors:je,labels:Jr,threshold:no,getColor:bu,applyColor:qr,buildColorExpression:_u,getPrayerLevel:eo,getPrayerColor:Zr,checkHasPrayer:hu,checkHasFullPrayer:yu},getColor:bu,getPrayerColor:Zr,getPrayerLevel:eo},Symbol.toStringTag,{value:"Module"})),fu="religion",Xr="#94a3b8",Qr={C:"Christianity",M:"Islam",H:"Hinduism",B:"Buddhism",E:"Ethnoreligion",J:"Judaism",S:"Sikhism",N:"Unaffiliated",O:"Other",U:"Unknown"},jn={C:"#3b82f6",M:"#ef4444",H:"#f59e0b",B:"#facc15",E:"#84cc16",J:"#a855f7",S:"#ec4899",N:"#71717a",O:"#ff6b2b",U:"#94a3b8"};function Pu(a){if(!a||typeof a!="string")return"U";const n=a.charAt(0).toUpperCase();return Qr[n]?n:"U"}function Cu(a){var e,i,t;const n=(a==null?void 0:a.religion)||((i=(e=a==null?void 0:a._raw)==null?void 0:e.religion)==null?void 0:i.value)||((t=a==null?void 0:a._raw)==null?void 0:t.religion);return jn[Pu(n)]||Xr}function al(){return["match",["slice",["coalesce",["get","religion"],""],0,1],"C",jn.C,"M",jn.M,"H",jn.H,"B",jn.B,"E",jn.E,"J",jn.J,"S",jn.S,"N",jn.N,"O",jn.O,Xr]}const ju=al,tf=Object.freeze(Object.defineProperty({__proto__:null,PALETTE:jn,PROPERTY_KEY:fu,RELIGION_FAMILIES:Qr,applyColor:al,buildColorExpression:ju,default:{name:"Religion",propertyKey:fu,palette:jn,families:Qr,getColor:Cu,applyColor:al,buildColorExpression:ju,fallback:Xr},getColor:Cu,getReligionFamily:Pu},Symbol.toStringTag,{value:"Module"})),ku="resourceType",ke={bible:"#3498db",jesusFilm:"#20c997",radio:"#9b59b6",gospel:"#f39c12",audio:"#1abc9c",stories:"#e74c3c",hasResources:"#27ae60",noResources:"#2c3e50"},of=ke,zi=["bible","jesusFilm","radio","gospel","audio","stories"],nl={bible:"Bible",jesusFilm:"Jesus Film",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",hasResources:"Has Resources",noResources:"No Resources"},rf=nl;function Vi(a){return{bible:"Bible",jesusFilm:"Jesus",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories"}[a]}function Gu(a){var n;for(const e of zi)if((a[e]||((n=a._raw)==null?void 0:n[Vi(e)]))==="Available")return ke.hasResources;return ke.noResources}function vu(a){var n;for(const e of zi)if((a[e]||((n=a._raw)==null?void 0:n[Vi(e)]))==="Available")return!0;return!1}function Au(a){var n;for(const e of zi)if((a[e]||((n=a._raw)==null?void 0:n[Vi(e)]))==="Available")return e;return"noResources"}function el(){return["case",["any",["==",["get","bible"],"Available"],["==",["get","jesusFilm"],"Available"],["==",["get","radio"],"Available"],["==",["get","gospel"],"Available"],["==",["get","audio"],"Available"],["==",["get","stories"],"Available"]],ke.hasResources,ke.noResources]}const Su=el,Eu=Object.assign({"./adoption.js":U5,"./affinity-block.js":H5,"./engagement.js":V5,"./geo-region.js":J5,"./language-family.js":Q5,"./prayer-progress.js":ef,"./religion.js":tf,"./resource.js":Object.freeze(Object.defineProperty({__proto__:null,NAMES:nl,PALETTE:ke,PROPERTY_KEY:ku,RESOURCE_COLORS:of,RESOURCE_NAMES:rf,RESOURCE_PRIORITY:zi,applyColor:el,buildColorExpression:Su,default:{name:"Gospel Resources",propertyKey:ku,palette:ke,colors:ke,names:nl,priority:zi,getColor:Gu,applyColor:el,buildColorExpression:Su,hasAnyResource:vu,getResourceType:Au,getCSVColumn:Vi},getCSVColumn:Vi,getColor:Gu,getResourceType:Au,hasAnyResource:vu},Symbol.toStringTag,{value:"Module"}))}),lf=a=>a.replace(/-([a-z0-9])/g,(n,e)=>e.toUpperCase()),sf=a=>a.replace(/-/g,"_").toUpperCase(),cf={...{STATUS:"status",CUSTOM:"custom"}};for(const a of Object.keys(Eu).sort()){const n=a.split("/").pop().replace(/\.js$/,"");if(n.startsWith("_")||n.startsWith(".")||!Eu[a].default)continue;const i=lf(n);cf[sf(n)]=i}const ln={Chamacoco:"Zamucoan",Ninam:"Yanomaman",Yagua:"Yaguan",Muinane:"Witotoan",Finnish:"Uralic","Hill Mari":"Uralic",Mansi:"Uralic","Meadow Mari":"Uralic","North Saami":"Uralic",Carabayo:"Unclassified",Kujarge:"Unclassified",Shabo:"Unclassified",Ainu:"Turkic",Kazakh:"Turkic","Khorasani Turkish":"Turkic",Kyrgyz:"Turkic","Northern Uzbek":"Turkic","South Azerbaijani":"Turkic",Turkish:"Turkic",Tuvan:"Turkic",Uyghur:"Turkic",Amundava:"Tupian",Araweté:"Tupian","Asurini of Xingú":"Tupian","Avá-Canoeiro":"Tupian",Awetí:"Tupian",Kamayurá:"Tupian",Karo:"Tupian",Morerebi:"Tupian",Tenharim:"Tupian","Uru-Eu-Wau-Wau":"Tupian","Uru-Pa-In":"Tupian",Wayampi:"Tupian","Zo’é":"Tupian",Evenki:"Tungusic",Xibe:"Tungusic",Carapana:"Tucanoan",Cubeo:"Tucanoan",Desano:"Tucanoan",Macuna:"Tucanoan",Piratapuyo:"Tucanoan",Siona:"Tucanoan",Siriano:"Tucanoan",Tucano:"Tucanoan",Tuyuca:"Tucanoan",Waimaha:"Tucanoan",Tay:"Trans-New Guinea",Adi:"Sino-Tibetan",Akha:"Sino-Tibetan","Amdo Tibetan":"Sino-Tibetan",Axi:"Sino-Tibetan",Biyo:"Sino-Tibetan","Boro (India)":"Sino-Tibetan",Brokkat:"Sino-Tibetan",Bugun:"Sino-Tibetan",Byangsi:"Sino-Tibetan","Central Lalo":"Sino-Tibetan","Central Tibetan":"Sino-Tibetan",Chak:"Sino-Tibetan",Chalikha:"Sino-Tibetan",Chaudangsi:"Sino-Tibetan",Chocangacakha:"Sino-Tibetan",Darlong:"Sino-Tibetan",Dhimal:"Sino-Tibetan","Digaro-Mishmi":"Sino-Tibetan",Dzalakha:"Sino-Tibetan","Eastern Nisu":"Sino-Tibetan",Ersu:"Sino-Tibetan",Gahri:"Sino-Tibetan",Gongduk:"Sino-Tibetan",Gyalsumdo:"Sino-Tibetan",Hani:"Sino-Tibetan","Idu-Mishmi":"Sino-Tibetan",Kaike:"Sino-Tibetan",Kanashi:"Sino-Tibetan",Katso:"Sino-Tibetan",Khamba:"Sino-Tibetan",Koireng:"Sino-Tibetan",Kucong:"Sino-Tibetan",Kurtokha:"Sino-Tibetan",Ladakhi:"Sino-Tibetan",Lakha:"Sino-Tibetan","Lang’e":"Sino-Tibetan",Lhokpu:"Sino-Tibetan",Lolopo:"Sino-Tibetan",Lunanakha:"Sino-Tibetan","Mandarin Chinese":"Sino-Tibetan",Meitei:"Sino-Tibetan","Miju-Mishmi":"Sino-Tibetan",Mpi:"Sino-Tibetan",Na:"Sino-Tibetan",Namuyi:"Sino-Tibetan",Narua:"Sino-Tibetan",Naxi:"Sino-Tibetan","Northern Muji":"Sino-Tibetan",Nuosu:"Sino-Tibetan",Nupbikha:"Sino-Tibetan",Nyenkha:"Sino-Tibetan",Olekha:"Sino-Tibetan",Pahari:"Sino-Tibetan",Pattani:"Sino-Tibetan","Phana’":"Sino-Tibetan",Phula:"Sino-Tibetan",Phunoi:"Sino-Tibetan",Puma:"Sino-Tibetan",Puroik:"Sino-Tibetan",Raji:"Sino-Tibetan",Rawat:"Sino-Tibetan",Sani:"Sino-Tibetan",Sherdukpen:"Sino-Tibetan",Sherpa:"Sino-Tibetan",Shuhi:"Sino-Tibetan",Sila:"Sino-Tibetan",Singpho:"Sino-Tibetan",Sunwar:"Sino-Tibetan","Tawang Monpa":"Sino-Tibetan",Tseku:"Sino-Tibetan",Tshangla:"Sino-Tibetan",Usoi:"Sino-Tibetan","Western Minyag":"Sino-Tibetan","Wusa Nasu":"Sino-Tibetan","Xiang Chinese":"Sino-Tibetan",Yakkha:"Sino-Tibetan","Youle Jinuo":"Sino-Tibetan","Yue Chinese":"Sino-Tibetan",Zakhring:"Sino-Tibetan","Afghan Sign Language":"Sign Language","Albanian Sign Language":"Sign Language","Algerian Sign Language":"Sign Language","American Sign Language":"Sign Language","Armenian Sign Language":"Sign Language","British Sign Language":"Sign Language","Bulgarian Sign Language":"Sign Language","Cambodian Sign Language":"Sign language","Cuban Sign Language":"Sign Language","Egyptian Sign Language":"Sign Language","Greek Sign Language":"Sign Language","Guinean Sign Language":"Sign Language","Hong Kong Sign Language":"Sign Language","Icelandic Sign Language":"Sign Language","Iranian Sign Language":"Sign Language","Israeli Sign Language":"Sign Language","Jamaican Sign Language":"Sign Language","Jordanian Sign Language":"Sign Language","Laos Sign Language":"Sign Language","Libyan Sign Language":"Sign Language","Maltese Sign Language":"Sign Language","Mauritian Sign Language":"Sign Language","Moroccan Sign Language":"Sign Language","Mozambican Sign Language":"Sign Language","Myanmar Sign Language":"Sign language","Natural Sign Language":"Sign Language","Pakistan Sign Language":"Sign Language","Papua New Guinean Sign Language":"Sign language","Russian Sign Language":"Sign Language","Saudi Arabian Sign Language":"Sign Language","Sign Language of the Netherlands":"Sign Language","Solomon Islands Sign Language":"Sign Language","Sri Lankan Sign Language":"Sign Language","Swedish Sign Language":"Sign Language","Turkish Sign Language":"Sign Language","Northern Conchucos Ancash Quechua":"Quechuan","Northern Pastaza Quichua":"Quechuan",Hupdë:"Puinavean",Amahuaca:"Panoan",Korubo:"Panoan",Sharanahua:"Panoan","Shipibo-Conibo":"Panoan",Yaminahua:"Panoan",Yawanawa:"Panoan",Afitti:"Nilo-Saharan",Assangori:"Nilo-Saharan","Beli (South Sudan)":"Nilo-Saharan",Berta:"Nilo-Saharan",Burun:"Nilo-Saharan","Dar Daju Daju":"Nilo-Saharan","Dar Fur Daju":"Nilo-Saharan","Dar Sila Daju":"Nilo-Saharan",Dazaga:"Nilo-Saharan","Dendi (Benin)":"Nilo-Saharan",Dilling:"Nilo-Saharan",Fur:"Nilo-Saharan",Gbaya:"Nilo-Saharan",Ghulfan:"Nilo-Saharan",Gwama:"Nilo-Saharan","Humburi Senni Songhay":"Nilo-Saharan",Jopadhola:"Nilo-Saharan",Kadaru:"Nilo-Saharan",Kanga:"Nilo-Saharan",Karanga:"Nilo-Saharan",Karko:"Nilo-Saharan",Kebu:"Nilo-Saharan",Keiga:"Nilo-Saharan",Keliko:"Nilo-Saharan",Kendeje:"Nilo-Saharan",Kibet:"Nilo-Saharan","Komo (Sudan)":"Nilo-Saharan",Korandje:"Nilo-Saharan",Kulfa:"Nilo-Saharan",Kwegu:"Nilo-Saharan",Laarim:"Nilo-Saharan",Logorik:"Nilo-Saharan",Majang:"Nilo-Saharan","Manga Kanuri":"Nilo-Saharan",Mango:"Nilo-Saharan",Mararit:"Nilo-Saharan",Marfa:"Nilo-Saharan",Midob:"Nilo-Saharan","Mo’da":"Nilo-Saharan",Morom:"Nilo-Saharan",Moru:"Nilo-Saharan",Naba:"Nilo-Saharan",Nara:"Nilo-Saharan",Njalgulgule:"Nilo-Saharan",Nuer:"Nilo-Saharan","Nyamusa-Molo":"Nilo-Saharan",Nyangatom:"Nilo-Saharan","Olu’bo":"Nilo-Saharan",Opo:"Nilo-Saharan",Päri:"Nilo-Saharan","Sara Kaba Naa":"Nilo-Saharan",Surbakhal:"Nilo-Saharan",Tadaksahak:"Nilo-Saharan","Tama (Chad)":"Nilo-Saharan",Temein:"Nilo-Saharan",Thuri:"Nilo-Saharan","Tirmaga-Chai Suri":"Nilo-Saharan",Toposa:"Nilo-Saharan",Tumtum:"Nilo-Saharan","Wali (Sudan)":"Nilo-Saharan","Yerwa Kanuri":"Nilo-Saharan",Yulu:"Nilo-Saharan",Zaghawa:"Nilo-Saharan","Adamawa Fulfulde":"Niger-Congo",Akaselem:"Niger-Congo","Amba (Uganda)":"Niger-Congo",Anii:"Niger-Congo",Baangi:"Niger-Congo",Badyara:"Niger-Congo","Bago-Kusuntu":"Niger-Congo",Bai:"Niger-Congo","Bainouk-Gunyaamolo":"Niger-Congo",Bamanankan:"Niger-Congo","Banda-Mbrès":"Niger-Congo",Bandial:"Niger-Congo",Bankagooma:"Niger-Congo","Belanda Viri":"Niger-Congo",Bemba:"Niger-Congo",Bolgo:"Niger-Congo","Bon Gula":"Niger-Congo",Bua:"Niger-Congo",Chichewa:"Niger-Congo","Chung (Cameroon)":"Niger-Congo","Ci Gbe":"Niger-Congo",Degema:"Niger-Congo",Dek:"Niger-Congo",Dhimba:"Niger-Congo",Dogoso:"Niger-Congo","East Limba":"Niger-Congo",Engenni:"Niger-Congo",Epie:"Niger-Congo",Éwé:"Niger-Congo",Fania:"Niger-Congo",Foodo:"Niger-Congo",Fwe:"Niger-Congo",Gciriku:"Niger-Congo",Gwa:"Niger-Congo",Herero:"Niger-Congo",Ibuoro:"Niger-Congo","Jenaama Bozo":"Niger-Congo",Jita:"Niger-Congo",Jula:"Niger-Congo",Kabiyè:"Niger-Congo",Kadung:"Niger-Congo",Kakabe:"Niger-Congo",Kalamsé:"Niger-Congo","Kami (Tanzania)":"Niger-Congo","Kango (Bas-Uélé District)":"Niger-Congo",Kasem:"Niger-Congo","Kelengaxo Bozo":"Niger-Congo",Khe:"Niger-Congo",Khisa:"Niger-Congo",Kim:"Niger-Congo",Kinyarwanda:"Niger-Congo",Kipfokomu:"Niger-Congo",Kitharaka:"Niger-Congo",Kiyombe:"Niger-Congo",Ko:"Niger-Congo",Koalib:"Niger-Congo",Koke:"Niger-Congo",Konongo:"Niger-Congo","Koro Nulu":"Niger-Congo","Koro Zuba":"Niger-Congo",Kuhane:"Niger-Congo",Kunda:"Niger-Congo",Kuranko:"Niger-Congo",Kuria:"Niger-Congo",Kwangali:"Niger-Congo",Lame:"Niger-Congo",Laru:"Niger-Congo",Lopa:"Niger-Congo","Makhuwa-Meetto":"Niger-Congo","Makhuwa-Shirima":"Niger-Congo","Malawi Nyiha":"Niger-Congo",Mandinka:"Niger-Congo",Mankanya:"Niger-Congo",Mansoanka:"Niger-Congo",Mbukushu:"Niger-Congo","Mende (Sierra Leone)":"Niger-Congo",Miyobe:"Niger-Congo",Mushungulu:"Niger-Congo","Mwali Comorian":"Niger-Congo","Mwera (Chimwera)":"Niger-Congo",Ndemli:"Niger-Congo",Ndengereko:"Niger-Congo",Ndumu:"Niger-Congo",Ndunga:"Niger-Congo","Ndzwani Comorian":"Niger-Congo",Ngile:"Niger-Congo","Northwest Gbaya":"Niger-Congo",Notre:"Niger-Congo",Nyamwanga:"Niger-Congo",Nyankore:"Niger-Congo",Nyengo:"Niger-Congo",Okpamheri:"Niger-Congo",Osatu:"Niger-Congo","Pana (Burkina Faso)":"Niger-Congo",Pulaar:"Niger-Congo",Pular:"Niger-Congo",Rufiji:"Niger-Congo","Sankaran Maninka":"Niger-Congo",Sapo:"Niger-Congo","Senara Sénoufo":"Niger-Congo",Shanga:"Niger-Congo",Sininkere:"Niger-Congo","Southern Ngbandi":"Niger-Congo",Swahili:"Niger-Congo","Syenara Sénoufo":"Niger-Congo",Tagbu:"Niger-Congo",Tagoi:"Niger-Congo",Tegali:"Niger-Congo",Tem:"Niger-Congo","Tiéyaxo Bozo":"Niger-Congo",Tiyaa:"Niger-Congo",Tocho:"Niger-Congo","Tonga (Zambia)":"Niger-Congo",Totela:"Niger-Congo","Toura (Côte d’Ivoire)":"Niger-Congo",Tswa:"Niger-Congo",Tumbuka:"Niger-Congo",Ukaan:"Niger-Congo",Uneme:"Niger-Congo",Vai:"Niger-Congo",Vute:"Niger-Congo",Waama:"Niger-Congo",Warnang:"Niger-Congo",Wolof:"Niger-Congo",Yao:"Niger-Congo",Yauma:"Niger-Congo",Yom:"Niger-Congo","Zan Gula":"Niger-Congo",Zande:"Niger-Congo",Zigula:"Niger-Congo",Mamaindê:"Nambikwara",Aghul:"Nakh-Daghestanian",Akhvakh:"Nakh-Daghestanian",Andi:"Nakh-Daghestanian",Avar:"Nakh-Daghestanian",Bagvalal:"Nakh-Daghestanian",Botlikh:"Nakh-Daghestanian",Chamalal:"Nakh-Daghestanian",Chechen:"Nakh-Daghestanian",Dargwa:"Nakh-Daghestanian",Kaitag:"Nakh-Daghestanian",Karata:"Nakh-Daghestanian",Khvarshi:"Nakh-Daghestanian",Tindi:"Nakh-Daghestanian",Pirahã:"Muran",Bonan:"Mongolic","China Buriat":"Mongolic",Daur:"Mongolic","Kalmyk-Oirat":"Mongolic","Peripheral Mongolian":"Mongolic","Russia Buriat":"Mongolic",Tagdal:"Mixed language",Wutunhua:"Mixed language","Ashéninka Perené":"Maipurean",Baniwa:"Maipurean",Cabiyarí:"Maipurean",Curripaco:"Maipurean","Enawené-Nawé":"Maipurean",Kanamarí:"Maipurean",Mehináku:"Maipurean","Pichis Ashéninka":"Maipurean",Waurá:"Maipurean",Bangime:"Language isolate",Burushaski:"Language isolate","Ai-Cham":"Kra-Dai",Aiton:"Kra-Dai","Dai Zhuang":"Kra-Dai",Duoluo:"Kra-Dai","Green Gelao":"Kra-Dai","Guibian Zhuang":"Kra-Dai",Hlai:"Kra-Dai",Jiamao:"Kra-Dai",Kang:"Kra-Dai",Khün:"Kra-Dai",Kuan:"Kra-Dai",Lachi:"Kra-Dai","Laha (Viet Nam)":"Kra-Dai",Lao:"Kra-Dai",Lü:"Kra-Dai","Mak (China)":"Kra-Dai","Northeastern Thai":"Kra-Dai","Northern Dong":"Kra-Dai","Northern Thai":"Kra-Dai",Nyaw:"Kra-Dai",Phake:"Kra-Dai","Phu Thai":"Kra-Dai",Qabiao:"Kra-Dai",Qau:"Kra-Dai","Qiubei Zhuang":"Kra-Dai",Shan:"Kra-Dai","Southern Dong":"Kra-Dai",Sui:"Kra-Dai","T’en":"Kra-Dai","Tai Daeng":"Kra-Dai","Tai Dam":"Kra-Dai","Tai Hongjin":"Kra-Dai","Tai Nüa":"Kra-Dai","Tai Ya":"Kra-Dai","Tai Yo":"Kra-Dai","Ts’ün-Lao":"Kra-Dai","Yang Zhuang":"Kra-Dai",Yerong:"Kra-Dai",Yong:"Kra-Dai",Yoy:"Kra-Dai",Khoekhoe:"Khoe-Kwadi",Karajá:"Karajá","Pará Gavião":"Jean",Suyá:"Jean",Japanese:"Japonic","Oki-No-Erabu":"Japonic","Toku-No-Shima":"Japonic",Yaeyama:"Japonic",Yoron:"Japonic","Adivasi Oriya":"Indo-European",Afrikaans:"Indo-European","Alviri-Vidari":"Indo-European",Angika:"Indo-European",Assamese:"Indo-European",Bagheli:"Indo-European",Bagri:"Indo-European",Bashkardi:"Indo-European",Bateri:"Indo-European",Bengali:"Indo-European",Bhojpuri:"Indo-European",Bhunjia:"Indo-European",Bilaspuri:"Indo-European",Bosnian:"Indo-European","Braj Bhasha":"Indo-European",Brokskat:"Indo-European",Bundeli:"Indo-European",Catalan:"Indo-European",Chambeali:"Indo-European",Chhattisgarhi:"Indo-European",Dameli:"Indo-European",Dari:"Indo-European",Dhundari:"Indo-European",Dogri:"Indo-European",Domari:"Indo-European",Dutch:"Indo-European","Eastern Balochi":"Indo-European","Eastern Panjabi":"Indo-European","Eastern Yiddish":"Indo-European",English:"Indo-European",French:"Indo-European",Gaddi:"Indo-European",Garhwali:"Indo-European",Gawri:"Indo-European",Gowro:"Indo-European",Gujarati:"Indo-European",Gujari:"Indo-European",Halbi:"Indo-European",Haroti:"Indo-European",Haryanvi:"Indo-European",Hindi:"Indo-European","Indus Kohistani":"Indo-European","Iranian Persian":"Indo-European",Ishkashimi:"Indo-European",Kacchi:"Indo-European",Kalkoti:"Indo-European",Kanauji:"Indo-European",Kangri:"Indo-European",Karingani:"Indo-European",Kashmiri:"Indo-European",Kati:"Indo-European",Khunsari:"Indo-European",Konkani:"Indo-European",Kudmali:"Indo-European",Kumaoni:"Indo-European",Kumzari:"Indo-European",Laki:"Indo-European",Lasi:"Indo-European",Luwati:"Indo-European",Magahi:"Indo-European",Maithili:"Indo-European",Maldivian:"Indo-European",Malvi:"Indo-European",Marathi:"Indo-European","Marwari (India)":"Indo-European",Mewari:"Indo-European",Munji:"Indo-European",Nepali:"Indo-European",Nimadi:"Indo-European","Northern Kurdish":"Indo-European",Odia:"Indo-European","Pahari-Potwari":"Indo-European",Palula:"Indo-European",Panchpargania:"Indo-European",Pangwali:"Indo-European",Parachi:"Indo-European",Portuguese:"Indo-European",Russian:"Indo-European",Sadri:"Indo-European",Sanglechi:"Indo-European",Sarikoli:"Indo-European",Savi:"Indo-European",Semnani:"Indo-European",Serbian:"Indo-European",Shabak:"Indo-European",Shahrudi:"Indo-European",Shekhawati:"Indo-European",Shina:"Indo-European",Shughni:"Indo-European",Shumashti:"Indo-European",Sindhi:"Indo-European",Sivandi:"Indo-European",Soi:"Indo-European","Southern Balochi":"Indo-European",Spanish:"Indo-European",Tajik:"Indo-European",Talysh:"Indo-European",Urdu:"Indo-European",Ushojo:"Indo-European",Vaghri:"Indo-European","Vlax Romani":"Indo-European",Wagdi:"Indo-European",Wakhi:"Indo-European",Waneci:"Indo-European","Western Balochi":"Indo-European",Yadgha:"Indo-European","Bu-Nao Bunu":"Hmong-Mien","Central Mashan Miao":"Hmong-Mien","Chuanqiandian Cluster Miao":"Hmong-Mien","Eastern Xiangxi Miao":"Hmong-Mien","Iu Mien":"Hmong-Mien","Luopohe Miao":"Hmong-Mien","Northern Qiandong Miao":"Hmong-Mien","Pa-Hng":"Hmong-Mien","Southwestern Huishui Miao":"Hmong-Mien","Wunai Bunu":"Hmong-Mien","Younuo Bunu":"Hmong-Mien",Amarakaeri:"Harákmbut",Huachipaeri:"Harákmbut",Cuiba:"Guajiboan",Macaguán:"Guajiboan",Tlicho:"Eyak-Athabaskan",Kannada:"Dravidian",Kodava:"Dravidian","Korra Koraga":"Dravidian","Kota (India)":"Dravidian",Kudiya:"Dravidian",Malapandaram:"Dravidian",Malayalam:"Dravidian",Muthuvan:"Dravidian",Ravula:"Dravidian",Sholaga:"Dravidian",Tamil:"Dravidian",Telugu:"Dravidian",Tulu:"Dravidian",Vishavan:"Dravidian","Andaman Hindi Creole":"Creole","Cocos Islands Malay":"Creole","Juba Arabic":"Creole",Nubi:"Creole",Barí:"Chibchan","Barro Negro Tunebo":"Chibchan","Western Tunebo":"Chibchan",Ikpeng:"Cariban","Kuikúro-Kalapálo":"Cariban",Pemon:"Cariban",Trió:"Cariban","Waimiri-Atroarí":"Cariban",Waiwai:"Cariban",Yukpa:"Cariban",Borôro:"Bororoan",Chachi:"Barbacoan","Abai Sungai":"Austronesian",Ambelau:"Austronesian",Asilulu:"Austronesian",Balaesang:"Austronesian","Batak Alas-Kluet":"Austronesian","Batak Dairi":"Austronesian","Batak Karo":"Austronesian",Bonerate:"Austronesian",Bonggi:"Austronesian",Brunei:"Austronesian","Brunei Bisaya":"Austronesian",Buol:"Austronesian","Central Malay":"Austronesian","Central Sama":"Austronesian","Coastal Konjo":"Austronesian",Dampelas:"Austronesian","Dibabawon Manobo":"Austronesian",Dondo:"Austronesian",Gane:"Austronesian","Geser-Gorom":"Austronesian","Highland Konjo":"Austronesian",Hitu:"Austronesian",Iban:"Austronesian",Indonesian:"Austronesian","Kadazan Dusun":"Austronesian",Kiput:"Austronesian",Komodo:"Austronesian",Kompane:"Austronesian",Lahanan:"Austronesian","Lampung Nyo":"Austronesian","Larike-Wakasihu":"Austronesian",Lola:"Austronesian",Luhu:"Austronesian",Malay:"Austronesian",Mariri:"Austronesian",Moronene:"Austronesian",Rukai:"Austronesian","Sabah Bisaya":"Austronesian","Seit-Kaitetu":"Austronesian",Sula:"Austronesian","Tae’":"Austronesian",Tajio:"Austronesian",Tomini:"Austronesian",Tutong:"Austronesian",Ujir:"Austronesian",Aheu:"Austro-Asiatic",Alak:"Austro-Asiatic",Bit:"Austro-Asiatic","Bo (Laos)":"Austro-Asiatic",Bondo:"Austro-Asiatic",Brao:"Austro-Asiatic",Bugan:"Austro-Asiatic",Chong:"Austro-Asiatic",Chut:"Austro-Asiatic",Danau:"Austro-Asiatic",Halang:"Austro-Asiatic","Halang Doan":"Austro-Asiatic",Hu:"Austro-Asiatic",Hung:"Austro-Asiatic",Ir:"Austro-Asiatic",Kensiu:"Austro-Asiatic",Khmu:"Austro-Asiatic",Khua:"Austro-Asiatic",Khuen:"Austro-Asiatic",Koda:"Austro-Asiatic","Kon Keu":"Austro-Asiatic",Kriang:"Austro-Asiatic",Kuay:"Austro-Asiatic",Laven:"Austro-Asiatic",Maleng:"Austro-Asiatic","Man Met":"Austro-Asiatic",Mang:"Austro-Asiatic",Minriq:"Austro-Asiatic",Mlabri:"Austro-Asiatic",Nguôn:"Austro-Asiatic",Nyaheun:"Austro-Asiatic",Nyahkur:"Austro-Asiatic","O’du":"Austro-Asiatic",Ong:"Austro-Asiatic",Oy:"Austro-Asiatic",Pacoh:"Austro-Asiatic","Phong-Kniang":"Austro-Asiatic",Prai:"Austro-Asiatic",Puoc:"Austro-Asiatic",Rengao:"Austro-Asiatic",Rmeet:"Austro-Asiatic","Rumai Palaung":"Austro-Asiatic",Sapuan:"Austro-Asiatic","Shwe Palaung":"Austro-Asiatic","So (Laos)":"Austro-Asiatic",Sou:"Austro-Asiatic","Tai Loi":"Austro-Asiatic",Talieng:"Austro-Asiatic",Tareng:"Austro-Asiatic",Tho:"Austro-Asiatic",U:"Austro-Asiatic","Upper Ta’oih":"Austro-Asiatic",Vietnamese:"Austro-Asiatic","Western Katu":"Austro-Asiatic",Suruahá:"Arauan",Jarawa:"Andamanese",Öñge:"Andamanese",Sentinel:"Andamanese",Afar:"Afro-Asiatic","Alaba-K’abeena":"Afro-Asiatic",Alagwa:"Afro-Asiatic",Ale:"Afro-Asiatic","Algerian Arabic":"Afro-Asiatic",Amharic:"Afro-Asiatic",Arbore:"Afro-Asiatic","Baharna Arabic":"Afro-Asiatic",Barein:"Afro-Asiatic",Bedawiyet:"Afro-Asiatic",Bidiyo:"Afro-Asiatic",Bilen:"Afro-Asiatic",Birgit:"Afro-Asiatic",Boor:"Afro-Asiatic","Borana-Arsi-Guji Oromo":"Afro-Asiatic",Buduma:"Afro-Asiatic","Central Atlas Tamazight":"Afro-Asiatic","Chadian Arabic":"Afro-Asiatic",Chenoua:"Afro-Asiatic",Ciwogai:"Afro-Asiatic",Daasanach:"Afro-Asiatic",Dabarre:"Afro-Asiatic",Dangaléat:"Afro-Asiatic",Deno:"Afro-Asiatic",Diri:"Afro-Asiatic",Duwai:"Afro-Asiatic","Eastern Egyptian Bedawi Arabic":"Afro-Asiatic","Eastern Oromo":"Afro-Asiatic",Garre:"Afro-Asiatic",Geruma:"Afro-Asiatic",Giiwo:"Afro-Asiatic",Gorowa:"Afro-Asiatic","Gulf Arabic":"Afro-Asiatic","Hadrami Arabic":"Afro-Asiatic",Harsusi:"Afro-Asiatic",Hassaniyya:"Afro-Asiatic",Hausa:"Afro-Asiatic",Hebrew:"Afro-Asiatic","Hijazi Arabic":"Afro-Asiatic",Hobyót:"Afro-Asiatic",Hozo:"Afro-Asiatic",Jiiddu:"Afro-Asiatic",Jimi:"Afro-Asiatic",Jina:"Afro-Asiatic","Jonkor Bourmataguil":"Afro-Asiatic","Judeo-Iraqi Arabic":"Afro-Asiatic","Judeo-Moroccan Arabic":"Afro-Asiatic",Kabalai:"Afro-Asiatic",Kajakse:"Afro-Asiatic",Kariya:"Afro-Asiatic","Karo (Ethiopia)":"Afro-Asiatic",Kutto:"Afro-Asiatic","Levantine Arabic":"Afro-Asiatic",Libido:"Afro-Asiatic","Libyan Arabic":"Afro-Asiatic","Lishana Deni":"Afro-Asiatic",Maaka:"Afro-Asiatic",Maay:"Afro-Asiatic",Majera:"Afro-Asiatic",Male:"Afro-Asiatic",Maslam:"Afro-Asiatic",Masmaje:"Afro-Asiatic",Mburku:"Afro-Asiatic",Mehri:"Afro-Asiatic","Mesopotamian Arabic":"Afro-Asiatic",Migaama:"Afro-Asiatic",Mogum:"Afro-Asiatic","Moroccan Arabic":"Afro-Asiatic",Mositacha:"Afro-Asiatic",Mubi:"Afro-Asiatic",Mukulu:"Afro-Asiatic",Nafusi:"Afro-Asiatic","Najdi Arabic":"Afro-Asiatic",Nyam:"Afro-Asiatic","Omani Arabic":"Afro-Asiatic","Pa’a":"Afro-Asiatic",Saba:"Afro-Asiatic",Saho:"Afro-Asiatic","Sanaani Arabic":"Afro-Asiatic",Seze:"Afro-Asiatic",Shehri:"Afro-Asiatic",Shekkacho:"Afro-Asiatic",Sheko:"Afro-Asiatic","Shihhi Arabic":"Afro-Asiatic",Siwi:"Afro-Asiatic",Sokoro:"Afro-Asiatic",Soqotri:"Afro-Asiatic","South Levantine Arabic":"Afro-Asiatic","Standard Arabic":"Afro-Asiatic","Sudanese Arabic":"Afro-Asiatic","Ta’izzi-Adeni Arabic":"Afro-Asiatic","Tahaggart Tamahaq":"Afro-Asiatic",Taznatit:"Afro-Asiatic",Tigré:"Afro-Asiatic",Toram:"Afro-Asiatic",Tsamai:"Afro-Asiatic",Tumzabt:"Afro-Asiatic",Tunni:"Afro-Asiatic",Waata:"Afro-Asiatic","West Central Oromo":"Afro-Asiatic",Xamtanga:"Afro-Asiatic",Zumbun:"Afro-Asiatic"};function gf(a){return(a==null?void 0:a.properties)||a||{}}function io(a){return a&&typeof a=="object"&&"label"in a?a.label||a.value||"":a}function uf(a){if(!a||typeof a!="string")return null;const n=a.split(",").map(i=>i.trim()).filter(Boolean);if(n.length>=2){const i=[...n].reverse().join(" ");if(ln[i])return ln[i];if(n.length>=3){const t=[n[1],n[0]].join(" ");if(ln[t])return ln[t]}}if(ln[a])return ln[a];const e=a.replace(/\s*\(.*?\)\s*$/,"").trim();return e!==a&&ln[e]?ln[e]:null}const df=[[/ sign language$/i,"Sign Language"]];function pf(a){if(!a||typeof a!="string")return"— Unknown —";const n=a.indexOf(",");return n>0?a.slice(0,n).trim():a.trim()}function mf(a){if(!a||typeof a!="string")return null;const n=a.indexOf(",");return n>=0&&a.slice(n+1).trim()||null}function hf(a){var r,l,s,g;const n=a.language_family??a.languageFamily??((r=a._raw)==null?void 0:r.LanguageFamily)??((l=a._raw)==null?void 0:l.language_family),e=io(n),i=Yr(e);if(i&&i!=="Unknown")return i;const t=a.primary_language??a.primaryLanguage??((s=a._raw)==null?void 0:s.PrimaryLanguage)??((g=a._raw)==null?void 0:g.primary_language),o=io(t);if(o){const d=String(o).trim(),_=uf(d);if(_)return _;for(const[k,x]of df)if(k.test(d))return x}return"Unknown"}function yf(a){var t,o;const n=((t=a._raw)==null?void 0:t.primary_language)??((o=a._raw)==null?void 0:o.PrimaryLanguage);if(n){const r=io(n);if(r)return String(r).trim()}const e=a.primary_language??a.primaryLanguage??a.language,i=io(e);return i&&String(i).trim()||"— Unknown —"}function bf(a){var e,i;const n=a.population??((e=a._raw)==null?void 0:e.Population)??((i=a._raw)==null?void 0:i.population)??0;return parseInt(n,10)||0}function _f(a,n){var e,i;return(a==null?void 0:a.id)??n.id??n.peopleGroupId??((e=n._raw)==null?void 0:e.PeopleID3)??((i=n._raw)==null?void 0:i.PeopleID)??null}function ff(a,n){return(a==null?void 0:a.clusterId)??n.clusterId??null}function Pf(a,n){var t,o,r,l;const e=parseFloat(n.latitude??n.lat??((t=n._raw)==null?void 0:t.Latitude)??((o=n._raw)==null?void 0:o.latitude)),i=parseFloat(n.longitude??n.lng??((r=n._raw)==null?void 0:r.Longitude)??((l=n._raw)==null?void 0:l.longitude));return!isFinite(e)||!isFinite(i)?null:[i,e]}function Cf(a,n){return n.peopleGroupCount!==a.peopleGroupCount?n.peopleGroupCount-a.peopleGroupCount:(n.population||0)-(a.population||0)}function to(a,n){return(n.population||0)!==(a.population||0)?(n.population||0)-(a.population||0):n.peopleGroupCount-a.peopleGroupCount}function jf(a,n={}){n.aggregator;const e=pi({});function i(T){return!!e[T]}function t(T){e[T]=!e[T]}function o(T){const $=new Set(Array.isArray(T)?T:[]);for(const w of Object.keys(e))$.has(w)||(e[w]=!1);for(const w of $)e[w]=!0}const r=la(()=>{const T=(a==null?void 0:a.value)||[],$=new Map;for(const w of T){const L=gf(w),E=hf(L),I=yf(L),G=pf(I),S=mf(I),v=bf(L),K=_f(w,L),O=ff(w,L),q=Pf(w,L);let sa=$.get(E);sa||(sa={key:E,peopleGroupCount:0,population:0,pinIds:[],coords:[],clusterId:null,languages:new Map},$.set(E,sa)),sa.peopleGroupCount+=1,sa.population+=v,K!=null&&sa.pinIds.push(K),q&&sa.coords.push(q),O&&!sa.clusterId&&(sa.clusterId=O);let ea=sa.languages.get(G);if(ea||(ea={key:G,peopleGroupCount:0,population:0,pinIds:[],coords:[],clusterId:null,dialects:new Map},sa.languages.set(G,ea)),ea.peopleGroupCount+=1,ea.population+=v,K!=null&&ea.pinIds.push(K),q&&ea.coords.push(q),O&&!ea.clusterId&&(ea.clusterId=O),S){let ga=ea.dialects.get(S);ga?ga.originalLabels.add(I):(ga={key:S,peopleGroupCount:0,population:0,pinIds:[],coords:[],originalLabels:new Set([I])},ea.dialects.set(S,ga)),ga.peopleGroupCount+=1,ga.population+=v,K!=null&&ga.pinIds.push(K),q&&ga.coords.push(q)}}return $}),l=n.showAllKnown!==!1,s=la(()=>{const T=r.value,$=[],w=new Set;for(const L of T.values())$.push({key:L.key,label:L.key,color:Hn(L.key),peopleGroupCount:L.peopleGroupCount,population:L.population,kind:L.clusterId?"cluster":"family",clusterId:L.clusterId||void 0,pinIds:L.pinIds,coords:L.coords}),w.add(L.key);if(l)for(const L of Object.keys(se))w.has(L)||$.push({key:L,label:L,color:Hn(L),peopleGroupCount:0,population:0,kind:"family",pinIds:[],coords:[]});return $.sort(Cf),$});function g(T){const $=r.value.get(T);if(!$)return[];const w=[];for(const L of $.languages.values())w.push({key:`${T}__${L.key}`,label:L.key,color:Hn(T),peopleGroupCount:L.peopleGroupCount,population:L.population,kind:L.clusterId?"cluster":"language",familyKey:T,clusterId:L.clusterId||void 0,pinIds:L.pinIds,coords:L.coords,hasDialects:L.dialects.size>0});return w.sort(to),w}function d(T){const $=T.indexOf("__");if($<0)return[];const w=T.slice(0,$),L=T.slice($+2),E=r.value.get(w);if(!E)return[];const I=E.languages.get(L);if(!I)return[];const G=[];for(const S of I.dialects.values())G.push({key:`${T}__${S.key}`,label:`${L}, ${S.key}`,dialectOnly:S.key,color:Hn(w),peopleGroupCount:S.peopleGroupCount,population:S.population,kind:"dialect",languageKey:L,familyKey:w,pinIds:S.pinIds,coords:S.coords,originalLabels:Array.from(S.originalLabels)});return G.sort(to),G}const _=la(()=>{const T=r.value,$=[];for(const w of T.values())for(const L of w.languages.values())$.push({key:`${w.key}__${L.key}`,label:L.key,color:Hn(w.key),peopleGroupCount:L.peopleGroupCount,population:L.population,kind:L.clusterId?"cluster":"language",familyKey:w.key,clusterId:L.clusterId||void 0,pinIds:L.pinIds,coords:L.coords,hasDialects:L.dialects.size>0});return $.sort(to),$}),k=la(()=>{const T=r.value,$=[];for(const w of T.values())for(const L of w.languages.values())for(const E of L.dialects.values())$.push({key:`${w.key}__${L.key}__${E.key}`,label:`${L.key}, ${E.key}`,dialectOnly:E.key,color:Hn(w.key),peopleGroupCount:E.peopleGroupCount,population:E.population,kind:"dialect",languageKey:L.key,familyKey:w.key,pinIds:E.pinIds,coords:E.coords,originalLabels:Array.from(E.originalLabels)});return $.sort(to),$});function x(T){let $=T;if(typeof T=="string"&&($=s.value.find(L=>L.key===T),!$))return;const w={kind:$.kind,pinIds:$.pinIds||[],coords:$.coords||[]};$.kind==="family"&&(w.familyKey=$.label),$.kind==="language"&&(w.languageKey=$.label,w.familyKey=$.familyKey),$.kind==="dialect"&&(w.dialectKey=$.key,w.dialectOnly=$.dialectOnly||$.label,w.languageKey=$.languageKey,w.familyKey=$.familyKey,w.originalLabels=$.originalLabels||[]),$.kind==="cluster"&&(w.clusterId=$.clusterId),typeof window<"u"&&typeof window.CustomEvent=="function"&&window.dispatchEvent(new CustomEvent("legend:highlight",{detail:w}))}const D=la(()=>{const T=r.value,$=[];for(const w of T.values()){const L=Hn(w.key),E=[];for(const G of w.languages.values()){G.key&&G.key!=="— Unknown —"&&E.push(G.key);for(const S of G.dialects.values())for(const v of S.originalLabels)v&&E.push(v)}const I={id:`fam:${w.key}`,label:w.key,color:L,count:w.peopleGroupCount,pop:w.population,filter:E.length>0?["any",["==",["get","languageFamily"],w.key],["in",["get","language"],["literal",Array.from(new Set(E))]]]:["==",["get","languageFamily"],w.key],children:[]};for(const G of w.languages.values()){const S=G.key,v={id:`lang:${w.key}__${S}`,label:S,color:L,count:G.peopleGroupCount,pop:G.population,filter:["any",["==",["get","language"],S],["==",["slice",["get","language"],0,S.length+1],S+","],["in"," "+S,["get","language"]]],children:[]};for(const K of G.dialects.values()){const O=Array.from(K.originalLabels);v.children.push({id:`dial:${w.key}__${S}__${K.key}`,label:`${S}, ${K.key}`,color:L,count:K.peopleGroupCount,pop:K.population,filter:O.length===1?["==",["get","language"],O[0]]:["in",["get","language"],["literal",O]],originalLabels:O,children:[]})}I.children.push(v)}$.push(I)}return $.sort((w,L)=>L.pop-w.pop||L.count-w.count),$});return{rows:s,languageRows:_,dialectRows:k,langTree:D,toggle:t,isExpanded:i,setExpansionToOnly:o,childRowsFor:g,dialectRowsFor:d,highlight:x}}const kf={key:0,class:"fc-loading"},Gf={class:"fc-modes",role:"tablist","aria-label":"Cluster by"},vf=["aria-selected","onClick"],Af={class:"fc-circle"},Sf={class:"fc-mode-lbl"},Ef={class:"fc-mode-sz"},Mf={key:1,class:"fc-stats"},If={key:2,class:"fc-legend"},wf={class:"fc-lrow"},xf={class:"fc-lrow"},Tf={key:3,class:"fc-footer"},ti="#e11d48",Yi="#9f1239",Wi="#002e6e",Nf="#f59e0b",il="fc-core-src",Mu="fc-green-src",Iu="fc-link-src",Te="fc-core",wu="fc-core-lbl",oo="fc-green",Ji="fc-link",Lf={__name:"FlowerClusters",setup(a){function n(u){const A=+u||0;return A>=80?"#0f7a3d":A>=40?"#1f9d55":A>=15?"#5cb874":"#9bcf9b"}const e=Ya("profileConfig"),i=Ya("mapboxToken"),t=la(()=>(e==null?void 0:e.value)||{}),o=ua(null),r=ua(null),l=ua(!1),s=ua("Clustering the harvest by language…"),g=ua("language"),d=ua(null),_=ua([]),{rows:k,languageRows:x}=jf(_,{showAllKnown:!1});function D(u){return u&&typeof u=="object"?u.label||u.value||"":u||""}const T=la(()=>{const u=new Map;for(const A of _.value){const j=(D(A.primary_language)||"— Unknown —").trim(),c=parseFloat(A.latitude),P=parseFloat(A.longitude);let p=u.get(j);p||(p={key:"full:"+j,label:j,color:ti,peopleGroupCount:0,population:0,coords:[],originalLabels:[j]},u.set(j,p)),p.peopleGroupCount++,p.population+=parseInt(A.population,10)||0,isFinite(c)&&isFinite(P)&&p.coords.push([P,c])}return[...u.values()].sort((A,j)=>j.peopleGroupCount-A.peopleGroupCount)});function $(u){if(!u||typeof u!="string")return"";const A=u.indexOf(",");return(A>0?u.slice(0,A):u).trim()}function w(u){return(u||"").trim()}function L(u){if(!u||typeof u!="string")return"Unknown";const A=u.split(",").map(c=>c.trim()).filter(Boolean);if(A.length>=2){const c=[...A].reverse().join(" ");if(ln[c])return ln[c];if(A.length>=3){const P=[A[1],A[0]].join(" ");if(ln[P])return ln[P]}}if(ln[u])return ln[u];const j=u.replace(/\s*\(.*?\)\s*$/,"").trim();return j!==u&&ln[j]?ln[j]:/ sign language$/i.test(u)?"Sign Language":"Unknown"}const E=la(()=>{const u=[],A=new Set;for(const j of Object.values(ee.countries||{}))for(const c of j.neighbors||[]){const P=Number(c.lat),p=Number(c.lng);if(!isFinite(P)||!isFinite(p))continue;const M=(c.code||c.name)+"|"+c.country;A.has(M)||(A.add(M),u.push({id:M,name:c.name,country:c.country,lang:c.lang,pct:c.pct_christian||0,pop:c.pop||0,lat:P,lng:p,family:L(c.lang),base:$(c.lang),full:w(c.lang)}))}return u});function I(u){let A=0,j=0,c=0;for(const P of u||[])Array.isArray(P)&&(A+=P[0],j+=P[1],c++);return c?[A/c,j/c]:null}const G=la(()=>{const u=g.value,A=u==="family"?k.value:u==="dialect"?T.value:x.value,j=[];for(const c of A){if(!c.peopleGroupCount)continue;const P=I(c.coords);if(!P)continue;let p;u==="family"?p={kind:"family",set:new Set([c.label])}:u==="dialect"?p={kind:"full",set:new Set(c.originalLabels||[c.label])}:p={kind:"base",set:new Set([c.label])},j.push({key:c.key||c.label,label:c.label,level:u,count:c.peopleGroupCount,pop:c.population||0,lng:P[0],lat:P[1],color:c.color||ti,match:p})}return j.sort((c,P)=>P.count-c.count),j}),S=la(()=>{const u=[],A=[],j=E.value;for(const c of G.value){const{kind:P,set:p}=c.match;for(const M of j){const N=P==="family"?M.family:P==="full"?M.full:M.base;p.has(N)&&(u.push({...M,coreKey:c.key,color:n(M.pct)}),A.push({coreKey:c.key,from:[M.lng,M.lat],to:[c.lng,c.lat]}))}}return{greens:u,links:A}}),v=la(()=>({cores:G.value.length,unreached:G.value.reduce((u,A)=>u+A.count,0),petals:S.value.greens.length})),K=la(()=>G.value.find(u=>u.key===d.value)||null),{map:O,initializeMap:q,destroy:sa}=Kt({containerRef:r,accessToken:(i==null?void 0:i.value)||t.value.tk||"",style:t.value.style??"mapbox://styles/mapbox/light-v11",center:t.value.center??[55,22],zoom:t.value.zoom??1.7,minZoom:1,maxZoom:12}),ea=u=>({type:"FeatureCollection",features:u});function ga(){return ea(G.value.map(u=>({type:"Feature",geometry:{type:"Point",coordinates:[u.lng,u.lat]},properties:{key:u.key,label:u.label+" ("+u.count+")",count:u.count,color:u.color}})))}function Sa(){return ea(S.value.greens.map(u=>({type:"Feature",geometry:{type:"Point",coordinates:[u.lng,u.lat]},properties:{name:u.name,country:u.country,lang:u.lang,pct:u.pct,color:u.color,coreKey:u.coreKey}})))}function Ma(){return ea(S.value.links.map(u=>({type:"Feature",geometry:{type:"LineString",coordinates:[u.from,u.to]},properties:{coreKey:u.coreKey}})))}function ma(u,A,j){const c=u.getSource(A);c?c.setData(j):u.addSource(A,{type:"geojson",data:j})}function pa(){var A;const u=O.value;!u||!((A=u.isStyleLoaded)!=null&&A.call(u))||(ma(u,Iu,Ma()),ma(u,Mu,Sa()),ma(u,il,ga()),u.getLayer(Ji)||u.addLayer({id:Ji,type:"line",source:Iu,paint:{"line-color":Wi,"line-width":.6,"line-opacity":.12}}),u.getLayer(oo)||u.addLayer({id:oo,type:"circle",source:Mu,paint:{"circle-radius":["interpolate",["linear"],["zoom"],1,1.4,6,3],"circle-color":["get","color"],"circle-stroke-width":.4,"circle-stroke-color":"#fff","circle-opacity":.82}}),u.getLayer(Te)||u.addLayer({id:Te,type:"circle",source:il,paint:{"circle-radius":["interpolate",["linear"],["get","count"],1,8,25,18,120,30],"circle-color":ti,"circle-opacity":.5,"circle-stroke-width":2,"circle-stroke-color":Yi}}),u.getLayer(wu)||u.addLayer({id:wu,type:"symbol",source:il,minzoom:2.2,layout:{"text-field":["get","label"],"text-size":11,"text-offset":[0,1.4],"text-anchor":"top","text-allow-overlap":!1,"text-optional":!0},paint:{"text-color":Yi,"text-halo-color":"#fff","text-halo-width":1.4}}),Y())}function Y(){const u=O.value;if(!u||!u.getLayer(Ji))return;const A=d.value;u.setPaintProperty(Ji,"line-opacity",A?["case",["==",["get","coreKey"],A],.7,.04]:.12),u.setPaintProperty(Ji,"line-color",A?["case",["==",["get","coreKey"],A],Nf,Wi]:Wi),u.getLayer(oo)&&u.setPaintProperty(oo,"circle-opacity",A?["case",["==",["get","coreKey"],A],.95,.18]:.82),u.getLayer(Te)&&u.setPaintProperty(Te,"circle-opacity",A?["case",["==",["get","key"],A],.9,.4]:.5)}function ta(u){d.value=d.value===u?null:u,Y();const A=K.value,j=O.value;if(A&&j){const c=S.value.links.filter(U=>U.coreKey===A.key).map(U=>U.from).concat([[A.lng,A.lat]]);let P=A.lng,p=A.lng,M=A.lat,N=A.lat;for(const U of c)P=Math.min(P,U[0]),p=Math.max(p,U[0]),M=Math.min(M,U[1]),N=Math.max(N,U[1]);try{j.stop(),j.fitBounds([[P,M],[p,N]],{padding:90,maxZoom:5.5,duration:700})}catch{}}}function aa(u){g.value!==u&&(g.value=u,d.value=null)}cn([g,()=>_.value.length],()=>{l.value&&pa()});async function ba(){const u=t.value.apiBase||typeof window<"u"&&(window.MAP_APP_API_URL||window.VITE_API_BASE_URL);if(!u)throw new Error("No API base configured (apiBase / window.MAP_APP_API_URL / VITE_API_BASE_URL) — failing closed, no default host.");const j=await fetch(u.replace(/\/?$/,"")+"/api/people-groups/list?fields="+"slug,name,latitude,longitude,country_code,primary_language,wagf_block"+"&lang=en",{cache:"no-store"});if(!j.ok)throw new Error("list "+j.status);const c=await j.json();return(c.posts||c.data||c.records||c.results||(Array.isArray(c)?c:[])).map(p=>({...p,id:p.slug}))}Rn(async()=>{var j,c,P,p,M,N;await q();const u=O.value;try{u&&u.setProjection("mercator")}catch{}try{_.value=await ba()}catch(U){s.value="Live API unreachable — "+U.message,l.value=!0;return}if(l.value=!0,t.value.debugExpose&&typeof window<"u")try{(((P=(c=(j=o.value)==null?void 0:j.getRootNode)==null?void 0:c.call(j))==null?void 0:P.host)||window).__flowers={get mode(){return g.value},setMode:aa,get stats(){return v.value},selectCore:ta}}catch{}const A=()=>{pa(),u.on("click",Te,U=>{var C;const h=(C=U.features)==null?void 0:C[0];h&&ta(h.properties.key)}),u.on("mouseenter",Te,()=>{u.getCanvas().style.cursor="pointer"}),u.on("mouseleave",Te,()=>{u.getCanvas().style.cursor=""})};(p=u==null?void 0:u.isStyleLoaded)!=null&&p.call(u)?A():(M=u==null?void 0:u.once)==null||M.call(u,"load",A),(N=u==null?void 0:u.once)==null||N.call(u,"idle",()=>{l.value&&pa()})}),Ue(()=>{sa()}),On(` + .fc-root { position:absolute; inset:0; overflow:hidden; background:#ffffff; color:#1f2937; isolation:isolate; + font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; } + .fc-map { position:absolute; inset:0; } + .fc-loading { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:${Wi}; font:13px/1 ui-monospace,monospace; z-index:5; } + /* the 3 MODE CIRCLES at the top */ + .fc-modes { position:absolute; top:12px; left:50%; transform:translateX(-50%); z-index:30; display:flex; gap:14px; align-items:flex-start; } + .fc-mode { display:flex; flex-direction:column; align-items:center; gap:5px; cursor:pointer; background:none; border:0; } + .fc-circle { width:54px; height:54px; border-radius:50%; background:#fff; border:3px solid #d1d5db; display:flex; + align-items:center; justify-content:center; font:800 11px/1 ui-monospace,monospace; color:#9ca3af; box-shadow:0 2px 10px rgba(0,0,0,.12); transition:all .15s; } + .fc-mode.on .fc-circle { border-color:${ti}; color:${Yi}; transform:scale(1.08); box-shadow:0 4px 16px rgba(225,29,72,.3); } + .fc-mode:hover .fc-circle { border-color:${ti}; } + .fc-mode-lbl { font:700 10px/1 ui-monospace,monospace; letter-spacing:.04em; text-transform:uppercase; color:#6b7280; } + .fc-mode.on .fc-mode-lbl { color:${Yi}; } + .fc-mode-sz { font:600 9px/1 ui-monospace,monospace; color:#9ca3af; } + .fc-stats { position:absolute; top:14px; right:12px; z-index:30; background:rgba(255,255,255,.95); border:1px solid #d1d5db; + border-radius:8px; padding:7px 11px; font:600 11px/1.5 ui-monospace,monospace; color:#374151; text-align:right; } + .fc-stats b { color:${Yi}; } + .fc-legend { position:absolute; left:12px; bottom:30px; z-index:25; background:rgba(255,255,255,.95); border:1px solid #d1d5db; + border-radius:10px; padding:9px 12px; max-width:250px; box-shadow:0 4px 14px rgba(0,0,0,.12); font-size:11px; color:#374151; } + .fc-legend h4 { font:700 9px/1 ui-monospace,monospace; letter-spacing:.1em; text-transform:uppercase; color:#6b7280; margin-bottom:6px; } + .fc-lrow { display:flex; align-items:center; gap:8px; padding:2px 0; } + .fc-dot { width:12px; height:12px; border-radius:50%; border:1px solid rgba(0,0,0,.25); flex:0 0 auto; } + .fc-footer { position:absolute; left:0; right:0; bottom:0; z-index:20; background:${Wi}; color:#dbe4f3; + font:10px/1.4 ui-monospace,monospace; padding:5px 12px; display:flex; flex-wrap:wrap; gap:3px 14px; } + .fc-footer b { color:#fff; } +`,"flower-clusters");const na=[{key:"family",label:"Family",sz:"fewer · bigger"},{key:"language",label:"Language",sz:"more"},{key:"dialect",label:"Dialect",sz:"most"}];return(u,A)=>(z(),W("div",{ref_key:"fcRoot",ref:o,class:"fc-root"},[f("div",{ref_key:"mapContainer",ref:r,class:"fc-map"},null,512),l.value?fa("",!0):(z(),W("div",kf,X(s.value),1)),f("div",Gf,[(z(),W(Aa,null,Ua(na,j=>f("button",{key:j.key,class:Ia(["fc-mode",{on:g.value===j.key}]),role:"tab","aria-selected":g.value===j.key,onClick:c=>aa(j.key)},[f("span",Af,X(j.label.slice(0,3).toUpperCase()),1),f("span",Sf,X(j.label),1),f("span",Ef,X(j.sz),1)],10,vf)),64))]),l.value?(z(),W("div",Mf,[f("b",null,X(v.value.cores),1),A[0]||(A[0]=ya(" flowers · ",-1)),f("b",null,X(v.value.unreached.toLocaleString()),1),A[1]||(A[1]=ya(" unreached",-1)),A[2]||(A[2]=f("br",null,null,-1)),f("b",null,X(v.value.petals.toLocaleString()),1),ya(" reached petals · by "+X(g.value),1)])):fa("",!0),l.value?(z(),W("div",If,[A[5]||(A[5]=f("h4",null,"Flower clusters",-1)),f("div",wf,[f("span",{class:"fc-dot",style:Ka({background:ti})},null,4),A[3]||(A[3]=ya(" Unreached language cluster (core, size = #PGs)",-1))]),f("div",xf,[f("span",{class:"fc-dot",style:Ka({background:n(80)})},null,4),A[4]||(A[4]=ya(" Reached neighbor (granular, real coord)",-1))]),A[6]||(A[6]=f("div",{class:"fc-lrow",style:{color:"#6b7280","font-size":"10px","margin-top":"4px"}},"click a top circle to re-cluster · click a core to bloom its petals",-1))])):fa("",!0),l.value?(z(),W("div",Tf,[...A[7]||(A[7]=[f("span",null,[f("b",null,"Flower-clusters"),ya(" red cores (clustered) → granular green reached petals (same language)")],-1),f("span",null,"taxonomy = research-map semantic tree (family→language→dialect)",-1),f("span",null,"unreached = LIVE UPG data · reached = baked PPLR",-1),f("span",null,"Luke 10:2",-1)])])):fa("",!0)],512))}},Rf={class:"dun-bar"},$f={class:"dun-seg",role:"tablist","aria-label":"Choose a view"},Ff=["aria-selected","onClick"],Kf={class:"dun-hint"},Bf={class:"dun-stage"},Of=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"upg-neighbors",setup(a){const n=Ya("profileConfig"),e=la(()=>(n==null?void 0:n.value)||{}),i=[{key:"cockpit",label:"Overview",hint:"crossfilter hub"},{key:"send-map",label:"Send Map",hint:"reached → unreached arcs"},{key:"flower-mesh",label:"Flower Mesh",hint:"radial bloom"},{key:"lang-cluster",label:"Lang Cluster",hint:"language bounded-sets"},{key:"flowers",label:"Flowers",hint:"family · language · dialect cores + granular petals"}],t=new Set(i.map(g=>g.key)),o=ua("cockpit"),r=ua(null);function l(g){t.has(g)&&(o.value=g)}Rn(()=>{var d,_,k;const g=e.value.view;if(g&&t.has(g)&&(o.value=g),e.value.debugExpose&&typeof window<"u")try{const x=((k=(_=(d=r.value)==null?void 0:d.getRootNode)==null?void 0:_.call(d))==null?void 0:k.host)||window;x.__neighbors={get view(){return o.value},setView:l}}catch{}}),On(` + .dun-root { position:absolute; inset:0; display:flex; flex-direction:column; overflow:hidden; + background:#0e1730; isolation:isolate; + font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; } + .dun-bar { flex:0 0 auto; display:flex; align-items:center; gap:10px; padding:7px 12px; + background:#001b44; border-bottom:1px solid #002e6e; z-index:50; } + .dun-brand { font:800 11px/1 ui-monospace,monospace; letter-spacing:.06em; text-transform:uppercase; + color:#fff; background:rgba(255,255,255,.1); padding:6px 10px; border-radius:7px; white-space:nowrap; } + .dun-seg { display:inline-flex; background:#0e1730; border:1px solid #284a86; border-radius:999px; + padding:3px; gap:2px; flex-wrap:wrap; } + .dun-seg button { border:0; background:transparent; color:#9fb3d9; cursor:pointer; + font:700 11px/1 ui-monospace,monospace; padding:6px 12px; border-radius:999px; } + .dun-seg button.on { background:#002e6e; color:#fff; } + .dun-seg button:hover:not(.on) { color:#dbe4f3; } + .dun-hint { margin-left:auto; font:600 10px/1.3 ui-monospace,monospace; color:#7e90b6; white-space:nowrap; } + .dun-stage { flex:1 1 0; position:relative; min-height:0; background:#fff; } + /* each child view root is position:absolute;inset:0 → fills the stage */ + @media (max-width:640px){ .dun-hint{ display:none; } .dun-brand{ display:none; } } +`,"upg-neighbors");const s=la(()=>{var g;return((g=i.find(d=>d.key===o.value))==null?void 0:g.hint)||""});return(g,d)=>(z(),W("div",{ref_key:"rootEl",ref:r,class:"dun-root"},[f("div",Rf,[d[0]||(d[0]=f("span",{class:"dun-brand"},"My UPG Neighbors",-1)),f("div",$f,[(z(),W(Aa,null,Ua(i,_=>f("button",{key:_.key,role:"tab","aria-selected":o.value===_.key,class:Ia({on:o.value===_.key}),onClick:k=>l(_.key)},X(_.label),11,Ff)),64))]),f("span",Kf,X(s.value),1)]),f("div",Bf,[o.value==="cockpit"?(z(),Me(wg,{key:0})):o.value==="send-map"?(z(),Me(Yg,{key:1})):o.value==="flower-mesh"?(z(),Me(Ng,{key:2})):o.value==="lang-cluster"?(z(),Me(Kg,{key:3})):o.value==="flowers"?(z(),Me(Lf,{key:4})):fa("",!0)])],512))}}},Symbol.toStringTag,{value:"Module"}))})(); diff --git a/public/doxa-maps/index.html b/public/doxa-maps/index.html index 6ed9c6707..d40fa51d5 100644 --- a/public/doxa-maps/index.html +++ b/public/doxa-maps/index.html @@ -130,7 +130,7 @@ header.top .sub { margin-top: 3px; font: 12px/1.4 var(--sans); color: var(--mut) + window.FORGE.manifest = {"schema":"doxa-maps-manifest@1","generatedFrom":"plugin-designs/*/*.vue","embedBase":".","bundleCount":22,"profileCount":33,"bundles":[{"bundle":"all-people-groups","scriptUrl":"./all-people-groups/all-people-groups.js","output":"doxa-maps/all-people-groups/all-people-groups.js","integrity":"sha384-p/GNZGy24Q6Fcx6en2niqH70w6pgh31gwGQk8BAxuMtLBqbXLl8eIkFeGN6QKHDq","elements":["all-people-groups"],"profiles":[{"profile":"all-people-groups","file":"all-people-groups.vue","description":"All 12,379 people groups (peoplegroups.org) in four colors — reached,","element":"all-people-groups","type":"single","isMap":true,"iframeUrl":"./all-people-groups/all-people-groups/index.html","scriptUrl":"./all-people-groups/all-people-groups.js","embed":{"iframe":"\u003ciframe src=\"./all-people-groups/all-people-groups/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./all-people-groups/all-people-groups.js\" integrity=\"sha384-p/GNZGy24Q6Fcx6en2niqH70w6pgh31gwGQk8BAxuMtLBqbXLl8eIkFeGN6QKHDq\" crossorigin=\"anonymous\">\u003c/script>\n\u003call-people-groups profile-config='{\"profile\":\"all-people-groups\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/all-people-groups>"},"bundle":"all-people-groups"}]},{"bundle":"big-picture","scriptUrl":"./big-picture/big-picture.js","output":"doxa-maps/big-picture/big-picture.js","integrity":"sha384-v0b+aZ7TBxmgUIBBLdKEm6HzwjY3jAGyOFNsKeKCKY4EIRpiWRTcNLavAitHRt8h","elements":["bp-big-picture","bp-research-header","people-groups-grid"],"composes":["bp-research-header","people-groups-grid"],"profiles":[{"profile":"big-picture","file":"big-picture.vue","description":"The Cat-4 composite that PAIRS the two real capability elements of the","element":"bp-big-picture","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./big-picture/big-picture/index.html","scriptUrl":"./big-picture/big-picture.js","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./big-picture/big-picture.js\" integrity=\"sha384-v0b+aZ7TBxmgUIBBLdKEm6HzwjY3jAGyOFNsKeKCKY4EIRpiWRTcNLavAitHRt8h\" crossorigin=\"anonymous\">\u003c/script>\n\u003cbp-big-picture profile-config='{\"profile\":\"big-picture\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/bp-big-picture>"},"instances":[{"id":"big-picture","title":"Big Picture — research header ↔ people-groups grid (composite)","apiBaseUrl":"","props":{"profile":"big-picture","provider":"maplibre","instanceId":"bp-big-picture"},"element":"bp-big-picture","iframeUrl":"./big-picture/big-picture/big-picture/index.html","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/big-picture/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"frontier","title":"Big Picture — frontier accent","apiBaseUrl":"","props":{"profile":"big-picture","provider":"maplibre","instanceId":"bp-big-picture-frontier","accent":"#22d3ee","title":"Big Picture — Frontier Focus"},"element":"bp-big-picture","iframeUrl":"./big-picture/big-picture/frontier/index.html","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/frontier/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"big-picture"}]},{"bundle":"cities-internet","scriptUrl":"./cities-internet/cities-internet.js","output":"doxa-maps/cities-internet/cities-internet.js","integrity":"sha384-VfbtDah7CcZdh9U1LNojwqD50sWSZIzYogPohoATgibTn1s00jLOdq4/98uSfsi+","elements":["cities-internet-map"],"profiles":[{"profile":"connectivity-list","file":"connectivity-list.vue","description":"Countries where DX people groups live, grouped by region, showing measured internet penetration","element":"cities-internet-map","type":"single","isMap":false,"iframeUrl":"./cities-internet/connectivity-list/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/connectivity-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-VfbtDah7CcZdh9U1LNojwqD50sWSZIzYogPohoATgibTn1s00jLOdq4/98uSfsi+\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"connectivity-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}},{"profile":"connectivity-map","file":"connectivity-map.vue","description":"Every country shaded by measured internet penetration, with its named carriers and dominant","element":"cities-internet-map","type":"single","isMap":true,"iframeUrl":"./cities-internet/connectivity-map/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/connectivity-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-VfbtDah7CcZdh9U1LNojwqD50sWSZIzYogPohoATgibTn1s00jLOdq4/98uSfsi+\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"connectivity-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}},{"profile":"data-tables","file":"data-tables.vue","description":"Four validated research tables, one tab each, with sortable and filterable columns, CSV and JSON","element":"cities-internet-map","type":"single","isMap":false,"iframeUrl":"./cities-internet/data-tables/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/data-tables/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-VfbtDah7CcZdh9U1LNojwqD50sWSZIzYogPohoATgibTn1s00jLOdq4/98uSfsi+\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"data-tables\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}}]},{"bundle":"country-posters","scriptUrl":"./country-posters/country-posters.js","output":"doxa-maps/country-posters/country-posters.js","integrity":"sha384-XVF2t6ecN5IIl9qocMK2FRd96NhAhdT4iO6qth4CpAWjvnzZdh0RYrHpnjuYSxru","elements":["country-posters-map"],"profiles":[{"profile":"countries-map","file":"countries-map.vue","description":"The researcher's workbench retargeted from people groups to COUNTRIES — region","element":"country-posters-map","type":"single","isMap":true,"iframeUrl":"./country-posters/countries-map/index.html","scriptUrl":"./country-posters/country-posters.js","embed":{"iframe":"\u003ciframe src=\"./country-posters/countries-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./country-posters/country-posters.js\" integrity=\"sha384-XVF2t6ecN5IIl9qocMK2FRd96NhAhdT4iO6qth4CpAWjvnzZdh0RYrHpnjuYSxru\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccountry-posters-map profile-config='{\"profile\":\"countries-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/country-posters-map>"}},{"profile":"country-poster-wall","file":"country-poster-wall.vue","description":"One printable card per country, grouped into COLLAPSIBLE regional sections so the","element":"country-posters-map","type":"single","isMap":false,"iframeUrl":"./country-posters/country-poster-wall/index.html","scriptUrl":"./country-posters/country-posters.js","embed":{"iframe":"\u003ciframe src=\"./country-posters/country-poster-wall/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./country-posters/country-posters.js\" integrity=\"sha384-XVF2t6ecN5IIl9qocMK2FRd96NhAhdT4iO6qth4CpAWjvnzZdh0RYrHpnjuYSxru\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccountry-posters-map profile-config='{\"profile\":\"country-poster-wall\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/country-posters-map>"}}]},{"bundle":"dashboard-plus-grid","scriptUrl":"./dashboard-plus-grid/dashboard-plus-grid.js","output":"doxa-maps/dashboard-plus-grid/dashboard-plus-grid.js","integrity":"sha384-Ba+P2cFNlunEDgs+vOBLJraFBOD+Pw7snZJYzWB1pNErHHapOPZj20/xyRa1omZ6","elements":["dashboard-plus-grid"],"composes":["research-dashboard","people-groups-grid"],"profiles":[{"profile":"dashboard-plus-grid","file":"dashboard-plus-grid.vue","description":"Both children are IMPORTED DIRECTLY (compiled into this ONE bundle — no runtime bundle","element":"dashboard-plus-grid","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./dashboard-plus-grid/dashboard-plus-grid/index.html","scriptUrl":"./dashboard-plus-grid/dashboard-plus-grid.js","embed":{"iframe":"\u003ciframe src=\"./dashboard-plus-grid/dashboard-plus-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./dashboard-plus-grid/dashboard-plus-grid.js\" integrity=\"sha384-Ba+P2cFNlunEDgs+vOBLJraFBOD+Pw7snZJYzWB1pNErHHapOPZj20/xyRa1omZ6\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdashboard-plus-grid profile-config='{\"profile\":\"dashboard-plus-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/dashboard-plus-grid>"},"instances":[{"id":"default","title":"default","apiBaseUrl":"","props":{"profile":"dashboard-plus-grid"},"element":"dashboard-plus-grid","iframeUrl":"./dashboard-plus-grid/dashboard-plus-grid/default/index.html","embed":{"iframe":"\u003ciframe src=\"./dashboard-plus-grid/dashboard-plus-grid/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"demo-map","scriptUrl":"./demo-map/demo-map.js","output":"doxa-maps/demo-map/demo-map.js","integrity":"sha384-V2YEXG4I8H76LdmFUKxZexTh5LV+7uPhUsxWqvVcX1Lq8WNbwO/a/E3h7pOlMTMY","elements":["demo-map"],"profiles":[{"profile":"demo-map","file":"demo-map.vue","description":"Simple two-tab demo map. Tab 1 colors pins by religion (shared","element":"demo-map","type":"parameterized","isMap":true,"iframeUrl":"./demo-map/demo-map/index.html","scriptUrl":"./demo-map/demo-map.js","embed":{"iframe":"\u003ciframe src=\"./demo-map/demo-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./demo-map/demo-map.js\" integrity=\"sha384-V2YEXG4I8H76LdmFUKxZexTh5LV+7uPhUsxWqvVcX1Lq8WNbwO/a/E3h7pOlMTMY\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdemo-map profile-config='{\"profile\":\"demo-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/demo-map>"},"instances":[{"id":"maplibre","title":"Demo map — MapLibre (token-free)","apiBaseUrl":"","props":{"profile":"demo-map","provider":"maplibre","instanceId":"demo-maplibre"},"element":"demo-map","iframeUrl":"./demo-map/demo-map/maplibre/index.html","embed":{"iframe":"\u003ciframe src=\"./demo-map/demo-map/maplibre/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"demo-map"}]},{"bundle":"doxa-maps-spa","scriptUrl":"./doxa-maps-spa/doxa-maps-spa.js","output":"doxa-maps/doxa-maps-spa/doxa-maps-spa.js","integrity":"sha384-Ce+DKsLgwfej+rgoWeaWFuMMbR3Y4H+8io/lVL+lQfX0O3iGKwDLf4remDkHGCrP","elements":["doxa-maps-spa"],"composes":["bp-big-picture","doxa-research-map","doxa-simple-map","cities-internet-map","gospel-resources-map","my-upg-100-list-map"],"profiles":[{"profile":"doxa-maps-spa","file":"doxa-maps-spa.vue","description":"The DX-maps app itself: one element whose vertical-tab rail nests every other","element":"doxa-maps-spa","type":"nested-mfe-spa","isMap":false,"iframeUrl":"./doxa-maps-spa/doxa-maps-spa/index.html","scriptUrl":"./doxa-maps-spa/doxa-maps-spa.js","embed":{"iframe":"\u003ciframe src=\"./doxa-maps-spa/doxa-maps-spa/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-maps-spa/doxa-maps-spa.js\" integrity=\"sha384-Ce+DKsLgwfej+rgoWeaWFuMMbR3Y4H+8io/lVL+lQfX0O3iGKwDLf4remDkHGCrP\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-maps-spa profile-config='{\"profile\":\"doxa-maps-spa\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-maps-spa>"},"instances":[{"id":"app","title":"DX-Maps SPA — Big Picture + every research map (app-shell)","apiBaseUrl":"","props":{"profile":"doxa-maps-spa","provider":"maplibre","instanceId":"doxa-maps-spa-app","title":"DX-Maps"},"element":"doxa-maps-spa","iframeUrl":"./doxa-maps-spa/doxa-maps-spa/app/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-maps-spa/doxa-maps-spa/app/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-research-map","scriptUrl":"./doxa-research-map/doxa-research-map.js","output":"doxa-maps/doxa-research-map/doxa-research-map.js","integrity":"sha384-wPisP4Zwa8acLC/C/bg6n3TXcsmuL1ct2ovDvXtGUFuDiJWLB4zgXuzQMajKHeoV","elements":["doxa-research-map"],"profiles":[{"profile":"research-map","file":"research-map.vue","description":"The researcher's workbench: every piece a missiologist, demographer or","element":"doxa-research-map","type":"monolithic","isMap":true,"iframeUrl":"./doxa-research-map/research-map/index.html","scriptUrl":"./doxa-research-map/doxa-research-map.js","embed":{"iframe":"\u003ciframe src=\"./doxa-research-map/research-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-research-map/doxa-research-map.js\" integrity=\"sha384-wPisP4Zwa8acLC/C/bg6n3TXcsmuL1ct2ovDvXtGUFuDiJWLB4zgXuzQMajKHeoV\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-research-map profile-config='{\"profile\":\"research-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-research-map>"},"instances":[{"id":"maplibre","title":"Research map — MapLibre (token-free, no search bar)","apiBaseUrl":"","props":{"profile":"research-map","provider":"maplibre","instanceId":"research-map-maplibre"},"element":"doxa-research-map","iframeUrl":"./doxa-research-map/research-map/maplibre/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-research-map/research-map/maplibre/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-simple-map","scriptUrl":"./doxa-simple-map/doxa-simple-map.js","output":"doxa-maps/doxa-simple-map/doxa-simple-map.js","integrity":"sha384-S0p0NMpR43h6c4L9RvWRr3GqaLSJ3x0q9wGHu2LSWYKY8E9aE/qglSto1L45Q3eC","elements":["doxa-map","doxa-simple-map"],"profiles":[{"profile":"doxa-simple-map","file":"doxa-simple-map.vue","description":"The simple world map, shipped as three presets off ONE prop table —","element":"doxa-map","type":"parameterized","isMap":true,"iframeUrl":"./doxa-simple-map/doxa-simple-map/index.html","scriptUrl":"./doxa-simple-map/doxa-simple-map.js","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-simple-map/doxa-simple-map.js\" integrity=\"sha384-S0p0NMpR43h6c4L9RvWRr3GqaLSJ3x0q9wGHu2LSWYKY8E9aE/qglSto1L45Q3eC\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-map profile-config='{\"profile\":\"doxa-simple-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-map>"},"instances":[{"id":"prayer","title":"Prayer Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-prayer","dataSource":"pray-tools","tabs":[{"id":"prayer","colorStrategy":"prayer","legend":"prayer","popup":"prayer"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/prayer/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/prayer/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"engagement","title":"Engagement Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-engagement","dataSource":"pray-tools","tabs":[{"id":"engagement","colorStrategy":"engagement","legend":"engagement","popup":"engagement"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/engagement/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/engagement/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"adoption","title":"Adoption Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-adoption","dataSource":"pray-tools","tabs":[{"id":"adoption","colorStrategy":"adoption","legend":"adoption","popup":"adoption"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/adoption/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/adoption/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-vision-card","scriptUrl":"./doxa-vision-card/doxa-vision-card.js","output":"doxa-maps/doxa-vision-card/doxa-vision-card.js","integrity":"sha384-2mza3cltN5LQQIrlENG/IVL6Icd9zzcFve3E8R8VWuCdYOGW9uGKFvxcbu6eFfwn","elements":["doxa-vision-card"],"profiles":[{"profile":"doxa-vision-card","file":"doxa-vision-card.vue","description":"The Capability-1 example: ONE folder -> ONE bundle -> ONE element.","element":"doxa-vision-card","type":"parameterized","isMap":false,"iframeUrl":"./doxa-vision-card/doxa-vision-card/index.html","scriptUrl":"./doxa-vision-card/doxa-vision-card.js","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-vision-card/doxa-vision-card.js\" integrity=\"sha384-2mza3cltN5LQQIrlENG/IVL6Icd9zzcFve3E8R8VWuCdYOGW9uGKFvxcbu6eFfwn\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-vision-card profile-config='{\"profile\":\"doxa-vision-card\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-vision-card>"},"instances":[{"id":"default","title":"Vision card — reach at a glance","apiBaseUrl":"","props":{"profile":"doxa-vision-card","provider":"maplibre","instanceId":"vision-card-default"},"element":"doxa-vision-card","iframeUrl":"./doxa-vision-card/doxa-vision-card/default/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"frontier","title":"Vision card — frontier accent","apiBaseUrl":"","props":{"profile":"doxa-vision-card","provider":"maplibre","instanceId":"vision-card-frontier","accent":"#22d3ee","title":"The last frontier of the gospel.","tagline":"Frontier people groups — where fewer than one in a thousand follow Jesus.","stats":[{"value":"1,910","label":"Frontier groups","note":"under 0.1% believers"},{"value":"2.1B","label":"People","note":"living in frontier settings"},{"value":"0.1%","label":"Christian","note":"or fewer, in each group"}]},"element":"doxa-vision-card","iframeUrl":"./doxa-vision-card/doxa-vision-card/frontier/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/frontier/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"doxa-vision-card"}]},{"bundle":"golden-path-check","scriptUrl":"./golden-path-check/golden-path-check.js","output":"doxa-maps/golden-path-check/golden-path-check.js","integrity":"sha384-1V/sT5SkV0U9yTCK9ELIOFfU1ZIJkInIF6nG3UllJ4dxax3RsEAupSGLJEFK6e14","elements":["golden-path-check"],"profiles":[{"profile":"golden-path-check","file":"golden-path-check.vue","description":"A live self-test of the develop-a-plugin-and-see-it-live path: it reads the built","element":"golden-path-check","type":"single","isMap":false,"iframeUrl":"./golden-path-check/golden-path-check/index.html","scriptUrl":"./golden-path-check/golden-path-check.js","embed":{"iframe":"\u003ciframe src=\"./golden-path-check/golden-path-check/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./golden-path-check/golden-path-check.js\" integrity=\"sha384-1V/sT5SkV0U9yTCK9ELIOFfU1ZIJkInIF6nG3UllJ4dxax3RsEAupSGLJEFK6e14\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgolden-path-check profile-config='{\"profile\":\"golden-path-check\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/golden-path-check>"}}]},{"bundle":"gospel-resources","scriptUrl":"./gospel-resources/gospel-resources.js","output":"doxa-maps/gospel-resources/gospel-resources.js","integrity":"sha384-VXjJ4Se+3vtAs3dnqQoWelPf88U32RffjhrVy3usV5m9HHm2fL/CfUq2maQVKhzj","elements":["gospel-resources-map"],"profiles":[{"profile":"charts","file":"charts.vue","description":"The gap by LANGUAGE (ISO 639-3) rather than by people group — because one translation serves every","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/charts/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/charts/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-VXjJ4Se+3vtAs3dnqQoWelPf88U32RffjhrVy3usV5m9HHm2fL/CfUq2maQVKhzj\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"charts\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"data-tables","file":"data-tables.vue","description":"Two validated tables: what resources exist per people group, and whether that access is keeping","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/data-tables/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/data-tables/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-VXjJ4Se+3vtAs3dnqQoWelPf88U32RffjhrVy3usV5m9HHm2fL/CfUq2maQVKhzj\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"data-tables\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"resources-list","file":"resources-list.vue","description":"Which DX people groups have scripture in their own language, and which have none. The zero-resource","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/resources-list/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/resources-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-VXjJ4Se+3vtAs3dnqQoWelPf88U32RffjhrVy3usV5m9HHm2fL/CfUq2maQVKhzj\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"resources-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"resources-map","file":"resources-map.vue","description":"Every country shaded by how much of its unengaged population has NO gospel resource in their own","element":"gospel-resources-map","type":"single","isMap":true,"iframeUrl":"./gospel-resources/resources-map/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/resources-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-VXjJ4Se+3vtAs3dnqQoWelPf88U32RffjhrVy3usV5m9HHm2fL/CfUq2maQVKhzj\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"resources-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}}]},{"bundle":"my-upg-100-list","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","output":"doxa-maps/my-upg-100-list/my-upg-100-list.js","integrity":"sha384-32Ye4zztZJcuLNXs7frVH4mnI8A9GZXqY3wCq1QmS8k4jbpHqOPU6Dkfemkr+1xk","elements":["my-upg-100-list-map"],"composes":["my-upg-100-list/upg-100-list","my-upg-100-list/poster-wall"],"profiles":[{"profile":"poster-wall","file":"poster-wall.vue","description":"A wall of printable poster cards, one per 100-list entry, each with a \"Show on map\" action that","element":"my-upg-100-list-map","type":"single","isMap":true,"iframeUrl":"./my-upg-100-list/poster-wall/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/poster-wall/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-32Ye4zztZJcuLNXs7frVH4mnI8A9GZXqY3wCq1QmS8k4jbpHqOPU6Dkfemkr+1xk\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"poster-wall\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}},{"profile":"upg-100-list","file":"upg-100-list.vue","description":"A personal unreached-people-groups list painted as true boundary polygons —","element":"my-upg-100-list-map","type":"single","isMap":true,"iframeUrl":"./my-upg-100-list/upg-100-list/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/upg-100-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-32Ye4zztZJcuLNXs7frVH4mnI8A9GZXqY3wCq1QmS8k4jbpHqOPU6Dkfemkr+1xk\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"upg-100-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}},{"profile":"upg-100-mfe","file":"upg-100-mfe.vue","description":"The standalone, shareable and embeddable composite of the my-upg-100-list family — it nests the map","element":"my-upg-100-list-map","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./my-upg-100-list/upg-100-mfe/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/upg-100-mfe/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-32Ye4zztZJcuLNXs7frVH4mnI8A9GZXqY3wCq1QmS8k4jbpHqOPU6Dkfemkr+1xk\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"upg-100-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}}]},{"bundle":"people-groups-grid","scriptUrl":"./people-groups-grid/people-groups-grid.js","output":"doxa-maps/people-groups-grid/people-groups-grid.js","integrity":"sha384-wyfAzVfoufR5FaDoo3DSivtV33qOexc7PhDYZkXlYmru5FqZgncuUos3nN0kkMJL","elements":["people-groups-grid"],"profiles":[{"profile":"people-groups-grid","file":"people-groups-grid.vue","description":"The people-groups grid as an owned custom element: card list, search and four","element":"people-groups-grid","type":"parameterized","isMap":false,"iframeUrl":"./people-groups-grid/people-groups-grid/index.html","scriptUrl":"./people-groups-grid/people-groups-grid.js","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./people-groups-grid/people-groups-grid.js\" integrity=\"sha384-wyfAzVfoufR5FaDoo3DSivtV33qOexc7PhDYZkXlYmru5FqZgncuUos3nN0kkMJL\" crossorigin=\"anonymous\">\u003c/script>\n\u003cpeople-groups-grid profile-config='{\"profile\":\"people-groups-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/people-groups-grid>"},"instances":[{"id":"people-groups-grid","title":"People Groups Grid — standalone (own search + 4 dropdowns)","apiBaseUrl":"","props":{"profile":"people-groups-grid","provider":"maplibre","instanceId":"people-groups-grid","pray-base-url":"https://pray.doxa.life"},"element":"people-groups-grid","iframeUrl":"./people-groups-grid/people-groups-grid/people-groups-grid/index.html","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/people-groups-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"driven","title":"People Groups Grid — externally driven (controls off, props/events)","apiBaseUrl":"","props":{"profile":"people-groups-grid","provider":"maplibre","instanceId":"people-groups-grid-driven","pray-base-url":"https://pray.doxa.life","show-search":"false","show-filters":"false"},"element":"people-groups-grid","iframeUrl":"./people-groups-grid/people-groups-grid/driven/index.html","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/driven/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"plugin-studio","scriptUrl":"./plugin-studio/plugin-studio.js","output":"doxa-maps/plugin-studio/plugin-studio.js","integrity":"sha384-2RlLFRU2XdjBN7w+FPguj8INgj57JFg4IFT2AmdefGnR9QQLehbiiAffV45LcsFH","elements":["plugin-studio"],"composes":["bp-big-picture","people-groups-grid","doxa-research-map","doxa-simple-map","cities-internet-map","gospel-resources-map","my-upg-100-list-map","doxa-vision-card","all-people-groups","research-dashboard"],"profiles":[{"profile":"plugin-studio","file":"plugin-studio.vue","description":"The developer's viewing surface: a sidebar that is the composability ladder","element":"plugin-studio","type":"nested-mfe-spa","isMap":false,"iframeUrl":"./plugin-studio/plugin-studio/index.html","scriptUrl":"./plugin-studio/plugin-studio.js","embed":{"iframe":"\u003ciframe src=\"./plugin-studio/plugin-studio/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./plugin-studio/plugin-studio.js\" integrity=\"sha384-2RlLFRU2XdjBN7w+FPguj8INgj57JFg4IFT2AmdefGnR9QQLehbiiAffV45LcsFH\" crossorigin=\"anonymous\">\u003c/script>\n\u003cplugin-studio profile-config='{\"profile\":\"plugin-studio\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/plugin-studio>"},"instances":[{"id":"studio","title":"Plugin Studio — every element by capability 5 -> 1 (developer studio)","apiBaseUrl":"","props":{"profile":"plugin-studio","provider":"maplibre","instanceId":"plugin-studio","title":"Plugin Studio"},"element":"plugin-studio","iframeUrl":"./plugin-studio/plugin-studio/studio/index.html","embed":{"iframe":"\u003ciframe src=\"./plugin-studio/plugin-studio/studio/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"prayer-walk-planner","scriptUrl":"./prayer-walk-planner/prayer-walk-planner.js","output":"doxa-maps/prayer-walk-planner/prayer-walk-planner.js","integrity":"sha384-7jWlo1ERAkJVmIj2zvbUfDXHANMfT5MolW1AV6ex76fxP0rll9PgtoK8CH876uYH","elements":["prayer-walk-planner"],"profiles":[{"profile":"prayer-walk-planner","file":"prayer-walk-planner.vue","description":"A simple polygon-drawing tool for planning prayer-walking routes.","element":"prayer-walk-planner","type":"single","isMap":true,"iframeUrl":"./prayer-walk-planner/prayer-walk-planner/index.html","scriptUrl":"./prayer-walk-planner/prayer-walk-planner.js","embed":{"iframe":"\u003ciframe src=\"./prayer-walk-planner/prayer-walk-planner/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./prayer-walk-planner/prayer-walk-planner.js\" integrity=\"sha384-7jWlo1ERAkJVmIj2zvbUfDXHANMfT5MolW1AV6ex76fxP0rll9PgtoK8CH876uYH\" crossorigin=\"anonymous\">\u003c/script>\n\u003cprayer-walk-planner profile-config='{\"profile\":\"prayer-walk-planner\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/prayer-walk-planner>"}}]},{"bundle":"regions-dashboard","scriptUrl":"./regions-dashboard/regions-dashboard.js","output":"doxa-maps/regions-dashboard/regions-dashboard.js","integrity":"sha384-yPEXCgLT7Mu6wGnVC132x+U8Sff1w3OxbQilNQ/y7x1KK6Ykqk2vta8qHB24Fofg","elements":["regions-dashboard"],"composes":["regions-dashboard/regions-list","regions-dashboard/region-dashboards"],"profiles":[{"profile":"region-dashboards","file":"region-dashboards.vue","description":"The dashboard half of the Driver's 2-tab Regions element: given a region (or a","element":"regions-dashboard","type":"single","isMap":true,"iframeUrl":"./regions-dashboard/region-dashboards/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/region-dashboards/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-yPEXCgLT7Mu6wGnVC132x+U8Sff1w3OxbQilNQ/y7x1KK6Ykqk2vta8qHB24Fofg\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"region-dashboards\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}},{"profile":"regions-list","file":"regions-list.vue","description":"A refactor of DX-life's /regions index page (app/pages/regions/index.vue) into","element":"regions-dashboard","type":"single","isMap":true,"iframeUrl":"./regions-dashboard/regions-list/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/regions-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-yPEXCgLT7Mu6wGnVC132x+U8Sff1w3OxbQilNQ/y7x1KK6Ykqk2vta8qHB24Fofg\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"regions-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}},{"profile":"regions-mfe","file":"regions-mfe.vue","description":"The composite the Driver asked for: ONE element carrying the SELECT VIEW switcher","element":"regions-dashboard","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./regions-dashboard/regions-mfe/index.html","scriptUrl":"./regions-dashboard/regions-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./regions-dashboard/regions-mfe/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-yPEXCgLT7Mu6wGnVC132x+U8Sff1w3OxbQilNQ/y7x1KK6Ykqk2vta8qHB24Fofg\" crossorigin=\"anonymous\">\u003c/script>\n\u003cregions-dashboard profile-config='{\"profile\":\"regions-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/regions-dashboard>"}}]},{"bundle":"research-dashboard","scriptUrl":"./research-dashboard/research-dashboard.js","output":"doxa-maps/research-dashboard/research-dashboard.js","integrity":"sha384-K8I36S+jJvwOmnJ4Zoulz8T+4fFF1X4hg2Pu8BCNkBjtbgK8eEmIhBsQi7KZQS9V","elements":["research-dashboard-map"],"profiles":[{"profile":"research-dashboard","file":"research-dashboard.vue","description":"Coordinated-Multiple-Views research dashboard for 10/40-window UPGs (live pray.doxa.life): docked facet rail + map-as-hero + linked table/charts, brushing-and-linking over one in-memory store.","element":"research-dashboard-map","type":"monolithic","isMap":true,"iframeUrl":"./research-dashboard/research-dashboard/index.html","scriptUrl":"./research-dashboard/research-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./research-dashboard/research-dashboard/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./research-dashboard/research-dashboard.js\" integrity=\"sha384-K8I36S+jJvwOmnJ4Zoulz8T+4fFF1X4hg2Pu8BCNkBjtbgK8eEmIhBsQi7KZQS9V\" crossorigin=\"anonymous\">\u003c/script>\n\u003cresearch-dashboard-map profile-config='{\"profile\":\"research-dashboard\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/research-dashboard-map>"},"bundle":"research-dashboard"}]},{"bundle":"research-map-plus-grid","scriptUrl":"./research-map-plus-grid/research-map-plus-grid.js","output":"doxa-maps/research-map-plus-grid/research-map-plus-grid.js","integrity":"sha384-sOkaMV0UFr2uNXfoJpRvaD+gHD6xFlkmpR7MzEwwFdarYdid8aN9Nj1Y8TqQJuFo","elements":["research-map-plus-grid"],"composes":["doxa-research-map","people-groups-grid"],"profiles":[{"profile":"research-map-plus-grid","file":"research-map-plus-grid.vue","description":"The monolithic 7-tab research map (cap-3) on top, the People Groups grid beneath,","element":"research-map-plus-grid","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./research-map-plus-grid/research-map-plus-grid/index.html","scriptUrl":"./research-map-plus-grid/research-map-plus-grid.js","embed":{"iframe":"\u003ciframe src=\"./research-map-plus-grid/research-map-plus-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./research-map-plus-grid/research-map-plus-grid.js\" integrity=\"sha384-sOkaMV0UFr2uNXfoJpRvaD+gHD6xFlkmpR7MzEwwFdarYdid8aN9Nj1Y8TqQJuFo\" crossorigin=\"anonymous\">\u003c/script>\n\u003cresearch-map-plus-grid profile-config='{\"profile\":\"research-map-plus-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/research-map-plus-grid>"},"instances":[{"id":"default","title":"default","apiBaseUrl":"","props":{"profile":"research-map-plus-grid"},"element":"research-map-plus-grid","iframeUrl":"./research-map-plus-grid/research-map-plus-grid/default/index.html","embed":{"iframe":"\u003ciframe src=\"./research-map-plus-grid/research-map-plus-grid/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"stack-demo","scriptUrl":"./stack-demo/stack-demo.js","output":"doxa-maps/stack-demo/stack-demo.js","integrity":"sha384-gnwM6s+puf1K60Nl7crQcC2QC+9BxwpkaTx4OepLZ8VUCraZc+aRlWpsb6nj6Gyf","elements":["stack-demo"],"composes":["research-dashboard-map","people-groups-grid"],"profiles":[{"profile":"stack-demo","file":"stack-demo.vue","description":"Groups TWO independent elements TOP-TO-BOTTOM so you can embed the pair on a page and","element":"stack-demo","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./stack-demo/stack-demo/index.html","scriptUrl":"./stack-demo/stack-demo.js","embed":{"iframe":"\u003ciframe src=\"./stack-demo/stack-demo/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./stack-demo/stack-demo.js\" integrity=\"sha384-gnwM6s+puf1K60Nl7crQcC2QC+9BxwpkaTx4OepLZ8VUCraZc+aRlWpsb6nj6Gyf\" crossorigin=\"anonymous\">\u003c/script>\n\u003cstack-demo profile-config='{\"profile\":\"stack-demo\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/stack-demo>"},"instances":[{"id":"pair","title":"pair","apiBaseUrl":"","props":{"profile":"stack-demo"},"element":"stack-demo","iframeUrl":"./stack-demo/stack-demo/pair/index.html","embed":{"iframe":"\u003ciframe src=\"./stack-demo/stack-demo/pair/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"template-bundle","scriptUrl":"./template-bundle/template-bundle.js","output":"doxa-maps/template-bundle/template-bundle.js","integrity":"sha384-L0FkVYzlQATU9b0Ah8f089YyKz29G6Y58/44DkV+TMS5WbpeO2Jq014VzVAmpTMS","elements":["template-bundle"],"profiles":[{"profile":"template-map-a","file":"template-map-a.vue","description":"Minimal example profile A — a colored placeholder, no Mapbox or data.","element":"template-bundle","type":"single","isMap":false,"iframeUrl":"./template-bundle/template-map-a/index.html","scriptUrl":"./template-bundle/template-bundle.js","embed":{"iframe":"\u003ciframe src=\"./template-bundle/template-map-a/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./template-bundle/template-bundle.js\" integrity=\"sha384-L0FkVYzlQATU9b0Ah8f089YyKz29G6Y58/44DkV+TMS5WbpeO2Jq014VzVAmpTMS\" crossorigin=\"anonymous\">\u003c/script>\n\u003ctemplate-bundle profile-config='{\"profile\":\"template-map-a\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/template-bundle>"},"bundle":"template-bundle"},{"profile":"template-map-b","file":"template-map-b.vue","description":"Minimal example profile B — a second profile in the same bundle.","element":"template-bundle","type":"single","isMap":false,"iframeUrl":"./template-bundle/template-map-b/index.html","scriptUrl":"./template-bundle/template-bundle.js","embed":{"iframe":"\u003ciframe src=\"./template-bundle/template-map-b/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./template-bundle/template-bundle.js\" integrity=\"sha384-L0FkVYzlQATU9b0Ah8f089YyKz29G6Y58/44DkV+TMS5WbpeO2Jq014VzVAmpTMS\" crossorigin=\"anonymous\">\u003c/script>\n\u003ctemplate-bundle profile-config='{\"profile\":\"template-map-b\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/template-bundle>"},"bundle":"template-bundle"}]},{"bundle":"upg-neighbor","scriptUrl":"./upg-neighbor/upg-neighbor.js","output":"doxa-maps/upg-neighbor/upg-neighbor.js","integrity":"sha384-JDJr4qoVZuiSi/rvgdzeuUNrzf7vjPdyh/g8dg7X8RHkZk/Y+tYXIQ3gpEzrU07q","elements":["upg-neighbor"],"profiles":[{"profile":"upg-neighbor","file":"upg-neighbor.vue","description":"Rescues the three pre-bundler experimental maps that live inside the legacy","element":"upg-neighbor","type":"parameterized","isMap":false,"iframeUrl":"./upg-neighbor/upg-neighbor/index.html","scriptUrl":"./upg-neighbor/upg-neighbor.js","embed":{"iframe":"\u003ciframe src=\"./upg-neighbor/upg-neighbor/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./upg-neighbor/upg-neighbor.js\" integrity=\"sha384-JDJr4qoVZuiSi/rvgdzeuUNrzf7vjPdyh/g8dg7X8RHkZk/Y+tYXIQ3gpEzrU07q\" crossorigin=\"anonymous\">\u003c/script>\n\u003cupg-neighbor profile-config='{\"profile\":\"upg-neighbor\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/upg-neighbor>"},"instances":[{"id":"send-map","title":"Send Map (legacy)","apiBaseUrl":"","props":{"profile":"upg-neighbor","legacyElement":"send-map","legacyTitle":"Send Map"},"element":"upg-neighbor","iframeUrl":"./upg-neighbor/upg-neighbor/send-map/index.html","embed":{"iframe":"\u003ciframe src=\"./upg-neighbor/upg-neighbor/send-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"upg-neighbors","title":"UPG Neighbors (legacy)","apiBaseUrl":"","props":{"profile":"upg-neighbor","legacyElement":"upg-neighbors","legacyTitle":"UPG Neighbors"},"element":"upg-neighbor","iframeUrl":"./upg-neighbor/upg-neighbor/upg-neighbors/index.html","embed":{"iframe":"\u003ciframe src=\"./upg-neighbor/upg-neighbor/upg-neighbors/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"lang-cluster","title":"Language Clusters (legacy)","apiBaseUrl":"","props":{"profile":"upg-neighbor","legacyElement":"lang-cluster","legacyTitle":"Language Clusters"},"element":"upg-neighbor","iframeUrl":"./upg-neighbor/upg-neighbor/lang-cluster/index.html","embed":{"iframe":"\u003ciframe src=\"./upg-neighbor/upg-neighbor/lang-cluster/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"bloom-cockpit","title":"Bloom Cockpit (legacy)","apiBaseUrl":"","props":{"profile":"upg-neighbor","legacyElement":"bloom-cockpit","legacyTitle":"Bloom Cockpit"},"element":"upg-neighbor","iframeUrl":"./upg-neighbor/upg-neighbor/bloom-cockpit/index.html","embed":{"iframe":"\u003ciframe src=\"./upg-neighbor/upg-neighbor/bloom-cockpit/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"flower-mesh","title":"Flower Mesh (legacy)","apiBaseUrl":"","props":{"profile":"upg-neighbor","legacyElement":"flower-mesh","legacyTitle":"Flower Mesh"},"element":"upg-neighbor","iframeUrl":"./upg-neighbor/upg-neighbor/flower-mesh/index.html","embed":{"iframe":"\u003ciframe src=\"./upg-neighbor/upg-neighbor/flower-mesh/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]}]}; \n\n" + }, + "instances": [ + { + "id": "send-map", + "title": "Send Map (legacy)", + "apiBaseUrl": "", + "props": { + "profile": "upg-neighbor", + "legacyElement": "send-map", + "legacyTitle": "Send Map" + }, + "element": "upg-neighbor", + "iframeUrl": "./upg-neighbor/upg-neighbor/send-map/index.html", + "embed": { + "iframe": "" + } + }, + { + "id": "upg-neighbors", + "title": "UPG Neighbors (legacy)", + "apiBaseUrl": "", + "props": { + "profile": "upg-neighbor", + "legacyElement": "upg-neighbors", + "legacyTitle": "UPG Neighbors" + }, + "element": "upg-neighbor", + "iframeUrl": "./upg-neighbor/upg-neighbor/upg-neighbors/index.html", + "embed": { + "iframe": "" + } + }, + { + "id": "lang-cluster", + "title": "Language Clusters (legacy)", + "apiBaseUrl": "", + "props": { + "profile": "upg-neighbor", + "legacyElement": "lang-cluster", + "legacyTitle": "Language Clusters" + }, + "element": "upg-neighbor", + "iframeUrl": "./upg-neighbor/upg-neighbor/lang-cluster/index.html", + "embed": { + "iframe": "" + } + }, + { + "id": "bloom-cockpit", + "title": "Bloom Cockpit (legacy)", + "apiBaseUrl": "", + "props": { + "profile": "upg-neighbor", + "legacyElement": "bloom-cockpit", + "legacyTitle": "Bloom Cockpit" + }, + "element": "upg-neighbor", + "iframeUrl": "./upg-neighbor/upg-neighbor/bloom-cockpit/index.html", + "embed": { + "iframe": "" + } + }, + { + "id": "flower-mesh", + "title": "Flower Mesh (legacy)", + "apiBaseUrl": "", + "props": { + "profile": "upg-neighbor", + "legacyElement": "flower-mesh", + "legacyTitle": "Flower Mesh" + }, + "element": "upg-neighbor", + "iframeUrl": "./upg-neighbor/upg-neighbor/flower-mesh/index.html", + "embed": { + "iframe": "" + } + } + ] + } + ] } ] } diff --git a/public/doxa-maps/upg-neighbor/upg-neighbor.js b/public/doxa-maps/upg-neighbor/upg-neighbor.js new file mode 100644 index 000000000..fef58dfb7 --- /dev/null +++ b/public/doxa-maps/upg-neighbor/upg-neighbor.js @@ -0,0 +1,20 @@ +(function(){"use strict";var cs=typeof document<"u"?document.currentScript:null;/** +* @vue/shared v3.5.42 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function fs(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const V={},Ze=[],he=()=>{},en=()=>!1,Mt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),It=e=>e.startsWith("onUpdate:"),J=Object.assign,us=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Yi=Object.prototype.hasOwnProperty,N=(e,t)=>Yi.call(e,t),O=Array.isArray,$e=e=>rt(e)==="[object Map]",as=e=>rt(e)==="[object Set]",tn=e=>rt(e)==="[object Date]",R=e=>typeof e=="function",G=e=>typeof e=="string",Ne=e=>typeof e=="symbol",B=e=>e!==null&&typeof e=="object",sn=e=>(B(e)||R(e))&&R(e.then)&&R(e.catch),Xi=Object.prototype.toString,rt=e=>Xi.call(e),Zi=e=>rt(e).slice(8,-1),hs=e=>rt(e)==="[object Object]",ds=e=>G(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ot=fs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ft=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},Qi=/-\w/g,re=Ft(e=>e.replace(Qi,t=>t.slice(1).toUpperCase())),ki=/\B([A-Z])/g,fe=Ft(e=>e.replace(ki,"-$1").toLowerCase()),nn=Ft(e=>e.charAt(0).toUpperCase()+e.slice(1)),ps=Ft(e=>e?`on${nn(e)}`:""),Ee=(e,t)=>!Object.is(e,t),gs=(e,...t)=>{for(let s=0;s{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},er=e=>{const t=parseFloat(e);return isNaN(t)?e:t},on=e=>{const t=G(e)?Number(e):NaN;return isNaN(t)?e:t};let ln;const Nt=()=>ln||(ln=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function _s(e){if(O(e)){const t={};for(let s=0;s{if(s){const n=s.split(sr);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ms(e){let t="";if(G(e))t=e;else if(O(e))for(let s=0;s0&&--this._on===0){if(Z===this)Z=this.prevScope;else{let t=Z;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 s,n;for(s=0,n=this.effects.length;s0)return;if(ct){let t=ct;for(ct=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;lt;){let t=lt;for(lt=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function dn(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function pn(e){let t,s=e.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),Ss(n),fr(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}e.deps=t,e.depsTail=s}function xs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(gn(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function gn(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ft)||(e.globalVersion=ft,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!xs(e))))return;e.flags|=2;const t=e.dep,s=U,n=ue;U=e,ue=!0;try{dn(e);const i=e.fn(e._value);(t.version===0||Ee(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{U=s,ue=n,pn(e),e.flags&=-3}}function Ss(e,t=!1){const{dep:s,prevSub:n,nextSub:i}=e;if(n&&(n.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let r=s.computed.deps;r;r=r.nextDep)Ss(r,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function fr(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let ue=!0;const _n=[];function de(){_n.push(ue),ue=!1}function pe(){const e=_n.pop();ue=e===void 0?!0:e}function mn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=U;U=void 0;try{t()}finally{U=s}}}let ft=0;class ur{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class bn{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(!U||!ue||U===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==U)s=this.activeLink=new ur(U,this),U.deps?(s.prevDep=U.depsTail,U.depsTail.nextDep=s,U.depsTail=s):U.deps=U.depsTail=s,yn(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=U.depsTail,s.nextDep=void 0,U.depsTail.nextDep=s,U.depsTail=s,U.deps===s&&(U.deps=n)}return s}trigger(t){this.version++,ft++,this.notify(t)}notify(t){ys();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{vs()}}}function yn(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)yn(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const ws=new WeakMap,Ve=Symbol(""),Cs=Symbol(""),ut=Symbol("");function k(e,t,s){if(ue&&U){let n=ws.get(e);n||ws.set(e,n=new Map);let i=n.get(s);i||(n.set(s,i=new bn),i.map=n,i.key=s),i.track()}}function Pe(e,t,s,n,i,r){const o=ws.get(e);if(!o){ft++;return}const l=f=>{f&&f.trigger()};if(ys(),t==="clear")o.forEach(l);else{const f=O(e),h=f&&ds(s);if(f&&s==="length"){const a=Number(n);o.forEach((p,w)=>{(w==="length"||w===ut||!Ne(w)&&w>=a)&&l(p)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),h&&l(o.get(ut)),t){case"add":f?h&&l(o.get("length")):(l(o.get(Ve)),$e(e)&&l(o.get(Cs)));break;case"delete":f||(l(o.get(Ve)),$e(e)&&l(o.get(Cs)));break;case"set":$e(e)&&l(o.get(Ve));break}}vs()}function Qe(e){const t=j(e);return t===e?t:(k(t,"iterate",ut),_e(e)?t:t.map(Ke))}function Ts(e){return k(e=j(e),"iterate",ut),e}function ge(e,t){return Ue(e)?ht(ke(e)?Ke(t):t):Ke(t)}const ar={__proto__:null,[Symbol.iterator](){return As(this,Symbol.iterator,e=>ge(this,e))},concat(...e){return Qe(this).concat(...e.map(t=>O(t)?Qe(t):t))},entries(){return As(this,"entries",e=>(e[1]=ge(this,e[1]),e))},every(e,t){return Oe(this,"every",e,t,void 0,arguments)},filter(e,t){return Oe(this,"filter",e,t,s=>s.map(n=>ge(this,n)),arguments)},find(e,t){return Oe(this,"find",e,t,s=>ge(this,s),arguments)},findIndex(e,t){return Oe(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Oe(this,"findLast",e,t,s=>ge(this,s),arguments)},findLastIndex(e,t){return Oe(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Oe(this,"forEach",e,t,void 0,arguments)},includes(...e){return Es(this,"includes",e)},indexOf(...e){return Es(this,"indexOf",e)},join(e){return Qe(this).join(e)},lastIndexOf(...e){return Es(this,"lastIndexOf",e)},map(e,t){return Oe(this,"map",e,t,void 0,arguments)},pop(){return at(this,"pop")},push(...e){return at(this,"push",e)},reduce(e,...t){return vn(this,"reduce",e,t)},reduceRight(e,...t){return vn(this,"reduceRight",e,t)},shift(){return at(this,"shift")},some(e,t){return Oe(this,"some",e,t,void 0,arguments)},splice(...e){return at(this,"splice",e)},toReversed(){return Qe(this).toReversed()},toSorted(e){return Qe(this).toSorted(e)},toSpliced(...e){return Qe(this).toSpliced(...e)},unshift(...e){return at(this,"unshift",e)},values(){return As(this,"values",e=>ge(this,e))}};function As(e,t,s){const n=Ts(e),i=n[t]();return n!==e&&!_e(e)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.done||(r.value=s(r.value)),r}),i}const hr=Array.prototype;function Oe(e,t,s,n,i,r){const o=Ts(e),l=o!==e&&!_e(e),f=o[t];if(f!==hr[t]){const p=f.apply(e,r);return l?Ke(p):p}let h=s;o!==e&&(l?h=function(p,w){return s.call(this,ge(e,p),w,e)}:s.length>2&&(h=function(p,w){return s.call(this,p,w,e)}));const a=f.call(o,h,n);return l&&i?i(a):a}function vn(e,t,s,n){const i=Ts(e),r=i!==e&&!_e(e);let o=s,l=!1;i!==e&&(r?(l=n.length===0,o=function(h,a,p){return l&&(l=!1,h=ge(e,h)),s.call(this,h,ge(e,a),p,e)}):s.length>3&&(o=function(h,a,p){return s.call(this,h,a,p,e)}));const f=i[t](o,...n);return l?ge(e,f):f}function Es(e,t,s){const n=j(e);k(n,"iterate",ut);const i=n[t](...s);return(i===-1||i===!1)&&Ms(s[0])?(s[0]=j(s[0]),n[t](...s)):i}function at(e,t,s=[]){de(),ys();const n=j(e)[t].apply(e,s);return vs(),pe(),n}const dr=fs("__proto__,__v_isRef,__isVue"),xn=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ne));function pr(e){Ne(e)||(e=String(e));const t=j(this);return k(t,"has",e),t.hasOwnProperty(e)}class Sn{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return r;if(s==="__v_raw")return n===(i?r?Pn:En:r?An:Tn).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=O(t);if(!i){let f;if(o&&(f=ar[s]))return f;if(s==="hasOwnProperty")return pr}const l=Reflect.get(t,s,ee(t)?t:n);if((Ne(s)?xn.has(s):dr(s))||(i||k(t,"get",s),r))return l;if(ee(l)){const f=o&&ds(s)?l:l.value;return i&&B(f)?Rs(f):f}return B(l)?i?Rs(l):Os(l):l}}class wn extends Sn{constructor(t=!1){super(!1,t)}set(t,s,n,i){let r=t[s];const o=O(t)&&ds(s);if(!this._isShallow){const h=Ue(r);if(!_e(n)&&!Ue(n)&&(r=j(r),n=j(n)),!o&&ee(r)&&!ee(n))return h||(r.value=n),!0}const l=o?Number(s)e,Dt=e=>Reflect.getPrototypeOf(e);function yr(e,t,s){return function(...n){const i=this.__v_raw,r=j(i),o=$e(r),l=e==="entries"||e===Symbol.iterator&&o,f=e==="keys"&&o,h=i[e](...n),a=s?Ps:t?ht:Ke;return!t&&k(r,"iterate",f?Cs:Ve),J(Object.create(h),{next(){const{value:p,done:w}=h.next();return w?{value:p,done:w}:{value:l?[a(p[0]),a(p[1])]:a(p),done:w}}})}}function Ht(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function vr(e,t){const s={get(i){const r=this.__v_raw,o=j(r),l=j(i);e||(Ee(i,l)&&k(o,"get",i),k(o,"get",l));const{has:f}=Dt(o),h=t?Ps:e?ht:Ke;if(f.call(o,i))return h(r.get(i));if(f.call(o,l))return h(r.get(l));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!e&&k(j(i),"iterate",Ve),i.size},has(i){const r=this.__v_raw,o=j(r),l=j(i);return e||(Ee(i,l)&&k(o,"has",i),k(o,"has",l)),i===l?r.has(i):r.has(i)||r.has(l)},forEach(i,r){const o=this,l=o.__v_raw,f=j(l),h=t?Ps:e?ht:Ke;return!e&&k(f,"iterate",Ve),l.forEach((a,p)=>i.call(r,h(a),h(p),o))}};return J(s,e?{add:Ht("add"),set:Ht("set"),delete:Ht("delete"),clear:Ht("clear")}:{add(i){const r=j(this),o=Dt(r),l=j(i),f=!t&&!_e(i)&&!Ue(i)?l:i;return o.has.call(r,f)||Ee(i,f)&&o.has.call(r,i)||Ee(l,f)&&o.has.call(r,l)||(r.add(f),Pe(r,"add",f,f)),this},set(i,r){!t&&!_e(r)&&!Ue(r)&&(r=j(r));const o=j(this),{has:l,get:f}=Dt(o);let h=l.call(o,i);h||(i=j(i),h=l.call(o,i));const a=f.call(o,i);return o.set(i,r),h?Ee(r,a)&&Pe(o,"set",i,r):Pe(o,"add",i,r),this},delete(i){const r=j(this),{has:o,get:l}=Dt(r);let f=o.call(r,i);f||(i=j(i),f=o.call(r,i)),l&&l.call(r,i);const h=r.delete(i);return f&&Pe(r,"delete",i,void 0),h},clear(){const i=j(this),r=i.size!==0,o=i.clear();return r&&Pe(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=yr(i,e,t)}),s}function Lt(e,t){const s=vr(e,t);return(n,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(N(s,i)&&i in n?s:n,i,r)}const xr={get:Lt(!1,!1)},Sr={get:Lt(!1,!0)},wr={get:Lt(!0,!1)},Cr={get:Lt(!0,!0)},Tn=new WeakMap,An=new WeakMap,En=new WeakMap,Pn=new WeakMap;function Tr(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Os(e){return Ue(e)?e:$t(e,!1,gr,xr,Tn)}function Ar(e){return $t(e,!1,mr,Sr,An)}function Rs(e){return $t(e,!0,_r,wr,En)}function Hl(e){return $t(e,!0,br,Cr,Pn)}function $t(e,t,s,n,i){if(!B(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const r=i.get(e);if(r)return r;const o=Tr(Zi(e));if(o===0)return e;const l=new Proxy(e,o===2?n:s);return i.set(e,l),l}function ke(e){return Ue(e)?ke(e.__v_raw):!!(e&&e.__v_isReactive)}function Ue(e){return!!(e&&e.__v_isReadonly)}function _e(e){return!!(e&&e.__v_isShallow)}function Ms(e){return e?!!e.__v_raw:!1}function j(e){const t=e&&e.__v_raw;return t?j(t):e}function Er(e){return!N(e,"__v_skip")&&Object.isExtensible(e)&&rn(e,"__v_skip",!0),e}const Ke=e=>B(e)?Os(e):e,ht=e=>B(e)?Rs(e):e;function ee(e){return e?e.__v_isRef===!0:!1}function On(e){return ee(e)?e.value:e}const Pr={get:(e,t,s)=>t==="__v_raw"?e:On(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const i=e[t];return ee(i)&&!ee(s)?(i.value=s,!0):Reflect.set(e,t,s,n)}};function Rn(e){return ke(e)?e:new Proxy(e,Pr)}class Or{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new bn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ft-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&U!==this)return hn(this,!0),!0}get value(){const t=this.dep.track();return gn(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Rr(e,t,s=!1){let n,i;return R(e)?n=e:(n=e.get,i=e.set),new Or(n,i,s)}const Vt={},Ut=new WeakMap;let Be;function Mr(e,t=!1,s=Be){if(s){let n=Ut.get(s);n||Ut.set(s,n=[]),n.push(e)}}function Ir(e,t,s=V){const{immediate:n,deep:i,once:r,scheduler:o,augmentJob:l,call:f}=s,h=E=>i?E:_e(E)||i===!1||i===0?je(E,1):je(E);let a,p,w,C,D=!1,M=!1;if(ee(e)?(p=()=>e.value,D=_e(e)):ke(e)?(p=()=>h(e),D=!0):O(e)?(M=!0,D=e.some(E=>ke(E)||_e(E)),p=()=>e.map(E=>{if(ee(E))return E.value;if(ke(E))return h(E);if(R(E))return f?f(E,2):E()})):R(e)?t?p=f?()=>f(e,2):e:p=()=>{if(w){de();try{w()}finally{pe()}}const E=Be;Be=a;try{return f?f(e,3,[C]):e(C)}finally{Be=E}}:p=he,t&&i){const E=p,X=i===!0?1/0:i;p=()=>je(E(),X)}const z=cr(),W=()=>{a.stop(),z&&z.active&&us(z.effects,a)};if(r&&t){const E=t;t=(...X)=>{const xe=E(...X);return W(),xe}}let F=M?new Array(e.length).fill(Vt):Vt;const H=E=>{if(!(!(a.flags&1)||!a.dirty&&!E))if(t){const X=a.run();if(E||i||D||(M?X.some((xe,Se)=>Ee(xe,F[Se])):Ee(X,F))){w&&w();const xe=Be;Be=a;try{const Se=[X,F===Vt?void 0:M&&F[0]===Vt?[]:F,C];F=X,f?f(t,3,Se):t(...Se)}finally{Be=xe}}}else a.run()};return l&&l(H),a=new un(p),a.scheduler=o?()=>o(H,!1):H,C=E=>Mr(E,!1,a),w=a.onStop=()=>{const E=Ut.get(a);if(E){if(f)f(E,4);else for(const X of E)X();Ut.delete(a)}},t?n?H(!0):F=a.run():o?o(H.bind(null,!0),!0):a.run(),W.pause=a.pause.bind(a),W.resume=a.resume.bind(a),W.stop=W,W}function je(e,t=1/0,s){if(t<=0||!B(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,ee(e))je(e.value,t,s);else if(O(e))for(let n=0;n{je(n,t,s)});else if(hs(e)){for(const n in e)je(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&je(e[n],t,s)}return e}/** +* @vue/runtime-core v3.5.42 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const dt=[];let Is=!1;function Ll(e,...t){if(Is)return;Is=!0,de();const s=dt.length?dt[dt.length-1].component:null,n=s&&s.appContext.config.warnHandler,i=Fr();if(n)et(n,s,11,[e+t.map(r=>{var o,l;return(l=(o=r.toString)==null?void 0:o.call(r))!=null?l:JSON.stringify(r)}).join(""),s&&s.proxy,i.map(({vnode:r})=>`at <${Pi(s,r.type)}>`).join(` +`),i]);else{const r=[`[Vue warn]: ${e}`,...t];i.length&&r.push(` +`,...Nr(i)),console.warn(...r)}pe(),Is=!1}function Fr(){let e=dt[dt.length-1];if(!e)return[];const t=[];for(;e;){const s=t[0];s&&s.vnode===e?s.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}function Nr(e){const t=[];return e.forEach((s,n)=>{t.push(...n===0?[]:[` +`],...jr(s))}),t}function jr({vnode:e,recurseCount:t}){const s=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,i=` at <${Pi(e.component,e.type,n)}`,r=">"+s;return e.props?[i,...Dr(e.props),r]:[i+r]}function Dr(e){const t=[],s=Object.keys(e);return s.slice(0,3).forEach(n=>{t.push(...Mn(n,e[n]))}),s.length>3&&t.push(" ..."),t}function Mn(e,t,s){return G(t)?(t=JSON.stringify(t),s?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?s?t:[`${e}=${t}`]:ee(t)?(t=Mn(e,j(t.value),!0),s?t:[`${e}=Ref<`,t,">"]):R(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=j(t),s?t:[`${e}=`,t])}function et(e,t,s,n){try{return n?e(...n):e()}catch(i){Kt(i,t,s)}}function ae(e,t,s,n){if(R(e)){const i=et(e,t,s,n);return i&&sn(i)&&i.catch(r=>{Kt(r,t,s)}),i}if(O(e)){const i=[];for(let r=0;r>>1,i=te[n],r=pt(i);r=pt(s)?te.push(e):te.splice(Lr(t),0,e),e.flags|=1,Nn()}}function Nn(){Bt||(Bt=In.then(Hn))}function $r(e){if(!O(e))De&&e.id===-1?De.splice(st+1,0,e):e.flags&1||(tt.push(e),e.flags|=1);else for(let t=0;tpt(s)-pt(n));if(tt.length=0,De){for(let s=0;se.id==null?e.flags&2?-1:1/0:e.id;function Hn(e){try{for(me=0;me{n._d&&vi(-1);const r=Wt(t),o=Je.length;let l;try{l=e(...i)}finally{for(let f=Je.length;f>o;f--)yi();Wt(r),n._d&&vi(1)}return l};return n._n=!0,n._c=!0,n._d=!0,n}function We(e,t,s,n){const i=e.dirs,r=t&&t.dirs;for(let o=0;o1)return s&&R(t)?t.call(n&&n.proxy):t}}const Kr=Symbol.for("v-scx"),Br=()=>qt(Kr);function Ns(e,t,s){return $n(e,t,s)}function $n(e,t,s=V){const{immediate:n,deep:i,flush:r,once:o}=s,l=J({},s),f=t&&n||!t&&r!=="post";let h;if(wt){if(r==="sync"){const C=Br();h=C.__watcherHandles||(C.__watcherHandles=[])}else if(!f){const C=()=>{};return C.stop=he,C.resume=he,C.pause=he,C}}const a=ne;l.call=(C,D,M)=>ae(C,a,D,M);let p=!1;r==="post"?l.scheduler=C=>{oe(C,a&&a.suspense)}:r!=="sync"&&(p=!0,l.scheduler=(C,D)=>{D?C():Fs(C)}),l.augmentJob=C=>{t&&(C.flags|=4),p&&(C.flags|=2,a&&(C.id=a.uid,C.i=a))};const w=Ir(e,t,l);return wt&&(h?h.push(w):f&&w()),w}function Wr(e,t,s){const n=this.proxy,i=G(e)?e.includes(".")?Vn(n,e):()=>n[e]:e.bind(n,n);let r;R(t)?r=t:(r=t.handler,s=t);const o=St(this),l=$n(i,r.bind(n),s);return o(),l}function Vn(e,t){const s=t.split(".");return()=>{let n=e;for(let i=0;ie.__isTeleport,js=Symbol("_leaveCb");function Gr(e){let t=e[0];if(e.length>1){for(const s of e)if(s.type!==Ge){t=s;break}}return t}function Un(e){if(!Hs(e))return Gt(e.type)&&e.children?Gr(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:s}=e;if(s){if(t&16)return s[0];if(t&32&&R(s.default))return s.default()}}function Ds(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const s=e.component.subTree;Ds(Gt(s.type)&&Un(s)||s,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Jr(e,t){return R(e)?J({name:e.name},t,{setup:e}):e}function Kn(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Bn(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const Jt=new WeakMap;function gt(e,t,s,n,i=!1){if(O(e)){e.forEach((M,z)=>gt(M,t&&(O(t)?t[z]:t),s,n,i));return}if(_t(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&>(e,t,s,n.component.subTree);return}const r=n.shapeFlag&4?Js(n.component):n.el,o=i?null:r,{i:l,r:f}=e,h=t&&t.r,a=l.refs===V?l.refs={}:l.refs,p=l.setupState,w=j(p),C=p===V?en:M=>Bn(a,M)?!1:N(w,M),D=(M,z)=>!(z&&Bn(a,z));if(h!=null&&h!==f){if(Wn(t),G(h))a[h]=null,C(h)&&(p[h]=null);else if(ee(h)){const M=t;D(h,M.k)&&(h.value=null),M.k&&(a[M.k]=null)}}if(R(f))et(f,l,12,[o,a]);else{const M=G(f),z=ee(f);if(M||z){const W=()=>{if(e.f){const F=M?C(f)?p[f]:a[f]:D()||!e.k?f.value:a[e.k];if(i)O(F)&&us(F,r);else if(O(F))F.includes(r)||F.push(r);else if(M)a[f]=[r],C(f)&&(p[f]=a[f]);else{const H=[r];D(f,e.k)&&(f.value=H),e.k&&(a[e.k]=H)}}else M?(a[f]=o,C(f)&&(p[f]=o)):z&&(D(f,e.k)&&(f.value=o),e.k&&(a[e.k]=o))};if(o){const F=()=>{W(),Jt.delete(e)};F.id=-1,Jt.set(e,F),oe(F,s)}else Wn(e),W()}}}function Wn(e){const t=Jt.get(e);t&&(t.flags|=8,Jt.delete(e))}Nt().requestIdleCallback,Nt().cancelIdleCallback;const _t=e=>!!e.type.__asyncLoader,Hs=e=>e.type.__isKeepAlive;function zr(e,t){qn(e,"a",t)}function Yr(e,t){qn(e,"da",t)}function qn(e,t,s=ne){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(zt(t,n,s),s){let i=s.parent;for(;i&&i.parent;)Hs(i.parent.vnode)&&Xr(n,t,s,i),i=i.parent}}function Xr(e,t,s,n){const i=zt(t,e,n,!0);Jn(()=>{us(n[t],i)},s)}function zt(e,t,s=ne,n=!1){if(s){const i=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...o)=>{de();const l=St(s),f=ae(t,s,e,o);return l(),pe(),f});return n?i.unshift(r):i.push(r),r}}const Re=e=>(t,s=ne)=>{(!wt||e==="sp")&&zt(e,(...n)=>t(...n),s)},Zr=Re("bm"),Gn=Re("m"),Qr=Re("bu"),kr=Re("u"),eo=Re("bum"),Jn=Re("um"),to=Re("sp"),so=Re("rtg"),no=Re("rtc");function io(e,t=ne){zt("ec",e,t)}const ro=Symbol.for("v-ndc"),Ls=e=>e?Ti(e)?Js(e):Ls(e.parent):null,mt=J(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=>Ls(e.parent),$root:e=>Ls(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Zn(e),$forceUpdate:e=>e.f||(e.f=()=>{Fs(e.update)}),$nextTick:e=>e.n||(e.n=Fn.bind(e.proxy)),$watch:e=>Wr.bind(e)}),$s=(e,t)=>e!==V&&!e.__isScriptSetup&&N(e,t),oo={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:r,accessCache:o,type:l,appContext:f}=e;if(t[0]!=="$"){const w=o[t];if(w!==void 0)switch(w){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return r[t]}else{if($s(n,t))return o[t]=1,n[t];if(i!==V&&N(i,t))return o[t]=2,i[t];if(N(r,t))return o[t]=3,r[t];if(s!==V&&N(s,t))return o[t]=4,s[t];Vs&&(o[t]=0)}}const h=mt[t];let a,p;if(h)return t==="$attrs"&&k(e.attrs,"get",""),h(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(s!==V&&N(s,t))return o[t]=4,s[t];if(p=f.config.globalProperties,N(p,t))return p[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:r}=e;return $s(i,t)?(i[t]=s,!0):n!==V&&N(n,t)?(n[t]=s,!0):N(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:i,props:r,type:o}},l){let f;return!!(s[l]||e!==V&&l[0]!=="$"&&N(e,l)||$s(t,l)||N(r,l)||N(n,l)||N(mt,l)||N(i.config.globalProperties,l)||(f=o.__cssModules)&&f[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:N(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function zn(e){return O(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Vs=!0;function lo(e){const t=Zn(e),s=e.proxy,n=e.ctx;Vs=!1,t.beforeCreate&&Yn(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:l,provide:f,inject:h,created:a,beforeMount:p,mounted:w,beforeUpdate:C,updated:D,activated:M,deactivated:z,beforeDestroy:W,beforeUnmount:F,destroyed:H,unmounted:E,render:X,renderTracked:xe,renderTriggered:Se,errorCaptured:Le,serverPrefetch:ns,expose:ze,inheritAttrs:Et,components:is,directives:rs,filters:Qs}=t;if(h&&co(h,n,null),o)for(const q in o){const K=o[q];R(K)&&(n[q]=K.bind(s))}if(i){const q=i.call(s,s);B(q)&&(e.data=Os(q))}if(Vs=!0,r)for(const q in r){const K=r[q],Ye=R(K)?K.bind(s,s):R(K.get)?K.get.bind(s,s):he,os=!R(K)&&R(K.set)?K.set.bind(s):he,Xe=Ct({get:Ye,set:os});Object.defineProperty(n,q,{enumerable:!0,configurable:!0,get:()=>Xe.value,set:we=>Xe.value=we})}if(l)for(const q in l)Xn(l[q],n,s,q);if(f){const q=R(f)?f.call(s):f;Reflect.ownKeys(q).forEach(K=>{Ur(K,q[K])})}a&&Yn(a,e,"c");function ie(q,K){O(K)?K.forEach(Ye=>q(Ye.bind(s))):K&&q(K.bind(s))}if(ie(Zr,p),ie(Gn,w),ie(Qr,C),ie(kr,D),ie(zr,M),ie(Yr,z),ie(io,Le),ie(no,xe),ie(so,Se),ie(eo,F),ie(Jn,E),ie(to,ns),O(ze))if(ze.length){const q=e.exposed||(e.exposed={});ze.forEach(K=>{Object.defineProperty(q,K,{get:()=>s[K],set:Ye=>s[K]=Ye,enumerable:!0})})}else e.exposed||(e.exposed={});X&&e.render===he&&(e.render=X),Et!=null&&(e.inheritAttrs=Et),is&&(e.components=is),rs&&(e.directives=rs),ns&&Kn(e)}function co(e,t,s=he){O(e)&&(e=Us(e));for(const n in e){const i=e[n];let r;B(i)?"default"in i?r=qt(i.from||n,i.default,!0):r=qt(i.from||n):r=qt(i),ee(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[n]=r}}function Yn(e,t,s){ae(O(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Xn(e,t,s,n){let i=n.includes(".")?Vn(s,n):()=>s[n];if(G(e)){const r=t[e];R(r)&&Ns(i,r)}else if(R(e))Ns(i,e.bind(s));else if(B(e))if(O(e))e.forEach(r=>Xn(r,t,s,n));else{const r=R(e.handler)?e.handler.bind(s):t[e.handler];R(r)&&Ns(i,r,e)}}function Zn(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let f;return l?f=l:!i.length&&!s&&!n?f=t:(f={},i.length&&i.forEach(h=>Yt(f,h,o,!0)),Yt(f,t,o)),B(t)&&r.set(t,f),f}function Yt(e,t,s,n=!1){const{mixins:i,extends:r}=t;r&&Yt(e,r,s,!0),i&&i.forEach(o=>Yt(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const l=fo[o]||s&&s[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const fo={data:Qn,props:kn,emits:kn,methods:bt,computed:bt,beforeCreate:se,created:se,beforeMount:se,mounted:se,beforeUpdate:se,updated:se,beforeDestroy:se,beforeUnmount:se,destroyed:se,unmounted:se,activated:se,deactivated:se,errorCaptured:se,serverPrefetch:se,components:bt,directives:bt,watch:ao,provide:Qn,inject:uo};function Qn(e,t){return t?e?function(){return J(R(e)?e.call(this,this):e,R(t)?t.call(this,this):t)}:t:e}function uo(e,t){return bt(Us(e),Us(t))}function Us(e){if(O(e)){const t={};for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${re(t)}Modifiers`]||e[`${fe(t)}Modifiers`];function _o(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||V;let i=s;const r=t.startsWith("update:"),o=r&&go(n,t.slice(7));o&&(o.trim&&(i=s.map(a=>G(a)?a.trim():a)),o.number&&(i=i.map(er)));let l,f=n[l=ps(t)]||n[l=ps(re(t))];!f&&r&&(f=n[l=ps(fe(t))]),f&&ae(f,e,6,i);const h=n[l+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ae(h,e,6,i)}}const mo=new WeakMap;function ti(e,t,s=!1){const n=s?mo:t.emitsCache,i=n.get(e);if(i!==void 0)return i;const r=e.emits;let o={},l=!1;if(!R(e)){const f=h=>{const a=ti(h,t,!0);a&&(l=!0,J(o,a))};!s&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!r&&!l?(B(e)&&n.set(e,null),null):(O(r)?r.forEach(f=>o[f]=null):J(o,r),B(e)&&n.set(e,o),o)}function Xt(e,t){return!e||!Mt(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),N(e,t[0].toLowerCase()+t.slice(1))||N(e,fe(t))||N(e,t))}function $l(){}function si(e){const{type:t,vnode:s,proxy:n,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:f,render:h,renderCache:a,props:p,data:w,setupState:C,ctx:D,inheritAttrs:M}=e,z=Wt(e);let W,F;try{if(s.shapeFlag&4){const E=i||n,X=E;W=ye(h.call(X,E,a,p,C,w,D)),F=l}else{const E=t;W=ye(E.length>1?E(p,{attrs:l,slots:o,emit:f}):E(p,null)),F=t.props?l:bo(l)}}catch(E){Je.length=0,Kt(E,e,1),W=He(Ge)}let H=W;if(F&&M!==!1){const E=Object.keys(F),{shapeFlag:X}=H;E.length&&X&7&&(r&&E.some(It)&&(F=yo(F,r)),H=it(H,F,!1,!0))}if(s.dirs&&(H=it(H,null,!1,!0),H.dirs=H.dirs?H.dirs.concat(s.dirs):s.dirs),s.transition){const E=Gt(H.type)&&Un(H)||H;Ds(E,s.transition)}return W=H,Wt(z),W}const bo=e=>{let t;for(const s in e)(s==="class"||s==="style"||Mt(s))&&((t||(t={}))[s]=e[s]);return t},yo=(e,t)=>{const s={};for(const n in e)(!It(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function vo(e,t,s){const{props:n,children:i,component:r}=e,{props:o,children:l,patchFlag:f}=t,h=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&f>=0){if(f&1024)return!0;if(f&16)return n?ni(n,o,h):!!o;if(f&8){const a=t.dynamicProps;for(let p=0;pObject.create(ri),li=e=>Object.getPrototypeOf(e)===ri;function So(e,t,s,n=!1){const i={},r=oi();e.propsDefaults=Object.create(null),ci(e,t,i,r);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);s?e.props=n?i:Ar(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function wo(e,t,s,n){const{props:i,attrs:r,vnode:{patchFlag:o}}=e,l=j(i),[f]=e.propsOptions;let h=!1;if((n||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let p=0;p{f=!0;const[w,C]=fi(p,t,!0);J(o,w),C&&l.push(...C)};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!r&&!f)return B(e)&&n.set(e,Ze),Ze;if(O(r))for(let a=0;ae==="_"||e==="_ctx"||e==="$stable",Ws=e=>O(e)?e.map(ye):[ye(e)],To=(e,t,s)=>{if(t._n)return t;const n=Vr((...i)=>Ws(t(...i)),s);return n._c=!1,n},ai=(e,t,s)=>{const n=e._ctx;for(const i in e){if(Bs(i))continue;const r=e[i];if(R(r))t[i]=To(i,r,n);else if(r!=null){const o=Ws(r);t[i]=()=>o}}},hi=(e,t)=>{const s=Ws(t);e.slots.default=()=>s},di=(e,t,s)=>{for(const n in t)(s||!Bs(n))&&(e[n]=t[n])},Ao=(e,t,s)=>{const n=e.slots=oi();if(e.vnode.shapeFlag&32){const i=t._;i?(di(n,t,s),s&&rn(n,"_",i,!0)):ai(t,n)}else t&&hi(e,t)},Eo=(e,t,s)=>{const{vnode:n,slots:i}=e;let r=!0,o=V;if(n.shapeFlag&32){const l=t._;l?s&&l===1?r=!1:di(i,t,s):(r=!t.$stable,ai(t,i)),o=t}else t&&(hi(e,t),o={default:1});if(r)for(const l in i)!Bs(l)&&o[l]==null&&delete i[l]},oe=Io;function Po(e){return Oo(e)}function Oo(e,t){const s=Nt();s.__VUE__=!0;const{insert:n,remove:i,patchProp:r,createElement:o,createText:l,createComment:f,setText:h,setElementText:a,parentNode:p,nextSibling:w,setScopeId:C=he,insertStaticContent:D}=e,M=(c,u,d,b=null,m=null,g=null,x=void 0,v=null,y=!!u.dynamicChildren)=>{if(c===u)return;c&&!vt(c,u)&&(b=ls(c),we(c,m,g,!0),c=null),u.patchFlag===-2&&(y=!1,u.dynamicChildren=null);const{type:_,ref:A,shapeFlag:S}=u;switch(_){case Zt:z(c,u,d,b);break;case Ge:W(c,u,d,b);break;case Gs:c==null&&F(u,d,b,x);break;case Me:is(c,u,d,b,m,g,x,v,y);break;default:S&1?X(c,u,d,b,m,g,x,v,y):S&6?rs(c,u,d,b,m,g,x,v,y):(S&64||S&128)&&_.process(c,u,d,b,m,g,x,v,y,Ot)}A!=null&&m?gt(A,c&&c.ref,g,u||c,!u):A==null&&c&&c.ref!=null&>(c.ref,null,g,c,!0)},z=(c,u,d,b)=>{if(c==null)n(u.el=l(u.children),d,b);else{const m=u.el=c.el;u.children!==c.children&&h(m,u.children)}},W=(c,u,d,b)=>{c==null?n(u.el=f(u.children||""),d,b):u.el=c.el},F=(c,u,d,b)=>{[c.el,c.anchor]=D(c.children,u,d,b,c.el,c.anchor)},H=({el:c,anchor:u},d,b)=>{let m;for(;c&&c!==u;)m=w(c),n(c,d,b),c=m;n(u,d,b)},E=({el:c,anchor:u})=>{let d;for(;c&&c!==u;)d=w(c),i(c),c=d;i(u)},X=(c,u,d,b,m,g,x,v,y)=>{if(u.type==="svg"?x="svg":u.type==="math"&&(x="mathml"),c==null)xe(u,d,b,m,g,x,v,y);else{const _=c.el&&c.el._isVueCE?c.el:null;try{_&&_._beginPatch(),ns(c,u,m,g,x,v,y)}finally{_&&_._endPatch()}}},xe=(c,u,d,b,m,g,x,v)=>{let y,_;const{props:A,shapeFlag:S,transition:T,dirs:P}=c;if(y=c.el=o(c.type,g,A&&A.is,A),S&8?a(y,c.children):S&16&&Le(c.children,y,null,b,m,qs(c,g),x,v),P&&We(c,null,b,"created"),Se(y,c,c.scopeId,x,b),A){for(const $ in A)$!=="value"&&!ot($)&&r(y,$,null,A[$],g,b);"value"in A&&r(y,"value",null,A.value,g),(_=A.onVnodeBeforeMount)&&ve(_,b,c)}P&&We(c,null,b,"beforeMount");const I=Ro(m,T);I&&T.beforeEnter(y),n(y,u,d),((_=A&&A.onVnodeMounted)||I||P)&&oe(()=>{try{_&&ve(_,b,c),I&&T.enter(y),P&&We(c,null,b,"mounted")}finally{}},m)},Se=(c,u,d,b,m)=>{if(d&&C(c,d),b)for(let g=0;g{for(let _=y;_{const v=u.el=c.el;let{patchFlag:y,dynamicChildren:_,dirs:A}=u;y|=c.patchFlag&16;const S=c.props||V,T=u.props||V;let P;if(d&&qe(d,!1),(P=T.onVnodeBeforeUpdate)&&ve(P,d,u,c),A&&We(u,c,d,"beforeUpdate"),d&&qe(d,!0),_&&(!c.dynamicChildren||c.dynamicChildren.length!==_.length)&&(y=0,x=!1,_=null),(S.innerHTML&&T.innerHTML==null||S.textContent&&T.textContent==null)&&a(v,""),_?ze(c.dynamicChildren,_,v,d,b,qs(u,m),g):x||K(c,u,v,null,d,b,qs(u,m),g,!1),y>0){if(y&16)Et(v,S,T,d,m);else if(y&2&&S.class!==T.class&&r(v,"class",null,T.class,m),y&4&&r(v,"style",S.style,T.style,m),y&8){const I=u.dynamicProps;for(let $=0;${P&&ve(P,d,u,c),A&&We(u,c,d,"updated")},b)},ze=(c,u,d,b,m,g,x)=>{for(let v=0;v{if(u!==d){if(u!==V)for(const g in u)!ot(g)&&!(g in d)&&r(c,g,u[g],null,m,b);for(const g in d){if(ot(g))continue;const x=d[g],v=u[g];x!==v&&g!=="value"&&r(c,g,v,x,m,b)}"value"in d&&r(c,"value",u.value,d.value,m)}},is=(c,u,d,b,m,g,x,v,y)=>{const _=u.el=c?c.el:l(""),A=u.anchor=c?c.anchor:l("");let{patchFlag:S,dynamicChildren:T,slotScopeIds:P}=u;P&&(v=v?v.concat(P):P),c==null?(n(_,d,b),n(A,d,b),Le(u.children||[],d,A,m,g,x,v,y)):S>0&&S&64&&T&&c.dynamicChildren&&c.dynamicChildren.length===T.length?(ze(c.dynamicChildren,T,d,m,g,x,v),(u.key!=null||m&&u===m.subTree)&&pi(c,u,!0)):K(c,u,d,A,m,g,x,v,y)},rs=(c,u,d,b,m,g,x,v,y)=>{u.slotScopeIds=v,c==null?u.shapeFlag&512?m.ctx.activate(u,d,b,x,y):Qs(u,d,b,m,g,x,y):Bi(c,u,y)},Qs=(c,u,d,b,m,g,x)=>{const v=c.component=Ko(c,b,m);if(Hs(c)&&(v.ctx.renderer=Ot),Bo(v,!1,x),v.asyncDep){if(m&&m.registerDep(v,ie,x),!c.el){const y=v.subTree=He(Ge);W(null,y,u,d),c.placeholder=y.el}}else ie(v,c,u,d,m,g,x)},Bi=(c,u,d)=>{const b=u.component=c.component;if(vo(c,u,d))if(b.asyncDep&&!b.asyncResolved){q(b,u,d);return}else b.next=u,b.update();else u.el=c.el,b.vnode=u},ie=(c,u,d,b,m,g,x)=>{const v=()=>{if(c.isMounted){let{next:S,bu:T,u:P,parent:I,vnode:$}=c;{const Te=gi(c);if(Te){S&&(S.el=$.el,q(c,S,x)),Te.asyncDep.then(()=>{oe(()=>{c.isUnmounted||_()},m)});return}}let L=S,Y;qe(c,!1),S?(S.el=$.el,q(c,S,x)):S=$,T&&gs(T),(Y=S.props&&S.props.onVnodeBeforeUpdate)&&ve(Y,I,S,$),qe(c,!0);const Q=si(c),Ce=c.subTree;c.subTree=Q,M(Ce,Q,p(Ce.el),ls(Ce),c,m,g),S.el=Q.el,L===null&&xo(c,Q.el),P&&oe(P,m),(Y=S.props&&S.props.onVnodeUpdated)&&oe(()=>ve(Y,I,S,$),m)}else{let S;const{el:T,props:P}=u,{bm:I,m:$,parent:L,root:Y,type:Q}=c,Ce=_t(u);qe(c,!1),I&&gs(I),!Ce&&(S=P&&P.onVnodeBeforeMount)&&ve(S,L,u),qe(c,!0);{Y.ce&&Y.ce._hasShadowRoot()&&Y.ce._injectChildStyle(Q,c.parent?c.parent.type:void 0);const Te=c.subTree=si(c);M(null,Te,d,b,c,m,g),u.el=Te.el}if($&&oe($,m),!Ce&&(S=P&&P.onVnodeMounted)){const Te=u;oe(()=>ve(S,L,Te),m)}(u.shapeFlag&256||L&&_t(L.vnode)&&L.vnode.shapeFlag&256)&&c.a&&oe(c.a,m),c.isMounted=!0,u=d=b=null}};c.scope.on();const y=c.effect=new un(v);c.scope.off();const _=c.update=y.run.bind(y),A=c.job=y.runIfDirty.bind(y);A.i=c,A.id=c.uid,y.scheduler=()=>Fs(A),qe(c,!0),_()},q=(c,u,d)=>{u.component=c;const b=c.vnode.props;c.vnode=u,c.next=null,wo(c,u.props,b,d),Eo(c,u.children,d),de(),jn(c),pe()},K=(c,u,d,b,m,g,x,v,y=!1)=>{const _=c&&c.children,A=c?c.shapeFlag:0,S=u.children,{patchFlag:T,shapeFlag:P}=u;if(T>0){if(T&128){os(_,S,d,b,m,g,x,v,y);return}else if(T&256){Ye(_,S,d,b,m,g,x,v,y);return}}P&8?(A&16&&Pt(_,m,g),S!==_&&a(d,S)):A&16?P&16?os(_,S,d,b,m,g,x,v,y):Pt(_,m,g,!0):(A&8&&a(d,""),P&16&&Le(S,d,b,m,g,x,v,y))},Ye=(c,u,d,b,m,g,x,v,y)=>{c=c||Ze,u=u||Ze;const _=c.length,A=u.length,S=Math.min(_,A);let T;for(T=0;TA?Pt(c,m,g,!0,!1,S):Le(u,d,b,m,g,x,v,y,S)},os=(c,u,d,b,m,g,x,v,y)=>{let _=0;const A=u.length;let S=c.length-1,T=A-1;for(;_<=S&&_<=T;){const P=c[_],I=u[_]=y?Ie(u[_]):ye(u[_]);if(vt(P,I))M(P,I,d,null,m,g,x,v,y);else break;_++}for(;_<=S&&_<=T;){const P=c[S],I=u[T]=y?Ie(u[T]):ye(u[T]);if(vt(P,I))M(P,I,d,null,m,g,x,v,y);else break;S--,T--}if(_>S){if(_<=T){const P=T+1,I=PT)for(;_<=S;)we(c[_],m,g,!0),_++;else{const P=_,I=_,$=new Map;for(_=I;_<=T;_++){const ce=u[_]=y?Ie(u[_]):ye(u[_]);ce.key!=null&&$.set(ce.key,_)}let L,Y=0;const Q=T-I+1;let Ce=!1,Te=0;const Rt=new Array(Q);for(_=0;_=Q){we(ce,m,g,!0);continue}let Ae;if(ce.key!=null)Ae=$.get(ce.key);else for(L=I;L<=T;L++)if(Rt[L-I]===0&&vt(ce,u[L])){Ae=L;break}Ae===void 0?we(ce,m,g,!0):(Rt[Ae-I]=_+1,Ae>=Te?Te=Ae:Ce=!0,M(ce,u[Ae],d,null,m,g,x,v,y),Y++)}const Gi=Ce?Mo(Rt):Ze;for(L=Gi.length-1,_=Q-1;_>=0;_--){const ce=I+_,Ae=u[ce],Ji=u[ce+1],zi=ce+1{const{el:g,type:x,transition:v,children:y,shapeFlag:_}=c;if(_&6){Xe(c.component.subTree,u,d,b);return}if(_&128){c.suspense.move(u,d,b);return}if(_&64){x.move(c,u,d,Ot);return}if(x===Me){n(g,u,d);for(let S=0;Sv.enter(g),m));else{const{leave:S,delayLeave:T,afterLeave:P}=v,I=()=>{c.ctx.isUnmounted?i(g):n(g,u,d)},$=()=>{const L=g._isLeaving||!!g[js];g._isLeaving&&g[js](!0),v.persisted&&!L?I():S(g,()=>{I(),P&&P()})};T?T(g,I,$):$()}else n(g,u,d)},we=(c,u,d,b=!1,m=!1)=>{const{type:g,props:x,ref:v,children:y,dynamicChildren:_,shapeFlag:A,patchFlag:S,dirs:T,cacheIndex:P,memo:I}=c;if(S===-2&&(m=!1),v!=null&&(de(),gt(v,null,d,c,!0),pe()),P!=null&&(u.renderCache[P]=void 0),A&256){u.ctx.deactivate(c);return}const $=A&1&&T,L=!_t(c);let Y;if(L&&(Y=x&&x.onVnodeBeforeUnmount)&&ve(Y,u,c),A&6)jl(c.component,d,b);else{if(A&128){c.suspense.unmount(d,b);return}$&&We(c,null,u,"beforeUnmount"),A&64?c.type.remove(c,u,d,Ot,b):_&&!_.hasOnce&&(g!==Me||S>0&&S&64)?Pt(_,u,d,!1,!0):(g===Me&&S&384||!m&&A&16)&&Pt(y,u,d),b&&Wi(c)}const Q=I!=null&&P==null;(L&&(Y=x&&x.onVnodeUnmounted)||$||Q)&&oe(()=>{Y&&ve(Y,u,c),$&&We(c,null,u,"unmounted"),Q&&(c.el=null)},d)},Wi=c=>{const{type:u,el:d,anchor:b,transition:m}=c;if(u===Me){Nl(d,b);return}if(u===Gs){E(c);return}const g=()=>{i(d),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(c.shapeFlag&1&&m&&!m.persisted){const{leave:x,delayLeave:v}=m,y=()=>x(d,g);v?v(c.el,g,y):y()}else g()},Nl=(c,u)=>{let d;for(;c!==u;)d=w(c),i(c),c=d;i(u)},jl=(c,u,d)=>{const{bum:b,scope:m,job:g,subTree:x,um:v,m:y,a:_}=c;_i(y),_i(_),b&&gs(b),m.stop(),g&&(g.flags|=8,we(x,c,u,d)),v&&oe(v,u),oe(()=>{c.isUnmounted=!0},u)},Pt=(c,u,d,b=!1,m=!1,g=0)=>{for(let x=g;x{if(c.shapeFlag&6)return ls(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const u=w(c.anchor||c.el),d=u&&u[qr];return d?w(d):u};let ks=!1;const qi=(c,u,d)=>{let b;c==null?u._vnode&&(we(u._vnode,null,null,!0),b=u._vnode.component):M(u._vnode||null,c,u,null,null,null,d),u._vnode=c,ks||(ks=!0,jn(b),Dn(),ks=!1)},Ot={p:M,um:we,m:Xe,r:Wi,mt:Qs,mc:Le,pc:K,pbc:ze,n:ls,o:e};return{render:qi,hydrate:void 0,createApp:po(qi)}}function qs({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function qe({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ro(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function pi(e,t,s=!1){const n=e.children,i=t.children;if(O(n)&&O(i))for(let r=0;r>1,e[s[l]]0&&(t[n]=s[r-1]),s[r]=n)}}for(r=s.length,o=s[r-1];r-- >0;)s[r]=o,o=t[o];return s}function gi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:gi(t)}function _i(e){if(e)for(let t=0;te.__isSuspense;function Io(e,t){t&&t.pendingBranch?O(e)?t.effects.push(...e):t.effects.push(e):$r(e)}const Me=Symbol.for("v-fgt"),Zt=Symbol.for("v-txt"),Ge=Symbol.for("v-cmt"),Gs=Symbol.for("v-stc"),Je=[];let le=null;function Fo(e=!1){Je.push(le=e?null:[])}function yi(){Je.pop(),le=Je[Je.length-1]||null}let yt=1;function vi(e,t=!1){yt+=e,e<0&&le&&t&&(le.hasOnce=!0)}function No(e){return e.dynamicChildren=yt>0?le||Ze:null,yi(),yt>0&&le&&le.push(e),e}function jo(e,t,s,n,i,r){return No(kt(e,t,s,n,i,r,!0))}function xi(e){return e?e.__v_isVNode===!0:!1}function vt(e,t){return e.type===t.type&&e.key===t.key}const Si=({key:e})=>e??null,Qt=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?G(e)||ee(e)||R(e)?{i:be,r:e,k:t,f:!!s}:e:null);function kt(e,t=null,s=null,n=0,i=null,r=e===Me?0:1,o=!1,l=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Si(t),ref:t&&Qt(t),scopeId:Ln,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:be};return l?(es(f,s),r&128&&e.normalize(f)):s&&(f.shapeFlag|=G(s)?8:16),yt>0&&!o&&le&&(f.patchFlag>0||r&6)&&f.patchFlag!==32&&le.push(f),f}const He=Do;function Do(e,t=null,s=null,n=0,i=null,r=!1){if((!e||e===ro)&&(e=Ge),xi(e)){const l=it(e,t,!0);return s&&es(l,s),yt>0&&!r&&le&&(l.shapeFlag&6?le[le.indexOf(e)]=l:le.push(l)),l.patchFlag=-2,l}if(Xo(e)&&(e=e.__vccOpts),t){t=Ho(t);let{class:l,style:f}=t;l&&!G(l)&&(t.class=ms(l)),B(f)&&(Ms(f)&&!O(f)&&(f=J({},f)),t.style=_s(f))}const o=G(e)?1:bi(e)?128:Gt(e)?64:B(e)?4:R(e)?2:0;return kt(e,t,s,n,i,o,r,!0)}function Ho(e){return e?Ms(e)||li(e)?J({},e):e:null}function it(e,t,s=!1,n=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:f}=e,h=t?$o(i||{},t):i,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:h,key:h&&Si(h),ref:t&&t.ref?s&&r?O(r)?r.concat(Qt(t)):[r,Qt(t)]:Qt(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Me?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&it(e.ssContent),ssFallback:e.ssFallback&&it(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&n&&Ds(a,f.clone(a)),a}function Lo(e=" ",t=0){return He(Zt,null,e,t)}function ye(e){return e==null||typeof e=="boolean"?He(Ge):O(e)?He(Me,null,e.slice()):xi(e)?Ie(e):He(Zt,null,String(e))}function Ie(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:it(e)}function es(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(O(t))s=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),es(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!li(t)?t._ctx=be:i===3&&be&&(be.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(R(t)){if(n&65){es(e,{default:t});return}t={default:t,_ctx:be},s=32}else t=String(t),n&64?(s=16,t=[Lo(t)]):s=8;e.children=t,e.shapeFlag|=s}function $o(...e){const t={};for(let s=0;sne||be;let ts,xt;{const e=Nt(),t=(s,n)=>{let i;return(i=e[s])||(i=e[s]=[]),i.push(n),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};ts=t("__VUE_INSTANCE_SETTERS__",s=>ne=s),xt=t("__VUE_SSR_SETTERS__",s=>wt=s)}const St=e=>{const t=ne;return ts(e),e.scope.on(),()=>{e.scope.off(),ts(t)}},Ci=()=>{ne&&ne.scope.off(),ts(null)};function Ti(e){return e.vnode.shapeFlag&4}let wt=!1;function Bo(e,t=!1,s=!1){t&&xt(t);const{props:n,children:i}=e.vnode,r=Ti(e);So(e,n,r,t),Ao(e,i,s||t);const o=r?Wo(e,t):void 0;return t&&xt(!1),o}function Wo(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,oo);const{setup:n}=s;if(n){de();const i=e.setupContext=n.length>1?Go(e):null,r=St(e),o=et(n,e,0,[e.props,i]),l=sn(o);if(pe(),r(),(l||e.sp)&&!_t(e)&&Kn(e),l){if(o.then(Ci,Ci),t)return o.then(f=>{xt(!0);try{Ai(e,f,t)}finally{xt(!1)}}).catch(f=>{Kt(f,e,0)});e.asyncDep=o}else Ai(e,o)}else Ei(e)}function Ai(e,t,s){R(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:B(t)&&(e.setupState=Rn(t)),Ei(e)}function Ei(e,t,s){const n=e.type;e.render||(e.render=n.render||he);{const i=St(e);de();try{lo(e)}finally{pe(),i()}}}const qo={get(e,t){return k(e,"get",""),e[t]}};function Go(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,qo),slots:e.slots,emit:e.emit,expose:t}}function Js(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Rn(Er(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in mt)return mt[s](e)},has(t,s){return s in t||s in mt}})):e.proxy}const Jo=/(?:^|[-_])\w/g,zo=e=>e.replace(Jo,t=>t.toUpperCase()).replace(/[-_]/g,"");function Yo(e,t=!0){return R(e)?e.displayName||e.name:e.name||t&&e.__name}function Pi(e,t,s=!1){let n=Yo(t);if(!n&&t.__file){const i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(n=i[1])}if(!n&&e){const i=r=>{for(const o in r)if(r[o]===t)return o};n=i(e.components)||e.parent&&i(e.parent.type.components)||i(e.appContext.components)}return n?zo(n):s?"App":"Anonymous"}function Xo(e){return R(e)&&"__vccOpts"in e}const Ct=(e,t)=>Rr(e,t,wt),Zo="3.5.42";/** +* @vue/runtime-dom v3.5.42 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let zs;const Oi=typeof window<"u"&&window.trustedTypes;if(Oi)try{zs=Oi.createPolicy("vue",{createHTML:e=>e})}catch{}const Ri=zs?e=>zs.createHTML(e):e=>e,Qo="http://www.w3.org/2000/svg",ko="http://www.w3.org/1998/Math/MathML",Fe=typeof document<"u"?document:null,Mi=Fe&&Fe.createElement("template"),el={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const i=t==="svg"?Fe.createElementNS(Qo,e):t==="mathml"?Fe.createElementNS(ko,e):s?Fe.createElement(e,{is:s}):Fe.createElement(e);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>Fe.createTextNode(e),createComment:e=>Fe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Fe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,i,r){const o=s?s.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),s),!(i===r||!(i=i.nextSibling)););else{Mi.innerHTML=Ri(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const l=Mi.content;if(n==="svg"||n==="mathml"){const f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},tl=Symbol("_vtc");function sl(e,t,s){const n=e[tl];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const Ii=Symbol("_vod"),nl=Symbol("_vsh"),il=Symbol(""),rl=/(?:^|;)\s*display\s*:/;function ol(e,t,s){const n=e.style,i=G(s);let r=!1;if(s&&!i){if(t)if(G(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&Tt(n,l,"")}else for(const o in t)s[o]==null&&Tt(n,o,"");for(const o in s){o==="display"&&(r=!0);const l=s[o];l!=null?cl(e,o,!G(t)&&t?t[o]:void 0,l)||Tt(n,o,l):Tt(n,o,"")}}else if(i){if(t!==s){const o=n[il];o&&(s+=";"+o),n.cssText=s,r=rl.test(s)}}else t&&e.removeAttribute("style");Ii in e&&(e[Ii]=r?n.display:"",e[nl]&&(n.display="none"))}const ss=/\s*!important$/;function Tt(e,t,s){if(O(s))s.forEach(n=>Tt(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))ss.test(s)?e.setProperty(t,s.replace(ss,""),"important"):e.setProperty(t,s);else{const n=ll(e,t);ss.test(s)?e.setProperty(fe(n),s.replace(ss,""),"important"):e[n]=s}}const Fi=["Webkit","Moz","ms"],Ys={};function ll(e,t){const s=Ys[t];if(s)return s;let n=re(t);if(n!=="filter"&&n in e)return Ys[t]=n;n=nn(n);for(let i=0;iXs||(gl.then(()=>Xs=0),Xs=Date.now());function ml(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const i=s.value;if(O(i)){const r=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0};const o=i.slice(),l=[n];for(let f=0;fe.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,bl=(e,t,s,n,i,r)=>{const o=i==="svg";t==="class"?sl(e,n,o):t==="style"?ol(e,s,n):Mt(t)?It(t)||al(e,t,s,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):yl(e,t,n,o))?(Di(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ji(e,t,n,o,r,t!=="value")):e._isVueCE&&(vl(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!G(n)))?Di(e,re(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),ji(e,t,n,o))};function yl(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Li(t)&&R(s));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 i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Li(t)&&G(s)?!1:t in e}function vl(e,t){const s=e._def.props;if(!s)return!1;const n=re(t);return Array.isArray(s)?s.some(i=>re(i)===n):Object.keys(s).some(i=>re(i)===n)}const $i={};function xl(e,t,s){let n=Jr(e,t);hs(n)&&(n=J({},n,t));class i extends Zs{constructor(o){super(n,o,s)}}return i.def=n,i}const Sl=typeof HTMLElement<"u"?HTMLElement:class{};class Zs extends Sl{constructor(t,s={},n=Ki){super(),this._def=t,this._props=s,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!==Ki?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(J({},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 Zs){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,Fn(()=>{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 s of t)this._setAttr(s.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let n=0;n{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:o}=n;let l;if(r&&!O(r))for(const f in r){const h=r[f];(h===Number||h&&h.type===Number)&&(f in this._props&&(this._props[f]=on(this._props[f])),(l||(l=Object.create(null)))[re(f)]=!0)}this._numberProps=l,this._resolveProps(n),this.shadowRoot&&this._applyStyles(o),this._mount(n)},s=this._def.__asyncLoader;if(s)return this._pendingResolve=s().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 s=this._instance&&this._instance.exposed;if(s)for(const n in s)N(this,n)||Object.defineProperty(this,n,{get:()=>On(s[n])})}_resolveProps(t){const{props:s}=t,n=O(s)?s:Object.keys(s||{});for(const i of Object.keys(this))i[0]!=="_"&&n.includes(i)&&this._setProp(i,this[i]);for(const i of n.map(re))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(r){this._setProp(i,r,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const s=this.hasAttribute(t);let n=s?this.getAttribute(t):$i;const i=re(t);s&&this._numberProps&&this._numberProps[i]&&(n=on(n)),this._setProp(i,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,s,n=!0,i=!1){if(s!==this._props[t]&&(this._dirty=!0,s===$i?delete this._props[t]:(this._props[t]=s,t==="key"&&this._app&&(this._app._ceVNode.key=s)),i&&this._instance&&this._update(),n)){const r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),s===!0?this.setAttribute(fe(t),""):typeof s=="string"||typeof s=="number"?this.setAttribute(fe(t),s+""):s||this.removeAttribute(fe(t)),r&&r.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Cl(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const s=He(this._def,J(t,this._props));return this._instance||(s.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const i=(r,o)=>{this.dispatchEvent(new CustomEvent(r,hs(o[0])?J({detail:o},o[0]):{detail:o}))};n.emit=(r,...o)=>{i(r,o),fe(r)!==r&&i(fe(r),o)},this._setParent()}),s}_applyStyles(t,s,n){if(!t)return;if(s){if(s===this._def||this._styleChildren.has(s))return;this._styleChildren.add(s)}const i=this._nonce,r=this.shadowRoot,o=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(r);let l=null;for(let f=t.length-1;f>=0;f--){const h=document.createElement("style");i&&h.setAttribute("nonce",i),h.textContent=t[f],r.insertBefore(h,l||o),l=h,f===0&&(n||this._styleAnchors.set(this._def,h),s&&this._styleAnchors.set(s,h))}}_getStyleAnchor(t){if(!t)return null;const s=this._styleAnchors.get(t);return s&&s.parentNode===this.shadowRoot?s:(s&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let s=0;s{Ui().render(...e)},Ki=(...e)=>{const t=Ui().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=Al(n);if(!i)return;const r=t._component;!R(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=s(i,!1,Tl(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t};function Tl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Al(e){return G(e)?document.querySelector(e):e}function El(e,t){const s=t;Gn(()=>{var l;const n=wi();if(!n)return;const i=(l=n.proxy)==null?void 0:l.$el;if(!i)return;const r=i.getRootNode();if(!(r instanceof ShadowRoot)||r.querySelector(`style[data-shadow-styles="${s}"]`))return;const o=document.createElement("style");o.setAttribute("data-shadow-styles",s),o.textContent=e,r.appendChild(o)})}const Pl=cs&&cs.tagName.toUpperCase()==="SCRIPT"&&cs.src||new URL("upg-neighbor.js",document.baseURI).href,At=e=>String(e||"").trim().replace(/\/+$/,"");function Ol(){try{const t=String(Pl||"").split(/[?#]/)[0].match(/^(.*)\/([^/]+)\/([^/]+)\.js$/);return!t||t[2]!==t[3]?null:t[1]||null}catch{return null}}function Rl(e){const t=e==null?void 0:e.assetsBase;if(typeof t=="string"&&t.trim()){const n=At(t);if(/^https?:\/\//i.test(n)||n.startsWith("/"))return n}const s=At((e==null?void 0:e.treeBase)||"")||At(Ol()||"");if(s)try{const n=typeof document<"u"?document.baseURI:void 0;return At(new URL(s+"/../assets",n).href)}catch{return At(s.replace(/\/[^/]*$/,"")+"/assets")}return"./assets"}const Ml={class:"unw"},Il=["src","title"],Fl=xl({__name:"upg-neighbor",props:{profileConfig:{type:String,default:""}},setup(e){const t=e,s=Ct(()=>{try{return t.profileConfig?JSON.parse(t.profileConfig):{}}catch{return{}}}),n=Ct(()=>String(s.value.legacyElement||"send-map").replace(/[^a-z0-9-]/g,"")),i=Ct(()=>s.value.legacyTitle||n.value),r=Ct(()=>{const o=String(Rl({value:s.value})||s.value.assetsBase||"./assets").replace(/\/+$/,""),l=s.value.tk||typeof window<"u"&&window.MAP_TOKEN||"";return o+"/legacy/upg-neighbor/index.html?el="+n.value+(l?"&tk="+encodeURIComponent(l):"")});return El(".unw{position:relative;width:100%;height:100%;min-height:520px;background:#f3f3f1}.unw iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.unw .tag{position:absolute;top:8px;right:8px;z-index:2;font:600 10px ui-monospace,monospace;letter-spacing:.06em;text-transform:uppercase;color:#6d766e;background:#fff;border:1px solid #d1d4cd;border-radius:100px;padding:3px 8px}","upg-neighbor-wrapper"),(o,l)=>(Fo(),jo("div",Ml,[l[0]||(l[0]=kt("span",{class:"tag"},"experimental · legacy",-1)),kt("iframe",{src:r.value,title:i.value,loading:"lazy"},null,8,Il)]))}});customElements.get("upg-neighbor")||customElements.define("upg-neighbor",Fl)})(); diff --git a/public/doxa-maps/upg-neighbor/upg-neighbor/bloom-cockpit/index.html b/public/doxa-maps/upg-neighbor/upg-neighbor/bloom-cockpit/index.html new file mode 100644 index 000000000..276a20909 --- /dev/null +++ b/public/doxa-maps/upg-neighbor/upg-neighbor/bloom-cockpit/index.html @@ -0,0 +1,168 @@ + + + + + + Bloom Cockpit (legacy) · upg-neighbor + + + + + +
+
loading…
+ + + + + + + + diff --git a/public/doxa-maps/upg-neighbor/upg-neighbor/flower-mesh/index.html b/public/doxa-maps/upg-neighbor/upg-neighbor/flower-mesh/index.html new file mode 100644 index 000000000..ad8f1fe2b --- /dev/null +++ b/public/doxa-maps/upg-neighbor/upg-neighbor/flower-mesh/index.html @@ -0,0 +1,168 @@ + + + + + + Flower Mesh (legacy) · upg-neighbor + + + + + +
+
loading…
+ + + + + + + + diff --git a/public/doxa-maps/upg-neighbor/upg-neighbor/index.html b/public/doxa-maps/upg-neighbor/upg-neighbor/index.html new file mode 100644 index 000000000..c2280ac88 --- /dev/null +++ b/public/doxa-maps/upg-neighbor/upg-neighbor/index.html @@ -0,0 +1,168 @@ + + + + + + upg-neighbor · upg-neighbor + + + + + +
+
loading…
+ + + + + + + + diff --git a/public/doxa-maps/upg-neighbor/upg-neighbor/lang-cluster/index.html b/public/doxa-maps/upg-neighbor/upg-neighbor/lang-cluster/index.html new file mode 100644 index 000000000..61d9356d0 --- /dev/null +++ b/public/doxa-maps/upg-neighbor/upg-neighbor/lang-cluster/index.html @@ -0,0 +1,168 @@ + + + + + + Language Clusters (legacy) · upg-neighbor + + + + + +
+
loading…
+ + + + + + + + diff --git a/public/doxa-maps/upg-neighbor/upg-neighbor/send-map/index.html b/public/doxa-maps/upg-neighbor/upg-neighbor/send-map/index.html new file mode 100644 index 000000000..991a73493 --- /dev/null +++ b/public/doxa-maps/upg-neighbor/upg-neighbor/send-map/index.html @@ -0,0 +1,168 @@ + + + + + + Send Map (legacy) · upg-neighbor + + + + + +
+
loading…
+ + + + + + + + diff --git a/public/doxa-maps/upg-neighbor/upg-neighbor/upg-neighbors/index.html b/public/doxa-maps/upg-neighbor/upg-neighbor/upg-neighbors/index.html new file mode 100644 index 000000000..c6fcbcf8f --- /dev/null +++ b/public/doxa-maps/upg-neighbor/upg-neighbor/upg-neighbors/index.html @@ -0,0 +1,168 @@ + + + + + + UPG Neighbors (legacy) · upg-neighbor + + + + + +
+
loading…
+ + + + + + + +