"use strict"; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); const common_vendor = require("./common/vendor.js"); const config_globalData = require("./config/globalData.js"); const utils_common = require("./utils/common.js"); const hook_useFrontEndConfigVersion_index = require("./hook/use-front-end-config-version/index.js"); const hook_useFrontEndConfig_index = require("./hook/use-front-end-config/index.js"); const hook_useAppStatus_index = require("./hook/use-app-status/index.js"); const hook_useGetUpdateManager_index = require("./hook/use-get-update-manager/index.js"); const hook_useSmallProgramLogin_index = require("./hook/use-small-program-login/index.js"); const hook_useGetSysAppPageList_index = require("./hook/use-get-sys-app-page-list/index.js"); const hook_usePreserMember_index = require("./hook/use-preser-member/index.js"); if (!Math) { "./pages/business/tabbar/homePage/homePage.js"; "./pages/business/tabbar/personalCenter/personalCenter.js"; } let app = null; const beforeMain = async () => { utils_common.showLoading(); await hook_useFrontEndConfigVersion_index.useFrontEndConfigVersion(); let has = await hook_useFrontEndConfig_index.useSetFrontEndConfig(); if (has) return; await hook_useAppStatus_index.useAppStatus(); utils_common.hideLoading(); if (!app.globalData.logSuccess) { main(); } else { if (app.globalData.hasWebsocket) { connectWebsocket(true); } } }; const main = async function() { let isUpdateManager = app.globalData.accountInfo.miniProgram.envVersion == "develop" ? false : await hook_useGetUpdateManager_index.useGetUpdateManager(); if (isUpdateManager) { return; } utils_common.showLoading(); app.globalData.smallPro_systemInfo = JSON.stringify(common_vendor.index.getSystemInfoSync()); const resp = await hook_useSmallProgramLogin_index.useSmallProgramLogin(app); if (resp) { app.globalData.logSuccess = true; await hook_useGetSysAppPageList_index.useGetSysAppPageList(); await hook_usePreserMember_index.usePreserMember(); if (common_vendor.index.getStorageSync("frontEndConfigRequest") || utils_common.isEmpty(common_vendor.index.getStorageSync("formConfigList"))) ; if (common_vendor.index.getStorageSync("frontEndConfigRequest") || utils_common.isEmpty(common_vendor.index.getStorageSync("menuList"))) ; utils_common.hideLoading(); if (app.globalData.hasWebsocket) ; } }; const _sfc_main = { globalData: config_globalData.GLOBALDATA, onLaunch: function(options) { common_vendor.index.__f__("log", "at App.vue:89", "App Launch"); common_vendor.index.__f__("log", "at App.vue:90", "应用启动路径:", options.path); app = this.$scope; app.globalData.accountInfo = common_vendor.index.getAccountInfoSync(); }, onShow: function(options) { common_vendor.index.__f__("log", "at App.vue:105", "App Show"); common_vendor.index.__f__("log", "at App.vue:106", "应用启动路径:", options.path); beforeMain(); }, onHide: function() { common_vendor.index.__f__("log", "at App.vue:112", "App Hide"); } }; function createApp() { const app2 = common_vendor.createSSRApp(_sfc_main); return { app: app2 }; } createApp().app.mount("#app"); exports.createApp = createApp; //# sourceMappingURL=../.sourcemap/mp-alipay/app.js.map