1import{a4 as v,b as f,Z as F,m as c,k as n,s,e as a,I as _,t as g,A as m}from"./_virtual_mf___mfe_internal__portal__mf_owner__1__loadShare__vue__loadShare__.js-FdrEc527.js";import{_ as I,j as x,E as u,m as A,c as y,d as O,n as N}from"./index-BiPB7ESM.js";import{c as $}from"./_virtual_mf___mfe_internal__portal__mf_owner__1__loadShare__vue_mf_2_router__loadShare__.js-CTDtcnp6.js";import l from"./GenericCoreFailureNew-C2Bj4mfb.js";import C from"./MaintenanceFailure-LTxLqbTs.js";import"./virtualExposes-_ivNhQLP.js";import"./remoteEntry-mwZ2TQE2.js";import"./_virtual_mf___mfe_internal__portal__mf_owner__1__loadShare___mf_0_fsecure_mf_1_hades_mf_2_vue__loadShare__.js-DgZBD3YD.js";import"./index-DIJBGw7-.js";import"./vue-i18n.runtime-gxjQDRUF.js";const M={key:0},U={key:1},R={key:2},S={key:3},H={key:4},q={__name:"ErrorPage",setup(w){const d=v("$log"),p=$(),r=x();let i="",t="";const T=f(()=>t===u.TOKEN_FAILURE),b=f(()=>t===u.NOT_FOUND_FAILURE),h=f(()=>t===u.LOGIN_FAILURE),k=A();F(()=>{const o=y(p.query.access_denied);let e=y(p.query.xtr);try{e&&(e=JSON.parse(O.decode(e)),r.errorType=e.errorType,r.xTransaction=e.xtr)}catch(L){d.info("error parsing xtr param",L)}o==="true"&&(r.errorType=u.LOGIN_FAILURE),i=r.xTransaction,t=r.errorType,d.debug("error type: ",t),r.errorType=null,r.xTransaction=null});function P(){N(!1)}function E(){window.location="/"}return(o,e)=>c(k)?(n(),s("div",M,[a(C)])):T.value?(n(),s("div",U,[a(l,{"transaction-msg":c(i),"generic-error":"errorPage.genericError"},{buttons:_(()=>[g("button",{class:"hds-button",onClick:P},m(o.$t("errorPage.tryAgain")),1)]),_:1},8,["transaction-msg"])])):b.value?(n(),s("div",R,[a(l,{code:404,"generic-error":"errorPage.notFoundError"},{buttons:_(()=>[g("button",{class:"hds-button",onClick:E},m(o.$t("errorPage.goToHomePage")),1)]),_:1})])):h.value?(n(),s("div",S,[a(l,{"transaction-msg":c(i),"generic-msg":"errorPage.loginMsg","generic-error":"errorPage.loginError"},{buttons:_(()=>[g("button",{class:"hds-button",onClick:E},m(o.$t("errorPage.goToHomePage")),1)]),_:1},8,["transaction-msg"])])):(n(),s("div",H,[a(l,{"transaction-msg":c(i),icon:"screen-off","generic-error":"errorPage.genericError","generic-msg":"errorPage.genericMsg"},{buttons:_(()=>[g("button",{class:"hds-button",onClick:P},m(o.$t("errorPage.tryAgain")),1)]),_:1},8,["transaction-msg"])]))}},W=I(q,[["__scopeId","data-v-a81690bf"]]);export{W 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.