1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5169,853],{73996:function(e,t,n){Promise.resolve().then(n.bind(n,42645)),Promise.resolve().then(n.bind(n,47428)),Promise.resolve().then(n.bind(n,34327)),Promise.resolve().then(n.bind(n,40011)),Promise.resolve().then(n.t.bind(n,38173,23)),Promise.resolve().then(n.bind(n,43778))},42645:function(e,t,n){"use strict";var r=n(57437),l=n(18087),o=n(87138),i=n(44994);t.default=e=>{let{ariaLabel:t,localeLinks:n}=e,a=(0,l.useLocale)(),c=(0,i.jD)(),s=n?n.flatMap(e=>{let t=i.Mj.find(t=>t.locale===e.locale);return t?[{...t,href:e.href}]:[]}):i.Mj.map(e=>({...e,href:null}));return(0,r.jsx)("nav",{"aria-label":t,children:(0,r.jsx)("ul",{className:"flex flex-wrap gap-x-6 gap-y-3",children:s.map(e=>{let t=e.locale===a,n="inline-flex rounded-sm text-sm font-medium leading-6 transition-colors duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-4 focus-visible:ring-offset-base-200 active:translate-y-px ".concat(t?"text-primary":"text-base-content/60 hover:text-base-content");return(0,r.jsx)("li",{children:e.href?(0,r.jsx)(o.default,{href:e.href,hrefLang:e.code,lang:e.code,"aria-current":t?"page":void 0,className:n,children:e.language}):(0,r.jsx)(i.rU,{href:c||"/",locale:e.locale,hrefLang:e.code,lang:e.code,"aria-current":t?"page":void 0,className:n,children:e.language})},e.locale)})})})}},12887:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,{g:function(){return r}})},34327:function(e,t,n){"use strict";n.d(t,{default:function(){return d}});var r=n(12887),l=n(87138),o=n(16463),i=n(2265),a=n(69773);let c="locale";function s(e){return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&!function(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}(e)}function u(e,t){let n;return"string"==typeof e?n=f(t,e):(n={...e},e.pathname&&(n.pathname=f(t,e.pathname))),n}function f(e,t){let n=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),n+=t}let h=(0,i.forwardRef)(function(e,t){let{href:n,locale:f,localePrefixMode:h,onClick:d,prefetch:p,prefix:v,...g}=e,m=(0,o.usePathname)(),b=function(){let e;let t=(0,o.useParams)();try{e=(0,a.useLocale)()}catch(n){if("string"!=typeof(null==t?void 0:t[c]))throw n;e=t[c]}return e}(),x=f!==b,[y,j]=(0,i.useState)(()=>s(n)&&("never"!==h||x)?u(n,v):n);return(0,i.useEffect)(()=>{m&&j(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=arguments.length>3?arguments[3]:void 0,l=arguments.length>4?arguments[4]:void 0;if(!s(e))return e;let o=r===l||r.startsWith("".concat(l,"/"));return(t!==n||o)&&null!=l?u(e,l):e}(n,f,b,m,v))},[b,n,f,m,v]),x&&(p&&console.error("The `prefetch` prop is currently not supported when using the `locale` prop on `Link` to switch the locale.`"),p=!1),i.createElement(l.default,(0,r.g)({ref:t,href:y,hrefLang:x?f:void 0,onClick:function(e){(function(e,t,n){if(!(n!==t&&null!=n)||!e)return;let r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location.pathname;return"/"===e?t:t.replace(e,"")}(e);document.cookie="".concat("NEXT_LOCALE","=").concat(n,"; path=").concat(""!==r?r:"/","; max-age=").concat(31536e3,"; sameSite=").concat("lax")})(m,b,f),d&&d(e)},prefetch:p},g))});h.displayName="ClientLink";var d=h},40011:function(e,t,n){"use strict";n.d(t,{default:function(){return i}});var r=n(12887),l=n(2265),o=n(54480);function i(e){let{locale:t,...n}=e;if(!t)throw Error("Failed to determine locale in `NextIntlClientProvider`, please provide the `locale` prop explicitly.\n\nSee https://next-intl-docs.vercel.app/docs/configuration#locale");return l.createElement(o.IntlProvider,(0,r.g)({locale:t},n))}}},function(e){e.O(0,[231,8173,9437,8087,4064,7428,2971,3526,1744],function(){return e(e.s=73996)}),_N_E=e.O()}]); 2//# sourceMappingURL=layout-d0a819769f618fe0.js.map
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.