import{E as e,Tt as t,n}from"./vue-vendor-DMUmTARL.js";import{n as r}from"./admin-system-CCErzFl-.js";var i={inContainer:!1,runtime:`unknown`,bindMounts:[],criticalPaths:[],unifiedMountRows:[]},a=n(`runtime-env`,()=>{let n=t(null),a=t(!1),o=t(!1),s=null,c=async()=>s||(a.value=!0,s=(async()=>{try{n.value=(await r())?.data??null??i}catch(e){console.error(`获取运行时环境检测失败:`,e),n.value=i}finally{o.value=!0,a.value=!1,s=null}return n.value??i})(),s),l=async()=>o.value&&n.value?n.value:c(),u=e(()=>n.value?.criticalPaths??[]);return{env:n,loading:a,loaded:o,criticalPaths:u,hasHighSeverityRisk:e(()=>u.value.some(e=>e.severity===`HIGH`&&(e.status===`UNMOUNTED`||e.status===`ANON_VOLUME`))),dbCriticalPath:e(()=>u.value.find(e=>e.key===`db`)),fetch:c,ensureLoaded:l}});export{a as t};