parent
f41a5b20ec
commit
22f551742f
@ -1,273 +1,324 @@
|
||||
// Immediately invoked function expression (IIFE) to create a global context
|
||||
!function(){
|
||||
try {
|
||||
// Attempt to assign global 'this' to variable 'a'
|
||||
var a = Function("return this")();
|
||||
|
||||
!function(){try{var a=Function("return this")();a&&!a.Math&&(Object.assign(a,{isFinite:isFinite,Array:Array,Date:Date,Error:Error,Function:Function,Math:Math,Object:Object,RegExp:RegExp,String:String,TypeError:TypeError,setTimeout:setTimeout,clearTimeout:clearTimeout,setInterval:setInterval,clearInterval:clearInterval}),"undefined"!=typeof Reflect&&(a.Reflect=Reflect))}catch(a){}}();
|
||||
/******/ (function(modules) { // webpackBootstrap
|
||||
/******/ // install a JSONP callback for chunk loading
|
||||
/******/ function webpackJsonpCallback(data) {
|
||||
/******/ var chunkIds = data[0];
|
||||
/******/ var moreModules = data[1];
|
||||
/******/ var executeModules = data[2];
|
||||
/******/
|
||||
/******/ // add "moreModules" to the modules object,
|
||||
/******/ // then flag all "chunkIds" as loaded and fire callback
|
||||
/******/ var moduleId, chunkId, i = 0, resolves = [];
|
||||
/******/ for(;i < chunkIds.length; i++) {
|
||||
/******/ chunkId = chunkIds[i];
|
||||
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
|
||||
/******/ resolves.push(installedChunks[chunkId][0]);
|
||||
/******/ }
|
||||
/******/ installedChunks[chunkId] = 0;
|
||||
/******/ }
|
||||
/******/ for(moduleId in moreModules) {
|
||||
/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {
|
||||
/******/ modules[moduleId] = moreModules[moduleId];
|
||||
/******/ }
|
||||
/******/ }
|
||||
/******/ if(parentJsonpFunction) parentJsonpFunction(data);
|
||||
/******/
|
||||
/******/ while(resolves.length) {
|
||||
/******/ resolves.shift()();
|
||||
/******/ }
|
||||
/******/
|
||||
/******/ // add entry modules from loaded chunk to deferred list
|
||||
/******/ deferredModules.push.apply(deferredModules, executeModules || []);
|
||||
/******/
|
||||
/******/ // run deferred modules when all chunks ready
|
||||
/******/ return checkDeferredModules();
|
||||
/******/ };
|
||||
/******/ function checkDeferredModules() {
|
||||
/******/ var result;
|
||||
/******/ for(var i = 0; i < deferredModules.length; i++) {
|
||||
/******/ var deferredModule = deferredModules[i];
|
||||
/******/ var fulfilled = true;
|
||||
/******/ for(var j = 1; j < deferredModule.length; j++) {
|
||||
/******/ var depId = deferredModule[j];
|
||||
/******/ if(installedChunks[depId] !== 0) fulfilled = false;
|
||||
/******/ }
|
||||
/******/ if(fulfilled) {
|
||||
/******/ deferredModules.splice(i--, 1);
|
||||
/******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
|
||||
/******/ }
|
||||
/******/ }
|
||||
/******/
|
||||
/******/ return result;
|
||||
/******/ }
|
||||
/******/
|
||||
/******/ // The module cache
|
||||
/******/ var installedModules = {};
|
||||
/******/
|
||||
/******/ // object to store loaded CSS chunks
|
||||
/******/ var installedCssChunks = {
|
||||
/******/ "common/runtime": 0
|
||||
/******/ }
|
||||
/******/
|
||||
/******/ // object to store loaded and loading chunks
|
||||
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
||||
/******/ // Promise = chunk loading, 0 = chunk loaded
|
||||
/******/ var installedChunks = {
|
||||
/******/ "common/runtime": 0
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ var deferredModules = [];
|
||||
/******/
|
||||
/******/ // script path function
|
||||
/******/ function jsonpScriptSrc(chunkId) {
|
||||
/******/ return __webpack_require__.p + "" + chunkId + ".js"
|
||||
/******/ }
|
||||
/******/
|
||||
/******/ // The require function
|
||||
/******/ function __webpack_require__(moduleId) {
|
||||
/******/
|
||||
/******/ // Check if module is in cache
|
||||
/******/ if(installedModules[moduleId]) {
|
||||
/******/ return installedModules[moduleId].exports;
|
||||
/******/ }
|
||||
/******/ // Create a new module (and put it into the cache)
|
||||
/******/ var module = installedModules[moduleId] = {
|
||||
/******/ i: moduleId,
|
||||
/******/ l: false,
|
||||
/******/ exports: {}
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // Execute the module function
|
||||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
||||
/******/
|
||||
/******/ // Flag the module as loaded
|
||||
/******/ module.l = true;
|
||||
/******/
|
||||
/******/ // Return the exports of the module
|
||||
/******/ return module.exports;
|
||||
/******/ }
|
||||
/******/
|
||||
/******/ // This file contains only the entry chunk.
|
||||
/******/ // The chunk loading function for additional chunks
|
||||
/******/ __webpack_require__.e = function requireEnsure(chunkId) {
|
||||
/******/ var promises = [];
|
||||
/******/
|
||||
/******/
|
||||
/******/ // mini-css-extract-plugin CSS loading
|
||||
/******/ var cssChunks = {"components/uni-phone/index":1,"pages/common/Navbar/navbar":1,"components/uni-nav-bar/uni-nav-bar":1,"components/uni-piker/index":1,"components/uni-popup/index":1,"node-modules/@dcloudio/uni-ui/lib/uni-list-item/uni-list-item":1,"uni_modules/uni-list/components/uni-list-item/uni-list-item":1,"uni_modules/uni-list/components/uni-list/uni-list":1,"uni_modules/uni-popup/components/uni-popup/uni-popup":1,"components/empty/empty":1,"components/reach-bottom/reach-bottom":1,"pages/common/simple-address/simple-address":1,"node-modules/@dcloudio/uni-ui/lib/uni-easyinput/uni-easyinput":1,"uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput":1,"components/uni-icons/uni-icons":1,"components/uni-status-bar/uni-status-bar":1,"uni_modules/uni-badge/components/uni-badge/uni-badge":1};
|
||||
/******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
|
||||
/******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
|
||||
/******/ promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {
|
||||
/******/ var href = "" + ({"components/uni-phone/index":"components/uni-phone/index","pages/common/Navbar/navbar":"pages/common/Navbar/navbar","components/uni-nav-bar/uni-nav-bar":"components/uni-nav-bar/uni-nav-bar","components/uni-piker/index":"components/uni-piker/index","components/uni-popup/index":"components/uni-popup/index","node-modules/@dcloudio/uni-ui/lib/uni-list-item/uni-list-item":"node-modules/@dcloudio/uni-ui/lib/uni-list-item/uni-list-item","uni_modules/uni-list/components/uni-list-item/uni-list-item":"uni_modules/uni-list/components/uni-list-item/uni-list-item","uni_modules/uni-list/components/uni-list/uni-list":"uni_modules/uni-list/components/uni-list/uni-list","uni_modules/uni-popup/components/uni-popup/uni-popup":"uni_modules/uni-popup/components/uni-popup/uni-popup","components/empty/empty":"components/empty/empty","components/reach-bottom/reach-bottom":"components/reach-bottom/reach-bottom","pages/common/simple-address/simple-address":"pages/common/simple-address/simple-address","node-modules/@dcloudio/uni-ui/lib/uni-easyinput/uni-easyinput":"node-modules/@dcloudio/uni-ui/lib/uni-easyinput/uni-easyinput","uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput":"uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput","components/uni-icons/uni-icons":"components/uni-icons/uni-icons","components/uni-status-bar/uni-status-bar":"components/uni-status-bar/uni-status-bar","uni_modules/uni-badge/components/uni-badge/uni-badge":"uni_modules/uni-badge/components/uni-badge/uni-badge","uni_modules/uni-transition/components/uni-transition/uni-transition":"uni_modules/uni-transition/components/uni-transition/uni-transition"}[chunkId]||chunkId) + ".wxss";
|
||||
/******/ var fullhref = __webpack_require__.p + href;
|
||||
/******/ var existingLinkTags = document.getElementsByTagName("link");
|
||||
/******/ for(var i = 0; i < existingLinkTags.length; i++) {
|
||||
/******/ var tag = existingLinkTags[i];
|
||||
/******/ var dataHref = tag.getAttribute("data-href") || tag.getAttribute("href");
|
||||
/******/ if(tag.rel === "stylesheet" && (dataHref === href || dataHref === fullhref)) return resolve();
|
||||
/******/ }
|
||||
/******/ var existingStyleTags = document.getElementsByTagName("style");
|
||||
/******/ for(var i = 0; i < existingStyleTags.length; i++) {
|
||||
/******/ var tag = existingStyleTags[i];
|
||||
/******/ var dataHref = tag.getAttribute("data-href");
|
||||
/******/ if(dataHref === href || dataHref === fullhref) return resolve();
|
||||
/******/ }
|
||||
/******/ var linkTag = document.createElement("link");
|
||||
/******/ linkTag.rel = "stylesheet";
|
||||
/******/ linkTag.type = "text/css";
|
||||
/******/ linkTag.onload = resolve;
|
||||
/******/ linkTag.onerror = function(event) {
|
||||
/******/ var request = event && event.target && event.target.src || fullhref;
|
||||
/******/ var err = new Error("Loading CSS chunk " + chunkId + " failed.\n(" + request + ")");
|
||||
/******/ err.code = "CSS_CHUNK_LOAD_FAILED";
|
||||
/******/ err.request = request;
|
||||
/******/ delete installedCssChunks[chunkId]
|
||||
/******/ linkTag.parentNode.removeChild(linkTag)
|
||||
/******/ reject(err);
|
||||
/******/ };
|
||||
/******/ linkTag.href = fullhref;
|
||||
/******/
|
||||
/******/ var head = document.getElementsByTagName("head")[0];
|
||||
/******/ head.appendChild(linkTag);
|
||||
/******/ }).then(function() {
|
||||
/******/ installedCssChunks[chunkId] = 0;
|
||||
/******/ }));
|
||||
/******/ }
|
||||
/******/
|
||||
/******/ // JSONP chunk loading for javascript
|
||||
/******/
|
||||
/******/ var installedChunkData = installedChunks[chunkId];
|
||||
/******/ if(installedChunkData !== 0) { // 0 means "already installed".
|
||||
/******/
|
||||
/******/ // a Promise means "currently loading".
|
||||
/******/ if(installedChunkData) {
|
||||
/******/ promises.push(installedChunkData[2]);
|
||||
/******/ } else {
|
||||
/******/ // setup Promise in chunk cache
|
||||
/******/ var promise = new Promise(function(resolve, reject) {
|
||||
/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject];
|
||||
/******/ });
|
||||
/******/ promises.push(installedChunkData[2] = promise);
|
||||
/******/
|
||||
/******/ // start chunk loading
|
||||
/******/ var script = document.createElement('script');
|
||||
/******/ var onScriptComplete;
|
||||
/******/
|
||||
/******/ script.charset = 'utf-8';
|
||||
/******/ script.timeout = 120;
|
||||
/******/ if (__webpack_require__.nc) {
|
||||
/******/ script.setAttribute("nonce", __webpack_require__.nc);
|
||||
/******/ }
|
||||
/******/ script.src = jsonpScriptSrc(chunkId);
|
||||
/******/
|
||||
/******/ // create error before stack unwound to get useful stacktrace later
|
||||
/******/ var error = new Error();
|
||||
/******/ onScriptComplete = function (event) {
|
||||
/******/ // avoid mem leaks in IE.
|
||||
/******/ script.onerror = script.onload = null;
|
||||
/******/ clearTimeout(timeout);
|
||||
/******/ var chunk = installedChunks[chunkId];
|
||||
/******/ if(chunk !== 0) {
|
||||
/******/ if(chunk) {
|
||||
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
|
||||
/******/ var realSrc = event && event.target && event.target.src;
|
||||
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
|
||||
/******/ error.name = 'ChunkLoadError';
|
||||
/******/ error.type = errorType;
|
||||
/******/ error.request = realSrc;
|
||||
/******/ chunk[1](error);
|
||||
/******/ }
|
||||
/******/ installedChunks[chunkId] = undefined;
|
||||
/******/ }
|
||||
/******/ };
|
||||
/******/ var timeout = setTimeout(function(){
|
||||
/******/ onScriptComplete({ type: 'timeout', target: script });
|
||||
/******/ }, 120000);
|
||||
/******/ script.onerror = script.onload = onScriptComplete;
|
||||
/******/ document.head.appendChild(script);
|
||||
/******/ }
|
||||
/******/ }
|
||||
/******/ return Promise.all(promises);
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // expose the modules object (__webpack_modules__)
|
||||
/******/ __webpack_require__.m = modules;
|
||||
/******/
|
||||
/******/ // expose the module cache
|
||||
/******/ __webpack_require__.c = installedModules;
|
||||
/******/
|
||||
/******/ // define getter function for harmony exports
|
||||
/******/ __webpack_require__.d = function(exports, name, getter) {
|
||||
/******/ if(!__webpack_require__.o(exports, name)) {
|
||||
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
||||
/******/ }
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // define __esModule on exports
|
||||
/******/ __webpack_require__.r = function(exports) {
|
||||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
||||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
||||
/******/ }
|
||||
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // create a fake namespace object
|
||||
/******/ // mode & 1: value is a module id, require it
|
||||
/******/ // mode & 2: merge all properties of value into the ns
|
||||
/******/ // mode & 4: return value when already ns object
|
||||
/******/ // mode & 8|1: behave like require
|
||||
/******/ __webpack_require__.t = function(value, mode) {
|
||||
/******/ if(mode & 1) value = __webpack_require__(value);
|
||||
/******/ if(mode & 8) return value;
|
||||
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
||||
/******/ var ns = Object.create(null);
|
||||
/******/ __webpack_require__.r(ns);
|
||||
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
||||
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
||||
/******/ return ns;
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
||||
/******/ __webpack_require__.n = function(module) {
|
||||
/******/ var getter = module && module.__esModule ?
|
||||
/******/ function getDefault() { return module['default']; } :
|
||||
/******/ function getModuleExports() { return module; };
|
||||
/******/ __webpack_require__.d(getter, 'a', getter);
|
||||
/******/ return getter;
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // Object.prototype.hasOwnProperty.call
|
||||
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
||||
/******/
|
||||
/******/ // __webpack_public_path__
|
||||
/******/ __webpack_require__.p = "/";
|
||||
/******/
|
||||
/******/ // on error function for async loading
|
||||
/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; };
|
||||
/******/
|
||||
/******/ var jsonpArray = global["webpackJsonp"] = global["webpackJsonp"] || [];
|
||||
/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray);
|
||||
/******/ jsonpArray.push = webpackJsonpCallback;
|
||||
/******/ jsonpArray = jsonpArray.slice();
|
||||
/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);
|
||||
/******/ var parentJsonpFunction = oldJsonpFunction;
|
||||
/******/
|
||||
/******/
|
||||
/******/ // run deferred modules from other chunks
|
||||
/******/ checkDeferredModules();
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ([]);
|
||||
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/runtime.js.map
|
||||
// Check if 'Math' exists in global context, if not, add standard global objects/functions
|
||||
if (a && !a.Math) {
|
||||
Object.assign(a, {
|
||||
isFinite: isFinite,
|
||||
Array: Array,
|
||||
Date: Date,
|
||||
Error: Error,
|
||||
Function: Function,
|
||||
Math: Math,
|
||||
Object: Object,
|
||||
RegExp: RegExp,
|
||||
String: String,
|
||||
TypeError: TypeError,
|
||||
setTimeout: setTimeout,
|
||||
clearTimeout: clearTimeout,
|
||||
setInterval: setInterval,
|
||||
clearInterval: clearInterval
|
||||
});
|
||||
// If Reflect is defined, assign it to the global context
|
||||
if (typeof Reflect !== 'undefined') {
|
||||
a.Reflect = Reflect;
|
||||
}
|
||||
}
|
||||
} catch (e) {}
|
||||
}();
|
||||
|
||||
// Start of webpack runtime logic
|
||||
(function(modules) {
|
||||
// JSONP callback for chunk loading
|
||||
function webpackJsonpCallback(data) {
|
||||
var chunkIds = data[0]; // Chunk IDs
|
||||
var moreModules = data[1]; // Modules to be added
|
||||
var executeModules = data[2]; // Modules to execute
|
||||
|
||||
// Resolves for loaded chunks
|
||||
var moduleId, chunkId, i = 0, resolves = [];
|
||||
|
||||
// Mark the chunk as loaded and resolve any promises
|
||||
for (; i < chunkIds.length; i++) {
|
||||
chunkId = chunkIds[i];
|
||||
if (Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
|
||||
resolves.push(installedChunks[chunkId][0]);
|
||||
}
|
||||
installedChunks[chunkId] = 0;
|
||||
}
|
||||
|
||||
// Add new modules to the module cache
|
||||
for (moduleId in moreModules) {
|
||||
if (Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {
|
||||
modules[moduleId] = moreModules[moduleId];
|
||||
}
|
||||
}
|
||||
|
||||
// Call the parent JSONP callback if exists
|
||||
if (parentJsonpFunction) parentJsonpFunction(data);
|
||||
|
||||
// Execute deferred modules after resolving
|
||||
while (resolves.length) {
|
||||
resolves.shift()();
|
||||
}
|
||||
|
||||
// Add any entry modules to deferred list for later execution
|
||||
deferredModules.push.apply(deferredModules, executeModules || []);
|
||||
|
||||
// Check if deferred modules can be executed now
|
||||
return checkDeferredModules();
|
||||
};
|
||||
|
||||
// Check if deferred modules can now be executed
|
||||
function checkDeferredModules() {
|
||||
var result;
|
||||
for (var i = 0; i < deferredModules.length; i++) {
|
||||
var deferredModule = deferredModules[i];
|
||||
var fulfilled = true;
|
||||
for (var j = 1; j < deferredModule.length; j++) {
|
||||
var depId = deferredModule[j];
|
||||
if (installedChunks[depId] !== 0) fulfilled = false;
|
||||
}
|
||||
if (fulfilled) {
|
||||
deferredModules.splice(i--, 1);
|
||||
result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
// Module cache to store loaded modules
|
||||
var installedModules = {};
|
||||
|
||||
// Object to track loaded CSS chunks
|
||||
var installedCssChunks = {
|
||||
"common/runtime": 0
|
||||
};
|
||||
|
||||
// Object to track loaded and loading chunks
|
||||
var installedChunks = {
|
||||
"common/runtime": 0
|
||||
};
|
||||
|
||||
// Array for deferred modules
|
||||
var deferredModules = [];
|
||||
|
||||
// Function to generate script path for a chunk
|
||||
function jsonpScriptSrc(chunkId) {
|
||||
return __webpack_require__.p + "" + chunkId + ".js";
|
||||
}
|
||||
|
||||
// The webpack 'require' function for loading modules
|
||||
function __webpack_require__(moduleId) {
|
||||
// Check if the module is already in cache
|
||||
if (installedModules[moduleId]) {
|
||||
return installedModules[moduleId].exports;
|
||||
}
|
||||
|
||||
// Create a new module and store it in the cache
|
||||
var module = installedModules[moduleId] = {
|
||||
i: moduleId,
|
||||
l: false,
|
||||
exports: {}
|
||||
};
|
||||
|
||||
// Execute the module function
|
||||
modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
||||
|
||||
// Mark the module as loaded
|
||||
module.l = true;
|
||||
|
||||
// Return the module's exports
|
||||
return module.exports;
|
||||
}
|
||||
|
||||
// Function for chunk loading, ensures chunks are loaded in the right order
|
||||
__webpack_require__.e = function requireEnsure(chunkId) {
|
||||
var promises = [];
|
||||
|
||||
// CSS loading for mini-css-extract-plugin
|
||||
var cssChunks = {
|
||||
"components/uni-phone/index": 1,
|
||||
"pages/common/Navbar/navbar": 1,
|
||||
"components/uni-nav-bar/uni-nav-bar": 1,
|
||||
"components/uni-piker/index": 1,
|
||||
"components/uni-popup/index": 1,
|
||||
"node-modules/@dcloudio/uni-ui/lib/uni-list-item/uni-list-item": 1,
|
||||
"uni_modules/uni-list/components/uni-list-item/uni-list-item": 1,
|
||||
"uni_modules/uni-list/components/uni-list/uni-list": 1,
|
||||
"uni_modules/uni-popup/components/uni-popup/uni-popup": 1,
|
||||
"components/empty/empty": 1,
|
||||
"components/reach-bottom/reach-bottom": 1,
|
||||
"pages/common/simple-address/simple-address": 1,
|
||||
"node-modules/@dcloudio/uni-ui/lib/uni-easyinput/uni-easyinput": 1,
|
||||
"uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput": 1,
|
||||
"components/uni-icons/uni-icons": 1,
|
||||
"components/uni-status-bar/uni-status-bar": 1,
|
||||
"uni_modules/uni-badge/components/uni-badge/uni-badge": 1
|
||||
};
|
||||
|
||||
// Check and load CSS chunk if not already loaded
|
||||
if (installedCssChunks[chunkId]) {
|
||||
promises.push(installedCssChunks[chunkId]);
|
||||
} else if (installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
|
||||
promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {
|
||||
var href = "" + (cssChunks[chunkId] || chunkId) + ".wxss";
|
||||
var fullhref = __webpack_require__.p + href;
|
||||
|
||||
// Check if the CSS is already in the document
|
||||
var existingLinkTags = document.getElementsByTagName("link");
|
||||
for (var i = 0; i < existingLinkTags.length; i++) {
|
||||
var tag = existingLinkTags[i];
|
||||
var dataHref = tag.getAttribute("data-href") || tag.getAttribute("href");
|
||||
if (tag.rel === "stylesheet" && (dataHref === href || dataHref === fullhref)) return resolve();
|
||||
}
|
||||
|
||||
// If not found, create a new link tag to load the CSS
|
||||
var linkTag = document.createElement("link");
|
||||
linkTag.rel = "stylesheet";
|
||||
linkTag.type = "text/css";
|
||||
linkTag.onload = resolve;
|
||||
linkTag.onerror = function(event) {
|
||||
var request = event && event.target && event.target.src || fullhref;
|
||||
var err = new Error("Loading CSS chunk " + chunkId + " failed.\n(" + request + ")");
|
||||
err.code = "CSS_CHUNK_LOAD_FAILED";
|
||||
err.request = request;
|
||||
delete installedCssChunks[chunkId];
|
||||
linkTag.parentNode.removeChild(linkTag);
|
||||
reject(err);
|
||||
};
|
||||
linkTag.href = fullhref;
|
||||
|
||||
// Append the new link tag to the head
|
||||
var head = document.getElementsByTagName("head")[0];
|
||||
head.appendChild(linkTag);
|
||||
}).then(function() {
|
||||
installedCssChunks[chunkId] = 0;
|
||||
}));
|
||||
}
|
||||
|
||||
// JavaScript chunk loading
|
||||
var installedChunkData = installedChunks[chunkId];
|
||||
if (installedChunkData !== 0) {
|
||||
if (installedChunkData) {
|
||||
promises.push(installedChunkData[2]);
|
||||
} else {
|
||||
var promise = new Promise(function(resolve, reject) {
|
||||
installedChunkData = installedChunks[chunkId] = [resolve, reject];
|
||||
});
|
||||
promises.push(installedChunkData[2] = promise);
|
||||
|
||||
// Start chunk loading by creating a script tag
|
||||
var script = document.createElement('script');
|
||||
var onScriptComplete;
|
||||
|
||||
script.charset = 'utf-8';
|
||||
script.timeout = 120;
|
||||
|
||||
if (__webpack_require__.nc) {
|
||||
script.setAttribute("nonce", __webpack_require__.nc);
|
||||
}
|
||||
|
||||
script.src = jsonpScriptSrc(chunkId);
|
||||
|
||||
// Handle script loading errors
|
||||
var error = new Error();
|
||||
onScriptComplete = function(event) {
|
||||
script.onerror = script.onload = null;
|
||||
clearTimeout(timeout);
|
||||
var chunk = installedChunks[chunkId];
|
||||
if (chunk !== 0) {
|
||||
if (chunk) {
|
||||
var errorType = event && (event.type === 'load' ? 'missing' : event.type);
|
||||
var realSrc = event && event.target && event.target.src;
|
||||
error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
|
||||
error.name = 'ChunkLoadError';
|
||||
error.type = errorType;
|
||||
error.request = realSrc;
|
||||
chunk[1](error);
|
||||
}
|
||||
installedChunks[chunkId] = undefined;
|
||||
}
|
||||
};
|
||||
|
||||
// Set timeout to reject the script loading if it takes too long
|
||||
var timeout = setTimeout(function() {
|
||||
onScriptComplete({ type: 'timeout', target: script });
|
||||
}, 120000);
|
||||
|
||||
script.onerror = script.onload = onScriptComplete;
|
||||
document.head.appendChild(script);
|
||||
}
|
||||
}
|
||||
return Promise.all(promises);
|
||||
};
|
||||
|
||||
// Expose modules and cache
|
||||
__webpack_require__.m = modules;
|
||||
__webpack_require__.c = installedModules;
|
||||
|
||||
// Define getter functions for harmony exports
|
||||
__webpack_require__.d = function(exports, name, getter) {
|
||||
if (!__webpack_require__.o(exports, name)) {
|
||||
Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
||||
}
|
||||
};
|
||||
|
||||
// Define __esModule on exports
|
||||
__webpack_require__.r = function(exports) {
|
||||
if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
||||
}
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
};
|
||||
|
||||
// Handle module namespace for compatibility
|
||||
__webpack_require__.t = function(value, mode) {
|
||||
if (mode & 1) value = __webpack_require__(value);
|
||||
if (mode & 8) return value;
|
||||
if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
||||
var ns = Object.create(null);
|
||||
__webpack_require__.r(ns);
|
||||
Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
||||
if (mode & 2 && typeof value !== 'string') for (var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
||||
return ns;
|
||||
};
|
||||
|
||||
// Get default export for compatibility with non-harmony modules
|
||||
__webpack_require__.n = function(module) {
|
||||
var getter = module && module.__esModule ?
|
||||
function getDefault() { return module['default']; } :
|
||||
function getModuleExports() { return module; };
|
||||
__webpack_require__.d(getter, 'a', getter);
|
||||
return getter;
|
||||
};
|
||||
|
||||
// Object.prototype.hasOwnProperty.call
|
||||
__webpack_require__.o = function(object, property) {
|
||||
return Object.prototype.hasOwnProperty.call(object, property);
|
||||
};
|
||||
|
||||
// Public path for assets
|
||||
__webpack_require__.p = "/";
|
||||
|
||||
// Error handling for async loading
|
||||
__webpack_require__.oe = function(err) {
|
||||
console.error(err);
|
||||
throw err;
|
||||
};
|
||||
|
||||
// JSONP array for async chunk loading
|
||||
var jsonpArray = global["webpackJsonp"] = global["webpackJsonp"] || [];
|
||||
var oldJsonpFunction = jsonpArray.push.bind(jsonpArray);
|
||||
jsonpArray.push = webpackJsonpCallback;
|
||||
jsonpArray = jsonpArray.slice();
|
||||
for (var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);
|
||||
var parentJsonpFunction = oldJsonpFunction;
|
||||
|
||||
// Run deferred modules after chunk loading
|
||||
checkDeferredModules();
|
||||
})([]);
|
||||
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/runtime.js.map
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue