runtime.js 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. !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){}}();
  2. /******/ (function(modules) { // webpackBootstrap
  3. /******/ // install a JSONP callback for chunk loading
  4. /******/ function webpackJsonpCallback(data) {
  5. /******/ var chunkIds = data[0];
  6. /******/ var moreModules = data[1];
  7. /******/ var executeModules = data[2];
  8. /******/
  9. /******/ // add "moreModules" to the modules object,
  10. /******/ // then flag all "chunkIds" as loaded and fire callback
  11. /******/ var moduleId, chunkId, i = 0, resolves = [];
  12. /******/ for(;i < chunkIds.length; i++) {
  13. /******/ chunkId = chunkIds[i];
  14. /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
  15. /******/ resolves.push(installedChunks[chunkId][0]);
  16. /******/ }
  17. /******/ installedChunks[chunkId] = 0;
  18. /******/ }
  19. /******/ for(moduleId in moreModules) {
  20. /******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {
  21. /******/ modules[moduleId] = moreModules[moduleId];
  22. /******/ }
  23. /******/ }
  24. /******/ if(parentJsonpFunction) parentJsonpFunction(data);
  25. /******/
  26. /******/ while(resolves.length) {
  27. /******/ resolves.shift()();
  28. /******/ }
  29. /******/
  30. /******/ // add entry modules from loaded chunk to deferred list
  31. /******/ deferredModules.push.apply(deferredModules, executeModules || []);
  32. /******/
  33. /******/ // run deferred modules when all chunks ready
  34. /******/ return checkDeferredModules();
  35. /******/ };
  36. /******/ function checkDeferredModules() {
  37. /******/ var result;
  38. /******/ for(var i = 0; i < deferredModules.length; i++) {
  39. /******/ var deferredModule = deferredModules[i];
  40. /******/ var fulfilled = true;
  41. /******/ for(var j = 1; j < deferredModule.length; j++) {
  42. /******/ var depId = deferredModule[j];
  43. /******/ if(installedChunks[depId] !== 0) fulfilled = false;
  44. /******/ }
  45. /******/ if(fulfilled) {
  46. /******/ deferredModules.splice(i--, 1);
  47. /******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
  48. /******/ }
  49. /******/ }
  50. /******/
  51. /******/ return result;
  52. /******/ }
  53. /******/
  54. /******/ // The module cache
  55. /******/ var installedModules = {};
  56. /******/
  57. /******/ // object to store loaded CSS chunks
  58. /******/ var installedCssChunks = {
  59. /******/ "common/runtime": 0
  60. /******/ }
  61. /******/
  62. /******/ // object to store loaded and loading chunks
  63. /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
  64. /******/ // Promise = chunk loading, 0 = chunk loaded
  65. /******/ var installedChunks = {
  66. /******/ "common/runtime": 0
  67. /******/ };
  68. /******/
  69. /******/ var deferredModules = [];
  70. /******/
  71. /******/ // script path function
  72. /******/ function jsonpScriptSrc(chunkId) {
  73. /******/ return __webpack_require__.p + "" + chunkId + ".js"
  74. /******/ }
  75. /******/
  76. /******/ // The require function
  77. /******/ function __webpack_require__(moduleId) {
  78. /******/
  79. /******/ // Check if module is in cache
  80. /******/ if(installedModules[moduleId]) {
  81. /******/ return installedModules[moduleId].exports;
  82. /******/ }
  83. /******/ // Create a new module (and put it into the cache)
  84. /******/ var module = installedModules[moduleId] = {
  85. /******/ i: moduleId,
  86. /******/ l: false,
  87. /******/ exports: {}
  88. /******/ };
  89. /******/
  90. /******/ // Execute the module function
  91. /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  92. /******/
  93. /******/ // Flag the module as loaded
  94. /******/ module.l = true;
  95. /******/
  96. /******/ // Return the exports of the module
  97. /******/ return module.exports;
  98. /******/ }
  99. /******/
  100. /******/ // This file contains only the entry chunk.
  101. /******/ // The chunk loading function for additional chunks
  102. /******/ __webpack_require__.e = function requireEnsure(chunkId) {
  103. /******/ var promises = [];
  104. /******/
  105. /******/
  106. /******/ // mini-css-extract-plugin CSS loading
  107. /******/ var cssChunks = {"components/shop-card/shop-card":1,"components/my-login/my-login":1,"components/my-userinfo/my-userinfo":1,"components/order-list/order-list":1,"components/my-card/my-card":1};
  108. /******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
  109. /******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
  110. /******/ promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {
  111. /******/ var href = "" + ({"components/shop-card/shop-card":"components/shop-card/shop-card","components/my-login/my-login":"components/my-login/my-login","components/my-userinfo/my-userinfo":"components/my-userinfo/my-userinfo","components/order-list/order-list":"components/order-list/order-list","components/orders/order-all/order-all":"components/orders/order-all/order-all","components/my-card/my-card":"components/my-card/my-card","components/orders/order-card/order-card":"components/orders/order-card/order-card"}[chunkId]||chunkId) + ".wxss";
  112. /******/ var fullhref = __webpack_require__.p + href;
  113. /******/ var existingLinkTags = document.getElementsByTagName("link");
  114. /******/ for(var i = 0; i < existingLinkTags.length; i++) {
  115. /******/ var tag = existingLinkTags[i];
  116. /******/ var dataHref = tag.getAttribute("data-href") || tag.getAttribute("href");
  117. /******/ if(tag.rel === "stylesheet" && (dataHref === href || dataHref === fullhref)) return resolve();
  118. /******/ }
  119. /******/ var existingStyleTags = document.getElementsByTagName("style");
  120. /******/ for(var i = 0; i < existingStyleTags.length; i++) {
  121. /******/ var tag = existingStyleTags[i];
  122. /******/ var dataHref = tag.getAttribute("data-href");
  123. /******/ if(dataHref === href || dataHref === fullhref) return resolve();
  124. /******/ }
  125. /******/ var linkTag = document.createElement("link");
  126. /******/ linkTag.rel = "stylesheet";
  127. /******/ linkTag.type = "text/css";
  128. /******/ linkTag.onload = resolve;
  129. /******/ linkTag.onerror = function(event) {
  130. /******/ var request = event && event.target && event.target.src || fullhref;
  131. /******/ var err = new Error("Loading CSS chunk " + chunkId + " failed.\n(" + request + ")");
  132. /******/ err.code = "CSS_CHUNK_LOAD_FAILED";
  133. /******/ err.request = request;
  134. /******/ delete installedCssChunks[chunkId]
  135. /******/ linkTag.parentNode.removeChild(linkTag)
  136. /******/ reject(err);
  137. /******/ };
  138. /******/ linkTag.href = fullhref;
  139. /******/
  140. /******/ var head = document.getElementsByTagName("head")[0];
  141. /******/ head.appendChild(linkTag);
  142. /******/ }).then(function() {
  143. /******/ installedCssChunks[chunkId] = 0;
  144. /******/ }));
  145. /******/ }
  146. /******/
  147. /******/ // JSONP chunk loading for javascript
  148. /******/
  149. /******/ var installedChunkData = installedChunks[chunkId];
  150. /******/ if(installedChunkData !== 0) { // 0 means "already installed".
  151. /******/
  152. /******/ // a Promise means "currently loading".
  153. /******/ if(installedChunkData) {
  154. /******/ promises.push(installedChunkData[2]);
  155. /******/ } else {
  156. /******/ // setup Promise in chunk cache
  157. /******/ var promise = new Promise(function(resolve, reject) {
  158. /******/ installedChunkData = installedChunks[chunkId] = [resolve, reject];
  159. /******/ });
  160. /******/ promises.push(installedChunkData[2] = promise);
  161. /******/
  162. /******/ // start chunk loading
  163. /******/ var script = document.createElement('script');
  164. /******/ var onScriptComplete;
  165. /******/
  166. /******/ script.charset = 'utf-8';
  167. /******/ script.timeout = 120;
  168. /******/ if (__webpack_require__.nc) {
  169. /******/ script.setAttribute("nonce", __webpack_require__.nc);
  170. /******/ }
  171. /******/ script.src = jsonpScriptSrc(chunkId);
  172. /******/
  173. /******/ // create error before stack unwound to get useful stacktrace later
  174. /******/ var error = new Error();
  175. /******/ onScriptComplete = function (event) {
  176. /******/ // avoid mem leaks in IE.
  177. /******/ script.onerror = script.onload = null;
  178. /******/ clearTimeout(timeout);
  179. /******/ var chunk = installedChunks[chunkId];
  180. /******/ if(chunk !== 0) {
  181. /******/ if(chunk) {
  182. /******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
  183. /******/ var realSrc = event && event.target && event.target.src;
  184. /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
  185. /******/ error.name = 'ChunkLoadError';
  186. /******/ error.type = errorType;
  187. /******/ error.request = realSrc;
  188. /******/ chunk[1](error);
  189. /******/ }
  190. /******/ installedChunks[chunkId] = undefined;
  191. /******/ }
  192. /******/ };
  193. /******/ var timeout = setTimeout(function(){
  194. /******/ onScriptComplete({ type: 'timeout', target: script });
  195. /******/ }, 120000);
  196. /******/ script.onerror = script.onload = onScriptComplete;
  197. /******/ document.head.appendChild(script);
  198. /******/ }
  199. /******/ }
  200. /******/ return Promise.all(promises);
  201. /******/ };
  202. /******/
  203. /******/ // expose the modules object (__webpack_modules__)
  204. /******/ __webpack_require__.m = modules;
  205. /******/
  206. /******/ // expose the module cache
  207. /******/ __webpack_require__.c = installedModules;
  208. /******/
  209. /******/ // define getter function for harmony exports
  210. /******/ __webpack_require__.d = function(exports, name, getter) {
  211. /******/ if(!__webpack_require__.o(exports, name)) {
  212. /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
  213. /******/ }
  214. /******/ };
  215. /******/
  216. /******/ // define __esModule on exports
  217. /******/ __webpack_require__.r = function(exports) {
  218. /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
  219. /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
  220. /******/ }
  221. /******/ Object.defineProperty(exports, '__esModule', { value: true });
  222. /******/ };
  223. /******/
  224. /******/ // create a fake namespace object
  225. /******/ // mode & 1: value is a module id, require it
  226. /******/ // mode & 2: merge all properties of value into the ns
  227. /******/ // mode & 4: return value when already ns object
  228. /******/ // mode & 8|1: behave like require
  229. /******/ __webpack_require__.t = function(value, mode) {
  230. /******/ if(mode & 1) value = __webpack_require__(value);
  231. /******/ if(mode & 8) return value;
  232. /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
  233. /******/ var ns = Object.create(null);
  234. /******/ __webpack_require__.r(ns);
  235. /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
  236. /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
  237. /******/ return ns;
  238. /******/ };
  239. /******/
  240. /******/ // getDefaultExport function for compatibility with non-harmony modules
  241. /******/ __webpack_require__.n = function(module) {
  242. /******/ var getter = module && module.__esModule ?
  243. /******/ function getDefault() { return module['default']; } :
  244. /******/ function getModuleExports() { return module; };
  245. /******/ __webpack_require__.d(getter, 'a', getter);
  246. /******/ return getter;
  247. /******/ };
  248. /******/
  249. /******/ // Object.prototype.hasOwnProperty.call
  250. /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
  251. /******/
  252. /******/ // __webpack_public_path__
  253. /******/ __webpack_require__.p = "/";
  254. /******/
  255. /******/ // on error function for async loading
  256. /******/ __webpack_require__.oe = function(err) { console.error(err); throw err; };
  257. /******/
  258. /******/ var jsonpArray = global["webpackJsonp"] = global["webpackJsonp"] || [];
  259. /******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray);
  260. /******/ jsonpArray.push = webpackJsonpCallback;
  261. /******/ jsonpArray = jsonpArray.slice();
  262. /******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);
  263. /******/ var parentJsonpFunction = oldJsonpFunction;
  264. /******/
  265. /******/
  266. /******/ // run deferred modules from other chunks
  267. /******/ checkDeferredModules();
  268. /******/ })
  269. /************************************************************************/
  270. /******/ ([]);
  271. //# sourceMappingURL=../../.sourcemap/mp-weixin/common/runtime.js.map