(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[9277],{379277(__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__,{u:()=>e.u});var e=__webpack_require__(806084)}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},806084(__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__,{u:()=>d});var e=__webpack_require__(303280);__webpack_require__.n(e);var t=__webpack_require__(860012);var a=__webpack_require__(305142);var i=__webpack_require__(848574);var s=__webpack_require__(556734);var n=__webpack_require__(126528);var r=__webpack_require__(219384);var l=__webpack_require__(68940);function c(e){return e==="success"?t.createElement(n.a,{className:"flex size-11 shrink-0 items-center","data-testid":"passkey-step-indicator-success"},t.createElement(r.I,{name:a.$M.Confirmation,color:a.Li.SuccessDefault,size:a.lK.Lg})):(0,e==="loading")?t.createElement(n.a,{className:"flex size-11 shrink-0 items-center","data-testid":"passkey-step-indicator-loading"},t.createElement(r.I,{name:a.$M.Loading,color:a.Li.IconDefault,size:a.lK.Lg,className:"animate-spin"})):(0,t.createElement(n.a,{className:"flex size-11 shrink-0 items-center","data-testid":"passkey-step-indicator-idle"},t.createElement(r.I,{name:a.$M.FullCircle,color:a.Li.IconMuted,size:a.lK.Lg})))}function o(e){return e==="idle"?i.r7.TextAlternative:(0,e==="success")?i.r7.SuccessDefault:(0,i.r7.TextDefault)}function u(e,a){return t.createElement(n.a,{flexDirection:s.uV.Row,alignItems:s.RE.Center},c(e),t.createElement(l.E,{variant:i.J3.BodyMd,fontWeight:i.IT.Regular,color:o(e)},a))}let d=a=>{let i=(0,e.c)(10);let{registerStatus:r,verifyStatus:l,registerLabel:c,verifyLabel:o,className:d}=a;let m;i[0]!==c||i[1]!==r?(m=u(r,c),i[0]=c,i[1]=r,i[2]=m):m=i[2];let h;i[3]!==o||i[4]!==l?(h=u(l,o),i[3]=o,i[4]=l,i[5]=h):h=i[5];let f;return i[6]!==d||i[7]!==m||i[8]!==h?(f=t.createElement(n.a,{flexDirection:s.uV.Column,gap:2,className:d,"data-testid":"passkey-setup-steps","aria-busy":!0},m,h),i[6]=d,i[7]=m,i[8]=h,i[9]=f):f=i[9],f}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()}}]);