PageSourceSearch

https://www.kuhl.com/_next/static/chunks/pages/impersonate-e29da6ea7a700606.js

js kuhl.com collected 2026-10-02 04:45:29 UTC 3,387 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2759],{76:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/impersonate",function(){return i(25663)}])},25663:(e,t,i)=>{"use strict";i.r(t),i.d(t,{__N_SSP:()=>_,default:()=>w});var n=i(37876);i(14232);var r=i(91408),o=i(48627),a=i(12e3),s=i(5067),l=i(9129),c=i(70496),d=i(81553);let h=async e=>{await d.Ay.post("/me/impersonate/",{email:e})};var u=i(41434),m=i(56701),A=i(16670),p=i(71245),g=i(62574),x=i(15500),b=i(14976),j=i(29438),v=i(74299),y=i(1965);let f={email:""},E=r.Ik().shape({email:r.Yj().email("Please enter a valid e-mail address").required("Required field")}),S=()=>{let e=(()=>{let e=(0,x.A)();return(t,i)=>{e((0,b.z)({message:t,type:i}))}})(),t=async(t,i)=>{i.setSubmitting(!0);try{await h(t.email),window.location.href=y.q.USER_INFO}catch(t){if((0,g.A)(t))return void(0,p.A)(t,i);e("An unexpected error occurred executing the impersonation",j._.ERROR)}finally{i.setSubmitting(!1)}};return(0,n.jsx)(o.l1,{initialValues:f,onSubmit:t,validationSchema:E,children:e=>(0,n.jsx)(o.lV,{onSubmit:e.handleSubmit,children:(0,n.jsxs)(a.A,{spacing:1,sx:{"& .MuiInputLabel-root.MuiInputLabel-formControl":{fontWeight:800,color:v.Q.LegacyGrey3}},children:[(0,n.jsx)(A.A,{name:"email",label:"EMAIL ADDRESS:",placeholder:"Required"}),(0,n.jsx)(c.A,{variant:"contained",type:"submit",color:"secondary",disabled:e.isSubmitting,children:"IMPERSONATE"})]})})})};var _=!0;let w=()=>(0,n.jsxs)(a.A,{children:[(0,n.jsx)(u.A,{title:"IMPERSONATE",img:"/images/pages/impersonate/mountains.jpg",titleVerticalAlign:"top"}),(0,n.jsx)(m.A,{children:(0,n.jsxs)(l.Ay,{container:!0,spacing:2,children:[(0,n.jsx)(l.Ay,{item:!0,xs:12,md:6,children:(0,n.jsxs)(a.A,{spacing:.5,children:[(0,n.jsx)(s.A,{color:"secondary",fontWeight:"900",fontSize:17,children:"ADMIN PAGE: IMPERSONATE"}),(0,n.jsx)(s.A,{variant:"body2",children:"Use the form on the right to log in as any customer."}),(0,n.jsx)(s.A,{variant:"body2",children:"Enter the users email/account name and press 'Impersonate'"})]})}),(0,n.jsx)(l.Ay,{item:!0,xs:12,md:6,children:(0,n.jsxs)(a.A,{children:[(0,n.jsx)(s.A,{color:"secondary",fontWeight:"900",fontSize:17,children:"IMPERSONATE FORM"}),(0,n.jsx)(S,{})]})})]})})]})},41434:(e,t,i)=>{"use strict";i.d(t,{A:()=>d});var n=i(37876);i(14232);var r=i(5067),o=i(84733),a=i(75855),s=i(74299);let l=(0,a.Ay)("div",{shouldForwardProp:e=>"titleAlign"!==e&&"titleVerticalAlign"!==e})(e=>{let{theme:t,titleVerticalAlign:i="bottom"}=e;return{position:"absolute",bottom:"bottom"===i?60:"unset",top:"top"===i?20:"unset",left:20,"& .MuiTypography-root":{color:s.Q.White,fontWeight:800,fontSize:35},[t.breakpoints.up("md")]:{left:50,bottom:"bottom"===i?40:"unset"}}}),c=(0,a.Ay)("div")(e=>{let{theme:t}=e;return{position:"relative",height:"65vw",maxHeight:"40vh",overflow:"hidden",[t.breakpoints.up("md")]:{height:"15vw"}}}),d=e=>{let{title:t,img:i,titleVerticalAlign:a}=e;return(0,n.jsx)(o.A,{sx:{background:"url(".concat(i,") center center / cover no-repeat")},children:(0,n.jsx)(c,{children:(0,n.jsx)(l,{titleVerticalAlign:a,children:(0,n.jsx)(r.A,{variant:"poster1",component:"h1",children:t})})})})}},56701:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var n=i(84733);let r=(0,i(75855).Ay)(n.A)(e=>{let{theme:t}=e;return{maxWidth:1026,width:"100%",margin:"0 auto",padding:t.spacing(6,5)}})}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=76)),_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.