PageSourceSearch

https://prod-cdn.pathwright.com/static/js/async/g.70531689fb.js

js pathwright.com collected 2026-10-02 03:20:55 UTC 3,283 bytes, 2 lines download raw bytes

1"use strict";(self.rspackChunk_pathwright_mainclient=self.rspackChunk_pathwright_mainclient||[]).push([["g"],{ca(e,t,a){a.r(t);var s=a("PT"),r=a("ag"),l=a("M7"),i=a("th1"),n=a("dx"),u=a("qxa"),d=a("yoh"),h=a("Ps9"),o=a("c5"),c=a("ZP9"),_=a("Fr6"),m=a("Ad"),f=a("RB"),x=a("Tj"),g=a("YiD");let j=(0,d.toFormikValidate)(g.schema);t.default=e=>{var t;let a,d,{authRequestId:g,submitButtonLabel:p,error:v,loading:w,onSubmit:q}=e,{t:R}=(0,c.R)("auth.auth_request_confirm_form");return a=null==(t=(0,h.c9)({variables:{uuid:g},pollInterval:2500}).data)?void 0:t.authRequestToken,d=(0,u.Zp)(),(0,n.useEffect)(()=>{(async()=>{a&&a!==(0,_.Y5)()&&(await (0,_.Eq)(a),d((0,x.default)("/")))})()},[a]),p||(p=R("default_submit_button_label")),(0,s.jsx)(i.l1,{initialValues:{authRequestKey:"",authRequestId:g},validate:j,onSubmit:()=>{},children:(0,s.jsx)("form",{onSubmit:q,id:"authRequestConfirmForm",children:(0,s.jsxs)(r.T,{gap:4,width:"100%",alignItems:"stretch",children:[(0,s.jsx)(m.default,{error:v}),(0,s.jsxs)(l.z,{alignItems:"flex-start",children:[(0,s.jsx)(o.F,{name:"authRequestKey",placeholder:R("enter_code"),maxLength:6,autoComplete:"off",disabled:w,size:"lg"}),(0,s.jsx)("input",{hidden:!0,readOnly:!0,id:"authRequestId",name:"authRequestId",type:"string",value:g}),(0,s.jsx)(f.default,{w:"auto",loading:w,children:p})]})]})})})}},BAv(e,t,a){a.r(t);var s=a("r"),r=a("PT"),l=a("W5"),i=a("BQ");t.default=e=>{let t=(0,i.dU)("secondary","whiteAlpha.200");return(0,r.jsx)(l.a,(0,s._)({bg:t,borderRadius:"20px",p:4,alignSelf:"stretch"},e))}},V4G(e,t,a){a.r(t);var s=a("PT"),r=a("ag"),l=a("P9"),i=a("d8"),n=a("dx"),u=a("D0"),d=a("P"),h=a("ZP9"),o=a("ca"),c=a("BAv"),_=a("js"),m=a("sr"),f=a("BV"),x=a("vw"),g=a("Tj");let j="auth.signin_request_confirm";t.default=e=>{let{authRequestId:t,truncatedEmail:a,error:p,loading:v,onSubmit:w}=e,q=u.x6,{t:R}=(0,h.R)(j),b=(0,n.useMemo)(()=>{let e=d.z.string().email(),t=(0,x.getAuthEmailFormStateEmail)();return e.safeParse(t).success?t:a},[]);return(0,s.jsx)(f.default,{children:(0,s.jsxs)(r.T,{gap:4,width:"100%",alignItems:"stretch",children:[(0,s.jsx)(m.default,{children:R("check_your_email")}),(0,s.jsx)(l.h,{}),b?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(q,{parent:i.E,i18nKey:"".concat(j,".login_with_email"),values:{email:b},components:[(0,s.jsx)("b",{children:b},"0")]}),(0,s.jsx)(i.E,{children:R("enter_code_in_email")})]}):(0,s.jsx)(i.E,{children:R("enter_code_from_email")}),(0,s.jsx)(o.default,{authRequestId:t,error:p,loading:v,onSubmit:w}),(0,s.jsx)(l.h,{}),(0,s.jsx)(c.default,{children:(0,s.jsx)(q,{parent:i.E,i18nKey:"".concat(j,".sign_in_alternative"),values:{sign_in_with_email_and_password:R("sign_in_with_email_and_password")},components:[(0,s.jsx)(_.default,{to:(0,g.default)("../password"),children:R("sign_in_with_email_and_password")},"0")]})})]})})}},Cz(e,t,a){a.r(t);var s=a("PT"),r=a("dx"),l=a("V4G"),i=a("zqd");t.default=e=>{let{authRequestId:t,onSuccess:a}=e,[n,u]=(0,i.useConfirmAuthRequest)(),d=async e=>{e.preventDefault();let t=new FormData(e.currentTarget);await u(t)};return(0,r.useEffect)(()=>{var e;(null==(e=n.value)?void 0:e.success)&&(null==a||a())},[n.value]),(0,s.jsx)(l.default,{authRequestId:t,loading:n.loading,success:!!n.value,error:n.error,onSubmit:d})}}}]);
2//# sourceMappingURL=g.70531689fb.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.