1"use strict";(self.webpackChunkinsight_timer=self.webpackChunkinsight_timer||[]).push([[1991,5982],{23027:(e,t,i)=>{i.d(t,{A:()=>l});var a=i(97141),n=i(83395),s=i(6547),r=i(78160),o=(i(95254),i(64582));const d=(0,a.A)(n.A)` 2 outline: 0; 3 font-family: ProximaNova; 4 font-weight: 600; 5 background-color: rgba(26, 26, 26, 1); 6 color: white !important; 7 text-transform: none; 8 width: 100%; 9 text-transform: normal-case; 10 height: 44px; 11 :hover { 12 background-color: rgba(26, 26, 26, 0.75); 13 } 14 :disabled { 15 background-color: rgba(26, 26, 26, 0.6); 16 } 17`,l=e=>{let{children:t,isSubmitting:i,disabled:a}=e;return(0,o.jsx)(r.Ay,{injectFirst:!0,children:(0,o.jsx)(d,{type:"submit",disabled:i||a,children:i?(0,o.jsx)(s.A,{size:24,color:"inherit"}):(0,o.jsxs)("span",{children:[" ",t]})})})}},37652:(e,t,i)=>{i.d(t,{A:()=>o});var a=i(97141),n=i(15328),s=(i(95254),i(64582));const r=(0,a.A)(n.A)` 18 width: 100%; 19 line-height: 44px; 20 .MuiInputBase-input, 21 .MuiInputBase-input.MuiInputBase-inputAdornedEnd { 22 width: 100%; 23 line-height: 16px; 24 border-radius: 4px; 25 border: solid 1px #ebebeb; 26 outline: 0; 27 padding-top: 13px; 28 padding-bottom: 13px; 29 padding-left: 12px; 30 padding-right: ${e=>e.paddingRight||12}px; 31 font-size: 15px; 32 color: ${e=>e.disabled?"#ebebeb":"black"}; 33 font-family: ProximaNova; 34 } 35 .MuiInputBase-input:focus { 36 outline: 2px solid #181818 !important; 37 } 38 .MuiInputAdornment-positionEnd { 39 margin-left: 0px; 40 } 41 .Mui-error { 42 border: solid 4px red; 43 } 44 .MuiInputBase-input::-webkit-autofill { 45 font-size: 15px !important; 46 } 47 .MuiInputBase-input:-internal-autofill-selected { 48 font-size: 15px !important; 49 -webkit-text-fill-color: ${e=>e.disabled?"grey!important":"black!important"}; 50 } 51 ::placeholder, 52 ::-webkit-input-placeholder { 53 font-family: ProximaNova; 54 font-weight: normal; 55 color: rgb(82, 82, 82, 0.7); 56 } 57`,o=e=>(0,s.jsx)(r,{...e})},55982:(e,t,i)=>{i.r(t),i.d(t,{default:()=>M});var a=i(60559),n=i(37652),s=i(97141);const r=s.A.div` 58 min-height: 90vh; 59 position: relative; 60`,o=s.A.div` 61 text-align: center; 62 max-width: 450px; 63 margin: auto; 64 top: 50%; 65 left: 50%; 66 position: absolute; 67 width: 100%; 68 transform: translate(-50%, -50%); 69`,d=s.A.div` 70 font-size: 16px; 71 font-weight: normal; 72`,l=s.A.div` 73 font-family: ProximaNova; 74 font-size: 16px; 75 line-height: 25px; 76 font-weight: 700; 77`,h=s.A.div` 78 color: green; 79 text-align: left; 80 font-size: 16px; 81 line-height: normal; 82`,p=s.A.div` 83 height: 34px; 84 line-height: 34px; 85 font-weight: normal; 86 font-size: 14px; 87 margin-left: 2px; 88`,c=s.A.div` 89 color: rgba(24, 24, 24, 0.8); 90 text-align: left; 91`,x=s.A.div` 92 color: red; 93 text-align: left; 94 font-size: 16px; 95 line-height: normal; 96`;var u=i(65561),g=i(23027),m=i(67576),f=i(8367),w=i(92284),b=i(61991),A=i(95254);function v(e,t){const[i,a]=(0,A.useState)(),[n,s]=(0,A.useState)(),[r,o]=(0,A.useState)(),[d,l]=(0,A.useState)(),[h,p]=(0,A.useState)();return(0,A.useEffect)((()=>{switch(e){case"resetPassword":t?(0,w.RE)(b.firebaseAuth,t).then((function(e){o(e),a(!0)})).catch((function(e){l(e.message),a(!1)})):(a(!1),l("Reset password code is invalid."));break;case"recoverEmail":case"verifyEmail":break;default:a(!1),l("Reset password mode is invalid.")}}),[]),{email:r,errorMessage:d,success:i,passwordSuccess:n,passwordMessage:h,changePassword:e=>{p(""),(0,w.R4)(b.firebaseAuth,t,e).then((function(){s(!0),p("You can now sign in with your new password")})).catch((function(e){p(e.message),s(!1)}))}}}var j=i(19919),k=i(64582);const M=()=>{const[e,t]=(0,A.useState)(""),i=j.parse(window.location.search),{email:s,errorMessage:w,success:b,passwordSuccess:M,passwordMessage:y,changePassword:S}=v(i.mode,i.oobCode);return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(a.A,{}),(0,k.jsx)(u.A,{children:(0,k.jsx)(r,{children:(0,k.jsxs)(o,{children:[b?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(d,{children:"Reset your password"}),(0,k.jsx)(l,{children:s}),(0,k.jsx)(m.A,{height:40}),(0,k.jsxs)("form",{onSubmit:t=>{t&&t.preventDefault(),S(e)},autoComplete:"off",children:[(0,k.jsx)(n.A,{name:"password",type:"password",disabled:!1,placeholder:"New Password",onChange:e=>t(e.target.value),value:e}),(0,k.jsx)(p,{children:(0,k.jsx)(c,{children:"Minimum 6 characters"})}),(0,k.jsx)(m.A,{height:20}),(0,k.jsx)(g.A,{isSubmitting:!1,children:"Save"}),(0,k.jsx)(m.A,{height:20}),y&&(0,k.jsx)(p,{children:M?(0,k.jsx)(h,{children:y}):(0,k.jsx)(x,{children:y})})]})]}):(0,k.jsx)(k.Fragment,{children:(0,k.jsx)(d,{children:w})}),(0,k.jsx)(m.A,{height:60})]})})}),(0,k.jsx)(f.default,{})]})}},60559:(e,t,i)=>{i.d(t,{A:()=>a});const a=i(97141).A.section` 97 width: 100%; 98 height: 100px; 99 @media (max-width: 1280px) { 100 height: 72px; 101 } 102`},61991:(e,t,i)=>{i.r(t),i.d(t,{default:()=>r,firebaseAuth:()=>s});var a=i(92284),n=i(69033);const s=(0,a.Nu)(n.default,{persistence:[a.F0,a.iM]}),r=s},65561:(e,t,i)=>{i.d(t,{A:()=>a});const a=i(97141).A.section` 103 max-width: ${e=>"small"===e.variant?"1600px":"1800px"}; 104 margin: auto; 105 width: 100%; 106 padding-left: 64px; 107 padding-right: 64px; 108 @media (max-width: 1681px) { 109 max-width: ${e=>"small"===e.variant?"1396px":"1600px"}; 110 padding-left: 40px; 111 padding-right: 40px; 112 } 113 @media (max-width: 600px) { 114 padding-left: 13px; 115 padding-right: 13px; 116 } 117`},67576:(e,t,i)=>{i.d(t,{A:()=>s});var a=i(4021),n=(i(95254),i(64582));const s=e=>{let{height:t}=e;return(0,n.jsx)(a.a,{height:Array.isArray(t)?t.map((e=>`${e}px`)):`${t}px`})}}}]); 118//# sourceMappingURL=5982.7c6dc162.chunk.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.