1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8512],{16074:(e,t,s)=>{"use strict";s.d(t,{Z:()=>o,h:()=>c});var a,r=s(26514),i=s(75406),n=s(26843),l=s.n(n),o=((a={}).Alpha="alpha",a.Beta="beta",a.Gamma="gamma",a.None="none",a);let c=({heading:e=1,variant:t="alpha",weight:s,children:a,className:n,...o})=>{let c=e?`h${e}`:"div";return(0,r.jsx)(c,{className:(0,i.cn)({[l()[t]]:l()[t],[`!font-${s}`]:s,[`${n}`]:n}),...o,children:a})}},26843:e=>{e.exports={alpha:"Title_alpha__RS3in",beta:"Title_beta__DjMos",gamma:"Title_gamma__KEwR8"}},39285:(e,t,s)=>{"use strict";s.d(t,{H:()=>r});var a=s(81586);let r=({base:e="",celio:t,gap:s,geox:r,orsay:i,ua:n})=>{let{settings:l}=(0,a.Pj)(),o=e;return l.isCelio()&&"string"==typeof t&&(o=t),l.isGap()&&"string"==typeof s&&(o=s),l.isGeox()&&"string"==typeof r&&(o=r),l.isOrsay()&&"string"==typeof i&&(o=i),l.isUa()&&"string"==typeof n&&(o=n),{[o.trim()]:!!o.trim()}}},51973:(e,t,s)=>{"use strict";s.d(t,{A:()=>h});var a=s(26514),r=s(81586),i=s(52661),n=s(96456),l=s.n(n),o=s(46225),c=s(75834),u=s(71557);let d="prefetched",m="timeout",g="clicked",f=(e,t)=>{switch(t.type){case d:return{...e,prefetched:t.value};case m:return{...e,timeout:t.value};case g:return{...e,clicked:t.value}}},h=({testId:e,href:t,type:s="customLink",children:n,className:h="",prefetch:p=!0,onMouseEnter:x,onClick:_,target:v="_self",shallow:j=!1,as:y,preventRouterNavigation:w=!1,scroll:b=!0,replace:N=!1,...A})=>{let{ui:P}=(0,r.Pj)(),k=(0,o.useRouter)(),[S,I]=(0,c.useReducer)(f,{prefetched:!1,timeout:null,clicked:!1});switch(s){case"customLink":return(0,a.jsx)("a",{"data-testid":e,onClick:e=>{if(!e.ctrlKey&&!e.metaKey&&(I({type:g,value:!0}),e.preventDefault(),_&&_ instanceof Function&&_(e),!w)){if(N)return void k.replace(t,y,{shallow:j,scroll:b});k.push(t,y,{shallow:j,scroll:b})}},onMouseEnter:e=>{x&&x instanceof Function&&(0,i.h5)(()=>{P.isDesktop&&x(e)}),!p||S.prefetched||t.startsWith("http")||I({type:m,value:setTimeout(()=>{!S.clicked&&t&&k.prefetch(t),I({type:d,value:!0})},500)})},onMouseLeave:()=>{p&&S.timeout&&clearTimeout(S.timeout)},href:(0,u.o)(t),className:h,target:v,...A,children:n});case"nextLink":return(0,a.jsx)(l(),{href:(0,u.o)(t),prefetch:p,target:v,className:h,scroll:b,replace:N,...A,children:n});case"nextLinkWithoutA":return(0,a.jsx)(l(),{href:(0,u.o)(t),prefetch:p,scroll:b,replace:N,...A,children:n});case"standardHtml":return(0,a.jsx)("a",{"data-testid":e,target:v,href:(0,u.o)(t),className:h,...A,onClick:_,children:n})}}},66487:(e,t,s)=>{"use strict";s.r(t),s.d(t,{SignIn:()=>k});var a=s(26514),r=s(55047),i=s(87754),n=s(46225),l=s(69316),o=s(59429),c=s(14163),u=s(80254),d=s(60269),m=s(51973),g=s(33862),f=s(14366),h=s(16074),p=s(24676),x=s(81586),_=s(49421),v=s(94560),j=s(78519),y=s(56975),w=s(23469),b=s.n(w),N=s(77767);let A=b()(()=>Promise.all([s.e(1828),s.e(4627)]).then(s.bind(s,4627)).then(e=>e.ThirdPartyLoginList),{loadableGenerated:{webpack:()=>[4627]},ssr:!1}),P=(0,o.PA)(({redirectToProfile:e=!0,stayOnSamePage:t=!1,stopFormSubmitPropagation:s=!1})=>{let{t:o}=(0,r.Bd)("common"),y=(0,n.useRouter)(),{settings:w,user:b,alert:P,dataLayer:k}=(0,x.Pj)(),{executeRecaptcha:S}=(0,c._Y)(),I=(0,p.D2)(o,"userSignIn"),L=async e=>{if(e){P.removeAlert("notVerifiedUserEmailAlert");let[t,s]=await (0,v.v1)("/"+e);s?P.handleError(s):P.addAlert({title:t.titles||o("signing-pages__email-sent__success__modal__title"),message:(0,a.jsx)("div",{"data-testid":u.Q.SignInFormEmailResentSuccessDiv,children:t.messages||o("signing-pages__email-sent__success__modal__message")})})}},{register:C,handleSubmit:F,formState:{errors:R}}=(0,i.mN)({mode:"onChange",resolver:(0,l.t)(I)}),E=async s=>{let r=await I.validate(s);if(!r)return;if(!await (0,j.HT)("signInForm",S,r.email))return void(0,j.W5)(o);b.setIsLoading(!0);let[i,n]=await b.signIn(r,void 0);if(b.setIsLoading(!1),n){let e=null;Array.isArray(n)&&(e=n.find(e=>"notVerifiedUserEmail"===e.id)),e?P.setAlerts([{id:"notVerifiedUserEmailAlert",message:(0,a.jsxs)("div",{className:"max-w-md","data-testid":u.Q.SignInFormAccountNotActivatedDiv,children:[(0,a.jsx)(f.I,{icon:"/images/icons/unfinished.svg",className:"w-16 h-16 mx-auto mb-8"}),(0,a.jsx)(h.h,{className:"!mt-0 !text-2xl text-center whitespace-pre-line md:whitespace-normal",children:o("sign-in__error__title")}),(0,a.jsx)("p",{className:"mb-8 md:mb-12 text-center md:text-left",children:o("sign-in__not-verified-user-email")}),(0,a.jsx)(d.S,{variant:"light",className:"w-full mb-4 active:!shadow-xl","data-testid":u.Q.SignInFormAccountNotActivatedSendAgainButton,onClick:()=>{e&&L(e.message)},children:o("sign-in__send-email-again")}),(0,a.jsx)(d.S,{className:"w-full text-base md:text-sm","data-testid":u.Q.SignInFormAccountNotActivatedCloseButton,onClick:()=>{P.removeAlert("notVerifiedUserEmailAlert")},children:o("sign-in__close")})]})}]):P.handleError(n);return}i&&(k.signInSuccess(i.email),e?w.routes.userOverview&&y.push(w.routes.userOverview):t?y.reload():y.push("/"))};return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"max-w-form-group w-full relative text-base",children:[(0,a.jsx)(_.a,{isActive:b.isLoading}),w.isOrsay()&&(0,a.jsx)(h.h,{heading:1,variant:h.Z.Alpha,className:"!mt-0 !mb-7.5",children:o("signing-pages__sign-in__title")}
1),w.hasThirdPartyLogins&&(0,a.jsx)(A,{mode:"log-in",destinationLogin:e&&w.routes.userOverview?w.routes.userOverview:t?y.asPath:null,destinationSignup:w.routes.userRegistrationStep2,className:"mb-7.5"}),(0,a.jsxs)("form",{name:"signInForm",onSubmit:e=>{s&&e.stopPropagation(),F(E)(e)},style:{userSelect:"none",WebkitUserSelect:"none"},children:[(0,a.jsx)(g.g,{label:o("email"),name:"email",type:"email",register:C,error:R.email,defaultValue:"",className:"!mt-2",autoComplete:"username"}),(0,a.jsx)(g.g,{label:o("password"),type:"password",name:"password",register:C,error:R.password,defaultValue:"",autoComplete:"current-password"}),(0,a.jsxs)(N.I,{className:"text-xs mt-4 lg:mt-7.5 text-gray-700",children:[(0,a.jsx)(d.S,{type:"submit",className:"w-full",size:"lg",children:o("signing-pages__sign-in__btn")}),w.routes.userForgottenPassword&&(0,a.jsx)("div",{className:"mt-2.5 mb-8",children:(0,a.jsx)(m.A,{href:w.routes.userForgottenPassword,className:"underline text-sm","data-testid":u.Q.SignInForgottenPasswordLink,children:o("forgotten-password")})}),w.routes.userRegistration&&(0,a.jsx)(d.S,{as:m.A,variant:"inverted",className:"w-full",size:"lg",href:w.routes.userRegistration,"data-testid":u.Q.SignInCreateNewAccountLink,children:o("create-new-account")}),w.routes.lpLoyaltyProgramPage&&(0,a.jsx)("p",{className:"my-4 lg:mb-8 text-center",children:(0,a.jsx)(m.A,{href:w.routes.lpLoyaltyProgramPage,className:"underline pl-1","data-testid":u.Q.SignInLoyaltyProgramPageLink,children:o("club-points__info__link-label")})})]})]})]})})}),k=({redirectToProfile:e=!0,stayOnSamePage:t=!1,stopFormSubmitPropagation:s=!1})=>(0,a.jsx)(y.X,{children:(0,a.jsx)(P,{redirectToProfile:e,stayOnSamePage:t,stopFormSubmitPropagation:s})})},74595:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return r}});let a=s(75834);function r(e,t){let s=(0,a.useRef)(null),r=(0,a.useRef)(null);return(0,a.useCallback)(a=>{if(null===a){let e=s.current;e&&(s.current=null,e());let t=r.current;t&&(r.current=null,t())}else e&&(s.current=i(e,a)),t&&(r.current=i(t,a))},[e,t])}function i(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let s=e(t);return"function"==typeof s?s:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},86750:(e,t,s)=>{"use strict";s.d(t,{$:()=>o,C:()=>u});var a=s(26514),r=s(58245),i=s.n(r),n=s(41179),l=s(81586);let o=({alt:e,aspectRatio:t=null,className:s,height:r,placeholder:l,sizes:o,src:u,unoptimized:d,width:m,onClick:g,style:f,priority:h,...p})=>{let x=c(o);return(null===t&&m&&r&&(t=m/r),u)?(0,a.jsx)("div",{className:"c-media max-w-full",onClick:g,children:(0,a.jsx)(i(),{loader:({src:e,width:s,quality:a})=>(0,n.T)({src:e,width:s,quality:a,height:t?Math.round(s/t):0}),sizes:x,width:m,height:r,src:u,placeholder:l,className:s,unoptimized:d,style:f,priority:h,alt:e||"",...p})}):(0,a.jsx)("div",{className:"c-media max-w-full",children:(0,a.jsx)("div",{className:s,style:{aspectRatio:t||void 0,...f}})})},c=e=>{let{screens:t}=(0,l.Pj)();if(!e)return;if(e.custom)return e.custom;let s="";return Object.entries(t).forEach(t=>{let[a,r]=t;e[a]&&(s+=`(max-width: ${r}) ${e[a]},`)}),e.default&&(s+=`${e.default}`),s||void 0},u=({src:e,autoPlay:t=!0,width:s,controls:r=!1,ref:i,...l})=>e?(0,a.jsx)("video",{ref:i,preload:"metadata",autoPlay:t,loop:!0,muted:!0,controls:r,playsInline:!0,width:s,...l,children:(0,a.jsx)("source",{src:(0,n.f)(e),type:"video/mp4"})},e):null}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.