1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,57822,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){let{html:t,height:r=null,width:a=null,children:s,dataNtpc:i=""}=e;return(0,n.useEffect)(()=>{i&&performance.mark("mark_feature_usage",{detail:{feature:`next-third-parties-${i}`}})},[i]),(0,l.jsxs)(l.Fragment,{children:[s,t?(0,l.jsx)("div",{style:{height:null!=r?`${r}px`:"auto",width:null!=a?`${a}px`:"auto"},"data-ntpc":i,dangerouslySetInnerHTML:{__html:t}}):null]})};let l=e.r(50924),n=e.r(19587)},12947,(e,t,r)=>{"use strict";let l;var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.GoogleAnalytics=function(e){let{gaId:t,debugMode:r,dataLayerName:n="dataLayer",nonce:o}=e;return void 0===l&&(l=n),(0,s.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:` 2 window['${n}'] = window['${n}'] || []; 3 function gtag(){window['${n}'].push(arguments);} 4 gtag('js', new Date()); 5 6 gtag('config', '${t}' ${r?",{ 'debug_mode': true }":""});`},nonce:o}),(0,a.jsx)(i.default,{id:"_next-ga",src:`https://www.googletagmanager.com/gtag/js?id=${t}`,nonce:o})]})},r.sendGAEvent=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];void 0===l?console.warn("@next/third-parties: GA has not been initialized"):window[l]?window[l].push(arguments):console.warn(`@next/third-parties: GA dataLayer ${l} does not exist`)};let a=e.r(50924),s=e.r(19587),i=n(e.r(62022))},52188,(e,t,r)=>{"use strict";var l=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.sendGTMEvent=void 0,r.GoogleTagManager=function(e){let{gtmId:t,gtmScriptUrl:r,dataLayerName:l="dataLayer",auth:o,preview:c,dataLayer:u,nonce:d}=e;i=l;let f=new URL(r||"https://www.googletagmanager.com/gtm.js");return t&&f.searchParams.set("id",t),"dataLayer"!==l&&f.searchParams.set("l",l),o&&f.searchParams.set("gtm_auth",o),c&&(f.searchParams.set("gtm_preview",c),f.searchParams.set("gtm_cookies_win","x")),(0,a.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:` 7 (function(w,l){ 8 w[l]=w[l]||[]; 9 w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'}); 10 ${u?`w[l].push(${JSON.stringify(u)})`:""} 11 })(window,'${l}');`},nonce:d}),(0,n.jsx)(s.default,{id:"_next-gtm","data-ntpc":"GTM",src:f.href,nonce:d})]})};let n=e.r(50924),a=e.r(19587),s=l(e.r(62022)),i="dataLayer";r.sendGTMEvent=(e,t)=>{let r=t||i;window[r]=window[r]||[],window[r].push(e)}},81802,e=>{"use strict";var t=e.i(48726);function r(e,t){return function(){for(var e=arguments.length,r=Array(e),l=0;l<e;l++)r[l]=arguments[l];try{return t(...r)}catch{throw Error(void 0)}}}let l=r(0,t.useTranslations);r(0,t.useFormatter),e.s(["useTranslations",0,l])},18105,e=>{"use strict";var t=e.i(48726),r=e.i(50924);e.s(["default",0,function(e){let{locale:l,...n}=e;if(!l)throw Error(void 0);return(0,r.jsx)(t.IntlProvider,{locale:l,...n})}])},18230,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var l={cancelIdleCallback:function(){return s},requestIdleCallback:function(){return a}};for(var n in l)Object.defineProperty(r,n,{enumerable:!0,get:l[n]});let a="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},s="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
11dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},99925,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var l={ESCAPE_REGEX:function(){return s},htmlEscapeAttributeString:function(){return u},htmlEscapeJsonString:function(){return c}};for(var n in l)Object.defineProperty(r,n,{enumerable:!0,get:l[n]});let a={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},s=/[&><\u2028\u2029]/g,i={"&":"&",'"':""","'":"'","<":"<",">":">"},o=/[&"'<>]/g;function c(e){return e.replace(s,e=>a[e])}function u(e){return e.replace(o,e=>i[e])}},38538,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var l={default:function(){return b},handleClientScriptLoad:function(){return g},initScriptLoader:function(){return v}};for(var n in l)Object.defineProperty(r,n,{enumerable:!0,get:l[n]});let a=e.r(36437),s=e.r(56421),i=e.r(50924),o=a._(e.r(97890)),c=s._(e.r(19587)),u=e.r(11797),d=e.r(4513),f=e.r(18230),p=e.r(99925),x=new Map,h=new Set,m=e=>{let{src:t,id:r,onLoad:l=()=>{},onReady:n=null,dangerouslySetInnerHTML:a,children:s="",strategy:i="afterInteractive",onError:c,stylesheets:u}=e,f=r||t;if(f&&h.has(f))return;if(x.has(t)){h.add(f),x.get(t).then(l,c);return}let p=()=>{n&&n(),h.add(f)},m=document.createElement("script"),g=new Promise((e,t)=>{m.addEventListener("load",function(t){e(),l&&l.call(this,t),p()}),m.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});a?(m.innerHTML=a.__html||"",p()):s?(m.textContent="string"==typeof s?s:Array.isArray(s)?s.join(""):"",p()):t&&(m.src=t,x.set(t,g)),(0,d.setAttributesFromProps)(m,e),"worker"===i&&m.setAttribute("type","text/partytown"),m.setAttribute("data-nscript",i),u&&(e=>{if(o.default.preinit)return e.forEach(e=>{o.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(u),document.body.appendChild(m)};function g(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>m(e))}):m(e)}function v(e){e.forEach(g),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");h.add(t)})}function w(e){let{id:t,src:r="",onLoad:l=()=>{},onReady:n=null,strategy:a="afterInteractive",onError:s,stylesheets:d,...x}=e,{updateScripts:g,scripts:v,getIsSsr:w,appDir:b,nonce:j}=(0,c.useContext)(u.HeadManagerContext);j=x.nonce||j;let y=(0,c.useRef)(!1);(0,c.useEffect)(()=>{let e=t||r;y.current||(n&&e&&h.has(e)&&n(),y.current=!0)},[n,t,r]);let k=(0,c.useRef)(!1);if((0,c.useEffect)(()=>{if(!k.current){if("afterInteractive"===a)m(e);else"lazyOnload"===a&&("complete"===document.readyState?(0,f.requestIdleCallback)(()=>m(e)):window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>m(e))}));k.current=!0}},[e,a]),("beforeInteractive"===a||"worker"===a)&&(g?(v[a]=(v[a]||[]).concat([{id:t,src:r,onLoad:l,onReady:n,onError:s,...x,nonce:j}]),g(v)):w&&w()?h.add(t||r):w&&!w()&&m({...e,nonce:j})),b){if(d&&d.forEach(e=>{o.default.preinit(e,{as:"style"})}),"beforeInteractive"===a)if(!r)return x.dangerouslySetInnerHTML&&(x.children=x.dangerouslySetInnerHTML.__html,delete x.dangerouslySetInnerHTML),(0,i.jsx)("script",{nonce:j,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,p.htmlEscapeJsonString)(JSON.stringify([0,{...x,id:t}]))})`}});else return o.default.preload(r,x.integrity?{as:"script",integrity:x.integrity,nonce:j,crossOrigin:x.crossOrigin}:{as:"script",nonce:j,crossOrigin:x.crossOrigin}),(0,i.jsx)("script",{nonce:j,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,p.htmlEscapeJsonString)(JSON.stringify([r,{...x,id:t}]))})`}});"afterInteractive"===a&&r&&o.default.preload(r,x.integrity?{as:"script",integrity:x.integrity,nonce:j,crossOrigin:x.crossOrigin}:{as:"script",nonce:j,crossOrigin:x.crossOrigin})}return null}Object.defineProperty(w,"__nextScript",{value:!0});let b=w;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
11dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},54489,(e,t,r)=>{t.exports=e.r(26108)},62022,(e,t,r)=>{t.exports=e.r(38538)},86603,e=>{e.q("/blog/_next/static/media/smow-logo-white.1eyb7302n773i.svg")},45235,e=>{"use strict";e.s(["ClientSideNavigationHandlerProvider",()=>D,"HeaderClientComponent",()=>q,"useClientSideNavigationHandler",()=>z],45235);var t=e.i(50924),r=e.i(19587);let l=e=>(0,r.useRef)(null),n=e=>(0,r.useRef)(void 0),a=()=>{let e=(0,r.createContext)(void 0);return[e.Provider,()=>{let t=(0,r.useContext)(e);if(!t)throw Error("useSafeContext must be inside a Provider with a value");return t}]};var s=e.i(95878);let i=(0,r.forwardRef)((e,l)=>{let{onClick:a}=e,i=(0,r.useRef)(!1),o=n("div");return(0,r.useImperativeHandle)(l,()=>({show:()=>{o.current.classList.remove("translate-x-full","opacity-0"),o.current.classList.add("translate-x-0","opacity-100")},hide:()=>{i.current=!0,o.current.classList.remove("opacity-100"),o.current.classList.add("opacity-0")}})),(0,s.useEventListener)("transitionend",()=>{i.current&&(i.current=!1,o.current.classList.remove("translate-x-0"),o.current.classList.add("translate-x-full"))},o),(0,t.jsx)("div",{ref:o,className:"fixed inset-0 z-10 translate-x-full bg-black/30 opacity-0 transition-opacity duration-300 lg:hidden",onClick:a})});i.displayName="Backdrop";let o={src:e.i(86603).default,width:348,height:97,blurWidth:0,blurHeight:0};var c=e.i(43409);let u={appName:c.default.env.APP_NAME,logLevel:c.default.env.PINO_LOG_LEVEL||"debug",basePath:c.default.env.BASE_PATH,hostDe:c.default.env.HOST_DE,hostEn:c.default.env.HOST_EN};u.hostDe,u.hostDe,u.hostEn,u.hostEn;let d={locales:["de","en"],defaultLocale:"de",domains:[{domain:u.hostDe,defaultLocale:"de",locales:["de"]},{domain:u.hostEn,defaultLocale:"en",locales:["en"]}],localePrefix:"never",localeCookie:{name:"smow_locale",maxAge:31536e3},localeDetection:!1};var f=e.i(54489),p=e.i(48726),x=r["use".trim()],h=e.i(46221),m=e.i(60806),g=e.i(96613),v=e.i(57945);let{Link:w,redirect:b,permanentRedirect:j,usePathname:y,useRouter:k,getPathname:C}=function(e){let{Link:l,config:n,getPathname:a,...s}=function(e,l){var n,a,s;let i={...n=l||{},localePrefix:"object"==typeof(s=n.localePrefix)?s:{mode:s||"always"},localeCookie:!!((a=n.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof a&&a},localeDetection:n.localeDetection??!0,alternateLinks:n.alternateLinks??!0},o=i.pathnames,c=(0,r.forwardRef)(function(r,l){let n,a,{href:s,locale:c,...d}=r;"object"==typeof s?(n=s.pathname,a=s.params):n=s;let f=(0,h.isLocalizableHref)(s),p=e(),g=(0,h.isPromise)(p)?x(p):p,v=f?u({locale:c||g,href:null==o?n:{pathname:n,params:a},forcePrefix:null!=c||void 0}):n;return(0,t.jsx)(m.default,{ref:l,href:"object"==typeof s?{...s,pathname:v}:v,locale:c,localeCookie:i.localeCookie,...d})});function u(e){let t,{forcePrefix:r,href:l,locale:n}=e;return null==o?"object"==typeof l?(t=l.pathname,l.query&&(t+=(0,g.serializeSearchParams)(l.query))):t=l:t=(0,g.compileLocalizedPathname)({locale:n,...(0,g.normalizeNameOrNameWithParams)(l),pathnames:i.pathnames}),(0,g.applyPathnamePrefix)(t,n,i,r)}function d(e){return function(t){for(var r=arguments.length,l=Array(r>1?r-1:0),n=1;n<r;n++)l[n-1]=arguments[n];return e(u(t),...l)}}return{config:i,Link:c,redirect:d(f.redirect),permanentRedirect:d(f.permanentRedirect),getPathname:u}}(p.useLocale,e);return{...s,Link:l,usePathname:function(){let e,t,l=(e=(0,f.usePathname)(),t=(0,p.useLocale)(),(0,r.useMemo)(()=>{if(!e)return e;let r=e,l=(0,h.getLocalePrefix)(t,n.localePrefix);if((0,h.hasPathnamePrefixed)(l,e))r=(0,h.unprefixPathname)(e,l);else if("never"!==n.localePrefix.mode&&n.localePrefix.prefixes){let l=(0,h.getLocaleAsPrefix)(t);(0,h.hasPathnamePrefixed)(l,e)&&(r=(0,h.unprefixPathname)(e,l))}return r},[n.localePrefix,t,e])),a=(0,p.useLocale)();return(0,r.useMemo)(()=>l&&n.pathnames?(0,g.getRoute)(a,l,n.pathnames):l,[a,l])},useRouter:function(){let e=(0,f.useRouter)(),t=(0,p.useLocale)();return(0,r.useMemo)(()=>{function r(e){return function(r,l){let{locale:s,...i}=l||{},o=[a({href:r,locale:s||t,forcePrefix:null!=s||void 0})];Object.keys(i).length>0&&o.push(i),(0,v.default)(n.localeCookie,t,s),e(...o)}}return{...e,push:r(e.push),replace:r(e.replace),prefetch:r(e.prefetch)}},[t,e])},getPathname:a}}(d),N={containsOne:(e,t)=>{let r=!1;return t.forEach(t=>{e.indexOf(t)>=0&&(r=!0)}),r},removeElementAtIndex:(e,t)=>e.filter((e,r)=>r!==t),removeElement:(e,t)=>
11e.filter(e=>e!==t),removeElements:(e,t)=>{let r=e;return t.forEach(e=>{r=N.removeElement(r,e)}),r},removeElementInPlace:(e,t)=>{let r=e.indexOf(t);return -1!=r&&e.splice(r,1),e},transposeMatrix:e=>e[0].map((t,r)=>e.map(e=>e[r])),sameElements:(e,t)=>e.length==t.length&&0==e.filter(e=>-1==t.indexOf(e)).length,fill:(e,t)=>{let r=[];return r.length=e,r.fill(t),r},range:(e,t)=>{let r=[],l=e>t,n=l?t:e,a=l?e:t;for(let e=n;e<=a;e++)r.push(e);return l&&r.reverse(),r},batch:(e,t)=>[...Array(Math.ceil(e.length/t))].map((r,l)=>e.slice(l*t,(l+1)*t)),filterNonNull:e=>e.filter(e=>null!==e)};function _(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let l=[];for(let e=0;e<t.length;e++){let r=t[e];"string"==typeof r&&""!==r?l.push(r):Array.isArray(r)?l.push(...r.filter(e=>void 0!==e&&""!==e)):void 0!==r&&l.push(...N.filterNonNull(Object.entries(r).map(e=>{let[t,r]=e;return r?t:null})))}return 0===l.length?void 0:l.join(" ")}var L=e.i(11891),P=e.i(151);let E=(0,r.forwardRef)((e,n)=>{let{onBackClick:a}=e,s=k(),i=z(),[o,c]=(0,r.useState)(""),u=l("input");(0,r.useImperativeHandle)(n,()=>u.current);let d=()=>{let e=o.trim();""!==e&&(c(""),i(),s.push(`/?s=${e}`))};return(0,t.jsxs)("div",{className:"flex h-full text-black",children:[(0,t.jsx)("button",{type:"button",className:"relative inline-flex flex-none items-center border-y border-l border-black bg-white py-2 pl-[14px] pr-[2px] lg:hidden",onClick:a,children:(0,t.jsx)(L.FaChevronLeft,{className:"h-4 w-4","aria-hidden":"true"})}),(0,t.jsxs)("div",{className:"relative flex flex-auto items-stretch focus-within:z-10",children:[(0,t.jsx)("input",{ref:u,type:"text",className:"peer w-full rounded-none border-y border-r border-black py-1.5 pl-[18px] pr-10 italic outline-none focus:outline-none lg:border-l lg:pl-[21px]",value:o,onChange:e=>c(e.target.value),onKeyDown:e=>{"Enter"===e.key&&d()},placeholder:""}),(0,t.jsx)("div",{className:"absolute inset-y-0 right-0 flex items-center pr-3 peer-placeholder-shown:hidden",onClick:()=>{c(""),u.current?.focus()},children:(0,t.jsx)(L.FaXmark,{className:"h-4 w-4","aria-hidden":"true"})})]}),(0,t.jsx)("button",{type:"button",className:"relative inline-flex flex-none basis-[47px] items-center justify-center border-y border-r border-black lg:basis-[41px]",onClick:d,children:(0,t.jsx)(L.FaMagnifyingGlass,{className:"h-[19px] w-[19px] lg:h-[15px] lg:w-[15px]","aria-hidden":"true"})})]})});E.displayName="SearchField";let M=(0,r.forwardRef)((e,n)=>{let{onBurgerClick:a}=e,s=y(),i=(0,f.useSearchParams)(),[o,c]=(0,r.useState)(!1);(0,r.useImperativeHandle)(n,()=>({prepareClientSideNavigation:()=>{c(!1)}}));let u=l("input");return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"fixed left-0 top-0 z-10 flex h-[87px] w-full justify-between bg-black text-white md:h-[106px] lg:relative lg:h-[128px]",children:[(0,t.jsx)("div",{className:"ml-8 mt-[38px] w-6 flex-none md:ml-[50px] md:mt-[49px] lg:hidden",onClick:a,children:(0,t.jsx)("svg",{width:"30",height:"17",viewBox:"0 0 30 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M0 3.11527C0 1.92393 0.957589 0.961426 2.14286 0.961426H27.8571C29.0424 0.961426 30 1.92393 30 3.11527C30 4.30662 29.0424 5.26912 27.8571 5.26912H2.14286C0.957589 5.26912 0 4.30662 0 3.11527ZM0 13.8845C0 12.6932 0.957589 11.7307 2.14286 11.7307H27.8571C29.0424 11.7307 30 12.6932 30 13.8845C30 15.0758 29.0424 16.0383 27.8571 16.0383H2.14286C0.957589 16.0383 0 15.0758 0 13.8845Z",fill:"white"})})}),(0,t.jsx)("div",{className:"mx-auto flex-none",children:null!==s&&"/"===s&&null===i?(0,t.jsx)(S,{}):(0,t.jsx)(w,{href:"",passHref:!0,children:(0,t.jsx)("div",{onClick:()=>{window.location.href="/blog"},children:(0,t.jsx)(S,{})})})}),(0,t.jsx)("div",{className:"mr-6 mt-[33px] w-8 flex-none md:mr-[50px] md:mt-[42px] lg:hidden",onClick:()=>{c(!0),u.current?.focus()},children:(0,t.jsx)(L.FaMagnifyingGlass,{size:24})}),(0,t.jsx)("div",{className:_("absolute left-0 top-[21px] h-[47px] w-full flex-none transition-transform duration-300 md:top-9 lg:hidden",{"translate-x-0":o,"-translate-x-full":!o}),children:(0,t.jsx)("div",{className:"mx-8 h-full bg-white md:mx-[50px]",children:(0,t.jsx)(E,{ref:u,onBackClick:()=>{c(!1)}})})})]})})});M.displayName="BlackBar";let S=()=>(0,t.jsx)(P.default,{src:o,className:"mt-[29px] w-[120px] md:mt-[36px] md:w-[140px] lg:mt-[42px] lg:w-44",alt:"smow Journal Logo",title:"smow Journal",priority:!0});var O=e.i(81802);function I(e){let{size:r}=e,l=(0,O.useTranslations)(),n=[{href:"https://www.instagram.com/smowonline/",platform:"Instagram",Icon:L.FaInstagram,iconClasses:"w-[34px] h-[33px] lg:w-9 lg:h-[35px]"},{href:"https://www.tiktok.com/@smowonline",platform:"TikTok",Icon:L.FaTiktok,iconClasses:"w-7 h-8 lg:w-[29px] lg:h-[34px]"},{href:"https://www.pinterest.com/smowonline/",platform:"Pinterest",Icon:L.FaPinterestP,iconClasses:"w-[23px] h-[33px] lg:w-[25px] lg:h-[35px]"},{href:"https://www.linkedin.com/company/smow",platform:"LinkedIn",Icon:L.FaLinkedinIn,iconClasses:"w-[29px] h-[27px] lg:w-[31px] lg:h-[30px]"},{href:"https://www.youtube.com/channel/UCiwlVREV50Po8yDNukSJg-g/videos",platform:"Youtube",Icon:L.FaYoutube,iconClasses:"w-[35px] h-[27px] lg:w-[38px] lg:h-[27px]"}];return(0,t.jsx)(t.Fragment,{children:n.map((e,n)=>{let{href:a,platform:s,Icon:i,iconClasses:o}=e;return(0,t.jsx)("a",{href:a,rel:"noopener",target:"_blank",title:`${l("smowOn")} ${s}`,className:"inline-block",children:r?(0,t.jsx)(i,{size:r}):(0,t.jsx)(i,{className:o})},n)})})}let[T,R]=a(),A=e=>{let{onClick:n,className:a}=e,[i,o]=(0,r.useState)(!1),c=l("div"),u=l("div");(0,s.useOnClickOutside)(c,e=>{u.current?.contains(e.target)||o(!1)});let{langCode:d,languageOptions:f}=R(),p=(0,O.useTranslations)();return(0,t.jsxs)("div",{className:_("relative",a),children:[(0,t.jsxs)("div",{className:"inline-flex h-full cursor-pointer items-center font-bold",onClick:()=>{n(),o(e=>!e)},ref:c,children:[(0,t.jsx)("div",{className:"select-none pr-1 uppercase",children:d}),(0,t.jsx)("span",{children:i?(0,t.jsx)(L.FaChevronUp,{}):(0,t.jsx)(L.FaChevronDown,{})})]}),i&&(0,t.jsxs)("div",{ref:u,className:"absolute left-0 top-full bg-black py-8 pl-[52px] pr-10 text-[19px] text-white",children:[(0,t.jsx)("div",{className:"font-bold",children:p("languageSelection")}),f.map(e=>(0,t.jsxs)("div",{className:"flex pt-4",children:[e.selected?(0,t.jsxs)("div",{className:"flex w-[155px] flex-none",children:[(0,t.jsx)("div",{className:"flex-auto border-b-[3px] border-b-white font-bold uppercase",children:e.langCode}),(0,t.jsx)("div",{className:"w-[129px] flex-none pl-[18px]",children:e.title})]}):(0,t.jsxs)(w,{className:"flex w-[155px] flex-none",href:e.href,children:[(0,t.jsx)("span",{className:"flex-auto border-b-[3px] border-b-transparent font-bold uppercase",children:e.langCode}),(0,t.jsx)("span",{className:"w-[129px] flex-none pl-[18px]",children:e.title})]}),(0,t.jsx)("div",{className:"flex-none pt-1",children:e.selected&&(0,t.jsx)(L.FaCheck,{})})]},e.langCode))]})]})},H=(0,r.forwardRef)((e,n)=>{let{onOverMenuItem:a,onMouseOut:s,onLanguageSwitcherClick:i}=e,o=(0,O.useTranslations)(),c=l("div"),u=l("div"),d=l("div"),f=(0,r.useRef)([u,d]),p=(0,r.useRef)(void 0),x=(0,r.useRef)(new Map([["Topics",u],["Stores",d]])),h=(0,r.useRef)(new Map([[u,"Topics"],[d,"Stores"]]));(0,r.useImperativeHandle)(n,()=>({getElement:()=>c.current,close:e=>{let t=x.current.get(e);t?.current?.classList.remove("after:block"),t?.current?.classList.add("after:hidden"),p.current=void 0}})),(0,r.useEffect)(()=>
11{let e=c.current;if(!e)return;let t=e=>{let t=f.current.find(t=>t.current?.contains(e.target));void 0!==t&&t!==p.current&&(a(h.current.get(t)),p.current=t,t.current?.classList.remove("after:hidden"),t.current?.classList.add("after:block"))};return e.addEventListener("mouseover",t),()=>{e.removeEventListener("mouseover",t)}},[c,a]),(0,r.useEffect)(()=>{let e=c.current;if(!e)return;let t=e=>{if(null===c.current)return;let t=e.relatedTarget;c.current?.contains(t)||s(t)};return e.addEventListener("mouseout",t),()=>{e.removeEventListener("mouseout",t)}},[c,s]);let{origin:m}=R();return(0,t.jsx)("div",{ref:c,className:"mx-auto hidden h-[60px] w-[1400px] max-w-full px-[50px] text-black lg:block",children:(0,t.jsxs)("div",{className:"flex h-full flex-row items-center justify-between",children:[(0,t.jsx)(A,{className:"h-full w-[210px] xl:w-[258px]",onClick:i}),(0,t.jsxs)("div",{className:"flex h-full cursor-default gap-[67px] text-[17px] font-semibold uppercase tracking-tight text-black",children:[(0,t.jsx)("div",{ref:u,className:"relative flex cursor-pointer items-center after:absolute after:left-1/2 after:top-full after:z-20 after:-ml-[20px] after:-mt-[2px] after:hidden after:border-x-[20px] after:border-t-[17px] after:border-x-transparent after:border-b-transparent after:border-t-white after:content-['']",children:(0,t.jsx)("span",{children:o("header.topics")})}),(0,t.jsx)("div",{ref:d,className:"relative flex cursor-pointer items-center after:absolute after:left-1/2 after:top-full after:z-20 after:-ml-[20px] after:-mt-[2px] after:hidden after:border-x-[20px] after:border-t-[17px] after:border-x-transparent after:border-b-transparent after:border-t-white after:content-['']",children:(0,t.jsx)("span",{children:o("header.stores")})}),(0,t.jsx)(w,{className:"flex cursor-pointer items-center text-diamant-light",href:`${m}/`,children:(0,t.jsx)("span",{children:o("header.shop")})})]}),(0,t.jsx)("div",{className:"h-[41px] w-[210px] xl:w-[258px]",children:(0,t.jsx)(E,{})})]})})});H.displayName="DesktopMainMenu";let F=(0,r.forwardRef)((e,l)=>{let{heading:a,data:i}=e,o=z(),[c,u]=(0,r.useState)(!1),d=n("div");return(0,r.useImperativeHandle)(l,()=>({show:()=>{d.current?.classList.remove("lg:hidden")},hide:()=>{d.current?.classList.add("lg:hidden")}})),(0,s.useEventListener)("transitionend",()=>{c?d.current.style.height="auto":d.current.style.height=""},d),(0,t.jsxs)("div",{className:"flex-none lg:text-white",children:[(0,t.jsxs)("div",{onClick:()=>{let e=d.current;if(c){let t=e.scrollHeight,r=e.style.transition;e.style.transition="",requestAnimationFrame(function(){d.current.style.height=`${t}px`,d.current.style.transition=r,requestAnimationFrame(function(){d.current.style.height="0px"})})}else e.style.height=`${e.scrollHeight}px`;u(e=>!e)},className:"flex flex-row px-10 text-[19px] font-bold tracking-tight text-white lg:hidden",children:[(0,t.jsx)("div",{className:_("mb-3 h-[49px] flex-auto uppercase",{"text-diamant-dark":c}),children:a}),(0,t.jsx)(L.FaAngleDown,{className:_("mt-1 flex-none transition-transform",{"rotate-0":!c,"rotate-180":c}),size:"21px"})]}),(0,t.jsxs)("div",{ref:d,className:"flex h-0 flex-col overflow-hidden pl-[59px] pr-10 transition-all duration-[500ms] lg:hidden lg:h-auto lg:flex-row lg:justify-center lg:bg-black lg:pb-16 lg:pt-14",children:[(0,t.jsx)("div",{className:"mr-[105px] hidden h-[300px] w-[225px] flex-none flex-shrink flex-col bg-gray-800 lg:flex",children:(0,t.jsx)(P.default,{src:i.img,alt:"",title:""})}),i.blocks.map(e=>(0,t.jsxs)("div",{className:_("flex flex-none flex-col flex-wrap lg:text-[18px] lg:leading-[40px]",e.className),children:[e.title&&(0,t.jsx)("div",{className:"mb-3 text-[17px] font-bold uppercase lg:-mt-3",children:e.title}),e.links.map((r,l)=>(0,t.jsx)(w,{onClick:o,className:_("mr-5 py-2 hover:text-diamant-dark lg:mr-16 lg:py-0",{"pb-8":e.links.length===l+1}),href:r.href,children:r.title},r.title))]},e.key))]})]})});F.displayName="SubNavigation";let $=(0,r.forwardRef)((e,n)=>{let a,{onCloseClick:s}=e,i=(0,O.useTranslations)(),{menu:o,origin:c,languageOptions:u}=R(),[d,f]=(0,r.useState)(!1),p=()=>{void 0!==v.current&&(b.current.get(v.current)?.current?.hide(),g.current?.close(v.current))};(0,r.useImperativeHandle)(n,()=>({openMobileMenu:()=>f(!0),closeMobileMenu:()=>f(!1),prepareClientSideNavigation:()=>{f(!1),p()}}));let x=(0,r.useRef)(null),h=(0,r.useRef)(null),m=l("div"),g=(0,r.useRef)(null),v=(0,r.useRef)(void 0),b=(0,r.useRef)(((a=new Map).set("Topics",x),a.set("Stores",h),a)),j=(0,r.useCallback)(e=>{if(g.current?.getElement()===null||null===m.current)return;let t=e.relatedTarget;g.current.getElement().contains(t)||m.current.contains(t)||p()},[m]);return(0,r.useEffect)(()=>{let e=m.current;if(e)return e.addEventListener("mouseout",j),()=>{e.removeEventListener("mouseout",j)}}
11,[m,j]),(0,t.jsxs)("div",{className:_("fixed inset-0 z-10 w-5/6 max-w-[365px] bg-black text-white transition-transform duration-300 lg:relative lg:h-[60px] lg:w-full lg:max-w-full lg:translate-x-0 lg:border-b lg:border-black lg:bg-white",{"translate-x-0":d,"-translate-x-full":!d}),children:[(0,t.jsx)(H,{ref:g,onOverMenuItem:e=>{void 0!==v.current&&p(),v.current=e;let t=b.current.get(e);t?.current?.show()},onMouseOut:e=>{null!==m.current&&(m.current.contains(e)||p())},onLanguageSwitcherClick:()=>{p()}}),(0,t.jsxs)("div",{ref:m,className:"flex h-full flex-col overflow-hidden lg:absolute lg:block lg:h-0 lg:w-full lg:overflow-visible lg:bg-black",children:[(0,t.jsx)("span",{className:"h-[104px] flex-none pl-4 pt-16 text-white lg:hidden",onClick:s,children:(0,t.jsx)(L.FaXmark,{size:22})}),(0,t.jsxs)("div",{className:"flex flex-auto flex-col overflow-y-scroll pt-[15px] lg:block lg:overflow-visible lg:bg-black lg:pt-0",children:[(0,t.jsx)(F,{ref:x,heading:i("header.topics"),data:o.menuTopics}),(0,t.jsx)(F,{ref:h,heading:i("header.stores"),data:o.menuStores}),(0,t.jsx)(w,{className:"mb-14 block flex-none px-10 text-[19px] font-bold uppercase tracking-tight text-diamant-dark lg:hidden",href:`${c}/`,children:(0,t.jsx)("span",{children:i("header.shop")})}),(0,t.jsx)("div",{className:"flex h-[61px] flex-none items-start gap-4 px-10 text-[17px] tracking-tight lg:hidden",children:u.map(e=>e.selected?(0,t.jsx)("div",{className:"flex-none border-b-[3px] border-b-white font-bold uppercase",children:e.langCode},e.langCode):(0,t.jsx)(w,{className:"block flex-none uppercase",href:e.href,children:e.langCode},e.langCode))}),(0,t.jsx)("div",{className:"mt-auto flex flex-none justify-between px-10 pb-24 lg:hidden",children:(0,t.jsx)(I,{size:28})})]})]})]})});$.displayName="WhiteBar";let[D,z]=a(),q=e=>{let{localizedClientData:l}=e,n=(0,r.useRef)(null),a=(0,r.useRef)(null),s=(0,r.useRef)(null),o=()=>{a.current?.hide(),s.current?.closeMobileMenu(),document.body.style.overflow="visible"};return(0,t.jsx)(T,{value:l,children:(0,t.jsxs)(D,{value:()=>{n.current?.prepareClientSideNavigation(),s.current?.prepareClientSideNavigation(),a.current?.hide(),document.body.style.overflow="visible"},children:[(0,t.jsx)(M,{ref:n,onBurgerClick:()=>{s.current?.openMobileMenu(),a.current?.show(),document.body.style.overflow="hidden"}}),(0,t.jsx)(i,{ref:a,onClick:o}),(0,t.jsx)($,{ref:s,onCloseClick:o})]})})}}]);
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.