1import{a$ as k,bq as y,br as g,bt as v,bi as w,b4 as C,bs as s,b3 as i,bA as h,bw as n,bg as r}from"#entry";import{_ as S}from"./DmGKkNHs.js";import{_ as x}from"./DJNjF_U-.js";import{t as a}from"./_w_0VQLT.js";import{s as D}from"./Cacw0Mt2.js";import{a as I}from"./CCe0OAYU.js";import"./CKMvJBud.js";import"./Dez8aZEM.js";import"./CfLQKuNV.js";import"./WmC1y9hk.js";import"./DIiNVqaB.js";import"./DJ_B_6OE.js";import"./CRZJV7Di.js";import"./C0HibiG3.js";import"./CeHK7xJv.js";import"./qkxx7USf.js";import"./C-RgbluX.js";import"./BjWxNAKe.js";import"./CRZHZbpu.js";import"./NdeHcNJQ.js";import"./CuAsj9nD.js";import"./CgTpKdmg.js";import"./DN8IjQ7B.js";import"./BJpVLgpq.js";import"./BUqfCCg7.js";import"./CHdX8lLt.js";import"./CkqVtbDv.js";import"./N4sIjSjq.js";import"./CxVE26jz.js";import"./BW6hNvjW.js";try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c33050b0-287a-47ef-9bbb-86d14143a62c",e._sentryDebugIdIdentifier="sentry-dbid-c33050b0-287a-47ef-9bbb-86d14143a62c")})()}catch{}const R=k({__name:"dialog-revoke",props:{token:{}},emits:["close"],setup(e,{emit:t}){const m=e,p=t,u=y(),{mutate:c,isLoading:d}=g({mutation:()=>v.revokeSession({token:m.token,fetchOptions:{headers:I(),throw:!0}}),onSuccess(){a.success("Session revoked successfully"),p("close")},onError(){a.error("Failed to revoke session")},async onSettled(){await u.invalidateQueries({key:D.key})}});return(l,o)=>{const b=h,f=S,_=x;return C(),w(_,{title:"Revoke Session",description:"Are you sure you want to revoke this session? This action cannot be undone.",dismissible:!1},{footer:s(()=>[i(b,{variant:"ghost",onClick:o[0]||(o[0]=B=>l.$emit("close"))},{default:s(()=>[...o[1]||(o[1]=[n(" Cancel ",-1)])]),_:1}),i(f,{variant:"destructive",loading:r(d),onClick:r(c)},{default:s(()=>[...o[2]||(o[2]=[n(" Revoke ",-1)])]),_:1},8,["loading","onClick"])]),_:1})}}}),re=Object.assign(R,{__name:"SessionDialogRevoke"});export{re 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.