1import{t as p,V as g,E as m,a1 as f,S as _,a2 as E,a3 as v,C as R,_ as I,I as C,p as l,q as u,A as r,Q as i,l as y,W as N}from"./main-CHUEluNB.js";var S=Object.getOwnPropertyDescriptor,z=(t,e,a,c)=>{for(var s=c>1?void 0:c?S(e,a):e,o=t.length-1,n;o>=0;o--)(n=t[o])&&(s=n(s)||s);return s},h=(t=>(t[t.MEDICAL=0]="MEDICAL",t[t.GENERIC=1]="GENERIC",t))(h||{});let d=class extends g{constructor(){super(...arguments),this.NotAuthorizedContentType=h,this.contentType=1}async created(){m.on(f,({to:e})=>{this.contentType=this.getContentType(e)})}async beforeMount(){this.contentType=this.getContentType()}get routingHelper(){return this.$locator.get(_.RoutingHelper)}getContentType(e){const a=localStorage.getItem(E.PREVIOUS_ROUTE)||null,s=[this.$route.redirectedFrom,e].filter(Boolean);return s.length>0?s.some(n=>this.routingHelper.getRouteRoles(n).includes(v.MEDICAL))?0:1:a?.startsWith("/medizin")?0:1}};d=z([R({components:{}})],d);const T=p(d),k={class:"row"},A={class:"col-12"},D={class:"my-5 text-center"},V={key:0},w={key:1},b={class:"text-center"};function M(t,e,a,c,s,o){const n=C("router-link");return l(),u("div",k,[r("div",A,[r("div",D,[e[2]||(e[2]=r("p",{class:"display-1"},"Seite nicht verfügbar",-1)),t.contentType===t.NotAuthorizedContentType.MEDICAL?(l(),u("p",V,[...e[0]||(e[0]=[i(" Sehr geehrte/r Nutzer:in, der von Ihnen ausgewählte Bereich unseres Portals ist ausschlieÃlich für medizinische Fachkreise zugänglich. Dieser eingeschränkte Zugang ist notwendig, um die Einhaltung rechtlicher Vorschriften und Sicherheitsstandards zu gewährleisten.",-1),r("br",null,null,-1),i("Wir danken Ihnen für Ihr Verständnis. ",-1)])])):(l(),u("p",w,[...e[1]||(e[1]=[i(" Diese Seite ist mit Ihrem Rollenprofil nicht aufrufbar - bei Rückfragen wenden Sie sich bitte an ",-1),r("a",{href:"mailto:[email protected]"},"[email protected]",-1)])]))]),r("div",b,[r("p",null,[e[4]||(e[4]=i(" Hier gehts ",-1)),y(n,{to:"/"},{default:N(()=>[...e[3]||(e[3]=[i("zurück zur Startseite",-1)])]),_:1})])])])])}const B=I(T,[["render",M]]);export{d as NotAuthorized,h as NotAuthorizedContentType,B 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.