v-product-details-page 0.1.21 → 0.1.22
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/vComponents.common.js +81 -1224
- package/dist/vComponents.common.js.map +1 -1
- package/dist/vComponents.umd.js +81 -1224
- package/dist/vComponents.umd.js.map +1 -1
- package/dist/vComponents.umd.min.js +1 -1
- package/dist/vComponents.umd.min.js.map +1 -1
- package/package-lock.json +6 -1
- package/package.json +2 -1
- package/src/ProductDescription.vue +88 -52
- package/src/main.js +3 -2
@@ -87,21 +87,6 @@ module.exports =
|
|
87
87
|
/************************************************************************/
|
88
88
|
/******/ ({
|
89
89
|
|
90
|
-
/***/ "00ee":
|
91
|
-
/***/ (function(module, exports, __webpack_require__) {
|
92
|
-
|
93
|
-
var wellKnownSymbol = __webpack_require__("b622");
|
94
|
-
|
95
|
-
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
96
|
-
var test = {};
|
97
|
-
|
98
|
-
test[TO_STRING_TAG] = 'z';
|
99
|
-
|
100
|
-
module.exports = String(test) === '[object z]';
|
101
|
-
|
102
|
-
|
103
|
-
/***/ }),
|
104
|
-
|
105
90
|
/***/ "0366":
|
106
91
|
/***/ (function(module, exports, __webpack_require__) {
|
107
92
|
|
@@ -131,6 +116,22 @@ module.exports = function (fn, that, length) {
|
|
131
116
|
};
|
132
117
|
|
133
118
|
|
119
|
+
/***/ }),
|
120
|
+
|
121
|
+
/***/ "04a4":
|
122
|
+
/***/ (function(module, exports, __webpack_require__) {
|
123
|
+
|
124
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
125
|
+
|
126
|
+
// load the styles
|
127
|
+
var content = __webpack_require__("47e8");
|
128
|
+
if(content.__esModule) content = content.default;
|
129
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
130
|
+
if(content.locals) module.exports = content.locals;
|
131
|
+
// add the styles to the DOM
|
132
|
+
var add = __webpack_require__("499e").default
|
133
|
+
var update = add("421629a2", content, true, {"sourceMap":false,"shadowMode":false});
|
134
|
+
|
134
135
|
/***/ }),
|
135
136
|
|
136
137
|
/***/ "057f":
|
@@ -189,17 +190,6 @@ exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDes
|
|
189
190
|
};
|
190
191
|
|
191
192
|
|
192
|
-
/***/ }),
|
193
|
-
|
194
|
-
/***/ "08f8":
|
195
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
196
|
-
|
197
|
-
"use strict";
|
198
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ProductDescription_vue_vue_type_style_index_0_id_09e7a906_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("81ba");
|
199
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ProductDescription_vue_vue_type_style_index_0_id_09e7a906_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ProductDescription_vue_vue_type_style_index_0_id_09e7a906_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
200
|
-
/* unused harmony reexport * */
|
201
|
-
|
202
|
-
|
203
193
|
/***/ }),
|
204
194
|
|
205
195
|
/***/ "0a06":
|
@@ -436,18 +426,6 @@ module.exports = function spread(callback) {
|
|
436
426
|
};
|
437
427
|
|
438
428
|
|
439
|
-
/***/ }),
|
440
|
-
|
441
|
-
/***/ "19aa":
|
442
|
-
/***/ (function(module, exports) {
|
443
|
-
|
444
|
-
module.exports = function (it, Constructor, name) {
|
445
|
-
if (!(it instanceof Constructor)) {
|
446
|
-
throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation');
|
447
|
-
} return it;
|
448
|
-
};
|
449
|
-
|
450
|
-
|
451
429
|
/***/ }),
|
452
430
|
|
453
431
|
/***/ "1be4":
|
@@ -470,61 +448,6 @@ module.exports = function (it) {
|
|
470
448
|
};
|
471
449
|
|
472
450
|
|
473
|
-
/***/ }),
|
474
|
-
|
475
|
-
/***/ "1c7e":
|
476
|
-
/***/ (function(module, exports, __webpack_require__) {
|
477
|
-
|
478
|
-
var wellKnownSymbol = __webpack_require__("b622");
|
479
|
-
|
480
|
-
var ITERATOR = wellKnownSymbol('iterator');
|
481
|
-
var SAFE_CLOSING = false;
|
482
|
-
|
483
|
-
try {
|
484
|
-
var called = 0;
|
485
|
-
var iteratorWithReturn = {
|
486
|
-
next: function () {
|
487
|
-
return { done: !!called++ };
|
488
|
-
},
|
489
|
-
'return': function () {
|
490
|
-
SAFE_CLOSING = true;
|
491
|
-
}
|
492
|
-
};
|
493
|
-
iteratorWithReturn[ITERATOR] = function () {
|
494
|
-
return this;
|
495
|
-
};
|
496
|
-
// eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
|
497
|
-
Array.from(iteratorWithReturn, function () { throw 2; });
|
498
|
-
} catch (error) { /* empty */ }
|
499
|
-
|
500
|
-
module.exports = function (exec, SKIP_CLOSING) {
|
501
|
-
if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
|
502
|
-
var ITERATION_SUPPORT = false;
|
503
|
-
try {
|
504
|
-
var object = {};
|
505
|
-
object[ITERATOR] = function () {
|
506
|
-
return {
|
507
|
-
next: function () {
|
508
|
-
return { done: ITERATION_SUPPORT = true };
|
509
|
-
}
|
510
|
-
};
|
511
|
-
};
|
512
|
-
exec(object);
|
513
|
-
} catch (error) { /* empty */ }
|
514
|
-
return ITERATION_SUPPORT;
|
515
|
-
};
|
516
|
-
|
517
|
-
|
518
|
-
/***/ }),
|
519
|
-
|
520
|
-
/***/ "1cdc":
|
521
|
-
/***/ (function(module, exports, __webpack_require__) {
|
522
|
-
|
523
|
-
var userAgent = __webpack_require__("342f");
|
524
|
-
|
525
|
-
module.exports = /(?:iphone|ipod|ipad).*applewebkit/i.test(userAgent);
|
526
|
-
|
527
|
-
|
528
451
|
/***/ }),
|
529
452
|
|
530
453
|
/***/ "1d2b":
|
@@ -557,71 +480,6 @@ module.exports = function (it) {
|
|
557
480
|
};
|
558
481
|
|
559
482
|
|
560
|
-
/***/ }),
|
561
|
-
|
562
|
-
/***/ "2266":
|
563
|
-
/***/ (function(module, exports, __webpack_require__) {
|
564
|
-
|
565
|
-
var anObject = __webpack_require__("825a");
|
566
|
-
var isArrayIteratorMethod = __webpack_require__("e95a");
|
567
|
-
var toLength = __webpack_require__("50c4");
|
568
|
-
var bind = __webpack_require__("0366");
|
569
|
-
var getIteratorMethod = __webpack_require__("35a1");
|
570
|
-
var iteratorClose = __webpack_require__("2a62");
|
571
|
-
|
572
|
-
var Result = function (stopped, result) {
|
573
|
-
this.stopped = stopped;
|
574
|
-
this.result = result;
|
575
|
-
};
|
576
|
-
|
577
|
-
module.exports = function (iterable, unboundFunction, options) {
|
578
|
-
var that = options && options.that;
|
579
|
-
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
580
|
-
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
581
|
-
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
582
|
-
var fn = bind(unboundFunction, that, 1 + AS_ENTRIES + INTERRUPTED);
|
583
|
-
var iterator, iterFn, index, length, result, next, step;
|
584
|
-
|
585
|
-
var stop = function (condition) {
|
586
|
-
if (iterator) iteratorClose(iterator);
|
587
|
-
return new Result(true, condition);
|
588
|
-
};
|
589
|
-
|
590
|
-
var callFn = function (value) {
|
591
|
-
if (AS_ENTRIES) {
|
592
|
-
anObject(value);
|
593
|
-
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
594
|
-
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
595
|
-
};
|
596
|
-
|
597
|
-
if (IS_ITERATOR) {
|
598
|
-
iterator = iterable;
|
599
|
-
} else {
|
600
|
-
iterFn = getIteratorMethod(iterable);
|
601
|
-
if (typeof iterFn != 'function') throw TypeError('Target is not iterable');
|
602
|
-
// optimisation for array iterators
|
603
|
-
if (isArrayIteratorMethod(iterFn)) {
|
604
|
-
for (index = 0, length = toLength(iterable.length); length > index; index++) {
|
605
|
-
result = callFn(iterable[index]);
|
606
|
-
if (result && result instanceof Result) return result;
|
607
|
-
} return new Result(false);
|
608
|
-
}
|
609
|
-
iterator = iterFn.call(iterable);
|
610
|
-
}
|
611
|
-
|
612
|
-
next = iterator.next;
|
613
|
-
while (!(step = next.call(iterator)).done) {
|
614
|
-
try {
|
615
|
-
result = callFn(step.value);
|
616
|
-
} catch (error) {
|
617
|
-
iteratorClose(iterator);
|
618
|
-
throw error;
|
619
|
-
}
|
620
|
-
if (typeof result == 'object' && result && result instanceof Result) return result;
|
621
|
-
} return new Result(false);
|
622
|
-
};
|
623
|
-
|
624
|
-
|
625
483
|
/***/ }),
|
626
484
|
|
627
485
|
/***/ "23cb":
|
@@ -964,167 +822,6 @@ function toComment(sourceMap) {
|
|
964
822
|
return "/*# ".concat(data, " */");
|
965
823
|
}
|
966
824
|
|
967
|
-
/***/ }),
|
968
|
-
|
969
|
-
/***/ "2626":
|
970
|
-
/***/ (function(module, exports, __webpack_require__) {
|
971
|
-
|
972
|
-
"use strict";
|
973
|
-
|
974
|
-
var getBuiltIn = __webpack_require__("d066");
|
975
|
-
var definePropertyModule = __webpack_require__("9bf2");
|
976
|
-
var wellKnownSymbol = __webpack_require__("b622");
|
977
|
-
var DESCRIPTORS = __webpack_require__("83ab");
|
978
|
-
|
979
|
-
var SPECIES = wellKnownSymbol('species');
|
980
|
-
|
981
|
-
module.exports = function (CONSTRUCTOR_NAME) {
|
982
|
-
var Constructor = getBuiltIn(CONSTRUCTOR_NAME);
|
983
|
-
var defineProperty = definePropertyModule.f;
|
984
|
-
|
985
|
-
if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {
|
986
|
-
defineProperty(Constructor, SPECIES, {
|
987
|
-
configurable: true,
|
988
|
-
get: function () { return this; }
|
989
|
-
});
|
990
|
-
}
|
991
|
-
};
|
992
|
-
|
993
|
-
|
994
|
-
/***/ }),
|
995
|
-
|
996
|
-
/***/ "2a62":
|
997
|
-
/***/ (function(module, exports, __webpack_require__) {
|
998
|
-
|
999
|
-
var anObject = __webpack_require__("825a");
|
1000
|
-
|
1001
|
-
module.exports = function (iterator) {
|
1002
|
-
var returnMethod = iterator['return'];
|
1003
|
-
if (returnMethod !== undefined) {
|
1004
|
-
return anObject(returnMethod.call(iterator)).value;
|
1005
|
-
}
|
1006
|
-
};
|
1007
|
-
|
1008
|
-
|
1009
|
-
/***/ }),
|
1010
|
-
|
1011
|
-
/***/ "2cf4":
|
1012
|
-
/***/ (function(module, exports, __webpack_require__) {
|
1013
|
-
|
1014
|
-
var global = __webpack_require__("da84");
|
1015
|
-
var fails = __webpack_require__("d039");
|
1016
|
-
var bind = __webpack_require__("0366");
|
1017
|
-
var html = __webpack_require__("1be4");
|
1018
|
-
var createElement = __webpack_require__("cc12");
|
1019
|
-
var IS_IOS = __webpack_require__("1cdc");
|
1020
|
-
var IS_NODE = __webpack_require__("605d");
|
1021
|
-
|
1022
|
-
var set = global.setImmediate;
|
1023
|
-
var clear = global.clearImmediate;
|
1024
|
-
var process = global.process;
|
1025
|
-
var MessageChannel = global.MessageChannel;
|
1026
|
-
var Dispatch = global.Dispatch;
|
1027
|
-
var counter = 0;
|
1028
|
-
var queue = {};
|
1029
|
-
var ONREADYSTATECHANGE = 'onreadystatechange';
|
1030
|
-
var location, defer, channel, port;
|
1031
|
-
|
1032
|
-
try {
|
1033
|
-
// Deno throws a ReferenceError on `location` access without `--location` flag
|
1034
|
-
location = global.location;
|
1035
|
-
} catch (error) { /* empty */ }
|
1036
|
-
|
1037
|
-
var run = function (id) {
|
1038
|
-
// eslint-disable-next-line no-prototype-builtins -- safe
|
1039
|
-
if (queue.hasOwnProperty(id)) {
|
1040
|
-
var fn = queue[id];
|
1041
|
-
delete queue[id];
|
1042
|
-
fn();
|
1043
|
-
}
|
1044
|
-
};
|
1045
|
-
|
1046
|
-
var runner = function (id) {
|
1047
|
-
return function () {
|
1048
|
-
run(id);
|
1049
|
-
};
|
1050
|
-
};
|
1051
|
-
|
1052
|
-
var listener = function (event) {
|
1053
|
-
run(event.data);
|
1054
|
-
};
|
1055
|
-
|
1056
|
-
var post = function (id) {
|
1057
|
-
// old engines have not location.origin
|
1058
|
-
global.postMessage(String(id), location.protocol + '//' + location.host);
|
1059
|
-
};
|
1060
|
-
|
1061
|
-
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
1062
|
-
if (!set || !clear) {
|
1063
|
-
set = function setImmediate(fn) {
|
1064
|
-
var args = [];
|
1065
|
-
var argumentsLength = arguments.length;
|
1066
|
-
var i = 1;
|
1067
|
-
while (argumentsLength > i) args.push(arguments[i++]);
|
1068
|
-
queue[++counter] = function () {
|
1069
|
-
// eslint-disable-next-line no-new-func -- spec requirement
|
1070
|
-
(typeof fn == 'function' ? fn : Function(fn)).apply(undefined, args);
|
1071
|
-
};
|
1072
|
-
defer(counter);
|
1073
|
-
return counter;
|
1074
|
-
};
|
1075
|
-
clear = function clearImmediate(id) {
|
1076
|
-
delete queue[id];
|
1077
|
-
};
|
1078
|
-
// Node.js 0.8-
|
1079
|
-
if (IS_NODE) {
|
1080
|
-
defer = function (id) {
|
1081
|
-
process.nextTick(runner(id));
|
1082
|
-
};
|
1083
|
-
// Sphere (JS game engine) Dispatch API
|
1084
|
-
} else if (Dispatch && Dispatch.now) {
|
1085
|
-
defer = function (id) {
|
1086
|
-
Dispatch.now(runner(id));
|
1087
|
-
};
|
1088
|
-
// Browsers with MessageChannel, includes WebWorkers
|
1089
|
-
// except iOS - https://github.com/zloirock/core-js/issues/624
|
1090
|
-
} else if (MessageChannel && !IS_IOS) {
|
1091
|
-
channel = new MessageChannel();
|
1092
|
-
port = channel.port2;
|
1093
|
-
channel.port1.onmessage = listener;
|
1094
|
-
defer = bind(port.postMessage, port, 1);
|
1095
|
-
// Browsers with postMessage, skip WebWorkers
|
1096
|
-
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
1097
|
-
} else if (
|
1098
|
-
global.addEventListener &&
|
1099
|
-
typeof postMessage == 'function' &&
|
1100
|
-
!global.importScripts &&
|
1101
|
-
location && location.protocol !== 'file:' &&
|
1102
|
-
!fails(post)
|
1103
|
-
) {
|
1104
|
-
defer = post;
|
1105
|
-
global.addEventListener('message', listener, false);
|
1106
|
-
// IE8-
|
1107
|
-
} else if (ONREADYSTATECHANGE in createElement('script')) {
|
1108
|
-
defer = function (id) {
|
1109
|
-
html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {
|
1110
|
-
html.removeChild(this);
|
1111
|
-
run(id);
|
1112
|
-
};
|
1113
|
-
};
|
1114
|
-
// Rest old browsers
|
1115
|
-
} else {
|
1116
|
-
defer = function (id) {
|
1117
|
-
setTimeout(runner(id), 0);
|
1118
|
-
};
|
1119
|
-
}
|
1120
|
-
}
|
1121
|
-
|
1122
|
-
module.exports = {
|
1123
|
-
set: set,
|
1124
|
-
clear: clear
|
1125
|
-
};
|
1126
|
-
|
1127
|
-
|
1128
825
|
/***/ }),
|
1129
826
|
|
1130
827
|
/***/ "2d00":
|
@@ -1280,24 +977,6 @@ var getBuiltIn = __webpack_require__("d066");
|
|
1280
977
|
module.exports = getBuiltIn('navigator', 'userAgent') || '';
|
1281
978
|
|
1282
979
|
|
1283
|
-
/***/ }),
|
1284
|
-
|
1285
|
-
/***/ "35a1":
|
1286
|
-
/***/ (function(module, exports, __webpack_require__) {
|
1287
|
-
|
1288
|
-
var classof = __webpack_require__("f5df");
|
1289
|
-
var Iterators = __webpack_require__("3f8c");
|
1290
|
-
var wellKnownSymbol = __webpack_require__("b622");
|
1291
|
-
|
1292
|
-
var ITERATOR = wellKnownSymbol('iterator');
|
1293
|
-
|
1294
|
-
module.exports = function (it) {
|
1295
|
-
if (it != undefined) return it[ITERATOR]
|
1296
|
-
|| it['@@iterator']
|
1297
|
-
|| Iterators[classof(it)];
|
1298
|
-
};
|
1299
|
-
|
1300
|
-
|
1301
980
|
/***/ }),
|
1302
981
|
|
1303
982
|
/***/ "37e8":
|
@@ -1448,20 +1127,6 @@ module.exports = (
|
|
1448
1127
|
);
|
1449
1128
|
|
1450
1129
|
|
1451
|
-
/***/ }),
|
1452
|
-
|
1453
|
-
/***/ "3bbe":
|
1454
|
-
/***/ (function(module, exports, __webpack_require__) {
|
1455
|
-
|
1456
|
-
var isObject = __webpack_require__("861d");
|
1457
|
-
|
1458
|
-
module.exports = function (it) {
|
1459
|
-
if (!isObject(it) && it !== null) {
|
1460
|
-
throw TypeError("Can't set " + String(it) + ' as a prototype');
|
1461
|
-
} return it;
|
1462
|
-
};
|
1463
|
-
|
1464
|
-
|
1465
1130
|
/***/ }),
|
1466
1131
|
|
1467
1132
|
/***/ "3ca7":
|
@@ -1478,83 +1143,98 @@ var es_symbol_description = __webpack_require__("e01a");
|
|
1478
1143
|
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
1479
1144
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
1480
1145
|
|
1481
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/ProductDescription.vue?vue&type=template&id=
|
1146
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/ProductDescription.vue?vue&type=template&id=f2962c92&scoped=true
|
1482
1147
|
|
1483
1148
|
|
1484
1149
|
|
1485
1150
|
|
1486
|
-
var _withId = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withScopeId"])("data-v-
|
1151
|
+
var _withId = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withScopeId"])("data-v-f2962c92");
|
1487
1152
|
|
1488
|
-
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-
|
1153
|
+
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-f2962c92");
|
1489
1154
|
|
1490
1155
|
var _hoisted_1 = {
|
1156
|
+
key: 0
|
1157
|
+
};
|
1158
|
+
|
1159
|
+
var _hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", {
|
1160
|
+
class: "pd-loader"
|
1161
|
+
}, null, -1);
|
1162
|
+
|
1163
|
+
var _hoisted_3 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("h3", {
|
1164
|
+
class: "pd-loading"
|
1165
|
+
}, "Please wait...", -1);
|
1166
|
+
|
1167
|
+
var _hoisted_4 = {
|
1168
|
+
key: 1
|
1169
|
+
};
|
1170
|
+
var _hoisted_5 = {
|
1491
1171
|
class: "pd-container"
|
1492
1172
|
};
|
1493
|
-
var
|
1173
|
+
var _hoisted_6 = {
|
1494
1174
|
class: "left-block"
|
1495
1175
|
};
|
1496
|
-
var
|
1176
|
+
var _hoisted_7 = {
|
1497
1177
|
class: "right-block"
|
1498
1178
|
};
|
1499
|
-
var
|
1179
|
+
var _hoisted_8 = {
|
1500
1180
|
class: "pd-title"
|
1501
1181
|
};
|
1502
|
-
var
|
1182
|
+
var _hoisted_9 = {
|
1503
1183
|
class: "pd-description"
|
1504
1184
|
};
|
1505
|
-
var
|
1185
|
+
var _hoisted_10 = {
|
1506
1186
|
class: "pd-price"
|
1507
1187
|
};
|
1508
1188
|
|
1509
|
-
var
|
1189
|
+
var _hoisted_11 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("p", {
|
1510
1190
|
class: "partition"
|
1511
1191
|
}, null, -1);
|
1512
1192
|
|
1513
|
-
var
|
1193
|
+
var _hoisted_12 = {
|
1514
1194
|
class: "pd-qty"
|
1515
1195
|
};
|
1516
|
-
var
|
1196
|
+
var _hoisted_13 = {
|
1517
1197
|
class: "item-qty"
|
1518
1198
|
};
|
1519
1199
|
|
1520
|
-
var
|
1200
|
+
var _hoisted_14 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])("Qty: ");
|
1521
1201
|
|
1522
|
-
var
|
1202
|
+
var _hoisted_15 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("p", {
|
1523
1203
|
class: "partition"
|
1524
1204
|
}, null, -1);
|
1525
1205
|
|
1526
|
-
var
|
1206
|
+
var _hoisted_16 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" Product Details ");
|
1527
1207
|
|
1528
|
-
var
|
1208
|
+
var _hoisted_17 = {
|
1529
1209
|
class: "toggle-btn",
|
1530
1210
|
id: "product-toggle"
|
1531
1211
|
};
|
1532
1212
|
|
1533
|
-
var
|
1213
|
+
var _hoisted_18 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("ul", {
|
1534
1214
|
id: "product-details"
|
1535
1215
|
}, [/*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("li", null, "Lorem Ipsum is simply dummy text of the printing and typesetting industry."), /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("li", null, "Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book."), /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("li", null, "It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged."), /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("li", null, "It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.")], -1);
|
1536
1216
|
|
1537
|
-
var
|
1217
|
+
var _hoisted_19 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("p", {
|
1538
1218
|
class: "partition"
|
1539
1219
|
}, null, -1);
|
1540
1220
|
|
1541
|
-
var
|
1221
|
+
var _hoisted_20 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" Shipping & Returns ");
|
1542
1222
|
|
1543
|
-
var
|
1223
|
+
var _hoisted_21 = {
|
1544
1224
|
class: "toggle-btn",
|
1545
1225
|
id: "shipping-toggle"
|
1546
1226
|
};
|
1547
1227
|
|
1548
|
-
var
|
1228
|
+
var _hoisted_22 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("ul", {
|
1549
1229
|
id: "shipping-details"
|
1550
1230
|
}, [/*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("li", null, "Select items are excluded from international shipping Exclusions & Details"), /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("li", null, "Free shipping applies to domestic leg only, additional shipping fees and duties may apply at checkout."), /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("li", null, "Returns are accepted at any Macy's store within 90 days from purchase date. Last Act clearance items must be returned within 30 days from purchase date."), /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("li", null, "For complete details, read our Shipping and Return policies.")], -1);
|
1551
1231
|
|
1552
|
-
var
|
1232
|
+
var _hoisted_23 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createStaticVNode"])("<p class=\"partition\" data-v-f2962c92></p><div class=\"pd-icons\" data-v-f2962c92><a class=\"icon-link\" id=\"mail-icon\" href=\"mailto:example@gmail.com\" data-v-f2962c92><i class=\"pd-icon fas fa-envelope\" data-v-f2962c92></i></a><a class=\"icon-link\" id=\"pinterest-icon\" href=\"https://in.pinterest.com/\" target=\"blank\" data-v-f2962c92><i class=\"pd-icon fab fa-pinterest-p\" data-v-f2962c92></i></a></div>", 2);
|
1553
1233
|
|
1554
1234
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["popScopeId"])();
|
1555
1235
|
|
1556
1236
|
var render = /*#__PURE__*/_withId(function (_ctx, _cache, $props, $setup, $data, $options) {
|
1557
|
-
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("div", _hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div",
|
1237
|
+
return $data.loading ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("div", _hoisted_1, [_hoisted_2, _hoisted_3])) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("div", _hoisted_4, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", _hoisted_5, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", _hoisted_6, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("p", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("span", {
|
1558
1238
|
onClick: _cache[1] || (_cache[1] = function ($event) {
|
1559
1239
|
return _ctx.$emit('gotoCategory', $data.selectedProduct.category);
|
1560
1240
|
}),
|
@@ -1563,7 +1243,7 @@ var render = /*#__PURE__*/_withId(function (_ctx, _cache, $props, $setup, $data,
|
|
1563
1243
|
src: $data.selectedProduct.image,
|
1564
1244
|
alt: $data.selectedProduct.title,
|
1565
1245
|
class: "pd-image"
|
1566
|
-
}, null, 8, ["src", "alt"])])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div",
|
1246
|
+
}, null, 8, ["src", "alt"])])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", _hoisted_7, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("h3", _hoisted_8, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])($data.selectedProduct.title), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("p", _hoisted_9, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])($data.selectedProduct.description), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("p", _hoisted_10, "$ " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])($data.selectedProduct.price), 1), _hoisted_11, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", _hoisted_12, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("p", _hoisted_13, [_hoisted_14, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("strong", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])($data.qty), 1)]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("button", {
|
1567
1247
|
class: "pd-button",
|
1568
1248
|
id: "decrementButton",
|
1569
1249
|
onClick: _cache[2] || (_cache[2] = function () {
|
@@ -1582,28 +1262,19 @@ var render = /*#__PURE__*/_withId(function (_ctx, _cache, $props, $setup, $data,
|
|
1582
1262
|
onClick: _cache[4] || (_cache[4] = function ($event) {
|
1583
1263
|
return _ctx.$emit('addToCart', $data.selectedProduct, $data.qty);
|
1584
1264
|
})
|
1585
|
-
}, "Add To Bag"),
|
1265
|
+
}, "Add To Bag"), _hoisted_15, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", {
|
1586
1266
|
class: "pd-details",
|
1587
1267
|
onClick: _cache[5] || (_cache[5] = function () {
|
1588
1268
|
return $options.toggleProduct && $options.toggleProduct.apply($options, arguments);
|
1589
1269
|
})
|
1590
|
-
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("h4", null, [
|
1270
|
+
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("h4", null, [_hoisted_16, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("span", _hoisted_17, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])($data.productToggle ? "-" : " +"), 1)]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", null, [_hoisted_18], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], $data.productToggle]])]), _hoisted_19, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", {
|
1591
1271
|
class: "pd-shipping",
|
1592
1272
|
onClick: _cache[6] || (_cache[6] = function () {
|
1593
1273
|
return $options.toggleShipping && $options.toggleShipping.apply($options, arguments);
|
1594
1274
|
})
|
1595
|
-
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("h4", null, [
|
1275
|
+
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("h4", null, [_hoisted_20, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("span", _hoisted_21, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])($data.shippingToggle ? "-" : " +"), 1)]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", null, [_hoisted_22], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], $data.shippingToggle]])]), _hoisted_23])])]));
|
1596
1276
|
});
|
1597
|
-
// CONCATENATED MODULE: ./src/ProductDescription.vue?vue&type=template&id=
|
1598
|
-
|
1599
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
1600
|
-
var es_object_to_string = __webpack_require__("d3b7");
|
1601
|
-
|
1602
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
1603
|
-
var es_promise = __webpack_require__("e6cf");
|
1604
|
-
|
1605
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.finally.js
|
1606
|
-
var es_promise_finally = __webpack_require__("a79d");
|
1277
|
+
// CONCATENATED MODULE: ./src/ProductDescription.vue?vue&type=template&id=f2962c92&scoped=true
|
1607
1278
|
|
1608
1279
|
// EXTERNAL MODULE: ./node_modules/axios/index.js
|
1609
1280
|
var axios = __webpack_require__("bc3a");
|
@@ -1611,9 +1282,6 @@ var axios_default = /*#__PURE__*/__webpack_require__.n(axios);
|
|
1611
1282
|
|
1612
1283
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/ProductDescription.vue?vue&type=script&lang=js
|
1613
1284
|
|
1614
|
-
|
1615
|
-
|
1616
|
-
|
1617
1285
|
/* harmony default export */ var ProductDescriptionvue_type_script_lang_js = ({
|
1618
1286
|
name: 'ProductDescription',
|
1619
1287
|
data: function data() {
|
@@ -1624,7 +1292,7 @@ var axios_default = /*#__PURE__*/__webpack_require__.n(axios);
|
|
1624
1292
|
productToggle: false,
|
1625
1293
|
shippingToggle: false,
|
1626
1294
|
loading: true,
|
1627
|
-
error:
|
1295
|
+
error: "",
|
1628
1296
|
selectedProduct: {}
|
1629
1297
|
};
|
1630
1298
|
},
|
@@ -1661,17 +1329,19 @@ var axios_default = /*#__PURE__*/__webpack_require__.n(axios);
|
|
1661
1329
|
axios_default.a.get(this.url).then(function (response) {
|
1662
1330
|
return response.data;
|
1663
1331
|
}).then(function (data) {
|
1664
|
-
|
1332
|
+
_this.selectedProduct = data[0];
|
1333
|
+
_this.loading = false;
|
1665
1334
|
}).catch(function (error) {
|
1666
1335
|
console.log(error);
|
1667
1336
|
_this.error = 'Something went wrong. Please try again later.';
|
1668
|
-
|
1337
|
+
_this.loading = false;
|
1338
|
+
});
|
1669
1339
|
}
|
1670
1340
|
});
|
1671
1341
|
// CONCATENATED MODULE: ./src/ProductDescription.vue?vue&type=script&lang=js
|
1672
1342
|
|
1673
|
-
// EXTERNAL MODULE: ./src/ProductDescription.vue?vue&type=style&index=0&id=
|
1674
|
-
var
|
1343
|
+
// EXTERNAL MODULE: ./src/ProductDescription.vue?vue&type=style&index=0&id=f2962c92&scoped=true&lang=css
|
1344
|
+
var ProductDescriptionvue_type_style_index_0_id_f2962c92_scoped_true_lang_css = __webpack_require__("ed63");
|
1675
1345
|
|
1676
1346
|
// CONCATENATED MODULE: ./src/ProductDescription.vue
|
1677
1347
|
|
@@ -1680,18 +1350,10 @@ var ProductDescriptionvue_type_style_index_0_id_09e7a906_scoped_true_lang_css =
|
|
1680
1350
|
|
1681
1351
|
|
1682
1352
|
ProductDescriptionvue_type_script_lang_js.render = render
|
1683
|
-
ProductDescriptionvue_type_script_lang_js.__scopeId = "data-v-
|
1353
|
+
ProductDescriptionvue_type_script_lang_js.__scopeId = "data-v-f2962c92"
|
1684
1354
|
|
1685
1355
|
/* harmony default export */ var ProductDescription = __webpack_exports__["a"] = (ProductDescriptionvue_type_script_lang_js);
|
1686
1356
|
|
1687
|
-
/***/ }),
|
1688
|
-
|
1689
|
-
/***/ "3f8c":
|
1690
|
-
/***/ (function(module, exports) {
|
1691
|
-
|
1692
|
-
module.exports = {};
|
1693
|
-
|
1694
|
-
|
1695
1357
|
/***/ }),
|
1696
1358
|
|
1697
1359
|
/***/ "428f":
|
@@ -1763,21 +1425,6 @@ module.exports = fails(function () {
|
|
1763
1425
|
} : Object;
|
1764
1426
|
|
1765
1427
|
|
1766
|
-
/***/ }),
|
1767
|
-
|
1768
|
-
/***/ "44de":
|
1769
|
-
/***/ (function(module, exports, __webpack_require__) {
|
1770
|
-
|
1771
|
-
var global = __webpack_require__("da84");
|
1772
|
-
|
1773
|
-
module.exports = function (a, b) {
|
1774
|
-
var console = global.console;
|
1775
|
-
if (console && console.error) {
|
1776
|
-
arguments.length === 1 ? console.error(a) : console.error(a, b);
|
1777
|
-
}
|
1778
|
-
};
|
1779
|
-
|
1780
|
-
|
1781
1428
|
/***/ }),
|
1782
1429
|
|
1783
1430
|
/***/ "467f":
|
@@ -1813,22 +1460,16 @@ module.exports = function settle(resolve, reject, response) {
|
|
1813
1460
|
|
1814
1461
|
/***/ }),
|
1815
1462
|
|
1816
|
-
/***/ "
|
1463
|
+
/***/ "47e8":
|
1817
1464
|
/***/ (function(module, exports, __webpack_require__) {
|
1818
1465
|
|
1819
|
-
|
1820
|
-
var
|
1821
|
-
|
1822
|
-
|
1823
|
-
|
1824
|
-
|
1825
|
-
|
1826
|
-
// https://tc39.es/ecma262/#sec-speciesconstructor
|
1827
|
-
module.exports = function (O, defaultConstructor) {
|
1828
|
-
var C = anObject(O).constructor;
|
1829
|
-
var S;
|
1830
|
-
return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aFunction(S);
|
1831
|
-
};
|
1466
|
+
// Imports
|
1467
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
1468
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
1469
|
+
// Module
|
1470
|
+
exports.push([module.i, "#product-description[data-v-f2962c92]{font-family:sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50;margin-top:60px}.pd-loader[data-v-f2962c92]{position:absolute;left:50%;top:50%;z-index:1;width:120px;height:120px;margin:-76px 0 0 -76px;border:16px solid #f3f3f3;border-radius:50%;border-top:16px solid #e01a2b;-webkit-animation:spin-f2962c92 1s linear infinite;animation:spin-f2962c92 1s linear infinite}@-webkit-keyframes spin-f2962c92{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@keyframes spin-f2962c92{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.pd-loading[data-v-f2962c92]{font-family:Arial,Helvetica,sans-serif;text-align:center;margin-top:650px}.pd-container[data-v-f2962c92]{margin-top:30px;margin-left:100px;padding:20px;height:1500px;width:1400px;display:flex;flex-wrap:nowrap;justify-content:space-between}.left-block[data-v-f2962c92]{height:700px;width:500px}.right-block[data-v-f2962c92]{height:900px;width:800px}.pd-category[data-v-f2962c92]{margin-top:5px;font-family:Arial;font-size:16px;border-bottom:1px solid #000;cursor:pointer}.pd-image[data-v-f2962c92]{height:600px;width:400px;margin-top:30px}.pd-title[data-v-f2962c92]{margin-top:60px;font-family:sans-serif}.pd-description[data-v-f2962c92]{font:18px sans-serif}.pd-price[data-v-f2962c92]{font:22px sans-serif;color:#4b4949}.partition[data-v-f2962c92]{border-bottom:.5px solid #cfcdcd}.pd-qty[data-v-f2962c92]{font-size:18px;margin-bottom:15px}.item-qty[data-v-f2962c92]{margin-right:20px;display:inline}.pd-button[data-v-f2962c92]{border:1px solid #d6d6d6;outline:0;padding:5px;color:#4b4949;background-color:#fff;text-align:center;cursor:pointer;width:8%;height:10%;font-size:18px}.pd-button[data-v-f2962c92]:disabled{cursor:not-allowed}.pd-addToBag[data-v-f2962c92]{margin:5px;border:none;outline:0;padding:12px;color:#fff;background-color:#000;text-align:center;cursor:pointer;width:40%;font-size:18px}.pd-addToBag[data-v-f2962c92]:hover{background-color:#868383}.pd-details[data-v-f2962c92],.pd-shipping[data-v-f2962c92]{font-family:sans-serif;cursor:pointer}.pd-icons[data-v-f2962c92]{margin:20px;display:flex}.pd-icon[data-v-f2962c92]{padding:5px}.icon-link[data-v-f2962c92]{color:#000}.toggle-btn[data-v-f2962c92]{float:right}", ""]);
|
1471
|
+
// Exports
|
1472
|
+
module.exports = exports;
|
1832
1473
|
|
1833
1474
|
|
1834
1475
|
/***/ }),
|
@@ -2480,29 +2121,10 @@ module.exports = function isAxiosError(payload) {
|
|
2480
2121
|
|
2481
2122
|
/***/ }),
|
2482
2123
|
|
2483
|
-
/***/ "
|
2124
|
+
/***/ "65f0":
|
2484
2125
|
/***/ (function(module, exports, __webpack_require__) {
|
2485
2126
|
|
2486
|
-
var
|
2487
|
-
var global = __webpack_require__("da84");
|
2488
|
-
|
2489
|
-
module.exports = classof(global.process) == 'process';
|
2490
|
-
|
2491
|
-
|
2492
|
-
/***/ }),
|
2493
|
-
|
2494
|
-
/***/ "6069":
|
2495
|
-
/***/ (function(module, exports) {
|
2496
|
-
|
2497
|
-
module.exports = typeof window == 'object';
|
2498
|
-
|
2499
|
-
|
2500
|
-
/***/ }),
|
2501
|
-
|
2502
|
-
/***/ "65f0":
|
2503
|
-
/***/ (function(module, exports, __webpack_require__) {
|
2504
|
-
|
2505
|
-
var arraySpeciesConstructor = __webpack_require__("0b42");
|
2127
|
+
var arraySpeciesConstructor = __webpack_require__("0b42");
|
2506
2128
|
|
2507
2129
|
// `ArraySpeciesCreate` abstract operation
|
2508
2130
|
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
@@ -2881,22 +2503,6 @@ var WeakMap = global.WeakMap;
|
|
2881
2503
|
module.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));
|
2882
2504
|
|
2883
2505
|
|
2884
|
-
/***/ }),
|
2885
|
-
|
2886
|
-
/***/ "81ba":
|
2887
|
-
/***/ (function(module, exports, __webpack_require__) {
|
2888
|
-
|
2889
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
2890
|
-
|
2891
|
-
// load the styles
|
2892
|
-
var content = __webpack_require__("c604");
|
2893
|
-
if(content.__esModule) content = content.default;
|
2894
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
2895
|
-
if(content.locals) module.exports = content.locals;
|
2896
|
-
// add the styles to the DOM
|
2897
|
-
var add = __webpack_require__("499e").default
|
2898
|
-
var update = add("7f24f268", content, true, {"sourceMap":false,"shadowMode":false});
|
2899
|
-
|
2900
2506
|
/***/ }),
|
2901
2507
|
|
2902
2508
|
/***/ "825a":
|
@@ -3354,16 +2960,6 @@ module.exports = function (argument) {
|
|
3354
2960
|
};
|
3355
2961
|
|
3356
2962
|
|
3357
|
-
/***/ }),
|
3358
|
-
|
3359
|
-
/***/ "a4b4":
|
3360
|
-
/***/ (function(module, exports, __webpack_require__) {
|
3361
|
-
|
3362
|
-
var userAgent = __webpack_require__("342f");
|
3363
|
-
|
3364
|
-
module.exports = /web0s(?!.*chrome)/i.test(userAgent);
|
3365
|
-
|
3366
|
-
|
3367
2963
|
/***/ }),
|
3368
2964
|
|
3369
2965
|
/***/ "a4d3":
|
@@ -3693,70 +3289,6 @@ module.exports = function (argument) {
|
|
3693
3289
|
};
|
3694
3290
|
|
3695
3291
|
|
3696
|
-
/***/ }),
|
3697
|
-
|
3698
|
-
/***/ "a79d":
|
3699
|
-
/***/ (function(module, exports, __webpack_require__) {
|
3700
|
-
|
3701
|
-
"use strict";
|
3702
|
-
|
3703
|
-
var $ = __webpack_require__("23e7");
|
3704
|
-
var IS_PURE = __webpack_require__("c430");
|
3705
|
-
var NativePromise = __webpack_require__("fea9");
|
3706
|
-
var fails = __webpack_require__("d039");
|
3707
|
-
var getBuiltIn = __webpack_require__("d066");
|
3708
|
-
var speciesConstructor = __webpack_require__("4840");
|
3709
|
-
var promiseResolve = __webpack_require__("cdf9");
|
3710
|
-
var redefine = __webpack_require__("6eeb");
|
3711
|
-
|
3712
|
-
// Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829
|
3713
|
-
var NON_GENERIC = !!NativePromise && fails(function () {
|
3714
|
-
NativePromise.prototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ });
|
3715
|
-
});
|
3716
|
-
|
3717
|
-
// `Promise.prototype.finally` method
|
3718
|
-
// https://tc39.es/ecma262/#sec-promise.prototype.finally
|
3719
|
-
$({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, {
|
3720
|
-
'finally': function (onFinally) {
|
3721
|
-
var C = speciesConstructor(this, getBuiltIn('Promise'));
|
3722
|
-
var isFunction = typeof onFinally == 'function';
|
3723
|
-
return this.then(
|
3724
|
-
isFunction ? function (x) {
|
3725
|
-
return promiseResolve(C, onFinally()).then(function () { return x; });
|
3726
|
-
} : onFinally,
|
3727
|
-
isFunction ? function (e) {
|
3728
|
-
return promiseResolve(C, onFinally()).then(function () { throw e; });
|
3729
|
-
} : onFinally
|
3730
|
-
);
|
3731
|
-
}
|
3732
|
-
});
|
3733
|
-
|
3734
|
-
// makes sure that native promise-based APIs `Promise#finally` properly works with patched `Promise#then`
|
3735
|
-
if (!IS_PURE && typeof NativePromise == 'function') {
|
3736
|
-
var method = getBuiltIn('Promise').prototype['finally'];
|
3737
|
-
if (NativePromise.prototype['finally'] !== method) {
|
3738
|
-
redefine(NativePromise.prototype, 'finally', method, { unsafe: true });
|
3739
|
-
}
|
3740
|
-
}
|
3741
|
-
|
3742
|
-
|
3743
|
-
/***/ }),
|
3744
|
-
|
3745
|
-
/***/ "b041":
|
3746
|
-
/***/ (function(module, exports, __webpack_require__) {
|
3747
|
-
|
3748
|
-
"use strict";
|
3749
|
-
|
3750
|
-
var TO_STRING_TAG_SUPPORT = __webpack_require__("00ee");
|
3751
|
-
var classof = __webpack_require__("f5df");
|
3752
|
-
|
3753
|
-
// `Object.prototype.toString` method implementation
|
3754
|
-
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
3755
|
-
module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {
|
3756
|
-
return '[object ' + classof(this) + ']';
|
3757
|
-
};
|
3758
|
-
|
3759
|
-
|
3760
3292
|
/***/ }),
|
3761
3293
|
|
3762
3294
|
/***/ "b50d":
|
@@ -3954,95 +3486,6 @@ module.exports = function xhrAdapter(config) {
|
|
3954
3486
|
};
|
3955
3487
|
|
3956
3488
|
|
3957
|
-
/***/ }),
|
3958
|
-
|
3959
|
-
/***/ "b575":
|
3960
|
-
/***/ (function(module, exports, __webpack_require__) {
|
3961
|
-
|
3962
|
-
var global = __webpack_require__("da84");
|
3963
|
-
var getOwnPropertyDescriptor = __webpack_require__("06cf").f;
|
3964
|
-
var macrotask = __webpack_require__("2cf4").set;
|
3965
|
-
var IS_IOS = __webpack_require__("1cdc");
|
3966
|
-
var IS_WEBOS_WEBKIT = __webpack_require__("a4b4");
|
3967
|
-
var IS_NODE = __webpack_require__("605d");
|
3968
|
-
|
3969
|
-
var MutationObserver = global.MutationObserver || global.WebKitMutationObserver;
|
3970
|
-
var document = global.document;
|
3971
|
-
var process = global.process;
|
3972
|
-
var Promise = global.Promise;
|
3973
|
-
// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
|
3974
|
-
var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');
|
3975
|
-
var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
|
3976
|
-
|
3977
|
-
var flush, head, last, notify, toggle, node, promise, then;
|
3978
|
-
|
3979
|
-
// modern engines have queueMicrotask method
|
3980
|
-
if (!queueMicrotask) {
|
3981
|
-
flush = function () {
|
3982
|
-
var parent, fn;
|
3983
|
-
if (IS_NODE && (parent = process.domain)) parent.exit();
|
3984
|
-
while (head) {
|
3985
|
-
fn = head.fn;
|
3986
|
-
head = head.next;
|
3987
|
-
try {
|
3988
|
-
fn();
|
3989
|
-
} catch (error) {
|
3990
|
-
if (head) notify();
|
3991
|
-
else last = undefined;
|
3992
|
-
throw error;
|
3993
|
-
}
|
3994
|
-
} last = undefined;
|
3995
|
-
if (parent) parent.enter();
|
3996
|
-
};
|
3997
|
-
|
3998
|
-
// browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
|
3999
|
-
// also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
|
4000
|
-
if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {
|
4001
|
-
toggle = true;
|
4002
|
-
node = document.createTextNode('');
|
4003
|
-
new MutationObserver(flush).observe(node, { characterData: true });
|
4004
|
-
notify = function () {
|
4005
|
-
node.data = toggle = !toggle;
|
4006
|
-
};
|
4007
|
-
// environments with maybe non-completely correct, but existent Promise
|
4008
|
-
} else if (Promise && Promise.resolve) {
|
4009
|
-
// Promise.resolve without an argument throws an error in LG WebOS 2
|
4010
|
-
promise = Promise.resolve(undefined);
|
4011
|
-
// workaround of WebKit ~ iOS Safari 10.1 bug
|
4012
|
-
promise.constructor = Promise;
|
4013
|
-
then = promise.then;
|
4014
|
-
notify = function () {
|
4015
|
-
then.call(promise, flush);
|
4016
|
-
};
|
4017
|
-
// Node.js without promises
|
4018
|
-
} else if (IS_NODE) {
|
4019
|
-
notify = function () {
|
4020
|
-
process.nextTick(flush);
|
4021
|
-
};
|
4022
|
-
// for other environments - macrotask based on:
|
4023
|
-
// - setImmediate
|
4024
|
-
// - MessageChannel
|
4025
|
-
// - window.postMessag
|
4026
|
-
// - onreadystatechange
|
4027
|
-
// - setTimeout
|
4028
|
-
} else {
|
4029
|
-
notify = function () {
|
4030
|
-
// strange IE + webpack dev server bug - use .call(global)
|
4031
|
-
macrotask.call(global, flush);
|
4032
|
-
};
|
4033
|
-
}
|
4034
|
-
}
|
4035
|
-
|
4036
|
-
module.exports = queueMicrotask || function (fn) {
|
4037
|
-
var task = { fn: fn, next: undefined };
|
4038
|
-
if (last) last.next = task;
|
4039
|
-
if (!head) {
|
4040
|
-
head = task;
|
4041
|
-
notify();
|
4042
|
-
} last = task;
|
4043
|
-
};
|
4044
|
-
|
4045
|
-
|
4046
3489
|
/***/ }),
|
4047
3490
|
|
4048
3491
|
/***/ "b622":
|
@@ -4675,20 +4118,6 @@ module.exports = {
|
|
4675
4118
|
};
|
4676
4119
|
|
4677
4120
|
|
4678
|
-
/***/ }),
|
4679
|
-
|
4680
|
-
/***/ "c604":
|
4681
|
-
/***/ (function(module, exports, __webpack_require__) {
|
4682
|
-
|
4683
|
-
// Imports
|
4684
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
4685
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
4686
|
-
// Module
|
4687
|
-
exports.push([module.i, "#product-description[data-v-09e7a906]{font-family:sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50;margin-top:60px}.pd-container[data-v-09e7a906]{margin-top:30px;margin-left:100px;padding:20px;height:1500px;width:1400px;display:flex;flex-wrap:nowrap;justify-content:space-between}.left-block[data-v-09e7a906]{height:700px;width:500px}.right-block[data-v-09e7a906]{height:900px;width:800px}.pd-category[data-v-09e7a906]{margin-top:5px;font-family:Arial;font-size:16px;border-bottom:1px solid #000;cursor:pointer}.pd-image[data-v-09e7a906]{height:600px;width:400px;margin-top:30px}.pd-title[data-v-09e7a906]{margin-top:60px;font-family:sans-serif}.pd-description[data-v-09e7a906]{font:18px sans-serif}.pd-price[data-v-09e7a906]{font:22px sans-serif;color:#4b4949}.partition[data-v-09e7a906]{border-bottom:.5px solid #cfcdcd}.pd-qty[data-v-09e7a906]{font-size:18px;margin-bottom:15px}.item-qty[data-v-09e7a906]{margin-right:20px;display:inline}.pd-button[data-v-09e7a906]{border:1px solid #d6d6d6;outline:0;padding:5px;color:#4b4949;background-color:#fff;text-align:center;cursor:pointer;width:8%;height:10%;font-size:18px}.pd-button[data-v-09e7a906]:disabled{cursor:not-allowed}.pd-addToBag[data-v-09e7a906]{margin:5px;border:none;outline:0;padding:12px;color:#fff;background-color:#000;text-align:center;cursor:pointer;width:40%;font-size:18px}.pd-addToBag[data-v-09e7a906]:hover{background-color:#868383}.pd-details[data-v-09e7a906],.pd-shipping[data-v-09e7a906]{font-family:sans-serif;cursor:pointer}.pd-icons[data-v-09e7a906]{margin:20px;display:flex}.pd-icon[data-v-09e7a906]{padding:5px}.icon-link[data-v-09e7a906]{color:#000}.toggle-btn[data-v-09e7a906]{float:right}", ""]);
|
4688
|
-
// Exports
|
4689
|
-
module.exports = exports;
|
4690
|
-
|
4691
|
-
|
4692
4121
|
/***/ }),
|
4693
4122
|
|
4694
4123
|
/***/ "c6b6":
|
@@ -4803,25 +4232,6 @@ module.exports = function (it) {
|
|
4803
4232
|
};
|
4804
4233
|
|
4805
4234
|
|
4806
|
-
/***/ }),
|
4807
|
-
|
4808
|
-
/***/ "cdf9":
|
4809
|
-
/***/ (function(module, exports, __webpack_require__) {
|
4810
|
-
|
4811
|
-
var anObject = __webpack_require__("825a");
|
4812
|
-
var isObject = __webpack_require__("861d");
|
4813
|
-
var newPromiseCapability = __webpack_require__("f069");
|
4814
|
-
|
4815
|
-
module.exports = function (C, x) {
|
4816
|
-
anObject(C);
|
4817
|
-
if (isObject(x) && x.constructor === C) return x;
|
4818
|
-
var promiseCapability = newPromiseCapability.f(C);
|
4819
|
-
var resolve = promiseCapability.resolve;
|
4820
|
-
resolve(x);
|
4821
|
-
return promiseCapability.promise;
|
4822
|
-
};
|
4823
|
-
|
4824
|
-
|
4825
4235
|
/***/ }),
|
4826
4236
|
|
4827
4237
|
/***/ "ce4e":
|
@@ -4963,55 +4373,6 @@ exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
4963
4373
|
} : $propertyIsEnumerable;
|
4964
4374
|
|
4965
4375
|
|
4966
|
-
/***/ }),
|
4967
|
-
|
4968
|
-
/***/ "d2bb":
|
4969
|
-
/***/ (function(module, exports, __webpack_require__) {
|
4970
|
-
|
4971
|
-
/* eslint-disable no-proto -- safe */
|
4972
|
-
var anObject = __webpack_require__("825a");
|
4973
|
-
var aPossiblePrototype = __webpack_require__("3bbe");
|
4974
|
-
|
4975
|
-
// `Object.setPrototypeOf` method
|
4976
|
-
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
4977
|
-
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
4978
|
-
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
4979
|
-
module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
4980
|
-
var CORRECT_SETTER = false;
|
4981
|
-
var test = {};
|
4982
|
-
var setter;
|
4983
|
-
try {
|
4984
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
4985
|
-
setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;
|
4986
|
-
setter.call(test, []);
|
4987
|
-
CORRECT_SETTER = test instanceof Array;
|
4988
|
-
} catch (error) { /* empty */ }
|
4989
|
-
return function setPrototypeOf(O, proto) {
|
4990
|
-
anObject(O);
|
4991
|
-
aPossiblePrototype(proto);
|
4992
|
-
if (CORRECT_SETTER) setter.call(O, proto);
|
4993
|
-
else O.__proto__ = proto;
|
4994
|
-
return O;
|
4995
|
-
};
|
4996
|
-
}() : undefined);
|
4997
|
-
|
4998
|
-
|
4999
|
-
/***/ }),
|
5000
|
-
|
5001
|
-
/***/ "d3b7":
|
5002
|
-
/***/ (function(module, exports, __webpack_require__) {
|
5003
|
-
|
5004
|
-
var TO_STRING_TAG_SUPPORT = __webpack_require__("00ee");
|
5005
|
-
var redefine = __webpack_require__("6eeb");
|
5006
|
-
var toString = __webpack_require__("b041");
|
5007
|
-
|
5008
|
-
// `Object.prototype.toString` method
|
5009
|
-
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
5010
|
-
if (!TO_STRING_TAG_SUPPORT) {
|
5011
|
-
redefine(Object.prototype, 'toString', toString, { unsafe: true });
|
5012
|
-
}
|
5013
|
-
|
5014
|
-
|
5015
4376
|
/***/ }),
|
5016
4377
|
|
5017
4378
|
/***/ "d44e":
|
@@ -5474,19 +4835,6 @@ if (DESCRIPTORS && typeof NativeSymbol == 'function' && (!('description' in Nati
|
|
5474
4835
|
}
|
5475
4836
|
|
5476
4837
|
|
5477
|
-
/***/ }),
|
5478
|
-
|
5479
|
-
/***/ "e2cc":
|
5480
|
-
/***/ (function(module, exports, __webpack_require__) {
|
5481
|
-
|
5482
|
-
var redefine = __webpack_require__("6eeb");
|
5483
|
-
|
5484
|
-
module.exports = function (target, src, options) {
|
5485
|
-
for (var key in src) redefine(target, key, src[key], options);
|
5486
|
-
return target;
|
5487
|
-
};
|
5488
|
-
|
5489
|
-
|
5490
4838
|
/***/ }),
|
5491
4839
|
|
5492
4840
|
/***/ "e538":
|
@@ -5497,20 +4845,6 @@ var wellKnownSymbol = __webpack_require__("b622");
|
|
5497
4845
|
exports.f = wellKnownSymbol;
|
5498
4846
|
|
5499
4847
|
|
5500
|
-
/***/ }),
|
5501
|
-
|
5502
|
-
/***/ "e667":
|
5503
|
-
/***/ (function(module, exports) {
|
5504
|
-
|
5505
|
-
module.exports = function (exec) {
|
5506
|
-
try {
|
5507
|
-
return { error: false, value: exec() };
|
5508
|
-
} catch (error) {
|
5509
|
-
return { error: true, value: error };
|
5510
|
-
}
|
5511
|
-
};
|
5512
|
-
|
5513
|
-
|
5514
4848
|
/***/ }),
|
5515
4849
|
|
5516
4850
|
/***/ "e683":
|
@@ -5533,407 +4867,6 @@ module.exports = function combineURLs(baseURL, relativeURL) {
|
|
5533
4867
|
};
|
5534
4868
|
|
5535
4869
|
|
5536
|
-
/***/ }),
|
5537
|
-
|
5538
|
-
/***/ "e6cf":
|
5539
|
-
/***/ (function(module, exports, __webpack_require__) {
|
5540
|
-
|
5541
|
-
"use strict";
|
5542
|
-
|
5543
|
-
var $ = __webpack_require__("23e7");
|
5544
|
-
var IS_PURE = __webpack_require__("c430");
|
5545
|
-
var global = __webpack_require__("da84");
|
5546
|
-
var getBuiltIn = __webpack_require__("d066");
|
5547
|
-
var NativePromise = __webpack_require__("fea9");
|
5548
|
-
var redefine = __webpack_require__("6eeb");
|
5549
|
-
var redefineAll = __webpack_require__("e2cc");
|
5550
|
-
var setPrototypeOf = __webpack_require__("d2bb");
|
5551
|
-
var setToStringTag = __webpack_require__("d44e");
|
5552
|
-
var setSpecies = __webpack_require__("2626");
|
5553
|
-
var isObject = __webpack_require__("861d");
|
5554
|
-
var aFunction = __webpack_require__("1c0b");
|
5555
|
-
var anInstance = __webpack_require__("19aa");
|
5556
|
-
var inspectSource = __webpack_require__("8925");
|
5557
|
-
var iterate = __webpack_require__("2266");
|
5558
|
-
var checkCorrectnessOfIteration = __webpack_require__("1c7e");
|
5559
|
-
var speciesConstructor = __webpack_require__("4840");
|
5560
|
-
var task = __webpack_require__("2cf4").set;
|
5561
|
-
var microtask = __webpack_require__("b575");
|
5562
|
-
var promiseResolve = __webpack_require__("cdf9");
|
5563
|
-
var hostReportErrors = __webpack_require__("44de");
|
5564
|
-
var newPromiseCapabilityModule = __webpack_require__("f069");
|
5565
|
-
var perform = __webpack_require__("e667");
|
5566
|
-
var InternalStateModule = __webpack_require__("69f3");
|
5567
|
-
var isForced = __webpack_require__("94ca");
|
5568
|
-
var wellKnownSymbol = __webpack_require__("b622");
|
5569
|
-
var IS_BROWSER = __webpack_require__("6069");
|
5570
|
-
var IS_NODE = __webpack_require__("605d");
|
5571
|
-
var V8_VERSION = __webpack_require__("2d00");
|
5572
|
-
|
5573
|
-
var SPECIES = wellKnownSymbol('species');
|
5574
|
-
var PROMISE = 'Promise';
|
5575
|
-
var getInternalState = InternalStateModule.get;
|
5576
|
-
var setInternalState = InternalStateModule.set;
|
5577
|
-
var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);
|
5578
|
-
var NativePromisePrototype = NativePromise && NativePromise.prototype;
|
5579
|
-
var PromiseConstructor = NativePromise;
|
5580
|
-
var PromiseConstructorPrototype = NativePromisePrototype;
|
5581
|
-
var TypeError = global.TypeError;
|
5582
|
-
var document = global.document;
|
5583
|
-
var process = global.process;
|
5584
|
-
var newPromiseCapability = newPromiseCapabilityModule.f;
|
5585
|
-
var newGenericPromiseCapability = newPromiseCapability;
|
5586
|
-
var DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);
|
5587
|
-
var NATIVE_REJECTION_EVENT = typeof PromiseRejectionEvent == 'function';
|
5588
|
-
var UNHANDLED_REJECTION = 'unhandledrejection';
|
5589
|
-
var REJECTION_HANDLED = 'rejectionhandled';
|
5590
|
-
var PENDING = 0;
|
5591
|
-
var FULFILLED = 1;
|
5592
|
-
var REJECTED = 2;
|
5593
|
-
var HANDLED = 1;
|
5594
|
-
var UNHANDLED = 2;
|
5595
|
-
var SUBCLASSING = false;
|
5596
|
-
var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
|
5597
|
-
|
5598
|
-
var FORCED = isForced(PROMISE, function () {
|
5599
|
-
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(PromiseConstructor);
|
5600
|
-
var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(PromiseConstructor);
|
5601
|
-
// V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
|
5602
|
-
// https://bugs.chromium.org/p/chromium/issues/detail?id=830565
|
5603
|
-
// We can't detect it synchronously, so just check versions
|
5604
|
-
if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;
|
5605
|
-
// We need Promise#finally in the pure version for preventing prototype pollution
|
5606
|
-
if (IS_PURE && !PromiseConstructorPrototype['finally']) return true;
|
5607
|
-
// We can't use @@species feature detection in V8 since it causes
|
5608
|
-
// deoptimization and performance degradation
|
5609
|
-
// https://github.com/zloirock/core-js/issues/679
|
5610
|
-
if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;
|
5611
|
-
// Detect correctness of subclassing with @@species support
|
5612
|
-
var promise = new PromiseConstructor(function (resolve) { resolve(1); });
|
5613
|
-
var FakePromise = function (exec) {
|
5614
|
-
exec(function () { /* empty */ }, function () { /* empty */ });
|
5615
|
-
};
|
5616
|
-
var constructor = promise.constructor = {};
|
5617
|
-
constructor[SPECIES] = FakePromise;
|
5618
|
-
SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
|
5619
|
-
if (!SUBCLASSING) return true;
|
5620
|
-
// Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
|
5621
|
-
return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_REJECTION_EVENT;
|
5622
|
-
});
|
5623
|
-
|
5624
|
-
var INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) {
|
5625
|
-
PromiseConstructor.all(iterable)['catch'](function () { /* empty */ });
|
5626
|
-
});
|
5627
|
-
|
5628
|
-
// helpers
|
5629
|
-
var isThenable = function (it) {
|
5630
|
-
var then;
|
5631
|
-
return isObject(it) && typeof (then = it.then) == 'function' ? then : false;
|
5632
|
-
};
|
5633
|
-
|
5634
|
-
var notify = function (state, isReject) {
|
5635
|
-
if (state.notified) return;
|
5636
|
-
state.notified = true;
|
5637
|
-
var chain = state.reactions;
|
5638
|
-
microtask(function () {
|
5639
|
-
var value = state.value;
|
5640
|
-
var ok = state.state == FULFILLED;
|
5641
|
-
var index = 0;
|
5642
|
-
// variable length - can't use forEach
|
5643
|
-
while (chain.length > index) {
|
5644
|
-
var reaction = chain[index++];
|
5645
|
-
var handler = ok ? reaction.ok : reaction.fail;
|
5646
|
-
var resolve = reaction.resolve;
|
5647
|
-
var reject = reaction.reject;
|
5648
|
-
var domain = reaction.domain;
|
5649
|
-
var result, then, exited;
|
5650
|
-
try {
|
5651
|
-
if (handler) {
|
5652
|
-
if (!ok) {
|
5653
|
-
if (state.rejection === UNHANDLED) onHandleUnhandled(state);
|
5654
|
-
state.rejection = HANDLED;
|
5655
|
-
}
|
5656
|
-
if (handler === true) result = value;
|
5657
|
-
else {
|
5658
|
-
if (domain) domain.enter();
|
5659
|
-
result = handler(value); // can throw
|
5660
|
-
if (domain) {
|
5661
|
-
domain.exit();
|
5662
|
-
exited = true;
|
5663
|
-
}
|
5664
|
-
}
|
5665
|
-
if (result === reaction.promise) {
|
5666
|
-
reject(TypeError('Promise-chain cycle'));
|
5667
|
-
} else if (then = isThenable(result)) {
|
5668
|
-
then.call(result, resolve, reject);
|
5669
|
-
} else resolve(result);
|
5670
|
-
} else reject(value);
|
5671
|
-
} catch (error) {
|
5672
|
-
if (domain && !exited) domain.exit();
|
5673
|
-
reject(error);
|
5674
|
-
}
|
5675
|
-
}
|
5676
|
-
state.reactions = [];
|
5677
|
-
state.notified = false;
|
5678
|
-
if (isReject && !state.rejection) onUnhandled(state);
|
5679
|
-
});
|
5680
|
-
};
|
5681
|
-
|
5682
|
-
var dispatchEvent = function (name, promise, reason) {
|
5683
|
-
var event, handler;
|
5684
|
-
if (DISPATCH_EVENT) {
|
5685
|
-
event = document.createEvent('Event');
|
5686
|
-
event.promise = promise;
|
5687
|
-
event.reason = reason;
|
5688
|
-
event.initEvent(name, false, true);
|
5689
|
-
global.dispatchEvent(event);
|
5690
|
-
} else event = { promise: promise, reason: reason };
|
5691
|
-
if (!NATIVE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);
|
5692
|
-
else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
|
5693
|
-
};
|
5694
|
-
|
5695
|
-
var onUnhandled = function (state) {
|
5696
|
-
task.call(global, function () {
|
5697
|
-
var promise = state.facade;
|
5698
|
-
var value = state.value;
|
5699
|
-
var IS_UNHANDLED = isUnhandled(state);
|
5700
|
-
var result;
|
5701
|
-
if (IS_UNHANDLED) {
|
5702
|
-
result = perform(function () {
|
5703
|
-
if (IS_NODE) {
|
5704
|
-
process.emit('unhandledRejection', value, promise);
|
5705
|
-
} else dispatchEvent(UNHANDLED_REJECTION, promise, value);
|
5706
|
-
});
|
5707
|
-
// Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
|
5708
|
-
state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;
|
5709
|
-
if (result.error) throw result.value;
|
5710
|
-
}
|
5711
|
-
});
|
5712
|
-
};
|
5713
|
-
|
5714
|
-
var isUnhandled = function (state) {
|
5715
|
-
return state.rejection !== HANDLED && !state.parent;
|
5716
|
-
};
|
5717
|
-
|
5718
|
-
var onHandleUnhandled = function (state) {
|
5719
|
-
task.call(global, function () {
|
5720
|
-
var promise = state.facade;
|
5721
|
-
if (IS_NODE) {
|
5722
|
-
process.emit('rejectionHandled', promise);
|
5723
|
-
} else dispatchEvent(REJECTION_HANDLED, promise, state.value);
|
5724
|
-
});
|
5725
|
-
};
|
5726
|
-
|
5727
|
-
var bind = function (fn, state, unwrap) {
|
5728
|
-
return function (value) {
|
5729
|
-
fn(state, value, unwrap);
|
5730
|
-
};
|
5731
|
-
};
|
5732
|
-
|
5733
|
-
var internalReject = function (state, value, unwrap) {
|
5734
|
-
if (state.done) return;
|
5735
|
-
state.done = true;
|
5736
|
-
if (unwrap) state = unwrap;
|
5737
|
-
state.value = value;
|
5738
|
-
state.state = REJECTED;
|
5739
|
-
notify(state, true);
|
5740
|
-
};
|
5741
|
-
|
5742
|
-
var internalResolve = function (state, value, unwrap) {
|
5743
|
-
if (state.done) return;
|
5744
|
-
state.done = true;
|
5745
|
-
if (unwrap) state = unwrap;
|
5746
|
-
try {
|
5747
|
-
if (state.facade === value) throw TypeError("Promise can't be resolved itself");
|
5748
|
-
var then = isThenable(value);
|
5749
|
-
if (then) {
|
5750
|
-
microtask(function () {
|
5751
|
-
var wrapper = { done: false };
|
5752
|
-
try {
|
5753
|
-
then.call(value,
|
5754
|
-
bind(internalResolve, wrapper, state),
|
5755
|
-
bind(internalReject, wrapper, state)
|
5756
|
-
);
|
5757
|
-
} catch (error) {
|
5758
|
-
internalReject(wrapper, error, state);
|
5759
|
-
}
|
5760
|
-
});
|
5761
|
-
} else {
|
5762
|
-
state.value = value;
|
5763
|
-
state.state = FULFILLED;
|
5764
|
-
notify(state, false);
|
5765
|
-
}
|
5766
|
-
} catch (error) {
|
5767
|
-
internalReject({ done: false }, error, state);
|
5768
|
-
}
|
5769
|
-
};
|
5770
|
-
|
5771
|
-
// constructor polyfill
|
5772
|
-
if (FORCED) {
|
5773
|
-
// 25.4.3.1 Promise(executor)
|
5774
|
-
PromiseConstructor = function Promise(executor) {
|
5775
|
-
anInstance(this, PromiseConstructor, PROMISE);
|
5776
|
-
aFunction(executor);
|
5777
|
-
Internal.call(this);
|
5778
|
-
var state = getInternalState(this);
|
5779
|
-
try {
|
5780
|
-
executor(bind(internalResolve, state), bind(internalReject, state));
|
5781
|
-
} catch (error) {
|
5782
|
-
internalReject(state, error);
|
5783
|
-
}
|
5784
|
-
};
|
5785
|
-
PromiseConstructorPrototype = PromiseConstructor.prototype;
|
5786
|
-
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
5787
|
-
Internal = function Promise(executor) {
|
5788
|
-
setInternalState(this, {
|
5789
|
-
type: PROMISE,
|
5790
|
-
done: false,
|
5791
|
-
notified: false,
|
5792
|
-
parent: false,
|
5793
|
-
reactions: [],
|
5794
|
-
rejection: false,
|
5795
|
-
state: PENDING,
|
5796
|
-
value: undefined
|
5797
|
-
});
|
5798
|
-
};
|
5799
|
-
Internal.prototype = redefineAll(PromiseConstructorPrototype, {
|
5800
|
-
// `Promise.prototype.then` method
|
5801
|
-
// https://tc39.es/ecma262/#sec-promise.prototype.then
|
5802
|
-
then: function then(onFulfilled, onRejected) {
|
5803
|
-
var state = getInternalPromiseState(this);
|
5804
|
-
var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));
|
5805
|
-
reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
|
5806
|
-
reaction.fail = typeof onRejected == 'function' && onRejected;
|
5807
|
-
reaction.domain = IS_NODE ? process.domain : undefined;
|
5808
|
-
state.parent = true;
|
5809
|
-
state.reactions.push(reaction);
|
5810
|
-
if (state.state != PENDING) notify(state, false);
|
5811
|
-
return reaction.promise;
|
5812
|
-
},
|
5813
|
-
// `Promise.prototype.catch` method
|
5814
|
-
// https://tc39.es/ecma262/#sec-promise.prototype.catch
|
5815
|
-
'catch': function (onRejected) {
|
5816
|
-
return this.then(undefined, onRejected);
|
5817
|
-
}
|
5818
|
-
});
|
5819
|
-
OwnPromiseCapability = function () {
|
5820
|
-
var promise = new Internal();
|
5821
|
-
var state = getInternalState(promise);
|
5822
|
-
this.promise = promise;
|
5823
|
-
this.resolve = bind(internalResolve, state);
|
5824
|
-
this.reject = bind(internalReject, state);
|
5825
|
-
};
|
5826
|
-
newPromiseCapabilityModule.f = newPromiseCapability = function (C) {
|
5827
|
-
return C === PromiseConstructor || C === PromiseWrapper
|
5828
|
-
? new OwnPromiseCapability(C)
|
5829
|
-
: newGenericPromiseCapability(C);
|
5830
|
-
};
|
5831
|
-
|
5832
|
-
if (!IS_PURE && typeof NativePromise == 'function' && NativePromisePrototype !== Object.prototype) {
|
5833
|
-
nativeThen = NativePromisePrototype.then;
|
5834
|
-
|
5835
|
-
if (!SUBCLASSING) {
|
5836
|
-
// make `Promise#then` return a polyfilled `Promise` for native promise-based APIs
|
5837
|
-
redefine(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {
|
5838
|
-
var that = this;
|
5839
|
-
return new PromiseConstructor(function (resolve, reject) {
|
5840
|
-
nativeThen.call(that, resolve, reject);
|
5841
|
-
}).then(onFulfilled, onRejected);
|
5842
|
-
// https://github.com/zloirock/core-js/issues/640
|
5843
|
-
}, { unsafe: true });
|
5844
|
-
|
5845
|
-
// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
|
5846
|
-
redefine(NativePromisePrototype, 'catch', PromiseConstructorPrototype['catch'], { unsafe: true });
|
5847
|
-
}
|
5848
|
-
|
5849
|
-
// make `.constructor === Promise` work for native promise-based APIs
|
5850
|
-
try {
|
5851
|
-
delete NativePromisePrototype.constructor;
|
5852
|
-
} catch (error) { /* empty */ }
|
5853
|
-
|
5854
|
-
// make `instanceof Promise` work for native promise-based APIs
|
5855
|
-
if (setPrototypeOf) {
|
5856
|
-
setPrototypeOf(NativePromisePrototype, PromiseConstructorPrototype);
|
5857
|
-
}
|
5858
|
-
}
|
5859
|
-
}
|
5860
|
-
|
5861
|
-
$({ global: true, wrap: true, forced: FORCED }, {
|
5862
|
-
Promise: PromiseConstructor
|
5863
|
-
});
|
5864
|
-
|
5865
|
-
setToStringTag(PromiseConstructor, PROMISE, false, true);
|
5866
|
-
setSpecies(PROMISE);
|
5867
|
-
|
5868
|
-
PromiseWrapper = getBuiltIn(PROMISE);
|
5869
|
-
|
5870
|
-
// statics
|
5871
|
-
$({ target: PROMISE, stat: true, forced: FORCED }, {
|
5872
|
-
// `Promise.reject` method
|
5873
|
-
// https://tc39.es/ecma262/#sec-promise.reject
|
5874
|
-
reject: function reject(r) {
|
5875
|
-
var capability = newPromiseCapability(this);
|
5876
|
-
capability.reject.call(undefined, r);
|
5877
|
-
return capability.promise;
|
5878
|
-
}
|
5879
|
-
});
|
5880
|
-
|
5881
|
-
$({ target: PROMISE, stat: true, forced: IS_PURE || FORCED }, {
|
5882
|
-
// `Promise.resolve` method
|
5883
|
-
// https://tc39.es/ecma262/#sec-promise.resolve
|
5884
|
-
resolve: function resolve(x) {
|
5885
|
-
return promiseResolve(IS_PURE && this === PromiseWrapper ? PromiseConstructor : this, x);
|
5886
|
-
}
|
5887
|
-
});
|
5888
|
-
|
5889
|
-
$({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
|
5890
|
-
// `Promise.all` method
|
5891
|
-
// https://tc39.es/ecma262/#sec-promise.all
|
5892
|
-
all: function all(iterable) {
|
5893
|
-
var C = this;
|
5894
|
-
var capability = newPromiseCapability(C);
|
5895
|
-
var resolve = capability.resolve;
|
5896
|
-
var reject = capability.reject;
|
5897
|
-
var result = perform(function () {
|
5898
|
-
var $promiseResolve = aFunction(C.resolve);
|
5899
|
-
var values = [];
|
5900
|
-
var counter = 0;
|
5901
|
-
var remaining = 1;
|
5902
|
-
iterate(iterable, function (promise) {
|
5903
|
-
var index = counter++;
|
5904
|
-
var alreadyCalled = false;
|
5905
|
-
values.push(undefined);
|
5906
|
-
remaining++;
|
5907
|
-
$promiseResolve.call(C, promise).then(function (value) {
|
5908
|
-
if (alreadyCalled) return;
|
5909
|
-
alreadyCalled = true;
|
5910
|
-
values[index] = value;
|
5911
|
-
--remaining || resolve(values);
|
5912
|
-
}, reject);
|
5913
|
-
});
|
5914
|
-
--remaining || resolve(values);
|
5915
|
-
});
|
5916
|
-
if (result.error) reject(result.value);
|
5917
|
-
return capability.promise;
|
5918
|
-
},
|
5919
|
-
// `Promise.race` method
|
5920
|
-
// https://tc39.es/ecma262/#sec-promise.race
|
5921
|
-
race: function race(iterable) {
|
5922
|
-
var C = this;
|
5923
|
-
var capability = newPromiseCapability(C);
|
5924
|
-
var reject = capability.reject;
|
5925
|
-
var result = perform(function () {
|
5926
|
-
var $promiseResolve = aFunction(C.resolve);
|
5927
|
-
iterate(iterable, function (promise) {
|
5928
|
-
$promiseResolve.call(C, promise).then(capability.resolve, reject);
|
5929
|
-
});
|
5930
|
-
});
|
5931
|
-
if (result.error) reject(result.value);
|
5932
|
-
return capability.promise;
|
5933
|
-
}
|
5934
|
-
});
|
5935
|
-
|
5936
|
-
|
5937
4870
|
/***/ }),
|
5938
4871
|
|
5939
4872
|
/***/ "e893":
|
@@ -5972,79 +4905,13 @@ module.exports = Array.isArray || function isArray(arg) {
|
|
5972
4905
|
|
5973
4906
|
/***/ }),
|
5974
4907
|
|
5975
|
-
/***/ "
|
5976
|
-
/***/ (function(module,
|
5977
|
-
|
5978
|
-
var wellKnownSymbol = __webpack_require__("b622");
|
5979
|
-
var Iterators = __webpack_require__("3f8c");
|
5980
|
-
|
5981
|
-
var ITERATOR = wellKnownSymbol('iterator');
|
5982
|
-
var ArrayPrototype = Array.prototype;
|
5983
|
-
|
5984
|
-
// check on default Array iterator
|
5985
|
-
module.exports = function (it) {
|
5986
|
-
return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
|
5987
|
-
};
|
5988
|
-
|
5989
|
-
|
5990
|
-
/***/ }),
|
5991
|
-
|
5992
|
-
/***/ "f069":
|
5993
|
-
/***/ (function(module, exports, __webpack_require__) {
|
4908
|
+
/***/ "ed63":
|
4909
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5994
4910
|
|
5995
4911
|
"use strict";
|
5996
|
-
|
5997
|
-
var
|
5998
|
-
|
5999
|
-
var PromiseCapability = function (C) {
|
6000
|
-
var resolve, reject;
|
6001
|
-
this.promise = new C(function ($$resolve, $$reject) {
|
6002
|
-
if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');
|
6003
|
-
resolve = $$resolve;
|
6004
|
-
reject = $$reject;
|
6005
|
-
});
|
6006
|
-
this.resolve = aFunction(resolve);
|
6007
|
-
this.reject = aFunction(reject);
|
6008
|
-
};
|
6009
|
-
|
6010
|
-
// `NewPromiseCapability` abstract operation
|
6011
|
-
// https://tc39.es/ecma262/#sec-newpromisecapability
|
6012
|
-
module.exports.f = function (C) {
|
6013
|
-
return new PromiseCapability(C);
|
6014
|
-
};
|
6015
|
-
|
6016
|
-
|
6017
|
-
/***/ }),
|
6018
|
-
|
6019
|
-
/***/ "f5df":
|
6020
|
-
/***/ (function(module, exports, __webpack_require__) {
|
6021
|
-
|
6022
|
-
var TO_STRING_TAG_SUPPORT = __webpack_require__("00ee");
|
6023
|
-
var classofRaw = __webpack_require__("c6b6");
|
6024
|
-
var wellKnownSymbol = __webpack_require__("b622");
|
6025
|
-
|
6026
|
-
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
6027
|
-
// ES3 wrong here
|
6028
|
-
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
6029
|
-
|
6030
|
-
// fallback for IE11 Script Access Denied error
|
6031
|
-
var tryGet = function (it, key) {
|
6032
|
-
try {
|
6033
|
-
return it[key];
|
6034
|
-
} catch (error) { /* empty */ }
|
6035
|
-
};
|
6036
|
-
|
6037
|
-
// getting tag from ES6+ `Object.prototype.toString`
|
6038
|
-
module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
6039
|
-
var O, tag, result;
|
6040
|
-
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
6041
|
-
// @@toStringTag case
|
6042
|
-
: typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag
|
6043
|
-
// builtinTag case
|
6044
|
-
: CORRECT_ARGUMENTS ? classofRaw(O)
|
6045
|
-
// ES3 arguments fallback
|
6046
|
-
: (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;
|
6047
|
-
};
|
4912
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ProductDescription_vue_vue_type_style_index_0_id_f2962c92_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("04a4");
|
4913
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ProductDescription_vue_vue_type_style_index_0_id_f2962c92_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_ProductDescription_vue_vue_type_style_index_0_id_f2962c92_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
4914
|
+
/* unused harmony reexport * */
|
6048
4915
|
|
6049
4916
|
|
6050
4917
|
/***/ }),
|
@@ -6194,16 +5061,6 @@ module.exports = NATIVE_SYMBOL
|
|
6194
5061
|
&& typeof Symbol.iterator == 'symbol';
|
6195
5062
|
|
6196
5063
|
|
6197
|
-
/***/ }),
|
6198
|
-
|
6199
|
-
/***/ "fea9":
|
6200
|
-
/***/ (function(module, exports, __webpack_require__) {
|
6201
|
-
|
6202
|
-
var global = __webpack_require__("da84");
|
6203
|
-
|
6204
|
-
module.exports = global.Promise;
|
6205
|
-
|
6206
|
-
|
6207
5064
|
/***/ })
|
6208
5065
|
|
6209
5066
|
/******/ });
|