!function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(e){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?t(Object(o),!0).forEach((function(t){r(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function r(t,n,r){return(n=function(t){var n=function(t,n){if("object"!=e(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,n||"default");if("object"!=e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==e(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}System.register(["./utils-lib-legacy.js?v=20260328163632","./base-lib-legacy.js?v=20260328163632"],(function(e,t){"use strict";var r,o,i,u,l,a;return{setters:[function(e){r=e.r,o=e.aX},function(e){i=e.ah,u=e.ai,l=e.r,a=e.c}],execute:function(){var t=u("SITE-STORE",(function(){var e=l(!1),t=l({}),i=l(!1),u=l(""),c=l(!1),p=a((function(){var e,t=(null===(e=r)||void 0===e||null===(e=e.currentRoute)||void 0===e||null===(e=e.value)||void 0===e?void 0:e.name)||"php";return"otherModel"===t?"other":t.replace("site-","")})),v=l({addtime:"",edate:"0000-00-00",id:null,index:null,listen:[],listen_ok:!0,load_info:{},name:"",path:"",project_config:{},project_type:"",ps:"",rname:"",run:!1,ssl:{},status:"",stop:"",type_id:0}),s=l(""),f=a((function(){return["go","python","nodejs","proxy","html","other"].includes(s.value)})),y=l();return{siteTypeSpe:f,pluginInfo:t,isRefreshList:e,siteInfo:v,isBindExtranet:i,rowData:y,siteType:s,settingTabActive:u,isJump:c,activeType:p,setSiteInfo:function(e,t){if(e){var r,l,a=(null==e||null===(r=e.project_type)||void 0===r?void 0:r.toLowerCase())||"";a||(a=p.value),"node"===a&&(a="nodejs"),"nginx"===a&&(a="proxy"),v.value=n(n({},e),{},{project_type:a}),s.value=(null===(l=v.value)||void 0===l?void 0:l.project_type)||"",["asp","aspx"].includes(s.value)&&(s.value="php")}var c,f;(u.value=(o(t)?t:"")||"",i.value=!0,"php"!==s.value)&&(i.value=v.value.hasOwnProperty("bind_extranet")?v.value.bind_extranet:null===(c=v.value)||void 0===c||null===(c=c.project_config)||void 0===c||!c.hasOwnProperty("bind_extranet")||v.value.project_config.bind_extranet,"Tomcat"===(null===(f=v.value)||void 0===f||null===(f=f.project_config)||void 0===f?void 0:f.project_type)&&(i.value=!0));return v.value},jumpTabEvent:function(e){u.value=e,c.value=!0},resetTab:function(){u.value="",c.value=!1}}}));e("u",(function(){var e=t();return n(n({},e),i(e))}))}}}))}();
