1import{_ as x,I as b,u as f,M as g,N as y,O as v,ai as w,P as L,J as C,L as E,K as N,ab as P,G as p,V as T,U as B,B as l,F as S,X as F,l as a,C as i,D as t,E as u,a1 as V}from"./DYv98tYm.js";const z={key:0,class:"static-page-skeleton",role:"status","aria-live":"polite","aria-busy":"true"},I={key:1,role:"article"},M={class:"folk_event__title page-title"},R={key:0},j=["innerHTML"],q={__name:"StaticPage",async setup(A){let s,r;const{t:D,locale:n}=b({useScope:"global"}),h=f();g.setBodyClass(y.default),g.setIsSearchFormVisible(v.hidden);const e=T({currentLocale:"",page:{},isLoading:!0}),m=h.currentRoute.value.path.replace(/^\/[a-z]{2}\//,"");let o=null;try{o=([s,r]=w(()=>L.getAsync(`page/find/${m}`)),s=await s,r(),s),e.page={...o.page},e.isLoading=!1}catch(c){console.error("Error loading static page:",c),e.isLoading=!1,e.page={title:"Page Not Found",titleEn:"Page Not Found",content:"<p>The requested page could not be found.</p>",contentEn:"<p>The requested page could not be found.</p>"}}return C({title:()=>o?.page?.title||"Page Not Found",ogTitle:()=>o?.page?.title||"Page Not Found",ogImage:()=>"https://folkloradatbazis.azureedge.net/images/default-og-image.jpg",twitterCard:()=>"https://folkloradatbazis.azureedge.net/images/default-og-image.jpg"}),E(()=>{e.currentLocale=n.value}),N(n,()=>{e.currentLocale=n.value}),(c,d)=>{const _=F,k=B;return l(),P(k,{class:"static-page",style:{"min-height":"100vh"}},{default:p(()=>[S(_,{span:16,offset:4,xl:{span:"10",offset:"7"}},{default:p(()=>[a(e).isLoading?(l(),i("div",z,[...d[0]||(d[0]=[t("span",{class:"sr-only"},"Loading page content...",-1),t("div",{class:"skeleton skeleton--animated",style:{height:"40px",width:"60%","margin-bottom":"20px"}},null,-1),t("div",{class:"skeleton skeleton--animated",style:{height:"24px",width:"40%","margin-bottom":"30px"}},null,-1),t("div",{class:"skeleton skeleton--animated",style:{height:"20px",width:"100%","margin-bottom":"16px"}},null,-1),t("div",{class:"skeleton skeleton--animated",style:{height:"20px",width:"95%","margin-bottom":"16px"}},null,-1),t("div",{class:"skeleton skeleton--animated",style:{height:"20px",width:"90%","margin-bottom":"16px"}},null,-1),t("div",{class:"skeleton skeleton--animated",style:{height:"20px",width:"85%","margin-bottom":"16px"}},null,-1),t("div",{class:"skeleton skeleton--animated",style:{height:"20px",width:"100%","margin-bottom":"16px"}},null,-1),t("div",{class:"skeleton skeleton--animated",style:{height:"20px",width:"80%","margin-bottom":"16px"}},null,-1),t("div",{class:"skeleton skeleton--animated",style:{height:"20px",width:"100%","margin-bottom":"16px"}},null,-1),t("div",{class:"skeleton skeleton--animated",style:{height:"20px",width:"75%","margin-bottom":"16px"}},null,-1)])])):(l(),i("article",I,[t("h1",M,u(a(e).currentLocale==="hu"?a(e).page.title:a(e).page.titleEn),1),a(e).page.subTitle?(l(),i("h2",R,u(a(e).currentLocale==="hu"?a(e).page.subTitle:a(e).page.subTitle),1)):V("",!0),t("section",{class:"content",innerHTML:a(e).currentLocale==="hu"?a(e).page.content:a(e).page.contentEn},null,8,j)]))]),_:1})]),_:1})}}},J=x(q,[["__scopeId","data-v-25d8233b"]]);export{J 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.