PageSourceSearch

https://www.helmandkabobi.com/_next/static/chunks/pages/forgot-password-32de862c2b1b0f7c.js

js helmandkabobi.com collected 2026-10-04 09:49:04 UTC 9,050 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[742],{30317:function(r,e,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/forgot-password",function(){return o(34961)}])},34961:function(r,e,o){"use strict";o.r(e),o.d(e,{default:function(){return P}});var t=o(52322),n=o(39097),i=o.n(n),a=o(87749),l=o(63974),c=o(63602),d=o(2784),s=o(56580),u=o(43580),p=o(65413),f=o(5288),h=o(34183),g=o(92122),m=o(97421),x=o(11643),_=o(74115),b=o(36525),v=o(2111),w=o(48994),j=o(23841),y=o(15325);let C=(0,p.Ry)({email:(0,p.Z_)().email(v.xz.EMAIL).required(v.xz.REQUIRED)});function I(){let r=(0,s.useDispatch)(),{loading:e,forgotPasswordConnectionError:o,forgotPasswordSent:n}=(0,s.useSelector)(j.$K),i=(0,d.useRef)(null);return(0,d.useEffect)(()=>{if(n){var r;null===(r=i.current)||void 0===r||r.resetForm()}},[n]),(0,y.h)("forgotPassword"),(0,t.jsx)(c.J9,{innerRef:i,validateOnBlur:!0,validateOnChange:!1,onSubmit:e=>{let{email:o}=e;r(w.Z.forgotPassword(o))},initialValues:{email:""},validationSchema:C,children:r=>{let{dirty:n,isValid:a}=r;return(0,t.jsxs)(g.l,{children:[(0,t.jsx)(_.H,{condition:!!o,children:(0,t.jsx)(x.m,{testId:"forgot-password-connection-error",retryTestId:"forgot-password-connection-retry",retrying:e,onRetry:()=>{var r;null===(r=i.current)||void 0===r||r.submitForm()}})}),(0,t.jsx)(h.Ll,{children:(0,t.jsx)(g.I,{id:"email",name:"email",type:"email",label:"Email",autoFocus:!0})}),(0,t.jsx)(E,{disabled:!n||!a,$submitting:e,type:"submit",$buttonTheme:"secondary",children:(0,t.jsx)(f.Z,{accessor:e?"forgot_password.submit_cta_loading":"forgot_password.submit_cta"})})]})}})}let E=(0,u.ZP)(m.Db).withConfig({componentId:"sc-e34cc232-0"})(["margin-left:","px;@media (max-width:767px){margin:0 auto;}"],b._.GUTTER);var k=o(16162),R=o(55354),Z=o(63125),T=o(90736),z=o(73695),H=o(59706);function P(){let r=(0,z.JR)();return(0,t.jsx)(R.Z,{$backgroundOverride:!0,disabled:!!(0,H.K6)(r,"accounts.disable_accounts"),children:(0,t.jsx)(k.e,{children:(0,t.jsxs)(k.x,{children:[(0,t.jsx)(f.Z,{tag:"h1",accessor:"forgot_password.header",html:!0}),(0,t.jsx)(f.Z,{tag:"h3",accessor:"forgot_password.subheader",html:!0}),(0,t.jsx)(Z.n,{$background:"transparent"}),(0,t.jsx)(I,{}),(0,t.jsx)(Z.n,{}),(0,t.jsxs)("p",{children:[(0,t.jsx)(f.Z,{accessor:"signup.prompt",html:!0}),"\xa0",(0,t.jsx)(i(),{href:T.Z6.SIGN_UP,passHref:!0,onClick:()=>(0,a.O)(l.x.AUTH__CLICK_SIGN_UP),children:(0,t.jsx)(f.Z,{accessor:"signup.cta"})})]})]})})})}},16162:function(r,e,o){"use strict";o.d(e,{e:function(){return a},x:function(){return l}});var t=o(43580),n=o(36525),i=o(46956);let a=t.ZP.div.withConfig({componentId:"sc-ea7b8e07-0"})(["align-items:center;display:flex;flex-direction:column;justify-content:center;min-height:calc(100vh - ","px);@media (max-width:767px){background-color:",";min-height:calc(100vh - ","px);}"],2*n._.HEADERHEIGHT,r=>{let{theme:e}=r;return e.auth_page.background_color},2*n._.MOBILE_HEADERHEIGHT),l=t.ZP.div.withConfig({componentId:"sc-ea7b8e07-1"})(r=>{var e,o,t,a;let{theme:l}=r;return{backgroundColor:null!==(e=l.auth_page.background_color)&&void 0!==e?e:"transparent",border:"1px solid ".concat(null!==(o=l.auth_page.border_color)&&void 0!==o?o:"transparent"),borderRadius:"".concat(null!==(t=l.auth_page.border_radius)&&void 0!==t?t:0,"px"),margin:"0 auto",maxWidth:"".concat(n._.MEDIUM_CONTENT,"px"),padding:"40px 20px",textAlign:"center",width:"100%",...(0,i.l)(l.auth_page.font),h1:{margin:0,...(0,i.l)(l.auth_page.secondary_font)},h3:{...(0,i.l)(l.auth_page.font,["color","font_family","font_size","font_style","line_height"]),fontWeight:"normal",margin:0},p:{margin:"20px 0 0"},a:{textDecoration:"underline",transition:"opacity 0.2s linear",...(0,i.l)(l.auth_page.tertiary_font),"&:hover":{opacity:.7}},"@media (max-width: 767px)":{borderColor:null!==(a=l.auth_page.background_color)&&void 0!==a?a:"transparent"}}})},11643:function(r,e,o){"use strict";o.d(e,{m:function(){return s}});var t=o(52322),n=o(2784),i=o(53237);let a=(0,i.zo)("div",{display:"flex",flexDirection:"column",gap:"8px",padding:"12px 16px",marginBottom:"16px",border:"1px solid var(--connection-error__border-color, #d93025)",borderRadius:"4px",backgroundColor:"var(--connection-error__background-color, #fdecea)",color:"var(--connection-error__color, #5f1414)","@sm":{flexDirection:"row",alignItems:"center",justifyContent:"center"}}),l=(0,i.zo)("p",{margin:"0 !important",fontSize:"14px",lineHeight:"20px",whiteSpace:"pre-line",paddingRight:"12px",paddingLeft:"12px"}),c=(0,i.zo)("button",{padding:"6px 14px",fontSize:"14px",fontWeight:600,color:"var(--connection-error-retry__color, #fff)",backgroundColor:"var(--connection-error-retry__background-color, #d93025)",border:"none",borderRadius:"4px",cursor:"pointer","&:disabled":{opacity:.6,cursor:"not-allowed"},"@sm":{alignSelf:"auto",whiteSpace:"nowrap"}});var d=o(20496);let s=r=>{let{testId:e,retryTestId:o,retrying:i,onRetry:s,message:u=d.Qn}=r,p=(0,n.useRef)(!1),f=(0,n.useRef)(null),h=()=>{p.current=!1,f.current&&(clearTimeout(f.current),f.current=null)};return(0,n.useEffect)(()=>{i||h()},[i]),(0,n.useEffect)(()=>()=>{f.current&&clearTimeout(f.current)},[]),(0,t.jsxs)(a,{role:"alert","data-testid":e,children:[(0,t.jsx)(l,{children:u}),(0,t.jsx)(c,{type:"button","data-testid":o,disabled:i,onClick:()=>{i||p.current||(p.current=!0,f.current=setTimeout(h,1e3),s())},children:i?"Trying again…":"Try again"})]})}},92122:function(r,e,o){"use strict";o.d(e,{l:function(){return s},I:function(){return d}});var t=o(52322),n=o(63602),i=o(2784),a=o(43580);let l=a.ZP.div.attrs({role:"alert",className:"error-message"}).withConfig({componentId:"sc-cda1c741-0"})(["color:",";top:","px;font-size:12px;",""],r=>{let{theme:e}=r;return e.global.error_color},r=>{let{theme:e}=r;return e.forms.field_height},r=>{let{hidden:e}=r;return e&&"\n    display: none;\n  "});var c=o(2569);let d=(0,i.forwardRef)((r,e)=>{let{normalize:o,validate:i,showErrorOnChange:a,...d}=r,[s,{error:u,touched:p},{setValue:f}]=(0,n.U$)({...d,validate:i}),h="checkbox"===d.type;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.I,{ref:e,...s,...d,onChange:e=>{if(h){s.onChange(e);return}let t=e.target.value,n=o?o(t):t;if(f(n),r.onChange){let o={...e,target:{...e.target,value:n}};r.onChange(o)}}}),(p||a)&&u&&(0,t.jsx)(l,{children:u})]})});d.displayName="FormikInput";let s=(0,a.ZP)(n.l0).withConfig({componentId:"sc-f378cad4-0"})(["align-items:start;display:flex;flex-wrap:wrap;justify-content:center;width:100%;"])},2569:function(r,e,o){"use strict";o.d(e,{I:function(){return c}});var t=o(52322),n=o(41969),i=o(2784),a=o(90916),l=o(74115);let c=(0,i.forwardRef)((r,e)=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.H,{condition:!!(null==r?void 0:r.label),children:(0,t.jsx)("label",{htmlFor:r.id,children:r.label})}),(0,t.jsx)(l.H,{condition:!!(!(null==r?void 0:r.label)&&(null==r?void 0:r.label)!==null),children:(0,t.jsx)(n.f,{children:(0,t.jsx)("label",{htmlFor:r.id,children:r.label})})}),(0,t.jsx)(a.F,{ref:e,...r})]}));c.displayName="Input"},90916:function(r,e,o){"use strict";o.d(e,{F:function(){return a}});var t=o(43580),n=o(36525),i=o(46956);let a=t.ZP.input.withConfig({componentId:"sc-44488659-0"})(r=>{var e,o,t;let{theme:a,width:l}=r;return{backgroundColor:null!==(e=a.forms.background_color)&&void 0!==e?e:"transparent",borderRadius:"".concat(null!==(o=a.forms.border_radius)&&void 0!==o?o:0,"px"),border:"1px solid ".concat(null!==(t=a.forms.border_color)&&void 0!==t?t:"transparent"),height:"".concat(a.forms.field_height,"px"),padding:"0 var(--size-3)",width:null!=l?l:"100%",...(0,i.l)(a.forms.font,["color","font_family","font_size"]),"@media (max-width: 767px)":{fontSize:"16px",width:"100%"},"::-webkit-input-placeholder":{color:a.forms.placeholder_color},"::-moz-placeholder":{color:a.forms.placeholder_color},":-ms-input-placeholder":{color:a.forms.placeholder_color},":-moz-placeholder":{color:a.forms.placeholder_color},"&:focus-within":{borderColor:a.global.primary_active_color},"&:disabled":{background:n.DM.LIGHTGRAY,cursor:"not-allowed"}}})},63125:function(r,e,o){"use strict";o.d(e,{n:function(){return i}});var t=o(43580),n=o(36525);let i=t.ZP.hr.withConfig({componentId:"sc-b1115afe-0"})(["background-color:",";display:block;height:1px;border:0;margin:","px 0;padding:0;"],r=>{let{$background:e,theme:o}=r;return e||o.global.primary_border_color},n.jl.MEDIUM)},15325:function(r,e,o){"use strict";o.d(e,{h:function(){return a}});var t=o(2784),n=o(56580),i=o(48994);function a(r){let e=(0,n.useDispatch)();(0,t.useEffect)(()=>{e(i.Z.clearConnectionErrors(r))},[e,r])}},41969:function(r,e,o){"use strict";o.d(e,{f:function(){return a}});var t=o(7896),n=o(2784),i=o(72714);let a=(0,n.forwardRef)((r,e)=>(0,n.createElement)(i.WV.span,(0,t.Z)({},r,{ref:e,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...r.style}})))}},function(r){r.O(0,[688,462,553,270,593,807,354,888,774,179],function(){return r(r.s=30317)}),_N_E=r.O()}]);
2//# sourceMappingURL=forgot-password-32de862c2b1b0f7c.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.