const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./StartApps-1.0.74-CfYRoMMR.js","./tanstack-1.0.74-aU0azVkW.js","./redux-1.0.74-D8bIc6ki.js","./vendor-1.0.74-CN03Eozo.js","./lib-1.0.74-B5IEqfHg.js","./utils-1.0.74-7xWhx9mc.js","./useViewHeight-1.0.74-CuK7XWCG.js","./RestApiError-1.0.74-Bb1un17k.js","./useLoadAppMetaData-1.0.74-BqAxVdHB.js","./RestApi-1.0.74-5XKxNzpR.js","./StoreTypeEnum-1.0.74-BO7CLiE1.js","./hooks-1.0.74-NYCTWeI9.js","./index-1.0.74-FmkvObU2.js","./main-1.0.74-CS1_gynP.css","./StartChart-1.0.74-BF9W_8cn.js","./StartMap-1.0.74-Dkb51WcW.js","./MapPrepare-1.0.74-Ce2WlC-i.js","./useMetadata-1.0.74--jxfVI7W.js","./FallbackSpinner-1.0.74-7h-h2HIM.js","./Spinner-1.0.74-B63QTBL9.js","./Box-1.0.74-DEbuVvGV.js","./CircularProgress-1.0.74-QfwfRJ7i.js","./Typography-1.0.74-B4mhsevh.js","./StartDashboard-1.0.74-DxSY9Qkh.js","./StartApp-1.0.74-C1wT-HG2.js","./AppContainer-1.0.74-BxV2PRFq.js","./AlertDialog-1.0.74-YhMIDJAU.js","./ConfirmDialog-1.0.74-CXu4CqK2.js","./ButtonBase-1.0.74-W6tAH7AI.js","./useEnhancedEffect-1.0.74-B56M26dS.js","./AdminTheme-1.0.74-BtTaJUu_.js","./Modal-1.0.74-BfLid1bk.js","./Portal-1.0.74-BrUPeMX9.js","./SanitizeComponent-1.0.74-DsOvasd7.js"])))=>i.map(i=>d[i]);
import{R as h,_ as p,a as g}from"./RestApiError-1.0.74-Bb1un17k.js";import{j as e}from"./tanstack-1.0.74-aU0azVkW.js";import{r as s}from"./redux-1.0.74-D8bIc6ki.js";import{C as n,l as c,v as x}from"./lib-1.0.74-B5IEqfHg.js";import{C as A}from"./CircularProgress-1.0.74-QfwfRJ7i.js";import"./vendor-1.0.74-CN03Eozo.js";import"./utils-1.0.74-7xWhx9mc.js";const l=()=>e.jsx("div",{className:"pp-loading",style:{textAlign:"center",display:"block"},children:e.jsx(A,{size:48,sx:{color:"#000"}})});n.appDebug?(c.setLevel("debug"),c.debug(n.appName+" started: debug = on")):c.setLevel("info");window.document.querySelectorAll(".pp-container-app").forEach(t=>{var _,f;const d=h.createRoot(t);let o;t.getAttribute("data-filter_field_name")!==null&&t.getAttribute("data-filter_field_value")!==null&&(o={[t.getAttribute("data-filter_field_name")]:t.getAttribute("data-filter_field_value")});let r;if(t.getAttribute("data-shortcode_field_name")!==null&&t.getAttribute("data-shortcode_field_value")!==null){const a=(_=t.getAttribute("data-shortcode_field_name"))==null?void 0:_.split(","),i=(f=t.getAttribute("data-shortcode_field_value"))==null?void 0:f.split(",");if(Array.isArray(a)&&Array.isArray(i)&&a.length>0&&a.length===i.length){r={};for(let u=0;u<a.length;u++)r[a[u]]=i[u]}}if(n.appStatus===""){if(n.appUrl){const a=x();if(t.classList.contains("pp-container-apps")){const i=s.lazy(()=>p(()=>import("./StartApps-1.0.74-CfYRoMMR.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url));d.render(e.jsxs("div",{style:{height:"800px"},"data-pp-app-id":a,children:[l(),e.jsx(s.Suspense,{children:e.jsx(i,{appId:a,dataSource:t.getAttribute("data-source")})})]}))}else if(t.classList.contains("pp-container-chart")){const i=s.lazy(()=>p(()=>import("./StartChart-1.0.74-BF9W_8cn.js"),__vite__mapDeps([14,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url));d.render(e.jsxs("div",{style:{height:"400px"},"data-pp-app-id":a,children:[l(),e.jsx(s.Suspense,{children:e.jsx(i,{appId:a,dataSource:t.getAttribute("data-source"),shortcodeArgs:r})})]}))}else if(t.classList.contains("pp-container-map")){const i=s.lazy(()=>p(()=>import("./StartMap-1.0.74-Dkb51WcW.js"),__vite__mapDeps([15,1,2,3,4,5,6,7,8,9,10,11,12,16,17,18,19,20,21,22,13]),import.meta.url));d.render(e.jsxs("div",{style:{height:"400px"},"data-pp-app-id":a,children:[l(),e.jsx(s.Suspense,{children:e.jsx(i,{appId:a,dataSource:t.getAttribute("data-source"),shortcodeArgs:r})})]}))}else if(t.classList.contains("pp-container-dashboard")){const i=s.lazy(()=>p(()=>import("./StartDashboard-1.0.74-DxSY9Qkh.js"),__vite__mapDeps([23,1,2,3,4,5,7,8,9,10,11,12]),import.meta.url));d.render(e.jsxs("div",{style:{height:"800px"},"data-pp-app-id":a,children:[l(),e.jsx(s.Suspense,{children:e.jsx(i,{appId:a,dataSource:t.getAttribute("data-source"),shortcodeArgs:r})})]}))}else{const i=s.lazy(()=>p(()=>import("./StartApp-1.0.74-C1wT-HG2.js"),__vite__mapDeps([24,1,2,3,4,5,6,7,8,9,10,11,12,25,26,27,28,21,22,29,30,31,32,33,20,13]),import.meta.url));d.render(e.jsxs("div",{style:{height:"800px"},"data-pp-app-id":a,children:[l(),e.jsx(s.Suspense,{children:e.jsx(i,{appId:a,dataSource:t.getAttribute("data-source"),staticFilter:o,shortcodeArgs:r})})]}))}}}else g,n.appStatus});
