const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./ThemeContainer-1.0.63-BD63EuA0.js","./cm-1.0.63-CSIRHMXC.js","./redux-1.0.63-Df-eBzJn.js","./vendor-1.0.63-CN03Eozo.js","./lib-1.0.63-DJZPtMem.js","./loglevel-1.0.63-BZ7XahX3.js","./lodash-1.0.63-hMxolcpJ.js","./moment-1.0.63-C5S46NFB.js","./AppTheme-1.0.63-CLc-SnB5.js","./index-1.0.63-BT4mpIxR.js","./Typography-1.0.63-mecuj_Wl.js","./getThemeProps-1.0.63-5ZzcWe3G.js","./useEnhancedEffect-1.0.63-DnR0ZFqV.js","./useTableSettings-1.0.63-DOq9cogk.js","./hooks-1.0.63-CWs3kTdT.js","./useStoreFormSettings-1.0.63-CruqV90e.js","./useMetadata-1.0.63-SO3BYgAj.js","./useGlobalCode-1.0.63-DqDx9M25.js","./useAppFunctions-1.0.63-DX15IlIH.js","./ThemeProvider-1.0.63-Cq0KMgkh.js","./SharedContainer-1.0.63-BGBqroWN.js","./cmJson-1.0.63-CyZ2MfFg.js","./rehyperaw-1.0.63-AkovKNCK.js","./markdown-1.0.63-BJvkzZkj.js","./Spinner-1.0.63-zcgIyS7Z.js","./AdminTheme-1.0.63-DhJ0rrw5.js","./ActionsDml-1.0.63-nhbCczlS.js","./RestApi-1.0.63-BUfzocgq.js","./notistack-1.0.63-B49ULGrj.js","./useRemoveAppFromStore-1.0.63-DNpeLtWd.js","./Languages-1.0.63-DsTK0dJK.js","./useChartSettings-1.0.63-BMkc1WeB.js","./useLocaleUd-1.0.63-CjhlhnHj.js","./useScreenSize-1.0.63-DVLFV7fE.js","./cjs-1.0.63-4A2xol4v.js","./ButtonBase-1.0.63-CF10PFMS.js","./index-1.0.63-CrdGWoQq.js","./dayjs.min-1.0.63--tEOvUER.js","./index-1.0.63-oIDff4nA.js","./Modal-1.0.63-fMXTbfks.js","./iconBase-1.0.63-CFvHhC4t.js","./dompurify-1.0.63-DhD2mIk-.js","./useFormDetails-1.0.63-B2jPpIRk.js","./DynamicModeEnum-1.0.63-BXuL5kgA.js","./StoreTypeEnum-1.0.63-Cbd7XZ4r.js","./FallbackSpinner-1.0.63-BLl5ldYH.js","./main-1.0.63.js","./SharedContainer-1.0.63-CL-1K3JO.css"])))=>i.map(i=>d[i]);
import{_ as b}from"./cmJson-1.0.63-CyZ2MfFg.js";import{j as r}from"./cm-1.0.63-CSIRHMXC.js";import{r as e}from"./redux-1.0.63-Df-eBzJn.js";import{F as x}from"./FallbackSpinner-1.0.63-BLl5ldYH.js";import{A as g}from"./AlertDialog-1.0.63-COiLRtfX.js";import{C as h}from"./ConfirmDialog-1.0.63-eXgm3P8b.js";import{S as f}from"./SanitizeComponent-1.0.63-CtRxRbku.js";import{u as d,a as j}from"./hooks-1.0.63-CWs3kTdT.js";import{l as _,aa as S,ab as A}from"./lib-1.0.63-DJZPtMem.js";import{B as C}from"./Spinner-1.0.63-zcgIyS7Z.js";import"./vendor-1.0.63-CN03Eozo.js";import"./rehyperaw-1.0.63-AkovKNCK.js";import"./markdown-1.0.63-BJvkzZkj.js";import"./DialogContent-1.0.63-B3W-DlSe.js";import"./Typography-1.0.63-mecuj_Wl.js";import"./ButtonBase-1.0.63-CF10PFMS.js";import"./useEnhancedEffect-1.0.63-DnR0ZFqV.js";import"./Modal-1.0.63-fMXTbfks.js";import"./notistack-1.0.63-B49ULGrj.js";import"./cjs-1.0.63-4A2xol4v.js";import"./AdminTheme-1.0.63-DhJ0rrw5.js";import"./dompurify-1.0.63-DhD2mIk-.js";import"./loglevel-1.0.63-BZ7XahX3.js";import"./lodash-1.0.63-hMxolcpJ.js";import"./moment-1.0.63-C5S46NFB.js";const E=()=>{const t=d(i=>i.ui);return _.debug("uiSetting",t),t},z=()=>{var o,n,s,p,m,a,l,u;const t=j(),i=E();return r.jsxs(r.Fragment,{children:[((o=i.builtins.alert)==null?void 0:o.title)&&((n=i.builtins.alert)==null?void 0:n.message)&&r.jsx(g,{title:(s=i.builtins.alert)==null?void 0:s.title,message:r.jsx(f,{html:(p=i.builtins.alert)==null?void 0:p.message}),open:!0,setOpen:()=>{t(S())}}),((m=i.builtins.confirm)==null?void 0:m.title)&&((a=i.builtins.confirm)==null?void 0:a.message)&&r.jsx(h,{title:(l=i.builtins.confirm)==null?void 0:l.title,message:r.jsx(f,{html:(u=i.builtins.confirm)==null?void 0:u.message}),open:!0,setOpen:()=>{t(A())},onConfirm:()=>{var c;(c=i.builtins.confirm)!=null&&c.callback&&i.builtins.confirm.callback()}})]})},D=e.lazy(()=>b(()=>import("./ThemeContainer-1.0.63-BD63EuA0.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url)),F=e.lazy(()=>b(()=>import("./SharedContainer-1.0.63-BGBqroWN.js").then(t=>t.S),__vite__mapDeps([20,21,1,2,3,4,5,6,7,22,23,14,24,10,25,26,27,28,18,16,15,29,30,8,9,11,12,31,32,33,34,35,36,37,38,19,39,40,41,42,43,44,45,46,47]),import.meta.url)),I=({appId:t,appDbId:i})=>r.jsx(C,{id:"pp-app-"+t,className:"pp-app-container pp-app-"+i,sx:{[`&#pp-app-${t} .pp-column-search-field ul`]:{marginLeft:0,padding:0},[`&#pp-app-${t} .pp-global-search-field input, &#pp-app-${t} .pp-column-search-field input`]:{boxSizing:"content-box"},[`&#pp-app-${t} .pp-form form input`]:{boxSizing:"content-box"}},children:r.jsx(e.Suspense,{fallback:r.jsx(x,{}),children:r.jsxs(D,{appId:t,children:[r.jsx(F,{appId:t}),r.jsx(z,{})]})})});export{I as default};
