PageSourceSearch

https://www.hedefashionoutlet.se/_next/static/chunks/pages/account/forgot-password-9ff401afd466b3a4.js

js hedefashionoutlet.se collected 2026-09-24 12:54:57 UTC 4,759 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8917],{25675:(e,t,i)=>{"use strict";i.d(t,{Y:()=>p});var l=i(2860),n=i(79353),r=i(76382),a=i(79861),s=i(20893),o=i(25702),d=i(21024),c=i(40374),u=i(31275),m=i(56843),h=i(4097);let p=e=>{let{trumpet:t,title:i,use_small_title:p,rich_text:_,use_small_rich_text:b,first_button:f,second_button:g,isCorporate:v,isBanner:Y=!1,topSpacing:y={base:"space-24",md:"space-32"}}=e,w=(0,d.A)(e=>e.hasCampaignStyling),x=(0,d.A)(e=>e.campaignPageTextColor),{ref:S,controls:E}=(0,c.p7)(),C=w?x:"text";return(0,l.FD)(n.az,{ref:S,children:[!!t&&(0,l.Y)(m.Om,{variant:"label",color:C,...(0,c.y9)({animate:E,duration:1,delay:0}),children:t}),!!i&&(0,l.Y)(m.xB,{as:"h2",sx:{textWrap:"balance"},size:p?"h5":"h4",mt:{base:"space-8",md:"space-16"},...(0,c.y9)({animate:E,duration:1,delay:.1}),color:Y?"text-reverse":null!=C?C:"text",children:i}),!!_&&(0,l.Y)(m.e_,{mt:y,sx:{"p, h1, h2, h3, h4, h5, h6, a, strong, i, b, u":{color:Y?"white":null!=C?C:"text"}},...(0,c.y9)({animate:E,duration:1,delay:.2}),children:(0,l.Y)(h.sD,{json:_.json,rootProps:{css:{fontSize:b?"0.875rem":"1rem",lineHeight:b?1.43:1.625,["@media (min-width: ".concat(s.w.breakpoints["3xl"],")")]:{fontSize:b?"1rem":"1.125rem",lineHeight:b?1.625:1.67}}},embeddedItems:null==_?void 0:_.embedded_itemsConnection,customAttributes:{a:{marginBottom:"space-0"},underline:{color:"inherit"}}})}),(!!f||!!g)&&(0,l.FD)(r.s,{direction:{base:"column",md:"row"},mt:{base:"space-24",md:"space-32"},children:[!!(null==f?void 0:f.title)&&!!f.href&&(0,l.Y)(m.e_,{...(0,c.PF)({animate:E,duration:1,delay:.3}),mr:{base:0,md:"space-24"},children:(0,l.Y)(a.$,{as:o.rw,href:f.href,variant:v||w?"outline":"primary",borderColor:w?x:"text",color:w?x:"text-reverse",style:{minWidth:v?140:void 0},children:f.title})}),!!(null==g?void 0:g.href)&&!!g.title&&(0,l.Y)(m.e_,{...(0,c.PF)({animate:E,duration:1,delay:.4}),display:"flex",justifyContent:"center",children:(0,l.Y)(u.Y,{href:g.href,color:C,justifySelf:"center",style:{fontWeight:v?500:void 0,fontSize:v?"0.875rem":void 0},children:g.title})})]})]})}},41837:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/forgot-password",function(){return i(89755)}])},89755:(e,t,i)=>{"use strict";i.r(t),i.d(t,{__N_SSP:()=>w,default:()=>x});var l=i(2860),n=i(40043),r=i(79353),a=i(40700),s=i(79861),o=i(25702),d=i(42060),c=i(40138),u=i(59030),m=i(21941);let h=e=>{let t,i,{confirmationMessage:h,errorMessage:p}=e,{setToast:_}=(0,d.d)(),{t:b}=(0,o.Bd)();return(0,l.Y)(r.az,{children:(0,l.Y)(u.l1,{initialValues:{email:""},onSubmit:async(e,t)=>{let{setSubmitting:i}=t,l=await fetch(n.ij["account/forgot-password"],{body:JSON.stringify(e),method:"POST"});i(!1),200===l.status?_({message:h,type:"success"}):_({message:p,type:"error"})},validationSchema:(t=b("account.fieldError.required"),i=b("account.fieldError.invalidEmailAddress"),m.Ik({email:m.Yj().email(i).required(t)})),children:e=>{let{errors:t,handleBlur:i,handleChange:n,handleSubmit:r,isSubmitting:o,touched:d,values:u}=e;return(0,l.FD)("form",{onSubmit:r,children:[(0,l.Y)("input",{name:"csrfToken",type:"hidden"}),(0,l.Y)(a.MJ,{isInvalid:!!(t.email&&d.email),children:(0,l.Y)(c.p,{error:d.email?t.email:"",label:b("account.label.loginEmail"),name:"email",onBlur:i,onChange:n,type:"email",value:u.email})}),(0,l.Y)(s.$,{isLoading:o,mt:"space-48",type:"submit",children:b("account.label.sendEmail")})]})}})})};var p=i(2863),_=i(78851),b=i(81064),f=i(45025),g=i(70191),v=i(4097),Y=i(25675),y=i(51652),w=!0;let x=e=>{var t,i,n,r,a,s,o,d,c;let{page:u,seo:m}=e,w=null==u?void 0:u.description,x=(0,v.V7)(null==u||null==(i=u.description_new)||null==(t=i.rich_text)?void 0:t.json);return(0,l.FD)(l.FK,{children:[(0,l.Y)(y.bV,{...m}),u&&(0,l.Y)(p.m,{mt:{base:"space-112",lg:"space-172"},mb:{base:"space-128",lg:"space-192"},children:(0,l.Y)(_.x,{children:(0,l.FD)(b.E,{colSpan:{base:12,lg:9},colStart:{base:0,lg:1},children:[(0,l.Y)(f.D,{as:"h1",marginBottom:{base:"space-24",lg:"space-48"},size:"h2",children:u.title}),x?(0,l.Y)(Y.Y,{trumpet:null==u||null==(n=u.description_new)?void 0:n.trumpet,title:null==u||null==(r=u.description_new)?void 0:r.title,use_small_title:null==u||null==(a=u.description_new)?void 0:a.use_small_title,rich_text:null==u||null==(s=u.description_new)?void 0:s.rich_text,use_small_rich_text:null==u||null==(o=u.description_new)?void 0:o.use_small_rich_text,first_button:null==u||null==(d=u.description_new)?void 0:d.first_button,second_button:null==u||null==(c=u.description_new)?void 0:c.second_button}):w&&(0,l.Y)(g.E,{marginBottom:{base:"space-32",lg:"space-48"},textStyle:"textM",children:w}),(0,l.Y)(h,{confirmationMessage:u.confirmationMessage,errorMessage:u.errorMessage})]})})})]})}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=41837)),_N_E=e.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.