PageSourceSearch

https://app.honorado.de/assets/use-impersonation-EGTLmSCz.js

js honorado.de collected 2026-10-07 03:54:31 UTC 1,183 bytes, 4 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="44339229-58ce-5dc8-b9fc-648bdf7f899f")}catch(e){}}();
3import{r as e}from"./chunk-QTnfLwEv.js";import{B as t}from"./chunk-QUQL4437-DKo6uH8F.js";import{o as n,s as r}from"./token-D0dcOH0b.js";import{t as i}from"./toast-CeAzO5CI.js";import{n as a,t as o}from"./sdk.gen-D77JBRft.js";var s=e(t(),1);function c(){return{impersonate:(0,s.useCallback)(e=>{let t=window.location.pathname+window.location.search+window.location.hash;return i.promise(o({path:{subject:e.uuid},throwOnError:!0}).then(({data:r})=>{n(r.token,e.name,t),window.location.assign(`/`)}),{loading:`Wechsle zu ${e.name}…`,success:`Angemeldet als ${e.name}`,error:`Wechsel fehlgeschlagen`})},[]),leave:(0,s.useCallback)(()=>i.promise(a({throwOnError:!0}).then(()=>{let e=r();window.location.assign(e??`/`)}),{loading:`Beende Sitzung…`,success:`Sitzung beendet`,error:`Beenden fehlgeschlagen`}),[])}}export{c as t};
4//# debugId=44339229-58ce-5dc8-b9fc-648bdf7f899f

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.