1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,345500,e=>{"use strict";e.s(["GenericPage",()=>nY,"default",()=>nQ],345500);var t=e.i(391398);e.i(471985);var n=e.i(542197),a=e.i(228638);e.i(636428);var l=e.i(478514),i=e.i(931829),r=e.i(163725),o=e.i(276025),s=e.i(168489),d=e.i(827581),c=e.i(191788),u=e.i(957739),p=e.i(194182);e.i(543336);var m=e.i(345970);e.i(261354);var h=e.i(189163),g=e.i(948920);let f=e=>{let{dataBrand:n,dataCountry:a,dataLocale:l,dataPlatform:i,dataPlatformAccount:r,triggerCrmSync:o}=e;(0,c.useEffect)(()=>{let e=document.querySelector("[data-product-reference-trigger]");e&&(e.style.display="none"),window.addEventListener("message",t=>{(null==t?void 0:t.data.type)==="ka-where-to-find-show"&&(null==e||e.click()),(null==t?void 0:t.data.type)==="ka-stop-loading"&&d(!1),(null==t?void 0:t.data.type)==="ka-start-loading"&&d(!0),(null==t?void 0:t.data.type)==="ka-product-registration-submit"&&o({privacy:t.data.privacy,profiling:t.data.profiling})})},[]);let[s,d]=(0,c.useState)(!0);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(p.default,{id:"prod-reg-bootstrap",strategy:"afterInteractive",src:(0,g.getPublicConfigByLocale)(l).prodRegScriptUrl}),s?(0,t.jsx)(h.Loader,{}):null,(0,t.jsx)(v,{id:"prodreg-ref-app","data-brand":n,"data-country":a,"data-locale":l,"data-platform":i,"data-platform-account":r})]})},v=(0,m.styled)("div",{marginTop:"$2"});var x=e.i(310215),y=e.i(650804),b=e.i(965527);let w=e=>{let{locale:n}=e,{prodRegApp:a}=j(n)||{};return a&&n?(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(f,{...a})}):null},j=e=>{let t=(0,g.getPublicConfigByLocale)(e).region,n=async n=>{await y.NextSelfClient.crmSync(e,t,n).then(e=>((null==e?void 0:e.success)&&b.queryClient.invalidateQueries(r.useGetSessionData.queryKey),e)).catch(e=>{throw e})};return{prodRegApp:{dataBrand:"KA",dataCountry:(0,x.toDataCountry)(e),dataLocale:(0,x.toDataLocale)(e),dataPlatformAccount:(0,x.toDataPlatformAccount)(e),dataPlatform:"SW4",triggerCrmSync:e=>n(e)}}};e.i(560976);var _=e.i(932788);let S=e=>{let{title:n,dataBrand:a,dataCountry:l,dataLocale:i}=e;return(0,t.jsxs)("div",{children:[(0,t.jsx)(p.default,{id:"store-locator-bootstrap",strategy:"afterInteractive",src:(0,g.getPublicConfigByLocale)(i).storeLocatorScriptUrl,"data-component-id":"store-finder-script"}),n?(0,t.jsx)(_.Heading,{heading:"pageTitle",as:"h1",css:{p:"$4","@xl":{p:"$4 $15"},maxWidth:"$312"},"data-component-id":"store-finder-title",children:n}):null,(0,t.jsx)($,{id:"store-locator-app","data-brand":a,"data-country":l,"data-locale":i,"data-component-id":"store-finder-app"})]})},$=(0,m.styled)("div",{});var k=e.i(224669),C=e.i(719559),E=e.i(770640);let T=e=>{let{locale:n}=e,{props:a}=L(n);return a&&n?(0,t.jsx)(S,{...a}):null},L=t=>{let{data:n}=(0,C.useGetTranslations)({locale:t});return(0,E.useEventListener)("message",t=>{var n,a,l,i,r,o,s,d,c,u,p,m,h,g,f,v,x,y,b,w,j,_,S,$,C,E,T,L,I,R,D,O,P,A,B,W;(null==t||null==(n=t.data)?void 0:n.event)===k.AnalyticEvents.storeLocatorSearch&&(t=>(t=>{let n;return n={search_term:t.search_term,search_results:t.search_results,type:t.type},e.g.dataLayer.push({event:k.AnalyticEvents.storeLocatorSearch,...n})})({search_term:t.search_term,search_results:t.search_results,type:t.type}))({search_term:null==t||null==(r=t.data)?void 0:r.search_term,search_results:null==t||null==(o=t.data)?void 0:o.search_results,type:null==t||null==(s=t.data)?void 0:s.type}),(null==t||null==(a=t.data)?void 0:a.event)===k.AnalyticEvents.storeLocatorResultImpression&&(t=>(t=>{let n;return n={search_term:t.search_term,search_results:t.search_results,type:t.type,store_name:t.store_name,store_id:t.store_id,store_brand:t.store_brand,store_category:t.store_category,store_variant:t.store_variant,store_address:t.store_address},e.g.dataLayer.push({event:k.AnalyticEvents.storeLocatorResultImpression,...n})})({search_term:t.search_term,search_results:t.search_results,type:t.type,store_name:t.store_name,store_id:t.store_id,store_brand:t.store_brand,store_category:t.store_category,store_variant:t.store_variant,store_address:t.store_address}))({search_term:null==t||null==(d=t.data)?void 0:d.search_term,search_results:null==t||null==(c=t.data)?void 0:c.search_results,type:null==t||null==(u=t.data)?void 0:u.type,store_name:null==t||null==(p=t.data)?void 0:p.store_name,store_id:null==t||null==(m
1=t.data)?void 0:m.store_id,store_brand:null==t||null==(h=t.data)?void 0:h.store_brand,store_category:null==t||null==(g=t.data)?void 0:g.store_category,store_variant:null==t||null==(f=t.data)?void 0:f.store_variant,store_address:null==t||null==(v=t.data)?void 0:v.store_address}),(null==t||null==(l=t.data)?void 0:l.event)===k.AnalyticEvents.storeLocatorSelectSearchResult&&(t=>(t=>{let n;return n={event_details:t.event_details,search_term:t.search_term,search_results:t.search_results,type:t.type,store_name:t.store_name,store_id:t.store_id,store_brand:t.store_brand,store_category:t.store_category,store_variant:t.store_variant,store_address:t.store_address},e.g.dataLayer.push({event:k.AnalyticEvents.storeLocatorSelectSearchResult,...n})})({event_details:t.event_details,search_term:t.search_term,search_results:t.search_results,type:t.type,store_name:t.store_name,store_id:t.store_id,store_brand:t.store_brand,store_category:t.store_category,store_variant:t.store_variant,store_address:t.store_address}))({event_details:null==t||null==(x=t.data)?void 0:x.event_details,search_term:null==t||null==(y=t.data)?void 0:y.search_term,search_results:null==t||null==(b=t.data)?void 0:b.search_results,type:null==t||null==(w=t.data)?void 0:w.type,store_name:null==t||null==(j=t.data)?void 0:j.store_name,store_id:null==t||null==(_=t.data)?void 0:_.store_id,store_brand:null==t||null==(S=t.data)?void 0:S.store_brand,store_category:null==t||null==($=t.data)?void 0:$.store_category,store_variant:null==t||null==(C=t.data)?void 0:C.store_variant,store_address:null==t||null==(E=t.data)?void 0:E.store_address}),(null==t||null==(i=t.data)?void 0:i.event)===k.AnalyticEvents.storeLocatorItinerary&&(t=>(t=>{let n;return n={event_details:t.event_details,search_term:t.search_term,search_results:t.search_results,type:t.type,store_name:t.store_name,store_id:t.store_id,store_brand:t.store_brand,store_category:t.store_category,store_variant:t.store_variant,store_address:t.store_address},e.g.dataLayer.push({event:k.AnalyticEvents.storeLocatorItinerary,...n})})({event_details:t.event_details,search_term:t.search_term,search_results:t.search_results,type:t.type,store_name:t.store_name,store_id:t.store_id,store_brand:t.store_brand,store_category:t.store_category,store_variant:t.store_variant,store_address:t.store_address}))({event_details:null==t||null==(T=t.data)?void 0:T.event_details,search_term:null==t||null==(L=t.data)?void 0:L.search_term,search_results:null==t||null==(I=t.data)?void 0:I.search_results,type:null==t||null==(R=t.data)?void 0:R.type,store_name:null==t||null==(D=t.data)?void 0:D.store_name,store_id:null==t||null==(O=t.data)?void 0:O.store_id,store_brand:null==t||null==(P=t.data)?void 0:P.store_brand,store_category:null==t||null==(A=t.data)?void 0:A.store_category,store_variant:null==t||null==(B=t.data)?void 0:B.store_variant,store_address:null==t||null==(W=t.data)?void 0:W.store_address})},window),{props:{title:(null==n?void 0:n.storeLocatorPageTitleLabel)?null==n?void 0:n.storeLocatorPageTitleLabel:"Store Locator",dataBrand:"KA",dataCountry:(0,x.toDataCountryStoreLocator)(t),dataLocale:(0,x.toDataLocale)(t)}}};var I=e.i(68633);e.i(354526);var R=e.i(309015);e.i(187564);var D=e.i(115143);e.i(810615);var O=e.i(436595);e.i(406095);var P=e.i(376628),A=e.i(464882),B=e.i(164306),W=e.i(683217),G=e.i(315013);let M=e=>{var n,a;let{facets:l,selectedFilters:i,onFilterSelected:r,translations:o,clearCta:s}=e,[d,u]=(0,c.useState)(null==l||null==(n=l.clusters)?void 0:n.reduce((e,t)=>(e[t.key]=!1,e),{}));return(0,t.jsxs)(N,{children:[(0,t.jsx)(_.Heading,{heading:"h1",as:"h2",css:{textAlign:"center",px:"$1","@md":{px:"8rem"}},children:null==o?void 0:o.demoPageFiltersTitleLabel}),(0,t.jsx)(R.Text,{css:{m:"0 0 $8"},children:null==o?void 0:o.demoPageFiltersSubTitleLabel}),(0,t.jsx)(I.Flex,{gap:5,css:{justifyContent:"center",flexDirection:"column","@md":{flexDirection:"row",flexWrap:"wrap",px:"8rem"},"@lg":{flexWrap:"nowrap",px:0}},children:null==l||null==(a=l.clusters)?void 0:a.map(e=>{var n,a,l;let s=i[e.key],c=d[e.key];return(0,t.jsxs)(G.Root,{onOpenChange:()=>(e=>{u(t=>({...t,[e]:!t[e]}))})(e.key),children:[(0,t.jsxs)(z,{id:e.key,disabled:e.items.length<=0,children:[(0,t.jsx)("span",{children:c?o[e.label]:s?null==(a=e.items)||null==(n=a.find(e=>e.value===s))?void 0:n.label:o[e.label]}),(0,t.jsx)(O.Icon,{icon:"ArrowDownBlack",label:""})]}),(0,t.jsx)(G.Portal,{children:(0,t.jsx)(F,{children:null==(l=e.items)?void 0:l.map(n=>(0,t.jsx)(H,{onSelect:()=>
1r(e.key,n.value),children:(0,t.jsx)("span",{title:n.label,children:n.label})},n.value))})})]})})}),s&&Object.entries(i).length>0?(0,t.jsx)(U,{...s,type:"button",children:s.children}):null]})},z=(0,W.styled)(G.Trigger,{display:"flex",justifyContent:"space-between",backgroundColor:"$bkgWhite",padding:"15px $5",border:"0.0625rem solid $inputBorder",borderRadius:5,fontFamily:"$nunito",fontWeight:"400",fontSize:"1rem",lineHeight:"1.5",boxShadow:"inset 0 0 0.625rem 0.3125rem #f2f2f2",width:"15rem",height:"100%",margin:"0",color:"$copyBlack",transition:"none",boxSizing:"border-box",appearance:"none",whiteSpace:"nowrap",textOverflow:"ellipsis",alignItems:"center",minHeight:55,overflow:"hidden","> span":{overflow:"hidden",textOverflow:"ellipsis"},'&[data-state="open"]':{borderBottom:"none",borderBottomRightRadius:0,borderBottomLeftRadius:0,color:"LightGrey",padding:"0 $5",boxShadow:"none"},"@md":{pr:60},variants:{disabled:{true:{opacity:"50%",pointerEvents:"none"}}}}),F=(0,W.styled)(G.Content,{backgroundColor:"$bkgWhite",padding:"$0-5 $6 5px",border:"0.0625rem solid $inputBorder",borderTop:"none",borderBottomRightRadius:5,borderBottomLeftRadius:5,fontFamily:"$nunito",fontWeight:"400",fontSize:"1rem",lineHeight:"1.5",boxShadow:"inset 0 0 0.625rem 0.3125rem #f2f2f2",width:"15rem",margin:"0",color:"$copyBlack",transition:"none",boxSizing:"border-box",appearance:"none",paddingRight:"3.125rem",whiteSpace:"nowrap",textOverflow:"ellipsis",maxHeight:"200px",overflowX:"hidden",overflowY:"auto",zIndex:"15 !important",'&[role="menu"]':{paddingInline:"1rem"},'&[data-state="open"]':{boxShadow:"none"}}),H=(0,W.styled)(G.Item,{display:"flex",cursor:"pointer","&:focus":{color:"$copyRed"},"&:focus-visible":{outline:"2px solid $copyBlack"},"&:hover":{color:"$copyRed",outline:"none"},"> span":{overflow:"hidden",textOverflow:"ellipsis"}}),N=(0,W.styled)(a.Container,{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center"}),U=(0,W.styled)(P.Button,{alignItems:"center",marginTop:"2rem",mx:"$2-5",minWidth:"15rem"}),V={DeDe:"DE_DE"},q=e=>{let{id:n,eventsCount:a,titleLabel:l,readMoreLabel:i,readLessLabel:r,noEventsLabel:o,demos:s,onErrorImg:d,onNextPage:u,isFirstClick:p,setIsFirstClick:m,isLoading:g,currentPage:f,pageCount:v,locale:x,facets:y,selectedFilters:b,onFiltersSelected:w,translations:j,clearCta:S,enableMarginReduction:$}=e,[k,{toggle:C}]=(0,A.useBoolean)(),E=(0,c.useRef)(null);return(0,t.jsxs)(t.Fragment,{children:[g?(0,t.jsx)(h.Loader,{}):null,(0,t.jsx)(K,{size:"xl",css:{backgroundColor:x===V.DeDe?"rgb(242, 242, 242)":void 0},enableMarginReduction:$,children:(0,t.jsx)(M,{facets:y,onFilterSelected:w,selectedFilters:b,translations:j,clearCta:S})}),(0,t.jsx)(X,{size:"sm",hasPadding:!0,children:a>0?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(_.Heading,{heading:"h2",as:"h2",css:{textAlign:"center",m:"0 0 $8"},children:[a," ",l]}),(0,t.jsx)(Y,{id:n,contentVisible:k,"data-id":n,ref:E,children:null==s?void 0:s.map((e,n)=>{var a;return(0,t.jsxs)(Q,{justify:"center",children:[(null==e?void 0:e.date)?(0,t.jsxs)(J,{align:"center",justify:"center",direction:"column",children:[(0,t.jsx)(ee,{children:e.date.monthShortLabel}),(0,t.jsx)(ee,{css:{fontWeight:"$bold",fontSize:"$4xl",lineHeight:"$10"},children:e.date.day})]}):null,(0,t.jsxs)(et,{children:[(0,t.jsxs)(en,{children:[(null==e?void 0:e.date)?(0,t.jsxs)(Z,{align:"center",justify:"center",direction:"column",children:[(0,t.jsx)(ee,{css:{fontSize:"$xs"},children:e.date.monthShortLabel}),(0,t.jsx)(ee,{css:{fontWeight:"$bold",fontSize:"$xl",lineHeight:"$6"},children:e.date.day})]}):null,(0,t.jsxs)(ea,{justify:"between",children:[(0,t.jsxs)(el,{children:[(null==e?void 0:e.area)?(0,t.jsx)(R.Text,{css:{textTransform:"uppercase",fontWeight:"$black"},children:e.area}):null,(null==e?void 0:e.city)?(0,t.jsx)(R.Text,{css:{textTransform:"uppercase"},children:e.city}):null]}),(null==e?void 0:e.category)?(0,t.jsx)(ei,{align:"end",children:null==e||null==(a=e.category)?void 0:a.map((e,n)=>(0,t.jsx)(er,{children:(0,t.jsx)(D.Image,{layout:"fill",objectFit:"contain",src:function(e){return e?"https://s3.eu-west-1.amazonaws.com/assets.prod.sandwatch/static_assets/images/ka/menu-icons/".concat(e,".svg"):""}(e),alt:e,onError:e=>d(e)})},n))}):null]})]}),(0,t.jsxs)(eo,{children:[(null==e?void 0:e.topic)?(0,t.jsx)(es,{heading:"h3",as:"h3",children:e.topic}):null,(null==e?void 0:e.location)?(0,t.jsx)(ed,{children:e.location}):null,(null==e?void 0:e.address)?(0,t.jsxs)(ed,{align:"center",children:[(0,t.jsx)(ec,{icon:"Marker",label:""}),(0,t.jsx)(R.Text,{children:e.address})]}):null,(null==e?void 0:e.time)?(0,t.jsxs)(ed,{align:"center",children:[(0,t.jsx)(ec,{icon:"Timer",label:""}),(0,t.jsx)(R.Text,{children:e.time})]}):null]})]})]},n)})}),a>5?(0,t.jsx)(eu,{contentVisible:k,children:(0,t.jsx)(ep,{textColor:"$copyBlack",backgroundColor:"$bkgWhite",onClick:()=>{1===v?C():(p?C():u(),p&&m(!1)),k&&E.current&&E.current.scrollIntoView()},children:a<=20&&k?r:i})}):null]}):(0,t.jsx)(B.SearchNoResult,{query:"",htmlText:o})})]})},K=(0,m.styled)(a.Container,{p:"$5",display:"flex",flexDirection:"column","@lg":{py:m.Gutter.md}}),X=(0,m.styled)(a.Container,{my:m.Gutter.sm,display:"flex",flexDirection:"column","@lg":{my:m.Gutter.md}}),Y=(0,m.styled)("div",{variants:{contentVisible:{false:{"& > div":{"&:nth-child(6)":{position:"relative",overflow:"hidden",zIndex:"0","&:after":{position:"absolute",width:"100%",height:165,content:"''",display:"block",zIndex:1e3,bottom:0,left:0,backgroundImage:"linear-gradient(0deg, rgba(255,255,255,1) 38%, rgba(255,255,255,1) 38%, rgba(255,255,255,0) 100%)","@lg":{height:260,backgroundImage:"linear-gradient(0deg, rgba(255,255,255,1) 24%, rgba(255,255,255,1) 24%, rgba(255,255,255,0) 100%)"}}}
1,"&:not(:nth-child(-n+6))":{visibility:"hidden",width:0,height:0,margin:0,padding:0,"& *":{visibility:"hidden",width:0,height:0,margin:0,padding:0}}}}}}}),Q=(0,m.styled)(I.Flex,{mb:"$10"}),J=(0,m.styled)(I.Flex,{width:"6.25rem",height:"6.25rem",backgroundColor:"$copyRed",color:"$copyWhite",mr:"$5",display:"none","@md":{display:"flex"},"@lg":{width:"10rem",height:"10rem"}}),Z=(0,m.styled)(I.Flex,{width:"$14",height:"$14",backgroundColor:"$copyRed",color:"$copyWhite",mr:"$5",mb:"$3","@md":{display:"none"}}),ee=(0,m.styled)(R.Text,{textTransform:"uppercase",color:"$copyWhite",my:0}),et=(0,m.styled)("div",{width:"100%","@md":{width:"calc(100% - (6.25rem + $5))"},"@lg":{width:"calc(100% - (10rem + $5))"}}),en=(0,m.styled)(I.Flex,{borderBottom:"2px solid $copyLightGray","@md":{borderBottom:"none"}}),ea=(0,m.styled)(I.Flex,{width:"calc(100% - ($14 + $5))",pb:"$3",flexDirection:"column !important","@md":{width:"100%",pb:"$5",flexDirection:"row !important",borderBottom:"2px solid $copyLightGray"}}),el=(0,m.styled)("div",{}),ei=(0,m.styled)(I.Flex,{}),er=(0,m.styled)("div",{position:"relative",width:"$8",height:"$8"}),eo=(0,m.styled)("div",{mt:"$3","@md":{mt:"$5"}}),es=(0,m.styled)(_.Heading,{fontWeight:"$black",mb:"$2",mt:0,fontSize:"$lg",lineHeight:"$5","@md":{fontSize:"$xl",lineHeight:"1.375rem"}}),ed=(0,m.styled)(I.Flex,{mb:".5rem",mt:0}),ec=(0,m.styled)(O.Icon,{fill:"$copyRed",size:24,mr:"$2"}),eu=(0,m.styled)("div",{display:"flex",flexDirection:"row",justifyContent:"center",alignContent:"center",marginTop:"$6",zIndex:"$max",variants:{contentVisible:{false:{transform:"translateY(-200%)"},true:{mt:m.Gutter.sm,"@md":{mt:m.Gutter.md}}}}}),ep=(0,m.styled)(P.Button,{border:"1px solid $darkGreyBorder",boxShadow:"none !important"});var em=e.i(203828);let eh=e=>{let{module:n,locale:a}=e,{props:l}=eg(n,a)||{};return l?(0,t.jsx)(q,{...l}):null},eg=(e,t)=>{var n,a,l,i,r,o,s,d,u;let{data:p}=(0,C.useGetTranslations)({locale:t}),[m,h]=(0,c.useState)(e),[g,f]=(0,c.useState)(!0),[v,b]=(0,c.useState)(null==e||null==(n=e.meta)?void 0:n.page),[w,j]=(0,c.useState)(!0),[_,S]=(0,c.useState)(!1),[$,k]=(0,c.useState)(null==e||null==(a=e.meta)?void 0:a.hasNextPage),[E,T]=(0,c.useState)({}),[L,I]=(0,c.useState)(void 0),R=(0,em.useRouter)(),D=(0,c.useMemo)(()=>{var e,t,n;let a=(null==(e=Object.entries(E).reduce((e,t)=>{let[n,a]=t;return[...e,{key:n,value:a}]},[]))?void 0:e.map(e=>{let{key:t,value:n}=e;return"".concat(t,"=").concat(n)}))||[],l=null==a?void 0:a.join(";");return null==(n=Object.entries({...E?{sv:[l]}:{}}))||null==(t=n.reduce((e,t)=>{let[n,a]=t;return[...e,{key:n,value:a}]},[]))?void 0:t.filter(e=>!!(null==e?void 0:e.value[0]))},[E]),O=new Date().toLocaleString((0,x.toISOLocale)(t),{month:"long",year:"numeric"}),P=null==e||null==(o=e.facets)||null==(r=o.clusters)||null==(i=r.find(e=>"fct_date"===e.key))||null==(l=i.items.find(e=>(null==e?void 0:e.value)===O))?void 0:l.value;return((0,c.useEffect)(()=>{if(g){var n,a,l,i,r,o;f(!1);let t=null==R||null==(n=R.query)?void 0:n.sv;t?T(null==t?void 0:t.split(";").reduce((e,t)=>{let[n,a]=t.split("=");return e[n]=a,e},{})):(null==e||null==(a=e.data)?void 0:a.length)&&P?T({fct_date:P}):(null==e||null==(l=e.data)?void 0:l.length)&&!P&&T({fct_date:null==e||null==(o=e.facets)||null==(r=o.clusters)||null==(i=r.find(e=>"fct_date"===e.key))?void 0:i.items[0].value})}else{let e=(null==D?void 0:D.reduce((e,t)=>{let{key:n,value:a}=t;return{...e,[n]:a}},{}))||{},n=Object.entries(R.query).filter(e=>{let[t]=e;return t!==R.asPath&&R.asPath.includes(t)}).map(e=>{let[t,n]=e;return{key:t,value:n}}),a=(null==n?void 0:n.reduce((e,t)=>{let{key:n,value:a}=t;return{...e,[n]:a}},{}))||{};a.sv=e.sv,void 0===a.sv&&delete a.sv,a.sv||(a.sv=[]);let l=encodeURIComponent(e.sv);void 0!==l&&(S(!0),I(encodeURIComponent(l)),y.NextSelfClient.getDemoEvents(t,a.page,l).then(e=>{h(e),S(!1),R.push({pathname:R.asPath.split("?")[0],query:a},void 0,{shallow:!0})}))}},[D]),e)?{props:{id:"demo-list-module",eventsCount:null==(s=m.meta)?void 0:s.itemCount,titleLabel:null==p?void 0:p.demoTitleLabel,readMoreLabel:null==p?void 0:p.readMoreLabel,readLessLabel:null==p?void 0:p.readLessLabel,noEventsLabel:null==p?void 0:p.noEventsLabel,demos:(null==m||null==(d=m.data)?void 0:d.map(e=>({area:e.area,date:e.date,city:e.city,category:e.category,location:e.location,address:e.address,time:e.time,topic:e.topic})))||[],onErrorImg:e=>{e.target.parentNode.parentNode.style.display="none"},onNextPage:()=>void(m.meta.itemCount>20&&$&&(S(!0),y.NextSelfClient.getDemoEvents(t,v+1,L).then(e=>{w||(h(e),b(e.meta.page),k(e.meta.hasNextPage),S(!1))})),m.meta.itemCount>20&&!$&&(S(!0),y.NextSelfClient.getDemoEvents(t,0,L).then(e=>{w||(h(e),b(e.meta.page),k(e.meta.hasNextPage),S(!1))}))),isFirstClick:w,setIsFirstClick:j,isLoading:_,currentPage:v,pageCount:null==m||null==(u=m.meta)?void 0:u.pageCount,locale:t,facets:null==e?void 0:e.facets,onFiltersSelected:(e,t)=>{T(n=>({...n,[e]:t}))},selectedFilters:E,translations:p,clearCta:{children:null==p?void 0:p.clearFilterLabel,backgroundColor:"$ctaWhite",textColor:"$copyBlack",onClick:()=>{var t,n,a,l,i;f(!1),(null==e||null==(t=e.data)?void 0:t.length)&&P?T({fct_date:P}):(null==e||null==(n=e.data)?void 0:n.length)&&!P&&T({fct_date:null==e||null==(i=e.facets)||null==(l=i.cluster
1s)||null==(a=l.find(e=>"fct_date"===e.key))?void 0:a.items[0].value})}}}}:null},ef={retries:3,delay:250},ev=e=>{let{locale:n,labels:a}=e,[l,i]=(0,c.useState)(!0),[r,o]=(0,c.useState)([]),[s,d]=(0,c.useState)("C0001");return(0,c.useEffect)(()=>{(async()=>{o(await ex(a)),i(!1)})()},[a]),(0,t.jsxs)(t.Fragment,{children:[l?(0,t.jsx)(h.Loader,{}):null,(0,t.jsxs)(eb,{children:[(0,t.jsx)(ew,{children:null==r?void 0:r.map((e,n)=>e?(0,t.jsx)(ej,{active:s==e.identifier,children:(0,t.jsx)("a",{onClick:()=>d(e.identifier),children:e.title})},n):null)}),(0,t.jsx)(e_,{children:null==r?void 0:r.map((e,n)=>{var l;return e?(0,t.jsxs)(eS,{active:s==e.identifier,children:[(0,t.jsx)(e$,{children:e.title}),(0,t.jsx)(ek,{children:e.description}),(0,t.jsxs)(eC,{children:[(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{children:a.name}),(0,t.jsx)("th",{children:a.host}),(0,t.jsx)("th",{children:a.duration})]}),null==(l=e.cookies)?void 0:l.map((n,a)=>e?(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{children:n.name}),(0,t.jsx)("td",{children:n.host}),(0,t.jsx)("td",{children:n.duration})]}):null)]})]},n):null})})]})]})};async function ex(e){for(let t=0;t<ef.retries;t++){let n=await ey(t+1,e);if(!1!==n)return n}return[]}async function ey(e,t){return new Promise((n,a)=>{setTimeout(()=>{var e,a;n((e=t,null!=(a=window)&&!!a.Optanon&&function(e){var t;let n=(null==(t=window)?void 0:t.Optanon.GetDomainData()).Groups,a=[];for(let t=0;t<n.length;t++)if(n[t].Cookies.length>0){let l=n[t].Cookies,i=[];for(let t=0;t<l.length;t++){let n=l[t],a="";a=n.IsSession?e.session:0===parseInt(n.Length)?"1 "+e.day:parseInt(n.Length)+1+" "+e.days;let r={name:n.Name,host:n.Host,duration:a};i.push(r)}a.push({title:n[t].GroupName,description:n[t].GroupDescription,cookies:i,identifier:n[t].CustomGroupId})}return a}(e)))},ef.delay*e)})}let eb=(0,m.styled)(a.Container,{display:"flex",flexDirection:"column",width:"100%",px:"$5","@md":{flexDirection:"row",flexWrap:"wrap",alignItems:"stretch"}}),ew=(0,m.styled)("ul",{display:"inline-flex",overflowX:"auto",alignItems:"center",flexWrap:"nowrap",width:"100%",minHeight:"63px",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},"li:first-of-type a":{pl:0},"@lg":{marginBottom:-1,justifyContent:"flex-start"}}),ej=(0,m.styled)("li",{flexShrink:"0",boxSizing:"border-box",transform:"translateY(0)",cursor:"pointer",a:{display:"block",textDecorationLine:"none",fontSize:"15px",padding:"$6 $2","@lg":{padding:"$8 $4"}},"&:after":{content:"''",display:"block",borderBottom:"0.1875rem solid $bkgRed",position:"absolute",bottom:0,left:0,width:0,transition:"width .4s ease-in-out"},"&:focus":{fontWeight:"$black"},"@lg":{"&:hover":{"&:after":{width:"100%"}}},variants:{active:{true:{fontWeight:"$black","&:after":{width:"100%"}}}}}),e_=(0,m.styled)(a.Container,{}),eS=(0,m.styled)(a.Container,{display:"none",marginTop:"$7-5",variants:{active:{true:{display:"block"}}}}),e$=(0,m.styled)(a.Container,{fontWeight:"$black",lineHeight:"$tight",color:"$copyBlack",fontSize:"1.75rem"}),ek=(0,m.styled)(a.Container,{color:"$copyBlack",fontSize:"$s",my:"$4"}),eC=(0,m.styled)("table",{display:"block",overflowX:"auto",my:"$7-5",width:"100%",borderCollapse:"collapse",tbody:{display:"table",width:"calc(100% - 1px)","@md":{tableLayout:"fixed"}},th:{p:"$3-75",fontSize:"$lg",fontWeight:"$black",textAlign:"left",borderRight:"1px solid $modulesBorder"},tr:{width:"100%","&:nth-child(even)":{backgroundColor:"$bkgWhiteSmoke"}},td:{fontSize:"9px",p:"$1-75 $3-75 $3-75",borderRight:"1px solid $modulesBorder",maxWidth:"33%","@md":{fontSize:"$m"}},"th, td ":{"> p":{my:"0"}}}),eE=e=>{let{locale:n}=e,{props:a}=eT(n)||{};return a?(0,t.jsx)(ev,{...a}):null},eT=e=>{var t,n,a,l,i,r;let{data:o}=(0,C.useGetTranslations)({locale:e});return{props:{locale:e,labels:{name:null!=(t=null==o?void 0:o.cookieSummaryName)?t:"Name",host:null!=(n=null==o?void 0:o.cookieSummaryHost)?n:"Host",duration:null!=(a=null==o?void 0:o.cookieSummaryDuration)?a:"Duration",day:null!=(l=null==o?void 0:o.cookieSummaryDay)?l:"day",days:null!=(i=null==o?void 0:o.cookieSummaryDays)?i:"days",session:null!=(r=null==o?void 0:o.cookieSummarySession)?r:"Session"}}}};var eL=e.i(80248),eI=e.i(620739);e.i(20479);var eR=e.i(841499),eD=e.i(724096);e.i(388008);var eO=e.i(879045),eP=e.i(706701),eA=e.i(558021);e.i(669934);var eB=e.i(136082);e.i(709887);var eW=e.i(86212);e.i(405048);var eG=e.i(572166),eM=e.i(691567),ez=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function eF(){return(eF=Object.assign.bind()).apply(this,arguments)}function eH(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}
1function eN(e,t){return(eN=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var eU=function(e){function t(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(eH(t)),t.handleErrored=t.handleErrored.bind(eH(t)),t.handleChange=t.handleChange.bind(eH(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(eH(t)),t}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,eN(t,e);var n=t.prototype;return n.getCaptchaFunction=function(e){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[e]:this.props.grecaptcha[e]:null},n.getValue=function(){var e=this.getCaptchaFunction("getResponse");return e&&void 0!==this._widgetId?e(this._widgetId):null},n.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},n.execute=function(){var e=this.getCaptchaFunction("execute");if(e&&void 0!==this._widgetId)return e(this._widgetId);this._executeRequested=!0},n.executeAsync=function(){var e=this;return new Promise(function(t,n){e.executionResolve=t,e.executionReject=n,e.execute()})},n.reset=function(){var e=this.getCaptchaFunction("reset");e&&void 0!==this._widgetId&&e(this._widgetId)},n.forceReset=function(){var e=this.getCaptchaFunction("reset");e&&e()},n.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},n.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},n.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},n.explicitRender=function(){var e=this.getCaptchaFunction("render");if(e&&void 0===this._widgetId){var t=document.createElement("div");this._widgetId=e(t,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(t)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},n.componentDidMount=function(){this.explicitRender()},n.componentDidUpdate=function(){this.explicitRender()},n.handleRecaptchaRef=function(e){this.captcha=e},n.render=function(){var e=this.props,t=(e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,e.isolated,function(e,t){if(null==e)return{};var n,a,l={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(l[n]=e[n]);return l}(e,ez));return c.createElement("div",eF({},t,{ref:this.handleRecaptchaRef}))},t}(c.Component);eU.displayName="ReCAPTCHA",eU.propTypes={sitekey:eM.default.string.isRequired,onChange:eM.default.func,grecaptcha:eM.default.object,theme:eM.default.oneOf(["dark","light"]),type:eM.default.oneOf(["image","audio"]),tabindex:eM.default.number,onExpired:eM.default.func,onErrored:eM.default.func,size:eM.default.oneOf(["compact","normal","invisible"]),stoken:eM.default.string,hl:eM.default.string,badge:eM.default.oneOf(["bottomright","bottomleft","inline"]),isolated:eM.default.bool},eU.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var eV=e.i(734980);function eq(){return(eq=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var eK={},eX=0,eY="onloadcallback";function eQ(){return"undefined"!=typeof window&&window.recaptchaOptions||{}}let eJ=(function(e,t){return t=t||{},function(n){var a=n.displayName||n.name||"Component",l=function(a){function l(e,t){var n;return(n=a.call(this,e,t)||this).state={},n.__scriptURL="",n}l.prototype=Object.create(a.prototype),l.prototype.constructor=l,l.__proto__=a;var i=l.prototype;return i.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+eX++),this.__scriptLoaderID},i.setupScriptURL=function(){return this.__scriptURL="function"==typeof e?e():e,this.__scriptURL},i.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)})},i.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=eK[this.__scriptURL];if(!e||!e.loaded)throw Error("Script is not loaded.");for(var n in e.observers)e.observers[n](e);delete window[t.callbackName]},i.componentDidMount=function(){var e=this,n=this.setupScriptURL(),a=this.asyncScriptLoaderGetScriptLoaderID(),l=t,i=l.globalName,r=l.callbackName,o=l.scriptId;if(i&&void 0!==window[i]&&(eK[n]={loaded:!0,observers:{}}),eK[n]){var s=eK[n];return s&&(s.loaded||s.errored)?void this.asyncScriptLoaderHandleLoad(s):void(s.observers[a]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var d={};d[a]=function(t){return e.asyncScriptLoaderHandleLoad(t)},eK[n]={loaded:!1,observers:d};var c=document.createElement("script");for(var u in c.src=n,c.async=!0,t.attributes)c.setAttribute(u,t.attributes[u]);o&&(c.id=o);var p=function(e){if(eK[n]){var t=eK[n].observers;for(var a in t)e(t[a])&&delete t[a]}};r&&"undefined"!=typeof window&&(window[r]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),c.onload=function(){var e=eK[n];e&&(e.loaded=!0,p(function(t){return!r&&(t(e),!0)}))},c.onerror=function(){var e=eK[n];e&&(e.errored=!0,p(function(t){return t(e),!0}))},document.body.appendChild(c)},i.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===t.removeOnUnmount)for(var n=document.getElementsByTagName("script"),a=0;a<n.length;a+=1)n[a].src.indexOf(e)>-1&&n[a].parentNode&&n[a].parentNode.removeChild(n[a]);var l=eK[e];l&&(delete l.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===t.removeOnUnmount&&delete eK[e])},i.render=function(){var e=t.globalName,a=this.props,l=(a.asyncScriptOnLoad,a.forwardedRef),i=function(e,t){if(null==e)return{};var n,a,l={},i=Object.keys(e);for(a=0;a<i.length;a++)t.indexOf(n=i[a])>=0||(l[n]=e[n]);return l}(a,["asyncScriptOnLoad","forwardedRef"]);return e&&"undefined"!=typeof window&&(i[e]=void 0!==window[e]?window[e]:void 0),i.ref=l,(0,c.createElement)(n,i)},l}(c.Component),i=(0,c.forwardRef)(function(e,t){return(0,c.createElement)(l,eq({},e,{forwardedRef:t}))});return i.displayName="AsyncScriptLoader("+a+")",i.propTypes={asyncScriptOnLoad:eM.default.func},(0,eV.default)(i,n)}})(function(){var e=eQ(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+eY+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+eY+"&render=explicit"},{callbackName:eY,globalName:"grecaptcha",attributes:eQ().nonce?{nonce:eQ().nonce}:{}})(eU),eZ=()=>{let[e,t]=(0,c.useState)(""),n=(0,c.useRef)(null),a=(0,c.useCallback)(e=>{t(e||"")},[]),l=(0,c.useCallback)(()=>{var e;null==(e=n.current)||e.reset()},[n]);return(0,c.useEffect)(()=>{let t=null;return e&&(t=setTimeout(l,11e4)),()=>{t&&clearTimeout(t)}},[e]),{captchaToken:e,setCaptchaToken:t,recaptchaRef:n,handleRecaptcha:a,refreshRecaptcha:l}};var e0=e.i(900018),e1=e.i(670451),e5=function(e){return e.LOGIN="login",e.SIGNUP="track_user",e.PASSWORD_RESET="password_reset",e.PAYMENT_ADD="payment_add",e.CHECKOUT="checkout",e.CONTACT_US="contact_us",e.NEWSLETTER_SUBSCRIPTION="newsletter_subscription",e}({});function e2(e){let{action:n,siteKey:a,tokenFieldName:l="unicaptchaToken",actionFieldName:i="unicaptchaAction",control:r}=e,o=(0,c.useRef)(null),{field:s}
1=(0,eA.useController)({control:r,name:l,defaultValue:""}),{field:d}=(0,eA.useController)({control:r,name:i,defaultValue:n});return(0,c.useEffect)(()=>{d.onChange(n)},[]),(0,c.useEffect)(()=>{let e=o.current;if(!e)return;let t=e.closest("form");if(!t)return;let l=!1,i=e=>{var i,r;"undefined"!=typeof grecaptcha&&(null==(r=grecaptcha)||null==(i=r.enterprise)?void 0:i.ready)&&!l&&(e.preventDefault(),"function"==typeof e.stopPropagation&&e.stopPropagation(),l=!0,grecaptcha.enterprise.ready(async()=>{try{let e=await grecaptcha.enterprise.execute(a,{action:n});s.onChange(e)}catch(e){console.error("reCAPTCHA execution failed",e),s.onChange("")}finally{"function"==typeof t.requestSubmit?t.requestSubmit():t.submit(),setTimeout(()=>{l=!1},0)}}))};return t.addEventListener("submit",i,!0),()=>{t.removeEventListener("submit",i,!0)}},[n,a,s,l]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(p.default,{src:"https://www.google.com/recaptcha/enterprise.js?render=".concat(a),strategy:"afterInteractive"}),(0,t.jsx)("span",{ref:o})]})}function e4(e){let{action:n,tokenFieldName:a="unicaptchaToken",actionFieldName:l="unicaptchaAction",control:i}=e,{data:r}=(0,eD.useGetSiteData)(),o="true"===(0,e1.getCookie)("kasa-new-flow")||null!=r&&!!r.locale&&(0,e0.isUnicaptchaEnabled)(r.locale),s=(null==r?void 0:r.locale)?(0,e0.getUnicaptchaSiteKey)(r.locale):"";return o&&s&&(null==r?void 0:r.locale)?(0,t.jsx)(e2,{action:n,siteKey:s,tokenFieldName:a,actionFieldName:l,control:i}):null}e.i(807204);var e6=e.i(491581);let e8=e=>{let{title:n,signInTitle:a,signInLabel:l,loading:i,legalNoticeText:r,cta:o,inputs:s,handleSubmit:d,trackEventFormStartDefault:u,googleRecaptchaV2Key:p,isMarketingOptInEnabled:m}=e,{captchaToken:g,recaptchaRef:f,handleRecaptcha:v,refreshRecaptcha:x}=eZ(),{data:y}=(0,eD.useGetSiteData)(),{control:b,handleSubmit:w,watch:j,setValue:_}=(0,eA.useForm)({mode:"onBlur"}),S="true"===(0,e1.getCookie)("kasa-new-flow")||(null==y?void 0:y.locale)&&(0,e0.isUnicaptchaEnabled)(y.locale);return(0,c.useEffect)(()=>{let e=()=>{S||x()};window.addEventListener("signupError",e);let t=sessionStorage.getItem("email");return t&&(_("username",t),_("usernameConfirm",t)),()=>{window.removeEventListener("signupError",e)}},[x,_,S]),(0,t.jsx)(e3,{children:(0,t.jsxs)(te,{onSubmit:w(e=>{d({...e,...S?{unicaptchaToken:e.unicaptchaToken,unicaptchaAction:e.unicaptchaAction}:{token:g}})}),children:[(0,t.jsx)(tt,{as:"h2",children:n}),(0,t.jsxs)(tn,{children:[(0,t.jsx)(R.Text,{children:a}),(0,t.jsx)(eO.Link,{href:(null==y?void 0:y.locale.toUpperCase())===e6.Locale.FrCa?"/compte/apercu":"/account/overview",target:"_parent",children:(0,t.jsx)(R.Text,{children:l})})]}),(0,t.jsxs)(e7,{children:[s.firstName?(0,t.jsx)(eB.InputField,{label:s.firstName.label,rules:(0,eP.validationsToRules)({rules:{required:!0},validations:s.firstName.validations}),customOnFocusHandler:()=>{u({form_type:"sign-up"})},name:"firstName",control:b,"data-component-id":"sign-up-first-name-field"}):null,s.lastName?(0,t.jsx)(eB.InputField,{label:s.lastName.label,rules:(0,eP.validationsToRules)({rules:{required:!0},validations:s.lastName.validations}),name:"lastName",control:b,"data-component-id":"sign-up-last-name-field"}):null]}),(0,t.jsxs)(e7,{children:[s.email&&(0,t.jsx)(eB.InputField,{label:s.email.label,rules:(0,eP.validationsToRules)({rules:{required:!0,email:!0},validations:s.email.validations}),helperText:s.email.helperText,id:"account-username",name:"username",type:"email",control:b,"data-component-id":"sign-up-email-field"}),s.repeatEmail&&(0,t.jsx)(eB.InputField,{label:s.repeatEmail.label,rules:(0,eP.validationsToRules)({rules:{required:!0,sameEmail:j("username")},validations:s.repeatEmail.validations}),helperText:s.repeatEmail.helperText,name:"usernameConfirm",type:"email",control:b,"data-component-id":"sign-up-email-confirm-field"})]}),(0,t.jsxs)(e7,{children:[(0,t.jsx)(eB.InputField,{label:s.password.label,rules:(0,eP.validationsToRules)({rules:{required:!0,password:!0},validations:s.password.validations}),helperText:s.password.helperText,id:"account-password",name:"password",type:"password",control:b,"data-component-id":"sign-up-password-field"}),(0,t.jsx)(eB.InputField,{label:s.repeatPassword.label,rules:(0,eP.validationsToRules)({rules:{required:!0,samePassword:j("password")},validations:s.repeatPassword.validations}),helperText:s.repeatPassword.helperText,name:"passwordConfirm",type:"password",control:b,"data-component-id":"sign-up-password-confirm-field"})]}),!(0,e0.isProfessionalDiscountDisabled)(y.locale)&&(null==s?void 0:s.professionalDiscount)&&(0,t.jsx)(e9,{children:(0,t.jsx)(eW.SelectField,{label:"Professional discount",name:"professionalDiscount",control:b,"data-component-id":"sign-up-professional-discount-field",children:s.professionalDiscount.map(e=>{let{value:n,label:a}=e;return(0,t.jsx)("option",{value:n,children:a},n)})})}),(0,t.jsx)(e7,{style:{marginBottom:30},children:S?(0,t.jsx)(e4,{action:e5.SIGNUP,control:b}):p&&(0,t.jsx)(eJ,{ref:f,sitekey:p,onChange:v,onExpired:x,hl:(e=>e?e.split("_")[0].toLowerCase():"en")(y.locale)})}),(0,t.jsxs)(tl,{children:[m&&s.marketingOptIn?(0,t.jsx)(eG.CheckboxField,{label:s.marketingOptIn.label,rules:(0,eP.validationsToRules)({validations:s.marketingOptIn.validations}),name:"registerMarketing",control:b,css:{mb:0},"data-component-id":"sign-up-marketing-opt-in-field"}):null,s.termsAndConditionInput?(0,t.jsx)(eG.CheckboxField,{label:r,rules:(0,eP.validationsToRules)({rules:{required:!0}
1,validations:s.termsAndConditionInput.validations}),name:"termsAndContd",control:b,css:{mb:0},"data-component-id":"sign-up-terms-and-conditions-field"}):null]}),(0,t.jsx)(ta,{children:i?(0,t.jsx)(h.Loader,{}):(0,t.jsx)(P.Button,{...o,type:"submit","data-component-id":"sign-up-button"})})]})})},e3=(0,m.styled)("div",{display:"flex",justifyContent:"center",backgroundColor:"$bkgWhite",padding:"$5",my:"$6","@md":{my:"$16"}}),e7=(0,m.styled)("div",{display:"flex",flexDirection:"column",justifyContent:"space-between",alignItems:"flex-end",gap:20,"@md":{flexDirection:"row"}}),e9=(0,m.styled)("div",{width:"100%","@md":{width:"calc(50% - 10px)"}}),te=(0,m.styled)("form",{display:"flex",height:"100%",flexDirection:"column",border:"8px solid #f2f2f2",padding:"$6"}),tt=(0,m.styled)(_.Heading,{margin:"0 auto",fontSize:"$4xl",fontWeight:"$bold",my:"$3-5"}),tn=(0,m.styled)(_.Heading,{display:"flex",margin:"0 auto",fontSize:"$lg",mt:"$4",mb:"$10","> *":{fontWeight:"$normal"},gap:"$2"}),ta=(0,m.styled)("div",{marginTop:"$5",display:"flex",justifyContent:"center",width:"100%",alignItems:"center","@md":{mt:"$7-5"}}),tl=(0,m.styled)("div",{textAlign:"start",fontSize:"15px",display:"flex",flexDirection:"column",rowGap:"$4"}),ti=e=>{let{email:n,heading:a,mainText:l,secondaryText:i,contactUsLabel:r,contactUsLink:o}=e,{data:s}=(0,eD.useGetSiteData)(),d=l.split("{email}"),c=d.length>1?(0,t.jsxs)(t.Fragment,{children:[d[0],(0,t.jsx)("strong",{children:n}),d[1]]}):l.replace("{email}",n);return(0,t.jsx)(tr,{children:(0,t.jsxs)(to,{children:[(0,t.jsx)(ts,{icon:"Email",label:""}),(0,t.jsx)(td,{as:"h2",children:a}),(0,t.jsx)(tc,{children:c}),(0,t.jsxs)(tu,{children:[i," ",(0,t.jsx)(tp,{href:"".concat((0,eR.linkHelper)(s,o)),target:"_parent",children:r})]})]})})},tr=(0,m.styled)(a.Container,{display:"flex",justifyContent:"center",backgroundColor:"$bkgWhite",padding:"$5",my:"$6","@md":{my:"$16"}}),to=(0,m.styled)("div",{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",border:"8px solid #f2f2f2",padding:"$6",width:"100%",boxSizing:"border-box"}),ts=(0,m.styled)(O.Icon,{size:64,marginBottom:"$4"}),td=(0,m.styled)(_.Heading,{fontSize:"$xl",fontWeight:"$black",marginBottom:"$4",color:"$copyBlack",textTransform:"uppercase"}),tc=(0,m.styled)(R.Text,{fontSize:"$base",fontWeight:"$regular",color:"$copyBlack",marginBottom:"$4",lineHeight:"1.5",maxWidth:"500px"}),tu=(0,m.styled)(R.Text,{fontSize:"$sm",fontWeight:"$regular",color:"$copyBlack",lineHeight:"1.5",maxWidth:"500px"}),tp=(0,m.styled)(eO.Link,{color:"#0066cc",textDecoration:"underline","&:hover":{textDecoration:"underline"}});var tm=e.i(878549),th=e.i(717929);e.i(89885);var tg=e.i(119177),tf=e.i(677326),tv=e.i(927320),tx=e.i(596807),ty=e.i(646935),tb=e.i(84138);let tw=async(e,t,n)=>{let a=(e=>({brand:tb.brandName,web_property:(0,tb.webPropertyForLocale)(e),country:(0,x.toDataCountry)(e),locale:(0,x.toDataLocale)(e)}))(e),l=new tx.EventBuilder;l.setName(k.AnalyticEvents.brazeAccountCreation),l.setLocale(e),l.addBrazeCustomEvent(k.AnalyticEvents.brazeAccountCreation,a,{email:t,firstName:n}),await (0,ty.sendEvents)(l.getEvent(),e,!0)};var tj=e.i(561458),t_=e.i(962465),tS=e.i(451936),t$=e.i(420558),tk=e.i(886043),tC=e.i(364034);let tE=e=>{let{locale:n,page:a}=e,{props:l,showEmailVerification:i,registeredEmail:r,emailVerificationProps:o}=tT(n,a)||{};return l?i&&r&&o?(0,t.jsx)(ti,{email:r,...o}):(0,t.jsx)(e8,{...l}):null},tT=(e,n)=>{var a,l,i,r,o;let s=(0,g.getPublicConfigByLocale)(e).region,{data:d}=(0,th.useGetHeaderDrawer)({locale:e}),{data:u}=(0,C.useGetTranslations)({locale:e}),{trackEventContactFormSubmission:p,trackEventFormStartDefault:m}=(0,t_.useTrackEventsAccountDrawerTracking)(),[h,f]=(0,c.useState)(!1),[v,b]=(0,c.useState)(""),w=(0,e1.getCookie)("kasa-new-flow"),j="true"===w,_=j||(0,g.getPublicConfigByLocale)(e).emailValidationEnabled,S=j||(0,e0.isUnicaptchaEnabled)(e),$=(0,g.getPublicConfigByLocale)(e).professionalDiscountDisabled,{data:E=[]}=(0,tC.useQuery)({queryKey:["professionalDiscountGroup",e],queryFn:async()=>{let t=await y.NextSelfClient.getProfessionalDiscountGroup(e);return t.success?t.specialGroups:[]},enabled:!$}),T=async t=>{try{let n=S?void 0:t.token||await (0,tm.handleRecaptcha)("signup",e),a=await y.NextSelfClient.signup((0,x.toISOLocale)(e),s,{data:t,...S?{}:{token:n}});if(!(null==a?void 0:a.successful))throw Error((0,tf.getRegistrationErrorMessage)(a,u));return a}catch(e){throw e}},L=(0,tk.useMutation)({mutationFn:T,onMutate:()=>{p({type:"registration",form_topic:"registration",user_type:"Guest",method:"post"})},onSuccess:async(t,a)=>{var l,i,r,o,s,d,c,p,m,h,v;if(globalThis.localStorage.removeItem("transactionId"),(0,e0.isBrazeEnabled)(e)&&a.username&&await tw(e,a.username,a.firstName),(null==(l=(0,g.getPublicConfigByLocale)(e))?void 0:l.onetrustEnabled)&&(null==a?void 0:a.username)&&(0,t$.submitOneTrustConsent)({email:a.username,sourceFormIdentifier:"storefront:website-email",purposes:[]},e).catch(()=>{}),await (0,tv.trackEventCheckoutUserRegistration)({event_name:k.AnalyticEvents.signUp,registerData:{flow_name:"registration",method:"default",flow:"end",profiling_consent:!0},metadata:{pageType:"registration",slug:null==n?void 0:n.__typename,href:window.location.href,title:null==n||null==(i=n.pageMetadata)?void 0:i.title,name:null==n||null==(r=n.pageMetadata)?void 0:r.name,locale:e,isLoggedIn:!0}}),globalThis.sessionStorage.setItem(tS.LOCAL_STORAGE_KEYS.CHECKOUT_TYPE,k.AnalyticCheckoutType.NEW_ACCOUNT),_&&(null==t?void 0:t.emailVerificationRequired)===!0)b(a.username),f(!0),await (0,tv.trackEventCheckoutUserRegistration)({registerData:{flow_name:"email verification",method:"default",flow:"end",profiling_consent:!0},metadata:{pageType:"registration",contentGroup:null==n||null==(s=n.pageMetadata)||null==(o=s.seo)?void 0:o.contentGroup,slug:null==n?void 0:n.__typename,href:window.location.href,title:null==n||null==(d=n.pageMetadata)?void 0:d.title,name:null==n||null==(c=n.pageMetadata)?void 0:c.name,locale:e,isLoggedIn:!1}});else{tg.toast.success(u.registeredSuccessfully);let{professionalDiscount:t}=a;t?(0,eR.windowHrefUtils)("/account/my-details?specialGroup=".concat(t)):(await (0,tv.trackEventCheckoutUserRegistration)({registerData:{flow_name:"registration",method:"default",flow:"end",profiling_consent:!0},metadata:{pageType:"registration",contentGroup:null==n||null==(m
1=n.pageMetadata)||null==(p=m.seo)?void 0:p.contentGroup,slug:null==n?void 0:n.__typename,href:window.location.href,title:null==n||null==(h=n.pageMetadata)?void 0:h.title,name:null==n||null==(v=n.pageMetadata)?void 0:v.name,locale:e,isLoggedIn:!0}}),setTimeout(()=>(0,eR.windowHrefUtils)("/account/overview"),1500))}},onError:e=>{window.dispatchEvent(new Event("signupError")),tg.toast.error((null==e?void 0:e.message)||(null==u?void 0:u.registeredError)||"Error while creating your account.\nPlease try again.")}}),I={heading:(null==u?void 0:u.emailVerificationHeading)||"VERIFY YOUR EMAIL ADDRESS",mainText:(null==u?void 0:u.emailVerificationMainText)||"We sent a confirmation link to {email} Please verify your email address to complete the account creation.",secondaryText:(null==u?void 0:u.emailVerificationSecondaryText)||"Didn't get the email? Check the spam folder. If you still can't find it:",contactUsLabel:(null==u?void 0:u.contactUs)||"Contact Us",contactUsLink:(null==u?void 0:u.contactUsLink)||"/contact-us"},R=(0,e0.isSignupMarketingOptInEnabled)(e);return{props:{...null==d||null==(a=d.account)?void 0:a.register,trackEventFormStartDefault:m,googleRecaptchaV2Key:(0,g.getPublicConfigByLocale)(e).googleRecaptchaV2Key,cta:{children:null==d||null==(i=d.account)||null==(l=i.register)?void 0:l.ctaLabel,leftIcon:(0,t.jsx)(O.Icon,{icon:"Account",label:"",fill:"white",css:{size:20}})},loading:L.isLoading,inputs:{...Object.keys((null==d||null==(o=d.account)||null==(r=o.register)?void 0:r.inputs)||{}).reduce((e,t)=>{var n,a,l;return{...e,[t]:(0,tj.inputValidationsMapper)(null==d||null==(l=d.account)||null==(a=l.register)||null==(n=a.inputs)?void 0:n[t])}},{}),professionalDiscount:E},handleSubmit:t=>{let n={locale:e,password:t.password,username:t.username,firstName:t.firstName,lastName:t.lastName,usernameConfirm:t.usernameConfirm,passwordConfirm:t.passwordConfirm,registerMarketing:t.registerMarketing,professionalDiscount:t.professionalDiscount,termsAndContd:t.termsAndContd,...S?{unicaptchaToken:t.unicaptchaToken,unicaptchaAction:t.unicaptchaAction}:{token:t.token||""},..."true"===w?{kasaNewFlow:!0}:{}};L.mutate(n)},isMarketingOptInEnabled:R},registeredEmail:v,showEmailVerification:h,emailVerificationProps:I}},tL=e=>{var n;let{title:a,description:l,backToLoginCta:i,successMessage:r,loading:o,cta:s,inputs:d,handleSubmit:u,imagesComponent:p,googleRecaptchaV2Key:m,useUnicaptcha:g=!1}=e,{captchaToken:f,recaptchaRef:v,handleRecaptcha:x,refreshRecaptcha:y}=eZ(),{control:b,handleSubmit:w}=(0,eA.useForm)({mode:"onBlur"});return(0,c.useEffect)(()=>{let e=()=>{g||y()};return window.addEventListener("signupError",e),()=>{window.removeEventListener("signupError",e)}},[y,g]),(0,t.jsx)(tR,{children:(0,t.jsxs)(tD,{onSubmit:w(e=>{u({...e,...g?{unicaptchaToken:e.unicaptchaToken,unicaptchaAction:e.unicaptchaAction}:{token:f}})}),children:[(0,t.jsx)(tO,{as:"h2",children:a}),(0,t.jsx)(tI,{children:(0,t.jsx)(R.Text,{children:l})}),r?(0,t.jsx)(tI,{children:(0,t.jsx)(R.Text,{children:r})}):(0,t.jsxs)(t.Fragment,{children:[d.email&&(0,t.jsx)(eB.InputField,{label:d.email.label,rules:(0,eP.validationsToRules)({rules:{required:!0},validations:d.email.validations}),helperText:d.email.helperText,id:"account-username",name:"email",type:"email",control:b}),(0,t.jsx)("div",{style:{marginBottom:30},children:g?(0,t.jsx)(e4,{action:e5.PASSWORD_RESET,control:b}):m&&(0,t.jsx)(eJ,{ref:v,sitekey:m,onChange:x,onExpired:y})}),(0,t.jsxs)(tP,{children:[o?(0,t.jsx)(h.Loader,{}):(0,t.jsx)(P.Button,{...s,type:"submit"}),(0,t.jsx)(eO.Link,{...i})]})]}),p&&(null==p?void 0:p.title)&&(0,t.jsxs)(tB,{children:[(0,t.jsx)(R.Text,{css:{fontSize:14},children:null==p?void 0:p.title}),(0,t.jsx)(tA,{children:null==p||null==(n=p.images)?void 0:n.map((e,n)=>(0,t.jsx)("img",{...e,height:32},"image-brand-".concat(n)))})]})]})})},tI=(0,m.styled)(_.Heading,{display:"flex",margin:"0 auto",fontSize:"$lg",textAlign:"center",mt:"$4",mb:"$10","> *":{fontWeight:"$normal"},gap:"$2"}),tR=(0,m.styled)("div",{display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:"$bkgWhite",padding:"$5",my:"$6","@md":{my:"$16",flexDirection:"column"}}),tD=(0,m.styled)("form",{maxWidth:"560px",display:"flex",height:"100%",flexDirection:"column",border:"8px solid #f2f2f2",padding:"$6",overflow:"hidden"}),tO=(0,m.styled)(_.Heading,{margin:"0 auto",fontSize:"$4xl",fontWeight:"$bold",my:"$3-5",lineHeight:"120%"}),tP=(0,m.styled)("div",{marginTop:"$5",display:"flex",justifyContent:"center",width:"100%",alignItems:"center",gap:"$4","@md":{mt:"$7-5"}}),tA=(0,m.styled)("div",{display:"flex",width:"100%",alignItems:"center",gap:"$4",overflow:"scroll","&::-webkit-scrollbar-thumb":{background:"transparent"},"@md":{justifyContent:"center",overflow:"unset"}}),tB=(0,m.styled)("div",{marginTop:"$5",display:"flex",justifyContent:"center",flexDirection:"column",width:"100%",alignItems:"center","@md":{mt:"$7-5"}}),tW=e=>{let{locale:n,modules:a}=e,{props:l}=tG(n,a)||{};return l?(0,t.jsx)(tL,{...l}):null},tG=(e,t)=>{var n,a,l,i,r;let o=(0,g.getPublicConfigByLocale)(e).region,{data:s}=(0,th.useGetHeaderDrawer)({locale:e}),{data:d}=(0,C.useGetTranslations)({locale:e}),[u,p]=(0,c.useState)(""),m=(0,e1.getCookie)("kasa-new-flow"),h="true"===m||(0,e0.isUnicaptchaEnabled)(e),f=async t=>{let n=h?void 0:t.token||await (0,tm.handleRecaptcha)("signup",e),a=await y.NextSelfClient.forgotPassword(e,o,{data:t,...h?{}:{token:n}});if(!(null==a?void 0:a.success)){var l;throw Error((null==a||null==(l=a.message)?void 0:l.replace(/(<([^>]+)>)/gi,""))||"Error sending email")}return{data:a,formData:t}},v=(0,tk.useMutation)({mutationFn:f,onMutate:()=>{p("")},onSuccess:e=>{var t,n;let{data:a,formData:l}=e;p(null==s||null==(n=s.account)||null==(t=n.setPassword.infoText)?void 0:t.replace("{email}",null==l?void 0:l.email)),tg.toast.success("Email sent")},onError:e=>{window.dispatchEvent(new Event("signupError")),tg.toast.error((null==e?void 0:e.message)||"Error sending email")}});return{props:{...null==s||null==(n=s.account)?void 0:n.forgotPassword,cta:{children:null==s||null==(l=s.account)||null==(a=l.forgotPassword)?void 0:a.ctaLabel},loading:v.isLoading,successMessage:u,backToLoginCta:{children:null==d?void 0:d.back,href:(null==d?void 0:d.backUrl)||"/account/overview",onClick:()=>(0,eR.windowHrefUtils)((null==d?void 0:d.backUrl)||"/account/overview")},handleSubmit:t=>{v.mutate({locale:e,email:t.email,...h?{unicaptchaToken:t.unicaptchaToken,unicaptchaAction:t.unicaptchaAction}:{token:t.token},..."true"===m?{kasaNewFlow:!0}:{}})},imagesComponent:{title:null==t||null==(i=t[0])?void 0:i.title,images:null==t||null==(r=t[0])?void 0:r.images},googleRecaptchaV2Key:(0,g.getPublicConfigByLocale)(e).googleRecaptchaV2Key,useUnicaptcha:h}}},tM=e=>{var n;let{title:a,description:l,loading:i,backToLoginCta:r,cta:o,inputs:s,handleSubmit:d,imagesComponent:c}=e,{control:u,handleSubmit:p,watch:m}=(0,eA.useForm)({mode:"onBlur"});return(0,t.jsx)(tz,{children:(0,t.jsxs)(tF,{onSubmit:p(d),children:[(0,t.jsx)(tH,{as:"h2",children:a}),s.password&&(0,t.jsx)(eB.InputField,{label:s.password.label,rules:(0,eP.validationsToRules)({rules:{required:!0,password:!0}
1,validations:s.password.validations}),helperText:s.password.helperText,id:"account-password",name:"password",type:"password",control:u}),s.repeatPassword&&(0,t.jsx)(eB.InputField,{label:s.repeatPassword.label,rules:(0,eP.validationsToRules)({rules:{required:!0,samePassword:m("password")},validations:s.repeatPassword.validations}),helperText:s.repeatPassword.helperText,name:"repeatPassword",type:"password",control:u}),(0,t.jsx)(e4,{action:e5.PASSWORD_RESET,control:u}),(0,t.jsxs)(tN,{children:[i?(0,t.jsx)(h.Loader,{}):(0,t.jsx)(P.Button,{...o,type:"submit"}),(0,t.jsx)(eO.Link,{...r})]}),c&&(null==c?void 0:c.title)&&(0,t.jsxs)(tV,{children:[(0,t.jsx)(R.Text,{css:{fontSize:14},children:null==c?void 0:c.title}),(0,t.jsx)(tU,{children:null==c||null==(n=c.images)?void 0:n.map((e,n)=>(0,t.jsx)(tq,{...e,height:32},"image-brand-".concat(n)))})]})]})})},tz=(0,m.styled)("div",{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",backgroundColor:"$bkgWhite",padding:"$5",my:"$6","@md":{my:"$16"}}),tF=(0,m.styled)("form",{width:"calc(100% - 40px)",maxWidth:"560px",display:"flex",height:"100%",flexDirection:"column",border:"8px solid #f2f2f2",padding:"$6"}),tH=(0,m.styled)(_.Heading,{margin:"0 auto",fontSize:"$4xl",fontWeight:"$bold",m2:"$5",mb:"$10",lineHeight:"120%"}),tN=(0,m.styled)("div",{marginTop:"$5",display:"flex",justifyContent:"center",width:"100%",alignItems:"center",gap:"$4","@md":{mt:"$7-5"}}),tU=(0,m.styled)("div",{display:"flex",justifyContent:"center",width:"100%",alignItems:"center",gap:"$4"}),tV=(0,m.styled)("div",{marginTop:"$5",display:"flex",justifyContent:"center",flexDirection:"column",width:"100%",alignItems:"center","@md":{mt:"$7-5"}}),tq=(0,m.styled)("img",{overflow:"auto"});var tK=e.i(16154);let tX=e=>{let{locale:n,modules:a}=e,{props:l}=tY(n,a)||{};return l?(0,t.jsx)(tM,{...l}):null},tY=(e,t)=>
1{var n,a,l,i,r;let o=(0,g.getPublicConfigByLocale)(e).region,{data:s}=(0,th.useGetHeaderDrawer)({locale:e}),d="true"===(0,e1.getCookie)("kasa-new-flow")||(0,e0.isUnicaptchaEnabled)(e),c=(0,tK.default)({locale:e}),u=async t=>{let n=new URLSearchParams(globalThis.location.search).get("token"),a=await y.NextSelfClient.resetPassword((0,x.toISOLocale)(e),o,{password:t.password,confirmPassword:t.repeatPassword,username:t.username,token:n,...d&&{unicaptchaToken:t.unicaptchaToken,unicaptchaAction:t.unicaptchaAction}});if(!(null==a?void 0:a.successful))throw Error((null==a?void 0:a.message)||"Error resetting password");return a},p=(0,tk.useMutation)({mutationFn:u,onSuccess:e=>{(0,eR.windowHrefUtils)("/"),tg.toast.success(c(e.message))},onError:e=>{tg.toast.error(c((null==e?void 0:e.message)||"Error resetting password"))}});return{props:{...null==s||null==(n=s.account)?void 0:n.setPassword,cta:{children:null==s||null==(l=s.account)||null==(a=l.setPassword)?void 0:a.ctaLabel},loading:p.isLoading,backToLoginCta:{children:c("back"),onClick:()=>(0,eR.windowHrefUtils)("/")},handleSubmit:t=>{p.mutate({locale:e,password:t.password,repeatPassword:t.password,username:t.username,unicaptchaToken:t.unicaptchaToken,unicaptchaAction:t.unicaptchaAction})},imagesComponent:{title:null==t||null==(i=t[0])?void 0:i.title,images:null==t||null==(r=t[0])?void 0:r.images}}}};var tQ=e.i(647357),tJ=e.i(166146);let tZ=e=>{let{isLoading:n,success:a,successTitle:l,successMessage:i,errorTitle:r,errorMessage:o,backToLoginCta:s,isExpiredLink:d=!1,resendEmailCta:c,backToHomeCta:u}=e;return(0,t.jsxs)(t0,{children:[n&&(0,t.jsx)(t1,{children:(0,t.jsx)(h.Loader,{})}),a&&(0,t.jsxs)(t5,{children:[(0,t.jsx)(t2,{icon:"Check",label:"",fill:"#20AB29"}),(0,t.jsx)(t4,{as:"h1",children:l}),(0,t.jsx)(t6,{children:i.split(/\\n|\n/).map((e,n)=>(0,t.jsx)(t8,{children:e},n))}),s&&(0,t.jsx)(t3,{href:s.href,onClickEvent:s.onClickEvent,children:s.children||"SIGN IN"})]}),!n&&!a&&(0,t.jsxs)(t7,{children:[(0,t.jsx)(t9,{icon:"Warning",label:"",fill:"#c41130"}),(0,t.jsx)(ne,{as:"h1",children:r}),(0,t.jsx)(nt,{children:o.split(/\\n|\n/).map((e,n)=>(0,t.jsx)(nn,{children:e},n))}),d&&c&&(0,t.jsx)(na,{href:c.href,onClickEvent:c.onClickEvent,children:c.children||"RESEND EMAIL"}),!d&&u&&(0,t.jsx)(nl,{href:u.href,onClickEvent:u.onClickEvent,children:u.children||"BACK TO HOME"})]})]})},t0=(0,m.styled)(a.Container,{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",boxSizing:"border-box",padding:"$5 $5 $10",paddingTop:0,"@xs":{pb:m.Gutter.sm},"@md":{width:"calc(100% - 40px)",mx:m.Gutter.xs,mb:m.Gutter.md,pt:m.Gutter.sm,pb:50},"@lg":{mt:"$2-5",width:"100%",mx:"auto"}}),t1=(0,m.styled)("div",{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"}),t5=(0,m.styled)(a.Container,{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",boxSizing:"border-box",padding:"$5 $5 $10",paddingTop:0,"@xs":{pb:m.Gutter.sm},"@md":{width:"calc(100% - 40px)",mx:m.Gutter.xs,mb:m.Gutter.md,pt:m.Gutter.sm,pb:50,border:"11px solid $bkgWhiteSmoke"},"@lg":{mt:"$2-5",width:"100%",mx:"auto"}}),t2=(0,m.styled)(O.Icon,{size:64,fill:"#20AB29"}),t4=(0,m.styled)(_.Heading,{textAlign:"center","@md":{marginTop:0}}),t6=(0,m.styled)("div",{display:"flex",flexDirection:"column",alignItems:"center",marginBottom:"$6"}),t8=(0,m.styled)(R.Text,{fontSize:"$base",fontWeight:"$regular",color:"$copyBlack",lineHeight:"1.5",marginBottom:"$1","&:last-child":{marginBottom:0}}),t3=(0,m.styled)(P.Button,{backgroundColor:"#c41130",color:"$bkgWhite",textTransform:"uppercase",fontWeight:"$black",padding:"$4 $8",fontSize:"$base",marginBottom:"$8","&:hover":{backgroundColor:"#a00e26"}});(0,m.styled)(R.Text,{fontSize:"$sm",fontWeight:"$regular",color:"$copyBlack",textAlign:"left",alignSelf:"flex-start",width:"100%"}),(0,m.styled)(eO.Link,{textDecoration:"underline",color:"$copyBlack","&:hover":{textDecoration:"underline"}});let t7=(0,m.styled)(a.Container,{display:"flex",justifyContent:"center",gap:"$2",alignItems:"center",flexDirection:"column",boxSizing:"border-box",padding:"$5 $5 $10",paddingTop:0,"@xs":{pb:m.Gutter.sm},"@md":{width:"calc(100% - 40px)",mx:m.Gutter.xs,mb:m.Gutter.md,pt:m.Gutter.sm,pb:50,border:"11px solid $bkgWhiteSmoke"},"@lg":{mt:"$2-5",width:"100%",mx:"auto"}}),t9=(0,m.styled)(O.Icon,{size:64,fill:"#c41130"}),ne=(0,m.styled)(_.Heading,{textAlign:"center"}),nt=(0,m.styled)("div",{display:"flex",flexDirection:"column",alignItems:"center"}),nn=(0,m.styled)(R.Text,{fontSize:"$base",fontWeight:"$regular",color:"$copyBlack"}),na=(0,m.styled)(P.Button,{backgroundColor:"#c41130",color:"$bkgWhite",textTransform:"uppercase",fontWeight:"$black",padding:"$4 $8",fontSize:"$base","&:hover":{backgroundColor:"#a00e26"}}),nl=(0,m.styled)(P.Button,{backgroundColor:"#c41130",color:"$bkgWhite",textTransform:"uppercase",fontWeight:"$black",padding:"$4 $8",fontSize:"$base","&:hover":{backgroundColor:"#a00e26"}});var ni=e.i(217837);let nr=e=>{let{locale:n,modules:a}=e,{props:l}=no(n,a)||{};return l?(0,t.jsx)(tZ,{...l}):null},no=(e,t)=>{let n=(0,g.getPublicConfigByLocale)(e).region,{data:a}=(0,C.useGetTranslations)({locale:e}),{data:l}=(0,r.useGetSessionData)({locale:e}),i=(0,tK.default)({locale:e}),[o,s]=(0,c.useState)(!1),[d,u]=(0,c.useState)(!0),[p,m]=(0,c.useState)(!1),[h,f]=(0,c.useState)(null==a?void 0:a.signInUrl),v=(0,ni.useSearchParams)().get("token"),b=v?encodeURIComponent(v):null;(0,c.useEffect)(()=>{b?w():(0,eR.windowHrefUtils)("/")},[b]),(0,c.useEffect)(()=>{var e,t;f((null==l||null==(e=l.cart)?void 0:e.count)>0&&(null==l||null==(t=l.cart)?void 0:t.id)?null==a?void 0:a.checkout_signin_url:(null==a?void 0:a.signInUrl)||"/account/overview")},[l]);let w=async()=>{try{window.postMessage({type:tJ.POST_MESSAGES.START_LOADER},"*");let l=(0,e1.getCookie)("kasa-new-flow"),r=await y.NextSelfClient.emailVerification((0,x.toISOLocale)(e),n,{token:b,..."true"===l?{kasaNewFlow:!0}:{}});if(null==r?void 0:r.successful)window.postMessage({type:tJ.POST_MESSAGES.STOP_LOADER},"*"),tg.toast.success(i(r.message)),s(!0),u(!1),m(!1);else{var t,a;tg.toast.error(i(r.message)),u(!1),s(!1);let e=(null==r||null==(t=r.message)?void 0:t.toLowerCase().includes("expired"))||(null==r||null==(a=r.message)?void 0:a.toLowerCase().includes("invalid"))||(null==r?void 0:r.isExpiredLink)===!0;m(e),window.postMessage({type:tJ.POST_MESSAGES.STOP_LOADER},"*")}}catch(e){tg.toast.error(i(e.message))}};return{props:{isLoading:d,success:o,...{successTitle:(null==a?void 0:a.emailVerificationSuccessTitle)||"EMAIL VERIFIED",successMessage:(null==a?void 0:a.emailVerificationSuccessMessage)||"Your email has been confirmed.\nSign In to have access to your account.",errorTitle:(null==a?void 0:a.emailVerificationErrorTitle)||"Email Verification Failed",errorMessage:(null==a?void 0:a.emailVerificationErrorMessage)||"There was an error verifying your email. Please try again.",isExpiredLink:p,backToLoginCta:{children:(null==a?void 0:a.signInText)||"SIGN IN",href:h,onClickEvent:()=>{(0,eR.windowHrefUtils)(h)}},resendEmailCta:p?{children:(null==a?void 0:a.resendEmailText)||"RESEND EMAIL",href:(null==a?void 0:a.resendEmailUrl)||"#",onClickEvent:async()=>{tg.toast.success((null==a?void 0:a.emailResent)||"Email verification link resent")}}:void 0,backToHomeCta:p?void 0:{children:(null==a?void 0:a.backToHome)||"BACK TO HOME",href:"/",onClickEvent:()=>{(0,eR.windowHrefUtils)("/")}}}}}},ns=e=>{let{heading:n,description:a}=e;return(0,t.jsx)(nd,{children:(0,t.jsxs)(nc,{children:[(0,t.jsx)(nu,{as:"h1",children:n}),(0,t.jsx)(np,{children:a})]})})},nd=(0,m.styled)("div",{display:"flex",justifyContent:"center"}),nc=(0,m.styled)("div",{textAlign:"center",maxWidth:"720px"}),nu=(0,m.styled)(_.Heading,{fontSize:"$2xl",fontWeight:"$black",marginBottom:"$3",lineHeight:"1.4"}),np=(0,m.styled)(R.Text,{fontSize:"$sm",color:"$copyGray",lineHeight:"1.6"});e.i(250739);var nm=e.i(919070);let nh=e=>{let{setEmail:n,content:a,sendOtp:l}=e,{control:i,handleSubmit:r}=(0,eA.useForm)({mode:"onBlur"}),{boxTitle:o,inputLabel:s,ctaLabel:d,emailRegex:c,...u}=a||{},{nextStep:p}=(0,nm.useWizard)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ns,{...u}),(0,t.jsx)(ng,{children:(0,t.jsxs)("form",{onSubmit:r(e=>{n(e.email),l(e.email,p)}),children:[(0,t.jsxs)(nf,{children:[(0,t.jsx)(nv,{icon:"LockedAccount",label:""}),(0,t.jsx)(nx,{as:"h2",children:o})]}),(0,t.jsx)(ny,{children:(0,t.jsx)(eB.InputField,{label:s,rules:(0,eP.validationsToRules)({rules:{required:!0,email:!0},validations:{regex:c}}),helperText:"",id:"account-email",name:"email",type:"text",control:i})}),(0,t.jsx)(nb,{type:"submit",children:d})]})})]})},ng=(0,m.styled)(a.Container,{display:"flex",flexDirection:"column",alignItems:"center",padding:"$10 $8",border:"11px solid $bkgWhiteSmoke",borderRadius:"6px",maxWidth:"720px",width:"100%",marginTop:"$8"}),nf=(0,m.styled)("div",{display:"flex",alignItems:"center",justifyContent:"center",gap:"$2",marginBottom:"$4"}),nv=(0,m.styled)(O.Icon,{size:24,fill:"$copyGray"}),nx=(0,m.styled)(_.Heading,{textAlign:"center",fontWeight:"$black",margin:0}),ny=(0,m.styled)("div",{width:"100%",maxWidth:"235px",marginTop:"$6"}),nb=(0,m.styled)(P.Button,{backgroundColor:"#c41130",color:"$bkgWhite",textTransform:"uppercase",fontWeight:"$black",padding:"$1 $8",fontSize:"$base",borderRadius:"999px","&:hover":{backgroundColor:"#a00e26"}});var nw=e.i(573188);let nj=e=>{let{email:n,content:a,confirmOtp:l,resendOtp:i}=e,{boxTitle:r,inputLabel:o,ctaLabel:s,boxDescription:d,secondaryCtaLabel:c,...u}=a||{},{control:p,handleSubmit:m}=(0,eA.useForm)({mode:"onBlur"}),{nextStep:h}=(0,nm.useWizard)();return(0,t.jsxs)("form",{onSubmit:m(e=>{l(e,h)}),children:[(0,t.jsx)(ns,{...u}),(0,t.jsx)(n_,{children:(0,t.jsxs)(nS,{children:[(0,t.jsxs)(n$,{children:[(0,t.jsx)(nk,{icon:"LockedAccount",label:""}),(0,t.jsx)(nC,{as:"h2",children:r})]}),(0,t.jsx)(nE,{children:null==d?void 0:d.replace("{{email}}",n)}),(0,t.jsxs)(nT,{children:[(0,t.jsx)(nL,{children:(0,t.jsx)(eB.InputField,{label:o,rules:(0,eP.validationsToRules)({rules:{required:!0,maxLength:6,minLength:6}}),name:"token",type:"number",maxLength:6,css:{maxHeight:"24px"},control:p,placeholder:"XXXXXX"})}),(0,t.jsx)(nI,{type:"submit",children:s})]}),(0,t.jsx)(nR,{onClick:()=>i(n),type:"button",children:c})]})})]})},n_=(0,m.styled)("div",{display:"flex",justifyContent:"center",marginTop:"$10"}),nS=(0,m.styled)(a.Container,{display:"flex",flexDirection:"column",alignItems:"center",padding:"$10 $8",border:"11px solid $bkgWhiteSmoke",borderRadius:"8px",maxWidth:"720px",width:"100%",backgroundColor:"white"}),n$=(0,m.styled)("div",{display:"flex",alignItems:"center",justifyContent:"center",gap:"$2",marginBottom:"$4"}),nk=(0,m.styled)(O.Icon,{size:24,fill:"$copyGray"}),nC=(0,m.styled)(_.Heading,{textAlign:"center",fontWeight:"$black",margin:0}),nE=(0,m.styled)(R.Text,{textAlign:"center",fontSize:"$sm",marginTop:"$2",marginBottom:"$6"}),nT=(0,m.styled)("div",{width:"100%",display:"flex",flexDirection:"column",gap:"$4","@md":{flexDirection:"row",alignItems:"center",maxWidth:"420px",gap:"$6"}}),nL=(0,m.styled)("div",{width:"100%","@md":{flex:1}}),nI=(0,m.styled)(P.Button,{width:"100%",textTransform:"uppercase",fontWeight:"$black",borderRadius:"999px",paddingTop:"$6",paddingBottom:"$6",backgroundColor:"#c41130",color:"$bkgWhite",padding:"$1 $8",fontSize:"$base","&:hover":{backgroundColor:"#a00e26"},"@md":{width:"auto"}}),nR=(0,m.styled)(P.Button,{marginTop:"$4",backgroundColor:"$bkgWhite",color:"$black",textTransform:"uppercase",fontWeight:"$black",borderRadius:"999px",padding:"$1 $8",width:"100%","@md":{marginTop:"$8",width:"auto",paddingLeft:"$8",paddingRight:"$8"}});var nD=e.i(645713);let nO=e=>{let{content:n,success:a}=e,l=(0,ni.useRouter)(),{success:i,failure:r}=n||{},{previousStep:o}=(0,nm.useWizard)(),s=(0,c.useMemo)(()=>a?i:r,[a,i,r]);return(0,t.jsxs)(nP,{children:[(0,t.jsx)(nA,{as:"h1",children:null==s?void 0:s.heading}),(0,t.jsx)(nB,{children:null==s?void 0:s.description}),(null==s?void 0:s.ctaLabel)&&(0,t.jsx)(nW,{onClick:a?()=>{l.push((0,nD.managePath)((null==i?void 0:i.ctaLink)||"/login"))}:o,type:"button",children:null==s?void 0:s.ctaLabel})]})},nP=(0,m.styled)("div",{textAlign:"center",maxWidth:"720px",marginBottom:"$8"}),nA=(0,m.styled)(_.Heading,{fontSize:"$2xl",fontWeight:"$black",marginBottom:"$3",lineHeight:"1.4"}),nB=(0,m.styled)(R.Text,{fontSize:"$sm",color:"$copyGray",lineHeight:"1.6"}),nW=(0,m.styled)(P.Button,{marginTop:"$4",backgroundColor:"#c41130",color:"$bkgWhite",textTransform:"uppercase",fontWeight:"$black",borderRadius:"999px",padding:"$1 $8",width:"100%","@md":{marginTop:"$8",width:"auto",paddingLeft:"$8",paddingRight:"$8"}}),nG={email:"verify-email",code:"code",result:"result"},nM={email:0},nz=e=>{let{isLoading:n,email:a,success:l,emailStep:i,codeStep:r,resultStep:o,setEmail:s,sendOtp:d,confirmOtp:u,resendOtp:p}=e,[m,g]=(0,c.useState)(nM.email);return(0,t.jsxs)(nF,{children:[n&&(0,t.jsx)(nH,{children:(0,t.jsx)(h.Loader,{})}),(0,t.jsxs)(nw.Wizard,{initialStepIndex:m,children:[(0,t.jsx)(nw.Wizard.Step,{hash:nG.email,isLazyMount:!0,disableFullHeight:!0,children:(0,t.jsx)(nh,{setEmail:s,content:i,sendOtp:d})}),(0,t.jsx)(nw.Wizard.Step,{hash:nG.code,isLazyMount:!0,disableFullHeight:!0,children:(0,t.jsx)(nj,{email:a,confirmOtp:u,resendOtp:p,content:r})}),(0,t.jsx)(nw.Wizard.Step,{hash:nG.result,isLazyMount:!0,disableFullHeight:!0,children:(0,t.jsx)(nO,{content:o,success:l})})]})]})},nF=(0,m.styled)(a.Container,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"$6"}),nH=(0,m.styled)("div",{display:"flex",justifyContent:"center",alignItems:"center",marginBottom:"$4"}),nN=e=>{let{locale:n}=e,{props:a}=nU(n)||{};return a?(0,t.jsx)(nz,{...a}):null},nU=e=>{(0,g.getPublicConfigByLocale)(e).region;let{data:t,isLoading:n}=(0,C.useGetTranslations)({locale:e}),[a,l]=(0,c.useState)(!1),[i,r]=(0,c.useState)(""),[o,s]=(0,c.useState)(!1),{rp_email_step_box_title:d,rp_email_step_cta_label:u,rp_email_step_description:p,rp_email_step_heading:m,rp_email_step_input_label:h,rp_otp_step__box_title:f,rp_otp_step_box_description:v,rp_otp_step_cta_label:x,rp_otp_step_description:b,rp_otp_step_heading:w,rp_otp_step_input_label:j,rp_otp_step_secondary_cta_label:_,rp_result_step_failure_cta_label:S,rp_result_step_failure_description:$,rp_result_step_failure_heading:k,rp_result_step_success_cta_label:E,rp_result_success_cta_link:T,rp_result_step_success_description:L,rp_result_step_success_heading:I,rp_otp_send_successfully:R,rp_otp_send_failed:D}=t||{};return{props:{isLoading:a,email:i,setEmail:r,success:o,emailStep:{heading:m,description:p,boxTitle:d,inputLabel:h,ctaLabel:u,emailRegex:(0,e0.getEmailRegex)(e)},sendOtp:async(t,n)=>{l(!0);let a=await y.NextSelfClient.sendOtpCodeByEmail(e,t);(null==a?void 0:a.success)?(R&&tg.toast.info(R),l(!1),null==n||n()):D&&tg.toast.error(D),l(!1)},confirmOtp:async(t,n)=>{l(!0);let a=await y.NextSelfClient.checkOtpCodeByEmail(e,{...t,email:i});if(null==a?void 0:a.success){let t=await y.NextSelfClient.unblockUserPayment(e,i);s((null==t?void 0:t.success)&&!t.isBlocked)}else s(!1);l(!1),null==n||n()},resendOtp:async t=>{l(!0);let n=await y.NextSelfClient.sendOtpCodeByEmail(e,t);(null==n?void 0:n.success)&&R?tg.toast.info(R):D&&tg.toast.error(D),l(!1)},codeStep:{heading:w,description:b,boxTitle:f,boxDescription:v,inputLabel:j,ctaLabel:x,secondaryCtaLabel:_},resultStep:{success:{heading:I,description:L,ctaLabel:E,ctaLink:T},failure:{heading:k,description:$,ctaLabel:S}}}}};
1var nV=e.i(49038),nq=e.i(536614),nK=e.i(65538);let nX=(0,s.default)(()=>e.A(801001),{loadableGenerated:{modules:[915356]}}),nY=e=>{var s,p,m,h,g,f,v,x,y,b,j,_,S,$,k,E,L,I,R;let{page:D,noIndex:O,noFollow:P}=e,A=(0,c.useId)(),B="product-overview-cta-".concat(A),W=(0,i.useElementScrolled)(B,e=>e-70),{data:G}=(0,r.useGetSessionData)({locale:null==(s=D.pageMetadata)?void 0:s.localeEnum}),{data:M}=(0,eD.useGetSiteData)(),z=null==G||null==(p=G.user)?void 0:p.isAuthenticated,{TrackCart:F}=(0,eL.useCartTracking)(D,z),{data:H}=(0,eI.useGetModules)(),{data:N}=(0,C.useGetTranslations)({locale:null==(m=D.pageMetadata)?void 0:m.localeEnum}),U=(0,e0.forceMobileBreadcrumbs)(null==(h=D.pageMetadata)?void 0:h.localeEnum),V=null==H?void 0:H.find(e=>(null==e?void 0:e.__typename)==="NavigationLinkModule"&&(null==e?void 0:e.type)==="AnchorBar"),q=(null==(f=D.pageMetadata)||null==(g=f.seo)?void 0:g.indexed)!==void 0&&!(null==(x=D.pageMetadata)||null==(v=x.seo)?void 0:v.indexed),K=(null==(b=D.pageMetadata)||null==(y=b.seo)?void 0:y.followed)!==void 0&&!(null==(_=D.pageMetadata)||null==(j=_.seo)?void 0:j.followed),X=(null==D?void 0:D.landingType)==="BLOSSOM"&&U,{seoTitle:Y,seoDescription:Q,openGraph:J,twitter:Z,additionalMetaTags:ee}=(0,d.usePageSeoMeta)({page:D,defaultDescription:null==N?void 0:N.defaultPageMetaDescription}),{organizationJsonLd:et,hasOrganizationSchema:en}=(e=>{var t,n,a;let{locale:l}=e,{data:i}=(0,eD.useGetSiteData)(),{data:r}=(0,nq.useGetHeader)({locale:l}),{data:o}=(0,nK.useGetFooter)({locale:l}),{data:s}=(0,C.useGetTranslations)({locale:l}),d=(null==i?void 0:i.host)?"https://".concat(i.host):void 0,c="string"==typeof(null==r||null==(t=r.logo)?void 0:t.src)?r.logo.src:void 0,u=(0,nD.toAbsoluteUrl)(c,null==i?void 0:i.host),p=null==o||null==(a=o.socialMedia)||null==(n=a.medias)?void 0:n.map(e=>null==e?void 0:e.href).filter(Boolean);return{organizationJsonLd:{"@context":"https://schema.org","@type":"Organization",name:"KitchenAid",url:d,logo:u,description:null==s?void 0:s.defaultPageMetaDescription,sameAs:p&&p.length>0?p:void 0,areaServed:null==i?void 0:i.country},hasOrganizationSchema:(0,e0.isStructuredDataSchemaEnabled)(l)&&!!(null==i?void 0:i.host)}})({locale:null==(S=D.pageMetadata)?void 0:S.localeEnum});return(0,t.jsxs)(F,{children:[(0,t.jsx)(o.NextSeo,{title:Y,description:Q,noindex:q||O,nofollow:K||P,openGraph:J,twitter:Z,additionalMetaTags:ee}),(0,t.jsx)(nV.StructuredDataScript,{id:"organization-jsonld",schema:et,enabled:en&&"HOME_PAGE"===D.type}),(0,t.jsx)(tQ.BazaarVoiceEvent,{locale:null==($=D.pageMetadata)?void 0:$.localeEnum}),(0,t.jsx)(l.SkipContentButton,{cta:{children:"Skip the navigation",href:"#main-content"}}),(0,t.jsxs)("main",{"data-id":"main-content",children:[(null==(E=D.breadcrumb)||null==(k=E.links)?void 0:k.length)>1?(0,t.jsx)(a.Container,{"data-id":"breadcrumb",css:{position:"relative",...X&&{zIndex:"1",backgroundColor:"white"}},size:"xl",children:(0,t.jsx)(n.Breadcrumb,{showBreadcrumbsOnMobile:U,anchorBarVisible:void 0!==V,children:null==(L=D.breadcrumb.links)?void 0:L.map((e,a)=>(0,t.jsx)(n.Breadcrumb.Item,{href:"".concat((0,eR.linkHelper)(M,null==e?void 0:e.href)),label:null==e?void 0:e.label,separatorLabel:">",current:a===D.breadcrumb.links.length-1},a))})}):null,"HOME_PAGE"===D.type?(0,t.jsx)(u.default,{modules:H,page:D,productOverviewCtaId:B,isProductOverviewCtaScrolled:W,locale:D.pageMetadata.localeEnum,isH1Title:!0,isGenericPage:!0}):null,"OTHER"===D.type?(0,t.jsx)(u.default,{modules:H,page:D,productOverviewCtaId:B,isProductOverviewCtaScrolled:W,locale:D.pageMetadata.localeEnum,isH1Title:!0,isGenericPage:!0}):null,"STORE_FINDER"===D.type?(0,t.jsx)(T,{locale:D.pageMetadata.localeEnum}):null,"DEMO_PAGE"===D.type?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u.default,{modules:H.slice(0,2),page:D,productOverviewCtaId:B,isProductOverviewCtaScrolled:W,locale:D.pageMetadata.localeEnum,isH1Title:!0}),(0,t.jsx)(eh,{module:D.demoEvents,locale:null==(I=D.pageMetadata)?void 0:I.localeEnum}),(0,t.jsx)(u.default,{modules:H.slice(2),page:D,productOverviewCtaId:B,isProductOverviewCtaScrolled:W,locale:D.pageMetadata.localeEnum,isH1Title:!0})]}):null,"PRODUCT_REGISTRATION"===D.type?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u.default,{modules:H,page:D,productOverviewCtaId:B,isProductOverviewCtaScrolled:W,locale:D.pageMetadata.localeEnum,isH1Title:!0,isGenericPage:!0}),(0,t.jsx)(w,{locale:D.pageMetadata.localeEnum})]}):null,"LANDING"===D.type?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(nX,{type:D.landingType,locale:null==(R=D.pageMetadata)?void 0:R.localeEnum}),D.landingType?null:(0,t.jsx)(u.default,{modules:H,page:D,productOverviewCtaId:B,isProductOverviewCtaScrolled:W,locale:D.pageMetadata.localeEnum,isH1Title:!0,isGenericPage:!0})]}):null,"COOKIE_PAGE"===D.type?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u.default,{modules:H.slice(0,2),page:D,productOverviewCtaId:B,isProductOverviewCtaScrolled:W,locale:D.pageMetadata.localeEnum,isH1Title:!0}),(0,t.jsx)(eE,{locale:D.pageMetadata.localeEnum}),(0,t.jsx)(u.default,{modules:H.slice(2),page:D,productOverviewCtaId:B,isProductOverviewCtaScrolled:W,locale:D.pageMetadata.localeEnum,isH1Title:!0})]}):null,"SIGN_UP"===D.type&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u.default,{modules:H,page:D,productOverviewCtaId:B,isProductOverviewCtaScrolled:W,locale:D.pageMetadata.localeEnum,isH1Title:!0,isGenericPage:!0}),(0,t.jsx)(tE,{locale:D.pageMetadata.localeEnum,page:D})]}),"FORGOT_PASSWORD"===D.type&&(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(tW,{locale:D.pageMetadata.localeEnum,modules:H})}),"RESET_PASSWORD"===D.type&&(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(tX,{locale:D.pageMetadata.localeEnum,modules:H})}),"EMAIL_VERIFICATION"===D.type&&(0,t.jsx)(nr,{locale:D.pageMetadata.localeEnum,modules:H}),"RESTORE_PROCEDURE"===D.type&&(0,t.jsx)(nN,{locale:D.pageMetadata.localeEnum,modules:H})]})]})},nQ=nY},497276,e=>{e.n(e.i(345500))}]);
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.