t(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=We.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=We.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===Le||t.type===pe&&!bo(t.children)):!0)?e:null}const tr=e=>e?Go(e)?dr(e):tr(e.parent):null,Ot=Q(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!==q&&!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!==q&&H(o,t))return i[t]=2,o[t];if(H(n,t))return i[t]=3,n[t];if(s!==q&&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!==q&&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!==q&&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!==q&&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 M(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:S,activated:R,deactivated:Y,beforeDestroy:G,beforeUnmount:F,destroyed:U,unmounted:E,render:Z,renderTracked:me,renderTriggered:N,errorCaptured:$e,serverPrefetch:wt,expose:b,inheritAttrs:P,components:k,directives:ee,filters:re}=t;if(d&&qi(d,r,null),i)for(const K in i){const J=i[K];I(J)&&(r[K]=J.bind(s))}if(o){const K=o.call(s,s);B(K)&&(e.data=ss(K))}if(rr=!0,n)for(const K in n){const J=n[K],lt=I(J)?J.bind(s,s):I(J.get)?J.get.bind(s,s):Ee,Cs=!I(J)&&I(J.set)?J.set.bind(s):Ee,ct=Ge({get:lt,set:Cs});Object.defineProperty(r,K,{enumerable:!0,configurable:!0,get:()=>ct.value,set:Ne=>ct.value=Ne})}if(l)for(const K in l)$o(l[K],r,s,K);if(c){const K=I(c)?c.call(s):c;Reflect.ownKeys(K).forEach(J=>{Ai(J,K[J])})}u&&yo(u,e,"c");function te(K,J){M(J)?J.forEach(lt=>K(lt.bind(s))):J&&K(J.bind(s))}if(te(Ii,p),te(hs,A),te(Fi,C),te(Ni,S),te(Mi,R),te(ki,Y),te(Ui,$e),te(Hi,me),te(Di,N),te(er,F),te(mo,E),te(ji,wt),M(b))if(b.length){const K=e.exposed||(e.exposed={});b.forEach(J=>{Object.defineProperty(K,J,{get:()=>s[J],set:lt=>s[J]=lt,enumerable:!0})})}else e.exposed||(e.exposed={});Z&&e.render===Ee&&(e.render=Z),P!=null&&(e.inheritAttrs=P),k&&(e.components=k),ee&&(e.directives=ee),wt&&ho(e)}function qi(e,t,s=Ee){M(e)&&(e=or(e));for(const r in e){const o=e[r];let n;B(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(M(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];I(n)&&Qe(o,n)}else if(I(e))Qe(o,e.bind(s));else if(B(e))if(M(e))e.forEach(n=>$o(n,t,s,r));else{const n=I(e.handler)?e.handler.bind(s):t[e.handler];I(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)),B(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 Q(I(e)?e.call(this,this):e,I(t)?t.call(this,this):t)}:t:e}function Gi(e,t){return Rt(or(e),or(t))}function or(e){if(M(e)){const t={};for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ue(t)}Modifiers`]||e[`${we(t)}Modifiers`];function Qi(e,t,...s){if(e.isUnmounted)return;const r=e.vnode.props||q;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(we(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(!I(e)){const c=d=>{const u=Co(d,t,!0);u&&(l=!0,Q(i,u))};!s&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!n&&!l?(B(e)&&r.set(e,null),null):(M(n)?n.forEach(c=>i[c]=null):Q(i,n),B(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,we(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:S,inheritAttrs:R}=e,Y=cs(e);let G,F;try{if(s.shapeFlag&4){const E=o||r,Z=E;G=Ie(d.call(Z,E,u,p,C,A,S)),F=l}else{const E=t;G=Ie(E.length>1?E(p,{attrs:l,slots:i,emit:c}):E(p,null)),F=t.props?l:tl(l)}}catch(E){We.length=0,is(E,e,1),G=Ce(Le)}let U=G;if(F&&R!==!1){const E=Object.keys(F),{shapeFlag:Z}=U;E.length&&Z&7&&(n&&E.some(Vt)&&(F=sl(F,n)),U=mt(U,F,!1,!0))}if(s.dirs&&(U=mt(U,null,!1,!0),U.dirs=U.dirs?U.dirs.concat(s.dirs):s.dirs),s.transition){const E=fs(U.type)&&fo(U)||U;Zs(E,s.transition)}return G=U,cs(Y),G}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);Q(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 B(e)&&r.set(e,at),at;if(M(n))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",lr=e=>M(e)?e.map(Ie):[Ie(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(I(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=q;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=Ee,insertStaticContent:S}=e,R=(a,f,h,w=null,m=null,_=null,v=void 0,$=null,y=!!f.dynamicChildren)=>{if(a===f)return;a&&!kt(a,f)&&(w=Ts(a),Ne(a,m,_,!0),a=null),f.patchFlag===-2&&(y=!1,f.dynamicChildren=null);const{type:g,ref:O,shapeFlag:x}=f;switch(g){case ms:Y(a,f,h,w);break;case Le:G(a,f,h,w);break;case ar:a==null&&F(f,h,w,v);break;case pe:k(a,f,h,w,m,_,v,$,y);break;default:x&1?Z(a,f,h,w,m,_,v,$,y):x&6?ee(a,f,h,w,m,_,v,$,y):(x&64||x&128)&&g.process(a,f,h,w,m,_,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)}},G=(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]=S(a.children,f,h,w,a.el,a.anchor)},U=({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)},Z=(a,f,h,w,m,_,v,$,y)=>{if(f.type==="svg"?v="svg":f.type==="math"&&(v="mathml"),a==null)me(f,h,w,m,_,v,$,y);else{const g=a.el&&a.el._isVueCE?a.el:null;try{g&&g._beginPatch(),wt(a,f,m,_,v,$,y)}finally{g&&g._endPatch()}}},me=(a,f,h,w,m,_,v,$)=>{let y,g;const{props:O,shapeFlag:x,transition:T,dirs:L}=a;if(y=a.el=i(a.type,_,O&&O.is,O),x&8?u(y,a.children):x&16&&$e(a.children,y,null,w,m,cr(a,_),v,$),L&&rt(a,null,w,"created"),N(y,a,a.scopeId,v,w),O){for(const W in O)W!=="value"&&!$t(W)&&n(y,W,null,O[W],_,w);"value"in O&&n(y,"value",null,O.value,_),(g=O.onVnodeBeforeMount)&&Fe(g,w,a)}L&&rt(a,null,w,"beforeMount");const j=hl(m,T);j&&T.beforeEnter(y),r(y,f,h),((g=O&&O.onVnodeMounted)||j||L)&&he(()=>{try{g&&Fe(g,w,a),j&&T.enter(y),L&&rt(a,null,w,"mounted")}finally{}},m)},N=(a,f,h,w,m)=>{if(h&&C(a,h),w)for(let _=0;_{for(let g=y;g{const $=f.el=a.el;let{patchFlag:y,dynamicChildren:g,dirs:O}=f;y|=a.patchFlag&16;const x=a.props||q,T=f.props||q;let L;if(h&&ot(h,!1),(L=T.onVnodeBeforeUpdate)&&Fe(L,h,f,a),O&&rt(f,a,h,"beforeUpdate"),h&&ot(h,!0),g&&(!a.dynamicChildren||a.dynamicChildren.length!==g.length)&&(y=0,v=!1,g=null),(x.innerHTML&&T.innerHTML==null||x.textContent&&T.textContent==null)&&u($,""),g?b(a.dynamicChildren,g,$,h,w,cr(f,m),_):v||J(a,f,$,null,h,w,cr(f,m),_,!1),y>0){if(y&16)P($,x,T,h,m);else if(y&2&&x.class!==T.class&&n($,"class",null,T.class,m),y&4&&n($,"style",x.style,T.style,m),y&8){const j=f.dynamicProps;for(let W=0;W{L&&Fe(L,h,f,a),O&&rt(f,a,h,"updated")},w)},b=(a,f,h,w,m,_,v)=>{for(let $=0;${if(f!==h){if(f!==q)for(const _ in f)!$t(_)&&!(_ in h)&&n(a,_,f[_],null,m,w);for(const _ in h){if($t(_))continue;const v=h[_],$=f[_];v!==$&&_!=="value"&&n(a,_,$,v,m,w)}"value"in h&&n(a,"value",f.value,h.value,m)}},k=(a,f,h,w,m,_,v,$,y)=>{const g=f.el=a?a.el:l(""),O=f.anchor=a?a.anchor:l("");let{patchFlag:x,dynamicChildren:T,slotScopeIds:L}=f;L&&($=$?$.concat(L):L),a==null?(r(g,h,w),r(O,h,w),$e(f.children||[],h,O,m,_,v,$,y)):x>0&&x&64&&T&&a.dynamicChildren&&a.dynamicChildren.length===T.length?(b(a.dynamicChildren,T,h,m,_,v,$),(f.key!=null||m&&f===m.subTree)&&Do(a,f,!0)):J(a,f,h,O,m,_,v,$,y)},ee=(a,f,h,w,m,_,v,$,y)=>{f.slotScopeIds=$,a==null?f.shapeFlag&512?m.ctx.activate(f,h,w,v,y):re(f,h,w,m,_,v,y):Te(a,f,y)},re=(a,f,h,w,m,_,v)=>{const $=a.component=vl(a,w,m);if(Qs(a)&&($.ctx.renderer=Ht),xl($,!1,v),$.asyncDep){if(m&&m.registerDep($,te,v),!a.el){const y=$.subTree=Ce(Le);G(null,y,f,h),a.placeholder=y.el}}else te($,a,f,h,m,_,v)},Te=(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},te=(a,f,h,w,m,_,v)=>{const $=()=>{if(a.isMounted){let{next:x,bu:T,u:L,parent:j,vnode:W}=a;{const De=Ho(a);if(De){x&&(x.el=W.el,K(a,x,v)),De.asyncDep.then(()=>{he(()=>{a.isUnmounted||g()},m)});return}}let V=x,se;ot(a,!1),x?(x.el=W.el,K(a,x,v)):x=W,T&&ks(T),(se=x.props&&x.props.onVnodeBeforeUpdate)&&Fe(se,j,x,W),ot(a,!0);const ie=To(a),je=a.subTree;a.subTree=ie,R(je,ie,p(je.el),Ts(je),a,m,_),x.el=ie.el,V===null&&ol(a,ie.el),L&&he(L,m),(se=x.props&&x.props.onVnodeUpdated)&&he(()=>Fe(se,j,x,W),m)}else{let x;const{el:T,props:L}=f,{bm:j,m:W,parent:V,root:se,type:ie}=a,je=_t(f);ot(a,!1),j&&ks(j),!je&&(x=L&&L.onVnodeBeforeMount)&&Fe(x,V,f),ot(a,!0);{se.ce&&se.ce._hasShadowRoot()&&se.ce._injectChildStyle(ie,a.parent?a.parent.type:void 0);const De=a.subTree=To(a);R(null,De,h,w,a,m,_),f.el=De.el}if(W&&he(W,m),!je&&(x=L&&L.onVnodeMounted)){const De=f;he(()=>Fe(x,V,De),m)}(f.shapeFlag&256||V&&_t(V.vnode)&&V.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($);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),ot(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),Oe(),no(a),Re()},J=(a,f,h,w,m,_,v,$,y=!1)=>{const g=a&&a.children,O=a?a.shapeFlag:0,x=f.children,{patchFlag:T,shapeFlag:L}=f;if(T>0){if(T&128){Cs(g,x,h,w,m,_,v,$,y);return}else if(T&256){lt(g,x,h,w,m,_,v,$,y);return}}L&8?(O&16&&Dt(g,m,_),x!==g&&u(h,x)):O&16?L&16?Cs(g,x,h,w,m,_,v,$,y):Dt(g,m,_,!0):(O&8&&u(h,""),L&16&&$e(x,h,w,m,_,v,$,y))},lt=(a,f,h,w,m,_,v,$,y)=>{a=a||at,f=f||at;const g=a.length,O=f.length,x=Math.min(g,O);let T;for(T=0;TO?Dt(a,m,_,!0,!1,x):$e(f,h,w,m,_,v,$,y,x)},Cs=(a,f,h,w,m,_,v,$,y)=>{let g=0;const O=f.length;let x=a.length-1,T=O-1;for(;g<=x&&g<=T;){const L=a[g],j=f[g]=y?ze(f[g]):Ie(f[g]);if(kt(L,j))R(L,j,h,null,m,_,v,$,y);else break;g++}for(;g<=x&&g<=T;){const L=a[x],j=f[T]=y?ze(f[T]):Ie(f[T]);if(kt(L,j))R(L,j,h,null,m,_,v,$,y);else break;x--,T--}if(g>x){if(g<=T){const L=T+1,j=LT)for(;g<=x;)Ne(a[g],m,_,!0),g++;else{const L=g,j=g,W=new Map;for(g=j;g<=T;g++){const be=f[g]=y?ze(f[g]):Ie(f[g]);be.key!=null&&W.set(be.key,g)}let V,se=0;const ie=T-j+1;let je=!1,De=0;const Ut=new Array(ie);for(g=0;g=ie){Ne(be,m,_,!0);continue}let He;if(be.key!=null)He=W.get(be.key);else for(V=j;V<=T;V++)if(Ut[V-j]===0&&kt(be,f[V])){He=V;break}He===void 0?Ne(be,m,_,!0):(Ut[He-j]=g+1,He>=De?De=He:je=!0,R(be,f[He],h,null,m,_,v,$,y),se++)}const Pn=je?pl(Ut):at;for(V=Pn.length-1,g=ie-1;g>=0;g--){const be=j+g,He=f[be],On=f[be+1],Rn=be+1{const{el:_,type:v,transition:$,children:y,shapeFlag:g}=a;if(g&6){ct(a.component.subTree,f,h,w);return}if(g&128){a.suspense.move(f,h,w);return}if(g&64){v.move(a,f,h,Ht);return}if(v===pe){r(_,f,h);for(let x=0;x$.enter(_),m));else{const{leave:x,delayLeave:T,afterLeave:L}=$,j=()=>{a.ctx.isUnmounted?o(_):r(_,f,h)},W=()=>{const V=_._isLeaving||!!_[Xs];_._isLeaving&&_[Xs](!0),$.persisted&&!V?j():x(_,()=>{j(),L&&L()})};T?T(_,j,W):W()}else r(_,f,h)},Ne=(a,f,h,w=!1,m=!1)=>{const{type:_,props:v,ref:$,children:y,dynamicChildren:g,shapeFlag:O,patchFlag:x,dirs:T,cacheIndex:L,memo:j}=a;if(x===-2&&(m=!1),$!=null&&(Oe(),Pt($,null,h,a,!0),Re()),L!=null&&(f.renderCache[L]=void 0),O&256){f.ctx.deactivate(a);return}const W=O&1&&T,V=!_t(a);let se;if(V&&(se=v&&v.onVnodeBeforeUnmount)&&Fe(se,f,a),O&6)ea(a.component,h,w);else{if(O&128){a.suspense.unmount(h,w);return}W&&rt(a,null,f,"beforeUnmount"),O&64?a.type.remove(a,f,h,Ht,w):g&&!g.hasOnce&&(_!==pe||x>0&&x&64)?Dt(g,f,h,!1,!0):(_===pe&&x&384||!m&&O&16)&&Dt(y,f,h),w&&Tn(a)}const ie=j!=null&&L==null;(V&&(se=v&&v.onVnodeUnmounted)||W||ie)&&he(()=>{se&&Fe(se,f,a),W&&rt(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:v,delayLeave:$}=m,y=()=>v(h,_);$?$(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:v,um:$,m:y,a:g}=a;Uo(y),Uo(g),w&&ks(w),m.stop(),_&&(_.flags|=8,Ne(v,a,f,h)),$&&he($,f),he(()=>{a.isUnmounted=!0},f)},Dt=(a,f,h,w=!1,m=!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=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&&(Ne(f._vnode,null,null,!0),w=f._vnode.component):R(f._vnode||null,a,f,null,null,null,h),f._vnode=a,$r||($r=!0,no(w),io(),$r=!1)},Ht={p:R,um:Ne,m:ct,r:Tn,mt:re,mc:$e,pc:J,pbc:b,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 ot({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(M(r)&&M(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?M(e)?t.effects.push(...e):t.effects.push(e):xi(e)}const pe=Symbol.for("v-fgt"),ms=Symbol.for("v-txt"),Le=Symbol.for("v-cmt"),ar=Symbol.for("v-stc"),We=[];let _e=null;function ge(e=!1){We.push(_e=e?null:[])}function fr(){We.pop(),_e=We[We.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||at:null,fr(),Mt>0&&_e&&_e.push(e),e}function qe(e,t,s,r,o,n){return Wo(nt(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)||I(e)?{i:de,r:e,k:t,f:!!s}:e:null);function nt(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=Le),ur(e)){const l=mt(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)),B(c)&&(zs(c)&&!M(c)&&(c=Q({},c)),t.style=Gt(c))}const i=X(e)?1:Vo(e)?128:fs(e)?64:B(e)?4:I(e)?2:0;return nt(e,t,s,r,o,i,n,!0)}function ml(e){return e?zs(e)||Mo(e)?Q({},e):e:null}function mt(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?M(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&&mt(e.ssContent),ssFallback:e.ssFallback&&mt(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(Le,null,e)):Ce(Le,null,e)}function Ie(e){return e==null||typeof e=="boolean"?Ce(Le):M(e)?Ce(pe,null,e.slice()):ur(e)?ze(e):Ce(ms,null,String(e))}function ze(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:mt(e)}function $s(e,t){let s=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(M(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(I(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){Oe();const o=e.setupContext=r.length>1?Cl(e):null,n=It(e),i=dt(r,e,0,[e.props,o]),l=Sr(i);if(Re(),n(),(l||e.sp)&&!_t(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){I(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:B(t)&&(e.setupState=eo(t)),Yo(e)}function Yo(e,t,s){const r=e.type;e.render||(e.render=r.render||Ee);{const o=It(e);Oe();try{Wi(e)}finally{Re(),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 I(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 I(e)&&"__vccOpts"in e}const Ge=(e,t)=>pi(e,t,Ft),Rl="3.5.42";/**
* @vue/runtime-dom v3.5.42
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
-**/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"?``:o==="mathml"?``: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=J(s);let n=!1;if(s&&!r){if(t)if(J(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,!J(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 Ss=/\s*!important$/;function Nt(e,t,s){if(R(s))s.forEach(o=>Nt(e,t,o));else if(s==null&&(s=""),t.startsWith("--"))Ss.test(s)?e.setProperty(t,s.replace(Ss,""),"important"):e.setProperty(t,s);else{const o=Ul(e,t);Ss.test(s)?e.setProperty(we(o),s.replace(Ss,""),"important"):e[o]=s}}const sn=["Webkit","Moz","ms"],_o={};function Ul(e,t){const s=_o[t];if(s)return s;let o=ue(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(R(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):Bt(t)?Vt(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)||!J(o)))?nn(e,ue(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)&&k(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)&&J(s)?!1:t in e}function ec(e,t){const s=e._def.props;if(!s)return!1;const o=ue(t);return Array.isArray(s)?s.some(r=>ue(r)===o):Object.keys(s).some(r=>ue(r)===o)}const an={};function tc(e,t,s){let o=dr(e,t);Wt(o)&&(o=Q({},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(Q({},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&&!R(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)))[ue(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)H(this,o)||Object.defineProperty(this,o,{get:()=>er(s[o])})}_resolveProps(t){const{props:s}=t,o=R(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(ue))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=ue(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=Ae(this._def,Q(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,Wt(i[0])?Q({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;!k(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 J(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[,o,r]=s;lt[o]??(lt[o]={}),lt[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(lt[s])return Promise.resolve(!0);if(bo.has(s))return bo.get(s).then(r=>r);if(!pn[s])return Promise.resolve(!!lt[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:(lt[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;hs(()=>{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) {
+**/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",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,r)=>{const o=t==="svg"?Je.createElementNS(Ml,e):t==="mathml"?Je.createElementNS(kl,e):s?Je.createElement(e,{is:s}):Je.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},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,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"?``:r==="mathml"?``: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(M(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(we(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(M(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)&&I(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=Q({},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(Q({},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&&!M(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=M(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(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),oc(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const s=Ce(this._def,Q(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])?Q({detail:i},i[0]):{detail:i}))};r.emit=(n,...i)=>{o(n,i),we(n)!==n&&o(we(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;!I(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:"自动"}}),it={};for(const[e,t]of Object.entries(lc)){const s=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!s)continue;const[,r,o]=s;it[r]??(it[r]={}),it[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(it[s])return Promise.resolve(!0);if(mr.has(s))return mr.get(s).then(o=>o);if(!pn[s])return Promise.resolve(!!it[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:(it[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) {
*, *::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,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 xc(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 vc=".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}",xn=(e,t)=>{const s=e.__vccOpts||e;for(const[o,r]of t)s[o]=r;return s},Sc="dx-maps".replace(/[.*+?^${}()|[\]\\]/g,"\\$&");function vn(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 Cc(e){return $c(vn(e))}function Ac(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=`
+}`,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=`
.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=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&&Cc(e.src).then(()=>Ac(e.element)).then(()=>{if(xc(e.element,vn(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"},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,o,r,n){return me(),qe("div",Pc,[e.$slots.brand||e.$slots.meta||e.title?(me(),qe("header",Oc,[it("span",Rc,[ps(e.$slots,"brand")]),e.title?(me(),qe("b",Mc,Xt(e.title),1)):ys("",!0),it("span",kc,[ps(e.$slots,"meta")])])):ys("",!0),it("div",Lc,[(me(!0),qe(_e,null,Vi(e.sections,i=>(me(),qe("section",{key:i.key,class:Jt(["stl-sec",{"stl-sec-fill":e.hasDefiniteHeight(i)}]),style:Gt(e.sectionStyle(i))},[i.title?(me(),qe("div",Ic,[it("b",Fc,Xt(i.title),1),i.sub?(me(),qe("span",Nc,Xt(i.sub),1)):ys("",!0)])):ys("",!0),i.element?(me(),qe("div",{key:1,class:"stl-host",ref_for:!0,ref:l=>e.registerHost(i.key,l)},null,512)):(me(),qe("div",jc,[ps(e.$slots,"section-"+i.key)]))],6))),128)),it("div",Dc,[ps(e.$slots,"default")])])])}const Uc=xn(Ec,[["render",Hc],["styles",[vc]]]),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"";Cn();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 Cn(){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(){Cn();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 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(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 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(),o=Ge(()=>Gc(e==null?void 0:e.value));return Qe(o,r=>{zc({tokenUrl:r,token:(t==null?void 0:t.value)||"",sharedToken:s.value})&&qc(r)},{immediate:!0}),o}const Yc=":host{display:block;width:100%}",An="88svh",Xc=400,Zc=tc(xn(Object.assign({inheritAttrs:!1},{__name:"research-map-plus-grid",props:{profileConfig:{type:[String,Object],default:null}},setup(e){const t=e,s=Ge(()=>{const b=t.profileConfig;if(!b)return{};if(typeof b=="object")return b;try{return JSON.parse(b)}catch{return{}}}),o=Ge(()=>{var A;const b=(A=s.value)==null?void 0:A.tk;return typeof b=="string"&&b?b:""});o.value&&$o(o.value);const r=Jc(s,o),n=Ge(()=>{var A;const b=(A=s.value)==null?void 0:A.provider;return b==="maplibre"||b==="mapbox"?b:""}),i=Ge(()=>{var A,L;const b=String(((A=s.value)==null?void 0:A.lang)||((L=s.value)==null?void 0:L.locale)||"").split("-")[0].toLowerCase();return jt.includes(b)?b:""});Ei(()=>{i.value&&uc(i.value)});const l=Ge(()=>{var b;return typeof((b=s.value)==null?void 0:b.list)=="string"?s.value.list:""}),c=Ge(()=>{const b=i.value||pc()||gn();return ac.has(b)?"rtl":"ltr"}),d=xs();function u(){var b,A,L,ee;try{const le=(ee=(L=(A=(b=d==null?void 0:d.proxy)==null?void 0:b.$el)==null?void 0:A.getRootNode)==null?void 0:L.call(A))==null?void 0:ee.host;le&&c.value==="rtl"&&le.setAttribute("dir","rtl")}catch{}}hs(u),Qe(c,u);const p=wc("research-map-plus-grid/research-map-plus-grid/index.html"),C=(b,A)=>`../../${b}/${A}.js`,y=ss({region:{value:"",label:""},religion:"",language:{value:"",label:"",codes:[]}}),N=Qo([]);function O(b){b!=="region"&&(y.region.value||y.region.label)&&(y.region.value="",y.region.label=""),b!=="religion"&&y.religion&&(y.religion=""),b!=="language"&&(y.language.value||y.language.label)&&(y.language.value="",y.language.label="",y.language.codes=[])}const X=b=>String(b||"").toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_|_$/g,"");let B=!1;function F(b){if(b){if(b.region&&(b.region.value||b.region.label)){const A=b.region.value||"",L=b.region.label||"";(A!==y.region.value||L!==y.region.label)&&(y.region.value=A,y.region.label=L,O("region"));return}if(b.religion){b.religion!==y.religion&&(y.religion=b.religion,O("religion"));return}if(b.language&&(b.language.value||b.language.label)){const A=b.language.value||"",L=b.language.label||"";(A!==y.language.value||L!==y.language.label)&&(y.language.value=A,y.language.label=L,y.language.codes=Array.isArray(b.language.codes)?b.language.codes:A?[A]:[],O("language"));return}("region"in b||"religion"in b||"language"in b)&&O(null)}}function U(b){var $e,et;if(B)return;const A=Array.isArray(($e=b==null?void 0:b.detail)==null?void 0:$e.slugs)?b.detail.slugs:[];N.value=A.length&&A.length<=Xc?A:[];const L=((et=b==null?void 0:b.detail)==null?void 0:et.activeFilters)||{},ee=L.wagf_region,le=se=>se&&(se.label||se.value)||"";F({region:{value:ee&&(ee.value??ee)||"",label:ee&&ee.label||""},religion:le(L.__religion_family),language:{value:L.primary_language&&L.primary_language.value||"",label:L.primary_language&&L.primary_language.label||""}})}function E(b){var L,ee,le,$e,et;if(B)return;const A=((L=b==null?void 0:b.detail)==null?void 0:L.region)||"";F({region:{value:A?X(A):"",label:A},religion:((ee=b==null?void 0:b.detail)==null?void 0:ee.religion)||"",language:{value:((le=b==null?void 0:b.detail)==null?void 0:le.languageCode)||"",label:(($e=b==null?void 0:b.detail)==null?void 0:$e.language)||"",codes:Array.isArray((et=b==null?void 0:b.detail)==null?void 0:et.languageCodes)?b.detail.languageCodes:[]}})}function Z(){const b=Array.isArray(y.language.codes)?y.language.codes:[];return b.length>1?b.join("|"):y.language.value||y.language.label}let I=null;function pe(){if(!(I!=null&&I.querySelector))return;B=!0,setTimeout(()=>{B=!1},1200);const b=I.querySelector("doxa-research-map");if(b){let L={};try{L=JSON.parse(b.getAttribute("profile-config")||"{}")}catch{L={}}L.externalFilters={region:y.region.value,religion:y.religion,language:y.language.label,fitSlugs:N.value},i.value&&(L.lang=i.value),b.setAttribute("profile-config",JSON.stringify(L))}const A=I.querySelector("people-groups-grid");if(A&&(A.setAttribute("wagf-region",y.region.value),A.setAttribute("religion-family",y.religion),A.setAttribute("primary-language",Z()),i.value)){let L={};try{L=JSON.parse(A.getAttribute("profile-config")||"{}")}catch{L={}}L.lang!==i.value&&(L.lang=i.value,A.setAttribute("profile-config",JSON.stringify(L)))}}Qe(i,pe),Qe(y,pe,{deep:!0}),Qe(N,pe),hs(()=>{var b,A,L,ee,le,$e;I=((ee=(L=(A=(b=xs())==null?void 0:b.proxy)==null?void 0:A.$el)==null?void 0:L.getRootNode)==null?void 0:ee.call(L))||null,(le=I==null?void 0:I.addEventListener)==null||le.call(I,"groups-filtered",U),($e=I==null?void 0:I.addEventListener)==null||$e.call(I,"map-filtered",E)}),eo(()=>{var b,A;(b=I==null?void 0:I.removeEventListener)==null||b.call(I,"groups-filtered",U),(A=I==null?void 0:I.removeEventListener)==null||A.call(I,"map-filtered",E)});const Fe=Ge(()=>[{key:"map",element:"doxa-research-map",src:C("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:y.region.value,religion:y.religion,language:y.language.label,fitSlugs:N.value},assetsBase:"../../assets",shareUrl:p})},minHeight:An,maxHeight:An},{key:"grid",element:"people-groups-grid",src:C("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":y.region.value,"religion-family":y.religion,"primary-language":Z()}}]);return(b,A)=>(me(),bs(Uc,{sections:Fe.value},null,8,["sections"]))}}),[["styles",[Yc]]]));typeof customElements<"u"&&(customElements.get("research-map-plus-grid")||customElements.define("research-map-plus-grid",Zc))})();
+`,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(),qe("div",Pc,[e.$slots.brand||e.$slots.meta||e.title?(ge(),qe("header",Oc,[nt("span",Rc,[ps(e.$slots,"brand")]),e.title?(ge(),qe("b",Mc,Xt(e.title),1)):ys("",!0),nt("span",kc,[ps(e.$slots,"meta")])])):ys("",!0),nt("div",Lc,[(ge(!0),qe(pe,null,Vi(e.sections,i=>(ge(),qe("section",{key:i.key,class:Jt(["stl-sec",{"stl-sec-fill":e.hasDefiniteHeight(i)}]),style:Gt(e.sectionStyle(i))},[i.title?(ge(),qe("div",Ic,[nt("b",Fc,Xt(i.title),1),i.sub?(ge(),qe("span",Nc,Xt(i.sub),1)):ys("",!0)])):ys("",!0),i.element?(ge(),qe("div",{key:1,class:"stl-host",ref_for:!0,ref:l=>e.registerHost(i.key,l)},null,512)):(ge(),qe("div",jc,[ps(e.$slots,"section-"+i.key)]))],6))),128)),nt("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",bt=()=>{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===bt())return bt();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&&!bt()&&(window[br]=e);try{Object.defineProperty(window,"MAP_TOKEN",{configurable:!0,get(){return bt()},set(s){yr(s)}}),window[Sn]=!0}catch{}}function Wc(){An();const e=Zr(bt());if(typeof window<"u"){const t=()=>{e.value=bt()};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=Ge(()=>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=Ge(()=>{const b=t.profileConfig;if(!b)return{};if(typeof b=="object")return b;try{return JSON.parse(b)}catch{return{}}}),r=Ge(()=>{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=Ge(()=>{var P;const b=(P=s.value)==null?void 0:P.provider;return b==="maplibre"||b==="mapbox"?b:""}),i=Ge(()=>{var P,k;const b=String(((P=s.value)==null?void 0:P.lang)||((k=s.value)==null?void 0:k.locale)||"").split("-")[0].toLowerCase();return jt.includes(b)?b:""});Ei(()=>{i.value&&uc(i.value)});const l=Ge(()=>{var b;return typeof((b=s.value)==null?void 0:b.list)=="string"?s.value.list:""}),c=Ge(()=>{const b=i.value||pc()||gn();return ac.has(b)?"rtl":"ltr"}),d=vs();let u=null;function p(){var b,P,k,ee;try{const re=(ee=(k=(P=(b=d==null?void 0:d.proxy)==null?void 0:b.$el)==null?void 0:P.getRootNode)==null?void 0:k.call(P))==null?void 0:ee.host;if(!re||!re.setAttribute)return;c.value==="rtl"?(u===null&&(u=re.getAttribute("dir")||""),re.setAttribute("dir","rtl")):u!==null&&(u?re.setAttribute("dir",u):re.removeAttribute("dir"),u=null)}catch{}}hs(p),Qe(c,p);const A=wc("research-map-plus-grid/research-map-plus-grid/index.html"),C=(b,P)=>`../../${b}/${P}.js`,S=ss({region:{value:"",label:""},religion:"",language:{value:"",label:"",codes:[]}}),R=Zr([]);function Y(b){b!=="region"&&(S.region.value||S.region.label)&&(S.region.value="",S.region.label=""),b!=="religion"&&S.religion&&(S.religion=""),b!=="language"&&(S.language.value||S.language.label)&&(S.language.value="",S.language.label="",S.language.codes=[])}const G=b=>String(b||"").toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_|_$/g,"");let F=!1;function U(b){if(b){if(b.region&&(b.region.value||b.region.label)){const P=b.region.value||"",k=b.region.label||"";(P!==S.region.value||k!==S.region.label)&&(S.region.value=P,S.region.label=k,Y("region"));return}if(b.religion){b.religion!==S.religion&&(S.religion=b.religion,Y("religion"));return}if(b.language&&(b.language.value||b.language.label)){const P=b.language.value||"",k=b.language.label||"";(P!==S.language.value||k!==S.language.label)&&(S.language.value=P,S.language.label=k,S.language.codes=Array.isArray(b.language.codes)?b.language.codes:P?[P]:[],Y("language"));return}("region"in b||"religion"in b||"language"in b)&&Y(null)}}function E(b){var Te,te;if(F)return;const P=Array.isArray((Te=b==null?void 0:b.detail)==null?void 0:Te.slugs)?b.detail.slugs:[];R.value=P.length&&P.length<=Xc?P:[];const k=((te=b==null?void 0:b.detail)==null?void 0:te.activeFilters)||{},ee=k.wagf_region,re=K=>K&&(K.label||K.value)||"";U({region:{value:ee&&(ee.value??ee)||"",label:ee&&ee.label||""},religion:re(k.__religion_family),language:{value:k.primary_language&&k.primary_language.value||"",label:k.primary_language&&k.primary_language.label||""}})}function Z(b){var k,ee,re,Te,te;if(F)return;const P=((k=b==null?void 0:b.detail)==null?void 0:k.region)||"";U({region:{value:P?G(P):"",label:P},religion:((ee=b==null?void 0:b.detail)==null?void 0:ee.religion)||"",language:{value:((re=b==null?void 0:b.detail)==null?void 0:re.languageCode)||"",label:((Te=b==null?void 0:b.detail)==null?void 0:Te.language)||"",codes:Array.isArray((te=b==null?void 0:b.detail)==null?void 0:te.languageCodes)?b.detail.languageCodes:[]}})}function me(){const b=Array.isArray(S.language.codes)?S.language.codes:[];return b.length>1?b.join("|"):S.language.value||S.language.label}let N=null;function $e(){if(!(N!=null&&N.querySelector))return;F=!0,setTimeout(()=>{F=!1},1200);const b=N.querySelector("doxa-research-map");if(b){let k={};try{k=JSON.parse(b.getAttribute("profile-config")||"{}")}catch{k={}}k.externalFilters={region:S.region.value,religion:S.religion,language:S.language.label,fitSlugs:R.value},i.value&&(k.lang=i.value,k.locale=i.value),b.setAttribute("profile-config",JSON.stringify(k))}const P=N.querySelector("people-groups-grid");if(P&&(P.setAttribute("wagf-region",S.region.value),P.setAttribute("religion-family",S.religion),P.setAttribute("primary-language",me()),i.value)){let k={};try{k=JSON.parse(P.getAttribute("profile-config")||"{}")}catch{k={}}(k.lang!==i.value||k.locale!==i.value)&&(k.lang=i.value,k.locale=i.value,P.setAttribute("profile-config",JSON.stringify(k)))}}Qe(i,$e),Qe(S,$e,{deep:!0}),Qe(R,$e),hs(()=>{var b,P,k,ee,re,Te;N=((ee=(k=(P=(b=vs())==null?void 0:b.proxy)==null?void 0:P.$el)==null?void 0:k.getRootNode)==null?void 0:ee.call(k))||null,(re=N==null?void 0:N.addEventListener)==null||re.call(N,"groups-filtered",E),(Te=N==null?void 0:N.addEventListener)==null||Te.call(N,"map-filtered",Z)}),er(()=>{var b,P;(b=N==null?void 0:N.removeEventListener)==null||b.call(N,"groups-filtered",E),(P=N==null?void 0:N.removeEventListener)==null||P.call(N,"map-filtered",Z)});const wt=Ge(()=>[{key:"map",element:"doxa-research-map",src:C("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:S.region.value,religion:S.religion,language:S.language.label,fitSlugs:R.value},assetsBase:"../../assets",shareUrl:A})},minHeight:Cn,maxHeight:Cn},{key:"grid",element:"people-groups-grid",src:C("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":S.region.value,"religion-family":S.religion,"primary-language":me()}}]);return(b,P)=>(ge(),bs(Uc,{sections:wt.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 31ab2119b..3b7b8297d 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 @@
-
+
-
+