(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[8881],{647168(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>g});var e=__webpack_require__(303280);__webpack_require__.n(e);var t=__webpack_require__(860012);var l=__webpack_require__(848574);var r=__webpack_require__(789292);var a=__webpack_require__(568894);var o=__webpack_require__(556734);var n=__webpack_require__(303362);var s=__webpack_require__(466770);var i=__webpack_require__(53784);var c=__webpack_require__(126528);var u=__webpack_require__(68940);var m=__webpack_require__(779865);var h=__webpack_require__(917214);var p=__webpack_require__(378831);var v=__webpack_require__(682988);var f=__webpack_require__(269243);function g(g){let b=(0,e.c)(58);let{mode:y,location:d,onClose:k,onOpenFullScreen:T}=g;let E=(0,h.P)();let{trackEvent:S}=(0,t.useContext)(f.O2);let P;b[0]!==y||b[1]!==d?(P={location:d,mode:y},b[0]=y,b[1]=d,b[2]=P):P=b[2];let C=P;let _=(0,t.useRef)(!1);let x;let A;b[3]!==C||b[4]!==S?(x=()=>{if(_.current)return;_.current=!0,S({category:v.FZ.Navigation,event:v.gP.PasskeyTroubleshoot,properties:{...C,cta:"modal"}})},A=[C,S],b[3]=C,b[4]=S,b[5]=x,b[6]=A):(x=b[5],A=b[6]),(0,t.useEffect)(x,A);let N;b[7]!==S?(N=()=>{S({category:v.FZ.Navigation,event:v.gP.SupportLinkClicked,properties:{url:p.A.PASSKEYS}},{contextPropsIntoEventProperties:[v.ZU.PageTitle]})},b[7]=S,b[8]=N):N=b[8];let w=N;let M;b[9]!==C||b[10]!==k||b[11]!==T||b[12]!==S?(M=()=>{S({category:v.FZ.Navigation,event:v.gP.PasskeyTroubleshoot,properties:{...C,cta:"full_screen"}}),T(),k()},b[9]=C,b[10]=k,b[11]=T,b[12]=S,b[13]=M):M=b[13];let F=M;let H;b[14]!==C||b[15]!==w||b[16]!==k||b[17]!==S?(H=()=>{S({category:v.FZ.Navigation,event:v.gP.PasskeyTroubleshoot,properties:{...C,cta:"support"}}),w(),k()},b[14]=C,b[15]=w,b[16]=k,b[17]=S,b[18]=H):H=b[18];let $=H;let O;b[19]===Symbol.for("react.memo_cache_sentinel")?(O=t.createElement(m.mH,null),b[19]=O):O=b[19];let Z;b[20]===Symbol.for("react.memo_cache_sentinel")?(Z={alignItems:"center"},b[20]=Z):Z=b[20];let D;b[21]===Symbol.for("react.memo_cache_sentinel")?(D={className:"flex flex-col items-center justify-center gap-4"},b[21]=D):D=b[21];let L=y==="unlock"?"passkeyTroubleshootUnlockModalTitle":"passkeyTroubleshootVerifyModalTitle";let R;b[22]!==E||b[23]!==L?(R=E(L),b[22]=E,b[23]=L,b[24]=R):R=b[24];let z;b[25]!==R?(z=t.createElement(u.E,{variant:l.J3.HeadingSm,className:"mb-4 mx-auto",color:l.r7.TextDefault,textAlign:n.nO.Center},R),b[25]=R,b[26]=z):z=b[26];let G;b[27]!==k||b[28]!==z?(G=t.createElement(m.rQ,{onClose:k,childrenWrapperProps:D},z),b[27]=k,b[28]=z,b[29]=G):G=b[29];let I;b[30]!==E?(I=E("passkeyTroubleshootModalDescription"),b[30]=E,b[31]=I):I=b[31];let J;b[32]!==I?(J=t.createElement(u.E,{variant:l.J3.BodyMd,className:"mb-6",color:l.r7.TextAlternative,textAlign:n.nO.Center},I),b[32]=I,b[33]=J):J=b[33];let K;b[34]!==E?(K=E("passkeyTroubleshootModalOpenFullScreen"),b[34]=E,b[35]=K):K=b[35];let Q;b[36]!==F||b[37]!==K?(Q=t.createElement(s.$,{"data-testid":"passkey-troubleshoot-open-full-screen-button",variant:r.A.Primary,onClick:F,size:a.Mp.Lg,className:"w-full"},K),b[36]=F,b[37]=K,b[38]=Q):Q=b[38];let U;b[39]!==E?(U=E("passkeyTroubleshootModalStillHavingTrouble"),b[39]=E,b[40]=U):U=b[40];let V;b[41]!==U?(V=t.createElement("a",{"data-testid":"passkey-troubleshoot-still-having-trouble-link",href:p.A.PASSKEYS,target:"_blank",rel:"noopener noreferrer"},U),b[41]=U,b[42]=V):V=b[42];let Y;b[43]!==$||b[44]!==V?(Y=t.createElement(i.Q,{color:l.r7.PrimaryDefault,className:"text-center",onClick:$,asChild:!0},V),b[43]=$,b[44]=V,b[45]=Y):Y=b[45];let j;b[46]!==Q||b[47]!==Y?(j=t.createElement(c.a,{flexDirection:o.uV.Column,gap:3},Q,Y),b[46]=Q,b[47]=Y,b[48]=j):j=b[48];let B;b[49]!==J||b[50]!==j?(B=t.createElement(c.a,{paddingHorizontal:4},J,j),b[49]=J,b[50]=j,b[51]=B):B=b[51];let W;b[52]!==G||b[53]!==B?(W=t.createElement(m.$m,{style:Z},G,B),b[52]=G,b[53]=B,b[54]=W):W=b[54];let q;return b[55]!==k||b[56]!==W?(q=t.createElement(m.aF,{isOpen:!0,onClose:k,className:"passkey-troubleshoot-modal","data-testid":"passkey-troubleshoot-modal"},O,W),b[55]=k,b[56]=W,b[57]=q):q=b[57],q}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},818881(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>e.A});var e=__webpack_require__(647168)}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()}}]);