1import{d as y,o as a,i as c,k as r,w as d,u as t,z as e,H as n,B as k,I as v,J as B,y as S,a as o,L as p,A as b,G as A,f as C,aD as L}from"./index-CkxVkSVJ.js";import{_ as N}from"./CardContent.vue_vue_type_script_setup_true_lang-DW3m4m4L.js";import{u as I}from"./useSignedInAccount-D5jxEycd.js";import{B as j}from"./building-2-D6FYhun7.js";import{A as F}from"./arrow-right-C7PFfrYA.js";import{L as O}from"./log-out-B_X89dLs.js";import"./pdf-libs-SYxpWZ2Q.js";import"./authStore-BG-IUMK9.js";const V={class:"min-h-screen w-full flex items-center justify-center bg-white px-4"},$={class:"inline-flex items-center justify-center w-11 h-11 rounded-xl mb-5 bg-neutral-100 text-neutral-700 border border-neutral-200"},z={class:"flex items-center gap-3.5 rounded-xl border border-neutral-200 bg-neutral-50 p-4 mb-5"},D={class:"grid h-11 w-11 shrink-0 place-items-center rounded-xl bg-neutral-900 text-base font-semibold text-white"},E={class:"min-w-0 flex-1"},R={class:"block truncate text-sm font-semibold text-neutral-900"},Y={key:0,class:"block truncate text-xs text-neutral-500 mt-0.5"},G={class:"rounded-xl border border-neutral-200 bg-neutral-50 p-5 mb-6"},H={class:"flex flex-col gap-3.5 m-0 p-0 list-none"},J={class:"shrink-0 w-[22px] h-[22px] rounded-md inline-flex items-center justify-center bg-neutral-900 text-white text-xs font-bold mt-px"},M={class:"flex flex-col gap-3"},T=["disabled"],se=y({__name:"NoFirm",setup(W){const i=C(!1),{accountName:g,accountEmail:u,accountInitial:_,isSigningOut:m,signOutAndStartFresh:x}=I(),h=["Ask your firm administrator to invite you to the firm","Make sure your user license is active","Once that's done, select your firm below"];async function w(){i.value=!0,await L.signIn()}return(q,s)=>(a(),c("div",V,[r(t(A),{class:"w-full max-w-md"},{default:d(()=>[r(t(N),{class:"p-8"},{default:d(()=>[e("span",$,[r(t(j),{class:"w-5 h-5"})]),s[4]||(s[4]=e("header",{class:"mb-6"},[e("h1",{class:"text-2xl font-semibold tracking-tight text-neutral-900"},"You're not set up with a firm yet"),e("p",{class:"mt-2 text-sm text-neutral-500 leading-relaxed"}," You're signed in, but your account isn't linked to an active firm. ")],-1)),e("div",z,[e("span",D,n(t(_)),1),e("div",E,[e("span",R,n(t(g)),1),t(u)?(a(),c("span",Y,n(t(u)),1)):k("",!0)])]),e("div",G,[s[1]||(s[1]=e("p",{class:"text-xs font-semibold uppercase tracking-wide text-neutral-400 mb-3.5"},"What to do next",-1)),e("ol",H,[(a(),c(v,null,B(h,(l,f)=>e("li",{key:f,class:"flex items-start gap-3 text-sm text-neutral-700 leading-relaxed"},[e("span",J,n(f+1),1),e("span",null,n(l),1)])),64))])]),e("div",M,[r(t(S),{onClick:w,size:"lg",class:"w-full",disabled:i.value},{default:d(()=>[i.value?(a(),o(t(p),{key:0,class:"w-4 h-4 mr-2 animate-spin"})):(a(),o(t(F),{key:1,class:"w-4 h-4 mr-2"})),b(" "+n(i.value?"Redirecting...":"Select a firm"),1)]),_:1},8,["disabled"]),s[3]||(s[3]=e("p",{class:"text-sm text-neutral-400 text-center"},"Invited on a different account?",-1)),e("button",{type:"button",class:"inline-flex items-center justify-center gap-2 py-1.5 text-sm text-neutral-500 transition-colors hover:text-neutral-900 disabled:opacity-60 disabled:cursor-not-allowed",disabled:t(m),onClick:s[0]||(s[0]=(...l)=>t(x)&&t(x)(...l))},[t(m)?(a(),o(t(p),{key:0,class:"w-3.5 h-3.5 animate-spin"})):(a(),o(t(O),{key:1,class:"w-3.5 h-3.5"})),s[2]||(s[2]=b(" Sign out and use a different account ",-1))],8,T)])]),_:1})]),_:1})]))}});export{se 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.