<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3027,6525,2099],{3027:function(e,t,n){Promise.resolve().then(n.bind(n,47141)),Promise.resolve().then(n.bind(n,2152)),Promise.resolve().then(n.bind(n,83375)),Promise.resolve().then(n.bind(n,71007)),Promise.resolve().then(n.bind(n,33014)),Promise.resolve().then(n.bind(n,47173)),Promise.resolve().then(n.bind(n,60504)),Promise.resolve().then(n.bind(n,57208)),Promise.resolve().then(n.bind(n,33225)),Promise.resolve().then(n.bind(n,89659)),Promise.resolve().then(n.bind(n,7749)),Promise.resolve().then(n.bind(n,61189)),Promise.resolve().then(n.bind(n,36110)),Promise.resolve().then(n.bind(n,83983)),Promise.resolve().then(n.bind(n,92533)),Promise.resolve().then(n.bind(n,20390)),Promise.resolve().then(n.bind(n,54335)),Promise.resolve().then(n.bind(n,20859)),Promise.resolve().then(n.bind(n,81531)),Promise.resolve().then(n.bind(n,55833)),Promise.resolve().then(n.bind(n,74951)),Promise.resolve().then(n.bind(n,61631)),Promise.resolve().then(n.bind(n,67325)),Promise.resolve().then(n.bind(n,68305)),Promise.resolve().then(n.bind(n,34750)),Promise.resolve().then(n.bind(n,56167)),Promise.resolve().then(n.bind(n,34538)),Promise.resolve().then(n.bind(n,41181)),Promise.resolve().then(n.bind(n,72701)),Promise.resolve().then(n.bind(n,94886)),Promise.resolve().then(n.bind(n,77999)),Promise.resolve().then(n.bind(n,84838)),Promise.resolve().then(n.bind(n,78967)),Promise.resolve().then(n.bind(n,46782)),Promise.resolve().then(n.bind(n,37779)),Promise.resolve().then(n.bind(n,76259)),Promise.resolve().then(n.bind(n,38080)),Promise.resolve().then(n.bind(n,34996)),Promise.resolve().then(n.bind(n,30431)),Promise.resolve().then(n.bind(n,73419)),Promise.resolve().then(n.bind(n,81811)),Promise.resolve().then(n.bind(n,41700)),Promise.resolve().then(n.bind(n,73735)),Promise.resolve().then(n.bind(n,67507)),Promise.resolve().then(n.bind(n,6381)),Promise.resolve().then(n.bind(n,77980)),Promise.resolve().then(n.bind(n,47094)),Promise.resolve().then(n.bind(n,6289)),Promise.resolve().then(n.bind(n,13689)),Promise.resolve().then(n.bind(n,70719)),Promise.resolve().then(n.bind(n,60639)),Promise.resolve().then(n.bind(n,10185)),Promise.resolve().then(n.bind(n,48770)),Promise.resolve().then(n.bind(n,91645)),Promise.resolve().then(n.bind(n,81221)),Promise.resolve().then(n.bind(n,99751)),Promise.resolve().then(n.bind(n,5455)),Promise.resolve().then(n.bind(n,52117)),Promise.resolve().then(n.bind(n,81517)),Promise.resolve().then(n.bind(n,46680)),Promise.resolve().then(n.bind(n,80886)),Promise.resolve().then(n.bind(n,46297)),Promise.resolve().then(n.bind(n,87351)),Promise.resolve().then(n.bind(n,52752)),Promise.resolve().then(n.t.bind(n,57911,23)),Promise.resolve().then(n.t.bind(n,20918,23)),Promise.resolve().then(n.t.bind(n,86889,23)),Promise.resolve().then(n.bind(n,44463))},93053:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});let r={sm:640,md:768,lg:1024,xl:1280,"2xl":1536}},89938:function(e,t,n){"use strict";n.d(t,{AU:function(){return l},R0:function(){return i},WH:function(){return s}});var r=n(21329);let l=(0,r.B)("\n    mutation cancelNotificationStatusUser(\n        $productId: String!\n        $variantId: String!\n        $token: String!\n    ) {\n        cancelNotificationStatusUser(\n            productId: $productId\n            variantId: $variantId\n            token: $token\n        ) {\n            data {\n                code\n                message\n                success\n            }\n            isError\n            error {\n                __typename\n                ...genericResponse\n                ...problemDetails\n            }\n        }\n    }\n");(0,r.B)("\n    query getAllNotificationStatusUser($token: String!) {\n        getAllNotificationStatusUser(token: $token) {\n            isError\n            data {\n                notifications {\n                    productId\n                    variantId\n                }\n                userId\n            }\n            error {\n                __typename\n                ...genericResponse\n                ...problemDetails\n            }\n        }\n    }\n");let i=(0,r.B)("\n    query getNotificationStatusUser($productId: String!, $token: String!) {\n        getNotificationStatusUser(productId: $productId, token: $token) {\n            isError\n            data {\n                userId\n                variantIdsWithNotifications\n            }\n            error {\n                __typename\n                ...genericResponse\n                ...problemDetails\n            }\n        }\n    }\n");(0,r.B)("\n    mutation signUpAnonymousNotification(\n        $productId: String!\n        $variantId: String!\n        $payload: NotificationSignUpAnonymousPostBodyDtoInput!\n    ) {\n        signUpAnonymousNotification(\n            productId: $productId\n            variantId: $variantId\n            payload: $payload\n        ) {\n            data {\n                code\n                message\n                success\n            }\n            isError\n            error {\n                __typename\n                ...genericResponse\n                ...problemDetails\n            }\n        }\n    }\n");let s=(0,r.B)("\n    mutation signUpNotificationStatusUser(\n        $productId: String!\n        $variantId: String!\n        $token: String!\n    ) {\n        signUpNotificationStatusUser(\n            productId: $productId\n            variantId: $variantId\n            token: $token\n        ) {\n            data {\n                code\n                message\n                success\n            }\n            isError\n            error {\n                __typename\n                ...genericResponse\n                ...problemDetails\n            }\n        }\n    }\n")},83602:function(e,t,n){"use strict";n.d(t,{Yu:function(){return l},YD:function(){return i},xV:function(){return s}});var r=n(21329);let l=(0,r.B)("\n    mutation addReview($payload: ReviewSubmitDtoInput!, $token: String!) {\n        addReview(payload: $payload, token: $token) {\n            # __typename\n            ... on ReviewResponseDto {\n                acceptedAt\n                comment\n                createdAt\n                id\n                modifiedAt\n                name\n                productId\n                score\n                reviewStatus: status\n                variantId\n            }\n            ...problemDetails\n            ...genericResponse\n        }\n    }\n"),i=(0,r.B)("\n    mutation deleteReview($reviewId: String!, $token: String!) {\n        deleteReview(reviewId: $reviewId, token: $token) {\n            isError\n            data {\n                ...genericResponse\n            }\n            error {\n                ...problemDetails\n                ...genericResponse\n            }\n        }\n    }\n");(0,r.B)("\n    query getReview($reviewId: String!, $token: String!) {\n        getReview(reviewId: $reviewId, token: $token) {\n            ... on ReviewResponseDto {\n                acceptedAt\n                comment\n                createdAt\n                id\n                modifiedAt\n                name\n                productId\n                score\n                reviewStatus: status\n                variantId\n            }\n            ...problemDetails\n            ...genericResponse\n        }\n    }\n"),(0,r.B)("\n    query getReviews($token: String!) {\n        getReviews(token: $token) {\n            ... on ReviewListUserReviewsDto {\n                reviews {\n                    acceptedAt\n                    comment\n                    createdAt\n                    id\n                    modifiedAt\n                    name\n                    productId\n                    score\n                    status\n                    variantId\n                }\n                nextPageCursor\n            }\n            ...problemDetails\n            ...genericResponse\n        }\n    }\n"),(0,r.B)("\n    query getUnreviewed($token: String!) {\n        getUnreviewed(token: $token) {\n            ... on ReviewListUnreviewedProductsDto {\n                products {\n                    orderId\n                    productId\n                    variantId\n                }\n            }\n            ...problemDetails\n            ...genericResponse\n        }\n    }\n");let s=(0,r.B)("\n    mutation updateReview(\n        $reviewId: String!\n        $payload: ReviewUpdateDtoInput!\n        $token: String!\n    ) {\n        updateReview(reviewId: $reviewId, payload: $payload, token: $token) {\n            ... on ReviewResponseDto {\n                acceptedAt\n                comment\n                createdAt\n                id\n                modifiedAt\n                name\n                productId\n                score\n                reviewStatus: status\n                variantId\n            }\n            ...problemDetails\n            ...genericResponse\n        }\n    }\n")},91645:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return E}});var r=n(52336),l=n(65443),i=n(59842),s=n(27066),a=n(45774),o=n(27207),c=n(91391),d=n(95812),u=n(94504),m=n(50015),h=n(12411),p=e=&gt;{let{productId:t,variantId:n}=e,{isInWishlist:l,addToWishlist:i,removeFromWishlist:p,setWishlistData:v,wishlistCookies:x,isFetching:f}=(0,s.Ei)(),{data:g}=function(e){let{productId:t,wishlistCookies:n}=e,{data:r}=(0,m.a)({queryKey:["auth"]}),{data:l}=(0,c.aM)(u.g9,{variables:{productId:t,token:(null==r?void 0:r.token)||""},skip:!(null==r?void 0:r.token),fetchPolicy:"network-only"}),{data:i}=(0,c.aM)(d.DG,{variables:{productId:t,wishlistId:null==n?void 0:n.id,wishlistToken:null==n?void 0:n.token},skip:!!(null==r?void 0:r.token)||!(null==n?void 0:n.id)&amp;&amp;!(null==n?void 0:n.token),fetchPolicy:"network-only"}),{data:s,error:a,isError:o}=((null==r?void 0:r.token)?null==l?void 0:l.getWishlistItem:null==i?void 0:i.getAnonymousWishlistItem)||{};return{data:s,error:a,isError:o}}({productId:t,wishlistCookies:x}),b=l(t,n),j=(0,h.useRef)();(0,h.useEffect)(()=&gt;{g&amp;&amp;(null==g?void 0:g.length)&gt;0&amp;&amp;v(e=&gt;{var t;return null===(t=e[0])||void 0===t||t.__typename,[...e,...g]})},[g,v]);let y=(0,h.useCallback)(async()=&gt;{b?(null==b?void 0:b.id)&amp;&amp;await p(b.id):await i(t,n)},[i,p,t,n,b]),w=(0,h.useCallback)(async e=&gt;{e.preventDefault(),f||await new Promise(e=&gt;{j.current&amp;&amp;clearTimeout(j.current),j.current=setTimeout(e,350)}).then(()=&gt;y())},[y,f]);return(0,r.jsx)(a.zx,{type:"button",onClick:w,className:"group w-10 border border-black text-xl transition hover:opacity-75 lg:w-12",children:(0,r.jsx)(o.h_,{filled:!!b})})},v=n(38437),x=n(56320),f=n(965),g=n(24791),b=n(91597),j=n(89938);let y=async e=&gt;{let{token:t,productId:n,variantId:r}=e;try{return await (0,b.Xn)({query:j.AU,variables:{productId:n,variantId:r,token:t}})}catch(e){return console.group(...e.response.errors.map(e=&gt;console.debug(e)),console.debug("(in cancelNotificationStatusUser)")),e.response.data}},w=async e=&gt;{let{token:t,productId:n}=e;try{return await (0,b.Xn)({query:j.R0,variables:{productId:n,token:t}})}catch(e){return console.group(...e.response.errors.map(e=&gt;console.debug(e)),console.debug("(in getNotificationStatusUser)")),e.response.data}},N=async e=&gt;{let{token:t,productId:n,variantId:r}=e;try{return await (0,b.Xn)({query:j.WH,variables:{productId:n,variantId:r,token:t}})}catch(e){return console.group(...e.response.errors.map(e=&gt;console.debug(e)),console.debug("(in signUpNotificationStatusUser)")),e.response.data}};var k=n(94992),_=n(63577);let S=(0,n(21329).B)("\n    query stockWatch($items: [StockWatchItem!]!) {\n        stockWatch(items: $items)\n    }\n"),C=async e=&gt;{try{let t=await (0,b.Xn)({query:S,variables:e});return JSON.parse(atob(t.stockWatch))}catch(e){throw console.error("Error in getStockWatch",e),e}};var I=n(80225),P=n(90519),L=n(28877),T=n(40861);function E(e){let{variantIds:t,dictionary:n,lightsource:s,product:c,variant:d,className:u,stockInfo:b,locale:j}=e,[S,E]=(0,h.useState)(1),{cart:R,loading:D,error:A}=(0,f.KO)(),{addItem:F}=(0,f.gV)(),[O,M]=(0,h.useState)(!1),[U,V]=(0,h.useState)(!1),[Z,B]=(0,h.useState)(!1),{data:z}=(0,m.a)({queryKey:["stockWatch",c.id],queryFn:()=&gt;C({items:t.map(e=&gt;({partNo:e,quantity:1e3}))}),enabled:!(0,i.kA)(c)}),q=(0,h.useMemo)(()=&gt;{var e;if(!z)return!1;let t=null==R?void 0:R.items.find(e=&gt;e.partNo===(null==d?void 0:d.id)),n=null==z?void 0:z.find(e=&gt;e.partNo===(null==d?void 0:d.id));return!!n&amp;&amp;(null!==(e=null==t?void 0:t.quantity)&amp;&amp;void 0!==e?e:0)+S&gt;=n.currentOnHand},[null==R?void 0:R.items,S,d,z]),$=(0,h.useMemo)(()=&gt;{if(!(null==d?void 0:d.id))return!0;if(!d.articleStatus)return!1;let e=null==R?void 0:R.items.find(e=&gt;e.partNo===(null==d?void 0:d.id));if(!e||!z)return!1;let t=z.find(e=&gt;e.partNo===(null==d?void 0:d.id));return!!t&amp;&amp;e.quantity&gt;=t.currentOnHand},[z,null==R?void 0:R.items,d]);(0,h.useEffect)(()=&gt;{B(!1)},[d]);let{active:W,toggleNotification:H,loading:K}=function(e){let{productId:t,variantId:n}=e,{showSignup:r}=(0,g.useAuth)(),{data:l}=(0,m.a)({queryKey:["auth"]}),i=(0,k.NL)(),{data:s,isLoading:a}=(0,m.a)({queryKey:["notification",t],queryFn:async()=&gt;{var e,r,i;if(!n)return!1;let s=await w({token:null!==(i=null==l?void 0:l.token)&amp;&amp;void 0!==i?i:"",productId:t});return!s.getNotificationStatusUser.isError&amp;&amp;(null===(r=s.getNotificationStatusUser.data)||void 0===r?void 0:null===(e=r.variantIdsWithNotifications)||void 0===e?void 0:e.includes(n))},enabled:!!(null==l?void 0:l.token),refetchOnWindowFocus:!1,refetchOnReconnect:!1}),{mutate:o,isPending:c}=(0,_.D)({mutationFn:()=&gt;{var e;return N({token:null!==(e=null==l?void 0:l.token)&amp;&amp;void 0!==e?e:"",variantId:null!=n?n:"",productId:t})},onSuccess:e=&gt;{e.signUpNotificationStatusUser.isError||i.setQueryData(["notification",t],"WUT")}}),{mutate:d,isPending:u}=(0,_.D)({mutationFn:()=&gt;{var e;return y({token:null!==(e=null==l?void 0:l.token)&amp;&amp;void 0!==e?e:"",variantId:null!=n?n:"",productId:t})},onSuccess:e=&gt;{e.cancelNotificationStatusUser.isError||i.setQueryData(["notification",t],!1)}}),p=(0,h.useCallback)(()=&gt;{(null==l?void 0:l.user)?s?d():o():r()},[l,s,o,d,r]);return{active:s,toggleNotification:p,loading:a||c||u}}({productId:c.id,variantId:null==d?void 0:d.id}),X=(0,h.useMemo)(()=&gt;!!((null==d?void 0:d.stockStatus)&amp;&amp;["SoldOut","OutOfStock"].includes(d.stockStatus))&amp;&amp;!(0,T.O)(d.stockStatus,d.nextDeliveryDate),[d]),Q=(0,h.useCallback)(async e=&gt;{if(e.preventDefault(),null==d?void 0:d.id){V(!0);try{var t;await F([{product:c,quantity:S,item:d},...s?[{product:c,item:s,quantity:(null!==(t=d.lightsourceQuantity)&amp;&amp;void 0!==t?t:1)*S}]:[]]),B(!0),M(!0),V(!1),setTimeout(()=&gt;M(!1),3e3)}catch(e){console.error(e),V(!1)}}},[F,S,d,s,c]);return(0,r.jsxs)("div",{className:(0,L.cn)("grid grid-cols-2 gap-y-4",u),children:[(0,r.jsx)("form",{onSubmit:Q,className:(0,L.cn)("col-span-2 grid gap-x-2 gap-y-4 xl:gap-4",!X&amp;&amp;"grid-cols-[min-content_auto_min-content]"),children:X?(0,r.jsxs)("div",{className:"flex gap-2",children:[(0,r.jsx)(x.z,{type:"button",isLoading:K,disabled:K,onClick:H,className:(0,L.cn)("btn-primary col-span-3 w-full",W&amp;&amp;"border-0 bg-green-600 text-white"),children:W?n.removeNotification:n.monitorProduct}),(0,r.jsx)(p,{productId:c.id,variantId:(null==d?void 0:d.id)!==c.id?null==d?void 0:d.id:""})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.h0,{readOnly:!0,onDecrease:()=&gt;E(e=&gt;Math.max(1,e-1)),onIncrease:()=&gt;{q||E(e=&gt;e+1)},value:S,classNames:{wrapper:"border-0 h-10 lg:h-12",input:"border-black border-y text-sm min-w-0 w-10 lg:w-12 -outline-offset-2 action-focus rounded-none font-medium",decreaseButton:"action-focus border-black border basis-10 lg:basis-12 -outline-offset-2 w-10 lg:w-12 flex justify-center items-center",increaseButton:(0,L.cn)(["action-focus flex w-10 basis-10 items-center justify-center border border-black -outline-offset-2 lg:w-12 lg:basis-12",q&amp;&amp;"cursor-not-allowed opacity-50"])}}),(0,r.jsx)(x.z,{type:"submit",disabled:!d||$,isLoading:!U&amp;&amp;(D.addToCart||D.createCart),variant:"primary",className:(0,L.cn)((O||U)&amp;&amp;"border-green pointer-events-none bg-green-600",(D.createCart||D.addToCart)&amp;&amp;"pointer-events-none"),"data-testid":"PDP-button-Add-to-Cart",children:O||U?(0,r.jsx)(o.nQ,{className:"text-xl"}):(0,r.jsx)("span",{children:n.addToCart})}),(0,r.jsx)(p,{productId:c.id,variantId:(null==d?void 0:d.id)!==c.id?null==d?void 0:d.id:""}),A.createCart||A.addToCart?(0,r.jsx)("p",{className:"col-span-3 mt-1 text-xxs text-error md:col-span-1 md:col-start-2 md:pl-4",children:n.errorAddToCart}):null,(0,r.jsx)(I.M,{children:Z&amp;&amp;(0,r.jsx)(P.E.div,{className:"col-span-full overflow-hidden",initial:{height:0},animate:{height:"auto"},children:(0,r.jsx)(x.z,{asChild:!0,children:(0,r.jsx)(v.Z,{locale:j,className:"min-h-10 w-full bg-black p-2 text-sm text-white lg:min-h-12 lg:text-base",href:"/checkout",children:n.goToCheckout})})})})]})}),d&amp;&amp;(0,r.jsx)(l.Z,{item:d,type:"pdp",dictionary:n,className:"col-span-2",stockInfo:b})]})}},81221:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return p}});var r=n(52336),l=n(48681),i=n(6940);function s(e){return(0,r.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.80176 2.05566C9.92404 1.98145 10.076 1.98145 10.1982 2.05566L16.8093 6.07894C16.9271 6.15159 17 6.28207 17 6.42347V13.5765C17 13.7179 16.9271 13.8484 16.8093 13.9211L10.1982 17.9443C10.076 18.0186 9.92404 18.0186 9.80176 17.9443L3.19065 13.9211C3.07292 13.8484 3 13.7179 3 13.5765V6.42347C3 6.28206 3.07292 6.1516 3.19065 6.07894L9.80176 2.05566ZM3.77787 7.12526V13.3485L9.6112 16.8985V10.6752L8.25009 9.84709V13.0002C8.25009 13.1455 8.17338 13.2799 8.04957 13.3502C7.92576 13.4205 7.77461 13.4166 7.65537 13.3393L5.32204 11.8393C5.20811 11.7659 5.13898 11.6377 5.13898 11.5002V7.95344L3.77787 7.12526ZM5.91676 8.42681V11.2784L7.47231 12.2784V9.37379L5.91676 8.42681ZM8.70736 9.19554L10.0001 9.98225L15.8479 6.42363L10.0001 2.86502L4.15236 6.42363L5.60614 7.30799C5.61905 7.31111 5.63272 7.31424 5.64563 7.31893L8.5328 5.60412C8.64902 5.53459 8.7918 5.53224 8.9103 5.59709L11.34 6.9252C11.4646 6.99395 11.5436 7.12598 11.5459 7.27206C11.5482 7.41737 11.4737 7.55252 11.3514 7.62519L8.70736 9.19554ZM6.40222 7.79321L8.73555 6.4073L10.3549 7.29322L7.93879 8.72835L6.40222 7.79321ZM16.2225 7.12526L10.3891 10.6752V16.8985L16.2225 13.3485V7.12526Z",fill:"currentColor"})})}function a(e){return(0,r.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{d:"M8.52893 10.813L5.6305 7.96217L3.5 10.0569L8.52893 15L16.5 7.16564L14.443 5L8.52893 10.813Z",fill:"currentColor"})})}var o=n(14044),c=n(27207),d=n(80225),u=n(90519),m=n(12411),h=n(28877);function p(e){let{className:t,marketConfig:n,dictionary:p,usp:x,currentVariantPrice:f,...g}=e,[b,j]=(0,m.useState)(!1),{cart:y}=(0,i.KO)(),w=(0,m.useMemo)(()=&gt;{var e;return null!==(e=null==y?void 0:y.totalGrossAmount)&amp;&amp;void 0!==e?e:0},[null==y?void 0:y.totalGrossAmount]),N=(0,m.useMemo)(()=&gt;w+f&gt;n.freeShippingThreshold,[n.freeShippingThreshold,f,w]),k=(0,m.useMemo)(()=&gt;w&gt;=n.freeShippingThreshold,[w,n.freeShippingThreshold]);return(0,r.jsxs)("li",{className:(0,h.cn)("flex items-start",t),children:[(0,r.jsxs)(o.V,{open:b,onClose:()=&gt;j(!1),className:"relative z-50",children:[(0,r.jsx)("div",{className:"fixed inset-0 bg-black/30","aria-hidden":"true"}),(0,r.jsx)("div",{className:"fixed inset-0 flex items-center justify-center p-4",children:(0,r.jsxs)(o.V.Panel,{className:"relative mx-auto max-h-full max-w-xl items-start overflow-auto bg-white px-8 py-8 text-left prose-hr:my-6 md:py-12",children:[(0,r.jsx)("button",{type:"button",onClick:()=&gt;j(!1),className:"absolute right-0 top-2 p-4 outline-none",children:(0,r.jsx)(c.b0,{className:"text-base"})}),(0,r.jsx)(l.Z,{content:x.content,market:n.code,locale:n.locale})]})})]}),(0,r.jsxs)("button",{className:"flex grow items-start gap-4 whitespace-break-spaces p-4 text-left",onClick:()=&gt;j(!0),...g,children:[(0,r.jsx)("div",{className:"relative h-5 w-5 overflow-hidden",children:(0,r.jsx)(d.M,{mode:"wait",initial:!1,children:N||k?(0,r.jsx)(u.E.div,{initial:{y:"-100%"},animate:{y:0},exit:{y:"-100%"},transition:{duration:.25,ease:"easeOut"},className:"absolute",children:(0,r.jsx)(a,{className:"h-5 w-5 flex-shrink-0 text-green-500"})},"check"):(0,r.jsx)(u.E.div,{initial:{y:"100%"},animate:{y:0},exit:{y:"100%"},transition:{duration:.25,ease:"easeOut"},className:"absolute",children:(0,r.jsx)(s,{className:"h-5 w-5 flex-shrink-0 text-black"})},"box")})}),(0,r.jsx)(d.M,{mode:"wait",initial:!1,children:(0,r.jsx)(v,{usp:x,dictionary:p,hasReachedFreeShipping:k,willReachFreeShipping:N})})]})]})}function v(e){var t,n;let{usp:l,dictionary:i,willReachFreeShipping:s,hasReachedFreeShipping:a}=e;return a?(0,r.jsx)(u.E.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.25,ease:"linear"},children:null!==(t=i.hasReachedFreeShippingMessage)&amp;&amp;void 0!==t?t:"Du har uppn\xe5tt fri frakt p\xe5 din order!"},"hasReachedFreeShippingMessage"):s?(0,r.jsx)(u.E.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.25,ease:"linear"},children:null!==(n=i.freeShippingMessage)&amp;&amp;void 0!==n?n:"Den h\xe4r produkten ger dig fri frakt p\xe5 din order"},"freeShipppingMessage"):(0,r.jsx)(u.E.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.25,ease:"linear"},children:l.title},"uspTitle")}},83280:function(e,t,n){"use strict";n.d(t,{U:function(){return l}});var r=n(12637);let l=(0,n(63844).Ue)(()=&gt;{var e;return{photoSwipe:(e="product-gallery",new r.Z({gallery:"#".concat(e),mainClass:"pswp--".concat(e),children:"a",pswpModule:()=&gt;n.e(3070).then(n.bind(n,34358)),zoom:!1,counter:!1,bgOpacity:1,showHideAnimationType:"fade",showAnimationDuration:300,hideAnimationDuration:300,arrowPrevSVG:'&lt;svg aria-hidden="true" viewBox="0 0 16 16" width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"&gt;&lt;path d="M10 12L6 8L10 4" stroke="currentColor" /&gt;&lt;/svg&gt;',arrowNextSVG:'&lt;svg aria-hidden="true" viewBox="0 0 16 16" width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"&gt;&lt;path d="M6 4L10 8L6 12" stroke="currentColor" /&gt;&lt;/svg&gt;',closeSVG:'&lt;svg aria-hidden="true" viewBox="0 0 24 24" width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"&gt;&lt;path d="M6 6 18 18 M18 6 L6 18" stroke="currentColor" stroke-width="2" stroke-linecap="square"&gt;&lt;/path&gt;&lt;/svg&gt;'}))}})},99751:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(52336),l=n(12411),i=n(28877),s=n(83280);function a(e){let{className:t,children:n,...a}=e,[o,c]=(0,l.useState)(!1),d=(0,s.U)(e=&gt;e.photoSwipe);return(0,l.useEffect)(()=&gt;{d&amp;&amp;(d.on("beforeOpen",()=&gt;{c(!0)}),d.on("closingAnimationStart",()=&gt;{c(!1)}))},[d]),(0,r.jsx)("nav",{className:(0,i.cn)("flex max-h-full w-16 flex-col gap-2 overflow-y-auto scroll-smooth p-2 transition-opacity duration-300 ease-in-out scrollbar-none max-lg:hidden",o?"pointer-events-none opacity-0":"",t),...a,children:n})}},5455:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}}),n(76267),n(57347);var r=n(33559),l=n(12411),i=n(83280);function s(e){let{children:t,productImages:n}=e;return function(e){let{photoSwipeLightbox:t,productImages:n}=e,{scrollTo:i}=(0,r.vr)();(0,l.useEffect)(()=&gt;{if(t)return function(e){let{photoSwipeLightbox:t,productImages:n,scrollTo:r}=e;t.on("uiRegister",a.bind(void 0,{photoSwipeLightbox:t,productImages:n})),t.on("change",()=&gt;{var e,n;r(null!==(n=null===(e=t.pswp)||void 0===e?void 0:e.currIndex)&amp;&amp;void 0!==n?n:0)}),t.on("openingAnimationStart",()=&gt;{var e,n;null===(n=t.pswp)||void 0===n||null===(e=n.element)||void 0===e||e.classList.add("pswp--opened")}),t.on("closingAnimationStart",()=&gt;{var e,n;null==t||null===(n=t.pswp)||void 0===n||null===(e=n.element)||void 0===e||e.classList.add("pswp--closing")}),t.on("closingAnimationEnd",()=&gt;{var e,n,r,l;null==t||null===(n=t.pswp)||void 0===n||null===(e=n.element)||void 0===e||e.classList.remove("pswp--closing"),null===(l=t.pswp)||void 0===l||null===(r=l.element)||void 0===r||r.classList.remove("pswp--opened")})}({photoSwipeLightbox:t,productImages:n,scrollTo:i}),t.init(),()=&gt;{t.destroy()}},[t,n,i])}({photoSwipeLightbox:(0,i.U)(e=&gt;e.photoSwipe),productImages:n}),t}function a(e){var t,n;let{photoSwipeLightbox:r,productImages:l}=e;return null===(n=r.pswp)||void 0===n?void 0:null===(t=n.ui)||void 0===t?void 0:t.registerElement({name:"thumbnails",className:"pswp__thumbnails",appendTo:"wrapper",onInit:(e,t)=&gt;{let n,r;let i=[],s=-1;if(1!==t.getNumItems()){for(let s=0;s&lt;t.getNumItems();s++){let a=l[s];n=document.createElement("button"),(r=document.createElement("img")).setAttribute("src",a.src+"?w=128&amp;h=128&amp;q=80"),r.setAttribute("alt",a.alt),n.className="pswp__thumbnail",n.appendChild(r),n.onclick=e=&gt;{e.currentTarget instanceof HTMLButtonElement&amp;&amp;t.goTo(i.indexOf(e.currentTarget))},e.appendChild(n),i.push(n)}t.on("change",()=&gt;{(function(e){let{element:t,pswp:n,buttons:r,orientation:l}=e;if(0===n.currIndex){t.scrollTo("horizontal"===l?{left:0,behavior:"smooth"}:{top:0,behavior:"smooth"});return}if(n.currIndex===n.getNumItems()-1){t.scrollTo("horizontal"===l?{left:t.scrollWidth,behavior:"smooth"}:{top:t.scrollHeight,behavior:"smooth"});return}let i=r[n.currIndex].offsetLeft-(n.getViewportCenterPoint().x-r[n.currIndex].getBoundingClientRect().width/2),s=r[n.currIndex].offsetTop-(n.getViewportCenterPoint().y-r[n.currIndex].getBoundingClientRect().height/2);t.scrollTo("horizontal"===l?{left:i,behavior:"smooth"}:{top:s,behavior:"smooth"})})({element:e,pswp:t,buttons:i,orientation:window.innerWidth&gt;1024?"vertical":"horizontal"}),function(e){let{pswp:t,buttons:n,prevIndex:r}=e;r&gt;=0&amp;&amp;n[r].classList.remove("pswp__thumbnail--active"),n[t.currIndex].classList.add("pswp__thumbnail--active")}({pswp:t,buttons:i,prevIndex:s}),s=t.currIndex})}}})}},52117:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var r=n(52336),l=n(12411),i=n(28877);function s(e){let{className:t,children:n,href:s,...a}=e,[o,c]=(0,l.useState)({width:2e3,height:2e3});return(0,l.useEffect)(()=&gt;{if(!s)return;let e=new Image;e.src=s,e.onload=()=&gt;{c({width:e.width,height:e.height})}},[s]),(0,r.jsx)("a",{className:(0,i.cn)("hover:cursor-zoom-in",t),"data-pswp-src":s,"data-pswp-width":o.width,"data-pswp-height":o.height,target:"_blank",...a,children:n})}},81517:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var r=n(52336),l=n(33559),i=n(80225),s=n(12411),a=n(87294),o=n(28877);function c(e){let{formReference:t,formDictionary:n}=e,[i,c]=(0,a.cI)(null!=t?t:"mqapbzbv"),d=(0,s.useCallback)(e=&gt;null==i?void 0:i.errors.some(t=&gt;t.field===e),[i.errors]);if(i.succeeded){var u,m;return(0,r.jsxs)("div",{className:"flex flex-col gap-2 bg-grey-100 p-4",children:[(0,r.jsx)("h2",{className:"text-sm font-medium",children:null!==(u=n.placeOrderFormSuccessHeading)&amp;&amp;void 0!==u?u:n.formSuccessHeading}),(0,r.jsx)("p",{className:"text-sm",children:null!==(m=n.placeOrderFormSuccessText)&amp;&amp;void 0!==m?m:n.formSuccessText})]})}return(0,r.jsxs)("form",{onSubmit:c,className:"flex flex-col gap-2",children:[(0,r.jsx)(l.II,{className:(0,o.cn)(d("name")&amp;&amp;"border-error"),type:"text",name:"name",label:n.placeOrderFormNameLabel,required:!0}),(0,r.jsx)(a.p8,{prefix:"Name",field:"name",errors:i.errors}),(0,r.jsx)(l.II,{className:(0,o.cn)(d("email")&amp;&amp;"border-error"),type:"email",name:"email",label:n.placeOrderFormEmailLabel,required:!0}),(0,r.jsx)(a.p8,{prefix:"Email",field:"email",errors:i.errors}),(0,r.jsx)(l.II,{className:(0,o.cn)(d("phoneNumber")&amp;&amp;"border-error"),type:"tel",name:"phoneNumber",label:n.placeOrderFormPhoneNumberLabel,required:!0}),(0,r.jsx)(a.p8,{prefix:"Email",field:"email",errors:i.errors}),(0,r.jsx)("textarea",{className:(0,o.cn)("w-full border border-grey-200 px-3 py-2 text-base placeholder:text-sm focus:border-black disabled:border-grey-150 disabled:bg-grey-50 disabled:text-grey-300",d("message")&amp;&amp;"border-error"),id:"message",name:"message",placeholder:n.placeOrderFormMessageLabel+"*",required:!0}),(0,r.jsx)(a.p8,{prefix:"Message",field:"message",errors:i.errors}),(0,r.jsx)(l.zx,{className:"mt-2",variant:"primary",size:"lg",type:"submit",disabled:i.submitting,children:n.placeOrderFormSubmitButtonLabel})]})}function d(e){var t;let{formReference:n,formDictionary:a}=e,[o,d]=(0,s.useState)(!1);if(!a)return null;let u=null===(t=a.placeOrderFormButtonTextLink)||void 0===t?void 0:t.split(" "),m=null==u?void 0:u.slice(0,-1).join(" "),h=null==u?void 0:u.pop();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.M,{children:o&amp;&amp;(0,r.jsxs)(l.Vq.Root,{static:!0,className:"fixed inset-0 z-40 overflow-y-auto",open:o,onClose:()=&gt;d(!1),children:[(0,r.jsx)(l.Vq.Overlay,{}),(0,r.jsxs)(l.Vq.Content,{onClose:()=&gt;d(!1),position:"center",className:"flex flex-col gap-4 px-4 py-6",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsx)(l.Vq.Title,{className:"text-lg font-medium",children:a.placeOrderFormHeading}),(0,r.jsx)(l.Vq.Description,{className:"text-sm",children:a.placeOrderFormDescription})]}),(0,r.jsx)(c,{formReference:n,formDictionary:a})]})]})}),(0,r.jsxs)("button",{onClick:()=&gt;d(!0),type:"button",className:"gap-x-1.5 place-self-end bg-grey-100 px-4 py-2 text-left text-xs transition-colors duration-150 ease-in-out hover:bg-grey-150/50 lg:flex-row lg:text-sm",children:[a.placeOrderFormButtonText,m&amp;&amp;(0,r.jsxs)(r.Fragment,{children:[" ",m,h&amp;&amp;(0,r.jsxs)(r.Fragment,{children:[" ",(0,r.jsx)("span",{className:"underline",children:h})]})]})]})]})}},46680:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var r=n(52336),l=n(12411);let i=(0,l.createContext)(void 0);function s(e){let{children:t,loopProductData:n,marketConfig:s,dictionary:a}=e,o=(0,l.useMemo)(()=&gt;({loopProductData:n,marketConfig:s,dictionary:a}),[n,s,a]);return(0,r.jsx)(i.Provider,{value:o,children:t})}},80886:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return j}});var r=n(52336),l=n(50399),i=n(12411),s=n(28877),a=n(68185),o=n(58902);function c(e){var t,n;let{selection:l,label:i,options:s,dictionary:a}=e;if(!l)return(0,r.jsx)("div",{className:"flex flex-row items-center self-stretch",children:(0,r.jsx)(d,{dictionary:a,label:i})});let o=null===(n=[...s].find(e=&gt;{let[t]=e;return t===l}))||void 0===n?void 0:null===(t=n[1])||void 0===t?void 0:t[0];return o?(0,r.jsx)("div",{className:"flex flex-row items-center self-stretch",children:(0,r.jsx)(u,{variant:o})}):l}function d(e){var t;let{dictionary:n,label:l}=e;return(0,r.jsx)("span",{className:"mx-4",children:null===(t=n.chooseAttribute)||void 0===t?void 0:t.replace("%",l.toLowerCase())})}function u(e){let{variant:t}=e;return(0,r.jsxs)(r.Fragment,{children:[t.swatch&amp;&amp;(0,r.jsx)(o.default,{className:"aspect-square h-full w-auto object-cover",src:t.swatch,alt:t.label,width:48,height:48,sizes:"48px"}),(0,r.jsx)("span",{className:"mx-4",children:t.label})]})}var m=n(77446),h=n(24317),p=n(96600),v=n(14959);function x(e){let{value:t,variantAttributes:n,dictionary:i,marketConfig:s}=e,a=n[0],o=!1===n.some(e=&gt;v.hy.includes(e.stockStatus));return(0,r.jsx)(l.Ql,{value:t,disabled:o,hideIndicator:!0,className:"min-h-10 lg:min-h-11",selectItemChildren:(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)(f,{variantAttributes:n,dictionary:i}),(0,r.jsx)(g,{variantAttributes:n,dictionary:i,marketConfig:s})]}),children:(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)(b,{variantAttribute:a}),(0,r.jsx)("span",{children:a.label})]})},t)}function f(e){let{variantAttributes:t,dictionary:n}=e,l=(0,v.$W)(t),i=(0,v.Kd)(t),s=(0,v.eD)(t,n);return l||i?(0,r.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,r.jsx)(m.F,{}),(0,r.jsx)("span",{className:"text-xxs uppercase",children:s})]}):null}function g(e){var t;let{variantAttributes:n,dictionary:l,marketConfig:i}=e;if(!(null==n?void 0:n.length))return"-";let s=n.map(e=&gt;{let t=(0,h.D)(e.id);return{price:null!=t?t:e.price.price,originalPrice:e.price.originalPrice,priceType:e.price.priceType}}).sort((e,t)=&gt;e.price-t.price),a=s.at(0),o=s.at(-1);return a&amp;&amp;o?(0,r.jsxs)("div",{className:"flex flex-col-reverse",children:[(0,r.jsxs)("span",{children:[a.price&lt;o.price&amp;&amp;(null==l?void 0:l.fromShortened)," ",(0,r.jsx)("span",{className:"font-medium",children:(0,p.T)(a.price,i.locale)})]}),"campaign"===a.priceType&amp;&amp;(0,r.jsx)("span",{className:"ml-2 text-xs text-grey-300 line-through",children:(0,p.T)(null!==(t=a.originalPrice)&amp;&amp;void 0!==t?t:0,i.locale)})]}):"-"}function b(e){let{variantAttribute:t}=e;return t.swatch?(0,r.jsx)(o.default,{className:"aspect-square h-7 w-7 object-cover",src:t.swatch,width:50,height:50,alt:t.code,sizes:"50px"}):null}function j(e){let{marketConfig:t,initialVariantState:n,dictionary:o,className:d,breadcrumbs:u}=e,[m,h]=(0,i.useState)(!1),{attributes:p,state:v,optionSortingToUse:f,onChange:g}=(0,a.Z)({initialVariantState:n,breadcrumbs:u,dictionary:o});return(0,r.jsx)("div",{className:(0,s.cn)("flex flex-col gap-2",d),"data-testid":"ProductVariantSelect",children:p.map(e=&gt;{let{key:n,Label:i}=e,s=v.options.get(n);if(!s)return null;let a=[...s].sort(f);return(0,r.jsxs)("div",{"data-testid":"ProductVariantList",className:"flex flex-col gap-2",children:[(0,r.jsx)("p",{className:"text-xs",children:i}),(0,r.jsxs)(l.Ph,{onValueChange:e=&gt;{g(n,e,s)},onOpenChange:e=&gt;h(e),defaultValue:"string"==typeof v.selection[n]?v.selection[n]:void 0,disabled:0===a.length,children:[(0,r.jsx)(l.i4,{name:n,className:"h-11 pl-0 lg:h-12",open:m,children:(0,r.jsx)(c,{selection:v.selection[n],label:i,options:s,dictionary:o})}),(0,r.jsx)(l.Bw,{className:"p-0",children:a.map(e=&gt;{let[n,l]=e;return(0,r.jsx)(x,{value:n,variantAttributes:l,dictionary:o,marketConfig:t},n)})})]})]},n)})})}},46297:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var r=n(52336),l=n(12411),i=n(22597);function s(e){let{serviceLocale:t,walleyToken:n,variantPrice:s}=e,a=(0,l.useRef)(null);return(0,l.useEffect)(()=&gt;{if(!a.current||!s||!n)return;let e=a.current.querySelector("script");if(e){var r,l,o,c;e.setAttribute("data-amount",String(100*s)),null===(c=window.walley)||void 0===c||null===(o=c.checkout)||void 0===o||null===(l=o.api)||void 0===l||null===(r=l.update)||void 0===r||r.call(l);return}let d=document.createElement("script");d.setAttribute("src",i._.NEXT_PUBLIC_WALLEY_SCRIPT_SOURCE),d.setAttribute("data-token",n),d.setAttribute("data-widget","part-payment"),d.setAttribute("data-amount",String(100*s)),d.setAttribute("data-lang",t),a.current.appendChild(d)},[n,t,s]),(0,r.jsx)("div",{ref:a})}},87351:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l}});var r=n(12411);function l(e){let{id:t,page:n}=e;return(0,r.useEffect)(()=&gt;{if(n)switch(n.__typename){case"ProductPageInfo":window.sessionStorage.setItem("siblings","product:".concat(t));break;case"Campaign":case"EditorialPage":case"Page":window.sessionStorage.setItem("siblings",JSON.stringify({sv:n.se_slug,nb:n.no_slug,da:n.dk_slug,fi:n.fi_slug,nl:n.nl_slug,en:n.en_slug}))}return()=&gt;window.sessionStorage.removeItem("siblings")},[t,n]),null}},47141:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var r=n(52336),l=n(6097),i=n(37502),s=n(45774),a=n(27207),o=n(28877);let c=e=&gt;{let{open:t}=e;return(0,r.jsx)("span",{children:t?(0,r.jsx)(a.V_,{className:"text-base"}):(0,r.jsx)(a.pO,{className:"text-base"})})};function d(e){var t,n,a;let{children:d,text:u,richText:m,...h}=e,p=d;return m&amp;&amp;u&amp;&amp;(p=(0,i.h)(u.json,(0,l.parseOptions)({content:{links:u.links},...h}))),(0,r.jsx)(s.UQ,{...h,IconComponent:c,WrapperComponent:"div",classNames:{wrapper:(0,o.cn)("ngg-accordion bg-white",null===(t=h.classNames)||void 0===t?void 0:t.wrapper),button:(0,o.cn)("items-center px-3 py-5 text-left font-bold leading-4",null===(n=h.classNames)||void 0===n?void 0:n.button),panel:(0,o.cn)("px-3 pb-5 pt-0",null===(a=h.classNames)||void 0===a?void 0:a.panel)},children:p})}},86525:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.default}});var r=n(47141)},2152:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return c}});var r=n(52336),l=n(37066),i=n(38437),s=n(33559),a=n(86767);function o(e){var t,n,s,a,o,c,d;let{locale:u,link:m,image:h,name:p}=e;return(null==h?void 0:h.url)?(null==m?void 0:m.slug)?(0,r.jsxs)(i.Z,{className:"inline-flex",href:m.slug,locale:u,children:[(0,r.jsx)(l.Z,{className:"w-full object-contain",src:null==h?void 0:h.url,widths:[],width:null!==(t=h.width)&amp;&amp;void 0!==t?t:void 0,height:null!==(n=h.height)&amp;&amp;void 0!==n?n:void 0,alt:null!==(a=null!==(s=h.title)&amp;&amp;void 0!==s?s:p)&amp;&amp;void 0!==a?a:"",priority:!0}),(0,r.jsx)("span",{className:"sr-only",children:null!==(o=h.title)&amp;&amp;void 0!==o?o:p})]}):(0,r.jsx)(l.Z,{src:null==h?void 0:h.url,widths:[],alt:null!==(d=null!==(c=h.title)&amp;&amp;void 0!==c?c:p)&amp;&amp;void 0!==d?d:"",priority:!0}):null}function c(e){var t,n;let{banner:l,locale:i}=e;if(!(null==l?void 0:null===(n=l.bannerItemsCollection)||void 0===n?void 0:null===(t=n.items)||void 0===t?void 0:t.length))return null;let c=[...l.bannerItemsCollection.items,...l.bannerItemsCollection.items];return(null==c?void 0:c.length)?(0,r.jsx)(s.lr,{className:"overflow-x-hidden border-b border-t border-black",opts:{loop:!0,align:"start"},plugins:[(0,a.Z)({speed:.4})],children:(0,r.jsx)(s.KI,{className:"items-center py-2 lg:py-3",children:c.map((e,t)=&gt;{if((null==e?void 0:e.__typename)==="ContentfulImage"){var n,l,a,c;let d=(null!==(a=null==e?void 0:null===(n=e.image)||void 0===n?void 0:n.width)&amp;&amp;void 0!==a?a:100)/2,u=(null!==(c=null==e?void 0:null===(l=e.image)||void 0===l?void 0:l.height)&amp;&amp;void 0!==c?c:100)/2;return(0,r.jsx)(s.d$,{className:"ml-10 !basis-[var(--width)] items-center",style:{"--width":(null==d?void 0:d.toString())+"px","--height":(null==u?void 0:u.toString())+"px"},children:(0,r.jsx)(o,{locale:i,...e})},e.sys.id+t)}return null})})}):null}},83375:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return c}});var r=n(52336),l=n(48681),i=n(38437),s=n(58902),a=n(12411);let o=e=&gt;[[Math.floor(e/864e5),Math.floor(e%864e5/36e5),Math.floor(e%36e5/6e4),Math.floor(e%6e4/1e3)],e&lt;=0];function c(e){var t,n,c,d,u,m,h,p,v;let{cta:x,image:f,endDate:g,heading:b,paragraph:j,backgroundColor:y="#000000",textColor:w="#ffffff",market:N,locale:k}=e,[_,S]=function(e){let t=new Date(e).getTime(),[n,r]=(0,a.useState)(t-new Date().getTime());return(0,a.useEffect)(()=&gt;{let e=setInterval(()=&gt;{r(t-new Date().getTime())},1e3);return n&lt;0&amp;&amp;clearInterval(e),()=&gt;clearInterval(e)},[t,n]),o(n)}(new Date(g)),C=["D","H","M","S"],[I,P]=(0,a.useState)(!1);return((0,a.useEffect)(()=&gt;{g&amp;&amp;P(!0)},[g]),S||!g)?null:(0,r.jsx)("div",{style:{backgroundColor:y,color:w},className:"relative h-[50vh] w-full overflow-hidden",children:(0,r.jsxs)("div",{className:"h-full w-full",children:[f&amp;&amp;(0,r.jsx)(s.default,{className:"absolute inset-0 h-auto w-full",src:null!==(u=null==f?void 0:null===(t=f.image)||void 0===t?void 0:t.url)&amp;&amp;void 0!==u?u:"",alt:null!==(h=null!==(m=f.imageText)&amp;&amp;void 0!==m?m:"")&amp;&amp;void 0!==h?h:"alt text missing",width:null!==(p=null==f?void 0:null===(n=f.image)||void 0===n?void 0:n.width)&amp;&amp;void 0!==p?p:500,height:null!==(v=null==f?void 0:null===(c=f.image)||void 0===c?void 0:c.width)&amp;&amp;void 0!==v?v:500}),(0,r.jsx)("div",{className:"absolute inset-0 h-full w-full",children:(0,r.jsxs)("div",{className:"flex h-full w-full flex-col justify-between",children:[(0,r.jsx)("h2",{className:"sm:text-6xl m-5 text-center text-4xl font-bold uppercase",children:b}),I&amp;&amp;(0,r.jsx)("div",{className:"flex justify-center ",children:_.map((e,t)=&gt;(0,r.jsx)("div",{children:(0,r.jsxs)("div",{className:"place-items-center px-2",children:[String(e).padStart(2,"0"),C[t]]})},e*Math.random()))}),(0,r.jsxs)("div",{className:"m-5 flex flex-col items-center justify-center",children:[(0,r.jsx)("div",{className:"max-w-[75ch] px-2 text-center",children:(0,r.jsx)(l.Z,{content:j,locale:k,market:N})}),(null==x?void 0:x.href)&amp;&amp;(null==x?void 0:x.title)&amp;&amp;(0,r.jsx)("div",{className:"mt-5 flex justify-center sm:mt-10",children:(0,r.jsx)(i.Z,{locale:k,className:"w-[192px] bg-black py-4 text-center text-sm font-semibold uppercase text-white",href:null==x?void 0:null===(d=x.href)||void 0===d?void 0:d.slug,children:x.title})})]})]})})]})})}},71007:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return p}});var r=n(52336),l=n(72340),i=n(5183),s=n(16304),a=n(45774),o=n(12411),c=n(28877);let d=e=&gt;{let{text:t,isVisible:n,onClick:l}=e;return(0,r.jsx)("div",{className:"pointer-events-none absolute left-4 right-4 top-0 z-10 flex aspect-video max-w-[1200px] items-center md:mx-auto",children:(0,r.jsxs)("button",{type:"button",onClick:l,className:(0,c.cn)("pointer-events-auto ml-2 flex h-6 w-6 items-center justify-center bg-white/50 text-black md:ml-4",n?"hover:bg-white":"cursor-default opacity-50"),children:[(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"18",viewBox:"0 0 10 18",fill:"none",children:(0,r.jsx)("path",{d:"M9 17L1 9L9 1",stroke:"black"})}),(0,r.jsx)("span",{className:"sr-only",children:t})]})})},u=e=&gt;{let{text:t,isVisible:n,onClick:l}=e;return(0,r.jsx)("div",{className:"pointer-events-none absolute left-4 right-4 top-0 z-10 flex aspect-video max-w-[1200px] items-center justify-end md:mx-auto",children:(0,r.jsxs)("button",{type:"button",onClick:l,className:(0,c.cn)("pointer-events-auto mr-2 flex h-6 w-6 items-center justify-center bg-white/50 text-black md:mr-4",n?"hover:bg-white":"cursor-default opacity-50"),children:[(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"18",viewBox:"0 0 10 18",fill:"none",children:(0,r.jsx)("path",{d:"M1 1L9 9L1 17",stroke:"black"})}),(0,r.jsx)("span",{className:"sr-only",children:t})]})})},m=(e,t)=&gt;{let n=e.target;e.intersectionRatio&gt;.5&amp;&amp;t(Number(n.dataset.index))},h=e=&gt;{var t;let{item:n,index:s,activeIndex:a}=e;return(0,r.jsxs)("div",{className:(0,c.cn)("transition-opacity duration-200",s===a?"opacity-100":"opacity-100 delay-200 md:opacity-60"),children:[((null==n?void 0:n.mobileImage)||(null==n?void 0:n.desktopImage))&amp;&amp;(0,r.jsx)("div",{className:"relative aspect-video w-full",children:(0,r.jsx)(l.b,{className:"object-cover",mobileImage:n.mobileImage,desktopImage:n.desktopImage})}),(null==n?void 0:null===(t=n.imageText)||void 0===t?void 0:t.json)?(0,r.jsx)("p",{className:"py-1 text-sm text-grey-300",children:(0,i.a)(null==n?void 0:n.imageText.json)}):null]})};function p(e){let{imagesCollection:t}=e,n=(0,o.useRef)(null),[l,i]=(0,o.useState)(0),[c,p]=(0,o.useState)(!0),v=null==t?void 0:t.items.filter(e=&gt;{var t;return null==e?void 0:null===(t=e.media)||void 0===t?void 0:t.src}),{dictionary:x}=(0,s.Mj)();(0,o.useEffect)(()=&gt;{if(!n.current)return;let e=new IntersectionObserver(e=&gt;{let[t]=e;return m(t,i)},{root:n.current,rootMargin:"0px",threshold:[.5]});return Array.from(n.current.children).forEach(t=&gt;{e.observe(t)}),()=&gt;e.disconnect()},[]);let f=()=&gt;{var e;if(!n.current)return;let t=null===(e=n.current)||void 0===e?void 0:e.children[Math.max(0,l-1)];n.current.scrollTo({left:null==t?void 0:t.offsetLeft,behavior:"smooth"}),i(Math.max(0,l-1)),p(Math.max(0,l-1)&lt;n.current.children.length-1)},g=()=&gt;{var e;if(!n.current||l===n.current.children.length-1)return;let t=null===(e=n.current)||void 0===e?void 0:e.children[Math.min(l+1,n.current.children.length)];n.current.scrollTo({left:null==t?void 0:t.offsetLeft,behavior:"smooth"}),i(Math.min(l+1,n.current.children.length)),p(Math.min(l+1,n.current.children.length)&lt;n.current.children.length-1)};return(null==v?void 0:v.length)?(0,r.jsx)(a.lr,{ref:n,PreviousButton:()=&gt;d({text:null==x?void 0:x.previousSlide,isVisible:l&gt;0,onClick:f}),NextButton:()=&gt;u({text:null==x?void 0:x.nextSlide,isVisible:c,onClick:g}),classNames:{wrapper:"not-prose max-w-none overflow-hidden [--gap:0.75rem] [--slides-per-view:1] md:[--slides-per-view:1.15] px-4 md:px-0",slider:"scrollbar-none",item:"first:ml-[max(0rem,_calc((100%_-_1200px)_/_2))] md:snap-center max-w-[min(100%,_1200px)] basis-[max(calc((100%_-_((var(--slides-per-view)_-_1)_*_var(--gap)))_/_var(--slides-per-view)),_1200px)]"},children:v.map((e,t)=&gt;e?(0,r.jsx)(h,{item:e,index:t,activeIndex:l},e.sys.id):null)}):null}},92099:function(e,t,n){"use strict";n.r(t),n.d(t,{LazyRichText:function(){return r}});let r=(0,n(60823).default)(()=&gt;Promise.all([n.e(387),n.e(918),n.e(7207),n.e(4044),n.e(7628),n.e(4443),n.e(3870),n.e(3925)]).then(n.bind(n,6097)),{loadableGenerated:{webpack:()=&gt;[6097]}})},47173:function(e,t,n){"use strict";n.r(t);var r=n(52336),l=n(16304),i=n(80279),s=n(28877),a=n(68555),o=n(48681);t.default=e=&gt;{let{title:t,className:n,address:c,postalCode:d,city:u,phoneNumber:m,email:h,description:p,openingHoursCollection:v,exceptionalOpeningHoursCollection:x,market:f,locale:g,googleMapsUrl:b}=e,{dictionary:j}=(0,l.Mj)(),y=null==v?void 0:v.items,w=null==x?void 0:x.items,N=w?(0,a.P_)(w,j):null,k=(0,a.fl)(y);return(0,r.jsxs)("div",{className:(0,s.cn)("not-prose",n),children:[(0,r.jsx)("h3",{className:"text-xl font-bold",children:t}),p&amp;&amp;(0,r.jsx)(o.Z,{locale:g,market:f,content:p,className:"mb-6 ml-0 mt-3 max-w-120 space-y-3"}),(0,r.jsxs)("div",{className:"mt-3 grid grid-cols-2 gap-x-[clamp(1.5rem,_11%,_3.5rem)] gap-y-3",children:[(null==k?void 0:k.length)?(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"mb-1 text-base font-bold",children:null==j?void 0:j.openingHours}),k.map(e=&gt;(0,r.jsx)("p",{children:"".concat(null==e?void 0:e.text,": ").concat(null==e?void 0:e.time)},null==e?void 0:e.text))]}):null,c||d&amp;&amp;u?(0,r.jsxs)("div",{children:[c?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h4",{className:"mb-1 text-base font-bold",children:null==j?void 0:j.address}),(0,r.jsx)("p",{children:c})]}):null,d&amp;&amp;u?(0,r.jsxs)("p",{children:[d,", ",u]}):null]}):null,(null==N?void 0:N.length)?(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"mb-1 text-base font-bold",children:null==j?void 0:j.irregularOpeningHours}),N.map(e=&gt;(0,r.jsx)("p",{children:"".concat(null==e?void 0:e.text,": ").concat(null==e?void 0:e.time)},null==e?void 0:e.text))]}):null,i.y.customerService.phoneLink&amp;&amp;m||i.y.customerService.emailLink&amp;&amp;h&amp;&amp;(0,r.jsxs)("div",{className:"break-words",children:[(0,r.jsx)("h4",{className:"mb-1 text-base font-bold",children:null==j?void 0:j.contact}),i.y.customerService.phoneLink&amp;&amp;m&amp;&amp;(0,r.jsx)("p",{children:m}),i.y.customerService.emailLink&amp;&amp;h&amp;&amp;(0,r.jsx)("p",{children:(0,r.jsx)("a",{href:"mailto:".concat(h),className:"hover:underline",children:h})})]}),b?(0,r.jsx)("div",{className:"self-end",children:(0,r.jsx)("a",{target:"_blank",rel:"noreferrer nofollow",href:b,className:"font-bold underline",children:j.findHere||"Find us"})}):null]})]})}},60504:function(e,t,n){"use strict";n.r(t),n.d(t,{Accordion:function(){return o},AccordionContent:function(){return u},AccordionItem:function(){return c},AccordionTrigger:function(){return d}});var r=n(52336),l=n(50725),i=n(4751),s=n(12411),a=n(28877);let o=l.fC,c=s.forwardRef((e,t)=&gt;{let{className:n,...i}=e;return(0,r.jsx)(l.ck,{ref:t,className:(0,a.cn)("border-b border-grey-150",n),...i})});c.displayName="AccordionItem";let d=s.forwardRef((e,t)=&gt;{let{className:n,children:s,...o}=e;return(0,r.jsx)(l.h4,{className:"flex",children:(0,r.jsxs)(l.xz,{ref:t,className:(0,a.cn)("flex flex-1 items-center justify-between py-3 pr-1.5 text-left transition-all hover:underline [&amp;[data-state=open]&gt;svg]:rotate-180",n),...o,children:[s,(0,r.jsx)(i.Z,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})})});d.displayName=l.xz.displayName;let u=s.forwardRef((e,t)=&gt;{let{className:n,children:i,...s}=e;return(0,r.jsx)(l.VY,{ref:t,className:"overflow-hidden data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...s,children:(0,r.jsx)("div",{className:(0,a.cn)("pb-4 pt-0",n),children:i})})});u.displayName=l.VY.displayName},57208:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return m}});var r=n(52336),l=n(38437),i=n(27207),s=n(63111),a=n(28877),o=n(12411),c=n(63844),d=n(57304);let u=(0,c.Ue)()((0,d.tJ)(e=&gt;({currentPath:void 0,setCurrentPath:t=&gt;e({currentPath:t}),prevPath:void 0,setPrevPath:t=&gt;e({prevPath:t})}),{name:"breadcrumbs",storage:(0,d.FL)(()=&gt;sessionStorage)}));function m(e){let{className:t,href:n,locale:c,dictionary:d,isProductPage:m}=e,h=(0,s.useRouter)(),{hasPreviousPath:p}=function(){let e=(0,s.usePathname)(),t=u(e=&gt;e.currentPath),n=u(e=&gt;e.setCurrentPath),r=u(e=&gt;e.prevPath),l=u(e=&gt;e.setPrevPath);return(0,o.useEffect)(()=&gt;{n(e),e!==t&amp;&amp;l(t)},[e,t,n,l]),{hasPreviousPath:(0,o.useMemo)(()=&gt;r&amp;&amp;r!==e,[r,e])}}();return m&amp;&amp;p?(0,r.jsxs)("button",{className:"inline-flex content-center items-center gap-0.5 border border-grey-150 bg-white px-1.5 py-1 text-black transition-colors duration-150 hover:border-black hover:text-black",onClick:()=&gt;{h.back()},children:[(0,r.jsx)(i.Y4,{className:(0,a.cn)("max-lg:text-black",(null==d?void 0:d.back)?"h-4 w-4":"h-5 w-5")}),null==d?void 0:d.back]}):(0,r.jsxs)(l.Z,{href:n,locale:c,prefetch:!1,className:(0,a.cn)("inline-flex content-center items-center gap-0.5 transition-colors duration-150 hover:text-black",(null==d?void 0:d.back)?"border border-grey-150 bg-white px-1.5 py-1 text-black hover:border-black":"lg:hidden",t),children:[(0,r.jsx)(i.Y4,{className:(0,a.cn)("max-lg:text-black",(null==d?void 0:d.back)?"h-4 w-4":"h-5 w-5")}),null==d?void 0:d.back]})}},45707:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(52336),l=n(45774);function i(e){let{children:t,...n}=e;return(0,r.jsx)(l.zx,{className:"btn-primary",...n,children:t})}},98984:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var r=n(52336),l=n(37066),i=n(28877);function s(e){var t,n,s,a,o,c;let{className:d,mobileImage:u,desktopImage:m,sizes:h,priority:p,alt:v,...x}=e;return(0,r.jsxs)(r.Fragment,{children:[(null==m?void 0:m.url)&amp;&amp;(0,r.jsx)(l.Z,{className:(0,i.cn)((null==u?void 0:u.url)&amp;&amp;"max-lg:hidden",d),src:m.url,alt:null!==(t=null!=v?v:m.title)&amp;&amp;void 0!==t?t:"",width:null!==(n=m.width)&amp;&amp;void 0!==n?n:void 0,height:null!==(s=m.height)&amp;&amp;void 0!==s?s:void 0,sizes:h,priority:p,...x}),(null==u?void 0:u.url)&amp;&amp;(0,r.jsx)(l.Z,{className:(0,i.cn)("lg:hidden",d),src:u.url,alt:null!==(a=null!=v?v:u.title)&amp;&amp;void 0!==a?a:"",width:null!==(o=u.width)&amp;&amp;void 0!==o?o:void 0,height:null!==(c=u.height)&amp;&amp;void 0!==c?c:void 0,priority:p,...x})]})}},72340:function(e,t,n){"use strict";n.d(t,{b:function(){return r.default}});var r=n(98984)},33225:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var r=n(52336),l=n(58902),i=n(93053),s=n(28877);let a=e=&gt;{var t,n,a,o,c,d,u;let{pictureProps:m,imageProps:h,desktopImage:p,mobileImage:v,mobileBreakpoint:x=i.A.lg}=e,f=null!==(t=null==p?void 0:p.url)&amp;&amp;void 0!==t?t:null==v?void 0:v.url;if(!f)return null;let g=null!==(a=null!==(n=null==p?void 0:p.width)&amp;&amp;void 0!==n?n:null==v?void 0:v.width)&amp;&amp;void 0!==a?a:void 0,b=null!==(c=null!==(o=null==p?void 0:p.height)&amp;&amp;void 0!==o?o:null==v?void 0:v.height)&amp;&amp;void 0!==c?c:void 0,j=null!==(u=null!==(d=null==p?void 0:p.title)&amp;&amp;void 0!==d?d:null==v?void 0:v.title)&amp;&amp;void 0!==u?u:"",y=function(e){var t,n,r;if("string"!=typeof(null==e?void 0:e.url))return;let i=e.url,s=null!==(t=null==e?void 0:e.title)&amp;&amp;void 0!==t?t:"";return(0,l.getImageProps)({src:i,alt:s,width:null!==(n=e.width)&amp;&amp;void 0!==n?n:void 0,height:null!==(r=e.height)&amp;&amp;void 0!==r?r:void 0,sizes:"100vw"}).props}(v);return(0,r.jsxs)("picture",{...m,children:[(null==y?void 0:y.srcSet)&amp;&amp;(0,r.jsx)("source",{srcSet:y.srcSet,media:"(max-width: ".concat(x,"px)")}),(0,r.jsx)(l.default,{...h,className:(0,s.cn)("object-cover",null==h?void 0:h.className),src:f,width:g,height:b,alt:j})]})};a.displayName="ContentfulPicture";var o=a},89659:function(e,t,n){"use strict";n.r(t);var r=n(52336),l=n(8169),i=n(12411),s=n(93053);let a=e=&gt;{let{desktopVideo:t,mobileVideo:n,...a}=e,[c,d]=(0,i.useState)(null),u=o(n),m=o(t),h=(0,i.useCallback)(e=&gt;{let[t]=e;d(t.contentRect.width&lt;s.A.lg)},[]);return((0,i.useLayoutEffect)(()=&gt;{let e=new ResizeObserver(h);return document.body&amp;&amp;e.observe(document.body),()=&gt;{e.disconnect()}},[h]),c&amp;&amp;u)?(0,r.jsx)(l.n,{src:u,...a}):m?(0,r.jsx)(l.n,{src:m,...a}):null};function o(e){return null==e?void 0:e.url}a.displayName="ContentfulVideo",t.default=a},78511:function(e,t,n){"use strict";n.r(t),n.d(t,{ReviewProductForm:function(){return h},Star:function(){return m},default:function(){return p}});var r=n(52336),l=n(93695),i=n(88953),s=n(14044),a=n(45774),o=n(27207),c=n(58902),d=n(12411),u=n(28877);let m=e=&gt;{let{className:t,filled:n}=e;return(0,r.jsx)("svg",{width:"1.22em",height:"1.22em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:(0,u.cn)(t,n&amp;&amp;"fill-black"),children:(0,r.jsx)("path",{d:"M12 4.5L13.9838 9.26957L19.1329 9.68237L15.2098 13.0429L16.4084 18.0676L12 15.375L7.59161 18.0676L8.79018 13.0429L4.86708 9.68237L10.0162 9.26957L12 4.5Z",strokeLinecap:"square",strokeWidth:"1",stroke:"currentColor"})})},h=e=&gt;{let{onSubmit:t,score:n=0,comment:i,isLoading:s,classNames:c,onClose:h,dictionary:p}=e,[v,x]=(0,d.useState)(n),f=(0,d.useRef)(null),[g,b]=(0,d.useState)(i);return(0,r.jsxs)("form",{ref:f,action:"",onSubmit:e=&gt;{if(t){var n;t(e),null==f||null===(n=f.current)||void 0===n||n.reset()}},className:(0,u.cn)("relative col-span-6 flex min-h-full flex-col px-4 pb-6 md:p-6",null==c?void 0:c.wrapper),children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("h3",{className:"hidden text-lg font-bold md:block",children:p.leaveReview}),h?(0,r.jsx)("button",{type:"button",onClick:h,className:"absolute right-3 text-base",children:(0,r.jsx)(o.b0,{})}):null]}),(0,r.jsx)("div",{className:"group mt-1 flex w-fit",children:[void 0,void 0,void 0,void 0,void 0].map((e,t)=&gt;(0,r.jsxs)("button",{type:"button",className:"peer relative h-6 w-6 text-xl peer-hover:[&amp;&gt;:last-child]:opacity-0 peer-hover:[&amp;&gt;:last-child]:transition",onClick:()=&gt;x(t+1),children:[(0,r.jsx)(m,{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 group-hover:opacity-0 group-hover:transition",filled:t&lt;v}),(0,r.jsx)(m,{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 opacity-0  transition group-hover:opacity-100"}),(0,r.jsx)(m,{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 fill-black opacity-0 group-hover:opacity-100"})]},t))}),(0,r.jsx)("input",{type:"number",name:"score",value:v,hidden:!0,readOnly:!0}),(0,r.jsx)("label",{htmlFor:"leaveReview",className:"mt-6 hidden text-base md:block",children:p.leaveAReviewLabel}),(0,r.jsx)(l.gx,{id:"review",name:"comment",value:g,onChange:e=&gt;b(e.currentTarget.value),placeholder:p.leaveReviewPlaceholder,resizable:"none",fullWidth:!0,classNames:{wrapper:"flex-grow child:h-full mt-4 md:mt-2",textarea:"placeholder:text-grey-300 p-2 h-full"}}),(0,r.jsx)(a.zx,{type:"submit",isLoading:s,className:"btn-primary mt-2 md:mt-4",fullWidth:!0,children:p.leaveReview}),p.reviewDescription?(0,r.jsx)("p",{className:"mt-4 text-xxs text-grey-300",children:p.reviewDescription}):null]})};function p(e){var t;let{buttonText:n,product:l,isEdit:a=!1,className:u,onSubmit:m,onDelete:p,score:v=0,comment:x,isLoading:f,dictionary:g}=e,[b,j]=(0,d.useState)(!1);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("button",{type:"button",onClick:e=&gt;{e.preventDefault(),j(!0)},className:u,children:n}),(0,r.jsx)(i.u,{show:b,as:d.Fragment,children:(0,r.jsxs)(s.V,{open:b,onClose:()=&gt;j(!1),className:"relative z-50",children:[(0,r.jsx)(i.u.Child,{as:d.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,r.jsx)("div",{className:"fixed inset-0 bg-black/20","aria-hidden":"true"})}),(0,r.jsx)(i.u.Child,{className:"fixed inset-0 flex w-screen items-center justify-center p-6",enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:(0,r.jsxs)(s.V.Panel,{className:"relative mx-auto grid w-full max-w-2xl grid-cols-2 bg-white md:grid-cols-10",children:[(0,r.jsx)("button",{className:"absolute right-4 top-4 z-10 text-base underline md:hidden",type:"button",onClick:()=&gt;j(!1),children:(0,r.jsx)(o.b0,{})}),(0,r.jsxs)("div",{className:"col-span-4 border-grey-150 md:border-r",children:[(0,r.jsx)("div",{className:"relative aspect-video overflow-hidden bg-grey-100 md:aspect-portrait",children:(null==l?void 0:null===(t=l.images)||void 0===t?void 0:t[0].src)&amp;&amp;(0,r.jsx)(c.default,{src:l.images[0].src,fill:!0,alt:"",className:"object-contain p-4 mix-blend-multiply"})}),(0,r.jsxs)("div",{className:"relative px-4 pt-4 md:static md:pb-6 md:pt-4.5",children:[(0,r.jsx)(s.V.Title,{className:"mb-5 text-lg font-bold md:hidden",children:g.leaveReview}),a&amp;&amp;p?(0,r.jsx)("button",{type:"button",className:"hover:cursor absolute right-4 top-2 z-10 text-xs text-grey-300 underline hover:no-underline md:right-6 md:top-4",onClick:async()=&gt;{p&amp;&amp;await p()&amp;&amp;j(!1)},children:g.removeReview}):null,(0,r.jsx)("p",{className:"text-xxs uppercase",children:l.brand}),(0,r.jsx)("p",{className:"mt-2",children:l.title})]})]}),(0,r.jsx)(h,{onSubmit:async e=&gt;{m&amp;&amp;await m(e)&amp;&amp;j(!1)},score:v,comment:x,isLoading:f,dictionary:g})]})})]})})]})}},77446:function(e,t,n){"use strict";n.d(t,{F:function(){return s}});var r=n(52336);let l=e=&gt;(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",fill:"currentColor",...e,children:(0,r.jsx)("circle",{cx:"5",cy:"5",r:"5"})});l.displayName="InStockIcon";var i=n(28877);function s(e){let{className:t}=e;return(0,r.jsx)(l,{className:(0,i.cn)("shrink-0 text-[#32D200]",t)})}},94886:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return N}});var r=n(52336),l=n(58902),i=n(37066),s=n(33559),a=n(76142),o=n(88953),c=n(27207),d=n(12411),u=n(28877),m=e=&gt;{let{name:t,imgUrl:n,disabled:l}=e;return(0,r.jsxs)(a.J,{as:d.Fragment,children:[(0,r.jsx)(a.J.Button,{className:(0,u.cn)("action-focus mr-2",l&amp;&amp;"pointer-events-none"),children:(0,r.jsx)(i.Z,{className:"max-w-6",src:n,alt:t,widths:[50],priority:!0})}),(0,r.jsx)(o.u,{className:(0,u.cn)("fixed inset-0 z-10 grid max-h-screen place-items-center overflow-y-auto text-base"),children:(0,r.jsx)(a.J.Panel,{className:"mx-2 flex",onClick:e=&gt;e.preventDefault(),children:e=&gt;{let{close:l}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"fixed inset-0 bg-black/25",onClick:()=&gt;l(),"aria-hidden":!0}),(0,r.jsxs)(o.u.Child,{className:"w-full max-w-[30rem] grow bg-white",enter:"transition duration-100 ease-out",enterFrom:"scale-95 opacity-0",enterTo:"scale-100 opacity-100",leave:"transition duration-75 ease-out",leaveFrom:"scale-100 opacity-100",leaveTo:"scale-95 opacity-0",children:[(0,r.jsxs)("header",{className:"grid grid-cols-[3rem,1fr,3rem] items-center text-center",children:[(0,r.jsx)(s.X6,{className:"col-start-2 text-xs font-normal md:text-sm",children:t}),(0,r.jsx)("button",{type:"button",onClick:()=&gt;l(),className:"ml-auto p-2",children:(0,r.jsx)(c.b0,{className:"text-lg"})})]}),(0,r.jsx)(i.Z,{className:"aspect-square w-full px-2 pb-2",src:n,alt:t,widths:[1e3]})]})]})}})})]})},h=n(6940),p=n(24317),v=n(96600),x=n(2249),f=n(80279),g=n(68185),b=n(14959),j=n(77446);let y=["DeliveryItem","StockItem","OutOfStock","SoldOut","PendingSoldOut"],w=e=&gt;{let{initialVariantState:t,dictionary:n,className:i,breadcrumbs:s}=e,{attributes:a,state:o,optionSortingToUse:d,onChange:w}=(0,g.Z)({initialVariantState:t,breadcrumbs:s,dictionary:n}),{locale:N}=(0,h.AD)().state.market;return a.length?(0,r.jsx)("div",{className:(0,u.cn)("relative flex flex-col gap-4",i),"data-testid":"ProductVariantSelect",children:a.map(e=&gt;{var t;let{key:i,Label:s}=e,a=o.options.get(i);if(!a)return null;let h=[...a].sort(d);return(0,r.jsx)(x.R,{"data-testid":"ProductVariantList",as:"div",className:"relative",disabled:![...a].length,value:null!==(t=o.selection[i])&amp;&amp;void 0!==t?t:null,name:i,onChange:e=&gt;w(i,e,a),children:e=&gt;{var t;let{open:d}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(x.R.Label,{className:"relative mb-2 block text-xs",children:s}),(0,r.jsxs)(x.R.Button,{name:i,className:(0,u.cn)("flex h-10 w-full items-center border border-black py-0 pr-4 text-left text-sm transition ui-disabled:border-grey-150 lg:h-12",!o.selection[i]&amp;&amp;"text-grey-300"),children:[(0,r.jsx)("div",{className:"mr-auto flex items-center self-stretch truncate",children:o.selection[i]?function(e,t){var n,i;let s=null===(i=[...t].find(t=&gt;{let[n]=t;return n===e}))||void 0===i?void 0:null===(n=i[1])||void 0===n?void 0:n[0];return s?(0,r.jsxs)(r.Fragment,{children:[s.swatch&amp;&amp;(0,r.jsx)(l.default,{className:"w-10 lg:w-12",src:s.swatch,alt:s.label,width:48,height:48}),(0,r.jsx)("span",{className:"ml-4 font-medium",children:s.label})]}):e}(o.selection[i],a):(0,r.jsx)("span",{className:"ml-4",children:null==n?void 0:null===(t=n.chooseAttribute)||void 0===t?void 0:t.replace("%",s.toLowerCase())})}),d?(0,r.jsx)(c.Hf,{className:"text-base text-black"}):(0,r.jsx)(c.ve,{className:"text-base text-black"})]}),(0,r.jsx)(x.R.Options,{className:"absolute left-0 right-0 z-50 max-h-96 overflow-y-auto overflow-x-hidden border border-t-0 border-black bg-body hr-y",children:h.map(e=&gt;{let[t,l]=e,i=(0,b.$W)(l),s=!!(0,b.Kd)(l),a=(0,b.eD)(l,n);return(0,r.jsxs)(x.R.Option,{value:t,disabled:!l.some(e=&gt;y.includes(e.stockStatus)),className:"flex h-12 cursor-pointer items-center px-3 py-2.5 text-xs ui-active:bg-grey-100 ui-disabled:pointer-events-none ui-disabled:text-black/40 md:text-base",children:[l[0].swatch&amp;&amp;(0,r.jsx)(m,{disabled:!f.y.products.swatches,name:l[0].code,imgUrl:l[0].swatch}),(0,r.jsx)("span",{className:"mr-auto truncate text-sm",children:l[0].label}),(0,r.jsx)("span",{className:"ml-6 flex-1 whitespace-nowrap text-right text-xxs uppercase space-y-1",children:(0,r.jsxs)("span",{className:"ml-auto flex items-center justify-end gap-x-1",children:[(i||s)&amp;&amp;(0,r.jsx)(j.F,{}),a]})}),(0,r.jsx)("div",{className:"ml-6 flex-shrink-0 text-right text-sm space-y-px",children:function(e){var t;let{variantAttributes:n,dictionary:l,locale:i}=e;if(!(null==n?void 0:n.length))return"-";let s=n.map(e=&gt;{let t=(0,p.D)(e.id);return{price:null!=t?t:e.price.price,originalPrice:e.price.originalPrice,priceType:e.price.priceType}}).sort((e,t)=&gt;e.price-t.price),a=s.at(0),o=s.at(-1);return a&amp;&amp;o?(0,r.jsxs)("div",{className:"flex flex-col-reverse",children:[(0,r.jsxs)("span",{children:[a.price&lt;o.price&amp;&amp;(0,r.jsxs)(r.Fragment,{children:[null==l?void 0:l.fromShortened,"\xa0"]}),(0,r.jsx)("span",{className:"font-medium",children:(0,v.T)(a.price,i)})]}),"campaign"===a.priceType&amp;&amp;(0,r.jsx)("span",{className:"ml-2 text-xs text-grey-300 line-through",children:(0,v.T)(null!==(t=a.originalPrice)&amp;&amp;void 0!==t?t:0,i)})]}):"-"}({variantAttributes:l,locale:N,dictionary:n})})]},t)})})]})}},i)})}):null};w.displayName="VariantSelector";var N=w},8169:function(e,t,n){"use strict";n.d(t,{n:function(){return a}});var r=n(52336),l=n(12411),i=n(28877);let s=(0,l.forwardRef)((e,t)=&gt;{let{className:n,src:s,autoPlay:a=!0,...o}=e,[c,d]=(0,l.useState)(!1),u=(0,l.useRef)(null);return((0,l.useImperativeHandle)(t,()=&gt;u.current),(0,l.useEffect)(()=&gt;{if(u.current&amp;&amp;a){let e=u.current.play();void 0!==e&amp;&amp;e.catch(e=&gt;{"NotAllowedError"===e.name&amp;&amp;d(!0)})}},[a]),c)?null:(0,r.jsx)("video",{ref:u,className:(0,i.cn)("h-full w-full object-cover",n),src:s,autoPlay:a,playsInline:!0,loop:!0,muted:!0,...o})});s.displayName="Video";var a=s},7749:function(e,t,n){"use strict";n.r(t),n.d(t,{FooterBannerContent:function(){return d}});var r=n(52336),l=n(92099),i=n(45707),s=n(72340),a=n(38437),o=n(33559),c=n(28877);let d=e=&gt;{let{className:t,footerBanner:n,market:d,locale:u}=e;if(!n)return null;let{title:m,paragraph:h,link:p,linkText:v,desktopImage:x,mobileImage:f}=n,g=null==p?void 0:p.slug;return(0,r.jsxs)("section",{className:(0,c.cn)("flex grid-cols-2 flex-row items-stretch bg-black text-white max-md:flex-col md:grid xl:max-h-120",t),children:[(0,r.jsxs)("div",{className:"flex flex-col place-content-center gap-6 px-4 py-8 max-md:text-sm md:w-fit md:place-self-center md:px-8 md:py-12 lg:gap-8",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-3",children:[m&amp;&amp;(0,r.jsx)(o.X6,{as:"h3",size:5,children:m}),h&amp;&amp;(0,r.jsx)(l.LazyRichText,{content:h,locale:u,market:d,className:"text-white max-lg:text-sm [&amp;&gt;*&gt;a]:text-white"})]}),g&amp;&amp;v&amp;&amp;(0,r.jsx)(i.Z,{type:"button",as:a.Z,locale:u,href:g,className:"btn-outlined h-12 min-w-60 border-white px-4 text-white hover:bg-white hover:text-black max-md:w-full md:mr-auto",children:v})]}),(0,r.jsx)(s.b,{mobileImage:f,desktopImage:x,className:"relative aspect-[13/8] h-full w-full object-cover max-md:-order-1 md:aspect-square lg:aspect-[9/4] xl:max-h-120",sizes:"(max-width: 768px) 100vw, 50vw",loading:"lazy"})]})}},37779:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return _}});var r=n(52336),l=n(76259),i=n(14044),s=n(27207),a=n(80225),o=n(90519),c=n(63111),d=n(12411),u=n(28877),m=n(68555),h=n(84838),p=n(38080),v=n(69150),x=n(93695),f=n(87294),g=n(45774),b=n(50696);let j=e=&gt;{let{id:t}=e;return(0,r.jsx)(v.Z,{code:t,className:"h-full w-full rounded-full object-cover"})},y=Object.values(b.Ah).filter(e=&gt;"eu"!==e.code).map(e=&gt;({id:e.code,value:e.code,label:e.label}));function w(e){let{dictionary:t,className:n,reference:l}=e,[i,s]=(0,f.cI)(l),a=e=&gt;null==i?void 0:i.errors.some(t=&gt;t.field===e);return i.succeeded?(0,r.jsxs)("div",{className:n,children:[(0,r.jsx)("h2",{className:"text-lg font-bold",children:t.placeOrderFormSuccessHeading||t.formSuccessHeading}),(0,r.jsx)("p",{className:"mt-4 text-sm",children:t.placeOrderFormSuccessText||t.formSuccessText})]}):(0,r.jsxs)("form",{onSubmit:s,className:(0,u.cn)("flex flex-col gap-y-6",n),children:[(0,r.jsxs)("h2",{className:"w-full text-lg font-medium",children:[t.placeOrderFormHeadingPartOne,(0,r.jsx)("br",{}),t.placeOrderFormHeadingPartTwo]}),(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsx)(x.II,{id:"name",name:"name",type:"text",required:!0,fullWidth:!0,label:t.placeOrderFormNameLabel||t.name,classNames:{input:a("name")?"border border-error":""}}),(0,r.jsx)(f.p8,{className:"mt-2 text-sm",field:"name",errors:i.errors}),(0,r.jsx)(x.Ph,{classNames:{button:"h-10 lg:h-10"},name:"shippingCountry",placeholder:t.placeOrderFormSelectShippingCountryPlaceholder||t.selectCountry,options:y,required:!0,labelIcon:j,optionIcon:j,children:(0,r.jsx)(f.p8,{className:"mt-2 text-sm",field:"shippingCountry",errors:i.errors})}),(0,r.jsx)(x.II,{id:"email",name:"email",type:"email",required:!0,fullWidth:!0,label:t.placeOrderFormEmailLabel||t.email,classNames:{input:a("email")?"border border-error":""}}),(0,r.jsx)(f.p8,{className:"mt-2 text-sm",field:"email",errors:i.errors}),(0,r.jsx)(x.gx,{name:"message",id:"message",label:t.placeOrderFormMessageLabel||t.message,fullWidth:!0,resizable:"none",classNames:{textarea:a("message")?"border border-error":""}}),(0,r.jsx)(f.p8,{className:"mt-2 text-sm",field:"message",errors:i.errors})]}),(0,r.jsx)(g.zx,{type:"submit",isLoading:i.submitting,fullWidth:!0,className:"btn-primary",children:t.placeOrderFormSubmitButtonLabel||t.send}),(0,r.jsx)("input",{type:"text",name:"_gotcha",className:"hidden"})]})}function N(e){var t;let{form:n}=e,l=(0,m.Xk)(null==n?void 0:null===(t=n.dictionaryCollection)||void 0===t?void 0:t.items);return(0,r.jsx)(w,{dictionary:l,className:"mx-auto w-full max-w-[420px] bg-white px-4 py-10 pt-12 sm:min-w-[420px] md:px-6",reference:null==n?void 0:n.reference})}let k=e=&gt;{let{form:t}=e;if(!t)return null;let{reference:n,name:i}=t;if(!i)return null;let s=(0,m.ZT)(i);return"match_price_form"===s&amp;&amp;n?(0,r.jsx)(l.MatchPricePopup,{form:t}):"newsletter_form"===s?(0,r.jsx)(p.NewCustomerPopup,{form:t}):"place_order_form_pdp"===s&amp;&amp;n?(0,r.jsx)(N,{form:t}):"book_meeting_form"===s?(0,r.jsx)(h.BookMeetingPopup,{form:t}):null};function _(e){let{buttonContent:t,form:n,className:l,classNameButton:m}=e,h=(0,c.usePathname)(),[p,v]=(0,d.useState)(!1);(0,d.useEffect)(()=&gt;{v(!1)},[h]);let x=(null==n?void 0:n.name)==="Newsletter Form";return k?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:l,children:(0,r.jsx)("button",{type:"button",className:(0,u.cn)("inline-block underline underline-offset-2",m),onClick:()=&gt;v(!0),children:t})}),(0,r.jsx)(a.M,{children:p&amp;&amp;(0,r.jsxs)(i.V,{static:!0,open:p,onClose:()=&gt;v(!1),className:"relative z-40",children:[(0,r.jsx)(o.E.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.15,ease:"linear"},className:"fixed inset-0 bg-black/70"}),(0,r.jsx)(o.E.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.2,ease:"easeOut"},className:"fixed inset-0 w-screen overflow-y-auto",children:(0,r.jsx)("div",{className:"flex min-h-full items-center justify-center p-4",children:(0,r.jsxs)(i.V.Panel,{className:"relative",children:[(0,r.jsx)("button",{type:"button",onClick:()=&gt;v(!1),className:(0,u.cn)(["absolute right-0 top-0 p-4",x&amp;&amp;"text-white"]),children:(0,r.jsx)(s.b0,{className:"text-base"})}),(0,r.jsx)(k,{form:n})]})})})]})})]}):null}},73419:function(e,t,n){"use strict";n.r(t),n.d(t,{ReviewScore:function(){return d},default:function(){return h}});var r=n(52336),l=n(86525),i=n(45774),s=n(27207),a=n(12411),o=n(28877),c=n(20408);function d(e){let{score:t,count:n,isSmall:l}=e;return t?(0,r.jsxs)("div",{className:"flex cursor-pointer items-center",onClick:()=&gt;(function(e,t){var n;let r=null===(n=document)||void 0===n?void 0:n.getElementById(e);if(!r)return;let l=r.getBoundingClientRect();window.scrollBy({top:l.top+-105,behavior:"smooth"})})("product-reviews",0),children:[(0,r.jsx)("div",{className:(0,o.cn)("mr-1 flex text-xl",l&amp;&amp;"text-lg"),children:[void 0,void 0,void 0,void 0,void 0].map((e,n)=&gt;(0,r.jsx)(s.r7,{filled:n&lt;(t||0)},n))}),n?(0,r.jsxs)("p",{className:"text-sm",children:["(",n,")"]}):null]}):null}async function u(e){var t,n,i,s,a,o,u,m;let{reviews:h,dictionary:p,className:v,productId:x,title:f,marketConfig:g}=e,b=(null==h?void 0:null===(t=h.summary)||void 0===t?void 0:t.your_review_count)?"".concat(f," (").concat(null==h?void 0:null===(n=h.summary)||void 0===n?void 0:n.your_review_count,")"):f;return(0,r.jsx)(l.default,{title:b,transitionProps:{appear:!1},classNames:{wrapper:v,panel:"rounded-none mt-0 space-y-5"},children:(0,r.jsxs)("div",{children:[(null==h?void 0:null===(i=h.summary)||void 0===i?void 0:i.your_avg_score)?(0,r.jsxs)("div",{className:"flex items-center border-b border-grey-150 pb-4 text-base",children:[(0,r.jsx)(d,{score:null==h?void 0:null===(s=h.summary)||void 0===s?void 0:s.your_avg_score}),(0,r.jsxs)("p",{children:[null==h?void 0:null===(a=h.summary)||void 0===a?void 0:a.your_avg_score," ",null==p?void 0:null===(o=p.basedOn)||void 0===o?void 0:o.toLowerCase()," ",null==h?void 0:null===(u=h.summary)||void 0===u?void 0:u.your_review_count," ",null==p?void 0:null===(m=p.reviews)||void 0===m?void 0:m.toLowerCase()]})]}):null,(0,r.jsx)(c.Z,{marketConfig:g,initialReviews:h,dictionary:p,productId:x})]})})}function m(e){let{className:t,title:n}=e;return(0,r.jsx)(l.default,{title:n,transitionProps:{appear:!1},classNames:{wrapper:t,panel:"rounded-none mt-0 space-y-5"},children:(0,r.jsx)(i.aN,{})})}function h(e){return(0,r.jsx)(a.Suspense,{fallback:(0,r.jsx)(m,{...e}),children:(0,r.jsx)(u,{...e})})}},20408:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(52336),l=n(78511),i=n(24791),s=n(45774),a=n(27207),o=n(12411),c=n(22597);let d=(0,o.cache)(async e=&gt;{let t,{productId:n,variantId:r,comment:l,score:i="1",market:s}=e,a=null;"se"===s&amp;&amp;(t=c._.NEXT_PUBLIC_SE_TESTFREAKS_CLIENT_ID),"no"===s&amp;&amp;(t=c._.NEXT_PUBLIC_NO_TESTFREAKS_CLIENT_ID),"dk"===s&amp;&amp;(t=c._.NEXT_PUBLIC_DK_TESTFREAKS_CLIENT_ID),"fi"===s&amp;&amp;(t=c._.NEXT_PUBLIC_FI_TESTFREAKS_CLIENT_ID),"de"===s&amp;&amp;(t=c._.NEXT_PUBLIC_EU_TESTFREAKS_CLIENT_ID),"be"===s&amp;&amp;(t=c._.NEXT_PUBLIC_EU_TESTFREAKS_CLIENT_ID),"nl"===s&amp;&amp;(t=c._.NEXT_PUBLIC_EU_TESTFREAKS_CLIENT_ID),"at"===s&amp;&amp;(t=c._.NEXT_PUBLIC_EU_TESTFREAKS_CLIENT_ID),"fr"===s&amp;&amp;(t=c._.NEXT_PUBLIC_EU_TESTFREAKS_CLIENT_ID),"es"===s&amp;&amp;(t=c._.NEXT_PUBLIC_EU_TESTFREAKS_CLIENT_ID);try{let e=await fetch("/api/reviews",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({client_id:t,api_key:"sk_prod_3850a31eece020dd38d209c93ede62a9a98714c148e6c301",...!r&amp;&amp;{product_id:n},...r&amp;&amp;{product_id:r,product_site_id:n},score:i,content:l,market:s})});e.ok&amp;&amp;(a=await e.json())}catch(e){console.error(e,"failed submit product reviews")}return a});n(91597),n(83602);var u=n(50696);let m=(e,t)=&gt;new Date(t.date).getTime()-new Date(e.date).getTime(),h=(e,t)=&gt;{var n,r;let l=(null===(n=e.extract)||void 0===n?void 0:n.length)?1:0;return((null===(r=t.extract)||void 0===r?void 0:r.length)?1:0)-l},p=(e,t)=&gt;t.score-e.score,v=(e,t)=&gt;t.votes_up-e.votes_up,x=e=&gt;{e.sort((e,t)=&gt;p(e,t)||h(e,t)||v(e,t)||m(e,t))};(0,o.cache)(async e=&gt;{let{productId:t,market:n}=e,r=(0,u.sY)(n).testfreaksClientId;try{if(!r)throw Error("Missing testfreaks ID");let e=await fetch("https://js.testfreaks.com/onpage/".concat(r,"/reviews.json?url_key=").concat(t,"&amp;limit=",100,"&amp;sort=date:asc"));if(!e.ok){let t=await e.text();throw Error(t)}let n=await e.json();if(null==n?void 0:n.your_review_url){let e=await fetch(n.your_review_url);if(!e.ok)return{summary:n};let t=await e.json();return x(t.reviews),{summary:n,your_review_answers:t}}return{summary:n}}catch(e){console.error(e,"Unable to fetch product reviews");return}});var f=n(50015),g=n(63577),b=n(63111);let j=e=&gt;Object.fromEntries(new FormData(e.currentTarget));function y(e){let{review:t,dictionary:n}=e,l=(0,o.useRef)(),{data:i}=(0,f.a)({queryKey:["auth"]}),[s,c]=(0,o.useState)(t.votes_up-t.votes_down),d=(0,g.D)({mutationFn:()=&gt;{var e;return fetch("".concat(t.feedback_url,"?&amp;type=up&amp;voter_id=").concat(null==i?void 0:null===(e=i.user)||void 0===e?void 0:e.uid),{method:"POST"})},onMutate:()=&gt;c(s+1),onError:()=&gt;c(t.votes_up-t.votes_down)});return(0,r.jsxs)("div",{className:"border-b border-grey-150 py-4 text-sm last-of-type:border-none",children:[(0,r.jsxs)("div",{className:"flex gap-3",children:[(0,r.jsx)("p",{className:"font-medium",children:t.author}),(0,r.jsx)("span",{children:"|"}),(0,r.jsx)("p",{children:t.date})]}),(0,r.jsx)("div",{className:"mt-2 flex text-base",children:[void 0,void 0,void 0,void 0,void 0].map((e,n)=&gt;(0,r.jsx)(a.r7,{filled:n&lt;t.score},n))}),(0,r.jsx)("div",{className:"my-4",children:(0,r.jsx)("p",{children:t.extract})}),(0,r.jsxs)("button",{type:"button",disabled:!(null==i?void 0:i.user),className:"mt-2 text-xs text-grey-300 underline disabled:no-underline",onClick:async()=&gt;{await new Promise(e=&gt;{l.current?clearTimeout(l.current):d.mutate(),l.current=setTimeout(e,500)}).then(()=&gt;{l.current=void 0})},children:[null==n?void 0:n.likeReview," (",s,")"]})]})}function w(e){var t;let{initialReviews:n,dictionary:a,productId:c,marketConfig:u}=e,{data:m}=(0,f.a)({queryKey:["auth"]}),h=(0,b.useSearchParams)(),[p,v]=(0,o.useState)(""),{showLogin:g}=(0,i.useAuth)(),[w,N]=(0,o.useState)(5),[k,_]=(0,o.useState)((null==n?void 0:null===(t=n.your_review_answers)||void 0===t?void 0:t.reviews)||[]);(0,o.useEffect)(()=&gt;{v(h.get("variant")||"")},[h]);let[S,C]=(0,o.useState)(!1),[I,P]=(0,o.useState)(!1),L=w&gt;=k.length,T=async()=&gt;{N(w+5)},E=async e=&gt;{var t,n,r,l;e.preventDefault(),C(!0);let i=j(e),s=await d({productId:c,variantId:p,market:u.code,...i});if(!(null==s?void 0:s.error)&amp;&amp;(null==s?void 0:null===(r=s.data)||void 0===r?void 0:null===(n=r.your_review_answers)||void 0===n?void 0:null===(t=n.reviews)||void 0===t?void 0:t.length)){let e=null==s?void 0:null===(l=s.data.your_review_answers)||void 0===l?void 0:l.reviews;x(e),_(e)}P(!1),C(!1)};return(0,r.jsxs)(r.Fragment,{children:[I?(0,r.jsx)("div",{className:"border-b border-grey-150 py-8",children:(0,r.jsx)(l.ReviewProductForm,{onSubmit:E,dictionary:a,classNames:{wrapper:"md:p-0"},onClose:()=&gt;P(!1),isLoading:S})}):null,(0,r.jsx)("div",{className:"flex items-center justify-between pb-3",children:I?null:(0,r.jsx)(s.zx,{type:"button",className:"btn-primary",onClick:()=&gt;{if(!(null==m?void 0:m.user)){g(!1);return}P(!I)},children:(0,r.jsx)("p",{className:"text-sm",children:null==a?void 0:a.leaveAReview})})}),(null==k?void 0:k.length)?(0,r.jsxs)("div",{children:[null==k?void 0:k.slice(0,w).map(e=&gt;(0,r.jsx)(y,{review:e,dictionary:a},e.author+e.date)),L?null:(0,r.jsx)(s.zx,{fullWidth:!0,isLoading:S,disabled:L,type:"button",className:"btn-outlined",onClick:()=&gt;T(),children:null==a?void 0:a.showMoreReviews})]}):(0,r.jsx)("p",{className:"text-sm",children:null==a?void 0:a.noReviews})]})}},81811:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return _}});var r=n(52336),l=n(37066),i=n(45774),s=n(27207),a=n(12411),o=n(80279),c=n(28877),d=n(9659),u=n(88953),m=n(14044),h=n(58902);let p=e=&gt;{let{isVisible:t,onClick:n,className:l}=e;return(0,r.jsx)("button",{type:"button",onClick:n,tabIndex:t?0:-1,className:(0,c.cn)("absolute left-3 top-1/2 z-10 flex h-8 w-8 -translate-y-1/2 items-center justify-center bg-grey-100 text-black transition-opacity duration-300 max-md:hidden",t?"action-focus hover:bg-white":"cursor-default opacity-0",l),children:(0,r.jsx)(s.Y4,{className:"text-xl"})})},v=e=&gt;{let{isVisible:t,onClick:n,className:l,initialFocus:i}=e;return(0,r.jsx)("button",{ref:i,type:"button",onClick:n,tabIndex:t?0:-1,className:(0,c.cn)("absolute right-3 top-1/2 z-10 flex h-8 w-8 -translate-y-1/2 items-center justify-center bg-grey-100 text-black transition-opacity duration-300 max-md:hidden",t?" action-focus hover:bg-white":"cursor-default opacity-0",l),children:(0,r.jsx)(s.LZ,{className:"text-xl"})})};var x=n(8169);let f=e=&gt;(0,r.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{d:"M 6 6 L 18 12 L 6 18 Z",fill:"currentColor"})});f.displayName="PlayIcon";let g=(e,t)=&gt;{let{bottom:n,top:r,left:l,right:i}=(null==e?void 0:e.getBoundingClientRect())||{},s=(null==t?void 0:t.getBoundingClientRect())||{};return l&gt;=s.left&amp;&amp;i&lt;=s.right&amp;&amp;r&gt;=s.top&amp;&amp;n&lt;=s.bottom};function b(e){let{goToItem:t,activeIndex:n,images:i,className:s}=e,d=(0,a.useRef)(null);return(0,a.useEffect)(()=&gt;{var e,t;if(!d.current)return;let r=null===(e=d.current)||void 0===e?void 0:e.children[n];g(r,d.current)||null==d||null===(t=d.current)||void 0===t||t.scrollTo({top:null==r?void 0:r.offsetTop,left:null==r?void 0:r.offsetLeft,behavior:"smooth"})},[n]),(0,r.jsx)("div",{ref:d,className:(0,c.cn)("flex gap-2 scrollbar-none",s),children:i.map((e,i)=&gt;(null==e?void 0:e.src)?(0,r.jsxs)("div",{className:(0,c.cn)("relative h-12 w-12 flex-shrink-0",i===n&amp;&amp;"ring-1 ring-inset ring-black"),role:"button",tabIndex:0,onClick:()=&gt;t(i,!1),children:["image"===e.type&amp;&amp;(0,r.jsx)(l.Z,{src:e.src,alt:e.alt,widths:[96],className:(0,c.cn)("h-full w-full object-cover mix-blend-multiply")}),"video"===e.type&amp;&amp;o.y.products.videos&amp;&amp;(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(f,{className:"absolute left-1/2 top-1/2 h-em -translate-x-1/2 -translate-y-1/2 rounded-full bg-black/30 text-xl text-white"}),(0,r.jsx)(x.n,{src:e.src,autoPlay:!1})]})]},"".concat(e.id,"-").concat(String(i))):null)})}let j=e=&gt;(0,r.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{d:"M 6 6 L 10 6 L 10 18 L 6 18 Z M 18 6 L 18 18 L 14 18 L 14 6 Z",fill:"currentColor"})});function y(e){let{videoRef:t}=e,[n,l]=(0,a.useState)("0"),i=(0,a.useCallback)(e=&gt;{if(l(e.currentTarget.value),e.preventDefault(),null==t?void 0:t.current){let n=parseInt(e.currentTarget.value,10),r=t.current.duration*(n/100);t.current.currentTime=r}},[t]);return(0,a.useEffect)(()=&gt;{let e=t.current;if(e){let t=e=&gt;{var t,n;l(((null===(t=e.target)||void 0===t?void 0:t.currentTime)/(null===(n=e.target)||void 0===n?void 0:n.duration)*100).toFixed(2))};return e.addEventListener("timeupdate",t),()=&gt;e.removeEventListener("timeupdate",t)}},[t]),(0,r.jsx)("div",{className:"flex bg-black/30 p-1 leading-0",children:(0,r.jsx)("input",{min:0,max:100,type:"range",step:.1,value:n,onChange:i,className:"progress h-1 w-full accent-primary"})})}j.displayName="PauseIcon";let w=(0,a.forwardRef)((e,t)=&gt;{let{className:n,src:l,controls:i,...s}=e,[o,d]=(0,a.useState)(!1),u=(0,a.useRef)(null);return(0,a.useImperativeHandle)(t,()=&gt;u.current),(0,a.useEffect)(()=&gt;{let e=u.current;if(e)return e.addEventListener("play",()=&gt;d(!0)),e.addEventListener("pause",()=&gt;d(!1)),()=&gt;{e.removeEventListener("play",()=&gt;d(!0)),e.removeEventListener("pause",()=&gt;d(!1))}},[]),(0,r.jsxs)("figure",{className:"group relative my-auto w-full pt-full",onClick:()=&gt;{u.current&amp;&amp;(u.current.paused?u.current.play():u.current.pause())},"data-playstate":o?"playing":"paused",children:[(0,r.jsx)("video",{ref:u,controls:!1,muted:!0,loop:!0,autoPlay:!1,playsInline:!0,className:(0,c.cn)("absolute left-0 top-1/2 my-auto max-h-full w-full -translate-y-1/2 cursor-pointer object-contain",n),...s,children:(0,r.jsx)("source",{src:l,type:"video/mp4"})}),(0,r.jsxs)("div",{className:(0,c.cn)("absolute cursor-pointer p-2 opacity-0 transition-opacity group-hover:opacity-100 group-data-[playstate=paused]:opacity-100",i?"bottom-0 grid w-full grid-cols-[auto,1fr] items-center gap-2 text-xl":" left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 text-2xl"),id:"video-controls",children:[(0,r.jsx)("button",{className:"relative bg-black/30 p-1 text-white",type:"button","data-state":o?"play":"pause",children:o?(0,r.jsx)(j,{className:"h-em"}):(0,r.jsx)(f,{className:"h-em"})}),i&amp;&amp;(0,r.jsx)(y,{videoRef:u})]})]})});function N(e){let{open:t,active:n,onClose:l,images:c,goToCarouselItem:d}=e,x=(0,a.useRef)(null),f=(0,a.useRef)(null),[g,j]=(0,a.useState)(n),y=(0,a.useRef)(new IntersectionObserver(e=&gt;{let[t]=e,n=t.target;t.intersectionRatio&gt;.5&amp;&amp;j(Number(n.dataset.index))},{root:null==x?void 0:x.current,rootMargin:"0px",threshold:[.5]})),N=()=&gt;{x.current&amp;&amp;Array.from(x.current.children).forEach(e=&gt;{var t;null===(t=y.current)||void 0===t||t.observe(e)})},k=(0,a.useCallback)(()=&gt;!x.current||g&lt;x.current.children.length-1,[x,g]),_=(0,a.useCallback)(function(e){var t,n;let r=!(arguments.length&gt;1)||void 0===arguments[1]||arguments[1];if(e&lt;0||x.current&amp;&amp;e===x.current.children.length)return;let l=null===(t=x.current)||void 0===t?void 0:t.children[e];null==x||null===(n=x.current)||void 0===n||n.scrollTo({left:null==l?void 0:l.offsetLeft,behavior:r?"smooth":"auto"}),j(e)},[x,j]);return(0,a.useEffect)(()=&gt;{let e=e=&gt;{"ArrowLeft"===e.key&amp;&amp;(e.preventDefault(),_(g-1,!1)),"ArrowRight"===e.key&amp;&amp;(e.preventDefault(),_(g+1,!1))};return window.addEventListener("keydown",e),()=&gt;window.removeEventListener("keydown",e)},[g,_]),(0,r.jsx)(u.u,{show:t,beforeEnter:()=&gt;_(n,!1),afterEnter:()=&gt;N(),beforeLeave:()=&gt;d(g,!1),afterLeave:()=&gt;{var e;return null===(e=y.current)||void 0===e?void 0:e.disconnect()},children:(0,r.jsx)(m.V,{initialFocus:f,onClose:l,className:"fixed inset-0 z-50 bg-grey-100",children:(0,r.jsxs)(m.V.Panel,{className:"mx-auto grid max-w-screen-2xl grid-cols-1 md:block md:h-full",children:[(0,r.jsx)("div",{className:"absolute right-4 top-4 z-20 flex justify-end md:top-6",children:(0,r.jsx)("button",{type:"button",onClick:l,className:"action-focus grid h-6 w-6 place-content-center",children:(0,r.jsx)(s.b0,{className:"text-base md:text-xl"})})}),(0,r.jsx)(i.lr,{ref:x,PreviousButton:()=&gt;p({isVisible:g&gt;0,onClick:e=&gt;{_(g-1,!1),g-1&lt;=0&amp;&amp;e.currentTarget.blur()},className:"mt-8 md:mt-0"}),NextButton:()=&gt;v({initialFocus:f,isVisible:k(),onClick:e=&gt;{_(g+1,!1),(null==x?void 0:x.current)&amp;&amp;g+1&gt;=x.current.children.length-1&amp;&amp;e.currentTarget.blur()},className:"mt-8 md:mt-0"}),classNames:{wrapper:"[--gap:1rem] pb-0 pt-16 md:px-24 md:pb-16 md:h-full",slider:"scrollbar-none md:h-full",item:"flex items-center"},children:c.map(e=&gt;{var t;return(0,r.jsxs)(a.Fragment,{children:["image"===e.type&amp;&amp;(0,r.jsx)(h.default,{src:null!==(t=e.thumbnail)&amp;&amp;void 0!==t?t:e.src,alt:e.alt,width:1500,height:1500,className:"mx-auto max-h-full max-w-full object-contain mix-blend-multiply"}),"video"===e.type&amp;&amp;o.y.products.videos&amp;&amp;(0,r.jsx)(w,{src:e.src})]},e.id)})}),(0,r.jsx)(b,{activeIndex:g,goToItem:_,images:c,className:"z-10 order-2 mt-4 flex max-w-full flex-shrink-0 overflow-auto px-4 md:absolute md:left-4 md:top-6 md:order-none md:mt-0 md:max-h-2/5 md:flex-col md:px-0"})]})})})}w.displayName="Video";let k=(e,t)=&gt;{let n=e.target;e.intersectionRatio&gt;.5&amp;&amp;t(Number(n.dataset.index))};function _(e){let{variant:t,product:n,dictionary:u,productImages:m,className:h,brand:x,designer:f,campaignBadges:g}=e,j=(0,a.useRef)(null),[y,_]=(0,a.useState)(0),[S,C]=(0,a.useState)(!1);(0,a.useEffect)(()=&gt;{if(!j.current)return;let e=new IntersectionObserver(e=&gt;{let[t]=e;return k(t,_)},{root:j.current,rootMargin:"0px",threshold:[.1,.5,.9]});return Array.from(j.current.children).forEach(t=&gt;{e.observe(t)}),()=&gt;e.disconnect()},[j]);let I=(0,a.useCallback)(()=&gt;!j.current||y&lt;j.current.children.length-1,[j,y]),P=(0,a.useCallback)(function(e){var t,n;let r=!(arguments.length&gt;1)||void 0===arguments[1]||arguments[1];if(e&lt;0||j.current&amp;&amp;e===j.current.children.length)return;let l=null===(t=j.current)||void 0===t?void 0:t.children[e];null==j||null===(n=j.current)||void 0===n||n.scrollTo({left:null==l?void 0:l.offsetLeft,behavior:r?"smooth":"auto"}),_(e)},[j,_]);return(0,a.useEffect)(()=&gt;{t&amp;&amp;P(0,!1)},[t]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(N,{open:S,active:y,onClose:()=&gt;C(!1),images:m,goToCarouselItem:P}),(0,r.jsxs)("div",{className:(0,c.cn)("items-start overflow-hidden md:relative md:flex md:flex-col lg:flex-row",h),children:[g,(0,r.jsx)(s.W1,{className:"pointer-events-none absolute right-[8%] top-3 z-10 h-5 w-5 text-black hover:cursor-zoom-in lg:right-4 lg:top-4 lg:h-6 lg:w-6"}),(0,r.jsx)(b,{activeIndex:y,goToItem:P,images:m,className:"z-20 hidden max-h-full max-w-full flex-shrink-0 bg-white/80 p-2 backdrop-blur-md max-lg:mt-1 md:left-0 md:top-0 md:flex md:overflow-auto lg:flex-col"}),(0,r.jsx)(i.lr,{ref:j,PreviousButton:()=&gt;p({isVisible:y&gt;0,onClick:e=&gt;{P(y-1,!1),y-1&lt;=0&amp;&amp;e.currentTarget.blur()}}),NextButton:()=&gt;v({isVisible:I(),onClick:e=&gt;{P(y+1,!1),(null==j?void 0:j.current)&amp;&amp;y+1&gt;=j.current.children.length-1&amp;&amp;e.currentTarget.blur()}}),classNames:{wrapper:"[--gap:0px] max-lg:[--slides-per-view:1.05] md:-order-1 lg:-order-none w-full",slider:"scrollbar-none h-full",item:"bg-grey-100 aspect-square"},children:null==m?void 0:m.map((e,i)=&gt;{var s,a,c;return(0,r.jsxs)("div",{className:"relative flex h-full justify-center",children:["image"===e.type&amp;&amp;(0,r.jsx)(l.Z,{src:null!==(s=e.thumbnail)&amp;&amp;void 0!==s?s:e.src,alt:[null!==(a=null==t?void 0:t.title)&amp;&amp;void 0!==a?a:null==n?void 0:n.title,x,f,null!==(c=u.titleSiteName)&amp;&amp;void 0!==c?c:d.sG].filter(Boolean).join(" - "),width:1e3,height:1e3,className:"h-full w-full cursor-zoom-in object-cover mix-blend-multiply",onClick:()=&gt;{C(!0),_(i)},sizes:"(max-width: 768px) 100vw, (max-width: 1920px) 40vw, 64em",widths:[640,960,1280,1920],priority:!0}),"video"===e.type&amp;&amp;o.y.products.videos&amp;&amp;(0,r.jsx)(w,{src:e.src}),0===i?(0,r.jsx)("p",{className:"absolute left-2 top-2 mr-2 hidden max-w-full bg-white px-2 py-1 text-xxs text-grey-300 md:bottom-3 md:left-3 md:top-auto md:mr-3 md:block md:px-3 md:text-xs",children:u.imageDisclaimerText}):null]},e.id)})})]})]})}},41700:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var r=n(63111),l=n(12411),i=n(41105);function s(e){let t=(0,r.useRouter)(),{product:n,variant:s,currency:a}=e;return(0,l.useEffect)(()=&gt;{(0,i.Jx)(s,n,a)},[n,s,a]),(0,l.useEffect)(()=&gt;{let e=new URL(window.location.href);e.searchParams.delete("pv2"),t.replace(e.toString(),void 0)},[t]),null}},73735:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return j}});var r=n(52336),l=n(77446),i=n(38437),s=n(965),a=n(45774),o=n(38035),c=n(58902),d=n(12411),u=n(50696),m=n(28877),h=n(96600),p=n(97421),v=n(40861);let x=(e,t)=&gt;"DeliveryItem"===e&amp;&amp;!(0,v.O)(e,t),f=(e,t)=&gt;(0,p.r)(e)||(0,v.O)(e,t)||x(e,t);var g=n(39266);function b(e){var t,n,p;let{item:v,locale:x,dictionary:g}=e,{cart:b}=(0,s.KO)(),{addItem:j}=(0,s.gV)(),[y,w]=(0,d.useState)("idle"),N=(0,d.useMemo)(()=&gt;null==b?void 0:b.items.some(e=&gt;e.partNo===v.id),[b,v]),k=async e=&gt;{e.preventDefault(),N||"added"===y||(w("loading"),await j([{item:v,quantity:1}]),w("added"))},_=f(v.stockStatus,v.nextDeliveryDate),{contentfulLocale:S}=(0,u.I6)(x),C=(0,o.Xg)({locale:S,dictionary:g,stockStatus:v.stockStatus,deliveryUnit:v.deliveryUnit,nextDeliveryDate:v.nextDeliveryDate,deliveryMin:null===(t=v.deliveryMin)||void 0===t?void 0:t.toString(),deliveryMax:null===(n=v.deliveryMax)||void 0===n?void 0:n.toString()});return(0,r.jsx)("li",{className:"relative",children:(0,r.jsxs)(i.Z,{href:null!==(p=v.ProductURL)&amp;&amp;void 0!==p?p:"",locale:x,className:"flex",children:[v.image&amp;&amp;(0,r.jsx)("div",{className:"block min-h-24 w-24 flex-shrink-0 bg-grey-100",children:(0,r.jsx)(c.default,{className:"h-full w-full overflow-hidden object-contain p-1 mix-blend-multiply",src:v.image.src,alt:v.image.alt,height:100,width:100})}),(0,r.jsxs)("div",{className:"grid w-full grid-cols-12 gap-1 px-4 py-3 text-sm",children:[(0,r.jsx)("span",{className:"col-span-12 block w-full overflow-hidden truncate text-xs uppercase",children:v.brand}),(0,r.jsx)("span",{className:"col-span-12 block w-full overflow-hidden truncate",children:v.title}),(0,r.jsx)("span",{className:"col-span-12 block w-full overflow-hidden truncate",children:(0,h.T)(v.price,x)}),(0,r.jsxs)("div",{className:"col-span-12 flex w-full flex-col gap-1",children:[(0,r.jsxs)("div",{className:"line-clamp-2 flex w-full items-center gap-x-1 text-xxs uppercase",children:[_&amp;&amp;(0,r.jsx)(l.F,{}),C]}),(0,r.jsx)(a.zx,{onClick:k,isLoading:"loading"===y,className:(0,m.cn)("justify-self-end","h-auto self-end whitespace-nowrap px-3 py-1 text-xs",N||"idle"!==y?"btn-primary":"btn-outlined"),children:N||"added"===y?null==g?void 0:g.added:null==g?void 0:g.add})]})]})]})},v.id)}function j(e){let{accessories:t,locale:n,dictionary:l,className:i}=e;return(0,r.jsx)(a.UQ,{IconComponent:g.Z,WrapperComponent:"div",title:l.recommendedAccessories,classNames:{wrapper:i,button:"text-left items-center leading-4 p-4 font-medium rounded-none",panel:"p-4"},defaultOpen:!0,transitionProps:{appear:!1},children:(0,r.jsx)("ul",{className:"flex flex-col gap-2",children:t.map(e=&gt;(0,r.jsx)(b,{item:e,locale:n,dictionary:l},e.id))})})}},67507:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return c}});var r=n(52336),l=n(72340),i=n(38437),s=n(45774),a=n(28877),o=n(39266);function c(e){let{title:t,brands:n,readMore:c,locale:d,className:u}=e;return(null==n?void 0:n.length)?(0,r.jsx)(s.UQ,{IconComponent:o.Z,WrapperComponent:"div",title:t,classNames:{wrapper:u,button:"text-left items-center leading-4 p-4 font-medium rounded-none",panel:"p-4 lg:pb-8"},transitionProps:{appear:!1},children:(0,r.jsx)(r.Fragment,{children:n.map(e=&gt;{if(!e)return null;let t=e.desktopBackground||e.mobileBackground;return(0,r.jsxs)("div",{className:"relative grid grid-cols-[auto,1fr] gap-x-4 max-lg:gap-y-6 lg:gap-x-6",children:[(0,r.jsx)(l.b,{className:"flex aspect-square h-32 w-32 items-center justify-center bg-gray-100 object-cover",desktopImage:e.desktopBackground,mobileImage:e.mobileBackground,sizes:"128px"}),(0,r.jsxs)("div",{className:(0,a.cn)("flex flex-col gap-1 text-sm max-lg:-order-1",t&amp;&amp;"max-lg:col-span-full"),children:[(null==e?void 0:e.slug)?(0,r.jsx)(i.Z,{locale:d,className:"font-medium",href:e.slug,children:null==e?void 0:e.title}):(0,r.jsx)("p",{className:"font-medium",children:null==e?void 0:e.title}),(0,r.jsx)("p",{children:null==e?void 0:e.shortDescription}),(null==e?void 0:e.slug)&amp;&amp;(0,r.jsx)(i.Z,{locale:d,className:"underline underline-offset-1",href:e.slug,children:c})]}),(0,r.jsx)(l.b,{desktopImage:e.desktopImage,mobileImage:e.mobileImage,className:(0,a.cn)("max-h-full object-contain mix-blend-multiply lg:col-start-2 lg:ml-auto",t?"max-w-24 place-self-center lg:absolute lg:bottom-0 lg:right-0":"col-start-1 col-end-1 row-start-1 row-end-1 aspect-square h-24 w-24 place-self-center self-stretch bg-gray-100 p-2 lg:h-32 lg:w-32"),sizes:"128px"})]},e.sys.id)})})}):null}},6381:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var r=n(52336),l=n(45774),i=n(70379),s=n.n(i),a=n(39266);function o(e){let{title:t,description:n,className:i}=e;return(0,r.jsx)(l.UQ,{IconComponent:a.Z,WrapperComponent:"div",transitionProps:{appear:!1},classNames:{wrapper:i,button:"text-left items-center leading-4 p-4 font-medium rounded-none",panel:"p-4"},title:t,defaultOpen:!0,children:(0,r.jsx)("div",{className:"text-sm",dangerouslySetInnerHTML:{__html:s()(n)}})})}},77980:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var r=n(52336),l=n(72340),i=n(38437),s=n(45774),a=n(39266);function o(e){let{title:t,designers:n,readMore:o,locale:c,className:d}=e;return(null==n?void 0:n.length)?(0,r.jsx)(s.UQ,{IconComponent:a.Z,WrapperComponent:"div",title:t,classNames:{wrapper:d,button:"text-left items-center leading-4 p-4 font-medium rounded-none",panel:"p-4"},transitionProps:{appear:!1},children:n.map(e=&gt;e&amp;&amp;(0,r.jsxs)("div",{className:"flex gap-4 lg:gap-6",children:[((null==e?void 0:e.desktopImage)||e.mobileImage)&amp;&amp;(0,r.jsx)("div",{className:"flex aspect-square h-24 w-24 items-center justify-center bg-gray-100 lg:h-32 lg:w-32",children:(0,r.jsx)(l.b,{desktopImage:e.desktopImage,mobileImage:e.mobileImage,className:"max-h-full object-contain p-2 mix-blend-multiply",sizes:"128px"})}),(0,r.jsxs)("div",{className:"flex flex-col gap-1 text-sm",children:[(null==e?void 0:e.slug)?(0,r.jsx)(i.Z,{locale:c,className:"font-medium",href:e.slug,children:null==e?void 0:e.title}):(0,r.jsx)("p",{className:"font-medium",children:null==e?void 0:e.title}),(0,r.jsx)("p",{children:null==e?void 0:e.shortDescription}),(null==e?void 0:e.slug)&amp;&amp;(0,r.jsx)(i.Z,{locale:c,className:"underline underline-offset-1",href:e.slug,children:o})]})]},e.sys.id))}):null}},47094:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var r=n(52336),l=n(45774),i=n(27207),s=n(39266);function a(e){let{file:t}=e;return(0,r.jsx)("a",{href:t,target:"_blank",rel:"noreferrer",children:(0,r.jsxs)("div",{className:"relative flex h-[140px] items-center justify-center border border-grey-150 bg-grey-100",children:[(0,r.jsx)("div",{className:"absolute -right-1 top-4 bg-black p-1 text-xxs text-white",children:"PDF"}),(0,r.jsx)(i.H$,{})]})})}function o(e){let{files:t,className:n,productFiles:i,productDataSheet:o}=e;if(!t)return null;let c=Array.isArray(t)?t:[t];return(0,r.jsxs)(l.UQ,{title:i,IconComponent:s.Z,WrapperComponent:"div",transitionProps:{appear:!1},classNames:{wrapper:n,button:"text-left items-center leading-4 p-4 font-medium rounded-none",panel:"p-4"},defaultOpen:!0,children:[(0,r.jsx)("div",{className:"mb-2 grid grid-cols-2 gap-2 lg:grid-cols-3",children:c.map(e=&gt;(0,r.jsx)(a,{file:e},e))}),(0,r.jsx)("p",{className:"text-sm",children:o})]})}},6289:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(52336),l=n(45774),i=n(96600),s=n(39266);function a(e){let{locale:t,className:n,originalPrice:a,priceType:o,historicalPrices:c,historicalPricesTitle:d}=e;if(!a)return null;let u=(0,i.T)(a,t);return u&amp;&amp;"campaign"===o?(0,r.jsx)(l.UQ,{title:d,IconComponent:s.Z,WrapperComponent:"div",transitionProps:{appear:!1},classNames:{wrapper:n,button:"text-left items-center leading-4 p-4 font-medium rounded-none",panel:"p-4"},defaultOpen:!0,children:(0,r.jsx)("p",{className:"text-sm",children:c.replace("%PRICE%",u)})}):null}},39266:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(52336),l=n(27207);function i(e){let{open:t}=e;return t?(0,r.jsx)(l.Hf,{className:"text-base"}):(0,r.jsx)(l.ve,{className:"text-base"})}},13689:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var r=n(52336),l=n(38437),i=n(45774),s=n(38035),a=n(58902),o=n(39266);function c(e){let{slug:t,locale:n,children:i,className:s}=e;return t?(0,r.jsx)(l.Z,{href:t,locale:n,className:s,children:i}):(0,r.jsx)("div",{className:s,children:i})}function d(e){let{items:t,contentfulLocale:n,dictionary:l,className:d}=e,u=e=&gt;{var t,r;return(0,s.Xg)({dictionary:l,locale:n,stockStatus:e.stockStatus,deliveryUnit:e.deliveryUnit,nextDeliveryDate:e.nextDeliveryDate,deliveryMin:null===(t=e.deliveryMin)||void 0===t?void 0:t.toString(),deliveryMax:null===(r=e.deliveryMax)||void 0===r?void 0:r.toString()})};return(0,r.jsx)(i.UQ,{IconComponent:o.Z,WrapperComponent:"div",title:l.includedInThisPackage,classNames:{wrapper:d,button:"text-left items-center leading-4 p-4 font-medium rounded-none",panel:"p-4"},defaultOpen:!0,transitionProps:{appear:!1},children:(0,r.jsx)("ul",{className:"divide-y border",children:t.map((e,i)=&gt;{var s,o,d;return(0,r.jsx)("li",{className:"",children:(0,r.jsxs)(c,{slug:e.ProductURL,locale:n,className:"grid grid-cols-[auto,1fr]",children:[e.image&amp;&amp;(0,r.jsx)("div",{className:"relative block min-h-24 w-24 flex-shrink-0 bg-grey-100",children:(0,r.jsx)(a.default,{className:"h-full w-full overflow-hidden object-contain p-1 mix-blend-multiply",src:e.image.src,alt:e.image.alt,height:100,width:100})}),(0,r.jsxs)("div",{className:"grid grid-flow-row gap-2 px-4 py-3",children:[(0,r.jsxs)("div",{className:"flex justify-between text-xs uppercase",children:[(0,r.jsx)("span",{children:e.brand}),(0,r.jsx)("span",{className:"underline",children:l.details})]}),(0,r.jsxs)("div",{className:"flex flex-1 flex-col overflow-hidden lg:flex-row lg:justify-between",children:[(0,r.jsx)("span",{className:"truncate",children:e.title}),(null!==(d=null===(s=t.at(i))||void 0===s?void 0:s.quantity)&amp;&amp;void 0!==d?d:0)&gt;1&amp;&amp;(0,r.jsxs)("span",{children:[null===(o=t.at(i))||void 0===o?void 0:o.quantity,"\xa0",l.pieces]})]}),(0,r.jsx)("span",{className:"block text-xs font-bold uppercase empty:hidden",children:u(e)})]})]})},e.id+e.title+e.ProductURL)})})})}},70719:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return x}});var r=n(52336),l=n(38437),i=n(84871),s=n(16304),a=n(27207),o=n(38035),c=n(63111);let d=e=&gt;{let{searchParams:t}=e,n=new URLSearchParams(t.toString());if("variant"===e.type){if(e.clear)return n.delete("variant"),n.toString();let t=e.attributes.get(e.key);if(t){let r=e.variants.find(e=&gt;Object.entries(JSON.parse(e.VariantDefiningAttributes)).every(e=&gt;{let[n,r]=e;return t.attrs[n].Value===r.Value}));return n.set("variant",(null==r?void 0:r.id)||""),n.toString()}}return"lightsource"===e.type&amp;&amp;n.set("lightsource",e.lightsourceId),n.toString()};var u=function(){let e=(0,c.useRouter)(),t=(0,c.usePathname)(),n=(0,c.useSearchParams)();return r=&gt;{let l=d({searchParams:n,...r});e.replace("".concat(t,"?").concat(l),{scroll:!1})}},m=n(58902),h=n(28877),p=n(96600);let v=e=&gt;{let{id:t,renderImage:n,renderContent:l,checked:i,onChange:s}=e;return(0,r.jsxs)("div",{className:"relative border-x border-t border-grey-150 last:border-b",children:[(0,r.jsx)("input",{type:"checkbox",checked:i,onChange:s,className:"peer absolute left-0 top-0 h-0 w-0",value:t,id:t}),(0,r.jsxs)("label",{htmlFor:t,className:"group flex cursor-pointer items-center transition peer-checked:bg-grey-100 hover:bg-grey-100/50","aria-selected":i,children:[(0,r.jsx)("div",{className:"flex aspect-square w-[100px] flex-shrink-0 items-center justify-center self-stretch bg-grey-100",children:n()}),(0,r.jsx)("div",{className:"relative ml-3 h-4 w-4 flex-shrink-0 rounded-full border border-black group-aria-selected:bg-black",children:(0,r.jsx)(a.nQ,{className:"absolute -left-px top-0 text-base text-white opacity-0 transition group-aria-selected:opacity-100"})}),l()]})]})};function x(e){let{variant:t,dictionary:n,lightsources:c,lightsource:d=c.at(0),className:x}=e,{locale:f,contentfulLocale:g}=(0,i.A)().state.market,b=u(),{dictionary:j}=(0,s.Mj)();return(0,r.jsxs)("div",{className:(0,h.cn)("",x),children:[(0,r.jsx)("p",{className:"my-3 block text-sm",children:n.productComesWithoutLightSourceAdd}),null==c?void 0:c.map(e=&gt;{var i,s;let c=(0,o.Xg)({isShortened:!0,locale:g,dictionary:j,stockStatus:null!==(i=e.stockStatus)&amp;&amp;void 0!==i?i:t.stockStatus,nextDeliveryDate:null!==(s=e.nextDeliveryDate)&amp;&amp;void 0!==s?s:t.nextDeliveryDate});return(0,r.jsx)(v,{checked:(null==d?void 0:d.id)===e.id,onChange:()=&gt;{b({type:"lightsource",lightsourceId:e.id})},id:e.id,renderImage:()=&gt;{var t;return(null==e?void 0:null===(t=e.images)||void 0===t?void 0:t[0].src)?(0,r.jsx)(m.default,{className:"object-contain mix-blend-multiply",src:e.images[0].src,alt:e.images[0].alt||"",width:100,height:100}):null},renderContent:()=&gt;(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"grow p-3 text-xxs  space-y-1 md:space-y-1.5",children:[(0,r.jsx)("p",{className:"uppercase",children:e.norce_brand}),(0,r.jsx)("p",{className:"text-xs",children:e.title}),(0,r.jsxs)("div",{className:"flex text-xs font-medium md:hidden",children:[(0,r.jsxs)("span",{children:[(null==t?void 0:t.lightsourceQuantity)||1,"\xa0x\xa0"]}),(0,r.jsx)("span",{children:(0,p.T)(e.price,f)}),e.campaignPrice&amp;&amp;(0,r.jsxs)("span",{className:"ml-1 font-normal text-grey-300 line-through",children:["\xa0",(0,p.T)(e.originalPrice,f)]})]}),(0,r.jsx)("p",{className:"uppercase",children:c})]}),(0,r.jsxs)("div",{className:"flex-shrink-0 self-start p-3 text-right text-xs space-y-1 md:self-auto",children:[(0,r.jsx)(l.Z,{locale:f,className:"uppercase underline",href:e.ProductURL,children:n.details}),(0,r.jsxs)("div",{className:"hidden justify-end font-medium md:flex",children:[(0,r.jsxs)("span",{children:[(null==t?void 0:t.lightsourceQuantity)||1,"\xa0x\xa0"]}),(0,r.jsx)("span",{children:(0,p.T)(e.price,f)}),e.campaignPrice&amp;&amp;(0,r.jsxs)("span",{className:"ml-1 font-normal text-grey-300 line-through",children:["\xa0",(0,p.T)(e.originalPrice,f)]})]}),e.isRecommended&amp;&amp;(0,r.jsxs)("div",{className:"absolute bottom-3 right-3 flex items-center border border-black p-1 text-xxs md:static",children:[(0,r.jsx)(a.nQ,{className:"mr-1 text-base"}),n.recommended]})]})]})},e.id)}),(0,r.jsx)(v,{id:"no-lightsource",checked:!d,onChange:()=&gt;{b({type:"lightsource",lightsourceId:"no-lightsource"})},renderImage:()=&gt;(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",children:(0,r.jsx)("path",{d:"M31.9886 14.8691C37.6627 14.8691 42.2665 19.5412 42.2665 25.2729C42.2665 28.1489 41.5677 29.8091 40.7929 31.1673C40.0179 32.5254 39.2073 33.5523 38.8281 35.3744C38.7829 35.5935 38.5685 35.7342 38.3494 35.6889C38.1302 35.6437 37.9894 35.4296 38.0346 35.2104C38.4483 33.2225 39.3598 32.0619 40.1002 30.7644C40.8406 29.4669 41.4604 28.0232 41.4604 25.2732C41.4604 19.972 37.2218 15.6758 31.9889 15.6758C28.4768 15.6758 25.4129 17.6146 23.7766 20.4875C23.7302 20.5921 23.6412 20.6717 23.5325 20.7069C23.4235 20.7421 23.3048 20.7294 23.2058 20.6717C23.1069 20.6142 23.0371 20.5173 23.0137 20.4052C22.9906 20.2931 23.016 20.1765 23.0839 20.0842C24.8573 16.9706 28.1804 14.8691 31.9886 14.8691ZM18.4617 17.6904C18.5535 17.7035 18.6381 17.7481 18.701 17.8164L31.2712 30.3737L45.8434 44.946C45.9324 45.0179 45.9872 45.1241 45.9932 45.2383C45.9995 45.3527 45.9568 45.4641 45.8757 45.545C45.7949 45.626 45.6834 45.6687 45.5691 45.6625C45.4549 45.6564 45.3486 45.6021 45.2768 45.5129L38.4373 38.6734L37.0015 46.1172C36.8662 46.8188 36.1715 47.2507 35.4396 47.2507H35.2758V47.5026C35.2758 48.3617 34.6867 49.1274 33.8652 49.1274H30.1119C29.2905 49.1274 28.7013 48.3618 28.7013 47.5026V47.2507H28.5375C27.8056 47.2507 27.1233 46.819 26.9884 46.1172L25.4013 37.8548C25.3969 37.8466 25.3927 37.8383 25.3888 37.8298V37.8173C25.3708 37.7689 25.3623 37.7177 25.3636 37.666C25.3636 34.6806 24.5152 33.3704 23.6003 31.8596C22.6851 30.349 21.7109 28.6577 21.7109 25.2719C21.7109 24.2664 21.8625 23.2958 22.1265 22.375L18.1338 18.3823C18.0071 18.2625 17.9719 18.075 18.0465 17.9173C18.1211 17.7596 18.2887 17.6687 18.4617 17.6904ZM22.7819 23.0306C22.6106 23.7517 22.5173 24.4971 22.5173 25.2725C22.5173 28.5098 23.3831 29.9419 24.2931 31.4442C25.1589 32.8736 26.0444 34.412 26.1321 37.2634H37.0142L22.7819 23.0306ZM37.7451 38.0696H26.2459L26.6742 40.2485C26.6786 40.2483 26.6827 40.2483 26.6869 40.2485H34.0426C34.0551 40.2479 34.0679 40.2479 34.0804 40.2485C34.3024 40.2593 34.4739 40.4481 34.4635 40.6704C34.4531 40.8925 34.2647 41.0643 34.0426 41.0545H26.8256L27.2539 43.2587H31.675C31.6916 43.2577 31.7083 43.2577 31.7252 43.2587C31.946 43.2747 32.1129 43.4656 32.0989 43.6866C32.0852 43.9077 31.8958 44.0764 31.6748 44.0647H27.4177L27.7829 45.9666C27.819 46.1539 28.1552 46.4452 28.5385 46.4452H35.4409C35.8243 46.4452 36.173 46.1539 36.2093 45.9666L37.708 38.1703C37.7162 38.1351 37.7291 38.1012 37.7462 38.0695L37.7451 38.0696ZM34.4703 47.2514H29.5076V47.5033C29.5076 48.0098 29.8184 48.3221 30.1122 48.3221H33.8655C34.1592 48.3221 34.4701 48.01 34.4701 47.5033L34.4703 47.2514Z",fill:"#757575"})}),renderContent:()=&gt;(0,r.jsx)("p",{className:"p-3 text-xs",children:n.noLightSourcePlease})})]})}},60639:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return v}});var r=n(52336),l=n(48681),i=n(17337),s=n(87965),a=n(16304),o=n(88953),c=n(14044),d=n(27207),u=n(12411),m=n(28877),h=n(24317),p=n(96600);function v(e){let{from:t,price:n,marketConfig:v,className:x,priceType:f,recommendedPrice:g,originalPrice:b=n,priceInfoBlock:j,variant:y}=e,[w,N]=(0,u.useState)(!1),{dictionary:k}=(0,a.Mj)(),[_,S]=(0,u.useState)();return((0,u.useEffect)(()=&gt;{let e=(0,h.D)(null==y?void 0:y.id);return e&amp;&amp;S(e),()=&gt;S(void 0)},[null==y?void 0:y.id]),_)?(0,r.jsx)("div",{className:"flex flex-col",children:(0,r.jsxs)(s.Paragraph,{className:"font-medium lg:text-lg",children:[(0,p.T)(_,v.locale),(0,r.jsx)("span",{className:"ml-2 font-medium text-grey-300 line-through lg:text-lg",children:(0,p.T)(null!=g?g:b,v.locale)})]})}):(0,r.jsxs)("div",{className:(0,m.cn)("relative flex flex-col flex-wrap gap-4 lg:gap-6",x),children:["standard"===f&amp;&amp;(0,r.jsx)("div",{className:"flex flex-col",children:(0,r.jsxs)(s.Paragraph,{className:"font-medium lg:text-lg",children:[t," ",(0,p.T)(n,v.locale)]})}),"priceMatch"===f&amp;&amp;(0,r.jsxs)("div",{className:"flex flex-col",children:[(0,r.jsxs)(s.Paragraph,{className:"font-medium lg:text-lg",children:[t," ",(0,p.T)(n,v.locale)]}),(0,r.jsxs)(s.Paragraph,{className:"text-xs text-grey-300",children:[k.recPrice,":"," ",(0,p.T)(b,v.locale),j&amp;&amp;(0,r.jsx)("button",{onClick:()=&gt;N(!0),className:"ml-2 text-grey-300 underline",children:k.readMore})]})]}),"campaign"===f&amp;&amp;(0,r.jsxs)("div",{className:"flex flex-col",children:[(0,r.jsxs)(s.Paragraph,{className:"font-medium lg:text-lg",children:[t," ",(0,p.T)(n,v.locale),g&amp;&amp;(0,r.jsx)("span",{className:"ml-2 font-medium text-grey-300 line-through lg:text-lg",children:(0,p.T)(g,v.locale)})]}),b&amp;&amp;g&amp;&amp;b&lt;g&amp;&amp;(0,r.jsxs)(s.Paragraph,{className:"col-span-2 text-xs text-grey-300",children:[k.previousPrice,":"," ",(0,p.T)(b,v.locale),j&amp;&amp;(0,r.jsx)("button",{onClick:()=&gt;N(!0),className:"ml-2 text-grey-300 underline",children:k.readMore})]})]}),"PV2"===f&amp;&amp;(0,r.jsx)("div",{className:"flex flex-col",children:(0,r.jsxs)(s.Paragraph,{className:"font-medium lg:text-lg",children:[(0,p.T)(n,v.locale),(0,r.jsx)("span",{className:"ml-2 font-medium text-grey-300 line-through lg:text-lg",children:(0,p.T)(null!=g?g:b,v.locale)})]})}),(0,r.jsx)(o.u,{appear:!0,show:w,as:u.Fragment,children:(0,r.jsxs)(c.V,{open:w,onClose:()=&gt;N(!1),className:"relative z-40",children:[(0,r.jsx)(o.u.Child,{as:u.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,r.jsx)("div",{className:"fixed inset-0 bg-black/30","aria-hidden":"true"})}),(0,r.jsx)("div",{className:"fixed inset-0 flex items-center justify-center p-4",children:(0,r.jsx)(o.u.Child,{as:u.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:(0,r.jsxs)(c.V.Panel,{className:"relative mx-auto max-h-full max-w-xl items-start overflow-auto bg-white px-8 py-8 text-left prose-hr:my-6 md:py-12",children:[(0,r.jsx)("button",{type:"button",onClick:()=&gt;N(!1),className:"absolute right-0 top-2 p-4",children:(0,r.jsx)(d.b0,{className:"text-base"})}),(0,r.jsx)(c.V.Title,{as:i.Heading,size:4,className:"mb-4",children:null==j?void 0:j.title}),(0,r.jsx)(l.Z,{content:null==j?void 0:j.content,market:v.code,locale:v.locale})]})})})]})})]})}},10185:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return v}});var r=n(52336),l=n(38437),i=n(87965),s=n(45774),a=n(12411),o=n(80279);let c={width_cm:"cm",height_cm:"cm",depth_cm:"cm",seat_height_cm:"cm",diameter_cm:"cm",length_cm:"cm",max_depth_cm:"cm",max_diameter_cm:"cm",max_height_cm:"cm",max_length_cm:"cm",max_seat_depth_cm:"cm",max_seat_height_cm:"cm",max_width_cm:"cm",seat_depth_cm:"cm"};var d=["norce_brand","norce_designer","width_cm","height_cm","depth_cm","length_cm","seat_height_cm","seat_depth_cm","diameter_cm","max_width_cm","max_height_cm","max_depth_cm","max_length_cm","max_diameter_cm","max_seat_height_cm","max_seat_depth_cm","content_volume_cl","content_volume_liter","content_volume_ml","accessories","dimmable","effect_watt","ip_class","language","light_socket","light_source_included","norce_assembly_required","norce_base_legs","norce_color","norce_features","norce_light_source_quantity","norce_material","norce_seat","norce_shape","norce_surface_treatment","norce_top","norce_upholstery_category","norce_variant","removable_cover","size","upholstery_group","upholstery_name","id"],u=n(39266);let m=e=&gt;{let{property:t,attribute:n}=e;return c[t]?"".concat(n," ").concat(c[t]):n},h=e=&gt;{let{entity:t,dictionary:n,locale:s,brandSlug:o,designers:c}=e;return(0,r.jsx)("div",{className:"grid grid-cols-[max-content,_auto] gap-x-4 gap-y-2 text-sm",children:d.map(e=&gt;{var d,u,h;if("norce_brand"===e&amp;&amp;t[e])return(0,r.jsxs)(a.Fragment,{children:[(0,r.jsxs)(i.Paragraph,{className:"font-medium",children:[null!==(d=n[e])&amp;&amp;void 0!==d?d:e,":"]}),(0,r.jsx)(l.Z,{className:"hover:underline",locale:s,href:o,children:t[e]})]},"norce_brand"+t[e]);if("norce_designer"===e&amp;&amp;t[e]&amp;&amp;(null==c?void 0:c.length))return(0,r.jsxs)(a.Fragment,{children:[(0,r.jsxs)(i.Paragraph,{className:"font-medium",children:[null!==(u=n[e])&amp;&amp;void 0!==u?u:e,":"]}),(0,r.jsx)("span",{children:c.map((e,t)=&gt;(null==e?void 0:e.title)?(0,r.jsxs)("div",{children:[(0,r.jsx)(l.Z,{className:"hover:underline",locale:s,href:e.slug,children:e.title},e.title+t),t&lt;c.length-1?", ":""]},t):null)})]},"norce_designer"+t[e]);if(t[e]&amp;&amp;!Array.isArray(t[e])){let l=t[e],s="id"===e?"SKU":e;return(0,r.jsxs)(a.Fragment,{children:[(0,r.jsxs)(i.Paragraph,{className:"font-medium",children:[null!==(h=n[s])&amp;&amp;void 0!==h?h:e,":"]}),(0,r.jsx)(i.Paragraph,{children:m({attribute:l,property:e})})]},e+l)}})})},p=e=&gt;{let{entity:t,locale:n,brandSlug:s,designers:o,parametrics:c}=e;return(0,r.jsx)("div",{className:"grid grid-cols-[max-content,_auto] gap-x-4 gap-y-2 text-sm",children:null==c?void 0:c.map(e=&gt;{var c,d,u;return(null==e?void 0:e.attributeName)?"norce_brand"===e.attributeName&amp;&amp;t[e.attributeName]?(0,r.jsxs)(a.Fragment,{children:[(0,r.jsxs)(i.Paragraph,{className:"font-medium",children:[null!==(c=e.title)&amp;&amp;void 0!==c?c:e.attributeName,":"]}),(0,r.jsx)(l.Z,{className:"hover:underline",locale:n,href:s,children:t[e.attributeName]})]},e.attributeName):"norce_designer"===e.attributeName&amp;&amp;t[e.attributeName].length&gt;0&amp;&amp;(null==o?void 0:o.length)===0?(0,r.jsxs)(a.Fragment,{children:[(0,r.jsxs)(i.Paragraph,{className:"font-medium",children:[null!==(d=e.title)&amp;&amp;void 0!==d?d:e.attributeName,":"]}),(0,r.jsx)("span",{children:o.map((e,t)=&gt;(null==e?void 0:e.title)?(0,r.jsxs)("div",{children:[(0,r.jsx)(l.Z,{className:"hover:underline",locale:n,href:e.slug,children:e.title},e.sys.id+t),t&lt;o.length-1?", ":""]},t):null)})]},e.attributeName):t[e.attributeName]&amp;&amp;!Array.isArray(t[e.attributeName])?(0,r.jsxs)(a.Fragment,{children:[(0,r.jsxs)(i.Paragraph,{className:"font-medium",children:[null!==(u=e.title)&amp;&amp;void 0!==u?u:e.attributeName,":"]}),(0,r.jsxs)(i.Paragraph,{children:[e.prefix,t[e.attributeName],e.suffix]})]},e.attributeName):void 0:null})})};function v(e){let{dictionary:t,variant:n,product:l,className:i,locale:c,brandSlug:d,designers:m,parametricBlocks:v}=e,x=(0,a.useMemo)(()=&gt;({...l,...n}),[l,n]);return(null==v?void 0:v.length)&amp;&amp;o.y.product.contentfulParametrics?null==v?void 0:v.map(e=&gt;{var t;if((null==e?void 0:e.__typename)!=="Block")return null;let n=null===(t=e.componentsCollection)||void 0===t?void 0:t.items.filter(e=&gt;(null==e?void 0:e.__typename)==="Parametric");return(null==n?void 0:n.some(e=&gt;{var t;return"string"==typeof e.attributeName&amp;&amp;!!("string"==typeof x[e.attributeName]||"number"==typeof x[e.attributeName]||Array.isArray(x[e.attributeName])&amp;&amp;(null===(t=x[e.attributeName])||void 0===t?void 0:t.length)===1)}))?(0,r.jsx)("div",{children:(0,r.jsx)("div",{className:"grid grid-cols-[max-content,_auto] gap-x-4 gap-y-2 text-sm",children:(0,r.jsx)(p,{brandSlug:d,entity:x,locale:c,designers:m,parametrics:n})})},e.sys.id):null}):(0,r.jsxs)(s.UQ,{title:null==t?void 0:t.productInformation,IconComponent:u.Z,WrapperComponent:"div",transitionProps:{appear:!1},classNames:{wrapper:i,button:"text-left items-center leading-4 p-4 font-medium rounded-none",panel:"p-4"},defaultOpen:!0,children:[(0,r.jsx)(h,{entity:x,dictionary:t,locale:c,brandSlug:d,designers:m}),(0,r.jsx)("p",{className:"mt-4 text-xs text-grey-300 md:hidden",children:t.imageDisclaimerText})]})}},48770:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return c}});var r=n(52336),l=n(45774),i=n(27207),s=n(28877),a=n(20408),o=n(39266);function c(e){var t,n,c,d,u;let{basedOn:m,reviews:h,dictionary:p,productId:v,title:x,className:f,marketConfig:g}=e;if(!h)return null;let b=(null===(t=h.summary)||void 0===t?void 0:t.your_review_count)?"".concat(x," (").concat(null===(n=h.summary)||void 0===n?void 0:n.your_review_count,")"):x;return(0,r.jsxs)(l.UQ,{defaultOpen:!0,IconComponent:o.Z,WrapperComponent:"div",classNames:{wrapper:f,button:"text-left items-center leading-4 p-4 font-medium rounded-none",panel:"p-4"},title:b,children:[(null===(c=h.summary)||void 0===c?void 0:c.your_avg_score)?(0,r.jsxs)("div",{id:"product-reviews",className:"mb-4 flex items-center border-b border-grey-150 pb-4 text-base",children:[(0,r.jsx)("div",{className:"flex items-center",children:(0,r.jsx)("div",{className:(0,s.cn)("mr-1 flex text-xl"),children:[void 0,void 0,void 0,void 0,void 0].map((e,t)=&gt;{var n;return(0,r.jsx)(i.r7,{filled:t&lt;((null==h?void 0:null===(n=h.summary)||void 0===n?void 0:n.your_avg_score)||0)},t)})})}),(0,r.jsxs)("p",{children:[null==h?void 0:null===(d=h.summary)||void 0===d?void 0:d.your_avg_score,"\xa0",null==m?void 0:m.toLowerCase(),"\xa0",null==h?void 0:null===(u=h.summary)||void 0===u?void 0:u.your_review_count,"\xa0",null==x?void 0:x.toLowerCase()]})]}):null,(0,r.jsx)(a.Z,{marketConfig:g,initialReviews:h,dictionary:p,productId:v})]})}},68185:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(6940),l=n(66022),i=n.n(l),s=n(63111),a=n(12411);function o(e){let t=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{},n=arguments.length&gt;2?arguments[2]:void 0,r=arguments.length&gt;3&amp;&amp;void 0!==arguments[3]&amp;&amp;arguments[3],l=arguments.length&gt;4?arguments[4]:void 0;if(!(null==e?void 0:e.length))return new Map;let s=new Map;for(let n=0;n&lt;e.length;n+=1){let l=e[n];if(r||!Object.entries(t).length||!Object.entries(l.requirement).length||i()(l.requirement,t)||i()(t,l.requirement)){let e=s.get(l.attribute);if(e){if(e.has(l.code)){var a;let t=null!==(a=e.get(l.code))&amp;&amp;void 0!==a?a:[];e.set(l.code,[...t,l])}else e.set(l.code,[l])}else s.set(l.attribute,new Map([[l.code,[l]]]))}}l&amp;&amp;Object.entries(l).forEach(e=&gt;{let[t,n]=e;return s.set(t,n)});for(let e=0;e&lt;n.length;e+=1){let r=n[e];if((null==r?void 0:r.key)&amp;&amp;!t[r.key]){let t=n[e+1];(null==t?void 0:t.key)&amp;&amp;s.set(t.key,new Map)}}return s}function c(e,t){switch(t.type){case"SET_ATTRIBUTE":{let n={...e.selection,...t.payload};if(0===e.variants.filter(e=&gt;i()(e,n)).length){let n=function(e,t,n,r){let l={...e,...t};for(let e=r.length-1;e&gt;0&amp;&amp;!(n.filter(e=&gt;i()(e,l)).length&gt;0);e-=1)delete l[r[e].key];return l}(e.selection,t.payload,e.variants,e.order);return{...e,selection:n,variant:void 0,options:o(e.attributes,n,e.order)}}let r=o(e.attributes,n,e.order);return{...e,selection:n,variant:void 0,options:r}}case"SET_VARIANT":{var n;if(!t.payload||(null==e?void 0:null===(n=e.variant)||void 0===n?void 0:n.id)===t.payload.id)return e;let r=Object.keys(JSON.parse(t.payload.VariantDefiningAttributes)).reduce((e,n)=&gt;{var r;return{...e,[n]:null===(r=t.payload)||void 0===r?void 0:r[n]}},{});return{...e,selection:r,variant:t.payload,options:o(e.attributes,r,e.order)}}default:throw Error("VariantContext - Unhandled action type")}}var d=n(14959),u=n(22841),m=n(97421);function h(e){var t;let{initialVariantState:n,breadcrumbs:l}=e,{contentfulLocale:h}=(0,r.AD)().state.market,p=(0,s.useRouter)(),[v,x]=(0,a.useReducer)(c,n,e=&gt;(function(e){let{variants:t,attributes:n}=e,r=[];for(let e=0;e&lt;t.length;e+=1){let{id:l,VariantDefiningAttributes:i,price:s,originalPrice:a,priceType:o,stock:c,stockStatus:d,nextDeliveryDate:u}=t[e];if(i){let e=JSON.parse(i),t={};for(let i=0;i&lt;n.length;i+=1){let m=n[i].key,h=e[m];r.push({stock:c,stockStatus:d,nextDeliveryDate:u,label:h.Value,swatch:h.Swatch,disabled:!1,requirement:{...t},attribute:m,code:h.Value,price:{price:s,originalPrice:a,priceType:o},id:l}),t[m]=h.Value}}}let l={};return e.variant&amp;&amp;(l=Object.keys(JSON.parse(e.variant.VariantDefiningAttributes)).reduce((t,n)=&gt;{var r;return{...t,[n]:null===(r=e.variant)||void 0===r?void 0:r[n]}},{})),{attributes:r,selection:l,options:o(r,l,n),variant:e.variant,variants:t,order:n}})(e)),{attributes:f}=n,g="variant",b="lightsource",j=null==l?void 0:l.map(e=&gt;e.label),y=(0,a.useCallback)((e,t,n)=&gt;{let r={...v.selection,[e]:t},l=v.variants.filter(e=&gt;i()(e,r)).sort((e,t)=&gt;(0,m.r)(e.stockStatus)?-1:(0,m.r)(t.stockStatus)?1:0);if(1===l.length){let[e]=l,t=new URLSearchParams(window.location.search.toString());t.set(g,e.id),p.replace("".concat(window.location.pathname,"?").concat(t.toString()),{scroll:!1})}x({type:"SET_ATTRIBUTE",payload:{[e]:t},prevOptions:{name:e,variantAttributes:n}})},[p,v.selection,v.variants]);(0,a.useEffect)(()=&gt;{var e;(null===(e=v.variant)||void 0===e?void 0:e.id)&amp;&amp;j&amp;&amp;(0,u.S7)({breadcrumbLabels:j,itemId:v.variant.id,contentfulLocale:h})},[null===(t=v.variant)||void 0===t?void 0:t.id,j,h]),(0,a.useEffect)(()=&gt;{let e=new URLSearchParams(window.location.search.toString());n.variant&amp;&amp;(x({type:"SET_VARIANT",payload:n.variant}),e.get(g)||e.set(g,n.variant.id)),n.lightsource&amp;&amp;!e.get(b)&amp;&amp;e.set(b,n.lightsource.id),window.location.search.includes(e.toString())||p.replace("".concat(window.location.pathname,"?").concat(e.toString()),{scroll:!1})},[p,n.variant,n.lightsource]);let w=f.length&gt;1?d.aT:d.ut;return{attributes:f,state:v,optionSortingToUse:w,onChange:y}}},97421:function(e,t,n){"use strict";function r(e){return"StockItem"===e||"PendingSoldOut"===e}n.d(t,{r:function(){return r}})},40861:function(e,t,n){"use strict";n.d(t,{O:function(){return l}});var r=n(97421);let l=(e,t)=&gt;{let n=new Date;return!(0,r.r)(e)&amp;&amp;!!t&amp;&amp;t&gt;n}},14959:function(e,t,n){"use strict";n.d(t,{Kd:function(){return d},$W:function(){return c},ut:function(){return a},aT:function(){return o},hy:function(){return s},eD:function(){return m}});var r=n(38035);let l=e=&gt;void 0===e?"":"boolean"==typeof e||"number"==typeof e?e.toString():e;var i=n(40861);let s=["DeliveryItem","StockItem","OutOfStock","SoldOut","PendingSoldOut"],a=(e,t)=&gt;{let[n,r]=e,[i,s]=t,a=Math.min(...r.map(e=&gt;e.price.price))-Math.min(...s.map(e=&gt;e.price.price)),o=Number(...s.map(e=&gt;e.stock))-Number(...r.map(e=&gt;e.stock)),c=l(n).localeCompare(l(i));return o||a||c},o=(e,t)=&gt;{let[n,r]=e,[i,s]=t,a=Math.min(...r.map(e=&gt;e.price.price))-Math.min(...s.map(e=&gt;e.price.price)),o=l(n).localeCompare(l(i));return a||o},c=e=&gt;e&amp;&amp;e.some(e=&gt;"StockItem"===e.stockStatus||"PendingSoldOut"===e.stockStatus),d=e=&gt;e&amp;&amp;e.some(e=&gt;{let{stockStatus:t,nextDeliveryDate:n}=e;return(0,i.O)(t,n)}),u=e=&gt;e&amp;&amp;e.every(e=&gt;"SoldOut"===e.stockStatus),m=(e,t)=&gt;{if(!(null==e?void 0:e.length))return null;if(d(e)){let{nextDeliveryDate:n,stockStatus:l}=e.find(e=&gt;{let{stockStatus:t,nextDeliveryDate:n}=e;return(0,i.O)(t,n)})||{};return(0,r.Xg)({dictionary:t,isShortened:!0,stockStatus:l,nextDeliveryDate:n})}return c(e)?(0,r.Xg)({stockStatus:"StockItem",dictionary:t}):u(e)?(0,r.Xg)({stockStatus:"SoldOut",dictionary:t}):null}},57347:function(){}}]);
//# sourceMappingURL=3027-3d3483557be2cacf.js.map</pre></body></html>