1var p=(h,r,a)=>new Promise((m,s)=>{var c=o=>{try{i(a.next(o))}catch(e){s(e)}},v=o=>{try{i(a.throw(o))}catch(e){s(e)}},i=o=>o.done?m(o.value):Promise.resolve(o.value).then(c,v);i((a=a.apply(h,r)).next())});import{G as A,r as g,x,w as B,o as L,e as u,f,J as y,k as t,g as $,j as d,u as n,H as D}from"./vue-runtime-cUEWE1Gv.js";import{a_ as I,bs as T,by as E,bA as F,bB as j,bC as G,bD as N,bE as R,bF as S,bG as U}from"./700-B0VSuE-R.js";import"./uppy-CXjNk1D9.js";const z={id:"app-init-container"},H={key:0,class:"app-init-container d-flex justify-center align-center"},J={__name:"AppInitContainer",setup(h){const r=A(),a=T(),m=E(),s=g(null),c=g(null),v=x(()=>a.getters["translations/platformLanguage"]);B(v,e=>p(null,null,function*(){e!=null&&(m.current.value=e)}),{immediate:!0}),L(()=>{i()}),F((...e)=>p(null,null,function*(){var l,_;yield(_=(l=r==null?void 0:r.proxy)==null?void 0:l.$confirmLeavingWithDirtyFormsIfAnyBeforeRouteUpdate)==null?void 0:_.call(l,...e)}));function i(){return p(this,null,function*(){s.value=!0;try{yield o()}catch(e){console.error(e),c.value=e}s.value=!1})}function o(){return p(this,null,function*(){yield Promise.all([a.dispatch("translations/loadTranslations"),a.dispatch("city/loadCities"),a.dispatch("cpvCode/loadCpvCodes"),a.dispatch("nuts/loadNuts"),a.dispatch("currency/loadCurrencies"),a.dispatch("categories/loadCategories"),a.dispatch("classes/loadClasses"),a.dispatch("country/loadCountries"),a.dispatch("organisationsTree/loadOrganisationsTree")])})}return(e,l)=>{const _=u("v-progress-circular"),C=u("v-col"),w=u("v-row"),b=u("v-container"),k=u("router-view");return f(),y("div",z,[s.value?(f(),y("div",H,[t(_,{size:100,width:5,indeterminate:"",color:"primary"})])):c.value?(f(),$(b,{key:1},{default:d(()=>[t(w,null,{default:d(()=>[t(C,null,{default:d(()=>[t(n(j),{class:"app--error",error:c.value},null,8,["error"])]),_:1})]),_:1})]),_:1})):(f(),y(D,{key:2},[t(n(G),null,{default:d(()=>[t(n(N),null,{default:d(()=>[t(k,{id:"app-init-container--router-view"})]),_:1})]),_:1}),t(n(R))],64)),t(n(S)),t(n(U))])}}},q=I(J,[["__scopeId","data-v-d7cccdf8"]]);export{q 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.