1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="85dc9100-efb5-4804-985b-99731c8e2f00",e._sentryDebugIdIdentifier="sentry-dbid-85dc9100-efb5-4804-985b-99731c8e2f00")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7693,8450],{4460:(e,t,n)=>{"use strict";n.d(t,{Dv:()=>r,K0:()=>s,Tr:()=>c,cn:()=>a,rc:()=>l,th:()=>d});var o=n(91831),i=n(44987);let r=(0,i.Ay)(o.a).withConfig({displayName:"AppTextField.styles__TextFieldContainer",componentId:"sc-820e29c3-0"})(["position:relative;width:100%;height:44px;background-color:transparent;border-radius:10px;input{position:absolute;inset:0;border:0;outline:0;background-color:transparent;padding:",";height:100%;width:100%;color:#121d33 !important;caret-color:#121d33;text-align:left;",";font-size:100%;&::placeholder{color:#8a94a6 !important;}&:disabled{opacity:0.6;}}&:focus-within{",";}&.error{transition:border-bottom 0.3s ease;border-bottom:2px solid #ff4d4f;}"],e=>e.$hasStartAdornment?"0 36px 0 40px":"0 36px 0 16px",e=>"outlined"===e.$variant?(0,i.AH)(["box-shadow:none;border:1px solid #e7ebf3;border-radius:10px;background:#fff;"]):(0,i.AH)(["box-shadow:rgb(242,242,242) 0px 0px 0px 50px inset;border-radius:10px;"]),e=>"outlined"===e.$variant?(0,i.AH)(["input{border-color:#354bff;}"]):(0,i.AH)(["box-shadow:rgb(242,242,242) 0px 0px 0px 50px inset;color:#121d33 !important;"])),a=i.Ay.label.withConfig({displayName:"AppTextField.styles__TextFieldLabel",componentId:"sc-820e29c3-1"})(["color:#000;font-family:Helvetica;font-size:14px;font-style:normal;font-weight:400;line-height:normal;"]),s=i.Ay.button.withConfig({displayName:"AppTextField.styles__IconButton",componentId:"sc-820e29c3-2"})(["background-color:transparent;border:none;cursor:pointer;position:absolute;right:15px;top:35px;svg{opacity:0.6;color:#4d4d4d;transition:opacity 200ms;}&:hover svg{opacity:1;}"]),l=i.Ay.a.withConfig({displayName:"AppTextField.styles__Action",componentId:"sc-820e29c3-3"})(["cursor:pointer;font-size:12px;font-weight:600;text-align:right;color:#354bff;align-self:end;text-decoration:none;margin-right:2px;"]),d=i.Ay.div.withConfig({displayName:"AppTextField.styles__StartAdornment",componentId:"sc-820e29c3-4"})(["position:absolute;left:12px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;z-index:1;pointer-events:none;color:#121d33;svg{width:20px;height:20px;color:#121d33;}"]),c=i.Ay.span.withConfig({displayName:"AppTextField.styles__RequiredIndicator",componentId:"sc-820e29c3-5"})(["color:#ff4d4f;font-size:12px;font-weight:600;margin-left:4px;"])},6022:(e,t,n)=>{"use strict";n.d(t,{C:()=>g,u:()=>x});var o=n(44482),i=n.n(o),r=n(7917),a=n.n(r),s=n(92515),l=n.n(s),d=n(39608),c=n.n(d),p=n(67460),m=n.n(p),h=n(62425),u=n.n(h);let g=e=>u()(e,(e,t,n,o)=>{e[c()(o)?n:l()(n)]=m()(t)?g(t):t}),x=e=>{if(c()(e)){var t;return null==(t=e.map)?void 0:t.call(e,x)}return i()(e)?Object.keys(e).reduce((t,n)=>(t[a()(n)]=x(e[n]),t),{}):e}},9706:(e,t,n)=>{"use strict";n.d(t,{R:()=>r});var o=n(23464),i=n(96586);let r=async()=>{let{data:e}=await o.A.get("/api/get-ip",{headers:{"Content-Type":"application/json",Accept:"application/json"}});return await (0,i.i)(e)}},13458:(e,t,n)=>{"use strict";n.d(t,{f:()=>d});var o=n(12115),i=n(79971),r=n(72290),a=n(46725),s=n(33048),l=n(19828);let d=()=>{let[e,t]=(0,o.useState)(0),[n,d]=(0,o.useState)(0),[c,p]=(0,o.useState)(""),[m,h]=(0,o.useState)(""),[u,g]=(0,o.useState)({currency:"",amount:0,mgmAmount:0,status:""}),x=(0,o.useCallback)(async()=>{let e=await (0,i.getCookie)(r.gP),n=await (0,i.getCookie)(r._u),o=await (0,i.getCookie)(r.m6),a=await (0,i.getCookie)(r.h5);h(o||""),t(Number(e)||0),d(Number(n)||0),p(a||""),g({currency:a||"",amount:Number(e)||0,mgmAmount:Number(n)||0,status:""})},[]);(0,o.useEffect)(()=>{x()},[x]);let f=(0,o.useCallback)(async()=>{try{let e=m===a.T1,t=100*a.H1,n=n=>({currency:e?a.OS:n.currency,amount:e?t:n.campaign_amount,mgmAmount:e?t:n.campaign_amount+n.invitee_cashback_cents/100,status:n.status});if(!m)return;let o=await (0,s.A)({countryCode:null!=m?m:a.T1});if(o)return void g(n(o));let i=await (0,s.A)({countryCode:"BM"});i&&g(n(i))}catch(e){console.error("Error fetching country settings:",e)}},[m]);(0,o.useEffect)(()=>{e&&n&&c||f()},[c,f,e,n]);let y=(0,o.useMemo)(()=>(0,l.up)(100*u.amount,u.currency||a.OS),[u.amount,u.currency]);return{countrySettings:u,formattedDefaultMoneyForCountry:y,loginAmount:e,loginMgmAmount:n,currentCurrency:c,countryCode:m}}},13508:(e,t,n)=>{"use strict";n.d(t,{S:()=>a,u:()=>r});var o=n(2200);let i=["utm_source","utm_medium","utm_campaign","utm_term","utm_content","fbclid","gclid"];function r(){try{let e=new URLSearchParams(window.location.search),t={};if(i.forEach(n=>{let o=e.get(n);o&&(t[n]=o)}),0===Object.keys(t).length)return;localStorage.setItem(o.nO,JSON.stringify({...t,captured_at:Date.now()}))}catch(e){}}function a(){try{let e=localStorage.getItem(o.nO);if(!e)return;let{captured_at:t,...n}=JSON.parse(e);if(Date.now()-t>864e5)return void localStorage.removeItem(o.nO);let i={};
1return Object.entries(n).forEach(e=>{let[t,n]=e;"string"==typeof n&&n&&(i[t]=n)}),Object.keys(i).length>0?i:void 0}catch(e){return}}},14295:(e,t,n)=>{"use strict";n.d(t,{FooterDataProvider:()=>a,b:()=>s});var o=n(95155),i=n(12115);let r=(0,i.createContext)(void 0),a=e=>{let{footerData:t,children:n}=e;return(0,o.jsx)(r.Provider,{value:{footerData:t},children:n})},s=()=>{let e=(0,i.useContext)(r);if(!e)throw Error("useFooterData must be used within a FooterDataProvider");return e}},16702:(e,t,n)=>{"use strict";n.d(t,{N:()=>c});var o=n(95155),i=n(12115),r=n(97901),a=n(78749),s=n(92657),l=n(95133),d=n(4460);let c=e=>{let{type:t="text",name:n,handleAction:c,label:p,className:m,actionText:h,labelStyle:u,variant:g="filled",startAdornment:x,...f}=e,[y,w]=(0,i.useState)(!1),b=(0,i.useMemo)(()=>"password"===t?y?"text":"password":t,[t,y]);return(0,o.jsxs)(r.s,{maxWidth:"100%",direction:"column",gap:"8px",position:"relative",style:f.style,children:[(0,o.jsxs)(r.s,{direction:"row",justify:"between",align:"center",gap:"10px",children:[(0,o.jsx)(l.A,{isVisible:!!p,children:(0,o.jsxs)(d.cn,{htmlFor:"password",style:u,children:[p,f.required&&(0,o.jsx)(d.Tr,{children:"*"})]})}),(0,o.jsx)(l.A,{isVisible:!!h,children:(0,o.jsx)(d.rc,{onClick:c,children:h})})]}),(0,o.jsxs)(d.Dv,{$variant:g,$hasStartAdornment:!!x,children:[(0,o.jsx)(l.A,{isVisible:!!x,children:(0,o.jsx)(d.th,{children:x})}),(0,o.jsx)("input",{type:b,name:n,id:n,className:m,...f})]}),(0,o.jsx)(l.A,{isVisible:"password"===t,children:(0,o.jsx)(d.K0,{type:"button","aria-label":"toggle password visibility",onClick:()=>w(e=>!e),children:y?(0,o.jsx)(a.A,{size:20}):(0,o.jsx)(s.A,{size:20})})})]})}},17693:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>b});var o=n(95155),i=n(12115),r=n(35160),a=n(68548),s=n(69855),l=n(86421),d=n(61650),c=n(91518),p=n(46122),m=n(20041),h=n(44987);let u=h.Ay.label.withConfig({displayName:"PhoneField.styles__Label",componentId:"sc-ea0abe18-0"})(["transition:transform 300ms ease;position:absolute;top:26px;transform-origin:left top;z-index:0;color:#767676;text-align:left;left:16px;"," ",""],e=>{let{variant:t}=e;return"onboarding"===t&&(0,h.AH)(["color:#fff;left:0px;"])},e=>{let{variant:t}=e;return"referStore"===t&&(0,h.AH)(["color:#767676;left:15px;"])}),g=h.Ay.div.withConfig({displayName:"PhoneField.styles__Fieldset",componentId:"sc-ea0abe18-1"})(["border-width:1px;border-style:solid;border-color:",";border-radius:8px;position:relative;height:70px;padding:22px 16px;max-width:250px;min-width:250px;width:250px;"," @media screen and (max-width:1076px){max-width:100% !important;min-width:100% !important;width:100% !important;}"," "," pointer-events:",";cursor:",";input{border:0;background-color:transparent;width:100%;color:#121d33;text-align:left;opacity:",";font-size:16px;line-height:24px;outline:none;"," "," &:-webkit-autofill,&:-webkit-autofill:hover,&:-webkit-autofill:focus,&:-webkit-autofill:active{background-color:transparent !important;-webkit-box-shadow:0 0 0 50px white inset;-webkit-text-fill-color:#333;}:focus{background-color:transparent;}&[data-com-onepassword-filled='light']{background-color:transparent !important;}}.PhoneInputCountrySelect{font-size:16px;}","{transform:translateY(-15px) scale(0.75);font-weight:500;}"],e=>e.$hasError?"#FF4646":"#dddddd",e=>{let{$hideLabel:t}=e;return t&&(0,h.AH)(["padding:12px 16px;height:48px;& > .PhoneInput{margin-top:0 !important;}"])},e=>{let{variant:t}=e;return"onboarding"===t&&(0,h.AH)(["border:none;padding:16px 0 0 0;"])},e=>{let{variant:t}=e;return"referStore"===t&&(0,h.AH)(["width:508px;height:59px;padding:14px 14px;margin-bottom:5px;margin-top:-5px;border:none;"])},e=>{let{confirmed:t}=e;return t?"none":"auto"},e=>{let{confirmed:t}=e;return t?"not-allowed":"auto"},e=>{let{confirmed:t}=e;return t?"0.6":"1"},e=>{let{variant:t}=e;return"onboarding"===t&&(0,h.AH)(["color:#fff;height:100%;"])},e=>{let{variant:t}=e;return"referStore"===t&&(0,h.AH)(["color:#00063e;height:100%;"])},u),x=h.Ay.div.withConfig({displayName:"PhoneField.styles__FieldErrorMessage",componentId:"sc-ea0abe18-2"})(["min-height:20px;color:#ff4646;font-weight:700;line-height:20px;font-size:10px;padding-top:16px;text-align:left;"]),f=(0,h.Ay)(m.Ay).withConfig({displayName:"PhoneField.styles__Input",componentId:"sc-ea0abe18-3"})(["margin-top:","px !important;"],e=>{let{variant:t}=e;return"referStore"===t?100:10}),y=h.Ay.span.withConfig({displayName:"PhoneField.styles__RequiredIndicator",componentId:"sc-ea0abe18-4"})(["color:#ff4d4f;font-size:12px;font-weight:600;margin-left:4px;"]),w=(0,i.forwardRef)((e,t)=>{let{useNationalFormatForDefaultCountryValue:n,variant:i,...r}=e;return(0,o.jsx)("input",{ref:t,...r})});w.displayName="CleanInput";let b=(0,i.memo)(function(e){let{onChange:t,touched:n,error:m,onBlur:h,value:b,autoF
1ocus:_=!1,noCountryCode:C=!1,variant:v,confirmed:j,limitToLiveCountriesOnly:A,required:S=!1,fieldsetStyle:I={},hideLabel:k=!1,defaultCountry:N,placeholder:F}=e,{isSM:L}=(0,d.l)(),P=(0,i.useRef)(null),{t:z}=(0,c.B)("common"),R=(0,i.useContext)(l.lj),B=null==R?void 0:R.settings,{countryCode:O}=(0,p.y)();(0,i.useEffect)(()=>{var e;!L&&C&&(null==P||null==(e=P.current)||e.focus())},[L,C]);let T=(0,i.useMemo)(()=>{var e,t,n,o;return A?null!=(o=null==B||null==(n=B.allLocationSettings)||null==(t=n.map)||null==(e=t.call(n,e=>e.countryCode))?void 0:e.filter(e=>"BM"!==e))?o:["PT","BR"]:[]},[A,null==B?void 0:B.allLocationSettings]),E=(0,i.useMemo)(()=>N||(O&&T.includes(O)?O:"PT"),[N,O,T]),[M,U]=(0,i.useState)(E),H=(0,i.useMemo)(()=>{if(F)return F;try{var e;let t=(0,a.a)(M,s.A);return null!=(e=null==t?void 0:t.formatNational())?e:"912 345 678"}catch(e){return"912 345 678"}},[F,M]);return(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("div",{style:{width:"100%"},children:(0,o.jsxs)(g,{$hasValue:!!b,$hasError:n&&!!m,variant:v,confirmed:j,style:I,className:m?"input-error":"",$hideLabel:k,children:[!!m&&"onboarding"===v&&(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(x,{children:n&&m})}),!k&&(0,o.jsxs)(u,{variant:v,htmlFor:"phoneNumber",children:[z("phone_number")," ",S&&(0,o.jsx)(y,{children:"*"})]}),C?(0,o.jsx)(f,{name:"phoneNumber",placeholder:"912 345 678",country:"PT",international:!0,value:b,onChange:e=>t("phoneNumber",null!=e?e:""),onBlur:h,ref:P,variant:v}):(0,o.jsx)(r.Ay,{name:"phoneNumber",defaultCountry:E,placeholder:H,value:b,useNationalFormatForDefaultCountryValue:!0,onChange:e=>t("phoneNumber",null!=e?e:""),onCountryChange:e=>{e&&U(e),t("countryCode",null!=e?e:"")},onBlur:h,autoFocus:_,variant:v,addInternationalOption:!1,countries:T,inputComponent:w}),!!m&&"onboarding"!==v&&"referStore"!==v&&(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(x,{children:n&&m})})]})})})})},19238:(e,t,n)=>{"use strict";n.d(t,{c:()=>s,d:()=>a});var o=n(95155),i=n(12115);let r=(0,i.createContext)(void 0),a=()=>{let e=(0,i.useContext)(r);if(!e)throw Error("useSearchBarCollapseContext must be used within a SearchBarCollapseProvider");return e},s=e=>{let{children:t}=e,[n,a]=(0,i.useState)(0),s=(0,i.useCallback)(()=>{a(e=>e+1)},[]),l=(0,i.useMemo)(()=>({mobileSearchCollapseSignal:n,triggerMobileSearchCollapse:s}),[n,s]);return(0,o.jsx)(r.Provider,{value:l,children:t})}}
1,19828:(e,t,n)=>{"use strict";n.d(t,{BO:()=>d,DX:()=>o,E4:()=>p,Qn:()=>m,a3:()=>s,bP:()=>i,hM:()=>l,oO:()=>r,up:()=>a});let o="YYYY-MM-DD";function i(e){let{priceCurrency:t="",discount:n=0,discountType:o="percentage"}=e;return n<=0?"":"percentage"===o?"".concat(n,"% off"):"direct_value"===o?"".concat(a(n,t)," off"):""}function r(e,t,n){return e?"percentage"===t?"".concat(Number(e),"%"):a(e,n):""}let a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"EUR";if("number"!=typeof e||isNaN(e))return"0";let n=e/100,o={EUR:"de-DE",USD:"en-US",BRL:"pt-BR",GBP:"en-GB",JPY:"ja-JP",CAD:"en-CA",AUD:"en-AU"}[t.toUpperCase()]||"en-US";try{return new Intl.NumberFormat(o,{style:"currency",currency:t.toUpperCase(),minimumFractionDigits:0,maximumFractionDigits:2}).format(n)}catch(e){return"".concat(n.toFixed(2)," ").concat(t)}},s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(e<60)return"".concat(e,"min");let t=Math.floor(e/60),n=e%60;return 0===n?"".concat(t,"h"):"".concat(t,"h ").concat(n,"min")};function l(e){let{price:t=0,discount:n=0,canBeAtHome:o=!1,currentAtHomeFee:i=0,discountType:r="percentage"}=e,a=isNaN(i)?0:i,s=o?t-a:t;if("direct_value"===r){let e=s-n;return e<0?0:e}return Math.round((s+Number.EPSILON)*((100-n)/100)*100)/100}let d=e=>{if(!e)return"";let t=parseInt(e,10);return isNaN(t)?e||"":t>=1e3?"".concat((t/1e3).toFixed(1),"k"):e},c="Best Deal";function p(e,t){return e&&e!==c?e:(null==t?void 0:t.toUpperCase())==="BR"?"Imperd\xedvel":c}let m=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"EUR";return({EUR:"â¬",BRL:"R$",USD:"$"})[e]}},26852:(e,t,n)=>{Promise.resolve().then(n.bind(n,3264)),Promise.resolve().then(n.bind(n,46096)),Promise.resolve().then(n.bind(n,14295)),Promise.resolve().then(n.bind(n,95664))},33048:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,m:()=>r});var o=n(22354),i=n(6022);let r=async()=>{let{data:e}=await o.k.get("/settings");return(0,i.C)(e)},a=async e=>{let{countryCode:t}=e,{data:n}=await o.k.get("/list_country_settings/".concat(t)),r=(0,i.C)(n);return null==r?void 0:r.locationSettings}},34720:(e,t,n)=>{"use strict";n.d(t,{Bd:()=>a.B,GD:()=>o.G,d7:()=>s.d7,lm:()=>r.l,sn:()=>i.s});var o=n(42341),i=n(91839),r=n(61650),a=n(91518);n(81391);var s=n(6042)},42341:(e,t,n)=>{"use strict";n.d(t,{G:()=>a});var o=n(12115),i=n(21603),r=n(47756);let a=()=>{let[e,t,n,a,s,l]=(0,r.l)((0,i.k)(e=>[e.isAuthModalOpen,e.setShowAuthModal,e.authRoute,e.setAuthRoute,e.routeProps,e.setAuthRouteAndProps])),d=(0,o.useCallback)(e=>{a(e),window.location.hash=e},[a]),c=(0,o.useCallback)((e,t)=>{window.location.hash=e,l({route:e,routeProps:t})},[l]),p=(0,o.useCallback)(()=>{var e,o;t(!1),l({route:n,routeProps:{}}),(null==(o=window)||null==(e=o.location)?void 0:e.hash)&&(window.location.hash="")},[n,l,t]),m=(0,o.useCallback)(e=>{window.location.hash=e,l({route:e,routeProps:{}}),t(!0)},[l,t]),h=(0,o.useCallback)(e=>{l({route:r.L.Login,routeProps:e?{pathToPushAfterLogin:e}:{}}),t(!0)},[l,t]);return(0,o.useMemo)(()=>{var t;return{pathToPushAfterLogin:null!=(t=null==s?void 0:s.pathToPushAfterLogin)?t:"",routeProps:s,authRoute:n,isAuthModalOpen:e,openAuthModal:m,openAuthModalWithProps:l,closeAuthModal:p,changeAuthRoute:d,changeRouteWithProps:c,logIn:h}},[n,s,e,d,c,p,h,m,l])}},46122:(e,t,n)=>{"use strict";n.d(t,{y:()=>u});var o=n(79971),i=n(65453),r=n(72290),a=n(46725);let s=e=>{try{var t;return(null==(t=(0,o.getCookie)(e))?void 0:t.toString())||""}catch(t){return console.warn("Failed to read cookie ".concat(e,":"),t),""}},[l,d]=[s(r.Qo),s(r.QO)],c=s(r.m0),p=!!(l&&d),m=p?{lat:parseFloat(l),lon:parseFloat(d)}:void 0,h=s(r.m6),u=(0,i.v)(e=>({hasUserLocation:p,coordinates:m,countryCode:h,location:c,searchedLocation:"",lastLocation:"",hasCurrentLocation:!1,currentLocationValue:void 0,currentLocationCoordinates:void 0,setCoordinates:t=>{t&&((0,o.setCookie)(r.Qo,t.lat.toString()),(0,o.setCookie)(r.QO,t.lon.toString()),localStorage.setItem(r.Qo,t.lat.toString()),localStorage.setItem(r.QO,t.lon.toString())),e({hasUserLocation:!0,coordinates:t})},setLocation:t=>{(0,o.setCookie)(r.m0,t),(0,o.setCookie)(r.RG,t),e({location:t})},clearAllLocationData:()=>{(0,o.deleteCookie)(r.Qo),(0,o.deleteCookie)(r.QO),(0,o.deleteCookie)(r.m0),(0,o.deleteCookie)(r.HT),localStorage.removeItem(r.Qo),localStorage.removeItem(r.QO),localStorage.removeItem(r.bZ),e({location:"",searchedLocation:"",coordinates:void 0,hasUserLocation:!1})},setLastLocation:t=>e({lastLocation:t}),setCurrentLocationCoordinates:t=>{(0,o.setCookie)(r.Qo,t.lat.toString()),(0,o.setCookie)(r.QO,t.lon.toString()),e({hasCurrentLocation:!0,currentLocationCoordinates:t})},setCurrentLocation:t=>{let{location:n}=t;(0,o.setCookie)(r.m0,n),e({currentLocationValue:n})},setSearchedLocation:t=>{localStorage.setItem(r.bZ,t),e({searchedLocation:t})},setCurrentCountryCode:t=>{let{country_code:n}=t,i=n||a.T1;(0,o.setCookie)(r.m6,i),e({countryCode:i})}}))},46725:(e,t,n)=>{"use strict";n.d(t,{F:()=>a,H1:()=>l,MT:()=>i,OS:()=>d,T1:()=>r,cd:()=>s,oL:()=>p,yR:()=>c});var o=n(95707);let i={PT:"Portugal",BR:"Brasil",ES:"Espa\xf1a"},r="PT",a={PT:{lat:38.7222524,lon:-9.1393366,countryCode:"PT",location:"Lisboa, Portugal",country:"Portugal",maximum_radius:9500,default_radius:6500},ES:{lat:40.443476436785254,lon:-3.617745869311181,countryCode:"ES",location:"Madrid, Espanha",country:"Espanha",maximum_radius:2e4,default_radius:6500},BR:{lat:-22.908333,lon:-43.196388,countryCode:"BR",location:"Rio de Janeiro, Brasil",country:"Brasil",maximum_radius:2e4,default_radius:6500}},s=[{name:"",countryCode:"none",flag:"",disabled:!0},{name:"Portugal",countryCode:"PT",flag:(0,o.tO)("PT")},{name:"Espanha",countryCode:"ES",flag:(0,o.tO)("ES")},{name:"Brasil",countryCode:"BR",flag:(0,o.tO)("BR")}],l=5,d="EUR",c={PT:"EUR",BR:"BRL",ES:"EUR"},p={lat:"38.7436057",lon:"-9.2302432",city:"lisbon",country:"Portugal",country_code:"PT",currency:"EUR"}},47756:(e,t,n)=>{"use strict";n.d(t,{L:()=>i,l:()=>r});var o=n(65453),i=function(e){return e.Login="#auth-login",e.SignUp="#auth-sign-up",e.ResetPassword="#auth-reset-password",e.ForgotPassword="#auth-forgot-password",e}({});let r=(0,o.v)(e=>({isAuthModalOpen:!1,authRoute:"#auth-login",routeProps:{},setShowAuthModal:t=>e(()=>({isAuthModalOpen:t})),setAuthRoute:t=>e(()=>({authRoute:t})),setAuthRouteAndProps:t=>{e(()=>({authRoute:t.route,routeProps:t.routeProps}
1))}}))},59056:(e,t,n)=>{"use strict";n.d(t,{L9:()=>r,cv:()=>s,es:()=>a});var o=n(57383),i=n(22354);function r(){try{let e=new URLSearchParams(window.location.search).get("fbclid");if(e&&!o.A.get("_fbc")){let t=Date.now();o.A.set("_fbc","fb.1.".concat(t,".").concat(e),{expires:90})}}catch(e){console.warn("Failed to handle fbclid:",e)}}function a(e,t){"function"==typeof window.fbq&&(t?window.fbq("track",e,t):window.fbq("track",e))}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{userId:n,customData:r={}}=t,a={event_name:e,event_source_url:window.location.href,action_source:"website",fbp:o.A.get("_fbp")||void 0,fbc:o.A.get("_fbc")||void 0,external_id:function(){let e="fb_external_id",t=null;try{t=localStorage.getItem(e)}catch(e){}if(!t){t="undefined"!=typeof crypto&&"randomUUID"in crypto?crypto.randomUUID():"".concat(Date.now(),"-").concat(Math.random().toString(36).substring(2,15));try{localStorage.setItem(e,t)}catch(e){}}return t}(),custom_data:r};n&&(a.user_id=n),i.k.post("/facebook/conversions",a).catch(e=>{console.warn("[CAPI] Failed to send event:",e)})}},61650:(e,t,n)=>{"use strict";n.d(t,{U:()=>i,l:()=>r});var o=n(12115);function i(e){let[t,n]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let t=window.matchMedia(e),o=()=>n(t.matches);return o(),t.addEventListener("change",o),()=>t.removeEventListener("change",o)},[e]),t}let r=()=>{let e=i("only screen and (max-width : 480px)"),t=i("only screen and (max-width : 768px)"),n=i("only screen and (min-width : 769px) and (max-width : 992px)"),o=i("only screen and (min-width : 993px) and (max-width : 1200px)");return{isXS:e,isSM:t,isMD:n,isLG:o,isXL:i("only screen and (min-width : 1201px)"),isXXL:i("only screen and (min-width : 1400px)")}}},63978:(e,t,n)=>{"use strict";n.d(t,{S:()=>d});var o=n(95155);n(12115);var i=n(51154),r=n(68234),a=n(44987);let s=(0,a.i7)(["from{transform:rotate(0deg);}to{transform:rotate(360deg);}"]),l=(0,a.Ay)(r.$).withConfig({displayName:"AppButton.styles__StyledButton",componentId:"sc-416c2427-0"})(["display:flex;align-items:center;justify-content:center;gap:0.5rem;position:relative;border-radius:16px;font-weight:500;transition:all 0.2s ease;cursor:pointer;width:",";height:",";.spin-icon{animation:"," 1s linear infinite;}"," "," &:disabled{opacity:0.5;cursor:not-allowed;}"],e=>e.$fullWidth?"100%":"auto",e=>e.$height?"".concat(e.$height,"px"):"auto",s,e=>{switch(e.$variant){case"primary":return"\n background-color: #354bff;\n color: white;\n &:hover {\n background-color: #293feaff;\n }\n ";case"secondary":return"\n background-color: var(--accent-3);\n color: var(--accent-11);\n &:hover {\n background-color: var(--accent-4);\n }\n ";case"outline":return"\n background-color: transparent;\n border: 1px solid var(--gray-7);\n color: var(--gray-11);\n &:hover {\n background-color: var(--gray-3);\n }\n ";case"ghost":return"\n background-color: transparent;\n color: var(--gray-11);\n &:hover {\n background-color: var(--gray-3);\n }\n ";case"red":return"\n background-color: #e53935;\n color: #fff;\n border: none;\n &:hover {\n background-color: #d32f2f;\n }\n ";default:return""}},e=>{switch(e.$size){case"sm":return"\n padding: 0.375rem 0.75rem;\n font-size: 0.875rem;\n ";case"md":return"\n padding: 0.5rem 1rem;\n font-size: 1rem;\n ";case"lg":return"\n padding: 0.625rem 1.25rem;\n font-size: 1.125rem;\n ";default:return""}}),d=e=>{let{children:t,variant:n="primary",size:r="md",isLoading:a=!1,icon:s,fullWidth:d=!1,height:c,onClick:p,...m}=e;return(0,o.jsxs)(l,{$variant:n,$size:r,$fullWidth:d,disabled:a||m.disabled,$height:c,onClick:p,...m,children:[a?(0,o.jsx)(i.A,{className:"spin-icon",size:"sm"===r?16:"md"===r?18:20}):s,t]})}},66535:(e,t,n)=>{"use strict";n.d(t,{_:()=>r});var o=n(12115),i=n(95486);let r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:60,[t,n]=(0,o.useState)(!0),[r,a]=(0,o.useState)(e),s=(0,o.useRef)(null);return(0,o.useEffect)(()=>{0===r&&(clearInterval(s.current),n(!0),a(e))},[r,e]),(0,o.useEffect)(()=>()=>clearInterval(s.current),[]),{canRequest:t,initializeCooldown:(0,o.useCallback)(()=>{s.current=setInterval(()=>a(e=>e-1),1e3),n(!1)},[a]),clearCooldown:(0,o.useCallback)(()=>clearInterval(s.current),[]),timeLeft:i.A.utc(1e3*r).format("mm:ss")}}}
1,68833:(e,t,n)=>{"use strict";n.d(t,{i:()=>c,C:()=>p});var o=n(95155),i=n(12115),r=n(32960),a=n(22354),s=n(96586);let l=async()=>{let{data:e}=await a.k.get("/categories");return await (0,s.i)(e)},d=(0,i.createContext)(void 0),c=e=>{let{children:t}=e,[n,a]=(0,i.useState)([]),[s,c]=(0,i.useState)(null),{data:p}=(0,r.I)({queryKey:["getCategories"],queryFn:l}),m=(0,i.useCallback)(e=>{c(t=>(null==t?void 0:t.id)===(null==e?void 0:e.id)?null:e)},[]);(0,i.useEffect)(()=>{(null==p?void 0:p.length)&&a(p)},[p]);let h=(0,i.useMemo)(()=>({categories:n,selectedCategory:s,handleSetSelectedCategory:m}),[n,s,m]);return(0,o.jsx)(d.Provider,{value:h,children:t})},p=()=>{let e=(0,i.useContext)(d);if(!e)throw Error("useCategories must be used within a CategoriesContext");return e}},72290:(e,t,n)=>{"use strict";n.d(t,{GJ:()=>x,HT:()=>l,IN:()=>y,K1:()=>f,QO:()=>a,Qo:()=>r,RG:()=>g,WS:()=>w,_u:()=>p,bJ:()=>u,bZ:()=>d,gP:()=>c,h5:()=>m,m0:()=>s,m6:()=>o,q2:()=>h,tK:()=>i});let o="@sheerme-web:countryCode",i="@sheerme-web:detectedUserCountryCode",r="@sheerme-web:coordinateLat",a="@sheerme-web:coordinateLon",s="@sheerme-web:coordinateLocation",l="@sheerme-web:searchLocation",d="@sheerme-web:searchedValue",c="@sheerme-web:loginAmount",p="@sheerme-web:loginMgmAmount",m="@sheerme-web:currentCurrency",h="@sheerme-web:showSheermeSession",u="@sheerme-web:activeCountry",g="@sheerme-web:city",x="@sheerme-web:countryName",f="@sheerme-web:rwgToken",y="@sheerme-web:merchantId",w="@sheerme-web:appSettings"},81391:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});var o=n(12115);let i={isOpen:!1,keyboardHeight:0,availableHeight:window.innerHeight,visualViewportHeight:window.innerHeight,visualViewportOffsetTop:0};function r(){let[e,t]=(0,o.useState)(i),n=(0,o.useCallback)(()=>{var e,t;let n=window.innerHeight,o=window.visualViewport,i=null!=(e=null==o?void 0:o.height)?e:n,r=null!=(t=null==o?void 0:o.offsetTop)?t:0,a=Math.max(0,n-i-r);return{isOpen:a>80,keyboardHeight:a,availableHeight:i,visualViewportHeight:i,visualViewportOffsetTop:r}},[]);return(0,o.useEffect)(()=>{var e,o;let i=()=>t(n()),r=e=>setTimeout(i,e);i();let a=()=>{i(),r(150)};window.addEventListener("resize",a),null==(e=window.visualViewport)||e.addEventListener("resize",a),null==(o=window.visualViewport)||o.addEventListener("scroll",i);let s=e=>{let t=e.target;t&&["INPUT","TEXTAREA"].includes(t.tagName)&&(r(200),r(500))},l=()=>r(200);return window.addEventListener("focusin",s),window.addEventListener("focusout",l),()=>{var e,t;window.removeEventListener("resize",a),null==(e=window.visualViewport)||e.removeEventListener("resize",a),null==(t=window.visualViewport)||t.removeEventListener("scroll",i),window.removeEventListener("focusin",s),window.removeEventListener("focusout",l)}},[n]),e}},82195:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var o=n(12115),i=n(14166),r=n(26715);let a=async(e,t,n)=>{let o=new URLSearchParams({lat:String(e),lon:String(t)});n&&o.set("language",n);let i=await fetch("/api/reverse-geocode?".concat(o));if(!i.ok)throw Error("Reverse geocoding failed");return i.json()},s=()=>{let e=(0,r.jE)(),t=(0,i.Ym)(),n=(null==t?void 0:t.split("-")[0])||"pt";return(0,o.useCallback)((t,o)=>{let i=parseFloat(t.toFixed(7)),r=parseFloat(o.toFixed(7));return e.fetchQuery({queryKey:["reverse-geocodes",i,r,n],queryFn:()=>a(t,o,n)})},[e,n])}},86421:(e,t,n)=>{"use strict";n.d(t,{Z6:()=>u,lj:()=>h,t0:()=>g});var o=n(95155),i=n(12115),r=n(79971),a=n(72290),s=n(46725),l=n(2200),d=n(82195),c=n(9706),p=n(33048),m=n(46122);let h=(0,i.createContext)(void 0),u=e=>{let{children:t}=e,[n,u]=(0,i.useState)({}),{setCurrentCountryCode:g,setCurrentLocationCoordinates:x,setCurrentLocation:f,setCoordinates:y,setLocation:w,countryCode:b}=(0,m.y)(),_=(0,d.i)(),C=(0,i.useCallback)(()=>{let e=localStorage.getItem(a.WS);e&&u(JSON.parse(e))},[]),v=(0,i.useCallback)(async()=>new Promise(e=>{if(!navigator.geolocation)return void e(null);navigator.geolocation.getCurrentPosition(async t=>{try{let n={lat:t.coords.latitude,lon:t.coords.longitude},o=await _(n.lat,n.lon);o.locality||o.country?e({lat:n.lat,lon:n.lon,city:o.locality,country:o.country,countryCode:o.countryCode}):e({lat:n.lat,lon:n.lon})}catch(t){e(null)}},()=>{e(null)},{maximumAge:1e4,timeout:5e3})}),[_]),j=(0,i.useCallback)(async()=>{var e,t,o,i,d,h,_,j,A,S,I,k,N,F,L,P,z,R,B,O,T,E,M,U,H;if(C(),!b){let e=!1,t=localStorage.getItem(l.BR),n=window.location.pathname.includes("/b/");if(!t&&navigator.geolocation&&!n){localStorage.setItem(l.BR,"true");let t=await v();if(t&&t.lat&&t.lon)try{let n={lat:t.lat,lon:t.lon},o=t.city?"".concat(t.city,", ").concat(t.country):t.country||"",i=t.countryCode||"";y(n),x(n),w(o),f({location:o}),i&&(g({country_code:i}),(0,r.getCookie)(a.tK)||(0,r.setCookie)(a.tK,i)),(0,r.setCookie)(a.GJ,t.country||""),(0,r.setCookie)(a.RG,t.city||""),e=!0,window.location.reload()}catch(e){}}if(!e)try{let e=await (0,c.R)();g(e.countryCode);let{country:t,city:n,lat:o,lon:i,countryCode:s}=e,l={lat:o,lon:i},d=n?"".concat(n,", ").concat(t):t;y(l),x(l),w(d),f({location:d}),g({country_code:s}),(0,r.getCookie)(a.tK)||(0,r.setCookie)(a.tK,s),(0,r.setCookie)(a.GJ,t),(0,r.setCookie)(a.RG,n)}catch(e){}}let D=b||m.y.getState().countryCode,$=D?await (0,p.A)({countryCode:D}):null,V=await (0,p.A)({countryCode:"BM"});try{let n=null!=(i=null!=(o=null==$?void 0:$.campaignAmount)?o:null==V?void 0:V.campaignAmount)?i:0,s=(null!=(h=null!=(d=null==$?void 0:$.inviteeCashbackCents)?d:null==V?void 0:V.inviteeCashbackCents)?h:0)/100,c={defaultRadius:null!=(_=null==$?void 0:$.defaultRadius)?_:null==V?void 0:V.defaultRadius,maximumRadius:null!=(j=null==$?void 0:$.maximumRadius)?j:null==V?void 0:V.maximumRadius,countryStatus:null!=(A=null==$?void 0:$.status)?A:null==V?void 0:V.status,currency:null!=(S=null==$?void 0:$.currency)?S:null==V?void 0:V.currency,loginAmount:null!=(I=null==$?void 0:$.campaignAmount)?I:null==V?void 0:V.campaignAmount,loginMgmAmount:n+s},m=await (0,p.m)(),g=e=>{var t,n;return null==e||null==(n=e.data)||null==(t=n.map)?void 0:t.call(n,e=>{var t,n,o;return{...null==e?void 0:e.attributes,topUpPartner:null==e||null==(o=e.attributes)||null==(n=o.topUpPartner)||null==(t=n.data)?void 0:t.attributes}})},x={...c,cashbackPercentage:Number(m.cashbackPercentage),atShopCashbackPercentage:Number(m.inStoreCashbackPercentage),isCampaignActive:m.isCampaignActive,locationSettings:g(null==m?void 0:m.locationSettings),allLocationSettings:g(null==m?void 0:m.allLocationSettings)};!localStorage.getItem(l.lN)&&$&&(localStorage.setItem(l.Cx,null==$||null==(k=$.maximumRadius)?void 0:k.toString()),localStorage.setItem(l.lN,null==$||null==(N=$.defaultRadius)?void 0:N.toString())),(0,r.setCookie)(a.q2,(null==$?void 0:$.status)==="draft"?"false":"true"),(0,r.setCookie)(a.bJ,null==$?void 0:$.status),(0,r.setCookie)(a.gP,null==$||null==(e=$.campaignAmount)?void 0:e.toString()),(0,r.setCookie)(a._u,null==$||null==(t=$.campaignAmount)?void 0:t.toString()),(0,r.setCookie)(a.h5,null==$?void 0:$.currency),(null==$?void 0:$.status)&&localStorage.setItem(a.bJ,null==$?void 0:$.status),u(e=>({...e,...x})),localStorage.setItem(a.WS,JSON.stringify(x))}catch(l){let e=!!((null==n?void 0:n.defaultRadius)&&(null==n?void 0:n.maximumRadius)&&(null==n?void 0:n.countryStatus)),t=null!=(F=null==V?void 0:V.campaignAmount)?F:0,o=(null!=(L=null==V?void 0:V.inviteeCashbackCents)?L:0)/100,i={};e||(i.defaultRadius=null!=(P=null==n?void 0:n.defaultRadius)?P:5e3,i.maximumRadius=null!=(z=null==n?void 0:n.maximumRadius)?z:1e4,i.countryStatus=null!=(R=null==n?void 0:n.countryStatus)?R:"draft",i.currency=null!=(B=null==n?void 0:n.currency)?B:null==V?void 0:V.currency,i.loginAmount=null!=(O=null==n?void 0:n.loginAmount)?O:t,i.loginMgmAmount=null!=(T=null==n?void 0:n.loginMgmAmount)?T:t+o),(null==n?void 0:n.cashbackPercentage)&&(null==n?void 0:n.atShopCashbackPercentage)||(i.cashbackPercentage=null!=(E=null==n?void 0:n.cashbackPercentage)?E:5,i.atShopCashbackPercentage=null!=(M=null==n?void 0:n.atShopCashbackPercentage)?M:0,i.isCampaignActive=null!=(U=null==n?void 0:n.isCampaignActive)&&U),Object.keys(i).length&&u(e=>({...e,...i})),x({lat:Number(s.oL.lat),lon:Number(s.oL.lon)}),f({location:"".concat(s.oL.city,", ").concat(s.oL.country)}),g({country_code:s.oL.country_code}),(0,r.setCookie)(a.q2,"false"),(0,r.setCookie)(a.bJ,"draft"),(0,r.setCookie)(a.RG,s.oL.city),(0,r.setCookie)(a.GJ,null!=(H=null==V?void 0:V.countryName)?H:s.oL.
1country),(0,r.setCookie)(a.gP,null==V?void 0:V.campaignAmount),(0,r.setCookie)(a._u,V.campaignAmount+V.inviteeCashbackCents/100),(0,r.setCookie)(a.h5,null==V?void 0:V.currency),localStorage.setItem(a.bJ,"draft")}},[C,y,g,f,x,w,n,b,v]);(0,i.useEffect)(()=>{j()},[]);let A=(0,i.useMemo)(()=>({settings:n,refetchSettings:j}),[n,j]);return(0,o.jsx)(h.Provider,{value:A,children:t})},g=()=>{let e=(0,i.useContext)(h);if(!e)throw Error("useSettings must be used within a SettingsContext");return e}},91518:(e,t,n)=>{"use strict";n.d(t,{B:()=>i});var o=n(17652);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"common",t=(0,o.c)(e);return{t,translate:(e,n)=>t(e,n)}}},91839:(e,t,n)=>{"use strict";n.d(t,{s:()=>a});var o=n(12115),i=n(14166),r=n(95486);let a=()=>{let e=(0,i.Ym)();return(0,o.useEffect)(()=>{r.A.locale({"pt-pt":"pt","pt-br":"pt-br",en:"en",es:"es"}[e]||"pt")},[e]),r.A}},95133:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});let o=e=>{let{children:t,isVisible:n}=e;return n?t:null}},95486:(e,t,n)=>{"use strict";n.d(t,{A:()=>u,C:()=>h});var o=n(30832),i=n.n(o),r=n(27611),a=n.n(r),s=n(54463),l=n.n(s),d=n(99758),c=n.n(d),p=n(91027),m=n.n(p);n(63088),n(10683),n(37060),n(32107),i().extend(m()),i().extend(a()),i().extend(c()),i().extend(l());let h=e=>{let t=String(e).match(/([+-])(\d{2}):?(\d{2})$/);if(t){let n=("+"===t[1]?1:-1)*(60*parseInt(t[2])+parseInt(t[3]));return i()(e).utcOffset(n)}return i().utc(e)},u=i()}
1,95664:(e,t,n)=>{"use strict";n.d(t,{Providers:()=>t4});var o=n(95155),i=n(12115),r=n(71345),a=n(50839),s=n(53926),l=n(7368),d=n(50187);let c=null,p=e=>{var t,n;let{children:r}=e,{user:a}=(0,d.As)(),p=(0,i.useMemo)(()=>{var e;return(null==a||null==(e=a.wallet)?void 0:e.currency)==="BRL"?"pk_live_51NaLzaASDtlO5Kjbm7IA70wYSCSBRftB7CUjaa5LMO4EJuYMTvJWoA39JXFlE6FNCg2dUxehYVF3dvOqxlOMkzDr00ck5zMVrf":"pk_live_TWbvFCfapIMJkSXPaUQY00Vg00sPVkJ53C"},[null==a||null==(t=a.wallet)?void 0:t.currency]),m=(0,i.useMemo)(()=>a?(e=>{if((null==c?void 0:c.key)===e)return c.promise;let t=(0,l.c)(e);return c={key:e,promise:t},t})(p):null,[a,p]);return(0,o.jsx)(s.S8,{stripe:m,children:r},"".concat(null==a||null==(n=a.wallet)?void 0:n.currency,"-").concat(p))};var m=n(59784),h=n(68833),u=n(19238),g=n(86421),x=n(91839),f=n(76853),y=n(88434),w=n(59056),b=n(13508),_=n(15452),C=n(54416),v=n(34720),j=n(44987);let A=j.Ay.button.withConfig({displayName:"CloseButton.styles__IconCloseButton",componentId:"sc-86e947d4-0"})(["display:none;@media screen and (max-width:991.98px){border-radius:50%;width:40px;height:40px;background-color:transparent;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;position:absolute;top:0;right:10px;z-index:999999999999999999999;svg{color:#fff;transition:opacity 200ms;width:18px;height:18px;}&:hover{color:#000000;background-color:#b4b4b4;}}"]),S=()=>{let{closeAuthModal:e}=(0,v.GD)();return(0,o.jsx)(A,{onClick:e,children:(0,o.jsx)(C.A,{size:32})})};var I=n(3005),k=n(74017),N=n(71539),F=n(13458),L=n(91518),P=n(97901);let z=(0,j.Ay)(P.s).withConfig({displayName:"LeftPanelInformation.styles__LeftPanelContainer",componentId:"sc-651b8d9d-0"})(["display:flex;width:45%;padding:40px 48px;flex-direction:column;justify-content:center;align-items:flex-start;gap:48px;flex-shrink:0;align-self:stretch;background:linear-gradient(133deg,rgba(248,250,252,0.3) 10.23%,rgba(53,75,255,0.3) 180.2%),#fff;@media screen and (max-width:768px){display:none;}"]),R=(0,j.Ay)(P.s).withConfig({displayName:"LeftPanelInformation.styles__TitleContainer",componentId:"sc-651b8d9d-1"})(["flex-direction:column;align-items:start;justify-content:center;"]),B=j.Ay.h3.withConfig({displayName:"LeftPanelInformation.styles__TitleDark",componentId:"sc-651b8d9d-2"})(["color:#1b1c1c;font-size:48px;font-style:normal;font-weight:700;line-height:54px;@media screen and (max-width:1110px){font-size:28px;line-height:34px;}"]),O=j.Ay.h4.withConfig({displayName:"LeftPanelInformation.styles__TitlePrimary",componentId:"sc-651b8d9d-3"})(["color:#354bff;font-size:48px;font-style:normal;font-weight:700;line-height:54px;@media screen and (max-width:1110px){font-size:28px;line-height:34px;}"]);(0,j.Ay)(P.s).withConfig({displayName:"LeftPanelInformation.styles__FlexContainer",componentId:"sc-651b8d9d-4"})(["flex-direction:row;justify-content:space-between;gap:4px;height:100%;background-color:white;width:100%;::-webkit-scrollbar{display:none;}@media screen and (max-width:991.98px){flex-direction:column;gap:20px;}"]),(0,j.Ay)(P.s).withConfig({displayName:"LeftPanelInformation.styles__LeftPanel",componentId:"sc-651b8d9d-5"})(["background-color:blue;width:50%;background-color:rgb(3,25,205);border-radius:8px 0px 0px 8px;position:relative;@media screen and (max-width:991.98px){width:100%;min-width:100%;height:85%;max-height:100%;border-radius:0;position:fixed;}"]),(0,j.Ay)(P.s).withConfig({displayName:"LeftPanelInformation.styles__RightPanel",componentId:"sc-651b8d9d-6"})(["width:53%;padding:56px;align-items:flex-start;@media screen and (max-width:1421px){padding:20px;}@media screen and (max-width:991.98px){width:100%;height:100%;position:relative;padding:0;overflow-y:auto;background-color:#f1f2fa;}"]);let T=(0,j.Ay)(P.s).withConfig({displayName:"LeftPanelInformation.styles__OnboardingOptionContainer",componentId:"sc-651b8d9d-7"})(["flex-direction:column;align-items:center;justify-content:center;gap:16px;width:100%;"]),E=(0,j.Ay)(P.s).withConfig({displayName:"LeftPanelInformation.styles__OnboardingOptionCard",componentId:"sc-651b8d9d-8"})(["width:100%;height:90px;flex-direction:row;align-items:center;border-radius:16px;gap:24px;@media screen and (max-width:1110px){height:60px;}"]),M=(0,j.Ay)(P.s).withConfig({displayName:"LeftPanelInformation.styles__IconContainer",componentId:"sc-651b8d9d-9"})(["width:56px;height:56px;justify-content:center;align-items:center;flex-shrink:0;border-radius:16px;border:1px solid #f1f2fa;background:#fff;"]),U=(0,j.Ay)(P.s).withConfig({displayName:"LeftPanelInformation.styles__OptionTitleContainer",componentId:"sc-651b8d9d-10"})(["flex:1;flex-direction:column;justify-content:center;align-items:flex-start;"]),H=j.Ay.p.withConfig({displayName:"LeftPanelInformation.styles__OptionTitle",componentId:"sc-651b8d9d-11"})(["color:#090b20;font-family:'Open Sans';font-size:16px;font-style:normal;font-weight:600;line-height:22px;text-decoration-line:none;@media screen and (max-width:1110px){font-size:14px;line-height:16px;}"]),D=j.Ay.p.withConfig({displayName:"LeftPanelInformation.styles__OptionSubtitle",componentId:"sc-651b8d9d-12"})(["color:#4c5667;font-family:'Open Sans';font-size:14px;font-style:normal;font-weight:400;line-height:19.6px;text-decoration-line:none;@media screen and (max-width:1110px){font-size:12px;line-height:12px;}"]),$=()=>{let{t:e}=(0,L.B)("auth"),{t:t}=(0,L.B)("categories"),{formattedDefaultMoneyForCountry:n}=(0,F.f)(),{categories:r}=(0,h.C)(),[a,s]=(0,i.useState)(0),[l,d]=(0,i.useState)(1),c=(0,i.useRef)(null),p=(0,i.useRef)(null),m=(0,i.useCallback)(e=>{let n=t(e.toLowerCase());return n.includes("missing")?e:n},[t]),u=(0,i.useMemo)(()=>{var e,t;return null==r||null==(t=r.reduce((e,t)=>
1[...e,...t.categories],[]))||null==(e=t.filter(e=>{var t;let{slug:n,name:o}=e;return null==(t=m(n||o))?void 0:t.toLowerCase()}))?void 0:e.sort((e,t)=>e.name<t.name?-1:+(e.name>t.name))},[r,m]),g=(0,i.useMemo)(()=>{var e,t;return null!=(t=null==u||null==(e=u.map(e=>m(e.slug||e.name)))?void 0:e.filter(e=>!!e))?t:[]},[u,m]);(0,i.useEffect)(()=>{s(0),d(1)},[g]),(0,i.useEffect)(()=>{if(c.current&&(clearInterval(c.current),c.current=null),p.current&&(clearTimeout(p.current),p.current=null),!(g.length<=1))return c.current=setInterval(()=>{d(0),p.current=setTimeout(()=>{s(e=>(e+1)%g.length),d(1),p.current=null},200)},2e3),()=>{c.current&&clearInterval(c.current),p.current&&clearTimeout(p.current),c.current=null,p.current=null}},[g.length]);let x=(0,i.useMemo)(()=>{var e;return g.length&&null!=(e=g[a])?e:""},[g,a]),f=(0,i.useMemo)(()=>[{title:e("onboarding_option_1",{amount:n}),subtitle:e("onboarding_option_1_subtitle"),icon:(0,o.jsx)(I.A,{size:28,color:"#354BFF"})},{title:e("onboarding_option_2",{percentage:30}),subtitle:e("onboarding_option_2_subtitle"),icon:(0,o.jsx)(k.A,{size:28,color:"#354BFF"})},{title:e("onboarding_option_3"),subtitle:e("onboarding_option_3_subtitle"),icon:(0,o.jsx)(N.A,{size:28,color:"#354BFF"})}],[n,e]);return(0,o.jsxs)(z,{children:[(0,o.jsxs)(R,{children:[(0,o.jsx)(B,{children:e("onboarding_title")}),(0,o.jsx)(O,{style:{opacity:l,transition:"opacity 250ms ease-in-out"},children:x})]}),(0,o.jsx)(T,{children:f.map((e,t)=>(0,o.jsxs)(E,{children:[(0,o.jsx)(M,{children:e.icon}),(0,o.jsxs)(U,{children:[(0,o.jsx)(H,{children:e.title}
1),(0,o.jsx)(D,{children:e.subtitle})]})]},t))})]})};var V=n(62177),G=n(90221),J=n(17885),Z=n(95133),W=n(16702),Q=n(47756);let q=j.Ay.div.withConfig({displayName:"SocialLoginTerms.styles__SocialLoginTermsRoot",componentId:"sc-720c2b5e-0"})(["display:flex;align-items:center;justify-content:center;margin-top:",";flex-wrap:wrap;white-space:pre-wrap;"],e=>{let{$isSignUp:t}=e;return t?"0":"16px"}),K=j.Ay.p.withConfig({displayName:"SocialLoginTerms.styles__SocialLoginText",componentId:"sc-720c2b5e-1"})(["font-size:12px;font-weight:400;color:#7b899d;text-align:center;",""],e=>{let{$isOtp:t}=e;return t&&(0,j.AH)(["text-align:start;"])}),Y=j.Ay.a.withConfig({displayName:"SocialLoginTerms.styles__StyledLink",componentId:"sc-720c2b5e-2"})(["font-size:12px;font-weight:600;color:#354bff;margin:0 4px;&:hover{color:#0319cd;}"]),X=(0,i.memo)(function(e){let{isSignUp:t=!1,isOtp:n=!1}=e,{t:i}=(0,v.Bd)("common");return(0,o.jsx)(q,{$isSignUp:t||n,children:(0,o.jsxs)(K,{$isOtp:n,children:[(0,o.jsx)(Z.A,{isVisible:n,children:i("by_continuing_you_agree_to_our")}),(0,o.jsxs)(Z.A,{isVisible:!n,children:[i("terms_1"),(0,o.jsx)(Y,{href:"/terms-and-conditions",target:"_blank",rel:"noopener noreferrer",children:i("terms_and_conditions")}),i("terms_2")]}),(0,o.jsx)(Y,{href:"/privacy-policy",target:"_blank",rel:"noopener noreferrer",children:i("privacy_policy")})]})})});var ee=n(3333),et=n(63978);let en=j.Ay.a.withConfig({displayName:"LoginForm.styles__Action",componentId:"sc-39575834-0"})(["cursor:pointer;font-size:12px;font-weight:600;text-align:right;color:#354bff;text-decoration:none;margin-right:1px;&:hover{text-decoration:underline;}"]);(0,j.Ay)(P.s).withConfig({displayName:"LoginForm.styles__LeftPanelContainer",componentId:"sc-39575834-1"})(["display:flex;width:45%;padding:40px 48px;flex-direction:column;justify-content:center;align-items:flex-start;gap:48px;flex-shrink:0;align-self:stretch;background:linear-gradient(133deg,rgba(248,250,252,0.3) 10.23%,rgba(53,75,255,0.3) 180.2%),#fff;@media screen and (max-width:768px){display:none;}"]),(0,j.Ay)(P.s).withConfig({displayName:"LoginForm.styles__TitleContainer",componentId:"sc-39575834-2"})(["flex-direction:column;align-items:start;justify-content:center;"]),j.Ay.h3.withConfig({displayName:"LoginForm.styles__TitleDark",componentId:"sc-39575834-3"})(["color:#1b1c1c;font-size:48px;font-style:normal;font-weight:700;line-height:54px;"]),j.Ay.h4.withConfig({displayName:"LoginForm.styles__TitlePrimary",componentId:"sc-39575834-4"})(["color:#354bff;font-size:48px;font-style:normal;font-weight:700;line-height:54px;"]);let eo=(0,j.Ay)(P.s).withConfig({displayName:"LoginForm.styles__FlexContainer",componentId:"sc-39575834-5"})(["flex-direction:row;justify-content:space-between;gap:4px;height:100%;background-color:white;width:100%;::-webkit-scrollbar{display:none;}@media screen and (max-width:768px){flex-direction:column;gap:20px;}"]);(0,j.Ay)(P.s).withConfig({displayName:"LoginForm.styles__LeftPanel",componentId:"sc-39575834-6"})(["background-color:blue;width:50%;background-color:rgb(3,25,205);border-radius:8px 0px 0px 8px;position:relative;@media screen and (max-width:768px){width:100%;min-width:100%;height:85%;max-height:100%;border-radius:0;position:fixed;}"]);let ei=(0,j.Ay)(P.s).withConfig({displayName:"LoginForm.styles__RightPanel",componentId:"sc-39575834-7"})(["width:55%;padding:56px;align-items:flex-start;@media screen and (max-width:1421px){padding:20px;}@media screen and (max-width:768px){width:100%;height:100%;position:relative;padding:0;overflow-y:auto;}"]),er=(0,j.Ay)(P.s).withConfig({displayName:"LoginForm.styles__FormContainer",componentId:"sc-39575834-8"})(["width:100%;@media screen and (max-width:768px){z-index:10000000000;background:white;border-radius:24px 24px 0px 0px;padding:20px;padding-top:30px;background-color:#fff;height:100%;form{> div{@media screen and (max-width:768px){gap:14px;}}}}"]),ea=j.Ay.img.withConfig({displayName:"LoginForm.styles__BaseShape",componentId:"sc-39575834-9"})(["position:absolute;z-index:1;opacity:0.3;"]);(0,j.Ay)(ea).withConfig({displayName:"LoginForm.styles__ShapeTopRight",componentId:"sc-39575834-10"})(["right:0;top:40px;"]),(0,j.Ay)(ea).withConfig({displayName:"LoginForm.styles__ShapeBottomLeft",componentId:"sc-39575834-11"})(["left:80px;bottom:0;"]),(0,j.Ay)(ea).withConfig({displayName:"LoginForm.styles__ShapeTopLeftLargeOffset",componentId:"sc-39575834-12"})(["left:0;top:200px;"]),(0,j.Ay)(ea).withConfig({displayName:"LoginForm.styles__ShapeBottomRight",componentId:"sc-39575834-13"})(["right:0;bottom:0;"]),(0,j.Ay)(ea).withConfig({displayName:"LoginForm.styles__ShapeTopLeft",componentId:"sc-39575834-14"})(["left:100px;top:0;"]),(0,j.Ay)(P.s).withConfig({displayName:"LoginForm.styles__LeftPanelContent",componentId:"sc-39575834-15"})(["display:flex;flex-direction:column;align-items:center;justify-content:center;margin:56px;@media screen and (max-width:768px){margin:0 20px;}"]),j.Ay.div.withConfig({displayName:"LoginForm.styles__ShapeContainer",componentId:"sc-39575834-16"})(["width:100%;height:100%;@media screen and (max-width:768px){position:absolute;z-index:1;}"]),j.Ay.p.withConfig({displayName:"LoginForm.styles__Header",componentId:"sc-39575834-17"})(["font-size:24px;font-weight:600;color:#fff;text-align:left;z-index:2;@media screen and (max-width:991.98px){margin:4px 0;margin-top:20px;font-size:20px;}"]),j.Ay.p.withConfig({displayName:"LoginForm.styles__MainText",componentId:"sc-39575834-18"})(["font-size:16px;font-weight:600;color:#fff;text-align:left;z-index:2;margin-top:30px;margin-bottom:30px;@media screen and (max-width:991.98px){margin-top:10px;margin-bottom:10px;font-size:14px;}"]),j.Ay.div.withConfig({displayName:"LoginForm.styles__Bullets",componentId:"sc-39575834-19"})(["display:flex;flex-direction:column;justify-content:flex-start;width:100%;z-index:2;gap:20px;@media screen and (max-width:991.98px){gap:2px;}"]),j.Ay.p.withConfig({displayName:"LoginForm.styles__Bullet",componentId:"sc-39575834-20"})(["color:#fff;font-size:16px;font-weight:600;text-align:left;z-index:2;@media screen and (max-width:768px){margin:4px 0;font-size:14px;}"]),(0,j.Ay)(et.S).withConfig({displayName:"LoginForm.styles__SocialButton",componentId:"sc-39575834-21"})(["display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;width:100%;height:44px;border-radius:6px;color:rgb(255,255,255);font-weight:400;font-size:14px;transition:opacity 0.3s;:hover{opacity:0.8;cursor:pointer;"," ","}"," ",""],e=>{let{$provider:t}=e;return"facebook"===t&&(0,j.AH)(["background:#1877f2 !important;"])},e=>{let{$provider:t}=e;return"google"===t&&(0,j.AH)(["background:#333333 !important;"])},e=>{let{$provider:t}=e;return"facebook"===t&&(0,j.AH)(["background-color:#1877f2 !important;"])},e=>{let{$provider:t}=e;return"google"===t&&(0,j.AH)(["background-color:#333333 !important;"])}),(0,j.Ay)(et.S).withConfig({displayName:"LoginForm.styles__SwitchLoginMethodButton",componentId:"sc-39575834-22"})(["display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;width:100%;height:44px;font-weight:500;font-size:14px;border-radius:16px;border:1px solid #354bff;color:#354bff;text-align:center;font-family:'Open Sans';font-size:14px;font-style:normal;font-weight:600;line-height:130%;letter-spacing:-0.42px;"]);let es=(0,j.Ay)(et.S).withConfig({displayName:"LoginForm.styles__SubmitButton",componentId:"sc-39575834-23"})(["display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:48px;border-radius:8px;background-color:#354bff;color:#fff;font-size:16px;line-height:46px;padding:0 32px;transition:opacity 0.3s ease,padding 0.3s ease;&:not(:disabled):hover{padding:0 36px;opacity:0.8;background-color:#354bff;}
1&:disabled{opacity:0.4;cursor:not-allowed;}@media screen and (max-width:768px){width:100%;padding:0 16px;}"]);j.Ay.h2.withConfig({displayName:"LoginForm.styles__Title",componentId:"sc-39575834-24"})(["font-size:24px;padding:0px;margin:0px;align-self:flex-start;color:#00063e;"]);let el=j.Ay.div.withConfig({displayName:"LoginForm.styles__CreateAccount",componentId:"sc-39575834-25"})(["display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;"]);j.Ay.div.withConfig({displayName:"LoginForm.styles__SmallActionRow",componentId:"sc-39575834-26"})(["display:flex;justify-content:flex-end;margin-top:-6px;"]),j.Ay.div.withConfig({displayName:"LoginForm.styles__LineOuterContainer",componentId:"sc-39575834-27"})(["margin:16px 0;@media screen and (max-width:768px){margin:12px 0;}"]),j.Ay.p.withConfig({displayName:"LoginForm.styles__LineContainer",componentId:"sc-39575834-28"})(["width:100%;text-align:center;border-bottom:1px solid #c4cad4;line-height:0.1em;margin:10px 0;span{background-color:#fff;height:100%;padding:0 24px;}"]),j.Ay.div.withConfig({displayName:"LoginForm.styles__Fieldset",componentId:"sc-39575834-29"})(["border-width:1px;border-style:solid;border-color:#e5e5e5;border-bottom:",";border-bottom-color:",";border-radius:6px;position:relative;width:",";height:48px;margin-top:8px;background:#f2f2f2;@media screen and (max-width:1124px){width:100%;}"],e=>e.hasError?"4px solid #ff4646":"1px solid #e5e5e5",e=>e.hasError?"#ff4646":"#e5e5e5",e=>e.fullWidth?"100%":e.isName?"221px":"458px"),(0,j.Ay)(ee.b).withConfig({displayName:"LoginForm.styles__TextField",componentId:"sc-39575834-30"})(["position:relative;width:100%;height:48px;background-color:transparent;border-radius:6px;input{position:absolute;inset:0;border:0;outline:0;background-color:transparent;padding:0 36px 0 16px;height:100%;width:100%;color:#121d33;caret-color:#121d33;text-align:left;box-shadow:rgb(242,242,242) 0px 0px 0px 50px inset;border-radius:6px;&::placeholder{color:#8a94a6;}}&:focus-within{box-shadow:rgb(242,242,242) 0px 0px 0px 50px inset;border-radius:6px;}"]),j.Ay.label.withConfig({displayName:"LoginForm.styles__TextFieldLabel",componentId:"sc-39575834-31"})(["font-size:11px;line-height:12px;letter-spacing:0.3px;color:rgb(51,51,51);align-self:flex-start;"]);let ed=j.Ay.label.withConfig({displayName:"LoginForm.styles__PhoneTextFieldLabel",componentId:"sc-39575834-32"})(["color:#090b20;font-family:'Open Sans';font-size:14px;font-style:normal;font-weight:600;line-height:normal;"]);j.Ay.button.withConfig({displayName:"LoginForm.styles__IconButton",componentId:"sc-39575834-33"})(["background-color:transparent;border:none;cursor:pointer;position:absolute;right:15px;top:35px;svg{opacity:0.6;color:#4d4d4d;transition:opacity 200ms;}&:hover svg{opacity:1;}"]);let ec=(0,j.AH)(["color:#ff4646;width:100%;"]),ep=j.Ay.div.withConfig({displayName:"LoginForm.styles__FormErrorMessage",componentId:"sc-39575834-34"})(["",";min-height:40px;line-height:40px;font-weight:normal;font-size:14px;text-align:center;"],ec);j.Ay.p.withConfig({displayName:"LoginForm.styles__HelperText",componentId:"sc-39575834-35"})(["margin:0;color:#4d5a73;font-size:14px;line-height:1.5;"]),(0,j.Ay)(P.s).withConfig({displayName:"LoginForm.styles__ActionsRow",componentId:"sc-39575834-36"})(["justify-content:space-between;align-items:center;flex-direction:row;gap:12px;flex-wrap:wrap;"]),j.Ay.div.withConfig({displayName:"LoginForm.styles__MethodSwitcher",componentId:"sc-39575834-37"})(["display:inline-flex;gap:6px;padding:4px;border-radius:12px;background:#eef2ff;"]),j.Ay.button.withConfig({displayName:"LoginForm.styles__MethodButton",componentId:"sc-39575834-38"})(["border:0;border-radius:10px;padding:10px 16px;font-size:14px;font-weight:600;cursor:pointer;transition:background-color 0.2s ease,color 0.2s ease,box-shadow 0.2s ease;background:",";color:",";box-shadow:",";&:hover{background:",";}"],e=>{let{$active:t}=e;return t?"#354bff":"transparent"},e=>{let{$active:t}=e;return t?"#fff":"#354bff"},e=>{let{$active:t}=e;return t?"0 6px 20px rgba(53, 75, 255, 0.2)":"none"},e=>{let{$active:t}=e;return t?"#354bff":"rgba(53, 75, 255, 0.08)"}),(0,j.Ay)(P.s).withConfig({displayName:"LoginForm.styles__OnboardingOptionContainer",componentId:"sc-39575834-39"})(["flex-direction:column;align-items:center;justify-content:center;gap:16px;width:100%;"]),(0,j.Ay)(P.s).withConfig({displayName:"LoginForm.styles__OnboardingOptionCard",componentId:"sc-39575834-40"})(["width:100%;height:90px;flex-direction:row;align-items:center;border-radius:16px;gap:24px;"]),(0,j.Ay)(P.s).withConfig({displayName:"LoginForm.styles__IconContainer",componentId:"sc-39575834-41"})(["width:56px;height:56px;justify-content:center;align-items:center;flex-shrink:0;border-radius:16px;border:1px solid #f1f2fa;background:#fff;"]),(0,j.Ay)(P.s).withConfig({displayName:"LoginForm.styles__OptionTitleContainer",componentId:"sc-39575834-42"})(["flex:1;flex-direction:column;justify-content:center;align-items:flex-start;"]),j.Ay.p.withConfig({displayName:"LoginForm.styles__Optiontitle",componentId:"sc-39575834-43"})(["color:#090b20;font-family:'Open Sans';font-size:16px;font-style:normal;font-weight:600;line-height:22px;text-decoration-line:none;"]),j.Ay.p.withConfig({displayName:"LoginForm.styles__OptionSubtitle",componentId:"sc-39575834-44"})(["color:#4c5667;font-family:'Open Sans';font-size:14px;font-style:normal;font-weight:400;line-height:19.6px;text-decoration-line:none;
1"]),j.Ay.a.withConfig({displayName:"SignInHeader.styles__Action",componentId:"sc-7bf35367-0"})(["cursor:pointer;font-size:12px;font-weight:600;text-align:right;color:#354bff;text-decoration:none;margin-right:1px;&:hover{text-decoration:underline;}"]);let em=(0,j.Ay)(P.s).withConfig({displayName:"SignInHeader.styles__SignInTitleContainer",componentId:"sc-7bf35367-1"})(["flex-direction:column;margin-bottom:24px;@media screen and (max-width:768px){display:none;}"]),eh=j.Ay.h2.withConfig({displayName:"SignInHeader.styles__Title",componentId:"sc-7bf35367-2"})(["color:#101828;font-family:'Open Sans';font-size:24px;font-style:normal;font-weight:600;line-height:42px;"]),eu=j.Ay.p.withConfig({displayName:"SignInHeader.styles__SubTitle",componentId:"sc-7bf35367-3"})(["color:#6a7282;font-family:'Open Sans';font-size:14px;font-style:normal;font-weight:400;line-height:19.6px;"]);j.Ay.div.withConfig({displayName:"SignInHeader.styles__CreateAccount",componentId:"sc-7bf35367-4"})(["display:flex;align-items:center;justify-content:center;gap:8px;"]);let eg=(0,j.Ay)(P.s).withConfig({displayName:"SignInHeader.styles__TitleContainer",componentId:"sc-7bf35367-5"})(["display:none;@media screen and (max-width:768px){display:flex;flex-direction:column;align-items:start;justify-content:center;margin-bottom:28px;}"]),ex=(0,j.Ay)(P.s).withConfig({displayName:"SignInHeader.styles__InlineContainer",componentId:"sc-7bf35367-6"})(["flex-direction:row;align-items:center;justify-content:center;gap:8px;"]),ef=j.Ay.h3.withConfig({displayName:"SignInHeader.styles__TitleDark",componentId:"sc-7bf35367-7"})(["color:#1b1c1c;font-size:48px;font-style:normal;font-weight:700;line-height:54px;"]),ey=j.Ay.h3.withConfig({displayName:"SignInHeader.styles__TitlePrimary",componentId:"sc-7bf35367-8"})(["color:#354bff;font-size:48px;font-style:normal;font-weight:700;line-height:54px;"]),ew=()=>{let{t:e}=(0,v.Bd)("auth");return(0,o.jsxs)(P.s,{direction:"column",children:[(0,o.jsxs)(em,{children:[(0,o.jsx)(eh,{children:e("welcome_to_sheerme")}),(0,o.jsx)(eu,{children:e("welcome_to_sheerme_description")})]}),(0,o.jsxs)(eg,{children:[(0,o.jsx)(ef,{children:e("welcome_message")}),(0,o.jsxs)(ex,{children:[(0,o.jsx)(ef,{children:e("to")}),(0,o.jsx)(ey,{children:"sheerME"})]})]})]})};var eb=n(96241),e_=n(9070),eC=n(28883),ev=n(19420);let ej=i.memo(function(){return(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,o.jsx)("path",{d:"M20 10C20 4.47715 15.5229 0 10 0C4.47715 0 0 4.47715 0 10C0 14.9912 3.65684 19.1283 8.4375 19.8785V12.8906H5.89844V10H8.4375V7.79688C8.4375 5.29063 9.93047 3.90625 12.2146 3.90625C13.3084 3.90625 14.4531 4.10156 14.4531 4.10156V6.5625H13.1922C11.95 6.5625 11.5625 7.3334 11.5625 8.125V10H14.3359L13.8926 12.8906H11.5625V19.8785C16.3432 19.1283 20 14.9912 20 10Z",fill:"white"})})}),eA=i.memo(function(){return(0,o.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[(0,o.jsxs)("g",{clipPath:"url(#clip0_15974_67)",children:[(0,o.jsx)("path",{d:"M19.8052 10.2303C19.8052 9.55056 19.7501 8.86711 19.6325 8.19836H10.2002V12.0492H15.6016C15.3775 13.2911 14.6573 14.3898 13.6027 15.0879V17.5866H16.8252C18.7176 15.8449 19.8052 13.2728 19.8052 10.2303Z",fill:"#4285F4"}),(0,o.jsx)("path",{d:"M10.2 20.0006C12.897 20.0006 15.1715 19.1151 16.8287 17.5865L13.6062 15.0879C12.7096 15.6979 11.5522 16.0433 10.2037 16.0433C7.5948 16.0433 5.38279 14.2832 4.58911 11.9169H1.26373V14.4927C2.96133 17.8695 6.41898 20.0006 10.2 20.0006Z",fill:"#34A853"}),(0,o.jsx)("path",{d:"M4.58564 11.9169C4.16676 10.6749 4.16676 9.33008 4.58564 8.08811V5.51233H1.26395C-0.154389 8.33798 -0.154389 11.667 1.26395 14.4927L4.58564 11.9169Z",fill:"#FBBC04"}),(0,o.jsx)("path",{d:"M10.2 3.95805C11.6257 3.936 13.0036 4.47247 14.0361 5.45722L16.8911 2.60218C15.0833 0.904587 12.6839 -0.0287217 10.2 0.000673888C6.41898 0.000673888 2.96133 2.13185 1.26373 5.51234L4.58543 8.08813C5.37544 5.71811 7.59113 3.95805 10.2 3.95805Z",fill:"#EA4335"})]}),(0,o.jsx)("defs",{children:(0,o.jsx)("clipPath",{id:"clip0_15974_67",children:(0,o.jsx)("rect",{width:"20",height:"20",fill:"white"})})})]})}
1),eS=(0,j.Ay)(et.S).withConfig({displayName:"SignInOptions.styles__SocialButton",componentId:"sc-e9ae586a-0"})(["display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;padding:10px;gap:12px;border-radius:8px;border:1px solid #d4d4d4;background:#fff;box-shadow:0 1px 2px 0 rgba(0,0,0,0.05);:hover{opacity:0.8;cursor:pointer;"," ","}"," "," @media screen and (max-width:768px){height:50px;width:50px;}"],e=>{let{$provider:t}=e;return"facebook"===t&&(0,j.AH)(["background:#1877f2 !important;"])},e=>{let{$provider:t}=e;return"google"===t&&(0,j.AH)(["color:rgba(31,30,30,1) !important;"])},e=>{let{$provider:t}=e;return"facebook"===t&&(0,j.AH)(["background-color:#1877f2 !important;"])},e=>{let{$provider:t}=e;return"google"===t&&(0,j.AH)(["background-color:#fff !important;color:#333333 !important;"])}),eI=(0,j.Ay)(et.S).withConfig({displayName:"SignInOptions.styles__SwitchLoginMethodButton",componentId:"sc-e9ae586a-1"})(["display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;width:100%;height:44px;border-radius:6px;font-weight:500;font-size:14px;border-radius:6px;border:1px solid #d4d4d4;color:#404040;text-align:center;font-family:'Open Sans';font-size:14px;font-style:normal;font-weight:600;line-height:130%;letter-spacing:-0.42px;@media screen and (max-width:768px){height:50px;width:50px;}"]),ek=j.Ay.div.withConfig({displayName:"SignInOptions.styles__LineOuterContainer",componentId:"sc-e9ae586a-2"})(["margin:16px 0;@media screen and (max-width:768px){margin:12px 0;}"]),eN=j.Ay.p.withConfig({displayName:"SignInOptions.styles__LineContainer",componentId:"sc-e9ae586a-3"})(["width:100%;text-align:center;border-bottom:1px solid #e5e7eb;line-height:0.1em;margin:10px 0;span{background-color:#fff;height:100%;padding:0 24px;color:#99a1af;font-family:Inter;font-size:14px;font-style:normal;font-weight:400;}"]),eF=e=>{let{option:t,onSwitchSignInOption:n,handleSocialLogin:r,hideLine:a=!1}=e,{t:s}=(0,v.Bd)("auth"),{isSM:l}=(0,v.lm)(),d=(0,i.useMemo)(()=>"email"===t?"continue_with_email":"continue_with_otp",[t]);return(0,o.jsxs)(P.s,{direction:l?"row":"column",gap:"20px",justify:"center",children:[!a&&(0,o.jsx)(ek,{children:(0,o.jsx)(eN,{children:(0,o.jsx)("span",{children:s("or")})})}),(0,o.jsxs)(eS,{$provider:"google",fullWidth:!0,onClick:e=>{var t;r("Google"),null==e||null==(t=e.preventDefault)||t.call(e)},children:[(0,o.jsx)(eA,{}),!l&&(0,o.jsxs)(eb.E,{children:[s("sign_in_with")," Google"]})]}),(0,o.jsxs)(eS,{$provider:"facebook",fullWidth:!0,onClick:e=>{var t;r("Facebook"),null==e||null==(t=e.preventDefault)||t.call(e)},children:[(0,o.jsx)(ej,{}),!l&&(0,o.jsxs)(eb.E,{children:[s("sign_in_with")," Facebook"]})]}),l&&(0,o.jsx)(e_.K,{variant:"outline",onClick:()=>n(t),style:{justifyContent:"center",alignItems:"center",width:"50px",height:"50px",border:"1px solid #d4d4d4",borderRadius:"8px"},children:"email"===t?(0,o.jsx)(eC.A,{size:20,color:"#404040"}):(0,o.jsx)(ev.A,{color:"#404040",size:20})}),!l&&(0,o.jsx)(eI,{type:"button",variant:"outline",fullWidth:!0,onClick:()=>n(t),icon:"email"===t?(0,o.jsx)(eC.A,{size:24,color:"#404040"}):(0,o.jsx)(ev.A,{size:24,color:"#404040"}),children:s(d)})]})},eL=e=>{var t,n;let{onSwitchToOtp:r}=e,{handleLogin:a,handleSocialLogin:s}=(0,d.As)(),{changeAuthRoute:l}=(0,v.GD)(),{t:c}=(0,v.Bd)("auth"),p=(0,i.useMemo)(()=>J.Ay$.object({email:J.Ay$.email({message:c("enter_valid_email")}),password:J.Ay$.string().min(8,{message:c("password_strength_min")}).regex(/[A-Z]/,{message:c("password_strength_upper_case")}).regex(/[a-z]/,{message:c("password_strength_lower_case")}).regex(/[0-9]/,{message:c("password_strength_number")}).regex(/[^A-Za-z0-9]/,{message:c("password_strength_symbol")})}),[c]),{register:m,handleSubmit:h,formState:{errors:u,isSubmitting:g}}=(0,V.mN)({resolver:(0,G.u)(p)}),x=async e=>{let{email:t,password:n}=e;await a(t,n)};return(0,o.jsx)("form",{onSubmit:h(x),noValidate:!0,style:{width:"100%",height:"100%"},children:(0,o.jsxs)(P.s,{direction:"column",gap:"20px",justify:"between",height:"100%",children:[(0,o.jsxs)(P.s,{direction:"column",gap:"20px",children:[(0,o.jsx)(ew,{}),(0,o.jsx)(Z.A,{isVisible:!!(null==(t=u.root)?void 0:t.message),children:(0,o.jsx)(ep,{children:(0,o.jsx)("div",{children:null==u||null==(n=u.root)?void 0:n.message})})}),(0,o.jsxs)(P.s,{direction:"column",gap:"20px",children:[(0,o.jsx)(W.N,{id:"email",type:"email",variant:"outlined",placeholder:c("email_placeholder"),label:c("email_label"),...m
1("email"),className:u.email?"error":""}),(0,o.jsx)(W.N,{id:"password",type:"password",variant:"outlined",placeholder:c("password_placeholder"),label:c("password_label"),className:u.password?"error":"",...m("password"),actionText:c("forgot_password_remember_credentials"),handleAction:()=>l(Q.L.ForgotPassword)}),(0,o.jsx)(P.s,{justify:"end",align:"end",gap:"2",pb:"10px",children:(0,o.jsx)(es,{variant:"primary",my:"4",type:"submit",isLoading:g,children:c("sign_in")})})]})]}),(0,o.jsxs)(P.s,{direction:"column",gap:"20px",children:[(0,o.jsx)(eF,{option:"otp",onSwitchSignInOption:r,handleSocialLogin:s,hideLine:!0}),(0,o.jsx)(X,{}),(0,o.jsx)(el,{children:(0,o.jsx)(en,{onClick:()=>l(Q.L.SignUp),children:c("create_account")})})]})]})})};var eP=n(35160),ez=n(17693),eR=n(35169),eB=n(32568),eO=n(66535);let eT=j.Ay.div.withConfig({displayName:"OtpCodeInput.styles__OtpInputContainer",componentId:"sc-551f7a6e-0"})(["display:flex;gap:12px;justify-content:space-between;width:100%;@media screen and (max-width:480px){gap:8px;}"]),eE=j.Ay.input.withConfig({displayName:"OtpCodeInput.styles__OtpInputField",componentId:"sc-551f7a6e-1"})(["width:56px;height:56px;border-radius:12px;border:1px solid ",";background:#ffffff;font-size:24px;font-weight:600;text-align:center;color:#1a1a1a;outline:none;transition:all 0.2s ease-in-out;&:focus{border-color:#354bff;box-shadow:0 0 0 2px rgba(53,75,255,0.1);}&::placeholder{color:#bfbfbf;}&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}&[type='number']{-moz-appearance:textfield;}@media screen and (max-width:480px){width:44px;height:44px;font-size:20px;border-radius:8px;}"],e=>{let{$hasError:t}=e;return t?"#FF4D4F":"#D9D9D9"}),eM=e=>{let{length:t=6,value:n,onChange:r,error:a=!1,autoFocus:s=!0,inputMode:l="numeric"}=e,[d,c]=(0,i.useState)(Array(t).fill("")),p=(0,i.useRef)([]);(0,i.useEffect)(()=>{if(""===n)c(Array(t).fill(""));else{let e=n.split("").slice(0,t);c(t=>{let n=[...t];return e.forEach((e,t)=>n[t]=e),n})}},[n,t]),(0,i.useEffect)(()=>{s&&p.current[0]&&p.current[0].focus()},[s]);let m=(0,i.useCallback)((e,n)=>{let o=e.target.value.slice(-1);if("numeric"===l&&!/^\d?$/.test(o))return;let i=[...d];if(i[n]=o,c(i),r(i.join("")),o&&n<t-1){var a;null==(a=p.current[n+1])||a.focus()}},[l,t,r,d]),h=(0,i.useCallback)((e,n)=>{var o,i,a;if("Backspace"===e.key)if(!d[n]&&n>0)null==(o=p.current[n-1])||o.focus();else{let e=[...d];e[n]="",c(e),r(e.join(""))}else"ArrowLeft"===e.key&&n>0?null==(i=p.current[n-1])||i.focus():"ArrowRight"===e.key&&n<t-1&&(null==(a=p.current[n+1])||a.focus())},[t,r,d]),u=(0,i.useCallback)(e=>{e.preventDefault();let n=e.clipboardData.getData("text").slice(0,t),o=n;if("numeric"===l&&(o=n.replace(/\D/g,"")),o){var i;let e=[...d];o.split("").forEach((n,o)=>{o<t&&(e[o]=n)}),c(e),r(e.join(""));let n=Math.min(o.length,t-1);null==(i=p.current[n])||i.focus()}},[l,t,r,d]);return(0,o.jsx)(eT,{children:d.map((e,t)=>(0,o.jsx)(eE,{ref:e=>{p.current[t]=e},type:"numeric"===l?"tel":"text",inputMode:l,maxLength:1,value:e,onChange:e=>m(e,t),onKeyDown:e=>h(e,t),onPaste:u,$hasError:a,"aria-label":"Digit ".concat(t+1),autoComplete:"one-time-code"},t))})},eU=(0,j.Ay)(P.s).withConfig({displayName:"OtpCodeStep.styles__Container",componentId:"sc-19880a13-0"})(["width:100%;flex-direction:column;gap:24px;@media screen and (max-width:768px){height:100%;justify-content:space-between;}"]),eH=(0,j.Ay)(P.s).withConfig({displayName:"OtpCodeStep.styles__Header",componentId:"sc-19880a13-1"})(["flex-direction:column;gap:8px;position:relative;"]);j.Ay.div.withConfig({displayName:"OtpCodeStep.styles__Badge",componentId:"sc-19880a13-2"})(["background-color:#354bff;color:white;padding:4px 12px;border-radius:4px;font-size:12px;font-weight:600;width:fit-content;display:flex;align-items:center;gap:4px;&::before{content:'T';font-weight:400;}"]);let eD=(0,j.Ay)(P.s).withConfig({displayName:"OtpCodeStep.styles__TitleContainer",componentId:"sc-19880a13-3"})(["justify-content:space-between;align-items:center;width:100%;"]),e$=j.Ay.h2.withConfig({displayName:"OtpCodeStep.styles__Title",componentId:"sc-19880a13-4"})(["font-size:24px;font-weight:700;
1color:#1a1a1a;margin:0;@media screen and (max-width:768px){font-size:18px;}"]),eV=j.Ay.button.withConfig({displayName:"OtpCodeStep.styles__BackLink",componentId:"sc-19880a13-5"})(["background:none;border:none;color:#354bff;font-size:14px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:8px;padding:0;&:hover{text-decoration:underline;}"]),eG=j.Ay.p.withConfig({displayName:"OtpCodeStep.styles__Description",componentId:"sc-19880a13-6"})(["font-size:16px;line-height:1.5;color:#4a4a4a;margin:0;max-width:80%;"]),eJ=(0,j.Ay)(P.s).withConfig({displayName:"OtpCodeStep.styles__InputSection",componentId:"sc-19880a13-7"})(["flex-direction:column;gap:12px;"]),eZ=j.Ay.label.withConfig({displayName:"OtpCodeStep.styles__Label",componentId:"sc-19880a13-8"})(["font-size:14px;font-weight:600;color:#4a4a4a;"]);(0,j.Ay)(P.s).withConfig({displayName:"OtpCodeStep.styles__ButtonContainer",componentId:"sc-19880a13-9"})(["justify-content:space-between;flex-direction:column;gap:32px;margin-top:24px;@media screen and (max-width:480px){height:110px;}"]);let eW=(0,j.Ay)(et.S).withConfig({displayName:"OtpCodeStep.styles__ResendButton",componentId:"sc-19880a13-10"})(["height:48px;border-radius:16px;border:1px solid #c4cad4;background:white;color:#090b20;font-size:16px;font-weight:600;cursor:pointer;transition:all 0.2s;&:hover{background:#f0f2ff;}&:disabled{opacity:0.5;cursor:not-allowed;}@media screen and (max-width:768px){background-color:transparent;margin-top:20px;}"]),eQ=(0,j.Ay)(et.S).withConfig({displayName:"OtpCodeStep.styles__SubmitButton",componentId:"sc-19880a13-11"})(["height:48px;border-radius:16px;border:none;background:#354bff;color:white;font-size:16px;font-weight:600;cursor:pointer;transition:all 0.2s;&:hover{background:#2a3ecc;}&:disabled{opacity:0.5;cursor:not-allowed;color:#fff;}"]),eq=j.Ay.div.withConfig({displayName:"OtpCodeStep.styles__ErrorMessage",componentId:"sc-19880a13-12"})(["color:#ff4d4f;font-size:12px;margin-top:4px;"]),eK=j.Ay.div.withConfig({displayName:"OtpCodeStep.styles__Countdown",componentId:"sc-19880a13-13"})(["color:#4a4a4a;font-size:12px;font-weight:600;text-align:center;margin-top:4px;"]),eY=e=>{let{destination:t,onResend:n,onSubmit:r,onBack:a,isLoading:s=!1,error:l=null}=e,{t:d}=(0,v.Bd)("auth"),[c,p]=(0,i.useState)(""),{isSM:m}=(0,v.lm)(),[h,u]=(0,i.useState)(!1),g=(0,i.useRef)(null),{initializeCooldown:x,canRequest:f,clearCooldown:y,timeLeft:w}=(0,eO._)(60);(0,i.useEffect)(()=>(x(),()=>y()),[y,x]);let b=(0,i.useCallback)(e=>{g.current&&g.current!==e&&(g.current=null),u(!1),p(e)},[]);(0,i.useEffect)(()=>{if(6!==c.length){g.current=null;return}if(!s&&!h&&g.current!==c){g.current=c,u(!0);try{r(c)}catch(e){g.current=null,u(!1)}}},[c,s,h,r]),(0,i.useEffect)(()=>{l&&(g.current=null,u(!1))},[l]);let _=(0,i.useCallback)(()=>{if(6===c.length&&!s&&!h&&g.current!==c){g.current=c,u(!0);try{r(c)}catch(e){g.current=null,u(!1)}}},[c,s,h,r]),C=(0,i.useCallback)(()=>{f&&(p(""),u(!1),n(),x())},[f,x,n]);return(0,o.jsxs)(eU,{children:[(0,o.jsxs)(P.s,{direction:"column",justify:"between",gap:"24px",children:[(0,o.jsx)(eH,{children:(0,o.jsxs)(eD,{children:[(0,o.jsx)(e$,{children:d("otp_verification_title")}),!m&&(0,o.jsxs)(eV,{onClick:a,children:[(0,o.jsx)(eR.A,{size:16}),d("all_login_options")]})]})}),(0,o.jsx)(eG,{children:d("phone_login_code_description",{destination:t})}),(0,o.jsxs)(eJ,{children:[(0,o.jsx)(eZ,{children:d("otp_insert_code")}),(0,o.jsx)(eM,{value:c,onChange:b,error:!!l,autoFocus:!0}),l&&(0,o.jsx)(eq,{children:l})]}),(0,o.jsxs)(P.s,{direction:"column",children:[(0,o.jsx)(eW,{icon:(0,o.jsx)(eB.A,{size:24}),onClick:C,disabled:s||!f,children:d("otp_resend_code")}),w&&(0,o.jsx)(eK,{children:w})]})]}),(0,o.jsx)(eQ,{isLoading:s||h,onClick:_,disabled:c.length<6||s||h,children:d(s||h?"otp_confirming":"otp_verify")})]})},eX=e=>{let{onSwitchToEmail:t}=e,{handleSocialLogin:n,handlePhoneLogin:r,handleConfirmPhoneLogin:a,handleResendPhoneLoginCode:s,phoneLoginChallenge:l,resetPhoneLoginChallenge:c,isLoading:p}=(0,d.As)(),{closeAuthModal:m}=(0,v.GD)(),{t:h}=(0,v.Bd)("auth"),{t:u}=(0,v.Bd)("common"),{isSM:g}=(0,v.lm)(),[x,f]=(0,i.useState)("phone"),[y,w]=(0,i.useState)(""),[b,_]=(0,i.useState)(!1),C=(0,i.useMemo)(()=>(0,eP.g0)(y||""),[y]);(0,i.useEffect)(()=>{l||"code"!==x||f("phone")},[l,x]);let j=(0,i.useCallback)(()=>{(null==y?void 0:y.length)>0&&_(!0)},[null==y?void 0:y.length]),A=(0,i.useMemo)(()=>b&&y&&!C?h("enter_valid_phone_number"):"",[b,y,C,h]),S=(0,i.useCallback)(()=>{_(!0),C&&r(y,()=>
1{f("code")})},[r,C,y]),I=(0,i.useMemo)(()=>"code"===x,[x]);return(0,o.jsx)("form",{onSubmit:e=>e.preventDefault(),noValidate:!0,style:{width:"100%",height:"100%"},children:(0,o.jsxs)(P.s,{direction:"column",gap:"20px",justify:g?"between":"start",height:"100%",children:[(0,o.jsx)(Z.A,{isVisible:!I,children:(0,o.jsxs)(P.s,{direction:"column",children:[(0,o.jsx)(ew,{}),(0,o.jsxs)(P.s,{direction:"column",gap:"20px",mt:"10px",children:[(0,o.jsxs)(P.s,{direction:"column",gap:"8px",width:"100%",children:[(0,o.jsx)(ed,{children:u("phone_number_login")}),(0,o.jsx)(ez.default,{value:y,touched:b,required:!0,hideLabel:!0,error:A,fieldsetStyle:{maxWidth:"100%",width:"100%",minWidth:"100%"},onChange:(e,t)=>{"phoneNumber"===e&&(w(t),t||_(!1))},onBlur:j}),g&&(0,o.jsx)(X,{isOtp:!0})]}),(0,o.jsx)(P.s,{justify:"end",align:"end",gap:"2",py:"10px",children:(0,o.jsx)(es,{type:"button",variant:"primary",my:"4",onClick:S,isLoading:p,disabled:!C||p,children:h("otp_send_code")})})]})]})}),(0,o.jsx)(Z.A,{isVisible:I,children:(0,o.jsx)(eY,{destination:(null==l?void 0:l.destination)||(null==l?void 0:l.phoneNumber)||"",onResend:s,onSubmit:e=>{a(e)},onBack:()=>{c(),f("phone")},isLoading:p})}),(0,o.jsxs)(P.s,{direction:"column",gap:"20px",children:[(0,o.jsxs)(Z.A,{isVisible:!I,children:[(0,o.jsx)(eF,{option:"email",onSwitchSignInOption:t,handleSocialLogin:n,hideLine:g}),!g&&(0,o.jsx)(X,{isOtp:!0})]}),(0,o.jsx)(el,{children:(0,o.jsx)(en,{onClick:m,children:h("or_verify_later")})})]})]})})},e0=()=>{let[e,t]=(0,i.useState)("otp");return"otp"===e?(0,o.jsx)(eX,{onSwitchToEmail:()=>t("email")}):(0,o.jsx)(eL,{onSwitchToOtp:()=>t("otp")})},e1=e=>{let{}=e;return(0,o.jsxs)(eo,{children:[(0,o.jsx)($,{}),(0,o.jsx)(ei,{justify:"center",align:"center",children:(0,o.jsx)(er,{children:(0,o.jsx)(e0,{})})}),(0,o.jsx)(S,{})]})};var e2=n(66489);let e3=j.Ay.div.withConfig({displayName:"PasswordStrength.styles__PasswordStrengthMeterContainer",componentId:"sc-e9a40b62-0"})(["padding:0px 0px 16px 0px;text-align:left;font-size:14px;"]),e5=j.Ay.div.withConfig({displayName:"PasswordStrength.styles__PasswordStrengthMeterItem",componentId:"sc-e9a40b62-1"})(["display:",";font-size:14px;line-height:30px;color:#d13f3f;font-weight:600;font-size:12;:last-of-type{margin-bottom:0;}"],e=>e.$isChecked?"none":"flex"),e4=j.Ay.div.withConfig({displayName:"PasswordStrength.styles__IconContainer",componentId:"sc-e9a40b62-2"})(["margin-right:9px;"]),e6=i.memo(function(){return(0,o.jsxs)("svg",{width:"14",height:"13",viewBox:"0 0 14 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("path",{d:"M7.66663 4.5C7.66663 4.86819 7.36815 5.16667 6.99996 5.16667C6.63177 5.16667 6.33329 4.86819 6.33329 4.5C6.33329 4.13181 6.63177 3.83333 6.99996 3.83333C7.36815 3.83333 7.66663 4.13181 7.66663 4.5Z",fill:"#D13F3F"}),(0,o.jsx)("path",{d:"M6.99996 6.33333C7.2761 6.33333 7.49996 6.55719 7.49996 6.83333V10.1667C7.49996 10.4428 7.2761 10.6667 6.99996 10.6667C6.72382 10.6667 6.49996 10.4428 6.49996 10.1667V6.83333C6.49996 6.55719 6.72382 6.33333 6.99996 6.33333Z",fill:"#D13F3F"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.51352 1.16176C7.78554 0.0966471 6.21435 0.0966428 5.48637 1.16175L5.19842 1.58305C3.39439 4.22253 1.84442 7.02694 0.569264 9.95873L0.509121 10.097C0.0597508 11.1302 0.73866 12.3033 1.85836 12.4285C5.27544 12.8104 8.72445 12.8104 12.1415 12.4285C13.2612 12.3033 13.9401 11.1302 13.4908 10.097L13.4306 9.95872C12.1555 7.02694 10.6055 4.22253 8.80147 1.58305L8.51352 1.16176ZM6.31196 1.72603C6.64286 1.24189 7.35703 1.24189 7.68793 1.72603L7.97588 2.14733C9.74428 4.73467 11.2636 7.4837 12.5136 10.3576L12.5738 10.4959C12.7547 10.9119 12.4813 11.3843 12.0305 11.4347C8.68719 11.8083 5.3127 11.8083 1.96943 11.4347C1.51856 11.3843 1.24519 10.9119 1.42614 10.4959L1.48628 10.3576C2.73625 7.4837 4.25561 4.73467 6.02401 2.14732L6.31196 1.72603Z",fill:"#D13F3F"})]})});function e8(e){let{password:t,error:n,isConfirmPassword:r,touched:a}=e,{t:s}=(0,v.Bd)("auth"),[l,d,c,p,m]=(0,i.useMemo)(()=>[/[@$!%*#?&]/.test(t),/[A-Z]/.test(t),/[a-z]/.test(t),/\d/.test(t),/^.{8,}$/.test(t)],[t]);return r?(0,o.jsx)(e3,{hasError:a&&!!n,children:(0,o.jsxs)(e5,{$isChecked:!n,children:[(0,o.jsx)(e4,{children:(0,o.jsx)(e6,{})}),n]})}):(0,o.jsxs)(e3,{children:[(0,o.jsxs)(e5,{$isChecked:d,children:[(0,o.jsx)(e4,{children:(0,o.jsx)(e6,{})}),s("password_strength_upper_case")]}),(0,o.jsxs)(e5,{$isChecked:c,children:[(0,o.jsx)(e4,{children:(0,o.jsx)(e6,{})}),s("password_strength_lower_case")]}
1),(0,o.jsxs)(e5,{$isChecked:p,children:[(0,o.jsx)(e4,{children:(0,o.jsx)(e6,{})}),s("password_strength_number")]}),(0,o.jsxs)(e5,{$isChecked:l,children:[(0,o.jsx)(e4,{children:(0,o.jsx)(e6,{})}),s("password_strength_symbol")," (@$!%*#?&)"," "]}),(0,o.jsxs)(e5,{$isChecked:m,children:[(0,o.jsx)(e4,{children:(0,o.jsx)(e6,{})}),s("password_strength_min")]})]})}let e9=j.Ay.a.withConfig({displayName:"SignUpForm.styles__Action",componentId:"sc-52f103db-0"})(["cursor:pointer;font-size:12px;font-weight:600;text-align:right;color:#354bff;text-decoration:none;margin-right:1px;&:hover{text-decoration:underline;}"]),e7=(0,j.Ay)(P.s).withConfig({displayName:"SignUpForm.styles__FlexContainer",componentId:"sc-52f103db-1"})(["flex-direction:row;justify-content:space-between;gap:4px;height:100%;background-color:white;@media screen and (max-width:991.98px){flex-direction:column;gap:20px;}"]);(0,j.Ay)(P.s).withConfig({displayName:"SignUpForm.styles__LeftPanel",componentId:"sc-52f103db-2"})(["background-color:blue;width:50%;background-color:rgb(3,25,205);border-radius:8px 0px 0px 8px;position:relative;@media screen and (max-width:991.98px){width:100%;min-width:100%;height:85%;max-height:100%;border-radius:0;position:fixed;}"]);let te=(0,j.Ay)(P.s).withConfig({displayName:"SignUpForm.styles__RightPanel",componentId:"sc-52f103db-3"})(["width:53%;padding:56px;align-items:flex-start;padding-top:30px;padding-bottom:10px;overflow-y:auto;@media screen and (max-width:1421px){padding:20px;}@media screen and (max-width:991.98px){width:100%;height:100%;position:relative;padding:0;overflow-y:auto;background-color:transparent;}"]),tt=(0,j.Ay)(P.s).withConfig({displayName:"SignUpForm.styles__FormContainer",componentId:"sc-52f103db-4"})(["width:100%;@media screen and (max-width:991.98px){position:absolute;height:60%;z-index:10000000000;background:white;bottom:0;border-radius:24px 24px 0px 0px;padding:20px;form{> div{@media screen and (max-width:991.98px){gap:14px;}}}}"]),tn=j.Ay.img.withConfig({displayName:"SignUpForm.styles__BaseShape",componentId:"sc-52f103db-5"})(["position:absolute;z-index:1;opacity:0.3;"]);(0,j.Ay)(tn).withConfig({displayName:"SignUpForm.styles__ShapeTopRight",componentId:"sc-52f103db-6"})(["right:0;top:40px;"]),(0,j.Ay)(tn).withConfig({displayName:"SignUpForm.styles__ShapeBottomLeft",componentId:"sc-52f103db-7"})(["left:80px;bottom:0;"]),(0,j.Ay)(tn).withConfig({displayName:"SignUpForm.styles__ShapeTopLeftLargeOffset",componentId:"sc-52f103db-8"})(["left:0;top:200px;"]),(0,j.Ay)(tn).withConfig({displayName:"SignUpForm.styles__ShapeBottomRight",componentId:"sc-52f103db-9"})(["right:0;bottom:0;"]),(0,j.Ay)(tn).withConfig({displayName:"SignUpForm.styles__ShapeTopLeft",componentId:"sc-52f103db-10"})(["left:100px;top:0;"]),(0,j.Ay)(P.s).withConfig({displayName:"SignUpForm.styles__LeftPanelContent",componentId:"sc-52f103db-11"})(["display:flex;flex-direction:column;align-items:center;justify-content:center;margin:56px;@media screen and (max-width:768px){margin:0 20px;}"]),j.Ay.div.withConfig({displayName:"SignUpForm.styles__ShapeContainer",componentId:"sc-52f103db-12"})(["width:100%;height:100%;@media screen and (max-width:991.98px){position:absolute;z-index:1;}"]),j.Ay.p.withConfig({displayName:"SignUpForm.styles__Header",componentId:"sc-52f103db-13"})(["font-size:24px;font-weight:600;color:#fff;text-align:left;z-index:2;@media screen and (max-width:991.98px){margin:4px 0;margin-top:20px;font-size:20px;}"]),j.Ay.p.withConfig({displayName:"SignUpForm.styles__MainText",componentId:"sc-52f103db-14"})(["font-size:16px;font-weight:600;color:#fff;text-align:left;z-index:2;margin-top:30px;margin-bottom:30px;@media screen and (max-width:991.98px){margin-top:10px;margin-bottom:10px;font-size:14px;}"]),j.Ay.div.withConfig({displayName:"SignUpForm.styles__Bullets",componentId:"sc-52f103db-15"})(["display:flex;flex-direction:column;justify-content:flex-start;width:100%;z-index:2;gap:20px;@media screen and (max-width:991.98px){gap:2px;}"]),j.Ay.p.withConfig({displayName:"SignUpForm.styles__Bullet",componentId:"sc-52f103db-16"})(["color:#fff;font-size:16px;font-weight:600;text-align:left;z-index:2;@media screen and (max-width:768px){margin:4px 0;font-size:14px;}"]),(0,j.Ay)(et.S).withConfig({displayName:"SignUpForm.styles__SocialButton",componentId:"sc-52f103db-17"})(["display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;width:100%;height:44px;border-radius:6px;color:rgb(255,255,255);font-weight:400;font-size:14px;transition:opacity 0.3s;:hover{opacity:0.8;cursor:pointer;"," ","}"," ",""],e=>{let{$provider:t}=e;return"facebook"===t&&(0,j.AH)(["background:#1877f2 !important;"])},e=>{let{$provider:t}=e;return"google"===t&&(0,j.AH)(["background:#333333 !important;"])},e=>{let{$provider:t}=e;return"facebook"===t&&(0,j.AH)(["background-color:#1877f2 !important;"])},e=>{let{$provider:t}=e;return"google"===t&&(0,j.AH)(["background-color:#333333 !important;"])});let to=(0,j.Ay)(et.S).withConfig({displayName:"SignUpForm.styles__SubmitButton",componentId:"sc-52f103db-18"})(["display:flex;align-items:center;justify-content:center;gap:8px;width:232px;height:48px;border-radius:8px;background-color:#354bff;color:#fff;font-size:16px;line-height:46px;padding:0 32px;transition:opacity 0.3s ease,padding 0.3s ease;&:not(:disabled):hover{padding:0 36px;opacity:0.8;background-color:#354bff;}
1&:disabled{opacity:0.4;cursor:not-allowed;}@media screen and (max-width:768px){width:100%;padding:0 16px;}"]),ti=j.Ay.h2.withConfig({displayName:"SignUpForm.styles__Title",componentId:"sc-52f103db-19"})(["font-size:24px;padding:0px;margin:0px;align-self:flex-start;color:#00063e;"]),tr=j.Ay.div.withConfig({displayName:"SignUpForm.styles__CreateAccount",componentId:"sc-52f103db-20"})(["display:flex;align-items:center;justify-content:center;gap:8px;"]);j.Ay.div.withConfig({displayName:"SignUpForm.styles__LineOuterContainer",componentId:"sc-52f103db-21"})(["margin:24px 0;@media screen and (max-width:768px){margin:12px 0;}"]),j.Ay.p.withConfig({displayName:"SignUpForm.styles__LineContainer",componentId:"sc-52f103db-22"})(["width:100%;text-align:center;border-bottom:1px solid #c4cad4;line-height:0.1em;margin:10px 0;span{background-color:#fff;height:100%;padding:0 24px;}"]),j.Ay.div.withConfig({displayName:"SignUpForm.styles__Fieldset",componentId:"sc-52f103db-23"})(["border-width:1px;border-style:solid;border-color:#e5e5e5;border-bottom:",";border-bottom-color:",";border-radius:6px;position:relative;width:",";height:48px;margin-top:8px;background:#f2f2f2;@media screen and (max-width:1124px){width:100%;}"],e=>e.hasError?"4px solid #ff4646":"1px solid #e5e5e5",e=>e.hasError?"#ff4646":"#e5e5e5",e=>e.fullWidth?"100%":e.isName?"221px":"458px"),(0,j.Ay)(ee.b).withConfig({displayName:"SignUpForm.styles__TextField",componentId:"sc-52f103db-24"})(["position:relative;width:100%;height:48px;background-color:transparent;border-radius:6px;input{position:absolute;inset:0;border:0;outline:0;background-color:transparent;padding:0 36px 0 16px;height:100%;width:100%;color:#121d33;caret-color:#121d33;text-align:left;box-shadow:rgb(242,242,242) 0px 0px 0px 50px inset;border-radius:6px;&::placeholder{color:#8a94a6;}}&:focus-within{box-shadow:rgb(242,242,242) 0px 0px 0px 50px inset;border-radius:6px;}"]),j.Ay.label.withConfig({displayName:"SignUpForm.styles__TextFieldLabel",componentId:"sc-52f103db-25"})(["font-size:11px;line-height:12px;letter-spacing:0.3px;color:rgb(51,51,51);align-self:flex-start;"]);let ta=j.Ay.button.withConfig({displayName:"SignUpForm.styles__IconButton",componentId:"sc-52f103db-26"})(["border-radius:50%;width:40px;height:40px;background-color:transparent;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;svg{color:#222222;transition:opacity 200ms;width:18px;height:18px;}&:hover{color:#000000;background-color:#b4b4b4;}"]),ts=(0,j.AH)(["color:#ff4646;width:100%;"]);j.Ay.div.withConfig({displayName:"SignUpForm.styles__FormErrorMessage",componentId:"sc-52f103db-27"})(["",";min-height:40px;line-height:40px;font-weight:normal;font-size:14px;text-align:center;"],ts),j.Ay.p.withConfig({displayName:"SignUpForm.styles__HelperText",componentId:"sc-52f103db-28"})(["margin:0;color:#4d5a73;font-size:14px;line-height:1.5;"]),j.Ay.div.withConfig({displayName:"SignUpForm.styles__MethodSwitcher",componentId:"sc-52f103db-29"})(["display:inline-flex;gap:6px;padding:4px;border-radius:12px;background:#eef2ff;"]),j.Ay.button.withConfig({displayName:"SignUpForm.styles__MethodButton",componentId:"sc-52f103db-30"})(["border:0;border-radius:10px;padding:10px 16px;font-size:14px;font-weight:600;cursor:pointer;transition:background-color 0.2s ease,color 0.2s ease,box-shadow 0.2s ease;background:",";color:",";box-shadow:",";&:hover{background:",";}"],e=>{let{$active:t}=e;return t?"#354bff":"transparent"},e=>{let{$active:t}=e;return t?"#fff":"#354bff"},e=>{let{$active:t}=e;return t?"0 6px 20px rgba(53, 75, 255, 0.2)":"none"},e=>{let{$active:t}=e;return t?"#354bff":"rgba(53, 75, 255, 0.08)"});let tl=()=>{var e,t;let{handleSignup:n}=(0,d.As)(),{changeAuthRoute:r,closeAuthModal:a}=(0,v.GD)(),{t:s}=(0,v.Bd)("auth"),l=(0,i.useMemo)(()=>J.Ay$.object({firstName:J.Ay$.string().min(1,{message:s("enter_first_name")}),lastName:J.Ay$.string().min(1,{message:s("enter_last_name")}),email:J.Ay$.email({message:s("enter_valid_email")}),password:J.Ay$.string().min(8,{message:s("password_strength_min")}).regex(/[A-Z]/,{message:s("password_strength_upper_case")}).regex(/[a-z]/,{message:s("password_strength_lower_case")}).regex(/[0-9]/,{message:s("password_strength_number")}).regex(/[^A-Za-z0-9]/,{message:s("password_strength_symbol")}),confirmPassword:J.Ay$.string().min(8,{message:s("confirm_password")})}).refine(e=>e.password===e.confirmPassword,{message:s("passwords_do_not_match"),path:["confirmPassword"]}),[s]),{register:c,handleSubmit:p,watch:m,formState:{errors:h,isSubmitting:u}}=(0,V.mN)({resolver:(0,G.u)(l)}),g=async e=>{let{email:t,password:o,firstName:i,lastName:r}=e;await n({email:t,password:o,firstName:i,lastName:r})};return(0,o.jsx)("form",{onSubmit:p(g),noValidate:!0,style:{width:"100%"},children:(0,o.jsxs)(P.s,{direction:"column",gap:"20px",children:[(0,o.jsxs)(P.s,{justify:"between",direction:"row",align:"center",gap:"20px",children:[(0,o.jsx)(ta,{onClick:()=>r(Q.L.Login),children:(0,o.jsx)(eR.A,{})}),(0,o.jsx)(ta,{onClick:()=>a(),children:(0,o.jsx)(C.A,{})})]}),(0,o.jsxs)(P.s,{justify:"between",children:[(0,o.jsx)(ti,{children:s("create_account")}
1),(0,o.jsxs)(tr,{children:[s("or"),(0,o.jsx)(e9,{onClick:()=>r(Q.L.Login),children:s("sign_in")})]})]}),(0,o.jsxs)(P.s,{direction:"column",gap:"20px",children:[(0,o.jsxs)(e2.x,{columns:"2",gap:"20px",children:[(0,o.jsx)(W.N,{id:"firstName",type:"text",placeholder:s("firstname_placeholder"),label:s("firstname_label"),...c("firstName"),className:h.firstName?"error":""}),(0,o.jsx)(W.N,{id:"lastName",type:"text",placeholder:s("lastname_placeholder"),label:s("lastname_label"),...c("lastName"),className:h.lastName?"error":""})]}),(0,o.jsx)(W.N,{id:"email",type:"email",placeholder:s("email_placeholder"),label:s("email_label"),...c("email"),className:h.email?"error":""}),(0,o.jsx)(W.N,{id:"password",type:"password",placeholder:s("password_placeholder"),label:s("password_label"),className:h.password?"error":"",...c("password")}),(0,o.jsx)(Z.A,{isVisible:!!(null==(e=h.password)?void 0:e.message),children:(0,o.jsx)(e8,{error:(null==(t=h.password)?void 0:t.message)||"",password:m("password"),touched:!!h.password,isConfirmPassword:!1})}),(0,o.jsx)(W.N,{id:"confirmPassword",type:"password",placeholder:s("confirm_password_placeholder"),label:s("confirm_password_label"),className:h.confirmPassword?"error":"",...c("confirmPassword")}),(0,o.jsx)(X,{}),(0,o.jsx)(P.s,{justify:"end",align:"end",gap:"2",pb:"30px",children:(0,o.jsx)(to,{variant:"primary",m:"4",type:"submit",isLoading:u,children:s("create_account")})})]})]})})},td=e=>{let{}=e;return(0,o.jsxs)(e7,{children:[(0,o.jsx)($,{}),(0,o.jsx)(te,{justify:"center",align:"center",children:(0,o.jsx)(tt,{children:(0,o.jsx)(tl,{})})}),(0,o.jsx)(S,{})]})},tc=(0,j.Ay)(P.s).withConfig({displayName:"_shared.styles__LeftPanel",componentId:"sc-217a50bb-0"})(["width:50%;background:linear-gradient(133deg,rgba(248,250,252,0.3) 10.23%,rgba(53,75,255,0.3) 180.2%),#fff;border-radius:8px 0px 0px 8px;position:relative;@media screen and (max-width:991.98px){width:100%;min-width:100%;height:50%;max-height:100%;border-radius:0;position:fixed;}"]),tp=j.Ay.img.withConfig({displayName:"_shared.styles__BaseShape",componentId:"sc-217a50bb-1"})(["position:absolute;z-index:1;opacity:0.3;"]),tm=(0,j.Ay)(tp).withConfig({displayName:"_shared.styles__ShapeTopRight",componentId:"sc-217a50bb-2"})(["right:0;top:40px;"]),th=(0,j.Ay)(tp).withConfig({displayName:"_shared.styles__ShapeBottomLeft",componentId:"sc-217a50bb-3"})(["left:80px;bottom:0;"]),tu=(0,j.Ay)(tp).withConfig({displayName:"_shared.styles__ShapeTopLeftLargeOffset",componentId:"sc-217a50bb-4"})(["left:0;top:200px;@media screen and (max-width:991.98px){display:none;}"]),tg=(0,j.Ay)(tp).withConfig({displayName:"_shared.styles__ShapeBottomRight",componentId:"sc-217a50bb-5"})(["right:0;bottom:0;"]),tx=(0,j.Ay)(tp).withConfig({displayName:"_shared.styles__ShapeTopLeft",componentId:"sc-217a50bb-6"})(["left:100px;top:0;"]),tf=(0,j.Ay)(P.s).withConfig({displayName:"_shared.styles__LeftPanelContent",componentId:"sc-217a50bb-7"})(["display:flex;flex-direction:column;align-items:center;justify-content:center;margin:56px;@media screen and (max-width:768px){margin:0 20px;}"]),ty=j.Ay.div.withConfig({displayName:"_shared.styles__ShapeContainer",componentId:"sc-217a50bb-8"})(["width:100%;height:100%;display:flex;@media screen and (max-width:991.98px){position:absolute;z-index:1;display:inline;padding-top:30px;}"]),tw=e=>{let{children:t}=e;return(0,o.jsx)(tc,{justify:"center",align:"center",children:(0,o.jsxs)(ty,{children:[(0,o.jsx)(tm,{src:"/images/auth/shapes/shape-top-right.svg"}),(0,o.jsx)(th,{src:"/images/auth/shapes/shape-bottom-left.svg"}),(0,o.jsx)(tu,{src:"/images/auth/shapes/shape-top-left-large-offset.svg"}),(0,o.jsx)(tg,{src:"/images/auth/shapes/shape-bottom-right.svg"}),(0,o.jsx)(tx,{src:"/images/auth/shapes/shape-top-left.svg"}),(0,o.jsx)(tf,{children:t})]})})},tb=(0,j.Ay)(P.s).withConfig({displayName:"ForgotPasswordForm.styles__FlexContainer",componentId:"sc-4d960835-0"})(["flex-direction:row;justify-content:space-between;gap:4px;height:100%;background-color:white;@media screen and (max-width:991.98px){flex-direction:column;gap:20px;}"]),t_=(0,j.Ay)(P.s).withConfig({displayName:"ForgotPasswordForm.styles__RightPanel",componentId:"sc-4d960835-1"})(["width:53%;padding:56px;align-items:flex-start;padding-top:30px;@media screen and (max-width:1421px){padding:20px;}@media screen and (max-width:991.98px){width:100%;height:100%;position:relative;padding:0;overflow-y:auto;background-color:transparent;}"]),tC=(0,j.Ay)(P.s).withConfig({displayName:"ForgotPasswordForm.styles__FormContainer",componentId:"sc-4d960835-2"})(["width:100%;@media screen and (max-width:991.98px){position:absolute;height:60%;z-index:10000000000;background:white;bottom:0;border-radius:24px 24px 0px 0px;padding:20px;form{> div{@media screen and (max-width:991.98px){gap:14px;}}}}"]),tv=j.Ay.img.withConfig({displayName:"ForgotPasswordForm.styles__BaseShape",componentId:"sc-4d960835-3"})(["position:absolute;z-index:1;opacity:0.3;"]);(0,j.Ay)(tv).withConfig({displayName:"ForgotPasswordForm.styles__ShapeTopRight",componentId:"sc-4d960835-4"})(["right:0;top:40px;"]),(0,j.Ay)(tv).withConfig({displayName:"ForgotPasswordForm.styles__ShapeBottomLeft",componentId:"sc-4d960835-5"})(["left:80px;bottom:0;"]),(0,j.Ay)(tv).withConfig({displayName:"ForgotPasswordForm.styles__ShapeTopLeftLargeOffset",componentId:"sc-4d960835-6"})(["left:0;top:200px;"]),(0,j.Ay)(tv).withConfig({displayName:"ForgotPasswordForm.styles__ShapeBottomRight",componentId:"sc-4d960835-7"})(["right:0;bottom:0;"]),(0,j.Ay)(tv).withConfig({displayName:"ForgotPasswordForm.styles__ShapeTopLeft",componentId:"sc-4d960835-8"})(["left:100px;top:0;"]),(0,j.Ay)(P.s).withConfig({displayName:"ForgotPasswordForm.styles__LeftPanelContent",componentId:"sc-4d960835-9"})(["display:flex;flex-direction:column;align-items:center;justify-content:center;margin:56px;@media screen and (max-width:768px){margin:0 20px;}"]),j.Ay.div.withConfig({displayName:"ForgotPasswordForm.styles__ShapeContainer",componentId:"sc-4d960835-10"})(["width:100%;height:100%;@media screen and (max-width:991.98px){position:absolute;z-index:1;}"]);let tj=j.Ay.p.withConfig({displayName:"ForgotPasswordForm.styles__Header",componentId:"sc-4d960835-11"})(["font-size:24px;font-weight:600;color:#00063e;text-align:left;z-index:2;padding-right:20px;@media screen and (max-width:991.98px){margin:4px 0;margin-top:20px;font-size:20px;}"]),tA=j.Ay.p.withConfig({displayName:"ForgotPasswordForm.styles__MainText",componentId:"sc-4d960835-12"})(["font-size:16px;font-weight:600;color:#00063e;text-align:left;z-index:2;margin-top:30px;margin-bottom:30px;@media screen and (max-width:991.98px){margin-top:10px;margin-bottom:10px;font-size:14px;}"]),tS=j.Ay.div.withConfig({displayName:"ForgotPasswordForm.styles__Bullets",componentId:"sc-4d960835-13"})(["display:flex;flex-direction:column;justify-content:flex-start;width:100%;z-index:2;gap:20px;@media screen and (max-width:991.98px){gap:2px;}"]),tI=j.Ay.p.withConfig({displayName:"ForgotPasswordForm.styles__Bullet",componentId:"sc-4d960835-14"})(["color:#00063e;font-size:16px;font-weight:600;text-align:left;z-index:2;@media screen and (max-width:768px){margin:4px 0;font-size:14px;}"]),tk=(0,j.Ay)(et.S).withConfig({displayName:"ForgotPasswordForm.styles__SubmitButton",componentId:"sc-4d960835-15"})(["display:flex;align-items:center;justify-content:center;gap:8px;width:232px;height:48px;border-radius:8px;background-color:#354bff;color:#fff;font-size:16px;line-height:46px;padding:0 32px;transition:opacity 0.3s ease,padding 0.3s ease;&:not(:disabled):hover{padding:0 36px;opacity:0.8;background-color:#354bff;}
1&:disabled{opacity:0.4;cursor:not-allowed;}@media screen and (max-width:768px){width:100%;padding:0 16px;}"]),tN=j.Ay.h2.withConfig({displayName:"ForgotPasswordForm.styles__Title",componentId:"sc-4d960835-16"})(["font-size:24px;padding:0px;margin:0px;align-self:flex-start;color:#00063e;"]),tF=j.Ay.p.withConfig({displayName:"ForgotPasswordForm.styles__SubTitle",componentId:"sc-4d960835-17"})(["font-size:16px;padding:0px;margin:0px;align-self:flex-start;"]),tL=(0,j.AH)(["color:#ff4646;width:100%;"]),tP=j.Ay.div.withConfig({displayName:"ForgotPasswordForm.styles__FormErrorMessage",componentId:"sc-4d960835-18"})(["",";min-height:40px;line-height:40px;font-weight:normal;font-size:14px;text-align:center;"],tL),tz=j.Ay.button.withConfig({displayName:"ForgotPasswordForm.styles__IconButton",componentId:"sc-4d960835-19"})(["border-radius:50%;width:40px;height:40px;background-color:transparent;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;svg{color:#222222;transition:opacity 200ms;width:18px;height:18px;}&:hover{color:#000000;background-color:#b4b4b4;}"]),tR=()=>{var e,t;let{handleForgotPassword:n}=(0,d.As)(),{closeAuthModal:r,changeAuthRoute:a}=(0,v.GD)(),{t:s}=(0,v.Bd)("auth"),l=(0,i.useMemo)(()=>J.Ay$.object({email:J.Ay$.email({message:s("enter_valid_email")})}),[s]),{register:c,handleSubmit:p,formState:{errors:m,isSubmitting:h}}=(0,V.mN)({resolver:(0,G.u)(l)}),u=async e=>{let{email:t}=e;await n(t)};return(0,o.jsx)("form",{onSubmit:p(u),noValidate:!0,style:{width:"100%"},children:(0,o.jsxs)(P.s,{direction:"column",gap:"20px",children:[(0,o.jsxs)(P.s,{justify:"between",direction:"row",align:"center",gap:"20px",children:[(0,o.jsx)(tz,{onClick:()=>a(Q.L.Login),children:(0,o.jsx)(eR.A,{})}),(0,o.jsx)(tz,{onClick:()=>r(),children:(0,o.jsx)(C.A,{})})]}),(0,o.jsxs)(P.s,{justify:"start",direction:"column",gap:"20px",children:[(0,o.jsx)(tN,{children:s("reset_password")}),(0,o.jsx)(tF,{children:s("reset_password_title")})]}),(0,o.jsx)(Z.A,{isVisible:!!(null==(e=m.root)?void 0:e.message),children:(0,o.jsx)(tP,{children:(0,o.jsx)("div",{children:null==m||null==(t=m.root)?void 0:t.message})})}),(0,o.jsxs)(P.s,{direction:"column",gap:"20px",mt:"20px",children:[(0,o.jsx)(W.N,{id:"email",type:"email",placeholder:s("email_placeholder"),label:s("email_label"),...c("email"),className:m.email?"error":""}),(0,o.jsx)(P.s,{justify:"start",align:"end",gap:"2",pb:"30px",children:(0,o.jsx)(tk,{variant:"primary",m:"4",type:"submit",isLoading:h,children:s("login_forgot_password_submit_button")})})]})]})})},tB=e=>{let{}=e,{t}=(0,L.B)("auth");return(0,o.jsxs)(tb,{children:[(0,o.jsxs)(tw,{children:[(0,o.jsx)(tj,{children:t("forgot_header_text")}),(0,o.jsx)(tA,{children:t("forgot_main_text")}),(0,o.jsxs)(tS,{children:[(0,o.jsx)(tI,{children:t("corporate_password_text_bullet_1")}),(0,o.jsx)(tI,{children:t("corporate_password_text_bullet_2")}),(0,o.jsx)(tI,{children:t("corporate_password_text_bullet_3")})]})]}),(0,o.jsx)(t_,{justify:"center",align:"center",children:(0,o.jsx)(tC,{children:(0,o.jsx)(tR,{})})}),(0,o.jsx)(S,{})]})},tO=(0,j.Ay)(P.s).withConfig({displayName:"ResetPasswordForm.styles__FlexContainer",componentId:"sc-8fe81804-0"})(["flex-direction:row;justify-content:space-between;gap:4px;height:100%;background-color:white;@media screen and (max-width:991.98px){flex-direction:column;gap:20px;}"]),tT=(0,j.Ay)(P.s).withConfig({displayName:"ResetPasswordForm.styles__RightPanel",componentId:"sc-8fe81804-1"})(["width:50%;padding:56px;align-items:flex-start;padding-top:30px;@media screen and (max-width:1421px){padding:20px;}@media screen and (max-width:991.98px){width:100%;height:100%;position:relative;padding:0;overflow-y:auto;background-color:transparent;}"]),tE=(0,j.Ay)(P.s).withConfig({displayName:"ResetPasswordForm.styles__FormContainer",componentId:"sc-8fe81804-2"})(["width:100%;@media screen and (max-width:991.98px){position:absolute;height:60%;z-index:10000000000;background:white;bottom:0;border-radius:24px 24px 0px 0px;padding:20px;form{> div{@media screen and (max-width:991.98px){gap:14px;}}}}"]),tM=j.Ay.img.withConfig({displayName:"ResetPasswordForm.styles__BaseShape",componentId:"sc-8fe81804-3"})(["position:absolute;z-index:1;opacity:0.3;"]);(0,j.Ay)(tM).withConfig({displayName:"ResetPasswordForm.styles__ShapeTopRight",componentId:"sc-8fe81804-4"})(["right:0;top:40px;"]),(0,j.Ay)(tM).withConfig({displayName:"ResetPasswordForm.styles__ShapeBottomLeft",componentId:"sc-8fe81804-5"})(["left:80px;bottom:0;"]),(0,j.Ay)(tM).withConfig({displayName:"ResetPasswordForm.styles__ShapeTopLeftLargeOffset",componentId:"sc-8fe81804-6"})(["left:0;top:200px;"]),(0,j.Ay)(tM).withConfig({displayName:"ResetPasswordForm.styles__ShapeBottomRight",componentId:"sc-8fe81804-7"})(["right:0;bottom:0;"]),(0,j.Ay)(tM).withConfig({displayName:"ResetPasswordForm.styles__ShapeTopLeft",componentId:"sc-8fe81804-8"})(["left:100px;top:0;"]),(0,j.Ay)(P.s).withConfig({displayName:"ResetPasswordForm.styles__LeftPanelContent",componentId:"sc-8fe81804-9"})(["display:flex;flex-direction:column;align-items:center;justify-content:center;margin:56px;@media screen and (max-width:768px){margin:0 20px;}"]),j.Ay.div.withConfig({displayName:"ResetPasswordForm.styles__ShapeContainer",componentId:"sc-8fe81804-10"})(["width:100%;height:100%;@media screen and (max-width:991.98px){position:absolute;z-index:1;}"]);let tU=j.Ay.p.withConfig({displayName:"ResetPasswordForm.styles__Header",componentId:"sc-8fe81804-11"})(["font-size:24px;font-weight:600;color:#fff;text-align:left;z-index:2;padding-right:20px;@media screen and (max-width:991.98px){margin:4px 0;margin-top:20px;font-size:20px;}"]),tH=j.Ay.p.withConfig({displayName:"ResetPasswordForm.styles__MainText",componentId:"sc-8fe81804-12"})(["font-size:16px;font-weight:600;color:#fff;text-align:left;z-index:2;margin-top:30px;margin-bottom:30px;@media screen and (max-width:991.98px){margin-top:10px;margin-bottom:10px;font-size:14px;}"]),tD=j.Ay.div.withConfig({displayName:"ResetPasswordForm.styles__Bullets",componentId:"sc-8fe81804-13"})(["display:flex;flex-direction:column;justify-content:flex-start;width:100%;z-index:2;gap:20px;@media screen and (max-width:991.98px){gap:2px;}"]),t$=j.Ay.p.withConfig({displayName:"ResetPasswordForm.styles__Bullet",componentId:"sc-8fe81804-14"})(["color:#fff;font-size:16px;font-weight:600;text-align:left;z-index:2;@media screen and (max-width:768px){margin:4px 0;font-size:14px;}"]),tV=(0,j.Ay)(et.S).withConfig({displayName:"ResetPasswordForm.styles__SubmitButton",componentId:"sc-8fe81804-15"})(["display:flex;align-items:center;justify-content:center;gap:8px;min-width:232px;height:48px;border-radius:8px;background-color:#354bff;color:#fff;font-size:16px;line-height:46px;padding:0 32px;transition:opacity 0.3s ease,padding 0.3s ease;&:not(:disabled):hover{padding:0 36px;opacity:0.8;background-color:#354bff;}
1&:disabled{opacity:0.4;cursor:not-allowed;}@media screen and (max-width:768px){width:100%;padding:0 16px;}"]),tG=j.Ay.h2.withConfig({displayName:"ResetPasswordForm.styles__Title",componentId:"sc-8fe81804-16"})(["font-size:24px;padding:0px;margin:0px;align-self:flex-start;color:#00063e;"]),tJ=j.Ay.p.withConfig({displayName:"ResetPasswordForm.styles__SubTitle",componentId:"sc-8fe81804-17"})(["font-size:16px;padding:0px;margin:0px;font-family:500;align-self:flex-start;"]),tZ=(0,j.AH)(["color:#ff4646;width:100%;"]),tW=j.Ay.div.withConfig({displayName:"ResetPasswordForm.styles__FormErrorMessage",componentId:"sc-8fe81804-18"})(["",";min-height:40px;line-height:40px;font-weight:normal;font-size:14px;text-align:center;"],tZ),tQ=j.Ay.button.withConfig({displayName:"ResetPasswordForm.styles__IconButton",componentId:"sc-8fe81804-19"})(["border-radius:50%;width:40px;height:40px;background-color:transparent;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;svg{color:#222222;transition:opacity 200ms;width:18px;height:18px;}&:hover{color:#000000;background-color:#b4b4b4;}"]),tq=e=>{var t,n,r,a;let{email:s}=e,{handleResetPassword:l}=(0,d.As)(),{closeAuthModal:c,changeAuthRoute:p}=(0,v.GD)(),{t:m}=(0,v.Bd)("auth"),h=(0,i.useMemo)(()=>J.Ay$.object({verificationCode:J.Ay$.string().min(6,{message:m("enter_validation_code")}),password:J.Ay$.string().min(8,{message:m("password_strength_min")}).regex(/[A-Z]/,{message:m("password_strength_upper_case")}).regex(/[a-z]/,{message:m("password_strength_lower_case")}).regex(/[0-9]/,{message:m("password_strength_number")}).regex(/[^A-Za-z0-9]/,{message:m("password_strength_symbol")}),confirmPassword:J.Ay$.string().min(8,{message:m("confirm_password")})}).refine(e=>e.password===e.confirmPassword,{message:m("passwords_do_not_match"),path:["confirmPassword"]}),[m]),{register:u,handleSubmit:g,formState:{errors:x,isSubmitting:f},watch:y}=(0,V.mN)({resolver:(0,G.u)(h)}),w=async e=>{let{verificationCode:t,password:n}=e;await l(s,t,n)};return(0,o.jsx)("form",{onSubmit:g(w),noValidate:!0,style:{width:"100%"},children:(0,o.jsxs)(P.s,{direction:"column",gap:"20px",children:[(0,o.jsxs)(P.s,{justify:"between",direction:"row",align:"center",gap:"20px",children:[(0,o.jsx)(tQ,{onClick:()=>p(Q.L.ForgotPassword),children:(0,o.jsx)(eR.A,{})}),(0,o.jsx)(tQ,{onClick:()=>c(),children:(0,o.jsx)(C.A,{})})]}),(0,o.jsxs)(P.s,{justify:"start",direction:"column",gap:"20px",children:[(0,o.jsx)(tG,{children:m("reset_password")}),(0,o.jsx)(tJ,{children:m("reset_password_title")}),(0,o.jsx)(tJ,{children:m("reset_password_description")})]}),(0,o.jsx)(Z.A,{isVisible:!!(null==(t=x.root)?void 0:t.message),children:(0,o.jsx)(tW,{children:(0,o.jsx)("div",{children:null==x||null==(n=x.root)?void 0:n.message})})}),(0,o.jsxs)(P.s,{direction:"column",gap:"20px",mt:"20px",children:[(0,o.jsx)(W.N,{id:"verificationCode",type:"text",placeholder:m("verification_placeholder"),label:m("verification_label"),...u("verificationCode"),className:x.verificationCode?"error":""}),(0,o.jsx)(W.N,{id:"newPassword",type:"password",placeholder:m("new_password_placeholder"),label:m("new_password_label"),className:x.password?"error":"",...u("password")}),(0,o.jsx)(Z.A,{isVisible:!!(null==(r=x.password)?void 0:r.message),children:(0,o.jsx)(e8,{error:(null==(a=x.password)?void 0:a.message)||"",password:y("password"),touched:!!x.password,isConfirmPassword:!1})}),(0,o.jsx)(W.N,{id:"confirmPassword",type:"password",placeholder:m("confirm_password_placeholder"),label:m("confirm_password_label"),className:x.confirmPassword?"error":"",...u("confirmPassword")}),(0,o.jsx)(P.s,{justify:"start",align:"end",gap:"2",pb:"30px",children:(0,o.jsx)(tV,{variant:"primary",m:"4",type:"submit",isLoading:f,children:m("reset_password_submit_button")})})]})]})})},tK=e=>{let{email:t}=e,{t:n}=(0,L.B)("auth");return(0,o.jsxs)(tO,{children:[(0,o.jsxs)(tw,{children:[(0,o.jsx)(tU,{children:n("forgot_header_text")}),(0,o.jsx)(tH,{children:n("forgot_main_text")}),(0,o.jsxs)(tD,{children:[(0,o.jsx)(t$,{children:n("corporate_password_text_bullet_1")}),(0,o.jsx)(t$,{children:n("corporate_password_text_bullet_2")}),(0,o.jsx)(t$,{children:n("corporate_password_text_bullet_3")})]})]}),(0,o.jsx)(tT,{justify:"center",align:"center",children:(0,o.jsx)(tE,{children:(0,o.jsx)(tq,{email:t})})}),(0,o.jsx)(S,{})]})},tY=(0,j.Ay)(_.hJ).withConfig({displayName:"AuthModal.styles__Overlay",componentId:"sc-bc2e16d2-0"})(["background-color:rgba(0,0,0,0.5);position:fixed;inset:0;animation:overlayShow 150ms cubic-bezier(0.16,1,0.3,1);z-index:50;"]),tX=(0,j.Ay)(_.UC).withConfig({displayName:"AuthModal.styles__Content",componentId:"sc-bc2e16d2-1"})(["width:min(",",calc(100vw - 48px));max-width:960px;min-width:0;background-color:white;border-radius:",";box-shadow:0px 10px 38px -10px rgba(22,23,24,0.35),0px 10px 20px -15px rgba(22,23,24,0.2);position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);max-height:min(90vh,calc(100dvh - 48px));animation:contentShow 150ms cubic-bezier(0.16,1,0.3,1);z-index:51;overflow:hidden;overscroll-behavior:contain;box-sizing:border-box;&:focus{outline:none;}@media screen and (max-width:1024px){width:min(720px,calc(100vw - 32px));max-height:min(88vh,calc(100dvh - 32px));border-radius:24px !important;}@media screen and (max-width:768px){width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0 !important;}"],e=>e.width||"64vw",e=>e.borderRadius||"8px");(0,j.Ay)(_.bm).withConfig({displayName:"AuthModal.styles__CloseButton",componentId:"sc-bc2e16d2-2"})(["position:absolute;top:15px;right:15px;background:transparent;border:none;cursor:pointer;color:#666;&:hover{color:#000;}"]),(0,j.Ay)(_.hE).withConfig({displayName:"AuthModal.styles__Title",componentId:"sc-bc2e16d2-3"})(["font-size:20px;font-weight:600;margin-bottom:20px;text-align:center;"]);let t0=()=>{let{isAuthModalOpen:e,closeAuthModal:t,authRoute:n,routeProps:r,changeAuthRoute:a}=(0,v.GD)(),{isSM:s}=(0,v.lm)(),[l,d]=(0,i.useState)(!1);(0,i.useEffect)(()=>{d(!0)},[]);let c=(0,i.useCallback)(()=>{switch(n){case Q.L.Login:return(0,o.jsx)(e1,{});case Q.L.SignUp:return(0,o.jsx)(td,{});case Q.L.ForgotPassword:return(0,o.jsx)(tB,{});case Q.L.ResetPassword:return(0,o.jsx)(tK,{email:(null==r?void 0:r.email)||""});default:return(0,o.jsx)(e1,{})}},[n,null==r?void 0:r.email]),p=(0,i.useMemo)(()=>{var e,t;return null==(e=(t=Object.values(Q.L)).map)?void 0:e.call(t,e=>e.toString())},[]);(0,i.useEffect)(()=>{let e=()=>{let e=window.location.hash;e&&p.includes(e)&&a(e)};return e(),window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}},[a,p]),(0,i.useEffect)(()=>{let e=window.location.hash;p.includes(e)&&a(e)},[p,a]);let m=(0,i.useMemo)(()=>n===Q.L.Login||n===Q.L.SignUp,[n]),u=l&&s;return(0,o.jsx)(h.i,{children:(0,o.jsx)(_.bL,{open:e,onOpenChange:e=>!e&&t(),children:(0,o.jsxs)(_.ZL,{children:[(0,o.jsx)(tY,{onClick:t}),(0,o.jsxs)(tX,{width:m?"68vw":"64vw",borderRadius:m?"32px":"8px",onClick:e=>e.stopPropagation(),onOpenAutoFocus:e=>{u&&e.preventDefault()},children:[(0,o.jsx)(_.L3,{style:{display:"none"}}),c()]})]})})})};n(97014).H.configure({Auth:{mandatorySignIn:!0,region:"eu-west-2",userPoolId:"eu-west-2_Cellj5HOK",userPoolWebClientId:"5h798egfk11gqhsiv4d21fa76",authenticationFlowType:"USER_PASSWORD_AUTH",oauth:{domain:"sheerme-phone-v2.auth.eu-west-2.amazoncognito.com",scope:["email","profile","openid"],redirectSignIn:"https://sheerme.com/oauth/signedin",redirectSignOut:"https://sheerme.com/oauth/signedout",responseType:"code"}},ssr:!0});let t1=e=>(0,o.jsx)(d.OJ,{children:(0,o.jsxs)(g.Z6,{children:[e.children,(0,o.jsx)(t0,{})]})});var t2=n(87017),t3=n(26715);function t5(e){let{children:t}=e,[n]=(0,i.useState)(()=>new t2.E({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1,staleTime:3e5}}}));return(0,o.jsx)(t3.Ht,{client:n,children:t})}function t4(e){return(0,x.s)(),(0,i.useEffect)(()=>{let e=new URLSearchParams(window.location.search),t=e.get("share_win_referral")||e.get("shareWinReferral")||e.get("ref");t&&(0,f.$p)({referralCode:t})},[]),(0,i.useEffect)(()=>{(0,y.mi)()},[]),(0,i.useEffect)(()=>{(0,w.L9)(),(0,b.u)()},[]),(0,o.jsx)(t5,{children:(0,o.jsx)(r.Y,{height:"3px",color:"#354bff",shallowRouting:!0,options:{showSpinner:!1},children:(0,o.jsx)(m.E4,{children:(0,o.jsx)(t1,{children:(0,o.jsx)(u.c,{children:(0,o.jsx)(g.Z6,{children:(0,o.jsx)(h.i,{children:(0,o.jsx)(p,{children:(0,o.jsx)(a.Sx,{children:e.children})})})})})})})})})}},95707:(e,t,n)=>{"use strict";n.d(t,{gQ:()=>a,hE:()=>o,o$:()=>r,tO:()=>i});let o=e=>{var t,n,o,i;if(!e)return"";
1let r=e.trim().split(" ").filter(Boolean);if(0===r.length)return"";let a=null!=(o=null==(t=r[0][0])?void 0:t.toUpperCase())?o:"",s=r.length>1&&null!=(i=null==(n=r[r.length-1][0])?void 0:n.toUpperCase())?i:"";return"".concat(a).concat(s)},i=e=>{var t,n;return"BM"===e?"\uD83C\uDF10":String.fromCodePoint(...null==(t=(n=e.toUpperCase().split("")).map)?void 0:t.call(n,e=>127397+e.charCodeAt(0)))},r=e=>{var t,n,o,i,r,a,s,l;let{personName:d,personEmail:c}=e;if(!d)return null!=(l=null==c||null==(i=c.split)||null==(o=i.call(c,"@"))||null==(n=o[0])||null==(t=n.trim)?void 0:t.call(n))?l:"Anonymous";let p=null==d||null==(s=d.trim)||null==(a=s.call(d))||null==(r=a.split)?void 0:r.call(a," ");return"".concat(p[0]," ").concat(p.length>1?p[p.length-1]:"").trim()},a=function(e,t){var n,o,i,r,a,s,l,d;let c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"style",p=null!=(l=null==e||null==(a=e.trim)||null==(r=a.call(e))||null==(i=r.split)||null==(o=i.call(r,/\s+/))||null==(n=o.filter)?void 0:n.call(o,Boolean))?l:[];return{[c]:{backgroundColor:(e=>{var t;let n=(null==e||null==(t=e.trim)?void 0:t.call(e))?e:"User",o=0;for(let e=0;e<n.length;e++)o=n.charCodeAt(e)+((o<<5)-o);let i="#";for(let e=0;e<3;e++){let t=o>>8*e&255;t=Math.floor((t+128)%256),i+="00".concat(t.toString(16)).slice(-2)}return i})(e),width:"35px",height:"35px",fontSize:"15px",display:"flex",alignItems:"center",justifyContent:"center",color:"#fff",...null!=t?t:{}},children:0===p.length?"?":"".concat(p[0][0]).concat(null!=(d=null==(s=p[1])?void 0:s[0])?d:"").toUpperCase()}}}},e=>{e.O(0,[4797,4987,7652,777,1345,5671,5370,5041,3924,8069,7406,6042,4095,839,6874,5160,755,3135,5898,5195,8570,9973,4850,8441,1187,7358],()=>e(e.s=26852)),_N_E=e.O()}]);
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.