PageSourceSearch

https://www.codedex.io/_next/static/chunks/pages/forgot-0ddec206eeda5f52.js

js codedex.io collected 2026-10-03 20:13:59 UTC 9,260 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8625],{35391:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/forgot",function(){return t(17844)}])},5478:function(n,e,t){"use strict";var r=t(82729),i=t(85893),o=t(19521),l=t(41664),s=t.n(l),a=t(609),c=t(9473);function _templateObject(){let n=(0,r._)(["\n  padding: 16px;\n  border-radius: 4px;\n  display: flex;\n  align-items: center;\n  gap: 16px;\n\n  p,\n  span {\n    margin: 0px;\n  }\n\n  p {\n    color: ",';\n    font-family: "Mulish", sans-serif;\n    font-size: 16px;\n    font-style: normal;\n    font-weight: 500;\n    line-height: 150%;\n  }\n\n  span {\n    font-style: normal;\n    font-weight: 700;\n    line-height: 150%;\n    text-decoration-line: underline;\n    text-decoration-thickness: 1px;\n    text-underline-offset: 2px;\n  }\n']);return _templateObject=function(){return n},n}let d=o.default.div.withConfig({componentId:"sc-7c74cba6-0"})(_templateObject(),n=>{let{theme:e}=n;return e.mode,e.colors.palette.grey["950"]});e.Z=function(n){let{type:e,includeLink:t="",textContent:r}=n;(0,c.v9)(a.o4);let o={error:(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",children:[(0,i.jsx)("rect",{width:"2",height:"2",transform:"matrix(1 0 0 -1 11.5 9)",fill:"#F43F5E"}),(0,i.jsx)("rect",{width:"2",height:"6",transform:"matrix(1 0 0 -1 11.5 17)",fill:"#F43F5E"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.5 3H7.5V5H5.5V7H3.5V17H5.5V19H7.5V21H17.5V19H19.5V17H21.5V7H19.5V5H17.5V3ZM17.5 5V7H19.5V17H17.5V19H7.5V17H5.5V7H7.5V5H17.5Z",fill:"#F43F5E"})]}),success:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 6H20V8H18V6ZM16 10V8H18V10H16ZM14 12V10H16V12H14ZM12 14H14V12H12V14ZM10 16H12V14H10V16ZM8 16V18H10V16H8ZM6 14H8V16H6V14ZM6 14H4V12H6V14Z",fill:"#84CC16"})})},l={error:{border:"#FECDD3",background:"#FFF1F2",textAccent:"#020617"},success:{border:"#D9F99D",background:"#F7FEE7",textAccent:"#020617"}}[e];return(0,i.jsxs)(d,{"data-aos":"fade-down","data-aos-duration":"400",style:{border:"2px solid ".concat(l.border),backgroundColor:l.background},className:"alert-bar",children:[(0,i.jsx)("div",{className:"icon",children:o[e]}),(0,i.jsxs)("p",{children:[r," ",t&&(0,i.jsx)(s(),{href:t,style:{all:"unset"},target:"_blank",children:(0,i.jsx)("span",{style:{color:l.textAccent},className:"nes-pointer",children:"View submission"})})]})]})}},86417:function(n,e,t){"use strict";var r=t(82729),i=t(85893),o=t(19521),l=t(3649),s=t(83782),a=t(67294);function _templateObject(){let n=(0,r._)(['\n  display: flex;\n  flex-direction: column;\n  gap: 8px;\n\n  .input-pixel-border {\n    padding: 12px 16px;\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    gap: 8px;\n\n    background-color: #f8fafc;\n\n    input {\n      outline: none;\n      border: none;\n      background: none;\n      padding: 0px;\n      margin: 0px;\n      box-shadow: none;\n      flex: 1;\n\n      color: #020617;\n      font-family: "Mulish", sans-serif;\n\n      font-size: 16px;\n      font-style: normal;\n      font-weight: 500;\n      line-height: 150%;\n\n      ::placeholder {\n        color: #64748b;\n      }\n    }\n  }\n\n  .error {\n    font-family: "Mulish", sans-serif;\n    margin: 0px;\n    display: flex;\n    align-items: center;\n    gap: 8px;\n    font-size: 14px;\n  }\n']);return _templateObject=function(){return n},n}let c=o.default.div.withConfig({componentId:"sc-92f50055-0"})(_templateObject());e.Z=function(n){let{borderColor:e="94A3B8",placeholder:t="Placeholder text",type:r="text",register:o=null,error:d=null,icon:u=null,iconAction:p=()=>{}}=n,[f,x]=(0,a.useState)(!1),g={critical:{borderColor:"F43F5E",textColor:"#9F1239",icon:(0,i.jsx)(s.Z,{})}},m=d&&g[null==d?void 0:d.type],h=m?m.borderColor:f?"14ADFF":e;return(0,i.jsxs)(c,{children:[(0,i.jsxs)(l.Z,{borderColor:h,className:"input-pixel-border",children:[(0,i.jsx)("input",{placeholder:t,type:r,...o,onFocus:function(){return x(!0)},onBlur:function(){return x(!1)}}),u&&(0,i.jsx)("span",{onClick:()=>p(),className:"nes-pointer",children:u})]}),d&&(0,i.jsxs)("p",{className:"error",style:{color:m.textColor},children:[m.icon,d.message]})]})}},78128:function(n,e,t){"use strict";var r=t(82729),i=t(85893),o=t(19521);
1function _templateObject(){let n=(0,r._)(["\n  background-repeat: no-repeat;\n  background-size: cover;\n  height: 100vh;\n\n  .top-layer {\n    width: inherit;\n    height: inherit;\n    display: flex;\n    justify-content: center;\n\n    background-repeat: no-repeat;\n    background-size: cover;\n\n    padding: 0rem 1rem;\n\n    "," {\n      padding-top: calc(3.8rem + 24px);\n    }\n\n    "," {\n      padding-top: calc(3.8rem + 48px);\n    }\n\n    .container {\n      display: flex;\n      flex-direction: column;\n      gap: 24px;\n      width: 485px;\n\n      ",' {\n        .computer-message {\n          display: none;\n        }\n\n        .page-title {\n          display: inline-block;\n          margin: 0px;\n          font-family: "Mulish", sans-serif;\n          color: #fff;\n          text-align: center;\n          font-size: 24px;\n          font-style: normal;\n          font-weight: 700;\n          line-height: 150%;\n        }\n      }\n\n      '," {\n        .computer-message {\n          display: flex;\n        }\n\n        .page-title {\n          display: none;\n        }\n      }\n    }\n  }\n"]);return _templateObject=function(){return n},n}let l=o.default.div.withConfig({componentId:"sc-59daa345-0"})(_templateObject(),n=>{let{theme:e}=n;return e.breakpoints.xs},n=>{let{theme:e}=n;return e.breakpoints.sm},n=>{let{theme:e}=n;return e.breakpoints.xs},n=>{let{theme:e}=n;return e.breakpoints.sm});e.Z=function(n){let{isDark:e,children:t,style:r={}}=n;return(0,i.jsx)(l,{style:r,children:(0,i.jsx)("div",{className:"top-layer",style:{backgroundImage:e?'url("/images/login-signup/sky-stars.png")':"none"},children:t})})}},17844:function(n,e,t){"use strict";t.r(e),t.d(e,{default:function(){return forgot}});var r=t(85893),i=t(67294),o=t(11163),l=t(9473),s=t(99428),a=t(82729),c=t(19521),d=t(43910),u=t(87536),p=t(92369),f=t(20759),x=t(86417),g=t(73857),m=t(17596),h=t(5478);function _templateObject(){let n=(0,a._)(["\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  gap: 32px;\n\n  .alert-bar {\n    "," {\n      width: calc(100% - 1rem);\n    }\n\n    ",' {\n      width: 850px;\n    }\n  }\n\n  .inner-container {\n    display: flex;\n    flex-direction: column;\n    gap: 24px;\n    width: 409px;\n    max-width: 100%;\n  }\n\n  .pixel-border {\n    padding: 32px;\n    background-color: #fff;\n\n    height: fit-content;\n\n    form {\n      display: flex;\n      flex-direction: column;\n      gap: 24px;\n    }\n\n    .fields {\n      display: flex;\n      flex-direction: column;\n      gap: 12px;\n\n      p {\n        margin: 0px;\n        color: #020617;\n        font-family: "Mulish", sans-serif;\n\n        font-size: 16px;\n        font-style: normal;\n        font-weight: 700;\n        line-height: 150%;\n      }\n    }\n  }\n']);return _templateObject=function(){return n},n}t(20927);let b=c.default.div.withConfig({componentId:"sc-e184553c-0"})(_templateObject(),n=>{let{theme:e}=n;return e.breakpoints.xs},n=>{let{theme:e}=n;return e.breakpoints.sm});var atoms_RequestPasswordReset=function(){let{register:n,handleSubmit:e,formState:{errors:t}}=(0,u.cI)(),l=(0,o.useRouter)(),[s,a]=(0,i.useState)(!1),[c,j]=(0,i.useState)(""),y=(0,i.useCallback)(async n=>{let{email:e}=n;if(a(!0),j(e),!s){let{auth:n}=(0,p.UM)();await (0,d.LS)(n,e),a(!0),setTimeout(a,1e4,!1),setTimeout(()=>l.push("/login"),15e3)}},[l,s]);return(0,r.jsxs)(b,{children:[s&&(0,r.jsx)(h.Z,{textContent:"Check your email! We sent a password reset link to ".concat(c,". Please wait up to 5 minutes for it to send and make sure to check your spam!"),type:"success"}),(0,r.jsxs)("div",{className:"inner-container",children:[(0,r.jsx)(m.Z,{text:"Forgot your password?",lightModeOnly:!0}),(0,r.jsx)(f.Z,{borderColor:"CBD5E1",className:"pixel-border",children:(0,r.jsxs)("form",{onSubmit:e(y),children:[(0,r.jsxs)("div",{className:"fields",children:[(0,r.jsx)("p",{children:"Enter the email used for your account"}),(0,r.jsx)(x.Z,{placeholder:"Email",register:{...n("email",{required:!0,pattern:/^\S+@\S+$/i})}})]}),(0,r.jsx)(g.Z,{type:"submit",children:"Reset password"})]})})]})]})},j=t(78128),y=t(609),w=t(2711),k=t.n(w),forgot=function(){let n=(0,o.useRouter)(),e=(0,l.v9)(y.ot),t=(0,l.v9)(y.o4)||"dark",a="dark"===t;return(0,i.useEffect)(function(){e&&n.push("/home")},[n,e]),(0,i.useEffect)(()=>{k().init({mirror:!1,disable:"mobile",once:!0})},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.Z,{}),(0,r.jsx)(j.Z,{isDark:a,style:{backgroundImage:a?"url(/images/login-signup/dark-cloud.png), linear-gradient(180deg, #030721, #050b4b)":"url(/images/login-signup/light-clouds.png), linear-gradient(180deg, #B6E4FF 0%, #DEF1FF 100%)"},children:(0,r.jsx)(atoms_RequestPasswordReset,{})})]})}}},function(n){n.O(0,[1272,8700,4153,1622,9280,7536,9428,9774,2888,179],function(){return n(n.s=35391)}),_N_E=n.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.