1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1006],{8460:()=>{},8742:()=>{},13838:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var a=s(95155);function r(e){let{type:t="danger",title:s,description:r}=e;return(0,a.jsxs)("div",{className:"flex items-center rounded-lg border-2 px-4 py-3 text-sm ".concat({danger:"border-red-300 bg-red-50 text-red-800",warning:"border-yellow-300 bg-yellow-50 text-yellow-800",info:"border-blue-300 bg-blue-50 text-blue-800",success:"border-green-300 bg-green-50 text-green-800"}[t]),role:"alert",children:[(0,a.jsx)("svg",{className:"me-3 inline h-5 w-5 flex-shrink-0","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20",children:(0,a.jsx)("path",{d:"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"font-medium",children:s})," ",r]})]})}},15340:()=>{},18688:(e,t,s)=>{"use strict";s.d(t,{b:()=>a});let a={chainId:"1",apiUrl:"https://api.multiversx.com",explorerUrl:"https://explorer.multiversx.com",gatewayUrl:"https://gateway.multiversx.com",helmetsCollectionId:"HELMET-a8060c",helmetsEACollectionId:"HELMETEA-68262f",walletConnectV2ProjectId:"51b9ef7698f2bd450e9953216cba79d6",apiTimeout:Number.parseInt("30000"),bheroScAddress:"erd1qqqqqqqqqqqqqpgq5q4uf6f678xfsahrangctn5sur5m5q44v3ys564let"}},20947:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var a=s(95155),r=s(2821);function i(e){let{size:t="medium"}=e;return(0,a.jsx)("div",{className:"center-all",role:"status",children:(0,a.jsxs)("svg",{"aria-hidden":"true",className:(0,r.A)("inline animate-spin fill-black text-gray-400",{"h-5 w-5":"medium"===t,"h-4 w-4":"small"===t}),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})})}},22521:(e,t,s)=>{"use strict";s.d(t,{IB:()=>r,Km:()=>n,u7:()=>i});var a=s(33021);let r=["en","ro"],i={[a.xW.home]:a.xW.home,[a.xW.cookiePolicy]:{en:a.xW.cookiePolicy,ro:"/politica-cookie"},[a.xW.discover]:{en:a.xW.discover,ro:"/descopera"},["".concat(a.xW.discover).concat(a.xW.whoWeAre)]:{en:"".concat(a.xW.discover).concat(a.xW.whoWeAre),ro:"/descopera/cine-suntem"},["".concat(a.xW.discover).concat(a.xW.howToInvest)]:{en:"".concat(a.xW.discover).concat(a.xW.howToInvest),ro:"/descopera/cum-sa-investesti"},["".concat(a.xW.discover).concat(a.xW.helmetsSociety)]:{en:"".concat(a.xW.discover).concat(a.xW.helmetsSociety),ro:"/descopera/helmets-society"},["".concat(a.xW.discover).concat(a.xW.helmetsCollection)]:{en:"".concat(a.xW.discover).concat(a.xW.helmetsCollection),ro:"/descopera/colectia-helmets"},["".concat(a.xW.discover).concat(a.xW.expertsCommunity)]:{en:"".concat(a.xW.discover).concat(a.xW.expertsCommunity),ro:"/descopera/comunitatea-de-experti"},["".concat(a.xW.discover).concat(a.xW.investorsCommunity)]:{en:"".concat(a.xW.discover).concat(a.xW.investorsCommunity),ro:"/descopera/comunitatea-de-investitori"},["".concat(a.xW.discover).concat(a.xW.contact)]:{en:"".concat(a.xW.discover).concat(a.xW.contact),ro:"/descopera/contact"},["".concat(a.xW.discover).concat(a.xW.bricksCalculator)]:{en:"".concat(a.xW.discover).concat(a.xW.bricksCalculator),ro:"/descopera/calculator-bricks"}
1,[a.xW.invalidToken]:{en:a.xW.invalidToken,ro:"/token-nevalid"},[a.xW.learn]:{en:a.xW.learn,ro:"/invata"},[a.xW.download]:{en:a.xW.download,ro:"/descarca"},["".concat(a.xW.learn,"/[slug]")]:{en:"".concat(a.xW.learn,"/[slug]"),ro:"/invata/[slug]"},[a.xW.news]:{en:a.xW.news,ro:"/stiri"},["".concat(a.xW.news,"/[slug]")]:{en:"".concat(a.xW.news,"/[slug]"),ro:"/stiri/[slug]"},[a.xW.privacyPolicy]:{en:a.xW.privacyPolicy,ro:"/politica-de-confidentialitate"},[a.xW.profile]:{en:a.xW.profile,ro:"/profil"},[a.xW.resetPassword]:{en:a.xW.resetPassword,ro:"/reseteaza-parola"},["".concat(a.xW.resetPassword,"/success")]:{en:"".concat(a.xW.resetPassword,"/success"),ro:"/reseteaza-parola/succes"},[a.xW.termsAndConditions]:{en:a.xW.termsAndConditions,ro:"/termeni-si-conditii"},[a.xW.vote]:{en:a.xW.vote,ro:"/voteaza"},["".concat(a.xW.vote).concat(a.xW.proposals)]:{en:"".concat(a.xW.vote).concat(a.xW.proposals),ro:"/voteaza/propuneri"},["".concat(a.xW.vote).concat(a.xW.suggestions)]:{en:"".concat(a.xW.vote).concat(a.xW.suggestions),ro:"/voteaza/sugestii"},["".concat(a.xW.vote).concat(a.xW.suggestions).concat(a.xW.add)]:{en:"".concat(a.xW.vote).concat(a.xW.suggestions,"/").concat(a.xW.add),ro:"/voteaza/sugestii/adauga"},["".concat(a.xW.vote).concat(a.xW.suggestions,"/[suggestionId]")]:{en:"".concat(a.xW.vote).concat(a.xW.suggestions,"/[suggestionId]"),ro:"/voteaza/sugestii/[suggestionId]"},[a.xW.thankYou]:{en:a.xW.thankYou,ro:"/multumim"},[a.xW.subscription]:{en:a.xW.subscription,ro:"/abonare"},"[...rest]":"[...rest]"},n=[a.xW.resetPassword,a.xW.invalidToken]},23131:(e,t,s)=>{"use strict";s.r(t),s.d(t,{AuthenticationProvider:()=>v,useAuthenticationContext:()=>h});var a=s(95155),r=s(73229),i=s(53282),n=s(8555),o=s(17983),c=s(12115),l=s(22663),d=s(66957),m=s(30926);let u=(0,m.createServerReference)("40491df6f15820d23fe33d5cf3b624539246ab8dda",m.callServer,void 0,m.findSourceMapURL,"disconnectWallet"),x=(0,c.createContext)(null),h=()=>(0,c.useContext)(x),v=e=>{let{children:t}=e,[s,m]=(0,c.useState)(!1),[h,v]=(0,c.useState)(!1),[p,g]=(0,c.useState)(!1),[f,j]=(0,c.useState)(),[w,b]=(0,c.useState)(!1),{address:y}=(0,i.d)();async function W(e){let t=await (0,d.x)(e);t.success?j(t.message):console.error(t.message)}(0,r.rd)(),(0,c.useEffect)(()=>{p&&y&&W(y)},[p,y]);let N=async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=await (0,n.bv)();if(j(null),g(!1),(0,o.r)(void 0,e=>{}),e){let e=await u(t);e.success||(console.error(e.message),l.Ay.error(e.message))}};return(0,a.jsx)(x.Provider,{value:{isAuthModalVisible:s,setAuthModalVisible:m,isUnlockModalVisible:h,setUnlockModalVisible:v,isWalletAuthenticated:p,setWalletAuthenticated:g,profileImageHash:f,setProfileImageHash:j,logoutAndDisconnect:N,isLinked:w,setLinked:b},children:t})}},25016:(e,t,s)=>{"use strict";s.d(t,{cn:()=>i,yy:()=>n,zT:()=>o});var a=s(2821),r=s(75889);function i(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return(0,r.QP)((0,a.$)(t))}let n=e=>new Promise(t=>setTimeout(t,e)),o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4;return"".concat(e.slice(0,t),"...").concat(e.slice(-t))}},25358:(e,t,s)=>{"use strict";s.d(t,{A:()=>c});var a=s(95155),r=s(71220),i=s(23131),n=s(58347),o=s(95604);function c(){let e=(0,o.useTranslations)(),{setAuthModalVisible:t}=(0,i.useAuthenticationContext)();return"authenticated"===(0,n.wV)().status?null:(0,a.jsx)(r.A,{variant:"button-primary",onClick:()=>t(!0),children:e("Auth.signIn")})}},26939:(e,t,s)=>{"use strict";s.d(t,{f:()=>r});var a=s(30926);let r=(0,a.createServerReference)("00129c685e870273492e73e17efc3c80caafd424f1",a.callServer,void 0,a.findSourceMapURL,"requestVerificationEmail")},27439:(e,t,s)=>{"use strict";s.d(t,{V:()=>T,default:()=>L});var a=s(95155),r=s(88947),i=s(23131),n=s(95604),o=s(12115),c=s(58139),l=s(13838),d=s(71220),m=s(22521),u=s(33021),x=s(73229),h=s(48757),v=s(66942),p=s(58347),g=s(15239),f=s(52619),j=s.n(f),w=s(22544),b=s(35108),y=s(15653);function W(e){var t,s;let{setContent:r}=e,c=(0,n.useTranslations)(),{setAuthModalVisible:f}=(0,i.useAuthenticationContext)(),[W,N]=(0,o.useState)(),C=(0,x.a8)(),A=(0,x.rd)(),{register:k,handleSubmit:S,formState:{errors:E},setFocus:F}=(0,w.mN)({resolver:(0,v.u)(y.z.object({email:(0,h.iV)(c),password:y.z.string().min(1,{message:c("Auth.emptyPasswordError")})}))});(0,o.useEffect)(()=>{F("email")},[]);let V=(0,b.useMutation)({mutationFn:e=>(0,p.Jv)("credentials",{redirect:!1,email:e.email,password:e.password}),onSuccess:e=>{if(!e)return void N(c("Errors.unexpectedError"));if(e.error&&e.code&&e.code.startsWith("IncorrectAuthMethodError")){let t=e.code.split(":")[1];N(c("Auth.previouslyUsedAuthMethod",{provider:t.charAt(0).toUpperCase()+t.slice(1)}));return}if("CredentialsSignin"===e.error)return void N(c("Auth.invalidCredentialsError"));200===e.status&&!0===e.ok&&(f(!1),m.Km.some(e=>C.includes(e))&&A.push(u.xW.home))},onError:e=>{console.error(e)}});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex flex-col text-sm sm:text-base",children:[(0,a.jsxs)("form",{onSubmit:S(async e=>{N(void 0),V.mutate(e)}
1),className:"space-y-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("input",{className:"light-input",id:"email",type:"email",placeholder:"Email",autoComplete:"email",...k("email")}),E.email&&(0,a.jsx)("div",{className:"input-error",children:null==(t=E.email.message)?void 0:t.toString()})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("input",{className:"light-input",id:"password",type:"password",placeholder:c("Form.password"),autoComplete:"current-password",...k("password")}),E.password&&(0,a.jsx)("div",{className:"input-error",children:null==(s=E.password.message)?void 0:s.toString()})]}),!!W&&(0,a.jsx)(l.A,{title:"".concat(c("Errors.error"),"!"),description:W}),(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)(j(),{href:"#",className:"link",onClick:e=>{e.preventDefault(),r(T.ForgotPassword)},children:c("General.forgotPassword")}),(0,a.jsx)(d.A,{variant:"button-blue",size:"medium",type:"submit",isLoading:V.isLoading,children:(0,a.jsx)("div",{children:c("Auth.signIn")})})]})]}),(0,a.jsxs)("div",{className:"mt-4 flex w-full items-center gap-2 pt-6",children:[(0,a.jsx)("div",{className:"h-[2px] w-full bg-slate-200"}),(0,a.jsx)("div",{className:"whitespace-nowrap px-1 text-sm text-[#294956]",children:c("Auth.orElseSignInWith")}),(0,a.jsx)("div",{className:"h-[2px] w-full bg-slate-200"})]})]}),(0,a.jsx)("form",{action:()=>(0,p.Jv)("google"),children:(0,a.jsx)(d.A,{variant:"button-google",type:"submit",isFullWidth:!0,children:(0,a.jsxs)("div",{className:"center-all gap-3 py-[1px]",children:[(0,a.jsx)(g.default,{className:"relative",src:"/google.svg",alt:"Google",width:28,height:28}),"Google"]})})}),(0,a.jsxs)("p",{className:"text-center text-sm text-[#313957] sm:text-base",children:[c("Auth.notRegistered")," ",(0,a.jsx)(j(),{href:"#",className:"link",onClick:e=>{e.preventDefault(),r(T.SignUp)},children:c("Auth.signUp")})]}),(0,a.jsx)("div",{className:"max-w-sm",children:(0,a.jsx)(l.A,{type:"success",title:"",description:c("SignInModal.info")})})]})}var N=s(30926);let C=(0,N.createServerReference)("408d3138489586913e514182c83641d09ff8597231",N.callServer,void 0,N.findSourceMapURL,"registerUser");function A(e){var t,s,r;let{setContent:c}=e,m=(0,n.useTranslations)(),{setAuthModalVisible:g}=(0,i.useAuthenticationContext)(),[f,j]=(0,o.useState)(),{register:y,handleSubmit:W,formState:{errors:N},setFocus:A}=(0,w.mN)({resolver:(0,v.u)((0,h.JU)(m))});(0,o.useEffect)(()=>{A("name")},[]);let k=(0,b.useMutation)({mutationFn:e=>S(e)}),S=async e=>{let{email:t,password:s}=e,a=await C(e);a.success?(await (0,p.Jv)("credentials",{redirect:!1,email:t,password:s}),c(T.Verification)):(console.error(a.message),j(a.message))};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"flex flex-col text-sm sm:text-base",children:(0,a.jsxs)("form",{onSubmit:W(async e=>{j(void 0),k.mutate(e)}),className:"space-y-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("input",{className:"light-input",id:"name",type:"text",placeholder:m("Form.name"),autoComplete:"name",...y("name")}
1),N.name&&(0,a.jsx)("div",{className:"input-error",children:null==(t=N.name.message)?void 0:t.toString()})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("input",{className:"light-input",id:"email",type:"email",placeholder:"Email",autoComplete:"email",...y("email")}),N.email&&(0,a.jsx)("div",{className:"input-error",children:null==(s=N.email.message)?void 0:s.toString()})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("input",{className:"light-input",id:"password",type:"password",placeholder:m("Form.password"),autoComplete:"current-password",...y("password")}),N.password&&(0,a.jsx)("div",{className:"input-error",children:null==(r=N.password.message)?void 0:r.toString()})]}),(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)("input",{className:"h-4 w-4 cursor-pointer rounded border-gray-300 bg-gray-100 text-blue-600 focus:ring-0 focus:ring-offset-0",defaultChecked:!1,id:"marketingEmails",type:"checkbox",...y("marketingEmails")}),(0,a.jsx)("label",{className:"ms-2 cursor-pointer text-xs text-[#313957] sm:text-sm",htmlFor:"marketingEmails",children:m("Form.subscribeMe")})]}),!!f&&(0,a.jsx)(l.A,{title:"".concat(m("Errors.error"),"!"),description:f}),(0,a.jsxs)("div",{className:"mx-auto flex max-w-sm flex-col gap-4 py-2",children:[(0,a.jsxs)("div",{className:"px-2 text-center text-xs text-slate-600 sm:text-sm",children:[m("Register.agreeToTerms")," ",(0,a.jsx)(x.N_,{className:"text-blue-600 hover:underline",href:u.xW.termsAndConditions,onClick:()=>g(!1),children:m("TermsAndConditions.pageTitle")}),"."]}),(0,a.jsxs)("div",{className:"text-center text-xs text-slate-600 sm:text-sm",children:[m("Register.learnAboutPrivacyPolicy")," ",(0,a.jsx)(x.N_,{className:"text-blue-600 hover:underline",href:u.xW.privacyPolicy,onClick:()=>g(!1),children:m("PrivacyPolicy.pageTitle")}),"."]})]}),(0,a.jsx)("div",{className:"center-all w-full",children:(0,a.jsx)(d.A,{type:"submit",variant:"button-blue",size:"medium",isLoading:k.isLoading,children:m("Register.createAccount")})})]})}),(0,a.jsxs)("p",{className:"text-center text-sm text-[#313957] sm:text-base",children:[m("Auth.alreadyRegistered")," ",(0,a.jsx)(x.N_,{href:"#",className:"link",onClick:e=>{e.preventDefault(),c(T.SignIn)},children:m("Auth.signIn")})]})]})}let k={className:"font-mono"};var S=s(86093),E=s(49997);let F={seconds:0,minutes:0,hours:0,days:0,months:0,years:0},V=e=>{let{timestamp:t,prefix:s,callback:r}=e,[i,n]=(0,o.useState)(F);return(0,o.useEffect)(()=>{let e;return n((0,S.F)({start:new Date,end:t})),e=setInterval(()=>{if(0>=(0,E.O)(t,new Date)){n(F),clearInterval(e),r&&r();return}n((0,S.F)({start:new Date,end:t}))},1e3),()=>{clearInterval(e)}},[t]),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{children:s})," ",(0,a.jsx)("span",{className:"".concat(k.className," font-medium text-[#26905f]"),children:String(i.seconds).padStart(2,"0")})]})};var P=s(26939),z=s(87505),M=s(22663);function I(){var e,t;let s=(0,n.useTranslations)(),[r,i]=(0,o.useState)(),[c,m]=(0,o.useState)(),u=(0,p.wV)(),x=(0,b.useMutation)({mutationFn:()=>h(),onSuccess:()=>{i((0,z.p)(new Date,59))},onError:e=>{console.error(e)}}),h=async()=>{m(void 0);try{let e=await (0,P.f)();e.success?M.Ay.success(s("EmailVerification.emailSent")):(console.error(e.message),m(e.message))}catch(e){console.log(e)}};return(0,a.jsx)("div",{className:"center-all flex-col gap-6 text-center text-sm text-uiDark sm:text-base",children:"authenticated"!==u.status?(0,a.jsx)("div",{className:"max-w-[360px]",children:(0,a.jsx)(l.A,{title:"".concat(s("Errors.error"),"!"),description:s("Errors.unexpectedError")})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"center-all h-20 w-20 rounded-full border-8 border-solid border-green-50 bg-[#d4f8de]",children:(0,a.jsx)("svg",{className:"h-9 w-9",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("g",{id:"style=linear",children:(0,a.jsxs)("g",{id:"email",children:[(0,a.jsx)("path",{id:"vector",d:"M17 20.5H7C4 20.5 2 19 2 15.5V8.5C2 5 4 3.5 7 3.5H17C20 3.5 22 5 22 8.5V15.5C22 19 20 20.5 17 20.5Z",stroke:"#26905f",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{id:"vector_2",d:"M18.7698 7.7688L13.2228 12.0551C12.5025 12.6116 11.4973 12.6116 10.777 12.0551L5.22998 7.7688",stroke:"#26905f",strokeWidth:"1.5",strokeLinecap:"round"})]})})})}),(0,a.jsxs)("div",{className:"center-all flex-col gap-3",children:[(0,a.jsx)("div",{className:"text-2xl font-bold",children:s("EmailVerification.modalTitle")}),(0,a.jsxs)("div",{className:"center-all flex-col",children:[(0,a.jsx)("div",{children:s("EmailVerification.modalContent1")}),(0,a.jsx)("div",{className:"text-lg font-bold text-slate-600",children:null==(t=u.data)||null==(e=t.user)?void 0:e.email})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{children:s("EmailVerification.modalContent2")}),(0,a.jsx)("div",{children:s("EmailVerification.modalContent3")})]}),(0,a.jsx)("div",{children:s("EmailVerification.modalContent4")}),(0,a.jsx)(d.A,{variant:"button-blue",size:"medium",onClick:x.mutate,isLoading:x.isLoading,isDisabled:!!r,children:s("EmailVerification.resendVerificationEmail")}),!!r&&(0,a.jsx)(V,{timestamp:r,prefix:s("EmailVerification.resendInTimestamp"),callback:()=>i(void 0)}),!!c&&(0,a.jsx)(l.A,{title:"".concat(s("Errors.error"),"!"),description:c})]})})}var T=function(e){return e.SignIn="Auth.signIn",e.SignUp="Auth.signUp",e.Verification="General.verification",e.ForgotPassword="PasswordReset.pageTitle",e}({});function L(){let e=(0,n.useTranslations)(),{isAuthModalVisible:t,setAuthModalVisible:s}=(0,i.useAuthenticationContext)(),[l,d]=(0,o.useState)("Auth.signIn");return(0,o.useEffect)(()=>{t&&d("Auth.signIn")},[t]),(0,a.jsx)(r.A,{title:e(l),isVisible:t,setVisible:s,children:(()=>{switch(l){case"Auth.signUp":return(0,a.jsx)(A,{setContent:d});case"General.verification":return(0,a.jsx)(I,{});case"PasswordReset.pageTitle":return(0,a.jsx)(c.A,{setContent:d});default:return(0,a.jsx)(W,{setContent:d})}})()})}},27525:(e,t,s)=>{"use strict";s.d(t,{A:()=>
1o});var a=s(95155),r=s(71220),i=s(23131),n=s(95604);function o(e){let{variant:t="button-outline",text:s,extraClasses:o}=e,c=(0,n.useTranslations)(),{setUnlockModalVisible:l}=(0,i.useAuthenticationContext)();return(0,a.jsx)(r.A,{variant:t,onClick:()=>l(!0),extraClasses:o,children:s||c("Auth.connectWallet")})}},33021:(e,t,s)=>{"use strict";s.d(t,{_v:()=>r,xW:()=>a});var a=function(e){return e.home="/",e.news="/news",e.vote="/vote",e.learn="/learn",e.download="/download",e.privacyPolicy="/privacy-policy",e.termsAndConditions="/terms-and-conditions",e.cookiePolicy="/cookie-policy",e.profile="/profile",e.resetPassword="/reset-password",e.invalidToken="/invalid-token",e.proposals="/proposals",e.suggestions="/suggestions",e.thankYou="/thank-you",e.subscription="/subscription",e.add="/add",e.discover="/discover",e.whoWeAre="/who-we-are",e.howToInvest="/how-to-invest",e.helmetsSociety="/helmets-society",e.helmetsCollection="/helmets-collection",e.howToBuy="/how-to-buy",e.expertsCommunity="/experts-community",e.investorsCommunity="/investors-community",e.events="/events",e.faq="/faq",e.contact="/contact",e.bricksCalculator="/bricks-calculator",e}({});let r=e=>e.effectivePath?{pathname:"".concat(e.effectivePath,"/[slug]"),params:{slug:e.localizedSlug}}:e.blankUrl?e.blankUrl:"/discover".concat(e.path)},33848:(e,t,s)=>{var a={"./bls.js":38487,"./bls_c.js":16325};function r(e){return s(i(e))}function i(e){if(!s.o(a,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}r.keys=function(){return Object.keys(a)},r.resolve=i,e.exports=r,r.id=33848},38986:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var a=s(95155),r=s(15239);function i(e){let{profileImageHash:t}=e;return(0,a.jsx)(r.default,{className:"object-cover",src:t?"".concat("https://d3mbvdl1ltqo66.cloudfront.net","/profile/").concat(t):"/profile.jpeg",fill:!0,alt:"Avatar",sizes:"(max-width: 768px) 12vw, (max-width: 1200px) 8vw, 10vw",priority:!0})}},42634:()=>{},47790:()=>{},48757:(e,t,s)=>{"use strict";s.d(t,{JS:()=>n,JU:()=>l,K0:()=>d,Lp:()=>m,iV:()=>i});var a=s(15653);let r=e=>a.z.string().min(1,{message:e("Form.textEmptyValidationM",{subject:e("Form.theName")})}).max(32,{message:e("Form.textMaxCharValidation",{subject:e("Form.theName"),count:32})}).regex(/^[a-zA-Z\s]+$/,{message:e("Form.nameValidation3",{subject:e("Form.theName")})}),i=e=>a.z.string().email({message:e("Form.emailValidation")}),n=e=>a.z.string().min(10,{message:e("Form.passwordValidation1")}).refine(e=>/[A-Z]/.test(e),{message:e("Form.passwordValidation2")}).refine(e=>/[!@#$%^&*(),.?":{}|<>]/.test(e),{message:e("Form.passwordValidation3")}),o=e=>a.z.string().optional().refine(e=>!e||/^\+?\d{10,20}$/.test(e),{message:e("Form.phoneNumber1")}),c=a.z.boolean().optional();function l(e){return a.z.object({name:r(e),email:i(e),password:n(e),marketingEmails:c})}function d(e){return a.z.object({name:r(e),phoneNumber:o(e),marketingEmails:c})}function m(e){return a.z.object({firstName:a.z.string().min(1,{message:e("Form.textEmptyValidationM",{subject:e("Form.theFirstName")})}).max(32,{message:e("Form.textMaxCharValidation",{subject:e("Form.theFirstName"),count:24})}).regex(/^[a-zA-Z\s]+$/,{message:e("Form.nameValidation3",{subject:e("Form.theFirstName")})}),lastName:a.z.string().min(1,{message:e("Form.textEmptyValidationM",{subject:e("Form.theName")})}).max(32,{message:e("Form.textMaxCharValidation",{subject:e("Form.theName"),count:32})}).regex(/^[a-zA-Z\s]+$/,{message:e("Form.nameValidation3",{subject:e("Form.theName")})}),email:i(e),phoneNumber:o(e),marketingEmails:a.z.boolean().refine(e=>!0===e,{message:e("Form.marketingEmailsRequiredError")})})}},56137:()=>{},58139:(e,t,s)=>{"use strict";s.d(t,{A:()=>f});var a=s(95155),r=s(13838),i=s(71220),n=s(30926);let o=(0,n.createServerReference)("4025a795b2d3325c160323c48529428a7a6f2041e7",n.callServer,void 0,n.findSourceMapURL,"forgotPassword");var c=s(48757),l=s(66942),d=s(95604),m=s(52619),u=s.n(m),x=s(12115),h=s(22544),v=s(35108),p=s(15653),g=s(27439);function f(e){var t;let{setContent:s,email:n}=e,m=(0,d.useTranslations)(),[f,j]=(0,x.useState)(),[w,b]=(0,x.useState)(),{register:y,handleSubmit:W,reset:N,formState:{errors:C},setFocus:A}=(0,h.mN)({resolver:(0,l.u)(p.z.object({email:(0,c.iV)(m)}))});(0,x.useEffect)(()=>{n?N({email:n}):A("email")},[]);let k=(0,v.useMutation)({mutationFn:e=>o(e.email),onSuccess:e=>{e.success?b(e.message):(console.error(e.message),j(e.message))},onError:e=>{console.error(e)}});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"flex flex-col text-sm sm:text-base",children:(0,a.jsxs)("form",{onSubmit:W(async e=>{j(void 0),k.mutate(e)}
1),className:"space-y-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("input",{className:"light-input",id:"email",type:"email",placeholder:"Email",autoComplete:"email",disabled:!!n,...y("email")}),C.email&&(0,a.jsx)("div",{className:"input-error",children:null==(t=C.email.message)?void 0:t.toString()})]}),(0,a.jsx)("div",{className:"max-w-sm text-center text-slate-600 sm:text-left",children:m("ForgotPassword.emailSent")}),!!f&&(0,a.jsx)(r.A,{title:"".concat(m("Errors.error"),"!"),description:f}),!!w&&(0,a.jsx)(r.A,{type:"success",title:"",description:w}),(0,a.jsx)("div",{className:"center-all w-full pt-2",children:(0,a.jsx)(i.A,{type:"submit",variant:"button-blue",size:"medium",isDisabled:!!w,isLoading:k.isLoading,children:m("General.resetPassword")})})]})}),!!s&&(0,a.jsxs)("p",{className:"text-center text-[#313957]",children:[m("Auth.alreadyRegistered")," ",(0,a.jsx)(u(),{href:"#",className:"link",onClick:e=>{e.preventDefault(),s(g.V.SignIn)},children:m("Auth.signIn")})]})]})}},66957:(e,t,s)=>{"use strict";s.d(t,{x:()=>r});var a=s(30926);let r=(0,a.createServerReference)("4070c0d31ac37914538440d33ee9a6b19f5bb689e2",a.callServer,void 0,a.findSourceMapURL,"getProfileImage")},71220:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var a=s(95155),r=s(2821),i=s(20947);function n(e){let{variant:t="button-outline",size:s="small",isLoading:n,isDisabled:o,isFullWidth:c,extraClasses:l,children:d,...m}=e;return(0,a.jsx)("button",{type:"button",...m,className:(0,r.A)("".concat(t," button-").concat(s," ").concat(l||""),{"w-full":c,"button-disabled pointer-events-none":o}),disabled:n||o,children:(0,a.jsx)("div",{children:n?(0,a.jsx)("div",{className:"px-2 py-0.5 lg:py-1",children:(0,a.jsx)(i.A,{size:"mobile-large"===s?"medium":s})}):(0,a.jsx)(a.Fragment,{children:d})})})}},71281:()=>{},73229:(e,t,s)=>{"use strict";s.d(t,{N_:()=>i,a8:()=>c,rd:()=>l});var a=s(18956),r=s(22521);let{Link:i,redirect:n,getPathname:o,usePathname:c,useRouter:l}=(0,a.T$)({locales:r.IB,pathnames:r.u7}
1)},73776:()=>{},79838:()=>{},88947:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var a=s(95155),r=s(54679);function i(e){let{title:t,isVisible:s,setVisible:i,children:n}=e;return(0,a.jsxs)(r.lG,{open:s,onClose:i,className:"relative z-50",children:[(0,a.jsx)(r.Xi,{transition:!0,className:"fixed inset-0 bg-gray-900 bg-opacity-75 transition-opacity data-[closed]:opacity-0 data-[enter]:duration-300 data-[leave]:duration-200 data-[enter]:ease-out data-[leave]:ease-in"}),(0,a.jsx)("div",{className:"fixed inset-0 w-screen overflow-y-auto",children:(0,a.jsx)("div",{className:"flex min-h-full items-center justify-center p-5 text-center",children:(0,a.jsx)(r.Lj,{transition:!0,className:"relative transform overflow-hidden rounded-[20px] text-left transition-all data-[closed]:translate-y-4 data-[closed]:opacity-0 data-[enter]:duration-300 data-[leave]:duration-200 data-[enter]:ease-out data-[leave]:ease-in data-[closed]:sm:translate-y-0 data-[closed]:sm:scale-95",children:(0,a.jsxs)("div",{className:"flex min-h-full flex-col justify-center gap-6 bg-white px-6 py-6 md:p-12",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("h4",{className:"text-[20px] text-uiDark lg:text-2xl",children:t}),(0,a.jsx)("div",{className:"cursor-pointer transition hover:opacity-50",onClick:()=>i(!1),children:(0,a.jsx)("svg",{className:"h-5 w-5",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M1 1L21 21M1 21L21 1",stroke:"#292929",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),n]})})})})]})}},92382:()=>{},99432:()=>{}}]);
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.