import{n as w,u as b,X as h,p as B,q as D,z as n}from"./C-p8iwFB.js";import{u as L}from"./CzhqWxCr.js";import{b as $}from"./CoDoNMKP.js";import{l as P,g as R,c as k,L as I}from"./CcaXHT2u.js";import{u as N}from"./By8KGx2a.js";import{u as S}from"./eUkVycX5.js";import"./zZrEEo8J.js";import"./CeX-HMq3.js";import"./D5gyVvxj.js";import"./BS7h1Lqf.js";import"./BosuxZz1.js";import"./ha1fAqgW.js";import"./CLiMtjFX.js";import"./CGktu-mi.js";import"./NPB8-mQI.js";import"./Bw4pmyJw.js";import"./0J232JST.js";import"./BHXYl7HU.js";import"./CGEZKsSZ.js";import"./tQ6WxJ_u.js";import"./qrlpHzF4.js";import"./Cr-Pregy.js";import"./BolLwX47.js";import"./DrxzLkSR.js";import"./D5dI63nB.js";import"./Bk_cpj1_.js";import"./iebVTOPQ.js";async function v(){const{data:p}=await L(async o=>{const e=o==null?void 0:o.vueApp.config.globalProperties.$i18n.locale,t=o==null?void 0:o.$config.public.webId,{defaultLocale:i,newsWhere:a,storyName:m,locationName:s,locationBounds:l}=P[t],d=[R(m,o),k(t,e)];i===e&&d.push($(3,a,t,e,o));const[u,r,_]=await Promise.all(d);let c=r;c=c.filter((y,f)=>ff===r.length-1);return{story:u,definition:{name:s,regions:c,lastRegion:g},news:_?_.news:null,locationName:s,locationBounds:l}},"$tKfTGQjE5f");return p.value}const C=w({__name:"index",async setup(p){let o,e;const{t}=b(),{story:i,locationName:a,locationBounds:m,news:s,definition:l}=([o,e]=h(()=>v()),o=await o,e(),o);return N({...i,content:{...i.content,meta_title:`${t("locations.meta.title",{name:t(a)})}`,meta_description:`${t("locations.meta.description",{name:t(a)})}`}}),S(i),(u,r)=>(D(),B(I,{story:n(i),definition:n(l),"location-name":n(a),"location-bounds":n(m),news:n(s),"disabled-country":!1,country:"","all-cities":""},null,8,["story","definition","location-name","location-bounds","news"]))}}),ro=C;export{ro as default}; //# sourceMappingURL=Cs0Ps2D6.js.map