PageSourceSearch

https://tickets.empiretheatre.com.au/web/_next/static/chunks/pages…/account/password-reset-2fc9c19973138b3b.js

js empiretheatre.com.au collected 2026-10-03 23:02:51 UTC 3,534 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6601],{43848:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});var a=s(55024),i=s(13005);class l extends i.Ay{static async fetchOrganizationInfo(e){let t=a.J.BASE_URL()+"/api/organizations/"+e+"/info";return await this.fetchApi(i.U0.get,t)}}},49766:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSP:()=>S,default:()=>I,getAccountPasswordResetProps:()=>k});var a=s(50979),i=s(84614),l=s(25963),r=s(8119),n=s(5208),o=s(10400),d=s(8320),c=s(85739),u=s(8563),h=s(46033),m=s(58547),g=s(49181),w=s(33792),x=s(92458),f=s(55024),p=s(91993),R=s(5054),j=s(27984),_=s(58411),v=s(78028),N=s(90682);let y=()=>{var e;let{t,i18n:s}=(0,i.Bd)("auth"),y=(0,n.C)();(0,g.useRouter)();let{seller:b}=(0,w.hn)(),A=(0,x.br)(),[C,S]=(0,l.useState)(!1),[k,I]=(0,l.useState)(""),P=(0,l.useRef)({sellerId:b._id,email:""}).current,q=(0,h.e)(P,new c.A({},m.Q.passwordReset));(0,l.useEffect)(()=>{_.v.applyCheckoutStyling({theme:"white",accentColor:(null==b?void 0:b.accentColor)||"#000000",sellerInfo:b})},[]);let E=async()=>{if(q.check(),q.hasErrors())return y();r.Ay.start();try{await p.A.requestPasswordReset(P,s.language,k)&&S(!0)}catch(e){R.X.info({title:t("auth:passwordResetRequest.failedPasswordResetPrompt.title"),message:t("auth:passwordResetRequest.failedPasswordResetPrompt.message")})}finally{r.Ay.stop()}},z=(0,x.oU)({_id:b._id},A);return(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"account-grid",children:[(0,a.jsx)("div",{className:"account-left",children:(null==(e=b.brandingSettings)?void 0:e.customLogo)?(0,a.jsx)("a",{href:f.J.getValidUrl(b.brandingSettings.shopLogoUrl||z),children:(0,a.jsx)("img",{src:f.J.CDN_URL()+"/image?width=80&url="+b.brandingSettings.customLogo,alt:b.name})}):(0,a.jsx)(j.A,{className:"vi-w-36"})}),(0,a.jsxs)("div",{className:"account-right",children:[(0,a.jsxs)("div",{className:"mini-container",children:[(0,a.jsx)("h1",{className:"h2",children:t("auth:passwordResetRequest.title")}),C?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"text-muted mb-24",children:t("auth:passwordResetRequest.mailSent")})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"text-muted mb-24",children:t("auth:passwordResetRequest.message")}),(0,a.jsx)(o.Ay,{validator:q,children:(0,a.jsx)(d.A,{link:new u.a(P,"email"),title:t("auth:passwordResetRequest.mailFormInput.title"),type:"email"})}),(0,a.jsx)("div",{className:"vi-mb-1",children:(0,a.jsx)(v.C,{theme:"light",onVerify:e=>{I(e)}})}),(0,a.jsx)("button",{type:"button",disabled:!k||r.Ay.loading,className:"btn default block",onClick:e=>E(),children:t("auth:passwordResetRequest.buttons.passwordResetButton")})]})]}),(0,a.jsx)("div",{className:"footer-container",children:(0,a.jsx)(N.S,{hideCookieSettings:!0,sellerId:b._id})})]})]})})};var b=s(81438),A=s(43848),C=s(92200),S=!0;let k=async(e,t,s)=>{try{let a=await C.A.fetchSellerInfo(s,e.detectedLocale),i=(0,x.Wq)(t.domainCtx,a._id,a.orgId),l=null;return(null==a?void 0:a.orgId)&&(l=await A.A.fetchOrganizationInfo(a.orgId)),t.domainCtx=await i,{seller:a,organization:l}}catch(e){}return{seller:null,organization:null}},I=e=>{let{seller:t,organization:s}=e,{t:l}=(0,i.Bd)("seller");return t?(0,a.jsx)(w.O3,{seller:t,organization:s,children:(0,a.jsx)(y,{})}):(0,a.jsx)(b.M,{code:404,message:l("seller:sellerCouldNotBeFound")})}},69828:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/seller/[id]/account/password-reset",function(){return s(49766)}])}},e=>{e.O(0,[7310,95,6878,8367,7681,6707,6099,575,636,6593,8792],()=>e(e.s=69828)),_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.