!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="63d33b23-2629-4009-be28-a462a56755cd",e._sentryDebugIdIdentifier="sentry-dbid-63d33b23-2629-4009-be28-a462a56755cd")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[900],{55189:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/cookies",function(){return i(7822)}])},7822:function(e,n,i){"use strict";i.r(n),i.d(n,{__N_SSP:function(){return D},default:function(){return T}});var o=i(85893),t=i(67294),r=i(72392),d=i(43767),c=i(41686),l=i(92618),s=i(64635);let a=(0,c.ZP)(s.W2).withConfig({componentId:"sc-7ac8d60e-0"})(e=>{let{theme:{SPACINGS:n}}=e;return(0,c.iv)(["margin-top:",";"],n.SM)}),u=c.ZP.div.withConfig({componentId:"sc-7ac8d60e-1"})(e=>{let{theme:{SPACINGS:n}}=e;return(0,c.iv)(["padding:"," 0;"],n.L)}),m=(0,c.ZP)(l.Z).withConfig({componentId:"sc-7ac8d60e-2"})(e=>{let{$isFilled:n,theme:{COLOR:i,TYPOGRAPHY:o,LAYOUT:t}}=e;return(0,c.iv)([""," border-color:",";color:",";",";@media screen and (min-width:","px){display:none;}"],o.BODY,i.grey05,i.grey05,n&&(0,c.iv)(["color:",";"],i.black),t.LAYOUT_BREAKPOINT.DESKTOP)}),p=c.ZP.div.withConfig({componentId:"sc-7ac8d60e-3"})(e=>{let{$isSelected:n,theme:{COLOR:i,BORDER_RADIUS:o,SPACINGS:t}}=e;return(0,c.iv)(["border:1px solid ",";background-color:",";border-radius:",";padding:"," ",";display:flex;box-sizing:border-box;& + &{margin-top:",";}",""],i.grey03,i.white,o.SM,t.MD,t.MD,t.MD,n&&(0,c.iv)(["border-width:2px;border-color:",";"],i.black))}),h=c.ZP.label.withConfig({componentId:"sc-7ac8d60e-4"})(["display:flex;flex:1;flex-direction:column;"]),g=c.ZP.input.withConfig({componentId:"sc-7ac8d60e-5"})(e=>{let{theme:{SPACINGS:n}}=e;return(0,c.iv)(["width:2.4rem;height:2.4rem;margin:auto "," auto 0;"],n.MD)});var f=i(32703),v=i(78143),x=i(90413),k=i(766),y=i(58357),w=i(45582),_=i(36830),b=i(126),j=i(36510),O=function(e){var n,i;let{cookies:r}=e,{useAcceptedCookies:d,useSetAcceptedCookies:l}=(0,b.Z)(),O=d(),Z=l(),D=(0,c.Fg)(),T=(0,w.Z)(),[C,L]=(0,t.useState)(!1),I=(0,_.Z)();return(0,o.jsx)(x.Z,{children:(0,o.jsx)(a,{children:(0,o.jsxs)("div",{onChange:e=>{var n,i;Z(null===(n=e.target)||void 0===n?void 0:n.value),L(!1),(0,f.W)({state:null===(i=e.target)||void 0===i?void 0:i.value,customerType:T})},children:[(0,o.jsx)(m,{label:null!==(i=null===(n=r.find(e=>e.value===O))||void 0===n?void 0:n.name)&&void 0!==i?i:"",isTertiary:!0,isTextLeftAligned:!0,onClick:()=>{L(!0)},icon:"caret-down",$isFilled:!0}),(0,o.jsx)(k.p,{$hideContentBreakpoint:j.Z.LAYOUT_BREAKPOINT.DESKTOP,children:(0,o.jsx)(v.Z,{onClose:()=>{L(!1)},isOpen:C,isSmall:!0,title:I("cookies.select.title"),children:(0,o.jsx)(s.W2,{children:(0,o.jsx)(u,{children:r.map(e=>(0,o.jsxs)(p,{$isSelected:O===e.value,children:[(0,o.jsx)(g,{type:"radio",id:e.name,name:"cookie",value:e.value,defaultChecked:O===e.value}),(0,o.jsxs)(h,{htmlFor:e.name,children:[(0,o.jsx)(y.Z,{type:"BODY_BOLD",children:e.name}),e.recommended&&(0,o.jsx)(y.Z,{type:"BODY_SMALL",color:D.COLOR.green,children:I("cookies.select.recommended")}),(0,o.jsx)(y.Z,{type:"BODY_SMALL",children:e.description})]})]},"cookies-selection-".concat(e.value)))})})})}),(0,o.jsx)(k.t,{$showContentBreakpoint:j.Z.LAYOUT_BREAKPOINT.DESKTOP,children:r.map(e=>(0,o.jsxs)(p,{$isSelected:O===e.value,children:[(0,o.jsx)(g,{type:"radio",id:e.name,name:"cookie",value:e.value,defaultChecked:O===e.value}),(0,o.jsxs)(h,{htmlFor:e.name,children:[(0,o.jsx)(y.Z,{type:"BODY_BOLD",children:e.name}),e.recommended&&(0,o.jsx)(y.Z,{type:"BODY_SMALL",color:D.COLOR.green,children:I("cookies.select.recommended")}),(0,o.jsx)(y.Z,{type:"BODY_SMALL",children:e.description})]})]},"cookies-card-".concat(e.name)))})]})})})},Z=i(2540),D=!0,T=function(e){let{mappedPage:n}=e,i=(0,_.Z)(),{customer:c}=(0,Z.Z)(),l=(0,w.Z)(),s=(0,t.useRef)(!1),a="Fixami",u=[{value:"1",name:i("cookies.select.marketing.allow.name"),recommended:!0,description:i("cookies.select.marketing.allow.description",{website:a})},{value:"0",name:i("cookies.select.marketing.disallow.name"),recommended:!1,description:i("cookies.select.marketing.disallow.description",{website:a,info:i("cookies.select.marketing.disallow.description.info"),reject:i("cookies.modal.description.reject")})}];return s.current||((0,d.Z)({customerId:null==c?void 0:c.id,customerType:l,pageType:"information"}),s.current=!0),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r.Z,{pageType:null==n?void 0:n.pageType,category:null==n?void 0:n.category,sections:null==n?void 0:n.sections,hreflangTags:null==n?void 0:n.hreflangTags,head:null==n?void 0:n.head}),(0,o.jsx)(O,{cookies:u})]})}}},function(e){e.O(0,[216,224,146,925,786,633,392,888,774,179],function(){return e(e.s=55189)}),_N_E=e.O()}]);