1import{a as e}from"./B69vJRmp.js";import{s as t}from"./DwbFLkxG.js";import{K as n,St as r,V as i,et as a,f as o,mt as s,nt as c,p as l}from"./Cb8twsq3.js";import{dt as u,nt as d}from"./BSXFIdMP.js";import{t as f}from"./CmDbBUmm.js";import{t as p}from"./BlMw-eRi.js";import{n as m}from"./C9cv7vxi.js";import{S as h,b as g,d as _,p as v}from"#entry";import{t as y}from"./DJcUP-IW.js";var b={__name:`[...slug]`,async setup(b){let x,S,{public:C}=t(),w=u(),{slug:T}=u().params,{locale:E,t:D}=m(),O=p(),k=O.rootSlug,A=h(),j=`Records.records,NewsList.news,EventsList.event,EventsSlider.slides,SessionItem.category,SessionItem.location,SessionItem.sessionPresenter,NewsListSelection.news,ModalButton.records,Contacts.contacts,ContactPosition.contact,DecisionTree.contactForm,Page.topics,Page.targetGroups,Page.areas,Page.topics,Page.inheriteSettingsPage,BlogArticle.targetGroups,BlogArticle.areas,BlogArticle.topics,BlogArticle.inheriteSettingsPage,BlogArticle.category,BlogArticle.author,LocalInitiatives.country,LocalInitiatives.countries,LocalInitiativeProject.action,LocalInitiativeProject.technology,LocalCaseStudiesTechnologyFilter.values,LocalCaseStudiesRegionFilter.values,LocalCaseStudiesStateFilter.values,DecisionTreeContact.contacts,SolarCalculator.country,SolarCalculator.contact,SolarCalculator.contactForm,InTheMediaSlider.cards,InTheMedia.type,InTheMedia.medium,InTheMedia.language,InTheMedia.topics`.split(`,`),M=s(null),N=null,P=g(),F=!!w?.query?.[`_storyblok_tk[token]`],I=T&&T.length>0?T.join(`/`):``;if(I===`site-config`||O?.stage===`production`&&P?.languages?.[O?.currentLocale]?.active===!1)throw d({statusCode:404,statusMessage:D(`error.page.404.title`),message:D(`error.page.404.message`),fatal:!0});let L=`${A}/${I}`.replace(/\/$/,``);k===`content-hub`&&(L=`${k}/${I}`.replace(/\/$/,``));try{let e=([x,S]=c(()=>y(L,{deep:F,api:{version:C.storyblokVersion,language:E.value,resolve_relations:j,resolve_links:`url`,resolve_links_level:2,resolve_assets:1},bridge:{resolveRelations:j,resolveLinks:`url`,preventClicks:!0}})),x=await x,S(),x);M.value=e.story.value,N=e.story}catch(t){console.error(`Error in [...slug].vue loading content from Storyblok (useAsyncStoryblok):`,{message:t.message,statusCode:t.statusCode,url:L}),e(t,{level:`error`,tags:{source:`page-fetch-storyblok`}})}if(M.value){let e=O.currentLocale===O.defaultLocale?A:O.currentLocale+`/`+A,t=`/`+O.currentLocale;M.value=([x,S]=c(()=>v(M.value,C,E.value)),x=await x,S(),x),M.value=_(M.value,e,t,[`url`,`full_slug`]);let n=f(`currentStory`,()=>M.value);n.value=M.value,F&&N&&a(N,r=>{r&&(M.value=_(r,e,t,[`url`,`full_slug`]),n.value=M.value)})}else throw d({statusCode:404,statusMessage:D(`error.page.404.title`),message:D(`error.page.404.message`),fatal:!0});return(e,t)=>{let a=n(`StoryblokComponent`);return r(M)?(i(),o(a,{key:0,blok:r(M).content,story:r(M),page:!0},null,8,[`blok`,`story`])):l(``,!0)}}};export{b as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.