1import{u as se,S as fe,Z as he,R as be,i as ce,e as Se,g as Q,b as me,c as ge,j as le,a as ae,$ as Ne,l as pe}from"./B0guLvx5.js";import{b as B,B as ve,n as de,c as ie,I as n,J as d,L as i,G as D,Q as U,u as o,F as H,U as Z,P as Y,N as S,O as N,_ as re,M as ye,R as _e,aa as Fe,ah as we,q as ke,V as xe,l as L,z as Ee,a1 as $e}from"./BH_rqHC_.js";import{_ as Ve}from"./DaM-V2Ns.js";import"./CuW9kVrI.js";const oe="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M36.062%2033.234L44.628%2041.798L41.798%2044.628L33.234%2036.062C30.0475%2038.6164%2026.084%2040.0058%2022%2040C12.064%2040%204%2031.936%204%2022C4%2012.064%2012.064%204%2022%204C31.936%204%2040%2012.064%2040%2022C40.0058%2026.084%2038.6164%2030.0475%2036.062%2033.234ZM32.05%2031.75C34.5877%2029.1394%2036.0051%2025.6407%2036%2022C36%2014.266%2029.734%208%2022%208C14.266%208%208%2014.266%208%2022C8%2029.734%2014.266%2036%2022%2036C25.6407%2036.0051%2029.1394%2034.5877%2031.75%2032.05L32.05%2031.75Z'%20fill='black'/%3e%3c/svg%3e",Ce={id:"header"},Te={class:"lg:flex"},Re={class:"container mx-auto p-4 py-10 bg-skw-white"},Be={class:"lg:flex lg:justify-between lg:items-center"},Ke={class:"flex justify-between items-center w-full lg:w-auto lg:mr-10"},Pe=["src","alt"],Ie={class:"flex lg:hidden items-center"},Ue={class:"flex flex-col lg:flex-1"},Ae={class:"hidden lg:flex lg:flex-wrap main-nav main-nav-right mt-8 mb-8 lg:mb-0 lg:mt-0 order-2 lg:order-1 lg:justify-end",id:"right-nav"},je=["href","target"],qe={key:0,class:"nav-item language-switch"},Ge={class:"hidden lg:flex lg:flex-wrap main-nav mt-8 mb-8 lg:mb-0 order-1 lg:order-2 lg:mt-2",id:"main-nav"},ze=["onMouseenter","onClick"],Oe=["onKeydown"],Me={class:"subnavigation"},He={key:0},Qe=["href","target"],Ze=["href","target"],Ye={key:0,id:"searchOverlay",class:"bg-skw-white absolute left-0 w-full"},Je={class:"container !px-4 md:!px-12 md:py-32 py-12"},We={class:""},Xe={class:"flex justify-between flex-nowrap gap-8 border-b border-b-black pb-4"},De=["placeholder"],Le={__name:"Navigation",props:["sectionData","translations","isLocalizationEmpty"],setup(c){const{locale:g}=se(),{isDesktop:a}=fe(),h=B(null),y=B(0),_=he(),{sectionData:f,translations:v,isLocalizationEmpty:V}=c,k=be(),K=me(),J=K.public.API_URL;K.public.FRONTEND_URL;function W(){const s=document.querySelector("#main-nav"),r=document.querySelector("#right-nav");function b(t){t.classList.contains("hidden")?t.classList.remove("hidden"):t.classList.add("hidden")}b(s),b(r)}ve(async()=>{await P(),window.addEventListener("resize",P)});const P=async()=>{if(await de(),h.value){y.value=h.value.offsetHeight;const s=document.querySelector("#content");s&&(s.style.paddingTop=`${y.value+40}px`)}};ie(h,async()=>{await P()});const e=ce();ie(e,async()=>{await P()});const C=Se(),x=B(null);function R(s){x.value=x.value===s?null:s}function u(){x.value=null}function m(s){if(!s)return"";const[r,b]=s.split("#");return b?`${C(r)}#${b}`:C(r)}function F(s){return s.some(r=>{const[b,t]=(r.href||"").split("#"),$=C(b);return t?e.path===$&&e.hash===`#${t}`:e.path===$})}const p=B(null),w=B(!0);function T(){w.value=!w.value,w.value?E.value="":de(()=>{p.value&&p.value.focus()})}let E=B("");async function I(){if(E.value!==""){const s=k.currentRoute.value,r=g.value==="en"?"/en/search":"/suche";s.path===r?k.replace({path:r,query:{search:E.value}}).then(()=>{window.location.reload()}):k.push({path:r,query:{search:E.value}}),T()}}return(s,r)=>{const b=ge;return n(),d("header",Ce,[i("div",{class:"fixed top-0 right-0 left-0 z-50 bg-skw-white h-36 md:h-40 lg:h-48 5xl:h-56",ref_key:"navbar",ref:h},[i("div",Te,[i("div",Re,[i("nav",Be,[i("div",Ke,[D(b,{to:o(C)("index",o(g)),class:"img mr-10","aria-label":("getValueByKey"in s?s.getValueByKey:o(Q))("homepage",v)}
1,{default:U(()=>{var t,$,A,j,q,G,z,O,M,X,l;return[i("img",{class:"w-16 md:w-20 5xl:w-28",src:o(J)+(((q=(j=(A=($=(t=f==null?void 0:f.logo)==null?void 0:t.data)==null?void 0:$.attributes)==null?void 0:A.formats)==null?void 0:j.thumbnail)==null?void 0:q.url)||((O=(z=(G=f==null?void 0:f.logo)==null?void 0:G.data)==null?void 0:z.attributes)==null?void 0:O.url)),alt:(l=(X=(M=f==null?void 0:f.logo)==null?void 0:M.data)==null?void 0:X.attributes)==null?void 0:l.alternativeText},null,8,Pe)]}),_:1},8,["to","aria-label"]),i("div",Ie,[i("button",{class:"flex lg:hidden img mr-8",onClick:T},r[6]||(r[6]=[i("img",{class:"w-6",src:oe,alt:"search"},null,-1)])),i("div",{class:"nav-toggle",id:"nav-toggle",onClick:r[0]||(r[0]=t=>W())})])]),i("div",Ue,[i("ul",Ae,[(n(!0),d(H,null,Z(f==null?void 0:f.subNavigationLinks,t=>{var $,A,j,q,G,z,O;return n(),d("li",{key:t==null?void 0:t.id},[($=t==null?void 0:t.link)!=null&&$.isExternal?N("",!0):(n(),Y(b,{key:0,to:(A=t==null?void 0:t.link)==null?void 0:A.href,target:(j=t==null?void 0:t.link)==null?void 0:j.target},{default:U(()=>{var M;return[i("span",null,S((M=t==null?void 0:t.link)==null?void 0:M.label),1)]}),_:2},1032,["to","target"])),(q=t==null?void 0:t.link)!=null&&q.isExternal?(n(),d("a",{key:1,href:(G=t==null?void 0:t.link)==null?void 0:G.href,target:(z=t==null?void 0:t.link)==null?void 0:z.target},[i("span",null,S((O=t==null?void 0:t.link)==null?void 0:O.label),1)],8,je)):N("",!0)])}),128)),V?N("",!0):(n(),d("li",qe,[D(b,{to:o(_)([s.$i18n.locale=="de"?"en":"de"]),"aria-label":("getValueByKey"in s?s.getValueByKey:o(Q))("changelang",v)+" "+(s.$i18n.locale=="de"?"EN":"DE")},{default:U(()=>[i("span",null,S(s.$i18n.locale=="de"?"EN":"DE"),1)]),_:1},8,["to","aria-label"])])),i("li",{class:"nav-item search-item !pr-0 !mr-0 lg:flex hidden"},[i("button",{class:"img",onClick:T},r[7]||(r[7]=[i("img",{class:"w-6",src:oe,alt:"search"},null,-1)]))])]),i("ul",Ge,[(n(!0),d(H,null,Z(f==null?void 0:f.mainNavigationLinks,(t,$)=>{var A,j,q,G,z,O,M,X;return n(),d("li",{key:t==null?void 0:t.id},[((A=t==null?void 0:t.sublinks)==null?void 0:A.length)>0?(n(),d("div",{key:0,onMouseenter:l=>o(a)&&R($),onMouseleave:r[1]||(r[1]=l=>o(a)&&u()),onClick:l=>!o(a)&&R($)},[i("span",{tabindex:"0",onKeydown:re(l=>R($),["enter"]),class:ye(["subnav-toggle",o(x)===$?"subnav-item-open":"",F(t.sublinks)?"active-parent":""])},S((j=t==null?void 0:t.link)==null?void 0:j.label),43,Oe),i("div",Me,[o(x)===$?(n(),d("ul",He,[(n(!0),d(H,null,Z(t==null?void 0:t.sublinks,l=>(n(),d("li",{key:l==null?void 0:l.id},[l!=null&&l.isExternal?(n(),d("a",{key:1,href:l==null?void 0:l.href,target:l==null?void 0:l.target},S(l==null?void 0:l.label),9,Qe)):(n(),Y(b,{key:0,tabindex:"0",to:m(l==null?void 0:l.href),target:l==null?void 0:l.target},{default:U(()=>[_e(S(l==null?void 0:l.label),1)]),_:2},1032,["to","target"]))]))),128))])):N("",!0)])],40,ze)):(n(),d(H,{key:1},[(q=t==null?void 0:t.link)!=null&&q.isExternal?(n(),d("a",{key:1,href:(O=t==null?void 0:t.link)==null?void 0:O.href,target:(M=t==null?void 0:t.link)==null?void 0:M.target},[i("span",null,S((X=t==null?void 0:t.link)==null?void 0:X.label),1)],8,Ze)):(n(),Y(b,{key:0,to:(G=t==null?void 0:t.link)==null?void 0:G.href,target:(z=t==null?void 0:t.link)==null?void 0:z.target},{default:U(()=>{var l;return[i("span",null,S((l=t==null?void 0:t.link)==null?void 0:l.label),1)]}),_:2},1032,["to","target"]))],64))])}),128))])])]),o(w)?N("",!0):(n(),d("div",Ye,[i("div",Je,[i("div",We,[i("div",Xe,[Fe(i("input",{ref_key:"searchbar",ref:p,type:"text","onUpdate:modelValue":r[2]||(r[2]=t=>ke(E)?E.value=t:E=t),onKeyup:r[3]||(r[3]=re(t=>I(),["enter"])),class:"h2 w-full !mb-0 placeholder:text-skw-black text-skw-magenta overflow-visible outline-none shadow-none",placeholder:("getValueByKey"in s?s.getValueByKey:o(Q))("searchbar",v),"aria-label":"search","aria-describedby":"searchbar"},null,40,De),[[we,o(E)]]),o(a)?(n(),d("button",{key:0,onClick:r[4]||(r[4]=t=>I()),class:"btn"},S(("getValueByKey"in s?s.getValueByKey:o(Q))("search",v)),1)):N("",!0)]),o(a)?N("",!0):(n(),d("button",{key:0,onClick:r[5]||(r[5]=t=>I()),class:"btn !mt-10"},S(("getValueByKey"in s?s.getValueByKey:o(Q))("search",v)),1))])])]))])])],512)])}}},et={id:"footer"},tt={class:"bg-skw-black"},at={class:"md:flex"},it={class:"container mx-auto p-4 pb-24 md:pb-14 pt-12 md:pt-24"},nt={class:"md:flex md:justify-between"},st={class:"md:w-4/12 flex justify-between flex-col items-center md:items-start"},lt=["src","alt"],dt={key:0,class:"share-list flex mt-12 md:mt-28 mb-12"},rt=["href","target","aria-label"],ot=["src","alt"],ut={class:"md:w-8/12 flex justify-between md:flex-row flex-col"},ct={class:"md:mr-10 md:w-6/12 mb-16 md:mb-0"},mt={key:0},gt=["href","target"],vt={class:"md:w-6/12"},ft={key:0}
1,ht=["href","target"],bt={class:"flex justify-between lower-footer mt-20 flex-col md:flex-row"},St={class:"md:w-4/12 flex justify-center md:justify-start order-2 md:order-1"},Nt={class:"text-skw-white font-main"},pt={class:"md:w-8/12 order-1 md:order-2 flex justify-between md:flex-row flex-col"},yt={class:"mt-16 md:w-6/12 md:mt-0"},_t={key:0},Ft=["href","target"],wt={__name:"Footer",props:["sectionData","translations"],setup(c){const{locale:g}=se(),{sectionData:a,translations:h}=c,y=me(),_=y.public.API_URL;y.public.FRONTEND_URL;const f=new Date().getFullYear();return(v,V)=>{var K,J,W,P;const k=ge;return n(),d("footer",et,[i("div",tt,[i("div",at,[i("div",it,[i("div",nt,[i("div",st,[D(k,{to:v.localePath("index",o(g)),class:"img","aria-label":("getValueByKey"in v?v.getValueByKey:o(Q))("homepage",h)},{default:U(()=>{var e,C,x,R,u,m,F,p,w,T,E,I,s,r,b,t;return[i("img",{class:"w-14 md:w-20",src:(u=(R=(x=(C=(e=a==null?void 0:a.logo)==null?void 0:e.data)==null?void 0:C.attributes)==null?void 0:x.formats)==null?void 0:R.thumbnail)!=null&&u.url?o(_)+((T=(w=(p=(F=(m=a==null?void 0:a.logo)==null?void 0:m.data)==null?void 0:F.attributes)==null?void 0:p.formats)==null?void 0:w.thumbnail)==null?void 0:T.url):o(_)+((s=(I=(E=a==null?void 0:a.logo)==null?void 0:E.data)==null?void 0:I.attributes)==null?void 0:s.url),alt:(t=(b=(r=a==null?void 0:a.logo)==null?void 0:r.data)==null?void 0:b.attributes)==null?void 0:t.name},null,8,lt)]}),_:1},8,["to","aria-label"]),a!=null&&a.navigationSectionSocial?(n(),d("ul",dt,[(n(!0),d(H,null,Z((K=a==null?void 0:a.navigationSectionSocial)==null?void 0:K.links,e=>{var C,x,R,u,m,F,p,w,T;return n(),d("li",{class:"social-link",key:e==null?void 0:e.id},[i("a",{href:e==null?void 0:e.href,target:e==null?void 0:e.target,class:"share-link","aria-label":("getValueByKey"in v?v.getValueByKey:o(Q))("open",h)+" "+((R=(x=(C=e==null?void 0:e.icon)==null?void 0:C.data)==null?void 0:x.attributes)==null?void 0:R.alternativeText)},[i("img",{src:o(_)+((F=(m=(u=e==null?void 0:e.icon)==null?void 0:u.data)==null?void 0:m.attributes)==null?void 0:F.url),alt:(T=(w=(p=e==null?void 0:e.icon)==null?void 0:p.data)==null?void 0:w.attributes)==null?void 0:T.alternativeText},null,8,ot)],8,rt)])}),128))])):N("",!0)]),i("div",ut,[i("div",ct,[a!=null&&a.navigationSectionLeft?(n(),d("ul",mt,[(n(!0),d(H,null,Z((J=a==null?void 0:a.navigationSectionLeft)==null?void 0:J.links,e=>(n(),d("li",{key:e==null?void 0:e.id},[e!=null&&e.isExternal?N("",!0):(n(),Y(k,{key:0,to:e==null?void 0:e.href,target:e==null?void 0:e.target},{default:U(()=>[i("span",null,S(e==null?void 0:e.label),1)]),_:2},1032,["to","target"])),e!=null&&e.isExternal?(n(),d("a",{key:1,href:e==null?void 0:e.href,target:e==null?void 0:e.target},[i("span",null,S(e==null?void 0:e.label),1)],8,gt)):N("",!0)]))),128))])):N("",!0)]),i("div",vt,[a!=null&&a.navigationSectionRight?(n(),d("ul",ft,[(n(!0),d(H,null,Z((W=a==null?void 0:a.navigationSectionRight)==null?void 0:W.links,e=>(n(),d("li",{key:e==null?void 0:e.id},[e!=null&&e.isExternal?N("",!0):(n(),Y(k,{key:0,to:e==null?void 0:e.href,target:e==null?void 0:e.target},{default:U(()=>[i("span",null,S(e==null?void 0:e.label),1)]),_:2},1032,["to","target"])),e!=null&&e.isExternal?(n(),d("a",{key:1,href:e==null?void 0:e.href,target:e==null?void 0:e.target},[i("span",null,S(e==null?void 0:e.label),1)],8,ht)):N("",!0)]))),128))])):N("",!0)])])]),i("div",bt,[i("div",St,[i("p",Nt,"© "+S(o(f))+" "+S(a==null?void 0:a.copyrightInfo),1)]),i("div",pt,[V[0]||(V[0]=i("div",{class:"md:w-6/12 md:mr-10"},null,-1)),i("div",yt,[a!=null&&a.navigationSectionLegal?(n(),d("ul",_t,[(n(!0),d(H,null,Z((P=a==null?void 0:a.navigationSectionLegal)==null?void 0:P.links,e=>(n(),d("li",{key:e==null?void 0:e.id},[e!=null&&e.isExternal?N("",!0):(n(),Y(k,{key:0,to:e==null?void 0:e.href,target:e==null?void 0:e.target},{default:U(()=>[i("span",null,S(e==null?void 0:e.label),1)]),_:2},1032,["to","target"])),e!=null&&e.isExternal?(n(),d("a",{key:1,href:e==null?void 0:e.href,target:e==null?void 0:e.target},[i("span",null,S(e==null?void 0:e.label),1)],8,Ft)):N("",!0)]))),128))])):N("",!0)])])])])])])])}}};var te={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getGlobal"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"locale"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"I18NLocaleCode"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"header"},arguments:[{kind:"Argument",name:{kind:"Name",value:"publicationState"},value:{kind:"EnumValue",value:"LIVE"}},{kind:"Argument",name:{kind:"Name",value:"locale"},value:{kind:"Variable",name:{kind:"Name",value:"locale"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"attributes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"logo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"attributes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alternativeText"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"caption"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"formats"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"previewUrl"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"mainNavigationLinks"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"link"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"href"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"target"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isExternal"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"sublinks"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"href"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"target"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isExternal"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"subNavigationLinks"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"link"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"href"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"target"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isExternal"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"sublinks"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"href"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"target"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isExternal"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"searchPage"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"attributes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subtitle"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"footer"},arguments:[{kind:"Argument",name:{kind:"Name",value:"publicationState"},value:{kind:"EnumValue",value:"LIVE"}},{kind:"Argument",name:{kind:"Name",value:"locale"},value:{kind:"Variable",name:{kind:"Name",value:"locale"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"attributes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"logo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"attributes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alternativeText"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"caption"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"formats"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"previewUrl"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"navigationSectionLeft"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"links"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"href"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"target"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isExternal"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"navigationSectionRight"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"links"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"href"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"target"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isExternal"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"navigationSectionSocial"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"links"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"href"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"icon"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"attributes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alternativeText"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"caption"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"formats"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"previewUrl"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"target"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isExternal"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"navigationSectionLegal"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"links"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"href"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"target"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isExternal"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"copyrightInfo"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:4100}};te.loc.source={body:`query getGlobal ($locale: I18NLocaleCode!) { 2 header (publicationState: LIVE, locale: $locale) { 3 data { 4 id 5 attributes { 6 logo { 7 data { 8 id 9 attributes { 10 name 11 alternativeText 12 caption 13 formats 14 url 15 previewUrl 16 } 17 } 18 } 19 mainNavigationLinks { 20 id 21 link { 22 id 23 href 24 label 25 target 26 isExternal 27 } 28 sublinks { 29 id 30 href 31 label 32 target 33 isExternal 34 } 35 } 36 subNavigationLinks { 37 id 38 link { 39 id 40 href 41 label 42 target 43 isExternal 44 } 45 sublinks { 46 id 47 href 48 label 49 target 50 isExternal 51 } 52 } 53 searchPage { 54 data { 55 id 56 attributes { 57 title 58 slug 59 subtitle 60 } 61 } 62 } 63 } 64 } 65 } 66 footer (publicationState: LIVE, locale: $locale) { 67 data { 68 id 69 attributes { 70 logo { 71 data { 72 id 73 attributes { 74 name 75 alternativeText 76 caption 77 formats 78 url 79 previewUrl 80 } 81 } 82 } 83 navigationSectionLeft { 84 id 85 links { 86 id 87 href 88 label 89 target 90 isExternal 91 } 92 } 93 navigationSectionRight { 94 id 95 links { 96 id 97 href 98 label 99 target 100 isExternal 101 } 102 } 103 navigationSectionSocial { 104 id 105 links { 106 id 107 href 108 icon { 109 data { 110 id 111 attributes { 112 name 113 alternativeText 114 caption 115 formats 116 url 117 previewUrl 118 } 119 } 120 } 121 label 122 target 123 isExternal 124 } 125 } 126 navigationSectionLegal { 127 id 128 links { 129 id 130 href 131 label 132 target 133 isExternal 134 } 135 } 136 copyrightInfo 137 } 138 } 139 } 140}`,name:"GraphQL request",locationOffset:{line:1,column:1}};function ee(c,g){if(c.kind==="FragmentSpread")g.add(c.name.value);else if(c.kind==="VariableDefinition"){var a=c.type;a.kind==="NamedType"&&g.add(a.name.value)}c.selectionSet&&c.selectionSet.selections.forEach(function(h){ee(h,g)}),c.variableDefinitions&&c.variableDefinitions.forEach(function(h){ee(h,g)}),c.definitions&&c.definitions.forEach(function(h){ee(h,g)})}var ne={};(function(){te.definitions.forEach(function(g){if(g.name){var a=new Set;ee(g,a),ne[g.name.value]=a}})})();function ue(c,g){for(var a=0;a<c.definitions.length;a++){var h=c.definitions[a];if(h.name&&h.name.value==g)return h}}function kt(c,g){var a={kind:c.kind,definitions:[ue(c,g)]};c.hasOwnProperty("loc")&&(a.loc=c.loc);var h=ne[g]||new Set,y=new Set,_=new Set;
140for(h.forEach(function(v){_.add(v)});_.size>0;){var f=_;_=new Set,f.forEach(function(v){if(!y.has(v)){y.add(v);var V=ne[v]||new Set;V.forEach(function(k){_.add(k)})}})}return y.forEach(function(v){var V=ue(c,v);V&&a.definitions.push(V)}),a}kt(te,"getGlobal");const xt={id:"content"},Tt={__name:"default",props:["isLocalizationEmpty"],async setup(c){let g,a;const{isLocalizationEmpty:h}=c,{locale:y}=se(),_=B([]),f=async()=>{const{data:u}=await ae(te,{locale:y.value});_.value=u==null?void 0:u.value},v=B(null),V=async()=>{try{const{data:u,error:m}=await ae(Ne,{locale:y.value});v.value=m!=null&&m.value?null:u==null?void 0:u.value}catch{v.value=null}};f(),V();const{data:k}=([g,a]=xe(()=>ae(pe,{locale:y.value})),g=await g,a(),g),K=L(()=>{var u,m;return((m=(u=k==null?void 0:k.value)==null?void 0:u.translations)==null?void 0:m.data)||[]}),J=le("hideGlobalTabs",()=>!1),W=le("tabsNavigating",()=>!1),P=ce(),e=new Set(["index","slug","focus-topics","focus-topics-slug","field-of-laws","field-of-laws-slug","field-of-laws-path-slug","lawyers-slug","news-path-id"]),C=L(()=>e.has(String(P.name||"").split("___")[0])),x=L(()=>{var m,F,p,w;const u=(w=(p=(F=(m=v.value)==null?void 0:m.globalTabs)==null?void 0:F.data)==null?void 0:p.attributes)==null?void 0:w.tabsBlock;return u&&u.tabs&&u.tabs.length>0?u:null}),R=L(()=>{var m,F,p;if(W.value)return!1;const u=(p=(F=(m=v.value)==null?void 0:m.globalTabs)==null?void 0:F.data)==null?void 0:p.attributes;return!u||u.enabled===!1||!x.value||C.value?!1:!J.value});return Ee(()=>{document.querySelector("html").setAttribute("lang",y.value)}),ve(()=>{const u=B(0),m=document.querySelector("header div");u.value=(m==null?void 0:m.clientHeight)||0}),B("bg-skw-cyan"),B("text-skw-cyan"),ie(y,()=>{f(),V()}),(u,m)=>{var T,E,I,s,r,b;const F=Le,p=Ve,w=wt;return n(),d("main",null,[D(F,{sectionData:(I=(E=(T=o(_))==null?void 0:T.header)==null?void 0:E.data)==null?void 0:I.attributes,translations:o(K),isLocalizationEmpty:h},null,8,["sectionData","translations"]),i("div",xt,[$e(u.$slots,"default"),o(R)?(n(),Y(p,{key:0,sectionData:o(x),translations:o(K),class:"my-16 md:my-24"},null,8,["sectionData","translations"])):N("",!0)]),D(w,{sectionData:(b=(r=(s=o(_))==null?void 0:s.footer)==null?void 0:r.data)==null?void 0:b.attributes,translations:o(K)},null,8,["sectionData","translations"])])}}};export{Tt 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.