1import{r as ae,s as se,q as re,c as oe,d as ne,f as le,_ as ie,a as ce,g as de,h as ue}from"./Layout.vue_vue_type_script_setup_true_lang-ConQYQL7.js";import{c as w,a as G,_ as S,P as fe}from"./Button.vue_vue_type_script_setup_true_lang-CwQgyPq0.js";import{d as y,c,n as k,u as e,S as C,f as t,x as D,i as m,w as l,a as s,e as p,t as T,b as n,F as x,g as R,r as g,o as pe,p as ve,j as me,N as B,O,I as X,am as ye,an as he,B as _e,R as be,h as ge,P as xe,Q as we}from"./app-CqbOMvUx.js";import{c as A}from"./createLucideIcon-ycY0zbnc.js";import{E as ke}from"./eye-BfglJr0z.js";import{R as Ce}from"./refresh-cw-COcfPlXe.js";import{_ as $e}from"./InputError.vue_vue_type_script_setup_true_lang-CpXpLLU4.js";import{_ as Se,b as Fe,c as Te,d as Ae,a as Ee}from"./DialogTitle.vue_vue_type_script_setup_true_lang-SqL8dDRE.js";import{_ as Me,a as Re,b as Ve}from"./PinInputSlot.vue_vue_type_script_setup_true_lang-Cnk8DnCQ.js";import{p as je,l as ze}from"./index-CIiWasEK.js";import{L as U}from"./loader-circle-DP_6giK0.js";import{C as qe}from"./check-BVc5jq-L.js";import{_ as De}from"./AppLayout.vue_vue_type_script_setup_true_lang-DGhC2BDa.js";import"./index-CxHIEzKO.js";import"./index-B5iuEwMa.js";import"./VisuallyHidden-B71WcTOf.js";import"./x-DxtVOdel.js";import"./useArrowNavigation-C6Y-ieo6.js";import"./useForwardExpose-Bgh7_mYR.js";import"./VisuallyHiddenInput-KCgEhy6I.js";import"./RovingFocusGroup-BfBOSlh1.js";import"./AppLogoIcon.vue_vue_type_script_setup_true_lang-CwIf7n71.js";import"./file-text-CYzpFlMe.js";import"./book-open-DR3XsM6m.js";/** 2 * @license lucide-vue-next v0.468.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const Be=A("CircleAlertIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** 7 * @license lucide-vue-next v0.468.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */const Oe=A("CopyIcon",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/** 12 * @license lucide-vue-next v0.468.0 - ISC 13 * 14 * This source code is licensed under the ISC license. 15 * See the LICENSE file in the root directory of this source tree. 16 */const Ie=A("EyeOffIcon",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/** 17 * @license lucide-vue-next v0.468.0 - ISC 18 * 19 * This source code is licensed under the ISC license. 20 * See the LICENSE file in the root directory of this source tree. 21 */const Le=A("LockKeyholeIcon",[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{x:"3",y:"10",width:"18",height:"12",rx:"2",key:"6s8ecr"}],["path",{d:"M7 10V7a5 5 0 0 1 10 0v3",key:"1pqi11"}]]);/** 22 * @license lucide-vue-next v0.468.0 - ISC 23 * 24 * This source code is licensed under the ISC license. 25 * See the LICENSE file in the root directory of this source tree. 26 */const Pe=A("ScanLineIcon",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M7 12h10",key:"b7w52i"}]]);/** 27 * @license lucide-vue-next v0.468.0 - ISC 28 * 29 * This source code is licensed under the ISC license. 30 * See the LICENSE file in the root directory of this source tree. 31 */const Ke=A("ShieldBanIcon",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m4.243 5.21 14.39 12.472",key:"1c9a7c"}]]);/** 32 * @license lucide-vue-next v0.468.0 - ISC 33 * 34 * This source code is licensed under the ISC license. 35 * See the LICENSE file in the root directory of this source tree. 36 */const W=A("ShieldCheckIcon",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
36y:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]),Ne=y({__name:"Alert",props:{class:{},variant:{}},setup(r){const a=r;return(o,d)=>(t(),c("div",{"data-slot":"alert",class:k(e(w)(e(Ue)({variant:r.variant}),a.class)),role:"alert"},[C(o.$slots,"default")],2))}}),He=y({__name:"AlertDescription",props:{class:{}},setup(r){const a=r;return(o,d)=>(t(),c("div",{"data-slot":"alert-description",class:k(e(w)("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",a.class))},[C(o.$slots,"default")],2))}}),Qe=y({__name:"AlertTitle",props:{class:{}},setup(r){const a=r;return(o,d)=>(t(),c("div",{"data-slot":"alert-title",class:k(e(w)("col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight",a.class))},[C(o.$slots,"default")],2))}}),Ue=G("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",{variants:{variant:{default:"bg-card text-card-foreground",destructive:"text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90"}},defaultVariants:{variant:"default"}}),We={class:"list-inside list-disc text-sm"},Y=y({__name:"AlertError",props:{errors:{},title:{default:"Something went wrong."}},setup(r){const a=r,o=D(()=>Array.from(new Set(a.errors)));return(d,u)=>(t(),m(e(Ne),{variant:"destructive"},{default:l(()=>[s(e(Be),{class:"size-4"}),s(e(Qe),null,{default:l(()=>[p(T(r.title),1)]),_:1}),s(e(He),null,{default:l(()=>[n("ul",We,[(t(!0),c(x,null,R(o.value,(h,i)=>(t(),c("li",{key:i},T(h),1))),128))])]),_:1})]),_:1}))}}),Je=y({__name:"Card",props:{class:{}},setup(r){const a=r;return(o,d)=>(t(),c("div",{"data-slot":"card",class:k(e(w)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",a.class))},[C(o.$slots,"default")],2))}}),Ge=y({__name:"CardContent",props:{class:{}},setup(r){const a=r;return(o,d)=>(t(),c("div",{"data-slot":"card-content",class:k(e(w)("px-6",a.class))},[C(o.$slots,"default")],2))}}),Xe=y({__name:"CardDescription",props:{class:{}},setup(r){const a=r;return(o,d)=>(t(),c("p",{"data-slot":"card-description",class:k(e(w)("text-muted-foreground text-sm",a.class))},[C(o.$slots,"default")],2))}}),Ye=y({__name:"CardHeader",props:{class:{}},setup(r){const a=r;return(o,d)=>(t(),c("div",{"data-slot":"card-header",class:k(e(w)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",a.class))},[C(o.$slots,"default")],2))}}),Ze=y({__name:"CardTitle",props:{class:{}},setup(r){const a=r;return(o,d)=>(t(),c("h3",{"data-slot":"card-title",class:k(e(w)("leading-none font-semibold",a.class))},[C(o.$slots,"default")],2))}}),P=async r=>{const a=await fetch(r,{headers:{Accept:"application/json"}});if(!a.ok)throw new Error(`Failed to fetch: ${a.status}`);return a.json()},j=g([]),E=g(null),M=g(null),q=g([]),et=D(()=>M.value!==null&&E.value!==null),K=()=>{const r=async()=>{try{const{svg:v}=await P(re.url());M.value=v}catch{j.value.push("Failed to fetch QR code"),M.value=null}},a=async()=>{try{const{secretKey:v}=await P(se.url());E.value=v}catch{j.value.push("Failed to fetch a setup key"),E.value=null}},o=()=>{E.value=null,M.value=null,d()},d=()=>{j.value=[]};return{qrCodeSvg:M,manualSetupKey:E,recoveryCodesList:q,errors:j,hasSetupData:et,clearSetupData:o,clearErrors:d,clearTwoFactorAuthData:()=>{o(),d(),q.value=[]},fetchQrCode:r,fetchSetupKey:a,fetchSetupData:async()=>{try{d(),await Promise.all([r(),a()])}catch{M.value=null,E.value=null}},fetchRecoveryCodes:async()=>{try{d(),q.value=await P(ae.url())}catch{j.value.push("Failed to fetch recovery codes"),q.value=[]}}}},tt={class:"flex flex-col gap-3 select-none sm:flex-row sm:items-center sm:justify-between"},at={key:0,class:"mt-6"},st={key:1,class:"mt-3 space-y-3"},rt={key:0,class:"space-y-2"},ot=y({__name:"TwoFactorRecoveryCodes",setup(r){const{recoveryCodesList:a,fetchRecoveryCodes:o,errors:d}=K(),u=g(!1),h=g(null),i=async()=>{!u.value&&!a.value.length&&await o(),u.value=!u.value,u.value&&(
36await X(),h.value?.scrollIntoView({behavior:"smooth"}))};return pe(async()=>{a.value.length||await o()}),(v,_)=>(t(),m(e(Je),{class:"w-full"},{default:l(()=>[s(e(Ye),null,{default:l(()=>[s(e(Ze),{class:"flex gap-3"},{default:l(()=>[s(e(Le),{class:"size-4"}),_[0]||(_[0]=p("2FA Recovery Codes ",-1))]),_:1}),s(e(Xe),null,{default:l(()=>[..._[1]||(_[1]=[p(" Recovery codes let you regain access if you lose your 2FA device. Store them in a secure password manager. ",-1)])]),_:1})]),_:1}),s(e(Ge),null,{default:l(()=>[n("div",tt,[s(e(S),{onClick:i,class:"w-fit"},{default:l(()=>[(t(),m(me(u.value?e(Ie):e(ke)),{class:"size-4"})),p(" "+T(u.value?"Hide":"View")+" Recovery Codes ",1)]),_:1}),u.value&&e(a).length?(t(),m(e(B),O({key:0},e(oe).form(),{method:"post",options:{preserveScroll:!0},onSuccess:e(o)}),{default:l(({processing:$})=>[s(e(S),{variant:"secondary",type:"submit",disabled:$},{default:l(()=>[s(e(Ce)),_[2]||(_[2]=p(" Regenerate Codes ",-1))]),_:1},8,["disabled"])]),_:1},16,["onSuccess"])):ve("",!0)]),n("div",{class:k(["relative overflow-hidden transition-all duration-300",u.value?"h-auto opacity-100":"h-0 opacity-0"])},[e(d)?.length?(t(),c("div",at,[s(Y,{errors:e(d)},null,8,["errors"])])):(t(),c("div",st,[n("div",{ref_key:"recoveryCodeSectionRef",ref:h,class:"grid gap-1 rounded-lg bg-muted p-4 font-mono text-sm"},[e(a).length?(t(!0),c(x,{key:1},R(e(a),($,F)=>(t(),c("div",{key:F},T($),1))),128)):(t(),c("div",rt,[(t(),c(x,null,R(8,$=>n("div",{key:$,class:"h-4 animate-pulse rounded bg-muted-foreground/20"})),64))]))],512),_[3]||(_[3]=n("p",{class:"text-xs text-muted-foreground select-none"},[p(" Each recovery code can be used once to access your account and will be removed after use. If you need more, click "),n("span",{class:"font-bold"},"Regenerate Codes"),p(" above. ")],-1))]))],2)]),_:1})]),_:1}))}}),nt={class:"mb-3 w-auto rounded-full border border-border bg-card p-0.5 shadow-sm"},lt={class:"relative overflow-hidden rounded-full border border-border bg-muted p-2.5"},it={class:"absolute inset-0 grid grid-cols-5 opacity-50"},ct={class:"absolute inset-0 grid grid-rows-5 opacity-50"},dt={class:"relative flex w-auto flex-col items-center justify-center space-y-5"},ut={class:"relative mx-auto flex max-w-md items-center overflow-hidden"},ft={class:"relative mx-auto aspect-square w-64 overflow-hidden rounded-lg border border-border"},pt={key:0,class:"absolute inset-0 z-10 flex aspect-square h-auto w-full animate-pulse items-center justify-center bg-background"},vt={key:1,class:"relative z-10 overflow-hidden border p-5"},mt=["innerHTML"],yt={class:"flex w-full items-center space-x-5"},ht={class:"flex w-full items-center justify-center space-x-2"},_t={class:"flex w-full items-stretch overflow-hidden rounded-xl border border-border"},bt={key:0,class:"flex h-full w-full items-center justify-center bg-muted p-3"},gt=["value"],xt=["value"],wt={class:"flex w-full flex-col items-center justify-center space-y-3 py-2"},kt={class:"flex w-full items-center space-x-5"},Ct=y({__name:"TwoFactorSetupModal",props:ye({requiresConfirmation:{type:Boolean},twoFactorEnabled:{type:Boolean}},{isOpen:{type:Boolean},isOpenModifiers:{}}),emits:["update:isOpen"],setup(r){const a=r,o=he(r,"isOpen"),{copy:d,copied:u}=je(),{qrCodeSvg:h,manualSetupKey:i,clearSetupData:v,fetchSetupData:_,errors:$}=K(),F=g(!1),V=g([]),N=D(()=>V.value.join("")),H=g(null),I=D(()=>a.twoFactorEnabled?{title:"Two-Factor Authentication Enabled",description:"Two-factor authentication is now enabled. Scan the QR code or enter the setup key in your authenticator app.",buttonText:"Close"}:F.value?{title:"Verify Authentication Code",description:"Enter the 6-digit code from your authenticator app",buttonText:"Continue"}:{title:"Enable Two-Factor Authentication",description:"To finish enabling two-factor authentication, scan the QR code or enter the setup key in your authenticator app",buttonText:"Continue"}),Z=()=>{if(a.requiresConfirmation){F.value=!0,X(()=>{H.value?.querySelector("input")?.focus()});return}v(),o.value=!1},ee=()=>{a.twoFactorEnabled&&v(),F.value=!1,V.value=[]};return _e(()=>o.value,async Q=>{if(!Q){ee();return}h.value||await _()}),(Q,f)=>(t(),m(e(Se),{open:o.value,"onUpdate:open":f[5]||(f[5]=b=>o.value=b)},{default:l(()=>[s(e(Ee),{class:"sm:max-w-md"},{default:l(()=>[s(e(Fe),{class:"flex items-center justify-center"},{default:l(()=>[n("div",nt,[n("div",lt,[n("div",it,[(t(),c(x,null,R(5,b=>n("div",{key:`col-${b}`,class:"border-r border-border last:border-r-0"})),64))]),n("div",ct,[(t(),c(x,null,R(5,b=>n("div",{key:`row-${b}`,class:"border-b border-border last:border-b-0"})),64))]),s(e(Pe),{class:"relative z-20 size-6 text-foreground"})])]),s(e(Te),null,{default:l(()=>
36[p(T(I.value.title),1)]),_:1}),s(e(Ae),{class:"text-center"},{default:l(()=>[p(T(I.value.description),1)]),_:1})]),_:1}),n("div",dt,[F.value?(t(),m(e(B),O({key:1},e(ne).form(),{"reset-on-error":"",onFinish:f[3]||(f[3]=b=>V.value=[]),onSuccess:f[4]||(f[4]=b=>o.value=!1)}),{default:l(({errors:b,processing:L})=>[n("input",{type:"hidden",name:"code",value:N.value},null,8,xt),n("div",{ref_key:"pinInputContainerRef",ref:H,class:"relative w-full space-y-3"},[n("div",wt,[s(e(Me),{id:"otp",placeholder:"â",modelValue:V.value,"onUpdate:modelValue":f[1]||(f[1]=z=>V.value=z),type:"number",otp:""},{default:l(()=>[s(e(Re),null,{default:l(()=>[(t(),c(x,null,R(6,(z,te)=>s(e(Ve),{autofocus:"",key:z,index:te,disabled:L},null,8,["index","disabled"])),64))]),_:2},1024)]),_:2},1032,["modelValue"]),s($e,{message:b?.confirmTwoFactorAuthentication?.code},null,8,["message"])]),n("div",kt,[s(e(S),{type:"button",variant:"outline",class:"w-auto flex-1",onClick:f[2]||(f[2]=z=>F.value=!1),disabled:L},{default:l(()=>[...f[7]||(f[7]=[p(" Back ",-1)])]),_:1},8,["disabled"]),s(e(S),{type:"submit",class:"w-auto flex-1",disabled:L||N.value.length<6},{default:l(()=>[...f[8]||(f[8]=[p(" Confirm ",-1)])]),_:1},8,["disabled"])])],512)]),_:1},16)):(t(),c(x,{key:0},[e($)?.length?(t(),m(Y,{key:0,errors:e($)},null,8,["errors"])):(t(),c(x,{key:1},[n("div",ut,[n("div",ft,[e(h)?(t(),c("div",vt,[n("div",{innerHTML:e(h),class:"flex aspect-square size-full items-center justify-center"},null,8,mt)])):(t(),c("div",pt,[s(e(U),{class:"size-6 animate-spin"})]))])]),n("div",yt,[s(e(S),{class:"w-full",onClick:Z},{default:l(()=>[p(T(I.value.buttonText),1)]),_:1})]),f[6]||(f[6]=n("div",{class:"relative flex w-full items-center justify-center"},[n("div",{class:"absolute inset-0 top-1/2 h-px w-full bg-border"}),n("span",{class:"relative bg-card px-2 py-1"},"or, enter the code manually")],-1)),n("div",ht,[n("div",_t,[e(i)?(t(),c(x,{key:1},[n("input",{type:"text",readonly:"",value:e(i),class:"h-full w-full bg-background p-3 text-foreground"},null,8,gt),n("button",{onClick:f[0]||(f[0]=b=>e(d)(e(i)||"")),class:"relative block h-auto border-l border-border px-3 hover:bg-muted"},[e(u)?(t(),m(e(qe),{key:0,class:"w-4 text-green-500"})):(t(),m(e(Oe),{key:1,class:"w-4"}))])],64)):(t(),c("div",bt,[s(e(U),{class:"size-4 animate-spin"})]))])])],64))],64))])]),_:1})]),_:1},8,["open"]))}}),J=y({__name:"Badge",props:{asChild:{type:Boolean},as:{},variant:{},class:{}},setup(r){const a=r,o=ze(a,"class");return(d,u)=>(t(),m(e(fe),O({"data-slot":"badge",class:e(w)(e($t)({variant:r.variant}),a.class)},e(o)),{default:l(()=>[C(d.$slots,"default")]),_:3},16,["class"]))}}),$t=G("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}}),St={class:"space-y-6"},Ft={key:0,class:"flex flex-col items-start justify-start space-y-4"},Tt={key:1,class:"flex flex-col items-start justify-start space-y-4"},At={class:"relative inline"},ea=y({__name:"TwoFactor",props:{requiresConfirmation:{type:Boolean,default:!1},twoFactorEnabled:{type:Boolean,default:!1}},setup(r){const a=[{title:"Two-Factor Authentication",href:le.url()}],{hasSetupData:o,clearTwoFactorAuthData:d}=K(),u=g(!1);return be(()=>{d()}),(h,i)=>(t(),m(De,{breadcrumbs:a},{default:l(()=>[s(e(ge),{title:"Two-Factor Authentication"}),s(ie,null,{default:l(()=>[n("div",St,[s(ce,{title:"Two-Factor Authentication",description:"Manage your two-factor authentication settings"}),r.twoFactorEnabled?(t(),c("div",Tt,[s(e(J),{variant:"default"},{default:l(()=>[...i[7]||(i[7]=[p("Enabled",-1)])]),_:1}),i[9]||(i[9]=n("p",{class:"text-muted-foreground"}," With two-factor authentication enabled, you will be prompted for a secure, random pin during login, which you can retrieve from the TOTP-supported application on your phone. ",-1)),s(ot),n("div",At,[s(e(B),xe(we(e(ue).form())),{default:l(({processing:v})=>[s(e(S),{variant:"destructive",type:"submit",disabled:v},{default:l(()=>[s(e(Ke)),i[8]||(i[8]=p(" Disable 2FA ",-1))]),_:1},8,["disabled"])]),_:1},16)])])):(t(),c("div",Ft,[s(e(J),{variant:"destructive"},{default:l(()=>[...i[3]||(i[3]=[p("Disabled",-1)])]),_:1}),i[6]||(i[6]=n("p",{class:"text-muted-foreground"}," When you enable two-factor authentication, you will be prompted for a secure pin during login. This pin can be retrieved from a TOTP-supported application on your phone. ",-1)),n("div",null,[e(o)?(t(),m(e(S),{key:0,onClick:i[0]||(i[0]=v=>u.value=!0)},{default:l(()=>[s(e(W)),i[4]||(i[4]=p("Continue Setup ",-1))]),_:1})):(t(),m(e(B),O({key:1},e(de).form(),{onSuccess:i[1]||(i[1]=v=>u.value=!0)}),{default:l(({processing:v})=>[s(e(S),{type:"submit",disabled:v},{default:l(()=>[s(e(W)),i[5]||(i[5]=p("Enable 2FA",-1))]),_:1},8,["disabled"])]),_:1},16))])])),s(Ct,{isOpen:u.value,"onUpdate:isOpen":i[2]||(i[2]=v=>u.value=v),requiresConfirmation:r.requiresConfirmation,twoFactorEnabled:r.twoFactorEnabled},null,8,["isOpen","requiresConfirmation","twoFactorEnabled"])])]),_:1})]),_:1}))}});
36export{ea as default};
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.