!function(o){var e={};function i(n){if(e[n])return e[n].exports;var t=e[n]={i:n,l:!1,exports:{}};return o[n].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.m=o,i.c=e,i.d=function(n,t,o){i.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:o})},i.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},i.t=function(t,n){if(1&n&&(t=i(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var e in t)i.d(o,e,function(n){return t[n]}.bind(null,e));return o},i.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return i.d(t,"a",t),t},i.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},i.p="/vendor/AdminManager/",i(i.s=0)}([function(n,t,o){!function(r){r(function(){var t,n,o=window.api.dialog,e=window.api.base,i=window.__msAdminRoot;0<r("[data-admin-version]").length&&(r(document).on("click","[data-admin-upgrade]",function(){return o.confirm("请在升级之前做好系统备份，确定升级？",function(){o.confirm("再次确定已经做好数据备份，确定升级？",function(){o.confirm("升级需要最长可能10分钟的时间，请在升级过程中不要关闭浏览器",function(){t("init")})})}),!1}),t=function(n){o.loadingOn(),e.post(i+"upgrade/"+n,{},function(n){o.loadingOff(),e.defaultFormCallback(n,{success:function(n){"finish"===n.data.action?o.alertSuccess("升级完成",function(){window.location.href=i+"logout"}):(o.tipSuccess(n.data.msg),setTimeout(function(){t(n.data.action)},2e3))}})})},n=r("[data-admin-version]").attr("data-admin-version"),r("body").append('<script src="https://'+window.__version_check_host+"/product/"+window.__version_check_app+"/version_check?domain="+window.location.host+"&version="+n+'"><\/script>'))})}.call(this,o(1))},function(n,t){n.exports=window.$}]);