PageSourceSearch

https://tryfreshkit.com/_next/static/chunks/6114-dca50fa78cda1a9d.js

js tryfreshkit.com collected 2026-09-29 02:21:46 UTC 20,608 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6114],{26267:function(e,t,s){s.d(t,{U:function(){return a}});var n=s(57437);let a=()=>(0,n.jsxs)("svg",{width:"37",height:"36",viewBox:"0 0 37 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("rect",{x:"0.75",width:"36",height:"36",rx:"18",fill:"#F2F4F7"}),(0,n.jsx)("path",{d:"M23.7501 24.6667V24.0417C23.7501 22.0857 22.1644 20.5 20.2084 20.5H13.9584C12.0024 20.5 10.4167 22.0857 10.4167 24.0417V24.6667",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("circle",{cx:"17.0833",cy:"13.8333",r:"3.33333",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M24.5834 15.5V18.8333",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M26.2501 17.1667H22.9167",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})},91486:function(e,t,s){s.d(t,{H:function(){return a}});var n=s(57437);let a=()=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,n.jsx)("path",{d:"M14.1667 9.16667V6.66667C14.1667 4.36548 12.3012 2.5 10 2.5C7.69881 2.5 5.83333 4.36548 5.83333 6.66667V9.16667M6.5 17.5H13.5C14.9001 17.5 15.6002 17.5 16.135 17.2275C16.6054 16.9878 16.9878 16.6054 17.2275 16.135C17.5 15.6002 17.5 14.9001 17.5 13.5V13.1667C17.5 11.7665 17.5 11.0665 17.2275 10.5317C16.9878 10.0613 16.6054 9.67883 16.135 9.43915C15.6002 9.16667 14.9001 9.16667 13.5 9.16667H6.5C5.09987 9.16667 4.3998 9.16667 3.86502 9.43915C3.39462 9.67883 3.01217 10.0613 2.77248 10.5317C2.5 11.0665 2.5 11.7665 2.5 13.1667V13.5C2.5 14.9001 2.5 15.6002 2.77248 16.135C3.01217 16.6054 3.39462 16.9878 3.86502 17.2275C4.3998 17.5 5.09987 17.5 6.5 17.5Z",stroke:"#667085",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})})},64521:function(e,t,s){s.d(t,{Z:function(){return a}});var n=s(57437);let a=e=>{let{children:t,paddingSize:s,boxShadow:a,className:r=""}=e;return(0,n.jsx)("div",{className:"".concat(r," w-full bg-white ").concat(s?"p-".concat(s):"p-sm"," border border-solid border-gray-200 rounded-lg ").concat(a?"shadow-".concat(a):"shadow-md"),children:t})}},55425:function(e,t,s){var n=s(57437),a=s(2265),r=s(89618),i=s(34845),l=s(65177),o=s(24889);let d=a.forwardRef((e,t)=>{let{name:s,type:a,value:r,className:i,prefix:l,suffix:o,min:d,max:x,minLength:h,maxLength:p,placeholder:f,width:j,borderWidth:v,margin:w,padding:M,borderRadius:C,onChange:b,onFocus:y,onKeyUp:N,...P}=e;return(0,n.jsxs)(c,{className:i,borderWidth:v,borderRadius:C,margin:w,children:[l&&(0,n.jsx)(u,{$isIconExist:!!l,children:l}),(0,n.jsx)(g,{...P,name:s,type:a,ref:t,value:r,width:j,style:{padding:M},min:d,max:x,minLength:h,maxLength:p,onChange:b,onFocus:y,onKeyUp:N,placeholder:f}),o&&(0,n.jsx)(m,{$isIconExist:!!o,children:o})]})});d.displayName="InputWithIcon",t.Z=d;let c=(0,r.ZP)(i.gq).withConfig({componentId:"sc-3eb44d94-0"})(["background-color:",";border:1px solid ",";border-radius:",";",";",";
1&.invalid,&.invalid:focus{border:1px solid #d21c1c;}"],(0,l.E)("white"),e=>{let{theme:t}=e;return t.bg.inactive},e=>{let{borderRadius:t}=e;return t||"0.25rem"},e=>{let{borderWidth:t}=e;return t&&(0,r.iv)(["border-width:",";"],t)},e=>{let{margin:t}=e;return t&&(0,r.iv)(["margin:",";"],t)}),u=r.ZP.span.withConfig({componentId:"sc-3eb44d94-1"})(["",";"],e=>{let{$isIconExist:t}=e;return t&&(0,r.iv)(["",":12px;"],(0,o.b)("margin-right","margin-left"))}),m=r.ZP.span.withConfig({componentId:"sc-3eb44d94-2"})(["",";"],e=>{let{$isIconExist:t}=e;return t&&(0,r.iv)(["",":14px;"],(0,o.b)("margin-left","margin-right"))}),g=(0,r.ZP)(i.II).withConfig({componentId:"sc-3eb44d94-3"})(["width:",";margin-top:0;font-weight:normal;border:0;&:focus{border:0;}&::placeholder{font-weight:normal;}"],e=>{let{width:t}=e;return t||"inherit"})},53169:function(e,t,s){s.d(t,{Z:function(){return v}});var n=s(57437),a=s(66373),r=s(72251),i=s(71770),l=s(96103);s(2265);var o=s(89618),d=s(86498),c=s(67914),u=s(43564),m=e=>{let{activeTab:t,setActiveTab:s}=e;return(0,n.jsxs)(u.default,{className:"border rounded-md",spacing:"none",children:[(0,n.jsxs)(g,{isActive:"EMAIL"===t,onClick:()=>s("EMAIL"),spacing:"xs",alignItems:"center",children:[(0,n.jsx)(d.M,{}),(0,n.jsx)(a.FormattedMessage,{defaultMessage:"E-mail",id:"tkwCac"})]}),(0,n.jsxs)(g,{isActive:"PHONE"===t,onClick:()=>s("PHONE"),spacing:"xs",alignItems:"center",children:[(0,n.jsx)(c.L,{}),(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Phone",id:"O95R3Z"})]})]})};let g=(0,o.ZP)(u.default).withConfig({componentId:"sc-c733a595-0"})(["width:50%;justify-content:center;padding:10px;cursor:pointer;",""],e=>{let{isActive:t}=e;return t&&(0,o.iv)(["color:",";background-color:","33;"],e=>{let{theme:t}=e;return t.colors.primary},e=>{let{theme:t}=e;return t.colors.primary})});var x=s(58020),h=s(55425),p=s(26267),f=s(32157),j=s(83137),v=e=>{let{activeTab:t,setActiveTab:s,onSubmit:o,isError:d,setIsError:c,focusOnError:g}=e,v=(0,a.useIntl)();return(0,n.jsx)(r.l0,{onSubmit:o,validate:e=>w(e,t),decorators:[g],render:e=>{let{handleSubmit:o,submitting:g}=e;return(0,n.jsx)("form",{onSubmit:o,children:(0,n.jsxs)(u.default,{column:!0,spacing:"xl",children:[(0,n.jsx)("p",{className:"m-0 text-2xl text-gray-900 font-semibold text-center",children:(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Sign-in to your account",id:"AD4Lep"})}),(0,n.jsx)(m,{activeTab:t,setActiveTab:s}),(0,n.jsxs)(u.default,{column:!0,alignItems:"start",fullWidth:!0,children:[t===x.p.EMAIL&&(0,n.jsxs)("label",{className:" text-sm font-medium w-full",children:[(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Email",id:"sy+pv5"}),(0,n.jsx)(r.gN,{name:"email",children:e=>{let{input:t,meta:{error:s,touched:a}}=e;return(0,n.jsxs)("div",{className:"mt-1.5",children:[(0,n.jsx)(h.Z,{...t,type:"email",autoComplete:"email",className:s&&a||d?"invalid":"",onChange:e=>{c(!1),t.onChange(e)},placeholder:v.formatMessage({defaultMessage:"Enter your email",id:"5MDGuM"})}),s&&a&&(0,n.jsx)(f.Ed,{children:s})]})}})]}),t===x.p.PHONE&&(0,n.jsxs)("label",{className:" text-sm font-medium w-full",children:[(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Phone no.",id:"1SphRN"}),(0,n.jsx)(r.gN,{name:"phone",children:e=>(0,n.jsx)(l.Z,{...e,className:d?"invalid":"",onChange:t=>{c(!1),e.input.onChange(t)}})})]}),(0,n.jsx)(u.default,{column:!0,alignItems:"flex-end",fullWidth:!0,children:(0,n.jsxs)("label",{className:"w-full  text-sm font-medium",children:[(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Password",id:"5sg7KC"}),(0,n.jsx)(r.gN,{name:"password",children:e=>{let{input:t,meta:{error:s,touched:r}}=e;return(0,n.jsxs)("div",{className:"mt-1.5 w-full",children:[(0,n.jsx)(h.Z,{...t,width:"100%",type:"password",autoComplete:"current-password",className:s&&r||d?"invalid":"",onChange:e=>{c(!1),t.onChange(e)},placeholder:"••••••••"}),s&&r&&(0,n.jsx)(f.Ed,{children:s}),d&&(0,n.jsx)(f.Ed,{children:(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Invalid credentials",id:"M77Nuo"})})]})}})]})}),(0,n.jsx)(i.PrimaryButton,{compact:!0,reversed:!0,className:"!font-normal",children:(0,n.jsx)(j.rU,{href:"/reset-password",children:(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Forgot password?",id:"V/JHlm"})})})]}),(0,n.jsx)(i.PrimaryButton,{type:"submit",fullWidth:!0,isLoading:g,children:(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Login",i
1d:"AyGauy"})}),(0,n.jsxs)(u.default,{alignItems:"center",children:[(0,n.jsx)(u.default,{width:"30px",height:"30px",className:"bg-black/20 rounded-full",alignItems:"center",justifyContent:"center",children:(0,n.jsx)(p.U,{})}),(0,n.jsxs)(u.default,{column:!0,spacing:"none",children:[(0,n.jsx)("span",{children:(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Don't Have an Account?",id:"kXiqHd"})}),(0,n.jsx)(i.PrimaryButton,{type:"button",style:{justifyContent:"start"},compact:!0,reversed:!0,children:(0,n.jsx)(j.rU,{href:"/registration",children:(0,n.jsx)("span",{className:"font-bold",children:(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Sign Up with E-mail",id:"4IIHHT"})})})})]})]})]})})}})};let w=(e,t)=>{var s,r,i;let l={};return t!==x.p.EMAIL||(null==e?void 0:null===(s=e.email)||void 0===s?void 0:s.trim())&&(null==e?void 0:null===(r=e.email)||void 0===r?void 0:r.match(/^([a-zA-Z0-9_.-])+@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/))||(l.email=(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Please enter a valid email address",id:"oLpv29"})),t!==x.p.PHONE||(null==e?void 0:null===(i=e.phone)||void 0===i?void 0:i.isValid)||(l.phone=(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Please enter a valid phone number",id:"FPcbu0"})),(null==e?void 0:e.password)||(l.password=(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Please enter your password",id:"iiYrag"})),l}},32157:function(e,t,s){s.d(t,{Ed:function(){return i.Ed},OY:function(){return w},PP:function(){return d},Pt:function(){return f},Ry:function(){return m},W2:function(){return o},X6:function(){return h},bF:function(){return u},fu:function(){return v},go:function(){return c},kI:function(){return j},oH:function(){return p},t:function(){return g},vU:function(){return x},wI:function(){return l}});var n=s(89618),a=s(34845),r=s(24889),i=s(24380);let l=n.ZP.div.withConfig({componentId:"sc-c70a16c1-0"})(["color:rgba(0,0,0,0.5);text-align:center;font-weight:400;letter-spacing:-0.2px;max-width:500px;"]),o=n.ZP.div.withConfig({componentId:"sc-c70a16c1-1"})(["display:flex;justify-content:center;align-items:center;flex-direction:column;"]),d=(0,n.ZP)(a.Ht).withConfig({componentId:"sc-c70a16c1-2"})(["gap:30px;max-width:unset;align-items:stretch;@media (min-width:1024px){flex:1 1 50%;flex-direction:",";max-width:80%;}"],e=>{let{isColumn:t}=e;return t?"column":"row"}),c=(0,n.ZP)(a.Ht).withConfig({componentId:"sc-c70a16c1-3"})(["display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:42px;"]),u=n.ZP.span.withConfig({componentId:"sc-c70a16c1-4"})(["font-size:12px;font-weight:600;letter-spacing:0.2px;text-transform:uppercase;"]),m=n.ZP.span.withConfig({componentId:"sc-c70a16c1-5"})(["color:#fff;font-size:16px;font-weight:500;letter-spacing:-0.1px;word-break:break-word;"]),g=(0,n.ZP)(a.Ht).withConfig({componentId:"sc-c70a16c1-6"})(["width:100%;@media (min-width:1024px){flex:1 1 50%;}"]),x=(0,n.ZP)(a.Ht).withConfig({componentId:"sc-c70a16c1-7"})(["width:100%;gap:20px;margin-top:20px;text-align:center;align-items:center;justify-content:center;svg{color:#fff;}"]),h=(0,n.ZP)(a.Ht).withConfig({componentId:"sc-c70a16c1-8"})(["flex:1 1 50%;margin-top:1.5rem;background-color:black;color:white;justify-content:center;align-items:start;border-radius:10px;padding:20px 40px;@media (min-width:1024px){margin-top:2.4rem;}svg{min-width:24px;min-height:24px;}"]),p=(0,n.ZP)(a.Ht).withConfig({componentId:"sc-c70a16c1-9"})(["width:100%;"]),f=(0,n.ZP)(a.gq).withConfig({componentId:"sc-c70a16c1-10"})(["align-items:flex-start;margin-bottom:59px;&:nth-child(3){margin-bottom:0;}"]),j=(0,n.ZP)(a.Ht).withConfig({componentId:"sc-c70a16c1-11"})(["",":10px;h3{margin:5px 0 0;}"],(0,r.b)("margin-right","margin-left")),v=n.ZP.hr.withConfig({componentId:"sc-c70a16c1-12"})(["width:100%;border:1px solid white;margin:30px 0 0;"]),w=(0,n.ZP)(a.H2).withConfig({componentId:"sc-c70a16c1-13"})(["font-size:16px;font-weight:bold;line-height:1.38;color:white;"])},47876:function(e,t,s){s.d(t,{Z:function(){return v}});var n=s(57437),a=s(66373),r=s(72251),i=s(71770),l=s(96103);s(2265);var o=s(89618),d=s(86498),c=s(67914),u=s(43564),m=e=>{let{activeTab:t,setActiveTab:s}=e;return(0,n.jsxs)(u.default,{className:"border rounded-md",spacing:"none",children:[(0,n.jsxs)(g,{isActive:"EMAIL"===t,onClick:()=>s("EMAIL"),spacing:"xs",alignItems:"center",children:[(0,n.jsx)(d.M,{}),(0,n.jsx)(a.FormattedMessage,{defaultMessage:"E-mail",id:"tkwCac"})]}),(0,n.jsxs)(g,{isActive:"PHONE"===t,onClick:()=>s("PHONE"),spacing:"xs",alignItems:"center",children:[(0,n.jsx)(c.L,{}),(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Phone",id:"O95R3Z"})]})]})};let g=(0,o.ZP)(u.default).withConfig({componentId:"sc-c733a595-0"})(["width:50%;justify-content:center;padding:10px;cursor:pointer;",""],e=>{let{isActive:t}=e;return t&&(0,o.iv)(["color:",";background-color:","33;"],e=>{let{theme:t}=e;return t.colors.primary},e=>{let{theme:t}=e;return t.colors.primary})});var x=s(58020),h=s(55425),p=s(26267),f=s(32157),j=s(83137),v=e=>{let{activeTab:t,setActiveTab:s,onSubmit:o,isError:d,setIsError:c,focusOnError:g}=e,v=(0,a.useIntl)();return(0,n.jsx)(r.l0,{onSubmit:o,validate:e=>w(e,t),decorators:[g],render:e=>{let{handleSubmit:o,submitting:g}=e;return(0,n.jsx)("form",{onSubmit:o,children:(0,n.jsxs)(u.default,{column:!0,spacing:"xl",children:[(0,n.jsx)("p",{className:"m-0 text-2xl text-gray-900 font-semibold text-center",children:(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Sign-in to your account",id:"AD4Lep"})}),(0,n.jsx)(m,{activeTab:t,setActiveTab:s}),(0,n.jsxs)(u.default,{column:!0,alignItems:"start",fullWidth:!0,children:[t===x.p.EMAIL&&(0,n.jsxs)("label",{className:" text-sm font-medium w-full",children:[(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Email",id:"sy+pv5"}),(0,n.jsx)(r.gN,{name:"email",children:e=>
1{let{input:t,meta:{error:s,touched:a}}=e;return(0,n.jsxs)("div",{className:"mt-1.5",children:[(0,n.jsx)(h.Z,{...t,type:"email",autoComplete:"email",className:s&&a||d?"invalid":"",onChange:e=>{c(!1),t.onChange(e)},placeholder:v.formatMessage({defaultMessage:"Enter your email",id:"5MDGuM"})}),s&&a&&(0,n.jsx)(f.Ed,{children:s})]})}})]}),t===x.p.PHONE&&(0,n.jsxs)("label",{className:" text-sm font-medium w-full",children:[(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Phone no.",id:"1SphRN"}),(0,n.jsx)(r.gN,{name:"phone",children:e=>(0,n.jsx)(l.Z,{...e,className:d?"invalid":"",onChange:t=>{c(!1),e.input.onChange(t)}})})]}),(0,n.jsx)(u.default,{column:!0,alignItems:"flex-end",fullWidth:!0,children:(0,n.jsxs)("label",{className:"w-full  text-sm font-medium",children:[(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Password",id:"5sg7KC"}),(0,n.jsx)(r.gN,{name:"password",children:e=>{let{input:t,meta:{error:s,touched:r}}=e;return(0,n.jsxs)("div",{className:"mt-1.5 w-full",children:[(0,n.jsx)(h.Z,{...t,width:"100%",type:"password",autoComplete:"current-password",className:s&&r||d?"invalid":"",onChange:e=>{c(!1),t.onChange(e)},placeholder:"••••••••"}),s&&r&&(0,n.jsx)(f.Ed,{children:s}),d&&(0,n.jsx)(f.Ed,{children:(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Invalid credentials",id:"M77Nuo"})})]})}})]})}),(0,n.jsx)(i.PrimaryButton,{compact:!0,reversed:!0,className:"!font-normal",children:(0,n.jsx)(j.rU,{href:"/reset-password",children:(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Forgot password?",id:"V/JHlm"})})})]}),(0,n.jsx)(i.PrimaryButton,{type:"submit",fullWidth:!0,isLoading:g,children:(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Login",id:"AyGauy"})}),(0,n.jsxs)(u.default,{alignItems:"center",children:[(0,n.jsx)(u.default,{width:"30px",height:"30px",className:"bg-black/20 rounded-full",alignItems:"center",justifyContent:"center",children:(0,n.jsx)(p.U,{})}),(0,n.jsxs)(u.default,{column:!0,spacing:"none",children:[(0,n.jsx)("span",{children:(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Don't Have an Account?",id:"kXiqHd"})}),(0,n.jsx)(i.PrimaryButton,{type:"button",style:{justifyContent:"start"},compact:!0,reversed:!0,children:(0,n.jsx)(j.rU,{href:"/registration",children:(0,n.jsx)("span",{className:"font-bold",children:(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Sign Up with E-mail",id:"4IIHHT"})})})})]})]})]})})}})};let w=(e,t)=>{var s,r,i;let l={};return t!==x.p.EMAIL||(null==e?void 0:null===(s=e.email)||void 0===s?void 0:s.trim())&&(null==e?void 0:null===(r=e.email)||void 0===r?void 0:r.match(/^([a-zA-Z0-9_.-])+@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/))||(l.email=(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Please enter a valid email address",id:"oLpv29"})),t!==x.p.PHONE||(null==e?void 0:null===(i=e.phone)||void 0===i?void 0:i.isValid)||(l.phone=(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Please enter a valid phone number",id:"FPcbu0"})),(null==e?void 0:e.password)||(l.password=(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Please enter your password",id:"iiYrag"})),l}},76586:function(e,t,s){var n=s(57437),a=s(66373),r=s(72251),i=s(85940),l=s(71770),o=s(91486),d=s(86498),c=s(96103),u=s(54961),m=s(58020),g=s(43564),x=s(55425),h=s(83137);t.Z=e=>{let{activeTab:t,setActiveTab:s,onSubmit:f,isError:j,setIsError:v,focusOnError:w}=e,M=(0,a.useIntl)(),C=(0,h.lr)();return(0,n.jsx)(r.l0,{onSubmit:f,validate:e=>p(e,t),decorators:[w],render:e=>{let{handleSubmit:p,submitting:f}=e;return(0,n.jsx)("form",{onSubmit:p,children:(0,n.jsxs)(g.default,{column:!0,spacing:"xl",children:[(0,n.jsxs)(g.default,{column:!0,alignItems:"center",justifyContent:"center",spacing:"s",children:[(0,n.jsx)("h1",{className:"m-0 text-gray-900 font-semibold",children:(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Sign-in to your account",id:"AD4Lep"})}),(0,n.jsx)("h3",{className:"text-gray-600 text-base font-normal m-0 text-center",children:(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Welcome back! Please enter your details.",id:"mvJYlv"})})]}),(0,n.jsx)(u.Z,{activeTab:t,setActiveTab:s}),t===m.p.EMAIL&&(0,n.jsxs)("label",{className:"text-gray-600 text-sm font-medium",children:[(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Email",id:"sy+pv5"}),(0,n.jsx)(r.gN,{name:"email",children:e=>
1{let{input:t,meta:{error:s,touched:a}}=e;return(0,n.jsxs)("div",{className:"mt-1.5",children:[(0,n.jsx)(x.Z,{...t,type:"email",autoComplete:"email",prefix:(0,n.jsx)(d.M,{}),className:s&&a||j?"invalid":"",onChange:e=>{v(!1),t.onChange(e)},placeholder:M.formatMessage({defaultMessage:"Enter your email",id:"5MDGuM"})}),s&&a&&(0,n.jsx)(i.E,{children:s})]})}})]}),t===m.p.PHONE&&(0,n.jsxs)("label",{className:"text-gray-600 text-sm font-medium",children:[(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Phone no.",id:"1SphRN"}),(0,n.jsx)(r.gN,{name:"phone",children:e=>(0,n.jsx)(c.Z,{...e,className:j?"invalid":"",onChange:t=>{v(!1),e.input.onChange(t)}})})]}),(0,n.jsxs)(g.default,{column:!0,alignItems:"flex-end",children:[(0,n.jsxs)("label",{className:"w-full text-gray-600 text-sm font-medium",children:[(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Password",id:"5sg7KC"}),(0,n.jsx)(r.gN,{name:"password",children:e=>{let{input:t,meta:{error:s,touched:r}}=e;return(0,n.jsxs)("div",{className:"mt-1.5",children:[(0,n.jsx)(x.Z,{...t,type:"password",autoComplete:"current-password",prefix:(0,n.jsx)(o.H,{}),className:s&&r||j?"invalid":"",onChange:e=>{v(!1),t.onChange(e)},placeholder:"••••••••"}),s&&r&&(0,n.jsx)(i.E,{children:s}),j&&(0,n.jsx)(i.E,{children:(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Invalid credentials",id:"M77Nuo"})})]})}})]}),(0,n.jsx)(l.PrimaryButton,{compact:!0,reversed:!0,children:(0,n.jsx)(h.rU,{href:"/reset-password",children:(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Forgot password?",id:"V/JHlm"})})})]}),(0,n.jsx)(l.PrimaryButton,{type:"submit",fullWidth:!0,isLoading:f,rounded:!0,children:(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Login",id:"AyGauy"})}),(0,n.jsxs)(g.default,{justifyContent:"center",spacing:"xs",children:[(0,n.jsx)("div",{className:"text-gray-600 text-sm whitespace-nowrap",children:(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Don't Have an Account?",id:"kXiqHd"})}),(0,n.jsx)(l.PrimaryButton,{compact:!0,reversed:!0,children:(0,n.jsx)(h.rU,{href:"/registration?".concat(C.toString()),children:(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Create Account",id:"5JcXdV"})})})]})]})})}})};let p=(e,t)=>{var s,r,i;let l={};return t!==m.p.EMAIL||(null==e?void 0:null===(s=e.email)||void 0===s?void 0:s.trim())&&(null==e?void 0:null===(r=e.email)||void 0===r?void 0:r.match(/^([a-zA-Z0-9_.-])+@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/))||(l.email=(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Please enter a valid email address",id:"oLpv29"})),t!==m.p.PHONE||(null==e?void 0:null===(i=e.phone)||void 0===i?void 0:i.isValid)||(l.phone=(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Please enter a valid phone number",id:"FPcbu0"})),(null==e?void 0:e.password)||(l.password=(0,n.jsx)(a.FormattedMessage,{defaultMessage:"Please enter your password",id:"iiYrag"})),l}},85940:function(e,t,s){s.d(t,{E:function(){return i.Ed},e:function(){return l}});var n=s(89618),a=s(34845),r=s(65177),i=s(24380);let l=(0,n.ZP)(a.H3).withConfig({componentId:"sc-3f92850a-0"})(["color:",";"],(0,r.E)("primary"))}}]);
2//# sourceMappingURL=6114-dca50fa78cda1a9d.js.map

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.