diff --git a/library/i18n/locales/ar/connectivity.json b/library/i18n/locales/ar/connectivity.json index 66f2ceb89..e35eab64c 100644 --- a/library/i18n/locales/ar/connectivity.json +++ b/library/i18n/locales/ar/connectivity.json @@ -65,5 +65,9 @@ "source": "المسح NFHS-5 (2019–2021)، الأشخاص من 15 إلى 49 عامًا: نسبة من سبق لهم استخدام الإنترنت. مسح للأشخاص، لا عدد للاشتراكات.", "missing": "لا توجد بعد حدود ولاية لـ {names}: أرقامها موجودة في البيانات، لا على الخريطة." }, - "loading": "جارٍ رسم الخريطة…" + "loading": "جارٍ رسم الخريطة…", + "ui": { + "showKey": "وسيلة الإيضاح والملاحظات", + "hideKey": "إخفاء وسيلة الإيضاح والملاحظات" + } } diff --git a/library/i18n/locales/ar/gospel.json b/library/i18n/locales/ar/gospel.json index 292b684ed..e1c7b4d3d 100644 --- a/library/i18n/locales/ar/gospel.json +++ b/library/i18n/locales/ar/gospel.json @@ -413,8 +413,8 @@ "ui": { "noCode": "بلا رمز", "unnamed": "لغة بلا اسم", - "hideKey": "إخفاء المفتاح والمرشِّحات", - "showKey": "المفتاح والمرشِّحات", + "hideKey": "إخفاء وسيلة الإيضاح والمرشِّحات", + "showKey": "وسيلة الإيضاح والمرشِّحات", "largest": "أكبر المجموعات التي لم يُعثر لها على شيء", "nobodyPraying": "لا شيء موجود، ولا أحد يصلّي", "concentrates": "أين تتركّز الفجوة", diff --git a/library/i18n/locales/de/connectivity.json b/library/i18n/locales/de/connectivity.json index 782e6297e..cec510535 100644 --- a/library/i18n/locales/de/connectivity.json +++ b/library/i18n/locales/de/connectivity.json @@ -65,5 +65,9 @@ "source": "NFHS-5 (2019–21), Personen im Alter von 15–49 Jahren: Anteil derer, die das Internet schon einmal genutzt haben. Eine Befragung von Menschen, keine Zählung von Anschlüssen.", "missing": "Noch keine Staatsgrenze für {names}: Ihre Werte stehen in den Daten, nicht auf der Karte." }, - "loading": "Karte wird gezeichnet…" + "loading": "Karte wird gezeichnet…", + "ui": { + "showKey": "Legende & Hinweise", + "hideKey": "Legende & Hinweise ausblenden" + } } diff --git a/library/i18n/locales/en/connectivity.json b/library/i18n/locales/en/connectivity.json index 4839f85f5..85d460153 100644 --- a/library/i18n/locales/en/connectivity.json +++ b/library/i18n/locales/en/connectivity.json @@ -65,5 +65,9 @@ "source": "NFHS-5 (2019–21), people aged 15–49: the share who have ever used the internet. A survey of people, not a count of subscriptions.", "missing": "No state boundary yet for {names}: their figures are in the data, not on the map." }, - "loading": "Drawing the map…" + "loading": "Drawing the map…", + "ui": { + "showKey": "Key & notes", + "hideKey": "Hide key & notes" + } } diff --git a/library/i18n/locales/es/connectivity.json b/library/i18n/locales/es/connectivity.json index f455b7168..78b18de3c 100644 --- a/library/i18n/locales/es/connectivity.json +++ b/library/i18n/locales/es/connectivity.json @@ -65,5 +65,9 @@ "source": "NFHS-5 (2019–21), personas de 15 a 49 años: proporción que ha usado internet alguna vez. Una encuesta a personas, no un recuento de suscripciones.", "missing": "Aún no hay límite estatal para {names}: sus cifras están en los datos, no en el mapa." }, - "loading": "Dibujando el mapa…" + "loading": "Dibujando el mapa…", + "ui": { + "showKey": "Leyenda y notas", + "hideKey": "Ocultar leyenda y notas" + } } diff --git a/library/i18n/locales/es/gospel.json b/library/i18n/locales/es/gospel.json index da3689efb..420801d9e 100644 --- a/library/i18n/locales/es/gospel.json +++ b/library/i18n/locales/es/gospel.json @@ -413,8 +413,8 @@ "ui": { "noCode": "sin código", "unnamed": "lengua sin nombre", - "hideKey": "Ocultar clave y filtros", - "showKey": "Clave y filtros", + "hideKey": "Ocultar leyenda y filtros", + "showKey": "Leyenda y filtros", "largest": "Pueblos mayores sin nada encontrado", "nobodyPraying": "Nada encontrado, y nadie orando", "concentrates": "Dónde se concentra la brecha", diff --git a/library/i18n/locales/fr/connectivity.json b/library/i18n/locales/fr/connectivity.json index 189281d3e..2ac47a4d7 100644 --- a/library/i18n/locales/fr/connectivity.json +++ b/library/i18n/locales/fr/connectivity.json @@ -65,5 +65,9 @@ "source": "NFHS-5 (2019–21), personnes de 15 à 49 ans : part de celles qui ont déjà utilisé Internet. Une enquête auprès des personnes, pas un décompte d’abonnements.", "missing": "Pas encore de limite d’État pour {names} : leurs chiffres figurent dans les données, pas sur la carte." }, - "loading": "Tracé de la carte…" + "loading": "Tracé de la carte…", + "ui": { + "showKey": "Légende et notes", + "hideKey": "Masquer la légende et les notes" + } } diff --git a/library/i18n/locales/hi/connectivity.json b/library/i18n/locales/hi/connectivity.json index bb0605a33..4e57fbc38 100644 --- a/library/i18n/locales/hi/connectivity.json +++ b/library/i18n/locales/hi/connectivity.json @@ -65,5 +65,9 @@ "source": "NFHS-5 (2019–21), 15–49 वर्ष के लोग: जिन्होंने कभी इंटरनेट का उपयोग किया है उनका प्रतिशत। यह लोगों का सर्वेक्षण है, सब्सक्रिप्शन की गिनती नहीं।", "missing": "{names} की राज्य सीमा अभी उपलब्ध नहीं है: उनके आँकड़े डेटा में हैं, नक्शे पर नहीं।" }, - "loading": "मानचित्र बनाया जा रहा है…" + "loading": "मानचित्र बनाया जा रहा है…", + "ui": { + "showKey": "कुंजी और टिप्पणियाँ", + "hideKey": "कुंजी और टिप्पणियाँ छिपाएँ" + } } diff --git a/library/i18n/locales/it/connectivity.json b/library/i18n/locales/it/connectivity.json index 706246914..888f2efb5 100644 --- a/library/i18n/locales/it/connectivity.json +++ b/library/i18n/locales/it/connectivity.json @@ -65,5 +65,9 @@ "source": "NFHS-5 (2019–21), persone di 15–49 anni: quota di chi ha mai usato internet. Un’indagine sulle persone, non un conteggio di abbonamenti.", "missing": "Ancora nessun confine statale per {names}: i loro dati sono nel dataset, non sulla mappa." }, - "loading": "Disegno della mappa…" + "loading": "Disegno della mappa…", + "ui": { + "showKey": "Legenda e note", + "hideKey": "Nascondi legenda e note" + } } diff --git a/library/i18n/locales/pt/connectivity.json b/library/i18n/locales/pt/connectivity.json index 8a150d3fd..fb7b5d807 100644 --- a/library/i18n/locales/pt/connectivity.json +++ b/library/i18n/locales/pt/connectivity.json @@ -65,5 +65,9 @@ "source": "NFHS-5 (2019–21), pessoas de 15 a 49 anos: proporção que já usou a internet. Uma pesquisa com pessoas, não uma contagem de assinaturas.", "missing": "Ainda não há limite estadual para {names}: os números estão nos dados, não no mapa." }, - "loading": "Desenhando o mapa…" + "loading": "Desenhando o mapa…", + "ui": { + "showKey": "Legenda e notas", + "hideKey": "Ocultar legenda e notas" + } } diff --git a/library/i18n/locales/ro/connectivity.json b/library/i18n/locales/ro/connectivity.json index f71ae3139..215d1c8cf 100644 --- a/library/i18n/locales/ro/connectivity.json +++ b/library/i18n/locales/ro/connectivity.json @@ -65,5 +65,9 @@ "source": "NFHS-5 (2019–21), persoane de 15–49 de ani: ponderea celor care au folosit vreodată internetul. Un sondaj despre oameni, nu o numărătoare de abonamente.", "missing": "Încă nu există limită de stat pentru {names}: cifrele lor sunt în date, nu pe hartă." }, - "loading": "Se desenează harta…" + "loading": "Se desenează harta…", + "ui": { + "showKey": "Legendă și note", + "hideKey": "Ascunde legenda și notele" + } } diff --git a/library/i18n/locales/ru/connectivity.json b/library/i18n/locales/ru/connectivity.json index b7f652740..bc0efa702 100644 --- a/library/i18n/locales/ru/connectivity.json +++ b/library/i18n/locales/ru/connectivity.json @@ -65,5 +65,9 @@ "source": "NFHS-5 (2019–21), люди 15–49 лет: доля тех, кто когда-либо пользовался интернетом. Опрос людей, а не подсчёт подписок.", "missing": "Для {names} ещё нет границы штата: их данные есть в таблице, но не на карте." }, - "loading": "Отрисовка карты…" + "loading": "Отрисовка карты…", + "ui": { + "showKey": "Легенда и примечания", + "hideKey": "Скрыть легенду и примечания" + } } diff --git a/library/i18n/locales/zh/connectivity.json b/library/i18n/locales/zh/connectivity.json index 2aa6d0833..6d07b08e0 100644 --- a/library/i18n/locales/zh/connectivity.json +++ b/library/i18n/locales/zh/connectivity.json @@ -65,5 +65,9 @@ "source": "NFHS-5(2019–21),15–49 岁人群:曾经使用过互联网的比例。这是对人的调查,而不是订阅数统计。", "missing": "{names} 尚无邦界:其数据在数据集中,但未显示在地图上。" }, - "loading": "正在绘制地图…" + "loading": "正在绘制地图…", + "ui": { + "showKey": "图例和说明", + "hideKey": "隐藏图例和说明" + } } diff --git a/plugin-designs/cities-internet/connectivity-map.vue b/plugin-designs/cities-internet/connectivity-map.vue index 3029b0255..a42a2eab7 100644 --- a/plugin-designs/cities-internet/connectivity-map.vue +++ b/plugin-designs/cities-internet/connectivity-map.vue @@ -228,6 +228,36 @@ function paintGroups(map) { // a placeholder for a NULL value where this fill() rendered the string "null". const t = useOptionalT('connectivity') +// ── The legend folds on a phone (Gospel Resources' pattern) ────────────────────────────────── +// Fully open, this legend took 297px of a 712px phone map, 86% of its width, with the India block +// and both caveats always showing. On a phone the title stays and the rest folds behind one button: +// folded, not deleted, because the caveats are what stop a national figure being read as a city's. +// Desktop is unchanged: always open, no control. The choice is remembered for the SESSION +// (sessionStorage, wrapped because a sandboxed embed throws on access), and a remembered choice +// wins over the width default, so crossing the breakpoint never reopens what the reader closed. +const narrow = ref(false) +const legendOpen = ref(true) +const LEGEND_KEY = 'ci.legendOpen' +function rememberLegend(v) { + try { window.sessionStorage?.setItem(LEGEND_KEY, v ? '1' : '0') } catch (_) {} +} +function recallLegend() { + try { const v = window.sessionStorage?.getItem(LEGEND_KEY); return v == null ? null : v === '1' } + catch (_) { return null } +} +function toggleLegend() { legendOpen.value = !legendOpen.value; rememberLegend(legendOpen.value) } +function syncNarrow() { + const n = typeof window !== 'undefined' && window.innerWidth < 700 + if (n === narrow.value) return + narrow.value = n + const remembered = recallLegend() + legendOpen.value = remembered == null ? !n : remembered +} +if (typeof window !== 'undefined') { + syncNarrow() + window.addEventListener('resize', syncNarrow) +} + // Bands, not a continuous ramp: a reader can hold four categories, not a gradient. const BANDS = [ { id: 'yes', color: '#10b981' }, @@ -455,6 +485,7 @@ onMounted(async () => { } catch (e) { err.value = String(e.message || e); loading.value = false } }) onBeforeUnmount(() => { + if (typeof window !== 'undefined') window.removeEventListener('resize', syncNarrow) // ★ RELEASE THE TEST HOOKS. Each pins whatever it closes over — a map instance pins its // canvas, its sources, and through them the whole app — so every mount that leaves one behind // leaks another copy, measured at roughly 10 MB each. @@ -516,6 +547,10 @@ useShadowStyles( '@media(max-width:480px){.gm-legend{width:auto;inset-inline-end:46px}}' + '.is-dark .gm-legend{background:rgba(19,32,25,.95);color:#e5e7eb}' + '.gm-title{font-weight:700;font-size:12.5px;margin-bottom:5px}' + + // The phone fold button: Gospel Resources' .gm-fold, with its 44px touch target on a phone. + '.gm-fold{width:100%;margin:0 0 6px;border:1px solid #d1d4cd;background:#f3f3f1;color:#3b463d;font:600 11px inherit;padding:6px 10px;border-radius:8px;cursor:pointer;min-height:32px}' + + '.gm-fold:hover{background:#e9ebe6}' + + '@media(max-width:699px){.gm-fold{min-height:44px;font-size:12px}}' + '.gm-keys{display:flex;flex-wrap:wrap;gap:5px 12px}' + '.gm-key{display:flex;align-items:center;gap:5px;font-size:11px;white-space:nowrap}' + '.gm-sw{width:12px;height:12px;border-radius:3px;flex:none}' + @@ -581,6 +616,11 @@ useShadowStyles(
{{ t('connectivity.title') }}
+ +
{{ t('connectivity.bands.' + b.id) }} @@ -607,6 +647,7 @@ useShadowStyles(
{{ t('connectivity.adm1.source') }}
{{ t('connectivity.adm1.missing', { names: adm1Missing }) }}
+
- + - + - + \n\n\n" + "script": "\n\n\n" } }, { @@ -145,8 +145,8 @@ "scriptUrl": "./cities-internet/cities-internet.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" } }, { @@ -162,7 +162,7 @@ "scriptUrl": "./cities-internet/cities-internet.js", "embed": { "iframe": "", - "script": "\n\n\n" + "script": "\n\n\n" } } ] @@ -782,7 +782,7 @@ "bundle": "gospel-resources", "scriptUrl": "./gospel-resources/gospel-resources.js", "output": "dx-maps/gospel-resources/gospel-resources.js", - "integrity": "sha384-VLKollilTWRGiqhbjYSdf1L46MFiwJAUgT1euaXKuAtJpSdFNEfn877+yVEJZRWM", + "integrity": "sha384-/aStRFfsb6XTNu1+PCmGwNOIDd/qmKe+yolomWBBOtQVbAeG+dg6fOsbbzo3RtiY", "elements": [ "gospel-resources-map" ], @@ -805,7 +805,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n\n\n" + "script": "\n\n\n" } }, { @@ -821,7 +821,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n\n\n" + "script": "\n\n\n" } }, { @@ -837,8 +837,8 @@ "scriptUrl": "./gospel-resources/gospel-resources.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" } }, { @@ -854,7 +854,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n\n\n" + "script": "\n\n\n" } }, { @@ -870,8 +870,8 @@ "scriptUrl": "./gospel-resources/gospel-resources.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" } } ] @@ -1222,7 +1222,7 @@ "bundle": "research-map-plus-grid", "scriptUrl": "./research-map-plus-grid/research-map-plus-grid.js", "output": "dx-maps/research-map-plus-grid/research-map-plus-grid.js", - "integrity": "sha384-FkiDRgWvZ4PeroSbO1scP6V4h3fJUbQ7VubC3ngsIrBpwob14kYwX2QIs0Enh1gR", + "integrity": "sha384-GYSHeJzVti4wp5r1FErq6v17s/VbOfyOFVoAMRB5pQphuSOnxNmiPdd0jyqrJy4F", "elements": [ "research-map-plus-grid" ], @@ -1245,8 +1245,8 @@ "scriptUrl": "./research-map-plus-grid/research-map-plus-grid.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": [ { diff --git a/public/dx-maps/gospel-resources/charts/index.html b/public/dx-maps/gospel-resources/charts/index.html index 562a9ef96..b34f996f3 100644 --- a/public/dx-maps/gospel-resources/charts/index.html +++ b/public/dx-maps/gospel-resources/charts/index.html @@ -61,7 +61,7 @@ - + - + - + - + - + \n\n\n" + "script": "\n\n\n" } }, { @@ -145,8 +145,8 @@ "scriptUrl": "./cities-internet/cities-internet.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" } }, { @@ -162,7 +162,7 @@ "scriptUrl": "./cities-internet/cities-internet.js", "embed": { "iframe": "", - "script": "\n\n\n" + "script": "\n\n\n" } } ] @@ -782,7 +782,7 @@ "bundle": "gospel-resources", "scriptUrl": "./gospel-resources/gospel-resources.js", "output": "dx-maps/gospel-resources/gospel-resources.js", - "integrity": "sha384-VLKollilTWRGiqhbjYSdf1L46MFiwJAUgT1euaXKuAtJpSdFNEfn877+yVEJZRWM", + "integrity": "sha384-/aStRFfsb6XTNu1+PCmGwNOIDd/qmKe+yolomWBBOtQVbAeG+dg6fOsbbzo3RtiY", "elements": [ "gospel-resources-map" ], @@ -805,7 +805,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n\n\n" + "script": "\n\n\n" } }, { @@ -821,7 +821,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n\n\n" + "script": "\n\n\n" } }, { @@ -837,8 +837,8 @@ "scriptUrl": "./gospel-resources/gospel-resources.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" } }, { @@ -854,7 +854,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n\n\n" + "script": "\n\n\n" } }, { @@ -870,8 +870,8 @@ "scriptUrl": "./gospel-resources/gospel-resources.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" } } ] @@ -1222,7 +1222,7 @@ "bundle": "research-map-plus-grid", "scriptUrl": "./research-map-plus-grid/research-map-plus-grid.js", "output": "dx-maps/research-map-plus-grid/research-map-plus-grid.js", - "integrity": "sha384-FkiDRgWvZ4PeroSbO1scP6V4h3fJUbQ7VubC3ngsIrBpwob14kYwX2QIs0Enh1gR", + "integrity": "sha384-GYSHeJzVti4wp5r1FErq6v17s/VbOfyOFVoAMRB5pQphuSOnxNmiPdd0jyqrJy4F", "elements": [ "research-map-plus-grid" ], @@ -1245,8 +1245,8 @@ "scriptUrl": "./research-map-plus-grid/research-map-plus-grid.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": [ { diff --git a/public/dx-maps/research-map-plus-grid/research-map-plus-grid.js b/public/dx-maps/research-map-plus-grid/research-map-plus-grid.js index 815f2f068..be83745c6 100644 --- a/public/dx-maps/research-map-plus-grid/research-map-plus-grid.js +++ b/public/dx-maps/research-map-plus-grid/research-map-plus-grid.js @@ -2,29 +2,29 @@ * @vue/shared v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function Ps(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const G={},ft=[],Te=()=>{},vr=()=>!1,Bt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Vt=e=>e.startsWith("onUpdate:"),ee=Object.assign,Os=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Mn=Object.prototype.hasOwnProperty,H=(e,t)=>Mn.call(e,t),R=Array.isArray,Ye=e=>yt(e)==="[object Map]",Kt=e=>yt(e)==="[object Set]",xr=e=>yt(e)==="[object Date]",L=e=>typeof e=="function",X=e=>typeof e=="string",ve=e=>typeof e=="symbol",W=e=>e!==null&&typeof e=="object",Sr=e=>(W(e)||L(e))&&L(e.then)&&L(e.catch),Ar=Object.prototype.toString,yt=e=>Ar.call(e),kn=e=>yt(e).slice(8,-1),Wt=e=>yt(e)==="[object Object]",Rs=e=>X(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,$t=Ps(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),qt=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},Ln=/-\w/g,ue=qt(e=>e.replace(Ln,t=>t.slice(1).toUpperCase())),In=/\B([A-Z])/g,ye=qt(e=>e.replace(In,"-$1").toLowerCase()),Cr=qt(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ms=qt(e=>e?`on${Cr(e)}`:""),Ee=(e,t)=>!Object.is(e,t),ks=(e,...t)=>{for(let s=0;s{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:s})},Fn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Er=e=>{const t=X(e)?Number(e):NaN;return isNaN(t)?e:t};let Pr;const zt=()=>Pr||(Pr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Gt(e){if(R(e)){const t={};for(let s=0;s{if(s){const r=s.split(jn);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Jt(e){let t="";if(X(e))t=e;else if(R(e))for(let s=0;s!!(e&&e.__v_isRef===!0),Xt=e=>X(e)?e:e==null?"":R(e)||W(e)&&(e.toString===Ar||!L(e.toString))?Mr(e)?Xt(e.value):JSON.stringify(e,kr,2):String(e),kr=(e,t)=>Mr(t)?kr(e,t.value):Ye(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[r,o],n)=>(s[Ls(r,n)+" =>"]=o,s),{})}:Kt(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>Ls(s))}:ve(t)?Ls(t):W(t)&&!R(t)&&!Wt(t)?String(t):t,Ls=(e,t="")=>{var s;return ve(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/** +**/function Ps(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const G={},ft=[],Ee=()=>{},xo=()=>!1,Vt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Kt=e=>e.startsWith("onUpdate:"),ee=Object.assign,Rs=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Mn=Object.prototype.hasOwnProperty,U=(e,t)=>Mn.call(e,t),k=Array.isArray,Ye=e=>yt(e)==="[object Map]",Wt=e=>yt(e)==="[object Set]",So=e=>yt(e)==="[object Date]",F=e=>typeof e=="function",X=e=>typeof e=="string",ve=e=>typeof e=="symbol",K=e=>e!==null&&typeof e=="object",Ao=e=>(K(e)||F(e))&&F(e.then)&&F(e.catch),Co=Object.prototype.toString,yt=e=>Co.call(e),kn=e=>yt(e).slice(8,-1),zt=e=>yt(e)==="[object Object]",Os=e=>X(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,$t=Ps(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),qt=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},Ln=/-\w/g,de=qt(e=>e.replace(Ln,t=>t.slice(1).toUpperCase())),In=/\B([A-Z])/g,we=qt(e=>e.replace(In,"-$1").toLowerCase()),To=qt(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ms=qt(e=>e?`on${To(e)}`:""),Pe=(e,t)=>!Object.is(e,t),ks=(e,...t)=>{for(let s=0;s{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:s})},Fn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Po=e=>{const t=X(e)?Number(e):NaN;return isNaN(t)?e:t};let Ro;const Gt=()=>Ro||(Ro=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Jt(e){if(k(e)){const t={};for(let s=0;s{if(s){const o=s.split(jn);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Yt(e){let t="";if(X(e))t=e;else if(k(e))for(let s=0;s!!(e&&e.__v_isRef===!0),Zt=e=>X(e)?e:e==null?"":k(e)||K(e)&&(e.toString===Co||!F(e.toString))?ko(e)?Zt(e.value):JSON.stringify(e,Lo,2):String(e),Lo=(e,t)=>ko(t)?Lo(e,t.value):Ye(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[o,r],n)=>(s[Ls(o,n)+" =>"]=r,s),{})}:Wt(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>Ls(s))}:ve(t)?Ls(t):K(t)&&!k(t)&&!zt(t)?String(t):t,Ls=(e,t="")=>{var s;return ve(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/** * @vue/reactivity v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let oe;class Vn{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&&oe&&(oe.active?(this.parent=oe,this.index=(oe.scopes||(oe.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes){const r=this.scopes.slice();for(t=0,s=r.length;t0&&--this._on===0){if(oe===this)oe=this.prevScope;else{let t=oe;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let s,r;for(s=0,r=this.effects.length;s0)return;if(xt){let t=xt;for(xt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;vt;){let t=vt;for(vt=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=s}}if(e)throw e}function Nr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function jr(e){let t,s=e.depsTail,r=s;for(;r;){const o=r.prevDep;r.version===-1?(r===s&&(s=o),Ds(r),Wn(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=s}function js(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Dr(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Dr(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===St)||(e.globalVersion=St,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!js(e))))return;e.flags|=2;const t=e.dep,s=J,r=xe;J=e,xe=!0;try{Nr(e);const o=e.fn(e._value);(t.version===0||Ee(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{J=s,xe=r,jr(e),e.flags&=-3}}function Ds(e,t=!1){const{dep:s,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),s.subs===e&&(s.subs=r,!r&&s.computed)){s.computed.flags&=-5;for(let n=s.computed.deps;n;n=n.nextDep)Ds(n,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function Wn(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let xe=!0;const Hr=[];function Pe(){Hr.push(xe),xe=!1}function Oe(){const e=Hr.pop();xe=e===void 0?!0:e}function Ur(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=J;J=void 0;try{t()}finally{J=s}}}let St=0;class qn{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Hs{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(!J||!xe||J===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==J)s=this.activeLink=new qn(J,this),J.deps?(s.prevDep=J.depsTail,J.depsTail.nextDep=s,J.depsTail=s):J.deps=J.depsTail=s,Br(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const r=s.nextDep;r.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=r),s.prevDep=J.depsTail,s.nextDep=void 0,J.depsTail.nextDep=s,J.depsTail=s,J.deps===s&&(J.deps=r)}return s}trigger(t){this.version++,St++,this.notify(t)}notify(t){Fs();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Ns()}}}function Br(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Br(r)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const Us=new WeakMap,tt=Symbol(""),Bs=Symbol(""),At=Symbol("");function le(e,t,s){if(xe&&J){let r=Us.get(e);r||Us.set(e,r=new Map);let o=r.get(s);o||(r.set(s,o=new Hs),o.map=r,o.key=s),o.track()}}function He(e,t,s,r,o,n){const i=Us.get(e);if(!i){St++;return}const l=c=>{c&&c.trigger()};if(Fs(),t==="clear")i.forEach(l);else{const c=R(e),d=c&&Rs(s);if(c&&s==="length"){const u=Number(r);i.forEach((p,A)=>{(A==="length"||A===At||!ve(A)&&A>=u)&&l(p)})}else switch((s!==void 0||i.has(void 0))&&l(i.get(s)),d&&l(i.get(At)),t){case"add":c?d&&l(i.get("length")):(l(i.get(tt)),Ye(e)&&l(i.get(Bs)));break;case"delete":c||(l(i.get(tt)),Ye(e)&&l(i.get(Bs)));break;case"set":Ye(e)&&l(i.get(tt));break}}Ns()}function ut(e){const t=D(e);return t===e?t:(le(t,"iterate",At),$e(e)?t:t.map(Se))}function Zt(e){return le(e=D(e),"iterate",At),e}function Re(e,t){return Be(e)?dt(st(e)?Se(t):t):Se(t)}const zn={__proto__:null,[Symbol.iterator](){return Vs(this,Symbol.iterator,e=>Re(this,e))},concat(...e){return ut(this).concat(...e.map(t=>R(t)?ut(t):t))},entries(){return Vs(this,"entries",e=>(e[1]=Re(this,e[1]),e))},every(e,t){return Ue(this,"every",e,t,void 0,arguments)},filter(e,t){return Ue(this,"filter",e,t,s=>s.map(r=>Re(this,r)),arguments)},find(e,t){return Ue(this,"find",e,t,s=>Re(this,s),arguments)},findIndex(e,t){return Ue(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ue(this,"findLast",e,t,s=>Re(this,s),arguments)},findLastIndex(e,t){return Ue(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ue(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ks(this,"includes",e)},indexOf(...e){return Ks(this,"indexOf",e)},join(e){return ut(this).join(e)},lastIndexOf(...e){return Ks(this,"lastIndexOf",e)},map(e,t){return Ue(this,"map",e,t,void 0,arguments)},pop(){return Ct(this,"pop")},push(...e){return Ct(this,"push",e)},reduce(e,...t){return Vr(this,"reduce",e,t)},reduceRight(e,...t){return Vr(this,"reduceRight",e,t)},shift(){return Ct(this,"shift")},some(e,t){return Ue(this,"some",e,t,void 0,arguments)},splice(...e){return Ct(this,"splice",e)},toReversed(){return ut(this).toReversed()},toSorted(e){return ut(this).toSorted(e)},toSpliced(...e){return ut(this).toSpliced(...e)},unshift(...e){return Ct(this,"unshift",e)},values(){return Vs(this,"values",e=>Re(this,e))}};function Vs(e,t,s){const r=Zt(e),o=r[t]();return r!==e&&!$e(e)&&(o._next=o.next,o.next=()=>{const n=o._next();return n.done||(n.value=s(n.value)),n}),o}const Gn=Array.prototype;function Ue(e,t,s,r,o,n){const i=Zt(e),l=i!==e&&!$e(e),c=i[t];if(c!==Gn[t]){const p=c.apply(e,n);return l?Se(p):p}let d=s;i!==e&&(l?d=function(p,A){return s.call(this,Re(e,p),A,e)}:s.length>2&&(d=function(p,A){return s.call(this,p,A,e)}));const u=c.call(i,d,r);return l&&o?o(u):u}function Vr(e,t,s,r){const o=Zt(e),n=o!==e&&!$e(e);let i=s,l=!1;o!==e&&(n?(l=r.length===0,i=function(d,u,p){return l&&(l=!1,d=Re(e,d)),s.call(this,d,Re(e,u),p,e)}):s.length>3&&(i=function(d,u,p){return s.call(this,d,u,p,e)}));const c=o[t](i,...r);return l?Re(e,c):c}function Ks(e,t,s){const r=D(e);le(r,"iterate",At);const o=r[t](...s);return(o===-1||o===!1)&&zs(s[0])?(s[0]=D(s[0]),r[t](...s)):o}function Ct(e,t,s=[]){Pe(),Fs();const r=D(e)[t].apply(e,s);return Ns(),Oe(),r}const Jn=Ps("__proto__,__v_isRef,__isVue"),Kr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ve));function Yn(e){ve(e)||(e=String(e));const t=D(this);return le(t,"has",e),t.hasOwnProperty(e)}class Wr{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,r){if(s==="__v_skip")return t.__v_skip;const o=this._isReadonly,n=this._isShallow;if(s==="__v_isReactive")return!o;if(s==="__v_isReadonly")return o;if(s==="__v_isShallow")return n;if(s==="__v_raw")return r===(o?n?Xr:Yr:n?Jr:Gr).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=R(t);if(!o){let c;if(i&&(c=zn[s]))return c;if(s==="hasOwnProperty")return Yn}const l=Reflect.get(t,s,ne(t)?t:r);if((ve(s)?Kr.has(s):Jn(s))||(o||le(t,"get",s),n))return l;if(ne(l)){const c=i&&Rs(s)?l:l.value;return o&&W(c)?qs(c):c}return W(l)?o?qs(l):ss(l):l}}class qr extends Wr{constructor(t=!1){super(!1,t)}set(t,s,r,o){let n=t[s];const i=R(t)&&Rs(s);if(!this._isShallow){const d=Be(n);if(!$e(r)&&!Be(r)&&(n=D(n),r=D(r)),!i&&ne(n)&&!ne(r))return d||(n.value=r),!0}const l=i?Number(s)e,Qt=e=>Reflect.getPrototypeOf(e);function ti(e,t,s){return function(...r){const o=this.__v_raw,n=D(o),i=Ye(n),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,d=o[e](...r),u=s?Ws:t?dt:Se;return!t&&le(n,"iterate",c?Bs:tt),ee(Object.create(d),{next(){const{value:p,done:A}=d.next();return A?{value:p,done:A}:{value:l?[u(p[0]),u(p[1])]:u(p),done:A}}})}}function es(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function si(e,t){const s={get(o){const n=this.__v_raw,i=D(n),l=D(o);e||(Ee(o,l)&&le(i,"get",o),le(i,"get",l));const{has:c}=Qt(i),d=t?Ws:e?dt:Se;if(c.call(i,o))return d(n.get(o));if(c.call(i,l))return d(n.get(l));n!==i&&n.get(o)},get size(){const o=this.__v_raw;return!e&&le(D(o),"iterate",tt),o.size},has(o){const n=this.__v_raw,i=D(n),l=D(o);return e||(Ee(o,l)&&le(i,"has",o),le(i,"has",l)),o===l?n.has(o):n.has(o)||n.has(l)},forEach(o,n){const i=this,l=i.__v_raw,c=D(l),d=t?Ws:e?dt:Se;return!e&&le(c,"iterate",tt),l.forEach((u,p)=>o.call(n,d(u),d(p),i))}};return ee(s,e?{add:es("add"),set:es("set"),delete:es("delete"),clear:es("clear")}:{add(o){const n=D(this),i=Qt(n),l=D(o),c=!t&&!$e(o)&&!Be(o)?l:o;return i.has.call(n,c)||Ee(o,c)&&i.has.call(n,o)||Ee(l,c)&&i.has.call(n,l)||(n.add(c),He(n,"add",c,c)),this},set(o,n){!t&&!$e(n)&&!Be(n)&&(n=D(n));const i=D(this),{has:l,get:c}=Qt(i);let d=l.call(i,o);d||(o=D(o),d=l.call(i,o));const u=c.call(i,o);return i.set(o,n),d?Ee(n,u)&&He(i,"set",o,n):He(i,"add",o,n),this},delete(o){const n=D(this),{has:i,get:l}=Qt(n);let c=i.call(n,o);c||(o=D(o),c=i.call(n,o)),l&&l.call(n,o);const d=n.delete(o);return c&&He(n,"delete",o,void 0),d},clear(){const o=D(this),n=o.size!==0,i=o.clear();return n&&He(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{s[o]=ti(o,e,t)}),s}function ts(e,t){const s=si(e,t);return(r,o,n)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(H(s,o)&&o in r?s:r,o,n)}const ri={get:ts(!1,!1)},oi={get:ts(!1,!0)},ni={get:ts(!0,!1)},ii={get:ts(!0,!0)},Gr=new WeakMap,Jr=new WeakMap,Yr=new WeakMap,Xr=new WeakMap;function li(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ss(e){return Be(e)?e:rs(e,!1,Xn,ri,Gr)}function ci(e){return rs(e,!1,Qn,oi,Jr)}function qs(e){return rs(e,!0,Zn,ni,Yr)}function sa(e){return rs(e,!0,ei,ii,Xr)}function rs(e,t,s,r,o){if(!W(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const n=o.get(e);if(n)return n;const i=li(kn(e));if(i===0)return e;const l=new Proxy(e,i===2?r:s);return o.set(e,l),l}function st(e){return Be(e)?st(e.__v_raw):!!(e&&e.__v_isReactive)}function Be(e){return!!(e&&e.__v_isReadonly)}function $e(e){return!!(e&&e.__v_isShallow)}function zs(e){return e?!!e.__v_raw:!1}function D(e){const t=e&&e.__v_raw;return t?D(t):e}function ai(e){return!H(e,"__v_skip")&&Object.isExtensible(e)&&Tr(e,"__v_skip",!0),e}const Se=e=>W(e)?ss(e):e,dt=e=>W(e)?qs(e):e;function ne(e){return e?e.__v_isRef===!0:!1}function Zr(e){return fi(e,!1)}function fi(e,t){return ne(e)?e:new ui(e,t)}class ui{constructor(t,s){this.dep=new Hs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:D(t),this._value=s?t:Se(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,r=this.__v_isShallow||$e(t)||Be(t);t=r?t:D(t),Ee(t,s)&&(this._rawValue=t,this._value=r?t:Se(t),this.dep.trigger())}}function Qr(e){return ne(e)?e.value:e}const di={get:(e,t,s)=>t==="__v_raw"?e:Qr(Reflect.get(e,t,s)),set:(e,t,s,r)=>{const o=e[t];return ne(o)&&!ne(s)?(o.value=s,!0):Reflect.set(e,t,s,r)}};function eo(e){return st(e)?e:new Proxy(e,di)}class hi{constructor(t,s,r){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Hs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=St-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&J!==this)return Fr(this,!0),!0}get value(){const t=this.dep.track();return Dr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function pi(e,t,s=!1){let r,o;return L(e)?r=e:(r=e.get,o=e.set),new hi(r,o,s)}const os={},ns=new WeakMap;let rt;function _i(e,t=!1,s=rt){if(s){let r=ns.get(s);r||ns.set(s,r=[]),r.push(e)}}function gi(e,t,s=G){const{immediate:r,deep:o,once:n,scheduler:i,augmentJob:l,call:c}=s,d=E=>o?E:$e(E)||o===!1||o===0?Xe(E,1):Xe(E);let u,p,A,C,U=!1,$=!1;if(ne(e)?(p=()=>e.value,U=$e(e)):st(e)?(p=()=>d(e),U=!0):R(e)?($=!0,U=e.some(E=>st(E)||$e(E)),p=()=>e.map(E=>{if(ne(E))return E.value;if(st(E))return d(E);if(L(E))return c?c(E,2):E()})):L(e)?t?p=c?()=>c(e,2):e:p=()=>{if(A){Pe();try{A()}finally{Oe()}}const E=rt;rt=u;try{return c?c(e,3,[C]):e(C)}finally{rt=E}}:p=Te,t&&o){const E=p,Q=o===!0?1/0:o;p=()=>Xe(E(),Q)}const Y=Kn(),V=()=>{u.stop(),Y&&Y.active&&Os(Y.effects,u)};if(n&&t){const E=t;t=(...Q)=>{const me=E(...Q);return V(),me}}let F=$?new Array(e.length).fill(os):os;const N=E=>{if(!(!(u.flags&1)||!u.dirty&&!E))if(t){const Q=u.run();if(E||o||U||($?Q.some((me,be)=>Ee(me,F[be])):Ee(Q,F))){A&&A();const me=rt;rt=u;try{const be=[Q,F===os?void 0:$&&F[0]===os?[]:F,C];F=Q,c?c(t,3,be):t(...be)}finally{rt=me}}}else u.run()};return l&&l(N),u=new Lr(p),u.scheduler=i?()=>i(N,!1):N,C=E=>_i(E,!1,u),A=u.onStop=()=>{const E=ns.get(u);if(E){if(c)c(E,4);else for(const Q of E)Q();ns.delete(u)}},t?r?N(!0):F=u.run():i?i(N.bind(null,!0),!0):u.run(),V.pause=u.pause.bind(u),V.resume=u.resume.bind(u),V.stop=V,V}function Xe(e,t=1/0,s){if(t<=0||!W(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,ne(e))Xe(e.value,t,s);else if(R(e))for(let r=0;r{Xe(r,t,s)});else if(Wt(e)){for(const r in e)Xe(e[r],t,s);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Xe(e[r],t,s)}return e}/** +**/let oe;class Vn{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&&oe&&(oe.active?(this.parent=oe,this.index=(oe.scopes||(oe.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes){const o=this.scopes.slice();for(t=0,s=o.length;t0&&--this._on===0){if(oe===this)oe=this.prevScope;else{let t=oe;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let s,o;for(s=0,o=this.effects.length;s0)return;if(xt){let t=xt;for(xt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;vt;){let t=vt;for(vt=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(o){e||(e=o)}t=s}}if(e)throw e}function jo(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Do(e){let t,s=e.depsTail,o=s;for(;o;){const r=o.prevDep;o.version===-1?(o===s&&(s=r),Ds(o),Wn(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=r}e.deps=t,e.depsTail=s}function js(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ho(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ho(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===St)||(e.globalVersion=St,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!js(e))))return;e.flags|=2;const t=e.dep,s=J,o=xe;J=e,xe=!0;try{jo(e);const r=e.fn(e._value);(t.version===0||Pe(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{J=s,xe=o,Do(e),e.flags&=-3}}function Ds(e,t=!1){const{dep:s,prevSub:o,nextSub:r}=e;if(o&&(o.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=o,e.nextSub=void 0),s.subs===e&&(s.subs=o,!o&&s.computed)){s.computed.flags&=-5;for(let n=s.computed.deps;n;n=n.nextDep)Ds(n,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function Wn(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let xe=!0;const Uo=[];function Re(){Uo.push(xe),xe=!1}function Oe(){const e=Uo.pop();xe=e===void 0?!0:e}function Bo(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=J;J=void 0;try{t()}finally{J=s}}}let St=0;class zn{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Hs{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(!J||!xe||J===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==J)s=this.activeLink=new zn(J,this),J.deps?(s.prevDep=J.depsTail,J.depsTail.nextDep=s,J.depsTail=s):J.deps=J.depsTail=s,Vo(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const o=s.nextDep;o.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=o),s.prevDep=J.depsTail,s.nextDep=void 0,J.depsTail.nextDep=s,J.depsTail=s,J.deps===s&&(J.deps=o)}return s}trigger(t){this.version++,St++,this.notify(t)}notify(t){Fs();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Ns()}}}function Vo(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let o=t.deps;o;o=o.nextDep)Vo(o)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const Us=new WeakMap,st=Symbol(""),Bs=Symbol(""),At=Symbol("");function le(e,t,s){if(xe&&J){let o=Us.get(e);o||Us.set(e,o=new Map);let r=o.get(s);r||(o.set(s,r=new Hs),r.map=o,r.key=s),r.track()}}function Ue(e,t,s,o,r,n){const i=Us.get(e);if(!i){St++;return}const l=c=>{c&&c.trigger()};if(Fs(),t==="clear")i.forEach(l);else{const c=k(e),d=c&&Os(s);if(c&&s==="length"){const u=Number(o);i.forEach((p,T)=>{(T==="length"||T===At||!ve(T)&&T>=u)&&l(p)})}else switch((s!==void 0||i.has(void 0))&&l(i.get(s)),d&&l(i.get(At)),t){case"add":c?d&&l(i.get("length")):(l(i.get(st)),Ye(e)&&l(i.get(Bs)));break;case"delete":c||(l(i.get(st)),Ye(e)&&l(i.get(Bs)));break;case"set":Ye(e)&&l(i.get(st));break}}Ns()}function ut(e){const t=H(e);return t===e?t:(le(t,"iterate",At),ye(e)?t:t.map(Se))}function Qt(e){return le(e=H(e),"iterate",At),e}function Me(e,t){return Ve(e)?dt(ot(e)?Se(t):t):Se(t)}const qn={__proto__:null,[Symbol.iterator](){return Vs(this,Symbol.iterator,e=>Me(this,e))},concat(...e){return ut(this).concat(...e.map(t=>k(t)?ut(t):t))},entries(){return Vs(this,"entries",e=>(e[1]=Me(this,e[1]),e))},every(e,t){return Be(this,"every",e,t,void 0,arguments)},filter(e,t){return Be(this,"filter",e,t,s=>s.map(o=>Me(this,o)),arguments)},find(e,t){return Be(this,"find",e,t,s=>Me(this,s),arguments)},findIndex(e,t){return Be(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Be(this,"findLast",e,t,s=>Me(this,s),arguments)},findLastIndex(e,t){return Be(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Be(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ks(this,"includes",e)},indexOf(...e){return Ks(this,"indexOf",e)},join(e){return ut(this).join(e)},lastIndexOf(...e){return Ks(this,"lastIndexOf",e)},map(e,t){return Be(this,"map",e,t,void 0,arguments)},pop(){return Ct(this,"pop")},push(...e){return Ct(this,"push",e)},reduce(e,...t){return Ko(this,"reduce",e,t)},reduceRight(e,...t){return Ko(this,"reduceRight",e,t)},shift(){return Ct(this,"shift")},some(e,t){return Be(this,"some",e,t,void 0,arguments)},splice(...e){return Ct(this,"splice",e)},toReversed(){return ut(this).toReversed()},toSorted(e){return ut(this).toSorted(e)},toSpliced(...e){return ut(this).toSpliced(...e)},unshift(...e){return Ct(this,"unshift",e)},values(){return Vs(this,"values",e=>Me(this,e))}};function Vs(e,t,s){const o=Qt(e),r=o[t]();return o!==e&&!ye(e)&&(r._next=r.next,r.next=()=>{const n=r._next();return n.done||(n.value=s(n.value)),n}),r}const Gn=Array.prototype;function Be(e,t,s,o,r,n){const i=Qt(e),l=i!==e&&!ye(e),c=i[t];if(c!==Gn[t]){const p=c.apply(e,n);return l?Se(p):p}let d=s;i!==e&&(l?d=function(p,T){return s.call(this,Me(e,p),T,e)}:s.length>2&&(d=function(p,T){return s.call(this,p,T,e)}));const u=c.call(i,d,o);return l&&r?r(u):u}function Ko(e,t,s,o){const r=Qt(e),n=r!==e&&!ye(e);let i=s,l=!1;r!==e&&(n?(l=o.length===0,i=function(d,u,p){return l&&(l=!1,d=Me(e,d)),s.call(this,d,Me(e,u),p,e)}):s.length>3&&(i=function(d,u,p){return s.call(this,d,u,p,e)}));const c=r[t](i,...o);return l?Me(e,c):c}function Ks(e,t,s){const o=H(e);le(o,"iterate",At);const r=o[t](...s);return(r===-1||r===!1)&&qs(s[0])?(s[0]=H(s[0]),o[t](...s)):r}function Ct(e,t,s=[]){Re(),Fs();const o=H(e)[t].apply(e,s);return Ns(),Oe(),o}const Jn=Ps("__proto__,__v_isRef,__isVue"),Wo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ve));function Yn(e){ve(e)||(e=String(e));const t=H(this);return le(t,"has",e),t.hasOwnProperty(e)}class zo{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,o){if(s==="__v_skip")return t.__v_skip;const r=this._isReadonly,n=this._isShallow;if(s==="__v_isReactive")return!r;if(s==="__v_isReadonly")return r;if(s==="__v_isShallow")return n;if(s==="__v_raw")return o===(r?n?Zo:Xo:n?Yo:Jo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const i=k(t);if(!r){let c;if(i&&(c=qn[s]))return c;if(s==="hasOwnProperty")return Yn}const l=Reflect.get(t,s,re(t)?t:o);if((ve(s)?Wo.has(s):Jn(s))||(r||le(t,"get",s),n))return l;if(re(l)){const c=i&&Os(s)?l:l.value;return r&&K(c)?zs(c):c}return K(l)?r?zs(l):os(l):l}}class qo extends zo{constructor(t=!1){super(!1,t)}set(t,s,o,r){let n=t[s];const i=k(t)&&Os(s);if(!this._isShallow){const d=Ve(n);if(!ye(o)&&!Ve(o)&&(n=H(n),o=H(o)),!i&&re(n)&&!re(o))return d||(n.value=o),!0}const l=i?Number(s)e,es=e=>Reflect.getPrototypeOf(e);function ti(e,t,s){return function(...o){const r=this.__v_raw,n=H(r),i=Ye(n),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,d=r[e](...o),u=s?Ws:t?dt:Se;return!t&&le(n,"iterate",c?Bs:st),ee(Object.create(d),{next(){const{value:p,done:T}=d.next();return T?{value:p,done:T}:{value:l?[u(p[0]),u(p[1])]:u(p),done:T}}})}}function ts(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function si(e,t){const s={get(r){const n=this.__v_raw,i=H(n),l=H(r);e||(Pe(r,l)&&le(i,"get",r),le(i,"get",l));const{has:c}=es(i),d=t?Ws:e?dt:Se;if(c.call(i,r))return d(n.get(r));if(c.call(i,l))return d(n.get(l));n!==i&&n.get(r)},get size(){const r=this.__v_raw;return!e&&le(H(r),"iterate",st),r.size},has(r){const n=this.__v_raw,i=H(n),l=H(r);return e||(Pe(r,l)&&le(i,"has",r),le(i,"has",l)),r===l?n.has(r):n.has(r)||n.has(l)},forEach(r,n){const i=this,l=i.__v_raw,c=H(l),d=t?Ws:e?dt:Se;return!e&&le(c,"iterate",st),l.forEach((u,p)=>r.call(n,d(u),d(p),i))}};return ee(s,e?{add:ts("add"),set:ts("set"),delete:ts("delete"),clear:ts("clear")}:{add(r){const n=H(this),i=es(n),l=H(r),c=!t&&!ye(r)&&!Ve(r)?l:r;return i.has.call(n,c)||Pe(r,c)&&i.has.call(n,r)||Pe(l,c)&&i.has.call(n,l)||(n.add(c),Ue(n,"add",c,c)),this},set(r,n){!t&&!ye(n)&&!Ve(n)&&(n=H(n));const i=H(this),{has:l,get:c}=es(i);let d=l.call(i,r);d||(r=H(r),d=l.call(i,r));const u=c.call(i,r);return i.set(r,n),d?Pe(n,u)&&Ue(i,"set",r,n):Ue(i,"add",r,n),this},delete(r){const n=H(this),{has:i,get:l}=es(n);let c=i.call(n,r);c||(r=H(r),c=i.call(n,r)),l&&l.call(n,r);const d=n.delete(r);return c&&Ue(n,"delete",r,void 0),d},clear(){const r=H(this),n=r.size!==0,i=r.clear();return n&&Ue(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{s[r]=ti(r,e,t)}),s}function ss(e,t){const s=si(e,t);return(o,r,n)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(U(s,r)&&r in o?s:o,r,n)}const oi={get:ss(!1,!1)},ri={get:ss(!1,!0)},ni={get:ss(!0,!1)},ii={get:ss(!0,!0)},Jo=new WeakMap,Yo=new WeakMap,Xo=new WeakMap,Zo=new WeakMap;function li(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function os(e){return Ve(e)?e:rs(e,!1,Xn,oi,Jo)}function ci(e){return rs(e,!1,Qn,ri,Yo)}function zs(e){return rs(e,!0,Zn,ni,Xo)}function sa(e){return rs(e,!0,ei,ii,Zo)}function rs(e,t,s,o,r){if(!K(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const n=r.get(e);if(n)return n;const i=li(kn(e));if(i===0)return e;const l=new Proxy(e,i===2?o:s);return r.set(e,l),l}function ot(e){return Ve(e)?ot(e.__v_raw):!!(e&&e.__v_isReactive)}function Ve(e){return!!(e&&e.__v_isReadonly)}function ye(e){return!!(e&&e.__v_isShallow)}function qs(e){return e?!!e.__v_raw:!1}function H(e){const t=e&&e.__v_raw;return t?H(t):e}function ai(e){return!U(e,"__v_skip")&&Object.isExtensible(e)&&Eo(e,"__v_skip",!0),e}const Se=e=>K(e)?os(e):e,dt=e=>K(e)?zs(e):e;function re(e){return e?e.__v_isRef===!0:!1}function Qo(e){return fi(e,!1)}function fi(e,t){return re(e)?e:new ui(e,t)}class ui{constructor(t,s){this.dep=new Hs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:H(t),this._value=s?t:Se(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,o=this.__v_isShallow||ye(t)||Ve(t);t=o?t:H(t),Pe(t,s)&&(this._rawValue=t,this._value=o?t:Se(t),this.dep.trigger())}}function er(e){return re(e)?e.value:e}const di={get:(e,t,s)=>t==="__v_raw"?e:er(Reflect.get(e,t,s)),set:(e,t,s,o)=>{const r=e[t];return re(r)&&!re(s)?(r.value=s,!0):Reflect.set(e,t,s,o)}};function tr(e){return ot(e)?e:new Proxy(e,di)}class hi{constructor(t,s,o){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Hs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=St-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&J!==this)return No(this,!0),!0}get value(){const t=this.dep.track();return Ho(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function pi(e,t,s=!1){let o,r;return F(e)?o=e:(o=e.get,r=e.set),new hi(o,r,s)}const ns={},is=new WeakMap;let rt;function _i(e,t=!1,s=rt){if(s){let o=is.get(s);o||is.set(s,o=[]),o.push(e)}}function gi(e,t,s=G){const{immediate:o,deep:r,once:n,scheduler:i,augmentJob:l,call:c}=s,d=P=>r?P:ye(P)||r===!1||r===0?Xe(P,1):Xe(P);let u,p,T,E,V=!1,L=!1;if(re(e)?(p=()=>e.value,V=ye(e)):ot(e)?(p=()=>d(e),V=!0):k(e)?(L=!0,V=e.some(P=>ot(P)||ye(P)),p=()=>e.map(P=>{if(re(P))return P.value;if(ot(P))return d(P);if(F(P))return c?c(P,2):P()})):F(e)?t?p=c?()=>c(e,2):e:p=()=>{if(T){Re();try{T()}finally{Oe()}}const P=rt;rt=u;try{return c?c(e,3,[E]):e(E)}finally{rt=P}}:p=Ee,t&&r){const P=p,Z=r===!0?1/0:r;p=()=>Xe(P(),Z)}const Q=Kn(),z=()=>{u.stop(),Q&&Q.active&&Rs(Q.effects,u)};if(n&&t){const P=t;t=(...Z)=>{const $e=P(...Z);return z(),$e}}let N=L?new Array(e.length).fill(ns):ns;const C=P=>{if(!(!(u.flags&1)||!u.dirty&&!P))if(t){const Z=u.run();if(P||r||V||(L?Z.some(($e,ue)=>Pe($e,N[ue])):Pe(Z,N))){T&&T();const $e=rt;rt=u;try{const ue=[Z,N===ns?void 0:L&&N[0]===ns?[]:N,E];N=Z,c?c(t,3,ue):t(...ue)}finally{rt=$e}}}else u.run()};return l&&l(C),u=new Io(p),u.scheduler=i?()=>i(C,!1):C,E=P=>_i(P,!1,u),T=u.onStop=()=>{const P=is.get(u);if(P){if(c)c(P,4);else for(const Z of P)Z();is.delete(u)}},t?o?C(!0):N=u.run():i?i(C.bind(null,!0),!0):u.run(),z.pause=u.pause.bind(u),z.resume=u.resume.bind(u),z.stop=z,z}function Xe(e,t=1/0,s){if(t<=0||!K(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,re(e))Xe(e.value,t,s);else if(k(e))for(let o=0;o{Xe(o,t,s)});else if(zt(e)){for(const o in e)Xe(e[o],t,s);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&Xe(e[o],t,s)}return e}/** * @vue/runtime-core v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const Tt=[];let Gs=!1;function ra(e,...t){if(Gs)return;Gs=!0,Pe();const s=Tt.length?Tt[Tt.length-1].component:null,r=s&&s.appContext.config.warnHandler,o=mi();if(r)ht(r,s,11,[e+t.map(n=>{var i,l;return(l=(i=n.toString)==null?void 0:i.call(n))!=null?l:JSON.stringify(n)}).join(""),s&&s.proxy,o.map(({vnode:n})=>`at <${Xo(s,n.type)}>`).join(` -`),o]);else{const n=[`[Vue warn]: ${e}`,...t];o.length&&n.push(` -`,...bi(o)),console.warn(...n)}Oe(),Gs=!1}function mi(){let e=Tt[Tt.length-1];if(!e)return[];const t=[];for(;e;){const s=t[0];s&&s.vnode===e?s.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function bi(e){const t=[];return e.forEach((s,r)=>{t.push(...r===0?[]:[` -`],...wi(s))}),t}function wi({vnode:e,recurseCount:t}){const s=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,o=` at <${Xo(e.component,e.type,r)}`,n=">"+s;return e.props?[o,...yi(e.props),n]:[o+n]}function yi(e){const t=[],s=Object.keys(e);return s.slice(0,3).forEach(r=>{t.push(...to(r,e[r]))}),s.length>3&&t.push(" ..."),t}function to(e,t,s){return X(t)?(t=JSON.stringify(t),s?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?s?t:[`${e}=${t}`]:ne(t)?(t=to(e,D(t.value),!0),s?t:[`${e}=Ref<`,t,">"]):L(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=D(t),s?t:[`${e}=`,t])}function ht(e,t,s,r){try{return r?e(...r):e()}catch(o){is(o,t,s)}}function Ae(e,t,s,r){if(L(e)){const o=ht(e,t,s,r);return o&&Sr(o)&&o.catch(n=>{is(n,t,s)}),o}if(R(e)){const o=[];for(let n=0;n>>1,o=ce[r],n=Et(o);n=Et(s)?ce.push(e):ce.splice(vi(t),0,e),e.flags|=1,oo()}}function oo(){ls||(ls=so.then(lo))}function xi(e){if(!R(e))Ze&&e.id===-1?Ze.splice(_t+1,0,e):e.flags&1||(pt.push(e),e.flags|=1);else for(let t=0;tEt(s)-Et(r));if(pt.length=0,Ze){for(let s=0;se.id==null?e.flags&2?-1:1/0:e.id;function lo(e){try{for(Me=0;Me{r._d&&Ko(-1);const n=cs(t),i=Ke.length;let l;try{l=e(...o)}finally{for(let c=Ke.length;c>i;c--)fr();cs(n),r._d&&Ko(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function ot(e,t,s,r){const o=e.dirs,n=t&&t.dirs;for(let i=0;i1)return s&&L(t)?t.call(r&&r.proxy):t}}const Ci=Symbol.for("v-scx"),Ti=()=>as(Ci);function Ei(e,t){return Ys(e,null,t)}function Qe(e,t,s){return Ys(e,t,s)}function Ys(e,t,s=G){const{immediate:r,deep:o,flush:n,once:i}=s,l=ee({},s),c=t&&r||!t&&n!=="post";let d;if(Ft){if(n==="sync"){const C=Ti();d=C.__watcherHandles||(C.__watcherHandles=[])}else if(!c){const C=()=>{};return C.stop=Te,C.resume=Te,C.pause=Te,C}}const u=fe;l.call=(C,U,$)=>Ae(C,u,U,$);let p=!1;n==="post"?l.scheduler=C=>{he(C,u&&u.suspense)}:n!=="sync"&&(p=!0,l.scheduler=(C,U)=>{U?C():Js(C)}),l.augmentJob=C=>{t&&(C.flags|=4),p&&(C.flags|=2,u&&(C.id=u.uid,C.i=u))};const A=gi(e,t,l);return Ft&&(d?d.push(A):c&&A()),A}function Pi(e,t,s){const r=this.proxy,o=X(e)?e.includes(".")?ao(r,e):()=>r[e]:e.bind(r,r);let n;L(t)?n=t:(n=t.handler,s=t);const i=It(this),l=Ys(o,n.bind(r),s);return i(),l}function ao(e,t){const s=t.split(".");return()=>{let r=e;for(let o=0;oe.__isTeleport,Xs=Symbol("_leaveCb");function Ri(e){let t=e[0];if(e.length>1){for(const s of e)if(s.type!==ke){t=s;break}}return t}function fo(e){if(!Qs(e))return fs(e.type)&&e.children?Ri(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:s}=e;if(s){if(t&16)return s[0];if(t&32&&L(s.default))return s.default()}}function Zs(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const s=e.component.subTree;Zs(fs(s.type)&&fo(s)||s,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function uo(e,t){return L(e)?ee({name:e.name},t,{setup:e}):e}function ho(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function po(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const us=new WeakMap;function Pt(e,t,s,r,o=!1){if(R(e)){e.forEach(($,Y)=>Pt($,t&&(R(t)?t[Y]:t),s,r,o));return}if(gt(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Pt(e,t,s,r.component.subTree);return}const n=r.shapeFlag&4?dr(r.component):r.el,i=o?null:n,{i:l,r:c}=e,d=t&&t.r,u=l.refs===G?l.refs={}:l.refs,p=l.setupState,A=D(p),C=p===G?vr:$=>po(u,$)?!1:H(A,$),U=($,Y)=>!(Y&&po(u,Y));if(d!=null&&d!==c){if(_o(t),X(d))u[d]=null,C(d)&&(p[d]=null);else if(ne(d)){const $=t;U(d,$.k)&&(d.value=null),$.k&&(u[$.k]=null)}}if(L(c))ht(c,l,12,[i,u]);else{const $=X(c),Y=ne(c);if($||Y){const V=()=>{if(e.f){const F=$?C(c)?p[c]:u[c]:U()||!e.k?c.value:u[e.k];if(o)R(F)&&Os(F,n);else if(R(F))F.includes(n)||F.push(n);else if($)u[c]=[n],C(c)&&(p[c]=u[c]);else{const N=[n];U(c,e.k)&&(c.value=N),e.k&&(u[e.k]=N)}}else $?(u[c]=i,C(c)&&(p[c]=i)):Y&&(U(c,e.k)&&(c.value=i),e.k&&(u[e.k]=i))};if(i){const F=()=>{V(),us.delete(e)};F.id=-1,us.set(e,F),he(F,s)}else _o(e),V()}}}function _o(e){const t=us.get(e);t&&(t.flags|=8,us.delete(e))}zt().requestIdleCallback,zt().cancelIdleCallback;const gt=e=>!!e.type.__asyncLoader,Qs=e=>e.type.__isKeepAlive;function Mi(e,t){go(e,"a",t)}function ki(e,t){go(e,"da",t)}function go(e,t,s=fe){const r=e.__wdc||(e.__wdc=()=>{let o=s;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(ds(t,r,s),s){let o=s.parent;for(;o&&o.parent;)Qs(o.parent.vnode)&&Li(r,t,s,o),o=o.parent}}function Li(e,t,s,r){const o=ds(t,e,r,!0);mo(()=>{Os(r[t],o)},s)}function ds(e,t,s=fe,r=!1){if(s){const o=s[e]||(s[e]=[]),n=t.__weh||(t.__weh=(...i)=>{Pe();const l=It(s),c=Ae(t,s,e,i);return l(),Oe(),c});return r?o.unshift(n):o.push(n),n}}const Ve=e=>(t,s=fe)=>{(!Ft||e==="sp")&&ds(e,(...r)=>t(...r),s)},Ii=Ve("bm"),hs=Ve("m"),Fi=Ve("bu"),Ni=Ve("u"),er=Ve("bum"),mo=Ve("um"),ji=Ve("sp"),Di=Ve("rtg"),Hi=Ve("rtc");function Ui(e,t=fe){ds("ec",e,t)}const Bi=Symbol.for("v-ndc");function Vi(e,t,s,r){let o;const n=s,i=R(e);if(i||X(e)){const l=i&&st(e);let c=!1,d=!1;l&&(c=!$e(e),d=Be(e),e=Zt(e)),o=new Array(e.length);for(let u=0,p=e.length;ut(l,c,void 0,n));else{const l=Object.keys(e);o=new Array(l.length);for(let c=0,d=l.length;c0;return t!=="default"&&(d.name=t),ge(),bs(pe,null,[Ce("slot",d,r)],u?-2:64)}let i=e[t];i&&i._c&&(i._d=!1);const l=Ke.length;ge();let c;try{const d=i&&bo(i(s)),u=s.key||n||d&&d.key;c=bs(pe,{key:(u&&!ve(u)?u:`_${t}`)+(!d&&r?"_fb":"")},d||(r?r():[]),d&&e._===1?64:-2)}catch(d){for(let u=Ke.length;u>l;u--)fr();throw d}finally{i&&i._c&&(i._d=!0)}return c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),c}function bo(e){return e.some(t=>ur(t)?!(t.type===ke||t.type===pe&&!bo(t.children)):!0)?e:null}const tr=e=>e?Go(e)?dr(e):tr(e.parent):null,Ot=ee(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>tr(e.parent),$root:e=>tr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>vo(e),$forceUpdate:e=>e.f||(e.f=()=>{Js(e.update)}),$nextTick:e=>e.n||(e.n=ro.bind(e.proxy)),$watch:e=>Pi.bind(e)}),sr=(e,t)=>e!==G&&!e.__isScriptSetup&&H(e,t),Ki={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:r,data:o,props:n,accessCache:i,type:l,appContext:c}=e;if(t[0]!=="$"){const A=i[t];if(A!==void 0)switch(A){case 1:return r[t];case 2:return o[t];case 4:return s[t];case 3:return n[t]}else{if(sr(r,t))return i[t]=1,r[t];if(o!==G&&H(o,t))return i[t]=2,o[t];if(H(n,t))return i[t]=3,n[t];if(s!==G&&H(s,t))return i[t]=4,s[t];rr&&(i[t]=0)}}const d=Ot[t];let u,p;if(d)return t==="$attrs"&&le(e.attrs,"get",""),d(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(s!==G&&H(s,t))return i[t]=4,s[t];if(p=c.config.globalProperties,H(p,t))return p[t]},set({_:e},t,s){const{data:r,setupState:o,ctx:n}=e;return sr(o,t)?(o[t]=s,!0):r!==G&&H(r,t)?(r[t]=s,!0):H(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(n[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:r,appContext:o,props:n,type:i}},l){let c;return!!(s[l]||e!==G&&l[0]!=="$"&&H(e,l)||sr(t,l)||H(n,l)||H(r,l)||H(Ot,l)||H(o.config.globalProperties,l)||(c=i.__cssModules)&&c[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:H(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function wo(e){return R(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let rr=!0;function Wi(e){const t=vo(e),s=e.proxy,r=e.ctx;rr=!1,t.beforeCreate&&yo(t.beforeCreate,e,"bc");const{data:o,computed:n,methods:i,watch:l,provide:c,inject:d,created:u,beforeMount:p,mounted:A,beforeUpdate:C,updated:U,activated:$,deactivated:Y,beforeDestroy:V,beforeUnmount:F,destroyed:N,unmounted:E,render:Q,renderTracked:me,renderTriggered:be,errorCaptured:I,serverPrefetch:et,expose:Je,inheritAttrs:b,components:P,directives:M,filters:te}=t;if(d&&qi(d,r,null),i)for(const K in i){const B=i[K];L(B)&&(r[K]=B.bind(s))}if(o){const K=o.call(s,s);W(K)&&(e.data=ss(K))}if(rr=!0,n)for(const K in n){const B=n[K],ct=L(B)?B.bind(s,s):L(B.get)?B.get.bind(s,s):Te,Cs=!L(B)&&L(B.set)?B.set.bind(s):Te,at=ze({get:ct,set:Cs});Object.defineProperty(r,K,{enumerable:!0,configurable:!0,get:()=>at.value,set:Fe=>at.value=Fe})}if(l)for(const K in l)$o(l[K],r,s,K);if(c){const K=L(c)?c.call(s):c;Reflect.ownKeys(K).forEach(B=>{Ai(B,K[B])})}u&&yo(u,e,"c");function Z(K,B){R(B)?B.forEach(ct=>K(ct.bind(s))):B&&K(B.bind(s))}if(Z(Ii,p),Z(hs,A),Z(Fi,C),Z(Ni,U),Z(Mi,$),Z(ki,Y),Z(Ui,I),Z(Hi,me),Z(Di,be),Z(er,F),Z(mo,E),Z(ji,et),R(Je))if(Je.length){const K=e.exposed||(e.exposed={});Je.forEach(B=>{Object.defineProperty(K,B,{get:()=>s[B],set:ct=>s[B]=ct,enumerable:!0})})}else e.exposed||(e.exposed={});Q&&e.render===Te&&(e.render=Q),b!=null&&(e.inheritAttrs=b),P&&(e.components=P),M&&(e.directives=M),et&&ho(e)}function qi(e,t,s=Te){R(e)&&(e=or(e));for(const r in e){const o=e[r];let n;W(o)?"default"in o?n=as(o.from||r,o.default,!0):n=as(o.from||r):n=as(o),ne(n)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>n.value,set:i=>n.value=i}):t[r]=n}}function yo(e,t,s){Ae(R(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,s)}function $o(e,t,s,r){let o=r.includes(".")?ao(s,r):()=>s[r];if(X(e)){const n=t[e];L(n)&&Qe(o,n)}else if(L(e))Qe(o,e.bind(s));else if(W(e))if(R(e))e.forEach(n=>$o(n,t,s,r));else{const n=L(e.handler)?e.handler.bind(s):t[e.handler];L(n)&&Qe(o,n,e)}}function vo(e){const t=e.type,{mixins:s,extends:r}=t,{mixins:o,optionsCache:n,config:{optionMergeStrategies:i}}=e.appContext,l=n.get(t);let c;return l?c=l:!o.length&&!s&&!r?c=t:(c={},o.length&&o.forEach(d=>_s(c,d,i,!0)),_s(c,t,i)),W(t)&&n.set(t,c),c}function _s(e,t,s,r=!1){const{mixins:o,extends:n}=t;n&&_s(e,n,s,!0),o&&o.forEach(i=>_s(e,i,s,!0));for(const i in t)if(!(r&&i==="expose")){const l=zi[i]||s&&s[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const zi={data:xo,props:So,emits:So,methods:Rt,computed:Rt,beforeCreate:ae,created:ae,beforeMount:ae,mounted:ae,beforeUpdate:ae,updated:ae,beforeDestroy:ae,beforeUnmount:ae,destroyed:ae,unmounted:ae,activated:ae,deactivated:ae,errorCaptured:ae,serverPrefetch:ae,components:Rt,directives:Rt,watch:Ji,provide:xo,inject:Gi};function xo(e,t){return t?e?function(){return ee(L(e)?e.call(this,this):e,L(t)?t.call(this,this):t)}:t:e}function Gi(e,t){return Rt(or(e),or(t))}function or(e){if(R(e)){const t={};for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ue(t)}Modifiers`]||e[`${ye(t)}Modifiers`];function Qi(e,t,...s){if(e.isUnmounted)return;const r=e.vnode.props||G;let o=s;const n=t.startsWith("update:"),i=n&&Zi(r,t.slice(7));i&&(i.trim&&(o=s.map(u=>X(u)?u.trim():u)),i.number&&(o=o.map(Fn)));let l,c=r[l=Ms(t)]||r[l=Ms(ue(t))];!c&&n&&(c=r[l=Ms(ye(t))]),c&&Ae(c,e,6,o);const d=r[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ae(d,e,6,o)}}const el=new WeakMap;function Co(e,t,s=!1){const r=s?el:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const n=e.emits;let i={},l=!1;if(!L(e)){const c=d=>{const u=Co(d,t,!0);u&&(l=!0,ee(i,u))};!s&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!n&&!l?(W(e)&&r.set(e,null),null):(R(n)?n.forEach(c=>i[c]=null):ee(i,n),W(e)&&r.set(e,i),i)}function gs(e,t){return!e||!Bt(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),H(e,t[0].toLowerCase()+t.slice(1))||H(e,ye(t))||H(e,t))}function oa(){}function To(e){const{type:t,vnode:s,proxy:r,withProxy:o,propsOptions:[n],slots:i,attrs:l,emit:c,render:d,renderCache:u,props:p,data:A,setupState:C,ctx:U,inheritAttrs:$}=e,Y=cs(e);let V,F;try{if(s.shapeFlag&4){const E=o||r,Q=E;V=Le(d.call(Q,E,u,p,C,A,U)),F=l}else{const E=t;V=Le(E.length>1?E(p,{attrs:l,slots:i,emit:c}):E(p,null)),F=t.props?l:tl(l)}}catch(E){Ke.length=0,is(E,e,1),V=Ce(ke)}let N=V;if(F&&$!==!1){const E=Object.keys(F),{shapeFlag:Q}=N;E.length&&Q&7&&(n&&E.some(Vt)&&(F=sl(F,n)),N=bt(N,F,!1,!0))}if(s.dirs&&(N=bt(N,null,!1,!0),N.dirs=N.dirs?N.dirs.concat(s.dirs):s.dirs),s.transition){const E=fs(N.type)&&fo(N)||N;Zs(E,s.transition)}return V=N,cs(Y),V}const tl=e=>{let t;for(const s in e)(s==="class"||s==="style"||Bt(s))&&((t||(t={}))[s]=e[s]);return t},sl=(e,t)=>{const s={};for(const r in e)(!Vt(r)||!(r.slice(9)in t))&&(s[r]=e[r]);return s};function rl(e,t,s){const{props:r,children:o,component:n}=e,{props:i,children:l,patchFlag:c}=t,d=n.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&c>=0){if(c&1024)return!0;if(c&16)return r?Eo(r,i,d):!!i;if(c&8){const u=t.dynamicProps;for(let p=0;pObject.create(Oo),Mo=e=>Object.getPrototypeOf(e)===Oo;function nl(e,t,s,r=!1){const o={},n=Ro();e.propsDefaults=Object.create(null),ko(e,t,o,n);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);s?e.props=r?o:ci(o):e.type.props?e.props=o:e.props=n,e.attrs=n}function il(e,t,s,r){const{props:o,attrs:n,vnode:{patchFlag:i}}=e,l=D(o),[c]=e.propsOptions;let d=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let p=0;p{c=!0;const[A,C]=Lo(p,t,!0);ee(i,A),C&&l.push(...C)};!s&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!n&&!c)return W(e)&&r.set(e,ft),ft;if(R(n))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",lr=e=>R(e)?e.map(Le):[Le(e)],cl=(e,t,s)=>{if(t._n)return t;const r=Si((...o)=>lr(t(...o)),s);return r._c=!1,r},Fo=(e,t,s)=>{const r=e._ctx;for(const o in e){if(ir(o))continue;const n=e[o];if(L(n))t[o]=cl(o,n,r);else if(n!=null){const i=lr(n);t[o]=()=>i}}},No=(e,t)=>{const s=lr(t);e.slots.default=()=>s},jo=(e,t,s)=>{for(const r in t)(s||!ir(r))&&(e[r]=t[r])},al=(e,t,s)=>{const r=e.slots=Ro();if(e.vnode.shapeFlag&32){const o=t._;o?(jo(r,t,s),s&&Tr(r,"_",o,!0)):Fo(t,r)}else t&&No(e,t)},fl=(e,t,s)=>{const{vnode:r,slots:o}=e;let n=!0,i=G;if(r.shapeFlag&32){const l=t._;l?s&&l===1?n=!1:jo(o,t,s):(n=!t.$stable,Fo(t,o)),i=t}else t&&(No(e,t),i={default:1});if(n)for(const l in o)!ir(l)&&i[l]==null&&delete o[l]},he=_l;function ul(e){return dl(e)}function dl(e,t){const s=zt();s.__VUE__=!0;const{insert:r,remove:o,patchProp:n,createElement:i,createText:l,createComment:c,setText:d,setElementText:u,parentNode:p,nextSibling:A,setScopeId:C=Te,insertStaticContent:U}=e,$=(a,f,h,w=null,m=null,_=null,x=void 0,v=null,y=!!f.dynamicChildren)=>{if(a===f)return;a&&!kt(a,f)&&(w=Ts(a),Fe(a,m,_,!0),a=null),f.patchFlag===-2&&(y=!1,f.dynamicChildren=null);const{type:g,ref:O,shapeFlag:S}=f;switch(g){case ms:Y(a,f,h,w);break;case ke:V(a,f,h,w);break;case ar:a==null&&F(f,h,w,x);break;case pe:P(a,f,h,w,m,_,x,v,y);break;default:S&1?Q(a,f,h,w,m,_,x,v,y):S&6?M(a,f,h,w,m,_,x,v,y):(S&64||S&128)&&g.process(a,f,h,w,m,_,x,v,y,Ht)}O!=null&&m?Pt(O,a&&a.ref,_,f||a,!f):O==null&&a&&a.ref!=null&&Pt(a.ref,null,_,a,!0)},Y=(a,f,h,w)=>{if(a==null)r(f.el=l(f.children),h,w);else{const m=f.el=a.el;f.children!==a.children&&d(m,f.children)}},V=(a,f,h,w)=>{a==null?r(f.el=c(f.children||""),h,w):f.el=a.el},F=(a,f,h,w)=>{[a.el,a.anchor]=U(a.children,f,h,w,a.el,a.anchor)},N=({el:a,anchor:f},h,w)=>{let m;for(;a&&a!==f;)m=A(a),r(a,h,w),a=m;r(f,h,w)},E=({el:a,anchor:f})=>{let h;for(;a&&a!==f;)h=A(a),o(a),a=h;o(f)},Q=(a,f,h,w,m,_,x,v,y)=>{if(f.type==="svg"?x="svg":f.type==="math"&&(x="mathml"),a==null)me(f,h,w,m,_,x,v,y);else{const g=a.el&&a.el._isVueCE?a.el:null;try{g&&g._beginPatch(),et(a,f,m,_,x,v,y)}finally{g&&g._endPatch()}}},me=(a,f,h,w,m,_,x,v)=>{let y,g;const{props:O,shapeFlag:S,transition:T,dirs:k}=a;if(y=a.el=i(a.type,_,O&&O.is,O),S&8?u(y,a.children):S&16&&I(a.children,y,null,w,m,cr(a,_),x,v),k&&ot(a,null,w,"created"),be(y,a,a.scopeId,x,w),O){for(const z in O)z!=="value"&&!$t(z)&&n(y,z,null,O[z],_,w);"value"in O&&n(y,"value",null,O.value,_),(g=O.onVnodeBeforeMount)&&Ie(g,w,a)}k&&ot(a,null,w,"beforeMount");const j=hl(m,T);j&&T.beforeEnter(y),r(y,f,h),((g=O&&O.onVnodeMounted)||j||k)&&he(()=>{try{g&&Ie(g,w,a),j&&T.enter(y),k&&ot(a,null,w,"mounted")}finally{}},m)},be=(a,f,h,w,m)=>{if(h&&C(a,h),w)for(let _=0;_{for(let g=y;g{const v=f.el=a.el;let{patchFlag:y,dynamicChildren:g,dirs:O}=f;y|=a.patchFlag&16;const S=a.props||G,T=f.props||G;let k;if(h&&nt(h,!1),(k=T.onVnodeBeforeUpdate)&&Ie(k,h,f,a),O&&ot(f,a,h,"beforeUpdate"),h&&nt(h,!0),g&&(!a.dynamicChildren||a.dynamicChildren.length!==g.length)&&(y=0,x=!1,g=null),(S.innerHTML&&T.innerHTML==null||S.textContent&&T.textContent==null)&&u(v,""),g?Je(a.dynamicChildren,g,v,h,w,cr(f,m),_):x||B(a,f,v,null,h,w,cr(f,m),_,!1),y>0){if(y&16)b(v,S,T,h,m);else if(y&2&&S.class!==T.class&&n(v,"class",null,T.class,m),y&4&&n(v,"style",S.style,T.style,m),y&8){const j=f.dynamicProps;for(let z=0;z{k&&Ie(k,h,f,a),O&&ot(f,a,h,"updated")},w)},Je=(a,f,h,w,m,_,x)=>{for(let v=0;v{if(f!==h){if(f!==G)for(const _ in f)!$t(_)&&!(_ in h)&&n(a,_,f[_],null,m,w);for(const _ in h){if($t(_))continue;const x=h[_],v=f[_];x!==v&&_!=="value"&&n(a,_,v,x,m,w)}"value"in h&&n(a,"value",f.value,h.value,m)}},P=(a,f,h,w,m,_,x,v,y)=>{const g=f.el=a?a.el:l(""),O=f.anchor=a?a.anchor:l("");let{patchFlag:S,dynamicChildren:T,slotScopeIds:k}=f;k&&(v=v?v.concat(k):k),a==null?(r(g,h,w),r(O,h,w),I(f.children||[],h,O,m,_,x,v,y)):S>0&&S&64&&T&&a.dynamicChildren&&a.dynamicChildren.length===T.length?(Je(a.dynamicChildren,T,h,m,_,x,v),(f.key!=null||m&&f===m.subTree)&&Do(a,f,!0)):B(a,f,h,O,m,_,x,v,y)},M=(a,f,h,w,m,_,x,v,y)=>{f.slotScopeIds=v,a==null?f.shapeFlag&512?m.ctx.activate(f,h,w,x,y):te(f,h,w,m,_,x,y):re(a,f,y)},te=(a,f,h,w,m,_,x)=>{const v=a.component=vl(a,w,m);if(Qs(a)&&(v.ctx.renderer=Ht),xl(v,!1,x),v.asyncDep){if(m&&m.registerDep(v,Z,x),!a.el){const y=v.subTree=Ce(ke);V(null,y,f,h),a.placeholder=y.el}}else Z(v,a,f,h,m,_,x)},re=(a,f,h)=>{const w=f.component=a.component;if(rl(a,f,h))if(w.asyncDep&&!w.asyncResolved){K(w,f,h);return}else w.next=f,w.update();else f.el=a.el,w.vnode=f},Z=(a,f,h,w,m,_,x)=>{const v=()=>{if(a.isMounted){let{next:S,bu:T,u:k,parent:j,vnode:z}=a;{const je=Ho(a);if(je){S&&(S.el=z.el,K(a,S,x)),je.asyncDep.then(()=>{he(()=>{a.isUnmounted||g()},m)});return}}let q=S,se;nt(a,!1),S?(S.el=z.el,K(a,S,x)):S=z,T&&ks(T),(se=S.props&&S.props.onVnodeBeforeUpdate)&&Ie(se,j,S,z),nt(a,!0);const ie=To(a),Ne=a.subTree;a.subTree=ie,$(Ne,ie,p(Ne.el),Ts(Ne),a,m,_),S.el=ie.el,q===null&&ol(a,ie.el),k&&he(k,m),(se=S.props&&S.props.onVnodeUpdated)&&he(()=>Ie(se,j,S,z),m)}else{let S;const{el:T,props:k}=f,{bm:j,m:z,parent:q,root:se,type:ie}=a,Ne=gt(f);nt(a,!1),j&&ks(j),!Ne&&(S=k&&k.onVnodeBeforeMount)&&Ie(S,q,f),nt(a,!0);{se.ce&&se.ce._hasShadowRoot()&&se.ce._injectChildStyle(ie,a.parent?a.parent.type:void 0);const je=a.subTree=To(a);$(null,je,h,w,a,m,_),f.el=je.el}if(z&&he(z,m),!Ne&&(S=k&&k.onVnodeMounted)){const je=f;he(()=>Ie(S,q,je),m)}(f.shapeFlag&256||q&>(q.vnode)&&q.vnode.shapeFlag&256)&&a.a&&he(a.a,m),a.isMounted=!0,f=h=w=null}};a.scope.on();const y=a.effect=new Lr(v);a.scope.off();const g=a.update=y.run.bind(y),O=a.job=y.runIfDirty.bind(y);O.i=a,O.id=a.uid,y.scheduler=()=>Js(O),nt(a,!0),g()},K=(a,f,h)=>{f.component=a;const w=a.vnode.props;a.vnode=f,a.next=null,il(a,f.props,w,h),fl(a,f.children,h),Pe(),no(a),Oe()},B=(a,f,h,w,m,_,x,v,y=!1)=>{const g=a&&a.children,O=a?a.shapeFlag:0,S=f.children,{patchFlag:T,shapeFlag:k}=f;if(T>0){if(T&128){Cs(g,S,h,w,m,_,x,v,y);return}else if(T&256){ct(g,S,h,w,m,_,x,v,y);return}}k&8?(O&16&&Dt(g,m,_),S!==g&&u(h,S)):O&16?k&16?Cs(g,S,h,w,m,_,x,v,y):Dt(g,m,_,!0):(O&8&&u(h,""),k&16&&I(S,h,w,m,_,x,v,y))},ct=(a,f,h,w,m,_,x,v,y)=>{a=a||ft,f=f||ft;const g=a.length,O=f.length,S=Math.min(g,O);let T;for(T=0;TO?Dt(a,m,_,!0,!1,S):I(f,h,w,m,_,x,v,y,S)},Cs=(a,f,h,w,m,_,x,v,y)=>{let g=0;const O=f.length;let S=a.length-1,T=O-1;for(;g<=S&&g<=T;){const k=a[g],j=f[g]=y?qe(f[g]):Le(f[g]);if(kt(k,j))$(k,j,h,null,m,_,x,v,y);else break;g++}for(;g<=S&&g<=T;){const k=a[S],j=f[T]=y?qe(f[T]):Le(f[T]);if(kt(k,j))$(k,j,h,null,m,_,x,v,y);else break;S--,T--}if(g>S){if(g<=T){const k=T+1,j=kT)for(;g<=S;)Fe(a[g],m,_,!0),g++;else{const k=g,j=g,z=new Map;for(g=j;g<=T;g++){const we=f[g]=y?qe(f[g]):Le(f[g]);we.key!=null&&z.set(we.key,g)}let q,se=0;const ie=T-j+1;let Ne=!1,je=0;const Ut=new Array(ie);for(g=0;g=ie){Fe(we,m,_,!0);continue}let De;if(we.key!=null)De=z.get(we.key);else for(q=j;q<=T;q++)if(Ut[q-j]===0&&kt(we,f[q])){De=q;break}De===void 0?Fe(we,m,_,!0):(Ut[De-j]=g+1,De>=je?je=De:Ne=!0,$(we,f[De],h,null,m,_,x,v,y),se++)}const Pn=Ne?pl(Ut):ft;for(q=Pn.length-1,g=ie-1;g>=0;g--){const we=j+g,De=f[we],On=f[we+1],Rn=we+1{const{el:_,type:x,transition:v,children:y,shapeFlag:g}=a;if(g&6){at(a.component.subTree,f,h,w);return}if(g&128){a.suspense.move(f,h,w);return}if(g&64){x.move(a,f,h,Ht);return}if(x===pe){r(_,f,h);for(let S=0;Sv.enter(_),m));else{const{leave:S,delayLeave:T,afterLeave:k}=v,j=()=>{a.ctx.isUnmounted?o(_):r(_,f,h)},z=()=>{const q=_._isLeaving||!!_[Xs];_._isLeaving&&_[Xs](!0),v.persisted&&!q?j():S(_,()=>{j(),k&&k()})};T?T(_,j,z):z()}else r(_,f,h)},Fe=(a,f,h,w=!1,m=!1)=>{const{type:_,props:x,ref:v,children:y,dynamicChildren:g,shapeFlag:O,patchFlag:S,dirs:T,cacheIndex:k,memo:j}=a;if(S===-2&&(m=!1),v!=null&&(Pe(),Pt(v,null,h,a,!0),Oe()),k!=null&&(f.renderCache[k]=void 0),O&256){f.ctx.deactivate(a);return}const z=O&1&&T,q=!gt(a);let se;if(q&&(se=x&&x.onVnodeBeforeUnmount)&&Ie(se,f,a),O&6)ea(a.component,h,w);else{if(O&128){a.suspense.unmount(h,w);return}z&&ot(a,null,f,"beforeUnmount"),O&64?a.type.remove(a,f,h,Ht,w):g&&!g.hasOnce&&(_!==pe||S>0&&S&64)?Dt(g,f,h,!1,!0):(_===pe&&S&384||!m&&O&16)&&Dt(y,f,h),w&&Tn(a)}const ie=j!=null&&k==null;(q&&(se=x&&x.onVnodeUnmounted)||z||ie)&&he(()=>{se&&Ie(se,f,a),z&&ot(a,null,f,"unmounted"),ie&&(a.el=null)},h)},Tn=a=>{const{type:f,el:h,anchor:w,transition:m}=a;if(f===pe){Qc(h,w);return}if(f===ar){E(a);return}const _=()=>{o(h),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(a.shapeFlag&1&&m&&!m.persisted){const{leave:x,delayLeave:v}=m,y=()=>x(h,_);v?v(a.el,_,y):y()}else _()},Qc=(a,f)=>{let h;for(;a!==f;)h=A(a),o(a),a=h;o(f)},ea=(a,f,h)=>{const{bum:w,scope:m,job:_,subTree:x,um:v,m:y,a:g}=a;Uo(y),Uo(g),w&&ks(w),m.stop(),_&&(_.flags|=8,Fe(x,a,f,h)),v&&he(v,f),he(()=>{a.isUnmounted=!0},f)},Dt=(a,f,h,w=!1,m=!1,_=0)=>{for(let x=_;x{if(a.shapeFlag&6)return Ts(a.component.subTree);if(a.shapeFlag&128)return a.suspense.next();const f=A(a.anchor||a.el),h=f&&f[Oi];return h?A(h):f};let $r=!1;const En=(a,f,h)=>{let w;a==null?f._vnode&&(Fe(f._vnode,null,null,!0),w=f._vnode.component):$(f._vnode||null,a,f,null,null,null,h),f._vnode=a,$r||($r=!0,no(w),io(),$r=!1)},Ht={p:$,um:Fe,m:at,r:Tn,mt:te,mc:I,pc:B,pbc:Je,n:Ts,o:e};return{render:En,hydrate:void 0,createApp:Xi(En)}}function cr({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function nt({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function hl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Do(e,t,s=!1){const r=e.children,o=t.children;if(R(r)&&R(o))for(let n=0;n>1,e[s[l]]0&&(t[r]=s[n-1]),s[n]=r)}}for(n=s.length,i=s[n-1];n-- >0;)s[n]=i,i=t[i];return s}function Ho(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ho(t)}function Uo(e){if(e)for(let t=0;te.__isSuspense;function _l(e,t){t&&t.pendingBranch?R(e)?t.effects.push(...e):t.effects.push(e):xi(e)}const pe=Symbol.for("v-fgt"),ms=Symbol.for("v-txt"),ke=Symbol.for("v-cmt"),ar=Symbol.for("v-stc"),Ke=[];let _e=null;function ge(e=!1){Ke.push(_e=e?null:[])}function fr(){Ke.pop(),_e=Ke[Ke.length-1]||null}let Mt=1;function Ko(e,t=!1){Mt+=e,e<0&&_e&&t&&(_e.hasOnce=!0)}function Wo(e){return e.dynamicChildren=Mt>0?_e||ft:null,fr(),Mt>0&&_e&&_e.push(e),e}function We(e,t,s,r,o,n){return Wo(it(e,t,s,r,o,n,!0))}function bs(e,t,s,r,o){return Wo(Ce(e,t,s,r,o,!0))}function ur(e){return e?e.__v_isVNode===!0:!1}function kt(e,t){return e.type===t.type&&e.key===t.key}const qo=({key:e})=>e??null,ws=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?X(e)||ne(e)||L(e)?{i:de,r:e,k:t,f:!!s}:e:null);function it(e,t=null,s=null,r=0,o=null,n=e===pe?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&qo(t),ref:t&&ws(t),scopeId:co,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:n,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:de};return l?($s(c,s),n&128&&e.normalize(c)):s&&(c.shapeFlag|=X(s)?8:16),Mt>0&&!i&&_e&&(c.patchFlag>0||n&6)&&c.patchFlag!==32&&_e.push(c),c}const Ce=gl;function gl(e,t=null,s=null,r=0,o=null,n=!1){if((!e||e===Bi)&&(e=ke),ur(e)){const l=bt(e,t,!0);return s&&$s(l,s),Mt>0&&!n&&_e&&(l.shapeFlag&6?_e[_e.indexOf(e)]=l:_e.push(l)),l.patchFlag=-2,l}if(Ol(e)&&(e=e.__vccOpts),t){t=ml(t);let{class:l,style:c}=t;l&&!X(l)&&(t.class=Jt(l)),W(c)&&(zs(c)&&!R(c)&&(c=ee({},c)),t.style=Gt(c))}const i=X(e)?1:Vo(e)?128:fs(e)?64:W(e)?4:L(e)?2:0;return it(e,t,s,r,o,i,n,!0)}function ml(e){return e?zs(e)||Mo(e)?ee({},e):e:null}function bt(e,t,s=!1,r=!1){const{props:o,ref:n,patchFlag:i,children:l,transition:c}=e,d=t?wl(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&qo(d),ref:t&&t.ref?s&&n?R(n)?n.concat(ws(t)):[n,ws(t)]:ws(t):n,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==pe?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&bt(e.ssContent),ssFallback:e.ssFallback&&bt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&Zs(u,c.clone(u)),u}function bl(e=" ",t=0){return Ce(ms,null,e,t)}function ys(e="",t=!1){return t?(ge(),bs(ke,null,e)):Ce(ke,null,e)}function Le(e){return e==null||typeof e=="boolean"?Ce(ke):R(e)?Ce(pe,null,e.slice()):ur(e)?qe(e):Ce(ms,null,String(e))}function qe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:bt(e)}function $s(e,t){let s=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(R(t))s=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),$s(e,o()),o._c&&(o._d=!0));return}else{s=32;const o=t._;!o&&!Mo(t)?t._ctx=de:o===3&&de&&(de.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(L(t)){if(r&65){$s(e,{default:t});return}t={default:t,_ctx:de},s=32}else t=String(t),r&64?(s=16,t=[bl(t)]):s=8;e.children=t,e.shapeFlag|=s}function wl(...e){const t={};for(let s=0;sfe||de;let xs,Lt;{const e=zt(),t=(s,r)=>{let o;return(o=e[s])||(o=e[s]=[]),o.push(r),n=>{o.length>1?o.forEach(i=>i(n)):o[0](n)}};xs=t("__VUE_INSTANCE_SETTERS__",s=>fe=s),Lt=t("__VUE_SSR_SETTERS__",s=>Ft=s)}const It=e=>{const t=fe;return xs(e),e.scope.on(),()=>{e.scope.off(),xs(t)}},zo=()=>{fe&&fe.scope.off(),xs(null)};function Go(e){return e.vnode.shapeFlag&4}let Ft=!1;function xl(e,t=!1,s=!1){t&&Lt(t);const{props:r,children:o}=e.vnode,n=Go(e);nl(e,r,n,t),al(e,o,s||t);const i=n?Sl(e,t):void 0;return t&&Lt(!1),i}function Sl(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ki);const{setup:r}=s;if(r){Pe();const o=e.setupContext=r.length>1?Cl(e):null,n=It(e),i=ht(r,e,0,[e.props,o]),l=Sr(i);if(Oe(),n(),(l||e.sp)&&!gt(e)&&ho(e),l){if(i.then(zo,zo),t)return i.then(c=>{Lt(!0);try{Jo(e,c,t)}finally{Lt(!1)}}).catch(c=>{is(c,e,0)});e.asyncDep=i}else Jo(e,i)}else Yo(e)}function Jo(e,t,s){L(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:W(t)&&(e.setupState=eo(t)),Yo(e)}function Yo(e,t,s){const r=e.type;e.render||(e.render=r.render||Te);{const o=It(e);Pe();try{Wi(e)}finally{Oe(),o()}}}const Al={get(e,t){return le(e,"get",""),e[t]}};function Cl(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Al),slots:e.slots,emit:e.emit,expose:t}}function dr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(eo(ai(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Ot)return Ot[s](e)},has(t,s){return s in t||s in Ot}})):e.proxy}const Tl=/(?:^|[-_])\w/g,El=e=>e.replace(Tl,t=>t.toUpperCase()).replace(/[-_]/g,"");function Pl(e,t=!0){return L(e)?e.displayName||e.name:e.name||t&&e.__name}function Xo(e,t,s=!1){let r=Pl(t);if(!r&&t.__file){const o=t.__file.match(/([^/\\]+)\.\w+$/);o&&(r=o[1])}if(!r&&e){const o=n=>{for(const i in n)if(n[i]===t)return i};r=o(e.components)||e.parent&&o(e.parent.type.components)||o(e.appContext.components)}return r?El(r):s?"App":"Anonymous"}function Ol(e){return L(e)&&"__vccOpts"in e}const ze=(e,t)=>pi(e,t,Ft),Rl="3.5.42";/** +**/const Tt=[];let Gs=!1;function oa(e,...t){if(Gs)return;Gs=!0,Re();const s=Tt.length?Tt[Tt.length-1].component:null,o=s&&s.appContext.config.warnHandler,r=mi();if(o)ht(o,s,11,[e+t.map(n=>{var i,l;return(l=(i=n.toString)==null?void 0:i.call(n))!=null?l:JSON.stringify(n)}).join(""),s&&s.proxy,r.map(({vnode:n})=>`at <${Xr(s,n.type)}>`).join(` +`),r]);else{const n=[`[Vue warn]: ${e}`,...t];r.length&&n.push(` +`,...bi(r)),console.warn(...n)}Oe(),Gs=!1}function mi(){let e=Tt[Tt.length-1];if(!e)return[];const t=[];for(;e;){const s=t[0];s&&s.vnode===e?s.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}function bi(e){const t=[];return e.forEach((s,o)=>{t.push(...o===0?[]:[` +`],...wi(s))}),t}function wi({vnode:e,recurseCount:t}){const s=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,r=` at <${Xr(e.component,e.type,o)}`,n=">"+s;return e.props?[r,...yi(e.props),n]:[r+n]}function yi(e){const t=[],s=Object.keys(e);return s.slice(0,3).forEach(o=>{t.push(...sr(o,e[o]))}),s.length>3&&t.push(" ..."),t}function sr(e,t,s){return X(t)?(t=JSON.stringify(t),s?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?s?t:[`${e}=${t}`]:re(t)?(t=sr(e,H(t.value),!0),s?t:[`${e}=Ref<`,t,">"]):F(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=H(t),s?t:[`${e}=`,t])}function ht(e,t,s,o){try{return o?e(...o):e()}catch(r){ls(r,t,s)}}function Ae(e,t,s,o){if(F(e)){const r=ht(e,t,s,o);return r&&Ao(r)&&r.catch(n=>{ls(n,t,s)}),r}if(k(e)){const r=[];for(let n=0;n>>1,r=ce[o],n=Et(r);n=Et(s)?ce.push(e):ce.splice(vi(t),0,e),e.flags|=1,nr()}}function nr(){cs||(cs=or.then(cr))}function xi(e){if(!k(e))Ze&&e.id===-1?Ze.splice(_t+1,0,e):e.flags&1||(pt.push(e),e.flags|=1);else for(let t=0;tEt(s)-Et(o));if(pt.length=0,Ze){for(let s=0;se.id==null?e.flags&2?-1:1/0:e.id;function cr(e){try{for(ke=0;ke{o._d&&Kr(-1);const n=as(t),i=We.length;let l;try{l=e(...r)}finally{for(let c=We.length;c>i;c--)fo();as(n),o._d&&Kr(1)}return l};return o._n=!0,o._c=!0,o._d=!0,o}function nt(e,t,s,o){const r=e.dirs,n=t&&t.dirs;for(let i=0;i1)return s&&F(t)?t.call(o&&o.proxy):t}}const Ci=Symbol.for("v-scx"),Ti=()=>fs(Ci);function Ei(e,t){return Ys(e,null,t)}function Qe(e,t,s){return Ys(e,t,s)}function Ys(e,t,s=G){const{immediate:o,deep:r,flush:n,once:i}=s,l=ee({},s),c=t&&o||!t&&n!=="post";let d;if(Ft){if(n==="sync"){const E=Ti();d=E.__watcherHandles||(E.__watcherHandles=[])}else if(!c){const E=()=>{};return E.stop=Ee,E.resume=Ee,E.pause=Ee,E}}const u=fe;l.call=(E,V,L)=>Ae(E,u,V,L);let p=!1;n==="post"?l.scheduler=E=>{pe(E,u&&u.suspense)}:n!=="sync"&&(p=!0,l.scheduler=(E,V)=>{V?E():Js(E)}),l.augmentJob=E=>{t&&(E.flags|=4),p&&(E.flags|=2,u&&(E.id=u.uid,E.i=u))};const T=gi(e,t,l);return Ft&&(d?d.push(T):c&&T()),T}function Pi(e,t,s){const o=this.proxy,r=X(e)?e.includes(".")?fr(o,e):()=>o[e]:e.bind(o,o);let n;F(t)?n=t:(n=t.handler,s=t);const i=It(this),l=Ys(r,n.bind(o),s);return i(),l}function fr(e,t){const s=t.split(".");return()=>{let o=e;for(let r=0;re.__isTeleport,Xs=Symbol("_leaveCb");function Oi(e){let t=e[0];if(e.length>1){for(const s of e)if(s.type!==Le){t=s;break}}return t}function ur(e){if(!Qs(e))return us(e.type)&&e.children?Oi(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:s}=e;if(s){if(t&16)return s[0];if(t&32&&F(s.default))return s.default()}}function Zs(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const s=e.component.subTree;Zs(us(s.type)&&ur(s)||s,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function dr(e,t){return F(e)?ee({name:e.name},t,{setup:e}):e}function hr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function pr(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const ds=new WeakMap;function Pt(e,t,s,o,r=!1){if(k(e)){e.forEach((L,Q)=>Pt(L,t&&(k(t)?t[Q]:t),s,o,r));return}if(gt(o)&&!r){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&Pt(e,t,s,o.component.subTree);return}const n=o.shapeFlag&4?ho(o.component):o.el,i=r?null:n,{i:l,r:c}=e,d=t&&t.r,u=l.refs===G?l.refs={}:l.refs,p=l.setupState,T=H(p),E=p===G?xo:L=>pr(u,L)?!1:U(T,L),V=(L,Q)=>!(Q&&pr(u,Q));if(d!=null&&d!==c){if(_r(t),X(d))u[d]=null,E(d)&&(p[d]=null);else if(re(d)){const L=t;V(d,L.k)&&(d.value=null),L.k&&(u[L.k]=null)}}if(F(c))ht(c,l,12,[i,u]);else{const L=X(c),Q=re(c);if(L||Q){const z=()=>{if(e.f){const N=L?E(c)?p[c]:u[c]:V()||!e.k?c.value:u[e.k];if(r)k(N)&&Rs(N,n);else if(k(N))N.includes(n)||N.push(n);else if(L)u[c]=[n],E(c)&&(p[c]=u[c]);else{const C=[n];V(c,e.k)&&(c.value=C),e.k&&(u[e.k]=C)}}else L?(u[c]=i,E(c)&&(p[c]=i)):Q&&(V(c,e.k)&&(c.value=i),e.k&&(u[e.k]=i))};if(i){const N=()=>{z(),ds.delete(e)};N.id=-1,ds.set(e,N),pe(N,s)}else _r(e),z()}}}function _r(e){const t=ds.get(e);t&&(t.flags|=8,ds.delete(e))}Gt().requestIdleCallback,Gt().cancelIdleCallback;const gt=e=>!!e.type.__asyncLoader,Qs=e=>e.type.__isKeepAlive;function Mi(e,t){gr(e,"a",t)}function ki(e,t){gr(e,"da",t)}function gr(e,t,s=fe){const o=e.__wdc||(e.__wdc=()=>{let r=s;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(hs(t,o,s),s){let r=s.parent;for(;r&&r.parent;)Qs(r.parent.vnode)&&Li(o,t,s,r),r=r.parent}}function Li(e,t,s,o){const r=hs(t,e,o,!0);mr(()=>{Rs(o[t],r)},s)}function hs(e,t,s=fe,o=!1){if(s){const r=s[e]||(s[e]=[]),n=t.__weh||(t.__weh=(...i)=>{Re();const l=It(s),c=Ae(t,s,e,i);return l(),Oe(),c});return o?r.unshift(n):r.push(n),n}}const Ke=e=>(t,s=fe)=>{(!Ft||e==="sp")&&hs(e,(...o)=>t(...o),s)},Ii=Ke("bm"),ps=Ke("m"),Fi=Ke("bu"),Ni=Ke("u"),eo=Ke("bum"),mr=Ke("um"),ji=Ke("sp"),Di=Ke("rtg"),Hi=Ke("rtc");function Ui(e,t=fe){hs("ec",e,t)}const Bi=Symbol.for("v-ndc");function Vi(e,t,s,o){let r;const n=s,i=k(e);if(i||X(e)){const l=i&&ot(e);let c=!1,d=!1;l&&(c=!ye(e),d=Ve(e),e=Qt(e)),r=new Array(e.length);for(let u=0,p=e.length;ut(l,c,void 0,n));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,d=l.length;c0;return t!=="default"&&(d.name=t),me(),ws(_e,null,[Ce("slot",d,o)],u?-2:64)}let i=e[t];i&&i._c&&(i._d=!1);const l=We.length;me();let c;try{const d=i&&br(i(s)),u=s.key||n||d&&d.key;c=ws(_e,{key:(u&&!ve(u)?u:`_${t}`)+(!d&&o?"_fb":"")},d||(o?o():[]),d&&e._===1?64:-2)}catch(d){for(let u=We.length;u>l;u--)fo();throw d}finally{i&&i._c&&(i._d=!0)}return c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),c}function br(e){return e.some(t=>uo(t)?!(t.type===Le||t.type===_e&&!br(t.children)):!0)?e:null}const to=e=>e?Gr(e)?ho(e):to(e.parent):null,Rt=ee(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>to(e.parent),$root:e=>to(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>vr(e),$forceUpdate:e=>e.f||(e.f=()=>{Js(e.update)}),$nextTick:e=>e.n||(e.n=rr.bind(e.proxy)),$watch:e=>Pi.bind(e)}),so=(e,t)=>e!==G&&!e.__isScriptSetup&&U(e,t),Ki={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:o,data:r,props:n,accessCache:i,type:l,appContext:c}=e;if(t[0]!=="$"){const T=i[t];if(T!==void 0)switch(T){case 1:return o[t];case 2:return r[t];case 4:return s[t];case 3:return n[t]}else{if(so(o,t))return i[t]=1,o[t];if(r!==G&&U(r,t))return i[t]=2,r[t];if(U(n,t))return i[t]=3,n[t];if(s!==G&&U(s,t))return i[t]=4,s[t];oo&&(i[t]=0)}}const d=Rt[t];let u,p;if(d)return t==="$attrs"&&le(e.attrs,"get",""),d(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(s!==G&&U(s,t))return i[t]=4,s[t];if(p=c.config.globalProperties,U(p,t))return p[t]},set({_:e},t,s){const{data:o,setupState:r,ctx:n}=e;return so(r,t)?(r[t]=s,!0):o!==G&&U(o,t)?(o[t]=s,!0):U(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(n[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:o,appContext:r,props:n,type:i}},l){let c;return!!(s[l]||e!==G&&l[0]!=="$"&&U(e,l)||so(t,l)||U(n,l)||U(o,l)||U(Rt,l)||U(r.config.globalProperties,l)||(c=i.__cssModules)&&c[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:U(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function wr(e){return k(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let oo=!0;function Wi(e){const t=vr(e),s=e.proxy,o=e.ctx;oo=!1,t.beforeCreate&&yr(t.beforeCreate,e,"bc");const{data:r,computed:n,methods:i,watch:l,provide:c,inject:d,created:u,beforeMount:p,mounted:T,beforeUpdate:E,updated:V,activated:L,deactivated:Q,beforeDestroy:z,beforeUnmount:N,destroyed:C,unmounted:P,render:Z,renderTracked:$e,renderTriggered:ue,errorCaptured:Te,serverPrefetch:at,expose:Ne,inheritAttrs:et,components:B,directives:tt,filters:Dt}=t;if(d&&zi(d,o,null),i)for(const x in i){const M=i[x];F(M)&&(o[x]=M.bind(s))}if(r){const x=r.call(s,s);K(x)&&(e.data=os(x))}if(oo=!0,n)for(const x in n){const M=n[x],j=F(M)?M.bind(s,s):F(M.get)?M.get.bind(s,s):Ee,Y=!F(M)&&F(M.set)?M.set.bind(s):Ee,se=Ge({get:j,set:Y});Object.defineProperty(o,x,{enumerable:!0,configurable:!0,get:()=>se.value,set:ne=>se.value=ne})}if(l)for(const x in l)$r(l[x],o,s,x);if(c){const x=F(c)?c.call(s):c;Reflect.ownKeys(x).forEach(M=>{Ai(M,x[M])})}u&&yr(u,e,"c");function S(x,M){k(M)?M.forEach(j=>x(j.bind(s))):M&&x(M.bind(s))}if(S(Ii,p),S(ps,T),S(Fi,E),S(Ni,V),S(Mi,L),S(ki,Q),S(Ui,Te),S(Hi,$e),S(Di,ue),S(eo,N),S(mr,P),S(ji,at),k(Ne))if(Ne.length){const x=e.exposed||(e.exposed={});Ne.forEach(M=>{Object.defineProperty(x,M,{get:()=>s[M],set:j=>s[M]=j,enumerable:!0})})}else e.exposed||(e.exposed={});Z&&e.render===Ee&&(e.render=Z),et!=null&&(e.inheritAttrs=et),B&&(e.components=B),tt&&(e.directives=tt),at&&hr(e)}function zi(e,t,s=Ee){k(e)&&(e=ro(e));for(const o in e){const r=e[o];let n;K(r)?"default"in r?n=fs(r.from||o,r.default,!0):n=fs(r.from||o):n=fs(r),re(n)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>n.value,set:i=>n.value=i}):t[o]=n}}function yr(e,t,s){Ae(k(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,s)}function $r(e,t,s,o){let r=o.includes(".")?fr(s,o):()=>s[o];if(X(e)){const n=t[e];F(n)&&Qe(r,n)}else if(F(e))Qe(r,e.bind(s));else if(K(e))if(k(e))e.forEach(n=>$r(n,t,s,o));else{const n=F(e.handler)?e.handler.bind(s):t[e.handler];F(n)&&Qe(r,n,e)}}function vr(e){const t=e.type,{mixins:s,extends:o}=t,{mixins:r,optionsCache:n,config:{optionMergeStrategies:i}}=e.appContext,l=n.get(t);let c;return l?c=l:!r.length&&!s&&!o?c=t:(c={},r.length&&r.forEach(d=>gs(c,d,i,!0)),gs(c,t,i)),K(t)&&n.set(t,c),c}function gs(e,t,s,o=!1){const{mixins:r,extends:n}=t;n&&gs(e,n,s,!0),r&&r.forEach(i=>gs(e,i,s,!0));for(const i in t)if(!(o&&i==="expose")){const l=qi[i]||s&&s[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const qi={data:xr,props:Sr,emits:Sr,methods:Ot,computed:Ot,beforeCreate:ae,created:ae,beforeMount:ae,mounted:ae,beforeUpdate:ae,updated:ae,beforeDestroy:ae,beforeUnmount:ae,destroyed:ae,unmounted:ae,activated:ae,deactivated:ae,errorCaptured:ae,serverPrefetch:ae,components:Ot,directives:Ot,watch:Ji,provide:xr,inject:Gi};function xr(e,t){return t?e?function(){return ee(F(e)?e.call(this,this):e,F(t)?t.call(this,this):t)}:t:e}function Gi(e,t){return Ot(ro(e),ro(t))}function ro(e){if(k(e)){const t={};for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${de(t)}Modifiers`]||e[`${we(t)}Modifiers`];function Qi(e,t,...s){if(e.isUnmounted)return;const o=e.vnode.props||G;let r=s;const n=t.startsWith("update:"),i=n&&Zi(o,t.slice(7));i&&(i.trim&&(r=s.map(u=>X(u)?u.trim():u)),i.number&&(r=r.map(Fn)));let l,c=o[l=Ms(t)]||o[l=Ms(de(t))];!c&&n&&(c=o[l=Ms(we(t))]),c&&Ae(c,e,6,r);const d=o[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ae(d,e,6,r)}}const el=new WeakMap;function Cr(e,t,s=!1){const o=s?el:t.emitsCache,r=o.get(e);if(r!==void 0)return r;const n=e.emits;let i={},l=!1;if(!F(e)){const c=d=>{const u=Cr(d,t,!0);u&&(l=!0,ee(i,u))};!s&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!n&&!l?(K(e)&&o.set(e,null),null):(k(n)?n.forEach(c=>i[c]=null):ee(i,n),K(e)&&o.set(e,i),i)}function ms(e,t){return!e||!Vt(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),U(e,t[0].toLowerCase()+t.slice(1))||U(e,we(t))||U(e,t))}function ra(){}function Tr(e){const{type:t,vnode:s,proxy:o,withProxy:r,propsOptions:[n],slots:i,attrs:l,emit:c,render:d,renderCache:u,props:p,data:T,setupState:E,ctx:V,inheritAttrs:L}=e,Q=as(e);let z,N;try{if(s.shapeFlag&4){const P=r||o,Z=P;z=Ie(d.call(Z,P,u,p,E,T,V)),N=l}else{const P=t;z=Ie(P.length>1?P(p,{attrs:l,slots:i,emit:c}):P(p,null)),N=t.props?l:tl(l)}}catch(P){We.length=0,ls(P,e,1),z=Ce(Le)}let C=z;if(N&&L!==!1){const P=Object.keys(N),{shapeFlag:Z}=C;P.length&&Z&7&&(n&&P.some(Kt)&&(N=sl(N,n)),C=bt(C,N,!1,!0))}if(s.dirs&&(C=bt(C,null,!1,!0),C.dirs=C.dirs?C.dirs.concat(s.dirs):s.dirs),s.transition){const P=us(C.type)&&ur(C)||C;Zs(P,s.transition)}return z=C,as(Q),z}const tl=e=>{let t;for(const s in e)(s==="class"||s==="style"||Vt(s))&&((t||(t={}))[s]=e[s]);return t},sl=(e,t)=>{const s={};for(const o in e)(!Kt(o)||!(o.slice(9)in t))&&(s[o]=e[o]);return s};function ol(e,t,s){const{props:o,children:r,component:n}=e,{props:i,children:l,patchFlag:c}=t,d=n.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&c>=0){if(c&1024)return!0;if(c&16)return o?Er(o,i,d):!!i;if(c&8){const u=t.dynamicProps;for(let p=0;pObject.create(Rr),Mr=e=>Object.getPrototypeOf(e)===Rr;function nl(e,t,s,o=!1){const r={},n=Or();e.propsDefaults=Object.create(null),kr(e,t,r,n);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);s?e.props=o?r:ci(r):e.type.props?e.props=r:e.props=n,e.attrs=n}function il(e,t,s,o){const{props:r,attrs:n,vnode:{patchFlag:i}}=e,l=H(r),[c]=e.propsOptions;let d=!1;if((o||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let p=0;p{c=!0;const[T,E]=Lr(p,t,!0);ee(i,T),E&&l.push(...E)};!s&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!n&&!c)return K(e)&&o.set(e,ft),ft;if(k(n))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",lo=e=>k(e)?e.map(Ie):[Ie(e)],cl=(e,t,s)=>{if(t._n)return t;const o=Si((...r)=>lo(t(...r)),s);return o._c=!1,o},Fr=(e,t,s)=>{const o=e._ctx;for(const r in e){if(io(r))continue;const n=e[r];if(F(n))t[r]=cl(r,n,o);else if(n!=null){const i=lo(n);t[r]=()=>i}}},Nr=(e,t)=>{const s=lo(t);e.slots.default=()=>s},jr=(e,t,s)=>{for(const o in t)(s||!io(o))&&(e[o]=t[o])},al=(e,t,s)=>{const o=e.slots=Or();if(e.vnode.shapeFlag&32){const r=t._;r?(jr(o,t,s),s&&Eo(o,"_",r,!0)):Fr(t,o)}else t&&Nr(e,t)},fl=(e,t,s)=>{const{vnode:o,slots:r}=e;let n=!0,i=G;if(o.shapeFlag&32){const l=t._;l?s&&l===1?n=!1:jr(r,t,s):(n=!t.$stable,Fr(t,r)),i=t}else t&&(Nr(e,t),i={default:1});if(n)for(const l in r)!io(l)&&i[l]==null&&delete r[l]},pe=_l;function ul(e){return dl(e)}function dl(e,t){const s=Gt();s.__VUE__=!0;const{insert:o,remove:r,patchProp:n,createElement:i,createText:l,createComment:c,setText:d,setElementText:u,parentNode:p,nextSibling:T,setScopeId:E=Ee,insertStaticContent:V}=e,L=(a,f,h,w=null,b=null,_=null,v=void 0,$=null,y=!!f.dynamicChildren)=>{if(a===f)return;a&&!kt(a,f)&&(w=Ts(a),ne(a,b,_,!0),a=null),f.patchFlag===-2&&(y=!1,f.dynamicChildren=null);const{type:m,ref:O,shapeFlag:A}=f;switch(m){case bs:Q(a,f,h,w);break;case Le:z(a,f,h,w);break;case ao:a==null&&N(f,h,w,v);break;case _e:B(a,f,h,w,b,_,v,$,y);break;default:A&1?Z(a,f,h,w,b,_,v,$,y):A&6?tt(a,f,h,w,b,_,v,$,y):(A&64||A&128)&&m.process(a,f,h,w,b,_,v,$,y,Ut)}O!=null&&b?Pt(O,a&&a.ref,_,f||a,!f):O==null&&a&&a.ref!=null&&Pt(a.ref,null,_,a,!0)},Q=(a,f,h,w)=>{if(a==null)o(f.el=l(f.children),h,w);else{const b=f.el=a.el;f.children!==a.children&&d(b,f.children)}},z=(a,f,h,w)=>{a==null?o(f.el=c(f.children||""),h,w):f.el=a.el},N=(a,f,h,w)=>{[a.el,a.anchor]=V(a.children,f,h,w,a.el,a.anchor)},C=({el:a,anchor:f},h,w)=>{let b;for(;a&&a!==f;)b=T(a),o(a,h,w),a=b;o(f,h,w)},P=({el:a,anchor:f})=>{let h;for(;a&&a!==f;)h=T(a),r(a),a=h;r(f)},Z=(a,f,h,w,b,_,v,$,y)=>{if(f.type==="svg"?v="svg":f.type==="math"&&(v="mathml"),a==null)$e(f,h,w,b,_,v,$,y);else{const m=a.el&&a.el._isVueCE?a.el:null;try{m&&m._beginPatch(),at(a,f,b,_,v,$,y)}finally{m&&m._endPatch()}}},$e=(a,f,h,w,b,_,v,$)=>{let y,m;const{props:O,shapeFlag:A,transition:R,dirs:I}=a;if(y=a.el=i(a.type,_,O&&O.is,O),A&8?u(y,a.children):A&16&&Te(a.children,y,null,w,b,co(a,_),v,$),I&&nt(a,null,w,"created"),ue(y,a,a.scopeId,v,w),O){for(const q in O)q!=="value"&&!$t(q)&&n(y,q,null,O[q],_,w);"value"in O&&n(y,"value",null,O.value,_),(m=O.onVnodeBeforeMount)&&Fe(m,w,a)}I&&nt(a,null,w,"beforeMount");const D=hl(b,R);D&&R.beforeEnter(y),o(y,f,h),((m=O&&O.onVnodeMounted)||D||I)&&pe(()=>{try{m&&Fe(m,w,a),D&&R.enter(y),I&&nt(a,null,w,"mounted")}finally{}},b)},ue=(a,f,h,w,b)=>{if(h&&E(a,h),w)for(let _=0;_{for(let m=y;m{const $=f.el=a.el;let{patchFlag:y,dynamicChildren:m,dirs:O}=f;y|=a.patchFlag&16;const A=a.props||G,R=f.props||G;let I;if(h&&it(h,!1),(I=R.onVnodeBeforeUpdate)&&Fe(I,h,f,a),O&&nt(f,a,h,"beforeUpdate"),h&&it(h,!0),m&&(!a.dynamicChildren||a.dynamicChildren.length!==m.length)&&(y=0,v=!1,m=null),(A.innerHTML&&R.innerHTML==null||A.textContent&&R.textContent==null)&&u($,""),m?Ne(a.dynamicChildren,m,$,h,w,co(f,b),_):v||M(a,f,$,null,h,w,co(f,b),_,!1),y>0){if(y&16)et($,A,R,h,b);else if(y&2&&A.class!==R.class&&n($,"class",null,R.class,b),y&4&&n($,"style",A.style,R.style,b),y&8){const D=f.dynamicProps;for(let q=0;q{I&&Fe(I,h,f,a),O&&nt(f,a,h,"updated")},w)},Ne=(a,f,h,w,b,_,v)=>{for(let $=0;${if(f!==h){if(f!==G)for(const _ in f)!$t(_)&&!(_ in h)&&n(a,_,f[_],null,b,w);for(const _ in h){if($t(_))continue;const v=h[_],$=f[_];v!==$&&_!=="value"&&n(a,_,$,v,b,w)}"value"in h&&n(a,"value",f.value,h.value,b)}},B=(a,f,h,w,b,_,v,$,y)=>{const m=f.el=a?a.el:l(""),O=f.anchor=a?a.anchor:l("");let{patchFlag:A,dynamicChildren:R,slotScopeIds:I}=f;I&&($=$?$.concat(I):I),a==null?(o(m,h,w),o(O,h,w),Te(f.children||[],h,O,b,_,v,$,y)):A>0&&A&64&&R&&a.dynamicChildren&&a.dynamicChildren.length===R.length?(Ne(a.dynamicChildren,R,h,b,_,v,$),(f.key!=null||b&&f===b.subTree)&&Dr(a,f,!0)):M(a,f,h,O,b,_,v,$,y)},tt=(a,f,h,w,b,_,v,$,y)=>{f.slotScopeIds=$,a==null?f.shapeFlag&512?b.ctx.activate(f,h,w,v,y):Dt(f,h,w,b,_,v,y):g(a,f,y)},Dt=(a,f,h,w,b,_,v)=>{const $=a.component=vl(a,w,b);if(Qs(a)&&($.ctx.renderer=Ut),xl($,!1,v),$.asyncDep){if(b&&b.registerDep($,S,v),!a.el){const y=$.subTree=Ce(Le);z(null,y,f,h),a.placeholder=y.el}}else S($,a,f,h,b,_,v)},g=(a,f,h)=>{const w=f.component=a.component;if(ol(a,f,h))if(w.asyncDep&&!w.asyncResolved){x(w,f,h);return}else w.next=f,w.update();else f.el=a.el,w.vnode=f},S=(a,f,h,w,b,_,v)=>{const $=()=>{if(a.isMounted){let{next:A,bu:R,u:I,parent:D,vnode:q}=a;{const De=Hr(a);if(De){A&&(A.el=q.el,x(a,A,v)),De.asyncDep.then(()=>{pe(()=>{a.isUnmounted||m()},b)});return}}let W=A,te;it(a,!1),A?(A.el=q.el,x(a,A,v)):A=q,R&&ks(R),(te=A.props&&A.props.onVnodeBeforeUpdate)&&Fe(te,D,A,q),it(a,!0);const ie=Tr(a),je=a.subTree;a.subTree=ie,L(je,ie,p(je.el),Ts(je),a,b,_),A.el=ie.el,W===null&&rl(a,ie.el),I&&pe(I,b),(te=A.props&&A.props.onVnodeUpdated)&&pe(()=>Fe(te,D,A,q),b)}else{let A;const{el:R,props:I}=f,{bm:D,m:q,parent:W,root:te,type:ie}=a,je=gt(f);it(a,!1),D&&ks(D),!je&&(A=I&&I.onVnodeBeforeMount)&&Fe(A,W,f),it(a,!0);{te.ce&&te.ce._hasShadowRoot()&&te.ce._injectChildStyle(ie,a.parent?a.parent.type:void 0);const De=a.subTree=Tr(a);L(null,De,h,w,a,b,_),f.el=De.el}if(q&&pe(q,b),!je&&(A=I&&I.onVnodeMounted)){const De=f;pe(()=>Fe(A,W,De),b)}(f.shapeFlag&256||W&>(W.vnode)&&W.vnode.shapeFlag&256)&&a.a&&pe(a.a,b),a.isMounted=!0,f=h=w=null}};a.scope.on();const y=a.effect=new Io($);a.scope.off();const m=a.update=y.run.bind(y),O=a.job=y.runIfDirty.bind(y);O.i=a,O.id=a.uid,y.scheduler=()=>Js(O),it(a,!0),m()},x=(a,f,h)=>{f.component=a;const w=a.vnode.props;a.vnode=f,a.next=null,il(a,f.props,w,h),fl(a,f.children,h),Re(),ir(a),Oe()},M=(a,f,h,w,b,_,v,$,y=!1)=>{const m=a&&a.children,O=a?a.shapeFlag:0,A=f.children,{patchFlag:R,shapeFlag:I}=f;if(R>0){if(R&128){Y(m,A,h,w,b,_,v,$,y);return}else if(R&256){j(m,A,h,w,b,_,v,$,y);return}}I&8?(O&16&&Ht(m,b,_),A!==m&&u(h,A)):O&16?I&16?Y(m,A,h,w,b,_,v,$,y):Ht(m,b,_,!0):(O&8&&u(h,""),I&16&&Te(A,h,w,b,_,v,$,y))},j=(a,f,h,w,b,_,v,$,y)=>{a=a||ft,f=f||ft;const m=a.length,O=f.length,A=Math.min(m,O);let R;for(R=0;RO?Ht(a,b,_,!0,!1,A):Te(f,h,w,b,_,v,$,y,A)},Y=(a,f,h,w,b,_,v,$,y)=>{let m=0;const O=f.length;let A=a.length-1,R=O-1;for(;m<=A&&m<=R;){const I=a[m],D=f[m]=y?qe(f[m]):Ie(f[m]);if(kt(I,D))L(I,D,h,null,b,_,v,$,y);else break;m++}for(;m<=A&&m<=R;){const I=a[A],D=f[R]=y?qe(f[R]):Ie(f[R]);if(kt(I,D))L(I,D,h,null,b,_,v,$,y);else break;A--,R--}if(m>A){if(m<=R){const I=R+1,D=IR)for(;m<=A;)ne(a[m],b,_,!0),m++;else{const I=m,D=m,q=new Map;for(m=D;m<=R;m++){const be=f[m]=y?qe(f[m]):Ie(f[m]);be.key!=null&&q.set(be.key,m)}let W,te=0;const ie=R-D+1;let je=!1,De=0;const Bt=new Array(ie);for(m=0;m=ie){ne(be,b,_,!0);continue}let He;if(be.key!=null)He=q.get(be.key);else for(W=D;W<=R;W++)if(Bt[W-D]===0&&kt(be,f[W])){He=W;break}He===void 0?ne(be,b,_,!0):(Bt[He-D]=m+1,He>=De?De=He:je=!0,L(be,f[He],h,null,b,_,v,$,y),te++)}const Pn=je?pl(Bt):ft;for(W=Pn.length-1,m=ie-1;m>=0;m--){const be=D+m,He=f[be],Rn=f[be+1],On=be+1{const{el:_,type:v,transition:$,children:y,shapeFlag:m}=a;if(m&6){se(a.component.subTree,f,h,w);return}if(m&128){a.suspense.move(f,h,w);return}if(m&64){v.move(a,f,h,Ut);return}if(v===_e){o(_,f,h);for(let A=0;A$.enter(_),b));else{const{leave:A,delayLeave:R,afterLeave:I}=$,D=()=>{a.ctx.isUnmounted?r(_):o(_,f,h)},q=()=>{const W=_._isLeaving||!!_[Xs];_._isLeaving&&_[Xs](!0),$.persisted&&!W?D():A(_,()=>{D(),I&&I()})};R?R(_,D,q):q()}else o(_,f,h)},ne=(a,f,h,w=!1,b=!1)=>{const{type:_,props:v,ref:$,children:y,dynamicChildren:m,shapeFlag:O,patchFlag:A,dirs:R,cacheIndex:I,memo:D}=a;if(A===-2&&(b=!1),$!=null&&(Re(),Pt($,null,h,a,!0),Oe()),I!=null&&(f.renderCache[I]=void 0),O&256){f.ctx.deactivate(a);return}const q=O&1&&R,W=!gt(a);let te;if(W&&(te=v&&v.onVnodeBeforeUnmount)&&Fe(te,f,a),O&6)ea(a.component,h,w);else{if(O&128){a.suspense.unmount(h,w);return}q&&nt(a,null,f,"beforeUnmount"),O&64?a.type.remove(a,f,h,Ut,w):m&&!m.hasOnce&&(_!==_e||A>0&&A&64)?Ht(m,f,h,!1,!0):(_===_e&&A&384||!b&&O&16)&&Ht(y,f,h),w&&Tn(a)}const ie=D!=null&&I==null;(W&&(te=v&&v.onVnodeUnmounted)||q||ie)&&pe(()=>{te&&Fe(te,f,a),q&&nt(a,null,f,"unmounted"),ie&&(a.el=null)},h)},Tn=a=>{const{type:f,el:h,anchor:w,transition:b}=a;if(f===_e){Qc(h,w);return}if(f===ao){P(a);return}const _=()=>{r(h),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(a.shapeFlag&1&&b&&!b.persisted){const{leave:v,delayLeave:$}=b,y=()=>v(h,_);$?$(a.el,_,y):y()}else _()},Qc=(a,f)=>{let h;for(;a!==f;)h=T(a),r(a),a=h;r(f)},ea=(a,f,h)=>{const{bum:w,scope:b,job:_,subTree:v,um:$,m:y,a:m}=a;Ur(y),Ur(m),w&&ks(w),b.stop(),_&&(_.flags|=8,ne(v,a,f,h)),$&&pe($,f),pe(()=>{a.isUnmounted=!0},f)},Ht=(a,f,h,w=!1,b=!1,_=0)=>{for(let v=_;v{if(a.shapeFlag&6)return Ts(a.component.subTree);if(a.shapeFlag&128)return a.suspense.next();const f=T(a.anchor||a.el),h=f&&f[Ri];return h?T(h):f};let vo=!1;const En=(a,f,h)=>{let w;a==null?f._vnode&&(ne(f._vnode,null,null,!0),w=f._vnode.component):L(f._vnode||null,a,f,null,null,null,h),f._vnode=a,vo||(vo=!0,ir(w),lr(),vo=!1)},Ut={p:L,um:ne,m:se,r:Tn,mt:Dt,mc:Te,pc:M,pbc:Ne,n:Ts,o:e};return{render:En,hydrate:void 0,createApp:Xi(En)}}function co({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function it({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function hl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Dr(e,t,s=!1){const o=e.children,r=t.children;if(k(o)&&k(r))for(let n=0;n>1,e[s[l]]0&&(t[o]=s[n-1]),s[n]=o)}}for(n=s.length,i=s[n-1];n-- >0;)s[n]=i,i=t[i];return s}function Hr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Hr(t)}function Ur(e){if(e)for(let t=0;te.__isSuspense;function _l(e,t){t&&t.pendingBranch?k(e)?t.effects.push(...e):t.effects.push(e):xi(e)}const _e=Symbol.for("v-fgt"),bs=Symbol.for("v-txt"),Le=Symbol.for("v-cmt"),ao=Symbol.for("v-stc"),We=[];let ge=null;function me(e=!1){We.push(ge=e?null:[])}function fo(){We.pop(),ge=We[We.length-1]||null}let Mt=1;function Kr(e,t=!1){Mt+=e,e<0&&ge&&t&&(ge.hasOnce=!0)}function Wr(e){return e.dynamicChildren=Mt>0?ge||ft:null,fo(),Mt>0&&ge&&ge.push(e),e}function ze(e,t,s,o,r,n){return Wr(lt(e,t,s,o,r,n,!0))}function ws(e,t,s,o,r){return Wr(Ce(e,t,s,o,r,!0))}function uo(e){return e?e.__v_isVNode===!0:!1}function kt(e,t){return e.type===t.type&&e.key===t.key}const zr=({key:e})=>e??null,ys=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?X(e)||re(e)||F(e)?{i:he,r:e,k:t,f:!!s}:e:null);function lt(e,t=null,s=null,o=0,r=null,n=e===_e?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&zr(t),ref:t&&ys(t),scopeId:ar,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:n,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:he};return l?(vs(c,s),n&128&&e.normalize(c)):s&&(c.shapeFlag|=X(s)?8:16),Mt>0&&!i&&ge&&(c.patchFlag>0||n&6)&&c.patchFlag!==32&&ge.push(c),c}const Ce=gl;function gl(e,t=null,s=null,o=0,r=null,n=!1){if((!e||e===Bi)&&(e=Le),uo(e)){const l=bt(e,t,!0);return s&&vs(l,s),Mt>0&&!n&&ge&&(l.shapeFlag&6?ge[ge.indexOf(e)]=l:ge.push(l)),l.patchFlag=-2,l}if(Rl(e)&&(e=e.__vccOpts),t){t=ml(t);let{class:l,style:c}=t;l&&!X(l)&&(t.class=Yt(l)),K(c)&&(qs(c)&&!k(c)&&(c=ee({},c)),t.style=Jt(c))}const i=X(e)?1:Vr(e)?128:us(e)?64:K(e)?4:F(e)?2:0;return lt(e,t,s,o,r,i,n,!0)}function ml(e){return e?qs(e)||Mr(e)?ee({},e):e:null}function bt(e,t,s=!1,o=!1){const{props:r,ref:n,patchFlag:i,children:l,transition:c}=e,d=t?wl(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&zr(d),ref:t&&t.ref?s&&n?k(n)?n.concat(ys(t)):[n,ys(t)]:ys(t):n,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&bt(e.ssContent),ssFallback:e.ssFallback&&bt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&o&&Zs(u,c.clone(u)),u}function bl(e=" ",t=0){return Ce(bs,null,e,t)}function $s(e="",t=!1){return t?(me(),ws(Le,null,e)):Ce(Le,null,e)}function Ie(e){return e==null||typeof e=="boolean"?Ce(Le):k(e)?Ce(_e,null,e.slice()):uo(e)?qe(e):Ce(bs,null,String(e))}function qe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:bt(e)}function vs(e,t){let s=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(k(t))s=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),vs(e,r()),r._c&&(r._d=!0));return}else{s=32;const r=t._;!r&&!Mr(t)?t._ctx=he:r===3&&he&&(he.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(F(t)){if(o&65){vs(e,{default:t});return}t={default:t,_ctx:he},s=32}else t=String(t),o&64?(s=16,t=[bl(t)]):s=8;e.children=t,e.shapeFlag|=s}function wl(...e){const t={};for(let s=0;sfe||he;let Ss,Lt;{const e=Gt(),t=(s,o)=>{let r;return(r=e[s])||(r=e[s]=[]),r.push(o),n=>{r.length>1?r.forEach(i=>i(n)):r[0](n)}};Ss=t("__VUE_INSTANCE_SETTERS__",s=>fe=s),Lt=t("__VUE_SSR_SETTERS__",s=>Ft=s)}const It=e=>{const t=fe;return Ss(e),e.scope.on(),()=>{e.scope.off(),Ss(t)}},qr=()=>{fe&&fe.scope.off(),Ss(null)};function Gr(e){return e.vnode.shapeFlag&4}let Ft=!1;function xl(e,t=!1,s=!1){t&&Lt(t);const{props:o,children:r}=e.vnode,n=Gr(e);nl(e,o,n,t),al(e,r,s||t);const i=n?Sl(e,t):void 0;return t&&Lt(!1),i}function Sl(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ki);const{setup:o}=s;if(o){Re();const r=e.setupContext=o.length>1?Cl(e):null,n=It(e),i=ht(o,e,0,[e.props,r]),l=Ao(i);if(Oe(),n(),(l||e.sp)&&!gt(e)&&hr(e),l){if(i.then(qr,qr),t)return i.then(c=>{Lt(!0);try{Jr(e,c,t)}finally{Lt(!1)}}).catch(c=>{ls(c,e,0)});e.asyncDep=i}else Jr(e,i)}else Yr(e)}function Jr(e,t,s){F(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:K(t)&&(e.setupState=tr(t)),Yr(e)}function Yr(e,t,s){const o=e.type;e.render||(e.render=o.render||Ee);{const r=It(e);Re();try{Wi(e)}finally{Oe(),r()}}}const Al={get(e,t){return le(e,"get",""),e[t]}};function Cl(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Al),slots:e.slots,emit:e.emit,expose:t}}function ho(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(tr(ai(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Rt)return Rt[s](e)},has(t,s){return s in t||s in Rt}})):e.proxy}const Tl=/(?:^|[-_])\w/g,El=e=>e.replace(Tl,t=>t.toUpperCase()).replace(/[-_]/g,"");function Pl(e,t=!0){return F(e)?e.displayName||e.name:e.name||t&&e.__name}function Xr(e,t,s=!1){let o=Pl(t);if(!o&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(o=r[1])}if(!o&&e){const r=n=>{for(const i in n)if(n[i]===t)return i};o=r(e.components)||e.parent&&r(e.parent.type.components)||r(e.appContext.components)}return o?El(o):s?"App":"Anonymous"}function Rl(e){return F(e)&&"__vccOpts"in e}const Ge=(e,t)=>pi(e,t,Ft),Ol="3.5.42";/** * @vue/runtime-dom v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let hr;const Zo=typeof window<"u"&&window.trustedTypes;if(Zo)try{hr=Zo.createPolicy("vue",{createHTML:e=>e})}catch{}const Qo=hr?e=>hr.createHTML(e):e=>e,Ml="http://www.w3.org/2000/svg",kl="http://www.w3.org/1998/Math/MathML",Ge=typeof document<"u"?document:null,en=Ge&&Ge.createElement("template"),Ll={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,r)=>{const o=t==="svg"?Ge.createElementNS(Ml,e):t==="mathml"?Ge.createElementNS(kl,e):s?Ge.createElement(e,{is:s}):Ge.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Ge.createTextNode(e),createComment:e=>Ge.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ge.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,r,o,n){const i=s?s.previousSibling:t.lastChild;if(o&&(o===n||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),s),!(o===n||!(o=o.nextSibling)););else{en.innerHTML=Qo(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const l=en.content;if(r==="svg"||r==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,s)}return[i?i.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Il=Symbol("_vtc");function Fl(e,t,s){const r=e[Il];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const tn=Symbol("_vod"),Nl=Symbol("_vsh"),jl=Symbol(""),Dl=/(?:^|;)\s*display\s*:/;function Hl(e,t,s){const r=e.style,o=X(s);let n=!1;if(s&&!o){if(t)if(X(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();s[l]==null&&Nt(r,l,"")}else for(const i in t)s[i]==null&&Nt(r,i,"");for(const i in s){i==="display"&&(n=!0);const l=s[i];l!=null?Bl(e,i,!X(t)&&t?t[i]:void 0,l)||Nt(r,i,l):Nt(r,i,"")}}else if(o){if(t!==s){const i=r[jl];i&&(s+=";"+i),r.cssText=s,n=Dl.test(s)}}else t&&e.removeAttribute("style");tn in e&&(e[tn]=n?r.display:"",e[Nl]&&(r.display="none"))}const Ss=/\s*!important$/;function Nt(e,t,s){if(R(s))s.forEach(r=>Nt(e,t,r));else if(s==null&&(s=""),t.startsWith("--"))Ss.test(s)?e.setProperty(t,s.replace(Ss,""),"important"):e.setProperty(t,s);else{const r=Ul(e,t);Ss.test(s)?e.setProperty(ye(r),s.replace(Ss,""),"important"):e[r]=s}}const sn=["Webkit","Moz","ms"],pr={};function Ul(e,t){const s=pr[t];if(s)return s;let r=ue(t);if(r!=="filter"&&r in e)return pr[t]=r;r=Cr(r);for(let o=0;o_r||(Jl.then(()=>_r=0),_r=Date.now());function Xl(e,t){const s=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=s.attached)return;const o=s.value;if(R(o)){const n=r.stopImmediatePropagation;r.stopImmediatePropagation=()=>{n.call(r),r._stopped=!0};const i=o.slice(),l=[r];for(let c=0;ce.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Zl=(e,t,s,r,o,n)=>{const i=o==="svg";t==="class"?Fl(e,r,i):t==="style"?Hl(e,s,r):Bt(t)?Vt(t)||Wl(e,t,s,r,n):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ql(e,t,r,i))?(nn(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&on(e,t,r,i,n,t!=="value")):e._isVueCE&&(ec(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!X(r)))?nn(e,ue(t),r,n,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),on(e,t,r,i))};function Ql(e,t,s,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&cn(t)&&L(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return cn(t)&&X(s)?!1:t in e}function ec(e,t){const s=e._def.props;if(!s)return!1;const r=ue(t);return Array.isArray(s)?s.some(o=>ue(o)===r):Object.keys(s).some(o=>ue(o)===r)}const an={};function tc(e,t,s){let r=uo(e,t);Wt(r)&&(r=ee({},r,t));class o extends gr{constructor(i){super(r,i,s)}}return o.def=r,o}const sc=typeof HTMLElement<"u"?HTMLElement:class{};class gr extends sc{constructor(t,s={},r=dn){super(),this._def=t,this._props=s,this._createApp=r,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&&r!==dn?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(ee({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.assignedSlot||t.parentNode||t.host);)if(t instanceof gr){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,ro(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const s of t)this._setAttr(s.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let r=0;r{this._resolved=!0,this._pendingResolve=void 0;const{props:n,styles:i}=r;let l;if(n&&!R(n))for(const c in n){const d=n[c];(d===Number||d&&d.type===Number)&&(c in this._props&&(this._props[c]=Er(this._props[c])),(l||(l=Object.create(null)))[ue(c)]=!0)}this._numberProps=l,this._resolveProps(r),this.shadowRoot&&this._applyStyles(i),this._mount(r)},s=this._def.__asyncLoader;if(s)return this._pendingResolve=s().then(r=>{r.configureApp=this._def.configureApp,t(this._def=r,!0)}),this._pendingResolve;t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const s=this._instance&&this._instance.exposed;if(s)for(const r in s)H(this,r)||Object.defineProperty(this,r,{get:()=>Qr(s[r])})}_resolveProps(t){const{props:s}=t,r=R(s)?s:Object.keys(s||{});for(const o of Object.keys(this))o[0]!=="_"&&r.includes(o)&&this._setProp(o,this[o]);for(const o of r.map(ue))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(n){this._setProp(o,n,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const s=this.hasAttribute(t);let r=s?this.getAttribute(t):an;const o=ue(t);s&&this._numberProps&&this._numberProps[o]&&(r=Er(r)),this._setProp(o,r,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,s,r=!0,o=!1){if(s!==this._props[t]&&(this._dirty=!0,s===an?delete this._props[t]:(this._props[t]=s,t==="key"&&this._app&&(this._app._ceVNode.key=s)),o&&this._instance&&this._update(),r)){const n=this._ob;n&&(this._processMutations(n.takeRecords()),n.disconnect()),s===!0?this.setAttribute(ye(t),""):typeof s=="string"||typeof s=="number"?this.setAttribute(ye(t),s+""):s||this.removeAttribute(ye(t)),n&&n.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),oc(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const s=Ce(this._def,ee(t,this._props));return this._instance||(s.ce=r=>{this._instance=r,r.ce=this,r.isCE=!0;const o=(n,i)=>{this.dispatchEvent(new CustomEvent(n,Wt(i[0])?ee({detail:i},i[0]):{detail:i}))};r.emit=(n,...i)=>{o(n,i),ye(n)!==n&&o(ye(n),i)},this._setParent()}),s}_applyStyles(t,s,r){if(!t)return;if(s){if(s===this._def||this._styleChildren.has(s))return;this._styleChildren.add(s)}const o=this._nonce,n=this.shadowRoot,i=r?this._getStyleAnchor(r)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(n);let l=null;for(let c=t.length-1;c>=0;c--){const d=document.createElement("style");o&&d.setAttribute("nonce",o),d.textContent=t[c],n.insertBefore(d,l||i),l=d,c===0&&(r||this._styleAnchors.set(this._def,d),s&&this._styleAnchors.set(s,d))}}_getStyleAnchor(t){if(!t)return null;const s=this._styleAnchors.get(t);return s&&s.parentNode===this.shadowRoot?s:(s&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let s=0;s{un().render(...e)},dn=(...e)=>{const t=un().createApp(...e),{mount:s}=t;return t.mount=r=>{const o=ic(r);if(!o)return;const n=t._component;!L(n)&&!n.render&&!n.template&&(n.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=s(o,!1,nc(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};function nc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ic(e){return X(e)?document.querySelector(e):e}const lc=Object.assign({"./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/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/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/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/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/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/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/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/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/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/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:"自动"}}),lt={};for(const[e,t]of Object.entries(lc)){const s=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!s)continue;const[,r,o]=s;lt[r]??(lt[r]={}),lt[r][o]=t}const hn=(()=>{try{const e=typeof document<"u"&&document.currentScript&&document.currentScript.src||"";return e?e.split(/[?#]/)[0].replace(/[^/]+$/,""):""}catch{return""}})(),pn=typeof __DX_LOCALE_SRI__<"u"?__DX_LOCALE_SRI__:{},mr=new Map;let _n=null;function cc(e,t){const s=String(t||"").split("-")[0].toLowerCase();if(!s||s==="en"||!jt.includes(s))return Promise.resolve(s==="en");if(lt[s])return Promise.resolve(!0);if(mr.has(s))return mr.get(s).then(o=>o);if(!pn[s])return Promise.resolve(!!lt[s]);const r=(async()=>{var o,n;try{if(!hn)return!1;const i=new URL(`locales/${s}.json`,hn).href,l=await fetch(i,{integrity:pn[s]});if(!l.ok)return!1;const c=await l.json();return!c||typeof c!="object"?!1:(lt[s]=c,(n=(o=e==null?void 0:e.global)==null?void 0:o.setLocaleMessage)==null||n.call(o,s,c),!0)}catch{return!1}})();return mr.set(s,r),r}const jt=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"],ac=new Set(["ar"]);function fc(){try{const e=new URLSearchParams(window.location.search);return(e.get("lang")||e.get("locale")||"").split("-")[0].toLowerCase()}catch{return""}}function gn(){var r;const e=fc();if(jt.includes(e))return e;const s=(((r=document==null?void 0:document.documentElement)==null?void 0:r.lang)||"").split("-")[0].toLowerCase();return jt.includes(s)?s:"en"}try{_n=cc(null,gn())}catch{_n=null}const mn="__DOXA_PAGE_LOCALE";function uc(e){const t=String(e||"").split("-")[0].toLowerCase();if(jt.includes(t))try{typeof window<"u"&&(window[mn]=t)}catch{}}const dc=["zero","one","two","few","many","other"];function hc(e,t,s){let r;try{r=new Intl.PluralRules(s)}catch{return e===1?0:1}const o=r.select(e),n=r.resolvedOptions().pluralCategories,i=dc.filter(c=>n.includes(c));let l=i.indexOf(o);if(l<0&&(l=i.indexOf("other")),l>=t){const c=i.indexOf("other");l=c>=0&&c[e,(t,s)=>hc(t,s,e)]));function pc(){try{return typeof window<"u"&&window[mn]||""}catch{return""}}function _c(e,t){const s=vs(),r=t;hs(()=>{var c;if(!s)return;const o=(c=s.proxy)==null?void 0:c.$el;if(!o)return;const n=o.getRootNode();if(!(n instanceof ShadowRoot))return;if(!n.querySelector('style[data-shadow-styles="reduced-motion"]')){const d=document.createElement("style");d.setAttribute("data-shadow-styles","reduced-motion"),d.textContent=gc,n.appendChild(d)}const i=n.querySelector(`style[data-shadow-styles="${r}"]`);if(i){i.textContent!==e&&(i.textContent=e);return}const l=document.createElement("style");l.setAttribute("data-shadow-styles",r),l.textContent=e,n.appendChild(l)})}const gc=`@media (prefers-reduced-motion: reduce) { +**/let po;const Zr=typeof window<"u"&&window.trustedTypes;if(Zr)try{po=Zr.createPolicy("vue",{createHTML:e=>e})}catch{}const Qr=po?e=>po.createHTML(e):e=>e,Ml="http://www.w3.org/2000/svg",kl="http://www.w3.org/1998/Math/MathML",Je=typeof document<"u"?document:null,en=Je&&Je.createElement("template"),Ll={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,o)=>{const r=t==="svg"?Je.createElementNS(Ml,e):t==="mathml"?Je.createElementNS(kl,e):s?Je.createElement(e,{is:s}):Je.createElement(e);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>Je.createTextNode(e),createComment:e=>Je.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Je.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,o,r,n){const i=s?s.previousSibling:t.lastChild;if(r&&(r===n||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),s),!(r===n||!(r=r.nextSibling)););else{en.innerHTML=Qr(o==="svg"?`${e}`:o==="mathml"?`${e}`:e);const l=en.content;if(o==="svg"||o==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,s)}return[i?i.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Il=Symbol("_vtc");function Fl(e,t,s){const o=e[Il];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const tn=Symbol("_vod"),Nl=Symbol("_vsh"),jl=Symbol(""),Dl=/(?:^|;)\s*display\s*:/;function Hl(e,t,s){const o=e.style,r=X(s);let n=!1;if(s&&!r){if(t)if(X(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();s[l]==null&&Nt(o,l,"")}else for(const i in t)s[i]==null&&Nt(o,i,"");for(const i in s){i==="display"&&(n=!0);const l=s[i];l!=null?Bl(e,i,!X(t)&&t?t[i]:void 0,l)||Nt(o,i,l):Nt(o,i,"")}}else if(r){if(t!==s){const i=o[jl];i&&(s+=";"+i),o.cssText=s,n=Dl.test(s)}}else t&&e.removeAttribute("style");tn in e&&(e[tn]=n?o.display:"",e[Nl]&&(o.display="none"))}const As=/\s*!important$/;function Nt(e,t,s){if(k(s))s.forEach(o=>Nt(e,t,o));else if(s==null&&(s=""),t.startsWith("--"))As.test(s)?e.setProperty(t,s.replace(As,""),"important"):e.setProperty(t,s);else{const o=Ul(e,t);As.test(s)?e.setProperty(we(o),s.replace(As,""),"important"):e[o]=s}}const sn=["Webkit","Moz","ms"],_o={};function Ul(e,t){const s=_o[t];if(s)return s;let o=de(t);if(o!=="filter"&&o in e)return _o[t]=o;o=To(o);for(let r=0;rgo||(Jl.then(()=>go=0),go=Date.now());function Xl(e,t){const s=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=s.attached)return;const r=s.value;if(k(r)){const n=o.stopImmediatePropagation;o.stopImmediatePropagation=()=>{n.call(o),o._stopped=!0};const i=r.slice(),l=[o];for(let c=0;ce.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Zl=(e,t,s,o,r,n)=>{const i=r==="svg";t==="class"?Fl(e,o,i):t==="style"?Hl(e,s,o):Vt(t)?Kt(t)||Wl(e,t,s,o,n):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ql(e,t,o,i))?(nn(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&rn(e,t,o,i,n,t!=="value")):e._isVueCE&&(ec(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!X(o)))?nn(e,de(t),o,n,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),rn(e,t,o,i))};function Ql(e,t,s,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&cn(t)&&F(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return cn(t)&&X(s)?!1:t in e}function ec(e,t){const s=e._def.props;if(!s)return!1;const o=de(t);return Array.isArray(s)?s.some(r=>de(r)===o):Object.keys(s).some(r=>de(r)===o)}const an={};function tc(e,t,s){let o=dr(e,t);zt(o)&&(o=ee({},o,t));class r extends mo{constructor(i){super(o,i,s)}}return r.def=o,r}const sc=typeof HTMLElement<"u"?HTMLElement:class{};class mo extends sc{constructor(t,s={},o=dn){super(),this._def=t,this._props=s,this._createApp=o,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&o!==dn?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(ee({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.assignedSlot||t.parentNode||t.host);)if(t instanceof mo){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,rr(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const s of t)this._setAttr(s.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let o=0;o{this._resolved=!0,this._pendingResolve=void 0;const{props:n,styles:i}=o;let l;if(n&&!k(n))for(const c in n){const d=n[c];(d===Number||d&&d.type===Number)&&(c in this._props&&(this._props[c]=Po(this._props[c])),(l||(l=Object.create(null)))[de(c)]=!0)}this._numberProps=l,this._resolveProps(o),this.shadowRoot&&this._applyStyles(i),this._mount(o)},s=this._def.__asyncLoader;if(s)return this._pendingResolve=s().then(o=>{o.configureApp=this._def.configureApp,t(this._def=o,!0)}),this._pendingResolve;t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const s=this._instance&&this._instance.exposed;if(s)for(const o in s)U(this,o)||Object.defineProperty(this,o,{get:()=>er(s[o])})}_resolveProps(t){const{props:s}=t,o=k(s)?s:Object.keys(s||{});for(const r of Object.keys(this))r[0]!=="_"&&o.includes(r)&&this._setProp(r,this[r]);for(const r of o.map(de))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(n){this._setProp(r,n,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const s=this.hasAttribute(t);let o=s?this.getAttribute(t):an;const r=de(t);s&&this._numberProps&&this._numberProps[r]&&(o=Po(o)),this._setProp(r,o,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,s,o=!0,r=!1){if(s!==this._props[t]&&(this._dirty=!0,s===an?delete this._props[t]:(this._props[t]=s,t==="key"&&this._app&&(this._app._ceVNode.key=s)),r&&this._instance&&this._update(),o)){const n=this._ob;n&&(this._processMutations(n.takeRecords()),n.disconnect()),s===!0?this.setAttribute(we(t),""):typeof s=="string"||typeof s=="number"?this.setAttribute(we(t),s+""):s||this.removeAttribute(we(t)),n&&n.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),rc(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const s=Ce(this._def,ee(t,this._props));return this._instance||(s.ce=o=>{this._instance=o,o.ce=this,o.isCE=!0;const r=(n,i)=>{this.dispatchEvent(new CustomEvent(n,zt(i[0])?ee({detail:i},i[0]):{detail:i}))};o.emit=(n,...i)=>{r(n,i),we(n)!==n&&r(we(n),i)},this._setParent()}),s}_applyStyles(t,s,o){if(!t)return;if(s){if(s===this._def||this._styleChildren.has(s))return;this._styleChildren.add(s)}const r=this._nonce,n=this.shadowRoot,i=o?this._getStyleAnchor(o)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(n);let l=null;for(let c=t.length-1;c>=0;c--){const d=document.createElement("style");r&&d.setAttribute("nonce",r),d.textContent=t[c],n.insertBefore(d,l||i),l=d,c===0&&(o||this._styleAnchors.set(this._def,d),s&&this._styleAnchors.set(s,d))}}_getStyleAnchor(t){if(!t)return null;const s=this._styleAnchors.get(t);return s&&s.parentNode===this.shadowRoot?s:(s&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let s=0;s{un().render(...e)},dn=(...e)=>{const t=un().createApp(...e),{mount:s}=t;return t.mount=o=>{const r=ic(o);if(!r)return;const n=t._component;!F(n)&&!n.render&&!n.template&&(n.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=s(r,!1,nc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function nc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ic(e){return X(e)?document.querySelector(e):e}const lc=Object.assign({"./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/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/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/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/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/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/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/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/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/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/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:"自动"}}),ct={};for(const[e,t]of Object.entries(lc)){const s=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!s)continue;const[,o,r]=s;ct[o]??(ct[o]={}),ct[o][r]=t}const hn=(()=>{try{const e=typeof document<"u"&&document.currentScript&&document.currentScript.src||"";return e?e.split(/[?#]/)[0].replace(/[^/]+$/,""):""}catch{return""}})(),pn=typeof __DX_LOCALE_SRI__<"u"?__DX_LOCALE_SRI__:{},bo=new Map;let _n=null;function cc(e,t){const s=String(t||"").split("-")[0].toLowerCase();if(!s||s==="en"||!jt.includes(s))return Promise.resolve(s==="en");if(ct[s])return Promise.resolve(!0);if(bo.has(s))return bo.get(s).then(r=>r);if(!pn[s])return Promise.resolve(!!ct[s]);const o=(async()=>{var r,n;try{if(!hn)return!1;const i=new URL(`locales/${s}.json`,hn).href,l=await fetch(i,{integrity:pn[s]});if(!l.ok)return!1;const c=await l.json();return!c||typeof c!="object"?!1:(ct[s]=c,(n=(r=e==null?void 0:e.global)==null?void 0:r.setLocaleMessage)==null||n.call(r,s,c),!0)}catch{return!1}})();return bo.set(s,o),o}const jt=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"],ac=new Set(["ar"]);function fc(){try{const e=new URLSearchParams(window.location.search);return(e.get("lang")||e.get("locale")||"").split("-")[0].toLowerCase()}catch{return""}}function gn(){var o;const e=fc();if(jt.includes(e))return e;const s=(((o=document==null?void 0:document.documentElement)==null?void 0:o.lang)||"").split("-")[0].toLowerCase();return jt.includes(s)?s:"en"}try{_n=cc(null,gn())}catch{_n=null}const mn="__DOXA_PAGE_LOCALE";function uc(e){const t=String(e||"").split("-")[0].toLowerCase();if(jt.includes(t))try{typeof window<"u"&&(window[mn]=t)}catch{}}const dc=["zero","one","two","few","many","other"];function hc(e,t,s){let o;try{o=new Intl.PluralRules(s)}catch{return e===1?0:1}const r=o.select(e),n=o.resolvedOptions().pluralCategories,i=dc.filter(c=>n.includes(c));let l=i.indexOf(r);if(l<0&&(l=i.indexOf("other")),l>=t){const c=i.indexOf("other");l=c>=0&&c[e,(t,s)=>hc(t,s,e)]));function pc(){try{return typeof window<"u"&&window[mn]||""}catch{return""}}function _c(e,t){const s=xs(),o=t;ps(()=>{var c;if(!s)return;const r=(c=s.proxy)==null?void 0:c.$el;if(!r)return;const n=r.getRootNode();if(!(n instanceof ShadowRoot))return;if(!n.querySelector('style[data-shadow-styles="reduced-motion"]')){const d=document.createElement("style");d.setAttribute("data-shadow-styles","reduced-motion"),d.textContent=gc,n.appendChild(d)}const i=n.querySelector(`style[data-shadow-styles="${o}"]`);if(i){i.textContent!==e&&(i.textContent=e);return}const l=document.createElement("style");l.setAttribute("data-shadow-styles",o),l.textContent=e,n.appendChild(l)})}const gc=`@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; } -}`,mc=Es&&Es.tagName.toUpperCase()==="SCRIPT"&&Es.src||new URL("research-map-plus-grid.js",document.baseURI).href,As=e=>String(e||"").trim().replace(/\/+$/,"");function bn(){try{const t=String(mc||"").split(/[?#]/)[0].match(/^(.*)\/([^/]+)\/([^/]+)\.js$/);return!t||t[2]!==t[3]?null:t[1]||null}catch{return null}}function bc(e){const t=e==null?void 0:e.embedBaseUrl;if(typeof t=="string"&&t.trim())return As(t);if(typeof window<"u"){const s=window.MAP_EMBED_BASE_URL;if(typeof s=="string"&&s.trim())return As(s)}return As(bn()||"")}function wc(e,t=null){const s=String(e).trim().replace(/^\.\//,"");if(!s)return"";if(/^https?:\/\//i.test(s))return s;const r=As(bc(t)||"");if(r)return r+"/"+s;if(typeof document<"u")try{return new URL(s,document.baseURI).href}catch{}return s}const wn="__dxMapsScriptRegistry1";function yn(){const e=typeof globalThis<"u"?globalThis:self;return e[wn]||(e[wn]={loaded:Object.create(null),owners:Object.create(null)})}function $n(e){try{if(typeof document<"u"&&document.baseURI)return new URL(e,document.baseURI).href;if(typeof location<"u"&&location.href)return new URL(e,location.href).href}catch{}return e}function yc(e){if(typeof document>"u"||!document.querySelectorAll)return null;const t=document.querySelectorAll("script[src]");for(let s=0;s{const i=document.createElement("script");i.src=e,(/^\/plugin-designs\//.test(e)||/\/index\.js(\?|$)/.test(e))&&(i.type="module"),i.onload=()=>o(),i.onerror=()=>{delete s.loaded[r],n(new Error("failed to load "+e))},document.head.appendChild(i)}),s.loaded[r])}function vc(e,t){if(!e)return;const s=yn(),r=t?$n(t):"";if(!r)return;const o=s.owners[e];if(!o){s.owners[e]=r;return}o!==r&&typeof console<"u"&&console.warn&&console.warn("[dx-maps] <"+e+"> is shipped by two bundles on this page: "+o+" defined it, "+r+" executed and was discarded. The page is running the first one.")}const xc=".stl{display:flow-root;width:100%;min-height:100%;background:#f3f3f1;color:#3b463d;font-family:Public Sans,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;-webkit-font-smoothing:antialiased;--stl-accent:#92b195;--stl-border:#d1d4cd;--stl-elevated:#ffffff;--stl-muted:#6d766e}.stl-top{display:flex;align-items:center;gap:10px;padding:11px 16px;border-bottom:1px solid var(--stl-border);background:#fff;position:sticky;top:0;z-index:5}.stl-brand{display:inline-flex;align-items:center}.stl-brand:empty{display:none}.stl-title{font-size:15px;font-weight:600;letter-spacing:-.01em;color:#3b463d}.stl-meta{color:var(--stl-muted);font-size:12px;margin-inline-start:auto;display:inline-flex;align-items:center;gap:8px}.stl-stack{display:flex;flex-direction:column}.stl-sec{display:flex;flex-direction:column;min-width:0;border-bottom:1px solid var(--stl-border)}.stl-sec:last-child{border-bottom:0}.stl-sec-head{padding:12px 16px 8px;display:flex;align-items:baseline;gap:10px}.stl-sec-title{font-size:13px;font-weight:600;letter-spacing:.02em;color:#3b463d}.stl-sec-sub{font-size:12px;color:var(--stl-muted)}.stl-host{display:block;width:100%;min-width:0;position:relative}.stl-host>*{display:block;width:100%}.stl-host>*[style*=absolute],.stl-host>*[style*=fixed]{position:static!important;inset:auto!important}.stl-slot{display:block;width:100%}.stl-tail:empty{display:none}.stl-sec-fill{position:relative;overflow:hidden}.stl-sec-fill>.stl-host,.stl-sec-fill>.stl-slot{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.stl-sec-fill>.stl-host>*,.stl-sec-fill>.stl-slot>*{height:100%}.stl,.stl *{scrollbar-width:thin;scrollbar-color:#c4c8c0 transparent}.stl ::-webkit-scrollbar{width:8px;height:8px}.stl ::-webkit-scrollbar-track{background:transparent}.stl ::-webkit-scrollbar-thumb{background:#c4c8c0;border-radius:8px}.stl ::-webkit-scrollbar-thumb:hover{background:#9aa197}.stl ::-webkit-scrollbar-corner{background:transparent}",vn=(e,t)=>{const s=e.__vccOpts||e;for(const[r,o]of t)s[r]=o;return s},Sc="dx-maps".replace(/[.*+?^${}()|[\]\\]/g,"\\$&");function xn(e){if(!e||/^(https?:)?\/\//.test(e)||e.startsWith("/"))return e;const t=e.replace(/^(\.\.\/)+/,"").replace(/^\.\//,""),s=new RegExp("^(.*/"+Sc+"/)").exec(window.location.pathname);if(s)return s[1]+t;const r=bn();return r?String(r).replace(/\/+$/,"")+"/"+t:e}function Ac(e){return $c(xn(e))}function Cc(e,t=5e3){return typeof customElements>"u"||customElements.get(e)?Promise.resolve():customElements.whenDefined?Promise.race([customElements.whenDefined(e),new Promise((s,r)=>setTimeout(()=>r(new Error("timeout waiting for <"+e+">")),t))]):Promise.resolve()}const Tc=` +}`,mc=Es&&Es.tagName.toUpperCase()==="SCRIPT"&&Es.src||new URL("research-map-plus-grid.js",document.baseURI).href,Cs=e=>String(e||"").trim().replace(/\/+$/,"");function bn(){try{const t=String(mc||"").split(/[?#]/)[0].match(/^(.*)\/([^/]+)\/([^/]+)\.js$/);return!t||t[2]!==t[3]?null:t[1]||null}catch{return null}}function bc(e){const t=e==null?void 0:e.embedBaseUrl;if(typeof t=="string"&&t.trim())return Cs(t);if(typeof window<"u"){const s=window.MAP_EMBED_BASE_URL;if(typeof s=="string"&&s.trim())return Cs(s)}return Cs(bn()||"")}function wc(e,t=null){const s=String(e).trim().replace(/^\.\//,"");if(!s)return"";if(/^https?:\/\//i.test(s))return s;const o=Cs(bc(t)||"");if(o)return o+"/"+s;if(typeof document<"u")try{return new URL(s,document.baseURI).href}catch{}return s}const wn="__dxMapsScriptRegistry1";function yn(){const e=typeof globalThis<"u"?globalThis:self;return e[wn]||(e[wn]={loaded:Object.create(null),owners:Object.create(null)})}function $n(e){try{if(typeof document<"u"&&document.baseURI)return new URL(e,document.baseURI).href;if(typeof location<"u"&&location.href)return new URL(e,location.href).href}catch{}return e}function yc(e){if(typeof document>"u"||!document.querySelectorAll)return null;const t=document.querySelectorAll("script[src]");for(let s=0;s{const i=document.createElement("script");i.src=e,(/^\/plugin-designs\//.test(e)||/\/index\.js(\?|$)/.test(e))&&(i.type="module"),i.onload=()=>r(),i.onerror=()=>{delete s.loaded[o],n(new Error("failed to load "+e))},document.head.appendChild(i)}),s.loaded[o])}function vc(e,t){if(!e)return;const s=yn(),o=t?$n(t):"";if(!o)return;const r=s.owners[e];if(!r){s.owners[e]=o;return}r!==o&&typeof console<"u"&&console.warn&&console.warn("[dx-maps] <"+e+"> is shipped by two bundles on this page: "+r+" defined it, "+o+" executed and was discarded. The page is running the first one.")}const xc=".stl{display:flow-root;width:100%;min-height:100%;background:#f3f3f1;color:#3b463d;font-family:Public Sans,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;-webkit-font-smoothing:antialiased;--stl-accent:#92b195;--stl-border:#d1d4cd;--stl-elevated:#ffffff;--stl-muted:#6d766e}.stl-top{display:flex;align-items:center;gap:10px;padding:11px 16px;border-bottom:1px solid var(--stl-border);background:#fff;position:sticky;top:0;z-index:5}.stl-brand{display:inline-flex;align-items:center}.stl-brand:empty{display:none}.stl-title{font-size:15px;font-weight:600;letter-spacing:-.01em;color:#3b463d}.stl-meta{color:var(--stl-muted);font-size:12px;margin-inline-start:auto;display:inline-flex;align-items:center;gap:8px}.stl-stack{display:flex;flex-direction:column}.stl-sec{display:flex;flex-direction:column;min-width:0;border-bottom:1px solid var(--stl-border)}.stl-sec:last-child{border-bottom:0}.stl-sec-head{padding:12px 16px 8px;display:flex;align-items:baseline;gap:10px}.stl-sec-title{font-size:13px;font-weight:600;letter-spacing:.02em;color:#3b463d}.stl-sec-sub{font-size:12px;color:var(--stl-muted)}.stl-host{display:block;width:100%;min-width:0;position:relative}.stl-host>*{display:block;width:100%}.stl-host>*[style*=absolute],.stl-host>*[style*=fixed]{position:static!important;inset:auto!important}.stl-slot{display:block;width:100%}.stl-tail:empty{display:none}.stl-sec-fill{position:relative;overflow:hidden}.stl-sec-fill>.stl-host,.stl-sec-fill>.stl-slot{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.stl-sec-fill>.stl-host>*,.stl-sec-fill>.stl-slot>*{height:100%}.stl,.stl *{scrollbar-width:thin;scrollbar-color:#c4c8c0 transparent}.stl ::-webkit-scrollbar{width:8px;height:8px}.stl ::-webkit-scrollbar-track{background:transparent}.stl ::-webkit-scrollbar-thumb{background:#c4c8c0;border-radius:8px}.stl ::-webkit-scrollbar-thumb:hover{background:#9aa197}.stl ::-webkit-scrollbar-corner{background:transparent}",vn=(e,t)=>{const s=e.__vccOpts||e;for(const[o,r]of t)s[o]=r;return s},Sc="dx-maps".replace(/[.*+?^${}()|[\]\\]/g,"\\$&");function xn(e){if(!e||/^(https?:)?\/\//.test(e)||e.startsWith("/"))return e;const t=e.replace(/^(\.\.\/)+/,"").replace(/^\.\//,""),s=new RegExp("^(.*/"+Sc+"/)").exec(window.location.pathname);if(s)return s[1]+t;const o=bn();return o?String(o).replace(/\/+$/,"")+"/"+t:e}function Ac(e){return $c(xn(e))}function Cc(e,t=5e3){return typeof customElements>"u"||customElements.get(e)?Promise.resolve():customElements.whenDefined?Promise.race([customElements.whenDefined(e),new Promise((s,o)=>setTimeout(()=>o(new Error("timeout waiting for <"+e+">")),t))]):Promise.resolve()}const Tc=` .stl { display:flow-root; width:100%; min-height:100%; background:#f3f3f1; color:#3b463d; font-family:'Public Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif; -webkit-font-smoothing:antialiased; --stl-accent:#92b195; --stl-border:#d1d4cd; --stl-elevated:#ffffff; --stl-muted:#6d766e; } .stl-top { display:flex; align-items:center; gap:10px; padding:11px 16px; border-bottom:1px solid var(--stl-border); background:#ffffff; position:sticky; top:0; z-index:5; } .stl-brand { display:inline-flex; align-items:center; } @@ -51,4 +51,4 @@ .stl ::-webkit-scrollbar-thumb { background:#c4c8c0; border-radius:8px; } .stl ::-webkit-scrollbar-thumb:hover { background:#9aa197; } .stl ::-webkit-scrollbar-corner { background:transparent; } -`,Ec=uo({name:"StackLayout",props:{sections:{type:Array,default:()=>[]},title:{type:String,default:""},maxSectionHeight:{type:String,default:""},minSectionHeight:{type:String,default:""}},setup(){_c(Tc,"stack-layout")},data(){return{_hosts:{},_mounted:{}}},mounted(){for(const e of this.sections||[])e.element&&this.mountSection(e)},methods:{registerHost(e,t){t&&(this._hosts[e]=t)},sectionStyle(e){const t={},s=e.maxHeight||this.maxSectionHeight,r=e.minHeight||this.minSectionHeight,o=!!(s&&r&&s===r);return s&&(t.maxHeight=s,o||(t.overflow="auto")),r&&(t.minHeight=r),Object.keys(t).length?t:null},hasDefiniteHeight(e){const t=e.maxHeight||this.maxSectionHeight,s=e.minHeight||this.minSectionHeight;return!!(t&&s&&t===s)},mountSection(e){if(this._mounted[e.key])return;this._mounted[e.key]=!0;const t=this._hosts[e.key];t&&Ac(e.src).then(()=>Cc(e.element)).then(()=>{if(vc(e.element,xn(e.src)),!customElements.get(e.element))return;const s=document.createElement(e.element),r=e.attrs||{};for(const o in r){const n=r[o];try{s[o]=n}catch{}try{s.setAttribute(o,n==null?"":String(n))}catch{}}t.innerHTML="",t.appendChild(s)}).catch(s=>{const r=s&&s.message||String(s);console.error('[StackLayout] section "'+e.key+'" failed to mount <'+e.element+">"+(e.src?" from "+e.src:"")+": "+r);try{t.innerHTML="";const o=document.createElement("div");o.setAttribute("role","status"),o.style.cssText="box-sizing:border-box;max-width:100%;padding:16px;font:13px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;color:#6d766e;background:#fff;border:1px solid #d1d4cd;border-radius:8px;margin:12px 0;overflow-wrap:anywhere;word-break:break-word",o.textContent="Could not load <"+e.element+">"+(e.src?" from "+e.src:"")+" — "+r,t.appendChild(o)}catch{}})}}}),Pc={class:"stl"},Oc={key:0,class:"stl-top"},Rc={class:"stl-brand"},Mc={key:0,class:"stl-title"},kc={class:"stl-meta"},Lc={class:"stl-stack"},Ic={key:0,class:"stl-sec-head"},Fc={class:"stl-sec-title"},Nc={key:0,class:"stl-sec-sub"},jc={key:2,class:"stl-slot"},Dc={class:"stl-tail"};function Hc(e,t,s,r,o,n){return ge(),We("div",Pc,[e.$slots.brand||e.$slots.meta||e.title?(ge(),We("header",Oc,[it("span",Rc,[ps(e.$slots,"brand")]),e.title?(ge(),We("b",Mc,Xt(e.title),1)):ys("",!0),it("span",kc,[ps(e.$slots,"meta")])])):ys("",!0),it("div",Lc,[(ge(!0),We(pe,null,Vi(e.sections,i=>(ge(),We("section",{key:i.key,class:Jt(["stl-sec",{"stl-sec-fill":e.hasDefiniteHeight(i)}]),style:Gt(e.sectionStyle(i))},[i.title?(ge(),We("div",Ic,[it("b",Fc,Xt(i.title),1),i.sub?(ge(),We("span",Nc,Xt(i.sub),1)):ys("",!0)])):ys("",!0),i.element?(ge(),We("div",{key:1,class:"stl-host",ref_for:!0,ref:l=>e.registerHost(i.key,l)},null,512)):(ge(),We("div",jc,[ps(e.$slots,"section-"+i.key)]))],6))),128)),it("div",Dc,[ps(e.$slots,"default")])])])}const Uc=vn(Ec,[["render",Hc],["styles",[xc]]]),Bc=3,Vc=e=>e*500;async function Kc(e,t=void 0,{attempts:s=Bc,backoff:r=Vc,signal:o=null}={}){let n;for(let i=1;i<=Math.max(1,s);i++){if(o!=null&&o.aborted)throw o.reason??new Error("aborted");try{return await fetch(e,t)}catch(l){if((l==null?void 0:l.name)==="AbortError"||o!=null&&o.aborted)throw l;if(n=l,i>=s)break;await new Promise(c=>setTimeout(c,r(i)))}}throw n}const br="__doxaMapToken",wr="doxa:map-token",Sn="__doxaMapTokenBridge",wt=()=>{if(typeof window>"u")return"";const e=window[br];return typeof e=="string"?e:""};function yr(e){if(typeof window>"u")return"";An();const t=typeof e=="string"?e.trim():"";if(!t||t===wt())return wt();window[br]=t;try{window.dispatchEvent(new CustomEvent(wr,{detail:t}))}catch{}return t}function An(){var t;if(typeof window>"u"||window[Sn]&&((t=Object.getOwnPropertyDescriptor(window,"MAP_TOKEN"))!=null&&t.get))return;const e=typeof window.MAP_TOKEN=="string"?window.MAP_TOKEN:"";e&&!wt()&&(window[br]=e);try{Object.defineProperty(window,"MAP_TOKEN",{configurable:!0,get(){return wt()},set(s){yr(s)}}),window[Sn]=!0}catch{}}function Wc(){An();const e=Zr(wt());if(typeof window<"u"){const t=()=>{e.value=wt()};window.addEventListener(wr,t);try{er(()=>window.removeEventListener(wr,t))}catch{}}return e}function qc(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 s=Kc(e).then(r=>{if(!r.ok)throw new Error("HTTP "+r.status);return(r.headers.get("content-type")||"").includes("json")?r.json():r.text()}).then(r=>{const o=String((typeof r=="string"?r:r&&(r.token||r.tk||r.accessToken))||"").trim();return o.startsWith("pk.")?(yr(o),o):""}).catch(r=>(console.warn(`[map token] ${e}: ${r&&r.message?r.message:r}`),"")).finally(()=>{window.__doxaMapTokenPending===s&&(window.__doxaMapTokenPending=null)});return window.__doxaMapTokenPending=s,t[e]=s,s}function zc({tokenUrl:e="",token:t="",sharedToken:s=""}={}){return!!e&&!t&&!s}function Gc(e){const t=e&&e.tokenUrl;return typeof t=="string"&&t?t:""}function Jc(e,t){const s=Wc(),r=ze(()=>Gc(e==null?void 0:e.value));return Qe(r,o=>{zc({tokenUrl:o,token:(t==null?void 0:t.value)||"",sharedToken:s.value})&&qc(o)},{immediate:!0}),r}const Yc=":host{display:block;width:100%}",Cn="88svh",Xc=400,Zc=tc(vn(Object.assign({inheritAttrs:!1},{__name:"research-map-plus-grid",props:{profileConfig:{type:[String,Object],default:null}},setup(e){const t=e,s=ze(()=>{const b=t.profileConfig;if(!b)return{};if(typeof b=="object")return b;try{return JSON.parse(b)}catch{return{}}}),r=ze(()=>{var P;const b=(P=s.value)==null?void 0:P.tk;return typeof b=="string"&&b?b:""});r.value&&yr(r.value);const o=Jc(s,r),n=ze(()=>{var P;const b=(P=s.value)==null?void 0:P.provider;return b==="maplibre"||b==="mapbox"?b:""}),i=ze(()=>{var P,M;const b=String(((P=s.value)==null?void 0:P.lang)||((M=s.value)==null?void 0:M.locale)||"").split("-")[0].toLowerCase();return jt.includes(b)?b:""});Ei(()=>{i.value&&uc(i.value)});const l=ze(()=>{var b;return typeof((b=s.value)==null?void 0:b.list)=="string"?s.value.list:""}),c=ze(()=>{const b=i.value||pc()||gn();return ac.has(b)?"rtl":"ltr"}),d=vs();let u=null,p=!1;function A(){var b,P,M,te;try{const re=(te=(M=(P=(b=d==null?void 0:d.proxy)==null?void 0:b.$el)==null?void 0:P.getRootNode)==null?void 0:M.call(P))==null?void 0:te.host;if(!re||!re.setAttribute)return;u===null&&(u=re.getAttribute("dir")||""),c.value==="rtl"?(re.setAttribute("dir","rtl"),p=!0):p&&(u?re.setAttribute("dir",u):re.removeAttribute("dir"),p=!1)}catch{}}hs(A),Qe(c,A);const C=wc("research-map-plus-grid/research-map-plus-grid/index.html"),U=(b,P)=>`../../${b}/${P}.js`,$=ss({region:{value:"",label:""},religion:"",language:{value:"",label:"",codes:[]}}),Y=Zr([]);function V(b){b!=="region"&&($.region.value||$.region.label)&&($.region.value="",$.region.label=""),b!=="religion"&&$.religion&&($.religion=""),b!=="language"&&($.language.value||$.language.label)&&($.language.value="",$.language.label="",$.language.codes=[])}const F=b=>String(b||"").toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_|_$/g,"");let N=!1;function E(b){if(b){if(b.region&&(b.region.value||b.region.label)){const P=b.region.value||"",M=b.region.label||"";(P!==$.region.value||M!==$.region.label)&&($.region.value=P,$.region.label=M,V("region"));return}if(b.religion){b.religion!==$.religion&&($.religion=b.religion,V("religion"));return}if(b.language&&(b.language.value||b.language.label)){const P=b.language.value||"",M=b.language.label||"";(P!==$.language.value||M!==$.language.label)&&($.language.value=P,$.language.label=M,$.language.codes=Array.isArray(b.language.codes)?b.language.codes:P?[P]:[],V("language"));return}("region"in b||"religion"in b||"language"in b)&&V(null)}}function Q(b){var Z,K;if(N)return;const P=Array.isArray((Z=b==null?void 0:b.detail)==null?void 0:Z.slugs)?b.detail.slugs:[];Y.value=P.length&&P.length<=Xc?P:[];const M=((K=b==null?void 0:b.detail)==null?void 0:K.activeFilters)||{},te=M.wagf_region,re=B=>B&&(B.label||B.value)||"";E({region:{value:te&&(te.value??te)||"",label:te&&te.label||""},religion:re(M.__religion_family),language:{value:M.primary_language&&M.primary_language.value||"",label:M.primary_language&&M.primary_language.label||""}})}function me(b){var M,te,re,Z,K;if(N)return;const P=((M=b==null?void 0:b.detail)==null?void 0:M.region)||"";E({region:{value:P?F(P):"",label:P},religion:((te=b==null?void 0:b.detail)==null?void 0:te.religion)||"",language:{value:((re=b==null?void 0:b.detail)==null?void 0:re.languageCode)||"",label:((Z=b==null?void 0:b.detail)==null?void 0:Z.language)||"",codes:Array.isArray((K=b==null?void 0:b.detail)==null?void 0:K.languageCodes)?b.detail.languageCodes:[]}})}function be(){const b=Array.isArray($.language.codes)?$.language.codes:[];return b.length>1?b.join("|"):$.language.value||$.language.label}let I=null;function et(){if(!(I!=null&&I.querySelector))return;N=!0,setTimeout(()=>{N=!1},1200);const b=I.querySelector("doxa-research-map");if(b){let M={};try{M=JSON.parse(b.getAttribute("profile-config")||"{}")}catch{M={}}M.externalFilters={region:$.region.value,religion:$.religion,language:$.language.label,fitSlugs:Y.value},i.value&&(M.lang=i.value,M.locale=i.value),b.setAttribute("profile-config",JSON.stringify(M))}const P=I.querySelector("people-groups-grid");if(P&&(P.setAttribute("wagf-region",$.region.value),P.setAttribute("religion-family",$.religion),P.setAttribute("primary-language",be()),i.value)){let M={};try{M=JSON.parse(P.getAttribute("profile-config")||"{}")}catch{M={}}(M.lang!==i.value||M.locale!==i.value)&&(M.lang=i.value,M.locale=i.value,P.setAttribute("profile-config",JSON.stringify(M)))}}Qe(i,et),Qe($,et,{deep:!0}),Qe(Y,et),hs(()=>{var b,P,M,te,re,Z;I=((te=(M=(P=(b=vs())==null?void 0:b.proxy)==null?void 0:P.$el)==null?void 0:M.getRootNode)==null?void 0:te.call(M))||null,(re=I==null?void 0:I.addEventListener)==null||re.call(I,"groups-filtered",Q),(Z=I==null?void 0:I.addEventListener)==null||Z.call(I,"map-filtered",me)}),er(()=>{var b,P;(b=I==null?void 0:I.removeEventListener)==null||b.call(I,"groups-filtered",Q),(P=I==null?void 0:I.removeEventListener)==null||P.call(I,"map-filtered",me)});const Je=ze(()=>[{key:"map",element:"doxa-research-map",src:U("doxa-research-map","doxa-research-map"),attrs:{"profile-config":JSON.stringify({profile:"research-map",dataSource:"pray-tools",instanceId:"rmpg-research-map",legendTools:!1,...r.value?{tk:r.value}:{},...o.value?{tokenUrl:o.value}:{},...n.value?{provider:n.value}:{},...i.value?{lang:i.value}:{},...l.value?{list:l.value}:{},externalFilters:{region:$.region.value,religion:$.religion,language:$.language.label,fitSlugs:Y.value},assetsBase:"../../assets",shareUrl:C})},minHeight:Cn,maxHeight:Cn},{key:"grid",element:"people-groups-grid",src:U("people-groups-grid","people-groups-grid"),attrs:{"show-search":"true","show-filters":"true","show-total":"true",...l.value?{"profile-config":JSON.stringify({list:l.value})}:{},"wagf-region":$.region.value,"religion-family":$.religion,"primary-language":be()}}]);return(b,P)=>(ge(),bs(Uc,{sections:Je.value},null,8,["sections"]))}}),[["styles",[Yc]]]));typeof customElements<"u"&&(customElements.get("research-map-plus-grid")||customElements.define("research-map-plus-grid",Zc))})(); +`,Ec=dr({name:"StackLayout",props:{sections:{type:Array,default:()=>[]},title:{type:String,default:""},maxSectionHeight:{type:String,default:""},minSectionHeight:{type:String,default:""}},setup(){_c(Tc,"stack-layout")},data(){return{_hosts:{},_mounted:{}}},mounted(){for(const e of this.sections||[])e.element&&this.mountSection(e)},methods:{registerHost(e,t){t&&(this._hosts[e]=t)},sectionStyle(e){const t={},s=e.maxHeight||this.maxSectionHeight,o=e.minHeight||this.minSectionHeight,r=!!(s&&o&&s===o);return s&&(t.maxHeight=s,r||(t.overflow="auto")),o&&(t.minHeight=o),Object.keys(t).length?t:null},hasDefiniteHeight(e){const t=e.maxHeight||this.maxSectionHeight,s=e.minHeight||this.minSectionHeight;return!!(t&&s&&t===s)},mountSection(e){if(this._mounted[e.key])return;this._mounted[e.key]=!0;const t=this._hosts[e.key];t&&Ac(e.src).then(()=>Cc(e.element)).then(()=>{if(vc(e.element,xn(e.src)),!customElements.get(e.element))return;const s=document.createElement(e.element),o=e.attrs||{};for(const r in o){const n=o[r];try{s[r]=n}catch{}try{s.setAttribute(r,n==null?"":String(n))}catch{}}t.innerHTML="",t.appendChild(s)}).catch(s=>{const o=s&&s.message||String(s);console.error('[StackLayout] section "'+e.key+'" failed to mount <'+e.element+">"+(e.src?" from "+e.src:"")+": "+o);try{t.innerHTML="";const r=document.createElement("div");r.setAttribute("role","status"),r.style.cssText="box-sizing:border-box;max-width:100%;padding:16px;font:13px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;color:#6d766e;background:#fff;border:1px solid #d1d4cd;border-radius:8px;margin:12px 0;overflow-wrap:anywhere;word-break:break-word",r.textContent="Could not load <"+e.element+">"+(e.src?" from "+e.src:"")+" — "+o,t.appendChild(r)}catch{}})}}}),Pc={class:"stl"},Rc={key:0,class:"stl-top"},Oc={class:"stl-brand"},Mc={key:0,class:"stl-title"},kc={class:"stl-meta"},Lc={class:"stl-stack"},Ic={key:0,class:"stl-sec-head"},Fc={class:"stl-sec-title"},Nc={key:0,class:"stl-sec-sub"},jc={key:2,class:"stl-slot"},Dc={class:"stl-tail"};function Hc(e,t,s,o,r,n){return me(),ze("div",Pc,[e.$slots.brand||e.$slots.meta||e.title?(me(),ze("header",Rc,[lt("span",Oc,[_s(e.$slots,"brand")]),e.title?(me(),ze("b",Mc,Zt(e.title),1)):$s("",!0),lt("span",kc,[_s(e.$slots,"meta")])])):$s("",!0),lt("div",Lc,[(me(!0),ze(_e,null,Vi(e.sections,i=>(me(),ze("section",{key:i.key,class:Yt(["stl-sec",{"stl-sec-fill":e.hasDefiniteHeight(i)}]),style:Jt(e.sectionStyle(i))},[i.title?(me(),ze("div",Ic,[lt("b",Fc,Zt(i.title),1),i.sub?(me(),ze("span",Nc,Zt(i.sub),1)):$s("",!0)])):$s("",!0),i.element?(me(),ze("div",{key:1,class:"stl-host",ref_for:!0,ref:l=>e.registerHost(i.key,l)},null,512)):(me(),ze("div",jc,[_s(e.$slots,"section-"+i.key)]))],6))),128)),lt("div",Dc,[_s(e.$slots,"default")])])])}const Uc=vn(Ec,[["render",Hc],["styles",[xc]]]),Bc=3,Vc=e=>e*500;async function Kc(e,t=void 0,{attempts:s=Bc,backoff:o=Vc,signal:r=null}={}){let n;for(let i=1;i<=Math.max(1,s);i++){if(r!=null&&r.aborted)throw r.reason??new Error("aborted");try{return await fetch(e,t)}catch(l){if((l==null?void 0:l.name)==="AbortError"||r!=null&&r.aborted)throw l;if(n=l,i>=s)break;await new Promise(c=>setTimeout(c,o(i)))}}throw n}const wo="__doxaMapToken",yo="doxa:map-token",Sn="__doxaMapTokenBridge",wt=()=>{if(typeof window>"u")return"";const e=window[wo];return typeof e=="string"?e:""};function $o(e){if(typeof window>"u")return"";An();const t=typeof e=="string"?e.trim():"";if(!t||t===wt())return wt();window[wo]=t;try{window.dispatchEvent(new CustomEvent(yo,{detail:t}))}catch{}return t}function An(){var t;if(typeof window>"u"||window[Sn]&&((t=Object.getOwnPropertyDescriptor(window,"MAP_TOKEN"))!=null&&t.get))return;const e=typeof window.MAP_TOKEN=="string"?window.MAP_TOKEN:"";e&&!wt()&&(window[wo]=e);try{Object.defineProperty(window,"MAP_TOKEN",{configurable:!0,get(){return wt()},set(s){$o(s)}}),window[Sn]=!0}catch{}}function Wc(){An();const e=Qo(wt());if(typeof window<"u"){const t=()=>{e.value=wt()};window.addEventListener(yo,t);try{eo(()=>window.removeEventListener(yo,t))}catch{}}return e}function zc(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 s=Kc(e).then(o=>{if(!o.ok)throw new Error("HTTP "+o.status);return(o.headers.get("content-type")||"").includes("json")?o.json():o.text()}).then(o=>{const r=String((typeof o=="string"?o:o&&(o.token||o.tk||o.accessToken))||"").trim();return r.startsWith("pk.")?($o(r),r):""}).catch(o=>(console.warn(`[map token] ${e}: ${o&&o.message?o.message:o}`),"")).finally(()=>{window.__doxaMapTokenPending===s&&(window.__doxaMapTokenPending=null)});return window.__doxaMapTokenPending=s,t[e]=s,s}function qc({tokenUrl:e="",token:t="",sharedToken:s=""}={}){return!!e&&!t&&!s}function Gc(e){const t=e&&e.tokenUrl;return typeof t=="string"&&t?t:""}function Jc(e,t){const s=Wc(),o=Ge(()=>Gc(e==null?void 0:e.value));return Qe(o,r=>{qc({tokenUrl:r,token:(t==null?void 0:t.value)||"",sharedToken:s.value})&&zc(r)},{immediate:!0}),o}const Yc=":host{display:block;width:100%}",Cn="var(--sr-band-h, 88svh)",Xc=400,Zc=tc(vn(Object.assign({inheritAttrs:!1},{__name:"research-map-plus-grid",props:{profileConfig:{type:[String,Object],default:null}},setup(e){const t=e,s=Ge(()=>{const g=t.profileConfig;if(!g)return{};if(typeof g=="object")return g;try{return JSON.parse(g)}catch{return{}}}),o=Ge(()=>{var S;const g=(S=s.value)==null?void 0:S.tk;return typeof g=="string"&&g?g:""});o.value&&$o(o.value);const r=Jc(s,o),n=Ge(()=>{var S;const g=(S=s.value)==null?void 0:S.provider;return g==="maplibre"||g==="mapbox"?g:""}),i=Ge(()=>{var S,x;const g=String(((S=s.value)==null?void 0:S.lang)||((x=s.value)==null?void 0:x.locale)||"").split("-")[0].toLowerCase();return jt.includes(g)?g:""});Ei(()=>{i.value&&uc(i.value)});const l=Ge(()=>{var g;return typeof((g=s.value)==null?void 0:g.list)=="string"?s.value.list:""}),c=Ge(()=>{const g=i.value||pc()||gn();return ac.has(g)?"rtl":"ltr"}),d=xs();let u=null,p=!1;function T(){var g,S,x,M;try{const j=(M=(x=(S=(g=d==null?void 0:d.proxy)==null?void 0:g.$el)==null?void 0:S.getRootNode)==null?void 0:x.call(S))==null?void 0:M.host;if(!j||!j.setAttribute)return;u===null&&(u=j.getAttribute("dir")||""),c.value==="rtl"?(j.setAttribute("dir","rtl"),p=!0):p&&(u?j.setAttribute("dir",u):j.removeAttribute("dir"),p=!1)}catch{}}ps(T),Qe(c,T);const E=wc("research-map-plus-grid/research-map-plus-grid/index.html");function V(g){var S,x,M,j;for(let Y=g.parentElement||((x=(S=g.getRootNode)==null?void 0:S.call(g))==null?void 0:x.host);Y;Y=Y.parentElement||((j=(M=Y.getRootNode)==null?void 0:M.call(Y))==null?void 0:j.host)){const se=getComputedStyle(Y).overflowY;if(se==="auto"||se==="scroll")return Y}return null}let L=0;function Q(){var g,S,x,M;try{const j=(M=(x=(S=(g=d==null?void 0:d.proxy)==null?void 0:g.$el)==null?void 0:S.getRootNode)==null?void 0:x.call(S))==null?void 0:M.host;if(!j||!j.style||typeof window>"u")return;const Y=V(j),se=Math.min(window.innerHeight,Y?Y.getBoundingClientRect().bottom:window.innerHeight),ne=Math.floor(Math.min(se-Math.max(0,j.getBoundingClientRect().top),window.innerHeight*.88));ne>=320?j.style.setProperty("--sr-band-h",ne+"px"):j.style.removeProperty("--sr-band-h"),L=window.innerWidth}catch{}}function z(){window.innerWidth!==L&&Q()}const N=(g,S)=>`../../${g}/${S}.js`,C=os({region:{value:"",label:""},religion:"",language:{value:"",label:"",codes:[]}}),P=Qo([]);function Z(g){g!=="region"&&(C.region.value||C.region.label)&&(C.region.value="",C.region.label=""),g!=="religion"&&C.religion&&(C.religion=""),g!=="language"&&(C.language.value||C.language.label)&&(C.language.value="",C.language.label="",C.language.codes=[])}const $e=g=>String(g||"").toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_|_$/g,"");let ue=!1;function Te(g){if(g){if(g.region&&(g.region.value||g.region.label)){const S=g.region.value||"",x=g.region.label||"";(S!==C.region.value||x!==C.region.label)&&(C.region.value=S,C.region.label=x,Z("region"));return}if(g.religion){g.religion!==C.religion&&(C.religion=g.religion,Z("religion"));return}if(g.language&&(g.language.value||g.language.label)){const S=g.language.value||"",x=g.language.label||"";(S!==C.language.value||x!==C.language.label)&&(C.language.value=S,C.language.label=x,C.language.codes=Array.isArray(g.language.codes)?g.language.codes:S?[S]:[],Z("language"));return}("region"in g||"religion"in g||"language"in g)&&Z(null)}}function at(g){var Y,se;if(ue)return;const S=Array.isArray((Y=g==null?void 0:g.detail)==null?void 0:Y.slugs)?g.detail.slugs:[];P.value=S.length&&S.length<=Xc?S:[];const x=((se=g==null?void 0:g.detail)==null?void 0:se.activeFilters)||{},M=x.wagf_region,j=ne=>ne&&(ne.label||ne.value)||"";Te({region:{value:M&&(M.value??M)||"",label:M&&M.label||""},religion:j(x.__religion_family),language:{value:x.primary_language&&x.primary_language.value||"",label:x.primary_language&&x.primary_language.label||""}})}function Ne(g){var x,M,j,Y,se;if(ue)return;const S=((x=g==null?void 0:g.detail)==null?void 0:x.region)||"";Te({region:{value:S?$e(S):"",label:S},religion:((M=g==null?void 0:g.detail)==null?void 0:M.religion)||"",language:{value:((j=g==null?void 0:g.detail)==null?void 0:j.languageCode)||"",label:((Y=g==null?void 0:g.detail)==null?void 0:Y.language)||"",codes:Array.isArray((se=g==null?void 0:g.detail)==null?void 0:se.languageCodes)?g.detail.languageCodes:[]}})}function et(){const g=Array.isArray(C.language.codes)?C.language.codes:[];return g.length>1?g.join("|"):C.language.value||C.language.label}let B=null;function tt(){if(!(B!=null&&B.querySelector))return;ue=!0,setTimeout(()=>{ue=!1},1200);const g=B.querySelector("doxa-research-map");if(g){let x={};try{x=JSON.parse(g.getAttribute("profile-config")||"{}")}catch{x={}}x.externalFilters={region:C.region.value,religion:C.religion,language:C.language.label,fitSlugs:P.value},i.value&&(x.lang=i.value,x.locale=i.value),g.setAttribute("profile-config",JSON.stringify(x))}const S=B.querySelector("people-groups-grid");if(S&&(S.setAttribute("wagf-region",C.region.value),S.setAttribute("religion-family",C.religion),S.setAttribute("primary-language",et()),i.value)){let x={};try{x=JSON.parse(S.getAttribute("profile-config")||"{}")}catch{x={}}(x.lang!==i.value||x.locale!==i.value)&&(x.lang=i.value,x.locale=i.value,S.setAttribute("profile-config",JSON.stringify(x)))}}Qe(i,tt),Qe(C,tt,{deep:!0}),Qe(P,tt),ps(()=>{var g,S,x,M,j,Y;B=((M=(x=(S=(g=xs())==null?void 0:g.proxy)==null?void 0:S.$el)==null?void 0:x.getRootNode)==null?void 0:M.call(x))||null,(j=B==null?void 0:B.addEventListener)==null||j.call(B,"groups-filtered",at),(Y=B==null?void 0:B.addEventListener)==null||Y.call(B,"map-filtered",Ne),requestAnimationFrame(Q),window.addEventListener("resize",z)}),eo(()=>{var g,S;(g=B==null?void 0:B.removeEventListener)==null||g.call(B,"groups-filtered",at),(S=B==null?void 0:B.removeEventListener)==null||S.call(B,"map-filtered",Ne),window.removeEventListener("resize",z)});const Dt=Ge(()=>[{key:"map",element:"doxa-research-map",src:N("doxa-research-map","doxa-research-map"),attrs:{"profile-config":JSON.stringify({profile:"research-map",dataSource:"pray-tools",instanceId:"rmpg-research-map",legendTools:!1,...o.value?{tk:o.value}:{},...r.value?{tokenUrl:r.value}:{},...n.value?{provider:n.value}:{},...i.value?{lang:i.value}:{},...l.value?{list:l.value}:{},externalFilters:{region:C.region.value,religion:C.religion,language:C.language.label,fitSlugs:P.value},assetsBase:"../../assets",shareUrl:E})},minHeight:Cn,maxHeight:Cn},{key:"grid",element:"people-groups-grid",src:N("people-groups-grid","people-groups-grid"),attrs:{"show-search":"true","show-filters":"true","show-total":"true",...l.value?{"profile-config":JSON.stringify({list:l.value})}:{},"wagf-region":C.region.value,"religion-family":C.religion,"primary-language":et()}}]);return(g,S)=>(me(),ws(Uc,{sections:Dt.value},null,8,["sections"]))}}),[["styles",[Yc]]]));typeof customElements<"u"&&(customElements.get("research-map-plus-grid")||customElements.define("research-map-plus-grid",Zc))})(); diff --git a/public/dx-maps/research-map-plus-grid/research-map-plus-grid/default/index.html b/public/dx-maps/research-map-plus-grid/research-map-plus-grid/default/index.html index 4603d5504..3656876a6 100644 --- a/public/dx-maps/research-map-plus-grid/research-map-plus-grid/default/index.html +++ b/public/dx-maps/research-map-plus-grid/research-map-plus-grid/default/index.html @@ -77,7 +77,7 @@ - + - +