1import{a as W,h as Q,i as ee,s as E,j as U,d as v,o as d,k as m,n as te,e as r,g as C,l as j,m as ae,w as K,p as oe,q as ne,r as g,F as T,v as R,c as y,x as ie,y as se,z as w,A as z,B as S,C as V,D as O,T as re,E as le,G as q,H as ce,I as de,J as A,K as B,M as ue,N as G,b as me,O as fe,P as pe}from"./D2XzVb-v.js";import{_ as he}from"./DWRkoyp8.js";import{u as ge}from"./Dvw7aWTN.js";import{_ as J}from"./3_EOT1i1.js";import{u as _e}from"./Ch7ftTB6.js";import{_ as we}from"./Cz43qnur.js";import{_ as ve}from"./hyMhP2mm.js";import{_ as X}from"./DvNz9oCo.js";import{u as xe}from"./pw-eOVMQ.js";import{_ as ye}from"./y4cTj-1Q.js";import{u as Y}from"./TxmGG7rL.js";import{u as be}from"./DESZ8da6.js";import{u as ke}from"./JFGIZopM.js";import"./DdSPAO-K.js";import"./CuZ_GiUH.js";import"./Dc6xNxwe.js";import"./BYTRu-Av.js";import"./1uZxDz3o.js";import"./CLbPRYAK.js";function Se(o,t){const a=t/o*100;return 2/Math.PI*100*Math.atan(a/50)}function Le(o={}){const{duration:t=2e3,throttle:a=200,hideDelay:u=500,resetDelay:i=400}=o,l=o.estimatedProgress||Se,s=W(),e=U(0),n=U(!1),c=U(!1);let p=!1,x,h,_,D;const $=(f={})=>{M(),c.value=!1,I(0,f)};function I(f=0,b={}){if(s.isHydrating)return;if(f>=100)return L({force:b.force});M(),P(),e.value=f<0?0:f;const k=b.force?0:a;k?h=setTimeout(()=>{n.value=!0,N()},k):(n.value=!0,N())}function F(){_=setTimeout(()=>{n.value=!1,D=setTimeout(()=>{e.value=0},i)},u)}function L(f={}){e.value=100,p=!0,P(),M(),f.error&&(c.value=!0),f.force?(e.value=0,n.value=!1):F()}function M(){clearTimeout(_),clearTimeout(D)}function P(){clearTimeout(h),cancelAnimationFrame(x)}function N(){p=!1;let f;function b(k){if(p)return;f??=k;const Z=k-f;e.value=Math.max(0,Math.min(100,l(t,Z))),x=requestAnimationFrame(b)}x=requestAnimationFrame(b)}let H=()=>{};{const f=s.hook("page:loading:start",()=>{$()}),b=s.hook("page:loading:end",()=>{L()}),k=s.hook("vue:error",()=>L({error:!0}));H=()=>{k(),f(),b(),P(),M()}}return{_cleanup:H,progress:E(e),isLoading:E(n),error:E(c),start:$,set:I,finish:L,clear:P}}function Te(o={}){const t=W(),a=t._loadingIndicator||=Le(o);return Q()&&(t._loadingIndicatorDeps||=0,t._loadingIndicatorDeps++,ee(()=>{t._loadingIndicatorDeps--,t._loadingIndicatorDeps===0&&(a._cleanup(),delete t._loadingIndicator)})),a}const De=v({__name:"LoadingIndicator",props:{throttle:{default:1e3},duration:{default:2e3},hideDelay:{default:500},resetDelay:{default:4e3},height:{default:6},estimatedProgress:{type:Function,default:void 0}},setup(o){const t=o,{progress:a,isLoading:u,error:i}=Te({duration:t.duration,throttle:t.throttle,hideDelay:t.hideDelay,resetDelay:t.resetDelay,estimatedProgress:t.estimatedProgress}),l=C(()=>({position:"fixed",top:0,right:0,left:0,pointerEvents:"none",width:"auto",height:`${t.height}px`,opacity:u.value?1:0,background:i.value?"repeating-linear-gradient(to right, var(--color-red-400) 0%, var(--color-red-500) 100%)":["repeating-linear-gradient(to right,","var(--color-darkgreen) 0%, var(--color-green) 25%,","var(--color-lightgreen) 75%, var(--color-brightgreen) 100%)"].join(" "),backgroundSize:`${a.value>0?100/a.value*100:0}% auto`,transform:`scaleX(${a.value/100})`,transformOrigin:"left",transition:"transform 0.1s, height 0.4s, opacity 0.4s",zIndex:999999}));return(s,e)=>(d(),m("div",{class:"nuxt-loading-indicator",style:te(r(l))},null,4))}}),$e={class:"flex flex-col justify-center items-center w-full h-full sm:max-h-[80vh] sm:max-w-[80vw] overflow-hidden"},Ie=v({__name:"TheModal",setup(o){const t=ge(),{closeModal:a}=t,{modalState:u}=j(t),i=ae("theModal");return K(async()=>{i.value&&i.value.focus?.()}),K(()=>{u.value?document.documentElement.style.setProperty("overflow","hidden"):document.documentElement.style.removeProperty("overflow")}),(l,s)=>{const e=he;return r(u)?(d(),m("section",{key:0,ref_key:"theModal",ref:i,"aria-modal":"true",class:"fixed w-full h-full top-0 left-0 z-50 bg-black/80 flex justify-center items-center","data-t-name":"modal",role:"dialog",tabindex:"0",onClick:s[0]||(s[0]=ne((...n)=>r(a)&&r(a)(...n),["self"])),onKeydown:s[1]||(s[1]=oe((...n)=>r(a)&&r(a)(...n),["esc"]))},[g("div",$e,[(d(!0),m(T,null,R(r(u),(n,c)=>(d(),y(se(n?.component),ie({key:c,ref_for:!0},n?.props||{}),null,16))),128))]),w(e,{class:"absolute z-50 right-6 top-6 cursor-pointer",variant:"outline",icon:{name:"xmark"},inverted:!0,label:("globalLabel"in l?l.globalLabel:r(z))("close_label"),onClick:r(a)},null,8,["label","onClick"])],544)):S("",!0)}}}),Me={key:0,"data-t-name":"snackbar",class:"fixed left-1/2 -translate-x-1/2 z-80 bg-brightgreen-200 rounded-lg py-3 px-6 shadow-xl max-w-[840px] text-center top-16"},Pe=v({__name:"Snackbar",props:{duration:{default:4e3}},setup(o){const{snackbarState:t}=_e(),a=le([]),u=l=>{o.duration&&(l.timeout=window.setTimeout(()=>{l.visible=!1,setTimeout(()=>a.value?.splice(a.value?.indexOf(l),1),500)},o.duration))},i=C(()=>a.value[a.value?.length-1]);return V(t,l=>{const s={text:l.message,visible:!0,timeout:0},e=[...a.value];e.forEach(n=>{clearTimeout(n.timeout),n.visible=!1}),setTimeout(()=>{e.forEach(n=>{const c=a.value?.indexOf(n);c!==-1&&a.value?.splice(c,1)})},500),a.value?.push(s),u(s)}),(l,s)=>{const e=J;return d(),y(re,{"enter-from-class":"translate-y-[-64px] opacity-0","leave-to-class":"translate-y-[-64px] opacity-0","enter-active-class":"transition duration-300","leave-active-class":"transition duration-300"},{default:O(()=>[r(i)?(d(),m("div",Me,[r(i).text?(d(),y(e,{key:0,label:r(i).text,class:"text-darkgreen-800 font-bold text-md *:text-md"},null,8,["label"])):S("",!0)])):S("",!0)]),_:1})}}}),Be=["aria-label"],Ce=v({__name:"ShareNetwork",props:{ariaLabel:{default:()=>{}},link:{},network:{},socialShareData:{}},setup(o){const t=(e="")=>o.network==="facebook"&&e&&e.length>0?`%23${e.split(",")[0]}`:encodeURIComponent(e),a=()=>
1{if(!o.link||!o.socialShareData)return null;let e=o.link;return o.network==="twitter"&&(o.socialShareData.hashtags?.length||(e=e.replace("&hashtags=@h","")),o.socialShareData.title?.length||(e=e.replace("&text=@t","")),o.socialShareData.twitterUser?.length||(e=e.replace("&via=@tu",""))),e.replace(/@tu/g,encodeURIComponent(o.socialShareData.twitterUser??"")).replace(/@u/g,encodeURIComponent(window.location.href)).replace(/@t/g,encodeURIComponent(o.socialShareData.title??"")).replace(/@d/g,encodeURIComponent(o.socialShareData.description??"")).replace(/@q/g,encodeURIComponent(o.socialShareData.quote??"")).replace(/@h/g,t(o.socialShareData.hashtags)).replace(/@m/g,encodeURIComponent(o.socialShareData.media??""))},u=e=>Object.entries(e).map(([n,c])=>c?`${n}=${c}`:"").filter(n=>n).join(","),i=(e,n)=>{const c=window.innerWidth||document.documentElement.clientWidth||window.screenX,p=window.innerHeight||document.documentElement.clientHeight||window.screenY,x=c/window.screen.availWidth,h=(c-e)/2/x+(window.screenLeft!==void 0?window.screenLeft:window.screenX);return{top:(p-n)/2/x+(window.screenTop!==void 0?window.screenTop:window.screenY),left:h,width:e,height:n}},l=()=>{const{innerWidth:e,innerHeight:n}=window,c=Math.floor(e/1.2),p=Math.floor(n/1.2);return{width:c,height:p}},s=()=>{const e=a();if(!e)return;const{width:n,height:c}=l();window.open(e,`sharer-${o.network}`,u(i(n,c)))};return(e,n)=>(d(),m("button",{class:"cursor-pointer","aria-label":o.ariaLabel,onClick:s},[q(e.$slots,"default")],8,Be))}}),Re={class:"page-grid-wide","data-t-name":"social_share_bar"},Fe={class:"grid-inside flex flex-col mb-12"},Ee={class:"w-full mb-2.5 mt-4"},Ue={class:"float-left text-sm"},je={class:"w-full flex flex-row gap-x-4"},ze=v({__name:"TheSocialShareBar",props:{networks:{},socialShareData:{}},setup(o){const t={email:"envelope",facebook:"facebook",linkedin:"linkedin",pinterest:"pinterest",whatsapp:"whatsapp",x:"x",xing:"xing"};return(a,u)=>{const i=we,l=ve,s=Ce;return d(),m("section",Re,[g("div",Fe,[w(i),g("div",Ee,[g("span",Ue,ce(("globalLabel"in a?a.globalLabel:r(z))("share_page_label"))+" : ",1)]),g("div",je,[(d(!0),m(T,null,R(o.networks,(e,n)=>(d(),m(T,{key:n},[e.socialType&&t[e.socialType]?(d(),y(s,{key:0,"aria-label":o.socialShareData.title||("capitalize"in a?a.capitalize:r(de))(e.socialType),link:e.to,network:e.socialType,"social-share-data":o.socialShareData,class:"focus:outline-none"},{default:O(()=>[w(l,{icon:t[e.socialType],type:e.socialType==="email"?"solid":"brands",class:"hover:opacity-70 text-4xl h-6 transition-all duration-300"},null,8,["icon","type"])]),_:2},1032,["aria-label","link","network","social-share-data"])):S("",!0)],64))),128))])])])}}}),Ae=""+new URL("ClaimWithImageMark-white.DKSNcKcA.svg",import.meta.url).href,Ne={class:"page-grid-wide md:pb-6 bg-darkgreen text-white"},He={class:"grid-span-page xl:grid-inside flex flex-col md:flex-row p-6 md:py-5 xl:px-0 gap-8 md:gap-0"},Ke=["src","width","height"],We={class:"flex flex-col md:flex-row md:items-baseline md:gap-8 md:justify-end basis-full flex-wrap"},Ve={key:0,class:"flex flex-col md:flex-row md:items-center gap-2 md:gap-4"},Oe={class:"flex gap-4 flex-wrap"},qe=v({__name:"Top",props:{socialMediaList:{}},setup(o){const{isMediumOrSmaller:t}=xe();return(a,u)=>{const i=J,l=X;return d(),m("div",Ne,[g("div",He,[g("img",{src:r(Ae),width:r(t)?178:208,height:r(t)?48:56,alt:"Dekra Claim"},null,8,Ke),g("div",We,[o.socialMediaList.length?(d(),m("div",Ve,[w(i,{label:`${("globalLabel"in a?a.globalLabel:r(z))("follow_us_label")}:`},null,8,["label"]),g("div",Oe,[(d(!0),m(T,null,R(o.socialMediaList,(s,e)=>(d(),y(l,{key:e,link:s,class:"opacity-100 hover:opacity-70 transition duration-150 text-[1.5rem]"},null,8,["link"]))),128))])])):S("",!0)])])])}}}),Ge={class:"page-grid-wide bg-darkgreen-600 text-sm px-6 xl:px-0 py-6 md:py-3"},Je={class:"grid-span-page xl:grid-inside spacing-defaults flex flex-col justify-between sm:flex-row sm:flex-wrap gap-6"},Xe={class:"flex flex-col gap-6 sm:flex-row sm:flex-wrap"},Ye=v({__name:"Bottom",props:{navigationLinks:{},siteIdentifier:{}},setup(o){const t=C(()=>o.navigationLinks.map(a=>({...a,icon:void 0})));return(a,u)=>{const i=X,l=ye;return d(),m("div",Ge,[g("div",Je,[g("div",Xe,[(d(!0),m(T,null,R(r(t),(s,e)=>(d(),y(i,{key:e,link:s,class:"text-white"},null,8,["link"]))),128))]),o.siteIdentifier?(d(),y(l,{key:0,label:o.siteIdentifier,icon:{prefix:{icon:"globe"}},class:"text-white text-sm",spacing:"large"},null,8,["label"])):S("",!0)])])}}}),Ze={"data-t-name":"footer"},Qe=v({__name:"TheFooter",async setup(o){let t,a;const{currentLocale:u}=j(A()),{data:i,refresh:l}=([t,a]=B(async()=>Y(be(`footer-${u.value.id}`),async()=>{const s=await ke(),e=s.socialMediaList,n=s.navigationLinks,c=s.siteIdentifier;return{socialMediaList:e,navigationLinks:n,siteIdentifier:c}},"$J4JWTcN-rB")),t=await t,a(),t);return V(()=>u.value,()=>{l()}),(s,e)=>{const n=qe,c=Ye;return d(),m("footer",Ze,[w(n,{"social-media-list":r(i)?.socialMediaList??[]}
1,null,8,["social-media-list"]),w(c,{"navigation-links":r(i)?.navigationLinks??[],"site-identifier":r(i)?.siteIdentifier??""},null,8,["navigation-links","site-identifier"])])}}}),et=async()=>{const{currentLocale:o}=A(),t=ue(`social-share-bar-${o.id}`,()=>null);if(t.value)return t.value;const a=await G(),u={activateSocialShareBar:a.activateSocialShareBar,linkList:a.socialShareBarLinklist.filter(i=>i.data.to&&i.data.socialType).map(i=>i.data)};return a.socialShareBarLinklist.length&&(t.value=u),u},xt=v({__name:"default",async setup(o){let t,a;const u=me(),{page:i}=j(u),{currentLocale:l}=A(),{data:s}=([t,a]=B(async()=>Y(`social-share-bar-data-${l.id}`,async()=>{let h=null;i.value&&"ogImg"in i.value&&i.value.ogImg?.referenceId&&(h=await fe({references:i.value.ogImg,single:!0}));const _=i.value;return{title:_.ogTitle,description:_.ogDescription,hashtags:_.twitterCard,twitterUser:_.twitterSite,media:h?.original?.url}})),t=await t,a(),t),{activateSocialShareBar:e,linkList:n}=([t,a]=B(()=>et()),t=await t,a(),t),c=C(()=>i.value&&"displaySocialShareBar"in i.value?i.value.displaySocialShareBar&&e&&n.length>0:!1),p=([t,a]=B(()=>G()),t=await t,a(),t),x=[{name:p.siteVerificationPath1,content:p.siteVerificationKey1},{name:p.siteVerificationPath2,content:p.siteVerificationKey2}].filter(h=>h.name&&h.content);return pe({meta:x}),(h,_)=>{const D=De,$=Ie,I=Pe,F=ze,L=Qe;return d(),m(T,null,[w(D),w($),w(I),q(h.$slots,"default"),r(c)&&r(s)?(d(),y(F,{key:0,networks:r(n),"social-share-data":r(s)},null,8,["networks","social-share-data"])):S("",!0),w(L),_[0]||(_[0]=g("section",{id:"bg-layer",class:"fixed w-screen h-screen top-0 left-0 bg-black/60 overflow-hidden transition-all duration-300 opacity-0 pointer-events-none"},null,-1))],64)}}});export{xt 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.