1import{_ as R}from"./preload-helper-CLcXU_4U.js";import{d as C,z as g,T as w,g as M,U as B,o as P,l as N,w as S,i as T,V as D,W as b,D as L}from"./index-BGmjDFcS.js";import{u as q}from"./useAuthModel-BLd6rLXz.js";import{_ as x}from"./index.scss_vue_type_style_index_0_src_true_lang-DYtOYPQp.js";import{u as F}from"./useServiceDataEventBus-WSnDJKwS.js";import"./dekp__mf_v__runtimeInit__mf_v__-C4UCx2eY.js";import"./FunctionalAsyncComponent.vue_vue_type_script_setup_true_lang-BaUzXVif.js";import"./index.scss_vue_type_style_index_0_src_true_lang-Bdh09cYY.js";import"./index.scss_vue_type_style_index_0_src_true_lang-03EcnAxt.js";import"./index.scss_vue_type_style_index_0_src_true_lang-Hat3gmAO.js";import"./TransitionWrapper.vue_vue_type_style_index_0_lang-022xgUhB.js";import"./applicationEventBus-Bc_5O9Xx.js";const X=C({__name:"ServiceSheetComponent",setup(O){const c="enbw".toLowerCase(),p=c==="yello"?"200":"100",a=g(),u=q(p),o=w("container"),r=L(!1),f=F(),_=e=>({hostingEnvironment:"default",locale:"de",historyMode:"memory",initialRoute:e}),v=async(e,n,s)=>{if(r.value=!1,!!o.value){o.value.replaceChildren();try{const{loadRemote:i,registerRemotes:h}=await R(async()=>{const{loadRemote:E,registerRemotes:y}=await import("./dekp__mf_v__runtimeInit__mf_v__-C4UCx2eY.js").then(A=>A.i);return{loadRemote:E,registerRemotes:y}},[]);h([{name:e,entry:n,type:"module"}]);const m=await i(`${e}/AppWebComponent`),d=m.default??m;if(typeof d!="function")throw new Error("Invalid personal data web component");const l=D+"-"+e;customElements.get(l)||customElements.define(l,d);const t=document.createElement(l);t.dataApplicationEventBus=f,t.dataAuth=u.authModel.value,t.dataBrand=c??"",t.dataTheme="light",t.dataCustomerPlatformConfig=_(s),t.dataRouterBasePath=b,t.dataNavigationMode="event",o.value.appendChild(t),r.value=!0}catch(i){console.error("[ServicePersonalData] Failed to load journey MFE:",i),r.value=!1,o.value.replaceChildren()}}};return M(async()=>{try{await u.fetchAuthModel();const e=a.query.remoteName,n=a.query.manifestUrl,s=a.query.targetRoute?JSON.parse(a.query.targetRoute):void 0;await v(e,n,s)}catch(e){console.error("Failed to initialize component:",e)}}),B(()=>{o.value?.replaceChildren()}),(e,n)=>(P(),N(x,{"id-prefix":"service-personal-data"},{content:S(()=>[T("div",{ref_key:"container",ref:o},null,512)]),_:1}))}});export{X 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.