diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index a363d49a8..8c4ea8181 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -43,8 +43,11 @@ jobs: # (drop-portability, inline-parse, bundles-shipped and the rest). A guard # failure fails the deploy, which is the point of having them. - name: Build + # BUILD_ALLOW=1: build-lock.sh refuses an unannounced build (exit 75) so two agents on one box + # cannot build at once; a CI runner is the only builder on its machine, so it opts in. env: MAPBOX_TOKEN: ${{ secrets.MAPBOX_TOKEN }} + BUILD_ALLOW: '1' run: bun run build # Fail loudly rather than publishing a site whose maps cannot draw. diff --git a/.gitignore b/.gitignore index d7a3a3d5c..4333a745b 100644 --- a/.gitignore +++ b/.gitignore @@ -155,3 +155,6 @@ data-private/ # gated bundles (gatedProfiles) build here, never into public/ (vite.config.js) /.gated/ /deployment/src-tauri/binaries/ + +# vite writes these beside the config while it bundles it; never commit one (it embeds absolute paths) +vite.config.js.timestamp-* diff --git a/README.md b/README.md index eea5bfc93..0cae5374d 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,59 @@ capabilities, three outputs, one shared library, one build. | **Shared library, private plugins** — reuse without breaking each other | `bun run check:library-index` | | **One agent per plugin, one shepherd, one working `main`** | [agent swarm](#build-it-with-an-agent-swarm) | +## For vibe coders: build, open the Studio, embed a map + +**1. Open the Plugin Studio** (every map, live, updating as you or your agent edit): + +```bash +bun install --frozen-lockfile +bun run dev # open the address it prints: that page is the Plugin Studio +``` + +**2. Build.** The built maps are already in the repo. After a change, rebuild just that map, or all of them: + +```bash +BUNDLE= bun x vite build # one map (seconds) +BUILD_ALLOW=1 bun run build # every map (~4 min); the output is public/dx-maps/ +``` + +When the DX Life site's repo sits next to this one (`../doxa-life`), the full build also copies the maps into +its `public/`. That is the one path set in `vite.doxa-maps-build-config.json` (`dropin.dest`); nothing else on +your computer is searched. No site there: the step says so and skips. `DOXA_DROPIN=off` turns it off, and +`bun run dropin` copies on demand. + +**3. Embed a map.** Every map has its own embed script: its `embed.script` in `public/dx-maps/manifest.json` (an +`embed.iframe` too). A snippet is two parts, the map's script and its tag: + +```html + + +``` + +On DX Life, the maps are served from its own `public/dx-maps/`, so a page loads `/dx-maps//.js` and +places the map's tag. Copy each snippet from the manifest: its `integrity` hash changes with every build. More: +[the three routes](#where-the-folder-goes-three-routes) and [how a page shows a map](#how-a-page-shows-a-map). + +## For agents: what this repo is for + +This repo builds **mobilization maps**: maps that help disciples, churches and leaders reach their city and the +people groups of the world. When you work here, the goal is one of these: + +| Goal | The production maps that serve it | +|---|---| +| **Reach a city** | Cities with Internet (`cities-internet`); Regions (`regions-dashboard`) and the country map (`country-map`) | +| **Mobilize for people groups** | Big Picture (`dashboard-plus-grid`); Research Map + Grid (`research-map-plus-grid`) | +| **Plan outreach** | Gospel Resources (`gospel-resources`): what exists in each language; Regions, by country | +| **Pray: packets and prayer resources** | UPG-100 (`my-upg-100-list`): prayer packets; Prayer Progress (`doxa-simple-map`) | + +- **Start with the skill:** [`skills/plugin-designer`](./skills/plugin-designer) teaches the patterns, the shared + library and the checks. +- **One plugin per folder** in `plugin-designs/`; shared code goes in `library/` only if it stays reusable for + every other plugin. +- **Land on `development`**, one change at a time through the lock, with `bun run gates:pre` passing. `main` is + production and moves only on a publish. +- These 8 maps are in production. The experimental maps are frozen: leave them as they are. + *Click any ▸ to read more. Everything below is folded so you can scroll the pictures first.* --- diff --git a/documentation/reference-library-index.md b/documentation/reference-library-index.md index ef15162cd..63f8ad174 100644 --- a/documentation/reference-library-index.md +++ b/documentation/reference-library-index.md @@ -141,6 +141,8 @@ and a change here can break other maps. `import … from '@map/composables/poster/usePosterLayout.js'` - **printInPlace** — printInPlace.js — SHARED (@map/composables/printInPlace.js). `import … from '@map/composables/printInPlace.js'` +- **retryFetch** — retryFetch.js — fetch(), with the same transient-blip retry the lazy components already get. + `import … from '@map/composables/retryFetch.js'` - **retryableAsyncComponent** — retryableAsyncComponent.js — SHARED (@map/composables/retryableAsyncComponent.js). `import … from '@map/composables/retryableAsyncComponent.js'` - **useAvatarGenerator** — Avatar Generator Composable diff --git a/internal/check-list-prop-unit.mjs b/internal/check-list-prop-unit.mjs index d094f8716..dc6dbbc08 100644 --- a/internal/check-list-prop-unit.mjs +++ b/internal/check-list-prop-unit.mjs @@ -83,7 +83,8 @@ check('an unknown list -> empty, not a crash', L.listLabel('project-9999', tFrom } check('the English catalogue matches the registry, word for word', bad, []) } { const missing = [] - for (const lc of readdirSync(join(ROOT, 'library/i18n/locales'))) { + // Locale FOLDERS only: the folder also holds a README.md, which is not a locale. + for (const lc of readdirSync(join(ROOT, 'library/i18n/locales'), { withFileTypes: true }).filter((d) => d.isDirectory()).map((d) => d.name)) { const c = cat(lc) for (const l of L.peopleGroupLists()) for (const f of ['label', 'definition']) if (!c[l.id]?.[f]) missing.push(`${lc}:${l.id}.${f}`) } diff --git a/internal/check-optional-t-equivalence.mjs b/internal/check-optional-t-equivalence.mjs index 97df870b6..46b09f5e6 100644 --- a/internal/check-optional-t-equivalence.mjs +++ b/internal/check-optional-t-equivalence.mjs @@ -300,7 +300,9 @@ for (const [file, helper, fallbackFrag] of SITES) { const used = [...new Set([...literal, ...catIds])] ok(used.length > literal.length, `all-people-groups: ${used.length} keys verified = ${literal.length} literal + ${catIds.length} reached only through tr(cat.id)`) - const locales = readdirSync(new URL('../library/i18n/locales', import.meta.url)) + // Locale FOLDERS only: the folder also holds a README.md (bba33e783), which is not a locale. + const locales = readdirSync(new URL('../library/i18n/locales', import.meta.url), { withFileTypes: true }) + .filter((d) => d.isDirectory()).map((d) => d.name) const gaps = [] for (const k of used) for (const loc of locales) { let v diff --git a/internal/fixtures/on-demand-checks.json b/internal/fixtures/on-demand-checks.json index 7d41ec173..812c94b91 100644 --- a/internal/fixtures/on-demand-checks.json +++ b/internal/fixtures/on-demand-checks.json @@ -9,6 +9,7 @@ "check:shot-fonts": "checks that the MACHINE taking README screenshots can render emoji (fc-list): a property of that box, not of the product, so it runs before a screenshot session, not in the gates", "check:coverage-consistent": "the full run includes clause L, the age of the oldest link verification (45 days), which depends on the CALENDAR: chained, it would turn gates red on a date (first 2026-11-08) with no code change. Run it with the link re-verification; every other clause runs in gates:pre as check:coverage-consistent:chained", "check:snippets-draw": "AWAITING ITS FIRST BROWSER RUN (rega): the browser suite lists a gate only after it has run. Moves into verify-browser-all's GATES, and out of this list, once that run is recorded.", + "check:grid-merge-defaults": "WAITS FOR ITS CODE: it asserts the defaults of three grid props (filtersToggle, backdrop, backdropFloor) that are not on development, because the grid merge (b1e839a33) has not landed. Chain it in gates:pre in the same landing as that merge.", "check:snippets-draw:mapbox": "AWAITING ITS FIRST BROWSER RUN (rega): the browser suite lists a gate only after it has run. Moves into verify-browser-all's GATES, and out of this list, once that run is recorded. Needs MAP_TOKEN." } } diff --git a/internal/run-parallel.mjs b/internal/run-parallel.mjs index 482cbf934..4bc8544eb 100644 --- a/internal/run-parallel.mjs +++ b/internal/run-parallel.mjs @@ -253,10 +253,15 @@ async function main() { const serial = results.reduce((a, r) => a + r.ms, 0) const failed = results.filter((r) => r.bucket === 'FAIL') - if (VERBOSE) for (const r of results) if (r.out.trim()) console.log(`\n───── ${r.name} ─────\n${r.out}`) // A failure must be readable in full: these gates explain themselves in their output, and // a truncated explanation is how a real defect gets re-diagnosed as a flake. - else for (const r of failed) console.log(`\n───── FAILED: ${r.name} (exit ${r.code}) ─────\n${r.out}`) + // ★ BRACED ON PURPOSE. Unbraced, this `else` bound to the INNER `if (r.out.trim())`, so without + // --verbose a failed gate printed only its name and exit code, never why. + if (VERBOSE) { + for (const r of results) if (r.out.trim()) console.log(`\n───── ${r.name} ─────\n${r.out}`) + } else { + for (const r of failed) console.log(`\n───── FAILED: ${r.name} (exit ${r.code}) ─────\n${r.out}`) + } // COUNT THE SKIPS IN THE SUMMARY, because the summary is the line a reader quotes and // the one that lands in a report. "35/35 passed" was true of a wave where a third of the diff --git a/internal/sync-dropin.mjs b/internal/sync-dropin.mjs index 424974e9f..a8d5030c1 100644 --- a/internal/sync-dropin.mjs +++ b/internal/sync-dropin.mjs @@ -39,7 +39,7 @@ * Refuses to CREATE : the drop-in folder is the host's decision, not this script's. * Gate: `node internal/public-hygiene-check.mjs --strict` must pass before a public push. * - * Usage: node internal/sync-dropin.mjs [--from public] [--tree doxa-maps] [--keep-staging] + * Usage: node internal/sync-dropin.mjs [--from public] [--tree doxa-maps] [--keep-staging] [--if-present] * [--only a,b | --from-config] [--prune] [--protect a.txt,other] [--dry-run] * e.g. bun run dropin (= --from-config, into dropin.dest: ../doxa-life/public) * Prints: copied · unchanged · deleted (stale inside the allowlist) · pruned (outside it) · @@ -96,6 +96,13 @@ if (PRUNE && basename(dest) === 'public') { console.error(`[sync-dropin] refusing --prune into ${dest}: it is a site's web-root, and --prune would delete every file of the site outside the drop-in. Sync without --prune (bun run dropin); stale files INSIDE the drop-in are still removed.`) process.exit(1) } +// --if-present (the full build's last step): the configured host is OPTIONAL. Its absence is a skip, not an error. +// Only the ONE configured path is checked (dropin.dest, or DOXA_DROPIN_DEST): nothing on the filesystem is searched +// for other repos or sites. DOXA_DROPIN=off skips it even when the host is there. +if (args.includes('--if-present')) { + if (process.env.DOXA_DROPIN === 'off') { console.log('[sync-dropin] skipped: DOXA_DROPIN=off'); process.exit(0) } + if (!existsSync(dest) || !statSync(dest).isDirectory()) { console.log(`[sync-dropin] skipped: no host at the configured path ${dest}`); process.exit(0) } +} if (!existsSync(dest) || !statSync(dest).isDirectory()) { console.error(`[sync-dropin] dest does not exist or is not a directory: ${dest} — create the drop-in folder in the host first`); process.exit(1) } if (!existsSync(FROM)) { console.error(`[sync-dropin] source missing: ${FROM} — run \`bun run build\` first`); process.exit(1) } diff --git a/package.json b/package.json index f091e9ded..3878883e6 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "build": "bash internal/build-lock.sh", "build:bundle": "bun x vite build", "build:bundles": "node internal/run-parallel.mjs --bundles", - "build:unlocked": "bun run gates:pre && bun run library-index && bun run check:library-index && bun run clean && bun run token && bun run build:bundles && bun run tree && bun run gates:post", + "build:unlocked": "bun run gates:pre && bun run library-index && bun run check:library-index && bun run clean && bun run token && bun run build:bundles && bun run tree && bun run gates:post && node internal/sync-dropin.mjs --from-config --if-present", "build:watch": "bun x vite build --watch", "cap:sync": "./node_modules/.bin/cap sync android", "cap:verify": "test -f deployment/capacitor/android/app/src/main/assets/public/index.html && echo \"OK webDir copied\" || (echo \"FAIL: empty assets/public -> blank white screen. Check webDir.\" && exit 1)", @@ -285,6 +285,7 @@ "check:embed-url-absolute": "node internal/check-embed-url-absolute.mjs", "check:grid-image-loading": "node internal/check-grid-image-loading.mjs", "check:retry-fetch": "node internal/check-retry-fetch.mjs", + "check:grid-merge-defaults": "node internal/check-grid-merge-defaults.mjs", "check:setup-order": "node internal/check-setup-order.mjs", "check:sfc-parse": "node internal/check-sfc-script-parses.mjs", "check:shadow-css-parses": "node internal/check-shadow-css-parses.mjs", @@ -339,7 +340,7 @@ "fix:sri": "node internal/fix-sri.mjs", "gallery": "node internal/generate-gallery.mjs", "gates:post": "node internal/run-parallel.mjs --label=post -- check:capability-derived check:drop check:parse verify check:sri check:public-hygiene check:label-joins check:facet-cascade check:facet-one-field check:heartbeat check:kpi-unit check:composite-reg check:descriptions check:no-abs-paths check:no-codename check:dep-names check:composite-srcs check:embed-targets check:nested-token check:i18n-parity check:tabs-localized check:packets-all check:packet-strings-parity check:zone-census check:zoning-declared check:share-policy check:library-index check:csv-shape check:capability-citations check:catalog-identity check:no-orphan-gates check:quoted-scripts check:done-evidence check:script-flags check:backlog-status check:capability-exemplars check:packet-fixture check:packet-browser check:provider-switch check:locale-reachable check:url-resolver check:manifest-covers check:one-palette check:pin-dim-slider check:legend-source check:backlog-refs check:clustering-modes check:composite-embed-knobs check:composite-locale-leaks check:linked-vocabulary check:wp-embed check:dashboard-geocoder-provider check:leaf-engine-per-provider check:auto-engine check:engine-contract check:map-props-unit check:composites-mount check:composite-interop check:no-free-identifiers check:map-fly-reduced-motion check:mst-clustering check:list-prop-unit check:profiles-mount check:cdn-pins check:no-eval check:popup-escaping check:i18n-treeshake check:pinned-umd check:one-palette:self-test check:no-cross-plugin-imports check:no-cross-plugin-imports:self-test check:map-attribution check:studio-rail check:approx-pin-note check:embedder-keys check:provider-for check:legend-logical-insets check:legend-logical-insets:self-test check:optional-t-equivalence check:text-highlight check:religion-label-not-value check:i18n-stopped-scope check:no-silent-engine check:no-silent-engine:self-test check:regions-uses-library check:shadow-css-parses check:square-map-controls check:preset-config-merge check:instance-config-keys check:frozen-labels check:plural-forms check:region-fill-repaint check:region-paint-single-source check:poster-print-fallback check:posters-exportable check:country-names check:reduced-motion check:no-dead-library check:universal-props check:readme-size check:tree-relative check:leaf-hints check:snippet-engine check:snippet-engine:self-test check:embed-base check:link-coverage check:no-public-binds check:shared-reached check:tree-weight", - "gates:pre": "node internal/run-parallel.mjs --label=pre -- check:template-literal check:mjs-parse check:sfc-parse check:tab-radius check:synced-css check:doc-scripts check:setup-order check:package-json-unique-keys check:no-repo-pb-hooks check:no-credentials-omit check:no-credentials-omit:self-test check:shadow-reduced-motion check:poster-action-print check:targets check:targets:self-test check:browser-gates-guarded check:pin-selection check:facet-shape check:hardcoded-english:self-test check:list-selection check:selector-fields check:upg-zone-joins check:gospel-set-charts check:gospel-set-fit check:describe-group check:one-scroll-container check:packet-charts check:composite-token-url check:language-tree-layout check:i18n-keys-exist check:i18n-never-translated check:packet-variants check:profile-table check:element-bootstrap check:embed-url-absolute check:frame-target check:language-tree-model check:map-menu-anchor check:selection-kinds check:tiered-points check:whiteboard-projection check:mercator-slice check:ring-vocabulary check:map-props-unit check:mobile-gating check:provide-shadowing check:legend-top-offset check:cdn-cache check:plural-forms check:select-zone-race check:script-registry check:map-control-overlap check:poster-attribution check:board-map-options check:gospel-whiteboard check:packet-map-missing-loud check:poster-layout-optin check:ported-globals-identical check:ring-bands check:packet-a1-structure check:zone-title-tier-a check:evangelical-share check:map-labels check:packet-offline check:help-reachable check:gated-not-in-tree check:window-globals-released check:legend-data-contract check:no-new-driver-references check:poster-fetch-guard check:people-group-records check:sentence-slots check:popup-href-escaped check:popup-pan-controls check:viewport-meta check:viewport-meta:self-test check:label-key-coverage check:poster-browser-equiv check:poster-render-pinned check:host-locale-fetch check:print-frame-reclaim check:click-sheet check:coverage-consistent:chained check:coverage-consistent:poison check:dashboard-filter-a11y check:filter-multivalue check:hover-channel check:kit-options-reachable check:layout-key-namespaced check:legend-mirrors check:map-unmount-race check:no-conflict-markers check:series-isolation check:snapshot-guard check:stale-sweep-claim check:surfaces-read-the-tier check:translator-contacts check:dxlife check:wall-wysiwyg check:wall-print-watch check:wall-no-bg-photos check:template-i18n check:list-pattern-doc check:shadow-style-labels-unique", + "gates:pre": "node internal/run-parallel.mjs --label=pre -- check:template-literal check:mjs-parse check:sfc-parse check:tab-radius check:synced-css check:doc-scripts check:setup-order check:package-json-unique-keys check:no-repo-pb-hooks check:no-credentials-omit check:no-credentials-omit:self-test check:shadow-reduced-motion check:poster-action-print check:targets check:targets:self-test check:browser-gates-guarded check:pin-selection check:facet-shape check:hardcoded-english:self-test check:list-selection check:selector-fields check:upg-zone-joins check:gospel-set-charts check:gospel-set-fit check:describe-group check:one-scroll-container check:packet-charts check:composite-token-url check:language-tree-layout check:i18n-keys-exist check:i18n-never-translated check:packet-variants check:profile-table check:element-bootstrap check:embed-url-absolute check:frame-target check:language-tree-model check:map-menu-anchor check:selection-kinds check:tiered-points check:whiteboard-projection check:mercator-slice check:ring-vocabulary check:map-props-unit check:mobile-gating check:provide-shadowing check:legend-top-offset check:cdn-cache check:plural-forms check:select-zone-race check:script-registry check:map-control-overlap check:poster-attribution check:board-map-options check:gospel-whiteboard check:packet-map-missing-loud check:poster-layout-optin check:ported-globals-identical check:ring-bands check:packet-a1-structure check:zone-title-tier-a check:evangelical-share check:map-labels check:packet-offline check:help-reachable check:gated-not-in-tree check:window-globals-released check:legend-data-contract check:no-new-driver-references check:poster-fetch-guard check:people-group-records check:sentence-slots check:popup-href-escaped check:popup-pan-controls check:viewport-meta check:viewport-meta:self-test check:label-key-coverage check:poster-browser-equiv check:poster-render-pinned check:host-locale-fetch check:print-frame-reclaim check:click-sheet check:coverage-consistent:chained check:coverage-consistent:poison check:dashboard-filter-a11y check:filter-multivalue check:hover-channel check:kit-options-reachable check:layout-key-namespaced check:legend-mirrors check:map-unmount-race check:no-conflict-markers check:series-isolation check:snapshot-guard check:stale-sweep-claim check:surfaces-read-the-tier check:translator-contacts check:dxlife check:wall-wysiwyg check:wall-print-watch check:wall-no-bg-photos check:template-i18n check:list-pattern-doc check:shadow-style-labels-unique check:grid-image-loading check:retry-fetch", "gen:iso3-to-alpha2": "node library/scripts/generate-iso3-to-alpha2.mjs", "internet:adm1": "node plugin-designs/cities-internet/scripts/build-adm1-internet.mjs", "library-index": "node internal/generate-library-index.mjs", @@ -521,6 +522,7 @@ "check:mobile": "deploy-2 CONTRACT check: needs NO JDK/SDK/device. cap sync is a file copy + plugin wiring, so it runs anywhere; cap:verify then asserts assets/public/index.html exists. Guards the SOFT FAILURE capacitor.config.json warns about: a wrong webDir yields an EMPTY assets/public and a BLANK WHITE SCREEN at launch, not an error.", "check:mst-clustering": "the MST clustering mode draws a true minimum spanning tree/forest (same edge count and length as a reference Kruskal) and 2,107 pins take under 3 s on the main thread. Headless.", "check:nav-reachable": "a cap-5 shell must have ONE on-screen control that opens its tab rail at phone width (needs `bun run serve` on 4173; browser gate, not in build:unlocked)", + "check:grid-merge-defaults": "the people-group grid's merge props (filtersToggle, backdrop, backdropFloor) must DEFAULT to today's grid, read from the SFC's defineProps by parser. ON DEMAND: those props are not on development yet (the grid merge, b1e839a33, is not landed), so it would be red in any chain; it chains with that merge.", "check:no-abs-paths": "no /home/… or /Users/… in any TRACKED file (a clone must work on any machine)", "check:no-codename": "the development-era INTERNAL CODE NAME may not ship in any TRACKED file. Same hand-off family as check:no-abs-paths: meaningless to the Doxa team who inherit this, and invisible to every other gate (none read for vocabulary). Deliberately does NOT fail on the same letters appearing as the unix USERNAME inside a /home/… path — that is a portability defect check:no-abs-paths already reports better, and two gates disagreeing about one string teaches everyone to ignore both.", "check:no-conflict-markers": "Nothing tracked may carry an unresolved merge. Exists because a merge from this worktree committed a BUILT bundle with 21 conflict markers - both sides concatenated, 1.13MB - and every gospel leaf rendered dead while the SRI hash matched and every request returned 200. The cause was a landing script that resolved one expected file then ran \"git add -A public\", staging every other file including the ones still holding markers. For a built file: take either side, REBUILD, commit the rebuild, then run this before pushing. --poison for the negative test.", diff --git a/plugin-designs/doxa-research-map/research-map.vue b/plugin-designs/doxa-research-map/research-map.vue index b5c629fd9..74bd0eff8 100644 --- a/plugin-designs/doxa-research-map/research-map.vue +++ b/plugin-designs/doxa-research-map/research-map.vue @@ -1536,8 +1536,8 @@ provide('legendExportBusy', exportBusy) // Neither export hands over a file any more: the poster prints through printImageBlob and the packet // through the shared usePosterPrints.printPacket, so the download helper that served packet.pdf is gone. async function openPacket(variant = 'full') { - if (_packetBusy) return - _packetBusy = true + if (packetBusy.value) return + packetBusy.value = true try { // ★ THE PACKET PRINTS, AND IT PRINTS THROUGH THE SHARED RENDERER (audit card 2, and // the standing rule: an export button opens the print dialog, never hands over a file). This diff --git a/plugin-designs/gospel-resources/resources-map.meta.json b/plugin-designs/gospel-resources/resources-map.meta.json index 1029f28ca..eb006cc76 100644 --- a/plugin-designs/gospel-resources/resources-map.meta.json +++ b/plugin-designs/gospel-resources/resources-map.meta.json @@ -1,4 +1,6 @@ { + "stage": "production", + "_stage_comment": "Marked production because the Deep Research gallery MOUNTS this profile: doxa-maps-spa.meta.json composes 'gospel-resources/resources-map' and doxa-maps-spa.vue's TAB_DEFS names it as the Gospel Resources tab. The stage was absent here, so the manifest defaulted it to experimental while a production page shipped it — the record disagreed with what ships. This changes the manifest only; nothing a reader sees.", "type": "single", "label": "Gospel Resources — resources map", "config": { diff --git a/plugin-designs/people-groups-grid/people-groups-grid.instances.json b/plugin-designs/people-groups-grid/people-groups-grid.instances.json index 22cb92632..9067103d1 100644 --- a/plugin-designs/people-groups-grid/people-groups-grid.instances.json +++ b/plugin-designs/people-groups-grid/people-groups-grid.instances.json @@ -22,19 +22,6 @@ "show-search": "false", "show-filters": "false" } - }, - { - "id": "regions-look", - "title": "People Groups Grid — the regions-dashboard look (link toggle + root watermark)", - "_why": "A merge preview (2026-09-28): SAME component and SAME cards as the standalone instance above, with only the two props he chose actually differing. Open this beside 'people-groups-grid' — if anything other than the filters toggle's styling and the watermark's placement differs between the two pages, the merge has changed something it was not asked to.", - "props": { - "profile": "people-groups-grid", - "provider": "maplibre", - "instanceId": "people-groups-grid-regions-look", - "pray-base-url": "https://pray.doxa.life", - "filters-toggle": "link", - "backdrop": "root" - } } ] } diff --git a/public/dx-maps/doxa-maps-spa/manifest.json b/public/dx-maps/doxa-maps-spa/manifest.json index c0e14039a..28eeb3b6c 100644 --- a/public/dx-maps/doxa-maps-spa/manifest.json +++ b/public/dx-maps/doxa-maps-spa/manifest.json @@ -416,7 +416,7 @@ "bundle": "doxa-research-map", "scriptUrl": "./doxa-research-map/doxa-research-map.js", "output": "dx-maps/doxa-research-map/doxa-research-map.js", - "integrity": "sha384-SaeVc0/eAh41GHtiLB+uFgg/SWmEU70lUPiO+tJJB+ONNLmwtZ8yC8EsxM3D1uva", + "integrity": "sha384-ba3eaJqjueCJT+061487aaNKQyoFqP8vYYjWjBrwzbYtMUYhnwmHXW5IO0dG4J4m", "elements": [ "doxa-research-map" ], @@ -435,8 +435,8 @@ "scriptUrl": "./doxa-research-map/doxa-research-map.js", "embed": { "iframe": "", - "script": "\n\n\n\n\n\n", - "scriptMapbox": "\n\n\n\n\n\n" + "script": "\n\n\n\n\n\n", + "scriptMapbox": "\n\n\n\n\n\n" }, "instances": [ { @@ -859,7 +859,7 @@ }, { "profile": "resources-map", - "stage": "experimental", + "stage": "production", "label": "Gospel Resources — resources map", "file": "resources-map.vue", "description": "12,379 people-group pins over a country choropleth: tap a pin for the Scripture, audio, film, Bible-story and training links that exist in that group's own language with real URLs, tap a country for every group in it, search by group, language or ISO 639-3 code, and filter to the groups where nothing was found.", @@ -1001,24 +1001,6 @@ "embed": { "iframe": "" } - }, - { - "id": "regions-look", - "title": "People Groups Grid — the regions-dashboard look (link toggle + root watermark)", - "apiBaseUrl": "", - "props": { - "profile": "people-groups-grid", - "provider": "maplibre", - "instanceId": "people-groups-grid-regions-look", - "pray-base-url": "https://pray.doxa.life", - "filters-toggle": "link", - "backdrop": "root" - }, - "element": "people-groups-grid", - "iframeUrl": "./people-groups-grid/people-groups-grid/regions-look/index.html", - "embed": { - "iframe": "" - } } ] } diff --git a/public/dx-maps/doxa-research-map/doxa-research-map.js b/public/dx-maps/doxa-research-map/doxa-research-map.js index f410d4cc0..e283ded60 100644 --- a/public/dx-maps/doxa-research-map/doxa-research-map.js +++ b/public/dx-maps/doxa-research-map/doxa-research-map.js @@ -2,27 +2,27 @@ * @vue/shared v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function Ui(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const wt={},Ea=[],Wo=()=>{},$u=()=>!1,ds=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ps=e=>e.startsWith("onUpdate:"),Dt=Object.assign,Wi=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},Em=Object.prototype.hasOwnProperty,ft=(e,t)=>Em.call(e,t),Ke=Array.isArray,On=e=>mr(e)==="[object Map]",gs=e=>mr(e)==="[object Set]",_u=e=>mr(e)==="[object Date]",Ze=e=>typeof e=="function",xt=e=>typeof e=="string",_o=e=>typeof e=="symbol",mt=e=>e!==null&&typeof e=="object",yu=e=>(mt(e)||Ze(e))&&Ze(e.then)&&Ze(e.catch),vu=Object.prototype.toString,mr=e=>vu.call(e),Mm=e=>mr(e).slice(8,-1),fs=e=>mr(e)==="[object Object]",hs=e=>xt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,br=Ui(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ms=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},Rm=/-\w/g,Zt=ms(e=>e.replace(Rm,t=>t.slice(1).toUpperCase())),Fm=/\B([A-Z])/g,Po=ms(e=>e.replace(Fm,"-$1").toLowerCase()),bs=ms(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ki=ms(e=>e?`on${bs(e)}`:""),Ko=(e,t)=>!Object.is(e,t),$s=(e,...t)=>{for(let o=0;o{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},qi=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ku=e=>{const t=xt(e)?Number(e):NaN;return isNaN(t)?e:t};let xu;const _s=()=>xu||(xu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ct(e){if(Ke(e)){const t={};for(let o=0;o{if(o){const n=o.split(Im);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Ge(e){let t="";if(xt(e))t=e;else if(Ke(e))for(let o=0;o!!(e&&e.__v_isRef===!0),ye=e=>xt(e)?e:e==null?"":Ke(e)||mt(e)&&(e.toString===vu||!Ze(e.toString))?Pu(e)?ye(e.value):JSON.stringify(e,Lu,2):String(e),Lu=(e,t)=>Pu(t)?Lu(e,t.value):On(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[n,a],r)=>(o[Vi(n,r)+" =>"]=a,o),{})}:gs(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>Vi(o))}:_o(t)?Vi(t):mt(t)&&!Ke(t)&&!fs(t)?String(t):t,Vi=(e,t="")=>{var o;return _o(e)?`Symbol(${(o=e.description)!=null?o:t})`:e};/** +**/function Ui(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const wt={},Ea=[],Wo=()=>{},$u=()=>!1,ds=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ps=e=>e.startsWith("onUpdate:"),Dt=Object.assign,Wi=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},Em=Object.prototype.hasOwnProperty,ft=(e,t)=>Em.call(e,t),Ke=Array.isArray,On=e=>mr(e)==="[object Map]",gs=e=>mr(e)==="[object Set]",_u=e=>mr(e)==="[object Date]",Ze=e=>typeof e=="function",xt=e=>typeof e=="string",yo=e=>typeof e=="symbol",mt=e=>e!==null&&typeof e=="object",yu=e=>(mt(e)||Ze(e))&&Ze(e.then)&&Ze(e.catch),vu=Object.prototype.toString,mr=e=>vu.call(e),Mm=e=>mr(e).slice(8,-1),fs=e=>mr(e)==="[object Object]",hs=e=>xt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,br=Ui(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ms=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},Rm=/-\w/g,Zt=ms(e=>e.replace(Rm,t=>t.slice(1).toUpperCase())),Fm=/\B([A-Z])/g,Po=ms(e=>e.replace(Fm,"-$1").toLowerCase()),bs=ms(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ki=ms(e=>e?`on${bs(e)}`:""),Ko=(e,t)=>!Object.is(e,t),$s=(e,...t)=>{for(let o=0;o{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},qi=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ku=e=>{const t=xt(e)?Number(e):NaN;return isNaN(t)?e:t};let xu;const _s=()=>xu||(xu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ct(e){if(Ke(e)){const t={};for(let o=0;o{if(o){const n=o.split(Im);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Ge(e){let t="";if(xt(e))t=e;else if(Ke(e))for(let o=0;o!!(e&&e.__v_isRef===!0),ye=e=>xt(e)?e:e==null?"":Ke(e)||mt(e)&&(e.toString===vu||!Ze(e.toString))?Pu(e)?ye(e.value):JSON.stringify(e,Lu,2):String(e),Lu=(e,t)=>Pu(t)?Lu(e,t.value):On(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[n,a],r)=>(o[Vi(n,r)+" =>"]=a,o),{})}:gs(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>Vi(o))}:yo(t)?Vi(t):mt(t)&&!Ke(t)&&!fs(t)?String(t):t,Vi=(e,t="")=>{var o;return yo(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 qt;class Cu{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&&qt&&(qt.active?(this.parent=qt,this.index=(qt.scopes||(qt.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(qt===this)qt=this.prevScope;else{let t=qt;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(_r){let t=_r;for(_r=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;$r;){let t=$r;for($r=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 Fu(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Nu(e){let t,o=e.depsTail,n=o;for(;n;){const a=n.prevDep;n.version===-1?(n===o&&(o=a),Qi(n),Gm(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=a}e.deps=t,e.depsTail=o}function Xi(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Iu(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Iu(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===yr)||(e.globalVersion=yr,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Xi(e))))return;e.flags|=2;const t=e.dep,o=St,n=Fo;St=e,Fo=!0;try{Fu(e);const a=e.fn(e._value);(t.version===0||Ko(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(a){throw t.version++,a}finally{St=o,Fo=n,Nu(e),e.flags&=-3}}function Qi(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)Qi(r,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function Gm(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let Fo=!0;const Ou=[];function qo(){Ou.push(Fo),Fo=!1}function Vo(){const e=Ou.pop();Fo=e===void 0?!0:e}function Du(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=St;St=void 0;try{t()}finally{St=o}}}let yr=0;class Hm{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 el{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(!St||!Fo||St===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==St)o=this.activeLink=new Hm(St,this),St.deps?(o.prevDep=St.depsTail,St.depsTail.nextDep=o,St.depsTail=o):St.deps=St.depsTail=o,zu(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=St.depsTail,o.nextDep=void 0,St.depsTail.nextDep=o,St.depsTail=o,St.deps===o&&(St.deps=n)}return o}trigger(t){this.version++,yr++,this.notify(t)}notify(t){Zi();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{Ji()}}}function zu(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)zu(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const ws=new WeakMap,na=Symbol(""),tl=Symbol(""),vr=Symbol("");function ro(e,t,o){if(Fo&&St){let n=ws.get(e);n||ws.set(e,n=new Map);let a=n.get(o);a||(n.set(o,a=new el),a.map=n,a.key=o),a.track()}}function bn(e,t,o,n,a,r){const s=ws.get(e);if(!s){yr++;return}const i=l=>{l&&l.trigger()};if(Zi(),t==="clear")s.forEach(i);else{const l=Ke(e),c=l&&hs(o);if(l&&o==="length"){const u=Number(n);s.forEach((p,f)=>{(f==="length"||f===vr||!_o(f)&&f>=u)&&i(p)})}else switch((o!==void 0||s.has(void 0))&&i(s.get(o)),c&&i(s.get(vr)),t){case"add":l?c&&i(s.get("length")):(i(s.get(na)),On(e)&&i(s.get(tl)));break;case"delete":l||(i(s.get(na)),On(e)&&i(s.get(tl)));break;case"set":On(e)&&i(s.get(na));break}}Ji()}function Um(e,t){const o=ws.get(e);return o&&o.get(t)}function Ma(e){const t=rt(e);return t===e?t:(ro(t,"iterate",vr),yo(e)?t:t.map(No))}function ks(e){return ro(e=rt(e),"iterate",vr),e}function Yo(e,t){return yn(e)?Na(_n(e)?No(t):t):No(t)}const Wm={__proto__:null,[Symbol.iterator](){return ol(this,Symbol.iterator,e=>Yo(this,e))},concat(...e){return Ma(this).concat(...e.map(t=>Ke(t)?Ma(t):t))},entries(){return ol(this,"entries",e=>(e[1]=Yo(this,e[1]),e))},every(e,t){return $n(this,"every",e,t,void 0,arguments)},filter(e,t){return $n(this,"filter",e,t,o=>o.map(n=>Yo(this,n)),arguments)},find(e,t){return $n(this,"find",e,t,o=>Yo(this,o),arguments)},findIndex(e,t){return $n(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return $n(this,"findLast",e,t,o=>Yo(this,o),arguments)},findLastIndex(e,t){return $n(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return $n(this,"forEach",e,t,void 0,arguments)},includes(...e){return nl(this,"includes",e)},indexOf(...e){return nl(this,"indexOf",e)},join(e){return Ma(this).join(e)},lastIndexOf(...e){return nl(this,"lastIndexOf",e)},map(e,t){return $n(this,"map",e,t,void 0,arguments)},pop(){return wr(this,"pop")},push(...e){return wr(this,"push",e)},reduce(e,...t){return ju(this,"reduce",e,t)},reduceRight(e,...t){return ju(this,"reduceRight",e,t)},shift(){return wr(this,"shift")},some(e,t){return $n(this,"some",e,t,void 0,arguments)},splice(...e){return wr(this,"splice",e)},toReversed(){return Ma(this).toReversed()},toSorted(e){return Ma(this).toSorted(e)},toSpliced(...e){return Ma(this).toSpliced(...e)},unshift(...e){return wr(this,"unshift",e)},values(){return ol(this,"values",e=>Yo(this,e))}};function ol(e,t,o){const n=ks(e),a=n[t]();return n!==e&&!yo(e)&&(a._next=a.next,a.next=()=>{const r=a._next();return r.done||(r.value=o(r.value)),r}),a}const Km=Array.prototype;function $n(e,t,o,n,a,r){const s=ks(e),i=s!==e&&!yo(e),l=s[t];if(l!==Km[t]){const p=l.apply(e,r);return i?No(p):p}let c=o;s!==e&&(i?c=function(p,f){return o.call(this,Yo(e,p),f,e)}:o.length>2&&(c=function(p,f){return o.call(this,p,f,e)}));const u=l.call(s,c,n);return i&&a?a(u):u}function ju(e,t,o,n){const a=ks(e),r=a!==e&&!yo(e);let s=o,i=!1;a!==e&&(r?(i=n.length===0,s=function(c,u,p){return i&&(i=!1,c=Yo(e,c)),o.call(this,c,Yo(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?Yo(e,l):l}function nl(e,t,o){const n=rt(e);ro(n,"iterate",vr);const a=n[t](...o);return(a===-1||a===!1)&&Ls(o[0])?(o[0]=rt(o[0]),n[t](...o)):a}function wr(e,t,o=[]){qo(),Zi();const n=rt(e)[t].apply(e,o);return Ji(),Vo(),n}const qm=Ui("__proto__,__v_isRef,__isVue"),Bu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(_o));function Vm(e){_o(e)||(e=String(e));const t=rt(this);return ro(t,"has",e),t.hasOwnProperty(e)}class Gu{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?Vu:qu:r?Ku:Wu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const s=Ke(t);if(!a){let l;if(s&&(l=Wm[o]))return l;if(o==="hasOwnProperty")return Vm}const i=Reflect.get(t,o,Tt(t)?t:n);if((_o(o)?Bu.has(o):qm(o))||(a||ro(t,"get",o),r))return i;if(Tt(i)){const l=s&&hs(o)?i:i.value;return a&&mt(l)?kr(l):l}return mt(i)?a?kr(i):Ra(i):i}}class Hu extends Gu{constructor(t=!1){super(!1,t)}set(t,o,n,a){let r=t[o];const s=Ke(t)&&hs(o);if(!this._isShallow){const c=yn(r);if(!yo(n)&&!yn(n)&&(r=rt(r),n=rt(n)),!s&&Tt(r)&&!Tt(n))return c||(r.value=n),!0}const i=s?Number(o)e,xs=e=>Reflect.getPrototypeOf(e);function Qm(e,t,o){return function(...n){const a=this.__v_raw,r=rt(a),s=On(r),i=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,c=a[e](...n),u=o?al:t?Na:No;return!t&&ro(r,"iterate",l?tl:na),Dt(Object.create(c),{next(){const{value:p,done:f}=c.next();return f?{value:p,done:f}:{value:i?[u(p[0]),u(p[1])]:u(p),done:f}}})}}function Ss(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function e0(e,t){const o={get(a){const r=this.__v_raw,s=rt(r),i=rt(a);e||(Ko(a,i)&&ro(s,"get",a),ro(s,"get",i));const{has:l}=xs(s),c=t?al:e?Na:No;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&&ro(rt(a),"iterate",na),a.size},has(a){const r=this.__v_raw,s=rt(r),i=rt(a);return e||(Ko(a,i)&&ro(s,"has",a),ro(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=rt(i),c=t?al:e?Na:No;return!e&&ro(l,"iterate",na),i.forEach((u,p)=>a.call(r,c(u),c(p),s))}};return Dt(o,e?{add:Ss("add"),set:Ss("set"),delete:Ss("delete"),clear:Ss("clear")}:{add(a){const r=rt(this),s=xs(r),i=rt(a),l=!t&&!yo(a)&&!yn(a)?i:a;return s.has.call(r,l)||Ko(a,l)&&s.has.call(r,a)||Ko(i,l)&&s.has.call(r,i)||(r.add(l),bn(r,"add",l,l)),this},set(a,r){!t&&!yo(r)&&!yn(r)&&(r=rt(r));const s=rt(this),{has:i,get:l}=xs(s);let c=i.call(s,a);c||(a=rt(a),c=i.call(s,a));const u=l.call(s,a);return s.set(a,r),c?Ko(r,u)&&bn(s,"set",a,r):bn(s,"add",a,r),this},delete(a){const r=rt(this),{has:s,get:i}=xs(r);let l=s.call(r,a);l||(a=rt(a),l=s.call(r,a)),i&&i.call(r,a);const c=r.delete(a);return l&&bn(r,"delete",a,void 0),c},clear(){const a=rt(this),r=a.size!==0,s=a.clear();return r&&bn(a,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(a=>{o[a]=Qm(a,e,t)}),o}function As(e,t){const o=e0(e,t);return(n,a,r)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?n:Reflect.get(ft(o,a)&&a in n?o:n,a,r)}const t0={get:As(!1,!1)},o0={get:As(!1,!0)},n0={get:As(!0,!1)},a0={get:As(!0,!0)},Wu=new WeakMap,Ku=new WeakMap,qu=new WeakMap,Vu=new WeakMap;function r0(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ra(e){return yn(e)?e:Ps(e,!1,Ym,t0,Wu)}function s0(e){return Ps(e,!1,Jm,o0,Ku)}function kr(e){return Ps(e,!0,Zm,n0,qu)}function oL(e){return Ps(e,!0,Xm,a0,Vu)}function Ps(e,t,o,n,a){if(!mt(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=r0(Mm(e));if(s===0)return e;const i=new Proxy(e,s===2?n:o);return a.set(e,i),i}function _n(e){return yn(e)?_n(e.__v_raw):!!(e&&e.__v_isReactive)}function yn(e){return!!(e&&e.__v_isReadonly)}function yo(e){return!!(e&&e.__v_isShallow)}function Ls(e){return e?!!e.__v_raw:!1}function rt(e){const t=e&&e.__v_raw;return t?rt(t):e}function Fa(e){return!ft(e,"__v_skip")&&Object.isExtensible(e)&&wu(e,"__v_skip",!0),e}const No=e=>mt(e)?Ra(e):e,Na=e=>mt(e)?kr(e):e;function Tt(e){return e?e.__v_isRef===!0:!1}function we(e){return Yu(e,!1)}function Ia(e){return Yu(e,!0)}function Yu(e,t){return Tt(e)?e:new i0(e,t)}class i0{constructor(t,o){this.dep=new el,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:rt(t),this._value=o?t:No(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||yo(t)||yn(t);t=n?t:rt(t),Ko(t,o)&&(this._rawValue=t,this._value=n?t:No(t),this.dep.trigger())}}function ge(e){return Tt(e)?e.value:e}const l0={get:(e,t,o)=>t==="__v_raw"?e:ge(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const a=e[t];return Tt(a)&&!Tt(o)?(a.value=o,!0):Reflect.set(e,t,o,n)}};function Zu(e){return _n(e)?e:new Proxy(e,l0)}function c0(e){const t=Ke(e)?new Array(e.length):{};for(const o in e)t[o]=Ju(e,o);return t}class u0{constructor(t,o,n){this._object=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=_o(o)?o:String(o),this._raw=rt(t);let a=!0,r=t;if(!Ke(t)||_o(this._key)||!hs(this._key))do a=!Ls(r)||yo(r);while(a&&(r=r.__v_raw));this._shallow=a}get value(){let t=this._object[this._key];return this._shallow&&(t=ge(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Tt(this._raw[this._key])){const o=this._object[this._key];if(Tt(o)){o.value=t;return}}this._object[this._key]=t}get dep(){return Um(this._raw,this._key)}}class d0{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 Cs(e,t,o){return Tt(e)?e:Ze(e)?new d0(e):mt(e)&&arguments.length>1?Ju(e,t,o):we(e)}function Ju(e,t,o){return new u0(e,t,o)}class p0{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new el(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=yr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&St!==this)return Ru(this,!0),!0}get value(){const t=this.dep.track();return Iu(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function g0(e,t,o=!1){let n,a;return Ze(e)?n=e:(n=e.get,a=e.set),new p0(n,a,o)}const Ts={},Es=new WeakMap;let aa;function f0(e,t=!1,o=aa){if(o){let n=Es.get(o);n||Es.set(o,n=[]),n.push(e)}}function h0(e,t,o=wt){const{immediate:n,deep:a,once:r,scheduler:s,augmentJob:i,call:l}=o,c=d=>a?d:yo(d)||a===!1||a===0?vn(d,1):vn(d);let u,p,f,x,S=!1,y=!1;if(Tt(e)?(p=()=>e.value,S=yo(e)):_n(e)?(p=()=>c(e),S=!0):Ke(e)?(y=!0,S=e.some(d=>_n(d)||yo(d)),p=()=>e.map(d=>{if(Tt(d))return d.value;if(_n(d))return c(d);if(Ze(d))return l?l(d,2):d()})):Ze(e)?t?p=l?()=>l(e,2):e:p=()=>{if(f){qo();try{f()}finally{Vo()}}const d=aa;aa=u;try{return l?l(e,3,[x]):e(x)}finally{aa=d}}:p=Wo,t&&a){const d=p,w=a===!0?1/0:a;p=()=>vn(d(),w)}const h=Tu(),_=()=>{u.stop(),h&&h.active&&Wi(h.effects,u)};if(r&&t){const d=t;t=(...w)=>{const m=d(...w);return _(),m}}let g=y?new Array(e.length).fill(Ts):Ts;const b=d=>{if(!(!(u.flags&1)||!u.dirty&&!d))if(t){const w=u.run();if(d||a||S||(y?w.some((m,k)=>Ko(m,g[k])):Ko(w,g))){f&&f();const m=aa;aa=u;try{const k=[w,g===Ts?void 0:y&&g[0]===Ts?[]:g,x];g=w,l?l(t,3,k):t(...k)}finally{aa=m}}}else u.run()};return i&&i(b),u=new Eu(p),u.scheduler=s?()=>s(b,!1):b,x=d=>f0(d,!1,u),f=u.onStop=()=>{const d=Es.get(u);if(d){if(l)l(d,4);else for(const w of d)w();Es.delete(u)}},t?n?b(!0):g=u.run():s?s(b.bind(null,!0),!0):u.run(),_.pause=u.pause.bind(u),_.resume=u.resume.bind(u),_.stop=_,_}function vn(e,t=1/0,o){if(t<=0||!mt(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,Tt(e))vn(e.value,t,o);else if(Ke(e))for(let n=0;n{vn(n,t,o)});else if(fs(e)){for(const n in e)vn(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&vn(e[n],t,o)}return e}/** +**/let qt;class Cu{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&&qt&&(qt.active?(this.parent=qt,this.index=(qt.scopes||(qt.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(qt===this)qt=this.prevScope;else{let t=qt;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(_r){let t=_r;for(_r=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;$r;){let t=$r;for($r=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 Fu(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Nu(e){let t,o=e.depsTail,n=o;for(;n;){const a=n.prevDep;n.version===-1?(n===o&&(o=a),Qi(n),Gm(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=a}e.deps=t,e.depsTail=o}function Xi(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Iu(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Iu(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===yr)||(e.globalVersion=yr,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Xi(e))))return;e.flags|=2;const t=e.dep,o=St,n=Fo;St=e,Fo=!0;try{Fu(e);const a=e.fn(e._value);(t.version===0||Ko(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(a){throw t.version++,a}finally{St=o,Fo=n,Nu(e),e.flags&=-3}}function Qi(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)Qi(r,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function Gm(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let Fo=!0;const Ou=[];function qo(){Ou.push(Fo),Fo=!1}function Vo(){const e=Ou.pop();Fo=e===void 0?!0:e}function Du(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=St;St=void 0;try{t()}finally{St=o}}}let yr=0;class Hm{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 el{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(!St||!Fo||St===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==St)o=this.activeLink=new Hm(St,this),St.deps?(o.prevDep=St.depsTail,St.depsTail.nextDep=o,St.depsTail=o):St.deps=St.depsTail=o,zu(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=St.depsTail,o.nextDep=void 0,St.depsTail.nextDep=o,St.depsTail=o,St.deps===o&&(St.deps=n)}return o}trigger(t){this.version++,yr++,this.notify(t)}notify(t){Zi();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{Ji()}}}function zu(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)zu(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const ws=new WeakMap,na=Symbol(""),tl=Symbol(""),vr=Symbol("");function ro(e,t,o){if(Fo&&St){let n=ws.get(e);n||ws.set(e,n=new Map);let a=n.get(o);a||(n.set(o,a=new el),a.map=n,a.key=o),a.track()}}function bn(e,t,o,n,a,r){const s=ws.get(e);if(!s){yr++;return}const i=l=>{l&&l.trigger()};if(Zi(),t==="clear")s.forEach(i);else{const l=Ke(e),c=l&&hs(o);if(l&&o==="length"){const u=Number(n);s.forEach((p,f)=>{(f==="length"||f===vr||!yo(f)&&f>=u)&&i(p)})}else switch((o!==void 0||s.has(void 0))&&i(s.get(o)),c&&i(s.get(vr)),t){case"add":l?c&&i(s.get("length")):(i(s.get(na)),On(e)&&i(s.get(tl)));break;case"delete":l||(i(s.get(na)),On(e)&&i(s.get(tl)));break;case"set":On(e)&&i(s.get(na));break}}Ji()}function Um(e,t){const o=ws.get(e);return o&&o.get(t)}function Ma(e){const t=rt(e);return t===e?t:(ro(t,"iterate",vr),vo(e)?t:t.map(No))}function ks(e){return ro(e=rt(e),"iterate",vr),e}function Yo(e,t){return yn(e)?Na(_n(e)?No(t):t):No(t)}const Wm={__proto__:null,[Symbol.iterator](){return ol(this,Symbol.iterator,e=>Yo(this,e))},concat(...e){return Ma(this).concat(...e.map(t=>Ke(t)?Ma(t):t))},entries(){return ol(this,"entries",e=>(e[1]=Yo(this,e[1]),e))},every(e,t){return $n(this,"every",e,t,void 0,arguments)},filter(e,t){return $n(this,"filter",e,t,o=>o.map(n=>Yo(this,n)),arguments)},find(e,t){return $n(this,"find",e,t,o=>Yo(this,o),arguments)},findIndex(e,t){return $n(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return $n(this,"findLast",e,t,o=>Yo(this,o),arguments)},findLastIndex(e,t){return $n(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return $n(this,"forEach",e,t,void 0,arguments)},includes(...e){return nl(this,"includes",e)},indexOf(...e){return nl(this,"indexOf",e)},join(e){return Ma(this).join(e)},lastIndexOf(...e){return nl(this,"lastIndexOf",e)},map(e,t){return $n(this,"map",e,t,void 0,arguments)},pop(){return wr(this,"pop")},push(...e){return wr(this,"push",e)},reduce(e,...t){return ju(this,"reduce",e,t)},reduceRight(e,...t){return ju(this,"reduceRight",e,t)},shift(){return wr(this,"shift")},some(e,t){return $n(this,"some",e,t,void 0,arguments)},splice(...e){return wr(this,"splice",e)},toReversed(){return Ma(this).toReversed()},toSorted(e){return Ma(this).toSorted(e)},toSpliced(...e){return Ma(this).toSpliced(...e)},unshift(...e){return wr(this,"unshift",e)},values(){return ol(this,"values",e=>Yo(this,e))}};function ol(e,t,o){const n=ks(e),a=n[t]();return n!==e&&!vo(e)&&(a._next=a.next,a.next=()=>{const r=a._next();return r.done||(r.value=o(r.value)),r}),a}const Km=Array.prototype;function $n(e,t,o,n,a,r){const s=ks(e),i=s!==e&&!vo(e),l=s[t];if(l!==Km[t]){const p=l.apply(e,r);return i?No(p):p}let c=o;s!==e&&(i?c=function(p,f){return o.call(this,Yo(e,p),f,e)}:o.length>2&&(c=function(p,f){return o.call(this,p,f,e)}));const u=l.call(s,c,n);return i&&a?a(u):u}function ju(e,t,o,n){const a=ks(e),r=a!==e&&!vo(e);let s=o,i=!1;a!==e&&(r?(i=n.length===0,s=function(c,u,p){return i&&(i=!1,c=Yo(e,c)),o.call(this,c,Yo(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?Yo(e,l):l}function nl(e,t,o){const n=rt(e);ro(n,"iterate",vr);const a=n[t](...o);return(a===-1||a===!1)&&Ls(o[0])?(o[0]=rt(o[0]),n[t](...o)):a}function wr(e,t,o=[]){qo(),Zi();const n=rt(e)[t].apply(e,o);return Ji(),Vo(),n}const qm=Ui("__proto__,__v_isRef,__isVue"),Bu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(yo));function Vm(e){yo(e)||(e=String(e));const t=rt(this);return ro(t,"has",e),t.hasOwnProperty(e)}class Gu{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?Vu:qu:r?Ku:Wu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const s=Ke(t);if(!a){let l;if(s&&(l=Wm[o]))return l;if(o==="hasOwnProperty")return Vm}const i=Reflect.get(t,o,Tt(t)?t:n);if((yo(o)?Bu.has(o):qm(o))||(a||ro(t,"get",o),r))return i;if(Tt(i)){const l=s&&hs(o)?i:i.value;return a&&mt(l)?kr(l):l}return mt(i)?a?kr(i):Ra(i):i}}class Hu extends Gu{constructor(t=!1){super(!1,t)}set(t,o,n,a){let r=t[o];const s=Ke(t)&&hs(o);if(!this._isShallow){const c=yn(r);if(!vo(n)&&!yn(n)&&(r=rt(r),n=rt(n)),!s&&Tt(r)&&!Tt(n))return c||(r.value=n),!0}const i=s?Number(o)e,xs=e=>Reflect.getPrototypeOf(e);function Qm(e,t,o){return function(...n){const a=this.__v_raw,r=rt(a),s=On(r),i=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,c=a[e](...n),u=o?al:t?Na:No;return!t&&ro(r,"iterate",l?tl:na),Dt(Object.create(c),{next(){const{value:p,done:f}=c.next();return f?{value:p,done:f}:{value:i?[u(p[0]),u(p[1])]:u(p),done:f}}})}}function Ss(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function e0(e,t){const o={get(a){const r=this.__v_raw,s=rt(r),i=rt(a);e||(Ko(a,i)&&ro(s,"get",a),ro(s,"get",i));const{has:l}=xs(s),c=t?al:e?Na:No;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&&ro(rt(a),"iterate",na),a.size},has(a){const r=this.__v_raw,s=rt(r),i=rt(a);return e||(Ko(a,i)&&ro(s,"has",a),ro(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=rt(i),c=t?al:e?Na:No;return!e&&ro(l,"iterate",na),i.forEach((u,p)=>a.call(r,c(u),c(p),s))}};return Dt(o,e?{add:Ss("add"),set:Ss("set"),delete:Ss("delete"),clear:Ss("clear")}:{add(a){const r=rt(this),s=xs(r),i=rt(a),l=!t&&!vo(a)&&!yn(a)?i:a;return s.has.call(r,l)||Ko(a,l)&&s.has.call(r,a)||Ko(i,l)&&s.has.call(r,i)||(r.add(l),bn(r,"add",l,l)),this},set(a,r){!t&&!vo(r)&&!yn(r)&&(r=rt(r));const s=rt(this),{has:i,get:l}=xs(s);let c=i.call(s,a);c||(a=rt(a),c=i.call(s,a));const u=l.call(s,a);return s.set(a,r),c?Ko(r,u)&&bn(s,"set",a,r):bn(s,"add",a,r),this},delete(a){const r=rt(this),{has:s,get:i}=xs(r);let l=s.call(r,a);l||(a=rt(a),l=s.call(r,a)),i&&i.call(r,a);const c=r.delete(a);return l&&bn(r,"delete",a,void 0),c},clear(){const a=rt(this),r=a.size!==0,s=a.clear();return r&&bn(a,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(a=>{o[a]=Qm(a,e,t)}),o}function As(e,t){const o=e0(e,t);return(n,a,r)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?n:Reflect.get(ft(o,a)&&a in n?o:n,a,r)}const t0={get:As(!1,!1)},o0={get:As(!1,!0)},n0={get:As(!0,!1)},a0={get:As(!0,!0)},Wu=new WeakMap,Ku=new WeakMap,qu=new WeakMap,Vu=new WeakMap;function r0(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ra(e){return yn(e)?e:Ps(e,!1,Ym,t0,Wu)}function s0(e){return Ps(e,!1,Jm,o0,Ku)}function kr(e){return Ps(e,!0,Zm,n0,qu)}function oL(e){return Ps(e,!0,Xm,a0,Vu)}function Ps(e,t,o,n,a){if(!mt(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=r0(Mm(e));if(s===0)return e;const i=new Proxy(e,s===2?n:o);return a.set(e,i),i}function _n(e){return yn(e)?_n(e.__v_raw):!!(e&&e.__v_isReactive)}function yn(e){return!!(e&&e.__v_isReadonly)}function vo(e){return!!(e&&e.__v_isShallow)}function Ls(e){return e?!!e.__v_raw:!1}function rt(e){const t=e&&e.__v_raw;return t?rt(t):e}function Fa(e){return!ft(e,"__v_skip")&&Object.isExtensible(e)&&wu(e,"__v_skip",!0),e}const No=e=>mt(e)?Ra(e):e,Na=e=>mt(e)?kr(e):e;function Tt(e){return e?e.__v_isRef===!0:!1}function we(e){return Yu(e,!1)}function Ia(e){return Yu(e,!0)}function Yu(e,t){return Tt(e)?e:new i0(e,t)}class i0{constructor(t,o){this.dep=new el,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:rt(t),this._value=o?t:No(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||vo(t)||yn(t);t=n?t:rt(t),Ko(t,o)&&(this._rawValue=t,this._value=n?t:No(t),this.dep.trigger())}}function ge(e){return Tt(e)?e.value:e}const l0={get:(e,t,o)=>t==="__v_raw"?e:ge(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const a=e[t];return Tt(a)&&!Tt(o)?(a.value=o,!0):Reflect.set(e,t,o,n)}};function Zu(e){return _n(e)?e:new Proxy(e,l0)}function c0(e){const t=Ke(e)?new Array(e.length):{};for(const o in e)t[o]=Ju(e,o);return t}class u0{constructor(t,o,n){this._object=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=yo(o)?o:String(o),this._raw=rt(t);let a=!0,r=t;if(!Ke(t)||yo(this._key)||!hs(this._key))do a=!Ls(r)||vo(r);while(a&&(r=r.__v_raw));this._shallow=a}get value(){let t=this._object[this._key];return this._shallow&&(t=ge(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Tt(this._raw[this._key])){const o=this._object[this._key];if(Tt(o)){o.value=t;return}}this._object[this._key]=t}get dep(){return Um(this._raw,this._key)}}class d0{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 Cs(e,t,o){return Tt(e)?e:Ze(e)?new d0(e):mt(e)&&arguments.length>1?Ju(e,t,o):we(e)}function Ju(e,t,o){return new u0(e,t,o)}class p0{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new el(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=yr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&St!==this)return Ru(this,!0),!0}get value(){const t=this.dep.track();return Iu(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function g0(e,t,o=!1){let n,a;return Ze(e)?n=e:(n=e.get,a=e.set),new p0(n,a,o)}const Ts={},Es=new WeakMap;let aa;function f0(e,t=!1,o=aa){if(o){let n=Es.get(o);n||Es.set(o,n=[]),n.push(e)}}function h0(e,t,o=wt){const{immediate:n,deep:a,once:r,scheduler:s,augmentJob:i,call:l}=o,c=d=>a?d:vo(d)||a===!1||a===0?vn(d,1):vn(d);let u,p,f,x,S=!1,y=!1;if(Tt(e)?(p=()=>e.value,S=vo(e)):_n(e)?(p=()=>c(e),S=!0):Ke(e)?(y=!0,S=e.some(d=>_n(d)||vo(d)),p=()=>e.map(d=>{if(Tt(d))return d.value;if(_n(d))return c(d);if(Ze(d))return l?l(d,2):d()})):Ze(e)?t?p=l?()=>l(e,2):e:p=()=>{if(f){qo();try{f()}finally{Vo()}}const d=aa;aa=u;try{return l?l(e,3,[x]):e(x)}finally{aa=d}}:p=Wo,t&&a){const d=p,w=a===!0?1/0:a;p=()=>vn(d(),w)}const h=Tu(),_=()=>{u.stop(),h&&h.active&&Wi(h.effects,u)};if(r&&t){const d=t;t=(...w)=>{const m=d(...w);return _(),m}}let g=y?new Array(e.length).fill(Ts):Ts;const b=d=>{if(!(!(u.flags&1)||!u.dirty&&!d))if(t){const w=u.run();if(d||a||S||(y?w.some((m,k)=>Ko(m,g[k])):Ko(w,g))){f&&f();const m=aa;aa=u;try{const k=[w,g===Ts?void 0:y&&g[0]===Ts?[]:g,x];g=w,l?l(t,3,k):t(...k)}finally{aa=m}}}else u.run()};return i&&i(b),u=new Eu(p),u.scheduler=s?()=>s(b,!1):b,x=d=>f0(d,!1,u),f=u.onStop=()=>{const d=Es.get(u);if(d){if(l)l(d,4);else for(const w of d)w();Es.delete(u)}},t?n?b(!0):g=u.run():s?s(b.bind(null,!0),!0):u.run(),_.pause=u.pause.bind(u),_.resume=u.resume.bind(u),_.stop=_,_}function vn(e,t=1/0,o){if(t<=0||!mt(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,Tt(e))vn(e.value,t,o);else if(Ke(e))for(let n=0;n{vn(n,t,o)});else if(fs(e)){for(const n in e)vn(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&vn(e[n],t,o)}return e}/** * @vue/runtime-core v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const xr=[];let rl=!1;function nL(e,...t){if(rl)return;rl=!0,qo();const o=xr.length?xr[xr.length-1].component:null,n=o&&o.appContext.config.warnHandler,a=m0();if(n)Oa(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 <${Jd(o,r.type)}>`).join(` `),a]);else{const r=[`[Vue warn]: ${e}`,...t];a.length&&r.push(` `,...b0(a)),console.warn(...r)}Vo(),rl=!1}function m0(){let e=xr[xr.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 b0(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[` -`],...$0(o))}),t}function $0({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,a=` at <${Jd(e.component,e.type,n)}`,r=">"+o;return e.props?[a,..._0(e.props),r]:[a+r]}function _0(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...Xu(n,e[n]))}),o.length>3&&t.push(" ..."),t}function Xu(e,t,o){return xt(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:Tt(t)?(t=Xu(e,rt(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):Ze(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=rt(t),o?t:[`${e}=`,t])}function Oa(e,t,o,n){try{return n?e(...n):e()}catch(a){Sr(a,t,o)}}function Io(e,t,o,n){if(Ze(e)){const a=Oa(e,t,o,n);return a&&yu(a)&&a.catch(r=>{Sr(r,t,o)}),a}if(Ke(e)){const a=[];for(let r=0;r>>1,a=lo[n],r=Ar(a);r=Ar(o)?lo.push(e):lo.splice(v0(t),0,e),e.flags|=1,ed()}}function ed(){Ms||(Ms=Qu.then(nd))}function w0(e){if(!Ke(e))Dn&&e.id===-1?Dn.splice(za+1,0,e):e.flags&1||(Da.push(e),e.flags|=1);else for(let t=0;tAr(o)-Ar(n));if(Da.length=0,Dn){for(let o=0;oe.id==null?e.flags&2?-1:1/0:e.id;function nd(e){try{for(Zo=0;Zo{n._d&&Us(-1);const r=Rs(t),s=kn.length;let i;try{i=e(...a)}finally{for(let l=kn.length;l>s;l--)kl();Rs(r),n._d&&Us(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function Fs(e,t){if(eo===null)return e;const o=Vs(eo),n=e.dirs||(e.dirs=[]);for(let a=0;a1)return o&&Ze(t)?t.call(n&&n.proxy):t}}function k0(){return!!(Lo()||la)}const x0=Symbol.for("v-scx"),S0=()=>je(x0);function rd(e,t){return il(e,null,t)}function Ue(e,t,o){return il(e,t,o)}function il(e,t,o=wt){const{immediate:n,deep:a,flush:r,once:s}=o,i=Dt({},o),l=t&&n||!t&&r!=="post";let c;if(Ga){if(r==="sync"){const x=S0();c=x.__watcherHandles||(x.__watcherHandles=[])}else if(!l){const x=()=>{};return x.stop=Wo,x.resume=Wo,x.pause=Wo,x}}const u=to;i.call=(x,S,y)=>Io(x,u,S,y);let p=!1;r==="post"?i.scheduler=x=>{uo(x,u&&u.suspense)}:r!=="sync"&&(p=!0,i.scheduler=(x,S)=>{S?x():sl(x)}),i.augmentJob=x=>{t&&(x.flags|=4),p&&(x.flags|=2,u&&(x.id=u.uid,x.i=u))};const f=h0(e,t,i);return Ga&&(c?c.push(f):l&&f()),f}function A0(e,t,o){const n=this.proxy,a=xt(e)?e.includes(".")?sd(n,e):()=>n[e]:e.bind(n,n);let r;Ze(t)?r=t:(r=t.handler,o=t);const s=Ir(this),i=il(a,r.bind(n),o);return s(),i}function sd(e,t){const o=t.split(".");return()=>{let n=e;for(let a=0;ae.__isTeleport,sa=e=>e&&(e.disabled||e.disabled===""),P0=e=>e&&(e.defer||e.defer===""),ld=e=>typeof SVGElement<"u"&&e instanceof SVGElement,cd=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ll=(e,t)=>{const o=e&&e.to;return xt(o)?t?t(o):null:o},L0={name:"Teleport",__isTeleport:!0,process(e,t,o,n,a,r,s,i,l,c){const{mc:u,pc:p,pbc:f,o:{insert:x,querySelector:S,createText:y,createComment:h,parentNode:_}}=c,g=sa(t.props);let{dynamicChildren:b}=t;const d=(k,E,L)=>{k.shapeFlag&16&&u(k.children,E,L,a,r,s,i,l)},w=(k=t)=>{const E=sa(k.props),L=k.target=ll(k.props,S),H=cl(L,k,y,x);L&&(s!=="svg"&&ld(L)?s="svg":s!=="mathml"&&cd(L)&&(s="mathml"),a&&a.isCE&&(a.ce._teleportTargets||(a.ce._teleportTargets=new Set)).add(L),E||(d(k,L,H),Pr(k,!1)))},m=k=>{const E=()=>{if(zn.get(k)===E){if(zn.delete(k),sa(k.props)){const L=_(k.el)||o;d(k,L,k.anchor),Pr(k,!0)}w(k)}};zn.set(k,E),uo(E,r)};if(e==null){const k=t.el=y(""),E=t.anchor=y("");if(x(k,o,n),x(E,o,n),P0(t.props)||r&&r.pendingBranch){m(t);return}g&&(d(t,o,E),Pr(t,!0)),w()}else{t.el=e.el;const k=t.anchor=e.anchor,E=zn.get(e);if(E){E.flags|=8,zn.delete(e),m(t);return}t.targetStart=e.targetStart;const L=t.target=e.target,H=t.targetAnchor=e.targetAnchor,K=sa(e.props),J=K?o:L,v=K?k:H;if(s==="svg"||ld(L)?s="svg":(s==="mathml"||cd(L))&&(s="mathml"),b?(f(e.dynamicChildren,b,J,a,r,s,i),vl(e,t,!0)):l||p(e,t,J,v,a,r,s,i,!1),g)K?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Is(t,o,k,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=ll(t.props,S);N&&(t.target=N,Is(t,N,null,c,0))}else K&&Is(t,L,H,c,1);Pr(t,g)}},remove(e,t,o,{um:n,o:{remove:a}},r){const{shapeFlag:s,children:i,anchor:l,targetStart:c,targetAnchor:u,target:p,props:f}=e,x=sa(f),S=r||!x,y=zn.get(e);if(y&&(y.flags|=8,zn.delete(e)),p&&(a(c),a(u)),r&&a(l),!y&&(x||p)&&s&16)for(let h=0;h1){for(const o of e)if(o.type!==Xo){t=o;break}}return t}function ud(e){if(!zs(e))return Ns(e.type)&&e.children?E0(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&&Ze(o.default))return o.default()}}function dl(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const o=e.component.subTree;dl(Ns(o.type)&&ud(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 jn(e,t){return Ze(e)?Dt({name:e.name},t,{setup:e}):e}function pl(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function dd(e,t){let o;return!!((o=Object.getOwnPropertyDescriptor(e,t))&&!o.configurable)}const Os=new WeakMap;function Lr(e,t,o,n,a=!1){if(Ke(e)){e.forEach((y,h)=>Lr(y,t&&(Ke(t)?t[h]:t),o,n,a));return}if(ja(n)&&!a){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Lr(e,t,o,n.component.subTree);return}const r=n.shapeFlag&4?Vs(n.component):n.el,s=a?null:r,{i,r:l}=e,c=t&&t.r,u=i.refs===wt?i.refs={}:i.refs,p=i.setupState,f=rt(p),x=p===wt?$u:y=>dd(u,y)?!1:ft(f,y),S=(y,h)=>!(h&&dd(u,h));if(c!=null&&c!==l){if(pd(t),xt(c))u[c]=null,x(c)&&(p[c]=null);else if(Tt(c)){const y=t;S(c,y.k)&&(c.value=null),y.k&&(u[y.k]=null)}}if(Ze(l))Oa(l,i,12,[s,u]);else{const y=xt(l),h=Tt(l);if(y||h){const _=()=>{if(e.f){const g=y?x(l)?p[l]:u[l]:S()||!e.k?l.value:u[e.k];if(a)Ke(g)&&Wi(g,r);else if(Ke(g))g.includes(r)||g.push(r);else if(y)u[l]=[r],x(l)&&(p[l]=u[l]);else{const b=[r];S(l,e.k)&&(l.value=b),e.k&&(u[e.k]=b)}}else y?(u[l]=s,x(l)&&(p[l]=s)):h&&(S(l,e.k)&&(l.value=s),e.k&&(u[e.k]=s))};if(s){const g=()=>{_(),Os.delete(e)};g.id=-1,Os.set(e,g),uo(g,o)}else pd(e),_()}}}function pd(e){const t=Os.get(e);t&&(t.flags|=8,Os.delete(e))}const gd=e=>e.nodeType===8;_s().requestIdleCallback,_s().cancelIdleCallback;function M0(e,t){if(gd(e)&&e.data==="["){let o=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(gd(n))if(n.data==="]"){if(--o===0)break}else n.data==="["&&o++;n=n.nextSibling}}else t(e)}const ja=e=>!!e.type.__asyncLoader;function R0(e){Ze(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 f=()=>(p++,c=null,x()),x=()=>{let S;return c||(S=c=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),l)return new Promise((h,_)=>{l(y,()=>h(f()),()=>_(y),p+1)});throw y}).then(y=>S!==c&&c?c:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),u=y,y)))};return jn({name:"AsyncComponentWrapper",__asyncLoader:x,__asyncHydrate(S,y,h){const _=S.isConnected;let g=!1;(y.bu||(y.bu=[])).push(()=>g=!0);const b=()=>{g||!S.parentNode||_&&!S.isConnected||h()},d=r?()=>{const w=r(b,m=>M0(S,m));w&&(y.bum||(y.bum=[])).push(w)}:b;u?d():x().then(()=>!y.isUnmounted&&d())},get __asyncResolved(){return u},setup(){const S=to;if(pl(S),u)return()=>Ds(u,S);const y=w=>{c=null,Sr(w,S,13,!n)};if(i&&S.suspense||Ga)return x().then(w=>()=>Ds(w,S)).catch(w=>(y(w),()=>n?ut(n,{error:w}):null));const h=we(!1),_=we(),g=we(!!a);let b,d;return Bs(()=>{b!=null&&clearTimeout(b),d!=null&&clearTimeout(d)}),a&&(d=setTimeout(()=>{S.isUnmounted||(g.value=!1)},a)),s!=null&&(b=setTimeout(()=>{if(!S.isUnmounted&&!h.value&&!_.value){const w=new Error(`Async component timed out after ${s}ms.`);y(w),_.value=w}},s)),x().then(()=>{S.isUnmounted||(h.value=!0,S.parent&&zs(S.parent.vnode)&&S.parent.update())}).catch(w=>{if(S.isUnmounted){c=null;return}y(w),_.value=w}),()=>{if(h.value&&u)return Ds(u,S);if(_.value&&n)return ut(n,{error:_.value});if(o&&!g.value)return Ds(o,S)}}})}function Ds(e,t){const{ref:o,props:n,children:a,ce:r}=t.vnode,s=ut(e,n,a);return s.ref=o,s.ce=r,delete t.vnode.ce,s}const zs=e=>e.type.__isKeepAlive;function F0(e,t){fd(e,"a",t)}function N0(e,t){fd(e,"da",t)}function fd(e,t,o=to){const n=e.__wdc||(e.__wdc=()=>{let a=o;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(js(t,n,o),o){let a=o.parent;for(;a&&a.parent;)zs(a.parent.vnode)&&I0(n,t,o,a),a=a.parent}}function I0(e,t,o,n){const a=js(t,e,n,!0);Bs(()=>{Wi(n[t],a)},o)}function js(e,t,o=to,n=!1){if(o){const a=o[e]||(o[e]=[]),r=t.__weh||(t.__weh=(...s)=>{qo();const i=Ir(o),l=Io(t,o,e,s);return i(),Vo(),l});return n?a.unshift(r):a.push(r),r}}const wn=e=>(t,o=to)=>{(!Ga||e==="sp")&&js(e,(...n)=>t(...n),o)},hd=wn("bm"),Jo=wn("m"),O0=wn("bu"),D0=wn("u"),vo=wn("bum"),Bs=wn("um"),z0=wn("sp"),j0=wn("rtg"),B0=wn("rtc");function G0(e,t=to){js("ec",e,t)}const H0="components",md=Symbol.for("v-ndc");function bd(e){return xt(e)?U0(H0,e,!1)||e:e||md}function U0(e,t,o=!0,n=!1){const a=eo||to;if(a){const r=a.type;{const i=Zd(r,!1);if(i&&(i===t||i===Zt(t)||i===bs(Zt(t))))return r}const s=$d(a[e]||r[e],t)||$d(a.appContext[e],t);return!s&&n?r:s}}function $d(e,t){return e&&(e[t]||e[Zt(t)]||e[bs(Zt(t))])}function so(e,t,o,n){let a;const r=o,s=Ke(e);if(s||xt(e)){const i=s&&_n(e);let l=!1,c=!1;i&&(l=!yo(e),c=yn(e),e=ks(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),re(),it(et,null,[ut("slot",c,n)],u?-2:64)}let s=e[t];s&&s._c&&(s._d=!1);const i=kn.length;re();let l;try{const c=s&&_d(s(o)),u=o.key||r||c&&c.key;l=it(et,{key:(u&&!_o(u)?u:`_${t}`)+(!c&&n?"_fb":"")},c||(n?n():[]),c&&e._===1?64:-2)}catch(c){for(let u=kn.length;u>i;u--)kl();throw c}finally{s&&s._c&&(s._d=!0)}return!a&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function _d(e){return e.some(t=>Rr(t)?!(t.type===Xo||t.type===et&&!_d(t.children)):!0)?e:null}const gl=e=>e?qd(e)?Vs(e):gl(e.parent):null,Cr=Dt(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=>gl(e.parent),$root:e=>gl(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>kd(e),$forceUpdate:e=>e.f||(e.f=()=>{sl(e.update)}),$nextTick:e=>e.n||(e.n=Qt.bind(e.proxy)),$watch:e=>A0.bind(e)}),fl=(e,t)=>e!==wt&&!e.__isScriptSetup&&ft(e,t),W0={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:a,props:r,accessCache:s,type:i,appContext:l}=e;if(t[0]!=="$"){const f=s[t];if(f!==void 0)switch(f){case 1:return n[t];case 2:return a[t];case 4:return o[t];case 3:return r[t]}else{if(fl(n,t))return s[t]=1,n[t];if(a!==wt&&ft(a,t))return s[t]=2,a[t];if(ft(r,t))return s[t]=3,r[t];if(o!==wt&&ft(o,t))return s[t]=4,o[t];hl&&(s[t]=0)}}const c=Cr[t];let u,p;if(c)return t==="$attrs"&&ro(e.attrs,"get",""),c(e);if((u=i.__cssModules)&&(u=u[t]))return u;if(o!==wt&&ft(o,t))return s[t]=4,o[t];if(p=l.config.globalProperties,ft(p,t))return p[t]},set({_:e},t,o){const{data:n,setupState:a,ctx:r}=e;return fl(a,t)?(a[t]=o,!0):n!==wt&&ft(n,t)?(n[t]=o,!0):ft(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!==wt&&i[0]!=="$"&&ft(e,i)||fl(t,i)||ft(r,i)||ft(n,i)||ft(Cr,i)||ft(a.config.globalProperties,i)||(l=s.__cssModules)&&l[i])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:ft(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function yd(e){return Ke(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let hl=!0;function K0(e){const t=kd(e),o=e.proxy,n=e.ctx;hl=!1,t.beforeCreate&&vd(t.beforeCreate,e,"bc");const{data:a,computed:r,methods:s,watch:i,provide:l,inject:c,created:u,beforeMount:p,mounted:f,beforeUpdate:x,updated:S,activated:y,deactivated:h,beforeDestroy:_,beforeUnmount:g,destroyed:b,unmounted:d,render:w,renderTracked:m,renderTriggered:k,errorCaptured:E,serverPrefetch:L,expose:H,inheritAttrs:K,components:J,directives:v,filters:N}=t;if(c&&q0(c,n,null),s)for(const I in s){const F=s[I];Ze(F)&&(n[I]=F.bind(o))}if(a){const I=a.call(o,o);mt(I)&&(e.data=Ra(I))}if(hl=!0,r)for(const I in r){const F=r[I],W=Ze(F)?F.bind(o,o):Ze(F.get)?F.get.bind(o,o):Wo,z=!Ze(F)&&Ze(F.set)?F.set.bind(o):Wo,Z=oe({get:W,set:z});Object.defineProperty(n,I,{enumerable:!0,configurable:!0,get:()=>Z.value,set:j=>Z.value=j})}if(i)for(const I in i)wd(i[I],n,o,I);if(l){const I=Ze(l)?l.call(o):l;Reflect.ownKeys(I).forEach(F=>{zt(F,I[F])})}u&&vd(u,e,"c");function A(I,F){Ke(F)?F.forEach(W=>I(W.bind(o))):F&&I(F.bind(o))}if(A(hd,p),A(Jo,f),A(O0,x),A(D0,S),A(F0,y),A(N0,h),A(G0,E),A(B0,m),A(j0,k),A(vo,g),A(Bs,d),A(z0,L),Ke(H))if(H.length){const I=e.exposed||(e.exposed={});H.forEach(F=>{Object.defineProperty(I,F,{get:()=>o[F],set:W=>o[F]=W,enumerable:!0})})}else e.exposed||(e.exposed={});w&&e.render===Wo&&(e.render=w),K!=null&&(e.inheritAttrs=K),J&&(e.components=J),v&&(e.directives=v),L&&pl(e)}function q0(e,t,o=Wo){Ke(e)&&(e=ml(e));for(const n in e){const a=e[n];let r;mt(a)?"default"in a?r=je(a.from||n,a.default,!0):r=je(a.from||n):r=je(a),Tt(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:s=>r.value=s}):t[n]=r}}function vd(e,t,o){Io(Ke(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function wd(e,t,o,n){let a=n.includes(".")?sd(o,n):()=>o[n];if(xt(e)){const r=t[e];Ze(r)&&Ue(a,r)}else if(Ze(e))Ue(a,e.bind(o));else if(mt(e))if(Ke(e))e.forEach(r=>wd(r,t,o,n));else{const r=Ze(e.handler)?e.handler.bind(o):t[e.handler];Ze(r)&&Ue(a,r,e)}}function kd(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=>Gs(l,c,s,!0)),Gs(l,t,s)),mt(t)&&r.set(t,l),l}function Gs(e,t,o,n=!1){const{mixins:a,extends:r}=t;r&&Gs(e,r,o,!0),a&&a.forEach(s=>Gs(e,s,o,!0));for(const s in t)if(!(n&&s==="expose")){const i=V0[s]||o&&o[s];e[s]=i?i(e[s],t[s]):t[s]}return e}const V0={data:xd,props:Sd,emits:Sd,methods:Tr,computed:Tr,beforeCreate:co,created:co,beforeMount:co,mounted:co,beforeUpdate:co,updated:co,beforeDestroy:co,beforeUnmount:co,destroyed:co,unmounted:co,activated:co,deactivated:co,errorCaptured:co,serverPrefetch:co,components:Tr,directives:Tr,watch:Z0,provide:xd,inject:Y0};function xd(e,t){return t?e?function(){return Dt(Ze(e)?e.call(this,this):e,Ze(t)?t.call(this,this):t)}:t:e}function Y0(e,t){return Tr(ml(e),ml(t))}function ml(e){if(Ke(e)){const t={};for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Zt(t)}Modifiers`]||e[`${Po(t)}Modifiers`];function eb(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||wt;let a=o;const r=t.startsWith("update:"),s=r&&Q0(n,t.slice(7));s&&(s.trim&&(a=o.map(u=>xt(u)?u.trim():u)),s.number&&(a=a.map(qi)));let i,l=n[i=Ki(t)]||n[i=Ki(Zt(t))];!l&&r&&(l=n[i=Ki(Po(t))]),l&&Io(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,Io(c,e,6,a)}}const tb=new WeakMap;function Pd(e,t,o=!1){const n=o?tb:t.emitsCache,a=n.get(e);if(a!==void 0)return a;const r=e.emits;let s={},i=!1;if(!Ze(e)){const l=c=>{const u=Pd(c,t,!0);u&&(i=!0,Dt(s,u))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!i?(mt(e)&&n.set(e,null),null):(Ke(r)?r.forEach(l=>s[l]=null):Dt(s,r),mt(e)&&n.set(e,s),s)}function Hs(e,t){return!e||!ds(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),ft(e,t[0].toLowerCase()+t.slice(1))||ft(e,Po(t))||ft(e,t))}function aL(){}function Ld(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:f,setupState:x,ctx:S,inheritAttrs:y}=e,h=Rs(e);let _,g;try{if(o.shapeFlag&4){const d=a||n,w=d;_=Qo(c.call(w,d,u,p,x,f,S)),g=i}else{const d=t;_=Qo(d.length>1?d(p,{attrs:i,slots:s,emit:l}):d(p,null)),g=t.props?i:ob(i)}}catch(d){kn.length=0,Sr(d,e,1),_=ut(Xo)}let b=_;if(g&&y!==!1){const d=Object.keys(g),{shapeFlag:w}=b;d.length&&w&7&&(r&&d.some(ps)&&(g=nb(g,r)),b=Ba(b,g,!1,!0))}if(o.dirs&&(b=Ba(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(o.dirs):o.dirs),o.transition){const d=Ns(b.type)&&ud(b)||b;dl(d,o.transition)}return _=b,Rs(h),_}const ob=e=>{let t;for(const o in e)(o==="class"||o==="style"||ds(o))&&((t||(t={}))[o]=e[o]);return t},nb=(e,t)=>{const o={};for(const n in e)(!ps(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function ab(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?Cd(n,s,c):!!s;if(l&8){const u=t.dynamicProps;for(let p=0;pObject.create(Ed),Rd=e=>Object.getPrototypeOf(e)===Ed;function sb(e,t,o,n=!1){const a={},r=Md();e.propsDefaults=Object.create(null),Fd(e,t,a,r);for(const s in e.propsOptions[0])s in a||(a[s]=void 0);o?e.props=n?a:s0(a):e.type.props?e.props=a:e.props=r,e.attrs=r}function ib(e,t,o,n){const{props:a,attrs:r,vnode:{patchFlag:s}}=e,i=rt(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[f,x]=Nd(p,t,!0);Dt(s,f),x&&i.push(...x)};!o&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!l)return mt(e)&&n.set(e,Ea),Ea;if(Ke(r))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",_l=e=>Ke(e)?e.map(Qo):[Qo(e)],cb=(e,t,o)=>{if(t._n)return t;const n=ho((...a)=>_l(t(...a)),o);return n._c=!1,n},Od=(e,t,o)=>{const n=e._ctx;for(const a in e){if($l(a))continue;const r=e[a];if(Ze(r))t[a]=cb(a,r,n);else if(r!=null){const s=_l(r);t[a]=()=>s}}},Dd=(e,t)=>{const o=_l(t);e.slots.default=()=>o},zd=(e,t,o)=>{for(const n in t)(o||!$l(n))&&(e[n]=t[n])},ub=(e,t,o)=>{const n=e.slots=Md();if(e.vnode.shapeFlag&32){const a=t._;a?(zd(n,t,o),o&&wu(n,"_",a,!0)):Od(t,n)}else t&&Dd(e,t)},db=(e,t,o)=>{const{vnode:n,slots:a}=e;let r=!0,s=wt;if(n.shapeFlag&32){const i=t._;i?o&&i===1?r=!1:zd(a,t,o):(r=!t.$stable,Od(t,a)),s=t}else t&&(Dd(e,t),s={default:1});if(r)for(const i in a)!$l(i)&&s[i]==null&&delete a[i]},uo=mb;function pb(e){return gb(e)}function gb(e,t){const o=_s();o.__VUE__=!0;const{insert:n,remove:a,patchProp:r,createElement:s,createText:i,createComment:l,setText:c,setElementText:u,parentNode:p,nextSibling:f,setScopeId:x=Wo,insertStaticContent:S}=e,y=(M,O,B,V=null,se=null,G=null,ue=void 0,me=null,T=!!O.dynamicChildren)=>{if(M===O)return;M&&!Fr(M,O)&&(V=Ae(M),j(M,se,G,!0),M=null),O.patchFlag===-2&&(T=!1,O.dynamicChildren=null);const{type:P,ref:Q,shapeFlag:le}=O;switch(P){case Er:h(M,O,B,V);break;case Xo:_(M,O,B,V);break;case wl:M==null&&g(O,B,V,ue);break;case et:J(M,O,B,V,se,G,ue,me,T);break;default:le&1?w(M,O,B,V,se,G,ue,me,T):le&6?v(M,O,B,V,se,G,ue,me,T):(le&64||le&128)&&P.process(M,O,B,V,se,G,ue,me,T,pe)}Q!=null&&se?Lr(Q,M&&M.ref,G,O||M,!O):Q==null&&M&&M.ref!=null&&Lr(M.ref,null,G,M,!0)},h=(M,O,B,V)=>{if(M==null)n(O.el=i(O.children),B,V);else{const se=O.el=M.el;O.children!==M.children&&c(se,O.children)}},_=(M,O,B,V)=>{M==null?n(O.el=l(O.children||""),B,V):O.el=M.el},g=(M,O,B,V)=>{[M.el,M.anchor]=S(M.children,O,B,V,M.el,M.anchor)},b=({el:M,anchor:O},B,V)=>{let se;for(;M&&M!==O;)se=f(M),n(M,B,V),M=se;n(O,B,V)},d=({el:M,anchor:O})=>{let B;for(;M&&M!==O;)B=f(M),a(M),M=B;a(O)},w=(M,O,B,V,se,G,ue,me,T)=>{if(O.type==="svg"?ue="svg":O.type==="math"&&(ue="mathml"),M==null)m(O,B,V,se,G,ue,me,T);else{const P=M.el&&M.el._isVueCE?M.el:null;try{P&&P._beginPatch(),L(M,O,se,G,ue,me,T)}finally{P&&P._endPatch()}}},m=(M,O,B,V,se,G,ue,me)=>{let T,P;const{props:Q,shapeFlag:le,transition:ve,dirs:de}=M;if(T=M.el=s(M.type,G,Q&&Q.is,Q),le&8?u(T,M.children):le&16&&E(M.children,T,null,V,se,yl(M,G),ue,me),de&&ra(M,null,V,"created"),k(T,M,M.scopeId,ue,V),Q){for(const ne in Q)ne!=="value"&&!br(ne)&&r(T,ne,null,Q[ne],G,V);"value"in Q&&r(T,"value",null,Q.value,G),(P=Q.onVnodeBeforeMount)&&en(P,V,M)}de&&ra(M,null,V,"beforeMount");const U=fb(se,ve);U&&ve.beforeEnter(T),n(T,O,B),((P=Q&&Q.onVnodeMounted)||U||de)&&uo(()=>{try{P&&en(P,V,M),U&&ve.enter(T),de&&ra(M,null,V,"mounted")}finally{}},se)},k=(M,O,B,V,se)=>{if(B&&x(M,B),V)for(let G=0;G{for(let P=T;P{const me=O.el=M.el;let{patchFlag:T,dynamicChildren:P,dirs:Q}=O;T|=M.patchFlag&16;const le=M.props||wt,ve=O.props||wt;let de;if(B&&ca(B,!1),(de=ve.onVnodeBeforeUpdate)&&en(de,B,O,M),Q&&ra(O,M,B,"beforeUpdate"),B&&ca(B,!0),P&&(!M.dynamicChildren||M.dynamicChildren.length!==P.length)&&(T=0,ue=!1,P=null),(le.innerHTML&&ve.innerHTML==null||le.textContent&&ve.textContent==null)&&u(me,""),P?H(M.dynamicChildren,P,me,B,V,yl(O,se),G):ue||F(M,O,me,null,B,V,yl(O,se),G,!1),T>0){if(T&16)K(me,le,ve,B,se);else if(T&2&&le.class!==ve.class&&r(me,"class",null,ve.class,se),T&4&&r(me,"style",le.style,ve.style,se),T&8){const U=O.dynamicProps;for(let ne=0;ne{de&&en(de,B,O,M),Q&&ra(O,M,B,"updated")},V)},H=(M,O,B,V,se,G,ue)=>{for(let me=0;me{if(O!==B){if(O!==wt)for(const G in O)!br(G)&&!(G in B)&&r(M,G,O[G],null,se,V);for(const G in B){if(br(G))continue;const ue=B[G],me=O[G];ue!==me&&G!=="value"&&r(M,G,me,ue,se,V)}"value"in B&&r(M,"value",O.value,B.value,se)}},J=(M,O,B,V,se,G,ue,me,T)=>{const P=O.el=M?M.el:i(""),Q=O.anchor=M?M.anchor:i("");let{patchFlag:le,dynamicChildren:ve,slotScopeIds:de}=O;de&&(me=me?me.concat(de):de),M==null?(n(P,B,V),n(Q,B,V),E(O.children||[],B,Q,se,G,ue,me,T)):le>0&&le&64&&ve&&M.dynamicChildren&&M.dynamicChildren.length===ve.length?(H(M.dynamicChildren,ve,B,se,G,ue,me),(O.key!=null||se&&O===se.subTree)&&vl(M,O,!0)):F(M,O,B,Q,se,G,ue,me,T)},v=(M,O,B,V,se,G,ue,me,T)=>{O.slotScopeIds=me,M==null?O.shapeFlag&512?se.ctx.activate(O,B,V,ue,T):N(O,B,V,se,G,ue,T):$(M,O,T)},N=(M,O,B,V,se,G,ue)=>{const me=M.component=wb(M,V,se);if(zs(M)&&(me.ctx.renderer=pe),kb(me,!1,ue),me.asyncDep){if(se&&se.registerDep(me,A,ue),!M.el){const T=me.subTree=ut(Xo);_(null,T,O,B),M.placeholder=T.el}}else A(me,M,O,B,se,G,ue)},$=(M,O,B)=>{const V=O.component=M.component;if(ab(M,O,B))if(V.asyncDep&&!V.asyncResolved){I(V,O,B);return}else V.next=O,V.update();else O.el=M.el,V.vnode=O},A=(M,O,B,V,se,G,ue)=>{const me=()=>{if(M.isMounted){let{next:le,bu:ve,u:de,parent:U,vnode:ne}=M;{const $t=jd(M);if($t){le&&(le.el=ne.el,I(M,le,ue)),$t.asyncDep.then(()=>{uo(()=>{M.isUnmounted||P()},se)});return}}let Ee=le,Re;ca(M,!1),le?(le.el=ne.el,I(M,le,ue)):le=ne,ve&&$s(ve),(Re=le.props&&le.props.onVnodeBeforeUpdate)&&en(Re,U,le,ne),ca(M,!0);const tt=Ld(M),kt=M.subTree;M.subTree=tt,y(kt,tt,p(kt.el),Ae(kt),M,se,G),le.el=tt.el,Ee===null&&rb(M,tt.el),de&&uo(de,se),(Re=le.props&&le.props.onVnodeUpdated)&&uo(()=>en(Re,U,le,ne),se)}else{let le;const{el:ve,props:de}=O,{bm:U,m:ne,parent:Ee,root:Re,type:tt}=M,kt=ja(O);ca(M,!1),U&&$s(U),!kt&&(le=de&&de.onVnodeBeforeMount)&&en(le,Ee,O),ca(M,!0);{Re.ce&&Re.ce._hasShadowRoot()&&Re.ce._injectChildStyle(tt,M.parent?M.parent.type:void 0);const $t=M.subTree=Ld(M);y(null,$t,B,V,M,se,G),O.el=$t.el}if(ne&&uo(ne,se),!kt&&(le=de&&de.onVnodeMounted)){const $t=O;uo(()=>en(le,Ee,$t),se)}(O.shapeFlag&256||Ee&&ja(Ee.vnode)&&Ee.vnode.shapeFlag&256)&&M.a&&uo(M.a,se),M.isMounted=!0,O=B=V=null}};M.scope.on();const T=M.effect=new Eu(me);M.scope.off();const P=M.update=T.run.bind(T),Q=M.job=T.runIfDirty.bind(T);Q.i=M,Q.id=M.uid,T.scheduler=()=>sl(Q),ca(M,!0),P()},I=(M,O,B)=>{O.component=M;const V=M.vnode.props;M.vnode=O,M.next=null,ib(M,O.props,V,B),db(M,O.children,B),qo(),td(M),Vo()},F=(M,O,B,V,se,G,ue,me,T=!1)=>{const P=M&&M.children,Q=M?M.shapeFlag:0,le=O.children,{patchFlag:ve,shapeFlag:de}=O;if(ve>0){if(ve&128){z(P,le,B,V,se,G,ue,me,T);return}else if(ve&256){W(P,le,B,V,se,G,ue,me,T);return}}de&8?(Q&16&&xe(P,se,G),le!==P&&u(B,le)):Q&16?de&16?z(P,le,B,V,se,G,ue,me,T):xe(P,se,G,!0):(Q&8&&u(B,""),de&16&&E(le,B,V,se,G,ue,me,T))},W=(M,O,B,V,se,G,ue,me,T)=>{M=M||Ea,O=O||Ea;const P=M.length,Q=O.length,le=Math.min(P,Q);let ve;for(ve=0;veQ?xe(M,se,G,!0,!1,le):E(O,B,V,se,G,ue,me,T,le)},z=(M,O,B,V,se,G,ue,me,T)=>{let P=0;const Q=O.length;let le=M.length-1,ve=Q-1;for(;P<=le&&P<=ve;){const de=M[P],U=O[P]=T?xn(O[P]):Qo(O[P]);if(Fr(de,U))y(de,U,B,null,se,G,ue,me,T);else break;P++}for(;P<=le&&P<=ve;){const de=M[le],U=O[ve]=T?xn(O[ve]):Qo(O[ve]);if(Fr(de,U))y(de,U,B,null,se,G,ue,me,T);else break;le--,ve--}if(P>le){if(P<=ve){const de=ve+1,U=deve)for(;P<=le;)j(M[P],se,G,!0),P++;else{const de=P,U=P,ne=new Map;for(P=U;P<=ve;P++){const vt=O[P]=T?xn(O[P]):Qo(O[P]);vt.key!=null&&ne.set(vt.key,P)}let Ee,Re=0;const tt=ve-U+1;let kt=!1,$t=0;const Nt=new Array(tt);for(P=0;P=tt){j(vt,se,G,!0);continue}let Lt;if(vt.key!=null)Lt=ne.get(vt.key);else for(Ee=U;Ee<=ve;Ee++)if(Nt[Ee-U]===0&&Fr(vt,O[Ee])){Lt=Ee;break}Lt===void 0?j(vt,se,G,!0):(Nt[Lt-U]=P+1,Lt>=$t?$t=Lt:kt=!0,y(vt,O[Lt],B,null,se,G,ue,me,T),Re++)}const Yt=kt?hb(Nt):Ea;for(Ee=Yt.length-1,P=tt-1;P>=0;P--){const vt=U+P,Lt=O[vt],xo=O[vt+1],Go=vt+1{const{el:G,type:ue,transition:me,children:T,shapeFlag:P}=M;if(P&6){Z(M.component.subTree,O,B,V);return}if(P&128){M.suspense.move(O,B,V);return}if(P&64){ue.move(M,O,B,pe);return}if(ue===et){n(G,O,B);for(let le=0;leme.enter(G),se));else{const{leave:le,delayLeave:ve,afterLeave:de}=me,U=()=>{M.ctx.isUnmounted?a(G):n(G,O,B)},ne=()=>{const Ee=G._isLeaving||!!G[ul];G._isLeaving&&G[ul](!0),me.persisted&&!Ee?U():le(G,()=>{U(),de&&de()})};ve?ve(G,U,ne):ne()}else n(G,O,B)},j=(M,O,B,V=!1,se=!1)=>{const{type:G,props:ue,ref:me,children:T,dynamicChildren:P,shapeFlag:Q,patchFlag:le,dirs:ve,cacheIndex:de,memo:U}=M;if(le===-2&&(se=!1),me!=null&&(qo(),Lr(me,null,B,M,!0),Vo()),de!=null&&(O.renderCache[de]=void 0),Q&256){O.ctx.deactivate(M);return}const ne=Q&1&&ve,Ee=!ja(M);let Re;if(Ee&&(Re=ue&&ue.onVnodeBeforeUnmount)&&en(Re,O,M),Q&6)Te(M.component,B,V);else{if(Q&128){M.suspense.unmount(B,V);return}ne&&ra(M,null,O,"beforeUnmount"),Q&64?M.type.remove(M,O,B,pe,V):P&&!P.hasOnce&&(G!==et||le>0&&le&64)?xe(P,O,B,!1,!0):(G===et&&le&384||!se&&Q&16)&&xe(T,O,B),V&&ae(M)}const tt=U!=null&&de==null;(Ee&&(Re=ue&&ue.onVnodeUnmounted)||ne||tt)&&uo(()=>{Re&&en(Re,O,M),ne&&ra(M,null,O,"unmounted"),tt&&(M.el=null)},B)},ae=M=>{const{type:O,el:B,anchor:V,transition:se}=M;if(O===et){_e(B,V);return}if(O===wl){d(M);return}const G=()=>{a(B),se&&!se.persisted&&se.afterLeave&&se.afterLeave()};if(M.shapeFlag&1&&se&&!se.persisted){const{leave:ue,delayLeave:me}=se,T=()=>ue(B,G);me?me(M.el,G,T):T()}else G()},_e=(M,O)=>{let B;for(;M!==O;)B=f(M),a(M),M=B;a(O)},Te=(M,O,B)=>{const{bum:V,scope:se,job:G,subTree:ue,um:me,m:T,a:P}=M;Bd(T),Bd(P),V&&$s(V),se.stop(),G&&(G.flags|=8,j(ue,M,O,B)),me&&uo(me,O),uo(()=>{M.isUnmounted=!0},O)},xe=(M,O,B,V=!1,se=!1,G=0)=>{for(let ue=G;ue{if(M.shapeFlag&6)return Ae(M.component.subTree);if(M.shapeFlag&128)return M.suspense.next();const O=f(M.anchor||M.el),B=O&&O[id];return B?f(B):O};let X=!1;const q=(M,O,B)=>{let V;M==null?O._vnode&&(j(O._vnode,null,null,!0),V=O._vnode.component):y(O._vnode||null,M,O,null,null,null,B),O._vnode=M,X||(X=!0,td(V),od(),X=!1)},pe={p:y,um:j,m:Z,r:ae,mt:N,mc:E,pc:F,pbc:H,n:Ae,o:e};return{render:q,hydrate:void 0,createApp:X0(q)}}function yl({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 ca({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function fb(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function vl(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 jd(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:jd(t)}function Bd(e){if(e)for(let t=0;te.__isSuspense;function mb(e,t){t&&t.pendingBranch?Ke(e)?t.effects.push(...e):t.effects.push(e):w0(e)}const et=Symbol.for("v-fgt"),Er=Symbol.for("v-txt"),Xo=Symbol.for("v-cmt"),wl=Symbol.for("v-stc"),kn=[];let wo=null;function re(e=!1){kn.push(wo=e?null:[])}function kl(){kn.pop(),wo=kn[kn.length-1]||null}let Mr=1;function Us(e,t=!1){Mr+=e,e<0&&wo&&t&&(wo.hasOnce=!0)}function Ud(e){return e.dynamicChildren=Mr>0?wo||Ea:null,kl(),Mr>0&&wo&&wo.push(e),e}function he(e,t,o,n,a,r){return Ud(R(e,t,o,n,a,r,!0))}function it(e,t,o,n,a){return Ud(ut(e,t,o,n,a,!0))}function Rr(e){return e?e.__v_isVNode===!0:!1}function Fr(e,t){return e.type===t.type&&e.key===t.key}const Wd=({key:e})=>e??null,Ws=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?xt(e)||Tt(e)||Ze(e)?{i:eo,r:e,k:t,f:!!o}:e:null);function R(e,t=null,o=null,n=0,a=null,r=e===et?0:1,s=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Wd(t),ref:t&&Ws(t),scopeId:ad,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:eo};return i?(Ks(l,o),r&128&&e.normalize(l)):o&&(l.shapeFlag|=xt(o)?8:16),Mr>0&&!s&&wo&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&wo.push(l),l}const ut=bb;function bb(e,t=null,o=null,n=0,a=null,r=!1){if((!e||e===md)&&(e=Xo),Rr(e)){const i=Ba(e,t,!0);return o&&Ks(i,o),Mr>0&&!r&&wo&&(i.shapeFlag&6?wo[wo.indexOf(e)]=i:wo.push(i)),i.patchFlag=-2,i}if(Cb(e)&&(e=e.__vccOpts),t){t=$b(t);let{class:i,style:l}=t;i&&!xt(i)&&(t.class=Ge(i)),mt(l)&&(Ls(l)&&!Ke(l)&&(l=Dt({},l)),t.style=Ct(l))}const s=xt(e)?1:Hd(e)?128:Ns(e)?64:mt(e)?4:Ze(e)?2:0;return R(e,t,o,n,a,s,r,!0)}function $b(e){return e?Ls(e)||Rd(e)?Dt({},e):e:null}function Ba(e,t,o=!1,n=!1){const{props:a,ref:r,patchFlag:s,children:i,transition:l}=e,c=t?_b(a||{},t):a,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Wd(c),ref:t&&t.ref?o&&r?Ke(r)?r.concat(Ws(t)):[r,Ws(t)]:Ws(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!==et?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&&Ba(e.ssContent),ssFallback:e.ssFallback&&Ba(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&dl(u,l.clone(u)),u}function Bt(e=" ",t=0){return ut(Er,null,e,t)}function Me(e="",t=!1){return t?(re(),it(Xo,null,e)):ut(Xo,null,e)}function Qo(e){return e==null||typeof e=="boolean"?ut(Xo):Ke(e)?ut(et,null,e.slice()):Rr(e)?xn(e):ut(Er,null,String(e))}function xn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ba(e)}function Ks(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),Ks(e,a()),a._c&&(a._d=!0));return}else{o=32;const a=t._;!a&&!Rd(t)?t._ctx=eo:a===3&&eo&&(eo.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(Ze(t)){if(n&65){Ks(e,{default:t});return}t={default:t,_ctx:eo},o=32}else t=String(t),n&64?(o=16,t=[Bt(t)]):o=8;e.children=t,e.shapeFlag|=o}function _b(...e){const t={};for(let o=0;oto||eo;let qs,Nr;{const e=_s(),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)}};qs=t("__VUE_INSTANCE_SETTERS__",o=>to=o),Nr=t("__VUE_SSR_SETTERS__",o=>Ga=o)}const Ir=e=>{const t=to;return qs(e),e.scope.on(),()=>{e.scope.off(),qs(t)}},Kd=()=>{to&&to.scope.off(),qs(null)};function qd(e){return e.vnode.shapeFlag&4}let Ga=!1;function kb(e,t=!1,o=!1){t&&Nr(t);const{props:n,children:a}=e.vnode,r=qd(e);sb(e,n,r,t),ub(e,a,o||t);const s=r?xb(e,t):void 0;return t&&Nr(!1),s}function xb(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,W0);const{setup:n}=o;if(n){qo();const a=e.setupContext=n.length>1?Ab(e):null,r=Ir(e),s=Oa(n,e,0,[e.props,a]),i=yu(s);if(Vo(),r(),(i||e.sp)&&!ja(e)&&pl(e),i){if(s.then(Kd,Kd),t)return s.then(l=>{Nr(!0);try{Vd(e,l,t)}finally{Nr(!1)}}).catch(l=>{Sr(l,e,0)});e.asyncDep=s}else Vd(e,s)}else Yd(e)}function Vd(e,t,o){Ze(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:mt(t)&&(e.setupState=Zu(t)),Yd(e)}function Yd(e,t,o){const n=e.type;e.render||(e.render=n.render||Wo);{const a=Ir(e);qo();try{K0(e)}finally{Vo(),a()}}}const Sb={get(e,t){return ro(e,"get",""),e[t]}};function Ab(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,Sb),slots:e.slots,emit:e.emit,expose:t}}function Vs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Zu(Fa(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in Cr)return Cr[o](e)},has(t,o){return o in t||o in Cr}})):e.proxy}const Pb=/(?:^|[-_])\w/g,Lb=e=>e.replace(Pb,t=>t.toUpperCase()).replace(/[-_]/g,"");function Zd(e,t=!0){return Ze(e)?e.displayName||e.name:e.name||t&&e.__name}function Jd(e,t,o=!1){let n=Zd(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?Lb(n):o?"App":"Anonymous"}function Cb(e){return Ze(e)&&"__vccOpts"in e}const oe=(e,t)=>g0(e,t,Ga);function ua(e,t,o){try{Us(-1);const n=arguments.length;return n===2?mt(t)&&!Ke(t)?Rr(t)?ut(e,null,[t]):ut(e,t):ut(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&Rr(o)&&(o=[o]),ut(e,t,o))}finally{Us(1)}}const Tb="3.5.42";/** +`],...$0(o))}),t}function $0({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,a=` at <${Jd(e.component,e.type,n)}`,r=">"+o;return e.props?[a,..._0(e.props),r]:[a+r]}function _0(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...Xu(n,e[n]))}),o.length>3&&t.push(" ..."),t}function Xu(e,t,o){return xt(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:Tt(t)?(t=Xu(e,rt(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):Ze(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=rt(t),o?t:[`${e}=`,t])}function Oa(e,t,o,n){try{return n?e(...n):e()}catch(a){Sr(a,t,o)}}function Io(e,t,o,n){if(Ze(e)){const a=Oa(e,t,o,n);return a&&yu(a)&&a.catch(r=>{Sr(r,t,o)}),a}if(Ke(e)){const a=[];for(let r=0;r>>1,a=lo[n],r=Ar(a);r=Ar(o)?lo.push(e):lo.splice(v0(t),0,e),e.flags|=1,ed()}}function ed(){Ms||(Ms=Qu.then(nd))}function w0(e){if(!Ke(e))Dn&&e.id===-1?Dn.splice(za+1,0,e):e.flags&1||(Da.push(e),e.flags|=1);else for(let t=0;tAr(o)-Ar(n));if(Da.length=0,Dn){for(let o=0;oe.id==null?e.flags&2?-1:1/0:e.id;function nd(e){try{for(Zo=0;Zo{n._d&&Us(-1);const r=Rs(t),s=kn.length;let i;try{i=e(...a)}finally{for(let l=kn.length;l>s;l--)kl();Rs(r),n._d&&Us(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function Fs(e,t){if(eo===null)return e;const o=Vs(eo),n=e.dirs||(e.dirs=[]);for(let a=0;a1)return o&&Ze(t)?t.call(n&&n.proxy):t}}function k0(){return!!(Lo()||la)}const x0=Symbol.for("v-scx"),S0=()=>je(x0);function rd(e,t){return il(e,null,t)}function Ue(e,t,o){return il(e,t,o)}function il(e,t,o=wt){const{immediate:n,deep:a,flush:r,once:s}=o,i=Dt({},o),l=t&&n||!t&&r!=="post";let c;if(Ga){if(r==="sync"){const x=S0();c=x.__watcherHandles||(x.__watcherHandles=[])}else if(!l){const x=()=>{};return x.stop=Wo,x.resume=Wo,x.pause=Wo,x}}const u=to;i.call=(x,S,y)=>Io(x,u,S,y);let p=!1;r==="post"?i.scheduler=x=>{uo(x,u&&u.suspense)}:r!=="sync"&&(p=!0,i.scheduler=(x,S)=>{S?x():sl(x)}),i.augmentJob=x=>{t&&(x.flags|=4),p&&(x.flags|=2,u&&(x.id=u.uid,x.i=u))};const f=h0(e,t,i);return Ga&&(c?c.push(f):l&&f()),f}function A0(e,t,o){const n=this.proxy,a=xt(e)?e.includes(".")?sd(n,e):()=>n[e]:e.bind(n,n);let r;Ze(t)?r=t:(r=t.handler,o=t);const s=Ir(this),i=il(a,r.bind(n),o);return s(),i}function sd(e,t){const o=t.split(".");return()=>{let n=e;for(let a=0;ae.__isTeleport,sa=e=>e&&(e.disabled||e.disabled===""),P0=e=>e&&(e.defer||e.defer===""),ld=e=>typeof SVGElement<"u"&&e instanceof SVGElement,cd=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ll=(e,t)=>{const o=e&&e.to;return xt(o)?t?t(o):null:o},L0={name:"Teleport",__isTeleport:!0,process(e,t,o,n,a,r,s,i,l,c){const{mc:u,pc:p,pbc:f,o:{insert:x,querySelector:S,createText:y,createComment:h,parentNode:_}}=c,g=sa(t.props);let{dynamicChildren:b}=t;const d=(k,E,L)=>{k.shapeFlag&16&&u(k.children,E,L,a,r,s,i,l)},w=(k=t)=>{const E=sa(k.props),L=k.target=ll(k.props,S),H=cl(L,k,y,x);L&&(s!=="svg"&&ld(L)?s="svg":s!=="mathml"&&cd(L)&&(s="mathml"),a&&a.isCE&&(a.ce._teleportTargets||(a.ce._teleportTargets=new Set)).add(L),E||(d(k,L,H),Pr(k,!1)))},m=k=>{const E=()=>{if(zn.get(k)===E){if(zn.delete(k),sa(k.props)){const L=_(k.el)||o;d(k,L,k.anchor),Pr(k,!0)}w(k)}};zn.set(k,E),uo(E,r)};if(e==null){const k=t.el=y(""),E=t.anchor=y("");if(x(k,o,n),x(E,o,n),P0(t.props)||r&&r.pendingBranch){m(t);return}g&&(d(t,o,E),Pr(t,!0)),w()}else{t.el=e.el;const k=t.anchor=e.anchor,E=zn.get(e);if(E){E.flags|=8,zn.delete(e),m(t);return}t.targetStart=e.targetStart;const L=t.target=e.target,H=t.targetAnchor=e.targetAnchor,K=sa(e.props),J=K?o:L,v=K?k:H;if(s==="svg"||ld(L)?s="svg":(s==="mathml"||cd(L))&&(s="mathml"),b?(f(e.dynamicChildren,b,J,a,r,s,i),vl(e,t,!0)):l||p(e,t,J,v,a,r,s,i,!1),g)K?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Is(t,o,k,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=ll(t.props,S);N&&(t.target=N,Is(t,N,null,c,0))}else K&&Is(t,L,H,c,1);Pr(t,g)}},remove(e,t,o,{um:n,o:{remove:a}},r){const{shapeFlag:s,children:i,anchor:l,targetStart:c,targetAnchor:u,target:p,props:f}=e,x=sa(f),S=r||!x,y=zn.get(e);if(y&&(y.flags|=8,zn.delete(e)),p&&(a(c),a(u)),r&&a(l),!y&&(x||p)&&s&16)for(let h=0;h1){for(const o of e)if(o.type!==Xo){t=o;break}}return t}function ud(e){if(!zs(e))return Ns(e.type)&&e.children?E0(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&&Ze(o.default))return o.default()}}function dl(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const o=e.component.subTree;dl(Ns(o.type)&&ud(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 jn(e,t){return Ze(e)?Dt({name:e.name},t,{setup:e}):e}function pl(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function dd(e,t){let o;return!!((o=Object.getOwnPropertyDescriptor(e,t))&&!o.configurable)}const Os=new WeakMap;function Lr(e,t,o,n,a=!1){if(Ke(e)){e.forEach((y,h)=>Lr(y,t&&(Ke(t)?t[h]:t),o,n,a));return}if(ja(n)&&!a){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Lr(e,t,o,n.component.subTree);return}const r=n.shapeFlag&4?Vs(n.component):n.el,s=a?null:r,{i,r:l}=e,c=t&&t.r,u=i.refs===wt?i.refs={}:i.refs,p=i.setupState,f=rt(p),x=p===wt?$u:y=>dd(u,y)?!1:ft(f,y),S=(y,h)=>!(h&&dd(u,h));if(c!=null&&c!==l){if(pd(t),xt(c))u[c]=null,x(c)&&(p[c]=null);else if(Tt(c)){const y=t;S(c,y.k)&&(c.value=null),y.k&&(u[y.k]=null)}}if(Ze(l))Oa(l,i,12,[s,u]);else{const y=xt(l),h=Tt(l);if(y||h){const _=()=>{if(e.f){const g=y?x(l)?p[l]:u[l]:S()||!e.k?l.value:u[e.k];if(a)Ke(g)&&Wi(g,r);else if(Ke(g))g.includes(r)||g.push(r);else if(y)u[l]=[r],x(l)&&(p[l]=u[l]);else{const b=[r];S(l,e.k)&&(l.value=b),e.k&&(u[e.k]=b)}}else y?(u[l]=s,x(l)&&(p[l]=s)):h&&(S(l,e.k)&&(l.value=s),e.k&&(u[e.k]=s))};if(s){const g=()=>{_(),Os.delete(e)};g.id=-1,Os.set(e,g),uo(g,o)}else pd(e),_()}}}function pd(e){const t=Os.get(e);t&&(t.flags|=8,Os.delete(e))}const gd=e=>e.nodeType===8;_s().requestIdleCallback,_s().cancelIdleCallback;function M0(e,t){if(gd(e)&&e.data==="["){let o=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(gd(n))if(n.data==="]"){if(--o===0)break}else n.data==="["&&o++;n=n.nextSibling}}else t(e)}const ja=e=>!!e.type.__asyncLoader;function R0(e){Ze(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 f=()=>(p++,c=null,x()),x=()=>{let S;return c||(S=c=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),l)return new Promise((h,_)=>{l(y,()=>h(f()),()=>_(y),p+1)});throw y}).then(y=>S!==c&&c?c:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),u=y,y)))};return jn({name:"AsyncComponentWrapper",__asyncLoader:x,__asyncHydrate(S,y,h){const _=S.isConnected;let g=!1;(y.bu||(y.bu=[])).push(()=>g=!0);const b=()=>{g||!S.parentNode||_&&!S.isConnected||h()},d=r?()=>{const w=r(b,m=>M0(S,m));w&&(y.bum||(y.bum=[])).push(w)}:b;u?d():x().then(()=>!y.isUnmounted&&d())},get __asyncResolved(){return u},setup(){const S=to;if(pl(S),u)return()=>Ds(u,S);const y=w=>{c=null,Sr(w,S,13,!n)};if(i&&S.suspense||Ga)return x().then(w=>()=>Ds(w,S)).catch(w=>(y(w),()=>n?ut(n,{error:w}):null));const h=we(!1),_=we(),g=we(!!a);let b,d;return Bs(()=>{b!=null&&clearTimeout(b),d!=null&&clearTimeout(d)}),a&&(d=setTimeout(()=>{S.isUnmounted||(g.value=!1)},a)),s!=null&&(b=setTimeout(()=>{if(!S.isUnmounted&&!h.value&&!_.value){const w=new Error(`Async component timed out after ${s}ms.`);y(w),_.value=w}},s)),x().then(()=>{S.isUnmounted||(h.value=!0,S.parent&&zs(S.parent.vnode)&&S.parent.update())}).catch(w=>{if(S.isUnmounted){c=null;return}y(w),_.value=w}),()=>{if(h.value&&u)return Ds(u,S);if(_.value&&n)return ut(n,{error:_.value});if(o&&!g.value)return Ds(o,S)}}})}function Ds(e,t){const{ref:o,props:n,children:a,ce:r}=t.vnode,s=ut(e,n,a);return s.ref=o,s.ce=r,delete t.vnode.ce,s}const zs=e=>e.type.__isKeepAlive;function F0(e,t){fd(e,"a",t)}function N0(e,t){fd(e,"da",t)}function fd(e,t,o=to){const n=e.__wdc||(e.__wdc=()=>{let a=o;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(js(t,n,o),o){let a=o.parent;for(;a&&a.parent;)zs(a.parent.vnode)&&I0(n,t,o,a),a=a.parent}}function I0(e,t,o,n){const a=js(t,e,n,!0);Bs(()=>{Wi(n[t],a)},o)}function js(e,t,o=to,n=!1){if(o){const a=o[e]||(o[e]=[]),r=t.__weh||(t.__weh=(...s)=>{qo();const i=Ir(o),l=Io(t,o,e,s);return i(),Vo(),l});return n?a.unshift(r):a.push(r),r}}const wn=e=>(t,o=to)=>{(!Ga||e==="sp")&&js(e,(...n)=>t(...n),o)},hd=wn("bm"),Jo=wn("m"),O0=wn("bu"),D0=wn("u"),wo=wn("bum"),Bs=wn("um"),z0=wn("sp"),j0=wn("rtg"),B0=wn("rtc");function G0(e,t=to){js("ec",e,t)}const H0="components",md=Symbol.for("v-ndc");function bd(e){return xt(e)?U0(H0,e,!1)||e:e||md}function U0(e,t,o=!0,n=!1){const a=eo||to;if(a){const r=a.type;{const i=Zd(r,!1);if(i&&(i===t||i===Zt(t)||i===bs(Zt(t))))return r}const s=$d(a[e]||r[e],t)||$d(a.appContext[e],t);return!s&&n?r:s}}function $d(e,t){return e&&(e[t]||e[Zt(t)]||e[bs(Zt(t))])}function so(e,t,o,n){let a;const r=o,s=Ke(e);if(s||xt(e)){const i=s&&_n(e);let l=!1,c=!1;i&&(l=!vo(e),c=yn(e),e=ks(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),re(),it(et,null,[ut("slot",c,n)],u?-2:64)}let s=e[t];s&&s._c&&(s._d=!1);const i=kn.length;re();let l;try{const c=s&&_d(s(o)),u=o.key||r||c&&c.key;l=it(et,{key:(u&&!yo(u)?u:`_${t}`)+(!c&&n?"_fb":"")},c||(n?n():[]),c&&e._===1?64:-2)}catch(c){for(let u=kn.length;u>i;u--)kl();throw c}finally{s&&s._c&&(s._d=!0)}return!a&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function _d(e){return e.some(t=>Rr(t)?!(t.type===Xo||t.type===et&&!_d(t.children)):!0)?e:null}const gl=e=>e?qd(e)?Vs(e):gl(e.parent):null,Cr=Dt(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=>gl(e.parent),$root:e=>gl(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>kd(e),$forceUpdate:e=>e.f||(e.f=()=>{sl(e.update)}),$nextTick:e=>e.n||(e.n=Qt.bind(e.proxy)),$watch:e=>A0.bind(e)}),fl=(e,t)=>e!==wt&&!e.__isScriptSetup&&ft(e,t),W0={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:a,props:r,accessCache:s,type:i,appContext:l}=e;if(t[0]!=="$"){const f=s[t];if(f!==void 0)switch(f){case 1:return n[t];case 2:return a[t];case 4:return o[t];case 3:return r[t]}else{if(fl(n,t))return s[t]=1,n[t];if(a!==wt&&ft(a,t))return s[t]=2,a[t];if(ft(r,t))return s[t]=3,r[t];if(o!==wt&&ft(o,t))return s[t]=4,o[t];hl&&(s[t]=0)}}const c=Cr[t];let u,p;if(c)return t==="$attrs"&&ro(e.attrs,"get",""),c(e);if((u=i.__cssModules)&&(u=u[t]))return u;if(o!==wt&&ft(o,t))return s[t]=4,o[t];if(p=l.config.globalProperties,ft(p,t))return p[t]},set({_:e},t,o){const{data:n,setupState:a,ctx:r}=e;return fl(a,t)?(a[t]=o,!0):n!==wt&&ft(n,t)?(n[t]=o,!0):ft(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!==wt&&i[0]!=="$"&&ft(e,i)||fl(t,i)||ft(r,i)||ft(n,i)||ft(Cr,i)||ft(a.config.globalProperties,i)||(l=s.__cssModules)&&l[i])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:ft(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function yd(e){return Ke(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let hl=!0;function K0(e){const t=kd(e),o=e.proxy,n=e.ctx;hl=!1,t.beforeCreate&&vd(t.beforeCreate,e,"bc");const{data:a,computed:r,methods:s,watch:i,provide:l,inject:c,created:u,beforeMount:p,mounted:f,beforeUpdate:x,updated:S,activated:y,deactivated:h,beforeDestroy:_,beforeUnmount:g,destroyed:b,unmounted:d,render:w,renderTracked:m,renderTriggered:k,errorCaptured:E,serverPrefetch:L,expose:H,inheritAttrs:K,components:J,directives:v,filters:N}=t;if(c&&q0(c,n,null),s)for(const I in s){const F=s[I];Ze(F)&&(n[I]=F.bind(o))}if(a){const I=a.call(o,o);mt(I)&&(e.data=Ra(I))}if(hl=!0,r)for(const I in r){const F=r[I],W=Ze(F)?F.bind(o,o):Ze(F.get)?F.get.bind(o,o):Wo,z=!Ze(F)&&Ze(F.set)?F.set.bind(o):Wo,Z=oe({get:W,set:z});Object.defineProperty(n,I,{enumerable:!0,configurable:!0,get:()=>Z.value,set:j=>Z.value=j})}if(i)for(const I in i)wd(i[I],n,o,I);if(l){const I=Ze(l)?l.call(o):l;Reflect.ownKeys(I).forEach(F=>{zt(F,I[F])})}u&&vd(u,e,"c");function A(I,F){Ke(F)?F.forEach(W=>I(W.bind(o))):F&&I(F.bind(o))}if(A(hd,p),A(Jo,f),A(O0,x),A(D0,S),A(F0,y),A(N0,h),A(G0,E),A(B0,m),A(j0,k),A(wo,g),A(Bs,d),A(z0,L),Ke(H))if(H.length){const I=e.exposed||(e.exposed={});H.forEach(F=>{Object.defineProperty(I,F,{get:()=>o[F],set:W=>o[F]=W,enumerable:!0})})}else e.exposed||(e.exposed={});w&&e.render===Wo&&(e.render=w),K!=null&&(e.inheritAttrs=K),J&&(e.components=J),v&&(e.directives=v),L&&pl(e)}function q0(e,t,o=Wo){Ke(e)&&(e=ml(e));for(const n in e){const a=e[n];let r;mt(a)?"default"in a?r=je(a.from||n,a.default,!0):r=je(a.from||n):r=je(a),Tt(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:s=>r.value=s}):t[n]=r}}function vd(e,t,o){Io(Ke(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function wd(e,t,o,n){let a=n.includes(".")?sd(o,n):()=>o[n];if(xt(e)){const r=t[e];Ze(r)&&Ue(a,r)}else if(Ze(e))Ue(a,e.bind(o));else if(mt(e))if(Ke(e))e.forEach(r=>wd(r,t,o,n));else{const r=Ze(e.handler)?e.handler.bind(o):t[e.handler];Ze(r)&&Ue(a,r,e)}}function kd(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=>Gs(l,c,s,!0)),Gs(l,t,s)),mt(t)&&r.set(t,l),l}function Gs(e,t,o,n=!1){const{mixins:a,extends:r}=t;r&&Gs(e,r,o,!0),a&&a.forEach(s=>Gs(e,s,o,!0));for(const s in t)if(!(n&&s==="expose")){const i=V0[s]||o&&o[s];e[s]=i?i(e[s],t[s]):t[s]}return e}const V0={data:xd,props:Sd,emits:Sd,methods:Tr,computed:Tr,beforeCreate:co,created:co,beforeMount:co,mounted:co,beforeUpdate:co,updated:co,beforeDestroy:co,beforeUnmount:co,destroyed:co,unmounted:co,activated:co,deactivated:co,errorCaptured:co,serverPrefetch:co,components:Tr,directives:Tr,watch:Z0,provide:xd,inject:Y0};function xd(e,t){return t?e?function(){return Dt(Ze(e)?e.call(this,this):e,Ze(t)?t.call(this,this):t)}:t:e}function Y0(e,t){return Tr(ml(e),ml(t))}function ml(e){if(Ke(e)){const t={};for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Zt(t)}Modifiers`]||e[`${Po(t)}Modifiers`];function eb(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||wt;let a=o;const r=t.startsWith("update:"),s=r&&Q0(n,t.slice(7));s&&(s.trim&&(a=o.map(u=>xt(u)?u.trim():u)),s.number&&(a=a.map(qi)));let i,l=n[i=Ki(t)]||n[i=Ki(Zt(t))];!l&&r&&(l=n[i=Ki(Po(t))]),l&&Io(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,Io(c,e,6,a)}}const tb=new WeakMap;function Pd(e,t,o=!1){const n=o?tb:t.emitsCache,a=n.get(e);if(a!==void 0)return a;const r=e.emits;let s={},i=!1;if(!Ze(e)){const l=c=>{const u=Pd(c,t,!0);u&&(i=!0,Dt(s,u))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!i?(mt(e)&&n.set(e,null),null):(Ke(r)?r.forEach(l=>s[l]=null):Dt(s,r),mt(e)&&n.set(e,s),s)}function Hs(e,t){return!e||!ds(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),ft(e,t[0].toLowerCase()+t.slice(1))||ft(e,Po(t))||ft(e,t))}function aL(){}function Ld(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:f,setupState:x,ctx:S,inheritAttrs:y}=e,h=Rs(e);let _,g;try{if(o.shapeFlag&4){const d=a||n,w=d;_=Qo(c.call(w,d,u,p,x,f,S)),g=i}else{const d=t;_=Qo(d.length>1?d(p,{attrs:i,slots:s,emit:l}):d(p,null)),g=t.props?i:ob(i)}}catch(d){kn.length=0,Sr(d,e,1),_=ut(Xo)}let b=_;if(g&&y!==!1){const d=Object.keys(g),{shapeFlag:w}=b;d.length&&w&7&&(r&&d.some(ps)&&(g=nb(g,r)),b=Ba(b,g,!1,!0))}if(o.dirs&&(b=Ba(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(o.dirs):o.dirs),o.transition){const d=Ns(b.type)&&ud(b)||b;dl(d,o.transition)}return _=b,Rs(h),_}const ob=e=>{let t;for(const o in e)(o==="class"||o==="style"||ds(o))&&((t||(t={}))[o]=e[o]);return t},nb=(e,t)=>{const o={};for(const n in e)(!ps(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function ab(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?Cd(n,s,c):!!s;if(l&8){const u=t.dynamicProps;for(let p=0;pObject.create(Ed),Rd=e=>Object.getPrototypeOf(e)===Ed;function sb(e,t,o,n=!1){const a={},r=Md();e.propsDefaults=Object.create(null),Fd(e,t,a,r);for(const s in e.propsOptions[0])s in a||(a[s]=void 0);o?e.props=n?a:s0(a):e.type.props?e.props=a:e.props=r,e.attrs=r}function ib(e,t,o,n){const{props:a,attrs:r,vnode:{patchFlag:s}}=e,i=rt(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[f,x]=Nd(p,t,!0);Dt(s,f),x&&i.push(...x)};!o&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!l)return mt(e)&&n.set(e,Ea),Ea;if(Ke(r))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",_l=e=>Ke(e)?e.map(Qo):[Qo(e)],cb=(e,t,o)=>{if(t._n)return t;const n=mo((...a)=>_l(t(...a)),o);return n._c=!1,n},Od=(e,t,o)=>{const n=e._ctx;for(const a in e){if($l(a))continue;const r=e[a];if(Ze(r))t[a]=cb(a,r,n);else if(r!=null){const s=_l(r);t[a]=()=>s}}},Dd=(e,t)=>{const o=_l(t);e.slots.default=()=>o},zd=(e,t,o)=>{for(const n in t)(o||!$l(n))&&(e[n]=t[n])},ub=(e,t,o)=>{const n=e.slots=Md();if(e.vnode.shapeFlag&32){const a=t._;a?(zd(n,t,o),o&&wu(n,"_",a,!0)):Od(t,n)}else t&&Dd(e,t)},db=(e,t,o)=>{const{vnode:n,slots:a}=e;let r=!0,s=wt;if(n.shapeFlag&32){const i=t._;i?o&&i===1?r=!1:zd(a,t,o):(r=!t.$stable,Od(t,a)),s=t}else t&&(Dd(e,t),s={default:1});if(r)for(const i in a)!$l(i)&&s[i]==null&&delete a[i]},uo=mb;function pb(e){return gb(e)}function gb(e,t){const o=_s();o.__VUE__=!0;const{insert:n,remove:a,patchProp:r,createElement:s,createText:i,createComment:l,setText:c,setElementText:u,parentNode:p,nextSibling:f,setScopeId:x=Wo,insertStaticContent:S}=e,y=(M,O,B,V=null,se=null,G=null,ue=void 0,me=null,T=!!O.dynamicChildren)=>{if(M===O)return;M&&!Fr(M,O)&&(V=Ae(M),j(M,se,G,!0),M=null),O.patchFlag===-2&&(T=!1,O.dynamicChildren=null);const{type:P,ref:Q,shapeFlag:le}=O;switch(P){case Er:h(M,O,B,V);break;case Xo:_(M,O,B,V);break;case wl:M==null&&g(O,B,V,ue);break;case et:J(M,O,B,V,se,G,ue,me,T);break;default:le&1?w(M,O,B,V,se,G,ue,me,T):le&6?v(M,O,B,V,se,G,ue,me,T):(le&64||le&128)&&P.process(M,O,B,V,se,G,ue,me,T,pe)}Q!=null&&se?Lr(Q,M&&M.ref,G,O||M,!O):Q==null&&M&&M.ref!=null&&Lr(M.ref,null,G,M,!0)},h=(M,O,B,V)=>{if(M==null)n(O.el=i(O.children),B,V);else{const se=O.el=M.el;O.children!==M.children&&c(se,O.children)}},_=(M,O,B,V)=>{M==null?n(O.el=l(O.children||""),B,V):O.el=M.el},g=(M,O,B,V)=>{[M.el,M.anchor]=S(M.children,O,B,V,M.el,M.anchor)},b=({el:M,anchor:O},B,V)=>{let se;for(;M&&M!==O;)se=f(M),n(M,B,V),M=se;n(O,B,V)},d=({el:M,anchor:O})=>{let B;for(;M&&M!==O;)B=f(M),a(M),M=B;a(O)},w=(M,O,B,V,se,G,ue,me,T)=>{if(O.type==="svg"?ue="svg":O.type==="math"&&(ue="mathml"),M==null)m(O,B,V,se,G,ue,me,T);else{const P=M.el&&M.el._isVueCE?M.el:null;try{P&&P._beginPatch(),L(M,O,se,G,ue,me,T)}finally{P&&P._endPatch()}}},m=(M,O,B,V,se,G,ue,me)=>{let T,P;const{props:Q,shapeFlag:le,transition:ve,dirs:de}=M;if(T=M.el=s(M.type,G,Q&&Q.is,Q),le&8?u(T,M.children):le&16&&E(M.children,T,null,V,se,yl(M,G),ue,me),de&&ra(M,null,V,"created"),k(T,M,M.scopeId,ue,V),Q){for(const ne in Q)ne!=="value"&&!br(ne)&&r(T,ne,null,Q[ne],G,V);"value"in Q&&r(T,"value",null,Q.value,G),(P=Q.onVnodeBeforeMount)&&en(P,V,M)}de&&ra(M,null,V,"beforeMount");const U=fb(se,ve);U&&ve.beforeEnter(T),n(T,O,B),((P=Q&&Q.onVnodeMounted)||U||de)&&uo(()=>{try{P&&en(P,V,M),U&&ve.enter(T),de&&ra(M,null,V,"mounted")}finally{}},se)},k=(M,O,B,V,se)=>{if(B&&x(M,B),V)for(let G=0;G{for(let P=T;P{const me=O.el=M.el;let{patchFlag:T,dynamicChildren:P,dirs:Q}=O;T|=M.patchFlag&16;const le=M.props||wt,ve=O.props||wt;let de;if(B&&ca(B,!1),(de=ve.onVnodeBeforeUpdate)&&en(de,B,O,M),Q&&ra(O,M,B,"beforeUpdate"),B&&ca(B,!0),P&&(!M.dynamicChildren||M.dynamicChildren.length!==P.length)&&(T=0,ue=!1,P=null),(le.innerHTML&&ve.innerHTML==null||le.textContent&&ve.textContent==null)&&u(me,""),P?H(M.dynamicChildren,P,me,B,V,yl(O,se),G):ue||F(M,O,me,null,B,V,yl(O,se),G,!1),T>0){if(T&16)K(me,le,ve,B,se);else if(T&2&&le.class!==ve.class&&r(me,"class",null,ve.class,se),T&4&&r(me,"style",le.style,ve.style,se),T&8){const U=O.dynamicProps;for(let ne=0;ne{de&&en(de,B,O,M),Q&&ra(O,M,B,"updated")},V)},H=(M,O,B,V,se,G,ue)=>{for(let me=0;me{if(O!==B){if(O!==wt)for(const G in O)!br(G)&&!(G in B)&&r(M,G,O[G],null,se,V);for(const G in B){if(br(G))continue;const ue=B[G],me=O[G];ue!==me&&G!=="value"&&r(M,G,me,ue,se,V)}"value"in B&&r(M,"value",O.value,B.value,se)}},J=(M,O,B,V,se,G,ue,me,T)=>{const P=O.el=M?M.el:i(""),Q=O.anchor=M?M.anchor:i("");let{patchFlag:le,dynamicChildren:ve,slotScopeIds:de}=O;de&&(me=me?me.concat(de):de),M==null?(n(P,B,V),n(Q,B,V),E(O.children||[],B,Q,se,G,ue,me,T)):le>0&&le&64&&ve&&M.dynamicChildren&&M.dynamicChildren.length===ve.length?(H(M.dynamicChildren,ve,B,se,G,ue,me),(O.key!=null||se&&O===se.subTree)&&vl(M,O,!0)):F(M,O,B,Q,se,G,ue,me,T)},v=(M,O,B,V,se,G,ue,me,T)=>{O.slotScopeIds=me,M==null?O.shapeFlag&512?se.ctx.activate(O,B,V,ue,T):N(O,B,V,se,G,ue,T):$(M,O,T)},N=(M,O,B,V,se,G,ue)=>{const me=M.component=wb(M,V,se);if(zs(M)&&(me.ctx.renderer=pe),kb(me,!1,ue),me.asyncDep){if(se&&se.registerDep(me,A,ue),!M.el){const T=me.subTree=ut(Xo);_(null,T,O,B),M.placeholder=T.el}}else A(me,M,O,B,se,G,ue)},$=(M,O,B)=>{const V=O.component=M.component;if(ab(M,O,B))if(V.asyncDep&&!V.asyncResolved){I(V,O,B);return}else V.next=O,V.update();else O.el=M.el,V.vnode=O},A=(M,O,B,V,se,G,ue)=>{const me=()=>{if(M.isMounted){let{next:le,bu:ve,u:de,parent:U,vnode:ne}=M;{const $t=jd(M);if($t){le&&(le.el=ne.el,I(M,le,ue)),$t.asyncDep.then(()=>{uo(()=>{M.isUnmounted||P()},se)});return}}let Ee=le,Re;ca(M,!1),le?(le.el=ne.el,I(M,le,ue)):le=ne,ve&&$s(ve),(Re=le.props&&le.props.onVnodeBeforeUpdate)&&en(Re,U,le,ne),ca(M,!0);const tt=Ld(M),kt=M.subTree;M.subTree=tt,y(kt,tt,p(kt.el),Ae(kt),M,se,G),le.el=tt.el,Ee===null&&rb(M,tt.el),de&&uo(de,se),(Re=le.props&&le.props.onVnodeUpdated)&&uo(()=>en(Re,U,le,ne),se)}else{let le;const{el:ve,props:de}=O,{bm:U,m:ne,parent:Ee,root:Re,type:tt}=M,kt=ja(O);ca(M,!1),U&&$s(U),!kt&&(le=de&&de.onVnodeBeforeMount)&&en(le,Ee,O),ca(M,!0);{Re.ce&&Re.ce._hasShadowRoot()&&Re.ce._injectChildStyle(tt,M.parent?M.parent.type:void 0);const $t=M.subTree=Ld(M);y(null,$t,B,V,M,se,G),O.el=$t.el}if(ne&&uo(ne,se),!kt&&(le=de&&de.onVnodeMounted)){const $t=O;uo(()=>en(le,Ee,$t),se)}(O.shapeFlag&256||Ee&&ja(Ee.vnode)&&Ee.vnode.shapeFlag&256)&&M.a&&uo(M.a,se),M.isMounted=!0,O=B=V=null}};M.scope.on();const T=M.effect=new Eu(me);M.scope.off();const P=M.update=T.run.bind(T),Q=M.job=T.runIfDirty.bind(T);Q.i=M,Q.id=M.uid,T.scheduler=()=>sl(Q),ca(M,!0),P()},I=(M,O,B)=>{O.component=M;const V=M.vnode.props;M.vnode=O,M.next=null,ib(M,O.props,V,B),db(M,O.children,B),qo(),td(M),Vo()},F=(M,O,B,V,se,G,ue,me,T=!1)=>{const P=M&&M.children,Q=M?M.shapeFlag:0,le=O.children,{patchFlag:ve,shapeFlag:de}=O;if(ve>0){if(ve&128){z(P,le,B,V,se,G,ue,me,T);return}else if(ve&256){W(P,le,B,V,se,G,ue,me,T);return}}de&8?(Q&16&&xe(P,se,G),le!==P&&u(B,le)):Q&16?de&16?z(P,le,B,V,se,G,ue,me,T):xe(P,se,G,!0):(Q&8&&u(B,""),de&16&&E(le,B,V,se,G,ue,me,T))},W=(M,O,B,V,se,G,ue,me,T)=>{M=M||Ea,O=O||Ea;const P=M.length,Q=O.length,le=Math.min(P,Q);let ve;for(ve=0;veQ?xe(M,se,G,!0,!1,le):E(O,B,V,se,G,ue,me,T,le)},z=(M,O,B,V,se,G,ue,me,T)=>{let P=0;const Q=O.length;let le=M.length-1,ve=Q-1;for(;P<=le&&P<=ve;){const de=M[P],U=O[P]=T?xn(O[P]):Qo(O[P]);if(Fr(de,U))y(de,U,B,null,se,G,ue,me,T);else break;P++}for(;P<=le&&P<=ve;){const de=M[le],U=O[ve]=T?xn(O[ve]):Qo(O[ve]);if(Fr(de,U))y(de,U,B,null,se,G,ue,me,T);else break;le--,ve--}if(P>le){if(P<=ve){const de=ve+1,U=deve)for(;P<=le;)j(M[P],se,G,!0),P++;else{const de=P,U=P,ne=new Map;for(P=U;P<=ve;P++){const vt=O[P]=T?xn(O[P]):Qo(O[P]);vt.key!=null&&ne.set(vt.key,P)}let Ee,Re=0;const tt=ve-U+1;let kt=!1,$t=0;const Nt=new Array(tt);for(P=0;P=tt){j(vt,se,G,!0);continue}let Lt;if(vt.key!=null)Lt=ne.get(vt.key);else for(Ee=U;Ee<=ve;Ee++)if(Nt[Ee-U]===0&&Fr(vt,O[Ee])){Lt=Ee;break}Lt===void 0?j(vt,se,G,!0):(Nt[Lt-U]=P+1,Lt>=$t?$t=Lt:kt=!0,y(vt,O[Lt],B,null,se,G,ue,me,T),Re++)}const Yt=kt?hb(Nt):Ea;for(Ee=Yt.length-1,P=tt-1;P>=0;P--){const vt=U+P,Lt=O[vt],So=O[vt+1],Go=vt+1{const{el:G,type:ue,transition:me,children:T,shapeFlag:P}=M;if(P&6){Z(M.component.subTree,O,B,V);return}if(P&128){M.suspense.move(O,B,V);return}if(P&64){ue.move(M,O,B,pe);return}if(ue===et){n(G,O,B);for(let le=0;leme.enter(G),se));else{const{leave:le,delayLeave:ve,afterLeave:de}=me,U=()=>{M.ctx.isUnmounted?a(G):n(G,O,B)},ne=()=>{const Ee=G._isLeaving||!!G[ul];G._isLeaving&&G[ul](!0),me.persisted&&!Ee?U():le(G,()=>{U(),de&&de()})};ve?ve(G,U,ne):ne()}else n(G,O,B)},j=(M,O,B,V=!1,se=!1)=>{const{type:G,props:ue,ref:me,children:T,dynamicChildren:P,shapeFlag:Q,patchFlag:le,dirs:ve,cacheIndex:de,memo:U}=M;if(le===-2&&(se=!1),me!=null&&(qo(),Lr(me,null,B,M,!0),Vo()),de!=null&&(O.renderCache[de]=void 0),Q&256){O.ctx.deactivate(M);return}const ne=Q&1&&ve,Ee=!ja(M);let Re;if(Ee&&(Re=ue&&ue.onVnodeBeforeUnmount)&&en(Re,O,M),Q&6)Te(M.component,B,V);else{if(Q&128){M.suspense.unmount(B,V);return}ne&&ra(M,null,O,"beforeUnmount"),Q&64?M.type.remove(M,O,B,pe,V):P&&!P.hasOnce&&(G!==et||le>0&&le&64)?xe(P,O,B,!1,!0):(G===et&&le&384||!se&&Q&16)&&xe(T,O,B),V&&ae(M)}const tt=U!=null&&de==null;(Ee&&(Re=ue&&ue.onVnodeUnmounted)||ne||tt)&&uo(()=>{Re&&en(Re,O,M),ne&&ra(M,null,O,"unmounted"),tt&&(M.el=null)},B)},ae=M=>{const{type:O,el:B,anchor:V,transition:se}=M;if(O===et){_e(B,V);return}if(O===wl){d(M);return}const G=()=>{a(B),se&&!se.persisted&&se.afterLeave&&se.afterLeave()};if(M.shapeFlag&1&&se&&!se.persisted){const{leave:ue,delayLeave:me}=se,T=()=>ue(B,G);me?me(M.el,G,T):T()}else G()},_e=(M,O)=>{let B;for(;M!==O;)B=f(M),a(M),M=B;a(O)},Te=(M,O,B)=>{const{bum:V,scope:se,job:G,subTree:ue,um:me,m:T,a:P}=M;Bd(T),Bd(P),V&&$s(V),se.stop(),G&&(G.flags|=8,j(ue,M,O,B)),me&&uo(me,O),uo(()=>{M.isUnmounted=!0},O)},xe=(M,O,B,V=!1,se=!1,G=0)=>{for(let ue=G;ue{if(M.shapeFlag&6)return Ae(M.component.subTree);if(M.shapeFlag&128)return M.suspense.next();const O=f(M.anchor||M.el),B=O&&O[id];return B?f(B):O};let X=!1;const q=(M,O,B)=>{let V;M==null?O._vnode&&(j(O._vnode,null,null,!0),V=O._vnode.component):y(O._vnode||null,M,O,null,null,null,B),O._vnode=M,X||(X=!0,td(V),od(),X=!1)},pe={p:y,um:j,m:Z,r:ae,mt:N,mc:E,pc:F,pbc:H,n:Ae,o:e};return{render:q,hydrate:void 0,createApp:X0(q)}}function yl({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 ca({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function fb(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function vl(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 jd(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:jd(t)}function Bd(e){if(e)for(let t=0;te.__isSuspense;function mb(e,t){t&&t.pendingBranch?Ke(e)?t.effects.push(...e):t.effects.push(e):w0(e)}const et=Symbol.for("v-fgt"),Er=Symbol.for("v-txt"),Xo=Symbol.for("v-cmt"),wl=Symbol.for("v-stc"),kn=[];let ko=null;function re(e=!1){kn.push(ko=e?null:[])}function kl(){kn.pop(),ko=kn[kn.length-1]||null}let Mr=1;function Us(e,t=!1){Mr+=e,e<0&&ko&&t&&(ko.hasOnce=!0)}function Ud(e){return e.dynamicChildren=Mr>0?ko||Ea:null,kl(),Mr>0&&ko&&ko.push(e),e}function he(e,t,o,n,a,r){return Ud(R(e,t,o,n,a,r,!0))}function it(e,t,o,n,a){return Ud(ut(e,t,o,n,a,!0))}function Rr(e){return e?e.__v_isVNode===!0:!1}function Fr(e,t){return e.type===t.type&&e.key===t.key}const Wd=({key:e})=>e??null,Ws=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?xt(e)||Tt(e)||Ze(e)?{i:eo,r:e,k:t,f:!!o}:e:null);function R(e,t=null,o=null,n=0,a=null,r=e===et?0:1,s=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Wd(t),ref:t&&Ws(t),scopeId:ad,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:eo};return i?(Ks(l,o),r&128&&e.normalize(l)):o&&(l.shapeFlag|=xt(o)?8:16),Mr>0&&!s&&ko&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&ko.push(l),l}const ut=bb;function bb(e,t=null,o=null,n=0,a=null,r=!1){if((!e||e===md)&&(e=Xo),Rr(e)){const i=Ba(e,t,!0);return o&&Ks(i,o),Mr>0&&!r&&ko&&(i.shapeFlag&6?ko[ko.indexOf(e)]=i:ko.push(i)),i.patchFlag=-2,i}if(Cb(e)&&(e=e.__vccOpts),t){t=$b(t);let{class:i,style:l}=t;i&&!xt(i)&&(t.class=Ge(i)),mt(l)&&(Ls(l)&&!Ke(l)&&(l=Dt({},l)),t.style=Ct(l))}const s=xt(e)?1:Hd(e)?128:Ns(e)?64:mt(e)?4:Ze(e)?2:0;return R(e,t,o,n,a,s,r,!0)}function $b(e){return e?Ls(e)||Rd(e)?Dt({},e):e:null}function Ba(e,t,o=!1,n=!1){const{props:a,ref:r,patchFlag:s,children:i,transition:l}=e,c=t?_b(a||{},t):a,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Wd(c),ref:t&&t.ref?o&&r?Ke(r)?r.concat(Ws(t)):[r,Ws(t)]:Ws(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!==et?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&&Ba(e.ssContent),ssFallback:e.ssFallback&&Ba(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&dl(u,l.clone(u)),u}function Bt(e=" ",t=0){return ut(Er,null,e,t)}function Me(e="",t=!1){return t?(re(),it(Xo,null,e)):ut(Xo,null,e)}function Qo(e){return e==null||typeof e=="boolean"?ut(Xo):Ke(e)?ut(et,null,e.slice()):Rr(e)?xn(e):ut(Er,null,String(e))}function xn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ba(e)}function Ks(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),Ks(e,a()),a._c&&(a._d=!0));return}else{o=32;const a=t._;!a&&!Rd(t)?t._ctx=eo:a===3&&eo&&(eo.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(Ze(t)){if(n&65){Ks(e,{default:t});return}t={default:t,_ctx:eo},o=32}else t=String(t),n&64?(o=16,t=[Bt(t)]):o=8;e.children=t,e.shapeFlag|=o}function _b(...e){const t={};for(let o=0;oto||eo;let qs,Nr;{const e=_s(),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)}};qs=t("__VUE_INSTANCE_SETTERS__",o=>to=o),Nr=t("__VUE_SSR_SETTERS__",o=>Ga=o)}const Ir=e=>{const t=to;return qs(e),e.scope.on(),()=>{e.scope.off(),qs(t)}},Kd=()=>{to&&to.scope.off(),qs(null)};function qd(e){return e.vnode.shapeFlag&4}let Ga=!1;function kb(e,t=!1,o=!1){t&&Nr(t);const{props:n,children:a}=e.vnode,r=qd(e);sb(e,n,r,t),ub(e,a,o||t);const s=r?xb(e,t):void 0;return t&&Nr(!1),s}function xb(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,W0);const{setup:n}=o;if(n){qo();const a=e.setupContext=n.length>1?Ab(e):null,r=Ir(e),s=Oa(n,e,0,[e.props,a]),i=yu(s);if(Vo(),r(),(i||e.sp)&&!ja(e)&&pl(e),i){if(s.then(Kd,Kd),t)return s.then(l=>{Nr(!0);try{Vd(e,l,t)}finally{Nr(!1)}}).catch(l=>{Sr(l,e,0)});e.asyncDep=s}else Vd(e,s)}else Yd(e)}function Vd(e,t,o){Ze(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:mt(t)&&(e.setupState=Zu(t)),Yd(e)}function Yd(e,t,o){const n=e.type;e.render||(e.render=n.render||Wo);{const a=Ir(e);qo();try{K0(e)}finally{Vo(),a()}}}const Sb={get(e,t){return ro(e,"get",""),e[t]}};function Ab(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,Sb),slots:e.slots,emit:e.emit,expose:t}}function Vs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Zu(Fa(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in Cr)return Cr[o](e)},has(t,o){return o in t||o in Cr}})):e.proxy}const Pb=/(?:^|[-_])\w/g,Lb=e=>e.replace(Pb,t=>t.toUpperCase()).replace(/[-_]/g,"");function Zd(e,t=!0){return Ze(e)?e.displayName||e.name:e.name||t&&e.__name}function Jd(e,t,o=!1){let n=Zd(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?Lb(n):o?"App":"Anonymous"}function Cb(e){return Ze(e)&&"__vccOpts"in e}const oe=(e,t)=>g0(e,t,Ga);function ua(e,t,o){try{Us(-1);const n=arguments.length;return n===2?mt(t)&&!Ke(t)?Rr(t)?ut(e,null,[t]):ut(e,t):ut(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&Rr(o)&&(o=[o]),ut(e,t,o))}finally{Us(1)}}const Tb="3.5.42";/** * @vue/runtime-dom v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let xl;const Xd=typeof window<"u"&&window.trustedTypes;if(Xd)try{xl=Xd.createPolicy("vue",{createHTML:e=>e})}catch{}const Qd=xl?e=>xl.createHTML(e):e=>e,Eb="http://www.w3.org/2000/svg",Mb="http://www.w3.org/1998/Math/MathML",Sn=typeof document<"u"?document:null,ep=Sn&&Sn.createElement("template"),Rb={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"?Sn.createElementNS(Eb,e):t==="mathml"?Sn.createElementNS(Mb,e):o?Sn.createElement(e,{is:o}):Sn.createElement(e);return e==="select"&&n&&n.multiple!=null&&a.setAttribute("multiple",n.multiple),a},createText:e=>Sn.createTextNode(e),createComment:e=>Sn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Sn.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{ep.innerHTML=Qd(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const i=ep.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]}},Fb=Symbol("_vtc");function Nb(e,t,o){const n=e[Fb];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const Ys=Symbol("_vod"),tp=Symbol("_vsh"),op={name:"show",beforeMount(e,{value:t},{transition:o}){e[Ys]=e.style.display==="none"?"":e.style.display,o&&t?o.beforeEnter(e):Or(e,t)},mounted(e,{value:t},{transition:o}){o&&t&&o.enter(e)},updated(e,{value:t,oldValue:o},{transition:n}){!t!=!o&&(n?t?(n.beforeEnter(e),Or(e,!0),n.enter(e)):n.leave(e,()=>{Or(e,!1)}):Or(e,t))},beforeUnmount(e,{value:t}){Or(e,t)}};function Or(e,t){e.style.display=t?e[Ys]:"none",e[tp]=!t}const Ib=Symbol(""),Ob=/(?:^|;)\s*display\s*:/;function Db(e,t,o){const n=e.style,a=xt(o);let r=!1;if(o&&!a){if(t)if(xt(t))for(const s of t.split(";")){const i=s.slice(0,s.indexOf(":")).trim();o[i]==null&&Dr(n,i,"")}else for(const s in t)o[s]==null&&Dr(n,s,"");for(const s in o){s==="display"&&(r=!0);const i=o[s];i!=null?jb(e,s,!xt(t)&&t?t[s]:void 0,i)||Dr(n,s,i):Dr(n,s,"")}}else if(a){if(t!==o){const s=n[Ib];s&&(o+=";"+s),n.cssText=o,r=Ob.test(o)}}else t&&e.removeAttribute("style");Ys in e&&(e[Ys]=r?n.display:"",e[tp]&&(n.display="none"))}const Zs=/\s*!important$/;function Dr(e,t,o){if(Ke(o))o.forEach(n=>Dr(e,t,n));else if(o==null&&(o=""),t.startsWith("--"))Zs.test(o)?e.setProperty(t,o.replace(Zs,""),"important"):e.setProperty(t,o);else{const n=zb(e,t);Zs.test(o)?e.setProperty(Po(n),o.replace(Zs,""),"important"):e[n]=o}}const np=["Webkit","Moz","ms"],Sl={};function zb(e,t){const o=Sl[t];if(o)return o;let n=Zt(t);if(n!=="filter"&&n in e)return Sl[t]=n;n=bs(n);for(let a=0;aAl||(Kb.then(()=>Al=0),Al=Date.now());function Vb(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,Yb=(e,t,o,n,a,r)=>{const s=a==="svg";t==="class"?Nb(e,n,s):t==="style"?Db(e,o,n):ds(t)?ps(t)||Gb(e,t,o,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Zb(e,t,n,s))?(sp(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&rp(e,t,n,s,r,t!=="value")):e._isVueCE&&(Jb(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!xt(n)))?sp(e,Zt(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),rp(e,t,n,s))};function Zb(e,t,o,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&lp(t)&&Ze(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 lp(t)&&xt(o)?!1:t in e}function Jb(e,t){const o=e._def.props;if(!o)return!1;const n=Zt(t);return Array.isArray(o)?o.some(a=>Zt(a)===n):Object.keys(o).some(a=>Zt(a)===n)}const cp={};function Xb(e,t,o){let n=jn(e,t);fs(n)&&(n=Dt({},n,t));class a extends Pl{constructor(s){super(n,s,o)}}return a.def=n,a}const Qb=typeof HTMLElement<"u"?HTMLElement:class{};class Pl extends Qb{constructor(t,o={},n=hp){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!==hp?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(Dt({},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 Pl){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,Qt(()=>{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]=ku(this._props[l])),(i||(i=Object.create(null)))[Zt(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)ft(this,n)||Object.defineProperty(this,n,{get:()=>ge(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(Zt))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):cp;const a=Zt(t);o&&this._numberProps&&this._numberProps[a]&&(n=ku(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===cp?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(Po(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(Po(t),o+""):o||this.removeAttribute(Po(t)),r&&r.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),r$(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=ut(this._def,Dt(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,fs(s[0])?Dt({detail:s},s[0]):{detail:s}))};n.emit=(r,...s)=>{a(r,s),Po(r)!==r&&a(Po(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=>$s(t,o):t};function t$(e){e.target.composing=!0}function dp(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Js=Symbol("_assign"),Xs=Symbol("_initialValue");function Ll(e,t,o){return t&&(e=e.trim()),o&&(e=qi(e)),e}const pp={created(e,{modifiers:{lazy:t,trim:o,number:n}},a){e.parentNode&&(e.type==="text"?e[Xs]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Xs]=e.defaultValue.replace(/\r\n?/g,` +**/let xl;const Xd=typeof window<"u"&&window.trustedTypes;if(Xd)try{xl=Xd.createPolicy("vue",{createHTML:e=>e})}catch{}const Qd=xl?e=>xl.createHTML(e):e=>e,Eb="http://www.w3.org/2000/svg",Mb="http://www.w3.org/1998/Math/MathML",Sn=typeof document<"u"?document:null,ep=Sn&&Sn.createElement("template"),Rb={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"?Sn.createElementNS(Eb,e):t==="mathml"?Sn.createElementNS(Mb,e):o?Sn.createElement(e,{is:o}):Sn.createElement(e);return e==="select"&&n&&n.multiple!=null&&a.setAttribute("multiple",n.multiple),a},createText:e=>Sn.createTextNode(e),createComment:e=>Sn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Sn.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{ep.innerHTML=Qd(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const i=ep.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]}},Fb=Symbol("_vtc");function Nb(e,t,o){const n=e[Fb];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const Ys=Symbol("_vod"),tp=Symbol("_vsh"),op={name:"show",beforeMount(e,{value:t},{transition:o}){e[Ys]=e.style.display==="none"?"":e.style.display,o&&t?o.beforeEnter(e):Or(e,t)},mounted(e,{value:t},{transition:o}){o&&t&&o.enter(e)},updated(e,{value:t,oldValue:o},{transition:n}){!t!=!o&&(n?t?(n.beforeEnter(e),Or(e,!0),n.enter(e)):n.leave(e,()=>{Or(e,!1)}):Or(e,t))},beforeUnmount(e,{value:t}){Or(e,t)}};function Or(e,t){e.style.display=t?e[Ys]:"none",e[tp]=!t}const Ib=Symbol(""),Ob=/(?:^|;)\s*display\s*:/;function Db(e,t,o){const n=e.style,a=xt(o);let r=!1;if(o&&!a){if(t)if(xt(t))for(const s of t.split(";")){const i=s.slice(0,s.indexOf(":")).trim();o[i]==null&&Dr(n,i,"")}else for(const s in t)o[s]==null&&Dr(n,s,"");for(const s in o){s==="display"&&(r=!0);const i=o[s];i!=null?jb(e,s,!xt(t)&&t?t[s]:void 0,i)||Dr(n,s,i):Dr(n,s,"")}}else if(a){if(t!==o){const s=n[Ib];s&&(o+=";"+s),n.cssText=o,r=Ob.test(o)}}else t&&e.removeAttribute("style");Ys in e&&(e[Ys]=r?n.display:"",e[tp]&&(n.display="none"))}const Zs=/\s*!important$/;function Dr(e,t,o){if(Ke(o))o.forEach(n=>Dr(e,t,n));else if(o==null&&(o=""),t.startsWith("--"))Zs.test(o)?e.setProperty(t,o.replace(Zs,""),"important"):e.setProperty(t,o);else{const n=zb(e,t);Zs.test(o)?e.setProperty(Po(n),o.replace(Zs,""),"important"):e[n]=o}}const np=["Webkit","Moz","ms"],Sl={};function zb(e,t){const o=Sl[t];if(o)return o;let n=Zt(t);if(n!=="filter"&&n in e)return Sl[t]=n;n=bs(n);for(let a=0;aAl||(Kb.then(()=>Al=0),Al=Date.now());function Vb(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,Yb=(e,t,o,n,a,r)=>{const s=a==="svg";t==="class"?Nb(e,n,s):t==="style"?Db(e,o,n):ds(t)?ps(t)||Gb(e,t,o,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Zb(e,t,n,s))?(sp(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&rp(e,t,n,s,r,t!=="value")):e._isVueCE&&(Jb(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!xt(n)))?sp(e,Zt(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),rp(e,t,n,s))};function Zb(e,t,o,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&lp(t)&&Ze(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 lp(t)&&xt(o)?!1:t in e}function Jb(e,t){const o=e._def.props;if(!o)return!1;const n=Zt(t);return Array.isArray(o)?o.some(a=>Zt(a)===n):Object.keys(o).some(a=>Zt(a)===n)}const cp={};function Xb(e,t,o){let n=jn(e,t);fs(n)&&(n=Dt({},n,t));class a extends Pl{constructor(s){super(n,s,o)}}return a.def=n,a}const Qb=typeof HTMLElement<"u"?HTMLElement:class{};class Pl extends Qb{constructor(t,o={},n=hp){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!==hp?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(Dt({},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 Pl){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,Qt(()=>{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]=ku(this._props[l])),(i||(i=Object.create(null)))[Zt(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)ft(this,n)||Object.defineProperty(this,n,{get:()=>ge(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(Zt))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):cp;const a=Zt(t);o&&this._numberProps&&this._numberProps[a]&&(n=ku(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===cp?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(Po(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(Po(t),o+""):o||this.removeAttribute(Po(t)),r&&r.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),r$(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=ut(this._def,Dt(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,fs(s[0])?Dt({detail:s},s[0]):{detail:s}))};n.emit=(r,...s)=>{a(r,s),Po(r)!==r&&a(Po(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=>$s(t,o):t};function t$(e){e.target.composing=!0}function dp(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Js=Symbol("_assign"),Xs=Symbol("_initialValue");function Ll(e,t,o){return t&&(e=e.trim()),o&&(e=qi(e)),e}const pp={created(e,{modifiers:{lazy:t,trim:o,number:n}},a){e.parentNode&&(e.type==="text"?e[Xs]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Xs]=e.defaultValue.replace(/\r\n?/g,` `))),e[Js]=up(a);const r=n||a.props&&a.props.type==="number";Ha(e,t?"change":"input",s=>{s.target.composing||e[Js](Ll(e.value,o,r))}),(o||r)&&Ha(e,"change",()=>{e.value=Ll(e.value,o,r)}),t||(Ha(e,"compositionstart",t$),Ha(e,"compositionend",dp),Ha(e,"change",dp))},mounted(e,{value:t,modifiers:{trim:o,number:n}}){const a=t??"",r=e[Xs];delete e[Xs],r!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==r?e[Js](Ll(e.value,o,n)):e.value=a},beforeUpdate(e,{value:t,oldValue:o,modifiers:{lazy:n,trim:a,number:r}},s){if(e[Js]=up(s),e.composing)return;const i=(r||e.type==="number")&&!/^0\d/.test(e.value)?qi(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)}},o$=["ctrl","shift","alt","meta"],n$={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)=>o$.some(o=>e[`${o}Key`]&&!t.includes(o))},At=(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{fp().render(...e)},hp=(...e)=>{const t=fp().createApp(...e),{mount:o}=t;return t.mount=n=>{const a=i$(n);if(!a)return;const r=t._component;!Ze(r)&&!r.render&&!r.template&&(r.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const s=o(a,!1,s$(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),s},t};function s$(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function i$(e){return xt(e)?document.querySelector(e):e}/*! * pinia v2.3.1 * (c) 2025 Eduardo San Martin Morote * @license MIT - */let mp;const Qs=e=>mp=e,bp=Symbol();function Cl(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var zr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(zr||(zr={}));function l$(){const e=vs(!0),t=e.run(()=>we({}));let o=[],n=[];const a=Fa({install(r){Qs(a),a._a=r,r.provide(bp,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 $p=()=>{};function _p(e,t,o,n=$p){e.push(t);const a=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),n())};return!o&&Tu()&&Bm(a),a}function Ua(e,...t){e.slice().forEach(o=>{o(...t)})}const c$=e=>e(),yp=Symbol(),Tl=Symbol();function El(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];Cl(a)&&Cl(n)&&e.hasOwnProperty(o)&&!Tt(n)&&!_n(n)?e[o]=El(a,n):e[o]=n}return e}const u$=Symbol();function d$(e){return!Cl(e)||!e.hasOwnProperty(u$)}const{assign:Bn}=Object;function p$(e){return!!(Tt(e)&&e.effect)}function g$(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=c0(o.state.value[e]);return Bn(u,r,Object.keys(s||{}).reduce((p,f)=>(p[f]=Fa(oe(()=>{Qs(o);const x=o._s.get(e);return s[f].call(x,x)})),p),{}))}return l=vp(e,c,t,o,n,!0),l}function vp(e,t,o={},n,a,r){let s;const i=Bn({actions:{}},o),l={deep:!0};let c,u,p=[],f=[],x;const S=n.state.value[e];!r&&!S&&(n.state.value[e]={});let y;function h(E){let L;c=u=!1,typeof E=="function"?(E(n.state.value[e]),L={type:zr.patchFunction,storeId:e,events:x}):(El(n.state.value[e],E),L={type:zr.patchObject,payload:E,storeId:e,events:x});const H=y=Symbol();Qt().then(()=>{y===H&&(c=!0)}),u=!0,Ua(p,L,n.state.value[e])}const _=r?function(){const{state:L}=o,H=L?L():{};this.$patch(K=>{Bn(K,H)})}:$p;function g(){s.stop(),p=[],f=[],n._s.delete(e)}const b=(E,L="")=>{if(yp in E)return E[Tl]=L,E;const H=function(){Qs(n);const K=Array.from(arguments),J=[],v=[];function N(I){J.push(I)}function $(I){v.push(I)}Ua(f,{args:K,name:H[Tl],store:w,after:N,onError:$});let A;try{A=E.apply(this&&this.$id===e?this:w,K)}catch(I){throw Ua(v,I),I}return A instanceof Promise?A.then(I=>(Ua(J,I),I)).catch(I=>(Ua(v,I),Promise.reject(I))):(Ua(J,A),A)};return H[yp]=!0,H[Tl]=L,H},d={_p:n,$id:e,$onAction:_p.bind(null,f),$patch:h,$reset:_,$subscribe(E,L={}){const H=_p(p,E,L.detached,()=>K()),K=s.run(()=>Ue(()=>n.state.value[e],J=>{(L.flush==="sync"?u:c)&&E({storeId:e,type:zr.direct,events:x},J)},Bn({},l,L)));return H},$dispose:g},w=Ra(d);n._s.set(e,w);const k=(n._a&&n._a.runWithContext||c$)(()=>n._e.run(()=>(s=vs()).run(()=>t({action:b}))));for(const E in k){const L=k[E];if(Tt(L)&&!p$(L)||_n(L))r||(S&&d$(L)&&(Tt(L)?L.value=S[E]:El(L,S[E])),n.state.value[e][E]=L);else if(typeof L=="function"){const H=b(L,E);k[E]=H,i.actions[E]=L}}return Bn(w,k),Bn(rt(w),k),Object.defineProperty(w,"$state",{get:()=>n.state.value[e],set:E=>{h(L=>{Bn(L,E)})}}),n._p.forEach(E=>{Bn(w,s.run(()=>E({store:w,app:n._a,pinia:n,options:i})))}),S&&r&&o.hydrate&&o.hydrate(w.$state,S),c=!0,u=!0,w}/*! #__NO_SIDE_EFFECTS__ */function Ml(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=k0();return i=i||(c?je(bp,null):null),i&&Qs(i),i=mp,i._s.has(n)||(r?vp(n,t,a,i):g$(n,a,i)),i._s.get(n)}return s.$id=n,s}const f$=3,h$=e=>e*500;async function Wa(e,t=void 0,{attempts:o=f$,backoff:n=h$,signal:a=null}={}){let r;for(let s=1;s<=Math.max(1,o);s++){if(a!=null&&a.aborted)throw a.reason??new Error("aborted");try{return await fetch(e,t)}catch(i){if((i==null?void 0:i.name)==="AbortError"||a!=null&&a.aborted)throw i;if(r=i,s>=o)break;await new Promise(l=>setTimeout(l,n(s)))}}throw r}const Rl="__doxaMapToken",Fl="doxa:map-token",wp="__doxaMapTokenBridge",Ka=()=>{if(typeof window>"u")return"";const e=window[Rl];return typeof e=="string"?e:""};function Nl(e){if(typeof window>"u")return"";kp();const t=typeof e=="string"?e.trim():"";if(!t||t===Ka())return Ka();window[Rl]=t;try{window.dispatchEvent(new CustomEvent(Fl,{detail:t}))}catch{}return t}function kp(){var t;if(typeof window>"u"||window[wp]&&((t=Object.getOwnPropertyDescriptor(window,"MAP_TOKEN"))!=null&&t.get))return;const e=typeof window.MAP_TOKEN=="string"?window.MAP_TOKEN:"";e&&!Ka()&&(window[Rl]=e);try{Object.defineProperty(window,"MAP_TOKEN",{configurable:!0,get(){return Ka()},set(o){Nl(o)}}),window[wp]=!0}catch{}}function m$(){kp();const e=we(Ka());if(typeof window<"u"){const t=()=>{e.value=Ka()};window.addEventListener(Fl,t);try{vo(()=>window.removeEventListener(Fl,t))}catch{}}return e}function b$(e){if(typeof window>"u"||!/^https?:\/\//i.test(String(e||"")))return Promise.resolve("");const t=window.__doxaMapTokenFetches=window.__doxaMapTokenFetches||{};if(t[e])return t[e];const o=Wa(e).then(n=>{if(!n.ok)throw new Error("HTTP "+n.status);return(n.headers.get("content-type")||"").includes("json")?n.json():n.text()}).then(n=>{const a=String((typeof n=="string"?n:n&&(n.token||n.tk||n.accessToken))||"").trim();return a.startsWith("pk.")?(Nl(a),a):""}).catch(n=>(console.warn(`[map token] ${e}: ${n&&n.message?n.message:n}`),"")).finally(()=>{window.__doxaMapTokenPending===o&&(window.__doxaMapTokenPending=null)});return window.__doxaMapTokenPending=o,t[e]=o,o}/*! + */let mp;const Qs=e=>mp=e,bp=Symbol();function Cl(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var zr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(zr||(zr={}));function l$(){const e=vs(!0),t=e.run(()=>we({}));let o=[],n=[];const a=Fa({install(r){Qs(a),a._a=r,r.provide(bp,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 $p=()=>{};function _p(e,t,o,n=$p){e.push(t);const a=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),n())};return!o&&Tu()&&Bm(a),a}function Ua(e,...t){e.slice().forEach(o=>{o(...t)})}const c$=e=>e(),yp=Symbol(),Tl=Symbol();function El(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];Cl(a)&&Cl(n)&&e.hasOwnProperty(o)&&!Tt(n)&&!_n(n)?e[o]=El(a,n):e[o]=n}return e}const u$=Symbol();function d$(e){return!Cl(e)||!e.hasOwnProperty(u$)}const{assign:Bn}=Object;function p$(e){return!!(Tt(e)&&e.effect)}function g$(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=c0(o.state.value[e]);return Bn(u,r,Object.keys(s||{}).reduce((p,f)=>(p[f]=Fa(oe(()=>{Qs(o);const x=o._s.get(e);return s[f].call(x,x)})),p),{}))}return l=vp(e,c,t,o,n,!0),l}function vp(e,t,o={},n,a,r){let s;const i=Bn({actions:{}},o),l={deep:!0};let c,u,p=[],f=[],x;const S=n.state.value[e];!r&&!S&&(n.state.value[e]={});let y;function h(E){let L;c=u=!1,typeof E=="function"?(E(n.state.value[e]),L={type:zr.patchFunction,storeId:e,events:x}):(El(n.state.value[e],E),L={type:zr.patchObject,payload:E,storeId:e,events:x});const H=y=Symbol();Qt().then(()=>{y===H&&(c=!0)}),u=!0,Ua(p,L,n.state.value[e])}const _=r?function(){const{state:L}=o,H=L?L():{};this.$patch(K=>{Bn(K,H)})}:$p;function g(){s.stop(),p=[],f=[],n._s.delete(e)}const b=(E,L="")=>{if(yp in E)return E[Tl]=L,E;const H=function(){Qs(n);const K=Array.from(arguments),J=[],v=[];function N(I){J.push(I)}function $(I){v.push(I)}Ua(f,{args:K,name:H[Tl],store:w,after:N,onError:$});let A;try{A=E.apply(this&&this.$id===e?this:w,K)}catch(I){throw Ua(v,I),I}return A instanceof Promise?A.then(I=>(Ua(J,I),I)).catch(I=>(Ua(v,I),Promise.reject(I))):(Ua(J,A),A)};return H[yp]=!0,H[Tl]=L,H},d={_p:n,$id:e,$onAction:_p.bind(null,f),$patch:h,$reset:_,$subscribe(E,L={}){const H=_p(p,E,L.detached,()=>K()),K=s.run(()=>Ue(()=>n.state.value[e],J=>{(L.flush==="sync"?u:c)&&E({storeId:e,type:zr.direct,events:x},J)},Bn({},l,L)));return H},$dispose:g},w=Ra(d);n._s.set(e,w);const k=(n._a&&n._a.runWithContext||c$)(()=>n._e.run(()=>(s=vs()).run(()=>t({action:b}))));for(const E in k){const L=k[E];if(Tt(L)&&!p$(L)||_n(L))r||(S&&d$(L)&&(Tt(L)?L.value=S[E]:El(L,S[E])),n.state.value[e][E]=L);else if(typeof L=="function"){const H=b(L,E);k[E]=H,i.actions[E]=L}}return Bn(w,k),Bn(rt(w),k),Object.defineProperty(w,"$state",{get:()=>n.state.value[e],set:E=>{h(L=>{Bn(L,E)})}}),n._p.forEach(E=>{Bn(w,s.run(()=>E({store:w,app:n._a,pinia:n,options:i})))}),S&&r&&o.hydrate&&o.hydrate(w.$state,S),c=!0,u=!0,w}/*! #__NO_SIDE_EFFECTS__ */function Ml(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=k0();return i=i||(c?je(bp,null):null),i&&Qs(i),i=mp,i._s.has(n)||(r?vp(n,t,a,i):g$(n,a,i)),i._s.get(n)}return s.$id=n,s}const f$=3,h$=e=>e*500;async function Wa(e,t=void 0,{attempts:o=f$,backoff:n=h$,signal:a=null}={}){let r;for(let s=1;s<=Math.max(1,o);s++){if(a!=null&&a.aborted)throw a.reason??new Error("aborted");try{return await fetch(e,t)}catch(i){if((i==null?void 0:i.name)==="AbortError"||a!=null&&a.aborted)throw i;if(r=i,s>=o)break;await new Promise(l=>setTimeout(l,n(s)))}}throw r}const Rl="__doxaMapToken",Fl="doxa:map-token",wp="__doxaMapTokenBridge",Ka=()=>{if(typeof window>"u")return"";const e=window[Rl];return typeof e=="string"?e:""};function Nl(e){if(typeof window>"u")return"";kp();const t=typeof e=="string"?e.trim():"";if(!t||t===Ka())return Ka();window[Rl]=t;try{window.dispatchEvent(new CustomEvent(Fl,{detail:t}))}catch{}return t}function kp(){var t;if(typeof window>"u"||window[wp]&&((t=Object.getOwnPropertyDescriptor(window,"MAP_TOKEN"))!=null&&t.get))return;const e=typeof window.MAP_TOKEN=="string"?window.MAP_TOKEN:"";e&&!Ka()&&(window[Rl]=e);try{Object.defineProperty(window,"MAP_TOKEN",{configurable:!0,get(){return Ka()},set(o){Nl(o)}}),window[wp]=!0}catch{}}function m$(){kp();const e=we(Ka());if(typeof window<"u"){const t=()=>{e.value=Ka()};window.addEventListener(Fl,t);try{wo(()=>window.removeEventListener(Fl,t))}catch{}}return e}function b$(e){if(typeof window>"u"||!/^https?:\/\//i.test(String(e||"")))return Promise.resolve("");const t=window.__doxaMapTokenFetches=window.__doxaMapTokenFetches||{};if(t[e])return t[e];const o=Wa(e).then(n=>{if(!n.ok)throw new Error("HTTP "+n.status);return(n.headers.get("content-type")||"").includes("json")?n.json():n.text()}).then(n=>{const a=String((typeof n=="string"?n:n&&(n.token||n.tk||n.accessToken))||"").trim();return a.startsWith("pk.")?(Nl(a),a):""}).catch(n=>(console.warn(`[map token] ${e}: ${n&&n.message?n.message:n}`),"")).finally(()=>{window.__doxaMapTokenPending===o&&(window.__doxaMapTokenPending=null)});return window.__doxaMapTokenPending=o,t[e]=o,o}/*! * shared v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. @@ -40,14 +40,14 @@ * vue-i18n v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */const ty="9.14.5";function oy(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(jr().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(jr().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(jr().__INTLIFY_PROD_DEVTOOLS__=!1)}const ny=M_.__EXTEND_POINT__,Ln=oi(ny);Ln(),Ln(),Ln(),Ln(),Ln(),Ln(),Ln(),Ln(),Ln();const bg=on.__EXTEND_POINT__,mo=oi(bg),Vt={UNEXPECTED_RETURN_TYPE:bg,INVALID_ARGUMENT:mo(),MUST_BE_CALL_SETUP_TOP:mo(),NOT_INSTALLED:mo(),NOT_AVAILABLE_IN_LEGACY_MODE:mo(),REQUIRED_VALUE:mo(),INVALID_VALUE:mo(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:mo(),NOT_INSTALLED_WITH_PROVIDE:mo(),UNEXPECTED_ERROR:mo(),NOT_COMPATIBLE_LEGACY_VUE_I18N:mo(),BRIDGE_SUPPORT_VUE_2_ONLY:mo(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:mo(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:mo(),__EXTEND_POINT__:mo()};function Jt(e,...t){return qa(e,null,void 0)}const Vl=Gn("__translateVNode"),Yl=Gn("__datetimeParts"),Zl=Gn("__numberParts"),$g=Gn("__setPluralRules"),_g=Gn("__injectWithOption"),Jl=Gn("__dispose");function Ur(e){if(!dt(e)||tn(e))return e;for(const t in e)if(Oo(e,t))if(!t.includes("."))dt(e[t])&&Ur(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]||yt(),ai(c,s[l])):ai(c,s)}else Fe(i)&&ai(JSON.parse(i),s)}),a==null&&r)for(const i in s)Oo(s,i)&&Ur(s[i]);return s}function yg(e){return e.type}function vg(e,t,o){let n=dt(t.messages)?t.messages:yt();"__i18nGlobal"in o&&(n=ci(e.locale.value,{messages:n,__i18n:o.__i18nGlobal}));const a=Object.keys(n);a.length&&a.forEach(r=>{e.mergeLocaleMessage(r,n[r])});{if(dt(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(dt(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function wg(e){return ut(Er,null,e,0)}const kg="__INTLIFY_META__",xg=()=>[],ay=()=>!1;let Sg=0;function Ag(e){return(t,o,n,a)=>e(o,n,Lo()||void 0,a)}const ry=()=>{const e=Lo();let t=null;return e&&(t=yg(e)[kg])?{[kg]:t}:null};function Xl(e={},t){const{__root:o,__injectWithOption:n}=e,a=o===void 0,r=e.flatJson,s=ei?we:Ia,i=!!e.translateExistCompatible;let l=nt(e.inheritLocale)?e.inheritLocale:!0;const c=s(o&&l?o.locale.value:Fe(e.locale)?e.locale:Za),u=s(o&&l?o.fallbackLocale.value:Fe(e.fallbackLocale)||Et(e.fallbackLocale)||Qe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),p=s(ci(c.value,e)),f=s(Qe(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),x=s(Qe(e.numberFormats)?e.numberFormats:{[c.value]:{}});let S=o?o.missingWarn:nt(e.missingWarn)||Hn(e.missingWarn)?e.missingWarn:!0,y=o?o.fallbackWarn:nt(e.fallbackWarn)||Hn(e.fallbackWarn)?e.fallbackWarn:!0,h=o?o.fallbackRoot:nt(e.fallbackRoot)?e.fallbackRoot:!0,_=!!e.fallbackFormat,g=Pt(e.missing)?e.missing:null,b=Pt(e.missing)?Ag(e.missing):null,d=Pt(e.postTranslation)?e.postTranslation:null,w=o?o.warnHtmlMessage:nt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter;const k=o?o.modifiers:Qe(e.modifiers)?e.modifiers:{};let E=e.pluralRules||o&&o.pluralRules,L;L=(()=>{a&&ag(null);const U={version:ty,locale:c.value,fallbackLocale:u.value,messages:p.value,modifiers:k,pluralRules:E,missing:b===null?void 0:b,missingWarn:S,fallbackWarn:y,fallbackFormat:_,unresolving:!0,postTranslation:d===null?void 0:d,warnHtmlMessage:w,escapeParameter:m,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};U.datetimeFormats=f.value,U.numberFormats=x.value,U.__datetimeFormatters=Qe(L)?L.__datetimeFormatters:void 0,U.__numberFormatters=Qe(L)?L.__numberFormatters:void 0;const ne=U_(U);return a&&ag(ne),ne})(),Hr(L,c.value,u.value);function K(){return[c.value,u.value,p.value,f.value,x.value]}const J=oe({get:()=>c.value,set:U=>{c.value=U,L.locale=c.value}}),v=oe({get:()=>u.value,set:U=>{u.value=U,L.fallbackLocale=u.value,Hr(L,c.value,U)}}),N=oe(()=>p.value),$=oe(()=>f.value),A=oe(()=>x.value);function I(){return Pt(d)?d:null}function F(U){d=U,L.postTranslation=U}function W(){return g}function z(U){U!==null&&(b=Ag(U)),g=U,L.missing=b}const Z=(U,ne,Ee,Re,tt,kt)=>{K();let $t;try{__INTLIFY_PROD_DEVTOOLS__,a||(L.fallbackContext=o?H_():void 0),$t=U(L)}finally{__INTLIFY_PROD_DEVTOOLS__,a||(L.fallbackContext=void 0)}if(Ee!=="translate exists"&&Gt($t)&&$t===ii||Ee==="translate exists"&&!$t){const[Nt,Yt]=ne();return o&&h?Re(o):tt(Nt)}else{if(kt($t))return $t;throw Jt(Vt.UNEXPECTED_RETURN_TYPE)}};function j(...U){return Z(ne=>Reflect.apply(lg,null,[ne,...U]),()=>Wl(...U),"translate",ne=>Reflect.apply(ne.t,ne,[...U]),ne=>ne,ne=>Fe(ne))}function ae(...U){const[ne,Ee,Re]=U;if(Re&&!dt(Re))throw Jt(Vt.INVALID_ARGUMENT);return j(ne,Ee,oo({resolvedMessage:!0},Re||{}))}function _e(...U){return Z(ne=>Reflect.apply(dg,null,[ne,...U]),()=>Kl(...U),"datetime format",ne=>Reflect.apply(ne.d,ne,[...U]),()=>Jp,ne=>Fe(ne))}function Te(...U){return Z(ne=>Reflect.apply(fg,null,[ne,...U]),()=>ql(...U),"number format",ne=>Reflect.apply(ne.n,ne,[...U]),()=>Jp,ne=>Fe(ne))}function xe(U){return U.map(ne=>Fe(ne)||Gt(ne)||nt(ne)?wg(String(ne)):ne)}const X={normalize:xe,interpolate:U=>U,type:"vnode"};function q(...U){return Z(ne=>{let Ee;const Re=ne;try{Re.processor=X,Ee=Reflect.apply(lg,null,[Re,...U])}finally{Re.processor=null}return Ee},()=>Wl(...U),"translate",ne=>ne[Vl](...U),ne=>[wg(ne)],ne=>Et(ne))}function pe(...U){return Z(ne=>Reflect.apply(fg,null,[ne,...U]),()=>ql(...U),"number format",ne=>ne[Zl](...U),xg,ne=>Fe(ne)||Et(ne))}function Le(...U){return Z(ne=>Reflect.apply(dg,null,[ne,...U]),()=>Kl(...U),"datetime format",ne=>ne[Yl](...U),xg,ne=>Fe(ne)||Et(ne))}function M(U){E=U,L.pluralRules=E}function O(U,ne){return Z(()=>{if(!U)return!1;const Ee=Fe(ne)?ne:c.value,Re=se(Ee),tt=L.messageResolver(Re,U);return i?tt!=null:tn(tt)||Co(tt)||Fe(tt)},()=>[U],"translate exists",Ee=>Reflect.apply(Ee.te,Ee,[U,ne]),ay,Ee=>nt(Ee))}function B(U){let ne=null;const Ee=Yp(L,u.value,c.value);for(let Re=0;Re{l&&(c.value=U,L.locale=U,Hr(L,c.value,u.value))}),Ue(o.fallbackLocale,U=>{l&&(u.value=U,L.fallbackLocale=U,Hr(L,c.value,u.value))}));const de={id:Sg,locale:J,fallbackLocale:v,get inheritLocale(){return l},set inheritLocale(U){l=U,U&&o&&(c.value=o.locale.value,u.value=o.fallbackLocale.value,Hr(L,c.value,u.value))},get availableLocales(){return Object.keys(p.value).sort()},messages:N,get modifiers(){return k},get pluralRules(){return E||{}},get isGlobal(){return a},get missingWarn(){return S},set missingWarn(U){S=U,L.missingWarn=S},get fallbackWarn(){return y},set fallbackWarn(U){y=U,L.fallbackWarn=y},get fallbackRoot(){return h},set fallbackRoot(U){h=U},get fallbackFormat(){return _},set fallbackFormat(U){_=U,L.fallbackFormat=_},get warnHtmlMessage(){return w},set warnHtmlMessage(U){w=U,L.warnHtmlMessage=U},get escapeParameter(){return m},set escapeParameter(U){m=U,L.escapeParameter=U},t:j,getLocaleMessage:se,setLocaleMessage:G,mergeLocaleMessage:ue,getPostTranslationHandler:I,setPostTranslationHandler:F,getMissingHandler:W,setMissingHandler:z,[$g]:M};return de.datetimeFormats=$,de.numberFormats=A,de.rt=ae,de.te=O,de.tm=V,de.d=_e,de.n=Te,de.getDateTimeFormat=me,de.setDateTimeFormat=T,de.mergeDateTimeFormat=P,de.getNumberFormat=Q,de.setNumberFormat=le,de.mergeNumberFormat=ve,de[_g]=n,de[Vl]=q,de[Yl]=Le,de[Zl]=pe,de}function sy(e){const t=Fe(e.locale)?e.locale:Za,o=Fe(e.fallbackLocale)||Et(e.fallbackLocale)||Qe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=Pt(e.missing)?e.missing:void 0,a=nt(e.silentTranslationWarn)||Hn(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=nt(e.silentFallbackWarn)||Hn(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,s=nt(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=Qe(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Pt(e.postTranslation)?e.postTranslation:void 0,p=Fe(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,x=nt(e.sync)?e.sync:!0;let S=e.messages;if(Qe(e.sharedMessages)){const m=e.sharedMessages;S=Object.keys(m).reduce((E,L)=>{const H=E[L]||(E[L]={});return oo(H,m[L]),E},S||{})}const{__i18n:y,__root:h,__injectWithOption:_}=e,g=e.datetimeFormats,b=e.numberFormats,d=e.flatJson,w=e.translateExistCompatible;return{locale:t,fallbackLocale:o,messages:S,flatJson:d,datetimeFormats:g,numberFormats:b,missing:n,missingWarn:a,fallbackWarn:r,fallbackRoot:s,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:p,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:x,translateExistCompatible:w,__i18n:y,__root:h,__injectWithOption:_}}function Ql(e={},t){{const o=Xl(sy(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 nt(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(r){o.missingWarn=nt(r)?!r:r},get silentFallbackWarn(){return nt(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(r){o.fallbackWarn=nt(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(!Fe(s))throw Jt(Vt.INVALID_ARGUMENT);const f=s;return Fe(i)?c.locale=i:Et(i)?u=i:Qe(i)&&(p=i),Et(l)?u=l:Qe(l)&&(p=l),Reflect.apply(o.t,o,[f,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(!Fe(s))throw Jt(Vt.INVALID_ARGUMENT);const f=s;return Fe(i)?c.locale=i:Gt(i)?c.plural=i:Et(i)?u=i:Qe(i)&&(p=i),Fe(l)?c.locale=l:Et(l)?u=l:Qe(l)&&(p=l),Reflect.apply(o.t,o,[f,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 ec={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function iy({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,a)=>[...n,...a.type===et?a.children:[a]],[]):t.reduce((o,n)=>{const a=e[n];return a&&(o[n]=a()),o},yt())}function Pg(e){return et}const Lg=jn({name:"i18n-t",props:oo({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Gt(e)||!isNaN(e)}},ec),setup(e,t){const{slots:o,attrs:n}=t,a=e.i18n||jt({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(o).filter(p=>p!=="_"),s=yt();e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=Fe(e.plural)?+e.plural:e.plural);const i=iy(t,r),l=a[Vl](e.keypath,i,s),c=oo(yt(),n),u=Fe(e.tag)||dt(e.tag)?e.tag:Pg();return ua(u,c,l)}}});function ly(e){return Et(e)&&!Fe(e[0])}function Cg(e,t,o,n){const{slots:a,attrs:r}=t;return()=>{const s={part:!0};let i=yt();e.locale&&(s.locale=e.locale),Fe(e.format)?s.key=e.format:dt(e.format)&&(Fe(e.format.key)&&(s.key=e.format.key),i=Object.keys(e.format).reduce((f,x)=>o.includes(x)?oo(yt(),f,{[x]:e.format[x]}):f,yt()));const l=n(e.value,s,i);let c=[s.key];Et(l)?c=l.map((f,x)=>{const S=a[f.type],y=S?S({[f.type]:f.value,index:x,parts:l}):[f.value];return ly(y)&&(y[0].key=`${f.type}-${x}`),y}):Fe(l)&&(c=[l]);const u=oo(yt(),r),p=Fe(e.tag)||dt(e.tag)?e.tag:Pg();return ua(p,u,c)}}const Tg=jn({name:"i18n-n",props:oo({value:{type:Number,required:!0},format:{type:[String,Object]}},ec),setup(e,t){const o=e.i18n||jt({useScope:e.scope,__useComponent:!0});return Cg(e,t,hg,(...n)=>o[Zl](...n))}}),Eg=jn({name:"i18n-d",props:oo({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ec),setup(e,t){const o=e.i18n||jt({useScope:e.scope,__useComponent:!0});return Cg(e,t,pg,(...n)=>o[Yl](...n))}});function cy(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 uy(e){const t=s=>{const{instance:i,modifiers:l,value:c}=s;if(!i||!i.$)throw Jt(Vt.UNEXPECTED_ERROR);const u=cy(e,i.$),p=Mg(c);return[Reflect.apply(u.t,u,[...Rg(p)]),u]};return{created:(s,i)=>{const[l,c]=t(i);ei&&e.global===c&&(s.__i18nWatcher=Ue(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),s.__composer=c,s.textContent=l},unmounted:s=>{ei&&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=Mg(i);s.textContent=Reflect.apply(l.t,l,[...Rg(c)])}},getSSRProps:s=>{const[i]=t(s);return{textContent:i}}}}function Mg(e){if(Fe(e))return{path:e};if(Qe(e)){if(!("path"in e))throw Jt(Vt.REQUIRED_VALUE,"path");return e}else throw Jt(Vt.INVALID_VALUE)}function Rg(e){const{path:t,locale:o,args:n,choice:a,plural:r}=e,s={},i=n||{};return Fe(o)&&(s.locale=o),Gt(a)&&(s.plural=a),Gt(r)&&(s.plural=r),[t,i,s]}function dy(e,t,...o){const n=Qe(o[0])?o[0]:{},a=!!n.useI18nComponentName;(nt(n.globalInstall)?n.globalInstall:!0)&&([a?"i18n":Lg.name,"I18nT"].forEach(s=>e.component(s,Lg)),[Tg.name,"I18nN"].forEach(s=>e.component(s,Tg)),[Eg.name,"I18nD"].forEach(s=>e.component(s,Eg))),e.directive("t",uy(t))}function py(e,t,o){return{beforeCreate(){const n=Lo();if(!n)throw Jt(Vt.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=Fg(e,r);else{r.__injectWithOption=!0,r.__extender=o.__vueI18nExtend,this.$i18n=Ql(r);const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=Fg(e,a);else{this.$i18n=Ql({__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&&vg(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=Lo();if(!n)throw Jt(Vt.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 Fg(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[$g](t.pluralizationRules||e.pluralizationRules);const o=ci(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 gy=Gn("global-vue-i18n");function fy(e={},t){const o=__VUE_I18N_LEGACY_API__&&nt(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=nt(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&o?!!e.allowComposition:!0,r=new Map,[s,i]=hy(e,o),l=Gn("");function c(f){return r.get(f)||null}function u(f,x){r.set(f,x)}function p(f){r.delete(f)}{const f={get mode(){return __VUE_I18N_LEGACY_API__&&o?"legacy":"composition"},get allowComposition(){return a},async install(x,...S){if(x.__VUE_I18N_SYMBOL__=l,x.provide(x.__VUE_I18N_SYMBOL__,f),Qe(S[0])){const _=S[0];f.__composerExtend=_.__composerExtend,f.__vueI18nExtend=_.__vueI18nExtend}let y=null;!o&&n&&(y=xy(x,f.global)),__VUE_I18N_FULL_INSTALL__&&dy(x,f,...S),__VUE_I18N_LEGACY_API__&&o&&x.mixin(py(i,i.__composer,f));const h=x.unmount;x.unmount=()=>{y&&y(),f.dispose(),h()}},get global(){return i},dispose(){s.stop()},__instances:r,__getInstance:c,__setInstance:u,__deleteInstance:p};return f}}function jt(e={}){const t=Lo();if(t==null)throw Jt(Vt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Jt(Vt.NOT_INSTALLED);const o=my(t),n=$y(o),a=yg(t),r=by(e,a);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!e.__useComponent){if(!o.allowComposition)throw Jt(Vt.NOT_AVAILABLE_IN_LEGACY_MODE);return wy(t,r,n,e)}if(r==="global")return vg(n,e,a),n;if(r==="parent"){let l=_y(o,t,e.__useComponent);return l==null&&(l=n),l}const s=o;let i=s.__getInstance(t);if(i==null){const l=oo({},e);"__i18n"in a&&(l.__i18n=a.__i18n),n&&(l.__root=n),i=Xl(l),s.__composerExtend&&(i[Jl]=s.__composerExtend(i)),vy(s,t,i),s.__setInstance(t,i)}return i}function hy(e,t,o){const n=vs();{const a=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Ql(e)):n.run(()=>Xl(e));if(a==null)throw Jt(Vt.UNEXPECTED_ERROR);return[n,a]}}function my(e){{const t=je(e.isCE?gy:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Jt(e.isCE?Vt.NOT_INSTALLED_WITH_PROVIDE:Vt.UNEXPECTED_ERROR);return t}}function by(e,t){return ti(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function $y(e){return e.mode==="composition"?e.global:e.global.__composer}function _y(e,t,o=!1){let n=null;const a=t.root;let r=yy(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[_g]&&(n=null))}if(n!=null||a===r)break;r=r.parent}return n}function yy(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function vy(e,t,o){Jo(()=>{},t),Bs(()=>{const n=o;e.__deleteInstance(t);const a=n[Jl];a&&(a(),delete n[Jl])},t)}function wy(e,t,o,n={}){const a=t==="local",r=Ia(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Jt(Vt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=nt(n.inheritLocale)?n.inheritLocale:!Fe(n.locale),i=we(!a||s?o.locale.value:Fe(n.locale)?n.locale:Za),l=we(!a||s?o.fallbackLocale.value:Fe(n.fallbackLocale)||Et(n.fallbackLocale)||Qe(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i.value),c=we(ci(i.value,n)),u=we(Qe(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),p=we(Qe(n.numberFormats)?n.numberFormats:{[i.value]:{}}),f=a?o.missingWarn:nt(n.missingWarn)||Hn(n.missingWarn)?n.missingWarn:!0,x=a?o.fallbackWarn:nt(n.fallbackWarn)||Hn(n.fallbackWarn)?n.fallbackWarn:!0,S=a?o.fallbackRoot:nt(n.fallbackRoot)?n.fallbackRoot:!0,y=!!n.fallbackFormat,h=Pt(n.missing)?n.missing:null,_=Pt(n.postTranslation)?n.postTranslation:null,g=a?o.warnHtmlMessage:nt(n.warnHtmlMessage)?n.warnHtmlMessage:!0,b=!!n.escapeParameter,d=a?o.modifiers:Qe(n.modifiers)?n.modifiers:{},w=n.pluralRules||a&&o.pluralRules;function m(){return[i.value,l.value,c.value,u.value,p.value]}const k=oe({get:()=>r.value?r.value.locale.value:i.value,set:B=>{r.value&&(r.value.locale.value=B),i.value=B}}),E=oe({get:()=>r.value?r.value.fallbackLocale.value:l.value,set:B=>{r.value&&(r.value.fallbackLocale.value=B),l.value=B}}),L=oe(()=>r.value?r.value.messages.value:c.value),H=oe(()=>u.value),K=oe(()=>p.value);function J(){return r.value?r.value.getPostTranslationHandler():_}function v(B){r.value&&r.value.setPostTranslationHandler(B)}function N(){return r.value?r.value.getMissingHandler():h}function $(B){r.value&&r.value.setMissingHandler(B)}function A(B){return m(),B()}function I(...B){return r.value?A(()=>Reflect.apply(r.value.t,null,[...B])):A(()=>"")}function F(...B){return r.value?Reflect.apply(r.value.rt,null,[...B]):""}function W(...B){return r.value?A(()=>Reflect.apply(r.value.d,null,[...B])):A(()=>"")}function z(...B){return r.value?A(()=>Reflect.apply(r.value.n,null,[...B])):A(()=>"")}function Z(B){return r.value?r.value.tm(B):{}}function j(B,V){return r.value?r.value.te(B,V):!1}function ae(B){return r.value?r.value.getLocaleMessage(B):{}}function _e(B,V){r.value&&(r.value.setLocaleMessage(B,V),c.value[B]=V)}function Te(B,V){r.value&&r.value.mergeLocaleMessage(B,V)}function xe(B){return r.value?r.value.getDateTimeFormat(B):{}}function Ae(B,V){r.value&&(r.value.setDateTimeFormat(B,V),u.value[B]=V)}function X(B,V){r.value&&r.value.mergeDateTimeFormat(B,V)}function q(B){return r.value?r.value.getNumberFormat(B):{}}function pe(B,V){r.value&&(r.value.setNumberFormat(B,V),p.value[B]=V)}function Le(B,V){r.value&&r.value.mergeNumberFormat(B,V)}const M={get id(){return r.value?r.value.id:-1},locale:k,fallbackLocale:E,messages:L,datetimeFormats:H,numberFormats:K,get inheritLocale(){return r.value?r.value.inheritLocale:s},set inheritLocale(B){r.value&&(r.value.inheritLocale=B)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(c.value)},get modifiers(){return r.value?r.value.modifiers:d},get pluralRules(){return r.value?r.value.pluralRules:w},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:f},set missingWarn(B){r.value&&(r.value.missingWarn=B)},get fallbackWarn(){return r.value?r.value.fallbackWarn:x},set fallbackWarn(B){r.value&&(r.value.missingWarn=B)},get fallbackRoot(){return r.value?r.value.fallbackRoot:S},set fallbackRoot(B){r.value&&(r.value.fallbackRoot=B)},get fallbackFormat(){return r.value?r.value.fallbackFormat:y},set fallbackFormat(B){r.value&&(r.value.fallbackFormat=B)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:g},set warnHtmlMessage(B){r.value&&(r.value.warnHtmlMessage=B)},get escapeParameter(){return r.value?r.value.escapeParameter:b},set escapeParameter(B){r.value&&(r.value.escapeParameter=B)},t:I,getPostTranslationHandler:J,setPostTranslationHandler:v,getMissingHandler:N,setMissingHandler:$,rt:F,d:W,n:z,tm:Z,te:j,getLocaleMessage:ae,setLocaleMessage:_e,mergeLocaleMessage:Te,getDateTimeFormat:xe,setDateTimeFormat:Ae,mergeDateTimeFormat:X,getNumberFormat:q,setNumberFormat:pe,mergeNumberFormat:Le};function O(B){B.locale.value=i.value,B.fallbackLocale.value=l.value,Object.keys(c.value).forEach(V=>{B.mergeLocaleMessage(V,c.value[V])}),Object.keys(u.value).forEach(V=>{B.mergeDateTimeFormat(V,u.value[V])}),Object.keys(p.value).forEach(V=>{B.mergeNumberFormat(V,p.value[V])}),B.escapeParameter=b,B.fallbackFormat=y,B.fallbackRoot=S,B.fallbackWarn=x,B.missingWarn=f,B.warnHtmlMessage=g}return hd(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Jt(Vt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const B=r.value=e.proxy.$i18n.__composer;t==="global"?(i.value=B.locale.value,l.value=B.fallbackLocale.value,c.value=B.messages.value,u.value=B.datetimeFormats.value,p.value=B.numberFormats.value):a&&O(B)}),M}const ky=["locale","fallbackLocale","availableLocales"],Ng=["t","rt","d","n","tm","te"];function xy(e,t){const o=Object.create(null);return ky.forEach(a=>{const r=Object.getOwnPropertyDescriptor(t,a);if(!r)throw Jt(Vt.UNEXPECTED_ERROR);const s=Tt(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,Ng.forEach(a=>{const r=Object.getOwnPropertyDescriptor(t,a);if(!r||!r.value)throw Jt(Vt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,r)}),()=>{delete e.config.globalProperties.$i18n,Ng.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}if(oy(),D_(Z_),z_($_),j_(Yp),__INTLIFY_PROD_DEVTOOLS__){const e=jr();e.__INTLIFY__=!0,P_(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Sy=Object.assign({"./locales/ar/allPeopleGroups.json":{title:"كل مجموعات الشعوب",locations:"{n} موقعًا (مجموعة × بلد)",doxa:"مجموعات شعوب DOXA",frontier:"حدودية — لم يبدأ شيء",unreached:"غير مُبشَّرة — العمل يبدأ",reached:"مُبشَّرة — الكنيسة موجودة",hint:"انقر على صف لعرضها كلها · انقر مرة أخرى لعرض الكل",loading:"جارٍ تحميل كل مجموعات الشعوب…",loadError:"تعذّر تحميل الخريطة.",pray:"صلِّ لأجلهم ←",population:"السكان {n}"},"./locales/ar/aria.json":{backToLegend:"العودة إلى المفتاح",closeDetailView:"إغلاق عرض التفاصيل",collapseLegend:"طيّ وسيلة الإيضاح",expandLegend:"توسيع وسيلة الإيضاح",toggleLegend:"إظهار وسيلة الإيضاح أو إخفاؤها",searchPeopleGroups:"ابحث عن الشعوب",resetAllFilters:"إعادة تعيين كل عوامل التصفية والبحث",selectAllRows:"تحديد كل الصفوف",deselectAllRows:"إلغاء تحديد كل الصفوف",rowDetail:"تفاصيل الصف",dismissHint:"إخفاء التلميح",resizeFiltersRail:"تغيير حجم شريط عوامل التصفية",resizeFiltersRailHint:"اسحب أو استخدم مفاتيح الأسهم لتغيير حجم شريط عوامل التصفية",resizeChartsRail:"تغيير حجم شريط الرسوم البيانية",resizeChartsRailHint:"اسحب أو استخدم مفاتيح الأسهم لتغيير حجم شريط الرسوم البيانية",resizeMapTableSplit:"تغيير نسبة التقسيم بين الخريطة والجدول",resizeMapTableSplitHint:"اسحب أو استخدم مفاتيح الأسهم لتغيير نسبة التقسيم بين الخريطة والجدول",resizeTable:"تغيير ارتفاع الجدول",resizeTableHint:"اسحب أو استخدم مفاتيح الأسهم لتغيير حجم الجدول",resizeDashboardHeight:"تغيير ارتفاع لوحة المعلومات",resizeDashboardHeightHint:"اسحب أو استخدم مفاتيح الأسهم لتغيير ارتفاع لوحة المعلومات",removeFilter:"إزالة عامل التصفية {name}",closeDetail:"إغلاق التفاصيل",filterBreadcrumb:"مسار عوامل التصفية",railViews:"طرق عرض الشريط",upgCountLegend:"مفتاح عدد UPG",donutChart:"مخطط دائري مجوّف: {title}"},"./locales/ar/buttons.json":{prayForThem:"صلِّ من أجلهم",adoptThem:"تبنَّهم",moreInfo:"مزيد من المعلومات",zoomIn:"تكبير",zoomOut:"تصغير",switchToLightMode:"التبديل إلى الوضع الفاتح",switchToDarkMode:"التبديل إلى الوضع الداكن",resetView:"إعادة تعيين العرض",toggleFullscreen:"تبديل ملء الشاشة",aboutThisMap:"حول هذه الخريطة",closeMenu:"إغلاق القائمة",reloadMap:"إعادة تحميل الخريطة",showClusters:"إظهار المجموعات",clusterSettings:"إعدادات المجموعات",startAutoFly:"بدء الطيران التلقائي",stopFlight:"إيقاف الطيران",speedLabel:"السرعة:",speedOption:{slow:"بطيء",normal:"عادي",fast:"سريع"},shareEmbed:"مشاركة وتضمين",posterMap:"خريطة الملصق",prayerList:"قائمة الصلاة",cardDeck:"مجموعة البطاقات",printOptions:"خيارات الطباعة",showOnMap:"أظهر على الخريطة",close:"إغلاق",showOnMapAria:"أظهر {label} على الخريطة",cardStockAria:"حجم بطاقة الصلاة",previewPrintPoster:"معاينة وطباعة ملصق {label}",share:"مشاركة",shareSteps:["ضع هذه الخريطة على موقعك","أعدّ قائمة بمواقع الويب في مدينتك","علّمهم أن يضعوها أيضًا","علّمهم أن يعلّموا غيرهم وضعها","لنكثر الخرائط في كل مكان ليسوع!"],clearSelection:"إلغاء التحديد",noOptions:"لا توجد نتائج",renderingLocal:"يتم إنشاء صورة بجودة الطباعة في متصفحك — لا يتم تحميل أي شيء.",postersPerRow:"الملصقات في كل صف",packetVariantAria:"تفاصيل حزمة الصلاة",packetFull:"تفاصيل كاملة",packetLightweight:"مختصرة",working:"جارٍ العمل…",postersPerRowAuto:"تلقائي"},"./locales/ar/controls.json":{research_controls:"أدوات البحث",clustering:"التجميع",filters:"عوامل التصفية",pin_dim:"خفوت النقاط",export_poster:"تصدير ملصق…",reload_data:"إعادة تحميل البيانات",off:"إيقاف",native:"أصلي",mst:"الشجرة الممتدة",network:"شبكة",off_desc:"إظهار كل نقطة على حدة",native_desc:"تجميع دوائر Mapbox (الأسرع)",mst_desc:"شبكات تقارب بالشجرة الممتدة الصغرى",network_desc:"خطوط ربط بأقرب جار",search_languages:"ابحث عن اللغات…",search_religions:"ابحث عن الأديان…",reset_all:"إعادة تعيين الكل",no_languages:"لم تُحمَّل أي لغات بعد",no_religions:"لم تُحمَّل أي أديان بعد",unadopted:"غير متبنّى",min:"الأدنى",max:"الأعلى",adopted:"متبنَّاة",adoption:"التبني",engaged:"مُخْدُومَة",engagement:"المشاركة",unengaged:"يحتاج إلى انخراط",language:"اللغة",religion:"الدين",population:"السكان",any:"الكل",active_count:"{n} نشط",prayer_status:"حالة الصلاة",close:"إغلاق",clear:"مسح",map_controls:"أدوات التحكم بالخريطة",clusters:"التجمّعات",mst_full_name:"الشجرة الممتدة الصغرى",mst_hint:"اضغط على صف في مفتاح الخريطة لتجميع تلك المجموعة وحدها"},"./locales/ar/dashboard.json":{bloc:"كتلة التقارب",gospel_access:"الوصول إلى الإنجيل",people:"الشعوب",people_name:"الشعب (الاسم)",praying:"يصلّون",religion_family:"عائلة الأديان",search_language:"ابحث عن لغة",search_people:"ابحث عن شعب",search_place:"ابحث عن مكان",search_religion:"ابحث عن دين",upgs_in_scope:"الشعوب ضمن النطاق",countries_touched:"الدول المشمولة",unreached:"غير موصولين",sum_population:"مجموع السكان",sum_praying:"مجموع المصلّين",charts:"الرسوم البيانية",table:"الجدول",cluster:"المجموعة",country:"الدولة",engagement:"المشاركة",language:"اللغة",language_family:"عائلة اللغة",people_group:"الشعب",population:"السكان",prayer:"الصلاة",region:"المنطقة",religion:"الدين",status:"الحالة",adopted:"متبنَّاة",filters:"عوامل التصفية",gospel_resources:"موارد الإنجيل",map:"الخريطة",search_placeholder:"ابحث عن الشعوب والأماكن واللغات والأديان…",any:"الكل",active_count:"{n} نشط",prayer_status:"حالة الصلاة",map_controls:"أدوات التحكم بالخريطة",close:"إغلاق",clear:"مسح",dashboard_title:"لوحة البحث الشاملة",align_dashboard:"محاذاة اللوحة",align_dashboard_tip:"إعادة تخطيط اللوحة إلى المحاذاة الافتراضية",selected:"المحدد",world:"العالم",vertical_legend:"مفتاح عمودي",groups_in_scope:"مجموعة ضمن النطاق",filter_by:"تصفية حسب",remove_filter:"إزالة التصفية",groups:"مجموعة",expand:"توسيع",collapse:"طيّ",place:"المكان",export_csv:"تصدير CSV",detail:"التفاصيل",detail_empty:"اختر شعبًا لعرض التفاصيل",heartbeat_zone:"منطقة نبض القلب",top_countries:"أبرز الدول",select_all:"تحديد الكل",expand_table:"توسيع الجدول",collapse_table:"طيّ الجدول — توسيع الخريطة",group:"مجموعة",deselect_all:"إلغاء تحديد الكل",results_live:"عرض {count} من أصل {total} {unit}",filters_live:"عوامل التصفية: {list}",search_live:"البحث: {term}",adopted_by_churches:"تم تبنّيها من قِبل الكنائس",bp_title:"الصورة الكاملة — لوحة البحث الموحّدة",bp_subtitle:"ابحث وصفِّ شعوب العالم · الأقل وصولاً إليها أولاً",export_selection:"تصدير هذا التحديد",map_loading:"جارٍ تحميل خريطة البحث…",no_match:"لا توجد شعوب تطابق ”{q}“.",no_photo:"لا توجد صورة",only_selected:"المحدَّدة فقط",only_selected_hint:"إظهار الشعوب المحدَّدة فقط",people_committed:"الأشخاص الملتزمون",people_praying:"الأشخاص المصلّون",selected_first:"المحدَّدة أولاً",selected_first_hint:"رفع الشعوب المحدَّدة إلى الأعلى مع الإبقاء على ترتيب الأعمدة",n_shown:"{n} معروض",other:"أخرى",wagfRegion:{africa:"أفريقيا",asia:"آسيا",europe:"أوروبا","latin_america_&_caribbean":"أمريكا اللاتينية",oceania:"أوقيانوسيا",middle_east:"الشرق الأوسط","north_america_&_non-spanish_caribbean":"أمريكا الشمالية والكاريبي غير الناطق بالإسبانية"},sort_by_column_hint:"رتّب هذا الجدول حسب {column} — النقر مع Shift يضيف عمودًا ثانيًا. الفرز يرتّب الجدول فقط؛ وتحتفظ البطاقات بترتيبها.",fs_exit_hint:"الخروج من ملء الشاشة (Esc) — العودة إلى سبعة صفوف",fs_open_hint:"فتح هذا الجدول بملء الشاشة",fs_exit:"الخروج من ملء الشاشة",fs_open:"فتح الجدول بملء الشاشة",export_selected_hint:"تصدير جميع الحقول — الشعوب المحددة: {n}",export_all_hint:"تصدير جميع الحقول — الشعوب: {n}",map_init_failed:"تعذّر تشغيل الخريطة. تحقّق من رمز الوصول ومن حاوية الخريطة.",show_filters:"إظهار المرشّحات",hide_filters:"إخفاء المرشّحات — لتوسيع الخريطة",show_charts:"إظهار الرسوم",hide_charts:"إخفاء الرسوم — لتوسيع الخريطة",export_copied:"نُسخ إلى الحافظة",export_done:"صُدّر",export_ready:"جاهز",export_toast:"✓ {rows} صفًّا × {fields} حقلًا {how}",export_failed:"✕ فشل التصدير",pray_for_group:"صلِّ لأجل هذا الشعب",more_information:"مزيد من المعلومات",title:"لوحة البحث",gospel_pending:"غير جاهز بعد: ما زال رقم غير الموصول إليهم ومفتاح مصدر البيانات وشكل الواجهة قيد التقرير."},"./locales/ar/detail.json":{labels:{country:"الدولة:",population:"السكان:",language:"اللغة:",religion:"الديانة:",languageFamily:"العائلة اللغوية:",peopleCommitted:"ملتزمون بالصلاة:"},messages:{noDescription:"لا يوجد وصف متاح."}},"./locales/ar/grid.json":{search:"ابحث عن الشعوب…",hide_filters:"إخفاء عوامل التصفية",show_filters:"إظهار عوامل التصفية",total:"الإجمالي",showing:"المعروض",load_more:"عرض المزيد",full_profile:"الملف الكامل",wagf_region:"المنطقة",wagf_block:"كتلة التقارب",rop1:"الشعب",religion:"الدين",exact_filter:"تطابق تام",clear_all:"مسح الكل",loading:"جارٍ التحميل…",no_results:"لا توجد شعوب مطابقة لهذا التصفية.",type_to_search:"اكتب للبحث...",load_failed:"تعذّر تحميل بيانات الشعوب. هذه مشكلة اتصال، وليست مشكلة في التصفية.",search_people_or_countries:"ابحث عن الشعوب أو الدول…",cards_per_row:"البطاقات في كل صف",cards_per_row_auto:"تلقائي"},"./locales/ar/legend.json":{title:{adoption:"تقدم التبني",affinityBlocs:"كتل القرابة",doxaRegions:"مناطق Doxa",engagement:"تقدم الانخراط",gospelResources:"موارد الإنجيل",languageFamilies:"العائلات اللغوية",prayer:"تقدم الصلاة",upg100List:"قائمة UPG 100 الخاصة بي",batchSelect:"تحديد متعدد"},header:{collapsed:"وسيلة الإيضاح",peopleGroupFallback:"مجموعة الشعب",default:"مفتاح الخريطة"},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:"اللغات"},tabInfo:{upg100Region:"المنطقة — ترتّب قوائم UPG-100 حسب منطقة العالم (أفريقيا، الهند، الشرق الأوسط، الصمّ، …). الأعداد هي مجموع UUPG والسكان لكل قائمة تحتها.",upg100Zone:"قوائم UPG-100 — كل واحدة هي قائمة صلاة للشعوب غير الموصول إليها في منطقة ما، وهي ما ترسمه الخريطة وتلوّنه. تُطبع كل قائمة ككُتيّب خاص بها.",upg100Group:"مجموعة شعبية — المجموعات غير الموصول إليها داخل القائمة، الأكثر حاجة للصلاة أولاً. كل نقطة على الخريطة هي واحدة منها.",family:"عائلة اللغة — مجموعة لغات منحدرة من أصل مشترك (مثل الهندية الأوروبية، الأفروآسيوية).",language:"اللغة — نظام تواصل يستخدمه شعب ما (مثل العربية، البنغالية، الهندية).",dialect:"اللهجة/التنوع — صورة إقليمية أو اجتماعية للغة (مثل العربية السودانية؛ لغة الإشارة الباكستانية).",bloc:"كتلة التقارب — أوسع تجميع، بحسب القرابة الثقافية واللغوية والجغرافية (مثل الشعوب الملايوية، شعوب جنوب آسيا، الصمّ، العالم العربي).",cluster:"المجموعة — تجميع أدقّ داخل الكتلة (مثل بورنيو-كاليمانتان ضمن الشعوب الملايوية). تُوسم الصفوف بـ «(مجموعة)» لتمييزها عن الشعوب.",group:"الشعب — هوية إثنية لغوية قائمة بذاتها، مستقلة عن الدولة. تُوسم الصفوف بـ «(شعب)». وقد يعيش الشعب الواحد في دول كثيرة (الصمّ مثلًا في أكثر من مئة دولة).",pgic:"الشعب في الدولة — صف لكل شعب في كل دولة يعيش فيها (مثل «أباي سونغاي، ماليزيا»). تُوسم الصفوف بـ «(شعب في دولة)».",region:"منطقة WAGF — المنطقة الكبرى التي تنتمي إليها الدولة (مثل آسيا، أفريقيا). لكل منها لون خاص على الخريطة.",block:"كتلة WAGF — التجميع الفرعي داخل المنطقة (مثل جنوب شرق آسيا، غرب أفريقيا).",country:"الدولة — الدول منفردة، مرتّبة حسب عدد السكان غير الموصول إليهم داخل كتلتها."},a11y:{expandRow:"توسيع {label}",collapseRow:"طي {label}",clearSelection:"إلغاء التحديد",goUp:"الانتقال إلى المستوى الأعلى: {label}"},export:{poster:"ملصق",packet:"UPG 100",packetExplain:"قائمة صلاة من نحو ٥٠ إلى ١٠٠ شعب غير مبلَّغ — يستطيع شخص واحد أن يحمل واحدة.",packetAria:"تفاصيل حزمة الصلاة",packetFull:"تفاصيل كاملة",packetLightweight:"مختصرة"},noDataAtThisLevel:"لا توجد بيانات في هذا المستوى",exportButton:"تصدير",exportSelection:"تصدير التحديد",loadingRows:"جارٍ تحميل {label}…",loadingData:"جارٍ تحميل البيانات…",showingTop:"عرض أعلى {n} من {m}",useGeocoderHint:"استخدم أداة البحث أعلاه للعثور على البقية",noList:"لم يتم تحميل أي قائمة."},"./locales/ar/lists.json":{doxa:{label:"المشروع 2000: الشعوب التي تخدمها DOXA",definition:"الشعوب التي تخدمها DOXA كما تقدّمها قائمتها الحيّة"},unreached:{label:"المشروع 7000: الشعوب غير المُبشَّرة",definition:"أولوية الضياع لدى IMB من 0 إلى 2 (حدودية أو رائدة أو متوسّعة غير مُبشَّرة: أقل من 2% إنجيليون)"},frontier:{label:"المشروع 4700: الشعوب الحدودية",definition:"أولوية الضياع لدى IMB بقيمة 0 (حدودية غير مُبشَّرة: 0.1% إنجيليون أو أقل)"},"frontier-500k":{label:"المشروع 700: الشعوب الحدودية التي يبلغ عددها 500,000 أو أكثر",definition:"أولوية الضياع لدى IMB بقيمة 0 وعدد سكان لا يقل عن 500,000"},unengaged:{label:"الشعوب غير المُبشَّرة التي لم يُعمَل بينها",definition:"أولوية الضياع لدى IMB من 0 إلى 2 وحالة العمل: لم يُعمَل بينها"}},"./locales/ar/mapui.json":{map:"الخريطة",marker:"علامة على الخريطة",closePopup:"إغلاق النافذة المنبثقة",zoomIn:"تكبير",zoomOut:"تصغير",resetBearing:"اسحب لتدوير الخريطة، وانقر لإعادة الشمال",toggleAttribution:"إظهار/إخفاء المصادر",mapFeedback:"ملاحظات على الخريطة",enterFullscreen:"ملء الشاشة",exitFullscreen:"الخروج من ملء الشاشة",findMyLocation:"تحديد موقعي",locationNotAvailable:"الموقع غير متاح",enableGlobe:"تفعيل الكرة الأرضية",disableGlobe:"إيقاف الكرة الأرضية",ctrlScroll:"استخدم Ctrl مع التمرير لتكبير الخريطة",cmdScroll:"استخدم ⌘ مع التمرير لتكبير الخريطة",twoFingers:"استخدم إصبعين لتحريك الخريطة",mapboxHomepage:"الصفحة الرئيسية لـ Mapbox",maplibreLogo:"شعار MapLibre"},"./locales/ar/messages.json":{menuComingSoon:"القائمة قادمة قريباً",pinHint:{tapDot:"اضغط على نقطة ملوّنة — لا يزال هناك من يحتاج إلى الصلاة"},upg100WallHeading:"قائمتي UPG 100 — قوائم صلاة وملصقات",upg100WallTag:"تعبئة للصلاة",upg100WallIntroA:"كيف تُطعم جمعًا من خمسة آلاف؟ أجلسهم يسوع جماعاتٍ من خمسين ومن مئة، فصار المستحيل قابلًا للمشاركة (لوقا ٩:١٤). فعلنا المثل مع ٢١٠٦ شعوب غير مبلَّغة: ٢٧ قائمة من نحو خمسين إلى مئة. تُطبع كل قائمة حزمةَ صلاة وملصقًا، ليحمل ٢٧ تلميذًا أو كنيسة أو قائدًا محليًا كلٌّ واحدة — مصلّين لأجلهم ",upg100WallIntroEmph:"باسم شعبهم",upg100WallIntroB:".",loadingNamed:"جارٍ تحميل {name}…",couldNotLoadNamed:"تعذّر تحميل {name}.",engineMissing:"لم يتم تحميل محرك الخرائط {engine}.",packetFailed:"فشل إنشاء الكُتيّب: {reason}",selectionPacketFailed:"فشل إنشاء كُتيّب التحديد: {reason}",posterOneTerritory:"الملصق يطبع منطقة واحدة في كل مرة — {count} محددة.",selectionPosterFailed:"فشل إنشاء ملصق التحديد: {reason}",mapUnavailable:"الخريطة غير متاحة",copied:"تم النسخ!",copyFailed:"فشل النسخ — اضغط Ctrl/Cmd-C",engineNotLoaded:"لم يتم تحميل محرك الخريطة",engineNotLoadedDetail:"لم يتم تحميل محرك الخريطة {engine}. القائمة ووسيلة الإيضاح غير متأثرتين.",viewLoadFailed:"تعذّر تحميل هذا العرض.",retry:"إعادة المحاولة",noMapboxToken:"لا يوجد رمز Mapbox",noMapboxTokenDetail:"لم يُضبط أي رمز Mapbox. القائمة ووسيلة الإيضاح غير متأثرتين.",loadingBoundaries:"جارٍ تحميل الحدود…",fetchingUupgs:"جارٍ جلب {n} من UUPG…",mapStatusCounts:"المساحات: {polys} · المناطق: {zones}/{total} · الدبابيس: {pins}",tapTerritoriesHint:"انقر على الأقاليم في الخريطة أو صفوف وسيلة الإيضاح لإضافتها · انقر مجددًا لإزالتها",territoriesSelected:"الأقاليم: {count}",bandInRange:"✓ النطاق 50–100",bandOutOfRange:"النطاق 50–100",mapContextLost:"تم إلغاء تحميل هذه الخريطة لتحرير ذاكرة الرسوميات.",nOfTotal:"{n} من {total}",mapInitFailed:"تعذّر تهيئة الخريطة — تحقّق من الرمز والحاوية",countryWallIntroA:"ملصق لكل دولة، جاهز للصلاة والطباعة والتعليق على الحائط — نصلّي لأجلهم ",countryWallIntroB:". رُتّبت المناطق والدول بحسب عدد الشعوب غير المبلَّغة فيها، لتتقدّم الحاجة الأكبر.",countryWallSoon:"قريبًا: ستُنشأ قائمة صلاة لكل دولة، تسمّي كل شعب غير مبلَّغ فيها.",countryWallHeading:"ملصقات الدول — قوائم صلاة وملصقات",largerScreenNotice:"هذه الخريطة التجريبية مُعدّة للشاشات الكبيرة. تُفتح هنا، لكن بعض أجزائها قد لا يتّسع أو لا يعمل جيدًا على الهاتف.",desktopOnlyNotice:"{label} يعمل على الحاسوب فقط — افتح هذه الصفحة على حاسوب لاستخدامه.",noticeDismiss:"إغلاق",countryPosterTooMany:"عدد الشعوب أكبر من أن يتّسع له ملصق واحد بوضوح — ونعمل على حلّ لذلك."},"./locales/ar/pins.json":{approximate:"تشير النقطة إلى المكان الذي يوجد فيه هذا الشعب، وليست بلدة أو حدودًا.",sharedPoint:"تقع في النقطة نفسها مع {names} — {n} مجموعات تتشارك هذا الإحداثي، لذا يدل الموقع على المنطقة لا على مكان كل مجموعة."},"./locales/ar/popup.json":{country:{wagfRegion:"منطقة WAGF",wagfBlock:"كتلة WAGF",country:"الدولة",uupgCount:"عدد UUPG"}},"./locales/ar/religion.json":{family:{Christianity:"المسيحية",Islam:"الإسلام",Hinduism:"الهندوسية",Buddhism:"البوذية",Ethnoreligion:"الديانات العرقية",Judaism:"اليهودية",Sikhism:"السيخية",Unaffiliated:"غير منتمين",Other:"أخرى",Unknown:"غير معروف"}},"./locales/ar/search.json":{placeholder:"شعب، مكان، لغة، ديانة",placeholderNoPlaces:"شعب، لغة، ديانة (البحث عن الأماكن يتطلب رمز Mapbox)",labels:{people:"الشعب:",place:"المكان:",language:"اللغة:",religion:"الديانة:"},kinds:{people:"الشعب + الدولة",peopleGroup:"الشعب",bloc:"كتلة التقارب",cluster:"مجموعة شعوب",country:"الدولة",region:"المنطقة",family:"عائلة اللغة",languageKind:"اللغة",dialect:"اللهجة",religionKind:"الدين"},sections:{within:"ضمن {selection}",allData:"كل بيانات DOXA"},upg100Placeholder:"ابحث عن شعب أو قائمة UPG-100 أو منطقة…",tabPlaceholder:{languageFamilies:"ابحث في عائلة اللغة أو اللغة أو اللهجة/التنوع",affinityBlocks:"ابحث في كتلة التقارب أو المجموعة أو الشعب",regions:"ابحث في المنطقة أو الدولة أو الشعب",religion:"ابحث في الديانة أو الشعب"},placeholderRegions:"ابحث عن منطقة أو دولة أو شعب"},"./locales/ar/share.json":{embed_link:"رابط التضمين",add_to_website:"أضِفها إلى موقعك",embed_paste_hint:"الصق هذا الرمز في أداة إنشاء موقعك (WordPress أو Squarespace أو Wix أو أي موقع يقبل أدوات HTML)."},"./locales/ar/tabs.json":{prayer:"الصلاة",adoption:"التبني",engagement:"المشاركة","affinity-blocks":"الشعوب",regions:"المناطق",countries:"الدول","language-families":"اللغات",religion:"الأديان",family:"عائلة اللغة",language:"اللغة",dialect:"اللهجة/التنوع",bloc:"كتلة التقارب",cluster:"المجموعة",group:"الشعب",pgic:"الشعب في الدولة",region:"منطقة WAGF",block:"كتلة WAGF",country:"الدولة",upg100Region:"المنطقة",upg100Zone:"قوائم UPG-100",upg100Group:"مجموعة شعبية",selectView:"اختر العرض",views:"العروض",prayerResources:"موارد الصلاة",map:"الخريطة",countryPosters:"ملصقات الدول"},"./locales/ar/wall.json":{title:"جدار الشعوب",toPortrait:"📱 التبديل إلى الوضع الطولي",toLandscape:"🖼️ التبديل إلى الوضع العرضي",currentLandscape:"الحالي: عرضي (4 × 3 أقدام)",currentPortrait:"الحالي: طولي (3 × 4 أقدام)",resetZoom:"إعادة ضبط التكبير",groupsLoaded:"الشعوب المحمّلة: {n}",loading:"جارٍ تحميل الشعوب…",offlineTitle:"تعذّر الوصول إلى بيانات الصلاة المباشرة.",offlineBody:"يقرأ الجدار شعوبه من pray.doxa.life. قد تكون غير متصل، أو قد لا تسمح الواجهة البرمجية بعنوان هذه الصفحة على خادم تطوير محلي.",tryAgain:"حاول مرة أخرى",prayedCount:"صلّوا: {n}",viewPrayers:"عرض الصلوات",prayerTools:"أدوات الصلاة",close:"إغلاق",unknown:"غير معروف",unknownGroup:"شعب غير معروف",status:"الحالة:",unengaged:"غير مُبشَّر",prayingNow:"هل تصلي الآن من أجل هذا الشعب؟",yesPraying:"نعم، أنا أصلي",thankYou:"شكرًا لصلاتك!",sharePrayer:"شارك صلاتك (اختياري)",prayerPlaceholder:"اكتب صلاتك هنا…",sendPrayer:"إرسال الصلاة",peopleGroup:"شعب",chatsTitle:"محادثات الشعب",id:"المعرّف:",location:"الموقع:",na:"غير متوفر",havePrayed:"صلّوا: {n}",youPrayed:"✓ لقد صلّيت!",prayForGroup:"🙏 صلِّ من أجل هذا الشعب",prayersComments:"الصلوات والتعليقات",noComments:"لا صلوات أو تعليقات بعد. كن الأول!",commentPlaceholder:"شارك صلاتك أو أفكارك…",postComment:"نشر التعليق",noPeopleId:"ليس لهذا الشعب معرّف PeopleID3",statusUnknown:"الحالة غير معروفة",printPoster:"🖨️ طباعة ملصق عالي الدقة",printPreparing:"جارٍ تجهيز الملصق: {n} من {total} صورة",printMissing:"صور تعذّر تحميلها: {n}. ستُطبع مربعاتٍ رمادية.",blessBanner:"باركوا الأمم باسم يسوع",modeLabel:"وضع الجدار",modeBless:"بركة",modeSocial:"تفاعلي",shareSoon:"المشاركة ستأتي لاحقًا.",drawLibError:"تعذّر على الجدار تحميل مكتبة الرسم الخاصة به:",posterSize:"حجم الملصق",posterSubtitle:"DOXA (δόξα) تعني المجد. حركة صلاة عالمية تبارك هذه الشعوب الـ {n} باسم يسوع. اعرف المزيد وانضم عبر pray.doxa.life.",glueHere:"الصق الورقة العلوية هنا",themesLabel:"مواضيع الصلاة",oldTestament:"العهد القديم",newTestament:"العهد الجديد",themeTreasure:"الكنز",themeMountain:"الجبل",themeSea:"البحر",posterClosing:"يسوع المسيح هو حجر الزاوية، ونحن حجارة حيّة. هذه الشعوب هي مكافأة آلامه. لنحمل دعوتنا الكهنوتية: باركوهم باسمه، وانضموا إلى العائلة العالمية في الصلاة.",journeyCalled:"الدعوة",journeyPromised:"الوعد",journeyRedeemed:"مُفتَدون",journeyCornerstone:"حجر الزاوية",journeyChildren:"أبناء إبراهيم",journeyPriesthood:"كهنوت ملوكي",journeySent:"مُرسَلون إلى الهالكين",peopleGroupCount:"لا شعوب | شعب واحد | شعبان | {n} شعوب | {n} شعبًا | {n} شعب",listCount:"لا قوائم | قائمة واحدة | قائمتان | {n} قوائم | {n} قائمة | {n} قائمة",stockCard:"بطاقة",stockPostcard:"بطاقة بريدية",stockLandscape:"أفقي",hud:{kindPoster:"ملصق",kindList:"قائمة",kindPacket:"حزمة صلاة",fetchingPoster:"جارٍ جلب الملصق",generatingPoster:"جارٍ إنشاء الملصق",openingPrint:"جارٍ فتح نافذة الطباعة",printOpened:"فُتحت نافذة الطباعة",saving:"جارٍ الحفظ",fetchingRecords:"جارٍ جلب البيانات",fetchingGroups:"جارٍ جلب الشعوب",layingOutRows:"لا صفوف | صف واحد قيد الترتيب | صفّان قيد الترتيب | {n} صفوف قيد الترتيب | {n} صفًا قيد الترتيب | {n} صف قيد الترتيب",layingOutCards:"لا بطاقات | بطاقة واحدة قيد الترتيب | بطاقتان قيد الترتيب | {n} بطاقات قيد الترتيب | {n} بطاقةً قيد الترتيب | {n} بطاقة قيد الترتيب",printingGroups:"لا شعوب | طباعة شعب واحد | طباعة شعبين | طباعة {n} شعوب | طباعة {n} شعبًا | طباعة {n} شعب",kindCardDeck:"مجموعة البطاقات",kindPrayerList:"قائمة الصلاة",saved:"تم الحفظ",noRecords:"لا تحتوي هذه القائمة على شعوب للطباعة",noPoster:"لا يتوفر ملصق لهذه القائمة",posterNotFound:"لم يُعثر على الملصق ({status})",posterBlank:"خرج الملصق المُنشأ فارغًا",noApi:"لم تُهيَّأ خدمة الشعوب",fetchFailed:"تعذّر تحميل الشعوب ({status})"},posterAlt:"{label} — ملصق صلاة",posterAltAction:"{label} — ملصق صلاة (انقر للمعاينة والطباعة)"},"./locales/de/allPeopleGroups.json":{title:"Alle Volksgruppen",locations:"{n} Standorte (Gruppe × Land)",doxa:"DOXA-Volksgruppen",frontier:"Frontier — noch nichts begonnen",unreached:"Unerreicht — Arbeit beginnt",reached:"Erreicht — Gemeinde ist da",hint:"Zeile anklicken, um alle zu sehen · erneut klicken für alle",loading:"Alle Volksgruppen werden geladen…",loadError:"Die Karte konnte nicht geladen werden.",pray:"Für sie beten →",population:"Einw. {n}"},"./locales/de/aria.json":{backToLegend:"Zurück zur Legende",closeDetailView:"Detailansicht schließen",collapseLegend:"Legende einklappen",expandLegend:"Legende ausklappen",toggleLegend:"Legende ein- oder ausblenden",searchPeopleGroups:"Volksgruppen suchen",resetAllFilters:"Alle Filter und die Suche zurücksetzen",selectAllRows:"Alle Zeilen auswählen",deselectAllRows:"Auswahl aller Zeilen aufheben",rowDetail:"Zeilendetails",dismissHint:"Hinweis schließen",resizeFiltersRail:"Filterleiste in der Größe ändern",resizeFiltersRailHint:"Ziehen oder Pfeiltasten verwenden, um die Filterleiste in der Größe zu ändern",resizeChartsRail:"Diagrammleiste in der Größe ändern",resizeChartsRailHint:"Ziehen oder Pfeiltasten verwenden, um die Diagrammleiste in der Größe zu ändern",resizeMapTableSplit:"Aufteilung zwischen Karte und Tabelle ändern",resizeMapTableSplitHint:"Ziehen oder Pfeiltasten verwenden, um die Aufteilung zwischen Karte und Tabelle zu ändern",resizeTable:"Tabellenhöhe ändern",resizeTableHint:"Ziehen oder Pfeiltasten verwenden, um die Tabelle in der Größe zu ändern",resizeDashboardHeight:"Höhe des Dashboards ändern",resizeDashboardHeightHint:"Ziehen oder Pfeiltasten verwenden, um die Höhe des Dashboards zu ändern",removeFilter:"Filter {name} entfernen",closeDetail:"Details schließen",filterBreadcrumb:"Filterpfad",railViews:"Ansichten der Leiste",upgCountLegend:"Legende der UPG-Anzahl",donutChart:"Ringdiagramm: {title}"},"./locales/de/buttons.json":{prayForThem:"Für sie beten",adoptThem:"Sie adoptieren",moreInfo:"Mehr Infos",zoomIn:"Vergrößern",zoomOut:"Verkleinern",switchToLightMode:"Zum hellen Modus wechseln",switchToDarkMode:"Zum dunklen Modus wechseln",resetView:"Ansicht zurücksetzen",toggleFullscreen:"Vollbild umschalten",aboutThisMap:"Über diese Karte",closeMenu:"Menü schließen",reloadMap:"Karte neu laden",showClusters:"Cluster anzeigen",clusterSettings:"Cluster-Einstellungen",startAutoFly:"Auto-Flug starten",stopFlight:"Flug stoppen",speedLabel:"Geschwindigkeit:",speedOption:{slow:"Langsam",normal:"Normal",fast:"Schnell"},shareEmbed:"Teilen und einbetten",posterMap:"Posterkarte",prayerList:"Gebetsliste",cardDeck:"Kartenset",printOptions:"Druckoptionen",showOnMap:"Auf der Karte zeigen",close:"Schließen",showOnMapAria:"{label} auf der Karte zeigen",cardStockAria:"Größe der Gebetskarte",previewPrintPoster:"Vorschau und Druck des Posters {label}",share:"Teilen",shareSteps:["Binde diese Karte auf deiner Website ein","Erstelle eine Liste der Websites in deiner Stadt","Zeige ihnen, wie sie sie ebenfalls einbinden","Zeige ihnen, wie sie es anderen beibringen","Lasst uns Karten überall vermehren – für Jesus!"],clearSelection:"Auswahl aufheben",noOptions:"Keine Optionen gefunden",renderingLocal:"Ein druckfähiges Bild wird in deinem Browser erzeugt — es wird nichts hochgeladen.",postersPerRow:"Poster pro Zeile",packetVariantAria:"Detailgrad des Gebetspakets",packetFull:"Vollständig",packetLightweight:"Kompakt",working:"Wird bearbeitet…",postersPerRowAuto:"Automatisch"},"./locales/de/controls.json":{research_controls:"Forschungssteuerung",clustering:"Clustering",filters:"Filter",pin_dim:"Pin-Transparenz",export_poster:"Poster exportieren…",reload_data:"Daten neu laden",off:"Aus",native:"Nativ",mst:"MST",network:"Netzwerk",off_desc:"Jeden Pin einzeln anzeigen",native_desc:"Mapbox-Kreiscluster (am schnellsten)",mst_desc:"Affinitätsnetze über minimalen Spannbaum",network_desc:"Verbindungslinien zum nächsten Nachbarn",search_languages:"Sprachen suchen…",search_religions:"Religionen suchen…",reset_all:"Alles zurücksetzen",no_languages:"Noch keine Sprachen geladen",no_religions:"Noch keine Religionen geladen",unadopted:"Nicht adoptiert",min:"min",max:"max",adopted:"Adoptiert",adoption:"Adoption",engaged:"Engagiert",engagement:"Engagement",unengaged:"Braucht Engagement",language:"Sprache",religion:"Religion",population:"Bevölkerung",any:"Alle",active_count:"{n} aktiv",prayer_status:"Gebetsstatus",close:"Schließen",clear:"Zurücksetzen",map_controls:"Kartensteuerung",clusters:"Cluster",mst_full_name:"Minimaler Spannbaum",mst_hint:"Klicken Sie auf eine Legendenzeile, um nur diese Gruppe zu clustern"},"./locales/de/dashboard.json":{bloc:"Affinitätsblock",gospel_access:"Zugang zum Evangelium",people:"Völker",people_name:"Volk (Name)",praying:"Betend",religion_family:"Religionsfamilie",search_language:"Sprache suchen",search_people:"Volk suchen",search_place:"Ort suchen",search_religion:"Religion suchen",upgs_in_scope:"UPGs im Bereich",countries_touched:"berührte Länder",unreached:"unerreicht",sum_population:"Σ Bevölkerung",sum_praying:"Σ Betende",charts:"Diagramme",table:"Tabelle",cluster:"Cluster",country:"Land",engagement:"Engagement",language:"Sprache",language_family:"Sprachfamilie",people_group:"Volk",population:"Bevölkerung",prayer:"Gebet",region:"Region",religion:"Religion",status:"Status",adopted:"Adoptiert",filters:"Filter",gospel_resources:"Evangeliumsressourcen",map:"Karte",search_placeholder:"Volksgruppen, Orte, Sprachen, Religionen suchen…",any:"Alle",active_count:"{n} aktiv",prayer_status:"Gebetsstatus",map_controls:"Kartensteuerung",close:"Schließen",clear:"Zurücksetzen",dashboard_title:"Big-Picture-Forschungsdashboard",align_dashboard:"Layout ausrichten",align_dashboard_tip:"Das Dashboard-Layout auf die Standardausrichtung zurücksetzen",selected:"Ausgewählt",world:"Welt",vertical_legend:"Vertikale Legende",groups_in_scope:"Volksgruppen im Bereich",filter_by:"Filtern nach",remove_filter:"Filter entfernen",groups:"Volksgruppen",expand:"Aufklappen",collapse:"Zuklappen",place:"Ort",export_csv:"CSV exportieren",detail:"Details",detail_empty:"Wählen Sie eine Volksgruppe, um Details zu sehen",heartbeat_zone:"Herzschlag-Zone",top_countries:"Top-Länder",select_all:"Alle auswählen",expand_table:"Tabelle ausklappen",collapse_table:"Tabelle einklappen – Karte vergrößern",group:"Volksgruppe",deselect_all:"Auswahl aufheben",results_live:"{count} von {total} {unit} angezeigt",filters_live:"Filter: {list}",search_live:"Suche: {term}",adopted_by_churches:"Von Gemeinden übernommen",bp_title:"Big Picture — einheitliches Forschungs-Dashboard",bp_subtitle:"Die Volksgruppen der Welt suchen und filtern · am wenigsten erreichte zuerst",export_selection:"Diese Auswahl exportieren",map_loading:"Forschungskarte wird geladen…",no_match:"Keine Volksgruppen entsprechen „{q}“.",no_photo:"Kein Foto",only_selected:"Nur ausgewählte",only_selected_hint:"Nur die ausgewählten Volksgruppen anzeigen",people_committed:"Verbindlich zugesagte Personen",people_praying:"Betende Personen",selected_first:"Ausgewählte zuerst",selected_first_hint:"Die ausgewählten Volksgruppen nach oben holen, die Spaltensortierung bleibt erhalten",n_shown:"{n} angezeigt",other:"Andere",wagfRegion:{africa:"Afrika",asia:"Asien",europe:"Europa","latin_america_&_caribbean":"Lateinamerika",oceania:"Ozeanien",middle_east:"Naher Osten","north_america_&_non-spanish_caribbean":"Nordamerika und nicht-spanische Karibik"},sort_by_column_hint:"Tabelle nach {column} sortieren – Umschalt-Klick fügt eine zweite Spalte hinzu. Die Sortierung ordnet nur die Tabelle; die Karten behalten ihre eigene Reihenfolge.",fs_exit_hint:"Vollbild beenden (Esc) — zurück zu sieben Zeilen",fs_open_hint:"Diese Tabelle im Vollbild öffnen",fs_exit:"Vollbild beenden",fs_open:"Tabelle im Vollbild öffnen",export_selected_hint:"Alle Felder exportieren — ausgewählte Volksgruppen: {n}",export_all_hint:"Alle Felder exportieren — Volksgruppen: {n}",map_init_failed:"Die Karte konnte nicht starten. Prüfen Sie das Zugriffstoken und den Kartencontainer.",show_filters:"Filter einblenden",hide_filters:"Filter ausblenden — Karte vergrößern",show_charts:"Diagramme einblenden",hide_charts:"Diagramme ausblenden — Karte vergrößern",export_copied:"in die Zwischenablage kopiert",export_done:"exportiert",export_ready:"bereit",export_toast:"✓ {rows} Zeilen × {fields} Felder {how}",export_failed:"✕ Export fehlgeschlagen",pray_for_group:"Für diese Volksgruppe beten",more_information:"Weitere Informationen",title:"Forschungs-Dashboard",gospel_pending:"Noch nicht so weit: die Zahl der Unerreichten, der Schlüssel zur Datenquelle und die Gestaltung werden noch entschieden."},"./locales/de/detail.json":{labels:{country:"Land:",population:"Bevölkerung:",language:"Sprache:",religion:"Religion:",languageFamily:"Sprachfamilie:",peopleCommitted:"Zum Gebet verpflichtet:"},messages:{noDescription:"Keine Beschreibung verfügbar."}},"./locales/de/grid.json":{search:"Volksgruppen suchen…",hide_filters:"Filter ausblenden",show_filters:"Filter anzeigen",total:"Gesamt",showing:"Angezeigt",load_more:"Mehr laden",full_profile:"Vollständiges Profil",wagf_region:"Region",wagf_block:"Affinitätsblock",rop1:"Volk",religion:"Religion",exact_filter:"Exakt",clear_all:"Alle löschen",loading:"Wird geladen…",no_results:"Keine Volksgruppen entsprechen diesem Filter.",type_to_search:"Zum Suchen tippen...",load_failed:"Die Daten konnten nicht geladen werden. Das ist ein Verbindungsproblem, nicht Ihr Filter.",search_people_or_countries:"Volksgruppen oder Länder suchen…",cards_per_row:"Karten pro Zeile",cards_per_row_auto:"Automatisch"},"./locales/de/legend.json":{title:{adoption:"Adoptionsfortschritt",affinityBlocs:"Affinitätsblöcke",doxaRegions:"Doxa-Regionen",engagement:"Engagement-Fortschritt",gospelResources:"Evangeliumsressourcen",languageFamilies:"Sprachfamilien",prayer:"Gebetsfortschritt",upg100List:"Meine UPG-100-Liste",batchSelect:"Mehrfachauswahl"},header:{collapsed:"Legende",peopleGroupFallback:"Volksgruppe",default:"Legende"},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",name:"Name"},footer:{total:"Gesamt"},sortByUpgs:"Nach UUPGs sortieren",sortByPop:"Nach Bevölkerung sortieren",colLabel:{religion:"UUPG-Religionen",prayer:"Gebetsstatus",engagement:"Engagement-Status",adoption:"Adoptionsstatus",status:"Status"},titleBar:{legend:"Legende",peopleGroups:"Völker",wagfRegions:"WAGF-Regionen",languages:"Sprachen"},tabInfo:{upg100Region:"Region — sortiert die UPG-100-Listen nach Weltgegend (Afrika, Indien, Naher Osten, Gehörlose, …). Die Zahlen sind die UUPGs und die Bevölkerung aller darunterliegenden Listen zusammen.",upg100Zone:"UPG-100-Listen — jede ist eine Gebetsliste der unerreichten Volksgruppen eines Gebiets und das, was die Karte zeichnet und einfärbt. Jede Liste wird als eigenes Heft gedruckt.",upg100Group:"Volksgruppe — die einzelnen unerreichten Gruppen innerhalb einer Liste, größter Gebetsbedarf zuerst. Jeder Kartenpunkt ist eine davon.",family:"Sprachfamilie — eine Gruppe von Sprachen gemeinsamen Ursprungs (z. B. indogermanisch, afroasiatisch).",language:"Sprache — ein Verständigungssystem, das eine Volksgruppe verwendet (z. B. Arabisch, Bengalisch, Hindi).",dialect:"Dialekt/Varietät — eine regionale oder soziale Form einer Sprache (z. B. sudanesisches Arabisch; pakistanische Gebärdensprache).",bloc:"Affinitätsblock — die weiteste Gruppierung, nach kultureller, sprachlicher und geografischer Verwandtschaft (z. B. malaiische Völker, südasiatische Völker, Gehörlose, arabische Welt).",cluster:"Cluster — eine feinere Gruppierung innerhalb eines Blocks (z. B. Borneo-Kalimantan bei den malaiischen Völkern). Zeilen sind mit „(Cluster)“ gekennzeichnet, um sie von Volksgruppen zu unterscheiden.",group:"Volksgruppe — eine ethnolinguistische Identität für sich, unabhängig vom Land. Zeilen sind mit „(VG)“ gekennzeichnet. Eine Gruppe kann in vielen Ländern leben (Gehörlose etwa in über hundert).",pgic:"Volksgruppe im Land — eine Zeile je Volksgruppe und Land, in dem sie lebt (z. B. „Abai Sungai, Malaysia“). Zeilen sind mit „(VGL)“ gekennzeichnet.",region:"WAGF-Region — die Großregion, zu der ein Land gehört (z. B. Asien, Afrika). Jede hat auf der Karte ihre eigene Farbe.",block:"WAGF-Block — die Untergruppe innerhalb einer Region (z. B. Südostasien, Westafrika).",country:"Land — einzelne Länder, geordnet nach unerreichter Bevölkerung innerhalb ihres Blocks."},a11y:{expandRow:"{label} ausklappen",collapseRow:"{label} einklappen",clearSelection:"Auswahl aufheben",goUp:"Eine Ebene höher zu {label}"},export:{poster:"Plakat",packet:"UPG 100",packetExplain:"Eine Gebetsliste von etwa 50 bis 100 unerreichten Volksgruppen — eine Person kann eine tragen.",packetAria:"Detailgrad des Gebetspakets",packetFull:"Vollständig",packetLightweight:"Kompakt"},noDataAtThisLevel:"Keine Daten auf dieser Ebene",exportButton:"Exportieren",exportSelection:"Auswahl exportieren",loadingRows:"{label} werden geladen…",loadingData:"Daten werden geladen…",showingTop:"Top {n} von {m} werden angezeigt",useGeocoderHint:"verwenden Sie die Suche oben, um die übrigen zu finden",noList:"Keine Liste geladen."},"./locales/de/lists.json":{doxa:{label:"Projekt 2000: die Volksgruppen von DOXA",definition:"Die Volksgruppen, denen DOXA dient, wie seine Live-Liste sie angibt"},unreached:{label:"Projekt 7000: unerreichte Volksgruppen",definition:"IMB Lostness Priority 0–2 (Frontier, Pioneer oder Expanding Unreached: unter 2 % Evangelikale)"},frontier:{label:"Projekt 4700: Frontier-Volksgruppen",definition:"IMB Lostness Priority 0 (Frontier Unreached: 0,1 % Evangelikale oder weniger)"},"frontier-500k":{label:"Projekt 700: Frontier-Volksgruppen mit 500.000 oder mehr Menschen",definition:"IMB Lostness Priority 0 und eine Bevölkerung von mindestens 500.000"},unengaged:{label:"Unerreichte Volksgruppen ohne Engagement",definition:"IMB Lostness Priority 0–2 und Engagement-Status: ohne Engagement"}},"./locales/de/mapui.json":{map:"Karte",marker:"Kartenmarkierung",closePopup:"Popup schließen",zoomIn:"Vergrößern",zoomOut:"Verkleinern",resetBearing:"Ziehen, um die Karte zu drehen; klicken, um nach Norden auszurichten",toggleAttribution:"Quellenangaben ein-/ausblenden",mapFeedback:"Feedback zur Karte",enterFullscreen:"Vollbild",exitFullscreen:"Vollbild beenden",findMyLocation:"Meinen Standort finden",locationNotAvailable:"Standort nicht verfügbar",enableGlobe:"Globus einschalten",disableGlobe:"Globus ausschalten",ctrlScroll:"Strg + Scrollen zum Zoomen der Karte",cmdScroll:"⌘ + Scrollen zum Zoomen der Karte",twoFingers:"Mit zwei Fingern die Karte bewegen",mapboxHomepage:"Mapbox-Startseite",maplibreLogo:"MapLibre-Logo"},"./locales/de/messages.json":{menuComingSoon:"Menü folgt in Kürze",pinHint:{tapDot:"Tippe auf einen farbigen Punkt — jemand braucht noch Gebet"},upg100WallHeading:"Meine UPG-100-Liste — Gebetslisten und Poster",upg100WallTag:"Gebetsmobilisierung",upg100WallIntroA:"Wie würden Sie eine Menge von fünftausend speisen? Jesus ließ sie in Gruppen zu fünfzig und hundert lagern, und das Unmögliche wurde teilbar (Lukas 9,14). Dasselbe haben wir mit den 2.106 unerreichten Volksgruppen getan: 27 Listen von etwa fünfzig bis hundert. Jede Liste druckt als Gebetspaket und als Poster, damit 27 Jünger, Gemeinden oder einheimische Leiter je eine tragen können — und für sie beten ",upg100WallIntroEmph:"mit dem Namen ihrer Volksgruppe",upg100WallIntroB:".",loadingNamed:"{name} wird geladen…",couldNotLoadNamed:"{name} konnte nicht geladen werden.",engineMissing:"Die Karten-Engine {engine} wurde nicht geladen.",packetFailed:"Heft fehlgeschlagen: {reason}",selectionPacketFailed:"Heft der Auswahl fehlgeschlagen: {reason}",posterOneTerritory:"Das Plakat druckt ein Gebiet auf einmal — {count} ausgewählt.",selectionPosterFailed:"Plakat der Auswahl fehlgeschlagen: {reason}",mapUnavailable:"Karte nicht verfügbar",copied:"Kopiert!",copyFailed:"Kopieren fehlgeschlagen — Strg/Cmd-C drücken",engineNotLoaded:"Karten-Engine nicht geladen",engineNotLoadedDetail:"Die Karten-Engine {engine} wurde nicht geladen. Liste und Legende sind nicht betroffen.",viewLoadFailed:"Diese Ansicht konnte nicht geladen werden.",retry:"Erneut versuchen",noMapboxToken:"Kein Mapbox-Token",noMapboxTokenDetail:"Kein Mapbox-Token konfiguriert. Liste und Legende sind nicht betroffen.",loadingBoundaries:"Grenzen werden geladen…",fetchingUupgs:"{n} UUPGs werden abgerufen…",mapStatusCounts:"Flächen: {polys} · Zonen: {zones}/{total} · Pins: {pins}",tapTerritoriesHint:"Tippen Sie auf Gebiete auf der Karte oder auf Legendenzeilen, um sie hinzuzufügen · erneut tippen zum Entfernen",territoriesSelected:"Gebiete: {count}",bandInRange:"✓ Bereich 50–100",bandOutOfRange:"Bereich 50–100",mapContextLost:"Diese Karte wurde entladen, um Grafikspeicher freizugeben.",nOfTotal:"{n} von {total}",mapInitFailed:"Karte konnte nicht initialisiert werden — Token und Container prüfen",countryWallIntroA:"Ein Poster pro Land, bereit zum Beten, Drucken und Aufhängen — und für sie beten ",countryWallIntroB:". Regionen und Länder sind danach geordnet, wie viele unerreichte Volksgruppen sie umfassen, damit der größte Bedarf vorne steht.",countryWallSoon:"Demnächst: Für jedes Land wird eine Gebetsliste erstellt, die jede unerreichte Volksgruppe darin mit Namen nennt.",countryWallHeading:"Länderposter — Gebetslisten und Poster",largerScreenNotice:"Diese experimentelle Karte ist für große Bildschirme gebaut. Sie öffnet sich hier, aber Teile passen oder funktionieren auf einem Telefon womöglich nicht gut.",desktopOnlyNotice:"{label} funktioniert nur am Desktop – öffnen Sie diese Seite an einem Computer.",noticeDismiss:"Schließen",countryPosterTooMany:"Zu viele Volksgruppen, um lesbar auf ein Plakat zu passen – an einer Lösung wird gearbeitet."},"./locales/de/pins.json":{approximate:"Der Punkt zeigt, wo dieses Volk lebt – nicht eine Stadt oder eine Grenze.",sharedPoint:"Er liegt auf demselben Punkt wie {names} — {n} Gruppen teilen sich diese Koordinate; die Position nennt also die Gegend, nicht wo welche Gruppe lebt."},"./locales/de/popup.json":{country:{wagfRegion:"WAGF-Region",wagfBlock:"WAGF-Block",country:"Land",uupgCount:"Anzahl UUPG"}},"./locales/de/religion.json":{family:{Christianity:"Christentum",Islam:"Islam",Hinduism:"Hinduismus",Buddhism:"Buddhismus",Ethnoreligion:"Ethnische Religionen",Judaism:"Judentum",Sikhism:"Sikhismus",Unaffiliated:"Konfessionslos",Other:"Andere",Unknown:"Unbekannt"}},"./locales/de/search.json":{placeholder:"Volk, Ort, Sprache, Religion",placeholderNoPlaces:"Volk, Sprache, Religion (Ortssuche braucht ein Mapbox-Token)",labels:{people:"Volk:",place:"Ort:",language:"Sprache:",religion:"Religion:"},sections:{within:"Innerhalb {selection}",allData:"Alle DOXA-Daten"},kinds:{people:"Volk + Land",peopleGroup:"Volk",bloc:"Affinitätsblock",cluster:"Völkercluster",country:"Land",region:"Region",family:"Sprachfamilie",languageKind:"Sprache",dialect:"Dialekt",religionKind:"Religion"},upg100Placeholder:"Volksgruppe, UPG-100-Liste oder Region suchen…",tabPlaceholder:{languageFamilies:"Sprachfamilie, Sprache, Dialekt/Varietät suchen",affinityBlocks:"Affinitätsblock, Cluster, Volksgruppe suchen",regions:"Region, Land, Volksgruppe suchen",religion:"Religion, Volksgruppe suchen"},placeholderRegions:"Region, Land oder Volksgruppe suchen"},"./locales/de/share.json":{embed_link:"Einbettungslink",add_to_website:"Zu Ihrer Website hinzufügen",embed_paste_hint:"Fügen Sie diesen Code in Ihren Website-Baukasten ein (WordPress, Squarespace, Wix oder jede Website, die HTML-Widgets akzeptiert)."},"./locales/de/tabs.json":{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",upg100Region:"Region",upg100Zone:"UPG-100-Listen",upg100Group:"Volksgruppe",selectView:"Ansicht wählen",views:"Ansichten",prayerResources:"Gebetsressourcen",map:"Karte",countryPosters:"Länderposter"},"./locales/de/wall.json":{title:"Wand der Volksgruppen",toPortrait:"📱 Hochformat",toLandscape:"🖼️ Querformat",currentLandscape:"Aktuell: Querformat (4 × 3 Fuß)",currentPortrait:"Aktuell: Hochformat (3 × 4 Fuß)",resetZoom:"Zoom zurücksetzen",groupsLoaded:"Geladen: {n}",loading:"Volksgruppen werden geladen…",offlineTitle:"Die Live-Gebetsdaten sind nicht erreichbar.",offlineBody:"Die Wand liest ihre Volksgruppen von pray.doxa.life. Vielleicht sind Sie offline, oder auf einem lokalen Entwicklungsserver lässt die API die Adresse dieser Seite nicht zu.",tryAgain:"Erneut versuchen",prayedCount:"Gebetet: {n}",viewPrayers:"Gebete ansehen",prayerTools:"Gebetswerkzeuge",close:"Schließen",unknown:"Unbekannt",unknownGroup:"Unbekannte Volksgruppe",status:"Status:",unengaged:"unerreicht",prayingNow:"Beten Sie gerade für diese Volksgruppe?",yesPraying:"Ja, ich bete",thankYou:"Danke für Ihr Gebet!",sharePrayer:"Ihr Gebet teilen (optional)",prayerPlaceholder:"Schreiben Sie Ihr Gebet hier…",sendPrayer:"Gebet senden",peopleGroup:"Volksgruppe",chatsTitle:"Volksgruppen-Chats",id:"ID:",location:"Ort:",na:"k. A.",havePrayed:"Gebetet: {n}",youPrayed:"✓ Sie haben gebetet!",prayForGroup:"🙏 Für diese Volksgruppe beten",prayersComments:"Gebete & Kommentare",noComments:"Noch keine Gebete oder Kommentare. Seien Sie der Erste!",commentPlaceholder:"Teilen Sie Ihr Gebet oder Ihre Gedanken…",postComment:"Kommentar posten",noPeopleId:"Diese Volksgruppe hat keine PeopleID3",statusUnknown:"Status unbekannt",printPoster:"🖨️ HD-Poster drucken",printPreparing:"Poster wird vorbereitet: {n} von {total} Fotos",printMissing:"Fotos, die nicht geladen werden konnten: {n}. Sie werden als graue Felder gedruckt.",blessBanner:"Segnet die Nationen im Namen Jesu",modeLabel:"Modus der Wand",modeBless:"Segnen",modeSocial:"Sozial",shareSoon:"Teilen kommt später.",drawLibError:"Die Wand konnte ihre Zeichenbibliothek nicht laden:",posterSize:"Postergröße",posterSubtitle:"DOXA (δόξα) bedeutet Herrlichkeit. Eine weltweite Gebetsbewegung segnet diese {n} Volksgruppen im Namen Jesu. Mehr erfahren und mitmachen: pray.doxa.life.",glueHere:"obere Bahn hier aufkleben",themesLabel:"Gebetsthemen",oldTestament:"Altes Testament",newTestament:"Neues Testament",themeTreasure:"Schatz",themeMountain:"Berg",themeSea:"Meer",posterClosing:"Jesus Christus ist der Eckstein, und wir sind lebendige Steine. Diese Volksgruppen sind der Lohn seines Leidens. Nehmen wir unsere priesterliche Berufung an: Segnen wir sie in seinem Namen und schließen wir uns der weltweiten Gebetsfamilie an.",journeyCalled:"Berufen",journeyPromised:"Verheißen",journeyRedeemed:"Erlöst",journeyCornerstone:"Der Eckstein",journeyChildren:"Kinder Abrahams",journeyPriesthood:"Eine königliche Priesterschaft",journeySent:"Gesandt zu den Verlorenen",peopleGroupCount:"{n} Volksgruppe | {n} Volksgruppen",listCount:"{n} Liste | {n} Listen",stockCard:"Karte",stockPostcard:"Postkarte",stockLandscape:"Querformat",hud:{kindPoster:"Poster",kindList:"Liste",kindPacket:"Gebetsheft",fetchingPoster:"Poster wird geladen",generatingPoster:"Poster wird erstellt",openingPrint:"Druckdialog wird geöffnet",printOpened:"Druckdialog geöffnet",saving:"wird gespeichert",fetchingRecords:"Daten werden geladen",fetchingGroups:"Volksgruppen werden geladen",layingOutRows:"{n} Zeile wird gesetzt | {n} Zeilen werden gesetzt",layingOutCards:"{n} Karte wird gesetzt | {n} Karten werden gesetzt",printingGroups:"{n} Volksgruppe wird gedruckt | {n} Volksgruppen werden gedruckt",kindCardDeck:"Kartenset",kindPrayerList:"Gebetsliste",saved:"gespeichert",noRecords:"diese Liste enthält keine Volksgruppen zum Drucken",noPoster:"für diese Liste ist kein Plakat verfügbar",posterNotFound:"Plakat nicht gefunden ({status})",posterBlank:"das erzeugte Plakat ist leer",noApi:"kein Volksgruppen-Dienst konfiguriert",fetchFailed:"Volksgruppen konnten nicht geladen werden ({status})"},posterAlt:"{label} — Gebetsposter",posterAltAction:"{label} — Gebetsposter (zum Ansehen und Drucken klicken)"},"./locales/en/allPeopleGroups.json":{title:"All People Groups",locations:"{n} group–country locations",doxa:"DOXA people groups",frontier:"Frontier — nothing started",unreached:"Unreached — work beginning",reached:"Reached — church is there",hint:"Click a row to see all of them · click again for everything",loading:"Loading every people group…",loadError:"The map could not be loaded.",pray:"Pray for them →",population:"pop {n}"},"./locales/en/aria.json":{backToLegend:"Back to Legend",closeDetailView:"Close detail view",collapseLegend:"Collapse legend",expandLegend:"Expand legend",toggleLegend:"Show or hide the legend",searchPeopleGroups:"Search people groups",resetAllFilters:"Reset all filters and search",selectAllRows:"Select all rows",deselectAllRows:"Deselect all rows",rowDetail:"Row detail",dismissHint:"Dismiss hint",resizeFiltersRail:"Resize filters rail",resizeFiltersRailHint:"Drag or use arrow keys to resize the filters rail",resizeChartsRail:"Resize charts rail",resizeChartsRailHint:"Drag or use arrow keys to resize the charts rail",resizeMapTableSplit:"Resize map/table split",resizeMapTableSplitHint:"Drag or use arrow keys to resize the map/table split",resizeTable:"Resize table height",resizeTableHint:"Drag or use arrow keys to resize the table",resizeDashboardHeight:"Resize dashboard height",resizeDashboardHeightHint:"Drag or use arrow keys to resize the dashboard's height",removeFilter:"Remove filter {name}",closeDetail:"Close detail",filterBreadcrumb:"Filter breadcrumb",railViews:"Rail views",upgCountLegend:"UPG count legend",donutChart:"{title} donut chart"},"./locales/en/buttons.json":{prayForThem:"Pray for them",adoptThem:"Adopt",moreInfo:"More info",zoomIn:"Zoom in",zoomOut:"Zoom out",switchToLightMode:"Switch to light mode",switchToDarkMode:"Switch to dark mode",resetView:"Reset view",toggleFullscreen:"Toggle fullscreen",aboutThisMap:"About this map",closeMenu:"Close menu",reloadMap:"Reload Map",showClusters:"Show Clusters",clusterSettings:"Cluster Settings",startAutoFly:"Start Auto Fly",stopFlight:"Stop Flight",speedLabel:"Speed:",speedOption:{slow:"Slow",normal:"Normal",fast:"Fast"},shareEmbed:"Share & embed",shareSteps:["Embed this map on your site","Create a list of the websites in your city","Train them to embed it too","Train them to train others to embed it too","Multiply maps everywhere for Jesus!"],share:"Share",posterMap:"Poster Map",prayerList:"Prayer List",cardDeck:"Card Deck",printOptions:"Print Options",showOnMap:"Show on map",close:"Close",showOnMapAria:"Show {label} on the map",cardStockAria:"Prayer card size",working:"Working…",packetVariantAria:"Prayer packet detail",packetFull:"Full detail",packetLightweight:"Lightweight",previewPrintPoster:"Preview & print the {label} poster",clearSelection:"Clear selection",noOptions:"No options found",renderingLocal:"Rendering a print-quality image in your browser — nothing is uploaded.",postersPerRow:"Posters per row",postersPerRowAuto:"Auto"},"./locales/en/controls.json":{research_controls:"Research controls",clustering:"Clustering",filters:"Filters",pin_dim:"Pin dim",export_poster:"Export poster…",reload_data:"Reload data",off:"Off",native:"Native",mst:"MST",network:"Network",off_desc:"Show every pin individually",native_desc:"Mapbox circle clusters (fastest)",mst_desc:"Minimum-spanning-tree affinity webs",network_desc:"Nearest-neighbor connection lines",search_languages:"Search languages…",search_religions:"Search religions…",reset_all:"Reset all",no_languages:"No languages loaded yet",no_religions:"No religions loaded yet",unadopted:"Unadopted",min:"min",max:"max",adopted:"Adopted",adoption:"Adoption",engaged:"Engaged",engagement:"Engagement",unengaged:"Unengaged",language:"Language",religion:"Religion",population:"Population",any:"Any",active_count:"{n} active",prayer_status:"Prayer Status",close:"Close",clear:"Clear",map_controls:"Research map controls",clusters:"Clusters",mst_full_name:"Minimum Spanning Tree",mst_hint:"click a legend row to cluster only that group"},"./locales/en/dashboard.json":{bloc:"Bloc",gospel_access:"Gospel Access",people:"People",people_name:"People (name)",praying:"Praying",religion_family:"Religion Family",search_language:"Search language",search_people:"Search people",search_place:"Search place",search_religion:"Search religion",upgs_in_scope:"UPGs in scope",countries_touched:"countries touched",unreached:"unreached",sum_population:"Σ population",sum_praying:"Σ praying",charts:"Charts",table:"Table",cluster:"Cluster",country:"Country",engagement:"Engagement",language:"Language",language_family:"Language Family",people_group:"People Group",population:"Population",prayer:"Prayer",region:"Region",religion:"Religion",status:"Status",adopted:"Adopted",filters:"Filters",gospel_resources:"Gospel Resources",map:"Map",search_placeholder:"Search people groups, place, language, religion…",any:"Any",active_count:"{n} active",prayer_status:"Prayer Status",map_controls:"Research map controls",close:"Close",clear:"Clear",dashboard_title:"Big Picture Research Dashboard",align_dashboard:"Align Dashboard",align_dashboard_tip:"Reset the dashboard layout to its default alignment",selected:"Selected",world:"World",vertical_legend:"Vertical Legend",groups_in_scope:"groups in scope",filter_by:"Filter by",remove_filter:"Remove filter",groups:"groups",expand:"Expand",collapse:"Collapse",place:"Place",export_csv:"Export CSV",detail:"Detail",detail_empty:"Select a people group to see detail",heartbeat_zone:"heartbeat zone",top_countries:"Top countries",select_all:"Select all",expand_table:"Expand table",collapse_table:"Collapse table — grow the map",group:"group",deselect_all:"Deselect all",results_live:"{count} of {total} {unit} shown",filters_live:"Filters: {list}",search_live:"Search: {term}",adopted_by_churches:"Adopted by churches",bp_title:"Big Picture — Unified Research Dashboard",bp_subtitle:"Search and filter the world's people groups · least-reached shown first",export_selection:"Export this selection",map_loading:"Research map loading…",no_match:"No people groups match “{q}”.",no_photo:"No photo",only_selected:"Only selected",only_selected_hint:"Show only the selected people groups",people_committed:"People committed",people_praying:"People praying",selected_first:"Selected first",selected_first_hint:"Float the selected people groups to the top, keeping your column sort",n_shown:"{n} shown",other:"Other",wagfRegion:{africa:"Africa",asia:"Asia",europe:"Europe","latin_america_&_caribbean":"Latin America & Caribbean",oceania:"Oceania",middle_east:"Middle East","north_america_&_non-spanish_caribbean":"North America & Non-Spanish Caribbean"},sort_by_column_hint:"Sort this table by {column} — shift-click to add a second column. Sorting orders the table only; the cards keep their own order.",fs_exit_hint:"Exit full screen (Esc) — back to seven rows",fs_open_hint:"Open this table full screen",fs_exit:"Exit full screen",fs_open:"Open table full screen",export_selected_hint:"Export all fields — selected people groups: {n}",export_all_hint:"Export all fields — people groups: {n}",map_init_failed:"The map could not start. Check the access token and the map container.",show_filters:"Show filters",hide_filters:"Hide filters — grow the map",show_charts:"Show charts",hide_charts:"Hide charts — grow the map",export_copied:"copied to clipboard",export_done:"exported",export_ready:"ready",export_toast:"✓ {rows} rows × {fields} fields {how}",export_failed:"✕ Export failed",pray_for_group:"Pray for this people group",more_information:"More information",title:"Research Dashboard",gospel_pending:"Not ready yet: the lostness figure, the data-source key and the layout are still being decided."},"./locales/en/detail.json":{labels:{country:"Country:",population:"Population:",language:"Language:",religion:"Religion:",languageFamily:"Language Family:",peopleCommitted:"Committed to pray:"},messages:{noDescription:"No description available."}},"./locales/en/grid.json":{search:"Search people groups…",hide_filters:"Hide Filters",show_filters:"Show Filters",total:"Total",showing:"Showing",load_more:"Load More",full_profile:"Full Profile",wagf_region:"Region",wagf_block:"Affinity Block",rop1:"People Group",religion:"Religion",exact_filter:"Exact",clear_all:"Clear All",loading:"Loading…",no_results:"No people groups match this filter.",type_to_search:"Type to search...",load_failed:"People-group data could not be loaded. This is a connection problem, not your filter.",search_people_or_countries:"Search people groups or countries…",cards_per_row:"Cards per row",cards_per_row_auto:"Auto"},"./locales/en/legend.json":{title:{adoption:"Adoption Progress",affinityBlocs:"Affinity Blocks",doxaRegions:"Doxa Regions",engagement:"Engagement Progress",gospelResources:"Gospel Resources",languageFamilies:"Language Families",prayer:"Prayer Progress",upg100List:"My UPG 100 List",batchSelect:"Batch Select"},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"},tabInfo:{upg100Region:"Region — sort the UPG-100 lists by world area (Africa, India, Middle East, Deaf, …). Counts are the UUPGs and population summed across every list beneath it.",upg100Zone:"UPG-100 Lists — each one is a prayer list of the unreached people groups in an area, and is what the map paints and colours. Every list prints as its own packet.",upg100Group:"People Group — the individual unreached groups inside a list, largest prayer need first. Each map dot is one of these.",family:"Lang Family — a group of languages descended from a common ancestor (e.g. Indo-European, Afro-Asiatic).",language:"Language — a system of communication used by a people (e.g. Arabic, Bengali, Hindi).",dialect:"Dialect/Variety — a regional or social form of a language (e.g. Arabic, Sudanese; Pakistan Sign Language).",bloc:"Affinity Block — the broadest grouping, by cultural, linguistic and geographic kinship (e.g. Malay Peoples, South Asian Peoples, Deaf, Arab World).",cluster:"Cluster — a finer grouping inside a block (e.g. Borneo-Kalimantan within Malay Peoples). Rows are marked “(Cluster)” to tell them from people groups.",group:"People Group — an ethnolinguistic identity on its own terms, independent of country. Rows are marked “(PG)”. One group may live in many countries (the Deaf, for example, in over a hundred).",pgic:"PG in Country — one row for each people group in each country it lives in (e.g. “Abai Sungai, Malaysia”). Rows are marked “(PGIC)”.",region:"WAGF Region — the macro-region a country belongs to (e.g. Asia, Africa). Each has its own colour on the map.",block:"WAGF Bloc — the sub-grouping inside a region (e.g. South East Asia, West Africa).",country:"Country — individual countries, ordered by unreached population within their bloc."},a11y:{expandRow:"Expand {label}",collapseRow:"Collapse {label}",clearSelection:"Clear selection",goUp:"Go up to {label}"},export:{poster:"Poster",packet:"UPG 100",packetExplain:"A prayer list of about 50 to 100 unreached people groups — one person can carry one.",packetAria:"Prayer packet detail",packetFull:"Full detail",packetLightweight:"Lightweight"},noDataAtThisLevel:"No data at this level",exportButton:"Export",exportSelection:"Export selection",loadingRows:"Loading {label}…",loadingData:"Loading data…",showingTop:"Showing top {n} of {m}",useGeocoderHint:"use the geocoder above to find the rest",noList:"No list loaded."},"./locales/en/lists.json":{doxa:{label:"Project 2000: DOXA's people groups",definition:"The people groups DOXA serves, as its live list gives them"},unreached:{label:"Project 7000: unreached people groups",definition:"IMB Lostness Priority 0-2 (Frontier, Pioneer or Expanding Unreached: under 2% evangelical)"},frontier:{label:"Project 4700: frontier people groups",definition:"IMB Lostness Priority 0 (Frontier Unreached: 0.1% evangelical or less)"},"frontier-500k":{label:"Project 700: frontier people groups of 500,000 or more",definition:"IMB Lostness Priority 0 and Population of at least 500,000"},unengaged:{label:"Unengaged unreached people groups",definition:"IMB Lostness Priority 0-2 and Engagement Status Unengaged"}},"./locales/en/mapui.json":{map:"Map",marker:"Map marker",closePopup:"Close popup",zoomIn:"Zoom in",zoomOut:"Zoom out",resetBearing:"Drag to rotate map, click to reset north",toggleAttribution:"Toggle attribution",mapFeedback:"Map feedback",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",findMyLocation:"Find my location",locationNotAvailable:"Location not available",enableGlobe:"Enable globe",disableGlobe:"Disable globe",ctrlScroll:"Use Ctrl + scroll to zoom the map",cmdScroll:"Use ⌘ + scroll to zoom the map",twoFingers:"Use two fingers to move the map",mapboxHomepage:"Mapbox homepage",maplibreLogo:"MapLibre logo"},"./locales/en/messages.json":{menuComingSoon:"Menu coming soon",pinHint:{tapDot:"Tap a coloured dot — someone still needs prayer"},upg100WallHeading:"My UPG 100 List — Prayer Lists & Posters",upg100WallTag:"Prayer Mobilization",upg100WallIntroA:"How would you feed a crowd of five thousand? Jesus sat them down in groups of fifty and a hundred, and the impossible became shareable (Luke 9:14). We did the same with the 2,106 unreached people groups: 27 lists of about fifty to a hundred. Each list prints as a prayer packet and a poster, so 27 disciples, churches or local leaders can each carry one — praying for them ",upg100WallIntroEmph:"by their people group name",upg100WallIntroB:".",loadingNamed:"Loading {name}…",couldNotLoadNamed:"Could not load {name}.",engineMissing:"The {engine} map engine did not load.",packetFailed:"Packet failed: {reason}",selectionPacketFailed:"Selection packet failed: {reason}",posterOneTerritory:"Poster prints one territory at a time — {count} selected.",selectionPosterFailed:"Selection poster failed: {reason}",mapUnavailable:"Map unavailable",copied:"Copied!",copyFailed:"Copy failed — press Ctrl/Cmd-C",engineNotLoaded:"map engine not loaded",engineNotLoadedDetail:"The {engine} map engine did not load. The list and legend are unaffected.",viewLoadFailed:"This view couldn't load.",retry:"Retry",noMapboxToken:"No Mapbox token",noMapboxTokenDetail:"No Mapbox token configured. The list and legend are unaffected.",loadingBoundaries:"Loading boundaries…",fetchingUupgs:"Fetching {n} UUPGs…",mapStatusCounts:"Areas: {polys} · zones: {zones}/{total} · pins: {pins}",tapTerritoriesHint:"Tap territories on the map or legend rows to add · tap again to remove",territoriesSelected:"Territories: {count}",bandInRange:"✓ 50–100 band",bandOutOfRange:"band 50–100",mapContextLost:"This map was unloaded to free graphics memory.",nOfTotal:"{n} of {total}",mapInitFailed:"Map failed to initialize — check token and container",countryWallIntroA:"One poster per country, ready to pray, print, and put on a wall — praying for them ",countryWallIntroB:". Regions and countries are ordered by how many unengaged people groups they hold, so the greatest need leads.",countryWallSoon:"Coming soon — a prayer list will be generated for each country, naming every unengaged people group within it.",countryWallHeading:"Country Posters — Prayer Lists & Posters",largerScreenNotice:"This experimental map is built for larger screens. It opens here, but parts of it may not fit or work well on a phone.",desktopOnlyNotice:"{label} only supports desktop — open this page on a desktop to use it.",noticeDismiss:"Dismiss",countryPosterTooMany:"Too many people groups to fit on one poster legibly — a solution is in progress."},"./locales/en/pins.json":{approximate:"The dot marks where this people is found, not a town or a boundary.",sharedPoint:"It sits on the same point as {names} — {n} groups share this coordinate, so the position tells you the locality and not which group is where."},"./locales/en/popup.json":{country:{wagfRegion:"WAGF Region",wagfBlock:"WAGF Bloc",country:"Country",uupgCount:"UUPG Count"}},"./locales/en/religion.json":{family:{Christianity:"Christianity",Islam:"Islam",Hinduism:"Hinduism",Buddhism:"Buddhism",Ethnoreligion:"Ethnoreligion",Judaism:"Judaism",Sikhism:"Sikhism",Unaffiliated:"Unaffiliated",Other:"Other",Unknown:"Unknown"}},"./locales/en/search.json":{placeholder:"People, place, language, religion",placeholderNoPlaces:"People, language, religion (place search needs a Mapbox token)",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"},upg100Placeholder:"Search people group, UPG-100 list, or region…",tabPlaceholder:{languageFamilies:"Search language family, language, dialect/variety",affinityBlocks:"Search affinity bloc, cluster, people group",regions:"Search region, country, people group",religion:"Search religion, people group"},placeholderRegions:"Search region, country, people group"},"./locales/en/share.json":{embed_link:"Embed link",add_to_website:"Add to Your Website",embed_paste_hint:"Paste this code into your website builder (WordPress, Squarespace, Wix, or any site that accepts HTML widgets)."},"./locales/en/tabs.json":{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",upg100Region:"Region",upg100Zone:"UPG-100 Lists",upg100Group:"People Group",selectView:"Select View",views:"Views",prayerResources:"Prayer Resources",map:"Map",countryPosters:"Country Posters"},"./locales/en/wall.json":{title:"Wall of People Groups",toPortrait:"📱 Switch to Portrait",toLandscape:"🖼️ Switch to Landscape",currentLandscape:"Current: Landscape (4 ft × 3 ft)",currentPortrait:"Current: Portrait (3 ft × 4 ft)",resetZoom:"Reset Zoom",groupsLoaded:"{n} Groups Loaded",loading:"Loading people groups…",offlineTitle:"The live prayer data could not be reached.",offlineBody:"The wall reads its people groups from pray.doxa.life. You may be offline, or, on a local development server, the API may not allow this page's address.",tryAgain:"Try again",prayedCount:"0 prayed | {n} person prayed | {n} people prayed",viewPrayers:"View prayers",prayerTools:"Prayer Tools",close:"Close",unknown:"Unknown",unknownGroup:"Unknown Group",status:"Status:",unengaged:"unengaged",prayingNow:"Are you praying right now for this people group?",yesPraying:"Yes, I'm Praying",thankYou:"Thank you for praying!",sharePrayer:"Share your prayer (optional)",prayerPlaceholder:"Type your prayer here…",sendPrayer:"Send Prayer",peopleGroup:"People Group",chatsTitle:"People Group Chats",id:"ID:",location:"Location:",na:"N/A",havePrayed:"no one has prayed yet | {n} person has prayed | {n} people have prayed",youPrayed:"✓ You prayed!",prayForGroup:"🙏 Pray for this group",prayersComments:"Prayers & Comments",noComments:"No prayers or comments yet. Be the first!",commentPlaceholder:"Share your prayer or thoughts…",postComment:"Post Comment",noPeopleId:"This people group doesn't have a PeopleID3",statusUnknown:"Status Unknown",printPoster:"🖨️ Print HD poster",printPreparing:"Preparing the poster: {n} of {total} photos",printMissing:"Photos that could not load: {n}. They print as grey boxes.",blessBanner:"Bless the nations in Jesus’ name",modeLabel:"Wall mode",modeBless:"Bless",modeSocial:"Social",shareSoon:"Sharing is coming later.",drawLibError:"The wall could not load its drawing library:",posterSize:"Poster size",posterSubtitle:"DOXA (δόξα) means glory. A global prayer movement is blessing these {n} people groups in Jesus’ name. Learn more and join at pray.doxa.life.",glueHere:"glue the sheet above here",themesLabel:"Prayer themes",oldTestament:"Old Testament",newTestament:"New Testament",themeTreasure:"Treasure",themeMountain:"Mountain",themeSea:"Sea",posterClosing:"Jesus Christ is the cornerstone, and we are living stones. These people groups are the reward of his suffering. Take up our priestly calling: bless them in his name, and join the global family in prayer.",journeyCalled:"Called",journeyPromised:"Promised",journeyRedeemed:"Redeemed",journeyCornerstone:"The cornerstone",journeyChildren:"Children of Abraham",journeyPriesthood:"A royal priesthood",journeySent:"Sent to the lost",peopleGroupCount:"{n} people group | {n} people groups",listCount:"{n} list | {n} lists",stockCard:"Card",stockPostcard:"Postcard",stockLandscape:"landscape",hud:{kindPoster:"Poster",kindList:"List",kindPacket:"Prayer Packet",fetchingPoster:"fetching the poster",generatingPoster:"generating the poster",openingPrint:"opening the print dialog",printOpened:"print dialog opened",saving:"saving",fetchingRecords:"fetching records",fetchingGroups:"fetching people groups",layingOutRows:"laying out {n} row | laying out {n} rows",layingOutCards:"laying out {n} card | laying out {n} cards",printingGroups:"printing {n} people group | printing {n} people groups",kindCardDeck:"Card Deck",kindPrayerList:"Prayer List",saved:"saved",noRecords:"that list has no people groups to print",noPoster:"no poster is available for this list",posterNotFound:"poster not found ({status})",posterBlank:"the generated poster came out blank",noApi:"no people-groups service is configured",fetchFailed:"could not load the people groups ({status})"},posterAlt:"{label} — prayer poster",posterAltAction:"{label} — prayer poster (click to preview and print)"},"./locales/es/allPeopleGroups.json":{title:"Todos los grupos étnicos",locations:"{n} ubicaciones (grupo × país)",doxa:"Grupos étnicos de DOXA",frontier:"Frontera — nada iniciado",unreached:"No alcanzados — el trabajo comienza",reached:"Alcanzados — la iglesia está ahí",hint:"Haga clic en una fila para verlos todos · de nuevo para ver todo",loading:"Cargando todos los grupos étnicos…",loadError:"No se pudo cargar el mapa.",pray:"Ore por ellos →",population:"pobl. {n}"},"./locales/es/aria.json":{backToLegend:"Volver a la leyenda",closeDetailView:"Cerrar vista de detalle",collapseLegend:"Contraer la leyenda",expandLegend:"Expandir la leyenda",toggleLegend:"Mostrar u ocultar la leyenda",searchPeopleGroups:"Buscar pueblos",resetAllFilters:"Restablecer todos los filtros y la búsqueda",selectAllRows:"Seleccionar todas las filas",deselectAllRows:"Deseleccionar todas las filas",rowDetail:"Detalle de la fila",dismissHint:"Descartar la sugerencia",resizeFiltersRail:"Cambiar el tamaño del panel de filtros",resizeFiltersRailHint:"Arrastra o usa las teclas de flecha para cambiar el tamaño del panel de filtros",resizeChartsRail:"Cambiar el tamaño del panel de gráficos",resizeChartsRailHint:"Arrastra o usa las teclas de flecha para cambiar el tamaño del panel de gráficos",resizeMapTableSplit:"Cambiar la división entre el mapa y la tabla",resizeMapTableSplitHint:"Arrastra o usa las teclas de flecha para cambiar la división entre el mapa y la tabla",resizeTable:"Cambiar la altura de la tabla",resizeTableHint:"Arrastra o usa las teclas de flecha para cambiar el tamaño de la tabla",resizeDashboardHeight:"Cambiar la altura del panel",resizeDashboardHeightHint:"Arrastra o usa las teclas de flecha para cambiar la altura del panel",removeFilter:"Quitar el filtro {name}",closeDetail:"Cerrar el detalle",filterBreadcrumb:"Ruta de filtros",railViews:"Vistas del panel",upgCountLegend:"Leyenda del recuento de UPG",donutChart:"Gráfico de anillo: {title}"},"./locales/es/buttons.json":{prayForThem:"Ora por ellos",adoptThem:"Adóptalos",moreInfo:"Más información",zoomIn:"Acercar",zoomOut:"Alejar",switchToLightMode:"Cambiar a modo claro",switchToDarkMode:"Cambiar a modo oscuro",resetView:"Restablecer vista",toggleFullscreen:"Alternar pantalla completa",aboutThisMap:"Acerca de este mapa",closeMenu:"Cerrar menú",reloadMap:"Recargar mapa",showClusters:"Mostrar clústeres",clusterSettings:"Ajustes de clústeres",startAutoFly:"Iniciar vuelo automático",stopFlight:"Detener vuelo",speedLabel:"Velocidad:",speedOption:{slow:"Lenta",normal:"Normal",fast:"Rápida"},shareEmbed:"Compartir e incrustar",posterMap:"Mapa del cartel",prayerList:"Lista de oración",cardDeck:"Baraja de tarjetas",printOptions:"Opciones de impresión",showOnMap:"Ver en el mapa",close:"Cerrar",showOnMapAria:"Ver {label} en el mapa",cardStockAria:"Tamaño de la tarjeta de oración",previewPrintPoster:"Previsualizar e imprimir el cartel de {label}",share:"Compartir",shareSteps:["Inserta este mapa en tu sitio","Haz una lista de los sitios web de tu ciudad","Enséñales a insertarlo también","Enséñales a enseñar a otros a insertarlo","¡Multiplica los mapas por todas partes para Jesús!"],clearSelection:"Borrar la selección",noOptions:"No se encontraron opciones",renderingLocal:"Se está generando una imagen con calidad de impresión en tu navegador: no se sube nada.",postersPerRow:"Pósteres por fila",packetVariantAria:"Detalle del paquete de oración",packetFull:"Detalle completo",packetLightweight:"Ligero",working:"Procesando…",postersPerRowAuto:"Automático"},"./locales/es/controls.json":{research_controls:"Controles de investigación",clustering:"Agrupación",filters:"Filtros",pin_dim:"Atenuar puntos",export_poster:"Exportar póster…",reload_data:"Recargar datos",off:"Desactivado",native:"Nativo",mst:"MST",network:"Red",off_desc:"Mostrar cada punto por separado",native_desc:"Grupos circulares de Mapbox (lo más rápido)",mst_desc:"Redes de afinidad por árbol de expansión mínima",network_desc:"Líneas de conexión al vecino más cercano",search_languages:"Buscar idiomas…",search_religions:"Buscar religiones…",reset_all:"Restablecer todo",no_languages:"Aún no se han cargado idiomas",no_religions:"Aún no se han cargado religiones",unadopted:"No adoptado",min:"mín",max:"máx",adopted:"Adoptado",adoption:"Adopción",engaged:"Comprometido",engagement:"Compromiso",unengaged:"Necesita implicación",language:"Idioma",religion:"Religión",population:"Población",any:"Cualquiera",active_count:"{n} activos",prayer_status:"Estado de oración",close:"Cerrar",clear:"Borrar",map_controls:"Controles del mapa",clusters:"Clústeres",mst_full_name:"Árbol de expansión mínima",mst_hint:"haz clic en una fila de la leyenda para agrupar solo ese grupo"},"./locales/es/dashboard.json":{bloc:"Bloque de afinidad",gospel_access:"Acceso al evangelio",people:"Pueblos",people_name:"Pueblo (nombre)",praying:"Orando",religion_family:"Familia religiosa",search_language:"Buscar idioma",search_people:"Buscar pueblo",search_place:"Buscar lugar",search_religion:"Buscar religión",upgs_in_scope:"UPG en el ámbito",countries_touched:"países alcanzados",unreached:"no alcanzados",sum_population:"Σ población",sum_praying:"Σ orando",charts:"Gráficos",table:"Tabla",cluster:"Clúster",country:"País",engagement:"Compromiso",language:"Idioma",language_family:"Familia lingüística",people_group:"Pueblo",population:"Población",prayer:"Oración",region:"Región",religion:"Religión",status:"Estado",adopted:"Adoptado",filters:"Filtros",gospel_resources:"Recursos del Evangelio",map:"Mapa",search_placeholder:"Buscar pueblos, lugares, idiomas, religiones…",any:"Cualquiera",active_count:"{n} activos",prayer_status:"Estado de oración",map_controls:"Controles del mapa",close:"Cerrar",clear:"Borrar",dashboard_title:"Panel de investigación general",align_dashboard:"Alinear panel",align_dashboard_tip:"Restablecer la disposición del panel a su alineación predeterminada",selected:"Seleccionado",world:"Mundo",vertical_legend:"Leyenda vertical",groups_in_scope:"pueblos en el ámbito",filter_by:"Filtrar por",remove_filter:"Quitar filtro",groups:"pueblos",expand:"Expandir",collapse:"Contraer",place:"Lugar",export_csv:"Exportar CSV",detail:"Detalle",detail_empty:"Selecciona un pueblo para ver el detalle",heartbeat_zone:"zona del latido",top_countries:"Países principales",select_all:"Seleccionar todo",expand_table:"Expandir tabla",collapse_table:"Contraer tabla — ampliar el mapa",group:"pueblo",deselect_all:"Deseleccionar todo",results_live:"Se muestran {count} de {total} {unit}",filters_live:"Filtros: {list}",search_live:"Búsqueda: {term}",adopted_by_churches:"Adoptados por iglesias",bp_title:"Panorama general — panel de investigación unificado",bp_subtitle:"Busca y filtra los grupos de personas del mundo · primero los menos alcanzados",export_selection:"Exportar esta selección",map_loading:"Cargando el mapa de investigación…",no_match:"Ningún grupo de personas coincide con «{q}».",no_photo:"Sin foto",only_selected:"Solo los seleccionados",only_selected_hint:"Mostrar solo los grupos de personas seleccionados",people_committed:"Personas comprometidas",people_praying:"Personas que oran",selected_first:"Los seleccionados primero",selected_first_hint:"Llevar arriba los grupos de personas seleccionados, manteniendo el orden de las columnas",n_shown:"{n} mostrados",other:"Otros",wagfRegion:{africa:"África",asia:"Asia",europe:"Europa","latin_america_&_caribbean":"Latinoamérica",oceania:"Oceanía",middle_east:"Oriente Medio","north_america_&_non-spanish_caribbean":"Norteamérica y Caribe no hispano"},sort_by_column_hint:"Ordenar esta tabla por {column}; Mayús+clic añade una segunda columna. La ordenación solo afecta a la tabla; las tarjetas conservan su propio orden.",fs_exit_hint:"Salir de pantalla completa (Esc): volver a siete filas",fs_open_hint:"Abrir esta tabla a pantalla completa",fs_exit:"Salir de pantalla completa",fs_open:"Abrir la tabla a pantalla completa",export_selected_hint:"Exportar todos los campos — pueblos seleccionados: {n}",export_all_hint:"Exportar todos los campos — pueblos: {n}",map_init_failed:"El mapa no pudo iniciarse. Compruebe el token de acceso y el contenedor del mapa.",show_filters:"Mostrar filtros",hide_filters:"Ocultar filtros — ampliar el mapa",show_charts:"Mostrar gráficos",hide_charts:"Ocultar gráficos — ampliar el mapa",export_copied:"copiado al portapapeles",export_done:"exportado",export_ready:"listo",export_toast:"✓ {rows} filas × {fields} campos {how}",export_failed:"✕ Error al exportar",pray_for_group:"Ore por este pueblo",more_information:"Más información",title:"Panel de investigación",gospel_pending:"Aún no está listo: la cifra de no alcanzados, la clave de la fuente de datos y la forma de la interfaz siguen por decidir."},"./locales/es/detail.json":{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."}},"./locales/es/grid.json":{search:"Buscar pueblos…",hide_filters:"Ocultar filtros",show_filters:"Mostrar filtros",total:"Total",showing:"Mostrando",load_more:"Cargar más",full_profile:"Perfil completo",wagf_region:"Región",wagf_block:"Bloque de afinidad",rop1:"Pueblo",religion:"Religión",exact_filter:"Exacto",clear_all:"Borrar todo",loading:"Cargando…",no_results:"Ningún pueblo coincide con este filtro.",type_to_search:"Escribe para buscar...",load_failed:"No se pudieron cargar los datos de pueblos. Es un problema de conexión, no de tu filtro.",search_people_or_countries:"Buscar pueblos o países…",cards_per_row:"Tarjetas por fila",cards_per_row_auto:"Automático"},"./locales/es/legend.json":{title:{adoption:"Progreso de adopción",affinityBlocs:"Bloques de afinidad",doxaRegions:"Regiones Doxa",engagement:"Progreso de implicación",gospelResources:"Recursos del Evangelio",languageFamilies:"Familias lingüísticas",prayer:"Progreso de oración",upg100List:"Mi lista UPG 100",batchSelect:"Selección múltiple"},header:{collapsed:"Leyenda",peopleGroupFallback:"Grupo de personas",default:"Leyenda"},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"},tabInfo:{upg100Region:"Región — ordena las listas UPG-100 por área mundial (África, India, Oriente Medio, Sordos, …). Los totales son los UUPG y la población sumados de todas las listas que contiene.",upg100Zone:"Listas UPG-100 — cada una es una lista de oración de los grupos étnicos no alcanzados de un área, y es lo que el mapa pinta y colorea. Cada lista se imprime como su propio paquete.",upg100Group:"Grupo étnico — los grupos no alcanzados dentro de una lista, primero los de mayor necesidad de oración. Cada punto del mapa es uno de ellos.",family:"Familia lingüística — un conjunto de lenguas procedentes de un antepasado común (p. ej. indoeuropea, afroasiática).",language:"Idioma — un sistema de comunicación que usa un pueblo (p. ej. árabe, bengalí, hindi).",dialect:"Dialecto/Variedad — una forma regional o social de una lengua (p. ej. árabe sudanés; lengua de señas pakistaní).",bloc:"Bloque de afinidad — la agrupación más amplia, por parentesco cultural, lingüístico y geográfico (p. ej. pueblos malayos, pueblos del sur de Asia, sordos, mundo árabe).",cluster:"Clúster — una agrupación más fina dentro de un bloque (p. ej. Borneo-Kalimantan entre los pueblos malayos). Las filas llevan «(clúster)» para distinguirlas de los pueblos.",group:"Pueblo — una identidad etnolingüística en sí misma, independiente del país. Las filas llevan «(pueblo)». Un mismo pueblo puede vivir en muchos países (los sordos, por ejemplo, en más de cien).",pgic:"Pueblo en país — una fila por cada pueblo en cada país donde vive (p. ej. «Abai Sungai, Malasia»). Las filas llevan «(pueblo en país)».",region:"Región WAGF — la macrorregión a la que pertenece un país (p. ej. Asia, África). Cada una tiene su color en el mapa.",block:"Bloque WAGF — la subdivisión dentro de una región (p. ej. Sudeste Asiático, África Occidental).",country:"País — los países uno a uno, ordenados por población no alcanzada dentro de su bloque."},a11y:{expandRow:"Expandir {label}",collapseRow:"Contraer {label}",clearSelection:"Borrar la selección",goUp:"Subir a {label}"},export:{poster:"Cartel",packet:"UPG 100",packetExplain:"Una lista de oración de unos 50 a 100 pueblos no alcanzados: una persona puede llevar una.",packetAria:"Detalle del paquete de oración",packetFull:"Detalle completo",packetLightweight:"Ligero"},noDataAtThisLevel:"No hay datos en este nivel",exportButton:"Exportar",exportSelection:"Exportar la selección",loadingRows:"Cargando {label}…",loadingData:"Cargando datos…",showingTop:"Mostrando los {n} principales de {m}",useGeocoderHint:"usa el buscador de arriba para encontrar el resto",noList:"Ninguna lista cargada."},"./locales/es/lists.json":{doxa:{label:"Proyecto 2000: los pueblos de DOXA",definition:"Los pueblos a los que sirve DOXA, tal como los da su lista en vivo"},unreached:{label:"Proyecto 7000: pueblos no alcanzados",definition:"Prioridad de perdición de IMB 0–2 (no alcanzados de frontera, pioneros o en expansión: menos del 2 % evangélicos)"},frontier:{label:"Proyecto 4700: pueblos de frontera",definition:"Prioridad de perdición de IMB 0 (no alcanzados de frontera: 0,1 % evangélicos o menos)"},"frontier-500k":{label:"Proyecto 700: pueblos de frontera de 500.000 o más",definition:"Prioridad de perdición de IMB 0 y una población de al menos 500.000"},unengaged:{label:"Pueblos no alcanzados y no atendidos",definition:"Prioridad de perdición de IMB 0–2 y estado de compromiso: no atendido"}},"./locales/es/mapui.json":{map:"Mapa",marker:"Marcador del mapa",closePopup:"Cerrar ventana",zoomIn:"Acercar",zoomOut:"Alejar",resetBearing:"Arrastra para girar el mapa; haz clic para orientar al norte",toggleAttribution:"Mostrar u ocultar atribución",mapFeedback:"Comentarios sobre el mapa",enterFullscreen:"Pantalla completa",exitFullscreen:"Salir de pantalla completa",findMyLocation:"Buscar mi ubicación",locationNotAvailable:"Ubicación no disponible",enableGlobe:"Activar globo",disableGlobe:"Desactivar globo",ctrlScroll:"Usa Ctrl + desplazamiento para hacer zoom en el mapa",cmdScroll:"Usa ⌘ + desplazamiento para hacer zoom en el mapa",twoFingers:"Usa dos dedos para mover el mapa",mapboxHomepage:"Página de inicio de Mapbox",maplibreLogo:"Logotipo de MapLibre"},"./locales/es/messages.json":{menuComingSoon:"Menú próximamente",pinHint:{tapDot:"Toca un punto de color: alguien todavía necesita oración"},upg100WallHeading:"Mi lista UPG 100 — Listas de oración y carteles",upg100WallTag:"Movilización de oración",upg100WallIntroA:"¿Cómo alimentarías a una multitud de cinco mil? Jesús los sentó en grupos de cincuenta y de cien, y lo imposible se volvió compartible (Lucas 9:14). Hicimos lo mismo con los 2.106 pueblos no alcanzados: 27 listas de unos cincuenta a cien. Cada lista se imprime como paquete de oración y cartel, para que 27 discípulos, iglesias o líderes locales lleven una cada uno — orando por ellos ",upg100WallIntroEmph:"por el nombre de su pueblo",upg100WallIntroB:".",loadingNamed:"Cargando {name}…",couldNotLoadNamed:"No se pudo cargar {name}.",engineMissing:"El motor de mapas {engine} no se cargó.",packetFailed:"Error al generar el cuadernillo: {reason}",selectionPacketFailed:"Error al generar el cuadernillo de la selección: {reason}",posterOneTerritory:"El cartel imprime un territorio a la vez: {count} seleccionados.",selectionPosterFailed:"Error al generar el cartel de la selección: {reason}",mapUnavailable:"Mapa no disponible",copied:"¡Copiado!",copyFailed:"Error al copiar: pulsa Ctrl/Cmd-C",engineNotLoaded:"motor de mapas no cargado",engineNotLoadedDetail:"El motor de mapas {engine} no se cargó. La lista y la leyenda no se ven afectadas.",viewLoadFailed:"No se pudo cargar esta vista.",retry:"Reintentar",noMapboxToken:"No hay token de Mapbox",noMapboxTokenDetail:"No hay ningún token de Mapbox configurado. La lista y la leyenda no se ven afectadas.",loadingBoundaries:"Cargando límites…",fetchingUupgs:"Obteniendo {n} UUPG…",mapStatusCounts:"Áreas: {polys} · zonas: {zones}/{total} · marcadores: {pins}",tapTerritoriesHint:"Toque territorios en el mapa o filas de la leyenda para añadirlos · toque de nuevo para quitarlos",territoriesSelected:"Territorios: {count}",bandInRange:"✓ franja 50–100",bandOutOfRange:"franja 50–100",mapContextLost:"Este mapa se descargó para liberar memoria gráfica.",nOfTotal:"{n} de {total}",mapInitFailed:"No se pudo iniciar el mapa: revisa el token y el contenedor",countryWallIntroA:"Un cartel por país, listo para orar, imprimir y colgar en una pared — orando por ellos ",countryWallIntroB:". Las regiones y los países se ordenan según cuántos pueblos no comprometidos contienen, para que la mayor necesidad vaya primero.",countryWallSoon:"Próximamente: se generará una lista de oración para cada país, con el nombre de cada pueblo no alcanzado que hay en él.",countryWallHeading:"Carteles por país — Listas de oración y carteles",largerScreenNotice:"Este mapa experimental está pensado para pantallas grandes. Se abre aquí, pero algunas partes pueden no caber o no funcionar bien en un teléfono.",desktopOnlyNotice:"{label} solo funciona en escritorio: abra esta página en un ordenador para usarlo.",noticeDismiss:"Cerrar",countryPosterTooMany:"Demasiados pueblos para que quepan legiblemente en un solo cartel; estamos trabajando en una solución."},"./locales/es/pins.json":{approximate:"El punto indica dónde se encuentra este pueblo, no una ciudad ni una frontera.",sharedPoint:"Está en el mismo punto que {names}: {n} grupos comparten esta coordenada, así que la posición indica la zona y no dónde está cada grupo."},"./locales/es/popup.json":{country:{wagfRegion:"Región WAGF",wagfBlock:"Bloque WAGF",country:"País",uupgCount:"Número de UUPG"}},"./locales/es/religion.json":{family:{Christianity:"Cristianismo",Islam:"Islam",Hinduism:"Hinduismo",Buddhism:"Budismo",Ethnoreligion:"Etnorreligión",Judaism:"Judaísmo",Sikhism:"Sijismo",Unaffiliated:"Sin afiliación",Other:"Otra",Unknown:"Desconocida"}},"./locales/es/search.json":{placeholder:"Pueblo, lugar, idioma, religión",placeholderNoPlaces:"Pueblo, idioma, religión (buscar lugares requiere un token de Mapbox)",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"},sections:{within:"Dentro de {selection}",allData:"Todos los datos DOXA"},upg100Placeholder:"Buscar pueblo, lista UPG-100 o región…",tabPlaceholder:{languageFamilies:"Buscar familia lingüística, idioma, dialecto/variedad",affinityBlocks:"Buscar bloque de afinidad, clúster, pueblo",regions:"Buscar región, país, pueblo",religion:"Buscar religión, pueblo"},placeholderRegions:"Buscar región, país o pueblo"},"./locales/es/share.json":{embed_link:"Enlace para insertar",add_to_website:"Añádelo a tu sitio web",embed_paste_hint:"Pega este código en tu creador de sitios web (WordPress, Squarespace, Wix o cualquier sitio que acepte widgets HTML)."},"./locales/es/tabs.json":{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",upg100Region:"Región",upg100Zone:"Listas UPG-100",upg100Group:"Grupo étnico",selectView:"Seleccionar vista",views:"Vistas",prayerResources:"Recursos de oración",map:"Mapa",countryPosters:"Carteles por país"},"./locales/es/wall.json":{title:"Muro de los pueblos",toPortrait:"📱 Cambiar a vertical",toLandscape:"🖼️ Cambiar a horizontal",currentLandscape:"Actual: horizontal (4 × 3 pies)",currentPortrait:"Actual: vertical (3 × 4 pies)",resetZoom:"Restablecer zoom",groupsLoaded:"Cargados: {n}",loading:"Cargando pueblos…",offlineTitle:"No se pudo acceder a los datos de oración en vivo.",offlineBody:"El muro lee sus pueblos de pray.doxa.life. Puede que no tengas conexión o que, en un servidor de desarrollo local, la API no permita la dirección de esta página.",tryAgain:"Reintentar",prayedCount:"Oraron: {n}",viewPrayers:"Ver oraciones",prayerTools:"Herramientas de oración",close:"Cerrar",unknown:"Desconocido",unknownGroup:"Pueblo desconocido",status:"Estado:",unengaged:"no alcanzado",prayingNow:"¿Estás orando ahora por este pueblo?",yesPraying:"Sí, estoy orando",thankYou:"¡Gracias por orar!",sharePrayer:"Comparte tu oración (opcional)",prayerPlaceholder:"Escribe tu oración aquí…",sendPrayer:"Enviar oración",peopleGroup:"Pueblo",chatsTitle:"Chats del pueblo",id:"ID:",location:"Ubicación:",na:"N/D",havePrayed:"Oraron: {n}",youPrayed:"✓ ¡Oraste!",prayForGroup:"🙏 Orar por este pueblo",prayersComments:"Oraciones y comentarios",noComments:"Aún no hay oraciones ni comentarios. ¡Sé el primero!",commentPlaceholder:"Comparte tu oración o tus pensamientos…",postComment:"Publicar comentario",noPeopleId:"Este pueblo no tiene PeopleID3",statusUnknown:"Estado desconocido",printPoster:"🖨️ Imprimir póster HD",printPreparing:"Preparando el póster: {n} de {total} fotos",printMissing:"Fotos que no se pudieron cargar: {n}. Se imprimen como recuadros grises.",blessBanner:"Bendigan a las naciones en el nombre de Jesús",modeLabel:"Modo del muro",modeBless:"Bendecir",modeSocial:"Social",shareSoon:"Compartir llegará más adelante.",drawLibError:"El muro no pudo cargar su biblioteca de dibujo:",posterSize:"Tamaño del póster",posterSubtitle:"DOXA (δόξα) significa gloria. Un movimiento mundial de oración está bendiciendo a estos {n} grupos de pueblos en el nombre de Jesús. Más información y únase en pray.doxa.life.",glueHere:"pegue aquí la hoja de arriba",themesLabel:"Temas de oración",oldTestament:"Antiguo Testamento",newTestament:"Nuevo Testamento",themeTreasure:"Tesoro",themeMountain:"Monte",themeSea:"Mar",posterClosing:"Jesucristo es la piedra angular, y nosotros somos piedras vivas. Estos pueblos son la recompensa de su sufrimiento. Asumamos nuestro llamado sacerdotal: bendigámoslos en su nombre y unámonos a la familia mundial en oración.",journeyCalled:"El llamado",journeyPromised:"La promesa",journeyRedeemed:"Redimidos",journeyCornerstone:"La piedra angular",journeyChildren:"Hijos de Abraham",journeyPriesthood:"Un real sacerdocio",journeySent:"Enviados a los perdidos",peopleGroupCount:"{n} pueblo | {n} de pueblos | {n} pueblos",listCount:"{n} lista | {n} de listas | {n} listas",stockCard:"Tarjeta",stockPostcard:"Postal",stockLandscape:"horizontal",hud:{kindPoster:"Cartel",kindList:"Lista",kindPacket:"Paquete de oración",fetchingPoster:"obteniendo el cartel",generatingPoster:"generando el cartel",openingPrint:"abriendo el cuadro de impresión",printOpened:"cuadro de impresión abierto",saving:"guardando",fetchingRecords:"obteniendo registros",fetchingGroups:"obteniendo pueblos",layingOutRows:"maquetando {n} fila | maquetando {n} de filas | maquetando {n} filas",layingOutCards:"maquetando {n} tarjeta | maquetando {n} de tarjetas | maquetando {n} tarjetas",printingGroups:"imprimiendo {n} pueblo | imprimiendo {n} de pueblos | imprimiendo {n} pueblos",kindCardDeck:"Baraja de tarjetas",kindPrayerList:"Lista de oración",saved:"guardado",noRecords:"esa lista no tiene pueblos para imprimir",noPoster:"no hay un cartel disponible para esta lista",posterNotFound:"cartel no encontrado ({status})",posterBlank:"el cartel generado salió en blanco",noApi:"no hay un servicio de pueblos configurado",fetchFailed:"no se pudieron cargar los pueblos ({status})"},posterAlt:"{label} — cartel de oración",posterAltAction:"{label} — cartel de oración (haz clic para ver e imprimir)"},"./locales/fr/allPeopleGroups.json":{title:"Tous les groupes ethniques",locations:"{n} emplacements (groupe × pays)",doxa:"Groupes ethniques DOXA",frontier:"Frontière — rien n’a commencé",unreached:"Non atteints — le travail commence",reached:"Atteints — l’Église est là",hint:"Cliquez sur une ligne pour les voir tous · recliquez pour tout voir",loading:"Chargement de tous les groupes ethniques…",loadError:"La carte n’a pas pu être chargée.",pray:"Priez pour eux →",population:"pop. {n}"},"./locales/fr/aria.json":{backToLegend:"Retour à la légende",closeDetailView:"Fermer la vue détaillée",collapseLegend:"Réduire la légende",expandLegend:"Développer la légende",toggleLegend:"Afficher ou masquer la légende",searchPeopleGroups:"Rechercher des peuples",resetAllFilters:"Réinitialiser tous les filtres et la recherche",selectAllRows:"Sélectionner toutes les lignes",deselectAllRows:"Désélectionner toutes les lignes",rowDetail:"Détail de la ligne",dismissHint:"Masquer l'astuce",resizeFiltersRail:"Redimensionner le volet des filtres",resizeFiltersRailHint:"Faites glisser ou utilisez les touches fléchées pour redimensionner le volet des filtres",resizeChartsRail:"Redimensionner le volet des graphiques",resizeChartsRailHint:"Faites glisser ou utilisez les touches fléchées pour redimensionner le volet des graphiques",resizeMapTableSplit:"Redimensionner le partage carte/tableau",resizeMapTableSplitHint:"Faites glisser ou utilisez les touches fléchées pour redimensionner le partage carte/tableau",resizeTable:"Redimensionner la hauteur du tableau",resizeTableHint:"Faites glisser ou utilisez les touches fléchées pour redimensionner le tableau",resizeDashboardHeight:"Redimensionner la hauteur du tableau de bord",resizeDashboardHeightHint:"Faites glisser ou utilisez les touches fléchées pour redimensionner la hauteur du tableau de bord",removeFilter:"Supprimer le filtre {name}",closeDetail:"Fermer le détail",filterBreadcrumb:"Fil d’Ariane des filtres",railViews:"Vues du volet",upgCountLegend:"Légende du nombre d’UPG",donutChart:"Graphique en anneau : {title}"},"./locales/fr/buttons.json":{prayForThem:"Priez pour eux",adoptThem:"Adoptez-les",moreInfo:"Plus d'infos",zoomIn:"Zoom avant",zoomOut:"Zoom arrière",switchToLightMode:"Passer au mode clair",switchToDarkMode:"Passer au mode sombre",resetView:"Réinitialiser la vue",toggleFullscreen:"Basculer en plein écran",aboutThisMap:"À propos de cette carte",closeMenu:"Fermer le menu",reloadMap:"Recharger la carte",showClusters:"Afficher les clusters",clusterSettings:"Paramètres des clusters",startAutoFly:"Démarrer le vol auto",stopFlight:"Arrêter le vol",speedLabel:"Vitesse :",speedOption:{slow:"Lente",normal:"Normale",fast:"Rapide"},shareEmbed:"Partager et intégrer",posterMap:"Carte de l'affiche",prayerList:"Liste de prière",cardDeck:"Jeu de cartes",printOptions:"Options d'impression",showOnMap:"Voir sur la carte",close:"Fermer",showOnMapAria:"Voir {label} sur la carte",cardStockAria:"Taille de la carte de prière",previewPrintPoster:"Aperçu et impression de l’affiche {label}",share:"Partager",shareSteps:["Intégrez cette carte à votre site","Dressez la liste des sites web de votre ville","Apprenez-leur à l’intégrer aussi","Apprenez-leur à former d’autres personnes à l’intégrer","Multiplions les cartes partout pour Jésus !"],clearSelection:"Effacer la sélection",noOptions:"Aucune option trouvée",renderingLocal:"Une image de qualité impression est générée dans votre navigateur — rien n’est envoyé.",postersPerRow:"Affiches par ligne",packetVariantAria:"Niveau de détail du dossier de prière",packetFull:"Détail complet",packetLightweight:"Allégé",working:"Traitement…",postersPerRowAuto:"Auto"},"./locales/fr/controls.json":{research_controls:"Commandes de recherche",clustering:"Regroupement",filters:"Filtres",pin_dim:"Atténuation des points",export_poster:"Exporter l’affiche…",reload_data:"Recharger les données",off:"Désactivé",native:"Natif",mst:"MST",network:"Réseau",off_desc:"Afficher chaque point séparément",native_desc:"Groupes circulaires Mapbox (le plus rapide)",mst_desc:"Réseaux d’affinité par arbre couvrant minimal",network_desc:"Lignes vers le plus proche voisin",search_languages:"Rechercher des langues…",search_religions:"Rechercher des religions…",reset_all:"Tout réinitialiser",no_languages:"Aucune langue chargée pour l’instant",no_religions:"Aucune religion chargée pour l’instant",unadopted:"Non adopté",min:"min",max:"max",adopted:"Adopté",adoption:"Adoption",engaged:"Engagé",engagement:"Engagement",unengaged:"Besoin d'engagement",language:"Langue",religion:"Religion",population:"Population",any:"Tous",active_count:"{n} actifs",prayer_status:"État de prière",close:"Fermer",clear:"Effacer",map_controls:"Commandes de la carte",clusters:"Groupes",mst_full_name:"Arbre couvrant minimal",mst_hint:"cliquez sur une ligne de la légende pour ne regrouper que ce groupe"},"./locales/fr/dashboard.json":{bloc:"Bloc d’affinité",gospel_access:"Accès à l’Évangile",people:"Peuples",people_name:"Peuple (nom)",praying:"En prière",religion_family:"Famille religieuse",search_language:"Rechercher une langue",search_people:"Rechercher un peuple",search_place:"Rechercher un lieu",search_religion:"Rechercher une religion",upgs_in_scope:"UPG dans le périmètre",countries_touched:"pays touchés",unreached:"non atteints",sum_population:"Σ population",sum_praying:"Σ en prière",charts:"Graphiques",table:"Tableau",cluster:"Grappe",country:"Pays",engagement:"Engagement",language:"Langue",language_family:"Famille linguistique",people_group:"Peuple",population:"Population",prayer:"Prière",region:"Région",religion:"Religion",status:"Statut",adopted:"Adopté",filters:"Filtres",gospel_resources:"Ressources de l'Évangile",map:"Carte",search_placeholder:"Rechercher peuples, lieux, langues, religions…",any:"Tous",active_count:"{n} actifs",prayer_status:"État de prière",map_controls:"Commandes de la carte",close:"Fermer",clear:"Effacer",dashboard_title:"Tableau de bord de recherche global",align_dashboard:"Aligner le tableau",align_dashboard_tip:"Rétablir la disposition par défaut du tableau de bord",selected:"Sélectionné",world:"Monde",vertical_legend:"Légende verticale",groups_in_scope:"peuples dans le périmètre",filter_by:"Filtrer par",remove_filter:"Retirer le filtre",groups:"peuples",expand:"Développer",collapse:"Replier",place:"Lieu",export_csv:"Exporter en CSV",detail:"Détail",detail_empty:"Sélectionnez un peuple pour voir le détail",heartbeat_zone:"zone du battement de cœur",top_countries:"Principaux pays",select_all:"Tout sélectionner",expand_table:"Développer le tableau",collapse_table:"Réduire le tableau — agrandir la carte",group:"peuple",deselect_all:"Tout désélectionner",results_live:"{count} sur {total} {unit} affichés",filters_live:"Filtres : {list}",search_live:"Recherche : {term}",adopted_by_churches:"Adoptés par des Églises",bp_title:"Vue d’ensemble — tableau de bord de recherche unifié",bp_subtitle:"Rechercher et filtrer les groupes de personnes du monde · les moins atteints en premier",export_selection:"Exporter cette sélection",map_loading:"Chargement de la carte de recherche…",no_match:"Aucun groupe de personnes ne correspond à « {q} ».",no_photo:"Aucune photo",only_selected:"Uniquement la sélection",only_selected_hint:"N’afficher que les groupes de personnes sélectionnés",people_committed:"Personnes engagées",people_praying:"Personnes qui prient",selected_first:"La sélection en premier",selected_first_hint:"Faire remonter les groupes de personnes sélectionnés, en conservant le tri des colonnes",n_shown:"{n} affichés",other:"Autres",wagfRegion:{africa:"Afrique",asia:"Asie",europe:"Europe","latin_america_&_caribbean":"Amérique latine",oceania:"Océanie",middle_east:"Moyen-Orient","north_america_&_non-spanish_caribbean":"Amérique du Nord et Caraïbes non hispanophones"},sort_by_column_hint:"Trier ce tableau par {column} — Maj+clic ajoute une deuxième colonne. Le tri ne s’applique qu’au tableau ; les cartes gardent leur propre ordre.",fs_exit_hint:"Quitter le plein écran (Échap) — retour à sept lignes",fs_open_hint:"Ouvrir ce tableau en plein écran",fs_exit:"Quitter le plein écran",fs_open:"Ouvrir le tableau en plein écran",export_selected_hint:"Exporter tous les champs — peuples sélectionnés : {n}",export_all_hint:"Exporter tous les champs — peuples : {n}",map_init_failed:"La carte n’a pas pu démarrer. Vérifiez le jeton d’accès et le conteneur de la carte.",show_filters:"Afficher les filtres",hide_filters:"Masquer les filtres — agrandir la carte",show_charts:"Afficher les graphiques",hide_charts:"Masquer les graphiques — agrandir la carte",export_copied:"copié dans le presse-papiers",export_done:"exporté",export_ready:"prêt",export_toast:"✓ {rows} lignes × {fields} champs {how}",export_failed:"✕ Échec de l’export",pray_for_group:"Prier pour ce peuple",more_information:"Plus d’informations",title:"Tableau de bord de recherche",gospel_pending:"Pas encore prêt : le chiffre des non atteints, la clé de la source de données et la forme de l’interface restent à décider."},"./locales/fr/detail.json":{labels:{country:"Pays :",population:"Population :",language:"Langue :",religion:"Religion :",languageFamily:"Famille de langues :",peopleCommitted:"Engagés à prier :"},messages:{noDescription:"Aucune description disponible."}},"./locales/fr/grid.json":{search:"Rechercher des peuples…",hide_filters:"Masquer les filtres",show_filters:"Afficher les filtres",total:"Total",showing:"Affichage",load_more:"Charger plus",full_profile:"Profil complet",wagf_region:"Région",wagf_block:"Bloc d'affinité",rop1:"Peuple",religion:"Religion",exact_filter:"Exact",clear_all:"Tout effacer",loading:"Chargement…",no_results:"Aucun peuple ne correspond à ce filtre.",type_to_search:"Tapez pour rechercher...",load_failed:"Les données n’ont pas pu être chargées. C’est un problème de connexion, pas votre filtre.",search_people_or_countries:"Rechercher des peuples ou des pays…",cards_per_row:"Cartes par ligne",cards_per_row_auto:"Automatique"},"./locales/fr/legend.json":{title:{adoption:"Progression de l'adoption",affinityBlocs:"Blocs d'affinité",doxaRegions:"Régions Doxa",engagement:"Progression de l'engagement",gospelResources:"Ressources de l'Évangile",languageFamilies:"Familles de langues",prayer:"Progression de la prière",upg100List:"Ma liste UPG 100",batchSelect:"Sélection multiple"},header:{collapsed:"Légende",peopleGroupFallback:"Groupe de personnes",default:"Légende"},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"},tabInfo:{upg100Region:"Région — trie les listes UPG-100 par zone du monde (Afrique, Inde, Moyen-Orient, Sourds, …). Les totaux sont les UUPG et la population additionnés sur toutes les listes qu’elle contient.",upg100Zone:"Listes UPG-100 — chacune est une liste de prière des groupes de peuples non atteints d’une zone, et c’est ce que la carte dessine et colore. Chaque liste s’imprime comme son propre livret.",upg100Group:"Groupe de peuples — les groupes non atteints au sein d’une liste, les plus grands besoins de prière en premier. Chaque point de la carte en est un.",family:"Famille linguistique — un ensemble de langues issues d’un ancêtre commun (p. ex. indo-européen, afro-asiatique).",language:"Langue — un système de communication employé par un peuple (p. ex. arabe, bengali, hindi).",dialect:"Dialecte/Variété — une forme régionale ou sociale d’une langue (p. ex. arabe soudanais ; langue des signes pakistanaise).",bloc:"Bloc d’affinité — le regroupement le plus large, selon la parenté culturelle, linguistique et géographique (p. ex. peuples malais, peuples d’Asie du Sud, Sourds, monde arabe).",cluster:"Grappe — un regroupement plus fin à l’intérieur d’un bloc (p. ex. Bornéo-Kalimantan parmi les peuples malais). Les lignes portent « (grappe) » pour les distinguer des peuples.",group:"Peuple — une identité ethnolinguistique en elle-même, indépendante du pays. Les lignes portent « (peuple) ». Un même peuple peut vivre dans de nombreux pays (les Sourds, par exemple, dans plus de cent).",pgic:"Peuple dans le pays — une ligne par peuple et par pays où il vit (p. ex. « Abai Sungai, Malaisie »). Les lignes portent « (peuple dans le pays) ».",region:"Région WAGF — la macro-région dont relève un pays (p. ex. Asie, Afrique). Chacune a sa couleur sur la carte.",block:"Bloc WAGF — le sous-ensemble à l’intérieur d’une région (p. ex. Asie du Sud-Est, Afrique de l’Ouest).",country:"Pays — les pays un à un, classés par population non atteinte au sein de leur bloc."},a11y:{expandRow:"Développer {label}",collapseRow:"Réduire {label}",clearSelection:"Effacer la sélection",goUp:"Remonter à {label}"},export:{poster:"Affiche",packet:"UPG 100",packetExplain:"Une liste de prière d’environ 50 à 100 peuples non atteints : une personne peut en porter une.",packetAria:"Niveau de détail du dossier de prière",packetFull:"Détail complet",packetLightweight:"Allégé"},noDataAtThisLevel:"Aucune donnée à ce niveau",exportButton:"Exporter",exportSelection:"Exporter la sélection",loadingRows:"Chargement de {label}…",loadingData:"Chargement des données…",showingTop:"Affichage des {n} premiers sur {m}",useGeocoderHint:"utilisez la recherche ci-dessus pour trouver les autres",noList:"Aucune liste chargée."},"./locales/fr/lists.json":{doxa:{label:"Projet 2000 : les peuples de DOXA",definition:"Les peuples que DOXA sert, tels que sa liste en direct les donne"},unreached:{label:"Projet 7000 : peuples non atteints",definition:"Priorité de perdition IMB 0–2 (non atteints frontières, pionniers ou en expansion : moins de 2 % d’évangéliques)"},frontier:{label:"Projet 4700 : peuples frontières",definition:"Priorité de perdition IMB 0 (non atteints frontières : 0,1 % d’évangéliques ou moins)"},"frontier-500k":{label:"Projet 700 : peuples frontières de 500 000 personnes ou plus",definition:"Priorité de perdition IMB 0 et une population d’au moins 500 000"},unengaged:{label:"Peuples non atteints et non engagés",definition:"Priorité de perdition IMB 0–2 et statut d’engagement : non engagé"}},"./locales/fr/mapui.json":{map:"Carte",marker:"Marqueur de carte",closePopup:"Fermer la fenêtre",zoomIn:"Zoom avant",zoomOut:"Zoom arrière",resetBearing:"Faites glisser pour faire pivoter la carte, cliquez pour revenir au nord",toggleAttribution:"Afficher/masquer l'attribution",mapFeedback:"Commentaires sur la carte",enterFullscreen:"Plein écran",exitFullscreen:"Quitter le plein écran",findMyLocation:"Trouver ma position",locationNotAvailable:"Position non disponible",enableGlobe:"Activer le globe",disableGlobe:"Désactiver le globe",ctrlScroll:"Utilisez Ctrl + molette pour zoomer sur la carte",cmdScroll:"Utilisez ⌘ + molette pour zoomer sur la carte",twoFingers:"Utilisez deux doigts pour déplacer la carte",mapboxHomepage:"Page d'accueil de Mapbox",maplibreLogo:"Logo MapLibre"},"./locales/fr/messages.json":{menuComingSoon:"Menu bientôt disponible",pinHint:{tapDot:"Touchez un point coloré — quelqu’un a encore besoin de prière"},upg100WallHeading:"Ma liste UPG 100 — Listes de prière et affiches",upg100WallTag:"Mobilisation pour la prière",upg100WallIntroA:"Comment nourririez-vous une foule de cinq mille personnes ? Jésus les a fait asseoir par groupes de cinquante et de cent, et l’impossible est devenu partageable (Luc 9.14). Nous avons fait de même avec les 2 106 peuples non atteints : 27 listes d’environ cinquante à cent. Chaque liste s’imprime en dossier de prière et en affiche, pour que 27 disciples, Églises ou responsables locaux en portent chacun une — en priant pour eux ",upg100WallIntroEmph:"par le nom de leur peuple",upg100WallIntroB:".",loadingNamed:"Chargement de {name}…",couldNotLoadNamed:"Impossible de charger {name}.",engineMissing:"Le moteur de carte {engine} ne s’est pas chargé.",packetFailed:"Échec du livret : {reason}",selectionPacketFailed:"Échec du livret de la sélection : {reason}",posterOneTerritory:"L’affiche imprime un territoire à la fois — {count} sélectionnés.",selectionPosterFailed:"Échec de l’affiche de la sélection : {reason}",mapUnavailable:"Carte indisponible",copied:"Copié !",copyFailed:"Échec de la copie — appuyez sur Ctrl/Cmd-C",engineNotLoaded:"moteur cartographique non chargé",engineNotLoadedDetail:"Le moteur cartographique {engine} ne s’est pas chargé. La liste et la légende ne sont pas affectées.",viewLoadFailed:"Impossible de charger cette vue.",retry:"Réessayer",noMapboxToken:"Aucun jeton Mapbox",noMapboxTokenDetail:"Aucun jeton Mapbox n’est configuré. La liste et la légende ne sont pas affectées.",loadingBoundaries:"Chargement des limites…",fetchingUupgs:"Récupération de {n} UUPG…",mapStatusCounts:"Surfaces : {polys} · zones : {zones}/{total} · repères : {pins}",tapTerritoriesHint:"Touchez des territoires sur la carte ou des lignes de la légende pour les ajouter · touchez à nouveau pour les retirer",territoriesSelected:"Territoires : {count}",bandInRange:"✓ tranche 50–100",bandOutOfRange:"tranche 50–100",mapContextLost:"Cette carte a été déchargée pour libérer de la mémoire graphique.",nOfTotal:"{n} sur {total}",mapInitFailed:"Échec de l’initialisation de la carte — vérifiez le jeton et le conteneur",countryWallIntroA:"Une affiche par pays, prête à prier, à imprimer et à accrocher au mur — en priant pour eux ",countryWallIntroB:". Les régions et les pays sont classés selon le nombre de peuples non engagés qu’ils comptent, pour que le plus grand besoin vienne en premier.",countryWallSoon:"Bientôt : une liste de prière sera générée pour chaque pays, nommant chaque peuple non atteint qui s’y trouve.",countryWallHeading:"Affiches par pays — Listes de prière et affiches",largerScreenNotice:"Cette carte expérimentale est conçue pour les grands écrans. Elle s’ouvre ici, mais certaines parties peuvent mal s’afficher ou mal fonctionner sur un téléphone.",desktopOnlyNotice:"{label} ne fonctionne que sur ordinateur : ouvrez cette page sur un ordinateur pour l’utiliser.",noticeDismiss:"Fermer",countryPosterTooMany:"Trop de peuples pour tenir lisiblement sur une seule affiche — une solution est en préparation."},"./locales/fr/pins.json":{approximate:"Le point indique où vit ce peuple, pas une ville ni une frontière.",sharedPoint:"Il se trouve au même point que {names} — {n} groupes partagent cette coordonnée : la position indique la région, pas où se trouve chaque groupe."},"./locales/fr/popup.json":{country:{wagfRegion:"Région WAGF",wagfBlock:"Bloc WAGF",country:"Pays",uupgCount:"Nombre d'UUPG"}},"./locales/fr/religion.json":{family:{Christianity:"Christianisme",Islam:"Islam",Hinduism:"Hindouisme",Buddhism:"Bouddhisme",Ethnoreligion:"Ethnoreligion",Judaism:"Judaïsme",Sikhism:"Sikhisme",Unaffiliated:"Sans appartenance",Other:"Autre",Unknown:"Inconnue"}},"./locales/fr/search.json":{placeholder:"Peuple, lieu, langue, religion",placeholderNoPlaces:"Peuple, langue, religion (la recherche de lieux requiert un jeton Mapbox)",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"},sections:{within:"Dans {selection}",allData:"Toutes les données DOXA"},upg100Placeholder:"Rechercher un peuple, une liste UPG-100 ou une région…",tabPlaceholder:{languageFamilies:"Rechercher une famille linguistique, une langue, un dialecte/une variété",affinityBlocks:"Rechercher un bloc d’affinité, une grappe, un peuple",regions:"Rechercher une région, un pays, un peuple",religion:"Rechercher une religion, un peuple"},placeholderRegions:"Rechercher une région, un pays, un peuple"},"./locales/fr/share.json":{embed_link:"Lien d'intégration",add_to_website:"Ajouter à votre site web",embed_paste_hint:"Collez ce code dans votre créateur de site web (WordPress, Squarespace, Wix ou tout site acceptant les widgets HTML)."},"./locales/fr/tabs.json":{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",upg100Region:"Région",upg100Zone:"Listes UPG-100",upg100Group:"Groupe de peuples",selectView:"Choisir la vue",views:"Vues",prayerResources:"Ressources de prière",map:"Carte",countryPosters:"Affiches par pays"},"./locales/fr/wall.json":{title:"Mur des peuples",toPortrait:"📱 Passer en portrait",toLandscape:"🖼️ Passer en paysage",currentLandscape:"Actuel : paysage (4 × 3 pieds)",currentPortrait:"Actuel : portrait (3 × 4 pieds)",resetZoom:"Réinitialiser le zoom",groupsLoaded:"Chargés : {n}",loading:"Chargement des peuples…",offlineTitle:"Les données de prière en direct sont inaccessibles.",offlineBody:"Le mur lit ses peuples sur pray.doxa.life. Vous êtes peut-être hors ligne ou, sur un serveur de développement local, l’API n’autorise pas l’adresse de cette page.",tryAgain:"Réessayer",prayedCount:"Ont prié : {n}",viewPrayers:"Voir les prières",prayerTools:"Outils de prière",close:"Fermer",unknown:"Inconnu",unknownGroup:"Peuple inconnu",status:"Statut :",unengaged:"non atteint",prayingNow:"Priez-vous en ce moment pour ce peuple ?",yesPraying:"Oui, je prie",thankYou:"Merci de prier !",sharePrayer:"Partagez votre prière (facultatif)",prayerPlaceholder:"Écrivez votre prière ici…",sendPrayer:"Envoyer la prière",peopleGroup:"Peuple",chatsTitle:"Discussions du peuple",id:"ID :",location:"Lieu :",na:"N/D",havePrayed:"Ont prié : {n}",youPrayed:"✓ Vous avez prié !",prayForGroup:"🙏 Prier pour ce peuple",prayersComments:"Prières et commentaires",noComments:"Aucune prière ni commentaire pour l’instant. Soyez le premier !",commentPlaceholder:"Partagez votre prière ou vos pensées…",postComment:"Publier le commentaire",noPeopleId:"Ce peuple n’a pas de PeopleID3",statusUnknown:"Statut inconnu",printPoster:"🖨️ Imprimer l’affiche HD",printPreparing:"Préparation de l’affiche : {n} photos sur {total}",printMissing:"Photos qui n’ont pas pu être chargées : {n}. Elles s’impriment en cases grises.",blessBanner:"Bénissez les nations au nom de Jésus",modeLabel:"Mode du mur",modeBless:"Bénir",modeSocial:"Social",shareSoon:"Le partage arrive bientôt.",drawLibError:"Le mur n’a pas pu charger sa bibliothèque de dessin :",posterSize:"Taille de l’affiche",posterSubtitle:"DOXA (δόξα) signifie gloire. Un mouvement mondial de prière bénit ces {n} groupes de peuples au nom de Jésus. Pour en savoir plus et nous rejoindre : pray.doxa.life.",glueHere:"collez ici la feuille du dessus",themesLabel:"Thèmes de prière",oldTestament:"Ancien Testament",newTestament:"Nouveau Testament",themeTreasure:"Trésor",themeMountain:"Montagne",themeSea:"Mer",posterClosing:"Jésus-Christ est la pierre angulaire, et nous sommes des pierres vivantes. Ces peuples sont la récompense de ses souffrances. Prenons notre appel sacerdotal : bénissons-les en son nom et rejoignons la famille mondiale dans la prière.",journeyCalled:"L’appel",journeyPromised:"La promesse",journeyRedeemed:"Rachetés",journeyCornerstone:"La pierre angulaire",journeyChildren:"Enfants d’Abraham",journeyPriesthood:"Un sacerdoce royal",journeySent:"Envoyés vers les perdus",peopleGroupCount:"{n} peuple | {n} de peuples | {n} peuples",listCount:"{n} liste | {n} de listes | {n} listes",stockCard:"Carte",stockPostcard:"Carte postale",stockLandscape:"paysage",hud:{kindPoster:"Affiche",kindList:"Liste",kindPacket:"Dossier de prière",fetchingPoster:"récupération de l’affiche",generatingPoster:"génération de l’affiche",openingPrint:"ouverture de la boîte d’impression",printOpened:"boîte d’impression ouverte",saving:"enregistrement",fetchingRecords:"récupération des données",fetchingGroups:"récupération des peuples",layingOutRows:"mise en page de {n} ligne | mise en page de {n} de lignes | mise en page de {n} lignes",layingOutCards:"mise en page de {n} carte | mise en page de {n} de cartes | mise en page de {n} cartes",printingGroups:"impression de {n} peuple | impression de {n} de peuples | impression de {n} peuples",kindCardDeck:"Jeu de cartes",kindPrayerList:"Liste de prière",saved:"enregistré",noRecords:"cette liste ne contient aucun peuple à imprimer",noPoster:"aucune affiche n’est disponible pour cette liste",posterNotFound:"affiche introuvable ({status})",posterBlank:"l’affiche générée est sortie vide",noApi:"aucun service de peuples n’est configuré",fetchFailed:"impossible de charger les peuples ({status})"},posterAlt:"{label} — affiche de prière",posterAltAction:"{label} — affiche de prière (cliquez pour prévisualiser et imprimer)"},"./locales/hi/allPeopleGroups.json":{title:"सभी जनसमूह",locations:"{n} स्थान (समूह × देश)",doxa:"DOXA जनसमूह",frontier:"सीमांत — कुछ शुरू नहीं हुआ",unreached:"अप्रचारित — काम शुरू हो रहा है",reached:"प्रचारित — कलीसिया मौजूद है",hint:"सभी देखने के लिए पंक्ति पर क्लिक करें · सब कुछ देखने के लिए फिर क्लिक करें",loading:"सभी जनसमूह लोड हो रहे हैं…",loadError:"मानचित्र लोड नहीं हो सका।",pray:"उनके लिए प्रार्थना करें →",population:"जनसंख्या {n}"},"./locales/hi/aria.json":{backToLegend:"लेजेंड पर वापस जाएं",closeDetailView:"विवरण दृश्य बंद करें",collapseLegend:"लेजेंड संक्षिप्त करें",expandLegend:"लेजेंड विस्तृत करें",toggleLegend:"लेजेंड दिखाएँ या छिपाएँ",searchPeopleGroups:"जनसमूह खोजें",resetAllFilters:"सभी फ़िल्टर और खोज रीसेट करें",selectAllRows:"सभी पंक्तियाँ चुनें",deselectAllRows:"सभी पंक्तियाँ अचयनित करें",rowDetail:"पंक्ति विवरण",dismissHint:"संकेत हटाएँ",resizeFiltersRail:"फ़िल्टर पट्टी का आकार बदलें",resizeFiltersRailHint:"फ़िल्टर पट्टी का आकार बदलने के लिए खींचें या तीर कुंजियों का उपयोग करें",resizeChartsRail:"चार्ट पट्टी का आकार बदलें",resizeChartsRailHint:"चार्ट पट्टी का आकार बदलने के लिए खींचें या तीर कुंजियों का उपयोग करें",resizeMapTableSplit:"मानचित्र/तालिका विभाजन का आकार बदलें",resizeMapTableSplitHint:"मानचित्र/तालिका विभाजन का आकार बदलने के लिए खींचें या तीर कुंजियों का उपयोग करें",resizeTable:"तालिका की ऊँचाई बदलें",resizeTableHint:"तालिका का आकार बदलने के लिए खींचें या तीर कुंजियों का उपयोग करें",resizeDashboardHeight:"डैशबोर्ड की ऊँचाई बदलें",resizeDashboardHeightHint:"डैशबोर्ड की ऊँचाई बदलने के लिए खींचें या तीर कुंजियों का उपयोग करें",removeFilter:"फ़िल्टर {name} हटाएँ",closeDetail:"विवरण बंद करें",filterBreadcrumb:"फ़िल्टर पथ",railViews:"पट्टी के दृश्य",upgCountLegend:"UPG गणना की कुंजी",donutChart:"डोनट चार्ट: {title}"},"./locales/hi/buttons.json":{prayForThem:"उनके लिए प्रार्थना करें",adoptThem:"उन्हें गोद लें",moreInfo:"अधिक जानकारी",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",switchToLightMode:"लाइट मोड पर जाएं",switchToDarkMode:"डार्क मोड पर जाएं",resetView:"दृश्य रीसेट करें",toggleFullscreen:"फ़ुलस्क्रीन टॉगल करें",aboutThisMap:"इस मानचित्र के बारे में",closeMenu:"मेनू बंद करें",reloadMap:"मानचित्र पुनः लोड करें",showClusters:"क्लस्टर दिखाएं",clusterSettings:"क्लस्टर सेटिंग्स",startAutoFly:"ऑटो फ्लाई शुरू करें",stopFlight:"उड़ान रोकें",speedLabel:"गति:",speedOption:{slow:"धीमी",normal:"सामान्य",fast:"तेज़"},shareEmbed:"साझा करें और एम्बेड करें",posterMap:"पोस्टर मानचित्र",prayerList:"प्रार्थना सूची",cardDeck:"कार्ड सेट",printOptions:"छपाई विकल्प",showOnMap:"मानचित्र पर देखें",close:"बंद करें",showOnMapAria:"{label} को मानचित्र पर देखें",cardStockAria:"प्रार्थना कार्ड का आकार",previewPrintPoster:"{label} पोस्टर देखें और प्रिंट करें",share:"साझा करें",shareSteps:["इस मानचित्र को अपनी वेबसाइट पर लगाएँ","अपने शहर की वेबसाइटों की सूची बनाएँ","उन्हें भी इसे लगाना सिखाएँ","उन्हें सिखाएँ कि वे औरों को लगाना सिखाएँ","यीशु के लिए हर जगह मानचित्र बढ़ाएँ!"],clearSelection:"चयन हटाएँ",noOptions:"कोई विकल्प नहीं मिला",renderingLocal:"आपके ब्राउज़र में प्रिंट-गुणवत्ता वाली छवि बन रही है — कुछ भी अपलोड नहीं किया जाता।",postersPerRow:"प्रति पंक्ति पोस्टर",packetVariantAria:"प्रार्थना पैकेट विवरण",packetFull:"पूर्ण विवरण",packetLightweight:"संक्षिप्त",working:"कार्य जारी…",postersPerRowAuto:"स्वतः"},"./locales/hi/controls.json":{research_controls:"शोध नियंत्रण",clustering:"क्लस्टरिंग",filters:"फ़िल्टर",pin_dim:"पिन धुंधलापन",export_poster:"पोस्टर निर्यात करें…",reload_data:"डेटा फिर से लोड करें",off:"बंद",native:"नेटिव",mst:"MST",network:"नेटवर्क",off_desc:"हर पिन अलग-अलग दिखाएँ",native_desc:"Mapbox वृत्त क्लस्टर (सबसे तेज़)",mst_desc:"न्यूनतम स्पैनिंग ट्री आधारित जाल",network_desc:"निकटतम पड़ोसी को जोड़ने वाली रेखाएँ",search_languages:"भाषाएँ खोजें…",search_religions:"धर्म खोजें…",reset_all:"सब रीसेट करें",no_languages:"अभी कोई भाषा लोड नहीं हुई",no_religions:"अभी कोई धर्म लोड नहीं हुआ",unadopted:"अ-गोद लिया",min:"न्यून",max:"अधि",adopted:"गोद लिया गया",adoption:"गोद लेना",engaged:"संपर्कित",engagement:"सहभागिता",unengaged:"सहभागिता चाहिए",language:"भाषा",religion:"धर्म",population:"जनसंख्या",any:"कोई भी",active_count:"{n} सक्रिय",prayer_status:"प्रार्थना स्थिति",close:"बंद करें",clear:"साफ़ करें",map_controls:"मानचित्र नियंत्रण",clusters:"क्लस्टर",mst_full_name:"न्यूनतम विस्तारित वृक्ष",mst_hint:"केवल उस समूह को क्लस्टर करने के लिए लेजेंड की पंक्ति पर क्लिक करें"},"./locales/hi/dashboard.json":{bloc:"समानता समूह",gospel_access:"सुसमाचार पहुँच",people:"जनसमूह",people_name:"जनसमूह (नाम)",praying:"प्रार्थना कर रहे",religion_family:"धर्म परिवार",search_language:"भाषा खोजें",search_people:"जनसमूह खोजें",search_place:"स्थान खोजें",search_religion:"धर्म खोजें",upgs_in_scope:"दायरे में UPG",countries_touched:"छुए गए देश",unreached:"अनपहुँचे",sum_population:"Σ जनसंख्या",sum_praying:"Σ प्रार्थना",charts:"चार्ट",table:"तालिका",cluster:"क्लस्टर",country:"देश",engagement:"सहभागिता",language:"भाषा",language_family:"भाषा परिवार",people_group:"जनसमूह",population:"जनसंख्या",prayer:"प्रार्थना",region:"क्षेत्र",religion:"धर्म",status:"स्थिति",adopted:"गोद लिया गया",filters:"फ़िल्टर",gospel_resources:"सुसमाचार संसाधन",map:"नक्शा",search_placeholder:"जनसमूह, स्थान, भाषा, धर्म खोजें…",any:"कोई भी",active_count:"{n} सक्रिय",prayer_status:"प्रार्थना स्थिति",map_controls:"मानचित्र नियंत्रण",close:"बंद करें",clear:"साफ़ करें",dashboard_title:"बिग पिक्चर शोध डैशबोर्ड",align_dashboard:"डैशबोर्ड संरेखित करें",align_dashboard_tip:"डैशबोर्ड लेआउट को डिफ़ॉल्ट संरेखण पर लौटाएँ",selected:"चयनित",world:"विश्व",vertical_legend:"लंबवत लेजेंड",groups_in_scope:"दायरे में जनसमूह",filter_by:"इससे फ़िल्टर करें",remove_filter:"फ़िल्टर हटाएँ",groups:"जनसमूह",expand:"विस्तार करें",collapse:"संक्षिप्त करें",place:"स्थान",export_csv:"CSV निर्यात करें",detail:"विवरण",detail_empty:"विवरण देखने के लिए एक जनसमूह चुनें",heartbeat_zone:"हृदयगति क्षेत्र",top_countries:"शीर्ष देश",select_all:"सभी चुनें",expand_table:"तालिका विस्तृत करें",collapse_table:"तालिका संक्षिप्त करें — मानचित्र बड़ा करें",group:"जनसमूह",deselect_all:"सभी अचयनित करें",results_live:"{total} में से {count} {unit} दिखाए गए",filters_live:"फ़िल्टर: {list}",search_live:"खोज: {term}",adopted_by_churches:"कलीसियाओं द्वारा अपनाए गए",bp_title:"बड़ी तस्वीर — एकीकृत शोध डैशबोर्ड",bp_subtitle:"दुनिया के जनसमूहों को खोजें और छाँटें · सबसे कम पहुँच वाले पहले",export_selection:"यह चयन निर्यात करें",map_loading:"शोध मानचित्र लोड हो रहा है…",no_match:"“{q}” से मेल खाने वाला कोई जनसमूह नहीं है।",no_photo:"कोई फ़ोटो नहीं",only_selected:"केवल चयनित",only_selected_hint:"केवल चयनित जनसमूह दिखाएँ",people_committed:"प्रतिबद्ध लोग",people_praying:"प्रार्थना करने वाले लोग",selected_first:"चयनित पहले",selected_first_hint:"चयनित जनसमूहों को ऊपर लाएँ, आपका कॉलम क्रम बनाए रखते हुए",n_shown:"{n} दिखाए गए",other:"अन्य",wagfRegion:{africa:"अफ़्रीका",asia:"एशिया",europe:"यूरोप","latin_america_&_caribbean":"लैटिन अमेरिका",oceania:"ओशिआनिया",middle_east:"मध्य पूर्व","north_america_&_non-spanish_caribbean":"उत्तरी अमेरिका और गैर-स्पेनिश कैरिबियन"},sort_by_column_hint:"इस तालिका को {column} के अनुसार क्रमबद्ध करें — Shift-क्लिक से दूसरा कॉलम जुड़ता है। क्रमबद्ध करने से केवल तालिका का क्रम बदलता है; कार्ड अपना क्रम बनाए रखते हैं।",fs_exit_hint:"पूर्ण स्क्रीन से बाहर निकलें (Esc) — सात पंक्तियों पर वापस",fs_open_hint:"इस तालिका को पूर्ण स्क्रीन में खोलें",fs_exit:"पूर्ण स्क्रीन से बाहर निकलें",fs_open:"तालिका को पूर्ण स्क्रीन में खोलें",export_selected_hint:"सभी फ़ील्ड निर्यात करें — चयनित जनसमूह: {n}",export_all_hint:"सभी फ़ील्ड निर्यात करें — जनसमूह: {n}",map_init_failed:"मानचित्र आरंभ नहीं हो सका। एक्सेस टोकन और मानचित्र कंटेनर जाँचें।",show_filters:"फ़िल्टर दिखाएँ",hide_filters:"फ़िल्टर छिपाएँ — मानचित्र बड़ा करें",show_charts:"चार्ट दिखाएँ",hide_charts:"चार्ट छिपाएँ — मानचित्र बड़ा करें",export_copied:"क्लिपबोर्ड पर कॉपी हुआ",export_done:"निर्यात हुआ",export_ready:"तैयार",export_toast:"✓ {rows} पंक्तियाँ × {fields} क्षेत्र {how}",export_failed:"✕ निर्यात विफल",pray_for_group:"इस जनसमूह के लिए प्रार्थना करें",more_information:"अधिक जानकारी",title:"शोध डैशबोर्ड",gospel_pending:"अभी तैयार नहीं: अनपहुँचे लोगों का आँकड़ा, डेटा स्रोत की कुंजी और अंतरफलक का रूप अभी तय हो रहे हैं।"},"./locales/hi/detail.json":{labels:{country:"देश:",population:"जनसंख्या:",language:"भाषा:",religion:"धर्म:",languageFamily:"भाषा परिवार:",peopleCommitted:"प्रार्थना के लिए प्रतिबद्ध:"},messages:{noDescription:"कोई विवरण उपलब्ध नहीं है।"}},"./locales/hi/grid.json":{search:"जनसमूह खोजें…",hide_filters:"फ़िल्टर छिपाएँ",show_filters:"फ़िल्टर दिखाएँ",total:"कुल",showing:"दिखा रहे हैं",load_more:"और देखें",full_profile:"पूरी प्रोफ़ाइल",wagf_region:"क्षेत्र",wagf_block:"समानता समूह",rop1:"जनसमूह",religion:"धर्म",exact_filter:"सटीक",clear_all:"सब हटाएँ",loading:"लोड हो रहा है…",no_results:"इस फ़िल्टर से कोई जनसमूह मेल नहीं खाता।",type_to_search:"खोजने के लिए लिखें...",load_failed:"जनसमूह डेटा लोड नहीं हो सका। यह कनेक्शन की समस्या है, आपके फ़िल्टर की नहीं।",search_people_or_countries:"जनसमूह या देश खोजें…",cards_per_row:"प्रति पंक्ति कार्ड",cards_per_row_auto:"स्वचालित"},"./locales/hi/legend.json":{title:{adoption:"गोद लेने की प्रगति",affinityBlocs:"समानता समूह",doxaRegions:"Doxa क्षेत्र",engagement:"सहभागिता प्रगति",gospelResources:"सुसमाचार संसाधन",languageFamilies:"भाषा परिवार",prayer:"प्रार्थना प्रगति",upg100List:"मेरी UPG 100 सूची",batchSelect:"एक साथ चुनें"},header:{collapsed:"किंवदंती",peopleGroupFallback:"जनजाति समूह",default:"सूचकांक"},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:"जनसंख्या",name:"नाम"},footer:{total:"कुल"},sortByUpgs:"UUPG के अनुसार क्रमबद्ध करें",sortByPop:"जनसंख्या के अनुसार क्रमबद्ध करें",colLabel:{religion:"UUPG धर्म",prayer:"प्रार्थना स्थिति",engagement:"सहभागिता स्थिति",adoption:"गोद लेने की स्थिति",status:"स्थिति"},titleBar:{legend:"सूचकांक",peopleGroups:"जनसमूह",wagfRegions:"WAGF क्षेत्र",languages:"भाषाएँ"},tabInfo:{upg100Region:"क्षेत्र — UPG-100 सूचियों को विश्व क्षेत्र के अनुसार क्रमित करता है (अफ़्रीका, भारत, मध्य पूर्व, बधिर, …)। संख्याएँ उसके नीचे की हर सूची के UUPG और जनसंख्या का योग हैं।",upg100Zone:"UPG-100 सूचियाँ — हर एक किसी क्षेत्र के अनपहुँचे जनसमूहों की प्रार्थना सूची है, और यही मानचित्र बनाता और रंगता है। हर सूची अपने अलग पैकेट के रूप में छपती है।",upg100Group:"जनसमूह — किसी सूची के भीतर के अलग-अलग अनपहुँचे समूह, सबसे बड़ी प्रार्थना आवश्यकता पहले। मानचित्र का हर बिंदु इनमें से एक है।",family:"भाषा परिवार — एक साझा पूर्वज से निकली भाषाओं का समूह (जैसे भारोपीय, अफ़्रो-एशियाई)।",language:"भाषा — किसी जनसमूह द्वारा प्रयुक्त संप्रेषण की प्रणाली (जैसे अरबी, बांग्ला, हिन्दी)।",dialect:"बोली/रूप — किसी भाषा का क्षेत्रीय या सामाजिक रूप (जैसे सूडानी अरबी; पाकिस्तानी सांकेतिक भाषा)।",bloc:"समानता समूह — सबसे व्यापक वर्गीकरण, सांस्कृतिक, भाषाई और भौगोलिक निकटता के आधार पर (जैसे मलय जन, दक्षिण एशियाई जन, बधिर, अरब जगत)।",cluster:"क्लस्टर — समूह के भीतर अधिक सूक्ष्म वर्गीकरण (जैसे मलय जन के भीतर बोर्नियो-कालीमंतान)। पंक्तियों पर «(क्लस्टर)» अंकित है, ताकि उन्हें जनसमूहों से अलग पहचाना जा सके।",group:"जनसमूह — देश से स्वतंत्र, अपने आप में एक नृजातीय-भाषाई पहचान। पंक्तियों पर «(जनसमूह)» अंकित है। एक ही जनसमूह कई देशों में रह सकता है (जैसे बधिर, सौ से अधिक देशों में)।",pgic:"देश में जनसमूह — प्रत्येक जनसमूह के लिए, वह जिस-जिस देश में रहता है, एक पंक्ति (जैसे «अबाई सुंगाई, मलेशिया»)। पंक्तियों पर «(देश में जनसमूह)» अंकित है।",region:"WAGF क्षेत्र — वह वृहत् क्षेत्र जिससे कोई देश संबंधित है (जैसे एशिया, अफ़्रीका)। मानचित्र पर हर एक का अपना रंग है।",block:"WAGF ब्लॉक — क्षेत्र के भीतर का उप-वर्ग (जैसे दक्षिण-पूर्व एशिया, पश्चिम अफ़्रीका)।",country:"देश — अलग-अलग देश, अपने ब्लॉक के भीतर अनछुई जनसंख्या के क्रम में।"},a11y:{expandRow:"{label} का विस्तार करें",collapseRow:"{label} को छोटा करें",clearSelection:"चयन हटाएँ",goUp:"ऊपर जाएँ: {label}"},export:{poster:"पोस्टर",packet:"UPG 100",packetExplain:"लगभग 50 से 100 अनपहुँचे जनसमूहों की एक प्रार्थना सूची — एक व्यक्ति एक ले सकता है।",packetAria:"प्रार्थना पैकेट विवरण",packetFull:"पूर्ण विवरण",packetLightweight:"संक्षिप्त"},noDataAtThisLevel:"इस स्तर पर कोई डेटा नहीं",exportButton:"निर्यात",exportSelection:"चयन निर्यात करें",loadingRows:"{label} लोड हो रहे हैं…",loadingData:"डेटा लोड हो रहा है…",showingTop:"{m} में से शीर्ष {n} दिखाए जा रहे हैं",useGeocoderHint:"बाकी खोजने के लिए ऊपर दिए गए खोज बॉक्स का उपयोग करें",noList:"कोई सूची लोड नहीं हुई।"},"./locales/hi/lists.json":{doxa:{label:"प्रोजेक्ट 2000: DOXA के जनसमूह",definition:"वे जनसमूह जिनकी DOXA सेवा करता है, जैसे उसकी लाइव सूची उन्हें देती है"},unreached:{label:"प्रोजेक्ट 7000: अपहुँचे जनसमूह",definition:"IMB लॉस्टनेस प्राथमिकता 0–2 (फ़्रंटियर, पायनियर या एक्सपैंडिंग अपहुँचे: 2% से कम इवेंजेलिकल)"},frontier:{label:"प्रोजेक्ट 4700: फ़्रंटियर जनसमूह",definition:"IMB लॉस्टनेस प्राथमिकता 0 (फ़्रंटियर अपहुँचे: 0.1% या उससे कम इवेंजेलिकल)"},"frontier-500k":{label:"प्रोजेक्ट 700: 5,00,000 या उससे अधिक के फ़्रंटियर जनसमूह",definition:"IMB लॉस्टनेस प्राथमिकता 0 और कम से कम 5,00,000 की जनसंख्या"},unengaged:{label:"अपहुँचे और असंलग्न जनसमूह",definition:"IMB लॉस्टनेस प्राथमिकता 0–2 और संलग्नता स्थिति: असंलग्न"}},"./locales/hi/mapui.json":{map:"मानचित्र",marker:"मानचित्र चिह्न",closePopup:"पॉपअप बंद करें",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",resetBearing:"मानचित्र घुमाने के लिए खींचें, उत्तर पर लौटने के लिए क्लिक करें",toggleAttribution:"श्रेय दिखाएँ/छिपाएँ",mapFeedback:"मानचित्र पर प्रतिक्रिया",enterFullscreen:"पूर्ण स्क्रीन",exitFullscreen:"पूर्ण स्क्रीन से बाहर निकलें",findMyLocation:"मेरा स्थान खोजें",locationNotAvailable:"स्थान उपलब्ध नहीं",enableGlobe:"ग्लोब चालू करें",disableGlobe:"ग्लोब बंद करें",ctrlScroll:"मानचित्र ज़ूम करने के लिए Ctrl + स्क्रॉल करें",cmdScroll:"मानचित्र ज़ूम करने के लिए ⌘ + स्क्रॉल करें",twoFingers:"मानचित्र हिलाने के लिए दो उँगलियों का उपयोग करें",mapboxHomepage:"Mapbox मुखपृष्ठ",maplibreLogo:"MapLibre लोगो"},"./locales/hi/messages.json":{menuComingSoon:"मेनू शीघ्र आ रहा है",pinHint:{tapDot:"किसी रंगीन बिंदु पर टैप करें — किसी को अभी भी प्रार्थना की आवश्यकता है"},upg100WallHeading:"मेरी UPG 100 सूची — प्रार्थना सूचियाँ और पोस्टर",upg100WallTag:"प्रार्थना संग्रहण",upg100WallIntroA:"पाँच हज़ार की भीड़ को आप कैसे खिलाते? यीशु ने उन्हें पचास-पचास और सौ-सौ के समूहों में बिठाया, और असंभव बाँटने योग्य हो गया (लूका 9:14). हमने 2,106 अनपहुँचे जनसमूहों के साथ वही किया: लगभग पचास से सौ तक की 27 सूचियाँ. हर सूची प्रार्थना पैकेट और पोस्टर के रूप में छपती है, ताकि 27 शिष्य, कलीसियाएँ या स्थानीय अगुवे एक-एक ले सकें — उनके लिए प्रार्थना करते हुए ",upg100WallIntroEmph:"उनके जन के नाम से",upg100WallIntroB:".",loadingNamed:"{name} लोड हो रहा है…",couldNotLoadNamed:"{name} लोड नहीं हो सका।",engineMissing:"{engine} नक्शा इंजन लोड नहीं हुआ।",packetFailed:"पुस्तिका विफल: {reason}",selectionPacketFailed:"चयन की पुस्तिका विफल: {reason}",posterOneTerritory:"पोस्टर एक समय में एक क्षेत्र छापता है — {count} चयनित।",selectionPosterFailed:"चयन का पोस्टर विफल: {reason}",mapUnavailable:"मानचित्र अनुपलब्ध",copied:"कॉपी हो गया!",copyFailed:"कॉपी विफल — Ctrl/Cmd-C दबाएँ",engineNotLoaded:"मानचित्र इंजन लोड नहीं हुआ",engineNotLoadedDetail:"{engine} मानचित्र इंजन लोड नहीं हुआ। सूची और लेजेंड अप्रभावित हैं।",viewLoadFailed:"यह दृश्य लोड नहीं हो सका।",retry:"फिर से कोशिश करें",noMapboxToken:"कोई Mapbox टोकन नहीं",noMapboxTokenDetail:"कोई Mapbox टोकन कॉन्फ़िगर नहीं है। सूची और लेजेंड पर कोई असर नहीं है।",loadingBoundaries:"सीमाएँ लोड हो रही हैं…",fetchingUupgs:"{n} UUPG लाए जा रहे हैं…",mapStatusCounts:"क्षेत्र: {polys} · ज़ोन: {zones}/{total} · पिन: {pins}",tapTerritoriesHint:"जोड़ने के लिए मानचित्र पर क्षेत्रों या लेजेंड की पंक्तियों पर टैप करें · हटाने के लिए फिर से टैप करें",territoriesSelected:"क्षेत्र: {count}",bandInRange:"✓ 50–100 दायरा",bandOutOfRange:"50–100 दायरा",mapContextLost:"ग्राफ़िक्स मेमोरी खाली करने के लिए यह मानचित्र अनलोड कर दिया गया।",nOfTotal:"{total} में से {n}",mapInitFailed:"मानचित्र आरंभ नहीं हो सका — टोकन और कंटेनर जाँचें",countryWallIntroA:"हर देश के लिए एक पोस्टर — प्रार्थना करने, छापने और दीवार पर लगाने के लिए तैयार, और उनके लिए प्रार्थना करते हुए ",countryWallIntroB:". क्षेत्र और देश इस क्रम में हैं कि उनमें कितने अनपहुँचे जनसमूह हैं, ताकि सबसे बड़ी ज़रूरत पहले आए।",countryWallSoon:"जल्द ही: हर देश के लिए एक प्रार्थना सूची बनाई जाएगी, जिसमें उसके हर अनपहुँचे जनसमूह का नाम होगा।",countryWallHeading:"देश पोस्टर — प्रार्थना सूचियाँ और पोस्टर",largerScreenNotice:"यह प्रायोगिक नक्शा बड़ी स्क्रीन के लिए बना है। यह यहाँ खुलता है, पर फ़ोन पर इसके कुछ हिस्से ठीक से न दिखें या न चलें।",desktopOnlyNotice:"{label} केवल डेस्कटॉप पर चलता है — इसे इस्तेमाल करने के लिए यह पेज कंप्यूटर पर खोलें।",noticeDismiss:"बंद करें",countryPosterTooMany:"एक पोस्टर पर साफ़-साफ़ आने के लिए जनसमूह बहुत अधिक हैं — समाधान पर काम चल रहा है।"},"./locales/hi/pins.json":{approximate:"बिंदु दिखाता है कि यह लोग कहाँ पाए जाते हैं, कोई शहर या सीमा नहीं।",sharedPoint:"यह {names} के साथ एक ही बिंदु पर है — {n} समूह यह निर्देशांक साझा करते हैं, इसलिए स्थान क्षेत्र बताता है, यह नहीं कि कौन-सा समूह कहाँ है।"},"./locales/hi/popup.json":{country:{wagfRegion:"WAGF क्षेत्र",wagfBlock:"WAGF ब्लॉक",country:"देश",uupgCount:"UUPG संख्या"}},"./locales/hi/religion.json":{family:{Christianity:"ईसाई धर्म",Islam:"इस्लाम",Hinduism:"हिंदू धर्म",Buddhism:"बौद्ध धर्म",Ethnoreligion:"जातीय धर्म",Judaism:"यहूदी धर्म",Sikhism:"सिख धर्म",Unaffiliated:"असंबद्ध",Other:"अन्य",Unknown:"अज्ञात"}},"./locales/hi/search.json":{placeholder:"लोग, स्थान, भाषा, धर्म",placeholderNoPlaces:"लोग, भाषा, धर्म (स्थान खोज के लिए Mapbox टोकन चाहिए)",labels:{people:"लोग:",place:"स्थान:",language:"भाषा:",religion:"धर्म:"},sections:{within:"{selection} के भीतर",allData:"सभी DOXA डेटा"},kinds:{people:"जनसमूह + देश",peopleGroup:"जनसमूह",bloc:"समानता समूह",cluster:"जनसमूह क्लस्टर",country:"देश",region:"क्षेत्र",family:"भाषा परिवार",languageKind:"भाषा",dialect:"बोली",religionKind:"धर्म"},upg100Placeholder:"जनसमूह, UPG-100 सूची या क्षेत्र खोजें…",tabPlaceholder:{languageFamilies:"भाषा परिवार, भाषा, बोली/रूप खोजें",affinityBlocks:"समानता समूह, क्लस्टर, जनसमूह खोजें",regions:"क्षेत्र, देश, जनसमूह खोजें",religion:"धर्म, जनसमूह खोजें"},placeholderRegions:"क्षेत्र, देश या जनसमूह खोजें"},"./locales/hi/share.json":{embed_link:"एम्बेड लिंक",add_to_website:"अपनी वेबसाइट में जोड़ें",embed_paste_hint:"इस कोड को अपने वेबसाइट बिल्डर में पेस्ट करें (WordPress, Squarespace, Wix, या कोई भी साइट जो HTML विजेट स्वीकार करती है)।"},"./locales/hi/tabs.json":{prayer:"प्रार्थना",adoption:"गोद लेना",engagement:"सहभागिता","affinity-blocks":"जनसमूह",regions:"क्षेत्र",countries:"देश","language-families":"भाषाएँ",religion:"धर्म",family:"भाषा परिवार",language:"भाषा",dialect:"बोली/रूप",bloc:"समानता समूह",cluster:"क्लस्टर",group:"जनसमूह",pgic:"देश में जनसमूह",region:"WAGF क्षेत्र",block:"WAGF ब्लॉक",country:"देश",upg100Region:"क्षेत्र",upg100Zone:"UPG-100 सूचियाँ",upg100Group:"जनसमूह",selectView:"दृश्य चुनें",views:"दृश्य",prayerResources:"प्रार्थना संसाधन",map:"मानचित्र",countryPosters:"देश पोस्टर"},"./locales/hi/wall.json":{title:"जनसमूहों की दीवार",toPortrait:"📱 खड़े रूप में बदलें",toLandscape:"🖼️ आड़े रूप में बदलें",currentLandscape:"वर्तमान: आड़ा (4 × 3 फ़ुट)",currentPortrait:"वर्तमान: खड़ा (3 × 4 फ़ुट)",resetZoom:"ज़ूम रीसेट करें",groupsLoaded:"लोड हुए: {n}",loading:"जनसमूह लोड हो रहे हैं…",offlineTitle:"लाइव प्रार्थना डेटा तक नहीं पहुँचा जा सका।",offlineBody:"दीवार अपने जनसमूह pray.doxa.life से पढ़ती है। हो सकता है आप ऑफ़लाइन हों, या स्थानीय डेवलपमेंट सर्वर पर API इस पेज के पते की अनुमति न दे।",tryAgain:"फिर से कोशिश करें",prayedCount:"प्रार्थना की: {n}",viewPrayers:"प्रार्थनाएँ देखें",prayerTools:"प्रार्थना उपकरण",close:"बंद करें",unknown:"अज्ञात",unknownGroup:"अज्ञात जनसमूह",status:"स्थिति:",unengaged:"अपहुँचा",prayingNow:"क्या आप अभी इस जनसमूह के लिए प्रार्थना कर रहे हैं?",yesPraying:"हाँ, मैं प्रार्थना कर रहा हूँ",thankYou:"प्रार्थना के लिए धन्यवाद!",sharePrayer:"अपनी प्रार्थना साझा करें (वैकल्पिक)",prayerPlaceholder:"अपनी प्रार्थना यहाँ लिखें…",sendPrayer:"प्रार्थना भेजें",peopleGroup:"जनसमूह",chatsTitle:"जनसमूह चर्चा",id:"ID:",location:"स्थान:",na:"उपलब्ध नहीं",havePrayed:"प्रार्थना की: {n}",youPrayed:"✓ आपने प्रार्थना की!",prayForGroup:"🙏 इस जनसमूह के लिए प्रार्थना करें",prayersComments:"प्रार्थनाएँ और टिप्पणियाँ",noComments:"अभी कोई प्रार्थना या टिप्पणी नहीं। पहले बनें!",commentPlaceholder:"अपनी प्रार्थना या विचार साझा करें…",postComment:"टिप्पणी पोस्ट करें",noPeopleId:"इस जनसमूह के पास PeopleID3 नहीं है",statusUnknown:"स्थिति अज्ञात",printPoster:"🖨️ HD पोस्टर छापें",printPreparing:"पोस्टर तैयार हो रहा है: {total} में से {n} फ़ोटो",printMissing:"जो फ़ोटो लोड नहीं हो सकीं: {n}। वे धूसर बॉक्स के रूप में छपेंगी।",blessBanner:"यीशु के नाम में राष्ट्रों को आशीष दो",modeLabel:"दीवार का मोड",modeBless:"आशीष",modeSocial:"सामाजिक",shareSoon:"साझा करने की सुविधा बाद में आएगी।",drawLibError:"दीवार अपनी ड्रॉइंग लाइब्रेरी लोड नहीं कर सकी:",posterSize:"पोस्टर का आकार",posterSubtitle:"DOXA (δόξα) का अर्थ है महिमा। एक वैश्विक प्रार्थना आंदोलन यीशु के नाम में इन {n} जन-समूहों को आशीष दे रहा है। अधिक जानें और जुड़ें: pray.doxa.life।",glueHere:"ऊपर वाली शीट यहाँ चिपकाएँ",themesLabel:"प्रार्थना के विषय",oldTestament:"पुराना नियम",newTestament:"नया नियम",themeTreasure:"ख़ज़ाना",themeMountain:"पहाड़",themeSea:"समुद्र",posterClosing:"यीशु मसीह कोने का पत्थर है, और हम जीवित पत्थर हैं। ये जन-समूह उसके दुःख का प्रतिफल हैं। आइए अपनी याजकीय बुलाहट उठाएँ: उसके नाम में उन्हें आशीष दें, और प्रार्थना में विश्व-परिवार से जुड़ें।",journeyCalled:"बुलाहट",journeyPromised:"प्रतिज्ञा",journeyRedeemed:"छुड़ाए गए",journeyCornerstone:"कोने का पत्थर",journeyChildren:"अब्राहम की संतान",journeyPriesthood:"राज-पदधारी याजक",journeySent:"खोए हुओं के पास भेजे गए",peopleGroupCount:"{n} जनसमूह | {n} जनसमूह",listCount:"{n} सूची | {n} सूचियाँ",stockCard:"कार्ड",stockPostcard:"पोस्टकार्ड",stockLandscape:"लैंडस्केप",hud:{kindPoster:"पोस्टर",kindList:"सूची",kindPacket:"प्रार्थना पैकेट",fetchingPoster:"पोस्टर लाया जा रहा है",generatingPoster:"पोस्टर बनाया जा रहा है",openingPrint:"प्रिंट विंडो खुल रही है",printOpened:"प्रिंट विंडो खुल गई",saving:"सहेजा जा रहा है",fetchingRecords:"डेटा लाया जा रहा है",fetchingGroups:"जनसमूह लाए जा रहे हैं",layingOutRows:"{n} पंक्ति सजाई जा रही है | {n} पंक्तियाँ सजाई जा रही हैं",layingOutCards:"{n} कार्ड सजाया जा रहा है | {n} कार्ड सजाए जा रहे हैं",printingGroups:"{n} जनसमूह छापा जा रहा है | {n} जनसमूह छापे जा रहे हैं",kindCardDeck:"कार्ड सेट",kindPrayerList:"प्रार्थना सूची",saved:"सहेजा गया",noRecords:"इस सूची में छापने के लिए कोई जनसमूह नहीं है",noPoster:"इस सूची के लिए कोई पोस्टर उपलब्ध नहीं है",posterNotFound:"पोस्टर नहीं मिला ({status})",posterBlank:"बनाया गया पोस्टर खाली निकला",noApi:"कोई जनसमूह सेवा कॉन्फ़िगर नहीं है",fetchFailed:"जनसमूह लोड नहीं हो सके ({status})"},posterAlt:"{label} — प्रार्थना पोस्टर",posterAltAction:"{label} — प्रार्थना पोस्टर (देखने और छापने के लिए क्लिक करें)"},"./locales/it/allPeopleGroups.json":{title:"Tutti i gruppi etnici",locations:"{n} località (gruppo × paese)",doxa:"Gruppi etnici DOXA",frontier:"Frontiera — non è iniziato nulla",unreached:"Non raggiunti — il lavoro inizia",reached:"Raggiunti — la chiesa c’è",hint:"Fai clic su una riga per vederli tutti · di nuovo per vedere tutto",loading:"Caricamento di tutti i gruppi etnici…",loadError:"Impossibile caricare la mappa.",pray:"Prega per loro →",population:"pop. {n}"},"./locales/it/aria.json":{backToLegend:"Torna alla legenda",closeDetailView:"Chiudi vista dettaglio",collapseLegend:"Comprimi la legenda",expandLegend:"Espandi la legenda",toggleLegend:"Mostra o nascondi la legenda",searchPeopleGroups:"Cerca popoli",resetAllFilters:"Reimposta tutti i filtri e la ricerca",selectAllRows:"Seleziona tutte le righe",deselectAllRows:"Deseleziona tutte le righe",rowDetail:"Dettaglio riga",dismissHint:"Ignora il suggerimento",resizeFiltersRail:"Ridimensiona la barra dei filtri",resizeFiltersRailHint:"Trascina o usa i tasti freccia per ridimensionare la barra dei filtri",resizeChartsRail:"Ridimensiona la barra dei grafici",resizeChartsRailHint:"Trascina o usa i tasti freccia per ridimensionare la barra dei grafici",resizeMapTableSplit:"Ridimensiona la divisione mappa/tabella",resizeMapTableSplitHint:"Trascina o usa i tasti freccia per ridimensionare la divisione mappa/tabella",resizeTable:"Ridimensiona l'altezza della tabella",resizeTableHint:"Trascina o usa i tasti freccia per ridimensionare la tabella",resizeDashboardHeight:"Ridimensiona l'altezza della dashboard",resizeDashboardHeightHint:"Trascina o usa i tasti freccia per ridimensionare l'altezza della dashboard",removeFilter:"Rimuovi il filtro {name}",closeDetail:"Chiudi il dettaglio",filterBreadcrumb:"Percorso dei filtri",railViews:"Viste della barra",upgCountLegend:"Legenda del conteggio UPG",donutChart:"Grafico ad anello: {title}"},"./locales/it/buttons.json":{prayForThem:"Prega per loro",adoptThem:"Adottali",moreInfo:"Più informazioni",zoomIn:"Ingrandisci",zoomOut:"Riduci",switchToLightMode:"Passa alla modalità chiara",switchToDarkMode:"Passa alla modalità scura",resetView:"Reimposta vista",toggleFullscreen:"Attiva/disattiva schermo intero",aboutThisMap:"Informazioni su questa mappa",closeMenu:"Chiudi menu",reloadMap:"Ricarica mappa",showClusters:"Mostra cluster",clusterSettings:"Impostazioni cluster",startAutoFly:"Avvia volo automatico",stopFlight:"Ferma volo",speedLabel:"Velocità:",speedOption:{slow:"Lenta",normal:"Normale",fast:"Veloce"},shareEmbed:"Condividi e incorpora",posterMap:"Mappa del poster",prayerList:"Lista di preghiera",cardDeck:"Mazzo di carte",printOptions:"Opzioni di stampa",showOnMap:"Mostra sulla mappa",close:"Chiudi",showOnMapAria:"Mostra {label} sulla mappa",cardStockAria:"Formato della scheda di preghiera",previewPrintPoster:"Anteprima e stampa del poster {label}",share:"Condividi",shareSteps:["Incorpora questa mappa nel tuo sito","Fai un elenco dei siti web della tua città","Insegna loro a incorporarla a loro volta","Insegna loro a formare altri a incorporarla","Moltiplichiamo le mappe ovunque per Gesù!"],clearSelection:"Cancella la selezione",noOptions:"Nessuna opzione trovata",renderingLocal:"Un’immagine con qualità di stampa viene generata nel tuo browser: nulla viene caricato.",postersPerRow:"Poster per riga",packetVariantAria:"Dettaglio del pacchetto di preghiera",packetFull:"Dettaglio completo",packetLightweight:"Leggero",working:"Elaborazione…",postersPerRowAuto:"Automatico"},"./locales/it/controls.json":{research_controls:"Controlli di ricerca",clustering:"Raggruppamento",filters:"Filtri",pin_dim:"Opacità dei punti",export_poster:"Esporta poster…",reload_data:"Ricarica i dati",off:"Disattivato",native:"Nativo",mst:"MST",network:"Rete",off_desc:"Mostra ogni punto singolarmente",native_desc:"Cluster circolari Mapbox (il più veloce)",mst_desc:"Reti di affinità ad albero ricoprente minimo",network_desc:"Linee verso il vicino più prossimo",search_languages:"Cerca lingue…",search_religions:"Cerca religioni…",reset_all:"Reimposta tutto",no_languages:"Nessuna lingua ancora caricata",no_religions:"Nessuna religione ancora caricata",unadopted:"Non adottato",min:"min",max:"max",adopted:"Adottato",adoption:"Adozione",engaged:"Coinvolto",engagement:"Impegno",unengaged:"Necessita impegno",language:"Lingua",religion:"Religione",population:"Popolazione",any:"Tutti",active_count:"{n} attivi",prayer_status:"Stato di preghiera",close:"Chiudi",clear:"Cancella",map_controls:"Controlli della mappa",clusters:"Cluster",mst_full_name:"Albero ricoprente minimo",mst_hint:"fai clic su una riga della legenda per raggruppare solo quel gruppo"},"./locales/it/dashboard.json":{bloc:"Blocco di affinità",gospel_access:"Accesso al vangelo",people:"Popoli",people_name:"Popolo (nome)",praying:"In preghiera",religion_family:"Famiglia religiosa",search_language:"Cerca lingua",search_people:"Cerca popolo",search_place:"Cerca luogo",search_religion:"Cerca religione",upgs_in_scope:"UPG nell’ambito",countries_touched:"paesi toccati",unreached:"non raggiunti",sum_population:"Σ popolazione",sum_praying:"Σ in preghiera",charts:"Grafici",table:"Tabella",cluster:"Cluster",country:"Paese",engagement:"Impegno",language:"Lingua",language_family:"Famiglia linguistica",people_group:"Popolo",population:"Popolazione",prayer:"Preghiera",region:"Regione",religion:"Religione",status:"Stato",adopted:"Adottato",filters:"Filtri",gospel_resources:"Risorse del Vangelo",map:"Mappa",search_placeholder:"Cerca popoli, luoghi, lingue, religioni…",any:"Tutti",active_count:"{n} attivi",prayer_status:"Stato di preghiera",map_controls:"Controlli della mappa",close:"Chiudi",clear:"Cancella",dashboard_title:"Cruscotto di ricerca generale",align_dashboard:"Allinea cruscotto",align_dashboard_tip:"Ripristina la disposizione predefinita del cruscotto",selected:"Selezionato",world:"Mondo",vertical_legend:"Legenda verticale",groups_in_scope:"popoli nell’ambito",filter_by:"Filtra per",remove_filter:"Rimuovi filtro",groups:"popoli",expand:"Espandi",collapse:"Comprimi",place:"Luogo",export_csv:"Esporta CSV",detail:"Dettaglio",detail_empty:"Seleziona un popolo per vedere il dettaglio",heartbeat_zone:"zona del battito",top_countries:"Paesi principali",select_all:"Seleziona tutto",expand_table:"Espandi tabella",collapse_table:"Comprimi tabella — ingrandisci la mappa",group:"popolo",deselect_all:"Deseleziona tutto",results_live:"{count} di {total} {unit} mostrati",filters_live:"Filtri: {list}",search_live:"Ricerca: {term}",adopted_by_churches:"Adottati dalle chiese",bp_title:"Quadro generale — dashboard di ricerca unificata",bp_subtitle:"Cerca e filtra i gruppi di persone del mondo · prima i meno raggiunti",export_selection:"Esporta questa selezione",map_loading:"Caricamento della mappa di ricerca…",no_match:"Nessun gruppo di persone corrisponde a “{q}”.",no_photo:"Nessuna foto",only_selected:"Solo i selezionati",only_selected_hint:"Mostra solo i gruppi di persone selezionati",people_committed:"Persone impegnate",people_praying:"Persone che pregano",selected_first:"Prima i selezionati",selected_first_hint:"Porta in alto i gruppi di persone selezionati, mantenendo l’ordinamento delle colonne",n_shown:"{n} mostrati",other:"Altri",wagfRegion:{africa:"Africa",asia:"Asia",europe:"Europa","latin_america_&_caribbean":"America Latina",oceania:"Oceania",middle_east:"Medio Oriente","north_america_&_non-spanish_caribbean":"Nord America e Caraibi non ispanici"},sort_by_column_hint:"Ordina questa tabella per {column}: Maiusc+clic aggiunge una seconda colonna. L’ordinamento riguarda solo la tabella; le schede mantengono il proprio ordine.",fs_exit_hint:"Esci da schermo intero (Esc) — torna a sette righe",fs_open_hint:"Apri questa tabella a schermo intero",fs_exit:"Esci da schermo intero",fs_open:"Apri la tabella a schermo intero",export_selected_hint:"Esporta tutti i campi — popoli selezionati: {n}",export_all_hint:"Esporta tutti i campi — popoli: {n}",map_init_failed:"La mappa non è riuscita ad avviarsi. Controlla il token di accesso e il contenitore della mappa.",show_filters:"Mostra i filtri",hide_filters:"Nascondi i filtri — ingrandisci la mappa",show_charts:"Mostra i grafici",hide_charts:"Nascondi i grafici — ingrandisci la mappa",export_copied:"copiato negli appunti",export_done:"esportato",export_ready:"pronto",export_toast:"✓ {rows} righe × {fields} campi {how}",export_failed:"✕ Esportazione non riuscita",pray_for_group:"Prega per questo popolo",more_information:"Maggiori informazioni",title:"Cruscotto di ricerca",gospel_pending:"Non ancora pronto: il numero dei non raggiunti, la chiave della fonte dati e la forma dell’interfaccia sono ancora da decidere."},"./locales/it/detail.json":{labels:{country:"Paese:",population:"Popolazione:",language:"Lingua:",religion:"Religione:",languageFamily:"Famiglia linguistica:",peopleCommitted:"Impegnati a pregare:"},messages:{noDescription:"Nessuna descrizione disponibile."}},"./locales/it/grid.json":{search:"Cerca popoli…",hide_filters:"Nascondi filtri",show_filters:"Mostra filtri",total:"Totale",showing:"Mostrati",load_more:"Carica altro",full_profile:"Profilo completo",wagf_region:"Regione",wagf_block:"Blocco di affinità",rop1:"Popolo",religion:"Religione",exact_filter:"Esatto",clear_all:"Cancella tutto",loading:"Caricamento…",no_results:"Nessun popolo corrisponde a questo filtro.",type_to_search:"Digita per cercare...",load_failed:"Impossibile caricare i dati dei popoli. È un problema di connessione, non del filtro.",search_people_or_countries:"Cerca popoli o paesi…",cards_per_row:"Schede per riga",cards_per_row_auto:"Automatico"},"./locales/it/legend.json":{title:{adoption:"Avanzamento dell'adozione",affinityBlocs:"Blocchi di affinità",doxaRegions:"Regioni Doxa",engagement:"Avanzamento dell'impegno",gospelResources:"Risorse del Vangelo",languageFamilies:"Famiglie linguistiche",prayer:"Avanzamento della preghiera",upg100List:"La mia lista UPG 100",batchSelect:"Selezione multipla"},header:{collapsed:"Legenda",peopleGroupFallback:"Gruppo di persone",default:"Legenda"},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",name:"Nome"},footer:{total:"Totale"},sortByUpgs:"Ordina per UUPG",sortByPop:"Ordina per popolazione",colLabel:{religion:"Religioni UUPG",prayer:"Stato della preghiera",engagement:"Stato dell'impegno",adoption:"Stato dell'adozione",status:"Stato"},titleBar:{legend:"Legenda",peopleGroups:"Popoli",wagfRegions:"Regioni WAGF",languages:"Lingue"},tabInfo:{upg100Region:"Regione — ordina le liste UPG-100 per area del mondo (Africa, India, Medio Oriente, Sordi, …). I totali sono gli UUPG e la popolazione sommati di ogni lista sottostante.",upg100Zone:"Liste UPG-100 — ognuna è una lista di preghiera dei gruppi etnici non raggiunti di un’area, ed è ciò che la mappa disegna e colora. Ogni lista si stampa come il proprio fascicolo.",upg100Group:"Gruppo etnico — i singoli gruppi non raggiunti dentro una lista, prima quelli con maggiore bisogno di preghiera. Ogni punto della mappa è uno di questi.",family:"Famiglia ling. — un insieme di lingue discese da un antenato comune (p. es. indoeuropea, afroasiatica).",language:"Lingua — un sistema di comunicazione usato da un popolo (p. es. arabo, bengalese, hindi).",dialect:"Dialetto/Variante — una forma regionale o sociale di una lingua (p. es. arabo sudanese; lingua dei segni pakistana).",bloc:"Blocco di affinità — il raggruppamento più ampio, per affinità culturale, linguistica e geografica (p. es. popoli malesi, popoli dell’Asia meridionale, sordi, mondo arabo).",cluster:"Cluster — un raggruppamento più fine all’interno di un blocco (p. es. Borneo-Kalimantan tra i popoli malesi). Le righe recano «(cluster)» per distinguerle dai popoli.",group:"Popolo — un’identità etnolinguistica in sé, indipendente dal paese. Le righe recano «(popolo)». Uno stesso popolo può vivere in molti paesi (i sordi, per esempio, in più di cento).",pgic:"Popolo nel paese — una riga per ogni popolo in ciascun paese in cui vive (p. es. «Abai Sungai, Malesia»). Le righe recano «(popolo nel paese)».",region:"Regione WAGF — la macroregione cui appartiene un paese (p. es. Asia, Africa). Ciascuna ha il proprio colore sulla mappa.",block:"Blocco WAGF — la suddivisione all’interno di una regione (p. es. Sud-est asiatico, Africa occidentale).",country:"Paese — i singoli paesi, ordinati per popolazione non raggiunta all’interno del loro blocco."},a11y:{expandRow:"Espandi {label}",collapseRow:"Comprimi {label}",clearSelection:"Cancella la selezione",goUp:"Sali a {label}"},export:{poster:"Manifesto",packet:"UPG 100",packetExplain:"Una lista di preghiera di circa 50-100 popoli non raggiunti: una persona può portarne una.",packetAria:"Dettaglio del pacchetto di preghiera",packetFull:"Dettaglio completo",packetLightweight:"Leggero"},noDataAtThisLevel:"Nessun dato a questo livello",exportButton:"Esporta",exportSelection:"Esporta la selezione",loadingRows:"Caricamento di {label}…",loadingData:"Caricamento dati…",showingTop:"Mostrati i primi {n} di {m}",useGeocoderHint:"usa la ricerca qui sopra per trovare gli altri",noList:"Nessun elenco caricato."},"./locales/it/lists.json":{doxa:{label:"Progetto 2000: i popoli di DOXA",definition:"I popoli che DOXA serve, come li fornisce la sua lista in tempo reale"},unreached:{label:"Progetto 7000: popoli non raggiunti",definition:"Priorità di perdizione IMB 0–2 (non raggiunti di frontiera, pionieri o in espansione: meno del 2% evangelici)"},frontier:{label:"Progetto 4700: popoli di frontiera",definition:"Priorità di perdizione IMB 0 (non raggiunti di frontiera: 0,1% evangelici o meno)"},"frontier-500k":{label:"Progetto 700: popoli di frontiera di 500.000 o più",definition:"Priorità di perdizione IMB 0 e una popolazione di almeno 500.000"},unengaged:{label:"Popoli non raggiunti e non coinvolti",definition:"Priorità di perdizione IMB 0–2 e stato di coinvolgimento: non coinvolto"}},"./locales/it/mapui.json":{map:"Mappa",marker:"Indicatore sulla mappa",closePopup:"Chiudi popup",zoomIn:"Ingrandisci",zoomOut:"Riduci",resetBearing:"Trascina per ruotare la mappa, fai clic per tornare al nord",toggleAttribution:"Mostra/nascondi attribuzione",mapFeedback:"Feedback sulla mappa",enterFullscreen:"Schermo intero",exitFullscreen:"Esci da schermo intero",findMyLocation:"Trova la mia posizione",locationNotAvailable:"Posizione non disponibile",enableGlobe:"Attiva globo",disableGlobe:"Disattiva globo",ctrlScroll:"Usa Ctrl + scorrimento per ingrandire la mappa",cmdScroll:"Usa ⌘ + scorrimento per ingrandire la mappa",twoFingers:"Usa due dita per spostare la mappa",mapboxHomepage:"Home page di Mapbox",maplibreLogo:"Logo di MapLibre"},"./locales/it/messages.json":{menuComingSoon:"Menu in arrivo",pinHint:{tapDot:"Tocca un punto colorato — qualcuno ha ancora bisogno di preghiera"},upg100WallHeading:"La mia lista UPG 100 — Liste di preghiera e manifesti",upg100WallTag:"Mobilitazione alla preghiera",upg100WallIntroA:"Come sfameresti una folla di cinquemila? Gesù li fece sedere a gruppi di cinquanta e di cento, e l’impossibile divenne condivisibile (Luca 9:14). Abbiamo fatto lo stesso con i 2.106 popoli non raggiunti: 27 liste di circa cinquanta-cento. Ogni lista si stampa come pacchetto di preghiera e manifesto, così 27 discepoli, chiese o responsabili locali ne portano una ciascuno — pregando per loro ",upg100WallIntroEmph:"con il nome del loro popolo",upg100WallIntroB:".",loadingNamed:"Caricamento di {name}…",couldNotLoadNamed:"Impossibile caricare {name}.",engineMissing:"Il motore di mappa {engine} non è stato caricato.",packetFailed:"Libretto non riuscito: {reason}",selectionPacketFailed:"Libretto della selezione non riuscito: {reason}",posterOneTerritory:"Il manifesto stampa un territorio alla volta — {count} selezionati.",selectionPosterFailed:"Manifesto della selezione non riuscito: {reason}",mapUnavailable:"Mappa non disponibile",copied:"Copiato!",copyFailed:"Copia non riuscita — premi Ctrl/Cmd-C",engineNotLoaded:"motore di mappe non caricato",engineNotLoadedDetail:"Il motore di mappe {engine} non si è caricato. L’elenco e la legenda non sono interessati.",viewLoadFailed:"Impossibile caricare questa vista.",retry:"Riprova",noMapboxToken:"Nessun token Mapbox",noMapboxTokenDetail:"Nessun token Mapbox configurato. L’elenco e la legenda non sono interessati.",loadingBoundaries:"Caricamento dei confini…",fetchingUupgs:"Recupero di {n} UUPG…",mapStatusCounts:"Aree: {polys} · zone: {zones}/{total} · segnaposto: {pins}",tapTerritoriesHint:"Tocca i territori sulla mappa o le righe della legenda per aggiungerli · tocca di nuovo per rimuoverli",territoriesSelected:"Territori: {count}",bandInRange:"✓ fascia 50–100",bandOutOfRange:"fascia 50–100",mapContextLost:"Questa mappa è stata scaricata per liberare memoria grafica.",nOfTotal:"{n} su {total}",mapInitFailed:"Impossibile inizializzare la mappa — controlla il token e il contenitore",countryWallIntroA:"Un poster per paese, pronto da pregare, stampare e appendere al muro — pregando per loro ",countryWallIntroB:". Regioni e paesi sono ordinati in base a quanti popoli non raggiunti contengono, perché il bisogno più grande venga per primo.",countryWallSoon:"Prossimamente: per ogni paese verrà generata una lista di preghiera con il nome di ogni popolo non raggiunto che vi abita.",countryWallHeading:"Poster per paese — Liste di preghiera e manifesti",largerScreenNotice:"Questa mappa sperimentale è pensata per schermi grandi. Si apre qui, ma alcune parti potrebbero non entrare o non funzionare bene su un telefono.",desktopOnlyNotice:"{label} funziona solo su desktop: apri questa pagina da un computer per usarlo.",noticeDismiss:"Chiudi",countryPosterTooMany:"Troppi popoli per stare in modo leggibile su un solo manifesto: una soluzione è in arrivo."},"./locales/it/pins.json":{approximate:"Il punto indica dove si trova questo popolo, non una città né un confine.",sharedPoint:"Si trova nello stesso punto di {names} — {n} gruppi condividono questa coordinata, quindi la posizione indica la zona e non dove si trova ciascun gruppo."},"./locales/it/popup.json":{country:{wagfRegion:"Regione WAGF",wagfBlock:"Blocco WAGF",country:"Paese",uupgCount:"Numero di UUPG"}},"./locales/it/religion.json":{family:{Christianity:"Cristianesimo",Islam:"Islam",Hinduism:"Induismo",Buddhism:"Buddhismo",Ethnoreligion:"Etnoreligione",Judaism:"Ebraismo",Sikhism:"Sikhismo",Unaffiliated:"Senza affiliazione",Other:"Altro",Unknown:"Sconosciuta"}},"./locales/it/search.json":{placeholder:"Popolo, luogo, lingua, religione",placeholderNoPlaces:"Popolo, lingua, religione (la ricerca di luoghi richiede un token Mapbox)",labels:{people:"Popolo:",place:"Luogo:",language:"Lingua:",religion:"Religione:"},sections:{within:"In {selection}",allData:"Tutti i dati DOXA"},kinds:{people:"Popolo + paese",peopleGroup:"Popolo",bloc:"Blocco di affinità",cluster:"Cluster di popoli",country:"Paese",region:"Regione",family:"Famiglia linguistica",languageKind:"Lingua",dialect:"Dialetto",religionKind:"Religione"},upg100Placeholder:"Cerca popolo, elenco UPG-100 o regione…",tabPlaceholder:{languageFamilies:"Cerca famiglia linguistica, lingua, dialetto/variante",affinityBlocks:"Cerca blocco di affinità, cluster, popolo",regions:"Cerca regione, paese, popolo",religion:"Cerca religione, popolo"},placeholderRegions:"Cerca regione, paese o popolo"},"./locales/it/share.json":{embed_link:"Link di incorporamento",add_to_website:"Aggiungi al tuo sito web",embed_paste_hint:"Incolla questo codice nel tuo costruttore di siti web (WordPress, Squarespace, Wix o qualsiasi sito che accetti widget HTML)."},"./locales/it/tabs.json":{prayer:"Preghiera",adoption:"Adozione",engagement:"Impegno","affinity-blocks":"Popoli",regions:"Regioni",countries:"Paesi","language-families":"Lingue",religion:"Religioni",family:"Famiglia ling.",language:"Lingua",dialect:"Dialetto/Variante",bloc:"Blocco di affinità",cluster:"Cluster",group:"Popolo",pgic:"Popolo nel paese",region:"Regione WAGF",block:"Blocco WAGF",country:"Paese",upg100Region:"Regione",upg100Zone:"Liste UPG-100",upg100Group:"Gruppo etnico",selectView:"Seleziona vista",views:"Viste",prayerResources:"Risorse di preghiera",map:"Mappa",countryPosters:"Poster per paese"},"./locales/it/wall.json":{title:"Muro dei popoli",toPortrait:"📱 Passa a verticale",toLandscape:"🖼️ Passa a orizzontale",currentLandscape:"Attuale: orizzontale (4 × 3 piedi)",currentPortrait:"Attuale: verticale (3 × 4 piedi)",resetZoom:"Reimposta zoom",groupsLoaded:"Caricati: {n}",loading:"Caricamento dei popoli…",offlineTitle:"Impossibile raggiungere i dati di preghiera in tempo reale.",offlineBody:"Il muro legge i suoi popoli da pray.doxa.life. Potresti essere offline oppure, su un server di sviluppo locale, l’API potrebbe non consentire l’indirizzo di questa pagina.",tryAgain:"Riprova",prayedCount:"Hanno pregato: {n}",viewPrayers:"Vedi preghiere",prayerTools:"Strumenti di preghiera",close:"Chiudi",unknown:"Sconosciuto",unknownGroup:"Popolo sconosciuto",status:"Stato:",unengaged:"non raggiunto",prayingNow:"Stai pregando ora per questo popolo?",yesPraying:"Sì, sto pregando",thankYou:"Grazie per la preghiera!",sharePrayer:"Condividi la tua preghiera (facoltativo)",prayerPlaceholder:"Scrivi qui la tua preghiera…",sendPrayer:"Invia preghiera",peopleGroup:"Popolo",chatsTitle:"Chat del popolo",id:"ID:",location:"Luogo:",na:"N/D",havePrayed:"Hanno pregato: {n}",youPrayed:"✓ Hai pregato!",prayForGroup:"🙏 Prega per questo popolo",prayersComments:"Preghiere e commenti",noComments:"Ancora nessuna preghiera o commento. Sii il primo!",commentPlaceholder:"Condividi la tua preghiera o i tuoi pensieri…",postComment:"Pubblica commento",noPeopleId:"Questo popolo non ha un PeopleID3",statusUnknown:"Stato sconosciuto",printPoster:"🖨️ Stampa poster HD",printPreparing:"Preparazione del poster: {n} di {total} foto",printMissing:"Foto che non è stato possibile caricare: {n}. Vengono stampate come riquadri grigi.",blessBanner:"Benedite le nazioni nel nome di Gesù",modeLabel:"Modalità del muro",modeBless:"Benedire",modeSocial:"Social",shareSoon:"La condivisione arriverà più avanti.",drawLibError:"Il muro non è riuscito a caricare la sua libreria di disegno:",posterSize:"Dimensione del poster",posterSubtitle:"DOXA (δόξα) significa gloria. Un movimento mondiale di preghiera sta benedicendo questi {n} gruppi etnici nel nome di Gesù. Scopri di più e unisciti su pray.doxa.life.",glueHere:"incolla qui il foglio sopra",themesLabel:"Temi di preghiera",oldTestament:"Antico Testamento",newTestament:"Nuovo Testamento",themeTreasure:"Tesoro",themeMountain:"Monte",themeSea:"Mare",posterClosing:"Gesù Cristo è la pietra angolare, e noi siamo pietre viventi. Questi popoli sono la ricompensa della sua sofferenza. Accogliamo la nostra chiamata sacerdotale: benediciamoli nel suo nome e uniamoci alla famiglia mondiale in preghiera.",journeyCalled:"La chiamata",journeyPromised:"La promessa",journeyRedeemed:"Redenti",journeyCornerstone:"La pietra angolare",journeyChildren:"Figli di Abraamo",journeyPriesthood:"Un sacerdozio regale",journeySent:"Mandati ai perduti",peopleGroupCount:"{n} popolo | {n} di popoli | {n} popoli",listCount:"{n} lista | {n} di liste | {n} liste",stockCard:"Carta",stockPostcard:"Cartolina",stockLandscape:"orizzontale",hud:{kindPoster:"Poster",kindList:"Lista",kindPacket:"Pacchetto di preghiera",fetchingPoster:"recupero del poster",generatingPoster:"generazione del poster",openingPrint:"apertura della finestra di stampa",printOpened:"finestra di stampa aperta",saving:"salvataggio",fetchingRecords:"recupero dei dati",fetchingGroups:"recupero dei popoli",layingOutRows:"impaginazione di {n} riga | impaginazione di {n} di righe | impaginazione di {n} righe",layingOutCards:"impaginazione di {n} carta | impaginazione di {n} di carte | impaginazione di {n} carte",printingGroups:"stampa di {n} popolo | stampa di {n} di popoli | stampa di {n} popoli",kindCardDeck:"Mazzo di carte",kindPrayerList:"Lista di preghiera",saved:"salvato",noRecords:"quell’elenco non ha popoli da stampare",noPoster:"nessun manifesto disponibile per questo elenco",posterNotFound:"manifesto non trovato ({status})",posterBlank:"il manifesto generato è risultato vuoto",noApi:"nessun servizio dei popoli è configurato",fetchFailed:"impossibile caricare i popoli ({status})"},posterAlt:"{label} — poster di preghiera",posterAltAction:"{label} — poster di preghiera (fai clic per vedere e stampare)"},"./locales/pt/allPeopleGroups.json":{title:"Todos os grupos étnicos",locations:"{n} locais (grupo × país)",doxa:"Grupos étnicos da DOXA",frontier:"Fronteira — nada iniciado",unreached:"Não alcançados — o trabalho começa",reached:"Alcançados — a igreja está lá",hint:"Clique em uma linha para ver todos · clique de novo para ver tudo",loading:"Carregando todos os grupos étnicos…",loadError:"Não foi possível carregar o mapa.",pray:"Ore por eles →",population:"pop. {n}"},"./locales/pt/aria.json":{backToLegend:"Voltar à legenda",closeDetailView:"Fechar vista de detalhe",collapseLegend:"Recolher a legenda",expandLegend:"Expandir a legenda",toggleLegend:"Mostrar ou ocultar a legenda",searchPeopleGroups:"Pesquisar povos",resetAllFilters:"Redefinir todos os filtros e a pesquisa",selectAllRows:"Selecionar todas as linhas",deselectAllRows:"Desmarcar todas as linhas",rowDetail:"Detalhe da linha",dismissHint:"Dispensar a dica",resizeFiltersRail:"Redimensionar o painel de filtros",resizeFiltersRailHint:"Arraste ou use as teclas de seta para redimensionar o painel de filtros",resizeChartsRail:"Redimensionar o painel de gráficos",resizeChartsRailHint:"Arraste ou use as teclas de seta para redimensionar o painel de gráficos",resizeMapTableSplit:"Redimensionar a divisão entre o mapa e a tabela",resizeMapTableSplitHint:"Arraste ou use as teclas de seta para redimensionar a divisão entre o mapa e a tabela",resizeTable:"Redimensionar a altura da tabela",resizeTableHint:"Arraste ou use as teclas de seta para redimensionar a tabela",resizeDashboardHeight:"Redimensionar a altura do painel",resizeDashboardHeightHint:"Arraste ou use as teclas de seta para redimensionar a altura do painel",removeFilter:"Remover o filtro {name}",closeDetail:"Fechar o detalhe",filterBreadcrumb:"Trilho de filtros",railViews:"Vistas do painel",upgCountLegend:"Legenda da contagem de UPG",donutChart:"Gráfico de rosca: {title}"},"./locales/pt/buttons.json":{prayForThem:"Ore por eles",adoptThem:"Adote-os",moreInfo:"Mais informações",zoomIn:"Ampliar",zoomOut:"Reduzir",switchToLightMode:"Mudar para modo claro",switchToDarkMode:"Mudar para modo escuro",resetView:"Repor vista",toggleFullscreen:"Alternar ecrã inteiro",aboutThisMap:"Sobre este mapa",closeMenu:"Fechar menu",reloadMap:"Recarregar mapa",showClusters:"Mostrar clusters",clusterSettings:"Definições de clusters",startAutoFly:"Iniciar voo automático",stopFlight:"Parar voo",speedLabel:"Velocidade:",speedOption:{slow:"Lenta",normal:"Normal",fast:"Rápida"},shareEmbed:"Partilhar e incorporar",posterMap:"Mapa do cartaz",prayerList:"Lista de oração",cardDeck:"Baralho de cartões",printOptions:"Opções de impressão",showOnMap:"Ver no mapa",close:"Fechar",showOnMapAria:"Ver {label} no mapa",cardStockAria:"Tamanho do cartão de oração",previewPrintPoster:"Pré-visualizar e imprimir o cartaz de {label}",share:"Partilhar",shareSteps:["Incorpore este mapa no seu site","Faça uma lista dos sites da sua cidade","Ensine-os a incorporá-lo também","Ensine-os a ensinar outros a incorporá-lo","Multipliquemos mapas por toda a parte para Jesus!"],clearSelection:"Limpar a seleção",noOptions:"Nenhuma opção encontrada",renderingLocal:"Uma imagem com qualidade de impressão está a ser gerada no seu navegador — nada é enviado.",postersPerRow:"Cartazes por linha",packetVariantAria:"Detalhe do pacote de oração",packetFull:"Detalhe completo",packetLightweight:"Leve",working:"Processando…",postersPerRowAuto:"Automático"},"./locales/pt/controls.json":{research_controls:"Controlos de pesquisa",clustering:"Agrupamento",filters:"Filtros",pin_dim:"Esbater pontos",export_poster:"Exportar cartaz…",reload_data:"Recarregar dados",off:"Desligado",native:"Nativo",mst:"MST",network:"Rede",off_desc:"Mostrar cada ponto individualmente",native_desc:"Grupos circulares Mapbox (mais rápido)",mst_desc:"Redes de afinidade por árvore geradora mínima",network_desc:"Linhas para o vizinho mais próximo",search_languages:"Pesquisar idiomas…",search_religions:"Pesquisar religiões…",reset_all:"Repor tudo",no_languages:"Ainda não há idiomas carregados",no_religions:"Ainda não há religiões carregadas",unadopted:"Não adotado",min:"mín",max:"máx",adopted:"Adotado",adoption:"Adoção",engaged:"Engajado",engagement:"Engajamento",unengaged:"Precisa de envolvimento",language:"Idioma",religion:"Religião",population:"População",any:"Qualquer",active_count:"{n} ativos",prayer_status:"Estado de oração",close:"Fechar",clear:"Limpar",map_controls:"Controlos do mapa",clusters:"Agrupamentos",mst_full_name:"Árvore geradora mínima",mst_hint:"clique numa linha da legenda para agrupar apenas esse grupo"},"./locales/pt/dashboard.json":{bloc:"Bloco de afinidade",gospel_access:"Acesso ao evangelho",people:"Povos",people_name:"Povo (nome)",praying:"A orar",religion_family:"Família religiosa",search_language:"Pesquisar idioma",search_people:"Pesquisar povo",search_place:"Pesquisar lugar",search_religion:"Pesquisar religião",upgs_in_scope:"UPG no âmbito",countries_touched:"países alcançados",unreached:"não alcançados",sum_population:"Σ população",sum_praying:"Σ a orar",charts:"Gráficos",table:"Tabela",cluster:"Agrupamento",country:"País",engagement:"Engajamento",language:"Idioma",language_family:"Família linguística",people_group:"Povo",population:"População",prayer:"Oração",region:"Região",religion:"Religião",status:"Status",adopted:"Adotado",filters:"Filtros",gospel_resources:"Recursos do Evangelho",map:"Mapa",search_placeholder:"Pesquisar povos, lugares, idiomas, religiões…",any:"Qualquer",active_count:"{n} ativos",prayer_status:"Estado de oração",map_controls:"Controlos do mapa",close:"Fechar",clear:"Limpar",dashboard_title:"Painel de pesquisa geral",align_dashboard:"Alinhar painel",align_dashboard_tip:"Repor a disposição do painel para o alinhamento predefinido",selected:"Selecionado",world:"Mundo",vertical_legend:"Legenda vertical",groups_in_scope:"povos no âmbito",filter_by:"Filtrar por",remove_filter:"Remover filtro",groups:"povos",expand:"Expandir",collapse:"Recolher",place:"Lugar",export_csv:"Exportar CSV",detail:"Detalhe",detail_empty:"Selecione um povo para ver o detalhe",heartbeat_zone:"zona do batimento",top_countries:"Principais países",select_all:"Selecionar tudo",expand_table:"Expandir tabela",collapse_table:"Recolher tabela — ampliar o mapa",group:"povo",deselect_all:"Desmarcar tudo",results_live:"A mostrar {count} de {total} {unit}",filters_live:"Filtros: {list}",search_live:"Pesquisa: {term}",adopted_by_churches:"Adotados por igrejas",bp_title:"Visão geral — painel de investigação unificado",bp_subtitle:"Pesquise e filtre os grupos de pessoas do mundo · primeiro os menos alcançados",export_selection:"Exportar esta seleção",map_loading:"A carregar o mapa de investigação…",no_match:"Nenhum grupo de pessoas corresponde a “{q}”.",no_photo:"Sem foto",only_selected:"Apenas os selecionados",only_selected_hint:"Mostrar apenas os grupos de pessoas selecionados",people_committed:"Pessoas comprometidas",people_praying:"Pessoas a orar",selected_first:"Os selecionados primeiro",selected_first_hint:"Trazer para cima os grupos de pessoas selecionados, mantendo a ordenação das colunas",n_shown:"{n} apresentados",other:"Outros",wagfRegion:{africa:"África",asia:"Ásia",europe:"Europa","latin_america_&_caribbean":"América Latina",oceania:"Oceania",middle_east:"Oriente Médio","north_america_&_non-spanish_caribbean":"América do Norte e Caribe não hispânico"},sort_by_column_hint:"Ordenar esta tabela por {column} — Shift+clique adiciona uma segunda coluna. A ordenação afeta apenas a tabela; os cartões mantêm a própria ordem.",fs_exit_hint:"Sair da tela cheia (Esc) — voltar a sete linhas",fs_open_hint:"Abrir esta tabela em tela cheia",fs_exit:"Sair da tela cheia",fs_open:"Abrir a tabela em tela cheia",export_selected_hint:"Exportar todos os campos — povos selecionados: {n}",export_all_hint:"Exportar todos os campos — povos: {n}",map_init_failed:"O mapa não conseguiu iniciar. Verifique o token de acesso e o contentor do mapa.",show_filters:"Mostrar filtros",hide_filters:"Ocultar filtros — ampliar o mapa",show_charts:"Mostrar gráficos",hide_charts:"Ocultar gráficos — ampliar o mapa",export_copied:"copiado para a área de transferência",export_done:"exportado",export_ready:"pronto",export_toast:"✓ {rows} linhas × {fields} campos {how}",export_failed:"✕ Falha ao exportar",pray_for_group:"Ore por este povo",more_information:"Mais informações",title:"Painel de pesquisa",gospel_pending:"Ainda não está pronto: o número de não alcançados, a chave da fonte de dados e a forma da interface estão por decidir."},"./locales/pt/detail.json":{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."}},"./locales/pt/grid.json":{search:"Pesquisar povos…",hide_filters:"Ocultar filtros",show_filters:"Mostrar filtros",total:"Total",showing:"Mostrando",load_more:"Carregar mais",full_profile:"Perfil completo",wagf_region:"Região",wagf_block:"Bloco de afinidade",rop1:"Povo",religion:"Religião",exact_filter:"Exato",clear_all:"Limpar tudo",loading:"A carregar…",no_results:"Nenhum povo corresponde a este filtro.",type_to_search:"Escreva para pesquisar...",load_failed:"Não foi possível carregar os dados dos povos. É um problema de ligação, não do seu filtro.",search_people_or_countries:"Pesquisar povos ou países…",cards_per_row:"Cartões por linha",cards_per_row_auto:"Automático"},"./locales/pt/legend.json":{title:{adoption:"Progresso da adoção",affinityBlocs:"Blocos de afinidade",doxaRegions:"Regiões Doxa",engagement:"Progresso do envolvimento",gospelResources:"Recursos do Evangelho",languageFamilies:"Famílias linguísticas",prayer:"Progresso da oração",upg100List:"A minha lista UPG 100",batchSelect:"Seleção múltipla"},header:{collapsed:"Legenda",peopleGroupFallback:"Grupo de pessoas",default:"Legenda"},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"},tabInfo:{upg100Region:"Região — ordena as listas UPG-100 por área do mundo (África, Índia, Oriente Médio, Surdos, …). Os totais são os UUPG e a população somados de todas as listas abaixo dela.",upg100Zone:"Listas UPG-100 — cada uma é uma lista de oração dos grupos étnicos não alcançados de uma área, e é o que o mapa pinta e colore. Cada lista é impressa como seu próprio pacote.",upg100Group:"Grupo étnico — os grupos não alcançados dentro de uma lista, primeiro os de maior necessidade de oração. Cada ponto do mapa é um deles.",family:"Família linguística — um conjunto de línguas descendentes de um ancestral comum (p. ex. indo-europeia, afro-asiática).",language:"Idioma — um sistema de comunicação usado por um povo (p. ex. árabe, bengali, híndi).",dialect:"Dialeto/Variedade — uma forma regional ou social de uma língua (p. ex. árabe sudanês; língua gestual paquistanesa).",bloc:"Bloco de afinidade — o agrupamento mais amplo, por parentesco cultural, linguístico e geográfico (p. ex. povos malaios, povos do Sul da Ásia, surdos, mundo árabe).",cluster:"Agrupamento — um agrupamento mais fino dentro de um bloco (p. ex. Bornéu-Kalimantan entre os povos malaios). As linhas levam «(agrupamento)» para as distinguir dos povos.",group:"Povo — uma identidade etnolinguística em si mesma, independente do país. As linhas levam «(povo)». Um mesmo povo pode viver em muitos países (os surdos, por exemplo, em mais de cem).",pgic:"Povo no país — uma linha por cada povo em cada país onde vive (p. ex. «Abai Sungai, Malásia»). As linhas levam «(povo no país)».",region:"Região WAGF — a macrorregião a que pertence um país (p. ex. Ásia, África). Cada uma tem a sua cor no mapa.",block:"Bloco WAGF — a subdivisão dentro de uma região (p. ex. Sudeste Asiático, África Ocidental).",country:"País — os países um a um, ordenados por população não alcançada dentro do seu bloco."},a11y:{expandRow:"Expandir {label}",collapseRow:"Recolher {label}",clearSelection:"Limpar a seleção",goUp:"Subir para {label}"},export:{poster:"Cartaz",packet:"UPG 100",packetExplain:"Uma lista de oração de cerca de 50 a 100 povos não alcançados: uma pessoa pode levar uma.",packetAria:"Detalhe do pacote de oração",packetFull:"Detalhe completo",packetLightweight:"Leve"},noDataAtThisLevel:"Sem dados neste nível",exportButton:"Exportar",exportSelection:"Exportar a seleção",loadingRows:"Carregando {label}…",loadingData:"Carregando dados…",showingTop:"Mostrando os {n} principais de {m}",useGeocoderHint:"use a busca acima para encontrar os restantes",noList:"Nenhuma lista carregada."},"./locales/pt/lists.json":{doxa:{label:"Projeto 2000: os povos da DOXA",definition:"Os povos que a DOXA serve, como a sua lista ao vivo os apresenta"},unreached:{label:"Projeto 7000: povos não alcançados",definition:"Prioridade de perdição do IMB 0–2 (não alcançados de fronteira, pioneiros ou em expansão: menos de 2% evangélicos)"},frontier:{label:"Projeto 4700: povos de fronteira",definition:"Prioridade de perdição do IMB 0 (não alcançados de fronteira: 0,1% evangélicos ou menos)"},"frontier-500k":{label:"Projeto 700: povos de fronteira de 500.000 ou mais",definition:"Prioridade de perdição do IMB 0 e uma população de pelo menos 500.000"},unengaged:{label:"Povos não alcançados e não engajados",definition:"Prioridade de perdição do IMB 0–2 e estado de engajamento: não engajado"}},"./locales/pt/mapui.json":{map:"Mapa",marker:"Marcador do mapa",closePopup:"Fechar janela",zoomIn:"Aumentar zoom",zoomOut:"Diminuir zoom",resetBearing:"Arraste para girar o mapa, clique para voltar ao norte",toggleAttribution:"Mostrar/ocultar atribuição",mapFeedback:"Comentários sobre o mapa",enterFullscreen:"Tela cheia",exitFullscreen:"Sair da tela cheia",findMyLocation:"Encontrar minha localização",locationNotAvailable:"Localização indisponível",enableGlobe:"Ativar globo",disableGlobe:"Desativar globo",ctrlScroll:"Use Ctrl + rolagem para ampliar o mapa",cmdScroll:"Use ⌘ + rolagem para ampliar o mapa",twoFingers:"Use dois dedos para mover o mapa",mapboxHomepage:"Página inicial do Mapbox",maplibreLogo:"Logótipo do MapLibre"},"./locales/pt/messages.json":{menuComingSoon:"Menu em breve",pinHint:{tapDot:"Toque num ponto colorido — alguém ainda precisa de oração"},upg100WallHeading:"Minha lista UPG 100 — Listas de oração e cartazes",upg100WallTag:"Mobilização de oração",upg100WallIntroA:"Como você alimentaria uma multidão de cinco mil? Jesus os sentou em grupos de cinquenta e de cem, e o impossível tornou-se compartilhável (Lucas 9.14). Fizemos o mesmo com os 2.106 povos não alcançados: 27 listas de cerca de cinquenta a cem. Cada lista imprime como pacote de oração e cartaz, para que 27 discípulos, igrejas ou líderes locais levem uma cada um — orando por eles ",upg100WallIntroEmph:"pelo nome do seu povo",upg100WallIntroB:".",loadingNamed:"Carregando {name}…",couldNotLoadNamed:"Não foi possível carregar {name}.",engineMissing:"O motor de mapa {engine} não foi carregado.",packetFailed:"Falha ao gerar o caderno: {reason}",selectionPacketFailed:"Falha ao gerar o caderno da seleção: {reason}",posterOneTerritory:"O cartaz imprime um território de cada vez — {count} selecionados.",selectionPosterFailed:"Falha ao gerar o cartaz da seleção: {reason}",mapUnavailable:"Mapa indisponível",copied:"Copiado!",copyFailed:"Falha ao copiar — pressione Ctrl/Cmd-C",engineNotLoaded:"motor de mapas não carregado",engineNotLoadedDetail:"O motor de mapas {engine} não carregou. A lista e a legenda não são afetadas.",viewLoadFailed:"Não foi possível carregar esta visualização.",retry:"Tentar novamente",noMapboxToken:"Nenhum token do Mapbox",noMapboxTokenDetail:"Nenhum token do Mapbox configurado. A lista e a legenda não são afetadas.",loadingBoundaries:"Carregando limites…",fetchingUupgs:"Buscando {n} UUPGs…",mapStatusCounts:"Áreas: {polys} · zonas: {zones}/{total} · marcadores: {pins}",tapTerritoriesHint:"Toque em territórios no mapa ou em linhas da legenda para adicionar · toque de novo para remover",territoriesSelected:"Territórios: {count}",bandInRange:"✓ faixa 50–100",bandOutOfRange:"faixa 50–100",mapContextLost:"Este mapa foi descarregado para libertar memória gráfica.",nOfTotal:"{n} de {total}",mapInitFailed:"Falha ao iniciar o mapa — verifique o token e o contêiner",countryWallIntroA:"Um cartaz por país, pronto para orar, imprimir e pendurar na parede — orando por eles ",countryWallIntroB:". As regiões e os países são ordenados pelo número de povos não engajados que abrigam, para que a maior necessidade venha primeiro.",countryWallSoon:"Em breve: será gerada uma lista de oração para cada país, com o nome de cada povo não alcançado nele.",countryWallHeading:"Cartazes por país — Listas de oração e cartazes",largerScreenNotice:"Este mapa experimental foi feito para telas maiores. Ele abre aqui, mas algumas partes podem não caber ou não funcionar bem no celular.",desktopOnlyNotice:"{label} só funciona no computador — abra esta página num computador para usá-lo.",noticeDismiss:"Fechar",countryPosterTooMany:"Povos demais para caber de forma legível em um só cartaz — uma solução está a caminho."},"./locales/pt/pins.json":{approximate:"O ponto indica onde este povo se encontra, não uma cidade nem uma fronteira.",sharedPoint:"Está no mesmo ponto que {names} — {n} grupos partilham esta coordenada, por isso a posição indica a região e não onde está cada grupo."},"./locales/pt/popup.json":{country:{wagfRegion:"Região WAGF",wagfBlock:"Bloco WAGF",country:"País",uupgCount:"Número de UUPG"}},"./locales/pt/religion.json":{family:{Christianity:"Cristianismo",Islam:"Islão",Hinduism:"Hinduísmo",Buddhism:"Budismo",Ethnoreligion:"Etnorreligião",Judaism:"Judaísmo",Sikhism:"Siquismo",Unaffiliated:"Sem afiliação",Other:"Outra",Unknown:"Desconhecida"}},"./locales/pt/search.json":{placeholder:"Povo, local, língua, religião",placeholderNoPlaces:"Povo, língua, religião (a busca de locais requer um token do Mapbox)",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"},sections:{within:"Dentro de {selection}",allData:"Todos os dados DOXA"},upg100Placeholder:"Procurar povo, lista UPG-100 ou região…",tabPlaceholder:{languageFamilies:"Pesquisar família linguística, idioma, dialeto/variedade",affinityBlocks:"Pesquisar bloco de afinidade, agrupamento, povo",regions:"Pesquisar região, país, povo",religion:"Pesquisar religião, povo"},placeholderRegions:"Procurar região, país ou povo"},"./locales/pt/share.json":{embed_link:"Link de incorporação",add_to_website:"Adicione ao seu site",embed_paste_hint:"Cole este código no seu construtor de sites (WordPress, Squarespace, Wix ou qualquer site que aceite widgets HTML)."},"./locales/pt/tabs.json":{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",upg100Region:"Região",upg100Zone:"Listas UPG-100",upg100Group:"Grupo étnico",selectView:"Selecionar vista",views:"Vistas",prayerResources:"Recursos de oração",map:"Mapa",countryPosters:"Cartazes por país"},"./locales/pt/wall.json":{title:"Mural dos povos",toPortrait:"📱 Mudar para retrato",toLandscape:"🖼️ Mudar para paisagem",currentLandscape:"Atual: paisagem (4 × 3 pés)",currentPortrait:"Atual: retrato (3 × 4 pés)",resetZoom:"Repor zoom",groupsLoaded:"Carregados: {n}",loading:"A carregar povos…",offlineTitle:"Não foi possível aceder aos dados de oração em direto.",offlineBody:"O mural lê os seus povos de pray.doxa.life. Pode estar offline ou, num servidor de desenvolvimento local, a API pode não permitir o endereço desta página.",tryAgain:"Tentar novamente",prayedCount:"Oraram: {n}",viewPrayers:"Ver orações",prayerTools:"Ferramentas de oração",close:"Fechar",unknown:"Desconhecido",unknownGroup:"Povo desconhecido",status:"Estado:",unengaged:"não alcançado",prayingNow:"Está a orar agora por este povo?",yesPraying:"Sim, estou a orar",thankYou:"Obrigado por orar!",sharePrayer:"Partilhe a sua oração (opcional)",prayerPlaceholder:"Escreva a sua oração aqui…",sendPrayer:"Enviar oração",peopleGroup:"Povo",chatsTitle:"Conversas do povo",id:"ID:",location:"Local:",na:"N/D",havePrayed:"Oraram: {n}",youPrayed:"✓ Orou!",prayForGroup:"🙏 Orar por este povo",prayersComments:"Orações e comentários",noComments:"Ainda não há orações nem comentários. Seja o primeiro!",commentPlaceholder:"Partilhe a sua oração ou pensamentos…",postComment:"Publicar comentário",noPeopleId:"Este povo não tem PeopleID3",statusUnknown:"Estado desconhecido",printPoster:"🖨️ Imprimir cartaz HD",printPreparing:"Preparando o cartaz: {n} de {total} fotos",printMissing:"Fotos que não puderam ser carregadas: {n}. Elas são impressas como quadros cinza.",blessBanner:"Abençoem as nações em nome de Jesus",modeLabel:"Modo do mural",modeBless:"Abençoar",modeSocial:"Social",shareSoon:"O compartilhamento chega mais tarde.",drawLibError:"O mural não conseguiu carregar a sua biblioteca de desenho:",posterSize:"Tamanho do cartaz",posterSubtitle:"DOXA (δόξα) significa glória. Um movimento mundial de oração está abençoando estes {n} grupos de povos em nome de Jesus. Saiba mais e participe em pray.doxa.life.",glueHere:"cole aqui a folha de cima",themesLabel:"Temas de oração",oldTestament:"Antigo Testamento",newTestament:"Novo Testamento",themeTreasure:"Tesouro",themeMountain:"Monte",themeSea:"Mar",posterClosing:"Jesus Cristo é a pedra angular, e nós somos pedras vivas. Estes povos são a recompensa do seu sofrimento. Assumamos o nosso chamado sacerdotal: abençoemo-los em seu nome e unamo-nos à família mundial em oração.",journeyCalled:"O chamado",journeyPromised:"A promessa",journeyRedeemed:"Redimidos",journeyCornerstone:"A pedra angular",journeyChildren:"Filhos de Abraão",journeyPriesthood:"Um sacerdócio real",journeySent:"Enviados aos perdidos",peopleGroupCount:"{n} povo | {n} de povos | {n} povos",listCount:"{n} lista | {n} de listas | {n} listas",stockCard:"Cartão",stockPostcard:"Cartão-postal",stockLandscape:"paisagem",hud:{kindPoster:"Cartaz",kindList:"Lista",kindPacket:"Pacote de oração",fetchingPoster:"obtendo o cartaz",generatingPoster:"gerando o cartaz",openingPrint:"abrindo a caixa de impressão",printOpened:"caixa de impressão aberta",saving:"salvando",fetchingRecords:"obtendo registros",fetchingGroups:"obtendo povos",layingOutRows:"diagramando {n} linha | diagramando {n} de linhas | diagramando {n} linhas",layingOutCards:"diagramando {n} cartão | diagramando {n} de cartões | diagramando {n} cartões",printingGroups:"imprimindo {n} povo | imprimindo {n} de povos | imprimindo {n} povos",kindCardDeck:"Baralho de cartões",kindPrayerList:"Lista de oração",saved:"salvo",noRecords:"essa lista não tem povos para imprimir",noPoster:"não há cartaz disponível para esta lista",posterNotFound:"cartaz não encontrado ({status})",posterBlank:"o cartaz gerado saiu em branco",noApi:"nenhum serviço de povos está configurado",fetchFailed:"não foi possível carregar os povos ({status})"},posterAlt:"{label} — cartaz de oração",posterAltAction:"{label} — cartaz de oração (clique para visualizar e imprimir)"},"./locales/ro/allPeopleGroups.json":{title:"Toate grupurile etnice",locations:"{n} locații (grup × țară)",doxa:"Grupuri etnice DOXA",frontier:"Frontieră — nimic început",unreached:"Neatinse — lucrarea începe",reached:"Atinse — biserica este acolo",hint:"Faceți clic pe un rând pentru a le vedea pe toate · din nou pentru tot",loading:"Se încarcă toate grupurile etnice…",loadError:"Harta nu a putut fi încărcată.",pray:"Rugați-vă pentru ei →",population:"pop. {n}"},"./locales/ro/aria.json":{backToLegend:"Înapoi la legendă",closeDetailView:"Închide vizualizarea detaliată",collapseLegend:"Restrânge legenda",expandLegend:"Extinde legenda",toggleLegend:"Afișează sau ascunde legenda",searchPeopleGroups:"Caută popoare",resetAllFilters:"Resetează toate filtrele și căutarea",selectAllRows:"Selectează toate rândurile",deselectAllRows:"Deselectează toate rândurile",rowDetail:"Detaliu rând",dismissHint:"Închide sugestia",resizeFiltersRail:"Redimensionează bara de filtre",resizeFiltersRailHint:"Trage sau folosește tastele săgeată pentru a redimensiona bara de filtre",resizeChartsRail:"Redimensionează bara de grafice",resizeChartsRailHint:"Trage sau folosește tastele săgeată pentru a redimensiona bara de grafice",resizeMapTableSplit:"Redimensionează împărțirea hartă/tabel",resizeMapTableSplitHint:"Trage sau folosește tastele săgeată pentru a redimensiona împărțirea hartă/tabel",resizeTable:"Redimensionează înălțimea tabelului",resizeTableHint:"Trage sau folosește tastele săgeată pentru a redimensiona tabelul",resizeDashboardHeight:"Redimensionează înălțimea tabloului de bord",resizeDashboardHeightHint:"Trage sau folosește tastele săgeată pentru a redimensiona înălțimea tabloului de bord",removeFilter:"Elimină filtrul {name}",closeDetail:"Închide detaliul",filterBreadcrumb:"Traseul filtrelor",railViews:"Vizualizările barei",upgCountLegend:"Legenda numărului de UPG",donutChart:"Diagramă inelară: {title}"},"./locales/ro/buttons.json":{prayForThem:"Roagă-te pentru ei",adoptThem:"Adoptă-i",moreInfo:"Mai multe informații",zoomIn:"Mărește",zoomOut:"Micșorează",switchToLightMode:"Comută la modul luminos",switchToDarkMode:"Comută la modul întunecat",resetView:"Resetează vizualizarea",toggleFullscreen:"Comută ecran complet",aboutThisMap:"Despre această hartă",closeMenu:"Închide meniul",reloadMap:"Reîncarcă harta",showClusters:"Arată clusterele",clusterSettings:"Setări clustere",startAutoFly:"Pornește zborul automat",stopFlight:"Oprește zborul",speedLabel:"Viteză:",speedOption:{slow:"Lent",normal:"Normal",fast:"Rapid"},shareEmbed:"Partajează și încorporează",posterMap:"Harta afișului",prayerList:"Listă de rugăciune",cardDeck:"Pachet de cartonașe",printOptions:"Opțiuni de tipărire",showOnMap:"Arată pe hartă",close:"Închide",showOnMapAria:"Arată {label} pe hartă",cardStockAria:"Dimensiunea cardului de rugăciune",previewPrintPoster:"Previzualizează și tipărește posterul {label}",share:"Distribuie",shareSteps:["Încorporează această hartă pe site-ul tău","Fă o listă cu site-urile din orașul tău","Învață-i să o încorporeze și ei","Învață-i să îi formeze pe alții să o încorporeze","Să multiplicăm hărți pretutindeni pentru Isus!"],clearSelection:"Șterge selecția",noOptions:"Nicio opțiune găsită",renderingLocal:"O imagine de calitate pentru tipar este generată în browserul tău — nimic nu este încărcat.",postersPerRow:"Postere pe rând",packetVariantAria:"Nivelul de detaliu al pachetului de rugăciune",packetFull:"Detaliu complet",packetLightweight:"Redus",working:"Se procesează…",postersPerRowAuto:"Automat"},"./locales/ro/controls.json":{research_controls:"Comenzi de cercetare",clustering:"Grupare",filters:"Filtre",pin_dim:"Estompare puncte",export_poster:"Exportă posterul…",reload_data:"Reîncarcă datele",off:"Oprit",native:"Nativ",mst:"MST",network:"Rețea",off_desc:"Arată fiecare punct separat",native_desc:"Grupuri circulare Mapbox (cel mai rapid)",mst_desc:"Rețele de afinitate prin arbore minim de acoperire",network_desc:"Linii către cel mai apropiat vecin",search_languages:"Caută limbi…",search_religions:"Caută religii…",reset_all:"Resetează tot",no_languages:"Nicio limbă încărcată încă",no_religions:"Nicio religie încărcată încă",unadopted:"Neadoptat",min:"min",max:"max",adopted:"Adoptat",adoption:"Adopție",engaged:"Implicat",engagement:"Implicare",unengaged:"Necesită implicare",language:"Limbă",religion:"Religie",population:"Populație",any:"Oricare",active_count:"{n} active",prayer_status:"Stare de rugăciune",close:"Închide",clear:"Șterge",map_controls:"Comenzile hărții",clusters:"Grupuri",mst_full_name:"Arbore de acoperire minim",mst_hint:"dă clic pe un rând din legendă pentru a grupa doar acel grup"},"./locales/ro/dashboard.json":{bloc:"Bloc de afinitate",gospel_access:"Acces la Evanghelie",people:"Popoare",people_name:"Popor (nume)",praying:"Se roagă",religion_family:"Familie religioasă",search_language:"Caută limbă",search_people:"Caută popor",search_place:"Caută loc",search_religion:"Caută religie",upgs_in_scope:"UPG în domeniu",countries_touched:"țări atinse",unreached:"neatinși",sum_population:"Σ populație",sum_praying:"Σ se roagă",charts:"Grafice",table:"Tabel",cluster:"Grup",country:"Țară",engagement:"Implicare",language:"Limbă",language_family:"Familie de limbi",people_group:"Popor",population:"Populație",prayer:"Rugăciune",region:"Regiune",religion:"Religie",status:"Stare",adopted:"Adoptat",filters:"Filtre",gospel_resources:"Resurse ale Evangheliei",map:"Hartă",search_placeholder:"Caută popoare, locuri, limbi, religii…",any:"Oricare",active_count:"{n} active",prayer_status:"Stare de rugăciune",map_controls:"Comenzile hărții",close:"Închide",clear:"Șterge",dashboard_title:"Tablou de bord de cercetare general",align_dashboard:"Aliniază tabloul",align_dashboard_tip:"Readu aranjarea tabloului la alinierea implicită",selected:"Selectat",world:"Lume",vertical_legend:"Legendă verticală",groups_in_scope:"popoare în domeniu",filter_by:"Filtrează după",remove_filter:"Elimină filtrul",groups:"popoare",expand:"Extinde",collapse:"Restrânge",place:"Loc",export_csv:"Exportă CSV",detail:"Detaliu",detail_empty:"Selectează un popor pentru a vedea detaliile",heartbeat_zone:"zona bătăilor inimii",top_countries:"Țări de top",select_all:"Selectează tot",expand_table:"Extinde tabelul",collapse_table:"Restrânge tabelul — mărește harta",group:"popor",deselect_all:"Deselectează tot",results_live:"{count} din {total} {unit} afișate",filters_live:"Filtre: {list}",search_live:"Căutare: {term}",adopted_by_churches:"Adoptate de biserici",bp_title:"Imaginea de ansamblu — tablou de bord unificat de cercetare",bp_subtitle:"Caută și filtrează grupurile de oameni din lume · cele mai puțin atinse primele",export_selection:"Exportă această selecție",map_loading:"Se încarcă harta de cercetare…",no_match:"Niciun grup de oameni nu se potrivește cu „{q}”.",no_photo:"Nicio fotografie",only_selected:"Doar cele selectate",only_selected_hint:"Arată doar grupurile de oameni selectate",people_committed:"Persoane angajate",people_praying:"Persoane care se roagă",selected_first:"Cele selectate primele",selected_first_hint:"Ridică grupurile de oameni selectate în partea de sus, păstrând sortarea coloanelor",n_shown:"{n} afișate",other:"Altele",wagfRegion:{africa:"Africa",asia:"Asia",europe:"Europa","latin_america_&_caribbean":"America Latină",oceania:"Oceania",middle_east:"Orientul Mijlociu","north_america_&_non-spanish_caribbean":"America de Nord și Caraibe nehispanice"},sort_by_column_hint:"Sortează acest tabel după {column} — Shift+clic adaugă o a doua coloană. Sortarea ordonează doar tabelul; cardurile își păstrează propria ordine.",fs_exit_hint:"Ieși din ecran complet (Esc) — înapoi la șapte rânduri",fs_open_hint:"Deschide acest tabel pe ecran complet",fs_exit:"Ieși din ecran complet",fs_open:"Deschide tabelul pe ecran complet",export_selected_hint:"Exportă toate câmpurile — popoare selectate: {n}",export_all_hint:"Exportă toate câmpurile — popoare: {n}",map_init_failed:"Harta nu a putut porni. Verificați jetonul de acces și containerul hărții.",show_filters:"Arată filtrele",hide_filters:"Ascunde filtrele — mărește harta",show_charts:"Arată graficele",hide_charts:"Ascunde graficele — mărește harta",export_copied:"copiat în clipboard",export_done:"exportat",export_ready:"gata",export_toast:"✓ {rows} rânduri × {fields} câmpuri {how}",export_failed:"✕ Exportul a eșuat",pray_for_group:"Roagă-te pentru acest popor",more_information:"Mai multe informații",title:"Tablou de bord de cercetare",gospel_pending:"Încă nu este gata: cifra celor neatinși, cheia sursei de date și forma interfeței sunt încă de hotărât."},"./locales/ro/detail.json":{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ă."}},"./locales/ro/grid.json":{search:"Caută popoare…",hide_filters:"Ascunde filtrele",show_filters:"Arată filtrele",total:"Total",showing:"Se afișează",load_more:"Încarcă mai mult",full_profile:"Profil complet",wagf_region:"Regiune",wagf_block:"Bloc de afinitate",rop1:"Popor",religion:"Religie",exact_filter:"Exact",clear_all:"Șterge tot",loading:"Se încarcă…",no_results:"Niciun popor nu corespunde acestui filtru.",type_to_search:"Scrie pentru a căuta...",load_failed:"Datele despre popoare nu au putut fi încărcate. Este o problemă de conexiune, nu a filtrului.",search_people_or_countries:"Caută popoare sau țări…",cards_per_row:"Carduri pe rând",cards_per_row_auto:"Automat"},"./locales/ro/legend.json":{title:{adoption:"Progresul adopției",affinityBlocs:"Blocuri de afinitate",doxaRegions:"Regiuni Doxa",engagement:"Progresul implicării",gospelResources:"Resurse ale Evangheliei",languageFamilies:"Familii de limbi",prayer:"Progresul rugăciunii",upg100List:"Lista mea UPG 100",batchSelect:"Selecție multiplă"},header:{collapsed:"Legendă",peopleGroupFallback:"Grup de popoare",default:"Legendă"},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",name:"Nume"},footer:{total:"Total"},sortByUpgs:"Sortează după UUPG",sortByPop:"Sortează după populație",colLabel:{religion:"Religii UUPG",prayer:"Starea rugăciunii",engagement:"Starea implicării",adoption:"Starea adopției",status:"Stare"},titleBar:{legend:"Legendă",peopleGroups:"Popoare",wagfRegions:"Regiuni WAGF",languages:"Limbi"},tabInfo:{upg100Region:"Regiune — sortează listele UPG-100 după zona lumii (Africa, India, Orientul Mijlociu, Surzi, …). Totalurile sunt UUPG-urile și populația însumate din fiecare listă de dedesubt.",upg100Zone:"Liste UPG-100 — fiecare este o listă de rugăciune a grupurilor etnice neatinse dintr-o zonă și este ceea ce harta desenează și colorează. Fiecare listă se tipărește ca propriul pachet.",upg100Group:"Grup etnic — grupurile neatinse dintr-o listă, mai întâi cele cu cea mai mare nevoie de rugăciune. Fiecare punct de pe hartă este unul dintre ele.",family:"Familie de limbi — un grup de limbi provenite dintr-un strămoș comun (de ex. indo-europeană, afro-asiatică).",language:"Limbă — un sistem de comunicare folosit de un popor (de ex. arabă, bengaleză, hindi).",dialect:"Dialect/Variantă — o formă regională sau socială a unei limbi (de ex. araba sudaneză; limbajul semnelor pakistanez).",bloc:"Bloc de afinitate — cea mai largă grupare, după înrudirea culturală, lingvistică și geografică (de ex. popoarele malaieze, popoarele din Asia de Sud, surzii, lumea arabă).",cluster:"Grup — o grupare mai fină în interiorul unui bloc (de ex. Borneo-Kalimantan între popoarele malaieze). Rândurile poartă „(grup)”, spre a le deosebi de popoare.",group:"Popor — o identitate etnolingvistică în sine, independentă de țară. Rândurile poartă „(popor)”. Același popor poate trăi în multe țări (surzii, de pildă, în peste o sută).",pgic:"Popor în țară — câte un rând pentru fiecare popor din fiecare țară în care trăiește (de ex. „Abai Sungai, Malaysia”). Rândurile poartă „(popor în țară)”.",region:"Regiune WAGF — macroregiunea de care ține o țară (de ex. Asia, Africa). Fiecare are culoarea ei pe hartă.",block:"Bloc WAGF — subdiviziunea din interiorul unei regiuni (de ex. Asia de Sud-Est, Africa de Vest).",country:"Țară — țările una câte una, ordonate după populația neatinsă din blocul lor."},a11y:{expandRow:"Extinde {label}",collapseRow:"Restrânge {label}",clearSelection:"Șterge selecția",goUp:"Urcă la {label}"},export:{poster:"Afiș",packet:"UPG 100",packetExplain:"O listă de rugăciune de aproximativ 50-100 de popoare neatinse — o persoană poate purta una.",packetAria:"Nivelul de detaliu al pachetului de rugăciune",packetFull:"Detaliu complet",packetLightweight:"Redus"},noDataAtThisLevel:"Nu există date la acest nivel",exportButton:"Exportă",exportSelection:"Exportă selecția",loadingRows:"Se încarcă {label}…",loadingData:"Se încarcă datele…",showingTop:"Se afișează primele {n} din {m}",useGeocoderHint:"folosește căutarea de mai sus pentru a le găsi pe celelalte",noList:"Nicio listă încărcată."},"./locales/ro/lists.json":{doxa:{label:"Proiectul 2000: popoarele DOXA",definition:"Popoarele pe care DOXA le slujește, așa cum le dă lista sa live"},unreached:{label:"Proiectul 7000: popoare neatinse",definition:"Prioritatea de pierzare IMB 0–2 (neatinse de frontieră, pionier sau în expansiune: sub 2% evanghelici)"},frontier:{label:"Proiectul 4700: popoare de frontieră",definition:"Prioritatea de pierzare IMB 0 (neatinse de frontieră: 0,1% evanghelici sau mai puțin)"},"frontier-500k":{label:"Proiectul 700: popoare de frontieră de 500.000 sau mai mult",definition:"Prioritatea de pierzare IMB 0 și o populație de cel puțin 500.000"},unengaged:{label:"Popoare neatinse și neangajate",definition:"Prioritatea de pierzare IMB 0–2 și starea de angajare: neangajat"}},"./locales/ro/mapui.json":{map:"Hartă",marker:"Marcaj pe hartă",closePopup:"Închide fereastra",zoomIn:"Mărește",zoomOut:"Micșorează",resetBearing:"Trage pentru a roti harta, apasă pentru a reveni la nord",toggleAttribution:"Afișează/ascunde atribuirea",mapFeedback:"Feedback despre hartă",enterFullscreen:"Ecran complet",exitFullscreen:"Ieși din ecran complet",findMyLocation:"Găsește-mi locația",locationNotAvailable:"Locație indisponibilă",enableGlobe:"Activează globul",disableGlobe:"Dezactivează globul",ctrlScroll:"Folosește Ctrl + derulare pentru a mări harta",cmdScroll:"Folosește ⌘ + derulare pentru a mări harta",twoFingers:"Folosește două degete pentru a muta harta",mapboxHomepage:"Pagina principală Mapbox",maplibreLogo:"Sigla MapLibre"},"./locales/ro/messages.json":{menuComingSoon:"Meniu în curând",pinHint:{tapDot:"Atinge un punct colorat — cineva are încă nevoie de rugăciune"},upg100WallHeading:"Lista mea UPG 100 — Liste de rugăciune și afișe",upg100WallTag:"Mobilizare pentru rugăciune",upg100WallIntroA:"Cum ai hrăni o mulțime de cinci mii? Isus i-a așezat în grupuri de cincizeci și de o sută, iar imposibilul a devenit împărțibil (Luca 9:14). Am făcut la fel cu cele 2.106 popoare neatinse: 27 de liste de aproximativ cincizeci până la o sută. Fiecare listă se tipărește ca pachet de rugăciune și afiș, ca 27 de ucenici, biserici sau lideri locali să poarte fiecare câte una — rugându-se pentru ei ",upg100WallIntroEmph:"pe numele poporului lor",upg100WallIntroB:".",loadingNamed:"Se încarcă {name}…",couldNotLoadNamed:"Nu s-a putut încărca {name}.",engineMissing:"Motorul de hartă {engine} nu s-a încărcat.",packetFailed:"Broșura a eșuat: {reason}",selectionPacketFailed:"Broșura selecției a eșuat: {reason}",posterOneTerritory:"Afișul tipărește un teritoriu pe rând — {count} selectate.",selectionPosterFailed:"Afișul selecției a eșuat: {reason}",mapUnavailable:"Harta indisponibilă",copied:"Copiat!",copyFailed:"Copierea a eșuat — apasă Ctrl/Cmd-C",engineNotLoaded:"motorul de hărți nu s-a încărcat",engineNotLoadedDetail:"Motorul de hărți {engine} nu s-a încărcat. Lista și legenda nu sunt afectate.",viewLoadFailed:"Această vizualizare nu s-a putut încărca.",retry:"Reîncearcă",noMapboxToken:"Niciun token Mapbox",noMapboxTokenDetail:"Nu este configurat niciun token Mapbox. Lista și legenda nu sunt afectate.",loadingBoundaries:"Se încarcă granițele…",fetchingUupgs:"Se preiau {n} UUPG…",mapStatusCounts:"Suprafețe: {polys} · zone: {zones}/{total} · repere: {pins}",tapTerritoriesHint:"Atingeți teritorii pe hartă sau rânduri din legendă pentru a le adăuga · atingeți din nou pentru a le elimina",territoriesSelected:"Teritorii: {count}",bandInRange:"✓ interval 50–100",bandOutOfRange:"interval 50–100",mapContextLost:"Această hartă a fost descărcată pentru a elibera memoria grafică.",nOfTotal:"{n} din {total}",mapInitFailed:"Harta nu a putut fi inițializată — verificați tokenul și containerul",countryWallIntroA:"Câte un afiș pentru fiecare țară, gata de rugăciune, de tipărit și de pus pe perete — rugându-ne pentru ei ",countryWallIntroB:". Regiunile și țările sunt ordonate după câte popoare neatinse cuprind, pentru ca nevoia cea mai mare să fie prima.",countryWallSoon:"În curând: pentru fiecare țară va fi generată o listă de rugăciune care numește fiecare popor neatins din ea.",countryWallHeading:"Afișe pe țări — Liste de rugăciune și afișe",largerScreenNotice:"Această hartă experimentală este făcută pentru ecrane mari. Se deschide aici, dar unele părți s-ar putea să nu încapă sau să nu funcționeze bine pe telefon.",desktopOnlyNotice:"{label} funcționează doar pe desktop — deschideți pagina pe un computer pentru a-l folosi.",noticeDismiss:"Închide",countryPosterTooMany:"Prea multe popoare pentru a încăpea lizibil pe un singur afiș — lucrăm la o soluție."},"./locales/ro/pins.json":{approximate:"Punctul arată unde se află acest popor, nu un oraș sau o graniță.",sharedPoint:"Se află în același punct cu {names} — {n} grupuri împart această coordonată, deci poziția arată zona, nu unde se află fiecare grup."},"./locales/ro/popup.json":{country:{wagfRegion:"Regiunea WAGF",wagfBlock:"Blocul WAGF",country:"Țară",uupgCount:"Număr de UUPG"}},"./locales/ro/religion.json":{family:{Christianity:"Creștinism",Islam:"Islam",Hinduism:"Hinduism",Buddhism:"Budism",Ethnoreligion:"Etnoreligie",Judaism:"Iudaism",Sikhism:"Sikhism",Unaffiliated:"Fără afiliere",Other:"Altele",Unknown:"Necunoscută"}},"./locales/ro/search.json":{placeholder:"Popor, loc, limbă, religie",placeholderNoPlaces:"Popor, limbă, religie (căutarea locurilor necesită un token Mapbox)",labels:{people:"Popor:",place:"Loc:",language:"Limbă:",religion:"Religie:"},sections:{within:"În {selection}",allData:"Toate datele DOXA"},kinds:{people:"Popor + țară",peopleGroup:"Popor",bloc:"Bloc de afinitate",cluster:"Grup de popoare",country:"Țară",region:"Regiune",family:"Familie de limbi",languageKind:"Limbă",dialect:"Dialect",religionKind:"Religie"},upg100Placeholder:"Caută popor, listă UPG-100 sau regiune…",tabPlaceholder:{languageFamilies:"Caută familie de limbi, limbă, dialect/variantă",affinityBlocks:"Caută bloc de afinitate, grup, popor",regions:"Caută regiune, țară, popor",religion:"Caută religie, popor"},placeholderRegions:"Caută regiune, țară sau popor"},"./locales/ro/share.json":{embed_link:"Link de încorporare",add_to_website:"Adaugă pe site-ul tău",embed_paste_hint:"Lipește acest cod în constructorul site-ului tău (WordPress, Squarespace, Wix sau orice site care acceptă widget-uri HTML)."},"./locales/ro/tabs.json":{prayer:"Rugăciune",adoption:"Adopție",engagement:"Implicare","affinity-blocks":"Popoare",regions:"Regiuni",countries:"Țări","language-families":"Limbi",religion:"Religii",family:"Familie de limbi",language:"Limbă",dialect:"Dialect/Variantă",bloc:"Bloc de afinitate",cluster:"Grup",group:"Popor",pgic:"Popor în țară",region:"Regiune WAGF",block:"Bloc WAGF",country:"Țară",upg100Region:"Regiune",upg100Zone:"Liste UPG-100",upg100Group:"Grup etnic",selectView:"Alege vizualizarea",views:"Vizualizări",prayerResources:"Resurse de rugăciune",map:"Hartă",countryPosters:"Afișe pe țări"},"./locales/ro/wall.json":{title:"Zidul popoarelor",toPortrait:"📱 Treci la portret",toLandscape:"🖼️ Treci la peisaj",currentLandscape:"Actual: peisaj (4 × 3 picioare)",currentPortrait:"Actual: portret (3 × 4 picioare)",resetZoom:"Resetează zoomul",groupsLoaded:"Încărcate: {n}",loading:"Se încarcă popoarele…",offlineTitle:"Datele de rugăciune în timp real nu pot fi accesate.",offlineBody:"Zidul își citește popoarele de pe pray.doxa.life. Poate sunteți offline sau, pe un server de dezvoltare local, API-ul nu permite adresa acestei pagini.",tryAgain:"Încearcă din nou",prayedCount:"Au rugat: {n}",viewPrayers:"Vezi rugăciunile",prayerTools:"Instrumente de rugăciune",close:"Închide",unknown:"Necunoscut",unknownGroup:"Popor necunoscut",status:"Stare:",unengaged:"neatins",prayingNow:"Vă rugați acum pentru acest popor?",yesPraying:"Da, mă rog",thankYou:"Mulțumim că vă rugați!",sharePrayer:"Împărtășiți rugăciunea (opțional)",prayerPlaceholder:"Scrieți rugăciunea aici…",sendPrayer:"Trimite rugăciunea",peopleGroup:"Popor",chatsTitle:"Conversațiile poporului",id:"ID:",location:"Locație:",na:"N/A",havePrayed:"Au rugat: {n}",youPrayed:"✓ V-ați rugat!",prayForGroup:"🙏 Roagă-te pentru acest popor",prayersComments:"Rugăciuni și comentarii",noComments:"Încă nu există rugăciuni sau comentarii. Fiți primul!",commentPlaceholder:"Împărtășiți rugăciunea sau gândurile…",postComment:"Publică comentariul",noPeopleId:"Acest popor nu are PeopleID3",statusUnknown:"Stare necunoscută",printPoster:"🖨️ Tipărește afișul HD",printPreparing:"Se pregătește afișul: {n} din {total} fotografii",printMissing:"Fotografii care nu s-au putut încărca: {n}. Se tipăresc ca pătrate gri.",blessBanner:"Binecuvântați națiunile în Numele lui Isus",modeLabel:"Modul zidului",modeBless:"Binecuvântare",modeSocial:"Social",shareSoon:"Partajarea vine mai târziu.",drawLibError:"Zidul nu și-a putut încărca biblioteca de desen:",posterSize:"Dimensiunea afișului",posterSubtitle:"DOXA (δόξα) înseamnă slavă. O mișcare globală de rugăciune binecuvântează aceste {n} grupuri de popoare în Numele lui Isus. Aflați mai multe și alăturați-vă pe pray.doxa.life.",glueHere:"lipiți aici foaia de deasupra",themesLabel:"Teme de rugăciune",oldTestament:"Vechiul Testament",newTestament:"Noul Testament",themeTreasure:"Comoară",themeMountain:"Munte",themeSea:"Mare",posterClosing:"Isus Hristos este piatra din capul unghiului, iar noi suntem pietre vii. Aceste popoare sunt răsplata suferinței Lui. Să ne asumăm chemarea preoțească: să le binecuvântăm în Numele Lui și să ne alăturăm familiei globale în rugăciune.",journeyCalled:"Chemarea",journeyPromised:"Promisiunea",journeyRedeemed:"Răscumpărați",journeyCornerstone:"Piatra din capul unghiului",journeyChildren:"Copiii lui Avraam",journeyPriesthood:"O preoție împărătească",journeySent:"Trimiși la cei pierduți",peopleGroupCount:"{n} popor | {n} popoare | {n} de popoare",listCount:"{n} listă | {n} liste | {n} de liste",stockCard:"Card",stockPostcard:"Carte poștală",stockLandscape:"orizontal",hud:{kindPoster:"Afiș",kindList:"Listă",kindPacket:"Pachet de rugăciune",fetchingPoster:"se preia afișul",generatingPoster:"se generează afișul",openingPrint:"se deschide fereastra de tipărire",printOpened:"fereastra de tipărire s-a deschis",saving:"se salvează",fetchingRecords:"se preiau datele",fetchingGroups:"se preiau popoarele",layingOutRows:"se așază {n} rând | se așază {n} rânduri | se așază {n} de rânduri",layingOutCards:"se așază {n} carte | se așază {n} cărți | se așază {n} de cărți",printingGroups:"se tipărește {n} popor | se tipăresc {n} popoare | se tipăresc {n} de popoare",kindCardDeck:"Pachet de cartonașe",kindPrayerList:"Listă de rugăciune",saved:"salvat",noRecords:"lista nu conține popoare de tipărit",noPoster:"nu există un afiș disponibil pentru această listă",posterNotFound:"afișul nu a fost găsit ({status})",posterBlank:"afișul generat a ieșit gol",noApi:"niciun serviciu de popoare nu este configurat",fetchFailed:"popoarele nu au putut fi încărcate ({status})"},posterAlt:"{label} — afiș de rugăciune",posterAltAction:"{label} — afiș de rugăciune (clic pentru previzualizare și tipărire)"},"./locales/ru/allPeopleGroups.json":{title:"Все народы",locations:"{n} мест (народ × страна)",doxa:"Народы DOXA",frontier:"Рубежные — ничего не начато",unreached:"Недостигнутые — работа начинается",reached:"Достигнутые — церковь есть",hint:"Нажмите на строку, чтобы увидеть все · ещё раз — чтобы показать всё",loading:"Загрузка всех народов…",loadError:"Не удалось загрузить карту.",pray:"Молиться за них →",population:"нас. {n}"},"./locales/ru/aria.json":{backToLegend:"Назад к легенде",closeDetailView:"Закрыть подробный вид",collapseLegend:"Свернуть легенду",expandLegend:"Развернуть легенду",toggleLegend:"Показать или скрыть легенду",searchPeopleGroups:"Поиск народов",resetAllFilters:"Сбросить все фильтры и поиск",selectAllRows:"Выбрать все строки",deselectAllRows:"Снять выделение со всех строк",rowDetail:"Подробности строки",dismissHint:"Скрыть подсказку",resizeFiltersRail:"Изменить размер панели фильтров",resizeFiltersRailHint:"Перетащите или используйте клавиши со стрелками, чтобы изменить размер панели фильтров",resizeChartsRail:"Изменить размер панели диаграмм",resizeChartsRailHint:"Перетащите или используйте клавиши со стрелками, чтобы изменить размер панели диаграмм",resizeMapTableSplit:"Изменить соотношение карты и таблицы",resizeMapTableSplitHint:"Перетащите или используйте клавиши со стрелками, чтобы изменить соотношение карты и таблицы",resizeTable:"Изменить высоту таблицы",resizeTableHint:"Перетащите или используйте клавиши со стрелками, чтобы изменить размер таблицы",resizeDashboardHeight:"Изменить высоту панели",resizeDashboardHeightHint:"Перетащите или используйте клавиши со стрелками, чтобы изменить высоту панели",removeFilter:"Удалить фильтр {name}",closeDetail:"Закрыть подробности",filterBreadcrumb:"Цепочка фильтров",railViews:"Виды панели",upgCountLegend:"Легенда количества UPG",donutChart:"Кольцевая диаграмма: {title}"},"./locales/ru/buttons.json":{prayForThem:"Молитесь о них",adoptThem:"Усыновите их",moreInfo:"Подробнее",zoomIn:"Приблизить",zoomOut:"Отдалить",switchToLightMode:"Переключить на светлый режим",switchToDarkMode:"Переключить на тёмный режим",resetView:"Сбросить вид",toggleFullscreen:"Полноэкранный режим",aboutThisMap:"Об этой карте",closeMenu:"Закрыть меню",reloadMap:"Перезагрузить карту",showClusters:"Показать кластеры",clusterSettings:"Настройки кластеров",startAutoFly:"Начать авто-полёт",stopFlight:"Остановить полёт",speedLabel:"Скорость:",speedOption:{slow:"Медленно",normal:"Нормально",fast:"Быстро"},shareEmbed:"Поделиться и встроить",posterMap:"Карта плаката",prayerList:"Молитвенный список",cardDeck:"Набор карточек",printOptions:"Параметры печати",showOnMap:"Показать на карте",close:"Закрыть",showOnMapAria:"Показать {label} на карте",cardStockAria:"Размер молитвенной карточки",previewPrintPoster:"Просмотр и печать плаката {label}",share:"Поделиться",shareSteps:["Разместите эту карту на своём сайте","Составьте список сайтов вашего города","Научите их тоже размещать её","Научите их учить других размещать её","Умножим карты повсюду для Иисуса!"],clearSelection:"Снять выделение",noOptions:"Ничего не найдено",renderingLocal:"Изображение типографского качества создаётся в вашем браузере — ничего не загружается на сервер.",postersPerRow:"Плакатов в ряду",packetVariantAria:"Детализация молитвенного пакета",packetFull:"Полная версия",packetLightweight:"Краткая версия",working:"Выполняется…",postersPerRowAuto:"Авто"},"./locales/ru/controls.json":{research_controls:"Инструменты исследования",clustering:"Кластеризация",filters:"Фильтры",pin_dim:"Прозрачность точек",export_poster:"Экспорт постера…",reload_data:"Обновить данные",off:"Выкл.",native:"Встроенная",mst:"MST",network:"Сеть",off_desc:"Показывать каждую точку отдельно",native_desc:"Круговые кластеры Mapbox (быстрее всего)",mst_desc:"Сети родства по минимальному остовному дереву",network_desc:"Линии до ближайшего соседа",search_languages:"Поиск языков…",search_religions:"Поиск религий…",reset_all:"Сбросить всё",no_languages:"Языки ещё не загружены",no_religions:"Религии ещё не загружены",unadopted:"Не усыновлён",min:"мин",max:"макс",adopted:"Ответственность взята",adoption:"Усыновление",engaged:"Вовлечён",engagement:"Вовлечённость",unengaged:"Нуждается в вовлечённости",language:"Язык",religion:"Религия",population:"Население",any:"Любой",active_count:"{n} активно",prayer_status:"Статус молитвы",close:"Закрыть",clear:"Очистить",map_controls:"Элементы управления картой",clusters:"Кластеры",mst_full_name:"Минимальное остовное дерево",mst_hint:"нажмите строку легенды, чтобы сгруппировать только эту группу"},"./locales/ru/dashboard.json":{bloc:"Блок родства",gospel_access:"Доступ к Евангелию",people:"Народы",people_name:"Народ (название)",praying:"Молятся",religion_family:"Семья религий",search_language:"Поиск языка",search_people:"Поиск народа",search_place:"Поиск места",search_religion:"Поиск религии",upgs_in_scope:"UPG в выборке",countries_touched:"затронутых стран",unreached:"неохваченные",sum_population:"Σ население",sum_praying:"Σ молящихся",charts:"Графики",table:"Таблица",cluster:"Кластер",country:"Страна",engagement:"Вовлечённость",language:"Язык",language_family:"Языковая семья",people_group:"Народ",population:"Население",prayer:"Молитва",region:"Регион",religion:"Религия",status:"Статус",adopted:"Ответственность взята",filters:"Фильтры",gospel_resources:"Евангельские ресурсы",map:"Карта",search_placeholder:"Поиск народов, мест, языков, религий…",any:"Любой",active_count:"{n} активно",prayer_status:"Статус молитвы",map_controls:"Элементы управления картой",close:"Закрыть",clear:"Очистить",dashboard_title:"Обзорная исследовательская панель",align_dashboard:"Выровнять панель",align_dashboard_tip:"Вернуть расположение панели к виду по умолчанию",selected:"Выбрано",world:"Мир",vertical_legend:"Вертикальная легенда",groups_in_scope:"народов в выборке",filter_by:"Фильтровать по",remove_filter:"Убрать фильтр",groups:"народов",expand:"Развернуть",collapse:"Свернуть",place:"Место",export_csv:"Экспорт CSV",detail:"Подробности",detail_empty:"Выберите народ, чтобы увидеть подробности",heartbeat_zone:"зона сердцебиения",top_countries:"Основные страны",select_all:"Выбрать все",expand_table:"Развернуть таблицу",collapse_table:"Свернуть таблицу — увеличить карту",group:"народ",deselect_all:"Снять выделение",results_live:"Показано {count} из {total} {unit}",filters_live:"Фильтры: {list}",search_live:"Поиск: {term}",adopted_by_churches:"Взяты церквями",bp_title:"Общая картина — единая исследовательская панель",bp_subtitle:"Поиск и фильтрация народов мира · наименее охваченные первыми",export_selection:"Экспортировать этот выбор",map_loading:"Загрузка исследовательской карты…",no_match:"Нет народов, соответствующих «{q}».",no_photo:"Нет фото",only_selected:"Только выбранные",only_selected_hint:"Показывать только выбранные народы",people_committed:"Взявшие обязательство",people_praying:"Молящиеся",selected_first:"Выбранные сначала",selected_first_hint:"Поднять выбранные народы наверх, сохранив сортировку столбцов",n_shown:"{n} показано",other:"Другое",wagfRegion:{africa:"Африка",asia:"Азия",europe:"Европа","latin_america_&_caribbean":"Латинская Америка",oceania:"Океания",middle_east:"Ближний Восток","north_america_&_non-spanish_caribbean":"Северная Америка и неиспаноязычные Карибы"},sort_by_column_hint:"Сортировать таблицу по столбцу «{column}» — Shift+щелчок добавляет второй столбец. Сортировка меняет порядок только в таблице; карточки сохраняют свой порядок.",fs_exit_hint:"Выйти из полноэкранного режима (Esc) — вернуться к семи строкам",fs_open_hint:"Открыть эту таблицу на весь экран",fs_exit:"Выйти из полноэкранного режима",fs_open:"Открыть таблицу на весь экран",export_selected_hint:"Экспорт всех полей — выбрано народов: {n}",export_all_hint:"Экспорт всех полей — народов: {n}",map_init_failed:"Карта не запустилась. Проверьте токен доступа и контейнер карты.",show_filters:"Показать фильтры",hide_filters:"Скрыть фильтры — расширить карту",show_charts:"Показать диаграммы",hide_charts:"Скрыть диаграммы — расширить карту",export_copied:"скопировано в буфер обмена",export_done:"экспортировано",export_ready:"готово",export_toast:"✓ {rows} строк × {fields} полей {how}",export_failed:"✕ Не удалось экспортировать",pray_for_group:"Молиться об этом народе",more_information:"Подробнее",title:"Исследовательская панель",gospel_pending:"Пока не готово: число непросвещённых, ключ к источнику данных и вид интерфейса ещё определяются."},"./locales/ru/detail.json":{labels:{country:"Страна:",population:"Население:",language:"Язык:",religion:"Религия:",languageFamily:"Языковая семья:",peopleCommitted:"Обязались молиться:"},messages:{noDescription:"Описание недоступно."}},"./locales/ru/grid.json":{search:"Поиск народов…",hide_filters:"Скрыть фильтры",show_filters:"Показать фильтры",total:"Всего",showing:"Показано",load_more:"Показать ещё",full_profile:"Полный профиль",wagf_region:"Регион",wagf_block:"Блок родства",rop1:"Народ",religion:"Религия",exact_filter:"Точное совпадение",clear_all:"Очистить всё",loading:"Загрузка…",no_results:"Нет народов, соответствующих этому фильтру.",type_to_search:"Введите для поиска...",load_failed:"Не удалось загрузить данные о народах. Это проблема соединения, а не фильтра.",search_people_or_countries:"Поиск народов или стран…",cards_per_row:"Карточек в ряду",cards_per_row_auto:"Авто"},"./locales/ru/legend.json":{title:{adoption:"Прогресс усыновления",affinityBlocs:"Блоки родства",doxaRegions:"Регионы Doxa",engagement:"Прогресс вовлечённости",gospelResources:"Евангельские ресурсы",languageFamilies:"Языковые семьи",prayer:"Прогресс молитвы",upg100List:"Мой список UPG 100",batchSelect:"Множественный выбор"},header:{collapsed:"Условные обозначения",peopleGroupFallback:"Народная группа",default:"Легенда"},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:"Языки"},tabInfo:{upg100Region:"Регион — сортирует списки UPG-100 по частям света (Африка, Индия, Ближний Восток, Глухие, …). Числа — это UUPG и население, просуммированные по всем спискам внутри.",upg100Zone:"Списки UPG-100 — каждый представляет собой молитвенный список непросвещённых народов области и именно он отображается и раскрашивается на карте. Каждый список печатается отдельным буклетом.",upg100Group:"Народ — отдельные непросвещённые народы внутри списка, сначала с наибольшей нуждой в молитве. Каждая точка на карте — один из них.",family:"Языковая семья — группа языков, восходящих к общему предку (например, индоевропейская, афразийская).",language:"Язык — система общения, которой пользуется народ (например, арабский, бенгальский, хинди).",dialect:"Диалект/вариант — областная или социальная форма языка (например, суданский арабский; пакистанский жестовый язык).",bloc:"Блок родства — самое широкое объединение, по культурному, языковому и географическому родству (например, малайские народы, народы Южной Азии, глухие, арабский мир).",cluster:"Кластер — более дробное объединение внутри блока (например, Борнео-Калимантан среди малайских народов). Строки помечены «(кластер)», чтобы отличать их от народов.",group:"Народ — этноязыковая общность сама по себе, независимо от страны. Строки помечены «(народ)». Один народ может жить во многих странах (глухие, например, более чем в ста).",pgic:"Народ в стране — по строке на каждый народ в каждой стране его проживания (например, «Абай-Сунгай, Малайзия»). Строки помечены «(народ в стране)».",region:"Регион WAGF — макрорегион, к которому относится страна (например, Азия, Африка). У каждого свой цвет на карте.",block:"Блок WAGF — подгруппа внутри региона (например, Юго-Восточная Азия, Западная Африка).",country:"Страна — отдельные страны, упорядоченные по непросвещённому населению внутри своего блока."},a11y:{expandRow:"Развернуть {label}",collapseRow:"Свернуть {label}",clearSelection:"Снять выделение",goUp:"Вверх: {label}"},export:{poster:"Плакат",packet:"UPG 100",packetExplain:"Молитвенный список примерно из 50–100 неохваченных народов — один человек может взять один.",packetAria:"Детализация молитвенного пакета",packetFull:"Полная версия",packetLightweight:"Краткая версия"},noDataAtThisLevel:"На этом уровне нет данных",exportButton:"Экспорт",exportSelection:"Экспортировать выбранное",loadingRows:"Загрузка {label}…",loadingData:"Загрузка данных…",showingTop:"Показаны первые {n} из {m}",useGeocoderHint:"используйте поиск выше, чтобы найти остальные",noList:"Список не загружен."},"./locales/ru/lists.json":{doxa:{label:"Проект 2000: народы DOXA",definition:"Народы, которым служит DOXA, как их даёт её живой список"},unreached:{label:"Проект 7000: недостигнутые народы",definition:"Приоритет потерянности IMB 0–2 (пограничные, первопроходческие или расширяющиеся недостигнутые: менее 2% евангельских христиан)"},frontier:{label:"Проект 4700: пограничные народы",definition:"Приоритет потерянности IMB 0 (пограничные недостигнутые: 0,1% евангельских христиан или меньше)"},"frontier-500k":{label:"Проект 700: пограничные народы численностью от 500 000",definition:"Приоритет потерянности IMB 0 и численность не менее 500 000"},unengaged:{label:"Недостигнутые народы без служения",definition:"Приоритет потерянности IMB 0–2 и статус служения: без служения"}},"./locales/ru/mapui.json":{map:"Карта",marker:"Метка на карте",closePopup:"Закрыть окно",zoomIn:"Приблизить",zoomOut:"Отдалить",resetBearing:"Перетащите, чтобы повернуть карту; нажмите, чтобы вернуть север",toggleAttribution:"Показать/скрыть источники",mapFeedback:"Отзыв о карте",enterFullscreen:"Во весь экран",exitFullscreen:"Выйти из полноэкранного режима",findMyLocation:"Найти моё местоположение",locationNotAvailable:"Местоположение недоступно",enableGlobe:"Включить глобус",disableGlobe:"Выключить глобус",ctrlScroll:"Используйте Ctrl + прокрутку для масштабирования карты",cmdScroll:"Используйте ⌘ + прокрутку для масштабирования карты",twoFingers:"Используйте два пальца, чтобы перемещать карту",mapboxHomepage:"Главная страница Mapbox",maplibreLogo:"Логотип MapLibre"},"./locales/ru/messages.json":{menuComingSoon:"Меню скоро появится",pinHint:{tapDot:"Нажмите на цветную точку — кому-то всё ещё нужна молитва"},upg100WallHeading:"Мой список UPG 100 — молитвенные списки и плакаты",upg100WallTag:"Молитвенная мобилизация",upg100WallIntroA:"Как накормить толпу в пять тысяч человек? Иисус рассадил их группами по пятьдесят и по сто, и невозможное стало посильным (Лк. 9:14). Мы поступили так же с 2 106 неохваченными народами: 27 списков примерно по пятьдесят-сто. Каждый список печатается как молитвенный пакет и плакат, чтобы 27 учеников, церквей или местных служителей взяли по одному — молясь о них ",upg100WallIntroEmph:"по имени их народа",upg100WallIntroB:".",loadingNamed:"Загрузка {name}…",couldNotLoadNamed:"Не удалось загрузить {name}.",engineMissing:"Картографический движок {engine} не загрузился.",packetFailed:"Не удалось создать буклет: {reason}",selectionPacketFailed:"Не удалось создать буклет выбора: {reason}",posterOneTerritory:"Плакат печатает по одной территории — выбрано {count}.",selectionPosterFailed:"Не удалось создать плакат выбора: {reason}",mapUnavailable:"Карта недоступна",copied:"Скопировано!",copyFailed:"Не удалось скопировать — нажмите Ctrl/Cmd-C",engineNotLoaded:"движок карты не загружен",engineNotLoadedDetail:"Движок карты {engine} не загрузился. Список и легенда не затронуты.",viewLoadFailed:"Не удалось загрузить этот раздел.",retry:"Повторить",noMapboxToken:"Нет токена Mapbox",noMapboxTokenDetail:"Токен Mapbox не настроен. Список и легенда не затронуты.",loadingBoundaries:"Загрузка границ…",fetchingUupgs:"Загрузка UUPG: {n}…",mapStatusCounts:"Области: {polys} · зоны: {zones}/{total} · метки: {pins}",tapTerritoriesHint:"Нажимайте на территории на карте или строки легенды, чтобы добавить · нажмите ещё раз, чтобы убрать",territoriesSelected:"Территории: {count}",bandInRange:"✓ диапазон 50–100",bandOutOfRange:"диапазон 50–100",mapContextLost:"Эта карта выгружена, чтобы освободить графическую память.",nOfTotal:"{n} из {total}",mapInitFailed:"Не удалось инициализировать карту — проверьте токен и контейнер",countryWallIntroA:"Один плакат на страну — чтобы молиться, распечатать и повесить на стену, молясь за них ",countryWallIntroB:". Регионы и страны упорядочены по числу неохваченных народов, чтобы самая большая нужда стояла первой.",countryWallSoon:"Скоро: для каждой страны будет создан молитвенный список с названием каждого неохваченного народа в ней.",countryWallHeading:"Плакаты по странам — молитвенные списки и плакаты",largerScreenNotice:"Эта экспериментальная карта рассчитана на большие экраны. Она откроется, но на телефоне часть элементов может не поместиться или работать плохо.",desktopOnlyNotice:"{label} работает только на компьютере — откройте эту страницу на компьютере.",noticeDismiss:"Закрыть",countryPosterTooMany:"Слишком много народов, чтобы разборчиво уместить их на одном плакате, — решение готовится."},"./locales/ru/pins.json":{approximate:"Точка показывает, где живёт этот народ, а не город и не границу.",sharedPoint:"Она совпадает с точкой {names} — {n} групп делят эту координату, поэтому положение указывает местность, а не где какая группа."},"./locales/ru/popup.json":{country:{wagfRegion:"Регион WAGF",wagfBlock:"Блок WAGF",country:"Страна",uupgCount:"Число UUPG"}},"./locales/ru/religion.json":{family:{Christianity:"Христианство",Islam:"Ислам",Hinduism:"Индуизм",Buddhism:"Буддизм",Ethnoreligion:"Этнорелигия",Judaism:"Иудаизм",Sikhism:"Сикхизм",Unaffiliated:"Не принадлежат",Other:"Другое",Unknown:"Неизвестно"}},"./locales/ru/search.json":{placeholder:"Народ, место, язык, религия",placeholderNoPlaces:"Народ, язык, религия (для поиска мест нужен токен Mapbox)",labels:{people:"Народ:",place:"Место:",language:"Язык:",religion:"Религия:"},kinds:{people:"Народ + страна",peopleGroup:"Народ",bloc:"Блок родства",cluster:"Кластер народов",country:"Страна",region:"Регион",family:"Языковая семья",languageKind:"Язык",dialect:"Диалект",religionKind:"Религия"},sections:{within:"В пределах {selection}",allData:"Все данные DOXA"},upg100Placeholder:"Поиск народа, списка UPG-100 или региона…",tabPlaceholder:{languageFamilies:"Поиск по языковой семье, языку, диалекту/варианту",affinityBlocks:"Поиск по блоку родства, кластеру, народу",regions:"Поиск по региону, стране, народу",religion:"Поиск по религии, народу"},placeholderRegions:"Поиск региона, страны или народа"},"./locales/ru/share.json":{embed_link:"Ссылка для встраивания",add_to_website:"Добавить на ваш сайт",embed_paste_hint:"Вставьте этот код в конструктор вашего сайта (WordPress, Squarespace, Wix или любой сайт, принимающий HTML-виджеты)."},"./locales/ru/tabs.json":{prayer:"Молитва",adoption:"Усыновление",engagement:"Вовлечённость","affinity-blocks":"Народы",regions:"Регионы",countries:"Страны","language-families":"Языки",religion:"Религии",family:"Языковая семья",language:"Язык",dialect:"Диалект/вариант",bloc:"Блок родства",cluster:"Кластер",group:"Народ",pgic:"Народ в стране",region:"Регион WAGF",block:"Блок WAGF",country:"Страна",upg100Region:"Регион",upg100Zone:"Списки UPG-100",upg100Group:"Народ",selectView:"Выбрать вид",views:"Виды",prayerResources:"Молитвенные ресурсы",map:"Карта",countryPosters:"Плакаты по странам"},"./locales/ru/wall.json":{title:"Стена народов",toPortrait:"📱 Портретный вид",toLandscape:"🖼️ Альбомный вид",currentLandscape:"Сейчас: альбомный (4 × 3 фута)",currentPortrait:"Сейчас: портретный (3 × 4 фута)",resetZoom:"Сбросить масштаб",groupsLoaded:"Загружено: {n}",loading:"Загрузка народов…",offlineTitle:"Не удалось получить данные о молитвах.",offlineBody:"Стена берёт народы с pray.doxa.life. Возможно, нет подключения, или на локальном сервере разработки API не разрешает адрес этой страницы.",tryAgain:"Повторить",prayedCount:"Помолились: {n}",viewPrayers:"Смотреть молитвы",prayerTools:"Молитвенные инструменты",close:"Закрыть",unknown:"Неизвестно",unknownGroup:"Неизвестный народ",status:"Статус:",unengaged:"неохваченный",prayingNow:"Вы сейчас молитесь за этот народ?",yesPraying:"Да, молюсь",thankYou:"Спасибо за молитву!",sharePrayer:"Поделитесь молитвой (необязательно)",prayerPlaceholder:"Напишите молитву здесь…",sendPrayer:"Отправить молитву",peopleGroup:"Народ",chatsTitle:"Беседы о народе",id:"ID:",location:"Место:",na:"нет данных",havePrayed:"Помолились: {n}",youPrayed:"✓ Вы помолились!",prayForGroup:"🙏 Помолиться за этот народ",prayersComments:"Молитвы и комментарии",noComments:"Пока нет молитв и комментариев. Будьте первым!",commentPlaceholder:"Поделитесь молитвой или мыслями…",postComment:"Опубликовать",noPeopleId:"У этого народа нет PeopleID3",statusUnknown:"Статус неизвестен",printPoster:"🖨️ Печать плаката HD",printPreparing:"Подготовка плаката: {n} из {total} фото",printMissing:"Не удалось загрузить фото: {n}. Они будут напечатаны серыми прямоугольниками.",blessBanner:"Благословляйте народы во имя Иисуса",modeLabel:"Режим стены",modeBless:"Благословение",modeSocial:"Соцсеть",shareSoon:"Возможность поделиться появится позже.",drawLibError:"Стене не удалось загрузить библиотеку рисования:",posterSize:"Размер плаката",posterSubtitle:"DOXA (δόξα) означает «слава». Всемирное молитвенное движение благословляет эти {n} народов во имя Иисуса. Узнайте больше и присоединяйтесь: pray.doxa.life.",glueHere:"приклейте сюда верхний лист",themesLabel:"Молитвенные темы",oldTestament:"Ветхий Завет",newTestament:"Новый Завет",themeTreasure:"Сокровище",themeMountain:"Гора",themeSea:"Море",posterClosing:"Иисус Христос — краеугольный камень, а мы — живые камни. Эти народы — награда за Его страдания. Примем наше священническое призвание: благословляйте их во имя Его и присоединяйтесь к всемирной молитвенной семье.",journeyCalled:"Призвание",journeyPromised:"Обетование",journeyRedeemed:"Искуплены",journeyCornerstone:"Краеугольный камень",journeyChildren:"Дети Авраама",journeyPriesthood:"Царственное священство",journeySent:"Посланы к погибшим",peopleGroupCount:"{n} народ | {n} народа | {n} народов | {n} народа",listCount:"{n} список | {n} списка | {n} списков | {n} списка",stockCard:"Карточка",stockPostcard:"Открытка",stockLandscape:"альбомная",hud:{kindPoster:"Плакат",kindList:"Список",kindPacket:"Молитвенный пакет",fetchingPoster:"загрузка плаката",generatingPoster:"создание плаката",openingPrint:"открытие окна печати",printOpened:"окно печати открыто",saving:"сохранение",fetchingRecords:"загрузка данных",fetchingGroups:"загрузка народов",layingOutRows:"раскладка {n} строки | раскладка {n} строк | раскладка {n} строк | раскладка {n} строки",layingOutCards:"раскладка {n} карточки | раскладка {n} карточек | раскладка {n} карточек | раскладка {n} карточки",printingGroups:"печать {n} народа | печать {n} народов | печать {n} народов | печать {n} народа",kindCardDeck:"Набор карточек",kindPrayerList:"Молитвенный список",saved:"сохранено",noRecords:"в этом списке нет народов для печати",noPoster:"для этого списка нет плаката",posterNotFound:"плакат не найден ({status})",posterBlank:"созданный плакат получился пустым",noApi:"сервис народов не настроен",fetchFailed:"не удалось загрузить народы ({status})"},posterAlt:"{label} — молитвенный плакат",posterAltAction:"{label} — молитвенный плакат (нажмите, чтобы просмотреть и распечатать)"},"./locales/zh/allPeopleGroups.json":{title:"所有族群",locations:"{n} 个族群–国家位置",doxa:"DOXA 族群",frontier:"前沿族群 — 尚未开始",unreached:"未得之民 — 事工起步",reached:"已得之民 — 教会已在",hint:"点击一行查看全部 · 再次点击显示所有",loading:"正在加载所有族群…",loadError:"无法加载地图。",pray:"为他们祷告 →",population:"人口 {n}"},"./locales/zh/aria.json":{backToLegend:"返回图例",closeDetailView:"关闭详情视图",collapseLegend:"收起图例",expandLegend:"展开图例",toggleLegend:"显示或隐藏图例",searchPeopleGroups:"搜索民族",resetAllFilters:"重置所有筛选和搜索",selectAllRows:"选择所有行",deselectAllRows:"取消选择所有行",rowDetail:"行详情",dismissHint:"关闭提示",resizeFiltersRail:"调整筛选器栏大小",resizeFiltersRailHint:"拖动或使用方向键调整筛选器栏大小",resizeChartsRail:"调整图表栏大小",resizeChartsRailHint:"拖动或使用方向键调整图表栏大小",resizeMapTableSplit:"调整地图与表格的分隔",resizeMapTableSplitHint:"拖动或使用方向键调整地图与表格的分隔",resizeTable:"调整表格高度",resizeTableHint:"拖动或使用方向键调整表格大小",resizeDashboardHeight:"调整仪表板高度",resizeDashboardHeightHint:"拖动或使用方向键调整仪表板高度",removeFilter:"移除筛选条件 {name}",closeDetail:"关闭详情",filterBreadcrumb:"筛选路径",railViews:"栏视图",upgCountLegend:"UPG 数量图例",donutChart:"环形图:{title}"},"./locales/zh/buttons.json":{prayForThem:"为他们祷告",adoptThem:"认领他们",moreInfo:"更多信息",zoomIn:"放大",zoomOut:"缩小",switchToLightMode:"切换至浅色模式",switchToDarkMode:"切换至深色模式",resetView:"重置视图",toggleFullscreen:"切换全屏",aboutThisMap:"关于此地图",closeMenu:"关闭菜单",reloadMap:"重新加载地图",showClusters:"显示聚类",clusterSettings:"聚类设置",startAutoFly:"开始自动飞行",stopFlight:"停止飞行",speedLabel:"速度:",speedOption:{slow:"慢",normal:"正常",fast:"快"},shareEmbed:"分享与嵌入",posterMap:"海报地图",prayerList:"祷告名单",cardDeck:"祷告卡组",printOptions:"打印选项",showOnMap:"在地图上显示",close:"关闭",showOnMapAria:"在地图上显示 {label}",cardStockAria:"祷告卡片尺寸",previewPrintPoster:"预览并打印 {label} 海报",share:"分享",shareSteps:["把这张地图嵌入你的网站","列出你城市里的网站","教他们也嵌入这张地图","教他们去教别人嵌入","为耶稣让地图遍地繁增!"],clearSelection:"清除选择",noOptions:"未找到选项",renderingLocal:"正在您的浏览器中生成可打印质量的图片——不会上传任何内容。",postersPerRow:"每行海报数",packetVariantAria:"祷告手册详细程度",packetFull:"完整版",packetLightweight:"精简版",working:"处理中…",postersPerRowAuto:"自动"},"./locales/zh/controls.json":{research_controls:"研究控件",clustering:"聚类",filters:"筛选",pin_dim:"圆点淡化",export_poster:"导出海报…",reload_data:"重新加载数据",off:"关闭",native:"原生",mst:"MST",network:"网络",off_desc:"逐个显示每个圆点",native_desc:"Mapbox 圆形聚类(最快)",mst_desc:"最小生成树亲缘网络",network_desc:"最近邻连接线",search_languages:"搜索语言…",search_religions:"搜索宗教…",reset_all:"全部重置",no_languages:"尚未加载语言",no_religions:"尚未加载宗教",unadopted:"未认领",min:"最小",max:"最大",adopted:"已认领",adoption:"认领",engaged:"已参与",engagement:"参与",unengaged:"需要参与",language:"语言",religion:"宗教",population:"人口",any:"全部",active_count:"{n} 项启用",prayer_status:"代祷状态",close:"关闭",clear:"清除",map_controls:"地图控件",clusters:"聚类",mst_full_name:"最小生成树",mst_hint:"点击图例中的一行,仅对该组进行聚类"},"./locales/zh/dashboard.json":{bloc:"亲缘板块",gospel_access:"福音可及性",people:"民族",people_name:"民族(名称)",praying:"正在代祷",religion_family:"宗教族系",search_language:"搜索语言",search_people:"搜索民族",search_place:"搜索地点",search_religion:"搜索宗教",upgs_in_scope:"范围内的 UPG",countries_touched:"涉及国家",unreached:"未得之民",sum_population:"Σ 人口",sum_praying:"Σ 代祷",charts:"图表",table:"表格",cluster:"民族群",country:"国家",engagement:"参与",language:"语言",language_family:"语系",people_group:"民族",population:"人口",prayer:"祷告",region:"区域",religion:"宗教",status:"状态",adopted:"已认领",filters:"筛选",gospel_resources:"福音资源",map:"地图",search_placeholder:"搜索民族、地点、语言、宗教…",any:"全部",active_count:"{n} 项启用",prayer_status:"代祷状态",map_controls:"地图控件",close:"关闭",clear:"清除",dashboard_title:"全局研究仪表板",align_dashboard:"对齐仪表板",align_dashboard_tip:"将仪表板布局恢复为默认对齐",selected:"已选择",world:"世界",vertical_legend:"垂直图例",groups_in_scope:"个民族在范围内",filter_by:"筛选",remove_filter:"移除筛选",groups:"个民族",expand:"展开",collapse:"收起",place:"地点",export_csv:"导出 CSV",detail:"详情",detail_empty:"选择一个民族以查看详情",heartbeat_zone:"心跳区",top_countries:"主要国家",select_all:"全选",expand_table:"展开表格",collapse_table:"收起表格 — 放大地图",group:"个民族",deselect_all:"取消全选",results_live:"已显示 {total} 个{unit}中的 {count} 个",filters_live:"筛选条件:{list}",search_live:"搜索:{term}",adopted_by_churches:"已被教会认领",bp_title:"全局视图 — 统一研究仪表板",bp_subtitle:"搜索并筛选世界各民族 · 最少被触及的优先显示",export_selection:"导出此选择",map_loading:"正在加载研究地图…",no_match:"没有与“{q}”匹配的民族。",no_photo:"无照片",only_selected:"仅所选",only_selected_hint:"仅显示所选民族",people_committed:"已承诺的人数",people_praying:"祷告的人数",selected_first:"所选优先",selected_first_hint:"将所选民族置顶,同时保留您的列排序",n_shown:"显示 {n} 个",other:"其他",wagfRegion:{africa:"非洲",asia:"亚洲",europe:"欧洲","latin_america_&_caribbean":"拉丁美洲",oceania:"大洋洲",middle_east:"中东","north_america_&_non-spanish_caribbean":"北美及非西班牙语加勒比地区"},sort_by_column_hint:"按{column}排序此表 — Shift+单击可添加第二列。排序只影响表格;卡片保持各自的顺序。",fs_exit_hint:"退出全屏(Esc)— 返回七行视图",fs_open_hint:"全屏打开此表格",fs_exit:"退出全屏",fs_open:"全屏打开表格",export_selected_hint:"导出全部字段 — 已选民族:{n}",export_all_hint:"导出全部字段 — 民族:{n}",map_init_failed:"地图无法启动。请检查访问令牌与地图容器。",show_filters:"显示筛选",hide_filters:"隐藏筛选 —— 放大地图",show_charts:"显示图表",hide_charts:"隐藏图表 —— 放大地图",export_copied:"已复制到剪贴板",export_done:"已导出",export_ready:"已就绪",export_toast:"✓ {rows} 行 × {fields} 字段 {how}",export_failed:"✕ 导出失败",pray_for_group:"为这个民族祷告",more_information:"更多信息",title:"研究面板",gospel_pending:"尚未就绪:未得之民的数字、数据来源密钥与界面形式仍在确定中。"},"./locales/zh/detail.json":{labels:{country:"国家:",population:"人口:",language:"语言:",religion:"宗教:",languageFamily:"语系:",peopleCommitted:"承诺祷告人数:"},messages:{noDescription:"暂无描述。"}},"./locales/zh/grid.json":{search:"搜索民族…",hide_filters:"隐藏筛选",show_filters:"显示筛选",total:"总计",showing:"显示",load_more:"加载更多",full_profile:"完整档案",wagf_region:"区域",wagf_block:"亲缘板块",rop1:"民族",religion:"宗教",exact_filter:"精确",clear_all:"全部清除",loading:"加载中…",no_results:"没有符合此筛选条件的民族。",type_to_search:"输入以搜索...",load_failed:"无法加载民族数据。这是连接问题,而不是筛选问题。",search_people_or_countries:"搜索民族或国家…",cards_per_row:"每行卡片数",cards_per_row_auto:"自动"},"./locales/zh/legend.json":{title:{adoption:"认领进度",affinityBlocs:"亲缘板块",doxaRegions:"Doxa 区域",engagement:"参与进度",gospelResources:"福音资源",languageFamilies:"语系",prayer:"祷告进度",upg100List:"我的 UPG 100 名单",batchSelect:"批量选择"},header:{collapsed:"图例",peopleGroupFallback:"民族群体",default:"图例"},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:"人口",name:"名称"},footer:{total:"总计"},sortByUpgs:"按 UUPG 排序",sortByPop:"按人口排序",colLabel:{religion:"UUPG 宗教",prayer:"祷告状态",engagement:"参与状态",adoption:"认领状态",status:"状态"},titleBar:{legend:"图例",peopleGroups:"民族",wagfRegions:"WAGF 区域",languages:"语言"},tabInfo:{upg100Region:"区域 — 按世界区域排列 UPG-100 名单(非洲、印度、中东、聋人……)。数字是其下每份名单的 UUPG 与人口总和。",upg100Zone:"UPG-100 名单 — 每一份都是某地区未得之民的祷告名单,也是地图所绘制和上色的内容。每份名单印成独立的祷告册。",upg100Group:"族群 — 名单内各个未得之民群体,祷告需要最大的排在前面。地图上每个点就是其中之一。",family:"语系 —— 源自同一祖语的一组语言(如印欧语系、亚非语系)。",language:"语言 —— 一个民族所使用的交流系统(如阿拉伯语、孟加拉语、印地语)。",dialect:"方言/变体 —— 一种语言的地区性或社会性形式(如苏丹阿拉伯语;巴基斯坦手语)。",bloc:"亲缘板块 —— 最宽泛的分组,按文化、语言与地理上的亲缘关系划分(如马来诸族、南亚诸族、聋人、阿拉伯世界)。",cluster:"民族群 —— 板块之下更细的分组(如马来诸族中的婆罗洲-加里曼丹)。各行标有「(民族群)」,以与民族相区别。",group:"民族 —— 独立于国界的族群语言身份。各行标有「(民族)」。同一民族可分布于多国(例如聋人分布于一百多个国家)。",pgic:"国内民族 —— 每个民族在其所居各国各占一行(如「阿拜松盖,马来西亚」)。各行标有「(国内民族)」。",region:"WAGF 区域 —— 国家所属的大区(如亚洲、非洲)。地图上各有其颜色。",block:"WAGF 板块 —— 区域之下的次级分组(如东南亚、西非)。",country:"国家 —— 各个国家,按其板块内未得之民人口排列。"},a11y:{expandRow:"展开{label}",collapseRow:"折叠{label}",clearSelection:"清除选择",goUp:"返回上级:{label}"},export:{poster:"海报",packet:"UPG 100",packetExplain:"约 50 到 100 个未得之民的祷告名单——一个人就能领一份。",packetAria:"祷告手册详细程度",packetFull:"完整版",packetLightweight:"精简版"},noDataAtThisLevel:"此层级没有数据",exportButton:"导出",exportSelection:"导出所选内容",loadingRows:"正在加载{label}…",loadingData:"正在加载数据…",showingTop:"显示 {m} 个中的前 {n} 个",useGeocoderHint:"使用上方的搜索框查找其余内容",noList:"未加载任何列表。"},"./locales/zh/lists.json":{doxa:{label:"2000 计划:DOXA 服侍的族群",definition:"DOXA 服侍的族群,以其实时名单为准"},unreached:{label:"7000 计划:未得之民族群",definition:"IMB 失丧优先级 0–2(前沿、先锋或扩展中的未得之民:福音派少于 2%)"},frontier:{label:"4700 计划:前沿族群",definition:"IMB 失丧优先级 0(前沿未得之民:福音派 0.1% 或更少)"},"frontier-500k":{label:"700 计划:人口 50 万或以上的前沿族群",definition:"IMB 失丧优先级 0,且人口至少 50 万"},unengaged:{label:"尚无人参与的未得之民族群",definition:"IMB 失丧优先级 0–2,且参与状态为:无人参与"}},"./locales/zh/mapui.json":{map:"地图",marker:"地图标记",closePopup:"关闭弹窗",zoomIn:"放大",zoomOut:"缩小",resetBearing:"拖动以旋转地图,点击以恢复正北",toggleAttribution:"显示/隐藏数据来源",mapFeedback:"地图反馈",enterFullscreen:"全屏",exitFullscreen:"退出全屏",findMyLocation:"查找我的位置",locationNotAvailable:"无法获取位置",enableGlobe:"启用地球仪",disableGlobe:"停用地球仪",ctrlScroll:"使用 Ctrl + 滚轮缩放地图",cmdScroll:"使用 ⌘ + 滚轮缩放地图",twoFingers:"使用两根手指移动地图",mapboxHomepage:"Mapbox 主页",maplibreLogo:"MapLibre 标志"},"./locales/zh/messages.json":{menuComingSoon:"菜单即将推出",pinHint:{tapDot:"点按一个彩色圆点——仍有人需要祷告"},upg100WallHeading:"我的 UPG 100 名单 — 祷告名单与海报",upg100WallTag:"祷告动员",upg100WallIntroA:"你会怎样喂饱五千人的群众?耶稣让他们一排五十、一排一百地坐下,不可能的事就变得可以分担了(路加福音 9:14)。我们对 2,106 个未得之民做了同样的事:27 份名单,每份约五十到一百。每份名单都能印成祷告手册和海报,让 27 位门徒、教会或当地领袖各领一份 — 为他们祷告 ",upg100WallIntroEmph:"称呼他们族群的名字",upg100WallIntroB:"。",loadingNamed:"正在加载{name}…",couldNotLoadNamed:"无法加载{name}。",engineMissing:"{engine} 地图引擎未能加载。",packetFailed:"祷告册生成失败:{reason}",selectionPacketFailed:"所选内容的祷告册生成失败:{reason}",posterOneTerritory:"海报一次只能打印一个区域——已选 {count} 个。",selectionPosterFailed:"所选内容的海报生成失败:{reason}",mapUnavailable:"地图不可用",copied:"已复制!",copyFailed:"复制失败——请按 Ctrl/Cmd-C",engineNotLoaded:"地图引擎未加载",engineNotLoadedDetail:"{engine} 地图引擎未能加载。列表和图例不受影响。",viewLoadFailed:"此视图无法加载。",retry:"重试",noMapboxToken:"没有 Mapbox 令牌",noMapboxTokenDetail:"未配置 Mapbox 令牌。列表和图例不受影响。",loadingBoundaries:"正在加载边界…",fetchingUupgs:"正在获取 {n} 个 UUPG…",mapStatusCounts:"区域:{polys} · 分区:{zones}/{total} · 标记:{pins}",tapTerritoriesHint:"点按地图上的区域或图例行即可添加 · 再次点按即可移除",territoriesSelected:"区域:{count}",bandInRange:"✓ 50–100 区间",bandOutOfRange:"50–100 区间",mapContextLost:"已卸载此地图以释放显存。",nOfTotal:"{total} 个中的 {n} 个",mapInitFailed:"地图初始化失败——请检查令牌和容器",countryWallIntroA:"每个国家一张海报,可用来祷告、打印、贴在墙上——为他们祷告,",countryWallIntroB:"。各区域和国家按其中未得之民族群的数量排序,让最大的需要排在最前。",countryWallSoon:"即将推出:将为每个国家生成一份祷告名单,列出其中每一个未得之民族群的名字。",countryWallHeading:"国家海报 — 祷告名单与海报",largerScreenNotice:"这张实验性地图为大屏幕设计。它可以在这里打开,但部分内容在手机上可能显示不全或无法正常使用。",desktopOnlyNotice:"{label} 仅支持桌面端——请在电脑上打开此页面使用。",noticeDismiss:"关闭",countryPosterTooMany:"族群数量过多,无法清晰地放在一张海报上——我们正在制定解决方案。"},"./locales/zh/pins.json":{approximate:"此点标示该民族所在的地区,而非某个城镇或边界。",sharedPoint:"它与 {names} 位于同一点 — {n} 个群体共用此坐标,因此位置只表示所在地区,而非各群体的具体位置。"},"./locales/zh/popup.json":{country:{wagfRegion:"WAGF 地区",wagfBlock:"WAGF 区块",country:"国家",uupgCount:"UUPG 数量"}},"./locales/zh/religion.json":{family:{Christianity:"基督教",Islam:"伊斯兰教",Hinduism:"印度教",Buddhism:"佛教",Ethnoreligion:"民族宗教",Judaism:"犹太教",Sikhism:"锡克教",Unaffiliated:"无宗教归属",Other:"其他",Unknown:"未知"}},"./locales/zh/search.json":{placeholder:"民族、地点、语言、宗教",placeholderNoPlaces:"民族、语言、宗教(地点搜索需要 Mapbox 令牌)",labels:{people:"民族:",place:"地点:",language:"语言:",religion:"宗教:"},sections:{within:"在 {selection} 之內",allData:"所有 DOXA 资料"},kinds:{people:"民族 + 国家",peopleGroup:"民族",bloc:"亲缘板块",cluster:"民族群",country:"国家",region:"区域",family:"语系",languageKind:"语言",dialect:"方言",religionKind:"宗教"},upg100Placeholder:"搜索民族、UPG-100 名单或区域…",tabPlaceholder:{languageFamilies:"搜索语系、语言、方言/变体",affinityBlocks:"搜索亲缘板块、民族群、民族",regions:"搜索区域、国家、民族",religion:"搜索宗教、民族"},placeholderRegions:"搜索区域、国家或族群"},"./locales/zh/share.json":{embed_link:"嵌入链接",add_to_website:"添加到您的网站",embed_paste_hint:"将此代码粘贴到您的网站构建器中(WordPress、Squarespace、Wix,或任何接受 HTML 小部件的网站)。"},"./locales/zh/tabs.json":{prayer:"祷告",adoption:"认领",engagement:"参与","affinity-blocks":"民族",regions:"区域",countries:"国家","language-families":"语言",religion:"宗教",family:"语系",language:"语言",dialect:"方言/变体",bloc:"亲缘板块",cluster:"民族群",group:"民族",pgic:"国内民族",region:"WAGF 区域",block:"WAGF 板块",country:"国家",upg100Region:"区域",upg100Zone:"UPG-100 名单",upg100Group:"族群",selectView:"选择视图",views:"视图",prayerResources:"祷告资源",map:"地图",countryPosters:"国家海报"},"./locales/zh/wall.json":{title:"族群祷告墙",toPortrait:"📱 切换为纵向",toLandscape:"🖼️ 切换为横向",currentLandscape:"当前:横向(4 × 3 英尺)",currentPortrait:"当前:纵向(3 × 4 英尺)",resetZoom:"重置缩放",groupsLoaded:"已加载:{n}",loading:"正在加载族群…",offlineTitle:"无法获取实时祷告数据。",offlineBody:"祷告墙从 pray.doxa.life 读取族群。你可能已离线,或在本地开发服务器上 API 不允许此页面的地址。",tryAgain:"重试",prayedCount:"已祷告:{n}",viewPrayers:"查看祷告",prayerTools:"祷告工具",close:"关闭",unknown:"未知",unknownGroup:"未知族群",status:"状态:",unengaged:"未得之民",prayingNow:"你现在正在为这个族群祷告吗?",yesPraying:"是的,我在祷告",thankYou:"感谢你的祷告!",sharePrayer:"分享你的祷告(可选)",prayerPlaceholder:"在此输入你的祷告…",sendPrayer:"发送祷告",peopleGroup:"族群",chatsTitle:"族群交流",id:"ID:",location:"位置:",na:"无",havePrayed:"已祷告:{n}",youPrayed:"✓ 你已祷告!",prayForGroup:"🙏 为这个族群祷告",prayersComments:"祷告与评论",noComments:"还没有祷告或评论,来做第一个吧!",commentPlaceholder:"分享你的祷告或想法…",postComment:"发表评论",noPeopleId:"该族群没有 PeopleID3",statusUnknown:"状态未知",printPoster:"🖨️ 打印高清海报",printPreparing:"正在准备海报:已加载 {n} / {total} 张照片",printMissing:"无法加载的照片:{n} 张,将打印为灰色方框。",blessBanner:"奉耶稣的名祝福万国",modeLabel:"祷告墙模式",modeBless:"祝福",modeSocial:"社交",shareSoon:"分享功能稍后推出。",drawLibError:"祷告墙无法加载其绘图库:",posterSize:"海报尺寸",posterSubtitle:"DOXA(δόξα)意为“荣耀”。一场全球祷告运动正奉耶稣的名祝福这 {n} 个族群。了解更多并加入:pray.doxa.life。",glueHere:"在此处粘贴上方的纸张",themesLabel:"祷告主题",oldTestament:"旧约",newTestament:"新约",themeTreasure:"宝藏",themeMountain:"山",themeSea:"海",posterClosing:"耶稣基督是房角石,我们是活石。这些族群是他受苦所换来的赏赐。让我们担起君尊祭司的呼召:奉他的名祝福他们,并在祷告中加入全球大家庭。",journeyCalled:"蒙召",journeyPromised:"应许",journeyRedeemed:"蒙救赎",journeyCornerstone:"房角石",journeyChildren:"亚伯拉罕的子孙",journeyPriesthood:"有君尊的祭司",journeySent:"奉差遣寻找失丧的人",peopleGroupCount:"{n} 个族群",listCount:"{n} 份名单",stockCard:"卡片",stockPostcard:"明信片",stockLandscape:"横向",hud:{kindPoster:"海报",kindList:"名单",kindPacket:"祷告手册",fetchingPoster:"正在获取海报",generatingPoster:"正在生成海报",openingPrint:"正在打开打印窗口",printOpened:"打印窗口已打开",saving:"正在保存",fetchingRecords:"正在获取数据",fetchingGroups:"正在获取族群",layingOutRows:"正在排版 {n} 行",layingOutCards:"正在排版 {n} 张卡片",printingGroups:"正在打印 {n} 个族群",kindCardDeck:"祷告卡组",kindPrayerList:"祷告名单",saved:"已保存",noRecords:"该名单中没有可打印的族群",noPoster:"此名单没有可用的海报",posterNotFound:"未找到海报({status})",posterBlank:"生成的海报为空白",noApi:"未配置族群服务",fetchFailed:"无法加载族群({status})"},posterAlt:"{label} — 祷告海报",posterAltAction:"{label} — 祷告海报(点击预览并打印)"}}),go={};for(const[e,t]of Object.entries(Sy)){const o=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!o)continue;const[,n,a]=o;go[n]??(go[n]={}),go[n][a]=t}const Ig=(()=>{try{const e=typeof document<"u"&&document.currentScript&&document.currentScript.src||"";return e?e.split(/[?#]/)[0].replace(/[^/]+$/,""):""}catch{return""}})(),Og=typeof __DX_LOCALE_SRI__<"u"?__DX_LOCALE_SRI__:{},ui=new Map;let tc=null;const Ay=1500;function oc(e,t){var a,r;const o=String(t||"").split("-")[0].toLowerCase();if(!o||o==="en"||!Ja.includes(o))return Promise.resolve(o==="en");if(go[o])return(r=(a=e==null?void 0:e.global)==null?void 0:a.setLocaleMessage)==null||r.call(a,o,go[o]),Promise.resolve(!0);if(ui.has(o))return ui.get(o).then(s=>{var i,l;return s&&go[o]&&((l=(i=e==null?void 0:e.global)==null?void 0:i.setLocaleMessage)==null||l.call(i,o,go[o])),s});if(!Og[o])return Promise.resolve(!!go[o]);const n=(async()=>{var s,i;try{if(!Ig)return!1;const l=new URL(`locales/${o}.json`,Ig).href,c=await fetch(l,{integrity:Og[o]});if(!c.ok)return!1;const u=await c.json();return!u||typeof u!="object"?!1:(go[o]=u,(i=(s=e==null?void 0:e.global)==null?void 0:s.setLocaleMessage)==null||i.call(s,o,u),!0)}catch{return!1}})();return ui.set(o,n),n}go.en;const Ja=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"],di=new Set(["ar"]);function Dg(){try{const e=new URLSearchParams(window.location.search);return(e.get("lang")||e.get("locale")||"").split("-")[0].toLowerCase()}catch{return""}}function Wr(){var n;const e=Dg();if(Ja.includes(e))return e;const o=(((n=document==null?void 0:document.documentElement)==null?void 0:n.lang)||"").split("-")[0].toLowerCase();return Ja.includes(o)?o:"en"}try{tc=oc(null,Wr())}catch{tc=null}function Py(e=Wr()){const t=String(e||"").split("-")[0].toLowerCase();if(!di.has(t)||go[t])return Promise.resolve(!0);const o=ui.get(t)||tc||Promise.resolve(!1);return Promise.race([o.then(n=>!!n).catch(()=>!1),new Promise(n=>setTimeout(()=>n(!1),Ay))])}function Ly(){const e=Wr();try{typeof window<"u"&&window.MAP_OWNS_PAGE===!0&&e&&(document!=null&&document.documentElement)&&(document.documentElement.lang=e,di.has(e)&&(document.documentElement.dir="rtl"))}catch{}const t=vs(!0),o=t.run(()=>fy({legacy:!1,globalInjection:!0,locale:e,fallbackLocale:"en",messages:go,missingWarn:!1,fallbackWarn:!1,pluralRules:Ty}));e!=="en"&&!go[e]&&oc(o,e).catch(()=>{}),t.run(()=>Ue(o.global.locale,a=>jg(a),{immediate:!0}));const n=o.install.bind(o);return o.install=(a,...r)=>{const s=n(a,...r);a.provide("appI18n",o);const i=a.provide.bind(a);return a.provide=(l,c)=>l==="appI18n"&&c===o?a:i(l,c),s},o}const zg="__DOXA_PAGE_LOCALE";function jg(e){const t=String(e||"").split("-")[0].toLowerCase();if(Ja.includes(t))try{typeof window<"u"&&(window[zg]=t)}catch{}}const Cy=["zero","one","two","few","many","other"];function Bg(e,t,o){let n;try{n=new Intl.PluralRules(o)}catch{return e===1?0:1}const a=n.select(e),r=n.resolvedOptions().pluralCategories,s=Cy.filter(l=>r.includes(l));let i=s.indexOf(a);if(i<0&&(i=s.indexOf("other")),i>=t){const l=s.indexOf("other");i=l>=0&&l[e,(t,o)=>Bg(t,o,e)]));function nc(){try{return typeof window<"u"&&window[zg]||""}catch{return""}}function no(e,t){const o=a=>{let r=go[a];for(const s of String(e).split(".")){if(!r||typeof r!="object")return;r=r[s]}return typeof r=="string"?r:void 0},n=t||nc()||Wr();return o(n)??o("en")}const ac=new Map;function Ey(e,{type:t="conjunction",style:o="long",locale:n}={}){const a=Array.from(e||[],l=>String(l)),r=()=>{try{return Wr()}catch{return""}},s=n||nc()||r()||"en",i=`${s}|${t}|${o}`;try{return ac.has(i)||ac.set(i,new Intl.ListFormat(s,{type:t,style:o})),ac.get(i).format(a)}catch{return a.join(", ")}}function Gg(e,t){return t?String(e).replace(/\{(\w+)\}/g,(o,n)=>t[n]!=null?String(t[n]):o):String(e)}function Hg(e,t,o=nc()){const n=String(e).split(/\s*\|\s*/);if(n.length<2||typeof t!="number")return String(e);const a=String(o||"en").split("-")[0].toLowerCase();if(a!=="en")return n[Bg(t,n.length,a)];const r=Math.abs(t),s=n.length===2?r?r>1?1:0:1:r?Math.min(r,2):0;return n[Math.min(s,n.length-1)]}function pi(e,t){const o=String(t);return e&&!o.startsWith(`${e}.`)?`${e}.${o}`:o}function Ug(e,t={}){const o=typeof t.fallback=="function"?(n,a,r)=>Gg(Hg(t.fallback(pi(e,n),a)??n,r),a):(n,a,r)=>Gg(Hg(no(pi(e,n))??n,r),a);try{const n=jt();return(a,r,s)=>{const i=pi(e,a),l=typeof s=="number"?n.t(i,r||{},s):n.t(i,r||{});return l===i?o(a,r,s):l}}catch{return o}}function rc(e,t={}){const o=Ug(e,t);try{const n=jt();return{t:o,te:a=>n.te(pi(e,a)),locale:n.locale}}catch{return{t:o,te:()=>!1,locale:t.locale??"en"}}}const My="background:var(--dx-elevated, #fff);color:var(--dx-text, #3b463d);border:1px solid var(--dx-line, #d1d4cd);",Ry="background:#2b2f2c;color:#e8e9e6;border:1px solid #4a4f4b;",Fy=jn({name:"LazyLoadFailed",props:{onRetry:{type:Function,required:!0},dark:Boolean},setup(e){const t=Ug("messages"),o=we(!1),n=()=>{o.value||(o.value=!0,e.onRetry())};return()=>ua("div",{class:"dx-lazy-failed",role:"alert",style:"padding:12px;font-size:13px;line-height:1.4;border-radius:8px;"+(e.dark?Ry:My)},[ua("span",t("viewLoadFailed"))," ",ua("button",{type:"button",disabled:o.value,style:"font:inherit;cursor:pointer;",onClick:n},t("retry"))])}});function Ny(e,t){return R0({loader:e,errorComponent:jn({inheritAttrs:!1,props:{isDark:Boolean},setup:o=>()=>ua(Fy,{onRetry:t,dark:o.isDark})}),onError(o,n,a,r){r<=3?setTimeout(n,r*500):a()}})}function gi(e){const t=Ia(null),o=()=>{t.value=Ny(e,o)};return o(),jn({name:"RetryableAsync",inheritAttrs:!1,setup(n,{attrs:a,slots:r}){return()=>ua(t.value,a,r)}})}function Kt(e,t){const o=Lo(),n=t||(o&&o.type&&o.type.__hmrId?"hmr-"+o.type.__hmrId:Oy(e));Jo(()=>{var l;if(!o)return;const a=(l=o.proxy)==null?void 0:l.$el;if(!a)return;const r=a.getRootNode();if(!(r instanceof ShadowRoot))return;if(!r.querySelector('style[data-shadow-styles="reduced-motion"]')){const c=document.createElement("style");c.setAttribute("data-shadow-styles","reduced-motion"),c.textContent=Iy,r.appendChild(c)}const s=r.querySelector(`style[data-shadow-styles="${n}"]`);if(s){s.textContent!==e&&(s.textContent=e);return}const i=document.createElement("style");i.setAttribute("data-shadow-styles",n),i.textContent=e,r.appendChild(i)})}const Iy=`@media (prefers-reduced-motion: reduce) { + */const ty="9.14.5";function oy(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(jr().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(jr().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(jr().__INTLIFY_PROD_DEVTOOLS__=!1)}const ny=M_.__EXTEND_POINT__,Ln=oi(ny);Ln(),Ln(),Ln(),Ln(),Ln(),Ln(),Ln(),Ln(),Ln();const bg=on.__EXTEND_POINT__,bo=oi(bg),Vt={UNEXPECTED_RETURN_TYPE:bg,INVALID_ARGUMENT:bo(),MUST_BE_CALL_SETUP_TOP:bo(),NOT_INSTALLED:bo(),NOT_AVAILABLE_IN_LEGACY_MODE:bo(),REQUIRED_VALUE:bo(),INVALID_VALUE:bo(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:bo(),NOT_INSTALLED_WITH_PROVIDE:bo(),UNEXPECTED_ERROR:bo(),NOT_COMPATIBLE_LEGACY_VUE_I18N:bo(),BRIDGE_SUPPORT_VUE_2_ONLY:bo(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:bo(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:bo(),__EXTEND_POINT__:bo()};function Jt(e,...t){return qa(e,null,void 0)}const Vl=Gn("__translateVNode"),Yl=Gn("__datetimeParts"),Zl=Gn("__numberParts"),$g=Gn("__setPluralRules"),_g=Gn("__injectWithOption"),Jl=Gn("__dispose");function Ur(e){if(!dt(e)||tn(e))return e;for(const t in e)if(Oo(e,t))if(!t.includes("."))dt(e[t])&&Ur(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]||yt(),ai(c,s[l])):ai(c,s)}else Fe(i)&&ai(JSON.parse(i),s)}),a==null&&r)for(const i in s)Oo(s,i)&&Ur(s[i]);return s}function yg(e){return e.type}function vg(e,t,o){let n=dt(t.messages)?t.messages:yt();"__i18nGlobal"in o&&(n=ci(e.locale.value,{messages:n,__i18n:o.__i18nGlobal}));const a=Object.keys(n);a.length&&a.forEach(r=>{e.mergeLocaleMessage(r,n[r])});{if(dt(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(dt(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function wg(e){return ut(Er,null,e,0)}const kg="__INTLIFY_META__",xg=()=>[],ay=()=>!1;let Sg=0;function Ag(e){return(t,o,n,a)=>e(o,n,Lo()||void 0,a)}const ry=()=>{const e=Lo();let t=null;return e&&(t=yg(e)[kg])?{[kg]:t}:null};function Xl(e={},t){const{__root:o,__injectWithOption:n}=e,a=o===void 0,r=e.flatJson,s=ei?we:Ia,i=!!e.translateExistCompatible;let l=nt(e.inheritLocale)?e.inheritLocale:!0;const c=s(o&&l?o.locale.value:Fe(e.locale)?e.locale:Za),u=s(o&&l?o.fallbackLocale.value:Fe(e.fallbackLocale)||Et(e.fallbackLocale)||Qe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),p=s(ci(c.value,e)),f=s(Qe(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),x=s(Qe(e.numberFormats)?e.numberFormats:{[c.value]:{}});let S=o?o.missingWarn:nt(e.missingWarn)||Hn(e.missingWarn)?e.missingWarn:!0,y=o?o.fallbackWarn:nt(e.fallbackWarn)||Hn(e.fallbackWarn)?e.fallbackWarn:!0,h=o?o.fallbackRoot:nt(e.fallbackRoot)?e.fallbackRoot:!0,_=!!e.fallbackFormat,g=Pt(e.missing)?e.missing:null,b=Pt(e.missing)?Ag(e.missing):null,d=Pt(e.postTranslation)?e.postTranslation:null,w=o?o.warnHtmlMessage:nt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter;const k=o?o.modifiers:Qe(e.modifiers)?e.modifiers:{};let E=e.pluralRules||o&&o.pluralRules,L;L=(()=>{a&&ag(null);const U={version:ty,locale:c.value,fallbackLocale:u.value,messages:p.value,modifiers:k,pluralRules:E,missing:b===null?void 0:b,missingWarn:S,fallbackWarn:y,fallbackFormat:_,unresolving:!0,postTranslation:d===null?void 0:d,warnHtmlMessage:w,escapeParameter:m,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};U.datetimeFormats=f.value,U.numberFormats=x.value,U.__datetimeFormatters=Qe(L)?L.__datetimeFormatters:void 0,U.__numberFormatters=Qe(L)?L.__numberFormatters:void 0;const ne=U_(U);return a&&ag(ne),ne})(),Hr(L,c.value,u.value);function K(){return[c.value,u.value,p.value,f.value,x.value]}const J=oe({get:()=>c.value,set:U=>{c.value=U,L.locale=c.value}}),v=oe({get:()=>u.value,set:U=>{u.value=U,L.fallbackLocale=u.value,Hr(L,c.value,U)}}),N=oe(()=>p.value),$=oe(()=>f.value),A=oe(()=>x.value);function I(){return Pt(d)?d:null}function F(U){d=U,L.postTranslation=U}function W(){return g}function z(U){U!==null&&(b=Ag(U)),g=U,L.missing=b}const Z=(U,ne,Ee,Re,tt,kt)=>{K();let $t;try{__INTLIFY_PROD_DEVTOOLS__,a||(L.fallbackContext=o?H_():void 0),$t=U(L)}finally{__INTLIFY_PROD_DEVTOOLS__,a||(L.fallbackContext=void 0)}if(Ee!=="translate exists"&&Gt($t)&&$t===ii||Ee==="translate exists"&&!$t){const[Nt,Yt]=ne();return o&&h?Re(o):tt(Nt)}else{if(kt($t))return $t;throw Jt(Vt.UNEXPECTED_RETURN_TYPE)}};function j(...U){return Z(ne=>Reflect.apply(lg,null,[ne,...U]),()=>Wl(...U),"translate",ne=>Reflect.apply(ne.t,ne,[...U]),ne=>ne,ne=>Fe(ne))}function ae(...U){const[ne,Ee,Re]=U;if(Re&&!dt(Re))throw Jt(Vt.INVALID_ARGUMENT);return j(ne,Ee,oo({resolvedMessage:!0},Re||{}))}function _e(...U){return Z(ne=>Reflect.apply(dg,null,[ne,...U]),()=>Kl(...U),"datetime format",ne=>Reflect.apply(ne.d,ne,[...U]),()=>Jp,ne=>Fe(ne))}function Te(...U){return Z(ne=>Reflect.apply(fg,null,[ne,...U]),()=>ql(...U),"number format",ne=>Reflect.apply(ne.n,ne,[...U]),()=>Jp,ne=>Fe(ne))}function xe(U){return U.map(ne=>Fe(ne)||Gt(ne)||nt(ne)?wg(String(ne)):ne)}const X={normalize:xe,interpolate:U=>U,type:"vnode"};function q(...U){return Z(ne=>{let Ee;const Re=ne;try{Re.processor=X,Ee=Reflect.apply(lg,null,[Re,...U])}finally{Re.processor=null}return Ee},()=>Wl(...U),"translate",ne=>ne[Vl](...U),ne=>[wg(ne)],ne=>Et(ne))}function pe(...U){return Z(ne=>Reflect.apply(fg,null,[ne,...U]),()=>ql(...U),"number format",ne=>ne[Zl](...U),xg,ne=>Fe(ne)||Et(ne))}function Le(...U){return Z(ne=>Reflect.apply(dg,null,[ne,...U]),()=>Kl(...U),"datetime format",ne=>ne[Yl](...U),xg,ne=>Fe(ne)||Et(ne))}function M(U){E=U,L.pluralRules=E}function O(U,ne){return Z(()=>{if(!U)return!1;const Ee=Fe(ne)?ne:c.value,Re=se(Ee),tt=L.messageResolver(Re,U);return i?tt!=null:tn(tt)||Co(tt)||Fe(tt)},()=>[U],"translate exists",Ee=>Reflect.apply(Ee.te,Ee,[U,ne]),ay,Ee=>nt(Ee))}function B(U){let ne=null;const Ee=Yp(L,u.value,c.value);for(let Re=0;Re{l&&(c.value=U,L.locale=U,Hr(L,c.value,u.value))}),Ue(o.fallbackLocale,U=>{l&&(u.value=U,L.fallbackLocale=U,Hr(L,c.value,u.value))}));const de={id:Sg,locale:J,fallbackLocale:v,get inheritLocale(){return l},set inheritLocale(U){l=U,U&&o&&(c.value=o.locale.value,u.value=o.fallbackLocale.value,Hr(L,c.value,u.value))},get availableLocales(){return Object.keys(p.value).sort()},messages:N,get modifiers(){return k},get pluralRules(){return E||{}},get isGlobal(){return a},get missingWarn(){return S},set missingWarn(U){S=U,L.missingWarn=S},get fallbackWarn(){return y},set fallbackWarn(U){y=U,L.fallbackWarn=y},get fallbackRoot(){return h},set fallbackRoot(U){h=U},get fallbackFormat(){return _},set fallbackFormat(U){_=U,L.fallbackFormat=_},get warnHtmlMessage(){return w},set warnHtmlMessage(U){w=U,L.warnHtmlMessage=U},get escapeParameter(){return m},set escapeParameter(U){m=U,L.escapeParameter=U},t:j,getLocaleMessage:se,setLocaleMessage:G,mergeLocaleMessage:ue,getPostTranslationHandler:I,setPostTranslationHandler:F,getMissingHandler:W,setMissingHandler:z,[$g]:M};return de.datetimeFormats=$,de.numberFormats=A,de.rt=ae,de.te=O,de.tm=V,de.d=_e,de.n=Te,de.getDateTimeFormat=me,de.setDateTimeFormat=T,de.mergeDateTimeFormat=P,de.getNumberFormat=Q,de.setNumberFormat=le,de.mergeNumberFormat=ve,de[_g]=n,de[Vl]=q,de[Yl]=Le,de[Zl]=pe,de}function sy(e){const t=Fe(e.locale)?e.locale:Za,o=Fe(e.fallbackLocale)||Et(e.fallbackLocale)||Qe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=Pt(e.missing)?e.missing:void 0,a=nt(e.silentTranslationWarn)||Hn(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=nt(e.silentFallbackWarn)||Hn(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,s=nt(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=Qe(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Pt(e.postTranslation)?e.postTranslation:void 0,p=Fe(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,x=nt(e.sync)?e.sync:!0;let S=e.messages;if(Qe(e.sharedMessages)){const m=e.sharedMessages;S=Object.keys(m).reduce((E,L)=>{const H=E[L]||(E[L]={});return oo(H,m[L]),E},S||{})}const{__i18n:y,__root:h,__injectWithOption:_}=e,g=e.datetimeFormats,b=e.numberFormats,d=e.flatJson,w=e.translateExistCompatible;return{locale:t,fallbackLocale:o,messages:S,flatJson:d,datetimeFormats:g,numberFormats:b,missing:n,missingWarn:a,fallbackWarn:r,fallbackRoot:s,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:p,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:x,translateExistCompatible:w,__i18n:y,__root:h,__injectWithOption:_}}function Ql(e={},t){{const o=Xl(sy(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 nt(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(r){o.missingWarn=nt(r)?!r:r},get silentFallbackWarn(){return nt(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(r){o.fallbackWarn=nt(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(!Fe(s))throw Jt(Vt.INVALID_ARGUMENT);const f=s;return Fe(i)?c.locale=i:Et(i)?u=i:Qe(i)&&(p=i),Et(l)?u=l:Qe(l)&&(p=l),Reflect.apply(o.t,o,[f,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(!Fe(s))throw Jt(Vt.INVALID_ARGUMENT);const f=s;return Fe(i)?c.locale=i:Gt(i)?c.plural=i:Et(i)?u=i:Qe(i)&&(p=i),Fe(l)?c.locale=l:Et(l)?u=l:Qe(l)&&(p=l),Reflect.apply(o.t,o,[f,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 ec={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function iy({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,a)=>[...n,...a.type===et?a.children:[a]],[]):t.reduce((o,n)=>{const a=e[n];return a&&(o[n]=a()),o},yt())}function Pg(e){return et}const Lg=jn({name:"i18n-t",props:oo({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Gt(e)||!isNaN(e)}},ec),setup(e,t){const{slots:o,attrs:n}=t,a=e.i18n||jt({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(o).filter(p=>p!=="_"),s=yt();e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=Fe(e.plural)?+e.plural:e.plural);const i=iy(t,r),l=a[Vl](e.keypath,i,s),c=oo(yt(),n),u=Fe(e.tag)||dt(e.tag)?e.tag:Pg();return ua(u,c,l)}}});function ly(e){return Et(e)&&!Fe(e[0])}function Cg(e,t,o,n){const{slots:a,attrs:r}=t;return()=>{const s={part:!0};let i=yt();e.locale&&(s.locale=e.locale),Fe(e.format)?s.key=e.format:dt(e.format)&&(Fe(e.format.key)&&(s.key=e.format.key),i=Object.keys(e.format).reduce((f,x)=>o.includes(x)?oo(yt(),f,{[x]:e.format[x]}):f,yt()));const l=n(e.value,s,i);let c=[s.key];Et(l)?c=l.map((f,x)=>{const S=a[f.type],y=S?S({[f.type]:f.value,index:x,parts:l}):[f.value];return ly(y)&&(y[0].key=`${f.type}-${x}`),y}):Fe(l)&&(c=[l]);const u=oo(yt(),r),p=Fe(e.tag)||dt(e.tag)?e.tag:Pg();return ua(p,u,c)}}const Tg=jn({name:"i18n-n",props:oo({value:{type:Number,required:!0},format:{type:[String,Object]}},ec),setup(e,t){const o=e.i18n||jt({useScope:e.scope,__useComponent:!0});return Cg(e,t,hg,(...n)=>o[Zl](...n))}}),Eg=jn({name:"i18n-d",props:oo({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ec),setup(e,t){const o=e.i18n||jt({useScope:e.scope,__useComponent:!0});return Cg(e,t,pg,(...n)=>o[Yl](...n))}});function cy(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 uy(e){const t=s=>{const{instance:i,modifiers:l,value:c}=s;if(!i||!i.$)throw Jt(Vt.UNEXPECTED_ERROR);const u=cy(e,i.$),p=Mg(c);return[Reflect.apply(u.t,u,[...Rg(p)]),u]};return{created:(s,i)=>{const[l,c]=t(i);ei&&e.global===c&&(s.__i18nWatcher=Ue(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),s.__composer=c,s.textContent=l},unmounted:s=>{ei&&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=Mg(i);s.textContent=Reflect.apply(l.t,l,[...Rg(c)])}},getSSRProps:s=>{const[i]=t(s);return{textContent:i}}}}function Mg(e){if(Fe(e))return{path:e};if(Qe(e)){if(!("path"in e))throw Jt(Vt.REQUIRED_VALUE,"path");return e}else throw Jt(Vt.INVALID_VALUE)}function Rg(e){const{path:t,locale:o,args:n,choice:a,plural:r}=e,s={},i=n||{};return Fe(o)&&(s.locale=o),Gt(a)&&(s.plural=a),Gt(r)&&(s.plural=r),[t,i,s]}function dy(e,t,...o){const n=Qe(o[0])?o[0]:{},a=!!n.useI18nComponentName;(nt(n.globalInstall)?n.globalInstall:!0)&&([a?"i18n":Lg.name,"I18nT"].forEach(s=>e.component(s,Lg)),[Tg.name,"I18nN"].forEach(s=>e.component(s,Tg)),[Eg.name,"I18nD"].forEach(s=>e.component(s,Eg))),e.directive("t",uy(t))}function py(e,t,o){return{beforeCreate(){const n=Lo();if(!n)throw Jt(Vt.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=Fg(e,r);else{r.__injectWithOption=!0,r.__extender=o.__vueI18nExtend,this.$i18n=Ql(r);const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=Fg(e,a);else{this.$i18n=Ql({__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&&vg(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=Lo();if(!n)throw Jt(Vt.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 Fg(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[$g](t.pluralizationRules||e.pluralizationRules);const o=ci(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 gy=Gn("global-vue-i18n");function fy(e={},t){const o=__VUE_I18N_LEGACY_API__&&nt(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=nt(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&o?!!e.allowComposition:!0,r=new Map,[s,i]=hy(e,o),l=Gn("");function c(f){return r.get(f)||null}function u(f,x){r.set(f,x)}function p(f){r.delete(f)}{const f={get mode(){return __VUE_I18N_LEGACY_API__&&o?"legacy":"composition"},get allowComposition(){return a},async install(x,...S){if(x.__VUE_I18N_SYMBOL__=l,x.provide(x.__VUE_I18N_SYMBOL__,f),Qe(S[0])){const _=S[0];f.__composerExtend=_.__composerExtend,f.__vueI18nExtend=_.__vueI18nExtend}let y=null;!o&&n&&(y=xy(x,f.global)),__VUE_I18N_FULL_INSTALL__&&dy(x,f,...S),__VUE_I18N_LEGACY_API__&&o&&x.mixin(py(i,i.__composer,f));const h=x.unmount;x.unmount=()=>{y&&y(),f.dispose(),h()}},get global(){return i},dispose(){s.stop()},__instances:r,__getInstance:c,__setInstance:u,__deleteInstance:p};return f}}function jt(e={}){const t=Lo();if(t==null)throw Jt(Vt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Jt(Vt.NOT_INSTALLED);const o=my(t),n=$y(o),a=yg(t),r=by(e,a);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!e.__useComponent){if(!o.allowComposition)throw Jt(Vt.NOT_AVAILABLE_IN_LEGACY_MODE);return wy(t,r,n,e)}if(r==="global")return vg(n,e,a),n;if(r==="parent"){let l=_y(o,t,e.__useComponent);return l==null&&(l=n),l}const s=o;let i=s.__getInstance(t);if(i==null){const l=oo({},e);"__i18n"in a&&(l.__i18n=a.__i18n),n&&(l.__root=n),i=Xl(l),s.__composerExtend&&(i[Jl]=s.__composerExtend(i)),vy(s,t,i),s.__setInstance(t,i)}return i}function hy(e,t,o){const n=vs();{const a=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Ql(e)):n.run(()=>Xl(e));if(a==null)throw Jt(Vt.UNEXPECTED_ERROR);return[n,a]}}function my(e){{const t=je(e.isCE?gy:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Jt(e.isCE?Vt.NOT_INSTALLED_WITH_PROVIDE:Vt.UNEXPECTED_ERROR);return t}}function by(e,t){return ti(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function $y(e){return e.mode==="composition"?e.global:e.global.__composer}function _y(e,t,o=!1){let n=null;const a=t.root;let r=yy(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[_g]&&(n=null))}if(n!=null||a===r)break;r=r.parent}return n}function yy(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function vy(e,t,o){Jo(()=>{},t),Bs(()=>{const n=o;e.__deleteInstance(t);const a=n[Jl];a&&(a(),delete n[Jl])},t)}function wy(e,t,o,n={}){const a=t==="local",r=Ia(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Jt(Vt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=nt(n.inheritLocale)?n.inheritLocale:!Fe(n.locale),i=we(!a||s?o.locale.value:Fe(n.locale)?n.locale:Za),l=we(!a||s?o.fallbackLocale.value:Fe(n.fallbackLocale)||Et(n.fallbackLocale)||Qe(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i.value),c=we(ci(i.value,n)),u=we(Qe(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),p=we(Qe(n.numberFormats)?n.numberFormats:{[i.value]:{}}),f=a?o.missingWarn:nt(n.missingWarn)||Hn(n.missingWarn)?n.missingWarn:!0,x=a?o.fallbackWarn:nt(n.fallbackWarn)||Hn(n.fallbackWarn)?n.fallbackWarn:!0,S=a?o.fallbackRoot:nt(n.fallbackRoot)?n.fallbackRoot:!0,y=!!n.fallbackFormat,h=Pt(n.missing)?n.missing:null,_=Pt(n.postTranslation)?n.postTranslation:null,g=a?o.warnHtmlMessage:nt(n.warnHtmlMessage)?n.warnHtmlMessage:!0,b=!!n.escapeParameter,d=a?o.modifiers:Qe(n.modifiers)?n.modifiers:{},w=n.pluralRules||a&&o.pluralRules;function m(){return[i.value,l.value,c.value,u.value,p.value]}const k=oe({get:()=>r.value?r.value.locale.value:i.value,set:B=>{r.value&&(r.value.locale.value=B),i.value=B}}),E=oe({get:()=>r.value?r.value.fallbackLocale.value:l.value,set:B=>{r.value&&(r.value.fallbackLocale.value=B),l.value=B}}),L=oe(()=>r.value?r.value.messages.value:c.value),H=oe(()=>u.value),K=oe(()=>p.value);function J(){return r.value?r.value.getPostTranslationHandler():_}function v(B){r.value&&r.value.setPostTranslationHandler(B)}function N(){return r.value?r.value.getMissingHandler():h}function $(B){r.value&&r.value.setMissingHandler(B)}function A(B){return m(),B()}function I(...B){return r.value?A(()=>Reflect.apply(r.value.t,null,[...B])):A(()=>"")}function F(...B){return r.value?Reflect.apply(r.value.rt,null,[...B]):""}function W(...B){return r.value?A(()=>Reflect.apply(r.value.d,null,[...B])):A(()=>"")}function z(...B){return r.value?A(()=>Reflect.apply(r.value.n,null,[...B])):A(()=>"")}function Z(B){return r.value?r.value.tm(B):{}}function j(B,V){return r.value?r.value.te(B,V):!1}function ae(B){return r.value?r.value.getLocaleMessage(B):{}}function _e(B,V){r.value&&(r.value.setLocaleMessage(B,V),c.value[B]=V)}function Te(B,V){r.value&&r.value.mergeLocaleMessage(B,V)}function xe(B){return r.value?r.value.getDateTimeFormat(B):{}}function Ae(B,V){r.value&&(r.value.setDateTimeFormat(B,V),u.value[B]=V)}function X(B,V){r.value&&r.value.mergeDateTimeFormat(B,V)}function q(B){return r.value?r.value.getNumberFormat(B):{}}function pe(B,V){r.value&&(r.value.setNumberFormat(B,V),p.value[B]=V)}function Le(B,V){r.value&&r.value.mergeNumberFormat(B,V)}const M={get id(){return r.value?r.value.id:-1},locale:k,fallbackLocale:E,messages:L,datetimeFormats:H,numberFormats:K,get inheritLocale(){return r.value?r.value.inheritLocale:s},set inheritLocale(B){r.value&&(r.value.inheritLocale=B)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(c.value)},get modifiers(){return r.value?r.value.modifiers:d},get pluralRules(){return r.value?r.value.pluralRules:w},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:f},set missingWarn(B){r.value&&(r.value.missingWarn=B)},get fallbackWarn(){return r.value?r.value.fallbackWarn:x},set fallbackWarn(B){r.value&&(r.value.missingWarn=B)},get fallbackRoot(){return r.value?r.value.fallbackRoot:S},set fallbackRoot(B){r.value&&(r.value.fallbackRoot=B)},get fallbackFormat(){return r.value?r.value.fallbackFormat:y},set fallbackFormat(B){r.value&&(r.value.fallbackFormat=B)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:g},set warnHtmlMessage(B){r.value&&(r.value.warnHtmlMessage=B)},get escapeParameter(){return r.value?r.value.escapeParameter:b},set escapeParameter(B){r.value&&(r.value.escapeParameter=B)},t:I,getPostTranslationHandler:J,setPostTranslationHandler:v,getMissingHandler:N,setMissingHandler:$,rt:F,d:W,n:z,tm:Z,te:j,getLocaleMessage:ae,setLocaleMessage:_e,mergeLocaleMessage:Te,getDateTimeFormat:xe,setDateTimeFormat:Ae,mergeDateTimeFormat:X,getNumberFormat:q,setNumberFormat:pe,mergeNumberFormat:Le};function O(B){B.locale.value=i.value,B.fallbackLocale.value=l.value,Object.keys(c.value).forEach(V=>{B.mergeLocaleMessage(V,c.value[V])}),Object.keys(u.value).forEach(V=>{B.mergeDateTimeFormat(V,u.value[V])}),Object.keys(p.value).forEach(V=>{B.mergeNumberFormat(V,p.value[V])}),B.escapeParameter=b,B.fallbackFormat=y,B.fallbackRoot=S,B.fallbackWarn=x,B.missingWarn=f,B.warnHtmlMessage=g}return hd(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Jt(Vt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const B=r.value=e.proxy.$i18n.__composer;t==="global"?(i.value=B.locale.value,l.value=B.fallbackLocale.value,c.value=B.messages.value,u.value=B.datetimeFormats.value,p.value=B.numberFormats.value):a&&O(B)}),M}const ky=["locale","fallbackLocale","availableLocales"],Ng=["t","rt","d","n","tm","te"];function xy(e,t){const o=Object.create(null);return ky.forEach(a=>{const r=Object.getOwnPropertyDescriptor(t,a);if(!r)throw Jt(Vt.UNEXPECTED_ERROR);const s=Tt(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,Ng.forEach(a=>{const r=Object.getOwnPropertyDescriptor(t,a);if(!r||!r.value)throw Jt(Vt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,r)}),()=>{delete e.config.globalProperties.$i18n,Ng.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}if(oy(),D_(Z_),z_($_),j_(Yp),__INTLIFY_PROD_DEVTOOLS__){const e=jr();e.__INTLIFY__=!0,P_(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Sy=Object.assign({"./locales/ar/allPeopleGroups.json":{title:"كل مجموعات الشعوب",locations:"{n} موقعًا (مجموعة × بلد)",doxa:"مجموعات شعوب DOXA",frontier:"حدودية — لم يبدأ شيء",unreached:"غير مُبشَّرة — العمل يبدأ",reached:"مُبشَّرة — الكنيسة موجودة",hint:"انقر على صف لعرضها كلها · انقر مرة أخرى لعرض الكل",loading:"جارٍ تحميل كل مجموعات الشعوب…",loadError:"تعذّر تحميل الخريطة.",pray:"صلِّ لأجلهم ←",population:"السكان {n}"},"./locales/ar/aria.json":{backToLegend:"العودة إلى المفتاح",closeDetailView:"إغلاق عرض التفاصيل",collapseLegend:"طيّ وسيلة الإيضاح",expandLegend:"توسيع وسيلة الإيضاح",toggleLegend:"إظهار وسيلة الإيضاح أو إخفاؤها",searchPeopleGroups:"ابحث عن الشعوب",resetAllFilters:"إعادة تعيين كل عوامل التصفية والبحث",selectAllRows:"تحديد كل الصفوف",deselectAllRows:"إلغاء تحديد كل الصفوف",rowDetail:"تفاصيل الصف",dismissHint:"إخفاء التلميح",resizeFiltersRail:"تغيير حجم شريط عوامل التصفية",resizeFiltersRailHint:"اسحب أو استخدم مفاتيح الأسهم لتغيير حجم شريط عوامل التصفية",resizeChartsRail:"تغيير حجم شريط الرسوم البيانية",resizeChartsRailHint:"اسحب أو استخدم مفاتيح الأسهم لتغيير حجم شريط الرسوم البيانية",resizeMapTableSplit:"تغيير نسبة التقسيم بين الخريطة والجدول",resizeMapTableSplitHint:"اسحب أو استخدم مفاتيح الأسهم لتغيير نسبة التقسيم بين الخريطة والجدول",resizeTable:"تغيير ارتفاع الجدول",resizeTableHint:"اسحب أو استخدم مفاتيح الأسهم لتغيير حجم الجدول",resizeDashboardHeight:"تغيير ارتفاع لوحة المعلومات",resizeDashboardHeightHint:"اسحب أو استخدم مفاتيح الأسهم لتغيير ارتفاع لوحة المعلومات",removeFilter:"إزالة عامل التصفية {name}",closeDetail:"إغلاق التفاصيل",filterBreadcrumb:"مسار عوامل التصفية",railViews:"طرق عرض الشريط",upgCountLegend:"مفتاح عدد UPG",donutChart:"مخطط دائري مجوّف: {title}"},"./locales/ar/buttons.json":{prayForThem:"صلِّ من أجلهم",adoptThem:"تبنَّهم",moreInfo:"مزيد من المعلومات",zoomIn:"تكبير",zoomOut:"تصغير",switchToLightMode:"التبديل إلى الوضع الفاتح",switchToDarkMode:"التبديل إلى الوضع الداكن",resetView:"إعادة تعيين العرض",toggleFullscreen:"تبديل ملء الشاشة",aboutThisMap:"حول هذه الخريطة",closeMenu:"إغلاق القائمة",reloadMap:"إعادة تحميل الخريطة",showClusters:"إظهار المجموعات",clusterSettings:"إعدادات المجموعات",startAutoFly:"بدء الطيران التلقائي",stopFlight:"إيقاف الطيران",speedLabel:"السرعة:",speedOption:{slow:"بطيء",normal:"عادي",fast:"سريع"},shareEmbed:"مشاركة وتضمين",posterMap:"خريطة الملصق",prayerList:"قائمة الصلاة",cardDeck:"مجموعة البطاقات",printOptions:"خيارات الطباعة",showOnMap:"أظهر على الخريطة",close:"إغلاق",showOnMapAria:"أظهر {label} على الخريطة",cardStockAria:"حجم بطاقة الصلاة",previewPrintPoster:"معاينة وطباعة ملصق {label}",share:"مشاركة",shareSteps:["ضع هذه الخريطة على موقعك","أعدّ قائمة بمواقع الويب في مدينتك","علّمهم أن يضعوها أيضًا","علّمهم أن يعلّموا غيرهم وضعها","لنكثر الخرائط في كل مكان ليسوع!"],clearSelection:"إلغاء التحديد",noOptions:"لا توجد نتائج",renderingLocal:"يتم إنشاء صورة بجودة الطباعة في متصفحك — لا يتم تحميل أي شيء.",postersPerRow:"الملصقات في كل صف",packetVariantAria:"تفاصيل حزمة الصلاة",packetFull:"تفاصيل كاملة",packetLightweight:"مختصرة",working:"جارٍ العمل…",postersPerRowAuto:"تلقائي"},"./locales/ar/controls.json":{research_controls:"أدوات البحث",clustering:"التجميع",filters:"عوامل التصفية",pin_dim:"خفوت النقاط",export_poster:"تصدير ملصق…",reload_data:"إعادة تحميل البيانات",off:"إيقاف",native:"أصلي",mst:"الشجرة الممتدة",network:"شبكة",off_desc:"إظهار كل نقطة على حدة",native_desc:"تجميع دوائر Mapbox (الأسرع)",mst_desc:"شبكات تقارب بالشجرة الممتدة الصغرى",network_desc:"خطوط ربط بأقرب جار",search_languages:"ابحث عن اللغات…",search_religions:"ابحث عن الأديان…",reset_all:"إعادة تعيين الكل",no_languages:"لم تُحمَّل أي لغات بعد",no_religions:"لم تُحمَّل أي أديان بعد",unadopted:"غير متبنّى",min:"الأدنى",max:"الأعلى",adopted:"متبنَّاة",adoption:"التبني",engaged:"مُخْدُومَة",engagement:"المشاركة",unengaged:"يحتاج إلى انخراط",language:"اللغة",religion:"الدين",population:"السكان",any:"الكل",active_count:"{n} نشط",prayer_status:"حالة الصلاة",close:"إغلاق",clear:"مسح",map_controls:"أدوات التحكم بالخريطة",clusters:"التجمّعات",mst_full_name:"الشجرة الممتدة الصغرى",mst_hint:"اضغط على صف في مفتاح الخريطة لتجميع تلك المجموعة وحدها"},"./locales/ar/dashboard.json":{bloc:"كتلة التقارب",gospel_access:"الوصول إلى الإنجيل",people:"الشعوب",people_name:"الشعب (الاسم)",praying:"يصلّون",religion_family:"عائلة الأديان",search_language:"ابحث عن لغة",search_people:"ابحث عن شعب",search_place:"ابحث عن مكان",search_religion:"ابحث عن دين",upgs_in_scope:"الشعوب ضمن النطاق",countries_touched:"الدول المشمولة",unreached:"غير موصولين",sum_population:"مجموع السكان",sum_praying:"مجموع المصلّين",charts:"الرسوم البيانية",table:"الجدول",cluster:"المجموعة",country:"الدولة",engagement:"المشاركة",language:"اللغة",language_family:"عائلة اللغة",people_group:"الشعب",population:"السكان",prayer:"الصلاة",region:"المنطقة",religion:"الدين",status:"الحالة",adopted:"متبنَّاة",filters:"عوامل التصفية",gospel_resources:"موارد الإنجيل",map:"الخريطة",search_placeholder:"ابحث عن الشعوب والأماكن واللغات والأديان…",any:"الكل",active_count:"{n} نشط",prayer_status:"حالة الصلاة",map_controls:"أدوات التحكم بالخريطة",close:"إغلاق",clear:"مسح",dashboard_title:"لوحة البحث الشاملة",align_dashboard:"محاذاة اللوحة",align_dashboard_tip:"إعادة تخطيط اللوحة إلى المحاذاة الافتراضية",selected:"المحدد",world:"العالم",vertical_legend:"مفتاح عمودي",groups_in_scope:"مجموعة ضمن النطاق",filter_by:"تصفية حسب",remove_filter:"إزالة التصفية",groups:"مجموعة",expand:"توسيع",collapse:"طيّ",place:"المكان",export_csv:"تصدير CSV",detail:"التفاصيل",detail_empty:"اختر شعبًا لعرض التفاصيل",heartbeat_zone:"منطقة نبض القلب",top_countries:"أبرز الدول",select_all:"تحديد الكل",expand_table:"توسيع الجدول",collapse_table:"طيّ الجدول — توسيع الخريطة",group:"مجموعة",deselect_all:"إلغاء تحديد الكل",results_live:"عرض {count} من أصل {total} {unit}",filters_live:"عوامل التصفية: {list}",search_live:"البحث: {term}",adopted_by_churches:"تم تبنّيها من قِبل الكنائس",bp_title:"الصورة الكاملة — لوحة البحث الموحّدة",bp_subtitle:"ابحث وصفِّ شعوب العالم · الأقل وصولاً إليها أولاً",export_selection:"تصدير هذا التحديد",map_loading:"جارٍ تحميل خريطة البحث…",no_match:"لا توجد شعوب تطابق ”{q}“.",no_photo:"لا توجد صورة",only_selected:"المحدَّدة فقط",only_selected_hint:"إظهار الشعوب المحدَّدة فقط",people_committed:"الأشخاص الملتزمون",people_praying:"الأشخاص المصلّون",selected_first:"المحدَّدة أولاً",selected_first_hint:"رفع الشعوب المحدَّدة إلى الأعلى مع الإبقاء على ترتيب الأعمدة",n_shown:"{n} معروض",other:"أخرى",wagfRegion:{africa:"أفريقيا",asia:"آسيا",europe:"أوروبا","latin_america_&_caribbean":"أمريكا اللاتينية",oceania:"أوقيانوسيا",middle_east:"الشرق الأوسط","north_america_&_non-spanish_caribbean":"أمريكا الشمالية والكاريبي غير الناطق بالإسبانية"},sort_by_column_hint:"رتّب هذا الجدول حسب {column} — النقر مع Shift يضيف عمودًا ثانيًا. الفرز يرتّب الجدول فقط؛ وتحتفظ البطاقات بترتيبها.",fs_exit_hint:"الخروج من ملء الشاشة (Esc) — العودة إلى سبعة صفوف",fs_open_hint:"فتح هذا الجدول بملء الشاشة",fs_exit:"الخروج من ملء الشاشة",fs_open:"فتح الجدول بملء الشاشة",export_selected_hint:"تصدير جميع الحقول — الشعوب المحددة: {n}",export_all_hint:"تصدير جميع الحقول — الشعوب: {n}",map_init_failed:"تعذّر تشغيل الخريطة. تحقّق من رمز الوصول ومن حاوية الخريطة.",show_filters:"إظهار المرشّحات",hide_filters:"إخفاء المرشّحات — لتوسيع الخريطة",show_charts:"إظهار الرسوم",hide_charts:"إخفاء الرسوم — لتوسيع الخريطة",export_copied:"نُسخ إلى الحافظة",export_done:"صُدّر",export_ready:"جاهز",export_toast:"✓ {rows} صفًّا × {fields} حقلًا {how}",export_failed:"✕ فشل التصدير",pray_for_group:"صلِّ لأجل هذا الشعب",more_information:"مزيد من المعلومات",title:"لوحة البحث",gospel_pending:"غير جاهز بعد: ما زال رقم غير الموصول إليهم ومفتاح مصدر البيانات وشكل الواجهة قيد التقرير."},"./locales/ar/detail.json":{labels:{country:"الدولة:",population:"السكان:",language:"اللغة:",religion:"الديانة:",languageFamily:"العائلة اللغوية:",peopleCommitted:"ملتزمون بالصلاة:"},messages:{noDescription:"لا يوجد وصف متاح."}},"./locales/ar/grid.json":{search:"ابحث عن الشعوب…",hide_filters:"إخفاء عوامل التصفية",show_filters:"إظهار عوامل التصفية",total:"الإجمالي",showing:"المعروض",load_more:"عرض المزيد",full_profile:"الملف الكامل",wagf_region:"المنطقة",wagf_block:"كتلة التقارب",rop1:"الشعب",religion:"الدين",exact_filter:"تطابق تام",clear_all:"مسح الكل",loading:"جارٍ التحميل…",no_results:"لا توجد شعوب مطابقة لهذا التصفية.",type_to_search:"اكتب للبحث...",load_failed:"تعذّر تحميل بيانات الشعوب. هذه مشكلة اتصال، وليست مشكلة في التصفية.",search_people_or_countries:"ابحث عن الشعوب أو الدول…",cards_per_row:"البطاقات في كل صف",cards_per_row_auto:"تلقائي"},"./locales/ar/legend.json":{title:{adoption:"تقدم التبني",affinityBlocs:"كتل القرابة",doxaRegions:"مناطق Doxa",engagement:"تقدم الانخراط",gospelResources:"موارد الإنجيل",languageFamilies:"العائلات اللغوية",prayer:"تقدم الصلاة",upg100List:"قائمة UPG 100 الخاصة بي",batchSelect:"تحديد متعدد"},header:{collapsed:"وسيلة الإيضاح",peopleGroupFallback:"مجموعة الشعب",default:"مفتاح الخريطة"},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:"اللغات"},tabInfo:{upg100Region:"المنطقة — ترتّب قوائم UPG-100 حسب منطقة العالم (أفريقيا، الهند، الشرق الأوسط، الصمّ، …). الأعداد هي مجموع UUPG والسكان لكل قائمة تحتها.",upg100Zone:"قوائم UPG-100 — كل واحدة هي قائمة صلاة للشعوب غير الموصول إليها في منطقة ما، وهي ما ترسمه الخريطة وتلوّنه. تُطبع كل قائمة ككُتيّب خاص بها.",upg100Group:"مجموعة شعبية — المجموعات غير الموصول إليها داخل القائمة، الأكثر حاجة للصلاة أولاً. كل نقطة على الخريطة هي واحدة منها.",family:"عائلة اللغة — مجموعة لغات منحدرة من أصل مشترك (مثل الهندية الأوروبية، الأفروآسيوية).",language:"اللغة — نظام تواصل يستخدمه شعب ما (مثل العربية، البنغالية، الهندية).",dialect:"اللهجة/التنوع — صورة إقليمية أو اجتماعية للغة (مثل العربية السودانية؛ لغة الإشارة الباكستانية).",bloc:"كتلة التقارب — أوسع تجميع، بحسب القرابة الثقافية واللغوية والجغرافية (مثل الشعوب الملايوية، شعوب جنوب آسيا، الصمّ، العالم العربي).",cluster:"المجموعة — تجميع أدقّ داخل الكتلة (مثل بورنيو-كاليمانتان ضمن الشعوب الملايوية). تُوسم الصفوف بـ «(مجموعة)» لتمييزها عن الشعوب.",group:"الشعب — هوية إثنية لغوية قائمة بذاتها، مستقلة عن الدولة. تُوسم الصفوف بـ «(شعب)». وقد يعيش الشعب الواحد في دول كثيرة (الصمّ مثلًا في أكثر من مئة دولة).",pgic:"الشعب في الدولة — صف لكل شعب في كل دولة يعيش فيها (مثل «أباي سونغاي، ماليزيا»). تُوسم الصفوف بـ «(شعب في دولة)».",region:"منطقة WAGF — المنطقة الكبرى التي تنتمي إليها الدولة (مثل آسيا، أفريقيا). لكل منها لون خاص على الخريطة.",block:"كتلة WAGF — التجميع الفرعي داخل المنطقة (مثل جنوب شرق آسيا، غرب أفريقيا).",country:"الدولة — الدول منفردة، مرتّبة حسب عدد السكان غير الموصول إليهم داخل كتلتها."},a11y:{expandRow:"توسيع {label}",collapseRow:"طي {label}",clearSelection:"إلغاء التحديد",goUp:"الانتقال إلى المستوى الأعلى: {label}"},export:{poster:"ملصق",packet:"UPG 100",packetExplain:"قائمة صلاة من نحو ٥٠ إلى ١٠٠ شعب غير مبلَّغ — يستطيع شخص واحد أن يحمل واحدة.",packetAria:"تفاصيل حزمة الصلاة",packetFull:"تفاصيل كاملة",packetLightweight:"مختصرة"},noDataAtThisLevel:"لا توجد بيانات في هذا المستوى",exportButton:"تصدير",exportSelection:"تصدير التحديد",loadingRows:"جارٍ تحميل {label}…",loadingData:"جارٍ تحميل البيانات…",showingTop:"عرض أعلى {n} من {m}",useGeocoderHint:"استخدم أداة البحث أعلاه للعثور على البقية",noList:"لم يتم تحميل أي قائمة."},"./locales/ar/lists.json":{doxa:{label:"المشروع 2000: الشعوب التي تخدمها DOXA",definition:"الشعوب التي تخدمها DOXA كما تقدّمها قائمتها الحيّة"},unreached:{label:"المشروع 7000: الشعوب غير المُبشَّرة",definition:"أولوية الضياع لدى IMB من 0 إلى 2 (حدودية أو رائدة أو متوسّعة غير مُبشَّرة: أقل من 2% إنجيليون)"},frontier:{label:"المشروع 4700: الشعوب الحدودية",definition:"أولوية الضياع لدى IMB بقيمة 0 (حدودية غير مُبشَّرة: 0.1% إنجيليون أو أقل)"},"frontier-500k":{label:"المشروع 700: الشعوب الحدودية التي يبلغ عددها 500,000 أو أكثر",definition:"أولوية الضياع لدى IMB بقيمة 0 وعدد سكان لا يقل عن 500,000"},unengaged:{label:"الشعوب غير المُبشَّرة التي لم يُعمَل بينها",definition:"أولوية الضياع لدى IMB من 0 إلى 2 وحالة العمل: لم يُعمَل بينها"}},"./locales/ar/mapui.json":{map:"الخريطة",marker:"علامة على الخريطة",closePopup:"إغلاق النافذة المنبثقة",zoomIn:"تكبير",zoomOut:"تصغير",resetBearing:"اسحب لتدوير الخريطة، وانقر لإعادة الشمال",toggleAttribution:"إظهار/إخفاء المصادر",mapFeedback:"ملاحظات على الخريطة",enterFullscreen:"ملء الشاشة",exitFullscreen:"الخروج من ملء الشاشة",findMyLocation:"تحديد موقعي",locationNotAvailable:"الموقع غير متاح",enableGlobe:"تفعيل الكرة الأرضية",disableGlobe:"إيقاف الكرة الأرضية",ctrlScroll:"استخدم Ctrl مع التمرير لتكبير الخريطة",cmdScroll:"استخدم ⌘ مع التمرير لتكبير الخريطة",twoFingers:"استخدم إصبعين لتحريك الخريطة",mapboxHomepage:"الصفحة الرئيسية لـ Mapbox",maplibreLogo:"شعار MapLibre"},"./locales/ar/messages.json":{menuComingSoon:"القائمة قادمة قريباً",pinHint:{tapDot:"اضغط على نقطة ملوّنة — لا يزال هناك من يحتاج إلى الصلاة"},upg100WallHeading:"قائمتي UPG 100 — قوائم صلاة وملصقات",upg100WallTag:"تعبئة للصلاة",upg100WallIntroA:"كيف تُطعم جمعًا من خمسة آلاف؟ أجلسهم يسوع جماعاتٍ من خمسين ومن مئة، فصار المستحيل قابلًا للمشاركة (لوقا ٩:١٤). فعلنا المثل مع ٢١٠٦ شعوب غير مبلَّغة: ٢٧ قائمة من نحو خمسين إلى مئة. تُطبع كل قائمة حزمةَ صلاة وملصقًا، ليحمل ٢٧ تلميذًا أو كنيسة أو قائدًا محليًا كلٌّ واحدة — مصلّين لأجلهم ",upg100WallIntroEmph:"باسم شعبهم",upg100WallIntroB:".",loadingNamed:"جارٍ تحميل {name}…",couldNotLoadNamed:"تعذّر تحميل {name}.",engineMissing:"لم يتم تحميل محرك الخرائط {engine}.",packetFailed:"فشل إنشاء الكُتيّب: {reason}",selectionPacketFailed:"فشل إنشاء كُتيّب التحديد: {reason}",posterOneTerritory:"الملصق يطبع منطقة واحدة في كل مرة — {count} محددة.",selectionPosterFailed:"فشل إنشاء ملصق التحديد: {reason}",mapUnavailable:"الخريطة غير متاحة",copied:"تم النسخ!",copyFailed:"فشل النسخ — اضغط Ctrl/Cmd-C",engineNotLoaded:"لم يتم تحميل محرك الخريطة",engineNotLoadedDetail:"لم يتم تحميل محرك الخريطة {engine}. القائمة ووسيلة الإيضاح غير متأثرتين.",viewLoadFailed:"تعذّر تحميل هذا العرض.",retry:"إعادة المحاولة",noMapboxToken:"لا يوجد رمز Mapbox",noMapboxTokenDetail:"لم يُضبط أي رمز Mapbox. القائمة ووسيلة الإيضاح غير متأثرتين.",loadingBoundaries:"جارٍ تحميل الحدود…",fetchingUupgs:"جارٍ جلب {n} من UUPG…",mapStatusCounts:"المساحات: {polys} · المناطق: {zones}/{total} · الدبابيس: {pins}",tapTerritoriesHint:"انقر على الأقاليم في الخريطة أو صفوف وسيلة الإيضاح لإضافتها · انقر مجددًا لإزالتها",territoriesSelected:"الأقاليم: {count}",bandInRange:"✓ النطاق 50–100",bandOutOfRange:"النطاق 50–100",mapContextLost:"تم إلغاء تحميل هذه الخريطة لتحرير ذاكرة الرسوميات.",nOfTotal:"{n} من {total}",mapInitFailed:"تعذّر تهيئة الخريطة — تحقّق من الرمز والحاوية",countryWallIntroA:"ملصق لكل دولة، جاهز للصلاة والطباعة والتعليق على الحائط — نصلّي لأجلهم ",countryWallIntroB:". رُتّبت المناطق والدول بحسب عدد الشعوب غير المبلَّغة فيها، لتتقدّم الحاجة الأكبر.",countryWallSoon:"قريبًا: ستُنشأ قائمة صلاة لكل دولة، تسمّي كل شعب غير مبلَّغ فيها.",countryWallHeading:"ملصقات الدول — قوائم صلاة وملصقات",largerScreenNotice:"هذه الخريطة التجريبية مُعدّة للشاشات الكبيرة. تُفتح هنا، لكن بعض أجزائها قد لا يتّسع أو لا يعمل جيدًا على الهاتف.",desktopOnlyNotice:"{label} يعمل على الحاسوب فقط — افتح هذه الصفحة على حاسوب لاستخدامه.",noticeDismiss:"إغلاق",countryPosterTooMany:"عدد الشعوب أكبر من أن يتّسع له ملصق واحد بوضوح — ونعمل على حلّ لذلك."},"./locales/ar/pins.json":{approximate:"تشير النقطة إلى المكان الذي يوجد فيه هذا الشعب، وليست بلدة أو حدودًا.",sharedPoint:"تقع في النقطة نفسها مع {names} — {n} مجموعات تتشارك هذا الإحداثي، لذا يدل الموقع على المنطقة لا على مكان كل مجموعة."},"./locales/ar/popup.json":{country:{wagfRegion:"منطقة WAGF",wagfBlock:"كتلة WAGF",country:"الدولة",uupgCount:"عدد UUPG"}},"./locales/ar/religion.json":{family:{Christianity:"المسيحية",Islam:"الإسلام",Hinduism:"الهندوسية",Buddhism:"البوذية",Ethnoreligion:"الديانات العرقية",Judaism:"اليهودية",Sikhism:"السيخية",Unaffiliated:"غير منتمين",Other:"أخرى",Unknown:"غير معروف"}},"./locales/ar/search.json":{placeholder:"شعب، مكان، لغة، ديانة",placeholderNoPlaces:"شعب، لغة، ديانة (البحث عن الأماكن يتطلب رمز Mapbox)",labels:{people:"الشعب:",place:"المكان:",language:"اللغة:",religion:"الديانة:"},kinds:{people:"الشعب + الدولة",peopleGroup:"الشعب",bloc:"كتلة التقارب",cluster:"مجموعة شعوب",country:"الدولة",region:"المنطقة",family:"عائلة اللغة",languageKind:"اللغة",dialect:"اللهجة",religionKind:"الدين"},sections:{within:"ضمن {selection}",allData:"كل بيانات DOXA"},upg100Placeholder:"ابحث عن شعب أو قائمة UPG-100 أو منطقة…",tabPlaceholder:{languageFamilies:"ابحث في عائلة اللغة أو اللغة أو اللهجة/التنوع",affinityBlocks:"ابحث في كتلة التقارب أو المجموعة أو الشعب",regions:"ابحث في المنطقة أو الدولة أو الشعب",religion:"ابحث في الديانة أو الشعب"},placeholderRegions:"ابحث عن منطقة أو دولة أو شعب"},"./locales/ar/share.json":{embed_link:"رابط التضمين",add_to_website:"أضِفها إلى موقعك",embed_paste_hint:"الصق هذا الرمز في أداة إنشاء موقعك (WordPress أو Squarespace أو Wix أو أي موقع يقبل أدوات HTML)."},"./locales/ar/tabs.json":{prayer:"الصلاة",adoption:"التبني",engagement:"المشاركة","affinity-blocks":"الشعوب",regions:"المناطق",countries:"الدول","language-families":"اللغات",religion:"الأديان",family:"عائلة اللغة",language:"اللغة",dialect:"اللهجة/التنوع",bloc:"كتلة التقارب",cluster:"المجموعة",group:"الشعب",pgic:"الشعب في الدولة",region:"منطقة WAGF",block:"كتلة WAGF",country:"الدولة",upg100Region:"المنطقة",upg100Zone:"قوائم UPG-100",upg100Group:"مجموعة شعبية",selectView:"اختر العرض",views:"العروض",prayerResources:"موارد الصلاة",map:"الخريطة",countryPosters:"ملصقات الدول"},"./locales/ar/wall.json":{title:"جدار الشعوب",toPortrait:"📱 التبديل إلى الوضع الطولي",toLandscape:"🖼️ التبديل إلى الوضع العرضي",currentLandscape:"الحالي: عرضي (4 × 3 أقدام)",currentPortrait:"الحالي: طولي (3 × 4 أقدام)",resetZoom:"إعادة ضبط التكبير",groupsLoaded:"الشعوب المحمّلة: {n}",loading:"جارٍ تحميل الشعوب…",offlineTitle:"تعذّر الوصول إلى بيانات الصلاة المباشرة.",offlineBody:"يقرأ الجدار شعوبه من pray.doxa.life. قد تكون غير متصل، أو قد لا تسمح الواجهة البرمجية بعنوان هذه الصفحة على خادم تطوير محلي.",tryAgain:"حاول مرة أخرى",prayedCount:"صلّوا: {n}",viewPrayers:"عرض الصلوات",prayerTools:"أدوات الصلاة",close:"إغلاق",unknown:"غير معروف",unknownGroup:"شعب غير معروف",status:"الحالة:",unengaged:"غير مُبشَّر",prayingNow:"هل تصلي الآن من أجل هذا الشعب؟",yesPraying:"نعم، أنا أصلي",thankYou:"شكرًا لصلاتك!",sharePrayer:"شارك صلاتك (اختياري)",prayerPlaceholder:"اكتب صلاتك هنا…",sendPrayer:"إرسال الصلاة",peopleGroup:"شعب",chatsTitle:"محادثات الشعب",id:"المعرّف:",location:"الموقع:",na:"غير متوفر",havePrayed:"صلّوا: {n}",youPrayed:"✓ لقد صلّيت!",prayForGroup:"🙏 صلِّ من أجل هذا الشعب",prayersComments:"الصلوات والتعليقات",noComments:"لا صلوات أو تعليقات بعد. كن الأول!",commentPlaceholder:"شارك صلاتك أو أفكارك…",postComment:"نشر التعليق",noPeopleId:"ليس لهذا الشعب معرّف PeopleID3",statusUnknown:"الحالة غير معروفة",printPoster:"🖨️ طباعة ملصق عالي الدقة",printPreparing:"جارٍ تجهيز الملصق: {n} من {total} صورة",printMissing:"صور تعذّر تحميلها: {n}. ستُطبع مربعاتٍ رمادية.",blessBanner:"باركوا الأمم باسم يسوع",modeLabel:"وضع الجدار",modeBless:"بركة",modeSocial:"تفاعلي",shareSoon:"المشاركة ستأتي لاحقًا.",drawLibError:"تعذّر على الجدار تحميل مكتبة الرسم الخاصة به:",posterSize:"حجم الملصق",posterSubtitle:"DOXA (δόξα) تعني المجد. حركة صلاة عالمية تبارك هذه الشعوب الـ {n} باسم يسوع. اعرف المزيد وانضم عبر pray.doxa.life.",glueHere:"الصق الورقة العلوية هنا",themesLabel:"مواضيع الصلاة",oldTestament:"العهد القديم",newTestament:"العهد الجديد",themeTreasure:"الكنز",themeMountain:"الجبل",themeSea:"البحر",posterClosing:"يسوع المسيح هو حجر الزاوية، ونحن حجارة حيّة. هذه الشعوب هي مكافأة آلامه. لنحمل دعوتنا الكهنوتية: باركوهم باسمه، وانضموا إلى العائلة العالمية في الصلاة.",journeyCalled:"الدعوة",journeyPromised:"الوعد",journeyRedeemed:"مُفتَدون",journeyCornerstone:"حجر الزاوية",journeyChildren:"أبناء إبراهيم",journeyPriesthood:"كهنوت ملوكي",journeySent:"مُرسَلون إلى الهالكين",peopleGroupCount:"لا شعوب | شعب واحد | شعبان | {n} شعوب | {n} شعبًا | {n} شعب",listCount:"لا قوائم | قائمة واحدة | قائمتان | {n} قوائم | {n} قائمة | {n} قائمة",stockCard:"بطاقة",stockPostcard:"بطاقة بريدية",stockLandscape:"أفقي",hud:{kindPoster:"ملصق",kindList:"قائمة",kindPacket:"حزمة صلاة",fetchingPoster:"جارٍ جلب الملصق",generatingPoster:"جارٍ إنشاء الملصق",openingPrint:"جارٍ فتح نافذة الطباعة",printOpened:"فُتحت نافذة الطباعة",saving:"جارٍ الحفظ",fetchingRecords:"جارٍ جلب البيانات",fetchingGroups:"جارٍ جلب الشعوب",layingOutRows:"لا صفوف | صف واحد قيد الترتيب | صفّان قيد الترتيب | {n} صفوف قيد الترتيب | {n} صفًا قيد الترتيب | {n} صف قيد الترتيب",layingOutCards:"لا بطاقات | بطاقة واحدة قيد الترتيب | بطاقتان قيد الترتيب | {n} بطاقات قيد الترتيب | {n} بطاقةً قيد الترتيب | {n} بطاقة قيد الترتيب",printingGroups:"لا شعوب | طباعة شعب واحد | طباعة شعبين | طباعة {n} شعوب | طباعة {n} شعبًا | طباعة {n} شعب",kindCardDeck:"مجموعة البطاقات",kindPrayerList:"قائمة الصلاة",saved:"تم الحفظ",noRecords:"لا تحتوي هذه القائمة على شعوب للطباعة",noPoster:"لا يتوفر ملصق لهذه القائمة",posterNotFound:"لم يُعثر على الملصق ({status})",posterBlank:"خرج الملصق المُنشأ فارغًا",noApi:"لم تُهيَّأ خدمة الشعوب",fetchFailed:"تعذّر تحميل الشعوب ({status})"},posterAlt:"{label} — ملصق صلاة",posterAltAction:"{label} — ملصق صلاة (انقر للمعاينة والطباعة)"},"./locales/de/allPeopleGroups.json":{title:"Alle Volksgruppen",locations:"{n} Standorte (Gruppe × Land)",doxa:"DOXA-Volksgruppen",frontier:"Frontier — noch nichts begonnen",unreached:"Unerreicht — Arbeit beginnt",reached:"Erreicht — Gemeinde ist da",hint:"Zeile anklicken, um alle zu sehen · erneut klicken für alle",loading:"Alle Volksgruppen werden geladen…",loadError:"Die Karte konnte nicht geladen werden.",pray:"Für sie beten →",population:"Einw. {n}"},"./locales/de/aria.json":{backToLegend:"Zurück zur Legende",closeDetailView:"Detailansicht schließen",collapseLegend:"Legende einklappen",expandLegend:"Legende ausklappen",toggleLegend:"Legende ein- oder ausblenden",searchPeopleGroups:"Volksgruppen suchen",resetAllFilters:"Alle Filter und die Suche zurücksetzen",selectAllRows:"Alle Zeilen auswählen",deselectAllRows:"Auswahl aller Zeilen aufheben",rowDetail:"Zeilendetails",dismissHint:"Hinweis schließen",resizeFiltersRail:"Filterleiste in der Größe ändern",resizeFiltersRailHint:"Ziehen oder Pfeiltasten verwenden, um die Filterleiste in der Größe zu ändern",resizeChartsRail:"Diagrammleiste in der Größe ändern",resizeChartsRailHint:"Ziehen oder Pfeiltasten verwenden, um die Diagrammleiste in der Größe zu ändern",resizeMapTableSplit:"Aufteilung zwischen Karte und Tabelle ändern",resizeMapTableSplitHint:"Ziehen oder Pfeiltasten verwenden, um die Aufteilung zwischen Karte und Tabelle zu ändern",resizeTable:"Tabellenhöhe ändern",resizeTableHint:"Ziehen oder Pfeiltasten verwenden, um die Tabelle in der Größe zu ändern",resizeDashboardHeight:"Höhe des Dashboards ändern",resizeDashboardHeightHint:"Ziehen oder Pfeiltasten verwenden, um die Höhe des Dashboards zu ändern",removeFilter:"Filter {name} entfernen",closeDetail:"Details schließen",filterBreadcrumb:"Filterpfad",railViews:"Ansichten der Leiste",upgCountLegend:"Legende der UPG-Anzahl",donutChart:"Ringdiagramm: {title}"},"./locales/de/buttons.json":{prayForThem:"Für sie beten",adoptThem:"Sie adoptieren",moreInfo:"Mehr Infos",zoomIn:"Vergrößern",zoomOut:"Verkleinern",switchToLightMode:"Zum hellen Modus wechseln",switchToDarkMode:"Zum dunklen Modus wechseln",resetView:"Ansicht zurücksetzen",toggleFullscreen:"Vollbild umschalten",aboutThisMap:"Über diese Karte",closeMenu:"Menü schließen",reloadMap:"Karte neu laden",showClusters:"Cluster anzeigen",clusterSettings:"Cluster-Einstellungen",startAutoFly:"Auto-Flug starten",stopFlight:"Flug stoppen",speedLabel:"Geschwindigkeit:",speedOption:{slow:"Langsam",normal:"Normal",fast:"Schnell"},shareEmbed:"Teilen und einbetten",posterMap:"Posterkarte",prayerList:"Gebetsliste",cardDeck:"Kartenset",printOptions:"Druckoptionen",showOnMap:"Auf der Karte zeigen",close:"Schließen",showOnMapAria:"{label} auf der Karte zeigen",cardStockAria:"Größe der Gebetskarte",previewPrintPoster:"Vorschau und Druck des Posters {label}",share:"Teilen",shareSteps:["Binde diese Karte auf deiner Website ein","Erstelle eine Liste der Websites in deiner Stadt","Zeige ihnen, wie sie sie ebenfalls einbinden","Zeige ihnen, wie sie es anderen beibringen","Lasst uns Karten überall vermehren – für Jesus!"],clearSelection:"Auswahl aufheben",noOptions:"Keine Optionen gefunden",renderingLocal:"Ein druckfähiges Bild wird in deinem Browser erzeugt — es wird nichts hochgeladen.",postersPerRow:"Poster pro Zeile",packetVariantAria:"Detailgrad des Gebetspakets",packetFull:"Vollständig",packetLightweight:"Kompakt",working:"Wird bearbeitet…",postersPerRowAuto:"Automatisch"},"./locales/de/controls.json":{research_controls:"Forschungssteuerung",clustering:"Clustering",filters:"Filter",pin_dim:"Pin-Transparenz",export_poster:"Poster exportieren…",reload_data:"Daten neu laden",off:"Aus",native:"Nativ",mst:"MST",network:"Netzwerk",off_desc:"Jeden Pin einzeln anzeigen",native_desc:"Mapbox-Kreiscluster (am schnellsten)",mst_desc:"Affinitätsnetze über minimalen Spannbaum",network_desc:"Verbindungslinien zum nächsten Nachbarn",search_languages:"Sprachen suchen…",search_religions:"Religionen suchen…",reset_all:"Alles zurücksetzen",no_languages:"Noch keine Sprachen geladen",no_religions:"Noch keine Religionen geladen",unadopted:"Nicht adoptiert",min:"min",max:"max",adopted:"Adoptiert",adoption:"Adoption",engaged:"Engagiert",engagement:"Engagement",unengaged:"Braucht Engagement",language:"Sprache",religion:"Religion",population:"Bevölkerung",any:"Alle",active_count:"{n} aktiv",prayer_status:"Gebetsstatus",close:"Schließen",clear:"Zurücksetzen",map_controls:"Kartensteuerung",clusters:"Cluster",mst_full_name:"Minimaler Spannbaum",mst_hint:"Klicken Sie auf eine Legendenzeile, um nur diese Gruppe zu clustern"},"./locales/de/dashboard.json":{bloc:"Affinitätsblock",gospel_access:"Zugang zum Evangelium",people:"Völker",people_name:"Volk (Name)",praying:"Betend",religion_family:"Religionsfamilie",search_language:"Sprache suchen",search_people:"Volk suchen",search_place:"Ort suchen",search_religion:"Religion suchen",upgs_in_scope:"UPGs im Bereich",countries_touched:"berührte Länder",unreached:"unerreicht",sum_population:"Σ Bevölkerung",sum_praying:"Σ Betende",charts:"Diagramme",table:"Tabelle",cluster:"Cluster",country:"Land",engagement:"Engagement",language:"Sprache",language_family:"Sprachfamilie",people_group:"Volk",population:"Bevölkerung",prayer:"Gebet",region:"Region",religion:"Religion",status:"Status",adopted:"Adoptiert",filters:"Filter",gospel_resources:"Evangeliumsressourcen",map:"Karte",search_placeholder:"Volksgruppen, Orte, Sprachen, Religionen suchen…",any:"Alle",active_count:"{n} aktiv",prayer_status:"Gebetsstatus",map_controls:"Kartensteuerung",close:"Schließen",clear:"Zurücksetzen",dashboard_title:"Big-Picture-Forschungsdashboard",align_dashboard:"Layout ausrichten",align_dashboard_tip:"Das Dashboard-Layout auf die Standardausrichtung zurücksetzen",selected:"Ausgewählt",world:"Welt",vertical_legend:"Vertikale Legende",groups_in_scope:"Volksgruppen im Bereich",filter_by:"Filtern nach",remove_filter:"Filter entfernen",groups:"Volksgruppen",expand:"Aufklappen",collapse:"Zuklappen",place:"Ort",export_csv:"CSV exportieren",detail:"Details",detail_empty:"Wählen Sie eine Volksgruppe, um Details zu sehen",heartbeat_zone:"Herzschlag-Zone",top_countries:"Top-Länder",select_all:"Alle auswählen",expand_table:"Tabelle ausklappen",collapse_table:"Tabelle einklappen – Karte vergrößern",group:"Volksgruppe",deselect_all:"Auswahl aufheben",results_live:"{count} von {total} {unit} angezeigt",filters_live:"Filter: {list}",search_live:"Suche: {term}",adopted_by_churches:"Von Gemeinden übernommen",bp_title:"Big Picture — einheitliches Forschungs-Dashboard",bp_subtitle:"Die Volksgruppen der Welt suchen und filtern · am wenigsten erreichte zuerst",export_selection:"Diese Auswahl exportieren",map_loading:"Forschungskarte wird geladen…",no_match:"Keine Volksgruppen entsprechen „{q}“.",no_photo:"Kein Foto",only_selected:"Nur ausgewählte",only_selected_hint:"Nur die ausgewählten Volksgruppen anzeigen",people_committed:"Verbindlich zugesagte Personen",people_praying:"Betende Personen",selected_first:"Ausgewählte zuerst",selected_first_hint:"Die ausgewählten Volksgruppen nach oben holen, die Spaltensortierung bleibt erhalten",n_shown:"{n} angezeigt",other:"Andere",wagfRegion:{africa:"Afrika",asia:"Asien",europe:"Europa","latin_america_&_caribbean":"Lateinamerika",oceania:"Ozeanien",middle_east:"Naher Osten","north_america_&_non-spanish_caribbean":"Nordamerika und nicht-spanische Karibik"},sort_by_column_hint:"Tabelle nach {column} sortieren – Umschalt-Klick fügt eine zweite Spalte hinzu. Die Sortierung ordnet nur die Tabelle; die Karten behalten ihre eigene Reihenfolge.",fs_exit_hint:"Vollbild beenden (Esc) — zurück zu sieben Zeilen",fs_open_hint:"Diese Tabelle im Vollbild öffnen",fs_exit:"Vollbild beenden",fs_open:"Tabelle im Vollbild öffnen",export_selected_hint:"Alle Felder exportieren — ausgewählte Volksgruppen: {n}",export_all_hint:"Alle Felder exportieren — Volksgruppen: {n}",map_init_failed:"Die Karte konnte nicht starten. Prüfen Sie das Zugriffstoken und den Kartencontainer.",show_filters:"Filter einblenden",hide_filters:"Filter ausblenden — Karte vergrößern",show_charts:"Diagramme einblenden",hide_charts:"Diagramme ausblenden — Karte vergrößern",export_copied:"in die Zwischenablage kopiert",export_done:"exportiert",export_ready:"bereit",export_toast:"✓ {rows} Zeilen × {fields} Felder {how}",export_failed:"✕ Export fehlgeschlagen",pray_for_group:"Für diese Volksgruppe beten",more_information:"Weitere Informationen",title:"Forschungs-Dashboard",gospel_pending:"Noch nicht so weit: die Zahl der Unerreichten, der Schlüssel zur Datenquelle und die Gestaltung werden noch entschieden."},"./locales/de/detail.json":{labels:{country:"Land:",population:"Bevölkerung:",language:"Sprache:",religion:"Religion:",languageFamily:"Sprachfamilie:",peopleCommitted:"Zum Gebet verpflichtet:"},messages:{noDescription:"Keine Beschreibung verfügbar."}},"./locales/de/grid.json":{search:"Volksgruppen suchen…",hide_filters:"Filter ausblenden",show_filters:"Filter anzeigen",total:"Gesamt",showing:"Angezeigt",load_more:"Mehr laden",full_profile:"Vollständiges Profil",wagf_region:"Region",wagf_block:"Affinitätsblock",rop1:"Volk",religion:"Religion",exact_filter:"Exakt",clear_all:"Alle löschen",loading:"Wird geladen…",no_results:"Keine Volksgruppen entsprechen diesem Filter.",type_to_search:"Zum Suchen tippen...",load_failed:"Die Daten konnten nicht geladen werden. Das ist ein Verbindungsproblem, nicht Ihr Filter.",search_people_or_countries:"Volksgruppen oder Länder suchen…",cards_per_row:"Karten pro Zeile",cards_per_row_auto:"Automatisch"},"./locales/de/legend.json":{title:{adoption:"Adoptionsfortschritt",affinityBlocs:"Affinitätsblöcke",doxaRegions:"Doxa-Regionen",engagement:"Engagement-Fortschritt",gospelResources:"Evangeliumsressourcen",languageFamilies:"Sprachfamilien",prayer:"Gebetsfortschritt",upg100List:"Meine UPG-100-Liste",batchSelect:"Mehrfachauswahl"},header:{collapsed:"Legende",peopleGroupFallback:"Volksgruppe",default:"Legende"},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",name:"Name"},footer:{total:"Gesamt"},sortByUpgs:"Nach UUPGs sortieren",sortByPop:"Nach Bevölkerung sortieren",colLabel:{religion:"UUPG-Religionen",prayer:"Gebetsstatus",engagement:"Engagement-Status",adoption:"Adoptionsstatus",status:"Status"},titleBar:{legend:"Legende",peopleGroups:"Völker",wagfRegions:"WAGF-Regionen",languages:"Sprachen"},tabInfo:{upg100Region:"Region — sortiert die UPG-100-Listen nach Weltgegend (Afrika, Indien, Naher Osten, Gehörlose, …). Die Zahlen sind die UUPGs und die Bevölkerung aller darunterliegenden Listen zusammen.",upg100Zone:"UPG-100-Listen — jede ist eine Gebetsliste der unerreichten Volksgruppen eines Gebiets und das, was die Karte zeichnet und einfärbt. Jede Liste wird als eigenes Heft gedruckt.",upg100Group:"Volksgruppe — die einzelnen unerreichten Gruppen innerhalb einer Liste, größter Gebetsbedarf zuerst. Jeder Kartenpunkt ist eine davon.",family:"Sprachfamilie — eine Gruppe von Sprachen gemeinsamen Ursprungs (z. B. indogermanisch, afroasiatisch).",language:"Sprache — ein Verständigungssystem, das eine Volksgruppe verwendet (z. B. Arabisch, Bengalisch, Hindi).",dialect:"Dialekt/Varietät — eine regionale oder soziale Form einer Sprache (z. B. sudanesisches Arabisch; pakistanische Gebärdensprache).",bloc:"Affinitätsblock — die weiteste Gruppierung, nach kultureller, sprachlicher und geografischer Verwandtschaft (z. B. malaiische Völker, südasiatische Völker, Gehörlose, arabische Welt).",cluster:"Cluster — eine feinere Gruppierung innerhalb eines Blocks (z. B. Borneo-Kalimantan bei den malaiischen Völkern). Zeilen sind mit „(Cluster)“ gekennzeichnet, um sie von Volksgruppen zu unterscheiden.",group:"Volksgruppe — eine ethnolinguistische Identität für sich, unabhängig vom Land. Zeilen sind mit „(VG)“ gekennzeichnet. Eine Gruppe kann in vielen Ländern leben (Gehörlose etwa in über hundert).",pgic:"Volksgruppe im Land — eine Zeile je Volksgruppe und Land, in dem sie lebt (z. B. „Abai Sungai, Malaysia“). Zeilen sind mit „(VGL)“ gekennzeichnet.",region:"WAGF-Region — die Großregion, zu der ein Land gehört (z. B. Asien, Afrika). Jede hat auf der Karte ihre eigene Farbe.",block:"WAGF-Block — die Untergruppe innerhalb einer Region (z. B. Südostasien, Westafrika).",country:"Land — einzelne Länder, geordnet nach unerreichter Bevölkerung innerhalb ihres Blocks."},a11y:{expandRow:"{label} ausklappen",collapseRow:"{label} einklappen",clearSelection:"Auswahl aufheben",goUp:"Eine Ebene höher zu {label}"},export:{poster:"Plakat",packet:"UPG 100",packetExplain:"Eine Gebetsliste von etwa 50 bis 100 unerreichten Volksgruppen — eine Person kann eine tragen.",packetAria:"Detailgrad des Gebetspakets",packetFull:"Vollständig",packetLightweight:"Kompakt"},noDataAtThisLevel:"Keine Daten auf dieser Ebene",exportButton:"Exportieren",exportSelection:"Auswahl exportieren",loadingRows:"{label} werden geladen…",loadingData:"Daten werden geladen…",showingTop:"Top {n} von {m} werden angezeigt",useGeocoderHint:"verwenden Sie die Suche oben, um die übrigen zu finden",noList:"Keine Liste geladen."},"./locales/de/lists.json":{doxa:{label:"Projekt 2000: die Volksgruppen von DOXA",definition:"Die Volksgruppen, denen DOXA dient, wie seine Live-Liste sie angibt"},unreached:{label:"Projekt 7000: unerreichte Volksgruppen",definition:"IMB Lostness Priority 0–2 (Frontier, Pioneer oder Expanding Unreached: unter 2 % Evangelikale)"},frontier:{label:"Projekt 4700: Frontier-Volksgruppen",definition:"IMB Lostness Priority 0 (Frontier Unreached: 0,1 % Evangelikale oder weniger)"},"frontier-500k":{label:"Projekt 700: Frontier-Volksgruppen mit 500.000 oder mehr Menschen",definition:"IMB Lostness Priority 0 und eine Bevölkerung von mindestens 500.000"},unengaged:{label:"Unerreichte Volksgruppen ohne Engagement",definition:"IMB Lostness Priority 0–2 und Engagement-Status: ohne Engagement"}},"./locales/de/mapui.json":{map:"Karte",marker:"Kartenmarkierung",closePopup:"Popup schließen",zoomIn:"Vergrößern",zoomOut:"Verkleinern",resetBearing:"Ziehen, um die Karte zu drehen; klicken, um nach Norden auszurichten",toggleAttribution:"Quellenangaben ein-/ausblenden",mapFeedback:"Feedback zur Karte",enterFullscreen:"Vollbild",exitFullscreen:"Vollbild beenden",findMyLocation:"Meinen Standort finden",locationNotAvailable:"Standort nicht verfügbar",enableGlobe:"Globus einschalten",disableGlobe:"Globus ausschalten",ctrlScroll:"Strg + Scrollen zum Zoomen der Karte",cmdScroll:"⌘ + Scrollen zum Zoomen der Karte",twoFingers:"Mit zwei Fingern die Karte bewegen",mapboxHomepage:"Mapbox-Startseite",maplibreLogo:"MapLibre-Logo"},"./locales/de/messages.json":{menuComingSoon:"Menü folgt in Kürze",pinHint:{tapDot:"Tippe auf einen farbigen Punkt — jemand braucht noch Gebet"},upg100WallHeading:"Meine UPG-100-Liste — Gebetslisten und Poster",upg100WallTag:"Gebetsmobilisierung",upg100WallIntroA:"Wie würden Sie eine Menge von fünftausend speisen? Jesus ließ sie in Gruppen zu fünfzig und hundert lagern, und das Unmögliche wurde teilbar (Lukas 9,14). Dasselbe haben wir mit den 2.106 unerreichten Volksgruppen getan: 27 Listen von etwa fünfzig bis hundert. Jede Liste druckt als Gebetspaket und als Poster, damit 27 Jünger, Gemeinden oder einheimische Leiter je eine tragen können — und für sie beten ",upg100WallIntroEmph:"mit dem Namen ihrer Volksgruppe",upg100WallIntroB:".",loadingNamed:"{name} wird geladen…",couldNotLoadNamed:"{name} konnte nicht geladen werden.",engineMissing:"Die Karten-Engine {engine} wurde nicht geladen.",packetFailed:"Heft fehlgeschlagen: {reason}",selectionPacketFailed:"Heft der Auswahl fehlgeschlagen: {reason}",posterOneTerritory:"Das Plakat druckt ein Gebiet auf einmal — {count} ausgewählt.",selectionPosterFailed:"Plakat der Auswahl fehlgeschlagen: {reason}",mapUnavailable:"Karte nicht verfügbar",copied:"Kopiert!",copyFailed:"Kopieren fehlgeschlagen — Strg/Cmd-C drücken",engineNotLoaded:"Karten-Engine nicht geladen",engineNotLoadedDetail:"Die Karten-Engine {engine} wurde nicht geladen. Liste und Legende sind nicht betroffen.",viewLoadFailed:"Diese Ansicht konnte nicht geladen werden.",retry:"Erneut versuchen",noMapboxToken:"Kein Mapbox-Token",noMapboxTokenDetail:"Kein Mapbox-Token konfiguriert. Liste und Legende sind nicht betroffen.",loadingBoundaries:"Grenzen werden geladen…",fetchingUupgs:"{n} UUPGs werden abgerufen…",mapStatusCounts:"Flächen: {polys} · Zonen: {zones}/{total} · Pins: {pins}",tapTerritoriesHint:"Tippen Sie auf Gebiete auf der Karte oder auf Legendenzeilen, um sie hinzuzufügen · erneut tippen zum Entfernen",territoriesSelected:"Gebiete: {count}",bandInRange:"✓ Bereich 50–100",bandOutOfRange:"Bereich 50–100",mapContextLost:"Diese Karte wurde entladen, um Grafikspeicher freizugeben.",nOfTotal:"{n} von {total}",mapInitFailed:"Karte konnte nicht initialisiert werden — Token und Container prüfen",countryWallIntroA:"Ein Poster pro Land, bereit zum Beten, Drucken und Aufhängen — und für sie beten ",countryWallIntroB:". Regionen und Länder sind danach geordnet, wie viele unerreichte Volksgruppen sie umfassen, damit der größte Bedarf vorne steht.",countryWallSoon:"Demnächst: Für jedes Land wird eine Gebetsliste erstellt, die jede unerreichte Volksgruppe darin mit Namen nennt.",countryWallHeading:"Länderposter — Gebetslisten und Poster",largerScreenNotice:"Diese experimentelle Karte ist für große Bildschirme gebaut. Sie öffnet sich hier, aber Teile passen oder funktionieren auf einem Telefon womöglich nicht gut.",desktopOnlyNotice:"{label} funktioniert nur am Desktop – öffnen Sie diese Seite an einem Computer.",noticeDismiss:"Schließen",countryPosterTooMany:"Zu viele Volksgruppen, um lesbar auf ein Plakat zu passen – an einer Lösung wird gearbeitet."},"./locales/de/pins.json":{approximate:"Der Punkt zeigt, wo dieses Volk lebt – nicht eine Stadt oder eine Grenze.",sharedPoint:"Er liegt auf demselben Punkt wie {names} — {n} Gruppen teilen sich diese Koordinate; die Position nennt also die Gegend, nicht wo welche Gruppe lebt."},"./locales/de/popup.json":{country:{wagfRegion:"WAGF-Region",wagfBlock:"WAGF-Block",country:"Land",uupgCount:"Anzahl UUPG"}},"./locales/de/religion.json":{family:{Christianity:"Christentum",Islam:"Islam",Hinduism:"Hinduismus",Buddhism:"Buddhismus",Ethnoreligion:"Ethnische Religionen",Judaism:"Judentum",Sikhism:"Sikhismus",Unaffiliated:"Konfessionslos",Other:"Andere",Unknown:"Unbekannt"}},"./locales/de/search.json":{placeholder:"Volk, Ort, Sprache, Religion",placeholderNoPlaces:"Volk, Sprache, Religion (Ortssuche braucht ein Mapbox-Token)",labels:{people:"Volk:",place:"Ort:",language:"Sprache:",religion:"Religion:"},sections:{within:"Innerhalb {selection}",allData:"Alle DOXA-Daten"},kinds:{people:"Volk + Land",peopleGroup:"Volk",bloc:"Affinitätsblock",cluster:"Völkercluster",country:"Land",region:"Region",family:"Sprachfamilie",languageKind:"Sprache",dialect:"Dialekt",religionKind:"Religion"},upg100Placeholder:"Volksgruppe, UPG-100-Liste oder Region suchen…",tabPlaceholder:{languageFamilies:"Sprachfamilie, Sprache, Dialekt/Varietät suchen",affinityBlocks:"Affinitätsblock, Cluster, Volksgruppe suchen",regions:"Region, Land, Volksgruppe suchen",religion:"Religion, Volksgruppe suchen"},placeholderRegions:"Region, Land oder Volksgruppe suchen"},"./locales/de/share.json":{embed_link:"Einbettungslink",add_to_website:"Zu Ihrer Website hinzufügen",embed_paste_hint:"Fügen Sie diesen Code in Ihren Website-Baukasten ein (WordPress, Squarespace, Wix oder jede Website, die HTML-Widgets akzeptiert)."},"./locales/de/tabs.json":{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",upg100Region:"Region",upg100Zone:"UPG-100-Listen",upg100Group:"Volksgruppe",selectView:"Ansicht wählen",views:"Ansichten",prayerResources:"Gebetsressourcen",map:"Karte",countryPosters:"Länderposter"},"./locales/de/wall.json":{title:"Wand der Volksgruppen",toPortrait:"📱 Hochformat",toLandscape:"🖼️ Querformat",currentLandscape:"Aktuell: Querformat (4 × 3 Fuß)",currentPortrait:"Aktuell: Hochformat (3 × 4 Fuß)",resetZoom:"Zoom zurücksetzen",groupsLoaded:"Geladen: {n}",loading:"Volksgruppen werden geladen…",offlineTitle:"Die Live-Gebetsdaten sind nicht erreichbar.",offlineBody:"Die Wand liest ihre Volksgruppen von pray.doxa.life. Vielleicht sind Sie offline, oder auf einem lokalen Entwicklungsserver lässt die API die Adresse dieser Seite nicht zu.",tryAgain:"Erneut versuchen",prayedCount:"Gebetet: {n}",viewPrayers:"Gebete ansehen",prayerTools:"Gebetswerkzeuge",close:"Schließen",unknown:"Unbekannt",unknownGroup:"Unbekannte Volksgruppe",status:"Status:",unengaged:"unerreicht",prayingNow:"Beten Sie gerade für diese Volksgruppe?",yesPraying:"Ja, ich bete",thankYou:"Danke für Ihr Gebet!",sharePrayer:"Ihr Gebet teilen (optional)",prayerPlaceholder:"Schreiben Sie Ihr Gebet hier…",sendPrayer:"Gebet senden",peopleGroup:"Volksgruppe",chatsTitle:"Volksgruppen-Chats",id:"ID:",location:"Ort:",na:"k. A.",havePrayed:"Gebetet: {n}",youPrayed:"✓ Sie haben gebetet!",prayForGroup:"🙏 Für diese Volksgruppe beten",prayersComments:"Gebete & Kommentare",noComments:"Noch keine Gebete oder Kommentare. Seien Sie der Erste!",commentPlaceholder:"Teilen Sie Ihr Gebet oder Ihre Gedanken…",postComment:"Kommentar posten",noPeopleId:"Diese Volksgruppe hat keine PeopleID3",statusUnknown:"Status unbekannt",printPoster:"🖨️ HD-Poster drucken",printPreparing:"Poster wird vorbereitet: {n} von {total} Fotos",printMissing:"Fotos, die nicht geladen werden konnten: {n}. Sie werden als graue Felder gedruckt.",blessBanner:"Segnet die Nationen im Namen Jesu",modeLabel:"Modus der Wand",modeBless:"Segnen",modeSocial:"Sozial",shareSoon:"Teilen kommt später.",drawLibError:"Die Wand konnte ihre Zeichenbibliothek nicht laden:",posterSize:"Postergröße",posterSubtitle:"DOXA (δόξα) bedeutet Herrlichkeit. Eine weltweite Gebetsbewegung segnet diese {n} Volksgruppen im Namen Jesu. Mehr erfahren und mitmachen: pray.doxa.life.",glueHere:"obere Bahn hier aufkleben",themesLabel:"Gebetsthemen",oldTestament:"Altes Testament",newTestament:"Neues Testament",themeTreasure:"Schatz",themeMountain:"Berg",themeSea:"Meer",posterClosing:"Jesus Christus ist der Eckstein, und wir sind lebendige Steine. Diese Volksgruppen sind der Lohn seines Leidens. Nehmen wir unsere priesterliche Berufung an: Segnen wir sie in seinem Namen und schließen wir uns der weltweiten Gebetsfamilie an.",journeyCalled:"Berufen",journeyPromised:"Verheißen",journeyRedeemed:"Erlöst",journeyCornerstone:"Der Eckstein",journeyChildren:"Kinder Abrahams",journeyPriesthood:"Eine königliche Priesterschaft",journeySent:"Gesandt zu den Verlorenen",peopleGroupCount:"{n} Volksgruppe | {n} Volksgruppen",listCount:"{n} Liste | {n} Listen",stockCard:"Karte",stockPostcard:"Postkarte",stockLandscape:"Querformat",hud:{kindPoster:"Poster",kindList:"Liste",kindPacket:"Gebetsheft",fetchingPoster:"Poster wird geladen",generatingPoster:"Poster wird erstellt",openingPrint:"Druckdialog wird geöffnet",printOpened:"Druckdialog geöffnet",saving:"wird gespeichert",fetchingRecords:"Daten werden geladen",fetchingGroups:"Volksgruppen werden geladen",layingOutRows:"{n} Zeile wird gesetzt | {n} Zeilen werden gesetzt",layingOutCards:"{n} Karte wird gesetzt | {n} Karten werden gesetzt",printingGroups:"{n} Volksgruppe wird gedruckt | {n} Volksgruppen werden gedruckt",kindCardDeck:"Kartenset",kindPrayerList:"Gebetsliste",saved:"gespeichert",noRecords:"diese Liste enthält keine Volksgruppen zum Drucken",noPoster:"für diese Liste ist kein Plakat verfügbar",posterNotFound:"Plakat nicht gefunden ({status})",posterBlank:"das erzeugte Plakat ist leer",noApi:"kein Volksgruppen-Dienst konfiguriert",fetchFailed:"Volksgruppen konnten nicht geladen werden ({status})"},posterAlt:"{label} — Gebetsposter",posterAltAction:"{label} — Gebetsposter (zum Ansehen und Drucken klicken)"},"./locales/en/allPeopleGroups.json":{title:"All People Groups",locations:"{n} group–country locations",doxa:"DOXA people groups",frontier:"Frontier — nothing started",unreached:"Unreached — work beginning",reached:"Reached — church is there",hint:"Click a row to see all of them · click again for everything",loading:"Loading every people group…",loadError:"The map could not be loaded.",pray:"Pray for them →",population:"pop {n}"},"./locales/en/aria.json":{backToLegend:"Back to Legend",closeDetailView:"Close detail view",collapseLegend:"Collapse legend",expandLegend:"Expand legend",toggleLegend:"Show or hide the legend",searchPeopleGroups:"Search people groups",resetAllFilters:"Reset all filters and search",selectAllRows:"Select all rows",deselectAllRows:"Deselect all rows",rowDetail:"Row detail",dismissHint:"Dismiss hint",resizeFiltersRail:"Resize filters rail",resizeFiltersRailHint:"Drag or use arrow keys to resize the filters rail",resizeChartsRail:"Resize charts rail",resizeChartsRailHint:"Drag or use arrow keys to resize the charts rail",resizeMapTableSplit:"Resize map/table split",resizeMapTableSplitHint:"Drag or use arrow keys to resize the map/table split",resizeTable:"Resize table height",resizeTableHint:"Drag or use arrow keys to resize the table",resizeDashboardHeight:"Resize dashboard height",resizeDashboardHeightHint:"Drag or use arrow keys to resize the dashboard's height",removeFilter:"Remove filter {name}",closeDetail:"Close detail",filterBreadcrumb:"Filter breadcrumb",railViews:"Rail views",upgCountLegend:"UPG count legend",donutChart:"{title} donut chart"},"./locales/en/buttons.json":{prayForThem:"Pray for them",adoptThem:"Adopt",moreInfo:"More info",zoomIn:"Zoom in",zoomOut:"Zoom out",switchToLightMode:"Switch to light mode",switchToDarkMode:"Switch to dark mode",resetView:"Reset view",toggleFullscreen:"Toggle fullscreen",aboutThisMap:"About this map",closeMenu:"Close menu",reloadMap:"Reload Map",showClusters:"Show Clusters",clusterSettings:"Cluster Settings",startAutoFly:"Start Auto Fly",stopFlight:"Stop Flight",speedLabel:"Speed:",speedOption:{slow:"Slow",normal:"Normal",fast:"Fast"},shareEmbed:"Share & embed",shareSteps:["Embed this map on your site","Create a list of the websites in your city","Train them to embed it too","Train them to train others to embed it too","Multiply maps everywhere for Jesus!"],share:"Share",posterMap:"Poster Map",prayerList:"Prayer List",cardDeck:"Card Deck",printOptions:"Print Options",showOnMap:"Show on map",close:"Close",showOnMapAria:"Show {label} on the map",cardStockAria:"Prayer card size",working:"Working…",packetVariantAria:"Prayer packet detail",packetFull:"Full detail",packetLightweight:"Lightweight",previewPrintPoster:"Preview & print the {label} poster",clearSelection:"Clear selection",noOptions:"No options found",renderingLocal:"Rendering a print-quality image in your browser — nothing is uploaded.",postersPerRow:"Posters per row",postersPerRowAuto:"Auto"},"./locales/en/controls.json":{research_controls:"Research controls",clustering:"Clustering",filters:"Filters",pin_dim:"Pin dim",export_poster:"Export poster…",reload_data:"Reload data",off:"Off",native:"Native",mst:"MST",network:"Network",off_desc:"Show every pin individually",native_desc:"Mapbox circle clusters (fastest)",mst_desc:"Minimum-spanning-tree affinity webs",network_desc:"Nearest-neighbor connection lines",search_languages:"Search languages…",search_religions:"Search religions…",reset_all:"Reset all",no_languages:"No languages loaded yet",no_religions:"No religions loaded yet",unadopted:"Unadopted",min:"min",max:"max",adopted:"Adopted",adoption:"Adoption",engaged:"Engaged",engagement:"Engagement",unengaged:"Unengaged",language:"Language",religion:"Religion",population:"Population",any:"Any",active_count:"{n} active",prayer_status:"Prayer Status",close:"Close",clear:"Clear",map_controls:"Research map controls",clusters:"Clusters",mst_full_name:"Minimum Spanning Tree",mst_hint:"click a legend row to cluster only that group"},"./locales/en/dashboard.json":{bloc:"Bloc",gospel_access:"Gospel Access",people:"People",people_name:"People (name)",praying:"Praying",religion_family:"Religion Family",search_language:"Search language",search_people:"Search people",search_place:"Search place",search_religion:"Search religion",upgs_in_scope:"UPGs in scope",countries_touched:"countries touched",unreached:"unreached",sum_population:"Σ population",sum_praying:"Σ praying",charts:"Charts",table:"Table",cluster:"Cluster",country:"Country",engagement:"Engagement",language:"Language",language_family:"Language Family",people_group:"People Group",population:"Population",prayer:"Prayer",region:"Region",religion:"Religion",status:"Status",adopted:"Adopted",filters:"Filters",gospel_resources:"Gospel Resources",map:"Map",search_placeholder:"Search people groups, place, language, religion…",any:"Any",active_count:"{n} active",prayer_status:"Prayer Status",map_controls:"Research map controls",close:"Close",clear:"Clear",dashboard_title:"Big Picture Research Dashboard",align_dashboard:"Align Dashboard",align_dashboard_tip:"Reset the dashboard layout to its default alignment",selected:"Selected",world:"World",vertical_legend:"Vertical Legend",groups_in_scope:"groups in scope",filter_by:"Filter by",remove_filter:"Remove filter",groups:"groups",expand:"Expand",collapse:"Collapse",place:"Place",export_csv:"Export CSV",detail:"Detail",detail_empty:"Select a people group to see detail",heartbeat_zone:"heartbeat zone",top_countries:"Top countries",select_all:"Select all",expand_table:"Expand table",collapse_table:"Collapse table — grow the map",group:"group",deselect_all:"Deselect all",results_live:"{count} of {total} {unit} shown",filters_live:"Filters: {list}",search_live:"Search: {term}",adopted_by_churches:"Adopted by churches",bp_title:"Big Picture — Unified Research Dashboard",bp_subtitle:"Search and filter the world's people groups · least-reached shown first",export_selection:"Export this selection",map_loading:"Research map loading…",no_match:"No people groups match “{q}”.",no_photo:"No photo",only_selected:"Only selected",only_selected_hint:"Show only the selected people groups",people_committed:"People committed",people_praying:"People praying",selected_first:"Selected first",selected_first_hint:"Float the selected people groups to the top, keeping your column sort",n_shown:"{n} shown",other:"Other",wagfRegion:{africa:"Africa",asia:"Asia",europe:"Europe","latin_america_&_caribbean":"Latin America & Caribbean",oceania:"Oceania",middle_east:"Middle East","north_america_&_non-spanish_caribbean":"North America & Non-Spanish Caribbean"},sort_by_column_hint:"Sort this table by {column} — shift-click to add a second column. Sorting orders the table only; the cards keep their own order.",fs_exit_hint:"Exit full screen (Esc) — back to seven rows",fs_open_hint:"Open this table full screen",fs_exit:"Exit full screen",fs_open:"Open table full screen",export_selected_hint:"Export all fields — selected people groups: {n}",export_all_hint:"Export all fields — people groups: {n}",map_init_failed:"The map could not start. Check the access token and the map container.",show_filters:"Show filters",hide_filters:"Hide filters — grow the map",show_charts:"Show charts",hide_charts:"Hide charts — grow the map",export_copied:"copied to clipboard",export_done:"exported",export_ready:"ready",export_toast:"✓ {rows} rows × {fields} fields {how}",export_failed:"✕ Export failed",pray_for_group:"Pray for this people group",more_information:"More information",title:"Research Dashboard",gospel_pending:"Not ready yet: the lostness figure, the data-source key and the layout are still being decided."},"./locales/en/detail.json":{labels:{country:"Country:",population:"Population:",language:"Language:",religion:"Religion:",languageFamily:"Language Family:",peopleCommitted:"Committed to pray:"},messages:{noDescription:"No description available."}},"./locales/en/grid.json":{search:"Search people groups…",hide_filters:"Hide Filters",show_filters:"Show Filters",total:"Total",showing:"Showing",load_more:"Load More",full_profile:"Full Profile",wagf_region:"Region",wagf_block:"Affinity Block",rop1:"People Group",religion:"Religion",exact_filter:"Exact",clear_all:"Clear All",loading:"Loading…",no_results:"No people groups match this filter.",type_to_search:"Type to search...",load_failed:"People-group data could not be loaded. This is a connection problem, not your filter.",search_people_or_countries:"Search people groups or countries…",cards_per_row:"Cards per row",cards_per_row_auto:"Auto"},"./locales/en/legend.json":{title:{adoption:"Adoption Progress",affinityBlocs:"Affinity Blocks",doxaRegions:"Doxa Regions",engagement:"Engagement Progress",gospelResources:"Gospel Resources",languageFamilies:"Language Families",prayer:"Prayer Progress",upg100List:"My UPG 100 List",batchSelect:"Batch Select"},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"},tabInfo:{upg100Region:"Region — sort the UPG-100 lists by world area (Africa, India, Middle East, Deaf, …). Counts are the UUPGs and population summed across every list beneath it.",upg100Zone:"UPG-100 Lists — each one is a prayer list of the unreached people groups in an area, and is what the map paints and colours. Every list prints as its own packet.",upg100Group:"People Group — the individual unreached groups inside a list, largest prayer need first. Each map dot is one of these.",family:"Lang Family — a group of languages descended from a common ancestor (e.g. Indo-European, Afro-Asiatic).",language:"Language — a system of communication used by a people (e.g. Arabic, Bengali, Hindi).",dialect:"Dialect/Variety — a regional or social form of a language (e.g. Arabic, Sudanese; Pakistan Sign Language).",bloc:"Affinity Block — the broadest grouping, by cultural, linguistic and geographic kinship (e.g. Malay Peoples, South Asian Peoples, Deaf, Arab World).",cluster:"Cluster — a finer grouping inside a block (e.g. Borneo-Kalimantan within Malay Peoples). Rows are marked “(Cluster)” to tell them from people groups.",group:"People Group — an ethnolinguistic identity on its own terms, independent of country. Rows are marked “(PG)”. One group may live in many countries (the Deaf, for example, in over a hundred).",pgic:"PG in Country — one row for each people group in each country it lives in (e.g. “Abai Sungai, Malaysia”). Rows are marked “(PGIC)”.",region:"WAGF Region — the macro-region a country belongs to (e.g. Asia, Africa). Each has its own colour on the map.",block:"WAGF Bloc — the sub-grouping inside a region (e.g. South East Asia, West Africa).",country:"Country — individual countries, ordered by unreached population within their bloc."},a11y:{expandRow:"Expand {label}",collapseRow:"Collapse {label}",clearSelection:"Clear selection",goUp:"Go up to {label}"},export:{poster:"Poster",packet:"UPG 100",packetExplain:"A prayer list of about 50 to 100 unreached people groups — one person can carry one.",packetAria:"Prayer packet detail",packetFull:"Full detail",packetLightweight:"Lightweight"},noDataAtThisLevel:"No data at this level",exportButton:"Export",exportSelection:"Export selection",loadingRows:"Loading {label}…",loadingData:"Loading data…",showingTop:"Showing top {n} of {m}",useGeocoderHint:"use the geocoder above to find the rest",noList:"No list loaded."},"./locales/en/lists.json":{doxa:{label:"Project 2000: DOXA's people groups",definition:"The people groups DOXA serves, as its live list gives them"},unreached:{label:"Project 7000: unreached people groups",definition:"IMB Lostness Priority 0-2 (Frontier, Pioneer or Expanding Unreached: under 2% evangelical)"},frontier:{label:"Project 4700: frontier people groups",definition:"IMB Lostness Priority 0 (Frontier Unreached: 0.1% evangelical or less)"},"frontier-500k":{label:"Project 700: frontier people groups of 500,000 or more",definition:"IMB Lostness Priority 0 and Population of at least 500,000"},unengaged:{label:"Unengaged unreached people groups",definition:"IMB Lostness Priority 0-2 and Engagement Status Unengaged"}},"./locales/en/mapui.json":{map:"Map",marker:"Map marker",closePopup:"Close popup",zoomIn:"Zoom in",zoomOut:"Zoom out",resetBearing:"Drag to rotate map, click to reset north",toggleAttribution:"Toggle attribution",mapFeedback:"Map feedback",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",findMyLocation:"Find my location",locationNotAvailable:"Location not available",enableGlobe:"Enable globe",disableGlobe:"Disable globe",ctrlScroll:"Use Ctrl + scroll to zoom the map",cmdScroll:"Use ⌘ + scroll to zoom the map",twoFingers:"Use two fingers to move the map",mapboxHomepage:"Mapbox homepage",maplibreLogo:"MapLibre logo"},"./locales/en/messages.json":{menuComingSoon:"Menu coming soon",pinHint:{tapDot:"Tap a coloured dot — someone still needs prayer"},upg100WallHeading:"My UPG 100 List — Prayer Lists & Posters",upg100WallTag:"Prayer Mobilization",upg100WallIntroA:"How would you feed a crowd of five thousand? Jesus sat them down in groups of fifty and a hundred, and the impossible became shareable (Luke 9:14). We did the same with the 2,106 unreached people groups: 27 lists of about fifty to a hundred. Each list prints as a prayer packet and a poster, so 27 disciples, churches or local leaders can each carry one — praying for them ",upg100WallIntroEmph:"by their people group name",upg100WallIntroB:".",loadingNamed:"Loading {name}…",couldNotLoadNamed:"Could not load {name}.",engineMissing:"The {engine} map engine did not load.",packetFailed:"Packet failed: {reason}",selectionPacketFailed:"Selection packet failed: {reason}",posterOneTerritory:"Poster prints one territory at a time — {count} selected.",selectionPosterFailed:"Selection poster failed: {reason}",mapUnavailable:"Map unavailable",copied:"Copied!",copyFailed:"Copy failed — press Ctrl/Cmd-C",engineNotLoaded:"map engine not loaded",engineNotLoadedDetail:"The {engine} map engine did not load. The list and legend are unaffected.",viewLoadFailed:"This view couldn't load.",retry:"Retry",noMapboxToken:"No Mapbox token",noMapboxTokenDetail:"No Mapbox token configured. The list and legend are unaffected.",loadingBoundaries:"Loading boundaries…",fetchingUupgs:"Fetching {n} UUPGs…",mapStatusCounts:"Areas: {polys} · zones: {zones}/{total} · pins: {pins}",tapTerritoriesHint:"Tap territories on the map or legend rows to add · tap again to remove",territoriesSelected:"Territories: {count}",bandInRange:"✓ 50–100 band",bandOutOfRange:"band 50–100",mapContextLost:"This map was unloaded to free graphics memory.",nOfTotal:"{n} of {total}",mapInitFailed:"Map failed to initialize — check token and container",countryWallIntroA:"One poster per country, ready to pray, print, and put on a wall — praying for them ",countryWallIntroB:". Regions and countries are ordered by how many unengaged people groups they hold, so the greatest need leads.",countryWallSoon:"Coming soon — a prayer list will be generated for each country, naming every unengaged people group within it.",countryWallHeading:"Country Posters — Prayer Lists & Posters",largerScreenNotice:"This experimental map is built for larger screens. It opens here, but parts of it may not fit or work well on a phone.",desktopOnlyNotice:"{label} only supports desktop — open this page on a desktop to use it.",noticeDismiss:"Dismiss",countryPosterTooMany:"Too many people groups to fit on one poster legibly — a solution is in progress."},"./locales/en/pins.json":{approximate:"The dot marks where this people is found, not a town or a boundary.",sharedPoint:"It sits on the same point as {names} — {n} groups share this coordinate, so the position tells you the locality and not which group is where."},"./locales/en/popup.json":{country:{wagfRegion:"WAGF Region",wagfBlock:"WAGF Bloc",country:"Country",uupgCount:"UUPG Count"}},"./locales/en/religion.json":{family:{Christianity:"Christianity",Islam:"Islam",Hinduism:"Hinduism",Buddhism:"Buddhism",Ethnoreligion:"Ethnoreligion",Judaism:"Judaism",Sikhism:"Sikhism",Unaffiliated:"Unaffiliated",Other:"Other",Unknown:"Unknown"}},"./locales/en/search.json":{placeholder:"People, place, language, religion",placeholderNoPlaces:"People, language, religion (place search needs a Mapbox token)",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"},upg100Placeholder:"Search people group, UPG-100 list, or region…",tabPlaceholder:{languageFamilies:"Search language family, language, dialect/variety",affinityBlocks:"Search affinity bloc, cluster, people group",regions:"Search region, country, people group",religion:"Search religion, people group"},placeholderRegions:"Search region, country, people group"},"./locales/en/share.json":{embed_link:"Embed link",add_to_website:"Add to Your Website",embed_paste_hint:"Paste this code into your website builder (WordPress, Squarespace, Wix, or any site that accepts HTML widgets)."},"./locales/en/tabs.json":{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",upg100Region:"Region",upg100Zone:"UPG-100 Lists",upg100Group:"People Group",selectView:"Select View",views:"Views",prayerResources:"Prayer Resources",map:"Map",countryPosters:"Country Posters"},"./locales/en/wall.json":{title:"Wall of People Groups",toPortrait:"📱 Switch to Portrait",toLandscape:"🖼️ Switch to Landscape",currentLandscape:"Current: Landscape (4 ft × 3 ft)",currentPortrait:"Current: Portrait (3 ft × 4 ft)",resetZoom:"Reset Zoom",groupsLoaded:"{n} Groups Loaded",loading:"Loading people groups…",offlineTitle:"The live prayer data could not be reached.",offlineBody:"The wall reads its people groups from pray.doxa.life. You may be offline, or, on a local development server, the API may not allow this page's address.",tryAgain:"Try again",prayedCount:"0 prayed | {n} person prayed | {n} people prayed",viewPrayers:"View prayers",prayerTools:"Prayer Tools",close:"Close",unknown:"Unknown",unknownGroup:"Unknown Group",status:"Status:",unengaged:"unengaged",prayingNow:"Are you praying right now for this people group?",yesPraying:"Yes, I'm Praying",thankYou:"Thank you for praying!",sharePrayer:"Share your prayer (optional)",prayerPlaceholder:"Type your prayer here…",sendPrayer:"Send Prayer",peopleGroup:"People Group",chatsTitle:"People Group Chats",id:"ID:",location:"Location:",na:"N/A",havePrayed:"no one has prayed yet | {n} person has prayed | {n} people have prayed",youPrayed:"✓ You prayed!",prayForGroup:"🙏 Pray for this group",prayersComments:"Prayers & Comments",noComments:"No prayers or comments yet. Be the first!",commentPlaceholder:"Share your prayer or thoughts…",postComment:"Post Comment",noPeopleId:"This people group doesn't have a PeopleID3",statusUnknown:"Status Unknown",printPoster:"🖨️ Print HD poster",printPreparing:"Preparing the poster: {n} of {total} photos",printMissing:"Photos that could not load: {n}. They print as grey boxes.",blessBanner:"Bless the nations in Jesus’ name",modeLabel:"Wall mode",modeBless:"Bless",modeSocial:"Social",shareSoon:"Sharing is coming later.",drawLibError:"The wall could not load its drawing library:",posterSize:"Poster size",posterSubtitle:"DOXA (δόξα) means glory. A global prayer movement is blessing these {n} people groups in Jesus’ name. Learn more and join at pray.doxa.life.",glueHere:"glue the sheet above here",themesLabel:"Prayer themes",oldTestament:"Old Testament",newTestament:"New Testament",themeTreasure:"Treasure",themeMountain:"Mountain",themeSea:"Sea",posterClosing:"Jesus Christ is the cornerstone, and we are living stones. These people groups are the reward of his suffering. Take up our priestly calling: bless them in his name, and join the global family in prayer.",journeyCalled:"Called",journeyPromised:"Promised",journeyRedeemed:"Redeemed",journeyCornerstone:"The cornerstone",journeyChildren:"Children of Abraham",journeyPriesthood:"A royal priesthood",journeySent:"Sent to the lost",peopleGroupCount:"{n} people group | {n} people groups",listCount:"{n} list | {n} lists",stockCard:"Card",stockPostcard:"Postcard",stockLandscape:"landscape",hud:{kindPoster:"Poster",kindList:"List",kindPacket:"Prayer Packet",fetchingPoster:"fetching the poster",generatingPoster:"generating the poster",openingPrint:"opening the print dialog",printOpened:"print dialog opened",saving:"saving",fetchingRecords:"fetching records",fetchingGroups:"fetching people groups",layingOutRows:"laying out {n} row | laying out {n} rows",layingOutCards:"laying out {n} card | laying out {n} cards",printingGroups:"printing {n} people group | printing {n} people groups",kindCardDeck:"Card Deck",kindPrayerList:"Prayer List",saved:"saved",noRecords:"that list has no people groups to print",noPoster:"no poster is available for this list",posterNotFound:"poster not found ({status})",posterBlank:"the generated poster came out blank",noApi:"no people-groups service is configured",fetchFailed:"could not load the people groups ({status})"},posterAlt:"{label} — prayer poster",posterAltAction:"{label} — prayer poster (click to preview and print)"},"./locales/es/allPeopleGroups.json":{title:"Todos los grupos étnicos",locations:"{n} ubicaciones (grupo × país)",doxa:"Grupos étnicos de DOXA",frontier:"Frontera — nada iniciado",unreached:"No alcanzados — el trabajo comienza",reached:"Alcanzados — la iglesia está ahí",hint:"Haga clic en una fila para verlos todos · de nuevo para ver todo",loading:"Cargando todos los grupos étnicos…",loadError:"No se pudo cargar el mapa.",pray:"Ore por ellos →",population:"pobl. {n}"},"./locales/es/aria.json":{backToLegend:"Volver a la leyenda",closeDetailView:"Cerrar vista de detalle",collapseLegend:"Contraer la leyenda",expandLegend:"Expandir la leyenda",toggleLegend:"Mostrar u ocultar la leyenda",searchPeopleGroups:"Buscar pueblos",resetAllFilters:"Restablecer todos los filtros y la búsqueda",selectAllRows:"Seleccionar todas las filas",deselectAllRows:"Deseleccionar todas las filas",rowDetail:"Detalle de la fila",dismissHint:"Descartar la sugerencia",resizeFiltersRail:"Cambiar el tamaño del panel de filtros",resizeFiltersRailHint:"Arrastra o usa las teclas de flecha para cambiar el tamaño del panel de filtros",resizeChartsRail:"Cambiar el tamaño del panel de gráficos",resizeChartsRailHint:"Arrastra o usa las teclas de flecha para cambiar el tamaño del panel de gráficos",resizeMapTableSplit:"Cambiar la división entre el mapa y la tabla",resizeMapTableSplitHint:"Arrastra o usa las teclas de flecha para cambiar la división entre el mapa y la tabla",resizeTable:"Cambiar la altura de la tabla",resizeTableHint:"Arrastra o usa las teclas de flecha para cambiar el tamaño de la tabla",resizeDashboardHeight:"Cambiar la altura del panel",resizeDashboardHeightHint:"Arrastra o usa las teclas de flecha para cambiar la altura del panel",removeFilter:"Quitar el filtro {name}",closeDetail:"Cerrar el detalle",filterBreadcrumb:"Ruta de filtros",railViews:"Vistas del panel",upgCountLegend:"Leyenda del recuento de UPG",donutChart:"Gráfico de anillo: {title}"},"./locales/es/buttons.json":{prayForThem:"Ora por ellos",adoptThem:"Adóptalos",moreInfo:"Más información",zoomIn:"Acercar",zoomOut:"Alejar",switchToLightMode:"Cambiar a modo claro",switchToDarkMode:"Cambiar a modo oscuro",resetView:"Restablecer vista",toggleFullscreen:"Alternar pantalla completa",aboutThisMap:"Acerca de este mapa",closeMenu:"Cerrar menú",reloadMap:"Recargar mapa",showClusters:"Mostrar clústeres",clusterSettings:"Ajustes de clústeres",startAutoFly:"Iniciar vuelo automático",stopFlight:"Detener vuelo",speedLabel:"Velocidad:",speedOption:{slow:"Lenta",normal:"Normal",fast:"Rápida"},shareEmbed:"Compartir e incrustar",posterMap:"Mapa del cartel",prayerList:"Lista de oración",cardDeck:"Baraja de tarjetas",printOptions:"Opciones de impresión",showOnMap:"Ver en el mapa",close:"Cerrar",showOnMapAria:"Ver {label} en el mapa",cardStockAria:"Tamaño de la tarjeta de oración",previewPrintPoster:"Previsualizar e imprimir el cartel de {label}",share:"Compartir",shareSteps:["Inserta este mapa en tu sitio","Haz una lista de los sitios web de tu ciudad","Enséñales a insertarlo también","Enséñales a enseñar a otros a insertarlo","¡Multiplica los mapas por todas partes para Jesús!"],clearSelection:"Borrar la selección",noOptions:"No se encontraron opciones",renderingLocal:"Se está generando una imagen con calidad de impresión en tu navegador: no se sube nada.",postersPerRow:"Pósteres por fila",packetVariantAria:"Detalle del paquete de oración",packetFull:"Detalle completo",packetLightweight:"Ligero",working:"Procesando…",postersPerRowAuto:"Automático"},"./locales/es/controls.json":{research_controls:"Controles de investigación",clustering:"Agrupación",filters:"Filtros",pin_dim:"Atenuar puntos",export_poster:"Exportar póster…",reload_data:"Recargar datos",off:"Desactivado",native:"Nativo",mst:"MST",network:"Red",off_desc:"Mostrar cada punto por separado",native_desc:"Grupos circulares de Mapbox (lo más rápido)",mst_desc:"Redes de afinidad por árbol de expansión mínima",network_desc:"Líneas de conexión al vecino más cercano",search_languages:"Buscar idiomas…",search_religions:"Buscar religiones…",reset_all:"Restablecer todo",no_languages:"Aún no se han cargado idiomas",no_religions:"Aún no se han cargado religiones",unadopted:"No adoptado",min:"mín",max:"máx",adopted:"Adoptado",adoption:"Adopción",engaged:"Comprometido",engagement:"Compromiso",unengaged:"Necesita implicación",language:"Idioma",religion:"Religión",population:"Población",any:"Cualquiera",active_count:"{n} activos",prayer_status:"Estado de oración",close:"Cerrar",clear:"Borrar",map_controls:"Controles del mapa",clusters:"Clústeres",mst_full_name:"Árbol de expansión mínima",mst_hint:"haz clic en una fila de la leyenda para agrupar solo ese grupo"},"./locales/es/dashboard.json":{bloc:"Bloque de afinidad",gospel_access:"Acceso al evangelio",people:"Pueblos",people_name:"Pueblo (nombre)",praying:"Orando",religion_family:"Familia religiosa",search_language:"Buscar idioma",search_people:"Buscar pueblo",search_place:"Buscar lugar",search_religion:"Buscar religión",upgs_in_scope:"UPG en el ámbito",countries_touched:"países alcanzados",unreached:"no alcanzados",sum_population:"Σ población",sum_praying:"Σ orando",charts:"Gráficos",table:"Tabla",cluster:"Clúster",country:"País",engagement:"Compromiso",language:"Idioma",language_family:"Familia lingüística",people_group:"Pueblo",population:"Población",prayer:"Oración",region:"Región",religion:"Religión",status:"Estado",adopted:"Adoptado",filters:"Filtros",gospel_resources:"Recursos del Evangelio",map:"Mapa",search_placeholder:"Buscar pueblos, lugares, idiomas, religiones…",any:"Cualquiera",active_count:"{n} activos",prayer_status:"Estado de oración",map_controls:"Controles del mapa",close:"Cerrar",clear:"Borrar",dashboard_title:"Panel de investigación general",align_dashboard:"Alinear panel",align_dashboard_tip:"Restablecer la disposición del panel a su alineación predeterminada",selected:"Seleccionado",world:"Mundo",vertical_legend:"Leyenda vertical",groups_in_scope:"pueblos en el ámbito",filter_by:"Filtrar por",remove_filter:"Quitar filtro",groups:"pueblos",expand:"Expandir",collapse:"Contraer",place:"Lugar",export_csv:"Exportar CSV",detail:"Detalle",detail_empty:"Selecciona un pueblo para ver el detalle",heartbeat_zone:"zona del latido",top_countries:"Países principales",select_all:"Seleccionar todo",expand_table:"Expandir tabla",collapse_table:"Contraer tabla — ampliar el mapa",group:"pueblo",deselect_all:"Deseleccionar todo",results_live:"Se muestran {count} de {total} {unit}",filters_live:"Filtros: {list}",search_live:"Búsqueda: {term}",adopted_by_churches:"Adoptados por iglesias",bp_title:"Panorama general — panel de investigación unificado",bp_subtitle:"Busca y filtra los grupos de personas del mundo · primero los menos alcanzados",export_selection:"Exportar esta selección",map_loading:"Cargando el mapa de investigación…",no_match:"Ningún grupo de personas coincide con «{q}».",no_photo:"Sin foto",only_selected:"Solo los seleccionados",only_selected_hint:"Mostrar solo los grupos de personas seleccionados",people_committed:"Personas comprometidas",people_praying:"Personas que oran",selected_first:"Los seleccionados primero",selected_first_hint:"Llevar arriba los grupos de personas seleccionados, manteniendo el orden de las columnas",n_shown:"{n} mostrados",other:"Otros",wagfRegion:{africa:"África",asia:"Asia",europe:"Europa","latin_america_&_caribbean":"Latinoamérica",oceania:"Oceanía",middle_east:"Oriente Medio","north_america_&_non-spanish_caribbean":"Norteamérica y Caribe no hispano"},sort_by_column_hint:"Ordenar esta tabla por {column}; Mayús+clic añade una segunda columna. La ordenación solo afecta a la tabla; las tarjetas conservan su propio orden.",fs_exit_hint:"Salir de pantalla completa (Esc): volver a siete filas",fs_open_hint:"Abrir esta tabla a pantalla completa",fs_exit:"Salir de pantalla completa",fs_open:"Abrir la tabla a pantalla completa",export_selected_hint:"Exportar todos los campos — pueblos seleccionados: {n}",export_all_hint:"Exportar todos los campos — pueblos: {n}",map_init_failed:"El mapa no pudo iniciarse. Compruebe el token de acceso y el contenedor del mapa.",show_filters:"Mostrar filtros",hide_filters:"Ocultar filtros — ampliar el mapa",show_charts:"Mostrar gráficos",hide_charts:"Ocultar gráficos — ampliar el mapa",export_copied:"copiado al portapapeles",export_done:"exportado",export_ready:"listo",export_toast:"✓ {rows} filas × {fields} campos {how}",export_failed:"✕ Error al exportar",pray_for_group:"Ore por este pueblo",more_information:"Más información",title:"Panel de investigación",gospel_pending:"Aún no está listo: la cifra de no alcanzados, la clave de la fuente de datos y la forma de la interfaz siguen por decidir."},"./locales/es/detail.json":{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."}},"./locales/es/grid.json":{search:"Buscar pueblos…",hide_filters:"Ocultar filtros",show_filters:"Mostrar filtros",total:"Total",showing:"Mostrando",load_more:"Cargar más",full_profile:"Perfil completo",wagf_region:"Región",wagf_block:"Bloque de afinidad",rop1:"Pueblo",religion:"Religión",exact_filter:"Exacto",clear_all:"Borrar todo",loading:"Cargando…",no_results:"Ningún pueblo coincide con este filtro.",type_to_search:"Escribe para buscar...",load_failed:"No se pudieron cargar los datos de pueblos. Es un problema de conexión, no de tu filtro.",search_people_or_countries:"Buscar pueblos o países…",cards_per_row:"Tarjetas por fila",cards_per_row_auto:"Automático"},"./locales/es/legend.json":{title:{adoption:"Progreso de adopción",affinityBlocs:"Bloques de afinidad",doxaRegions:"Regiones Doxa",engagement:"Progreso de implicación",gospelResources:"Recursos del Evangelio",languageFamilies:"Familias lingüísticas",prayer:"Progreso de oración",upg100List:"Mi lista UPG 100",batchSelect:"Selección múltiple"},header:{collapsed:"Leyenda",peopleGroupFallback:"Grupo de personas",default:"Leyenda"},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"},tabInfo:{upg100Region:"Región — ordena las listas UPG-100 por área mundial (África, India, Oriente Medio, Sordos, …). Los totales son los UUPG y la población sumados de todas las listas que contiene.",upg100Zone:"Listas UPG-100 — cada una es una lista de oración de los grupos étnicos no alcanzados de un área, y es lo que el mapa pinta y colorea. Cada lista se imprime como su propio paquete.",upg100Group:"Grupo étnico — los grupos no alcanzados dentro de una lista, primero los de mayor necesidad de oración. Cada punto del mapa es uno de ellos.",family:"Familia lingüística — un conjunto de lenguas procedentes de un antepasado común (p. ej. indoeuropea, afroasiática).",language:"Idioma — un sistema de comunicación que usa un pueblo (p. ej. árabe, bengalí, hindi).",dialect:"Dialecto/Variedad — una forma regional o social de una lengua (p. ej. árabe sudanés; lengua de señas pakistaní).",bloc:"Bloque de afinidad — la agrupación más amplia, por parentesco cultural, lingüístico y geográfico (p. ej. pueblos malayos, pueblos del sur de Asia, sordos, mundo árabe).",cluster:"Clúster — una agrupación más fina dentro de un bloque (p. ej. Borneo-Kalimantan entre los pueblos malayos). Las filas llevan «(clúster)» para distinguirlas de los pueblos.",group:"Pueblo — una identidad etnolingüística en sí misma, independiente del país. Las filas llevan «(pueblo)». Un mismo pueblo puede vivir en muchos países (los sordos, por ejemplo, en más de cien).",pgic:"Pueblo en país — una fila por cada pueblo en cada país donde vive (p. ej. «Abai Sungai, Malasia»). Las filas llevan «(pueblo en país)».",region:"Región WAGF — la macrorregión a la que pertenece un país (p. ej. Asia, África). Cada una tiene su color en el mapa.",block:"Bloque WAGF — la subdivisión dentro de una región (p. ej. Sudeste Asiático, África Occidental).",country:"País — los países uno a uno, ordenados por población no alcanzada dentro de su bloque."},a11y:{expandRow:"Expandir {label}",collapseRow:"Contraer {label}",clearSelection:"Borrar la selección",goUp:"Subir a {label}"},export:{poster:"Cartel",packet:"UPG 100",packetExplain:"Una lista de oración de unos 50 a 100 pueblos no alcanzados: una persona puede llevar una.",packetAria:"Detalle del paquete de oración",packetFull:"Detalle completo",packetLightweight:"Ligero"},noDataAtThisLevel:"No hay datos en este nivel",exportButton:"Exportar",exportSelection:"Exportar la selección",loadingRows:"Cargando {label}…",loadingData:"Cargando datos…",showingTop:"Mostrando los {n} principales de {m}",useGeocoderHint:"usa el buscador de arriba para encontrar el resto",noList:"Ninguna lista cargada."},"./locales/es/lists.json":{doxa:{label:"Proyecto 2000: los pueblos de DOXA",definition:"Los pueblos a los que sirve DOXA, tal como los da su lista en vivo"},unreached:{label:"Proyecto 7000: pueblos no alcanzados",definition:"Prioridad de perdición de IMB 0–2 (no alcanzados de frontera, pioneros o en expansión: menos del 2 % evangélicos)"},frontier:{label:"Proyecto 4700: pueblos de frontera",definition:"Prioridad de perdición de IMB 0 (no alcanzados de frontera: 0,1 % evangélicos o menos)"},"frontier-500k":{label:"Proyecto 700: pueblos de frontera de 500.000 o más",definition:"Prioridad de perdición de IMB 0 y una población de al menos 500.000"},unengaged:{label:"Pueblos no alcanzados y no atendidos",definition:"Prioridad de perdición de IMB 0–2 y estado de compromiso: no atendido"}},"./locales/es/mapui.json":{map:"Mapa",marker:"Marcador del mapa",closePopup:"Cerrar ventana",zoomIn:"Acercar",zoomOut:"Alejar",resetBearing:"Arrastra para girar el mapa; haz clic para orientar al norte",toggleAttribution:"Mostrar u ocultar atribución",mapFeedback:"Comentarios sobre el mapa",enterFullscreen:"Pantalla completa",exitFullscreen:"Salir de pantalla completa",findMyLocation:"Buscar mi ubicación",locationNotAvailable:"Ubicación no disponible",enableGlobe:"Activar globo",disableGlobe:"Desactivar globo",ctrlScroll:"Usa Ctrl + desplazamiento para hacer zoom en el mapa",cmdScroll:"Usa ⌘ + desplazamiento para hacer zoom en el mapa",twoFingers:"Usa dos dedos para mover el mapa",mapboxHomepage:"Página de inicio de Mapbox",maplibreLogo:"Logotipo de MapLibre"},"./locales/es/messages.json":{menuComingSoon:"Menú próximamente",pinHint:{tapDot:"Toca un punto de color: alguien todavía necesita oración"},upg100WallHeading:"Mi lista UPG 100 — Listas de oración y carteles",upg100WallTag:"Movilización de oración",upg100WallIntroA:"¿Cómo alimentarías a una multitud de cinco mil? Jesús los sentó en grupos de cincuenta y de cien, y lo imposible se volvió compartible (Lucas 9:14). Hicimos lo mismo con los 2.106 pueblos no alcanzados: 27 listas de unos cincuenta a cien. Cada lista se imprime como paquete de oración y cartel, para que 27 discípulos, iglesias o líderes locales lleven una cada uno — orando por ellos ",upg100WallIntroEmph:"por el nombre de su pueblo",upg100WallIntroB:".",loadingNamed:"Cargando {name}…",couldNotLoadNamed:"No se pudo cargar {name}.",engineMissing:"El motor de mapas {engine} no se cargó.",packetFailed:"Error al generar el cuadernillo: {reason}",selectionPacketFailed:"Error al generar el cuadernillo de la selección: {reason}",posterOneTerritory:"El cartel imprime un territorio a la vez: {count} seleccionados.",selectionPosterFailed:"Error al generar el cartel de la selección: {reason}",mapUnavailable:"Mapa no disponible",copied:"¡Copiado!",copyFailed:"Error al copiar: pulsa Ctrl/Cmd-C",engineNotLoaded:"motor de mapas no cargado",engineNotLoadedDetail:"El motor de mapas {engine} no se cargó. La lista y la leyenda no se ven afectadas.",viewLoadFailed:"No se pudo cargar esta vista.",retry:"Reintentar",noMapboxToken:"No hay token de Mapbox",noMapboxTokenDetail:"No hay ningún token de Mapbox configurado. La lista y la leyenda no se ven afectadas.",loadingBoundaries:"Cargando límites…",fetchingUupgs:"Obteniendo {n} UUPG…",mapStatusCounts:"Áreas: {polys} · zonas: {zones}/{total} · marcadores: {pins}",tapTerritoriesHint:"Toque territorios en el mapa o filas de la leyenda para añadirlos · toque de nuevo para quitarlos",territoriesSelected:"Territorios: {count}",bandInRange:"✓ franja 50–100",bandOutOfRange:"franja 50–100",mapContextLost:"Este mapa se descargó para liberar memoria gráfica.",nOfTotal:"{n} de {total}",mapInitFailed:"No se pudo iniciar el mapa: revisa el token y el contenedor",countryWallIntroA:"Un cartel por país, listo para orar, imprimir y colgar en una pared — orando por ellos ",countryWallIntroB:". Las regiones y los países se ordenan según cuántos pueblos no comprometidos contienen, para que la mayor necesidad vaya primero.",countryWallSoon:"Próximamente: se generará una lista de oración para cada país, con el nombre de cada pueblo no alcanzado que hay en él.",countryWallHeading:"Carteles por país — Listas de oración y carteles",largerScreenNotice:"Este mapa experimental está pensado para pantallas grandes. Se abre aquí, pero algunas partes pueden no caber o no funcionar bien en un teléfono.",desktopOnlyNotice:"{label} solo funciona en escritorio: abra esta página en un ordenador para usarlo.",noticeDismiss:"Cerrar",countryPosterTooMany:"Demasiados pueblos para que quepan legiblemente en un solo cartel; estamos trabajando en una solución."},"./locales/es/pins.json":{approximate:"El punto indica dónde se encuentra este pueblo, no una ciudad ni una frontera.",sharedPoint:"Está en el mismo punto que {names}: {n} grupos comparten esta coordenada, así que la posición indica la zona y no dónde está cada grupo."},"./locales/es/popup.json":{country:{wagfRegion:"Región WAGF",wagfBlock:"Bloque WAGF",country:"País",uupgCount:"Número de UUPG"}},"./locales/es/religion.json":{family:{Christianity:"Cristianismo",Islam:"Islam",Hinduism:"Hinduismo",Buddhism:"Budismo",Ethnoreligion:"Etnorreligión",Judaism:"Judaísmo",Sikhism:"Sijismo",Unaffiliated:"Sin afiliación",Other:"Otra",Unknown:"Desconocida"}},"./locales/es/search.json":{placeholder:"Pueblo, lugar, idioma, religión",placeholderNoPlaces:"Pueblo, idioma, religión (buscar lugares requiere un token de Mapbox)",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"},sections:{within:"Dentro de {selection}",allData:"Todos los datos DOXA"},upg100Placeholder:"Buscar pueblo, lista UPG-100 o región…",tabPlaceholder:{languageFamilies:"Buscar familia lingüística, idioma, dialecto/variedad",affinityBlocks:"Buscar bloque de afinidad, clúster, pueblo",regions:"Buscar región, país, pueblo",religion:"Buscar religión, pueblo"},placeholderRegions:"Buscar región, país o pueblo"},"./locales/es/share.json":{embed_link:"Enlace para insertar",add_to_website:"Añádelo a tu sitio web",embed_paste_hint:"Pega este código en tu creador de sitios web (WordPress, Squarespace, Wix o cualquier sitio que acepte widgets HTML)."},"./locales/es/tabs.json":{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",upg100Region:"Región",upg100Zone:"Listas UPG-100",upg100Group:"Grupo étnico",selectView:"Seleccionar vista",views:"Vistas",prayerResources:"Recursos de oración",map:"Mapa",countryPosters:"Carteles por país"},"./locales/es/wall.json":{title:"Muro de los pueblos",toPortrait:"📱 Cambiar a vertical",toLandscape:"🖼️ Cambiar a horizontal",currentLandscape:"Actual: horizontal (4 × 3 pies)",currentPortrait:"Actual: vertical (3 × 4 pies)",resetZoom:"Restablecer zoom",groupsLoaded:"Cargados: {n}",loading:"Cargando pueblos…",offlineTitle:"No se pudo acceder a los datos de oración en vivo.",offlineBody:"El muro lee sus pueblos de pray.doxa.life. Puede que no tengas conexión o que, en un servidor de desarrollo local, la API no permita la dirección de esta página.",tryAgain:"Reintentar",prayedCount:"Oraron: {n}",viewPrayers:"Ver oraciones",prayerTools:"Herramientas de oración",close:"Cerrar",unknown:"Desconocido",unknownGroup:"Pueblo desconocido",status:"Estado:",unengaged:"no alcanzado",prayingNow:"¿Estás orando ahora por este pueblo?",yesPraying:"Sí, estoy orando",thankYou:"¡Gracias por orar!",sharePrayer:"Comparte tu oración (opcional)",prayerPlaceholder:"Escribe tu oración aquí…",sendPrayer:"Enviar oración",peopleGroup:"Pueblo",chatsTitle:"Chats del pueblo",id:"ID:",location:"Ubicación:",na:"N/D",havePrayed:"Oraron: {n}",youPrayed:"✓ ¡Oraste!",prayForGroup:"🙏 Orar por este pueblo",prayersComments:"Oraciones y comentarios",noComments:"Aún no hay oraciones ni comentarios. ¡Sé el primero!",commentPlaceholder:"Comparte tu oración o tus pensamientos…",postComment:"Publicar comentario",noPeopleId:"Este pueblo no tiene PeopleID3",statusUnknown:"Estado desconocido",printPoster:"🖨️ Imprimir póster HD",printPreparing:"Preparando el póster: {n} de {total} fotos",printMissing:"Fotos que no se pudieron cargar: {n}. Se imprimen como recuadros grises.",blessBanner:"Bendigan a las naciones en el nombre de Jesús",modeLabel:"Modo del muro",modeBless:"Bendecir",modeSocial:"Social",shareSoon:"Compartir llegará más adelante.",drawLibError:"El muro no pudo cargar su biblioteca de dibujo:",posterSize:"Tamaño del póster",posterSubtitle:"DOXA (δόξα) significa gloria. Un movimiento mundial de oración está bendiciendo a estos {n} grupos de pueblos en el nombre de Jesús. Más información y únase en pray.doxa.life.",glueHere:"pegue aquí la hoja de arriba",themesLabel:"Temas de oración",oldTestament:"Antiguo Testamento",newTestament:"Nuevo Testamento",themeTreasure:"Tesoro",themeMountain:"Monte",themeSea:"Mar",posterClosing:"Jesucristo es la piedra angular, y nosotros somos piedras vivas. Estos pueblos son la recompensa de su sufrimiento. Asumamos nuestro llamado sacerdotal: bendigámoslos en su nombre y unámonos a la familia mundial en oración.",journeyCalled:"El llamado",journeyPromised:"La promesa",journeyRedeemed:"Redimidos",journeyCornerstone:"La piedra angular",journeyChildren:"Hijos de Abraham",journeyPriesthood:"Un real sacerdocio",journeySent:"Enviados a los perdidos",peopleGroupCount:"{n} pueblo | {n} de pueblos | {n} pueblos",listCount:"{n} lista | {n} de listas | {n} listas",stockCard:"Tarjeta",stockPostcard:"Postal",stockLandscape:"horizontal",hud:{kindPoster:"Cartel",kindList:"Lista",kindPacket:"Paquete de oración",fetchingPoster:"obteniendo el cartel",generatingPoster:"generando el cartel",openingPrint:"abriendo el cuadro de impresión",printOpened:"cuadro de impresión abierto",saving:"guardando",fetchingRecords:"obteniendo registros",fetchingGroups:"obteniendo pueblos",layingOutRows:"maquetando {n} fila | maquetando {n} de filas | maquetando {n} filas",layingOutCards:"maquetando {n} tarjeta | maquetando {n} de tarjetas | maquetando {n} tarjetas",printingGroups:"imprimiendo {n} pueblo | imprimiendo {n} de pueblos | imprimiendo {n} pueblos",kindCardDeck:"Baraja de tarjetas",kindPrayerList:"Lista de oración",saved:"guardado",noRecords:"esa lista no tiene pueblos para imprimir",noPoster:"no hay un cartel disponible para esta lista",posterNotFound:"cartel no encontrado ({status})",posterBlank:"el cartel generado salió en blanco",noApi:"no hay un servicio de pueblos configurado",fetchFailed:"no se pudieron cargar los pueblos ({status})"},posterAlt:"{label} — cartel de oración",posterAltAction:"{label} — cartel de oración (haz clic para ver e imprimir)"},"./locales/fr/allPeopleGroups.json":{title:"Tous les groupes ethniques",locations:"{n} emplacements (groupe × pays)",doxa:"Groupes ethniques DOXA",frontier:"Frontière — rien n’a commencé",unreached:"Non atteints — le travail commence",reached:"Atteints — l’Église est là",hint:"Cliquez sur une ligne pour les voir tous · recliquez pour tout voir",loading:"Chargement de tous les groupes ethniques…",loadError:"La carte n’a pas pu être chargée.",pray:"Priez pour eux →",population:"pop. {n}"},"./locales/fr/aria.json":{backToLegend:"Retour à la légende",closeDetailView:"Fermer la vue détaillée",collapseLegend:"Réduire la légende",expandLegend:"Développer la légende",toggleLegend:"Afficher ou masquer la légende",searchPeopleGroups:"Rechercher des peuples",resetAllFilters:"Réinitialiser tous les filtres et la recherche",selectAllRows:"Sélectionner toutes les lignes",deselectAllRows:"Désélectionner toutes les lignes",rowDetail:"Détail de la ligne",dismissHint:"Masquer l'astuce",resizeFiltersRail:"Redimensionner le volet des filtres",resizeFiltersRailHint:"Faites glisser ou utilisez les touches fléchées pour redimensionner le volet des filtres",resizeChartsRail:"Redimensionner le volet des graphiques",resizeChartsRailHint:"Faites glisser ou utilisez les touches fléchées pour redimensionner le volet des graphiques",resizeMapTableSplit:"Redimensionner le partage carte/tableau",resizeMapTableSplitHint:"Faites glisser ou utilisez les touches fléchées pour redimensionner le partage carte/tableau",resizeTable:"Redimensionner la hauteur du tableau",resizeTableHint:"Faites glisser ou utilisez les touches fléchées pour redimensionner le tableau",resizeDashboardHeight:"Redimensionner la hauteur du tableau de bord",resizeDashboardHeightHint:"Faites glisser ou utilisez les touches fléchées pour redimensionner la hauteur du tableau de bord",removeFilter:"Supprimer le filtre {name}",closeDetail:"Fermer le détail",filterBreadcrumb:"Fil d’Ariane des filtres",railViews:"Vues du volet",upgCountLegend:"Légende du nombre d’UPG",donutChart:"Graphique en anneau : {title}"},"./locales/fr/buttons.json":{prayForThem:"Priez pour eux",adoptThem:"Adoptez-les",moreInfo:"Plus d'infos",zoomIn:"Zoom avant",zoomOut:"Zoom arrière",switchToLightMode:"Passer au mode clair",switchToDarkMode:"Passer au mode sombre",resetView:"Réinitialiser la vue",toggleFullscreen:"Basculer en plein écran",aboutThisMap:"À propos de cette carte",closeMenu:"Fermer le menu",reloadMap:"Recharger la carte",showClusters:"Afficher les clusters",clusterSettings:"Paramètres des clusters",startAutoFly:"Démarrer le vol auto",stopFlight:"Arrêter le vol",speedLabel:"Vitesse :",speedOption:{slow:"Lente",normal:"Normale",fast:"Rapide"},shareEmbed:"Partager et intégrer",posterMap:"Carte de l'affiche",prayerList:"Liste de prière",cardDeck:"Jeu de cartes",printOptions:"Options d'impression",showOnMap:"Voir sur la carte",close:"Fermer",showOnMapAria:"Voir {label} sur la carte",cardStockAria:"Taille de la carte de prière",previewPrintPoster:"Aperçu et impression de l’affiche {label}",share:"Partager",shareSteps:["Intégrez cette carte à votre site","Dressez la liste des sites web de votre ville","Apprenez-leur à l’intégrer aussi","Apprenez-leur à former d’autres personnes à l’intégrer","Multiplions les cartes partout pour Jésus !"],clearSelection:"Effacer la sélection",noOptions:"Aucune option trouvée",renderingLocal:"Une image de qualité impression est générée dans votre navigateur — rien n’est envoyé.",postersPerRow:"Affiches par ligne",packetVariantAria:"Niveau de détail du dossier de prière",packetFull:"Détail complet",packetLightweight:"Allégé",working:"Traitement…",postersPerRowAuto:"Auto"},"./locales/fr/controls.json":{research_controls:"Commandes de recherche",clustering:"Regroupement",filters:"Filtres",pin_dim:"Atténuation des points",export_poster:"Exporter l’affiche…",reload_data:"Recharger les données",off:"Désactivé",native:"Natif",mst:"MST",network:"Réseau",off_desc:"Afficher chaque point séparément",native_desc:"Groupes circulaires Mapbox (le plus rapide)",mst_desc:"Réseaux d’affinité par arbre couvrant minimal",network_desc:"Lignes vers le plus proche voisin",search_languages:"Rechercher des langues…",search_religions:"Rechercher des religions…",reset_all:"Tout réinitialiser",no_languages:"Aucune langue chargée pour l’instant",no_religions:"Aucune religion chargée pour l’instant",unadopted:"Non adopté",min:"min",max:"max",adopted:"Adopté",adoption:"Adoption",engaged:"Engagé",engagement:"Engagement",unengaged:"Besoin d'engagement",language:"Langue",religion:"Religion",population:"Population",any:"Tous",active_count:"{n} actifs",prayer_status:"État de prière",close:"Fermer",clear:"Effacer",map_controls:"Commandes de la carte",clusters:"Groupes",mst_full_name:"Arbre couvrant minimal",mst_hint:"cliquez sur une ligne de la légende pour ne regrouper que ce groupe"},"./locales/fr/dashboard.json":{bloc:"Bloc d’affinité",gospel_access:"Accès à l’Évangile",people:"Peuples",people_name:"Peuple (nom)",praying:"En prière",religion_family:"Famille religieuse",search_language:"Rechercher une langue",search_people:"Rechercher un peuple",search_place:"Rechercher un lieu",search_religion:"Rechercher une religion",upgs_in_scope:"UPG dans le périmètre",countries_touched:"pays touchés",unreached:"non atteints",sum_population:"Σ population",sum_praying:"Σ en prière",charts:"Graphiques",table:"Tableau",cluster:"Grappe",country:"Pays",engagement:"Engagement",language:"Langue",language_family:"Famille linguistique",people_group:"Peuple",population:"Population",prayer:"Prière",region:"Région",religion:"Religion",status:"Statut",adopted:"Adopté",filters:"Filtres",gospel_resources:"Ressources de l'Évangile",map:"Carte",search_placeholder:"Rechercher peuples, lieux, langues, religions…",any:"Tous",active_count:"{n} actifs",prayer_status:"État de prière",map_controls:"Commandes de la carte",close:"Fermer",clear:"Effacer",dashboard_title:"Tableau de bord de recherche global",align_dashboard:"Aligner le tableau",align_dashboard_tip:"Rétablir la disposition par défaut du tableau de bord",selected:"Sélectionné",world:"Monde",vertical_legend:"Légende verticale",groups_in_scope:"peuples dans le périmètre",filter_by:"Filtrer par",remove_filter:"Retirer le filtre",groups:"peuples",expand:"Développer",collapse:"Replier",place:"Lieu",export_csv:"Exporter en CSV",detail:"Détail",detail_empty:"Sélectionnez un peuple pour voir le détail",heartbeat_zone:"zone du battement de cœur",top_countries:"Principaux pays",select_all:"Tout sélectionner",expand_table:"Développer le tableau",collapse_table:"Réduire le tableau — agrandir la carte",group:"peuple",deselect_all:"Tout désélectionner",results_live:"{count} sur {total} {unit} affichés",filters_live:"Filtres : {list}",search_live:"Recherche : {term}",adopted_by_churches:"Adoptés par des Églises",bp_title:"Vue d’ensemble — tableau de bord de recherche unifié",bp_subtitle:"Rechercher et filtrer les groupes de personnes du monde · les moins atteints en premier",export_selection:"Exporter cette sélection",map_loading:"Chargement de la carte de recherche…",no_match:"Aucun groupe de personnes ne correspond à « {q} ».",no_photo:"Aucune photo",only_selected:"Uniquement la sélection",only_selected_hint:"N’afficher que les groupes de personnes sélectionnés",people_committed:"Personnes engagées",people_praying:"Personnes qui prient",selected_first:"La sélection en premier",selected_first_hint:"Faire remonter les groupes de personnes sélectionnés, en conservant le tri des colonnes",n_shown:"{n} affichés",other:"Autres",wagfRegion:{africa:"Afrique",asia:"Asie",europe:"Europe","latin_america_&_caribbean":"Amérique latine",oceania:"Océanie",middle_east:"Moyen-Orient","north_america_&_non-spanish_caribbean":"Amérique du Nord et Caraïbes non hispanophones"},sort_by_column_hint:"Trier ce tableau par {column} — Maj+clic ajoute une deuxième colonne. Le tri ne s’applique qu’au tableau ; les cartes gardent leur propre ordre.",fs_exit_hint:"Quitter le plein écran (Échap) — retour à sept lignes",fs_open_hint:"Ouvrir ce tableau en plein écran",fs_exit:"Quitter le plein écran",fs_open:"Ouvrir le tableau en plein écran",export_selected_hint:"Exporter tous les champs — peuples sélectionnés : {n}",export_all_hint:"Exporter tous les champs — peuples : {n}",map_init_failed:"La carte n’a pas pu démarrer. Vérifiez le jeton d’accès et le conteneur de la carte.",show_filters:"Afficher les filtres",hide_filters:"Masquer les filtres — agrandir la carte",show_charts:"Afficher les graphiques",hide_charts:"Masquer les graphiques — agrandir la carte",export_copied:"copié dans le presse-papiers",export_done:"exporté",export_ready:"prêt",export_toast:"✓ {rows} lignes × {fields} champs {how}",export_failed:"✕ Échec de l’export",pray_for_group:"Prier pour ce peuple",more_information:"Plus d’informations",title:"Tableau de bord de recherche",gospel_pending:"Pas encore prêt : le chiffre des non atteints, la clé de la source de données et la forme de l’interface restent à décider."},"./locales/fr/detail.json":{labels:{country:"Pays :",population:"Population :",language:"Langue :",religion:"Religion :",languageFamily:"Famille de langues :",peopleCommitted:"Engagés à prier :"},messages:{noDescription:"Aucune description disponible."}},"./locales/fr/grid.json":{search:"Rechercher des peuples…",hide_filters:"Masquer les filtres",show_filters:"Afficher les filtres",total:"Total",showing:"Affichage",load_more:"Charger plus",full_profile:"Profil complet",wagf_region:"Région",wagf_block:"Bloc d'affinité",rop1:"Peuple",religion:"Religion",exact_filter:"Exact",clear_all:"Tout effacer",loading:"Chargement…",no_results:"Aucun peuple ne correspond à ce filtre.",type_to_search:"Tapez pour rechercher...",load_failed:"Les données n’ont pas pu être chargées. C’est un problème de connexion, pas votre filtre.",search_people_or_countries:"Rechercher des peuples ou des pays…",cards_per_row:"Cartes par ligne",cards_per_row_auto:"Automatique"},"./locales/fr/legend.json":{title:{adoption:"Progression de l'adoption",affinityBlocs:"Blocs d'affinité",doxaRegions:"Régions Doxa",engagement:"Progression de l'engagement",gospelResources:"Ressources de l'Évangile",languageFamilies:"Familles de langues",prayer:"Progression de la prière",upg100List:"Ma liste UPG 100",batchSelect:"Sélection multiple"},header:{collapsed:"Légende",peopleGroupFallback:"Groupe de personnes",default:"Légende"},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"},tabInfo:{upg100Region:"Région — trie les listes UPG-100 par zone du monde (Afrique, Inde, Moyen-Orient, Sourds, …). Les totaux sont les UUPG et la population additionnés sur toutes les listes qu’elle contient.",upg100Zone:"Listes UPG-100 — chacune est une liste de prière des groupes de peuples non atteints d’une zone, et c’est ce que la carte dessine et colore. Chaque liste s’imprime comme son propre livret.",upg100Group:"Groupe de peuples — les groupes non atteints au sein d’une liste, les plus grands besoins de prière en premier. Chaque point de la carte en est un.",family:"Famille linguistique — un ensemble de langues issues d’un ancêtre commun (p. ex. indo-européen, afro-asiatique).",language:"Langue — un système de communication employé par un peuple (p. ex. arabe, bengali, hindi).",dialect:"Dialecte/Variété — une forme régionale ou sociale d’une langue (p. ex. arabe soudanais ; langue des signes pakistanaise).",bloc:"Bloc d’affinité — le regroupement le plus large, selon la parenté culturelle, linguistique et géographique (p. ex. peuples malais, peuples d’Asie du Sud, Sourds, monde arabe).",cluster:"Grappe — un regroupement plus fin à l’intérieur d’un bloc (p. ex. Bornéo-Kalimantan parmi les peuples malais). Les lignes portent « (grappe) » pour les distinguer des peuples.",group:"Peuple — une identité ethnolinguistique en elle-même, indépendante du pays. Les lignes portent « (peuple) ». Un même peuple peut vivre dans de nombreux pays (les Sourds, par exemple, dans plus de cent).",pgic:"Peuple dans le pays — une ligne par peuple et par pays où il vit (p. ex. « Abai Sungai, Malaisie »). Les lignes portent « (peuple dans le pays) ».",region:"Région WAGF — la macro-région dont relève un pays (p. ex. Asie, Afrique). Chacune a sa couleur sur la carte.",block:"Bloc WAGF — le sous-ensemble à l’intérieur d’une région (p. ex. Asie du Sud-Est, Afrique de l’Ouest).",country:"Pays — les pays un à un, classés par population non atteinte au sein de leur bloc."},a11y:{expandRow:"Développer {label}",collapseRow:"Réduire {label}",clearSelection:"Effacer la sélection",goUp:"Remonter à {label}"},export:{poster:"Affiche",packet:"UPG 100",packetExplain:"Une liste de prière d’environ 50 à 100 peuples non atteints : une personne peut en porter une.",packetAria:"Niveau de détail du dossier de prière",packetFull:"Détail complet",packetLightweight:"Allégé"},noDataAtThisLevel:"Aucune donnée à ce niveau",exportButton:"Exporter",exportSelection:"Exporter la sélection",loadingRows:"Chargement de {label}…",loadingData:"Chargement des données…",showingTop:"Affichage des {n} premiers sur {m}",useGeocoderHint:"utilisez la recherche ci-dessus pour trouver les autres",noList:"Aucune liste chargée."},"./locales/fr/lists.json":{doxa:{label:"Projet 2000 : les peuples de DOXA",definition:"Les peuples que DOXA sert, tels que sa liste en direct les donne"},unreached:{label:"Projet 7000 : peuples non atteints",definition:"Priorité de perdition IMB 0–2 (non atteints frontières, pionniers ou en expansion : moins de 2 % d’évangéliques)"},frontier:{label:"Projet 4700 : peuples frontières",definition:"Priorité de perdition IMB 0 (non atteints frontières : 0,1 % d’évangéliques ou moins)"},"frontier-500k":{label:"Projet 700 : peuples frontières de 500 000 personnes ou plus",definition:"Priorité de perdition IMB 0 et une population d’au moins 500 000"},unengaged:{label:"Peuples non atteints et non engagés",definition:"Priorité de perdition IMB 0–2 et statut d’engagement : non engagé"}},"./locales/fr/mapui.json":{map:"Carte",marker:"Marqueur de carte",closePopup:"Fermer la fenêtre",zoomIn:"Zoom avant",zoomOut:"Zoom arrière",resetBearing:"Faites glisser pour faire pivoter la carte, cliquez pour revenir au nord",toggleAttribution:"Afficher/masquer l'attribution",mapFeedback:"Commentaires sur la carte",enterFullscreen:"Plein écran",exitFullscreen:"Quitter le plein écran",findMyLocation:"Trouver ma position",locationNotAvailable:"Position non disponible",enableGlobe:"Activer le globe",disableGlobe:"Désactiver le globe",ctrlScroll:"Utilisez Ctrl + molette pour zoomer sur la carte",cmdScroll:"Utilisez ⌘ + molette pour zoomer sur la carte",twoFingers:"Utilisez deux doigts pour déplacer la carte",mapboxHomepage:"Page d'accueil de Mapbox",maplibreLogo:"Logo MapLibre"},"./locales/fr/messages.json":{menuComingSoon:"Menu bientôt disponible",pinHint:{tapDot:"Touchez un point coloré — quelqu’un a encore besoin de prière"},upg100WallHeading:"Ma liste UPG 100 — Listes de prière et affiches",upg100WallTag:"Mobilisation pour la prière",upg100WallIntroA:"Comment nourririez-vous une foule de cinq mille personnes ? Jésus les a fait asseoir par groupes de cinquante et de cent, et l’impossible est devenu partageable (Luc 9.14). Nous avons fait de même avec les 2 106 peuples non atteints : 27 listes d’environ cinquante à cent. Chaque liste s’imprime en dossier de prière et en affiche, pour que 27 disciples, Églises ou responsables locaux en portent chacun une — en priant pour eux ",upg100WallIntroEmph:"par le nom de leur peuple",upg100WallIntroB:".",loadingNamed:"Chargement de {name}…",couldNotLoadNamed:"Impossible de charger {name}.",engineMissing:"Le moteur de carte {engine} ne s’est pas chargé.",packetFailed:"Échec du livret : {reason}",selectionPacketFailed:"Échec du livret de la sélection : {reason}",posterOneTerritory:"L’affiche imprime un territoire à la fois — {count} sélectionnés.",selectionPosterFailed:"Échec de l’affiche de la sélection : {reason}",mapUnavailable:"Carte indisponible",copied:"Copié !",copyFailed:"Échec de la copie — appuyez sur Ctrl/Cmd-C",engineNotLoaded:"moteur cartographique non chargé",engineNotLoadedDetail:"Le moteur cartographique {engine} ne s’est pas chargé. La liste et la légende ne sont pas affectées.",viewLoadFailed:"Impossible de charger cette vue.",retry:"Réessayer",noMapboxToken:"Aucun jeton Mapbox",noMapboxTokenDetail:"Aucun jeton Mapbox n’est configuré. La liste et la légende ne sont pas affectées.",loadingBoundaries:"Chargement des limites…",fetchingUupgs:"Récupération de {n} UUPG…",mapStatusCounts:"Surfaces : {polys} · zones : {zones}/{total} · repères : {pins}",tapTerritoriesHint:"Touchez des territoires sur la carte ou des lignes de la légende pour les ajouter · touchez à nouveau pour les retirer",territoriesSelected:"Territoires : {count}",bandInRange:"✓ tranche 50–100",bandOutOfRange:"tranche 50–100",mapContextLost:"Cette carte a été déchargée pour libérer de la mémoire graphique.",nOfTotal:"{n} sur {total}",mapInitFailed:"Échec de l’initialisation de la carte — vérifiez le jeton et le conteneur",countryWallIntroA:"Une affiche par pays, prête à prier, à imprimer et à accrocher au mur — en priant pour eux ",countryWallIntroB:". Les régions et les pays sont classés selon le nombre de peuples non engagés qu’ils comptent, pour que le plus grand besoin vienne en premier.",countryWallSoon:"Bientôt : une liste de prière sera générée pour chaque pays, nommant chaque peuple non atteint qui s’y trouve.",countryWallHeading:"Affiches par pays — Listes de prière et affiches",largerScreenNotice:"Cette carte expérimentale est conçue pour les grands écrans. Elle s’ouvre ici, mais certaines parties peuvent mal s’afficher ou mal fonctionner sur un téléphone.",desktopOnlyNotice:"{label} ne fonctionne que sur ordinateur : ouvrez cette page sur un ordinateur pour l’utiliser.",noticeDismiss:"Fermer",countryPosterTooMany:"Trop de peuples pour tenir lisiblement sur une seule affiche — une solution est en préparation."},"./locales/fr/pins.json":{approximate:"Le point indique où vit ce peuple, pas une ville ni une frontière.",sharedPoint:"Il se trouve au même point que {names} — {n} groupes partagent cette coordonnée : la position indique la région, pas où se trouve chaque groupe."},"./locales/fr/popup.json":{country:{wagfRegion:"Région WAGF",wagfBlock:"Bloc WAGF",country:"Pays",uupgCount:"Nombre d'UUPG"}},"./locales/fr/religion.json":{family:{Christianity:"Christianisme",Islam:"Islam",Hinduism:"Hindouisme",Buddhism:"Bouddhisme",Ethnoreligion:"Ethnoreligion",Judaism:"Judaïsme",Sikhism:"Sikhisme",Unaffiliated:"Sans appartenance",Other:"Autre",Unknown:"Inconnue"}},"./locales/fr/search.json":{placeholder:"Peuple, lieu, langue, religion",placeholderNoPlaces:"Peuple, langue, religion (la recherche de lieux requiert un jeton Mapbox)",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"},sections:{within:"Dans {selection}",allData:"Toutes les données DOXA"},upg100Placeholder:"Rechercher un peuple, une liste UPG-100 ou une région…",tabPlaceholder:{languageFamilies:"Rechercher une famille linguistique, une langue, un dialecte/une variété",affinityBlocks:"Rechercher un bloc d’affinité, une grappe, un peuple",regions:"Rechercher une région, un pays, un peuple",religion:"Rechercher une religion, un peuple"},placeholderRegions:"Rechercher une région, un pays, un peuple"},"./locales/fr/share.json":{embed_link:"Lien d'intégration",add_to_website:"Ajouter à votre site web",embed_paste_hint:"Collez ce code dans votre créateur de site web (WordPress, Squarespace, Wix ou tout site acceptant les widgets HTML)."},"./locales/fr/tabs.json":{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",upg100Region:"Région",upg100Zone:"Listes UPG-100",upg100Group:"Groupe de peuples",selectView:"Choisir la vue",views:"Vues",prayerResources:"Ressources de prière",map:"Carte",countryPosters:"Affiches par pays"},"./locales/fr/wall.json":{title:"Mur des peuples",toPortrait:"📱 Passer en portrait",toLandscape:"🖼️ Passer en paysage",currentLandscape:"Actuel : paysage (4 × 3 pieds)",currentPortrait:"Actuel : portrait (3 × 4 pieds)",resetZoom:"Réinitialiser le zoom",groupsLoaded:"Chargés : {n}",loading:"Chargement des peuples…",offlineTitle:"Les données de prière en direct sont inaccessibles.",offlineBody:"Le mur lit ses peuples sur pray.doxa.life. Vous êtes peut-être hors ligne ou, sur un serveur de développement local, l’API n’autorise pas l’adresse de cette page.",tryAgain:"Réessayer",prayedCount:"Ont prié : {n}",viewPrayers:"Voir les prières",prayerTools:"Outils de prière",close:"Fermer",unknown:"Inconnu",unknownGroup:"Peuple inconnu",status:"Statut :",unengaged:"non atteint",prayingNow:"Priez-vous en ce moment pour ce peuple ?",yesPraying:"Oui, je prie",thankYou:"Merci de prier !",sharePrayer:"Partagez votre prière (facultatif)",prayerPlaceholder:"Écrivez votre prière ici…",sendPrayer:"Envoyer la prière",peopleGroup:"Peuple",chatsTitle:"Discussions du peuple",id:"ID :",location:"Lieu :",na:"N/D",havePrayed:"Ont prié : {n}",youPrayed:"✓ Vous avez prié !",prayForGroup:"🙏 Prier pour ce peuple",prayersComments:"Prières et commentaires",noComments:"Aucune prière ni commentaire pour l’instant. Soyez le premier !",commentPlaceholder:"Partagez votre prière ou vos pensées…",postComment:"Publier le commentaire",noPeopleId:"Ce peuple n’a pas de PeopleID3",statusUnknown:"Statut inconnu",printPoster:"🖨️ Imprimer l’affiche HD",printPreparing:"Préparation de l’affiche : {n} photos sur {total}",printMissing:"Photos qui n’ont pas pu être chargées : {n}. Elles s’impriment en cases grises.",blessBanner:"Bénissez les nations au nom de Jésus",modeLabel:"Mode du mur",modeBless:"Bénir",modeSocial:"Social",shareSoon:"Le partage arrive bientôt.",drawLibError:"Le mur n’a pas pu charger sa bibliothèque de dessin :",posterSize:"Taille de l’affiche",posterSubtitle:"DOXA (δόξα) signifie gloire. Un mouvement mondial de prière bénit ces {n} groupes de peuples au nom de Jésus. Pour en savoir plus et nous rejoindre : pray.doxa.life.",glueHere:"collez ici la feuille du dessus",themesLabel:"Thèmes de prière",oldTestament:"Ancien Testament",newTestament:"Nouveau Testament",themeTreasure:"Trésor",themeMountain:"Montagne",themeSea:"Mer",posterClosing:"Jésus-Christ est la pierre angulaire, et nous sommes des pierres vivantes. Ces peuples sont la récompense de ses souffrances. Prenons notre appel sacerdotal : bénissons-les en son nom et rejoignons la famille mondiale dans la prière.",journeyCalled:"L’appel",journeyPromised:"La promesse",journeyRedeemed:"Rachetés",journeyCornerstone:"La pierre angulaire",journeyChildren:"Enfants d’Abraham",journeyPriesthood:"Un sacerdoce royal",journeySent:"Envoyés vers les perdus",peopleGroupCount:"{n} peuple | {n} de peuples | {n} peuples",listCount:"{n} liste | {n} de listes | {n} listes",stockCard:"Carte",stockPostcard:"Carte postale",stockLandscape:"paysage",hud:{kindPoster:"Affiche",kindList:"Liste",kindPacket:"Dossier de prière",fetchingPoster:"récupération de l’affiche",generatingPoster:"génération de l’affiche",openingPrint:"ouverture de la boîte d’impression",printOpened:"boîte d’impression ouverte",saving:"enregistrement",fetchingRecords:"récupération des données",fetchingGroups:"récupération des peuples",layingOutRows:"mise en page de {n} ligne | mise en page de {n} de lignes | mise en page de {n} lignes",layingOutCards:"mise en page de {n} carte | mise en page de {n} de cartes | mise en page de {n} cartes",printingGroups:"impression de {n} peuple | impression de {n} de peuples | impression de {n} peuples",kindCardDeck:"Jeu de cartes",kindPrayerList:"Liste de prière",saved:"enregistré",noRecords:"cette liste ne contient aucun peuple à imprimer",noPoster:"aucune affiche n’est disponible pour cette liste",posterNotFound:"affiche introuvable ({status})",posterBlank:"l’affiche générée est sortie vide",noApi:"aucun service de peuples n’est configuré",fetchFailed:"impossible de charger les peuples ({status})"},posterAlt:"{label} — affiche de prière",posterAltAction:"{label} — affiche de prière (cliquez pour prévisualiser et imprimer)"},"./locales/hi/allPeopleGroups.json":{title:"सभी जनसमूह",locations:"{n} स्थान (समूह × देश)",doxa:"DOXA जनसमूह",frontier:"सीमांत — कुछ शुरू नहीं हुआ",unreached:"अप्रचारित — काम शुरू हो रहा है",reached:"प्रचारित — कलीसिया मौजूद है",hint:"सभी देखने के लिए पंक्ति पर क्लिक करें · सब कुछ देखने के लिए फिर क्लिक करें",loading:"सभी जनसमूह लोड हो रहे हैं…",loadError:"मानचित्र लोड नहीं हो सका।",pray:"उनके लिए प्रार्थना करें →",population:"जनसंख्या {n}"},"./locales/hi/aria.json":{backToLegend:"लेजेंड पर वापस जाएं",closeDetailView:"विवरण दृश्य बंद करें",collapseLegend:"लेजेंड संक्षिप्त करें",expandLegend:"लेजेंड विस्तृत करें",toggleLegend:"लेजेंड दिखाएँ या छिपाएँ",searchPeopleGroups:"जनसमूह खोजें",resetAllFilters:"सभी फ़िल्टर और खोज रीसेट करें",selectAllRows:"सभी पंक्तियाँ चुनें",deselectAllRows:"सभी पंक्तियाँ अचयनित करें",rowDetail:"पंक्ति विवरण",dismissHint:"संकेत हटाएँ",resizeFiltersRail:"फ़िल्टर पट्टी का आकार बदलें",resizeFiltersRailHint:"फ़िल्टर पट्टी का आकार बदलने के लिए खींचें या तीर कुंजियों का उपयोग करें",resizeChartsRail:"चार्ट पट्टी का आकार बदलें",resizeChartsRailHint:"चार्ट पट्टी का आकार बदलने के लिए खींचें या तीर कुंजियों का उपयोग करें",resizeMapTableSplit:"मानचित्र/तालिका विभाजन का आकार बदलें",resizeMapTableSplitHint:"मानचित्र/तालिका विभाजन का आकार बदलने के लिए खींचें या तीर कुंजियों का उपयोग करें",resizeTable:"तालिका की ऊँचाई बदलें",resizeTableHint:"तालिका का आकार बदलने के लिए खींचें या तीर कुंजियों का उपयोग करें",resizeDashboardHeight:"डैशबोर्ड की ऊँचाई बदलें",resizeDashboardHeightHint:"डैशबोर्ड की ऊँचाई बदलने के लिए खींचें या तीर कुंजियों का उपयोग करें",removeFilter:"फ़िल्टर {name} हटाएँ",closeDetail:"विवरण बंद करें",filterBreadcrumb:"फ़िल्टर पथ",railViews:"पट्टी के दृश्य",upgCountLegend:"UPG गणना की कुंजी",donutChart:"डोनट चार्ट: {title}"},"./locales/hi/buttons.json":{prayForThem:"उनके लिए प्रार्थना करें",adoptThem:"उन्हें गोद लें",moreInfo:"अधिक जानकारी",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",switchToLightMode:"लाइट मोड पर जाएं",switchToDarkMode:"डार्क मोड पर जाएं",resetView:"दृश्य रीसेट करें",toggleFullscreen:"फ़ुलस्क्रीन टॉगल करें",aboutThisMap:"इस मानचित्र के बारे में",closeMenu:"मेनू बंद करें",reloadMap:"मानचित्र पुनः लोड करें",showClusters:"क्लस्टर दिखाएं",clusterSettings:"क्लस्टर सेटिंग्स",startAutoFly:"ऑटो फ्लाई शुरू करें",stopFlight:"उड़ान रोकें",speedLabel:"गति:",speedOption:{slow:"धीमी",normal:"सामान्य",fast:"तेज़"},shareEmbed:"साझा करें और एम्बेड करें",posterMap:"पोस्टर मानचित्र",prayerList:"प्रार्थना सूची",cardDeck:"कार्ड सेट",printOptions:"छपाई विकल्प",showOnMap:"मानचित्र पर देखें",close:"बंद करें",showOnMapAria:"{label} को मानचित्र पर देखें",cardStockAria:"प्रार्थना कार्ड का आकार",previewPrintPoster:"{label} पोस्टर देखें और प्रिंट करें",share:"साझा करें",shareSteps:["इस मानचित्र को अपनी वेबसाइट पर लगाएँ","अपने शहर की वेबसाइटों की सूची बनाएँ","उन्हें भी इसे लगाना सिखाएँ","उन्हें सिखाएँ कि वे औरों को लगाना सिखाएँ","यीशु के लिए हर जगह मानचित्र बढ़ाएँ!"],clearSelection:"चयन हटाएँ",noOptions:"कोई विकल्प नहीं मिला",renderingLocal:"आपके ब्राउज़र में प्रिंट-गुणवत्ता वाली छवि बन रही है — कुछ भी अपलोड नहीं किया जाता।",postersPerRow:"प्रति पंक्ति पोस्टर",packetVariantAria:"प्रार्थना पैकेट विवरण",packetFull:"पूर्ण विवरण",packetLightweight:"संक्षिप्त",working:"कार्य जारी…",postersPerRowAuto:"स्वतः"},"./locales/hi/controls.json":{research_controls:"शोध नियंत्रण",clustering:"क्लस्टरिंग",filters:"फ़िल्टर",pin_dim:"पिन धुंधलापन",export_poster:"पोस्टर निर्यात करें…",reload_data:"डेटा फिर से लोड करें",off:"बंद",native:"नेटिव",mst:"MST",network:"नेटवर्क",off_desc:"हर पिन अलग-अलग दिखाएँ",native_desc:"Mapbox वृत्त क्लस्टर (सबसे तेज़)",mst_desc:"न्यूनतम स्पैनिंग ट्री आधारित जाल",network_desc:"निकटतम पड़ोसी को जोड़ने वाली रेखाएँ",search_languages:"भाषाएँ खोजें…",search_religions:"धर्म खोजें…",reset_all:"सब रीसेट करें",no_languages:"अभी कोई भाषा लोड नहीं हुई",no_religions:"अभी कोई धर्म लोड नहीं हुआ",unadopted:"अ-गोद लिया",min:"न्यून",max:"अधि",adopted:"गोद लिया गया",adoption:"गोद लेना",engaged:"संपर्कित",engagement:"सहभागिता",unengaged:"सहभागिता चाहिए",language:"भाषा",religion:"धर्म",population:"जनसंख्या",any:"कोई भी",active_count:"{n} सक्रिय",prayer_status:"प्रार्थना स्थिति",close:"बंद करें",clear:"साफ़ करें",map_controls:"मानचित्र नियंत्रण",clusters:"क्लस्टर",mst_full_name:"न्यूनतम विस्तारित वृक्ष",mst_hint:"केवल उस समूह को क्लस्टर करने के लिए लेजेंड की पंक्ति पर क्लिक करें"},"./locales/hi/dashboard.json":{bloc:"समानता समूह",gospel_access:"सुसमाचार पहुँच",people:"जनसमूह",people_name:"जनसमूह (नाम)",praying:"प्रार्थना कर रहे",religion_family:"धर्म परिवार",search_language:"भाषा खोजें",search_people:"जनसमूह खोजें",search_place:"स्थान खोजें",search_religion:"धर्म खोजें",upgs_in_scope:"दायरे में UPG",countries_touched:"छुए गए देश",unreached:"अनपहुँचे",sum_population:"Σ जनसंख्या",sum_praying:"Σ प्रार्थना",charts:"चार्ट",table:"तालिका",cluster:"क्लस्टर",country:"देश",engagement:"सहभागिता",language:"भाषा",language_family:"भाषा परिवार",people_group:"जनसमूह",population:"जनसंख्या",prayer:"प्रार्थना",region:"क्षेत्र",religion:"धर्म",status:"स्थिति",adopted:"गोद लिया गया",filters:"फ़िल्टर",gospel_resources:"सुसमाचार संसाधन",map:"नक्शा",search_placeholder:"जनसमूह, स्थान, भाषा, धर्म खोजें…",any:"कोई भी",active_count:"{n} सक्रिय",prayer_status:"प्रार्थना स्थिति",map_controls:"मानचित्र नियंत्रण",close:"बंद करें",clear:"साफ़ करें",dashboard_title:"बिग पिक्चर शोध डैशबोर्ड",align_dashboard:"डैशबोर्ड संरेखित करें",align_dashboard_tip:"डैशबोर्ड लेआउट को डिफ़ॉल्ट संरेखण पर लौटाएँ",selected:"चयनित",world:"विश्व",vertical_legend:"लंबवत लेजेंड",groups_in_scope:"दायरे में जनसमूह",filter_by:"इससे फ़िल्टर करें",remove_filter:"फ़िल्टर हटाएँ",groups:"जनसमूह",expand:"विस्तार करें",collapse:"संक्षिप्त करें",place:"स्थान",export_csv:"CSV निर्यात करें",detail:"विवरण",detail_empty:"विवरण देखने के लिए एक जनसमूह चुनें",heartbeat_zone:"हृदयगति क्षेत्र",top_countries:"शीर्ष देश",select_all:"सभी चुनें",expand_table:"तालिका विस्तृत करें",collapse_table:"तालिका संक्षिप्त करें — मानचित्र बड़ा करें",group:"जनसमूह",deselect_all:"सभी अचयनित करें",results_live:"{total} में से {count} {unit} दिखाए गए",filters_live:"फ़िल्टर: {list}",search_live:"खोज: {term}",adopted_by_churches:"कलीसियाओं द्वारा अपनाए गए",bp_title:"बड़ी तस्वीर — एकीकृत शोध डैशबोर्ड",bp_subtitle:"दुनिया के जनसमूहों को खोजें और छाँटें · सबसे कम पहुँच वाले पहले",export_selection:"यह चयन निर्यात करें",map_loading:"शोध मानचित्र लोड हो रहा है…",no_match:"“{q}” से मेल खाने वाला कोई जनसमूह नहीं है।",no_photo:"कोई फ़ोटो नहीं",only_selected:"केवल चयनित",only_selected_hint:"केवल चयनित जनसमूह दिखाएँ",people_committed:"प्रतिबद्ध लोग",people_praying:"प्रार्थना करने वाले लोग",selected_first:"चयनित पहले",selected_first_hint:"चयनित जनसमूहों को ऊपर लाएँ, आपका कॉलम क्रम बनाए रखते हुए",n_shown:"{n} दिखाए गए",other:"अन्य",wagfRegion:{africa:"अफ़्रीका",asia:"एशिया",europe:"यूरोप","latin_america_&_caribbean":"लैटिन अमेरिका",oceania:"ओशिआनिया",middle_east:"मध्य पूर्व","north_america_&_non-spanish_caribbean":"उत्तरी अमेरिका और गैर-स्पेनिश कैरिबियन"},sort_by_column_hint:"इस तालिका को {column} के अनुसार क्रमबद्ध करें — Shift-क्लिक से दूसरा कॉलम जुड़ता है। क्रमबद्ध करने से केवल तालिका का क्रम बदलता है; कार्ड अपना क्रम बनाए रखते हैं।",fs_exit_hint:"पूर्ण स्क्रीन से बाहर निकलें (Esc) — सात पंक्तियों पर वापस",fs_open_hint:"इस तालिका को पूर्ण स्क्रीन में खोलें",fs_exit:"पूर्ण स्क्रीन से बाहर निकलें",fs_open:"तालिका को पूर्ण स्क्रीन में खोलें",export_selected_hint:"सभी फ़ील्ड निर्यात करें — चयनित जनसमूह: {n}",export_all_hint:"सभी फ़ील्ड निर्यात करें — जनसमूह: {n}",map_init_failed:"मानचित्र आरंभ नहीं हो सका। एक्सेस टोकन और मानचित्र कंटेनर जाँचें।",show_filters:"फ़िल्टर दिखाएँ",hide_filters:"फ़िल्टर छिपाएँ — मानचित्र बड़ा करें",show_charts:"चार्ट दिखाएँ",hide_charts:"चार्ट छिपाएँ — मानचित्र बड़ा करें",export_copied:"क्लिपबोर्ड पर कॉपी हुआ",export_done:"निर्यात हुआ",export_ready:"तैयार",export_toast:"✓ {rows} पंक्तियाँ × {fields} क्षेत्र {how}",export_failed:"✕ निर्यात विफल",pray_for_group:"इस जनसमूह के लिए प्रार्थना करें",more_information:"अधिक जानकारी",title:"शोध डैशबोर्ड",gospel_pending:"अभी तैयार नहीं: अनपहुँचे लोगों का आँकड़ा, डेटा स्रोत की कुंजी और अंतरफलक का रूप अभी तय हो रहे हैं।"},"./locales/hi/detail.json":{labels:{country:"देश:",population:"जनसंख्या:",language:"भाषा:",religion:"धर्म:",languageFamily:"भाषा परिवार:",peopleCommitted:"प्रार्थना के लिए प्रतिबद्ध:"},messages:{noDescription:"कोई विवरण उपलब्ध नहीं है।"}},"./locales/hi/grid.json":{search:"जनसमूह खोजें…",hide_filters:"फ़िल्टर छिपाएँ",show_filters:"फ़िल्टर दिखाएँ",total:"कुल",showing:"दिखा रहे हैं",load_more:"और देखें",full_profile:"पूरी प्रोफ़ाइल",wagf_region:"क्षेत्र",wagf_block:"समानता समूह",rop1:"जनसमूह",religion:"धर्म",exact_filter:"सटीक",clear_all:"सब हटाएँ",loading:"लोड हो रहा है…",no_results:"इस फ़िल्टर से कोई जनसमूह मेल नहीं खाता।",type_to_search:"खोजने के लिए लिखें...",load_failed:"जनसमूह डेटा लोड नहीं हो सका। यह कनेक्शन की समस्या है, आपके फ़िल्टर की नहीं।",search_people_or_countries:"जनसमूह या देश खोजें…",cards_per_row:"प्रति पंक्ति कार्ड",cards_per_row_auto:"स्वचालित"},"./locales/hi/legend.json":{title:{adoption:"गोद लेने की प्रगति",affinityBlocs:"समानता समूह",doxaRegions:"Doxa क्षेत्र",engagement:"सहभागिता प्रगति",gospelResources:"सुसमाचार संसाधन",languageFamilies:"भाषा परिवार",prayer:"प्रार्थना प्रगति",upg100List:"मेरी UPG 100 सूची",batchSelect:"एक साथ चुनें"},header:{collapsed:"किंवदंती",peopleGroupFallback:"जनजाति समूह",default:"सूचकांक"},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:"जनसंख्या",name:"नाम"},footer:{total:"कुल"},sortByUpgs:"UUPG के अनुसार क्रमबद्ध करें",sortByPop:"जनसंख्या के अनुसार क्रमबद्ध करें",colLabel:{religion:"UUPG धर्म",prayer:"प्रार्थना स्थिति",engagement:"सहभागिता स्थिति",adoption:"गोद लेने की स्थिति",status:"स्थिति"},titleBar:{legend:"सूचकांक",peopleGroups:"जनसमूह",wagfRegions:"WAGF क्षेत्र",languages:"भाषाएँ"},tabInfo:{upg100Region:"क्षेत्र — UPG-100 सूचियों को विश्व क्षेत्र के अनुसार क्रमित करता है (अफ़्रीका, भारत, मध्य पूर्व, बधिर, …)। संख्याएँ उसके नीचे की हर सूची के UUPG और जनसंख्या का योग हैं।",upg100Zone:"UPG-100 सूचियाँ — हर एक किसी क्षेत्र के अनपहुँचे जनसमूहों की प्रार्थना सूची है, और यही मानचित्र बनाता और रंगता है। हर सूची अपने अलग पैकेट के रूप में छपती है।",upg100Group:"जनसमूह — किसी सूची के भीतर के अलग-अलग अनपहुँचे समूह, सबसे बड़ी प्रार्थना आवश्यकता पहले। मानचित्र का हर बिंदु इनमें से एक है।",family:"भाषा परिवार — एक साझा पूर्वज से निकली भाषाओं का समूह (जैसे भारोपीय, अफ़्रो-एशियाई)।",language:"भाषा — किसी जनसमूह द्वारा प्रयुक्त संप्रेषण की प्रणाली (जैसे अरबी, बांग्ला, हिन्दी)।",dialect:"बोली/रूप — किसी भाषा का क्षेत्रीय या सामाजिक रूप (जैसे सूडानी अरबी; पाकिस्तानी सांकेतिक भाषा)।",bloc:"समानता समूह — सबसे व्यापक वर्गीकरण, सांस्कृतिक, भाषाई और भौगोलिक निकटता के आधार पर (जैसे मलय जन, दक्षिण एशियाई जन, बधिर, अरब जगत)।",cluster:"क्लस्टर — समूह के भीतर अधिक सूक्ष्म वर्गीकरण (जैसे मलय जन के भीतर बोर्नियो-कालीमंतान)। पंक्तियों पर «(क्लस्टर)» अंकित है, ताकि उन्हें जनसमूहों से अलग पहचाना जा सके।",group:"जनसमूह — देश से स्वतंत्र, अपने आप में एक नृजातीय-भाषाई पहचान। पंक्तियों पर «(जनसमूह)» अंकित है। एक ही जनसमूह कई देशों में रह सकता है (जैसे बधिर, सौ से अधिक देशों में)।",pgic:"देश में जनसमूह — प्रत्येक जनसमूह के लिए, वह जिस-जिस देश में रहता है, एक पंक्ति (जैसे «अबाई सुंगाई, मलेशिया»)। पंक्तियों पर «(देश में जनसमूह)» अंकित है।",region:"WAGF क्षेत्र — वह वृहत् क्षेत्र जिससे कोई देश संबंधित है (जैसे एशिया, अफ़्रीका)। मानचित्र पर हर एक का अपना रंग है।",block:"WAGF ब्लॉक — क्षेत्र के भीतर का उप-वर्ग (जैसे दक्षिण-पूर्व एशिया, पश्चिम अफ़्रीका)।",country:"देश — अलग-अलग देश, अपने ब्लॉक के भीतर अनछुई जनसंख्या के क्रम में।"},a11y:{expandRow:"{label} का विस्तार करें",collapseRow:"{label} को छोटा करें",clearSelection:"चयन हटाएँ",goUp:"ऊपर जाएँ: {label}"},export:{poster:"पोस्टर",packet:"UPG 100",packetExplain:"लगभग 50 से 100 अनपहुँचे जनसमूहों की एक प्रार्थना सूची — एक व्यक्ति एक ले सकता है।",packetAria:"प्रार्थना पैकेट विवरण",packetFull:"पूर्ण विवरण",packetLightweight:"संक्षिप्त"},noDataAtThisLevel:"इस स्तर पर कोई डेटा नहीं",exportButton:"निर्यात",exportSelection:"चयन निर्यात करें",loadingRows:"{label} लोड हो रहे हैं…",loadingData:"डेटा लोड हो रहा है…",showingTop:"{m} में से शीर्ष {n} दिखाए जा रहे हैं",useGeocoderHint:"बाकी खोजने के लिए ऊपर दिए गए खोज बॉक्स का उपयोग करें",noList:"कोई सूची लोड नहीं हुई।"},"./locales/hi/lists.json":{doxa:{label:"प्रोजेक्ट 2000: DOXA के जनसमूह",definition:"वे जनसमूह जिनकी DOXA सेवा करता है, जैसे उसकी लाइव सूची उन्हें देती है"},unreached:{label:"प्रोजेक्ट 7000: अपहुँचे जनसमूह",definition:"IMB लॉस्टनेस प्राथमिकता 0–2 (फ़्रंटियर, पायनियर या एक्सपैंडिंग अपहुँचे: 2% से कम इवेंजेलिकल)"},frontier:{label:"प्रोजेक्ट 4700: फ़्रंटियर जनसमूह",definition:"IMB लॉस्टनेस प्राथमिकता 0 (फ़्रंटियर अपहुँचे: 0.1% या उससे कम इवेंजेलिकल)"},"frontier-500k":{label:"प्रोजेक्ट 700: 5,00,000 या उससे अधिक के फ़्रंटियर जनसमूह",definition:"IMB लॉस्टनेस प्राथमिकता 0 और कम से कम 5,00,000 की जनसंख्या"},unengaged:{label:"अपहुँचे और असंलग्न जनसमूह",definition:"IMB लॉस्टनेस प्राथमिकता 0–2 और संलग्नता स्थिति: असंलग्न"}},"./locales/hi/mapui.json":{map:"मानचित्र",marker:"मानचित्र चिह्न",closePopup:"पॉपअप बंद करें",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",resetBearing:"मानचित्र घुमाने के लिए खींचें, उत्तर पर लौटने के लिए क्लिक करें",toggleAttribution:"श्रेय दिखाएँ/छिपाएँ",mapFeedback:"मानचित्र पर प्रतिक्रिया",enterFullscreen:"पूर्ण स्क्रीन",exitFullscreen:"पूर्ण स्क्रीन से बाहर निकलें",findMyLocation:"मेरा स्थान खोजें",locationNotAvailable:"स्थान उपलब्ध नहीं",enableGlobe:"ग्लोब चालू करें",disableGlobe:"ग्लोब बंद करें",ctrlScroll:"मानचित्र ज़ूम करने के लिए Ctrl + स्क्रॉल करें",cmdScroll:"मानचित्र ज़ूम करने के लिए ⌘ + स्क्रॉल करें",twoFingers:"मानचित्र हिलाने के लिए दो उँगलियों का उपयोग करें",mapboxHomepage:"Mapbox मुखपृष्ठ",maplibreLogo:"MapLibre लोगो"},"./locales/hi/messages.json":{menuComingSoon:"मेनू शीघ्र आ रहा है",pinHint:{tapDot:"किसी रंगीन बिंदु पर टैप करें — किसी को अभी भी प्रार्थना की आवश्यकता है"},upg100WallHeading:"मेरी UPG 100 सूची — प्रार्थना सूचियाँ और पोस्टर",upg100WallTag:"प्रार्थना संग्रहण",upg100WallIntroA:"पाँच हज़ार की भीड़ को आप कैसे खिलाते? यीशु ने उन्हें पचास-पचास और सौ-सौ के समूहों में बिठाया, और असंभव बाँटने योग्य हो गया (लूका 9:14). हमने 2,106 अनपहुँचे जनसमूहों के साथ वही किया: लगभग पचास से सौ तक की 27 सूचियाँ. हर सूची प्रार्थना पैकेट और पोस्टर के रूप में छपती है, ताकि 27 शिष्य, कलीसियाएँ या स्थानीय अगुवे एक-एक ले सकें — उनके लिए प्रार्थना करते हुए ",upg100WallIntroEmph:"उनके जन के नाम से",upg100WallIntroB:".",loadingNamed:"{name} लोड हो रहा है…",couldNotLoadNamed:"{name} लोड नहीं हो सका।",engineMissing:"{engine} नक्शा इंजन लोड नहीं हुआ।",packetFailed:"पुस्तिका विफल: {reason}",selectionPacketFailed:"चयन की पुस्तिका विफल: {reason}",posterOneTerritory:"पोस्टर एक समय में एक क्षेत्र छापता है — {count} चयनित।",selectionPosterFailed:"चयन का पोस्टर विफल: {reason}",mapUnavailable:"मानचित्र अनुपलब्ध",copied:"कॉपी हो गया!",copyFailed:"कॉपी विफल — Ctrl/Cmd-C दबाएँ",engineNotLoaded:"मानचित्र इंजन लोड नहीं हुआ",engineNotLoadedDetail:"{engine} मानचित्र इंजन लोड नहीं हुआ। सूची और लेजेंड अप्रभावित हैं।",viewLoadFailed:"यह दृश्य लोड नहीं हो सका।",retry:"फिर से कोशिश करें",noMapboxToken:"कोई Mapbox टोकन नहीं",noMapboxTokenDetail:"कोई Mapbox टोकन कॉन्फ़िगर नहीं है। सूची और लेजेंड पर कोई असर नहीं है।",loadingBoundaries:"सीमाएँ लोड हो रही हैं…",fetchingUupgs:"{n} UUPG लाए जा रहे हैं…",mapStatusCounts:"क्षेत्र: {polys} · ज़ोन: {zones}/{total} · पिन: {pins}",tapTerritoriesHint:"जोड़ने के लिए मानचित्र पर क्षेत्रों या लेजेंड की पंक्तियों पर टैप करें · हटाने के लिए फिर से टैप करें",territoriesSelected:"क्षेत्र: {count}",bandInRange:"✓ 50–100 दायरा",bandOutOfRange:"50–100 दायरा",mapContextLost:"ग्राफ़िक्स मेमोरी खाली करने के लिए यह मानचित्र अनलोड कर दिया गया।",nOfTotal:"{total} में से {n}",mapInitFailed:"मानचित्र आरंभ नहीं हो सका — टोकन और कंटेनर जाँचें",countryWallIntroA:"हर देश के लिए एक पोस्टर — प्रार्थना करने, छापने और दीवार पर लगाने के लिए तैयार, और उनके लिए प्रार्थना करते हुए ",countryWallIntroB:". क्षेत्र और देश इस क्रम में हैं कि उनमें कितने अनपहुँचे जनसमूह हैं, ताकि सबसे बड़ी ज़रूरत पहले आए।",countryWallSoon:"जल्द ही: हर देश के लिए एक प्रार्थना सूची बनाई जाएगी, जिसमें उसके हर अनपहुँचे जनसमूह का नाम होगा।",countryWallHeading:"देश पोस्टर — प्रार्थना सूचियाँ और पोस्टर",largerScreenNotice:"यह प्रायोगिक नक्शा बड़ी स्क्रीन के लिए बना है। यह यहाँ खुलता है, पर फ़ोन पर इसके कुछ हिस्से ठीक से न दिखें या न चलें।",desktopOnlyNotice:"{label} केवल डेस्कटॉप पर चलता है — इसे इस्तेमाल करने के लिए यह पेज कंप्यूटर पर खोलें।",noticeDismiss:"बंद करें",countryPosterTooMany:"एक पोस्टर पर साफ़-साफ़ आने के लिए जनसमूह बहुत अधिक हैं — समाधान पर काम चल रहा है।"},"./locales/hi/pins.json":{approximate:"बिंदु दिखाता है कि यह लोग कहाँ पाए जाते हैं, कोई शहर या सीमा नहीं।",sharedPoint:"यह {names} के साथ एक ही बिंदु पर है — {n} समूह यह निर्देशांक साझा करते हैं, इसलिए स्थान क्षेत्र बताता है, यह नहीं कि कौन-सा समूह कहाँ है।"},"./locales/hi/popup.json":{country:{wagfRegion:"WAGF क्षेत्र",wagfBlock:"WAGF ब्लॉक",country:"देश",uupgCount:"UUPG संख्या"}},"./locales/hi/religion.json":{family:{Christianity:"ईसाई धर्म",Islam:"इस्लाम",Hinduism:"हिंदू धर्म",Buddhism:"बौद्ध धर्म",Ethnoreligion:"जातीय धर्म",Judaism:"यहूदी धर्म",Sikhism:"सिख धर्म",Unaffiliated:"असंबद्ध",Other:"अन्य",Unknown:"अज्ञात"}},"./locales/hi/search.json":{placeholder:"लोग, स्थान, भाषा, धर्म",placeholderNoPlaces:"लोग, भाषा, धर्म (स्थान खोज के लिए Mapbox टोकन चाहिए)",labels:{people:"लोग:",place:"स्थान:",language:"भाषा:",religion:"धर्म:"},sections:{within:"{selection} के भीतर",allData:"सभी DOXA डेटा"},kinds:{people:"जनसमूह + देश",peopleGroup:"जनसमूह",bloc:"समानता समूह",cluster:"जनसमूह क्लस्टर",country:"देश",region:"क्षेत्र",family:"भाषा परिवार",languageKind:"भाषा",dialect:"बोली",religionKind:"धर्म"},upg100Placeholder:"जनसमूह, UPG-100 सूची या क्षेत्र खोजें…",tabPlaceholder:{languageFamilies:"भाषा परिवार, भाषा, बोली/रूप खोजें",affinityBlocks:"समानता समूह, क्लस्टर, जनसमूह खोजें",regions:"क्षेत्र, देश, जनसमूह खोजें",religion:"धर्म, जनसमूह खोजें"},placeholderRegions:"क्षेत्र, देश या जनसमूह खोजें"},"./locales/hi/share.json":{embed_link:"एम्बेड लिंक",add_to_website:"अपनी वेबसाइट में जोड़ें",embed_paste_hint:"इस कोड को अपने वेबसाइट बिल्डर में पेस्ट करें (WordPress, Squarespace, Wix, या कोई भी साइट जो HTML विजेट स्वीकार करती है)।"},"./locales/hi/tabs.json":{prayer:"प्रार्थना",adoption:"गोद लेना",engagement:"सहभागिता","affinity-blocks":"जनसमूह",regions:"क्षेत्र",countries:"देश","language-families":"भाषाएँ",religion:"धर्म",family:"भाषा परिवार",language:"भाषा",dialect:"बोली/रूप",bloc:"समानता समूह",cluster:"क्लस्टर",group:"जनसमूह",pgic:"देश में जनसमूह",region:"WAGF क्षेत्र",block:"WAGF ब्लॉक",country:"देश",upg100Region:"क्षेत्र",upg100Zone:"UPG-100 सूचियाँ",upg100Group:"जनसमूह",selectView:"दृश्य चुनें",views:"दृश्य",prayerResources:"प्रार्थना संसाधन",map:"मानचित्र",countryPosters:"देश पोस्टर"},"./locales/hi/wall.json":{title:"जनसमूहों की दीवार",toPortrait:"📱 खड़े रूप में बदलें",toLandscape:"🖼️ आड़े रूप में बदलें",currentLandscape:"वर्तमान: आड़ा (4 × 3 फ़ुट)",currentPortrait:"वर्तमान: खड़ा (3 × 4 फ़ुट)",resetZoom:"ज़ूम रीसेट करें",groupsLoaded:"लोड हुए: {n}",loading:"जनसमूह लोड हो रहे हैं…",offlineTitle:"लाइव प्रार्थना डेटा तक नहीं पहुँचा जा सका।",offlineBody:"दीवार अपने जनसमूह pray.doxa.life से पढ़ती है। हो सकता है आप ऑफ़लाइन हों, या स्थानीय डेवलपमेंट सर्वर पर API इस पेज के पते की अनुमति न दे।",tryAgain:"फिर से कोशिश करें",prayedCount:"प्रार्थना की: {n}",viewPrayers:"प्रार्थनाएँ देखें",prayerTools:"प्रार्थना उपकरण",close:"बंद करें",unknown:"अज्ञात",unknownGroup:"अज्ञात जनसमूह",status:"स्थिति:",unengaged:"अपहुँचा",prayingNow:"क्या आप अभी इस जनसमूह के लिए प्रार्थना कर रहे हैं?",yesPraying:"हाँ, मैं प्रार्थना कर रहा हूँ",thankYou:"प्रार्थना के लिए धन्यवाद!",sharePrayer:"अपनी प्रार्थना साझा करें (वैकल्पिक)",prayerPlaceholder:"अपनी प्रार्थना यहाँ लिखें…",sendPrayer:"प्रार्थना भेजें",peopleGroup:"जनसमूह",chatsTitle:"जनसमूह चर्चा",id:"ID:",location:"स्थान:",na:"उपलब्ध नहीं",havePrayed:"प्रार्थना की: {n}",youPrayed:"✓ आपने प्रार्थना की!",prayForGroup:"🙏 इस जनसमूह के लिए प्रार्थना करें",prayersComments:"प्रार्थनाएँ और टिप्पणियाँ",noComments:"अभी कोई प्रार्थना या टिप्पणी नहीं। पहले बनें!",commentPlaceholder:"अपनी प्रार्थना या विचार साझा करें…",postComment:"टिप्पणी पोस्ट करें",noPeopleId:"इस जनसमूह के पास PeopleID3 नहीं है",statusUnknown:"स्थिति अज्ञात",printPoster:"🖨️ HD पोस्टर छापें",printPreparing:"पोस्टर तैयार हो रहा है: {total} में से {n} फ़ोटो",printMissing:"जो फ़ोटो लोड नहीं हो सकीं: {n}। वे धूसर बॉक्स के रूप में छपेंगी।",blessBanner:"यीशु के नाम में राष्ट्रों को आशीष दो",modeLabel:"दीवार का मोड",modeBless:"आशीष",modeSocial:"सामाजिक",shareSoon:"साझा करने की सुविधा बाद में आएगी।",drawLibError:"दीवार अपनी ड्रॉइंग लाइब्रेरी लोड नहीं कर सकी:",posterSize:"पोस्टर का आकार",posterSubtitle:"DOXA (δόξα) का अर्थ है महिमा। एक वैश्विक प्रार्थना आंदोलन यीशु के नाम में इन {n} जन-समूहों को आशीष दे रहा है। अधिक जानें और जुड़ें: pray.doxa.life।",glueHere:"ऊपर वाली शीट यहाँ चिपकाएँ",themesLabel:"प्रार्थना के विषय",oldTestament:"पुराना नियम",newTestament:"नया नियम",themeTreasure:"ख़ज़ाना",themeMountain:"पहाड़",themeSea:"समुद्र",posterClosing:"यीशु मसीह कोने का पत्थर है, और हम जीवित पत्थर हैं। ये जन-समूह उसके दुःख का प्रतिफल हैं। आइए अपनी याजकीय बुलाहट उठाएँ: उसके नाम में उन्हें आशीष दें, और प्रार्थना में विश्व-परिवार से जुड़ें।",journeyCalled:"बुलाहट",journeyPromised:"प्रतिज्ञा",journeyRedeemed:"छुड़ाए गए",journeyCornerstone:"कोने का पत्थर",journeyChildren:"अब्राहम की संतान",journeyPriesthood:"राज-पदधारी याजक",journeySent:"खोए हुओं के पास भेजे गए",peopleGroupCount:"{n} जनसमूह | {n} जनसमूह",listCount:"{n} सूची | {n} सूचियाँ",stockCard:"कार्ड",stockPostcard:"पोस्टकार्ड",stockLandscape:"लैंडस्केप",hud:{kindPoster:"पोस्टर",kindList:"सूची",kindPacket:"प्रार्थना पैकेट",fetchingPoster:"पोस्टर लाया जा रहा है",generatingPoster:"पोस्टर बनाया जा रहा है",openingPrint:"प्रिंट विंडो खुल रही है",printOpened:"प्रिंट विंडो खुल गई",saving:"सहेजा जा रहा है",fetchingRecords:"डेटा लाया जा रहा है",fetchingGroups:"जनसमूह लाए जा रहे हैं",layingOutRows:"{n} पंक्ति सजाई जा रही है | {n} पंक्तियाँ सजाई जा रही हैं",layingOutCards:"{n} कार्ड सजाया जा रहा है | {n} कार्ड सजाए जा रहे हैं",printingGroups:"{n} जनसमूह छापा जा रहा है | {n} जनसमूह छापे जा रहे हैं",kindCardDeck:"कार्ड सेट",kindPrayerList:"प्रार्थना सूची",saved:"सहेजा गया",noRecords:"इस सूची में छापने के लिए कोई जनसमूह नहीं है",noPoster:"इस सूची के लिए कोई पोस्टर उपलब्ध नहीं है",posterNotFound:"पोस्टर नहीं मिला ({status})",posterBlank:"बनाया गया पोस्टर खाली निकला",noApi:"कोई जनसमूह सेवा कॉन्फ़िगर नहीं है",fetchFailed:"जनसमूह लोड नहीं हो सके ({status})"},posterAlt:"{label} — प्रार्थना पोस्टर",posterAltAction:"{label} — प्रार्थना पोस्टर (देखने और छापने के लिए क्लिक करें)"},"./locales/it/allPeopleGroups.json":{title:"Tutti i gruppi etnici",locations:"{n} località (gruppo × paese)",doxa:"Gruppi etnici DOXA",frontier:"Frontiera — non è iniziato nulla",unreached:"Non raggiunti — il lavoro inizia",reached:"Raggiunti — la chiesa c’è",hint:"Fai clic su una riga per vederli tutti · di nuovo per vedere tutto",loading:"Caricamento di tutti i gruppi etnici…",loadError:"Impossibile caricare la mappa.",pray:"Prega per loro →",population:"pop. {n}"},"./locales/it/aria.json":{backToLegend:"Torna alla legenda",closeDetailView:"Chiudi vista dettaglio",collapseLegend:"Comprimi la legenda",expandLegend:"Espandi la legenda",toggleLegend:"Mostra o nascondi la legenda",searchPeopleGroups:"Cerca popoli",resetAllFilters:"Reimposta tutti i filtri e la ricerca",selectAllRows:"Seleziona tutte le righe",deselectAllRows:"Deseleziona tutte le righe",rowDetail:"Dettaglio riga",dismissHint:"Ignora il suggerimento",resizeFiltersRail:"Ridimensiona la barra dei filtri",resizeFiltersRailHint:"Trascina o usa i tasti freccia per ridimensionare la barra dei filtri",resizeChartsRail:"Ridimensiona la barra dei grafici",resizeChartsRailHint:"Trascina o usa i tasti freccia per ridimensionare la barra dei grafici",resizeMapTableSplit:"Ridimensiona la divisione mappa/tabella",resizeMapTableSplitHint:"Trascina o usa i tasti freccia per ridimensionare la divisione mappa/tabella",resizeTable:"Ridimensiona l'altezza della tabella",resizeTableHint:"Trascina o usa i tasti freccia per ridimensionare la tabella",resizeDashboardHeight:"Ridimensiona l'altezza della dashboard",resizeDashboardHeightHint:"Trascina o usa i tasti freccia per ridimensionare l'altezza della dashboard",removeFilter:"Rimuovi il filtro {name}",closeDetail:"Chiudi il dettaglio",filterBreadcrumb:"Percorso dei filtri",railViews:"Viste della barra",upgCountLegend:"Legenda del conteggio UPG",donutChart:"Grafico ad anello: {title}"},"./locales/it/buttons.json":{prayForThem:"Prega per loro",adoptThem:"Adottali",moreInfo:"Più informazioni",zoomIn:"Ingrandisci",zoomOut:"Riduci",switchToLightMode:"Passa alla modalità chiara",switchToDarkMode:"Passa alla modalità scura",resetView:"Reimposta vista",toggleFullscreen:"Attiva/disattiva schermo intero",aboutThisMap:"Informazioni su questa mappa",closeMenu:"Chiudi menu",reloadMap:"Ricarica mappa",showClusters:"Mostra cluster",clusterSettings:"Impostazioni cluster",startAutoFly:"Avvia volo automatico",stopFlight:"Ferma volo",speedLabel:"Velocità:",speedOption:{slow:"Lenta",normal:"Normale",fast:"Veloce"},shareEmbed:"Condividi e incorpora",posterMap:"Mappa del poster",prayerList:"Lista di preghiera",cardDeck:"Mazzo di carte",printOptions:"Opzioni di stampa",showOnMap:"Mostra sulla mappa",close:"Chiudi",showOnMapAria:"Mostra {label} sulla mappa",cardStockAria:"Formato della scheda di preghiera",previewPrintPoster:"Anteprima e stampa del poster {label}",share:"Condividi",shareSteps:["Incorpora questa mappa nel tuo sito","Fai un elenco dei siti web della tua città","Insegna loro a incorporarla a loro volta","Insegna loro a formare altri a incorporarla","Moltiplichiamo le mappe ovunque per Gesù!"],clearSelection:"Cancella la selezione",noOptions:"Nessuna opzione trovata",renderingLocal:"Un’immagine con qualità di stampa viene generata nel tuo browser: nulla viene caricato.",postersPerRow:"Poster per riga",packetVariantAria:"Dettaglio del pacchetto di preghiera",packetFull:"Dettaglio completo",packetLightweight:"Leggero",working:"Elaborazione…",postersPerRowAuto:"Automatico"},"./locales/it/controls.json":{research_controls:"Controlli di ricerca",clustering:"Raggruppamento",filters:"Filtri",pin_dim:"Opacità dei punti",export_poster:"Esporta poster…",reload_data:"Ricarica i dati",off:"Disattivato",native:"Nativo",mst:"MST",network:"Rete",off_desc:"Mostra ogni punto singolarmente",native_desc:"Cluster circolari Mapbox (il più veloce)",mst_desc:"Reti di affinità ad albero ricoprente minimo",network_desc:"Linee verso il vicino più prossimo",search_languages:"Cerca lingue…",search_religions:"Cerca religioni…",reset_all:"Reimposta tutto",no_languages:"Nessuna lingua ancora caricata",no_religions:"Nessuna religione ancora caricata",unadopted:"Non adottato",min:"min",max:"max",adopted:"Adottato",adoption:"Adozione",engaged:"Coinvolto",engagement:"Impegno",unengaged:"Necessita impegno",language:"Lingua",religion:"Religione",population:"Popolazione",any:"Tutti",active_count:"{n} attivi",prayer_status:"Stato di preghiera",close:"Chiudi",clear:"Cancella",map_controls:"Controlli della mappa",clusters:"Cluster",mst_full_name:"Albero ricoprente minimo",mst_hint:"fai clic su una riga della legenda per raggruppare solo quel gruppo"},"./locales/it/dashboard.json":{bloc:"Blocco di affinità",gospel_access:"Accesso al vangelo",people:"Popoli",people_name:"Popolo (nome)",praying:"In preghiera",religion_family:"Famiglia religiosa",search_language:"Cerca lingua",search_people:"Cerca popolo",search_place:"Cerca luogo",search_religion:"Cerca religione",upgs_in_scope:"UPG nell’ambito",countries_touched:"paesi toccati",unreached:"non raggiunti",sum_population:"Σ popolazione",sum_praying:"Σ in preghiera",charts:"Grafici",table:"Tabella",cluster:"Cluster",country:"Paese",engagement:"Impegno",language:"Lingua",language_family:"Famiglia linguistica",people_group:"Popolo",population:"Popolazione",prayer:"Preghiera",region:"Regione",religion:"Religione",status:"Stato",adopted:"Adottato",filters:"Filtri",gospel_resources:"Risorse del Vangelo",map:"Mappa",search_placeholder:"Cerca popoli, luoghi, lingue, religioni…",any:"Tutti",active_count:"{n} attivi",prayer_status:"Stato di preghiera",map_controls:"Controlli della mappa",close:"Chiudi",clear:"Cancella",dashboard_title:"Cruscotto di ricerca generale",align_dashboard:"Allinea cruscotto",align_dashboard_tip:"Ripristina la disposizione predefinita del cruscotto",selected:"Selezionato",world:"Mondo",vertical_legend:"Legenda verticale",groups_in_scope:"popoli nell’ambito",filter_by:"Filtra per",remove_filter:"Rimuovi filtro",groups:"popoli",expand:"Espandi",collapse:"Comprimi",place:"Luogo",export_csv:"Esporta CSV",detail:"Dettaglio",detail_empty:"Seleziona un popolo per vedere il dettaglio",heartbeat_zone:"zona del battito",top_countries:"Paesi principali",select_all:"Seleziona tutto",expand_table:"Espandi tabella",collapse_table:"Comprimi tabella — ingrandisci la mappa",group:"popolo",deselect_all:"Deseleziona tutto",results_live:"{count} di {total} {unit} mostrati",filters_live:"Filtri: {list}",search_live:"Ricerca: {term}",adopted_by_churches:"Adottati dalle chiese",bp_title:"Quadro generale — dashboard di ricerca unificata",bp_subtitle:"Cerca e filtra i gruppi di persone del mondo · prima i meno raggiunti",export_selection:"Esporta questa selezione",map_loading:"Caricamento della mappa di ricerca…",no_match:"Nessun gruppo di persone corrisponde a “{q}”.",no_photo:"Nessuna foto",only_selected:"Solo i selezionati",only_selected_hint:"Mostra solo i gruppi di persone selezionati",people_committed:"Persone impegnate",people_praying:"Persone che pregano",selected_first:"Prima i selezionati",selected_first_hint:"Porta in alto i gruppi di persone selezionati, mantenendo l’ordinamento delle colonne",n_shown:"{n} mostrati",other:"Altri",wagfRegion:{africa:"Africa",asia:"Asia",europe:"Europa","latin_america_&_caribbean":"America Latina",oceania:"Oceania",middle_east:"Medio Oriente","north_america_&_non-spanish_caribbean":"Nord America e Caraibi non ispanici"},sort_by_column_hint:"Ordina questa tabella per {column}: Maiusc+clic aggiunge una seconda colonna. L’ordinamento riguarda solo la tabella; le schede mantengono il proprio ordine.",fs_exit_hint:"Esci da schermo intero (Esc) — torna a sette righe",fs_open_hint:"Apri questa tabella a schermo intero",fs_exit:"Esci da schermo intero",fs_open:"Apri la tabella a schermo intero",export_selected_hint:"Esporta tutti i campi — popoli selezionati: {n}",export_all_hint:"Esporta tutti i campi — popoli: {n}",map_init_failed:"La mappa non è riuscita ad avviarsi. Controlla il token di accesso e il contenitore della mappa.",show_filters:"Mostra i filtri",hide_filters:"Nascondi i filtri — ingrandisci la mappa",show_charts:"Mostra i grafici",hide_charts:"Nascondi i grafici — ingrandisci la mappa",export_copied:"copiato negli appunti",export_done:"esportato",export_ready:"pronto",export_toast:"✓ {rows} righe × {fields} campi {how}",export_failed:"✕ Esportazione non riuscita",pray_for_group:"Prega per questo popolo",more_information:"Maggiori informazioni",title:"Cruscotto di ricerca",gospel_pending:"Non ancora pronto: il numero dei non raggiunti, la chiave della fonte dati e la forma dell’interfaccia sono ancora da decidere."},"./locales/it/detail.json":{labels:{country:"Paese:",population:"Popolazione:",language:"Lingua:",religion:"Religione:",languageFamily:"Famiglia linguistica:",peopleCommitted:"Impegnati a pregare:"},messages:{noDescription:"Nessuna descrizione disponibile."}},"./locales/it/grid.json":{search:"Cerca popoli…",hide_filters:"Nascondi filtri",show_filters:"Mostra filtri",total:"Totale",showing:"Mostrati",load_more:"Carica altro",full_profile:"Profilo completo",wagf_region:"Regione",wagf_block:"Blocco di affinità",rop1:"Popolo",religion:"Religione",exact_filter:"Esatto",clear_all:"Cancella tutto",loading:"Caricamento…",no_results:"Nessun popolo corrisponde a questo filtro.",type_to_search:"Digita per cercare...",load_failed:"Impossibile caricare i dati dei popoli. È un problema di connessione, non del filtro.",search_people_or_countries:"Cerca popoli o paesi…",cards_per_row:"Schede per riga",cards_per_row_auto:"Automatico"},"./locales/it/legend.json":{title:{adoption:"Avanzamento dell'adozione",affinityBlocs:"Blocchi di affinità",doxaRegions:"Regioni Doxa",engagement:"Avanzamento dell'impegno",gospelResources:"Risorse del Vangelo",languageFamilies:"Famiglie linguistiche",prayer:"Avanzamento della preghiera",upg100List:"La mia lista UPG 100",batchSelect:"Selezione multipla"},header:{collapsed:"Legenda",peopleGroupFallback:"Gruppo di persone",default:"Legenda"},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",name:"Nome"},footer:{total:"Totale"},sortByUpgs:"Ordina per UUPG",sortByPop:"Ordina per popolazione",colLabel:{religion:"Religioni UUPG",prayer:"Stato della preghiera",engagement:"Stato dell'impegno",adoption:"Stato dell'adozione",status:"Stato"},titleBar:{legend:"Legenda",peopleGroups:"Popoli",wagfRegions:"Regioni WAGF",languages:"Lingue"},tabInfo:{upg100Region:"Regione — ordina le liste UPG-100 per area del mondo (Africa, India, Medio Oriente, Sordi, …). I totali sono gli UUPG e la popolazione sommati di ogni lista sottostante.",upg100Zone:"Liste UPG-100 — ognuna è una lista di preghiera dei gruppi etnici non raggiunti di un’area, ed è ciò che la mappa disegna e colora. Ogni lista si stampa come il proprio fascicolo.",upg100Group:"Gruppo etnico — i singoli gruppi non raggiunti dentro una lista, prima quelli con maggiore bisogno di preghiera. Ogni punto della mappa è uno di questi.",family:"Famiglia ling. — un insieme di lingue discese da un antenato comune (p. es. indoeuropea, afroasiatica).",language:"Lingua — un sistema di comunicazione usato da un popolo (p. es. arabo, bengalese, hindi).",dialect:"Dialetto/Variante — una forma regionale o sociale di una lingua (p. es. arabo sudanese; lingua dei segni pakistana).",bloc:"Blocco di affinità — il raggruppamento più ampio, per affinità culturale, linguistica e geografica (p. es. popoli malesi, popoli dell’Asia meridionale, sordi, mondo arabo).",cluster:"Cluster — un raggruppamento più fine all’interno di un blocco (p. es. Borneo-Kalimantan tra i popoli malesi). Le righe recano «(cluster)» per distinguerle dai popoli.",group:"Popolo — un’identità etnolinguistica in sé, indipendente dal paese. Le righe recano «(popolo)». Uno stesso popolo può vivere in molti paesi (i sordi, per esempio, in più di cento).",pgic:"Popolo nel paese — una riga per ogni popolo in ciascun paese in cui vive (p. es. «Abai Sungai, Malesia»). Le righe recano «(popolo nel paese)».",region:"Regione WAGF — la macroregione cui appartiene un paese (p. es. Asia, Africa). Ciascuna ha il proprio colore sulla mappa.",block:"Blocco WAGF — la suddivisione all’interno di una regione (p. es. Sud-est asiatico, Africa occidentale).",country:"Paese — i singoli paesi, ordinati per popolazione non raggiunta all’interno del loro blocco."},a11y:{expandRow:"Espandi {label}",collapseRow:"Comprimi {label}",clearSelection:"Cancella la selezione",goUp:"Sali a {label}"},export:{poster:"Manifesto",packet:"UPG 100",packetExplain:"Una lista di preghiera di circa 50-100 popoli non raggiunti: una persona può portarne una.",packetAria:"Dettaglio del pacchetto di preghiera",packetFull:"Dettaglio completo",packetLightweight:"Leggero"},noDataAtThisLevel:"Nessun dato a questo livello",exportButton:"Esporta",exportSelection:"Esporta la selezione",loadingRows:"Caricamento di {label}…",loadingData:"Caricamento dati…",showingTop:"Mostrati i primi {n} di {m}",useGeocoderHint:"usa la ricerca qui sopra per trovare gli altri",noList:"Nessun elenco caricato."},"./locales/it/lists.json":{doxa:{label:"Progetto 2000: i popoli di DOXA",definition:"I popoli che DOXA serve, come li fornisce la sua lista in tempo reale"},unreached:{label:"Progetto 7000: popoli non raggiunti",definition:"Priorità di perdizione IMB 0–2 (non raggiunti di frontiera, pionieri o in espansione: meno del 2% evangelici)"},frontier:{label:"Progetto 4700: popoli di frontiera",definition:"Priorità di perdizione IMB 0 (non raggiunti di frontiera: 0,1% evangelici o meno)"},"frontier-500k":{label:"Progetto 700: popoli di frontiera di 500.000 o più",definition:"Priorità di perdizione IMB 0 e una popolazione di almeno 500.000"},unengaged:{label:"Popoli non raggiunti e non coinvolti",definition:"Priorità di perdizione IMB 0–2 e stato di coinvolgimento: non coinvolto"}},"./locales/it/mapui.json":{map:"Mappa",marker:"Indicatore sulla mappa",closePopup:"Chiudi popup",zoomIn:"Ingrandisci",zoomOut:"Riduci",resetBearing:"Trascina per ruotare la mappa, fai clic per tornare al nord",toggleAttribution:"Mostra/nascondi attribuzione",mapFeedback:"Feedback sulla mappa",enterFullscreen:"Schermo intero",exitFullscreen:"Esci da schermo intero",findMyLocation:"Trova la mia posizione",locationNotAvailable:"Posizione non disponibile",enableGlobe:"Attiva globo",disableGlobe:"Disattiva globo",ctrlScroll:"Usa Ctrl + scorrimento per ingrandire la mappa",cmdScroll:"Usa ⌘ + scorrimento per ingrandire la mappa",twoFingers:"Usa due dita per spostare la mappa",mapboxHomepage:"Home page di Mapbox",maplibreLogo:"Logo di MapLibre"},"./locales/it/messages.json":{menuComingSoon:"Menu in arrivo",pinHint:{tapDot:"Tocca un punto colorato — qualcuno ha ancora bisogno di preghiera"},upg100WallHeading:"La mia lista UPG 100 — Liste di preghiera e manifesti",upg100WallTag:"Mobilitazione alla preghiera",upg100WallIntroA:"Come sfameresti una folla di cinquemila? Gesù li fece sedere a gruppi di cinquanta e di cento, e l’impossibile divenne condivisibile (Luca 9:14). Abbiamo fatto lo stesso con i 2.106 popoli non raggiunti: 27 liste di circa cinquanta-cento. Ogni lista si stampa come pacchetto di preghiera e manifesto, così 27 discepoli, chiese o responsabili locali ne portano una ciascuno — pregando per loro ",upg100WallIntroEmph:"con il nome del loro popolo",upg100WallIntroB:".",loadingNamed:"Caricamento di {name}…",couldNotLoadNamed:"Impossibile caricare {name}.",engineMissing:"Il motore di mappa {engine} non è stato caricato.",packetFailed:"Libretto non riuscito: {reason}",selectionPacketFailed:"Libretto della selezione non riuscito: {reason}",posterOneTerritory:"Il manifesto stampa un territorio alla volta — {count} selezionati.",selectionPosterFailed:"Manifesto della selezione non riuscito: {reason}",mapUnavailable:"Mappa non disponibile",copied:"Copiato!",copyFailed:"Copia non riuscita — premi Ctrl/Cmd-C",engineNotLoaded:"motore di mappe non caricato",engineNotLoadedDetail:"Il motore di mappe {engine} non si è caricato. L’elenco e la legenda non sono interessati.",viewLoadFailed:"Impossibile caricare questa vista.",retry:"Riprova",noMapboxToken:"Nessun token Mapbox",noMapboxTokenDetail:"Nessun token Mapbox configurato. L’elenco e la legenda non sono interessati.",loadingBoundaries:"Caricamento dei confini…",fetchingUupgs:"Recupero di {n} UUPG…",mapStatusCounts:"Aree: {polys} · zone: {zones}/{total} · segnaposto: {pins}",tapTerritoriesHint:"Tocca i territori sulla mappa o le righe della legenda per aggiungerli · tocca di nuovo per rimuoverli",territoriesSelected:"Territori: {count}",bandInRange:"✓ fascia 50–100",bandOutOfRange:"fascia 50–100",mapContextLost:"Questa mappa è stata scaricata per liberare memoria grafica.",nOfTotal:"{n} su {total}",mapInitFailed:"Impossibile inizializzare la mappa — controlla il token e il contenitore",countryWallIntroA:"Un poster per paese, pronto da pregare, stampare e appendere al muro — pregando per loro ",countryWallIntroB:". Regioni e paesi sono ordinati in base a quanti popoli non raggiunti contengono, perché il bisogno più grande venga per primo.",countryWallSoon:"Prossimamente: per ogni paese verrà generata una lista di preghiera con il nome di ogni popolo non raggiunto che vi abita.",countryWallHeading:"Poster per paese — Liste di preghiera e manifesti",largerScreenNotice:"Questa mappa sperimentale è pensata per schermi grandi. Si apre qui, ma alcune parti potrebbero non entrare o non funzionare bene su un telefono.",desktopOnlyNotice:"{label} funziona solo su desktop: apri questa pagina da un computer per usarlo.",noticeDismiss:"Chiudi",countryPosterTooMany:"Troppi popoli per stare in modo leggibile su un solo manifesto: una soluzione è in arrivo."},"./locales/it/pins.json":{approximate:"Il punto indica dove si trova questo popolo, non una città né un confine.",sharedPoint:"Si trova nello stesso punto di {names} — {n} gruppi condividono questa coordinata, quindi la posizione indica la zona e non dove si trova ciascun gruppo."},"./locales/it/popup.json":{country:{wagfRegion:"Regione WAGF",wagfBlock:"Blocco WAGF",country:"Paese",uupgCount:"Numero di UUPG"}},"./locales/it/religion.json":{family:{Christianity:"Cristianesimo",Islam:"Islam",Hinduism:"Induismo",Buddhism:"Buddhismo",Ethnoreligion:"Etnoreligione",Judaism:"Ebraismo",Sikhism:"Sikhismo",Unaffiliated:"Senza affiliazione",Other:"Altro",Unknown:"Sconosciuta"}},"./locales/it/search.json":{placeholder:"Popolo, luogo, lingua, religione",placeholderNoPlaces:"Popolo, lingua, religione (la ricerca di luoghi richiede un token Mapbox)",labels:{people:"Popolo:",place:"Luogo:",language:"Lingua:",religion:"Religione:"},sections:{within:"In {selection}",allData:"Tutti i dati DOXA"},kinds:{people:"Popolo + paese",peopleGroup:"Popolo",bloc:"Blocco di affinità",cluster:"Cluster di popoli",country:"Paese",region:"Regione",family:"Famiglia linguistica",languageKind:"Lingua",dialect:"Dialetto",religionKind:"Religione"},upg100Placeholder:"Cerca popolo, elenco UPG-100 o regione…",tabPlaceholder:{languageFamilies:"Cerca famiglia linguistica, lingua, dialetto/variante",affinityBlocks:"Cerca blocco di affinità, cluster, popolo",regions:"Cerca regione, paese, popolo",religion:"Cerca religione, popolo"},placeholderRegions:"Cerca regione, paese o popolo"},"./locales/it/share.json":{embed_link:"Link di incorporamento",add_to_website:"Aggiungi al tuo sito web",embed_paste_hint:"Incolla questo codice nel tuo costruttore di siti web (WordPress, Squarespace, Wix o qualsiasi sito che accetti widget HTML)."},"./locales/it/tabs.json":{prayer:"Preghiera",adoption:"Adozione",engagement:"Impegno","affinity-blocks":"Popoli",regions:"Regioni",countries:"Paesi","language-families":"Lingue",religion:"Religioni",family:"Famiglia ling.",language:"Lingua",dialect:"Dialetto/Variante",bloc:"Blocco di affinità",cluster:"Cluster",group:"Popolo",pgic:"Popolo nel paese",region:"Regione WAGF",block:"Blocco WAGF",country:"Paese",upg100Region:"Regione",upg100Zone:"Liste UPG-100",upg100Group:"Gruppo etnico",selectView:"Seleziona vista",views:"Viste",prayerResources:"Risorse di preghiera",map:"Mappa",countryPosters:"Poster per paese"},"./locales/it/wall.json":{title:"Muro dei popoli",toPortrait:"📱 Passa a verticale",toLandscape:"🖼️ Passa a orizzontale",currentLandscape:"Attuale: orizzontale (4 × 3 piedi)",currentPortrait:"Attuale: verticale (3 × 4 piedi)",resetZoom:"Reimposta zoom",groupsLoaded:"Caricati: {n}",loading:"Caricamento dei popoli…",offlineTitle:"Impossibile raggiungere i dati di preghiera in tempo reale.",offlineBody:"Il muro legge i suoi popoli da pray.doxa.life. Potresti essere offline oppure, su un server di sviluppo locale, l’API potrebbe non consentire l’indirizzo di questa pagina.",tryAgain:"Riprova",prayedCount:"Hanno pregato: {n}",viewPrayers:"Vedi preghiere",prayerTools:"Strumenti di preghiera",close:"Chiudi",unknown:"Sconosciuto",unknownGroup:"Popolo sconosciuto",status:"Stato:",unengaged:"non raggiunto",prayingNow:"Stai pregando ora per questo popolo?",yesPraying:"Sì, sto pregando",thankYou:"Grazie per la preghiera!",sharePrayer:"Condividi la tua preghiera (facoltativo)",prayerPlaceholder:"Scrivi qui la tua preghiera…",sendPrayer:"Invia preghiera",peopleGroup:"Popolo",chatsTitle:"Chat del popolo",id:"ID:",location:"Luogo:",na:"N/D",havePrayed:"Hanno pregato: {n}",youPrayed:"✓ Hai pregato!",prayForGroup:"🙏 Prega per questo popolo",prayersComments:"Preghiere e commenti",noComments:"Ancora nessuna preghiera o commento. Sii il primo!",commentPlaceholder:"Condividi la tua preghiera o i tuoi pensieri…",postComment:"Pubblica commento",noPeopleId:"Questo popolo non ha un PeopleID3",statusUnknown:"Stato sconosciuto",printPoster:"🖨️ Stampa poster HD",printPreparing:"Preparazione del poster: {n} di {total} foto",printMissing:"Foto che non è stato possibile caricare: {n}. Vengono stampate come riquadri grigi.",blessBanner:"Benedite le nazioni nel nome di Gesù",modeLabel:"Modalità del muro",modeBless:"Benedire",modeSocial:"Social",shareSoon:"La condivisione arriverà più avanti.",drawLibError:"Il muro non è riuscito a caricare la sua libreria di disegno:",posterSize:"Dimensione del poster",posterSubtitle:"DOXA (δόξα) significa gloria. Un movimento mondiale di preghiera sta benedicendo questi {n} gruppi etnici nel nome di Gesù. Scopri di più e unisciti su pray.doxa.life.",glueHere:"incolla qui il foglio sopra",themesLabel:"Temi di preghiera",oldTestament:"Antico Testamento",newTestament:"Nuovo Testamento",themeTreasure:"Tesoro",themeMountain:"Monte",themeSea:"Mare",posterClosing:"Gesù Cristo è la pietra angolare, e noi siamo pietre viventi. Questi popoli sono la ricompensa della sua sofferenza. Accogliamo la nostra chiamata sacerdotale: benediciamoli nel suo nome e uniamoci alla famiglia mondiale in preghiera.",journeyCalled:"La chiamata",journeyPromised:"La promessa",journeyRedeemed:"Redenti",journeyCornerstone:"La pietra angolare",journeyChildren:"Figli di Abraamo",journeyPriesthood:"Un sacerdozio regale",journeySent:"Mandati ai perduti",peopleGroupCount:"{n} popolo | {n} di popoli | {n} popoli",listCount:"{n} lista | {n} di liste | {n} liste",stockCard:"Carta",stockPostcard:"Cartolina",stockLandscape:"orizzontale",hud:{kindPoster:"Poster",kindList:"Lista",kindPacket:"Pacchetto di preghiera",fetchingPoster:"recupero del poster",generatingPoster:"generazione del poster",openingPrint:"apertura della finestra di stampa",printOpened:"finestra di stampa aperta",saving:"salvataggio",fetchingRecords:"recupero dei dati",fetchingGroups:"recupero dei popoli",layingOutRows:"impaginazione di {n} riga | impaginazione di {n} di righe | impaginazione di {n} righe",layingOutCards:"impaginazione di {n} carta | impaginazione di {n} di carte | impaginazione di {n} carte",printingGroups:"stampa di {n} popolo | stampa di {n} di popoli | stampa di {n} popoli",kindCardDeck:"Mazzo di carte",kindPrayerList:"Lista di preghiera",saved:"salvato",noRecords:"quell’elenco non ha popoli da stampare",noPoster:"nessun manifesto disponibile per questo elenco",posterNotFound:"manifesto non trovato ({status})",posterBlank:"il manifesto generato è risultato vuoto",noApi:"nessun servizio dei popoli è configurato",fetchFailed:"impossibile caricare i popoli ({status})"},posterAlt:"{label} — poster di preghiera",posterAltAction:"{label} — poster di preghiera (fai clic per vedere e stampare)"},"./locales/pt/allPeopleGroups.json":{title:"Todos os grupos étnicos",locations:"{n} locais (grupo × país)",doxa:"Grupos étnicos da DOXA",frontier:"Fronteira — nada iniciado",unreached:"Não alcançados — o trabalho começa",reached:"Alcançados — a igreja está lá",hint:"Clique em uma linha para ver todos · clique de novo para ver tudo",loading:"Carregando todos os grupos étnicos…",loadError:"Não foi possível carregar o mapa.",pray:"Ore por eles →",population:"pop. {n}"},"./locales/pt/aria.json":{backToLegend:"Voltar à legenda",closeDetailView:"Fechar vista de detalhe",collapseLegend:"Recolher a legenda",expandLegend:"Expandir a legenda",toggleLegend:"Mostrar ou ocultar a legenda",searchPeopleGroups:"Pesquisar povos",resetAllFilters:"Redefinir todos os filtros e a pesquisa",selectAllRows:"Selecionar todas as linhas",deselectAllRows:"Desmarcar todas as linhas",rowDetail:"Detalhe da linha",dismissHint:"Dispensar a dica",resizeFiltersRail:"Redimensionar o painel de filtros",resizeFiltersRailHint:"Arraste ou use as teclas de seta para redimensionar o painel de filtros",resizeChartsRail:"Redimensionar o painel de gráficos",resizeChartsRailHint:"Arraste ou use as teclas de seta para redimensionar o painel de gráficos",resizeMapTableSplit:"Redimensionar a divisão entre o mapa e a tabela",resizeMapTableSplitHint:"Arraste ou use as teclas de seta para redimensionar a divisão entre o mapa e a tabela",resizeTable:"Redimensionar a altura da tabela",resizeTableHint:"Arraste ou use as teclas de seta para redimensionar a tabela",resizeDashboardHeight:"Redimensionar a altura do painel",resizeDashboardHeightHint:"Arraste ou use as teclas de seta para redimensionar a altura do painel",removeFilter:"Remover o filtro {name}",closeDetail:"Fechar o detalhe",filterBreadcrumb:"Trilho de filtros",railViews:"Vistas do painel",upgCountLegend:"Legenda da contagem de UPG",donutChart:"Gráfico de rosca: {title}"},"./locales/pt/buttons.json":{prayForThem:"Ore por eles",adoptThem:"Adote-os",moreInfo:"Mais informações",zoomIn:"Ampliar",zoomOut:"Reduzir",switchToLightMode:"Mudar para modo claro",switchToDarkMode:"Mudar para modo escuro",resetView:"Repor vista",toggleFullscreen:"Alternar ecrã inteiro",aboutThisMap:"Sobre este mapa",closeMenu:"Fechar menu",reloadMap:"Recarregar mapa",showClusters:"Mostrar clusters",clusterSettings:"Definições de clusters",startAutoFly:"Iniciar voo automático",stopFlight:"Parar voo",speedLabel:"Velocidade:",speedOption:{slow:"Lenta",normal:"Normal",fast:"Rápida"},shareEmbed:"Partilhar e incorporar",posterMap:"Mapa do cartaz",prayerList:"Lista de oração",cardDeck:"Baralho de cartões",printOptions:"Opções de impressão",showOnMap:"Ver no mapa",close:"Fechar",showOnMapAria:"Ver {label} no mapa",cardStockAria:"Tamanho do cartão de oração",previewPrintPoster:"Pré-visualizar e imprimir o cartaz de {label}",share:"Partilhar",shareSteps:["Incorpore este mapa no seu site","Faça uma lista dos sites da sua cidade","Ensine-os a incorporá-lo também","Ensine-os a ensinar outros a incorporá-lo","Multipliquemos mapas por toda a parte para Jesus!"],clearSelection:"Limpar a seleção",noOptions:"Nenhuma opção encontrada",renderingLocal:"Uma imagem com qualidade de impressão está a ser gerada no seu navegador — nada é enviado.",postersPerRow:"Cartazes por linha",packetVariantAria:"Detalhe do pacote de oração",packetFull:"Detalhe completo",packetLightweight:"Leve",working:"Processando…",postersPerRowAuto:"Automático"},"./locales/pt/controls.json":{research_controls:"Controlos de pesquisa",clustering:"Agrupamento",filters:"Filtros",pin_dim:"Esbater pontos",export_poster:"Exportar cartaz…",reload_data:"Recarregar dados",off:"Desligado",native:"Nativo",mst:"MST",network:"Rede",off_desc:"Mostrar cada ponto individualmente",native_desc:"Grupos circulares Mapbox (mais rápido)",mst_desc:"Redes de afinidade por árvore geradora mínima",network_desc:"Linhas para o vizinho mais próximo",search_languages:"Pesquisar idiomas…",search_religions:"Pesquisar religiões…",reset_all:"Repor tudo",no_languages:"Ainda não há idiomas carregados",no_religions:"Ainda não há religiões carregadas",unadopted:"Não adotado",min:"mín",max:"máx",adopted:"Adotado",adoption:"Adoção",engaged:"Engajado",engagement:"Engajamento",unengaged:"Precisa de envolvimento",language:"Idioma",religion:"Religião",population:"População",any:"Qualquer",active_count:"{n} ativos",prayer_status:"Estado de oração",close:"Fechar",clear:"Limpar",map_controls:"Controlos do mapa",clusters:"Agrupamentos",mst_full_name:"Árvore geradora mínima",mst_hint:"clique numa linha da legenda para agrupar apenas esse grupo"},"./locales/pt/dashboard.json":{bloc:"Bloco de afinidade",gospel_access:"Acesso ao evangelho",people:"Povos",people_name:"Povo (nome)",praying:"A orar",religion_family:"Família religiosa",search_language:"Pesquisar idioma",search_people:"Pesquisar povo",search_place:"Pesquisar lugar",search_religion:"Pesquisar religião",upgs_in_scope:"UPG no âmbito",countries_touched:"países alcançados",unreached:"não alcançados",sum_population:"Σ população",sum_praying:"Σ a orar",charts:"Gráficos",table:"Tabela",cluster:"Agrupamento",country:"País",engagement:"Engajamento",language:"Idioma",language_family:"Família linguística",people_group:"Povo",population:"População",prayer:"Oração",region:"Região",religion:"Religião",status:"Status",adopted:"Adotado",filters:"Filtros",gospel_resources:"Recursos do Evangelho",map:"Mapa",search_placeholder:"Pesquisar povos, lugares, idiomas, religiões…",any:"Qualquer",active_count:"{n} ativos",prayer_status:"Estado de oração",map_controls:"Controlos do mapa",close:"Fechar",clear:"Limpar",dashboard_title:"Painel de pesquisa geral",align_dashboard:"Alinhar painel",align_dashboard_tip:"Repor a disposição do painel para o alinhamento predefinido",selected:"Selecionado",world:"Mundo",vertical_legend:"Legenda vertical",groups_in_scope:"povos no âmbito",filter_by:"Filtrar por",remove_filter:"Remover filtro",groups:"povos",expand:"Expandir",collapse:"Recolher",place:"Lugar",export_csv:"Exportar CSV",detail:"Detalhe",detail_empty:"Selecione um povo para ver o detalhe",heartbeat_zone:"zona do batimento",top_countries:"Principais países",select_all:"Selecionar tudo",expand_table:"Expandir tabela",collapse_table:"Recolher tabela — ampliar o mapa",group:"povo",deselect_all:"Desmarcar tudo",results_live:"A mostrar {count} de {total} {unit}",filters_live:"Filtros: {list}",search_live:"Pesquisa: {term}",adopted_by_churches:"Adotados por igrejas",bp_title:"Visão geral — painel de investigação unificado",bp_subtitle:"Pesquise e filtre os grupos de pessoas do mundo · primeiro os menos alcançados",export_selection:"Exportar esta seleção",map_loading:"A carregar o mapa de investigação…",no_match:"Nenhum grupo de pessoas corresponde a “{q}”.",no_photo:"Sem foto",only_selected:"Apenas os selecionados",only_selected_hint:"Mostrar apenas os grupos de pessoas selecionados",people_committed:"Pessoas comprometidas",people_praying:"Pessoas a orar",selected_first:"Os selecionados primeiro",selected_first_hint:"Trazer para cima os grupos de pessoas selecionados, mantendo a ordenação das colunas",n_shown:"{n} apresentados",other:"Outros",wagfRegion:{africa:"África",asia:"Ásia",europe:"Europa","latin_america_&_caribbean":"América Latina",oceania:"Oceania",middle_east:"Oriente Médio","north_america_&_non-spanish_caribbean":"América do Norte e Caribe não hispânico"},sort_by_column_hint:"Ordenar esta tabela por {column} — Shift+clique adiciona uma segunda coluna. A ordenação afeta apenas a tabela; os cartões mantêm a própria ordem.",fs_exit_hint:"Sair da tela cheia (Esc) — voltar a sete linhas",fs_open_hint:"Abrir esta tabela em tela cheia",fs_exit:"Sair da tela cheia",fs_open:"Abrir a tabela em tela cheia",export_selected_hint:"Exportar todos os campos — povos selecionados: {n}",export_all_hint:"Exportar todos os campos — povos: {n}",map_init_failed:"O mapa não conseguiu iniciar. Verifique o token de acesso e o contentor do mapa.",show_filters:"Mostrar filtros",hide_filters:"Ocultar filtros — ampliar o mapa",show_charts:"Mostrar gráficos",hide_charts:"Ocultar gráficos — ampliar o mapa",export_copied:"copiado para a área de transferência",export_done:"exportado",export_ready:"pronto",export_toast:"✓ {rows} linhas × {fields} campos {how}",export_failed:"✕ Falha ao exportar",pray_for_group:"Ore por este povo",more_information:"Mais informações",title:"Painel de pesquisa",gospel_pending:"Ainda não está pronto: o número de não alcançados, a chave da fonte de dados e a forma da interface estão por decidir."},"./locales/pt/detail.json":{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."}},"./locales/pt/grid.json":{search:"Pesquisar povos…",hide_filters:"Ocultar filtros",show_filters:"Mostrar filtros",total:"Total",showing:"Mostrando",load_more:"Carregar mais",full_profile:"Perfil completo",wagf_region:"Região",wagf_block:"Bloco de afinidade",rop1:"Povo",religion:"Religião",exact_filter:"Exato",clear_all:"Limpar tudo",loading:"A carregar…",no_results:"Nenhum povo corresponde a este filtro.",type_to_search:"Escreva para pesquisar...",load_failed:"Não foi possível carregar os dados dos povos. É um problema de ligação, não do seu filtro.",search_people_or_countries:"Pesquisar povos ou países…",cards_per_row:"Cartões por linha",cards_per_row_auto:"Automático"},"./locales/pt/legend.json":{title:{adoption:"Progresso da adoção",affinityBlocs:"Blocos de afinidade",doxaRegions:"Regiões Doxa",engagement:"Progresso do envolvimento",gospelResources:"Recursos do Evangelho",languageFamilies:"Famílias linguísticas",prayer:"Progresso da oração",upg100List:"A minha lista UPG 100",batchSelect:"Seleção múltipla"},header:{collapsed:"Legenda",peopleGroupFallback:"Grupo de pessoas",default:"Legenda"},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"},tabInfo:{upg100Region:"Região — ordena as listas UPG-100 por área do mundo (África, Índia, Oriente Médio, Surdos, …). Os totais são os UUPG e a população somados de todas as listas abaixo dela.",upg100Zone:"Listas UPG-100 — cada uma é uma lista de oração dos grupos étnicos não alcançados de uma área, e é o que o mapa pinta e colore. Cada lista é impressa como seu próprio pacote.",upg100Group:"Grupo étnico — os grupos não alcançados dentro de uma lista, primeiro os de maior necessidade de oração. Cada ponto do mapa é um deles.",family:"Família linguística — um conjunto de línguas descendentes de um ancestral comum (p. ex. indo-europeia, afro-asiática).",language:"Idioma — um sistema de comunicação usado por um povo (p. ex. árabe, bengali, híndi).",dialect:"Dialeto/Variedade — uma forma regional ou social de uma língua (p. ex. árabe sudanês; língua gestual paquistanesa).",bloc:"Bloco de afinidade — o agrupamento mais amplo, por parentesco cultural, linguístico e geográfico (p. ex. povos malaios, povos do Sul da Ásia, surdos, mundo árabe).",cluster:"Agrupamento — um agrupamento mais fino dentro de um bloco (p. ex. Bornéu-Kalimantan entre os povos malaios). As linhas levam «(agrupamento)» para as distinguir dos povos.",group:"Povo — uma identidade etnolinguística em si mesma, independente do país. As linhas levam «(povo)». Um mesmo povo pode viver em muitos países (os surdos, por exemplo, em mais de cem).",pgic:"Povo no país — uma linha por cada povo em cada país onde vive (p. ex. «Abai Sungai, Malásia»). As linhas levam «(povo no país)».",region:"Região WAGF — a macrorregião a que pertence um país (p. ex. Ásia, África). Cada uma tem a sua cor no mapa.",block:"Bloco WAGF — a subdivisão dentro de uma região (p. ex. Sudeste Asiático, África Ocidental).",country:"País — os países um a um, ordenados por população não alcançada dentro do seu bloco."},a11y:{expandRow:"Expandir {label}",collapseRow:"Recolher {label}",clearSelection:"Limpar a seleção",goUp:"Subir para {label}"},export:{poster:"Cartaz",packet:"UPG 100",packetExplain:"Uma lista de oração de cerca de 50 a 100 povos não alcançados: uma pessoa pode levar uma.",packetAria:"Detalhe do pacote de oração",packetFull:"Detalhe completo",packetLightweight:"Leve"},noDataAtThisLevel:"Sem dados neste nível",exportButton:"Exportar",exportSelection:"Exportar a seleção",loadingRows:"Carregando {label}…",loadingData:"Carregando dados…",showingTop:"Mostrando os {n} principais de {m}",useGeocoderHint:"use a busca acima para encontrar os restantes",noList:"Nenhuma lista carregada."},"./locales/pt/lists.json":{doxa:{label:"Projeto 2000: os povos da DOXA",definition:"Os povos que a DOXA serve, como a sua lista ao vivo os apresenta"},unreached:{label:"Projeto 7000: povos não alcançados",definition:"Prioridade de perdição do IMB 0–2 (não alcançados de fronteira, pioneiros ou em expansão: menos de 2% evangélicos)"},frontier:{label:"Projeto 4700: povos de fronteira",definition:"Prioridade de perdição do IMB 0 (não alcançados de fronteira: 0,1% evangélicos ou menos)"},"frontier-500k":{label:"Projeto 700: povos de fronteira de 500.000 ou mais",definition:"Prioridade de perdição do IMB 0 e uma população de pelo menos 500.000"},unengaged:{label:"Povos não alcançados e não engajados",definition:"Prioridade de perdição do IMB 0–2 e estado de engajamento: não engajado"}},"./locales/pt/mapui.json":{map:"Mapa",marker:"Marcador do mapa",closePopup:"Fechar janela",zoomIn:"Aumentar zoom",zoomOut:"Diminuir zoom",resetBearing:"Arraste para girar o mapa, clique para voltar ao norte",toggleAttribution:"Mostrar/ocultar atribuição",mapFeedback:"Comentários sobre o mapa",enterFullscreen:"Tela cheia",exitFullscreen:"Sair da tela cheia",findMyLocation:"Encontrar minha localização",locationNotAvailable:"Localização indisponível",enableGlobe:"Ativar globo",disableGlobe:"Desativar globo",ctrlScroll:"Use Ctrl + rolagem para ampliar o mapa",cmdScroll:"Use ⌘ + rolagem para ampliar o mapa",twoFingers:"Use dois dedos para mover o mapa",mapboxHomepage:"Página inicial do Mapbox",maplibreLogo:"Logótipo do MapLibre"},"./locales/pt/messages.json":{menuComingSoon:"Menu em breve",pinHint:{tapDot:"Toque num ponto colorido — alguém ainda precisa de oração"},upg100WallHeading:"Minha lista UPG 100 — Listas de oração e cartazes",upg100WallTag:"Mobilização de oração",upg100WallIntroA:"Como você alimentaria uma multidão de cinco mil? Jesus os sentou em grupos de cinquenta e de cem, e o impossível tornou-se compartilhável (Lucas 9.14). Fizemos o mesmo com os 2.106 povos não alcançados: 27 listas de cerca de cinquenta a cem. Cada lista imprime como pacote de oração e cartaz, para que 27 discípulos, igrejas ou líderes locais levem uma cada um — orando por eles ",upg100WallIntroEmph:"pelo nome do seu povo",upg100WallIntroB:".",loadingNamed:"Carregando {name}…",couldNotLoadNamed:"Não foi possível carregar {name}.",engineMissing:"O motor de mapa {engine} não foi carregado.",packetFailed:"Falha ao gerar o caderno: {reason}",selectionPacketFailed:"Falha ao gerar o caderno da seleção: {reason}",posterOneTerritory:"O cartaz imprime um território de cada vez — {count} selecionados.",selectionPosterFailed:"Falha ao gerar o cartaz da seleção: {reason}",mapUnavailable:"Mapa indisponível",copied:"Copiado!",copyFailed:"Falha ao copiar — pressione Ctrl/Cmd-C",engineNotLoaded:"motor de mapas não carregado",engineNotLoadedDetail:"O motor de mapas {engine} não carregou. A lista e a legenda não são afetadas.",viewLoadFailed:"Não foi possível carregar esta visualização.",retry:"Tentar novamente",noMapboxToken:"Nenhum token do Mapbox",noMapboxTokenDetail:"Nenhum token do Mapbox configurado. A lista e a legenda não são afetadas.",loadingBoundaries:"Carregando limites…",fetchingUupgs:"Buscando {n} UUPGs…",mapStatusCounts:"Áreas: {polys} · zonas: {zones}/{total} · marcadores: {pins}",tapTerritoriesHint:"Toque em territórios no mapa ou em linhas da legenda para adicionar · toque de novo para remover",territoriesSelected:"Territórios: {count}",bandInRange:"✓ faixa 50–100",bandOutOfRange:"faixa 50–100",mapContextLost:"Este mapa foi descarregado para libertar memória gráfica.",nOfTotal:"{n} de {total}",mapInitFailed:"Falha ao iniciar o mapa — verifique o token e o contêiner",countryWallIntroA:"Um cartaz por país, pronto para orar, imprimir e pendurar na parede — orando por eles ",countryWallIntroB:". As regiões e os países são ordenados pelo número de povos não engajados que abrigam, para que a maior necessidade venha primeiro.",countryWallSoon:"Em breve: será gerada uma lista de oração para cada país, com o nome de cada povo não alcançado nele.",countryWallHeading:"Cartazes por país — Listas de oração e cartazes",largerScreenNotice:"Este mapa experimental foi feito para telas maiores. Ele abre aqui, mas algumas partes podem não caber ou não funcionar bem no celular.",desktopOnlyNotice:"{label} só funciona no computador — abra esta página num computador para usá-lo.",noticeDismiss:"Fechar",countryPosterTooMany:"Povos demais para caber de forma legível em um só cartaz — uma solução está a caminho."},"./locales/pt/pins.json":{approximate:"O ponto indica onde este povo se encontra, não uma cidade nem uma fronteira.",sharedPoint:"Está no mesmo ponto que {names} — {n} grupos partilham esta coordenada, por isso a posição indica a região e não onde está cada grupo."},"./locales/pt/popup.json":{country:{wagfRegion:"Região WAGF",wagfBlock:"Bloco WAGF",country:"País",uupgCount:"Número de UUPG"}},"./locales/pt/religion.json":{family:{Christianity:"Cristianismo",Islam:"Islão",Hinduism:"Hinduísmo",Buddhism:"Budismo",Ethnoreligion:"Etnorreligião",Judaism:"Judaísmo",Sikhism:"Siquismo",Unaffiliated:"Sem afiliação",Other:"Outra",Unknown:"Desconhecida"}},"./locales/pt/search.json":{placeholder:"Povo, local, língua, religião",placeholderNoPlaces:"Povo, língua, religião (a busca de locais requer um token do Mapbox)",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"},sections:{within:"Dentro de {selection}",allData:"Todos os dados DOXA"},upg100Placeholder:"Procurar povo, lista UPG-100 ou região…",tabPlaceholder:{languageFamilies:"Pesquisar família linguística, idioma, dialeto/variedade",affinityBlocks:"Pesquisar bloco de afinidade, agrupamento, povo",regions:"Pesquisar região, país, povo",religion:"Pesquisar religião, povo"},placeholderRegions:"Procurar região, país ou povo"},"./locales/pt/share.json":{embed_link:"Link de incorporação",add_to_website:"Adicione ao seu site",embed_paste_hint:"Cole este código no seu construtor de sites (WordPress, Squarespace, Wix ou qualquer site que aceite widgets HTML)."},"./locales/pt/tabs.json":{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",upg100Region:"Região",upg100Zone:"Listas UPG-100",upg100Group:"Grupo étnico",selectView:"Selecionar vista",views:"Vistas",prayerResources:"Recursos de oração",map:"Mapa",countryPosters:"Cartazes por país"},"./locales/pt/wall.json":{title:"Mural dos povos",toPortrait:"📱 Mudar para retrato",toLandscape:"🖼️ Mudar para paisagem",currentLandscape:"Atual: paisagem (4 × 3 pés)",currentPortrait:"Atual: retrato (3 × 4 pés)",resetZoom:"Repor zoom",groupsLoaded:"Carregados: {n}",loading:"A carregar povos…",offlineTitle:"Não foi possível aceder aos dados de oração em direto.",offlineBody:"O mural lê os seus povos de pray.doxa.life. Pode estar offline ou, num servidor de desenvolvimento local, a API pode não permitir o endereço desta página.",tryAgain:"Tentar novamente",prayedCount:"Oraram: {n}",viewPrayers:"Ver orações",prayerTools:"Ferramentas de oração",close:"Fechar",unknown:"Desconhecido",unknownGroup:"Povo desconhecido",status:"Estado:",unengaged:"não alcançado",prayingNow:"Está a orar agora por este povo?",yesPraying:"Sim, estou a orar",thankYou:"Obrigado por orar!",sharePrayer:"Partilhe a sua oração (opcional)",prayerPlaceholder:"Escreva a sua oração aqui…",sendPrayer:"Enviar oração",peopleGroup:"Povo",chatsTitle:"Conversas do povo",id:"ID:",location:"Local:",na:"N/D",havePrayed:"Oraram: {n}",youPrayed:"✓ Orou!",prayForGroup:"🙏 Orar por este povo",prayersComments:"Orações e comentários",noComments:"Ainda não há orações nem comentários. Seja o primeiro!",commentPlaceholder:"Partilhe a sua oração ou pensamentos…",postComment:"Publicar comentário",noPeopleId:"Este povo não tem PeopleID3",statusUnknown:"Estado desconhecido",printPoster:"🖨️ Imprimir cartaz HD",printPreparing:"Preparando o cartaz: {n} de {total} fotos",printMissing:"Fotos que não puderam ser carregadas: {n}. Elas são impressas como quadros cinza.",blessBanner:"Abençoem as nações em nome de Jesus",modeLabel:"Modo do mural",modeBless:"Abençoar",modeSocial:"Social",shareSoon:"O compartilhamento chega mais tarde.",drawLibError:"O mural não conseguiu carregar a sua biblioteca de desenho:",posterSize:"Tamanho do cartaz",posterSubtitle:"DOXA (δόξα) significa glória. Um movimento mundial de oração está abençoando estes {n} grupos de povos em nome de Jesus. Saiba mais e participe em pray.doxa.life.",glueHere:"cole aqui a folha de cima",themesLabel:"Temas de oração",oldTestament:"Antigo Testamento",newTestament:"Novo Testamento",themeTreasure:"Tesouro",themeMountain:"Monte",themeSea:"Mar",posterClosing:"Jesus Cristo é a pedra angular, e nós somos pedras vivas. Estes povos são a recompensa do seu sofrimento. Assumamos o nosso chamado sacerdotal: abençoemo-los em seu nome e unamo-nos à família mundial em oração.",journeyCalled:"O chamado",journeyPromised:"A promessa",journeyRedeemed:"Redimidos",journeyCornerstone:"A pedra angular",journeyChildren:"Filhos de Abraão",journeyPriesthood:"Um sacerdócio real",journeySent:"Enviados aos perdidos",peopleGroupCount:"{n} povo | {n} de povos | {n} povos",listCount:"{n} lista | {n} de listas | {n} listas",stockCard:"Cartão",stockPostcard:"Cartão-postal",stockLandscape:"paisagem",hud:{kindPoster:"Cartaz",kindList:"Lista",kindPacket:"Pacote de oração",fetchingPoster:"obtendo o cartaz",generatingPoster:"gerando o cartaz",openingPrint:"abrindo a caixa de impressão",printOpened:"caixa de impressão aberta",saving:"salvando",fetchingRecords:"obtendo registros",fetchingGroups:"obtendo povos",layingOutRows:"diagramando {n} linha | diagramando {n} de linhas | diagramando {n} linhas",layingOutCards:"diagramando {n} cartão | diagramando {n} de cartões | diagramando {n} cartões",printingGroups:"imprimindo {n} povo | imprimindo {n} de povos | imprimindo {n} povos",kindCardDeck:"Baralho de cartões",kindPrayerList:"Lista de oração",saved:"salvo",noRecords:"essa lista não tem povos para imprimir",noPoster:"não há cartaz disponível para esta lista",posterNotFound:"cartaz não encontrado ({status})",posterBlank:"o cartaz gerado saiu em branco",noApi:"nenhum serviço de povos está configurado",fetchFailed:"não foi possível carregar os povos ({status})"},posterAlt:"{label} — cartaz de oração",posterAltAction:"{label} — cartaz de oração (clique para visualizar e imprimir)"},"./locales/ro/allPeopleGroups.json":{title:"Toate grupurile etnice",locations:"{n} locații (grup × țară)",doxa:"Grupuri etnice DOXA",frontier:"Frontieră — nimic început",unreached:"Neatinse — lucrarea începe",reached:"Atinse — biserica este acolo",hint:"Faceți clic pe un rând pentru a le vedea pe toate · din nou pentru tot",loading:"Se încarcă toate grupurile etnice…",loadError:"Harta nu a putut fi încărcată.",pray:"Rugați-vă pentru ei →",population:"pop. {n}"},"./locales/ro/aria.json":{backToLegend:"Înapoi la legendă",closeDetailView:"Închide vizualizarea detaliată",collapseLegend:"Restrânge legenda",expandLegend:"Extinde legenda",toggleLegend:"Afișează sau ascunde legenda",searchPeopleGroups:"Caută popoare",resetAllFilters:"Resetează toate filtrele și căutarea",selectAllRows:"Selectează toate rândurile",deselectAllRows:"Deselectează toate rândurile",rowDetail:"Detaliu rând",dismissHint:"Închide sugestia",resizeFiltersRail:"Redimensionează bara de filtre",resizeFiltersRailHint:"Trage sau folosește tastele săgeată pentru a redimensiona bara de filtre",resizeChartsRail:"Redimensionează bara de grafice",resizeChartsRailHint:"Trage sau folosește tastele săgeată pentru a redimensiona bara de grafice",resizeMapTableSplit:"Redimensionează împărțirea hartă/tabel",resizeMapTableSplitHint:"Trage sau folosește tastele săgeată pentru a redimensiona împărțirea hartă/tabel",resizeTable:"Redimensionează înălțimea tabelului",resizeTableHint:"Trage sau folosește tastele săgeată pentru a redimensiona tabelul",resizeDashboardHeight:"Redimensionează înălțimea tabloului de bord",resizeDashboardHeightHint:"Trage sau folosește tastele săgeată pentru a redimensiona înălțimea tabloului de bord",removeFilter:"Elimină filtrul {name}",closeDetail:"Închide detaliul",filterBreadcrumb:"Traseul filtrelor",railViews:"Vizualizările barei",upgCountLegend:"Legenda numărului de UPG",donutChart:"Diagramă inelară: {title}"},"./locales/ro/buttons.json":{prayForThem:"Roagă-te pentru ei",adoptThem:"Adoptă-i",moreInfo:"Mai multe informații",zoomIn:"Mărește",zoomOut:"Micșorează",switchToLightMode:"Comută la modul luminos",switchToDarkMode:"Comută la modul întunecat",resetView:"Resetează vizualizarea",toggleFullscreen:"Comută ecran complet",aboutThisMap:"Despre această hartă",closeMenu:"Închide meniul",reloadMap:"Reîncarcă harta",showClusters:"Arată clusterele",clusterSettings:"Setări clustere",startAutoFly:"Pornește zborul automat",stopFlight:"Oprește zborul",speedLabel:"Viteză:",speedOption:{slow:"Lent",normal:"Normal",fast:"Rapid"},shareEmbed:"Partajează și încorporează",posterMap:"Harta afișului",prayerList:"Listă de rugăciune",cardDeck:"Pachet de cartonașe",printOptions:"Opțiuni de tipărire",showOnMap:"Arată pe hartă",close:"Închide",showOnMapAria:"Arată {label} pe hartă",cardStockAria:"Dimensiunea cardului de rugăciune",previewPrintPoster:"Previzualizează și tipărește posterul {label}",share:"Distribuie",shareSteps:["Încorporează această hartă pe site-ul tău","Fă o listă cu site-urile din orașul tău","Învață-i să o încorporeze și ei","Învață-i să îi formeze pe alții să o încorporeze","Să multiplicăm hărți pretutindeni pentru Isus!"],clearSelection:"Șterge selecția",noOptions:"Nicio opțiune găsită",renderingLocal:"O imagine de calitate pentru tipar este generată în browserul tău — nimic nu este încărcat.",postersPerRow:"Postere pe rând",packetVariantAria:"Nivelul de detaliu al pachetului de rugăciune",packetFull:"Detaliu complet",packetLightweight:"Redus",working:"Se procesează…",postersPerRowAuto:"Automat"},"./locales/ro/controls.json":{research_controls:"Comenzi de cercetare",clustering:"Grupare",filters:"Filtre",pin_dim:"Estompare puncte",export_poster:"Exportă posterul…",reload_data:"Reîncarcă datele",off:"Oprit",native:"Nativ",mst:"MST",network:"Rețea",off_desc:"Arată fiecare punct separat",native_desc:"Grupuri circulare Mapbox (cel mai rapid)",mst_desc:"Rețele de afinitate prin arbore minim de acoperire",network_desc:"Linii către cel mai apropiat vecin",search_languages:"Caută limbi…",search_religions:"Caută religii…",reset_all:"Resetează tot",no_languages:"Nicio limbă încărcată încă",no_religions:"Nicio religie încărcată încă",unadopted:"Neadoptat",min:"min",max:"max",adopted:"Adoptat",adoption:"Adopție",engaged:"Implicat",engagement:"Implicare",unengaged:"Necesită implicare",language:"Limbă",religion:"Religie",population:"Populație",any:"Oricare",active_count:"{n} active",prayer_status:"Stare de rugăciune",close:"Închide",clear:"Șterge",map_controls:"Comenzile hărții",clusters:"Grupuri",mst_full_name:"Arbore de acoperire minim",mst_hint:"dă clic pe un rând din legendă pentru a grupa doar acel grup"},"./locales/ro/dashboard.json":{bloc:"Bloc de afinitate",gospel_access:"Acces la Evanghelie",people:"Popoare",people_name:"Popor (nume)",praying:"Se roagă",religion_family:"Familie religioasă",search_language:"Caută limbă",search_people:"Caută popor",search_place:"Caută loc",search_religion:"Caută religie",upgs_in_scope:"UPG în domeniu",countries_touched:"țări atinse",unreached:"neatinși",sum_population:"Σ populație",sum_praying:"Σ se roagă",charts:"Grafice",table:"Tabel",cluster:"Grup",country:"Țară",engagement:"Implicare",language:"Limbă",language_family:"Familie de limbi",people_group:"Popor",population:"Populație",prayer:"Rugăciune",region:"Regiune",religion:"Religie",status:"Stare",adopted:"Adoptat",filters:"Filtre",gospel_resources:"Resurse ale Evangheliei",map:"Hartă",search_placeholder:"Caută popoare, locuri, limbi, religii…",any:"Oricare",active_count:"{n} active",prayer_status:"Stare de rugăciune",map_controls:"Comenzile hărții",close:"Închide",clear:"Șterge",dashboard_title:"Tablou de bord de cercetare general",align_dashboard:"Aliniază tabloul",align_dashboard_tip:"Readu aranjarea tabloului la alinierea implicită",selected:"Selectat",world:"Lume",vertical_legend:"Legendă verticală",groups_in_scope:"popoare în domeniu",filter_by:"Filtrează după",remove_filter:"Elimină filtrul",groups:"popoare",expand:"Extinde",collapse:"Restrânge",place:"Loc",export_csv:"Exportă CSV",detail:"Detaliu",detail_empty:"Selectează un popor pentru a vedea detaliile",heartbeat_zone:"zona bătăilor inimii",top_countries:"Țări de top",select_all:"Selectează tot",expand_table:"Extinde tabelul",collapse_table:"Restrânge tabelul — mărește harta",group:"popor",deselect_all:"Deselectează tot",results_live:"{count} din {total} {unit} afișate",filters_live:"Filtre: {list}",search_live:"Căutare: {term}",adopted_by_churches:"Adoptate de biserici",bp_title:"Imaginea de ansamblu — tablou de bord unificat de cercetare",bp_subtitle:"Caută și filtrează grupurile de oameni din lume · cele mai puțin atinse primele",export_selection:"Exportă această selecție",map_loading:"Se încarcă harta de cercetare…",no_match:"Niciun grup de oameni nu se potrivește cu „{q}”.",no_photo:"Nicio fotografie",only_selected:"Doar cele selectate",only_selected_hint:"Arată doar grupurile de oameni selectate",people_committed:"Persoane angajate",people_praying:"Persoane care se roagă",selected_first:"Cele selectate primele",selected_first_hint:"Ridică grupurile de oameni selectate în partea de sus, păstrând sortarea coloanelor",n_shown:"{n} afișate",other:"Altele",wagfRegion:{africa:"Africa",asia:"Asia",europe:"Europa","latin_america_&_caribbean":"America Latină",oceania:"Oceania",middle_east:"Orientul Mijlociu","north_america_&_non-spanish_caribbean":"America de Nord și Caraibe nehispanice"},sort_by_column_hint:"Sortează acest tabel după {column} — Shift+clic adaugă o a doua coloană. Sortarea ordonează doar tabelul; cardurile își păstrează propria ordine.",fs_exit_hint:"Ieși din ecran complet (Esc) — înapoi la șapte rânduri",fs_open_hint:"Deschide acest tabel pe ecran complet",fs_exit:"Ieși din ecran complet",fs_open:"Deschide tabelul pe ecran complet",export_selected_hint:"Exportă toate câmpurile — popoare selectate: {n}",export_all_hint:"Exportă toate câmpurile — popoare: {n}",map_init_failed:"Harta nu a putut porni. Verificați jetonul de acces și containerul hărții.",show_filters:"Arată filtrele",hide_filters:"Ascunde filtrele — mărește harta",show_charts:"Arată graficele",hide_charts:"Ascunde graficele — mărește harta",export_copied:"copiat în clipboard",export_done:"exportat",export_ready:"gata",export_toast:"✓ {rows} rânduri × {fields} câmpuri {how}",export_failed:"✕ Exportul a eșuat",pray_for_group:"Roagă-te pentru acest popor",more_information:"Mai multe informații",title:"Tablou de bord de cercetare",gospel_pending:"Încă nu este gata: cifra celor neatinși, cheia sursei de date și forma interfeței sunt încă de hotărât."},"./locales/ro/detail.json":{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ă."}},"./locales/ro/grid.json":{search:"Caută popoare…",hide_filters:"Ascunde filtrele",show_filters:"Arată filtrele",total:"Total",showing:"Se afișează",load_more:"Încarcă mai mult",full_profile:"Profil complet",wagf_region:"Regiune",wagf_block:"Bloc de afinitate",rop1:"Popor",religion:"Religie",exact_filter:"Exact",clear_all:"Șterge tot",loading:"Se încarcă…",no_results:"Niciun popor nu corespunde acestui filtru.",type_to_search:"Scrie pentru a căuta...",load_failed:"Datele despre popoare nu au putut fi încărcate. Este o problemă de conexiune, nu a filtrului.",search_people_or_countries:"Caută popoare sau țări…",cards_per_row:"Carduri pe rând",cards_per_row_auto:"Automat"},"./locales/ro/legend.json":{title:{adoption:"Progresul adopției",affinityBlocs:"Blocuri de afinitate",doxaRegions:"Regiuni Doxa",engagement:"Progresul implicării",gospelResources:"Resurse ale Evangheliei",languageFamilies:"Familii de limbi",prayer:"Progresul rugăciunii",upg100List:"Lista mea UPG 100",batchSelect:"Selecție multiplă"},header:{collapsed:"Legendă",peopleGroupFallback:"Grup de popoare",default:"Legendă"},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",name:"Nume"},footer:{total:"Total"},sortByUpgs:"Sortează după UUPG",sortByPop:"Sortează după populație",colLabel:{religion:"Religii UUPG",prayer:"Starea rugăciunii",engagement:"Starea implicării",adoption:"Starea adopției",status:"Stare"},titleBar:{legend:"Legendă",peopleGroups:"Popoare",wagfRegions:"Regiuni WAGF",languages:"Limbi"},tabInfo:{upg100Region:"Regiune — sortează listele UPG-100 după zona lumii (Africa, India, Orientul Mijlociu, Surzi, …). Totalurile sunt UUPG-urile și populația însumate din fiecare listă de dedesubt.",upg100Zone:"Liste UPG-100 — fiecare este o listă de rugăciune a grupurilor etnice neatinse dintr-o zonă și este ceea ce harta desenează și colorează. Fiecare listă se tipărește ca propriul pachet.",upg100Group:"Grup etnic — grupurile neatinse dintr-o listă, mai întâi cele cu cea mai mare nevoie de rugăciune. Fiecare punct de pe hartă este unul dintre ele.",family:"Familie de limbi — un grup de limbi provenite dintr-un strămoș comun (de ex. indo-europeană, afro-asiatică).",language:"Limbă — un sistem de comunicare folosit de un popor (de ex. arabă, bengaleză, hindi).",dialect:"Dialect/Variantă — o formă regională sau socială a unei limbi (de ex. araba sudaneză; limbajul semnelor pakistanez).",bloc:"Bloc de afinitate — cea mai largă grupare, după înrudirea culturală, lingvistică și geografică (de ex. popoarele malaieze, popoarele din Asia de Sud, surzii, lumea arabă).",cluster:"Grup — o grupare mai fină în interiorul unui bloc (de ex. Borneo-Kalimantan între popoarele malaieze). Rândurile poartă „(grup)”, spre a le deosebi de popoare.",group:"Popor — o identitate etnolingvistică în sine, independentă de țară. Rândurile poartă „(popor)”. Același popor poate trăi în multe țări (surzii, de pildă, în peste o sută).",pgic:"Popor în țară — câte un rând pentru fiecare popor din fiecare țară în care trăiește (de ex. „Abai Sungai, Malaysia”). Rândurile poartă „(popor în țară)”.",region:"Regiune WAGF — macroregiunea de care ține o țară (de ex. Asia, Africa). Fiecare are culoarea ei pe hartă.",block:"Bloc WAGF — subdiviziunea din interiorul unei regiuni (de ex. Asia de Sud-Est, Africa de Vest).",country:"Țară — țările una câte una, ordonate după populația neatinsă din blocul lor."},a11y:{expandRow:"Extinde {label}",collapseRow:"Restrânge {label}",clearSelection:"Șterge selecția",goUp:"Urcă la {label}"},export:{poster:"Afiș",packet:"UPG 100",packetExplain:"O listă de rugăciune de aproximativ 50-100 de popoare neatinse — o persoană poate purta una.",packetAria:"Nivelul de detaliu al pachetului de rugăciune",packetFull:"Detaliu complet",packetLightweight:"Redus"},noDataAtThisLevel:"Nu există date la acest nivel",exportButton:"Exportă",exportSelection:"Exportă selecția",loadingRows:"Se încarcă {label}…",loadingData:"Se încarcă datele…",showingTop:"Se afișează primele {n} din {m}",useGeocoderHint:"folosește căutarea de mai sus pentru a le găsi pe celelalte",noList:"Nicio listă încărcată."},"./locales/ro/lists.json":{doxa:{label:"Proiectul 2000: popoarele DOXA",definition:"Popoarele pe care DOXA le slujește, așa cum le dă lista sa live"},unreached:{label:"Proiectul 7000: popoare neatinse",definition:"Prioritatea de pierzare IMB 0–2 (neatinse de frontieră, pionier sau în expansiune: sub 2% evanghelici)"},frontier:{label:"Proiectul 4700: popoare de frontieră",definition:"Prioritatea de pierzare IMB 0 (neatinse de frontieră: 0,1% evanghelici sau mai puțin)"},"frontier-500k":{label:"Proiectul 700: popoare de frontieră de 500.000 sau mai mult",definition:"Prioritatea de pierzare IMB 0 și o populație de cel puțin 500.000"},unengaged:{label:"Popoare neatinse și neangajate",definition:"Prioritatea de pierzare IMB 0–2 și starea de angajare: neangajat"}},"./locales/ro/mapui.json":{map:"Hartă",marker:"Marcaj pe hartă",closePopup:"Închide fereastra",zoomIn:"Mărește",zoomOut:"Micșorează",resetBearing:"Trage pentru a roti harta, apasă pentru a reveni la nord",toggleAttribution:"Afișează/ascunde atribuirea",mapFeedback:"Feedback despre hartă",enterFullscreen:"Ecran complet",exitFullscreen:"Ieși din ecran complet",findMyLocation:"Găsește-mi locația",locationNotAvailable:"Locație indisponibilă",enableGlobe:"Activează globul",disableGlobe:"Dezactivează globul",ctrlScroll:"Folosește Ctrl + derulare pentru a mări harta",cmdScroll:"Folosește ⌘ + derulare pentru a mări harta",twoFingers:"Folosește două degete pentru a muta harta",mapboxHomepage:"Pagina principală Mapbox",maplibreLogo:"Sigla MapLibre"},"./locales/ro/messages.json":{menuComingSoon:"Meniu în curând",pinHint:{tapDot:"Atinge un punct colorat — cineva are încă nevoie de rugăciune"},upg100WallHeading:"Lista mea UPG 100 — Liste de rugăciune și afișe",upg100WallTag:"Mobilizare pentru rugăciune",upg100WallIntroA:"Cum ai hrăni o mulțime de cinci mii? Isus i-a așezat în grupuri de cincizeci și de o sută, iar imposibilul a devenit împărțibil (Luca 9:14). Am făcut la fel cu cele 2.106 popoare neatinse: 27 de liste de aproximativ cincizeci până la o sută. Fiecare listă se tipărește ca pachet de rugăciune și afiș, ca 27 de ucenici, biserici sau lideri locali să poarte fiecare câte una — rugându-se pentru ei ",upg100WallIntroEmph:"pe numele poporului lor",upg100WallIntroB:".",loadingNamed:"Se încarcă {name}…",couldNotLoadNamed:"Nu s-a putut încărca {name}.",engineMissing:"Motorul de hartă {engine} nu s-a încărcat.",packetFailed:"Broșura a eșuat: {reason}",selectionPacketFailed:"Broșura selecției a eșuat: {reason}",posterOneTerritory:"Afișul tipărește un teritoriu pe rând — {count} selectate.",selectionPosterFailed:"Afișul selecției a eșuat: {reason}",mapUnavailable:"Harta indisponibilă",copied:"Copiat!",copyFailed:"Copierea a eșuat — apasă Ctrl/Cmd-C",engineNotLoaded:"motorul de hărți nu s-a încărcat",engineNotLoadedDetail:"Motorul de hărți {engine} nu s-a încărcat. Lista și legenda nu sunt afectate.",viewLoadFailed:"Această vizualizare nu s-a putut încărca.",retry:"Reîncearcă",noMapboxToken:"Niciun token Mapbox",noMapboxTokenDetail:"Nu este configurat niciun token Mapbox. Lista și legenda nu sunt afectate.",loadingBoundaries:"Se încarcă granițele…",fetchingUupgs:"Se preiau {n} UUPG…",mapStatusCounts:"Suprafețe: {polys} · zone: {zones}/{total} · repere: {pins}",tapTerritoriesHint:"Atingeți teritorii pe hartă sau rânduri din legendă pentru a le adăuga · atingeți din nou pentru a le elimina",territoriesSelected:"Teritorii: {count}",bandInRange:"✓ interval 50–100",bandOutOfRange:"interval 50–100",mapContextLost:"Această hartă a fost descărcată pentru a elibera memoria grafică.",nOfTotal:"{n} din {total}",mapInitFailed:"Harta nu a putut fi inițializată — verificați tokenul și containerul",countryWallIntroA:"Câte un afiș pentru fiecare țară, gata de rugăciune, de tipărit și de pus pe perete — rugându-ne pentru ei ",countryWallIntroB:". Regiunile și țările sunt ordonate după câte popoare neatinse cuprind, pentru ca nevoia cea mai mare să fie prima.",countryWallSoon:"În curând: pentru fiecare țară va fi generată o listă de rugăciune care numește fiecare popor neatins din ea.",countryWallHeading:"Afișe pe țări — Liste de rugăciune și afișe",largerScreenNotice:"Această hartă experimentală este făcută pentru ecrane mari. Se deschide aici, dar unele părți s-ar putea să nu încapă sau să nu funcționeze bine pe telefon.",desktopOnlyNotice:"{label} funcționează doar pe desktop — deschideți pagina pe un computer pentru a-l folosi.",noticeDismiss:"Închide",countryPosterTooMany:"Prea multe popoare pentru a încăpea lizibil pe un singur afiș — lucrăm la o soluție."},"./locales/ro/pins.json":{approximate:"Punctul arată unde se află acest popor, nu un oraș sau o graniță.",sharedPoint:"Se află în același punct cu {names} — {n} grupuri împart această coordonată, deci poziția arată zona, nu unde se află fiecare grup."},"./locales/ro/popup.json":{country:{wagfRegion:"Regiunea WAGF",wagfBlock:"Blocul WAGF",country:"Țară",uupgCount:"Număr de UUPG"}},"./locales/ro/religion.json":{family:{Christianity:"Creștinism",Islam:"Islam",Hinduism:"Hinduism",Buddhism:"Budism",Ethnoreligion:"Etnoreligie",Judaism:"Iudaism",Sikhism:"Sikhism",Unaffiliated:"Fără afiliere",Other:"Altele",Unknown:"Necunoscută"}},"./locales/ro/search.json":{placeholder:"Popor, loc, limbă, religie",placeholderNoPlaces:"Popor, limbă, religie (căutarea locurilor necesită un token Mapbox)",labels:{people:"Popor:",place:"Loc:",language:"Limbă:",religion:"Religie:"},sections:{within:"În {selection}",allData:"Toate datele DOXA"},kinds:{people:"Popor + țară",peopleGroup:"Popor",bloc:"Bloc de afinitate",cluster:"Grup de popoare",country:"Țară",region:"Regiune",family:"Familie de limbi",languageKind:"Limbă",dialect:"Dialect",religionKind:"Religie"},upg100Placeholder:"Caută popor, listă UPG-100 sau regiune…",tabPlaceholder:{languageFamilies:"Caută familie de limbi, limbă, dialect/variantă",affinityBlocks:"Caută bloc de afinitate, grup, popor",regions:"Caută regiune, țară, popor",religion:"Caută religie, popor"},placeholderRegions:"Caută regiune, țară sau popor"},"./locales/ro/share.json":{embed_link:"Link de încorporare",add_to_website:"Adaugă pe site-ul tău",embed_paste_hint:"Lipește acest cod în constructorul site-ului tău (WordPress, Squarespace, Wix sau orice site care acceptă widget-uri HTML)."},"./locales/ro/tabs.json":{prayer:"Rugăciune",adoption:"Adopție",engagement:"Implicare","affinity-blocks":"Popoare",regions:"Regiuni",countries:"Țări","language-families":"Limbi",religion:"Religii",family:"Familie de limbi",language:"Limbă",dialect:"Dialect/Variantă",bloc:"Bloc de afinitate",cluster:"Grup",group:"Popor",pgic:"Popor în țară",region:"Regiune WAGF",block:"Bloc WAGF",country:"Țară",upg100Region:"Regiune",upg100Zone:"Liste UPG-100",upg100Group:"Grup etnic",selectView:"Alege vizualizarea",views:"Vizualizări",prayerResources:"Resurse de rugăciune",map:"Hartă",countryPosters:"Afișe pe țări"},"./locales/ro/wall.json":{title:"Zidul popoarelor",toPortrait:"📱 Treci la portret",toLandscape:"🖼️ Treci la peisaj",currentLandscape:"Actual: peisaj (4 × 3 picioare)",currentPortrait:"Actual: portret (3 × 4 picioare)",resetZoom:"Resetează zoomul",groupsLoaded:"Încărcate: {n}",loading:"Se încarcă popoarele…",offlineTitle:"Datele de rugăciune în timp real nu pot fi accesate.",offlineBody:"Zidul își citește popoarele de pe pray.doxa.life. Poate sunteți offline sau, pe un server de dezvoltare local, API-ul nu permite adresa acestei pagini.",tryAgain:"Încearcă din nou",prayedCount:"Au rugat: {n}",viewPrayers:"Vezi rugăciunile",prayerTools:"Instrumente de rugăciune",close:"Închide",unknown:"Necunoscut",unknownGroup:"Popor necunoscut",status:"Stare:",unengaged:"neatins",prayingNow:"Vă rugați acum pentru acest popor?",yesPraying:"Da, mă rog",thankYou:"Mulțumim că vă rugați!",sharePrayer:"Împărtășiți rugăciunea (opțional)",prayerPlaceholder:"Scrieți rugăciunea aici…",sendPrayer:"Trimite rugăciunea",peopleGroup:"Popor",chatsTitle:"Conversațiile poporului",id:"ID:",location:"Locație:",na:"N/A",havePrayed:"Au rugat: {n}",youPrayed:"✓ V-ați rugat!",prayForGroup:"🙏 Roagă-te pentru acest popor",prayersComments:"Rugăciuni și comentarii",noComments:"Încă nu există rugăciuni sau comentarii. Fiți primul!",commentPlaceholder:"Împărtășiți rugăciunea sau gândurile…",postComment:"Publică comentariul",noPeopleId:"Acest popor nu are PeopleID3",statusUnknown:"Stare necunoscută",printPoster:"🖨️ Tipărește afișul HD",printPreparing:"Se pregătește afișul: {n} din {total} fotografii",printMissing:"Fotografii care nu s-au putut încărca: {n}. Se tipăresc ca pătrate gri.",blessBanner:"Binecuvântați națiunile în Numele lui Isus",modeLabel:"Modul zidului",modeBless:"Binecuvântare",modeSocial:"Social",shareSoon:"Partajarea vine mai târziu.",drawLibError:"Zidul nu și-a putut încărca biblioteca de desen:",posterSize:"Dimensiunea afișului",posterSubtitle:"DOXA (δόξα) înseamnă slavă. O mișcare globală de rugăciune binecuvântează aceste {n} grupuri de popoare în Numele lui Isus. Aflați mai multe și alăturați-vă pe pray.doxa.life.",glueHere:"lipiți aici foaia de deasupra",themesLabel:"Teme de rugăciune",oldTestament:"Vechiul Testament",newTestament:"Noul Testament",themeTreasure:"Comoară",themeMountain:"Munte",themeSea:"Mare",posterClosing:"Isus Hristos este piatra din capul unghiului, iar noi suntem pietre vii. Aceste popoare sunt răsplata suferinței Lui. Să ne asumăm chemarea preoțească: să le binecuvântăm în Numele Lui și să ne alăturăm familiei globale în rugăciune.",journeyCalled:"Chemarea",journeyPromised:"Promisiunea",journeyRedeemed:"Răscumpărați",journeyCornerstone:"Piatra din capul unghiului",journeyChildren:"Copiii lui Avraam",journeyPriesthood:"O preoție împărătească",journeySent:"Trimiși la cei pierduți",peopleGroupCount:"{n} popor | {n} popoare | {n} de popoare",listCount:"{n} listă | {n} liste | {n} de liste",stockCard:"Card",stockPostcard:"Carte poștală",stockLandscape:"orizontal",hud:{kindPoster:"Afiș",kindList:"Listă",kindPacket:"Pachet de rugăciune",fetchingPoster:"se preia afișul",generatingPoster:"se generează afișul",openingPrint:"se deschide fereastra de tipărire",printOpened:"fereastra de tipărire s-a deschis",saving:"se salvează",fetchingRecords:"se preiau datele",fetchingGroups:"se preiau popoarele",layingOutRows:"se așază {n} rând | se așază {n} rânduri | se așază {n} de rânduri",layingOutCards:"se așază {n} carte | se așază {n} cărți | se așază {n} de cărți",printingGroups:"se tipărește {n} popor | se tipăresc {n} popoare | se tipăresc {n} de popoare",kindCardDeck:"Pachet de cartonașe",kindPrayerList:"Listă de rugăciune",saved:"salvat",noRecords:"lista nu conține popoare de tipărit",noPoster:"nu există un afiș disponibil pentru această listă",posterNotFound:"afișul nu a fost găsit ({status})",posterBlank:"afișul generat a ieșit gol",noApi:"niciun serviciu de popoare nu este configurat",fetchFailed:"popoarele nu au putut fi încărcate ({status})"},posterAlt:"{label} — afiș de rugăciune",posterAltAction:"{label} — afiș de rugăciune (clic pentru previzualizare și tipărire)"},"./locales/ru/allPeopleGroups.json":{title:"Все народы",locations:"{n} мест (народ × страна)",doxa:"Народы DOXA",frontier:"Рубежные — ничего не начато",unreached:"Недостигнутые — работа начинается",reached:"Достигнутые — церковь есть",hint:"Нажмите на строку, чтобы увидеть все · ещё раз — чтобы показать всё",loading:"Загрузка всех народов…",loadError:"Не удалось загрузить карту.",pray:"Молиться за них →",population:"нас. {n}"},"./locales/ru/aria.json":{backToLegend:"Назад к легенде",closeDetailView:"Закрыть подробный вид",collapseLegend:"Свернуть легенду",expandLegend:"Развернуть легенду",toggleLegend:"Показать или скрыть легенду",searchPeopleGroups:"Поиск народов",resetAllFilters:"Сбросить все фильтры и поиск",selectAllRows:"Выбрать все строки",deselectAllRows:"Снять выделение со всех строк",rowDetail:"Подробности строки",dismissHint:"Скрыть подсказку",resizeFiltersRail:"Изменить размер панели фильтров",resizeFiltersRailHint:"Перетащите или используйте клавиши со стрелками, чтобы изменить размер панели фильтров",resizeChartsRail:"Изменить размер панели диаграмм",resizeChartsRailHint:"Перетащите или используйте клавиши со стрелками, чтобы изменить размер панели диаграмм",resizeMapTableSplit:"Изменить соотношение карты и таблицы",resizeMapTableSplitHint:"Перетащите или используйте клавиши со стрелками, чтобы изменить соотношение карты и таблицы",resizeTable:"Изменить высоту таблицы",resizeTableHint:"Перетащите или используйте клавиши со стрелками, чтобы изменить размер таблицы",resizeDashboardHeight:"Изменить высоту панели",resizeDashboardHeightHint:"Перетащите или используйте клавиши со стрелками, чтобы изменить высоту панели",removeFilter:"Удалить фильтр {name}",closeDetail:"Закрыть подробности",filterBreadcrumb:"Цепочка фильтров",railViews:"Виды панели",upgCountLegend:"Легенда количества UPG",donutChart:"Кольцевая диаграмма: {title}"},"./locales/ru/buttons.json":{prayForThem:"Молитесь о них",adoptThem:"Усыновите их",moreInfo:"Подробнее",zoomIn:"Приблизить",zoomOut:"Отдалить",switchToLightMode:"Переключить на светлый режим",switchToDarkMode:"Переключить на тёмный режим",resetView:"Сбросить вид",toggleFullscreen:"Полноэкранный режим",aboutThisMap:"Об этой карте",closeMenu:"Закрыть меню",reloadMap:"Перезагрузить карту",showClusters:"Показать кластеры",clusterSettings:"Настройки кластеров",startAutoFly:"Начать авто-полёт",stopFlight:"Остановить полёт",speedLabel:"Скорость:",speedOption:{slow:"Медленно",normal:"Нормально",fast:"Быстро"},shareEmbed:"Поделиться и встроить",posterMap:"Карта плаката",prayerList:"Молитвенный список",cardDeck:"Набор карточек",printOptions:"Параметры печати",showOnMap:"Показать на карте",close:"Закрыть",showOnMapAria:"Показать {label} на карте",cardStockAria:"Размер молитвенной карточки",previewPrintPoster:"Просмотр и печать плаката {label}",share:"Поделиться",shareSteps:["Разместите эту карту на своём сайте","Составьте список сайтов вашего города","Научите их тоже размещать её","Научите их учить других размещать её","Умножим карты повсюду для Иисуса!"],clearSelection:"Снять выделение",noOptions:"Ничего не найдено",renderingLocal:"Изображение типографского качества создаётся в вашем браузере — ничего не загружается на сервер.",postersPerRow:"Плакатов в ряду",packetVariantAria:"Детализация молитвенного пакета",packetFull:"Полная версия",packetLightweight:"Краткая версия",working:"Выполняется…",postersPerRowAuto:"Авто"},"./locales/ru/controls.json":{research_controls:"Инструменты исследования",clustering:"Кластеризация",filters:"Фильтры",pin_dim:"Прозрачность точек",export_poster:"Экспорт постера…",reload_data:"Обновить данные",off:"Выкл.",native:"Встроенная",mst:"MST",network:"Сеть",off_desc:"Показывать каждую точку отдельно",native_desc:"Круговые кластеры Mapbox (быстрее всего)",mst_desc:"Сети родства по минимальному остовному дереву",network_desc:"Линии до ближайшего соседа",search_languages:"Поиск языков…",search_religions:"Поиск религий…",reset_all:"Сбросить всё",no_languages:"Языки ещё не загружены",no_religions:"Религии ещё не загружены",unadopted:"Не усыновлён",min:"мин",max:"макс",adopted:"Ответственность взята",adoption:"Усыновление",engaged:"Вовлечён",engagement:"Вовлечённость",unengaged:"Нуждается в вовлечённости",language:"Язык",religion:"Религия",population:"Население",any:"Любой",active_count:"{n} активно",prayer_status:"Статус молитвы",close:"Закрыть",clear:"Очистить",map_controls:"Элементы управления картой",clusters:"Кластеры",mst_full_name:"Минимальное остовное дерево",mst_hint:"нажмите строку легенды, чтобы сгруппировать только эту группу"},"./locales/ru/dashboard.json":{bloc:"Блок родства",gospel_access:"Доступ к Евангелию",people:"Народы",people_name:"Народ (название)",praying:"Молятся",religion_family:"Семья религий",search_language:"Поиск языка",search_people:"Поиск народа",search_place:"Поиск места",search_religion:"Поиск религии",upgs_in_scope:"UPG в выборке",countries_touched:"затронутых стран",unreached:"неохваченные",sum_population:"Σ население",sum_praying:"Σ молящихся",charts:"Графики",table:"Таблица",cluster:"Кластер",country:"Страна",engagement:"Вовлечённость",language:"Язык",language_family:"Языковая семья",people_group:"Народ",population:"Население",prayer:"Молитва",region:"Регион",religion:"Религия",status:"Статус",adopted:"Ответственность взята",filters:"Фильтры",gospel_resources:"Евангельские ресурсы",map:"Карта",search_placeholder:"Поиск народов, мест, языков, религий…",any:"Любой",active_count:"{n} активно",prayer_status:"Статус молитвы",map_controls:"Элементы управления картой",close:"Закрыть",clear:"Очистить",dashboard_title:"Обзорная исследовательская панель",align_dashboard:"Выровнять панель",align_dashboard_tip:"Вернуть расположение панели к виду по умолчанию",selected:"Выбрано",world:"Мир",vertical_legend:"Вертикальная легенда",groups_in_scope:"народов в выборке",filter_by:"Фильтровать по",remove_filter:"Убрать фильтр",groups:"народов",expand:"Развернуть",collapse:"Свернуть",place:"Место",export_csv:"Экспорт CSV",detail:"Подробности",detail_empty:"Выберите народ, чтобы увидеть подробности",heartbeat_zone:"зона сердцебиения",top_countries:"Основные страны",select_all:"Выбрать все",expand_table:"Развернуть таблицу",collapse_table:"Свернуть таблицу — увеличить карту",group:"народ",deselect_all:"Снять выделение",results_live:"Показано {count} из {total} {unit}",filters_live:"Фильтры: {list}",search_live:"Поиск: {term}",adopted_by_churches:"Взяты церквями",bp_title:"Общая картина — единая исследовательская панель",bp_subtitle:"Поиск и фильтрация народов мира · наименее охваченные первыми",export_selection:"Экспортировать этот выбор",map_loading:"Загрузка исследовательской карты…",no_match:"Нет народов, соответствующих «{q}».",no_photo:"Нет фото",only_selected:"Только выбранные",only_selected_hint:"Показывать только выбранные народы",people_committed:"Взявшие обязательство",people_praying:"Молящиеся",selected_first:"Выбранные сначала",selected_first_hint:"Поднять выбранные народы наверх, сохранив сортировку столбцов",n_shown:"{n} показано",other:"Другое",wagfRegion:{africa:"Африка",asia:"Азия",europe:"Европа","latin_america_&_caribbean":"Латинская Америка",oceania:"Океания",middle_east:"Ближний Восток","north_america_&_non-spanish_caribbean":"Северная Америка и неиспаноязычные Карибы"},sort_by_column_hint:"Сортировать таблицу по столбцу «{column}» — Shift+щелчок добавляет второй столбец. Сортировка меняет порядок только в таблице; карточки сохраняют свой порядок.",fs_exit_hint:"Выйти из полноэкранного режима (Esc) — вернуться к семи строкам",fs_open_hint:"Открыть эту таблицу на весь экран",fs_exit:"Выйти из полноэкранного режима",fs_open:"Открыть таблицу на весь экран",export_selected_hint:"Экспорт всех полей — выбрано народов: {n}",export_all_hint:"Экспорт всех полей — народов: {n}",map_init_failed:"Карта не запустилась. Проверьте токен доступа и контейнер карты.",show_filters:"Показать фильтры",hide_filters:"Скрыть фильтры — расширить карту",show_charts:"Показать диаграммы",hide_charts:"Скрыть диаграммы — расширить карту",export_copied:"скопировано в буфер обмена",export_done:"экспортировано",export_ready:"готово",export_toast:"✓ {rows} строк × {fields} полей {how}",export_failed:"✕ Не удалось экспортировать",pray_for_group:"Молиться об этом народе",more_information:"Подробнее",title:"Исследовательская панель",gospel_pending:"Пока не готово: число непросвещённых, ключ к источнику данных и вид интерфейса ещё определяются."},"./locales/ru/detail.json":{labels:{country:"Страна:",population:"Население:",language:"Язык:",religion:"Религия:",languageFamily:"Языковая семья:",peopleCommitted:"Обязались молиться:"},messages:{noDescription:"Описание недоступно."}},"./locales/ru/grid.json":{search:"Поиск народов…",hide_filters:"Скрыть фильтры",show_filters:"Показать фильтры",total:"Всего",showing:"Показано",load_more:"Показать ещё",full_profile:"Полный профиль",wagf_region:"Регион",wagf_block:"Блок родства",rop1:"Народ",religion:"Религия",exact_filter:"Точное совпадение",clear_all:"Очистить всё",loading:"Загрузка…",no_results:"Нет народов, соответствующих этому фильтру.",type_to_search:"Введите для поиска...",load_failed:"Не удалось загрузить данные о народах. Это проблема соединения, а не фильтра.",search_people_or_countries:"Поиск народов или стран…",cards_per_row:"Карточек в ряду",cards_per_row_auto:"Авто"},"./locales/ru/legend.json":{title:{adoption:"Прогресс усыновления",affinityBlocs:"Блоки родства",doxaRegions:"Регионы Doxa",engagement:"Прогресс вовлечённости",gospelResources:"Евангельские ресурсы",languageFamilies:"Языковые семьи",prayer:"Прогресс молитвы",upg100List:"Мой список UPG 100",batchSelect:"Множественный выбор"},header:{collapsed:"Условные обозначения",peopleGroupFallback:"Народная группа",default:"Легенда"},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:"Языки"},tabInfo:{upg100Region:"Регион — сортирует списки UPG-100 по частям света (Африка, Индия, Ближний Восток, Глухие, …). Числа — это UUPG и население, просуммированные по всем спискам внутри.",upg100Zone:"Списки UPG-100 — каждый представляет собой молитвенный список непросвещённых народов области и именно он отображается и раскрашивается на карте. Каждый список печатается отдельным буклетом.",upg100Group:"Народ — отдельные непросвещённые народы внутри списка, сначала с наибольшей нуждой в молитве. Каждая точка на карте — один из них.",family:"Языковая семья — группа языков, восходящих к общему предку (например, индоевропейская, афразийская).",language:"Язык — система общения, которой пользуется народ (например, арабский, бенгальский, хинди).",dialect:"Диалект/вариант — областная или социальная форма языка (например, суданский арабский; пакистанский жестовый язык).",bloc:"Блок родства — самое широкое объединение, по культурному, языковому и географическому родству (например, малайские народы, народы Южной Азии, глухие, арабский мир).",cluster:"Кластер — более дробное объединение внутри блока (например, Борнео-Калимантан среди малайских народов). Строки помечены «(кластер)», чтобы отличать их от народов.",group:"Народ — этноязыковая общность сама по себе, независимо от страны. Строки помечены «(народ)». Один народ может жить во многих странах (глухие, например, более чем в ста).",pgic:"Народ в стране — по строке на каждый народ в каждой стране его проживания (например, «Абай-Сунгай, Малайзия»). Строки помечены «(народ в стране)».",region:"Регион WAGF — макрорегион, к которому относится страна (например, Азия, Африка). У каждого свой цвет на карте.",block:"Блок WAGF — подгруппа внутри региона (например, Юго-Восточная Азия, Западная Африка).",country:"Страна — отдельные страны, упорядоченные по непросвещённому населению внутри своего блока."},a11y:{expandRow:"Развернуть {label}",collapseRow:"Свернуть {label}",clearSelection:"Снять выделение",goUp:"Вверх: {label}"},export:{poster:"Плакат",packet:"UPG 100",packetExplain:"Молитвенный список примерно из 50–100 неохваченных народов — один человек может взять один.",packetAria:"Детализация молитвенного пакета",packetFull:"Полная версия",packetLightweight:"Краткая версия"},noDataAtThisLevel:"На этом уровне нет данных",exportButton:"Экспорт",exportSelection:"Экспортировать выбранное",loadingRows:"Загрузка {label}…",loadingData:"Загрузка данных…",showingTop:"Показаны первые {n} из {m}",useGeocoderHint:"используйте поиск выше, чтобы найти остальные",noList:"Список не загружен."},"./locales/ru/lists.json":{doxa:{label:"Проект 2000: народы DOXA",definition:"Народы, которым служит DOXA, как их даёт её живой список"},unreached:{label:"Проект 7000: недостигнутые народы",definition:"Приоритет потерянности IMB 0–2 (пограничные, первопроходческие или расширяющиеся недостигнутые: менее 2% евангельских христиан)"},frontier:{label:"Проект 4700: пограничные народы",definition:"Приоритет потерянности IMB 0 (пограничные недостигнутые: 0,1% евангельских христиан или меньше)"},"frontier-500k":{label:"Проект 700: пограничные народы численностью от 500 000",definition:"Приоритет потерянности IMB 0 и численность не менее 500 000"},unengaged:{label:"Недостигнутые народы без служения",definition:"Приоритет потерянности IMB 0–2 и статус служения: без служения"}},"./locales/ru/mapui.json":{map:"Карта",marker:"Метка на карте",closePopup:"Закрыть окно",zoomIn:"Приблизить",zoomOut:"Отдалить",resetBearing:"Перетащите, чтобы повернуть карту; нажмите, чтобы вернуть север",toggleAttribution:"Показать/скрыть источники",mapFeedback:"Отзыв о карте",enterFullscreen:"Во весь экран",exitFullscreen:"Выйти из полноэкранного режима",findMyLocation:"Найти моё местоположение",locationNotAvailable:"Местоположение недоступно",enableGlobe:"Включить глобус",disableGlobe:"Выключить глобус",ctrlScroll:"Используйте Ctrl + прокрутку для масштабирования карты",cmdScroll:"Используйте ⌘ + прокрутку для масштабирования карты",twoFingers:"Используйте два пальца, чтобы перемещать карту",mapboxHomepage:"Главная страница Mapbox",maplibreLogo:"Логотип MapLibre"},"./locales/ru/messages.json":{menuComingSoon:"Меню скоро появится",pinHint:{tapDot:"Нажмите на цветную точку — кому-то всё ещё нужна молитва"},upg100WallHeading:"Мой список UPG 100 — молитвенные списки и плакаты",upg100WallTag:"Молитвенная мобилизация",upg100WallIntroA:"Как накормить толпу в пять тысяч человек? Иисус рассадил их группами по пятьдесят и по сто, и невозможное стало посильным (Лк. 9:14). Мы поступили так же с 2 106 неохваченными народами: 27 списков примерно по пятьдесят-сто. Каждый список печатается как молитвенный пакет и плакат, чтобы 27 учеников, церквей или местных служителей взяли по одному — молясь о них ",upg100WallIntroEmph:"по имени их народа",upg100WallIntroB:".",loadingNamed:"Загрузка {name}…",couldNotLoadNamed:"Не удалось загрузить {name}.",engineMissing:"Картографический движок {engine} не загрузился.",packetFailed:"Не удалось создать буклет: {reason}",selectionPacketFailed:"Не удалось создать буклет выбора: {reason}",posterOneTerritory:"Плакат печатает по одной территории — выбрано {count}.",selectionPosterFailed:"Не удалось создать плакат выбора: {reason}",mapUnavailable:"Карта недоступна",copied:"Скопировано!",copyFailed:"Не удалось скопировать — нажмите Ctrl/Cmd-C",engineNotLoaded:"движок карты не загружен",engineNotLoadedDetail:"Движок карты {engine} не загрузился. Список и легенда не затронуты.",viewLoadFailed:"Не удалось загрузить этот раздел.",retry:"Повторить",noMapboxToken:"Нет токена Mapbox",noMapboxTokenDetail:"Токен Mapbox не настроен. Список и легенда не затронуты.",loadingBoundaries:"Загрузка границ…",fetchingUupgs:"Загрузка UUPG: {n}…",mapStatusCounts:"Области: {polys} · зоны: {zones}/{total} · метки: {pins}",tapTerritoriesHint:"Нажимайте на территории на карте или строки легенды, чтобы добавить · нажмите ещё раз, чтобы убрать",territoriesSelected:"Территории: {count}",bandInRange:"✓ диапазон 50–100",bandOutOfRange:"диапазон 50–100",mapContextLost:"Эта карта выгружена, чтобы освободить графическую память.",nOfTotal:"{n} из {total}",mapInitFailed:"Не удалось инициализировать карту — проверьте токен и контейнер",countryWallIntroA:"Один плакат на страну — чтобы молиться, распечатать и повесить на стену, молясь за них ",countryWallIntroB:". Регионы и страны упорядочены по числу неохваченных народов, чтобы самая большая нужда стояла первой.",countryWallSoon:"Скоро: для каждой страны будет создан молитвенный список с названием каждого неохваченного народа в ней.",countryWallHeading:"Плакаты по странам — молитвенные списки и плакаты",largerScreenNotice:"Эта экспериментальная карта рассчитана на большие экраны. Она откроется, но на телефоне часть элементов может не поместиться или работать плохо.",desktopOnlyNotice:"{label} работает только на компьютере — откройте эту страницу на компьютере.",noticeDismiss:"Закрыть",countryPosterTooMany:"Слишком много народов, чтобы разборчиво уместить их на одном плакате, — решение готовится."},"./locales/ru/pins.json":{approximate:"Точка показывает, где живёт этот народ, а не город и не границу.",sharedPoint:"Она совпадает с точкой {names} — {n} групп делят эту координату, поэтому положение указывает местность, а не где какая группа."},"./locales/ru/popup.json":{country:{wagfRegion:"Регион WAGF",wagfBlock:"Блок WAGF",country:"Страна",uupgCount:"Число UUPG"}},"./locales/ru/religion.json":{family:{Christianity:"Христианство",Islam:"Ислам",Hinduism:"Индуизм",Buddhism:"Буддизм",Ethnoreligion:"Этнорелигия",Judaism:"Иудаизм",Sikhism:"Сикхизм",Unaffiliated:"Не принадлежат",Other:"Другое",Unknown:"Неизвестно"}},"./locales/ru/search.json":{placeholder:"Народ, место, язык, религия",placeholderNoPlaces:"Народ, язык, религия (для поиска мест нужен токен Mapbox)",labels:{people:"Народ:",place:"Место:",language:"Язык:",religion:"Религия:"},kinds:{people:"Народ + страна",peopleGroup:"Народ",bloc:"Блок родства",cluster:"Кластер народов",country:"Страна",region:"Регион",family:"Языковая семья",languageKind:"Язык",dialect:"Диалект",religionKind:"Религия"},sections:{within:"В пределах {selection}",allData:"Все данные DOXA"},upg100Placeholder:"Поиск народа, списка UPG-100 или региона…",tabPlaceholder:{languageFamilies:"Поиск по языковой семье, языку, диалекту/варианту",affinityBlocks:"Поиск по блоку родства, кластеру, народу",regions:"Поиск по региону, стране, народу",religion:"Поиск по религии, народу"},placeholderRegions:"Поиск региона, страны или народа"},"./locales/ru/share.json":{embed_link:"Ссылка для встраивания",add_to_website:"Добавить на ваш сайт",embed_paste_hint:"Вставьте этот код в конструктор вашего сайта (WordPress, Squarespace, Wix или любой сайт, принимающий HTML-виджеты)."},"./locales/ru/tabs.json":{prayer:"Молитва",adoption:"Усыновление",engagement:"Вовлечённость","affinity-blocks":"Народы",regions:"Регионы",countries:"Страны","language-families":"Языки",religion:"Религии",family:"Языковая семья",language:"Язык",dialect:"Диалект/вариант",bloc:"Блок родства",cluster:"Кластер",group:"Народ",pgic:"Народ в стране",region:"Регион WAGF",block:"Блок WAGF",country:"Страна",upg100Region:"Регион",upg100Zone:"Списки UPG-100",upg100Group:"Народ",selectView:"Выбрать вид",views:"Виды",prayerResources:"Молитвенные ресурсы",map:"Карта",countryPosters:"Плакаты по странам"},"./locales/ru/wall.json":{title:"Стена народов",toPortrait:"📱 Портретный вид",toLandscape:"🖼️ Альбомный вид",currentLandscape:"Сейчас: альбомный (4 × 3 фута)",currentPortrait:"Сейчас: портретный (3 × 4 фута)",resetZoom:"Сбросить масштаб",groupsLoaded:"Загружено: {n}",loading:"Загрузка народов…",offlineTitle:"Не удалось получить данные о молитвах.",offlineBody:"Стена берёт народы с pray.doxa.life. Возможно, нет подключения, или на локальном сервере разработки API не разрешает адрес этой страницы.",tryAgain:"Повторить",prayedCount:"Помолились: {n}",viewPrayers:"Смотреть молитвы",prayerTools:"Молитвенные инструменты",close:"Закрыть",unknown:"Неизвестно",unknownGroup:"Неизвестный народ",status:"Статус:",unengaged:"неохваченный",prayingNow:"Вы сейчас молитесь за этот народ?",yesPraying:"Да, молюсь",thankYou:"Спасибо за молитву!",sharePrayer:"Поделитесь молитвой (необязательно)",prayerPlaceholder:"Напишите молитву здесь…",sendPrayer:"Отправить молитву",peopleGroup:"Народ",chatsTitle:"Беседы о народе",id:"ID:",location:"Место:",na:"нет данных",havePrayed:"Помолились: {n}",youPrayed:"✓ Вы помолились!",prayForGroup:"🙏 Помолиться за этот народ",prayersComments:"Молитвы и комментарии",noComments:"Пока нет молитв и комментариев. Будьте первым!",commentPlaceholder:"Поделитесь молитвой или мыслями…",postComment:"Опубликовать",noPeopleId:"У этого народа нет PeopleID3",statusUnknown:"Статус неизвестен",printPoster:"🖨️ Печать плаката HD",printPreparing:"Подготовка плаката: {n} из {total} фото",printMissing:"Не удалось загрузить фото: {n}. Они будут напечатаны серыми прямоугольниками.",blessBanner:"Благословляйте народы во имя Иисуса",modeLabel:"Режим стены",modeBless:"Благословение",modeSocial:"Соцсеть",shareSoon:"Возможность поделиться появится позже.",drawLibError:"Стене не удалось загрузить библиотеку рисования:",posterSize:"Размер плаката",posterSubtitle:"DOXA (δόξα) означает «слава». Всемирное молитвенное движение благословляет эти {n} народов во имя Иисуса. Узнайте больше и присоединяйтесь: pray.doxa.life.",glueHere:"приклейте сюда верхний лист",themesLabel:"Молитвенные темы",oldTestament:"Ветхий Завет",newTestament:"Новый Завет",themeTreasure:"Сокровище",themeMountain:"Гора",themeSea:"Море",posterClosing:"Иисус Христос — краеугольный камень, а мы — живые камни. Эти народы — награда за Его страдания. Примем наше священническое призвание: благословляйте их во имя Его и присоединяйтесь к всемирной молитвенной семье.",journeyCalled:"Призвание",journeyPromised:"Обетование",journeyRedeemed:"Искуплены",journeyCornerstone:"Краеугольный камень",journeyChildren:"Дети Авраама",journeyPriesthood:"Царственное священство",journeySent:"Посланы к погибшим",peopleGroupCount:"{n} народ | {n} народа | {n} народов | {n} народа",listCount:"{n} список | {n} списка | {n} списков | {n} списка",stockCard:"Карточка",stockPostcard:"Открытка",stockLandscape:"альбомная",hud:{kindPoster:"Плакат",kindList:"Список",kindPacket:"Молитвенный пакет",fetchingPoster:"загрузка плаката",generatingPoster:"создание плаката",openingPrint:"открытие окна печати",printOpened:"окно печати открыто",saving:"сохранение",fetchingRecords:"загрузка данных",fetchingGroups:"загрузка народов",layingOutRows:"раскладка {n} строки | раскладка {n} строк | раскладка {n} строк | раскладка {n} строки",layingOutCards:"раскладка {n} карточки | раскладка {n} карточек | раскладка {n} карточек | раскладка {n} карточки",printingGroups:"печать {n} народа | печать {n} народов | печать {n} народов | печать {n} народа",kindCardDeck:"Набор карточек",kindPrayerList:"Молитвенный список",saved:"сохранено",noRecords:"в этом списке нет народов для печати",noPoster:"для этого списка нет плаката",posterNotFound:"плакат не найден ({status})",posterBlank:"созданный плакат получился пустым",noApi:"сервис народов не настроен",fetchFailed:"не удалось загрузить народы ({status})"},posterAlt:"{label} — молитвенный плакат",posterAltAction:"{label} — молитвенный плакат (нажмите, чтобы просмотреть и распечатать)"},"./locales/zh/allPeopleGroups.json":{title:"所有族群",locations:"{n} 个族群–国家位置",doxa:"DOXA 族群",frontier:"前沿族群 — 尚未开始",unreached:"未得之民 — 事工起步",reached:"已得之民 — 教会已在",hint:"点击一行查看全部 · 再次点击显示所有",loading:"正在加载所有族群…",loadError:"无法加载地图。",pray:"为他们祷告 →",population:"人口 {n}"},"./locales/zh/aria.json":{backToLegend:"返回图例",closeDetailView:"关闭详情视图",collapseLegend:"收起图例",expandLegend:"展开图例",toggleLegend:"显示或隐藏图例",searchPeopleGroups:"搜索民族",resetAllFilters:"重置所有筛选和搜索",selectAllRows:"选择所有行",deselectAllRows:"取消选择所有行",rowDetail:"行详情",dismissHint:"关闭提示",resizeFiltersRail:"调整筛选器栏大小",resizeFiltersRailHint:"拖动或使用方向键调整筛选器栏大小",resizeChartsRail:"调整图表栏大小",resizeChartsRailHint:"拖动或使用方向键调整图表栏大小",resizeMapTableSplit:"调整地图与表格的分隔",resizeMapTableSplitHint:"拖动或使用方向键调整地图与表格的分隔",resizeTable:"调整表格高度",resizeTableHint:"拖动或使用方向键调整表格大小",resizeDashboardHeight:"调整仪表板高度",resizeDashboardHeightHint:"拖动或使用方向键调整仪表板高度",removeFilter:"移除筛选条件 {name}",closeDetail:"关闭详情",filterBreadcrumb:"筛选路径",railViews:"栏视图",upgCountLegend:"UPG 数量图例",donutChart:"环形图:{title}"},"./locales/zh/buttons.json":{prayForThem:"为他们祷告",adoptThem:"认领他们",moreInfo:"更多信息",zoomIn:"放大",zoomOut:"缩小",switchToLightMode:"切换至浅色模式",switchToDarkMode:"切换至深色模式",resetView:"重置视图",toggleFullscreen:"切换全屏",aboutThisMap:"关于此地图",closeMenu:"关闭菜单",reloadMap:"重新加载地图",showClusters:"显示聚类",clusterSettings:"聚类设置",startAutoFly:"开始自动飞行",stopFlight:"停止飞行",speedLabel:"速度:",speedOption:{slow:"慢",normal:"正常",fast:"快"},shareEmbed:"分享与嵌入",posterMap:"海报地图",prayerList:"祷告名单",cardDeck:"祷告卡组",printOptions:"打印选项",showOnMap:"在地图上显示",close:"关闭",showOnMapAria:"在地图上显示 {label}",cardStockAria:"祷告卡片尺寸",previewPrintPoster:"预览并打印 {label} 海报",share:"分享",shareSteps:["把这张地图嵌入你的网站","列出你城市里的网站","教他们也嵌入这张地图","教他们去教别人嵌入","为耶稣让地图遍地繁增!"],clearSelection:"清除选择",noOptions:"未找到选项",renderingLocal:"正在您的浏览器中生成可打印质量的图片——不会上传任何内容。",postersPerRow:"每行海报数",packetVariantAria:"祷告手册详细程度",packetFull:"完整版",packetLightweight:"精简版",working:"处理中…",postersPerRowAuto:"自动"},"./locales/zh/controls.json":{research_controls:"研究控件",clustering:"聚类",filters:"筛选",pin_dim:"圆点淡化",export_poster:"导出海报…",reload_data:"重新加载数据",off:"关闭",native:"原生",mst:"MST",network:"网络",off_desc:"逐个显示每个圆点",native_desc:"Mapbox 圆形聚类(最快)",mst_desc:"最小生成树亲缘网络",network_desc:"最近邻连接线",search_languages:"搜索语言…",search_religions:"搜索宗教…",reset_all:"全部重置",no_languages:"尚未加载语言",no_religions:"尚未加载宗教",unadopted:"未认领",min:"最小",max:"最大",adopted:"已认领",adoption:"认领",engaged:"已参与",engagement:"参与",unengaged:"需要参与",language:"语言",religion:"宗教",population:"人口",any:"全部",active_count:"{n} 项启用",prayer_status:"代祷状态",close:"关闭",clear:"清除",map_controls:"地图控件",clusters:"聚类",mst_full_name:"最小生成树",mst_hint:"点击图例中的一行,仅对该组进行聚类"},"./locales/zh/dashboard.json":{bloc:"亲缘板块",gospel_access:"福音可及性",people:"民族",people_name:"民族(名称)",praying:"正在代祷",religion_family:"宗教族系",search_language:"搜索语言",search_people:"搜索民族",search_place:"搜索地点",search_religion:"搜索宗教",upgs_in_scope:"范围内的 UPG",countries_touched:"涉及国家",unreached:"未得之民",sum_population:"Σ 人口",sum_praying:"Σ 代祷",charts:"图表",table:"表格",cluster:"民族群",country:"国家",engagement:"参与",language:"语言",language_family:"语系",people_group:"民族",population:"人口",prayer:"祷告",region:"区域",religion:"宗教",status:"状态",adopted:"已认领",filters:"筛选",gospel_resources:"福音资源",map:"地图",search_placeholder:"搜索民族、地点、语言、宗教…",any:"全部",active_count:"{n} 项启用",prayer_status:"代祷状态",map_controls:"地图控件",close:"关闭",clear:"清除",dashboard_title:"全局研究仪表板",align_dashboard:"对齐仪表板",align_dashboard_tip:"将仪表板布局恢复为默认对齐",selected:"已选择",world:"世界",vertical_legend:"垂直图例",groups_in_scope:"个民族在范围内",filter_by:"筛选",remove_filter:"移除筛选",groups:"个民族",expand:"展开",collapse:"收起",place:"地点",export_csv:"导出 CSV",detail:"详情",detail_empty:"选择一个民族以查看详情",heartbeat_zone:"心跳区",top_countries:"主要国家",select_all:"全选",expand_table:"展开表格",collapse_table:"收起表格 — 放大地图",group:"个民族",deselect_all:"取消全选",results_live:"已显示 {total} 个{unit}中的 {count} 个",filters_live:"筛选条件:{list}",search_live:"搜索:{term}",adopted_by_churches:"已被教会认领",bp_title:"全局视图 — 统一研究仪表板",bp_subtitle:"搜索并筛选世界各民族 · 最少被触及的优先显示",export_selection:"导出此选择",map_loading:"正在加载研究地图…",no_match:"没有与“{q}”匹配的民族。",no_photo:"无照片",only_selected:"仅所选",only_selected_hint:"仅显示所选民族",people_committed:"已承诺的人数",people_praying:"祷告的人数",selected_first:"所选优先",selected_first_hint:"将所选民族置顶,同时保留您的列排序",n_shown:"显示 {n} 个",other:"其他",wagfRegion:{africa:"非洲",asia:"亚洲",europe:"欧洲","latin_america_&_caribbean":"拉丁美洲",oceania:"大洋洲",middle_east:"中东","north_america_&_non-spanish_caribbean":"北美及非西班牙语加勒比地区"},sort_by_column_hint:"按{column}排序此表 — Shift+单击可添加第二列。排序只影响表格;卡片保持各自的顺序。",fs_exit_hint:"退出全屏(Esc)— 返回七行视图",fs_open_hint:"全屏打开此表格",fs_exit:"退出全屏",fs_open:"全屏打开表格",export_selected_hint:"导出全部字段 — 已选民族:{n}",export_all_hint:"导出全部字段 — 民族:{n}",map_init_failed:"地图无法启动。请检查访问令牌与地图容器。",show_filters:"显示筛选",hide_filters:"隐藏筛选 —— 放大地图",show_charts:"显示图表",hide_charts:"隐藏图表 —— 放大地图",export_copied:"已复制到剪贴板",export_done:"已导出",export_ready:"已就绪",export_toast:"✓ {rows} 行 × {fields} 字段 {how}",export_failed:"✕ 导出失败",pray_for_group:"为这个民族祷告",more_information:"更多信息",title:"研究面板",gospel_pending:"尚未就绪:未得之民的数字、数据来源密钥与界面形式仍在确定中。"},"./locales/zh/detail.json":{labels:{country:"国家:",population:"人口:",language:"语言:",religion:"宗教:",languageFamily:"语系:",peopleCommitted:"承诺祷告人数:"},messages:{noDescription:"暂无描述。"}},"./locales/zh/grid.json":{search:"搜索民族…",hide_filters:"隐藏筛选",show_filters:"显示筛选",total:"总计",showing:"显示",load_more:"加载更多",full_profile:"完整档案",wagf_region:"区域",wagf_block:"亲缘板块",rop1:"民族",religion:"宗教",exact_filter:"精确",clear_all:"全部清除",loading:"加载中…",no_results:"没有符合此筛选条件的民族。",type_to_search:"输入以搜索...",load_failed:"无法加载民族数据。这是连接问题,而不是筛选问题。",search_people_or_countries:"搜索民族或国家…",cards_per_row:"每行卡片数",cards_per_row_auto:"自动"},"./locales/zh/legend.json":{title:{adoption:"认领进度",affinityBlocs:"亲缘板块",doxaRegions:"Doxa 区域",engagement:"参与进度",gospelResources:"福音资源",languageFamilies:"语系",prayer:"祷告进度",upg100List:"我的 UPG 100 名单",batchSelect:"批量选择"},header:{collapsed:"图例",peopleGroupFallback:"民族群体",default:"图例"},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:"人口",name:"名称"},footer:{total:"总计"},sortByUpgs:"按 UUPG 排序",sortByPop:"按人口排序",colLabel:{religion:"UUPG 宗教",prayer:"祷告状态",engagement:"参与状态",adoption:"认领状态",status:"状态"},titleBar:{legend:"图例",peopleGroups:"民族",wagfRegions:"WAGF 区域",languages:"语言"},tabInfo:{upg100Region:"区域 — 按世界区域排列 UPG-100 名单(非洲、印度、中东、聋人……)。数字是其下每份名单的 UUPG 与人口总和。",upg100Zone:"UPG-100 名单 — 每一份都是某地区未得之民的祷告名单,也是地图所绘制和上色的内容。每份名单印成独立的祷告册。",upg100Group:"族群 — 名单内各个未得之民群体,祷告需要最大的排在前面。地图上每个点就是其中之一。",family:"语系 —— 源自同一祖语的一组语言(如印欧语系、亚非语系)。",language:"语言 —— 一个民族所使用的交流系统(如阿拉伯语、孟加拉语、印地语)。",dialect:"方言/变体 —— 一种语言的地区性或社会性形式(如苏丹阿拉伯语;巴基斯坦手语)。",bloc:"亲缘板块 —— 最宽泛的分组,按文化、语言与地理上的亲缘关系划分(如马来诸族、南亚诸族、聋人、阿拉伯世界)。",cluster:"民族群 —— 板块之下更细的分组(如马来诸族中的婆罗洲-加里曼丹)。各行标有「(民族群)」,以与民族相区别。",group:"民族 —— 独立于国界的族群语言身份。各行标有「(民族)」。同一民族可分布于多国(例如聋人分布于一百多个国家)。",pgic:"国内民族 —— 每个民族在其所居各国各占一行(如「阿拜松盖,马来西亚」)。各行标有「(国内民族)」。",region:"WAGF 区域 —— 国家所属的大区(如亚洲、非洲)。地图上各有其颜色。",block:"WAGF 板块 —— 区域之下的次级分组(如东南亚、西非)。",country:"国家 —— 各个国家,按其板块内未得之民人口排列。"},a11y:{expandRow:"展开{label}",collapseRow:"折叠{label}",clearSelection:"清除选择",goUp:"返回上级:{label}"},export:{poster:"海报",packet:"UPG 100",packetExplain:"约 50 到 100 个未得之民的祷告名单——一个人就能领一份。",packetAria:"祷告手册详细程度",packetFull:"完整版",packetLightweight:"精简版"},noDataAtThisLevel:"此层级没有数据",exportButton:"导出",exportSelection:"导出所选内容",loadingRows:"正在加载{label}…",loadingData:"正在加载数据…",showingTop:"显示 {m} 个中的前 {n} 个",useGeocoderHint:"使用上方的搜索框查找其余内容",noList:"未加载任何列表。"},"./locales/zh/lists.json":{doxa:{label:"2000 计划:DOXA 服侍的族群",definition:"DOXA 服侍的族群,以其实时名单为准"},unreached:{label:"7000 计划:未得之民族群",definition:"IMB 失丧优先级 0–2(前沿、先锋或扩展中的未得之民:福音派少于 2%)"},frontier:{label:"4700 计划:前沿族群",definition:"IMB 失丧优先级 0(前沿未得之民:福音派 0.1% 或更少)"},"frontier-500k":{label:"700 计划:人口 50 万或以上的前沿族群",definition:"IMB 失丧优先级 0,且人口至少 50 万"},unengaged:{label:"尚无人参与的未得之民族群",definition:"IMB 失丧优先级 0–2,且参与状态为:无人参与"}},"./locales/zh/mapui.json":{map:"地图",marker:"地图标记",closePopup:"关闭弹窗",zoomIn:"放大",zoomOut:"缩小",resetBearing:"拖动以旋转地图,点击以恢复正北",toggleAttribution:"显示/隐藏数据来源",mapFeedback:"地图反馈",enterFullscreen:"全屏",exitFullscreen:"退出全屏",findMyLocation:"查找我的位置",locationNotAvailable:"无法获取位置",enableGlobe:"启用地球仪",disableGlobe:"停用地球仪",ctrlScroll:"使用 Ctrl + 滚轮缩放地图",cmdScroll:"使用 ⌘ + 滚轮缩放地图",twoFingers:"使用两根手指移动地图",mapboxHomepage:"Mapbox 主页",maplibreLogo:"MapLibre 标志"},"./locales/zh/messages.json":{menuComingSoon:"菜单即将推出",pinHint:{tapDot:"点按一个彩色圆点——仍有人需要祷告"},upg100WallHeading:"我的 UPG 100 名单 — 祷告名单与海报",upg100WallTag:"祷告动员",upg100WallIntroA:"你会怎样喂饱五千人的群众?耶稣让他们一排五十、一排一百地坐下,不可能的事就变得可以分担了(路加福音 9:14)。我们对 2,106 个未得之民做了同样的事:27 份名单,每份约五十到一百。每份名单都能印成祷告手册和海报,让 27 位门徒、教会或当地领袖各领一份 — 为他们祷告 ",upg100WallIntroEmph:"称呼他们族群的名字",upg100WallIntroB:"。",loadingNamed:"正在加载{name}…",couldNotLoadNamed:"无法加载{name}。",engineMissing:"{engine} 地图引擎未能加载。",packetFailed:"祷告册生成失败:{reason}",selectionPacketFailed:"所选内容的祷告册生成失败:{reason}",posterOneTerritory:"海报一次只能打印一个区域——已选 {count} 个。",selectionPosterFailed:"所选内容的海报生成失败:{reason}",mapUnavailable:"地图不可用",copied:"已复制!",copyFailed:"复制失败——请按 Ctrl/Cmd-C",engineNotLoaded:"地图引擎未加载",engineNotLoadedDetail:"{engine} 地图引擎未能加载。列表和图例不受影响。",viewLoadFailed:"此视图无法加载。",retry:"重试",noMapboxToken:"没有 Mapbox 令牌",noMapboxTokenDetail:"未配置 Mapbox 令牌。列表和图例不受影响。",loadingBoundaries:"正在加载边界…",fetchingUupgs:"正在获取 {n} 个 UUPG…",mapStatusCounts:"区域:{polys} · 分区:{zones}/{total} · 标记:{pins}",tapTerritoriesHint:"点按地图上的区域或图例行即可添加 · 再次点按即可移除",territoriesSelected:"区域:{count}",bandInRange:"✓ 50–100 区间",bandOutOfRange:"50–100 区间",mapContextLost:"已卸载此地图以释放显存。",nOfTotal:"{total} 个中的 {n} 个",mapInitFailed:"地图初始化失败——请检查令牌和容器",countryWallIntroA:"每个国家一张海报,可用来祷告、打印、贴在墙上——为他们祷告,",countryWallIntroB:"。各区域和国家按其中未得之民族群的数量排序,让最大的需要排在最前。",countryWallSoon:"即将推出:将为每个国家生成一份祷告名单,列出其中每一个未得之民族群的名字。",countryWallHeading:"国家海报 — 祷告名单与海报",largerScreenNotice:"这张实验性地图为大屏幕设计。它可以在这里打开,但部分内容在手机上可能显示不全或无法正常使用。",desktopOnlyNotice:"{label} 仅支持桌面端——请在电脑上打开此页面使用。",noticeDismiss:"关闭",countryPosterTooMany:"族群数量过多,无法清晰地放在一张海报上——我们正在制定解决方案。"},"./locales/zh/pins.json":{approximate:"此点标示该民族所在的地区,而非某个城镇或边界。",sharedPoint:"它与 {names} 位于同一点 — {n} 个群体共用此坐标,因此位置只表示所在地区,而非各群体的具体位置。"},"./locales/zh/popup.json":{country:{wagfRegion:"WAGF 地区",wagfBlock:"WAGF 区块",country:"国家",uupgCount:"UUPG 数量"}},"./locales/zh/religion.json":{family:{Christianity:"基督教",Islam:"伊斯兰教",Hinduism:"印度教",Buddhism:"佛教",Ethnoreligion:"民族宗教",Judaism:"犹太教",Sikhism:"锡克教",Unaffiliated:"无宗教归属",Other:"其他",Unknown:"未知"}},"./locales/zh/search.json":{placeholder:"民族、地点、语言、宗教",placeholderNoPlaces:"民族、语言、宗教(地点搜索需要 Mapbox 令牌)",labels:{people:"民族:",place:"地点:",language:"语言:",religion:"宗教:"},sections:{within:"在 {selection} 之內",allData:"所有 DOXA 资料"},kinds:{people:"民族 + 国家",peopleGroup:"民族",bloc:"亲缘板块",cluster:"民族群",country:"国家",region:"区域",family:"语系",languageKind:"语言",dialect:"方言",religionKind:"宗教"},upg100Placeholder:"搜索民族、UPG-100 名单或区域…",tabPlaceholder:{languageFamilies:"搜索语系、语言、方言/变体",affinityBlocks:"搜索亲缘板块、民族群、民族",regions:"搜索区域、国家、民族",religion:"搜索宗教、民族"},placeholderRegions:"搜索区域、国家或族群"},"./locales/zh/share.json":{embed_link:"嵌入链接",add_to_website:"添加到您的网站",embed_paste_hint:"将此代码粘贴到您的网站构建器中(WordPress、Squarespace、Wix,或任何接受 HTML 小部件的网站)。"},"./locales/zh/tabs.json":{prayer:"祷告",adoption:"认领",engagement:"参与","affinity-blocks":"民族",regions:"区域",countries:"国家","language-families":"语言",religion:"宗教",family:"语系",language:"语言",dialect:"方言/变体",bloc:"亲缘板块",cluster:"民族群",group:"民族",pgic:"国内民族",region:"WAGF 区域",block:"WAGF 板块",country:"国家",upg100Region:"区域",upg100Zone:"UPG-100 名单",upg100Group:"族群",selectView:"选择视图",views:"视图",prayerResources:"祷告资源",map:"地图",countryPosters:"国家海报"},"./locales/zh/wall.json":{title:"族群祷告墙",toPortrait:"📱 切换为纵向",toLandscape:"🖼️ 切换为横向",currentLandscape:"当前:横向(4 × 3 英尺)",currentPortrait:"当前:纵向(3 × 4 英尺)",resetZoom:"重置缩放",groupsLoaded:"已加载:{n}",loading:"正在加载族群…",offlineTitle:"无法获取实时祷告数据。",offlineBody:"祷告墙从 pray.doxa.life 读取族群。你可能已离线,或在本地开发服务器上 API 不允许此页面的地址。",tryAgain:"重试",prayedCount:"已祷告:{n}",viewPrayers:"查看祷告",prayerTools:"祷告工具",close:"关闭",unknown:"未知",unknownGroup:"未知族群",status:"状态:",unengaged:"未得之民",prayingNow:"你现在正在为这个族群祷告吗?",yesPraying:"是的,我在祷告",thankYou:"感谢你的祷告!",sharePrayer:"分享你的祷告(可选)",prayerPlaceholder:"在此输入你的祷告…",sendPrayer:"发送祷告",peopleGroup:"族群",chatsTitle:"族群交流",id:"ID:",location:"位置:",na:"无",havePrayed:"已祷告:{n}",youPrayed:"✓ 你已祷告!",prayForGroup:"🙏 为这个族群祷告",prayersComments:"祷告与评论",noComments:"还没有祷告或评论,来做第一个吧!",commentPlaceholder:"分享你的祷告或想法…",postComment:"发表评论",noPeopleId:"该族群没有 PeopleID3",statusUnknown:"状态未知",printPoster:"🖨️ 打印高清海报",printPreparing:"正在准备海报:已加载 {n} / {total} 张照片",printMissing:"无法加载的照片:{n} 张,将打印为灰色方框。",blessBanner:"奉耶稣的名祝福万国",modeLabel:"祷告墙模式",modeBless:"祝福",modeSocial:"社交",shareSoon:"分享功能稍后推出。",drawLibError:"祷告墙无法加载其绘图库:",posterSize:"海报尺寸",posterSubtitle:"DOXA(δόξα)意为“荣耀”。一场全球祷告运动正奉耶稣的名祝福这 {n} 个族群。了解更多并加入:pray.doxa.life。",glueHere:"在此处粘贴上方的纸张",themesLabel:"祷告主题",oldTestament:"旧约",newTestament:"新约",themeTreasure:"宝藏",themeMountain:"山",themeSea:"海",posterClosing:"耶稣基督是房角石,我们是活石。这些族群是他受苦所换来的赏赐。让我们担起君尊祭司的呼召:奉他的名祝福他们,并在祷告中加入全球大家庭。",journeyCalled:"蒙召",journeyPromised:"应许",journeyRedeemed:"蒙救赎",journeyCornerstone:"房角石",journeyChildren:"亚伯拉罕的子孙",journeyPriesthood:"有君尊的祭司",journeySent:"奉差遣寻找失丧的人",peopleGroupCount:"{n} 个族群",listCount:"{n} 份名单",stockCard:"卡片",stockPostcard:"明信片",stockLandscape:"横向",hud:{kindPoster:"海报",kindList:"名单",kindPacket:"祷告手册",fetchingPoster:"正在获取海报",generatingPoster:"正在生成海报",openingPrint:"正在打开打印窗口",printOpened:"打印窗口已打开",saving:"正在保存",fetchingRecords:"正在获取数据",fetchingGroups:"正在获取族群",layingOutRows:"正在排版 {n} 行",layingOutCards:"正在排版 {n} 张卡片",printingGroups:"正在打印 {n} 个族群",kindCardDeck:"祷告卡组",kindPrayerList:"祷告名单",saved:"已保存",noRecords:"该名单中没有可打印的族群",noPoster:"此名单没有可用的海报",posterNotFound:"未找到海报({status})",posterBlank:"生成的海报为空白",noApi:"未配置族群服务",fetchFailed:"无法加载族群({status})"},posterAlt:"{label} — 祷告海报",posterAltAction:"{label} — 祷告海报(点击预览并打印)"}}),go={};for(const[e,t]of Object.entries(Sy)){const o=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!o)continue;const[,n,a]=o;go[n]??(go[n]={}),go[n][a]=t}const Ig=(()=>{try{const e=typeof document<"u"&&document.currentScript&&document.currentScript.src||"";return e?e.split(/[?#]/)[0].replace(/[^/]+$/,""):""}catch{return""}})(),Og=typeof __DX_LOCALE_SRI__<"u"?__DX_LOCALE_SRI__:{},ui=new Map;let tc=null;const Ay=1500;function oc(e,t){var a,r;const o=String(t||"").split("-")[0].toLowerCase();if(!o||o==="en"||!Ja.includes(o))return Promise.resolve(o==="en");if(go[o])return(r=(a=e==null?void 0:e.global)==null?void 0:a.setLocaleMessage)==null||r.call(a,o,go[o]),Promise.resolve(!0);if(ui.has(o))return ui.get(o).then(s=>{var i,l;return s&&go[o]&&((l=(i=e==null?void 0:e.global)==null?void 0:i.setLocaleMessage)==null||l.call(i,o,go[o])),s});if(!Og[o])return Promise.resolve(!!go[o]);const n=(async()=>{var s,i;try{if(!Ig)return!1;const l=new URL(`locales/${o}.json`,Ig).href,c=await fetch(l,{integrity:Og[o]});if(!c.ok)return!1;const u=await c.json();return!u||typeof u!="object"?!1:(go[o]=u,(i=(s=e==null?void 0:e.global)==null?void 0:s.setLocaleMessage)==null||i.call(s,o,u),!0)}catch{return!1}})();return ui.set(o,n),n}go.en;const Ja=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"],di=new Set(["ar"]);function Dg(){try{const e=new URLSearchParams(window.location.search);return(e.get("lang")||e.get("locale")||"").split("-")[0].toLowerCase()}catch{return""}}function Wr(){var n;const e=Dg();if(Ja.includes(e))return e;const o=(((n=document==null?void 0:document.documentElement)==null?void 0:n.lang)||"").split("-")[0].toLowerCase();return Ja.includes(o)?o:"en"}try{tc=oc(null,Wr())}catch{tc=null}function Py(e=Wr()){const t=String(e||"").split("-")[0].toLowerCase();if(!di.has(t)||go[t])return Promise.resolve(!0);const o=ui.get(t)||tc||Promise.resolve(!1);return Promise.race([o.then(n=>!!n).catch(()=>!1),new Promise(n=>setTimeout(()=>n(!1),Ay))])}function Ly(){const e=Wr();try{typeof window<"u"&&window.MAP_OWNS_PAGE===!0&&e&&(document!=null&&document.documentElement)&&(document.documentElement.lang=e,di.has(e)&&(document.documentElement.dir="rtl"))}catch{}const t=vs(!0),o=t.run(()=>fy({legacy:!1,globalInjection:!0,locale:e,fallbackLocale:"en",messages:go,missingWarn:!1,fallbackWarn:!1,pluralRules:Ty}));e!=="en"&&!go[e]&&oc(o,e).catch(()=>{}),t.run(()=>Ue(o.global.locale,a=>jg(a),{immediate:!0}));const n=o.install.bind(o);return o.install=(a,...r)=>{const s=n(a,...r);a.provide("appI18n",o);const i=a.provide.bind(a);return a.provide=(l,c)=>l==="appI18n"&&c===o?a:i(l,c),s},o}const zg="__DOXA_PAGE_LOCALE";function jg(e){const t=String(e||"").split("-")[0].toLowerCase();if(Ja.includes(t))try{typeof window<"u"&&(window[zg]=t)}catch{}}const Cy=["zero","one","two","few","many","other"];function Bg(e,t,o){let n;try{n=new Intl.PluralRules(o)}catch{return e===1?0:1}const a=n.select(e),r=n.resolvedOptions().pluralCategories,s=Cy.filter(l=>r.includes(l));let i=s.indexOf(a);if(i<0&&(i=s.indexOf("other")),i>=t){const l=s.indexOf("other");i=l>=0&&l[e,(t,o)=>Bg(t,o,e)]));function nc(){try{return typeof window<"u"&&window[zg]||""}catch{return""}}function no(e,t){const o=a=>{let r=go[a];for(const s of String(e).split(".")){if(!r||typeof r!="object")return;r=r[s]}return typeof r=="string"?r:void 0},n=t||nc()||Wr();return o(n)??o("en")}const ac=new Map;function Ey(e,{type:t="conjunction",style:o="long",locale:n}={}){const a=Array.from(e||[],l=>String(l)),r=()=>{try{return Wr()}catch{return""}},s=n||nc()||r()||"en",i=`${s}|${t}|${o}`;try{return ac.has(i)||ac.set(i,new Intl.ListFormat(s,{type:t,style:o})),ac.get(i).format(a)}catch{return a.join(", ")}}function Gg(e,t){return t?String(e).replace(/\{(\w+)\}/g,(o,n)=>t[n]!=null?String(t[n]):o):String(e)}function Hg(e,t,o=nc()){const n=String(e).split(/\s*\|\s*/);if(n.length<2||typeof t!="number")return String(e);const a=String(o||"en").split("-")[0].toLowerCase();if(a!=="en")return n[Bg(t,n.length,a)];const r=Math.abs(t),s=n.length===2?r?r>1?1:0:1:r?Math.min(r,2):0;return n[Math.min(s,n.length-1)]}function pi(e,t){const o=String(t);return e&&!o.startsWith(`${e}.`)?`${e}.${o}`:o}function Ug(e,t={}){const o=typeof t.fallback=="function"?(n,a,r)=>Gg(Hg(t.fallback(pi(e,n),a)??n,r),a):(n,a,r)=>Gg(Hg(no(pi(e,n))??n,r),a);try{const n=jt();return(a,r,s)=>{const i=pi(e,a),l=typeof s=="number"?n.t(i,r||{},s):n.t(i,r||{});return l===i?o(a,r,s):l}}catch{return o}}function rc(e,t={}){const o=Ug(e,t);try{const n=jt();return{t:o,te:a=>n.te(pi(e,a)),locale:n.locale}}catch{return{t:o,te:()=>!1,locale:t.locale??"en"}}}const My="background:var(--dx-elevated, #fff);color:var(--dx-text, #3b463d);border:1px solid var(--dx-line, #d1d4cd);",Ry="background:#2b2f2c;color:#e8e9e6;border:1px solid #4a4f4b;",Fy=jn({name:"LazyLoadFailed",props:{onRetry:{type:Function,required:!0},dark:Boolean},setup(e){const t=Ug("messages"),o=we(!1),n=()=>{o.value||(o.value=!0,e.onRetry())};return()=>ua("div",{class:"dx-lazy-failed",role:"alert",style:"padding:12px;font-size:13px;line-height:1.4;border-radius:8px;"+(e.dark?Ry:My)},[ua("span",t("viewLoadFailed"))," ",ua("button",{type:"button",disabled:o.value,style:"font:inherit;cursor:pointer;",onClick:n},t("retry"))])}});function Ny(e,t){return R0({loader:e,errorComponent:jn({inheritAttrs:!1,props:{isDark:Boolean},setup:o=>()=>ua(Fy,{onRetry:t,dark:o.isDark})}),onError(o,n,a,r){r<=3?setTimeout(n,r*500):a()}})}function gi(e){const t=Ia(null),o=()=>{t.value=Ny(e,o)};return o(),jn({name:"RetryableAsync",inheritAttrs:!1,setup(n,{attrs:a,slots:r}){return()=>ua(t.value,a,r)}})}function Kt(e,t){const o=Lo(),n=t||(o&&o.type&&o.type.__hmrId?"hmr-"+o.type.__hmrId:Oy(e));Jo(()=>{var l;if(!o)return;const a=(l=o.proxy)==null?void 0:l.$el;if(!a)return;const r=a.getRootNode();if(!(r instanceof ShadowRoot))return;if(!r.querySelector('style[data-shadow-styles="reduced-motion"]')){const c=document.createElement("style");c.setAttribute("data-shadow-styles","reduced-motion"),c.textContent=Iy,r.appendChild(c)}const s=r.querySelector(`style[data-shadow-styles="${n}"]`);if(s){s.textContent!==e&&(s.textContent=e);return}const i=document.createElement("style");i.setAttribute("data-shadow-styles",n),i.textContent=e,r.appendChild(i)})}const Iy=`@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } -}`;function Oy(e){let t=0;for(let o=0;ono(I)||F,o={"messages.pinHint.tapDot":"Tap a dot to see who still needs prayer"},{t:n,te:a}=rc("",{fallback:I=>o[I]}),r=je("uiStore",null),s=je("profileConfig",null),i=oe(()=>(r==null?void 0:r.theme)==="dark"),l=oe(()=>{var W;const I=(W=s==null?void 0:s.value)==null?void 0:W.pinHintLabel;if(I)return I;const F="Tap a coloured dot — someone still needs prayer";try{return a("messages.pinHint.tapDot")?n("messages.pinHint.tapDot"):F}catch{return F}}),c=we(!1),u=we(!0);let p=null;const f=we(!0);let x=[];const S=["inert","hidden","aria-hidden"];function y(I){const F=[];let W=I;for(;W;)W.nodeType===1&&F.push(W),W=W.parentNode||W.host||null;return F}function h(I){return y(I).some(F=>F.hasAttribute("inert")||F.hasAttribute("hidden")||F.getAttribute("aria-hidden")==="true")}function _(I){const F=()=>{const W=!h(I);W!==f.value&&(f.value=W,W&&Qt($))};if(F(),!(typeof MutationObserver>"u"))for(const W of y(I))try{const z=new MutationObserver(F);z.observe(W,{attributes:!0,attributeFilter:S}),x.push(z)}catch{}}const g=we(null);let b=null,d=null,w=null,m=null,k=null,E=null,L=[],H=null,K=null;function J(){c.value=!1}function v(I,F){var z;let W=I==null?void 0:I.parentElement;for(let Z=0;W&&Z<12;Z++,W=W.parentElement){if(W===F||(z=W.classList)!=null&&z.contains("profile-loader"))return null;let j="";try{j=getComputedStyle(W).position}catch{}if(j&&j!=="static"){const ae=W.getBoundingClientRect();if(ae.height>=120&&ae.width>=160)return W}}return null}function N(I){var W;const F=(W=m==null?void 0:m.querySelector)==null?void 0:W.call(m,".legend-mobile-sheet");if(!F)return 1/0;if(k&&E!==F){try{k.disconnect()}catch{}k=null}if(!k&&typeof ResizeObserver<"u")try{k=new ResizeObserver(()=>$()),k.observe(F),E=F}catch{k=null}try{const z=F.getBoundingClientRect();return!(z.height>16)||!(z.width>16)||I.right<=z.left||z.right<=I.left?1/0:z.top}catch{return 1/0}}function $(){const I=g.value;if(!(!I||!u.value||!f.value))try{I.style.removeProperty("--pin-hint-lift");const F=I.getBoundingClientRect();if(!F.height)return;const W=Math.min(window.innerHeight,N(F)),z=Math.round(F.bottom-W);z>0&&I.style.setProperty("--pin-hint-lift",z+8+"px")}catch{}}function A(I){const F=g.value;if(!F||!(I!=null&&I.querySelector))return;let W=0;try{const Z=I.querySelector(".mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-attrib, .mapboxgl-ctrl-bottom-right .doxa-attribution, .doxa-attribution");if(Z){const j=Z.getBoundingClientRect(),ae=F.parentElement,_e=ae?ae.getBoundingClientRect():null;if(W=_e?Math.max(j.height||0,_e.bottom-j.top):j.height||0,K!==Z&&typeof ResizeObserver<"u"){if(w)try{w.disconnect()}catch{}K=Z,w=new ResizeObserver(()=>A(I)),w.observe(Z)}}}catch{}const z=Math.min(Math.max(Math.ceil(W)||20,20),72);F.style.setProperty("--pin-hint-attrib-clear",z+"px"),$()}return Jo(()=>{var z,Z,j;const I=Lo(),F=(j=(Z=(z=I==null?void 0:I.proxy)==null?void 0:z.$el)==null?void 0:Z.getRootNode)==null?void 0:j.call(Z);if(!F||typeof F.querySelector!="function")return;m=F;let W=0;b=setInterval(()=>{W++;const ae=F.querySelector("canvas.maplibregl-canvas, canvas.mapboxgl-canvas");ae?(clearInterval(b),b=null,c.value=!0,Qt(()=>{const _e=v(ae,F),Te=g.value;if(_e&&Te&&Te.parentElement!==_e)try{_e.appendChild(Te),d=_e}catch{}if(_e&&_(_e),_e&&typeof IntersectionObserver<"u")try{p=new IntersectionObserver(xe=>{const Ae=xe[xe.length-1],X=!!Ae&&Ae.isIntersecting&&Ae.intersectionRatio>=.2;X!==u.value&&(u.value=X,X&&Qt($))},{threshold:[0,.2,.5]}),p.observe(_e)}catch{}A(F),$(),L.push(setTimeout($,1200),setTimeout($,3e3),setTimeout($,6e3));try{const xe=g.value&&g.value.offsetParent||null;if(xe&&typeof ResizeObserver<"u"){if(H)try{H.disconnect()}catch{}H=new ResizeObserver(()=>$()),H.observe(xe)}}catch{}})):W>40&&(clearInterval(b),b=null)},300)}),vo(()=>{var I;if(b&&clearInterval(b),p){try{p.disconnect()}catch{}p=null}for(const F of x)try{F.disconnect()}catch{}if(x=[],w){try{w.disconnect()}catch{}w=null}if(K=null,H){try{H.disconnect()}catch{}H=null}if(k){try{k.disconnect()}catch{}k=null}E=null;for(const F of L)clearTimeout(F);if(L=[],m=null,d&&((I=g.value)==null?void 0:I.parentElement)===d)try{d.removeChild(g.value)}catch{}d=null}),Kt(` +}`;function Oy(e){let t=0;for(let o=0;ono(I)||F,o={"messages.pinHint.tapDot":"Tap a dot to see who still needs prayer"},{t:n,te:a}=rc("",{fallback:I=>o[I]}),r=je("uiStore",null),s=je("profileConfig",null),i=oe(()=>(r==null?void 0:r.theme)==="dark"),l=oe(()=>{var W;const I=(W=s==null?void 0:s.value)==null?void 0:W.pinHintLabel;if(I)return I;const F="Tap a coloured dot — someone still needs prayer";try{return a("messages.pinHint.tapDot")?n("messages.pinHint.tapDot"):F}catch{return F}}),c=we(!1),u=we(!0);let p=null;const f=we(!0);let x=[];const S=["inert","hidden","aria-hidden"];function y(I){const F=[];let W=I;for(;W;)W.nodeType===1&&F.push(W),W=W.parentNode||W.host||null;return F}function h(I){return y(I).some(F=>F.hasAttribute("inert")||F.hasAttribute("hidden")||F.getAttribute("aria-hidden")==="true")}function _(I){const F=()=>{const W=!h(I);W!==f.value&&(f.value=W,W&&Qt($))};if(F(),!(typeof MutationObserver>"u"))for(const W of y(I))try{const z=new MutationObserver(F);z.observe(W,{attributes:!0,attributeFilter:S}),x.push(z)}catch{}}const g=we(null);let b=null,d=null,w=null,m=null,k=null,E=null,L=[],H=null,K=null;function J(){c.value=!1}function v(I,F){var z;let W=I==null?void 0:I.parentElement;for(let Z=0;W&&Z<12;Z++,W=W.parentElement){if(W===F||(z=W.classList)!=null&&z.contains("profile-loader"))return null;let j="";try{j=getComputedStyle(W).position}catch{}if(j&&j!=="static"){const ae=W.getBoundingClientRect();if(ae.height>=120&&ae.width>=160)return W}}return null}function N(I){var W;const F=(W=m==null?void 0:m.querySelector)==null?void 0:W.call(m,".legend-mobile-sheet");if(!F)return 1/0;if(k&&E!==F){try{k.disconnect()}catch{}k=null}if(!k&&typeof ResizeObserver<"u")try{k=new ResizeObserver(()=>$()),k.observe(F),E=F}catch{k=null}try{const z=F.getBoundingClientRect();return!(z.height>16)||!(z.width>16)||I.right<=z.left||z.right<=I.left?1/0:z.top}catch{return 1/0}}function $(){const I=g.value;if(!(!I||!u.value||!f.value))try{I.style.removeProperty("--pin-hint-lift");const F=I.getBoundingClientRect();if(!F.height)return;const W=Math.min(window.innerHeight,N(F)),z=Math.round(F.bottom-W);z>0&&I.style.setProperty("--pin-hint-lift",z+8+"px")}catch{}}function A(I){const F=g.value;if(!F||!(I!=null&&I.querySelector))return;let W=0;try{const Z=I.querySelector(".mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-attrib, .mapboxgl-ctrl-bottom-right .doxa-attribution, .doxa-attribution");if(Z){const j=Z.getBoundingClientRect(),ae=F.parentElement,_e=ae?ae.getBoundingClientRect():null;if(W=_e?Math.max(j.height||0,_e.bottom-j.top):j.height||0,K!==Z&&typeof ResizeObserver<"u"){if(w)try{w.disconnect()}catch{}K=Z,w=new ResizeObserver(()=>A(I)),w.observe(Z)}}}catch{}const z=Math.min(Math.max(Math.ceil(W)||20,20),72);F.style.setProperty("--pin-hint-attrib-clear",z+"px"),$()}return Jo(()=>{var z,Z,j;const I=Lo(),F=(j=(Z=(z=I==null?void 0:I.proxy)==null?void 0:z.$el)==null?void 0:Z.getRootNode)==null?void 0:j.call(Z);if(!F||typeof F.querySelector!="function")return;m=F;let W=0;b=setInterval(()=>{W++;const ae=F.querySelector("canvas.maplibregl-canvas, canvas.mapboxgl-canvas");ae?(clearInterval(b),b=null,c.value=!0,Qt(()=>{const _e=v(ae,F),Te=g.value;if(_e&&Te&&Te.parentElement!==_e)try{_e.appendChild(Te),d=_e}catch{}if(_e&&_(_e),_e&&typeof IntersectionObserver<"u")try{p=new IntersectionObserver(xe=>{const Ae=xe[xe.length-1],X=!!Ae&&Ae.isIntersecting&&Ae.intersectionRatio>=.2;X!==u.value&&(u.value=X,X&&Qt($))},{threshold:[0,.2,.5]}),p.observe(_e)}catch{}A(F),$(),L.push(setTimeout($,1200),setTimeout($,3e3),setTimeout($,6e3));try{const xe=g.value&&g.value.offsetParent||null;if(xe&&typeof ResizeObserver<"u"){if(H)try{H.disconnect()}catch{}H=new ResizeObserver(()=>$()),H.observe(xe)}}catch{}})):W>40&&(clearInterval(b),b=null)},300)}),wo(()=>{var I;if(b&&clearInterval(b),p){try{p.disconnect()}catch{}p=null}for(const F of x)try{F.disconnect()}catch{}if(x=[],w){try{w.disconnect()}catch{}w=null}if(K=null,H){try{H.disconnect()}catch{}H=null}if(k){try{k.disconnect()}catch{}k=null}E=null;for(const F of L)clearTimeout(F);if(L=[],m=null,d&&((I=g.value)==null?void 0:I.parentElement)===d)try{d.removeChild(g.value)}catch{}d=null}),Kt(` @media print { .pin-hint { display: none !important; } } .pin-hint { position: absolute; left: 50%; bottom: calc(var(--pin-hint-attrib-clear, 20px) + 12px + var(--pin-hint-lift, 0px)); transform: translateX(-50%); @@ -80,7 +80,7 @@ @media (prefers-reduced-motion: reduce) { .pin-hint, .pin-hint-pill, .pin-hint-dot::after { animation: none !important; } } -`,"pin-hint"),(I,F)=>c.value?Fs((re(),he("div",{key:0,ref_key:"hintEl",ref:g,class:Ge(["pin-hint",{dark:i.value}]),role:"status"},[R("span",Dy,[F[0]||(F[0]=R("span",{class:"pin-hint-dot","aria-hidden":"true"},null,-1)),Bt(" "+ye(l.value)+" ",1),R("button",{class:"pin-hint-x",type:"button","aria-label":t("aria.dismissHint","Dismiss hint"),onClick:J},"×",8,zy)])],2)),[[op,u.value&&f.value]]):Me("",!0)}},By=".lsn-bar[data-v-9a589f6f]{display:flex;align-items:flex-start;gap:8px;flex:none;margin:0;padding-block:8px;padding-inline:12px 8px;background:#fff8e1;border-block-end:1px solid #f0d68a;color:#4a3b00;font:400 13px/1.4 system-ui,-apple-system,Segoe UI,sans-serif}.lsn-bar__text[data-v-9a589f6f]{flex:1 1 auto;margin:0}.lsn-bar__x[data-v-9a589f6f]{flex:none;min-width:24px;min-height:24px;padding:0;border:0;border-radius:4px;background:transparent;color:inherit;font:600 18px/1 system-ui,sans-serif;cursor:pointer}.lsn-bar__x[data-v-9a589f6f]:focus-visible{outline:2px solid #1a73e8;outline-offset:2px}.lsn-block[data-v-9a589f6f]{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%;min-height:200px;padding:24px;background:#f7f7f5;color:#333;text-align:center;font:400 15px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}.lsn-block__text[data-v-9a589f6f]{max-width:28em;margin:0}",nn=(e,t)=>{const o=e.__vccOpts||e;for(const[n,a]of t)o[n]=a;return o},Gy={key:0,class:"lsn-block",role:"status"},Hy={class:"lsn-block__text"},Uy={key:0},Wy={key:1,class:"lsn-bar",role:"note"},Ky={class:"lsn-bar__text"},qy=["aria-label","title"],Wg=nn({__name:"LargerScreenNotice",props:{mode:{type:String,required:!0},label:{type:String,default:""},locale:{type:String,default:""}},emits:["dismiss"],setup(e){const t=e,o=(s,i)=>no(s,t.locale||void 0)||i,n=oe(()=>o("messages.largerScreenNotice","This experimental map is built for larger screens. It opens here, but parts of it may not fit or work well on a phone.")),a=oe(()=>o("messages.noticeDismiss","Dismiss")),r=oe(()=>o("messages.desktopOnlyNotice","{label} only supports desktop — open this page on a desktop to use it.").split("{label}"));return(s,i)=>e.mode==="desktop-only"?(re(),he("div",Gy,[R("p",Hy,[Bt(ye(r.value[0]),1),r.value.length>1?(re(),he("bdi",Uy,ye(e.label),1)):Me("",!0),Bt(ye(r.value[1]||""),1)])])):(re(),he("div",Wy,[R("p",Ky,ye(n.value),1),R("button",{type:"button",class:"lsn-bar__x","aria-label":a.value,title:a.value,onClick:i[0]||(i[0]=l=>s.$emit("dismiss"))},"×",8,qy)]))}},[["styles",[By]],["__scopeId","data-v-9a589f6f"]]),Vy="(max-width: 639.98px)";function Yy(e){for(let t=e;t;t=t.parentNode||t.host)if(t.nodeType===1&&t.hasAttribute("data-doxa-gallery"))return!0;return!1}function Zy(e){var l;const t=oe(()=>{var u;const c=(u=e.value)==null?void 0:u.mobile;return c==="desktop-only"||c==="larger-screens"?c:null});let o=null;try{o=e$()}catch{o=null}const n=o?Yy(o):!1,a=we(!1);if(typeof window<"u"&&typeof window.matchMedia=="function"){const c=window.matchMedia(Vy);a.value=c.matches;const u=p=>{a.value=p.matches};(l=c.addEventListener)==null||l.call(c,"change",u),vo(()=>{var p;return(p=c.removeEventListener)==null?void 0:p.call(c,"change",u)})}const r=oe(()=>{var c;return`dx-maps:larger-screens-dismissed:${((c=e.value)==null?void 0:c.profile)||""}`}),s=we(!1);Ue(r,c=>{try{s.value=sessionStorage.getItem(c)==="1"}catch{s.value=!1}},{immediate:!0});function i(){s.value=!0;try{sessionStorage.setItem(r.value,"1")}catch{}}return{flag:t,blocked:oe(()=>t.value==="desktop-only"&&a.value&&!n),advise:oe(()=>t.value==="larger-screens"&&a.value&&!n&&!s.value),dismiss:i,label:oe(()=>{var c,u;return String(((c=e.value)==null?void 0:c.mobileLabel)||((u=e.value)==null?void 0:u.profile)||"")})}}const fi="mapbox://styles/mapbox/standard",Jy=fi,Xy=fi,Qy=!1,Kg={lightPreset:"night",theme:"default"},e1={lightPreset:"day",theme:"monochrome"};function t1(e){return e?/affinity|region|language/i.test(String(e))?"light":"dark":null}function o1(e){let t=!1;const o=new WeakSet;function n(){return!1}function a(){return n()?"night":"day"}let r="dark";function s(_){return t1(_)}function i(_,g){_!=="light"&&_!=="dark"||(r=_,g&&y(g))}function l(){return{...r==="light"?e1:Kg}}function c(){return fi}function u(){return{basemap:l()}}function p(_,g){try{return typeof _.getConfigProperty=="function"?_.getConfigProperty("basemap",g):void 0}catch{return}}function f(_){return!!_&&typeof _.setConfigProperty=="function"&&typeof _.getConfigProperty=="function"}function x(_,g=!1){if(!f(_))return!1;const b=l();let d=!1;try{for(const[w,m]of Object.entries(b))!g&&p(_,w)===m||(_.setConfigProperty("basemap",w,m),d=!0)}catch(w){console.warn("[useMapTheme] setConfigProperty failed:",w)}return d}function S(_){if(!o.has(_)&&(o.add(_),!!f(_)))try{_.on("style.load",()=>x(_)),_.on("styledata",()=>x(_))}catch{}}function y(_){if(!_)return;if(S(_),x(_)&&!t){t=!0;try{_.once("idle",()=>{t=!1,x(_,!0)})}catch{t=!1}}}function h(_){e.toggleTheme(),y(_)}return{setLook:i,lookFor:s,STANDARD_STYLE:fi,LIGHT_STYLE:Jy,DARK_STYLE:Xy,isDarkTheme:n,lightPreset:a,basemapConfig:l,bootStyle:c,bootConfig:u,applyTheme:y,swapTheme:h}}let n1=0;const a1=Ml("ui",{state:()=>({_storeInstanceId:++n1,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){const t=e&&!this.selectedPeopleGroup;this.selectedPeopleGroup=e,e?(t&&(this._legendStateBeforeDetail=this.legendState),this.legendState="open",this._customLegendHeight=null,this.setLegendMode("detail")):(this._legendStateBeforeDetail&&(this.legendState=this._legendStateBeforeDetail),this._legendStateBeforeDetail=null,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)}))}}}),r1=Ml("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",clusteringMode:"off",clusterPinOpacity:.6,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)},setClusteringMode(e){["off","mapbox","mst","network"].includes(e)&&(this.clusteringMode=e,this.showClusters=e!=="off")},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()}}}),s1=Ml("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]=Fa({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]=Fa({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}}}),ga={_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}}},i1=".profile-loader[data-locale-pending][data-v-ceea9a56] .stl-tabs,.profile-loader[data-locale-pending][data-v-ceea9a56] .stl-title,.profile-loader[data-locale-pending][data-v-ceea9a56] .stl-rows,.profile-loader[data-locale-pending][data-v-ceea9a56] .legend-title,.profile-loader[data-locale-pending][data-v-ceea9a56] .legend-content,.profile-loader[data-locale-pending][data-v-ceea9a56] .legend-reopen-label,.profile-loader[data-locale-pending][data-v-ceea9a56] .lt-btn-text,.profile-loader[data-locale-pending][data-v-ceea9a56] .rd-topbar,.profile-loader[data-locale-pending][data-v-ceea9a56] .rd-exportbar{visibility:hidden}.profile-loader[data-v-ceea9a56]{border-radius:var(--map-radius-corners, var(--map-radius, 0px));width:100%;height:100%;min-height:var(--profile-min-h, 100dvh);position:relative}.profile-loader.has-screen-notice[data-v-ceea9a56]{display:flex;flex-direction:column}.profile-loader.has-screen-notice[data-v-ceea9a56]>:not(.lsn-bar){flex:1 1 auto;min-height:0;position:relative!important;inset:auto!important}.profile-error[data-v-ceea9a56]{padding:1rem;background:#fff3cd;border:1px solid #ffc107;border-radius:4px;font-family:monospace;font-size:13px}",l1=["dir","data-locale-pending"],c1={key:0,class:"profile-error"},u1={key:1,class:"profile-error"},d1=nn({__name:"ProfileLoader",props:{profileConfig:{type:String,default:""}},setup(e){var J;const o=e,n=je("profileConfig",null),a=oe(()=>{var N;if(!o.profileConfig)return null;let v;try{v=JSON.parse(o.profileConfig)}catch{return console.error("[ProfileLoader] Invalid profile-config JSON:",o.profileConfig),null}if(v&&v.assetsBase===void 0){const $=(N=n==null?void 0:n.value)==null?void 0:N.assetsBase;typeof $=="string"&&$&&(v.assetsBase=$)}return v}),r=je("profileModules",null);if(!r)throw new Error('[ProfileLoader] No profileModules provided. Bundle entry must `app.provide("profileModules", import.meta.glob("./*.vue"))`');const s=(()=>{const v=Object.keys(r||{});if(v.length!==1)return null;const N=v[0].match(/^\.\/(.+)\.vue$/);return N?N[1]:null})(),i=oe(()=>{var v;return((v=a.value)==null?void 0:v.profile)||s||null}),l=m$(),c=oe(()=>{var N;const v=(N=a.value)==null?void 0:N.tk;return typeof v=="string"&&v?v:l.value||""});Ue(()=>{var v;return(v=a.value)==null?void 0:v.tk},v=>{typeof v=="string"&&v&&Nl(v)},{immediate:!0}),Ue(()=>{var v;return(v=a.value)==null?void 0:v.tokenUrl},v=>{var N;v&&!((N=a.value)!=null&&N.tk)&&!l.value&&b$(v)},{immediate:!0});const u=oe(()=>{var v;return((v=a.value)==null?void 0:v.dataSource)||ga.activeSource||"doxa-csv"}),p=oe(()=>{var v;return((v=a.value)==null?void 0:v.colorSet)||"default"}),f=oe(()=>!1),x=oe(()=>{var v;return((v=a.value)==null?void 0:v.pinHint)!==!1}),S=oe(()=>{var N,$;const v=(((N=a.value)==null?void 0:N.locale)||(($=a.value)==null?void 0:$.lang)||Dg()||"").split("-")[0].toLowerCase();return Ja.includes(v)?v:""}),y=je("appI18n",null);rd(()=>{S.value&&(y&&(y.global.locale.value=S.value),jg(S.value),oc(y,S.value).catch(()=>{}))});const h=oe(()=>{var v,N;return S.value||((N=(v=y==null?void 0:y.global)==null?void 0:v.locale)==null?void 0:N.value)||"en"}),_=oe(()=>di.has(h.value)?"rtl":"ltr"),{blocked:g,advise:b,dismiss:d,label:w}=Zy(a),m=we(!1);rd(v=>{const N=h.value;if(!di.has(N)){m.value=!1;return}let $=!0;v(()=>{$=!1}),m.value=!0,Py(N).finally(()=>{$&&(m.value=!1)})});const k=oe(()=>{var v;return((v=a.value)==null?void 0:v.instanceId)||"doxa-map-"+Math.random().toString(36).slice(2,9)}),E=oe(()=>{if(!i.value)return null;const v=`./${i.value}.vue`;return r[v]?gi(r[v]):(console.error(`[ProfileLoader] Profile not found: "${i.value}". Available:`,Object.keys(r)),null)});zt("mapboxToken",c),zt("dataSource",u),zt("colorSet",p),zt("profileConfig",a),zt("instanceId",k),zt("lang",h);const L=a1(),H=r1(),K=s1();try{const v=typeof localStorage<"u"?localStorage.getItem("theme"):null;v&&((J=L.setTheme)==null||J.call(L,v))}catch{}return zt("uiStore",L),zt("mapStore",H),zt("dataStore",K),(v,N)=>(re(),he("div",{class:Ge(["profile-loader",{"has-screen-notice":ge(b)}]),dir:_.value,"data-locale-pending":m.value?"":null},[a.value?E.value?ge(g)?(re(),it(Wg,{key:2,mode:"desktop-only",label:ge(w),locale:h.value},null,8,["label","locale"])):(re(),he(et,{key:3},[ge(b)?(re(),it(Wg,{key:0,mode:"larger-screens",locale:h.value,onDismiss:ge(d)},null,8,["locale","onDismiss"])):Me("",!0),(re(),it(bd(E.value)))],64)):(re(),he("div",u1,[R("p",null,[N[1]||(N[1]=Bt("⚠️ Profile ",-1)),R("strong",null,'"'+ye(i.value)+'"',1),N[2]||(N[2]=Bt(" not found.",-1))])])):(re(),he("div",c1,[...N[0]||(N[0]=[R("p",null,[Bt("⚠️ "),R("strong",null,"doxa-map"),Bt(": missing or invalid "),R("code",null,"profile-config"),Bt(" prop.")],-1),R("p",null,[Bt("Example: "),R("code",null,`profile-config='{"profile":"example-map","tk":"pk.eyJ..."}'`)],-1)])])),E.value&&f.value?(re(),it(bd(ge(null)),{key:4})):Me("",!0),E.value&&x.value?(re(),it(jy,{key:5})):Me("",!0)],10,l1))}},[["styles",[i1]],["__scopeId","data-v-ceea9a56"]]);function qg(e,t,o){var a;const n=(a=e==null?void 0:e._context)==null?void 0:a.provides;if(n&&t in n){n[t]=o;return}e.provide(t,o)}function p1(e,t){var a;const o=(a=e==null?void 0:e._context)==null?void 0:a.provides,n=o?Object.getPrototypeOf(o):null;n&&Object.setPrototypeOf(o,null);try{return t()}finally{n&&Object.setPrototypeOf(o,n)}}function g1({profileModules:e={},configureApp:t=null}={}){return Xb(d1,{configureApp(o){const n=l$();p1(o,()=>o.use(n));const a=Ly();o.use(a),qg(o,"appI18n",a),qg(o,"profileModules",e),t&&t(o,{pinia:n,i18n:a})}})}const f1=Object.assign({"./research-map.vue":()=>Mt(()=>Promise.resolve().then(()=>dP),void 0)});function h1(){return g1({profileModules:f1,configureApp:(e,{pinia:t,i18n:o})=>{}})}const m1=h1();typeof customElements<"u"&&(customElements.get("doxa-research-map")||customElements.define("doxa-research-map",m1));const b1="rgba(120, 128, 134, 0.28)",Vg="36px",Yg=()=>{};function $1(e,t={}){const{enabled:o=!0}=t;if(!o||!e)return Yg;const n=Array.from(e.querySelectorAll(".map-scroll-edge"));if(!n.length)return Yg;const a=g=>g.classList.contains("map-scroll-edge--left");for(const g of n)g.style.background=`linear-gradient(${a(g)?"to right":"to left"}, ${b1} ${Vg}, transparent ${Vg})`,g.style.opacity="0",g.style.transition="opacity 0.16s ease",g.style.userSelect="none",g.style.webkitUserSelect="none";const r=g=>{g.style.opacity="1"},s=g=>{g.style.opacity="0"},i=()=>n.find(g=>!a(g))||null,l=new Set;let c=!1,u=null;const p=()=>{for(const g of n)l.has(g)||s(g)},f=()=>{const g=i();g&&(r(g),u&&clearTimeout(u),u=setTimeout(p,250))},x=()=>f(),S=g=>{if(!(g.touches&&g.touches.length===1))return;const b=g.target;b&&b.classList&&b.classList.contains("map-scroll-edge")||f()},y=()=>{u&&clearTimeout(u),p()};e.addEventListener("wheel",x,{passive:!0}),e.addEventListener("touchmove",S,{passive:!0}),e.addEventListener("touchend",y,{passive:!0}),e.addEventListener("touchcancel",y,{passive:!0});const h=()=>{c||f()};typeof window<"u"&&window.addEventListener("scroll",h,{passive:!0});const _=[];for(const g of n){const b=()=>{l.add(g),r(g)},d=()=>{l.delete(g),s(g)},w=()=>{c=!0,r(g)},m=()=>{c=!1,s(g)};g.addEventListener("mouseenter",b),g.addEventListener("mouseleave",d),g.addEventListener("touchstart",w,{passive:!0}),g.addEventListener("touchend",m,{passive:!0}),_.push(()=>{g.removeEventListener("mouseenter",b),g.removeEventListener("mouseleave",d),g.removeEventListener("touchstart",w),g.removeEventListener("touchend",m)})}return function(){u&&(clearTimeout(u),u=null),e.removeEventListener("wheel",x),e.removeEventListener("touchmove",S),e.removeEventListener("touchend",y),e.removeEventListener("touchcancel",y),typeof window<"u"&&window.removeEventListener("scroll",h);for(const b of _)b();for(const b of n)s(b)}}const _1=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 y1(e,t="mapbox"){if(typeof e!="string"||!e)return{style:void 0,lightPreset:void 0,paint:void 0};const o=_1[e];return o?t==="maplibre"?{style:o.maplibre,lightPreset:void 0,paint:o.paint}:{style:o.mapbox,lightPreset:o.lightPreset,paint:o.paint}:/^(mapbox:\/\/|https?:\/\/)/.test(e)?{style:e,lightPreset:void 0,paint:void 0}:{style:void 0,lightPreset:void 0,paint:void 0}}function v1(e,t){if(!e||!Array.isArray(t))return[];const o=[];for(const n of t)if(!(!n||!n.layer||!n.prop))try{if(!e.getLayer(n.layer))continue;e.setPaintProperty(n.layer,n.prop,n.value),o.push(n.layer+"."+n.prop)}catch{}return o}const w1=["mapbox","maplibre"],k1="auto";function Zg(e){return e&&typeof e=="object"&&"value"in e&&!("provider"in e)&&!("profile"in e)?e.value:e}function Jg(e,{token:t}={}){const o=Zg(e);return Xg(o)||"maplibre"}function Xg(e){const t=Zg(e),o=t==null?void 0:t.provider,n=typeof location<"u"?new URLSearchParams(location.search).get("provider"):void 0,a=typeof window<"u"?window.MAP_PROVIDER:void 0,r=String(o||n||a||k1).toLowerCase().trim();return w1.includes(r)?r:""}function x1(e){return e==="maplibre"?"MapLibre":"Mapbox"}function Qg(e){return typeof window<"u"&&!!window.mapboxgl&&e instanceof window.mapboxgl.Map}function S1(e){if(typeof window>"u")return;const t=window.maplibregl,o=window.mapboxgl;if(t&&t.Map&&e instanceof t.Map)return"maplibre";if(o&&o.Map&&e instanceof o.Map)return"mapbox"}function hi(e){if(typeof window>"u")return;const t=window.maplibregl,o=window.mapboxgl;return t&&t.Map&&e instanceof t.Map?t:o&&o.Map&&e instanceof o.Map?o:o||t}function A1(e,t){if(!e||!t||typeof e.setProjection!="function")return!1;const o=typeof window<"u"?window.maplibregl:null,n=!!(o&&o.Map&&e instanceof o.Map);try{return e.setProjection(n?{type:t}:t),!0}catch{return!1}}function an(e,t="circle"){return Qg(e)?{[`${t}-emissive-strength`]:1}:{}}const Cn={mapboxGlJs:{url:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.js",integrity:"sha384-tO0clamXONKwbiz7O6xJpUeyJbTSPugC+xM9clvfFvKTH3i8SmCawHGdf5quMWmZ"},mapboxGlCss:{url:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.css",integrity:"sha384-rp1X/jJ9MpWPef9OimfXhOaOc4Gzs87yQvF+ajwY6X2H4PTeHNycNlLWiWvj7ehV"},maplibreGlJs:{url:"https://cdn.jsdelivr.net/npm/maplibre-gl@5.24.0/dist/maplibre-gl.js",integrity:"sha384-5+cfbwT0iiub6VsQAdn6yz16nr6sDiQoHx6tm4O8OVYXHYOxcffFmCJBL0dgdvGp"},maplibreGlCss:{url:"https://cdn.jsdelivr.net/npm/maplibre-gl@5.24.0/dist/maplibre-gl.css",integrity:"sha384-uTttxo/aOKbdE5RlD/SPzSDoDmNvGlUYPjONi2MN/b7c9HPSvW07OIuyP7uL6jxK"},mapboxGeocoderJs:{url:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v5.0.0/mapbox-gl-geocoder.min.js",integrity:"sha384-Lx9WK8XhZk57czwxt6B6nyaDHB5Ayrcrsu4Fw4bCp/Ot/QLOsUZ0xYqLOpOOSXZw"},mapboxGeocoderCss:{url:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v5.0.0/mapbox-gl-geocoder.css",integrity:"sha384-1KNhwJNCQTr0DCi/5/OnQcFytgycxTahxNZaqKbAtqmY8bUhu26qxXqvDGXXwplS"},maplibreGeocoderJs:{url:"https://cdn.jsdelivr.net/npm/@maplibre/maplibre-gl-geocoder@1.9.4/dist/maplibre-gl-geocoder.min.js",integrity:"sha384-RGV5vfoJd7alk8HE+71IyVfu19ciH1FKA15+AuXs6OeBM2npXrmTPFqG23yMiHXi"},maplibreGeocoderCss:{url:"https://cdn.jsdelivr.net/npm/@maplibre/maplibre-gl-geocoder@1.9.4/dist/maplibre-gl-geocoder.css",integrity:"sha384-UkDpPApjTpHJHpcJiSNAmbobh30W0/dmt0DoKm4V8CWYRYvQ/Jhd/ijFz0tFdVnH"},d3:{url:"https://cdn.jsdelivr.net/npm/d3@7.9.0/dist/d3.min.js",integrity:"sha384-CjloA8y00+1SDAUkjs099PVfnY2KmDC2BZnws9kh8D/lX1s46w6EPhpXdqMfjK6i"}};function Kr(e,t){const o=Object.values(Cn).find(n=>n.url===t);return o&&(e.integrity=o.integrity,e.crossOrigin="anonymous"),e}const ef={mapbox:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.3.0/mapbox-gl-rtl-text.js",maplibre:"https://cdn.jsdelivr.net/npm/@mapbox/mapbox-gl-rtl-text@0.3.0/dist/mapbox-gl-rtl-text.js"};function P1(e){return!!e&&typeof window<"u"&&e===window.maplibregl}function L1(e){if(typeof window>"u")return!1;const t=e?[e]:[window.maplibregl,window.mapboxgl].filter(Boolean);let o=!1;for(const n of t)if(!(!n||!n.setRTLTextPlugin))try{if(P1(n)){if(n.getRTLTextPluginStatus&&n.getRTLTextPluginStatus()!=="unavailable")continue;const a=n.setRTLTextPlugin(ef.maplibre,!0);a&&a.catch&&a.catch(()=>{})}else n.setRTLTextPlugin(ef.mapbox,null,!0);o=!0}catch{}return o}const C1=/\[\s*"get"\s*,\s*"name(?::latin|:nonlatin|:en|_en|_int)?"\s*\]|\{name(?::latin|:nonlatin|:en|_en|_int)?\}/,tf=new WeakMap;function T1(e){return typeof window<"u"&&!!window.maplibregl&&e instanceof window.maplibregl.Map}function of(e,t){if(!e||!t)return 0;const o=String(t).split("-")[0].toLowerCase();try{if(!T1(e))return typeof e.setLanguage=="function"&&e.setLanguage(o),0;const n=e.getStyle&&e.getStyle();if(!n||!Array.isArray(n.layers))return 0;let a=tf.get(e);a||(a=new Map,tf.set(e,a));let r=0;for(const s of n.layers){if(s.type!=="symbol"||!s.layout||s.layout["text-field"]==null)continue;const i=s.layout["text-field"],l=JSON.stringify(i);if(l.startsWith('["coalesce",["get","name:')){if(!a.has(s.id))continue}else{if(!C1.test(l))continue;a.set(s.id,i)}const c=["coalesce",["get","name:"+o],["get","name_"+o],["get","name:latin"],["get","name_en"],["get","name"]];e.setLayoutProperty(s.id,"text-field",c),r++}return r}catch{return 0}}const Xa={mapbox:{global:"mapboxgl",js:Cn.mapboxGlJs.url,css:Cn.mapboxGlCss.url},maplibre:{global:"maplibregl",js:Cn.maplibreGlJs.url,css:Cn.maplibreGlCss.url}},E1={"Map.Title":"map","Marker.Title":"marker","Popup.Close":"closePopup","NavigationControl.ZoomIn":"zoomIn","NavigationControl.ZoomOut":"zoomOut","NavigationControl.ResetBearing":"resetBearing","AttributionControl.ToggleAttribution":"toggleAttribution","AttributionControl.MapFeedback":"mapFeedback","FullscreenControl.Enter":"enterFullscreen","FullscreenControl.Exit":"exitFullscreen","GeolocateControl.FindMyLocation":"findMyLocation","GeolocateControl.LocationNotAvailable":"locationNotAvailable","GlobeControl.Enable":"enableGlobe","GlobeControl.Disable":"disableGlobe","CooperativeGesturesHandler.WindowsHelpText":"ctrlScroll","CooperativeGesturesHandler.MacHelpText":"cmdScroll","CooperativeGesturesHandler.MobileHelpText":"twoFingers","ScrollZoomBlocker.CtrlMessage":"ctrlScroll","ScrollZoomBlocker.CmdMessage":"cmdScroll","TouchPanBlocker.Message":"twoFingers"};function nf(e,t){const o={};for(const[a,r]of Object.entries(E1)){const s=no(`mapui.${r}`,e);s&&(o[a]=s)}const n=no(t==="maplibre"?"mapui.maplibreLogo":"mapui.mapboxHomepage",e);return n&&(o["LogoControl.Title"]=n),o}function af(e){if(typeof window>"u")return;const t=window,o=()=>{try{const n=e.getContainer().querySelector(".mapboxgl-ctrl-logo, .maplibregl-ctrl-logo");n&&(n.style.display="none")}catch{}};if(t.__doxaLogoOwner&&t.__doxaLogoOwner!==e){e.once("load",o),o();return}t.__doxaLogoOwner=e,e.once("remove",()=>{t.__doxaLogoOwner===e&&(t.__doxaLogoOwner=null)})}const M1=Xa.mapbox.css,R1="https://tiles.openfreemap.org/styles/liberty",F1="https://tiles.openfreemap.org/styles/fiord";function sc(e){var o;const t=((o=Xa[e])==null?void 0:o.global)||Xa.mapbox.global;return typeof window<"u"?window[t]:void 0}async function rf(e){const t=Xa[e]||Xa.mapbox;if(sc(e)||typeof document>"u")return;if(!document.querySelector(`link[href="${t.css}"]`)){const n=document.createElement("link");n.rel="stylesheet",n.href=t.css,Kr(n,t.css),document.head.appendChild(n)}const o=document.querySelector(`script[src="${t.js}"]`);if(o){if(sc(e))return;await new Promise(n=>{o.addEventListener("load",n,{once:!0}),o.addEventListener("error",n,{once:!0})});return}await new Promise((n,a)=>{const r=document.createElement("script");r.src=t.js,Kr(r,t.js),r.async=!1,r.addEventListener("load",n,{once:!0}),r.addEventListener("error",()=>a(new Error(`[useMapInstance] Failed to load ${e} engine script`)),{once:!0}),document.head.appendChild(r)})}async function N1(e,t){if(!e)return;const o=e.getRootNode();if(!(o instanceof ShadowRoot))return;const n=s=>new Promise(i=>setTimeout(i,s)),a=o.querySelector(`link[href="${t}"]`);if(a){if(a.sheet)return;await Promise.race([new Promise(s=>{a.addEventListener("load",s,{once:!0}),a.addEventListener("error",s,{once:!0})}),n(2e3)]);return}const r=document.createElement("link");r.rel="stylesheet",r.href=t,Kr(r,t),await Promise.race([new Promise(s=>{r.addEventListener("load",s,{once:!0}),r.addEventListener("error",s,{once:!0}),o.prepend(r)}),n(2e3)])}function I1(e,t){return typeof e=="string"&&/^https?:\/\//.test(e)?e:t==="night"||t==="dusk"?F1:R1}const O1=85.0511,ic=-2,D1=0,z1=-60;function sf(e){return(1-Math.log(Math.tan(Math.PI/4+e*Math.PI/180/2))/Math.PI)/2}function j1(e,t,o,n){if(!e||e<=0||!t||t<=0)return D1;const a=Math.log2(e/512),r=sf(n)-sf(O1),s=Math.log2(t/(512*r)),i=Math.max(a,s);return Math.max(ic,Math.min(i,(o??18)-1))}function B1({containerRef:e,accessToken:t,style:o,config:n=void 0,provider:a=void 0,center:r=[20,10],zoom:s=2,bounds:i=void 0,fitBoundsOptions:l=void 0,minZoom:c=void 0,skipWorldFloor:u=!1,maxZoom:p=18,pitch:f=0,bearing:x=0,renderWorldCopies:S=!0,showEdgeBorders:y=!0,southCutoff:h=z1,maxBounds:_=void 0}){const g=Ia(null),b=we(!1);let d=null,w=null,m=null,k=null;try{k=je("profileConfig",null)}catch{}const E=!a&&!Xg(k);a=a||Jg(k,{token:t});let L=a==="maplibre";typeof document<"u"&&rf(a).catch(()=>{});let H=null;try{H=je("lang",null)}catch{}const K=()=>{const N=H&&typeof H=="object"&&"value"in H?H.value:H;if(typeof N=="string"&&N)return N;const $=k&&typeof k=="object"&&"value"in k?k.value:k;if($&&($.locale||$.lang))return String($.locale||$.lang);try{const A=new URLSearchParams(location.search);return A.get("lang")||A.get("locale")||document.documentElement.lang||"en"}catch{return"en"}};async function J(){var X;if(E&&!L&&!t&&typeof window<"u"&&window.__doxaMapTokenPending){if(await window.__doxaMapTokenPending,!e.value)return;typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN||(a="maplibre",L=!0)}const N=y1(o,a),$=N.style||o;if(!e.value){console.error("containerRef.value is null — call initializeMap() inside onMounted()");return}const A=()=>!e.value;if(await rf(a),A())return;const I=sc(a);if(!I){console.error(`[useMapInstance] ${L?"maplibregl":"mapboxgl"} is not available. Add the ${L?"MapLibre":"Mapbox"} GL JS script to your page.`);return}if(L1(I),!L){if(!t&&typeof window<"u"&&window.__doxaMapTokenPending&&(await window.__doxaMapTokenPending,A()))return;if(!t&&typeof window<"u"&&typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN&&(t=window.MAP_TOKEN),!t){typeof window<"u"&&!window.__doxaNoTokenWarned&&(window.__doxaNoTokenWarned=!0,console.warn('No Mapbox access token provided. Pass "tk" in profile-config JSON or set window.MAP_TOKEN.'));return}if(!t.startsWith("pk.")){console.error('Mapbox token looks invalid (expected "pk." prefix). Got:',t.slice(0,10)+"...");return}}if(await N1(e.value,L?Xa.maplibre.css:M1),A()||(await new Promise(q=>requestAnimationFrame(q)),A()))return;const F=e.value,W=F.clientWidth,z=F.clientHeight;if(W===0||z===0){console.error(`[useMapInstance] Container has ZERO dimensions (${W}×${z}). Map will be invisible. Check that parent elements have CSS sizing.`);let q=F.parentElement,pe=0;for(;q&&pe<5;)q=q.parentElement,pe++}const Z=t;L||(I.accessToken=Z);const j=()=>typeof window<"u"&&window.innerWidth>=1024,ae=(q,pe)=>{if(u)return typeof c=="number"?c:ic;if(!j())return ic;const Le=j1(q,pe,p,h);return typeof c=="number"?Math.max(c,Le):Le},_e=ae(F.clientWidth,F.clientHeight),Te=N.lightPreset||(()=>{var q;try{const pe=typeof n=="function"?n():n;return(q=pe==null?void 0:pe.basemap)==null?void 0:q.lightPreset}catch{return}})();if(L){g.value=new I.Map({container:e.value,style:I1($,Te),locale:nf(K(),"maplibre"),center:r,zoom:s,minZoom:_e,maxZoom:p,pitch:f,bearing:x,dragRotate:!1,renderWorldCopies:S,...i?{bounds:i,...l?{fitBoundsOptions:l}:{}}:{},..._?{maxBounds:_}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),af(g.value);try{e.value.__doxaMap=g.value}catch{}}else{const q=typeof n=="function"?n():n;g.value=new I.Map({accessToken:Z,container:e.value,style:$,locale:nf(K(),"mapbox"),...q?{config:q}:{},center:r,zoom:s,minZoom:_e,maxZoom:p,pitch:f,bearing:x,dragRotate:!1,touchPitch:!1,renderWorldCopies:S,...i?{bounds:i,...l?{fitBoundsOptions:l}:{}}:{},..._?{maxBounds:_}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),af(g.value);try{e.value.__doxaMap=g.value}catch{}}try{let q=!1;g.value.on("error",pe=>{var O,B;const Le=((O=pe==null?void 0:pe.error)==null?void 0:O.status)??(pe==null?void 0:pe.status),M=String(((B=pe==null?void 0:pe.error)==null?void 0:B.url)||(pe==null?void 0:pe.sourceId)||"");Le!==401&&Le!==403||q||(q=!0,console.error(`[doxa-maps] Mapbox returned ${Le} 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.`+(M?` First failing request: ${M.slice(0,120)}`:"")))})}catch{}try{g.value.touchZoomRotate.disableRotation()}catch{}m=$1(((X=e.value)==null?void 0:X.parentElement)||null,{enabled:y});let xe=_e,Ae=null;d=()=>{const q=g.value;if(!q)return;const pe=ae(F.clientWidth,F.clientHeight);pe!==xe&&(xe=pe,q.setMinZoom(pe)),q.getZoom(){Ae=null;const Le=g.value;if(!Le)return;const M=ae(F.clientWidth,F.clientHeight);if(Le.getZoom(){Ae&&(clearTimeout(Ae),Ae=null)},g.value.on("resize",d),typeof window<"u"&&(window.addEventListener("resize",d),window.addEventListener("orientationchange",d)),g.value.on("style.load",()=>{if(g.value&&of(g.value,K()),N.paint&&g.value){const q=v1(g.value,N.paint);console.info("[useMapInstance] style paint applied ("+a+"):",q.join(", ")||"NONE MATCHED")}requestAnimationFrame(()=>{var q;(q=g.value)==null||q.resize(),g.value&&g.value.setMinZoom(ae(F.clientWidth,F.clientHeight)),b.value=!0})})}function v(){if(g.value){if(d&&(g.value.off("resize",d),typeof window<"u"&&(window.removeEventListener("resize",d),window.removeEventListener("orientationchange",d)),d=null),w){try{w()}catch{}w=null}m&&(m(),m=null);try{const $=typeof window<"u"?window:null;$&&$.__doxaLogoOwner===g.value&&($.__doxaLogoOwner=null)}catch{}const N=g.value;g.value.remove();try{e&&e.value&&e.value.__doxaMap===N&&(e.value.__doxaMap=null)}catch{}g.value=null,b.value=!1}}if(H&&typeof H=="object"&&"value"in H)try{Ue(H,()=>{g.value&&b.value&&of(g.value,K())})}catch{}return{map:g,isMapReady:b,initializeMap:J,destroy:v}}const G1=Ta&&Ta.tagName.toUpperCase()==="SCRIPT"&&Ta.src||new URL("doxa-research-map.js",document.baseURI).href,qn=e=>String(e||"").trim().replace(/\/+$/,"");function lf(){try{const t=String(G1||"").split(/[?#]/)[0].match(/^(.*)\/([^/]+)\/([^/]+)\.js$/);return!t||t[2]!==t[3]?null:t[1]||null}catch{return null}}function H1(e){const t=e==null?void 0:e.embedBaseUrl;if(typeof t=="string"&&t.trim())return qn(t);if(typeof window<"u"){const o=window.MAP_EMBED_BASE_URL;if(typeof o=="string"&&o.trim())return qn(o)}return qn(lf()||"")}function lc(e){const t=e==null?void 0:e.assetsBase;if(typeof t=="string"&&t.trim()){const n=qn(t);if(/^https?:\/\//i.test(n)||n.startsWith("/"))return n}const o=qn((e==null?void 0:e.treeBase)||"")||qn(lf()||"");if(o)try{const n=typeof document<"u"?document.baseURI:void 0;return qn(new URL(o+"/assets",n).href)}catch{return qn(o+"/assets")}return"./assets"}function U1({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=H1(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 cf="adoptionStatus",Tn={notAdopted:"#f03b2d",hasAdoption:"#22c55e"},cc=Tn,uc={notAdopted:"Needs Adoption",hasAdopted:"Has Adoption"},W1=uc;function uf(e){var n;const t=e.adoptionStatus??((n=e._raw)==null?void 0:n.adopted_by_churches);return t===!0||t===1||typeof t=="number"&&t>0||typeof t=="object"&&(t==null?void 0:t.value)?Tn.hasAdoption:Tn.notAdopted}function dc({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","adoptionStatus"]:["get","adoptionStatus"];return["case",["==",t,!0],Tn.hasAdoption,["==",t,1],Tn.hasAdoption,Tn.notAdopted]}const df=dc,K1=Object.freeze(Object.defineProperty({__proto__:null,ADOPTION_COLORS:cc,ADOPTION_LABELS:W1,LABELS:uc,PALETTE:Tn,PROPERTY_KEY:cf,applyColor:dc,buildColorExpression:df,default:{name:"Adoption Progress",propertyKey:cf,palette:Tn,colors:Tn,labels:uc,getColor:uf,applyColor:dc,buildColorExpression:df},getColor:uf},Symbol.toStringTag,{value:"Module"})),pc="affinityBlock",Qa="#95a5a6",En={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",A018:"Tibetan Peoples",A019:"Himalayan Peoples"},mi={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",A018:"#6C3483",A019:"#A569BD"},Vn=mi,pf=Object.entries(En).reduce((e,[t,o])=>(e[o]=t,e),{}),gc=Object.entries(En).reduce((e,[t,o])=>(e[o]=Vn[t],e),{}),gf=En;function fc(e){return En[e]||"Unknown"}function hc(e){return Vn[e]||Qa}function ff(e){return e?typeof e=="string"&&/^A\d{3}$/.test(e)?Vn[e]||Qa:gc[e]||Qa:Qa}function hf(){return Object.entries(En).map(([e,t])=>({code:e,name:t,color:Vn[e]}))}function mf(e){return{code:e,name:En[e]||"Unknown",color:Vn[e]||Qa}}function bf(e){var o;const t=e.affinityBlock||((o=e._raw)==null?void 0:o.ROP1);return hc(t)}function $f(e){var o;const t=e.affinityBlock||((o=e._raw)==null?void 0:o.ROP1);return fc(t)}function mc(){const e=["match",["get",pc]];return Object.entries(Vn).forEach(([t,o])=>{e.push(t,o)}),e.push(Qa),e}const _f=mc,q1=Object.freeze(Object.defineProperty({__proto__:null,AFFINITY_BLOCK_COLORS:Vn,AFFINITY_BLOCK_COLORS_BY_NAME:gc,AFFINITY_BLOCK_NAMES:En,AFFINITY_BLOCK_NAME_TO_CODE:pf,NAMES:gf,PALETTE:mi,PROPERTY_KEY:pc,affinityBlockCodeLookup:En,affinityBlockCodeToColor:Vn,affinityBlockCodeToName:En,affinityBlockColors:gc,affinityBlockNameToCode:pf,applyColor:mc,buildColorExpression:_f,default:{name:"Affinity Block",propertyKey:pc,palette:mi,colors:mi,names:gf,getColor:bf,applyColor:mc,buildColorExpression:_f,getName:$f,getAffinityBlockName:fc,getAffinityBlockColor:ff,getAffinityBlockColorByCode:hc,getAffinityBlocksArray:hf,getAffinityBlockData:mf},getAffinityBlockColor:ff,getAffinityBlockColorByCode:hc,getAffinityBlockData:mf,getAffinityBlockName:fc,getAffinityBlocksArray:hf,getColor:bf,getName:$f},Symbol.toStringTag,{value:"Module"}));function V1(e){if(!e)return"hsl(0, 60%, 50%)";let t=0;for(let n=0;n{e.push(t,o)}),e.push($c),e}const kf=vc,Z1=Object.freeze(Object.defineProperty({__proto__:null,DOXA_REGION_COLORS:Y1,PALETTE:bi,PROPERTY_KEY:bc,REGION_COLOR_ALIASES:yc,SLUG_PALETTE:$i,applyColor:vc,buildColorExpression:kf,default:{name:"DOXA Region",propertyKey:bc,palette:bi,colors:bi,slugColors:$i,aliases:yc,fallback:$c,getColor:wf,applyColor:vc,buildColorExpression:kf,getRegionColor:vf,getRegionColorBySlug:_c},getColor:wf,getRegionColor:vf,getRegionColorBySlug:_c},Symbol.toStringTag,{value:"Module"})),xf="engagementStatus",Mn={notEngaged:"#f03b2d",hasEngagement:"#22c55e"},wc=Mn,kc={notEngaged:"Unengaged",hasEngagement:"Engaged"},J1=kc;function Sf(e){var n;const t=e.engagementStatus??((n=e._raw)==null?void 0:n.people_committed);return t===!0||t===1||typeof t=="number"&&t>0||typeof t=="object"&&(t==null?void 0:t.value)?Mn.hasEngagement:Mn.notEngaged}function xc({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","engagementStatus"]:["get","engagementStatus"];return["case",["==",t,!0],Mn.hasEngagement,["==",t,1],Mn.hasEngagement,Mn.notEngaged]}const Af=xc,X1=Object.freeze(Object.defineProperty({__proto__:null,ENGAGEMENT_COLORS:wc,ENGAGEMENT_LABELS:J1,LABELS:kc,PALETTE:Mn,PROPERTY_KEY:xf,applyColor:xc,buildColorExpression:Af,default:{name:"Engagement Progress",propertyKey:xf,palette:Mn,colors:Mn,labels:kc,getColor:Sf,applyColor:xc,buildColorExpression:Af},getColor:Sf},Symbol.toStringTag,{value:"Module"})),Sc="languageFamily",Q1="#000000",Yn={"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"},Pf=Yn;function zo(e){return Yn[e]||Q1}const ev=(()=>{const e=o=>String(o||"").toLowerCase().trim(),t={};for(const o of Object.keys(Yn))t[e(o)]=o;return t})(),tv={"tai-kadai":"Kra-Dai",none:"Unknown"};function _i(e){if(!e)return"Unknown";const t=String(e).trim(),o=t.toLowerCase();return tv[o]||ev[o]||t}function Lf(e){var t;return zo(e.languageFamily||((t=e._normalized)==null?void 0:t.languageFamily))}function Ac(){const e=["match",["get",Sc]];return Object.entries(Yn).forEach(([t,o])=>{e.push(t,o)}),e.push("#95a5a6"),e}const Cf=Ac,ov=Object.freeze(Object.defineProperty({__proto__:null,LANGUAGE_FAMILY_COLORS:Pf,PALETTE:Yn,PROPERTY_KEY:Sc,applyColor:Ac,buildColorExpression:Cf,canonicalFamilyName:_i,default:{name:"Language Family",propertyKey:Sc,palette:Yn,colors:Yn,getColor:Lf,applyColor:Ac,buildColorExpression:Cf,getLanguageFamilyColor:zo,canonicalFamilyName:_i},defaultFamilyColor:"#95a5a6",getColor:Lf,getLanguageFamilyColor:zo,languageFamilyColors:Yn},Symbol.toStringTag,{value:"Module"})),Tf="peoplePraying",rn=144,Zn={noPrayer:"#f03b2d",hasPrayer:"#f0c64a",fullPrayer:"#22c55e"},fa=Zn,Pc={noPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayer:"Has Full Prayer Coverage"},nv=Pc;function yi(e){var n;const t=(e==null?void 0:e.peoplePraying)??((n=e==null?void 0:e._raw)==null?void 0:n.people_praying)??null,o=Number(t)||0;return o>=rn?"fullPrayer":o>0?"hasPrayer":"noPrayer"}function Lc(e){return Zn[yi(e)]}function Ef(e){var o;const t=(e==null?void 0:e.peoplePraying)??((o=e==null?void 0:e._raw)==null?void 0:o.people_praying)??null;return t!==null&&t>0}function Mf(e){return yi(e)==="fullPrayer"}function Rf(e){return Lc(e)}function Cc({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","peoplePraying"]:["get","peoplePraying"];return["case",[">=",t,rn],Zn.fullPrayer,[">",t,0],Zn.hasPrayer,Zn.noPrayer]}const Ff=Cc,av=Object.freeze(Object.defineProperty({__proto__:null,FULL_PRAYER_THRESHOLD:rn,LABELS:Pc,PALETTE:Zn,PRAYER_COLORS:fa,PRAYER_LABELS:nv,PROPERTY_KEY:Tf,applyColor:Cc,buildColorExpression:Ff,checkHasFullPrayer:Mf,checkHasPrayer:Ef,default:{name:"Prayer Progress",propertyKey:Tf,palette:Zn,colors:Zn,labels:Pc,threshold:rn,getColor:Rf,applyColor:Cc,buildColorExpression:Ff,getPrayerLevel:yi,getPrayerColor:Lc,checkHasPrayer:Ef,checkHasFullPrayer:Mf},getColor:Rf,getPrayerColor:Lc,getPrayerLevel:yi},Symbol.toStringTag,{value:"Module"})),Nf="religion",Tc="#94a3b8",jo={C:"Christianity",M:"Islam",H:"Hinduism",B:"Buddhism",E:"Ethnoreligion",J:"Judaism",S:"Sikhism",N:"Unaffiliated",O:"Other",U:"Unknown"},ko={C:"#3b82f6",M:"#ef4444",H:"#f59e0b",B:"#facc15",E:"#84cc16",J:"#a855f7",S:"#ec4899",N:"#71717a",O:"#ff6b2b",U:"#94a3b8"};function qr(e){if(!e||typeof e!="string")return"U";const t=e.charAt(0).toUpperCase();return jo[t]?t:"U"}function If(e){var o,n,a;const t=(e==null?void 0:e.religion)||((n=(o=e==null?void 0:e._raw)==null?void 0:o.religion)==null?void 0:n.value)||((a=e==null?void 0:e._raw)==null?void 0:a.religion);return ko[qr(t)]||Tc}function Ec(){return["match",["slice",["coalesce",["get","religion"],""],0,1],"C",ko.C,"M",ko.M,"H",ko.H,"B",ko.B,"E",ko.E,"J",ko.J,"S",ko.S,"N",ko.N,"O",ko.O,Tc]}const Of=Ec,rv={name:"Religion",propertyKey:Nf,palette:ko,families:jo,getColor:If,applyColor:Ec,buildColorExpression:Of,fallback:Tc};function Mc(e){const t=String(e||""),o=jo[t]||t;return o?no("religion.family."+o)||o:""}const sv=Object.freeze(Object.defineProperty({__proto__:null,PALETTE:ko,PROPERTY_KEY:Nf,RELIGION_FAMILIES:jo,applyColor:Ec,buildColorExpression:Of,default:rv,getColor:If,getReligionFamily:qr,religionFamilyLabel:Mc},Symbol.toStringTag,{value:"Module"})),Df="resourceType",Jn={bible:"#3498db",jesusFilm:"#20c997",radio:"#9b59b6",gospel:"#f39c12",audio:"#1abc9c",stories:"#e74c3c",hasResources:"#27ae60",noResources:"#2c3e50"},iv=Jn,Vr=["bible","jesusFilm","radio","gospel","audio","stories"],Rc={bible:"Bible",jesusFilm:"Jesus Film",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",hasResources:"Has Resources",noResources:"No Resources"},lv=Rc;function Yr(e){return{bible:"Bible",jesusFilm:"Jesus",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories"}[e]}function zf(e){var t;for(const o of Vr)if((e[o]||((t=e._raw)==null?void 0:t[Yr(o)]))==="Available")return Jn.hasResources;return Jn.noResources}function jf(e){var t;for(const o of Vr)if((e[o]||((t=e._raw)==null?void 0:t[Yr(o)]))==="Available")return!0;return!1}function Bf(e){var t;for(const o of Vr)if((e[o]||((t=e._raw)==null?void 0:t[Yr(o)]))==="Available")return o;return"noResources"}function Fc(){return["case",["any",["==",["get","bible"],"Available"],["==",["get","jesusFilm"],"Available"],["==",["get","radio"],"Available"],["==",["get","gospel"],"Available"],["==",["get","audio"],"Available"],["==",["get","stories"],"Available"]],Jn.hasResources,Jn.noResources]}const Gf=Fc,cv=Object.freeze(Object.defineProperty({__proto__:null,NAMES:Rc,PALETTE:Jn,PROPERTY_KEY:Df,RESOURCE_COLORS:iv,RESOURCE_NAMES:lv,RESOURCE_PRIORITY:Vr,applyColor:Fc,buildColorExpression:Gf,default:{name:"Gospel Resources",propertyKey:Df,palette:Jn,colors:Jn,names:Rc,priority:Vr,getColor:zf,applyColor:Fc,buildColorExpression:Gf,hasAnyResource:jf,getResourceType:Bf,getCSVColumn:Yr},getCSVColumn:Yr,getColor:zf,getResourceType:Bf,hasAnyResource:jf},Symbol.toStringTag,{value:"Module"})),Hf="region",Nc="#6d766e",Uf={africa:"Africa",asia:"Asia",europe:"Europe","latin_america_&_caribbean":"Latin America & Caribbean",middle_east:"Middle East","north_america_&_non-spanish_caribbean":"North America & Non-Spanish Caribbean",oceania:"Oceania"},Zr={africa:"#ff2e2e",asia:"#1a8cff",europe:"#1ee05f","latin_america_&_caribbean":"#FFEB3B",middle_east:"#a83dff","north_america_&_non-spanish_caribbean":"#00e0bd",oceania:"#ff7f11"},Ic=Object.keys(Zr);function Wf(e){var o,n,a;const t=(e==null?void 0:e.region)||((n=(o=e==null?void 0:e._raw)==null?void 0:o.wagf_region)==null?void 0:n.value)||((a=e==null?void 0:e._raw)==null?void 0:a.wagf_region);return Zr[t]||Nc}function Oc(){const e=["match",["coalesce",["get","region"],""]];for(const t of Ic)e.push(t,Zr[t]);return e.push(Nc),e}const Kf=Oc,uv=Object.assign({"./adoption.js":K1,"./affinity-block.js":q1,"./doxa-region.js":Z1,"./engagement.js":X1,"./language-family.js":ov,"./prayer-progress.js":av,"./religion.js":sv,"./resource.js":cv,"./wagf-region.js":Object.freeze(Object.defineProperty({__proto__:null,PALETTE:Zr,PROPERTY_KEY:Hf,REGION_ORDER:Ic,WAGF_REGIONS:Uf,applyColor:Oc,buildColorExpression:Kf,default:{name:"WAGF Region",propertyKey:Hf,palette:Zr,regions:Uf,order:Ic,getColor:Wf,applyColor:Oc,buildColorExpression:Kf,fallback:Nc},getColor:Wf},Symbol.toStringTag,{value:"Module"}))}),dv=e=>e.replace(/-([a-z0-9])/g,(t,o)=>o.toUpperCase()),pv=e=>e.replace(/-/g,"_").toUpperCase(),er={...{STATUS:"status",CUSTOM:"custom"}},Dc={};function gv(e){for(const t of Object.keys(e).sort()){const o=t.split("/").pop().replace(/\.js$/,"");if(o.startsWith("_")||o.startsWith("."))continue;const n=e[t].default;if(!n)continue;const a=dv(o);er[pv(o)]=a,Dc[a]=n}}gv(uv);function sn(e){return Dc[e]||Dc[er.LANGUAGE_FAMILY]}function fv(e,t={}){return sn(e).applyColor(t)}const hv={Africa:{zoom:1.3,center:[16.6512,26.3538]},Asia:{zoom:.8,center:[98.2654,49.9282]},Europe:{zoom:1.4,center:[22.7826,70.1026]},"Latin America & Caribbean":{zoom:1.8,center:[-60.4619,10.1428]},"Middle East":{zoom:1.7,center:[22.9056,39.5752]},"No WAGF Region/Bloc":{zoom:.6,center:[-8.2363,44.2392]},"North America & Non-Spanish Caribbean":{zoom:2.1,center:[-68.1935,31.4282]},Oceania:{zoom:1.5,center:[161.6257,-.668]}},qf={circleRadius:{standard:["interpolate",["linear"],["zoom"],0,3,2,3.5,4,4,5,5,6,6.5,7,8,8,10,10,14,12,18,14,22],highlighted:["interpolate",["linear"],["zoom"],0,4,4,5,8,12,12,20],faded:["interpolate",["linear"],["zoom"],0,2,4,2.5,8,5,12,8],compact:["interpolate",["linear"],["zoom"],0,2,4,3,8,6,12,10],large:["interpolate",["linear"],["zoom"],0,4,4,6,8,14,12,24],touchTarget:["interpolate",["linear"],["zoom"],0,12,2,15,4,19,6,20,8,21,10,22,12,24,14,28]}};function mv(e){return hv[e]||null}function zc(e="standard"){return qf.circleRadius[e]||qf.circleRadius.standard}const bv={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"};function Rt(e){return e==null?"":String(e).replace(/[&<>"'`]/g,t=>bv[t])}function $v(e,t=""){try{const o=new URL(String(e),typeof location<"u"?location.href:"https://example.invalid/");if(o.protocol==="http:"||o.protocol==="https:")return Rt(o.href)}catch{}return Rt(t)}function Vf(e={}){const{getMap:t=()=>null,mapId:o="unknown",getLanguageFamilyColor:n=()=>"#999999",getNormalizedPeopleGroups:a=()=>[]}=e,r=je("uiStore"),{t:s,locale:i}=jt(),l=we([]);function c(b){const d=n(b.languageFamily),w="https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg";let m=b.imageUrl;(!m||m.includes("NoImageAvailable"))&&(m=w);const k=(b.name||"U")[0].toUpperCase(),E=["#e74c3c","#3498db","#2ecc71","#f39c12","#9b59b6","#1abc9c","#e67e22","#34495e"],L=k.charCodeAt(0)%E.length,H=E[L];return` +`,"pin-hint"),(I,F)=>c.value?Fs((re(),he("div",{key:0,ref_key:"hintEl",ref:g,class:Ge(["pin-hint",{dark:i.value}]),role:"status"},[R("span",Dy,[F[0]||(F[0]=R("span",{class:"pin-hint-dot","aria-hidden":"true"},null,-1)),Bt(" "+ye(l.value)+" ",1),R("button",{class:"pin-hint-x",type:"button","aria-label":t("aria.dismissHint","Dismiss hint"),onClick:J},"×",8,zy)])],2)),[[op,u.value&&f.value]]):Me("",!0)}},By=".lsn-bar[data-v-9a589f6f]{display:flex;align-items:flex-start;gap:8px;flex:none;margin:0;padding-block:8px;padding-inline:12px 8px;background:#fff8e1;border-block-end:1px solid #f0d68a;color:#4a3b00;font:400 13px/1.4 system-ui,-apple-system,Segoe UI,sans-serif}.lsn-bar__text[data-v-9a589f6f]{flex:1 1 auto;margin:0}.lsn-bar__x[data-v-9a589f6f]{flex:none;min-width:24px;min-height:24px;padding:0;border:0;border-radius:4px;background:transparent;color:inherit;font:600 18px/1 system-ui,sans-serif;cursor:pointer}.lsn-bar__x[data-v-9a589f6f]:focus-visible{outline:2px solid #1a73e8;outline-offset:2px}.lsn-block[data-v-9a589f6f]{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%;min-height:200px;padding:24px;background:#f7f7f5;color:#333;text-align:center;font:400 15px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}.lsn-block__text[data-v-9a589f6f]{max-width:28em;margin:0}",nn=(e,t)=>{const o=e.__vccOpts||e;for(const[n,a]of t)o[n]=a;return o},Gy={key:0,class:"lsn-block",role:"status"},Hy={class:"lsn-block__text"},Uy={key:0},Wy={key:1,class:"lsn-bar",role:"note"},Ky={class:"lsn-bar__text"},qy=["aria-label","title"],Wg=nn({__name:"LargerScreenNotice",props:{mode:{type:String,required:!0},label:{type:String,default:""},locale:{type:String,default:""}},emits:["dismiss"],setup(e){const t=e,o=(s,i)=>no(s,t.locale||void 0)||i,n=oe(()=>o("messages.largerScreenNotice","This experimental map is built for larger screens. It opens here, but parts of it may not fit or work well on a phone.")),a=oe(()=>o("messages.noticeDismiss","Dismiss")),r=oe(()=>o("messages.desktopOnlyNotice","{label} only supports desktop — open this page on a desktop to use it.").split("{label}"));return(s,i)=>e.mode==="desktop-only"?(re(),he("div",Gy,[R("p",Hy,[Bt(ye(r.value[0]),1),r.value.length>1?(re(),he("bdi",Uy,ye(e.label),1)):Me("",!0),Bt(ye(r.value[1]||""),1)])])):(re(),he("div",Wy,[R("p",Ky,ye(n.value),1),R("button",{type:"button",class:"lsn-bar__x","aria-label":a.value,title:a.value,onClick:i[0]||(i[0]=l=>s.$emit("dismiss"))},"×",8,qy)]))}},[["styles",[By]],["__scopeId","data-v-9a589f6f"]]),Vy="(max-width: 639.98px)";function Yy(e){for(let t=e;t;t=t.parentNode||t.host)if(t.nodeType===1&&t.hasAttribute("data-doxa-gallery"))return!0;return!1}function Zy(e){var l;const t=oe(()=>{var u;const c=(u=e.value)==null?void 0:u.mobile;return c==="desktop-only"||c==="larger-screens"?c:null});let o=null;try{o=e$()}catch{o=null}const n=o?Yy(o):!1,a=we(!1);if(typeof window<"u"&&typeof window.matchMedia=="function"){const c=window.matchMedia(Vy);a.value=c.matches;const u=p=>{a.value=p.matches};(l=c.addEventListener)==null||l.call(c,"change",u),wo(()=>{var p;return(p=c.removeEventListener)==null?void 0:p.call(c,"change",u)})}const r=oe(()=>{var c;return`dx-maps:larger-screens-dismissed:${((c=e.value)==null?void 0:c.profile)||""}`}),s=we(!1);Ue(r,c=>{try{s.value=sessionStorage.getItem(c)==="1"}catch{s.value=!1}},{immediate:!0});function i(){s.value=!0;try{sessionStorage.setItem(r.value,"1")}catch{}}return{flag:t,blocked:oe(()=>t.value==="desktop-only"&&a.value&&!n),advise:oe(()=>t.value==="larger-screens"&&a.value&&!n&&!s.value),dismiss:i,label:oe(()=>{var c,u;return String(((c=e.value)==null?void 0:c.mobileLabel)||((u=e.value)==null?void 0:u.profile)||"")})}}const fi="mapbox://styles/mapbox/standard",Jy=fi,Xy=fi,Qy=!1,Kg={lightPreset:"night",theme:"default"},e1={lightPreset:"day",theme:"monochrome"};function t1(e){return e?/affinity|region|language/i.test(String(e))?"light":"dark":null}function o1(e){let t=!1;const o=new WeakSet;function n(){return!1}function a(){return n()?"night":"day"}let r="dark";function s(_){return t1(_)}function i(_,g){_!=="light"&&_!=="dark"||(r=_,g&&y(g))}function l(){return{...r==="light"?e1:Kg}}function c(){return fi}function u(){return{basemap:l()}}function p(_,g){try{return typeof _.getConfigProperty=="function"?_.getConfigProperty("basemap",g):void 0}catch{return}}function f(_){return!!_&&typeof _.setConfigProperty=="function"&&typeof _.getConfigProperty=="function"}function x(_,g=!1){if(!f(_))return!1;const b=l();let d=!1;try{for(const[w,m]of Object.entries(b))!g&&p(_,w)===m||(_.setConfigProperty("basemap",w,m),d=!0)}catch(w){console.warn("[useMapTheme] setConfigProperty failed:",w)}return d}function S(_){if(!o.has(_)&&(o.add(_),!!f(_)))try{_.on("style.load",()=>x(_)),_.on("styledata",()=>x(_))}catch{}}function y(_){if(!_)return;if(S(_),x(_)&&!t){t=!0;try{_.once("idle",()=>{t=!1,x(_,!0)})}catch{t=!1}}}function h(_){e.toggleTheme(),y(_)}return{setLook:i,lookFor:s,STANDARD_STYLE:fi,LIGHT_STYLE:Jy,DARK_STYLE:Xy,isDarkTheme:n,lightPreset:a,basemapConfig:l,bootStyle:c,bootConfig:u,applyTheme:y,swapTheme:h}}let n1=0;const a1=Ml("ui",{state:()=>({_storeInstanceId:++n1,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){const t=e&&!this.selectedPeopleGroup;this.selectedPeopleGroup=e,e?(t&&(this._legendStateBeforeDetail=this.legendState),this.legendState="open",this._customLegendHeight=null,this.setLegendMode("detail")):(this._legendStateBeforeDetail&&(this.legendState=this._legendStateBeforeDetail),this._legendStateBeforeDetail=null,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)}))}}}),r1=Ml("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",clusteringMode:"off",clusterPinOpacity:.6,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)},setClusteringMode(e){["off","mapbox","mst","network"].includes(e)&&(this.clusteringMode=e,this.showClusters=e!=="off")},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()}}}),s1=Ml("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]=Fa({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]=Fa({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}}}),ga={_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}}},i1=".profile-loader[data-locale-pending][data-v-ceea9a56] .stl-tabs,.profile-loader[data-locale-pending][data-v-ceea9a56] .stl-title,.profile-loader[data-locale-pending][data-v-ceea9a56] .stl-rows,.profile-loader[data-locale-pending][data-v-ceea9a56] .legend-title,.profile-loader[data-locale-pending][data-v-ceea9a56] .legend-content,.profile-loader[data-locale-pending][data-v-ceea9a56] .legend-reopen-label,.profile-loader[data-locale-pending][data-v-ceea9a56] .lt-btn-text,.profile-loader[data-locale-pending][data-v-ceea9a56] .rd-topbar,.profile-loader[data-locale-pending][data-v-ceea9a56] .rd-exportbar{visibility:hidden}.profile-loader[data-v-ceea9a56]{border-radius:var(--map-radius-corners, var(--map-radius, 0px));width:100%;height:100%;min-height:var(--profile-min-h, 100dvh);position:relative}.profile-loader.has-screen-notice[data-v-ceea9a56]{display:flex;flex-direction:column}.profile-loader.has-screen-notice[data-v-ceea9a56]>:not(.lsn-bar){flex:1 1 auto;min-height:0;position:relative!important;inset:auto!important}.profile-error[data-v-ceea9a56]{padding:1rem;background:#fff3cd;border:1px solid #ffc107;border-radius:4px;font-family:monospace;font-size:13px}",l1=["dir","data-locale-pending"],c1={key:0,class:"profile-error"},u1={key:1,class:"profile-error"},d1=nn({__name:"ProfileLoader",props:{profileConfig:{type:String,default:""}},setup(e){var J;const o=e,n=je("profileConfig",null),a=oe(()=>{var N;if(!o.profileConfig)return null;let v;try{v=JSON.parse(o.profileConfig)}catch{return console.error("[ProfileLoader] Invalid profile-config JSON:",o.profileConfig),null}if(v&&v.assetsBase===void 0){const $=(N=n==null?void 0:n.value)==null?void 0:N.assetsBase;typeof $=="string"&&$&&(v.assetsBase=$)}return v}),r=je("profileModules",null);if(!r)throw new Error('[ProfileLoader] No profileModules provided. Bundle entry must `app.provide("profileModules", import.meta.glob("./*.vue"))`');const s=(()=>{const v=Object.keys(r||{});if(v.length!==1)return null;const N=v[0].match(/^\.\/(.+)\.vue$/);return N?N[1]:null})(),i=oe(()=>{var v;return((v=a.value)==null?void 0:v.profile)||s||null}),l=m$(),c=oe(()=>{var N;const v=(N=a.value)==null?void 0:N.tk;return typeof v=="string"&&v?v:l.value||""});Ue(()=>{var v;return(v=a.value)==null?void 0:v.tk},v=>{typeof v=="string"&&v&&Nl(v)},{immediate:!0}),Ue(()=>{var v;return(v=a.value)==null?void 0:v.tokenUrl},v=>{var N;v&&!((N=a.value)!=null&&N.tk)&&!l.value&&b$(v)},{immediate:!0});const u=oe(()=>{var v;return((v=a.value)==null?void 0:v.dataSource)||ga.activeSource||"doxa-csv"}),p=oe(()=>{var v;return((v=a.value)==null?void 0:v.colorSet)||"default"}),f=oe(()=>!1),x=oe(()=>{var v;return((v=a.value)==null?void 0:v.pinHint)!==!1}),S=oe(()=>{var N,$;const v=(((N=a.value)==null?void 0:N.locale)||(($=a.value)==null?void 0:$.lang)||Dg()||"").split("-")[0].toLowerCase();return Ja.includes(v)?v:""}),y=je("appI18n",null);rd(()=>{S.value&&(y&&(y.global.locale.value=S.value),jg(S.value),oc(y,S.value).catch(()=>{}))});const h=oe(()=>{var v,N;return S.value||((N=(v=y==null?void 0:y.global)==null?void 0:v.locale)==null?void 0:N.value)||"en"}),_=oe(()=>di.has(h.value)?"rtl":"ltr"),{blocked:g,advise:b,dismiss:d,label:w}=Zy(a),m=we(!1);rd(v=>{const N=h.value;if(!di.has(N)){m.value=!1;return}let $=!0;v(()=>{$=!1}),m.value=!0,Py(N).finally(()=>{$&&(m.value=!1)})});const k=oe(()=>{var v;return((v=a.value)==null?void 0:v.instanceId)||"doxa-map-"+Math.random().toString(36).slice(2,9)}),E=oe(()=>{if(!i.value)return null;const v=`./${i.value}.vue`;return r[v]?gi(r[v]):(console.error(`[ProfileLoader] Profile not found: "${i.value}". Available:`,Object.keys(r)),null)});zt("mapboxToken",c),zt("dataSource",u),zt("colorSet",p),zt("profileConfig",a),zt("instanceId",k),zt("lang",h);const L=a1(),H=r1(),K=s1();try{const v=typeof localStorage<"u"?localStorage.getItem("theme"):null;v&&((J=L.setTheme)==null||J.call(L,v))}catch{}return zt("uiStore",L),zt("mapStore",H),zt("dataStore",K),(v,N)=>(re(),he("div",{class:Ge(["profile-loader",{"has-screen-notice":ge(b)}]),dir:_.value,"data-locale-pending":m.value?"":null},[a.value?E.value?ge(g)?(re(),it(Wg,{key:2,mode:"desktop-only",label:ge(w),locale:h.value},null,8,["label","locale"])):(re(),he(et,{key:3},[ge(b)?(re(),it(Wg,{key:0,mode:"larger-screens",locale:h.value,onDismiss:ge(d)},null,8,["locale","onDismiss"])):Me("",!0),(re(),it(bd(E.value)))],64)):(re(),he("div",u1,[R("p",null,[N[1]||(N[1]=Bt("⚠️ Profile ",-1)),R("strong",null,'"'+ye(i.value)+'"',1),N[2]||(N[2]=Bt(" not found.",-1))])])):(re(),he("div",c1,[...N[0]||(N[0]=[R("p",null,[Bt("⚠️ "),R("strong",null,"doxa-map"),Bt(": missing or invalid "),R("code",null,"profile-config"),Bt(" prop.")],-1),R("p",null,[Bt("Example: "),R("code",null,`profile-config='{"profile":"example-map","tk":"pk.eyJ..."}'`)],-1)])])),E.value&&f.value?(re(),it(bd(ge(null)),{key:4})):Me("",!0),E.value&&x.value?(re(),it(jy,{key:5})):Me("",!0)],10,l1))}},[["styles",[i1]],["__scopeId","data-v-ceea9a56"]]);function qg(e,t,o){var a;const n=(a=e==null?void 0:e._context)==null?void 0:a.provides;if(n&&t in n){n[t]=o;return}e.provide(t,o)}function p1(e,t){var a;const o=(a=e==null?void 0:e._context)==null?void 0:a.provides,n=o?Object.getPrototypeOf(o):null;n&&Object.setPrototypeOf(o,null);try{return t()}finally{n&&Object.setPrototypeOf(o,n)}}function g1({profileModules:e={},configureApp:t=null}={}){return Xb(d1,{configureApp(o){const n=l$();p1(o,()=>o.use(n));const a=Ly();o.use(a),qg(o,"appI18n",a),qg(o,"profileModules",e),t&&t(o,{pinia:n,i18n:a})}})}const f1=Object.assign({"./research-map.vue":()=>Mt(()=>Promise.resolve().then(()=>dP),void 0)});function h1(){return g1({profileModules:f1,configureApp:(e,{pinia:t,i18n:o})=>{}})}const m1=h1();typeof customElements<"u"&&(customElements.get("doxa-research-map")||customElements.define("doxa-research-map",m1));const b1="rgba(120, 128, 134, 0.28)",Vg="36px",Yg=()=>{};function $1(e,t={}){const{enabled:o=!0}=t;if(!o||!e)return Yg;const n=Array.from(e.querySelectorAll(".map-scroll-edge"));if(!n.length)return Yg;const a=g=>g.classList.contains("map-scroll-edge--left");for(const g of n)g.style.background=`linear-gradient(${a(g)?"to right":"to left"}, ${b1} ${Vg}, transparent ${Vg})`,g.style.opacity="0",g.style.transition="opacity 0.16s ease",g.style.userSelect="none",g.style.webkitUserSelect="none";const r=g=>{g.style.opacity="1"},s=g=>{g.style.opacity="0"},i=()=>n.find(g=>!a(g))||null,l=new Set;let c=!1,u=null;const p=()=>{for(const g of n)l.has(g)||s(g)},f=()=>{const g=i();g&&(r(g),u&&clearTimeout(u),u=setTimeout(p,250))},x=()=>f(),S=g=>{if(!(g.touches&&g.touches.length===1))return;const b=g.target;b&&b.classList&&b.classList.contains("map-scroll-edge")||f()},y=()=>{u&&clearTimeout(u),p()};e.addEventListener("wheel",x,{passive:!0}),e.addEventListener("touchmove",S,{passive:!0}),e.addEventListener("touchend",y,{passive:!0}),e.addEventListener("touchcancel",y,{passive:!0});const h=()=>{c||f()};typeof window<"u"&&window.addEventListener("scroll",h,{passive:!0});const _=[];for(const g of n){const b=()=>{l.add(g),r(g)},d=()=>{l.delete(g),s(g)},w=()=>{c=!0,r(g)},m=()=>{c=!1,s(g)};g.addEventListener("mouseenter",b),g.addEventListener("mouseleave",d),g.addEventListener("touchstart",w,{passive:!0}),g.addEventListener("touchend",m,{passive:!0}),_.push(()=>{g.removeEventListener("mouseenter",b),g.removeEventListener("mouseleave",d),g.removeEventListener("touchstart",w),g.removeEventListener("touchend",m)})}return function(){u&&(clearTimeout(u),u=null),e.removeEventListener("wheel",x),e.removeEventListener("touchmove",S),e.removeEventListener("touchend",y),e.removeEventListener("touchcancel",y),typeof window<"u"&&window.removeEventListener("scroll",h);for(const b of _)b();for(const b of n)s(b)}}const _1=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 y1(e,t="mapbox"){if(typeof e!="string"||!e)return{style:void 0,lightPreset:void 0,paint:void 0};const o=_1[e];return o?t==="maplibre"?{style:o.maplibre,lightPreset:void 0,paint:o.paint}:{style:o.mapbox,lightPreset:o.lightPreset,paint:o.paint}:/^(mapbox:\/\/|https?:\/\/)/.test(e)?{style:e,lightPreset:void 0,paint:void 0}:{style:void 0,lightPreset:void 0,paint:void 0}}function v1(e,t){if(!e||!Array.isArray(t))return[];const o=[];for(const n of t)if(!(!n||!n.layer||!n.prop))try{if(!e.getLayer(n.layer))continue;e.setPaintProperty(n.layer,n.prop,n.value),o.push(n.layer+"."+n.prop)}catch{}return o}const w1=["mapbox","maplibre"],k1="auto";function Zg(e){return e&&typeof e=="object"&&"value"in e&&!("provider"in e)&&!("profile"in e)?e.value:e}function Jg(e,{token:t}={}){const o=Zg(e);return Xg(o)||"maplibre"}function Xg(e){const t=Zg(e),o=t==null?void 0:t.provider,n=typeof location<"u"?new URLSearchParams(location.search).get("provider"):void 0,a=typeof window<"u"?window.MAP_PROVIDER:void 0,r=String(o||n||a||k1).toLowerCase().trim();return w1.includes(r)?r:""}function x1(e){return e==="maplibre"?"MapLibre":"Mapbox"}function Qg(e){return typeof window<"u"&&!!window.mapboxgl&&e instanceof window.mapboxgl.Map}function S1(e){if(typeof window>"u")return;const t=window.maplibregl,o=window.mapboxgl;if(t&&t.Map&&e instanceof t.Map)return"maplibre";if(o&&o.Map&&e instanceof o.Map)return"mapbox"}function hi(e){if(typeof window>"u")return;const t=window.maplibregl,o=window.mapboxgl;return t&&t.Map&&e instanceof t.Map?t:o&&o.Map&&e instanceof o.Map?o:o||t}function A1(e,t){if(!e||!t||typeof e.setProjection!="function")return!1;const o=typeof window<"u"?window.maplibregl:null,n=!!(o&&o.Map&&e instanceof o.Map);try{return e.setProjection(n?{type:t}:t),!0}catch{return!1}}function an(e,t="circle"){return Qg(e)?{[`${t}-emissive-strength`]:1}:{}}const Cn={mapboxGlJs:{url:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.js",integrity:"sha384-tO0clamXONKwbiz7O6xJpUeyJbTSPugC+xM9clvfFvKTH3i8SmCawHGdf5quMWmZ"},mapboxGlCss:{url:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.css",integrity:"sha384-rp1X/jJ9MpWPef9OimfXhOaOc4Gzs87yQvF+ajwY6X2H4PTeHNycNlLWiWvj7ehV"},maplibreGlJs:{url:"https://cdn.jsdelivr.net/npm/maplibre-gl@5.24.0/dist/maplibre-gl.js",integrity:"sha384-5+cfbwT0iiub6VsQAdn6yz16nr6sDiQoHx6tm4O8OVYXHYOxcffFmCJBL0dgdvGp"},maplibreGlCss:{url:"https://cdn.jsdelivr.net/npm/maplibre-gl@5.24.0/dist/maplibre-gl.css",integrity:"sha384-uTttxo/aOKbdE5RlD/SPzSDoDmNvGlUYPjONi2MN/b7c9HPSvW07OIuyP7uL6jxK"},mapboxGeocoderJs:{url:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v5.0.0/mapbox-gl-geocoder.min.js",integrity:"sha384-Lx9WK8XhZk57czwxt6B6nyaDHB5Ayrcrsu4Fw4bCp/Ot/QLOsUZ0xYqLOpOOSXZw"},mapboxGeocoderCss:{url:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v5.0.0/mapbox-gl-geocoder.css",integrity:"sha384-1KNhwJNCQTr0DCi/5/OnQcFytgycxTahxNZaqKbAtqmY8bUhu26qxXqvDGXXwplS"},maplibreGeocoderJs:{url:"https://cdn.jsdelivr.net/npm/@maplibre/maplibre-gl-geocoder@1.9.4/dist/maplibre-gl-geocoder.min.js",integrity:"sha384-RGV5vfoJd7alk8HE+71IyVfu19ciH1FKA15+AuXs6OeBM2npXrmTPFqG23yMiHXi"},maplibreGeocoderCss:{url:"https://cdn.jsdelivr.net/npm/@maplibre/maplibre-gl-geocoder@1.9.4/dist/maplibre-gl-geocoder.css",integrity:"sha384-UkDpPApjTpHJHpcJiSNAmbobh30W0/dmt0DoKm4V8CWYRYvQ/Jhd/ijFz0tFdVnH"},d3:{url:"https://cdn.jsdelivr.net/npm/d3@7.9.0/dist/d3.min.js",integrity:"sha384-CjloA8y00+1SDAUkjs099PVfnY2KmDC2BZnws9kh8D/lX1s46w6EPhpXdqMfjK6i"}};function Kr(e,t){const o=Object.values(Cn).find(n=>n.url===t);return o&&(e.integrity=o.integrity,e.crossOrigin="anonymous"),e}const ef={mapbox:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.3.0/mapbox-gl-rtl-text.js",maplibre:"https://cdn.jsdelivr.net/npm/@mapbox/mapbox-gl-rtl-text@0.3.0/dist/mapbox-gl-rtl-text.js"};function P1(e){return!!e&&typeof window<"u"&&e===window.maplibregl}function L1(e){if(typeof window>"u")return!1;const t=e?[e]:[window.maplibregl,window.mapboxgl].filter(Boolean);let o=!1;for(const n of t)if(!(!n||!n.setRTLTextPlugin))try{if(P1(n)){if(n.getRTLTextPluginStatus&&n.getRTLTextPluginStatus()!=="unavailable")continue;const a=n.setRTLTextPlugin(ef.maplibre,!0);a&&a.catch&&a.catch(()=>{})}else n.setRTLTextPlugin(ef.mapbox,null,!0);o=!0}catch{}return o}const C1=/\[\s*"get"\s*,\s*"name(?::latin|:nonlatin|:en|_en|_int)?"\s*\]|\{name(?::latin|:nonlatin|:en|_en|_int)?\}/,tf=new WeakMap;function T1(e){return typeof window<"u"&&!!window.maplibregl&&e instanceof window.maplibregl.Map}function of(e,t){if(!e||!t)return 0;const o=String(t).split("-")[0].toLowerCase();try{if(!T1(e))return typeof e.setLanguage=="function"&&e.setLanguage(o),0;const n=e.getStyle&&e.getStyle();if(!n||!Array.isArray(n.layers))return 0;let a=tf.get(e);a||(a=new Map,tf.set(e,a));let r=0;for(const s of n.layers){if(s.type!=="symbol"||!s.layout||s.layout["text-field"]==null)continue;const i=s.layout["text-field"],l=JSON.stringify(i);if(l.startsWith('["coalesce",["get","name:')){if(!a.has(s.id))continue}else{if(!C1.test(l))continue;a.set(s.id,i)}const c=["coalesce",["get","name:"+o],["get","name_"+o],["get","name:latin"],["get","name_en"],["get","name"]];e.setLayoutProperty(s.id,"text-field",c),r++}return r}catch{return 0}}const Xa={mapbox:{global:"mapboxgl",js:Cn.mapboxGlJs.url,css:Cn.mapboxGlCss.url},maplibre:{global:"maplibregl",js:Cn.maplibreGlJs.url,css:Cn.maplibreGlCss.url}},E1={"Map.Title":"map","Marker.Title":"marker","Popup.Close":"closePopup","NavigationControl.ZoomIn":"zoomIn","NavigationControl.ZoomOut":"zoomOut","NavigationControl.ResetBearing":"resetBearing","AttributionControl.ToggleAttribution":"toggleAttribution","AttributionControl.MapFeedback":"mapFeedback","FullscreenControl.Enter":"enterFullscreen","FullscreenControl.Exit":"exitFullscreen","GeolocateControl.FindMyLocation":"findMyLocation","GeolocateControl.LocationNotAvailable":"locationNotAvailable","GlobeControl.Enable":"enableGlobe","GlobeControl.Disable":"disableGlobe","CooperativeGesturesHandler.WindowsHelpText":"ctrlScroll","CooperativeGesturesHandler.MacHelpText":"cmdScroll","CooperativeGesturesHandler.MobileHelpText":"twoFingers","ScrollZoomBlocker.CtrlMessage":"ctrlScroll","ScrollZoomBlocker.CmdMessage":"cmdScroll","TouchPanBlocker.Message":"twoFingers"};function nf(e,t){const o={};for(const[a,r]of Object.entries(E1)){const s=no(`mapui.${r}`,e);s&&(o[a]=s)}const n=no(t==="maplibre"?"mapui.maplibreLogo":"mapui.mapboxHomepage",e);return n&&(o["LogoControl.Title"]=n),o}function af(e){if(typeof window>"u")return;const t=window,o=()=>{try{const n=e.getContainer().querySelector(".mapboxgl-ctrl-logo, .maplibregl-ctrl-logo");n&&(n.style.display="none")}catch{}};if(t.__doxaLogoOwner&&t.__doxaLogoOwner!==e){e.once("load",o),o();return}t.__doxaLogoOwner=e,e.once("remove",()=>{t.__doxaLogoOwner===e&&(t.__doxaLogoOwner=null)})}const M1=Xa.mapbox.css,R1="https://tiles.openfreemap.org/styles/liberty",F1="https://tiles.openfreemap.org/styles/fiord";function sc(e){var o;const t=((o=Xa[e])==null?void 0:o.global)||Xa.mapbox.global;return typeof window<"u"?window[t]:void 0}async function rf(e){const t=Xa[e]||Xa.mapbox;if(sc(e)||typeof document>"u")return;if(!document.querySelector(`link[href="${t.css}"]`)){const n=document.createElement("link");n.rel="stylesheet",n.href=t.css,Kr(n,t.css),document.head.appendChild(n)}const o=document.querySelector(`script[src="${t.js}"]`);if(o){if(sc(e))return;await new Promise(n=>{o.addEventListener("load",n,{once:!0}),o.addEventListener("error",n,{once:!0})});return}await new Promise((n,a)=>{const r=document.createElement("script");r.src=t.js,Kr(r,t.js),r.async=!1,r.addEventListener("load",n,{once:!0}),r.addEventListener("error",()=>a(new Error(`[useMapInstance] Failed to load ${e} engine script`)),{once:!0}),document.head.appendChild(r)})}async function N1(e,t){if(!e)return;const o=e.getRootNode();if(!(o instanceof ShadowRoot))return;const n=s=>new Promise(i=>setTimeout(i,s)),a=o.querySelector(`link[href="${t}"]`);if(a){if(a.sheet)return;await Promise.race([new Promise(s=>{a.addEventListener("load",s,{once:!0}),a.addEventListener("error",s,{once:!0})}),n(2e3)]);return}const r=document.createElement("link");r.rel="stylesheet",r.href=t,Kr(r,t),await Promise.race([new Promise(s=>{r.addEventListener("load",s,{once:!0}),r.addEventListener("error",s,{once:!0}),o.prepend(r)}),n(2e3)])}function I1(e,t){return typeof e=="string"&&/^https?:\/\//.test(e)?e:t==="night"||t==="dusk"?F1:R1}const O1=85.0511,ic=-2,D1=0,z1=-60;function sf(e){return(1-Math.log(Math.tan(Math.PI/4+e*Math.PI/180/2))/Math.PI)/2}function j1(e,t,o,n){if(!e||e<=0||!t||t<=0)return D1;const a=Math.log2(e/512),r=sf(n)-sf(O1),s=Math.log2(t/(512*r)),i=Math.max(a,s);return Math.max(ic,Math.min(i,(o??18)-1))}function B1({containerRef:e,accessToken:t,style:o,config:n=void 0,provider:a=void 0,center:r=[20,10],zoom:s=2,bounds:i=void 0,fitBoundsOptions:l=void 0,minZoom:c=void 0,skipWorldFloor:u=!1,maxZoom:p=18,pitch:f=0,bearing:x=0,renderWorldCopies:S=!0,showEdgeBorders:y=!0,southCutoff:h=z1,maxBounds:_=void 0}){const g=Ia(null),b=we(!1);let d=null,w=null,m=null,k=null;try{k=je("profileConfig",null)}catch{}const E=!a&&!Xg(k);a=a||Jg(k,{token:t});let L=a==="maplibre";typeof document<"u"&&rf(a).catch(()=>{});let H=null;try{H=je("lang",null)}catch{}const K=()=>{const N=H&&typeof H=="object"&&"value"in H?H.value:H;if(typeof N=="string"&&N)return N;const $=k&&typeof k=="object"&&"value"in k?k.value:k;if($&&($.locale||$.lang))return String($.locale||$.lang);try{const A=new URLSearchParams(location.search);return A.get("lang")||A.get("locale")||document.documentElement.lang||"en"}catch{return"en"}};async function J(){var X;if(E&&!L&&!t&&typeof window<"u"&&window.__doxaMapTokenPending){if(await window.__doxaMapTokenPending,!e.value)return;typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN||(a="maplibre",L=!0)}const N=y1(o,a),$=N.style||o;if(!e.value){console.error("containerRef.value is null — call initializeMap() inside onMounted()");return}const A=()=>!e.value;if(await rf(a),A())return;const I=sc(a);if(!I){console.error(`[useMapInstance] ${L?"maplibregl":"mapboxgl"} is not available. Add the ${L?"MapLibre":"Mapbox"} GL JS script to your page.`);return}if(L1(I),!L){if(!t&&typeof window<"u"&&window.__doxaMapTokenPending&&(await window.__doxaMapTokenPending,A()))return;if(!t&&typeof window<"u"&&typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN&&(t=window.MAP_TOKEN),!t){typeof window<"u"&&!window.__doxaNoTokenWarned&&(window.__doxaNoTokenWarned=!0,console.warn('No Mapbox access token provided. Pass "tk" in profile-config JSON or set window.MAP_TOKEN.'));return}if(!t.startsWith("pk.")){console.error('Mapbox token looks invalid (expected "pk." prefix). Got:',t.slice(0,10)+"...");return}}if(await N1(e.value,L?Xa.maplibre.css:M1),A()||(await new Promise(q=>requestAnimationFrame(q)),A()))return;const F=e.value,W=F.clientWidth,z=F.clientHeight;if(W===0||z===0){console.error(`[useMapInstance] Container has ZERO dimensions (${W}×${z}). Map will be invisible. Check that parent elements have CSS sizing.`);let q=F.parentElement,pe=0;for(;q&&pe<5;)q=q.parentElement,pe++}const Z=t;L||(I.accessToken=Z);const j=()=>typeof window<"u"&&window.innerWidth>=1024,ae=(q,pe)=>{if(u)return typeof c=="number"?c:ic;if(!j())return ic;const Le=j1(q,pe,p,h);return typeof c=="number"?Math.max(c,Le):Le},_e=ae(F.clientWidth,F.clientHeight),Te=N.lightPreset||(()=>{var q;try{const pe=typeof n=="function"?n():n;return(q=pe==null?void 0:pe.basemap)==null?void 0:q.lightPreset}catch{return}})();if(L){g.value=new I.Map({container:e.value,style:I1($,Te),locale:nf(K(),"maplibre"),center:r,zoom:s,minZoom:_e,maxZoom:p,pitch:f,bearing:x,dragRotate:!1,renderWorldCopies:S,...i?{bounds:i,...l?{fitBoundsOptions:l}:{}}:{},..._?{maxBounds:_}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),af(g.value);try{e.value.__doxaMap=g.value}catch{}}else{const q=typeof n=="function"?n():n;g.value=new I.Map({accessToken:Z,container:e.value,style:$,locale:nf(K(),"mapbox"),...q?{config:q}:{},center:r,zoom:s,minZoom:_e,maxZoom:p,pitch:f,bearing:x,dragRotate:!1,touchPitch:!1,renderWorldCopies:S,...i?{bounds:i,...l?{fitBoundsOptions:l}:{}}:{},..._?{maxBounds:_}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),af(g.value);try{e.value.__doxaMap=g.value}catch{}}try{let q=!1;g.value.on("error",pe=>{var O,B;const Le=((O=pe==null?void 0:pe.error)==null?void 0:O.status)??(pe==null?void 0:pe.status),M=String(((B=pe==null?void 0:pe.error)==null?void 0:B.url)||(pe==null?void 0:pe.sourceId)||"");Le!==401&&Le!==403||q||(q=!0,console.error(`[doxa-maps] Mapbox returned ${Le} 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.`+(M?` First failing request: ${M.slice(0,120)}`:"")))})}catch{}try{g.value.touchZoomRotate.disableRotation()}catch{}m=$1(((X=e.value)==null?void 0:X.parentElement)||null,{enabled:y});let xe=_e,Ae=null;d=()=>{const q=g.value;if(!q)return;const pe=ae(F.clientWidth,F.clientHeight);pe!==xe&&(xe=pe,q.setMinZoom(pe)),q.getZoom(){Ae=null;const Le=g.value;if(!Le)return;const M=ae(F.clientWidth,F.clientHeight);if(Le.getZoom(){Ae&&(clearTimeout(Ae),Ae=null)},g.value.on("resize",d),typeof window<"u"&&(window.addEventListener("resize",d),window.addEventListener("orientationchange",d)),g.value.on("style.load",()=>{if(g.value&&of(g.value,K()),N.paint&&g.value){const q=v1(g.value,N.paint);console.info("[useMapInstance] style paint applied ("+a+"):",q.join(", ")||"NONE MATCHED")}requestAnimationFrame(()=>{var q;(q=g.value)==null||q.resize(),g.value&&g.value.setMinZoom(ae(F.clientWidth,F.clientHeight)),b.value=!0})})}function v(){if(g.value){if(d&&(g.value.off("resize",d),typeof window<"u"&&(window.removeEventListener("resize",d),window.removeEventListener("orientationchange",d)),d=null),w){try{w()}catch{}w=null}m&&(m(),m=null);try{const $=typeof window<"u"?window:null;$&&$.__doxaLogoOwner===g.value&&($.__doxaLogoOwner=null)}catch{}const N=g.value;g.value.remove();try{e&&e.value&&e.value.__doxaMap===N&&(e.value.__doxaMap=null)}catch{}g.value=null,b.value=!1}}if(H&&typeof H=="object"&&"value"in H)try{Ue(H,()=>{g.value&&b.value&&of(g.value,K())})}catch{}return{map:g,isMapReady:b,initializeMap:J,destroy:v}}const G1=Ta&&Ta.tagName.toUpperCase()==="SCRIPT"&&Ta.src||new URL("doxa-research-map.js",document.baseURI).href,qn=e=>String(e||"").trim().replace(/\/+$/,"");function lf(){try{const t=String(G1||"").split(/[?#]/)[0].match(/^(.*)\/([^/]+)\/([^/]+)\.js$/);return!t||t[2]!==t[3]?null:t[1]||null}catch{return null}}function H1(e){const t=e==null?void 0:e.embedBaseUrl;if(typeof t=="string"&&t.trim())return qn(t);if(typeof window<"u"){const o=window.MAP_EMBED_BASE_URL;if(typeof o=="string"&&o.trim())return qn(o)}return qn(lf()||"")}function lc(e){const t=e==null?void 0:e.assetsBase;if(typeof t=="string"&&t.trim()){const n=qn(t);if(/^https?:\/\//i.test(n)||n.startsWith("/"))return n}const o=qn((e==null?void 0:e.treeBase)||"")||qn(lf()||"");if(o)try{const n=typeof document<"u"?document.baseURI:void 0;return qn(new URL(o+"/assets",n).href)}catch{return qn(o+"/assets")}return"./assets"}function U1({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=H1(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 cf="adoptionStatus",Tn={notAdopted:"#f03b2d",hasAdoption:"#22c55e"},cc=Tn,uc={notAdopted:"Needs Adoption",hasAdopted:"Has Adoption"},W1=uc;function uf(e){var n;const t=e.adoptionStatus??((n=e._raw)==null?void 0:n.adopted_by_churches);return t===!0||t===1||typeof t=="number"&&t>0||typeof t=="object"&&(t==null?void 0:t.value)?Tn.hasAdoption:Tn.notAdopted}function dc({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","adoptionStatus"]:["get","adoptionStatus"];return["case",["==",t,!0],Tn.hasAdoption,["==",t,1],Tn.hasAdoption,Tn.notAdopted]}const df=dc,K1=Object.freeze(Object.defineProperty({__proto__:null,ADOPTION_COLORS:cc,ADOPTION_LABELS:W1,LABELS:uc,PALETTE:Tn,PROPERTY_KEY:cf,applyColor:dc,buildColorExpression:df,default:{name:"Adoption Progress",propertyKey:cf,palette:Tn,colors:Tn,labels:uc,getColor:uf,applyColor:dc,buildColorExpression:df},getColor:uf},Symbol.toStringTag,{value:"Module"})),pc="affinityBlock",Qa="#95a5a6",En={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",A018:"Tibetan Peoples",A019:"Himalayan Peoples"},mi={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",A018:"#6C3483",A019:"#A569BD"},Vn=mi,pf=Object.entries(En).reduce((e,[t,o])=>(e[o]=t,e),{}),gc=Object.entries(En).reduce((e,[t,o])=>(e[o]=Vn[t],e),{}),gf=En;function fc(e){return En[e]||"Unknown"}function hc(e){return Vn[e]||Qa}function ff(e){return e?typeof e=="string"&&/^A\d{3}$/.test(e)?Vn[e]||Qa:gc[e]||Qa:Qa}function hf(){return Object.entries(En).map(([e,t])=>({code:e,name:t,color:Vn[e]}))}function mf(e){return{code:e,name:En[e]||"Unknown",color:Vn[e]||Qa}}function bf(e){var o;const t=e.affinityBlock||((o=e._raw)==null?void 0:o.ROP1);return hc(t)}function $f(e){var o;const t=e.affinityBlock||((o=e._raw)==null?void 0:o.ROP1);return fc(t)}function mc(){const e=["match",["get",pc]];return Object.entries(Vn).forEach(([t,o])=>{e.push(t,o)}),e.push(Qa),e}const _f=mc,q1=Object.freeze(Object.defineProperty({__proto__:null,AFFINITY_BLOCK_COLORS:Vn,AFFINITY_BLOCK_COLORS_BY_NAME:gc,AFFINITY_BLOCK_NAMES:En,AFFINITY_BLOCK_NAME_TO_CODE:pf,NAMES:gf,PALETTE:mi,PROPERTY_KEY:pc,affinityBlockCodeLookup:En,affinityBlockCodeToColor:Vn,affinityBlockCodeToName:En,affinityBlockColors:gc,affinityBlockNameToCode:pf,applyColor:mc,buildColorExpression:_f,default:{name:"Affinity Block",propertyKey:pc,palette:mi,colors:mi,names:gf,getColor:bf,applyColor:mc,buildColorExpression:_f,getName:$f,getAffinityBlockName:fc,getAffinityBlockColor:ff,getAffinityBlockColorByCode:hc,getAffinityBlocksArray:hf,getAffinityBlockData:mf},getAffinityBlockColor:ff,getAffinityBlockColorByCode:hc,getAffinityBlockData:mf,getAffinityBlockName:fc,getAffinityBlocksArray:hf,getColor:bf,getName:$f},Symbol.toStringTag,{value:"Module"}));function V1(e){if(!e)return"hsl(0, 60%, 50%)";let t=0;for(let n=0;n{e.push(t,o)}),e.push($c),e}const kf=vc,Z1=Object.freeze(Object.defineProperty({__proto__:null,DOXA_REGION_COLORS:Y1,PALETTE:bi,PROPERTY_KEY:bc,REGION_COLOR_ALIASES:yc,SLUG_PALETTE:$i,applyColor:vc,buildColorExpression:kf,default:{name:"DOXA Region",propertyKey:bc,palette:bi,colors:bi,slugColors:$i,aliases:yc,fallback:$c,getColor:wf,applyColor:vc,buildColorExpression:kf,getRegionColor:vf,getRegionColorBySlug:_c},getColor:wf,getRegionColor:vf,getRegionColorBySlug:_c},Symbol.toStringTag,{value:"Module"})),xf="engagementStatus",Mn={notEngaged:"#f03b2d",hasEngagement:"#22c55e"},wc=Mn,kc={notEngaged:"Unengaged",hasEngagement:"Engaged"},J1=kc;function Sf(e){var n;const t=e.engagementStatus??((n=e._raw)==null?void 0:n.people_committed);return t===!0||t===1||typeof t=="number"&&t>0||typeof t=="object"&&(t==null?void 0:t.value)?Mn.hasEngagement:Mn.notEngaged}function xc({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","engagementStatus"]:["get","engagementStatus"];return["case",["==",t,!0],Mn.hasEngagement,["==",t,1],Mn.hasEngagement,Mn.notEngaged]}const Af=xc,X1=Object.freeze(Object.defineProperty({__proto__:null,ENGAGEMENT_COLORS:wc,ENGAGEMENT_LABELS:J1,LABELS:kc,PALETTE:Mn,PROPERTY_KEY:xf,applyColor:xc,buildColorExpression:Af,default:{name:"Engagement Progress",propertyKey:xf,palette:Mn,colors:Mn,labels:kc,getColor:Sf,applyColor:xc,buildColorExpression:Af},getColor:Sf},Symbol.toStringTag,{value:"Module"})),Sc="languageFamily",Q1="#000000",Yn={"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"},Pf=Yn;function zo(e){return Yn[e]||Q1}const ev=(()=>{const e=o=>String(o||"").toLowerCase().trim(),t={};for(const o of Object.keys(Yn))t[e(o)]=o;return t})(),tv={"tai-kadai":"Kra-Dai",none:"Unknown"};function _i(e){if(!e)return"Unknown";const t=String(e).trim(),o=t.toLowerCase();return tv[o]||ev[o]||t}function Lf(e){var t;return zo(e.languageFamily||((t=e._normalized)==null?void 0:t.languageFamily))}function Ac(){const e=["match",["get",Sc]];return Object.entries(Yn).forEach(([t,o])=>{e.push(t,o)}),e.push("#95a5a6"),e}const Cf=Ac,ov=Object.freeze(Object.defineProperty({__proto__:null,LANGUAGE_FAMILY_COLORS:Pf,PALETTE:Yn,PROPERTY_KEY:Sc,applyColor:Ac,buildColorExpression:Cf,canonicalFamilyName:_i,default:{name:"Language Family",propertyKey:Sc,palette:Yn,colors:Yn,getColor:Lf,applyColor:Ac,buildColorExpression:Cf,getLanguageFamilyColor:zo,canonicalFamilyName:_i},defaultFamilyColor:"#95a5a6",getColor:Lf,getLanguageFamilyColor:zo,languageFamilyColors:Yn},Symbol.toStringTag,{value:"Module"})),Tf="peoplePraying",rn=144,Zn={noPrayer:"#f03b2d",hasPrayer:"#f0c64a",fullPrayer:"#22c55e"},fa=Zn,Pc={noPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayer:"Has Full Prayer Coverage"},nv=Pc;function yi(e){var n;const t=(e==null?void 0:e.peoplePraying)??((n=e==null?void 0:e._raw)==null?void 0:n.people_praying)??null,o=Number(t)||0;return o>=rn?"fullPrayer":o>0?"hasPrayer":"noPrayer"}function Lc(e){return Zn[yi(e)]}function Ef(e){var o;const t=(e==null?void 0:e.peoplePraying)??((o=e==null?void 0:e._raw)==null?void 0:o.people_praying)??null;return t!==null&&t>0}function Mf(e){return yi(e)==="fullPrayer"}function Rf(e){return Lc(e)}function Cc({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","peoplePraying"]:["get","peoplePraying"];return["case",[">=",t,rn],Zn.fullPrayer,[">",t,0],Zn.hasPrayer,Zn.noPrayer]}const Ff=Cc,av=Object.freeze(Object.defineProperty({__proto__:null,FULL_PRAYER_THRESHOLD:rn,LABELS:Pc,PALETTE:Zn,PRAYER_COLORS:fa,PRAYER_LABELS:nv,PROPERTY_KEY:Tf,applyColor:Cc,buildColorExpression:Ff,checkHasFullPrayer:Mf,checkHasPrayer:Ef,default:{name:"Prayer Progress",propertyKey:Tf,palette:Zn,colors:Zn,labels:Pc,threshold:rn,getColor:Rf,applyColor:Cc,buildColorExpression:Ff,getPrayerLevel:yi,getPrayerColor:Lc,checkHasPrayer:Ef,checkHasFullPrayer:Mf},getColor:Rf,getPrayerColor:Lc,getPrayerLevel:yi},Symbol.toStringTag,{value:"Module"})),Nf="religion",Tc="#94a3b8",jo={C:"Christianity",M:"Islam",H:"Hinduism",B:"Buddhism",E:"Ethnoreligion",J:"Judaism",S:"Sikhism",N:"Unaffiliated",O:"Other",U:"Unknown"},xo={C:"#3b82f6",M:"#ef4444",H:"#f59e0b",B:"#facc15",E:"#84cc16",J:"#a855f7",S:"#ec4899",N:"#71717a",O:"#ff6b2b",U:"#94a3b8"};function qr(e){if(!e||typeof e!="string")return"U";const t=e.charAt(0).toUpperCase();return jo[t]?t:"U"}function If(e){var o,n,a;const t=(e==null?void 0:e.religion)||((n=(o=e==null?void 0:e._raw)==null?void 0:o.religion)==null?void 0:n.value)||((a=e==null?void 0:e._raw)==null?void 0:a.religion);return xo[qr(t)]||Tc}function Ec(){return["match",["slice",["coalesce",["get","religion"],""],0,1],"C",xo.C,"M",xo.M,"H",xo.H,"B",xo.B,"E",xo.E,"J",xo.J,"S",xo.S,"N",xo.N,"O",xo.O,Tc]}const Of=Ec,rv={name:"Religion",propertyKey:Nf,palette:xo,families:jo,getColor:If,applyColor:Ec,buildColorExpression:Of,fallback:Tc};function Mc(e){const t=String(e||""),o=jo[t]||t;return o?no("religion.family."+o)||o:""}const sv=Object.freeze(Object.defineProperty({__proto__:null,PALETTE:xo,PROPERTY_KEY:Nf,RELIGION_FAMILIES:jo,applyColor:Ec,buildColorExpression:Of,default:rv,getColor:If,getReligionFamily:qr,religionFamilyLabel:Mc},Symbol.toStringTag,{value:"Module"})),Df="resourceType",Jn={bible:"#3498db",jesusFilm:"#20c997",radio:"#9b59b6",gospel:"#f39c12",audio:"#1abc9c",stories:"#e74c3c",hasResources:"#27ae60",noResources:"#2c3e50"},iv=Jn,Vr=["bible","jesusFilm","radio","gospel","audio","stories"],Rc={bible:"Bible",jesusFilm:"Jesus Film",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",hasResources:"Has Resources",noResources:"No Resources"},lv=Rc;function Yr(e){return{bible:"Bible",jesusFilm:"Jesus",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories"}[e]}function zf(e){var t;for(const o of Vr)if((e[o]||((t=e._raw)==null?void 0:t[Yr(o)]))==="Available")return Jn.hasResources;return Jn.noResources}function jf(e){var t;for(const o of Vr)if((e[o]||((t=e._raw)==null?void 0:t[Yr(o)]))==="Available")return!0;return!1}function Bf(e){var t;for(const o of Vr)if((e[o]||((t=e._raw)==null?void 0:t[Yr(o)]))==="Available")return o;return"noResources"}function Fc(){return["case",["any",["==",["get","bible"],"Available"],["==",["get","jesusFilm"],"Available"],["==",["get","radio"],"Available"],["==",["get","gospel"],"Available"],["==",["get","audio"],"Available"],["==",["get","stories"],"Available"]],Jn.hasResources,Jn.noResources]}const Gf=Fc,cv=Object.freeze(Object.defineProperty({__proto__:null,NAMES:Rc,PALETTE:Jn,PROPERTY_KEY:Df,RESOURCE_COLORS:iv,RESOURCE_NAMES:lv,RESOURCE_PRIORITY:Vr,applyColor:Fc,buildColorExpression:Gf,default:{name:"Gospel Resources",propertyKey:Df,palette:Jn,colors:Jn,names:Rc,priority:Vr,getColor:zf,applyColor:Fc,buildColorExpression:Gf,hasAnyResource:jf,getResourceType:Bf,getCSVColumn:Yr},getCSVColumn:Yr,getColor:zf,getResourceType:Bf,hasAnyResource:jf},Symbol.toStringTag,{value:"Module"})),Hf="region",Nc="#6d766e",Uf={africa:"Africa",asia:"Asia",europe:"Europe","latin_america_&_caribbean":"Latin America & Caribbean",middle_east:"Middle East","north_america_&_non-spanish_caribbean":"North America & Non-Spanish Caribbean",oceania:"Oceania"},Zr={africa:"#ff2e2e",asia:"#1a8cff",europe:"#1ee05f","latin_america_&_caribbean":"#FFEB3B",middle_east:"#a83dff","north_america_&_non-spanish_caribbean":"#00e0bd",oceania:"#ff7f11"},Ic=Object.keys(Zr);function Wf(e){var o,n,a;const t=(e==null?void 0:e.region)||((n=(o=e==null?void 0:e._raw)==null?void 0:o.wagf_region)==null?void 0:n.value)||((a=e==null?void 0:e._raw)==null?void 0:a.wagf_region);return Zr[t]||Nc}function Oc(){const e=["match",["coalesce",["get","region"],""]];for(const t of Ic)e.push(t,Zr[t]);return e.push(Nc),e}const Kf=Oc,uv=Object.assign({"./adoption.js":K1,"./affinity-block.js":q1,"./doxa-region.js":Z1,"./engagement.js":X1,"./language-family.js":ov,"./prayer-progress.js":av,"./religion.js":sv,"./resource.js":cv,"./wagf-region.js":Object.freeze(Object.defineProperty({__proto__:null,PALETTE:Zr,PROPERTY_KEY:Hf,REGION_ORDER:Ic,WAGF_REGIONS:Uf,applyColor:Oc,buildColorExpression:Kf,default:{name:"WAGF Region",propertyKey:Hf,palette:Zr,regions:Uf,order:Ic,getColor:Wf,applyColor:Oc,buildColorExpression:Kf,fallback:Nc},getColor:Wf},Symbol.toStringTag,{value:"Module"}))}),dv=e=>e.replace(/-([a-z0-9])/g,(t,o)=>o.toUpperCase()),pv=e=>e.replace(/-/g,"_").toUpperCase(),er={...{STATUS:"status",CUSTOM:"custom"}},Dc={};function gv(e){for(const t of Object.keys(e).sort()){const o=t.split("/").pop().replace(/\.js$/,"");if(o.startsWith("_")||o.startsWith("."))continue;const n=e[t].default;if(!n)continue;const a=dv(o);er[pv(o)]=a,Dc[a]=n}}gv(uv);function sn(e){return Dc[e]||Dc[er.LANGUAGE_FAMILY]}function fv(e,t={}){return sn(e).applyColor(t)}const hv={Africa:{zoom:1.3,center:[16.6512,26.3538]},Asia:{zoom:.8,center:[98.2654,49.9282]},Europe:{zoom:1.4,center:[22.7826,70.1026]},"Latin America & Caribbean":{zoom:1.8,center:[-60.4619,10.1428]},"Middle East":{zoom:1.7,center:[22.9056,39.5752]},"No WAGF Region/Bloc":{zoom:.6,center:[-8.2363,44.2392]},"North America & Non-Spanish Caribbean":{zoom:2.1,center:[-68.1935,31.4282]},Oceania:{zoom:1.5,center:[161.6257,-.668]}},qf={circleRadius:{standard:["interpolate",["linear"],["zoom"],0,3,2,3.5,4,4,5,5,6,6.5,7,8,8,10,10,14,12,18,14,22],highlighted:["interpolate",["linear"],["zoom"],0,4,4,5,8,12,12,20],faded:["interpolate",["linear"],["zoom"],0,2,4,2.5,8,5,12,8],compact:["interpolate",["linear"],["zoom"],0,2,4,3,8,6,12,10],large:["interpolate",["linear"],["zoom"],0,4,4,6,8,14,12,24],touchTarget:["interpolate",["linear"],["zoom"],0,12,2,15,4,19,6,20,8,21,10,22,12,24,14,28]}};function mv(e){return hv[e]||null}function zc(e="standard"){return qf.circleRadius[e]||qf.circleRadius.standard}const bv={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"};function Rt(e){return e==null?"":String(e).replace(/[&<>"'`]/g,t=>bv[t])}function $v(e,t=""){try{const o=new URL(String(e),typeof location<"u"?location.href:"https://example.invalid/");if(o.protocol==="http:"||o.protocol==="https:")return Rt(o.href)}catch{}return Rt(t)}function Vf(e={}){const{getMap:t=()=>null,mapId:o="unknown",getLanguageFamilyColor:n=()=>"#999999",getNormalizedPeopleGroups:a=()=>[]}=e,r=je("uiStore"),{t:s,locale:i}=jt(),l=we([]);function c(b){const d=n(b.languageFamily),w="https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg";let m=b.imageUrl;(!m||m.includes("NoImageAvailable"))&&(m=w);const k=(b.name||"U")[0].toUpperCase(),E=["#e74c3c","#3498db","#2ecc71","#f39c12","#9b59b6","#1abc9c","#e67e22","#34495e"],L=k.charCodeAt(0)%E.length,H=E[L];return`
-`,t}function Cv(e={}){const{getMap:t=()=>null,getActivePinColor:o=null}=e,n=je("uiStore");let a=null,r=null;const s=o??je("getActivePinColor",null);let i=ki;function l(){const y=t();y&&(y.getLayer(Rn)||y.getSource("language-families")&&y.addLayer({id:Rn,type:"circle",source:"language-families",paint:{"circle-radius":["interpolate",["linear"],["zoom"],0,3,2,3.5,4,4,5,5,6,6.5,7,8,8,10,10,14,12,18,14,22],"circle-color":i,...an(y),"circle-opacity":1,"circle-stroke-width":2,"circle-stroke-color":"#FFFFFF","circle-stroke-opacity":1},filter:["==",["get","uniqueId"],"__none__"]}))}function c(){a||(a=Lv(ki))}function u(y,h){const _=t();_&&(c(),r&&r.remove(),r=new(hi(_)).Marker({element:a,anchor:"bottom",offset:[0,0]}).setLngLat([y,h]).addTo(_))}function p(){r&&(r.remove(),r=null)}function f(y){var w,m;const h=t();if(!h)return;if(y&&(i=(s==null?void 0:s(y.properties))??ki),l(),h.getLayer(Rn)&&(h.setPaintProperty(Rn,"circle-color",i),Qg(h)&&h.setPaintProperty(Rn,"circle-emissive-strength",1)),!y){h.getLayer(Rn)&&h.setFilter(Rn,["==",["get","uniqueId"],"__none__"]),p();return}const _=((w=y.properties)==null?void 0:w.uniqueId)||"__none__",g=(m=y.geometry)==null?void 0:m.coordinates;if(!g)return;h.getLayer(Rn)&&h.setFilter(Rn,["==",["get","uniqueId"],_]);const[b,d]=g;u(b,d)}Ue(()=>n.selectedPeopleGroup,y=>{f(y)});function x(){l()}function S(){p(),a=null}return{initialize:x,cleanup:S,updateSelectedPin:f}}const ar="doxa-country-outline",Jr="doxa-country-outline-line",Tv="mapbox://mapbox.country-boundaries-v1",Ev="country_boundaries";function Mv(e,t){if(!e)return"";const o=Array.isArray(t)?t:[],n=Array.isArray(e.memberIds)?e.memberIds.map(String):[],a=new Set(n);let r=n.length?o.find(s=>a.has(String(s.uniqueId??s.id??s.slug??""))):null;if(!r){const s=String(e.label??"").toLowerCase();r=o.find(i=>String(i.countryName??i.country??"").toLowerCase()===s)}return String((r==null?void 0:r.countryIso)??"").trim().toUpperCase()}function Rv(e){var t,o,n;try{return!!((n=(o=(t=e==null?void 0:e.getContainer)==null?void 0:t.call(e))==null?void 0:o.classList)!=null&&n.contains("maplibregl-map"))}catch{return!1}}function Fv(e,t){const o=["==",["get","iso_3166_1_alpha_3"],e];return t?o:["all",o,["any",["==",["get","worldview"],"all"],["in","US",["get","worldview"]]]]}function Nv(e,t={}){const o=t.lineColor??"#2563eb",n=t.lineWidth??2.5,a=t.lineOpacity??.8;function r(){const i=typeof e=="function"?e():null;if(i)try{i.getLayer(Jr)&&i.removeLayer(Jr),i.getSource(ar)&&i.removeSource(ar)}catch{}}function s(i){const l=String(i||"").trim().toUpperCase();if(l.length!==3)return;const c=typeof e=="function"?e():null;if(!c)return;const u=Rv(c),p=Fv(l,u);if(c.getLayer(Jr))try{c.setFilter(Jr,p);return}catch{}r();try{u?(c.addSource(ar,{type:"geojson",data:{type:"FeatureCollection",features:[]}}),Wa(`${lc(null)}/boundaries/world-adm0-web.geojson`).then(f=>f.json()).then(f=>{for(const y of f.features||[])y.properties&&y.properties.iso3&&(y.properties.iso_3166_1_alpha_3=y.properties.iso3);const x=typeof e=="function"?e():null,S=x&&x.getSource(ar);S&&S.setData(f)}).catch(f=>console.warn("[country-outline] boundaries failed to load",f))):c.addSource(ar,{type:"vector",url:Tv}),c.addLayer({id:Jr,type:"line",source:ar,...u?{}:{"source-layer":Ev},filter:p,layout:{"line-join":"round","line-cap":"round"},paint:{"line-color":o,"line-width":n,"line-opacity":a,...an(c,"line")}})}catch{}}return{showCountry:s,clearCountry:r}}const Jf="doxa-prayed-local",Iv=7*24*60*60*1e3;function Xf(){try{const e=localStorage.getItem(Jf);if(!e)return{};const t=JSON.parse(e);return t&&typeof t=="object"?t:{}}catch{return{}}}function Qf(e){try{localStorage.setItem(Jf,JSON.stringify(e))}catch{}}function Ov(){const e=Date.now(),t=Xf();let o=!1;for(const[n,a]of Object.entries(t))(typeof a!="number"||e-a>Iv)&&(delete t[n],o=!0);return o&&Qf(t),new Set(Object.keys(t))}function Dv(e){if(!e)return;const t=Xf();t[e]=Date.now(),Qf(t);try{window.dispatchEvent(new CustomEvent("doxa:prayed-locally",{detail:{slug:e}}))}catch{}}function zv(e){const t=Ov();return!t.size||!Array.isArray(e)?e:e.map(o=>(Number(o&&o.peoplePraying)||0)>0||!o||!t.has(o.slug)?o:{...o,peoplePraying:1})}const eh={aar:"Afro-Asiatic",abf:"Austronesian",abl:"Austronesian",abv:"Afro-Asiatic",acm:"Afro-Asiatic",acq:"Afro-Asiatic",acw:"Afro-Asiatic",acx:"Afro-Asiatic",adh:"Nilo-Saharan",adi:"Sino-Tibetan",adw:"Tupian",adx:"Sino-Tibetan",aen:"Sign Language",afb:"Afro-Asiatic",afg:"Sign Language",afr:"Indo-European",aft:"Nilo-Saharan",agx:"Nakh-Daghestanian",ahk:"Sino-Tibetan",aib:"Turkic",aih:"Kra-Dai",aio:"Kra-Dai",ajp:"Afro-Asiatic",aju:"Afro-Asiatic",aks:"Niger-Congo",akv:"Nakh-Daghestanian",alk:"Austro-Asiatic",alo:"Austronesian",alw:"Afro-Asiatic",amc:"Panoan",amh:"Afro-Asiatic",amr:"Harákmbut",amv:"Austronesian",ani:"Nakh-Daghestanian",anp:"Indo-European",anq:"Andamanese",aoc:"Cariban",apc:"Afro-Asiatic",apd:"Afro-Asiatic",arb:"Afro-Asiatic",arq:"Afro-Asiatic",arr:"Tupian",ars:"Afro-Asiatic",arv:"Afro-Asiatic",ary:"Afro-Asiatic",ase:"Sign Language",asl:"Austronesian",asm:"Indo-European",asn:"Tupian",asp:"Sign Language",atr:"Cariban",avd:"Indo-European",avl:"Afro-Asiatic",avv:"Tupian",awe:"Tupian",awt:"Tupian",ayh:"Afro-Asiatic",ayl:"Afro-Asiatic",ayn:"Afro-Asiatic",azb:"Turkic",bao:"Tucanoan",bbh:"Austro-Asiatic",bcc:"Indo-European",bcz:"Niger-Congo",bdg:"Austronesian",bdi:"Nilo-Saharan",bdj:"Niger-Congo",bdm:"Afro-Asiatic",bdo:"Nilo-Saharan",bee:"Sino-Tibetan",bej:"Afro-Asiatic",bem:"Niger-Congo",ben:"Indo-European",bfi:"Sign Language",bfu:"Sino-Tibetan",bfw:"Austro-Asiatic",bfy:"Indo-European",bgc:"Indo-European",bgg:"Sino-Tibetan",bgk:"Austro-Asiatic",bgl:"Austro-Asiatic",bgn:"Indo-European",bgp:"Indo-European",bgq:"Indo-European",bho:"Indo-European",bhu:"Indo-European",bid:"Afro-Asiatic",bjj:"Indo-European",bkk:"Indo-European",blf:"Austronesian",blm:"Nilo-Saharan",blo:"Niger-Congo",bls:"Austronesian",blt:"Kra-Dai",bly:"Niger-Congo",bma:"Niger-Congo",bmr:"Witotoan",bna:"Austronesian",bns:"Indo-European",bor:"Bororoan",bos:"Indo-European",bph:"Nakh-Daghestanian",bqg:"Niger-Congo",bqj:"Niger-Congo",bqk:"Niger-Congo",bqn:"Sign Language",bqx:"Niger-Congo",bra:"Indo-European",brb:"Austro-Asiatic",bro:"Sino-Tibetan",brx:"Sino-Tibetan",bsb:"Austronesian",bsg:"Indo-European",bsk:"Language isolate",bsy:"Austronesian",btd:"Austronesian",btf:"Afro-Asiatic",btv:"Indo-European",btx:"Austronesian",btz:"Austronesian",bub:"Niger-Congo",buh:"Hmong-Mien",bva:"Afro-Asiatic",bvf:"Afro-Asiatic",bvi:"Niger-Congo",bvo:"Niger-Congo",bwi:"Maipurean",bwn:"Hmong-Mien",bwx:"Hmong-Mien",bxr:"Mongolic",bxu:"Mongolic",bxw:"Niger-Congo",byn:"Afro-Asiatic",byo:"Sino-Tibetan",bze:"Niger-Congo",bzx:"Niger-Congo",cat:"Indo-European",cbb:"Maipurean",cbc:"Tucanoan",cbi:"Barbacoan",cbn:"Austro-Asiatic",cby:"Unclassified",cdh:"Indo-European",cdn:"Sino-Tibetan",cdz:"Austro-Asiatic",ceg:"Zamucoan",cgk:"Sino-Tibetan",che:"Nakh-Daghestanian",cib:"Niger-Congo",cji:"Nakh-Daghestanian",ckh:"Sino-Tibetan",ckq:"Afro-Asiatic",clk:"Sino-Tibetan",cmn:"Sino-Tibetan",cnq:"Niger-Congo",cnu:"Afro-Asiatic",coa:"Creole",cog:"Austro-Asiatic",cpu:"Maipurean",cqd:"Hmong-Mien",csf:"Sign Language",csx:"Sign language",cub:"Tucanoan",cui:"Guajiboan",cuu:"Kra-Dai",daa:"Afro-Asiatic",daj:"Nilo-Saharan",dar:"Nakh-Daghestanian",dau:"Nilo-Saharan",dba:"Language isolate",dbb:"Afro-Asiatic",dbp:"Afro-Asiatic",dbr:"Afro-Asiatic",ddn:"Nilo-Saharan",deg:"Niger-Congo",dek:"Niger-Congo",des:"Tucanoan",dgo:"Indo-European",dgs:"Niger-Congo",dhd:"Indo-European",dhi:"Sino-Tibetan",dhm:"Niger-Congo",dil:"Nilo-Saharan",diu:"Niger-Congo",div:"Indo-European",djc:"Nilo-Saharan",dkg:"Niger-Congo",dln:"Sino-Tibetan",dml:"Indo-European",dms:"Austronesian",dnu:"Austro-Asiatic",doc:"Kra-Dai",dok:"Austronesian",dox:"Afro-Asiatic",dru:"Austronesian",dse:"Sign Language",dsh:"Afro-Asiatic",dsl:"Sign Language",dsq:"Nilo-Saharan",dta:"Mongolic",dtp:"Austronesian",dyu:"Niger-Congo",dzg:"Nilo-Saharan",dzl:"Sino-Tibetan",eng:"Indo-European",enn:"Niger-Congo",epi:"Niger-Congo",ers:"Sino-Tibetan",esl:"Sign Language",evn:"Tungusic",fin:"Uralic",fni:"Niger-Congo",fod:"Niger-Congo",fra:"Indo-European",fsl:"Sign Language",fub:"Niger-Congo",fuc:"Niger-Congo",fuf:"Niger-Congo",fuj:"Niger-Congo",fvr:"Nilo-Saharan",fwe:"Niger-Congo",gax:"Afro-Asiatic",gaz:"Afro-Asiatic",gbk:"Indo-European",gbm:"Indo-European",gbn:"Nilo-Saharan",gdq:"Afro-Asiatic",gea:"Afro-Asiatic",ges:"Austronesian",gex:"Afro-Asiatic",ghl:"Nilo-Saharan",giq:"Kra-Dai",giw:"Kra-Dai",gju:"Indo-European",glc:"Niger-Congo",goe:"Sino-Tibetan",gow:"Afro-Asiatic",gqu:"Kra-Dai",grr:"Afro-Asiatic",gsg:"Sign Language",gss:"Sign Language",guj:"Indo-European",gus:"Sign Language",gvp:"Jean",gwb:"Niger-Congo",gwc:"Indo-European",gwd:"Afro-Asiatic",gwf:"Indo-European",gya:"Niger-Congo",gyo:"Sino-Tibetan",gzn:"Austronesian",hae:"Afro-Asiatic",hal:"Austro-Asiatic",hau:"Afro-Asiatic",hca:"Creole",hea:"Hmong-Mien",heb:"Afro-Asiatic",her:"Niger-Congo",hik:"Austronesian",hin:"Indo-European",hks:"Sign Language",hlb:"Indo-European",hld:"Austro-Asiatic",hmb:"Nilo-Saharan",hmh:"Hmong-Mien",hml:"Hmong-Mien",hmm:"Hmong-Mien",hne:"Indo-European",hni:"Sino-Tibetan",hnu:"Austro-Asiatic",hoh:"Afro-Asiatic",hoj:"Indo-European",hoz:"Afro-Asiatic",hsn:"Sino-Tibetan",hss:"Afro-Asiatic",htu:"Austronesian",hug:"Harákmbut",huo:"Austro-Asiatic",iba:"Austronesian",ibr:"Niger-Congo",icl:"Sign Language",iii:"Sino-Tibetan",ind:"Austronesian",irr:"Austro-Asiatic",ise:"Sign Language",isk:"Indo-European",isr:"Sign Language",ium:"Hmong-Mien",jbn:"Afro-Asiatic",jeu:"Afro-Asiatic",jia:"Afro-Asiatic",jii:"Afro-Asiatic",jio:"Kra-Dai",jit:"Niger-Congo",jiu:"Sino-Tibetan",jle:"Niger-Congo",jls:"Sign Language",jmi:"Afro-Asiatic",jnl:"Sino-Tibetan",jos:"Sign Language",jpn:"Japonic",jup:"Puinavean",kaf:"Sino-Tibetan",kan:"Dravidian",kas:"Indo-European",kay:"Tupian",kaz:"Turkic",kbg:"Sino-Tibetan",kbo:"Nilo-Saharan",kbp:"Niger-Congo",kby:"Nilo-Saharan",kcf:"Niger-Congo",kcn:"Creole",kcp:"Nilo-Saharan",kcu:"Niger-Congo",kcy:"Nilo-Saharan",kcz:"Niger-Congo",kdh:"Niger-Congo",kdn:"Niger-Congo",kdt:"Austro-Asiatic",kdu:"Nilo-Saharan",kec:"Nilo-Saharan",kfa:"Dravidian",kfd:"Dravidian",kfe:"Dravidian",kfg:"Dravidian",kfm:"Indo-European",kfr:"Indo-European",kfs:"Indo-European",kfy:"Indo-European",kgn:"Indo-European",khb:"Kra-Dai",khf:"Austro-Asiatic",khv:"Nakh-Daghestanian",kia:"Niger-Congo",kib:"Niger-Congo",kie:"Nilo-Saharan",kil:"Afro-Asiatic",kir:"Turkic",kjc:"Austronesian",kjg:"Austro-Asiatic",kjk:"Austronesian",kke:"Niger-Congo",kkh:"Kra-Dai",kkn:"Austro-Asiatic",kko:"Nilo-Saharan",kks:"Afro-Asiatic",klf:"Nilo-Saharan",kmc:"Kra-Dai",kmq:"Nilo-Saharan",kmr:"Indo-European",kmz:"Turkic",knc:"Nilo-Saharan",knf:"Niger-Congo",knk:"Niger-Congo",knm:"Maipurean",knn:"Indo-European",kns:"Austro-Asiatic",knz:"Niger-Congo",kou:"Niger-Congo",kpa:"Afro-Asiatic",kpc:"Maipurean",kpj:"Karajá",kpt:"Nakh-Daghestanian",kqg:"Niger-Congo",kqm:"Niger-Congo",krn:"Niger-Congo",krs:"Nilo-Saharan",kth:"Nilo-Saharan",kuf:"Austro-Asiatic",kui:"Cariban",kuj:"Niger-Congo",kva:"Nakh-Daghestanian",kvf:"Afro-Asiatic",kvh:"Austronesian",kvp:"Austronesian",kwn:"Niger-Congo",kwv:"Nilo-Saharan",kxd:"Austronesian",kxh:"Afro-Asiatic",kxj:"Nilo-Saharan",kyi:"Austronesian",kyp:"Kra-Dai",kyw:"Indo-European",kzq:"Sino-Tibetan",lae:"Sino-Tibetan",lan:"Niger-Congo",lao:"Kra-Dai",laq:"Kra-Dai",lbj:"Sino-Tibetan",lbn:"Austro-Asiatic",lbo:"Austro-Asiatic",lbs:"Sign Language",lbt:"Kra-Dai",lcd:"Austronesian",lcq:"Austronesian",lgn:"Nilo-Saharan",lgs:"Sign Language",lha:"Kra-Dai",lhn:"Austronesian",lhp:"Sino-Tibetan",lic:"Kra-Dai",liq:"Afro-Asiatic",liu:"Nilo-Saharan",lkc:"Sino-Tibetan",lkh:"Sino-Tibetan",lki:"Indo-European",lkr:"Nilo-Saharan",lma:"Niger-Congo",loh:"Nilo-Saharan",lop:"Niger-Congo",lsd:"Afro-Asiatic",lso:"Sign Language",lss:"Indo-European",lsy:"Sign Language",luk:"Sino-Tibetan",lul:"Nilo-Saharan",mag:"Indo-European",mai:"Indo-European",mal:"Dravidian",mar:"Indo-European",mbd:"Austronesian",mbn:"Guajiboan",mcd:"Panoan",mdl:"Sign Language",mdy:"Afro-Asiatic",mei:"Nilo-Saharan",men:"Niger-Congo",mes:"Afro-Asiatic",mew:"Afro-Asiatic",mey:"Afro-Asiatic",mgb:"Nilo-Saharan",mgd:"Nilo-Saharan",mge:"Nilo-Saharan",mgh:"Niger-Congo",mhr:"Uralic",mhu:"Sino-Tibetan",mhw:"Niger-Congo",mjp:"Dravidian",mkg:"Kra-Dai",mmh:"Maipurean",mml:"Austro-Asiatic",mmy:"Afro-Asiatic",mne:"Nilo-Saharan",mni:"Sino-Tibetan",mnj:"Indo-European",mnk:"Niger-Congo",mnq:"Austro-Asiatic",mns:"Uralic",mot:"Chibchan",mou:"Afro-Asiatic",moy:"Afro-Asiatic",moz:"Afro-Asiatic",mpe:"Nilo-Saharan",mpz:"Sino-Tibetan",mqi:"Austronesian",mqn:"Austronesian",mra:"Austro-Asiatic",mrj:"Uralic",msc:"Niger-Congo",msv:"Afro-Asiatic",msw:"Niger-Congo",mtr:"Indo-European",mub:"Afro-Asiatic",mup:"Indo-European",muq:"Hmong-Mien",muv:"Dravidian",mvf:"Mongolic",mvu:"Nilo-Saharan",mvy:"Indo-European",mwn:"Niger-Congo",mxj:"Sino-Tibetan",myp:"Muran",myy:"Tucanoan",mzb:"Afro-Asiatic",mzy:"Sign Language",naq:"Khoe-Kwadi",nbt:"Sino-Tibetan",nbw:"Niger-Congo",ndg:"Niger-Congo",ndp:"Nilo-Saharan",ndt:"Niger-Congo",neb:"Niger-Congo",neh:"Sino-Tibetan",nev:"Austro-Asiatic",ngt:"Austro-Asiatic",njl:"Nilo-Saharan",nkd:"Sino-Tibetan",nld:"Indo-European",nmd:"Niger-Congo",nmi:"Afro-Asiatic",nml:"Niger-Congo",nmy:"Sino-Tibetan",nnj:"Nilo-Saharan",nod:"Kra-Dai",noe:"Indo-European",nos:"Sino-Tibetan",npb:"Sino-Tibetan",npi:"Indo-European",nrb:"Nilo-Saharan",nru:"Sino-Tibetan",nsl:"Sign Language",nuo:"Austro-Asiatic",nus:"Nilo-Saharan",nwm:"Nilo-Saharan",nxq:"Sino-Tibetan",nye:"Niger-Congo",nyn:"Niger-Congo",nyr:"Niger-Congo",nyw:"Kra-Dai",nzs:"Sign Language",okn:"Japonic",ole:"Sino-Tibetan",oog:"Austro-Asiatic",oon:"Andamanese",opa:"Niger-Congo",ort:"Indo-European",ory:"Indo-European",ost:"Niger-Congo",oyb:"Austro-Asiatic",oym:"Tupian",pac:"Austro-Asiatic",pah:"Tupian",pbp:"Niger-Congo",peh:"Mongolic",pes:"Indo-European",pga:"Creole",pgg:"Indo-European",pgz:"Sign language",pha:"Hmong-Mien",phh:"Sino-Tibetan",phj:"Sino-Tibetan",phk:"Kra-Dai",phl:"Indo-European",pho:"Sino-Tibetan",phq:"Sino-Tibetan",phr:"Indo-European",pht:"Kra-Dai",pil:"Niger-Congo",pir:"Tucanoan",pkb:"Niger-Congo",pks:"Sign Language",pkt:"Austro-Asiatic",pll:"Austro-Asiatic",pnq:"Niger-Congo",pnx:"Austro-Asiatic",por:"Indo-European",prc:"Indo-European",prs:"Indo-European",prt:"Austro-Asiatic",psc:"Sign Language",pse:"Austronesian",pto:"Tupian",pum:"Sino-Tibetan",puo:"Austro-Asiatic",qae:"Sign Language",qao:"Sign Language",qbh:"Sign Language",qbj:"Sign Language",qbn:"Sign Language",qbt:"Sign Language",qcd:"Sign Language",qcm:"Sign Language",qcy:"Sign Language",qer:"Sign Language",qfa:"Sign Language",qfj:"Sign Language",qga:"Sign Language",qge:"Sign Language",qgm:"Sign Language",qiq:"Sign Language",qki:"Sign Language",qkm:"Sign Language",qkp:"Sign Language",qkw:"Sign Language",qmv:"Sign Language",qnh:"Sign Language",qns:"Sign Language",qom:"Sign Language",qqa:"Sign Language",qry:"Sign Language",qsm:"Sign Language",qso:"Sign Language",qsr:"Sign Language",qsz:"Sign Language",qtp:"Sign Language",qvz:"Quechuan",ras:"Niger-Congo",rbb:"Austro-Asiatic",ren:"Austro-Asiatic",rji:"Sino-Tibetan",rmt:"Indo-European",rmy:"Indo-European",rob:"Austronesian",rsl:"Sign Language",rui:"Niger-Congo",rus:"Indo-European",rwm:"Niger-Congo",rwr:"Indo-European",rys:"Japonic",saa:"Afro-Asiatic",sbf:"Unclassified",sbj:"Nilo-Saharan",sbs:"Niger-Congo",scb:"Austro-Asiatic",sck:"Indo-European",scl:"Indo-European",sdb:"Indo-European",sdg:"Indo-European",sdl:"Sign Language",sdp:"Sino-Tibetan",seq:"Niger-Congo",sgh:"Indo-European",sgy:"Indo-European",she:"Afro-Asiatic",shm:"Indo-European",shn:"Kra-Dai",sho:"Niger-Congo",shp:"Panoan",shu:"Afro-Asiatic",shv:"Afro-Asiatic",shz:"Niger-Congo",siy:"Indo-European",siz:"Afro-Asiatic",sjg:"Nilo-Saharan",sjo:"Tungusic",skq:"Niger-Congo",sle:"Dravidian",slt:"Sino-Tibetan",sml:"Austronesian",smy:"Indo-European",snd:"Indo-European",snn:"Tucanoan",soj:"Indo-European",sok:"Afro-Asiatic",soy:"Niger-Congo",spa:"Indo-European",spu:"Austro-Asiatic",sqk:"Sign Language",sqq:"Austro-Asiatic",sqs:"Sign Language",sqt:"Afro-Asiatic",srh:"Indo-European",sri:"Tucanoan",srp:"Indo-European",ssh:"Afro-Asiatic",ssn:"Afro-Asiatic",sss:"Austro-Asiatic",ssy:"Afro-Asiatic",std:"Andamanese",sts:"Indo-European",suq:"Nilo-Saharan",suv:"Sino-Tibetan",suy:"Jean",suz:"Sino-Tibetan",swh:"Niger-Congo",swi:"Kra-Dai",swl:"Sign Language",swv:"Indo-European",swx:"Arauan",sxg:"Sino-Tibetan",sze:"Afro-Asiatic",szn:"Austronesian",szs:"Sign Language",tag:"Niger-Congo",tam:"Dravidian",taz:"Niger-Congo",tbm:"Niger-Congo",tbn:"Chibchan",tbr:"Nilo-Saharan",tct:"Kra-Dai",tcy:"Dravidian",tda:"Mixed language",tdb:"Indo-European",tdd:"Kra-Dai",tdf:"Austro-Asiatic",tdj:"Austronesian",tel:"Dravidian",teq:"Nilo-Saharan",tgf:"Sino-Tibetan",tgk:"Indo-European",tgr:"Austro-Asiatic",thk:"Niger-Congo",thm:"Austro-Asiatic",thu:"Nilo-Saharan",thv:"Afro-Asiatic",tig:"Afro-Asiatic",tin:"Nakh-Daghestanian",tiz:"Kra-Dai",tkn:"Japonic",tlq:"Austro-Asiatic",tly:"Indo-European",tma:"Nilo-Saharan",tnb:"Chibchan",toi:"Niger-Congo",toq:"Nilo-Saharan",tou:"Austro-Asiatic",tqq:"Afro-Asiatic",tri:"Cariban",trj:"Afro-Asiatic",tsb:"Afro-Asiatic",tsc:"Niger-Congo",tsj:"Sino-Tibetan",tsk:"Sino-Tibetan",tsl:"Kra-Dai",tsm:"Sign Language",ttg:"Austronesian",tth:"Austro-Asiatic",ttl:"Niger-Congo",tts:"Kra-Dai",tue:"Tucanoan",tum:"Niger-Congo",tuo:"Tucanoan",tur:"Turkic",twm:"Sino-Tibetan",txi:"Cariban",txm:"Austronesian",tyh:"Austro-Asiatic",tyj:"Kra-Dai",tyr:"Kra-Dai",tyv:"Turkic",tyy:"Niger-Congo",tzm:"Afro-Asiatic",uan:"Kra-Dai",udj:"Austronesian",une:"Niger-Congo",unk:"Maipurean",urd:"Indo-European",urp:"Tupian",urz:"Tupian",ush:"Indo-European",usi:"Sino-Tibetan",uuu:"Austro-Asiatic",uzn:"Turkic",vai:"Niger-Congo",vgr:"Indo-European",vie:"Austro-Asiatic",vkj:"Unclassified",vkn:"Niger-Congo",vkz:"Niger-Congo",vmk:"Niger-Congo",vut:"Niger-Congo",wau:"Maipurean",waw:"Cariban",wbj:"Afro-Asiatic",wbl:"Indo-European",wbr:"Indo-European",wlc:"Niger-Congo",wll:"Nilo-Saharan",wmd:"Nambikwara",wmg:"Sino-Tibetan",wne:"Indo-European",wni:"Niger-Congo",wol:"Niger-Congo",wrn:"Niger-Congo",wti:"Nilo-Saharan",wuh:"Mixed language",wwa:"Niger-Congo",xal:"Mongolic",xan:"Afro-Asiatic",xdq:"Nakh-Daghestanian",xhv:"Austro-Asiatic",xka:"Indo-European",xkz:"Sino-Tibetan",xma:"Niger-Congo",xmj:"Afro-Asiatic",xmo:"Tupian",xms:"Sign Language",xnr:"Indo-European",xns:"Sino-Tibetan",xom:"Nilo-Saharan",xor:"Panoan",xsm:"Niger-Congo",xsr:"Sino-Tibetan",xwg:"Nilo-Saharan",yaa:"Panoan",yad:"Yaguan",yao:"Niger-Congo",yax:"Niger-Congo",ybh:"Sino-Tibetan",ycl:"Sino-Tibetan",ydd:"Indo-European",ydg:"Indo-European",yea:"Dravidian",yhd:"Afro-Asiatic",yig:"Sino-Tibetan",yix:"Sino-Tibetan",ymm:"Afro-Asiatic",ymx:"Sino-Tibetan",yne:"Sino-Tibetan",yno:"Kra-Dai",yom:"Niger-Congo",yox:"Japonic",yoy:"Kra-Dai",yrn:"Kra-Dai",ysl:"Sign Language",ysm:"Sign language",ysn:"Sino-Tibetan",yue:"Sino-Tibetan",yul:"Nilo-Saharan",yup:"Cariban",ywn:"Panoan",ywt:"Sino-Tibetan",zag:"Nilo-Saharan",zgn:"Kra-Dai",zhd:"Kra-Dai",ziw:"Niger-Congo",zkr:"Sino-Tibetan",zlm:"Austronesian",zna:"Niger-Congo",zne:"Niger-Congo",zng:"Austro-Asiatic",zqe:"Kra-Dai",zum:"Indo-European",zyg:"Kra-Dai"};function Gc(e){return e==null?"":typeof e=="object"?e.label||e.value||"":String(e)}const jv=[[/ sign language$/i,"Sign Language"]];function Bv(e){var i,l;const t=Gc(e.languageFamily);if(t)return t;const o=String(((l=(i=e._raw)==null?void 0:i.primary_language)==null?void 0:l.value)||(e.language&&typeof e.language=="object"?e.language.value:"")||"").trim().toLowerCase();if(o&&eh[o])return eh[o];const n=Gc(e.language||e.primary_language);if(!n||typeof n!="string")return"";const a=n.trim(),r=a.split(",").map(c=>c.trim()).filter(Boolean);if(r.length>=2){const c=[...r].reverse().join(" ");if(pt[c])return pt[c];if(r.length>=3){const u=[r[1],r[0]].join(" ");if(pt[u])return pt[u]}}if(pt[a])return pt[a];const s=a.replace(/\s*\(.*?\)\s*$/,"").trim();if(s!==a&&pt[s])return pt[s];for(const[c,u]of jv)if(c.test(a))return u;return""}function Gv(e){const{mapId:t="unknown",dataSourceId:o="doxa-csv",dataSourceManager:n=null,dataStore:a=null,markRaw:r=k=>k}=e;n||console.error("useMapData: dataSourceManager is required!");const s=we(!1),i=we(null),l=we(!1),c=we([]),u=we([]);Lo()&&zt("normalizedPeopleGroups",u);const p=we(null),f=we([]),x=we([]),S=we([]),y=we(null);async function h(){if(!n)throw new Error("dataSourceManager is required for useMapData");s.value=!0,i.value=null;try{if(await n.init(),a&&a.hasSourceData&&a.hasSourceData(o)){const $=a.getSourceData(o);u.value=r($.normalizedData||[])}else{const $=await n.setActiveSource(o);for(const A of $){const I=Gc(A.language||A.primary_language);I&&(A.language=I);const F=Bv(A);A.languageFamily=_i(F)}u.value=r($),a&&a.cacheSourceData&&a.cacheSourceData(o,{normalizedData:$,timestamp:Date.now()})}c.value=r(zv(u.value.map($=>({id:$.uniqueId,slug:$.slug||"",rop3:$.peopleGroupId,peopleId3:$.peopleId3,name:$.name,language:$.language,languageFamily:$.languageFamily,country:$.country,population:$.population,status:$.engagementStatus||$.status,latitude:$.latitude,longitude:$.longitude,lng:$.longitude,lat:$.latitude,description:$.description,imageUrl:$.imageUrl,doxaRegion:$.doxaRegion||$.wagfRegion||"",peoplePraying:$.peoplePraying??null,_normalized:$}))));const k=n.getDataByLanguageFamily();f.value=Object.entries(k).map(([$,A])=>{const I=A.reduce((F,W)=>{const z=parseInt(W.population)||0;return F+z},0);return{name:$,count:A.length,peopleGroupCount:A.length,population:I,groups:A}}).sort(($,A)=>A.count-$.count);const E=n.getDataByRegion();x.value=Object.entries(E).map(([$,A])=>{const I=A.reduce((F,W)=>{const z=parseInt(W.population)||0;return F+z},0);return{name:$,count:A.length,peopleGroupCount:A.length,population:I,groups:A}}).sort(($,A)=>$.name.localeCompare(A.name));const L={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($=>{const A=parseInt($.population)||0;let I=!1;$.bible==="Available"&&(L.bible.count++,L.bible.population+=A,L.bible.groups.push($),I=!0),$.jesusFilm==="Available"&&(L.jesusFilm.count++,L.jesusFilm.population+=A,L.jesusFilm.groups.push($),I=!0),$.radio==="Available"&&(L.radio.count++,L.radio.population+=A,L.radio.groups.push($),I=!0),$.gospel==="Available"&&(L.gospel.count++,L.gospel.population+=A,L.gospel.groups.push($),I=!0),$.audio==="Available"&&(L.audio.count++,L.audio.population+=A,L.audio.groups.push($),I=!0),$.stories==="Available"&&(L.stories.count++,L.stories.population+=A,L.stories.groups.push($),I=!0),I?(L.hasResources.count++,L.hasResources.population+=A,L.hasResources.groups.push($)):(L.noResources.count++,L.noResources.population+=A,L.noResources.groups.push($))});const H=u.value.length,K=u.value.reduce(($,A)=>$+(parseInt(A.population)||0),0),J={bible:"Bible",jesusFilm:"Jesus Film",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",hasResources:"Has Resources",noResources:"No Resources"},v={bible:{count:H-L.bible.count,population:K-L.bible.population},jesusFilm:{count:H-L.jesusFilm.count,population:K-L.jesusFilm.population},radio:{count:H-L.radio.count,population:K-L.radio.population},gospel:{count:H-L.gospel.count,population:K-L.gospel.population},audio:{count:H-L.audio.count,population:K-L.audio.population},stories:{count:H-L.stories.count,population:K-L.stories.population}},N="#2c3e50";return S.value=[{name:J.bible,key:"bible",count:L.bible.count,population:L.bible.population,isParent:!0,children:[{name:"No Bible",key:"noBible",count:v.bible.count,population:v.bible.population,color:N}]},{name:J.jesusFilm,key:"jesusFilm",count:L.jesusFilm.count,population:L.jesusFilm.population,isParent:!0,children:[{name:"No Jesus Film",key:"noJesusFilm",count:v.jesusFilm.count,population:v.jesusFilm.population,color:N}]},{name:J.radio,key:"radio",count:L.radio.count,population:L.radio.population,isParent:!0,children:[{name:"No Radio",key:"noRadio",count:v.radio.count,population:v.radio.population,color:N}]},{name:J.gospel,key:"gospel",count:L.gospel.count,population:L.gospel.population,isParent:!0,children:[{name:"No Gospel",key:"noGospel",count:v.gospel.count,population:v.gospel.population,color:N}]},{name:J.audio,key:"audio",count:L.audio.count,population:L.audio.population,isParent:!0,children:[{name:"No Audio",key:"noAudio",count:v.audio.count,population:v.audio.population,color:N}]},{name:J.stories,key:"stories",count:L.stories.count,population:L.stories.population,isParent:!0,children:[{name:"No Stories",key:"noStories",count:v.stories.count,population:v.stories.population,color:N}]},{name:J.hasResources,key:"hasResources",count:L.hasResources.count,population:L.hasResources.population,isParent:!0,children:[{name:J.noResources,key:"noResources",count:L.noResources.count,population:L.noResources.population,color:N}]}],y.value=n.getStats(),l.value=!0,{peopleGroups:c.value,normalizedPeopleGroups:u.value,languageFamiliesData:f.value,doxaRegionsData:x.value,resourcesData:S.value,stats:y.value}}catch(k){throw console.error(`Failed to load data for map "${t}":`,k),i.value=k.message||"Failed to load data",k}finally{s.value=!1}}async function _(){var k,E,L;try{const H={},K=u.value||[];for(const J of K){const v=J.countryIso||((E=(k=J._raw)==null?void 0:k.country_code)==null?void 0:E.value)||"",N=(L=J._raw)==null?void 0:L.wagf_region,$=J.doxaRegion||J.wagfRegion||(N&&typeof N=="object"?N.value:"")||"";v&&$&&!H[v]&&(H[v]=$)}return p.value={isoToRegion:H},p.value}catch(H){throw console.error(`Error building regions data for map "${t}":`,H),i.value=H.message||"Failed to build regions",H}}function g(){return n?n.getDataByLanguageFamily():{}}function b(){return n?n.getDataByRegion():{}}function d(k){return g()[k]||[]}function w(k){return b()[k]||[]}function m(){c.value=[],u.value=[],p.value=null,f.value=[],x.value=[],S.value=[],y.value=null,l.value=!1,i.value=null}return{isLoading:s,isInitialized:l,error:i,peopleGroups:c,normalizedPeopleGroups:u,regionsData:p,languageFamiliesData:f,doxaRegionsData:x,resourcesData:S,stats:y,loadData:h,loadRegionsData:_,getDataByLanguageFamily:g,getDataByRegion:b,getPeopleGroupsByFamily:d,getPeopleGroupsByRegion:w,clearData:m}}function Hv(e){const{map:t,geocoderRef:o,clustering:n,mapStore:a,uiStore:r,mapLayers:s,pplrInstance:i,onSemanticTreeSelect:l,switchTab:c,activeTabId:u,clearAllHighlights:p,clearCountryHighlight:f,mapId:x,supportedKinds:S,legendRouters:y={},peopleGroupResult:h,busAdapter:_}=e,g=e.filterLayerId||"language-family-pins";let b=!1;function d(){var $,A,I,F,W;b=!0;const v=(A=($=o.value)==null?void 0:$.geocoder)==null?void 0:A.value;(I=v==null?void 0:v.clear)==null||I.call(v);const N=(v==null?void 0:v._inputEl)||((W=(F=v==null?void 0:v.container)==null?void 0:F.querySelector)==null?void 0:W.call(F,"input.mapboxgl-ctrl-geocoder--input"));if(N){N.value="";try{N.dispatchEvent(new Event("input",{bubbles:!0}))}catch{}}b=!1}function w(v,N){const $=`${g}-hitbox`;if(v!=null&&v.getLayer($))try{v.setFilter($,N)}catch{}}function m(){typeof window>"u"||typeof window.CustomEvent=="function"&&window.dispatchEvent(new CustomEvent("legend:reveal-selected",{detail:{mapId:x}}))}const k={country:"countryName","language-family":"languageFamily",language:"language",dialect:"language",religion:"religionName",region:"doxaRegion","affinity-bloc":"affinityBlock",cluster:"cluster","people-group":"peopleGroup"};function E(v,N,$){var A,I,F;if(v.kind==="language")return["any",["==",["get",N],$],["==",["slice",["get",N],0,$.length+1],$+","],["in"," "+$,["get",N]]];if(v.kind==="dialect"){const W=Array.isArray(v.originalLabels)?v.originalLabels:[];return W.length===1?["==",["get",N],W[0]]:W.length>1?["in",["get",N],["literal",W]]:["==",["get",N],$]}else if(v.kind==="affinity-bloc"){const W=v.blocCode||((A=v.properties)==null?void 0:A.blocCode)||"";return W?["==",["get","affinityBlock"],W]:["==",["get","affinityBlockLabel"],$]}else if(v.kind==="cluster"){const W=v.clusterCode||((I=v.properties)==null?void 0:I.clusterCode)||"",z=v.blocCode||((F=v.properties)==null?void 0:F.blocCode)||"";return W&&z?["all",["==",["get","affinityBlock"],z],["==",["get","cluster"],W]]:["==",["get","clusterLabel"],$]}else return["==",["get",N],$]}function L(v){if(!v||S&&!S.includes(v.kind))return null;const N=k[v.kind]||null,$=v.label;return!N||$==null||$===""?null:{kind:v.kind,value:$,property:N,expr:E(v,N,$)}}function H(v){var A,I,F,W;if(!v)return;f==null||f();const N=ge(t),$=((A=v.properties)==null?void 0:A.id)||((I=v.properties)==null?void 0:I.uniqueId)||null;if((F=r==null?void 0:r.selectPeopleGroup)==null||F.call(r,{...v,properties:{...v.properties,uniqueId:$}}),N&&$!=null&&N.getLayer(g)){const z=["==",["get","uniqueId"],$];try{N.setFilter(g,null)}catch{}w(N,z),N.setPaintProperty(g,"circle-opacity",["case",z,1,0]),N.setPaintProperty(g,"circle-stroke-opacity",["case",z,1,0]),N.getLayer(`${g}-shadow`)&&N.setPaintProperty(`${g}-shadow`,"circle-opacity",["case",z,1,0]),(W=s==null?void 0:s.syncGlowFilter)==null||W.call(s,z)}}function K(v){var W;if(_){const z=L(v);if(!z)return;_.aggregate(z,v);return}const N=ge(t);if(!v||!N||!N.getLayer(g)||S&&!S.includes(v.kind))return;v.kind!=="country"&&(f==null||f());const $=L(v);if(!$)return;const{property:A,value:I}=$;try{N.setFilter(g,$.expr)}catch{}n.setSelectionFilter({property:A,value:I});let F=!1;if(v.kind==="language-family"||v.kind==="family")a.selectFamily(v.label),a.setActiveLegendTab("family"),F=!0;else if(v.kind==="language")a.selectLanguage(v.label),a.setActiveLegendTab("language"),F=!0;else if(v.kind==="dialect"){const z=Array.isArray(v.originalLabels)?v.originalLabels:[],Z=v.familyDerived||"",j=v.baseLang||"",ae=v.dialectLabel||"",_e=`${Z}__${j}__${ae}`;(W=a.selectDialect)==null||W.call(a,{key:_e,originalLabels:z}),a.setActiveLegendTab("dialect"),F=!0}else if(v.kind==="affinity-bloc"||v.kind==="cluster"||v.kind==="people-group"){let z=null;if(v.kind==="affinity-bloc"){const Z=v.blocCode||"";z={id:`bloc:${Z}`,label:v.label,depth:0,filter:Z?["==",["get","affinityBlock"],Z]:null}}else if(v.kind==="cluster"){const Z=v.blocCode||"",j=v.clusterCode||"";z={id:`cluster:${Z}__${j}`,label:v.label,depth:1,filter:j?["==",["get","cluster"],j]:null}}else if(v.kind==="people-group"){const Z=v.blocCode||"",j=v.clusterCode||"",ae=v.peopleGroupCode||"";z={id:`pg:${Z}__${j}__${ae}`,label:v.label,depth:2,filter:ae?["==",["get","peopleGroup"],ae]:null}}if(z&&z.filter){const Z=()=>{try{N.setFilter(g,null)}catch{}l(z),i&&i.selection&&(i.selection.value=z)};u.value!=="affinity-blocks"?(c("affinity-blocks"),Qt(Z)):Z()}F=!0}else y[v.kind]&&(y[v.kind](v,{map:N,filterLayerId:g,clearGeocoder:d,emitLegendReveal:m,property:A,value:I}),F=!0);F&&(d(),m())}function J(){var N,$,A;if(_){_.clear();return}if(b)return;f==null||f();const v=ge(t);a.selectedRegion&&((N=a.selectRegion)==null||N.call(a,null)),a.selectedResource&&(($=a.selectResource)==null||$.call(a,null)),v&&v.getLayer(g)?p(v):(a.selectFamily(null),a.selectLanguage(null),(A=a.selectDialect)==null||A.call(a,null),n.setSelectionFilter(null))}return{onPeopleGroupResult:_?v=>_.peopleGroup(v):h||H,onAggregateResult:K,onClear:J,clearGeocoderProgrammatic:d}}const Hc={};function Uc(){return typeof window<"u"&&window.MAP_APP_API_URL||typeof{url:Ta&&Ta.tagName.toUpperCase()==="SCRIPT"&&Ta.src||new URL("doxa-research-map.js",document.baseURI).href}<"u"&&(Hc==null?void 0:Hc.VITE_API_BASE_URL)||""}const Wc=we(0),xi=we(0),Si=we(0),Kc=we(!1),qc=we(!1),Vc=we(null);let Xr=null;async function Uv(){if(!Kc.value)return Xr||(qc.value=!0,Vc.value=null,Xr=(async()=>{var e,t;try{const o=((e=ga==null?void 0:ga.sources)==null?void 0:e[ga.activeSource])||{},n=Uc(),a=((t=o.endpoints)==null?void 0:t.statistics)||"/api/people-groups/statistics",r=await Wa(`${n}${a}`,{cache:"no-store"});if(!r.ok)throw new Error(`statistics HTTP ${r.status}`);const s=await r.json();Wc.value=Number(s.total||0),xi.value=Number(s.total_with_prayer_committed??s.total_with_prayer??0),Si.value=Number(s.total_with_100_committed??s.total_with_full_prayer??0),Kc.value=!0}catch(o){Vc.value=o&&o.message?o.message:String(o)}finally{qc.value=!1,Xr=null}})(),Xr)}function Wv(){return{total:Wc,withPrayer:xi,withFullPrayer:Si,loaded:Kc,loading:qc,error:Vc,load:Uv,noPrayerCount:()=>Math.max(0,Wc.value-xi.value),hasPrayerCount:()=>Math.max(0,xi.value-Si.value),fullPrayerCount:()=>Si.value}}function th(e){if(!e||typeof e!="string")return[];const t=[];let o=0,n="";for(const a of e)a==="("?o++:a===")"&&(o=Math.max(0,o-1)),a===","&&o===0?(t.push(n),n=""):n+=a;return t.push(n),t.map(a=>a.trim()).filter(Boolean)}function Kv(e){if(!e||typeof e!="string")return"";const t=th(e);if(t.length<2)return e.trim();const o=t[t.length-1],n=o.match(/\s*(\(.*\))$/);n&&(t[t.length-1]=o.slice(0,n.index).trim());const a=t.filter(Boolean).reverse().join(" ");return n?`${a} ${n[1]}`:a}function qv(e){return(e==null?void 0:e.properties)||e||{}}function Ai(e){return e&&typeof e=="object"&&"label"in e?e.label||e.value||"":e}function Vv(e){if(!e||typeof e!="string")return null;const t=th(e);if(t.length>=2){const n=[...t].reverse().join(" ");if(pt[n])return pt[n];if(t.length>=3){const a=[t[1],t[0]].join(" ");if(pt[a])return pt[a]}}if(pt[e])return pt[e];const o=e.replace(/\s*\(.*?\)\s*$/,"").trim();return o!==e&&pt[o]?pt[o]:null}const Yv=[[/ sign language$/i,"Sign Language"]];function Zv(e){if(!e||typeof e!="string")return"— Unknown —";const t=e.indexOf(",");return t>0?e.slice(0,t).trim():e.trim()}function Jv(e){if(!e||typeof e!="string")return null;const t=e.indexOf(",");return t>=0&&e.slice(t+1).trim()||null}function Xv(e){var s,i,l,c;const t=e.language_family??e.languageFamily??((s=e._raw)==null?void 0:s.LanguageFamily)??((i=e._raw)==null?void 0:i.language_family),o=Ai(t),n=_i(o);if(n&&n!=="Unknown")return n;const a=e.primary_language??e.primaryLanguage??((l=e._raw)==null?void 0:l.PrimaryLanguage)??((c=e._raw)==null?void 0:c.primary_language),r=Ai(a);if(r){const u=String(r).trim(),p=Vv(u);if(p)return p;for(const[f,x]of Yv)if(f.test(u))return x}return"Unknown"}function Qv(e){var a,r;const t=((a=e._raw)==null?void 0:a.primary_language)??((r=e._raw)==null?void 0:r.PrimaryLanguage);if(t){const s=Ai(t);if(s)return String(s).trim()}const o=e.primary_language??e.primaryLanguage??e.language,n=Ai(o);return n&&String(n).trim()||"— Unknown —"}function ew(e){var o,n;const t=e.population??((o=e._raw)==null?void 0:o.Population)??((n=e._raw)==null?void 0:n.population)??0;return parseInt(t,10)||0}function tw(e,t){var o,n;return(e==null?void 0:e.id)??t.id??t.peopleGroupId??((o=t._raw)==null?void 0:o.PeopleID3)??((n=t._raw)==null?void 0:n.PeopleID)??null}function ow(e,t){return(e==null?void 0:e.clusterId)??t.clusterId??null}function nw(e,t){var a,r,s,i;const o=parseFloat(t.latitude??t.lat??((a=t._raw)==null?void 0:a.Latitude)??((r=t._raw)==null?void 0:r.latitude)),n=parseFloat(t.longitude??t.lng??((s=t._raw)==null?void 0:s.Longitude)??((i=t._raw)==null?void 0:i.longitude));return!isFinite(o)||!isFinite(n)?null:[n,o]}function aw(e,t){return t.peopleGroupCount!==e.peopleGroupCount?t.peopleGroupCount-e.peopleGroupCount:(t.population||0)-(e.population||0)}function Pi(e,t){return(t.population||0)!==(e.population||0)?(t.population||0)-(e.population||0):t.peopleGroupCount-e.peopleGroupCount}function Yc(e,t={}){t.aggregator;const o=Ra({});function n(y){return!!o[y]}function a(y){o[y]=!o[y]}function r(y){const h=new Set(Array.isArray(y)?y:[]);for(const _ of Object.keys(o))h.has(_)||(o[_]=!1);for(const _ of h)o[_]=!0}const s=oe(()=>{const y=(e==null?void 0:e.value)||[],h=new Map;for(const _ of y){const g=qv(_),b=Xv(g),d=Qv(g),w=Zv(d),m=Jv(d),k=ew(g),E=tw(_,g),L=ow(_,g),H=nw(_,g);let K=h.get(b);K||(K={key:b,peopleGroupCount:0,population:0,pinIds:[],coords:[],clusterId:null,languages:new Map},h.set(b,K)),K.peopleGroupCount+=1,K.population+=k,E!=null&&K.pinIds.push(E),H&&K.coords.push(H),L&&!K.clusterId&&(K.clusterId=L);let J=K.languages.get(w);if(J||(J={key:w,peopleGroupCount:0,population:0,pinIds:[],coords:[],clusterId:null,dialects:new Map},K.languages.set(w,J)),J.peopleGroupCount+=1,J.population+=k,E!=null&&J.pinIds.push(E),H&&J.coords.push(H),L&&!J.clusterId&&(J.clusterId=L),m){let v=J.dialects.get(m);v?v.originalLabels.add(d):(v={key:m,peopleGroupCount:0,population:0,pinIds:[],coords:[],originalLabels:new Set([d])},J.dialects.set(m,v)),v.peopleGroupCount+=1,v.population+=k,E!=null&&v.pinIds.push(E),H&&v.coords.push(H)}}return h}),i=t.showAllKnown!==!1,l=oe(()=>{const y=s.value,h=[],_=new Set;for(const g of y.values())h.push({key:g.key,label:g.key,color:zo(g.key),peopleGroupCount:g.peopleGroupCount,population:g.population,kind:g.clusterId?"cluster":"family",clusterId:g.clusterId||void 0,pinIds:g.pinIds,coords:g.coords}),_.add(g.key);if(i)for(const g of Object.keys(Pf))_.has(g)||h.push({key:g,label:g,color:zo(g),peopleGroupCount:0,population:0,kind:"family",pinIds:[],coords:[]});return h.sort(aw),h});function c(y){const h=s.value.get(y);if(!h)return[];const _=[];for(const g of h.languages.values())_.push({key:`${y}__${g.key}`,label:g.key,color:zo(y),peopleGroupCount:g.peopleGroupCount,population:g.population,kind:g.clusterId?"cluster":"language",familyKey:y,clusterId:g.clusterId||void 0,pinIds:g.pinIds,coords:g.coords,hasDialects:g.dialects.size>0});return _.sort(Pi),_}function u(y){const h=y.indexOf("__");if(h<0)return[];const _=y.slice(0,h),g=y.slice(h+2),b=s.value.get(_);if(!b)return[];const d=b.languages.get(g);if(!d)return[];const w=[];for(const m of d.dialects.values())w.push({key:`${y}__${m.key}`,label:`${g}, ${m.key}`,dialectOnly:m.key,color:zo(_),peopleGroupCount:m.peopleGroupCount,population:m.population,kind:"dialect",languageKey:g,familyKey:_,pinIds:m.pinIds,coords:m.coords,originalLabels:Array.from(m.originalLabels)});return w.sort(Pi),w}const p=oe(()=>{const y=s.value,h=[];for(const _ of y.values())for(const g of _.languages.values())h.push({key:`${_.key}__${g.key}`,label:g.key,color:zo(_.key),peopleGroupCount:g.peopleGroupCount,population:g.population,kind:g.clusterId?"cluster":"language",familyKey:_.key,clusterId:g.clusterId||void 0,pinIds:g.pinIds,coords:g.coords,hasDialects:g.dialects.size>0});return h.sort(Pi),h}),f=oe(()=>{const y=s.value,h=[];for(const _ of y.values())for(const g of _.languages.values())for(const b of g.dialects.values())h.push({key:`${_.key}__${g.key}__${b.key}`,label:`${g.key}, ${b.key}`,dialectOnly:b.key,color:zo(_.key),peopleGroupCount:b.peopleGroupCount,population:b.population,kind:"dialect",languageKey:g.key,familyKey:_.key,pinIds:b.pinIds,coords:b.coords,originalLabels:Array.from(b.originalLabels)});return h.sort(Pi),h});function x(y){let h=y;if(typeof y=="string"&&(h=l.value.find(g=>g.key===y),!h))return;const _={kind:h.kind,pinIds:h.pinIds||[],coords:h.coords||[]};h.kind==="family"&&(_.familyKey=h.label),h.kind==="language"&&(_.languageKey=h.label,_.familyKey=h.familyKey),h.kind==="dialect"&&(_.dialectKey=h.key,_.dialectOnly=h.dialectOnly||h.label,_.languageKey=h.languageKey,_.familyKey=h.familyKey,_.originalLabels=h.originalLabels||[]),h.kind==="cluster"&&(_.clusterId=h.clusterId),typeof window<"u"&&typeof window.CustomEvent=="function"&&window.dispatchEvent(new CustomEvent("legend:highlight",{detail:_}))}const S=oe(()=>{const y=s.value,h=[];for(const _ of y.values()){const g=zo(_.key),b=[];for(const w of _.languages.values()){w.key&&w.key!=="— Unknown —"&&b.push(w.key);for(const m of w.dialects.values())for(const k of m.originalLabels)k&&b.push(k)}const d={id:`fam:${_.key}`,label:_.key,color:g,count:_.peopleGroupCount,pop:_.population,filter:b.length>0?["any",["==",["get","languageFamily"],_.key],["in",["get","language"],["literal",Array.from(new Set(b))]]]:["==",["get","languageFamily"],_.key],children:[]};for(const w of _.languages.values()){const m=w.key,k={id:`lang:${_.key}__${m}`,label:m,color:g,count:w.peopleGroupCount,pop:w.population,filter:["any",["==",["get","language"],m],["==",["slice",["get","language"],0,m.length+1],m+","],["in"," "+m,["get","language"]]],children:[]};for(const E of w.dialects.values()){const L=Array.from(E.originalLabels);k.children.push({id:`dial:${_.key}__${m}__${E.key}`,label:`${m}, ${E.key}`,color:g,count:E.peopleGroupCount,pop:E.population,filter:L.length===1?["==",["get","language"],L[0]]:["in",["get","language"],["literal",L]],originalLabels:L,children:[]})}d.children.push(k)}h.push(d)}return h.sort((_,g)=>g.pop-_.pop||g.count-_.count),h});return{rows:l,languageRows:p,dialectRows:f,langTree:S,toggle:a,isExpanded:n,setExpansionToOnly:r,childRowsFor:c,dialectRowsFor:u,highlight:x}}const rw=[];function sw(){const e=sn(er.RESOURCE);return e&&e.propertyKey==="resourceType"?e:null}function iw(){const e=sn(er.DOXA_REGION);return e&&e.propertyKey==="doxaRegion"?e.palette||{}:{}}function lw(){const e=sn(er.AFFINITY_BLOCK);if(!e||e.propertyKey!=="affinityBlock")return{};const t=e.names||{},o=e.palette||{},n={};for(const a of Object.keys(t))n[t[a]]=o[a]||"#999";return n}function ha(e,t){const a=Object.values(e.sources||{}).flatMap(r=>(r==null?void 0:r.features)||[]).filter(r=>t(r.properties||r));return{count:a.length,population:a.reduce((r,s)=>{var l;const i=s.properties||s;return r+(parseInt(i.population||((l=i._raw)==null?void 0:l.Population)||0)||0)},0)}}const oh=100;function cw(e){var o;let t=(e==null?void 0:e.peopleCommitted)??((o=e==null?void 0:e._raw)==null?void 0:o.people_committed)??(e==null?void 0:e.people_committed)??null;return t&&typeof t=="object"&&(t=t.value??t.label??0),Number(t)||0}function Zc(e){return t=>{const o=cw(t);return e==="fullPrayer"?o>=oh:e==="hasPrayer"?o>0&&o0||typeof t=="string"&&parseInt(t,10)>0}function ah(e){var o;const t=e.adoptionStatus??((o=e._raw)==null?void 0:o.adopted_by_churches);return t===!0||t===1||t==="1"||t==="true"||typeof t=="number"&&t>0||typeof t=="string"&&parseInt(t,10)>0}const uw={prayer:"legend.title.prayer",engagement:"legend.title.engagement",adoption:"legend.title.adoption","language-families":"legend.title.languageFamilies","language-family":"legend.title.languageFamilies","doxa-regions":"legend.title.doxaRegions","doxa-region":"legend.title.doxaRegions","affinity-blocs":"legend.title.affinityBlocs",countries:"legend.title.countries",country:"legend.title.countries","gospel-resources":"legend.title.gospelResources",religion:"legend.title.religion"};function rr(e){return e==="doxa-region"?"doxa-regions":e==="country"?"countries":e}function dw(e){return e?e>=1e6?(e/1e6).toFixed(1)+"M":e>=1e3?(e/1e3).toFixed(1)+"K":e.toLocaleString():"0"}function pw(e){return(Number(e)||0).toLocaleString()}function Qr(e,t={}){const o=je("dataStore"),n=je("uiStore"),a=je("mapStore"),{t:r}=jt(),s=Wv();s.load();const i=oe(()=>{if(rr(e.value)==="religion")return"Religion";const _=uw[e.value];return _?r(_):""}),l=oe(()=>rr(e.value)==="affinity-blocs"?rw:[{key:"count",label:r("legend.columns.upgs"),width:48},{key:"population",label:r("legend.columns.population"),width:48}]),c=oe(()=>{const h=rr(e.value);return h==="prayer"?n.prayerFilter:h==="engagement"?n.engagementFilter:h==="adoption"?n.adoptionFilter:h==="language-families"?a.selectedFamily:h==="doxa-regions"?a.selectedRegion:h==="gospel-resources"?a.selectedResource:h==="religion"?n.religionFilter:null});function u(h){const _=rr(e.value);_==="prayer"?n.setPrayerFilter(n.prayerFilter===h?null:h):_==="engagement"?n.setEngagementFilter(n.engagementFilter===h?null:h):_==="adoption"?n.setAdoptionFilter(n.adoptionFilter===h?null:h):_==="language-families"?a.selectFamily(a.selectedFamily===h?null:h):_==="doxa-regions"?a.selectRegion(a.selectedRegion===h?null:h):_==="gospel-resources"?a.selectResource(a.selectedResource===h?null:h):_==="religion"&&n.setReligionFilter(n.religionFilter===h?null:h)}const p=oe(()=>{var _,g,b,d;const h=rr(e.value);if(h==="prayer"){const w=ha(o,Zc("noPrayer")),m=ha(o,Zc("hasPrayer")),k=ha(o,Zc("fullPrayer")),E=s.loaded.value,L=E?s.noPrayerCount():w.count,H=E?s.hasPrayerCount():m.count,K=E?s.fullPrayerCount():k.count;return[{key:"noPrayer",label:r("legend.prayer.needsPrayer"),color:fa.noPrayer,count:L,population:w.population,filterKey:"noPrayer",children:[{key:"hasPrayer",label:r("legend.prayer.hasPrayer"),color:fa.hasPrayer,count:H,population:m.population,filterKey:"hasPrayer"},{key:"fullPrayer",label:r("legend.prayer.fullPrayerCoverage"),color:fa.fullPrayer,count:K,population:k.population,filterKey:"fullPrayer"}]}]}if(h==="engagement"){const w=ha(o,k=>!nh(k)),m=ha(o,k=>nh(k));return[{key:"notEngaged",label:r("legend.engagement.needsEngagement"),color:wc.notEngaged,count:w.count,population:w.population,filterKey:"notEngaged",children:[{key:"hasEngagement",label:r("legend.engagement.hasEngagement"),color:wc.hasEngagement,count:m.count,population:m.population,filterKey:"hasEngagement"}]}]}if(h==="adoption"){const w=ha(o,k=>!ah(k)),m=ha(o,k=>ah(k));return[{key:"notAdopted",label:r("legend.adoption.needsAdoption"),color:cc.notAdopted,count:w.count,population:w.population,filterKey:"notAdopted",children:[{key:"hasAdoption",label:r("legend.adoption.hasAdoption"),color:cc.hasAdoption,count:m.count,population:m.population,filterKey:"hasAdoption"}]}]}if(h==="religion"){const w={},k=Object.values(o.sources||{}).flatMap(H=>(H==null?void 0:H.features)||[]);for(const H of k){const K=H.properties||H,J=K.religion||((g=(_=K._raw)==null?void 0:_.religion)==null?void 0:g.value)||((b=K._raw)==null?void 0:b.religion)||"",v=qr(J);w[v]||(w[v]={count:0,population:0}),w[v].count+=1,w[v].population+=parseInt(K.population||((d=K._raw)==null?void 0:d.Population)||0)||0}const E=new Set((t==null?void 0:t.excludeReligionFamilies)||[]);for(const H of E)delete w[H];return Object.keys(w).sort((H,K)=>H==="C"?-1:K==="C"?1:w[K].population-w[H].population).map(H=>({key:H,label:Mc(H)||"Unknown",color:ko[H]||"#94a3b8",count:w[H].count,population:w[H].population,filterKey:H,children:[]}))}if(h==="language-families")return(o.languageFamiliesData||[]).map(w=>({key:w.name,label:w.name,color:zo(w.name),count:w.count,population:w.population,filterKey:w.name,children:[]}));if(h==="language-family"){const m={value:Object.values(o.sources||{}).flatMap(E=>(E==null?void 0:E.features)||[])},{rows:k}=Yc(m);return k.value.map(E=>({key:E.key,label:E.label,color:E.color,count:E.peopleGroupCount,population:E.population,filterKey:E.key,children:[]}))}if(h==="doxa-regions"){const w=iw();return(o.doxaRegionsData||[]).map(m=>({key:m.name,label:m.name,color:w[m.name]||"#999",count:m.count,population:m.population,filterKey:m.name,children:[]}))}if(h==="gospel-resources"){const w=sw(),m=(w==null?void 0:w.palette)??{},k=(w==null?void 0:w.names)??{},E=o.resourcesData||[];return Object.keys(m).map(L=>{const H=E.find(K=>K.key===L);return{key:L,label:k[L]||L,color:m[L],count:(H==null?void 0:H.count)||0,population:(H==null?void 0:H.population)||0,filterKey:L,children:((H==null?void 0:H.children)||[]).map(K=>({key:K.key,label:K.name||K.key,color:K.color||m[L],count:K.count||0,population:K.population||0,filterKey:K.key}))}})}if(h==="affinity-blocs"){const w=lw();return Object.keys(w).sort().map(m=>({key:m,label:m,color:w[m],filterKey:m,children:[]}))}return[]});function f(h,_){return h.reduce((g,b)=>{var w;let d=b[_]||0;return(w=b.children)!=null&&w.length&&(d+=f(b.children,_)),g+d},0)}const x=oe(()=>f(p.value,"count")),S=oe(()=>f(p.value,"population")),y=oe(()=>{if(rr(e.value)!=="prayer")return null;const h=p.value[0];if(!h)return null;const _=(h.children||[]).find(k=>k.key==="hasPrayer"),g=(h.children||[]).find(k=>k.key==="fullPrayer"),b=Number(h.count)||0,d=Number(_==null?void 0:_.count)||0,w=Number(g==null?void 0:g.count)||0,m=(Number(_==null?void 0:_.population)||0)+(Number(g==null?void 0:g.population)||0);return{covered:d+w,total:x.value,coveredPopulation:m,totalPopulation:S.value,segments:[{key:"fullPrayer",label:(g==null?void 0:g.label)??r("legend.prayer.fullPrayerCoverage"),count:w,color:fa.fullPrayer},{key:"hasPrayer",label:(_==null?void 0:_.label)??r("legend.prayer.hasPrayer"),count:d,color:fa.hasPrayer},{key:"noPrayer",label:h.label,count:b,color:fa.noPrayer}]}});return{items:p,columns:l,title:i,activeFilter:c,setFilter:u,totalCount:x,totalPopulation:S,progress:y,fmtPop:dw,fmtCount:pw}}const Jc={default:"doxa",lists:[{id:"doxa",aliases:["2000","project-2000"],label:"Project 2000: DOXA's people groups",definition:"The people groups DOXA serves, as its live list gives them",source:"doxa",filter:null},{id:"unreached",aliases:["7000","project-7000"],label:"Project 7000: unreached people groups",definition:"IMB Lostness Priority 0-2 (Frontier, Pioneer or Expanding Unreached: under 2% evangelical)",source:"imb",filter:{lostness:[0,1,2]}},{id:"frontier",aliases:["4700","project-4700"],label:"Project 4700: frontier people groups",definition:"IMB Lostness Priority 0 (Frontier Unreached: 0.1% evangelical or less)",source:"imb",filter:{lostness:[0]}},{id:"frontier-500k",aliases:["700","project-700"],label:"Project 700: frontier people groups of 500,000 or more",definition:"IMB Lostness Priority 0 and Population of at least 500,000",source:"imb",filter:{lostness:[0],minPopulation:5e5}},{id:"unengaged",aliases:[],label:"Unengaged unreached people groups",definition:"IMB Lostness Priority 0-2 and Engagement Status Unengaged",source:"imb",filter:{lostness:[0,1,2],engagement:["Unengaged"]}}]},Li=Jc.default,Xc=new Map;for(const e of Jc.lists){Xc.set(e.id,e);for(const t of e.aliases||[])Xc.set(String(t).toLowerCase(),e)}function gw(e){return Xc.get(String(e??"").toLowerCase().trim())||null}function rh(e){let t=e;if(t&&typeof t=="object"&&"value"in t&&!("list"in t)&&!("profile"in t)&&(t=t.value),typeof t=="string")try{t=JSON.parse(t)}catch{t=null}return t&&typeof t=="object"?t:null}const sh=new Set;function fw(e){const t=rh(e),o=t==null?void 0:t.list,n=typeof location<"u"?new URLSearchParams(location.search).get("list"):null,a=typeof window<"u"?window.MAP_LIST:void 0,r=o||n||a||Li,s=gw(r);return s?s.id:(sh.has(r)||(sh.add(r),console.warn(`[list] unknown people-group list "${r}", showing "${Li}". Known: ${Jc.lists.map(i=>i.id).join(", ")}`)),Li)}const Ci=new Map;function hw(e,t){const o=`${lc(rh(t))}/people-groups/lists/${e}.json`;return Ci.has(o)||Ci.set(o,Wa(o).then(n=>{if(!n.ok)throw new Error(`HTTP ${n.status}`);return n.json()}).then(n=>new Set(Array.isArray(n==null?void 0:n.slugs)?n.slugs:[])).catch(n=>{throw Ci.delete(o),new Error(`list "${e}" membership ${o}: ${n.message}`)})),Ci.get(o)}async function ih(e,t,{key:o=n=>n==null?void 0:n.slug}={}){const n=fw(t);if(n===Li||!Array.isArray(e))return e;try{const a=await hw(n,t);return e.filter(r=>a.has(o(r)))}catch(a){return console.error(`[list] ${a.message}. Showing no people groups rather than the wrong list.`),[]}}class lh{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.profileConfig=t.profileConfig||null,this.cache=new Map,this.cacheEnabled=!0,this.cacheTTL=5*60*1e3}async init(){return this.sourcesConfig=ga,this.sourcesConfig}getActiveSourceId(){var t;return((t=this.sourcesConfig)==null?void 0:t.activeSource)||"doxa-csv"}getSourceConfig(t){var o,n;return(n=(o=this.sourcesConfig)==null?void 0:o.sources)==null?void 0:n[t]}async setActiveSource(t){const o=this.getSourceConfig(t);if(!o)throw new Error(`Source not found: ${t}`);if(this.activeSource=o,this.cacheEnabled&&this.cache.has(t)){const n=this.cache.get(t);return this.normalizedData=n.normalizedData,this.dataByUniqueId=n.dataByUniqueId,this.normalizedData}return o.type==="csv"?await this.loadCSVData(o):o.type==="api"?await this.loadAPIData(o):o.type==="rest-api"&&await this.loadRestApiData(o),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 o=[],n=[];let a="",r=!1,s=[],i=!0;for(let l=0;lnull,getActivePinColor:o=null}=e,n=je("uiStore");let a=null,r=null;const s=o??je("getActivePinColor",null);let i=ki;function l(){const y=t();y&&(y.getLayer(Rn)||y.getSource("language-families")&&y.addLayer({id:Rn,type:"circle",source:"language-families",paint:{"circle-radius":["interpolate",["linear"],["zoom"],0,3,2,3.5,4,4,5,5,6,6.5,7,8,8,10,10,14,12,18,14,22],"circle-color":i,...an(y),"circle-opacity":1,"circle-stroke-width":2,"circle-stroke-color":"#FFFFFF","circle-stroke-opacity":1},filter:["==",["get","uniqueId"],"__none__"]}))}function c(){a||(a=Lv(ki))}function u(y,h){const _=t();_&&(c(),r&&r.remove(),r=new(hi(_)).Marker({element:a,anchor:"bottom",offset:[0,0]}).setLngLat([y,h]).addTo(_))}function p(){r&&(r.remove(),r=null)}function f(y){var w,m;const h=t();if(!h)return;if(y&&(i=(s==null?void 0:s(y.properties))??ki),l(),h.getLayer(Rn)&&(h.setPaintProperty(Rn,"circle-color",i),Qg(h)&&h.setPaintProperty(Rn,"circle-emissive-strength",1)),!y){h.getLayer(Rn)&&h.setFilter(Rn,["==",["get","uniqueId"],"__none__"]),p();return}const _=((w=y.properties)==null?void 0:w.uniqueId)||"__none__",g=(m=y.geometry)==null?void 0:m.coordinates;if(!g)return;h.getLayer(Rn)&&h.setFilter(Rn,["==",["get","uniqueId"],_]);const[b,d]=g;u(b,d)}Ue(()=>n.selectedPeopleGroup,y=>{f(y)});function x(){l()}function S(){p(),a=null}return{initialize:x,cleanup:S,updateSelectedPin:f}}const ar="doxa-country-outline",Jr="doxa-country-outline-line",Tv="mapbox://mapbox.country-boundaries-v1",Ev="country_boundaries";function Mv(e,t){if(!e)return"";const o=Array.isArray(t)?t:[],n=Array.isArray(e.memberIds)?e.memberIds.map(String):[],a=new Set(n);let r=n.length?o.find(s=>a.has(String(s.uniqueId??s.id??s.slug??""))):null;if(!r){const s=String(e.label??"").toLowerCase();r=o.find(i=>String(i.countryName??i.country??"").toLowerCase()===s)}return String((r==null?void 0:r.countryIso)??"").trim().toUpperCase()}function Rv(e){var t,o,n;try{return!!((n=(o=(t=e==null?void 0:e.getContainer)==null?void 0:t.call(e))==null?void 0:o.classList)!=null&&n.contains("maplibregl-map"))}catch{return!1}}function Fv(e,t){const o=["==",["get","iso_3166_1_alpha_3"],e];return t?o:["all",o,["any",["==",["get","worldview"],"all"],["in","US",["get","worldview"]]]]}function Nv(e,t={}){const o=t.lineColor??"#2563eb",n=t.lineWidth??2.5,a=t.lineOpacity??.8;function r(){const i=typeof e=="function"?e():null;if(i)try{i.getLayer(Jr)&&i.removeLayer(Jr),i.getSource(ar)&&i.removeSource(ar)}catch{}}function s(i){const l=String(i||"").trim().toUpperCase();if(l.length!==3)return;const c=typeof e=="function"?e():null;if(!c)return;const u=Rv(c),p=Fv(l,u);if(c.getLayer(Jr))try{c.setFilter(Jr,p);return}catch{}r();try{u?(c.addSource(ar,{type:"geojson",data:{type:"FeatureCollection",features:[]}}),Wa(`${lc(null)}/boundaries/world-adm0-web.geojson`).then(f=>f.json()).then(f=>{for(const y of f.features||[])y.properties&&y.properties.iso3&&(y.properties.iso_3166_1_alpha_3=y.properties.iso3);const x=typeof e=="function"?e():null,S=x&&x.getSource(ar);S&&S.setData(f)}).catch(f=>console.warn("[country-outline] boundaries failed to load",f))):c.addSource(ar,{type:"vector",url:Tv}),c.addLayer({id:Jr,type:"line",source:ar,...u?{}:{"source-layer":Ev},filter:p,layout:{"line-join":"round","line-cap":"round"},paint:{"line-color":o,"line-width":n,"line-opacity":a,...an(c,"line")}})}catch{}}return{showCountry:s,clearCountry:r}}const Jf="doxa-prayed-local",Iv=7*24*60*60*1e3;function Xf(){try{const e=localStorage.getItem(Jf);if(!e)return{};const t=JSON.parse(e);return t&&typeof t=="object"?t:{}}catch{return{}}}function Qf(e){try{localStorage.setItem(Jf,JSON.stringify(e))}catch{}}function Ov(){const e=Date.now(),t=Xf();let o=!1;for(const[n,a]of Object.entries(t))(typeof a!="number"||e-a>Iv)&&(delete t[n],o=!0);return o&&Qf(t),new Set(Object.keys(t))}function Dv(e){if(!e)return;const t=Xf();t[e]=Date.now(),Qf(t);try{window.dispatchEvent(new CustomEvent("doxa:prayed-locally",{detail:{slug:e}}))}catch{}}function zv(e){const t=Ov();return!t.size||!Array.isArray(e)?e:e.map(o=>(Number(o&&o.peoplePraying)||0)>0||!o||!t.has(o.slug)?o:{...o,peoplePraying:1})}const eh={aar:"Afro-Asiatic",abf:"Austronesian",abl:"Austronesian",abv:"Afro-Asiatic",acm:"Afro-Asiatic",acq:"Afro-Asiatic",acw:"Afro-Asiatic",acx:"Afro-Asiatic",adh:"Nilo-Saharan",adi:"Sino-Tibetan",adw:"Tupian",adx:"Sino-Tibetan",aen:"Sign Language",afb:"Afro-Asiatic",afg:"Sign Language",afr:"Indo-European",aft:"Nilo-Saharan",agx:"Nakh-Daghestanian",ahk:"Sino-Tibetan",aib:"Turkic",aih:"Kra-Dai",aio:"Kra-Dai",ajp:"Afro-Asiatic",aju:"Afro-Asiatic",aks:"Niger-Congo",akv:"Nakh-Daghestanian",alk:"Austro-Asiatic",alo:"Austronesian",alw:"Afro-Asiatic",amc:"Panoan",amh:"Afro-Asiatic",amr:"Harákmbut",amv:"Austronesian",ani:"Nakh-Daghestanian",anp:"Indo-European",anq:"Andamanese",aoc:"Cariban",apc:"Afro-Asiatic",apd:"Afro-Asiatic",arb:"Afro-Asiatic",arq:"Afro-Asiatic",arr:"Tupian",ars:"Afro-Asiatic",arv:"Afro-Asiatic",ary:"Afro-Asiatic",ase:"Sign Language",asl:"Austronesian",asm:"Indo-European",asn:"Tupian",asp:"Sign Language",atr:"Cariban",avd:"Indo-European",avl:"Afro-Asiatic",avv:"Tupian",awe:"Tupian",awt:"Tupian",ayh:"Afro-Asiatic",ayl:"Afro-Asiatic",ayn:"Afro-Asiatic",azb:"Turkic",bao:"Tucanoan",bbh:"Austro-Asiatic",bcc:"Indo-European",bcz:"Niger-Congo",bdg:"Austronesian",bdi:"Nilo-Saharan",bdj:"Niger-Congo",bdm:"Afro-Asiatic",bdo:"Nilo-Saharan",bee:"Sino-Tibetan",bej:"Afro-Asiatic",bem:"Niger-Congo",ben:"Indo-European",bfi:"Sign Language",bfu:"Sino-Tibetan",bfw:"Austro-Asiatic",bfy:"Indo-European",bgc:"Indo-European",bgg:"Sino-Tibetan",bgk:"Austro-Asiatic",bgl:"Austro-Asiatic",bgn:"Indo-European",bgp:"Indo-European",bgq:"Indo-European",bho:"Indo-European",bhu:"Indo-European",bid:"Afro-Asiatic",bjj:"Indo-European",bkk:"Indo-European",blf:"Austronesian",blm:"Nilo-Saharan",blo:"Niger-Congo",bls:"Austronesian",blt:"Kra-Dai",bly:"Niger-Congo",bma:"Niger-Congo",bmr:"Witotoan",bna:"Austronesian",bns:"Indo-European",bor:"Bororoan",bos:"Indo-European",bph:"Nakh-Daghestanian",bqg:"Niger-Congo",bqj:"Niger-Congo",bqk:"Niger-Congo",bqn:"Sign Language",bqx:"Niger-Congo",bra:"Indo-European",brb:"Austro-Asiatic",bro:"Sino-Tibetan",brx:"Sino-Tibetan",bsb:"Austronesian",bsg:"Indo-European",bsk:"Language isolate",bsy:"Austronesian",btd:"Austronesian",btf:"Afro-Asiatic",btv:"Indo-European",btx:"Austronesian",btz:"Austronesian",bub:"Niger-Congo",buh:"Hmong-Mien",bva:"Afro-Asiatic",bvf:"Afro-Asiatic",bvi:"Niger-Congo",bvo:"Niger-Congo",bwi:"Maipurean",bwn:"Hmong-Mien",bwx:"Hmong-Mien",bxr:"Mongolic",bxu:"Mongolic",bxw:"Niger-Congo",byn:"Afro-Asiatic",byo:"Sino-Tibetan",bze:"Niger-Congo",bzx:"Niger-Congo",cat:"Indo-European",cbb:"Maipurean",cbc:"Tucanoan",cbi:"Barbacoan",cbn:"Austro-Asiatic",cby:"Unclassified",cdh:"Indo-European",cdn:"Sino-Tibetan",cdz:"Austro-Asiatic",ceg:"Zamucoan",cgk:"Sino-Tibetan",che:"Nakh-Daghestanian",cib:"Niger-Congo",cji:"Nakh-Daghestanian",ckh:"Sino-Tibetan",ckq:"Afro-Asiatic",clk:"Sino-Tibetan",cmn:"Sino-Tibetan",cnq:"Niger-Congo",cnu:"Afro-Asiatic",coa:"Creole",cog:"Austro-Asiatic",cpu:"Maipurean",cqd:"Hmong-Mien",csf:"Sign Language",csx:"Sign language",cub:"Tucanoan",cui:"Guajiboan",cuu:"Kra-Dai",daa:"Afro-Asiatic",daj:"Nilo-Saharan",dar:"Nakh-Daghestanian",dau:"Nilo-Saharan",dba:"Language isolate",dbb:"Afro-Asiatic",dbp:"Afro-Asiatic",dbr:"Afro-Asiatic",ddn:"Nilo-Saharan",deg:"Niger-Congo",dek:"Niger-Congo",des:"Tucanoan",dgo:"Indo-European",dgs:"Niger-Congo",dhd:"Indo-European",dhi:"Sino-Tibetan",dhm:"Niger-Congo",dil:"Nilo-Saharan",diu:"Niger-Congo",div:"Indo-European",djc:"Nilo-Saharan",dkg:"Niger-Congo",dln:"Sino-Tibetan",dml:"Indo-European",dms:"Austronesian",dnu:"Austro-Asiatic",doc:"Kra-Dai",dok:"Austronesian",dox:"Afro-Asiatic",dru:"Austronesian",dse:"Sign Language",dsh:"Afro-Asiatic",dsl:"Sign Language",dsq:"Nilo-Saharan",dta:"Mongolic",dtp:"Austronesian",dyu:"Niger-Congo",dzg:"Nilo-Saharan",dzl:"Sino-Tibetan",eng:"Indo-European",enn:"Niger-Congo",epi:"Niger-Congo",ers:"Sino-Tibetan",esl:"Sign Language",evn:"Tungusic",fin:"Uralic",fni:"Niger-Congo",fod:"Niger-Congo",fra:"Indo-European",fsl:"Sign Language",fub:"Niger-Congo",fuc:"Niger-Congo",fuf:"Niger-Congo",fuj:"Niger-Congo",fvr:"Nilo-Saharan",fwe:"Niger-Congo",gax:"Afro-Asiatic",gaz:"Afro-Asiatic",gbk:"Indo-European",gbm:"Indo-European",gbn:"Nilo-Saharan",gdq:"Afro-Asiatic",gea:"Afro-Asiatic",ges:"Austronesian",gex:"Afro-Asiatic",ghl:"Nilo-Saharan",giq:"Kra-Dai",giw:"Kra-Dai",gju:"Indo-European",glc:"Niger-Congo",goe:"Sino-Tibetan",gow:"Afro-Asiatic",gqu:"Kra-Dai",grr:"Afro-Asiatic",gsg:"Sign Language",gss:"Sign Language",guj:"Indo-European",gus:"Sign Language",gvp:"Jean",gwb:"Niger-Congo",gwc:"Indo-European",gwd:"Afro-Asiatic",gwf:"Indo-European",gya:"Niger-Congo",gyo:"Sino-Tibetan",gzn:"Austronesian",hae:"Afro-Asiatic",hal:"Austro-Asiatic",hau:"Afro-Asiatic",hca:"Creole",hea:"Hmong-Mien",heb:"Afro-Asiatic",her:"Niger-Congo",hik:"Austronesian",hin:"Indo-European",hks:"Sign Language",hlb:"Indo-European",hld:"Austro-Asiatic",hmb:"Nilo-Saharan",hmh:"Hmong-Mien",hml:"Hmong-Mien",hmm:"Hmong-Mien",hne:"Indo-European",hni:"Sino-Tibetan",hnu:"Austro-Asiatic",hoh:"Afro-Asiatic",hoj:"Indo-European",hoz:"Afro-Asiatic",hsn:"Sino-Tibetan",hss:"Afro-Asiatic",htu:"Austronesian",hug:"Harákmbut",huo:"Austro-Asiatic",iba:"Austronesian",ibr:"Niger-Congo",icl:"Sign Language",iii:"Sino-Tibetan",ind:"Austronesian",irr:"Austro-Asiatic",ise:"Sign Language",isk:"Indo-European",isr:"Sign Language",ium:"Hmong-Mien",jbn:"Afro-Asiatic",jeu:"Afro-Asiatic",jia:"Afro-Asiatic",jii:"Afro-Asiatic",jio:"Kra-Dai",jit:"Niger-Congo",jiu:"Sino-Tibetan",jle:"Niger-Congo",jls:"Sign Language",jmi:"Afro-Asiatic",jnl:"Sino-Tibetan",jos:"Sign Language",jpn:"Japonic",jup:"Puinavean",kaf:"Sino-Tibetan",kan:"Dravidian",kas:"Indo-European",kay:"Tupian",kaz:"Turkic",kbg:"Sino-Tibetan",kbo:"Nilo-Saharan",kbp:"Niger-Congo",kby:"Nilo-Saharan",kcf:"Niger-Congo",kcn:"Creole",kcp:"Nilo-Saharan",kcu:"Niger-Congo",kcy:"Nilo-Saharan",kcz:"Niger-Congo",kdh:"Niger-Congo",kdn:"Niger-Congo",kdt:"Austro-Asiatic",kdu:"Nilo-Saharan",kec:"Nilo-Saharan",kfa:"Dravidian",kfd:"Dravidian",kfe:"Dravidian",kfg:"Dravidian",kfm:"Indo-European",kfr:"Indo-European",kfs:"Indo-European",kfy:"Indo-European",kgn:"Indo-European",khb:"Kra-Dai",khf:"Austro-Asiatic",khv:"Nakh-Daghestanian",kia:"Niger-Congo",kib:"Niger-Congo",kie:"Nilo-Saharan",kil:"Afro-Asiatic",kir:"Turkic",kjc:"Austronesian",kjg:"Austro-Asiatic",kjk:"Austronesian",kke:"Niger-Congo",kkh:"Kra-Dai",kkn:"Austro-Asiatic",kko:"Nilo-Saharan",kks:"Afro-Asiatic",klf:"Nilo-Saharan",kmc:"Kra-Dai",kmq:"Nilo-Saharan",kmr:"Indo-European",kmz:"Turkic",knc:"Nilo-Saharan",knf:"Niger-Congo",knk:"Niger-Congo",knm:"Maipurean",knn:"Indo-European",kns:"Austro-Asiatic",knz:"Niger-Congo",kou:"Niger-Congo",kpa:"Afro-Asiatic",kpc:"Maipurean",kpj:"Karajá",kpt:"Nakh-Daghestanian",kqg:"Niger-Congo",kqm:"Niger-Congo",krn:"Niger-Congo",krs:"Nilo-Saharan",kth:"Nilo-Saharan",kuf:"Austro-Asiatic",kui:"Cariban",kuj:"Niger-Congo",kva:"Nakh-Daghestanian",kvf:"Afro-Asiatic",kvh:"Austronesian",kvp:"Austronesian",kwn:"Niger-Congo",kwv:"Nilo-Saharan",kxd:"Austronesian",kxh:"Afro-Asiatic",kxj:"Nilo-Saharan",kyi:"Austronesian",kyp:"Kra-Dai",kyw:"Indo-European",kzq:"Sino-Tibetan",lae:"Sino-Tibetan",lan:"Niger-Congo",lao:"Kra-Dai",laq:"Kra-Dai",lbj:"Sino-Tibetan",lbn:"Austro-Asiatic",lbo:"Austro-Asiatic",lbs:"Sign Language",lbt:"Kra-Dai",lcd:"Austronesian",lcq:"Austronesian",lgn:"Nilo-Saharan",lgs:"Sign Language",lha:"Kra-Dai",lhn:"Austronesian",lhp:"Sino-Tibetan",lic:"Kra-Dai",liq:"Afro-Asiatic",liu:"Nilo-Saharan",lkc:"Sino-Tibetan",lkh:"Sino-Tibetan",lki:"Indo-European",lkr:"Nilo-Saharan",lma:"Niger-Congo",loh:"Nilo-Saharan",lop:"Niger-Congo",lsd:"Afro-Asiatic",lso:"Sign Language",lss:"Indo-European",lsy:"Sign Language",luk:"Sino-Tibetan",lul:"Nilo-Saharan",mag:"Indo-European",mai:"Indo-European",mal:"Dravidian",mar:"Indo-European",mbd:"Austronesian",mbn:"Guajiboan",mcd:"Panoan",mdl:"Sign Language",mdy:"Afro-Asiatic",mei:"Nilo-Saharan",men:"Niger-Congo",mes:"Afro-Asiatic",mew:"Afro-Asiatic",mey:"Afro-Asiatic",mgb:"Nilo-Saharan",mgd:"Nilo-Saharan",mge:"Nilo-Saharan",mgh:"Niger-Congo",mhr:"Uralic",mhu:"Sino-Tibetan",mhw:"Niger-Congo",mjp:"Dravidian",mkg:"Kra-Dai",mmh:"Maipurean",mml:"Austro-Asiatic",mmy:"Afro-Asiatic",mne:"Nilo-Saharan",mni:"Sino-Tibetan",mnj:"Indo-European",mnk:"Niger-Congo",mnq:"Austro-Asiatic",mns:"Uralic",mot:"Chibchan",mou:"Afro-Asiatic",moy:"Afro-Asiatic",moz:"Afro-Asiatic",mpe:"Nilo-Saharan",mpz:"Sino-Tibetan",mqi:"Austronesian",mqn:"Austronesian",mra:"Austro-Asiatic",mrj:"Uralic",msc:"Niger-Congo",msv:"Afro-Asiatic",msw:"Niger-Congo",mtr:"Indo-European",mub:"Afro-Asiatic",mup:"Indo-European",muq:"Hmong-Mien",muv:"Dravidian",mvf:"Mongolic",mvu:"Nilo-Saharan",mvy:"Indo-European",mwn:"Niger-Congo",mxj:"Sino-Tibetan",myp:"Muran",myy:"Tucanoan",mzb:"Afro-Asiatic",mzy:"Sign Language",naq:"Khoe-Kwadi",nbt:"Sino-Tibetan",nbw:"Niger-Congo",ndg:"Niger-Congo",ndp:"Nilo-Saharan",ndt:"Niger-Congo",neb:"Niger-Congo",neh:"Sino-Tibetan",nev:"Austro-Asiatic",ngt:"Austro-Asiatic",njl:"Nilo-Saharan",nkd:"Sino-Tibetan",nld:"Indo-European",nmd:"Niger-Congo",nmi:"Afro-Asiatic",nml:"Niger-Congo",nmy:"Sino-Tibetan",nnj:"Nilo-Saharan",nod:"Kra-Dai",noe:"Indo-European",nos:"Sino-Tibetan",npb:"Sino-Tibetan",npi:"Indo-European",nrb:"Nilo-Saharan",nru:"Sino-Tibetan",nsl:"Sign Language",nuo:"Austro-Asiatic",nus:"Nilo-Saharan",nwm:"Nilo-Saharan",nxq:"Sino-Tibetan",nye:"Niger-Congo",nyn:"Niger-Congo",nyr:"Niger-Congo",nyw:"Kra-Dai",nzs:"Sign Language",okn:"Japonic",ole:"Sino-Tibetan",oog:"Austro-Asiatic",oon:"Andamanese",opa:"Niger-Congo",ort:"Indo-European",ory:"Indo-European",ost:"Niger-Congo",oyb:"Austro-Asiatic",oym:"Tupian",pac:"Austro-Asiatic",pah:"Tupian",pbp:"Niger-Congo",peh:"Mongolic",pes:"Indo-European",pga:"Creole",pgg:"Indo-European",pgz:"Sign language",pha:"Hmong-Mien",phh:"Sino-Tibetan",phj:"Sino-Tibetan",phk:"Kra-Dai",phl:"Indo-European",pho:"Sino-Tibetan",phq:"Sino-Tibetan",phr:"Indo-European",pht:"Kra-Dai",pil:"Niger-Congo",pir:"Tucanoan",pkb:"Niger-Congo",pks:"Sign Language",pkt:"Austro-Asiatic",pll:"Austro-Asiatic",pnq:"Niger-Congo",pnx:"Austro-Asiatic",por:"Indo-European",prc:"Indo-European",prs:"Indo-European",prt:"Austro-Asiatic",psc:"Sign Language",pse:"Austronesian",pto:"Tupian",pum:"Sino-Tibetan",puo:"Austro-Asiatic",qae:"Sign Language",qao:"Sign Language",qbh:"Sign Language",qbj:"Sign Language",qbn:"Sign Language",qbt:"Sign Language",qcd:"Sign Language",qcm:"Sign Language",qcy:"Sign Language",qer:"Sign Language",qfa:"Sign Language",qfj:"Sign Language",qga:"Sign Language",qge:"Sign Language",qgm:"Sign Language",qiq:"Sign Language",qki:"Sign Language",qkm:"Sign Language",qkp:"Sign Language",qkw:"Sign Language",qmv:"Sign Language",qnh:"Sign Language",qns:"Sign Language",qom:"Sign Language",qqa:"Sign Language",qry:"Sign Language",qsm:"Sign Language",qso:"Sign Language",qsr:"Sign Language",qsz:"Sign Language",qtp:"Sign Language",qvz:"Quechuan",ras:"Niger-Congo",rbb:"Austro-Asiatic",ren:"Austro-Asiatic",rji:"Sino-Tibetan",rmt:"Indo-European",rmy:"Indo-European",rob:"Austronesian",rsl:"Sign Language",rui:"Niger-Congo",rus:"Indo-European",rwm:"Niger-Congo",rwr:"Indo-European",rys:"Japonic",saa:"Afro-Asiatic",sbf:"Unclassified",sbj:"Nilo-Saharan",sbs:"Niger-Congo",scb:"Austro-Asiatic",sck:"Indo-European",scl:"Indo-European",sdb:"Indo-European",sdg:"Indo-European",sdl:"Sign Language",sdp:"Sino-Tibetan",seq:"Niger-Congo",sgh:"Indo-European",sgy:"Indo-European",she:"Afro-Asiatic",shm:"Indo-European",shn:"Kra-Dai",sho:"Niger-Congo",shp:"Panoan",shu:"Afro-Asiatic",shv:"Afro-Asiatic",shz:"Niger-Congo",siy:"Indo-European",siz:"Afro-Asiatic",sjg:"Nilo-Saharan",sjo:"Tungusic",skq:"Niger-Congo",sle:"Dravidian",slt:"Sino-Tibetan",sml:"Austronesian",smy:"Indo-European",snd:"Indo-European",snn:"Tucanoan",soj:"Indo-European",sok:"Afro-Asiatic",soy:"Niger-Congo",spa:"Indo-European",spu:"Austro-Asiatic",sqk:"Sign Language",sqq:"Austro-Asiatic",sqs:"Sign Language",sqt:"Afro-Asiatic",srh:"Indo-European",sri:"Tucanoan",srp:"Indo-European",ssh:"Afro-Asiatic",ssn:"Afro-Asiatic",sss:"Austro-Asiatic",ssy:"Afro-Asiatic",std:"Andamanese",sts:"Indo-European",suq:"Nilo-Saharan",suv:"Sino-Tibetan",suy:"Jean",suz:"Sino-Tibetan",swh:"Niger-Congo",swi:"Kra-Dai",swl:"Sign Language",swv:"Indo-European",swx:"Arauan",sxg:"Sino-Tibetan",sze:"Afro-Asiatic",szn:"Austronesian",szs:"Sign Language",tag:"Niger-Congo",tam:"Dravidian",taz:"Niger-Congo",tbm:"Niger-Congo",tbn:"Chibchan",tbr:"Nilo-Saharan",tct:"Kra-Dai",tcy:"Dravidian",tda:"Mixed language",tdb:"Indo-European",tdd:"Kra-Dai",tdf:"Austro-Asiatic",tdj:"Austronesian",tel:"Dravidian",teq:"Nilo-Saharan",tgf:"Sino-Tibetan",tgk:"Indo-European",tgr:"Austro-Asiatic",thk:"Niger-Congo",thm:"Austro-Asiatic",thu:"Nilo-Saharan",thv:"Afro-Asiatic",tig:"Afro-Asiatic",tin:"Nakh-Daghestanian",tiz:"Kra-Dai",tkn:"Japonic",tlq:"Austro-Asiatic",tly:"Indo-European",tma:"Nilo-Saharan",tnb:"Chibchan",toi:"Niger-Congo",toq:"Nilo-Saharan",tou:"Austro-Asiatic",tqq:"Afro-Asiatic",tri:"Cariban",trj:"Afro-Asiatic",tsb:"Afro-Asiatic",tsc:"Niger-Congo",tsj:"Sino-Tibetan",tsk:"Sino-Tibetan",tsl:"Kra-Dai",tsm:"Sign Language",ttg:"Austronesian",tth:"Austro-Asiatic",ttl:"Niger-Congo",tts:"Kra-Dai",tue:"Tucanoan",tum:"Niger-Congo",tuo:"Tucanoan",tur:"Turkic",twm:"Sino-Tibetan",txi:"Cariban",txm:"Austronesian",tyh:"Austro-Asiatic",tyj:"Kra-Dai",tyr:"Kra-Dai",tyv:"Turkic",tyy:"Niger-Congo",tzm:"Afro-Asiatic",uan:"Kra-Dai",udj:"Austronesian",une:"Niger-Congo",unk:"Maipurean",urd:"Indo-European",urp:"Tupian",urz:"Tupian",ush:"Indo-European",usi:"Sino-Tibetan",uuu:"Austro-Asiatic",uzn:"Turkic",vai:"Niger-Congo",vgr:"Indo-European",vie:"Austro-Asiatic",vkj:"Unclassified",vkn:"Niger-Congo",vkz:"Niger-Congo",vmk:"Niger-Congo",vut:"Niger-Congo",wau:"Maipurean",waw:"Cariban",wbj:"Afro-Asiatic",wbl:"Indo-European",wbr:"Indo-European",wlc:"Niger-Congo",wll:"Nilo-Saharan",wmd:"Nambikwara",wmg:"Sino-Tibetan",wne:"Indo-European",wni:"Niger-Congo",wol:"Niger-Congo",wrn:"Niger-Congo",wti:"Nilo-Saharan",wuh:"Mixed language",wwa:"Niger-Congo",xal:"Mongolic",xan:"Afro-Asiatic",xdq:"Nakh-Daghestanian",xhv:"Austro-Asiatic",xka:"Indo-European",xkz:"Sino-Tibetan",xma:"Niger-Congo",xmj:"Afro-Asiatic",xmo:"Tupian",xms:"Sign Language",xnr:"Indo-European",xns:"Sino-Tibetan",xom:"Nilo-Saharan",xor:"Panoan",xsm:"Niger-Congo",xsr:"Sino-Tibetan",xwg:"Nilo-Saharan",yaa:"Panoan",yad:"Yaguan",yao:"Niger-Congo",yax:"Niger-Congo",ybh:"Sino-Tibetan",ycl:"Sino-Tibetan",ydd:"Indo-European",ydg:"Indo-European",yea:"Dravidian",yhd:"Afro-Asiatic",yig:"Sino-Tibetan",yix:"Sino-Tibetan",ymm:"Afro-Asiatic",ymx:"Sino-Tibetan",yne:"Sino-Tibetan",yno:"Kra-Dai",yom:"Niger-Congo",yox:"Japonic",yoy:"Kra-Dai",yrn:"Kra-Dai",ysl:"Sign Language",ysm:"Sign language",ysn:"Sino-Tibetan",yue:"Sino-Tibetan",yul:"Nilo-Saharan",yup:"Cariban",ywn:"Panoan",ywt:"Sino-Tibetan",zag:"Nilo-Saharan",zgn:"Kra-Dai",zhd:"Kra-Dai",ziw:"Niger-Congo",zkr:"Sino-Tibetan",zlm:"Austronesian",zna:"Niger-Congo",zne:"Niger-Congo",zng:"Austro-Asiatic",zqe:"Kra-Dai",zum:"Indo-European",zyg:"Kra-Dai"};function Gc(e){return e==null?"":typeof e=="object"?e.label||e.value||"":String(e)}const jv=[[/ sign language$/i,"Sign Language"]];function Bv(e){var i,l;const t=Gc(e.languageFamily);if(t)return t;const o=String(((l=(i=e._raw)==null?void 0:i.primary_language)==null?void 0:l.value)||(e.language&&typeof e.language=="object"?e.language.value:"")||"").trim().toLowerCase();if(o&&eh[o])return eh[o];const n=Gc(e.language||e.primary_language);if(!n||typeof n!="string")return"";const a=n.trim(),r=a.split(",").map(c=>c.trim()).filter(Boolean);if(r.length>=2){const c=[...r].reverse().join(" ");if(pt[c])return pt[c];if(r.length>=3){const u=[r[1],r[0]].join(" ");if(pt[u])return pt[u]}}if(pt[a])return pt[a];const s=a.replace(/\s*\(.*?\)\s*$/,"").trim();if(s!==a&&pt[s])return pt[s];for(const[c,u]of jv)if(c.test(a))return u;return""}function Gv(e){const{mapId:t="unknown",dataSourceId:o="doxa-csv",dataSourceManager:n=null,dataStore:a=null,markRaw:r=k=>k}=e;n||console.error("useMapData: dataSourceManager is required!");const s=we(!1),i=we(null),l=we(!1),c=we([]),u=we([]);Lo()&&zt("normalizedPeopleGroups",u);const p=we(null),f=we([]),x=we([]),S=we([]),y=we(null);async function h(){if(!n)throw new Error("dataSourceManager is required for useMapData");s.value=!0,i.value=null;try{if(await n.init(),a&&a.hasSourceData&&a.hasSourceData(o)){const $=a.getSourceData(o);u.value=r($.normalizedData||[])}else{const $=await n.setActiveSource(o);for(const A of $){const I=Gc(A.language||A.primary_language);I&&(A.language=I);const F=Bv(A);A.languageFamily=_i(F)}u.value=r($),a&&a.cacheSourceData&&a.cacheSourceData(o,{normalizedData:$,timestamp:Date.now()})}c.value=r(zv(u.value.map($=>({id:$.uniqueId,slug:$.slug||"",rop3:$.peopleGroupId,peopleId3:$.peopleId3,name:$.name,language:$.language,languageFamily:$.languageFamily,country:$.country,population:$.population,status:$.engagementStatus||$.status,latitude:$.latitude,longitude:$.longitude,lng:$.longitude,lat:$.latitude,description:$.description,imageUrl:$.imageUrl,doxaRegion:$.doxaRegion||$.wagfRegion||"",peoplePraying:$.peoplePraying??null,_normalized:$}))));const k=n.getDataByLanguageFamily();f.value=Object.entries(k).map(([$,A])=>{const I=A.reduce((F,W)=>{const z=parseInt(W.population)||0;return F+z},0);return{name:$,count:A.length,peopleGroupCount:A.length,population:I,groups:A}}).sort(($,A)=>A.count-$.count);const E=n.getDataByRegion();x.value=Object.entries(E).map(([$,A])=>{const I=A.reduce((F,W)=>{const z=parseInt(W.population)||0;return F+z},0);return{name:$,count:A.length,peopleGroupCount:A.length,population:I,groups:A}}).sort(($,A)=>$.name.localeCompare(A.name));const L={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($=>{const A=parseInt($.population)||0;let I=!1;$.bible==="Available"&&(L.bible.count++,L.bible.population+=A,L.bible.groups.push($),I=!0),$.jesusFilm==="Available"&&(L.jesusFilm.count++,L.jesusFilm.population+=A,L.jesusFilm.groups.push($),I=!0),$.radio==="Available"&&(L.radio.count++,L.radio.population+=A,L.radio.groups.push($),I=!0),$.gospel==="Available"&&(L.gospel.count++,L.gospel.population+=A,L.gospel.groups.push($),I=!0),$.audio==="Available"&&(L.audio.count++,L.audio.population+=A,L.audio.groups.push($),I=!0),$.stories==="Available"&&(L.stories.count++,L.stories.population+=A,L.stories.groups.push($),I=!0),I?(L.hasResources.count++,L.hasResources.population+=A,L.hasResources.groups.push($)):(L.noResources.count++,L.noResources.population+=A,L.noResources.groups.push($))});const H=u.value.length,K=u.value.reduce(($,A)=>$+(parseInt(A.population)||0),0),J={bible:"Bible",jesusFilm:"Jesus Film",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",hasResources:"Has Resources",noResources:"No Resources"},v={bible:{count:H-L.bible.count,population:K-L.bible.population},jesusFilm:{count:H-L.jesusFilm.count,population:K-L.jesusFilm.population},radio:{count:H-L.radio.count,population:K-L.radio.population},gospel:{count:H-L.gospel.count,population:K-L.gospel.population},audio:{count:H-L.audio.count,population:K-L.audio.population},stories:{count:H-L.stories.count,population:K-L.stories.population}},N="#2c3e50";return S.value=[{name:J.bible,key:"bible",count:L.bible.count,population:L.bible.population,isParent:!0,children:[{name:"No Bible",key:"noBible",count:v.bible.count,population:v.bible.population,color:N}]},{name:J.jesusFilm,key:"jesusFilm",count:L.jesusFilm.count,population:L.jesusFilm.population,isParent:!0,children:[{name:"No Jesus Film",key:"noJesusFilm",count:v.jesusFilm.count,population:v.jesusFilm.population,color:N}]},{name:J.radio,key:"radio",count:L.radio.count,population:L.radio.population,isParent:!0,children:[{name:"No Radio",key:"noRadio",count:v.radio.count,population:v.radio.population,color:N}]},{name:J.gospel,key:"gospel",count:L.gospel.count,population:L.gospel.population,isParent:!0,children:[{name:"No Gospel",key:"noGospel",count:v.gospel.count,population:v.gospel.population,color:N}]},{name:J.audio,key:"audio",count:L.audio.count,population:L.audio.population,isParent:!0,children:[{name:"No Audio",key:"noAudio",count:v.audio.count,population:v.audio.population,color:N}]},{name:J.stories,key:"stories",count:L.stories.count,population:L.stories.population,isParent:!0,children:[{name:"No Stories",key:"noStories",count:v.stories.count,population:v.stories.population,color:N}]},{name:J.hasResources,key:"hasResources",count:L.hasResources.count,population:L.hasResources.population,isParent:!0,children:[{name:J.noResources,key:"noResources",count:L.noResources.count,population:L.noResources.population,color:N}]}],y.value=n.getStats(),l.value=!0,{peopleGroups:c.value,normalizedPeopleGroups:u.value,languageFamiliesData:f.value,doxaRegionsData:x.value,resourcesData:S.value,stats:y.value}}catch(k){throw console.error(`Failed to load data for map "${t}":`,k),i.value=k.message||"Failed to load data",k}finally{s.value=!1}}async function _(){var k,E,L;try{const H={},K=u.value||[];for(const J of K){const v=J.countryIso||((E=(k=J._raw)==null?void 0:k.country_code)==null?void 0:E.value)||"",N=(L=J._raw)==null?void 0:L.wagf_region,$=J.doxaRegion||J.wagfRegion||(N&&typeof N=="object"?N.value:"")||"";v&&$&&!H[v]&&(H[v]=$)}return p.value={isoToRegion:H},p.value}catch(H){throw console.error(`Error building regions data for map "${t}":`,H),i.value=H.message||"Failed to build regions",H}}function g(){return n?n.getDataByLanguageFamily():{}}function b(){return n?n.getDataByRegion():{}}function d(k){return g()[k]||[]}function w(k){return b()[k]||[]}function m(){c.value=[],u.value=[],p.value=null,f.value=[],x.value=[],S.value=[],y.value=null,l.value=!1,i.value=null}return{isLoading:s,isInitialized:l,error:i,peopleGroups:c,normalizedPeopleGroups:u,regionsData:p,languageFamiliesData:f,doxaRegionsData:x,resourcesData:S,stats:y,loadData:h,loadRegionsData:_,getDataByLanguageFamily:g,getDataByRegion:b,getPeopleGroupsByFamily:d,getPeopleGroupsByRegion:w,clearData:m}}function Hv(e){const{map:t,geocoderRef:o,clustering:n,mapStore:a,uiStore:r,mapLayers:s,pplrInstance:i,onSemanticTreeSelect:l,switchTab:c,activeTabId:u,clearAllHighlights:p,clearCountryHighlight:f,mapId:x,supportedKinds:S,legendRouters:y={},peopleGroupResult:h,busAdapter:_}=e,g=e.filterLayerId||"language-family-pins";let b=!1;function d(){var $,A,I,F,W;b=!0;const v=(A=($=o.value)==null?void 0:$.geocoder)==null?void 0:A.value;(I=v==null?void 0:v.clear)==null||I.call(v);const N=(v==null?void 0:v._inputEl)||((W=(F=v==null?void 0:v.container)==null?void 0:F.querySelector)==null?void 0:W.call(F,"input.mapboxgl-ctrl-geocoder--input"));if(N){N.value="";try{N.dispatchEvent(new Event("input",{bubbles:!0}))}catch{}}b=!1}function w(v,N){const $=`${g}-hitbox`;if(v!=null&&v.getLayer($))try{v.setFilter($,N)}catch{}}function m(){typeof window>"u"||typeof window.CustomEvent=="function"&&window.dispatchEvent(new CustomEvent("legend:reveal-selected",{detail:{mapId:x}}))}const k={country:"countryName","language-family":"languageFamily",language:"language",dialect:"language",religion:"religionName",region:"doxaRegion","affinity-bloc":"affinityBlock",cluster:"cluster","people-group":"peopleGroup"};function E(v,N,$){var A,I,F;if(v.kind==="language")return["any",["==",["get",N],$],["==",["slice",["get",N],0,$.length+1],$+","],["in"," "+$,["get",N]]];if(v.kind==="dialect"){const W=Array.isArray(v.originalLabels)?v.originalLabels:[];return W.length===1?["==",["get",N],W[0]]:W.length>1?["in",["get",N],["literal",W]]:["==",["get",N],$]}else if(v.kind==="affinity-bloc"){const W=v.blocCode||((A=v.properties)==null?void 0:A.blocCode)||"";return W?["==",["get","affinityBlock"],W]:["==",["get","affinityBlockLabel"],$]}else if(v.kind==="cluster"){const W=v.clusterCode||((I=v.properties)==null?void 0:I.clusterCode)||"",z=v.blocCode||((F=v.properties)==null?void 0:F.blocCode)||"";return W&&z?["all",["==",["get","affinityBlock"],z],["==",["get","cluster"],W]]:["==",["get","clusterLabel"],$]}else return["==",["get",N],$]}function L(v){if(!v||S&&!S.includes(v.kind))return null;const N=k[v.kind]||null,$=v.label;return!N||$==null||$===""?null:{kind:v.kind,value:$,property:N,expr:E(v,N,$)}}function H(v){var A,I,F,W;if(!v)return;f==null||f();const N=ge(t),$=((A=v.properties)==null?void 0:A.id)||((I=v.properties)==null?void 0:I.uniqueId)||null;if((F=r==null?void 0:r.selectPeopleGroup)==null||F.call(r,{...v,properties:{...v.properties,uniqueId:$}}),N&&$!=null&&N.getLayer(g)){const z=["==",["get","uniqueId"],$];try{N.setFilter(g,null)}catch{}w(N,z),N.setPaintProperty(g,"circle-opacity",["case",z,1,0]),N.setPaintProperty(g,"circle-stroke-opacity",["case",z,1,0]),N.getLayer(`${g}-shadow`)&&N.setPaintProperty(`${g}-shadow`,"circle-opacity",["case",z,1,0]),(W=s==null?void 0:s.syncGlowFilter)==null||W.call(s,z)}}function K(v){var W;if(_){const z=L(v);if(!z)return;_.aggregate(z,v);return}const N=ge(t);if(!v||!N||!N.getLayer(g)||S&&!S.includes(v.kind))return;v.kind!=="country"&&(f==null||f());const $=L(v);if(!$)return;const{property:A,value:I}=$;try{N.setFilter(g,$.expr)}catch{}n.setSelectionFilter({property:A,value:I});let F=!1;if(v.kind==="language-family"||v.kind==="family")a.selectFamily(v.label),a.setActiveLegendTab("family"),F=!0;else if(v.kind==="language")a.selectLanguage(v.label),a.setActiveLegendTab("language"),F=!0;else if(v.kind==="dialect"){const z=Array.isArray(v.originalLabels)?v.originalLabels:[],Z=v.familyDerived||"",j=v.baseLang||"",ae=v.dialectLabel||"",_e=`${Z}__${j}__${ae}`;(W=a.selectDialect)==null||W.call(a,{key:_e,originalLabels:z}),a.setActiveLegendTab("dialect"),F=!0}else if(v.kind==="affinity-bloc"||v.kind==="cluster"||v.kind==="people-group"){let z=null;if(v.kind==="affinity-bloc"){const Z=v.blocCode||"";z={id:`bloc:${Z}`,label:v.label,depth:0,filter:Z?["==",["get","affinityBlock"],Z]:null}}else if(v.kind==="cluster"){const Z=v.blocCode||"",j=v.clusterCode||"";z={id:`cluster:${Z}__${j}`,label:v.label,depth:1,filter:j?["==",["get","cluster"],j]:null}}else if(v.kind==="people-group"){const Z=v.blocCode||"",j=v.clusterCode||"",ae=v.peopleGroupCode||"";z={id:`pg:${Z}__${j}__${ae}`,label:v.label,depth:2,filter:ae?["==",["get","peopleGroup"],ae]:null}}if(z&&z.filter){const Z=()=>{try{N.setFilter(g,null)}catch{}l(z),i&&i.selection&&(i.selection.value=z)};u.value!=="affinity-blocks"?(c("affinity-blocks"),Qt(Z)):Z()}F=!0}else y[v.kind]&&(y[v.kind](v,{map:N,filterLayerId:g,clearGeocoder:d,emitLegendReveal:m,property:A,value:I}),F=!0);F&&(d(),m())}function J(){var N,$,A;if(_){_.clear();return}if(b)return;f==null||f();const v=ge(t);a.selectedRegion&&((N=a.selectRegion)==null||N.call(a,null)),a.selectedResource&&(($=a.selectResource)==null||$.call(a,null)),v&&v.getLayer(g)?p(v):(a.selectFamily(null),a.selectLanguage(null),(A=a.selectDialect)==null||A.call(a,null),n.setSelectionFilter(null))}return{onPeopleGroupResult:_?v=>_.peopleGroup(v):h||H,onAggregateResult:K,onClear:J,clearGeocoderProgrammatic:d}}const Hc={};function Uc(){return typeof window<"u"&&window.MAP_APP_API_URL||typeof{url:Ta&&Ta.tagName.toUpperCase()==="SCRIPT"&&Ta.src||new URL("doxa-research-map.js",document.baseURI).href}<"u"&&(Hc==null?void 0:Hc.VITE_API_BASE_URL)||""}const Wc=we(0),xi=we(0),Si=we(0),Kc=we(!1),qc=we(!1),Vc=we(null);let Xr=null;async function Uv(){if(!Kc.value)return Xr||(qc.value=!0,Vc.value=null,Xr=(async()=>{var e,t;try{const o=((e=ga==null?void 0:ga.sources)==null?void 0:e[ga.activeSource])||{},n=Uc(),a=((t=o.endpoints)==null?void 0:t.statistics)||"/api/people-groups/statistics",r=await Wa(`${n}${a}`,{cache:"no-store"});if(!r.ok)throw new Error(`statistics HTTP ${r.status}`);const s=await r.json();Wc.value=Number(s.total||0),xi.value=Number(s.total_with_prayer_committed??s.total_with_prayer??0),Si.value=Number(s.total_with_100_committed??s.total_with_full_prayer??0),Kc.value=!0}catch(o){Vc.value=o&&o.message?o.message:String(o)}finally{qc.value=!1,Xr=null}})(),Xr)}function Wv(){return{total:Wc,withPrayer:xi,withFullPrayer:Si,loaded:Kc,loading:qc,error:Vc,load:Uv,noPrayerCount:()=>Math.max(0,Wc.value-xi.value),hasPrayerCount:()=>Math.max(0,xi.value-Si.value),fullPrayerCount:()=>Si.value}}function th(e){if(!e||typeof e!="string")return[];const t=[];let o=0,n="";for(const a of e)a==="("?o++:a===")"&&(o=Math.max(0,o-1)),a===","&&o===0?(t.push(n),n=""):n+=a;return t.push(n),t.map(a=>a.trim()).filter(Boolean)}function Kv(e){if(!e||typeof e!="string")return"";const t=th(e);if(t.length<2)return e.trim();const o=t[t.length-1],n=o.match(/\s*(\(.*\))$/);n&&(t[t.length-1]=o.slice(0,n.index).trim());const a=t.filter(Boolean).reverse().join(" ");return n?`${a} ${n[1]}`:a}function qv(e){return(e==null?void 0:e.properties)||e||{}}function Ai(e){return e&&typeof e=="object"&&"label"in e?e.label||e.value||"":e}function Vv(e){if(!e||typeof e!="string")return null;const t=th(e);if(t.length>=2){const n=[...t].reverse().join(" ");if(pt[n])return pt[n];if(t.length>=3){const a=[t[1],t[0]].join(" ");if(pt[a])return pt[a]}}if(pt[e])return pt[e];const o=e.replace(/\s*\(.*?\)\s*$/,"").trim();return o!==e&&pt[o]?pt[o]:null}const Yv=[[/ sign language$/i,"Sign Language"]];function Zv(e){if(!e||typeof e!="string")return"— Unknown —";const t=e.indexOf(",");return t>0?e.slice(0,t).trim():e.trim()}function Jv(e){if(!e||typeof e!="string")return null;const t=e.indexOf(",");return t>=0&&e.slice(t+1).trim()||null}function Xv(e){var s,i,l,c;const t=e.language_family??e.languageFamily??((s=e._raw)==null?void 0:s.LanguageFamily)??((i=e._raw)==null?void 0:i.language_family),o=Ai(t),n=_i(o);if(n&&n!=="Unknown")return n;const a=e.primary_language??e.primaryLanguage??((l=e._raw)==null?void 0:l.PrimaryLanguage)??((c=e._raw)==null?void 0:c.primary_language),r=Ai(a);if(r){const u=String(r).trim(),p=Vv(u);if(p)return p;for(const[f,x]of Yv)if(f.test(u))return x}return"Unknown"}function Qv(e){var a,r;const t=((a=e._raw)==null?void 0:a.primary_language)??((r=e._raw)==null?void 0:r.PrimaryLanguage);if(t){const s=Ai(t);if(s)return String(s).trim()}const o=e.primary_language??e.primaryLanguage??e.language,n=Ai(o);return n&&String(n).trim()||"— Unknown —"}function ew(e){var o,n;const t=e.population??((o=e._raw)==null?void 0:o.Population)??((n=e._raw)==null?void 0:n.population)??0;return parseInt(t,10)||0}function tw(e,t){var o,n;return(e==null?void 0:e.id)??t.id??t.peopleGroupId??((o=t._raw)==null?void 0:o.PeopleID3)??((n=t._raw)==null?void 0:n.PeopleID)??null}function ow(e,t){return(e==null?void 0:e.clusterId)??t.clusterId??null}function nw(e,t){var a,r,s,i;const o=parseFloat(t.latitude??t.lat??((a=t._raw)==null?void 0:a.Latitude)??((r=t._raw)==null?void 0:r.latitude)),n=parseFloat(t.longitude??t.lng??((s=t._raw)==null?void 0:s.Longitude)??((i=t._raw)==null?void 0:i.longitude));return!isFinite(o)||!isFinite(n)?null:[n,o]}function aw(e,t){return t.peopleGroupCount!==e.peopleGroupCount?t.peopleGroupCount-e.peopleGroupCount:(t.population||0)-(e.population||0)}function Pi(e,t){return(t.population||0)!==(e.population||0)?(t.population||0)-(e.population||0):t.peopleGroupCount-e.peopleGroupCount}function Yc(e,t={}){t.aggregator;const o=Ra({});function n(y){return!!o[y]}function a(y){o[y]=!o[y]}function r(y){const h=new Set(Array.isArray(y)?y:[]);for(const _ of Object.keys(o))h.has(_)||(o[_]=!1);for(const _ of h)o[_]=!0}const s=oe(()=>{const y=(e==null?void 0:e.value)||[],h=new Map;for(const _ of y){const g=qv(_),b=Xv(g),d=Qv(g),w=Zv(d),m=Jv(d),k=ew(g),E=tw(_,g),L=ow(_,g),H=nw(_,g);let K=h.get(b);K||(K={key:b,peopleGroupCount:0,population:0,pinIds:[],coords:[],clusterId:null,languages:new Map},h.set(b,K)),K.peopleGroupCount+=1,K.population+=k,E!=null&&K.pinIds.push(E),H&&K.coords.push(H),L&&!K.clusterId&&(K.clusterId=L);let J=K.languages.get(w);if(J||(J={key:w,peopleGroupCount:0,population:0,pinIds:[],coords:[],clusterId:null,dialects:new Map},K.languages.set(w,J)),J.peopleGroupCount+=1,J.population+=k,E!=null&&J.pinIds.push(E),H&&J.coords.push(H),L&&!J.clusterId&&(J.clusterId=L),m){let v=J.dialects.get(m);v?v.originalLabels.add(d):(v={key:m,peopleGroupCount:0,population:0,pinIds:[],coords:[],originalLabels:new Set([d])},J.dialects.set(m,v)),v.peopleGroupCount+=1,v.population+=k,E!=null&&v.pinIds.push(E),H&&v.coords.push(H)}}return h}),i=t.showAllKnown!==!1,l=oe(()=>{const y=s.value,h=[],_=new Set;for(const g of y.values())h.push({key:g.key,label:g.key,color:zo(g.key),peopleGroupCount:g.peopleGroupCount,population:g.population,kind:g.clusterId?"cluster":"family",clusterId:g.clusterId||void 0,pinIds:g.pinIds,coords:g.coords}),_.add(g.key);if(i)for(const g of Object.keys(Pf))_.has(g)||h.push({key:g,label:g,color:zo(g),peopleGroupCount:0,population:0,kind:"family",pinIds:[],coords:[]});return h.sort(aw),h});function c(y){const h=s.value.get(y);if(!h)return[];const _=[];for(const g of h.languages.values())_.push({key:`${y}__${g.key}`,label:g.key,color:zo(y),peopleGroupCount:g.peopleGroupCount,population:g.population,kind:g.clusterId?"cluster":"language",familyKey:y,clusterId:g.clusterId||void 0,pinIds:g.pinIds,coords:g.coords,hasDialects:g.dialects.size>0});return _.sort(Pi),_}function u(y){const h=y.indexOf("__");if(h<0)return[];const _=y.slice(0,h),g=y.slice(h+2),b=s.value.get(_);if(!b)return[];const d=b.languages.get(g);if(!d)return[];const w=[];for(const m of d.dialects.values())w.push({key:`${y}__${m.key}`,label:`${g}, ${m.key}`,dialectOnly:m.key,color:zo(_),peopleGroupCount:m.peopleGroupCount,population:m.population,kind:"dialect",languageKey:g,familyKey:_,pinIds:m.pinIds,coords:m.coords,originalLabels:Array.from(m.originalLabels)});return w.sort(Pi),w}const p=oe(()=>{const y=s.value,h=[];for(const _ of y.values())for(const g of _.languages.values())h.push({key:`${_.key}__${g.key}`,label:g.key,color:zo(_.key),peopleGroupCount:g.peopleGroupCount,population:g.population,kind:g.clusterId?"cluster":"language",familyKey:_.key,clusterId:g.clusterId||void 0,pinIds:g.pinIds,coords:g.coords,hasDialects:g.dialects.size>0});return h.sort(Pi),h}),f=oe(()=>{const y=s.value,h=[];for(const _ of y.values())for(const g of _.languages.values())for(const b of g.dialects.values())h.push({key:`${_.key}__${g.key}__${b.key}`,label:`${g.key}, ${b.key}`,dialectOnly:b.key,color:zo(_.key),peopleGroupCount:b.peopleGroupCount,population:b.population,kind:"dialect",languageKey:g.key,familyKey:_.key,pinIds:b.pinIds,coords:b.coords,originalLabels:Array.from(b.originalLabels)});return h.sort(Pi),h});function x(y){let h=y;if(typeof y=="string"&&(h=l.value.find(g=>g.key===y),!h))return;const _={kind:h.kind,pinIds:h.pinIds||[],coords:h.coords||[]};h.kind==="family"&&(_.familyKey=h.label),h.kind==="language"&&(_.languageKey=h.label,_.familyKey=h.familyKey),h.kind==="dialect"&&(_.dialectKey=h.key,_.dialectOnly=h.dialectOnly||h.label,_.languageKey=h.languageKey,_.familyKey=h.familyKey,_.originalLabels=h.originalLabels||[]),h.kind==="cluster"&&(_.clusterId=h.clusterId),typeof window<"u"&&typeof window.CustomEvent=="function"&&window.dispatchEvent(new CustomEvent("legend:highlight",{detail:_}))}const S=oe(()=>{const y=s.value,h=[];for(const _ of y.values()){const g=zo(_.key),b=[];for(const w of _.languages.values()){w.key&&w.key!=="— Unknown —"&&b.push(w.key);for(const m of w.dialects.values())for(const k of m.originalLabels)k&&b.push(k)}const d={id:`fam:${_.key}`,label:_.key,color:g,count:_.peopleGroupCount,pop:_.population,filter:b.length>0?["any",["==",["get","languageFamily"],_.key],["in",["get","language"],["literal",Array.from(new Set(b))]]]:["==",["get","languageFamily"],_.key],children:[]};for(const w of _.languages.values()){const m=w.key,k={id:`lang:${_.key}__${m}`,label:m,color:g,count:w.peopleGroupCount,pop:w.population,filter:["any",["==",["get","language"],m],["==",["slice",["get","language"],0,m.length+1],m+","],["in"," "+m,["get","language"]]],children:[]};for(const E of w.dialects.values()){const L=Array.from(E.originalLabels);k.children.push({id:`dial:${_.key}__${m}__${E.key}`,label:`${m}, ${E.key}`,color:g,count:E.peopleGroupCount,pop:E.population,filter:L.length===1?["==",["get","language"],L[0]]:["in",["get","language"],["literal",L]],originalLabels:L,children:[]})}d.children.push(k)}h.push(d)}return h.sort((_,g)=>g.pop-_.pop||g.count-_.count),h});return{rows:l,languageRows:p,dialectRows:f,langTree:S,toggle:a,isExpanded:n,setExpansionToOnly:r,childRowsFor:c,dialectRowsFor:u,highlight:x}}const rw=[];function sw(){const e=sn(er.RESOURCE);return e&&e.propertyKey==="resourceType"?e:null}function iw(){const e=sn(er.DOXA_REGION);return e&&e.propertyKey==="doxaRegion"?e.palette||{}:{}}function lw(){const e=sn(er.AFFINITY_BLOCK);if(!e||e.propertyKey!=="affinityBlock")return{};const t=e.names||{},o=e.palette||{},n={};for(const a of Object.keys(t))n[t[a]]=o[a]||"#999";return n}function ha(e,t){const a=Object.values(e.sources||{}).flatMap(r=>(r==null?void 0:r.features)||[]).filter(r=>t(r.properties||r));return{count:a.length,population:a.reduce((r,s)=>{var l;const i=s.properties||s;return r+(parseInt(i.population||((l=i._raw)==null?void 0:l.Population)||0)||0)},0)}}const oh=100;function cw(e){var o;let t=(e==null?void 0:e.peopleCommitted)??((o=e==null?void 0:e._raw)==null?void 0:o.people_committed)??(e==null?void 0:e.people_committed)??null;return t&&typeof t=="object"&&(t=t.value??t.label??0),Number(t)||0}function Zc(e){return t=>{const o=cw(t);return e==="fullPrayer"?o>=oh:e==="hasPrayer"?o>0&&o0||typeof t=="string"&&parseInt(t,10)>0}function ah(e){var o;const t=e.adoptionStatus??((o=e._raw)==null?void 0:o.adopted_by_churches);return t===!0||t===1||t==="1"||t==="true"||typeof t=="number"&&t>0||typeof t=="string"&&parseInt(t,10)>0}const uw={prayer:"legend.title.prayer",engagement:"legend.title.engagement",adoption:"legend.title.adoption","language-families":"legend.title.languageFamilies","language-family":"legend.title.languageFamilies","doxa-regions":"legend.title.doxaRegions","doxa-region":"legend.title.doxaRegions","affinity-blocs":"legend.title.affinityBlocs",countries:"legend.title.countries",country:"legend.title.countries","gospel-resources":"legend.title.gospelResources",religion:"legend.title.religion"};function rr(e){return e==="doxa-region"?"doxa-regions":e==="country"?"countries":e}function dw(e){return e?e>=1e6?(e/1e6).toFixed(1)+"M":e>=1e3?(e/1e3).toFixed(1)+"K":e.toLocaleString():"0"}function pw(e){return(Number(e)||0).toLocaleString()}function Qr(e,t={}){const o=je("dataStore"),n=je("uiStore"),a=je("mapStore"),{t:r}=jt(),s=Wv();s.load();const i=oe(()=>{if(rr(e.value)==="religion")return"Religion";const _=uw[e.value];return _?r(_):""}),l=oe(()=>rr(e.value)==="affinity-blocs"?rw:[{key:"count",label:r("legend.columns.upgs"),width:48},{key:"population",label:r("legend.columns.population"),width:48}]),c=oe(()=>{const h=rr(e.value);return h==="prayer"?n.prayerFilter:h==="engagement"?n.engagementFilter:h==="adoption"?n.adoptionFilter:h==="language-families"?a.selectedFamily:h==="doxa-regions"?a.selectedRegion:h==="gospel-resources"?a.selectedResource:h==="religion"?n.religionFilter:null});function u(h){const _=rr(e.value);_==="prayer"?n.setPrayerFilter(n.prayerFilter===h?null:h):_==="engagement"?n.setEngagementFilter(n.engagementFilter===h?null:h):_==="adoption"?n.setAdoptionFilter(n.adoptionFilter===h?null:h):_==="language-families"?a.selectFamily(a.selectedFamily===h?null:h):_==="doxa-regions"?a.selectRegion(a.selectedRegion===h?null:h):_==="gospel-resources"?a.selectResource(a.selectedResource===h?null:h):_==="religion"&&n.setReligionFilter(n.religionFilter===h?null:h)}const p=oe(()=>{var _,g,b,d;const h=rr(e.value);if(h==="prayer"){const w=ha(o,Zc("noPrayer")),m=ha(o,Zc("hasPrayer")),k=ha(o,Zc("fullPrayer")),E=s.loaded.value,L=E?s.noPrayerCount():w.count,H=E?s.hasPrayerCount():m.count,K=E?s.fullPrayerCount():k.count;return[{key:"noPrayer",label:r("legend.prayer.needsPrayer"),color:fa.noPrayer,count:L,population:w.population,filterKey:"noPrayer",children:[{key:"hasPrayer",label:r("legend.prayer.hasPrayer"),color:fa.hasPrayer,count:H,population:m.population,filterKey:"hasPrayer"},{key:"fullPrayer",label:r("legend.prayer.fullPrayerCoverage"),color:fa.fullPrayer,count:K,population:k.population,filterKey:"fullPrayer"}]}]}if(h==="engagement"){const w=ha(o,k=>!nh(k)),m=ha(o,k=>nh(k));return[{key:"notEngaged",label:r("legend.engagement.needsEngagement"),color:wc.notEngaged,count:w.count,population:w.population,filterKey:"notEngaged",children:[{key:"hasEngagement",label:r("legend.engagement.hasEngagement"),color:wc.hasEngagement,count:m.count,population:m.population,filterKey:"hasEngagement"}]}]}if(h==="adoption"){const w=ha(o,k=>!ah(k)),m=ha(o,k=>ah(k));return[{key:"notAdopted",label:r("legend.adoption.needsAdoption"),color:cc.notAdopted,count:w.count,population:w.population,filterKey:"notAdopted",children:[{key:"hasAdoption",label:r("legend.adoption.hasAdoption"),color:cc.hasAdoption,count:m.count,population:m.population,filterKey:"hasAdoption"}]}]}if(h==="religion"){const w={},k=Object.values(o.sources||{}).flatMap(H=>(H==null?void 0:H.features)||[]);for(const H of k){const K=H.properties||H,J=K.religion||((g=(_=K._raw)==null?void 0:_.religion)==null?void 0:g.value)||((b=K._raw)==null?void 0:b.religion)||"",v=qr(J);w[v]||(w[v]={count:0,population:0}),w[v].count+=1,w[v].population+=parseInt(K.population||((d=K._raw)==null?void 0:d.Population)||0)||0}const E=new Set((t==null?void 0:t.excludeReligionFamilies)||[]);for(const H of E)delete w[H];return Object.keys(w).sort((H,K)=>H==="C"?-1:K==="C"?1:w[K].population-w[H].population).map(H=>({key:H,label:Mc(H)||"Unknown",color:xo[H]||"#94a3b8",count:w[H].count,population:w[H].population,filterKey:H,children:[]}))}if(h==="language-families")return(o.languageFamiliesData||[]).map(w=>({key:w.name,label:w.name,color:zo(w.name),count:w.count,population:w.population,filterKey:w.name,children:[]}));if(h==="language-family"){const m={value:Object.values(o.sources||{}).flatMap(E=>(E==null?void 0:E.features)||[])},{rows:k}=Yc(m);return k.value.map(E=>({key:E.key,label:E.label,color:E.color,count:E.peopleGroupCount,population:E.population,filterKey:E.key,children:[]}))}if(h==="doxa-regions"){const w=iw();return(o.doxaRegionsData||[]).map(m=>({key:m.name,label:m.name,color:w[m.name]||"#999",count:m.count,population:m.population,filterKey:m.name,children:[]}))}if(h==="gospel-resources"){const w=sw(),m=(w==null?void 0:w.palette)??{},k=(w==null?void 0:w.names)??{},E=o.resourcesData||[];return Object.keys(m).map(L=>{const H=E.find(K=>K.key===L);return{key:L,label:k[L]||L,color:m[L],count:(H==null?void 0:H.count)||0,population:(H==null?void 0:H.population)||0,filterKey:L,children:((H==null?void 0:H.children)||[]).map(K=>({key:K.key,label:K.name||K.key,color:K.color||m[L],count:K.count||0,population:K.population||0,filterKey:K.key}))}})}if(h==="affinity-blocs"){const w=lw();return Object.keys(w).sort().map(m=>({key:m,label:m,color:w[m],filterKey:m,children:[]}))}return[]});function f(h,_){return h.reduce((g,b)=>{var w;let d=b[_]||0;return(w=b.children)!=null&&w.length&&(d+=f(b.children,_)),g+d},0)}const x=oe(()=>f(p.value,"count")),S=oe(()=>f(p.value,"population")),y=oe(()=>{if(rr(e.value)!=="prayer")return null;const h=p.value[0];if(!h)return null;const _=(h.children||[]).find(k=>k.key==="hasPrayer"),g=(h.children||[]).find(k=>k.key==="fullPrayer"),b=Number(h.count)||0,d=Number(_==null?void 0:_.count)||0,w=Number(g==null?void 0:g.count)||0,m=(Number(_==null?void 0:_.population)||0)+(Number(g==null?void 0:g.population)||0);return{covered:d+w,total:x.value,coveredPopulation:m,totalPopulation:S.value,segments:[{key:"fullPrayer",label:(g==null?void 0:g.label)??r("legend.prayer.fullPrayerCoverage"),count:w,color:fa.fullPrayer},{key:"hasPrayer",label:(_==null?void 0:_.label)??r("legend.prayer.hasPrayer"),count:d,color:fa.hasPrayer},{key:"noPrayer",label:h.label,count:b,color:fa.noPrayer}]}});return{items:p,columns:l,title:i,activeFilter:c,setFilter:u,totalCount:x,totalPopulation:S,progress:y,fmtPop:dw,fmtCount:pw}}const Jc={default:"doxa",lists:[{id:"doxa",aliases:["2000","project-2000"],label:"Project 2000: DOXA's people groups",definition:"The people groups DOXA serves, as its live list gives them",source:"doxa",filter:null},{id:"unreached",aliases:["7000","project-7000"],label:"Project 7000: unreached people groups",definition:"IMB Lostness Priority 0-2 (Frontier, Pioneer or Expanding Unreached: under 2% evangelical)",source:"imb",filter:{lostness:[0,1,2]}},{id:"frontier",aliases:["4700","project-4700"],label:"Project 4700: frontier people groups",definition:"IMB Lostness Priority 0 (Frontier Unreached: 0.1% evangelical or less)",source:"imb",filter:{lostness:[0]}},{id:"frontier-500k",aliases:["700","project-700"],label:"Project 700: frontier people groups of 500,000 or more",definition:"IMB Lostness Priority 0 and Population of at least 500,000",source:"imb",filter:{lostness:[0],minPopulation:5e5}},{id:"unengaged",aliases:[],label:"Unengaged unreached people groups",definition:"IMB Lostness Priority 0-2 and Engagement Status Unengaged",source:"imb",filter:{lostness:[0,1,2],engagement:["Unengaged"]}}]},Li=Jc.default,Xc=new Map;for(const e of Jc.lists){Xc.set(e.id,e);for(const t of e.aliases||[])Xc.set(String(t).toLowerCase(),e)}function gw(e){return Xc.get(String(e??"").toLowerCase().trim())||null}function rh(e){let t=e;if(t&&typeof t=="object"&&"value"in t&&!("list"in t)&&!("profile"in t)&&(t=t.value),typeof t=="string")try{t=JSON.parse(t)}catch{t=null}return t&&typeof t=="object"?t:null}const sh=new Set;function fw(e){const t=rh(e),o=t==null?void 0:t.list,n=typeof location<"u"?new URLSearchParams(location.search).get("list"):null,a=typeof window<"u"?window.MAP_LIST:void 0,r=o||n||a||Li,s=gw(r);return s?s.id:(sh.has(r)||(sh.add(r),console.warn(`[list] unknown people-group list "${r}", showing "${Li}". Known: ${Jc.lists.map(i=>i.id).join(", ")}`)),Li)}const Ci=new Map;function hw(e,t){const o=`${lc(rh(t))}/people-groups/lists/${e}.json`;return Ci.has(o)||Ci.set(o,Wa(o).then(n=>{if(!n.ok)throw new Error(`HTTP ${n.status}`);return n.json()}).then(n=>new Set(Array.isArray(n==null?void 0:n.slugs)?n.slugs:[])).catch(n=>{throw Ci.delete(o),new Error(`list "${e}" membership ${o}: ${n.message}`)})),Ci.get(o)}async function ih(e,t,{key:o=n=>n==null?void 0:n.slug}={}){const n=fw(t);if(n===Li||!Array.isArray(e))return e;try{const a=await hw(n,t);return e.filter(r=>a.has(o(r)))}catch(a){return console.error(`[list] ${a.message}. Showing no people groups rather than the wrong list.`),[]}}class lh{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.profileConfig=t.profileConfig||null,this.cache=new Map,this.cacheEnabled=!0,this.cacheTTL=5*60*1e3}async init(){return this.sourcesConfig=ga,this.sourcesConfig}getActiveSourceId(){var t;return((t=this.sourcesConfig)==null?void 0:t.activeSource)||"doxa-csv"}getSourceConfig(t){var o,n;return(n=(o=this.sourcesConfig)==null?void 0:o.sources)==null?void 0:n[t]}async setActiveSource(t){const o=this.getSourceConfig(t);if(!o)throw new Error(`Source not found: ${t}`);if(this.activeSource=o,this.cacheEnabled&&this.cache.has(t)){const n=this.cache.get(t);return this.normalizedData=n.normalizedData,this.dataByUniqueId=n.dataByUniqueId,this.normalizedData}return o.type==="csv"?await this.loadCSVData(o):o.type==="api"?await this.loadAPIData(o):o.type==="rest-api"&&await this.loadRestApiData(o),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 o=[],n=[];let a="",r=!1,s=[],i=!0;for(let l=0;l0){if(s.push(a.trim()),a="",i)n.push(...s),i=!1;else if(s.length>1){const p={};n.forEach((f,x)=>{p[f]=s[x]||""}),o.push(p)}s=[]}}else a+=c}if((a||s.length>0)&&(s.push(a.trim()),!i&&s.length>1)){const l={};n.forEach((c,u)=>{l[c]=s[u]||""}),o.push(l)}return{headers:n,data:o}}async loadCSVData(t){try{const n=await(await fetch(this.baseUrl+t.path)).text(),{headers:a,data:r}=this.parseCSV(n);return this.rawData=r,this.validateFieldMappings(t.fieldMappings,a,t.name),this.normalizeData(t),this.normalizedData}catch(o){throw console.error("Failed to load CSV data:",o),o}}validateFieldMappings(t,o,n){const a=new Set(o.map(s=>s.trim())),r=[];for(const[s,i]of Object.entries(t||{}))if(Array.isArray(i))for(const l of i)a.has(l)||r.push({systemField:s,sourceField:l,isComposite:!0});else i&&!a.has(i)&&r.push({systemField:s,sourceField:i,isComposite:!1});r.length>0&&console.warn(`[DataSourceManager] ${n}: missing CSV columns:`,r)}async loadAPIData(t){try{const n=await(await fetch(t.url||t.endpoint)).json();return this.rawData=await ih(Array.isArray(n)?n:n.posts||n.data||n.peopleGroups||n.results||[],this.profileConfig),this.normalizeData(t),this.normalizedData}catch(o){throw console.error("Failed to load API data:",o),o}}async loadRestApiData(t){var l,c;const o=Uc(),n=((l=t.endpoints)==null?void 0:l.bulk)||"/api/people-groups/list",a=((c=t.defaultFields)==null?void 0:c.join(","))||"",r=[];a&&r.push(`fields=${a}`);const s={...t.queryParams||{}};this.locale&&(s.lang=this.locale);for(const[u,p]of Object.entries(s))r.push(`${u}=${encodeURIComponent(p)}`);const i=`${o}${n}?${r.join("&")}`;try{const u=await fetch(i);if(!u.ok)throw new Error(`HTTP ${u.status}: ${u.statusText}`);const p=u.headers.get("content-type")||"";if(!p.includes("application/json"))throw new Error(`API returned "${p}" instead of JSON. Server at ${o} may be down or misconfigured.`);const f=await u.json();return this.rawData=await ih(Array.isArray(f)?f:f.posts||f.data||f.results||[],this.profileConfig),this.normalizeData(t),this.normalizedData}catch(u){throw console.error(`[rest-api] Failed to load from ${t.id}:`,u),u}}normalizeData(t){const o=t.fieldMappings||{};this.normalizedData=[],this.dataByUniqueId=new Map;for(const n of this.rawData){const a={};for(const[l,c]of Object.entries(o))if(Array.isArray(c)){const u=c.map(p=>this.getFieldValue(n,p));a[l]=u.join("_")}else a[l]=this.getFieldValue(n,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 r=a.engagementStatus;r!=null&&(typeof r=="object"&&"value"in r?(a.engagementStatusLabel=r.label||r.value,a.engagementStatus=r.value==="engaged"):a.engagementStatus=r===!0||r===1||r==="1"||r==="true"||typeof r=="number"&&r>0||typeof r=="string"&&parseInt(r,10)>0);const s=a.adoptionStatus;s!=null&&(a.adoptionStatus=s===!0||s===1||s==="1"||s==="true"||typeof s=="object"&&!!(s!=null&&s.value)||typeof s=="number"&&s>0||typeof s=="string"&&parseInt(s,10)>0);const i=["doxaRegion","wagfRegion","wagfBlock","wagfMember","affinityBlock","cluster","peopleGroup","countryIso","religion","religionCode"];for(const l of i){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=n,this.normalizedData.push(a),this.dataByUniqueId.set(a.uniqueId,a)}this.rawData=null}getFieldValue(t,o){if(!o)return"";if(t[o]!==void 0)return t[o];const n=o.trim();if(t[n]!==void 0)return t[n];for(const a of Object.keys(t))if(a.trim()===n||a.includes(n)||n.includes(a.trim()))return t[a];return""}parsePopulation(t){if(!t)return 0;const o=String(t).replace(/,/g,"").trim(),n=parseInt(o,10);return isNaN(n)?0:n}getImageUrl(t,o){if(!o)return"";const n=o.placeholderUrl||"",a=t[o.useField];return a&&String(a).trim()&&!String(a).includes("NoImageAvailable")?a:n}getData(){return this.normalizedData}getByUniqueId(t){return this.dataByUniqueId.get(t)}getByCoordinates(t,o,n=1e-4){return this.normalizedData.find(a=>Math.abs(a.latitude-t)o.peopleGroupId===t)}getLanguageFamilies(){const t=new Set;return this.normalizedData.forEach(o=>{o.languageFamily&&t.add(o.languageFamily)}),Array.from(t).sort()}getDataByLanguageFamily(){const t={};return this.normalizedData.forEach(o=>{const n=o.languageFamily||"Unknown";t[n]||(t[n]=[]),t[n].push(o)}),t}getDataByRegion(){const t={};return this.normalizedData.forEach(o=>{const n=o.doxaRegion||"Unknown";t[n]||(t[n]=[]),t[n].push(o)}),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 lh;const mw="",bw=["data-covered","data-total","data-pct"],$w={class:"lpb-track"},_w=["data-span-pct"],yw=["data-seg","data-count","aria-label","onMouseenter","onFocus","onClick"],vw=["data-seg","data-count","aria-label"],ww=["aria-valuenow","aria-valuemax","aria-valuetext","aria-label","title"],ch=nn({__name:"LegendProgressBar",props:{covered:{type:Number,default:0},total:{type:Number,default:0},segments:{type:Array,default:()=>[]},isDark:{type:Boolean,default:!1},label:{type:String,default:""},fmtCount:{type:Function,default:e=>(Number(e)||0).toLocaleString()},compact:{type:Boolean,default:!1},stacked:{type:Boolean,default:!1},showText:{type:Boolean,default:!0}},emits:["select-segment"],setup(e,{emit:t}){const{t:o}=jt();Kt(` .lpb{position:relative;display:flex;align-items:center;gap:8px;min-width:0;width:100%;box-sizing:border-box;} @@ -441,7 +441,7 @@ @media (prefers-reduced-motion: reduce) { .legend-container, .legend-reopen, .legend-collapse-caret, .legend-collapse-caret svg { transition: none !important; animation: none !important; } } -`,"legend-component");const a=e;je("mapStore");const r=je("dataStore"),s=je("uiStore"),i=Cs(a,"legendType"),{items:l,columns:c,title:u,activeFilter:p,setFilter:f,totalCount:x,totalPopulation:S,progress:y,fmtPop:h,fmtCount:_}=Qr(i,Ei),g=je("normalizedPeopleGroups",null),b=oe(()=>{var A,I;if((A=g==null?void 0:g.value)!=null&&A.length)return g.value;const $=[];for(const F in r.sources){const W=r.sources[F];(I=W==null?void 0:W.features)!=null&&I.length&&$.push(...W.features)}return $}),d=je("mapId",null),w=oe(()=>s.isMobile),m=oe(()=>s.legendMode),k=oe(()=>s.selectedPeopleGroup),E=oe(()=>tu(b.value)),L=oe(()=>k.value?mh(E.value,k.value):[]),H=we(a.initiallyCollapsed);let K=null;const J=oe(()=>{var $;return m.value==="detail"&&k.value?(($=k.value.properties)==null?void 0:$.name)||n("legend.header.peopleGroupFallback"):H.value?n("legend.header.collapsed"):u.value});function v(){H.value=!H.value}Ue(m,($,A)=>{$==="detail"&&A!=="detail"&&H.value&&(H.value=!1)});function N($){f($)}return Jo(()=>{window.innerWidth<768&&(H.value=!0),K=$=>{var A;d&&((A=$.detail)!=null&&A.mapId)&&$.detail.mapId!==d||(H.value=!1)},window.addEventListener("dxm:openDesktopLegend",K)}),vo(()=>{K&&window.removeEventListener("dxm:openDesktopLegend",K)}),($,A)=>w.value?(re(),it(ge(o),{key:0,legendType:e.legendType,popupAction:e.popupAction,isDark:e.isDark,disableCollapse:e.disableCollapse},null,8,["legendType","popupAction","isDark","disableCollapse"])):H.value?(re(),he("button",{key:1,class:Ge(["legend-reopen",{"legend-reopen-light":!e.isDark}]),title:t("aria.expandLegend","Expand legend"),onClick:A[0]||(A[0]=I=>H.value=!1)},[A[2]||(A[2]=R("svg",{class:"legend-reopen-icon",width:"11",height:"11",viewBox:"0 0 12 12",fill:"none"},[R("path",{d:"M2 4h8M2 6h8M2 8h5",stroke:"currentColor","stroke-width":"1.4","stroke-linecap":"round"})],-1)),R("span",kk,ye(ge(u)),1),A[3]||(A[3]=R("svg",{class:"legend-reopen-caret",width:"8",height:"8",viewBox:"0 0 12 12",fill:"none"},[R("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],10,wk)):(re(),he("div",{key:2,class:Ge(["legend-container",{"legend-dark":e.isDark}])},[m.value==="detail"?(re(),he("span",xk,[ut(fh,{open:!H.value,t:ge(n),onToggle:v},null,8,["open","t"])])):Me("",!0),m.value==="detail"?(re(),he("button",{key:1,class:"detail-close-btn",onClick:A[1]||(A[1]=At(I=>ge(s).selectPeopleGroup(null),["stop"])),"aria-label":ge(n)("aria.backToLegend")},[...A[4]||(A[4]=[R("svg",{width:"18",height:"18",viewBox:"0 0 20 20",fill:"none"},[R("path",{d:"M15 5L5 15M5 5L15 15",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)])],8,Sk)):Me("",!0),R("div",{class:Ge(["legend-content",{"no-padding":ge(c).length>0}])},[m.value==="detail"&&k.value?(re(),he(et,{key:0},[ut(Qc,{peopleGroup:k.value,hideHeader:!0,dark:e.isDark,action:e.popupAction},null,8,["peopleGroup","dark","action"]),ut(es,{shared:L.value,dark:e.isDark},null,8,["shared","dark"])],64)):e.legendType==="language-family"?(re(),he(et,{key:1},[],64)):(re(),it(uh,{key:2,title:J.value,items:ge(l),columns:ge(c),activeFilter:ge(p),isDark:e.isDark,hideColumnHeader:!1,showFooter:!1,disableCollapse:!0,totalCount:ge(x),totalPopulation:ge(S),fmtPop:ge(h),fmtCount:ge(_),progress:ge(y),onFilterClick:N},{"title-caret":ho(()=>[ut(fh,{open:!H.value,t:ge(n),onToggle:v},null,8,["open","t"])]),_:1},8,["title","items","columns","activeFilter","isDark","totalCount","totalPopulation","fmtPop","fmtCount","progress"])),m.value!=="detail"?(re(),it(es,{key:3,dark:e.isDark},null,8,["dark"])):Me("",!0)],2)],2))}},[["styles",[vk]],["__scopeId","data-v-37990088"]]);function Pk(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 bh(e){const t=we(null),o=Ia({position:"fixed",inset:"0"}),n=()=>{var u,p;const r=t.value;if(!r)return;const s=Pk(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"}};Ue(e,r=>{r&&requestAnimationFrame(()=>{n(),requestAnimationFrame(n)})},{flush:"post"});const a=()=>{e.value&&n()};return typeof window<"u"&&window.addEventListener("resize",a),vo(()=>{typeof window<"u"&&window.removeEventListener("resize",a)}),{scrimRef:t,scrimStyle:o}}const Lk="",Ck={class:"lt-btn-group"},Tk=["title"],Ek={class:"lt-btn-text"},Mk=["title"],Rk={class:"lt-btn-group"},Fk=["title"],Nk={key:0,width:"12",height:"12",viewBox:"0 0 12 12"},Ik={class:"lt-btn-text"},Ok=["title"],Dk={style:{opacity:"0.7","font-weight":"400"}};function $h(e){return e==="doxa-regions"||e==="language-family"||e==="language-families"}const zk=nn({__name:"LegendTools",props:{legendType:{type:String,required:!0},isDark:{type:Boolean,default:!1}},emits:["legend-row-fly"],setup(e,{emit:t}){const o=(A,I)=>no(A)||I;Kt(` +`,"legend-component");const a=e;je("mapStore");const r=je("dataStore"),s=je("uiStore"),i=Cs(a,"legendType"),{items:l,columns:c,title:u,activeFilter:p,setFilter:f,totalCount:x,totalPopulation:S,progress:y,fmtPop:h,fmtCount:_}=Qr(i,Ei),g=je("normalizedPeopleGroups",null),b=oe(()=>{var A,I;if((A=g==null?void 0:g.value)!=null&&A.length)return g.value;const $=[];for(const F in r.sources){const W=r.sources[F];(I=W==null?void 0:W.features)!=null&&I.length&&$.push(...W.features)}return $}),d=je("mapId",null),w=oe(()=>s.isMobile),m=oe(()=>s.legendMode),k=oe(()=>s.selectedPeopleGroup),E=oe(()=>tu(b.value)),L=oe(()=>k.value?mh(E.value,k.value):[]),H=we(a.initiallyCollapsed);let K=null;const J=oe(()=>{var $;return m.value==="detail"&&k.value?(($=k.value.properties)==null?void 0:$.name)||n("legend.header.peopleGroupFallback"):H.value?n("legend.header.collapsed"):u.value});function v(){H.value=!H.value}Ue(m,($,A)=>{$==="detail"&&A!=="detail"&&H.value&&(H.value=!1)});function N($){f($)}return Jo(()=>{window.innerWidth<768&&(H.value=!0),K=$=>{var A;d&&((A=$.detail)!=null&&A.mapId)&&$.detail.mapId!==d||(H.value=!1)},window.addEventListener("dxm:openDesktopLegend",K)}),wo(()=>{K&&window.removeEventListener("dxm:openDesktopLegend",K)}),($,A)=>w.value?(re(),it(ge(o),{key:0,legendType:e.legendType,popupAction:e.popupAction,isDark:e.isDark,disableCollapse:e.disableCollapse},null,8,["legendType","popupAction","isDark","disableCollapse"])):H.value?(re(),he("button",{key:1,class:Ge(["legend-reopen",{"legend-reopen-light":!e.isDark}]),title:t("aria.expandLegend","Expand legend"),onClick:A[0]||(A[0]=I=>H.value=!1)},[A[2]||(A[2]=R("svg",{class:"legend-reopen-icon",width:"11",height:"11",viewBox:"0 0 12 12",fill:"none"},[R("path",{d:"M2 4h8M2 6h8M2 8h5",stroke:"currentColor","stroke-width":"1.4","stroke-linecap":"round"})],-1)),R("span",kk,ye(ge(u)),1),A[3]||(A[3]=R("svg",{class:"legend-reopen-caret",width:"8",height:"8",viewBox:"0 0 12 12",fill:"none"},[R("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],10,wk)):(re(),he("div",{key:2,class:Ge(["legend-container",{"legend-dark":e.isDark}])},[m.value==="detail"?(re(),he("span",xk,[ut(fh,{open:!H.value,t:ge(n),onToggle:v},null,8,["open","t"])])):Me("",!0),m.value==="detail"?(re(),he("button",{key:1,class:"detail-close-btn",onClick:A[1]||(A[1]=At(I=>ge(s).selectPeopleGroup(null),["stop"])),"aria-label":ge(n)("aria.backToLegend")},[...A[4]||(A[4]=[R("svg",{width:"18",height:"18",viewBox:"0 0 20 20",fill:"none"},[R("path",{d:"M15 5L5 15M5 5L15 15",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)])],8,Sk)):Me("",!0),R("div",{class:Ge(["legend-content",{"no-padding":ge(c).length>0}])},[m.value==="detail"&&k.value?(re(),he(et,{key:0},[ut(Qc,{peopleGroup:k.value,hideHeader:!0,dark:e.isDark,action:e.popupAction},null,8,["peopleGroup","dark","action"]),ut(es,{shared:L.value,dark:e.isDark},null,8,["shared","dark"])],64)):e.legendType==="language-family"?(re(),he(et,{key:1},[],64)):(re(),it(uh,{key:2,title:J.value,items:ge(l),columns:ge(c),activeFilter:ge(p),isDark:e.isDark,hideColumnHeader:!1,showFooter:!1,disableCollapse:!0,totalCount:ge(x),totalPopulation:ge(S),fmtPop:ge(h),fmtCount:ge(_),progress:ge(y),onFilterClick:N},{"title-caret":mo(()=>[ut(fh,{open:!H.value,t:ge(n),onToggle:v},null,8,["open","t"])]),_:1},8,["title","items","columns","activeFilter","isDark","totalCount","totalPopulation","fmtPop","fmtCount","progress"])),m.value!=="detail"?(re(),it(es,{key:3,dark:e.isDark},null,8,["dark"])):Me("",!0)],2)],2))}},[["styles",[vk]],["__scopeId","data-v-37990088"]]);function Pk(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 bh(e){const t=we(null),o=Ia({position:"fixed",inset:"0"}),n=()=>{var u,p;const r=t.value;if(!r)return;const s=Pk(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"}};Ue(e,r=>{r&&requestAnimationFrame(()=>{n(),requestAnimationFrame(n)})},{flush:"post"});const a=()=>{e.value&&n()};return typeof window<"u"&&window.addEventListener("resize",a),wo(()=>{typeof window<"u"&&window.removeEventListener("resize",a)}),{scrimRef:t,scrimStyle:o}}const Lk="",Ck={class:"lt-btn-group"},Tk=["title"],Ek={class:"lt-btn-text"},Mk=["title"],Rk={class:"lt-btn-group"},Fk=["title"],Nk={key:0,width:"12",height:"12",viewBox:"0 0 12 12"},Ik={class:"lt-btn-text"},Ok=["title"],Dk={style:{opacity:"0.7","font-weight":"400"}};function $h(e){return e==="doxa-regions"||e==="language-family"||e==="language-families"}const zk=nn({__name:"LegendTools",props:{legendType:{type:String,required:!0},isDark:{type:Boolean,default:!1}},emits:["legend-row-fly"],setup(e,{emit:t}){const o=(A,I)=>no(A)||I;Kt(` .lt-root{position:absolute;top:14px;inset-inline-start:calc(10px + var(--map-legend-width,340px) / 2);transform:translateX(-50%);z-index:1050;display:flex;gap:8px;align-items:center;flex-wrap:nowrap;background:transparent;pointer-events:auto;} .lt-root:dir(rtl){transform:translateX(50%);} @media(max-width:767px){ @@ -478,7 +478,7 @@ @media (prefers-reduced-motion: reduce) { .legend-tools, .lt-btn, .lt-panel { transition: none !important; animation: none !important; } } -`,"legend-tools");const n=e,a=t,{t:r}=jt(),s=je("mapStore"),i=Cs(n,"legendType"),{items:l,setFilter:c}=Qr(i,Ei),u=we(!1),p=we(!1),{scrimRef:f,scrimStyle:x}=bh(p),S=we(0),y=we(null),h=oe(()=>s.isAutoFlying),_=oe(()=>s.isGuidedTourActive),g=oe(()=>s.flySpeed),b=oe(()=>s.showClusters),d=oe(()=>$h(n.legendType)),w=oe(()=>({slow:r("buttons.speedOption.slow"),normal:r("buttons.speedOption.normal"),fast:r("buttons.speedOption.fast")})[g.value]||r("buttons.speedOption.normal")),m=oe(()=>({slow:8e3,normal:5e3,fast:3e3})[g.value]||5e3);function k(){u.value=!u.value,u.value&&(p.value=!1)}function E(A){s.setFlySpeed(A),setTimeout(()=>{u.value=!1},300)}function L(){s.toggleClusters()}function H(A){s.setClusterMode(A),setTimeout(()=>{p.value=!1},500)}function K(){h.value?v():(_.value,J())}function J(){l.value.length!==0&&(S.value=0,s.startAutoFly([]),$(),N())}function v(){y.value&&(clearTimeout(y.value),y.value=null),s.stopAutoFly()}function N(){y.value=setTimeout(()=>{h.value&&(S.value=(S.value+1)%l.value.length,$(),N())},m.value)}function $(){const A=l.value[S.value];A&&(c(A.filterKey),a("legend-row-fly",{index:S.value,filterKey:A.filterKey}))}return vo(()=>{y.value&&clearTimeout(y.value)}),(A,I)=>d.value?(re(),he("div",{key:0,class:Ge(["lt-root",{"lt-dark":e.isDark}])},[R("div",Ck,[R("button",{class:Ge(["lt-btn",{active:h.value}]),onClick:At(K,["stop"]),title:h.value?ge(r)("buttons.stopFlight"):ge(r)("buttons.startAutoFly")},[I[8]||(I[8]=R("span",{class:"lt-btn-icon"},"✈️",-1)),R("span",Ek,ye(h.value?"Stop":"Fly"),1)],10,Tk),R("button",{class:"lt-side-btn",onClick:At(k,["stop"]),title:ge(r)("buttons.speedLabel")+" "+w.value},[...I[9]||(I[9]=[R("span",{class:"lt-side-icon"},"⏱️",-1)])],8,Mk),u.value?(re(),he("div",{key:0,class:"lt-popup",onClick:I[3]||(I[3]=At(()=>{},["stop"]))},[R("div",{class:Ge(["lt-popup-row",{active:g.value==="slow"}]),onClick:I[0]||(I[0]=F=>E("slow"))},ye(ge(r)("buttons.speedOption.slow")),3),R("div",{class:Ge(["lt-popup-row",{active:g.value==="normal"}]),onClick:I[1]||(I[1]=F=>E("normal"))},ye(ge(r)("buttons.speedOption.normal")),3),R("div",{class:Ge(["lt-popup-row",{active:g.value==="fast"}]),onClick:I[2]||(I[2]=F=>E("fast"))},ye(ge(r)("buttons.speedOption.fast")),3)])):Me("",!0)]),R("div",Rk,[R("button",{class:Ge(["lt-btn",{active:b.value}]),onClick:At(L,["stop"]),title:ge(r)("buttons.showClusters")},[R("span",{class:Ge(["lt-checkbox",{checked:b.value}])},[b.value?(re(),he("svg",Nk,[...I[10]||(I[10]=[R("path",{d:"M2 6l3 3 5-6",stroke:"#3498db","stroke-width":"2",fill:"none"},null,-1)])])):Me("",!0)],2),R("span",Ik,ye(o("controls.clusters","Clusters")),1)],10,Fk),R("button",{class:"lt-side-btn",onClick:I[4]||(I[4]=At(F=>p.value=!p.value,["stop"])),title:ge(r)("buttons.clusterSettings")},[...I[11]||(I[11]=[R("span",{class:"lt-side-icon"},"⚙️",-1)])],8,Ok),p.value?(re(),he("div",{key:0,class:"lt-popup",onClick:I[6]||(I[6]=At(()=>{},["stop"]))},[R("div",{class:"lt-popup-row active",onClick:I[5]||(I[5]=F=>H("mst"))},[I[13]||(I[13]=R("span",{class:"lt-popup-icon"},"⌬",-1)),R("span",null,[Bt(ye(o("controls.mst_full_name","Minimum Spanning Tree")),1),I[12]||(I[12]=R("br",null,null,-1)),R("small",Dk,ye(o("controls.mst_hint","click a legend row to cluster only that group")),1)])])])):Me("",!0),p.value?(re(),he("div",{key:1,ref_key:"scrimRef",ref:f,style:Ct(ge(x)),class:"lt-overlay",onClick:I[7]||(I[7]=At(F=>p.value=!1,["stop"]))},null,4)):Me("",!0)])],2)):Me("",!0)}},[["styles",[Lk]],["__scopeId","data-v-caf4c2a3"]]),jk={__name:"MapToolbar",props:{hasGeocoder:{type:Boolean,default:!0},controls:{type:String,default:"round"}},setup(e){const t=e,o=we(null);return zt("mapToolbar",{el:o,shape:oe(()=>t.controls==="square"?"square":"round")}),Kt(` +`,"legend-tools");const n=e,a=t,{t:r}=jt(),s=je("mapStore"),i=Cs(n,"legendType"),{items:l,setFilter:c}=Qr(i,Ei),u=we(!1),p=we(!1),{scrimRef:f,scrimStyle:x}=bh(p),S=we(0),y=we(null),h=oe(()=>s.isAutoFlying),_=oe(()=>s.isGuidedTourActive),g=oe(()=>s.flySpeed),b=oe(()=>s.showClusters),d=oe(()=>$h(n.legendType)),w=oe(()=>({slow:r("buttons.speedOption.slow"),normal:r("buttons.speedOption.normal"),fast:r("buttons.speedOption.fast")})[g.value]||r("buttons.speedOption.normal")),m=oe(()=>({slow:8e3,normal:5e3,fast:3e3})[g.value]||5e3);function k(){u.value=!u.value,u.value&&(p.value=!1)}function E(A){s.setFlySpeed(A),setTimeout(()=>{u.value=!1},300)}function L(){s.toggleClusters()}function H(A){s.setClusterMode(A),setTimeout(()=>{p.value=!1},500)}function K(){h.value?v():(_.value,J())}function J(){l.value.length!==0&&(S.value=0,s.startAutoFly([]),$(),N())}function v(){y.value&&(clearTimeout(y.value),y.value=null),s.stopAutoFly()}function N(){y.value=setTimeout(()=>{h.value&&(S.value=(S.value+1)%l.value.length,$(),N())},m.value)}function $(){const A=l.value[S.value];A&&(c(A.filterKey),a("legend-row-fly",{index:S.value,filterKey:A.filterKey}))}return wo(()=>{y.value&&clearTimeout(y.value)}),(A,I)=>d.value?(re(),he("div",{key:0,class:Ge(["lt-root",{"lt-dark":e.isDark}])},[R("div",Ck,[R("button",{class:Ge(["lt-btn",{active:h.value}]),onClick:At(K,["stop"]),title:h.value?ge(r)("buttons.stopFlight"):ge(r)("buttons.startAutoFly")},[I[8]||(I[8]=R("span",{class:"lt-btn-icon"},"✈️",-1)),R("span",Ek,ye(h.value?"Stop":"Fly"),1)],10,Tk),R("button",{class:"lt-side-btn",onClick:At(k,["stop"]),title:ge(r)("buttons.speedLabel")+" "+w.value},[...I[9]||(I[9]=[R("span",{class:"lt-side-icon"},"⏱️",-1)])],8,Mk),u.value?(re(),he("div",{key:0,class:"lt-popup",onClick:I[3]||(I[3]=At(()=>{},["stop"]))},[R("div",{class:Ge(["lt-popup-row",{active:g.value==="slow"}]),onClick:I[0]||(I[0]=F=>E("slow"))},ye(ge(r)("buttons.speedOption.slow")),3),R("div",{class:Ge(["lt-popup-row",{active:g.value==="normal"}]),onClick:I[1]||(I[1]=F=>E("normal"))},ye(ge(r)("buttons.speedOption.normal")),3),R("div",{class:Ge(["lt-popup-row",{active:g.value==="fast"}]),onClick:I[2]||(I[2]=F=>E("fast"))},ye(ge(r)("buttons.speedOption.fast")),3)])):Me("",!0)]),R("div",Rk,[R("button",{class:Ge(["lt-btn",{active:b.value}]),onClick:At(L,["stop"]),title:ge(r)("buttons.showClusters")},[R("span",{class:Ge(["lt-checkbox",{checked:b.value}])},[b.value?(re(),he("svg",Nk,[...I[10]||(I[10]=[R("path",{d:"M2 6l3 3 5-6",stroke:"#3498db","stroke-width":"2",fill:"none"},null,-1)])])):Me("",!0)],2),R("span",Ik,ye(o("controls.clusters","Clusters")),1)],10,Fk),R("button",{class:"lt-side-btn",onClick:I[4]||(I[4]=At(F=>p.value=!p.value,["stop"])),title:ge(r)("buttons.clusterSettings")},[...I[11]||(I[11]=[R("span",{class:"lt-side-icon"},"⚙️",-1)])],8,Ok),p.value?(re(),he("div",{key:0,class:"lt-popup",onClick:I[6]||(I[6]=At(()=>{},["stop"]))},[R("div",{class:"lt-popup-row active",onClick:I[5]||(I[5]=F=>H("mst"))},[I[13]||(I[13]=R("span",{class:"lt-popup-icon"},"⌬",-1)),R("span",null,[Bt(ye(o("controls.mst_full_name","Minimum Spanning Tree")),1),I[12]||(I[12]=R("br",null,null,-1)),R("small",Dk,ye(o("controls.mst_hint","click a legend row to cluster only that group")),1)])])])):Me("",!0),p.value?(re(),he("div",{key:1,ref_key:"scrimRef",ref:f,style:Ct(ge(x)),class:"lt-overlay",onClick:I[7]||(I[7]=At(F=>p.value=!1,["stop"]))},null,4)):Me("",!0)])],2)):Me("",!0)}},[["styles",[Lk]],["__scopeId","data-v-caf4c2a3"]]),jk={__name:"MapToolbar",props:{hasGeocoder:{type:Boolean,default:!0},controls:{type:String,default:"round"}},setup(e){const t=e,o=we(null);return zt("mapToolbar",{el:o,shape:oe(()=>t.controls==="square"?"square":"round")}),Kt(` @media print { .map-toolbar, .mapboxgl-ctrl-group, @@ -563,12 +563,12 @@ @media (prefers-reduced-motion: reduce) { .mcb-btn { transition: none !important; animation: none !important; } } -`,"map-control-button"),(t,o)=>(re(),he("button",{class:Ge(["mcb",{dark:e.isDark,active:e.active,"mcb--square":e.shape==="square"}]),title:e.title,"aria-label":e.title||void 0,disabled:e.disabled,onClick:o[0]||(o[0]=n=>t.$emit("click"))},[ia(t.$slots,"default")],10,Bk))}},Gk={__name:"ZoomInButton",props:{map:{type:Object,default:null},isDark:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(e){const{t}=jt(),o=e;function n(){var a;o.disabled||(a=o.map)==null||a.zoomIn()}return(a,r)=>(re(),it(ma,{"data-control":"zoom-in","is-dark":e.isDark,disabled:e.disabled,title:ge(t)("buttons.zoomIn"),onClick:n},{default:ho(()=>[...r[0]||(r[0]=[R("span",{style:{"font-size":"20px","line-height":"1","font-weight":"600"}},"+",-1)])]),_:1},8,["is-dark","disabled","title"]))}},Hk={__name:"ZoomOutButton",props:{map:{type:Object,default:null},isDark:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(e){const{t}=jt(),o=e;function n(){var a;o.disabled||(a=o.map)==null||a.zoomOut()}return(a,r)=>(re(),it(ma,{"data-control":"zoom-out","is-dark":e.isDark,disabled:e.disabled,title:ge(t)("buttons.zoomOut"),onClick:n},{default:ho(()=>[...r[0]||(r[0]=[R("span",{style:{"font-size":"22px","line-height":"1","font-weight":"600"}},"−",-1)])]),_:1},8,["is-dark","disabled","title"]))}},Uk={__name:"LocationButton",props:{map:{type:Object,default:null},isDark:{type:Boolean,default:!1},center:{type:Array,default:()=>[20,10]},zoom:{type:Number,default:1.8},userZoom:{type:Number,default:10}},setup(e){const{t}=jt(),o=e;function n(){var r;(r=o.map)==null||r.flyTo({center:o.center,zoom:o.zoom,duration:1200})}function a(){if(o.map){if(typeof navigator>"u"||!navigator.geolocation){n();return}navigator.geolocation.getCurrentPosition(r=>{const{longitude:s,latitude:i}=r.coords;Number.isFinite(s)&&Number.isFinite(i)?o.map.flyTo({center:[s,i],zoom:o.userZoom,duration:1500}):n()},()=>n(),{enableHighAccuracy:!1,timeout:5e3,maximumAge:6e4})}}return(r,s)=>(re(),it(ma,{"data-control":"location","is-dark":e.isDark,title:ge(t)("buttons.resetView"),onClick:a},{default:ho(()=>[...s[0]||(s[0]=[R("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor"},[R("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z"})],-1)])]),_:1},8,["is-dark","title"]))}},Wk={key:0,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 29 29",fill:"currentColor"},Kk={key:1,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 29 29",fill:"currentColor"},qk={__name:"FullscreenButton",props:{mapContainer:{type:Object,default:null},isDark:{type:Boolean,default:!1}},emits:["change"],setup(e,{emit:t}){const{t:o}=jt(),n=e,a=t,r=we(!1);let s=null,i=null,l=null,c=null,u=null,p=null,f=null,x=null,S=null,y=null,h=null,_=0,g=0,b=null,d=null;function w(){if(typeof document>"u")return!1;const $=typeof navigator<"u"&&navigator.userAgent||"";return/iPad|iPhone|iPod/.test($)||$.includes("Mac")&&typeof document<"u"&&"ontouchend"in document?!1:!!(document.fullscreenEnabled||document.webkitFullscreenEnabled)}function m(){var $,A,I;return((I=(A=($=n.mapContainer)==null?void 0:$.getRootNode)==null?void 0:A.call($))==null?void 0:I.host)??null}function k(){var A,I;const $=(I=(A=n.mapContainer)==null?void 0:A.getRootNode)==null?void 0:I.call(A);return document.fullscreenElement||document.webkitFullscreenElement||($&&$ instanceof ShadowRoot?$.fullscreenElement:null)||null}function E($){const A=$.requestFullscreen||$.webkitRequestFullscreen;if(!A)return Promise.reject(new Error("Fullscreen API unavailable"));const I=A.call($);return I&&typeof I.then=="function"?I:Promise.resolve()}function L(){const $=document.exitFullscreen||document.webkitExitFullscreen;if(!$)return Promise.reject(new Error("Fullscreen API unavailable"));const A=$.call(document);return A&&typeof A.then=="function"?A:Promise.resolve()}function H(){const $=m();if(!$)return!1;if(l=$,i=$.style.cssText,$.style.position="fixed",$.style.top="0",$.style.left="0",$.style.right="0",$.style.bottom="0",$.style.width="100vw",$.style.height="100vh",$.style.height="100dvh",$.style.zIndex="2147483647",$.style.margin="0",$.style.borderRadius="0",$.style.touchAction="pan-x pan-y pinch-zoom",typeof document<"u"){_=window.scrollY||window.pageYOffset||0,g=window.scrollX||window.pageXOffset||0;const A=document.body,I=document.documentElement;c=A?A.style.overflow:null,u=I?I.style.overflow:null,p=A?A.style.position:null,f=A?A.style.top:null,x=A?A.style.left:null,S=A?A.style.width:null,y=A?A.style.touchAction:null,h=I?I.style.touchAction:null,I&&(I.style.overflow="hidden",I.style.touchAction="none"),A&&(A.style.overflow="hidden",A.style.position="fixed",A.style.top=`-${_}px`,A.style.left=`-${g}px`,A.style.width="100%",A.style.touchAction="none"),b=F=>{if(!l)return;const W=F.target;W&&(W===l||l.contains&&l.contains(W))||F.cancelable&&F.preventDefault()},d=F=>{if(!l)return;const W=F.target;W&&(W===l||l.contains&&l.contains(W))||F.cancelable&&F.preventDefault()},document.addEventListener("touchmove",b,{passive:!1,capture:!0}),document.addEventListener("wheel",d,{passive:!1,capture:!0})}return!0}function K(){if(l){if(l.style.cssText=i||"",l=null,i=null,typeof document<"u"){const $=document.body,A=document.documentElement;$&&($.style.overflow=c??"",$.style.position=p??"",$.style.top=f??"",$.style.left=x??"",$.style.width=S??"",$.style.touchAction=y??""),A&&(A.style.overflow=u??"",A.style.touchAction=h??""),b&&(document.removeEventListener("touchmove",b,{capture:!0}),b=null),d&&(document.removeEventListener("wheel",d,{capture:!0}),d=null),typeof window<"u"&&(_||g)&&window.scrollTo(g,_)}c=null,u=null,p=null,f=null,x=null,S=null,y=null,h=null,_=0,g=0}}function J(){typeof window>"u"||window.requestAnimationFrame(()=>{window.dispatchEvent(new Event("resize"))})}function v(){if(!w()){r.value?(K(),r.value=!1,a("change",!1)):H()&&(r.value=!0,a("change",!0)),J();return}if(k())L().then(()=>{r.value=!1,a("change",!1)}).catch(()=>{});else{const A=m()??document.documentElement;E(A).then(()=>{r.value=!0,a("change",!0)}).catch(()=>{E(document.documentElement).then(()=>{r.value=!0,a("change",!0)}).catch(()=>{})})}}function N(){r.value=!!k(),a("change",r.value)}return Jo(()=>{var A,I;document.addEventListener("fullscreenchange",N),document.addEventListener("webkitfullscreenchange",N);const $=(I=(A=n.mapContainer)==null?void 0:A.getRootNode)==null?void 0:I.call(A);$ instanceof ShadowRoot&&(s=$,$.addEventListener("fullscreenchange",N),$.addEventListener("webkitfullscreenchange",N))}),vo(()=>{document.removeEventListener("fullscreenchange",N),document.removeEventListener("webkitfullscreenchange",N),s&&(s.removeEventListener("fullscreenchange",N),s.removeEventListener("webkitfullscreenchange",N),s=null),l&&K()}),($,A)=>(re(),it(ma,{"data-control":"fullscreen","is-dark":e.isDark,active:r.value,title:ge(o)("buttons.toggleFullscreen"),onClick:v},{default:ho(()=>[r.value?(re(),he("svg",Kk,[...A[1]||(A[1]=[R("path",{d:"M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z"},null,-1)])])):(re(),he("svg",Wk,[...A[0]||(A[0]=[R("path",{d:"M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z"},null,-1)])]))]),_:1},8,["is-dark","active","title"]))}},Vk={style:{"font-size":"16px","line-height":"1"}},Yk={__name:"ThemeToggleButton",props:{isDark:{type:Boolean,default:!1}},emits:["toggle"],setup(e){const{t}=jt();return(o,n)=>ge(Qy)?(re(),it(ma,{key:0,"data-control":"theme","is-dark":e.isDark,title:e.isDark?ge(t)("buttons.switchToLightMode"):ge(t)("buttons.switchToDarkMode"),onClick:n[0]||(n[0]=a=>o.$emit("toggle"))},{default:ho(()=>[R("span",Vk,ye(e.isDark?"☀️":"🌙"),1)]),_:1},8,["is-dark","title"])):Me("",!0)}},Zk=["blocs","clusters","peopleGroups","families","languages","dialects","people","places","regions","wagfBlocks","religions"],Jk={"people-groups":["blocs","clusters","peopleGroups","people","places","families","languages","dialects","regions","religions"],language:["families","languages","dialects","people","blocs","clusters","peopleGroups","places","regions","religions"],regions:["regions","wagfBlocks","places","blocs","clusters","peopleGroups","people","families","languages","dialects","religions"],religion:["religions","people","blocs","clusters","peopleGroups","places","families","languages","dialects","regions"]};function Xk(e){return Jk[e]||Zk}const Qk={blocs:3,clusters:3,peopleGroups:3,families:3,languages:3,dialects:3,people:5,places:2,regions:3,wagfBlocks:3,religions:2},Mi=["peopleGroups","people","places","languages","religions"],ex={regions:[...Mi,"regions","wagfBlocks"],"people-groups":[...Mi,"blocs","clusters"],language:[...Mi,"dialects","families"],religion:[...Mi]},tx=100,ox=50,nx=25,ax=10,ou=5,_h=20,rx=[[/ sign language$/i,"Sign Language"]];function sx(e){if(!e||typeof e!="string")return"";const t=e.indexOf(",");return t>0?e.slice(0,t).trim():e.trim()}function ix(e){if(!e||typeof e!="string")return null;const t=e.indexOf(",");return t>=0&&e.slice(t+1).trim()||null}function lx(e){if(!e||typeof e!="string")return null;const t=e.split(",").map(n=>n.trim()).filter(Boolean);if(t.length>=2){const n=[...t].reverse().join(" ");if(pt[n])return pt[n];if(t.length>=3){const a=[t[1],t[0]].join(" ");if(pt[a])return pt[a]}}if(pt[e])return pt[e];const o=e.replace(/\s*\(.*?\)\s*$/,"").trim();if(o!==e&&pt[o])return pt[o];for(const[n,a]of rx)if(n.test(e))return a;return null}function yh(e,t){return{id:`doxa-section-header-${nu(e)}`,place_name:e,text:e,center:[0,0],place_type:["doxa-section-header"],geometry:{type:"Point",coordinates:[0,0]},properties:{headerLabel:e,isHeader:!0,isAllDataSection:!!t},feature:null}}function nu(e){return String(e||"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}function Xe(e){return e==null?"":typeof e=="string"?e.toLowerCase():typeof e=="object"&&"label"in e?String(e.label||"").toLowerCase():typeof e=="object"&&"value"in e?String(e.value||"").toLowerCase():String(e).toLowerCase()}function Ri(e){return e==null?"":typeof e=="string"?e:typeof e=="object"?e.label||e.value||"":String(e)}function cx(e){var o,n,a,r,s;if(!Array.isArray(e))return[];const t=[];for(const i of e){if(!i)continue;const l=Number(i.latitude),c=Number(i.longitude);if(!Number.isFinite(l)||!Number.isFinite(c))continue;const u=Xe(i.name)+" "+Xe(i.displayName)+" "+Xe(i.alternateName),p=Xe(i.countryName)+" "+Xe(i.country)+" "+Xe(i.countryIso)+" "+Xe(i.countryIsoLabel),f=Xe(i.religionName)+" "+Xe(i.religion)+" "+Xe(i.religionLabel)+" "+Xe(i.religionCode),x=Xe(i.language)+" "+Xe(i.languageFamily)+" "+Xe(i.languageCode),S=Xe(i.doxaRegion)+" "+Xe(i.wagfRegion)+" "+Xe(i.wagfBlock),y=Xe(i.affinityBlock)+" "+Xe(i.affinityBlockLabel)+" "+Xe((o=i._raw)==null?void 0:o.rop1),h=Xe(i.cluster)+" "+Xe(i.clusterLabel)+" "+Xe((n=i._raw)==null?void 0:n.imb_reg_of_people_2),_=Xe(i.peopleGroup)+" "+Xe(i.peopleGroupLabel)+" "+Xe((a=i._raw)==null?void 0:a.imb_reg_of_people_25),g=((r=i._raw)==null?void 0:r.primary_language)??((s=i._raw)==null?void 0:s.PrimaryLanguage),b=g&&(typeof g=="object"?g.label||g.value:g)||Ri(i.language)||Ri(i.primaryLanguage)||"",d=sx(b),w=ix(b);t.push({feature:i,nameHay:u,countryHay:p,religionHay:f,languageHay:x,regionHay:S,haystack:u+" "+p+" "+f+" "+x+" "+S+" "+y+" "+h+" "+_,blocHay:y,clusterHay:h,pgHay:_,lat:l,lng:c,familyDerived:lx(b)||null,languageLabel:b,baseLang:d,dialectLabel:w})}return t}function ux(e){const t=(o,n,a)=>{const r=new Map;for(const s of e){const i=o(s);if(!i)continue;const l=r.get(i);if(l)l.count+=1,l.lngSum+=s.lng,l.latSum+=s.lat,l.memberIds.push(String(s.feature.uniqueId??s.feature.id??s.feature.slug??"")),l.minLng=Math.min(l.minLng,s.lng),l.maxLng=Math.max(l.maxLng,s.lng),l.minLat=Math.min(l.minLat,s.lat),l.maxLat=Math.max(l.maxLat,s.lat),a&&a(l,s,!1);else{const c={key:i,label:Ri(n(s))||i,count:1,lngSum:s.lng,latSum:s.lat,minLng:s.lng,maxLng:s.lng,minLat:s.lat,maxLat:s.lat,memberIds:[String(s.feature.uniqueId??s.feature.id??s.feature.slug??"")]};a&&a(c,s,!0),r.set(i,c)}}for(const s of r.values())s.lng=s.lngSum/s.count,s.lat=s.latSum/s.count;return Array.from(r.values())};return{countries:t(o=>Xe(o.feature.countryName)||Xe(o.feature.country)||Xe(o.feature.countryIso),o=>o.feature.countryName||o.feature.country||o.feature.countryIso||""),families:t(o=>Xe(o.familyDerived),o=>o.familyDerived||""),languages:t(o=>Xe(o.baseLang),o=>o.baseLang||""),dialects:t(o=>o.dialectLabel?`${Xe(o.baseLang)}__${Xe(o.dialectLabel)}`:"",o=>`${o.baseLang}, ${o.dialectLabel}`,(o,n,a)=>{a?(o.originalLabels=new Set([n.languageLabel]),o.familyDerived=n.familyDerived||"",o.baseLang=n.baseLang||"",o.dialectLabel=n.dialectLabel||""):(o.originalLabels.add(n.languageLabel),!o.familyDerived&&n.familyDerived&&(o.familyDerived=n.familyDerived))}),religions:t(o=>{var n,a,r;return qr(o.feature.religion||((a=(n=o.feature._raw)==null?void 0:n.religion)==null?void 0:a.value)||((r=o.feature._raw)==null?void 0:r.religion)||"")},o=>{var n,a,r;return Mc(qr(o.feature.religion||((a=(n=o.feature._raw)==null?void 0:n.religion)==null?void 0:a.value)||((r=o.feature._raw)==null?void 0:r.religion)||""))||"Unknown"}),regions:t(o=>Xe(o.feature.doxaRegion)||Xe(o.feature.wagfRegion),o=>{var n,a;return o.feature.wagfRegionLabel||o.feature.doxaRegionLabel||((a=(n=o.feature._raw)==null?void 0:n.wagf_region)==null?void 0:a.label)||o.feature.doxaRegion||o.feature.wagfRegion||""}),wagfBlocks:t(o=>Xe(o.feature.wagfBlock),o=>{var n,a;return o.feature.wagfBlockLabel||((a=(n=o.feature._raw)==null?void 0:n.wagf_block)==null?void 0:a.label)||o.feature.wagfBlock||""}),blocs:t(o=>Xe(o.feature.affinityBlockLabel)||Xe(o.feature.affinityBlock),o=>o.feature.affinityBlockLabel||o.feature.affinityBlock||"",(o,n,a)=>{a&&(o.blocCode=n.feature.affinityBlock||"")}),clusters:t(o=>{const n=o.feature.affinityBlock||"",a=o.feature.cluster||"";return a?`${n}__${a}`:""},o=>o.feature.clusterLabel||o.feature.cluster||"",(o,n,a)=>{a&&(o.blocCode=n.feature.affinityBlock||"",o.blocLabel=n.feature.affinityBlockLabel||"",o.clusterCode=n.feature.cluster||"")}),peopleGroups:t(o=>Xe(o.feature.peopleGroup)||Xe(o.feature.peopleGroupLabel),o=>o.feature.peopleGroupLabel||o.feature.peopleGroup||o.feature.name||"",(o,n,a)=>{a&&(o.blocCode=n.feature.affinityBlock||"",o.blocLabel=n.feature.affinityBlockLabel||"",o.clusterCode=n.feature.cluster||"",o.clusterLabel=n.feature.clusterLabel||"",o.peopleGroupCode=n.feature.peopleGroup||"")})}}function dx(e){const t=e.feature,o=t.name||t.displayName||t.slug||"Unknown",n=t.countryName||t.country||t.countryIso||"",a=t.religionName||t.religion||"",r=t.slug||t.uniqueId||nu(o+"-"+n),s=[e.lng,e.lat],i=[n,a].filter(Boolean).join(" — "),l=i?`${o}, ${i}`:o;return{id:`doxa-pg-${r}`,place_name:l,text:o,center:s,place_type:["people-group"],geometry:{type:"Point",coordinates:s},properties:{slug:r,...t},feature:t}}function ln(e,t){let o,n;switch(e){case"country":o="doxa-country",n="doxa-country-";break;case"region":o="doxa-region",n="doxa-region-";break;case"language-family":o="doxa-language-family",n="doxa-language-family-";break;case"language":o="doxa-language",n="doxa-language-";break;case"dialect":o="doxa-dialect",n="doxa-dialect-";break;case"religion":o="doxa-religion",n="doxa-religion-";break;case"affinity-bloc":o="doxa-affinity-bloc",n="doxa-affinity-bloc-";break;case"cluster":o="doxa-cluster",n="doxa-cluster-";break;case"people-group":o="doxa-people-group",n="doxa-people-group-";break;default:o="doxa",n="doxa-"}const a=Ri(t.label)||t.key,r=nu(t.key),s=[t.lng,t.lat],l={"affinity-bloc":"Affinity Block",cluster:"Cluster","people-group":"PG","pg-in-country":"PGIC"}[e],c=l?`${a} (${l}) · ${t.count}`:`${a} (${t.count})`,u=t.originalLabels?Array.from(t.originalLabels):void 0,p=e==="dialect"?{familyDerived:t.familyDerived||"",baseLang:t.baseLang||"",dialectLabel:t.dialectLabel||""}:null;return{id:`${n}${r}`,place_name:c,text:a,center:s,bbox:[t.minLng,t.minLat,t.maxLng,t.maxLat],place_type:[o],geometry:{type:"Point",coordinates:s},properties:{slug:r,doxaAggregate:e,count:t.count,label:a,memberIds:t.memberIds,bounds:[t.minLng,t.minLat,t.maxLng,t.maxLat],...u?{originalLabels:u}:{},...p||{},...e==="affinity-bloc"?{blocCode:t.blocCode||""}:{},...e==="cluster"?{blocCode:t.blocCode||"",blocLabel:t.blocLabel||"",clusterCode:t.clusterCode||""}:{},...e==="people-group"?{blocCode:t.blocCode||"",blocLabel:t.blocLabel||"",clusterCode:t.clusterCode||"",clusterLabel:t.clusterLabel||"",peopleGroupCode:t.peopleGroupCode||""}:{}},feature:null}}function px(e={}){const{dataStore:t,dataSourceId:o,getActiveFilter:n,getActiveContext:a}=e,{t:r}=jt(),s=oe(()=>{var p,f;if(!t||!t.sources)return[];if(o&&((p=t.sources[o])!=null&&p.features))return t.sources[o].features;for(const x of Object.keys(t.sources)){const S=t.sources[x];if((f=S==null?void 0:S.features)!=null&&f.length)return S.features}return[]}),i=oe(()=>cx(s.value)),l=oe(()=>ux(i.value));function c(p){const f=String(p||"").trim().toLowerCase(),x={people:[],places:[],regions:[],wagfBlocks:[],families:[],languages:[],dialects:[],religions:[],blocs:[],clusters:[],peopleGroups:[]};if(f.length<2)return x;const S=f.split(/[\s,;]+/).filter(Boolean);if(!S.length)return x;const y=i.value;if(!y.length)return x;const h=l.value,_=[];for(const A of y){let I=!0;for(const W of S)if(!A.haystack.includes(W)){I=!1;break}if(!I)continue;let F=0;S.some(W=>A.nameHay.includes(W))&&(F+=tx),S.some(W=>A.countryHay.includes(W))&&(F+=ox),S.some(W=>A.religionHay.includes(W))&&(F+=nx),S.some(W=>A.languageHay.includes(W))&&(F+=ax),_.push({entry:A,score:F})}_.sort((A,I)=>I.score-A.score);const g=_.slice(0,ou).map(A=>dx(A.entry)),b=A=>A.filter(I=>S.every(F=>I.key.includes(F)||Xe(I.label).includes(F))).sort((I,F)=>F.count-I.count).slice(0,ou),d=b(h.countries).map(A=>ln("country",A)),w=b(h.regions).map(A=>ln("region",A)),m=b(h.wagfBlocks).map(A=>ln("region",A)),k=b(h.families).map(A=>ln("language-family",A)),E=b(h.languages).map(A=>ln("language",A)),L=b(h.dialects).map(A=>ln("dialect",A)),H=b(h.religions).map(A=>ln("religion",A)),K=b(h.blocs).map(A=>ln("affinity-bloc",A));let J=b(h.clusters).map(A=>ln("cluster",A)),v=b(h.peopleGroups).map(A=>ln("people-group",A));const N=new Set(K.map(A=>Xe(A.text)));J=J.filter(A=>!N.has(Xe(A.text)));const $=new Set(J.map(A=>Xe(A.text)));return v=v.filter(A=>!N.has(Xe(A.text))&&!$.has(Xe(A.text))),{people:g,places:d,regions:w,wagfBlocks:m,families:k,languages:E,dialects:L,religions:H,blocs:K,clusters:J,peopleGroups:v}}function u(p){const f=typeof n=="function"?n():null,x=typeof a=="function"?a():null,S=c(p),y=Xk(x),h=ex[x],_=h?Object.fromEntries(h.filter(k=>S[k]).map(k=>[k,S[k]])):S,g=y.flatMap(k=>_[k]||[]);if(!(f!=null&&f.key)||!g.length)return g.slice(0,_h);const b=[];for(const k of S.people){const E=i.value.find(H=>H.feature===k.feature);let L=!1;E&&(f.kind==="family"?L=(E.familyDerived||"").toLowerCase()===f.key.toLowerCase():f.kind==="language"&&(L=E.languageLabel.toLowerCase()===f.key.toLowerCase())),L&&b.push(k)}const d=[],w=f.key;b.length&&(d.push(yh(r("search.sections.within",{selection:w}),!1)),d.push(...b.slice(0,ou)));const m=y.flatMap(k=>(_[k]||[]).slice(0,Qk[k]??3)).map(k=>({...k,properties:{...k.properties,_allDataSection:!0}}));return d.push(yh(r("search.sections.allData"),!0)),d.push(...m),d.slice(0,_h+8)}return{search:u,searchGrouped:c,index:i,aggregates:l}}const gx={__name:"GeocoderComponent",props:{mapInstance:{type:Object,required:!1,default:null},accessToken:{type:String,required:!0},provider:{type:String,default:"mapbox"},isDark:{type:Boolean,default:!1},standalone:{type:Boolean,default:!1},placeholder:{type:String,default:""},dataSourceId:{type:String,default:""},activeContext:{type:String,default:""}},emits:["result","people-group-result","aggregate-result","clear","error"],setup(e,{expose:t,emit:o}){function n(F){return F+F.replace(/mapboxgl/g,"maplibregl")}Kt(n('.mapboxgl-ctrl-geocoder--input,.mapboxgl-ctrl-geocoder input[type="text"],.mapboxgl-ctrl-geocoder input[type="search"]{font-size:16px !important;line-height:1.3;}'),"geocoder-ios-zoom-fix"),Kt(n(".mapboxgl-ctrl-geocoder--icon-loading{display:none !important;}"),"geocoder-hide-loading"),Kt(n(".mapboxgl-ctrl-geocoder{height:35px!important;min-height:35px!important;box-sizing:border-box!important;}.mapboxgl-ctrl-geocoder--input{height:35px!important;min-height:35px!important;box-sizing:border-box!important;padding-top:0!important;padding-bottom:0!important;line-height:35px!important;}.mapboxgl-ctrl-geocoder--icon-search{top:50%!important;transform:translateY(-50%)!important;margin-top:0!important;inset-inline-start:7px!important;}"),"geocoder-height-35"),Kt(n(".mapboxgl-ctrl-geocoder{width:100%!important;max-width:100%!important;min-width:0!important;}@media(max-width:767px){.dg-search-band{top:0!important;left:0!important;right:0!important;width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box!important;padding:9px 14px!important;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,0.10);}.dg-search-band--dark{background:#3b463d;box-shadow:0 1px 4px rgba(0,0,0,0.35);}.dg-search-band .mapboxgl-ctrl,.dg-search-band .maplibregl-ctrl{margin:0!important;float:none!important;}}.mapboxgl-ctrl-geocoder{border-radius:999px!important;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,0.15)!important;transition:box-shadow .12s,border-color .12s;}.mapboxgl-ctrl-geocoder:focus-within{box-shadow:0 2px 8px rgba(0,0,0,0.15),0 0 0 3px rgba(59,70,61,0.18)!important;}.mapboxgl-ctrl-geocoder--input{border-radius:999px!important;font-size:13px!important;}.mapboxgl-ctrl-geocoder--input::placeholder{font-size:12px!important;}.mapboxgl-ctrl-geocoder--button{display:none!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;margin:0!important;padding:0!important;width:24px!important;height:24px!important;background:transparent!important;border:none!important;box-shadow:none!important;}.mapboxgl-ctrl-geocoder:has(.mapboxgl-ctrl-geocoder--input:not(:placeholder-shown)) .mapboxgl-ctrl-geocoder--button{display:block!important;}.mapboxgl-ctrl-geocoder--button .mapboxgl-ctrl-geocoder--icon-close{position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;margin:0!important;width:16px!important;height:16px!important;}.mapboxgl-ctrl-geocoder--suggestions,.mapboxgl-ctrl-geocoder .suggestions{z-index:1200!important;position:absolute;max-height:60vh!important;overflow-y:auto!important;}.geocoder-dark.mapboxgl-ctrl-geocoder,.dsm-dark .mapboxgl-ctrl-geocoder{background:#4e594f!important;border:1px solid rgba(255,255,255,0.14)!important;box-shadow:0 2px 8px rgba(0,0,0,0.4)!important;}.geocoder-dark.mapboxgl-ctrl-geocoder:focus-within,.dsm-dark .mapboxgl-ctrl-geocoder:focus-within{box-shadow:0 2px 8px rgba(0,0,0,0.4),0 0 0 3px rgba(115,161,127,0.22)!important;}.geocoder-dark .mapboxgl-ctrl-geocoder--input,.dsm-dark .mapboxgl-ctrl-geocoder--input{color:#F3F3F1!important;background:transparent!important;}.geocoder-dark .mapboxgl-ctrl-geocoder--input::placeholder,.dsm-dark .mapboxgl-ctrl-geocoder--input::placeholder{color:rgba(243,243,241,0.65)!important;}.geocoder-dark .mapboxgl-ctrl-geocoder--icon,.dsm-dark .mapboxgl-ctrl-geocoder .mapboxgl-ctrl-geocoder--icon{fill:rgba(243,243,241,0.75)!important;}.geocoder-dark .mapboxgl-ctrl-geocoder--button,.dsm-dark .mapboxgl-ctrl-geocoder--button{background:transparent!important;}")+`/* ★ REDUCED MOTION, OWNED BY THIS COMPONENT. A page-level rule cannot reach into a shadow root, +`,"map-control-button"),(t,o)=>(re(),he("button",{class:Ge(["mcb",{dark:e.isDark,active:e.active,"mcb--square":e.shape==="square"}]),title:e.title,"aria-label":e.title||void 0,disabled:e.disabled,onClick:o[0]||(o[0]=n=>t.$emit("click"))},[ia(t.$slots,"default")],10,Bk))}},Gk={__name:"ZoomInButton",props:{map:{type:Object,default:null},isDark:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(e){const{t}=jt(),o=e;function n(){var a;o.disabled||(a=o.map)==null||a.zoomIn()}return(a,r)=>(re(),it(ma,{"data-control":"zoom-in","is-dark":e.isDark,disabled:e.disabled,title:ge(t)("buttons.zoomIn"),onClick:n},{default:mo(()=>[...r[0]||(r[0]=[R("span",{style:{"font-size":"20px","line-height":"1","font-weight":"600"}},"+",-1)])]),_:1},8,["is-dark","disabled","title"]))}},Hk={__name:"ZoomOutButton",props:{map:{type:Object,default:null},isDark:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(e){const{t}=jt(),o=e;function n(){var a;o.disabled||(a=o.map)==null||a.zoomOut()}return(a,r)=>(re(),it(ma,{"data-control":"zoom-out","is-dark":e.isDark,disabled:e.disabled,title:ge(t)("buttons.zoomOut"),onClick:n},{default:mo(()=>[...r[0]||(r[0]=[R("span",{style:{"font-size":"22px","line-height":"1","font-weight":"600"}},"−",-1)])]),_:1},8,["is-dark","disabled","title"]))}},Uk={__name:"LocationButton",props:{map:{type:Object,default:null},isDark:{type:Boolean,default:!1},center:{type:Array,default:()=>[20,10]},zoom:{type:Number,default:1.8},userZoom:{type:Number,default:10}},setup(e){const{t}=jt(),o=e;function n(){var r;(r=o.map)==null||r.flyTo({center:o.center,zoom:o.zoom,duration:1200})}function a(){if(o.map){if(typeof navigator>"u"||!navigator.geolocation){n();return}navigator.geolocation.getCurrentPosition(r=>{const{longitude:s,latitude:i}=r.coords;Number.isFinite(s)&&Number.isFinite(i)?o.map.flyTo({center:[s,i],zoom:o.userZoom,duration:1500}):n()},()=>n(),{enableHighAccuracy:!1,timeout:5e3,maximumAge:6e4})}}return(r,s)=>(re(),it(ma,{"data-control":"location","is-dark":e.isDark,title:ge(t)("buttons.resetView"),onClick:a},{default:mo(()=>[...s[0]||(s[0]=[R("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor"},[R("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z"})],-1)])]),_:1},8,["is-dark","title"]))}},Wk={key:0,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 29 29",fill:"currentColor"},Kk={key:1,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 29 29",fill:"currentColor"},qk={__name:"FullscreenButton",props:{mapContainer:{type:Object,default:null},isDark:{type:Boolean,default:!1}},emits:["change"],setup(e,{emit:t}){const{t:o}=jt(),n=e,a=t,r=we(!1);let s=null,i=null,l=null,c=null,u=null,p=null,f=null,x=null,S=null,y=null,h=null,_=0,g=0,b=null,d=null;function w(){if(typeof document>"u")return!1;const $=typeof navigator<"u"&&navigator.userAgent||"";return/iPad|iPhone|iPod/.test($)||$.includes("Mac")&&typeof document<"u"&&"ontouchend"in document?!1:!!(document.fullscreenEnabled||document.webkitFullscreenEnabled)}function m(){var $,A,I;return((I=(A=($=n.mapContainer)==null?void 0:$.getRootNode)==null?void 0:A.call($))==null?void 0:I.host)??null}function k(){var A,I;const $=(I=(A=n.mapContainer)==null?void 0:A.getRootNode)==null?void 0:I.call(A);return document.fullscreenElement||document.webkitFullscreenElement||($&&$ instanceof ShadowRoot?$.fullscreenElement:null)||null}function E($){const A=$.requestFullscreen||$.webkitRequestFullscreen;if(!A)return Promise.reject(new Error("Fullscreen API unavailable"));const I=A.call($);return I&&typeof I.then=="function"?I:Promise.resolve()}function L(){const $=document.exitFullscreen||document.webkitExitFullscreen;if(!$)return Promise.reject(new Error("Fullscreen API unavailable"));const A=$.call(document);return A&&typeof A.then=="function"?A:Promise.resolve()}function H(){const $=m();if(!$)return!1;if(l=$,i=$.style.cssText,$.style.position="fixed",$.style.top="0",$.style.left="0",$.style.right="0",$.style.bottom="0",$.style.width="100vw",$.style.height="100vh",$.style.height="100dvh",$.style.zIndex="2147483647",$.style.margin="0",$.style.borderRadius="0",$.style.touchAction="pan-x pan-y pinch-zoom",typeof document<"u"){_=window.scrollY||window.pageYOffset||0,g=window.scrollX||window.pageXOffset||0;const A=document.body,I=document.documentElement;c=A?A.style.overflow:null,u=I?I.style.overflow:null,p=A?A.style.position:null,f=A?A.style.top:null,x=A?A.style.left:null,S=A?A.style.width:null,y=A?A.style.touchAction:null,h=I?I.style.touchAction:null,I&&(I.style.overflow="hidden",I.style.touchAction="none"),A&&(A.style.overflow="hidden",A.style.position="fixed",A.style.top=`-${_}px`,A.style.left=`-${g}px`,A.style.width="100%",A.style.touchAction="none"),b=F=>{if(!l)return;const W=F.target;W&&(W===l||l.contains&&l.contains(W))||F.cancelable&&F.preventDefault()},d=F=>{if(!l)return;const W=F.target;W&&(W===l||l.contains&&l.contains(W))||F.cancelable&&F.preventDefault()},document.addEventListener("touchmove",b,{passive:!1,capture:!0}),document.addEventListener("wheel",d,{passive:!1,capture:!0})}return!0}function K(){if(l){if(l.style.cssText=i||"",l=null,i=null,typeof document<"u"){const $=document.body,A=document.documentElement;$&&($.style.overflow=c??"",$.style.position=p??"",$.style.top=f??"",$.style.left=x??"",$.style.width=S??"",$.style.touchAction=y??""),A&&(A.style.overflow=u??"",A.style.touchAction=h??""),b&&(document.removeEventListener("touchmove",b,{capture:!0}),b=null),d&&(document.removeEventListener("wheel",d,{capture:!0}),d=null),typeof window<"u"&&(_||g)&&window.scrollTo(g,_)}c=null,u=null,p=null,f=null,x=null,S=null,y=null,h=null,_=0,g=0}}function J(){typeof window>"u"||window.requestAnimationFrame(()=>{window.dispatchEvent(new Event("resize"))})}function v(){if(!w()){r.value?(K(),r.value=!1,a("change",!1)):H()&&(r.value=!0,a("change",!0)),J();return}if(k())L().then(()=>{r.value=!1,a("change",!1)}).catch(()=>{});else{const A=m()??document.documentElement;E(A).then(()=>{r.value=!0,a("change",!0)}).catch(()=>{E(document.documentElement).then(()=>{r.value=!0,a("change",!0)}).catch(()=>{})})}}function N(){r.value=!!k(),a("change",r.value)}return Jo(()=>{var A,I;document.addEventListener("fullscreenchange",N),document.addEventListener("webkitfullscreenchange",N);const $=(I=(A=n.mapContainer)==null?void 0:A.getRootNode)==null?void 0:I.call(A);$ instanceof ShadowRoot&&(s=$,$.addEventListener("fullscreenchange",N),$.addEventListener("webkitfullscreenchange",N))}),wo(()=>{document.removeEventListener("fullscreenchange",N),document.removeEventListener("webkitfullscreenchange",N),s&&(s.removeEventListener("fullscreenchange",N),s.removeEventListener("webkitfullscreenchange",N),s=null),l&&K()}),($,A)=>(re(),it(ma,{"data-control":"fullscreen","is-dark":e.isDark,active:r.value,title:ge(o)("buttons.toggleFullscreen"),onClick:v},{default:mo(()=>[r.value?(re(),he("svg",Kk,[...A[1]||(A[1]=[R("path",{d:"M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z"},null,-1)])])):(re(),he("svg",Wk,[...A[0]||(A[0]=[R("path",{d:"M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z"},null,-1)])]))]),_:1},8,["is-dark","active","title"]))}},Vk={style:{"font-size":"16px","line-height":"1"}},Yk={__name:"ThemeToggleButton",props:{isDark:{type:Boolean,default:!1}},emits:["toggle"],setup(e){const{t}=jt();return(o,n)=>ge(Qy)?(re(),it(ma,{key:0,"data-control":"theme","is-dark":e.isDark,title:e.isDark?ge(t)("buttons.switchToLightMode"):ge(t)("buttons.switchToDarkMode"),onClick:n[0]||(n[0]=a=>o.$emit("toggle"))},{default:mo(()=>[R("span",Vk,ye(e.isDark?"☀️":"🌙"),1)]),_:1},8,["is-dark","title"])):Me("",!0)}},Zk=["blocs","clusters","peopleGroups","families","languages","dialects","people","places","regions","wagfBlocks","religions"],Jk={"people-groups":["blocs","clusters","peopleGroups","people","places","families","languages","dialects","regions","religions"],language:["families","languages","dialects","people","blocs","clusters","peopleGroups","places","regions","religions"],regions:["regions","wagfBlocks","places","blocs","clusters","peopleGroups","people","families","languages","dialects","religions"],religion:["religions","people","blocs","clusters","peopleGroups","places","families","languages","dialects","regions"]};function Xk(e){return Jk[e]||Zk}const Qk={blocs:3,clusters:3,peopleGroups:3,families:3,languages:3,dialects:3,people:5,places:2,regions:3,wagfBlocks:3,religions:2},Mi=["peopleGroups","people","places","languages","religions"],ex={regions:[...Mi,"regions","wagfBlocks"],"people-groups":[...Mi,"blocs","clusters"],language:[...Mi,"dialects","families"],religion:[...Mi]},tx=100,ox=50,nx=25,ax=10,ou=5,_h=20,rx=[[/ sign language$/i,"Sign Language"]];function sx(e){if(!e||typeof e!="string")return"";const t=e.indexOf(",");return t>0?e.slice(0,t).trim():e.trim()}function ix(e){if(!e||typeof e!="string")return null;const t=e.indexOf(",");return t>=0&&e.slice(t+1).trim()||null}function lx(e){if(!e||typeof e!="string")return null;const t=e.split(",").map(n=>n.trim()).filter(Boolean);if(t.length>=2){const n=[...t].reverse().join(" ");if(pt[n])return pt[n];if(t.length>=3){const a=[t[1],t[0]].join(" ");if(pt[a])return pt[a]}}if(pt[e])return pt[e];const o=e.replace(/\s*\(.*?\)\s*$/,"").trim();if(o!==e&&pt[o])return pt[o];for(const[n,a]of rx)if(n.test(e))return a;return null}function yh(e,t){return{id:`doxa-section-header-${nu(e)}`,place_name:e,text:e,center:[0,0],place_type:["doxa-section-header"],geometry:{type:"Point",coordinates:[0,0]},properties:{headerLabel:e,isHeader:!0,isAllDataSection:!!t},feature:null}}function nu(e){return String(e||"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}function Xe(e){return e==null?"":typeof e=="string"?e.toLowerCase():typeof e=="object"&&"label"in e?String(e.label||"").toLowerCase():typeof e=="object"&&"value"in e?String(e.value||"").toLowerCase():String(e).toLowerCase()}function Ri(e){return e==null?"":typeof e=="string"?e:typeof e=="object"?e.label||e.value||"":String(e)}function cx(e){var o,n,a,r,s;if(!Array.isArray(e))return[];const t=[];for(const i of e){if(!i)continue;const l=Number(i.latitude),c=Number(i.longitude);if(!Number.isFinite(l)||!Number.isFinite(c))continue;const u=Xe(i.name)+" "+Xe(i.displayName)+" "+Xe(i.alternateName),p=Xe(i.countryName)+" "+Xe(i.country)+" "+Xe(i.countryIso)+" "+Xe(i.countryIsoLabel),f=Xe(i.religionName)+" "+Xe(i.religion)+" "+Xe(i.religionLabel)+" "+Xe(i.religionCode),x=Xe(i.language)+" "+Xe(i.languageFamily)+" "+Xe(i.languageCode),S=Xe(i.doxaRegion)+" "+Xe(i.wagfRegion)+" "+Xe(i.wagfBlock),y=Xe(i.affinityBlock)+" "+Xe(i.affinityBlockLabel)+" "+Xe((o=i._raw)==null?void 0:o.rop1),h=Xe(i.cluster)+" "+Xe(i.clusterLabel)+" "+Xe((n=i._raw)==null?void 0:n.imb_reg_of_people_2),_=Xe(i.peopleGroup)+" "+Xe(i.peopleGroupLabel)+" "+Xe((a=i._raw)==null?void 0:a.imb_reg_of_people_25),g=((r=i._raw)==null?void 0:r.primary_language)??((s=i._raw)==null?void 0:s.PrimaryLanguage),b=g&&(typeof g=="object"?g.label||g.value:g)||Ri(i.language)||Ri(i.primaryLanguage)||"",d=sx(b),w=ix(b);t.push({feature:i,nameHay:u,countryHay:p,religionHay:f,languageHay:x,regionHay:S,haystack:u+" "+p+" "+f+" "+x+" "+S+" "+y+" "+h+" "+_,blocHay:y,clusterHay:h,pgHay:_,lat:l,lng:c,familyDerived:lx(b)||null,languageLabel:b,baseLang:d,dialectLabel:w})}return t}function ux(e){const t=(o,n,a)=>{const r=new Map;for(const s of e){const i=o(s);if(!i)continue;const l=r.get(i);if(l)l.count+=1,l.lngSum+=s.lng,l.latSum+=s.lat,l.memberIds.push(String(s.feature.uniqueId??s.feature.id??s.feature.slug??"")),l.minLng=Math.min(l.minLng,s.lng),l.maxLng=Math.max(l.maxLng,s.lng),l.minLat=Math.min(l.minLat,s.lat),l.maxLat=Math.max(l.maxLat,s.lat),a&&a(l,s,!1);else{const c={key:i,label:Ri(n(s))||i,count:1,lngSum:s.lng,latSum:s.lat,minLng:s.lng,maxLng:s.lng,minLat:s.lat,maxLat:s.lat,memberIds:[String(s.feature.uniqueId??s.feature.id??s.feature.slug??"")]};a&&a(c,s,!0),r.set(i,c)}}for(const s of r.values())s.lng=s.lngSum/s.count,s.lat=s.latSum/s.count;return Array.from(r.values())};return{countries:t(o=>Xe(o.feature.countryName)||Xe(o.feature.country)||Xe(o.feature.countryIso),o=>o.feature.countryName||o.feature.country||o.feature.countryIso||""),families:t(o=>Xe(o.familyDerived),o=>o.familyDerived||""),languages:t(o=>Xe(o.baseLang),o=>o.baseLang||""),dialects:t(o=>o.dialectLabel?`${Xe(o.baseLang)}__${Xe(o.dialectLabel)}`:"",o=>`${o.baseLang}, ${o.dialectLabel}`,(o,n,a)=>{a?(o.originalLabels=new Set([n.languageLabel]),o.familyDerived=n.familyDerived||"",o.baseLang=n.baseLang||"",o.dialectLabel=n.dialectLabel||""):(o.originalLabels.add(n.languageLabel),!o.familyDerived&&n.familyDerived&&(o.familyDerived=n.familyDerived))}),religions:t(o=>{var n,a,r;return qr(o.feature.religion||((a=(n=o.feature._raw)==null?void 0:n.religion)==null?void 0:a.value)||((r=o.feature._raw)==null?void 0:r.religion)||"")},o=>{var n,a,r;return Mc(qr(o.feature.religion||((a=(n=o.feature._raw)==null?void 0:n.religion)==null?void 0:a.value)||((r=o.feature._raw)==null?void 0:r.religion)||""))||"Unknown"}),regions:t(o=>Xe(o.feature.doxaRegion)||Xe(o.feature.wagfRegion),o=>{var n,a;return o.feature.wagfRegionLabel||o.feature.doxaRegionLabel||((a=(n=o.feature._raw)==null?void 0:n.wagf_region)==null?void 0:a.label)||o.feature.doxaRegion||o.feature.wagfRegion||""}),wagfBlocks:t(o=>Xe(o.feature.wagfBlock),o=>{var n,a;return o.feature.wagfBlockLabel||((a=(n=o.feature._raw)==null?void 0:n.wagf_block)==null?void 0:a.label)||o.feature.wagfBlock||""}),blocs:t(o=>Xe(o.feature.affinityBlockLabel)||Xe(o.feature.affinityBlock),o=>o.feature.affinityBlockLabel||o.feature.affinityBlock||"",(o,n,a)=>{a&&(o.blocCode=n.feature.affinityBlock||"")}),clusters:t(o=>{const n=o.feature.affinityBlock||"",a=o.feature.cluster||"";return a?`${n}__${a}`:""},o=>o.feature.clusterLabel||o.feature.cluster||"",(o,n,a)=>{a&&(o.blocCode=n.feature.affinityBlock||"",o.blocLabel=n.feature.affinityBlockLabel||"",o.clusterCode=n.feature.cluster||"")}),peopleGroups:t(o=>Xe(o.feature.peopleGroup)||Xe(o.feature.peopleGroupLabel),o=>o.feature.peopleGroupLabel||o.feature.peopleGroup||o.feature.name||"",(o,n,a)=>{a&&(o.blocCode=n.feature.affinityBlock||"",o.blocLabel=n.feature.affinityBlockLabel||"",o.clusterCode=n.feature.cluster||"",o.clusterLabel=n.feature.clusterLabel||"",o.peopleGroupCode=n.feature.peopleGroup||"")})}}function dx(e){const t=e.feature,o=t.name||t.displayName||t.slug||"Unknown",n=t.countryName||t.country||t.countryIso||"",a=t.religionName||t.religion||"",r=t.slug||t.uniqueId||nu(o+"-"+n),s=[e.lng,e.lat],i=[n,a].filter(Boolean).join(" — "),l=i?`${o}, ${i}`:o;return{id:`doxa-pg-${r}`,place_name:l,text:o,center:s,place_type:["people-group"],geometry:{type:"Point",coordinates:s},properties:{slug:r,...t},feature:t}}function ln(e,t){let o,n;switch(e){case"country":o="doxa-country",n="doxa-country-";break;case"region":o="doxa-region",n="doxa-region-";break;case"language-family":o="doxa-language-family",n="doxa-language-family-";break;case"language":o="doxa-language",n="doxa-language-";break;case"dialect":o="doxa-dialect",n="doxa-dialect-";break;case"religion":o="doxa-religion",n="doxa-religion-";break;case"affinity-bloc":o="doxa-affinity-bloc",n="doxa-affinity-bloc-";break;case"cluster":o="doxa-cluster",n="doxa-cluster-";break;case"people-group":o="doxa-people-group",n="doxa-people-group-";break;default:o="doxa",n="doxa-"}const a=Ri(t.label)||t.key,r=nu(t.key),s=[t.lng,t.lat],l={"affinity-bloc":"Affinity Block",cluster:"Cluster","people-group":"PG","pg-in-country":"PGIC"}[e],c=l?`${a} (${l}) · ${t.count}`:`${a} (${t.count})`,u=t.originalLabels?Array.from(t.originalLabels):void 0,p=e==="dialect"?{familyDerived:t.familyDerived||"",baseLang:t.baseLang||"",dialectLabel:t.dialectLabel||""}:null;return{id:`${n}${r}`,place_name:c,text:a,center:s,bbox:[t.minLng,t.minLat,t.maxLng,t.maxLat],place_type:[o],geometry:{type:"Point",coordinates:s},properties:{slug:r,doxaAggregate:e,count:t.count,label:a,memberIds:t.memberIds,bounds:[t.minLng,t.minLat,t.maxLng,t.maxLat],...u?{originalLabels:u}:{},...p||{},...e==="affinity-bloc"?{blocCode:t.blocCode||""}:{},...e==="cluster"?{blocCode:t.blocCode||"",blocLabel:t.blocLabel||"",clusterCode:t.clusterCode||""}:{},...e==="people-group"?{blocCode:t.blocCode||"",blocLabel:t.blocLabel||"",clusterCode:t.clusterCode||"",clusterLabel:t.clusterLabel||"",peopleGroupCode:t.peopleGroupCode||""}:{}},feature:null}}function px(e={}){const{dataStore:t,dataSourceId:o,getActiveFilter:n,getActiveContext:a}=e,{t:r}=jt(),s=oe(()=>{var p,f;if(!t||!t.sources)return[];if(o&&((p=t.sources[o])!=null&&p.features))return t.sources[o].features;for(const x of Object.keys(t.sources)){const S=t.sources[x];if((f=S==null?void 0:S.features)!=null&&f.length)return S.features}return[]}),i=oe(()=>cx(s.value)),l=oe(()=>ux(i.value));function c(p){const f=String(p||"").trim().toLowerCase(),x={people:[],places:[],regions:[],wagfBlocks:[],families:[],languages:[],dialects:[],religions:[],blocs:[],clusters:[],peopleGroups:[]};if(f.length<2)return x;const S=f.split(/[\s,;]+/).filter(Boolean);if(!S.length)return x;const y=i.value;if(!y.length)return x;const h=l.value,_=[];for(const A of y){let I=!0;for(const W of S)if(!A.haystack.includes(W)){I=!1;break}if(!I)continue;let F=0;S.some(W=>A.nameHay.includes(W))&&(F+=tx),S.some(W=>A.countryHay.includes(W))&&(F+=ox),S.some(W=>A.religionHay.includes(W))&&(F+=nx),S.some(W=>A.languageHay.includes(W))&&(F+=ax),_.push({entry:A,score:F})}_.sort((A,I)=>I.score-A.score);const g=_.slice(0,ou).map(A=>dx(A.entry)),b=A=>A.filter(I=>S.every(F=>I.key.includes(F)||Xe(I.label).includes(F))).sort((I,F)=>F.count-I.count).slice(0,ou),d=b(h.countries).map(A=>ln("country",A)),w=b(h.regions).map(A=>ln("region",A)),m=b(h.wagfBlocks).map(A=>ln("region",A)),k=b(h.families).map(A=>ln("language-family",A)),E=b(h.languages).map(A=>ln("language",A)),L=b(h.dialects).map(A=>ln("dialect",A)),H=b(h.religions).map(A=>ln("religion",A)),K=b(h.blocs).map(A=>ln("affinity-bloc",A));let J=b(h.clusters).map(A=>ln("cluster",A)),v=b(h.peopleGroups).map(A=>ln("people-group",A));const N=new Set(K.map(A=>Xe(A.text)));J=J.filter(A=>!N.has(Xe(A.text)));const $=new Set(J.map(A=>Xe(A.text)));return v=v.filter(A=>!N.has(Xe(A.text))&&!$.has(Xe(A.text))),{people:g,places:d,regions:w,wagfBlocks:m,families:k,languages:E,dialects:L,religions:H,blocs:K,clusters:J,peopleGroups:v}}function u(p){const f=typeof n=="function"?n():null,x=typeof a=="function"?a():null,S=c(p),y=Xk(x),h=ex[x],_=h?Object.fromEntries(h.filter(k=>S[k]).map(k=>[k,S[k]])):S,g=y.flatMap(k=>_[k]||[]);if(!(f!=null&&f.key)||!g.length)return g.slice(0,_h);const b=[];for(const k of S.people){const E=i.value.find(H=>H.feature===k.feature);let L=!1;E&&(f.kind==="family"?L=(E.familyDerived||"").toLowerCase()===f.key.toLowerCase():f.kind==="language"&&(L=E.languageLabel.toLowerCase()===f.key.toLowerCase())),L&&b.push(k)}const d=[],w=f.key;b.length&&(d.push(yh(r("search.sections.within",{selection:w}),!1)),d.push(...b.slice(0,ou)));const m=y.flatMap(k=>(_[k]||[]).slice(0,Qk[k]??3)).map(k=>({...k,properties:{...k.properties,_allDataSection:!0}}));return d.push(yh(r("search.sections.allData"),!0)),d.push(...m),d.slice(0,_h+8)}return{search:u,searchGrouped:c,index:i,aggregates:l}}const gx={__name:"GeocoderComponent",props:{mapInstance:{type:Object,required:!1,default:null},accessToken:{type:String,required:!0},provider:{type:String,default:"mapbox"},isDark:{type:Boolean,default:!1},standalone:{type:Boolean,default:!1},placeholder:{type:String,default:""},dataSourceId:{type:String,default:""},activeContext:{type:String,default:""}},emits:["result","people-group-result","aggregate-result","clear","error"],setup(e,{expose:t,emit:o}){function n(F){return F+F.replace(/mapboxgl/g,"maplibregl")}Kt(n('.mapboxgl-ctrl-geocoder--input,.mapboxgl-ctrl-geocoder input[type="text"],.mapboxgl-ctrl-geocoder input[type="search"]{font-size:16px !important;line-height:1.3;}'),"geocoder-ios-zoom-fix"),Kt(n(".mapboxgl-ctrl-geocoder--icon-loading{display:none !important;}"),"geocoder-hide-loading"),Kt(n(".mapboxgl-ctrl-geocoder{height:35px!important;min-height:35px!important;box-sizing:border-box!important;}.mapboxgl-ctrl-geocoder--input{height:35px!important;min-height:35px!important;box-sizing:border-box!important;padding-top:0!important;padding-bottom:0!important;line-height:35px!important;}.mapboxgl-ctrl-geocoder--icon-search{top:50%!important;transform:translateY(-50%)!important;margin-top:0!important;inset-inline-start:7px!important;}"),"geocoder-height-35"),Kt(n(".mapboxgl-ctrl-geocoder{width:100%!important;max-width:100%!important;min-width:0!important;}@media(max-width:767px){.dg-search-band{top:0!important;left:0!important;right:0!important;width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box!important;padding:9px 14px!important;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,0.10);}.dg-search-band--dark{background:#3b463d;box-shadow:0 1px 4px rgba(0,0,0,0.35);}.dg-search-band .mapboxgl-ctrl,.dg-search-band .maplibregl-ctrl{margin:0!important;float:none!important;}}.mapboxgl-ctrl-geocoder{border-radius:999px!important;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,0.15)!important;transition:box-shadow .12s,border-color .12s;}.mapboxgl-ctrl-geocoder:focus-within{box-shadow:0 2px 8px rgba(0,0,0,0.15),0 0 0 3px rgba(59,70,61,0.18)!important;}.mapboxgl-ctrl-geocoder--input{border-radius:999px!important;font-size:13px!important;}.mapboxgl-ctrl-geocoder--input::placeholder{font-size:12px!important;}.mapboxgl-ctrl-geocoder--button{display:none!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;margin:0!important;padding:0!important;width:24px!important;height:24px!important;background:transparent!important;border:none!important;box-shadow:none!important;}.mapboxgl-ctrl-geocoder:has(.mapboxgl-ctrl-geocoder--input:not(:placeholder-shown)) .mapboxgl-ctrl-geocoder--button{display:block!important;}.mapboxgl-ctrl-geocoder--button .mapboxgl-ctrl-geocoder--icon-close{position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;margin:0!important;width:16px!important;height:16px!important;}.mapboxgl-ctrl-geocoder--suggestions,.mapboxgl-ctrl-geocoder .suggestions{z-index:1200!important;position:absolute;max-height:60vh!important;overflow-y:auto!important;}.geocoder-dark.mapboxgl-ctrl-geocoder,.dsm-dark .mapboxgl-ctrl-geocoder{background:#4e594f!important;border:1px solid rgba(255,255,255,0.14)!important;box-shadow:0 2px 8px rgba(0,0,0,0.4)!important;}.geocoder-dark.mapboxgl-ctrl-geocoder:focus-within,.dsm-dark .mapboxgl-ctrl-geocoder:focus-within{box-shadow:0 2px 8px rgba(0,0,0,0.4),0 0 0 3px rgba(115,161,127,0.22)!important;}.geocoder-dark .mapboxgl-ctrl-geocoder--input,.dsm-dark .mapboxgl-ctrl-geocoder--input{color:#F3F3F1!important;background:transparent!important;}.geocoder-dark .mapboxgl-ctrl-geocoder--input::placeholder,.dsm-dark .mapboxgl-ctrl-geocoder--input::placeholder{color:rgba(243,243,241,0.65)!important;}.geocoder-dark .mapboxgl-ctrl-geocoder--icon,.dsm-dark .mapboxgl-ctrl-geocoder .mapboxgl-ctrl-geocoder--icon{fill:rgba(243,243,241,0.75)!important;}.geocoder-dark .mapboxgl-ctrl-geocoder--button,.dsm-dark .mapboxgl-ctrl-geocoder--button{background:transparent!important;}")+`/* ★ REDUCED MOTION, OWNED BY THIS COMPONENT. A page-level rule cannot reach into a shadow root, and no generated leaf ships one anyway (measured: 0 across the whole tree). Additive only. */ @media (prefers-reduced-motion: reduce) { .geo-root, .mapboxgl-ctrl-geocoder, .maplibregl-ctrl-geocoder { transition: none !important; animation: none !important; } } -`,"geocoder-skin");const{t:a,locale:r}=jt(),s=e,i=oe(()=>/^pk\./.test(String(s.accessToken||""))),l=oe(()=>s.placeholder||(s.provider==="maplibre"&&!i.value?a("search.placeholderNoPlaces"):a("search.placeholder"))),c=o,u={"&":"&","<":"<",">":">",'"':""","'":"'"};function p(F){return String(F??"").replace(/[&<>"']/g,W=>u[W])}function f(F){return F==null?"":typeof F=="string"?F:typeof F=="object"?F.label||F.value||"":String(F)}const x={"people-group":"people","doxa-people-group":"peopleGroup","doxa-affinity-bloc":"bloc","doxa-cluster":"cluster","doxa-country":"country","doxa-region":"region","doxa-language-family":"family","doxa-language":"languageKind","doxa-dialect":"dialect","doxa-religion":"religionKind"};function S(F){const W=x[F];if(!W)return"";const z=a("search.kinds."+W);return`${p(z)}`}function y(F){var Z;if(!F)return"";const W=F.place_type||[];if(W.includes("doxa-section-header"))return`
${p(((Z=F.properties)==null?void 0:Z.headerLabel)||F.text||"")}
`;if(W.includes("people-group")){const j=F.properties||{},ae=f(j.name)||f(j.displayName)||f(F.text)||"",_e=f(j.countryName)||f(j.country)||f(j.countryIso)||"",Te=f(j.language)||f(j.primaryLanguage)||f(j.languageFamily)||"",xe=f(j.religionName)||f(j.religion)||"",Ae=a("search.labels.place"),X=a("search.labels.language"),q=a("search.labels.religion"),pe=[];return _e&&pe.push(`${p(Ae)} ${p(_e)}`),Te&&pe.push(`${p(X)} ${p(Te)}`),xe&&pe.push(`${p(q)} ${p(xe)}`),`
${S("people-group")}${p(ae)}
`+(pe.length?`
${pe.join("")}
`:"")}const z=W.find(j=>j.startsWith("doxa-"));if(z){const j=F.properties||{},ae=p(f(j.label)||F.text||""),_e=Number(j.count)||0,Te=_e?` ${_e}`:"";return`
${S(z)}${ae}${Te}
`}return`
${p(F.place_name||F.text||"")}
`}const h=je("dataStore",null),_=je("mapStore",null),g=je("uiStore",null);function b(){return _?_.selectedFamily?{kind:"family",key:_.selectedFamily}:_.selectedLanguage?{kind:"language",key:_.selectedLanguage}:null:null}const{search:d}=px({dataStore:h,dataSourceId:s.dataSourceId||void 0,getActiveFilter:b,getActiveContext:()=>s.activeContext||null}),w=Ia(null),m=we(null),k={mapbox:Cn.mapboxGeocoderCss.url,maplibre:Cn.maplibreGeocoderCss.url},E=Cn.maplibreGeocoderJs.url,L=Cn.mapboxGeocoderJs.url;function H(F,W){const z=k[W]||k.mapbox;if(F.querySelector(`link[href="${z}"]`))return;const Z=document.createElement("link");Z.rel="stylesheet",Z.href=z,Kr(Z,z),F.prepend(Z)}async function K(F,W){if(typeof window<"u"&&window[W]||typeof document>"u")return;const z=document.querySelector(`script[src="${F}"]`);if(z){if(window[W])return;await new Promise(Z=>{z.addEventListener("load",Z,{once:!0}),z.addEventListener("error",Z,{once:!0})});return}await new Promise(Z=>{const j=document.createElement("script");j.src=F,Kr(j,F),j.async=!0,j.addEventListener("load",Z,{once:!0}),j.addEventListener("error",Z,{once:!0}),document.head.appendChild(j)})}function J(F=document){let W=F.activeElement;for(;W&&W.shadowRoot&&W.shadowRoot.activeElement;)W=W.shadowRoot.activeElement;return W}function v(F){const W=F==null?void 0:F._onKeyDown;typeof W=="function"&&(F._onKeyDown=function(z){const Z=J();return!Z||Z===z.target||typeof Z.value!="string"?W.call(F,z):W.call(F,new Proxy(z,{get(j,ae){if(ae==="target"||ae==="srcElement")return Z;const _e=Reflect.get(j,ae);return typeof _e=="function"?_e.bind(j):_e}}))})}async function N(){await K(L,"MapboxGeocoder")}async function $(){if(typeof window<"u"&&window.MaplibreGeocoder||typeof document>"u")return;const F=document.querySelector(`script[src="${E}"]`);if(F){if(window.MaplibreGeocoder)return;await new Promise(W=>{F.addEventListener("load",W,{once:!0}),F.addEventListener("error",W,{once:!0})});return}await new Promise((W,z)=>{const Z=document.createElement("script");Z.src=E,Z.async=!1,Z.addEventListener("load",W,{once:!0}),Z.addEventListener("error",()=>z(new Error("[GeocoderComponent] Failed to load MapLibre geocoder")),{once:!0}),document.head.appendChild(Z)})}function A(F,W){return async z=>{const Z={features:[]};if(!/^pk\./.test(String(F||""))||!(z!=null&&z.query))return Z;try{const j=Array.isArray(z.language)?z.language[0]:z.language||W()||"en",ae=new URLSearchParams({access_token:F,autocomplete:"true",limit:String(z.limit||5)});j&&ae.set("language",j);const _e=`https://api.mapbox.com/geocoding/v5/mapbox.places/${encodeURIComponent(z.query)}.json?${ae.toString()}`,Te=await fetch(_e);if(!Te.ok)return Z;const xe=await Te.json();return xe&&Array.isArray(xe.features)?xe:Z}catch{return Z}}}Jo(async()=>{var j,ae,_e,Te,xe;const F=s.provider==="maplibre";if(F){if(await $(),typeof MaplibreGeocoder>"u"){console.error("[GeocoderComponent] MaplibreGeocoder global unavailable.");return}}else if(typeof MapboxGeocoder>"u"&&(await N(),typeof MapboxGeocoder>"u")){console.error("[GeocoderComponent] MapboxGeocoder global unavailable.");return}const W=s.mapInstance;if(!s.standalone&&!W)return;const z=s.standalone?(ae=(j=m.value)==null?void 0:j.getRootNode)==null?void 0:ae.call(j):(xe=(Te=(_e=W.getContainer)==null?void 0:_e.call(W))==null?void 0:Te.getRootNode)==null?void 0:xe.call(Te);z instanceof ShadowRoot&&H(z,s.provider);const Z={marker:!1,flyTo:!s.standalone,trackProximity:!s.standalone,placeholder:l.value,language:r.value||"en",localGeocoder:d,limit:20,zoom:6,render:y};if(F){const Ae=typeof maplibregl<"u"?maplibregl:void 0,X={forwardGeocode:A(s.accessToken,()=>r.value)};w.value=new MaplibreGeocoder(X,{...Z,maplibregl:Ae,showResultsWhileTyping:!0,reverseGeocode:!1})}else w.value=new MapboxGeocoder({accessToken:s.accessToken,mapboxgl,...Z});if(v(w.value),w.value.on("result",Ae=>{var q,pe,Le,M,O,B,V,se,G,ue,me,T,P,Q,le,ve,de,U,ne,Ee,Re,tt,kt,$t,Nt,Yt,vt,Lt,xo,Go;const X=Ae==null?void 0:Ae.result;X&&((q=X.place_type)!=null&&q.includes("doxa-section-header")||(_&&(_.selectedRegion=null,_.selectedResource=null,_.selectedAffinityBlock=null,_.selectedDialect=null),g&&((pe=g.setPrayerFilter)==null||pe.call(g,null),(Le=g.setEngagementFilter)==null||Le.call(g,null),(M=g.setAdoptionFilter)==null||M.call(g,null),(O=g.setReligionFilter)==null||O.call(g,null)),(B=X.properties)!=null&&B._allDataSection&&_&&(_.selectedFamily=null,_.selectedLanguage=null),c("result",Ae),(V=X.place_type)!=null&&V.includes("people-group")&&X.feature?c("people-group-result",{type:"Feature",properties:X.properties||X.feature,geometry:X.geometry||{type:"Point",coordinates:X.center}}):((se=X.place_type)!=null&&se.includes("doxa-country")||(G=X.place_type)!=null&&G.includes("doxa-region")||(ue=X.place_type)!=null&&ue.includes("doxa-language-family")||(me=X.place_type)!=null&&me.includes("doxa-language")||(T=X.place_type)!=null&&T.includes("doxa-dialect")||(P=X.place_type)!=null&&P.includes("doxa-religion")||(Q=X.place_type)!=null&&Q.includes("doxa-affinity-bloc")||(le=X.place_type)!=null&&le.includes("doxa-cluster")||(ve=X.place_type)!=null&&ve.includes("doxa-people-group"))&&c("aggregate-result",{kind:X.place_type[0].replace(/^doxa-/,""),label:((de=X.properties)==null?void 0:de.label)||X.text,count:((U=X.properties)==null?void 0:U.count)||0,memberIds:((ne=X.properties)==null?void 0:ne.memberIds)||[],bounds:((Ee=X.properties)==null?void 0:Ee.bounds)||null,center:X.center,originalLabels:((Re=X.properties)==null?void 0:Re.originalLabels)||null,familyDerived:((tt=X.properties)==null?void 0:tt.familyDerived)||"",baseLang:((kt=X.properties)==null?void 0:kt.baseLang)||"",dialectLabel:(($t=X.properties)==null?void 0:$t.dialectLabel)||"",slug:((Nt=X.properties)==null?void 0:Nt.slug)||null,id:X.id||null,blocCode:((Yt=X.properties)==null?void 0:Yt.blocCode)||"",blocLabel:((vt=X.properties)==null?void 0:vt.blocLabel)||"",clusterCode:((Lt=X.properties)==null?void 0:Lt.clusterCode)||"",clusterLabel:((xo=X.properties)==null?void 0:xo.clusterLabel)||"",peopleGroupCode:((Go=X.properties)==null?void 0:Go.peopleGroupCode)||"",properties:X.properties||null})))}),w.value.on("clear",()=>c("clear")),w.value.on("error",Ae=>c("error",Ae)),s.standalone){if(m.value){const Ae={on(){},off(){},fire(){},getContainer:()=>m.value,getZoom:()=>0,getCenter:()=>({lng:0,lat:0}),getBounds:()=>null,flyTo(){},fitBounds(){},addControl(){},removeControl(){},hasControl:()=>!1};try{const X=w.value.onAdd(s.mapInstance||Ae);X&&m.value.appendChild(X)}catch(X){c("error",X)}}}else W.addControl(w.value,"top-left"),I()});function I(){var W,z;const F=(z=(W=w.value)==null?void 0:W.container)==null?void 0:z.parentElement;F&&(F.classList.add("dg-search-band"),F.classList.toggle("dg-search-band--dark",!!s.isDark))}return Ue(()=>s.isDark,()=>I()),Ue(l,F=>{var Z,j;const W=w.value;if(!W)return;const z=W._inputEl||((j=(Z=W.container)==null?void 0:Z.querySelector)==null?void 0:j.call(Z,"input.mapboxgl-ctrl-geocoder--input"));z&&(z.placeholder=F,z.setAttribute("placeholder",F)),W.options&&(W.options.placeholder=F)}),Ue(r,F=>{const W=w.value;W!=null&&W.options&&(W.options.language=F||"en")}),vo(()=>{var F,W;if(w.value){try{s.standalone?(W=(F=w.value).onRemove)==null||W.call(F):s.mapInstance&&s.mapInstance.removeControl(w.value)}catch{}w.value=null}}),t({geocoder:w}),(F,W)=>e.standalone?(re(),he("div",{key:0,ref_key:"standaloneContainer",ref:m,class:"dg-standalone-geocoder"},null,512)):ia(F.$slots,"default",{},void 0,void 0,1)}},fx=["aria-label"],hx={class:"mcm-header"},mx={class:"mcm-title"},bx=["aria-label"],$x={class:"mcm-body"},_x=".dsm-map-area, .rm-map-area, .dm-map-area, [data-map-area]",au="doxa-map-menu-open",yx={__name:"MapControlMenu",props:{open:{type:Boolean,default:!1},title:{type:String,default:""},width:{type:Number,default:340},isDark:{type:Boolean,default:!1},maxHeight:{type:Number,default:null},height:{type:Number,default:null},matchToolbar:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:t}){const o=(S,y)=>no(S)||y;Kt(` +`,"geocoder-skin");const{t:a,locale:r}=jt(),s=e,i=oe(()=>/^pk\./.test(String(s.accessToken||""))),l=oe(()=>s.placeholder||(s.provider==="maplibre"&&!i.value?a("search.placeholderNoPlaces"):a("search.placeholder"))),c=o,u={"&":"&","<":"<",">":">",'"':""","'":"'"};function p(F){return String(F??"").replace(/[&<>"']/g,W=>u[W])}function f(F){return F==null?"":typeof F=="string"?F:typeof F=="object"?F.label||F.value||"":String(F)}const x={"people-group":"people","doxa-people-group":"peopleGroup","doxa-affinity-bloc":"bloc","doxa-cluster":"cluster","doxa-country":"country","doxa-region":"region","doxa-language-family":"family","doxa-language":"languageKind","doxa-dialect":"dialect","doxa-religion":"religionKind"};function S(F){const W=x[F];if(!W)return"";const z=a("search.kinds."+W);return`${p(z)}`}function y(F){var Z;if(!F)return"";const W=F.place_type||[];if(W.includes("doxa-section-header"))return`
${p(((Z=F.properties)==null?void 0:Z.headerLabel)||F.text||"")}
`;if(W.includes("people-group")){const j=F.properties||{},ae=f(j.name)||f(j.displayName)||f(F.text)||"",_e=f(j.countryName)||f(j.country)||f(j.countryIso)||"",Te=f(j.language)||f(j.primaryLanguage)||f(j.languageFamily)||"",xe=f(j.religionName)||f(j.religion)||"",Ae=a("search.labels.place"),X=a("search.labels.language"),q=a("search.labels.religion"),pe=[];return _e&&pe.push(`${p(Ae)} ${p(_e)}`),Te&&pe.push(`${p(X)} ${p(Te)}`),xe&&pe.push(`${p(q)} ${p(xe)}`),`
${S("people-group")}${p(ae)}
`+(pe.length?`
${pe.join("")}
`:"")}const z=W.find(j=>j.startsWith("doxa-"));if(z){const j=F.properties||{},ae=p(f(j.label)||F.text||""),_e=Number(j.count)||0,Te=_e?` ${_e}`:"";return`
${S(z)}${ae}${Te}
`}return`
${p(F.place_name||F.text||"")}
`}const h=je("dataStore",null),_=je("mapStore",null),g=je("uiStore",null);function b(){return _?_.selectedFamily?{kind:"family",key:_.selectedFamily}:_.selectedLanguage?{kind:"language",key:_.selectedLanguage}:null:null}const{search:d}=px({dataStore:h,dataSourceId:s.dataSourceId||void 0,getActiveFilter:b,getActiveContext:()=>s.activeContext||null}),w=Ia(null),m=we(null),k={mapbox:Cn.mapboxGeocoderCss.url,maplibre:Cn.maplibreGeocoderCss.url},E=Cn.maplibreGeocoderJs.url,L=Cn.mapboxGeocoderJs.url;function H(F,W){const z=k[W]||k.mapbox;if(F.querySelector(`link[href="${z}"]`))return;const Z=document.createElement("link");Z.rel="stylesheet",Z.href=z,Kr(Z,z),F.prepend(Z)}async function K(F,W){if(typeof window<"u"&&window[W]||typeof document>"u")return;const z=document.querySelector(`script[src="${F}"]`);if(z){if(window[W])return;await new Promise(Z=>{z.addEventListener("load",Z,{once:!0}),z.addEventListener("error",Z,{once:!0})});return}await new Promise(Z=>{const j=document.createElement("script");j.src=F,Kr(j,F),j.async=!0,j.addEventListener("load",Z,{once:!0}),j.addEventListener("error",Z,{once:!0}),document.head.appendChild(j)})}function J(F=document){let W=F.activeElement;for(;W&&W.shadowRoot&&W.shadowRoot.activeElement;)W=W.shadowRoot.activeElement;return W}function v(F){const W=F==null?void 0:F._onKeyDown;typeof W=="function"&&(F._onKeyDown=function(z){const Z=J();return!Z||Z===z.target||typeof Z.value!="string"?W.call(F,z):W.call(F,new Proxy(z,{get(j,ae){if(ae==="target"||ae==="srcElement")return Z;const _e=Reflect.get(j,ae);return typeof _e=="function"?_e.bind(j):_e}}))})}async function N(){await K(L,"MapboxGeocoder")}async function $(){if(typeof window<"u"&&window.MaplibreGeocoder||typeof document>"u")return;const F=document.querySelector(`script[src="${E}"]`);if(F){if(window.MaplibreGeocoder)return;await new Promise(W=>{F.addEventListener("load",W,{once:!0}),F.addEventListener("error",W,{once:!0})});return}await new Promise((W,z)=>{const Z=document.createElement("script");Z.src=E,Z.async=!1,Z.addEventListener("load",W,{once:!0}),Z.addEventListener("error",()=>z(new Error("[GeocoderComponent] Failed to load MapLibre geocoder")),{once:!0}),document.head.appendChild(Z)})}function A(F,W){return async z=>{const Z={features:[]};if(!/^pk\./.test(String(F||""))||!(z!=null&&z.query))return Z;try{const j=Array.isArray(z.language)?z.language[0]:z.language||W()||"en",ae=new URLSearchParams({access_token:F,autocomplete:"true",limit:String(z.limit||5)});j&&ae.set("language",j);const _e=`https://api.mapbox.com/geocoding/v5/mapbox.places/${encodeURIComponent(z.query)}.json?${ae.toString()}`,Te=await fetch(_e);if(!Te.ok)return Z;const xe=await Te.json();return xe&&Array.isArray(xe.features)?xe:Z}catch{return Z}}}Jo(async()=>{var j,ae,_e,Te,xe;const F=s.provider==="maplibre";if(F){if(await $(),typeof MaplibreGeocoder>"u"){console.error("[GeocoderComponent] MaplibreGeocoder global unavailable.");return}}else if(typeof MapboxGeocoder>"u"&&(await N(),typeof MapboxGeocoder>"u")){console.error("[GeocoderComponent] MapboxGeocoder global unavailable.");return}const W=s.mapInstance;if(!s.standalone&&!W)return;const z=s.standalone?(ae=(j=m.value)==null?void 0:j.getRootNode)==null?void 0:ae.call(j):(xe=(Te=(_e=W.getContainer)==null?void 0:_e.call(W))==null?void 0:Te.getRootNode)==null?void 0:xe.call(Te);z instanceof ShadowRoot&&H(z,s.provider);const Z={marker:!1,flyTo:!s.standalone,trackProximity:!s.standalone,placeholder:l.value,language:r.value||"en",localGeocoder:d,limit:20,zoom:6,render:y};if(F){const Ae=typeof maplibregl<"u"?maplibregl:void 0,X={forwardGeocode:A(s.accessToken,()=>r.value)};w.value=new MaplibreGeocoder(X,{...Z,maplibregl:Ae,showResultsWhileTyping:!0,reverseGeocode:!1})}else w.value=new MapboxGeocoder({accessToken:s.accessToken,mapboxgl,...Z});if(v(w.value),w.value.on("result",Ae=>{var q,pe,Le,M,O,B,V,se,G,ue,me,T,P,Q,le,ve,de,U,ne,Ee,Re,tt,kt,$t,Nt,Yt,vt,Lt,So,Go;const X=Ae==null?void 0:Ae.result;X&&((q=X.place_type)!=null&&q.includes("doxa-section-header")||(_&&(_.selectedRegion=null,_.selectedResource=null,_.selectedAffinityBlock=null,_.selectedDialect=null),g&&((pe=g.setPrayerFilter)==null||pe.call(g,null),(Le=g.setEngagementFilter)==null||Le.call(g,null),(M=g.setAdoptionFilter)==null||M.call(g,null),(O=g.setReligionFilter)==null||O.call(g,null)),(B=X.properties)!=null&&B._allDataSection&&_&&(_.selectedFamily=null,_.selectedLanguage=null),c("result",Ae),(V=X.place_type)!=null&&V.includes("people-group")&&X.feature?c("people-group-result",{type:"Feature",properties:X.properties||X.feature,geometry:X.geometry||{type:"Point",coordinates:X.center}}):((se=X.place_type)!=null&&se.includes("doxa-country")||(G=X.place_type)!=null&&G.includes("doxa-region")||(ue=X.place_type)!=null&&ue.includes("doxa-language-family")||(me=X.place_type)!=null&&me.includes("doxa-language")||(T=X.place_type)!=null&&T.includes("doxa-dialect")||(P=X.place_type)!=null&&P.includes("doxa-religion")||(Q=X.place_type)!=null&&Q.includes("doxa-affinity-bloc")||(le=X.place_type)!=null&&le.includes("doxa-cluster")||(ve=X.place_type)!=null&&ve.includes("doxa-people-group"))&&c("aggregate-result",{kind:X.place_type[0].replace(/^doxa-/,""),label:((de=X.properties)==null?void 0:de.label)||X.text,count:((U=X.properties)==null?void 0:U.count)||0,memberIds:((ne=X.properties)==null?void 0:ne.memberIds)||[],bounds:((Ee=X.properties)==null?void 0:Ee.bounds)||null,center:X.center,originalLabels:((Re=X.properties)==null?void 0:Re.originalLabels)||null,familyDerived:((tt=X.properties)==null?void 0:tt.familyDerived)||"",baseLang:((kt=X.properties)==null?void 0:kt.baseLang)||"",dialectLabel:(($t=X.properties)==null?void 0:$t.dialectLabel)||"",slug:((Nt=X.properties)==null?void 0:Nt.slug)||null,id:X.id||null,blocCode:((Yt=X.properties)==null?void 0:Yt.blocCode)||"",blocLabel:((vt=X.properties)==null?void 0:vt.blocLabel)||"",clusterCode:((Lt=X.properties)==null?void 0:Lt.clusterCode)||"",clusterLabel:((So=X.properties)==null?void 0:So.clusterLabel)||"",peopleGroupCode:((Go=X.properties)==null?void 0:Go.peopleGroupCode)||"",properties:X.properties||null})))}),w.value.on("clear",()=>c("clear")),w.value.on("error",Ae=>c("error",Ae)),s.standalone){if(m.value){const Ae={on(){},off(){},fire(){},getContainer:()=>m.value,getZoom:()=>0,getCenter:()=>({lng:0,lat:0}),getBounds:()=>null,flyTo(){},fitBounds(){},addControl(){},removeControl(){},hasControl:()=>!1};try{const X=w.value.onAdd(s.mapInstance||Ae);X&&m.value.appendChild(X)}catch(X){c("error",X)}}}else W.addControl(w.value,"top-left"),I()});function I(){var W,z;const F=(z=(W=w.value)==null?void 0:W.container)==null?void 0:z.parentElement;F&&(F.classList.add("dg-search-band"),F.classList.toggle("dg-search-band--dark",!!s.isDark))}return Ue(()=>s.isDark,()=>I()),Ue(l,F=>{var Z,j;const W=w.value;if(!W)return;const z=W._inputEl||((j=(Z=W.container)==null?void 0:Z.querySelector)==null?void 0:j.call(Z,"input.mapboxgl-ctrl-geocoder--input"));z&&(z.placeholder=F,z.setAttribute("placeholder",F)),W.options&&(W.options.placeholder=F)}),Ue(r,F=>{const W=w.value;W!=null&&W.options&&(W.options.language=F||"en")}),wo(()=>{var F,W;if(w.value){try{s.standalone?(W=(F=w.value).onRemove)==null||W.call(F):s.mapInstance&&s.mapInstance.removeControl(w.value)}catch{}w.value=null}}),t({geocoder:w}),(F,W)=>e.standalone?(re(),he("div",{key:0,ref_key:"standaloneContainer",ref:m,class:"dg-standalone-geocoder"},null,512)):ia(F.$slots,"default",{},void 0,void 0,1)}},fx=["aria-label"],hx={class:"mcm-header"},mx={class:"mcm-title"},bx=["aria-label"],$x={class:"mcm-body"},_x=".dsm-map-area, .rm-map-area, .dm-map-area, [data-map-area]",au="doxa-map-menu-open",yx={__name:"MapControlMenu",props:{open:{type:Boolean,default:!1},title:{type:String,default:""},width:{type:Number,default:340},isDark:{type:Boolean,default:!1},maxHeight:{type:Number,default:null},height:{type:Number,default:null},matchToolbar:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:t}){const o=(S,y)=>no(S)||y;Kt(` .mcm{position:absolute;z-index:var(--z-menu,3000);display:flex;flex-direction:column;box-sizing:border-box; background:#161b22;border:1px solid #30363d;border-radius:12px;box-shadow:0 6px 24px rgba(0,0,0,0.45); color:#e6edf3;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;font-size:13px; @@ -587,7 +587,7 @@ @media (prefers-reduced-motion: reduce) { .mcm-menu, .mcm-item { transition: none !important; animation: none !important; } } -`,"map-control-menu");const n=e,a=t,r=je("mapToolbar",null),s=we(null),i=we(null),l=we({});function c(){var H;const S=(H=r==null?void 0:r.el)==null?void 0:H.value,y=s.value;if(!S||!y){l.value={};return}const h=y.getBoundingClientRect(),_=S.getBoundingClientRect(),g=(_.left+_.right)/2>(h.left+h.right)/2,b=8,d=12,w=g?h.right-_.left+b:_.right-h.left+b,m=Math.max(200,Math.min(n.width,h.width-w-d)),k=Math.max(0,_.top-h.top);let L=y.getAttribute&&y.getAttribute("data-map-area")==="share-fallback"?Math.max(120,(window.innerHeight||900)-_.top-d):Math.max(120,h.height-k-d);n.matchToolbar&&(L=Math.max(120,Math.min(L,_.height))),n.maxHeight&&(L=Math.min(L,n.maxHeight)),l.value={top:`${Math.round(k)}px`,[g?"right":"left"]:`${Math.round(w)}px`,width:`${Math.round(m)}px`,maxHeight:`${Math.round(L)}px`,...n.height?{height:`${Math.round(Math.min(n.height,L))}px`}:{}}}function u(S){n.open&&S.detail!==i.value&&a("close")}Ue(()=>n.open,async S=>{var y;if(S){await Qt(),c();try{(y=s.value)==null||y.dispatchEvent(new CustomEvent(au,{detail:i.value}))}catch{}}});function p(){n.open&&c()}function f(S){S.key==="Escape"&&n.open&&a("close")}function x(S){var h;if(!n.open)return;const y=S.composedPath?S.composedPath():[S.target];i.value&&y.includes(i.value)||(h=r==null?void 0:r.el)!=null&&h.value&&y.includes(r.el.value)||y.some(_=>{var g,b,d,w;return((b=(g=_==null?void 0:_.classList)==null?void 0:g.contains)==null?void 0:b.call(g,"mapboxgl-canvas"))||((w=(d=_==null?void 0:_.classList)==null?void 0:d.contains)==null?void 0:w.call(d,"maplibregl-canvas"))})&&a("close")}return Jo(()=>{var y,h;const S=((y=r==null?void 0:r.el)==null?void 0:y.value)||null;s.value=(S==null?void 0:S.closest(_x))||(S==null?void 0:S.offsetParent)||(S==null?void 0:S.parentElement)||null,(h=s.value)==null||h.addEventListener(au,u),window.addEventListener("resize",p),document.addEventListener("click",x,!0),document.addEventListener("keydown",f)}),vo(()=>{var S;(S=s.value)==null||S.removeEventListener(au,u),window.removeEventListener("resize",p),document.removeEventListener("click",x,!0),document.removeEventListener("keydown",f)}),(S,y)=>(re(),it(T0,{to:s.value,disabled:!s.value},[e.open?(re(),he("div",{key:0,ref_key:"el",ref:i,class:Ge(["mcm",{light:!e.isDark}]),style:Ct(l.value),role:"dialog","aria-label":e.title},[R("div",hx,[R("span",mx,ye(e.title),1),R("button",{class:"mcm-close",type:"button","aria-label":o("buttons.close","Close"),onClick:y[0]||(y[0]=h=>a("close"))},[...y[1]||(y[1]=[R("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},[R("line",{x1:"2",y1:"2",x2:"12",y2:"12"}),R("line",{x1:"12",y1:"2",x2:"2",y2:"12"})],-1)])],8,bx)]),R("div",$x,[ia(S.$slots,"default")])],14,fx)):Me("",!0)],8,["to","disabled"]))}},vx={class:"share-steps"},wx={class:"share-tabs"},kx={key:0,class:"share-body"},xx={class:"share-url-box"},Sx={class:"share-url-text"},Ax={key:0,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},Px={key:1,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},Lx={key:1,class:"share-body"},Cx={class:"share-embed-desc"},Tx={class:"share-size-pills"},Ex=["onClick"],Mx={class:"share-code-box"},Rx={key:0,width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},Fx={key:1,width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},Nx={__name:"ShareButton",props:{isDark:{type:Boolean,default:!1},embedPath:{type:String,default:""}},setup(e){const t=(K,J)=>no(K)||J;Kt(` +`,"map-control-menu");const n=e,a=t,r=je("mapToolbar",null),s=we(null),i=we(null),l=we({});function c(){var H;const S=(H=r==null?void 0:r.el)==null?void 0:H.value,y=s.value;if(!S||!y){l.value={};return}const h=y.getBoundingClientRect(),_=S.getBoundingClientRect(),g=(_.left+_.right)/2>(h.left+h.right)/2,b=8,d=12,w=g?h.right-_.left+b:_.right-h.left+b,m=Math.max(200,Math.min(n.width,h.width-w-d)),k=Math.max(0,_.top-h.top);let L=y.getAttribute&&y.getAttribute("data-map-area")==="share-fallback"?Math.max(120,(window.innerHeight||900)-_.top-d):Math.max(120,h.height-k-d);n.matchToolbar&&(L=Math.max(120,Math.min(L,_.height))),n.maxHeight&&(L=Math.min(L,n.maxHeight)),l.value={top:`${Math.round(k)}px`,[g?"right":"left"]:`${Math.round(w)}px`,width:`${Math.round(m)}px`,maxHeight:`${Math.round(L)}px`,...n.height?{height:`${Math.round(Math.min(n.height,L))}px`}:{}}}function u(S){n.open&&S.detail!==i.value&&a("close")}Ue(()=>n.open,async S=>{var y;if(S){await Qt(),c();try{(y=s.value)==null||y.dispatchEvent(new CustomEvent(au,{detail:i.value}))}catch{}}});function p(){n.open&&c()}function f(S){S.key==="Escape"&&n.open&&a("close")}function x(S){var h;if(!n.open)return;const y=S.composedPath?S.composedPath():[S.target];i.value&&y.includes(i.value)||(h=r==null?void 0:r.el)!=null&&h.value&&y.includes(r.el.value)||y.some(_=>{var g,b,d,w;return((b=(g=_==null?void 0:_.classList)==null?void 0:g.contains)==null?void 0:b.call(g,"mapboxgl-canvas"))||((w=(d=_==null?void 0:_.classList)==null?void 0:d.contains)==null?void 0:w.call(d,"maplibregl-canvas"))})&&a("close")}return Jo(()=>{var y,h;const S=((y=r==null?void 0:r.el)==null?void 0:y.value)||null;s.value=(S==null?void 0:S.closest(_x))||(S==null?void 0:S.offsetParent)||(S==null?void 0:S.parentElement)||null,(h=s.value)==null||h.addEventListener(au,u),window.addEventListener("resize",p),document.addEventListener("click",x,!0),document.addEventListener("keydown",f)}),wo(()=>{var S;(S=s.value)==null||S.removeEventListener(au,u),window.removeEventListener("resize",p),document.removeEventListener("click",x,!0),document.removeEventListener("keydown",f)}),(S,y)=>(re(),it(T0,{to:s.value,disabled:!s.value},[e.open?(re(),he("div",{key:0,ref_key:"el",ref:i,class:Ge(["mcm",{light:!e.isDark}]),style:Ct(l.value),role:"dialog","aria-label":e.title},[R("div",hx,[R("span",mx,ye(e.title),1),R("button",{class:"mcm-close",type:"button","aria-label":o("buttons.close","Close"),onClick:y[0]||(y[0]=h=>a("close"))},[...y[1]||(y[1]=[R("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},[R("line",{x1:"2",y1:"2",x2:"12",y2:"12"}),R("line",{x1:"12",y1:"2",x2:"2",y2:"12"})],-1)])],8,bx)]),R("div",$x,[ia(S.$slots,"default")])],14,fx)):Me("",!0)],8,["to","disabled"]))}},vx={class:"share-steps"},wx={class:"share-tabs"},kx={key:0,class:"share-body"},xx={class:"share-url-box"},Sx={class:"share-url-text"},Ax={key:0,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},Px={key:1,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},Lx={key:1,class:"share-body"},Cx={class:"share-embed-desc"},Tx={class:"share-size-pills"},Ex=["onClick"],Mx={class:"share-code-box"},Rx={key:0,width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},Fx={key:1,width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},Nx={__name:"ShareButton",props:{isDark:{type:Boolean,default:!1},embedPath:{type:String,default:""}},setup(e){const t=(K,J)=>no(K)||J;Kt(` .share-wrap{position:relative;display:inline-block;border-radius:50%;} .share-wrap::before{content:'';position:absolute;inset:-2px;border-radius:50%;padding:2px;pointer-events:none; background:conic-gradient(#ff6b6b,#ffd166,#6bd67b,#4dabf7,#9775fa,#f783ac,#ff6b6b); @@ -839,7 +839,7 @@ border-color:rgba(46,164,79,0.30); color:#2ea44f; } -`,"share-button");const{t:o,tm:n,rt:a}=jt(),r=e,s=we(null),i=we(!1),l=we(null),c=we(null),u=we("link"),p=we(!1),f=we(!1),x=we("medium"),S={small:{label:"Small",height:400},medium:{label:"Medium",height:600},large:{label:"Large",height:800}},y=je("profileConfig",null),h=oe(()=>U1({embedPath:r.embedPath,profileConfig:ge(y)||null})),_=oe(()=>{const K=S[x.value].height;return''});function g(){i.value=!i.value,i.value&&(u.value="link",p.value=!1,f.value=!1)}function b(){i.value=!1}async function d(K){try{if(navigator.clipboard&&window.isSecureContext)return await navigator.clipboard.writeText(K),!0}catch{}try{const J=document.createElement("textarea");J.value=K,J.setAttribute("readonly",""),J.style.cssText="position:fixed;top:-1000px;opacity:0",document.body.appendChild(J),J.select();const v=document.execCommand("copy");return document.body.removeChild(J),v}catch{return!1}}async function w(){await d(h.value)&&(p.value=!0,setTimeout(()=>{p.value=!1},2e3))}async function m(){await d(_.value)&&(f.value=!0,setTimeout(()=>{f.value=!1},2e3))}const k=je("mapToolbar",null),E=we(null);zt("mapToolbar",k||{el:E});const L=!k;function H(K){if(s.value=K||null,!L||!K){K||(E.value=null);return}const J=K.offsetParent||K.parentElement;J&&!J.closest(".dsm-map-area, .rm-map-area, .dm-map-area, [data-map-area]")&&J.setAttribute("data-map-area","share-fallback"),E.value=K}return(K,J)=>(re(),he("div",{ref:H,class:"share-wrap","data-share-root":""},[ut(ma,{ref_key:"btnEl",ref:c,"data-control":"share","is-dark":e.isDark,active:i.value,title:ge(o)("buttons.share"),onClick:g},{default:ho(()=>[...J[2]||(J[2]=[R("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[R("path",{d:"M4 12v7a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7"}),R("polyline",{points:"16 6 12 2 8 6"}),R("line",{x1:"12",y1:"2",x2:"12",y2:"15"})],-1)])]),_:1},8,["is-dark","active","title"]),ut(yx,{open:i.value,title:ge(o)("buttons.share"),"is-dark":e.isDark,onClose:b},{default:ho(()=>[R("div",{ref_key:"popoverEl",ref:l,class:Ge(["share-pop",{light:!e.isDark}])},[R("ul",vx,[(re(!0),he(et,null,so(ge(n)("buttons.shareSteps"),(v,N)=>(re(),he("li",{key:N},ye(ge(a)(v)),1))),128))]),R("div",wx,[R("button",{class:Ge(["share-tab",{active:u.value==="link"}]),onClick:J[0]||(J[0]=v=>u.value="link")},ye(t("share.embed_link","Embed link")),3),R("button",{class:Ge(["share-tab",{active:u.value==="embed"}]),onClick:J[1]||(J[1]=v=>u.value="embed")},ye(t("share.add_to_website","Add to Your Website")),3)]),u.value==="link"?(re(),he("div",kx,[R("div",xx,[R("div",Sx,ye(h.value),1)]),R("button",{class:Ge(["share-primary-btn",{copied:p.value}]),onClick:w},[p.value?(re(),he("svg",Px,[...J[4]||(J[4]=[R("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(re(),he("svg",Ax,[...J[3]||(J[3]=[R("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),R("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},null,-1)])])),Bt(" "+ye(p.value?"Copied!":"Copy Link"),1)],2)])):Me("",!0),u.value==="embed"?(re(),he("div",Lx,[R("div",Cx,ye(t("share.embed_paste_hint","Paste this code into your website builder (WordPress, Squarespace, Wix, or any site that accepts HTML widgets).")),1),R("div",Tx,[(re(),he(et,null,so(S,(v,N)=>R("button",{key:N,class:Ge(["share-size-pill",{active:x.value===N}]),onClick:$=>x.value=N},ye(v.label),11,Ex)),64))]),R("div",Mx,ye(_.value),1),R("button",{class:Ge(["share-secondary-btn",{copied:f.value}]),onClick:m},[f.value?(re(),he("svg",Fx,[...J[6]||(J[6]=[R("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(re(),he("svg",Rx,[...J[5]||(J[5]=[R("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),R("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},null,-1)])])),Bt(" "+ye(f.value?"Copied!":"Copy Code"),1)],2)])):Me("",!0)],2)]),_:1},8,["open","title","is-dark"])],512))}},Ix=["aria-label"],Ox={class:"rm-side-header"},Dx={class:"rm-side-title"},zx=["aria-label"],jx={class:"rm-side-body"},Bx={class:"rm-section"},Gx={class:"rm-cluster-grid"},Hx=["onClick"],Ux={class:"label"},Wx={class:"desc"},Kx={key:0,class:"rm-slider-row"},qx={for:"rm-pin-op"},Vx=["value"],Yx={class:"val"},Zx={class:"rm-section"},Jx={class:"rm-side-footer"},Xx={__name:"ResearchMapSideMenu",props:{isOpen:{type:Boolean,default:!1}},emits:["close","open-poster","reload-map"],setup(e,{emit:t}){const o=t,n=(l,c)=>no("controls."+l)||no("dashboard."+l)||c,a=je("mapStore");je("uiStore");const r=[{id:"off",label:n("off","Off"),desc:n("off_desc","Show every pin individually")},{id:"mapbox",label:n("native","Native"),desc:n("native_desc","Mapbox circle clusters (fastest)")},{id:"mst",label:n("mst","MST"),desc:n("mst_desc","Minimum-spanning-tree affinity webs")},{id:"network",label:n("network","Network"),desc:n("network_desc","Nearest-neighbor connection lines")}],s=oe({get:()=>(a==null?void 0:a.clusteringMode)??"off",set:l=>{a&&(a.clusteringMode=l)}}),i=oe({get:()=>(a==null?void 0:a.clusterPinOpacity)??.6,set:l=>{a&&(a.clusterPinOpacity=Number(l))}});return Kt(` +`,"share-button");const{t:o,tm:n,rt:a}=jt(),r=e,s=we(null),i=we(!1),l=we(null),c=we(null),u=we("link"),p=we(!1),f=we(!1),x=we("medium"),S={small:{label:"Small",height:400},medium:{label:"Medium",height:600},large:{label:"Large",height:800}},y=je("profileConfig",null),h=oe(()=>U1({embedPath:r.embedPath,profileConfig:ge(y)||null})),_=oe(()=>{const K=S[x.value].height;return''});function g(){i.value=!i.value,i.value&&(u.value="link",p.value=!1,f.value=!1)}function b(){i.value=!1}async function d(K){try{if(navigator.clipboard&&window.isSecureContext)return await navigator.clipboard.writeText(K),!0}catch{}try{const J=document.createElement("textarea");J.value=K,J.setAttribute("readonly",""),J.style.cssText="position:fixed;top:-1000px;opacity:0",document.body.appendChild(J),J.select();const v=document.execCommand("copy");return document.body.removeChild(J),v}catch{return!1}}async function w(){await d(h.value)&&(p.value=!0,setTimeout(()=>{p.value=!1},2e3))}async function m(){await d(_.value)&&(f.value=!0,setTimeout(()=>{f.value=!1},2e3))}const k=je("mapToolbar",null),E=we(null);zt("mapToolbar",k||{el:E});const L=!k;function H(K){if(s.value=K||null,!L||!K){K||(E.value=null);return}const J=K.offsetParent||K.parentElement;J&&!J.closest(".dsm-map-area, .rm-map-area, .dm-map-area, [data-map-area]")&&J.setAttribute("data-map-area","share-fallback"),E.value=K}return(K,J)=>(re(),he("div",{ref:H,class:"share-wrap","data-share-root":""},[ut(ma,{ref_key:"btnEl",ref:c,"data-control":"share","is-dark":e.isDark,active:i.value,title:ge(o)("buttons.share"),onClick:g},{default:mo(()=>[...J[2]||(J[2]=[R("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[R("path",{d:"M4 12v7a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7"}),R("polyline",{points:"16 6 12 2 8 6"}),R("line",{x1:"12",y1:"2",x2:"12",y2:"15"})],-1)])]),_:1},8,["is-dark","active","title"]),ut(yx,{open:i.value,title:ge(o)("buttons.share"),"is-dark":e.isDark,onClose:b},{default:mo(()=>[R("div",{ref_key:"popoverEl",ref:l,class:Ge(["share-pop",{light:!e.isDark}])},[R("ul",vx,[(re(!0),he(et,null,so(ge(n)("buttons.shareSteps"),(v,N)=>(re(),he("li",{key:N},ye(ge(a)(v)),1))),128))]),R("div",wx,[R("button",{class:Ge(["share-tab",{active:u.value==="link"}]),onClick:J[0]||(J[0]=v=>u.value="link")},ye(t("share.embed_link","Embed link")),3),R("button",{class:Ge(["share-tab",{active:u.value==="embed"}]),onClick:J[1]||(J[1]=v=>u.value="embed")},ye(t("share.add_to_website","Add to Your Website")),3)]),u.value==="link"?(re(),he("div",kx,[R("div",xx,[R("div",Sx,ye(h.value),1)]),R("button",{class:Ge(["share-primary-btn",{copied:p.value}]),onClick:w},[p.value?(re(),he("svg",Px,[...J[4]||(J[4]=[R("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(re(),he("svg",Ax,[...J[3]||(J[3]=[R("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),R("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},null,-1)])])),Bt(" "+ye(p.value?"Copied!":"Copy Link"),1)],2)])):Me("",!0),u.value==="embed"?(re(),he("div",Lx,[R("div",Cx,ye(t("share.embed_paste_hint","Paste this code into your website builder (WordPress, Squarespace, Wix, or any site that accepts HTML widgets).")),1),R("div",Tx,[(re(),he(et,null,so(S,(v,N)=>R("button",{key:N,class:Ge(["share-size-pill",{active:x.value===N}]),onClick:$=>x.value=N},ye(v.label),11,Ex)),64))]),R("div",Mx,ye(_.value),1),R("button",{class:Ge(["share-secondary-btn",{copied:f.value}]),onClick:m},[f.value?(re(),he("svg",Fx,[...J[6]||(J[6]=[R("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(re(),he("svg",Rx,[...J[5]||(J[5]=[R("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),R("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},null,-1)])])),Bt(" "+ye(f.value?"Copied!":"Copy Code"),1)],2)])):Me("",!0)],2)]),_:1},8,["open","title","is-dark"])],512))}},Ix=["aria-label"],Ox={class:"rm-side-header"},Dx={class:"rm-side-title"},zx=["aria-label"],jx={class:"rm-side-body"},Bx={class:"rm-section"},Gx={class:"rm-cluster-grid"},Hx=["onClick"],Ux={class:"label"},Wx={class:"desc"},Kx={key:0,class:"rm-slider-row"},qx={for:"rm-pin-op"},Vx=["value"],Yx={class:"val"},Zx={class:"rm-section"},Jx={class:"rm-side-footer"},Xx={__name:"ResearchMapSideMenu",props:{isOpen:{type:Boolean,default:!1}},emits:["close","open-poster","reload-map"],setup(e,{emit:t}){const o=t,n=(l,c)=>no("controls."+l)||no("dashboard."+l)||c,a=je("mapStore");je("uiStore");const r=[{id:"off",label:n("off","Off"),desc:n("off_desc","Show every pin individually")},{id:"mapbox",label:n("native","Native"),desc:n("native_desc","Mapbox circle clusters (fastest)")},{id:"mst",label:n("mst","MST"),desc:n("mst_desc","Minimum-spanning-tree affinity webs")},{id:"network",label:n("network","Network"),desc:n("network_desc","Nearest-neighbor connection lines")}],s=oe({get:()=>(a==null?void 0:a.clusteringMode)??"off",set:l=>{a&&(a.clusteringMode=l)}}),i=oe({get:()=>(a==null?void 0:a.clusterPinOpacity)??.6,set:l=>{a&&(a.clusterPinOpacity=Number(l))}});return Kt(` .rm-side-backdrop { position:absolute;inset:0;background:rgba(0,0,0,0.45);z-index:1500;opacity:0;pointer-events:none;transition:opacity .18s; } .rm-side-backdrop.open { opacity:1;pointer-events:auto; } .rm-side-drawer { position:absolute;top:0;right:0;bottom:0;width:340px;max-width:100vw;background:#171c23;color:#e7ebf0;border-left:1px solid #232a33;z-index:1600;transform:translateX(100%);transition:transform .22s ease;display:flex;flex-direction:column;font:13px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; } @@ -891,7 +891,7 @@ .rm-link-btn:hover { text-decoration:underline; } .rm-link-btn{position:relative;}.rm-link-btn::after{content:'';position:absolute;left:50%;top:50%;width:24px;height:24px;transform:translate(-50%,-50%);} @media (pointer:coarse) { .rm-link-btn { min-height: 24px; } } -`,"research-map-filter-panel"),(m,k)=>(re(),he("div",Qx,[R("div",eS,[R("label",null,ye(t("population","Population")),1),R("div",tS,[R("input",{type:"number",min:"0",placeholder:t("min","min"),value:r.value,onInput:k[0]||(k[0]=E=>r.value=E.target.value)},null,40,oS),R("input",{type:"number",min:"0",placeholder:t("max","max"),value:s.value,onInput:k[1]||(k[1]=E=>s.value=E.target.value)},null,40,nS)])]),R("div",aS,[R("label",null,ye(t("engagement","Engagement")),1),R("select",{value:i.value,onChange:k[2]||(k[2]=E=>i.value=E.target.value)},[R("option",sS,ye(t("any","Any")),1),R("option",iS,ye(t("engaged","Engaged")),1),R("option",lS,ye(t("unengaged","Unengaged")),1)],40,rS)]),R("div",cS,[R("label",null,ye(t("adoption","Adoption")),1),R("select",{value:l.value,onChange:k[3]||(k[3]=E=>l.value=E.target.value)},[R("option",dS,ye(t("any","Any")),1),R("option",pS,ye(t("adopted","Adopted")),1),R("option",gS,ye(t("unadopted","Unadopted")),1)],40,uS)]),R("div",fS,[R("label",null,ye(t("language","Language")),1),Fs(R("input",{type:"search","onUpdate:modelValue":k[4]||(k[4]=E=>S.value=E),placeholder:t("search_languages","Search languages…")},null,8,hS),[[pp,S.value]]),R("div",mS,[h.value.length?Me("",!0):(re(),he("span",bS,ye(t("no_languages","No languages loaded yet")),1)),(re(!0),he(et,null,so(h.value,E=>(re(),he("button",{key:E,class:Ge(["rm-chip",{active:g(E)}]),onClick:L=>f(E)},ye(E),11,$S))),128))])]),R("div",_S,[R("label",null,ye(t("religion","Religion")),1),Fs(R("input",{type:"search","onUpdate:modelValue":k[5]||(k[5]=E=>y.value=E),placeholder:t("search_religions","Search religions…")},null,8,yS),[[pp,y.value]]),R("div",vS,[_.value.length?Me("",!0):(re(),he("span",wS,ye(t("no_religions","No religions loaded yet")),1)),(re(!0),he(et,null,so(_.value,E=>(re(),he("button",{key:E,class:Ge(["rm-chip",{active:b(E)}]),onClick:L=>x(E)},ye(E),11,kS))),128))])]),R("div",xS,[R("span",SS,ye(t("active_count","{n} active").replace("{n}",w.value)),1),R("button",{class:"rm-link-btn",onClick:d},ye(t("reset_all","Reset all")),1)])]))}},vh="pplrInstance";function PS(e){return{instanceId:e,selection:we(null),activeTab:we(0),activeTabTouched:we(!1),isSearching:we(!1),geocoderText:we(""),pinDetail:we(null),theme:we("dark")}}function LS(e){zt(vh,e)}function CS(){return je(vh,null)}const TS="",ES=["data-theme"],MS={class:"stl-inner"},RS={class:"stl-tb-caret-slot"},FS=["title","aria-label","aria-expanded"],NS={class:"stl-tb-eyebrow"},IS=["title","aria-label"],OS=["title"],DS={key:2,class:"stl-tb-title"},zS={key:3,class:"stl-export"},jS=["aria-expanded","title","aria-label"],BS={class:"stl-export-label"},GS={class:"stl-export-menu",role:"menu"},HS={class:"stl-export-item-label"},US={class:"stl-export-item-label"},WS=["aria-expanded"],KS={class:"stl-export-item-label"},qS=["aria-label"],VS={class:"stl-export-note"},YS={class:"stl-export-item-label"},ZS={class:"stl-export-item-label"},JS={key:0,class:"stl-tabs-wrap"},XS={class:"stl-tabs"},QS=["onClick"],eA=["title","onClick"],tA={key:0,class:"stl-info-pop"},oA={class:"stl-col-hdr"},nA={class:"stl-hdr-name"},aA=["title"],rA={key:0,class:"stl-sort-arrow"},sA=["title"],iA={key:0,class:"stl-sort-arrow"},lA=["data-stl-node-id","onClick"],cA=["aria-expanded","aria-label","onClick"],uA={key:1,class:"stl-caret-sp"},dA={key:3,class:"stl-dot-sp"},pA={class:"stl-name"},gA={key:4,class:"stl-num"},fA={key:5,class:"stl-num"},hA={class:"stl-x-slot"},mA=["title","aria-label"],bA={key:0,class:"stl-empty stl-loading"},$A={key:1,class:"stl-empty"},_A={key:2,class:"stl-empty"},yA={key:3,class:"stl-overflow"},vA={class:"stl-overflow-hint"},wA=["data-theme","title","aria-label"],kA={class:"stl-reopen-label"},wh=nn({__name:"SemanticTreeLegend",props:{nodes:{type:Array,default:()=>[]},pinNote:{type:Boolean,default:null},tabs:{type:Array,default:null},defaultTab:{type:Number,default:0},columns:{type:Array,default:()=>["count","pop"]},title:{type:String,default:"Legend"},hideTabs:{type:Boolean,default:!1},columnLabel:{type:String,default:""},open:{type:Boolean,default:null},exportEnabled:{type:Boolean,default:!1},exportCards:{type:Boolean,default:!1},progress:{type:Object,default:null}},emits:["select","update:open","export"],setup(e,{emit:t}){const o=(Y,ce)=>no(Y)||ce,n=Y=>String(Y).split(".").pop().replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/^./,ce=>ce.toUpperCase()),{t:a,te:r,locale:s}=rc("",{fallback:Y=>n(Y)});function i(Y){const ce="tabs."+((Y==null?void 0:Y.i18nKey)||(Y==null?void 0:Y.id));return Y&&r(ce)?a(ce):(Y==null?void 0:Y.label)??""}function l(Y){const ce="legend.tabInfo."+((Y==null?void 0:Y.i18nKey)||(Y==null?void 0:Y.id));return Y&&r(ce)?a(ce):typeof(Y==null?void 0:Y.info)=="string"?Y.info:""}const c=e,u=t,p=CS(),f=je("legendProgress",null),x=oe(()=>c.progress??ge(f)??null),S=oe(()=>x.value?a("legend.progress.title"):c.title),y=oe(()=>((p==null?void 0:p.theme.value)||"dark")==="dark"),h=je("dataStore",null),_=je("normalizedPeopleGroups",null),g=Y=>!!(Y&&Ti(Y)&&eu(Y)),b=oe(()=>{var ce,Ne;if(c.pinNote!==null)return c.pinNote;if((ce=_==null?void 0:_.value)!=null&&ce.length)return _.value.slice(0,20).some(g);const Y=(h==null?void 0:h.sources)||{};for(const ee in Y)if((((Ne=Y[ee])==null?void 0:Ne.features)||[]).slice(0,20).some(g))return!0;return!1});function d(Y,ce){var Ne;for(const ee of Y||[]){if((ee==null?void 0:ee.id)===ce)return ee;const ie=(Ne=ee==null?void 0:ee.children)!=null&&Ne.length?d(ee.children,ce):null;if(ie)return ie}return null}function w(Y){const ce=d(K.value,Y);ce&&ne(ce)}function m(Y,ce=0){return Y!=null&&Y.length?Math.max(...Y.map(Ne=>m(Ne.children??[],ce+1))):ce}function k(Y,ce,Ne=0){return Ne===ce?Y.slice():Y.flatMap(ee=>k(ee.children??[],ce,Ne+1))}function E(Y,ce,Ne=[]){var ee;for(const ie of Y){if(ie.id===ce)return Ne;if((ee=ie.children)!=null&&ee.length){const be=E(ie.children,ce,[...Ne,ie]);if(be)return be}}return null}function L(Y,ce=new Set){var Ne;if(!((Ne=Y==null?void 0:Y.children)!=null&&Ne.length))return ce;for(const ee of Y.children)ce.add(ee.id),L(ee,ce);return ce}function H(Y,ce="root"){var ee;if(!Array.isArray(Y))return[];const Ne=[];for(const ie of Y){if(!ie||typeof ie!="object"){try{console.warn("[SemanticTreeLegend] dropped null node under",ce)}catch{}continue}Ne.push((ee=ie.children)!=null&&ee.length?{...ie,children:H(ie.children,ie.label||ie.id||ce)}:ie)}return Ne}const K=oe(()=>H(c.nodes)),J=oe(()=>m(K.value)),v=oe(()=>{const Y=c.tabs??[],ce=Y.length||J.value+1;return Array.from({length:ce},(Ne,ee)=>Y[ee]??{id:`gen${ee+1}`,label:`Generation ${ee+1}`})}),N=we(Math.max(0,c.defaultTab|0)),$=we(new Set),A=we(null),I=we(c.open!==null?c.open:!0),F=we(null),W=we(!1),z=we(!1),{scrimRef:Z,scrimStyle:j}=bh(W),ae=we(null),_e=we("desc"),Te=oe({get:()=>{var Y;return c.hideTabs?0:p&&!((Y=p.activeTabTouched)!=null&&Y.value)?Math.min(Math.max(0,c.defaultTab|0),Math.max(0,v.value.length-1)):p?p.activeTab.value:N.value},set:Y=>{c.hideTabs||(p?(p.activeTab.value=Y,p.activeTabTouched&&(p.activeTabTouched.value=!0)):N.value=Y)}}),xe=oe({get:()=>p?p.selection.value:A.value,set:Y=>{p?p.selection.value=Y:A.value=Y}}),Ae=oe(()=>{var Y;return((Y=xe.value)==null?void 0:Y.id)||null}),X=we(null);Ue(()=>c.open,Y=>{Y!==null&&(I.value=Y)}),Ue(()=>K.value,()=>{var be,$e;const Y=((be=xe.value)==null?void 0:be.id)||null;if(Y){const ke=d(K.value,Y);if(ke){xe.value=ke;return}}const ce=p?($e=p.activeTabTouched)==null?void 0:$e.value:!1,Ne=ce?p==null?void 0:p.activeTab.value:void 0,ee=Math.min(Math.max(0,c.defaultTab|0),Math.max(0,v.value.length-1)),ie=typeof Ne=="number"&&Ne>=0?Ne:ee;p?(p.activeTab.value=ie,!ce&&p.activeTabTouched&&(p.activeTabTouched.value=!1)):N.value=ie,$.value=new Set,xe.value=null,u("select",null)},{deep:!1});let q=null;p&&Ue(()=>p.selection.value,Y=>{if((Y==null?void 0:Y.id)===q)return;if(!Y){q=null;return}q=Y.id;const ce=E(K.value,Y.id)||[];typeof Y.depth=="number"&&(Te.value=Math.min(Y.depth,v.value.length-1));const Ne=new Set;ce.forEach(ee=>Ne.add(ee.id)),$.value=Ne,u("select",Y)});function pe(Y,ce){const Ne=(ce.pop??0)-(Y.pop??0);return Ne!==0?Ne:(ce.count??0)-(Y.count??0)}const Le=oe(()=>{if(!ae.value)return pe;const Y=ae.value,ce=_e.value==="asc"?1:-1;return(Ne,ee)=>((Ne[Y]??0)-(ee[Y]??0))*ce});function M(Y){ae.value===Y?_e.value==="desc"?_e.value="asc":(ae.value=null,_e.value="desc"):(ae.value=Y,_e.value="desc")}const O=we([]),B=we(!1);let V=-1;function se(Y){if(O.value[Y]){B.value=!1;return}B.value=!0,V=Y,setTimeout(()=>{if(V!==Y)return;const ce=[...k(K.value,Y)].sort(Le.value),Ne=[...O.value];Ne[Y]=ce,O.value=Ne,B.value=!1},0)}Ue(Te,Y=>se(Y),{immediate:!0}),Ue(()=>[K.value,ae.value,_e.value],()=>{O.value=[],se(Te.value)},{deep:!1});const G=oe(()=>O.value[Te.value]||[]),ue=oe(()=>{var ce;const Y=(ce=v.value[Te.value])==null?void 0:ce.topLimit;return Y?G.value.slice(0,Y):G.value}),me=oe(()=>{var ce;const Y=(ce=v.value[Te.value])==null?void 0:ce.topLimit;return Y?Math.max(0,G.value.length-Y):0});function T(Y,ce,Ne,ee,ie){var be;for(const $e of ce)$e&&(Y.push({node:$e,relDepth:Ne,parent:ee,ancestors:ie}),$.value.has($e.id)&&((be=$e.children)!=null&&be.length)&&T(Y,[...$e.children].sort(Le.value),Ne+1,$e,[...ie,$e]))}const P=oe(()=>{const Y=[];T(Y,ue.value,0,null,[]);for(let ce=0;ceie+1&&Ie.ancestors[ie]}if(ie===Ne.relDepth-1){let ke=!1;for(let Ie=ce+1;IeAe.value!==null),le=oe(()=>c.columns.includes("count")),ve=oe(()=>c.columns.includes("pop")),de=oe(()=>xe.value?L(xe.value):new Set),U=oe(()=>{var be;const Y=xe.value;if(!Y)return null;const ce=E(K.value,Y.id);if(!ce||!ce.length)return null;const Ne=ce[ce.length-1],ee=ce.length-1,ie=((be=v.value[ee])==null?void 0:be.label)||"Parent";return{node:Ne,tabName:ie,depth:ee}});function ne(Y){Ae.value===Y.id?(q=null,xe.value=null,u("select",null)):(q=Y.id,xe.value=Y,u("select",Y))}function Ee(Y,ce){ce==null||ce.stopPropagation();const Ne=new Set($.value),ee=Ne.has(Y);if(ee?Ne.delete(Y):Ne.add(Y),$.value=Ne,ee&&xe.value){const ie=E(K.value,xe.value.id);ie&&ie.some(be=>be.id===Y)&&(q=null,xe.value=null,u("select",null))}}function Re(){const Y=U.value;Y!=null&&Y.node&&(!c.hideTabs&&typeof Y.depth=="number"&&(Te.value=Y.depth),$.value=new Set,ne(Y.node))}function tt(Y){if(Te.value===Y){F.value=F.value===Y?null:Y;return}Te.value=Y,$.value=new Set,q=null,xe.value=null,F.value=null,u("select",null)}function kt(Y){Y==null||Y.stopPropagation(),q=null,xe.value=null,u("select",null)}function $t(Y,ce){ce==null||ce.stopPropagation(),F.value=F.value===Y?null:Y}function Nt(Y){Y==null||Y.stopPropagation(),W.value=!W.value}function Yt(Y){W.value=!1,z.value=!1,u("export",Y)}Ue(Ae,Y=>{Y||(W.value=!1,z.value=!1)}),Ue(W,Y=>{Y||(z.value=!1)});function vt(Y){let ce=Y.parentElement;for(;ce;){const Ne=getComputedStyle(ce).overflowY;if((Ne==="auto"||Ne==="scroll")&&ce.scrollHeight>ce.clientHeight+1){const ee=Y.getBoundingClientRect(),ie=ce.getBoundingClientRect();ce.scrollTop+=ee.top-ie.top-8}ce=ce.parentElement}}let Lt=0;Ue(Ae,async Y=>{if(!Y)return;const ce=++Lt,Ne=X.value;if(!Ne)return;await Qt();const ee=(ie=0)=>{if(ce!==Lt)return;const be=Ne.querySelector(`[data-stl-node-id="${CSS.escape(String(Y))}"]`);be&&vt(be),ie<6&&setTimeout(()=>ee(ie+1),70)};ee(0)});function xo(){const Y=s&&(s.value??s);return typeof Y=="string"&&Y?Y:void 0}function Go(Y){return Y?Y>=1e3?new Intl.NumberFormat(xo(),{notation:"compact",maximumFractionDigits:Y>=1e6&&Y<1e7?1:0}).format(Y):Y.toLocaleString(xo()):"—"}function ka(Y){return Y!=null?Y.toLocaleString(xo()):"—"}function ea(Y){var ce;return{selected:Ae.value===Y.node.id,descendant:Q.value&&de.value.has(Y.node.id),child:Y.relDepth>0,leaf:!((ce=Y.node.children)!=null&&ce.length)}}return Kt(` +`,"research-map-filter-panel"),(m,k)=>(re(),he("div",Qx,[R("div",eS,[R("label",null,ye(t("population","Population")),1),R("div",tS,[R("input",{type:"number",min:"0",placeholder:t("min","min"),value:r.value,onInput:k[0]||(k[0]=E=>r.value=E.target.value)},null,40,oS),R("input",{type:"number",min:"0",placeholder:t("max","max"),value:s.value,onInput:k[1]||(k[1]=E=>s.value=E.target.value)},null,40,nS)])]),R("div",aS,[R("label",null,ye(t("engagement","Engagement")),1),R("select",{value:i.value,onChange:k[2]||(k[2]=E=>i.value=E.target.value)},[R("option",sS,ye(t("any","Any")),1),R("option",iS,ye(t("engaged","Engaged")),1),R("option",lS,ye(t("unengaged","Unengaged")),1)],40,rS)]),R("div",cS,[R("label",null,ye(t("adoption","Adoption")),1),R("select",{value:l.value,onChange:k[3]||(k[3]=E=>l.value=E.target.value)},[R("option",dS,ye(t("any","Any")),1),R("option",pS,ye(t("adopted","Adopted")),1),R("option",gS,ye(t("unadopted","Unadopted")),1)],40,uS)]),R("div",fS,[R("label",null,ye(t("language","Language")),1),Fs(R("input",{type:"search","onUpdate:modelValue":k[4]||(k[4]=E=>S.value=E),placeholder:t("search_languages","Search languages…")},null,8,hS),[[pp,S.value]]),R("div",mS,[h.value.length?Me("",!0):(re(),he("span",bS,ye(t("no_languages","No languages loaded yet")),1)),(re(!0),he(et,null,so(h.value,E=>(re(),he("button",{key:E,class:Ge(["rm-chip",{active:g(E)}]),onClick:L=>f(E)},ye(E),11,$S))),128))])]),R("div",_S,[R("label",null,ye(t("religion","Religion")),1),Fs(R("input",{type:"search","onUpdate:modelValue":k[5]||(k[5]=E=>y.value=E),placeholder:t("search_religions","Search religions…")},null,8,yS),[[pp,y.value]]),R("div",vS,[_.value.length?Me("",!0):(re(),he("span",wS,ye(t("no_religions","No religions loaded yet")),1)),(re(!0),he(et,null,so(_.value,E=>(re(),he("button",{key:E,class:Ge(["rm-chip",{active:b(E)}]),onClick:L=>x(E)},ye(E),11,kS))),128))])]),R("div",xS,[R("span",SS,ye(t("active_count","{n} active").replace("{n}",w.value)),1),R("button",{class:"rm-link-btn",onClick:d},ye(t("reset_all","Reset all")),1)])]))}},vh="pplrInstance";function PS(e){return{instanceId:e,selection:we(null),activeTab:we(0),activeTabTouched:we(!1),isSearching:we(!1),geocoderText:we(""),pinDetail:we(null),theme:we("dark")}}function LS(e){zt(vh,e)}function CS(){return je(vh,null)}const TS="",ES=["data-theme"],MS={class:"stl-inner"},RS={class:"stl-tb-caret-slot"},FS=["title","aria-label","aria-expanded"],NS={class:"stl-tb-eyebrow"},IS=["title","aria-label"],OS=["title"],DS={key:2,class:"stl-tb-title"},zS={key:3,class:"stl-export"},jS=["aria-expanded","title","aria-label"],BS={class:"stl-export-label"},GS={class:"stl-export-menu",role:"menu"},HS={class:"stl-export-item-label"},US={class:"stl-export-item-label"},WS=["aria-expanded"],KS={class:"stl-export-item-label"},qS=["aria-label"],VS={class:"stl-export-note"},YS={class:"stl-export-item-label"},ZS={class:"stl-export-item-label"},JS={key:0,class:"stl-tabs-wrap"},XS={class:"stl-tabs"},QS=["onClick"],eA=["title","onClick"],tA={key:0,class:"stl-info-pop"},oA={class:"stl-col-hdr"},nA={class:"stl-hdr-name"},aA=["title"],rA={key:0,class:"stl-sort-arrow"},sA=["title"],iA={key:0,class:"stl-sort-arrow"},lA=["data-stl-node-id","onClick"],cA=["aria-expanded","aria-label","onClick"],uA={key:1,class:"stl-caret-sp"},dA={key:3,class:"stl-dot-sp"},pA={class:"stl-name"},gA={key:4,class:"stl-num"},fA={key:5,class:"stl-num"},hA={class:"stl-x-slot"},mA=["title","aria-label"],bA={key:0,class:"stl-empty stl-loading"},$A={key:1,class:"stl-empty"},_A={key:2,class:"stl-empty"},yA={key:3,class:"stl-overflow"},vA={class:"stl-overflow-hint"},wA=["data-theme","title","aria-label"],kA={class:"stl-reopen-label"},wh=nn({__name:"SemanticTreeLegend",props:{nodes:{type:Array,default:()=>[]},pinNote:{type:Boolean,default:null},tabs:{type:Array,default:null},defaultTab:{type:Number,default:0},columns:{type:Array,default:()=>["count","pop"]},title:{type:String,default:"Legend"},hideTabs:{type:Boolean,default:!1},columnLabel:{type:String,default:""},open:{type:Boolean,default:null},exportEnabled:{type:Boolean,default:!1},exportCards:{type:Boolean,default:!1},progress:{type:Object,default:null}},emits:["select","update:open","export"],setup(e,{emit:t}){const o=(Y,ce)=>no(Y)||ce,n=Y=>String(Y).split(".").pop().replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/^./,ce=>ce.toUpperCase()),{t:a,te:r,locale:s}=rc("",{fallback:Y=>n(Y)});function i(Y){const ce="tabs."+((Y==null?void 0:Y.i18nKey)||(Y==null?void 0:Y.id));return Y&&r(ce)?a(ce):(Y==null?void 0:Y.label)??""}function l(Y){const ce="legend.tabInfo."+((Y==null?void 0:Y.i18nKey)||(Y==null?void 0:Y.id));return Y&&r(ce)?a(ce):typeof(Y==null?void 0:Y.info)=="string"?Y.info:""}const c=e,u=t,p=CS(),f=je("legendProgress",null),x=oe(()=>c.progress??ge(f)??null),S=oe(()=>x.value?a("legend.progress.title"):c.title),y=oe(()=>((p==null?void 0:p.theme.value)||"dark")==="dark"),h=je("dataStore",null),_=je("normalizedPeopleGroups",null),g=Y=>!!(Y&&Ti(Y)&&eu(Y)),b=oe(()=>{var ce,Ne;if(c.pinNote!==null)return c.pinNote;if((ce=_==null?void 0:_.value)!=null&&ce.length)return _.value.slice(0,20).some(g);const Y=(h==null?void 0:h.sources)||{};for(const ee in Y)if((((Ne=Y[ee])==null?void 0:Ne.features)||[]).slice(0,20).some(g))return!0;return!1});function d(Y,ce){var Ne;for(const ee of Y||[]){if((ee==null?void 0:ee.id)===ce)return ee;const ie=(Ne=ee==null?void 0:ee.children)!=null&&Ne.length?d(ee.children,ce):null;if(ie)return ie}return null}function w(Y){const ce=d(K.value,Y);ce&&ne(ce)}function m(Y,ce=0){return Y!=null&&Y.length?Math.max(...Y.map(Ne=>m(Ne.children??[],ce+1))):ce}function k(Y,ce,Ne=0){return Ne===ce?Y.slice():Y.flatMap(ee=>k(ee.children??[],ce,Ne+1))}function E(Y,ce,Ne=[]){var ee;for(const ie of Y){if(ie.id===ce)return Ne;if((ee=ie.children)!=null&&ee.length){const be=E(ie.children,ce,[...Ne,ie]);if(be)return be}}return null}function L(Y,ce=new Set){var Ne;if(!((Ne=Y==null?void 0:Y.children)!=null&&Ne.length))return ce;for(const ee of Y.children)ce.add(ee.id),L(ee,ce);return ce}function H(Y,ce="root"){var ee;if(!Array.isArray(Y))return[];const Ne=[];for(const ie of Y){if(!ie||typeof ie!="object"){try{console.warn("[SemanticTreeLegend] dropped null node under",ce)}catch{}continue}Ne.push((ee=ie.children)!=null&&ee.length?{...ie,children:H(ie.children,ie.label||ie.id||ce)}:ie)}return Ne}const K=oe(()=>H(c.nodes)),J=oe(()=>m(K.value)),v=oe(()=>{const Y=c.tabs??[],ce=Y.length||J.value+1;return Array.from({length:ce},(Ne,ee)=>Y[ee]??{id:`gen${ee+1}`,label:`Generation ${ee+1}`})}),N=we(Math.max(0,c.defaultTab|0)),$=we(new Set),A=we(null),I=we(c.open!==null?c.open:!0),F=we(null),W=we(!1),z=we(!1),{scrimRef:Z,scrimStyle:j}=bh(W),ae=we(null),_e=we("desc"),Te=oe({get:()=>{var Y;return c.hideTabs?0:p&&!((Y=p.activeTabTouched)!=null&&Y.value)?Math.min(Math.max(0,c.defaultTab|0),Math.max(0,v.value.length-1)):p?p.activeTab.value:N.value},set:Y=>{c.hideTabs||(p?(p.activeTab.value=Y,p.activeTabTouched&&(p.activeTabTouched.value=!0)):N.value=Y)}}),xe=oe({get:()=>p?p.selection.value:A.value,set:Y=>{p?p.selection.value=Y:A.value=Y}}),Ae=oe(()=>{var Y;return((Y=xe.value)==null?void 0:Y.id)||null}),X=we(null);Ue(()=>c.open,Y=>{Y!==null&&(I.value=Y)}),Ue(()=>K.value,()=>{var be,$e;const Y=((be=xe.value)==null?void 0:be.id)||null;if(Y){const ke=d(K.value,Y);if(ke){xe.value=ke;return}}const ce=p?($e=p.activeTabTouched)==null?void 0:$e.value:!1,Ne=ce?p==null?void 0:p.activeTab.value:void 0,ee=Math.min(Math.max(0,c.defaultTab|0),Math.max(0,v.value.length-1)),ie=typeof Ne=="number"&&Ne>=0?Ne:ee;p?(p.activeTab.value=ie,!ce&&p.activeTabTouched&&(p.activeTabTouched.value=!1)):N.value=ie,$.value=new Set,xe.value=null,u("select",null)},{deep:!1});let q=null;p&&Ue(()=>p.selection.value,Y=>{if((Y==null?void 0:Y.id)===q)return;if(!Y){q=null;return}q=Y.id;const ce=E(K.value,Y.id)||[];typeof Y.depth=="number"&&(Te.value=Math.min(Y.depth,v.value.length-1));const Ne=new Set;ce.forEach(ee=>Ne.add(ee.id)),$.value=Ne,u("select",Y)});function pe(Y,ce){const Ne=(ce.pop??0)-(Y.pop??0);return Ne!==0?Ne:(ce.count??0)-(Y.count??0)}const Le=oe(()=>{if(!ae.value)return pe;const Y=ae.value,ce=_e.value==="asc"?1:-1;return(Ne,ee)=>((Ne[Y]??0)-(ee[Y]??0))*ce});function M(Y){ae.value===Y?_e.value==="desc"?_e.value="asc":(ae.value=null,_e.value="desc"):(ae.value=Y,_e.value="desc")}const O=we([]),B=we(!1);let V=-1;function se(Y){if(O.value[Y]){B.value=!1;return}B.value=!0,V=Y,setTimeout(()=>{if(V!==Y)return;const ce=[...k(K.value,Y)].sort(Le.value),Ne=[...O.value];Ne[Y]=ce,O.value=Ne,B.value=!1},0)}Ue(Te,Y=>se(Y),{immediate:!0}),Ue(()=>[K.value,ae.value,_e.value],()=>{O.value=[],se(Te.value)},{deep:!1});const G=oe(()=>O.value[Te.value]||[]),ue=oe(()=>{var ce;const Y=(ce=v.value[Te.value])==null?void 0:ce.topLimit;return Y?G.value.slice(0,Y):G.value}),me=oe(()=>{var ce;const Y=(ce=v.value[Te.value])==null?void 0:ce.topLimit;return Y?Math.max(0,G.value.length-Y):0});function T(Y,ce,Ne,ee,ie){var be;for(const $e of ce)$e&&(Y.push({node:$e,relDepth:Ne,parent:ee,ancestors:ie}),$.value.has($e.id)&&((be=$e.children)!=null&&be.length)&&T(Y,[...$e.children].sort(Le.value),Ne+1,$e,[...ie,$e]))}const P=oe(()=>{const Y=[];T(Y,ue.value,0,null,[]);for(let ce=0;ceie+1&&Ie.ancestors[ie]}if(ie===Ne.relDepth-1){let ke=!1;for(let Ie=ce+1;IeAe.value!==null),le=oe(()=>c.columns.includes("count")),ve=oe(()=>c.columns.includes("pop")),de=oe(()=>xe.value?L(xe.value):new Set),U=oe(()=>{var be;const Y=xe.value;if(!Y)return null;const ce=E(K.value,Y.id);if(!ce||!ce.length)return null;const Ne=ce[ce.length-1],ee=ce.length-1,ie=((be=v.value[ee])==null?void 0:be.label)||"Parent";return{node:Ne,tabName:ie,depth:ee}});function ne(Y){Ae.value===Y.id?(q=null,xe.value=null,u("select",null)):(q=Y.id,xe.value=Y,u("select",Y))}function Ee(Y,ce){ce==null||ce.stopPropagation();const Ne=new Set($.value),ee=Ne.has(Y);if(ee?Ne.delete(Y):Ne.add(Y),$.value=Ne,ee&&xe.value){const ie=E(K.value,xe.value.id);ie&&ie.some(be=>be.id===Y)&&(q=null,xe.value=null,u("select",null))}}function Re(){const Y=U.value;Y!=null&&Y.node&&(!c.hideTabs&&typeof Y.depth=="number"&&(Te.value=Y.depth),$.value=new Set,ne(Y.node))}function tt(Y){if(Te.value===Y){F.value=F.value===Y?null:Y;return}Te.value=Y,$.value=new Set,q=null,xe.value=null,F.value=null,u("select",null)}function kt(Y){Y==null||Y.stopPropagation(),q=null,xe.value=null,u("select",null)}function $t(Y,ce){ce==null||ce.stopPropagation(),F.value=F.value===Y?null:Y}function Nt(Y){Y==null||Y.stopPropagation(),W.value=!W.value}function Yt(Y){W.value=!1,z.value=!1,u("export",Y)}Ue(Ae,Y=>{Y||(W.value=!1,z.value=!1)}),Ue(W,Y=>{Y||(z.value=!1)});function vt(Y){let ce=Y.parentElement;for(;ce;){const Ne=getComputedStyle(ce).overflowY;if((Ne==="auto"||Ne==="scroll")&&ce.scrollHeight>ce.clientHeight+1){const ee=Y.getBoundingClientRect(),ie=ce.getBoundingClientRect();ce.scrollTop+=ee.top-ie.top-8}ce=ce.parentElement}}let Lt=0;Ue(Ae,async Y=>{if(!Y)return;const ce=++Lt,Ne=X.value;if(!Ne)return;await Qt();const ee=(ie=0)=>{if(ce!==Lt)return;const be=Ne.querySelector(`[data-stl-node-id="${CSS.escape(String(Y))}"]`);be&&vt(be),ie<6&&setTimeout(()=>ee(ie+1),70)};ee(0)});function So(){const Y=s&&(s.value??s);return typeof Y=="string"&&Y?Y:void 0}function Go(Y){return Y?Y>=1e3?new Intl.NumberFormat(So(),{notation:"compact",maximumFractionDigits:Y>=1e6&&Y<1e7?1:0}).format(Y):Y.toLocaleString(So()):"—"}function ka(Y){return Y!=null?Y.toLocaleString(So()):"—"}function ea(Y){var ce;return{selected:Ae.value===Y.node.id,descendant:Q.value&&de.value.has(Y.node.id),child:Y.relDepth>0,leaf:!((ce=Y.node.children)!=null&&ce.length)}}return Kt(` .stl-inner { --stl-pad-x: 10px; --stl-gap: 6px; @@ -1496,7 +1496,7 @@ .map-scroll-edge { position:absolute;top:0;bottom:0;width:calc(var(--map-btn-size,32px) + 6px);z-index:2;touch-action:pan-y;pointer-events:auto;background:transparent; } .map-scroll-edge--left { left:0; } .map-scroll-edge--right { right:0; } -`,"research-map");const s=je("profileConfig"),i=je("mapboxToken"),l=Jg(s),c=oe(()=>{var C;return((C=s==null?void 0:s.value)==null?void 0:C.search)===!1?!1:l==="mapbox"}),u=oe(()=>{var C;return((C=s==null?void 0:s.value)==null?void 0:C.legendTools)!==!1}),p=oe(()=>c.value?null:u.value&&$h(($==null?void 0:$.value)??$)?"56px":"14px"),f=x1(l),x=je("dataSource");je("colorSet");const S=je("instanceId",null),y=(()=>{var D;const C=(D=s==null?void 0:s.value)==null?void 0:D.locale;return C&&Ja.includes(C)?C:null})(),{locale:h,t:_,te:g}=jt();y&&(h.value=y);function b(C){const D="tabs."+((C==null?void 0:C.i18nKey)||(C==null?void 0:C.id));return C&&g(D)?_(D):(C==null?void 0:C.label)??""}const d=je("mapStore"),w=je("dataStore"),m=je("uiStore"),k=o1(m),E={doxaRegions:!0,adoption:!1,share:!0,hamburgerMenu:!1,geocoderPersistAcrossTabs:!1},H=[{id:"prayer",colorStrategy:"prayerProgress",legend:"prayer",popup:"pray",feature:null},{id:"adoption",colorStrategy:"adoption",legend:"adoption",popup:"adopt",feature:"adoption"},{id:"engagement",colorStrategy:"engagement",legend:"engagement",popup:"pray",feature:null,sepAfter:!0},{id:"affinity-blocks",colorStrategy:"affinityBlock",legend:"affinity-block",popup:"pray",feature:null},{id:"doxa-regions",colorStrategy:"doxaRegion",legend:"doxa-regions",popup:"pray",feature:"doxaRegions",i18nKey:"regions"},{id:"language-families",colorStrategy:"languageFamily",legend:"language-family",popup:"pray",feature:null},{id:"religion",colorStrategy:"religion",legend:"religion",popup:"pray",feature:null}].filter(C=>!C.feature||E[C.feature]),K=oe(()=>H),J=oe(()=>!0),v=we(null),N=oe(()=>K.value.find(C=>C.id===v.value)??K.value[0]);k.setLook(k.lookFor((wm=N.value)==null?void 0:wm.colorStrategy)),Ue(()=>{var C;return(C=N.value)==null?void 0:C.colorStrategy},C=>k.setLook(k.lookFor(C),q.value));const $=oe(()=>{var C;return((C=N.value)==null?void 0:C.legend)??"default"}),A=oe(()=>{var C;return((C=N.value)==null?void 0:C.popup)??"pray"}),I={"language-families":"search.tabPlaceholder.languageFamilies","affinity-blocks":"search.tabPlaceholder.affinityBlocks","doxa-regions":"search.tabPlaceholder.regions",religion:"search.tabPlaceholder.religion"},F=oe(()=>{var D;const C=I[(D=N.value)==null?void 0:D.id];return C&&g(C)?_(C):""}),W={"affinity-blocks":"people-groups",prayer:"people-groups",adoption:"people-groups",engagement:"people-groups","language-families":"language","doxa-regions":"regions",religion:"religion"},z=oe(()=>{var C;return W[(C=N.value)==null?void 0:C.id]||""}),Z=(S==null?void 0:S.value)||S||"research-map-"+Date.now().toString(36)+"-"+Math.random().toString(36).slice(2,8);zt("mapId",Z);const j=we(null),ae=we(null),_e=we(null),Te=new Map;Ue(()=>v==null?void 0:v.value,async(C,D)=>{var Pe,Se,Be;if(D!==void 0&&C!==D){D&&Te.set(D,m.legendState);const Ye=Te.get(C)||(m.isMobile?"collapsed":"open");Ye==="fullyOpen"?(Pe=m.fullyOpenLegend)==null||Pe.call(m):Ye==="open"?(Se=m.openLegend)==null||Se.call(m):(Be=m.collapseLegend)==null||Be.call(m)}await Qt();const te=ae.value,fe=te==null?void 0:te.querySelector(".rm-tab.active");if(te&&fe&&te.scrollWidth>te.clientWidth+1){const Ye=te.getBoundingClientRect(),ze=fe.getBoundingClientRect(),st=te.scrollLeft+(ze.left-Ye.left)-(Ye.width-ze.width)/2,Ot=te.scrollWidth-te.clientWidth,Je=Math.max(0,Math.min(Ot,st));typeof te.scrollTo=="function"?te.scrollTo({left:Je,behavior:"smooth"}):te.scrollLeft=Je}});const xe=we(null),Ae=we(!1),X=we(null),{map:q,initializeMap:pe,destroy:Le}=B1({containerRef:xe,accessToken:i.value,provider:l,style:((km=s==null?void 0:s.value)==null?void 0:km.style)??k.bootStyle(),config:k.bootConfig,center:((xm=s==null?void 0:s.value)==null?void 0:xm.center)??Bo.center??[20,10],zoom:((Sm=s==null?void 0:s.value)==null?void 0:Sm.zoom)??Bo.zoom??1.8,pitch:((Am=s==null?void 0:s.value)==null?void 0:Am.pitch)??Bo.pitch??0,bearing:((Pm=s==null?void 0:s.value)==null?void 0:Pm.bearing)??Bo.bearing??0,minZoom:((Lm=s==null?void 0:s.value)==null?void 0:Lm.minZoom)??Bo.minZoom??.5,maxZoom:rP}),M=new lh({sourcesConfig:ga,locale:y,profileConfig:s}),O=Gv({mapId:Z,dataSourceId:x.value,dataSourceManager:M,dataStore:w,markRaw:C=>C});async function B(C){const D=String(C||"").trim().toUpperCase();if(D.length!==3)return;await Nn();const te=q.value;if(!te||!te.getLayer("regions-fill"))return;te.setLayoutProperty("regions-fill","visibility","visible"),te.setLayoutProperty("regions-border","visibility","visible");const fe=["literal",[D]];te.setPaintProperty("regions-fill","fill-opacity",["case",["in",["get","iso_3166_1_alpha_3"],fe],.3,.02]),te.setPaintProperty("regions-border","line-color",["case",["in",["get","iso_3166_1_alpha_3"],fe],"#111827","rgba(60,60,80,0.15)"]),te.setPaintProperty("regions-border","line-width",["case",["in",["get","iso_3166_1_alpha_3"],fe],2.5,.3]),te.getLayer("language-family-pins")&&te.moveLayer("language-family-pins")}const V=xv({getMap:()=>q.value,mapId:Z,getLanguageFamilyColor:C=>{var te,fe;const D=sn((te=N.value)==null?void 0:te.colorStrategy);return((fe=D==null?void 0:D.colors)==null?void 0:fe[C])??(D==null?void 0:D.fallback)??"#7c8cf8"},getNormalizedPeopleGroups:()=>O.normalizedPeopleGroups.value||[]});Vf({getMap:()=>q.value,mapId:Z,getLanguageFamilyColor:()=>"#7c8cf8",getNormalizedPeopleGroups:()=>O.normalizedPeopleGroups.value||[]});const se=Pv({getMap:()=>q.value,mapId:Z,mapStore:d,defaultCenter:((Cm=s==null?void 0:s.value)==null?void 0:Cm.center)??[20,10],defaultZoom:((Tm=s==null?void 0:s.value)==null?void 0:Tm.zoom)??1.8}),G=Cv({getMap:()=>q.value,getActivePinColor:C=>{var te,fe;const D=sn(((te=N.value)==null?void 0:te.colorStrategy)??"languageFamily");return((fe=D==null?void 0:D.getColor)==null?void 0:fe.call(D,C))??"#1a1a1a"}});let ue=null,me=null;function T(){return ue?Promise.resolve(ue):(me||(me=Mt(()=>Promise.resolve().then(()=>RP),void 0).then(C=>(ue=C.useMapClustering({getMap:()=>q.value,mapId:Z,mapStore:d,getPeopleGroups:()=>O.normalizedPeopleGroups.value||[],getClusterColor:()=>{var D,te;return((te=sn((D=N.value)==null?void 0:D.colorStrategy))==null?void 0:te.fallback)??"#7c8cf8"}}),ue))),me)}const P={setData(C){var D;(D=ue==null?void 0:ue.setData)==null||D.call(ue,C)},applyFilters(C){var D;(D=ue==null?void 0:ue.applyFilters)==null||D.call(ue,C)},refreshColors(){var C;(C=ue==null?void 0:ue.refreshColors)==null||C.call(ue)},cleanup(){var C;(C=ue==null?void 0:ue.cleanup)==null||C.call(ue)},async setEnabled(C){var D,te;(te=(D=await T()).setEnabled)==null||te.call(D,C)},async setMode(C){var D,te;(te=(D=await T()).setMode)==null||te.call(D,C)},_pendingSelectionFilter:null,setSelectionFilter(C){this._pendingSelectionFilter=C||null,ue!=null&&ue.setSelectionFilter&&ue.setSelectionFilter(C)},flushSelectionFilter(){ue!=null&&ue.setSelectionFilter&&ue.setSelectionFilter(this._pendingSelectionFilter)}},Q=Qr({});zt("normalizedPeopleGroups",O.normalizedPeopleGroups);const le=Nv(()=>q.value),ve=PS(Z);LS(ve);const de=ZA({map:q,activeTab:N,countryOutline:le,regionIdle:Xn,mapFly:se,pplrInstance:ve,mapId:Z}),U=de.clearCountryHighlight,ne=de.flatItemsToStlNodes,Ee=de.onLegendRowClick,Re=de.bridgeSelection,{onPeopleGroupResult:tt,onAggregateResult:kt,onClear:$t,clearGeocoderProgrammatic:Nt}=Hv({map:q,geocoderRef:_e,clustering:P,mapStore:d,uiStore:m,mapLayers:V,pplrInstance:ve,onSemanticTreeSelect:ct,switchTab:gn,activeTabId:v,clearAllHighlights:oa,clearCountryHighlight:U,mapId:Z,legendRouters:{country:fn,region:In,religion:$o}});ve.activeTab.value=1;function Yt(C){return C==="affinity-block"?0:C==="language-family"?1:0}Ue($,C=>{ve.activeTab.value=Yt(C)});const vt={get value(){return O.normalizedPeopleGroups.value||[]}},{langTree:Lt}=Yc(vt),xo=[{id:"family",info:!0},{id:"language",info:!0},{id:"dialect",info:!0}],{affinityTree:Go}=kh(vt),ka=[{id:"bloc",info:!0},{id:"cluster",info:!0},{id:"group",info:!0},{id:"pgic",info:!0}],{regionsTree:ea}=xh(vt),Y=[{id:"region",info:!0},{id:"block",info:!0},{id:"country",info:!0}],ce=Qr(Cs(()=>$.value),Ei),Ne=ce.progress;zt("legendProgress",Ne);const ee=oe(()=>["prayer","engagement","adoption","religion"].includes($.value)),ie=oe(()=>ee.value?ne(ce.items.value):$.value==="affinity-block"?Go.value:$.value==="doxa-regions"?ea.value:Lt.value),be=oe(()=>ee.value?null:$.value==="affinity-block"?ka:$.value==="doxa-regions"?Y:xo),$e=oe(()=>ee.value),ke=oe(()=>$.value==="religion"?_("legend.colLabel.religion"):$.value==="prayer"?_("legend.colLabel.prayer"):$.value==="engagement"?_("legend.colLabel.engagement"):$.value==="adoption"?_("legend.colLabel.adoption"):ee.value?_("legend.colLabel.status"):""),Ie=oe(()=>m.legendState!=="collapsed");function Ce(C){C?m.openLegend():m.collapseLegend()}const De=oe(()=>ee.value?_("legend.titleBar.legend"):$.value==="affinity-block"?_("legend.titleBar.peopleGroups"):$.value==="doxa-regions"?_("legend.titleBar.wagfRegions"):_("legend.titleBar.languages"));zt("onSemanticTreeSelect",C=>ct(C)),zt("getActivePinColor",C=>{var te,fe;const D=sn(((te=N.value)==null?void 0:te.colorStrategy)??"languageFamily");return((fe=D==null?void 0:D.getColor)==null?void 0:fe.call(D,C))??"#1a1a1a"});const Ve=["case",["has","iso_3166_1_alpha_3"],.7,.7],Oe=["case",["has","iso_3166_1_alpha_3"],"rgba(60,60,80,0.35)","rgba(60,60,80,0.35)"],We=["case",["has","iso_3166_1_alpha_3"],.6,.6];function ht(C){if(!C||!C.getLayer("regions-fill"))return;const D=Xn,te=Se=>Array.isArray(Se)&&(Se[0]==="get"||Se[0]==="has"||Se[0]==="feature-state"||Se.some(te)),fe=Se=>Array.isArray(Se)&&(Se[0]==="zoom"||Se.some(fe)),Pe=(Se,Be)=>{if(!C.getLayer(Se))return;const Ye=C.getPaintProperty(Se,Be);Ye!=null&&(te(Ye)||fe(Ye)||C.setPaintProperty(Se,Be,D(Ye)))};try{Pe("regions-fill","fill-opacity"),Pe("regions-border","line-color"),Pe("regions-border","line-width")}catch{}}function _t(C,D){if(!C||!C.getLayer("regions-fill"))return;const te=Array.isArray(D)?[...new Set(D.filter(Boolean).map(ze=>String(ze).toUpperCase()))].sort():[],fe=["literal",te],Pe=te.length?["case",["in",["get","iso_3166_1_alpha_3"],fe],.85,.15]:Ve,Se=te.length?["case",["in",["get","iso_3166_1_alpha_3"],fe],"#111827","rgba(60,60,80,0.15)"]:Oe,Be=te.length?["case",["in",["get","iso_3166_1_alpha_3"],fe],2.5,.3]:We,Ye=(ze,st,Ot)=>{C.getLayer(ze)&&JSON.stringify(C.getPaintProperty(ze,st))!==JSON.stringify(Ot)&&C.setPaintProperty(ze,st,Ot)};try{Ye("regions-fill","fill-opacity",Pe),Ye("regions-border","line-color",Se),Ye("regions-border","line-width",Be)}catch{}}function ct(C){var fe,Pe,Se,Be,Ye,ze,st,Ot;const D=q.value;if(C){const Je=ee.value?YA(C,$.value):null,ot=((fe=N.value)==null?void 0:fe.id)==="doxa-regions",gt=Je?{matchExpr:Je}:{};ot&&(gt.regionPolygonSource="regions"),(Pe=se.zoomToLegendRow)==null||Pe.call(se,C,Object.keys(gt).length?gt:void 0)}if(!C){if(ee.value){const Je=$.value;Je==="prayer"?m.setPrayerFilter(null):Je==="engagement"?m.setEngagementFilter(null):Je==="adoption"?m.setAdoptionFilter(null):Je==="religion"&&m.setReligionFilter(null)}if(D&&D.getLayer("language-family-pins")){try{D.setFilter("language-family-pins",null)}catch{}t(D,null),Mo(D,null),V.syncGlowFilter(null)}D&&D.getLayer("regions-fill")&&(D.setPaintProperty("regions-fill","fill-opacity",Xn(.7)),D.setPaintProperty("regions-border","line-color",Xn("rgba(60,60,80,0.35)")),D.setPaintProperty("regions-border","line-width",Xn(.6))),d.selectedFamily&&d.selectFamily(null),d.selectedLanguage&&d.selectLanguage(null),d.selectedDialect&&((Se=d.selectDialect)==null||Se.call(d,null)),d.selectedRegion&&((Be=d.selectRegion)==null||Be.call(d,null)),Nt();return}if(ee.value){const Je=$.value;Je==="prayer"?m.setPrayerFilter(C.id):Je==="engagement"?m.setEngagementFilter(C.id):Je==="adoption"?m.setAdoptionFilter(C.id):Je==="religion"&&m.setReligionFilter(C.id);return}if(D&&D.getLayer("language-family-pins")&&C.filter){try{D.setFilter("language-family-pins",C.filter)}catch{}t(D,C.filter),Mo(D,null),V.syncGlowFilter(C.filter)}const te=String(C.id||"");if(te.startsWith("fam:"))(Ye=d.selectFamily)==null||Ye.call(d,C.label);else if(te.startsWith("lang:"))(ze=d.selectLanguage)==null||ze.call(d,C.label);else if(te.startsWith("dial:"))(st=d.selectDialect)==null||st.call(d,{key:te.slice(5),originalLabels:C.originalLabels||[]});else if(te.startsWith("bloc:")||te.startsWith("cluster:")||te.startsWith("pg:")||te.startsWith("pgic:")){if(D&&D.getLayer("language-family-pins")&&C.filter){try{D.setFilter("language-family-pins",null)}catch{}t(D,C.filter),Mo(D,C.filter),V.syncGlowFilter(C.filter)}}else if(te.startsWith("region:")||te.startsWith("block:")||te.startsWith("country:")){if(D&&D.getLayer("language-family-pins")&&C.filter){try{D.setFilter("language-family-pins",C.filter)}catch{}t(D,C.filter),Mo(D,null)}te.startsWith("region:")&&((Ot=d.selectRegion)==null||Ot.call(d,te.slice(7))),te.startsWith("region:")||_t(D,C.isoCodes||[])}}Ue(()=>m.theme,C=>{ve.theme.value=C==="dark"?"dark":"light"},{immediate:!0}),Ue(()=>d.selectedFamily,C=>{if(!C)return Re("fam",null);const D=ba(Lt.value,te=>te.id.startsWith("fam:")&&te.label===C);D&&Re("fam",{...D,depth:0})}),Ue(()=>d.selectedLanguage,C=>{if(!C)return Re("lang",null);const D=ba(Lt.value,te=>te.id.startsWith("lang:")&&te.label===C);D&&Re("lang",{...D,depth:1})}),Ue(()=>d.selectedDialect,C=>{if(!(C!=null&&C.key))return Re("dial",null);const D=`dial:${C.key}`,te=ba(Lt.value,fe=>fe.id===D);te&&Re("dial",{...te,depth:2})}),Ue(()=>d.selectedRegion,C=>{if(!C)return Re("region",null);const D=ba(ea.value,te=>te.id===`region:${C}`);D&&Re("region",{...D,depth:0})});function Ut(C){var fe;const D=ce.items.value||[];return(D.length?D:((fe=Q==null?void 0:Q.items)==null?void 0:fe.value)||[]).flatMap(Pe=>[Pe,...Pe.children||[]]).map(Pe=>({label:Pe.label,color:Pe.color})).filter(Pe=>Pe.label)}const It=we(!1);async function un(){var C,D;if(!It.value){It.value=!0;try{const[{useMapPoster:te},{defaultPosterSpec:fe},{printImageBlob:Pe}]=await Promise.all([Mt(()=>Promise.resolve().then(()=>Zh),void 0),Mt(()=>Promise.resolve().then(()=>Bh),void 0),Mt(()=>Promise.resolve().then(()=>XP),void 0)]),Se=te(()=>q.value),Be=((D=(C=q.value)==null?void 0:C.getContainer)==null?void 0:D.call(C))||null,Ye=!!Be&&Be.clientWidth>Be.clientHeight,ze=fe({widthIn:Ye?11:8.5,heightIn:Ye?8.5:11,dpi:200,orientation:Ye?"landscape":"portrait"}),st=b(N.value)||De.value||"Doxa Map";ze.dir=["ar","fa","he","ur"].includes(String(h.value||"").split("-")[0])?"rtl":"ltr",ze.layout="poster",ze.slots.title={...ze.slots.title,text:st};const Ot=Ut(!0);ze.slots.legend={...ze.slots.legend,rows:Ot,title:De.value},ze.slots.scaleBar=!1,ze.slots.north=!1;const Je=S1(q.value)==="maplibre";ze.slots.footer={...ze.slots.footer,left:"pray.doxa.life",right:new Date().toISOString().slice(0,10),attribution:Je?"© OpenFreeMap © OpenMapTiles © OpenStreetMap":"© Mapbox © OpenStreetMap"};const ot=await Se.render(ze,"png");Pe(ot,{widthIn:ze.widthIn??8.5,heightIn:ze.heightIn??11,title:st,alt:st})||console.error("[research-map] poster print: the host blocked the print frame")}catch(te){console.error("[research-map] poster export failed:",te)}finally{It.value=!1}}}const dn=oe(()=>String(_("controls.export_poster")||"Export poster…"));function Fn(C){const[D,te]=String(C).split(":");if(D==="poster")return un();if(D==="packet")return bo(te||"full")}zt("onLegendExport",Fn),zt("onLegendExport",Fn);const So=we(!1),Ho=oe(()=>It.value||So.value);zt("legendExportBusy",Ho);async function bo(C="full"){var D,te,fe,Pe;if(!_packetBusy){_packetBusy=!0;try{const[{usePosterPrints:Se},{defaultPosterSpec:Be},{useMapPoster:Ye},{selectedPinIds:ze}]=await Promise.all([Mt(()=>Promise.resolve().then(()=>u2),void 0),Mt(()=>Promise.resolve().then(()=>Bh),void 0),Mt(()=>Promise.resolve().then(()=>Zh),void 0),Mt(()=>Promise.resolve().then(()=>Av),void 0)]),st=O.normalizedPeopleGroups.value||[],Ot=[((te=(D=q.value)==null?void 0:D.getFilter)==null?void 0:te.call(D,"language-family-pins"))||null,dr].filter(Boolean);let Je=st;if(Ot.length){const bt=ze(q.value,{expressions:Ot}),mn=st.filter(Gi=>bt.has(String(Gi.uniqueId??Gi.id??"")));mn.length?Je=mn:console.warn(`[research-map] packet: ${bt.size} pin(s) selected but no rows matched; printing the full list`)}const ot=Je.length;Je.length>50&&(console.warn(`[research-map] packet truncated ${Je.length} → 50 people groups`),Je=Je.slice(0,50));const gt=Je.map(bt=>({slug:String(bt.slug||bt.uniqueId||bt.id||""),name:bt.name,population:bt.population,religion:bt.religionName||bt.religionLabel||bt.religion||"",country_code:bt.countryName||bt.countryIsoLabel||bt.country||bt.countryIso||"",image_url:bt.imageUrl||bt.image_url||""})),at=Be({widthIn:8.27,heightIn:11.69,dpi:150,orientation:"portrait"});at.slots.title={...at.slots.title,text:De.value||"Doxa Map"},at.slots.legend={...at.slots.legend,rows:Ut(!0),title:De.value};let Wt="";if(C!=="cards")try{const bt=await Ye(()=>q.value).render(at,"png");Wt=await new Promise((mn,Gi)=>{const Hi=new FileReader;Hi.onload=()=>mn(String(Hi.result)),Hi.onerror=Gi,Hi.readAsDataURL(bt)})}catch(bt){console.warn("[research-map] packet map page skipped:",(bt==null?void 0:bt.message)||bt)}const Ro=De.value||b(N.value)||"Doxa Map",Ca={id:String(((fe=N.value)==null?void 0:fe.id)||"research-map"),label:ot>Je.length?`${Ro} — ⁦${Je.length} / ${ot}⁩`:Ro,zoneKey:String(((Pe=N.value)==null?void 0:Pe.id)||"research-map")};await Se({records:()=>gt,lang:()=>String(h.value||"en").split("-")[0],label:()=>Ca.label,mapImage:()=>Wt||null}).printPacket(Ca,{variant:C})}catch(Se){console.error("[research-map] packet export failed:",Se)}finally{So.value=!1}}}const Ft=we(!1),Eo=oe(()=>d.selectedFeature),Xt=oe(()=>m.isDarkTheme),ur=oe(()=>Kg.lightPreset==="night");function as(){var te;const C=q.value;if(!C||!C.getLayer("language-family-pins"))return;const D=ur.value?"#ffffff":["case",[">",["to-number",["get","peoplePraying"],0],0],"#ffffff","#1f2937"];C.setPaintProperty("language-family-pins","circle-stroke-color",D),C.setPaintProperty("language-family-pins","circle-stroke-width",ur.value?vv((te=N.value)==null?void 0:te.colorStrategy):Yf)}Ue(ur,as,{immediate:!1}),Ue(()=>{var C;return(C=N.value)==null?void 0:C.id},as),Ue(()=>m.theme,()=>k.applyTheme(q.value));function ta(){k.swapTheme(q.value)}const rs=we(!1);let pn=null;async function Nn(){if(!rs.value)return pn||(pn=(async()=>{var C,D,te;try{const fe=await((C=O.loadRegionsData)==null?void 0:C.call(O));fe&&q.value&&((D=V.addRegionsLayer)==null||D.call(V,fe,"doxa-regions"),ht(q.value),q.value.getLayer("regions-fill")&&((te=N.value)==null?void 0:te.id)!=="doxa-regions"&&(q.value.setLayoutProperty("regions-fill","visibility","none"),q.value.setLayoutProperty("regions-border","visibility","none")),q.value.getLayer("language-family-pins")&&q.value.moveLayer("language-family-pins")),rs.value=!0,O.regionsData.value=null}catch(fe){console.warn("[research-map] regions layer failed:",fe)}finally{pn=null}})(),pn)}function gn(C){var fe,Pe;if(C===v.value)return;v.value=C,(fe=m.setActiveTab)==null||fe.call(m,C),Nt();const D=K.value.find(Se=>Se.id===C);if(!D||!q.value)return;k.setLook(k.lookFor(D.colorStrategy),q.value),D.id==="doxa-regions"&&Nn();const te=sn(D.colorStrategy);if(q.value.getLayer("language-family-pins")&&(te!=null&&te.buildColorExpression)){const Se=D.id==="doxa-regions"?"#a30000":te.buildColorExpression();q.value.setPaintProperty("language-family-pins","circle-color",Se),oa(q.value),D.id==="prayer"?V.startPrayerGlow():V.stopPrayerGlow();const Be=D.id==="doxa-regions";q.value.getLayer("regions-fill")&&(q.value.setLayoutProperty("regions-fill","visibility",Be?"visible":"none"),q.value.setLayoutProperty("regions-border","visibility",Be?"visible":"none")),q.value.getLayer("language-family-pins")&&q.value.moveLayer("language-family-pins")}(Pe=P.refreshColors)==null||Pe.call(P)}function Oi(C){var ze,st,Ot;const D=C==null?void 0:C.detail;if(!D||(lt(D),!((ze=D.coords)!=null&&ze.length)))return;const te=D.coords;if(te.length===1){(st=se.flyToCoords)==null||st.call(se,{longitude:te[0][0],latitude:te[0][1]},3);return}let fe=1/0,Pe=-1/0,Se=1/0,Be=-1/0;for(const[Je,ot]of te)JePe&&(Pe=Je),otBe&&(Be=ot);const Ye=D.kind==="region"?2.2:3;(Ot=se.fitBounds)==null||Ot.call(se,[[fe,Se],[Pe,Be]],60,{maxZoom:Ye})}let dr=null;function pr(){const C=(d==null?void 0:d.showClusters)&&((d==null?void 0:d.clusteringMode)||"off")!=="off",D=Number(d==null?void 0:d.clusterPinOpacity);return C&&Number.isFinite(D)?Math.min(1,Math.max(0,D)):1}function Mo(C,D){var Pe;if(D!==void 0&&(dr=D||null),!C||!((Pe=C.getLayer)!=null&&Pe.call(C,"language-family-pins")))return;const te=pr(),fe=dr?["case",dr,te,0]:["case",["has","uniqueId"],te,te];try{if(JSON.stringify(C.getPaintProperty("language-family-pins","circle-opacity"))===JSON.stringify(fe))return;C.setPaintProperty("language-family-pins","circle-opacity",fe),C.setPaintProperty("language-family-pins","circle-stroke-opacity",fe),C.getLayer("language-family-pins-shadow")&&C.setPaintProperty("language-family-pins-shadow","circle-opacity",fe)}catch{}}Ue(()=>[d==null?void 0:d.clusterPinOpacity,d==null?void 0:d.clusteringMode,d==null?void 0:d.showClusters],()=>Mo(q.value));const fo={family:null,language:null,dialect:null,region:null,prayer:null,engagement:null,adoption:null};function oa(C){Mo(C,null),C.setFilter("language-family-pins",null),t(C,null),V.syncGlowFilter(null),_t(C,[]),C.getLayer("regions-fill")&&C.setPaintProperty("regions-fill","fill-outline-color",null),fo.family=fo.language=fo.dialect=fo.region=null,fo.prayer=fo.engagement=fo.adoption=null,m.prayerFilter&&m.setPrayerFilter(null),m.engagementFilter&&m.setEngagementFilter(null),m.adoptionFilter&&m.setAdoptionFilter(null),m.religionFilter&&m.setReligionFilter(null),P.setSelectionFilter(null),d.selectedFamily&&d.selectFamily(null),d.selectedLanguage&&d.selectLanguage(null),d.selectedDialect&&d.selectDialect(null);try{ve&&ve.selection&&ve.selection.value&&(ve.selection.value=null)}catch{}}let xa=null,He=0;function lt(C){var Ye,ze,st,Ot,Je;const D=q.value;if(!D||!D.getLayer("language-family-pins"))return;let te,fe,Pe;if(C.kind==="family")Pe="family",te="languageFamily",fe=C.familyKey;else if(C.kind==="language")Pe="language",te="language",fe=C.languageKey;else if(C.kind==="region")Pe="region",te="doxaRegion",fe=C.regionKey;else if(C.kind==="prayer")Pe="prayer",te=C.property||"peoplePraying",fe=C.expectedValue;else if(C.kind==="engagement")Pe="engagement",te=C.property||"engagementStatus",fe=C.expectedValue;else if(C.kind==="adoption")Pe="adoption",te=C.property||"adoptionStatus",fe=C.expectedValue;else if(C.kind==="religion")Pe="religion",te=C.property||"religion",fe=C.expectedValue;else if(C.kind==="dialect")Pe="dialect",te="language",fe=C.dialectKey||"";else{oa(D),Nt();for(const ot of Object.keys(fo))fo[ot]=null;xa=null,He=0;return}const Se=Date.now(),Be=`${Pe}|${fe}`;if(!(xa===Be&&Se-He<80)){if(xa=Be,He=Se,fo[Pe]===fe){oa(D),Nt(),xa=null,He=0;return}for(const ot of Object.keys(fo))fo[ot]=null;if(fo[Pe]=fe,Pe==="family"?(Ye=d.selectFamily)==null||Ye.call(d,fe):Pe==="region"?(ze=d.selectRegion)==null||ze.call(d,fe):Pe==="language"?(st=d.selectLanguage)==null||st.call(d,fe):Pe==="dialect"&&((Ot=d.selectDialect)==null||Ot.call(d,{key:fe,originalLabels:C.originalLabels||[]})),P.setSelectionFilter({property:te,value:fe}),Pe==="region"){if(D.setFilter("language-family-pins",["==",["get","doxaRegion"],fe]),t(D,["==",["get","doxaRegion"],fe]),Mo(D,null),D.getLayer("regions-fill")){const ot=((Je=V.regionIsoMap)==null?void 0:Je.value)||{},gt=Ro=>String(Ro).toLowerCase().replace(/[^a-z]/g,""),at=gt(fe);let Wt=ot[fe]||[];if(!Wt.length){for(const[Ro,Ca]of Object.entries(ot))if(gt(Ro)===at){Wt=Ca;break}}_t(D,Wt)}}else{D.setFilter("language-family-pins",null);let ot;if(Pe==="prayer"){const gt=["to-number",["get",te]];fe==="noPrayer"?ot=["==",gt,0]:fe==="fullPrayer"?ot=[">=",gt,rn]:fe==="hasPrayer"?ot=["all",[">",gt,0],["<",gt,rn]]:ot=["==",["get",te],fe]}else if(Pe==="engagement")ot=["==",["get",te],fe==="hasEngagement"];else if(Pe==="adoption")ot=["==",["get",te],fe==="hasAdoption"];else if(Pe==="religion")ot=["==",["slice",["coalesce",["get",te],""],0,1],fe];else if(C.filterExpr)ot=C.filterExpr;else if(Pe==="language")ot=["any",["==",["get",te],fe],["==",["slice",["get",te],0,fe.length+1],fe+","],["in"," "+fe,["get",te]]];else if(Pe==="dialect"){const gt=C.originalLabels||[];gt.length===1?ot=["==",["get",te],gt[0]]:gt.length>1?ot=["in",["get",te],["literal",gt]]:ot=["==",["get",te],fe]}else ot=["==",["get",te],fe];Mo(D,ot),t(D,ot),V.syncGlowFilter(ot),D.getLayer("regions-fill")&&(D.setPaintProperty("regions-fill","fill-opacity",Xn(.2)),D.setPaintProperty("regions-border","line-color",Xn("rgba(60,60,80,0.35)")),D.setPaintProperty("regions-border","line-width",Xn(.6)))}}}function $o(C,{map:D,filterLayerId:te}){const fe=C.label;try{D.setFilter(te,null)}catch{}const Pe=Object.keys(jo).find(Se=>jo[Se]===fe);if(Pe){const Se={id:Pe,label:fe,depth:0},Be=()=>{try{D.setFilter(te,null)}catch{}ct(Se),ve&&ve.selection&&(ve.selection.value=Se)};v.value!=="religion"&&gn("religion"),Qt(Be)}}function In(C,{map:D,filterLayerId:te}){const fe=C.label,Pe=ze=>String(ze).toLowerCase().replace(/[^a-z0-9]/g,""),Se=ze=>String(ze||"").replace(/\s*\((?:Region|Bloc)\)\s*$/i,""),Be=Pe(fe),Ye=()=>{try{D.setFilter(te,null)}catch{}const ze=ba(ea.value,st=>(st.id.startsWith("region:")||st.id.startsWith("block:"))&&Pe(Se(st.label))===Be);ze&&(ct(ze),ve&&ve.selection&&(ve.selection.value=ze))};v.value!=="doxa-regions"?(gn("doxa-regions"),Promise.resolve(Nn()).finally(()=>Qt(Ye))):Ye()}function fn(C){var te,fe,Pe,Se;if(Array.isArray(C.bounds)&&C.bounds.length===4){const[Be,Ye,ze,st]=C.bounds;(te=se.fitBounds)==null||te.call(se,[[Be,Ye],[ze,st]],60)}else Array.isArray(C.center)&&C.center.length===2&&((fe=se.flyTo)==null||fe.call(se,C.center));const D=Mv(C,O.normalizedPeopleGroups.value||[]);if(D&&B(D),D&&((Pe=N.value)==null?void 0:Pe.id)!=="doxa-regions"&&le.showCountry(D),D&&((Se=N.value)==null?void 0:Se.id)==="doxa-regions"){const Be=()=>{const Ye=ba(ea.value,ze=>ze.id.startsWith("country:")&&(ze.isoCodes||[]).includes(D));Ye&&(ct(Ye),ve&&ve.selection&&(ve.selection.value=Ye))};Promise.resolve(Nn()).finally(()=>Qt(Be))}}Ue(()=>d.filters,()=>{var C,D;(C=V.applyFilters)==null||C.call(V,d.filters),(D=P.applyFilters)==null||D.call(P,d.filters)},{deep:!0});let Ao=!1,ss="";Ue(()=>{var C;return(C=s==null?void 0:s.value)==null?void 0:C.externalFilters},C=>{var D,te;if(!(!C||typeof C!="object"||!d)){Ao=!0;try{if("region"in C){const fe=C.region||null;(fe||d.selectedRegion)&&((D=d.selectRegion)==null||D.call(d,fe))}if("religion"in C){const fe=String(C.religion||"").trim(),Pe=fe?Object.keys(jo).find(Se=>String(jo[Se]).toLowerCase()===fe.toLowerCase()):"";fe?Pe&&(v.value!=="religion"&&gn("religion"),Qt(()=>m.setReligionFilter(Pe))):m.religionFilter&&m.setReligionFilter(null)}if("fitSlugs"in C&&ji(C.fitSlugs),"language"in C){const fe=C.language||null;(fe||d.selectedLanguage)&&((te=d.selectLanguage)==null||te.call(d,fe))}}finally{Qt(()=>{Ao=!1})}}},{deep:!0,immediate:!0});let Di=null,gr=null,is=null,zi=null;typeof window<"u"&&(window.__researchMapFilterState=Di=()=>{var C,D;return{selectedRegion:(d==null?void 0:d.selectedRegion)||"",externalRegion:((D=(C=s==null?void 0:s.value)==null?void 0:C.externalFilters)==null?void 0:D.region)||"",religionFamily:jo[m==null?void 0:m.religionFilter]||"",selectedLanguage:(d==null?void 0:d.selectedLanguage)||""}},window.__researchMapPinOpacity=gr=()=>{var C,D;try{return((D=(C=q.value)==null?void 0:C.getPaintProperty)==null?void 0:D.call(C,"language-family-pins","circle-opacity"))??null}catch{return null}},window.__researchMapClusterDraw=is=()=>{var te,fe;const C=q.value,D={};try{for(const Pe of((fe=(te=C==null?void 0:C.getStyle)==null?void 0:te.call(C))==null?void 0:fe.layers)||[]){if(!/^(mapbox-clusters|cluster-lines)/.test(Pe.id))continue;let Se=0;try{Se=C.queryRenderedFeatures({layers:[Pe.id]}).length}catch{Se=-1}D[Pe.id]={visibility:Pe.layout&&Pe.layout.visibility||"visible",rendered:Se}}}catch{}return D},window.__researchMapVocabulary=zi=C=>{var fe;const D=((fe=O==null?void 0:O.normalizedPeopleGroups)==null?void 0:fe.value)||[],te=new Set;for(const Pe of D){if(C==="religionFamily"){const Be=jo[String((Pe==null?void 0:Pe.religion)||"").charAt(0)];Be&&te.add(Be);continue}const Se=Pe&&Pe[C];typeof Se=="string"&&Se&&te.add(Se)}return[...te].sort()});const fr=Lo();function ls(){var C,D,te,fe;try{return((fe=(te=(D=(C=fr==null?void 0:fr.proxy)==null?void 0:C.$el)==null?void 0:D.getRootNode)==null?void 0:te.call(D))==null?void 0:fe.host)||null}catch{return null}}function cs(){var gt;if(Ao||typeof window>"u")return;const C=ls();if(!C)return;const D=jo[m==null?void 0:m.religionFilter]||"",te=(d==null?void 0:d.selectedLanguage)||"",fe=(d==null?void 0:d.selectedDialect)||null,Pe=Array.isArray(fe==null?void 0:fe.originalLabels)?fe.originalLabels.map(at=>String(at).trim()).filter(Boolean):[],Se=((gt=O==null?void 0:O.normalizedPeopleGroups)==null?void 0:gt.value)||[],Be=at=>{const Wt=at&&(at.language??at.primary_language);return String((Wt&&typeof Wt=="object"?Wt.label:Wt)||"").trim()},Ye=(at,Wt)=>at===Wt||at.startsWith(Wt+",")||at.includes(" "+Wt),ze=Pe.length?Se.filter(at=>Pe.includes(Be(at))):te?Se.filter(at=>Ye(Be(at),te.trim())):[],st=[...new Set(ze.map(at=>{var Wt,Ro;return String(((Ro=(Wt=at==null?void 0:at._raw)==null?void 0:Wt.primary_language)==null?void 0:Ro.value)||(at!=null&&at.language&&typeof at.language=="object"?at.language.value:"")||"").trim()}).filter(Boolean))],Ot=st.length===1?st[0]:"",Je={region:(d==null?void 0:d.selectedRegion)||"",religion:D,language:Pe.length?Pe.join(" · "):te,languageCode:Ot,languageCodes:st},ot=!Je.region&&!Je.religion&&!Je.language&&!Je.languageCode;if(ot&&Aa){const at=typeof performance<"u"?performance.now():Date.now();if(Sa||(Sa=at),at-SaclearTimeout(hn)),Ue(()=>{var C;return[d==null?void 0:d.selectedRegion,d==null?void 0:d.selectedLanguage,(C=d==null?void 0:d.selectedDialect)==null?void 0:C.key,m==null?void 0:m.religionFilter]},()=>mu()),Ue(()=>d.selectedRegion,C=>{lt(C?{kind:"region",regionKey:C}:{kind:null})}),Ue(()=>d.selectedFamily,C=>{C?lt({kind:"family",familyKey:C}):!d.selectedLanguage&&!d.selectedDialect&<({kind:null})}),Ue(()=>d.selectedLanguage,C=>{C?lt({kind:"language",languageKey:C}):!d.selectedFamily&&!d.selectedDialect&<({kind:null})}),Ue(()=>d.selectedDialect,C=>{C!=null&&C.key?lt({kind:"dialect",dialectKey:C.key,originalLabels:C.originalLabels||[]}):!d.selectedFamily&&!d.selectedLanguage&<({kind:null})}),Ue(()=>m.prayerFilter,C=>{lt(C?{kind:"prayer",property:"peoplePraying",expectedValue:C}:{kind:null})}),Ue(()=>m.engagementFilter,C=>{lt(C?{kind:"engagement",property:"engagementStatus",expectedValue:C}:{kind:null})}),Ue(()=>m.adoptionFilter,C=>{lt(C?{kind:"adoption",property:"adoptionStatus",expectedValue:C}:{kind:null})}),Ue(()=>m.religionFilter,C=>{lt(C?{kind:"religion",property:"religion",expectedValue:C}:{kind:null})});function bu(){try{return typeof window<"u"&&typeof window.matchMedia=="function"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches}catch{return!1}}function ji(C){var Wt,Ro,Ca;const D=Array.isArray(C)?C.filter(Uo=>typeof Uo=="string"&&Uo):[],te=D.length?`${D.length}:${D[0]}:${D[D.length-1]}`:"";if(te===ss||(ss=te,!D.length))return;const fe=new Set(D),Pe=((Wt=O==null?void 0:O.normalizedPeopleGroups)==null?void 0:Wt.value)||[];let Se=1/0,Be=1/0,Ye=-1/0,ze=-1/0,st=0;for(const Uo of Pe){if(!Uo||!fe.has(Uo.slug))continue;const bt=Number(Uo.longitude??Uo.lng),mn=Number(Uo.latitude??Uo.lat);!Number.isFinite(bt)||!Number.isFinite(mn)||(btYe&&(Ye=bt),mn>ze&&(ze=mn),st++)}if(!st)return;const Ot=Ye-Se,Je=ze-Be,ot={longitude:(Se+Ye)/2,latitude:(Be+ze)/2},gt=Ot>iP?{c:ot,z:lP}:st===1||Otd.showClusters,async C=>{Pa||(C&&(!d.clusteringMode||d.clusteringMode==="off")?d.clusteringMode="mst":!C&&d.clusteringMode!=="off"&&(d.clusteringMode="off"),await Bi())}),Ue(()=>d.clusteringMode,async()=>{Pa||await Bi()});async function J2(C){var D,te,fe,Pe,Se,Be;d.registerMap(Z,q.value),A1(q.value,"mercator"),k.applyTheme(q.value),C!=null&&C.length&&(V.addLanguageFamilyLayer(C,((D=N.value)==null?void 0:D.colorStrategy)??"languageFamily"),((te=N.value)==null?void 0:te.id)==="doxa-regions"&&((fe=q.value)!=null&&fe.getLayer("language-family-pins"))&&q.value.setPaintProperty("language-family-pins","circle-color","#4b5563"),Mo(q.value),((Pe=N.value)==null?void 0:Pe.id)==="prayer"&&V.startPrayerGlow(),(Se=P.setData)==null||Se.call(P,C),G.initialize()),((Be=N.value)==null?void 0:Be.id)==="doxa-regions"&&(typeof window<"u"&&window.requestIdleCallback?ze=>window.requestIdleCallback(ze,{timeout:2e3}):ze=>setTimeout(ze,800))(()=>{Nn()}),as(),d.setMapReady(Z),Ae.value=!0}let us=null,La=null,hr=null;function vm(C){const D=j.value;D&&(getComputedStyle(D).getPropertyValue("--map-radius").trim()||(D.style.setProperty("--map-radius","16px"),D.style.setProperty("--map-radius-sm","8px")),C>=700?(D.style.setProperty("--map-btn-size","40px"),D.style.setProperty("--map-toolbar-gap","8px"),D.style.setProperty("--map-font-md","13px"),D.style.setProperty("--map-font-sm","11px"),D.style.setProperty("--map-legend-width","380px")):C>=500?(D.style.setProperty("--map-btn-size","36px"),D.style.setProperty("--map-toolbar-gap","6px"),D.style.setProperty("--map-font-md","12px"),D.style.setProperty("--map-font-sm","10px"),D.style.setProperty("--map-legend-width","360px")):(D.style.setProperty("--map-btn-size","32px"),D.style.setProperty("--map-toolbar-gap","5px"),D.style.setProperty("--map-font-md","11px"),D.style.setProperty("--map-font-sm","10px"),D.style.setProperty("--map-legend-width","280px")))}return Jo(async()=>{var D,te,fe,Pe;(D=m.init)==null||D.call(m),v.value=((te=K.value[0])==null?void 0:te.id)??"doxa-regions",m.isMobile?(fe=m.collapseLegend)==null||fe.call(m):(Pe=m.openLegend)==null||Pe.call(m),j.value&&(vm(j.value.getBoundingClientRect().width),typeof ResizeObserver<"u"&&(us=new ResizeObserver(Se=>{for(const Be of Se)vm(Be.contentRect.width)}),us.observe(j.value))),window.addEventListener("doxa:legend-row-click",Ee),window.addEventListener("legend:highlight",Oi);const C=O.loadData().catch(Se=>(console.error("[research-map] data load failed:",Se),{normalizedPeopleGroups:[]}));try{await pe()}catch(Se){console.error("[research-map] Map failed to initialize —",Se),X.value=String((Se==null?void 0:Se.message)||Se);return}{const Se=q.value?rt(q.value):null;Se&&Se!==q.value&&(q.value=null,q.value=Fa(Se))}if(!q.value){console.error("[research-map] Map failed to initialize — check token and container"),X.value=_("dashboard.map_init_failed");return}q.value.once("style.load",async()=>{try{const{normalizedPeopleGroups:Se}=await C;await J2(Se)}catch(Se){console.error("[research-map] onMapReady failed:",Se),X.value=String((Se==null?void 0:Se.message)||Se)}}),o(q.value),hr=()=>o(q.value);try{La=new ResizeObserver(hr);const Se=q.value.getContainer&&q.value.getContainer()||null;Se&&La.observe(Se);const Be=Se?Sh(Se):null;Be&&La.observe(Be),document.body&&La.observe(document.body)}catch{}window.addEventListener("resize",hr)}),vo(()=>{const C=D=>{try{D()}catch(te){console.warn("[research-map] teardown step failed",te)}};try{C(()=>window.removeEventListener("doxa:legend-row-click",Ee)),C(()=>window.removeEventListener("legend:highlight",Oi)),C(()=>{us&&(us.disconnect(),us=null)}),C(()=>{La&&(La.disconnect(),La=null)}),C(()=>{hr&&(window.removeEventListener("resize",hr),hr=null)}),C(()=>{var D;return(D=V.stopPrayerGlow)==null?void 0:D.call(V)}),C(()=>{var D;return(D=V.cleanup)==null?void 0:D.call(V)}),C(()=>{var D;return(D=P.cleanup)==null?void 0:D.call(P)}),C(()=>{var D;return(D=G.cleanup)==null?void 0:D.call(G)}),C(()=>{var D;return(D=d.unregisterMap)==null?void 0:D.call(d,Z)}),C(()=>{typeof window>"u"||(window.__researchMapFilterState===Di&&delete window.__researchMapFilterState,window.__researchMapPinOpacity===gr&&delete window.__researchMapPinOpacity,window.__researchMapClusterDraw===is&&delete window.__researchMapClusterDraw,window.__researchMapVocabulary===zi&&delete window.__researchMapVocabulary)})}finally{Le()}}),(C,D)=>(re(),he("div",{ref_key:"rmRoot",ref:j,class:Ge(["rm-root",{"rm-dark":Xt.value,"dsm-dark":Xt.value}])},[J.value?(re(),he("div",{key:0,ref_key:"tabBar",ref:ae,class:"rm-tab-bar"},[(re(!0),he(et,null,so(K.value,te=>(re(),he(et,{key:te.id},[R("button",{class:Ge(["rm-tab",{active:v.value===te.id}]),onClick:fe=>gn(te.id)},ye(b(te)),11,JA),te.sepAfter?(re(),he("div",XA)):Me("",!0)],64))),128))],512)):Me("",!0),R("div",QA,[!Ae.value&&!X.value?(re(),he("div",eP,ye(n("dashboard.map_loading","Research map loading…")),1)):Me("",!0),X.value?(re(),he("div",tP,ye(n("allPeopleGroups.loadError","The map could not be loaded."))+" "+ye(X.value),1)):Me("",!0),R("div",{ref_key:"mapContainer",ref:xe,class:"rm-map-canvas"},null,512),D[4]||(D[4]=R("div",{class:"map-scroll-edge map-scroll-edge--left"},null,-1)),D[5]||(D[5]=R("div",{class:"map-scroll-edge map-scroll-edge--right"},null,-1)),ge(l)!=="mapbox"?(re(),he("div",{key:2,class:"rm-provider-badge","data-provider":ge(l)},ye(ge(f)),9,oP)):Me("",!0),Ae.value&&ge(q)&&c.value?(re(),it(gx,{key:3,ref_key:"geocoderRef",ref:_e,"map-instance":ge(q),"access-token":ge(i),provider:ge(l),"data-source-id":ge(x),"is-dark":Xt.value,placeholder:F.value,"active-context":z.value,onPeopleGroupResult:ge(tt),onAggregateResult:ge(kt),onClear:ge($t)},null,8,["map-instance","access-token","provider","data-source-id","is-dark","placeholder","active-context","onPeopleGroupResult","onAggregateResult","onClear"])):Me("",!0),Me("",!0),Ae.value&&ge(q)?(re(),it(jk,{key:5,"has-geocoder":c.value},{default:ho(()=>[ut(Gk,{map:ge(q),"is-dark":Xt.value},null,8,["map","is-dark"]),ut(Hk,{map:ge(q),"is-dark":Xt.value},null,8,["map","is-dark"]),ut(Uk,{map:ge(q),"is-dark":Xt.value},null,8,["map","is-dark"]),ut(qk,{"map-container":xe.value,"is-dark":Xt.value},null,8,["map-container","is-dark"]),ut(Yk,{"is-dark":Xt.value,onToggle:ta},null,8,["is-dark"]),ut(ma,{"is-dark":Xt.value,active:It.value,disabled:It.value,title:dn.value,class:"export-poster-btn","aria-busy":It.value?"true":"false",onClick:un},{default:ho(()=>[...D[3]||(D[3]=[R("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[R("path",{d:"M12 3v12M7 10l5 5 5-5M5 21h14"})],-1)])]),_:1},8,["is-dark","active","disabled","title","aria-busy"]),E.share?(re(),it(Nx,{key:0,"is-dark":Xt.value,"embed-path":"doxa-research-map/research-map/index.html"},null,8,["is-dark"])):Me("",!0)]),_:1},8,["has-geocoder"])):Me("",!0),Ae.value&&u.value?(re(),it(zk,{key:6,"legend-type":$.value,"is-dark":Xt.value},null,8,["legend-type","is-dark"])):Me("",!0),Ae.value?(re(),it(Xx,{key:7,"is-open":Ft.value,onClose:D[1]||(D[1]=te=>Ft.value=!1),onOpenPoster:un},{default:ho(()=>[ut(AS)]),_:1},8,["is-open"])):Me("",!0),R("div",{class:"rm-legend-desktop-slot",style:Ct(p.value?{"--stl-top":p.value}:null)},[Ae.value&&ge(m).legendMode==="detail"&&ge(m).selectedPeopleGroup?(re(),it(Ak,{key:0,"legend-type":$.value,"popup-action":A.value,"initially-collapsed":!1,"is-dark":Xt.value},null,8,["legend-type","popup-action","is-dark"])):Me("",!0),Fs(R("div",null,[Ae.value?(re(),it(wh,{key:0,nodes:ie.value,tabs:be.value,title:De.value,hideTabs:$e.value,columnLabel:ke.value,progress:ge(Ne),open:Ie.value,"export-enabled":aP,onSelect:ct,onExport:Fn,"onUpdate:open":Ce},null,8,["nodes","tabs","title","hideTabs","columnLabel","progress","open"])):Me("",!0)],512),[[op,!(ge(m).legendMode==="detail"&&ge(m).selectedPeopleGroup)]])],4),R("div",nP,[Ae.value?(re(),it(ge(a),{key:0,"legend-type":$.value,"popup-action":A.value,"is-dark":Xt.value},null,8,["legend-type","popup-action","is-dark"])):Me("",!0)]),Ae.value&&Eo.value?(re(),it(ge(r),{key:8,feature:Eo.value,action:A.value,dark:Xt.value,onClose:D[2]||(D[2]=te=>ge(d).selectFeature(null))},null,8,["feature","action","dark"])):Me("",!0)])],2))}}},Symbol.toStringTag,{value:"Module"})),pP="",gP={class:"legend-sheet-root"},fP=["src","alt"],hP={key:0,class:"pull-tab-handle"},mP=["aria-expanded","aria-label"],bP=["aria-label"],$P=["aria-expanded","aria-label"],_P={class:"collapsed-detail-title"},yP={class:"legend-content"},vP=["aria-expanded","aria-label"],wP=["aria-expanded","aria-label"],Th=80,kP=48,xP=44,SP=24,Eh="--legend-sheet-h",Mh=Object.freeze(Object.defineProperty({__proto__:null,default:nn({__name:"LegendMobile",props:{legendType:{type:String,required:!0},nodes:{type:Array,default:null},tabs:{type:Array,default:null},defaultTab:{type:Number,default:0},columnLabel:{type:String,default:null},title:{type:String,default:null},columns:{type:Array,default:null},isDark:{type:Boolean,default:!1},popupAction:{type:String,default:"pray",validator:e=>["pray","adopt","none"].includes(e)},disableCollapse:{type:Boolean,default:!1}},setup(e){const{t}=jt();Kt(` +`,"research-map");const s=je("profileConfig"),i=je("mapboxToken"),l=Jg(s),c=oe(()=>{var C;return((C=s==null?void 0:s.value)==null?void 0:C.search)===!1?!1:l==="mapbox"}),u=oe(()=>{var C;return((C=s==null?void 0:s.value)==null?void 0:C.legendTools)!==!1}),p=oe(()=>c.value?null:u.value&&$h(($==null?void 0:$.value)??$)?"56px":"14px"),f=x1(l),x=je("dataSource");je("colorSet");const S=je("instanceId",null),y=(()=>{var D;const C=(D=s==null?void 0:s.value)==null?void 0:D.locale;return C&&Ja.includes(C)?C:null})(),{locale:h,t:_,te:g}=jt();y&&(h.value=y);function b(C){const D="tabs."+((C==null?void 0:C.i18nKey)||(C==null?void 0:C.id));return C&&g(D)?_(D):(C==null?void 0:C.label)??""}const d=je("mapStore"),w=je("dataStore"),m=je("uiStore"),k=o1(m),E={doxaRegions:!0,adoption:!1,share:!0,hamburgerMenu:!1,geocoderPersistAcrossTabs:!1},H=[{id:"prayer",colorStrategy:"prayerProgress",legend:"prayer",popup:"pray",feature:null},{id:"adoption",colorStrategy:"adoption",legend:"adoption",popup:"adopt",feature:"adoption"},{id:"engagement",colorStrategy:"engagement",legend:"engagement",popup:"pray",feature:null,sepAfter:!0},{id:"affinity-blocks",colorStrategy:"affinityBlock",legend:"affinity-block",popup:"pray",feature:null},{id:"doxa-regions",colorStrategy:"doxaRegion",legend:"doxa-regions",popup:"pray",feature:"doxaRegions",i18nKey:"regions"},{id:"language-families",colorStrategy:"languageFamily",legend:"language-family",popup:"pray",feature:null},{id:"religion",colorStrategy:"religion",legend:"religion",popup:"pray",feature:null}].filter(C=>!C.feature||E[C.feature]),K=oe(()=>H),J=oe(()=>!0),v=we(null),N=oe(()=>K.value.find(C=>C.id===v.value)??K.value[0]);k.setLook(k.lookFor((wm=N.value)==null?void 0:wm.colorStrategy)),Ue(()=>{var C;return(C=N.value)==null?void 0:C.colorStrategy},C=>k.setLook(k.lookFor(C),q.value));const $=oe(()=>{var C;return((C=N.value)==null?void 0:C.legend)??"default"}),A=oe(()=>{var C;return((C=N.value)==null?void 0:C.popup)??"pray"}),I={"language-families":"search.tabPlaceholder.languageFamilies","affinity-blocks":"search.tabPlaceholder.affinityBlocks","doxa-regions":"search.tabPlaceholder.regions",religion:"search.tabPlaceholder.religion"},F=oe(()=>{var D;const C=I[(D=N.value)==null?void 0:D.id];return C&&g(C)?_(C):""}),W={"affinity-blocks":"people-groups",prayer:"people-groups",adoption:"people-groups",engagement:"people-groups","language-families":"language","doxa-regions":"regions",religion:"religion"},z=oe(()=>{var C;return W[(C=N.value)==null?void 0:C.id]||""}),Z=(S==null?void 0:S.value)||S||"research-map-"+Date.now().toString(36)+"-"+Math.random().toString(36).slice(2,8);zt("mapId",Z);const j=we(null),ae=we(null),_e=we(null),Te=new Map;Ue(()=>v==null?void 0:v.value,async(C,D)=>{var Pe,Se,Be;if(D!==void 0&&C!==D){D&&Te.set(D,m.legendState);const Ye=Te.get(C)||(m.isMobile?"collapsed":"open");Ye==="fullyOpen"?(Pe=m.fullyOpenLegend)==null||Pe.call(m):Ye==="open"?(Se=m.openLegend)==null||Se.call(m):(Be=m.collapseLegend)==null||Be.call(m)}await Qt();const te=ae.value,fe=te==null?void 0:te.querySelector(".rm-tab.active");if(te&&fe&&te.scrollWidth>te.clientWidth+1){const Ye=te.getBoundingClientRect(),ze=fe.getBoundingClientRect(),st=te.scrollLeft+(ze.left-Ye.left)-(Ye.width-ze.width)/2,Ot=te.scrollWidth-te.clientWidth,Je=Math.max(0,Math.min(Ot,st));typeof te.scrollTo=="function"?te.scrollTo({left:Je,behavior:"smooth"}):te.scrollLeft=Je}});const xe=we(null),Ae=we(!1),X=we(null),{map:q,initializeMap:pe,destroy:Le}=B1({containerRef:xe,accessToken:i.value,provider:l,style:((km=s==null?void 0:s.value)==null?void 0:km.style)??k.bootStyle(),config:k.bootConfig,center:((xm=s==null?void 0:s.value)==null?void 0:xm.center)??Bo.center??[20,10],zoom:((Sm=s==null?void 0:s.value)==null?void 0:Sm.zoom)??Bo.zoom??1.8,pitch:((Am=s==null?void 0:s.value)==null?void 0:Am.pitch)??Bo.pitch??0,bearing:((Pm=s==null?void 0:s.value)==null?void 0:Pm.bearing)??Bo.bearing??0,minZoom:((Lm=s==null?void 0:s.value)==null?void 0:Lm.minZoom)??Bo.minZoom??.5,maxZoom:rP}),M=new lh({sourcesConfig:ga,locale:y,profileConfig:s}),O=Gv({mapId:Z,dataSourceId:x.value,dataSourceManager:M,dataStore:w,markRaw:C=>C});async function B(C){const D=String(C||"").trim().toUpperCase();if(D.length!==3)return;await Nn();const te=q.value;if(!te||!te.getLayer("regions-fill"))return;te.setLayoutProperty("regions-fill","visibility","visible"),te.setLayoutProperty("regions-border","visibility","visible");const fe=["literal",[D]];te.setPaintProperty("regions-fill","fill-opacity",["case",["in",["get","iso_3166_1_alpha_3"],fe],.3,.02]),te.setPaintProperty("regions-border","line-color",["case",["in",["get","iso_3166_1_alpha_3"],fe],"#111827","rgba(60,60,80,0.15)"]),te.setPaintProperty("regions-border","line-width",["case",["in",["get","iso_3166_1_alpha_3"],fe],2.5,.3]),te.getLayer("language-family-pins")&&te.moveLayer("language-family-pins")}const V=xv({getMap:()=>q.value,mapId:Z,getLanguageFamilyColor:C=>{var te,fe;const D=sn((te=N.value)==null?void 0:te.colorStrategy);return((fe=D==null?void 0:D.colors)==null?void 0:fe[C])??(D==null?void 0:D.fallback)??"#7c8cf8"},getNormalizedPeopleGroups:()=>O.normalizedPeopleGroups.value||[]});Vf({getMap:()=>q.value,mapId:Z,getLanguageFamilyColor:()=>"#7c8cf8",getNormalizedPeopleGroups:()=>O.normalizedPeopleGroups.value||[]});const se=Pv({getMap:()=>q.value,mapId:Z,mapStore:d,defaultCenter:((Cm=s==null?void 0:s.value)==null?void 0:Cm.center)??[20,10],defaultZoom:((Tm=s==null?void 0:s.value)==null?void 0:Tm.zoom)??1.8}),G=Cv({getMap:()=>q.value,getActivePinColor:C=>{var te,fe;const D=sn(((te=N.value)==null?void 0:te.colorStrategy)??"languageFamily");return((fe=D==null?void 0:D.getColor)==null?void 0:fe.call(D,C))??"#1a1a1a"}});let ue=null,me=null;function T(){return ue?Promise.resolve(ue):(me||(me=Mt(()=>Promise.resolve().then(()=>RP),void 0).then(C=>(ue=C.useMapClustering({getMap:()=>q.value,mapId:Z,mapStore:d,getPeopleGroups:()=>O.normalizedPeopleGroups.value||[],getClusterColor:()=>{var D,te;return((te=sn((D=N.value)==null?void 0:D.colorStrategy))==null?void 0:te.fallback)??"#7c8cf8"}}),ue))),me)}const P={setData(C){var D;(D=ue==null?void 0:ue.setData)==null||D.call(ue,C)},applyFilters(C){var D;(D=ue==null?void 0:ue.applyFilters)==null||D.call(ue,C)},refreshColors(){var C;(C=ue==null?void 0:ue.refreshColors)==null||C.call(ue)},cleanup(){var C;(C=ue==null?void 0:ue.cleanup)==null||C.call(ue)},async setEnabled(C){var D,te;(te=(D=await T()).setEnabled)==null||te.call(D,C)},async setMode(C){var D,te;(te=(D=await T()).setMode)==null||te.call(D,C)},_pendingSelectionFilter:null,setSelectionFilter(C){this._pendingSelectionFilter=C||null,ue!=null&&ue.setSelectionFilter&&ue.setSelectionFilter(C)},flushSelectionFilter(){ue!=null&&ue.setSelectionFilter&&ue.setSelectionFilter(this._pendingSelectionFilter)}},Q=Qr({});zt("normalizedPeopleGroups",O.normalizedPeopleGroups);const le=Nv(()=>q.value),ve=PS(Z);LS(ve);const de=ZA({map:q,activeTab:N,countryOutline:le,regionIdle:Xn,mapFly:se,pplrInstance:ve,mapId:Z}),U=de.clearCountryHighlight,ne=de.flatItemsToStlNodes,Ee=de.onLegendRowClick,Re=de.bridgeSelection,{onPeopleGroupResult:tt,onAggregateResult:kt,onClear:$t,clearGeocoderProgrammatic:Nt}=Hv({map:q,geocoderRef:_e,clustering:P,mapStore:d,uiStore:m,mapLayers:V,pplrInstance:ve,onSemanticTreeSelect:ct,switchTab:gn,activeTabId:v,clearAllHighlights:oa,clearCountryHighlight:U,mapId:Z,legendRouters:{country:fn,region:In,religion:_o}});ve.activeTab.value=1;function Yt(C){return C==="affinity-block"?0:C==="language-family"?1:0}Ue($,C=>{ve.activeTab.value=Yt(C)});const vt={get value(){return O.normalizedPeopleGroups.value||[]}},{langTree:Lt}=Yc(vt),So=[{id:"family",info:!0},{id:"language",info:!0},{id:"dialect",info:!0}],{affinityTree:Go}=kh(vt),ka=[{id:"bloc",info:!0},{id:"cluster",info:!0},{id:"group",info:!0},{id:"pgic",info:!0}],{regionsTree:ea}=xh(vt),Y=[{id:"region",info:!0},{id:"block",info:!0},{id:"country",info:!0}],ce=Qr(Cs(()=>$.value),Ei),Ne=ce.progress;zt("legendProgress",Ne);const ee=oe(()=>["prayer","engagement","adoption","religion"].includes($.value)),ie=oe(()=>ee.value?ne(ce.items.value):$.value==="affinity-block"?Go.value:$.value==="doxa-regions"?ea.value:Lt.value),be=oe(()=>ee.value?null:$.value==="affinity-block"?ka:$.value==="doxa-regions"?Y:So),$e=oe(()=>ee.value),ke=oe(()=>$.value==="religion"?_("legend.colLabel.religion"):$.value==="prayer"?_("legend.colLabel.prayer"):$.value==="engagement"?_("legend.colLabel.engagement"):$.value==="adoption"?_("legend.colLabel.adoption"):ee.value?_("legend.colLabel.status"):""),Ie=oe(()=>m.legendState!=="collapsed");function Ce(C){C?m.openLegend():m.collapseLegend()}const De=oe(()=>ee.value?_("legend.titleBar.legend"):$.value==="affinity-block"?_("legend.titleBar.peopleGroups"):$.value==="doxa-regions"?_("legend.titleBar.wagfRegions"):_("legend.titleBar.languages"));zt("onSemanticTreeSelect",C=>ct(C)),zt("getActivePinColor",C=>{var te,fe;const D=sn(((te=N.value)==null?void 0:te.colorStrategy)??"languageFamily");return((fe=D==null?void 0:D.getColor)==null?void 0:fe.call(D,C))??"#1a1a1a"});const Ve=["case",["has","iso_3166_1_alpha_3"],.7,.7],Oe=["case",["has","iso_3166_1_alpha_3"],"rgba(60,60,80,0.35)","rgba(60,60,80,0.35)"],We=["case",["has","iso_3166_1_alpha_3"],.6,.6];function ht(C){if(!C||!C.getLayer("regions-fill"))return;const D=Xn,te=Se=>Array.isArray(Se)&&(Se[0]==="get"||Se[0]==="has"||Se[0]==="feature-state"||Se.some(te)),fe=Se=>Array.isArray(Se)&&(Se[0]==="zoom"||Se.some(fe)),Pe=(Se,Be)=>{if(!C.getLayer(Se))return;const Ye=C.getPaintProperty(Se,Be);Ye!=null&&(te(Ye)||fe(Ye)||C.setPaintProperty(Se,Be,D(Ye)))};try{Pe("regions-fill","fill-opacity"),Pe("regions-border","line-color"),Pe("regions-border","line-width")}catch{}}function _t(C,D){if(!C||!C.getLayer("regions-fill"))return;const te=Array.isArray(D)?[...new Set(D.filter(Boolean).map(ze=>String(ze).toUpperCase()))].sort():[],fe=["literal",te],Pe=te.length?["case",["in",["get","iso_3166_1_alpha_3"],fe],.85,.15]:Ve,Se=te.length?["case",["in",["get","iso_3166_1_alpha_3"],fe],"#111827","rgba(60,60,80,0.15)"]:Oe,Be=te.length?["case",["in",["get","iso_3166_1_alpha_3"],fe],2.5,.3]:We,Ye=(ze,st,Ot)=>{C.getLayer(ze)&&JSON.stringify(C.getPaintProperty(ze,st))!==JSON.stringify(Ot)&&C.setPaintProperty(ze,st,Ot)};try{Ye("regions-fill","fill-opacity",Pe),Ye("regions-border","line-color",Se),Ye("regions-border","line-width",Be)}catch{}}function ct(C){var fe,Pe,Se,Be,Ye,ze,st,Ot;const D=q.value;if(C){const Je=ee.value?YA(C,$.value):null,ot=((fe=N.value)==null?void 0:fe.id)==="doxa-regions",gt=Je?{matchExpr:Je}:{};ot&&(gt.regionPolygonSource="regions"),(Pe=se.zoomToLegendRow)==null||Pe.call(se,C,Object.keys(gt).length?gt:void 0)}if(!C){if(ee.value){const Je=$.value;Je==="prayer"?m.setPrayerFilter(null):Je==="engagement"?m.setEngagementFilter(null):Je==="adoption"?m.setAdoptionFilter(null):Je==="religion"&&m.setReligionFilter(null)}if(D&&D.getLayer("language-family-pins")){try{D.setFilter("language-family-pins",null)}catch{}t(D,null),Mo(D,null),V.syncGlowFilter(null)}D&&D.getLayer("regions-fill")&&(D.setPaintProperty("regions-fill","fill-opacity",Xn(.7)),D.setPaintProperty("regions-border","line-color",Xn("rgba(60,60,80,0.35)")),D.setPaintProperty("regions-border","line-width",Xn(.6))),d.selectedFamily&&d.selectFamily(null),d.selectedLanguage&&d.selectLanguage(null),d.selectedDialect&&((Se=d.selectDialect)==null||Se.call(d,null)),d.selectedRegion&&((Be=d.selectRegion)==null||Be.call(d,null)),Nt();return}if(ee.value){const Je=$.value;Je==="prayer"?m.setPrayerFilter(C.id):Je==="engagement"?m.setEngagementFilter(C.id):Je==="adoption"?m.setAdoptionFilter(C.id):Je==="religion"&&m.setReligionFilter(C.id);return}if(D&&D.getLayer("language-family-pins")&&C.filter){try{D.setFilter("language-family-pins",C.filter)}catch{}t(D,C.filter),Mo(D,null),V.syncGlowFilter(C.filter)}const te=String(C.id||"");if(te.startsWith("fam:"))(Ye=d.selectFamily)==null||Ye.call(d,C.label);else if(te.startsWith("lang:"))(ze=d.selectLanguage)==null||ze.call(d,C.label);else if(te.startsWith("dial:"))(st=d.selectDialect)==null||st.call(d,{key:te.slice(5),originalLabels:C.originalLabels||[]});else if(te.startsWith("bloc:")||te.startsWith("cluster:")||te.startsWith("pg:")||te.startsWith("pgic:")){if(D&&D.getLayer("language-family-pins")&&C.filter){try{D.setFilter("language-family-pins",null)}catch{}t(D,C.filter),Mo(D,C.filter),V.syncGlowFilter(C.filter)}}else if(te.startsWith("region:")||te.startsWith("block:")||te.startsWith("country:")){if(D&&D.getLayer("language-family-pins")&&C.filter){try{D.setFilter("language-family-pins",C.filter)}catch{}t(D,C.filter),Mo(D,null)}te.startsWith("region:")&&((Ot=d.selectRegion)==null||Ot.call(d,te.slice(7))),te.startsWith("region:")||_t(D,C.isoCodes||[])}}Ue(()=>m.theme,C=>{ve.theme.value=C==="dark"?"dark":"light"},{immediate:!0}),Ue(()=>d.selectedFamily,C=>{if(!C)return Re("fam",null);const D=ba(Lt.value,te=>te.id.startsWith("fam:")&&te.label===C);D&&Re("fam",{...D,depth:0})}),Ue(()=>d.selectedLanguage,C=>{if(!C)return Re("lang",null);const D=ba(Lt.value,te=>te.id.startsWith("lang:")&&te.label===C);D&&Re("lang",{...D,depth:1})}),Ue(()=>d.selectedDialect,C=>{if(!(C!=null&&C.key))return Re("dial",null);const D=`dial:${C.key}`,te=ba(Lt.value,fe=>fe.id===D);te&&Re("dial",{...te,depth:2})}),Ue(()=>d.selectedRegion,C=>{if(!C)return Re("region",null);const D=ba(ea.value,te=>te.id===`region:${C}`);D&&Re("region",{...D,depth:0})});function Ut(C){var fe;const D=ce.items.value||[];return(D.length?D:((fe=Q==null?void 0:Q.items)==null?void 0:fe.value)||[]).flatMap(Pe=>[Pe,...Pe.children||[]]).map(Pe=>({label:Pe.label,color:Pe.color})).filter(Pe=>Pe.label)}const It=we(!1);async function un(){var C,D;if(!It.value){It.value=!0;try{const[{useMapPoster:te},{defaultPosterSpec:fe},{printImageBlob:Pe}]=await Promise.all([Mt(()=>Promise.resolve().then(()=>Zh),void 0),Mt(()=>Promise.resolve().then(()=>Bh),void 0),Mt(()=>Promise.resolve().then(()=>XP),void 0)]),Se=te(()=>q.value),Be=((D=(C=q.value)==null?void 0:C.getContainer)==null?void 0:D.call(C))||null,Ye=!!Be&&Be.clientWidth>Be.clientHeight,ze=fe({widthIn:Ye?11:8.5,heightIn:Ye?8.5:11,dpi:200,orientation:Ye?"landscape":"portrait"}),st=b(N.value)||De.value||"Doxa Map";ze.dir=["ar","fa","he","ur"].includes(String(h.value||"").split("-")[0])?"rtl":"ltr",ze.layout="poster",ze.slots.title={...ze.slots.title,text:st};const Ot=Ut(!0);ze.slots.legend={...ze.slots.legend,rows:Ot,title:De.value},ze.slots.scaleBar=!1,ze.slots.north=!1;const Je=S1(q.value)==="maplibre";ze.slots.footer={...ze.slots.footer,left:"pray.doxa.life",right:new Date().toISOString().slice(0,10),attribution:Je?"© OpenFreeMap © OpenMapTiles © OpenStreetMap":"© Mapbox © OpenStreetMap"};const ot=await Se.render(ze,"png");Pe(ot,{widthIn:ze.widthIn??8.5,heightIn:ze.heightIn??11,title:st,alt:st})||console.error("[research-map] poster print: the host blocked the print frame")}catch(te){console.error("[research-map] poster export failed:",te)}finally{It.value=!1}}}const dn=oe(()=>String(_("controls.export_poster")||"Export poster…"));function Fn(C){const[D,te]=String(C).split(":");if(D==="poster")return un();if(D==="packet")return $o(te||"full")}zt("onLegendExport",Fn),zt("onLegendExport",Fn);const fo=we(!1),Ho=oe(()=>It.value||fo.value);zt("legendExportBusy",Ho);async function $o(C="full"){var D,te,fe,Pe;if(!fo.value){fo.value=!0;try{const[{usePosterPrints:Se},{defaultPosterSpec:Be},{useMapPoster:Ye},{selectedPinIds:ze}]=await Promise.all([Mt(()=>Promise.resolve().then(()=>u2),void 0),Mt(()=>Promise.resolve().then(()=>Bh),void 0),Mt(()=>Promise.resolve().then(()=>Zh),void 0),Mt(()=>Promise.resolve().then(()=>Av),void 0)]),st=O.normalizedPeopleGroups.value||[],Ot=[((te=(D=q.value)==null?void 0:D.getFilter)==null?void 0:te.call(D,"language-family-pins"))||null,dr].filter(Boolean);let Je=st;if(Ot.length){const bt=ze(q.value,{expressions:Ot}),mn=st.filter(Gi=>bt.has(String(Gi.uniqueId??Gi.id??"")));mn.length?Je=mn:console.warn(`[research-map] packet: ${bt.size} pin(s) selected but no rows matched; printing the full list`)}const ot=Je.length;Je.length>50&&(console.warn(`[research-map] packet truncated ${Je.length} → 50 people groups`),Je=Je.slice(0,50));const gt=Je.map(bt=>({slug:String(bt.slug||bt.uniqueId||bt.id||""),name:bt.name,population:bt.population,religion:bt.religionName||bt.religionLabel||bt.religion||"",country_code:bt.countryName||bt.countryIsoLabel||bt.country||bt.countryIso||"",image_url:bt.imageUrl||bt.image_url||""})),at=Be({widthIn:8.27,heightIn:11.69,dpi:150,orientation:"portrait"});at.slots.title={...at.slots.title,text:De.value||"Doxa Map"},at.slots.legend={...at.slots.legend,rows:Ut(!0),title:De.value};let Wt="";if(C!=="cards")try{const bt=await Ye(()=>q.value).render(at,"png");Wt=await new Promise((mn,Gi)=>{const Hi=new FileReader;Hi.onload=()=>mn(String(Hi.result)),Hi.onerror=Gi,Hi.readAsDataURL(bt)})}catch(bt){console.warn("[research-map] packet map page skipped:",(bt==null?void 0:bt.message)||bt)}const Ro=De.value||b(N.value)||"Doxa Map",Ca={id:String(((fe=N.value)==null?void 0:fe.id)||"research-map"),label:ot>Je.length?`${Ro} — ⁦${Je.length} / ${ot}⁩`:Ro,zoneKey:String(((Pe=N.value)==null?void 0:Pe.id)||"research-map")};await Se({records:()=>gt,lang:()=>String(h.value||"en").split("-")[0],label:()=>Ca.label,mapImage:()=>Wt||null}).printPacket(Ca,{variant:C})}catch(Se){console.error("[research-map] packet export failed:",Se)}finally{fo.value=!1}}}const Ft=we(!1),Eo=oe(()=>d.selectedFeature),Xt=oe(()=>m.isDarkTheme),ur=oe(()=>Kg.lightPreset==="night");function as(){var te;const C=q.value;if(!C||!C.getLayer("language-family-pins"))return;const D=ur.value?"#ffffff":["case",[">",["to-number",["get","peoplePraying"],0],0],"#ffffff","#1f2937"];C.setPaintProperty("language-family-pins","circle-stroke-color",D),C.setPaintProperty("language-family-pins","circle-stroke-width",ur.value?vv((te=N.value)==null?void 0:te.colorStrategy):Yf)}Ue(ur,as,{immediate:!1}),Ue(()=>{var C;return(C=N.value)==null?void 0:C.id},as),Ue(()=>m.theme,()=>k.applyTheme(q.value));function ta(){k.swapTheme(q.value)}const rs=we(!1);let pn=null;async function Nn(){if(!rs.value)return pn||(pn=(async()=>{var C,D,te;try{const fe=await((C=O.loadRegionsData)==null?void 0:C.call(O));fe&&q.value&&((D=V.addRegionsLayer)==null||D.call(V,fe,"doxa-regions"),ht(q.value),q.value.getLayer("regions-fill")&&((te=N.value)==null?void 0:te.id)!=="doxa-regions"&&(q.value.setLayoutProperty("regions-fill","visibility","none"),q.value.setLayoutProperty("regions-border","visibility","none")),q.value.getLayer("language-family-pins")&&q.value.moveLayer("language-family-pins")),rs.value=!0,O.regionsData.value=null}catch(fe){console.warn("[research-map] regions layer failed:",fe)}finally{pn=null}})(),pn)}function gn(C){var fe,Pe;if(C===v.value)return;v.value=C,(fe=m.setActiveTab)==null||fe.call(m,C),Nt();const D=K.value.find(Se=>Se.id===C);if(!D||!q.value)return;k.setLook(k.lookFor(D.colorStrategy),q.value),D.id==="doxa-regions"&&Nn();const te=sn(D.colorStrategy);if(q.value.getLayer("language-family-pins")&&(te!=null&&te.buildColorExpression)){const Se=D.id==="doxa-regions"?"#a30000":te.buildColorExpression();q.value.setPaintProperty("language-family-pins","circle-color",Se),oa(q.value),D.id==="prayer"?V.startPrayerGlow():V.stopPrayerGlow();const Be=D.id==="doxa-regions";q.value.getLayer("regions-fill")&&(q.value.setLayoutProperty("regions-fill","visibility",Be?"visible":"none"),q.value.setLayoutProperty("regions-border","visibility",Be?"visible":"none")),q.value.getLayer("language-family-pins")&&q.value.moveLayer("language-family-pins")}(Pe=P.refreshColors)==null||Pe.call(P)}function Oi(C){var ze,st,Ot;const D=C==null?void 0:C.detail;if(!D||(lt(D),!((ze=D.coords)!=null&&ze.length)))return;const te=D.coords;if(te.length===1){(st=se.flyToCoords)==null||st.call(se,{longitude:te[0][0],latitude:te[0][1]},3);return}let fe=1/0,Pe=-1/0,Se=1/0,Be=-1/0;for(const[Je,ot]of te)JePe&&(Pe=Je),otBe&&(Be=ot);const Ye=D.kind==="region"?2.2:3;(Ot=se.fitBounds)==null||Ot.call(se,[[fe,Se],[Pe,Be]],60,{maxZoom:Ye})}let dr=null;function pr(){const C=(d==null?void 0:d.showClusters)&&((d==null?void 0:d.clusteringMode)||"off")!=="off",D=Number(d==null?void 0:d.clusterPinOpacity);return C&&Number.isFinite(D)?Math.min(1,Math.max(0,D)):1}function Mo(C,D){var Pe;if(D!==void 0&&(dr=D||null),!C||!((Pe=C.getLayer)!=null&&Pe.call(C,"language-family-pins")))return;const te=pr(),fe=dr?["case",dr,te,0]:["case",["has","uniqueId"],te,te];try{if(JSON.stringify(C.getPaintProperty("language-family-pins","circle-opacity"))===JSON.stringify(fe))return;C.setPaintProperty("language-family-pins","circle-opacity",fe),C.setPaintProperty("language-family-pins","circle-stroke-opacity",fe),C.getLayer("language-family-pins-shadow")&&C.setPaintProperty("language-family-pins-shadow","circle-opacity",fe)}catch{}}Ue(()=>[d==null?void 0:d.clusterPinOpacity,d==null?void 0:d.clusteringMode,d==null?void 0:d.showClusters],()=>Mo(q.value));const ho={family:null,language:null,dialect:null,region:null,prayer:null,engagement:null,adoption:null};function oa(C){Mo(C,null),C.setFilter("language-family-pins",null),t(C,null),V.syncGlowFilter(null),_t(C,[]),C.getLayer("regions-fill")&&C.setPaintProperty("regions-fill","fill-outline-color",null),ho.family=ho.language=ho.dialect=ho.region=null,ho.prayer=ho.engagement=ho.adoption=null,m.prayerFilter&&m.setPrayerFilter(null),m.engagementFilter&&m.setEngagementFilter(null),m.adoptionFilter&&m.setAdoptionFilter(null),m.religionFilter&&m.setReligionFilter(null),P.setSelectionFilter(null),d.selectedFamily&&d.selectFamily(null),d.selectedLanguage&&d.selectLanguage(null),d.selectedDialect&&d.selectDialect(null);try{ve&&ve.selection&&ve.selection.value&&(ve.selection.value=null)}catch{}}let xa=null,He=0;function lt(C){var Ye,ze,st,Ot,Je;const D=q.value;if(!D||!D.getLayer("language-family-pins"))return;let te,fe,Pe;if(C.kind==="family")Pe="family",te="languageFamily",fe=C.familyKey;else if(C.kind==="language")Pe="language",te="language",fe=C.languageKey;else if(C.kind==="region")Pe="region",te="doxaRegion",fe=C.regionKey;else if(C.kind==="prayer")Pe="prayer",te=C.property||"peoplePraying",fe=C.expectedValue;else if(C.kind==="engagement")Pe="engagement",te=C.property||"engagementStatus",fe=C.expectedValue;else if(C.kind==="adoption")Pe="adoption",te=C.property||"adoptionStatus",fe=C.expectedValue;else if(C.kind==="religion")Pe="religion",te=C.property||"religion",fe=C.expectedValue;else if(C.kind==="dialect")Pe="dialect",te="language",fe=C.dialectKey||"";else{oa(D),Nt();for(const ot of Object.keys(ho))ho[ot]=null;xa=null,He=0;return}const Se=Date.now(),Be=`${Pe}|${fe}`;if(!(xa===Be&&Se-He<80)){if(xa=Be,He=Se,ho[Pe]===fe){oa(D),Nt(),xa=null,He=0;return}for(const ot of Object.keys(ho))ho[ot]=null;if(ho[Pe]=fe,Pe==="family"?(Ye=d.selectFamily)==null||Ye.call(d,fe):Pe==="region"?(ze=d.selectRegion)==null||ze.call(d,fe):Pe==="language"?(st=d.selectLanguage)==null||st.call(d,fe):Pe==="dialect"&&((Ot=d.selectDialect)==null||Ot.call(d,{key:fe,originalLabels:C.originalLabels||[]})),P.setSelectionFilter({property:te,value:fe}),Pe==="region"){if(D.setFilter("language-family-pins",["==",["get","doxaRegion"],fe]),t(D,["==",["get","doxaRegion"],fe]),Mo(D,null),D.getLayer("regions-fill")){const ot=((Je=V.regionIsoMap)==null?void 0:Je.value)||{},gt=Ro=>String(Ro).toLowerCase().replace(/[^a-z]/g,""),at=gt(fe);let Wt=ot[fe]||[];if(!Wt.length){for(const[Ro,Ca]of Object.entries(ot))if(gt(Ro)===at){Wt=Ca;break}}_t(D,Wt)}}else{D.setFilter("language-family-pins",null);let ot;if(Pe==="prayer"){const gt=["to-number",["get",te]];fe==="noPrayer"?ot=["==",gt,0]:fe==="fullPrayer"?ot=[">=",gt,rn]:fe==="hasPrayer"?ot=["all",[">",gt,0],["<",gt,rn]]:ot=["==",["get",te],fe]}else if(Pe==="engagement")ot=["==",["get",te],fe==="hasEngagement"];else if(Pe==="adoption")ot=["==",["get",te],fe==="hasAdoption"];else if(Pe==="religion")ot=["==",["slice",["coalesce",["get",te],""],0,1],fe];else if(C.filterExpr)ot=C.filterExpr;else if(Pe==="language")ot=["any",["==",["get",te],fe],["==",["slice",["get",te],0,fe.length+1],fe+","],["in"," "+fe,["get",te]]];else if(Pe==="dialect"){const gt=C.originalLabels||[];gt.length===1?ot=["==",["get",te],gt[0]]:gt.length>1?ot=["in",["get",te],["literal",gt]]:ot=["==",["get",te],fe]}else ot=["==",["get",te],fe];Mo(D,ot),t(D,ot),V.syncGlowFilter(ot),D.getLayer("regions-fill")&&(D.setPaintProperty("regions-fill","fill-opacity",Xn(.2)),D.setPaintProperty("regions-border","line-color",Xn("rgba(60,60,80,0.35)")),D.setPaintProperty("regions-border","line-width",Xn(.6)))}}}function _o(C,{map:D,filterLayerId:te}){const fe=C.label;try{D.setFilter(te,null)}catch{}const Pe=Object.keys(jo).find(Se=>jo[Se]===fe);if(Pe){const Se={id:Pe,label:fe,depth:0},Be=()=>{try{D.setFilter(te,null)}catch{}ct(Se),ve&&ve.selection&&(ve.selection.value=Se)};v.value!=="religion"&&gn("religion"),Qt(Be)}}function In(C,{map:D,filterLayerId:te}){const fe=C.label,Pe=ze=>String(ze).toLowerCase().replace(/[^a-z0-9]/g,""),Se=ze=>String(ze||"").replace(/\s*\((?:Region|Bloc)\)\s*$/i,""),Be=Pe(fe),Ye=()=>{try{D.setFilter(te,null)}catch{}const ze=ba(ea.value,st=>(st.id.startsWith("region:")||st.id.startsWith("block:"))&&Pe(Se(st.label))===Be);ze&&(ct(ze),ve&&ve.selection&&(ve.selection.value=ze))};v.value!=="doxa-regions"?(gn("doxa-regions"),Promise.resolve(Nn()).finally(()=>Qt(Ye))):Ye()}function fn(C){var te,fe,Pe,Se;if(Array.isArray(C.bounds)&&C.bounds.length===4){const[Be,Ye,ze,st]=C.bounds;(te=se.fitBounds)==null||te.call(se,[[Be,Ye],[ze,st]],60)}else Array.isArray(C.center)&&C.center.length===2&&((fe=se.flyTo)==null||fe.call(se,C.center));const D=Mv(C,O.normalizedPeopleGroups.value||[]);if(D&&B(D),D&&((Pe=N.value)==null?void 0:Pe.id)!=="doxa-regions"&&le.showCountry(D),D&&((Se=N.value)==null?void 0:Se.id)==="doxa-regions"){const Be=()=>{const Ye=ba(ea.value,ze=>ze.id.startsWith("country:")&&(ze.isoCodes||[]).includes(D));Ye&&(ct(Ye),ve&&ve.selection&&(ve.selection.value=Ye))};Promise.resolve(Nn()).finally(()=>Qt(Be))}}Ue(()=>d.filters,()=>{var C,D;(C=V.applyFilters)==null||C.call(V,d.filters),(D=P.applyFilters)==null||D.call(P,d.filters)},{deep:!0});let Ao=!1,ss="";Ue(()=>{var C;return(C=s==null?void 0:s.value)==null?void 0:C.externalFilters},C=>{var D,te;if(!(!C||typeof C!="object"||!d)){Ao=!0;try{if("region"in C){const fe=C.region||null;(fe||d.selectedRegion)&&((D=d.selectRegion)==null||D.call(d,fe))}if("religion"in C){const fe=String(C.religion||"").trim(),Pe=fe?Object.keys(jo).find(Se=>String(jo[Se]).toLowerCase()===fe.toLowerCase()):"";fe?Pe&&(v.value!=="religion"&&gn("religion"),Qt(()=>m.setReligionFilter(Pe))):m.religionFilter&&m.setReligionFilter(null)}if("fitSlugs"in C&&ji(C.fitSlugs),"language"in C){const fe=C.language||null;(fe||d.selectedLanguage)&&((te=d.selectLanguage)==null||te.call(d,fe))}}finally{Qt(()=>{Ao=!1})}}},{deep:!0,immediate:!0});let Di=null,gr=null,is=null,zi=null;typeof window<"u"&&(window.__researchMapFilterState=Di=()=>{var C,D;return{selectedRegion:(d==null?void 0:d.selectedRegion)||"",externalRegion:((D=(C=s==null?void 0:s.value)==null?void 0:C.externalFilters)==null?void 0:D.region)||"",religionFamily:jo[m==null?void 0:m.religionFilter]||"",selectedLanguage:(d==null?void 0:d.selectedLanguage)||""}},window.__researchMapPinOpacity=gr=()=>{var C,D;try{return((D=(C=q.value)==null?void 0:C.getPaintProperty)==null?void 0:D.call(C,"language-family-pins","circle-opacity"))??null}catch{return null}},window.__researchMapClusterDraw=is=()=>{var te,fe;const C=q.value,D={};try{for(const Pe of((fe=(te=C==null?void 0:C.getStyle)==null?void 0:te.call(C))==null?void 0:fe.layers)||[]){if(!/^(mapbox-clusters|cluster-lines)/.test(Pe.id))continue;let Se=0;try{Se=C.queryRenderedFeatures({layers:[Pe.id]}).length}catch{Se=-1}D[Pe.id]={visibility:Pe.layout&&Pe.layout.visibility||"visible",rendered:Se}}}catch{}return D},window.__researchMapVocabulary=zi=C=>{var fe;const D=((fe=O==null?void 0:O.normalizedPeopleGroups)==null?void 0:fe.value)||[],te=new Set;for(const Pe of D){if(C==="religionFamily"){const Be=jo[String((Pe==null?void 0:Pe.religion)||"").charAt(0)];Be&&te.add(Be);continue}const Se=Pe&&Pe[C];typeof Se=="string"&&Se&&te.add(Se)}return[...te].sort()});const fr=Lo();function ls(){var C,D,te,fe;try{return((fe=(te=(D=(C=fr==null?void 0:fr.proxy)==null?void 0:C.$el)==null?void 0:D.getRootNode)==null?void 0:te.call(D))==null?void 0:fe.host)||null}catch{return null}}function cs(){var gt;if(Ao||typeof window>"u")return;const C=ls();if(!C)return;const D=jo[m==null?void 0:m.religionFilter]||"",te=(d==null?void 0:d.selectedLanguage)||"",fe=(d==null?void 0:d.selectedDialect)||null,Pe=Array.isArray(fe==null?void 0:fe.originalLabels)?fe.originalLabels.map(at=>String(at).trim()).filter(Boolean):[],Se=((gt=O==null?void 0:O.normalizedPeopleGroups)==null?void 0:gt.value)||[],Be=at=>{const Wt=at&&(at.language??at.primary_language);return String((Wt&&typeof Wt=="object"?Wt.label:Wt)||"").trim()},Ye=(at,Wt)=>at===Wt||at.startsWith(Wt+",")||at.includes(" "+Wt),ze=Pe.length?Se.filter(at=>Pe.includes(Be(at))):te?Se.filter(at=>Ye(Be(at),te.trim())):[],st=[...new Set(ze.map(at=>{var Wt,Ro;return String(((Ro=(Wt=at==null?void 0:at._raw)==null?void 0:Wt.primary_language)==null?void 0:Ro.value)||(at!=null&&at.language&&typeof at.language=="object"?at.language.value:"")||"").trim()}).filter(Boolean))],Ot=st.length===1?st[0]:"",Je={region:(d==null?void 0:d.selectedRegion)||"",religion:D,language:Pe.length?Pe.join(" · "):te,languageCode:Ot,languageCodes:st},ot=!Je.region&&!Je.religion&&!Je.language&&!Je.languageCode;if(ot&&Aa){const at=typeof performance<"u"?performance.now():Date.now();if(Sa||(Sa=at),at-SaclearTimeout(hn)),Ue(()=>{var C;return[d==null?void 0:d.selectedRegion,d==null?void 0:d.selectedLanguage,(C=d==null?void 0:d.selectedDialect)==null?void 0:C.key,m==null?void 0:m.religionFilter]},()=>mu()),Ue(()=>d.selectedRegion,C=>{lt(C?{kind:"region",regionKey:C}:{kind:null})}),Ue(()=>d.selectedFamily,C=>{C?lt({kind:"family",familyKey:C}):!d.selectedLanguage&&!d.selectedDialect&<({kind:null})}),Ue(()=>d.selectedLanguage,C=>{C?lt({kind:"language",languageKey:C}):!d.selectedFamily&&!d.selectedDialect&<({kind:null})}),Ue(()=>d.selectedDialect,C=>{C!=null&&C.key?lt({kind:"dialect",dialectKey:C.key,originalLabels:C.originalLabels||[]}):!d.selectedFamily&&!d.selectedLanguage&<({kind:null})}),Ue(()=>m.prayerFilter,C=>{lt(C?{kind:"prayer",property:"peoplePraying",expectedValue:C}:{kind:null})}),Ue(()=>m.engagementFilter,C=>{lt(C?{kind:"engagement",property:"engagementStatus",expectedValue:C}:{kind:null})}),Ue(()=>m.adoptionFilter,C=>{lt(C?{kind:"adoption",property:"adoptionStatus",expectedValue:C}:{kind:null})}),Ue(()=>m.religionFilter,C=>{lt(C?{kind:"religion",property:"religion",expectedValue:C}:{kind:null})});function bu(){try{return typeof window<"u"&&typeof window.matchMedia=="function"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches}catch{return!1}}function ji(C){var Wt,Ro,Ca;const D=Array.isArray(C)?C.filter(Uo=>typeof Uo=="string"&&Uo):[],te=D.length?`${D.length}:${D[0]}:${D[D.length-1]}`:"";if(te===ss||(ss=te,!D.length))return;const fe=new Set(D),Pe=((Wt=O==null?void 0:O.normalizedPeopleGroups)==null?void 0:Wt.value)||[];let Se=1/0,Be=1/0,Ye=-1/0,ze=-1/0,st=0;for(const Uo of Pe){if(!Uo||!fe.has(Uo.slug))continue;const bt=Number(Uo.longitude??Uo.lng),mn=Number(Uo.latitude??Uo.lat);!Number.isFinite(bt)||!Number.isFinite(mn)||(btYe&&(Ye=bt),mn>ze&&(ze=mn),st++)}if(!st)return;const Ot=Ye-Se,Je=ze-Be,ot={longitude:(Se+Ye)/2,latitude:(Be+ze)/2},gt=Ot>iP?{c:ot,z:lP}:st===1||Otd.showClusters,async C=>{Pa||(C&&(!d.clusteringMode||d.clusteringMode==="off")?d.clusteringMode="mst":!C&&d.clusteringMode!=="off"&&(d.clusteringMode="off"),await Bi())}),Ue(()=>d.clusteringMode,async()=>{Pa||await Bi()});async function J2(C){var D,te,fe,Pe,Se,Be;d.registerMap(Z,q.value),A1(q.value,"mercator"),k.applyTheme(q.value),C!=null&&C.length&&(V.addLanguageFamilyLayer(C,((D=N.value)==null?void 0:D.colorStrategy)??"languageFamily"),((te=N.value)==null?void 0:te.id)==="doxa-regions"&&((fe=q.value)!=null&&fe.getLayer("language-family-pins"))&&q.value.setPaintProperty("language-family-pins","circle-color","#4b5563"),Mo(q.value),((Pe=N.value)==null?void 0:Pe.id)==="prayer"&&V.startPrayerGlow(),(Se=P.setData)==null||Se.call(P,C),G.initialize()),((Be=N.value)==null?void 0:Be.id)==="doxa-regions"&&(typeof window<"u"&&window.requestIdleCallback?ze=>window.requestIdleCallback(ze,{timeout:2e3}):ze=>setTimeout(ze,800))(()=>{Nn()}),as(),d.setMapReady(Z),Ae.value=!0}let us=null,La=null,hr=null;function vm(C){const D=j.value;D&&(getComputedStyle(D).getPropertyValue("--map-radius").trim()||(D.style.setProperty("--map-radius","16px"),D.style.setProperty("--map-radius-sm","8px")),C>=700?(D.style.setProperty("--map-btn-size","40px"),D.style.setProperty("--map-toolbar-gap","8px"),D.style.setProperty("--map-font-md","13px"),D.style.setProperty("--map-font-sm","11px"),D.style.setProperty("--map-legend-width","380px")):C>=500?(D.style.setProperty("--map-btn-size","36px"),D.style.setProperty("--map-toolbar-gap","6px"),D.style.setProperty("--map-font-md","12px"),D.style.setProperty("--map-font-sm","10px"),D.style.setProperty("--map-legend-width","360px")):(D.style.setProperty("--map-btn-size","32px"),D.style.setProperty("--map-toolbar-gap","5px"),D.style.setProperty("--map-font-md","11px"),D.style.setProperty("--map-font-sm","10px"),D.style.setProperty("--map-legend-width","280px")))}return Jo(async()=>{var D,te,fe,Pe;(D=m.init)==null||D.call(m),v.value=((te=K.value[0])==null?void 0:te.id)??"doxa-regions",m.isMobile?(fe=m.collapseLegend)==null||fe.call(m):(Pe=m.openLegend)==null||Pe.call(m),j.value&&(vm(j.value.getBoundingClientRect().width),typeof ResizeObserver<"u"&&(us=new ResizeObserver(Se=>{for(const Be of Se)vm(Be.contentRect.width)}),us.observe(j.value))),window.addEventListener("doxa:legend-row-click",Ee),window.addEventListener("legend:highlight",Oi);const C=O.loadData().catch(Se=>(console.error("[research-map] data load failed:",Se),{normalizedPeopleGroups:[]}));try{await pe()}catch(Se){console.error("[research-map] Map failed to initialize —",Se),X.value=String((Se==null?void 0:Se.message)||Se);return}{const Se=q.value?rt(q.value):null;Se&&Se!==q.value&&(q.value=null,q.value=Fa(Se))}if(!q.value){console.error("[research-map] Map failed to initialize — check token and container"),X.value=_("dashboard.map_init_failed");return}q.value.once("style.load",async()=>{try{const{normalizedPeopleGroups:Se}=await C;await J2(Se)}catch(Se){console.error("[research-map] onMapReady failed:",Se),X.value=String((Se==null?void 0:Se.message)||Se)}}),o(q.value),hr=()=>o(q.value);try{La=new ResizeObserver(hr);const Se=q.value.getContainer&&q.value.getContainer()||null;Se&&La.observe(Se);const Be=Se?Sh(Se):null;Be&&La.observe(Be),document.body&&La.observe(document.body)}catch{}window.addEventListener("resize",hr)}),wo(()=>{const C=D=>{try{D()}catch(te){console.warn("[research-map] teardown step failed",te)}};try{C(()=>window.removeEventListener("doxa:legend-row-click",Ee)),C(()=>window.removeEventListener("legend:highlight",Oi)),C(()=>{us&&(us.disconnect(),us=null)}),C(()=>{La&&(La.disconnect(),La=null)}),C(()=>{hr&&(window.removeEventListener("resize",hr),hr=null)}),C(()=>{var D;return(D=V.stopPrayerGlow)==null?void 0:D.call(V)}),C(()=>{var D;return(D=V.cleanup)==null?void 0:D.call(V)}),C(()=>{var D;return(D=P.cleanup)==null?void 0:D.call(P)}),C(()=>{var D;return(D=G.cleanup)==null?void 0:D.call(G)}),C(()=>{var D;return(D=d.unregisterMap)==null?void 0:D.call(d,Z)}),C(()=>{typeof window>"u"||(window.__researchMapFilterState===Di&&delete window.__researchMapFilterState,window.__researchMapPinOpacity===gr&&delete window.__researchMapPinOpacity,window.__researchMapClusterDraw===is&&delete window.__researchMapClusterDraw,window.__researchMapVocabulary===zi&&delete window.__researchMapVocabulary)})}finally{Le()}}),(C,D)=>(re(),he("div",{ref_key:"rmRoot",ref:j,class:Ge(["rm-root",{"rm-dark":Xt.value,"dsm-dark":Xt.value}])},[J.value?(re(),he("div",{key:0,ref_key:"tabBar",ref:ae,class:"rm-tab-bar"},[(re(!0),he(et,null,so(K.value,te=>(re(),he(et,{key:te.id},[R("button",{class:Ge(["rm-tab",{active:v.value===te.id}]),onClick:fe=>gn(te.id)},ye(b(te)),11,JA),te.sepAfter?(re(),he("div",XA)):Me("",!0)],64))),128))],512)):Me("",!0),R("div",QA,[!Ae.value&&!X.value?(re(),he("div",eP,ye(n("dashboard.map_loading","Research map loading…")),1)):Me("",!0),X.value?(re(),he("div",tP,ye(n("allPeopleGroups.loadError","The map could not be loaded."))+" "+ye(X.value),1)):Me("",!0),R("div",{ref_key:"mapContainer",ref:xe,class:"rm-map-canvas"},null,512),D[4]||(D[4]=R("div",{class:"map-scroll-edge map-scroll-edge--left"},null,-1)),D[5]||(D[5]=R("div",{class:"map-scroll-edge map-scroll-edge--right"},null,-1)),ge(l)!=="mapbox"?(re(),he("div",{key:2,class:"rm-provider-badge","data-provider":ge(l)},ye(ge(f)),9,oP)):Me("",!0),Ae.value&&ge(q)&&c.value?(re(),it(gx,{key:3,ref_key:"geocoderRef",ref:_e,"map-instance":ge(q),"access-token":ge(i),provider:ge(l),"data-source-id":ge(x),"is-dark":Xt.value,placeholder:F.value,"active-context":z.value,onPeopleGroupResult:ge(tt),onAggregateResult:ge(kt),onClear:ge($t)},null,8,["map-instance","access-token","provider","data-source-id","is-dark","placeholder","active-context","onPeopleGroupResult","onAggregateResult","onClear"])):Me("",!0),Me("",!0),Ae.value&&ge(q)?(re(),it(jk,{key:5,"has-geocoder":c.value},{default:mo(()=>[ut(Gk,{map:ge(q),"is-dark":Xt.value},null,8,["map","is-dark"]),ut(Hk,{map:ge(q),"is-dark":Xt.value},null,8,["map","is-dark"]),ut(Uk,{map:ge(q),"is-dark":Xt.value},null,8,["map","is-dark"]),ut(qk,{"map-container":xe.value,"is-dark":Xt.value},null,8,["map-container","is-dark"]),ut(Yk,{"is-dark":Xt.value,onToggle:ta},null,8,["is-dark"]),ut(ma,{"is-dark":Xt.value,active:It.value,disabled:It.value,title:dn.value,class:"export-poster-btn","aria-busy":It.value?"true":"false",onClick:un},{default:mo(()=>[...D[3]||(D[3]=[R("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[R("path",{d:"M12 3v12M7 10l5 5 5-5M5 21h14"})],-1)])]),_:1},8,["is-dark","active","disabled","title","aria-busy"]),E.share?(re(),it(Nx,{key:0,"is-dark":Xt.value,"embed-path":"doxa-research-map/research-map/index.html"},null,8,["is-dark"])):Me("",!0)]),_:1},8,["has-geocoder"])):Me("",!0),Ae.value&&u.value?(re(),it(zk,{key:6,"legend-type":$.value,"is-dark":Xt.value},null,8,["legend-type","is-dark"])):Me("",!0),Ae.value?(re(),it(Xx,{key:7,"is-open":Ft.value,onClose:D[1]||(D[1]=te=>Ft.value=!1),onOpenPoster:un},{default:mo(()=>[ut(AS)]),_:1},8,["is-open"])):Me("",!0),R("div",{class:"rm-legend-desktop-slot",style:Ct(p.value?{"--stl-top":p.value}:null)},[Ae.value&&ge(m).legendMode==="detail"&&ge(m).selectedPeopleGroup?(re(),it(Ak,{key:0,"legend-type":$.value,"popup-action":A.value,"initially-collapsed":!1,"is-dark":Xt.value},null,8,["legend-type","popup-action","is-dark"])):Me("",!0),Fs(R("div",null,[Ae.value?(re(),it(wh,{key:0,nodes:ie.value,tabs:be.value,title:De.value,hideTabs:$e.value,columnLabel:ke.value,progress:ge(Ne),open:Ie.value,"export-enabled":aP,onSelect:ct,onExport:Fn,"onUpdate:open":Ce},null,8,["nodes","tabs","title","hideTabs","columnLabel","progress","open"])):Me("",!0)],512),[[op,!(ge(m).legendMode==="detail"&&ge(m).selectedPeopleGroup)]])],4),R("div",nP,[Ae.value?(re(),it(ge(a),{key:0,"legend-type":$.value,"popup-action":A.value,"is-dark":Xt.value},null,8,["legend-type","popup-action","is-dark"])):Me("",!0)]),Ae.value&&Eo.value?(re(),it(ge(r),{key:8,feature:Eo.value,action:A.value,dark:Xt.value,onClose:D[2]||(D[2]=te=>ge(d).selectFeature(null))},null,8,["feature","action","dark"])):Me("",!0)])],2))}}},Symbol.toStringTag,{value:"Module"})),pP="",gP={class:"legend-sheet-root"},fP=["src","alt"],hP={key:0,class:"pull-tab-handle"},mP=["aria-expanded","aria-label"],bP=["aria-label"],$P=["aria-expanded","aria-label"],_P={class:"collapsed-detail-title"},yP={class:"legend-content"},vP=["aria-expanded","aria-label"],wP=["aria-expanded","aria-label"],Th=80,kP=48,xP=44,SP=24,Eh="--legend-sheet-h",Mh=Object.freeze(Object.defineProperty({__proto__:null,default:nn({__name:"LegendMobile",props:{legendType:{type:String,required:!0},nodes:{type:Array,default:null},tabs:{type:Array,default:null},defaultTab:{type:Number,default:0},columnLabel:{type:String,default:null},title:{type:String,default:null},columns:{type:Array,default:null},isDark:{type:Boolean,default:!1},popupAction:{type:String,default:"pray",validator:e=>["pray","adopt","none"].includes(e)},disableCollapse:{type:Boolean,default:!1}},setup(e){const{t}=jt();Kt(` .floating-mini-image{position:absolute;inset-inline-start:16px;bottom:calc(30% + 16px);z-index:999;pointer-events:auto;cursor:pointer;} .mini-image{width:120px;height:150px;object-fit:cover;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,0.25);display:block;} .legend-sheet-root{position:absolute;inset:0;pointer-events:none;overflow:hidden;} @@ -1594,7 +1594,7 @@ @media (prefers-reduced-motion: reduce) { .legend-sheet, .legend-content, .legend-handle, .legend-toggle { transition: none !important; animation: none !important; } } -`,"legend-mobile-sheet");const o=e,n=je("uiStore");je("mapStore");const a=je("dataStore"),r=je("onSemanticTreeSelect",()=>{}),s=je("onLegendExport",null),i=oe(()=>typeof s=="function"),l=je("legendExportCards",!1),c=Cs(o,"legendType"),{items:u,columns:p,title:f,activeFilter:x,setFilter:S,totalCount:y,totalPopulation:h,fmtPop:_,fmtCount:g}=Qr(c,Ei),b=je("normalizedPeopleGroups",null),d=oe(()=>{var U,ne;if((U=b==null?void 0:b.value)!=null&&U.length)return b.value;const de=[];for(const Ee in(a==null?void 0:a.sources)||{}){const Re=a.sources[Ee];(ne=Re==null?void 0:Re.features)!=null&&ne.length&&de.push(...Re.features)}return de}),w={get value(){return d.value}},{langTree:m}=Yc(w),{affinityTree:k}=kh(w),{regionsTree:E}=xh(w),L=[{id:"family",label:"Lang Family",info:"A language family is a group of languages descended from a common ancestor."},{id:"language",label:"Language",info:"A language is a system of communication used by a people."},{id:"dialect",label:"Dialect",info:"A dialect/variety is a regional or social form of a language."}],H=[{id:"bloc",label:"Block",info:"Affinity Block (rop1) — broadest grouping. 16 blocks total."},{id:"cluster",label:"Cluster",info:"Cluster (imb_reg_of_people_2, ROP 2) — finer grouping inside a block. 194 total."},{id:"group",label:"PG",info:"People Group (imb_reg_of_people_25, ROP 2.5) — abstract identity. 1,736 PGs."},{id:"pgic",label:"PGIC",info:"PG in Country (imb_reg_of_people_3 + country_code) — one row per PG-country pair. 2,106 rows."}],K=[{id:"region",label:"Region",info:'WAGF macro-region (e.g. "Asia", "Africa"). Color-coded on the map.'},{id:"block",label:"Bloc",info:'WAGF bloc — organizational sub-grouping within each region (e.g. "South East Asia").'},{id:"country",label:"Country",info:"Individual countries, listed by unreached-population size within their bloc."}],J=oe(()=>["prayer","engagement","adoption","religion"].includes(o.legendType));function v(de){const U=[];for(const ne of de){U.push({id:ne.key,label:ne.label,color:ne.color,count:ne.count??0,pop:ne.population??0,filter:ne.filterKey?["==",["get","_flat_filter"],ne.filterKey]:null,children:[]});for(const Ee of ne.children||[])U.push({id:Ee.key,label:Ee.label,color:Ee.color,count:Ee.count??0,pop:Ee.population??0,filter:Ee.filterKey?["==",["get","_flat_filter"],Ee.filterKey]:null,children:[]})}return U}const N=oe(()=>o.nodes?o.nodes:J.value?v(u.value):o.legendType==="affinity-block"?k.value:o.legendType==="doxa-regions"?E.value:m.value),$=oe(()=>o.nodes?o.tabs:J.value?null:o.legendType==="affinity-block"?H:o.legendType==="doxa-regions"?K:L),A=oe(()=>o.title?o.title:J.value?t("legend.titleBar.legend"):o.legendType==="affinity-block"?t("legend.titleBar.peopleGroups"):o.legendType==="doxa-regions"?t("legend.titleBar.wagfRegions"):t("legend.titleBar.languages")),I=oe(()=>o.columnLabel!==null?o.columnLabel:["religion","prayer","engagement","adoption"].includes(o.legendType)?t("legend.colLabel."+o.legendType):J.value?t("legend.colLabel.status"):""),F=we(null),W=we(!1),z={pending:null,active:!1,startY:0,startH:0,startState:"",containerH:0,maxH:0,lastH:0,contentEl:null};let Z=0;const j=()=>Date.now()-Z<400,ae=oe(()=>n.legendState),_e=oe(()=>ae.value!=="collapsed"),Te=oe(()=>n.legendHeight),xe=oe(()=>n.caretRotation),Ae=oe(()=>n.showPullTab),X=oe(()=>n.legendMode),q=oe(()=>n.selectedPeopleGroup),pe=je("normalizedPeopleGroups",null),Le=oe(()=>{var U,ne;if((U=pe==null?void 0:pe.value)!=null&&U.length)return tu(pe.value);const de=[];for(const Ee in(a==null?void 0:a.sources)||{}){const Re=a.sources[Ee];(ne=Re==null?void 0:Re.features)!=null&&ne.length&&de.push(...Re.features)}return tu(de)}),M=oe(()=>q.value?mh(Le.value,q.value):[]),O=oe(()=>{var de;return X.value==="detail"&&q.value?((de=q.value.properties)==null?void 0:de.name)||t("legend.header.peopleGroupFallback"):ae.value==="collapsed"?o.title||t("legend.header.collapsed"):o.title||f.value});function B(de){n.handleLegendItemClick(),S(de)}function V(){j()||n.toggleLegend()}function se(){j()||(n.selectPeopleGroup(null),n.openLegend())}const G=oe(()=>{var U;if(!q.value)return null;const de=q.value.properties||{};return de.imageUrl||((U=de._raw)==null?void 0:U.ImageURL)||null});function ue(de){var tt;if(ae.value==="collapsed")return;const U=de.touches[0],ne=F.value;if(!U||!ne)return;const Re=U.clientY-ne.getBoundingClientRect().top<=xP?"grab":X.value==="detail"?"content":null;Re&&(z.pending=Re,z.active=!1,z.startY=U.clientY,z.startH=ne.offsetHeight,z.lastH=z.startH,z.startState=ae.value,z.containerH=((tt=ne.parentElement)==null?void 0:tt.offsetHeight)||window.innerHeight,z.maxH=z.containerH-Th,z.contentEl=ne.querySelector(".legend-content"))}function me(de){if(!z.pending&&!z.active)return;const U=de.touches[0];if(!U)return;const ne=z.startY-U.clientY;if(!z.active){if(ne===0)return;let Re=z.pending==="grab";if(z.pending==="content"){const tt=!z.contentEl||z.contentEl.scrollTop<=0;Re=ne>0?z.startH0?n.fullyOpenLegend():z.startState==="fullyOpen"?n.openLegend():n.collapseLegend()}function P(de){de==="fullyOpen"?n.fullyOpenLegend():de==="collapsed"?n.collapseLegend():n.openLegend()}let Q=null,le=null,ve=null;return Jo(()=>{const de=F.value;if(!de||typeof ResizeObserver>"u")return;const U=de.getRootNode();le=U instanceof ShadowRoot?U.host:U.documentElement||null,le&&(ve=de,Q=new ResizeObserver(()=>{const ne=de.offsetHeight;ne<=0||(le.style.setProperty(Eh,`${ne}px`),le.__legendSheetVarOwner=de)}),Q.observe(de))}),vo(()=>{Q&&(Q.disconnect(),Q=null),le&&le.__legendSheetVarOwner===ve&&(le.style.removeProperty(Eh),le.__legendSheetVarOwner=null),le=null,ve=null}),(de,U)=>{var ne;return re(),he("div",gP,[X.value!=="detail"&&ae.value!=="collapsed"?(re(),it(es,{key:0,class:Ge(["approx-pin-note--floating",{"approx-pin-note--floating-dark":e.isDark}]),dark:e.isDark},null,8,["class","dark"])):Me("",!0),X.value==="detail"&&q.value&&ae.value==="open"&&G.value?(re(),he("div",{key:1,class:"floating-mini-image",onClick:U[0]||(U[0]=Ee=>ge(n).fullyOpenLegend())},[R("img",{src:G.value,alt:(ne=q.value.properties)==null?void 0:ne.name,class:"mini-image"},null,8,fP)])):Me("",!0),R("div",{ref_key:"sheetRef",ref:F,class:Ge(["legend-mobile-sheet",[ae.value,{"sheet-dark":e.isDark,dragging:W.value}]]),style:Ct({height:Te.value,"--legend-sheet-top-reserve":Th+"px"}),onTouchstart:ue,onTouchmove:me,onTouchend:T,onTouchcancel:T},[R("div",{class:"sheet-drag-strip",onClick:V},[Ae.value?(re(),he("div",hP)):Me("",!0)]),X.value==="detail"&&ae.value!=="collapsed"?(re(),he("button",{key:0,class:"detail-collapse-btn-mobile",onClick:At(V,["stop"]),"aria-expanded":String(_e.value),"aria-label":ge(t)("aria.toggleLegend")},null,8,mP)):Me("",!0),X.value==="detail"&&ae.value!=="collapsed"?(re(),he("button",{key:1,class:"detail-close-btn",onClick:At(se,["stop"]),"aria-label":ge(t)("aria.backToLegend")},[...U[2]||(U[2]=[R("svg",{width:"18",height:"18",viewBox:"0 0 20 20",fill:"none"},[R("path",{d:"M15 5L5 15M5 5L15 15",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)])],8,bP)):Me("",!0),ae.value==="collapsed"&&X.value==="detail"&&q.value?(re(),he("div",{key:2,class:"collapsed-detail-footer",onClick:V},[R("button",{class:"mobile-collapse-caret",style:Ct({transform:`rotate(${xe.value}deg)`}),"aria-expanded":String(_e.value),"aria-label":ge(t)("aria.toggleLegend"),tabindex:"-1"},[...U[3]||(U[3]=[R("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[R("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],12,$P),R("span",_P,ye(O.value),1)])):Me("",!0),R("div",yP,[X.value==="detail"&&q.value?(re(),he(et,{key:0},[ae.value!=="collapsed"?(re(),it(Qc,{key:0,peopleGroup:q.value,hideHeader:!0,dark:e.isDark,action:e.popupAction},null,8,["peopleGroup","dark","action"])):Me("",!0),ae.value!=="collapsed"?(re(),it(es,{key:1,shared:M.value,dark:e.isDark},null,8,["shared","dark"])):Me("",!0)],64)):e.legendType!=="default"?(re(),it(wh,{key:1,nodes:N.value,tabs:$.value,"default-tab":e.defaultTab,title:O.value||A.value,hideTabs:e.nodes?!e.tabs:J.value,columnLabel:I.value,columns:e.columns||["count","pop"],"export-enabled":i.value,"export-cards":i.value&&ge(l)===!0,onSelect:ge(r),onExport:U[1]||(U[1]=Ee=>ge(s)&&ge(s)(Ee))},{"title-caret":ho(()=>[R("button",{class:"mobile-collapse-caret",style:Ct({transform:`rotate(${xe.value}deg)`}),onClick:At(V,["stop"]),"aria-expanded":String(_e.value),"aria-label":ge(t)("aria.toggleLegend")},[...U[4]||(U[4]=[R("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[R("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],12,vP)]),_:1},8,["nodes","tabs","default-tab","title","hideTabs","columnLabel","columns","export-enabled","export-cards","onSelect"])):(re(),it(uh,{key:2,title:O.value,items:ge(u),columns:ge(p),activeFilter:ge(x),isDark:e.isDark,hideColumnHeader:!1,showFooter:!1,disableCollapse:!0,totalCount:ge(y),totalPopulation:ge(h),fmtPop:ge(_),fmtCount:ge(g),onFilterClick:B},{"title-caret":ho(()=>[R("button",{class:"mobile-collapse-caret",style:Ct({transform:`rotate(${xe.value}deg)`}),onClick:At(V,["stop"]),"aria-expanded":String(_e.value),"aria-label":ge(t)("aria.toggleLegend")},[...U[5]||(U[5]=[R("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[R("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],12,wP)]),_:1},8,["title","items","columns","activeFilter","isDark","totalCount","totalPopulation","fmtPop","fmtCount"]))])],38)])}}},[["styles",[pP]],["__scopeId","data-v-73155d8f"]])},Symbol.toStringTag,{value:"Module"})),Rh={regular:"Noto Sans Regular",medium:"Noto Sans Bold",bold:"Noto Sans Bold"};function AP(e){return typeof window<"u"&&!!window.maplibregl&&e instanceof window.maplibregl.Map}function PP(e,{weight:t="regular",mapbox:o}={}){return AP(e)?{"text-font":[Rh[t]||Rh.regular]}:Array.isArray(o)&&o.length?{"text-font":o}:{}}function su(e,t,o,n){const a=parseFloat(t)-parseFloat(n),r=parseFloat(e)-parseFloat(o);return Math.sqrt(a*a+r*r)}function LP(e,t){const o={};for(const n of e){const a=t(n);o[a]||(o[a]=[]),o[a].push(n)}return o}const CP=Object.freeze({cluster:!0,clusterMaxZoom:6,clusterRadius:40}),TP=Object.freeze(["step",["get","point_count"],"#51bbd6",10,"#f1f075",50,"#f28cb1",500,"#e74c3c"]),EP=Object.freeze(["step",["get","point_count"],15,10,20,50,25,500,35]);class Fh{constructor(t={}){this.maxConnectionDistance=t.maxConnectionDistance??1/0}_calculateDistance(t,o){return su(parseFloat(t.latitude),parseFloat(t.longitude),parseFloat(o.latitude),parseFloat(o.longitude))}_createUnionFind(t){const o=Array.from({length:t},(s,i)=>i),n=new Array(t).fill(0),a=s=>(o[s]!==s&&(o[s]=a(o[s])),o[s]);return{find:a,union:(s,i)=>{const l=a(s),c=a(i);return l===c?!1:(n[l]n[c]?o[c]=l:(o[c]=l,n[l]++),!0)}}}generateMSTLines(t,o={}){const n=o.maxConnectionDistance??this.maxConnectionDistance;if(!t||t.length<2)return[];const a=t.filter(h=>{const _=parseFloat(h.latitude),g=parseFloat(h.longitude);return!isNaN(_)&&!isNaN(g)});if(a.length<2)return[];const r=a.length,s=a.map(h=>parseFloat(h.latitude)),i=a.map(h=>parseFloat(h.longitude)),l=new Uint8Array(r),c=new Float64Array(r).fill(1/0),u=new Int32Array(r).fill(-1),p=[];let f=r;for(;f>0;){let h=-1,_=1/0;for(let g=0;gn){h=-1;for(let g=0;g=0){const g=u[h];p.push({from:g,to:h,distance:c[h],fromPoint:a[g],toPoint:a[h]})}for(let g=0;g({type:"Feature",geometry:{type:"LineString",coordinates:[[parseFloat(h.fromPoint.longitude),parseFloat(h.fromPoint.latitude)],[parseFloat(h.toPoint.longitude),parseFloat(h.toPoint.latitude)]]},properties:{distance:h.distance,algorithm:"MST"}}));return p.length${n} deg).`),y}generateMultiGroupMSTLines(t,o=null,n={}){const a={},r=Object.keys(t).sort((s,i)=>t[i].length-t[s].length);for(const s of r){const i=t[s];if(!i||i.length<2){a[s]={lines:[],count:0,pointCount:(i==null?void 0:i.length)||0};continue}const l=this.generateMSTLines(i,n);if(typeof o=="function"){const c=o(s);l.forEach(u=>{u.properties={...u.properties,group:s,color:c}})}else l.forEach(c=>{c.properties={...c.properties,group:s}});a[s]={lines:l,count:l.length,pointCount:i.length}}return a}generateAllMSTLines(t,o=null,n={}){const a=this.generateMultiGroupMSTLines(t,o,n),r=[];for(const s in a)r.push(...a[s].lines);return r}getMSTStats(t,o={}){const n=this.generateMultiGroupMSTLines(t,null,o);let a=0,r=0;const s=[];for(const l in n){const{lines:c,pointCount:u}=n[l];a+=c.length,r+=u;const p=Math.max(0,u-1),f=u>1?(c.length/p*100).toFixed(1):100;s.push({name:l,points:u,lines:c.length,expected:p,coverage:f+"%",hasOrphans:c.lengthc.points-l.points);const i=s.filter(l=>l.hasOrphans).length;return{algorithm:"MST (Minimum Spanning Tree)",totalGroups:Object.keys(t).length,totalPoints:r,totalLines:a,expectedLines:Math.max(0,r-Object.keys(t).length),groupsWithOrphans:i,allPointsConnected:i===0,groups:s}}}new Fh;class Nh{constructor(t={}){this.maxDistance=t.maxDistance??15,this.maxNeighbors=t.maxNeighbors??15,this.sortKey=t.sortKey??"longitude"}_calculateDistance(t,o,n,a){return su(t,o,n,a)}generateNetworkLines(t,o={}){const n=o.maxDistance??this.maxDistance,a=o.maxNeighbors??this.maxNeighbors,r=o.sortKey??this.sortKey,s=o.connectOrphans??!0;if(!t||t.length<2)return[];const i=t.filter(p=>{const f=parseFloat(p.latitude),x=parseFloat(p.longitude);return!isNaN(f)&&!isNaN(x)});if(i.length<2)return[];const l=[],c=new Set,u=[...i].sort((p,f)=>parseFloat(p[r])-parseFloat(f[r]));for(let p=0;pt[i].length-t[s].length);for(const s of r){const i=t[s];if(!i||i.length<2){a[s]={lines:[],count:0,pointCount:(i==null?void 0:i.length)||0};continue}const l=this.generateNetworkLines(i,n);if(typeof o=="function"){const c=o(s);l.forEach(u=>{u.properties={...u.properties,group:s,color:c}})}else l.forEach(c=>{c.properties={...c.properties,group:s}});a[s]={lines:l,count:l.length,pointCount:i.length}}return a}generateAllNetworkLines(t,o=null,n={}){const a=this.generateMultiGroupNetworkLines(t,o,n),r=[];for(const s in a)r.push(...a[s].lines);return r}getClusteringStats(t,o={}){const n=this.generateMultiGroupNetworkLines(t,null,o);let a=0,r=0;const s=[];for(const i in n){const{lines:l,pointCount:c}=n[i];a+=l.length,r+=c,s.push({name:i,points:c,lines:l.length,ratio:c>0?(l.length/c).toFixed(2):0})}return s.sort((i,l)=>l.points-i.points),{algorithm:"Network (nearest-neighbor)",totalGroups:Object.keys(t).length,totalPoints:r,totalLines:a,avgLinesPerPoint:r>0?(a/r).toFixed(2):0,groups:s}}}new Nh({maxDistance:15,maxNeighbors:15,sortKey:"longitude"});const sr="cluster-lines-source",ir="cluster-lines",Qn="mapbox-clusters",To="mapbox-clusters-circle",lr="mapbox-clusters-count",MP=Object.freeze({type:"FeatureCollection",features:[]});function Ih(e={}){const{getMap:t=()=>null,mapId:o="unknown",getPeopleGroups:n=()=>[],pinSourceId:a="language-families",pinLayerId:r="language-family-pins",groupKey:s="languageFamily",getGroupColor:i=null,mapboxClusterOptions:l={}}=e,c=je("mapStore",null),u=new Fh({maxConnectionDistance:1/0}),p=new Nh({maxDistance:15,maxNeighbors:15,sortKey:"longitude"}),f=we(!1),x=we("mapbox"),S=oe(()=>c&&"clusteringEnabled"in c?!!c.clusteringEnabled:f.value),y=oe(()=>c&&c.clusteringMode?c.clusteringMode:x.value),h=we([]);let _=null,g=null,b=null;function d(j){const ae=["mapbox","mst","network"];if(!ae.includes(j)){console.warn(`[${o}] useMapClustering.setMode: unknown mode "${j}". Allowed: ${ae.join(", ")}`);return}c&&typeof c.setClusteringMode=="function"?c.setClusteringMode(j):c&&"clusteringMode"in c?c.clusteringMode=j:x.value=j,S.value&&(H(),L())}function w(j){const ae=!!j;c&&typeof c.setClusteringEnabled=="function"?c.setClusteringEnabled(ae):c&&"clusteringEnabled"in c?c.clusteringEnabled=ae:f.value=ae,ae?L():H()}function m(j){!j||!j.property||j.value==null?b=null:b={property:j.property,value:j.value},c&&("clusterFilterProperty"in c&&(c.clusterFilterProperty=(b==null?void 0:b.property)??null),"clusterFilterValue"in c&&(c.clusterFilterValue=(b==null?void 0:b.value)??null)),S.value&&(H(),L())}function k(j){if(!b)return j;const{property:ae,value:_e}=b,Te=Ae=>String(Ae||"").toLowerCase().replace(/[^a-z0-9]+/g,""),xe=Te(_e);return xe?j.filter(Ae=>{var q,pe;const X=(Ae==null?void 0:Ae[ae])??((q=Ae==null?void 0:Ae.properties)==null?void 0:q[ae])??((pe=Ae==null?void 0:Ae._normalized)==null?void 0:pe[ae]);return Te(X)===xe}):j}function E(j){_=j}function L(){const j=t();if(j){switch(H(),y.value){case"mapbox":N(j);break;case"mst":$(j,"mst");break;case"network":$(j,"network");break;default:console.warn(`[${o}] Unknown clustering mode: ${y.value}`)}Z(j,!0)}}function H(){const j=t();j&&(J(j,lr,!1),J(j,To,!1),v(j,Qn),J(j,ir,!1),v(j,sr),h.value=[],I(j),Z(j,!1))}function K(){const j=t();j&&(I(j),j.getLayer(lr)&&j.removeLayer(lr),j.getLayer(To)&&j.removeLayer(To),j.getSource(Qn)&&j.removeSource(Qn),j.getLayer(ir)&&j.removeLayer(ir),j.getSource(sr)&&j.removeSource(sr),Z(j,!1)),h.value=[],_=null}function J(j,ae,_e){if(j.getLayer(ae))try{j.setLayoutProperty(ae,"visibility",_e?"visible":"none")}catch{}}function v(j,ae){const _e=j.getSource(ae);if(_e&&typeof _e.setData=="function")try{_e.setData(MP)}catch{}}function N(j){const ae=k(n());if(!ae.length)return;const Te={type:"FeatureCollection",features:ae.map(Ae=>{const X=parseFloat(Ae.longitude??Ae.lng),q=parseFloat(Ae.latitude??Ae.lat);return isNaN(X)||isNaN(q)?null:{type:"Feature",geometry:{type:"Point",coordinates:[X,q]},properties:{...Ae.properties||Ae}}}).filter(Boolean)},xe=j.getSource(Qn);xe&&typeof xe.setData=="function"?xe.setData(Te):j.addSource(Qn,{type:"geojson",data:Te,...CP,...l}),j.getLayer(To)?J(j,To,!0):j.addLayer({id:To,type:"circle",source:Qn,filter:["has","point_count"],paint:{"circle-color":TP,"circle-radius":EP,"circle-stroke-width":2,"circle-stroke-color":"#ffffff",...an(j),"circle-opacity":.85}}),j.getLayer(lr)?J(j,lr,!0):j.addLayer({id:lr,type:"symbol",source:Qn,filter:["has","point_count"],layout:{"text-field":["get","point_count_abbreviated"],...PP(j,{weight:"medium",mapbox:["DIN Offc Pro Medium","Arial Unicode MS Bold"]}),"text-size":12},paint:{"text-color":"#000000"}}),A(j)}function $(j,ae){const _e=k(n());if(!_e.length)return;const Te=LP(_e,pe=>{var Le;return pe[s]??((Le=pe._normalized)==null?void 0:Le[s])??"Unknown"}),xe=typeof i=="function"?i:()=>"#666666";let Ae=[];if(ae==="mst"?(Ae=u.generateAllMSTLines(Te,xe),Object.keys(Te).length):(Ae=p.generateAllNetworkLines(Te,xe),p.getClusteringStats(Te)),h.value=Ae,Ae.length===0)return;const X={type:"FeatureCollection",features:Ae},q=j.getSource(sr);if(q&&typeof q.setData=="function"?q.setData(X):j.addSource(sr,{type:"geojson",data:X}),j.getLayer(ir))J(j,ir,!0);else{const pe={id:ir,type:"line",source:sr,paint:{"line-color":["coalesce",["get","color"],"#666666"],"line-width":["interpolate",["linear"],["zoom"],0,.5,4,.75,8,1,12,1.5],...an(j,"line"),"line-opacity":.5},layout:{"line-cap":"round","line-join":"round"}};j.getLayer(r)?j.addLayer(pe,r):j.addLayer(pe)}}function A(j){j.getLayer(To)&&(j.on("click",To,F),j.on("mouseenter",To,W),j.on("mouseleave",To,z),g=To)}function I(j){if(!g)return;const ae=g;try{j.off("click",ae,F),j.off("mouseenter",ae,W),j.off("mouseleave",ae,z)}catch{}g=null}function F(j){const ae=t();if(!ae)return;const _e=ae.queryRenderedFeatures(j.point,{layers:[To]});if(!_e.length)return;const Te=_e[0],xe=Te.properties.cluster_id,Ae=Te.geometry.coordinates,X=Te.properties.point_count;if(typeof _=="function"){_({clusterId:xe,coordinates:Ae,pointCount:X,originalEvent:j});return}const q=ae.getSource(Qn);!q||typeof q.getClusterExpansionZoom!="function"||q.getClusterExpansionZoom(xe,(pe,Le)=>{pe||ae.easeTo({center:Ae,zoom:Le})})}function W(){const j=t();j&&(j.getCanvas().style.cursor="pointer")}function z(){const j=t();j&&(j.getCanvas().style.cursor="")}function Z(j,ae){if(j.getLayer(r))try{j.setPaintProperty(r,"circle-opacity",ae?.25:.9)}catch{}}return{enabled:S,mode:y,clusterLines:h,setMode:d,setEnabled:w,setSelectionFilter:m,onClusterClick:E,applyClustering:L,clearClustering:H,cleanup:K,mstUtil:u,networkUtil:p}}const RP=Object.freeze(Object.defineProperty({__proto__:null,default:Ih,useMapClustering:Ih},Symbol.toStringTag,{value:"Module"})),Oh=e=>Math.log(Math.tan(Math.PI/4+e*Math.PI/180/2)),Dh=e=>Math.atan(Math.sinh(e))*180/Math.PI,zh=85.051129,jh=e=>Math.max(-zh,Math.min(zh,e));function FP(e,t,o){const n=Math.max(1,Math.floor(o)||1),a=Oh(jh(Math.max(e,t))),r=Oh(jh(Math.min(e,t))),s=(a-r)/n,i=[];for(let l=0;l=e.widthIn?"portrait":"landscape"),margins:{...Ht.margins},bleed:Ht.bleed,slots:{title:{text:"Untitled",subtitle:"",heightIn:Ht.title.heightIn},legend:{rows:[],type:"generic",widthIn:Ht.legend.widthIn},scaleBar:!0,north:!0,footer:{left:"",right:"",attribution:Ht.footer.attribution,heightIn:Ht.footer.heightIn}},renderPath:"auto"}}const Bh=Object.freeze(Object.defineProperty({__proto__:null,defaultPosterSpec:NP,posterDefaults:Ht},Symbol.toStringTag,{value:"Module"}));function io(e,t){return Math.round(e*t)}function Gh(e,t){var w,m,k,E,L,H,K,J;const o=t.dpi,n=e.margins||Ht.margins,a={x:0,y:0,w:t.width,h:t.height},r={x:io(n.left,o),y:io(n.top,o),w:t.width-io(n.left+n.right,o),h:t.height-io(n.top+n.bottom,o)},s=(w=e.slots)!=null&&w.title?io(e.slots.title.heightIn||Ht.title.heightIn,o):0,i={x:r.x,y:r.y,w:r.w,h:s},l=io(((k=(m=e.slots)==null?void 0:m.footer)==null?void 0:k.heightIn)||Ht.footer.heightIn,o),c={x:r.x,y:r.y+r.h-l,w:r.w,h:l},u=(E=e.slots)!=null&&E.legend?io(e.slots.legend.widthIn||Ht.legend.widthIn,o):0,p=(L=e.slots)!=null&&L.scaleBar||(H=e.slots)!=null&&H.north?io(Ht.chromeBand.heightIn,o):0,f=r.y+s+(s?io(Ht.gutter.in,o):0),x=c.y-p-(p?io(Ht.gutter.in,o):0),S={x:r.x,y:f,w:r.w-(u?u+io(Ht.gutter.in,o):0),h:x-f},y=u?{x:r.x+r.w-u,y:f,w:u,h:S.h}:{x:0,y:0,w:0,h:0},h=io(Ht.scaleBar.widthIn,o),_=p,g=(K=e.slots)!=null&&K.scaleBar?{x:r.x,y:x+(p?io(Ht.gutter.in,o):0),w:h,h:_}:{x:0,y:0,w:0,h:0},b=io(Ht.north.sizeIn,o),d=(J=e.slots)!=null&&J.north?{x:r.x+r.w-b-(u?u+io(Ht.gutter.in,o):0),y:x+(p?io(Ht.gutter.in,o):0),w:b,h:b}:{x:0,y:0,w:0,h:0};return{page:a,content:r,title:i,map:S,legend:y,scaleBar:g,north:d,footer:c}}const IP={"©":"©","&":"&"," ":" ","<":"<",">":">",""":'"',"'":"'"};function OP(e){return e?String(e).replace(/<[^>]*>/g," ").replace(/&[a-z]+;|&#\d+;/gi,t=>IP[t.toLowerCase()]??" ").replace(/\s+/g," ").trim():""}function DP(e){if(!e||typeof e.getStyle!="function")return"";let t;try{t=e.getStyle()}catch{return""}const o=t&&t.sources||{},n=[];for(const a of Object.keys(o)){let r=null;try{r=typeof e.getSource=="function"?e.getSource(a):null}catch{r=null}const s=OP(r&&r.attribution||o[a].attribution);s&&!n.includes(s)&&n.push(s)}return n.join(" ")}const $a=4096,cn=2048,Hh=15e3;function zP(e){const t=we({phase:"idle",completed:0,total:0,message:"",fraction:0,percent:0}),o=we(!1);let n=null;async function a(y,h="png"){var b;if(o.value)throw new Error("useMapPoster: already rendering");const _=e();if(!_)throw new Error("useMapPoster: no source map");n=new AbortController;const g=UP(y.signal,n.signal);o.value=!0,l=0,c("init",1,1,"preparing render");try{const d=Uh(y),w=jP(y.renderPath||"auto",d);w==="single"&&(d.width>$a||d.height>$a)&&console.warn(`[useMapPoster] requested single-canvas ${d.width}×${d.height}px > ${$a}; auto-switching to tile-stitch.`);const m=w==="single"&&(d.width>$a||d.height>$a)?"stitch":w,k=y.layout==="poster",E=k?Gh(y,d):null,L=!!E&&E.map.w>0&&E.map.h>0;k&&!L&&console.warn('[useMapPoster] layout:"poster" asked for a map box of '+(E?E.map.w+"×"+E.map.h:"0×0")+"px; the margins, title, footer and legend column leave no room on this sheet. Falling back to a full-bleed map.");const H=L?{width:E.map.w,height:E.map.h,dpi:d.dpi}:d,K=m==="single"?await u(_,H,g):await p(_,H,g);c("compose",0,1,"compositing overlay");const J=DP(_),v=J?{...y,slots:{...y.slots,footer:{...((b=y.slots)==null?void 0:b.footer)||{},attribution:J}}}:y,N=L?f(K,E,d):K,$=await x(N,v,d);c("encode",0,1,`encoding ${h.toUpperCase()}`);const A=h==="pdf"?await HP($,y):await GP($,"image/png");return c("done",1,1,"render complete"),A}finally{o.value=!1,n=null}}function r(){n&&n.abort()}const s={init:.02,"hidden-map":.3,stitch:.42,capture:.14,compose:.06,encode:.05,done:.01},i=["init","hidden-map","stitch","capture","compose","encode","done"];let l=0;function c(y,h,_,g){const b=i.indexOf(y);let d=0;for(let k=0;k0?Math.min(1,h/_):0,m=d+(s[y]||0)*w;l=y==="init"?m:Math.max(l,m),t.value={phase:y,completed:h,total:_,message:g,fraction:Math.min(1,l),percent:Math.round(Math.min(1,l)*100)}}async function u(y,h,_){c("hidden-map",0,3,"creating hidden map");const{hiddenMap:g,restoreDpr:b,container:d}=await Wh(y,h.width,h.height);try{iu(_),c("hidden-map",1,3,"loading map tiles"),await qh(g),c("hidden-map",3,3,"tiles loaded"),iu(_),c("capture",0,1,"capturing canvas");const w=g.getCanvas().toDataURL("image/png"),m=await Vh(w),k=document.createElement("canvas");return k.width=h.width,k.height=h.height,k.getContext("2d").drawImage(m,0,0,h.width,h.height),k}finally{try{g.remove()}catch{}d!=null&&d.parentNode&&d.parentNode.removeChild(d),b()}}async function p(y,h,_){const g=Math.ceil(h.width/cn),b=Math.ceil(h.height/cn),d=g*b;c("hidden-map",0,d,`creating hidden map (${g}×${b} tiles)`);const w=y.getBounds(),m=y.getCenter(),k=y.getZoom(),E=y.getBearing(),L=y.getPitch(),{hiddenMap:H,restoreDpr:K,container:J}=await Wh(y,cn,cn,{preserveBounds:!0,bounds:w});try{const v=document.createElement("canvas");v.width=h.width,v.height=h.height;const N=v.getContext("2d"),$=w.getNorthEast(),A=w.getSouthWest(),F=($.lng-A.lng)/g,W=FP(A.lat,$.lat,b);let z=0;for(let Z=0;Zt&&([t,o]=[o,t]),e.orientation==="portrait"&&t>o&&([t,o]=[o,t]);const n=e.dpi||300;return{width:Math.round(t*n),height:Math.round(o*n),dpi:n}}function jP(e,t){return e==="single"||e==="stitch"?e:t.width>$a||t.height>$a?"stitch":"single"}async function Wh(e,t,o,n={}){const a=document.createElement("div");a.style.cssText=` +`,"legend-mobile-sheet");const o=e,n=je("uiStore");je("mapStore");const a=je("dataStore"),r=je("onSemanticTreeSelect",()=>{}),s=je("onLegendExport",null),i=oe(()=>typeof s=="function"),l=je("legendExportCards",!1),c=Cs(o,"legendType"),{items:u,columns:p,title:f,activeFilter:x,setFilter:S,totalCount:y,totalPopulation:h,fmtPop:_,fmtCount:g}=Qr(c,Ei),b=je("normalizedPeopleGroups",null),d=oe(()=>{var U,ne;if((U=b==null?void 0:b.value)!=null&&U.length)return b.value;const de=[];for(const Ee in(a==null?void 0:a.sources)||{}){const Re=a.sources[Ee];(ne=Re==null?void 0:Re.features)!=null&&ne.length&&de.push(...Re.features)}return de}),w={get value(){return d.value}},{langTree:m}=Yc(w),{affinityTree:k}=kh(w),{regionsTree:E}=xh(w),L=[{id:"family",label:"Lang Family",info:"A language family is a group of languages descended from a common ancestor."},{id:"language",label:"Language",info:"A language is a system of communication used by a people."},{id:"dialect",label:"Dialect",info:"A dialect/variety is a regional or social form of a language."}],H=[{id:"bloc",label:"Block",info:"Affinity Block (rop1) — broadest grouping. 16 blocks total."},{id:"cluster",label:"Cluster",info:"Cluster (imb_reg_of_people_2, ROP 2) — finer grouping inside a block. 194 total."},{id:"group",label:"PG",info:"People Group (imb_reg_of_people_25, ROP 2.5) — abstract identity. 1,736 PGs."},{id:"pgic",label:"PGIC",info:"PG in Country (imb_reg_of_people_3 + country_code) — one row per PG-country pair. 2,106 rows."}],K=[{id:"region",label:"Region",info:'WAGF macro-region (e.g. "Asia", "Africa"). Color-coded on the map.'},{id:"block",label:"Bloc",info:'WAGF bloc — organizational sub-grouping within each region (e.g. "South East Asia").'},{id:"country",label:"Country",info:"Individual countries, listed by unreached-population size within their bloc."}],J=oe(()=>["prayer","engagement","adoption","religion"].includes(o.legendType));function v(de){const U=[];for(const ne of de){U.push({id:ne.key,label:ne.label,color:ne.color,count:ne.count??0,pop:ne.population??0,filter:ne.filterKey?["==",["get","_flat_filter"],ne.filterKey]:null,children:[]});for(const Ee of ne.children||[])U.push({id:Ee.key,label:Ee.label,color:Ee.color,count:Ee.count??0,pop:Ee.population??0,filter:Ee.filterKey?["==",["get","_flat_filter"],Ee.filterKey]:null,children:[]})}return U}const N=oe(()=>o.nodes?o.nodes:J.value?v(u.value):o.legendType==="affinity-block"?k.value:o.legendType==="doxa-regions"?E.value:m.value),$=oe(()=>o.nodes?o.tabs:J.value?null:o.legendType==="affinity-block"?H:o.legendType==="doxa-regions"?K:L),A=oe(()=>o.title?o.title:J.value?t("legend.titleBar.legend"):o.legendType==="affinity-block"?t("legend.titleBar.peopleGroups"):o.legendType==="doxa-regions"?t("legend.titleBar.wagfRegions"):t("legend.titleBar.languages")),I=oe(()=>o.columnLabel!==null?o.columnLabel:["religion","prayer","engagement","adoption"].includes(o.legendType)?t("legend.colLabel."+o.legendType):J.value?t("legend.colLabel.status"):""),F=we(null),W=we(!1),z={pending:null,active:!1,startY:0,startH:0,startState:"",containerH:0,maxH:0,lastH:0,contentEl:null};let Z=0;const j=()=>Date.now()-Z<400,ae=oe(()=>n.legendState),_e=oe(()=>ae.value!=="collapsed"),Te=oe(()=>n.legendHeight),xe=oe(()=>n.caretRotation),Ae=oe(()=>n.showPullTab),X=oe(()=>n.legendMode),q=oe(()=>n.selectedPeopleGroup),pe=je("normalizedPeopleGroups",null),Le=oe(()=>{var U,ne;if((U=pe==null?void 0:pe.value)!=null&&U.length)return tu(pe.value);const de=[];for(const Ee in(a==null?void 0:a.sources)||{}){const Re=a.sources[Ee];(ne=Re==null?void 0:Re.features)!=null&&ne.length&&de.push(...Re.features)}return tu(de)}),M=oe(()=>q.value?mh(Le.value,q.value):[]),O=oe(()=>{var de;return X.value==="detail"&&q.value?((de=q.value.properties)==null?void 0:de.name)||t("legend.header.peopleGroupFallback"):ae.value==="collapsed"?o.title||t("legend.header.collapsed"):o.title||f.value});function B(de){n.handleLegendItemClick(),S(de)}function V(){j()||n.toggleLegend()}function se(){j()||(n.selectPeopleGroup(null),n.openLegend())}const G=oe(()=>{var U;if(!q.value)return null;const de=q.value.properties||{};return de.imageUrl||((U=de._raw)==null?void 0:U.ImageURL)||null});function ue(de){var tt;if(ae.value==="collapsed")return;const U=de.touches[0],ne=F.value;if(!U||!ne)return;const Re=U.clientY-ne.getBoundingClientRect().top<=xP?"grab":X.value==="detail"?"content":null;Re&&(z.pending=Re,z.active=!1,z.startY=U.clientY,z.startH=ne.offsetHeight,z.lastH=z.startH,z.startState=ae.value,z.containerH=((tt=ne.parentElement)==null?void 0:tt.offsetHeight)||window.innerHeight,z.maxH=z.containerH-Th,z.contentEl=ne.querySelector(".legend-content"))}function me(de){if(!z.pending&&!z.active)return;const U=de.touches[0];if(!U)return;const ne=z.startY-U.clientY;if(!z.active){if(ne===0)return;let Re=z.pending==="grab";if(z.pending==="content"){const tt=!z.contentEl||z.contentEl.scrollTop<=0;Re=ne>0?z.startH0?n.fullyOpenLegend():z.startState==="fullyOpen"?n.openLegend():n.collapseLegend()}function P(de){de==="fullyOpen"?n.fullyOpenLegend():de==="collapsed"?n.collapseLegend():n.openLegend()}let Q=null,le=null,ve=null;return Jo(()=>{const de=F.value;if(!de||typeof ResizeObserver>"u")return;const U=de.getRootNode();le=U instanceof ShadowRoot?U.host:U.documentElement||null,le&&(ve=de,Q=new ResizeObserver(()=>{const ne=de.offsetHeight;ne<=0||(le.style.setProperty(Eh,`${ne}px`),le.__legendSheetVarOwner=de)}),Q.observe(de))}),wo(()=>{Q&&(Q.disconnect(),Q=null),le&&le.__legendSheetVarOwner===ve&&(le.style.removeProperty(Eh),le.__legendSheetVarOwner=null),le=null,ve=null}),(de,U)=>{var ne;return re(),he("div",gP,[X.value!=="detail"&&ae.value!=="collapsed"?(re(),it(es,{key:0,class:Ge(["approx-pin-note--floating",{"approx-pin-note--floating-dark":e.isDark}]),dark:e.isDark},null,8,["class","dark"])):Me("",!0),X.value==="detail"&&q.value&&ae.value==="open"&&G.value?(re(),he("div",{key:1,class:"floating-mini-image",onClick:U[0]||(U[0]=Ee=>ge(n).fullyOpenLegend())},[R("img",{src:G.value,alt:(ne=q.value.properties)==null?void 0:ne.name,class:"mini-image"},null,8,fP)])):Me("",!0),R("div",{ref_key:"sheetRef",ref:F,class:Ge(["legend-mobile-sheet",[ae.value,{"sheet-dark":e.isDark,dragging:W.value}]]),style:Ct({height:Te.value,"--legend-sheet-top-reserve":Th+"px"}),onTouchstart:ue,onTouchmove:me,onTouchend:T,onTouchcancel:T},[R("div",{class:"sheet-drag-strip",onClick:V},[Ae.value?(re(),he("div",hP)):Me("",!0)]),X.value==="detail"&&ae.value!=="collapsed"?(re(),he("button",{key:0,class:"detail-collapse-btn-mobile",onClick:At(V,["stop"]),"aria-expanded":String(_e.value),"aria-label":ge(t)("aria.toggleLegend")},null,8,mP)):Me("",!0),X.value==="detail"&&ae.value!=="collapsed"?(re(),he("button",{key:1,class:"detail-close-btn",onClick:At(se,["stop"]),"aria-label":ge(t)("aria.backToLegend")},[...U[2]||(U[2]=[R("svg",{width:"18",height:"18",viewBox:"0 0 20 20",fill:"none"},[R("path",{d:"M15 5L5 15M5 5L15 15",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)])],8,bP)):Me("",!0),ae.value==="collapsed"&&X.value==="detail"&&q.value?(re(),he("div",{key:2,class:"collapsed-detail-footer",onClick:V},[R("button",{class:"mobile-collapse-caret",style:Ct({transform:`rotate(${xe.value}deg)`}),"aria-expanded":String(_e.value),"aria-label":ge(t)("aria.toggleLegend"),tabindex:"-1"},[...U[3]||(U[3]=[R("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[R("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],12,$P),R("span",_P,ye(O.value),1)])):Me("",!0),R("div",yP,[X.value==="detail"&&q.value?(re(),he(et,{key:0},[ae.value!=="collapsed"?(re(),it(Qc,{key:0,peopleGroup:q.value,hideHeader:!0,dark:e.isDark,action:e.popupAction},null,8,["peopleGroup","dark","action"])):Me("",!0),ae.value!=="collapsed"?(re(),it(es,{key:1,shared:M.value,dark:e.isDark},null,8,["shared","dark"])):Me("",!0)],64)):e.legendType!=="default"?(re(),it(wh,{key:1,nodes:N.value,tabs:$.value,"default-tab":e.defaultTab,title:O.value||A.value,hideTabs:e.nodes?!e.tabs:J.value,columnLabel:I.value,columns:e.columns||["count","pop"],"export-enabled":i.value,"export-cards":i.value&&ge(l)===!0,onSelect:ge(r),onExport:U[1]||(U[1]=Ee=>ge(s)&&ge(s)(Ee))},{"title-caret":mo(()=>[R("button",{class:"mobile-collapse-caret",style:Ct({transform:`rotate(${xe.value}deg)`}),onClick:At(V,["stop"]),"aria-expanded":String(_e.value),"aria-label":ge(t)("aria.toggleLegend")},[...U[4]||(U[4]=[R("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[R("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],12,vP)]),_:1},8,["nodes","tabs","default-tab","title","hideTabs","columnLabel","columns","export-enabled","export-cards","onSelect"])):(re(),it(uh,{key:2,title:O.value,items:ge(u),columns:ge(p),activeFilter:ge(x),isDark:e.isDark,hideColumnHeader:!1,showFooter:!1,disableCollapse:!0,totalCount:ge(y),totalPopulation:ge(h),fmtPop:ge(_),fmtCount:ge(g),onFilterClick:B},{"title-caret":mo(()=>[R("button",{class:"mobile-collapse-caret",style:Ct({transform:`rotate(${xe.value}deg)`}),onClick:At(V,["stop"]),"aria-expanded":String(_e.value),"aria-label":ge(t)("aria.toggleLegend")},[...U[5]||(U[5]=[R("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[R("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],12,wP)]),_:1},8,["title","items","columns","activeFilter","isDark","totalCount","totalPopulation","fmtPop","fmtCount"]))])],38)])}}},[["styles",[pP]],["__scopeId","data-v-73155d8f"]])},Symbol.toStringTag,{value:"Module"})),Rh={regular:"Noto Sans Regular",medium:"Noto Sans Bold",bold:"Noto Sans Bold"};function AP(e){return typeof window<"u"&&!!window.maplibregl&&e instanceof window.maplibregl.Map}function PP(e,{weight:t="regular",mapbox:o}={}){return AP(e)?{"text-font":[Rh[t]||Rh.regular]}:Array.isArray(o)&&o.length?{"text-font":o}:{}}function su(e,t,o,n){const a=parseFloat(t)-parseFloat(n),r=parseFloat(e)-parseFloat(o);return Math.sqrt(a*a+r*r)}function LP(e,t){const o={};for(const n of e){const a=t(n);o[a]||(o[a]=[]),o[a].push(n)}return o}const CP=Object.freeze({cluster:!0,clusterMaxZoom:6,clusterRadius:40}),TP=Object.freeze(["step",["get","point_count"],"#51bbd6",10,"#f1f075",50,"#f28cb1",500,"#e74c3c"]),EP=Object.freeze(["step",["get","point_count"],15,10,20,50,25,500,35]);class Fh{constructor(t={}){this.maxConnectionDistance=t.maxConnectionDistance??1/0}_calculateDistance(t,o){return su(parseFloat(t.latitude),parseFloat(t.longitude),parseFloat(o.latitude),parseFloat(o.longitude))}_createUnionFind(t){const o=Array.from({length:t},(s,i)=>i),n=new Array(t).fill(0),a=s=>(o[s]!==s&&(o[s]=a(o[s])),o[s]);return{find:a,union:(s,i)=>{const l=a(s),c=a(i);return l===c?!1:(n[l]n[c]?o[c]=l:(o[c]=l,n[l]++),!0)}}}generateMSTLines(t,o={}){const n=o.maxConnectionDistance??this.maxConnectionDistance;if(!t||t.length<2)return[];const a=t.filter(h=>{const _=parseFloat(h.latitude),g=parseFloat(h.longitude);return!isNaN(_)&&!isNaN(g)});if(a.length<2)return[];const r=a.length,s=a.map(h=>parseFloat(h.latitude)),i=a.map(h=>parseFloat(h.longitude)),l=new Uint8Array(r),c=new Float64Array(r).fill(1/0),u=new Int32Array(r).fill(-1),p=[];let f=r;for(;f>0;){let h=-1,_=1/0;for(let g=0;gn){h=-1;for(let g=0;g=0){const g=u[h];p.push({from:g,to:h,distance:c[h],fromPoint:a[g],toPoint:a[h]})}for(let g=0;g({type:"Feature",geometry:{type:"LineString",coordinates:[[parseFloat(h.fromPoint.longitude),parseFloat(h.fromPoint.latitude)],[parseFloat(h.toPoint.longitude),parseFloat(h.toPoint.latitude)]]},properties:{distance:h.distance,algorithm:"MST"}}));return p.length${n} deg).`),y}generateMultiGroupMSTLines(t,o=null,n={}){const a={},r=Object.keys(t).sort((s,i)=>t[i].length-t[s].length);for(const s of r){const i=t[s];if(!i||i.length<2){a[s]={lines:[],count:0,pointCount:(i==null?void 0:i.length)||0};continue}const l=this.generateMSTLines(i,n);if(typeof o=="function"){const c=o(s);l.forEach(u=>{u.properties={...u.properties,group:s,color:c}})}else l.forEach(c=>{c.properties={...c.properties,group:s}});a[s]={lines:l,count:l.length,pointCount:i.length}}return a}generateAllMSTLines(t,o=null,n={}){const a=this.generateMultiGroupMSTLines(t,o,n),r=[];for(const s in a)r.push(...a[s].lines);return r}getMSTStats(t,o={}){const n=this.generateMultiGroupMSTLines(t,null,o);let a=0,r=0;const s=[];for(const l in n){const{lines:c,pointCount:u}=n[l];a+=c.length,r+=u;const p=Math.max(0,u-1),f=u>1?(c.length/p*100).toFixed(1):100;s.push({name:l,points:u,lines:c.length,expected:p,coverage:f+"%",hasOrphans:c.lengthc.points-l.points);const i=s.filter(l=>l.hasOrphans).length;return{algorithm:"MST (Minimum Spanning Tree)",totalGroups:Object.keys(t).length,totalPoints:r,totalLines:a,expectedLines:Math.max(0,r-Object.keys(t).length),groupsWithOrphans:i,allPointsConnected:i===0,groups:s}}}new Fh;class Nh{constructor(t={}){this.maxDistance=t.maxDistance??15,this.maxNeighbors=t.maxNeighbors??15,this.sortKey=t.sortKey??"longitude"}_calculateDistance(t,o,n,a){return su(t,o,n,a)}generateNetworkLines(t,o={}){const n=o.maxDistance??this.maxDistance,a=o.maxNeighbors??this.maxNeighbors,r=o.sortKey??this.sortKey,s=o.connectOrphans??!0;if(!t||t.length<2)return[];const i=t.filter(p=>{const f=parseFloat(p.latitude),x=parseFloat(p.longitude);return!isNaN(f)&&!isNaN(x)});if(i.length<2)return[];const l=[],c=new Set,u=[...i].sort((p,f)=>parseFloat(p[r])-parseFloat(f[r]));for(let p=0;pt[i].length-t[s].length);for(const s of r){const i=t[s];if(!i||i.length<2){a[s]={lines:[],count:0,pointCount:(i==null?void 0:i.length)||0};continue}const l=this.generateNetworkLines(i,n);if(typeof o=="function"){const c=o(s);l.forEach(u=>{u.properties={...u.properties,group:s,color:c}})}else l.forEach(c=>{c.properties={...c.properties,group:s}});a[s]={lines:l,count:l.length,pointCount:i.length}}return a}generateAllNetworkLines(t,o=null,n={}){const a=this.generateMultiGroupNetworkLines(t,o,n),r=[];for(const s in a)r.push(...a[s].lines);return r}getClusteringStats(t,o={}){const n=this.generateMultiGroupNetworkLines(t,null,o);let a=0,r=0;const s=[];for(const i in n){const{lines:l,pointCount:c}=n[i];a+=l.length,r+=c,s.push({name:i,points:c,lines:l.length,ratio:c>0?(l.length/c).toFixed(2):0})}return s.sort((i,l)=>l.points-i.points),{algorithm:"Network (nearest-neighbor)",totalGroups:Object.keys(t).length,totalPoints:r,totalLines:a,avgLinesPerPoint:r>0?(a/r).toFixed(2):0,groups:s}}}new Nh({maxDistance:15,maxNeighbors:15,sortKey:"longitude"});const sr="cluster-lines-source",ir="cluster-lines",Qn="mapbox-clusters",To="mapbox-clusters-circle",lr="mapbox-clusters-count",MP=Object.freeze({type:"FeatureCollection",features:[]});function Ih(e={}){const{getMap:t=()=>null,mapId:o="unknown",getPeopleGroups:n=()=>[],pinSourceId:a="language-families",pinLayerId:r="language-family-pins",groupKey:s="languageFamily",getGroupColor:i=null,mapboxClusterOptions:l={}}=e,c=je("mapStore",null),u=new Fh({maxConnectionDistance:1/0}),p=new Nh({maxDistance:15,maxNeighbors:15,sortKey:"longitude"}),f=we(!1),x=we("mapbox"),S=oe(()=>c&&"clusteringEnabled"in c?!!c.clusteringEnabled:f.value),y=oe(()=>c&&c.clusteringMode?c.clusteringMode:x.value),h=we([]);let _=null,g=null,b=null;function d(j){const ae=["mapbox","mst","network"];if(!ae.includes(j)){console.warn(`[${o}] useMapClustering.setMode: unknown mode "${j}". Allowed: ${ae.join(", ")}`);return}c&&typeof c.setClusteringMode=="function"?c.setClusteringMode(j):c&&"clusteringMode"in c?c.clusteringMode=j:x.value=j,S.value&&(H(),L())}function w(j){const ae=!!j;c&&typeof c.setClusteringEnabled=="function"?c.setClusteringEnabled(ae):c&&"clusteringEnabled"in c?c.clusteringEnabled=ae:f.value=ae,ae?L():H()}function m(j){!j||!j.property||j.value==null?b=null:b={property:j.property,value:j.value},c&&("clusterFilterProperty"in c&&(c.clusterFilterProperty=(b==null?void 0:b.property)??null),"clusterFilterValue"in c&&(c.clusterFilterValue=(b==null?void 0:b.value)??null)),S.value&&(H(),L())}function k(j){if(!b)return j;const{property:ae,value:_e}=b,Te=Ae=>String(Ae||"").toLowerCase().replace(/[^a-z0-9]+/g,""),xe=Te(_e);return xe?j.filter(Ae=>{var q,pe;const X=(Ae==null?void 0:Ae[ae])??((q=Ae==null?void 0:Ae.properties)==null?void 0:q[ae])??((pe=Ae==null?void 0:Ae._normalized)==null?void 0:pe[ae]);return Te(X)===xe}):j}function E(j){_=j}function L(){const j=t();if(j){switch(H(),y.value){case"mapbox":N(j);break;case"mst":$(j,"mst");break;case"network":$(j,"network");break;default:console.warn(`[${o}] Unknown clustering mode: ${y.value}`)}Z(j,!0)}}function H(){const j=t();j&&(J(j,lr,!1),J(j,To,!1),v(j,Qn),J(j,ir,!1),v(j,sr),h.value=[],I(j),Z(j,!1))}function K(){const j=t();j&&(I(j),j.getLayer(lr)&&j.removeLayer(lr),j.getLayer(To)&&j.removeLayer(To),j.getSource(Qn)&&j.removeSource(Qn),j.getLayer(ir)&&j.removeLayer(ir),j.getSource(sr)&&j.removeSource(sr),Z(j,!1)),h.value=[],_=null}function J(j,ae,_e){if(j.getLayer(ae))try{j.setLayoutProperty(ae,"visibility",_e?"visible":"none")}catch{}}function v(j,ae){const _e=j.getSource(ae);if(_e&&typeof _e.setData=="function")try{_e.setData(MP)}catch{}}function N(j){const ae=k(n());if(!ae.length)return;const Te={type:"FeatureCollection",features:ae.map(Ae=>{const X=parseFloat(Ae.longitude??Ae.lng),q=parseFloat(Ae.latitude??Ae.lat);return isNaN(X)||isNaN(q)?null:{type:"Feature",geometry:{type:"Point",coordinates:[X,q]},properties:{...Ae.properties||Ae}}}).filter(Boolean)},xe=j.getSource(Qn);xe&&typeof xe.setData=="function"?xe.setData(Te):j.addSource(Qn,{type:"geojson",data:Te,...CP,...l}),j.getLayer(To)?J(j,To,!0):j.addLayer({id:To,type:"circle",source:Qn,filter:["has","point_count"],paint:{"circle-color":TP,"circle-radius":EP,"circle-stroke-width":2,"circle-stroke-color":"#ffffff",...an(j),"circle-opacity":.85}}),j.getLayer(lr)?J(j,lr,!0):j.addLayer({id:lr,type:"symbol",source:Qn,filter:["has","point_count"],layout:{"text-field":["get","point_count_abbreviated"],...PP(j,{weight:"medium",mapbox:["DIN Offc Pro Medium","Arial Unicode MS Bold"]}),"text-size":12},paint:{"text-color":"#000000"}}),A(j)}function $(j,ae){const _e=k(n());if(!_e.length)return;const Te=LP(_e,pe=>{var Le;return pe[s]??((Le=pe._normalized)==null?void 0:Le[s])??"Unknown"}),xe=typeof i=="function"?i:()=>"#666666";let Ae=[];if(ae==="mst"?(Ae=u.generateAllMSTLines(Te,xe),Object.keys(Te).length):(Ae=p.generateAllNetworkLines(Te,xe),p.getClusteringStats(Te)),h.value=Ae,Ae.length===0)return;const X={type:"FeatureCollection",features:Ae},q=j.getSource(sr);if(q&&typeof q.setData=="function"?q.setData(X):j.addSource(sr,{type:"geojson",data:X}),j.getLayer(ir))J(j,ir,!0);else{const pe={id:ir,type:"line",source:sr,paint:{"line-color":["coalesce",["get","color"],"#666666"],"line-width":["interpolate",["linear"],["zoom"],0,.5,4,.75,8,1,12,1.5],...an(j,"line"),"line-opacity":.5},layout:{"line-cap":"round","line-join":"round"}};j.getLayer(r)?j.addLayer(pe,r):j.addLayer(pe)}}function A(j){j.getLayer(To)&&(j.on("click",To,F),j.on("mouseenter",To,W),j.on("mouseleave",To,z),g=To)}function I(j){if(!g)return;const ae=g;try{j.off("click",ae,F),j.off("mouseenter",ae,W),j.off("mouseleave",ae,z)}catch{}g=null}function F(j){const ae=t();if(!ae)return;const _e=ae.queryRenderedFeatures(j.point,{layers:[To]});if(!_e.length)return;const Te=_e[0],xe=Te.properties.cluster_id,Ae=Te.geometry.coordinates,X=Te.properties.point_count;if(typeof _=="function"){_({clusterId:xe,coordinates:Ae,pointCount:X,originalEvent:j});return}const q=ae.getSource(Qn);!q||typeof q.getClusterExpansionZoom!="function"||q.getClusterExpansionZoom(xe,(pe,Le)=>{pe||ae.easeTo({center:Ae,zoom:Le})})}function W(){const j=t();j&&(j.getCanvas().style.cursor="pointer")}function z(){const j=t();j&&(j.getCanvas().style.cursor="")}function Z(j,ae){if(j.getLayer(r))try{j.setPaintProperty(r,"circle-opacity",ae?.25:.9)}catch{}}return{enabled:S,mode:y,clusterLines:h,setMode:d,setEnabled:w,setSelectionFilter:m,onClusterClick:E,applyClustering:L,clearClustering:H,cleanup:K,mstUtil:u,networkUtil:p}}const RP=Object.freeze(Object.defineProperty({__proto__:null,default:Ih,useMapClustering:Ih},Symbol.toStringTag,{value:"Module"})),Oh=e=>Math.log(Math.tan(Math.PI/4+e*Math.PI/180/2)),Dh=e=>Math.atan(Math.sinh(e))*180/Math.PI,zh=85.051129,jh=e=>Math.max(-zh,Math.min(zh,e));function FP(e,t,o){const n=Math.max(1,Math.floor(o)||1),a=Oh(jh(Math.max(e,t))),r=Oh(jh(Math.min(e,t))),s=(a-r)/n,i=[];for(let l=0;l=e.widthIn?"portrait":"landscape"),margins:{...Ht.margins},bleed:Ht.bleed,slots:{title:{text:"Untitled",subtitle:"",heightIn:Ht.title.heightIn},legend:{rows:[],type:"generic",widthIn:Ht.legend.widthIn},scaleBar:!0,north:!0,footer:{left:"",right:"",attribution:Ht.footer.attribution,heightIn:Ht.footer.heightIn}},renderPath:"auto"}}const Bh=Object.freeze(Object.defineProperty({__proto__:null,defaultPosterSpec:NP,posterDefaults:Ht},Symbol.toStringTag,{value:"Module"}));function io(e,t){return Math.round(e*t)}function Gh(e,t){var w,m,k,E,L,H,K,J;const o=t.dpi,n=e.margins||Ht.margins,a={x:0,y:0,w:t.width,h:t.height},r={x:io(n.left,o),y:io(n.top,o),w:t.width-io(n.left+n.right,o),h:t.height-io(n.top+n.bottom,o)},s=(w=e.slots)!=null&&w.title?io(e.slots.title.heightIn||Ht.title.heightIn,o):0,i={x:r.x,y:r.y,w:r.w,h:s},l=io(((k=(m=e.slots)==null?void 0:m.footer)==null?void 0:k.heightIn)||Ht.footer.heightIn,o),c={x:r.x,y:r.y+r.h-l,w:r.w,h:l},u=(E=e.slots)!=null&&E.legend?io(e.slots.legend.widthIn||Ht.legend.widthIn,o):0,p=(L=e.slots)!=null&&L.scaleBar||(H=e.slots)!=null&&H.north?io(Ht.chromeBand.heightIn,o):0,f=r.y+s+(s?io(Ht.gutter.in,o):0),x=c.y-p-(p?io(Ht.gutter.in,o):0),S={x:r.x,y:f,w:r.w-(u?u+io(Ht.gutter.in,o):0),h:x-f},y=u?{x:r.x+r.w-u,y:f,w:u,h:S.h}:{x:0,y:0,w:0,h:0},h=io(Ht.scaleBar.widthIn,o),_=p,g=(K=e.slots)!=null&&K.scaleBar?{x:r.x,y:x+(p?io(Ht.gutter.in,o):0),w:h,h:_}:{x:0,y:0,w:0,h:0},b=io(Ht.north.sizeIn,o),d=(J=e.slots)!=null&&J.north?{x:r.x+r.w-b-(u?u+io(Ht.gutter.in,o):0),y:x+(p?io(Ht.gutter.in,o):0),w:b,h:b}:{x:0,y:0,w:0,h:0};return{page:a,content:r,title:i,map:S,legend:y,scaleBar:g,north:d,footer:c}}const IP={"©":"©","&":"&"," ":" ","<":"<",">":">",""":'"',"'":"'"};function OP(e){return e?String(e).replace(/<[^>]*>/g," ").replace(/&[a-z]+;|&#\d+;/gi,t=>IP[t.toLowerCase()]??" ").replace(/\s+/g," ").trim():""}function DP(e){if(!e||typeof e.getStyle!="function")return"";let t;try{t=e.getStyle()}catch{return""}const o=t&&t.sources||{},n=[];for(const a of Object.keys(o)){let r=null;try{r=typeof e.getSource=="function"?e.getSource(a):null}catch{r=null}const s=OP(r&&r.attribution||o[a].attribution);s&&!n.includes(s)&&n.push(s)}return n.join(" ")}const $a=4096,cn=2048,Hh=15e3;function zP(e){const t=we({phase:"idle",completed:0,total:0,message:"",fraction:0,percent:0}),o=we(!1);let n=null;async function a(y,h="png"){var b;if(o.value)throw new Error("useMapPoster: already rendering");const _=e();if(!_)throw new Error("useMapPoster: no source map");n=new AbortController;const g=UP(y.signal,n.signal);o.value=!0,l=0,c("init",1,1,"preparing render");try{const d=Uh(y),w=jP(y.renderPath||"auto",d);w==="single"&&(d.width>$a||d.height>$a)&&console.warn(`[useMapPoster] requested single-canvas ${d.width}×${d.height}px > ${$a}; auto-switching to tile-stitch.`);const m=w==="single"&&(d.width>$a||d.height>$a)?"stitch":w,k=y.layout==="poster",E=k?Gh(y,d):null,L=!!E&&E.map.w>0&&E.map.h>0;k&&!L&&console.warn('[useMapPoster] layout:"poster" asked for a map box of '+(E?E.map.w+"×"+E.map.h:"0×0")+"px; the margins, title, footer and legend column leave no room on this sheet. Falling back to a full-bleed map.");const H=L?{width:E.map.w,height:E.map.h,dpi:d.dpi}:d,K=m==="single"?await u(_,H,g):await p(_,H,g);c("compose",0,1,"compositing overlay");const J=DP(_),v=J?{...y,slots:{...y.slots,footer:{...((b=y.slots)==null?void 0:b.footer)||{},attribution:J}}}:y,N=L?f(K,E,d):K,$=await x(N,v,d);c("encode",0,1,`encoding ${h.toUpperCase()}`);const A=h==="pdf"?await HP($,y):await GP($,"image/png");return c("done",1,1,"render complete"),A}finally{o.value=!1,n=null}}function r(){n&&n.abort()}const s={init:.02,"hidden-map":.3,stitch:.42,capture:.14,compose:.06,encode:.05,done:.01},i=["init","hidden-map","stitch","capture","compose","encode","done"];let l=0;function c(y,h,_,g){const b=i.indexOf(y);let d=0;for(let k=0;k0?Math.min(1,h/_):0,m=d+(s[y]||0)*w;l=y==="init"?m:Math.max(l,m),t.value={phase:y,completed:h,total:_,message:g,fraction:Math.min(1,l),percent:Math.round(Math.min(1,l)*100)}}async function u(y,h,_){c("hidden-map",0,3,"creating hidden map");const{hiddenMap:g,restoreDpr:b,container:d}=await Wh(y,h.width,h.height);try{iu(_),c("hidden-map",1,3,"loading map tiles"),await qh(g),c("hidden-map",3,3,"tiles loaded"),iu(_),c("capture",0,1,"capturing canvas");const w=g.getCanvas().toDataURL("image/png"),m=await Vh(w),k=document.createElement("canvas");return k.width=h.width,k.height=h.height,k.getContext("2d").drawImage(m,0,0,h.width,h.height),k}finally{try{g.remove()}catch{}d!=null&&d.parentNode&&d.parentNode.removeChild(d),b()}}async function p(y,h,_){const g=Math.ceil(h.width/cn),b=Math.ceil(h.height/cn),d=g*b;c("hidden-map",0,d,`creating hidden map (${g}×${b} tiles)`);const w=y.getBounds(),m=y.getCenter(),k=y.getZoom(),E=y.getBearing(),L=y.getPitch(),{hiddenMap:H,restoreDpr:K,container:J}=await Wh(y,cn,cn,{preserveBounds:!0,bounds:w});try{const v=document.createElement("canvas");v.width=h.width,v.height=h.height;const N=v.getContext("2d"),$=w.getNorthEast(),A=w.getSouthWest(),F=($.lng-A.lng)/g,W=FP(A.lat,$.lat,b);let z=0;for(let Z=0;Zt&&([t,o]=[o,t]),e.orientation==="portrait"&&t>o&&([t,o]=[o,t]);const n=e.dpi||300;return{width:Math.round(t*n),height:Math.round(o*n),dpi:n}}function jP(e,t){return e==="single"||e==="stitch"?e:t.width>$a||t.height>$a?"stitch":"single"}async function Wh(e,t,o,n={}){const a=document.createElement("div");a.style.cssText=` position: fixed; top: -100000px; left: -100000px; width: ${t}px; height: ${o}px; pointer-events: none; visibility: hidden; `,document.body.appendChild(a);const r=window.devicePixelRatio,s=()=>{try{Object.defineProperty(window,"devicePixelRatio",{value:r,configurable:!0})}catch{}};try{Object.defineProperty(window,"devicePixelRatio",{value:1,configurable:!0})}catch{}const i=typeof window<"u"?window:{},l=!!i.maplibregl&&e instanceof i.maplibregl.Map,c=hi(e);if(!c)throw new Error("useMapPoster: "+(l?"maplibregl":"mapboxgl")+" global not found");const u=e.getStyle();l&&u&&typeof u.projection=="string"&&(u.projection={type:u.projection});const p=new c.Map({container:a,style:u,center:e.getCenter(),zoom:e.getZoom(),bearing:e.getBearing(),pitch:e.getPitch(),interactive:!1,attributionControl:!1,preserveDrawingBuffer:!0,canvasContextAttributes:{preserveDrawingBuffer:!0},fadeDuration:0});let f="";await new Promise((x,S)=>{let y=!1;const h=b=>{y||(y=!0,clearTimeout(_),clearInterval(g),b?S(b):x())},_=setTimeout(()=>h(new Error("useMapPoster: hidden map style.load timeout"+(f?" ("+f+")":""))),Hh),g=setInterval(()=>{try{p.isStyleLoaded()&&h()}catch{}},100);p.once("style.load",()=>h()),p.once("load",()=>h()),p.on("error",b=>{var d;f=String(((d=b==null?void 0:b.error)==null?void 0:d.message)||(b==null?void 0:b.message)||b).slice(0,160)})});try{const x=typeof e.getLanguage=="function"?e.getLanguage():null;x&&typeof p.setLanguage=="function"&&p.setLanguage(x)}catch{}return n.preserveBounds&&n.bounds&&p.fitBounds(n.bounds,{padding:0,animate:!1,duration:0}),{hiddenMap:p,restoreDpr:s,container:a}}const Kh=6e4;function qh(e){return new Promise(t=>{let o=!1;const n=[],a=s=>{o||(o=!0,n.forEach(clearTimeout),s&&console.warn("[useMapPoster] "+s),requestAnimationFrame(()=>t()))},r=()=>{try{return typeof e.areTilesLoaded=="function"&&e.areTilesLoaded()}catch{return!1}};n.push(setTimeout(()=>{r()&&a()},Hh)),n.push(setTimeout(()=>a("hidden map not idle after "+Kh/1e3+"s; capturing what is drawn"),Kh)),e.loaded()&&!e.isMoving()?a():e.once("idle",()=>a())})}function Vh(e){return new Promise((t,o)=>{const n=new Image;n.crossOrigin="anonymous",n.onload=()=>t(n),n.onerror=a=>o(new Error("image load failed: "+((a==null?void 0:a.message)||"unknown"))),n.src=typeof e=="string"?e:URL.createObjectURL(e)})}function BP(e,t,o){const n=new Blob([e],{type:"image/svg+xml;charset=utf-8"}),a=URL.createObjectURL(n);return new Promise((r,s)=>{const i=new Image;i.onload=()=>{URL.revokeObjectURL(a),r(i)},i.onerror=l=>{URL.revokeObjectURL(a),s(new Error("svg load failed: "+((l==null?void 0:l.message)||"unknown")))},i.width=t,i.height=o,i.src=a})}function GP(e,t){return new Promise((o,n)=>{e.toBlob(a=>a?o(a):n(new Error("toBlob failed")),t)})}async function HP(e,t){let o;try{const s=await Mt(()=>import("https://esm.sh/jspdf@4.2.1"),void 0);o=s.jsPDF||s.default}catch{throw new Error("useMapPoster.toPdf: jspdf not installed (npm i jspdf svg2pdf.js)")}const n=e.toDataURL("image/png"),a=e.width>e.height?"l":"p",r=new o({orientation:a,unit:"in",format:[t.widthIn,t.heightIn]});return r.addImage(n,"PNG",0,0,t.widthIn,t.heightIn),r.output("blob")}function iu(e){if(e!=null&&e.aborted)throw new DOMException("useMapPoster: aborted","AbortError")}function UP(...e){const t=new AbortController;for(const o of e)if(o){if(o.aborted){t.abort();break}o.addEventListener("abort",()=>t.abort(),{once:!0})}return t.signal}function Yh(e){return(e==null?void 0:e.dir)==="rtl"}function lu(e,t,o){return Yh(e)?`x="${t.w-o}" text-anchor="start" direction="rtl"`:`x="${o}"`}function WP(e,t){var a,r,s,i;const o=(((r=(a=e.slots)==null?void 0:a.title)==null?void 0:r.text)||"").replace(/[<>&]/g,_a),n=(((i=(s=e.slots)==null?void 0:s.title)==null?void 0:i.subtitle)||"").replace(/[<>&]/g,_a);return` @@ -1865,7 +1865,7 @@ ${Ce}
${$(s("privacy_note"))}
`,"sheet-map")}function V(){return`
${$(s("map_unavailable"))}
`}function se(ee,ie,be){if(!be||!Array.isArray(be.steps)||!be.steps.length)return"";const $e=be.steps,ke="'Public Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif",Ie=ie.length,Ce=Number(be.listTotal)||0,De=Ce?100*Ie/Ce:0,Ve=De>=10?String(Math.round(De)):De.toFixed(De>=1?1:2).replace(/\.?0+$/,""),Oe=Ce?``:"",We=be.sources&&be.sources.imb,ht=We?$(Number.isFinite(Number(be.unassigned))?u(s("funnel_foot"),{imb_pub:We.publisher||"",imb_date:We.captured||"",unassigned:A(be.unassigned),total:A(Ce)}):u(s("funnel_foot_source"),{imb_pub:We.publisher||"",imb_date:We.captured||""})):"",_t=($e[$e.length-1]||{}).groups,ct=be.listId?s(`funnel_list_${be.listId}`)??be.listLabel:be.listLabel,Ut=ct&&Ce&&Ce!==_t&&Ce!==Ie?[{groups:Ce,population:null,label:ct,tint:!0}]:[],It=[...$e.map((He,lt)=>({id:He.id,frontier:He.frontier,groups:He.groups,population:He.population,label:s(`funnel_${He.id}`)!==void 0?s(`funnel_${He.id}`):He.id,tint:lt===$e.length-1&&!Ut.length})),...Ut,{groups:Ie,population:null,label:s("funnel_this"),tint:!0,mine:!0}],un={unreached:"all",frontier:"unreached"},dn=Number(be.listCount),Fn=Number.isFinite(dn)&&dn>0?[{groups:dn,population:null,packets:!0,label:u(s("funnel_packets"),{total:A(Ce||_t)})}]:[],So=[...It.filter(He=>!He.mine),...Fn,...It.filter(He=>He.mine)],Ho=So.length,bo=hu.has(t),Ft=He=>bo?f-He:He,Eo=262,Xt=1540,ur=900,as=h+20,ta=as+ur/2,rs=10,pn=(Xt-Eo-rs*(Ho-1))/Ho,Nn=He=>ur/2*(Xt-He)/(Xt-Eo),gn=[[223,231,223],[195,213,196],[168,195,170],[127,161,132],[86,115,91],[59,70,61]],Oi=He=>{const lt=(Ho===1?1:He/(Ho-1))*(gn.length-1),$o=Math.min(gn.length-2,Math.floor(lt)),In=lt-$o;return gn[$o].map((fn,Ao)=>Math.round(fn+(gn[$o+1][Ao]-fn)*In))},dr=He=>"#"+He.map(lt=>lt.toString(16).padStart(2,"0")).join(""),pr=He=>{const[lt,$o,In]=He.map(fn=>{const Ao=fn/255;return Ao<=.03928?Ao/12.92:((Ao+.055)/1.055)**2.4});return .2126*lt+.7152*$o+.0722*In},Mo=(He,lt)=>(Math.max(pr(He),pr(lt))+.05)/(Math.min(pr(He),pr(lt))+.05),fo=He=>Mo(He,[255,255,255])>=Mo(He,[59,70,61])?"#ffffff":"#3b463d";let oa="",xa="";return So.forEach((He,lt)=>{const $o=Eo+lt*(pn+rs),In=$o+pn,fn=Nn($o),Ao=Nn(In),ss=Oi(lt),Di=[[ta-fn,$o],[ta+fn,$o],[ta+Ao,In],[ta-Ao,In]].map(([Pa,Bi])=>`${Ft(Pa).toFixed(1)},${Bi.toFixed(1)}`).join(" ");oa+=``;const gr=A(He.groups),is=$o+pn*.46,zi=2*Nn(is)-28,fr=Math.min(He.mine?64:58,zi/(.6*gr.length)),ls=fr>=30,cs=`funnel-n${He.mine?" funnel-mine":""}`;ls&&(oa+=`${gr}`);const hn=He.population===null||He.population===void 0||He.population===""?null:Number(He.population),Sa=hn!==null&&Number.isFinite(hn)&&hn>0?`
${A(hn)} ${$(s("funnel_people"))}
`:"",Aa=lt>0?So[lt-1]:null,mu=Aa&&He.id&&un[He.id]===Aa.id&&Number(Aa.groups)>Number(He.groups)?`
− ${A(Number(Aa.groups)-Number(He.groups))}
`:"",bu=He.id==="doxa"&&Number.isFinite(Number(He.frontier))&&Number(He.frontier)>0?`
${$(u(s("funnel_doxa_note"),{frontier:A(He.frontier)}))}
`:"",ji=ta+fn+30;xa+=`
`+(ls?"":`
${gr}
`)+`
${$(He.label)}
`+Sa+mu+bu+(He.mine?Oe:"")+"
"}),I(` + ${$(be.listCount?u(s("funnel_share"),{k:A(be.listCount),pct:Ve,total:A(Ce)}):u(s("funnel_share_pct"),{pct:Ve,total:A(Ce)}))}`:"",We=be.sources&&be.sources.imb,ht=We?$(Number.isFinite(Number(be.unassigned))?u(s("funnel_foot"),{imb_pub:We.publisher||"",imb_date:We.captured||"",unassigned:A(be.unassigned),total:A(Ce)}):u(s("funnel_foot_source"),{imb_pub:We.publisher||"",imb_date:We.captured||""})):"",_t=($e[$e.length-1]||{}).groups,ct=be.listId?s(`funnel_list_${be.listId}`)??be.listLabel:be.listLabel,Ut=ct&&Ce&&Ce!==_t&&Ce!==Ie?[{groups:Ce,population:null,label:ct,tint:!0}]:[],It=[...$e.map((He,lt)=>({id:He.id,frontier:He.frontier,groups:He.groups,population:He.population,label:s(`funnel_${He.id}`)!==void 0?s(`funnel_${He.id}`):He.id,tint:lt===$e.length-1&&!Ut.length})),...Ut,{groups:Ie,population:null,label:s("funnel_this"),tint:!0,mine:!0}],un={unreached:"all",frontier:"unreached"},dn=Number(be.listCount),Fn=Number.isFinite(dn)&&dn>0?[{groups:dn,population:null,packets:!0,label:u(s("funnel_packets"),{total:A(Ce||_t)})}]:[],fo=[...It.filter(He=>!He.mine),...Fn,...It.filter(He=>He.mine)],Ho=fo.length,$o=hu.has(t),Ft=He=>$o?f-He:He,Eo=262,Xt=1540,ur=900,as=h+20,ta=as+ur/2,rs=10,pn=(Xt-Eo-rs*(Ho-1))/Ho,Nn=He=>ur/2*(Xt-He)/(Xt-Eo),gn=[[223,231,223],[195,213,196],[168,195,170],[127,161,132],[86,115,91],[59,70,61]],Oi=He=>{const lt=(Ho===1?1:He/(Ho-1))*(gn.length-1),_o=Math.min(gn.length-2,Math.floor(lt)),In=lt-_o;return gn[_o].map((fn,Ao)=>Math.round(fn+(gn[_o+1][Ao]-fn)*In))},dr=He=>"#"+He.map(lt=>lt.toString(16).padStart(2,"0")).join(""),pr=He=>{const[lt,_o,In]=He.map(fn=>{const Ao=fn/255;return Ao<=.03928?Ao/12.92:((Ao+.055)/1.055)**2.4});return .2126*lt+.7152*_o+.0722*In},Mo=(He,lt)=>(Math.max(pr(He),pr(lt))+.05)/(Math.min(pr(He),pr(lt))+.05),ho=He=>Mo(He,[255,255,255])>=Mo(He,[59,70,61])?"#ffffff":"#3b463d";let oa="",xa="";return fo.forEach((He,lt)=>{const _o=Eo+lt*(pn+rs),In=_o+pn,fn=Nn(_o),Ao=Nn(In),ss=Oi(lt),Di=[[ta-fn,_o],[ta+fn,_o],[ta+Ao,In],[ta-Ao,In]].map(([Pa,Bi])=>`${Ft(Pa).toFixed(1)},${Bi.toFixed(1)}`).join(" ");oa+=``;const gr=A(He.groups),is=_o+pn*.46,zi=2*Nn(is)-28,fr=Math.min(He.mine?64:58,zi/(.6*gr.length)),ls=fr>=30,cs=`funnel-n${He.mine?" funnel-mine":""}`;ls&&(oa+=`${gr}`);const hn=He.population===null||He.population===void 0||He.population===""?null:Number(He.population),Sa=hn!==null&&Number.isFinite(hn)&&hn>0?`
${A(hn)} ${$(s("funnel_people"))}
`:"",Aa=lt>0?fo[lt-1]:null,mu=Aa&&He.id&&un[He.id]===Aa.id&&Number(Aa.groups)>Number(He.groups)?`
− ${A(Number(Aa.groups)-Number(He.groups))}
`:"",bu=He.id==="doxa"&&Number.isFinite(Number(He.frontier))&&Number(He.frontier)>0?`
${$(u(s("funnel_doxa_note"),{frontier:A(He.frontier)}))}
`:"",ji=ta+fn+30;xa+=`
`+(ls?"":`
${gr}
`)+`
${$(He.label)}
`+Sa+mu+bu+(He.mine?Oe:"")+"
"}),I(`
${$(s("funnel_kicker"))}
@@ -1922,7 +1922,7 @@
${$(s("points_intro"))}
${ee}
-
${$(s("points_attrib"))}
`)}const vt=["dialect","dialect","dialect","language","language","language","family","family","family"],Lt=["same","near","different","same","near","different","same","near","different"];function xo(ee){if(ee===va)return s("ring_band_geography");const ie=ee-1;return ie<0||ie>=vt.length?"":u(s("ring_join"),{band:s(`ring_band_${vt[ie]}`),culture:s(`ring_culture_${Lt[ie]}`)})}function Go(ee){const ie=ee&&ee.counts,be=ke=>ie&&typeof ie.get=="function"?Number(ie.get(ke)||0):0,$e=[];for(let ke=1;ke<=va;ke++){const Ie=xo(ke);if(!Ie)continue;const Ce=be(ke);$e.push(`
  • ${ke===va?"+":ke} ${$(Ie)} ${Ce?A(Ce):"—"}
  • `)}return $e.length?`
      ${$e.join("")}
    `:""}function ka(ee,ie,be){const $e=be*.2,ke=be*.66;return``}function ea(ee,ie){if(!ie||!Array.isArray(ie.bounded)&&!Array.isArray(ie.centered))return"";const be=Array.isArray(ie.bounded)?ie.bounded:[],$e=Array.isArray(ie.centered)?ie.centered:[];if(!be.length&&!$e.length)return"";const ke=[];let Ie="";if(be.length){const Ce=P2(be,{r:100,spread:220}),De=L2(Ce),Ve=250,Oe=(We,ht)=>``;ke.push({kind:"bounded",html:`
    +
    ${$(s("points_attrib"))}
    `)}const vt=["dialect","dialect","dialect","language","language","language","family","family","family"],Lt=["same","near","different","same","near","different","same","near","different"];function So(ee){if(ee===va)return s("ring_band_geography");const ie=ee-1;return ie<0||ie>=vt.length?"":u(s("ring_join"),{band:s(`ring_band_${vt[ie]}`),culture:s(`ring_culture_${Lt[ie]}`)})}function Go(ee){const ie=ee&&ee.counts,be=ke=>ie&&typeof ie.get=="function"?Number(ie.get(ke)||0):0,$e=[];for(let ke=1;ke<=va;ke++){const Ie=So(ke);if(!Ie)continue;const Ce=be(ke);$e.push(`
  • ${ke===va?"+":ke} ${$(Ie)} ${Ce?A(Ce):"—"}
  • `)}return $e.length?`
      ${$e.join("")}
    `:""}function ka(ee,ie,be){const $e=be*.2,ke=be*.66;return``}function ea(ee,ie){if(!ie||!Array.isArray(ie.bounded)&&!Array.isArray(ie.centered))return"";const be=Array.isArray(ie.bounded)?ie.bounded:[],$e=Array.isArray(ie.centered)?ie.centered:[];if(!be.length&&!$e.length)return"";const ke=[];let Ie="";if(be.length){const Ce=P2(be,{r:100,spread:220}),De=L2(Ce),Ve=250,Oe=(We,ht)=>``;ke.push({kind:"bounded",html:`

    ${$(s("sets_head_bounded"))}

    ${$(s("sets_bounded_title"))}
    @@ -1932,21 +1932,21 @@ ${ka(Ce.cx,Ce.cy,44)}

    ${$(u(s("sets_bounded_tally"),{inside:A(De.inside),outside:A(De.outside),unknown:A(De.unknown)}))}

    -
    `})}if($e.length){const Ce=M2($e,{}),De=R2(Ce),Ve=34,Oe=25,We=va-1,ht=Ve+We*Oe,_t=ht+Oe,ct=_t+14,Ut=5.5,It=[];It.push(``);for(let Ft=We;Ft>=1;Ft--)It.push(``);It.push(``);const un=[];for(let Ft=1;Ft<=We;Ft++){const Eo=-(Ve+(Ft-.5)*Oe);un.push(`${Ft}`)}const dn=lm({innerR:Ve+Oe/2,ringGap:Oe}),Fn=Ft=>{const Eo=Math.asin(Math.min(1,(9+Ut+2)/Ft));return{start:-Math.PI/2-Eo,span:2*Eo}},So=F2(Ce.placed,dn,{ringGap:Oe,minSep:2*Ut+2,pinRadius:Ut,minPinFloor:3,labels:dn.map(Ft=>({ring:Ft.ring,keepOut:Fn(Ft.r)}))}),Ho=So.placed.map(Ft=>``).join("");ke.push({kind:"centered",html:`
    +
    `})}if($e.length){const Ce=M2($e,{}),De=R2(Ce),Ve=34,Oe=25,We=va-1,ht=Ve+We*Oe,_t=ht+Oe,ct=_t+14,Ut=5.5,It=[];It.push(``);for(let Ft=We;Ft>=1;Ft--)It.push(``);It.push(``);const un=[];for(let Ft=1;Ft<=We;Ft++){const Eo=-(Ve+(Ft-.5)*Oe);un.push(`${Ft}`)}const dn=lm({innerR:Ve+Oe/2,ringGap:Oe}),Fn=Ft=>{const Eo=Math.asin(Math.min(1,(9+Ut+2)/Ft));return{start:-Math.PI/2-Eo,span:2*Eo}},fo=F2(Ce.placed,dn,{ringGap:Oe,minSep:2*Ut+2,pinRadius:Ut,minPinFloor:3,labels:dn.map(Ft=>({ring:Ft.ring,keepOut:Fn(Ft.r)}))}),Ho=fo.placed.map(Ft=>``).join("");ke.push({kind:"centered",html:`

    ${$(s("sets_head_centered"))}

    ${$(s("sets_centered_title"))}
    ${It.join("")}${Ho}${un.join("")}${ka(0,0,40)} -

    ${$(u(s("sets_centered_tally"),{placed:A(So.placed.length),centre:A(De.centre),unplaced:A(De.unplaced+So.unplaced.length)}))}

    -
    `});const bo=Go(De);bo&&(Ie=`
    ${$(s("sets_rings_head"))}
    ${bo}
    `)}return ke.map((Ce,De)=>I(` +

    ${$(u(s("sets_centered_tally"),{placed:A(fo.placed.length),centre:A(De.centre),unplaced:A(De.unplaced+fo.unplaced.length)}))}

    +
    `});const $o=Go(De);$o&&(Ie=`
    ${$(s("sets_rings_head"))}
    ${$o}
    `)}return ke.map((Ce,De)=>I(`
    ${$(s("sets_kicker"))}

    ${$(s("sets_title"))}

    ${De===0?`

    ${$(s("sets_lede"))}

    `:""}
    ${Ce.html}
    ${Ce.kind==="centered"?Ie:""} - `,`sheet-sets sheet-flow sheet-sets-${Ce.kind}`)).join("")}function Y(){const ee=f/2,ie=1075,be=500,$e="'Public Sans','Helvetica Neue',Arial,-apple-system,'Segoe UI',system-ui,sans-serif",ke=["praise","wait","confess","read","ask","intercede","pray_word","thank","sing","meditate","listen","praise_end"],Ie=["#fe936a","#febb64","#fed164","#fffa83","#e6f37d","#a3d979","#47ccfc","#6293fe","#722cfd","#c632fd","#e6578d","#ff766f"],Ce=180,De=We=>We*Math.PI/180,Ve=ke.map((We,ht)=>{const _t=De(Ce+ht*30),ct=De(Ce+(ht+1)*30),Ut=(_t+ct)/2,It=ee+be*Math.cos(_t),un=ie+be*Math.sin(_t),dn=ee+be*Math.cos(ct),Fn=ie+be*Math.sin(ct),So=ee+be*.6*Math.cos(Ut),Ho=ie+be*.6*Math.sin(Ut);let bo=Ut*180/Math.PI;return bo=((bo+180)%360+360)%360-180,(bo>90||bo<-90)&&(bo+=180),` - We*Math.PI/180,Ve=ke.map((We,ht)=>{const _t=De(Ce+ht*30),ct=De(Ce+(ht+1)*30),Ut=(_t+ct)/2,It=ee+be*Math.cos(_t),un=ie+be*Math.sin(_t),dn=ee+be*Math.cos(ct),Fn=ie+be*Math.sin(ct),fo=ee+be*.6*Math.cos(Ut),Ho=ie+be*.6*Math.sin(Ut);let $o=Ut*180/Math.PI;return $o=(($o+180)%360+360)%360-180,($o>90||$o<-90)&&($o+=180),` + ${$(i(We))}`}).join(""),Oe=ke.map((We,ht)=>{const _t=De(Ce+(ht+.5)*30),ct=ee+(be+44)*Math.cos(_t),Ut=ie+(be+44)*Math.sin(_t);return` diff --git a/public/dx-maps/doxa-research-map/research-map/index.html b/public/dx-maps/doxa-research-map/research-map/index.html index 37d328edb..727e9b662 100644 --- a/public/dx-maps/doxa-research-map/research-map/index.html +++ b/public/dx-maps/doxa-research-map/research-map/index.html @@ -70,7 +70,7 @@ - + - + \n\n\n", - "scriptMapbox": "\n\n\n\n\n\n" + "script": "\n\n\n\n\n\n", + "scriptMapbox": "\n\n\n\n\n\n" }, "instances": [ { @@ -859,7 +859,7 @@ }, { "profile": "resources-map", - "stage": "experimental", + "stage": "production", "label": "Gospel Resources — resources map", "file": "resources-map.vue", "description": "12,379 people-group pins over a country choropleth: tap a pin for the Scripture, audio, film, Bible-story and training links that exist in that group's own language with real URLs, tap a country for every group in it, search by group, language or ISO 639-3 code, and filter to the groups where nothing was found.", @@ -1001,24 +1001,6 @@ "embed": { "iframe": "" } - }, - { - "id": "regions-look", - "title": "People Groups Grid — the regions-dashboard look (link toggle + root watermark)", - "apiBaseUrl": "", - "props": { - "profile": "people-groups-grid", - "provider": "maplibre", - "instanceId": "people-groups-grid-regions-look", - "pray-base-url": "https://pray.doxa.life", - "filters-toggle": "link", - "backdrop": "root" - }, - "element": "people-groups-grid", - "iframeUrl": "./people-groups-grid/people-groups-grid/regions-look/index.html", - "embed": { - "iframe": "" - } } ] } diff --git a/public/dx-maps/people-groups-grid/people-groups-grid/regions-look/index.html b/public/dx-maps/people-groups-grid/people-groups-grid/regions-look/index.html deleted file mode 100644 index 77c5ac952..000000000 --- a/public/dx-maps/people-groups-grid/people-groups-grid/regions-look/index.html +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - - - People Groups Grid — the regions-dashboard look (link toggle + root watermark) · people-groups-grid - - - - - -
    -
    loading…
    - - - - - - - - diff --git a/vite.config.js.timestamp-1790698770542-9b99b49958ff6.mjs b/vite.config.js.timestamp-1790698770542-9b99b49958ff6.mjs deleted file mode 100644 index 95bde7fd7..000000000 --- a/vite.config.js.timestamp-1790698770542-9b99b49958ff6.mjs +++ /dev/null @@ -1,1982 +0,0 @@ -var __defProp = Object.defineProperty; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __esm = (fn, res) => function __init() { - return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res; -}; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; - -// internal/i18n-areas.mjs -var i18n_areas_exports = {}; -__export(i18n_areas_exports, { - allAreas: () => allAreas, - areasForBundle: () => areasForBundle, - bundleGraph: () => bundleGraph -}); -import { readFileSync as readFileSync6, existsSync as existsSync5, readdirSync as readdirSync4, statSync as statSync3 } from "node:fs"; -import { resolve as resolve7, dirname as dirname5, join as join3, relative } from "node:path"; -function allAreas(root) { - return readdirSync4(join3(root, "library/i18n/locales/en")).filter((f) => f.endsWith(".json")).map((f) => f.replace(/\.json$/, "")).sort(); -} -function resolveFile(p) { - for (const cand of [p, p + ".js", p + ".mjs", p + ".vue", p + ".json", join3(p, "index.js")]) { - try { - if (existsSync5(cand) && statSync3(cand).isFile()) return cand; - } catch { - } - } - return null; -} -function expandGlob(pattern, fromDir) { - const abs = resolve7(fromDir, pattern); - const parts = abs.split("/"); - const out = []; - const walk = (i, dir) => { - if (i === parts.length) return; - const seg = parts[i]; - if (i === 0) return walk(1, "/"); - if (!seg.includes("*")) { - const next = join3(dir, seg); - if (i === parts.length - 1) { - if (existsSync5(next)) out.push(next); - } else walk(i + 1, next); - return; - } - const re = new RegExp("^" + seg.replace(/[.+^${}()|[\]\\]/g, "\\$&").replace(/\*\*/g, ".*").replace(/\*/g, "[^/]*") + "$"); - let entries = []; - try { - entries = readdirSync4(dir); - } catch { - return; - } - for (const e of entries) if (re.test(e)) { - if (i === parts.length - 1) out.push(join3(dir, e)); - else walk(i + 1, join3(dir, e)); - } - }; - walk(0, "/"); - return out; -} -function bundleGraph(root, bundle) { - const entry = join3(root, "plugin-designs", bundle, "index.js"); - const seen = /* @__PURE__ */ new Set(); - const queue = [entry]; - const LOCALES = join3(root, "library/i18n/locales"); - while (queue.length) { - const f = queue.pop(); - if (!f || seen.has(f) || f.startsWith(LOCALES) || f.includes("/node_modules/")) continue; - seen.add(f); - let src2 = ""; - try { - src2 = readFileSync6(f, "utf8"); - } catch { - continue; - } - const dir = dirname5(f); - const add = (spec) => { - if (!spec) return; - let p = null; - if (spec.startsWith("@map/")) p = join3(root, "library", spec.slice(5)); - else if (spec.startsWith(".") || spec.startsWith("/")) p = spec.startsWith("/") ? join3(root, spec) : resolve7(dir, spec); - else return; - p = p.replace(/\?.*$/, ""); - const r = resolveFile(p); - if (r) queue.push(r); - }; - for (const m of src2.matchAll(IMPORT_RE)) add(m[1] || m[2] || m[3]); - for (const m of src2.matchAll(GLOB_RE)) { - const pats = m[1].startsWith("[") ? [...m[1].matchAll(/['"]([^'"]+)['"]/g)].map((x) => x[1]) : [m[1].slice(1, -1)]; - for (const pat of pats) { - if (pat.startsWith("!")) continue; - const base = pat.startsWith("@map/") ? join3(root, "library") : dir; - for (const hit of expandGlob(pat.replace(/^@map\//, ""), base)) queue.push(hit); - } - } - } - return [...seen]; -} -function areasForBundle(root, bundle, { extra = [] } = {}) { - const areas = allAreas(root); - const files = bundleGraph(root, bundle); - const text = files.map((f) => { - try { - return readFileSync6(f, "utf8"); - } catch { - return ""; - } - }).join("\n"); - const used = new Set(extra); - const assemblesUnknownKeys = /\b(?:t|te|tm|tStatic|T)\(\s*`\$\{/.test(text); - for (const a of areas) { - const esc = a.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); - if (new RegExp(`['"\`]${esc}\\.`).test(text)) { - used.add(a); - continue; - } - if (new RegExp(`\\b(?:useOptionalT|useOptionalI18n|qualify|tm|t|te|tStatic|rt)\\(\\s*['"\`]${esc}['"\`]`).test(text)) { - used.add(a); - continue; - } - if (assemblesUnknownKeys && new RegExp(`['"\`]${esc}['"\`]`).test(text)) used.add(a); - } - return { areas: [...used].filter((a) => areas.includes(a)).sort(), files: files.map((f) => relative(root, f)) }; -} -var IMPORT_RE, GLOB_RE; -var init_i18n_areas = __esm({ - "internal/i18n-areas.mjs"() { - IMPORT_RE = /(?:import|export)\s[^'"`;]*?from\s*['"]([^'"]+)['"]|import\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g; - GLOB_RE = /import\.meta\.glob\s*\(\s*(\[[^\]]*\]|['"][^'"]+['"])/g; - } -}); - -// vite.config.js -import { defineConfig, loadEnv } from "file:///home/lk10x/Workspace/eco-dx/root-doxa-maps/doxa-maps-plugin-studio/node_modules/vite/dist/node/index.js"; -import vue from "file:///home/lk10x/Workspace/eco-dx/root-doxa-maps/doxa-maps-plugin-studio/node_modules/@vitejs/plugin-vue/dist/index.mjs"; -import cssInjectedByJsPlugin from "file:///home/lk10x/Workspace/eco-dx/root-doxa-maps/doxa-maps-plugin-studio/node_modules/vite-plugin-css-injected-by-js/dist/esm/index.js"; - -// internal/plugin-gallery/dev-plugin.mjs -import { resolve as resolve4, extname } from "node:path"; -import { spawnSync } from "node:child_process"; -import { readdirSync as readdirSync3, statSync as statSync2, existsSync as existsSync3, readFileSync as readFileSync5 } from "node:fs"; - -// internal/plugin-gallery/discover.mjs -import { resolve, dirname } from "node:path"; -import { fileURLToPath } from "node:url"; -import { readdirSync, statSync, existsSync, readFileSync } from "node:fs"; -var __vite_injected_original_import_meta_url = "file:///home/lk10x/Workspace/eco-dx/root-doxa-maps/wt-hf/internal/plugin-gallery/discover.mjs"; -var REPO_ROOT = resolve(dirname(fileURLToPath(__vite_injected_original_import_meta_url)), "..", ".."); -var PROFILE_TIER = { - "nested-mfe-spa": 0, - "nested-elements-mfe": 1, - "monolithic": 2, - "parameterized": 3, - "single": 4 -}; -var TYPE_DISPLAY = { - "single": "single-element", - "parameterized": "preset-element", - "monolithic": "multi-view-element", - "nested-elements-mfe": "composite-element", - "nested-mfe-spa": "app-shell" -}; -var TYPE_ALIASES = Object.fromEntries(Object.entries(TYPE_DISPLAY).map(([k, v]) => [v, k])); -var normalizeType = (t) => t && PROFILE_TIER[t] != null ? t : TYPE_ALIASES[t] || null; -function readJsonSafe(p) { - try { - return JSON.parse(readFileSync(p, "utf8")); - } catch { - return null; - } -} -function detectProfileType(dir, profile, ownTag, allTags, hasInstances) { - const meta = readJsonSafe(resolve(dir, `${profile}.meta.json`)); - const declared = meta && normalizeType(meta.type); - if (declared) return { type: declared, label: meta.label || profile }; - const type = hasInstances ? "parameterized" : "single"; - try { - const childVue = countChildVue(dir); - if (childVue >= 5) { - console.warn( - `[discover] ${profile}: type INFERRED as "${type}" but the bundle has ${childVue} child .vue components. Tier 3+ is never inferred \u2014 if this nests multiple views internally it is "monolithic"; if its children are independently embeddable it is "nested-elements-mfe". Declare it in ${profile}.meta.json {"type": ...} or this ships understated.` - ); - } - } catch { - } - return { type, label: meta && meta.label || profile }; -} -function countChildVue(dir) { - let n = 0; - const walk = (d, depth) => { - for (const e of readdirSync(d, { withFileTypes: true })) { - if (e.name.startsWith(".") || e.name === "node_modules") continue; - const p = resolve(d, e.name); - if (e.isDirectory()) walk(p, depth + 1); - else if (depth > 0 && e.name.endsWith(".vue")) n++; - } - }; - walk(dir, 0); - return n; -} -function discoverSpaRegistry(root = REPO_ROOT) { - const APP_DIR = resolve(root, "plugin-designs"); - const bundles = []; - if (!existsSync(APP_DIR)) return bundles; - const dirs = readdirSync(APP_DIR).sort().filter((n) => { - const d = resolve(APP_DIR, n); - return statSync(d).isDirectory() && n !== "template-bundle" && existsSync(resolve(d, "index.js")); - }); - const tagOf = {}; - for (const n of dirs) { - try { - const m = readFileSync(resolve(APP_DIR, n, "index.js"), "utf8").match(/customElements\.define\(\s*['"]([^'"]+)['"]/); - if (m) tagOf[n] = m[1]; - } catch { - } - } - const allTags = Object.values(tagOf); - for (const n of dirs) { - const dir = resolve(APP_DIR, n), tag = tagOf[n]; - if (!tag) continue; - const files = readdirSync(dir); - const instFile = files.find((f) => /\.instances\.json$/i.test(f)); - const rawInst = instFile ? readJsonSafe(resolve(dir, instFile)) : null; - const instances = Array.isArray(rawInst) ? rawInst : rawInst && Array.isArray(rawInst.instances) ? rawInst.instances : null; - const hasInstances = !!(instances && instances.length); - const instApi = rawInst && !Array.isArray(rawInst) && typeof rawInst.apiBaseUrl === "string" ? rawInst.apiBaseUrl : ""; - const items = []; - for (const profile of files.filter((f) => f.endsWith(".vue")).map((f) => f.replace(/\.vue$/, "")).sort()) { - const t = detectProfileType(dir, profile, tag, allTags, hasInstances); - if (t.type === "parameterized" && hasInstances) { - for (const inst of instances) { - items.push({ profile, id: inst.id || inst.title || profile, label: inst.title || inst.id || profile, type: "parameterized", props: inst.props || {}, apiBaseUrl: instApi }); - } - } else { - items.push({ profile, id: profile, label: t.label, type: t.type, props: null }); - } - } - if (!items.length) continue; - items.sort((a, b) => (PROFILE_TIER[a.type] ?? 9) - (PROFILE_TIER[b.type] ?? 9)); - const bestTier = Math.min(...items.map((i) => PROFILE_TIER[i.type] ?? 9)); - bundles.push({ bundle: n, tag, items, bestTier }); - } - bundles.sort((a, b) => a.bestTier - b.bestTier || a.bundle.localeCompare(b.bundle)); - return bundles; -} - -// internal/generate-gallery.mjs -import { readFileSync as readFileSync3, writeFileSync, existsSync as existsSync2, readdirSync as readdirSync2, mkdirSync } from "node:fs"; -import { join, resolve as resolve3, dirname as dirname3 } from "node:path"; -import { fileURLToPath as fileURLToPath3, pathToFileURL } from "node:url"; - -// internal/_tree-name.mjs -import { readFileSync as readFileSync2 } from "node:fs"; -import { resolve as resolve2, dirname as dirname2 } from "node:path"; -import { fileURLToPath as fileURLToPath2 } from "node:url"; -var __vite_injected_original_import_meta_url2 = "file:///home/lk10x/Workspace/eco-dx/root-doxa-maps/wt-hf/internal/_tree-name.mjs"; -var ROOT = resolve2(dirname2(fileURLToPath2(__vite_injected_original_import_meta_url2)), ".."); -var BUILD_CONFIG_FILE = resolve2(ROOT, "vite.doxa-maps-build-config.json"); -var FALLBACK = "doxa-maps"; -function read() { - let name = ""; - try { - const cfg = JSON.parse(readFileSync2(BUILD_CONFIG_FILE, "utf8")); - if (cfg && typeof cfg.name === "string") name = cfg.name.trim(); - } catch { - } - if (!name) return FALLBACK; - if (!/^[a-z0-9][a-z0-9._-]*$/i.test(name) || name.includes("..")) { - throw new Error(`[_tree-name] build config "name" must be a single URL-safe path segment, got ${JSON.stringify(name)}`); - } - return name; -} -var TREE_NAME = read(); -function readGated() { - try { - const cfg = JSON.parse(readFileSync2(BUILD_CONFIG_FILE, "utf8")); - return Array.isArray(cfg.gatedProfiles) ? cfg.gatedProfiles.filter((x) => typeof x === "string" && x.trim()).map((x) => x.trim()) : []; - } catch { - return []; - } -} -var GATED_PROFILES = readGated(); -var TREE_NAME_RE = TREE_NAME.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); -if (process.argv[1] && resolve2(process.argv[1]) === fileURLToPath2(__vite_injected_original_import_meta_url2)) process.stdout.write(TREE_NAME + "\n"); - -// internal/generate-gallery.mjs -var __vite_injected_original_import_meta_url3 = "file:///home/lk10x/Workspace/eco-dx/root-doxa-maps/wt-hf/internal/generate-gallery.mjs"; -var ROOT2 = resolve3(dirname3(fileURLToPath3(__vite_injected_original_import_meta_url3)), ".."); -function readSourceTiers(appDir = join(ROOT2, "plugin-designs")) { - const out = {}; - if (!existsSync2(appDir)) return out; - let dirs = []; - try { - dirs = readdirSync2(appDir, { withFileTypes: true }).filter((d) => d.isDirectory()).map((d) => d.name); - } catch { - return out; - } - for (const bundle of dirs) { - const dir = join(appDir, bundle); - let files = []; - try { - files = readdirSync2(dir); - } catch { - continue; - } - const hasInstances = files.some((f) => /\.instances\.json$/i.test(f)); - for (const f of files) { - if (!f.endsWith(".vue")) continue; - const profile = f.replace(/\.vue$/, ""); - try { - const t = detectProfileType(dir, profile, "", [], hasInstances); - out[bundle + "/" + profile] = t.type; - } catch { - } - } - } - return out; -} -function readBuildConfig() { - let cfg = {}; - try { - cfg = JSON.parse(readFileSync3(join(ROOT2, "vite.doxa-maps-build-config.json"), "utf8")); - } catch { - } - const str = (k) => typeof cfg[k] === "string" ? cfg[k].trim() : ""; - let tokenUrl = str("tokenUrl"); - if (!tokenUrl) { - try { - const src2 = JSON.parse(readFileSync3(join(ROOT2, "library/api/sources.json"), "utf8")); - const v = src2?._meta?.mapboxTokenUrl || src2?.mapboxTokenUrl; - if (typeof v === "string" && v.trim()) tokenUrl = v.trim(); - } catch { - } - } - return { - name: str("name") || TREE_NAME, - title: str("displayTitle") || TREE_NAME, - tokenUrl: tokenUrl || "window.MAP_TOKEN_URL", - token: str("token"), - apiBaseUrl: str("apiBaseUrl").replace(/\/+$/, ""), - assetsBaseUrl: str("assetsBaseUrl").replace(/\/+$/, ""), - qaWidget: cfg.qaWidget !== false - }; -} -function snip(b, p, x) { - var u = (x || p).u, tag = x && x.e || p.e || b.e[0] || b.b; - var r = { iframe: '' }; - if (!x) r.script = '\n<" + tag + " profile-config='" + JSON.stringify({ profile: p.p, tk: "YOUR_MAPBOX_TOKEN", utmSource: "YOUR_SOURCE" }) + "'>"; - return r; -} -function compact(m, lean, tierMap) { - tierMap = tierMap || {}; - var PT = { "nested-mfe-spa": 0, "nested-elements-mfe": 1, "monolithic": 2, "parameterized": 3, "single": 4 }; - var capFor = function(t) { - return PT[t] != null ? 5 - PT[t] : 1; - }; - return (m.bundles || []).map(function(src2) { - var b = { b: src2.bundle, s: src2.scriptUrl || "", i: src2.integrity || "", e: src2.elements || [], p: [] }; - b.p = (src2.profiles || []).map(function(sp) { - var type = sp.type || tierMap[src2.bundle + "/" + sp.profile] || "single"; - var c = capFor(type); - var p = { p: sp.profile, e: sp.element || "", u: sp.iframeUrl || "", d: sp.description || "", c }; - var em = sp.embed || {}, d = snip(b, p, null); - if (!lean || em.iframe !== d.iframe || em.script !== d.script) p.em = em; - var ins = (sp.instances || []).map(function(sx) { - var x = { id: sx.id, t: sx.title || sx.id, a: sx.apiBaseUrl || "", pr: sx.props || {}, e: sx.element || "", u: sx.iframeUrl || "" }; - var xe = sx.embed || {}, xd = snip(b, p, x); - if (!lean || xe.iframe !== xd.iframe) x.em = xe; - return x; - }); - if (ins.length) p.in = ins; - return p; - }); - return b; - }); -} -var src = (fn) => fn.toString().replace(/<\/script/gi, "<\\/script"); -var LADDER_CSS = String.raw`:root{--acc:#1a73e8}@media(prefers-color-scheme:dark){:root{--acc:#64b5f6}} -.ladder{position:relative;margin-left:auto;display:flex;align-items:center;gap:6px;white-space:nowrap} -.rung{display:inline-flex;align-items:center;gap:4px}.rname{font:500 12px/1 ui-monospace,Menlo,monospace} -.arrow{color:var(--mut);font-size:12px;padding:0 1px} -.q{width:18px;height:18px;padding:0;border-radius:50%;font:700 11px/1 system-ui,sans-serif;color:var(--mut);background:var(--bg);display:inline-grid;place-items:center} -.start{font:600 10.5px/1 system-ui,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:var(--acc);background:var(--bg);border-radius:999px;padding:4px 9px;margin-right:4px} -.q:hover,.q[aria-expanded=true],.start:hover,.start[aria-expanded=true]{color:var(--acc);border-color:var(--acc);background:var(--bg)} -.explain{position:absolute;top:calc(100% + 8px);right:0;width:420px;max-width:calc(100vw - 32px);max-height:70vh;overflow:auto;z-index:40;background:var(--bg);border:1px solid var(--bd);border-radius:10px;box-shadow:0 4px 16px rgba(0,0,0,.14);padding:12px 14px;font-size:13px;line-height:1.45;text-align:left;white-space:normal} -.explain h3{margin:0 0 5px;font-size:14px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.explain h4{margin:8px 0 3px;font-size:13px} -.explain .tier{font:700 10px/1 system-ui,sans-serif;letter-spacing:.6px;text-transform:uppercase;color:var(--mut)} -.explain p{margin:0 0 6px}.explain .aka{font-size:11.5px;color:var(--mut);margin:-2px 0 6px} -.explain .how{margin:0 0 6px;font-size:12.5px}.explain .how summary{cursor:pointer;color:var(--acc);font-weight:600;font-size:12px}.explain .how p{margin:6px 0 0;color:var(--mut)} -.explain .ex{color:var(--mut);font-size:12px} -@media(max-width:1280px){.ladder{display:none}} -`; -var LADDER_HTML = ''; -var LADDER_JS = String.raw` -`; -function renderGallery(model, opts = {}) { - const { mode = "build", title = TREE_NAME, tree = TREE_NAME, tokenUrl = "window.MAP_TOKEN_URL", token = "", apiBaseUrl = "", assetsBaseUrl = "", qaWidget = true, tierMap = {} } = opts; - const dev = mode === "dev"; - const baked = compact(model, true, tierMap); - const json = (v) => JSON.stringify(v).replace(/ String(s).replace(/&/g, "&").replace(/ - - - - -${esc(title)} - - - - - -
    -
    - ${esc(title)}{{ countLabel }}${dev ? LADDER_HTML : ""} - -
    -
    - -
    -
    -
    {{ ttl }}{{ sub }}
    - Open page - -
    -
    - - -
    -
    -
    -
    Choose a map from the list.
    -
    -
    -
    - -${dev ? LADDER_JS : ""} - -`; -} -function main() { - const CFG = readBuildConfig(); - const manifestPath = join(ROOT2, "public", CFG.name, "manifest.json"); - if (!existsSync2(manifestPath)) { - console.error(`[generate-gallery] missing ${manifestPath} \u2014 run \`bun run tree\` first`); - process.exit(1); - } - const manifest = JSON.parse(readFileSync3(manifestPath, "utf8")); - const tierMap = readSourceTiers(); - const html = renderGallery(manifest, { mode: "build", title: CFG.title, tree: "../" + CFG.name, tokenUrl: CFG.tokenUrl, token: CFG.token, apiBaseUrl: CFG.apiBaseUrl, assetsBaseUrl: CFG.assetsBaseUrl, qaWidget: CFG.qaWidget, tierMap }); - const baked = compact(manifest, true, tierMap); - const nProfiles = baked.reduce((n, b) => n + b.p.length, 0); - const nInstances = baked.reduce((n, b) => n + b.p.reduce((k, p) => k + (p.in ? p.in.length : 0), 0), 0); - const nOverrides = baked.reduce((n, b) => n + b.p.reduce((k, p) => k + (p.em ? 1 : 0) + (p.in || []).filter((x) => x.em).length, 0), 0); - const oi = process.argv.indexOf("--out"); - const outDir = oi >= 0 && process.argv[oi + 1] ? resolve3(process.argv[oi + 1]) : null; - if (!outDir) { - console.log("[generate-gallery] ARCHIVED \u2014 not written. The gallery is no longer part of the build or of public/;"); - console.log(" the Plugin Studio (/index.html) is the front page. To render it anyway: bun run gallery -- --out "); - return; - } - if (outDir === resolve3(ROOT2, "public") || outDir.startsWith(resolve3(ROOT2, "public") + "/")) { - console.error("[generate-gallery] refusing to write into public/ \u2014 it holds only the output folder."); - process.exit(1); - } - const dir = outDir; - mkdirSync(dir, { recursive: true }); - writeFileSync(join(dir, "index.html"), html); - console.log(`[generate-gallery] ${dir}/index.html (ARCHIVED rendering) \u2014 ${(html.length / 1024).toFixed(1)} KB \xB7 ${baked.length} bundle(s) \xB7 ${nProfiles} profile(s) \xB7 ${nInstances} instance(s) \xB7 ${nOverrides} embed snippet(s) baked verbatim (the rest re-derive)`); -} -if (process.argv[1] && __vite_injected_original_import_meta_url3 === pathToFileURL(process.argv[1]).href) main(); - -// internal/profile-meta.mjs -import { readFileSync as readFileSync4 } from "node:fs"; -import { join as join2 } from "node:path"; -var CORNERS = ["bottom-right", "bottom-left", "top-right", "top-left"]; -var VISIBILITY = ["team", "public"]; -var MOBILE = ["desktop-only", "larger-screens"]; -function readProfileMeta(dir, profileName) { - try { - const meta = JSON.parse(readFileSync4(join2(dir, `${profileName}.meta.json`), "utf8")); - const corner = meta?.widget?.corner; - const name = [meta?.label, meta?.title, meta?.displayName].find((v) => typeof v === "string" && v.trim()); - return { - stage: meta?.stage === "production" ? "production" : "experimental", - heavy: meta?.heavy === true, - widget: CORNERS.includes(corner) ? { corner } : null, - label: name ? name.trim() : "", - // Where the plugin runs ("web", "desktop"…); absent = web. A desktop-only plugin is never a gallery tab. - targets: Array.isArray(meta?.targets) ? meta.targets.filter((t) => typeof t === "string") : null, - visibility: VISIBILITY.includes(meta?.visibility) ? meta.visibility : "team", - // The declared-but-unrecognised value, kept so the generator can name it in the failure. - // null when the key is absent (the supported way to say "team") or already valid. - visibilityInvalid: meta?.visibility === void 0 || VISIBILITY.includes(meta?.visibility) ? null : String(meta.visibility), - mobile: MOBILE.includes(meta?.mobile) ? meta.mobile : null - }; - } catch { - return { stage: "experimental", heavy: false, widget: null, label: "", targets: null, visibility: "team", visibilityInvalid: null, mobile: null }; - } -} -function profileMetaFields(dir, profileName) { - const m = readProfileMeta(dir, profileName); - return { stage: m.stage, ...m.visibility === "public" ? { visibility: "public" } : {}, ...m.label ? { label: m.label } : {}, ...m.targets ? { targets: m.targets } : {}, ...m.heavy ? { heavy: true } : {}, ...m.widget ? { widget: m.widget } : {}, ...m.mobile ? { mobile: m.mobile } : {} }; -} -var bundleStage = (profiles) => profiles.some((p) => p.stage === "production") ? "production" : "experimental"; -var bundleVisibility = (profiles) => profiles.some((p) => p.visibility === "public") ? "public" : "team"; - -// internal/plugin-gallery/dev-plugin.mjs -var DEV_ASSET_MIME = { - ".json": "application/json; charset=utf-8", - ".geojson": "application/geo+json; charset=utf-8", - ".js": "text/javascript; charset=utf-8", - ".css": "text/css; charset=utf-8", - ".csv": "text/csv; charset=utf-8", - ".txt": "text/plain; charset=utf-8", - ".html": "text/html; charset=utf-8", - ".svg": "image/svg+xml", - ".png": "image/png", - ".webp": "image/webp", - ".jpg": "image/jpeg", - ".jpeg": "image/jpeg", - ".gif": "image/gif", - ".woff2": "font/woff2", - ".woff": "font/woff", - ".pdf": "application/pdf" -}; -function resolveDevAsset(rel, root = REPO_ROOT) { - const isFile = (p) => existsSync3(p) && statSync2(p).isFile(); - const source = resolve4(root, "data", rel); - if (isFile(source)) return source; - const shipped = resolve4(root, "public", TREE_NAME, "assets", rel); - if (isFile(shipped)) return shipped; - const profiles = resolve4(root, "plugin-designs"); - for (const name of readdirSync3(profiles)) { - if (name.startsWith("_") || name.startsWith(".")) continue; - const cand = resolve4(profiles, name, "data", rel); - if (isFile(cand)) return cand; - } - return null; -} -function readComposes(bundle, profile) { - try { - const meta = JSON.parse(readFileSync5(resolve4(REPO_ROOT, "plugin-designs", bundle, `${profile}.meta.json`), "utf8")); - return Array.isArray(meta?.composes) ? meta.composes.map(String).filter(Boolean) : []; - } catch { - return []; - } -} -function galleryModel(reg) { - const iframe = (u) => ``; - const link = (...parts) => "/__leaf/" + parts.map(encodeURIComponent).join("/"); - let gated = /* @__PURE__ */ new Set(); - try { - const cfg = JSON.parse(readFileSync5(resolve4(REPO_ROOT, "vite.doxa-maps-build-config.json"), "utf8")); - if (Array.isArray(cfg.gatedProfiles)) gated = new Set(cfg.gatedProfiles.map(String)); - } catch { - } - const bundles = [...reg].filter((b) => !gated.has(b.bundle)).sort((a, b) => a.bundle.localeCompare(b.bundle)).map((b) => { - const scriptUrl = `/plugin-designs/${b.bundle}/index.js`; - const presets = /* @__PURE__ */ new Map(); - const typeOf = /* @__PURE__ */ new Map(); - for (const it of b.items) { - if (!presets.has(it.profile)) presets.set(it.profile, []); - if (!typeOf.has(it.profile)) typeOf.set(it.profile, it.type); - if (it.type === "parameterized") presets.get(it.profile).push(it); - } - const profiles = [...presets.keys()].sort().map((profile) => { - const p = { - profile, - file: `${profile}.vue`, - description: "", - element: b.tag, - type: typeOf.get(profile) || "single", - ...profileMetaFields(resolve4(REPO_ROOT, "plugin-designs", b.bundle), profile), - // same as the built manifest - iframeUrl: link(b.bundle, profile), - scriptUrl, - embed: { - iframe: iframe(`./${b.bundle}/${profile}/index.html`), - script: ` -<${b.tag} profile-config='${JSON.stringify({ profile, tk: "YOUR_MAPBOX_TOKEN", utmSource: "YOUR_SOURCE" })}'>` - } - }; - const instances = presets.get(profile).map((it) => ({ - id: it.id, - title: it.label, - apiBaseUrl: it.apiBaseUrl || "", - props: { profile, ...it.props || {} }, - element: b.tag, - iframeUrl: link(b.bundle, profile, it.id), - embed: { iframe: iframe(`./${b.bundle}/${profile}/${it.id}/index.html`) } - })); - if (instances.length) p.instances = instances; - return p; - }); - const composes = [...new Set([...presets.keys()].flatMap((profile) => readComposes(b.bundle, profile)))]; - return { bundle: b.bundle, scriptUrl, integrity: "", elements: [b.tag], stage: bundleStage(profiles), ...bundleVisibility(profiles) === "public" ? { visibility: "public" } : {}, ...composes.length ? { composes } : {}, profiles }; - }); - return { - schema: "doxa-maps-manifest@1", - generatedFrom: "plugin-designs/*/*.vue (dev discovery)", - embedBase: ".", - bundleCount: bundles.length, - profileCount: bundles.reduce((n, b) => n + b.profiles.length, 0), - bundles - }; -} -function leafRewrite(path, treeName = TREE_NAME) { - if (!path.endsWith("/index.html")) return ""; - let segs = path.slice(0, -"/index.html".length).split("/").filter(Boolean); - if (segs[0] === treeName) segs = segs.slice(1); - if (segs.length < 2 || segs.length > 3) return ""; - for (const s of segs) { - let d = s; - try { - d = decodeURIComponent(s); - } catch { - return ""; - } - if (!d || d === "." || d === ".." || d.includes("/") || d.includes("\\")) return ""; - } - return "/__leaf/" + segs.join("/"); -} -function autoSpaDevPlugin(token = "") { - const page = () => { - const cfg = readBuildConfig(); - return renderGallery(galleryModel(discoverSpaRegistry()), { - // ★ `/__plugin-gallery`, ABSOLUTE — the SAME move, and the same fix, as assetsBaseUrl below. - // `tree` is the folder the live manifest is fetched from and that relative refs resolve - // against. It was '__plugin-gallery' (relative), correct only while the gallery WAS the root - // page. The gallery now lives at /__gallery, so the relative form resolves one level deeper. - // MEASURED 2026-09-22 on the running dev server: - // /__plugin-gallery/manifest.json ............. 200 - // /__gallery/__plugin-gallery/manifest.json ... 404 - // Naming it absolutely makes the value independent of the page depth the gallery sits at — - // which is the whole reason assetsBaseUrl was made absolute in the same move. The built tree - // passes '../' for the same reason; both now resolve to the real tree root. - mode: "dev", - title: cfg.title, - tree: "/__plugin-gallery", - tokenUrl: cfg.tokenUrl, - token: token || cfg.token, - // ★ ABSOLUTE, NOT RELATIVE — the gallery no longer lives at the root. - // This was '' (relative), which was correct while the gallery WAS the root page: a map asked - // for assets/tables/x.json and got /assets/tables/x.json. The gallery has since moved to - // /__gallery so the studio can own /, and the same relative path now resolves one level deeper - // to /__gallery/assets/... — which 404s. MEASURED 2026-09-22 on the running dev server: - // /assets/tables/internet-by-country.json ............. 200 - // /__gallery/assets/tables/internet-by-country.json ... 404 - // Nothing failed at move time; the breakage only appears when a map FETCHES, and it surfaces as - // "JSON.parse: unexpected end of data" rather than as a 404, because Vite answers an unknown - // path with HTML. The dev server serves the asset tree at /assets/ (see resolveDevAsset), so - // naming it absolutely makes the value independent of whatever page depth the gallery sits at. - apiBaseUrl: cfg.apiBaseUrl, - assetsBaseUrl: "/assets", - qaWidget: cfg.qaWidget - }); - }; - const json = (res, body, status = 200) => { - res.statusCode = status; - res.setHeader("Content-Type", "application/json; charset=utf-8"); - res.setHeader("Cache-Control", "no-cache"); - res.end(JSON.stringify(body)); - }; - return { - name: "doxa-auto-spa", - apply: "serve", - configureServer(server) { - server.middlewares.use((req, res, next) => { - const rawPath = (req.url || "").split("?")[0]; - let _decoded = rawPath; - try { - _decoded = decodeURIComponent(rawPath); - } catch { - } - if (/(^|\/)\.(git|env)(\/|$)|(^|\/)\.(merge-queue|main-capture)(\/|$)/i.test(_decoded)) { - res.statusCode = 404; - return res.end(); - } - let treeName = TREE_NAME; - try { - treeName = readBuildConfig()?.name || treeName; - } catch { - } - const rewritten = leafRewrite(rawPath, treeName); - const path = rewritten || rawPath; - if (rewritten) req.url = rewritten + (req.url || "").slice(rawPath.length); - const iife = /^\/(?:([^/]+)\/)?([a-z0-9][a-z0-9-]*)\/([a-z0-9][a-z0-9-]*)\.js$/.exec(rawPath); - if (iife && iife[2] === iife[3] && (!iife[1] || iife[1] === treeName)) { - const file = resolve4(REPO_ROOT, "public", treeName, iife[2], iife[2] + ".js"); - if (existsSync3(file)) { - res.setHeader("Content-Type", "text/javascript; charset=utf-8"); - res.setHeader("Cache-Control", "no-cache"); - return res.end(readFileSync5(file)); - } - if (existsSync3(resolve4(REPO_ROOT, "plugin-designs", iife[2]))) { - res.statusCode = 404; - res.setHeader("Content-Type", "text/plain; charset=utf-8"); - return res.end(`${iife[2]}.js is only produced by a build: run \`bun run build\` (or BUNDLE=${iife[2]} bun x vite build), then reload.`); - } - } - const leafAsset = /^\/__leaf\/(?:[^/]+\/){0,3}assets\//.exec(path); - const assetPrefix = path.startsWith("/assets/") ? "/assets/" : path.startsWith("/__plugin-gallery/assets/") ? "/__plugin-gallery/assets/" : path.startsWith(`/${treeName}/assets/`) ? `/${treeName}/assets/` : leafAsset ? leafAsset[0] : ""; - if (assetPrefix) { - let rel = ""; - try { - rel = decodeURIComponent(path.slice(assetPrefix.length)); - } catch { - rel = ""; - } - if (!rel || rel.split("/").includes("..")) { - res.statusCode = 400; - return res.end("bad asset path"); - } - const file = resolveDevAsset(rel); - if (!file) return json(res, { error: "asset not found", asset: rel, looked: [`public/${TREE_NAME}/assets/`, "data/", "plugin-designs/*/data/"] }, 404); - res.statusCode = 200; - res.setHeader("Content-Type", DEV_ASSET_MIME[extname(file).toLowerCase()] || "application/octet-stream"); - res.setHeader("Cache-Control", "no-cache"); - return res.end(readFileSync5(file)); - } - if (path === "/__dev-sha") { - const git2 = (...a) => spawnSync("git", a, { cwd: REPO_ROOT, encoding: "utf8" }).stdout.trim(); - const sha = git2("rev-parse", "HEAD"); - const dirty = git2("status", "--porcelain", "--untracked-files=no", "--", "library", "plugin-designs", "internal", "vite.config.js", "package.json") ? "+dirty" : ""; - res.statusCode = sha ? 200 : 500; - res.setHeader("Content-Type", "text/plain; charset=utf-8"); - res.setHeader("Cache-Control", "no-store"); - return res.end((sha || "unknown") + dirty + "\n"); - } - if (path === "/__plugin-gallery/registry.json" || path === "/__plugin-gallery/manifest.json") { - let reg; - try { - reg = discoverSpaRegistry(); - } catch (e) { - return json(res, { error: String(e) }, 500); - } - return json(res, path.endsWith("/manifest.json") ? galleryModel(reg) : reg); - } - if (path.startsWith("/__leaf/")) { - const parts = path.slice("/__leaf/".length).split("/").filter(Boolean).map((s) => { - try { - return decodeURIComponent(s); - } catch { - return ""; - } - }); - const [bundle, profile, instance] = parts; - if (!bundle || !profile || parts.some((s) => !s || s.includes("..") || s.includes("/"))) { - res.statusCode = 400; - return res.end("bad leaf path"); - } - let reg; - try { - reg = discoverSpaRegistry(); - } catch (e) { - return json(res, { error: String(e) }, 500); - } - const entry = reg.find((b) => b.bundle === bundle); - if (!entry) { - const named = reg.find((b) => b.bundle === profile); - const hint = named ? `this plugin's own page is /__leaf/${named.bundle}/${named.items?.[0]?.profile || named.bundle}` : "a plugin's own page is /__leaf//; every plugin is listed at /__plugin-gallery/manifest.json"; - return json(res, { error: "unknown bundle", bundle, hint }, 404); - } - const tag = entry.tag; - let leafCfg = {}; - try { - leafCfg = readBuildConfig() || {}; - } catch { - leafCfg = {}; - } - const leafTok = token || leafCfg.token || ""; - const apiBase = leafCfg.apiBaseUrl || ""; - const pc = JSON.stringify(instance ? { profile, instanceId: instance, assetsBase: "/assets" } : { profile, assetsBase: "/assets" }); - const scrollPage = (entry.items || []).some( - (it) => it.profile === profile && it.type === "nested-elements-mfe" - ); - res.statusCode = 200; - res.setHeader("Content-Type", "text/html; charset=utf-8"); - res.setHeader("Cache-Control", "no-cache"); - return res.end([ - "", - `${bundle} \xB7 ${profile}`, - '', - '', - leafTok ? `` : "", - // ★ MAP_APP_API_URL IS NOT OPTIONAL — without it every dashboard renders EMPTY in dev. - // The BUILT leaves bake `window.MAP_APP_API_URL = "https://pray.doxa.life"`; these dev - // pages baked only the Mapbox token, so the dashboards fell back to a RELATIVE - // `/api/people-groups/list?...`. Vite answers an unknown path with SPA-fallback HTML at - // HTTP 200, so the fetch "succeeds", JSON.parse fails or yields nothing, and the facet - // rail renders ZERO rows with no console error and no error card. Measured 2026-09-22: - // 8 such 404/fallback requests during one studio sweep. That reads as a broken component - // and is really a missing global — the worst kind of dev-only divergence, and exactly the - // four-surface class (see REFERENCE-the-four-surface-contract.md). - apiBase ? `` : "", - // ── FIXED-VIEWPORT LEAF vs SCROLL-PAGE LEAF ──────────────────────────────────────── - // The BUILT tree makes exactly this distinction (internal/generate-tree.mjs, `scrollPage`) - // and this dev leaf did NOT — it served the fixed-viewport style to EVERY bundle. That is - // the whole of BUG-CANNOT-SCROLL-DOWN-TO-THE-GRID-UNDER-THE-DASHBOARD: the three-file fix - // for BUG-DASHBOARD-CANT-SCROLL-DOWN landed in the built tree only, so the dev URL that - // actually gets tested was never covered and still traps the composite. - // - // WHY `height:100%` ON BODY IS THE TRAP, and why scrollHeight LIES about it. A definite - // height + `overflow:visible` lets content SPILL (so scrollHeight inflates — measured 3531 - // against a 900 viewport) WITHOUT creating a scrollport, so the viewport has nothing to - // scroll. The research-dashboard's own inner `overflow:auto` regions then swallow every - // wheel event. MEASURED 2026-09-22 on this leaf: 12 wheel events of 600px moved the page - // 0px while 2,631px of content sat below the fold. A geometry check calls that "scrollable"; - // only a real wheel exposes it. - // - // A cap-4 composite (nested-elements-mfe) is a StackLayout scroll-stack, so the DOCUMENT - // must own the scroll: `min-height` (a floor, not a cage) + explicit `overflow-y:auto`, - // and the element takes its NATURAL height so the page grows and the grid below is - // reachable. Every other tier keeps the fixed-viewport leaf — a map IS the page. - scrollPage ? `` : ``, - "", - // tree-base ON THE LEAF TOO — cap-5 shells nested here fetch a manifest of their own. - // doxa-maps-spa (like plugin-studio) discovers its tabs from the tree's manifest.json and - // resolves it RELATIVE to its own page when no base is given. On a /__leaf/ URL that - // resolved to /__leaf/manifest.json and 400'd. Harmless (both shells carry a baked - // fallback list) but it silently degrades the tab list to the fallback instead of the - // live 19-bundle tree. Passing the base makes a nested shell see exactly what the top - // level sees. Elements that ignore tree-base simply drop an unknown attribute. - `<${tag} tree-base="/__plugin-gallery" profile-config='${pc}'>`, - ``, - "" - ].filter(Boolean).join("\n")); - } - if (path === "/" || path === "/index.html") { - let devCfg = {}; - try { - devCfg = readBuildConfig() || {}; - } catch { - devCfg = {}; - } - const devTok = token || devCfg.token || ""; - const devApiBase = devCfg.apiBaseUrl || ""; - res.statusCode = 200; - res.setHeader("Content-Type", "text/html; charset=utf-8"); - res.setHeader("Cache-Control", "no-cache"); - return res.end([ - "", - '', - '', - `${TREE_NAME} plugin studio`, - '', - // The token ladder's baked rung, exactly as the built leaves receive it, so maps paint - // in dev without anyone appending ?tk=. - devTok ? `` : "", - // Same reason as the leaf route above: without MAP_APP_API_URL the dashboards nested in - // the studio fetch a relative /api/... that Vite answers with HTML at 200, so they mount - // and then show nothing. The value comes from the SAME build config the built leaves use, - // so dev and built agree by construction rather than by a second hard-coded copy. - devApiBase ? `` : "", - // No chrome, no prose: the element fills the viewport. "Without a lot of text garb - // that takes up so much space" is a layout requirement, so the host page contributes - // ZERO text — every pixel belongs to the studio element. - "", - "", - // tree-base IS REQUIRED IN DEV — without it the studio mounts EMPTY. - // The studio builds its tab list at runtime by fetching `manifest.json`, and with - // no base it falls back to '../manifest.json' RELATIVE TO ITS SCRIPT URL. In dev the - // script is /plugin-designs/plugin-studio/index.js, so that resolves to - // /plugin-designs/manifest.json — which does not exist. The shell then renders with zero - // rows: 31 shadow descendants, no nested plugin tags. (Measured exactly that before this - // line existed; the symptom reads as "no elements in the studio", not as a failed fetch.) - // The dev server's manifest lives on its own route instead, serving the SAME - // manifest-shaped model the built tree bakes (19 bundles / 30 profiles), so pointing the - // studio at it gives dev the same tab list production has. - '', - '', - "" - ].filter(Boolean).join("\n")); - } - if (path !== "/__gallery" && path !== "/__gallery/") return next(); - let html; - try { - html = page(); - } catch (e) { - console.error(`[plugin-gallery] ${e && e.stack ? e.stack : e}`); - return next(); - } - res.statusCode = 200; - res.setHeader("Content-Type", "text/html; charset=utf-8"); - res.end(html); - }); - } - }; -} - -// internal/vite-plugin-strip-shadow-css-comments.mjs -import { resolve as resolve5, dirname as dirname4, sep } from "node:path"; -import { fileURLToPath as fileURLToPath4 } from "node:url"; -var __vite_injected_original_import_meta_url4 = "file:///home/lk10x/Workspace/eco-dx/root-doxa-maps/wt-hf/internal/vite-plugin-strip-shadow-css-comments.mjs"; -var ROOT3 = resolve5(dirname4(fileURLToPath4(__vite_injected_original_import_meta_url4)), ".."); -var SOURCE_ROOTS = ["library", "plugin-designs"].map((d) => resolve5(ROOT3, d) + sep); -var TAG = "[strip-shadow-css-comments]"; -var CALL = /\buseShadowStyles\(\s*(?:[A-Za-z_$][\w$]*\s*\+\s*)*`|\b(?:export\s+)?const\s+[A-Z][A-Z0-9_]*(?:_CSS|_STYLES)\s*=\s*`/g; -function findTemplateEnd(code, from) { - for (let i = from; i < code.length; i++) { - const c = code[i]; - if (c === "\\") { - i++; - continue; - } - if (c === "`") return { end: i }; - if (c === "$" && code[i + 1] === "{") return { reason: "contains a ${\u2026} substitution", at: i }; - } - return { reason: "template literal never closes", at: code.length }; -} -function stripCssComments(css) { - const n = css.length; - let out = ""; - let comments = 0; - let i = 0; - while (i < n) { - const c = css[i]; - if (c === '"' || c === "'") { - let j = i + 1; - while (j < n && css[j] !== c && css[j] !== "\n") { - if (css[j] === "\\") j++; - j++; - } - if (j >= n) return { reason: "a CSS string never closes" }; - if (css[j] === "\n") { - out += css.slice(i, j); - i = j; - continue; - } - out += css.slice(i, j + 1); - i = j + 1; - continue; - } - if (c === "/" && css[i + 1] === "*") { - const j = css.indexOf("*/", i + 2); - if (j < 0) return { reason: "a CSS comment never closes" }; - comments++; - i = j + 2; - continue; - } - if ((c === "u" || c === "U") && /^url\(/i.test(css.slice(i, i + 4)) && (i === 0 || !/[\w-]/.test(css[i - 1]))) { - let j = i + 4; - while (j < n && (css[j] === " " || css[j] === " ")) j++; - if (css[j] === '"' || css[j] === "'") { - out += css.slice(i, j); - i = j; - continue; - } - const k = css.indexOf(")", j); - if (k < 0) return { reason: "an unquoted url() never closes" }; - out += css.slice(i, k + 1); - i = k + 1; - continue; - } - out += c; - i++; - } - if (comments > 0) { - out = out.replace(/[ \t]+(?=\r?\n|$)/g, ""); - out = out.replace(/\r?\n(?:[ \t]*\r?\n)+/g, "\n"); - } - return { css: out, comments }; -} -function stripShadowStyleComments(code) { - const result = { code, changed: false, literals: 0, comments: 0, bytes: 0, skipped: [] }; - let out = ""; - let last = 0; - CALL.lastIndex = 0; - let m; - while (m = CALL.exec(code)) { - const open = m.index + m[0].length; - const lit = findTemplateEnd(code, open); - if (lit.reason) { - result.skipped.push({ line: lineOf(code, m.index), reason: lit.reason }); - CALL.lastIndex = lit.at; - continue; - } - result.literals++; - const original = code.slice(open, lit.end); - const stripped = stripCssComments(original); - if (stripped.reason) { - result.skipped.push({ line: lineOf(code, m.index), reason: stripped.reason }); - } else if (stripped.css !== original) { - out += code.slice(last, open) + stripped.css; - last = lit.end; - result.comments += stripped.comments; - result.bytes += original.length - stripped.css.length; - result.changed = true; - } - CALL.lastIndex = lit.end + 1; - } - if (result.changed) result.code = out + code.slice(last); - return result; -} -function lineOf(code, index) { - let line = 1; - for (let i = 0; i < index; i++) if (code[i] === "\n") line++; - return line; -} -function isSourceModule(id) { - const q = id.indexOf("?"); - if (q >= 0) return false; - if (!(id.endsWith(".vue") || id.endsWith(".js"))) return false; - return SOURCE_ROOTS.some((root) => id.startsWith(root)); -} -function stripShadowCssCommentsPlugin() { - let logger = console; - const totals = { files: 0, literals: 0, comments: 0, bytes: 0, skipped: 0 }; - return { - name: "doxa:strip-shadow-css-comments", - apply: "build", - enforce: "pre", - configResolved(config) { - logger = config.logger; - }, - transform(code, id) { - if (!isSourceModule(id)) return null; - const r = stripShadowStyleComments(code); - for (const s of r.skipped) { - totals.skipped++; - logger.warn(`${TAG} left untouched ${id.slice(ROOT3.length + 1)}:${s.line} \u2014 ${s.reason}`); - } - if (!r.changed) return null; - totals.files++; - totals.literals += r.literals; - totals.comments += r.comments; - totals.bytes += r.bytes; - return { code: r.code, map: null }; - }, - buildEnd() { - logger.info(`${TAG} removed ${totals.comments} CSS comments (${totals.bytes} bytes) from ${totals.literals} shadow-style literals in ${totals.files} files` + (totals.skipped ? `; ${totals.skipped} literal(s) left untouched` : "")); - } - }; -} - -// internal/backend-dev-plugin.mjs -import { spawn } from "node:child_process"; -import { existsSync as existsSync4, mkdirSync as mkdirSync2, writeFileSync as writeFileSync2, rmSync, chmodSync, renameSync, createWriteStream } from "node:fs"; -import { createHash } from "node:crypto"; -import { connect } from "node:net"; -import { inflateRawSync } from "node:zlib"; -import { resolve as resolve6 } from "node:path"; -var PB_VERSION = "0.40.4"; -var PB_SHA256 = { - linux_amd64: "9042ec818570e79c3628dadcd0a756c1496d9e1173918ec409d133c02f82e5fa", - linux_arm64: "86095bf8ed9345954f0d2bf0a5fb9b57584ae60b77ebf3b6cd23a8003a3fd418", - darwin_amd64: "052906521f09f6f23405cd804c930d2b7a1f8eee06d39b85723b5054b2acb4e4", - darwin_arm64: "eeb619ea4f8a06421daedb946d133bed269fea334a760941d147f76befc25ebc" -}; -function devBackends(env = process.env) { - const pbPort = Number(env.DX_PB_PORT || 8090); - return [ - { - name: "rudder-engine", - bin: "backend/bin/rudder-engine", - build: "cd backend/rudder-engine && go build -o ../bin/rudder-engine .", - // What a fresh clone is told at startup when this backend is not built: it is OPTIONAL (desktop voice). - optional: "optional: Rudder (desktop voice-to-text) is not built, which is fine for the maps. It needs Go 1.22+; see documentation/HOWTO-build-the-desktop-app.md.", - route: "/api/rudder", - port: Number(process.env.RUDDER_PORT || 5193), - env: { RUDDER_PORT: String(process.env.RUDDER_PORT || 5193), RUDDER_NEMO_PORT: String(process.env.RUDDER_NEMO_PORT || 5194) }, - // This server is SUPPOSED to run the engine (a server deployment with the engine switched on): while it - // is down, the plugin says "not running yet" instead of "runs on your own computer". - expected: () => process.env.RUDDER_ENGINE === "1" || process.env.RUDDER_AUDIO === "browser", - // RUDDER_ENGINE=0 (a server where Rudder is laptop-only, 2026-09-27): never start it, even if a - // binary built by an earlier engine-on deploy is still there — it would offer to record a server's mic. - disabled: () => process.env.RUDDER_ENGINE === "0" - }, - { - // Hooks off (a hooks dir that never exists): only the migrations in git shape the schema, as in the cloud. - // DX_PB_URL points this laptop at a shared PocketBase instead (e.g. the cloud pb-dev); none starts here. - name: "pocketbase", - bin: "backend/bin/pocketbase", - args: ["serve", "--http", `127.0.0.1:${pbPort}`, "--dir", ".pb/dev", "--migrationsDir", "backend/pocketbase/pb_migrations", "--hooksDir", ".pb/hooks-off"], - build: "it downloads on the next `bun run dev` (or set DX_PB_URL)", - fetch: fetchPocketBase, - portEnv: "DX_PB_PORT", - route: "/api/pb", - rewrite: (p) => p.replace(/^\/api\/pb/, "") || "/", - port: pbPort, - remote: env.DX_PB_URL || "", - offline: (res) => { - res.writeHead(503, { "Content-Type": "application/json" }); - res.end(JSON.stringify({ status: 503, message: "PocketBase is not running on this computer (yet). See the dev server log." })); - } - } - ]; -} -async function fetchPocketBase(root, logger) { - const plat = { "linux-x64": "linux_amd64", "linux-arm64": "linux_arm64", "darwin-x64": "darwin_amd64", "darwin-arm64": "darwin_arm64" }[`${process.platform}-${process.arch}`]; - if (!plat) { - logger.warn(`[pocketbase] no pinned build for ${process.platform}-${process.arch}: put PocketBase ${PB_VERSION} at backend/bin/pocketbase, or set DX_PB_URL`); - return false; - } - const name = `pocketbase_${PB_VERSION}_${plat}.zip`; - const dir = resolve6(root, "backend/bin"); - const part = resolve6(dir, `.pocketbase.part`); - logger.info(`[pocketbase] downloading ${name} (first run only)`); - try { - mkdirSync2(dir, { recursive: true }); - const r = await fetch(`https://github.com/pocketbase/pocketbase/releases/download/v${PB_VERSION}/${name}`); - if (!r.ok) throw new Error(`HTTP ${r.status}`); - const buf = Buffer.from(await r.arrayBuffer()); - const sha = createHash("sha256").update(buf).digest("hex"); - if (sha !== PB_SHA256[plat]) throw new Error(`checksum mismatch (${sha}): refusing to use it`); - writeFileSync2(part, unzipOne(buf, "pocketbase")); - chmodSync(part, 493); - renameSync(part, resolve6(dir, "pocketbase")); - return true; - } catch (e) { - logger.warn(`[pocketbase] download failed (${e.message}); /api/pb answers 503 until the next \`bun run dev\``); - return false; - } finally { - rmSync(part, { force: true }); - } -} -function unzipOne(buf, want) { - const end = buf.lastIndexOf(Buffer.from([80, 75, 5, 6])); - if (end < 0) throw new Error("not a zip"); - for (let i = 0, p = buf.readUInt32LE(end + 16); i < buf.readUInt16LE(end + 10); i++) { - const method = buf.readUInt16LE(p + 10), size = buf.readUInt32LE(p + 20); - const nameLen = buf.readUInt16LE(p + 28), local = buf.readUInt32LE(p + 42); - if (buf.toString("utf8", p + 46, p + 46 + nameLen) === want) { - const start2 = local + 30 + buf.readUInt16LE(local + 26) + buf.readUInt16LE(local + 28); - const data = buf.subarray(start2, start2 + size); - if (method === 8) return inflateRawSync(data); - if (method === 0) return data; - throw new Error(`unsupported zip method ${method}`); - } - p += 46 + nameLen + buf.readUInt16LE(p + 30) + buf.readUInt16LE(p + 32); - } - throw new Error(`${want} not in the zip`); -} -var portInUse = (port) => new Promise((ok) => { - const s = connect({ host: "127.0.0.1", port }, () => { - s.destroy(); - ok(true); - }); - s.on("error", () => ok(false)); -}); -function devBackendProxy(env = process.env) { - return Object.fromEntries(devBackends(env).map((b) => [b.route, { - target: b.remote || `http://127.0.0.1:${b.port}`, - changeOrigin: !!b.remote, - ws: true, - ...b.rewrite ? { rewrite: b.rewrite } : {} - }])); -} -var REG = globalThis.__dxDevBackends ||= { procs: /* @__PURE__ */ new Map(), exitHooked: false, stopping: false }; -var isAlive = (name) => { - const e = REG.procs.get(name); - return !!e && e.child.exitCode === null && e.child.signalCode === null; -}; -function stopAll() { - REG.stopping = true; - for (const { child } of REG.procs.values()) { - try { - child.kill("SIGTERM"); - } catch { - } - } -} -function start(root, b, logger, restarts = 0) { - const tag = `[${b.name}]`; - const child = spawn(resolve6(root, b.bin), b.args || [], { cwd: root, env: { ...process.env, ...b.env }, stdio: ["ignore", "pipe", "pipe"] }); - const entry = { child, restarts, logger }; - REG.procs.set(b.name, entry); - const logDir = resolve6(root, ".pb", "logs"); - mkdirSync2(logDir, { recursive: true }); - const sink = createWriteStream(resolve6(logDir, `${b.name}.log`), { flags: "a" }); - const LOUD = /\b(error|fail(ed|ure)?|panic|fatal|warn(ing)?|refused|denied|in use|cannot|unable|superuser|pbinstall?)\b/i; - const out = (d) => { - sink.write(d); - String(d).trim().split("\n").forEach((l) => l && LOUD.test(l) && entry.logger.info(`${tag} ${l}`)); - }; - child.stdout.on("data", out); - child.stderr.on("data", out); - child.on("exit", () => sink.end()); - child.on("exit", (code) => { - if (REG.procs.get(b.name) !== entry) return; - REG.procs.delete(b.name); - if (REG.stopping) return; - entry.logger.warn(`${tag} exited (${code})`); - if (entry.restarts < 5) { - setTimeout(() => { - if (REG.stopping || REG.procs.has(b.name)) return; - entry.logger.warn(`${tag} restarting (${entry.restarts + 1}/5)`); - start(root, b, entry.logger, entry.restarts + 1); - }, 2e3); - } - }); - logger.info(`${tag} started \u2192 ${b.route} on 127.0.0.1:${b.port} (full log: .pb/logs/${b.name}.log)`); -} -function backendDevPlugin(root, env = process.env) { - const backends = devBackends(env); - return { - name: "dx-backend-dev", - apply: "serve", - configureServer(server) { - for (const b of backends) { - server.middlewares.use(b.route, (req, res, next) => { - if (b.remote || isAlive(b.name)) return next(); - if (b.offline) return b.offline(res); - const status = { engine: "offline", expected: !!(b.expected && b.expected()), error: "The desktop engine is not running." }; - if ((req.url || "").startsWith("/events")) { - res.writeHead(200, { "Content-Type": "text/event-stream", "Cache-Control": "no-cache", Connection: "keep-alive" }); - res.write(`data: ${JSON.stringify({ type: "status", status })} - -`); - return; - } - if ((req.url || "").startsWith("/status")) { - res.writeHead(200, { "Content-Type": "application/json" }); - res.end(JSON.stringify(status)); - return; - } - res.writeHead(200, { "Content-Type": "application/json" }); - res.end("[]"); - }); - } - const logger = server.config.logger; - if (!REG.exitHooked) { - REG.exitHooked = true; - process.once("exit", stopAll); - process.once("SIGINT", () => { - stopAll(); - process.exit(0); - }); - process.once("SIGTERM", () => { - stopAll(); - process.exit(0); - }); - } - for (const b of backends) { - if (b.remote) { - logger.info(`[${b.name}] not started here: ${b.route} \u2192 ${b.remote}`); - continue; - } - if (isAlive(b.name)) { - REG.procs.get(b.name).logger = logger; - logger.info(`[${b.name}] still running \u2192 ${b.route} (kept across the dev-server restart)`); - continue; - } - if (b.disabled && b.disabled()) { - logger.info(`[backend] ${b.name} switched off here (${b.name === "rudder-engine" ? "RUDDER_ENGINE=0" : "disabled"})`); - continue; - } - const launch = async () => { - if (b.portEnv && await portInUse(b.port)) { - logger.warn(`[${b.name}] port ${b.port} is already in use (another \`bun run dev\`?): not started. Set ${b.portEnv} to use another port.`); - return; - } - if (!REG.stopping && !isAlive(b.name)) start(root, b, logger); - }; - if (!existsSync4(resolve6(root, b.bin))) { - if (b.fetch) { - REG.fetching ||= /* @__PURE__ */ new Set(); - if (REG.fetching.has(b.name)) continue; - REG.fetching.add(b.name); - b.fetch(root, logger).then((ok) => { - REG.fetching.delete(b.name); - if (ok) launch(); - }); - continue; - } - if (b.optional) logger.info(`[backend] ${b.optional}`); - else logger.warn(`[backend] ${b.name} not built \u2014 its plugin will show "engine offline". Build: ${b.build}`); - continue; - } - launch(); - } - } - }; -} - -// internal/dev-sync-plugin.mjs -import { execFile } from "node:child_process"; -var git = (root, args) => new Promise((ok) => execFile( - "git", - args, - { cwd: root, timeout: 6e4, env: { ...process.env, GIT_TERMINAL_PROMPT: "0" } }, - (e, out, err) => { - const all = String(err || e?.message || "").trim(); - ok({ ok: !e, out: String(out || "").trim(), err: all.split("\n")[0], errAll: all }); - } -)); -var AUTH_RE = /unauthori[sz]ed|authentication failed|could not read (username|password)|terminal prompts disabled|permission denied \(publickey|\b40[13]\b/i; -var shown = (remote) => remote.replace(/\/\/[^/@]*@/, "//"); -var label = (remote, branch) => remote.includes("/") ? `${branch} of ${shown(remote)}` : `${remote}/${branch}`; -var REG2 = globalThis.__dxDevSync ||= { timer: null, running: false, status: { enabled: false } }; -async function syncOnce(root, remote, branch, log = { info() { -}, warn() { -} }) { - if (REG2.running) return REG2.status; - REG2.running = true; - try { - const src2 = label(remote, branch); - const s = { enabled: true, remote: shown(remote), branch, checkedAt: (/* @__PURE__ */ new Date()).toISOString() }; - const f = await git(root, ["fetch", "-q", remote, branch]); - if (!f.ok) { - const auth = AUTH_RE.test(f.errAll); - const state = auth ? "needs-credentials" : "fetch-failed"; - const message = auth ? `dev-sync needs git credentials for ${shown(remote)} (a credential helper, or an SSH remote your key can read); git said: ${shown(f.err)}` : `could not fetch ${src2}: ${shown(f.err)}`; - if (REG2.status.state !== state || REG2.status.message !== message) log.warn(`[dev-sync] ${message}`); - return REG2.status = { ...s, state, message }; - } - const up = (await git(root, ["rev-parse", "FETCH_HEAD"])).out; - const head = (await git(root, ["rev-parse", "HEAD"])).out; - const cur = (await git(root, ["symbolic-ref", "-q", "--short", "HEAD"])).out; - const behind = Number((await git(root, ["rev-list", "--count", `HEAD..${up}`])).out || 0); - const ahead = Number((await git(root, ["rev-list", "--count", `${up}..HEAD`])).out || 0); - const dirty = (await git(root, ["status", "--porcelain", "--untracked-files=no"])).out !== ""; - Object.assign(s, { upstream: up, behind, ahead, dirty, currentBranch: cur || "(detached)" }); - if (behind === 0) return REG2.status = { ...s, state: "up-to-date", message: `up to date with ${src2}` }; - const why = cur !== branch ? `this checkout is on ${cur || "a detached HEAD"}, not ${branch}` : dirty ? "you have local edits" : ahead ? `you have ${ahead} local commit(s) that are not on ${src2}` : ""; - const m = why ? null : await git(root, ["merge", "--ff-only", "-q", up]); - if (why || !m.ok) { - const message = `${branch} is ${behind} commit(s) ahead; ${why || `fast-forward refused (${m.err})`}, so nothing was merged. Pull when ready.`; - if (REG2.status.upstream !== up || REG2.status.state !== "behind") log.warn(`[dev-sync] ${message}`); - return REG2.status = { ...s, state: "behind", message }; - } - log.info(`[dev-sync] fast-forwarded ${head.slice(0, 8)} \u2192 ${up.slice(0, 8)} (${behind} commit(s) from ${src2})`); - return REG2.status = { ...s, behind: 0, state: "up-to-date", lastMerge: s.checkedAt, message: `fast-forwarded ${behind} commit(s) from ${src2}` }; - } finally { - REG2.running = false; - } -} -function devSyncPlugin(root, env = process.env) { - const remote = env.DX_SYNC_REMOTE || ""; - const branch = env.DX_SYNC_BRANCH || "development"; - const every = Math.max(2, Number(env.DX_SYNC_INTERVAL) || 5); - return { - name: "dx-dev-sync", - apply: "serve", - configureServer(server) { - server.middlewares.use("/api/dev-sync", (req, res) => { - res.writeHead(200, { "Content-Type": "application/json", "Cache-Control": "no-store" }); - res.end(JSON.stringify(REG2.status)); - }); - clearInterval(REG2.timer); - if (!remote) { - REG2.status = { enabled: false, message: "off: set DX_SYNC_REMOTE (a remote name like origin, or a repo URL) in .env.local to follow a shared branch" }; - return; - } - const log = server.config.logger; - log.info(`[dev-sync] following ${label(remote, branch)} every ${every}s (fast-forward only, never over local edits)`); - const tick = () => syncOnce(root, remote, branch, log); - REG2.timer = setInterval(tick, every * 1e3); - REG2.timer.unref?.(); - tick(); - } - }; -} - -// vite.config.js -import { fileURLToPath as fileURLToPath5 } from "node:url"; -import { resolve as resolve8, dirname as dirname6, join as join4 } from "node:path"; -import { readdirSync as readdirSync5, statSync as statSync4, existsSync as existsSync6, readFileSync as readFileSync7 } from "node:fs"; -import { createHash as createHash2 } from "node:crypto"; -var __vite_injected_original_import_meta_url5 = "file:///home/lk10x/Workspace/eco-dx/root-doxa-maps/wt-hf/vite.config.js"; -var __dirname = dirname6(fileURLToPath5(__vite_injected_original_import_meta_url5)); -var SHIP_ONE_LOCALE = process.env.DX_SHIP_ONE_LOCALE === "1"; -var profilesDir = resolve8(__dirname, "plugin-designs"); -var MFE_NAME = TREE_NAME; -var OUT_ROOT = process.env.DOXA_OUT_ROOT ? resolve8(process.env.DOXA_OUT_ROOT) : GATED_PROFILES.includes(process.env.BUNDLE) ? resolve8(__dirname, ".gated", MFE_NAME) : resolve8(__dirname, "public", MFE_NAME); -function discoverBundles() { - if (!existsSync6(profilesDir)) return {}; - const entries = {}; - for (const name of readdirSync5(profilesDir)) { - if (name.startsWith("_") || name.startsWith(".")) continue; - const dir = resolve8(profilesDir, name); - if (!statSync4(dir).isDirectory()) continue; - const html = resolve8(dir, "index.html"); - const js = resolve8(dir, "index.js"); - if (!existsSync6(html) || !existsSync6(js)) continue; - entries[name] = { html, js }; - } - return entries; -} -var localeDirs = () => readdirSync5(join4(__dirname, "library/i18n/locales"), { withFileTypes: true }).filter((e) => e.isDirectory()).map((e) => e.name).sort(); -function localeTree(areas, lc) { - const root = join4(__dirname, "library/i18n/locales"); - const tree = {}; - for (const a of areas) { - const p = join4(root, lc, `${a}.json`); - if (!existsSync6(p)) continue; - try { - tree[a] = JSON.parse(readFileSync7(p, "utf8")); - } catch { - } - } - return Object.keys(tree).length ? JSON.stringify(tree) : null; -} -function i18nAreasPlugin(bundle) { - let areas = null; - return { - name: "doxa-i18n-areas", - enforce: "pre", - async buildStart() { - const { areasForBundle: areasForBundle2 } = await Promise.resolve().then(() => (init_i18n_areas(), i18n_areas_exports)); - areas = areasForBundle2(__dirname, bundle).areas; - this.info?.(`i18n areas for ${bundle}: ${areas.join(", ") || "(none)"}`); - }, - transform(code, id) { - if (!areas || !id.replace(/\\/g, "/").endsWith("/library/i18n/index.js")) return null; - const GLOB = "import.meta.glob('./locales/*/*.json'"; - if (!code.includes(GLOB)) this.error("i18n catalogue glob not found in library/i18n/index.js; cannot narrow it"); - const loc = SHIP_ONE_LOCALE ? "en" : "*"; - const list = areas.length ? "[" + areas.map((a) => `'./locales/${loc}/${a}.json'`).join(", ") + "]" : "['./locales/*/__none__.json']"; - let out = code.replace(GLOB, "import.meta.glob(" + list); - if (SHIP_ONE_LOCALE) { - const sri = {}; - for (const lc of localeDirs()) { - if (lc === "en") continue; - const json = localeTree(areas, lc); - if (json) sri[lc] = "sha384-" + createHash2("sha384").update(json).digest("base64"); - } - out = `const __DX_LOCALE_SRI__ = ${JSON.stringify(sri)}; -` + out; - } - return { code: out, map: null }; - }, - // Emit /locales/.json for every locale the IIFE no longer carries, holding exactly - // the areas this bundle uses — the same areasForBundle() answer the glob above was narrowed - // with, so the two dimensions cannot drift apart. Emitted from THIS plugin on purpose: the - // composite-freshness, landing-consumers, fix:sri and .gated/ steps already walk the build's - // own output, so assets that appear here are covered with no new pipeline step. - generateBundle() { - if (!SHIP_ONE_LOCALE || !areas?.length) return; - for (const lc of localeDirs()) { - if (lc === "en") continue; - const json = localeTree(areas, lc); - if (json) this.emitFile({ type: "asset", fileName: `locales/${lc}.json`, source: json }); - } - } - }; -} -var vite_config_default = defineConfig(({ command, mode }) => { - const env = loadEnv(mode, __dirname, ""); - const all = discoverBundles(); - const allNames = Object.keys(all); - const target = process.env.BUNDLE; - const isBuild = command === "build"; - if (isBuild && !target) { - throw new Error( - `[${MFE_NAME}] Set BUNDLE= for build, or use \`npm run build\` (loops all). -Available: ${allNames.join(", ") || "(none)"}` - ); - } - if (isBuild && !all[target]) { - throw new Error( - `[${MFE_NAME}] Bundle "${target}" is not buildable: plugin-designs/${target}/ is missing index.html and/or index.js (the custom-element entry pair every bundle needs). -Buildable bundles: ${allNames.join(", ") || "(none)"}` - ); - } - const buildEntries = isBuild ? { [target]: all[target].js } : Object.fromEntries(allNames.map((n) => [n, all[n].html])); - return { - // COMPILE-TIME QA GATE (release governance): the QA corner widget references - // the maintainer's internal platform and must NOT exist in public - // artifacts. Default FALSE strips it from every bundle (dead-branch + - // treeshake); an explicitly-flagged platform build sets DOXA_QA=1. - // The dev server listens on THIS MACHINE ONLY. A reachable one serves the source tree, node_modules - // and the token baked into /; a remote viewer reaches it through an ssh tunnel (ssh -L), never a public - // port. `--host` on the command line still overrides this for a deliberate LAN session. - // Local plugin backends (backend/, e.g. rudder-engine) are started by backendDevPlugin and reached - // through these same-origin routes, so a plugin calls /api//… in dev exactly as on desktop. - // NOT WATCHING public/ (the first laptop run with DX_SYNC_REMOTE, 2026-09-28): a landing rewrites - // dozens of built leaf index.html files there, and Vite answers each changed .html with a FULL page reload - // (measured: one edited leaf page -> one full-reload broadcast), so a pull fired a burst of reloads while - // git was still writing and the page went white. The dev server never serves public/ through its module - // graph (the script-embed route reads it on request), so nothing there needs watching. - server: { host: "127.0.0.1", proxy: devBackendProxy(env), watch: { ignored: ["**/public/**"] } }, - define: { - // ★ NO 'unsafe-eval' (CRITIC-4, 2026-09-26). vue-i18n's default message compiler builds each message - // with `new Function`, so a partner with a strict Content-Security-Policy saw every translated string - // fail. The JIT compiler (vue-i18n >= 9.3) compiles messages to an AST and evaluates it without eval; - // defining the flag lets the bundler drop the eval path entirely (check:no-eval asserts it). - __INTLIFY_JIT_COMPILATION__: "true", - __INTLIFY_DROP_MESSAGE_COMPILER__: "false", - __DOXA_QA__: JSON.stringify(process.env.DOXA_QA === "1"), - // The output tree's name (vite.doxa-maps-build-config.json `name`, the same value OUT_ROOT uses), - // for the few runtime paths that must name the tree — so renaming the tree needs no source edit. - __DOXA_TREE_NAME__: JSON.stringify(MFE_NAME) - }, - // Build only: shadow-DOM CSS is injected from useShadowStyles(`…`) literals that - // ship verbatim, so their block comments are stripped before the Vue compiler - // runs (enforce: 'pre'). Dev keeps the comments. - plugins: [ - // ★ ONLY THE TRANSLATION AREAS THIS BUNDLE USES (CRITIC-10). library/i18n/index.js globs every - // locales/*/*.json; in a BUNDLE build the glob is narrowed to the areas internal/i18n-areas.mjs finds - // in this bundle's source graph. Dev (no BUNDLE) keeps every area. check:i18n-treeshake verifies it. - isBuild && target ? i18nAreasPlugin(target) : null, - stripShadowCssCommentsPlugin(), - // ─── STRUCTURAL shadow-DOM CSS fix (customElement mode) ────────────────── - // WHY: every bundle here is a `defineCustomElement(...)` that renders inside a - // SHADOW ROOT. In @vitejs/plugin-vue's DEFAULT mode, each SFC