System.register(["./index.vue_vue_type_script_setup_true_lang-legacy8.js?v=1764830988434","./page_layout-legacy.js?v=1764830988434","./public-legacy.js?v=1764830988434","./vue-legacy.js?v=1764830988434","./naive-legacy.js?v=1764830988434","./soft-legacy2.js?v=1764830988434","./soft-legacy.js?v=1764830988434","./index-legacy.js?v=1764830988434"],function(e,t){"use strict";var n,a,l,s,i,r,d,o,c,u,p,_,f,x,y,m,v,g,h,b,S,k,w,C,j,$,P,q,D,R,F,M,N,O,U,z;return{setters:[e=>{n=e._},e=>{a=e.i,l=e.cy,s=e.l,i=e.cB,r=e.x,d=e.p,o=e.a9,c=e._,u=e.r,p=e.E,_=e.cC,f=e.cD},e=>{x=e.d,y=e.L,m=e.Q},e=>{v=e.e,g=e.k,h=e.b,b=e.a2,S=e.V,k=e.a3,w=e.W,C=e.S,j=e.a4,$=e.U,P=e.j,q=e.r,D=e.an,R=e.R,F=e.O,M=e.F},e=>{N=e.da,O=e.aC},e=>{U=e.g},e=>{z=e.a},null],execute:function(){var t=document.createElement("style");t.textContent=".list[data-v-19dccd64]{display:flex;cursor:pointer;align-items:center;padding:10px}.list[data-v-19dccd64]:hover{background:var(--app-soft-used-hover)}\n/*$vite$:1*/",document.head.appendChild(t);const{t:E}=a.global,H=e("s",v({p:1,row:20,query:"",type:0,tojs:"soft.get_list",force:0})),L=(e("o",v([{label:E("Crontab.Script.index_25"),value:0},{label:E("Mail.Setting.index_7"),value:-1},{label:E("Soft.index_1"),value:5},{label:E("Database.index_22"),value:6},{label:E("Soft.index_2"),value:7},{label:E("Soft.index_3"),value:8}])),{class:"w-80px! inline-block"}),B=(e("_",g({__name:"app-seach",setup(e){const t=l(),a=()=>{H.p=1,t.setRefresh(!0)},s=()=>{H.force=1,t.setRefresh(!0)};return h(()=>{H.p=1,H.query=""}),(e,t)=>{const l=n,i=N,r=O;return S(),b(i,{class:"py-16px justify-between!"},{default:k(()=>[w(i,{class:"items-center"},{default:k(()=>[C("span",L,j(e.$t("Soft.index_4")),1),w(l,{clearable:"",class:"w-580px!",value:$(H).query,"onUpdate:value":t[0]||(t[0]=e=>$(H).query=e),placeholder:e.$t("Soft.index_5"),onSearch:a},null,8,["value","placeholder"])]),_:1}),w(r,{onClick:s},{default:k(()=>[P(j(e.$t("Soft.index_6")),1)]),_:1})]),_:1})}}})),{class:"w-80px inline-block"}),I=["onClick"],Q=["src"],{t:V}=(e("R",d(g({__name:"recently-used",setup(e){const t=q(),{loading:n,setLoading:a}=x();return(async()=>{try{a(!0);const{message:e}=await i();r(e)&&(t.value=e)}finally{a(!1)}})(),(e,a)=>{const l=s,i=N;return S(),b(i,{class:"items-center h-42px"},{default:k(()=>[C("span",B,j(e.$t("Soft.index_8")),1),$(n)?(S(),b(l,{key:0,width:800,sharp:!1,size:"medium"})):D("",!0),(S(!0),R(M,null,F($(t),e=>(S(),R("div",{class:"list",key:e.id,onClick:t=>{z(e)}},[C("img",{class:"w-22px mr-5px",src:$(U)(e.name)},null,8,Q),C("span",null,j(e.title),1)],8,I))),128))]),_:1})}}}),[["__scopeId","data-v-19dccd64"]])),a.global);e("u",()=>({key:"softwareName",title:V("Soft.index_29"),width:"220",ellipsis:{tooltip:{width:"trigger"}},render:e=>w("span",{class:e.setup&&!y(e)?"cursor-pointer":"",onClick:e.setup&&!y(e)?()=>z(e):void 0},[w("img",{class:"w-22px max-h-22px mr-5px",src:U(e.name)},null),e.title,P(" "),e.title.indexOf("PHP-")>-1?"":e.version])})),e("a",()=>({key:"name",title:V("Soft.index_14"),width:"100",render:e=>{if(e.pid>0){if(e.endtime>0)return o(e.endtime,"yyyy-MM-dd");if(0===e.endtime)return V("Soft.index_27");if(-1===e.endtime)return V("Soft.index_28");if(-2===e.endtime)return V("Site.PHP.index_28")}return"--"}})),e("b",()=>({key:"location",title:V("Database.index_19"),width:"80",render:e=>e.setup?w(c,{name:"base-dir",class:"cursor-pointer",size:"16",onClick:()=>{u("Path",e.uninsatll_checks),p.push("/files")}},null):"---"})),e("c",()=>({key:"status",title:V("Component.UploadFile.index_5"),width:"80",render:e=>{if(5!==e.type)return w("span",null,[P("--")]);const t="phpmyadmin"===e.name||e.status;return e.setup?w("span",{class:"iconfont icon-"+(t?"start":"stop")},null):w("span",null,[P("--")])}})),e("d",()=>({key:"displayOnDashboard",title:V("Soft.index_30"),width:"80",render:e=>e.setup?w(m,{value:e.index_display,onClick:t=>{t?_({sName:e.name}):f({sName:e.name})}},null):"---"})),e("e",()=>({key:"name",title:V("Soft.index_31"),width:"80",render:e=>e.sort?e.sort<=0||e.sort>5?V("Soft.index_32"):e.sort.toFixed(1):"--"}))}}});
