1"use strict";(self.rspackChunk_pathwright_mainclient=self.rspackChunk_pathwright_mainclient||[]).push([["i5"],{ca(e,t,a){a.r(t);var i=a("PT"),n=a("ag"),l=a("M7"),r=a("th1"),s=a("dx"),u=a("qxa"),d=a("yoh"),h=a("Ps9"),o=a("c5"),c=a("ZP9"),m=a("Fr6"),f=a("Ad"),x=a("RB"),g=a("Tj"),j=a("YiD");let p=(0,d.toFormikValidate)(j.schema);t.default=e=>{var t;let a,d,{authRequestId:j,submitButtonLabel:q,error:_,loading:R,onSubmit:k}=e,{t:v}=(0,c.R)("auth.auth_request_confirm_form");return a=null==(t=(0,h.c9)({variables:{uuid:j},pollInterval:2500}).data)?void 0:t.authRequestToken,d=(0,u.Zp)(),(0,s.useEffect)(()=>{(async()=>{a&&a!==(0,m.Y5)()&&(await (0,m.Eq)(a),d((0,g.default)("/")))})()},[a]),q||(q=v("default_submit_button_label")),(0,i.jsx)(r.l1,{initialValues:{authRequestKey:"",authRequestId:j},validate:p,onSubmit:()=>{},children:(0,i.jsx)("form",{onSubmit:k,id:"authRequestConfirmForm",children:(0,i.jsxs)(n.T,{gap:4,width:"100%",alignItems:"stretch",children:[(0,i.jsx)(f.default,{error:_}),(0,i.jsxs)(l.z,{alignItems:"flex-start",children:[(0,i.jsx)(o.F,{name:"authRequestKey",placeholder:v("enter_code"),maxLength:6,autoComplete:"off",disabled:R,size:"lg"}),(0,i.jsx)("input",{hidden:!0,readOnly:!0,id:"authRequestId",name:"authRequestId",type:"string",value:j}),(0,i.jsx)(x.default,{w:"auto",loading:R,children:q})]})]})})})}},AB(e,t,a){a.r(t);var i=a("PT"),n=a("ag"),l=a("d8"),r=a("A7"),s=a.n(r),u=a("LQ"),d=a("ca"),h=a("sr"),o=a("BV");t.default=e=>{let{token:t,authRequestId:a,providerName:r,userEmail:c,onSubmit:m,loading:f,error:x}=e,{space:g}=(0,u.useSpaceContext)();return(0,i.jsx)(o.default,{children:(0,i.jsxs)(n.T,{gap:4,width:"100%",alignItems:"stretch",children:[(0,i.jsx)(h.default,{children:"Check your email."}),(0,i.jsxs)(l.E,{children:["To sign in to ",g.name," with your ",s()(r)," ","account, use the Sign In with ",s()(r)," link in the email we sent to ",c,"."]}),(0,i.jsx)(l.E,{children:"Or, enter the 6 digit code included in the email:"}),(0,i.jsx)(d.default,{authRequestId:a,onSubmit:m,loading:f,error:x}),(0,i.jsx)("input",{hidden:!0,readOnly:!0,name:"token",value:t,form:"authRequestConfirmForm"})]})})}}}]); 2//# sourceMappingURL=i5.8c942efe17.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.