PageSourceSearch

https://portal.safeos.de/assets/SupportSession-B0Es3zIu.js

js safeos.de collected 2026-10-02 16:13:19 UTC 1,590 bytes, 1 lines download raw bytes

1import{u as y,b as S,c as _,o as g,t as w,V as x}from"./index-c2PABjuS.js";import{_ as k}from"./CardContainer.vue_vue_type_script_setup_true_lang-BKfUFWAw.js";import{h as v,f as A,P as V,_ as c,$ as u,L as l,a4 as q,K as p,a0 as r,n as $,a1 as B,F as C,M as s}from"./vue-datepicker-CpIdsRIT.js";import"./datefns-BAflKSlV.js";const I={class:"flex flex-col items-center gap-4 py-6 text-center"},N={key:1,class:"text-sm"},D={class:"text-sm text-error"},z=v({__name:"SupportSession",setup(L){const e=_(),m=g(),d=y(),{t:a}=S(),t=A(null);return V(async()=>{const o=typeof e.query.session=="string"?e.query.session:null,n=typeof e.query.client=="string"?e.query.client:null,h=typeof e.query.expires=="string"?e.query.expires:null,i=new URLSearchParams(window.location.hash.replace(/^#/,"")).get("token");if(!o||!n||!i){t.value=a("Auth.SupportSession.invalid");return}window.history.replaceState(null,"",`${window.location.pathname}${window.location.search}`);try{await d.startSupportSession(i,{id:o,clientId:n,expiresAt:h??new Date(Date.now()+1800*1e3).toISOString()}),await m.replace({name:"cockpit"})}catch(f){console.error("Support-Sitzung konnte nicht gestartet werden",f),t.value=a("Auth.SupportSession.invalid")}}),(o,n)=>(s(),c(k,null,{default:u(()=>[l("div",I,[t.value?q("",!0):(s(),c(w,{key:0,indeterminate:"",color:"primary"})),t.value?(s(),p(C,{key:2},[l("p",D,r(t.value),1),$(x,{variant:"text",color:"primary",to:{name:"login"}},{default:u(()=>[B(r(o.$t("Auth.Login.title")),1)]),_:1})],64)):(s(),p("p",N,r(o.$t("Auth.SupportSession.starting")),1))])]),_:1}))}});export{z 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.