vendors-node_modules_taro_weapp_prebundle_chunk-6GAVBEBQ_js.js 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494
  1. "use strict";
  2. (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["vendors-node_modules_taro_weapp_prebundle_chunk-6GAVBEBQ_js"],{
  3. /***/ "./node_modules/.taro/weapp/prebundle/chunk-6GAVBEBQ.js":
  4. /*!**************************************************************!*\
  5. !*** ./node_modules/.taro/weapp/prebundle/chunk-6GAVBEBQ.js ***!
  6. \**************************************************************/
  7. /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
  8. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  9. /* harmony export */ require_taro: function() { return /* binding */ require_taro; }
  10. /* harmony export */ });
  11. /* harmony import */ var _chunk_3EXGJ5BE_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-3EXGJ5BE.js */ "./node_modules/.taro/weapp/prebundle/chunk-3EXGJ5BE.js");
  12. /* harmony import */ var _chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-77KB62LY.js */ "./node_modules/.taro/weapp/prebundle/chunk-77KB62LY.js");
  13. /* harmony import */ var _chunk_SOUSFT7N_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-SOUSFT7N.js */ "./node_modules/.taro/weapp/prebundle/chunk-SOUSFT7N.js");
  14. /* harmony import */ var _chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./chunk-P7VEE7PG.js */ "./node_modules/.taro/weapp/prebundle/chunk-P7VEE7PG.js");
  15. // node_modules/@babel/runtime/helpers/esm/defineProperty.js
  16. function _defineProperty(obj, key, value) {
  17. key = (0,_chunk_SOUSFT7N_js__WEBPACK_IMPORTED_MODULE_2__._toPropertyKey)(key);
  18. if (key in obj) {
  19. Object.defineProperty(obj, key, {
  20. value,
  21. enumerable: true,
  22. configurable: true,
  23. writable: true
  24. });
  25. } else {
  26. obj[key] = value;
  27. }
  28. return obj;
  29. }
  30. var init_defineProperty = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_3__.__esm)({
  31. "node_modules/@babel/runtime/helpers/esm/defineProperty.js" () {
  32. (0,_chunk_SOUSFT7N_js__WEBPACK_IMPORTED_MODULE_2__.init_toPropertyKey)();
  33. }
  34. });
  35. // node_modules/@babel/runtime/helpers/esm/objectSpread2.js
  36. function ownKeys(e, r) {
  37. var t = Object.keys(e);
  38. if (Object.getOwnPropertySymbols) {
  39. var o = Object.getOwnPropertySymbols(e);
  40. r && (o = o.filter(function(r2) {
  41. return Object.getOwnPropertyDescriptor(e, r2).enumerable;
  42. })), t.push.apply(t, o);
  43. }
  44. return t;
  45. }
  46. function _objectSpread2(e) {
  47. for(var r = 1; r < arguments.length; r++){
  48. var t = null != arguments[r] ? arguments[r] : {};
  49. r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {
  50. _defineProperty(e, r2, t[r2]);
  51. }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
  52. Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
  53. });
  54. }
  55. return e;
  56. }
  57. var init_objectSpread2 = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_3__.__esm)({
  58. "node_modules/@babel/runtime/helpers/esm/objectSpread2.js" () {
  59. init_defineProperty();
  60. }
  61. });
  62. // node_modules/@tarojs/api/dist/index.esm.js
  63. var index_esm_exports = {};
  64. (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_3__.__export)(index_esm_exports, {
  65. default: ()=>Taro
  66. });
  67. function isFunction(x) {
  68. return typeof x === "function";
  69. }
  70. function isUndefined(x) {
  71. return typeof x === "undefined";
  72. }
  73. function isObject(x) {
  74. return x && (0,_chunk_SOUSFT7N_js__WEBPACK_IMPORTED_MODULE_2__._typeof)(x) === "object";
  75. }
  76. function throwTypeError(s) {
  77. throw new TypeError(s);
  78. }
  79. function getEnv() {
  80. if (true) {
  81. return ENV_TYPE.WEAPP;
  82. } else {}
  83. }
  84. function interceptorify(promiseifyApi) {
  85. return new Link(function(chain) {
  86. return promiseifyApi(chain.requestParams);
  87. });
  88. }
  89. function timeoutInterceptor(chain) {
  90. var requestParams = chain.requestParams;
  91. var p;
  92. var res = new Promise(function(resolve, reject) {
  93. var timeout = setTimeout(function() {
  94. timeout = null;
  95. reject(new Error("\u7F51\u7EDC\u94FE\u63A5\u8D85\u65F6,\u8BF7\u7A0D\u540E\u518D\u8BD5\uFF01"));
  96. }, requestParams && requestParams.timeout || 6e4);
  97. p = chain.proceed(requestParams);
  98. p.then(function(res2) {
  99. if (!timeout) return;
  100. clearTimeout(timeout);
  101. resolve(res2);
  102. }).catch(function(err) {
  103. timeout && clearTimeout(timeout);
  104. reject(err);
  105. });
  106. });
  107. if (!isUndefined(p) && isFunction(p.abort)) res.abort = p.abort;
  108. return res;
  109. }
  110. function logInterceptor(chain) {
  111. var requestParams = chain.requestParams;
  112. var method = requestParams.method, data = requestParams.data, url = requestParams.url;
  113. console.log("http ".concat(method || "GET", " --> ").concat(url, " data: "), data);
  114. var p = chain.proceed(requestParams);
  115. var res = p.then(function(res2) {
  116. console.log("http <-- ".concat(url, " result:"), res2);
  117. return res2;
  118. });
  119. if (isFunction(p.abort)) res.abort = p.abort;
  120. return res;
  121. }
  122. function Behavior(options2) {
  123. return options2;
  124. }
  125. function getPreload(current) {
  126. return function(key, val) {
  127. current.preloadData = isObject(key) ? key : _defineProperty({}, key, val);
  128. };
  129. }
  130. function getInitPxTransform(taro) {
  131. return function(config) {
  132. var _config$designWidth = config.designWidth, designWidth = _config$designWidth === void 0 ? defaultDesignWidth : _config$designWidth, _config$deviceRatio = config.deviceRatio, deviceRatio = _config$deviceRatio === void 0 ? defaultDesignRatio : _config$deviceRatio, _config$baseFontSize = config.baseFontSize, baseFontSize = _config$baseFontSize === void 0 ? defaultBaseFontSize : _config$baseFontSize, _config$targetUnit = config.targetUnit, targetUnit = _config$targetUnit === void 0 ? defaultTargetUnit : _config$targetUnit, _config$unitPrecision = config.unitPrecision, unitPrecision = _config$unitPrecision === void 0 ? defaultUnitPrecision : _config$unitPrecision;
  133. taro.config = taro.config || {};
  134. taro.config.designWidth = designWidth;
  135. taro.config.deviceRatio = deviceRatio;
  136. taro.config.baseFontSize = baseFontSize;
  137. taro.config.targetUnit = targetUnit;
  138. taro.config.unitPrecision = unitPrecision;
  139. };
  140. }
  141. function getPxTransform(taro) {
  142. return function(size) {
  143. var config = taro.config || {};
  144. var baseFontSize = config.baseFontSize;
  145. var deviceRatio = config.deviceRatio || defaultDesignRatio;
  146. var designWidth = function() {
  147. var input = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
  148. return isFunction(config.designWidth) ? config.designWidth(input) : config.designWidth || defaultDesignWidth;
  149. }(size);
  150. if (!(designWidth in deviceRatio)) {
  151. throw new Error("deviceRatio \u914D\u7F6E\u4E2D\u4E0D\u5B58\u5728 ".concat(designWidth, " \u7684\u8BBE\u7F6E\uFF01"));
  152. }
  153. var targetUnit = config.targetUnit || defaultTargetUnit;
  154. var unitPrecision = config.unitPrecision || defaultUnitPrecision;
  155. var formatSize = ~~size;
  156. var rootValue = 1 / deviceRatio[designWidth];
  157. switch(targetUnit){
  158. case "rem":
  159. rootValue *= baseFontSize * 2;
  160. break;
  161. case "px":
  162. rootValue *= 2;
  163. break;
  164. }
  165. var val = formatSize / rootValue;
  166. if (unitPrecision >= 0 && unitPrecision <= 100) {
  167. val = Number(val.toFixed(unitPrecision));
  168. }
  169. return val + targetUnit;
  170. };
  171. }
  172. var isBadObj, ENV_TYPE, isWeb, Chain, Link, interceptors, defaultDesignWidth, defaultDesignRatio, defaultBaseFontSize, defaultUnitPrecision, defaultTargetUnit, Taro;
  173. var init_index_esm = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_3__.__esm)({
  174. "node_modules/@tarojs/api/dist/index.esm.js" () {
  175. (0,_chunk_SOUSFT7N_js__WEBPACK_IMPORTED_MODULE_2__.init_typeof)();
  176. (0,_chunk_3EXGJ5BE_js__WEBPACK_IMPORTED_MODULE_0__.init_runtime_esm)();
  177. (0,_chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.init_shared_esm)();
  178. init_objectSpread2();
  179. (0,_chunk_SOUSFT7N_js__WEBPACK_IMPORTED_MODULE_2__.init_classCallCheck)();
  180. (0,_chunk_SOUSFT7N_js__WEBPACK_IMPORTED_MODULE_2__.init_createClass)();
  181. init_defineProperty();
  182. isBadObj = function isBadObj2(x) {
  183. return !isObject(x);
  184. };
  185. if (!isFunction(Object.assign)) {
  186. Object.assign = function(target) {
  187. if (target == null) {
  188. throwTypeError("Cannot convert undefined or null to object");
  189. }
  190. var to = Object(target);
  191. for(var index = 1; index < arguments.length; index++){
  192. var nextSource = arguments[index];
  193. if (nextSource != null) {
  194. for(var nextKey in nextSource){
  195. if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {
  196. to[nextKey] = nextSource[nextKey];
  197. }
  198. }
  199. }
  200. }
  201. return to;
  202. };
  203. }
  204. if (!isFunction(Object.defineProperties)) {
  205. Object.defineProperties = function(obj, properties) {
  206. function convertToDescriptor(desc) {
  207. function hasProperty(obj2, prop) {
  208. return Object.prototype.hasOwnProperty.call(obj2, prop);
  209. }
  210. if (isBadObj(desc)) {
  211. throwTypeError("bad desc");
  212. }
  213. var d = {};
  214. if (hasProperty(desc, "enumerable")) d.enumerable = !!desc.enumerable;
  215. if (hasProperty(desc, "configurable")) {
  216. d.configurable = !!desc.configurable;
  217. }
  218. if (hasProperty(desc, "value")) d.value = desc.value;
  219. if (hasProperty(desc, "writable")) d.writable = !!desc.writable;
  220. if (hasProperty(desc, "get")) {
  221. var g = desc.get;
  222. if (!isFunction(g) && !isUndefined(g)) {
  223. throwTypeError("bad get");
  224. }
  225. d.get = g;
  226. }
  227. if (hasProperty(desc, "set")) {
  228. var s = desc.set;
  229. if (!isFunction(s) && !isUndefined(s)) {
  230. throwTypeError("bad set");
  231. }
  232. d.set = s;
  233. }
  234. if (("get" in d || "set" in d) && ("value" in d || "writable" in d)) {
  235. throwTypeError("identity-confused descriptor");
  236. }
  237. return d;
  238. }
  239. if (isBadObj(obj)) throwTypeError("bad obj");
  240. properties = Object(properties);
  241. var keys = Object.keys(properties);
  242. var descs = [];
  243. for(var i = 0; i < keys.length; i++){
  244. descs.push([
  245. keys[i],
  246. convertToDescriptor(properties[keys[i]])
  247. ]);
  248. }
  249. for(var _i = 0; _i < descs.length; _i++){
  250. Object.defineProperty(obj, descs[_i][0], descs[_i][1]);
  251. }
  252. return obj;
  253. };
  254. }
  255. ENV_TYPE = {
  256. WEAPP: "WEAPP",
  257. SWAN: "SWAN",
  258. ALIPAY: "ALIPAY",
  259. TT: "TT",
  260. QQ: "QQ",
  261. JD: "JD",
  262. WEB: "WEB",
  263. RN: "RN",
  264. HARMONY: "HARMONY",
  265. QUICKAPP: "QUICKAPP"
  266. };
  267. isWeb = (0,_chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.isWebPlatform)();
  268. Chain = function() {
  269. function Chain2(requestParams, interceptors2, index) {
  270. (0,_chunk_SOUSFT7N_js__WEBPACK_IMPORTED_MODULE_2__._classCallCheck)(this, Chain2);
  271. this.index = index || 0;
  272. this.requestParams = requestParams;
  273. this.interceptors = interceptors2 || [];
  274. }
  275. (0,_chunk_SOUSFT7N_js__WEBPACK_IMPORTED_MODULE_2__._createClass)(Chain2, [
  276. {
  277. key: "proceed",
  278. value: function proceed(requestParams) {
  279. this.requestParams = requestParams;
  280. if (this.index >= this.interceptors.length) {
  281. throw new Error("chain \u53C2\u6570\u9519\u8BEF, \u8BF7\u52FF\u76F4\u63A5\u4FEE\u6539 request.chain");
  282. }
  283. var nextInterceptor = this._getNextInterceptor();
  284. var nextChain = this._getNextChain();
  285. var p = nextInterceptor(nextChain);
  286. var res = p.catch(function(err) {
  287. return Promise.reject(err);
  288. });
  289. Object.keys(p).forEach(function(k) {
  290. return isFunction(p[k]) && (res[k] = p[k]);
  291. });
  292. return res;
  293. }
  294. },
  295. {
  296. key: "_getNextInterceptor",
  297. value: function _getNextInterceptor() {
  298. return this.interceptors[this.index];
  299. }
  300. },
  301. {
  302. key: "_getNextChain",
  303. value: function _getNextChain() {
  304. return new Chain2(this.requestParams, this.interceptors, this.index + 1);
  305. }
  306. }
  307. ]);
  308. return Chain2;
  309. }();
  310. Link = function() {
  311. function Link2(interceptor) {
  312. (0,_chunk_SOUSFT7N_js__WEBPACK_IMPORTED_MODULE_2__._classCallCheck)(this, Link2);
  313. this.taroInterceptor = interceptor;
  314. this.chain = new Chain();
  315. }
  316. (0,_chunk_SOUSFT7N_js__WEBPACK_IMPORTED_MODULE_2__._createClass)(Link2, [
  317. {
  318. key: "request",
  319. value: function request(requestParams) {
  320. var chain = this.chain;
  321. var taroInterceptor = this.taroInterceptor;
  322. chain.interceptors = chain.interceptors.filter(function(interceptor) {
  323. return interceptor !== taroInterceptor;
  324. }).concat(taroInterceptor);
  325. return chain.proceed(_objectSpread2({}, requestParams));
  326. }
  327. },
  328. {
  329. key: "addInterceptor",
  330. value: function addInterceptor(interceptor) {
  331. this.chain.interceptors.push(interceptor);
  332. }
  333. },
  334. {
  335. key: "cleanInterceptors",
  336. value: function cleanInterceptors() {
  337. this.chain = new Chain();
  338. }
  339. }
  340. ]);
  341. return Link2;
  342. }();
  343. interceptors = Object.freeze({
  344. __proto__: null,
  345. timeoutInterceptor,
  346. logInterceptor
  347. });
  348. defaultDesignWidth = 750;
  349. defaultDesignRatio = {
  350. 640: 2.34 / 2,
  351. 750: 1,
  352. 828: 1.81 / 2
  353. };
  354. defaultBaseFontSize = 20;
  355. defaultUnitPrecision = 5;
  356. defaultTargetUnit = "rpx";
  357. Taro = {
  358. Behavior,
  359. getEnv,
  360. ENV_TYPE,
  361. Link,
  362. interceptors,
  363. Current: _chunk_3EXGJ5BE_js__WEBPACK_IMPORTED_MODULE_0__.Current,
  364. getCurrentInstance: _chunk_3EXGJ5BE_js__WEBPACK_IMPORTED_MODULE_0__.getCurrentInstance,
  365. options: _chunk_3EXGJ5BE_js__WEBPACK_IMPORTED_MODULE_0__.options,
  366. nextTick: _chunk_3EXGJ5BE_js__WEBPACK_IMPORTED_MODULE_0__.nextTick,
  367. eventCenter: _chunk_3EXGJ5BE_js__WEBPACK_IMPORTED_MODULE_0__.eventCenter,
  368. Events: _chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.Events,
  369. getInitPxTransform,
  370. interceptorify
  371. };
  372. Taro.initPxTransform = getInitPxTransform(Taro);
  373. Taro.preload = getPreload(_chunk_3EXGJ5BE_js__WEBPACK_IMPORTED_MODULE_0__.Current);
  374. Taro.pxTransform = getPxTransform(Taro);
  375. }
  376. });
  377. // node_modules/@tarojs/taro/index.js
  378. var require_taro = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_3__.__commonJS)({
  379. "node_modules/@tarojs/taro/index.js" (exports, module) {
  380. var { hooks } = ((0,_chunk_3EXGJ5BE_js__WEBPACK_IMPORTED_MODULE_0__.init_runtime_esm)(), (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_3__.__toCommonJS)(_chunk_3EXGJ5BE_js__WEBPACK_IMPORTED_MODULE_0__.runtime_esm_exports));
  381. var taro = (init_index_esm(), (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_3__.__toCommonJS)(index_esm_exports)).default;
  382. if (hooks.isExist("initNativeApi")) {
  383. hooks.call("initNativeApi", taro);
  384. }
  385. module.exports = taro;
  386. module.exports.default = module.exports;
  387. }
  388. });
  389. /***/ }),
  390. /***/ "./node_modules/.taro/weapp/prebundle/chunk-SOUSFT7N.js":
  391. /*!**************************************************************!*\
  392. !*** ./node_modules/.taro/weapp/prebundle/chunk-SOUSFT7N.js ***!
  393. \**************************************************************/
  394. /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
  395. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  396. /* harmony export */ _classCallCheck: function() { return /* binding */ _classCallCheck; },
  397. /* harmony export */ _createClass: function() { return /* binding */ _createClass; },
  398. /* harmony export */ _toPropertyKey: function() { return /* binding */ _toPropertyKey; },
  399. /* harmony export */ _typeof: function() { return /* binding */ _typeof; },
  400. /* harmony export */ init_classCallCheck: function() { return /* binding */ init_classCallCheck; },
  401. /* harmony export */ init_createClass: function() { return /* binding */ init_createClass; },
  402. /* harmony export */ init_toPropertyKey: function() { return /* binding */ init_toPropertyKey; },
  403. /* harmony export */ init_typeof: function() { return /* binding */ init_typeof; }
  404. /* harmony export */ });
  405. /* harmony import */ var _chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-P7VEE7PG.js */ "./node_modules/.taro/weapp/prebundle/chunk-P7VEE7PG.js");
  406. // node_modules/@babel/runtime/helpers/esm/classCallCheck.js
  407. function _classCallCheck(instance, Constructor) {
  408. if (!(instance instanceof Constructor)) {
  409. throw new TypeError("Cannot call a class as a function");
  410. }
  411. }
  412. var init_classCallCheck = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_0__.__esm)({
  413. "node_modules/@babel/runtime/helpers/esm/classCallCheck.js" () {}
  414. });
  415. // node_modules/@babel/runtime/helpers/esm/typeof.js
  416. function _typeof(o) {
  417. "@babel/helpers - typeof";
  418. return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
  419. return typeof o2;
  420. } : function(o2) {
  421. return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
  422. }, _typeof(o);
  423. }
  424. var init_typeof = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_0__.__esm)({
  425. "node_modules/@babel/runtime/helpers/esm/typeof.js" () {}
  426. });
  427. // node_modules/@babel/runtime/helpers/esm/toPrimitive.js
  428. function _toPrimitive(input, hint) {
  429. if (_typeof(input) !== "object" || input === null) return input;
  430. var prim = input[Symbol.toPrimitive];
  431. if (prim !== void 0) {
  432. var res = prim.call(input, hint || "default");
  433. if (_typeof(res) !== "object") return res;
  434. throw new TypeError("@@toPrimitive must return a primitive value.");
  435. }
  436. return (hint === "string" ? String : Number)(input);
  437. }
  438. var init_toPrimitive = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_0__.__esm)({
  439. "node_modules/@babel/runtime/helpers/esm/toPrimitive.js" () {
  440. init_typeof();
  441. }
  442. });
  443. // node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
  444. function _toPropertyKey(arg) {
  445. var key = _toPrimitive(arg, "string");
  446. return _typeof(key) === "symbol" ? key : String(key);
  447. }
  448. var init_toPropertyKey = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_0__.__esm)({
  449. "node_modules/@babel/runtime/helpers/esm/toPropertyKey.js" () {
  450. init_typeof();
  451. init_toPrimitive();
  452. }
  453. });
  454. // node_modules/@babel/runtime/helpers/esm/createClass.js
  455. function _defineProperties(target, props) {
  456. for(var i = 0; i < props.length; i++){
  457. var descriptor = props[i];
  458. descriptor.enumerable = descriptor.enumerable || false;
  459. descriptor.configurable = true;
  460. if ("value" in descriptor) descriptor.writable = true;
  461. Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
  462. }
  463. }
  464. function _createClass(Constructor, protoProps, staticProps) {
  465. if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  466. if (staticProps) _defineProperties(Constructor, staticProps);
  467. Object.defineProperty(Constructor, "prototype", {
  468. writable: false
  469. });
  470. return Constructor;
  471. }
  472. var init_createClass = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_0__.__esm)({
  473. "node_modules/@babel/runtime/helpers/esm/createClass.js" () {
  474. init_toPropertyKey();
  475. }
  476. });
  477. /***/ })
  478. }]);