PageSourceSearch

https://intranet.arrossaires.com/build/assets/TwoFactorChallenge-3ce10cbb.js

js arrossaires.com collected 2026-10-01 12:24:50 UTC 2,489 bytes, 1 lines download raw bytes

1import{d,T as x,o as r,e as a,b as o,u as t,w as m,F as n,Z as C,a as i,g as l,i as p,n as h,m as w}from"./app-d352f483.js";import{A as V}from"./AuthenticationCard-90765596.js";import{A as T}from"./AuthenticationCardLogo-b71e52df.js";import{_,a as v}from"./TextInput-5c7128df.js";import{_ as g}from"./InputLabel-81307e37.js";import{_ as A}from"./PrimaryButton-eab26e9e.js";/* empty css            */import"./_plugin-vue_export-helper-c27b6911.js";import"./logo-arrossaires-320e372a.js";const I={class:"mb-4 text-sm text-gray-600"},U={key:0},$={key:1},B={class:"flex items-center justify-end mt-4"},q={__name:"TwoFactorChallenge",setup(F){const c=d(!1),e=x({code:"",recovery_code:""}),f=d(null),y=d(null),k=async()=>{c.value^=!0,await w(),c.value?(f.value.focus(),e.code=""):(y.value.focus(),e.recovery_code="")},b=()=>{e.post(route("two-factor.login"))};return(N,s)=>(r(),a(n,null,[o(t(C),{title:"Two-factor Confirmation"}),o(V,null,{logo:m(()=>[o(T)]),default:m(()=>[i("div",I,[c.value?(r(),a(n,{key:1},[l(" Please confirm access to your account by entering one of your emergency recovery codes. ")],64)):(r(),a(n,{key:0},[l(" Please confirm access to your account by entering the authentication code provided by your authenticator application. ")],64))]),i("form",{onSubmit:p(b,["prevent"])},[c.value?(r(),a("div",$,[o(g,{for:"recovery_code",value:"Recovery Code"}),o(_,{id:"recovery_code",ref_key:"recoveryCodeInput",ref:f,modelValue:t(e).recovery_code,"onUpdate:modelValue":s[1]||(s[1]=u=>t(e).recovery_code=u),type:"text",class:"mt-1 block w-full",autocomplete:"one-time-code"},null,8,["modelValue"]),o(v,{class:"mt-2",message:t(e).errors.recovery_code},null,8,["message"])])):(r(),a("div",U,[o(g,{for:"code",value:"Code"}),o(_,{id:"code",ref_key:"codeInput",ref:y,modelValue:t(e).code,"onUpdate:modelValue":s[0]||(s[0]=u=>t(e).code=u),type:"text",inputmode:"numeric",class:"mt-1 block w-full",autofocus:"",autocomplete:"one-time-code"},null,8,["modelValue"]),o(v,{class:"mt-2",message:t(e).errors.code},null,8,["message"])])),i("div",B,[i("button",{type:"button",class:"text-sm text-gray-600 hover:text-gray-900 underline cursor-pointer",onClick:p(k,["prevent"])},[c.value?(r(),a(n,{key:1},[l(" Use an authentication code ")],64)):(r(),a(n,{key:0},[l(" Use a recovery code ")],64))]),o(A,{class:h(["ml-4",{"opacity-25":t(e).processing}]),disabled:t(e).processing},{default:m(()=>s[2]||(s[2]=[l(" Log in ")])),_:1},8,["class","disabled"])])],32)]),_:1})],64))}};export{q 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.