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